diff --git a/asm/Animation/CAnimCharacterSet.s b/asm/Animation/CAnimCharacterSet.s new file mode 100644 index 00000000..ea0a41b4 --- /dev/null +++ b/asm/Animation/CAnimCharacterSet.s @@ -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 diff --git a/asm/Animation/CAnimTreeLoopIn.s b/asm/Animation/CAnimTreeLoopIn.s new file mode 100644 index 00000000..e87353f8 --- /dev/null +++ b/asm/Animation/CAnimTreeLoopIn.s @@ -0,0 +1,1512 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CAnimTreeLoopInFv +__dt__15CAnimTreeLoopInFv: +/* 802D86FC 002D565C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8700 002D5660 7C 08 02 A6 */ mflr r0 +/* 802D8704 002D5664 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8708 002D5668 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D870C 002D566C 7C 9F 23 78 */ mr r31, r4 +/* 802D8710 002D5670 93 C1 00 08 */ stw r30, 8(r1) +/* 802D8714 002D5674 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8718 002D5678 41 82 00 DC */ beq lbl_802D87F4 +/* 802D871C 002D567C 3C 80 80 3F */ lis r4, lbl_803ECBE0@ha +/* 802D8720 002D5680 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802D8724 002D5684 38 04 CB E0 */ addi r0, r4, lbl_803ECBE0@l +/* 802D8728 002D5688 38 80 FF FF */ li r4, -1 +/* 802D872C 002D568C 90 1E 00 00 */ stw r0, 0(r30) +/* 802D8730 002D5690 48 00 00 E1 */ bl sub_802d8810 +/* 802D8734 002D5694 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802D8738 002D5698 41 82 00 2C */ beq lbl_802D8764 +/* 802D873C 002D569C 34 7E 00 28 */ addic. r3, r30, 0x28 +/* 802D8740 002D56A0 41 82 00 10 */ beq lbl_802D8750 +/* 802D8744 002D56A4 28 03 00 00 */ cmplwi r3, 0 +/* 802D8748 002D56A8 41 82 00 08 */ beq lbl_802D8750 +/* 802D874C 002D56AC 4B D5 8F DD */ bl sub_80031728 +lbl_802D8750: +/* 802D8750 002D56B0 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802D8754 002D56B4 41 82 00 10 */ beq lbl_802D8764 +/* 802D8758 002D56B8 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802D875C 002D56BC 38 80 00 00 */ li r4, 0 +/* 802D8760 002D56C0 48 06 86 E1 */ bl __dt__6CTokenFv +lbl_802D8764: +/* 802D8764 002D56C4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802D8768 002D56C8 41 82 00 14 */ beq lbl_802D877C +/* 802D876C 002D56CC 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802D8770 002D56D0 41 82 00 0C */ beq lbl_802D877C +/* 802D8774 002D56D4 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802D8778 002D56D8 4B D5 88 29 */ bl sub_80030fa0 +lbl_802D877C: +/* 802D877C 002D56DC 28 1E 00 00 */ cmplwi r30, 0 +/* 802D8780 002D56E0 41 82 00 64 */ beq lbl_802D87E4 +/* 802D8784 002D56E4 3C 60 80 3F */ lis r3, lbl_803ED240@ha +/* 802D8788 002D56E8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D878C 002D56EC 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l +/* 802D8790 002D56F0 90 1E 00 00 */ stw r0, 0(r30) +/* 802D8794 002D56F4 41 82 00 14 */ beq lbl_802D87A8 +/* 802D8798 002D56F8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D879C 002D56FC 41 82 00 0C */ beq lbl_802D87A8 +/* 802D87A0 002D5700 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802D87A4 002D5704 4B D5 87 FD */ bl sub_80030fa0 +lbl_802D87A8: +/* 802D87A8 002D5708 28 1E 00 00 */ cmplwi r30, 0 +/* 802D87AC 002D570C 41 82 00 38 */ beq lbl_802D87E4 +/* 802D87B0 002D5710 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802D87B4 002D5714 38 80 00 02 */ li r4, 2 +/* 802D87B8 002D5718 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802D87BC 002D571C 90 1E 00 00 */ stw r0, 0(r30) +/* 802D87C0 002D5720 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D87C4 002D5724 48 01 F3 E5 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802D87C8 002D5728 34 1E 00 04 */ addic. r0, r30, 4 +/* 802D87CC 002D572C 41 82 00 0C */ beq lbl_802D87D8 +/* 802D87D0 002D5730 38 7E 00 04 */ addi r3, r30, 4 +/* 802D87D4 002D5734 48 06 53 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D87D8: +/* 802D87D8 002D5738 7F C3 F3 78 */ mr r3, r30 +/* 802D87DC 002D573C 38 80 00 00 */ li r4, 0 +/* 802D87E0 002D5740 48 02 56 F5 */ bl __dt__11IAnimReaderFv +lbl_802D87E4: +/* 802D87E4 002D5744 7F E0 07 35 */ extsh. r0, r31 +/* 802D87E8 002D5748 40 81 00 0C */ ble lbl_802D87F4 +/* 802D87EC 002D574C 7F C3 F3 78 */ mr r3, r30 +/* 802D87F0 002D5750 48 03 D1 41 */ bl Free__7CMemoryFPCv +lbl_802D87F4: +/* 802D87F4 002D5754 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D87F8 002D5758 7F C3 F3 78 */ mr r3, r30 +/* 802D87FC 002D575C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8800 002D5760 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D8804 002D5764 7C 08 03 A6 */ mtlr r0 +/* 802D8808 002D5768 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D880C 002D576C 4E 80 00 20 */ blr + +.global sub_802d8810 +sub_802d8810: +/* 802D8810 002D5770 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802D8814 002D5774 7C 08 02 A6 */ mflr r0 +/* 802D8818 002D5778 90 01 00 64 */ stw r0, 0x64(r1) +/* 802D881C 002D577C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802D8820 002D5780 7C 9F 23 78 */ mr r31, r4 +/* 802D8824 002D5784 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802D8828 002D5788 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D882C 002D578C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802D8830 002D5790 93 81 00 50 */ stw r28, 0x50(r1) +/* 802D8834 002D5794 41 82 01 94 */ beq lbl_802D89C8 +/* 802D8838 002D5798 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 802D883C 002D579C 41 82 00 5C */ beq lbl_802D8898 +/* 802D8840 002D57A0 80 1E 00 4C */ lwz r0, 0x4c(r30) +/* 802D8844 002D57A4 83 9E 00 54 */ lwz r28, 0x54(r30) +/* 802D8848 002D57A8 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802D884C 002D57AC 93 81 00 3C */ stw r28, 0x3c(r1) +/* 802D8850 002D57B0 7F BC 02 14 */ add r29, r28, r0 +/* 802D8854 002D57B4 93 81 00 38 */ stw r28, 0x38(r1) +/* 802D8858 002D57B8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802D885C 002D57BC 93 A1 00 40 */ stw r29, 0x40(r1) +/* 802D8860 002D57C0 48 00 00 20 */ b lbl_802D8880 +lbl_802D8864: +/* 802D8864 002D57C4 7F 83 E3 78 */ mr r3, r28 +/* 802D8868 002D57C8 38 80 FF FF */ li r4, -1 +/* 802D886C 002D57CC 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D8870 002D57D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8874 002D57D4 7D 89 03 A6 */ mtctr r12 +/* 802D8878 002D57D8 4E 80 04 21 */ bctrl +/* 802D887C 002D57DC 3B 9C 00 44 */ addi r28, r28, 0x44 +lbl_802D8880: +/* 802D8880 002D57E0 7C 1C E8 40 */ cmplw r28, r29 +/* 802D8884 002D57E4 40 82 FF E0 */ bne lbl_802D8864 +/* 802D8888 002D57E8 80 7E 00 54 */ lwz r3, 0x54(r30) +/* 802D888C 002D57EC 28 03 00 00 */ cmplwi r3, 0 +/* 802D8890 002D57F0 41 82 00 08 */ beq lbl_802D8898 +/* 802D8894 002D57F4 48 03 D0 9D */ bl Free__7CMemoryFPCv +lbl_802D8898: +/* 802D8898 002D57F8 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 802D889C 002D57FC 41 82 00 5C */ beq lbl_802D88F8 +/* 802D88A0 002D5800 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 802D88A4 002D5804 83 9E 00 44 */ lwz r28, 0x44(r30) +/* 802D88A8 002D5808 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802D88AC 002D580C 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802D88B0 002D5810 7F BC 02 14 */ add r29, r28, r0 +/* 802D88B4 002D5814 93 81 00 28 */ stw r28, 0x28(r1) +/* 802D88B8 002D5818 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802D88BC 002D581C 93 A1 00 30 */ stw r29, 0x30(r1) +/* 802D88C0 002D5820 48 00 00 20 */ b lbl_802D88E0 +lbl_802D88C4: +/* 802D88C4 002D5824 7F 83 E3 78 */ mr r3, r28 +/* 802D88C8 002D5828 38 80 FF FF */ li r4, -1 +/* 802D88CC 002D582C 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D88D0 002D5830 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D88D4 002D5834 7D 89 03 A6 */ mtctr r12 +/* 802D88D8 002D5838 4E 80 04 21 */ bctrl +/* 802D88DC 002D583C 3B 9C 00 5C */ addi r28, r28, 0x5c +lbl_802D88E0: +/* 802D88E0 002D5840 7C 1C E8 40 */ cmplw r28, r29 +/* 802D88E4 002D5844 40 82 FF E0 */ bne lbl_802D88C4 +/* 802D88E8 002D5848 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 802D88EC 002D584C 28 03 00 00 */ cmplwi r3, 0 +/* 802D88F0 002D5850 41 82 00 08 */ beq lbl_802D88F8 +/* 802D88F4 002D5854 48 03 D0 3D */ bl Free__7CMemoryFPCv +lbl_802D88F8: +/* 802D88F8 002D5858 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 802D88FC 002D585C 41 82 00 5C */ beq lbl_802D8958 +/* 802D8900 002D5860 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802D8904 002D5864 83 9E 00 34 */ lwz r28, 0x34(r30) +/* 802D8908 002D5868 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802D890C 002D586C 93 81 00 1C */ stw r28, 0x1c(r1) +/* 802D8910 002D5870 7F BC 02 14 */ add r29, r28, r0 +/* 802D8914 002D5874 93 81 00 18 */ stw r28, 0x18(r1) +/* 802D8918 002D5878 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D891C 002D587C 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802D8920 002D5880 48 00 00 20 */ b lbl_802D8940 +lbl_802D8924: +/* 802D8924 002D5884 7F 83 E3 78 */ mr r3, r28 +/* 802D8928 002D5888 38 80 FF FF */ li r4, -1 +/* 802D892C 002D588C 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D8930 002D5890 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8934 002D5894 7D 89 03 A6 */ mtctr r12 +/* 802D8938 002D5898 4E 80 04 21 */ bctrl +/* 802D893C 002D589C 3B 9C 00 4C */ addi r28, r28, 0x4c +lbl_802D8940: +/* 802D8940 002D58A0 7C 1C E8 40 */ cmplw r28, r29 +/* 802D8944 002D58A4 40 82 FF E0 */ bne lbl_802D8924 +/* 802D8948 002D58A8 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802D894C 002D58AC 28 03 00 00 */ cmplwi r3, 0 +/* 802D8950 002D58B0 41 82 00 08 */ beq lbl_802D8958 +/* 802D8954 002D58B4 48 03 CF DD */ bl Free__7CMemoryFPCv +lbl_802D8958: +/* 802D8958 002D58B8 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802D895C 002D58BC 41 82 00 5C */ beq lbl_802D89B8 +/* 802D8960 002D58C0 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 802D8964 002D58C4 83 9E 00 24 */ lwz r28, 0x24(r30) +/* 802D8968 002D58C8 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802D896C 002D58CC 93 81 00 0C */ stw r28, 0xc(r1) +/* 802D8970 002D58D0 7F BC 02 14 */ add r29, r28, r0 +/* 802D8974 002D58D4 93 81 00 08 */ stw r28, 8(r1) +/* 802D8978 002D58D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D897C 002D58DC 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802D8980 002D58E0 48 00 00 20 */ b lbl_802D89A0 +lbl_802D8984: +/* 802D8984 002D58E4 7F 83 E3 78 */ mr r3, r28 +/* 802D8988 002D58E8 38 80 FF FF */ li r4, -1 +/* 802D898C 002D58EC 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D8990 002D58F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8994 002D58F4 7D 89 03 A6 */ mtctr r12 +/* 802D8998 002D58F8 4E 80 04 21 */ bctrl +/* 802D899C 002D58FC 3B 9C 00 3C */ addi r28, r28, 0x3c +lbl_802D89A0: +/* 802D89A0 002D5900 7C 1C E8 40 */ cmplw r28, r29 +/* 802D89A4 002D5904 40 82 FF E0 */ bne lbl_802D8984 +/* 802D89A8 002D5908 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802D89AC 002D590C 28 03 00 00 */ cmplwi r3, 0 +/* 802D89B0 002D5910 41 82 00 08 */ beq lbl_802D89B8 +/* 802D89B4 002D5914 48 03 CF 7D */ bl Free__7CMemoryFPCv +lbl_802D89B8: +/* 802D89B8 002D5918 7F E0 07 35 */ extsh. r0, r31 +/* 802D89BC 002D591C 40 81 00 0C */ ble lbl_802D89C8 +/* 802D89C0 002D5920 7F C3 F3 78 */ mr r3, r30 +/* 802D89C4 002D5924 48 03 CF 6D */ bl Free__7CMemoryFPCv +lbl_802D89C8: +/* 802D89C8 002D5928 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D89CC 002D592C 7F C3 F3 78 */ mr r3, r30 +/* 802D89D0 002D5930 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802D89D4 002D5934 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802D89D8 002D5938 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802D89DC 002D593C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 802D89E0 002D5940 7C 08 03 A6 */ mtlr r0 +/* 802D89E4 002D5944 38 21 00 60 */ addi r1, r1, 0x60 +/* 802D89E8 002D5948 4E 80 00 20 */ blr + +.global Depth__20CAnimTreeSingleChildCFv +Depth__20CAnimTreeSingleChildCFv: +/* 802D89EC 002D594C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D89F0 002D5950 7C 08 02 A6 */ mflr r0 +/* 802D89F4 002D5954 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D89F8 002D5958 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802D89FC 002D595C 80 63 00 00 */ lwz r3, 0(r3) +/* 802D8A00 002D5960 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8A04 002D5964 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802D8A08 002D5968 7D 89 03 A6 */ mtctr r12 +/* 802D8A0C 002D596C 4E 80 04 21 */ bctrl +/* 802D8A10 002D5970 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8A14 002D5974 38 63 00 01 */ addi r3, r3, 1 +/* 802D8A18 002D5978 7C 08 03 A6 */ mtlr r0 +/* 802D8A1C 002D597C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8A20 002D5980 4E 80 00 20 */ blr + +.global "CreatePrimitiveName__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>" +"CreatePrimitiveName__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>": +/* 802D8A24 002D5984 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8A28 002D5988 7C 08 02 A6 */ mflr r0 +/* 802D8A2C 002D598C 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D8A30 002D5990 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8A34 002D5994 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D8A38 002D5998 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8A3C 002D599C 7C 7F 1B 78 */ mr r31, r3 +/* 802D8A40 002D59A0 4B D2 C2 79 */ bl string_l__4rstlFPCc +/* 802D8A44 002D59A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8A48 002D59A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8A4C 002D59AC 7C 08 03 A6 */ mtlr r0 +/* 802D8A50 002D59B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8A54 002D59B4 4E 80 00 20 */ blr + +.global VGetContributionOfHighestInfluence__15CAnimTreeLoopInCFv +VGetContributionOfHighestInfluence__15CAnimTreeLoopInCFv: +/* 802D8A58 002D59B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8A5C 002D59BC 7C 08 02 A6 */ mflr r0 +/* 802D8A60 002D59C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8A64 002D59C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8A68 002D59C8 7C 7F 1B 78 */ mr r31, r3 +/* 802D8A6C 002D59CC 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802D8A70 002D59D0 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8A74 002D59D4 4B D5 61 15 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802D8A78 002D59D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8A7C 002D59DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8A80 002D59E0 7C 08 03 A6 */ mtlr r0 +/* 802D8A84 002D59E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8A88 002D59E8 4E 80 00 20 */ blr + +.global VSupportsReverseView__15CAnimTreeLoopInCFv +VSupportsReverseView__15CAnimTreeLoopInCFv: +/* 802D8A8C 002D59EC 38 60 00 00 */ li r3, 0 +/* 802D8A90 002D59F0 4E 80 00 20 */ blr + +.global VSimplified__15CAnimTreeLoopInFv +VSimplified__15CAnimTreeLoopInFv: +/* 802D8A94 002D59F4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D8A98 002D59F8 7C 08 02 A6 */ mflr r0 +/* 802D8A9C 002D59FC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D8AA0 002D5A00 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802D8AA4 002D5A04 7C 9F 23 78 */ mr r31, r4 +/* 802D8AA8 002D5A08 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802D8AAC 002D5A0C 7C 7E 1B 78 */ mr r30, r3 +/* 802D8AB0 002D5A10 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D8AB4 002D5A14 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802D8AB8 002D5A18 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8ABC 002D5A1C 81 84 00 00 */ lwz r12, 0(r4) +/* 802D8AC0 002D5A20 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D8AC4 002D5A24 7D 89 03 A6 */ mtctr r12 +/* 802D8AC8 002D5A28 4E 80 04 21 */ bctrl +/* 802D8ACC 002D5A2C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802D8AD0 002D5A30 38 61 00 28 */ addi r3, r1, 0x28 +/* 802D8AD4 002D5A34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D8AD8 002D5A38 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D8ADC 002D5A3C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802D8AE0 002D5A40 48 06 F9 0D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802D8AE4 002D5A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D8AE8 002D5A48 41 82 01 60 */ beq lbl_802D8C48 +/* 802D8AEC 002D5A4C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D8AF0 002D5A50 C0 22 C5 98 */ lfs f1, lbl_805AE2B8@sda21(r2) +/* 802D8AF4 002D5A54 C0 02 C5 9C */ lfs f0, lbl_805AE2BC@sda21(r2) +/* 802D8AF8 002D5A58 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D8AFC 002D5A5C FC 20 0A 10 */ fabs f1, f1 +/* 802D8B00 002D5A60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D8B04 002D5A64 41 80 01 44 */ blt lbl_802D8C48 +/* 802D8B08 002D5A68 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802D8B0C 002D5A6C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D8B10 002D5A70 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D8B14 002D5A74 80 85 00 04 */ lwz r4, 4(r5) +/* 802D8B18 002D5A78 38 04 00 01 */ addi r0, r4, 1 +/* 802D8B1C 002D5A7C 90 05 00 04 */ stw r0, 4(r5) +/* 802D8B20 002D5A80 80 81 00 0C */ lwz r4, 0xc(r1) +/* 802D8B24 002D5A84 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8B28 002D5A88 4B D5 14 3D */ bl Simplified__11IAnimReaderFv +/* 802D8B2C 002D5A8C 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802D8B30 002D5A90 28 00 00 00 */ cmplwi r0, 0 +/* 802D8B34 002D5A94 98 01 00 44 */ stb r0, 0x44(r1) +/* 802D8B38 002D5A98 41 82 00 24 */ beq lbl_802D8B5C +/* 802D8B3C 002D5A9C 34 81 00 3C */ addic. r4, r1, 0x3c +/* 802D8B40 002D5AA0 41 82 00 1C */ beq lbl_802D8B5C +/* 802D8B44 002D5AA4 88 61 00 30 */ lbz r3, 0x30(r1) +/* 802D8B48 002D5AA8 38 00 00 00 */ li r0, 0 +/* 802D8B4C 002D5AAC 98 64 00 00 */ stb r3, 0(r4) +/* 802D8B50 002D5AB0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802D8B54 002D5AB4 90 64 00 04 */ stw r3, 4(r4) +/* 802D8B58 002D5AB8 98 01 00 30 */ stb r0, 0x30(r1) +lbl_802D8B5C: +/* 802D8B5C 002D5ABC 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802D8B60 002D5AC0 28 00 00 00 */ cmplwi r0, 0 +/* 802D8B64 002D5AC4 41 82 00 38 */ beq lbl_802D8B9C +/* 802D8B68 002D5AC8 34 61 00 30 */ addic. r3, r1, 0x30 +/* 802D8B6C 002D5ACC 41 82 00 30 */ beq lbl_802D8B9C +/* 802D8B70 002D5AD0 88 03 00 00 */ lbz r0, 0(r3) +/* 802D8B74 002D5AD4 28 00 00 00 */ cmplwi r0, 0 +/* 802D8B78 002D5AD8 41 82 00 24 */ beq lbl_802D8B9C +/* 802D8B7C 002D5ADC 80 63 00 04 */ lwz r3, 4(r3) +/* 802D8B80 002D5AE0 28 03 00 00 */ cmplwi r3, 0 +/* 802D8B84 002D5AE4 41 82 00 18 */ beq lbl_802D8B9C +/* 802D8B88 002D5AE8 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8B8C 002D5AEC 38 80 00 01 */ li r4, 1 +/* 802D8B90 002D5AF0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8B94 002D5AF4 7D 89 03 A6 */ mtctr r12 +/* 802D8B98 002D5AF8 4E 80 04 21 */ bctrl +lbl_802D8B9C: +/* 802D8B9C 002D5AFC 88 01 00 44 */ lbz r0, 0x44(r1) +/* 802D8BA0 002D5B00 38 60 00 00 */ li r3, 0 +/* 802D8BA4 002D5B04 98 61 00 38 */ stb r3, 0x38(r1) +/* 802D8BA8 002D5B08 28 00 00 00 */ cmplwi r0, 0 +/* 802D8BAC 002D5B0C 41 82 00 48 */ beq lbl_802D8BF4 +/* 802D8BB0 002D5B10 38 61 00 08 */ addi r3, r1, 8 +/* 802D8BB4 002D5B14 38 81 00 3C */ addi r4, r1, 0x3c +/* 802D8BB8 002D5B18 48 01 B0 41 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802D8BBC 002D5B1C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802D8BC0 002D5B20 80 01 00 08 */ lwz r0, 8(r1) +/* 802D8BC4 002D5B24 7C 03 00 40 */ cmplw r3, r0 +/* 802D8BC8 002D5B28 41 82 00 24 */ beq lbl_802D8BEC +/* 802D8BCC 002D5B2C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 802D8BD0 002D5B30 4B D5 83 D1 */ bl sub_80030fa0 +/* 802D8BD4 002D5B34 80 01 00 08 */ lwz r0, 8(r1) +/* 802D8BD8 002D5B38 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D8BDC 002D5B3C 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D8BE0 002D5B40 80 64 00 04 */ lwz r3, 4(r4) +/* 802D8BE4 002D5B44 38 03 00 01 */ addi r0, r3, 1 +/* 802D8BE8 002D5B48 90 04 00 04 */ stw r0, 4(r4) +lbl_802D8BEC: +/* 802D8BEC 002D5B4C 38 61 00 08 */ addi r3, r1, 8 +/* 802D8BF0 002D5B50 4B D5 83 B1 */ bl sub_80030fa0 +lbl_802D8BF4: +/* 802D8BF4 002D5B54 88 01 00 44 */ lbz r0, 0x44(r1) +/* 802D8BF8 002D5B58 28 00 00 00 */ cmplwi r0, 0 +/* 802D8BFC 002D5B5C 41 82 00 38 */ beq lbl_802D8C34 +/* 802D8C00 002D5B60 34 61 00 3C */ addic. r3, r1, 0x3c +/* 802D8C04 002D5B64 41 82 00 30 */ beq lbl_802D8C34 +/* 802D8C08 002D5B68 88 03 00 00 */ lbz r0, 0(r3) +/* 802D8C0C 002D5B6C 28 00 00 00 */ cmplwi r0, 0 +/* 802D8C10 002D5B70 41 82 00 24 */ beq lbl_802D8C34 +/* 802D8C14 002D5B74 80 63 00 04 */ lwz r3, 4(r3) +/* 802D8C18 002D5B78 28 03 00 00 */ cmplwi r3, 0 +/* 802D8C1C 002D5B7C 41 82 00 18 */ beq lbl_802D8C34 +/* 802D8C20 002D5B80 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8C24 002D5B84 38 80 00 01 */ li r4, 1 +/* 802D8C28 002D5B88 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8C2C 002D5B8C 7D 89 03 A6 */ mtctr r12 +/* 802D8C30 002D5B90 4E 80 04 21 */ bctrl +lbl_802D8C34: +/* 802D8C34 002D5B94 38 00 00 00 */ li r0, 0 +/* 802D8C38 002D5B98 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8C3C 002D5B9C 98 01 00 44 */ stb r0, 0x44(r1) +/* 802D8C40 002D5BA0 4B D5 83 61 */ bl sub_80030fa0 +/* 802D8C44 002D5BA4 48 00 00 A4 */ b lbl_802D8CE8 +lbl_802D8C48: +/* 802D8C48 002D5BA8 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 802D8C4C 002D5BAC 28 00 00 00 */ cmplwi r0, 0 +/* 802D8C50 002D5BB0 41 82 00 98 */ beq lbl_802D8CE8 +/* 802D8C54 002D5BB4 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D8C58 002D5BB8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D8C5C 002D5BBC 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8C60 002D5BC0 81 84 00 00 */ lwz r12, 0(r4) +/* 802D8C64 002D5BC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D8C68 002D5BC8 7D 89 03 A6 */ mtctr r12 +/* 802D8C6C 002D5BCC 4E 80 04 21 */ bctrl +/* 802D8C70 002D5BD0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D8C74 002D5BD4 48 06 F7 3D */ bl EqualsZero__13CCharAnimTimeCFv +/* 802D8C78 002D5BD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D8C7C 002D5BDC 41 82 00 6C */ beq lbl_802D8CE8 +/* 802D8C80 002D5BE0 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D8C84 002D5BE4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D8C88 002D5BE8 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8C8C 002D5BEC 4B FA 9E 55 */ bl Clone__11IAnimReaderCFv +/* 802D8C90 002D5BF0 38 00 00 01 */ li r0, 1 +/* 802D8C94 002D5BF4 28 1E 00 00 */ cmplwi r30, 0 +/* 802D8C98 002D5BF8 98 1E 00 08 */ stb r0, 8(r30) +/* 802D8C9C 002D5BFC 41 82 00 1C */ beq lbl_802D8CB8 +/* 802D8CA0 002D5C00 88 61 00 10 */ lbz r3, 0x10(r1) +/* 802D8CA4 002D5C04 38 00 00 00 */ li r0, 0 +/* 802D8CA8 002D5C08 98 7E 00 00 */ stb r3, 0(r30) +/* 802D8CAC 002D5C0C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802D8CB0 002D5C10 90 7E 00 04 */ stw r3, 4(r30) +/* 802D8CB4 002D5C14 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802D8CB8: +/* 802D8CB8 002D5C18 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802D8CBC 002D5C1C 28 00 00 00 */ cmplwi r0, 0 +/* 802D8CC0 002D5C20 41 82 00 30 */ beq lbl_802D8CF0 +/* 802D8CC4 002D5C24 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802D8CC8 002D5C28 28 03 00 00 */ cmplwi r3, 0 +/* 802D8CCC 002D5C2C 41 82 00 24 */ beq lbl_802D8CF0 +/* 802D8CD0 002D5C30 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8CD4 002D5C34 38 80 00 01 */ li r4, 1 +/* 802D8CD8 002D5C38 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8CDC 002D5C3C 7D 89 03 A6 */ mtctr r12 +/* 802D8CE0 002D5C40 4E 80 04 21 */ bctrl +/* 802D8CE4 002D5C44 48 00 00 0C */ b lbl_802D8CF0 +lbl_802D8CE8: +/* 802D8CE8 002D5C48 38 00 00 00 */ li r0, 0 +/* 802D8CEC 002D5C4C 98 1E 00 08 */ stb r0, 8(r30) +lbl_802D8CF0: +/* 802D8CF0 002D5C50 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D8CF4 002D5C54 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802D8CF8 002D5C58 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802D8CFC 002D5C5C 7C 08 03 A6 */ mtlr r0 +/* 802D8D00 002D5C60 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D8D04 002D5C64 4E 80 00 20 */ blr + +.global VGetBestUnblendedChild__15CAnimTreeLoopInCFv +VGetBestUnblendedChild__15CAnimTreeLoopInCFv: +/* 802D8D08 002D5C68 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D8D0C 002D5C6C 7C 08 02 A6 */ mflr r0 +/* 802D8D10 002D5C70 90 01 00 44 */ stw r0, 0x44(r1) +/* 802D8D14 002D5C74 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 802D8D18 002D5C78 7C 9D 23 78 */ mr r29, r4 +/* 802D8D1C 002D5C7C 7C 7F 1B 78 */ mr r31, r3 +/* 802D8D20 002D5C80 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8D24 002D5C84 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802D8D28 002D5C88 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8D2C 002D5C8C 48 00 01 55 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802D8D30 002D5C90 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802D8D34 002D5C94 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8D38 002D5C98 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802D8D3C 002D5C9C 80 85 00 04 */ lwz r4, 4(r5) +/* 802D8D40 002D5CA0 38 04 00 01 */ addi r0, r4, 1 +/* 802D8D44 002D5CA4 90 05 00 04 */ stw r0, 4(r5) +/* 802D8D48 002D5CA8 4B D5 82 59 */ bl sub_80030fa0 +/* 802D8D4C 002D5CAC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802D8D50 002D5CB0 80 03 00 00 */ lwz r0, 0(r3) +/* 802D8D54 002D5CB4 28 00 00 00 */ cmplwi r0, 0 +/* 802D8D58 002D5CB8 41 82 00 F8 */ beq lbl_802D8E50 +/* 802D8D5C 002D5CBC 3C 60 80 3D */ lis r3, lbl_803D6D38@ha +/* 802D8D60 002D5CC0 3B 80 00 00 */ li r28, 0 +/* 802D8D64 002D5CC4 38 63 6D 38 */ addi r3, r3, lbl_803D6D38@l +/* 802D8D68 002D5CC8 3B 60 00 00 */ li r27, 0 +/* 802D8D6C 002D5CCC 38 83 00 01 */ addi r4, r3, 1 +/* 802D8D70 002D5CD0 38 60 00 90 */ li r3, 0x90 +/* 802D8D74 002D5CD4 38 A0 00 00 */ li r5, 0 +/* 802D8D78 002D5CD8 48 03 CA F5 */ bl __nw__FUlPCcPCc +/* 802D8D7C 002D5CDC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8D80 002D5CE0 41 82 00 50 */ beq lbl_802D8DD0 +/* 802D8D84 002D5CE4 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802D8D88 002D5CE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D8D8C 002D5CEC 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8D90 002D5CF0 4B FA 9D 51 */ bl Clone__11IAnimReaderCFv +/* 802D8D94 002D5CF4 38 61 00 08 */ addi r3, r1, 8 +/* 802D8D98 002D5CF8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D8D9C 002D5CFC 3B 80 00 01 */ li r28, 1 +/* 802D8DA0 002D5D00 48 01 AE 59 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802D8DA4 002D5D04 88 DD 00 1C */ lbz r6, 0x1c(r29) +/* 802D8DA8 002D5D08 7F C3 F3 78 */ mr r3, r30 +/* 802D8DAC 002D5D0C 38 81 00 08 */ addi r4, r1, 8 +/* 802D8DB0 002D5D10 38 BD 00 18 */ addi r5, r29, 0x18 +/* 802D8DB4 002D5D14 38 FD 00 20 */ addi r7, r29, 0x20 +/* 802D8DB8 002D5D18 39 1D 00 04 */ addi r8, r29, 4 +/* 802D8DBC 002D5D1C 39 3D 00 30 */ addi r9, r29, 0x30 +/* 802D8DC0 002D5D20 39 5D 00 88 */ addi r10, r29, 0x88 +/* 802D8DC4 002D5D24 3B 60 00 01 */ li r27, 1 +/* 802D8DC8 002D5D28 48 00 05 69 */ bl "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +/* 802D8DCC 002D5D2C 7C 7E 1B 78 */ mr r30, r3 +lbl_802D8DD0: +/* 802D8DD0 002D5D30 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D8DD4 002D5D34 38 60 00 08 */ li r3, 8 +/* 802D8DD8 002D5D38 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D8DDC 002D5D3C 38 A0 00 00 */ li r5, 0 +/* 802D8DE0 002D5D40 38 84 00 01 */ addi r4, r4, 1 +/* 802D8DE4 002D5D44 48 03 CA 89 */ bl __nw__FUlPCcPCc +/* 802D8DE8 002D5D48 28 03 00 00 */ cmplwi r3, 0 +/* 802D8DEC 002D5D4C 41 82 00 10 */ beq lbl_802D8DFC +/* 802D8DF0 002D5D50 93 C3 00 00 */ stw r30, 0(r3) +/* 802D8DF4 002D5D54 38 00 00 01 */ li r0, 1 +/* 802D8DF8 002D5D58 90 03 00 04 */ stw r0, 4(r3) +lbl_802D8DFC: +/* 802D8DFC 002D5D5C 7F 60 07 75 */ extsb. r0, r27 +/* 802D8E00 002D5D60 90 7F 00 00 */ stw r3, 0(r31) +/* 802D8E04 002D5D64 41 82 00 0C */ beq lbl_802D8E10 +/* 802D8E08 002D5D68 38 61 00 08 */ addi r3, r1, 8 +/* 802D8E0C 002D5D6C 4B D5 81 95 */ bl sub_80030fa0 +lbl_802D8E10: +/* 802D8E10 002D5D70 7F 80 07 75 */ extsb. r0, r28 +/* 802D8E14 002D5D74 41 82 00 30 */ beq lbl_802D8E44 +/* 802D8E18 002D5D78 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802D8E1C 002D5D7C 28 00 00 00 */ cmplwi r0, 0 +/* 802D8E20 002D5D80 41 82 00 24 */ beq lbl_802D8E44 +/* 802D8E24 002D5D84 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802D8E28 002D5D88 28 03 00 00 */ cmplwi r3, 0 +/* 802D8E2C 002D5D8C 41 82 00 18 */ beq lbl_802D8E44 +/* 802D8E30 002D5D90 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8E34 002D5D94 38 80 00 01 */ li r4, 1 +/* 802D8E38 002D5D98 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8E3C 002D5D9C 7D 89 03 A6 */ mtctr r12 +/* 802D8E40 002D5DA0 4E 80 04 21 */ bctrl +lbl_802D8E44: +/* 802D8E44 002D5DA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D8E48 002D5DA8 4B D5 81 59 */ bl sub_80030fa0 +/* 802D8E4C 002D5DAC 48 00 00 20 */ b lbl_802D8E6C +lbl_802D8E50: +/* 802D8E50 002D5DB0 90 7F 00 00 */ stw r3, 0(r31) +/* 802D8E54 002D5DB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D8E58 002D5DB8 80 BF 00 00 */ lwz r5, 0(r31) +/* 802D8E5C 002D5DBC 80 85 00 04 */ lwz r4, 4(r5) +/* 802D8E60 002D5DC0 38 04 00 01 */ addi r0, r4, 1 +/* 802D8E64 002D5DC4 90 05 00 04 */ stw r0, 4(r5) +/* 802D8E68 002D5DC8 4B D5 81 39 */ bl sub_80030fa0 +lbl_802D8E6C: +/* 802D8E6C 002D5DCC BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802D8E70 002D5DD0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D8E74 002D5DD4 7C 08 03 A6 */ mtlr r0 +/* 802D8E78 002D5DD8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D8E7C 002D5DDC 4E 80 00 20 */ blr + +.global GetBestUnblendedChild__13CAnimTreeNodeCFv +GetBestUnblendedChild__13CAnimTreeNodeCFv: +/* 802D8E80 002D5DE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8E84 002D5DE4 7C 08 02 A6 */ mflr r0 +/* 802D8E88 002D5DE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8E8C 002D5DEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8E90 002D5DF0 7C 7F 1B 78 */ mr r31, r3 +/* 802D8E94 002D5DF4 81 84 00 00 */ lwz r12, 0(r4) +/* 802D8E98 002D5DF8 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 802D8E9C 002D5DFC 7D 89 03 A6 */ mtctr r12 +/* 802D8EA0 002D5E00 4E 80 04 21 */ bctrl +/* 802D8EA4 002D5E04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8EA8 002D5E08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8EAC 002D5E0C 7C 08 03 A6 */ mtlr r0 +/* 802D8EB0 002D5E10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8EB4 002D5E14 4E 80 00 20 */ blr + +.global VClone__15CAnimTreeLoopInCFv +VClone__15CAnimTreeLoopInCFv: +/* 802D8EB8 002D5E18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D8EBC 002D5E1C 7C 08 02 A6 */ mflr r0 +/* 802D8EC0 002D5E20 3C A0 80 3D */ lis r5, lbl_803D6D38@ha +/* 802D8EC4 002D5E24 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D8EC8 002D5E28 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D8ECC 002D5E2C 7C 7D 1B 78 */ mr r29, r3 +/* 802D8ED0 002D5E30 38 65 6D 38 */ addi r3, r5, lbl_803D6D38@l +/* 802D8ED4 002D5E34 7C 9E 23 78 */ mr r30, r4 +/* 802D8ED8 002D5E38 38 83 00 01 */ addi r4, r3, 1 +/* 802D8EDC 002D5E3C 3B 80 00 00 */ li r28, 0 +/* 802D8EE0 002D5E40 3B 60 00 00 */ li r27, 0 +/* 802D8EE4 002D5E44 38 60 00 90 */ li r3, 0x90 +/* 802D8EE8 002D5E48 38 A0 00 00 */ li r5, 0 +/* 802D8EEC 002D5E4C 48 03 C9 81 */ bl __nw__FUlPCcPCc +/* 802D8EF0 002D5E50 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802D8EF4 002D5E54 41 82 00 50 */ beq lbl_802D8F44 +/* 802D8EF8 002D5E58 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802D8EFC 002D5E5C 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8F00 002D5E60 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8F04 002D5E64 4B FA 9B DD */ bl Clone__11IAnimReaderCFv +/* 802D8F08 002D5E68 38 61 00 08 */ addi r3, r1, 8 +/* 802D8F0C 002D5E6C 38 81 00 0C */ addi r4, r1, 0xc +/* 802D8F10 002D5E70 3B 80 00 01 */ li r28, 1 +/* 802D8F14 002D5E74 48 01 AC E5 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802D8F18 002D5E78 88 DE 00 1C */ lbz r6, 0x1c(r30) +/* 802D8F1C 002D5E7C 7F E3 FB 78 */ mr r3, r31 +/* 802D8F20 002D5E80 38 81 00 08 */ addi r4, r1, 8 +/* 802D8F24 002D5E84 38 BE 00 18 */ addi r5, r30, 0x18 +/* 802D8F28 002D5E88 38 FE 00 20 */ addi r7, r30, 0x20 +/* 802D8F2C 002D5E8C 39 1E 00 04 */ addi r8, r30, 4 +/* 802D8F30 002D5E90 39 3E 00 30 */ addi r9, r30, 0x30 +/* 802D8F34 002D5E94 39 5E 00 88 */ addi r10, r30, 0x88 +/* 802D8F38 002D5E98 3B 60 00 01 */ li r27, 1 +/* 802D8F3C 002D5E9C 48 00 03 F5 */ bl "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +/* 802D8F40 002D5EA0 7C 7F 1B 78 */ mr r31, r3 +lbl_802D8F44: +/* 802D8F44 002D5EA4 7C 7F 00 D0 */ neg r3, r31 +/* 802D8F48 002D5EA8 7F 60 07 75 */ extsb. r0, r27 +/* 802D8F4C 002D5EAC 7C 60 FB 78 */ or r0, r3, r31 +/* 802D8F50 002D5EB0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802D8F54 002D5EB4 98 1D 00 00 */ stb r0, 0(r29) +/* 802D8F58 002D5EB8 93 FD 00 04 */ stw r31, 4(r29) +/* 802D8F5C 002D5EBC 41 82 00 0C */ beq lbl_802D8F68 +/* 802D8F60 002D5EC0 38 61 00 08 */ addi r3, r1, 8 +/* 802D8F64 002D5EC4 4B D5 80 3D */ bl sub_80030fa0 +lbl_802D8F68: +/* 802D8F68 002D5EC8 7F 80 07 75 */ extsb. r0, r28 +/* 802D8F6C 002D5ECC 41 82 00 30 */ beq lbl_802D8F9C +/* 802D8F70 002D5ED0 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802D8F74 002D5ED4 28 00 00 00 */ cmplwi r0, 0 +/* 802D8F78 002D5ED8 41 82 00 24 */ beq lbl_802D8F9C +/* 802D8F7C 002D5EDC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802D8F80 002D5EE0 28 03 00 00 */ cmplwi r3, 0 +/* 802D8F84 002D5EE4 41 82 00 18 */ beq lbl_802D8F9C +/* 802D8F88 002D5EE8 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8F8C 002D5EEC 38 80 00 01 */ li r4, 1 +/* 802D8F90 002D5EF0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8F94 002D5EF4 7D 89 03 A6 */ mtctr r12 +/* 802D8F98 002D5EF8 4E 80 04 21 */ bctrl +lbl_802D8F9C: +/* 802D8F9C 002D5EFC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D8FA0 002D5F00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D8FA4 002D5F04 7C 08 03 A6 */ mtlr r0 +/* 802D8FA8 002D5F08 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D8FAC 002D5F0C 4E 80 00 20 */ blr + +.global VGetSoundPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802D8FB0 002D5F10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8FB4 002D5F14 7C 08 02 A6 */ mflr r0 +/* 802D8FB8 002D5F18 7C 69 1B 78 */ mr r9, r3 +/* 802D8FBC 002D5F1C 7C 83 23 78 */ mr r3, r4 +/* 802D8FC0 002D5F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8FC4 002D5F24 7C A4 2B 78 */ mr r4, r5 +/* 802D8FC8 002D5F28 7C C5 33 78 */ mr r5, r6 +/* 802D8FCC 002D5F2C 7C E6 3B 78 */ mr r6, r7 +/* 802D8FD0 002D5F30 7D 07 43 78 */ mr r7, r8 +/* 802D8FD4 002D5F34 39 09 00 78 */ addi r8, r9, 0x78 +/* 802D8FD8 002D5F38 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D8FDC 002D5F3C 48 00 17 BD */ bl "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D8FE0 002D5F40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8FE4 002D5F44 7C 08 03 A6 */ mtlr r0 +/* 802D8FE8 002D5F48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8FEC 002D5F4C 4E 80 00 20 */ blr + +.global VGetParticlePOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802D8FF0 002D5F50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8FF4 002D5F54 7C 08 02 A6 */ mflr r0 +/* 802D8FF8 002D5F58 7C 69 1B 78 */ mr r9, r3 +/* 802D8FFC 002D5F5C 7C 83 23 78 */ mr r3, r4 +/* 802D9000 002D5F60 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9004 002D5F64 7C A4 2B 78 */ mr r4, r5 +/* 802D9008 002D5F68 7C C5 33 78 */ mr r5, r6 +/* 802D900C 002D5F6C 7C E6 3B 78 */ mr r6, r7 +/* 802D9010 002D5F70 7D 07 43 78 */ mr r7, r8 +/* 802D9014 002D5F74 39 09 00 68 */ addi r8, r9, 0x68 +/* 802D9018 002D5F78 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D901C 002D5F7C 48 00 13 A5 */ bl "_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D9020 002D5F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9024 002D5F84 7C 08 03 A6 */ mtlr r0 +/* 802D9028 002D5F88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D902C 002D5F8C 4E 80 00 20 */ blr + +.global VGetInt32POIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802D9030 002D5F90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9034 002D5F94 7C 08 02 A6 */ mflr r0 +/* 802D9038 002D5F98 7C 69 1B 78 */ mr r9, r3 +/* 802D903C 002D5F9C 7C 83 23 78 */ mr r3, r4 +/* 802D9040 002D5FA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9044 002D5FA4 7C A4 2B 78 */ mr r4, r5 +/* 802D9048 002D5FA8 7C C5 33 78 */ mr r5, r6 +/* 802D904C 002D5FAC 7C E6 3B 78 */ mr r6, r7 +/* 802D9050 002D5FB0 7D 07 43 78 */ mr r7, r8 +/* 802D9054 002D5FB4 39 09 00 58 */ addi r8, r9, 0x58 +/* 802D9058 002D5FB8 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D905C 002D5FBC 48 00 10 1D */ bl "_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D9060 002D5FC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9064 002D5FC4 7C 08 03 A6 */ mtlr r0 +/* 802D9068 002D5FC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D906C 002D5FCC 4E 80 00 20 */ blr + +.global VGetBoolPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802D9070 002D5FD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9074 002D5FD4 7C 08 02 A6 */ mflr r0 +/* 802D9078 002D5FD8 7C 69 1B 78 */ mr r9, r3 +/* 802D907C 002D5FDC 7C 83 23 78 */ mr r3, r4 +/* 802D9080 002D5FE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9084 002D5FE4 7C A4 2B 78 */ mr r4, r5 +/* 802D9088 002D5FE8 7C C5 33 78 */ mr r5, r6 +/* 802D908C 002D5FEC 7C E6 3B 78 */ mr r6, r7 +/* 802D9090 002D5FF0 7D 07 43 78 */ mr r7, r8 +/* 802D9094 002D5FF4 39 09 00 48 */ addi r8, r9, 0x48 +/* 802D9098 002D5FF8 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D909C 002D5FFC 48 00 0D 19 */ bl "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D90A0 002D6000 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D90A4 002D6004 7C 08 03 A6 */ mtlr r0 +/* 802D90A8 002D6008 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D90AC 002D600C 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__15CAnimTreeLoopInCFv +VGetSteadyStateAnimInfo__15CAnimTreeLoopInCFv: +/* 802D90B0 002D6010 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802D90B4 002D6014 D0 03 00 00 */ stfs f0, 0(r3) +/* 802D90B8 002D6018 80 04 00 34 */ lwz r0, 0x34(r4) +/* 802D90BC 002D601C 90 03 00 04 */ stw r0, 4(r3) +/* 802D90C0 002D6020 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802D90C4 002D6024 D0 03 00 08 */ stfs f0, 8(r3) +/* 802D90C8 002D6028 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 802D90CC 002D602C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802D90D0 002D6030 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802D90D4 002D6034 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802D90D8 002D6038 88 04 00 44 */ lbz r0, 0x44(r4) +/* 802D90DC 002D603C 98 03 00 14 */ stb r0, 0x14(r3) +/* 802D90E0 002D6040 4E 80 00 20 */ blr + +.global VGetTimeRemaining__15CAnimTreeLoopInCFv +VGetTimeRemaining__15CAnimTreeLoopInCFv: +/* 802D90E4 002D6044 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D90E8 002D6048 7C 08 02 A6 */ mflr r0 +/* 802D90EC 002D604C 7C 85 23 78 */ mr r5, r4 +/* 802D90F0 002D6050 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D90F4 002D6054 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D90F8 002D6058 7C 7F 1B 78 */ mr r31, r3 +/* 802D90FC 002D605C 80 04 00 34 */ lwz r0, 0x34(r4) +/* 802D9100 002D6060 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D9104 002D6064 C0 05 00 30 */ lfs f0, 0x30(r5) +/* 802D9108 002D6068 38 A5 00 88 */ addi r5, r5, 0x88 +/* 802D910C 002D606C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D9110 002D6070 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D9114 002D6074 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9118 002D6078 48 06 F6 4D */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802D911C 002D607C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D9120 002D6080 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D9124 002D6084 7C 08 03 A6 */ mtlr r0 +/* 802D9128 002D6088 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D912C 002D608C 4E 80 00 20 */ blr + +.global VAdvanceView__15CAnimTreeLoopInFRC13CCharAnimTime +VAdvanceView__15CAnimTreeLoopInFRC13CCharAnimTime: +/* 802D9130 002D6090 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802D9134 002D6094 7C 08 02 A6 */ mflr r0 +/* 802D9138 002D6098 90 01 00 94 */ stw r0, 0x94(r1) +/* 802D913C 002D609C 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802D9140 002D60A0 7C 9F 23 78 */ mr r31, r4 +/* 802D9144 002D60A4 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802D9148 002D60A8 7C 7E 1B 78 */ mr r30, r3 +/* 802D914C 002D60AC 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D9150 002D60B0 93 A1 00 84 */ stw r29, 0x84(r1) +/* 802D9154 002D60B4 93 81 00 80 */ stw r28, 0x80(r1) +/* 802D9158 002D60B8 7C BC 2B 78 */ mr r28, r5 +/* 802D915C 002D60BC 80 C4 00 14 */ lwz r6, 0x14(r4) +/* 802D9160 002D60C0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802D9164 002D60C4 80 86 00 04 */ lwz r4, 4(r6) +/* 802D9168 002D60C8 38 04 00 01 */ addi r0, r4, 1 +/* 802D916C 002D60CC 90 06 00 04 */ stw r0, 4(r6) +/* 802D9170 002D60D0 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802D9174 002D60D4 80 84 00 00 */ lwz r4, 0(r4) +/* 802D9178 002D60D8 81 84 00 00 */ lwz r12, 0(r4) +/* 802D917C 002D60DC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D9180 002D60E0 7D 89 03 A6 */ mtctr r12 +/* 802D9184 002D60E4 4E 80 04 21 */ bctrl +/* 802D9188 002D60E8 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 802D918C 002D60EC 7F 84 E3 78 */ mr r4, r28 +/* 802D9190 002D60F0 83 A1 00 30 */ lwz r29, 0x30(r1) +/* 802D9194 002D60F4 38 61 00 1C */ addi r3, r1, 0x1c +/* 802D9198 002D60F8 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 802D919C 002D60FC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802D91A0 002D6100 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 802D91A4 002D6104 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 802D91A8 002D6108 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802D91AC 002D610C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802D91B0 002D6110 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802D91B4 002D6114 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802D91B8 002D6118 D0 E1 00 50 */ stfs f7, 0x50(r1) +/* 802D91BC 002D611C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802D91C0 002D6120 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 802D91C4 002D6124 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802D91C8 002D6128 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802D91CC 002D612C D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802D91D0 002D6130 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D91D4 002D6134 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802D91D8 002D6138 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802D91DC 002D613C D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 802D91E0 002D6140 93 A1 00 28 */ stw r29, 0x28(r1) +/* 802D91E4 002D6144 48 06 F5 81 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802D91E8 002D6148 38 7F 00 88 */ addi r3, r31, 0x88 +/* 802D91EC 002D614C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802D91F0 002D6150 48 06 F3 69 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802D91F4 002D6154 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802D91F8 002D6158 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D91FC 002D615C 80 84 00 00 */ lwz r4, 0(r4) +/* 802D9200 002D6160 81 84 00 00 */ lwz r12, 0(r4) +/* 802D9204 002D6164 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D9208 002D6168 7D 89 03 A6 */ mtctr r12 +/* 802D920C 002D616C 4E 80 04 21 */ bctrl +/* 802D9210 002D6170 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D9214 002D6174 C0 62 C5 98 */ lfs f3, lbl_805AE2B8@sda21(r2) +/* 802D9218 002D6178 C0 42 C5 9C */ lfs f2, lbl_805AE2BC@sda21(r2) +/* 802D921C 002D617C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D9220 002D6180 FC 00 02 10 */ fabs f0, f0 +/* 802D9224 002D6184 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D9228 002D6188 41 80 00 20 */ blt lbl_802D9248 +/* 802D922C 002D618C C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D9230 002D6190 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D9234 002D6194 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D9238 002D6198 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D923C 002D619C FC 00 02 10 */ fabs f0, f0 +/* 802D9240 002D61A0 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D9244 002D61A4 40 80 00 80 */ bge lbl_802D92C4 +lbl_802D9248: +/* 802D9248 002D61A8 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 802D924C 002D61AC 28 00 00 00 */ cmplwi r0, 0 +/* 802D9250 002D61B0 40 82 00 74 */ bne lbl_802D92C4 +/* 802D9254 002D61B4 38 61 00 08 */ addi r3, r1, 8 +/* 802D9258 002D61B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D925C 002D61BC 38 BF 00 18 */ addi r5, r31, 0x18 +/* 802D9260 002D61C0 38 DF 00 20 */ addi r6, r31, 0x20 +/* 802D9264 002D61C4 48 00 DC 89 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802D9268 002D61C8 80 A1 00 08 */ lwz r5, 8(r1) +/* 802D926C 002D61CC 38 61 00 08 */ addi r3, r1, 8 +/* 802D9270 002D61D0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D9274 002D61D4 80 85 00 04 */ lwz r4, 4(r5) +/* 802D9278 002D61D8 38 04 00 01 */ addi r0, r4, 1 +/* 802D927C 002D61DC 90 05 00 04 */ stw r0, 4(r5) +/* 802D9280 002D61E0 4B D5 7D 21 */ bl sub_80030fa0 +/* 802D9284 002D61E4 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802D9288 002D61E8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D928C 002D61EC 7C 03 00 40 */ cmplw r3, r0 +/* 802D9290 002D61F0 41 82 00 24 */ beq lbl_802D92B4 +/* 802D9294 002D61F4 38 7F 00 14 */ addi r3, r31, 0x14 +/* 802D9298 002D61F8 4B D5 7D 09 */ bl sub_80030fa0 +/* 802D929C 002D61FC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D92A0 002D6200 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D92A4 002D6204 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D92A8 002D6208 80 64 00 04 */ lwz r3, 4(r4) +/* 802D92AC 002D620C 38 03 00 01 */ addi r0, r3, 1 +/* 802D92B0 002D6210 90 04 00 04 */ stw r0, 4(r4) +lbl_802D92B4: +/* 802D92B4 002D6214 38 00 00 01 */ li r0, 1 +/* 802D92B8 002D6218 38 61 00 0C */ addi r3, r1, 0xc +/* 802D92BC 002D621C 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 802D92C0 002D6220 4B D5 7C E1 */ bl sub_80030fa0 +lbl_802D92C4: +/* 802D92C4 002D6224 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802D92C8 002D6228 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D92CC 002D622C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802D92D0 002D6230 D0 3E 00 00 */ stfs f1, 0(r30) +/* 802D92D4 002D6234 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 802D92D8 002D6238 93 BE 00 04 */ stw r29, 4(r30) +/* 802D92DC 002D623C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802D92E0 002D6240 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D92E4 002D6244 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802D92E8 002D6248 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 802D92EC 002D624C C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802D92F0 002D6250 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 802D92F4 002D6254 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802D92F8 002D6258 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802D92FC 002D625C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802D9300 002D6260 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 802D9304 002D6264 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 802D9308 002D6268 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802D930C 002D626C 4B D5 7C 95 */ bl sub_80030fa0 +/* 802D9310 002D6270 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D9314 002D6274 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802D9318 002D6278 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802D931C 002D627C 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802D9320 002D6280 83 81 00 80 */ lwz r28, 0x80(r1) +/* 802D9324 002D6284 7C 08 03 A6 */ mtlr r0 +/* 802D9328 002D6288 38 21 00 90 */ addi r1, r1, 0x90 +/* 802D932C 002D628C 4E 80 00 20 */ blr + +.global "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +"__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime": +/* 802D9330 002D6290 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D9334 002D6294 7C 08 02 A6 */ mflr r0 +/* 802D9338 002D6298 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D933C 002D629C BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802D9340 002D62A0 7C 7B 1B 78 */ mr r27, r3 +/* 802D9344 002D62A4 7F 60 DB 78 */ mr r0, r27 +/* 802D9348 002D62A8 7C 98 23 78 */ mr r24, r4 +/* 802D934C 002D62AC 7C B9 2B 78 */ mr r25, r5 +/* 802D9350 002D62B0 7C DC 33 78 */ mr r28, r6 +/* 802D9354 002D62B4 7C FD 3B 78 */ mr r29, r7 +/* 802D9358 002D62B8 7D 3E 4B 78 */ mr r30, r9 +/* 802D935C 002D62BC 7D 5F 53 78 */ mr r31, r10 +/* 802D9360 002D62C0 7C 17 03 78 */ mr r23, r0 +/* 802D9364 002D62C4 7D 04 43 78 */ mr r4, r8 +/* 802D9368 002D62C8 48 01 A9 69 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D936C 002D62CC 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802D9370 002D62D0 3C 60 80 3F */ lis r3, lbl_803ECBE0@ha +/* 802D9374 002D62D4 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l +/* 802D9378 002D62D8 3B 5B 00 20 */ addi r26, r27, 0x20 +/* 802D937C 002D62DC 90 17 00 00 */ stw r0, 0(r23) +/* 802D9380 002D62E0 38 03 CB E0 */ addi r0, r3, lbl_803ECBE0@l +/* 802D9384 002D62E4 7F 43 D3 78 */ mr r3, r26 +/* 802D9388 002D62E8 7F A4 EB 78 */ mr r4, r29 +/* 802D938C 002D62EC 80 B8 00 00 */ lwz r5, 0(r24) +/* 802D9390 002D62F0 90 B7 00 14 */ stw r5, 0x14(r23) +/* 802D9394 002D62F4 80 D7 00 14 */ lwz r6, 0x14(r23) +/* 802D9398 002D62F8 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D939C 002D62FC 38 A5 00 01 */ addi r5, r5, 1 +/* 802D93A0 002D6300 90 A6 00 04 */ stw r5, 4(r6) +/* 802D93A4 002D6304 90 1B 00 00 */ stw r0, 0(r27) +/* 802D93A8 002D6308 80 19 00 00 */ lwz r0, 0(r25) +/* 802D93AC 002D630C 90 1B 00 18 */ stw r0, 0x18(r27) +/* 802D93B0 002D6310 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 802D93B4 002D6314 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D93B8 002D6318 38 05 00 01 */ addi r0, r5, 1 +/* 802D93BC 002D631C 90 06 00 04 */ stw r0, 4(r6) +/* 802D93C0 002D6320 9B 9B 00 1C */ stb r28, 0x1c(r27) +/* 802D93C4 002D6324 48 06 7A E5 */ bl __ct__6CTokenFRC6CToken +/* 802D93C8 002D6328 80 1D 00 08 */ lwz r0, 8(r29) +/* 802D93CC 002D632C 7F C4 F3 78 */ mr r4, r30 +/* 802D93D0 002D6330 38 7B 00 30 */ addi r3, r27, 0x30 +/* 802D93D4 002D6334 90 1A 00 08 */ stw r0, 8(r26) +/* 802D93D8 002D6338 80 DA 00 08 */ lwz r6, 8(r26) +/* 802D93DC 002D633C 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D93E0 002D6340 38 05 00 01 */ addi r0, r5, 1 +/* 802D93E4 002D6344 90 06 00 04 */ stw r0, 4(r6) +/* 802D93E8 002D6348 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802D93EC 002D634C 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D93F0 002D6350 48 00 00 2D */ bl sub_802d941c +/* 802D93F4 002D6354 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D93F8 002D6358 7F 63 DB 78 */ mr r3, r27 +/* 802D93FC 002D635C D0 1B 00 88 */ stfs f0, 0x88(r27) +/* 802D9400 002D6360 80 1F 00 04 */ lwz r0, 4(r31) +/* 802D9404 002D6364 90 1B 00 8C */ stw r0, 0x8c(r27) +/* 802D9408 002D6368 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802D940C 002D636C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D9410 002D6370 7C 08 03 A6 */ mtlr r0 +/* 802D9414 002D6374 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D9418 002D6378 4E 80 00 20 */ blr + +.global sub_802d941c +sub_802d941c: +/* 802D941C 002D637C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9420 002D6380 7C 08 02 A6 */ mflr r0 +/* 802D9424 002D6384 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9428 002D6388 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D942C 002D638C 7C 9F 23 78 */ mr r31, r4 +/* 802D9430 002D6390 93 C1 00 08 */ stw r30, 8(r1) +/* 802D9434 002D6394 7C 7E 1B 78 */ mr r30, r3 +/* 802D9438 002D6398 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802D943C 002D639C C0 04 00 00 */ lfs f0, 0(r4) +/* 802D9440 002D63A0 38 9F 00 18 */ addi r4, r31, 0x18 +/* 802D9444 002D63A4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D9448 002D63A8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802D944C 002D63AC 90 1E 00 04 */ stw r0, 4(r30) +/* 802D9450 002D63B0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 802D9454 002D63B4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D9458 002D63B8 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802D945C 002D63BC D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802D9460 002D63C0 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 802D9464 002D63C4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802D9468 002D63C8 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 802D946C 002D63CC 98 1E 00 14 */ stb r0, 0x14(r30) +/* 802D9470 002D63D0 48 00 04 99 */ bl "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" +/* 802D9474 002D63D4 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802D9478 002D63D8 38 9F 00 28 */ addi r4, r31, 0x28 +/* 802D947C 002D63DC 48 00 03 45 */ bl "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" +/* 802D9480 002D63E0 38 7E 00 38 */ addi r3, r30, 0x38 +/* 802D9484 002D63E4 38 9F 00 38 */ addi r4, r31, 0x38 +/* 802D9488 002D63E8 48 00 01 79 */ bl sub_802d9600 +/* 802D948C 002D63EC 38 7E 00 48 */ addi r3, r30, 0x48 +/* 802D9490 002D63F0 38 9F 00 48 */ addi r4, r31, 0x48 +/* 802D9494 002D63F4 48 00 00 21 */ bl sub_802d94b4 +/* 802D9498 002D63F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D949C 002D63FC 7F C3 F3 78 */ mr r3, r30 +/* 802D94A0 002D6400 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D94A4 002D6404 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D94A8 002D6408 7C 08 03 A6 */ mtlr r0 +/* 802D94AC 002D640C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D94B0 002D6410 4E 80 00 20 */ blr + +.global sub_802d94b4 +sub_802d94b4: +/* 802D94B4 002D6414 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D94B8 002D6418 7C 08 02 A6 */ mflr r0 +/* 802D94BC 002D641C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D94C0 002D6420 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802D94C4 002D6424 7C 9C 23 78 */ mr r28, r4 +/* 802D94C8 002D6428 7C 7F 1B 78 */ mr r31, r3 +/* 802D94CC 002D642C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D94D0 002D6430 90 03 00 04 */ stw r0, 4(r3) +/* 802D94D4 002D6434 80 04 00 08 */ lwz r0, 8(r4) +/* 802D94D8 002D6438 90 03 00 08 */ stw r0, 8(r3) +/* 802D94DC 002D643C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D94E0 002D6440 2C 00 00 00 */ cmpwi r0, 0 +/* 802D94E4 002D6444 40 82 00 1C */ bne lbl_802D9500 +/* 802D94E8 002D6448 80 1C 00 08 */ lwz r0, 8(r28) +/* 802D94EC 002D644C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D94F0 002D6450 40 82 00 10 */ bne lbl_802D9500 +/* 802D94F4 002D6454 38 00 00 00 */ li r0, 0 +/* 802D94F8 002D6458 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D94FC 002D645C 48 00 00 EC */ b lbl_802D95E8 +lbl_802D9500: +/* 802D9500 002D6460 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9504 002D6464 1C 60 00 44 */ mulli r3, r0, 0x44 +/* 802D9508 002D6468 2C 03 00 00 */ cmpwi r3, 0 +/* 802D950C 002D646C 40 82 00 10 */ bne lbl_802D951C +/* 802D9510 002D6470 38 00 00 00 */ li r0, 0 +/* 802D9514 002D6474 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9518 002D6478 48 00 00 1C */ b lbl_802D9534 +lbl_802D951C: +/* 802D951C 002D647C 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D9520 002D6480 38 A0 00 00 */ li r5, 0 +/* 802D9524 002D6484 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D9528 002D6488 38 84 00 01 */ addi r4, r4, 1 +/* 802D952C 002D648C 48 03 C2 ED */ bl __nwa__FUlPCcPCc +/* 802D9530 002D6490 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802D9534: +/* 802D9534 002D6494 83 7F 00 04 */ lwz r27, 4(r31) +/* 802D9538 002D6498 3B C0 00 00 */ li r30, 0 +/* 802D953C 002D649C 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 802D9540 002D64A0 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802D9544 002D64A4 48 00 00 9C */ b lbl_802D95E0 +lbl_802D9548: +/* 802D9548 002D64A8 28 1D 00 00 */ cmplwi r29, 0 +/* 802D954C 002D64AC 41 82 00 88 */ beq lbl_802D95D4 +/* 802D9550 002D64B0 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802D9554 002D64B4 38 7D 00 08 */ addi r3, r29, 8 +/* 802D9558 002D64B8 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802D955C 002D64BC 38 9C 00 08 */ addi r4, r28, 8 +/* 802D9560 002D64C0 90 1D 00 00 */ stw r0, 0(r29) +/* 802D9564 002D64C4 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802D9568 002D64C8 B0 1D 00 04 */ sth r0, 4(r29) +/* 802D956C 002D64CC 48 06 4B F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9570 002D64D0 A0 9C 00 18 */ lhz r4, 0x18(r28) +/* 802D9574 002D64D4 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802D9578 002D64D8 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 802D957C 002D64DC B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802D9580 002D64E0 C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 802D9584 002D64E4 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802D9588 002D64E8 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 802D958C 002D64EC 90 7D 00 20 */ stw r3, 0x20(r29) +/* 802D9590 002D64F0 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 802D9594 002D64F4 90 7D 00 24 */ stw r3, 0x24(r29) +/* 802D9598 002D64F8 88 7C 00 28 */ lbz r3, 0x28(r28) +/* 802D959C 002D64FC 98 7D 00 28 */ stb r3, 0x28(r29) +/* 802D95A0 002D6500 C0 1C 00 2C */ lfs f0, 0x2c(r28) +/* 802D95A4 002D6504 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802D95A8 002D6508 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 802D95AC 002D650C 90 7D 00 30 */ stw r3, 0x30(r29) +/* 802D95B0 002D6510 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 802D95B4 002D6514 90 7D 00 34 */ stw r3, 0x34(r29) +/* 802D95B8 002D6518 90 1D 00 00 */ stw r0, 0(r29) +/* 802D95BC 002D651C 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802D95C0 002D6520 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802D95C4 002D6524 C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 802D95C8 002D6528 D0 1D 00 3C */ stfs f0, 0x3c(r29) +/* 802D95CC 002D652C C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 802D95D0 002D6530 D0 1D 00 40 */ stfs f0, 0x40(r29) +lbl_802D95D4: +/* 802D95D4 002D6534 3B BD 00 44 */ addi r29, r29, 0x44 +/* 802D95D8 002D6538 3B DE 00 01 */ addi r30, r30, 1 +/* 802D95DC 002D653C 3B 9C 00 44 */ addi r28, r28, 0x44 +lbl_802D95E0: +/* 802D95E0 002D6540 7C 1E D8 00 */ cmpw r30, r27 +/* 802D95E4 002D6544 41 80 FF 64 */ blt lbl_802D9548 +lbl_802D95E8: +/* 802D95E8 002D6548 7F E3 FB 78 */ mr r3, r31 +/* 802D95EC 002D654C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802D95F0 002D6550 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D95F4 002D6554 7C 08 03 A6 */ mtlr r0 +/* 802D95F8 002D6558 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D95FC 002D655C 4E 80 00 20 */ blr + +.global sub_802d9600 +sub_802d9600: +/* 802D9600 002D6560 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9604 002D6564 7C 08 02 A6 */ mflr r0 +/* 802D9608 002D6568 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D960C 002D656C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D9610 002D6570 7C 9F 23 78 */ mr r31, r4 +/* 802D9614 002D6574 93 C1 00 08 */ stw r30, 8(r1) +/* 802D9618 002D6578 7C 7E 1B 78 */ mr r30, r3 +/* 802D961C 002D657C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9620 002D6580 90 03 00 04 */ stw r0, 4(r3) +/* 802D9624 002D6584 80 04 00 08 */ lwz r0, 8(r4) +/* 802D9628 002D6588 90 03 00 08 */ stw r0, 8(r3) +/* 802D962C 002D658C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9630 002D6590 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9634 002D6594 40 82 00 1C */ bne lbl_802D9650 +/* 802D9638 002D6598 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D963C 002D659C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9640 002D65A0 40 82 00 10 */ bne lbl_802D9650 +/* 802D9644 002D65A4 38 00 00 00 */ li r0, 0 +/* 802D9648 002D65A8 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802D964C 002D65AC 48 00 00 48 */ b lbl_802D9694 +lbl_802D9650: +/* 802D9650 002D65B0 80 1E 00 08 */ lwz r0, 8(r30) +/* 802D9654 002D65B4 1C 60 00 5C */ mulli r3, r0, 0x5c +/* 802D9658 002D65B8 2C 03 00 00 */ cmpwi r3, 0 +/* 802D965C 002D65BC 40 82 00 10 */ bne lbl_802D966C +/* 802D9660 002D65C0 38 00 00 00 */ li r0, 0 +/* 802D9664 002D65C4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802D9668 002D65C8 48 00 00 1C */ b lbl_802D9684 +lbl_802D966C: +/* 802D966C 002D65CC 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D9670 002D65D0 38 A0 00 00 */ li r5, 0 +/* 802D9674 002D65D4 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D9678 002D65D8 38 84 00 01 */ addi r4, r4, 1 +/* 802D967C 002D65DC 48 03 C1 9D */ bl __nwa__FUlPCcPCc +/* 802D9680 002D65E0 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802D9684: +/* 802D9684 002D65E4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802D9688 002D65E8 80 9E 00 04 */ lwz r4, 4(r30) +/* 802D968C 002D65EC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802D9690 002D65F0 48 00 00 21 */ bl sub_802d96b0 +lbl_802D9694: +/* 802D9694 002D65F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9698 002D65F8 7F C3 F3 78 */ mr r3, r30 +/* 802D969C 002D65FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D96A0 002D6600 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D96A4 002D6604 7C 08 03 A6 */ mtlr r0 +/* 802D96A8 002D6608 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D96AC 002D660C 4E 80 00 20 */ blr + +.global sub_802d96b0 +sub_802d96b0: +/* 802D96B0 002D6610 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D96B4 002D6614 7C 08 02 A6 */ mflr r0 +/* 802D96B8 002D6618 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D96BC 002D661C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D96C0 002D6620 7C 7F 1B 78 */ mr r31, r3 +/* 802D96C4 002D6624 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D96C8 002D6628 7C BE 2B 78 */ mr r30, r5 +/* 802D96CC 002D662C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D96D0 002D6630 3B A0 00 00 */ li r29, 0 +/* 802D96D4 002D6634 93 81 00 10 */ stw r28, 0x10(r1) +/* 802D96D8 002D6638 7C 9C 23 78 */ mr r28, r4 +/* 802D96DC 002D663C 48 00 00 B8 */ b lbl_802D9794 +lbl_802D96E0: +/* 802D96E0 002D6640 28 1E 00 00 */ cmplwi r30, 0 +/* 802D96E4 002D6644 41 82 00 A4 */ beq lbl_802D9788 +/* 802D96E8 002D6648 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D96EC 002D664C 38 9F 00 08 */ addi r4, r31, 8 +/* 802D96F0 002D6650 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802D96F4 002D6654 90 1E 00 00 */ stw r0, 0(r30) +/* 802D96F8 002D6658 38 7E 00 08 */ addi r3, r30, 8 +/* 802D96FC 002D665C A0 1F 00 04 */ lhz r0, 4(r31) +/* 802D9700 002D6660 B0 1E 00 04 */ sth r0, 4(r30) +/* 802D9704 002D6664 48 06 4A 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9708 002D6668 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802D970C 002D666C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802D9710 002D6670 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802D9714 002D6674 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802D9718 002D6678 B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802D971C 002D667C 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802D9720 002D6680 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802D9724 002D6684 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802D9728 002D6688 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802D972C 002D668C 90 BE 00 20 */ stw r5, 0x20(r30) +/* 802D9730 002D6690 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 802D9734 002D6694 90 BE 00 24 */ stw r5, 0x24(r30) +/* 802D9738 002D6698 88 BF 00 28 */ lbz r5, 0x28(r31) +/* 802D973C 002D669C 98 BE 00 28 */ stb r5, 0x28(r30) +/* 802D9740 002D66A0 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802D9744 002D66A4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802D9748 002D66A8 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 802D974C 002D66AC 90 BE 00 30 */ stw r5, 0x30(r30) +/* 802D9750 002D66B0 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802D9754 002D66B4 90 BE 00 34 */ stw r5, 0x34(r30) +/* 802D9758 002D66B8 90 1E 00 00 */ stw r0, 0(r30) +/* 802D975C 002D66BC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802D9760 002D66C0 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802D9764 002D66C4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802D9768 002D66C8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802D976C 002D66CC 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 802D9770 002D66D0 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802D9774 002D66D4 48 06 49 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9778 002D66D8 C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 802D977C 002D66DC D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 802D9780 002D66E0 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802D9784 002D66E4 90 1E 00 58 */ stw r0, 0x58(r30) +lbl_802D9788: +/* 802D9788 002D66E8 3B DE 00 5C */ addi r30, r30, 0x5c +/* 802D978C 002D66EC 3B BD 00 01 */ addi r29, r29, 1 +/* 802D9790 002D66F0 3B FF 00 5C */ addi r31, r31, 0x5c +lbl_802D9794: +/* 802D9794 002D66F4 7C 1D E0 00 */ cmpw r29, r28 +/* 802D9798 002D66F8 41 80 FF 48 */ blt lbl_802D96E0 +/* 802D979C 002D66FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D97A0 002D6700 7F C3 F3 78 */ mr r3, r30 +/* 802D97A4 002D6704 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D97A8 002D6708 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D97AC 002D670C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802D97B0 002D6710 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802D97B4 002D6714 7C 08 03 A6 */ mtlr r0 +/* 802D97B8 002D6718 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D97BC 002D671C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>": +/* 802D97C0 002D6720 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D97C4 002D6724 7C 08 02 A6 */ mflr r0 +/* 802D97C8 002D6728 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D97CC 002D672C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802D97D0 002D6730 7C 9C 23 78 */ mr r28, r4 +/* 802D97D4 002D6734 7C 7F 1B 78 */ mr r31, r3 +/* 802D97D8 002D6738 80 04 00 04 */ lwz r0, 4(r4) +/* 802D97DC 002D673C 90 03 00 04 */ stw r0, 4(r3) +/* 802D97E0 002D6740 80 04 00 08 */ lwz r0, 8(r4) +/* 802D97E4 002D6744 90 03 00 08 */ stw r0, 8(r3) +/* 802D97E8 002D6748 80 04 00 04 */ lwz r0, 4(r4) +/* 802D97EC 002D674C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D97F0 002D6750 40 82 00 1C */ bne lbl_802D980C +/* 802D97F4 002D6754 80 1C 00 08 */ lwz r0, 8(r28) +/* 802D97F8 002D6758 2C 00 00 00 */ cmpwi r0, 0 +/* 802D97FC 002D675C 40 82 00 10 */ bne lbl_802D980C +/* 802D9800 002D6760 38 00 00 00 */ li r0, 0 +/* 802D9804 002D6764 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9808 002D6768 48 00 00 E8 */ b lbl_802D98F0 +lbl_802D980C: +/* 802D980C 002D676C 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9810 002D6770 1C 60 00 4C */ mulli r3, r0, 0x4c +/* 802D9814 002D6774 2C 03 00 00 */ cmpwi r3, 0 +/* 802D9818 002D6778 40 82 00 10 */ bne lbl_802D9828 +/* 802D981C 002D677C 38 00 00 00 */ li r0, 0 +/* 802D9820 002D6780 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9824 002D6784 48 00 00 1C */ b lbl_802D9840 +lbl_802D9828: +/* 802D9828 002D6788 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D982C 002D678C 38 A0 00 00 */ li r5, 0 +/* 802D9830 002D6790 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D9834 002D6794 38 84 00 01 */ addi r4, r4, 1 +/* 802D9838 002D6798 48 03 BF E1 */ bl __nwa__FUlPCcPCc +/* 802D983C 002D679C 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802D9840: +/* 802D9840 002D67A0 83 7F 00 04 */ lwz r27, 4(r31) +/* 802D9844 002D67A4 3B C0 00 00 */ li r30, 0 +/* 802D9848 002D67A8 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 802D984C 002D67AC 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802D9850 002D67B0 48 00 00 98 */ b lbl_802D98E8 +lbl_802D9854: +/* 802D9854 002D67B4 28 1D 00 00 */ cmplwi r29, 0 +/* 802D9858 002D67B8 41 82 00 84 */ beq lbl_802D98DC +/* 802D985C 002D67BC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D9860 002D67C0 38 9C 00 08 */ addi r4, r28, 8 +/* 802D9864 002D67C4 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802D9868 002D67C8 90 1D 00 00 */ stw r0, 0(r29) +/* 802D986C 002D67CC 38 7D 00 08 */ addi r3, r29, 8 +/* 802D9870 002D67D0 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802D9874 002D67D4 B0 1D 00 04 */ sth r0, 4(r29) +/* 802D9878 002D67D8 48 06 48 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D987C 002D67DC A0 9C 00 18 */ lhz r4, 0x18(r28) +/* 802D9880 002D67E0 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802D9884 002D67E4 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802D9888 002D67E8 38 7D 00 3C */ addi r3, r29, 0x3c +/* 802D988C 002D67EC B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802D9890 002D67F0 38 9C 00 3C */ addi r4, r28, 0x3c +/* 802D9894 002D67F4 C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 802D9898 002D67F8 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802D989C 002D67FC 80 BC 00 20 */ lwz r5, 0x20(r28) +/* 802D98A0 002D6800 90 BD 00 20 */ stw r5, 0x20(r29) +/* 802D98A4 002D6804 80 BC 00 24 */ lwz r5, 0x24(r28) +/* 802D98A8 002D6808 90 BD 00 24 */ stw r5, 0x24(r29) +/* 802D98AC 002D680C 88 BC 00 28 */ lbz r5, 0x28(r28) +/* 802D98B0 002D6810 98 BD 00 28 */ stb r5, 0x28(r29) +/* 802D98B4 002D6814 C0 1C 00 2C */ lfs f0, 0x2c(r28) +/* 802D98B8 002D6818 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802D98BC 002D681C 80 BC 00 30 */ lwz r5, 0x30(r28) +/* 802D98C0 002D6820 90 BD 00 30 */ stw r5, 0x30(r29) +/* 802D98C4 002D6824 80 BC 00 34 */ lwz r5, 0x34(r28) +/* 802D98C8 002D6828 90 BD 00 34 */ stw r5, 0x34(r29) +/* 802D98CC 002D682C 90 1D 00 00 */ stw r0, 0(r29) +/* 802D98D0 002D6830 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802D98D4 002D6834 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802D98D8 002D6838 48 06 48 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802D98DC: +/* 802D98DC 002D683C 3B BD 00 4C */ addi r29, r29, 0x4c +/* 802D98E0 002D6840 3B DE 00 01 */ addi r30, r30, 1 +/* 802D98E4 002D6844 3B 9C 00 4C */ addi r28, r28, 0x4c +lbl_802D98E8: +/* 802D98E8 002D6848 7C 1E D8 00 */ cmpw r30, r27 +/* 802D98EC 002D684C 41 80 FF 68 */ blt lbl_802D9854 +lbl_802D98F0: +/* 802D98F0 002D6850 7F E3 FB 78 */ mr r3, r31 +/* 802D98F4 002D6854 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802D98F8 002D6858 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D98FC 002D685C 7C 08 03 A6 */ mtlr r0 +/* 802D9900 002D6860 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D9904 002D6864 4E 80 00 20 */ blr + +.global "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>": +/* 802D9908 002D6868 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D990C 002D686C 7C 08 02 A6 */ mflr r0 +/* 802D9910 002D6870 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D9914 002D6874 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802D9918 002D6878 7C 9C 23 78 */ mr r28, r4 +/* 802D991C 002D687C 7C 7F 1B 78 */ mr r31, r3 +/* 802D9920 002D6880 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9924 002D6884 90 03 00 04 */ stw r0, 4(r3) +/* 802D9928 002D6888 80 04 00 08 */ lwz r0, 8(r4) +/* 802D992C 002D688C 90 03 00 08 */ stw r0, 8(r3) +/* 802D9930 002D6890 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9934 002D6894 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9938 002D6898 40 82 00 1C */ bne lbl_802D9954 +/* 802D993C 002D689C 80 1C 00 08 */ lwz r0, 8(r28) +/* 802D9940 002D68A0 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9944 002D68A4 40 82 00 10 */ bne lbl_802D9954 +/* 802D9948 002D68A8 38 00 00 00 */ li r0, 0 +/* 802D994C 002D68AC 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9950 002D68B0 48 00 00 DC */ b lbl_802D9A2C +lbl_802D9954: +/* 802D9954 002D68B4 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9958 002D68B8 1C 60 00 3C */ mulli r3, r0, 0x3c +/* 802D995C 002D68BC 2C 03 00 00 */ cmpwi r3, 0 +/* 802D9960 002D68C0 40 82 00 10 */ bne lbl_802D9970 +/* 802D9964 002D68C4 38 00 00 00 */ li r0, 0 +/* 802D9968 002D68C8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D996C 002D68CC 48 00 00 1C */ b lbl_802D9988 +lbl_802D9970: +/* 802D9970 002D68D0 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D9974 002D68D4 38 A0 00 00 */ li r5, 0 +/* 802D9978 002D68D8 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D997C 002D68DC 38 84 00 01 */ addi r4, r4, 1 +/* 802D9980 002D68E0 48 03 BE 99 */ bl __nwa__FUlPCcPCc +/* 802D9984 002D68E4 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802D9988: +/* 802D9988 002D68E8 83 7F 00 04 */ lwz r27, 4(r31) +/* 802D998C 002D68EC 3B C0 00 00 */ li r30, 0 +/* 802D9990 002D68F0 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 802D9994 002D68F4 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802D9998 002D68F8 48 00 00 8C */ b lbl_802D9A24 +lbl_802D999C: +/* 802D999C 002D68FC 28 1D 00 00 */ cmplwi r29, 0 +/* 802D99A0 002D6900 41 82 00 78 */ beq lbl_802D9A18 +/* 802D99A4 002D6904 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802D99A8 002D6908 38 7D 00 08 */ addi r3, r29, 8 +/* 802D99AC 002D690C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802D99B0 002D6910 38 9C 00 08 */ addi r4, r28, 8 +/* 802D99B4 002D6914 90 1D 00 00 */ stw r0, 0(r29) +/* 802D99B8 002D6918 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802D99BC 002D691C B0 1D 00 04 */ sth r0, 4(r29) +/* 802D99C0 002D6920 48 06 47 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D99C4 002D6924 A0 9C 00 18 */ lhz r4, 0x18(r28) +/* 802D99C8 002D6928 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802D99CC 002D692C 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 802D99D0 002D6930 B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802D99D4 002D6934 C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 802D99D8 002D6938 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802D99DC 002D693C 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 802D99E0 002D6940 90 7D 00 20 */ stw r3, 0x20(r29) +/* 802D99E4 002D6944 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 802D99E8 002D6948 90 7D 00 24 */ stw r3, 0x24(r29) +/* 802D99EC 002D694C 88 7C 00 28 */ lbz r3, 0x28(r28) +/* 802D99F0 002D6950 98 7D 00 28 */ stb r3, 0x28(r29) +/* 802D99F4 002D6954 C0 1C 00 2C */ lfs f0, 0x2c(r28) +/* 802D99F8 002D6958 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802D99FC 002D695C 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 802D9A00 002D6960 90 7D 00 30 */ stw r3, 0x30(r29) +/* 802D9A04 002D6964 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 802D9A08 002D6968 90 7D 00 34 */ stw r3, 0x34(r29) +/* 802D9A0C 002D696C 90 1D 00 00 */ stw r0, 0(r29) +/* 802D9A10 002D6970 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 802D9A14 002D6974 98 1D 00 38 */ stb r0, 0x38(r29) +lbl_802D9A18: +/* 802D9A18 002D6978 3B BD 00 3C */ addi r29, r29, 0x3c +/* 802D9A1C 002D697C 3B DE 00 01 */ addi r30, r30, 1 +/* 802D9A20 002D6980 3B 9C 00 3C */ addi r28, r28, 0x3c +lbl_802D9A24: +/* 802D9A24 002D6984 7C 1E D8 00 */ cmpw r30, r27 +/* 802D9A28 002D6988 41 80 FF 74 */ blt lbl_802D999C +lbl_802D9A2C: +/* 802D9A2C 002D698C 7F E3 FB 78 */ mr r3, r31 +/* 802D9A30 002D6990 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802D9A34 002D6994 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D9A38 002D6998 7C 08 03 A6 */ mtlr r0 +/* 802D9A3C 002D699C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D9A40 002D69A0 4E 80 00 20 */ blr + +.global __dt__20CAnimTreeSingleChildFv +__dt__20CAnimTreeSingleChildFv: +/* 802D9A44 002D69A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9A48 002D69A8 7C 08 02 A6 */ mflr r0 +/* 802D9A4C 002D69AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9A50 002D69B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D9A54 002D69B4 7C 9F 23 78 */ mr r31, r4 +/* 802D9A58 002D69B8 93 C1 00 08 */ stw r30, 8(r1) +/* 802D9A5C 002D69BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D9A60 002D69C0 41 82 00 74 */ beq lbl_802D9AD4 +/* 802D9A64 002D69C4 3C 60 80 3F */ lis r3, lbl_803ED240@ha +/* 802D9A68 002D69C8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D9A6C 002D69CC 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l +/* 802D9A70 002D69D0 90 1E 00 00 */ stw r0, 0(r30) +/* 802D9A74 002D69D4 41 82 00 14 */ beq lbl_802D9A88 +/* 802D9A78 002D69D8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D9A7C 002D69DC 41 82 00 0C */ beq lbl_802D9A88 +/* 802D9A80 002D69E0 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802D9A84 002D69E4 4B D5 75 1D */ bl sub_80030fa0 +lbl_802D9A88: +/* 802D9A88 002D69E8 28 1E 00 00 */ cmplwi r30, 0 +/* 802D9A8C 002D69EC 41 82 00 38 */ beq lbl_802D9AC4 +/* 802D9A90 002D69F0 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802D9A94 002D69F4 38 80 00 02 */ li r4, 2 +/* 802D9A98 002D69F8 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802D9A9C 002D69FC 90 1E 00 00 */ stw r0, 0(r30) +/* 802D9AA0 002D6A00 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D9AA4 002D6A04 48 01 E1 05 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802D9AA8 002D6A08 34 1E 00 04 */ addic. r0, r30, 4 +/* 802D9AAC 002D6A0C 41 82 00 0C */ beq lbl_802D9AB8 +/* 802D9AB0 002D6A10 38 7E 00 04 */ addi r3, r30, 4 +/* 802D9AB4 002D6A14 48 06 40 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D9AB8: +/* 802D9AB8 002D6A18 7F C3 F3 78 */ mr r3, r30 +/* 802D9ABC 002D6A1C 38 80 00 00 */ li r4, 0 +/* 802D9AC0 002D6A20 48 02 44 15 */ bl __dt__11IAnimReaderFv +lbl_802D9AC4: +/* 802D9AC4 002D6A24 7F E0 07 35 */ extsh. r0, r31 +/* 802D9AC8 002D6A28 40 81 00 0C */ ble lbl_802D9AD4 +/* 802D9ACC 002D6A2C 7F C3 F3 78 */ mr r3, r30 +/* 802D9AD0 002D6A30 48 03 BE 61 */ bl Free__7CMemoryFPCv +lbl_802D9AD4: +/* 802D9AD4 002D6A34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9AD8 002D6A38 7F C3 F3 78 */ mr r3, r30 +/* 802D9ADC 002D6A3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D9AE0 002D6A40 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D9AE4 002D6A44 7C 08 03 A6 */ mtlr r0 +/* 802D9AE8 002D6A48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D9AEC 002D6A4C 4E 80 00 20 */ blr + +.global "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802D9AF0 002D6A50 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802D9AF4 002D6A54 7C 08 02 A6 */ mflr r0 +/* 802D9AF8 002D6A58 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802D9AFC 002D6A5C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802D9B00 002D6A60 7C FF 3B 78 */ mr r31, r7 +/* 802D9B04 002D6A64 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802D9B08 002D6A68 7C 7E 1B 78 */ mr r30, r3 +/* 802D9B0C 002D6A6C 38 61 00 08 */ addi r3, r1, 8 +/* 802D9B10 002D6A70 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 802D9B14 002D6A74 7D 1D 43 78 */ mr r29, r8 +/* 802D9B18 002D6A78 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 802D9B1C 002D6A7C 7C BC 2B 78 */ mr r28, r5 +/* 802D9B20 002D6A80 7C C5 33 78 */ mr r5, r6 +/* 802D9B24 002D6A84 7F E6 FB 78 */ mr r6, r31 +/* 802D9B28 002D6A88 48 00 D3 C5 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802D9B2C 002D6A8C 7F C3 F3 78 */ mr r3, r30 +/* 802D9B30 002D6A90 7F A4 EB 78 */ mr r4, r29 +/* 802D9B34 002D6A94 48 01 A1 9D */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9B38 002D6A98 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802D9B3C 002D6A9C 38 61 00 08 */ addi r3, r1, 8 +/* 802D9B40 002D6AA0 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l +/* 802D9B44 002D6AA4 90 1E 00 00 */ stw r0, 0(r30) +/* 802D9B48 002D6AA8 80 01 00 08 */ lwz r0, 8(r1) +/* 802D9B4C 002D6AAC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802D9B50 002D6AB0 80 BE 00 14 */ lwz r5, 0x14(r30) +/* 802D9B54 002D6AB4 80 85 00 04 */ lwz r4, 4(r5) +/* 802D9B58 002D6AB8 38 04 00 01 */ addi r0, r4, 1 +/* 802D9B5C 002D6ABC 90 05 00 04 */ stw r0, 4(r5) +/* 802D9B60 002D6AC0 4B D5 74 41 */ bl sub_80030fa0 +/* 802D9B64 002D6AC4 3C 60 80 3F */ lis r3, lbl_803ECBE0@ha +/* 802D9B68 002D6AC8 3B BE 00 20 */ addi r29, r30, 0x20 +/* 802D9B6C 002D6ACC 38 63 CB E0 */ addi r3, r3, lbl_803ECBE0@l +/* 802D9B70 002D6AD0 38 00 00 00 */ li r0, 0 +/* 802D9B74 002D6AD4 90 7E 00 00 */ stw r3, 0(r30) +/* 802D9B78 002D6AD8 7F A3 EB 78 */ mr r3, r29 +/* 802D9B7C 002D6ADC 7F E4 FB 78 */ mr r4, r31 +/* 802D9B80 002D6AE0 80 BC 00 00 */ lwz r5, 0(r28) +/* 802D9B84 002D6AE4 90 BE 00 18 */ stw r5, 0x18(r30) +/* 802D9B88 002D6AE8 80 DE 00 18 */ lwz r6, 0x18(r30) +/* 802D9B8C 002D6AEC 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D9B90 002D6AF0 38 A5 00 01 */ addi r5, r5, 1 +/* 802D9B94 002D6AF4 90 A6 00 04 */ stw r5, 4(r6) +/* 802D9B98 002D6AF8 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 802D9B9C 002D6AFC 48 06 73 0D */ bl __ct__6CTokenFRC6CToken +/* 802D9BA0 002D6B00 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9BA4 002D6B04 7F E6 FB 78 */ mr r6, r31 +/* 802D9BA8 002D6B08 38 61 00 0C */ addi r3, r1, 0xc +/* 802D9BAC 002D6B0C 38 9E 00 14 */ addi r4, r30, 0x14 +/* 802D9BB0 002D6B10 90 1D 00 08 */ stw r0, 8(r29) +/* 802D9BB4 002D6B14 38 BE 00 18 */ addi r5, r30, 0x18 +/* 802D9BB8 002D6B18 81 1D 00 08 */ lwz r8, 8(r29) +/* 802D9BBC 002D6B1C 80 E8 00 04 */ lwz r7, 4(r8) +/* 802D9BC0 002D6B20 38 07 00 01 */ addi r0, r7, 1 +/* 802D9BC4 002D6B24 90 08 00 04 */ stw r0, 4(r8) +/* 802D9BC8 002D6B28 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802D9BCC 002D6B2C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802D9BD0 002D6B30 48 00 D0 05 */ bl "__ct__15CSequenceHelperFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802D9BD4 002D6B34 38 61 00 3C */ addi r3, r1, 0x3c +/* 802D9BD8 002D6B38 38 81 00 0C */ addi r4, r1, 0xc +/* 802D9BDC 002D6B3C 48 00 BD AD */ bl ComputeSequenceFundamentals__15CSequenceHelperCFv +/* 802D9BE0 002D6B40 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802D9BE4 002D6B44 38 81 00 3C */ addi r4, r1, 0x3c +/* 802D9BE8 002D6B48 4B FF F8 35 */ bl sub_802d941c +/* 802D9BEC 002D6B4C 38 61 00 3C */ addi r3, r1, 0x3c +/* 802D9BF0 002D6B50 38 80 FF FF */ li r4, -1 +/* 802D9BF4 002D6B54 4B FF EC 1D */ bl sub_802d8810 +/* 802D9BF8 002D6B58 38 61 00 0C */ addi r3, r1, 0xc +/* 802D9BFC 002D6B5C 38 80 FF FF */ li r4, -1 +/* 802D9C00 002D6B60 48 00 00 35 */ bl __dt__15CSequenceHelperFv +/* 802D9C04 002D6B64 C0 22 C5 98 */ lfs f1, lbl_805AE2B8@sda21(r2) +/* 802D9C08 002D6B68 38 7E 00 88 */ addi r3, r30, 0x88 +/* 802D9C0C 002D6B6C 48 06 F1 E1 */ bl __ct__13CCharAnimTimeFf +/* 802D9C10 002D6B70 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802D9C14 002D6B74 7F C3 F3 78 */ mr r3, r30 +/* 802D9C18 002D6B78 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802D9C1C 002D6B7C 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802D9C20 002D6B80 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 802D9C24 002D6B84 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 802D9C28 002D6B88 7C 08 03 A6 */ mtlr r0 +/* 802D9C2C 002D6B8C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802D9C30 002D6B90 4E 80 00 20 */ blr diff --git a/asm/Animation/CAnimation.s b/asm/Animation/CAnimation.s new file mode 100644 index 00000000..99656b90 --- /dev/null +++ b/asm/Animation/CAnimation.s @@ -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,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 diff --git a/asm/Animation/CAnimationManager.s b/asm/Animation/CAnimationManager.s new file mode 100644 index 00000000..a194b054 --- /dev/null +++ b/asm/Animation/CAnimationManager.s @@ -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 diff --git a/asm/Animation/CAnimationSet.s b/asm/Animation/CAnimationSet.s new file mode 100644 index 00000000..8e7c9acc --- /dev/null +++ b/asm/Animation/CAnimationSet.s @@ -0,0 +1,1312 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream +StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream: +/* 802D6F38 002D3E98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6F3C 002D3E9C 7C 08 02 A6 */ mflr r0 +/* 802D6F40 002D3EA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6F44 002D3EA4 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D6F48 002D3EA8 28 00 00 03 */ cmplwi r0, 3 +/* 802D6F4C 002D3EAC 40 81 00 14 */ ble lbl_802D6F60 +/* 802D6F50 002D3EB0 7C A4 2B 78 */ mr r4, r5 +/* 802D6F54 002D3EB4 38 A1 00 08 */ addi r5, r1, 8 +/* 802D6F58 002D3EB8 48 00 00 29 */ bl "__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D6F5C 002D3EBC 48 00 00 14 */ b lbl_802D6F70 +lbl_802D6F60: +/* 802D6F60 002D3EC0 38 00 00 00 */ li r0, 0 +/* 802D6F64 002D3EC4 90 03 00 04 */ stw r0, 4(r3) +/* 802D6F68 002D3EC8 90 03 00 08 */ stw r0, 8(r3) +/* 802D6F6C 002D3ECC 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802D6F70: +/* 802D6F70 002D3ED0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D6F74 002D3ED4 7C 08 03 A6 */ mtlr r0 +/* 802D6F78 002D3ED8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6F7C 002D3EDC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D6F80 002D3EE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D6F84 002D3EE4 7C 08 02 A6 */ mflr r0 +/* 802D6F88 002D3EE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D6F8C 002D3EEC 38 00 00 00 */ li r0, 0 +/* 802D6F90 002D3EF0 BF 41 00 08 */ stmw r26, 8(r1) +/* 802D6F94 002D3EF4 7C 7A 1B 78 */ mr r26, r3 +/* 802D6F98 002D3EF8 7C 9B 23 78 */ mr r27, r4 +/* 802D6F9C 002D3EFC 90 03 00 04 */ stw r0, 4(r3) +/* 802D6FA0 002D3F00 7F 63 DB 78 */ mr r3, r27 +/* 802D6FA4 002D3F04 90 1A 00 08 */ stw r0, 8(r26) +/* 802D6FA8 002D3F08 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D6FAC 002D3F0C 48 06 7C D9 */ bl ReadLong__12CInputStreamFv +/* 802D6FB0 002D3F10 7C 7D 1B 78 */ mr r29, r3 +/* 802D6FB4 002D3F14 7F 43 D3 78 */ mr r3, r26 +/* 802D6FB8 002D3F18 7F A4 EB 78 */ mr r4, r29 +/* 802D6FBC 002D3F1C 4B D8 D2 51 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +/* 802D6FC0 002D3F20 3B 80 00 00 */ li r28, 0 +/* 802D6FC4 002D3F24 48 00 00 70 */ b lbl_802D7034 +lbl_802D6FC8: +/* 802D6FC8 002D3F28 7F 63 DB 78 */ mr r3, r27 +/* 802D6FCC 002D3F2C 48 06 7C B9 */ bl ReadLong__12CInputStreamFv +/* 802D6FD0 002D3F30 7C 7E 1B 78 */ mr r30, r3 +/* 802D6FD4 002D3F34 7F 63 DB 78 */ mr r3, r27 +/* 802D6FD8 002D3F38 48 06 7C AD */ bl ReadLong__12CInputStreamFv +/* 802D6FDC 002D3F3C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D6FE0 002D3F40 7C 7F 1B 78 */ mr r31, r3 +/* 802D6FE4 002D3F44 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D6FE8 002D3F48 7C 00 28 00 */ cmpw r0, r5 +/* 802D6FEC 002D3F4C 41 80 00 1C */ blt lbl_802D7008 +/* 802D6FF0 002D3F50 2C 05 00 00 */ cmpwi r5, 0 +/* 802D6FF4 002D3F54 7F 43 D3 78 */ mr r3, r26 +/* 802D6FF8 002D3F58 38 80 00 04 */ li r4, 4 +/* 802D6FFC 002D3F5C 41 82 00 08 */ beq lbl_802D7004 +/* 802D7000 002D3F60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7004: +/* 802D7004 002D3F64 4B D8 D2 09 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +lbl_802D7008: +/* 802D7008 002D3F68 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D700C 002D3F6C 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D7010 002D3F70 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7014 002D3F74 7C 63 02 15 */ add. r3, r3, r0 +/* 802D7018 002D3F78 41 82 00 0C */ beq lbl_802D7024 +/* 802D701C 002D3F7C 93 C3 00 00 */ stw r30, 0(r3) +/* 802D7020 002D3F80 93 E3 00 04 */ stw r31, 4(r3) +lbl_802D7024: +/* 802D7024 002D3F84 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D7028 002D3F88 3B 9C 00 01 */ addi r28, r28, 1 +/* 802D702C 002D3F8C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7030 002D3F90 90 1A 00 04 */ stw r0, 4(r26) +lbl_802D7034: +/* 802D7034 002D3F94 7C 1C E8 00 */ cmpw r28, r29 +/* 802D7038 002D3F98 41 80 FF 90 */ blt lbl_802D6FC8 +/* 802D703C 002D3F9C 7F 43 D3 78 */ mr r3, r26 +/* 802D7040 002D3FA0 BB 41 00 08 */ lmw r26, 8(r1) +/* 802D7044 002D3FA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D7048 002D3FA8 7C 08 03 A6 */ mtlr r0 +/* 802D704C 002D3FAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D7050 002D3FB0 4E 80 00 20 */ blr + +.global StreamHalfTransitions__13CAnimationSetFUsR12CInputStream +StreamHalfTransitions__13CAnimationSetFUsR12CInputStream: +/* 802D7054 002D3FB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7058 002D3FB8 7C 08 02 A6 */ mflr r0 +/* 802D705C 002D3FBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7060 002D3FC0 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D7064 002D3FC4 28 00 00 02 */ cmplwi r0, 2 +/* 802D7068 002D3FC8 40 81 00 14 */ ble lbl_802D707C +/* 802D706C 002D3FCC 7C A4 2B 78 */ mr r4, r5 +/* 802D7070 002D3FD0 38 A1 00 08 */ addi r5, r1, 8 +/* 802D7074 002D3FD4 48 00 00 29 */ bl "__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D7078 002D3FD8 48 00 00 14 */ b lbl_802D708C +lbl_802D707C: +/* 802D707C 002D3FDC 38 00 00 00 */ li r0, 0 +/* 802D7080 002D3FE0 90 03 00 04 */ stw r0, 4(r3) +/* 802D7084 002D3FE4 90 03 00 08 */ stw r0, 8(r3) +/* 802D7088 002D3FE8 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802D708C: +/* 802D708C 002D3FEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7090 002D3FF0 7C 08 03 A6 */ mtlr r0 +/* 802D7094 002D3FF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7098 002D3FF8 4E 80 00 20 */ blr + +.global "__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D709C 002D3FFC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D70A0 002D4000 7C 08 02 A6 */ mflr r0 +/* 802D70A4 002D4004 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D70A8 002D4008 38 00 00 00 */ li r0, 0 +/* 802D70AC 002D400C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802D70B0 002D4010 7C 7A 1B 78 */ mr r26, r3 +/* 802D70B4 002D4014 7C 9B 23 78 */ mr r27, r4 +/* 802D70B8 002D4018 90 03 00 04 */ stw r0, 4(r3) +/* 802D70BC 002D401C 7F 63 DB 78 */ mr r3, r27 +/* 802D70C0 002D4020 90 1A 00 08 */ stw r0, 8(r26) +/* 802D70C4 002D4024 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D70C8 002D4028 48 06 7B BD */ bl ReadLong__12CInputStreamFv +/* 802D70CC 002D402C 7C 7E 1B 78 */ mr r30, r3 +/* 802D70D0 002D4030 7F 43 D3 78 */ mr r3, r26 +/* 802D70D4 002D4034 7F C4 F3 78 */ mr r4, r30 +/* 802D70D8 002D4038 48 00 0D D5 */ bl "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" +/* 802D70DC 002D403C 3B A1 00 10 */ addi r29, r1, 0x10 +/* 802D70E0 002D4040 3B E1 00 08 */ addi r31, r1, 8 +/* 802D70E4 002D4044 3B 80 00 00 */ li r28, 0 +/* 802D70E8 002D4048 48 00 00 98 */ b lbl_802D7180 +lbl_802D70EC: +/* 802D70EC 002D404C 88 0D A6 A4 */ lbz r0, lbl_805A9264@sda21(r13) +/* 802D70F0 002D4050 7F 64 DB 78 */ mr r4, r27 +/* 802D70F4 002D4054 7F E5 FB 78 */ mr r5, r31 +/* 802D70F8 002D4058 38 61 00 0C */ addi r3, r1, 0xc +/* 802D70FC 002D405C 98 01 00 08 */ stb r0, 8(r1) +/* 802D7100 002D4060 48 00 00 A1 */ bl "Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>" +/* 802D7104 002D4064 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7108 002D4068 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D710C 002D406C 7C 00 28 00 */ cmpw r0, r5 +/* 802D7110 002D4070 41 80 00 1C */ blt lbl_802D712C +/* 802D7114 002D4074 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7118 002D4078 7F 43 D3 78 */ mr r3, r26 +/* 802D711C 002D407C 38 80 00 04 */ li r4, 4 +/* 802D7120 002D4080 41 82 00 08 */ beq lbl_802D7128 +/* 802D7124 002D4084 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7128: +/* 802D7128 002D4088 48 00 0D 85 */ bl "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" +lbl_802D712C: +/* 802D712C 002D408C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7130 002D4090 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D7134 002D4094 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7138 002D4098 7C 63 02 15 */ add. r3, r3, r0 +/* 802D713C 002D409C 41 82 00 24 */ beq lbl_802D7160 +/* 802D7140 002D40A0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D7144 002D40A4 90 03 00 00 */ stw r0, 0(r3) +/* 802D7148 002D40A8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802D714C 002D40AC 90 03 00 04 */ stw r0, 4(r3) +/* 802D7150 002D40B0 80 83 00 04 */ lwz r4, 4(r3) +/* 802D7154 002D40B4 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7158 002D40B8 38 03 00 01 */ addi r0, r3, 1 +/* 802D715C 002D40BC 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7160: +/* 802D7160 002D40C0 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D7164 002D40C4 28 1D 00 00 */ cmplwi r29, 0 +/* 802D7168 002D40C8 38 03 00 01 */ addi r0, r3, 1 +/* 802D716C 002D40CC 90 1A 00 04 */ stw r0, 4(r26) +/* 802D7170 002D40D0 41 82 00 0C */ beq lbl_802D717C +/* 802D7174 002D40D4 7F A3 EB 78 */ mr r3, r29 +/* 802D7178 002D40D8 4B D5 D1 1D */ bl __dt__17CMetaTransFactoryFv +lbl_802D717C: +/* 802D717C 002D40DC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802D7180: +/* 802D7180 002D40E0 7C 1C F0 00 */ cmpw r28, r30 +/* 802D7184 002D40E4 41 80 FF 68 */ blt lbl_802D70EC +/* 802D7188 002D40E8 7F 43 D3 78 */ mr r3, r26 +/* 802D718C 002D40EC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802D7190 002D40F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7194 002D40F4 7C 08 03 A6 */ mtlr r0 +/* 802D7198 002D40F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D719C 002D40FC 4E 80 00 20 */ blr + +.global "Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>" +"Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>": +/* 802D71A0 002D4100 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D71A4 002D4104 7C 08 02 A6 */ mflr r0 +/* 802D71A8 002D4108 7C 85 23 78 */ mr r5, r4 +/* 802D71AC 002D410C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D71B0 002D4110 38 81 00 08 */ addi r4, r1, 8 +/* 802D71B4 002D4114 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D71B8 002D4118 7C 7F 1B 78 */ mr r31, r3 +/* 802D71BC 002D411C 88 0D A6 A8 */ lbz r0, lbl_805A9268@sda21(r13) +/* 802D71C0 002D4120 98 01 00 08 */ stb r0, 8(r1) +/* 802D71C4 002D4124 48 00 00 19 */ bl "cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream" +/* 802D71C8 002D4128 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D71CC 002D412C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D71D0 002D4130 7C 08 03 A6 */ mtlr r0 +/* 802D71D4 002D4134 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D71D8 002D4138 4E 80 00 20 */ blr + +.global "cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream" +"cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream": +/* 802D71DC 002D413C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D71E0 002D4140 7C 08 02 A6 */ mflr r0 +/* 802D71E4 002D4144 7C A4 2B 78 */ mr r4, r5 +/* 802D71E8 002D4148 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D71EC 002D414C 48 08 F5 5D */ bl __ct__15CHalfTransitionFR12CInputStream +/* 802D71F0 002D4150 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D71F4 002D4154 7C 08 03 A6 */ mtlr r0 +/* 802D71F8 002D4158 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D71FC 002D415C 4E 80 00 20 */ blr + +.global StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream +StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream: +/* 802D7200 002D4160 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7204 002D4164 7C 08 02 A6 */ mflr r0 +/* 802D7208 002D4168 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D720C 002D416C 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D7210 002D4170 28 00 00 01 */ cmplwi r0, 1 +/* 802D7214 002D4174 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D7218 002D4178 7C BF 2B 78 */ mr r31, r5 +/* 802D721C 002D417C 93 C1 00 08 */ stw r30, 8(r1) +/* 802D7220 002D4180 7C 7E 1B 78 */ mr r30, r3 +/* 802D7224 002D4184 40 81 00 20 */ ble lbl_802D7244 +/* 802D7228 002D4188 7F E3 FB 78 */ mr r3, r31 +/* 802D722C 002D418C 48 06 79 FD */ bl ReadFloat__12CInputStreamFv +/* 802D7230 002D4190 D0 3E 00 00 */ stfs f1, 0(r30) +/* 802D7234 002D4194 7F E3 FB 78 */ mr r3, r31 +/* 802D7238 002D4198 48 06 79 F1 */ bl ReadFloat__12CInputStreamFv +/* 802D723C 002D419C D0 3E 00 04 */ stfs f1, 4(r30) +/* 802D7240 002D41A0 48 00 00 10 */ b lbl_802D7250 +lbl_802D7244: +/* 802D7244 002D41A4 C0 02 C5 90 */ lfs f0, lbl_805AE2B0@sda21(r2) +/* 802D7248 002D41A8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D724C 002D41AC D0 1E 00 04 */ stfs f0, 4(r30) +lbl_802D7250: +/* 802D7250 002D41B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7254 002D41B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D7258 002D41B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D725C 002D41BC 7C 08 03 A6 */ mtlr r0 +/* 802D7260 002D41C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7264 002D41C4 4E 80 00 20 */ blr + +.global StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream +StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream: +/* 802D7268 002D41C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D726C 002D41CC 7C 08 02 A6 */ mflr r0 +/* 802D7270 002D41D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7274 002D41D4 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D7278 002D41D8 28 00 00 01 */ cmplwi r0, 1 +/* 802D727C 002D41DC 40 81 00 14 */ ble lbl_802D7290 +/* 802D7280 002D41E0 7C A4 2B 78 */ mr r4, r5 +/* 802D7284 002D41E4 38 A1 00 08 */ addi r5, r1, 8 +/* 802D7288 002D41E8 48 00 00 29 */ bl "__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D728C 002D41EC 48 00 00 14 */ b lbl_802D72A0 +lbl_802D7290: +/* 802D7290 002D41F0 38 00 00 00 */ li r0, 0 +/* 802D7294 002D41F4 90 03 00 04 */ stw r0, 4(r3) +/* 802D7298 002D41F8 90 03 00 08 */ stw r0, 8(r3) +/* 802D729C 002D41FC 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802D72A0: +/* 802D72A0 002D4200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D72A4 002D4204 7C 08 03 A6 */ mtlr r0 +/* 802D72A8 002D4208 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D72AC 002D420C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D72B0 002D4210 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D72B4 002D4214 7C 08 02 A6 */ mflr r0 +/* 802D72B8 002D4218 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D72BC 002D421C 38 00 00 00 */ li r0, 0 +/* 802D72C0 002D4220 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D72C4 002D4224 7C 7E 1B 78 */ mr r30, r3 +/* 802D72C8 002D4228 7C 9F 23 78 */ mr r31, r4 +/* 802D72CC 002D422C 90 03 00 04 */ stw r0, 4(r3) +/* 802D72D0 002D4230 7F E3 FB 78 */ mr r3, r31 +/* 802D72D4 002D4234 90 1E 00 08 */ stw r0, 8(r30) +/* 802D72D8 002D4238 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802D72DC 002D423C 48 06 79 A9 */ bl ReadLong__12CInputStreamFv +/* 802D72E0 002D4240 7C 7C 1B 78 */ mr r28, r3 +/* 802D72E4 002D4244 7F C3 F3 78 */ mr r3, r30 +/* 802D72E8 002D4248 7F 84 E3 78 */ mr r4, r28 +/* 802D72EC 002D424C 48 00 0C CD */ bl "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" +/* 802D72F0 002D4250 3B A1 00 08 */ addi r29, r1, 8 +/* 802D72F4 002D4254 3B 60 00 00 */ li r27, 0 +/* 802D72F8 002D4258 48 00 00 80 */ b lbl_802D7378 +lbl_802D72FC: +/* 802D72FC 002D425C 88 0D A6 A0 */ lbz r0, lbl_805A9260@sda21(r13) +/* 802D7300 002D4260 7F E4 FB 78 */ mr r4, r31 +/* 802D7304 002D4264 7F A5 EB 78 */ mr r5, r29 +/* 802D7308 002D4268 38 61 00 0C */ addi r3, r1, 0xc +/* 802D730C 002D426C 98 01 00 08 */ stb r0, 8(r1) +/* 802D7310 002D4270 48 00 00 89 */ bl "Get>__12CInputStreamFRC49TType>" +/* 802D7314 002D4274 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7318 002D4278 80 BE 00 08 */ lwz r5, 8(r30) +/* 802D731C 002D427C 7C 00 28 00 */ cmpw r0, r5 +/* 802D7320 002D4280 41 80 00 1C */ blt lbl_802D733C +/* 802D7324 002D4284 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7328 002D4288 7F C3 F3 78 */ mr r3, r30 +/* 802D732C 002D428C 38 80 00 04 */ li r4, 4 +/* 802D7330 002D4290 41 82 00 08 */ beq lbl_802D7338 +/* 802D7334 002D4294 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7338: +/* 802D7338 002D4298 48 00 0C 81 */ bl "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" +lbl_802D733C: +/* 802D733C 002D429C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7340 002D42A0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D7344 002D42A4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D7348 002D42A8 7C 63 02 15 */ add. r3, r3, r0 +/* 802D734C 002D42AC 41 82 00 1C */ beq lbl_802D7368 +/* 802D7350 002D42B0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D7354 002D42B4 90 03 00 00 */ stw r0, 0(r3) +/* 802D7358 002D42B8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802D735C 002D42BC D0 03 00 04 */ stfs f0, 4(r3) +/* 802D7360 002D42C0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D7364 002D42C4 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802D7368: +/* 802D7368 002D42C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802D736C 002D42CC 3B 7B 00 01 */ addi r27, r27, 1 +/* 802D7370 002D42D0 38 03 00 01 */ addi r0, r3, 1 +/* 802D7374 002D42D4 90 1E 00 04 */ stw r0, 4(r30) +lbl_802D7378: +/* 802D7378 002D42D8 7C 1B E0 00 */ cmpw r27, r28 +/* 802D737C 002D42DC 41 80 FF 80 */ blt lbl_802D72FC +/* 802D7380 002D42E0 7F C3 F3 78 */ mr r3, r30 +/* 802D7384 002D42E4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D7388 002D42E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D738C 002D42EC 7C 08 03 A6 */ mtlr r0 +/* 802D7390 002D42F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7394 002D42F4 4E 80 00 20 */ blr + +.global "Get>__12CInputStreamFRC49TType>" +"Get>__12CInputStreamFRC49TType>": +/* 802D7398 002D42F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D739C 002D42FC 7C 08 02 A6 */ mflr r0 +/* 802D73A0 002D4300 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D73A4 002D4304 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D73A8 002D4308 7C 9F 23 78 */ mr r31, r4 +/* 802D73AC 002D430C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D73B0 002D4310 7C 7E 1B 78 */ mr r30, r3 +/* 802D73B4 002D4314 7F E3 FB 78 */ mr r3, r31 +/* 802D73B8 002D4318 48 06 78 CD */ bl ReadLong__12CInputStreamFv +/* 802D73BC 002D431C 90 7E 00 00 */ stw r3, 0(r30) +/* 802D73C0 002D4320 7F E3 FB 78 */ mr r3, r31 +/* 802D73C4 002D4324 48 06 78 65 */ bl ReadFloat__12CInputStreamFv +/* 802D73C8 002D4328 D0 21 00 08 */ stfs f1, 8(r1) +/* 802D73CC 002D432C 7F E3 FB 78 */ mr r3, r31 +/* 802D73D0 002D4330 48 06 78 59 */ bl ReadFloat__12CInputStreamFv +/* 802D73D4 002D4334 C0 41 00 08 */ lfs f2, 8(r1) +/* 802D73D8 002D4338 FC 00 08 18 */ frsp f0, f1 +/* 802D73DC 002D433C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D73E0 002D4340 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D73E4 002D4344 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D73E8 002D4348 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D73EC 002D434C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D73F0 002D4350 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D73F4 002D4354 7C 08 03 A6 */ mtlr r0 +/* 802D73F8 002D4358 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D73FC 002D435C 4E 80 00 20 */ blr + +.global __ct__13CAnimationSetFR12CInputStream +__ct__13CAnimationSetFR12CInputStream: +/* 802D7400 002D4360 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802D7404 002D4364 7C 08 02 A6 */ mflr r0 +/* 802D7408 002D4368 90 01 00 84 */ stw r0, 0x84(r1) +/* 802D740C 002D436C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802D7410 002D4370 7C 9F 23 78 */ mr r31, r4 +/* 802D7414 002D4374 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802D7418 002D4378 7C 7E 1B 78 */ mr r30, r3 +/* 802D741C 002D437C 7F E3 FB 78 */ mr r3, r31 +/* 802D7420 002D4380 48 06 78 91 */ bl ReadShort__12CInputStreamFv +/* 802D7424 002D4384 B0 7E 00 00 */ sth r3, 0(r30) +/* 802D7428 002D4388 7F E4 FB 78 */ mr r4, r31 +/* 802D742C 002D438C 38 7E 00 04 */ addi r3, r30, 4 +/* 802D7430 002D4390 38 A1 00 0C */ addi r5, r1, 0xc +/* 802D7434 002D4394 48 00 06 C9 */ bl "__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D7438 002D4398 7F E4 FB 78 */ mr r4, r31 +/* 802D743C 002D439C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802D7440 002D43A0 38 A1 00 08 */ addi r5, r1, 8 +/* 802D7444 002D43A4 48 00 04 81 */ bl "__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D7448 002D43A8 7F E4 FB 78 */ mr r4, r31 +/* 802D744C 002D43AC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D7450 002D43B0 48 00 A9 9D */ bl CreateMetaTrans__17CMetaTransFactoryFR12CInputStream +/* 802D7454 002D43B4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802D7458 002D43B8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D745C 002D43BC 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802D7460 002D43C0 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 802D7464 002D43C4 80 85 00 04 */ lwz r4, 4(r5) +/* 802D7468 002D43C8 38 04 00 01 */ addi r0, r4, 1 +/* 802D746C 002D43CC 90 05 00 04 */ stw r0, 4(r5) +/* 802D7470 002D43D0 4B D5 CE 25 */ bl __dt__17CMetaTransFactoryFv +/* 802D7474 002D43D4 A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7478 002D43D8 7F E5 FB 78 */ mr r5, r31 +/* 802D747C 002D43DC 38 61 00 5C */ addi r3, r1, 0x5c +/* 802D7480 002D43E0 4B FF FD E9 */ bl StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream +/* 802D7484 002D43E4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802D7488 002D43E8 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802D748C 002D43EC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D7490 002D43F0 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802D7494 002D43F4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802D7498 002D43F8 2C 00 00 00 */ cmpwi r0, 0 +/* 802D749C 002D43FC 40 82 00 1C */ bne lbl_802D74B8 +/* 802D74A0 002D4400 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D74A4 002D4404 2C 00 00 00 */ cmpwi r0, 0 +/* 802D74A8 002D4408 40 82 00 10 */ bne lbl_802D74B8 +/* 802D74AC 002D440C 38 00 00 00 */ li r0, 0 +/* 802D74B0 002D4410 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802D74B4 002D4414 48 00 00 78 */ b lbl_802D752C +lbl_802D74B8: +/* 802D74B8 002D4418 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802D74BC 002D441C 1C 60 00 0C */ mulli r3, r0, 0xc +/* 802D74C0 002D4420 2C 03 00 00 */ cmpwi r3, 0 +/* 802D74C4 002D4424 40 82 00 10 */ bne lbl_802D74D4 +/* 802D74C8 002D4428 38 00 00 00 */ li r0, 0 +/* 802D74CC 002D442C 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802D74D0 002D4430 48 00 00 18 */ b lbl_802D74E8 +lbl_802D74D4: +/* 802D74D4 002D4434 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D74D8 002D4438 38 A0 00 00 */ li r5, 0 +/* 802D74DC 002D443C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D74E0 002D4440 48 03 E3 39 */ bl __nwa__FUlPCcPCc +/* 802D74E4 002D4444 90 7E 00 34 */ stw r3, 0x34(r30) +lbl_802D74E8: +/* 802D74E8 002D4448 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802D74EC 002D444C 80 81 00 68 */ lwz r4, 0x68(r1) +/* 802D74F0 002D4450 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802D74F4 002D4454 7C 09 03 A6 */ mtctr r0 +/* 802D74F8 002D4458 2C 00 00 00 */ cmpwi r0, 0 +/* 802D74FC 002D445C 40 81 00 30 */ ble lbl_802D752C +lbl_802D7500: +/* 802D7500 002D4460 28 03 00 00 */ cmplwi r3, 0 +/* 802D7504 002D4464 41 82 00 1C */ beq lbl_802D7520 +/* 802D7508 002D4468 80 04 00 00 */ lwz r0, 0(r4) +/* 802D750C 002D446C 90 03 00 00 */ stw r0, 0(r3) +/* 802D7510 002D4470 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D7514 002D4474 D0 03 00 04 */ stfs f0, 4(r3) +/* 802D7518 002D4478 C0 04 00 08 */ lfs f0, 8(r4) +/* 802D751C 002D447C D0 03 00 08 */ stfs f0, 8(r3) +lbl_802D7520: +/* 802D7520 002D4480 38 63 00 0C */ addi r3, r3, 0xc +/* 802D7524 002D4484 38 84 00 0C */ addi r4, r4, 0xc +/* 802D7528 002D4488 42 00 FF D8 */ bdnz lbl_802D7500 +lbl_802D752C: +/* 802D752C 002D448C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802D7530 002D4490 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802D7534 002D4494 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D7538 002D4498 90 61 00 24 */ stw r3, 0x24(r1) +/* 802D753C 002D449C 7C 64 1B 78 */ mr r4, r3 +/* 802D7540 002D44A0 7C 03 02 14 */ add r0, r3, r0 +/* 802D7544 002D44A4 90 61 00 20 */ stw r3, 0x20(r1) +/* 802D7548 002D44A8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802D754C 002D44AC 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D7550 002D44B0 48 00 00 08 */ b lbl_802D7558 +lbl_802D7554: +/* 802D7554 002D44B4 38 84 00 0C */ addi r4, r4, 0xc +lbl_802D7558: +/* 802D7558 002D44B8 7C 04 00 40 */ cmplw r4, r0 +/* 802D755C 002D44BC 40 82 FF F8 */ bne lbl_802D7554 +/* 802D7560 002D44C0 28 03 00 00 */ cmplwi r3, 0 +/* 802D7564 002D44C4 41 82 00 08 */ beq lbl_802D756C +/* 802D7568 002D44C8 48 03 E3 C9 */ bl Free__7CMemoryFPCv +lbl_802D756C: +/* 802D756C 002D44CC A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7570 002D44D0 7F E5 FB 78 */ mr r5, r31 +/* 802D7574 002D44D4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D7578 002D44D8 4B FF FC 89 */ bl StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream +/* 802D757C 002D44DC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D7580 002D44E0 7F E5 FB 78 */ mr r5, r31 +/* 802D7584 002D44E4 38 61 00 4C */ addi r3, r1, 0x4c +/* 802D7588 002D44E8 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 802D758C 002D44EC C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D7590 002D44F0 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802D7594 002D44F4 A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7598 002D44F8 4B FF FA BD */ bl StreamHalfTransitions__13CAnimationSetFUsR12CInputStream +/* 802D759C 002D44FC 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802D75A0 002D4500 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802D75A4 002D4504 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D75A8 002D4508 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802D75AC 002D450C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802D75B0 002D4510 2C 00 00 00 */ cmpwi r0, 0 +/* 802D75B4 002D4514 40 82 00 1C */ bne lbl_802D75D0 +/* 802D75B8 002D4518 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D75BC 002D451C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D75C0 002D4520 40 82 00 10 */ bne lbl_802D75D0 +/* 802D75C4 002D4524 38 00 00 00 */ li r0, 0 +/* 802D75C8 002D4528 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802D75CC 002D452C 48 00 00 7C */ b lbl_802D7648 +lbl_802D75D0: +/* 802D75D0 002D4530 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 802D75D4 002D4534 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802D75D8 002D4538 40 82 00 10 */ bne lbl_802D75E8 +/* 802D75DC 002D453C 38 00 00 00 */ li r0, 0 +/* 802D75E0 002D4540 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802D75E4 002D4544 48 00 00 18 */ b lbl_802D75FC +lbl_802D75E8: +/* 802D75E8 002D4548 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D75EC 002D454C 38 A0 00 00 */ li r5, 0 +/* 802D75F0 002D4550 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D75F4 002D4554 48 03 E2 25 */ bl __nwa__FUlPCcPCc +/* 802D75F8 002D4558 90 7E 00 4C */ stw r3, 0x4c(r30) +lbl_802D75FC: +/* 802D75FC 002D455C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802D7600 002D4560 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802D7604 002D4564 80 BE 00 4C */ lwz r5, 0x4c(r30) +/* 802D7608 002D4568 7C 09 03 A6 */ mtctr r0 +/* 802D760C 002D456C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D7610 002D4570 40 81 00 38 */ ble lbl_802D7648 +lbl_802D7614: +/* 802D7614 002D4574 28 05 00 00 */ cmplwi r5, 0 +/* 802D7618 002D4578 41 82 00 24 */ beq lbl_802D763C +/* 802D761C 002D457C 80 06 00 00 */ lwz r0, 0(r6) +/* 802D7620 002D4580 90 05 00 00 */ stw r0, 0(r5) +/* 802D7624 002D4584 80 06 00 04 */ lwz r0, 4(r6) +/* 802D7628 002D4588 90 05 00 04 */ stw r0, 4(r5) +/* 802D762C 002D458C 80 85 00 04 */ lwz r4, 4(r5) +/* 802D7630 002D4590 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7634 002D4594 38 03 00 01 */ addi r0, r3, 1 +/* 802D7638 002D4598 90 04 00 04 */ stw r0, 4(r4) +lbl_802D763C: +/* 802D763C 002D459C 38 A5 00 08 */ addi r5, r5, 8 +/* 802D7640 002D45A0 38 C6 00 08 */ addi r6, r6, 8 +/* 802D7644 002D45A4 42 00 FF D0 */ bdnz lbl_802D7614 +lbl_802D7648: +/* 802D7648 002D45A8 38 61 00 4C */ addi r3, r1, 0x4c +/* 802D764C 002D45AC 38 80 FF FF */ li r4, -1 +/* 802D7650 002D45B0 48 00 01 0D */ bl "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" +/* 802D7654 002D45B4 A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7658 002D45B8 7F E5 FB 78 */ mr r5, r31 +/* 802D765C 002D45BC 38 61 00 3C */ addi r3, r1, 0x3c +/* 802D7660 002D45C0 4B FF F8 D9 */ bl StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream +/* 802D7664 002D45C4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802D7668 002D45C8 90 1E 00 54 */ stw r0, 0x54(r30) +/* 802D766C 002D45CC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D7670 002D45D0 90 1E 00 58 */ stw r0, 0x58(r30) +/* 802D7674 002D45D4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802D7678 002D45D8 2C 00 00 00 */ cmpwi r0, 0 +/* 802D767C 002D45DC 40 82 00 1C */ bne lbl_802D7698 +/* 802D7680 002D45E0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D7684 002D45E4 2C 00 00 00 */ cmpwi r0, 0 +/* 802D7688 002D45E8 40 82 00 10 */ bne lbl_802D7698 +/* 802D768C 002D45EC 38 00 00 00 */ li r0, 0 +/* 802D7690 002D45F0 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802D7694 002D45F4 48 00 00 6C */ b lbl_802D7700 +lbl_802D7698: +/* 802D7698 002D45F8 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 802D769C 002D45FC 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802D76A0 002D4600 40 82 00 10 */ bne lbl_802D76B0 +/* 802D76A4 002D4604 38 00 00 00 */ li r0, 0 +/* 802D76A8 002D4608 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802D76AC 002D460C 48 00 00 18 */ b lbl_802D76C4 +lbl_802D76B0: +/* 802D76B0 002D4610 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D76B4 002D4614 38 A0 00 00 */ li r5, 0 +/* 802D76B8 002D4618 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D76BC 002D461C 48 03 E1 5D */ bl __nwa__FUlPCcPCc +/* 802D76C0 002D4620 90 7E 00 5C */ stw r3, 0x5c(r30) +lbl_802D76C4: +/* 802D76C4 002D4624 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802D76C8 002D4628 80 81 00 48 */ lwz r4, 0x48(r1) +/* 802D76CC 002D462C 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802D76D0 002D4630 7C 09 03 A6 */ mtctr r0 +/* 802D76D4 002D4634 2C 00 00 00 */ cmpwi r0, 0 +/* 802D76D8 002D4638 40 81 00 28 */ ble lbl_802D7700 +lbl_802D76DC: +/* 802D76DC 002D463C 28 03 00 00 */ cmplwi r3, 0 +/* 802D76E0 002D4640 41 82 00 14 */ beq lbl_802D76F4 +/* 802D76E4 002D4644 80 04 00 00 */ lwz r0, 0(r4) +/* 802D76E8 002D4648 90 03 00 00 */ stw r0, 0(r3) +/* 802D76EC 002D464C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D76F0 002D4650 90 03 00 04 */ stw r0, 4(r3) +lbl_802D76F4: +/* 802D76F4 002D4654 38 63 00 08 */ addi r3, r3, 8 +/* 802D76F8 002D4658 38 84 00 08 */ addi r4, r4, 8 +/* 802D76FC 002D465C 42 00 FF E0 */ bdnz lbl_802D76DC +lbl_802D7700: +/* 802D7700 002D4660 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802D7704 002D4664 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802D7708 002D4668 54 00 18 38 */ slwi r0, r0, 3 +/* 802D770C 002D466C 7C 03 02 14 */ add r0, r3, r0 +/* 802D7710 002D4670 90 61 00 14 */ stw r3, 0x14(r1) +/* 802D7714 002D4674 7C 64 1B 78 */ mr r4, r3 +/* 802D7718 002D4678 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802D771C 002D467C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802D7720 002D4680 90 61 00 10 */ stw r3, 0x10(r1) +/* 802D7724 002D4684 48 00 00 08 */ b lbl_802D772C +lbl_802D7728: +/* 802D7728 002D4688 38 84 00 08 */ addi r4, r4, 8 +lbl_802D772C: +/* 802D772C 002D468C 7C 04 00 40 */ cmplw r4, r0 +/* 802D7730 002D4690 40 82 FF F8 */ bne lbl_802D7728 +/* 802D7734 002D4694 28 03 00 00 */ cmplwi r3, 0 +/* 802D7738 002D4698 41 82 00 08 */ beq lbl_802D7740 +/* 802D773C 002D469C 48 03 E1 F5 */ bl Free__7CMemoryFPCv +lbl_802D7740: +/* 802D7740 002D46A0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802D7744 002D46A4 7F C3 F3 78 */ mr r3, r30 +/* 802D7748 002D46A8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802D774C 002D46AC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802D7750 002D46B0 7C 08 03 A6 */ mtlr r0 +/* 802D7754 002D46B4 38 21 00 80 */ addi r1, r1, 0x80 +/* 802D7758 002D46B8 4E 80 00 20 */ blr + +.global "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv": +/* 802D775C 002D46BC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7760 002D46C0 7C 08 02 A6 */ mflr r0 +/* 802D7764 002D46C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7768 002D46C8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D776C 002D46CC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7770 002D46D0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7774 002D46D4 7C 9D 23 78 */ mr r29, r4 +/* 802D7778 002D46D8 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D777C 002D46DC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802D7780 002D46E0 41 82 00 6C */ beq lbl_802D77EC +/* 802D7784 002D46E4 80 1C 00 04 */ lwz r0, 4(r28) +/* 802D7788 002D46E8 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802D778C 002D46EC 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7790 002D46F0 7F FE 02 14 */ add r31, r30, r0 +/* 802D7794 002D46F4 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802D7798 002D46F8 93 E1 00 08 */ stw r31, 8(r1) +/* 802D779C 002D46FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D77A0 002D4700 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802D77A4 002D4704 48 00 00 20 */ b lbl_802D77C4 +lbl_802D77A8: +/* 802D77A8 002D4708 28 1E 00 00 */ cmplwi r30, 0 +/* 802D77AC 002D470C 41 82 00 14 */ beq lbl_802D77C0 +/* 802D77B0 002D4710 34 1E 00 04 */ addic. r0, r30, 4 +/* 802D77B4 002D4714 41 82 00 0C */ beq lbl_802D77C0 +/* 802D77B8 002D4718 38 7E 00 04 */ addi r3, r30, 4 +/* 802D77BC 002D471C 4B D5 CA D9 */ bl __dt__17CMetaTransFactoryFv +lbl_802D77C0: +/* 802D77C0 002D4720 3B DE 00 08 */ addi r30, r30, 8 +lbl_802D77C4: +/* 802D77C4 002D4724 7C 1E F8 40 */ cmplw r30, r31 +/* 802D77C8 002D4728 40 82 FF E0 */ bne lbl_802D77A8 +/* 802D77CC 002D472C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802D77D0 002D4730 28 03 00 00 */ cmplwi r3, 0 +/* 802D77D4 002D4734 41 82 00 08 */ beq lbl_802D77DC +/* 802D77D8 002D4738 48 03 E1 59 */ bl Free__7CMemoryFPCv +lbl_802D77DC: +/* 802D77DC 002D473C 7F A0 07 35 */ extsh. r0, r29 +/* 802D77E0 002D4740 40 81 00 0C */ ble lbl_802D77EC +/* 802D77E4 002D4744 7F 83 E3 78 */ mr r3, r28 +/* 802D77E8 002D4748 48 03 E1 49 */ bl Free__7CMemoryFPCv +lbl_802D77EC: +/* 802D77EC 002D474C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D77F0 002D4750 7F 83 E3 78 */ mr r3, r28 +/* 802D77F4 002D4754 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D77F8 002D4758 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D77FC 002D475C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D7800 002D4760 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D7804 002D4764 7C 08 03 A6 */ mtlr r0 +/* 802D7808 002D4768 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D780C 002D476C 4E 80 00 20 */ blr + +.global sub_802d7810 +sub_802d7810: +/* 802D7810 002D4770 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7814 002D4774 7C 08 02 A6 */ mflr r0 +/* 802D7818 002D4778 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D781C 002D477C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D7820 002D4780 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7824 002D4784 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7828 002D4788 7C 9D 23 78 */ mr r29, r4 +/* 802D782C 002D478C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D7830 002D4790 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802D7834 002D4794 41 82 00 6C */ beq lbl_802D78A0 +/* 802D7838 002D4798 80 1C 00 04 */ lwz r0, 4(r28) +/* 802D783C 002D479C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802D7840 002D47A0 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7844 002D47A4 7F FE 02 14 */ add r31, r30, r0 +/* 802D7848 002D47A8 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802D784C 002D47AC 93 E1 00 08 */ stw r31, 8(r1) +/* 802D7850 002D47B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D7854 002D47B4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802D7858 002D47B8 48 00 00 20 */ b lbl_802D7878 +lbl_802D785C: +/* 802D785C 002D47BC 28 1E 00 00 */ cmplwi r30, 0 +/* 802D7860 002D47C0 41 82 00 14 */ beq lbl_802D7874 +/* 802D7864 002D47C4 34 1E 00 0C */ addic. r0, r30, 0xc +/* 802D7868 002D47C8 41 82 00 0C */ beq lbl_802D7874 +/* 802D786C 002D47CC 38 7E 00 0C */ addi r3, r30, 0xc +/* 802D7870 002D47D0 4B D5 CA 25 */ bl __dt__17CMetaTransFactoryFv +lbl_802D7874: +/* 802D7874 002D47D4 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_802D7878: +/* 802D7878 002D47D8 7C 1E F8 40 */ cmplw r30, r31 +/* 802D787C 002D47DC 40 82 FF E0 */ bne lbl_802D785C +/* 802D7880 002D47E0 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802D7884 002D47E4 28 03 00 00 */ cmplwi r3, 0 +/* 802D7888 002D47E8 41 82 00 08 */ beq lbl_802D7890 +/* 802D788C 002D47EC 48 03 E0 A5 */ bl Free__7CMemoryFPCv +lbl_802D7890: +/* 802D7890 002D47F0 7F A0 07 35 */ extsh. r0, r29 +/* 802D7894 002D47F4 40 81 00 0C */ ble lbl_802D78A0 +/* 802D7898 002D47F8 7F 83 E3 78 */ mr r3, r28 +/* 802D789C 002D47FC 48 03 E0 95 */ bl Free__7CMemoryFPCv +lbl_802D78A0: +/* 802D78A0 002D4800 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D78A4 002D4804 7F 83 E3 78 */ mr r3, r28 +/* 802D78A8 002D4808 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D78AC 002D480C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D78B0 002D4810 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D78B4 002D4814 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D78B8 002D4818 7C 08 03 A6 */ mtlr r0 +/* 802D78BC 002D481C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D78C0 002D4820 4E 80 00 20 */ blr + +.global "__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D78C4 002D4824 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D78C8 002D4828 7C 08 02 A6 */ mflr r0 +/* 802D78CC 002D482C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802D78D0 002D4830 38 00 00 00 */ li r0, 0 +/* 802D78D4 002D4834 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802D78D8 002D4838 7C 7A 1B 78 */ mr r26, r3 +/* 802D78DC 002D483C 7C 9B 23 78 */ mr r27, r4 +/* 802D78E0 002D4840 90 03 00 04 */ stw r0, 4(r3) +/* 802D78E4 002D4844 7F 63 DB 78 */ mr r3, r27 +/* 802D78E8 002D4848 90 1A 00 08 */ stw r0, 8(r26) +/* 802D78EC 002D484C 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D78F0 002D4850 48 06 73 95 */ bl ReadLong__12CInputStreamFv +/* 802D78F4 002D4854 7C 7E 1B 78 */ mr r30, r3 +/* 802D78F8 002D4858 7F 43 D3 78 */ mr r3, r26 +/* 802D78FC 002D485C 7F C4 F3 78 */ mr r4, r30 +/* 802D7900 002D4860 48 00 04 91 */ bl "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" +/* 802D7904 002D4864 3B A1 00 18 */ addi r29, r1, 0x18 +/* 802D7908 002D4868 3B E1 00 08 */ addi r31, r1, 8 +/* 802D790C 002D486C 3B 80 00 00 */ li r28, 0 +/* 802D7910 002D4870 48 00 00 A8 */ b lbl_802D79B8 +lbl_802D7914: +/* 802D7914 002D4874 88 0D A6 98 */ lbz r0, lbl_805A9258@sda21(r13) +/* 802D7918 002D4878 7F 64 DB 78 */ mr r4, r27 +/* 802D791C 002D487C 7F E5 FB 78 */ mr r5, r31 +/* 802D7920 002D4880 38 61 00 0C */ addi r3, r1, 0xc +/* 802D7924 002D4884 98 01 00 08 */ stb r0, 8(r1) +/* 802D7928 002D4888 48 00 00 B1 */ bl "Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>" +/* 802D792C 002D488C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7930 002D4890 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D7934 002D4894 7C 00 28 00 */ cmpw r0, r5 +/* 802D7938 002D4898 41 80 00 1C */ blt lbl_802D7954 +/* 802D793C 002D489C 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7940 002D48A0 7F 43 D3 78 */ mr r3, r26 +/* 802D7944 002D48A4 38 80 00 04 */ li r4, 4 +/* 802D7948 002D48A8 41 82 00 08 */ beq lbl_802D7950 +/* 802D794C 002D48AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7950: +/* 802D7950 002D48B0 48 00 04 41 */ bl "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" +lbl_802D7954: +/* 802D7954 002D48B4 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7958 002D48B8 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D795C 002D48BC 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7960 002D48C0 7C 63 02 15 */ add. r3, r3, r0 +/* 802D7964 002D48C4 41 82 00 34 */ beq lbl_802D7998 +/* 802D7968 002D48C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D796C 002D48CC 90 03 00 00 */ stw r0, 0(r3) +/* 802D7970 002D48D0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802D7974 002D48D4 90 03 00 04 */ stw r0, 4(r3) +/* 802D7978 002D48D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D797C 002D48DC 90 03 00 08 */ stw r0, 8(r3) +/* 802D7980 002D48E0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802D7984 002D48E4 90 03 00 0C */ stw r0, 0xc(r3) +/* 802D7988 002D48E8 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802D798C 002D48EC 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7990 002D48F0 38 03 00 01 */ addi r0, r3, 1 +/* 802D7994 002D48F4 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7998: +/* 802D7998 002D48F8 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D799C 002D48FC 28 1D 00 00 */ cmplwi r29, 0 +/* 802D79A0 002D4900 38 03 00 01 */ addi r0, r3, 1 +/* 802D79A4 002D4904 90 1A 00 04 */ stw r0, 4(r26) +/* 802D79A8 002D4908 41 82 00 0C */ beq lbl_802D79B4 +/* 802D79AC 002D490C 7F A3 EB 78 */ mr r3, r29 +/* 802D79B0 002D4910 4B D5 C8 E5 */ bl __dt__17CMetaTransFactoryFv +lbl_802D79B4: +/* 802D79B4 002D4914 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802D79B8: +/* 802D79B8 002D4918 7C 1C F0 00 */ cmpw r28, r30 +/* 802D79BC 002D491C 41 80 FF 58 */ blt lbl_802D7914 +/* 802D79C0 002D4920 7F 43 D3 78 */ mr r3, r26 +/* 802D79C4 002D4924 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802D79C8 002D4928 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D79CC 002D492C 7C 08 03 A6 */ mtlr r0 +/* 802D79D0 002D4930 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D79D4 002D4934 4E 80 00 20 */ blr + +.global "Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>" +"Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>": +/* 802D79D8 002D4938 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D79DC 002D493C 7C 08 02 A6 */ mflr r0 +/* 802D79E0 002D4940 7C 85 23 78 */ mr r5, r4 +/* 802D79E4 002D4944 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D79E8 002D4948 38 81 00 08 */ addi r4, r1, 8 +/* 802D79EC 002D494C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D79F0 002D4950 7C 7F 1B 78 */ mr r31, r3 +/* 802D79F4 002D4954 88 0D A6 9C */ lbz r0, lbl_805A925C@sda21(r13) +/* 802D79F8 002D4958 98 01 00 08 */ stb r0, 8(r1) +/* 802D79FC 002D495C 48 00 00 19 */ bl "cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream" +/* 802D7A00 002D4960 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D7A04 002D4964 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D7A08 002D4968 7C 08 03 A6 */ mtlr r0 +/* 802D7A0C 002D496C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D7A10 002D4970 4E 80 00 20 */ blr + +.global "cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream" +"cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream": +/* 802D7A14 002D4974 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7A18 002D4978 7C 08 02 A6 */ mflr r0 +/* 802D7A1C 002D497C 7C A4 2B 78 */ mr r4, r5 +/* 802D7A20 002D4980 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7A24 002D4984 48 00 F4 01 */ bl __ct__11CTransitionFR12CInputStream +/* 802D7A28 002D4988 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7A2C 002D498C 7C 08 03 A6 */ mtlr r0 +/* 802D7A30 002D4990 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7A34 002D4994 4E 80 00 20 */ blr + +.global sub_802d7a38 +sub_802d7a38: +/* 802D7A38 002D4998 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7A3C 002D499C 7C 08 02 A6 */ mflr r0 +/* 802D7A40 002D49A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7A44 002D49A4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D7A48 002D49A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7A4C 002D49AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7A50 002D49B0 7C 9D 23 78 */ mr r29, r4 +/* 802D7A54 002D49B4 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D7A58 002D49B8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802D7A5C 002D49BC 41 82 00 7C */ beq lbl_802D7AD8 +/* 802D7A60 002D49C0 80 1C 00 04 */ lwz r0, 4(r28) +/* 802D7A64 002D49C4 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802D7A68 002D49C8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7A6C 002D49CC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802D7A70 002D49D0 7F FE 02 14 */ add r31, r30, r0 +/* 802D7A74 002D49D4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802D7A78 002D49D8 93 E1 00 08 */ stw r31, 8(r1) +/* 802D7A7C 002D49DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D7A80 002D49E0 48 00 00 30 */ b lbl_802D7AB0 +lbl_802D7A84: +/* 802D7A84 002D49E4 28 1E 00 00 */ cmplwi r30, 0 +/* 802D7A88 002D49E8 41 82 00 24 */ beq lbl_802D7AAC +/* 802D7A8C 002D49EC 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802D7A90 002D49F0 41 82 00 0C */ beq lbl_802D7A9C +/* 802D7A94 002D49F4 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802D7A98 002D49F8 4B D5 94 99 */ bl sub_80030f30 +lbl_802D7A9C: +/* 802D7A9C 002D49FC 28 1E 00 00 */ cmplwi r30, 0 +/* 802D7AA0 002D4A00 41 82 00 0C */ beq lbl_802D7AAC +/* 802D7AA4 002D4A04 7F C3 F3 78 */ mr r3, r30 +/* 802D7AA8 002D4A08 48 06 60 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D7AAC: +/* 802D7AAC 002D4A0C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802D7AB0: +/* 802D7AB0 002D4A10 7C 1E F8 40 */ cmplw r30, r31 +/* 802D7AB4 002D4A14 40 82 FF D0 */ bne lbl_802D7A84 +/* 802D7AB8 002D4A18 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802D7ABC 002D4A1C 28 03 00 00 */ cmplwi r3, 0 +/* 802D7AC0 002D4A20 41 82 00 08 */ beq lbl_802D7AC8 +/* 802D7AC4 002D4A24 48 03 DE 6D */ bl Free__7CMemoryFPCv +lbl_802D7AC8: +/* 802D7AC8 002D4A28 7F A0 07 35 */ extsh. r0, r29 +/* 802D7ACC 002D4A2C 40 81 00 0C */ ble lbl_802D7AD8 +/* 802D7AD0 002D4A30 7F 83 E3 78 */ mr r3, r28 +/* 802D7AD4 002D4A34 48 03 DE 5D */ bl Free__7CMemoryFPCv +lbl_802D7AD8: +/* 802D7AD8 002D4A38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7ADC 002D4A3C 7F 83 E3 78 */ mr r3, r28 +/* 802D7AE0 002D4A40 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D7AE4 002D4A44 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D7AE8 002D4A48 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D7AEC 002D4A4C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D7AF0 002D4A50 7C 08 03 A6 */ mtlr r0 +/* 802D7AF4 002D4A54 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7AF8 002D4A58 4E 80 00 20 */ blr + +.global "__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D7AFC 002D4A5C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D7B00 002D4A60 7C 08 02 A6 */ mflr r0 +/* 802D7B04 002D4A64 90 01 00 44 */ stw r0, 0x44(r1) +/* 802D7B08 002D4A68 38 00 00 00 */ li r0, 0 +/* 802D7B0C 002D4A6C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 802D7B10 002D4A70 7C 7A 1B 78 */ mr r26, r3 +/* 802D7B14 002D4A74 7C 9B 23 78 */ mr r27, r4 +/* 802D7B18 002D4A78 90 03 00 04 */ stw r0, 4(r3) +/* 802D7B1C 002D4A7C 7F 63 DB 78 */ mr r3, r27 +/* 802D7B20 002D4A80 90 1A 00 08 */ stw r0, 8(r26) +/* 802D7B24 002D4A84 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D7B28 002D4A88 48 06 71 5D */ bl ReadLong__12CInputStreamFv +/* 802D7B2C 002D4A8C 7C 7E 1B 78 */ mr r30, r3 +/* 802D7B30 002D4A90 7F 43 D3 78 */ mr r3, r26 +/* 802D7B34 002D4A94 7F C4 F3 78 */ mr r4, r30 +/* 802D7B38 002D4A98 48 00 01 35 */ bl "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" +/* 802D7B3C 002D4A9C 3B A1 00 1C */ addi r29, r1, 0x1c +/* 802D7B40 002D4AA0 3B E1 00 08 */ addi r31, r1, 8 +/* 802D7B44 002D4AA4 3B 80 00 00 */ li r28, 0 +/* 802D7B48 002D4AA8 48 00 00 A4 */ b lbl_802D7BEC +lbl_802D7B4C: +/* 802D7B4C 002D4AAC 88 0D A6 90 */ lbz r0, lbl_805A9250@sda21(r13) +/* 802D7B50 002D4AB0 7F 64 DB 78 */ mr r4, r27 +/* 802D7B54 002D4AB4 7F E5 FB 78 */ mr r5, r31 +/* 802D7B58 002D4AB8 38 61 00 0C */ addi r3, r1, 0xc +/* 802D7B5C 002D4ABC 98 01 00 08 */ stb r0, 8(r1) +/* 802D7B60 002D4AC0 48 00 00 AD */ bl "Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>" +/* 802D7B64 002D4AC4 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7B68 002D4AC8 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D7B6C 002D4ACC 7C 00 28 00 */ cmpw r0, r5 +/* 802D7B70 002D4AD0 41 80 00 1C */ blt lbl_802D7B8C +/* 802D7B74 002D4AD4 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7B78 002D4AD8 7F 43 D3 78 */ mr r3, r26 +/* 802D7B7C 002D4ADC 38 80 00 04 */ li r4, 4 +/* 802D7B80 002D4AE0 41 82 00 08 */ beq lbl_802D7B88 +/* 802D7B84 002D4AE4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7B88: +/* 802D7B88 002D4AE8 48 00 00 E5 */ bl "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" +lbl_802D7B8C: +/* 802D7B8C 002D4AEC 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7B90 002D4AF0 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D7B94 002D4AF4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7B98 002D4AF8 7F 23 02 15 */ add. r25, r3, r0 +/* 802D7B9C 002D4AFC 41 82 00 28 */ beq lbl_802D7BC4 +/* 802D7BA0 002D4B00 7F 23 CB 78 */ mr r3, r25 +/* 802D7BA4 002D4B04 38 81 00 0C */ addi r4, r1, 0xc +/* 802D7BA8 002D4B08 48 06 65 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D7BAC 002D4B0C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802D7BB0 002D4B10 90 19 00 10 */ stw r0, 0x10(r25) +/* 802D7BB4 002D4B14 80 99 00 10 */ lwz r4, 0x10(r25) +/* 802D7BB8 002D4B18 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7BBC 002D4B1C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7BC0 002D4B20 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7BC4: +/* 802D7BC4 002D4B24 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D7BC8 002D4B28 28 1D 00 00 */ cmplwi r29, 0 +/* 802D7BCC 002D4B2C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7BD0 002D4B30 90 1A 00 04 */ stw r0, 4(r26) +/* 802D7BD4 002D4B34 41 82 00 0C */ beq lbl_802D7BE0 +/* 802D7BD8 002D4B38 7F A3 EB 78 */ mr r3, r29 +/* 802D7BDC 002D4B3C 4B D5 93 55 */ bl sub_80030f30 +lbl_802D7BE0: +/* 802D7BE0 002D4B40 38 61 00 0C */ addi r3, r1, 0xc +/* 802D7BE4 002D4B44 48 06 5E FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802D7BE8 002D4B48 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802D7BEC: +/* 802D7BEC 002D4B4C 7C 1C F0 00 */ cmpw r28, r30 +/* 802D7BF0 002D4B50 41 80 FF 5C */ blt lbl_802D7B4C +/* 802D7BF4 002D4B54 7F 43 D3 78 */ mr r3, r26 +/* 802D7BF8 002D4B58 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 802D7BFC 002D4B5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D7C00 002D4B60 7C 08 03 A6 */ mtlr r0 +/* 802D7C04 002D4B64 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D7C08 002D4B68 4E 80 00 20 */ blr + +.global "Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>" +"Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>": +/* 802D7C0C 002D4B6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D7C10 002D4B70 7C 08 02 A6 */ mflr r0 +/* 802D7C14 002D4B74 7C 85 23 78 */ mr r5, r4 +/* 802D7C18 002D4B78 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D7C1C 002D4B7C 38 81 00 08 */ addi r4, r1, 8 +/* 802D7C20 002D4B80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D7C24 002D4B84 7C 7F 1B 78 */ mr r31, r3 +/* 802D7C28 002D4B88 88 0D A6 94 */ lbz r0, lbl_805A9254@sda21(r13) +/* 802D7C2C 002D4B8C 98 01 00 08 */ stb r0, 8(r1) +/* 802D7C30 002D4B90 48 00 00 19 */ bl "cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream" +/* 802D7C34 002D4B94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D7C38 002D4B98 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D7C3C 002D4B9C 7C 08 03 A6 */ mtlr r0 +/* 802D7C40 002D4BA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D7C44 002D4BA4 4E 80 00 20 */ blr + +.global "cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream" +"cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream": +/* 802D7C48 002D4BA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7C4C 002D4BAC 7C 08 02 A6 */ mflr r0 +/* 802D7C50 002D4BB0 7C A4 2B 78 */ mr r4, r5 +/* 802D7C54 002D4BB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7C58 002D4BB8 4B FF F1 2D */ bl __ct__10CAnimationFR12CInputStream +/* 802D7C5C 002D4BBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7C60 002D4BC0 7C 08 03 A6 */ mtlr r0 +/* 802D7C64 002D4BC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7C68 002D4BC8 4E 80 00 20 */ blr + +.global "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi": +/* 802D7C6C 002D4BCC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7C70 002D4BD0 7C 08 02 A6 */ mflr r0 +/* 802D7C74 002D4BD4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7C78 002D4BD8 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802D7C7C 002D4BDC 7C 9F 23 78 */ mr r31, r4 +/* 802D7C80 002D4BE0 7C 7E 1B 78 */ mr r30, r3 +/* 802D7C84 002D4BE4 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7C88 002D4BE8 7C 1F 00 00 */ cmpw r31, r0 +/* 802D7C8C 002D4BEC 40 81 00 F0 */ ble lbl_802D7D7C +/* 802D7C90 002D4BF0 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 802D7C94 002D4BF4 2C 03 00 00 */ cmpwi r3, 0 +/* 802D7C98 002D4BF8 40 82 00 0C */ bne lbl_802D7CA4 +/* 802D7C9C 002D4BFC 3B 80 00 00 */ li r28, 0 +/* 802D7CA0 002D4C00 48 00 00 18 */ b lbl_802D7CB8 +lbl_802D7CA4: +/* 802D7CA4 002D4C04 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7CA8 002D4C08 38 A0 00 00 */ li r5, 0 +/* 802D7CAC 002D4C0C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D7CB0 002D4C10 48 03 DB 69 */ bl __nwa__FUlPCcPCc +/* 802D7CB4 002D4C14 7C 7C 1B 78 */ mr r28, r3 +lbl_802D7CB8: +/* 802D7CB8 002D4C18 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7CBC 002D4C1C 7F 9B E3 78 */ mr r27, r28 +/* 802D7CC0 002D4C20 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802D7CC4 002D4C24 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7CC8 002D4C28 93 41 00 10 */ stw r26, 0x10(r1) +/* 802D7CCC 002D4C2C 7F BA 02 14 */ add r29, r26, r0 +/* 802D7CD0 002D4C30 93 41 00 14 */ stw r26, 0x14(r1) +/* 802D7CD4 002D4C34 93 A1 00 08 */ stw r29, 8(r1) +/* 802D7CD8 002D4C38 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802D7CDC 002D4C3C 48 00 00 38 */ b lbl_802D7D14 +lbl_802D7CE0: +/* 802D7CE0 002D4C40 28 1B 00 00 */ cmplwi r27, 0 +/* 802D7CE4 002D4C44 41 82 00 28 */ beq lbl_802D7D0C +/* 802D7CE8 002D4C48 7F 63 DB 78 */ mr r3, r27 +/* 802D7CEC 002D4C4C 7F 44 D3 78 */ mr r4, r26 +/* 802D7CF0 002D4C50 48 06 64 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D7CF4 002D4C54 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 802D7CF8 002D4C58 90 1B 00 10 */ stw r0, 0x10(r27) +/* 802D7CFC 002D4C5C 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 802D7D00 002D4C60 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7D04 002D4C64 38 03 00 01 */ addi r0, r3, 1 +/* 802D7D08 002D4C68 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7D0C: +/* 802D7D0C 002D4C6C 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 802D7D10 002D4C70 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802D7D14: +/* 802D7D14 002D4C74 7C 1A E8 40 */ cmplw r26, r29 +/* 802D7D18 002D4C78 40 82 FF C8 */ bne lbl_802D7CE0 +/* 802D7D1C 002D4C7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7D20 002D4C80 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802D7D24 002D4C84 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7D28 002D4C88 7F 7A 02 14 */ add r27, r26, r0 +/* 802D7D2C 002D4C8C 48 00 00 30 */ b lbl_802D7D5C +lbl_802D7D30: +/* 802D7D30 002D4C90 28 1A 00 00 */ cmplwi r26, 0 +/* 802D7D34 002D4C94 41 82 00 24 */ beq lbl_802D7D58 +/* 802D7D38 002D4C98 34 1A 00 10 */ addic. r0, r26, 0x10 +/* 802D7D3C 002D4C9C 41 82 00 0C */ beq lbl_802D7D48 +/* 802D7D40 002D4CA0 38 7A 00 10 */ addi r3, r26, 0x10 +/* 802D7D44 002D4CA4 4B D5 91 ED */ bl sub_80030f30 +lbl_802D7D48: +/* 802D7D48 002D4CA8 28 1A 00 00 */ cmplwi r26, 0 +/* 802D7D4C 002D4CAC 41 82 00 0C */ beq lbl_802D7D58 +/* 802D7D50 002D4CB0 7F 43 D3 78 */ mr r3, r26 +/* 802D7D54 002D4CB4 48 06 5D 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D7D58: +/* 802D7D58 002D4CB8 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802D7D5C: +/* 802D7D5C 002D4CBC 7C 1A D8 40 */ cmplw r26, r27 +/* 802D7D60 002D4CC0 40 82 FF D0 */ bne lbl_802D7D30 +/* 802D7D64 002D4CC4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D7D68 002D4CC8 28 03 00 00 */ cmplwi r3, 0 +/* 802D7D6C 002D4CCC 41 82 00 08 */ beq lbl_802D7D74 +/* 802D7D70 002D4CD0 48 03 DB C1 */ bl Free__7CMemoryFPCv +lbl_802D7D74: +/* 802D7D74 002D4CD4 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802D7D78 002D4CD8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802D7D7C: +/* 802D7D7C 002D4CDC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802D7D80 002D4CE0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7D84 002D4CE4 7C 08 03 A6 */ mtlr r0 +/* 802D7D88 002D4CE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7D8C 002D4CEC 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi": +/* 802D7D90 002D4CF0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7D94 002D4CF4 7C 08 02 A6 */ mflr r0 +/* 802D7D98 002D4CF8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7D9C 002D4CFC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D7DA0 002D4D00 7C 9E 23 78 */ mr r30, r4 +/* 802D7DA4 002D4D04 7C 7D 1B 78 */ mr r29, r3 +/* 802D7DA8 002D4D08 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7DAC 002D4D0C 7C 1E 00 00 */ cmpw r30, r0 +/* 802D7DB0 002D4D10 40 81 00 E8 */ ble lbl_802D7E98 +/* 802D7DB4 002D4D14 57 C3 20 37 */ rlwinm. r3, r30, 4, 0, 0x1b +/* 802D7DB8 002D4D18 40 82 00 0C */ bne lbl_802D7DC4 +/* 802D7DBC 002D4D1C 3B E0 00 00 */ li r31, 0 +/* 802D7DC0 002D4D20 48 00 00 18 */ b lbl_802D7DD8 +lbl_802D7DC4: +/* 802D7DC4 002D4D24 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7DC8 002D4D28 38 A0 00 00 */ li r5, 0 +/* 802D7DCC 002D4D2C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D7DD0 002D4D30 48 03 DA 49 */ bl __nwa__FUlPCcPCc +/* 802D7DD4 002D4D34 7C 7F 1B 78 */ mr r31, r3 +lbl_802D7DD8: +/* 802D7DD8 002D4D38 80 1D 00 04 */ lwz r0, 4(r29) +/* 802D7DDC 002D4D3C 7F E6 FB 78 */ mr r6, r31 +/* 802D7DE0 002D4D40 80 FD 00 0C */ lwz r7, 0xc(r29) +/* 802D7DE4 002D4D44 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7DE8 002D4D48 7C A7 02 14 */ add r5, r7, r0 +/* 802D7DEC 002D4D4C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802D7DF0 002D4D50 90 A1 00 08 */ stw r5, 8(r1) +/* 802D7DF4 002D4D54 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D7DF8 002D4D58 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802D7DFC 002D4D5C 48 00 00 44 */ b lbl_802D7E40 +lbl_802D7E00: +/* 802D7E00 002D4D60 28 06 00 00 */ cmplwi r6, 0 +/* 802D7E04 002D4D64 41 82 00 34 */ beq lbl_802D7E38 +/* 802D7E08 002D4D68 80 07 00 00 */ lwz r0, 0(r7) +/* 802D7E0C 002D4D6C 90 06 00 00 */ stw r0, 0(r6) +/* 802D7E10 002D4D70 80 07 00 04 */ lwz r0, 4(r7) +/* 802D7E14 002D4D74 90 06 00 04 */ stw r0, 4(r6) +/* 802D7E18 002D4D78 80 07 00 08 */ lwz r0, 8(r7) +/* 802D7E1C 002D4D7C 90 06 00 08 */ stw r0, 8(r6) +/* 802D7E20 002D4D80 80 07 00 0C */ lwz r0, 0xc(r7) +/* 802D7E24 002D4D84 90 06 00 0C */ stw r0, 0xc(r6) +/* 802D7E28 002D4D88 80 86 00 0C */ lwz r4, 0xc(r6) +/* 802D7E2C 002D4D8C 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7E30 002D4D90 38 03 00 01 */ addi r0, r3, 1 +/* 802D7E34 002D4D94 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7E38: +/* 802D7E38 002D4D98 38 C6 00 10 */ addi r6, r6, 0x10 +/* 802D7E3C 002D4D9C 38 E7 00 10 */ addi r7, r7, 0x10 +lbl_802D7E40: +/* 802D7E40 002D4DA0 7C 07 28 40 */ cmplw r7, r5 +/* 802D7E44 002D4DA4 40 82 FF BC */ bne lbl_802D7E00 +/* 802D7E48 002D4DA8 80 1D 00 04 */ lwz r0, 4(r29) +/* 802D7E4C 002D4DAC 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 802D7E50 002D4DB0 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7E54 002D4DB4 7F 9B 02 14 */ add r28, r27, r0 +/* 802D7E58 002D4DB8 48 00 00 20 */ b lbl_802D7E78 +lbl_802D7E5C: +/* 802D7E5C 002D4DBC 28 1B 00 00 */ cmplwi r27, 0 +/* 802D7E60 002D4DC0 41 82 00 14 */ beq lbl_802D7E74 +/* 802D7E64 002D4DC4 34 1B 00 0C */ addic. r0, r27, 0xc +/* 802D7E68 002D4DC8 41 82 00 0C */ beq lbl_802D7E74 +/* 802D7E6C 002D4DCC 38 7B 00 0C */ addi r3, r27, 0xc +/* 802D7E70 002D4DD0 4B D5 C4 25 */ bl __dt__17CMetaTransFactoryFv +lbl_802D7E74: +/* 802D7E74 002D4DD4 3B 7B 00 10 */ addi r27, r27, 0x10 +lbl_802D7E78: +/* 802D7E78 002D4DD8 7C 1B E0 40 */ cmplw r27, r28 +/* 802D7E7C 002D4DDC 40 82 FF E0 */ bne lbl_802D7E5C +/* 802D7E80 002D4DE0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802D7E84 002D4DE4 28 03 00 00 */ cmplwi r3, 0 +/* 802D7E88 002D4DE8 41 82 00 08 */ beq lbl_802D7E90 +/* 802D7E8C 002D4DEC 48 03 DA A5 */ bl Free__7CMemoryFPCv +lbl_802D7E90: +/* 802D7E90 002D4DF0 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802D7E94 002D4DF4 93 DD 00 08 */ stw r30, 8(r29) +lbl_802D7E98: +/* 802D7E98 002D4DF8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D7E9C 002D4DFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7EA0 002D4E00 7C 08 03 A6 */ mtlr r0 +/* 802D7EA4 002D4E04 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7EA8 002D4E08 4E 80 00 20 */ blr + +.global "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi": +/* 802D7EAC 002D4E0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7EB0 002D4E10 7C 08 02 A6 */ mflr r0 +/* 802D7EB4 002D4E14 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7EB8 002D4E18 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D7EBC 002D4E1C 7C 9F 23 78 */ mr r31, r4 +/* 802D7EC0 002D4E20 7C 7E 1B 78 */ mr r30, r3 +/* 802D7EC4 002D4E24 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7EC8 002D4E28 7C 1F 00 00 */ cmpw r31, r0 +/* 802D7ECC 002D4E2C 40 81 00 D8 */ ble lbl_802D7FA4 +/* 802D7ED0 002D4E30 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802D7ED4 002D4E34 40 82 00 0C */ bne lbl_802D7EE0 +/* 802D7ED8 002D4E38 3B A0 00 00 */ li r29, 0 +/* 802D7EDC 002D4E3C 48 00 00 18 */ b lbl_802D7EF4 +lbl_802D7EE0: +/* 802D7EE0 002D4E40 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7EE4 002D4E44 38 A0 00 00 */ li r5, 0 +/* 802D7EE8 002D4E48 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D7EEC 002D4E4C 48 03 D9 2D */ bl __nwa__FUlPCcPCc +/* 802D7EF0 002D4E50 7C 7D 1B 78 */ mr r29, r3 +lbl_802D7EF4: +/* 802D7EF4 002D4E54 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7EF8 002D4E58 7F A6 EB 78 */ mr r6, r29 +/* 802D7EFC 002D4E5C 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 802D7F00 002D4E60 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7F04 002D4E64 7C A7 02 14 */ add r5, r7, r0 +/* 802D7F08 002D4E68 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802D7F0C 002D4E6C 90 A1 00 08 */ stw r5, 8(r1) +/* 802D7F10 002D4E70 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D7F14 002D4E74 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802D7F18 002D4E78 48 00 00 34 */ b lbl_802D7F4C +lbl_802D7F1C: +/* 802D7F1C 002D4E7C 28 06 00 00 */ cmplwi r6, 0 +/* 802D7F20 002D4E80 41 82 00 24 */ beq lbl_802D7F44 +/* 802D7F24 002D4E84 80 07 00 00 */ lwz r0, 0(r7) +/* 802D7F28 002D4E88 90 06 00 00 */ stw r0, 0(r6) +/* 802D7F2C 002D4E8C 80 07 00 04 */ lwz r0, 4(r7) +/* 802D7F30 002D4E90 90 06 00 04 */ stw r0, 4(r6) +/* 802D7F34 002D4E94 80 86 00 04 */ lwz r4, 4(r6) +/* 802D7F38 002D4E98 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7F3C 002D4E9C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7F40 002D4EA0 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7F44: +/* 802D7F44 002D4EA4 38 C6 00 08 */ addi r6, r6, 8 +/* 802D7F48 002D4EA8 38 E7 00 08 */ addi r7, r7, 8 +lbl_802D7F4C: +/* 802D7F4C 002D4EAC 7C 07 28 40 */ cmplw r7, r5 +/* 802D7F50 002D4EB0 40 82 FF CC */ bne lbl_802D7F1C +/* 802D7F54 002D4EB4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7F58 002D4EB8 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802D7F5C 002D4EBC 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7F60 002D4EC0 7F 9B 02 14 */ add r28, r27, r0 +/* 802D7F64 002D4EC4 48 00 00 20 */ b lbl_802D7F84 +lbl_802D7F68: +/* 802D7F68 002D4EC8 28 1B 00 00 */ cmplwi r27, 0 +/* 802D7F6C 002D4ECC 41 82 00 14 */ beq lbl_802D7F80 +/* 802D7F70 002D4ED0 34 1B 00 04 */ addic. r0, r27, 4 +/* 802D7F74 002D4ED4 41 82 00 0C */ beq lbl_802D7F80 +/* 802D7F78 002D4ED8 38 7B 00 04 */ addi r3, r27, 4 +/* 802D7F7C 002D4EDC 4B D5 C3 19 */ bl __dt__17CMetaTransFactoryFv +lbl_802D7F80: +/* 802D7F80 002D4EE0 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802D7F84: +/* 802D7F84 002D4EE4 7C 1B E0 40 */ cmplw r27, r28 +/* 802D7F88 002D4EE8 40 82 FF E0 */ bne lbl_802D7F68 +/* 802D7F8C 002D4EEC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D7F90 002D4EF0 28 03 00 00 */ cmplwi r3, 0 +/* 802D7F94 002D4EF4 41 82 00 08 */ beq lbl_802D7F9C +/* 802D7F98 002D4EF8 48 03 D9 99 */ bl Free__7CMemoryFPCv +lbl_802D7F9C: +/* 802D7F9C 002D4EFC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802D7FA0 002D4F00 93 FE 00 08 */ stw r31, 8(r30) +lbl_802D7FA4: +/* 802D7FA4 002D4F04 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D7FA8 002D4F08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7FAC 002D4F0C 7C 08 03 A6 */ mtlr r0 +/* 802D7FB0 002D4F10 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7FB4 002D4F14 4E 80 00 20 */ blr + +.global "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi": +/* 802D7FB8 002D4F18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7FBC 002D4F1C 7C 08 02 A6 */ mflr r0 +/* 802D7FC0 002D4F20 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7FC4 002D4F24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D7FC8 002D4F28 7C 9F 23 78 */ mr r31, r4 +/* 802D7FCC 002D4F2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7FD0 002D4F30 7C 7E 1B 78 */ mr r30, r3 +/* 802D7FD4 002D4F34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7FD8 002D4F38 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7FDC 002D4F3C 7C 1F 00 00 */ cmpw r31, r0 +/* 802D7FE0 002D4F40 40 81 00 BC */ ble lbl_802D809C +/* 802D7FE4 002D4F44 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 802D7FE8 002D4F48 2C 03 00 00 */ cmpwi r3, 0 +/* 802D7FEC 002D4F4C 40 82 00 0C */ bne lbl_802D7FF8 +/* 802D7FF0 002D4F50 3B A0 00 00 */ li r29, 0 +/* 802D7FF4 002D4F54 48 00 00 18 */ b lbl_802D800C +lbl_802D7FF8: +/* 802D7FF8 002D4F58 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7FFC 002D4F5C 38 A0 00 00 */ li r5, 0 +/* 802D8000 002D4F60 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D8004 002D4F64 48 03 D8 15 */ bl __nwa__FUlPCcPCc +/* 802D8008 002D4F68 7C 7D 1B 78 */ mr r29, r3 +lbl_802D800C: +/* 802D800C 002D4F6C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D8010 002D4F70 7F A4 EB 78 */ mr r4, r29 +/* 802D8014 002D4F74 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802D8018 002D4F78 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D801C 002D4F7C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802D8020 002D4F80 7C 65 02 14 */ add r3, r5, r0 +/* 802D8024 002D4F84 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802D8028 002D4F88 90 61 00 08 */ stw r3, 8(r1) +/* 802D802C 002D4F8C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802D8030 002D4F90 48 00 00 2C */ b lbl_802D805C +lbl_802D8034: +/* 802D8034 002D4F94 28 04 00 00 */ cmplwi r4, 0 +/* 802D8038 002D4F98 41 82 00 1C */ beq lbl_802D8054 +/* 802D803C 002D4F9C 80 05 00 00 */ lwz r0, 0(r5) +/* 802D8040 002D4FA0 90 04 00 00 */ stw r0, 0(r4) +/* 802D8044 002D4FA4 C0 05 00 04 */ lfs f0, 4(r5) +/* 802D8048 002D4FA8 D0 04 00 04 */ stfs f0, 4(r4) +/* 802D804C 002D4FAC C0 05 00 08 */ lfs f0, 8(r5) +/* 802D8050 002D4FB0 D0 04 00 08 */ stfs f0, 8(r4) +lbl_802D8054: +/* 802D8054 002D4FB4 38 84 00 0C */ addi r4, r4, 0xc +/* 802D8058 002D4FB8 38 A5 00 0C */ addi r5, r5, 0xc +lbl_802D805C: +/* 802D805C 002D4FBC 7C 05 18 40 */ cmplw r5, r3 +/* 802D8060 002D4FC0 40 82 FF D4 */ bne lbl_802D8034 +/* 802D8064 002D4FC4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D8068 002D4FC8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D806C 002D4FCC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D8070 002D4FD0 7C 64 1B 78 */ mr r4, r3 +/* 802D8074 002D4FD4 7C 03 02 14 */ add r0, r3, r0 +/* 802D8078 002D4FD8 48 00 00 08 */ b lbl_802D8080 +lbl_802D807C: +/* 802D807C 002D4FDC 38 84 00 0C */ addi r4, r4, 0xc +lbl_802D8080: +/* 802D8080 002D4FE0 7C 04 00 40 */ cmplw r4, r0 +/* 802D8084 002D4FE4 40 82 FF F8 */ bne lbl_802D807C +/* 802D8088 002D4FE8 28 03 00 00 */ cmplwi r3, 0 +/* 802D808C 002D4FEC 41 82 00 08 */ beq lbl_802D8094 +/* 802D8090 002D4FF0 48 03 D8 A1 */ bl Free__7CMemoryFPCv +lbl_802D8094: +/* 802D8094 002D4FF4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802D8098 002D4FF8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802D809C: +/* 802D809C 002D4FFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D80A0 002D5000 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D80A4 002D5004 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D80A8 002D5008 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D80AC 002D500C 7C 08 03 A6 */ mtlr r0 +/* 802D80B0 002D5010 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D80B4 002D5014 4E 80 00 20 */ blr + diff --git a/asm/Animation/CSequenceHelper.s b/asm/Animation/CSequenceHelper.s new file mode 100644 index 00000000..2ed4d7f7 --- /dev/null +++ b/asm/Animation/CSequenceHelper.s @@ -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 diff --git a/asm/Basics/CBasics.s b/asm/Basics/CBasics.s new file mode 100644 index 00000000..cb9d5715 --- /dev/null +++ b/asm/Basics/CBasics.s @@ -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 diff --git a/asm/Basics/CBasicsDolphin.s b/asm/Basics/CBasicsDolphin.s new file mode 100644 index 00000000..4b7e8cdf --- /dev/null +++ b/asm/Basics/CBasicsDolphin.s @@ -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 diff --git a/asm/Basics/CCallStackDolphin.s b/asm/Basics/CCallStackDolphin.s new file mode 100644 index 00000000..260d09dc --- /dev/null +++ b/asm/Basics/CCallStackDolphin.s @@ -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 diff --git a/asm/Basics/COsContext.s b/asm/Basics/COsContext.s new file mode 100644 index 00000000..240d00ae --- /dev/null +++ b/asm/Basics/COsContext.s @@ -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 diff --git a/asm/Basics/CSWDataDolphin.s b/asm/Basics/CSWDataDolphin.s new file mode 100644 index 00000000..f1b9e6e5 --- /dev/null +++ b/asm/Basics/CSWDataDolphin.s @@ -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 diff --git a/asm/Basics/CStopwatch.s b/asm/Basics/CStopwatch.s new file mode 100644 index 00000000..99ff6dfe --- /dev/null +++ b/asm/Basics/CStopwatch.s @@ -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 diff --git a/asm/Basics/RAssertDolphin.s b/asm/Basics/RAssertDolphin.s new file mode 100644 index 00000000..33ec2138 --- /dev/null +++ b/asm/Basics/RAssertDolphin.s @@ -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 diff --git a/asm/Collision/CCollidableAABox.s b/asm/Collision/CCollidableAABox.s new file mode 100644 index 00000000..3f1533a7 --- /dev/null +++ b/asm/Collision/CCollidableAABox.s @@ -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 diff --git a/asm/Collision/CCollidableCollisionSurface.s b/asm/Collision/CCollidableCollisionSurface.s new file mode 100644 index 00000000..1fec6c44 --- /dev/null +++ b/asm/Collision/CCollidableCollisionSurface.s @@ -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 diff --git a/asm/Collision/CCollidableSphere.s b/asm/Collision/CCollidableSphere.s new file mode 100644 index 00000000..49807ce9 --- /dev/null +++ b/asm/Collision/CCollidableSphere.s @@ -0,0 +1,1414 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTableIndex__17CCollidableSphereCFv +GetTableIndex__17CCollidableSphereCFv: +/* 802D3E70 002D0DD0 80 6D 9B 38 */ lwz r3, lbl_805A86F8@sda21(r13) +/* 802D3E74 002D0DD4 4E 80 00 20 */ blr + +.global CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802D3E78 002D0DD8 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802D3E7C 002D0DDC 7C 08 02 A6 */ mflr r0 +/* 802D3E80 002D0DE0 90 01 01 14 */ stw r0, 0x114(r1) +/* 802D3E84 002D0DE4 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802D3E88 002D0DE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802D3E8C 002D0DEC DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802D3E90 002D0DF0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802D3E94 002D0DF4 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 802D3E98 002D0DF8 7C 7A 1B 78 */ mr r26, r3 +/* 802D3E9C 002D0DFC 7C 9B 23 78 */ mr r27, r4 +/* 802D3EA0 002D0E00 83 A3 00 00 */ lwz r29, 0(r3) +/* 802D3EA4 002D0E04 7C BC 2B 78 */ mr r28, r5 +/* 802D3EA8 002D0E08 83 C3 00 38 */ lwz r30, 0x38(r3) +/* 802D3EAC 002D0E0C 7C DF 33 78 */ mr r31, r6 +/* 802D3EB0 002D0E10 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D3EB4 002D0E14 38 9A 00 08 */ addi r4, r26, 8 +/* 802D3EB8 002D0E18 38 BD 00 10 */ addi r5, r29, 0x10 +/* 802D3EBC 002D0E1C 48 03 EC 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D3EC0 002D0E20 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802D3EC4 002D0E24 38 61 00 28 */ addi r3, r1, 0x28 +/* 802D3EC8 002D0E28 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 802D3ECC 002D0E2C 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802D3ED0 002D0E30 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D3ED4 002D0E34 38 BE 00 10 */ addi r5, r30, 0x10 +/* 802D3ED8 002D0E38 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D3EDC 002D0E3C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802D3EE0 002D0E40 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802D3EE4 002D0E44 C3 FD 00 1C */ lfs f31, 0x1c(r29) +/* 802D3EE8 002D0E48 C3 DE 00 1C */ lfs f30, 0x1c(r30) +/* 802D3EEC 002D0E4C 48 03 EB FD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D3EF0 002D0E50 EC 1E F8 2A */ fadds f0, f30, f31 +/* 802D3EF4 002D0E54 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802D3EF8 002D0E58 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802D3EFC 002D0E5C 7F 65 DB 78 */ mr r5, r27 +/* 802D3F00 002D0E60 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802D3F04 002D0E64 38 61 00 58 */ addi r3, r1, 0x58 +/* 802D3F08 002D0E68 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802D3F0C 002D0E6C 38 81 00 68 */ addi r4, r1, 0x68 +/* 802D3F10 002D0E70 38 C1 00 08 */ addi r6, r1, 8 +/* 802D3F14 002D0E74 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802D3F18 002D0E78 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802D3F1C 002D0E7C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802D3F20 002D0E80 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D3F24 002D0E84 D8 01 00 08 */ stfd f0, 8(r1) +/* 802D3F28 002D0E88 4B FF FA A9 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +/* 802D3F2C 002D0E8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D3F30 002D0E90 41 82 01 D8 */ beq lbl_802D4108 +/* 802D3F34 002D0E94 C8 21 00 08 */ lfd f1, 8(r1) +/* 802D3F38 002D0E98 C8 02 C5 28 */ lfd f0, lbl_805AE248@sda21(r2) +/* 802D3F3C 002D0E9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3F40 002D0EA0 4C 41 13 82 */ cror 2, 1, 2 +/* 802D3F44 002D0EA4 40 82 01 C4 */ bne lbl_802D4108 +/* 802D3F48 002D0EA8 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D3F4C 002D0EAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3F50 002D0EB0 40 80 01 B8 */ bge lbl_802D4108 +/* 802D3F54 002D0EB4 FC C0 08 18 */ frsp f6, f1 +/* 802D3F58 002D0EB8 C0 5B 00 04 */ lfs f2, 4(r27) +/* 802D3F5C 002D0EBC C0 3B 00 08 */ lfs f1, 8(r27) +/* 802D3F60 002D0EC0 38 61 00 1C */ addi r3, r1, 0x1c +/* 802D3F64 002D0EC4 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802D3F68 002D0EC8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D3F6C 002D0ECC EC 86 00 B2 */ fmuls f4, f6, f2 +/* 802D3F70 002D0ED0 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 802D3F74 002D0ED4 EC 46 00 72 */ fmuls f2, f6, f1 +/* 802D3F78 002D0ED8 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 802D3F7C 002D0EDC EC 06 00 32 */ fmuls f0, f6, f0 +/* 802D3F80 002D0EE0 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 802D3F84 002D0EE4 EC A5 20 2A */ fadds f5, f5, f4 +/* 802D3F88 002D0EE8 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802D3F8C 002D0EEC EC 63 10 2A */ fadds f3, f3, f2 +/* 802D3F90 002D0EF0 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 802D3F94 002D0EF4 EC 21 00 2A */ fadds f1, f1, f0 +/* 802D3F98 002D0EF8 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802D3F9C 002D0EFC EC 85 20 28 */ fsubs f4, f5, f4 +/* 802D3FA0 002D0F00 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D3FA4 002D0F04 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D3FA8 002D0F08 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802D3FAC 002D0F0C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D3FB0 002D0F10 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802D3FB4 002D0F14 48 04 08 9D */ bl AsNormalized__9CVector3fCFv +/* 802D3FB8 002D0F18 C0 E1 00 1C */ lfs f7, 0x1c(r1) +/* 802D3FBC 002D0F1C 7F C3 F3 78 */ mr r3, r30 +/* 802D3FC0 002D0F20 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802D3FC4 002D0F24 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802D3FC8 002D0F28 D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 802D3FCC 002D0F2C C0 C1 00 5C */ lfs f6, 0x5c(r1) +/* 802D3FD0 002D0F30 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 802D3FD4 002D0F34 C0 81 00 60 */ lfs f4, 0x60(r1) +/* 802D3FD8 002D0F38 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802D3FDC 002D0F3C C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802D3FE0 002D0F40 C1 1E 00 1C */ lfs f8, 0x1c(r30) +/* 802D3FE4 002D0F44 C8 01 00 08 */ lfd f0, 8(r1) +/* 802D3FE8 002D0F48 EC A8 00 F2 */ fmuls f5, f8, f3 +/* 802D3FEC 002D0F4C EC 68 00 72 */ fmuls f3, f8, f1 +/* 802D3FF0 002D0F50 EC 28 01 F2 */ fmuls f1, f8, f7 +/* 802D3FF4 002D0F54 EC A6 28 2A */ fadds f5, f6, f5 +/* 802D3FF8 002D0F58 EC 64 18 2A */ fadds f3, f4, f3 +/* 802D3FFC 002D0F5C EC 22 08 2A */ fadds f1, f2, f1 +/* 802D4000 002D0F60 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802D4004 002D0F64 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D4008 002D0F68 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 802D400C 002D0F6C D8 1C 00 00 */ stfd f0, 0(r28) +/* 802D4010 002D0F70 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4014 002D0F74 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4018 002D0F78 7D 89 03 A6 */ mtctr r12 +/* 802D401C 002D0F7C 4E 80 04 21 */ bctrl +/* 802D4020 002D0F80 7C 7E 1B 78 */ mr r30, r3 +/* 802D4024 002D0F84 7F A3 EB 78 */ mr r3, r29 +/* 802D4028 002D0F88 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D402C 002D0F8C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4030 002D0F90 7D 89 03 A6 */ mtctr r12 +/* 802D4034 002D0F94 4E 80 04 21 */ bctrl +/* 802D4038 002D0F98 7C 65 1B 78 */ mr r5, r3 +/* 802D403C 002D0F9C 7F C6 F3 78 */ mr r6, r30 +/* 802D4040 002D0FA0 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D4044 002D0FA4 38 81 00 40 */ addi r4, r1, 0x40 +/* 802D4048 002D0FA8 38 E1 00 4C */ addi r7, r1, 0x4c +/* 802D404C 002D0FAC 4B FF A3 FD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4050 002D0FB0 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802D4054 002D0FB4 38 60 00 01 */ li r3, 1 +/* 802D4058 002D0FB8 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802D405C 002D0FBC 90 9F 00 00 */ stw r4, 0(r31) +/* 802D4060 002D0FC0 90 1F 00 04 */ stw r0, 4(r31) +/* 802D4064 002D0FC4 80 01 00 80 */ lwz r0, 0x80(r1) +/* 802D4068 002D0FC8 90 1F 00 08 */ stw r0, 8(r31) +/* 802D406C 002D0FCC 80 81 00 84 */ lwz r4, 0x84(r1) +/* 802D4070 002D0FD0 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802D4074 002D0FD4 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802D4078 002D0FD8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802D407C 002D0FDC 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802D4080 002D0FE0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D4084 002D0FE4 80 81 00 90 */ lwz r4, 0x90(r1) +/* 802D4088 002D0FE8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D408C 002D0FEC 90 9F 00 18 */ stw r4, 0x18(r31) +/* 802D4090 002D0FF0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802D4094 002D0FF4 80 01 00 98 */ lwz r0, 0x98(r1) +/* 802D4098 002D0FF8 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802D409C 002D0FFC 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 802D40A0 002D1000 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802D40A4 002D1004 90 9F 00 24 */ stw r4, 0x24(r31) +/* 802D40A8 002D1008 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802D40AC 002D100C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D40B0 002D1010 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802D40B4 002D1014 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 802D40B8 002D1018 98 1F 00 30 */ stb r0, 0x30(r31) +/* 802D40BC 002D101C 88 01 00 A9 */ lbz r0, 0xa9(r1) +/* 802D40C0 002D1020 98 1F 00 31 */ stb r0, 0x31(r31) +/* 802D40C4 002D1024 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802D40C8 002D1028 D8 1F 00 38 */ stfd f0, 0x38(r31) +/* 802D40CC 002D102C C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 802D40D0 002D1030 D8 1F 00 40 */ stfd f0, 0x40(r31) +/* 802D40D4 002D1034 80 81 00 C0 */ lwz r4, 0xc0(r1) +/* 802D40D8 002D1038 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802D40DC 002D103C 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802D40E0 002D1040 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 802D40E4 002D1044 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 802D40E8 002D1048 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802D40EC 002D104C 80 81 00 CC */ lwz r4, 0xcc(r1) +/* 802D40F0 002D1050 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802D40F4 002D1054 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802D40F8 002D1058 90 1F 00 58 */ stw r0, 0x58(r31) +/* 802D40FC 002D105C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802D4100 002D1060 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 802D4104 002D1064 48 00 00 08 */ b lbl_802D410C +lbl_802D4108: +/* 802D4108 002D1068 38 60 00 00 */ li r3, 0 +lbl_802D410C: +/* 802D410C 002D106C E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802D4110 002D1070 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802D4114 002D1074 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802D4118 002D1078 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802D411C 002D107C BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 802D4120 002D1080 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802D4124 002D1084 7C 08 03 A6 */ mtlr r0 +/* 802D4128 002D1088 38 21 01 10 */ addi r1, r1, 0x110 +/* 802D412C 002D108C 4E 80 00 20 */ blr + +.global CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802D4130 002D1090 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802D4134 002D1094 7C 08 02 A6 */ mflr r0 +/* 802D4138 002D1098 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802D413C 002D109C BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 802D4140 002D10A0 7C 7A 1B 78 */ mr r26, r3 +/* 802D4144 002D10A4 7C BC 2B 78 */ mr r28, r5 +/* 802D4148 002D10A8 7C 9B 23 78 */ mr r27, r4 +/* 802D414C 002D10AC 7C DF 33 78 */ mr r31, r6 +/* 802D4150 002D10B0 38 BA 00 40 */ addi r5, r26, 0x40 +/* 802D4154 002D10B4 83 C3 00 38 */ lwz r30, 0x38(r3) +/* 802D4158 002D10B8 38 61 00 48 */ addi r3, r1, 0x48 +/* 802D415C 002D10BC 83 BA 00 00 */ lwz r29, 0(r26) +/* 802D4160 002D10C0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4164 002D10C4 7F C4 F3 78 */ mr r4, r30 +/* 802D4168 002D10C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D416C 002D10CC 7D 89 03 A6 */ mtctr r12 +/* 802D4170 002D10D0 4E 80 04 21 */ bctrl +/* 802D4174 002D10D4 C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802D4178 002D10D8 7F A4 EB 78 */ mr r4, r29 +/* 802D417C 002D10DC C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802D4180 002D10E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D4184 002D10E4 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802D4188 002D10E8 38 BA 00 08 */ addi r5, r26, 8 +/* 802D418C 002D10EC C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802D4190 002D10F0 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802D4194 002D10F4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D4198 002D10F8 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802D419C 002D10FC D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802D41A0 002D1100 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D41A4 002D1104 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802D41A8 002D1108 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802D41AC 002D110C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802D41B0 002D1110 48 00 01 A5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D41B4 002D1114 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802D41B8 002D1118 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D41BC 002D111C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802D41C0 002D1120 39 23 66 A0 */ addi r9, r3, skZero3f@l +/* 802D41C4 002D1124 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D41C8 002D1128 7F 65 DB 78 */ mr r5, r27 +/* 802D41CC 002D112C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802D41D0 002D1130 38 61 00 38 */ addi r3, r1, 0x38 +/* 802D41D4 002D1134 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D41D8 002D1138 38 81 00 60 */ addi r4, r1, 0x60 +/* 802D41DC 002D113C C0 69 00 00 */ lfs f3, 0(r9) +/* 802D41E0 002D1140 38 C1 00 08 */ addi r6, r1, 8 +/* 802D41E4 002D1144 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D41E8 002D1148 38 E1 00 2C */ addi r7, r1, 0x2c +/* 802D41EC 002D114C C0 49 00 04 */ lfs f2, 4(r9) +/* 802D41F0 002D1150 39 01 00 20 */ addi r8, r1, 0x20 +/* 802D41F4 002D1154 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D41F8 002D1158 C0 29 00 08 */ lfs f1, 8(r9) +/* 802D41FC 002D115C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802D4200 002D1160 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D4204 002D1164 D8 01 00 08 */ stfd f0, 8(r1) +/* 802D4208 002D1168 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 802D420C 002D116C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802D4210 002D1170 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 802D4214 002D1174 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 802D4218 002D1178 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802D421C 002D117C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802D4220 002D1180 4B FF C2 71 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +/* 802D4224 002D1184 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D4228 002D1188 41 82 01 14 */ beq lbl_802D433C +/* 802D422C 002D118C C8 21 00 08 */ lfd f1, 8(r1) +/* 802D4230 002D1190 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D4234 002D1194 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D4238 002D1198 40 80 01 04 */ bge lbl_802D433C +/* 802D423C 002D119C D8 3C 00 00 */ stfd f1, 0(r28) +/* 802D4240 002D11A0 7F C3 F3 78 */ mr r3, r30 +/* 802D4244 002D11A4 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4248 002D11A8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D424C 002D11AC 7D 89 03 A6 */ mtctr r12 +/* 802D4250 002D11B0 4E 80 04 21 */ bctrl +/* 802D4254 002D11B4 7C 7E 1B 78 */ mr r30, r3 +/* 802D4258 002D11B8 7F A3 EB 78 */ mr r3, r29 +/* 802D425C 002D11BC 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4260 002D11C0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4264 002D11C4 7D 89 03 A6 */ mtctr r12 +/* 802D4268 002D11C8 4E 80 04 21 */ bctrl +/* 802D426C 002D11CC 7C 65 1B 78 */ mr r5, r3 +/* 802D4270 002D11D0 7F C6 F3 78 */ mr r6, r30 +/* 802D4274 002D11D4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D4278 002D11D8 38 81 00 2C */ addi r4, r1, 0x2c +/* 802D427C 002D11DC 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802D4280 002D11E0 4B FF A1 C9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4284 002D11E4 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802D4288 002D11E8 38 60 00 01 */ li r3, 1 +/* 802D428C 002D11EC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802D4290 002D11F0 90 9F 00 00 */ stw r4, 0(r31) +/* 802D4294 002D11F4 90 1F 00 04 */ stw r0, 4(r31) +/* 802D4298 002D11F8 80 01 00 80 */ lwz r0, 0x80(r1) +/* 802D429C 002D11FC 90 1F 00 08 */ stw r0, 8(r31) +/* 802D42A0 002D1200 80 81 00 84 */ lwz r4, 0x84(r1) +/* 802D42A4 002D1204 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802D42A8 002D1208 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802D42AC 002D120C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802D42B0 002D1210 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802D42B4 002D1214 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D42B8 002D1218 80 81 00 90 */ lwz r4, 0x90(r1) +/* 802D42BC 002D121C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D42C0 002D1220 90 9F 00 18 */ stw r4, 0x18(r31) +/* 802D42C4 002D1224 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802D42C8 002D1228 80 01 00 98 */ lwz r0, 0x98(r1) +/* 802D42CC 002D122C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802D42D0 002D1230 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 802D42D4 002D1234 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802D42D8 002D1238 90 9F 00 24 */ stw r4, 0x24(r31) +/* 802D42DC 002D123C 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802D42E0 002D1240 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D42E4 002D1244 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802D42E8 002D1248 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 802D42EC 002D124C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 802D42F0 002D1250 88 01 00 A9 */ lbz r0, 0xa9(r1) +/* 802D42F4 002D1254 98 1F 00 31 */ stb r0, 0x31(r31) +/* 802D42F8 002D1258 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802D42FC 002D125C D8 1F 00 38 */ stfd f0, 0x38(r31) +/* 802D4300 002D1260 C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 802D4304 002D1264 D8 1F 00 40 */ stfd f0, 0x40(r31) +/* 802D4308 002D1268 80 81 00 C0 */ lwz r4, 0xc0(r1) +/* 802D430C 002D126C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802D4310 002D1270 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802D4314 002D1274 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 802D4318 002D1278 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 802D431C 002D127C 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802D4320 002D1280 80 81 00 CC */ lwz r4, 0xcc(r1) +/* 802D4324 002D1284 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802D4328 002D1288 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802D432C 002D128C 90 1F 00 58 */ stw r0, 0x58(r31) +/* 802D4330 002D1290 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802D4334 002D1294 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 802D4338 002D1298 48 00 00 08 */ b lbl_802D4340 +lbl_802D433C: +/* 802D433C 002D129C 38 60 00 00 */ li r3, 0 +lbl_802D4340: +/* 802D4340 002D12A0 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 802D4344 002D12A4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802D4348 002D12A8 7C 08 03 A6 */ mtlr r0 +/* 802D434C 002D12AC 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802D4350 002D12B0 4E 80 00 20 */ blr + +.global Transform__17CCollidableSphereCFRC12CTransform4f +Transform__17CCollidableSphereCFRC12CTransform4f: +/* 802D4354 002D12B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D4358 002D12B8 7C 08 02 A6 */ mflr r0 +/* 802D435C 002D12BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D4360 002D12C0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802D4364 002D12C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802D4368 002D12C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D436C 002D12CC 7C 86 23 78 */ mr r6, r4 +/* 802D4370 002D12D0 C3 E4 00 1C */ lfs f31, 0x1c(r4) +/* 802D4374 002D12D4 7C 7F 1B 78 */ mr r31, r3 +/* 802D4378 002D12D8 7C A4 2B 78 */ mr r4, r5 +/* 802D437C 002D12DC 38 61 00 08 */ addi r3, r1, 8 +/* 802D4380 002D12E0 38 A6 00 10 */ addi r5, r6, 0x10 +/* 802D4384 002D12E4 48 03 E7 65 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D4388 002D12E8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802D438C 002D12EC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802D4390 002D12F0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802D4394 002D12F4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D4398 002D12F8 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D439C 002D12FC D0 5F 00 08 */ stfs f2, 8(r31) +/* 802D43A0 002D1300 D3 FF 00 0C */ stfs f31, 0xc(r31) +/* 802D43A4 002D1304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802D43A8 002D1308 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D43AC 002D130C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802D43B0 002D1310 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D43B4 002D1314 7C 08 03 A6 */ mtlr r0 +/* 802D43B8 002D1318 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D43BC 002D131C 4E 80 00 20 */ blr + +.global GetPrimType__17CCollidableSphereCFv +GetPrimType__17CCollidableSphereCFv: +/* 802D43C0 002D1320 3C 60 53 50 */ lis r3, 0x53504852@ha +/* 802D43C4 002D1324 38 63 48 52 */ addi r3, r3, 0x53504852@l +/* 802D43C8 002D1328 4E 80 00 20 */ blr + +.global CalculateLocalAABox__17CCollidableSphereCFv +CalculateLocalAABox__17CCollidableSphereCFv: +/* 802D43CC 002D132C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D43D0 002D1330 7C 08 02 A6 */ mflr r0 +/* 802D43D4 002D1334 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D43D8 002D1338 38 A1 00 08 */ addi r5, r1, 8 +/* 802D43DC 002D133C C0 A4 00 1C */ lfs f5, 0x1c(r4) +/* 802D43E0 002D1340 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802D43E4 002D1344 C0 C4 00 14 */ lfs f6, 0x14(r4) +/* 802D43E8 002D1348 C0 E4 00 18 */ lfs f7, 0x18(r4) +/* 802D43EC 002D134C EC 01 28 2A */ fadds f0, f1, f5 +/* 802D43F0 002D1350 EC 41 28 28 */ fsubs f2, f1, f5 +/* 802D43F4 002D1354 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D43F8 002D1358 EC 86 28 2A */ fadds f4, f6, f5 +/* 802D43FC 002D135C EC 67 28 2A */ fadds f3, f7, f5 +/* 802D4400 002D1360 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D4404 002D1364 EC 26 28 28 */ fsubs f1, f6, f5 +/* 802D4408 002D1368 EC 07 28 28 */ fsubs f0, f7, f5 +/* 802D440C 002D136C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802D4410 002D1370 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802D4414 002D1374 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D4418 002D1378 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D441C 002D137C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D4420 002D1380 48 06 40 E9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D4424 002D1384 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D4428 002D1388 7C 08 03 A6 */ mtlr r0 +/* 802D442C 002D138C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D4430 002D1390 4E 80 00 20 */ blr + +.global CalculateAABox__17CCollidableSphereCFRC12CTransform4f +CalculateAABox__17CCollidableSphereCFRC12CTransform4f: +/* 802D4434 002D1394 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D4438 002D1398 7C 08 02 A6 */ mflr r0 +/* 802D443C 002D139C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D4440 002D13A0 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802D4444 002D13A4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802D4448 002D13A8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802D444C 002D13AC 7C 86 23 78 */ mr r6, r4 +/* 802D4450 002D13B0 C3 E4 00 1C */ lfs f31, 0x1c(r4) +/* 802D4454 002D13B4 7C 7F 1B 78 */ mr r31, r3 +/* 802D4458 002D13B8 7C A4 2B 78 */ mr r4, r5 +/* 802D445C 002D13BC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D4460 002D13C0 38 A6 00 10 */ addi r5, r6, 0x10 +/* 802D4464 002D13C4 48 03 E6 85 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D4468 002D13C8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802D446C 002D13CC 7F E3 FB 78 */ mr r3, r31 +/* 802D4470 002D13D0 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802D4474 002D13D4 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D4478 002D13D8 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802D447C 002D13DC EC 01 F8 2A */ fadds f0, f1, f31 +/* 802D4480 002D13E0 EC 65 F8 2A */ fadds f3, f5, f31 +/* 802D4484 002D13E4 38 A1 00 08 */ addi r5, r1, 8 +/* 802D4488 002D13E8 EC 82 F8 2A */ fadds f4, f2, f31 +/* 802D448C 002D13EC EC 42 F8 28 */ fsubs f2, f2, f31 +/* 802D4490 002D13F0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802D4494 002D13F4 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 802D4498 002D13F8 EC 05 F8 28 */ fsubs f0, f5, f31 +/* 802D449C 002D13FC D0 81 00 08 */ stfs f4, 8(r1) +/* 802D44A0 002D1400 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802D44A4 002D1404 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D44A8 002D1408 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D44AC 002D140C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D44B0 002D1410 48 06 40 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D44B4 002D1414 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802D44B8 002D1418 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D44BC 002D141C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802D44C0 002D1420 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802D44C4 002D1424 7C 08 03 A6 */ mtlr r0 +/* 802D44C8 002D1428 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D44CC 002D142C 4E 80 00 20 */ blr + +.global CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure +CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure: +/* 802D44D0 002D1430 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802D44D4 002D1434 7C 08 02 A6 */ mflr r0 +/* 802D44D8 002D1438 90 01 00 84 */ stw r0, 0x84(r1) +/* 802D44DC 002D143C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802D44E0 002D1440 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802D44E4 002D1444 7C BE 2B 78 */ mr r30, r5 +/* 802D44E8 002D1448 93 A1 00 74 */ stw r29, 0x74(r1) +/* 802D44EC 002D144C 7C 9D 23 78 */ mr r29, r4 +/* 802D44F0 002D1450 93 81 00 70 */ stw r28, 0x70(r1) +/* 802D44F4 002D1454 7C 7C 1B 78 */ mr r28, r3 +/* 802D44F8 002D1458 7F A3 EB 78 */ mr r3, r29 +/* 802D44FC 002D145C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4500 002D1460 83 E5 00 6C */ lwz r31, 0x6c(r5) +/* 802D4504 002D1464 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4508 002D1468 7D 89 03 A6 */ mtctr r12 +/* 802D450C 002D146C 4E 80 04 21 */ bctrl +/* 802D4510 002D1470 7C 64 1B 78 */ mr r4, r3 +/* 802D4514 002D1474 7F E3 FB 78 */ mr r3, r31 +/* 802D4518 002D1478 48 00 0E 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802D451C 002D147C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D4520 002D1480 40 82 00 64 */ bne lbl_802D4584 +/* 802D4524 002D1484 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) +/* 802D4528 002D1488 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D452C 002D148C C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4530 002D1490 D0 3C 00 00 */ stfs f1, 0(r28) +/* 802D4534 002D1494 D0 3C 00 04 */ stfs f1, 4(r28) +/* 802D4538 002D1498 D0 3C 00 08 */ stfs f1, 8(r28) +/* 802D453C 002D149C D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 802D4540 002D14A0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802D4544 002D14A4 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D4548 002D14A8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802D454C 002D14AC 48 04 03 AD */ bl Normalize__9CVector3fFv +/* 802D4550 002D14B0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D4554 002D14B4 38 00 00 00 */ li r0, 0 +/* 802D4558 002D14B8 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) +/* 802D455C 002D14BC D0 3C 00 10 */ stfs f1, 0x10(r28) +/* 802D4560 002D14C0 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802D4564 002D14C4 D0 3C 00 14 */ stfs f1, 0x14(r28) +/* 802D4568 002D14C8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802D456C 002D14CC D0 3C 00 18 */ stfs f1, 0x18(r28) +/* 802D4570 002D14D0 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802D4574 002D14D4 98 1C 00 20 */ stb r0, 0x20(r28) +/* 802D4578 002D14D8 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 802D457C 002D14DC 90 1C 00 28 */ stw r0, 0x28(r28) +/* 802D4580 002D14E0 48 00 01 D8 */ b lbl_802D4758 +lbl_802D4584: +/* 802D4584 002D14E4 7F A4 EB 78 */ mr r4, r29 +/* 802D4588 002D14E8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D458C 002D14EC 38 BE 00 3C */ addi r5, r30, 0x3c +/* 802D4590 002D14F0 4B FF FD C5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D4594 002D14F4 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) +/* 802D4598 002D14F8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D459C 002D14FC C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D45A0 002D1500 7F C4 F3 78 */ mr r4, r30 +/* 802D45A4 002D1504 D0 41 00 08 */ stfs f2, 8(r1) +/* 802D45A8 002D1508 38 BE 00 2C */ addi r5, r30, 0x2c +/* 802D45AC 002D150C C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 802D45B0 002D1510 38 C1 00 08 */ addi r6, r1, 8 +/* 802D45B4 002D1514 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802D45B8 002D1518 38 E1 00 58 */ addi r7, r1, 0x58 +/* 802D45BC 002D151C D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802D45C0 002D1520 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802D45C4 002D1524 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802D45C8 002D1528 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802D45CC 002D152C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802D45D0 002D1530 4B FF F5 39 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D45D4 002D1534 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D45D8 002D1538 41 82 01 24 */ beq lbl_802D46FC +/* 802D45DC 002D153C C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802D45E0 002D1540 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D45E4 002D1544 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D45E8 002D1548 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802D45EC 002D154C C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802D45F0 002D1550 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D45F4 002D1554 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802D45F8 002D1558 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802D45FC 002D155C EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D4600 002D1560 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 802D4604 002D1564 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D4608 002D1568 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802D460C 002D156C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802D4610 002D1570 48 04 02 A9 */ bl Magnitude__9CVector3fCFv +/* 802D4614 002D1574 C0 02 C5 38 */ lfs f0, lbl_805AE258@sda21(r2) +/* 802D4618 002D1578 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D461C 002D157C 40 81 00 34 */ ble lbl_802D4650 +/* 802D4620 002D1580 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4624 002D1584 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802D4628 002D1588 EC 60 08 24 */ fdivs f3, f0, f1 +/* 802D462C 002D158C C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D4630 002D1590 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802D4634 002D1594 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802D4638 002D1598 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802D463C 002D159C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802D4640 002D15A0 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802D4644 002D15A4 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802D4648 002D15A8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802D464C 002D15AC 48 00 00 1C */ b lbl_802D4668 +lbl_802D4650: +/* 802D4650 002D15B0 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 802D4654 002D15B4 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 802D4658 002D15B8 C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 802D465C 002D15BC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802D4660 002D15C0 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802D4664 002D15C4 D0 01 00 54 */ stfs f0, 0x54(r1) +lbl_802D4668: +/* 802D4668 002D15C8 7F A3 EB 78 */ mr r3, r29 +/* 802D466C 002D15CC 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4670 002D15D0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4674 002D15D4 7D 89 03 A6 */ mtctr r12 +/* 802D4678 002D15D8 4E 80 04 21 */ bctrl +/* 802D467C 002D15DC 7C 7F 1B 78 */ mr r31, r3 +/* 802D4680 002D15E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D4684 002D15E4 38 81 00 4C */ addi r4, r1, 0x4c +/* 802D4688 002D15E8 48 03 F7 49 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802D468C 002D15EC C0 81 00 28 */ lfs f4, 0x28(r1) +/* 802D4690 002D15F0 38 00 00 01 */ li r0, 1 +/* 802D4694 002D15F4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D4698 002D15F8 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802D469C 002D15FC EC 20 01 32 */ fmuls f1, f0, f4 +/* 802D46A0 002D1600 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802D46A4 002D1604 C0 C1 00 2C */ lfs f6, 0x2c(r1) +/* 802D46A8 002D1608 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802D46AC 002D160C C0 01 00 08 */ lfs f0, 8(r1) +/* 802D46B0 002D1610 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802D46B4 002D1614 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802D46B8 002D1618 EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 802D46BC 002D161C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802D46C0 002D1620 D0 1C 00 04 */ stfs f0, 4(r28) +/* 802D46C4 002D1624 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D46C8 002D1628 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802D46CC 002D162C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802D46D0 002D1630 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 802D46D4 002D1634 D0 BC 00 10 */ stfs f5, 0x10(r28) +/* 802D46D8 002D1638 D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 802D46DC 002D163C D0 DC 00 18 */ stfs f6, 0x18(r28) +/* 802D46E0 002D1640 D0 3C 00 1C */ stfs f1, 0x1c(r28) +/* 802D46E4 002D1644 98 1C 00 20 */ stb r0, 0x20(r28) +/* 802D46E8 002D1648 80 1F 00 00 */ lwz r0, 0(r31) +/* 802D46EC 002D164C 80 7F 00 04 */ lwz r3, 4(r31) +/* 802D46F0 002D1650 90 7C 00 2C */ stw r3, 0x2c(r28) +/* 802D46F4 002D1654 90 1C 00 28 */ stw r0, 0x28(r28) +/* 802D46F8 002D1658 48 00 00 60 */ b lbl_802D4758 +lbl_802D46FC: +/* 802D46FC 002D165C C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) +/* 802D4700 002D1660 38 61 00 0C */ addi r3, r1, 0xc +/* 802D4704 002D1664 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4708 002D1668 D0 3C 00 00 */ stfs f1, 0(r28) +/* 802D470C 002D166C D0 3C 00 04 */ stfs f1, 4(r28) +/* 802D4710 002D1670 D0 3C 00 08 */ stfs f1, 8(r28) +/* 802D4714 002D1674 D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 802D4718 002D1678 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802D471C 002D167C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D4720 002D1680 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802D4724 002D1684 48 04 01 D5 */ bl Normalize__9CVector3fFv +/* 802D4728 002D1688 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802D472C 002D168C 38 00 00 00 */ li r0, 0 +/* 802D4730 002D1690 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) +/* 802D4734 002D1694 D0 3C 00 10 */ stfs f1, 0x10(r28) +/* 802D4738 002D1698 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802D473C 002D169C D0 3C 00 14 */ stfs f1, 0x14(r28) +/* 802D4740 002D16A0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802D4744 002D16A4 D0 3C 00 18 */ stfs f1, 0x18(r28) +/* 802D4748 002D16A8 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802D474C 002D16AC 98 1C 00 20 */ stb r0, 0x20(r28) +/* 802D4750 002D16B0 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 802D4754 002D16B4 90 1C 00 28 */ stw r0, 0x28(r28) +lbl_802D4758: +/* 802D4758 002D16B8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802D475C 002D16BC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802D4760 002D16C0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802D4764 002D16C4 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802D4768 002D16C8 83 81 00 70 */ lwz r28, 0x70(r1) +/* 802D476C 002D16CC 7C 08 03 A6 */ mtlr r0 +/* 802D4770 002D16D0 38 21 00 80 */ addi r1, r1, 0x80 +/* 802D4774 002D16D4 4E 80 00 20 */ blr + +.global Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure +Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure: +/* 802D4778 002D16D8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D477C 002D16DC 7C 08 02 A6 */ mflr r0 +/* 802D4780 002D16E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D4784 002D16E4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802D4788 002D16E8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802D478C 002D16EC 7C 7E 1B 78 */ mr r30, r3 +/* 802D4790 002D16F0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D4794 002D16F4 83 FE 00 38 */ lwz r31, 0x38(r30) +/* 802D4798 002D16F8 38 BE 00 08 */ addi r5, r30, 8 +/* 802D479C 002D16FC 80 9E 00 00 */ lwz r4, 0(r30) +/* 802D47A0 002D1700 4B FF FB B5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D47A4 002D1704 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802D47A8 002D1708 7F E4 FB 78 */ mr r4, r31 +/* 802D47AC 002D170C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802D47B0 002D1710 38 61 00 08 */ addi r3, r1, 8 +/* 802D47B4 002D1714 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802D47B8 002D1718 38 BE 00 40 */ addi r5, r30, 0x40 +/* 802D47BC 002D171C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D47C0 002D1720 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D47C4 002D1724 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D47C8 002D1728 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D47CC 002D172C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802D47D0 002D1730 4B FF FB 85 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D47D4 002D1734 C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 802D47D8 002D1738 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D47DC 002D173C C0 C1 00 08 */ lfs f6, 8(r1) +/* 802D47E0 002D1740 EC 20 28 28 */ fsubs f1, f0, f5 +/* 802D47E4 002D1744 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D47E8 002D1748 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 802D47EC 002D174C EC E0 30 28 */ fsubs f7, f0, f6 +/* 802D47F0 002D1750 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802D47F4 002D1754 EC 01 00 72 */ fmuls f0, f1, f1 +/* 802D47F8 002D1758 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802D47FC 002D175C C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D4800 002D1760 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802D4804 002D1764 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802D4808 002D1768 EC C1 18 2A */ fadds f6, f1, f3 +/* 802D480C 002D176C EC 27 01 FA */ fmadds f1, f7, f7, f0 +/* 802D4810 002D1770 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802D4814 002D1774 EC 06 01 B2 */ fmuls f0, f6, f6 +/* 802D4818 002D1778 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 802D481C 002D177C EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 802D4820 002D1780 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802D4824 002D1784 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D4828 002D1788 4C 40 13 82 */ cror 2, 0, 2 +/* 802D482C 002D178C 7C 00 00 26 */ mfcr r0 +/* 802D4830 002D1790 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802D4834 002D1794 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802D4838 002D1798 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802D483C 002D179C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D4840 002D17A0 7C 08 03 A6 */ mtlr r0 +/* 802D4844 002D17A4 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D4848 002D17A8 4E 80 00 20 */ blr + +.global Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList +Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802D484C 002D17AC 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802D4850 002D17B0 7C 08 02 A6 */ mflr r0 +/* 802D4854 002D17B4 90 01 01 34 */ stw r0, 0x134(r1) +/* 802D4858 002D17B8 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 802D485C 002D17BC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 802D4860 002D17C0 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 802D4864 002D17C4 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 802D4868 002D17C8 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 802D486C 002D17CC F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 802D4870 002D17D0 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 802D4874 002D17D4 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 802D4878 002D17D8 93 E1 00 EC */ stw r31, 0xec(r1) +/* 802D487C 002D17DC 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 802D4880 002D17E0 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 802D4884 002D17E4 93 81 00 E0 */ stw r28, 0xe0(r1) +/* 802D4888 002D17E8 7C 7C 1B 78 */ mr r28, r3 +/* 802D488C 002D17EC 7C 9D 23 78 */ mr r29, r4 +/* 802D4890 002D17F0 83 C3 00 00 */ lwz r30, 0(r3) +/* 802D4894 002D17F4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D4898 002D17F8 83 FC 00 38 */ lwz r31, 0x38(r28) +/* 802D489C 002D17FC 38 BC 00 08 */ addi r5, r28, 8 +/* 802D48A0 002D1800 7F C4 F3 78 */ mr r4, r30 +/* 802D48A4 002D1804 4B FF FA B1 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D48A8 002D1808 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 802D48AC 002D180C 7F E4 FB 78 */ mr r4, r31 +/* 802D48B0 002D1810 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D48B4 002D1814 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D48B8 002D1818 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802D48BC 002D181C 38 BC 00 40 */ addi r5, r28, 0x40 +/* 802D48C0 002D1820 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802D48C4 002D1824 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D48C8 002D1828 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802D48CC 002D182C D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802D48D0 002D1830 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802D48D4 002D1834 4B FF FA 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D48D8 002D1838 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802D48DC 002D183C C3 A1 00 18 */ lfs f29, 0x18(r1) +/* 802D48E0 002D1840 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802D48E4 002D1844 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802D48E8 002D1848 EC C1 E8 28 */ fsubs f6, f1, f29 +/* 802D48EC 002D184C C3 C1 00 1C */ lfs f30, 0x1c(r1) +/* 802D48F0 002D1850 EC 80 18 28 */ fsubs f4, f0, f3 +/* 802D48F4 002D1854 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802D48F8 002D1858 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 802D48FC 002D185C EC A0 F0 28 */ fsubs f5, f0, f30 +/* 802D4900 002D1860 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802D4904 002D1864 EC 44 01 32 */ fmuls f2, f4, f4 +/* 802D4908 002D1868 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 802D490C 002D186C D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802D4910 002D1870 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D4914 002D1874 EC 65 01 72 */ fmuls f3, f5, f5 +/* 802D4918 002D1878 D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 802D491C 002D187C EC 22 08 2A */ fadds f1, f2, f1 +/* 802D4920 002D1880 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D4924 002D1884 D3 C1 00 60 */ stfs f30, 0x60(r1) +/* 802D4928 002D1888 EF 83 08 2A */ fadds f28, f3, f1 +/* 802D492C 002D188C D3 E1 00 64 */ stfs f31, 0x64(r1) +/* 802D4930 002D1890 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802D4934 002D1894 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802D4938 002D1898 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802D493C 002D189C D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 802D4940 002D18A0 4C 40 13 82 */ cror 2, 0, 2 +/* 802D4944 002D18A4 40 82 00 F4 */ bne lbl_802D4A38 +/* 802D4948 002D18A8 38 61 00 4C */ addi r3, r1, 0x4c +/* 802D494C 002D18AC 48 03 FD AD */ bl CanBeNormalized__9CVector3fCFv +/* 802D4950 002D18B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D4954 002D18B4 41 82 00 40 */ beq lbl_802D4994 +/* 802D4958 002D18B8 FC 20 E0 90 */ fmr f1, f28 +/* 802D495C 002D18BC 48 04 0B A5 */ bl SqrtF__5CMathFf +/* 802D4960 002D18C0 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4964 002D18C4 38 81 00 08 */ addi r4, r1, 8 +/* 802D4968 002D18C8 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802D496C 002D18CC EC 60 08 24 */ fdivs f3, f0, f1 +/* 802D4970 002D18D0 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802D4974 002D18D4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802D4978 002D18D8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802D497C 002D18DC EC 23 00 72 */ fmuls f1, f3, f1 +/* 802D4980 002D18E0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802D4984 002D18E4 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802D4988 002D18E8 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D498C 002D18EC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D4990 002D18F0 48 00 00 0C */ b lbl_802D499C +lbl_802D4994: +/* 802D4994 002D18F4 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 802D4998 002D18F8 38 83 67 18 */ addi r4, r3, lbl_805A6718@l +lbl_802D499C: +/* 802D499C 002D18FC C0 04 00 00 */ lfs f0, 0(r4) +/* 802D49A0 002D1900 7F E3 FB 78 */ mr r3, r31 +/* 802D49A4 002D1904 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802D49A8 002D1908 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802D49AC 002D190C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802D49B0 002D1910 C0 44 00 04 */ lfs f2, 4(r4) +/* 802D49B4 002D1914 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D49B8 002D1918 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802D49BC 002D191C EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 802D49C0 002D1920 C0 44 00 08 */ lfs f2, 8(r4) +/* 802D49C4 002D1924 EC 7D 08 2A */ fadds f3, f29, f1 +/* 802D49C8 002D1928 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 802D49CC 002D192C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802D49D0 002D1930 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802D49D4 002D1934 EC 1E 08 2A */ fadds f0, f30, f1 +/* 802D49D8 002D1938 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D49DC 002D193C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802D49E0 002D1940 81 9F 00 00 */ lwz r12, 0(r31) +/* 802D49E4 002D1944 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D49E8 002D1948 7D 89 03 A6 */ mtctr r12 +/* 802D49EC 002D194C 4E 80 04 21 */ bctrl +/* 802D49F0 002D1950 7C 7F 1B 78 */ mr r31, r3 +/* 802D49F4 002D1954 7F C3 F3 78 */ mr r3, r30 +/* 802D49F8 002D1958 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D49FC 002D195C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4A00 002D1960 7D 89 03 A6 */ mtctr r12 +/* 802D4A04 002D1964 4E 80 04 21 */ bctrl +/* 802D4A08 002D1968 7C 65 1B 78 */ mr r5, r3 +/* 802D4A0C 002D196C 7F E6 FB 78 */ mr r6, r31 +/* 802D4A10 002D1970 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D4A14 002D1974 38 81 00 34 */ addi r4, r1, 0x34 +/* 802D4A18 002D1978 38 E1 00 40 */ addi r7, r1, 0x40 +/* 802D4A1C 002D197C 4B FF 9A 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4A20 002D1980 7C 64 1B 78 */ mr r4, r3 +/* 802D4A24 002D1984 7F A3 EB 78 */ mr r3, r29 +/* 802D4A28 002D1988 38 A0 00 00 */ li r5, 0 +/* 802D4A2C 002D198C 4B EB 0B F5 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D4A30 002D1990 38 60 00 01 */ li r3, 1 +/* 802D4A34 002D1994 48 00 00 08 */ b lbl_802D4A3C +lbl_802D4A38: +/* 802D4A38 002D1998 38 60 00 00 */ li r3, 0 +lbl_802D4A3C: +/* 802D4A3C 002D199C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 802D4A40 002D19A0 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802D4A44 002D19A4 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 802D4A48 002D19A8 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 802D4A4C 002D19AC E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 802D4A50 002D19B0 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 802D4A54 002D19B4 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 802D4A58 002D19B8 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 802D4A5C 002D19BC 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 802D4A60 002D19C0 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 802D4A64 002D19C4 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 802D4A68 002D19C8 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802D4A6C 002D19CC 83 81 00 E0 */ lwz r28, 0xe0(r1) +/* 802D4A70 002D19D0 7C 08 03 A6 */ mtlr r0 +/* 802D4A74 002D19D4 38 21 01 30 */ addi r1, r1, 0x130 +/* 802D4A78 002D19D8 4E 80 00 20 */ blr + +.global Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList +Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802D4A7C 002D19DC 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802D4A80 002D19E0 7C 08 02 A6 */ mflr r0 +/* 802D4A84 002D19E4 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802D4A88 002D19E8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802D4A8C 002D19EC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802D4A90 002D19F0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802D4A94 002D19F4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802D4A98 002D19F8 DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 802D4A9C 002D19FC F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 802D4AA0 002D1A00 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 802D4AA4 002D1A04 93 C1 01 98 */ stw r30, 0x198(r1) +/* 802D4AA8 002D1A08 93 A1 01 94 */ stw r29, 0x194(r1) +/* 802D4AAC 002D1A0C 7C 66 1B 78 */ mr r6, r3 +/* 802D4AB0 002D1A10 7C 9F 23 78 */ mr r31, r4 +/* 802D4AB4 002D1A14 83 A3 00 00 */ lwz r29, 0(r3) +/* 802D4AB8 002D1A18 38 61 00 44 */ addi r3, r1, 0x44 +/* 802D4ABC 002D1A1C 83 C6 00 38 */ lwz r30, 0x38(r6) +/* 802D4AC0 002D1A20 38 A6 00 08 */ addi r5, r6, 8 +/* 802D4AC4 002D1A24 C3 A6 00 6C */ lfs f29, 0x6c(r6) +/* 802D4AC8 002D1A28 7F A4 EB 78 */ mr r4, r29 +/* 802D4ACC 002D1A2C C3 C6 00 5C */ lfs f30, 0x5c(r6) +/* 802D4AD0 002D1A30 C3 E6 00 4C */ lfs f31, 0x4c(r6) +/* 802D4AD4 002D1A34 4B FF F8 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D4AD8 002D1A38 C0 5E 00 20 */ lfs f2, 0x20(r30) +/* 802D4ADC 002D1A3C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802D4AE0 002D1A40 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 802D4AE4 002D1A44 38 81 00 38 */ addi r4, r1, 0x38 +/* 802D4AE8 002D1A48 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 802D4AEC 002D1A4C EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D4AF0 002D1A50 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D4AF4 002D1A54 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 802D4AF8 002D1A58 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D4AFC 002D1A5C C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802D4B00 002D1A60 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802D4B04 002D1A64 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802D4B08 002D1A68 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802D4B0C 002D1A6C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802D4B10 002D1A70 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802D4B14 002D1A74 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 802D4B18 002D1A78 C0 5E 00 14 */ lfs f2, 0x14(r30) +/* 802D4B1C 002D1A7C C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 802D4B20 002D1A80 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802D4B24 002D1A84 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D4B28 002D1A88 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D4B2C 002D1A8C D0 C1 00 A8 */ stfs f6, 0xa8(r1) +/* 802D4B30 002D1A90 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D4B34 002D1A94 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 802D4B38 002D1A98 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 802D4B3C 002D1A9C D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 802D4B40 002D1AA0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802D4B44 002D1AA4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D4B48 002D1AA8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D4B4C 002D1AAC 48 06 39 BD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D4B50 002D1AB0 C0 A1 00 A8 */ lfs f5, 0xa8(r1) +/* 802D4B54 002D1AB4 38 00 00 03 */ li r0, 3 +/* 802D4B58 002D1AB8 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 802D4B5C 002D1ABC 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D4B60 002D1AC0 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 802D4B64 002D1AC4 38 81 00 9C */ addi r4, r1, 0x9c +/* 802D4B68 002D1AC8 C0 E1 00 B8 */ lfs f7, 0xb8(r1) +/* 802D4B6C 002D1ACC 38 C1 00 84 */ addi r6, r1, 0x84 +/* 802D4B70 002D1AD0 C1 01 00 BC */ lfs f8, 0xbc(r1) +/* 802D4B74 002D1AD4 39 00 00 00 */ li r8, 0 +/* 802D4B78 002D1AD8 C0 C1 00 C0 */ lfs f6, 0xc0(r1) +/* 802D4B7C 002D1ADC 38 A0 00 00 */ li r5, 0 +/* 802D4B80 002D1AE0 C0 81 00 C4 */ lfs f4, 0xc4(r1) +/* 802D4B84 002D1AE4 38 E0 00 01 */ li r7, 1 +/* 802D4B88 002D1AE8 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 802D4B8C 002D1AEC C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 802D4B90 002D1AF0 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 802D4B94 002D1AF4 C0 A2 C5 30 */ lfs f5, lbl_805AE250@sda21(r2) +/* 802D4B98 002D1AF8 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802D4B9C 002D1AFC C3 E1 00 B4 */ lfs f31, 0xb4(r1) +/* 802D4BA0 002D1B00 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802D4BA4 002D1B04 D0 E1 00 90 */ stfs f7, 0x90(r1) +/* 802D4BA8 002D1B08 D1 01 00 94 */ stfs f8, 0x94(r1) +/* 802D4BAC 002D1B0C D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 802D4BB0 002D1B10 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 802D4BB4 002D1B14 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802D4BB8 002D1B18 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802D4BBC 002D1B1C 7C 09 03 A6 */ mtctr r0 +lbl_802D4BC0: +/* 802D4BC0 002D1B20 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D4BC4 002D1B24 C0 83 00 00 */ lfs f4, 0(r3) +/* 802D4BC8 002D1B28 FC 03 20 40 */ fcmpo cr0, f3, f4 +/* 802D4BCC 002D1B2C 40 80 00 38 */ bge lbl_802D4C04 +/* 802D4BD0 002D1B30 EC 43 F8 2A */ fadds f2, f3, f31 +/* 802D4BD4 002D1B34 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D4BD8 002D1B38 4C 41 13 82 */ cror 2, 1, 2 +/* 802D4BDC 002D1B3C 40 82 00 20 */ bne lbl_802D4BFC +/* 802D4BE0 002D1B40 EC 43 20 28 */ fsubs f2, f3, f4 +/* 802D4BE4 002D1B44 38 00 00 01 */ li r0, 1 +/* 802D4BE8 002D1B48 7C 00 28 30 */ slw r0, r0, r5 +/* 802D4BEC 002D1B4C 7D 08 03 78 */ or r8, r8, r0 +/* 802D4BF0 002D1B50 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 802D4BF4 002D1B54 EC A5 10 2A */ fadds f5, f5, f2 +/* 802D4BF8 002D1B58 48 00 00 4C */ b lbl_802D4C44 +lbl_802D4BFC: +/* 802D4BFC 002D1B5C 38 60 00 00 */ li r3, 0 +/* 802D4C00 002D1B60 48 00 04 CC */ b lbl_802D50CC +lbl_802D4C04: +/* 802D4C04 002D1B64 C0 86 00 00 */ lfs f4, 0(r6) +/* 802D4C08 002D1B68 FC 03 20 40 */ fcmpo cr0, f3, f4 +/* 802D4C0C 002D1B6C 40 81 00 38 */ ble lbl_802D4C44 +/* 802D4C10 002D1B70 EC 43 F8 28 */ fsubs f2, f3, f31 +/* 802D4C14 002D1B74 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D4C18 002D1B78 4C 40 13 82 */ cror 2, 0, 2 +/* 802D4C1C 002D1B7C 40 82 00 20 */ bne lbl_802D4C3C +/* 802D4C20 002D1B80 EC 43 20 28 */ fsubs f2, f3, f4 +/* 802D4C24 002D1B84 38 00 00 01 */ li r0, 1 +/* 802D4C28 002D1B88 7C 00 38 30 */ slw r0, r0, r7 +/* 802D4C2C 002D1B8C 7D 08 03 78 */ or r8, r8, r0 +/* 802D4C30 002D1B90 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 802D4C34 002D1B94 EC A5 10 2A */ fadds f5, f5, f2 +/* 802D4C38 002D1B98 48 00 00 0C */ b lbl_802D4C44 +lbl_802D4C3C: +/* 802D4C3C 002D1B9C 38 60 00 00 */ li r3, 0 +/* 802D4C40 002D1BA0 48 00 04 8C */ b lbl_802D50CC +lbl_802D4C44: +/* 802D4C44 002D1BA4 38 63 00 04 */ addi r3, r3, 4 +/* 802D4C48 002D1BA8 38 84 00 04 */ addi r4, r4, 4 +/* 802D4C4C 002D1BAC 38 A5 00 02 */ addi r5, r5, 2 +/* 802D4C50 002D1BB0 38 C6 00 04 */ addi r6, r6, 4 +/* 802D4C54 002D1BB4 38 E7 00 02 */ addi r7, r7, 2 +/* 802D4C58 002D1BB8 42 00 FF 68 */ bdnz lbl_802D4BC0 +/* 802D4C5C 002D1BBC 2C 08 00 00 */ cmpwi r8, 0 +/* 802D4C60 002D1BC0 40 82 00 F0 */ bne lbl_802D4D50 +/* 802D4C64 002D1BC4 38 61 00 08 */ addi r3, r1, 8 +/* 802D4C68 002D1BC8 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802D4C6C 002D1BCC 48 06 29 A1 */ bl GetCenterPoint__6CAABoxCFv +/* 802D4C70 002D1BD0 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 802D4C74 002D1BD4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D4C78 002D1BD8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D4C7C 002D1BDC 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D4C80 002D1BE0 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 802D4C84 002D1BE4 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802D4C88 002D1BE8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D4C8C 002D1BEC C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802D4C90 002D1BF0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802D4C94 002D1BF4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D4C98 002D1BF8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802D4C9C 002D1BFC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D4CA0 002D1C00 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802D4CA4 002D1C04 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D4CA8 002D1C08 48 03 FB A9 */ bl AsNormalized__9CVector3fCFv +/* 802D4CAC 002D1C0C C1 01 00 20 */ lfs f8, 0x20(r1) +/* 802D4CB0 002D1C10 7F C3 F3 78 */ mr r3, r30 +/* 802D4CB4 002D1C14 C0 E1 00 24 */ lfs f7, 0x24(r1) +/* 802D4CB8 002D1C18 C0 C1 00 28 */ lfs f6, 0x28(r1) +/* 802D4CBC 002D1C1C EC 1F 02 32 */ fmuls f0, f31, f8 +/* 802D4CC0 002D1C20 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802D4CC4 002D1C24 EC 9F 01 F2 */ fmuls f4, f31, f7 +/* 802D4CC8 002D1C28 C0 A1 00 A0 */ lfs f5, 0xa0(r1) +/* 802D4CCC 002D1C2C EC 5F 01 B2 */ fmuls f2, f31, f6 +/* 802D4CD0 002D1C30 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 802D4CD4 002D1C34 EC 85 20 2A */ fadds f4, f5, f4 +/* 802D4CD8 002D1C38 D1 01 00 78 */ stfs f8, 0x78(r1) +/* 802D4CDC 002D1C3C EC 43 10 2A */ fadds f2, f3, f2 +/* 802D4CE0 002D1C40 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D4CE4 002D1C44 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 802D4CE8 002D1C48 D0 C1 00 80 */ stfs f6, 0x80(r1) +/* 802D4CEC 002D1C4C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802D4CF0 002D1C50 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 802D4CF4 002D1C54 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802D4CF8 002D1C58 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4CFC 002D1C5C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4D00 002D1C60 7D 89 03 A6 */ mtctr r12 +/* 802D4D04 002D1C64 4E 80 04 21 */ bctrl +/* 802D4D08 002D1C68 7C 7E 1B 78 */ mr r30, r3 +/* 802D4D0C 002D1C6C 7F A3 EB 78 */ mr r3, r29 +/* 802D4D10 002D1C70 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4D14 002D1C74 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4D18 002D1C78 7D 89 03 A6 */ mtctr r12 +/* 802D4D1C 002D1C7C 4E 80 04 21 */ bctrl +/* 802D4D20 002D1C80 7C 65 1B 78 */ mr r5, r3 +/* 802D4D24 002D1C84 7F C6 F3 78 */ mr r6, r30 +/* 802D4D28 002D1C88 38 61 01 30 */ addi r3, r1, 0x130 +/* 802D4D2C 002D1C8C 38 81 00 6C */ addi r4, r1, 0x6c +/* 802D4D30 002D1C90 38 E1 00 78 */ addi r7, r1, 0x78 +/* 802D4D34 002D1C94 4B FF 97 15 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4D38 002D1C98 7C 64 1B 78 */ mr r4, r3 +/* 802D4D3C 002D1C9C 7F E3 FB 78 */ mr r3, r31 +/* 802D4D40 002D1CA0 38 A0 00 00 */ li r5, 0 +/* 802D4D44 002D1CA4 4B EB 08 DD */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D4D48 002D1CA8 38 60 00 01 */ li r3, 1 +/* 802D4D4C 002D1CAC 48 00 03 80 */ b lbl_802D50CC +lbl_802D4D50: +/* 802D4D50 002D1CB0 EC 5F 07 F2 */ fmuls f2, f31, f31 +/* 802D4D54 002D1CB4 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D4D58 002D1CB8 40 81 00 0C */ ble lbl_802D4D64 +/* 802D4D5C 002D1CBC 38 60 00 00 */ li r3, 0 +/* 802D4D60 002D1CC0 48 00 03 6C */ b lbl_802D50CC +lbl_802D4D64: +/* 802D4D64 002D1CC4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D4D68 002D1CC8 C4 83 66 A0 */ lfsu f4, skZero3f@l(r3) +/* 802D4D6C 002D1CCC 28 08 00 2A */ cmplwi r8, 0x2a +/* 802D4D70 002D1CD0 C0 63 00 04 */ lfs f3, 4(r3) +/* 802D4D74 002D1CD4 C0 43 00 08 */ lfs f2, 8(r3) +/* 802D4D78 002D1CD8 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802D4D7C 002D1CDC D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802D4D80 002D1CE0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D4D84 002D1CE4 41 81 02 C0 */ bgt lbl_802D5044 +/* 802D4D88 002D1CE8 3C 60 80 3F */ lis r3, lbl_803ECB20@ha +/* 802D4D8C 002D1CEC 55 00 10 3A */ slwi r0, r8, 2 +/* 802D4D90 002D1CF0 38 63 CB 20 */ addi r3, r3, lbl_803ECB20@l +/* 802D4D94 002D1CF4 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802D4D98 002D1CF8 7C 09 03 A6 */ mtctr r0 +/* 802D4D9C 002D1CFC 4E 80 04 20 */ bctr +/* 802D4DA0 002D1D00 C0 61 00 C4 */ lfs f3, 0xc4(r1) +/* 802D4DA4 002D1D04 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4DA8 002D1D08 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4DAC 002D1D0C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4DB0 002D1D10 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DB4 002D1D14 48 00 02 90 */ b lbl_802D5044 +/* 802D4DB8 002D1D18 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4DBC 002D1D1C D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4DC0 002D1D20 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4DC4 002D1D24 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DC8 002D1D28 48 00 02 7C */ b lbl_802D5044 +/* 802D4DCC 002D1D2C C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 802D4DD0 002D1D30 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4DD4 002D1D34 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802D4DD8 002D1D38 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DDC 002D1D3C 48 00 02 68 */ b lbl_802D5044 +/* 802D4DE0 002D1D40 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4DE4 002D1D44 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4DE8 002D1D48 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DEC 002D1D4C 48 00 02 58 */ b lbl_802D5044 +/* 802D4DF0 002D1D50 C0 81 00 CC */ lfs f4, 0xcc(r1) +/* 802D4DF4 002D1D54 C0 61 00 C4 */ lfs f3, 0xc4(r1) +/* 802D4DF8 002D1D58 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4DFC 002D1D5C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E00 002D1D60 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E04 002D1D64 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4E08 002D1D68 48 00 02 3C */ b lbl_802D5044 +/* 802D4E0C 002D1D6C C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 802D4E10 002D1D70 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4E14 002D1D74 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4E18 002D1D78 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E1C 002D1D7C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D4E20 002D1D80 48 00 02 24 */ b lbl_802D5044 +/* 802D4E24 002D1D84 C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 802D4E28 002D1D88 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 802D4E2C 002D1D8C D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4E30 002D1D90 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802D4E34 002D1D94 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D4E38 002D1D98 48 00 02 0C */ b lbl_802D5044 +/* 802D4E3C 002D1D9C C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 802D4E40 002D1DA0 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4E44 002D1DA4 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4E48 002D1DA8 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D4E4C 002D1DAC 48 00 01 F8 */ b lbl_802D5044 +/* 802D4E50 002D1DB0 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4E54 002D1DB4 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4E58 002D1DB8 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4E5C 002D1DBC D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E60 002D1DC0 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E64 002D1DC4 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4E68 002D1DC8 48 00 01 DC */ b lbl_802D5044 +/* 802D4E6C 002D1DCC C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4E70 002D1DD0 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4E74 002D1DD4 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4E78 002D1DD8 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E7C 002D1DDC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E80 002D1DE0 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4E84 002D1DE4 48 00 01 C0 */ b lbl_802D5044 +/* 802D4E88 002D1DE8 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4E8C 002D1DEC C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4E90 002D1DF0 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4E94 002D1DF4 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E98 002D1DF8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E9C 002D1DFC D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4EA0 002D1E00 48 00 01 A4 */ b lbl_802D5044 +/* 802D4EA4 002D1E04 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4EA8 002D1E08 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4EAC 002D1E0C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4EB0 002D1E10 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4EB4 002D1E14 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4EB8 002D1E18 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4EBC 002D1E1C 48 00 01 88 */ b lbl_802D5044 +/* 802D4EC0 002D1E20 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4EC4 002D1E24 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4EC8 002D1E28 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4ECC 002D1E2C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4ED0 002D1E30 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4ED4 002D1E34 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4ED8 002D1E38 48 00 01 6C */ b lbl_802D5044 +/* 802D4EDC 002D1E3C C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4EE0 002D1E40 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4EE4 002D1E44 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4EE8 002D1E48 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4EEC 002D1E4C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4EF0 002D1E50 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4EF4 002D1E54 48 00 01 50 */ b lbl_802D5044 +/* 802D4EF8 002D1E58 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4EFC 002D1E5C C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4F00 002D1E60 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4F04 002D1E64 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F08 002D1E68 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F0C 002D1E6C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F10 002D1E70 48 00 01 34 */ b lbl_802D5044 +/* 802D4F14 002D1E74 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4F18 002D1E78 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4F1C 002D1E7C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4F20 002D1E80 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F24 002D1E84 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F28 002D1E88 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F2C 002D1E8C 48 00 01 18 */ b lbl_802D5044 +/* 802D4F30 002D1E90 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F34 002D1E94 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4F38 002D1E98 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4F3C 002D1E9C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F40 002D1EA0 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F44 002D1EA4 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F48 002D1EA8 48 00 00 FC */ b lbl_802D5044 +/* 802D4F4C 002D1EAC C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F50 002D1EB0 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4F54 002D1EB4 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4F58 002D1EB8 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F5C 002D1EBC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F60 002D1EC0 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F64 002D1EC4 48 00 00 E0 */ b lbl_802D5044 +/* 802D4F68 002D1EC8 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F6C 002D1ECC C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4F70 002D1ED0 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4F74 002D1ED4 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F78 002D1ED8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F7C 002D1EDC D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F80 002D1EE0 48 00 00 C4 */ b lbl_802D5044 +/* 802D4F84 002D1EE4 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F88 002D1EE8 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4F8C 002D1EEC C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4F90 002D1EF0 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F94 002D1EF4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F98 002D1EF8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F9C 002D1EFC 48 00 00 A8 */ b lbl_802D5044 +/* 802D4FA0 002D1F00 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FA4 002D1F04 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4FA8 002D1F08 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4FAC 002D1F0C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4FB0 002D1F10 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4FB4 002D1F14 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4FB8 002D1F18 48 00 00 8C */ b lbl_802D5044 +/* 802D4FBC 002D1F1C C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FC0 002D1F20 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4FC4 002D1F24 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4FC8 002D1F28 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4FCC 002D1F2C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4FD0 002D1F30 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4FD4 002D1F34 48 00 00 70 */ b lbl_802D5044 +/* 802D4FD8 002D1F38 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FDC 002D1F3C C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4FE0 002D1F40 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4FE4 002D1F44 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4FE8 002D1F48 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4FEC 002D1F4C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4FF0 002D1F50 48 00 00 54 */ b lbl_802D5044 +/* 802D4FF4 002D1F54 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FF8 002D1F58 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4FFC 002D1F5C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D5000 002D1F60 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D5004 002D1F64 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D5008 002D1F68 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D500C 002D1F6C 48 00 00 38 */ b lbl_802D5044 +/* 802D5010 002D1F70 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D5014 002D1F74 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D5018 002D1F78 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D501C 002D1F7C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D5020 002D1F80 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D5024 002D1F84 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D5028 002D1F88 48 00 00 1C */ b lbl_802D5044 +/* 802D502C 002D1F8C C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D5030 002D1F90 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D5034 002D1F94 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D5038 002D1F98 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D503C 002D1F9C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D5040 002D1FA0 D0 81 00 68 */ stfs f4, 0x68(r1) +lbl_802D5044: +/* 802D5044 002D1FA4 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802D5048 002D1FA8 38 61 00 54 */ addi r3, r1, 0x54 +/* 802D504C 002D1FAC C0 61 00 68 */ lfs f3, 0x68(r1) +/* 802D5050 002D1FB0 EC 80 10 28 */ fsubs f4, f0, f2 +/* 802D5054 002D1FB4 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 802D5058 002D1FB8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802D505C 002D1FBC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802D5060 002D1FC0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802D5064 002D1FC4 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 802D5068 002D1FC8 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802D506C 002D1FCC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802D5070 002D1FD0 48 03 F8 89 */ bl Normalize__9CVector3fFv +/* 802D5074 002D1FD4 7F C3 F3 78 */ mr r3, r30 +/* 802D5078 002D1FD8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D507C 002D1FDC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D5080 002D1FE0 7D 89 03 A6 */ mtctr r12 +/* 802D5084 002D1FE4 4E 80 04 21 */ bctrl +/* 802D5088 002D1FE8 7C 7E 1B 78 */ mr r30, r3 +/* 802D508C 002D1FEC 7F A3 EB 78 */ mr r3, r29 +/* 802D5090 002D1FF0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D5094 002D1FF4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D5098 002D1FF8 7D 89 03 A6 */ mtctr r12 +/* 802D509C 002D1FFC 4E 80 04 21 */ bctrl +/* 802D50A0 002D2000 7C 65 1B 78 */ mr r5, r3 +/* 802D50A4 002D2004 7F C6 F3 78 */ mr r6, r30 +/* 802D50A8 002D2008 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802D50AC 002D200C 38 81 00 60 */ addi r4, r1, 0x60 +/* 802D50B0 002D2010 38 E1 00 54 */ addi r7, r1, 0x54 +/* 802D50B4 002D2014 4B FF 93 95 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D50B8 002D2018 7C 64 1B 78 */ mr r4, r3 +/* 802D50BC 002D201C 7F E3 FB 78 */ mr r3, r31 +/* 802D50C0 002D2020 38 A0 00 00 */ li r5, 0 +/* 802D50C4 002D2024 4B EB 05 5D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D50C8 002D2028 38 60 00 01 */ li r3, 1 +lbl_802D50CC: +/* 802D50CC 002D202C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802D50D0 002D2030 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802D50D4 002D2034 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802D50D8 002D2038 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802D50DC 002D203C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 802D50E0 002D2040 CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 802D50E4 002D2044 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 802D50E8 002D2048 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 802D50EC 002D204C 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802D50F0 002D2050 83 A1 01 94 */ lwz r29, 0x194(r1) +/* 802D50F4 002D2054 7C 08 03 A6 */ mtlr r0 +/* 802D50F8 002D2058 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802D50FC 002D205C 4E 80 00 20 */ blr + +.global Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure +Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure: +/* 802D5100 002D2060 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802D5104 002D2064 7C 08 02 A6 */ mflr r0 +/* 802D5108 002D2068 90 01 00 94 */ stw r0, 0x94(r1) +/* 802D510C 002D206C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802D5110 002D2070 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802D5114 002D2074 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802D5118 002D2078 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802D511C 002D207C DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802D5120 002D2080 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802D5124 002D2084 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802D5128 002D2088 7C 64 1B 78 */ mr r4, r3 +/* 802D512C 002D208C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D5130 002D2090 83 E4 00 38 */ lwz r31, 0x38(r4) +/* 802D5134 002D2094 38 A4 00 08 */ addi r5, r4, 8 +/* 802D5138 002D2098 C3 A4 00 6C */ lfs f29, 0x6c(r4) +/* 802D513C 002D209C C3 C4 00 5C */ lfs f30, 0x5c(r4) +/* 802D5140 002D20A0 C3 E4 00 4C */ lfs f31, 0x4c(r4) +/* 802D5144 002D20A4 80 84 00 00 */ lwz r4, 0(r4) +/* 802D5148 002D20A8 4B FF F2 0D */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D514C 002D20AC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802D5150 002D20B0 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D5154 002D20B4 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802D5158 002D20B8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D515C 002D20BC C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802D5160 002D20C0 38 A1 00 08 */ addi r5, r1, 8 +/* 802D5164 002D20C4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802D5168 002D20C8 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802D516C 002D20CC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802D5170 002D20D0 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802D5174 002D20D4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802D5178 002D20D8 C0 5F 00 20 */ lfs f2, 0x20(r31) +/* 802D517C 002D20DC C0 3F 00 24 */ lfs f1, 0x24(r31) +/* 802D5180 002D20E0 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802D5184 002D20E4 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D5188 002D20E8 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D518C 002D20EC EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D5190 002D20F0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802D5194 002D20F4 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D5198 002D20F8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D519C 002D20FC C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 802D51A0 002D2100 C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 802D51A4 002D2104 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 802D51A8 002D2108 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D51AC 002D210C EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D51B0 002D2110 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D51B4 002D2114 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802D51B8 002D2118 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D51BC 002D211C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D51C0 002D2120 48 06 33 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D51C4 002D2124 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D51C8 002D2128 38 81 00 40 */ addi r4, r1, 0x40 +/* 802D51CC 002D212C 48 00 00 31 */ bl Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox +/* 802D51D0 002D2130 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802D51D4 002D2134 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802D51D8 002D2138 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802D51DC 002D213C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802D51E0 002D2140 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802D51E4 002D2144 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802D51E8 002D2148 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D51EC 002D214C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802D51F0 002D2150 7C 08 03 A6 */ mtlr r0 +/* 802D51F4 002D2154 38 21 00 90 */ addi r1, r1, 0x90 +/* 802D51F8 002D2158 4E 80 00 20 */ blr + +.global Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox +Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox: +/* 802D51FC 002D215C C0 23 00 00 */ lfs f1, 0(r3) +/* 802D5200 002D2160 C0 04 00 00 */ lfs f0, 0(r4) +/* 802D5204 002D2164 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) +/* 802D5208 002D2168 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D520C 002D216C 40 80 00 14 */ bge lbl_802D5220 +/* 802D5210 002D2170 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5214 002D2174 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5218 002D2178 EC 42 00 2A */ fadds f2, f2, f0 +/* 802D521C 002D217C 48 00 00 1C */ b lbl_802D5238 +lbl_802D5220: +/* 802D5220 002D2180 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D5224 002D2184 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5228 002D2188 40 81 00 10 */ ble lbl_802D5238 +/* 802D522C 002D218C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5230 002D2190 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5234 002D2194 EC 42 00 2A */ fadds f2, f2, f0 +lbl_802D5238: +/* 802D5238 002D2198 C0 23 00 04 */ lfs f1, 4(r3) +/* 802D523C 002D219C 38 C4 00 10 */ addi r6, r4, 0x10 +/* 802D5240 002D21A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D5244 002D21A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5248 002D21A8 40 80 00 14 */ bge lbl_802D525C +/* 802D524C 002D21AC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5250 002D21B0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5254 002D21B4 EC 42 00 2A */ fadds f2, f2, f0 +/* 802D5258 002D21B8 48 00 00 1C */ b lbl_802D5274 +lbl_802D525C: +/* 802D525C 002D21BC C0 06 00 00 */ lfs f0, 0(r6) +/* 802D5260 002D21C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5264 002D21C4 40 81 00 10 */ ble lbl_802D5274 +/* 802D5268 002D21C8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D526C 002D21CC EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5270 002D21D0 EC 42 00 2A */ fadds f2, f2, f0 +lbl_802D5274: +/* 802D5274 002D21D4 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D5278 002D21D8 C0 04 00 08 */ lfs f0, 8(r4) +/* 802D527C 002D21DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5280 002D21E0 40 80 00 14 */ bge lbl_802D5294 +/* 802D5284 002D21E4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5288 002D21E8 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D528C 002D21EC EC 42 00 2A */ fadds f2, f2, f0 +/* 802D5290 002D21F0 48 00 00 1C */ b lbl_802D52AC +lbl_802D5294: +/* 802D5294 002D21F4 C0 06 00 04 */ lfs f0, 4(r6) +/* 802D5298 002D21F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D529C 002D21FC 40 81 00 10 */ ble lbl_802D52AC +/* 802D52A0 002D2200 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D52A4 002D2204 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D52A8 002D2208 EC 42 00 2A */ fadds f2, f2, f0 +lbl_802D52AC: +/* 802D52AC 002D220C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D52B0 002D2210 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D52B4 002D2214 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D52B8 002D2218 7C 00 00 26 */ mfcr r0 +/* 802D52BC 002D221C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D52C0 002D2220 7C 00 00 34 */ cntlzw r0, r0 +/* 802D52C4 002D2224 54 03 D9 7E */ srwi r3, r0, 5 +/* 802D52C8 002D2228 4E 80 00 20 */ blr + +.global GetType__17CCollidableSphereFv +GetType__17CCollidableSphereFv: +/* 802D52CC 002D222C 3C A0 80 2D */ lis r5, SetStaticTableIndex__17CCollidableSphereFUi@ha +/* 802D52D0 002D2230 3C 80 80 3D */ lis r4, lbl_803D6A90@ha +/* 802D52D4 002D2234 38 05 52 E8 */ addi r0, r5, SetStaticTableIndex__17CCollidableSphereFUi@l +/* 802D52D8 002D2238 90 03 00 00 */ stw r0, 0(r3) +/* 802D52DC 002D223C 38 04 6A 90 */ addi r0, r4, lbl_803D6A90@l +/* 802D52E0 002D2240 90 03 00 04 */ stw r0, 4(r3) +/* 802D52E4 002D2244 4E 80 00 20 */ blr + +.global SetStaticTableIndex__17CCollidableSphereFUi +SetStaticTableIndex__17CCollidableSphereFUi: +/* 802D52E8 002D2248 90 6D 9B 38 */ stw r3, lbl_805A86F8@sda21(r13) +/* 802D52EC 002D224C 4E 80 00 20 */ blr + +.global __sinit_CCollidableSphere_cpp +__sinit_CCollidableSphere_cpp: +/* 802D52F0 002D2250 C0 42 C5 3C */ lfs f2, lbl_805AE25C@sda21(r2) +/* 802D52F4 002D2254 3C 60 80 48 */ lis r3, lbl_80479558@ha +/* 802D52F8 002D2258 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) +/* 802D52FC 002D225C D4 43 95 58 */ stfsu f2, lbl_80479558@l(r3) +/* 802D5300 002D2260 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D5304 002D2264 D0 23 00 04 */ stfs f1, 4(r3) +/* 802D5308 002D2268 D0 23 00 08 */ stfs f1, 8(r3) +/* 802D530C 002D226C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802D5310 002D2270 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 802D5314 002D2274 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 802D5318 002D2278 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 802D531C 002D227C D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 802D5320 002D2280 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802D5324 002D2284 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802D5328 002D2288 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802D532C 002D228C D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 802D5330 002D2290 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 802D5334 002D2294 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 802D5338 002D2298 D0 43 00 38 */ stfs f2, 0x38(r3) +/* 802D533C 002D229C D0 23 00 3C */ stfs f1, 0x3c(r3) +/* 802D5340 002D22A0 D0 23 00 40 */ stfs f1, 0x40(r3) +/* 802D5344 002D22A4 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 802D5348 002D22A8 4E 80 00 20 */ blr diff --git a/asm/Collision/CCollisionInfo.s b/asm/Collision/CCollisionInfo.s new file mode 100644 index 00000000..7ba38a68 --- /dev/null +++ b/asm/Collision/CCollisionInfo.s @@ -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 diff --git a/asm/Collision/CCollisionPrimitive.s b/asm/Collision/CCollisionPrimitive.s new file mode 100644 index 00000000..c6e62dbb --- /dev/null +++ b/asm/Collision/CCollisionPrimitive.s @@ -0,0 +1,1591 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + + +.global InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc +InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc: +/* 802CE684 002CB5E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE688 002CB5E8 7C 08 02 A6 */ mflr r0 +/* 802CE68C 002CB5EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE690 002CB5F0 90 61 00 08 */ stw r3, 8(r1) +/* 802CE694 002CB5F4 38 61 00 08 */ addi r3, r1, 8 +/* 802CE698 002CB5F8 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CE69C 002CB5FC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CE6A0 002CB600 48 00 09 59 */ bl InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison +/* 802CE6A4 002CB604 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE6A8 002CB608 7C 08 03 A6 */ mtlr r0 +/* 802CE6AC 002CB60C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE6B0 002CB610 4E 80 00 20 */ blr + +.global InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc +InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc: +/* 802CE6B4 002CB614 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE6B8 002CB618 7C 08 02 A6 */ mflr r0 +/* 802CE6BC 002CB61C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE6C0 002CB620 90 61 00 08 */ stw r3, 8(r1) +/* 802CE6C4 002CB624 38 61 00 08 */ addi r3, r1, 8 +/* 802CE6C8 002CB628 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CE6CC 002CB62C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CE6D0 002CB630 48 00 0A 61 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison +/* 802CE6D4 002CB634 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE6D8 002CB638 7C 08 03 A6 */ mtlr r0 +/* 802CE6DC 002CB63C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE6E0 002CB640 4E 80 00 20 */ blr + +.global InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc +InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc: +/* 802CE6E4 002CB644 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE6E8 002CB648 7C 08 02 A6 */ mflr r0 +/* 802CE6EC 002CB64C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE6F0 002CB650 90 61 00 08 */ stw r3, 8(r1) +/* 802CE6F4 002CB654 38 61 00 08 */ addi r3, r1, 8 +/* 802CE6F8 002CB658 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CE6FC 002CB65C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CE700 002CB660 48 00 0B 69 */ bl InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison +/* 802CE704 002CB664 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE708 002CB668 7C 08 03 A6 */ mtlr r0 +/* 802CE70C 002CB66C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE710 002CB670 4E 80 00 20 */ blr + +.global CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo +CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo: +/* 802CE714 002CB674 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802CE718 002CB678 7C 08 02 A6 */ mflr r0 +/* 802CE71C 002CB67C 7C 68 1B 78 */ mr r8, r3 +/* 802CE720 002CB680 90 01 00 94 */ stw r0, 0x94(r1) +/* 802CE724 002CB684 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802CE728 002CB688 7C FF 3B 78 */ mr r31, r7 +/* 802CE72C 002CB68C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802CE730 002CB690 7C DE 33 78 */ mr r30, r6 +/* 802CE734 002CB694 93 A1 00 84 */ stw r29, 0x84(r1) +/* 802CE738 002CB698 7C BD 2B 78 */ mr r29, r5 +/* 802CE73C 002CB69C 93 81 00 80 */ stw r28, 0x80(r1) +/* 802CE740 002CB6A0 7C 9C 23 78 */ mr r28, r4 +/* 802CE744 002CB6A4 38 88 00 08 */ addi r4, r8, 8 +/* 802CE748 002CB6A8 80 63 00 00 */ lwz r3, 0(r3) +/* 802CE74C 002CB6AC 80 08 00 04 */ lwz r0, 4(r8) +/* 802CE750 002CB6B0 90 61 00 08 */ stw r3, 8(r1) +/* 802CE754 002CB6B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE758 002CB6B8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CE75C 002CB6BC 48 04 44 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE760 002CB6C0 80 BC 00 00 */ lwz r5, 0(r28) +/* 802CE764 002CB6C4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CE768 002CB6C8 80 1C 00 04 */ lwz r0, 4(r28) +/* 802CE76C 002CB6CC 38 9C 00 08 */ addi r4, r28, 8 +/* 802CE770 002CB6D0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CE774 002CB6D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CE778 002CB6D8 48 04 43 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE77C 002CB6DC 7F A4 EB 78 */ mr r4, r29 +/* 802CE780 002CB6E0 7F C5 F3 78 */ mr r5, r30 +/* 802CE784 002CB6E4 7F E6 FB 78 */ mr r6, r31 +/* 802CE788 002CB6E8 38 61 00 08 */ addi r3, r1, 8 +/* 802CE78C 002CB6EC 48 00 04 99 */ bl InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +/* 802CE790 002CB6F0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802CE794 002CB6F4 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802CE798 002CB6F8 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802CE79C 002CB6FC 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802CE7A0 002CB700 83 81 00 80 */ lwz r28, 0x80(r1) +/* 802CE7A4 002CB704 7C 08 03 A6 */ mtlr r0 +/* 802CE7A8 002CB708 38 21 00 90 */ addi r1, r1, 0x90 +/* 802CE7AC 002CB70C 4E 80 00 20 */ blr + +.global Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList +Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList: +/* 802CE7B0 002CB710 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802CE7B4 002CB714 7C 08 02 A6 */ mflr r0 +/* 802CE7B8 002CB718 7C 66 1B 78 */ mr r6, r3 +/* 802CE7BC 002CB71C 90 01 00 84 */ stw r0, 0x84(r1) +/* 802CE7C0 002CB720 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802CE7C4 002CB724 7C BF 2B 78 */ mr r31, r5 +/* 802CE7C8 002CB728 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802CE7CC 002CB72C 7C 9E 23 78 */ mr r30, r4 +/* 802CE7D0 002CB730 80 83 00 00 */ lwz r4, 0(r3) +/* 802CE7D4 002CB734 80 03 00 04 */ lwz r0, 4(r3) +/* 802CE7D8 002CB738 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE7DC 002CB73C 90 81 00 08 */ stw r4, 8(r1) +/* 802CE7E0 002CB740 38 86 00 08 */ addi r4, r6, 8 +/* 802CE7E4 002CB744 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CE7E8 002CB748 48 04 43 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE7EC 002CB74C 80 BE 00 00 */ lwz r5, 0(r30) +/* 802CE7F0 002CB750 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CE7F4 002CB754 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CE7F8 002CB758 38 9E 00 08 */ addi r4, r30, 8 +/* 802CE7FC 002CB75C 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CE800 002CB760 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CE804 002CB764 48 04 43 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE808 002CB768 7F E4 FB 78 */ mr r4, r31 +/* 802CE80C 002CB76C 38 61 00 08 */ addi r3, r1, 8 +/* 802CE810 002CB770 48 00 05 4D */ bl InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList +/* 802CE814 002CB774 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802CE818 002CB778 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802CE81C 002CB77C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802CE820 002CB780 7C 08 03 A6 */ mtlr r0 +/* 802CE824 002CB784 38 21 00 80 */ addi r1, r1, 0x80 +/* 802CE828 002CB788 4E 80 00 20 */ blr + +.global CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc +CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc: +/* 802CE82C 002CB78C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802CE830 002CB790 7C 08 02 A6 */ mflr r0 +/* 802CE834 002CB794 7C 66 1B 78 */ mr r6, r3 +/* 802CE838 002CB798 90 01 00 84 */ stw r0, 0x84(r1) +/* 802CE83C 002CB79C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802CE840 002CB7A0 7C 9F 23 78 */ mr r31, r4 +/* 802CE844 002CB7A4 38 86 00 08 */ addi r4, r6, 8 +/* 802CE848 002CB7A8 80 A3 00 00 */ lwz r5, 0(r3) +/* 802CE84C 002CB7AC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE850 002CB7B0 80 06 00 04 */ lwz r0, 4(r6) +/* 802CE854 002CB7B4 90 A1 00 08 */ stw r5, 8(r1) +/* 802CE858 002CB7B8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CE85C 002CB7BC 48 04 43 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE860 002CB7C0 80 BF 00 00 */ lwz r5, 0(r31) +/* 802CE864 002CB7C4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CE868 002CB7C8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CE86C 002CB7CC 38 9F 00 08 */ addi r4, r31, 8 +/* 802CE870 002CB7D0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CE874 002CB7D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CE878 002CB7D8 48 04 42 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE87C 002CB7DC 38 61 00 08 */ addi r3, r1, 8 +/* 802CE880 002CB7E0 48 00 00 E5 */ bl InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure +/* 802CE884 002CB7E4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802CE888 002CB7E8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802CE88C 002CB7EC 7C 08 03 A6 */ mtlr r0 +/* 802CE890 002CB7F0 38 21 00 80 */ addi r1, r1, 0x80 +/* 802CE894 002CB7F4 4E 80 00 20 */ blr + +.global Uninitialize__19CCollisionPrimitiveFv +Uninitialize__19CCollisionPrimitiveFv: +/* 802CE898 002CB7F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE89C 002CB7FC 7C 08 02 A6 */ mflr r0 +/* 802CE8A0 002CB800 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE8A4 002CB804 38 00 00 00 */ li r0, 0 +/* 802CE8A8 002CB808 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CE8AC 002CB80C 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) +/* 802CE8B0 002CB810 98 0D A6 54 */ stb r0, lbl_805A9214@sda21(r13) +/* 802CE8B4 002CB814 28 1F 00 00 */ cmplwi r31, 0 +/* 802CE8B8 002CB818 98 0D A6 58 */ stb r0, lbl_805A9218@sda21(r13) +/* 802CE8BC 002CB81C 98 0D A6 57 */ stb r0, lbl_805A9217@sda21(r13) +/* 802CE8C0 002CB820 98 0D A6 56 */ stb r0, lbl_805A9216@sda21(r13) +/* 802CE8C4 002CB824 98 0D A6 55 */ stb r0, lbl_805A9215@sda21(r13) +/* 802CE8C8 002CB828 90 0D A6 50 */ stw r0, lbl_805A9210@sda21(r13) +/* 802CE8CC 002CB82C 41 82 00 4C */ beq lbl_802CE918 +/* 802CE8D0 002CB830 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CE8D4 002CB834 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CE8D8 002CB838 54 00 18 38 */ slwi r0, r0, 3 +/* 802CE8DC 002CB83C 7C 03 02 14 */ add r0, r3, r0 +/* 802CE8E0 002CB840 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CE8E4 002CB844 7C 64 1B 78 */ mr r4, r3 +/* 802CE8E8 002CB848 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CE8EC 002CB84C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CE8F0 002CB850 90 61 00 08 */ stw r3, 8(r1) +/* 802CE8F4 002CB854 48 00 00 08 */ b lbl_802CE8FC +lbl_802CE8F8: +/* 802CE8F8 002CB858 38 84 00 08 */ addi r4, r4, 8 +lbl_802CE8FC: +/* 802CE8FC 002CB85C 7C 04 00 40 */ cmplw r4, r0 +/* 802CE900 002CB860 40 82 FF F8 */ bne lbl_802CE8F8 +/* 802CE904 002CB864 28 03 00 00 */ cmplwi r3, 0 +/* 802CE908 002CB868 41 82 00 08 */ beq lbl_802CE910 +/* 802CE90C 002CB86C 48 04 70 25 */ bl Free__7CMemoryFPCv +lbl_802CE910: +/* 802CE910 002CB870 7F E3 FB 78 */ mr r3, r31 +/* 802CE914 002CB874 48 04 70 1D */ bl Free__7CMemoryFPCv +lbl_802CE918: +/* 802CE918 002CB878 38 00 00 00 */ li r0, 0 +/* 802CE91C 002CB87C 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CE920 002CB880 90 0D A6 5C */ stw r0, lbl_805A921C@sda21(r13) +/* 802CE924 002CB884 48 04 70 0D */ bl Free__7CMemoryFPCv +/* 802CE928 002CB888 38 00 00 00 */ li r0, 0 +/* 802CE92C 002CB88C 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CE930 002CB890 90 0D A6 60 */ stw r0, lbl_805A9220@sda21(r13) +/* 802CE934 002CB894 48 04 6F FD */ bl Free__7CMemoryFPCv +/* 802CE938 002CB898 38 00 00 00 */ li r0, 0 +/* 802CE93C 002CB89C 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CE940 002CB8A0 90 0D A6 64 */ stw r0, lbl_805A9224@sda21(r13) +/* 802CE944 002CB8A4 48 04 6F ED */ bl Free__7CMemoryFPCv +/* 802CE948 002CB8A8 38 00 00 00 */ li r0, 0 +/* 802CE94C 002CB8AC 90 0D A6 68 */ stw r0, lbl_805A9228@sda21(r13) +/* 802CE950 002CB8B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE954 002CB8B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CE958 002CB8B8 7C 08 03 A6 */ mtlr r0 +/* 802CE95C 002CB8BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE960 002CB8C0 4E 80 00 20 */ blr + +.global InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure +InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure: +/* 802CE964 002CB8C4 94 21 F2 F0 */ stwu r1, -0xd10(r1) +/* 802CE968 002CB8C8 7C 08 02 A6 */ mflr r0 +/* 802CE96C 002CB8CC 90 01 0D 14 */ stw r0, 0xd14(r1) +/* 802CE970 002CB8D0 BF 21 0C F4 */ stmw r25, 0xcf4(r1) +/* 802CE974 002CB8D4 7C 7A 1B 78 */ mr r26, r3 +/* 802CE978 002CB8D8 83 C3 00 00 */ lwz r30, 0(r3) +/* 802CE97C 002CB8DC 83 A3 00 38 */ lwz r29, 0x38(r3) +/* 802CE980 002CB8E0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CE984 002CB8E4 7F C3 F3 78 */ mr r3, r30 +/* 802CE988 002CB8E8 83 9A 00 04 */ lwz r28, 4(r26) +/* 802CE98C 002CB8EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CE990 002CB8F0 83 7A 00 3C */ lwz r27, 0x3c(r26) +/* 802CE994 002CB8F4 7D 89 03 A6 */ mtctr r12 +/* 802CE998 002CB8F8 4E 80 04 21 */ bctrl +/* 802CE99C 002CB8FC 7C 7F 1B 78 */ mr r31, r3 +/* 802CE9A0 002CB900 7F A3 EB 78 */ mr r3, r29 +/* 802CE9A4 002CB904 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CE9A8 002CB908 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CE9AC 002CB90C 7D 89 03 A6 */ mtctr r12 +/* 802CE9B0 002CB910 4E 80 04 21 */ bctrl +/* 802CE9B4 002CB914 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CE9B8 002CB918 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CE9BC 002CB91C 41 82 00 10 */ beq lbl_802CE9CC +/* 802CE9C0 002CB920 3C 03 00 01 */ addis r0, r3, 1 +/* 802CE9C4 002CB924 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CE9C8 002CB928 40 82 00 14 */ bne lbl_802CE9DC +lbl_802CE9CC: +/* 802CE9CC 002CB92C 38 00 00 00 */ li r0, 0 +/* 802CE9D0 002CB930 38 8D A6 70 */ addi r4, r13, lbl_805A9230@sda21 +/* 802CE9D4 002CB934 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) +/* 802CE9D8 002CB938 48 00 00 1C */ b lbl_802CE9F4 +lbl_802CE9DC: +/* 802CE9DC 002CB93C 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CE9E0 002CB940 80 8D A6 64 */ lwz r4, lbl_805A9224@sda21(r13) +/* 802CE9E4 002CB944 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CE9E8 002CB948 7C 1F 02 14 */ add r0, r31, r0 +/* 802CE9EC 002CB94C 54 00 10 3A */ slwi r0, r0, 2 +/* 802CE9F0 002CB950 7C 84 02 14 */ add r4, r4, r0 +lbl_802CE9F4: +/* 802CE9F4 002CB954 83 24 00 00 */ lwz r25, 0(r4) +/* 802CE9F8 002CB958 28 19 00 00 */ cmplwi r25, 0 +/* 802CE9FC 002CB95C 41 82 00 70 */ beq lbl_802CEA6C +/* 802CEA00 002CB960 7F A3 EB 78 */ mr r3, r29 +/* 802CEA04 002CB964 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEA08 002CB968 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEA0C 002CB96C 7D 89 03 A6 */ mtctr r12 +/* 802CEA10 002CB970 4E 80 04 21 */ bctrl +/* 802CEA14 002CB974 7C 64 1B 78 */ mr r4, r3 +/* 802CEA18 002CB978 7F 83 E3 78 */ mr r3, r28 +/* 802CEA1C 002CB97C 48 00 69 31 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEA20 002CB980 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEA24 002CB984 41 82 00 2C */ beq lbl_802CEA50 +/* 802CEA28 002CB988 7F C3 F3 78 */ mr r3, r30 +/* 802CEA2C 002CB98C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEA30 002CB990 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEA34 002CB994 7D 89 03 A6 */ mtctr r12 +/* 802CEA38 002CB998 4E 80 04 21 */ bctrl +/* 802CEA3C 002CB99C 7C 64 1B 78 */ mr r4, r3 +/* 802CEA40 002CB9A0 7F 63 DB 78 */ mr r3, r27 +/* 802CEA44 002CB9A4 48 00 69 09 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEA48 002CB9A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEA4C 002CB9AC 40 82 00 0C */ bne lbl_802CEA58 +lbl_802CEA50: +/* 802CEA50 002CB9B0 38 60 00 00 */ li r3, 0 +/* 802CEA54 002CB9B4 48 00 01 BC */ b lbl_802CEC10 +lbl_802CEA58: +/* 802CEA58 002CB9B8 7F 2C CB 78 */ mr r12, r25 +/* 802CEA5C 002CB9BC 7F 43 D3 78 */ mr r3, r26 +/* 802CEA60 002CB9C0 7D 89 03 A6 */ mtctr r12 +/* 802CEA64 002CB9C4 4E 80 04 21 */ bctrl +/* 802CEA68 002CB9C8 48 00 01 A8 */ b lbl_802CEC10 +lbl_802CEA6C: +/* 802CEA6C 002CB9CC 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEA70 002CB9D0 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEA74 002CB9D4 41 82 00 10 */ beq lbl_802CEA84 +/* 802CEA78 002CB9D8 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CEA7C 002CB9DC 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEA80 002CB9E0 40 82 00 14 */ bne lbl_802CEA94 +lbl_802CEA84: +/* 802CEA84 002CB9E4 38 00 00 00 */ li r0, 0 +/* 802CEA88 002CB9E8 38 6D A6 70 */ addi r3, r13, lbl_805A9230@sda21 +/* 802CEA8C 002CB9EC 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) +/* 802CEA90 002CB9F0 48 00 00 1C */ b lbl_802CEAAC +lbl_802CEA94: +/* 802CEA94 002CB9F4 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CEA98 002CB9F8 80 8D A6 64 */ lwz r4, lbl_805A9224@sda21(r13) +/* 802CEA9C 002CB9FC 7C 1F 01 D6 */ mullw r0, r31, r0 +/* 802CEAA0 002CBA00 7C 03 02 14 */ add r0, r3, r0 +/* 802CEAA4 002CBA04 54 00 10 3A */ slwi r0, r0, 2 +/* 802CEAA8 002CBA08 7C 64 02 14 */ add r3, r4, r0 +lbl_802CEAAC: +/* 802CEAAC 002CBA0C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CEAB0 002CBA10 28 1F 00 00 */ cmplwi r31, 0 +/* 802CEAB4 002CBA14 41 82 00 F4 */ beq lbl_802CEBA8 +/* 802CEAB8 002CBA18 7F A3 EB 78 */ mr r3, r29 +/* 802CEABC 002CBA1C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEAC0 002CBA20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEAC4 002CBA24 7D 89 03 A6 */ mtctr r12 +/* 802CEAC8 002CBA28 4E 80 04 21 */ bctrl +/* 802CEACC 002CBA2C 7C 64 1B 78 */ mr r4, r3 +/* 802CEAD0 002CBA30 7F 83 E3 78 */ mr r3, r28 +/* 802CEAD4 002CBA34 48 00 68 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEAD8 002CBA38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEADC 002CBA3C 41 82 00 2C */ beq lbl_802CEB08 +/* 802CEAE0 002CBA40 7F C3 F3 78 */ mr r3, r30 +/* 802CEAE4 002CBA44 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEAE8 002CBA48 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEAEC 002CBA4C 7D 89 03 A6 */ mtctr r12 +/* 802CEAF0 002CBA50 4E 80 04 21 */ bctrl +/* 802CEAF4 002CBA54 7C 64 1B 78 */ mr r4, r3 +/* 802CEAF8 002CBA58 7F 63 DB 78 */ mr r3, r27 +/* 802CEAFC 002CBA5C 48 00 68 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEB00 002CBA60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEB04 002CBA64 40 82 00 0C */ bne lbl_802CEB10 +lbl_802CEB08: +/* 802CEB08 002CBA68 38 60 00 00 */ li r3, 0 +/* 802CEB0C 002CBA6C 48 00 01 04 */ b lbl_802CEC10 +lbl_802CEB10: +/* 802CEB10 002CBA70 80 9A 00 38 */ lwz r4, 0x38(r26) +/* 802CEB14 002CBA74 3B 61 00 10 */ addi r27, r1, 0x10 +/* 802CEB18 002CBA78 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 802CEB1C 002CBA7C 7F 63 DB 78 */ mr r3, r27 +/* 802CEB20 002CBA80 90 81 00 08 */ stw r4, 8(r1) +/* 802CEB24 002CBA84 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802CEB28 002CBA88 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CEB2C 002CBA8C 48 04 40 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB30 002CBA90 80 BA 00 00 */ lwz r5, 0(r26) +/* 802CEB34 002CBA94 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CEB38 002CBA98 80 1A 00 04 */ lwz r0, 4(r26) +/* 802CEB3C 002CBA9C 38 9A 00 08 */ addi r4, r26, 8 +/* 802CEB40 002CBAA0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CEB44 002CBAA4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CEB48 002CBAA8 48 04 40 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB4C 002CBAAC 80 A1 00 08 */ lwz r5, 8(r1) +/* 802CEB50 002CBAB0 7F 64 DB 78 */ mr r4, r27 +/* 802CEB54 002CBAB4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802CEB58 002CBAB8 38 61 00 80 */ addi r3, r1, 0x80 +/* 802CEB5C 002CBABC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802CEB60 002CBAC0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802CEB64 002CBAC4 48 04 40 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB68 002CBAC8 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802CEB6C 002CBACC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802CEB70 002CBAD0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CEB74 002CBAD4 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CEB78 002CBAD8 90 A1 00 B0 */ stw r5, 0xb0(r1) +/* 802CEB7C 002CBADC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802CEB80 002CBAE0 48 04 3F F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB84 002CBAE4 7F EC FB 78 */ mr r12, r31 +/* 802CEB88 002CBAE8 38 61 00 78 */ addi r3, r1, 0x78 +/* 802CEB8C 002CBAEC 7D 89 03 A6 */ mtctr r12 +/* 802CEB90 002CBAF0 4E 80 04 21 */ bctrl +/* 802CEB94 002CBAF4 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802CEB98 002CBAF8 7C 03 00 D0 */ neg r0, r3 +/* 802CEB9C 002CBAFC 7C 00 1B 78 */ or r0, r0, r3 +/* 802CEBA0 002CBB00 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802CEBA4 002CBB04 48 00 00 6C */ b lbl_802CEC10 +lbl_802CEBA8: +/* 802CEBA8 002CBB08 38 00 00 00 */ li r0, 0 +/* 802CEBAC 002CBB0C 7F 43 D3 78 */ mr r3, r26 +/* 802CEBB0 002CBB10 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 802CEBB4 002CBB14 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 802CEBB8 002CBB18 48 00 01 A5 */ bl InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList +/* 802CEBBC 002CBB1C 80 C1 00 E8 */ lwz r6, 0xe8(r1) +/* 802CEBC0 002CBB20 38 80 00 00 */ li r4, 0 +/* 802CEBC4 002CBB24 2C 06 00 00 */ cmpwi r6, 0 +/* 802CEBC8 002CBB28 40 81 00 40 */ ble lbl_802CEC08 +/* 802CEBCC 002CBB2C 2C 06 00 08 */ cmpwi r6, 8 +/* 802CEBD0 002CBB30 38 A6 FF F8 */ addi r5, r6, -8 +/* 802CEBD4 002CBB34 40 81 00 20 */ ble lbl_802CEBF4 +/* 802CEBD8 002CBB38 38 05 00 07 */ addi r0, r5, 7 +/* 802CEBDC 002CBB3C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CEBE0 002CBB40 7C 09 03 A6 */ mtctr r0 +/* 802CEBE4 002CBB44 2C 05 00 00 */ cmpwi r5, 0 +/* 802CEBE8 002CBB48 40 81 00 0C */ ble lbl_802CEBF4 +lbl_802CEBEC: +/* 802CEBEC 002CBB4C 38 84 00 08 */ addi r4, r4, 8 +/* 802CEBF0 002CBB50 42 00 FF FC */ bdnz lbl_802CEBEC +lbl_802CEBF4: +/* 802CEBF4 002CBB54 7C 04 30 50 */ subf r0, r4, r6 +/* 802CEBF8 002CBB58 7C 09 03 A6 */ mtctr r0 +/* 802CEBFC 002CBB5C 7C 04 30 00 */ cmpw r4, r6 +/* 802CEC00 002CBB60 40 80 00 08 */ bge lbl_802CEC08 +lbl_802CEC04: +/* 802CEC04 002CBB64 42 00 00 00 */ bdnz lbl_802CEC04 +lbl_802CEC08: +/* 802CEC08 002CBB68 38 00 00 00 */ li r0, 0 +/* 802CEC0C 002CBB6C 90 01 00 E8 */ stw r0, 0xe8(r1) +lbl_802CEC10: +/* 802CEC10 002CBB70 BB 21 0C F4 */ lmw r25, 0xcf4(r1) +/* 802CEC14 002CBB74 80 01 0D 14 */ lwz r0, 0xd14(r1) +/* 802CEC18 002CBB78 7C 08 03 A6 */ mtlr r0 +/* 802CEC1C 002CBB7C 38 21 0D 10 */ addi r1, r1, 0xd10 +/* 802CEC20 002CBB80 4E 80 00 20 */ blr + +.global InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802CEC24 002CBB84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CEC28 002CBB88 7C 08 02 A6 */ mflr r0 +/* 802CEC2C 002CBB8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CEC30 002CBB90 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802CEC34 002CBB94 7C 79 1B 78 */ mr r25, r3 +/* 802CEC38 002CBB98 7C 9A 23 78 */ mr r26, r4 +/* 802CEC3C 002CBB9C 7C BB 2B 78 */ mr r27, r5 +/* 802CEC40 002CBBA0 7C DC 33 78 */ mr r28, r6 +/* 802CEC44 002CBBA4 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CEC48 002CBBA8 82 E3 00 38 */ lwz r23, 0x38(r3) +/* 802CEC4C 002CBBAC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802CEC50 002CBBB0 7F E3 FB 78 */ mr r3, r31 +/* 802CEC54 002CBBB4 83 D9 00 04 */ lwz r30, 4(r25) +/* 802CEC58 002CBBB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CEC5C 002CBBBC 83 B9 00 3C */ lwz r29, 0x3c(r25) +/* 802CEC60 002CBBC0 7D 89 03 A6 */ mtctr r12 +/* 802CEC64 002CBBC4 4E 80 04 21 */ bctrl +/* 802CEC68 002CBBC8 7C 78 1B 78 */ mr r24, r3 +/* 802CEC6C 002CBBCC 7E E3 BB 78 */ mr r3, r23 +/* 802CEC70 002CBBD0 81 97 00 00 */ lwz r12, 0(r23) +/* 802CEC74 002CBBD4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CEC78 002CBBD8 7D 89 03 A6 */ mtctr r12 +/* 802CEC7C 002CBBDC 4E 80 04 21 */ bctrl +/* 802CEC80 002CBBE0 3C 18 00 01 */ addis r0, r24, 1 +/* 802CEC84 002CBBE4 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEC88 002CBBE8 41 82 00 10 */ beq lbl_802CEC98 +/* 802CEC8C 002CBBEC 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEC90 002CBBF0 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEC94 002CBBF4 40 82 00 14 */ bne lbl_802CECA8 +lbl_802CEC98: +/* 802CEC98 002CBBF8 38 00 00 00 */ li r0, 0 +/* 802CEC9C 002CBBFC 38 6D A6 74 */ addi r3, r13, lbl_805A9234@sda21 +/* 802CECA0 002CBC00 90 0D A6 74 */ stw r0, lbl_805A9234@sda21(r13) +/* 802CECA4 002CBC04 48 00 00 1C */ b lbl_802CECC0 +lbl_802CECA8: +/* 802CECA8 002CBC08 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CECAC 002CBC0C 80 8D A6 68 */ lwz r4, lbl_805A9228@sda21(r13) +/* 802CECB0 002CBC10 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CECB4 002CBC14 7C 18 02 14 */ add r0, r24, r0 +/* 802CECB8 002CBC18 54 00 10 3A */ slwi r0, r0, 2 +/* 802CECBC 002CBC1C 7C 64 02 14 */ add r3, r4, r0 +lbl_802CECC0: +/* 802CECC0 002CBC20 83 03 00 00 */ lwz r24, 0(r3) +/* 802CECC4 002CBC24 28 18 00 00 */ cmplwi r24, 0 +/* 802CECC8 002CBC28 41 82 00 7C */ beq lbl_802CED44 +/* 802CECCC 002CBC2C 7E E3 BB 78 */ mr r3, r23 +/* 802CECD0 002CBC30 81 97 00 00 */ lwz r12, 0(r23) +/* 802CECD4 002CBC34 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CECD8 002CBC38 7D 89 03 A6 */ mtctr r12 +/* 802CECDC 002CBC3C 4E 80 04 21 */ bctrl +/* 802CECE0 002CBC40 7C 64 1B 78 */ mr r4, r3 +/* 802CECE4 002CBC44 7F C3 F3 78 */ mr r3, r30 +/* 802CECE8 002CBC48 48 00 66 65 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CECEC 002CBC4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CECF0 002CBC50 41 82 00 2C */ beq lbl_802CED1C +/* 802CECF4 002CBC54 7F E3 FB 78 */ mr r3, r31 +/* 802CECF8 002CBC58 81 9F 00 00 */ lwz r12, 0(r31) +/* 802CECFC 002CBC5C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CED00 002CBC60 7D 89 03 A6 */ mtctr r12 +/* 802CED04 002CBC64 4E 80 04 21 */ bctrl +/* 802CED08 002CBC68 7C 64 1B 78 */ mr r4, r3 +/* 802CED0C 002CBC6C 7F A3 EB 78 */ mr r3, r29 +/* 802CED10 002CBC70 48 00 66 3D */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CED14 002CBC74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CED18 002CBC78 40 82 00 0C */ bne lbl_802CED24 +lbl_802CED1C: +/* 802CED1C 002CBC7C 38 60 00 00 */ li r3, 0 +/* 802CED20 002CBC80 48 00 00 28 */ b lbl_802CED48 +lbl_802CED24: +/* 802CED24 002CBC84 7F 0C C3 78 */ mr r12, r24 +/* 802CED28 002CBC88 7F 23 CB 78 */ mr r3, r25 +/* 802CED2C 002CBC8C 7F 44 D3 78 */ mr r4, r26 +/* 802CED30 002CBC90 7F 65 DB 78 */ mr r5, r27 +/* 802CED34 002CBC94 7F 86 E3 78 */ mr r6, r28 +/* 802CED38 002CBC98 7D 89 03 A6 */ mtctr r12 +/* 802CED3C 002CBC9C 4E 80 04 21 */ bctrl +/* 802CED40 002CBCA0 48 00 00 08 */ b lbl_802CED48 +lbl_802CED44: +/* 802CED44 002CBCA4 38 60 00 00 */ li r3, 0 +lbl_802CED48: +/* 802CED48 002CBCA8 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802CED4C 002CBCAC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CED50 002CBCB0 7C 08 03 A6 */ mtlr r0 +/* 802CED54 002CBCB4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CED58 002CBCB8 4E 80 00 20 */ blr + +.global InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList +InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802CED5C 002CBCBC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802CED60 002CBCC0 7C 08 02 A6 */ mflr r0 +/* 802CED64 002CBCC4 90 01 01 14 */ stw r0, 0x114(r1) +/* 802CED68 002CBCC8 BF 01 00 F0 */ stmw r24, 0xf0(r1) +/* 802CED6C 002CBCCC 7C 79 1B 78 */ mr r25, r3 +/* 802CED70 002CBCD0 7C 9A 23 78 */ mr r26, r4 +/* 802CED74 002CBCD4 83 C3 00 00 */ lwz r30, 0(r3) +/* 802CED78 002CBCD8 83 A3 00 38 */ lwz r29, 0x38(r3) +/* 802CED7C 002CBCDC 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CED80 002CBCE0 7F C3 F3 78 */ mr r3, r30 +/* 802CED84 002CBCE4 83 99 00 04 */ lwz r28, 4(r25) +/* 802CED88 002CBCE8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CED8C 002CBCEC 83 79 00 3C */ lwz r27, 0x3c(r25) +/* 802CED90 002CBCF0 7D 89 03 A6 */ mtctr r12 +/* 802CED94 002CBCF4 4E 80 04 21 */ bctrl +/* 802CED98 002CBCF8 7C 7F 1B 78 */ mr r31, r3 +/* 802CED9C 002CBCFC 7F A3 EB 78 */ mr r3, r29 +/* 802CEDA0 002CBD00 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEDA4 002CBD04 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CEDA8 002CBD08 7D 89 03 A6 */ mtctr r12 +/* 802CEDAC 002CBD0C 4E 80 04 21 */ bctrl +/* 802CEDB0 002CBD10 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CEDB4 002CBD14 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEDB8 002CBD18 41 82 00 10 */ beq lbl_802CEDC8 +/* 802CEDBC 002CBD1C 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEDC0 002CBD20 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEDC4 002CBD24 40 82 00 14 */ bne lbl_802CEDD8 +lbl_802CEDC8: +/* 802CEDC8 002CBD28 38 00 00 00 */ li r0, 0 +/* 802CEDCC 002CBD2C 38 8D A6 6C */ addi r4, r13, lbl_805A922C@sda21 +/* 802CEDD0 002CBD30 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +/* 802CEDD4 002CBD34 48 00 00 1C */ b lbl_802CEDF0 +lbl_802CEDD8: +/* 802CEDD8 002CBD38 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CEDDC 002CBD3C 80 8D A6 60 */ lwz r4, lbl_805A9220@sda21(r13) +/* 802CEDE0 002CBD40 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CEDE4 002CBD44 7C 1F 02 14 */ add r0, r31, r0 +/* 802CEDE8 002CBD48 54 00 10 3A */ slwi r0, r0, 2 +/* 802CEDEC 002CBD4C 7C 84 02 14 */ add r4, r4, r0 +lbl_802CEDF0: +/* 802CEDF0 002CBD50 83 04 00 00 */ lwz r24, 0(r4) +/* 802CEDF4 002CBD54 28 18 00 00 */ cmplwi r24, 0 +/* 802CEDF8 002CBD58 41 82 00 74 */ beq lbl_802CEE6C +/* 802CEDFC 002CBD5C 7F A3 EB 78 */ mr r3, r29 +/* 802CEE00 002CBD60 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEE04 002CBD64 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEE08 002CBD68 7D 89 03 A6 */ mtctr r12 +/* 802CEE0C 002CBD6C 4E 80 04 21 */ bctrl +/* 802CEE10 002CBD70 7C 64 1B 78 */ mr r4, r3 +/* 802CEE14 002CBD74 7F 83 E3 78 */ mr r3, r28 +/* 802CEE18 002CBD78 48 00 65 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEE1C 002CBD7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEE20 002CBD80 41 82 00 2C */ beq lbl_802CEE4C +/* 802CEE24 002CBD84 7F C3 F3 78 */ mr r3, r30 +/* 802CEE28 002CBD88 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEE2C 002CBD8C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEE30 002CBD90 7D 89 03 A6 */ mtctr r12 +/* 802CEE34 002CBD94 4E 80 04 21 */ bctrl +/* 802CEE38 002CBD98 7C 64 1B 78 */ mr r4, r3 +/* 802CEE3C 002CBD9C 7F 63 DB 78 */ mr r3, r27 +/* 802CEE40 002CBDA0 48 00 65 0D */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEE44 002CBDA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEE48 002CBDA8 40 82 00 0C */ bne lbl_802CEE54 +lbl_802CEE4C: +/* 802CEE4C 002CBDAC 38 60 00 00 */ li r3, 0 +/* 802CEE50 002CBDB0 48 00 01 94 */ b lbl_802CEFE4 +lbl_802CEE54: +/* 802CEE54 002CBDB4 7F 0C C3 78 */ mr r12, r24 +/* 802CEE58 002CBDB8 7F 23 CB 78 */ mr r3, r25 +/* 802CEE5C 002CBDBC 7F 44 D3 78 */ mr r4, r26 +/* 802CEE60 002CBDC0 7D 89 03 A6 */ mtctr r12 +/* 802CEE64 002CBDC4 4E 80 04 21 */ bctrl +/* 802CEE68 002CBDC8 48 00 01 7C */ b lbl_802CEFE4 +lbl_802CEE6C: +/* 802CEE6C 002CBDCC 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEE70 002CBDD0 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEE74 002CBDD4 41 82 00 10 */ beq lbl_802CEE84 +/* 802CEE78 002CBDD8 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CEE7C 002CBDDC 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEE80 002CBDE0 40 82 00 14 */ bne lbl_802CEE94 +lbl_802CEE84: +/* 802CEE84 002CBDE4 38 00 00 00 */ li r0, 0 +/* 802CEE88 002CBDE8 38 6D A6 6C */ addi r3, r13, lbl_805A922C@sda21 +/* 802CEE8C 002CBDEC 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +/* 802CEE90 002CBDF0 48 00 00 1C */ b lbl_802CEEAC +lbl_802CEE94: +/* 802CEE94 002CBDF4 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CEE98 002CBDF8 80 8D A6 60 */ lwz r4, lbl_805A9220@sda21(r13) +/* 802CEE9C 002CBDFC 7C 1F 01 D6 */ mullw r0, r31, r0 +/* 802CEEA0 002CBE00 7C 03 02 14 */ add r0, r3, r0 +/* 802CEEA4 002CBE04 54 00 10 3A */ slwi r0, r0, 2 +/* 802CEEA8 002CBE08 7C 64 02 14 */ add r3, r4, r0 +lbl_802CEEAC: +/* 802CEEAC 002CBE0C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CEEB0 002CBE10 28 1F 00 00 */ cmplwi r31, 0 +/* 802CEEB4 002CBE14 41 82 01 2C */ beq lbl_802CEFE0 +/* 802CEEB8 002CBE18 7F A3 EB 78 */ mr r3, r29 +/* 802CEEBC 002CBE1C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEEC0 002CBE20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEEC4 002CBE24 7D 89 03 A6 */ mtctr r12 +/* 802CEEC8 002CBE28 4E 80 04 21 */ bctrl +/* 802CEECC 002CBE2C 7C 64 1B 78 */ mr r4, r3 +/* 802CEED0 002CBE30 7F 83 E3 78 */ mr r3, r28 +/* 802CEED4 002CBE34 48 00 64 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEED8 002CBE38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEEDC 002CBE3C 41 82 00 2C */ beq lbl_802CEF08 +/* 802CEEE0 002CBE40 7F C3 F3 78 */ mr r3, r30 +/* 802CEEE4 002CBE44 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEEE8 002CBE48 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEEEC 002CBE4C 7D 89 03 A6 */ mtctr r12 +/* 802CEEF0 002CBE50 4E 80 04 21 */ bctrl +/* 802CEEF4 002CBE54 7C 64 1B 78 */ mr r4, r3 +/* 802CEEF8 002CBE58 7F 63 DB 78 */ mr r3, r27 +/* 802CEEFC 002CBE5C 48 00 64 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEF00 002CBE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEF04 002CBE64 40 82 00 0C */ bne lbl_802CEF10 +lbl_802CEF08: +/* 802CEF08 002CBE68 38 60 00 00 */ li r3, 0 +/* 802CEF0C 002CBE6C 48 00 00 D8 */ b lbl_802CEFE4 +lbl_802CEF10: +/* 802CEF10 002CBE70 80 99 00 38 */ lwz r4, 0x38(r25) +/* 802CEF14 002CBE74 3B 61 00 10 */ addi r27, r1, 0x10 +/* 802CEF18 002CBE78 80 19 00 3C */ lwz r0, 0x3c(r25) +/* 802CEF1C 002CBE7C 7F 63 DB 78 */ mr r3, r27 +/* 802CEF20 002CBE80 90 81 00 08 */ stw r4, 8(r1) +/* 802CEF24 002CBE84 38 99 00 40 */ addi r4, r25, 0x40 +/* 802CEF28 002CBE88 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CEF2C 002CBE8C 48 04 3C 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF30 002CBE90 80 B9 00 00 */ lwz r5, 0(r25) +/* 802CEF34 002CBE94 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CEF38 002CBE98 80 19 00 04 */ lwz r0, 4(r25) +/* 802CEF3C 002CBE9C 38 99 00 08 */ addi r4, r25, 8 +/* 802CEF40 002CBEA0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CEF44 002CBEA4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CEF48 002CBEA8 48 04 3C 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF4C 002CBEAC 80 A1 00 08 */ lwz r5, 8(r1) +/* 802CEF50 002CBEB0 7F 64 DB 78 */ mr r4, r27 +/* 802CEF54 002CBEB4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802CEF58 002CBEB8 38 61 00 80 */ addi r3, r1, 0x80 +/* 802CEF5C 002CBEBC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802CEF60 002CBEC0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802CEF64 002CBEC4 48 04 3C 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF68 002CBEC8 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802CEF6C 002CBECC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802CEF70 002CBED0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CEF74 002CBED4 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CEF78 002CBED8 90 A1 00 B0 */ stw r5, 0xb0(r1) +/* 802CEF7C 002CBEDC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802CEF80 002CBEE0 48 04 3B F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF84 002CBEE4 7F EC FB 78 */ mr r12, r31 +/* 802CEF88 002CBEE8 7F 44 D3 78 */ mr r4, r26 +/* 802CEF8C 002CBEEC 38 61 00 78 */ addi r3, r1, 0x78 +/* 802CEF90 002CBEF0 83 3A 00 00 */ lwz r25, 0(r26) +/* 802CEF94 002CBEF4 7D 89 03 A6 */ mtctr r12 +/* 802CEF98 002CBEF8 4E 80 04 21 */ bctrl +/* 802CEF9C 002CBEFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEFA0 002CBF00 41 82 00 38 */ beq lbl_802CEFD8 +/* 802CEFA4 002CBF04 1C 19 00 60 */ mulli r0, r25, 0x60 +/* 802CEFA8 002CBF08 7F 7A 02 14 */ add r27, r26, r0 +/* 802CEFAC 002CBF0C 3B 7B 00 04 */ addi r27, r27, 4 +/* 802CEFB0 002CBF10 48 00 00 14 */ b lbl_802CEFC4 +lbl_802CEFB4: +/* 802CEFB4 002CBF14 7F 63 DB 78 */ mr r3, r27 +/* 802CEFB8 002CBF18 4B FF F1 01 */ bl Swap__14CCollisionInfoFv +/* 802CEFBC 002CBF1C 3B 7B 00 60 */ addi r27, r27, 0x60 +/* 802CEFC0 002CBF20 3B 39 00 01 */ addi r25, r25, 1 +lbl_802CEFC4: +/* 802CEFC4 002CBF24 80 1A 00 00 */ lwz r0, 0(r26) +/* 802CEFC8 002CBF28 7C 19 00 00 */ cmpw r25, r0 +/* 802CEFCC 002CBF2C 41 80 FF E8 */ blt lbl_802CEFB4 +/* 802CEFD0 002CBF30 38 60 00 01 */ li r3, 1 +/* 802CEFD4 002CBF34 48 00 00 10 */ b lbl_802CEFE4 +lbl_802CEFD8: +/* 802CEFD8 002CBF38 38 60 00 00 */ li r3, 0 +/* 802CEFDC 002CBF3C 48 00 00 08 */ b lbl_802CEFE4 +lbl_802CEFE0: +/* 802CEFE0 002CBF40 38 60 00 00 */ li r3, 0 +lbl_802CEFE4: +/* 802CEFE4 002CBF44 BB 01 00 F0 */ lmw r24, 0xf0(r1) +/* 802CEFE8 002CBF48 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802CEFEC 002CBF4C 7C 08 03 A6 */ mtlr r0 +/* 802CEFF0 002CBF50 38 21 01 10 */ addi r1, r1, 0x110 +/* 802CEFF4 002CBF54 4E 80 00 20 */ blr + +.global InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison +InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison: +/* 802CEFF8 002CBF58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CEFFC 002CBF5C 7C 08 02 A6 */ mflr r0 +/* 802CF000 002CBF60 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF004 002CBF64 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802CF008 002CBF68 3B A0 00 00 */ li r29, 0 +/* 802CF00C 002CBF6C 7C 7F 1B 78 */ mr r31, r3 +/* 802CF010 002CBF70 7F BC EB 78 */ mr r28, r29 +/* 802CF014 002CBF74 83 C3 00 04 */ lwz r30, 4(r3) +/* 802CF018 002CBF78 48 00 00 2C */ b lbl_802CF044 +lbl_802CF01C: +/* 802CF01C 002CBF7C 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF020 002CBF80 38 1C 00 04 */ addi r0, r28, 4 +/* 802CF024 002CBF84 7F C4 F3 78 */ mr r4, r30 +/* 802CF028 002CBF88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF02C 002CBF8C 48 0C 0F 71 */ bl strcmp +/* 802CF030 002CBF90 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF034 002CBF94 40 82 00 08 */ bne lbl_802CF03C +/* 802CF038 002CBF98 48 00 00 20 */ b lbl_802CF058 +lbl_802CF03C: +/* 802CF03C 002CBF9C 3B 9C 00 08 */ addi r28, r28, 8 +/* 802CF040 002CBFA0 3B BD 00 01 */ addi r29, r29, 1 +lbl_802CF044: +/* 802CF044 002CBFA4 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF048 002CBFA8 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF04C 002CBFAC 7C 1D 00 00 */ cmpw r29, r0 +/* 802CF050 002CBFB0 41 80 FF CC */ blt lbl_802CF01C +/* 802CF054 002CBFB4 3B A0 FF FF */ li r29, -1 +lbl_802CF058: +/* 802CF058 002CBFB8 3B 80 00 00 */ li r28, 0 +/* 802CF05C 002CBFBC 83 DF 00 08 */ lwz r30, 8(r31) +/* 802CF060 002CBFC0 7F 9B E3 78 */ mr r27, r28 +/* 802CF064 002CBFC4 48 00 00 2C */ b lbl_802CF090 +lbl_802CF068: +/* 802CF068 002CBFC8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF06C 002CBFCC 38 1B 00 04 */ addi r0, r27, 4 +/* 802CF070 002CBFD0 7F C4 F3 78 */ mr r4, r30 +/* 802CF074 002CBFD4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF078 002CBFD8 48 0C 0F 25 */ bl strcmp +/* 802CF07C 002CBFDC 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF080 002CBFE0 40 82 00 08 */ bne lbl_802CF088 +/* 802CF084 002CBFE4 48 00 00 20 */ b lbl_802CF0A4 +lbl_802CF088: +/* 802CF088 002CBFE8 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CF08C 002CBFEC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CF090: +/* 802CF090 002CBFF0 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF094 002CBFF4 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF098 002CBFF8 7C 1C 00 00 */ cmpw r28, r0 +/* 802CF09C 002CBFFC 41 80 FF CC */ blt lbl_802CF068 +/* 802CF0A0 002CC000 3B 80 FF FF */ li r28, -1 +lbl_802CF0A4: +/* 802CF0A4 002CC004 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) +/* 802CF0A8 002CC008 38 00 00 00 */ li r0, 0 +/* 802CF0AC 002CC00C 7C 1D 18 00 */ cmpw r29, r3 +/* 802CF0B0 002CC010 40 80 00 20 */ bge lbl_802CF0D0 +/* 802CF0B4 002CC014 7C 1C 18 00 */ cmpw r28, r3 +/* 802CF0B8 002CC018 40 80 00 18 */ bge lbl_802CF0D0 +/* 802CF0BC 002CC01C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CF0C0 002CC020 41 80 00 10 */ blt lbl_802CF0D0 +/* 802CF0C4 002CC024 2C 1C 00 00 */ cmpwi r28, 0 +/* 802CF0C8 002CC028 41 80 00 08 */ blt lbl_802CF0D0 +/* 802CF0CC 002CC02C 38 00 00 01 */ li r0, 1 +lbl_802CF0D0: +/* 802CF0D0 002CC030 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802CF0D4 002CC034 41 82 00 48 */ beq lbl_802CF11C +/* 802CF0D8 002CC038 3C 1D 00 01 */ addis r0, r29, 1 +/* 802CF0DC 002CC03C 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF0E0 002CC040 41 82 00 10 */ beq lbl_802CF0F0 +/* 802CF0E4 002CC044 3C 1C 00 01 */ addis r0, r28, 1 +/* 802CF0E8 002CC048 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF0EC 002CC04C 40 82 00 14 */ bne lbl_802CF100 +lbl_802CF0F0: +/* 802CF0F0 002CC050 38 00 00 00 */ li r0, 0 +/* 802CF0F4 002CC054 38 6D A6 74 */ addi r3, r13, lbl_805A9234@sda21 +/* 802CF0F8 002CC058 90 0D A6 74 */ stw r0, lbl_805A9234@sda21(r13) +/* 802CF0FC 002CC05C 48 00 00 18 */ b lbl_802CF114 +lbl_802CF100: +/* 802CF100 002CC060 7C 1C 19 D6 */ mullw r0, r28, r3 +/* 802CF104 002CC064 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CF108 002CC068 7C 1D 02 14 */ add r0, r29, r0 +/* 802CF10C 002CC06C 54 00 10 3A */ slwi r0, r0, 2 +/* 802CF110 002CC070 7C 63 02 14 */ add r3, r3, r0 +lbl_802CF114: +/* 802CF114 002CC074 80 1F 00 00 */ lwz r0, 0(r31) +/* 802CF118 002CC078 90 03 00 00 */ stw r0, 0(r3) +lbl_802CF11C: +/* 802CF11C 002CC07C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802CF120 002CC080 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF124 002CC084 7C 08 03 A6 */ mtlr r0 +/* 802CF128 002CC088 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF12C 002CC08C 4E 80 00 20 */ blr + +.global InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison +InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison: +/* 802CF130 002CC090 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CF134 002CC094 7C 08 02 A6 */ mflr r0 +/* 802CF138 002CC098 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF13C 002CC09C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802CF140 002CC0A0 3B A0 00 00 */ li r29, 0 +/* 802CF144 002CC0A4 7C 7F 1B 78 */ mr r31, r3 +/* 802CF148 002CC0A8 7F BC EB 78 */ mr r28, r29 +/* 802CF14C 002CC0AC 83 C3 00 04 */ lwz r30, 4(r3) +/* 802CF150 002CC0B0 48 00 00 2C */ b lbl_802CF17C +lbl_802CF154: +/* 802CF154 002CC0B4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF158 002CC0B8 38 1C 00 04 */ addi r0, r28, 4 +/* 802CF15C 002CC0BC 7F C4 F3 78 */ mr r4, r30 +/* 802CF160 002CC0C0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF164 002CC0C4 48 0C 0E 39 */ bl strcmp +/* 802CF168 002CC0C8 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF16C 002CC0CC 40 82 00 08 */ bne lbl_802CF174 +/* 802CF170 002CC0D0 48 00 00 20 */ b lbl_802CF190 +lbl_802CF174: +/* 802CF174 002CC0D4 3B 9C 00 08 */ addi r28, r28, 8 +/* 802CF178 002CC0D8 3B BD 00 01 */ addi r29, r29, 1 +lbl_802CF17C: +/* 802CF17C 002CC0DC 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF180 002CC0E0 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF184 002CC0E4 7C 1D 00 00 */ cmpw r29, r0 +/* 802CF188 002CC0E8 41 80 FF CC */ blt lbl_802CF154 +/* 802CF18C 002CC0EC 3B A0 FF FF */ li r29, -1 +lbl_802CF190: +/* 802CF190 002CC0F0 3B 80 00 00 */ li r28, 0 +/* 802CF194 002CC0F4 83 DF 00 08 */ lwz r30, 8(r31) +/* 802CF198 002CC0F8 7F 9B E3 78 */ mr r27, r28 +/* 802CF19C 002CC0FC 48 00 00 2C */ b lbl_802CF1C8 +lbl_802CF1A0: +/* 802CF1A0 002CC100 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF1A4 002CC104 38 1B 00 04 */ addi r0, r27, 4 +/* 802CF1A8 002CC108 7F C4 F3 78 */ mr r4, r30 +/* 802CF1AC 002CC10C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF1B0 002CC110 48 0C 0D ED */ bl strcmp +/* 802CF1B4 002CC114 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF1B8 002CC118 40 82 00 08 */ bne lbl_802CF1C0 +/* 802CF1BC 002CC11C 48 00 00 20 */ b lbl_802CF1DC +lbl_802CF1C0: +/* 802CF1C0 002CC120 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CF1C4 002CC124 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CF1C8: +/* 802CF1C8 002CC128 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF1CC 002CC12C 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF1D0 002CC130 7C 1C 00 00 */ cmpw r28, r0 +/* 802CF1D4 002CC134 41 80 FF CC */ blt lbl_802CF1A0 +/* 802CF1D8 002CC138 3B 80 FF FF */ li r28, -1 +lbl_802CF1DC: +/* 802CF1DC 002CC13C 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) +/* 802CF1E0 002CC140 38 00 00 00 */ li r0, 0 +/* 802CF1E4 002CC144 7C 1D 18 00 */ cmpw r29, r3 +/* 802CF1E8 002CC148 40 80 00 20 */ bge lbl_802CF208 +/* 802CF1EC 002CC14C 7C 1C 18 00 */ cmpw r28, r3 +/* 802CF1F0 002CC150 40 80 00 18 */ bge lbl_802CF208 +/* 802CF1F4 002CC154 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CF1F8 002CC158 41 80 00 10 */ blt lbl_802CF208 +/* 802CF1FC 002CC15C 2C 1C 00 00 */ cmpwi r28, 0 +/* 802CF200 002CC160 41 80 00 08 */ blt lbl_802CF208 +/* 802CF204 002CC164 38 00 00 01 */ li r0, 1 +lbl_802CF208: +/* 802CF208 002CC168 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802CF20C 002CC16C 41 82 00 48 */ beq lbl_802CF254 +/* 802CF210 002CC170 3C 1D 00 01 */ addis r0, r29, 1 +/* 802CF214 002CC174 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF218 002CC178 41 82 00 10 */ beq lbl_802CF228 +/* 802CF21C 002CC17C 3C 1C 00 01 */ addis r0, r28, 1 +/* 802CF220 002CC180 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF224 002CC184 40 82 00 14 */ bne lbl_802CF238 +lbl_802CF228: +/* 802CF228 002CC188 38 00 00 00 */ li r0, 0 +/* 802CF22C 002CC18C 38 6D A6 70 */ addi r3, r13, lbl_805A9230@sda21 +/* 802CF230 002CC190 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) +/* 802CF234 002CC194 48 00 00 18 */ b lbl_802CF24C +lbl_802CF238: +/* 802CF238 002CC198 7C 1C 19 D6 */ mullw r0, r28, r3 +/* 802CF23C 002CC19C 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CF240 002CC1A0 7C 1D 02 14 */ add r0, r29, r0 +/* 802CF244 002CC1A4 54 00 10 3A */ slwi r0, r0, 2 +/* 802CF248 002CC1A8 7C 63 02 14 */ add r3, r3, r0 +lbl_802CF24C: +/* 802CF24C 002CC1AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 802CF250 002CC1B0 90 03 00 00 */ stw r0, 0(r3) +lbl_802CF254: +/* 802CF254 002CC1B4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802CF258 002CC1B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF25C 002CC1BC 7C 08 03 A6 */ mtlr r0 +/* 802CF260 002CC1C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF264 002CC1C4 4E 80 00 20 */ blr + +.global InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison +InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison: +/* 802CF268 002CC1C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CF26C 002CC1CC 7C 08 02 A6 */ mflr r0 +/* 802CF270 002CC1D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF274 002CC1D4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802CF278 002CC1D8 3B A0 00 00 */ li r29, 0 +/* 802CF27C 002CC1DC 7C 7F 1B 78 */ mr r31, r3 +/* 802CF280 002CC1E0 7F BC EB 78 */ mr r28, r29 +/* 802CF284 002CC1E4 83 C3 00 04 */ lwz r30, 4(r3) +/* 802CF288 002CC1E8 48 00 00 2C */ b lbl_802CF2B4 +lbl_802CF28C: +/* 802CF28C 002CC1EC 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF290 002CC1F0 38 1C 00 04 */ addi r0, r28, 4 +/* 802CF294 002CC1F4 7F C4 F3 78 */ mr r4, r30 +/* 802CF298 002CC1F8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF29C 002CC1FC 48 0C 0D 01 */ bl strcmp +/* 802CF2A0 002CC200 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF2A4 002CC204 40 82 00 08 */ bne lbl_802CF2AC +/* 802CF2A8 002CC208 48 00 00 20 */ b lbl_802CF2C8 +lbl_802CF2AC: +/* 802CF2AC 002CC20C 3B 9C 00 08 */ addi r28, r28, 8 +/* 802CF2B0 002CC210 3B BD 00 01 */ addi r29, r29, 1 +lbl_802CF2B4: +/* 802CF2B4 002CC214 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF2B8 002CC218 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF2BC 002CC21C 7C 1D 00 00 */ cmpw r29, r0 +/* 802CF2C0 002CC220 41 80 FF CC */ blt lbl_802CF28C +/* 802CF2C4 002CC224 3B A0 FF FF */ li r29, -1 +lbl_802CF2C8: +/* 802CF2C8 002CC228 3B 80 00 00 */ li r28, 0 +/* 802CF2CC 002CC22C 83 DF 00 08 */ lwz r30, 8(r31) +/* 802CF2D0 002CC230 7F 9B E3 78 */ mr r27, r28 +/* 802CF2D4 002CC234 48 00 00 2C */ b lbl_802CF300 +lbl_802CF2D8: +/* 802CF2D8 002CC238 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF2DC 002CC23C 38 1B 00 04 */ addi r0, r27, 4 +/* 802CF2E0 002CC240 7F C4 F3 78 */ mr r4, r30 +/* 802CF2E4 002CC244 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF2E8 002CC248 48 0C 0C B5 */ bl strcmp +/* 802CF2EC 002CC24C 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF2F0 002CC250 40 82 00 08 */ bne lbl_802CF2F8 +/* 802CF2F4 002CC254 48 00 00 20 */ b lbl_802CF314 +lbl_802CF2F8: +/* 802CF2F8 002CC258 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CF2FC 002CC25C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CF300: +/* 802CF300 002CC260 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF304 002CC264 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF308 002CC268 7C 1C 00 00 */ cmpw r28, r0 +/* 802CF30C 002CC26C 41 80 FF CC */ blt lbl_802CF2D8 +/* 802CF310 002CC270 3B 80 FF FF */ li r28, -1 +lbl_802CF314: +/* 802CF314 002CC274 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) +/* 802CF318 002CC278 38 00 00 00 */ li r0, 0 +/* 802CF31C 002CC27C 7C 1D 18 00 */ cmpw r29, r3 +/* 802CF320 002CC280 40 80 00 20 */ bge lbl_802CF340 +/* 802CF324 002CC284 7C 1C 18 00 */ cmpw r28, r3 +/* 802CF328 002CC288 40 80 00 18 */ bge lbl_802CF340 +/* 802CF32C 002CC28C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CF330 002CC290 41 80 00 10 */ blt lbl_802CF340 +/* 802CF334 002CC294 2C 1C 00 00 */ cmpwi r28, 0 +/* 802CF338 002CC298 41 80 00 08 */ blt lbl_802CF340 +/* 802CF33C 002CC29C 38 00 00 01 */ li r0, 1 +lbl_802CF340: +/* 802CF340 002CC2A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802CF344 002CC2A4 41 82 00 48 */ beq lbl_802CF38C +/* 802CF348 002CC2A8 3C 1D 00 01 */ addis r0, r29, 1 +/* 802CF34C 002CC2AC 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF350 002CC2B0 41 82 00 10 */ beq lbl_802CF360 +/* 802CF354 002CC2B4 3C 1C 00 01 */ addis r0, r28, 1 +/* 802CF358 002CC2B8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF35C 002CC2BC 40 82 00 14 */ bne lbl_802CF370 +lbl_802CF360: +/* 802CF360 002CC2C0 38 00 00 00 */ li r0, 0 +/* 802CF364 002CC2C4 38 6D A6 6C */ addi r3, r13, lbl_805A922C@sda21 +/* 802CF368 002CC2C8 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +/* 802CF36C 002CC2CC 48 00 00 18 */ b lbl_802CF384 +lbl_802CF370: +/* 802CF370 002CC2D0 7C 1C 19 D6 */ mullw r0, r28, r3 +/* 802CF374 002CC2D4 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CF378 002CC2D8 7C 1D 02 14 */ add r0, r29, r0 +/* 802CF37C 002CC2DC 54 00 10 3A */ slwi r0, r0, 2 +/* 802CF380 002CC2E0 7C 63 02 14 */ add r3, r3, r0 +lbl_802CF384: +/* 802CF384 002CC2E4 80 1F 00 00 */ lwz r0, 0(r31) +/* 802CF388 002CC2E8 90 03 00 00 */ stw r0, 0(r3) +lbl_802CF38C: +/* 802CF38C 002CC2EC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802CF390 002CC2F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF394 002CC2F4 7C 08 03 A6 */ mtlr r0 +/* 802CF398 002CC2F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF39C 002CC2FC 4E 80 00 20 */ blr + +.global InitEndColliders__19CCollisionPrimitiveFv +InitEndColliders__19CCollisionPrimitiveFv: +/* 802CF3A0 002CC300 81 0D A6 50 */ lwz r8, lbl_805A9210@sda21(r13) +/* 802CF3A4 002CC304 39 20 00 00 */ li r9, 0 +/* 802CF3A8 002CC308 38 E0 00 00 */ li r7, 0 +/* 802CF3AC 002CC30C 48 00 00 68 */ b lbl_802CF414 +lbl_802CF3B0: +/* 802CF3B0 002CC310 38 C0 00 00 */ li r6, 0 +/* 802CF3B4 002CC314 3C A9 00 01 */ addis r5, r9, 1 +/* 802CF3B8 002CC318 7C C4 33 78 */ mr r4, r6 +/* 802CF3BC 002CC31C 39 40 00 00 */ li r10, 0 +/* 802CF3C0 002CC320 7C C0 33 78 */ mr r0, r6 +/* 802CF3C4 002CC324 7D 09 03 A6 */ mtctr r8 +/* 802CF3C8 002CC328 2C 08 00 00 */ cmpwi r8, 0 +/* 802CF3CC 002CC32C 40 81 00 40 */ ble lbl_802CF40C +lbl_802CF3D0: +/* 802CF3D0 002CC330 28 05 FF FF */ cmplwi r5, 0xffff +/* 802CF3D4 002CC334 41 82 00 10 */ beq lbl_802CF3E4 +/* 802CF3D8 002CC338 3C 6A 00 01 */ addis r3, r10, 1 +/* 802CF3DC 002CC33C 28 03 FF FF */ cmplwi r3, 0xffff +/* 802CF3E0 002CC340 40 82 00 08 */ bne lbl_802CF3E8 +lbl_802CF3E4: +/* 802CF3E4 002CC344 90 8D A6 6C */ stw r4, lbl_805A922C@sda21(r13) +lbl_802CF3E8: +/* 802CF3E8 002CC348 3C 6A 00 01 */ addis r3, r10, 1 +/* 802CF3EC 002CC34C 28 03 FF FF */ cmplwi r3, 0xffff +/* 802CF3F0 002CC350 41 82 00 0C */ beq lbl_802CF3FC +/* 802CF3F4 002CC354 28 05 FF FF */ cmplwi r5, 0xffff +/* 802CF3F8 002CC358 40 82 00 08 */ bne lbl_802CF400 +lbl_802CF3FC: +/* 802CF3FC 002CC35C 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +lbl_802CF400: +/* 802CF400 002CC360 7C C6 42 14 */ add r6, r6, r8 +/* 802CF404 002CC364 39 4A 00 01 */ addi r10, r10, 1 +/* 802CF408 002CC368 42 00 FF C8 */ bdnz lbl_802CF3D0 +lbl_802CF40C: +/* 802CF40C 002CC36C 7C E7 42 14 */ add r7, r7, r8 +/* 802CF410 002CC370 39 29 00 01 */ addi r9, r9, 1 +lbl_802CF414: +/* 802CF414 002CC374 7C 09 40 00 */ cmpw r9, r8 +/* 802CF418 002CC378 41 80 FF 98 */ blt lbl_802CF3B0 +/* 802CF41C 002CC37C 38 00 00 01 */ li r0, 1 +/* 802CF420 002CC380 38 60 00 00 */ li r3, 0 +/* 802CF424 002CC384 98 6D A6 58 */ stb r3, lbl_805A9218@sda21(r13) +/* 802CF428 002CC388 98 0D A6 57 */ stb r0, lbl_805A9217@sda21(r13) +/* 802CF42C 002CC38C 98 0D A6 54 */ stb r0, lbl_805A9214@sda21(r13) +/* 802CF430 002CC390 4E 80 00 20 */ blr + +.global InitBeginColliders__19CCollisionPrimitiveFv +InitBeginColliders__19CCollisionPrimitiveFv: +/* 802CF434 002CC394 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CF438 002CC398 7C 08 02 A6 */ mflr r0 +/* 802CF43C 002CC39C 3C 60 80 3D */ lis r3, lbl_803D6A48@ha +/* 802CF440 002CC3A0 38 A0 00 00 */ li r5, 0 +/* 802CF444 002CC3A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF448 002CC3A8 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l +/* 802CF44C 002CC3AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CF450 002CC3B0 93 C1 00 08 */ stw r30, 8(r1) +/* 802CF454 002CC3B4 80 CD A6 5C */ lwz r6, lbl_805A921C@sda21(r13) +/* 802CF458 002CC3B8 80 06 00 04 */ lwz r0, 4(r6) +/* 802CF45C 002CC3BC 7C 00 01 D6 */ mullw r0, r0, r0 +/* 802CF460 002CC3C0 54 1E 10 3A */ slwi r30, r0, 2 +/* 802CF464 002CC3C4 7F C3 F3 78 */ mr r3, r30 +/* 802CF468 002CC3C8 48 04 63 B1 */ bl __nwa__FUlPCcPCc +/* 802CF46C 002CC3CC 7C 7F 1B 78 */ mr r31, r3 +/* 802CF470 002CC3D0 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CF474 002CC3D4 48 04 64 BD */ bl Free__7CMemoryFPCv +/* 802CF478 002CC3D8 3C 60 80 3D */ lis r3, lbl_803D6A48@ha +/* 802CF47C 002CC3DC 93 ED A6 60 */ stw r31, lbl_805A9220@sda21(r13) +/* 802CF480 002CC3E0 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l +/* 802CF484 002CC3E4 38 A0 00 00 */ li r5, 0 +/* 802CF488 002CC3E8 7F C3 F3 78 */ mr r3, r30 +/* 802CF48C 002CC3EC 48 04 63 8D */ bl __nwa__FUlPCcPCc +/* 802CF490 002CC3F0 7C 7F 1B 78 */ mr r31, r3 +/* 802CF494 002CC3F4 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CF498 002CC3F8 48 04 64 99 */ bl Free__7CMemoryFPCv +/* 802CF49C 002CC3FC 3C 60 80 3D */ lis r3, lbl_803D6A48@ha +/* 802CF4A0 002CC400 93 ED A6 64 */ stw r31, lbl_805A9224@sda21(r13) +/* 802CF4A4 002CC404 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l +/* 802CF4A8 002CC408 38 A0 00 00 */ li r5, 0 +/* 802CF4AC 002CC40C 7F C3 F3 78 */ mr r3, r30 +/* 802CF4B0 002CC410 48 04 63 69 */ bl __nwa__FUlPCcPCc +/* 802CF4B4 002CC414 7C 7F 1B 78 */ mr r31, r3 +/* 802CF4B8 002CC418 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CF4BC 002CC41C 48 04 64 75 */ bl Free__7CMemoryFPCv +/* 802CF4C0 002CC420 93 ED A6 68 */ stw r31, lbl_805A9228@sda21(r13) +/* 802CF4C4 002CC424 7F C5 F3 78 */ mr r5, r30 +/* 802CF4C8 002CC428 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CF4CC 002CC42C 38 80 00 00 */ li r4, 0 +/* 802CF4D0 002CC430 4B D3 3E D9 */ bl memset +/* 802CF4D4 002CC434 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CF4D8 002CC438 7F C5 F3 78 */ mr r5, r30 +/* 802CF4DC 002CC43C 38 80 00 00 */ li r4, 0 +/* 802CF4E0 002CC440 4B D3 3E C9 */ bl memset +/* 802CF4E4 002CC444 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CF4E8 002CC448 7F C5 F3 78 */ mr r5, r30 +/* 802CF4EC 002CC44C 38 80 00 00 */ li r4, 0 +/* 802CF4F0 002CC450 4B D3 3E B9 */ bl memset +/* 802CF4F4 002CC454 38 00 00 01 */ li r0, 1 +/* 802CF4F8 002CC458 98 0D A6 58 */ stb r0, lbl_805A9218@sda21(r13) +/* 802CF4FC 002CC45C 4B FF F0 25 */ bl AddColliders__17InternalCollidersFv +/* 802CF500 002CC460 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CF504 002CC464 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CF508 002CC468 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CF50C 002CC46C 7C 08 03 A6 */ mtlr r0 +/* 802CF510 002CC470 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CF514 002CC474 4E 80 00 20 */ blr + +.global InitEndTypes__19CCollisionPrimitiveFv +InitEndTypes__19CCollisionPrimitiveFv: +/* 802CF518 002CC478 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802CF51C 002CC47C 7C 08 02 A6 */ mflr r0 +/* 802CF520 002CC480 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CF524 002CC484 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802CF528 002CC488 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802CF52C 002CC48C 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) +/* 802CF530 002CC490 80 7F 00 04 */ lwz r3, 4(r31) +/* 802CF534 002CC494 80 1F 00 08 */ lwz r0, 8(r31) +/* 802CF538 002CC498 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF53C 002CC49C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802CF540 002CC4A0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802CF544 002CC4A4 40 82 00 18 */ bne lbl_802CF55C +/* 802CF548 002CC4A8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF54C 002CC4AC 40 82 00 10 */ bne lbl_802CF55C +/* 802CF550 002CC4B0 38 00 00 00 */ li r0, 0 +/* 802CF554 002CC4B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CF558 002CC4B8 48 00 00 6C */ b lbl_802CF5C4 +lbl_802CF55C: +/* 802CF55C 002CC4BC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CF560 002CC4C0 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802CF564 002CC4C4 40 82 00 10 */ bne lbl_802CF574 +/* 802CF568 002CC4C8 38 00 00 00 */ li r0, 0 +/* 802CF56C 002CC4CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CF570 002CC4D0 48 00 00 18 */ b lbl_802CF588 +lbl_802CF574: +/* 802CF574 002CC4D4 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF578 002CC4D8 38 A0 00 00 */ li r5, 0 +/* 802CF57C 002CC4DC 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF580 002CC4E0 48 04 62 99 */ bl __nwa__FUlPCcPCc +/* 802CF584 002CC4E4 90 61 00 34 */ stw r3, 0x34(r1) +lbl_802CF588: +/* 802CF588 002CC4E8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802CF58C 002CC4EC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802CF590 002CC4F0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802CF594 002CC4F4 7C 09 03 A6 */ mtctr r0 +/* 802CF598 002CC4F8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF59C 002CC4FC 40 81 00 28 */ ble lbl_802CF5C4 +lbl_802CF5A0: +/* 802CF5A0 002CC500 28 03 00 00 */ cmplwi r3, 0 +/* 802CF5A4 002CC504 41 82 00 14 */ beq lbl_802CF5B8 +/* 802CF5A8 002CC508 80 04 00 00 */ lwz r0, 0(r4) +/* 802CF5AC 002CC50C 90 03 00 00 */ stw r0, 0(r3) +/* 802CF5B0 002CC510 80 04 00 04 */ lwz r0, 4(r4) +/* 802CF5B4 002CC514 90 03 00 04 */ stw r0, 4(r3) +lbl_802CF5B8: +/* 802CF5B8 002CC518 38 63 00 08 */ addi r3, r3, 8 +/* 802CF5BC 002CC51C 38 84 00 08 */ addi r4, r4, 8 +/* 802CF5C0 002CC520 42 00 FF E0 */ bdnz lbl_802CF5A0 +lbl_802CF5C4: +/* 802CF5C4 002CC524 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF5C8 002CC528 38 60 00 10 */ li r3, 0x10 +/* 802CF5CC 002CC52C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF5D0 002CC530 38 A0 00 00 */ li r5, 0 +/* 802CF5D4 002CC534 48 04 62 99 */ bl __nw__FUlPCcPCc +/* 802CF5D8 002CC538 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802CF5DC 002CC53C 41 82 00 98 */ beq lbl_802CF674 +/* 802CF5E0 002CC540 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802CF5E4 002CC544 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CF5E8 002CC548 90 7F 00 04 */ stw r3, 4(r31) +/* 802CF5EC 002CC54C 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF5F0 002CC550 90 1F 00 08 */ stw r0, 8(r31) +/* 802CF5F4 002CC554 40 82 00 18 */ bne lbl_802CF60C +/* 802CF5F8 002CC558 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF5FC 002CC55C 40 82 00 10 */ bne lbl_802CF60C +/* 802CF600 002CC560 38 00 00 00 */ li r0, 0 +/* 802CF604 002CC564 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802CF608 002CC568 48 00 00 6C */ b lbl_802CF674 +lbl_802CF60C: +/* 802CF60C 002CC56C 80 1F 00 08 */ lwz r0, 8(r31) +/* 802CF610 002CC570 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802CF614 002CC574 40 82 00 10 */ bne lbl_802CF624 +/* 802CF618 002CC578 38 00 00 00 */ li r0, 0 +/* 802CF61C 002CC57C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802CF620 002CC580 48 00 00 18 */ b lbl_802CF638 +lbl_802CF624: +/* 802CF624 002CC584 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF628 002CC588 38 A0 00 00 */ li r5, 0 +/* 802CF62C 002CC58C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF630 002CC590 48 04 61 E9 */ bl __nwa__FUlPCcPCc +/* 802CF634 002CC594 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802CF638: +/* 802CF638 002CC598 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CF63C 002CC59C 80 81 00 34 */ lwz r4, 0x34(r1) +/* 802CF640 002CC5A0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CF644 002CC5A4 7C 09 03 A6 */ mtctr r0 +/* 802CF648 002CC5A8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF64C 002CC5AC 40 81 00 28 */ ble lbl_802CF674 +lbl_802CF650: +/* 802CF650 002CC5B0 28 03 00 00 */ cmplwi r3, 0 +/* 802CF654 002CC5B4 41 82 00 14 */ beq lbl_802CF668 +/* 802CF658 002CC5B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802CF65C 002CC5BC 90 03 00 00 */ stw r0, 0(r3) +/* 802CF660 002CC5C0 80 04 00 04 */ lwz r0, 4(r4) +/* 802CF664 002CC5C4 90 03 00 04 */ stw r0, 4(r3) +lbl_802CF668: +/* 802CF668 002CC5C8 38 63 00 08 */ addi r3, r3, 8 +/* 802CF66C 002CC5CC 38 84 00 08 */ addi r4, r4, 8 +/* 802CF670 002CC5D0 42 00 FF E0 */ bdnz lbl_802CF650 +lbl_802CF674: +/* 802CF674 002CC5D4 83 CD A6 5C */ lwz r30, lbl_805A921C@sda21(r13) +/* 802CF678 002CC5D8 28 1E 00 00 */ cmplwi r30, 0 +/* 802CF67C 002CC5DC 41 82 00 4C */ beq lbl_802CF6C8 +/* 802CF680 002CC5E0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF684 002CC5E4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CF688 002CC5E8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF68C 002CC5EC 7C 03 02 14 */ add r0, r3, r0 +/* 802CF690 002CC5F0 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CF694 002CC5F4 7C 64 1B 78 */ mr r4, r3 +/* 802CF698 002CC5F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF69C 002CC5FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CF6A0 002CC600 90 61 00 08 */ stw r3, 8(r1) +/* 802CF6A4 002CC604 48 00 00 08 */ b lbl_802CF6AC +lbl_802CF6A8: +/* 802CF6A8 002CC608 38 84 00 08 */ addi r4, r4, 8 +lbl_802CF6AC: +/* 802CF6AC 002CC60C 7C 04 00 40 */ cmplw r4, r0 +/* 802CF6B0 002CC610 40 82 FF F8 */ bne lbl_802CF6A8 +/* 802CF6B4 002CC614 28 03 00 00 */ cmplwi r3, 0 +/* 802CF6B8 002CC618 41 82 00 08 */ beq lbl_802CF6C0 +/* 802CF6BC 002CC61C 48 04 62 75 */ bl Free__7CMemoryFPCv +lbl_802CF6C0: +/* 802CF6C0 002CC620 7F C3 F3 78 */ mr r3, r30 +/* 802CF6C4 002CC624 48 04 62 6D */ bl Free__7CMemoryFPCv +lbl_802CF6C8: +/* 802CF6C8 002CC628 80 E1 00 2C */ lwz r7, 0x2c(r1) +/* 802CF6CC 002CC62C 38 A0 00 00 */ li r5, 0 +/* 802CF6D0 002CC630 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802CF6D4 002CC634 38 80 00 01 */ li r4, 1 +/* 802CF6D8 002CC638 54 E0 18 38 */ slwi r0, r7, 3 +/* 802CF6DC 002CC63C 93 ED A6 5C */ stw r31, lbl_805A921C@sda21(r13) +/* 802CF6E0 002CC640 7C 03 02 14 */ add r0, r3, r0 +/* 802CF6E4 002CC644 7C 66 1B 78 */ mr r6, r3 +/* 802CF6E8 002CC648 90 ED A6 50 */ stw r7, lbl_805A9210@sda21(r13) +/* 802CF6EC 002CC64C 98 AD A6 56 */ stb r5, lbl_805A9216@sda21(r13) +/* 802CF6F0 002CC650 98 8D A6 55 */ stb r4, lbl_805A9215@sda21(r13) +/* 802CF6F4 002CC654 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF6F8 002CC658 90 01 00 20 */ stw r0, 0x20(r1) +/* 802CF6FC 002CC65C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802CF700 002CC660 90 61 00 18 */ stw r3, 0x18(r1) +/* 802CF704 002CC664 48 00 00 08 */ b lbl_802CF70C +lbl_802CF708: +/* 802CF708 002CC668 38 C6 00 08 */ addi r6, r6, 8 +lbl_802CF70C: +/* 802CF70C 002CC66C 7C 06 00 40 */ cmplw r6, r0 +/* 802CF710 002CC670 40 82 FF F8 */ bne lbl_802CF708 +/* 802CF714 002CC674 28 03 00 00 */ cmplwi r3, 0 +/* 802CF718 002CC678 41 82 00 08 */ beq lbl_802CF720 +/* 802CF71C 002CC67C 48 04 62 15 */ bl Free__7CMemoryFPCv +lbl_802CF720: +/* 802CF720 002CC680 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CF724 002CC684 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CF728 002CC688 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802CF72C 002CC68C 7C 08 03 A6 */ mtlr r0 +/* 802CF730 002CC690 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CF734 002CC694 4E 80 00 20 */ blr + +.global InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type +InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type: +/* 802CF738 002CC698 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CF73C 002CC69C 7C 08 02 A6 */ mflr r0 +/* 802CF740 002CC6A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF744 002CC6A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CF748 002CC6A8 93 C1 00 08 */ stw r30, 8(r1) +/* 802CF74C 002CC6AC 7C 7E 1B 78 */ mr r30, r3 +/* 802CF750 002CC6B0 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF754 002CC6B4 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CF758 002CC6B8 80 63 00 04 */ lwz r3, 4(r3) +/* 802CF75C 002CC6BC 7D 89 03 A6 */ mtctr r12 +/* 802CF760 002CC6C0 4E 80 04 21 */ bctrl +/* 802CF764 002CC6C4 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF768 002CC6C8 80 83 00 04 */ lwz r4, 4(r3) +/* 802CF76C 002CC6CC 38 84 00 01 */ addi r4, r4, 1 +/* 802CF770 002CC6D0 48 00 01 65 */ bl "reserve__Q24rstl63vectorFi" +/* 802CF774 002CC6D4 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) +/* 802CF778 002CC6D8 80 7F 00 04 */ lwz r3, 4(r31) +/* 802CF77C 002CC6DC 80 1F 00 08 */ lwz r0, 8(r31) +/* 802CF780 002CC6E0 7C 03 00 00 */ cmpw r3, r0 +/* 802CF784 002CC6E4 41 80 00 1C */ blt lbl_802CF7A0 +/* 802CF788 002CC6E8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF78C 002CC6EC 38 80 00 04 */ li r4, 4 +/* 802CF790 002CC6F0 41 82 00 08 */ beq lbl_802CF798 +/* 802CF794 002CC6F4 54 04 08 3C */ slwi r4, r0, 1 +lbl_802CF798: +/* 802CF798 002CC6F8 7F E3 FB 78 */ mr r3, r31 +/* 802CF79C 002CC6FC 48 00 01 39 */ bl "reserve__Q24rstl63vectorFi" +lbl_802CF7A0: +/* 802CF7A0 002CC700 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CF7A4 002CC704 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CF7A8 002CC708 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF7AC 002CC70C 7C 63 02 15 */ add. r3, r3, r0 +/* 802CF7B0 002CC710 41 82 00 14 */ beq lbl_802CF7C4 +/* 802CF7B4 002CC714 80 1E 00 00 */ lwz r0, 0(r30) +/* 802CF7B8 002CC718 90 03 00 00 */ stw r0, 0(r3) +/* 802CF7BC 002CC71C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF7C0 002CC720 90 03 00 04 */ stw r0, 4(r3) +lbl_802CF7C4: +/* 802CF7C4 002CC724 80 7F 00 04 */ lwz r3, 4(r31) +/* 802CF7C8 002CC728 38 03 00 01 */ addi r0, r3, 1 +/* 802CF7CC 002CC72C 90 1F 00 04 */ stw r0, 4(r31) +/* 802CF7D0 002CC730 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CF7D4 002CC734 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CF7D8 002CC738 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CF7DC 002CC73C 7C 08 03 A6 */ mtlr r0 +/* 802CF7E0 002CC740 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CF7E4 002CC744 4E 80 00 20 */ blr + +.global InitBeginTypes__19CCollisionPrimitiveFv +InitBeginTypes__19CCollisionPrimitiveFv: +/* 802CF7E8 002CC748 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CF7EC 002CC74C 7C 08 02 A6 */ mflr r0 +/* 802CF7F0 002CC750 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF7F4 002CC754 38 60 00 10 */ li r3, 0x10 +/* 802CF7F8 002CC758 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF7FC 002CC75C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF800 002CC760 38 A0 00 00 */ li r5, 0 +/* 802CF804 002CC764 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CF808 002CC768 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CF80C 002CC76C 48 04 60 61 */ bl __nw__FUlPCcPCc +/* 802CF810 002CC770 28 03 00 00 */ cmplwi r3, 0 +/* 802CF814 002CC774 41 82 00 14 */ beq lbl_802CF828 +/* 802CF818 002CC778 38 00 00 00 */ li r0, 0 +/* 802CF81C 002CC77C 90 03 00 04 */ stw r0, 4(r3) +/* 802CF820 002CC780 90 03 00 08 */ stw r0, 8(r3) +/* 802CF824 002CC784 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802CF828: +/* 802CF828 002CC788 83 CD A6 5C */ lwz r30, lbl_805A921C@sda21(r13) +/* 802CF82C 002CC78C 7C 7F 1B 78 */ mr r31, r3 +/* 802CF830 002CC790 28 1E 00 00 */ cmplwi r30, 0 +/* 802CF834 002CC794 41 82 00 4C */ beq lbl_802CF880 +/* 802CF838 002CC798 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF83C 002CC79C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CF840 002CC7A0 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF844 002CC7A4 7C 03 02 14 */ add r0, r3, r0 +/* 802CF848 002CC7A8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CF84C 002CC7AC 7C 64 1B 78 */ mr r4, r3 +/* 802CF850 002CC7B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF854 002CC7B4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CF858 002CC7B8 90 61 00 08 */ stw r3, 8(r1) +/* 802CF85C 002CC7BC 48 00 00 08 */ b lbl_802CF864 +lbl_802CF860: +/* 802CF860 002CC7C0 38 84 00 08 */ addi r4, r4, 8 +lbl_802CF864: +/* 802CF864 002CC7C4 7C 04 00 40 */ cmplw r4, r0 +/* 802CF868 002CC7C8 40 82 FF F8 */ bne lbl_802CF860 +/* 802CF86C 002CC7CC 28 03 00 00 */ cmplwi r3, 0 +/* 802CF870 002CC7D0 41 82 00 08 */ beq lbl_802CF878 +/* 802CF874 002CC7D4 48 04 60 BD */ bl Free__7CMemoryFPCv +lbl_802CF878: +/* 802CF878 002CC7D8 7F C3 F3 78 */ mr r3, r30 +/* 802CF87C 002CC7DC 48 04 60 B5 */ bl Free__7CMemoryFPCv +lbl_802CF880: +/* 802CF880 002CC7E0 93 ED A6 5C */ stw r31, lbl_805A921C@sda21(r13) +/* 802CF884 002CC7E4 7F E3 FB 78 */ mr r3, r31 +/* 802CF888 002CC7E8 38 80 00 03 */ li r4, 3 +/* 802CF88C 002CC7EC 48 00 00 49 */ bl "reserve__Q24rstl63vectorFi" +/* 802CF890 002CC7F0 38 00 00 01 */ li r0, 1 +/* 802CF894 002CC7F4 98 0D A6 56 */ stb r0, lbl_805A9216@sda21(r13) +/* 802CF898 002CC7F8 4B FF ED A1 */ bl AddTypes__17InternalCollidersFv +/* 802CF89C 002CC7FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF8A0 002CC800 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CF8A4 002CC804 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CF8A8 002CC808 7C 08 03 A6 */ mtlr r0 +/* 802CF8AC 002CC80C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF8B0 002CC810 4E 80 00 20 */ blr + +.global __ct__19CCollisionPrimitiveFRC13CMaterialList +__ct__19CCollisionPrimitiveFRC13CMaterialList: +/* 802CF8B4 002CC814 3C A0 80 3E */ lis r5, lbl_803D97E4@ha +/* 802CF8B8 002CC818 38 05 97 E4 */ addi r0, r5, lbl_803D97E4@l +/* 802CF8BC 002CC81C 90 03 00 00 */ stw r0, 0(r3) +/* 802CF8C0 002CC820 80 04 00 00 */ lwz r0, 0(r4) +/* 802CF8C4 002CC824 80 84 00 04 */ lwz r4, 4(r4) +/* 802CF8C8 002CC828 90 83 00 0C */ stw r4, 0xc(r3) +/* 802CF8CC 002CC82C 90 03 00 08 */ stw r0, 8(r3) +/* 802CF8D0 002CC830 4E 80 00 20 */ blr + +.global "reserve__Q24rstl63vectorFi" +"reserve__Q24rstl63vectorFi": +/* 802CF8D4 002CC834 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CF8D8 002CC838 7C 08 02 A6 */ mflr r0 +/* 802CF8DC 002CC83C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CF8E0 002CC840 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CF8E4 002CC844 7C 9F 23 78 */ mr r31, r4 +/* 802CF8E8 002CC848 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CF8EC 002CC84C 7C 7E 1B 78 */ mr r30, r3 +/* 802CF8F0 002CC850 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CF8F4 002CC854 80 03 00 08 */ lwz r0, 8(r3) +/* 802CF8F8 002CC858 7C 1F 00 00 */ cmpw r31, r0 +/* 802CF8FC 002CC85C 40 81 00 B0 */ ble lbl_802CF9AC +/* 802CF900 002CC860 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802CF904 002CC864 40 82 00 0C */ bne lbl_802CF910 +/* 802CF908 002CC868 3B A0 00 00 */ li r29, 0 +/* 802CF90C 002CC86C 48 00 00 18 */ b lbl_802CF924 +lbl_802CF910: +/* 802CF910 002CC870 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF914 002CC874 38 A0 00 00 */ li r5, 0 +/* 802CF918 002CC878 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF91C 002CC87C 48 04 5E FD */ bl __nwa__FUlPCcPCc +/* 802CF920 002CC880 7C 7D 1B 78 */ mr r29, r3 +lbl_802CF924: +/* 802CF924 002CC884 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF928 002CC888 7F A4 EB 78 */ mr r4, r29 +/* 802CF92C 002CC88C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802CF930 002CC890 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF934 002CC894 7C 65 02 14 */ add r3, r5, r0 +/* 802CF938 002CC898 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CF93C 002CC89C 90 61 00 08 */ stw r3, 8(r1) +/* 802CF940 002CC8A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CF944 002CC8A4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802CF948 002CC8A8 48 00 00 24 */ b lbl_802CF96C +lbl_802CF94C: +/* 802CF94C 002CC8AC 28 04 00 00 */ cmplwi r4, 0 +/* 802CF950 002CC8B0 41 82 00 14 */ beq lbl_802CF964 +/* 802CF954 002CC8B4 80 05 00 00 */ lwz r0, 0(r5) +/* 802CF958 002CC8B8 90 04 00 00 */ stw r0, 0(r4) +/* 802CF95C 002CC8BC 80 05 00 04 */ lwz r0, 4(r5) +/* 802CF960 002CC8C0 90 04 00 04 */ stw r0, 4(r4) +lbl_802CF964: +/* 802CF964 002CC8C4 38 84 00 08 */ addi r4, r4, 8 +/* 802CF968 002CC8C8 38 A5 00 08 */ addi r5, r5, 8 +lbl_802CF96C: +/* 802CF96C 002CC8CC 7C 05 18 40 */ cmplw r5, r3 +/* 802CF970 002CC8D0 40 82 FF DC */ bne lbl_802CF94C +/* 802CF974 002CC8D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF978 002CC8D8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CF97C 002CC8DC 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF980 002CC8E0 7C 64 1B 78 */ mr r4, r3 +/* 802CF984 002CC8E4 7C 03 02 14 */ add r0, r3, r0 +/* 802CF988 002CC8E8 48 00 00 08 */ b lbl_802CF990 +lbl_802CF98C: +/* 802CF98C 002CC8EC 38 84 00 08 */ addi r4, r4, 8 +lbl_802CF990: +/* 802CF990 002CC8F0 7C 04 00 40 */ cmplw r4, r0 +/* 802CF994 002CC8F4 40 82 FF F8 */ bne lbl_802CF98C +/* 802CF998 002CC8F8 28 03 00 00 */ cmplwi r3, 0 +/* 802CF99C 002CC8FC 41 82 00 08 */ beq lbl_802CF9A4 +/* 802CF9A0 002CC900 48 04 5F 91 */ bl Free__7CMemoryFPCv +lbl_802CF9A4: +/* 802CF9A4 002CC904 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802CF9A8 002CC908 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CF9AC: +/* 802CF9AC 002CC90C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CF9B0 002CC910 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CF9B4 002CC914 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CF9B8 002CC918 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CF9BC 002CC91C 7C 08 03 A6 */ mtlr r0 +/* 802CF9C0 002CC920 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CF9C4 002CC924 4E 80 00 20 */ blr + +.global __sinit_CCollisionPrimitive_cpp +__sinit_CCollisionPrimitive_cpp: +/* 802CF9C8 002CC928 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CF9CC 002CC92C 7C 08 02 A6 */ mflr r0 +/* 802CF9D0 002CC930 3C 80 80 2D */ lis r4, "__dt__Q24rstl84single_ptr>Fv"@ha +/* 802CF9D4 002CC934 3C 60 80 48 */ lis r3, lbl_804794E0@ha +/* 802CF9D8 002CC938 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF9DC 002CC93C 38 00 00 00 */ li r0, 0 +/* 802CF9E0 002CC940 38 84 FB 60 */ addi r4, r4, "__dt__Q24rstl84single_ptr>Fv"@l +/* 802CF9E4 002CC944 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CF9E8 002CC948 3B E3 94 E0 */ addi r31, r3, lbl_804794E0@l +/* 802CF9EC 002CC94C 38 6D A6 5C */ addi r3, r13, lbl_805A921C@sda21 +/* 802CF9F0 002CC950 90 0D A6 5C */ stw r0, lbl_805A921C@sda21(r13) +/* 802CF9F4 002CC954 38 BF 00 00 */ addi r5, r31, 0 +/* 802CF9F8 002CC958 48 0B 9C 95 */ bl __register_global_object +/* 802CF9FC 002CC95C 38 00 00 00 */ li r0, 0 +/* 802CFA00 002CC960 3C 60 80 2D */ lis r3, "__dt__Q24rstl68single_ptrFv"@ha +/* 802CFA04 002CC964 90 0D A6 60 */ stw r0, lbl_805A9220@sda21(r13) +/* 802CFA08 002CC968 38 83 FB 0C */ addi r4, r3, "__dt__Q24rstl68single_ptrFv"@l +/* 802CFA0C 002CC96C 38 BF 00 0C */ addi r5, r31, 0xc +/* 802CFA10 002CC970 38 6D A6 60 */ addi r3, r13, lbl_805A9220@sda21 +/* 802CFA14 002CC974 48 0B 9C 79 */ bl __register_global_object +/* 802CFA18 002CC978 38 00 00 00 */ li r0, 0 +/* 802CFA1C 002CC97C 3C 60 80 2D */ lis r3, "__dt__Q24rstl47single_ptrFv"@ha +/* 802CFA20 002CC980 90 0D A6 64 */ stw r0, lbl_805A9224@sda21(r13) +/* 802CFA24 002CC984 38 83 FA B8 */ addi r4, r3, "__dt__Q24rstl47single_ptrFv"@l +/* 802CFA28 002CC988 38 BF 00 18 */ addi r5, r31, 0x18 +/* 802CFA2C 002CC98C 38 6D A6 64 */ addi r3, r13, lbl_805A9224@sda21 +/* 802CFA30 002CC990 48 0B 9C 5D */ bl __register_global_object +/* 802CFA34 002CC994 38 00 00 00 */ li r0, 0 +/* 802CFA38 002CC998 3C 60 80 2D */ lis r3, "__dt__Q24rstl78single_ptrFv"@ha +/* 802CFA3C 002CC99C 90 0D A6 68 */ stw r0, lbl_805A9228@sda21(r13) +/* 802CFA40 002CC9A0 38 83 FA 64 */ addi r4, r3, "__dt__Q24rstl78single_ptrFv"@l +/* 802CFA44 002CC9A4 38 BF 00 24 */ addi r5, r31, 0x24 +/* 802CFA48 002CC9A8 38 6D A6 68 */ addi r3, r13, lbl_805A9228@sda21 +/* 802CFA4C 002CC9AC 48 0B 9C 41 */ bl __register_global_object +/* 802CFA50 002CC9B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFA54 002CC9B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFA58 002CC9B8 7C 08 03 A6 */ mtlr r0 +/* 802CFA5C 002CC9BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFA60 002CC9C0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl78single_ptrFv" +"__dt__Q24rstl78single_ptrFv": +/* 802CFA64 002CC9C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CFA68 002CC9C8 7C 08 02 A6 */ mflr r0 +/* 802CFA6C 002CC9CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFA70 002CC9D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CFA74 002CC9D4 7C 9F 23 78 */ mr r31, r4 +/* 802CFA78 002CC9D8 93 C1 00 08 */ stw r30, 8(r1) +/* 802CFA7C 002CC9DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CFA80 002CC9E0 41 82 00 1C */ beq lbl_802CFA9C +/* 802CFA84 002CC9E4 80 7E 00 00 */ lwz r3, 0(r30) +/* 802CFA88 002CC9E8 48 04 5E A9 */ bl Free__7CMemoryFPCv +/* 802CFA8C 002CC9EC 7F E0 07 35 */ extsh. r0, r31 +/* 802CFA90 002CC9F0 40 81 00 0C */ ble lbl_802CFA9C +/* 802CFA94 002CC9F4 7F C3 F3 78 */ mr r3, r30 +/* 802CFA98 002CC9F8 48 04 5E 99 */ bl Free__7CMemoryFPCv +lbl_802CFA9C: +/* 802CFA9C 002CC9FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFAA0 002CCA00 7F C3 F3 78 */ mr r3, r30 +/* 802CFAA4 002CCA04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFAA8 002CCA08 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CFAAC 002CCA0C 7C 08 03 A6 */ mtlr r0 +/* 802CFAB0 002CCA10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFAB4 002CCA14 4E 80 00 20 */ blr + +.global "__dt__Q24rstl47single_ptrFv" +"__dt__Q24rstl47single_ptrFv": +/* 802CFAB8 002CCA18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CFABC 002CCA1C 7C 08 02 A6 */ mflr r0 +/* 802CFAC0 002CCA20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFAC4 002CCA24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CFAC8 002CCA28 7C 9F 23 78 */ mr r31, r4 +/* 802CFACC 002CCA2C 93 C1 00 08 */ stw r30, 8(r1) +/* 802CFAD0 002CCA30 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CFAD4 002CCA34 41 82 00 1C */ beq lbl_802CFAF0 +/* 802CFAD8 002CCA38 80 7E 00 00 */ lwz r3, 0(r30) +/* 802CFADC 002CCA3C 48 04 5E 55 */ bl Free__7CMemoryFPCv +/* 802CFAE0 002CCA40 7F E0 07 35 */ extsh. r0, r31 +/* 802CFAE4 002CCA44 40 81 00 0C */ ble lbl_802CFAF0 +/* 802CFAE8 002CCA48 7F C3 F3 78 */ mr r3, r30 +/* 802CFAEC 002CCA4C 48 04 5E 45 */ bl Free__7CMemoryFPCv +lbl_802CFAF0: +/* 802CFAF0 002CCA50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFAF4 002CCA54 7F C3 F3 78 */ mr r3, r30 +/* 802CFAF8 002CCA58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFAFC 002CCA5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CFB00 002CCA60 7C 08 03 A6 */ mtlr r0 +/* 802CFB04 002CCA64 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFB08 002CCA68 4E 80 00 20 */ blr + +.global "__dt__Q24rstl68single_ptrFv" +"__dt__Q24rstl68single_ptrFv": +/* 802CFB0C 002CCA6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CFB10 002CCA70 7C 08 02 A6 */ mflr r0 +/* 802CFB14 002CCA74 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFB18 002CCA78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CFB1C 002CCA7C 7C 9F 23 78 */ mr r31, r4 +/* 802CFB20 002CCA80 93 C1 00 08 */ stw r30, 8(r1) +/* 802CFB24 002CCA84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CFB28 002CCA88 41 82 00 1C */ beq lbl_802CFB44 +/* 802CFB2C 002CCA8C 80 7E 00 00 */ lwz r3, 0(r30) +/* 802CFB30 002CCA90 48 04 5E 01 */ bl Free__7CMemoryFPCv +/* 802CFB34 002CCA94 7F E0 07 35 */ extsh. r0, r31 +/* 802CFB38 002CCA98 40 81 00 0C */ ble lbl_802CFB44 +/* 802CFB3C 002CCA9C 7F C3 F3 78 */ mr r3, r30 +/* 802CFB40 002CCAA0 48 04 5D F1 */ bl Free__7CMemoryFPCv +lbl_802CFB44: +/* 802CFB44 002CCAA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFB48 002CCAA8 7F C3 F3 78 */ mr r3, r30 +/* 802CFB4C 002CCAAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFB50 002CCAB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CFB54 002CCAB4 7C 08 03 A6 */ mtlr r0 +/* 802CFB58 002CCAB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFB5C 002CCABC 4E 80 00 20 */ blr + +.global "__dt__Q24rstl84single_ptr>Fv" +"__dt__Q24rstl84single_ptr>Fv": +/* 802CFB60 002CCAC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CFB64 002CCAC4 7C 08 02 A6 */ mflr r0 +/* 802CFB68 002CCAC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CFB6C 002CCACC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CFB70 002CCAD0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CFB74 002CCAD4 7C 9E 23 78 */ mr r30, r4 +/* 802CFB78 002CCAD8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CFB7C 002CCADC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802CFB80 002CCAE0 41 82 00 68 */ beq lbl_802CFBE8 +/* 802CFB84 002CCAE4 83 FD 00 00 */ lwz r31, 0(r29) +/* 802CFB88 002CCAE8 28 1F 00 00 */ cmplwi r31, 0 +/* 802CFB8C 002CCAEC 41 82 00 4C */ beq lbl_802CFBD8 +/* 802CFB90 002CCAF0 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CFB94 002CCAF4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CFB98 002CCAF8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CFB9C 002CCAFC 7C 03 02 14 */ add r0, r3, r0 +/* 802CFBA0 002CCB00 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CFBA4 002CCB04 7C 64 1B 78 */ mr r4, r3 +/* 802CFBA8 002CCB08 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFBAC 002CCB0C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CFBB0 002CCB10 90 61 00 08 */ stw r3, 8(r1) +/* 802CFBB4 002CCB14 48 00 00 08 */ b lbl_802CFBBC +lbl_802CFBB8: +/* 802CFBB8 002CCB18 38 84 00 08 */ addi r4, r4, 8 +lbl_802CFBBC: +/* 802CFBBC 002CCB1C 7C 04 00 40 */ cmplw r4, r0 +/* 802CFBC0 002CCB20 40 82 FF F8 */ bne lbl_802CFBB8 +/* 802CFBC4 002CCB24 28 03 00 00 */ cmplwi r3, 0 +/* 802CFBC8 002CCB28 41 82 00 08 */ beq lbl_802CFBD0 +/* 802CFBCC 002CCB2C 48 04 5D 65 */ bl Free__7CMemoryFPCv +lbl_802CFBD0: +/* 802CFBD0 002CCB30 7F E3 FB 78 */ mr r3, r31 +/* 802CFBD4 002CCB34 48 04 5D 5D */ bl Free__7CMemoryFPCv +lbl_802CFBD8: +/* 802CFBD8 002CCB38 7F C0 07 35 */ extsh. r0, r30 +/* 802CFBDC 002CCB3C 40 81 00 0C */ ble lbl_802CFBE8 +/* 802CFBE0 002CCB40 7F A3 EB 78 */ mr r3, r29 +/* 802CFBE4 002CCB44 48 04 5D 4D */ bl Free__7CMemoryFPCv +lbl_802CFBE8: +/* 802CFBE8 002CCB48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CFBEC 002CCB4C 7F A3 EB 78 */ mr r3, r29 +/* 802CFBF0 002CCB50 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CFBF4 002CCB54 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CFBF8 002CCB58 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CFBFC 002CCB5C 7C 08 03 A6 */ mtlr r0 +/* 802CFC00 002CCB60 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CFC04 002CCB64 4E 80 00 20 */ blr diff --git a/asm/Collision/CMRay.s b/asm/Collision/CMRay.s new file mode 100644 index 00000000..dcfcbcf1 --- /dev/null +++ b/asm/Collision/CMRay.s @@ -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 diff --git a/asm/Collision/CMaterialFilter.s b/asm/Collision/CMaterialFilter.s new file mode 100644 index 00000000..7f3f5634 --- /dev/null +++ b/asm/Collision/CMaterialFilter.s @@ -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 diff --git a/asm/Collision/CMaterialList.s b/asm/Collision/CMaterialList.s new file mode 100644 index 00000000..d432d687 --- /dev/null +++ b/asm/Collision/CMaterialList.s @@ -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 diff --git a/asm/Collision/COBBox.s b/asm/Collision/COBBox.s new file mode 100644 index 00000000..823e8f1b --- /dev/null +++ b/asm/Collision/COBBox.s @@ -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 diff --git a/asm/Collision/CollisionUtil.s b/asm/Collision/CollisionUtil.s new file mode 100644 index 00000000..c0e3c0d6 --- /dev/null +++ b/asm/Collision/CollisionUtil.s @@ -0,0 +1,4608 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf +TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf: +/* 802CFCF4 002CCC54 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802CFCF8 002CCC58 7C 08 02 A6 */ mflr r0 +/* 802CFCFC 002CCC5C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802CFD00 002CCC60 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802CFD04 002CCC64 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802CFD08 002CCC68 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 802CFD0C 002CCC6C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 802CFD10 002CCC70 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 802CFD14 002CCC74 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 802CFD18 002CCC78 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 802CFD1C 002CCC7C F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 802CFD20 002CCC80 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 802CFD24 002CCC84 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 802CFD28 002CCC88 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802CFD2C 002CCC8C 7C 9B 23 78 */ mr r27, r4 +/* 802CFD30 002CCC90 C0 03 00 04 */ lfs f0, 4(r3) +/* 802CFD34 002CCC94 C0 24 00 04 */ lfs f1, 4(r4) +/* 802CFD38 002CCC98 7C BC 2B 78 */ mr r28, r5 +/* 802CFD3C 002CCC9C C0 64 00 08 */ lfs f3, 8(r4) +/* 802CFD40 002CCCA0 7C DD 33 78 */ mr r29, r6 +/* 802CFD44 002CCCA4 C0 43 00 08 */ lfs f2, 8(r3) +/* 802CFD48 002CCCA8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802CFD4C 002CCCAC C0 03 00 00 */ lfs f0, 0(r3) +/* 802CFD50 002CCCB0 7C FE 3B 78 */ mr r30, r7 +/* 802CFD54 002CCCB4 C0 24 00 00 */ lfs f1, 0(r4) +/* 802CFD58 002CCCB8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802CFD5C 002CCCBC D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802CFD60 002CCCC0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802CFD64 002CCCC4 7D 1F 43 78 */ mr r31, r8 +/* 802CFD68 002CCCC8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802CFD6C 002CCCCC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFD70 002CCCD0 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CFD74 002CCCD4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802CFD78 002CCCD8 48 04 48 0D */ bl __ct__9CVector3dFRC9CVector3f +/* 802CFD7C 002CCCDC C0 3C 00 04 */ lfs f1, 4(r28) +/* 802CFD80 002CCCE0 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CFD84 002CCCE4 C0 1B 00 04 */ lfs f0, 4(r27) +/* 802CFD88 002CCCE8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802CFD8C 002CCCEC C0 7C 00 08 */ lfs f3, 8(r28) +/* 802CFD90 002CCCF0 C0 5B 00 08 */ lfs f2, 8(r27) +/* 802CFD94 002CCCF4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802CFD98 002CCCF8 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802CFD9C 002CCCFC C0 1B 00 00 */ lfs f0, 0(r27) +/* 802CFDA0 002CCD00 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802CFDA4 002CCD04 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802CFDA8 002CCD08 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802CFDAC 002CCD0C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802CFDB0 002CCD10 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802CFDB4 002CCD14 48 04 47 D1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802CFDB8 002CCD18 C0 3D 00 04 */ lfs f1, 4(r29) +/* 802CFDBC 002CCD1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CFDC0 002CCD20 C0 1B 00 04 */ lfs f0, 4(r27) +/* 802CFDC4 002CCD24 38 81 00 08 */ addi r4, r1, 8 +/* 802CFDC8 002CCD28 C0 7D 00 08 */ lfs f3, 8(r29) +/* 802CFDCC 002CCD2C C0 5B 00 08 */ lfs f2, 8(r27) +/* 802CFDD0 002CCD30 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802CFDD4 002CCD34 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802CFDD8 002CCD38 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802CFDDC 002CCD3C EC 43 10 28 */ fsubs f2, f3, f2 +/* 802CFDE0 002CCD40 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802CFDE4 002CCD44 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802CFDE8 002CCD48 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802CFDEC 002CCD4C D0 01 00 08 */ stfs f0, 8(r1) +/* 802CFDF0 002CCD50 48 04 47 95 */ bl __ct__9CVector3dFRC9CVector3f +/* 802CFDF4 002CCD54 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CFDF8 002CCD58 48 04 47 29 */ bl MagSquared__9CVector3dCFv +/* 802CFDFC 002CCD5C FF 60 08 90 */ fmr f27, f1 +/* 802CFE00 002CCD60 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CFE04 002CCD64 48 04 47 1D */ bl MagSquared__9CVector3dCFv +/* 802CFE08 002CCD68 FF 80 08 90 */ fmr f28, f1 +/* 802CFE0C 002CCD6C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CFE10 002CCD70 38 81 00 30 */ addi r4, r1, 0x30 +/* 802CFE14 002CCD74 48 04 46 59 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802CFE18 002CCD78 FF A0 08 90 */ fmr f29, f1 +/* 802CFE1C 002CCD7C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFE20 002CCD80 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CFE24 002CCD84 48 04 46 49 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802CFE28 002CCD88 FF C0 08 90 */ fmr f30, f1 +/* 802CFE2C 002CCD8C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFE30 002CCD90 38 81 00 30 */ addi r4, r1, 0x30 +/* 802CFE34 002CCD94 48 04 46 39 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802CFE38 002CCD98 FF E0 08 90 */ fmr f31, f1 +/* 802CFE3C 002CCD9C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFE40 002CCDA0 48 04 46 E1 */ bl MagSquared__9CVector3dCFv +/* 802CFE44 002CCDA4 FC 7D 07 72 */ fmul f3, f29, f29 +/* 802CFE48 002CCDA8 FC 1C 07 B2 */ fmul f0, f28, f30 +/* 802CFE4C 002CCDAC FC 5B 07 F2 */ fmul f2, f27, f31 +/* 802CFE50 002CCDB0 FC 7B 1F 38 */ fmsub f3, f27, f28, f3 +/* 802CFE54 002CCDB4 FC 1D 07 F8 */ fmsub f0, f29, f31, f0 +/* 802CFE58 002CCDB8 FC 5D 17 B8 */ fmsub f2, f29, f30, f2 +/* 802CFE5C 002CCDBC FC 80 1A 10 */ fabs f4, f3 +/* 802CFE60 002CCDC0 FC 60 10 2A */ fadd f3, f0, f2 +/* 802CFE64 002CCDC4 FC 03 20 40 */ fcmpo cr0, f3, f4 +/* 802CFE68 002CCDC8 4C 40 13 82 */ cror 2, 0, 2 +/* 802CFE6C 002CCDCC 40 82 01 70 */ bne lbl_802CFFDC +/* 802CFE70 002CCDD0 C8 62 C4 A0 */ lfd f3, lbl_805AE1C0@sda21(r2) +/* 802CFE74 002CCDD4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802CFE78 002CCDD8 40 80 00 D8 */ bge lbl_802CFF50 +/* 802CFE7C 002CCDDC FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802CFE80 002CCDE0 40 80 00 88 */ bge lbl_802CFF08 +/* 802CFE84 002CCDE4 FC 1E 18 40 */ fcmpo cr0, f30, f3 +/* 802CFE88 002CCDE8 40 80 00 38 */ bge lbl_802CFEC0 +/* 802CFE8C 002CCDEC FC 00 F0 50 */ fneg f0, f30 +/* 802CFE90 002CCDF0 FC 40 18 90 */ fmr f2, f3 +/* 802CFE94 002CCDF4 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802CFE98 002CCDF8 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFE9C 002CCDFC 40 82 00 18 */ bne lbl_802CFEB4 +/* 802CFEA0 002CCE00 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFEA4 002CCE04 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802CFEA8 002CCE08 FC 63 DF BA */ fmadd f3, f3, f30, f27 +/* 802CFEAC 002CCE0C FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFEB0 002CCE10 48 00 03 44 */ b lbl_802D01F4 +lbl_802CFEB4: +/* 802CFEB4 002CCE14 FC 00 D8 24 */ fdiv f0, f0, f27 +/* 802CFEB8 002CCE18 FC 3E 08 3A */ fmadd f1, f30, f0, f1 +/* 802CFEBC 002CCE1C 48 00 03 38 */ b lbl_802D01F4 +lbl_802CFEC0: +/* 802CFEC0 002CCE20 FC 1F 18 40 */ fcmpo cr0, f31, f3 +/* 802CFEC4 002CCE24 FC 00 18 90 */ fmr f0, f3 +/* 802CFEC8 002CCE28 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFECC 002CCE2C 40 82 00 0C */ bne lbl_802CFED8 +/* 802CFED0 002CCE30 FC 40 18 90 */ fmr f2, f3 +/* 802CFED4 002CCE34 48 00 03 20 */ b lbl_802D01F4 +lbl_802CFED8: +/* 802CFED8 002CCE38 FC 40 F8 50 */ fneg f2, f31 +/* 802CFEDC 002CCE3C FC 02 E0 40 */ fcmpo cr0, f2, f28 +/* 802CFEE0 002CCE40 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFEE4 002CCE44 40 82 00 18 */ bne lbl_802CFEFC +/* 802CFEE8 002CCE48 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFEEC 002CCE4C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802CFEF0 002CCE50 FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802CFEF4 002CCE54 FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFEF8 002CCE58 48 00 02 FC */ b lbl_802D01F4 +lbl_802CFEFC: +/* 802CFEFC 002CCE5C FC 42 E0 24 */ fdiv f2, f2, f28 +/* 802CFF00 002CCE60 FC 3F 08 BA */ fmadd f1, f31, f2, f1 +/* 802CFF04 002CCE64 48 00 02 F0 */ b lbl_802D01F4 +lbl_802CFF08: +/* 802CFF08 002CCE68 FC 1F 18 40 */ fcmpo cr0, f31, f3 +/* 802CFF0C 002CCE6C FC 00 18 90 */ fmr f0, f3 +/* 802CFF10 002CCE70 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF14 002CCE74 40 82 00 0C */ bne lbl_802CFF20 +/* 802CFF18 002CCE78 FC 40 18 90 */ fmr f2, f3 +/* 802CFF1C 002CCE7C 48 00 02 D8 */ b lbl_802D01F4 +lbl_802CFF20: +/* 802CFF20 002CCE80 FC 40 F8 50 */ fneg f2, f31 +/* 802CFF24 002CCE84 FC 02 E0 40 */ fcmpo cr0, f2, f28 +/* 802CFF28 002CCE88 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF2C 002CCE8C 40 82 00 18 */ bne lbl_802CFF44 +/* 802CFF30 002CCE90 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFF34 002CCE94 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802CFF38 002CCE98 FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802CFF3C 002CCE9C FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFF40 002CCEA0 48 00 02 B4 */ b lbl_802D01F4 +lbl_802CFF44: +/* 802CFF44 002CCEA4 FC 42 E0 24 */ fdiv f2, f2, f28 +/* 802CFF48 002CCEA8 FC 3F 08 BA */ fmadd f1, f31, f2, f1 +/* 802CFF4C 002CCEAC 48 00 02 A8 */ b lbl_802D01F4 +lbl_802CFF50: +/* 802CFF50 002CCEB0 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802CFF54 002CCEB4 40 80 00 4C */ bge lbl_802CFFA0 +/* 802CFF58 002CCEB8 FC 1E 18 40 */ fcmpo cr0, f30, f3 +/* 802CFF5C 002CCEBC FC 40 18 90 */ fmr f2, f3 +/* 802CFF60 002CCEC0 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF64 002CCEC4 40 82 00 0C */ bne lbl_802CFF70 +/* 802CFF68 002CCEC8 FC 00 18 90 */ fmr f0, f3 +/* 802CFF6C 002CCECC 48 00 02 88 */ b lbl_802D01F4 +lbl_802CFF70: +/* 802CFF70 002CCED0 FC 00 F0 50 */ fneg f0, f30 +/* 802CFF74 002CCED4 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802CFF78 002CCED8 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF7C 002CCEDC 40 82 00 18 */ bne lbl_802CFF94 +/* 802CFF80 002CCEE0 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFF84 002CCEE4 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802CFF88 002CCEE8 FC 63 DF BA */ fmadd f3, f3, f30, f27 +/* 802CFF8C 002CCEEC FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFF90 002CCEF0 48 00 02 64 */ b lbl_802D01F4 +lbl_802CFF94: +/* 802CFF94 002CCEF4 FC 00 D8 24 */ fdiv f0, f0, f27 +/* 802CFF98 002CCEF8 FC 3E 08 3A */ fmadd f1, f30, f0, f1 +/* 802CFF9C 002CCEFC 48 00 02 58 */ b lbl_802D01F4 +lbl_802CFFA0: +/* 802CFFA0 002CCF00 C8 62 C4 A8 */ lfd f3, lbl_805AE1C8@sda21(r2) +/* 802CFFA4 002CCF04 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802CFFA8 002CCF08 FC 63 20 24 */ fdiv f3, f3, f4 +/* 802CFFAC 002CCF0C FC 42 00 F2 */ fmul f2, f2, f3 +/* 802CFFB0 002CCF10 FC 00 00 F2 */ fmul f0, f0, f3 +/* 802CFFB4 002CCF14 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802CFFB8 002CCF18 FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802CFFBC 002CCF1C FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802CFFC0 002CCF20 FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802CFFC4 002CCF24 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802CFFC8 002CCF28 FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802CFFCC 002CCF2C FC 62 00 F2 */ fmul f3, f2, f3 +/* 802CFFD0 002CCF30 FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802CFFD4 002CCF34 FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFFD8 002CCF38 48 00 02 1C */ b lbl_802D01F4 +lbl_802CFFDC: +/* 802CFFDC 002CCF3C C8 82 C4 A0 */ lfd f4, lbl_805AE1C0@sda21(r2) +/* 802CFFE0 002CCF40 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802CFFE4 002CCF44 40 80 00 C0 */ bge lbl_802D00A4 +/* 802CFFE8 002CCF48 FC 1D F0 2A */ fadd f0, f29, f30 +/* 802CFFEC 002CCF4C FC 5C F8 2A */ fadd f2, f28, f31 +/* 802CFFF0 002CCF50 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802CFFF4 002CCF54 40 81 00 68 */ ble lbl_802D005C +/* 802CFFF8 002CCF58 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802CFFFC 002CCF5C FC 42 00 28 */ fsub f2, f2, f0 +/* 802D0000 002CCF60 FC 05 DF 7C */ fnmsub f0, f5, f29, f27 +/* 802D0004 002CCF64 FC 1C 00 2A */ fadd f0, f28, f0 +/* 802D0008 002CCF68 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D000C 002CCF6C 4C 41 13 82 */ cror 2, 1, 2 +/* 802D0010 002CCF70 40 82 00 18 */ bne lbl_802D0028 +/* 802D0014 002CCF74 FC 65 DF BA */ fmadd f3, f5, f30, f27 +/* 802D0018 002CCF78 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D001C 002CCF7C FC 40 20 90 */ fmr f2, f4 +/* 802D0020 002CCF80 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0024 002CCF84 48 00 01 D0 */ b lbl_802D01F4 +lbl_802D0028: +/* 802D0028 002CCF88 FC 02 00 24 */ fdiv f0, f2, f0 +/* 802D002C 002CCF8C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D0030 002CCF90 FC 42 00 28 */ fsub f2, f2, f0 +/* 802D0034 002CCF94 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802D0038 002CCF98 FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802D003C 002CCF9C FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802D0040 002CCFA0 FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802D0044 002CCFA4 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802D0048 002CCFA8 FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802D004C 002CCFAC FC 62 00 F2 */ fmul f3, f2, f3 +/* 802D0050 002CCFB0 FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802D0054 002CCFB4 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0058 002CCFB8 48 00 01 9C */ b lbl_802D01F4 +lbl_802D005C: +/* 802D005C 002CCFBC FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D0060 002CCFC0 FC 00 20 90 */ fmr f0, f4 +/* 802D0064 002CCFC4 4C 40 13 82 */ cror 2, 0, 2 +/* 802D0068 002CCFC8 40 82 00 18 */ bne lbl_802D0080 +/* 802D006C 002CCFCC C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802D0070 002CCFD0 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D0074 002CCFD4 FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802D0078 002CCFD8 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D007C 002CCFDC 48 00 01 78 */ b lbl_802D01F4 +lbl_802D0080: +/* 802D0080 002CCFE0 FC 1F 20 40 */ fcmpo cr0, f31, f4 +/* 802D0084 002CCFE4 4C 41 13 82 */ cror 2, 1, 2 +/* 802D0088 002CCFE8 40 82 00 0C */ bne lbl_802D0094 +/* 802D008C 002CCFEC FC 40 20 90 */ fmr f2, f4 +/* 802D0090 002CCFF0 48 00 01 64 */ b lbl_802D01F4 +lbl_802D0094: +/* 802D0094 002CCFF4 FC 40 F8 50 */ fneg f2, f31 +/* 802D0098 002CCFF8 FC 42 E0 24 */ fdiv f2, f2, f28 +/* 802D009C 002CCFFC FC 3F 08 BA */ fmadd f1, f31, f2, f1 +/* 802D00A0 002CD000 48 00 01 54 */ b lbl_802D01F4 +lbl_802D00A4: +/* 802D00A4 002CD004 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D00A8 002CD008 40 80 00 C0 */ bge lbl_802D0168 +/* 802D00AC 002CD00C FC 1D F8 2A */ fadd f0, f29, f31 +/* 802D00B0 002CD010 FC 5B F0 2A */ fadd f2, f27, f30 +/* 802D00B4 002CD014 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D00B8 002CD018 40 81 00 68 */ ble lbl_802D0120 +/* 802D00BC 002CD01C C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802D00C0 002CD020 FC 42 00 28 */ fsub f2, f2, f0 +/* 802D00C4 002CD024 FC 05 DF 7C */ fnmsub f0, f5, f29, f27 +/* 802D00C8 002CD028 FC 1C 00 2A */ fadd f0, f28, f0 +/* 802D00CC 002CD02C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D00D0 002CD030 4C 41 13 82 */ cror 2, 1, 2 +/* 802D00D4 002CD034 40 82 00 18 */ bne lbl_802D00EC +/* 802D00D8 002CD038 FC 65 E7 FA */ fmadd f3, f5, f31, f28 +/* 802D00DC 002CD03C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D00E0 002CD040 FC 00 20 90 */ fmr f0, f4 +/* 802D00E4 002CD044 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D00E8 002CD048 48 00 01 0C */ b lbl_802D01F4 +lbl_802D00EC: +/* 802D00EC 002CD04C FC 42 00 24 */ fdiv f2, f2, f0 +/* 802D00F0 002CD050 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D00F4 002CD054 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802D00F8 002CD058 FC 00 10 28 */ fsub f0, f0, f2 +/* 802D00FC 002CD05C FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802D0100 002CD060 FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802D0104 002CD064 FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802D0108 002CD068 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802D010C 002CD06C FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802D0110 002CD070 FC 62 00 F2 */ fmul f3, f2, f3 +/* 802D0114 002CD074 FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802D0118 002CD078 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D011C 002CD07C 48 00 00 D8 */ b lbl_802D01F4 +lbl_802D0120: +/* 802D0120 002CD080 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D0124 002CD084 FC 40 20 90 */ fmr f2, f4 +/* 802D0128 002CD088 4C 40 13 82 */ cror 2, 0, 2 +/* 802D012C 002CD08C 40 82 00 18 */ bne lbl_802D0144 +/* 802D0130 002CD090 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802D0134 002CD094 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D0138 002CD098 FC 63 DF BA */ fmadd f3, f3, f30, f27 +/* 802D013C 002CD09C FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0140 002CD0A0 48 00 00 B4 */ b lbl_802D01F4 +lbl_802D0144: +/* 802D0144 002CD0A4 FC 1E 20 40 */ fcmpo cr0, f30, f4 +/* 802D0148 002CD0A8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D014C 002CD0AC 40 82 00 0C */ bne lbl_802D0158 +/* 802D0150 002CD0B0 FC 00 20 90 */ fmr f0, f4 +/* 802D0154 002CD0B4 48 00 00 A0 */ b lbl_802D01F4 +lbl_802D0158: +/* 802D0158 002CD0B8 FC 00 F0 50 */ fneg f0, f30 +/* 802D015C 002CD0BC FC 00 D8 24 */ fdiv f0, f0, f27 +/* 802D0160 002CD0C0 FC 3E 08 3A */ fmadd f1, f30, f0, f1 +/* 802D0164 002CD0C4 48 00 00 90 */ b lbl_802D01F4 +lbl_802D0168: +/* 802D0168 002CD0C8 FC 1C F8 2A */ fadd f0, f28, f31 +/* 802D016C 002CD0CC FC 00 E8 28 */ fsub f0, f0, f29 +/* 802D0170 002CD0D0 FC 40 F0 28 */ fsub f2, f0, f30 +/* 802D0174 002CD0D4 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D0178 002CD0D8 4C 40 13 82 */ cror 2, 0, 2 +/* 802D017C 002CD0DC 40 82 00 1C */ bne lbl_802D0198 +/* 802D0180 002CD0E0 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802D0184 002CD0E4 FC 00 20 90 */ fmr f0, f4 +/* 802D0188 002CD0E8 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D018C 002CD0EC FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802D0190 002CD0F0 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0194 002CD0F4 48 00 00 60 */ b lbl_802D01F4 +lbl_802D0198: +/* 802D0198 002CD0F8 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802D019C 002CD0FC FC 05 DF 7C */ fnmsub f0, f5, f29, f27 +/* 802D01A0 002CD100 FC 1C 00 2A */ fadd f0, f28, f0 +/* 802D01A4 002CD104 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D01A8 002CD108 4C 41 13 82 */ cror 2, 1, 2 +/* 802D01AC 002CD10C 40 82 00 18 */ bne lbl_802D01C4 +/* 802D01B0 002CD110 FC 65 DF BA */ fmadd f3, f5, f30, f27 +/* 802D01B4 002CD114 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D01B8 002CD118 FC 40 20 90 */ fmr f2, f4 +/* 802D01BC 002CD11C FC 21 18 2A */ fadd f1, f1, f3 +/* 802D01C0 002CD120 48 00 00 34 */ b lbl_802D01F4 +lbl_802D01C4: +/* 802D01C4 002CD124 FC 02 00 24 */ fdiv f0, f2, f0 +/* 802D01C8 002CD128 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D01CC 002CD12C FC 42 00 28 */ fsub f2, f2, f0 +/* 802D01D0 002CD130 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802D01D4 002CD134 FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802D01D8 002CD138 FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802D01DC 002CD13C FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802D01E0 002CD140 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802D01E4 002CD144 FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802D01E8 002CD148 FC 62 00 F2 */ fmul f3, f2, f3 +/* 802D01EC 002CD14C FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802D01F0 002CD150 FC 21 18 2A */ fadd f1, f1, f3 +lbl_802D01F4: +/* 802D01F4 002CD154 28 1E 00 00 */ cmplwi r30, 0 +/* 802D01F8 002CD158 41 82 00 0C */ beq lbl_802D0204 +/* 802D01FC 002CD15C FC 40 10 18 */ frsp f2, f2 +/* 802D0200 002CD160 D0 5E 00 00 */ stfs f2, 0(r30) +lbl_802D0204: +/* 802D0204 002CD164 28 1F 00 00 */ cmplwi r31, 0 +/* 802D0208 002CD168 41 82 00 0C */ beq lbl_802D0214 +/* 802D020C 002CD16C FC 00 00 18 */ frsp f0, f0 +/* 802D0210 002CD170 D0 1F 00 00 */ stfs f0, 0(r31) +lbl_802D0214: +/* 802D0214 002CD174 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802D0218 002CD178 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802D021C 002CD17C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 802D0220 002CD180 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 802D0224 002CD184 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 802D0228 002CD188 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 802D022C 002CD18C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 802D0230 002CD190 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 802D0234 002CD194 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802D0238 002CD198 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802D023C 002CD19C BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802D0240 002CD1A0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802D0244 002CD1A4 7C 08 03 A6 */ mtlr r0 +/* 802D0248 002CD1A8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802D024C 002CD1AC 4E 80 00 20 */ blr + +.global TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f: +/* 802D0250 002CD1B0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802D0254 002CD1B4 7C 08 02 A6 */ mflr r0 +/* 802D0258 002CD1B8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802D025C 002CD1BC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802D0260 002CD1C0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802D0264 002CD1C4 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 802D0268 002CD1C8 7C FE 3B 78 */ mr r30, r7 +/* 802D026C 002CD1CC 7D 1F 43 78 */ mr r31, r8 +/* 802D0270 002CD1D0 7C 7A 1B 78 */ mr r26, r3 +/* 802D0274 002CD1D4 7C 9B 23 78 */ mr r27, r4 +/* 802D0278 002CD1D8 7C BC 2B 78 */ mr r28, r5 +/* 802D027C 002CD1DC 7C DD 33 78 */ mr r29, r6 +/* 802D0280 002CD1E0 38 E1 00 0C */ addi r7, r1, 0xc +/* 802D0284 002CD1E4 39 01 00 08 */ addi r8, r1, 8 +/* 802D0288 002CD1E8 4B FF FA 6D */ bl TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf +/* 802D028C 002CD1EC C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 802D0290 002CD1F0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D0294 002CD1F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0298 002CD1F8 40 81 00 0C */ ble lbl_802D02A4 +/* 802D029C 002CD1FC 38 60 00 00 */ li r3, 0 +/* 802D02A0 002CD200 48 00 01 84 */ b lbl_802D0424 +lbl_802D02A4: +/* 802D02A4 002CD204 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802D02A8 002CD208 7F A4 EB 78 */ mr r4, r29 +/* 802D02AC 002CD20C C0 61 00 08 */ lfs f3, 8(r1) +/* 802D02B0 002CD210 7F 85 E3 78 */ mr r5, r28 +/* 802D02B4 002CD214 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D02B8 002CD218 7F 66 DB 78 */ mr r6, r27 +/* 802D02BC 002CD21C EC 02 18 2A */ fadds f0, f2, f3 +/* 802D02C0 002CD220 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802D02C4 002CD224 38 61 00 64 */ addi r3, r1, 0x64 +/* 802D02C8 002CD228 38 E1 00 58 */ addi r7, r1, 0x58 +/* 802D02CC 002CD22C D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802D02D0 002CD230 EF E1 00 28 */ fsubs f31, f1, f0 +/* 802D02D4 002CD234 D3 E1 00 60 */ stfs f31, 0x60(r1) +/* 802D02D8 002CD238 48 04 4B C5 */ bl BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802D02DC 002CD23C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802D02E0 002CD240 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D02E4 002CD244 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D02E8 002CD248 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802D02EC 002CD24C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D02F0 002CD250 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802D02F4 002CD254 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D02F8 002CD258 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802D02FC 002CD25C FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D0300 002CD260 41 82 00 34 */ beq lbl_802D0334 +/* 802D0304 002CD264 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D0308 002CD268 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D030C 002CD26C 41 82 00 28 */ beq lbl_802D0334 +/* 802D0310 002CD270 C0 41 00 08 */ lfs f2, 8(r1) +/* 802D0314 002CD274 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D0318 002CD278 41 82 00 1C */ beq lbl_802D0334 +/* 802D031C 002CD27C FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D0320 002CD280 41 82 00 14 */ beq lbl_802D0334 +/* 802D0324 002CD284 FC 01 F8 00 */ fcmpu cr0, f1, f31 +/* 802D0328 002CD288 41 82 00 0C */ beq lbl_802D0334 +/* 802D032C 002CD28C FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 802D0330 002CD290 40 82 00 54 */ bne lbl_802D0384 +lbl_802D0334: +/* 802D0334 002CD294 7F 44 D3 78 */ mr r4, r26 +/* 802D0338 002CD298 7F C5 F3 78 */ mr r5, r30 +/* 802D033C 002CD29C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D0340 002CD2A0 48 06 6E 49 */ bl GetSurfaceNormal__7CSphereCFRC9CVector3f +/* 802D0344 002CD2A4 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802D0348 002CD2A8 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D034C 002CD2AC FC 00 00 50 */ fneg f0, f0 +/* 802D0350 002CD2B0 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 802D0354 002CD2B4 FC 60 08 50 */ fneg f3, f1 +/* 802D0358 002CD2B8 FC 80 10 50 */ fneg f4, f2 +/* 802D035C 002CD2BC FC 40 00 18 */ frsp f2, f0 +/* 802D0360 002CD2C0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802D0364 002CD2C4 FC 20 18 18 */ frsp f1, f3 +/* 802D0368 002CD2C8 FC 00 20 18 */ frsp f0, f4 +/* 802D036C 002CD2CC D0 61 00 50 */ stfs f3, 0x50(r1) +/* 802D0370 002CD2D0 D0 5F 00 00 */ stfs f2, 0(r31) +/* 802D0374 002CD2D4 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D0378 002CD2D8 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802D037C 002CD2DC D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0380 002CD2E0 48 00 00 A0 */ b lbl_802D0420 +lbl_802D0384: +/* 802D0384 002CD2E4 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802D0388 002CD2E8 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D038C 002CD2EC C0 5B 00 00 */ lfs f2, 0(r27) +/* 802D0390 002CD2F0 38 81 00 28 */ addi r4, r1, 0x28 +/* 802D0394 002CD2F4 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D0398 002CD2F8 ED 01 10 28 */ fsubs f8, f1, f2 +/* 802D039C 002CD2FC C0 3D 00 04 */ lfs f1, 4(r29) +/* 802D03A0 002CD300 C0 9B 00 04 */ lfs f4, 4(r27) +/* 802D03A4 002CD304 EC 60 10 28 */ fsubs f3, f0, f2 +/* 802D03A8 002CD308 C0 1C 00 04 */ lfs f0, 4(r28) +/* 802D03AC 002CD30C EC E1 20 28 */ fsubs f7, f1, f4 +/* 802D03B0 002CD310 EC A0 20 28 */ fsubs f5, f0, f4 +/* 802D03B4 002CD314 C0 3D 00 08 */ lfs f1, 8(r29) +/* 802D03B8 002CD318 C0 5B 00 08 */ lfs f2, 8(r27) +/* 802D03BC 002CD31C C0 1C 00 08 */ lfs f0, 8(r28) +/* 802D03C0 002CD320 EC C1 10 28 */ fsubs f6, f1, f2 +/* 802D03C4 002CD324 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 802D03C8 002CD328 EC 80 10 28 */ fsubs f4, f0, f2 +/* 802D03CC 002CD32C EC 08 01 72 */ fmuls f0, f8, f5 +/* 802D03D0 002CD330 D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 802D03D4 002CD334 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 802D03D8 002CD338 EC 47 01 32 */ fmuls f2, f7, f4 +/* 802D03DC 002CD33C D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 802D03E0 002CD340 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 802D03E4 002CD344 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 +/* 802D03E8 002CD348 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802D03EC 002CD34C EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 802D03F0 002CD350 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 802D03F4 002CD354 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802D03F8 002CD358 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802D03FC 002CD35C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802D0400 002CD360 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802D0404 002CD364 48 04 44 4D */ bl AsNormalized__9CVector3fCFv +/* 802D0408 002CD368 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D040C 002CD36C D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0410 002CD370 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D0414 002CD374 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D0418 002CD378 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D041C 002CD37C D0 1F 00 08 */ stfs f0, 8(r31) +lbl_802D0420: +/* 802D0420 002CD380 38 60 00 01 */ li r3, 1 +lbl_802D0424: +/* 802D0424 002CD384 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802D0428 002CD388 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802D042C 002CD38C BB 41 00 78 */ lmw r26, 0x78(r1) +/* 802D0430 002CD390 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D0434 002CD394 7C 08 03 A6 */ mtlr r0 +/* 802D0438 002CD398 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802D043C 002CD39C 4E 80 00 20 */ blr + +.global TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802D0440 002CD3A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D0444 002CD3A4 7C 08 02 A6 */ mflr r0 +/* 802D0448 002CD3A8 38 E0 00 00 */ li r7, 0 +/* 802D044C 002CD3AC 39 00 00 00 */ li r8, 0 +/* 802D0450 002CD3B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D0454 002CD3B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D0458 002CD3B8 7C 7F 1B 78 */ mr r31, r3 +/* 802D045C 002CD3BC 4B FF F8 99 */ bl TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf +/* 802D0460 002CD3C0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802D0464 002CD3C4 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D0468 002CD3C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D046C 002CD3CC 7C 00 00 26 */ mfcr r0 +/* 802D0470 002CD3D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D0474 002CD3D4 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D0478 002CD3D8 7C 00 00 34 */ cntlzw r0, r0 +/* 802D047C 002CD3DC 54 03 D9 7E */ srwi r3, r0, 5 +/* 802D0480 002CD3E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D0484 002CD3E4 7C 08 03 A6 */ mtlr r0 +/* 802D0488 002CD3E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D048C 002CD3EC 4E 80 00 20 */ blr + +.global MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f: +/* 802D0490 002CD3F0 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802D0494 002CD3F4 7C 08 02 A6 */ mflr r0 +/* 802D0498 002CD3F8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802D049C 002CD3FC BE C1 01 98 */ stmw r22, 0x198(r1) +/* 802D04A0 002CD400 7C 9B 23 78 */ mr r27, r4 +/* 802D04A4 002CD404 7C BC 2B 78 */ mr r28, r5 +/* 802D04A8 002CD408 7C 7A 1B 78 */ mr r26, r3 +/* 802D04AC 002CD40C 3B 1B 00 0C */ addi r24, r27, 0xc +/* 802D04B0 002CD410 7C DD 33 78 */ mr r29, r6 +/* 802D04B4 002CD414 7C FE 3B 78 */ mr r30, r7 +/* 802D04B8 002CD418 7D 1F 43 78 */ mr r31, r8 +/* 802D04BC 002CD41C 38 A1 01 5C */ addi r5, r1, 0x15c +/* 802D04C0 002CD420 C0 C3 00 0C */ lfs f6, 0xc(r3) +/* 802D04C4 002CD424 38 61 01 74 */ addi r3, r1, 0x174 +/* 802D04C8 002CD428 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802D04CC 002CD42C C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802D04D0 002CD430 EC A2 30 2A */ fadds f5, f2, f6 +/* 802D04D4 002CD434 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D04D8 002CD438 EC 81 30 2A */ fadds f4, f1, f6 +/* 802D04DC 002CD43C C0 44 00 04 */ lfs f2, 4(r4) +/* 802D04E0 002CD440 EC 60 30 2A */ fadds f3, f0, f6 +/* 802D04E4 002CD444 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D04E8 002CD448 C0 04 00 00 */ lfs f0, 0(r4) +/* 802D04EC 002CD44C EC 42 30 28 */ fsubs f2, f2, f6 +/* 802D04F0 002CD450 EC 21 30 28 */ fsubs f1, f1, f6 +/* 802D04F4 002CD454 D0 A1 01 60 */ stfs f5, 0x160(r1) +/* 802D04F8 002CD458 EC 00 30 28 */ fsubs f0, f0, f6 +/* 802D04FC 002CD45C 38 81 01 68 */ addi r4, r1, 0x168 +/* 802D0500 002CD460 D0 61 01 5C */ stfs f3, 0x15c(r1) +/* 802D0504 002CD464 D0 81 01 64 */ stfs f4, 0x164(r1) +/* 802D0508 002CD468 D0 01 01 68 */ stfs f0, 0x168(r1) +/* 802D050C 002CD46C D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 802D0510 002CD470 D0 21 01 70 */ stfs f1, 0x170(r1) +/* 802D0514 002CD474 48 06 7F F5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D0518 002CD478 7F 44 D3 78 */ mr r4, r26 +/* 802D051C 002CD47C 7F 85 E3 78 */ mr r5, r28 +/* 802D0520 002CD480 38 61 01 74 */ addi r3, r1, 0x174 +/* 802D0524 002CD484 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802D0528 002CD488 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802D052C 002CD48C 39 01 00 1C */ addi r8, r1, 0x1c +/* 802D0530 002CD490 39 21 00 08 */ addi r9, r1, 8 +/* 802D0534 002CD494 48 00 16 75 */ bl BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb +/* 802D0538 002CD498 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D053C 002CD49C 40 82 00 0C */ bne lbl_802D0548 +/* 802D0540 002CD4A0 38 60 00 00 */ li r3, 0 +/* 802D0544 002CD4A4 48 00 0D D4 */ b lbl_802D1318 +lbl_802D0548: +/* 802D0548 002CD4A8 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 802D054C 002CD4AC 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802D0550 002CD4B0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D0554 002CD4B4 38 83 55 56 */ addi r4, r3, 0x55555556@l +/* 802D0558 002CD4B8 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D055C 002CD4BC EC 06 00 32 */ fmuls f0, f6, f0 +/* 802D0560 002CD4C0 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D0564 002CD4C4 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D0568 002CD4C8 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 802D056C 002CD4CC C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D0570 002CD4D0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D0574 002CD4D4 C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D0578 002CD4D8 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 802D057C 002CD4DC EC 45 20 2A */ fadds f2, f5, f4 +/* 802D0580 002CD4E0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0584 002CD4E4 EC 03 08 2A */ fadds f0, f3, f1 +/* 802D0588 002CD4E8 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D058C 002CD4EC D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0590 002CD4F0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802D0594 002CD4F4 38 E3 00 01 */ addi r7, r3, 1 +/* 802D0598 002CD4F8 38 C3 00 02 */ addi r6, r3, 2 +/* 802D059C 002CD4FC 7C A4 38 96 */ mulhw r5, r4, r7 +/* 802D05A0 002CD500 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 802D05A4 002CD504 7C 05 02 14 */ add r0, r5, r0 +/* 802D05A8 002CD508 1C 00 00 03 */ mulli r0, r0, 3 +/* 802D05AC 002CD50C 7C A4 30 96 */ mulhw r5, r4, r6 +/* 802D05B0 002CD510 7C 00 38 50 */ subf r0, r0, r7 +/* 802D05B4 002CD514 54 07 10 3A */ slwi r7, r0, 2 +/* 802D05B8 002CD518 7C 3E 3C 2E */ lfsx f1, r30, r7 +/* 802D05BC 002CD51C 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 802D05C0 002CD520 7C 1B 3C 2E */ lfsx f0, r27, r7 +/* 802D05C4 002CD524 7C 85 22 14 */ add r4, r5, r4 +/* 802D05C8 002CD528 1C 84 00 03 */ mulli r4, r4, 3 +/* 802D05CC 002CD52C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D05D0 002CD530 7C A4 30 50 */ subf r5, r4, r6 +/* 802D05D4 002CD534 4C 41 13 82 */ cror 2, 1, 2 +/* 802D05D8 002CD538 7C 80 00 26 */ mfcr r4 +/* 802D05DC 002CD53C 7C 18 3C 2E */ lfsx f0, r24, r7 +/* 802D05E0 002CD540 54 86 1F FE */ rlwinm r6, r4, 3, 0x1f, 0x1f +/* 802D05E4 002CD544 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D05E8 002CD548 4C 40 13 82 */ cror 2, 0, 2 +/* 802D05EC 002CD54C 7C 80 00 26 */ mfcr r4 +/* 802D05F0 002CD550 54 A7 10 3A */ slwi r7, r5, 2 +/* 802D05F4 002CD554 7C 3E 3C 2E */ lfsx f1, r30, r7 +/* 802D05F8 002CD558 54 88 1F FE */ rlwinm r8, r4, 3, 0x1f, 0x1f +/* 802D05FC 002CD55C 7C 1B 3C 2E */ lfsx f0, r27, r7 +/* 802D0600 002CD560 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0604 002CD564 4C 41 13 82 */ cror 2, 1, 2 +/* 802D0608 002CD568 7C 80 00 26 */ mfcr r4 +/* 802D060C 002CD56C 7C 18 3C 2E */ lfsx f0, r24, r7 +/* 802D0610 002CD570 54 87 1F FE */ rlwinm r7, r4, 3, 0x1f, 0x1f +/* 802D0614 002CD574 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0618 002CD578 4C 40 13 82 */ cror 2, 0, 2 +/* 802D061C 002CD57C 7C 80 00 26 */ mfcr r4 +/* 802D0620 002CD580 28 06 00 00 */ cmplwi r6, 0 +/* 802D0624 002CD584 54 84 1F FE */ rlwinm r4, r4, 3, 0x1f, 0x1f +/* 802D0628 002CD588 39 20 00 00 */ li r9, 0 +/* 802D062C 002CD58C 41 82 00 10 */ beq lbl_802D063C +/* 802D0630 002CD590 28 08 00 00 */ cmplwi r8, 0 +/* 802D0634 002CD594 41 82 00 08 */ beq lbl_802D063C +/* 802D0638 002CD598 39 20 00 01 */ li r9, 1 +lbl_802D063C: +/* 802D063C 002CD59C 28 07 00 00 */ cmplwi r7, 0 +/* 802D0640 002CD5A0 39 00 00 00 */ li r8, 0 +/* 802D0644 002CD5A4 41 82 00 10 */ beq lbl_802D0654 +/* 802D0648 002CD5A8 28 04 00 00 */ cmplwi r4, 0 +/* 802D064C 002CD5AC 41 82 00 08 */ beq lbl_802D0654 +/* 802D0650 002CD5B0 39 00 00 01 */ li r8, 1 +lbl_802D0654: +/* 802D0654 002CD5B4 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0658 002CD5B8 41 82 00 A0 */ beq lbl_802D06F8 +/* 802D065C 002CD5BC 55 04 06 3F */ clrlwi. r4, r8, 0x18 +/* 802D0660 002CD5C0 41 82 00 98 */ beq lbl_802D06F8 +/* 802D0664 002CD5C4 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802D0668 002CD5C8 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D066C 002CD5CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0670 002CD5D0 41 80 00 10 */ blt lbl_802D0680 +/* 802D0674 002CD5D4 C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D0678 002CD5D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D067C 002CD5DC 40 81 00 0C */ ble lbl_802D0688 +lbl_802D0680: +/* 802D0680 002CD5E0 38 60 00 00 */ li r3, 0 +/* 802D0684 002CD5E4 48 00 0C 94 */ b lbl_802D1318 +lbl_802D0688: +/* 802D0688 002CD5E8 88 01 00 08 */ lbz r0, 8(r1) +/* 802D068C 002CD5EC 28 00 00 00 */ cmplwi r0, 0 +/* 802D0690 002CD5F0 41 82 00 0C */ beq lbl_802D069C +/* 802D0694 002CD5F4 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D0698 002CD5F8 48 00 00 08 */ b lbl_802D06A0 +lbl_802D069C: +/* 802D069C 002CD5FC C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +lbl_802D06A0: +/* 802D06A0 002CD600 54 60 10 3A */ slwi r0, r3, 2 +/* 802D06A4 002CD604 38 60 00 01 */ li r3, 1 +/* 802D06A8 002CD608 7C 1F 05 2E */ stfsx f0, r31, r0 +/* 802D06AC 002CD60C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D06B0 002CD610 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D06B4 002CD614 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D06B8 002CD618 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D06BC 002CD61C C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D06C0 002CD620 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D06C4 002CD624 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D06C8 002CD628 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D06CC 002CD62C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D06D0 002CD630 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D06D4 002CD634 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D06D8 002CD638 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D06DC 002CD63C C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D06E0 002CD640 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D06E4 002CD644 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D06E8 002CD648 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D06EC 002CD64C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D06F0 002CD650 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D06F4 002CD654 48 00 0C 24 */ b lbl_802D1318 +lbl_802D06F8: +/* 802D06F8 002CD658 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D06FC 002CD65C 40 82 08 48 */ bne lbl_802D0F44 +/* 802D0700 002CD660 55 04 06 3F */ clrlwi. r4, r8, 0x18 +/* 802D0704 002CD664 40 82 08 40 */ bne lbl_802D0F44 +/* 802D0708 002CD668 39 20 00 01 */ li r9, 1 +/* 802D070C 002CD66C 89 01 00 08 */ lbz r8, 8(r1) +/* 802D0710 002CD670 7D 23 18 30 */ slw r3, r9, r3 +/* 802D0714 002CD674 7F 64 DB 78 */ mr r4, r27 +/* 802D0718 002CD678 7D 20 00 30 */ slw r0, r9, r0 +/* 802D071C 002CD67C 7D 29 28 30 */ slw r9, r9, r5 +/* 802D0720 002CD680 7C A3 41 D6 */ mullw r5, r3, r8 +/* 802D0724 002CD684 38 61 01 50 */ addi r3, r1, 0x150 +/* 802D0728 002CD688 7C 00 31 D6 */ mullw r0, r0, r6 +/* 802D072C 002CD68C 7C C9 39 D6 */ mullw r6, r9, r7 +/* 802D0730 002CD690 7C A0 03 78 */ or r0, r5, r0 +/* 802D0734 002CD694 7C D7 03 78 */ or r23, r6, r0 +/* 802D0738 002CD698 7E E5 BB 78 */ mr r5, r23 +/* 802D073C 002CD69C 48 06 6E 75 */ bl GetPoint__6CAABoxCFi +/* 802D0740 002CD6A0 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D0744 002CD6A4 7F 44 D3 78 */ mr r4, r26 +/* 802D0748 002CD6A8 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D074C 002CD6AC 7F 85 E3 78 */ mr r5, r28 +/* 802D0750 002CD6B0 C0 61 01 50 */ lfs f3, 0x150(r1) +/* 802D0754 002CD6B4 FC 20 08 18 */ frsp f1, f1 +/* 802D0758 002CD6B8 C0 41 01 54 */ lfs f2, 0x154(r1) +/* 802D075C 002CD6BC 7F C7 F3 78 */ mr r7, r30 +/* 802D0760 002CD6C0 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 802D0764 002CD6C4 38 61 01 40 */ addi r3, r1, 0x140 +/* 802D0768 002CD6C8 D0 61 01 40 */ stfs f3, 0x140(r1) +/* 802D076C 002CD6CC 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802D0770 002CD6D0 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 802D0774 002CD6D4 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 802D0778 002CD6D8 D0 81 01 4C */ stfs f4, 0x14c(r1) +/* 802D077C 002CD6DC 48 00 33 8D */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D0780 002CD6E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0784 002CD6E4 41 82 05 48 */ beq lbl_802D0CCC +/* 802D0788 002CD6E8 38 00 00 00 */ li r0, 0 +/* 802D078C 002CD6EC 38 60 00 01 */ li r3, 1 +/* 802D0790 002CD6F0 7C 60 00 30 */ slw r0, r3, r0 +/* 802D0794 002CD6F4 3B 20 FF FF */ li r25, -1 +/* 802D0798 002CD6F8 7E E0 00 39 */ and. r0, r23, r0 +/* 802D079C 002CD6FC 41 82 00 1C */ beq lbl_802D07B8 +/* 802D07A0 002CD700 C0 21 01 50 */ lfs f1, 0x150(r1) +/* 802D07A4 002CD704 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D07A8 002CD708 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D07AC 002CD70C 7C 00 00 26 */ mfcr r0 +/* 802D07B0 002CD710 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D07B4 002CD714 48 00 00 18 */ b lbl_802D07CC +lbl_802D07B8: +/* 802D07B8 002CD718 C0 21 01 50 */ lfs f1, 0x150(r1) +/* 802D07BC 002CD71C C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D07C0 002CD720 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D07C4 002CD724 7C 00 00 26 */ mfcr r0 +/* 802D07C8 002CD728 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_802D07CC: +/* 802D07CC 002CD72C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802D07D0 002CD730 41 82 00 0C */ beq lbl_802D07DC +/* 802D07D4 002CD734 3B 20 00 00 */ li r25, 0 +/* 802D07D8 002CD738 48 00 00 98 */ b lbl_802D0870 +lbl_802D07DC: +/* 802D07DC 002CD73C 38 00 00 01 */ li r0, 1 +/* 802D07E0 002CD740 7C 60 00 30 */ slw r0, r3, r0 +/* 802D07E4 002CD744 7E E0 00 39 */ and. r0, r23, r0 +/* 802D07E8 002CD748 41 82 00 1C */ beq lbl_802D0804 +/* 802D07EC 002CD74C C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D07F0 002CD750 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D07F4 002CD754 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D07F8 002CD758 7C 00 00 26 */ mfcr r0 +/* 802D07FC 002CD75C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D0800 002CD760 48 00 00 18 */ b lbl_802D0818 +lbl_802D0804: +/* 802D0804 002CD764 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D0808 002CD768 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D080C 002CD76C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0810 002CD770 7C 00 00 26 */ mfcr r0 +/* 802D0814 002CD774 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_802D0818: +/* 802D0818 002CD778 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802D081C 002CD77C 41 82 00 0C */ beq lbl_802D0828 +/* 802D0820 002CD780 3B 20 00 01 */ li r25, 1 +/* 802D0824 002CD784 48 00 00 4C */ b lbl_802D0870 +lbl_802D0828: +/* 802D0828 002CD788 38 00 00 02 */ li r0, 2 +/* 802D082C 002CD78C 7C 60 00 30 */ slw r0, r3, r0 +/* 802D0830 002CD790 7E E0 00 39 */ and. r0, r23, r0 +/* 802D0834 002CD794 41 82 00 1C */ beq lbl_802D0850 +/* 802D0838 002CD798 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D083C 002CD79C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0840 002CD7A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0844 002CD7A4 7C 00 00 26 */ mfcr r0 +/* 802D0848 002CD7A8 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D084C 002CD7AC 48 00 00 18 */ b lbl_802D0864 +lbl_802D0850: +/* 802D0850 002CD7B0 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D0854 002CD7B4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0858 002CD7B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D085C 002CD7BC 7C 00 00 26 */ mfcr r0 +/* 802D0860 002CD7C0 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_802D0864: +/* 802D0864 002CD7C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802D0868 002CD7C8 41 82 00 08 */ beq lbl_802D0870 +/* 802D086C 002CD7CC 3B 20 00 02 */ li r25, 2 +lbl_802D0870: +/* 802D0870 002CD7D0 2C 19 FF FF */ cmpwi r25, -1 +/* 802D0874 002CD7D4 40 82 00 A8 */ bne lbl_802D091C +/* 802D0878 002CD7D8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802D087C 002CD7DC 38 61 01 34 */ addi r3, r1, 0x134 +/* 802D0880 002CD7E0 38 81 01 28 */ addi r4, r1, 0x128 +/* 802D0884 002CD7E4 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0888 002CD7E8 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D088C 002CD7EC C0 01 01 54 */ lfs f0, 0x154(r1) +/* 802D0890 002CD7F0 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D0894 002CD7F4 C0 41 01 58 */ lfs f2, 0x158(r1) +/* 802D0898 002CD7F8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D089C 002CD7FC C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D08A0 002CD800 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 802D08A4 002CD804 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D08A8 002CD808 D0 81 01 2C */ stfs f4, 0x12c(r1) +/* 802D08AC 002CD80C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D08B0 002CD810 D0 41 01 30 */ stfs f2, 0x130(r1) +/* 802D08B4 002CD814 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 802D08B8 002CD818 48 04 3F 99 */ bl AsNormalized__9CVector3fCFv +/* 802D08BC 002CD81C C0 01 01 34 */ lfs f0, 0x134(r1) +/* 802D08C0 002CD820 38 60 00 01 */ li r3, 1 +/* 802D08C4 002CD824 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D08C8 002CD828 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 802D08CC 002CD82C D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D08D0 002CD830 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 802D08D4 002CD834 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D08D8 002CD838 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D08DC 002CD83C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D08E0 002CD840 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D08E4 002CD844 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D08E8 002CD848 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D08EC 002CD84C C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D08F0 002CD850 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D08F4 002CD854 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D08F8 002CD858 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D08FC 002CD85C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0900 002CD860 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0904 002CD864 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0908 002CD868 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D090C 002CD86C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0910 002CD870 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0914 002CD874 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0918 002CD878 48 00 0A 00 */ b lbl_802D1318 +lbl_802D091C: +/* 802D091C 002CD87C 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802D0920 002CD880 C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 802D0924 002CD884 39 59 00 01 */ addi r10, r25, 1 +/* 802D0928 002CD888 38 F9 00 02 */ addi r7, r25, 2 +/* 802D092C 002CD88C 38 03 55 56 */ addi r0, r3, 0x55555556@l +/* 802D0930 002CD890 C0 41 01 50 */ lfs f2, 0x150(r1) +/* 802D0934 002CD894 7D 00 50 96 */ mulhw r8, r0, r10 +/* 802D0938 002CD898 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D093C 002CD89C C0 01 01 58 */ lfs f0, 0x158(r1) +/* 802D0940 002CD8A0 7F 43 D3 78 */ mr r3, r26 +/* 802D0944 002CD8A4 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 802D0948 002CD8A8 7F 84 E3 78 */ mr r4, r28 +/* 802D094C 002CD8AC 7C C0 38 96 */ mulhw r6, r0, r7 +/* 802D0950 002CD8B0 55 00 0F FE */ srwi r0, r8, 0x1f +/* 802D0954 002CD8B4 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 802D0958 002CD8B8 38 A1 01 18 */ addi r5, r1, 0x118 +/* 802D095C 002CD8BC 7D 28 02 14 */ add r9, r8, r0 +/* 802D0960 002CD8C0 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 802D0964 002CD8C4 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802D0968 002CD8C8 D0 61 01 24 */ stfs f3, 0x124(r1) +/* 802D096C 002CD8CC 7C 06 02 14 */ add r0, r6, r0 +/* 802D0970 002CD8D0 39 01 00 14 */ addi r8, r1, 0x14 +/* 802D0974 002CD8D4 1C C9 00 03 */ mulli r6, r9, 3 +/* 802D0978 002CD8D8 1C 00 00 03 */ mulli r0, r0, 3 +/* 802D097C 002CD8DC 7C C6 50 50 */ subf r6, r6, r10 +/* 802D0980 002CD8E0 7C E0 38 50 */ subf r7, r0, r7 +/* 802D0984 002CD8E4 48 00 09 A9 */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +/* 802D0988 002CD8E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D098C 002CD8EC 41 82 05 B0 */ beq lbl_802D0F3C +/* 802D0990 002CD8F0 C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 802D0994 002CD8F4 C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) +/* 802D0998 002CD8F8 FC 07 30 40 */ fcmpo cr0, f7, f6 +/* 802D099C 002CD8FC 40 81 05 A0 */ ble lbl_802D0F3C +/* 802D09A0 002CD900 C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D09A4 002CD904 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D09A8 002CD908 40 80 05 94 */ bge lbl_802D0F3C +/* 802D09AC 002CD90C C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D09B0 002CD910 57 20 10 3A */ slwi r0, r25, 2 +/* 802D09B4 002CD914 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D09B8 002CD918 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802D09BC 002CD91C C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D09C0 002CD920 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D09C4 002CD924 EC 87 00 F2 */ fmuls f4, f7, f3 +/* 802D09C8 002CD928 C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D09CC 002CD92C EC 01 00 2A */ fadds f0, f1, f0 +/* 802D09D0 002CD930 C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D09D4 002CD934 EC 27 00 B2 */ fmuls f1, f7, f2 +/* 802D09D8 002CD938 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D09DC 002CD93C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D09E0 002CD940 EC 03 08 2A */ fadds f0, f3, f1 +/* 802D09E4 002CD944 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D09E8 002CD948 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D09EC 002CD94C 7C 3E 04 2E */ lfsx f1, r30, r0 +/* 802D09F0 002CD950 7C 18 04 2E */ lfsx f0, r24, r0 +/* 802D09F4 002CD954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D09F8 002CD958 40 81 01 20 */ ble lbl_802D0B18 +/* 802D09FC 002CD95C 38 00 00 01 */ li r0, 1 +/* 802D0A00 002CD960 7C 05 C8 30 */ slw r5, r0, r25 +/* 802D0A04 002CD964 7E E0 28 39 */ and. r0, r23, r5 +/* 802D0A08 002CD968 41 82 00 0C */ beq lbl_802D0A14 +/* 802D0A0C 002CD96C 38 60 00 00 */ li r3, 0 +/* 802D0A10 002CD970 48 00 09 08 */ b lbl_802D1318 +lbl_802D0A14: +/* 802D0A14 002CD974 7F 64 DB 78 */ mr r4, r27 +/* 802D0A18 002CD978 38 61 01 0C */ addi r3, r1, 0x10c +/* 802D0A1C 002CD97C 7E E5 2B 78 */ or r5, r23, r5 +/* 802D0A20 002CD980 48 06 6B 91 */ bl GetPoint__6CAABoxCFi +/* 802D0A24 002CD984 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D0A28 002CD988 7F 44 D3 78 */ mr r4, r26 +/* 802D0A2C 002CD98C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0A30 002CD990 7F 85 E3 78 */ mr r5, r28 +/* 802D0A34 002CD994 C0 61 01 0C */ lfs f3, 0x10c(r1) +/* 802D0A38 002CD998 FC 20 08 18 */ frsp f1, f1 +/* 802D0A3C 002CD99C C0 41 01 10 */ lfs f2, 0x110(r1) +/* 802D0A40 002CD9A0 7F C7 F3 78 */ mr r7, r30 +/* 802D0A44 002CD9A4 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 802D0A48 002CD9A8 38 61 00 FC */ addi r3, r1, 0xfc +/* 802D0A4C 002CD9AC D0 61 00 FC */ stfs f3, 0xfc(r1) +/* 802D0A50 002CD9B0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802D0A54 002CD9B4 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 802D0A58 002CD9B8 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802D0A5C 002CD9BC D0 81 01 08 */ stfs f4, 0x108(r1) +/* 802D0A60 002CD9C0 48 00 30 A9 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D0A64 002CD9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0A68 002CD9C8 41 82 00 A8 */ beq lbl_802D0B10 +/* 802D0A6C 002CD9CC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D0A70 002CD9D0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802D0A74 002CD9D4 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 802D0A78 002CD9D8 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0A7C 002CD9DC C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D0A80 002CD9E0 C0 01 01 10 */ lfs f0, 0x110(r1) +/* 802D0A84 002CD9E4 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D0A88 002CD9E8 C0 41 01 14 */ lfs f2, 0x114(r1) +/* 802D0A8C 002CD9EC EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D0A90 002CD9F0 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0A94 002CD9F4 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 802D0A98 002CD9F8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D0A9C 002CD9FC D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 802D0AA0 002CDA00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0AA4 002CDA04 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 802D0AA8 002CDA08 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802D0AAC 002CDA0C 48 04 3D A5 */ bl AsNormalized__9CVector3fCFv +/* 802D0AB0 002CDA10 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802D0AB4 002CDA14 38 60 00 01 */ li r3, 1 +/* 802D0AB8 002CDA18 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0ABC 002CDA1C C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802D0AC0 002CDA20 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D0AC4 002CDA24 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 802D0AC8 002CDA28 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0ACC 002CDA2C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0AD0 002CDA30 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0AD4 002CDA34 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0AD8 002CDA38 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0ADC 002CDA3C C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0AE0 002CDA40 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0AE4 002CDA44 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0AE8 002CDA48 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0AEC 002CDA4C EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0AF0 002CDA50 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0AF4 002CDA54 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0AF8 002CDA58 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0AFC 002CDA5C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0B00 002CDA60 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0B04 002CDA64 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0B08 002CDA68 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0B0C 002CDA6C 48 00 08 0C */ b lbl_802D1318 +lbl_802D0B10: +/* 802D0B10 002CDA70 38 60 00 00 */ li r3, 0 +/* 802D0B14 002CDA74 48 00 08 04 */ b lbl_802D1318 +lbl_802D0B18: +/* 802D0B18 002CDA78 7C 1B 04 2E */ lfsx f0, r27, r0 +/* 802D0B1C 002CDA7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0B20 002CDA80 40 80 01 20 */ bge lbl_802D0C40 +/* 802D0B24 002CDA84 38 00 00 01 */ li r0, 1 +/* 802D0B28 002CDA88 7C 05 C8 30 */ slw r5, r0, r25 +/* 802D0B2C 002CDA8C 7E E0 28 39 */ and. r0, r23, r5 +/* 802D0B30 002CDA90 40 82 00 0C */ bne lbl_802D0B3C +/* 802D0B34 002CDA94 38 60 00 00 */ li r3, 0 +/* 802D0B38 002CDA98 48 00 07 E0 */ b lbl_802D1318 +lbl_802D0B3C: +/* 802D0B3C 002CDA9C 7F 64 DB 78 */ mr r4, r27 +/* 802D0B40 002CDAA0 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802D0B44 002CDAA4 7E E5 2A 78 */ xor r5, r23, r5 +/* 802D0B48 002CDAA8 48 06 6A 69 */ bl GetPoint__6CAABoxCFi +/* 802D0B4C 002CDAAC C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D0B50 002CDAB0 7F 44 D3 78 */ mr r4, r26 +/* 802D0B54 002CDAB4 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0B58 002CDAB8 7F 85 E3 78 */ mr r5, r28 +/* 802D0B5C 002CDABC C0 61 00 D8 */ lfs f3, 0xd8(r1) +/* 802D0B60 002CDAC0 FC 20 08 18 */ frsp f1, f1 +/* 802D0B64 002CDAC4 C0 41 00 DC */ lfs f2, 0xdc(r1) +/* 802D0B68 002CDAC8 7F C7 F3 78 */ mr r7, r30 +/* 802D0B6C 002CDACC C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802D0B70 002CDAD0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802D0B74 002CDAD4 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 802D0B78 002CDAD8 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802D0B7C 002CDADC D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802D0B80 002CDAE0 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 802D0B84 002CDAE4 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 802D0B88 002CDAE8 48 00 2F 81 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D0B8C 002CDAEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0B90 002CDAF0 41 82 00 A8 */ beq lbl_802D0C38 +/* 802D0B94 002CDAF4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D0B98 002CDAF8 38 61 00 BC */ addi r3, r1, 0xbc +/* 802D0B9C 002CDAFC 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802D0BA0 002CDB00 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0BA4 002CDB04 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D0BA8 002CDB08 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 802D0BAC 002CDB0C C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D0BB0 002CDB10 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802D0BB4 002CDB14 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D0BB8 002CDB18 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0BBC 002CDB1C C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 802D0BC0 002CDB20 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D0BC4 002CDB24 D0 81 00 B4 */ stfs f4, 0xb4(r1) +/* 802D0BC8 002CDB28 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0BCC 002CDB2C D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 802D0BD0 002CDB30 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802D0BD4 002CDB34 48 04 3C 7D */ bl AsNormalized__9CVector3fCFv +/* 802D0BD8 002CDB38 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 802D0BDC 002CDB3C 38 60 00 01 */ li r3, 1 +/* 802D0BE0 002CDB40 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0BE4 002CDB44 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 802D0BE8 002CDB48 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D0BEC 002CDB4C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 802D0BF0 002CDB50 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0BF4 002CDB54 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0BF8 002CDB58 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0BFC 002CDB5C C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0C00 002CDB60 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0C04 002CDB64 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0C08 002CDB68 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0C0C 002CDB6C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0C10 002CDB70 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0C14 002CDB74 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0C18 002CDB78 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0C1C 002CDB7C C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0C20 002CDB80 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0C24 002CDB84 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0C28 002CDB88 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0C2C 002CDB8C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0C30 002CDB90 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0C34 002CDB94 48 00 06 E4 */ b lbl_802D1318 +lbl_802D0C38: +/* 802D0C38 002CDB98 38 60 00 00 */ li r3, 0 +/* 802D0C3C 002CDB9C 48 00 06 DC */ b lbl_802D1318 +lbl_802D0C40: +/* 802D0C40 002CDBA0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D0C44 002CDBA4 7F E3 FB 78 */ mr r3, r31 +/* 802D0C48 002CDBA8 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0C4C 002CDBAC C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0C50 002CDBB0 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 802D0C54 002CDBB4 C0 9E 00 04 */ lfs f4, 4(r30) +/* 802D0C58 002CDBB8 C0 61 01 54 */ lfs f3, 0x154(r1) +/* 802D0C5C 002CDBBC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0C60 002CDBC0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D0C64 002CDBC4 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D0C68 002CDBC8 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802D0C6C 002CDBCC D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0C70 002CDBD0 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802D0C74 002CDBD4 D0 7F 00 04 */ stfs f3, 4(r31) +/* 802D0C78 002CDBD8 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0C7C 002CDBDC 7C DF 05 2E */ stfsx f6, r31, r0 +/* 802D0C80 002CDBE0 48 04 3C 79 */ bl Normalize__9CVector3fFv +/* 802D0C84 002CDBE4 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0C88 002CDBE8 38 60 00 01 */ li r3, 1 +/* 802D0C8C 002CDBEC C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0C90 002CDBF0 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0C94 002CDBF4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0C98 002CDBF8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0C9C 002CDBFC C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0CA0 002CDC00 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0CA4 002CDC04 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0CA8 002CDC08 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0CAC 002CDC0C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0CB0 002CDC10 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0CB4 002CDC14 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0CB8 002CDC18 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0CBC 002CDC1C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0CC0 002CDC20 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0CC4 002CDC24 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0CC8 002CDC28 48 00 06 50 */ b lbl_802D1318 +lbl_802D0CCC: +/* 802D0CCC 002CDC2C 38 00 00 03 */ li r0, 3 +/* 802D0CD0 002CDC30 7F 84 E3 78 */ mr r4, r28 +/* 802D0CD4 002CDC34 7F 05 C3 78 */ mr r5, r24 +/* 802D0CD8 002CDC38 7F 66 DB 78 */ mr r6, r27 +/* 802D0CDC 002CDC3C 7F 47 D3 78 */ mr r7, r26 +/* 802D0CE0 002CDC40 C0 A2 C4 C4 */ lfs f5, lbl_805AE1E4@sda21(r2) +/* 802D0CE4 002CDC44 C0 82 C4 C8 */ lfs f4, lbl_805AE1E8@sda21(r2) +/* 802D0CE8 002CDC48 3B 20 00 00 */ li r25, 0 +/* 802D0CEC 002CDC4C 39 00 00 00 */ li r8, 0 +/* 802D0CF0 002CDC50 39 20 00 00 */ li r9, 0 +/* 802D0CF4 002CDC54 7C 09 03 A6 */ mtctr r0 +lbl_802D0CF8: +/* 802D0CF8 002CDC58 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D0CFC 002CDC5C FC 00 0A 10 */ fabs f0, f1 +/* 802D0D00 002CDC60 FC 00 00 18 */ frsp f0, f0 +/* 802D0D04 002CDC64 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802D0D08 002CDC68 41 80 00 84 */ blt lbl_802D0D8C +/* 802D0D0C 002CDC6C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D0D10 002CDC70 38 00 00 01 */ li r0, 1 +/* 802D0D14 002CDC74 7C 00 48 30 */ slw r0, r0, r9 +/* 802D0D18 002CDC78 7E E3 00 38 */ and r3, r23, r0 +/* 802D0D1C 002CDC7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0D20 002CDC80 7C 03 00 D0 */ neg r0, r3 +/* 802D0D24 002CDC84 7C 00 1B 78 */ or r0, r0, r3 +/* 802D0D28 002CDC88 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802D0D2C 002CDC8C 7C 00 00 26 */ mfcr r0 +/* 802D0D30 002CDC90 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D0D34 002CDC94 7C 03 00 40 */ cmplw r3, r0 +/* 802D0D38 002CDC98 41 82 00 54 */ beq lbl_802D0D8C +/* 802D0D3C 002CDC9C C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D0D40 002CDCA0 28 03 00 00 */ cmplwi r3, 0 +/* 802D0D44 002CDCA4 39 08 00 01 */ addi r8, r8, 1 +/* 802D0D48 002CDCA8 EC 60 08 24 */ fdivs f3, f0, f1 +/* 802D0D4C 002CDCAC 41 82 00 0C */ beq lbl_802D0D58 +/* 802D0D50 002CDCB0 C0 45 00 00 */ lfs f2, 0(r5) +/* 802D0D54 002CDCB4 48 00 00 08 */ b lbl_802D0D5C +lbl_802D0D58: +/* 802D0D58 002CDCB8 C0 46 00 00 */ lfs f2, 0(r6) +lbl_802D0D5C: +/* 802D0D5C 002CDCBC C0 27 00 00 */ lfs f1, 0(r7) +/* 802D0D60 002CDCC0 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D0D64 002CDCC4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D0D68 002CDCC8 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802D0D6C 002CDCCC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0D70 002CDCD0 40 80 00 0C */ bge lbl_802D0D7C +/* 802D0D74 002CDCD4 38 60 00 00 */ li r3, 0 +/* 802D0D78 002CDCD8 48 00 05 A0 */ b lbl_802D1318 +lbl_802D0D7C: +/* 802D0D7C 002CDCDC FC 01 28 40 */ fcmpo cr0, f1, f5 +/* 802D0D80 002CDCE0 40 80 00 0C */ bge lbl_802D0D8C +/* 802D0D84 002CDCE4 FC A0 08 90 */ fmr f5, f1 +/* 802D0D88 002CDCE8 7D 39 4B 78 */ mr r25, r9 +lbl_802D0D8C: +/* 802D0D8C 002CDCEC 38 84 00 04 */ addi r4, r4, 4 +/* 802D0D90 002CDCF0 38 A5 00 04 */ addi r5, r5, 4 +/* 802D0D94 002CDCF4 38 C6 00 04 */ addi r6, r6, 4 +/* 802D0D98 002CDCF8 38 E7 00 04 */ addi r7, r7, 4 +/* 802D0D9C 002CDCFC 39 29 00 01 */ addi r9, r9, 1 +/* 802D0DA0 002CDD00 42 00 FF 58 */ bdnz lbl_802D0CF8 +/* 802D0DA4 002CDD04 2C 08 00 02 */ cmpwi r8, 2 +/* 802D0DA8 002CDD08 40 80 00 0C */ bge lbl_802D0DB4 +/* 802D0DAC 002CDD0C 38 60 00 00 */ li r3, 0 +/* 802D0DB0 002CDD10 48 00 05 68 */ b lbl_802D1318 +lbl_802D0DB4: +/* 802D0DB4 002CDD14 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802D0DB8 002CDD18 C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 802D0DBC 002CDD1C 39 59 00 01 */ addi r10, r25, 1 +/* 802D0DC0 002CDD20 38 F9 00 02 */ addi r7, r25, 2 +/* 802D0DC4 002CDD24 38 03 55 56 */ addi r0, r3, 0x55555556@l +/* 802D0DC8 002CDD28 C0 41 01 50 */ lfs f2, 0x150(r1) +/* 802D0DCC 002CDD2C 7D 00 50 96 */ mulhw r8, r0, r10 +/* 802D0DD0 002CDD30 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D0DD4 002CDD34 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 802D0DD8 002CDD38 7F 43 D3 78 */ mr r3, r26 +/* 802D0DDC 002CDD3C D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 802D0DE0 002CDD40 7F 84 E3 78 */ mr r4, r28 +/* 802D0DE4 002CDD44 7C C0 38 96 */ mulhw r6, r0, r7 +/* 802D0DE8 002CDD48 55 00 0F FE */ srwi r0, r8, 0x1f +/* 802D0DEC 002CDD4C D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802D0DF0 002CDD50 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 802D0DF4 002CDD54 7D 28 02 14 */ add r9, r8, r0 +/* 802D0DF8 002CDD58 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802D0DFC 002CDD5C 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802D0E00 002CDD60 D0 61 00 AC */ stfs f3, 0xac(r1) +/* 802D0E04 002CDD64 7C 06 02 14 */ add r0, r6, r0 +/* 802D0E08 002CDD68 39 01 00 10 */ addi r8, r1, 0x10 +/* 802D0E0C 002CDD6C 1C C9 00 03 */ mulli r6, r9, 3 +/* 802D0E10 002CDD70 1C 00 00 03 */ mulli r0, r0, 3 +/* 802D0E14 002CDD74 7C C6 50 50 */ subf r6, r6, r10 +/* 802D0E18 002CDD78 7C E0 38 50 */ subf r7, r0, r7 +/* 802D0E1C 002CDD7C 48 00 05 11 */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +/* 802D0E20 002CDD80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0E24 002CDD84 41 82 01 18 */ beq lbl_802D0F3C +/* 802D0E28 002CDD88 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 802D0E2C 002CDD8C C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) +/* 802D0E30 002CDD90 FC 07 30 40 */ fcmpo cr0, f7, f6 +/* 802D0E34 002CDD94 40 81 01 08 */ ble lbl_802D0F3C +/* 802D0E38 002CDD98 C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D0E3C 002CDD9C FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D0E40 002CDDA0 40 80 00 FC */ bge lbl_802D0F3C +/* 802D0E44 002CDDA4 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D0E48 002CDDA8 57 20 10 3A */ slwi r0, r25, 2 +/* 802D0E4C 002CDDAC C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D0E50 002CDDB0 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802D0E54 002CDDB4 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D0E58 002CDDB8 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D0E5C 002CDDBC EC 87 00 F2 */ fmuls f4, f7, f3 +/* 802D0E60 002CDDC0 C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D0E64 002CDDC4 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D0E68 002CDDC8 C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D0E6C 002CDDCC EC 27 00 B2 */ fmuls f1, f7, f2 +/* 802D0E70 002CDDD0 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D0E74 002CDDD4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0E78 002CDDD8 EC 03 08 2A */ fadds f0, f3, f1 +/* 802D0E7C 002CDDDC D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D0E80 002CDDE0 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0E84 002CDDE4 7C 3E 04 2E */ lfsx f1, r30, r0 +/* 802D0E88 002CDDE8 7C 18 04 2E */ lfsx f0, r24, r0 +/* 802D0E8C 002CDDEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0E90 002CDDF0 40 81 00 0C */ ble lbl_802D0E9C +/* 802D0E94 002CDDF4 38 60 00 00 */ li r3, 0 +/* 802D0E98 002CDDF8 48 00 04 80 */ b lbl_802D1318 +lbl_802D0E9C: +/* 802D0E9C 002CDDFC 7C 1B 04 2E */ lfsx f0, r27, r0 +/* 802D0EA0 002CDE00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0EA4 002CDE04 40 80 00 0C */ bge lbl_802D0EB0 +/* 802D0EA8 002CDE08 38 60 00 00 */ li r3, 0 +/* 802D0EAC 002CDE0C 48 00 04 6C */ b lbl_802D1318 +lbl_802D0EB0: +/* 802D0EB0 002CDE10 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802D0EB4 002CDE14 7F E3 FB 78 */ mr r3, r31 +/* 802D0EB8 002CDE18 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0EBC 002CDE1C C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0EC0 002CDE20 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 802D0EC4 002CDE24 C0 9E 00 04 */ lfs f4, 4(r30) +/* 802D0EC8 002CDE28 C0 61 01 54 */ lfs f3, 0x154(r1) +/* 802D0ECC 002CDE2C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0ED0 002CDE30 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D0ED4 002CDE34 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D0ED8 002CDE38 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802D0EDC 002CDE3C D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0EE0 002CDE40 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802D0EE4 002CDE44 D0 7F 00 04 */ stfs f3, 4(r31) +/* 802D0EE8 002CDE48 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0EEC 002CDE4C 7C DF 05 2E */ stfsx f6, r31, r0 +/* 802D0EF0 002CDE50 48 04 3A 09 */ bl Normalize__9CVector3fFv +/* 802D0EF4 002CDE54 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0EF8 002CDE58 38 60 00 01 */ li r3, 1 +/* 802D0EFC 002CDE5C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0F00 002CDE60 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0F04 002CDE64 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0F08 002CDE68 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0F0C 002CDE6C C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0F10 002CDE70 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0F14 002CDE74 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0F18 002CDE78 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0F1C 002CDE7C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0F20 002CDE80 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0F24 002CDE84 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0F28 002CDE88 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0F2C 002CDE8C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0F30 002CDE90 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0F34 002CDE94 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0F38 002CDE98 48 00 03 E0 */ b lbl_802D1318 +lbl_802D0F3C: +/* 802D0F3C 002CDE9C 38 60 00 00 */ li r3, 0 +/* 802D0F40 002CDEA0 48 00 03 D8 */ b lbl_802D1318 +lbl_802D0F44: +/* 802D0F44 002CDEA4 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0F48 002CDEA8 7C 17 03 78 */ mr r23, r0 +/* 802D0F4C 002CDEAC 41 82 00 08 */ beq lbl_802D0F54 +/* 802D0F50 002CDEB0 7C B7 2B 78 */ mr r23, r5 +lbl_802D0F54: +/* 802D0F54 002CDEB4 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0F58 002CDEB8 39 00 00 01 */ li r8, 1 +/* 802D0F5C 002CDEBC 7C C4 33 78 */ mr r4, r6 +/* 802D0F60 002CDEC0 7D 08 B8 30 */ slw r8, r8, r23 +/* 802D0F64 002CDEC4 41 82 00 08 */ beq lbl_802D0F6C +/* 802D0F68 002CDEC8 7C E4 3B 78 */ mr r4, r7 +lbl_802D0F6C: +/* 802D0F6C 002CDECC 54 86 06 3E */ clrlwi r6, r4, 0x18 +/* 802D0F70 002CDED0 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0F74 002CDED4 7C C8 31 D6 */ mullw r6, r8, r6 +/* 802D0F78 002CDED8 7C B9 2B 78 */ mr r25, r5 +/* 802D0F7C 002CDEDC 41 82 00 08 */ beq lbl_802D0F84 +/* 802D0F80 002CDEE0 7C 19 03 78 */ mr r25, r0 +lbl_802D0F84: +/* 802D0F84 002CDEE4 38 80 00 01 */ li r4, 1 +/* 802D0F88 002CDEE8 88 01 00 08 */ lbz r0, 8(r1) +/* 802D0F8C 002CDEEC 7C 83 18 30 */ slw r3, r4, r3 +/* 802D0F90 002CDEF0 7F 64 DB 78 */ mr r4, r27 +/* 802D0F94 002CDEF4 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802D0F98 002CDEF8 38 61 00 94 */ addi r3, r1, 0x94 +/* 802D0F9C 002CDEFC 7C D6 03 78 */ or r22, r6, r0 +/* 802D0FA0 002CDF00 7E C5 B3 78 */ mr r5, r22 +/* 802D0FA4 002CDF04 48 06 66 0D */ bl GetPoint__6CAABoxCFi +/* 802D0FA8 002CDF08 C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 802D0FAC 002CDF0C 7F 43 D3 78 */ mr r3, r26 +/* 802D0FB0 002CDF10 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D0FB4 002CDF14 7F 84 E3 78 */ mr r4, r28 +/* 802D0FB8 002CDF18 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 802D0FBC 002CDF1C 7E E7 BB 78 */ mr r7, r23 +/* 802D0FC0 002CDF20 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802D0FC4 002CDF24 38 A1 00 84 */ addi r5, r1, 0x84 +/* 802D0FC8 002CDF28 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 802D0FCC 002CDF2C 39 01 00 0C */ addi r8, r1, 0xc +/* 802D0FD0 002CDF30 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 802D0FD4 002CDF34 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802D0FD8 002CDF38 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802D0FDC 002CDF3C D0 61 00 90 */ stfs f3, 0x90(r1) +/* 802D0FE0 002CDF40 48 00 03 4D */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +/* 802D0FE4 002CDF44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0FE8 002CDF48 41 82 03 2C */ beq lbl_802D1314 +/* 802D0FEC 002CDF4C C0 E1 00 0C */ lfs f7, 0xc(r1) +/* 802D0FF0 002CDF50 C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) +/* 802D0FF4 002CDF54 FC 07 30 40 */ fcmpo cr0, f7, f6 +/* 802D0FF8 002CDF58 40 81 03 1C */ ble lbl_802D1314 +/* 802D0FFC 002CDF5C C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D1000 002CDF60 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D1004 002CDF64 40 80 03 10 */ bge lbl_802D1314 +/* 802D1008 002CDF68 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D100C 002CDF6C 57 37 10 3A */ slwi r23, r25, 2 +/* 802D1010 002CDF70 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D1014 002CDF74 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802D1018 002CDF78 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D101C 002CDF7C C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D1020 002CDF80 EC 87 00 F2 */ fmuls f4, f7, f3 +/* 802D1024 002CDF84 C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D1028 002CDF88 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D102C 002CDF8C C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D1030 002CDF90 EC 27 00 B2 */ fmuls f1, f7, f2 +/* 802D1034 002CDF94 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D1038 002CDF98 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D103C 002CDF9C EC 03 08 2A */ fadds f0, f3, f1 +/* 802D1040 002CDFA0 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D1044 002CDFA4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D1048 002CDFA8 7C 3E BC 2E */ lfsx f1, r30, r23 +/* 802D104C 002CDFAC 7C 18 BC 2E */ lfsx f0, r24, r23 +/* 802D1050 002CDFB0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1054 002CDFB4 40 81 01 24 */ ble lbl_802D1178 +/* 802D1058 002CDFB8 38 00 00 01 */ li r0, 1 +/* 802D105C 002CDFBC 7F 64 DB 78 */ mr r4, r27 +/* 802D1060 002CDFC0 7C 00 C8 30 */ slw r0, r0, r25 +/* 802D1064 002CDFC4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D1068 002CDFC8 7E C5 03 78 */ or r5, r22, r0 +/* 802D106C 002CDFCC 48 06 65 45 */ bl GetPoint__6CAABoxCFi +/* 802D1070 002CDFD0 38 61 01 80 */ addi r3, r1, 0x180 +/* 802D1074 002CDFD4 7C 3E BC 2E */ lfsx f1, r30, r23 +/* 802D1078 002CDFD8 7C 03 BC 2E */ lfsx f0, r3, r23 +/* 802D107C 002CDFDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1080 002CDFE0 40 80 00 F0 */ bge lbl_802D1170 +/* 802D1084 002CDFE4 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D1088 002CDFE8 7F 44 D3 78 */ mr r4, r26 +/* 802D108C 002CDFEC C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D1090 002CDFF0 7F 85 E3 78 */ mr r5, r28 +/* 802D1094 002CDFF4 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 802D1098 002CDFF8 FC 20 08 18 */ frsp f1, f1 +/* 802D109C 002CDFFC C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 802D10A0 002CE000 7F C7 F3 78 */ mr r7, r30 +/* 802D10A4 002CE004 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802D10A8 002CE008 38 61 00 68 */ addi r3, r1, 0x68 +/* 802D10AC 002CE00C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D10B0 002CE010 38 C1 00 0C */ addi r6, r1, 0xc +/* 802D10B4 002CE014 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802D10B8 002CE018 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802D10BC 002CE01C D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802D10C0 002CE020 48 00 2A 49 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D10C4 002CE024 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D10C8 002CE028 41 82 00 A8 */ beq lbl_802D1170 +/* 802D10CC 002CE02C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D10D0 002CE030 38 61 00 5C */ addi r3, r1, 0x5c +/* 802D10D4 002CE034 38 81 00 50 */ addi r4, r1, 0x50 +/* 802D10D8 002CE038 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D10DC 002CE03C C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D10E0 002CE040 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802D10E4 002CE044 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D10E8 002CE048 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 802D10EC 002CE04C EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D10F0 002CE050 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D10F4 002CE054 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802D10F8 002CE058 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D10FC 002CE05C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802D1100 002CE060 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D1104 002CE064 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802D1108 002CE068 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802D110C 002CE06C 48 04 37 45 */ bl AsNormalized__9CVector3fCFv +/* 802D1110 002CE070 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D1114 002CE074 38 60 00 01 */ li r3, 1 +/* 802D1118 002CE078 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D111C 002CE07C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802D1120 002CE080 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D1124 002CE084 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802D1128 002CE088 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D112C 002CE08C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D1130 002CE090 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D1134 002CE094 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D1138 002CE098 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D113C 002CE09C C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1140 002CE0A0 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D1144 002CE0A4 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D1148 002CE0A8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D114C 002CE0AC EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D1150 002CE0B0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D1154 002CE0B4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D1158 002CE0B8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D115C 002CE0BC D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D1160 002CE0C0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D1164 002CE0C4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D1168 002CE0C8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D116C 002CE0CC 48 00 01 AC */ b lbl_802D1318 +lbl_802D1170: +/* 802D1170 002CE0D0 38 60 00 00 */ li r3, 0 +/* 802D1174 002CE0D4 48 00 01 A4 */ b lbl_802D1318 +lbl_802D1178: +/* 802D1178 002CE0D8 7C 1B BC 2E */ lfsx f0, r27, r23 +/* 802D117C 002CE0DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1180 002CE0E0 40 80 01 08 */ bge lbl_802D1288 +/* 802D1184 002CE0E4 38 61 01 74 */ addi r3, r1, 0x174 +/* 802D1188 002CE0E8 7C 03 BC 2E */ lfsx f0, r3, r23 +/* 802D118C 002CE0EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1190 002CE0F0 40 81 00 F0 */ ble lbl_802D1280 +/* 802D1194 002CE0F4 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D1198 002CE0F8 7F 44 D3 78 */ mr r4, r26 +/* 802D119C 002CE0FC C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D11A0 002CE100 7F 85 E3 78 */ mr r5, r28 +/* 802D11A4 002CE104 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 802D11A8 002CE108 FC 20 08 18 */ frsp f1, f1 +/* 802D11AC 002CE10C C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802D11B0 002CE110 7F C7 F3 78 */ mr r7, r30 +/* 802D11B4 002CE114 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802D11B8 002CE118 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D11BC 002CE11C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802D11C0 002CE120 38 C1 00 0C */ addi r6, r1, 0xc +/* 802D11C4 002CE124 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802D11C8 002CE128 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802D11CC 002CE12C D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802D11D0 002CE130 48 00 29 39 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D11D4 002CE134 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D11D8 002CE138 41 82 00 A8 */ beq lbl_802D1280 +/* 802D11DC 002CE13C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D11E0 002CE140 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D11E4 002CE144 38 81 00 28 */ addi r4, r1, 0x28 +/* 802D11E8 002CE148 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D11EC 002CE14C C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D11F0 002CE150 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802D11F4 002CE154 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D11F8 002CE158 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 802D11FC 002CE15C EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D1200 002CE160 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1204 002CE164 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802D1208 002CE168 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D120C 002CE16C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802D1210 002CE170 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D1214 002CE174 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802D1218 002CE178 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D121C 002CE17C 48 04 36 35 */ bl AsNormalized__9CVector3fCFv +/* 802D1220 002CE180 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D1224 002CE184 38 60 00 01 */ li r3, 1 +/* 802D1228 002CE188 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D122C 002CE18C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D1230 002CE190 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D1234 002CE194 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D1238 002CE198 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D123C 002CE19C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D1240 002CE1A0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D1244 002CE1A4 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D1248 002CE1A8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D124C 002CE1AC C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1250 002CE1B0 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D1254 002CE1B4 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D1258 002CE1B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D125C 002CE1BC EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D1260 002CE1C0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D1264 002CE1C4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D1268 002CE1C8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D126C 002CE1CC D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D1270 002CE1D0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D1274 002CE1D4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D1278 002CE1D8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D127C 002CE1DC 48 00 00 9C */ b lbl_802D1318 +lbl_802D1280: +/* 802D1280 002CE1E0 38 60 00 00 */ li r3, 0 +/* 802D1284 002CE1E4 48 00 00 94 */ b lbl_802D1318 +lbl_802D1288: +/* 802D1288 002CE1E8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D128C 002CE1EC 7F E3 FB 78 */ mr r3, r31 +/* 802D1290 002CE1F0 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D1294 002CE1F4 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1298 002CE1F8 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802D129C 002CE1FC C0 9E 00 04 */ lfs f4, 4(r30) +/* 802D12A0 002CE200 C0 61 00 98 */ lfs f3, 0x98(r1) +/* 802D12A4 002CE204 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D12A8 002CE208 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D12AC 002CE20C C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802D12B0 002CE210 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802D12B4 002CE214 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D12B8 002CE218 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802D12BC 002CE21C D0 7F 00 04 */ stfs f3, 4(r31) +/* 802D12C0 002CE220 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D12C4 002CE224 7C DF BD 2E */ stfsx f6, r31, r23 +/* 802D12C8 002CE228 48 04 36 31 */ bl Normalize__9CVector3fFv +/* 802D12CC 002CE22C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D12D0 002CE230 38 60 00 01 */ li r3, 1 +/* 802D12D4 002CE234 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D12D8 002CE238 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D12DC 002CE23C EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D12E0 002CE240 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D12E4 002CE244 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D12E8 002CE248 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D12EC 002CE24C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D12F0 002CE250 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D12F4 002CE254 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D12F8 002CE258 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D12FC 002CE25C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D1300 002CE260 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D1304 002CE264 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D1308 002CE268 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D130C 002CE26C D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D1310 002CE270 48 00 00 08 */ b lbl_802D1318 +lbl_802D1314: +/* 802D1314 002CE274 38 60 00 00 */ li r3, 0 +lbl_802D1318: +/* 802D1318 002CE278 BA C1 01 98 */ lmw r22, 0x198(r1) +/* 802D131C 002CE27C 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802D1320 002CE280 7C 08 03 A6 */ mtlr r0 +/* 802D1324 002CE284 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802D1328 002CE288 4E 80 00 20 */ blr + +.global LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf: +/* 802D132C 002CE28C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802D1330 002CE290 7C 08 02 A6 */ mflr r0 +/* 802D1334 002CE294 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802D1338 002CE298 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802D133C 002CE29C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802D1340 002CE2A0 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 802D1344 002CE2A4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 802D1348 002CE2A8 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 802D134C 002CE2AC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 802D1350 002CE2B0 DB 81 00 60 */ stfd f28, 0x60(r1) +/* 802D1354 002CE2B4 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 802D1358 002CE2B8 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 802D135C 002CE2BC 7C BC 2B 78 */ mr r28, r5 +/* 802D1360 002CE2C0 C0 03 00 04 */ lfs f0, 4(r3) +/* 802D1364 002CE2C4 C0 25 00 04 */ lfs f1, 4(r5) +/* 802D1368 002CE2C8 54 FF 10 3A */ slwi r31, r7, 2 +/* 802D136C 002CE2CC C0 65 00 08 */ lfs f3, 8(r5) +/* 802D1370 002CE2D0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802D1374 002CE2D4 C0 43 00 08 */ lfs f2, 8(r3) +/* 802D1378 002CE2D8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D137C 002CE2DC C0 03 00 00 */ lfs f0, 0(r3) +/* 802D1380 002CE2E0 54 DE 10 3A */ slwi r30, r6, 2 +/* 802D1384 002CE2E4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D1388 002CE2E8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D138C 002CE2EC D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802D1390 002CE2F0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D1394 002CE2F4 7C 9B 23 78 */ mr r27, r4 +/* 802D1398 002CE2F8 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D139C 002CE2FC 7D 1D 43 78 */ mr r29, r8 +/* 802D13A0 002CE300 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D13A4 002CE304 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802D13A8 002CE308 7C 25 F4 2E */ lfsx f1, r5, r30 +/* 802D13AC 002CE30C 7C 45 FC 2E */ lfsx f2, r5, r31 +/* 802D13B0 002CE310 48 04 2E 51 */ bl __ct__9CVector2fFff +/* 802D13B4 002CE314 7C 3B F4 2E */ lfsx f1, r27, r30 +/* 802D13B8 002CE318 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D13BC 002CE31C 7C 5B FC 2E */ lfsx f2, r27, r31 +/* 802D13C0 002CE320 48 04 2E 41 */ bl __ct__9CVector2fFff +/* 802D13C4 002CE324 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D13C8 002CE328 48 04 2D 2D */ bl Magnitude__9CVector2fCFv +/* 802D13CC 002CE32C FC 40 08 18 */ frsp f2, f1 +/* 802D13D0 002CE330 C0 02 C4 C8 */ lfs f0, lbl_805AE1E8@sda21(r2) +/* 802D13D4 002CE334 D0 21 00 08 */ stfs f1, 8(r1) +/* 802D13D8 002CE338 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D13DC 002CE33C 40 80 00 0C */ bge lbl_802D13E8 +/* 802D13E0 002CE340 38 60 00 00 */ li r3, 0 +/* 802D13E4 002CE344 48 00 00 C8 */ b lbl_802D14AC +lbl_802D13E8: +/* 802D13E8 002CE348 7C 3B F4 2E */ lfsx f1, r27, r30 +/* 802D13EC 002CE34C 38 61 00 0C */ addi r3, r1, 0xc +/* 802D13F0 002CE350 7C 5B FC 2E */ lfsx f2, r27, r31 +/* 802D13F4 002CE354 48 04 2E 0D */ bl __ct__9CVector2fFff +/* 802D13F8 002CE358 7C 64 1B 78 */ mr r4, r3 +/* 802D13FC 002CE35C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D1400 002CE360 38 A1 00 08 */ addi r5, r1, 8 +/* 802D1404 002CE364 48 04 2A 61 */ bl __dv__FRC9CVector2fRCf +/* 802D1408 002CE368 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802D140C 002CE36C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D1410 002CE370 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802D1414 002CE374 38 81 00 1C */ addi r4, r1, 0x1c +/* 802D1418 002CE378 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D141C 002CE37C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802D1420 002CE380 48 04 2B 89 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 802D1424 002CE384 FF C0 08 90 */ fmr f30, f1 +/* 802D1428 002CE388 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D142C 002CE38C 7C 64 1B 78 */ mr r4, r3 +/* 802D1430 002CE390 EF BE 07 B2 */ fmuls f29, f30, f30 +/* 802D1434 002CE394 48 04 2B 75 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 802D1438 002CE398 C0 5C 00 0C */ lfs f2, 0xc(r28) +/* 802D143C 002CE39C FF E0 08 90 */ fmr f31, f1 +/* 802D1440 002CE3A0 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1444 002CE3A4 EF 82 00 B2 */ fmuls f28, f2, f2 +/* 802D1448 002CE3A8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802D144C 002CE3AC 40 80 00 14 */ bge lbl_802D1460 +/* 802D1450 002CE3B0 FC 1F E0 40 */ fcmpo cr0, f31, f28 +/* 802D1454 002CE3B4 40 81 00 0C */ ble lbl_802D1460 +/* 802D1458 002CE3B8 38 60 00 00 */ li r3, 0 +/* 802D145C 002CE3BC 48 00 00 50 */ b lbl_802D14AC +lbl_802D1460: +/* 802D1460 002CE3C0 EC 3F E8 28 */ fsubs f1, f31, f29 +/* 802D1464 002CE3C4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1468 002CE3C8 EC 3C 08 28 */ fsubs f1, f28, f1 +/* 802D146C 002CE3CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1470 002CE3D0 40 80 00 0C */ bge lbl_802D147C +/* 802D1474 002CE3D4 38 60 00 00 */ li r3, 0 +/* 802D1478 002CE3D8 48 00 00 34 */ b lbl_802D14AC +lbl_802D147C: +/* 802D147C 002CE3DC 48 04 40 85 */ bl SqrtF__5CMathFf +/* 802D1480 002CE3E0 FC 1F E0 40 */ fcmpo cr0, f31, f28 +/* 802D1484 002CE3E4 40 81 00 0C */ ble lbl_802D1490 +/* 802D1488 002CE3E8 EC 1E 08 28 */ fsubs f0, f30, f1 +/* 802D148C 002CE3EC 48 00 00 08 */ b lbl_802D1494 +lbl_802D1490: +/* 802D1490 002CE3F0 EC 1E 08 2A */ fadds f0, f30, f1 +lbl_802D1494: +/* 802D1494 002CE3F4 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802D1498 002CE3F8 38 60 00 01 */ li r3, 1 +/* 802D149C 002CE3FC C0 01 00 08 */ lfs f0, 8(r1) +/* 802D14A0 002CE400 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802D14A4 002CE404 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802D14A8 002CE408 D0 1D 00 00 */ stfs f0, 0(r29) +lbl_802D14AC: +/* 802D14AC 002CE40C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802D14B0 002CE410 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802D14B4 002CE414 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 802D14B8 002CE418 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 802D14BC 002CE41C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 802D14C0 002CE420 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 802D14C4 002CE424 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 802D14C8 002CE428 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 802D14CC 002CE42C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 802D14D0 002CE430 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D14D4 002CE434 7C 08 03 A6 */ mtlr r0 +/* 802D14D8 002CE438 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802D14DC 002CE43C 4E 80 00 20 */ blr + +.global TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802D14E0 002CE440 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802D14E4 002CE444 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802D14E8 002CE448 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802D14EC 002CE44C DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802D14F0 002CE450 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802D14F4 002CE454 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802D14F8 002CE458 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802D14FC 002CE45C DB 81 00 D0 */ stfd f28, 0xd0(r1) +/* 802D1500 002CE460 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 +/* 802D1504 002CE464 DB 61 00 C0 */ stfd f27, 0xc0(r1) +/* 802D1508 002CE468 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 +/* 802D150C 002CE46C DB 41 00 B0 */ stfd f26, 0xb0(r1) +/* 802D1510 002CE470 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 +/* 802D1514 002CE474 DB 21 00 A0 */ stfd f25, 0xa0(r1) +/* 802D1518 002CE478 F3 21 00 A8 */ psq_st f25, 168(r1), 0, qr0 +/* 802D151C 002CE47C DB 01 00 90 */ stfd f24, 0x90(r1) +/* 802D1520 002CE480 F3 01 00 98 */ psq_st f24, 152(r1), 0, qr0 +/* 802D1524 002CE484 DA E1 00 80 */ stfd f23, 0x80(r1) +/* 802D1528 002CE488 F2 E1 00 88 */ psq_st f23, 136(r1), 0, qr0 +/* 802D152C 002CE48C DA C1 00 70 */ stfd f22, 0x70(r1) +/* 802D1530 002CE490 F2 C1 00 78 */ psq_st f22, 120(r1), 0, qr0 +/* 802D1534 002CE494 DA A1 00 60 */ stfd f21, 0x60(r1) +/* 802D1538 002CE498 F2 A1 00 68 */ psq_st f21, 104(r1), 0, qr0 +/* 802D153C 002CE49C DA 81 00 50 */ stfd f20, 0x50(r1) +/* 802D1540 002CE4A0 F2 81 00 58 */ psq_st f20, 88(r1), 0, qr0 +/* 802D1544 002CE4A4 DA 61 00 40 */ stfd f19, 0x40(r1) +/* 802D1548 002CE4A8 F2 61 00 48 */ psq_st f19, 72(r1), 0, qr0 +/* 802D154C 002CE4AC DA 41 00 30 */ stfd f18, 0x30(r1) +/* 802D1550 002CE4B0 F2 41 00 38 */ psq_st f18, 56(r1), 0, qr0 +/* 802D1554 002CE4B4 C0 25 00 04 */ lfs f1, 4(r5) +/* 802D1558 002CE4B8 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802D155C 002CE4BC C0 06 00 04 */ lfs f0, 4(r6) +/* 802D1560 002CE4C0 EC 61 28 28 */ fsubs f3, f1, f5 +/* 802D1564 002CE4C4 C0 45 00 00 */ lfs f2, 0(r5) +/* 802D1568 002CE4C8 EC C0 28 28 */ fsubs f6, f0, f5 +/* 802D156C 002CE4CC C1 03 00 00 */ lfs f8, 0(r3) +/* 802D1570 002CE4D0 C0 26 00 00 */ lfs f1, 0(r6) +/* 802D1574 002CE4D4 C0 07 00 04 */ lfs f0, 4(r7) +/* 802D1578 002CE4D8 ED 86 18 28 */ fsubs f12, f6, f3 +/* 802D157C 002CE4DC C0 85 00 08 */ lfs f4, 8(r5) +/* 802D1580 002CE4E0 ED 20 28 28 */ fsubs f9, f0, f5 +/* 802D1584 002CE4E4 C1 63 00 08 */ lfs f11, 8(r3) +/* 802D1588 002CE4E8 C0 E6 00 08 */ lfs f7, 8(r6) +/* 802D158C 002CE4EC EC 42 40 28 */ fsubs f2, f2, f8 +/* 802D1590 002CE4F0 C0 07 00 08 */ lfs f0, 8(r7) +/* 802D1594 002CE4F4 EC 84 58 28 */ fsubs f4, f4, f11 +/* 802D1598 002CE4F8 EC A1 40 28 */ fsubs f5, f1, f8 +/* 802D159C 002CE4FC C0 27 00 00 */ lfs f1, 0(r7) +/* 802D15A0 002CE500 ED 40 58 28 */ fsubs f10, f0, f11 +/* 802D15A4 002CE504 EC E7 58 28 */ fsubs f7, f7, f11 +/* 802D15A8 002CE508 ED 01 40 28 */ fsubs f8, f1, f8 +/* 802D15AC 002CE50C ED 65 10 28 */ fsubs f11, f5, f2 +/* 802D15B0 002CE510 ED A7 20 28 */ fsubs f13, f7, f4 +/* 802D15B4 002CE514 EC 2C 01 32 */ fmuls f1, f12, f4 +/* 802D15B8 002CE518 EC 0C 02 B2 */ fmuls f0, f12, f10 +/* 802D15BC 002CE51C FE E0 5A 10 */ fabs f23, f11 +/* 802D15C0 002CE520 FF 20 62 10 */ fabs f25, f12 +/* 802D15C4 002CE524 FE C0 6A 10 */ fabs f22, f13 +/* 802D15C8 002CE528 EC 2D 08 F8 */ fmsubs f1, f13, f3, f1 +/* 802D15CC 002CE52C EC 0D 02 78 */ fmsubs f0, f13, f9, f0 +/* 802D15D0 002CE530 EF E8 28 28 */ fsubs f31, f8, f5 +/* 802D15D4 002CE534 EF C9 30 28 */ fsubs f30, f9, f6 +/* 802D15D8 002CE538 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D15DC 002CE53C EF AA 38 28 */ fsubs f29, f10, f7 +/* 802D15E0 002CE540 EF 82 40 28 */ fsubs f28, f2, f8 +/* 802D15E4 002CE544 EF 63 48 28 */ fsubs f27, f3, f9 +/* 802D15E8 002CE548 EF 44 50 28 */ fsubs f26, f4, f10 +/* 802D15EC 002CE54C FF 00 B8 18 */ frsp f24, f23 +/* 802D15F0 002CE550 FF 20 C8 18 */ frsp f25, f25 +/* 802D15F4 002CE554 FE C0 B0 18 */ frsp f22, f22 +/* 802D15F8 002CE558 40 80 00 10 */ bge lbl_802D1608 +/* 802D15FC 002CE55C FE 40 08 90 */ fmr f18, f1 +/* 802D1600 002CE560 FE 60 00 90 */ fmr f19, f0 +/* 802D1604 002CE564 48 00 00 0C */ b lbl_802D1610 +lbl_802D1608: +/* 802D1608 002CE568 FE 40 00 90 */ fmr f18, f0 +/* 802D160C 002CE56C FE 60 08 90 */ fmr f19, f1 +lbl_802D1610: +/* 802D1610 002CE570 C2 84 00 08 */ lfs f20, 8(r4) +/* 802D1614 002CE574 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D1618 002CE578 EC 39 05 32 */ fmuls f1, f25, f20 +/* 802D161C 002CE57C EC 36 08 3A */ fmadds f1, f22, f0, f1 +/* 802D1620 002CE580 FC 12 08 40 */ fcmpo cr0, f18, f1 +/* 802D1624 002CE584 41 81 00 10 */ bgt lbl_802D1634 +/* 802D1628 002CE588 FC 20 08 50 */ fneg f1, f1 +/* 802D162C 002CE58C FC 13 08 40 */ fcmpo cr0, f19, f1 +/* 802D1630 002CE590 40 80 00 0C */ bge lbl_802D163C +lbl_802D1634: +/* 802D1634 002CE594 38 60 00 00 */ li r3, 0 +/* 802D1638 002CE598 48 00 04 F8 */ b lbl_802D1B30 +lbl_802D163C: +/* 802D163C 002CE59C FE A0 68 50 */ fneg f21, f13 +/* 802D1640 002CE5A0 EE EB 01 32 */ fmuls f23, f11, f4 +/* 802D1644 002CE5A4 EC 2B 02 B2 */ fmuls f1, f11, f10 +/* 802D1648 002CE5A8 EE F5 B8 BA */ fmadds f23, f21, f2, f23 +/* 802D164C 002CE5AC EE 55 0A 3A */ fmadds f18, f21, f8, f1 +/* 802D1650 002CE5B0 FC 17 90 40 */ fcmpo cr0, f23, f18 +/* 802D1654 002CE5B4 40 80 00 0C */ bge lbl_802D1660 +/* 802D1658 002CE5B8 FE 60 B8 90 */ fmr f19, f23 +/* 802D165C 002CE5BC 48 00 00 0C */ b lbl_802D1668 +lbl_802D1660: +/* 802D1660 002CE5C0 FE 60 90 90 */ fmr f19, f18 +/* 802D1664 002CE5C4 FE 40 B8 90 */ fmr f18, f23 +lbl_802D1668: +/* 802D1668 002CE5C8 EC 38 05 32 */ fmuls f1, f24, f20 +/* 802D166C 002CE5CC C2 84 00 00 */ lfs f20, 0(r4) +/* 802D1670 002CE5D0 EC 36 0D 3A */ fmadds f1, f22, f20, f1 +/* 802D1674 002CE5D4 FC 13 08 40 */ fcmpo cr0, f19, f1 +/* 802D1678 002CE5D8 41 81 00 10 */ bgt lbl_802D1688 +/* 802D167C 002CE5DC FC 20 08 50 */ fneg f1, f1 +/* 802D1680 002CE5E0 FC 12 08 40 */ fcmpo cr0, f18, f1 +/* 802D1684 002CE5E4 40 80 00 0C */ bge lbl_802D1690 +lbl_802D1688: +/* 802D1688 002CE5E8 38 60 00 00 */ li r3, 0 +/* 802D168C 002CE5EC 48 00 04 A4 */ b lbl_802D1B30 +lbl_802D1690: +/* 802D1690 002CE5F0 EE EB 01 B2 */ fmuls f23, f11, f6 +/* 802D1694 002CE5F4 EC 2B 02 72 */ fmuls f1, f11, f9 +/* 802D1698 002CE5F8 EE 6C B9 78 */ fmsubs f19, f12, f5, f23 +/* 802D169C 002CE5FC EE 4C 0A 38 */ fmsubs f18, f12, f8, f1 +/* 802D16A0 002CE600 FC 12 98 40 */ fcmpo cr0, f18, f19 +/* 802D16A4 002CE604 40 80 00 10 */ bge lbl_802D16B4 +/* 802D16A8 002CE608 FC 20 90 90 */ fmr f1, f18 +/* 802D16AC 002CE60C FE 40 98 90 */ fmr f18, f19 +/* 802D16B0 002CE610 48 00 00 08 */ b lbl_802D16B8 +lbl_802D16B4: +/* 802D16B4 002CE614 FC 20 98 90 */ fmr f1, f19 +lbl_802D16B8: +/* 802D16B8 002CE618 EC 18 00 32 */ fmuls f0, f24, f0 +/* 802D16BC 002CE61C EC 19 05 3A */ fmadds f0, f25, f20, f0 +/* 802D16C0 002CE620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D16C4 002CE624 41 81 00 10 */ bgt lbl_802D16D4 +/* 802D16C8 002CE628 FC 00 00 50 */ fneg f0, f0 +/* 802D16CC 002CE62C FC 12 00 40 */ fcmpo cr0, f18, f0 +/* 802D16D0 002CE630 40 80 00 0C */ bge lbl_802D16DC +lbl_802D16D4: +/* 802D16D4 002CE634 38 60 00 00 */ li r3, 0 +/* 802D16D8 002CE638 48 00 04 58 */ b lbl_802D1B30 +lbl_802D16DC: +/* 802D16DC 002CE63C EC 3E 01 32 */ fmuls f1, f30, f4 +/* 802D16E0 002CE640 EC 1E 02 B2 */ fmuls f0, f30, f10 +/* 802D16E4 002CE644 FE C0 FA 10 */ fabs f22, f31 +/* 802D16E8 002CE648 FE E0 F2 10 */ fabs f23, f30 +/* 802D16EC 002CE64C FF 00 EA 10 */ fabs f24, f29 +/* 802D16F0 002CE650 EC 3D 08 F8 */ fmsubs f1, f29, f3, f1 +/* 802D16F4 002CE654 EE 5D 02 78 */ fmsubs f18, f29, f9, f0 +/* 802D16F8 002CE658 FE C0 B0 18 */ frsp f22, f22 +/* 802D16FC 002CE65C FC 00 B8 18 */ frsp f0, f23 +/* 802D1700 002CE660 FC 01 90 40 */ fcmpo cr0, f1, f18 +/* 802D1704 002CE664 FF 20 C0 18 */ frsp f25, f24 +/* 802D1708 002CE668 40 80 00 0C */ bge lbl_802D1714 +/* 802D170C 002CE66C FE 60 08 90 */ fmr f19, f1 +/* 802D1710 002CE670 48 00 00 0C */ b lbl_802D171C +lbl_802D1714: +/* 802D1714 002CE674 FE 60 90 90 */ fmr f19, f18 +/* 802D1718 002CE678 FE 40 08 90 */ fmr f18, f1 +lbl_802D171C: +/* 802D171C 002CE67C C2 A4 00 08 */ lfs f21, 8(r4) +/* 802D1720 002CE680 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D1724 002CE684 EE E0 05 72 */ fmuls f23, f0, f21 +/* 802D1728 002CE688 EE 99 B8 7A */ fmadds f20, f25, f1, f23 +/* 802D172C 002CE68C FC 13 A0 40 */ fcmpo cr0, f19, f20 +/* 802D1730 002CE690 41 81 00 10 */ bgt lbl_802D1740 +/* 802D1734 002CE694 FE E0 A0 50 */ fneg f23, f20 +/* 802D1738 002CE698 FC 12 B8 40 */ fcmpo cr0, f18, f23 +/* 802D173C 002CE69C 40 80 00 0C */ bge lbl_802D1748 +lbl_802D1740: +/* 802D1740 002CE6A0 38 60 00 00 */ li r3, 0 +/* 802D1744 002CE6A4 48 00 03 EC */ b lbl_802D1B30 +lbl_802D1748: +/* 802D1748 002CE6A8 FE 80 E8 50 */ fneg f20, f29 +/* 802D174C 002CE6AC EF 1F 01 32 */ fmuls f24, f31, f4 +/* 802D1750 002CE6B0 EE FF 02 B2 */ fmuls f23, f31, f10 +/* 802D1754 002CE6B4 EF 14 C0 BA */ fmadds f24, f20, f2, f24 +/* 802D1758 002CE6B8 EE 54 BA 3A */ fmadds f18, f20, f8, f23 +/* 802D175C 002CE6BC FC 18 90 40 */ fcmpo cr0, f24, f18 +/* 802D1760 002CE6C0 40 80 00 0C */ bge lbl_802D176C +/* 802D1764 002CE6C4 FE 60 C0 90 */ fmr f19, f24 +/* 802D1768 002CE6C8 48 00 00 0C */ b lbl_802D1774 +lbl_802D176C: +/* 802D176C 002CE6CC FE 60 90 90 */ fmr f19, f18 +/* 802D1770 002CE6D0 FE 40 C0 90 */ fmr f18, f24 +lbl_802D1774: +/* 802D1774 002CE6D4 EE F6 05 72 */ fmuls f23, f22, f21 +/* 802D1778 002CE6D8 C2 84 00 00 */ lfs f20, 0(r4) +/* 802D177C 002CE6DC EE B9 BD 3A */ fmadds f21, f25, f20, f23 +/* 802D1780 002CE6E0 FC 13 A8 40 */ fcmpo cr0, f19, f21 +/* 802D1784 002CE6E4 41 81 00 10 */ bgt lbl_802D1794 +/* 802D1788 002CE6E8 FE E0 A8 50 */ fneg f23, f21 +/* 802D178C 002CE6EC FC 12 B8 40 */ fcmpo cr0, f18, f23 +/* 802D1790 002CE6F0 40 80 00 0C */ bge lbl_802D179C +lbl_802D1794: +/* 802D1794 002CE6F4 38 60 00 00 */ li r3, 0 +/* 802D1798 002CE6F8 48 00 03 98 */ b lbl_802D1B30 +lbl_802D179C: +/* 802D179C 002CE6FC EF 1F 00 F2 */ fmuls f24, f31, f3 +/* 802D17A0 002CE700 EE FF 01 B2 */ fmuls f23, f31, f6 +/* 802D17A4 002CE704 EE BE C0 B8 */ fmsubs f21, f30, f2, f24 +/* 802D17A8 002CE708 EE 5E B9 78 */ fmsubs f18, f30, f5, f23 +/* 802D17AC 002CE70C FC 15 90 40 */ fcmpo cr0, f21, f18 +/* 802D17B0 002CE710 40 80 00 0C */ bge lbl_802D17BC +/* 802D17B4 002CE714 FE E0 A8 90 */ fmr f23, f21 +/* 802D17B8 002CE718 48 00 00 0C */ b lbl_802D17C4 +lbl_802D17BC: +/* 802D17BC 002CE71C FE E0 90 90 */ fmr f23, f18 +/* 802D17C0 002CE720 FE 40 A8 90 */ fmr f18, f21 +lbl_802D17C4: +/* 802D17C4 002CE724 EC 36 00 72 */ fmuls f1, f22, f1 +/* 802D17C8 002CE728 EC 00 0D 3A */ fmadds f0, f0, f20, f1 +/* 802D17CC 002CE72C FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802D17D0 002CE730 41 81 00 10 */ bgt lbl_802D17E0 +/* 802D17D4 002CE734 FC 00 00 50 */ fneg f0, f0 +/* 802D17D8 002CE738 FC 12 00 40 */ fcmpo cr0, f18, f0 +/* 802D17DC 002CE73C 40 80 00 0C */ bge lbl_802D17E8 +lbl_802D17E0: +/* 802D17E0 002CE740 38 60 00 00 */ li r3, 0 +/* 802D17E4 002CE744 48 00 03 4C */ b lbl_802D1B30 +lbl_802D17E8: +/* 802D17E8 002CE748 EC 3B 01 32 */ fmuls f1, f27, f4 +/* 802D17EC 002CE74C EC 1B 01 F2 */ fmuls f0, f27, f7 +/* 802D17F0 002CE750 FE C0 E2 10 */ fabs f22, f28 +/* 802D17F4 002CE754 FE E0 DA 10 */ fabs f23, f27 +/* 802D17F8 002CE758 FF 00 D2 10 */ fabs f24, f26 +/* 802D17FC 002CE75C EE 9A 08 F8 */ fmsubs f20, f26, f3, f1 +/* 802D1800 002CE760 EE 7A 01 B8 */ fmsubs f19, f26, f6, f0 +/* 802D1804 002CE764 FC 00 B0 18 */ frsp f0, f22 +/* 802D1808 002CE768 FC 20 B8 18 */ frsp f1, f23 +/* 802D180C 002CE76C FC 14 98 40 */ fcmpo cr0, f20, f19 +/* 802D1810 002CE770 FE C0 C0 18 */ frsp f22, f24 +/* 802D1814 002CE774 40 80 00 0C */ bge lbl_802D1820 +/* 802D1818 002CE778 FE A0 A0 90 */ fmr f21, f20 +/* 802D181C 002CE77C 48 00 00 0C */ b lbl_802D1828 +lbl_802D1820: +/* 802D1820 002CE780 FE A0 98 90 */ fmr f21, f19 +/* 802D1824 002CE784 FE 60 A0 90 */ fmr f19, f20 +lbl_802D1828: +/* 802D1828 002CE788 C3 24 00 08 */ lfs f25, 8(r4) +/* 802D182C 002CE78C C3 04 00 04 */ lfs f24, 4(r4) +/* 802D1830 002CE790 EE E1 06 72 */ fmuls f23, f1, f25 +/* 802D1834 002CE794 EE 56 BE 3A */ fmadds f18, f22, f24, f23 +/* 802D1838 002CE798 FC 15 90 40 */ fcmpo cr0, f21, f18 +/* 802D183C 002CE79C 41 81 00 10 */ bgt lbl_802D184C +/* 802D1840 002CE7A0 FE E0 90 50 */ fneg f23, f18 +/* 802D1844 002CE7A4 FC 13 B8 40 */ fcmpo cr0, f19, f23 +/* 802D1848 002CE7A8 40 80 00 0C */ bge lbl_802D1854 +lbl_802D184C: +/* 802D184C 002CE7AC 38 60 00 00 */ li r3, 0 +/* 802D1850 002CE7B0 48 00 02 E0 */ b lbl_802D1B30 +lbl_802D1854: +/* 802D1854 002CE7B4 FE 80 D0 50 */ fneg f20, f26 +/* 802D1858 002CE7B8 EF 5C 01 32 */ fmuls f26, f28, f4 +/* 802D185C 002CE7BC EE FC 01 F2 */ fmuls f23, f28, f7 +/* 802D1860 002CE7C0 EE B4 D0 BA */ fmadds f21, f20, f2, f26 +/* 802D1864 002CE7C4 EE 74 B9 7A */ fmadds f19, f20, f5, f23 +/* 802D1868 002CE7C8 FC 15 98 40 */ fcmpo cr0, f21, f19 +/* 802D186C 002CE7CC 40 80 00 0C */ bge lbl_802D1878 +/* 802D1870 002CE7D0 FF 40 A8 90 */ fmr f26, f21 +/* 802D1874 002CE7D4 48 00 00 0C */ b lbl_802D1880 +lbl_802D1878: +/* 802D1878 002CE7D8 FF 40 98 90 */ fmr f26, f19 +/* 802D187C 002CE7DC FE 60 A8 90 */ fmr f19, f21 +lbl_802D1880: +/* 802D1880 002CE7E0 EE E0 06 72 */ fmuls f23, f0, f25 +/* 802D1884 002CE7E4 C2 84 00 00 */ lfs f20, 0(r4) +/* 802D1888 002CE7E8 EE 56 BD 3A */ fmadds f18, f22, f20, f23 +/* 802D188C 002CE7EC FC 1A 90 40 */ fcmpo cr0, f26, f18 +/* 802D1890 002CE7F0 41 81 00 10 */ bgt lbl_802D18A0 +/* 802D1894 002CE7F4 FE E0 90 50 */ fneg f23, f18 +/* 802D1898 002CE7F8 FC 13 B8 40 */ fcmpo cr0, f19, f23 +/* 802D189C 002CE7FC 40 80 00 0C */ bge lbl_802D18A8 +lbl_802D18A0: +/* 802D18A0 002CE800 38 60 00 00 */ li r3, 0 +/* 802D18A4 002CE804 48 00 02 8C */ b lbl_802D1B30 +lbl_802D18A8: +/* 802D18A8 002CE808 EE FC 01 B2 */ fmuls f23, f28, f6 +/* 802D18AC 002CE80C EF 5C 02 72 */ fmuls f26, f28, f9 +/* 802D18B0 002CE810 EE 5B B9 78 */ fmsubs f18, f27, f5, f23 +/* 802D18B4 002CE814 EE BB D2 38 */ fmsubs f21, f27, f8, f26 +/* 802D18B8 002CE818 FC 15 90 40 */ fcmpo cr0, f21, f18 +/* 802D18BC 002CE81C 40 80 00 0C */ bge lbl_802D18C8 +/* 802D18C0 002CE820 FE C0 A8 90 */ fmr f22, f21 +/* 802D18C4 002CE824 48 00 00 0C */ b lbl_802D18D0 +lbl_802D18C8: +/* 802D18C8 002CE828 FE C0 90 90 */ fmr f22, f18 +/* 802D18CC 002CE82C FE 40 A8 90 */ fmr f18, f21 +lbl_802D18D0: +/* 802D18D0 002CE830 EC 00 06 32 */ fmuls f0, f0, f24 +/* 802D18D4 002CE834 EC 01 05 3A */ fmadds f0, f1, f20, f0 +/* 802D18D8 002CE838 FC 16 00 40 */ fcmpo cr0, f22, f0 +/* 802D18DC 002CE83C 41 81 00 10 */ bgt lbl_802D18EC +/* 802D18E0 002CE840 FC 00 00 50 */ fneg f0, f0 +/* 802D18E4 002CE844 FC 12 00 40 */ fcmpo cr0, f18, f0 +/* 802D18E8 002CE848 40 80 00 0C */ bge lbl_802D18F4 +lbl_802D18EC: +/* 802D18EC 002CE84C 38 60 00 00 */ li r3, 0 +/* 802D18F0 002CE850 48 00 02 40 */ b lbl_802D1B30 +lbl_802D18F4: +/* 802D18F4 002CE854 FC 20 10 90 */ fmr f1, f2 +/* 802D18F8 002CE858 FC 00 10 90 */ fmr f0, f2 +/* 802D18FC 002CE85C FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D1900 002CE860 40 80 00 08 */ bge lbl_802D1908 +/* 802D1904 002CE864 FC 00 28 90 */ fmr f0, f5 +lbl_802D1908: +/* 802D1908 002CE868 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D190C 002CE86C 40 81 00 08 */ ble lbl_802D1914 +/* 802D1910 002CE870 FC 20 28 90 */ fmr f1, f5 +lbl_802D1914: +/* 802D1914 002CE874 FC 08 00 40 */ fcmpo cr0, f8, f0 +/* 802D1918 002CE878 40 80 00 08 */ bge lbl_802D1920 +/* 802D191C 002CE87C FC 00 40 90 */ fmr f0, f8 +lbl_802D1920: +/* 802D1920 002CE880 FC 08 08 40 */ fcmpo cr0, f8, f1 +/* 802D1924 002CE884 40 81 00 08 */ ble lbl_802D192C +/* 802D1928 002CE888 FC 20 40 90 */ fmr f1, f8 +lbl_802D192C: +/* 802D192C 002CE88C FC 00 A0 40 */ fcmpo cr0, f0, f20 +/* 802D1930 002CE890 41 81 00 10 */ bgt lbl_802D1940 +/* 802D1934 002CE894 FC 00 A0 50 */ fneg f0, f20 +/* 802D1938 002CE898 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D193C 002CE89C 40 80 00 0C */ bge lbl_802D1948 +lbl_802D1940: +/* 802D1940 002CE8A0 38 60 00 00 */ li r3, 0 +/* 802D1944 002CE8A4 48 00 01 EC */ b lbl_802D1B30 +lbl_802D1948: +/* 802D1948 002CE8A8 FC 20 18 90 */ fmr f1, f3 +/* 802D194C 002CE8AC FC 00 18 90 */ fmr f0, f3 +/* 802D1950 002CE8B0 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1954 002CE8B4 40 80 00 08 */ bge lbl_802D195C +/* 802D1958 002CE8B8 FC 00 30 90 */ fmr f0, f6 +lbl_802D195C: +/* 802D195C 002CE8BC FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1960 002CE8C0 40 81 00 08 */ ble lbl_802D1968 +/* 802D1964 002CE8C4 FC 20 30 90 */ fmr f1, f6 +lbl_802D1968: +/* 802D1968 002CE8C8 FC 09 00 40 */ fcmpo cr0, f9, f0 +/* 802D196C 002CE8CC 40 80 00 08 */ bge lbl_802D1974 +/* 802D1970 002CE8D0 FC 00 48 90 */ fmr f0, f9 +lbl_802D1974: +/* 802D1974 002CE8D4 FC 09 08 40 */ fcmpo cr0, f9, f1 +/* 802D1978 002CE8D8 40 81 00 08 */ ble lbl_802D1980 +/* 802D197C 002CE8DC FC 20 48 90 */ fmr f1, f9 +lbl_802D1980: +/* 802D1980 002CE8E0 FC 00 C0 40 */ fcmpo cr0, f0, f24 +/* 802D1984 002CE8E4 41 81 00 10 */ bgt lbl_802D1994 +/* 802D1988 002CE8E8 FC 00 C0 50 */ fneg f0, f24 +/* 802D198C 002CE8EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1990 002CE8F0 40 80 00 0C */ bge lbl_802D199C +lbl_802D1994: +/* 802D1994 002CE8F4 38 60 00 00 */ li r3, 0 +/* 802D1998 002CE8F8 48 00 01 98 */ b lbl_802D1B30 +lbl_802D199C: +/* 802D199C 002CE8FC FC 20 20 90 */ fmr f1, f4 +/* 802D19A0 002CE900 FC 00 20 90 */ fmr f0, f4 +/* 802D19A4 002CE904 FC 07 20 40 */ fcmpo cr0, f7, f4 +/* 802D19A8 002CE908 40 80 00 08 */ bge lbl_802D19B0 +/* 802D19AC 002CE90C FC 00 38 90 */ fmr f0, f7 +lbl_802D19B0: +/* 802D19B0 002CE910 FC 07 20 40 */ fcmpo cr0, f7, f4 +/* 802D19B4 002CE914 40 81 00 08 */ ble lbl_802D19BC +/* 802D19B8 002CE918 FC 20 38 90 */ fmr f1, f7 +lbl_802D19BC: +/* 802D19BC 002CE91C FC 0A 00 40 */ fcmpo cr0, f10, f0 +/* 802D19C0 002CE920 40 80 00 08 */ bge lbl_802D19C8 +/* 802D19C4 002CE924 FC 00 50 90 */ fmr f0, f10 +lbl_802D19C8: +/* 802D19C8 002CE928 FC 0A 08 40 */ fcmpo cr0, f10, f1 +/* 802D19CC 002CE92C 40 81 00 08 */ ble lbl_802D19D4 +/* 802D19D0 002CE930 FC 20 50 90 */ fmr f1, f10 +lbl_802D19D4: +/* 802D19D4 002CE934 FC 00 C8 40 */ fcmpo cr0, f0, f25 +/* 802D19D8 002CE938 41 81 00 10 */ bgt lbl_802D19E8 +/* 802D19DC 002CE93C FC 00 C8 50 */ fneg f0, f25 +/* 802D19E0 002CE940 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D19E4 002CE944 40 80 00 0C */ bge lbl_802D19F0 +lbl_802D19E8: +/* 802D19E8 002CE948 38 60 00 00 */ li r3, 0 +/* 802D19EC 002CE94C 48 00 01 44 */ b lbl_802D1B30 +lbl_802D19F0: +/* 802D19F0 002CE950 EC 2B 07 72 */ fmuls f1, f11, f29 +/* 802D19F4 002CE954 C0 A2 C4 B8 */ lfs f5, lbl_805AE1D8@sda21(r2) +/* 802D19F8 002CE958 EC CD 07 B2 */ fmuls f6, f13, f30 +/* 802D19FC 002CE95C EC 0C 07 F2 */ fmuls f0, f12, f31 +/* 802D1A00 002CE960 EC ED 0F F8 */ fmsubs f7, f13, f31, f1 +/* 802D1A04 002CE964 ED 0C 37 78 */ fmsubs f8, f12, f29, f6 +/* 802D1A08 002CE968 EC CB 07 B8 */ fmsubs f6, f11, f30, f0 +/* 802D1A0C 002CE96C EC 27 00 F2 */ fmuls f1, f7, f3 +/* 802D1A10 002CE970 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 802D1A14 002CE974 FC 00 40 18 */ frsp f0, f8 +/* 802D1A18 002CE978 D1 01 00 20 */ stfs f8, 0x20(r1) +/* 802D1A1C 002CE97C EC 28 08 BA */ fmadds f1, f8, f2, f1 +/* 802D1A20 002CE980 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D1A24 002CE984 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802D1A28 002CE988 EC E6 09 3E */ fnmadds f7, f6, f4, f1 +/* 802D1A2C 002CE98C 40 81 00 18 */ ble lbl_802D1A44 +/* 802D1A30 002CE990 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D1A34 002CE994 FC 00 08 50 */ fneg f0, f1 +/* 802D1A38 002CE998 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802D1A3C 002CE99C D0 01 00 08 */ stfs f0, 8(r1) +/* 802D1A40 002CE9A0 48 00 00 14 */ b lbl_802D1A54 +lbl_802D1A44: +/* 802D1A44 002CE9A4 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D1A48 002CE9A8 FC 00 08 50 */ fneg f0, f1 +/* 802D1A4C 002CE9AC D0 21 00 08 */ stfs f1, 8(r1) +/* 802D1A50 002CE9B0 D0 01 00 14 */ stfs f0, 0x14(r1) +lbl_802D1A54: +/* 802D1A54 002CE9B4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D1A58 002CE9B8 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D1A5C 002CE9BC 40 81 00 18 */ ble lbl_802D1A74 +/* 802D1A60 002CE9C0 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D1A64 002CE9C4 FC 00 08 50 */ fneg f0, f1 +/* 802D1A68 002CE9C8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D1A6C 002CE9CC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802D1A70 002CE9D0 48 00 00 14 */ b lbl_802D1A84 +lbl_802D1A74: +/* 802D1A74 002CE9D4 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D1A78 002CE9D8 FC 00 08 50 */ fneg f0, f1 +/* 802D1A7C 002CE9DC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D1A80 002CE9E0 D0 01 00 18 */ stfs f0, 0x18(r1) +lbl_802D1A84: +/* 802D1A84 002CE9E4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802D1A88 002CE9E8 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D1A8C 002CE9EC 40 81 00 18 */ ble lbl_802D1AA4 +/* 802D1A90 002CE9F0 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D1A94 002CE9F4 FC 00 08 50 */ fneg f0, f1 +/* 802D1A98 002CE9F8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D1A9C 002CE9FC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D1AA0 002CEA00 48 00 00 14 */ b lbl_802D1AB4 +lbl_802D1AA4: +/* 802D1AA4 002CEA04 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D1AA8 002CEA08 FC 00 08 50 */ fneg f0, f1 +/* 802D1AAC 002CEA0C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D1AB0 002CEA10 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_802D1AB4: +/* 802D1AB4 002CEA14 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802D1AB8 002CEA18 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D1ABC 002CEA1C C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802D1AC0 002CEA20 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D1AC4 002CEA24 C0 21 00 08 */ lfs f1, 8(r1) +/* 802D1AC8 002CEA28 C0 C1 00 28 */ lfs f6, 0x28(r1) +/* 802D1ACC 002CEA2C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802D1AD0 002CEA30 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802D1AD4 002CEA34 C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) +/* 802D1AD8 002CEA38 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 802D1ADC 002CEA3C EC 07 00 2A */ fadds f0, f7, f0 +/* 802D1AE0 002CEA40 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D1AE4 002CEA44 40 81 00 0C */ ble lbl_802D1AF0 +/* 802D1AE8 002CEA48 38 60 00 00 */ li r3, 0 +/* 802D1AEC 002CEA4C 48 00 00 38 */ b lbl_802D1B24 +lbl_802D1AF0: +/* 802D1AF0 002CEA50 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802D1AF4 002CEA54 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802D1AF8 002CEA58 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D1AFC 002CEA5C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802D1B00 002CEA60 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802D1B04 002CEA64 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 802D1B08 002CEA68 EC 07 00 2A */ fadds f0, f7, f0 +/* 802D1B0C 002CEA6C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D1B10 002CEA70 4C 41 13 82 */ cror 2, 1, 2 +/* 802D1B14 002CEA74 40 82 00 0C */ bne lbl_802D1B20 +/* 802D1B18 002CEA78 38 60 00 01 */ li r3, 1 +/* 802D1B1C 002CEA7C 48 00 00 08 */ b lbl_802D1B24 +lbl_802D1B20: +/* 802D1B20 002CEA80 38 60 00 00 */ li r3, 0 +lbl_802D1B24: +/* 802D1B24 002CEA84 7C 03 00 D0 */ neg r0, r3 +/* 802D1B28 002CEA88 7C 00 1B 78 */ or r0, r0, r3 +/* 802D1B2C 002CEA8C 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_802D1B30: +/* 802D1B30 002CEA90 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802D1B34 002CEA94 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802D1B38 002CEA98 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802D1B3C 002CEA9C CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802D1B40 002CEAA0 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802D1B44 002CEAA4 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802D1B48 002CEAA8 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 +/* 802D1B4C 002CEAAC CB 81 00 D0 */ lfd f28, 0xd0(r1) +/* 802D1B50 002CEAB0 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 +/* 802D1B54 002CEAB4 CB 61 00 C0 */ lfd f27, 0xc0(r1) +/* 802D1B58 002CEAB8 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 +/* 802D1B5C 002CEABC CB 41 00 B0 */ lfd f26, 0xb0(r1) +/* 802D1B60 002CEAC0 E3 21 00 A8 */ psq_l f25, 168(r1), 0, qr0 +/* 802D1B64 002CEAC4 CB 21 00 A0 */ lfd f25, 0xa0(r1) +/* 802D1B68 002CEAC8 E3 01 00 98 */ psq_l f24, 152(r1), 0, qr0 +/* 802D1B6C 002CEACC CB 01 00 90 */ lfd f24, 0x90(r1) +/* 802D1B70 002CEAD0 E2 E1 00 88 */ psq_l f23, 136(r1), 0, qr0 +/* 802D1B74 002CEAD4 CA E1 00 80 */ lfd f23, 0x80(r1) +/* 802D1B78 002CEAD8 E2 C1 00 78 */ psq_l f22, 120(r1), 0, qr0 +/* 802D1B7C 002CEADC CA C1 00 70 */ lfd f22, 0x70(r1) +/* 802D1B80 002CEAE0 E2 A1 00 68 */ psq_l f21, 104(r1), 0, qr0 +/* 802D1B84 002CEAE4 CA A1 00 60 */ lfd f21, 0x60(r1) +/* 802D1B88 002CEAE8 E2 81 00 58 */ psq_l f20, 88(r1), 0, qr0 +/* 802D1B8C 002CEAEC CA 81 00 50 */ lfd f20, 0x50(r1) +/* 802D1B90 002CEAF0 E2 61 00 48 */ psq_l f19, 72(r1), 0, qr0 +/* 802D1B94 002CEAF4 CA 61 00 40 */ lfd f19, 0x40(r1) +/* 802D1B98 002CEAF8 E2 41 00 38 */ psq_l f18, 56(r1), 0, qr0 +/* 802D1B9C 002CEAFC CA 41 00 30 */ lfd f18, 0x30(r1) +/* 802D1BA0 002CEB00 38 21 01 10 */ addi r1, r1, 0x110 +/* 802D1BA4 002CEB04 4E 80 00 20 */ blr + +.global BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb +BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb: +/* 802D1BA8 002CEB08 C0 02 C4 CC */ lfs f0, lbl_805AE1EC@sda21(r2) +/* 802D1BAC 002CEB0C 38 00 00 03 */ li r0, 3 +/* 802D1BB0 002CEB10 39 43 00 0C */ addi r10, r3, 0xc +/* 802D1BB4 002CEB14 C0 42 C4 B8 */ lfs f2, lbl_805AE1D8@sda21(r2) +/* 802D1BB8 002CEB18 D0 06 00 00 */ stfs f0, 0(r6) +/* 802D1BBC 002CEB1C 39 60 00 00 */ li r11, 0 +/* 802D1BC0 002CEB20 C0 02 C4 D0 */ lfs f0, lbl_805AE1F0@sda21(r2) +/* 802D1BC4 002CEB24 D0 07 00 00 */ stfs f0, 0(r7) +/* 802D1BC8 002CEB28 7C 09 03 A6 */ mtctr r0 +lbl_802D1BCC: +/* 802D1BCC 002CEB2C C0 85 00 00 */ lfs f4, 0(r5) +/* 802D1BD0 002CEB30 FC 02 20 00 */ fcmpu cr0, f2, f4 +/* 802D1BD4 002CEB34 40 82 00 28 */ bne lbl_802D1BFC +/* 802D1BD8 002CEB38 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D1BDC 002CEB3C C0 03 00 00 */ lfs f0, 0(r3) +/* 802D1BE0 002CEB40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1BE4 002CEB44 41 80 00 10 */ blt lbl_802D1BF4 +/* 802D1BE8 002CEB48 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802D1BEC 002CEB4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1BF0 002CEB50 40 81 00 90 */ ble lbl_802D1C80 +lbl_802D1BF4: +/* 802D1BF4 002CEB54 38 60 00 00 */ li r3, 0 +/* 802D1BF8 002CEB58 4E 80 00 20 */ blr +lbl_802D1BFC: +/* 802D1BFC 002CEB5C C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D1C00 002CEB60 FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 802D1C04 002CEB64 EC A0 20 24 */ fdivs f5, f0, f4 +/* 802D1C08 002CEB68 40 80 00 24 */ bge lbl_802D1C2C +/* 802D1C0C 002CEB6C C0 2A 00 00 */ lfs f1, 0(r10) +/* 802D1C10 002CEB70 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1C14 002CEB74 C0 03 00 00 */ lfs f0, 0(r3) +/* 802D1C18 002CEB78 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802D1C1C 002CEB7C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D1C20 002CEB80 EC 25 00 72 */ fmuls f1, f5, f1 +/* 802D1C24 002CEB84 EC 65 00 32 */ fmuls f3, f5, f0 +/* 802D1C28 002CEB88 48 00 00 20 */ b lbl_802D1C48 +lbl_802D1C2C: +/* 802D1C2C 002CEB8C C0 23 00 00 */ lfs f1, 0(r3) +/* 802D1C30 002CEB90 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1C34 002CEB94 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802D1C38 002CEB98 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802D1C3C 002CEB9C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D1C40 002CEBA0 EC 25 00 72 */ fmuls f1, f5, f1 +/* 802D1C44 002CEBA4 EC 65 00 32 */ fmuls f3, f5, f0 +lbl_802D1C48: +/* 802D1C48 002CEBA8 C0 06 00 00 */ lfs f0, 0(r6) +/* 802D1C4C 002CEBAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1C50 002CEBB0 40 81 00 20 */ ble lbl_802D1C70 +/* 802D1C54 002CEBB4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1C58 002CEBB8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1C5C 002CEBBC 7C 00 00 26 */ mfcr r0 +/* 802D1C60 002CEBC0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802D1C64 002CEBC4 98 09 00 00 */ stb r0, 0(r9) +/* 802D1C68 002CEBC8 91 68 00 00 */ stw r11, 0(r8) +/* 802D1C6C 002CEBCC D0 26 00 00 */ stfs f1, 0(r6) +lbl_802D1C70: +/* 802D1C70 002CEBD0 C0 07 00 00 */ lfs f0, 0(r7) +/* 802D1C74 002CEBD4 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D1C78 002CEBD8 40 80 00 08 */ bge lbl_802D1C80 +/* 802D1C7C 002CEBDC D0 67 00 00 */ stfs f3, 0(r7) +lbl_802D1C80: +/* 802D1C80 002CEBE0 38 A5 00 04 */ addi r5, r5, 4 +/* 802D1C84 002CEBE4 38 84 00 04 */ addi r4, r4, 4 +/* 802D1C88 002CEBE8 38 63 00 04 */ addi r3, r3, 4 +/* 802D1C8C 002CEBEC 39 4A 00 04 */ addi r10, r10, 4 +/* 802D1C90 002CEBF0 39 6B 00 01 */ addi r11, r11, 1 +/* 802D1C94 002CEBF4 42 00 FF 38 */ bdnz lbl_802D1BCC +/* 802D1C98 002CEBF8 C0 26 00 00 */ lfs f1, 0(r6) +/* 802D1C9C 002CEBFC C0 07 00 00 */ lfs f0, 0(r7) +/* 802D1CA0 002CEC00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1CA4 002CEC04 4C 40 13 82 */ cror 2, 0, 2 +/* 802D1CA8 002CEC08 7C 00 00 26 */ mfcr r0 +/* 802D1CAC 002CEC0C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802D1CB0 002CEC10 4E 80 00 20 */ blr + +.global AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f: +/* 802D1CB4 002CEC14 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D1CB8 002CEC18 7C 08 02 A6 */ mflr r0 +/* 802D1CBC 002CEC1C C8 22 C4 D8 */ lfd f1, lbl_805AE1F8@sda21(r2) +/* 802D1CC0 002CEC20 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D1CC4 002CEC24 FC 40 08 90 */ fmr f2, f1 +/* 802D1CC8 002CEC28 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802D1CCC 002CEC2C 7C 7A 1B 78 */ mr r26, r3 +/* 802D1CD0 002CEC30 FC 60 08 90 */ fmr f3, f1 +/* 802D1CD4 002CEC34 7C 9B 23 78 */ mr r27, r4 +/* 802D1CD8 002CEC38 7C BC 2B 78 */ mr r28, r5 +/* 802D1CDC 002CEC3C 7C DD 33 78 */ mr r29, r6 +/* 802D1CE0 002CEC40 7C FE 3B 78 */ mr r30, r7 +/* 802D1CE4 002CEC44 7D 1F 43 78 */ mr r31, r8 +/* 802D1CE8 002CEC48 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D1CEC 002CEC4C 48 04 28 B5 */ bl __ct__9CVector3dFddd +/* 802D1CF0 002CEC50 C8 22 C4 E0 */ lfd f1, lbl_805AE200@sda21(r2) +/* 802D1CF4 002CEC54 38 61 00 08 */ addi r3, r1, 8 +/* 802D1CF8 002CEC58 FC 40 08 90 */ fmr f2, f1 +/* 802D1CFC 002CEC5C FC 60 08 90 */ fmr f3, f1 +/* 802D1D00 002CEC60 48 04 28 A1 */ bl __ct__9CVector3dFddd +/* 802D1D04 002CEC64 38 00 00 03 */ li r0, 3 +/* 802D1D08 002CEC68 7F 84 E3 78 */ mr r4, r28 +/* 802D1D0C 002CEC6C 7F 65 DB 78 */ mr r5, r27 +/* 802D1D10 002CEC70 7F 46 D3 78 */ mr r6, r26 +/* 802D1D14 002CEC74 39 01 00 20 */ addi r8, r1, 0x20 +/* 802D1D18 002CEC78 39 21 00 08 */ addi r9, r1, 8 +/* 802D1D1C 002CEC7C C0 22 C4 C8 */ lfs f1, lbl_805AE1E8@sda21(r2) +/* 802D1D20 002CEC80 38 E0 00 00 */ li r7, 0 +/* 802D1D24 002CEC84 7C 09 03 A6 */ mtctr r0 +lbl_802D1D28: +/* 802D1D28 002CEC88 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D1D2C 002CEC8C FC 00 12 10 */ fabs f0, f2 +/* 802D1D30 002CEC90 FC 00 00 18 */ frsp f0, f0 +/* 802D1D34 002CEC94 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802D1D38 002CEC98 40 80 00 74 */ bge lbl_802D1DAC +/* 802D1D3C 002CEC9C C0 46 00 00 */ lfs f2, 0(r6) +/* 802D1D40 002CECA0 C0 65 00 00 */ lfs f3, 0(r5) +/* 802D1D44 002CECA4 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D1D48 002CECA8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D1D4C 002CECAC 40 82 00 18 */ bne lbl_802D1D64 +/* 802D1D50 002CECB0 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1D54 002CECB4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D1D58 002CECB8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D1D5C 002CECBC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D1D60 002CECC0 41 82 01 AC */ beq lbl_802D1F0C +lbl_802D1D64: +/* 802D1D64 002CECC4 7C 7A 3A 14 */ add r3, r26, r7 +/* 802D1D68 002CECC8 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802D1D6C 002CECCC FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802D1D70 002CECD0 4C 41 13 82 */ cror 2, 1, 2 +/* 802D1D74 002CECD4 40 82 00 18 */ bne lbl_802D1D8C +/* 802D1D78 002CECD8 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1D7C 002CECDC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D1D80 002CECE0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1D84 002CECE4 4C 40 13 82 */ cror 2, 0, 2 +/* 802D1D88 002CECE8 41 82 01 84 */ beq lbl_802D1F0C +lbl_802D1D8C: +/* 802D1D8C 002CECEC FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D1D90 002CECF0 40 80 00 14 */ bge lbl_802D1DA4 +/* 802D1D94 002CECF4 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1D98 002CECF8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D1D9C 002CECFC FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1DA0 002CED00 41 81 01 6C */ bgt lbl_802D1F0C +lbl_802D1DA4: +/* 802D1DA4 002CED04 38 60 00 00 */ li r3, 0 +/* 802D1DA8 002CED08 48 00 02 F8 */ b lbl_802D20A0 +lbl_802D1DAC: +/* 802D1DAC 002CED0C 7D 5A 3A 14 */ add r10, r26, r7 +/* 802D1DB0 002CED10 C0 65 00 00 */ lfs f3, 0(r5) +/* 802D1DB4 002CED14 C0 AA 00 0C */ lfs f5, 0xc(r10) +/* 802D1DB8 002CED18 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 802D1DBC 002CED1C 40 80 00 20 */ bge lbl_802D1DDC +/* 802D1DC0 002CED20 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1DC4 002CED24 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D1DC8 002CED28 40 81 00 14 */ ble lbl_802D1DDC +/* 802D1DCC 002CED2C EC 03 28 28 */ fsubs f0, f3, f5 +/* 802D1DD0 002CED30 EC 00 10 24 */ fdivs f0, f0, f2 +/* 802D1DD4 002CED34 D8 08 00 00 */ stfd f0, 0(r8) +/* 802D1DD8 002CED38 48 00 00 84 */ b lbl_802D1E5C +lbl_802D1DDC: +/* 802D1DDC 002CED3C 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1DE0 002CED40 C0 46 00 00 */ lfs f2, 0(r6) +/* 802D1DE4 002CED44 C0 C3 00 0C */ lfs f6, 0xc(r3) +/* 802D1DE8 002CED48 FC 06 10 40 */ fcmpo cr0, f6, f2 +/* 802D1DEC 002CED4C 40 80 00 24 */ bge lbl_802D1E10 +/* 802D1DF0 002CED50 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1DF4 002CED54 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1DF8 002CED58 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1DFC 002CED5C 40 80 00 14 */ bge lbl_802D1E10 +/* 802D1E00 002CED60 EC 06 10 28 */ fsubs f0, f6, f2 +/* 802D1E04 002CED64 EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1E08 002CED68 D8 08 00 00 */ stfd f0, 0(r8) +/* 802D1E0C 002CED6C 48 00 00 50 */ b lbl_802D1E5C +lbl_802D1E10: +/* 802D1E10 002CED70 FC 06 10 40 */ fcmpo cr0, f6, f2 +/* 802D1E14 002CED74 40 81 00 24 */ ble lbl_802D1E38 +/* 802D1E18 002CED78 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1E1C 002CED7C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1E20 002CED80 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1E24 002CED84 40 80 00 14 */ bge lbl_802D1E38 +/* 802D1E28 002CED88 EC 06 10 28 */ fsubs f0, f6, f2 +/* 802D1E2C 002CED8C EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1E30 002CED90 D8 08 00 00 */ stfd f0, 0(r8) +/* 802D1E34 002CED94 48 00 00 28 */ b lbl_802D1E5C +lbl_802D1E38: +/* 802D1E38 002CED98 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 802D1E3C 002CED9C 40 81 00 20 */ ble lbl_802D1E5C +/* 802D1E40 002CEDA0 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D1E44 002CEDA4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1E48 002CEDA8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D1E4C 002CEDAC 40 81 00 10 */ ble lbl_802D1E5C +/* 802D1E50 002CEDB0 EC 03 28 28 */ fsubs f0, f3, f5 +/* 802D1E54 002CEDB4 EC 00 10 24 */ fdivs f0, f0, f2 +/* 802D1E58 002CEDB8 D8 08 00 00 */ stfd f0, 0(r8) +lbl_802D1E5C: +/* 802D1E5C 002CEDBC 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1E60 002CEDC0 C0 46 00 00 */ lfs f2, 0(r6) +/* 802D1E64 002CEDC4 C0 A3 00 0C */ lfs f5, 0xc(r3) +/* 802D1E68 002CEDC8 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D1E6C 002CEDCC 40 81 00 24 */ ble lbl_802D1E90 +/* 802D1E70 002CEDD0 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1E74 002CEDD4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1E78 002CEDD8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D1E7C 002CEDDC 40 81 00 14 */ ble lbl_802D1E90 +/* 802D1E80 002CEDE0 EC 05 10 28 */ fsubs f0, f5, f2 +/* 802D1E84 002CEDE4 EC 00 18 24 */ fdivs f0, f0, f3 +/* 802D1E88 002CEDE8 D8 09 00 00 */ stfd f0, 0(r9) +/* 802D1E8C 002CEDEC 48 00 00 80 */ b lbl_802D1F0C +lbl_802D1E90: +/* 802D1E90 002CEDF0 C0 CA 00 0C */ lfs f6, 0xc(r10) +/* 802D1E94 002CEDF4 C0 65 00 00 */ lfs f3, 0(r5) +/* 802D1E98 002CEDF8 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1E9C 002CEDFC 40 81 00 24 */ ble lbl_802D1EC0 +/* 802D1EA0 002CEE00 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1EA4 002CEE04 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1EA8 002CEE08 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1EAC 002CEE0C 40 80 00 14 */ bge lbl_802D1EC0 +/* 802D1EB0 002CEE10 EC 03 30 28 */ fsubs f0, f3, f6 +/* 802D1EB4 002CEE14 EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1EB8 002CEE18 D8 09 00 00 */ stfd f0, 0(r9) +/* 802D1EBC 002CEE1C 48 00 00 50 */ b lbl_802D1F0C +lbl_802D1EC0: +/* 802D1EC0 002CEE20 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1EC4 002CEE24 40 80 00 24 */ bge lbl_802D1EE8 +/* 802D1EC8 002CEE28 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1ECC 002CEE2C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1ED0 002CEE30 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1ED4 002CEE34 40 80 00 14 */ bge lbl_802D1EE8 +/* 802D1ED8 002CEE38 EC 03 30 28 */ fsubs f0, f3, f6 +/* 802D1EDC 002CEE3C EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1EE0 002CEE40 D8 09 00 00 */ stfd f0, 0(r9) +/* 802D1EE4 002CEE44 48 00 00 28 */ b lbl_802D1F0C +lbl_802D1EE8: +/* 802D1EE8 002CEE48 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D1EEC 002CEE4C 40 80 00 20 */ bge lbl_802D1F0C +/* 802D1EF0 002CEE50 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1EF4 002CEE54 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1EF8 002CEE58 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D1EFC 002CEE5C 40 81 00 10 */ ble lbl_802D1F0C +/* 802D1F00 002CEE60 EC 05 10 28 */ fsubs f0, f5, f2 +/* 802D1F04 002CEE64 EC 00 18 24 */ fdivs f0, f0, f3 +/* 802D1F08 002CEE68 D8 09 00 00 */ stfd f0, 0(r9) +lbl_802D1F0C: +/* 802D1F0C 002CEE6C 38 84 00 04 */ addi r4, r4, 4 +/* 802D1F10 002CEE70 38 A5 00 04 */ addi r5, r5, 4 +/* 802D1F14 002CEE74 38 C6 00 04 */ addi r6, r6, 4 +/* 802D1F18 002CEE78 38 E7 00 04 */ addi r7, r7, 4 +/* 802D1F1C 002CEE7C 39 08 00 08 */ addi r8, r8, 8 +/* 802D1F20 002CEE80 39 29 00 08 */ addi r9, r9, 8 +/* 802D1F24 002CEE84 42 00 FE 04 */ bdnz lbl_802D1D28 +/* 802D1F28 002CEE88 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802D1F2C 002CEE8C 38 A0 00 00 */ li r5, 0 +/* 802D1F30 002CEE90 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 802D1F34 002CEE94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F38 002CEE98 40 81 00 08 */ ble lbl_802D1F40 +/* 802D1F3C 002CEE9C 38 A0 00 01 */ li r5, 1 +lbl_802D1F40: +/* 802D1F40 002CEEA0 54 A0 18 38 */ slwi r0, r5, 3 +/* 802D1F44 002CEEA4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D1F48 002CEEA8 C8 21 00 30 */ lfd f1, 0x30(r1) +/* 802D1F4C 002CEEAC 7C 03 04 AE */ lfdx f0, r3, r0 +/* 802D1F50 002CEEB0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F54 002CEEB4 40 81 00 08 */ ble lbl_802D1F5C +/* 802D1F58 002CEEB8 38 A0 00 02 */ li r5, 2 +lbl_802D1F5C: +/* 802D1F5C 002CEEBC C8 21 00 18 */ lfd f1, 0x18(r1) +/* 802D1F60 002CEEC0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D1F64 002CEEC4 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802D1F68 002CEEC8 38 01 00 10 */ addi r0, r1, 0x10 +/* 802D1F6C 002CEECC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F70 002CEED0 40 80 00 08 */ bge lbl_802D1F78 +/* 802D1F74 002CEED4 48 00 00 08 */ b lbl_802D1F7C +lbl_802D1F78: +/* 802D1F78 002CEED8 7C 03 03 78 */ mr r3, r0 +lbl_802D1F7C: +/* 802D1F7C 002CEEDC C8 23 00 00 */ lfd f1, 0(r3) +/* 802D1F80 002CEEE0 C8 01 00 08 */ lfd f0, 8(r1) +/* 802D1F84 002CEEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F88 002CEEE8 40 80 00 08 */ bge lbl_802D1F90 +/* 802D1F8C 002CEEEC 48 00 00 08 */ b lbl_802D1F94 +lbl_802D1F90: +/* 802D1F90 002CEEF0 38 61 00 08 */ addi r3, r1, 8 +lbl_802D1F94: +/* 802D1F94 002CEEF4 54 A0 18 38 */ slwi r0, r5, 3 +/* 802D1F98 002CEEF8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D1F9C 002CEEFC 7C 24 04 AE */ lfdx f1, r4, r0 +/* 802D1FA0 002CEF00 C8 03 00 00 */ lfd f0, 0(r3) +/* 802D1FA4 002CEF04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1FA8 002CEF08 40 81 00 0C */ ble lbl_802D1FB4 +/* 802D1FAC 002CEF0C 38 60 00 00 */ li r3, 0 +/* 802D1FB0 002CEF10 48 00 00 F0 */ b lbl_802D20A0 +lbl_802D1FB4: +/* 802D1FB4 002CEF14 D8 3D 00 00 */ stfd f1, 0(r29) +/* 802D1FB8 002CEF18 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D1FBC 002CEF1C 54 A0 10 3A */ slwi r0, r5, 2 +/* 802D1FC0 002CEF20 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1FC4 002CEF24 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 802D1FC8 002CEF28 D0 3F 00 00 */ stfs f1, 0(r31) +/* 802D1FCC 002CEF2C C0 23 00 04 */ lfs f1, 4(r3) +/* 802D1FD0 002CEF30 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D1FD4 002CEF34 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D1FD8 002CEF38 D0 3F 00 08 */ stfs f1, 8(r31) +/* 802D1FDC 002CEF3C 7C 3C 04 2E */ lfsx f1, r28, r0 +/* 802D1FE0 002CEF40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1FE4 002CEF44 40 81 00 0C */ ble lbl_802D1FF0 +/* 802D1FE8 002CEF48 C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +/* 802D1FEC 002CEF4C 48 00 00 08 */ b lbl_802D1FF4 +lbl_802D1FF0: +/* 802D1FF0 002CEF50 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +lbl_802D1FF4: +/* 802D1FF4 002CEF54 7C 1F 05 2E */ stfsx f0, r31, r0 +/* 802D1FF8 002CEF58 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1FFC 002CEF5C C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D2000 002CEF60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2004 002CEF64 40 81 00 0C */ ble lbl_802D2010 +/* 802D2008 002CEF68 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 802D200C 002CEF6C 48 00 00 08 */ b lbl_802D2014 +lbl_802D2010: +/* 802D2010 002CEF70 C0 1A 00 00 */ lfs f0, 0(r26) +lbl_802D2014: +/* 802D2014 002CEF74 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D2018 002CEF78 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D201C 002CEF7C C0 3C 00 04 */ lfs f1, 4(r28) +/* 802D2020 002CEF80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2024 002CEF84 40 81 00 0C */ ble lbl_802D2030 +/* 802D2028 002CEF88 C0 1A 00 10 */ lfs f0, 0x10(r26) +/* 802D202C 002CEF8C 48 00 00 08 */ b lbl_802D2034 +lbl_802D2030: +/* 802D2030 002CEF90 C0 1A 00 04 */ lfs f0, 4(r26) +lbl_802D2034: +/* 802D2034 002CEF94 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D2038 002CEF98 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D203C 002CEF9C C0 3C 00 08 */ lfs f1, 8(r28) +/* 802D2040 002CEFA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2044 002CEFA4 40 81 00 0C */ ble lbl_802D2050 +/* 802D2048 002CEFA8 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 802D204C 002CEFAC 48 00 00 08 */ b lbl_802D2054 +lbl_802D2050: +/* 802D2050 002CEFB0 C0 1A 00 08 */ lfs f0, 8(r26) +lbl_802D2054: +/* 802D2054 002CEFB4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D2058 002CEFB8 38 60 00 01 */ li r3, 1 +/* 802D205C 002CEFBC C8 9D 00 00 */ lfd f4, 0(r29) +/* 802D2060 002CEFC0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D2064 002CEFC4 FC 80 20 18 */ frsp f4, f4 +/* 802D2068 002CEFC8 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D206C 002CEFCC C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D2070 002CEFD0 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D2074 002CEFD4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D2078 002CEFD8 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D207C 002CEFDC EC 44 00 B2 */ fmuls f2, f4, f2 +/* 802D2080 002CEFE0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D2084 002CEFE4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D2088 002CEFE8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D208C 002CEFEC EC 00 18 2A */ fadds f0, f0, f3 +/* 802D2090 002CEFF0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D2094 002CEFF4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D2098 002CEFF8 EC 00 10 2A */ fadds f0, f0, f2 +/* 802D209C 002CEFFC D0 1E 00 08 */ stfs f0, 8(r30) +lbl_802D20A0: +/* 802D20A0 002CF000 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802D20A4 002CF004 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D20A8 002CF008 7C 08 03 A6 */ mtlr r0 +/* 802D20AC 002CF00C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D20B0 002CF010 4E 80 00 20 */ blr + +.global AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList +AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList: +/* 802D20B4 002CF014 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802D20B8 002CF018 7C 08 02 A6 */ mflr r0 +/* 802D20BC 002CF01C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D20C0 002CF020 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802D20C4 002CF024 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802D20C8 002CF028 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802D20CC 002CF02C 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 802D20D0 002CF030 7C 7D 1B 78 */ mr r29, r3 +/* 802D20D4 002CF034 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 802D20D8 002CF038 7C 9C 23 78 */ mr r28, r4 +/* 802D20DC 002CF03C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802D20E0 002CF040 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802D20E4 002CF044 2C 1F 00 01 */ cmpwi r31, 1 +/* 802D20E8 002CF048 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802D20EC 002CF04C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D20F0 002CF050 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D20F4 002CF054 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802D20F8 002CF058 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D20FC 002CF05C 40 81 02 00 */ ble lbl_802D22FC +/* 802D2100 002CF060 2C 1F 00 00 */ cmpwi r31, 0 +/* 802D2104 002CF064 7F E3 FB 78 */ mr r3, r31 +/* 802D2108 002CF068 38 9D 00 04 */ addi r4, r29, 4 +/* 802D210C 002CF06C 40 81 01 4C */ ble lbl_802D2258 +/* 802D2110 002CF070 57 E0 F8 7F */ rlwinm. r0, r31, 0x1f, 1, 0x1f +/* 802D2114 002CF074 7C 09 03 A6 */ mtctr r0 +/* 802D2118 002CF078 41 82 00 D4 */ beq lbl_802D21EC +lbl_802D211C: +/* 802D211C 002CF07C C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802D2120 002CF080 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D2124 002CF084 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802D2128 002CF088 ED 44 10 2A */ fadds f10, f4, f2 +/* 802D212C 002CF08C C0 24 00 04 */ lfs f1, 4(r4) +/* 802D2130 002CF090 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 802D2134 002CF094 ED 25 08 2A */ fadds f9, f5, f1 +/* 802D2138 002CF098 C0 44 00 08 */ lfs f2, 8(r4) +/* 802D213C 002CF09C C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 802D2140 002CF0A0 ED 04 10 2A */ fadds f8, f4, f2 +/* 802D2144 002CF0A4 C0 24 00 48 */ lfs f1, 0x48(r4) +/* 802D2148 002CF0A8 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802D214C 002CF0AC EC C7 08 2A */ fadds f6, f7, f1 +/* 802D2150 002CF0B0 C0 84 00 4C */ lfs f4, 0x4c(r4) +/* 802D2154 002CF0B4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D2158 002CF0B8 EC 65 20 2A */ fadds f3, f5, f4 +/* 802D215C 002CF0BC C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802D2160 002CF0C0 FC 80 50 18 */ frsp f4, f10 +/* 802D2164 002CF0C4 EC 02 08 2A */ fadds f0, f2, f1 +/* 802D2168 002CF0C8 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 802D216C 002CF0CC D1 41 00 14 */ stfs f10, 0x14(r1) +/* 802D2170 002CF0D0 ED 44 10 2A */ fadds f10, f4, f2 +/* 802D2174 002CF0D4 C0 24 00 64 */ lfs f1, 0x64(r4) +/* 802D2178 002CF0D8 FC A0 48 18 */ frsp f5, f9 +/* 802D217C 002CF0DC D1 21 00 18 */ stfs f9, 0x18(r1) +/* 802D2180 002CF0E0 FC 80 40 18 */ frsp f4, f8 +/* 802D2184 002CF0E4 FC E0 30 18 */ frsp f7, f6 +/* 802D2188 002CF0E8 ED 25 08 2A */ fadds f9, f5, f1 +/* 802D218C 002CF0EC C0 44 00 68 */ lfs f2, 0x68(r4) +/* 802D2190 002CF0F0 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 802D2194 002CF0F4 FC A0 18 18 */ frsp f5, f3 +/* 802D2198 002CF0F8 ED 04 10 2A */ fadds f8, f4, f2 +/* 802D219C 002CF0FC C0 24 00 A8 */ lfs f1, 0xa8(r4) +/* 802D21A0 002CF100 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D21A4 002CF104 FC 40 00 18 */ frsp f2, f0 +/* 802D21A8 002CF108 EC C7 08 2A */ fadds f6, f7, f1 +/* 802D21AC 002CF10C C0 84 00 AC */ lfs f4, 0xac(r4) +/* 802D21B0 002CF110 C0 24 00 B0 */ lfs f1, 0xb0(r4) +/* 802D21B4 002CF114 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 802D21B8 002CF118 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802D21BC 002CF11C EC 65 20 2A */ fadds f3, f5, f4 +/* 802D21C0 002CF120 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D21C4 002CF124 EC 02 08 2A */ fadds f0, f2, f1 +/* 802D21C8 002CF128 D1 41 00 14 */ stfs f10, 0x14(r1) +/* 802D21CC 002CF12C D1 21 00 18 */ stfs f9, 0x18(r1) +/* 802D21D0 002CF130 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 802D21D4 002CF134 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D21D8 002CF138 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802D21DC 002CF13C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D21E0 002CF140 42 00 FF 3C */ bdnz lbl_802D211C +/* 802D21E4 002CF144 70 63 00 01 */ andi. r3, r3, 1 +/* 802D21E8 002CF148 41 82 00 70 */ beq lbl_802D2258 +lbl_802D21EC: +/* 802D21EC 002CF14C 7C 69 03 A6 */ mtctr r3 +lbl_802D21F0: +/* 802D21F0 002CF150 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802D21F4 002CF154 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D21F8 002CF158 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802D21FC 002CF15C ED 44 10 2A */ fadds f10, f4, f2 +/* 802D2200 002CF160 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D2204 002CF164 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 802D2208 002CF168 ED 25 08 2A */ fadds f9, f5, f1 +/* 802D220C 002CF16C C0 44 00 08 */ lfs f2, 8(r4) +/* 802D2210 002CF170 C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 802D2214 002CF174 ED 04 10 2A */ fadds f8, f4, f2 +/* 802D2218 002CF178 C0 24 00 48 */ lfs f1, 0x48(r4) +/* 802D221C 002CF17C C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802D2220 002CF180 EC C7 08 2A */ fadds f6, f7, f1 +/* 802D2224 002CF184 C0 84 00 4C */ lfs f4, 0x4c(r4) +/* 802D2228 002CF188 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802D222C 002CF18C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D2230 002CF190 EC 65 20 2A */ fadds f3, f5, f4 +/* 802D2234 002CF194 D1 41 00 14 */ stfs f10, 0x14(r1) +/* 802D2238 002CF198 EC 02 08 2A */ fadds f0, f2, f1 +/* 802D223C 002CF19C 38 84 00 60 */ addi r4, r4, 0x60 +/* 802D2240 002CF1A0 D1 21 00 18 */ stfs f9, 0x18(r1) +/* 802D2244 002CF1A4 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 802D2248 002CF1A8 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D224C 002CF1AC D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802D2250 002CF1B0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D2254 002CF1B4 42 00 FF 9C */ bdnz lbl_802D21F0 +lbl_802D2258: +/* 802D2258 002CF1B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D225C 002CF1BC 48 04 24 9D */ bl CanBeNormalized__9CVector3fCFv +/* 802D2260 002CF1C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D2264 002CF1C4 41 82 00 98 */ beq lbl_802D22FC +/* 802D2268 002CF1C8 38 61 00 08 */ addi r3, r1, 8 +/* 802D226C 002CF1CC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D2270 002CF1D0 48 04 25 E1 */ bl AsNormalized__9CVector3fCFv +/* 802D2274 002CF1D4 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 802D2278 002CF1D8 3C 00 43 30 */ lis r0, 0x4330 +/* 802D227C 002CF1DC 90 61 00 94 */ stw r3, 0x94(r1) +/* 802D2280 002CF1E0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D2284 002CF1E4 C0 C1 00 08 */ lfs f6, 8(r1) +/* 802D2288 002CF1E8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D228C 002CF1EC 90 01 00 90 */ stw r0, 0x90(r1) +/* 802D2290 002CF1F0 38 BD 00 44 */ addi r5, r29, 0x44 +/* 802D2294 002CF1F4 C8 22 C4 E8 */ lfd f1, lbl_805AE208@sda21(r2) +/* 802D2298 002CF1F8 38 DD 00 3C */ addi r6, r29, 0x3c +/* 802D229C 002CF1FC C8 01 00 90 */ lfd f0, 0x90(r1) +/* 802D22A0 002CF200 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802D22A4 002CF204 C0 62 C4 BC */ lfs f3, lbl_805AE1DC@sda21(r2) +/* 802D22A8 002CF208 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D22AC 002CF20C C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 802D22B0 002CF210 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 802D22B4 002CF214 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802D22B8 002CF218 EC 63 00 24 */ fdivs f3, f3, f0 +/* 802D22BC 002CF21C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D22C0 002CF220 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802D22C4 002CF224 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D22C8 002CF228 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 802D22CC 002CF22C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802D22D0 002CF230 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 802D22D4 002CF234 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 802D22D8 002CF238 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802D22DC 002CF23C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D22E0 002CF240 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D22E4 002CF244 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D22E8 002CF248 4B FF C1 61 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D22EC 002CF24C 7C 64 1B 78 */ mr r4, r3 +/* 802D22F0 002CF250 7F 83 E3 78 */ mr r3, r28 +/* 802D22F4 002CF254 38 A0 00 00 */ li r5, 0 +/* 802D22F8 002CF258 4B EB 33 29 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D22FC: +/* 802D22FC 002CF25C 3B DD 00 04 */ addi r30, r29, 4 +/* 802D2300 002CF260 3B A0 00 00 */ li r29, 0 +/* 802D2304 002CF264 48 00 00 1C */ b lbl_802D2320 +lbl_802D2308: +/* 802D2308 002CF268 7F 83 E3 78 */ mr r3, r28 +/* 802D230C 002CF26C 7F C4 F3 78 */ mr r4, r30 +/* 802D2310 002CF270 38 A0 00 00 */ li r5, 0 +/* 802D2314 002CF274 4B EB 33 0D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D2318 002CF278 3B DE 00 60 */ addi r30, r30, 0x60 +/* 802D231C 002CF27C 3B BD 00 01 */ addi r29, r29, 1 +lbl_802D2320: +/* 802D2320 002CF280 7C 1D F8 00 */ cmpw r29, r31 +/* 802D2324 002CF284 41 80 FF E4 */ blt lbl_802D2308 +/* 802D2328 002CF288 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802D232C 002CF28C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802D2330 002CF290 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802D2334 002CF294 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 802D2338 002CF298 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 802D233C 002CF29C 7C 08 03 A6 */ mtlr r0 +/* 802D2340 002CF2A0 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802D2344 002CF2A4 4E 80 00 20 */ blr + +.global FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList +FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList: +/* 802D2348 002CF2A8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802D234C 002CF2AC 7C 08 02 A6 */ mflr r0 +/* 802D2350 002CF2B0 90 01 00 74 */ stw r0, 0x74(r1) +/* 802D2354 002CF2B4 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802D2358 002CF2B8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802D235C 002CF2BC DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802D2360 002CF2C0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802D2364 002CF2C4 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802D2368 002CF2C8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802D236C 002CF2CC DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802D2370 002CF2D0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802D2374 002CF2D4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D2378 002CF2D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D237C 002CF2DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D2380 002CF2E0 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D2384 002CF2E4 7C 7E 1B 78 */ mr r30, r3 +/* 802D2388 002CF2E8 7C 9C 23 78 */ mr r28, r4 +/* 802D238C 002CF2EC 7C BD 2B 78 */ mr r29, r5 +/* 802D2390 002CF2F0 48 04 23 69 */ bl CanBeNormalized__9CVector3fCFv +/* 802D2394 002CF2F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D2398 002CF2F8 41 82 00 74 */ beq lbl_802D240C +/* 802D239C 002CF2FC 7F C4 F3 78 */ mr r4, r30 +/* 802D23A0 002CF300 38 61 00 08 */ addi r3, r1, 8 +/* 802D23A4 002CF304 48 04 24 AD */ bl AsNormalized__9CVector3fCFv +/* 802D23A8 002CF308 C3 C1 00 08 */ lfs f30, 8(r1) +/* 802D23AC 002CF30C 3B FC 00 04 */ addi r31, r28, 4 +/* 802D23B0 002CF310 C3 A1 00 0C */ lfs f29, 0xc(r1) +/* 802D23B4 002CF314 3B C0 00 00 */ li r30, 0 +/* 802D23B8 002CF318 C3 81 00 10 */ lfs f28, 0x10(r1) +/* 802D23BC 002CF31C C3 E2 C4 F0 */ lfs f31, lbl_805AE210@sda21(r2) +/* 802D23C0 002CF320 48 00 00 3C */ b lbl_802D23FC +lbl_802D23C4: +/* 802D23C4 002CF324 C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 802D23C8 002CF328 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 802D23CC 002CF32C EC 1D 00 32 */ fmuls f0, f29, f0 +/* 802D23D0 002CF330 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 802D23D4 002CF334 EC 1E 00 7A */ fmadds f0, f30, f1, f0 +/* 802D23D8 002CF338 EC 1C 00 BA */ fmadds f0, f28, f2, f0 +/* 802D23DC 002CF33C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802D23E0 002CF340 40 80 00 14 */ bge lbl_802D23F4 +/* 802D23E4 002CF344 7F A3 EB 78 */ mr r3, r29 +/* 802D23E8 002CF348 7F E4 FB 78 */ mr r4, r31 +/* 802D23EC 002CF34C 38 A0 00 00 */ li r5, 0 +/* 802D23F0 002CF350 4B EB 32 31 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D23F4: +/* 802D23F4 002CF354 3B FF 00 60 */ addi r31, r31, 0x60 +/* 802D23F8 002CF358 3B DE 00 01 */ addi r30, r30, 1 +lbl_802D23FC: +/* 802D23FC 002CF35C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802D2400 002CF360 7C 1E 00 00 */ cmpw r30, r0 +/* 802D2404 002CF364 41 80 FF C0 */ blt lbl_802D23C4 +/* 802D2408 002CF368 48 00 00 10 */ b lbl_802D2418 +lbl_802D240C: +/* 802D240C 002CF36C 7F A3 EB 78 */ mr r3, r29 +/* 802D2410 002CF370 7F 84 E3 78 */ mr r4, r28 +/* 802D2414 002CF374 4B E1 EF 15 */ bl __as__18CCollisionInfoListFRC18CCollisionInfoList +lbl_802D2418: +/* 802D2418 002CF378 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802D241C 002CF37C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802D2420 002CF380 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802D2424 002CF384 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802D2428 002CF388 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802D242C 002CF38C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802D2430 002CF390 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 802D2434 002CF394 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 802D2438 002CF398 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D243C 002CF39C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D2440 002CF3A0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D2444 002CF3A4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802D2448 002CF3A8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D244C 002CF3AC 7C 08 03 A6 */ mtlr r0 +/* 802D2450 002CF3B0 38 21 00 70 */ addi r1, r1, 0x70 +/* 802D2454 002CF3B4 4E 80 00 20 */ blr + +.global FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList +FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList: +/* 802D2458 002CF3B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D245C 002CF3BC 7C 08 02 A6 */ mflr r0 +/* 802D2460 002CF3C0 38 C4 00 04 */ addi r6, r4, 4 +/* 802D2464 002CF3C4 C0 A2 C4 F4 */ lfs f5, lbl_805AE214@sda21(r2) +/* 802D2468 002CF3C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D246C 002CF3CC 39 00 FF FF */ li r8, -1 +/* 802D2470 002CF3D0 38 E0 00 00 */ li r7, 0 +/* 802D2474 002CF3D4 80 04 00 00 */ lwz r0, 0(r4) +/* 802D2478 002CF3D8 7C 09 03 A6 */ mtctr r0 +/* 802D247C 002CF3DC 2C 00 00 00 */ cmpwi r0, 0 +/* 802D2480 002CF3E0 40 81 00 44 */ ble lbl_802D24C4 +lbl_802D2484: +/* 802D2484 002CF3E4 C0 26 00 4C */ lfs f1, 0x4c(r6) +/* 802D2488 002CF3E8 C0 03 00 04 */ lfs f0, 4(r3) +/* 802D248C 002CF3EC C0 46 00 48 */ lfs f2, 0x48(r6) +/* 802D2490 002CF3F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802D2494 002CF3F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 802D2498 002CF3F8 C0 86 00 50 */ lfs f4, 0x50(r6) +/* 802D249C 002CF3FC C0 63 00 08 */ lfs f3, 8(r3) +/* 802D24A0 002CF400 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802D24A4 002CF404 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 802D24A8 002CF408 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D24AC 002CF40C 40 81 00 0C */ ble lbl_802D24B8 +/* 802D24B0 002CF410 FC A0 00 90 */ fmr f5, f0 +/* 802D24B4 002CF414 7C E8 3B 78 */ mr r8, r7 +lbl_802D24B8: +/* 802D24B8 002CF418 38 C6 00 60 */ addi r6, r6, 0x60 +/* 802D24BC 002CF41C 38 E7 00 01 */ addi r7, r7, 1 +/* 802D24C0 002CF420 42 00 FF C4 */ bdnz lbl_802D2484 +lbl_802D24C4: +/* 802D24C4 002CF424 2C 08 FF FF */ cmpwi r8, -1 +/* 802D24C8 002CF428 41 82 00 1C */ beq lbl_802D24E4 +/* 802D24CC 002CF42C 1C 08 00 60 */ mulli r0, r8, 0x60 +/* 802D24D0 002CF430 7C A3 2B 78 */ mr r3, r5 +/* 802D24D4 002CF434 38 A0 00 00 */ li r5, 0 +/* 802D24D8 002CF438 7C 84 02 14 */ add r4, r4, r0 +/* 802D24DC 002CF43C 38 84 00 04 */ addi r4, r4, 4 +/* 802D24E0 002CF440 4B EB 31 41 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D24E4: +/* 802D24E4 002CF444 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D24E8 002CF448 7C 08 03 A6 */ mtlr r0 +/* 802D24EC 002CF44C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D24F0 002CF450 4E 80 00 20 */ blr + +.global RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd +RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd: +/* 802D24F4 002CF454 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 802D24F8 002CF458 7C 08 02 A6 */ mflr r0 +/* 802D24FC 002CF45C 90 01 01 44 */ stw r0, 0x144(r1) +/* 802D2500 002CF460 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 802D2504 002CF464 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 802D2508 002CF468 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 802D250C 002CF46C F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 802D2510 002CF470 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 802D2514 002CF474 93 C1 01 18 */ stw r30, 0x118(r1) +/* 802D2518 002CF478 93 A1 01 14 */ stw r29, 0x114(r1) +/* 802D251C 002CF47C 93 81 01 10 */ stw r28, 0x110(r1) +/* 802D2520 002CF480 7C BE 2B 78 */ mr r30, r5 +/* 802D2524 002CF484 7C 7C 1B 78 */ mr r28, r3 +/* 802D2528 002CF488 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802D252C 002CF48C 7C 9D 23 78 */ mr r29, r4 +/* 802D2530 002CF490 C0 05 00 04 */ lfs f0, 4(r5) +/* 802D2534 002CF494 7C DF 33 78 */ mr r31, r6 +/* 802D2538 002CF498 C0 65 00 14 */ lfs f3, 0x14(r5) +/* 802D253C 002CF49C 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802D2540 002CF4A0 C0 45 00 08 */ lfs f2, 8(r5) +/* 802D2544 002CF4A4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D2548 002CF4A8 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 802D254C 002CF4AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D2550 002CF4B0 C0 05 00 00 */ lfs f0, 0(r5) +/* 802D2554 002CF4B4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D2558 002CF4B8 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802D255C 002CF4BC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D2560 002CF4C0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802D2564 002CF4C4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802D2568 002CF4C8 48 04 20 1D */ bl __ct__9CVector3dFRC9CVector3f +/* 802D256C 002CF4CC C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 802D2570 002CF4D0 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802D2574 002CF4D4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D2578 002CF4D8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D257C 002CF4DC C0 7E 00 20 */ lfs f3, 0x20(r30) +/* 802D2580 002CF4E0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D2584 002CF4E4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D2588 002CF4E8 C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 802D258C 002CF4EC C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D2590 002CF4F0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D2594 002CF4F4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802D2598 002CF4F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D259C 002CF4FC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802D25A0 002CF500 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D25A4 002CF504 48 04 1F E1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D25A8 002CF508 7F A4 EB 78 */ mr r4, r29 +/* 802D25AC 002CF50C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802D25B0 002CF510 48 04 1F D5 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D25B4 002CF514 7C 64 1B 78 */ mr r4, r3 +/* 802D25B8 002CF518 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D25BC 002CF51C 38 A1 00 D8 */ addi r5, r1, 0xd8 +/* 802D25C0 002CF520 48 04 1E 5D */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D25C4 002CF524 C8 41 00 78 */ lfd f2, 0x78(r1) +/* 802D25C8 002CF528 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802D25CC 002CF52C C8 21 00 80 */ lfd f1, 0x80(r1) +/* 802D25D0 002CF530 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802D25D4 002CF534 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 802D25D8 002CF538 D8 41 00 C0 */ stfd f2, 0xc0(r1) +/* 802D25DC 002CF53C D8 21 00 C8 */ stfd f1, 0xc8(r1) +/* 802D25E0 002CF540 D8 01 00 D0 */ stfd f0, 0xd0(r1) +/* 802D25E4 002CF544 48 04 1E 89 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D25E8 002CF548 FF C0 08 90 */ fmr f30, f1 +/* 802D25EC 002CF54C C8 02 C4 F8 */ lfd f0, lbl_805AE218@sda21(r2) +/* 802D25F0 002CF550 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802D25F4 002CF554 40 80 00 0C */ bge lbl_802D2600 +/* 802D25F8 002CF558 38 60 00 00 */ li r3, 0 +/* 802D25FC 002CF55C 48 00 01 10 */ b lbl_802D270C +lbl_802D2600: +/* 802D2600 002CF560 C0 3C 00 04 */ lfs f1, 4(r28) +/* 802D2604 002CF564 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802D2608 002CF568 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D260C 002CF56C 38 81 00 08 */ addi r4, r1, 8 +/* 802D2610 002CF570 C0 7C 00 08 */ lfs f3, 8(r28) +/* 802D2614 002CF574 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D2618 002CF578 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D261C 002CF57C C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D2620 002CF580 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D2624 002CF584 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D2628 002CF588 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802D262C 002CF58C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D2630 002CF590 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802D2634 002CF594 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D2638 002CF598 48 04 1F 4D */ bl __ct__9CVector3dFRC9CVector3f +/* 802D263C 002CF59C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802D2640 002CF5A0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802D2644 002CF5A4 48 04 1E 29 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D2648 002CF5A8 FF E0 08 90 */ fmr f31, f1 +/* 802D264C 002CF5AC C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D2650 002CF5B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802D2654 002CF5B4 41 80 00 0C */ blt lbl_802D2660 +/* 802D2658 002CF5B8 FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 802D265C 002CF5BC 40 81 00 0C */ ble lbl_802D2668 +lbl_802D2660: +/* 802D2660 002CF5C0 38 60 00 00 */ li r3, 0 +/* 802D2664 002CF5C4 48 00 00 A8 */ b lbl_802D270C +lbl_802D2668: +/* 802D2668 002CF5C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 802D266C 002CF5CC 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802D2670 002CF5D0 38 A1 00 F0 */ addi r5, r1, 0xf0 +/* 802D2674 002CF5D4 48 04 1D A9 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D2678 002CF5D8 C8 41 00 48 */ lfd f2, 0x48(r1) +/* 802D267C 002CF5DC 7F A4 EB 78 */ mr r4, r29 +/* 802D2680 002CF5E0 C8 21 00 50 */ lfd f1, 0x50(r1) +/* 802D2684 002CF5E4 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D2688 002CF5E8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D268C 002CF5EC D8 41 00 90 */ stfd f2, 0x90(r1) +/* 802D2690 002CF5F0 D8 21 00 98 */ stfd f1, 0x98(r1) +/* 802D2694 002CF5F4 D8 01 00 A0 */ stfd f0, 0xa0(r1) +/* 802D2698 002CF5F8 48 04 1E ED */ bl __ct__9CVector3dFRC9CVector3f +/* 802D269C 002CF5FC 7C 64 1B 78 */ mr r4, r3 +/* 802D26A0 002CF600 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D26A4 002CF604 48 04 1D C9 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D26A8 002CF608 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D26AC 002CF60C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D26B0 002CF610 41 80 00 10 */ blt lbl_802D26C0 +/* 802D26B4 002CF614 FC 1F 08 2A */ fadd f0, f31, f1 +/* 802D26B8 002CF618 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 802D26BC 002CF61C 40 81 00 0C */ ble lbl_802D26C8 +lbl_802D26C0: +/* 802D26C0 002CF620 38 60 00 00 */ li r3, 0 +/* 802D26C4 002CF624 48 00 00 48 */ b lbl_802D270C +lbl_802D26C8: +/* 802D26C8 002CF628 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D26CC 002CF62C 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 802D26D0 002CF630 48 04 1D 9D */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D26D4 002CF634 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D26D8 002CF638 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D26DC 002CF63C FC 42 F0 24 */ fdiv f2, f2, f30 +/* 802D26E0 002CF640 FC 22 00 72 */ fmul f1, f2, f1 +/* 802D26E4 002CF644 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D26E8 002CF648 41 80 00 14 */ blt lbl_802D26FC +/* 802D26EC 002CF64C C8 1F 00 00 */ lfd f0, 0(r31) +/* 802D26F0 002CF650 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D26F4 002CF654 4C 41 13 82 */ cror 2, 1, 2 +/* 802D26F8 002CF658 40 82 00 0C */ bne lbl_802D2704 +lbl_802D26FC: +/* 802D26FC 002CF65C 38 60 00 00 */ li r3, 0 +/* 802D2700 002CF660 48 00 00 0C */ b lbl_802D270C +lbl_802D2704: +/* 802D2704 002CF664 D8 3F 00 00 */ stfd f1, 0(r31) +/* 802D2708 002CF668 38 60 00 01 */ li r3, 1 +lbl_802D270C: +/* 802D270C 002CF66C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 802D2710 002CF670 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 802D2714 002CF674 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 802D2718 002CF678 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 802D271C 002CF67C 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 802D2720 002CF680 83 C1 01 18 */ lwz r30, 0x118(r1) +/* 802D2724 002CF684 83 A1 01 14 */ lwz r29, 0x114(r1) +/* 802D2728 002CF688 80 01 01 44 */ lwz r0, 0x144(r1) +/* 802D272C 002CF68C 83 81 01 10 */ lwz r28, 0x110(r1) +/* 802D2730 002CF690 7C 08 03 A6 */ mtlr r0 +/* 802D2734 002CF694 38 21 01 40 */ addi r1, r1, 0x140 +/* 802D2738 002CF698 4E 80 00 20 */ blr + +.global RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf +RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf: +/* 802D273C 002CF69C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802D2740 002CF6A0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802D2744 002CF6A4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802D2748 002CF6A8 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802D274C 002CF6AC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802D2750 002CF6B0 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802D2754 002CF6B4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802D2758 002CF6B8 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802D275C 002CF6BC F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802D2760 002CF6C0 DB 61 00 20 */ stfd f27, 0x20(r1) +/* 802D2764 002CF6C4 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 +/* 802D2768 002CF6C8 DB 41 00 10 */ stfd f26, 0x10(r1) +/* 802D276C 002CF6CC F3 41 00 18 */ psq_st f26, 24(r1), 0, qr0 +/* 802D2770 002CF6D0 C0 65 00 08 */ lfs f3, 8(r5) +/* 802D2774 002CF6D4 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802D2778 002CF6D8 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 802D277C 002CF6DC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D2780 002CF6E0 C0 A4 00 00 */ lfs f5, 0(r4) +/* 802D2784 002CF6E4 C3 A5 00 00 */ lfs f29, 0(r5) +/* 802D2788 002CF6E8 ED 41 18 28 */ fsubs f10, f1, f3 +/* 802D278C 002CF6EC C0 25 00 18 */ lfs f1, 0x18(r5) +/* 802D2790 002CF6F0 C3 C5 00 04 */ lfs f30, 4(r5) +/* 802D2794 002CF6F4 C0 85 00 1C */ lfs f4, 0x1c(r5) +/* 802D2798 002CF6F8 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 802D279C 002CF6FC C0 E5 00 10 */ lfs f7, 0x10(r5) +/* 802D27A0 002CF700 EC 40 01 72 */ fmuls f2, f0, f5 +/* 802D27A4 002CF704 C0 C4 00 08 */ lfs f6, 8(r4) +/* 802D27A8 002CF708 ED A4 F0 28 */ fsubs f13, f4, f30 +/* 802D27AC 002CF70C C1 25 00 0C */ lfs f9, 0xc(r5) +/* 802D27B0 002CF710 C0 84 00 04 */ lfs f4, 4(r4) +/* 802D27B4 002CF714 ED 67 F0 28 */ fsubs f11, f7, f30 +/* 802D27B8 002CF718 EF 66 10 78 */ fmsubs f27, f6, f1, f2 +/* 802D27BC 002CF71C C0 E2 C5 00 */ lfs f7, lbl_805AE220@sda21(r2) +/* 802D27C0 002CF720 EC 4D 01 B2 */ fmuls f2, f13, f6 +/* 802D27C4 002CF724 ED 01 01 32 */ fmuls f8, f1, f4 +/* 802D27C8 002CF728 ED 89 E8 28 */ fsubs f12, f9, f29 +/* 802D27CC 002CF72C EF 84 10 38 */ fmsubs f28, f4, f0, f2 +/* 802D27D0 002CF730 EC 4B 06 F2 */ fmuls f2, f11, f27 +/* 802D27D4 002CF734 EF 45 43 78 */ fmsubs f26, f5, f13, f8 +/* 802D27D8 002CF738 EC 4C 17 3A */ fmadds f2, f12, f28, f2 +/* 802D27DC 002CF73C EC 4A 16 BA */ fmadds f2, f10, f26, f2 +/* 802D27E0 002CF740 FC 02 38 40 */ fcmpo cr0, f2, f7 +/* 802D27E4 002CF744 40 80 00 0C */ bge lbl_802D27F0 +/* 802D27E8 002CF748 38 60 00 00 */ li r3, 0 +/* 802D27EC 002CF74C 48 00 00 C4 */ b lbl_802D28B0 +lbl_802D27F0: +/* 802D27F0 002CF750 C0 E3 00 04 */ lfs f7, 4(r3) +/* 802D27F4 002CF754 C1 03 00 00 */ lfs f8, 0(r3) +/* 802D27F8 002CF758 EF C7 F0 28 */ fsubs f30, f7, f30 +/* 802D27FC 002CF75C C0 E3 00 08 */ lfs f7, 8(r3) +/* 802D2800 002CF760 EF A8 E8 28 */ fsubs f29, f8, f29 +/* 802D2804 002CF764 C1 22 C4 B8 */ lfs f9, lbl_805AE1D8@sda21(r2) +/* 802D2808 002CF768 EF E7 18 28 */ fsubs f31, f7, f3 +/* 802D280C 002CF76C EC 7E 06 F2 */ fmuls f3, f30, f27 +/* 802D2810 002CF770 EC 7D 1F 3A */ fmadds f3, f29, f28, f3 +/* 802D2814 002CF774 EF 5F 1E BA */ fmadds f26, f31, f26, f3 +/* 802D2818 002CF778 FC 1A 48 40 */ fcmpo cr0, f26, f9 +/* 802D281C 002CF77C 41 80 00 0C */ blt lbl_802D2828 +/* 802D2820 002CF780 FC 1A 10 40 */ fcmpo cr0, f26, f2 +/* 802D2824 002CF784 40 81 00 0C */ ble lbl_802D2830 +lbl_802D2828: +/* 802D2828 002CF788 38 60 00 00 */ li r3, 0 +/* 802D282C 002CF78C 48 00 00 84 */ b lbl_802D28B0 +lbl_802D2830: +/* 802D2830 002CF790 EC EA 07 72 */ fmuls f7, f10, f29 +/* 802D2834 002CF794 EC 6B 07 F2 */ fmuls f3, f11, f31 +/* 802D2838 002CF798 ED 0C 07 B2 */ fmuls f8, f12, f30 +/* 802D283C 002CF79C ED 9F 3B 38 */ fmsubs f12, f31, f12, f7 +/* 802D2840 002CF7A0 EC FE 1A B8 */ fmsubs f7, f30, f10, f3 +/* 802D2844 002CF7A4 ED 1D 42 F8 */ fmsubs f8, f29, f11, f8 +/* 802D2848 002CF7A8 EC 6C 01 32 */ fmuls f3, f12, f4 +/* 802D284C 002CF7AC EC 67 19 7A */ fmadds f3, f7, f5, f3 +/* 802D2850 002CF7B0 EC 68 19 BA */ fmadds f3, f8, f6, f3 +/* 802D2854 002CF7B4 FC 03 48 40 */ fcmpo cr0, f3, f9 +/* 802D2858 002CF7B8 41 80 00 10 */ blt lbl_802D2868 +/* 802D285C 002CF7BC EC 7A 18 2A */ fadds f3, f26, f3 +/* 802D2860 002CF7C0 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 802D2864 002CF7C4 40 81 00 0C */ ble lbl_802D2870 +lbl_802D2868: +/* 802D2868 002CF7C8 38 60 00 00 */ li r3, 0 +/* 802D286C 002CF7CC 48 00 00 44 */ b lbl_802D28B0 +lbl_802D2870: +/* 802D2870 002CF7D0 C0 82 C4 BC */ lfs f4, lbl_805AE1DC@sda21(r2) +/* 802D2874 002CF7D4 EC 6C 03 72 */ fmuls f3, f12, f13 +/* 802D2878 002CF7D8 EC 44 10 24 */ fdivs f2, f4, f2 +/* 802D287C 002CF7DC EC 27 18 7A */ fmadds f1, f7, f1, f3 +/* 802D2880 002CF7E0 EC 08 08 3A */ fmadds f0, f8, f0, f1 +/* 802D2884 002CF7E4 EC 22 00 32 */ fmuls f1, f2, f0 +/* 802D2888 002CF7E8 FC 01 48 40 */ fcmpo cr0, f1, f9 +/* 802D288C 002CF7EC 41 80 00 14 */ blt lbl_802D28A0 +/* 802D2890 002CF7F0 C0 06 00 00 */ lfs f0, 0(r6) +/* 802D2894 002CF7F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2898 002CF7F8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D289C 002CF7FC 40 82 00 0C */ bne lbl_802D28A8 +lbl_802D28A0: +/* 802D28A0 002CF800 38 60 00 00 */ li r3, 0 +/* 802D28A4 002CF804 48 00 00 0C */ b lbl_802D28B0 +lbl_802D28A8: +/* 802D28A8 002CF808 D0 26 00 00 */ stfs f1, 0(r6) +/* 802D28AC 002CF80C 38 60 00 01 */ li r3, 1 +lbl_802D28B0: +/* 802D28B0 002CF810 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802D28B4 002CF814 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802D28B8 002CF818 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802D28BC 002CF81C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802D28C0 002CF820 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802D28C4 002CF824 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802D28C8 002CF828 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 802D28CC 002CF82C CB 81 00 30 */ lfd f28, 0x30(r1) +/* 802D28D0 002CF830 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 +/* 802D28D4 002CF834 CB 61 00 20 */ lfd f27, 0x20(r1) +/* 802D28D8 002CF838 E3 41 00 18 */ psq_l f26, 24(r1), 0, qr0 +/* 802D28DC 002CF83C CB 41 00 10 */ lfd f26, 0x10(r1) +/* 802D28E0 002CF840 38 21 00 70 */ addi r1, r1, 0x70 +/* 802D28E4 002CF844 4E 80 00 20 */ blr + +.global AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere: +/* 802D28E8 002CF848 38 00 00 03 */ li r0, 3 +/* 802D28EC 002CF84C C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D28F0 002CF850 7C 85 23 78 */ mr r5, r4 +/* 802D28F4 002CF854 38 E3 00 0C */ addi r7, r3, 0xc +/* 802D28F8 002CF858 39 20 00 00 */ li r9, 0 +/* 802D28FC 002CF85C 38 C0 00 00 */ li r6, 0 +/* 802D2900 002CF860 39 00 00 01 */ li r8, 1 +/* 802D2904 002CF864 7C 09 03 A6 */ mtctr r0 +lbl_802D2908: +/* 802D2908 002CF868 C0 45 00 00 */ lfs f2, 0(r5) +/* 802D290C 002CF86C C0 63 00 00 */ lfs f3, 0(r3) +/* 802D2910 002CF870 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D2914 002CF874 40 80 00 3C */ bge lbl_802D2950 +/* 802D2918 002CF878 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D291C 002CF87C EC 02 00 2A */ fadds f0, f2, f0 +/* 802D2920 002CF880 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D2924 002CF884 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2928 002CF888 40 82 00 20 */ bne lbl_802D2948 +/* 802D292C 002CF88C EC 02 18 28 */ fsubs f0, f2, f3 +/* 802D2930 002CF890 38 00 00 01 */ li r0, 1 +/* 802D2934 002CF894 7C 00 30 30 */ slw r0, r0, r6 +/* 802D2938 002CF898 7D 29 03 78 */ or r9, r9, r0 +/* 802D293C 002CF89C EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2940 002CF8A0 EC 21 00 2A */ fadds f1, f1, f0 +/* 802D2944 002CF8A4 48 00 00 50 */ b lbl_802D2994 +lbl_802D2948: +/* 802D2948 002CF8A8 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) +/* 802D294C 002CF8AC 4E 80 00 20 */ blr +lbl_802D2950: +/* 802D2950 002CF8B0 C0 67 00 00 */ lfs f3, 0(r7) +/* 802D2954 002CF8B4 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D2958 002CF8B8 40 81 00 3C */ ble lbl_802D2994 +/* 802D295C 002CF8BC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2960 002CF8C0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802D2964 002CF8C4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D2968 002CF8C8 4C 40 13 82 */ cror 2, 0, 2 +/* 802D296C 002CF8CC 40 82 00 20 */ bne lbl_802D298C +/* 802D2970 002CF8D0 EC 02 18 28 */ fsubs f0, f2, f3 +/* 802D2974 002CF8D4 38 00 00 01 */ li r0, 1 +/* 802D2978 002CF8D8 7C 00 40 30 */ slw r0, r0, r8 +/* 802D297C 002CF8DC 7D 29 03 78 */ or r9, r9, r0 +/* 802D2980 002CF8E0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2984 002CF8E4 EC 21 00 2A */ fadds f1, f1, f0 +/* 802D2988 002CF8E8 48 00 00 0C */ b lbl_802D2994 +lbl_802D298C: +/* 802D298C 002CF8EC C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) +/* 802D2990 002CF8F0 4E 80 00 20 */ blr +lbl_802D2994: +/* 802D2994 002CF8F4 38 63 00 04 */ addi r3, r3, 4 +/* 802D2998 002CF8F8 38 A5 00 04 */ addi r5, r5, 4 +/* 802D299C 002CF8FC 38 C6 00 02 */ addi r6, r6, 2 +/* 802D29A0 002CF900 38 E7 00 04 */ addi r7, r7, 4 +/* 802D29A4 002CF904 39 08 00 02 */ addi r8, r8, 2 +/* 802D29A8 002CF908 42 00 FF 60 */ bdnz lbl_802D2908 +/* 802D29AC 002CF90C 2C 09 00 00 */ cmpwi r9, 0 +/* 802D29B0 002CF910 4D 82 00 20 */ beqlr +/* 802D29B4 002CF914 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D29B8 002CF918 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D29BC 002CF91C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D29C0 002CF920 4C 81 00 20 */ blelr +/* 802D29C4 002CF924 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) +/* 802D29C8 002CF928 4E 80 00 20 */ blr + +.global AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere +AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere: +/* 802D29CC 002CF92C 38 00 00 03 */ li r0, 3 +/* 802D29D0 002CF930 C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) +/* 802D29D4 002CF934 7C 85 23 78 */ mr r5, r4 +/* 802D29D8 002CF938 38 E3 00 0C */ addi r7, r3, 0xc +/* 802D29DC 002CF93C 39 20 00 00 */ li r9, 0 +/* 802D29E0 002CF940 38 C0 00 00 */ li r6, 0 +/* 802D29E4 002CF944 39 00 00 01 */ li r8, 1 +/* 802D29E8 002CF948 7C 09 03 A6 */ mtctr r0 +lbl_802D29EC: +/* 802D29EC 002CF94C C0 25 00 00 */ lfs f1, 0(r5) +/* 802D29F0 002CF950 C0 43 00 00 */ lfs f2, 0(r3) +/* 802D29F4 002CF954 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D29F8 002CF958 40 80 00 3C */ bge lbl_802D2A34 +/* 802D29FC 002CF95C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2A00 002CF960 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D2A04 002CF964 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D2A08 002CF968 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2A0C 002CF96C 40 82 00 20 */ bne lbl_802D2A2C +/* 802D2A10 002CF970 EC 01 10 28 */ fsubs f0, f1, f2 +/* 802D2A14 002CF974 38 00 00 01 */ li r0, 1 +/* 802D2A18 002CF978 7C 00 30 30 */ slw r0, r0, r6 +/* 802D2A1C 002CF97C 7D 29 03 78 */ or r9, r9, r0 +/* 802D2A20 002CF980 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2A24 002CF984 EC 63 00 2A */ fadds f3, f3, f0 +/* 802D2A28 002CF988 48 00 00 50 */ b lbl_802D2A78 +lbl_802D2A2C: +/* 802D2A2C 002CF98C 38 60 00 00 */ li r3, 0 +/* 802D2A30 002CF990 4E 80 00 20 */ blr +lbl_802D2A34: +/* 802D2A34 002CF994 C0 47 00 00 */ lfs f2, 0(r7) +/* 802D2A38 002CF998 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D2A3C 002CF99C 40 81 00 3C */ ble lbl_802D2A78 +/* 802D2A40 002CF9A0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2A44 002CF9A4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D2A48 002CF9A8 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D2A4C 002CF9AC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2A50 002CF9B0 40 82 00 20 */ bne lbl_802D2A70 +/* 802D2A54 002CF9B4 EC 01 10 28 */ fsubs f0, f1, f2 +/* 802D2A58 002CF9B8 38 00 00 01 */ li r0, 1 +/* 802D2A5C 002CF9BC 7C 00 40 30 */ slw r0, r0, r8 +/* 802D2A60 002CF9C0 7D 29 03 78 */ or r9, r9, r0 +/* 802D2A64 002CF9C4 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2A68 002CF9C8 EC 63 00 2A */ fadds f3, f3, f0 +/* 802D2A6C 002CF9CC 48 00 00 0C */ b lbl_802D2A78 +lbl_802D2A70: +/* 802D2A70 002CF9D0 38 60 00 00 */ li r3, 0 +/* 802D2A74 002CF9D4 4E 80 00 20 */ blr +lbl_802D2A78: +/* 802D2A78 002CF9D8 38 63 00 04 */ addi r3, r3, 4 +/* 802D2A7C 002CF9DC 38 A5 00 04 */ addi r5, r5, 4 +/* 802D2A80 002CF9E0 38 C6 00 02 */ addi r6, r6, 2 +/* 802D2A84 002CF9E4 38 E7 00 04 */ addi r7, r7, 4 +/* 802D2A88 002CF9E8 39 08 00 02 */ addi r8, r8, 2 +/* 802D2A8C 002CF9EC 42 00 FF 60 */ bdnz lbl_802D29EC +/* 802D2A90 002CF9F0 2C 09 00 00 */ cmpwi r9, 0 +/* 802D2A94 002CF9F4 40 82 00 0C */ bne lbl_802D2AA0 +/* 802D2A98 002CF9F8 38 60 00 01 */ li r3, 1 +/* 802D2A9C 002CF9FC 4E 80 00 20 */ blr +lbl_802D2AA0: +/* 802D2AA0 002CFA00 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2AA4 002CFA04 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2AA8 002CFA08 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2AAC 002CFA0C 7C 00 00 26 */ mfcr r0 +/* 802D2AB0 002CFA10 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D2AB4 002CFA14 7C 00 00 34 */ cntlzw r0, r0 +/* 802D2AB8 002CFA18 54 03 D9 7E */ srwi r3, r0, 5 +/* 802D2ABC 002CFA1C 4E 80 00 20 */ blr + +.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList +AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList: +/* 802D2AC0 002CFA20 94 21 FD E0 */ stwu r1, -0x220(r1) +/* 802D2AC4 002CFA24 7C 08 02 A6 */ mflr r0 +/* 802D2AC8 002CFA28 90 01 02 24 */ stw r0, 0x224(r1) +/* 802D2ACC 002CFA2C BF 21 02 04 */ stmw r25, 0x204(r1) +/* 802D2AD0 002CFA30 7C 7C 1B 78 */ mr r28, r3 +/* 802D2AD4 002CFA34 7C BB 2B 78 */ mr r27, r5 +/* 802D2AD8 002CFA38 7C 9D 23 78 */ mr r29, r4 +/* 802D2ADC 002CFA3C 7C DE 33 78 */ mr r30, r6 +/* 802D2AE0 002CFA40 7C FF 3B 78 */ mr r31, r7 +/* 802D2AE4 002CFA44 C0 05 00 08 */ lfs f0, 8(r5) +/* 802D2AE8 002CFA48 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D2AEC 002CFA4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2AF0 002CFA50 40 81 00 08 */ ble lbl_802D2AF8 +/* 802D2AF4 002CFA54 48 00 00 08 */ b lbl_802D2AFC +lbl_802D2AF8: +/* 802D2AF8 002CFA58 FC 20 00 90 */ fmr f1, f0 +lbl_802D2AFC: +/* 802D2AFC 002CFA5C C0 1B 00 04 */ lfs f0, 4(r27) +/* 802D2B00 002CFA60 C0 5C 00 04 */ lfs f2, 4(r28) +/* 802D2B04 002CFA64 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2B08 002CFA68 40 81 00 08 */ ble lbl_802D2B10 +/* 802D2B0C 002CFA6C 48 00 00 08 */ b lbl_802D2B14 +lbl_802D2B10: +/* 802D2B10 002CFA70 FC 40 00 90 */ fmr f2, f0 +lbl_802D2B14: +/* 802D2B14 002CFA74 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802D2B18 002CFA78 C0 7C 00 00 */ lfs f3, 0(r28) +/* 802D2B1C 002CFA7C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2B20 002CFA80 40 81 00 08 */ ble lbl_802D2B28 +/* 802D2B24 002CFA84 48 00 00 08 */ b lbl_802D2B2C +lbl_802D2B28: +/* 802D2B28 002CFA88 FC 60 00 90 */ fmr f3, f0 +lbl_802D2B2C: +/* 802D2B2C 002CFA8C C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802D2B30 002CFA90 C0 9C 00 14 */ lfs f4, 0x14(r28) +/* 802D2B34 002CFA94 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802D2B38 002CFA98 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D2B3C 002CFA9C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802D2B40 002CFAA0 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802D2B44 002CFAA4 40 80 00 08 */ bge lbl_802D2B4C +/* 802D2B48 002CFAA8 48 00 00 08 */ b lbl_802D2B50 +lbl_802D2B4C: +/* 802D2B4C 002CFAAC FC 80 00 90 */ fmr f4, f0 +lbl_802D2B50: +/* 802D2B50 002CFAB0 C0 1B 00 10 */ lfs f0, 0x10(r27) +/* 802D2B54 002CFAB4 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 802D2B58 002CFAB8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2B5C 002CFABC 40 80 00 08 */ bge lbl_802D2B64 +/* 802D2B60 002CFAC0 48 00 00 08 */ b lbl_802D2B68 +lbl_802D2B64: +/* 802D2B64 002CFAC4 FC 40 00 90 */ fmr f2, f0 +lbl_802D2B68: +/* 802D2B68 002CFAC8 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 802D2B6C 002CFACC C0 7C 00 0C */ lfs f3, 0xc(r28) +/* 802D2B70 002CFAD0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2B74 002CFAD4 40 80 00 08 */ bge lbl_802D2B7C +/* 802D2B78 002CFAD8 48 00 00 08 */ b lbl_802D2B80 +lbl_802D2B7C: +/* 802D2B7C 002CFADC FC 60 00 90 */ fmr f3, f0 +lbl_802D2B80: +/* 802D2B80 002CFAE0 FC 00 18 18 */ frsp f0, f3 +/* 802D2B84 002CFAE4 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D2B88 002CFAE8 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D2B8C 002CFAEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2B90 002CFAF0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D2B94 002CFAF4 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 802D2B98 002CFAF8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2B9C 002CFAFC 41 82 00 2C */ beq lbl_802D2BC8 +/* 802D2BA0 002CFB00 FC 00 10 18 */ frsp f0, f2 +/* 802D2BA4 002CFB04 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802D2BA8 002CFB08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2BAC 002CFB0C 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2BB0 002CFB10 41 82 00 18 */ beq lbl_802D2BC8 +/* 802D2BB4 002CFB14 FC 00 20 18 */ frsp f0, f4 +/* 802D2BB8 002CFB18 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802D2BBC 002CFB1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2BC0 002CFB20 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2BC4 002CFB24 40 82 00 0C */ bne lbl_802D2BD0 +lbl_802D2BC8: +/* 802D2BC8 002CFB28 38 60 00 00 */ li r3, 0 +/* 802D2BCC 002CFB2C 48 00 02 DC */ b lbl_802D2EA8 +lbl_802D2BD0: +/* 802D2BD0 002CFB30 38 61 00 5C */ addi r3, r1, 0x5c +/* 802D2BD4 002CFB34 38 81 00 44 */ addi r4, r1, 0x44 +/* 802D2BD8 002CFB38 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802D2BDC 002CFB3C 48 06 59 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D2BE0 002CFB40 C0 3B 00 00 */ lfs f1, 0(r27) +/* 802D2BE4 002CFB44 C0 7C 00 00 */ lfs f3, 0(r28) +/* 802D2BE8 002CFB48 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 802D2BEC 002CFB4C FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2BF0 002CFB50 C0 5C 00 0C */ lfs f2, 0xc(r28) +/* 802D2BF4 002CFB54 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2BF8 002CFB58 7C A0 00 26 */ mfcr r5 +/* 802D2BFC 002CFB5C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2C00 002CFB60 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C04 002CFB64 7C 80 00 26 */ mfcr r4 +/* 802D2C08 002CFB68 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2C0C 002CFB6C 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C10 002CFB70 7C 60 00 26 */ mfcr r3 +/* 802D2C14 002CFB74 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D2C18 002CFB78 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C1C 002CFB7C 7C 00 00 26 */ mfcr r0 +/* 802D2C20 002CFB80 C0 3B 00 04 */ lfs f1, 4(r27) +/* 802D2C24 002CFB84 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D2C28 002CFB88 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d +/* 802D2C2C 002CFB8C 50 60 37 38 */ rlwimi r0, r3, 6, 0x1c, 0x1c +/* 802D2C30 002CFB90 C0 1B 00 10 */ lfs f0, 0x10(r27) +/* 802D2C34 002CFB94 50 80 27 BC */ rlwimi r0, r4, 4, 0x1e, 0x1e +/* 802D2C38 002CFB98 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2C3C 002CFB9C 50 A0 1F FE */ rlwimi r0, r5, 3, 0x1f, 0x1f +/* 802D2C40 002CFBA0 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 802D2C44 002CFBA4 90 01 00 50 */ stw r0, 0x50(r1) +/* 802D2C48 002CFBA8 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C4C 002CFBAC 7C A0 00 26 */ mfcr r5 +/* 802D2C50 002CFBB0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2C54 002CFBB4 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C58 002CFBB8 7C 80 00 26 */ mfcr r4 +/* 802D2C5C 002CFBBC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2C60 002CFBC0 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C64 002CFBC4 7C 60 00 26 */ mfcr r3 +/* 802D2C68 002CFBC8 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D2C6C 002CFBCC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C70 002CFBD0 7C 00 00 26 */ mfcr r0 +/* 802D2C74 002CFBD4 C0 3B 00 08 */ lfs f1, 8(r27) +/* 802D2C78 002CFBD8 C0 7C 00 08 */ lfs f3, 8(r28) +/* 802D2C7C 002CFBDC 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d +/* 802D2C80 002CFBE0 50 60 37 38 */ rlwimi r0, r3, 6, 0x1c, 0x1c +/* 802D2C84 002CFBE4 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802D2C88 002CFBE8 50 80 27 BC */ rlwimi r0, r4, 4, 0x1e, 0x1e +/* 802D2C8C 002CFBEC FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2C90 002CFBF0 50 A0 1F FE */ rlwimi r0, r5, 3, 0x1f, 0x1f +/* 802D2C94 002CFBF4 C0 5C 00 14 */ lfs f2, 0x14(r28) +/* 802D2C98 002CFBF8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D2C9C 002CFBFC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CA0 002CFC00 7C C0 00 26 */ mfcr r6 +/* 802D2CA4 002CFC04 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2CA8 002CFC08 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CAC 002CFC0C 7C A0 00 26 */ mfcr r5 +/* 802D2CB0 002CFC10 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2CB4 002CFC14 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CB8 002CFC18 7C 80 00 26 */ mfcr r4 +/* 802D2CBC 002CFC1C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D2CC0 002CFC20 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CC4 002CFC24 7C 00 00 26 */ mfcr r0 +/* 802D2CC8 002CFC28 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2CCC 002CFC2C 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d +/* 802D2CD0 002CFC30 3B 81 00 50 */ addi r28, r1, 0x50 +/* 802D2CD4 002CFC34 50 80 37 38 */ rlwimi r0, r4, 6, 0x1c, 0x1c +/* 802D2CD8 002CFC38 3B 63 95 10 */ addi r27, r3, lbl_80479510@l +/* 802D2CDC 002CFC3C 50 A0 27 BC */ rlwimi r0, r5, 4, 0x1e, 0x1e +/* 802D2CE0 002CFC40 3B 20 00 00 */ li r25, 0 +/* 802D2CE4 002CFC44 50 C0 1F FE */ rlwimi r0, r6, 3, 0x1f, 0x1f +/* 802D2CE8 002CFC48 3B 40 00 0C */ li r26, 0xc +/* 802D2CEC 002CFC4C 90 01 00 58 */ stw r0, 0x58(r1) +lbl_802D2CF0: +/* 802D2CF0 002CFC50 80 1C 00 00 */ lwz r0, 0(r28) +/* 802D2CF4 002CFC54 2C 00 00 0A */ cmpwi r0, 0xa +/* 802D2CF8 002CFC58 41 82 00 D8 */ beq lbl_802D2DD0 +/* 802D2CFC 002CFC5C 40 80 00 1C */ bge lbl_802D2D18 +/* 802D2D00 002CFC60 2C 00 00 03 */ cmpwi r0, 3 +/* 802D2D04 002CFC64 41 82 00 CC */ beq lbl_802D2DD0 +/* 802D2D08 002CFC68 40 80 00 C8 */ bge lbl_802D2DD0 +/* 802D2D0C 002CFC6C 2C 00 00 02 */ cmpwi r0, 2 +/* 802D2D10 002CFC70 40 80 00 14 */ bge lbl_802D2D24 +/* 802D2D14 002CFC74 48 00 00 BC */ b lbl_802D2DD0 +lbl_802D2D18: +/* 802D2D18 002CFC78 2C 00 00 0C */ cmpwi r0, 0xc +/* 802D2D1C 002CFC7C 40 80 00 B4 */ bge lbl_802D2DD0 +/* 802D2D20 002CFC80 48 00 00 60 */ b lbl_802D2D80 +lbl_802D2D24: +/* 802D2D24 002CFC84 C0 5B 00 0C */ lfs f2, 0xc(r27) +/* 802D2D28 002CFC88 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2D2C 002CFC8C C0 3B 00 10 */ lfs f1, 0x10(r27) +/* 802D2D30 002CFC90 38 03 95 10 */ addi r0, r3, lbl_80479510@l +/* 802D2D34 002CFC94 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802D2D38 002CFC98 FC 40 10 50 */ fneg f2, f2 +/* 802D2D3C 002CFC9C FC 20 08 50 */ fneg f1, f1 +/* 802D2D40 002CFCA0 7F A5 EB 78 */ mr r5, r29 +/* 802D2D44 002CFCA4 FC 00 00 50 */ fneg f0, f0 +/* 802D2D48 002CFCA8 7F C6 F3 78 */ mr r6, r30 +/* 802D2D4C 002CFCAC D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802D2D50 002CFCB0 38 61 01 98 */ addi r3, r1, 0x198 +/* 802D2D54 002CFCB4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802D2D58 002CFCB8 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2D5C 002CFCBC 7C E0 D2 14 */ add r7, r0, r26 +/* 802D2D60 002CFCC0 39 01 00 2C */ addi r8, r1, 0x2c +/* 802D2D64 002CFCC4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802D2D68 002CFCC8 4B FF B5 51 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2D6C 002CFCCC 7C 64 1B 78 */ mr r4, r3 +/* 802D2D70 002CFCD0 7F E3 FB 78 */ mr r3, r31 +/* 802D2D74 002CFCD4 38 A0 00 00 */ li r5, 0 +/* 802D2D78 002CFCD8 4B EB 28 A9 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D2D7C 002CFCDC 48 00 00 54 */ b lbl_802D2DD0 +lbl_802D2D80: +/* 802D2D80 002CFCE0 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802D2D84 002CFCE4 7F A5 EB 78 */ mr r5, r29 +/* 802D2D88 002CFCE8 C0 3B 00 04 */ lfs f1, 4(r27) +/* 802D2D8C 002CFCEC 7F C6 F3 78 */ mr r6, r30 +/* 802D2D90 002CFCF0 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802D2D94 002CFCF4 FC 40 10 50 */ fneg f2, f2 +/* 802D2D98 002CFCF8 FC 20 08 50 */ fneg f1, f1 +/* 802D2D9C 002CFCFC 7F 67 DB 78 */ mr r7, r27 +/* 802D2DA0 002CFD00 FC 00 00 50 */ fneg f0, f0 +/* 802D2DA4 002CFD04 38 61 01 38 */ addi r3, r1, 0x138 +/* 802D2DA8 002CFD08 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802D2DAC 002CFD0C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2DB0 002CFD10 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802D2DB4 002CFD14 39 01 00 20 */ addi r8, r1, 0x20 +/* 802D2DB8 002CFD18 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D2DBC 002CFD1C 4B FF B4 FD */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2DC0 002CFD20 7C 64 1B 78 */ mr r4, r3 +/* 802D2DC4 002CFD24 7F E3 FB 78 */ mr r3, r31 +/* 802D2DC8 002CFD28 38 A0 00 00 */ li r5, 0 +/* 802D2DCC 002CFD2C 4B EB 28 55 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D2DD0: +/* 802D2DD0 002CFD30 3B 39 00 01 */ addi r25, r25, 1 +/* 802D2DD4 002CFD34 3B 7B 00 18 */ addi r27, r27, 0x18 +/* 802D2DD8 002CFD38 2C 19 00 03 */ cmpwi r25, 3 +/* 802D2DDC 002CFD3C 3B 5A 00 18 */ addi r26, r26, 0x18 +/* 802D2DE0 002CFD40 3B 9C 00 04 */ addi r28, r28, 4 +/* 802D2DE4 002CFD44 41 80 FF 0C */ blt lbl_802D2CF0 +/* 802D2DE8 002CFD48 80 1F 00 00 */ lwz r0, 0(r31) +/* 802D2DEC 002CFD4C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D2DF0 002CFD50 40 82 00 B4 */ bne lbl_802D2EA4 +/* 802D2DF4 002CFD54 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2DF8 002CFD58 7F A5 EB 78 */ mr r5, r29 +/* 802D2DFC 002CFD5C 38 63 95 10 */ addi r3, r3, lbl_80479510@l +/* 802D2E00 002CFD60 7F C6 F3 78 */ mr r6, r30 +/* 802D2E04 002CFD64 C0 23 00 34 */ lfs f1, 0x34(r3) +/* 802D2E08 002CFD68 38 E3 00 30 */ addi r7, r3, 0x30 +/* 802D2E0C 002CFD6C C0 43 00 30 */ lfs f2, 0x30(r3) +/* 802D2E10 002CFD70 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2E14 002CFD74 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 802D2E18 002CFD78 FC 20 08 50 */ fneg f1, f1 +/* 802D2E1C 002CFD7C FC 40 10 50 */ fneg f2, f2 +/* 802D2E20 002CFD80 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802D2E24 002CFD84 FC 00 00 50 */ fneg f0, f0 +/* 802D2E28 002CFD88 39 01 00 14 */ addi r8, r1, 0x14 +/* 802D2E2C 002CFD8C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D2E30 002CFD90 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D2E34 002CFD94 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D2E38 002CFD98 4B FF B4 81 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2E3C 002CFD9C 7C 64 1B 78 */ mr r4, r3 +/* 802D2E40 002CFDA0 7F E3 FB 78 */ mr r3, r31 +/* 802D2E44 002CFDA4 38 A0 00 00 */ li r5, 0 +/* 802D2E48 002CFDA8 4B EB 27 D9 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D2E4C 002CFDAC 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2E50 002CFDB0 7F A5 EB 78 */ mr r5, r29 +/* 802D2E54 002CFDB4 38 63 95 10 */ addi r3, r3, lbl_80479510@l +/* 802D2E58 002CFDB8 7F C6 F3 78 */ mr r6, r30 +/* 802D2E5C 002CFDBC C0 23 00 40 */ lfs f1, 0x40(r3) +/* 802D2E60 002CFDC0 38 E3 00 3C */ addi r7, r3, 0x3c +/* 802D2E64 002CFDC4 C0 43 00 3C */ lfs f2, 0x3c(r3) +/* 802D2E68 002CFDC8 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2E6C 002CFDCC C0 03 00 44 */ lfs f0, 0x44(r3) +/* 802D2E70 002CFDD0 FC 20 08 50 */ fneg f1, f1 +/* 802D2E74 002CFDD4 FC 40 10 50 */ fneg f2, f2 +/* 802D2E78 002CFDD8 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D2E7C 002CFDDC FC 00 00 50 */ fneg f0, f0 +/* 802D2E80 002CFDE0 39 01 00 08 */ addi r8, r1, 8 +/* 802D2E84 002CFDE4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D2E88 002CFDE8 D0 41 00 08 */ stfs f2, 8(r1) +/* 802D2E8C 002CFDEC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D2E90 002CFDF0 4B FF B4 29 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2E94 002CFDF4 7C 64 1B 78 */ mr r4, r3 +/* 802D2E98 002CFDF8 7F E3 FB 78 */ mr r3, r31 +/* 802D2E9C 002CFDFC 38 A0 00 00 */ li r5, 0 +/* 802D2EA0 002CFE00 4B EB 27 81 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D2EA4: +/* 802D2EA4 002CFE04 38 60 00 01 */ li r3, 1 +lbl_802D2EA8: +/* 802D2EA8 002CFE08 BB 21 02 04 */ lmw r25, 0x204(r1) +/* 802D2EAC 002CFE0C 80 01 02 24 */ lwz r0, 0x224(r1) +/* 802D2EB0 002CFE10 7C 08 03 A6 */ mtlr r0 +/* 802D2EB4 002CFE14 38 21 02 20 */ addi r1, r1, 0x220 +/* 802D2EB8 002CFE18 4E 80 00 20 */ blr + +.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox +AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox: +/* 802D2EBC 002CFE1C C0 04 00 00 */ lfs f0, 0(r4) +/* 802D2EC0 002CFE20 C0 23 00 00 */ lfs f1, 0(r3) +/* 802D2EC4 002CFE24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2EC8 002CFE28 40 81 00 08 */ ble lbl_802D2ED0 +/* 802D2ECC 002CFE2C 48 00 00 08 */ b lbl_802D2ED4 +lbl_802D2ED0: +/* 802D2ED0 002CFE30 FC 20 00 90 */ fmr f1, f0 +lbl_802D2ED4: +/* 802D2ED4 002CFE34 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D2ED8 002CFE38 C0 43 00 04 */ lfs f2, 4(r3) +/* 802D2EDC 002CFE3C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2EE0 002CFE40 40 81 00 08 */ ble lbl_802D2EE8 +/* 802D2EE4 002CFE44 48 00 00 08 */ b lbl_802D2EEC +lbl_802D2EE8: +/* 802D2EE8 002CFE48 FC 40 00 90 */ fmr f2, f0 +lbl_802D2EEC: +/* 802D2EEC 002CFE4C C0 04 00 08 */ lfs f0, 8(r4) +/* 802D2EF0 002CFE50 C0 63 00 08 */ lfs f3, 8(r3) +/* 802D2EF4 002CFE54 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2EF8 002CFE58 40 81 00 08 */ ble lbl_802D2F00 +/* 802D2EFC 002CFE5C 48 00 00 08 */ b lbl_802D2F04 +lbl_802D2F00: +/* 802D2F00 002CFE60 FC 60 00 90 */ fmr f3, f0 +lbl_802D2F04: +/* 802D2F04 002CFE64 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2F08 002CFE68 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802D2F0C 002CFE6C FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D2F10 002CFE70 40 80 00 08 */ bge lbl_802D2F18 +/* 802D2F14 002CFE74 48 00 00 08 */ b lbl_802D2F1C +lbl_802D2F18: +/* 802D2F18 002CFE78 FC 80 00 90 */ fmr f4, f0 +lbl_802D2F1C: +/* 802D2F1C 002CFE7C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802D2F20 002CFE80 C0 A3 00 10 */ lfs f5, 0x10(r3) +/* 802D2F24 002CFE84 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802D2F28 002CFE88 40 80 00 08 */ bge lbl_802D2F30 +/* 802D2F2C 002CFE8C 48 00 00 08 */ b lbl_802D2F34 +lbl_802D2F30: +/* 802D2F30 002CFE90 FC A0 00 90 */ fmr f5, f0 +lbl_802D2F34: +/* 802D2F34 002CFE94 FC 01 20 40 */ fcmpo cr0, f1, f4 +/* 802D2F38 002CFE98 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802D2F3C 002CFE9C C0 23 00 14 */ lfs f1, 0x14(r3) +/* 802D2F40 002CFEA0 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2F44 002CFEA4 41 82 00 2C */ beq lbl_802D2F70 +/* 802D2F48 002CFEA8 FC 02 28 40 */ fcmpo cr0, f2, f5 +/* 802D2F4C 002CFEAC 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2F50 002CFEB0 41 82 00 20 */ beq lbl_802D2F70 +/* 802D2F54 002CFEB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2F58 002CFEB8 40 80 00 08 */ bge lbl_802D2F60 +/* 802D2F5C 002CFEBC 48 00 00 08 */ b lbl_802D2F64 +lbl_802D2F60: +/* 802D2F60 002CFEC0 FC 20 00 90 */ fmr f1, f0 +lbl_802D2F64: +/* 802D2F64 002CFEC4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2F68 002CFEC8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2F6C 002CFECC 40 82 00 0C */ bne lbl_802D2F78 +lbl_802D2F70: +/* 802D2F70 002CFED0 38 60 00 00 */ li r3, 0 +/* 802D2F74 002CFED4 4E 80 00 20 */ blr +lbl_802D2F78: +/* 802D2F78 002CFED8 38 60 00 01 */ li r3, 1 +/* 802D2F7C 002CFEDC 4E 80 00 20 */ blr + +.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf +RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf: +/* 802D2F80 002CFEE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D2F84 002CFEE4 38 00 00 03 */ li r0, 3 +/* 802D2F88 002CFEE8 C0 22 C4 CC */ lfs f1, lbl_805AE1EC@sda21(r2) +/* 802D2F8C 002CFEEC C0 43 00 00 */ lfs f2, 0(r3) +/* 802D2F90 002CFEF0 38 E1 00 08 */ addi r7, r1, 8 +/* 802D2F94 002CFEF4 C1 03 00 04 */ lfs f8, 4(r3) +/* 802D2F98 002CFEF8 39 01 00 14 */ addi r8, r1, 0x14 +/* 802D2F9C 002CFEFC C0 E3 00 08 */ lfs f7, 8(r3) +/* 802D2FA0 002CFF00 C0 C3 00 2C */ lfs f6, 0x2c(r3) +/* 802D2FA4 002CFF04 C0 A3 00 30 */ lfs f5, 0x30(r3) +/* 802D2FA8 002CFF08 C0 83 00 34 */ lfs f4, 0x34(r3) +/* 802D2FAC 002CFF0C 38 64 00 0C */ addi r3, r4, 0xc +/* 802D2FB0 002CFF10 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D2FB4 002CFF14 C0 02 C4 D0 */ lfs f0, lbl_805AE1F0@sda21(r2) +/* 802D2FB8 002CFF18 D0 25 00 00 */ stfs f1, 0(r5) +/* 802D2FBC 002CFF1C C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) +/* 802D2FC0 002CFF20 C0 42 C5 04 */ lfs f2, lbl_805AE224@sda21(r2) +/* 802D2FC4 002CFF24 D1 01 00 18 */ stfs f8, 0x18(r1) +/* 802D2FC8 002CFF28 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 802D2FCC 002CFF2C D0 C1 00 08 */ stfs f6, 8(r1) +/* 802D2FD0 002CFF30 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802D2FD4 002CFF34 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802D2FD8 002CFF38 D0 06 00 00 */ stfs f0, 0(r6) +/* 802D2FDC 002CFF3C 7C 09 03 A6 */ mtctr r0 +lbl_802D2FE0: +/* 802D2FE0 002CFF40 C0 C7 00 00 */ lfs f6, 0(r7) +/* 802D2FE4 002CFF44 C0 A8 00 00 */ lfs f5, 0(r8) +/* 802D2FE8 002CFF48 EC 06 18 28 */ fsubs f0, f6, f3 +/* 802D2FEC 002CFF4C C0 84 00 00 */ lfs f4, 0(r4) +/* 802D2FF0 002CFF50 C0 E3 00 00 */ lfs f7, 0(r3) +/* 802D2FF4 002CFF54 FC 00 02 10 */ fabs f0, f0 +/* 802D2FF8 002CFF58 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D2FFC 002CFF5C 40 80 00 1C */ bge lbl_802D3018 +/* 802D3000 002CFF60 FC 05 20 40 */ fcmpo cr0, f5, f4 +/* 802D3004 002CFF64 41 80 00 0C */ blt lbl_802D3010 +/* 802D3008 002CFF68 FC 05 38 40 */ fcmpo cr0, f5, f7 +/* 802D300C 002CFF6C 40 81 00 98 */ ble lbl_802D30A4 +lbl_802D3010: +/* 802D3010 002CFF70 38 60 00 00 */ li r3, 0 +/* 802D3014 002CFF74 48 00 00 C4 */ b lbl_802D30D8 +lbl_802D3018: +/* 802D3018 002CFF78 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D301C 002CFF7C 40 80 00 48 */ bge lbl_802D3064 +/* 802D3020 002CFF80 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D3024 002CFF84 EC E7 28 28 */ fsubs f7, f7, f5 +/* 802D3028 002CFF88 C0 05 00 00 */ lfs f0, 0(r5) +/* 802D302C 002CFF8C EC 84 28 28 */ fsubs f4, f4, f5 +/* 802D3030 002CFF90 EC 21 30 24 */ fdivs f1, f1, f6 +/* 802D3034 002CFF94 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D3038 002CFF98 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D303C 002CFF9C 40 80 00 0C */ bge lbl_802D3048 +/* 802D3040 002CFFA0 EC 07 00 72 */ fmuls f0, f7, f1 +/* 802D3044 002CFFA4 D0 05 00 00 */ stfs f0, 0(r5) +lbl_802D3048: +/* 802D3048 002CFFA8 C0 06 00 00 */ lfs f0, 0(r6) +/* 802D304C 002CFFAC EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D3050 002CFFB0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3054 002CFFB4 40 81 00 50 */ ble lbl_802D30A4 +/* 802D3058 002CFFB8 EC 04 00 72 */ fmuls f0, f4, f1 +/* 802D305C 002CFFBC D0 06 00 00 */ stfs f0, 0(r6) +/* 802D3060 002CFFC0 48 00 00 44 */ b lbl_802D30A4 +lbl_802D3064: +/* 802D3064 002CFFC4 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D3068 002CFFC8 EC 84 28 28 */ fsubs f4, f4, f5 +/* 802D306C 002CFFCC C0 05 00 00 */ lfs f0, 0(r5) +/* 802D3070 002CFFD0 EC A7 28 28 */ fsubs f5, f7, f5 +/* 802D3074 002CFFD4 EC 21 30 24 */ fdivs f1, f1, f6 +/* 802D3078 002CFFD8 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D307C 002CFFDC FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3080 002CFFE0 40 81 00 0C */ ble lbl_802D308C +/* 802D3084 002CFFE4 EC 04 00 72 */ fmuls f0, f4, f1 +/* 802D3088 002CFFE8 D0 05 00 00 */ stfs f0, 0(r5) +lbl_802D308C: +/* 802D308C 002CFFEC C0 06 00 00 */ lfs f0, 0(r6) +/* 802D3090 002CFFF0 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D3094 002CFFF4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802D3098 002CFFF8 40 80 00 0C */ bge lbl_802D30A4 +/* 802D309C 002CFFFC EC 05 00 72 */ fmuls f0, f5, f1 +/* 802D30A0 002D0000 D0 06 00 00 */ stfs f0, 0(r6) +lbl_802D30A4: +/* 802D30A4 002D0004 38 E7 00 04 */ addi r7, r7, 4 +/* 802D30A8 002D0008 39 08 00 04 */ addi r8, r8, 4 +/* 802D30AC 002D000C 38 84 00 04 */ addi r4, r4, 4 +/* 802D30B0 002D0010 38 63 00 04 */ addi r3, r3, 4 +/* 802D30B4 002D0014 42 00 FF 2C */ bdnz lbl_802D2FE0 +/* 802D30B8 002D0018 C0 25 00 00 */ lfs f1, 0(r5) +/* 802D30BC 002D001C C0 06 00 00 */ lfs f0, 0(r6) +/* 802D30C0 002D0020 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D30C4 002D0024 4C 40 13 82 */ cror 2, 0, 2 +/* 802D30C8 002D0028 40 82 00 0C */ bne lbl_802D30D4 +/* 802D30CC 002D002C 38 60 00 02 */ li r3, 2 +/* 802D30D0 002D0030 48 00 00 08 */ b lbl_802D30D8 +lbl_802D30D4: +/* 802D30D4 002D0034 38 60 00 00 */ li r3, 0 +lbl_802D30D8: +/* 802D30D8 002D0038 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D30DC 002D003C 4E 80 00 20 */ blr + +.global RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd +RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd: +/* 802D30E0 002D0040 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802D30E4 002D0044 7C 08 02 A6 */ mflr r0 +/* 802D30E8 002D0048 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802D30EC 002D004C DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 802D30F0 002D0050 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 802D30F4 002D0054 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 802D30F8 002D0058 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 802D30FC 002D005C DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 802D3100 002D0060 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 802D3104 002D0064 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 802D3108 002D0068 3C E0 80 3D */ lis r7, lbl_803D0004@ha +/* 802D310C 002D006C 7C 7B 1B 78 */ mr r27, r3 +/* 802D3110 002D0070 84 67 6A 68 */ lwzu r3, 0x6a68(r7) +/* 802D3114 002D0074 7C BE 2B 78 */ mr r30, r5 +/* 802D3118 002D0078 7C 9C 23 78 */ mr r28, r4 +/* 802D311C 002D007C 7C DF 33 78 */ mr r31, r6 +/* 802D3120 002D0080 80 A7 00 04 */ lwz r5, lbl_803D0004@l(r7) +/* 802D3124 002D0084 7F 64 DB 78 */ mr r4, r27 +/* 802D3128 002D0088 80 07 00 08 */ lwz r0, 8(r7) +/* 802D312C 002D008C 3B A0 00 01 */ li r29, 1 +/* 802D3130 002D0090 90 61 00 08 */ stw r3, 8(r1) +/* 802D3134 002D0094 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D3138 002D0098 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D313C 002D009C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3140 002D00A0 48 04 14 45 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3144 002D00A4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D3148 002D00A8 38 9B 00 18 */ addi r4, r27, 0x18 +/* 802D314C 002D00AC 48 04 14 39 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3150 002D00B0 3C 60 80 3D */ lis r3, lbl_803D6A78@ha +/* 802D3154 002D00B4 7F 84 E3 78 */ mr r4, r28 +/* 802D3158 002D00B8 38 A3 6A 78 */ addi r5, r3, lbl_803D6A78@l +/* 802D315C 002D00BC 38 61 00 48 */ addi r3, r1, 0x48 +/* 802D3160 002D00C0 C8 45 00 00 */ lfd f2, 0(r5) +/* 802D3164 002D00C4 C8 25 00 08 */ lfd f1, 8(r5) +/* 802D3168 002D00C8 C8 05 00 10 */ lfd f0, 0x10(r5) +/* 802D316C 002D00CC D8 41 00 60 */ stfd f2, 0x60(r1) +/* 802D3170 002D00D0 D8 21 00 68 */ stfd f1, 0x68(r1) +/* 802D3174 002D00D4 D8 01 00 70 */ stfd f0, 0x70(r1) +/* 802D3178 002D00D8 48 04 14 0D */ bl __ct__9CVector3dFRC9CVector3f +/* 802D317C 002D00DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D3180 002D00E0 38 9C 00 0C */ addi r4, r28, 0xc +/* 802D3184 002D00E4 48 04 14 01 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3188 002D00E8 C8 22 C4 A0 */ lfd f1, lbl_805AE1C0@sda21(r2) +/* 802D318C 002D00EC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D3190 002D00F0 FC 40 08 90 */ fmr f2, f1 +/* 802D3194 002D00F4 FC 60 08 90 */ fmr f3, f1 +/* 802D3198 002D00F8 48 04 14 09 */ bl __ct__9CVector3dFddd +/* 802D319C 002D00FC C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D31A0 002D0100 C8 41 00 78 */ lfd f2, 0x78(r1) +/* 802D31A4 002D0104 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D31A8 002D0108 41 82 01 24 */ beq lbl_802D32CC +/* 802D31AC 002D010C C8 61 00 80 */ lfd f3, 0x80(r1) +/* 802D31B0 002D0110 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 802D31B4 002D0114 41 82 01 18 */ beq lbl_802D32CC +/* 802D31B8 002D0118 C8 81 00 88 */ lfd f4, 0x88(r1) +/* 802D31BC 002D011C FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 802D31C0 002D0120 41 82 01 0C */ beq lbl_802D32CC +/* 802D31C4 002D0124 C8 21 00 90 */ lfd f1, 0x90(r1) +/* 802D31C8 002D0128 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802D31CC 002D012C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D31D0 002D0130 40 80 00 20 */ bge lbl_802D31F0 +/* 802D31D4 002D0134 FC 00 08 28 */ fsub f0, f0, f1 +/* 802D31D8 002D0138 38 00 00 01 */ li r0, 1 +/* 802D31DC 002D013C 90 01 00 08 */ stw r0, 8(r1) +/* 802D31E0 002D0140 3B A0 00 00 */ li r29, 0 +/* 802D31E4 002D0144 FC 00 10 24 */ fdiv f0, f0, f2 +/* 802D31E8 002D0148 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 802D31EC 002D014C 48 00 00 28 */ b lbl_802D3214 +lbl_802D31F0: +/* 802D31F0 002D0150 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802D31F4 002D0154 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D31F8 002D0158 40 81 00 1C */ ble lbl_802D3214 +/* 802D31FC 002D015C FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3200 002D0160 38 00 00 00 */ li r0, 0 +/* 802D3204 002D0164 90 01 00 08 */ stw r0, 8(r1) +/* 802D3208 002D0168 3B A0 00 00 */ li r29, 0 +/* 802D320C 002D016C FC 00 10 24 */ fdiv f0, f0, f2 +/* 802D3210 002D0170 D8 01 00 60 */ stfd f0, 0x60(r1) +lbl_802D3214: +/* 802D3214 002D0174 C8 21 00 98 */ lfd f1, 0x98(r1) +/* 802D3218 002D0178 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802D321C 002D017C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3220 002D0180 40 80 00 20 */ bge lbl_802D3240 +/* 802D3224 002D0184 FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3228 002D0188 38 00 00 01 */ li r0, 1 +/* 802D322C 002D018C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3230 002D0190 3B A0 00 00 */ li r29, 0 +/* 802D3234 002D0194 FC 00 18 24 */ fdiv f0, f0, f3 +/* 802D3238 002D0198 D8 01 00 68 */ stfd f0, 0x68(r1) +/* 802D323C 002D019C 48 00 00 28 */ b lbl_802D3264 +lbl_802D3240: +/* 802D3240 002D01A0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802D3244 002D01A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3248 002D01A8 40 81 00 1C */ ble lbl_802D3264 +/* 802D324C 002D01AC FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3250 002D01B0 38 00 00 00 */ li r0, 0 +/* 802D3254 002D01B4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3258 002D01B8 3B A0 00 00 */ li r29, 0 +/* 802D325C 002D01BC FC 00 18 24 */ fdiv f0, f0, f3 +/* 802D3260 002D01C0 D8 01 00 68 */ stfd f0, 0x68(r1) +lbl_802D3264: +/* 802D3264 002D01C4 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802D3268 002D01C8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D326C 002D01CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3270 002D01D0 40 80 00 20 */ bge lbl_802D3290 +/* 802D3274 002D01D4 FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3278 002D01D8 38 00 00 01 */ li r0, 1 +/* 802D327C 002D01DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3280 002D01E0 3B A0 00 00 */ li r29, 0 +/* 802D3284 002D01E4 FC 00 20 24 */ fdiv f0, f0, f4 +/* 802D3288 002D01E8 D8 01 00 70 */ stfd f0, 0x70(r1) +/* 802D328C 002D01EC 48 00 00 28 */ b lbl_802D32B4 +lbl_802D3290: +/* 802D3290 002D01F0 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802D3294 002D01F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3298 002D01F8 40 81 00 1C */ ble lbl_802D32B4 +/* 802D329C 002D01FC FC 00 08 28 */ fsub f0, f0, f1 +/* 802D32A0 002D0200 38 00 00 00 */ li r0, 0 +/* 802D32A4 002D0204 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D32A8 002D0208 3B A0 00 00 */ li r29, 0 +/* 802D32AC 002D020C FC 00 20 24 */ fdiv f0, f0, f4 +/* 802D32B0 002D0210 D8 01 00 70 */ stfd f0, 0x70(r1) +lbl_802D32B4: +/* 802D32B4 002D0214 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802D32B8 002D0218 41 82 01 60 */ beq lbl_802D3418 +/* 802D32BC 002D021C C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D32C0 002D0220 38 60 00 01 */ li r3, 1 +/* 802D32C4 002D0224 D8 1F 00 00 */ stfd f0, 0(r31) +/* 802D32C8 002D0228 48 00 02 9C */ b lbl_802D3564 +lbl_802D32CC: +/* 802D32CC 002D022C C8 21 00 90 */ lfd f1, 0x90(r1) +/* 802D32D0 002D0230 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802D32D4 002D0234 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D32D8 002D0238 40 80 00 18 */ bge lbl_802D32F0 +/* 802D32DC 002D023C 38 00 00 01 */ li r0, 1 +/* 802D32E0 002D0240 FF E0 00 90 */ fmr f31, f0 +/* 802D32E4 002D0244 90 01 00 08 */ stw r0, 8(r1) +/* 802D32E8 002D0248 3B A0 00 00 */ li r29, 0 +/* 802D32EC 002D024C 48 00 00 20 */ b lbl_802D330C +lbl_802D32F0: +/* 802D32F0 002D0250 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802D32F4 002D0254 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D32F8 002D0258 40 81 00 14 */ ble lbl_802D330C +/* 802D32FC 002D025C 38 00 00 00 */ li r0, 0 +/* 802D3300 002D0260 FF E0 00 90 */ fmr f31, f0 +/* 802D3304 002D0264 90 01 00 08 */ stw r0, 8(r1) +/* 802D3308 002D0268 3B A0 00 00 */ li r29, 0 +lbl_802D330C: +/* 802D330C 002D026C C8 61 00 98 */ lfd f3, 0x98(r1) +/* 802D3310 002D0270 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802D3314 002D0274 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3318 002D0278 40 80 00 18 */ bge lbl_802D3330 +/* 802D331C 002D027C 38 00 00 01 */ li r0, 1 +/* 802D3320 002D0280 FF C0 00 90 */ fmr f30, f0 +/* 802D3324 002D0284 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3328 002D0288 3B A0 00 00 */ li r29, 0 +/* 802D332C 002D028C 48 00 00 20 */ b lbl_802D334C +lbl_802D3330: +/* 802D3330 002D0290 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802D3334 002D0294 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3338 002D0298 40 81 00 14 */ ble lbl_802D334C +/* 802D333C 002D029C 38 00 00 00 */ li r0, 0 +/* 802D3340 002D02A0 FF C0 00 90 */ fmr f30, f0 +/* 802D3344 002D02A4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3348 002D02A8 3B A0 00 00 */ li r29, 0 +lbl_802D334C: +/* 802D334C 002D02AC C8 81 00 A0 */ lfd f4, 0xa0(r1) +/* 802D3350 002D02B0 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D3354 002D02B4 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3358 002D02B8 40 80 00 18 */ bge lbl_802D3370 +/* 802D335C 002D02BC 38 00 00 01 */ li r0, 1 +/* 802D3360 002D02C0 FF A0 00 90 */ fmr f29, f0 +/* 802D3364 002D02C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3368 002D02C8 3B A0 00 00 */ li r29, 0 +/* 802D336C 002D02CC 48 00 00 20 */ b lbl_802D338C +lbl_802D3370: +/* 802D3370 002D02D0 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802D3374 002D02D4 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3378 002D02D8 40 81 00 14 */ ble lbl_802D338C +/* 802D337C 002D02DC 38 00 00 00 */ li r0, 0 +/* 802D3380 002D02E0 FF A0 00 90 */ fmr f29, f0 +/* 802D3384 002D02E4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3388 002D02E8 3B A0 00 00 */ li r29, 0 +lbl_802D338C: +/* 802D338C 002D02EC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802D3390 002D02F0 41 82 00 14 */ beq lbl_802D33A4 +/* 802D3394 002D02F4 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3398 002D02F8 38 60 00 01 */ li r3, 1 +/* 802D339C 002D02FC D8 1F 00 00 */ stfd f0, 0(r31) +/* 802D33A0 002D0300 48 00 01 C4 */ b lbl_802D3564 +lbl_802D33A4: +/* 802D33A4 002D0304 80 01 00 08 */ lwz r0, 8(r1) +/* 802D33A8 002D0308 2C 00 00 02 */ cmpwi r0, 2 +/* 802D33AC 002D030C 41 82 00 1C */ beq lbl_802D33C8 +/* 802D33B0 002D0310 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D33B4 002D0314 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D33B8 002D0318 41 82 00 10 */ beq lbl_802D33C8 +/* 802D33BC 002D031C FC 1F 08 28 */ fsub f0, f31, f1 +/* 802D33C0 002D0320 FC 00 10 24 */ fdiv f0, f0, f2 +/* 802D33C4 002D0324 D8 01 00 60 */ stfd f0, 0x60(r1) +lbl_802D33C8: +/* 802D33C8 002D0328 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D33CC 002D032C 2C 00 00 02 */ cmpwi r0, 2 +/* 802D33D0 002D0330 41 82 00 20 */ beq lbl_802D33F0 +/* 802D33D4 002D0334 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D33D8 002D0338 C8 21 00 80 */ lfd f1, 0x80(r1) +/* 802D33DC 002D033C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802D33E0 002D0340 41 82 00 10 */ beq lbl_802D33F0 +/* 802D33E4 002D0344 FC 1E 18 28 */ fsub f0, f30, f3 +/* 802D33E8 002D0348 FC 00 08 24 */ fdiv f0, f0, f1 +/* 802D33EC 002D034C D8 01 00 68 */ stfd f0, 0x68(r1) +lbl_802D33F0: +/* 802D33F0 002D0350 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802D33F4 002D0354 2C 00 00 02 */ cmpwi r0, 2 +/* 802D33F8 002D0358 41 82 00 20 */ beq lbl_802D3418 +/* 802D33FC 002D035C C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3400 002D0360 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 802D3404 002D0364 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802D3408 002D0368 41 82 00 10 */ beq lbl_802D3418 +/* 802D340C 002D036C FC 1D 20 28 */ fsub f0, f29, f4 +/* 802D3410 002D0370 FC 00 08 24 */ fdiv f0, f0, f1 +/* 802D3414 002D0374 D8 01 00 70 */ stfd f0, 0x70(r1) +lbl_802D3418: +/* 802D3418 002D0378 C8 61 00 60 */ lfd f3, 0x60(r1) +/* 802D341C 002D037C 38 A0 00 00 */ li r5, 0 +/* 802D3420 002D0380 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802D3424 002D0384 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3428 002D0388 40 80 00 0C */ bge lbl_802D3434 +/* 802D342C 002D038C 38 A0 00 01 */ li r5, 1 +/* 802D3430 002D0390 FC 60 00 90 */ fmr f3, f0 +lbl_802D3434: +/* 802D3434 002D0394 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802D3438 002D0398 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D343C 002D039C 40 80 00 0C */ bge lbl_802D3448 +/* 802D3440 002D03A0 38 A0 00 02 */ li r5, 2 +/* 802D3444 002D03A4 FC 60 00 90 */ fmr f3, f0 +lbl_802D3448: +/* 802D3448 002D03A8 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D344C 002D03AC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3450 002D03B0 40 80 00 0C */ bge lbl_802D345C +/* 802D3454 002D03B4 38 60 00 00 */ li r3, 0 +/* 802D3458 002D03B8 48 00 01 0C */ b lbl_802D3564 +lbl_802D345C: +/* 802D345C 002D03BC C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D3460 002D03C0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3464 002D03C4 40 81 00 0C */ ble lbl_802D3470 +/* 802D3468 002D03C8 38 60 00 00 */ li r3, 0 +/* 802D346C 002D03CC 48 00 00 F8 */ b lbl_802D3564 +lbl_802D3470: +/* 802D3470 002D03D0 2C 05 00 00 */ cmpwi r5, 0 +/* 802D3474 002D03D4 41 82 00 30 */ beq lbl_802D34A4 +/* 802D3478 002D03D8 C8 21 00 90 */ lfd f1, 0x90(r1) +/* 802D347C 002D03DC C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802D3480 002D03E0 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802D3484 002D03E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3488 002D03E8 D8 21 00 18 */ stfd f1, 0x18(r1) +/* 802D348C 002D03EC 41 80 00 10 */ blt lbl_802D349C +/* 802D3490 002D03F0 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802D3494 002D03F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3498 002D03F8 40 81 00 0C */ ble lbl_802D34A4 +lbl_802D349C: +/* 802D349C 002D03FC 38 60 00 00 */ li r3, 0 +/* 802D34A0 002D0400 48 00 00 C4 */ b lbl_802D3564 +lbl_802D34A4: +/* 802D34A4 002D0404 2C 05 00 01 */ cmpwi r5, 1 +/* 802D34A8 002D0408 41 82 00 34 */ beq lbl_802D34DC +/* 802D34AC 002D040C C8 41 00 80 */ lfd f2, 0x80(r1) +/* 802D34B0 002D0410 C8 21 00 98 */ lfd f1, 0x98(r1) +/* 802D34B4 002D0414 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802D34B8 002D0418 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802D34BC 002D041C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D34C0 002D0420 D8 21 00 20 */ stfd f1, 0x20(r1) +/* 802D34C4 002D0424 41 80 00 10 */ blt lbl_802D34D4 +/* 802D34C8 002D0428 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802D34CC 002D042C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D34D0 002D0430 40 81 00 0C */ ble lbl_802D34DC +lbl_802D34D4: +/* 802D34D4 002D0434 38 60 00 00 */ li r3, 0 +/* 802D34D8 002D0438 48 00 00 8C */ b lbl_802D3564 +lbl_802D34DC: +/* 802D34DC 002D043C 2C 05 00 02 */ cmpwi r5, 2 +/* 802D34E0 002D0440 41 82 00 34 */ beq lbl_802D3514 +/* 802D34E4 002D0444 C8 41 00 88 */ lfd f2, 0x88(r1) +/* 802D34E8 002D0448 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802D34EC 002D044C C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D34F0 002D0450 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802D34F4 002D0454 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D34F8 002D0458 D8 21 00 28 */ stfd f1, 0x28(r1) +/* 802D34FC 002D045C 41 80 00 10 */ blt lbl_802D350C +/* 802D3500 002D0460 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802D3504 002D0464 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3508 002D0468 40 81 00 0C */ ble lbl_802D3514 +lbl_802D350C: +/* 802D350C 002D046C 38 60 00 00 */ li r3, 0 +/* 802D3510 002D0470 48 00 00 54 */ b lbl_802D3564 +lbl_802D3514: +/* 802D3514 002D0474 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D3518 002D0478 D8 7F 00 00 */ stfd f3, 0(r31) +/* 802D351C 002D047C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802D3520 002D0480 54 A0 10 3A */ slwi r0, r5, 2 +/* 802D3524 002D0484 C0 04 00 00 */ lfs f0, 0(r4) +/* 802D3528 002D0488 38 61 00 08 */ addi r3, r1, 8 +/* 802D352C 002D048C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802D3530 002D0490 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D3534 002D0494 2C 00 00 01 */ cmpwi r0, 1 +/* 802D3538 002D0498 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D353C 002D049C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D3540 002D04A0 C0 04 00 08 */ lfs f0, 8(r4) +/* 802D3544 002D04A4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D3548 002D04A8 40 82 00 0C */ bne lbl_802D3554 +/* 802D354C 002D04AC C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +/* 802D3550 002D04B0 48 00 00 08 */ b lbl_802D3558 +lbl_802D3554: +/* 802D3554 002D04B4 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +lbl_802D3558: +/* 802D3558 002D04B8 54 A0 10 3A */ slwi r0, r5, 2 +/* 802D355C 002D04BC 38 60 00 02 */ li r3, 2 +/* 802D3560 002D04C0 7C 1E 05 2E */ stfsx f0, r30, r0 +lbl_802D3564: +/* 802D3564 002D04C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802D3568 002D04C8 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802D356C 002D04CC E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802D3570 002D04D0 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802D3574 002D04D4 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802D3578 002D04D8 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802D357C 002D04DC BB 61 00 AC */ lmw r27, 0xac(r1) +/* 802D3580 002D04E0 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802D3584 002D04E4 7C 08 03 A6 */ mtlr r0 +/* 802D3588 002D04E8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802D358C 002D04EC 4E 80 00 20 */ blr + +.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf +RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf: +/* 802D3590 002D04F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D3594 002D04F4 3C E0 80 3D */ lis r7, lbl_803D6A50@ha +/* 802D3598 002D04F8 3D 00 80 3D */ lis r8, lbl_803D6A5C@ha +/* 802D359C 002D04FC C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D35A0 002D0500 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802D35A4 002D0504 39 27 6A 50 */ addi r9, r7, lbl_803D6A50@l +/* 802D35A8 002D0508 3C E0 80 5A */ lis r7, skZero3f@ha +/* 802D35AC 002D050C 39 48 6A 5C */ addi r10, r8, lbl_803D6A5C@l +/* 802D35B0 002D0510 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802D35B4 002D0514 3B C0 00 01 */ li r30, 1 +/* 802D35B8 002D0518 C4 87 66 A0 */ lfsu f4, skZero3f@l(r7) +/* 802D35BC 002D051C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802D35C0 002D0520 83 E9 00 00 */ lwz r31, 0(r9) +/* 802D35C4 002D0524 81 89 00 04 */ lwz r12, 4(r9) +/* 802D35C8 002D0528 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802D35CC 002D052C 81 69 00 08 */ lwz r11, 8(r9) +/* 802D35D0 002D0530 81 2A 00 00 */ lwz r9, 0(r10) +/* 802D35D4 002D0534 81 0A 00 04 */ lwz r8, 4(r10) +/* 802D35D8 002D0538 80 0A 00 08 */ lwz r0, 8(r10) +/* 802D35DC 002D053C C0 67 00 04 */ lfs f3, 4(r7) +/* 802D35E0 002D0540 C0 47 00 08 */ lfs f2, 8(r7) +/* 802D35E4 002D0544 93 E1 00 20 */ stw r31, 0x20(r1) +/* 802D35E8 002D0548 91 81 00 24 */ stw r12, 0x24(r1) +/* 802D35EC 002D054C 91 61 00 28 */ stw r11, 0x28(r1) +/* 802D35F0 002D0550 91 21 00 14 */ stw r9, 0x14(r1) +/* 802D35F4 002D0554 91 01 00 18 */ stw r8, 0x18(r1) +/* 802D35F8 002D0558 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802D35FC 002D055C D0 81 00 08 */ stfs f4, 8(r1) +/* 802D3600 002D0560 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802D3604 002D0564 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802D3608 002D0568 41 82 01 24 */ beq lbl_802D372C +/* 802D360C 002D056C C0 63 00 1C */ lfs f3, 0x1c(r3) +/* 802D3610 002D0570 FC 01 18 00 */ fcmpu cr0, f1, f3 +/* 802D3614 002D0574 41 82 01 18 */ beq lbl_802D372C +/* 802D3618 002D0578 C0 83 00 20 */ lfs f4, 0x20(r3) +/* 802D361C 002D057C FC 01 20 00 */ fcmpu cr0, f1, f4 +/* 802D3620 002D0580 41 82 01 0C */ beq lbl_802D372C +/* 802D3624 002D0584 C0 23 00 00 */ lfs f1, 0(r3) +/* 802D3628 002D0588 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D362C 002D058C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D3630 002D0590 40 80 00 20 */ bge lbl_802D3650 +/* 802D3634 002D0594 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3638 002D0598 38 00 00 01 */ li r0, 1 +/* 802D363C 002D059C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3640 002D05A0 3B C0 00 00 */ li r30, 0 +/* 802D3644 002D05A4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802D3648 002D05A8 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802D364C 002D05AC 48 00 00 28 */ b lbl_802D3674 +lbl_802D3650: +/* 802D3650 002D05B0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 802D3654 002D05B4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D3658 002D05B8 40 81 00 1C */ ble lbl_802D3674 +/* 802D365C 002D05BC EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3660 002D05C0 38 00 00 00 */ li r0, 0 +/* 802D3664 002D05C4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3668 002D05C8 3B C0 00 00 */ li r30, 0 +/* 802D366C 002D05CC EC 21 00 24 */ fdivs f1, f1, f0 +/* 802D3670 002D05D0 D0 21 00 14 */ stfs f1, 0x14(r1) +lbl_802D3674: +/* 802D3674 002D05D4 C0 23 00 04 */ lfs f1, 4(r3) +/* 802D3678 002D05D8 C0 44 00 04 */ lfs f2, 4(r4) +/* 802D367C 002D05DC FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D3680 002D05E0 40 80 00 20 */ bge lbl_802D36A0 +/* 802D3684 002D05E4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3688 002D05E8 38 00 00 01 */ li r0, 1 +/* 802D368C 002D05EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D3690 002D05F0 3B C0 00 00 */ li r30, 0 +/* 802D3694 002D05F4 EC 21 18 24 */ fdivs f1, f1, f3 +/* 802D3698 002D05F8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D369C 002D05FC 48 00 00 28 */ b lbl_802D36C4 +lbl_802D36A0: +/* 802D36A0 002D0600 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802D36A4 002D0604 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D36A8 002D0608 40 81 00 1C */ ble lbl_802D36C4 +/* 802D36AC 002D060C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D36B0 002D0610 38 00 00 00 */ li r0, 0 +/* 802D36B4 002D0614 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D36B8 002D0618 3B C0 00 00 */ li r30, 0 +/* 802D36BC 002D061C EC 21 18 24 */ fdivs f1, f1, f3 +/* 802D36C0 002D0620 D0 21 00 18 */ stfs f1, 0x18(r1) +lbl_802D36C4: +/* 802D36C4 002D0624 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D36C8 002D0628 C0 44 00 08 */ lfs f2, 8(r4) +/* 802D36CC 002D062C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D36D0 002D0630 40 80 00 20 */ bge lbl_802D36F0 +/* 802D36D4 002D0634 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D36D8 002D0638 38 00 00 01 */ li r0, 1 +/* 802D36DC 002D063C 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D36E0 002D0640 3B C0 00 00 */ li r30, 0 +/* 802D36E4 002D0644 EC 21 20 24 */ fdivs f1, f1, f4 +/* 802D36E8 002D0648 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D36EC 002D064C 48 00 00 28 */ b lbl_802D3714 +lbl_802D36F0: +/* 802D36F0 002D0650 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802D36F4 002D0654 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D36F8 002D0658 40 81 00 1C */ ble lbl_802D3714 +/* 802D36FC 002D065C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3700 002D0660 38 00 00 00 */ li r0, 0 +/* 802D3704 002D0664 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D3708 002D0668 3B C0 00 00 */ li r30, 0 +/* 802D370C 002D066C EC 21 20 24 */ fdivs f1, f1, f4 +/* 802D3710 002D0670 D0 21 00 1C */ stfs f1, 0x1c(r1) +lbl_802D3714: +/* 802D3714 002D0674 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802D3718 002D0678 41 82 01 60 */ beq lbl_802D3878 +/* 802D371C 002D067C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3720 002D0680 38 60 00 01 */ li r3, 1 +/* 802D3724 002D0684 D0 06 00 00 */ stfs f0, 0(r6) +/* 802D3728 002D0688 48 00 02 98 */ b lbl_802D39C0 +lbl_802D372C: +/* 802D372C 002D068C C0 43 00 00 */ lfs f2, 0(r3) +/* 802D3730 002D0690 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D3734 002D0694 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D3738 002D0698 40 80 00 18 */ bge lbl_802D3750 +/* 802D373C 002D069C 38 00 00 01 */ li r0, 1 +/* 802D3740 002D06A0 FC A0 08 90 */ fmr f5, f1 +/* 802D3744 002D06A4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3748 002D06A8 3B C0 00 00 */ li r30, 0 +/* 802D374C 002D06AC 48 00 00 20 */ b lbl_802D376C +lbl_802D3750: +/* 802D3750 002D06B0 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 802D3754 002D06B4 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D3758 002D06B8 40 81 00 14 */ ble lbl_802D376C +/* 802D375C 002D06BC 38 00 00 00 */ li r0, 0 +/* 802D3760 002D06C0 FC A0 08 90 */ fmr f5, f1 +/* 802D3764 002D06C4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3768 002D06C8 3B C0 00 00 */ li r30, 0 +lbl_802D376C: +/* 802D376C 002D06CC C0 63 00 04 */ lfs f3, 4(r3) +/* 802D3770 002D06D0 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D3774 002D06D4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D3778 002D06D8 40 80 00 18 */ bge lbl_802D3790 +/* 802D377C 002D06DC 38 00 00 01 */ li r0, 1 +/* 802D3780 002D06E0 FC C0 08 90 */ fmr f6, f1 +/* 802D3784 002D06E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D3788 002D06E8 3B C0 00 00 */ li r30, 0 +/* 802D378C 002D06EC 48 00 00 20 */ b lbl_802D37AC +lbl_802D3790: +/* 802D3790 002D06F0 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802D3794 002D06F4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D3798 002D06F8 40 81 00 14 */ ble lbl_802D37AC +/* 802D379C 002D06FC 38 00 00 00 */ li r0, 0 +/* 802D37A0 002D0700 FC C0 08 90 */ fmr f6, f1 +/* 802D37A4 002D0704 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D37A8 002D0708 3B C0 00 00 */ li r30, 0 +lbl_802D37AC: +/* 802D37AC 002D070C C0 83 00 08 */ lfs f4, 8(r3) +/* 802D37B0 002D0710 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D37B4 002D0714 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 802D37B8 002D0718 40 80 00 18 */ bge lbl_802D37D0 +/* 802D37BC 002D071C 38 00 00 01 */ li r0, 1 +/* 802D37C0 002D0720 FC E0 08 90 */ fmr f7, f1 +/* 802D37C4 002D0724 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D37C8 002D0728 3B C0 00 00 */ li r30, 0 +/* 802D37CC 002D072C 48 00 00 20 */ b lbl_802D37EC +lbl_802D37D0: +/* 802D37D0 002D0730 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802D37D4 002D0734 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 802D37D8 002D0738 40 81 00 14 */ ble lbl_802D37EC +/* 802D37DC 002D073C 38 00 00 00 */ li r0, 0 +/* 802D37E0 002D0740 FC E0 08 90 */ fmr f7, f1 +/* 802D37E4 002D0744 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D37E8 002D0748 3B C0 00 00 */ li r30, 0 +lbl_802D37EC: +/* 802D37EC 002D074C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802D37F0 002D0750 41 82 00 14 */ beq lbl_802D3804 +/* 802D37F4 002D0754 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D37F8 002D0758 38 60 00 01 */ li r3, 1 +/* 802D37FC 002D075C D0 06 00 00 */ stfs f0, 0(r6) +/* 802D3800 002D0760 48 00 01 C0 */ b lbl_802D39C0 +lbl_802D3804: +/* 802D3804 002D0764 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802D3808 002D0768 2C 00 00 02 */ cmpwi r0, 2 +/* 802D380C 002D076C 41 82 00 1C */ beq lbl_802D3828 +/* 802D3810 002D0770 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3814 002D0774 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802D3818 002D0778 41 82 00 10 */ beq lbl_802D3828 +/* 802D381C 002D077C EC 25 10 28 */ fsubs f1, f5, f2 +/* 802D3820 002D0780 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802D3824 002D0784 D0 21 00 14 */ stfs f1, 0x14(r1) +lbl_802D3828: +/* 802D3828 002D0788 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D382C 002D078C 2C 00 00 02 */ cmpwi r0, 2 +/* 802D3830 002D0790 41 82 00 20 */ beq lbl_802D3850 +/* 802D3834 002D0794 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3838 002D0798 C0 43 00 1C */ lfs f2, 0x1c(r3) +/* 802D383C 002D079C FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D3840 002D07A0 41 82 00 10 */ beq lbl_802D3850 +/* 802D3844 002D07A4 EC 26 18 28 */ fsubs f1, f6, f3 +/* 802D3848 002D07A8 EC 21 10 24 */ fdivs f1, f1, f2 +/* 802D384C 002D07AC D0 21 00 18 */ stfs f1, 0x18(r1) +lbl_802D3850: +/* 802D3850 002D07B0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802D3854 002D07B4 2C 00 00 02 */ cmpwi r0, 2 +/* 802D3858 002D07B8 41 82 00 20 */ beq lbl_802D3878 +/* 802D385C 002D07BC C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3860 002D07C0 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 802D3864 002D07C4 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D3868 002D07C8 41 82 00 10 */ beq lbl_802D3878 +/* 802D386C 002D07CC EC 27 20 28 */ fsubs f1, f7, f4 +/* 802D3870 002D07D0 EC 21 10 24 */ fdivs f1, f1, f2 +/* 802D3874 002D07D4 D0 21 00 1C */ stfs f1, 0x1c(r1) +lbl_802D3878: +/* 802D3878 002D07D8 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802D387C 002D07DC 39 00 00 00 */ li r8, 0 +/* 802D3880 002D07E0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D3884 002D07E4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D3888 002D07E8 40 80 00 0C */ bge lbl_802D3894 +/* 802D388C 002D07EC 39 00 00 01 */ li r8, 1 +/* 802D3890 002D07F0 FC 60 08 90 */ fmr f3, f1 +lbl_802D3894: +/* 802D3894 002D07F4 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802D3898 002D07F8 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D389C 002D07FC 40 80 00 0C */ bge lbl_802D38A8 +/* 802D38A0 002D0800 39 00 00 02 */ li r8, 2 +/* 802D38A4 002D0804 FC 60 08 90 */ fmr f3, f1 +lbl_802D38A8: +/* 802D38A8 002D0808 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D38AC 002D080C FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D38B0 002D0810 40 80 00 0C */ bge lbl_802D38BC +/* 802D38B4 002D0814 38 60 00 00 */ li r3, 0 +/* 802D38B8 002D0818 48 00 01 08 */ b lbl_802D39C0 +lbl_802D38BC: +/* 802D38BC 002D081C C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D38C0 002D0820 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D38C4 002D0824 40 81 00 0C */ ble lbl_802D38D0 +/* 802D38C8 002D0828 38 60 00 00 */ li r3, 0 +/* 802D38CC 002D082C 48 00 00 F4 */ b lbl_802D39C0 +lbl_802D38D0: +/* 802D38D0 002D0830 2C 08 00 00 */ cmpwi r8, 0 +/* 802D38D4 002D0834 41 82 00 30 */ beq lbl_802D3904 +/* 802D38D8 002D0838 C0 43 00 00 */ lfs f2, 0(r3) +/* 802D38DC 002D083C C0 24 00 00 */ lfs f1, 0(r4) +/* 802D38E0 002D0840 EC 43 10 3A */ fmadds f2, f3, f0, f2 +/* 802D38E4 002D0844 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D38E8 002D0848 D0 41 00 08 */ stfs f2, 8(r1) +/* 802D38EC 002D084C 41 80 00 10 */ blt lbl_802D38FC +/* 802D38F0 002D0850 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D38F4 002D0854 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D38F8 002D0858 40 81 00 0C */ ble lbl_802D3904 +lbl_802D38FC: +/* 802D38FC 002D085C 38 60 00 00 */ li r3, 0 +/* 802D3900 002D0860 48 00 00 C0 */ b lbl_802D39C0 +lbl_802D3904: +/* 802D3904 002D0864 2C 08 00 01 */ cmpwi r8, 1 +/* 802D3908 002D0868 41 82 00 34 */ beq lbl_802D393C +/* 802D390C 002D086C C0 43 00 1C */ lfs f2, 0x1c(r3) +/* 802D3910 002D0870 C0 23 00 04 */ lfs f1, 4(r3) +/* 802D3914 002D0874 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D3918 002D0878 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 802D391C 002D087C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3920 002D0880 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D3924 002D0884 41 80 00 10 */ blt lbl_802D3934 +/* 802D3928 002D0888 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802D392C 002D088C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3930 002D0890 40 81 00 0C */ ble lbl_802D393C +lbl_802D3934: +/* 802D3934 002D0894 38 60 00 00 */ li r3, 0 +/* 802D3938 002D0898 48 00 00 88 */ b lbl_802D39C0 +lbl_802D393C: +/* 802D393C 002D089C 2C 08 00 02 */ cmpwi r8, 2 +/* 802D3940 002D08A0 41 82 00 34 */ beq lbl_802D3974 +/* 802D3944 002D08A4 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 802D3948 002D08A8 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D394C 002D08AC C0 04 00 08 */ lfs f0, 8(r4) +/* 802D3950 002D08B0 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 802D3954 002D08B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3958 002D08B8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D395C 002D08BC 41 80 00 10 */ blt lbl_802D396C +/* 802D3960 002D08C0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802D3964 002D08C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3968 002D08C8 40 81 00 0C */ ble lbl_802D3974 +lbl_802D396C: +/* 802D396C 002D08CC 38 60 00 00 */ li r3, 0 +/* 802D3970 002D08D0 48 00 00 50 */ b lbl_802D39C0 +lbl_802D3974: +/* 802D3974 002D08D4 D0 66 00 00 */ stfs f3, 0(r6) +/* 802D3978 002D08D8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D397C 002D08DC 55 00 10 3A */ slwi r0, r8, 2 +/* 802D3980 002D08E0 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 802D3984 002D08E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D3988 002D08E8 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802D398C 002D08EC D0 05 00 00 */ stfs f0, 0(r5) +/* 802D3990 002D08F0 2C 00 00 01 */ cmpwi r0, 1 +/* 802D3994 002D08F4 C0 07 00 04 */ lfs f0, 4(r7) +/* 802D3998 002D08F8 D0 05 00 04 */ stfs f0, 4(r5) +/* 802D399C 002D08FC C0 07 00 08 */ lfs f0, 8(r7) +/* 802D39A0 002D0900 D0 05 00 08 */ stfs f0, 8(r5) +/* 802D39A4 002D0904 40 82 00 0C */ bne lbl_802D39B0 +/* 802D39A8 002D0908 C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +/* 802D39AC 002D090C 48 00 00 08 */ b lbl_802D39B4 +lbl_802D39B0: +/* 802D39B0 002D0910 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +lbl_802D39B4: +/* 802D39B4 002D0914 55 00 10 3A */ slwi r0, r8, 2 +/* 802D39B8 002D0918 38 60 00 02 */ li r3, 2 +/* 802D39BC 002D091C 7C 05 05 2E */ stfsx f0, r5, r0 +lbl_802D39C0: +/* 802D39C0 002D0920 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802D39C4 002D0924 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802D39C8 002D0928 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D39CC 002D092C 4E 80 00 20 */ blr + +.global RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd: +/* 802D39D0 002D0930 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802D39D4 002D0934 7C 08 02 A6 */ mflr r0 +/* 802D39D8 002D0938 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802D39DC 002D093C DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802D39E0 002D0940 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802D39E4 002D0944 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802D39E8 002D0948 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802D39EC 002D094C BF 41 00 98 */ stmw r26, 0x98(r1) +/* 802D39F0 002D0950 7C 7A 1B 78 */ mr r26, r3 +/* 802D39F4 002D0954 7C 9B 23 78 */ mr r27, r4 +/* 802D39F8 002D0958 7C BC 2B 78 */ mr r28, r5 +/* 802D39FC 002D095C 7C DD 33 78 */ mr r29, r6 +/* 802D3A00 002D0960 7F 44 D3 78 */ mr r4, r26 +/* 802D3A04 002D0964 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D3A08 002D0968 3B C0 00 00 */ li r30, 0 +/* 802D3A0C 002D096C 48 04 0B 79 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3A10 002D0970 7C 7F 1B 78 */ mr r31, r3 +/* 802D3A14 002D0974 7F 64 DB 78 */ mr r4, r27 +/* 802D3A18 002D0978 38 61 00 38 */ addi r3, r1, 0x38 +/* 802D3A1C 002D097C 48 04 0B 69 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3A20 002D0980 7C 64 1B 78 */ mr r4, r3 +/* 802D3A24 002D0984 7F E5 FB 78 */ mr r5, r31 +/* 802D3A28 002D0988 38 61 00 50 */ addi r3, r1, 0x50 +/* 802D3A2C 002D098C 48 04 09 69 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802D3A30 002D0990 C8 41 00 50 */ lfd f2, 0x50(r1) +/* 802D3A34 002D0994 7F 84 E3 78 */ mr r4, r28 +/* 802D3A38 002D0998 C8 21 00 58 */ lfd f1, 0x58(r1) +/* 802D3A3C 002D099C 38 61 00 08 */ addi r3, r1, 8 +/* 802D3A40 002D09A0 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802D3A44 002D09A4 D8 41 00 80 */ stfd f2, 0x80(r1) +/* 802D3A48 002D09A8 D8 21 00 88 */ stfd f1, 0x88(r1) +/* 802D3A4C 002D09AC D8 01 00 90 */ stfd f0, 0x90(r1) +/* 802D3A50 002D09B0 48 04 0B 35 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3A54 002D09B4 C8 41 00 08 */ lfd f2, 8(r1) +/* 802D3A58 002D09B8 38 61 00 80 */ addi r3, r1, 0x80 +/* 802D3A5C 002D09BC C8 21 00 10 */ lfd f1, 0x10(r1) +/* 802D3A60 002D09C0 38 81 00 68 */ addi r4, r1, 0x68 +/* 802D3A64 002D09C4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802D3A68 002D09C8 D8 41 00 68 */ stfd f2, 0x68(r1) +/* 802D3A6C 002D09CC C3 FA 00 0C */ lfs f31, 0xc(r26) +/* 802D3A70 002D09D0 D8 21 00 70 */ stfd f1, 0x70(r1) +/* 802D3A74 002D09D4 D8 01 00 78 */ stfd f0, 0x78(r1) +/* 802D3A78 002D09D8 48 04 09 F5 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D3A7C 002D09DC C8 02 C4 B0 */ lfd f0, lbl_805AE1D0@sda21(r2) +/* 802D3A80 002D09E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 802D3A84 002D09E4 FF C0 00 72 */ fmul f30, f0, f1 +/* 802D3A88 002D09E8 48 04 0A 99 */ bl MagSquared__9CVector3dCFv +/* 802D3A8C 002D09EC FC 5F 0F FC */ fnmsub f2, f31, f31, f1 +/* 802D3A90 002D09F0 C8 22 C5 08 */ lfd f1, lbl_805AE228@sda21(r2) +/* 802D3A94 002D09F4 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3A98 002D09F8 FC 21 00 B2 */ fmul f1, f1, f2 +/* 802D3A9C 002D09FC FC 3E 0F B8 */ fmsub f1, f30, f30, f1 +/* 802D3AA0 002D0A00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3AA4 002D0A04 4C 41 13 82 */ cror 2, 1, 2 +/* 802D3AA8 002D0A08 40 82 00 38 */ bne lbl_802D3AE0 +/* 802D3AAC 002D0A0C 48 04 19 C5 */ bl SqrtD__5CMathFd +/* 802D3AB0 002D0A10 FC 40 F0 50 */ fneg f2, f30 +/* 802D3AB4 002D0A14 C8 62 C5 10 */ lfd f3, lbl_805AE230@sda21(r2) +/* 802D3AB8 002D0A18 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3ABC 002D0A1C C8 9D 00 00 */ lfd f4, 0(r29) +/* 802D3AC0 002D0A20 FC 22 08 28 */ fsub f1, f2, f1 +/* 802D3AC4 002D0A24 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 802D3AC8 002D0A28 FC 03 00 72 */ fmul f0, f3, f1 +/* 802D3ACC 002D0A2C 41 82 00 0C */ beq lbl_802D3AD8 +/* 802D3AD0 002D0A30 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802D3AD4 002D0A34 40 80 00 0C */ bge lbl_802D3AE0 +lbl_802D3AD8: +/* 802D3AD8 002D0A38 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D3ADC 002D0A3C 3B C0 00 01 */ li r30, 1 +lbl_802D3AE0: +/* 802D3AE0 002D0A40 7F C3 F3 78 */ mr r3, r30 +/* 802D3AE4 002D0A44 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802D3AE8 002D0A48 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802D3AEC 002D0A4C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802D3AF0 002D0A50 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802D3AF4 002D0A54 BB 41 00 98 */ lmw r26, 0x98(r1) +/* 802D3AF8 002D0A58 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802D3AFC 002D0A5C 7C 08 03 A6 */ mtlr r0 +/* 802D3B00 002D0A60 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802D3B04 002D0A64 4E 80 00 20 */ blr + +.global RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f: +/* 802D3B08 002D0A68 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802D3B0C 002D0A6C 7C 08 02 A6 */ mflr r0 +/* 802D3B10 002D0A70 90 01 00 64 */ stw r0, 0x64(r1) +/* 802D3B14 002D0A74 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802D3B18 002D0A78 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802D3B1C 002D0A7C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802D3B20 002D0A80 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802D3B24 002D0A84 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802D3B28 002D0A88 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802D3B2C 002D0A8C DB 81 00 20 */ stfd f28, 0x20(r1) +/* 802D3B30 002D0A90 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 802D3B34 002D0A94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D3B38 002D0A98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D3B3C 002D0A9C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D3B40 002D0AA0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802D3B44 002D0AA4 7C 9C 23 78 */ mr r28, r4 +/* 802D3B48 002D0AA8 7C BD 2B 78 */ mr r29, r5 +/* 802D3B4C 002D0AAC C0 43 00 04 */ lfs f2, 4(r3) +/* 802D3B50 002D0AB0 FF C0 08 90 */ fmr f30, f1 +/* 802D3B54 002D0AB4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D3B58 002D0AB8 7C DE 33 78 */ mr r30, r6 +/* 802D3B5C 002D0ABC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 802D3B60 002D0AC0 7C FF 3B 78 */ mr r31, r7 +/* 802D3B64 002D0AC4 EC A2 00 28 */ fsubs f5, f2, f0 +/* 802D3B68 002D0AC8 C0 05 00 04 */ lfs f0, 4(r5) +/* 802D3B6C 002D0ACC EF E1 00 72 */ fmuls f31, f1, f1 +/* 802D3B70 002D0AD0 C0 63 00 00 */ lfs f3, 0(r3) +/* 802D3B74 002D0AD4 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D3B78 002D0AD8 EC 25 00 32 */ fmuls f1, f5, f0 +/* 802D3B7C 002D0ADC C0 83 00 08 */ lfs f4, 8(r3) +/* 802D3B80 002D0AE0 EC 05 01 72 */ fmuls f0, f5, f5 +/* 802D3B84 002D0AE4 EC A3 10 28 */ fsubs f5, f3, f2 +/* 802D3B88 002D0AE8 C0 64 00 08 */ lfs f3, 8(r4) +/* 802D3B8C 002D0AEC C0 45 00 00 */ lfs f2, 0(r5) +/* 802D3B90 002D0AF0 EC 84 18 28 */ fsubs f4, f4, f3 +/* 802D3B94 002D0AF4 C0 65 00 08 */ lfs f3, 8(r5) +/* 802D3B98 002D0AF8 EC 45 08 BA */ fmadds f2, f5, f2, f1 +/* 802D3B9C 002D0AFC EC 25 01 7A */ fmadds f1, f5, f5, f0 +/* 802D3BA0 002D0B00 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3BA4 002D0B04 EF A4 10 FA */ fmadds f29, f4, f3, f2 +/* 802D3BA8 002D0B08 EF 84 09 3A */ fmadds f28, f4, f4, f1 +/* 802D3BAC 002D0B0C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802D3BB0 002D0B10 EC 1D 07 72 */ fmuls f0, f29, f29 +/* 802D3BB4 002D0B14 40 80 00 14 */ bge lbl_802D3BC8 +/* 802D3BB8 002D0B18 FC 1C F8 40 */ fcmpo cr0, f28, f31 +/* 802D3BBC 002D0B1C 40 81 00 0C */ ble lbl_802D3BC8 +/* 802D3BC0 002D0B20 38 60 00 00 */ li r3, 0 +/* 802D3BC4 002D0B24 48 00 00 9C */ b lbl_802D3C60 +lbl_802D3BC8: +/* 802D3BC8 002D0B28 EC 3C 00 28 */ fsubs f1, f28, f0 +/* 802D3BCC 002D0B2C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3BD0 002D0B30 EC 3F 08 28 */ fsubs f1, f31, f1 +/* 802D3BD4 002D0B34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3BD8 002D0B38 40 80 00 0C */ bge lbl_802D3BE4 +/* 802D3BDC 002D0B3C 38 60 00 00 */ li r3, 0 +/* 802D3BE0 002D0B40 48 00 00 80 */ b lbl_802D3C60 +lbl_802D3BE4: +/* 802D3BE4 002D0B44 48 04 19 1D */ bl SqrtF__5CMathFf +/* 802D3BE8 002D0B48 FC 1C F8 40 */ fcmpo cr0, f28, f31 +/* 802D3BEC 002D0B4C 40 81 00 0C */ ble lbl_802D3BF8 +/* 802D3BF0 002D0B50 EC 1D 08 28 */ fsubs f0, f29, f1 +/* 802D3BF4 002D0B54 48 00 00 08 */ b lbl_802D3BFC +lbl_802D3BF8: +/* 802D3BF8 002D0B58 EC 1D 08 2A */ fadds f0, f29, f1 +lbl_802D3BFC: +/* 802D3BFC 002D0B5C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D3C00 002D0B60 C0 DE 00 00 */ lfs f6, 0(r30) +/* 802D3C04 002D0B64 FC 06 F0 40 */ fcmpo cr0, f6, f30 +/* 802D3C08 002D0B68 41 80 00 10 */ blt lbl_802D3C18 +/* 802D3C0C 002D0B6C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3C10 002D0B70 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 802D3C14 002D0B74 40 82 00 48 */ bne lbl_802D3C5C +lbl_802D3C18: +/* 802D3C18 002D0B78 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802D3C1C 002D0B7C 38 60 00 01 */ li r3, 1 +/* 802D3C20 002D0B80 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802D3C24 002D0B84 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802D3C28 002D0B88 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D3C2C 002D0B8C C0 5D 00 08 */ lfs f2, 8(r29) +/* 802D3C30 002D0B90 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 802D3C34 002D0B94 C0 BC 00 04 */ lfs f5, 4(r28) +/* 802D3C38 002D0B98 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D3C3C 002D0B9C C0 7C 00 08 */ lfs f3, 8(r28) +/* 802D3C40 002D0BA0 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 802D3C44 002D0BA4 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D3C48 002D0BA8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D3C4C 002D0BAC EC 03 08 2A */ fadds f0, f3, f1 +/* 802D3C50 002D0BB0 D0 5F 00 04 */ stfs f2, 4(r31) +/* 802D3C54 002D0BB4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D3C58 002D0BB8 48 00 00 08 */ b lbl_802D3C60 +lbl_802D3C5C: +/* 802D3C5C 002D0BBC 38 60 00 00 */ li r3, 0 +lbl_802D3C60: +/* 802D3C60 002D0BC0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802D3C64 002D0BC4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802D3C68 002D0BC8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802D3C6C 002D0BCC CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802D3C70 002D0BD0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802D3C74 002D0BD4 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802D3C78 002D0BD8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 802D3C7C 002D0BDC CB 81 00 20 */ lfd f28, 0x20(r1) +/* 802D3C80 002D0BE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D3C84 002D0BE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D3C88 002D0BE8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802D3C8C 002D0BEC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D3C90 002D0BF0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802D3C94 002D0BF4 7C 08 03 A6 */ mtlr r0 +/* 802D3C98 002D0BF8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802D3C9C 002D0BFC 4E 80 00 20 */ blr + +.global RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f +RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f: +/* 802D3CA0 002D0C00 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802D3CA4 002D0C04 7C 08 02 A6 */ mflr r0 +/* 802D3CA8 002D0C08 90 01 00 64 */ stw r0, 0x64(r1) +/* 802D3CAC 002D0C0C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802D3CB0 002D0C10 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802D3CB4 002D0C14 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802D3CB8 002D0C18 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802D3CBC 002D0C1C DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802D3CC0 002D0C20 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802D3CC4 002D0C24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D3CC8 002D0C28 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D3CCC 002D0C2C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D3CD0 002D0C30 7C 7D 1B 78 */ mr r29, r3 +/* 802D3CD4 002D0C34 7C BE 2B 78 */ mr r30, r5 +/* 802D3CD8 002D0C38 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D3CDC 002D0C3C 7C DF 33 78 */ mr r31, r6 +/* 802D3CE0 002D0C40 C0 03 00 04 */ lfs f0, 4(r3) +/* 802D3CE4 002D0C44 38 61 00 08 */ addi r3, r1, 8 +/* 802D3CE8 002D0C48 C0 64 00 08 */ lfs f3, 8(r4) +/* 802D3CEC 002D0C4C C0 5D 00 08 */ lfs f2, 8(r29) +/* 802D3CF0 002D0C50 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D3CF4 002D0C54 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D3CF8 002D0C58 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D3CFC 002D0C5C C0 1D 00 00 */ lfs f0, 0(r29) +/* 802D3D00 002D0C60 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D3D04 002D0C64 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802D3D08 002D0C68 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D3D0C 002D0C6C C3 C5 00 00 */ lfs f30, 0(r5) +/* 802D3D10 002D0C70 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802D3D14 002D0C74 C3 A5 00 04 */ lfs f29, 4(r5) +/* 802D3D18 002D0C78 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D3D1C 002D0C7C C3 E5 00 08 */ lfs f31, 8(r5) +/* 802D3D20 002D0C80 48 04 0B 31 */ bl AsNormalized__9CVector3fCFv +/* 802D3D24 002D0C84 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D3D28 002D0C88 C0 41 00 08 */ lfs f2, 8(r1) +/* 802D3D2C 002D0C8C EC 20 07 72 */ fmuls f1, f0, f29 +/* 802D3D30 002D0C90 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802D3D34 002D0C94 C0 02 C5 18 */ lfs f0, lbl_805AE238@sda21(r2) +/* 802D3D38 002D0C98 EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 802D3D3C 002D0C9C EC 23 0F FA */ fmadds f1, f3, f31, f1 +/* 802D3D40 002D0CA0 FC 20 0A 10 */ fabs f1, f1 +/* 802D3D44 002D0CA4 FC 20 08 18 */ frsp f1, f1 +/* 802D3D48 002D0CA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3D4C 002D0CAC 40 80 00 0C */ bge lbl_802D3D58 +/* 802D3D50 002D0CB0 38 60 00 00 */ li r3, 0 +/* 802D3D54 002D0CB4 48 00 00 8C */ b lbl_802D3DE0 +lbl_802D3D58: +/* 802D3D58 002D0CB8 C1 1D 00 04 */ lfs f8, 4(r29) +/* 802D3D5C 002D0CBC C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802D3D60 002D0CC0 EC 28 07 72 */ fmuls f1, f8, f29 +/* 802D3D64 002D0CC4 C0 FD 00 00 */ lfs f7, 0(r29) +/* 802D3D68 002D0CC8 C1 3D 00 08 */ lfs f9, 8(r29) +/* 802D3D6C 002D0CCC EC 05 07 72 */ fmuls f0, f5, f29 +/* 802D3D70 002D0CD0 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802D3D74 002D0CD4 EC 67 0F BA */ fmadds f3, f7, f30, f1 +/* 802D3D78 002D0CD8 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 802D3D7C 002D0CDC EC 24 07 BA */ fmadds f1, f4, f30, f0 +/* 802D3D80 002D0CE0 C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 802D3D84 002D0CE4 EC 69 1F FA */ fmadds f3, f9, f31, f3 +/* 802D3D88 002D0CE8 C0 02 C5 1C */ lfs f0, lbl_805AE23C@sda21(r2) +/* 802D3D8C 002D0CEC EC 26 0F FA */ fmadds f1, f6, f31, f1 +/* 802D3D90 002D0CF0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D3D94 002D0CF4 FC 40 10 50 */ fneg f2, f2 +/* 802D3D98 002D0CF8 EC 62 08 24 */ fdivs f3, f2, f1 +/* 802D3D9C 002D0CFC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3DA0 002D0D00 41 80 00 10 */ blt lbl_802D3DB0 +/* 802D3DA4 002D0D04 C0 02 C5 20 */ lfs f0, lbl_805AE240@sda21(r2) +/* 802D3DA8 002D0D08 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3DAC 002D0D0C 40 81 00 0C */ ble lbl_802D3DB8 +lbl_802D3DB0: +/* 802D3DB0 002D0D10 38 60 00 00 */ li r3, 0 +/* 802D3DB4 002D0D14 48 00 00 2C */ b lbl_802D3DE0 +lbl_802D3DB8: +/* 802D3DB8 002D0D18 EC 43 01 32 */ fmuls f2, f3, f4 +/* 802D3DBC 002D0D1C 38 60 00 01 */ li r3, 1 +/* 802D3DC0 002D0D20 EC 23 01 72 */ fmuls f1, f3, f5 +/* 802D3DC4 002D0D24 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 802D3DC8 002D0D28 EC 47 10 2A */ fadds f2, f7, f2 +/* 802D3DCC 002D0D2C EC 28 08 2A */ fadds f1, f8, f1 +/* 802D3DD0 002D0D30 EC 09 00 2A */ fadds f0, f9, f0 +/* 802D3DD4 002D0D34 D0 5F 00 00 */ stfs f2, 0(r31) +/* 802D3DD8 002D0D38 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D3DDC 002D0D3C D0 1F 00 08 */ stfs f0, 8(r31) +lbl_802D3DE0: +/* 802D3DE0 002D0D40 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802D3DE4 002D0D44 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802D3DE8 002D0D48 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802D3DEC 002D0D4C CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802D3DF0 002D0D50 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802D3DF4 002D0D54 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802D3DF8 002D0D58 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D3DFC 002D0D5C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D3E00 002D0D60 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D3E04 002D0D64 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D3E08 002D0D68 7C 08 03 A6 */ mtlr r0 +/* 802D3E0C 002D0D6C 38 21 00 60 */ addi r1, r1, 0x60 +/* 802D3E10 002D0D70 4E 80 00 20 */ blr + +.global __sinit_CollisionUtil_cpp +__sinit_CollisionUtil_cpp: +/* 802D3E14 002D0D74 C0 42 C4 C0 */ lfs f2, lbl_805AE1E0@sda21(r2) +/* 802D3E18 002D0D78 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D3E1C 002D0D7C C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3E20 002D0D80 D4 43 95 10 */ stfsu f2, lbl_80479510@l(r3) +/* 802D3E24 002D0D84 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D3E28 002D0D88 D0 23 00 04 */ stfs f1, 4(r3) +/* 802D3E2C 002D0D8C D0 23 00 08 */ stfs f1, 8(r3) +/* 802D3E30 002D0D90 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802D3E34 002D0D94 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 802D3E38 002D0D98 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 802D3E3C 002D0D9C D0 23 00 18 */ stfs f1, 0x18(r3) +/* 802D3E40 002D0DA0 D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 802D3E44 002D0DA4 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802D3E48 002D0DA8 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802D3E4C 002D0DAC D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802D3E50 002D0DB0 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 802D3E54 002D0DB4 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 802D3E58 002D0DB8 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 802D3E5C 002D0DBC D0 43 00 38 */ stfs f2, 0x38(r3) +/* 802D3E60 002D0DC0 D0 23 00 3C */ stfs f1, 0x3c(r3) +/* 802D3E64 002D0DC4 D0 23 00 40 */ stfs f1, 0x40(r3) +/* 802D3E68 002D0DC8 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 802D3E6C 002D0DCC 4E 80 00 20 */ blr diff --git a/asm/Collision/InternalColliders.s b/asm/Collision/InternalColliders.s new file mode 100644 index 00000000..7dade05b --- /dev/null +++ b/asm/Collision/InternalColliders.s @@ -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 diff --git a/asm/GuiSys/CAuiEnergyBarT01.s b/asm/GuiSys/CAuiEnergyBarT01.s new file mode 100644 index 00000000..0964dd90 --- /dev/null +++ b/asm/GuiSys/CAuiEnergyBarT01.s @@ -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__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 diff --git a/asm/GuiSys/CAuiImagePane.s b/asm/GuiSys/CAuiImagePane.s new file mode 100644 index 00000000..f015061b --- /dev/null +++ b/asm/GuiSys/CAuiImagePane.s @@ -0,0 +1,1637 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__13CAuiImagePaneFv +__dt__13CAuiImagePaneFv: +/* 802CBCE8 002C8C48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CBCEC 002C8C4C 7C 08 02 A6 */ mflr r0 +/* 802CBCF0 002C8C50 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CBCF4 002C8C54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CBCF8 002C8C58 7C 9F 23 78 */ mr r31, r4 +/* 802CBCFC 002C8C5C 93 C1 00 08 */ stw r30, 8(r1) +/* 802CBD00 002C8C60 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CBD04 002C8C64 41 82 01 18 */ beq lbl_802CBE1C +/* 802CBD08 002C8C68 3C 60 80 3F */ lis r3, lbl_803ECA90@ha +/* 802CBD0C 002C8C6C 34 1E 01 14 */ addic. r0, r30, 0x114 +/* 802CBD10 002C8C70 38 03 CA 90 */ addi r0, r3, lbl_803ECA90@l +/* 802CBD14 002C8C74 90 1E 00 00 */ stw r0, 0(r30) +/* 802CBD18 002C8C78 41 82 00 58 */ beq lbl_802CBD70 +/* 802CBD1C 002C8C7C 80 BE 01 14 */ lwz r5, 0x114(r30) +/* 802CBD20 002C8C80 38 60 00 00 */ li r3, 0 +/* 802CBD24 002C8C84 2C 05 00 00 */ cmpwi r5, 0 +/* 802CBD28 002C8C88 40 81 00 40 */ ble lbl_802CBD68 +/* 802CBD2C 002C8C8C 2C 05 00 08 */ cmpwi r5, 8 +/* 802CBD30 002C8C90 38 85 FF F8 */ addi r4, r5, -8 +/* 802CBD34 002C8C94 40 81 00 20 */ ble lbl_802CBD54 +/* 802CBD38 002C8C98 38 04 00 07 */ addi r0, r4, 7 +/* 802CBD3C 002C8C9C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CBD40 002C8CA0 7C 09 03 A6 */ mtctr r0 +/* 802CBD44 002C8CA4 2C 04 00 00 */ cmpwi r4, 0 +/* 802CBD48 002C8CA8 40 81 00 0C */ ble lbl_802CBD54 +lbl_802CBD4C: +/* 802CBD4C 002C8CAC 38 63 00 08 */ addi r3, r3, 8 +/* 802CBD50 002C8CB0 42 00 FF FC */ bdnz lbl_802CBD4C +lbl_802CBD54: +/* 802CBD54 002C8CB4 7C 03 28 50 */ subf r0, r3, r5 +/* 802CBD58 002C8CB8 7C 09 03 A6 */ mtctr r0 +/* 802CBD5C 002C8CBC 7C 03 28 00 */ cmpw r3, r5 +/* 802CBD60 002C8CC0 40 80 00 08 */ bge lbl_802CBD68 +lbl_802CBD64: +/* 802CBD64 002C8CC4 42 00 00 00 */ bdnz lbl_802CBD64 +lbl_802CBD68: +/* 802CBD68 002C8CC8 38 00 00 00 */ li r0, 0 +/* 802CBD6C 002C8CCC 90 1E 01 14 */ stw r0, 0x114(r30) +lbl_802CBD70: +/* 802CBD70 002C8CD0 34 1E 00 E0 */ addic. r0, r30, 0xe0 +/* 802CBD74 002C8CD4 41 82 00 58 */ beq lbl_802CBDCC +/* 802CBD78 002C8CD8 80 BE 00 E0 */ lwz r5, 0xe0(r30) +/* 802CBD7C 002C8CDC 38 60 00 00 */ li r3, 0 +/* 802CBD80 002C8CE0 2C 05 00 00 */ cmpwi r5, 0 +/* 802CBD84 002C8CE4 40 81 00 40 */ ble lbl_802CBDC4 +/* 802CBD88 002C8CE8 2C 05 00 08 */ cmpwi r5, 8 +/* 802CBD8C 002C8CEC 38 85 FF F8 */ addi r4, r5, -8 +/* 802CBD90 002C8CF0 40 81 00 20 */ ble lbl_802CBDB0 +/* 802CBD94 002C8CF4 38 04 00 07 */ addi r0, r4, 7 +/* 802CBD98 002C8CF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CBD9C 002C8CFC 7C 09 03 A6 */ mtctr r0 +/* 802CBDA0 002C8D00 2C 04 00 00 */ cmpwi r4, 0 +/* 802CBDA4 002C8D04 40 81 00 0C */ ble lbl_802CBDB0 +lbl_802CBDA8: +/* 802CBDA8 002C8D08 38 63 00 08 */ addi r3, r3, 8 +/* 802CBDAC 002C8D0C 42 00 FF FC */ bdnz lbl_802CBDA8 +lbl_802CBDB0: +/* 802CBDB0 002C8D10 7C 03 28 50 */ subf r0, r3, r5 +/* 802CBDB4 002C8D14 7C 09 03 A6 */ mtctr r0 +/* 802CBDB8 002C8D18 7C 03 28 00 */ cmpw r3, r5 +/* 802CBDBC 002C8D1C 40 80 00 08 */ bge lbl_802CBDC4 +lbl_802CBDC0: +/* 802CBDC0 002C8D20 42 00 00 00 */ bdnz lbl_802CBDC0 +lbl_802CBDC4: +/* 802CBDC4 002C8D24 38 00 00 00 */ li r0, 0 +/* 802CBDC8 002C8D28 90 1E 00 E0 */ stw r0, 0xe0(r30) +lbl_802CBDCC: +/* 802CBDCC 002C8D2C 34 1E 00 B8 */ addic. r0, r30, 0xb8 +/* 802CBDD0 002C8D30 41 82 00 30 */ beq lbl_802CBE00 +/* 802CBDD4 002C8D34 88 1E 00 C4 */ lbz r0, 0xc4(r30) +/* 802CBDD8 002C8D38 28 00 00 00 */ cmplwi r0, 0 +/* 802CBDDC 002C8D3C 41 82 00 1C */ beq lbl_802CBDF8 +/* 802CBDE0 002C8D40 34 7E 00 B8 */ addic. r3, r30, 0xb8 +/* 802CBDE4 002C8D44 41 82 00 14 */ beq lbl_802CBDF8 +/* 802CBDE8 002C8D48 28 03 00 00 */ cmplwi r3, 0 +/* 802CBDEC 002C8D4C 41 82 00 0C */ beq lbl_802CBDF8 +/* 802CBDF0 002C8D50 38 80 00 00 */ li r4, 0 +/* 802CBDF4 002C8D54 48 07 50 4D */ bl __dt__6CTokenFv +lbl_802CBDF8: +/* 802CBDF8 002C8D58 38 00 00 00 */ li r0, 0 +/* 802CBDFC 002C8D5C 98 1E 00 C4 */ stb r0, 0xc4(r30) +lbl_802CBE00: +/* 802CBE00 002C8D60 7F C3 F3 78 */ mr r3, r30 +/* 802CBE04 002C8D64 38 80 00 00 */ li r4, 0 +/* 802CBE08 002C8D68 4B FF ED AD */ bl __dt__10CGuiWidgetFv +/* 802CBE0C 002C8D6C 7F E0 07 35 */ extsh. r0, r31 +/* 802CBE10 002C8D70 40 81 00 0C */ ble lbl_802CBE1C +/* 802CBE14 002C8D74 7F C3 F3 78 */ mr r3, r30 +/* 802CBE18 002C8D78 48 04 9B 19 */ bl Free__7CMemoryFPCv +lbl_802CBE1C: +/* 802CBE1C 002C8D7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CBE20 002C8D80 7F C3 F3 78 */ mr r3, r30 +/* 802CBE24 002C8D84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CBE28 002C8D88 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CBE2C 002C8D8C 7C 08 03 A6 */ mtlr r0 +/* 802CBE30 002C8D90 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CBE34 002C8D94 4E 80 00 20 */ blr + +.global GetWidgetTypeID__13CAuiImagePaneCFv +GetWidgetTypeID__13CAuiImagePaneCFv: +/* 802CBE38 002C8D98 3C 60 49 4D */ lis r3, 0x494D4750@ha +/* 802CBE3C 002C8D9C 38 63 47 50 */ addi r3, r3, 0x494D4750@l +/* 802CBE40 002C8DA0 4E 80 00 20 */ blr + +.global GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv +GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv: +/* 802CBE44 002C8DA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CBE48 002C8DA8 7C 08 02 A6 */ mflr r0 +/* 802CBE4C 002C8DAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CBE50 002C8DB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CBE54 002C8DB4 88 03 00 C4 */ lbz r0, 0xc4(r3) +/* 802CBE58 002C8DB8 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE5C 002C8DBC 40 82 00 0C */ bne lbl_802CBE68 +/* 802CBE60 002C8DC0 38 60 00 01 */ li r3, 1 +/* 802CBE64 002C8DC4 48 00 00 54 */ b lbl_802CBEB8 +lbl_802CBE68: +/* 802CBE68 002C8DC8 3B E3 00 B8 */ addi r31, r3, 0xb8 +/* 802CBE6C 002C8DCC 80 03 00 C0 */ lwz r0, 0xc0(r3) +/* 802CBE70 002C8DD0 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE74 002C8DD4 41 82 00 0C */ beq lbl_802CBE80 +/* 802CBE78 002C8DD8 38 60 00 01 */ li r3, 1 +/* 802CBE7C 002C8DDC 48 00 00 3C */ b lbl_802CBEB8 +lbl_802CBE80: +/* 802CBE80 002C8DE0 88 1F 00 04 */ lbz r0, 4(r31) +/* 802CBE84 002C8DE4 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE88 002C8DE8 41 82 00 2C */ beq lbl_802CBEB4 +/* 802CBE8C 002C8DEC 80 7F 00 00 */ lwz r3, 0(r31) +/* 802CBE90 002C8DF0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802CBE94 002C8DF4 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE98 002C8DF8 41 82 00 1C */ beq lbl_802CBEB4 +/* 802CBE9C 002C8DFC 7F E3 FB 78 */ mr r3, r31 +/* 802CBEA0 002C8E00 48 07 4F 6D */ bl GetObj__6CTokenFv +/* 802CBEA4 002C8E04 80 03 00 04 */ lwz r0, 4(r3) +/* 802CBEA8 002C8E08 38 60 00 01 */ li r3, 1 +/* 802CBEAC 002C8E0C 90 1F 00 08 */ stw r0, 8(r31) +/* 802CBEB0 002C8E10 48 00 00 08 */ b lbl_802CBEB8 +lbl_802CBEB4: +/* 802CBEB4 002C8E14 38 60 00 00 */ li r3, 0 +lbl_802CBEB8: +/* 802CBEB8 002C8E18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CBEBC 002C8E1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CBEC0 002C8E20 7C 08 03 A6 */ mtlr r0 +/* 802CBEC4 002C8E24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CBEC8 002C8E28 4E 80 00 20 */ blr + +.global SetTextureID0__13CAuiImagePaneFUib +SetTextureID0__13CAuiImagePaneFUib: +/* 802CBECC 002C8E2C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802CBED0 002C8E30 7C 08 02 A6 */ mflr r0 +/* 802CBED4 002C8E34 28 05 00 00 */ cmplwi r5, 0 +/* 802CBED8 002C8E38 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CBEDC 002C8E3C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802CBEE0 002C8E40 7C 7F 1B 78 */ mr r31, r3 +/* 802CBEE4 002C8E44 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802CBEE8 002C8E48 90 83 00 C8 */ stw r4, 0xc8(r3) +/* 802CBEEC 002C8E4C 41 82 01 80 */ beq lbl_802CC06C +/* 802CBEF0 002C8E50 80 9F 00 C8 */ lwz r4, 0xc8(r31) +/* 802CBEF4 002C8E54 3C 04 00 01 */ addis r0, r4, 1 +/* 802CBEF8 002C8E58 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CBEFC 002C8E5C 41 82 00 B4 */ beq lbl_802CBFB0 +/* 802CBF00 002C8E60 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 802CBF04 002C8E64 90 81 00 14 */ stw r4, 0x14(r1) +/* 802CBF08 002C8E68 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 802CBF0C 002C8E6C 7C A4 2B 78 */ mr r4, r5 +/* 802CBF10 002C8E70 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CBF14 002C8E74 38 61 00 08 */ addi r3, r1, 8 +/* 802CBF18 002C8E78 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802CBF1C 002C8E7C 81 84 00 00 */ lwz r12, 0(r4) +/* 802CBF20 002C8E80 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802CBF24 002C8E84 7D 89 03 A6 */ mtctr r12 +/* 802CBF28 002C8E88 4E 80 04 21 */ bctrl +/* 802CBF2C 002C8E8C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CBF30 002C8E90 38 81 00 08 */ addi r4, r1, 8 +/* 802CBF34 002C8E94 48 07 4F 75 */ bl __ct__6CTokenFRC6CToken +/* 802CBF38 002C8E98 38 00 00 00 */ li r0, 0 +/* 802CBF3C 002C8E9C 90 01 00 30 */ stw r0, 0x30(r1) +/* 802CBF40 002C8EA0 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CBF44 002C8EA4 28 00 00 00 */ cmplwi r0, 0 +/* 802CBF48 002C8EA8 40 82 00 2C */ bne lbl_802CBF74 +/* 802CBF4C 002C8EAC 37 DF 00 B8 */ addic. r30, r31, 0xb8 +/* 802CBF50 002C8EB0 41 82 00 18 */ beq lbl_802CBF68 +/* 802CBF54 002C8EB4 7F C3 F3 78 */ mr r3, r30 +/* 802CBF58 002C8EB8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CBF5C 002C8EBC 48 07 4F 4D */ bl __ct__6CTokenFRC6CToken +/* 802CBF60 002C8EC0 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CBF64 002C8EC4 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBF68: +/* 802CBF68 002C8EC8 38 00 00 01 */ li r0, 1 +/* 802CBF6C 002C8ECC 98 1F 00 C4 */ stb r0, 0xc4(r31) +/* 802CBF70 002C8ED0 48 00 00 1C */ b lbl_802CBF8C +lbl_802CBF74: +/* 802CBF74 002C8ED4 3B DF 00 B8 */ addi r30, r31, 0xb8 +/* 802CBF78 002C8ED8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CBF7C 002C8EDC 7F C3 F3 78 */ mr r3, r30 +/* 802CBF80 002C8EE0 48 07 4D 45 */ bl __as__6CTokenFRC6CToken +/* 802CBF84 002C8EE4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CBF88 002C8EE8 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBF8C: +/* 802CBF8C 002C8EEC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CBF90 002C8EF0 38 80 00 00 */ li r4, 0 +/* 802CBF94 002C8EF4 48 07 4E AD */ bl __dt__6CTokenFv +/* 802CBF98 002C8EF8 38 61 00 08 */ addi r3, r1, 8 +/* 802CBF9C 002C8EFC 38 80 FF FF */ li r4, -1 +/* 802CBFA0 002C8F00 48 07 4E A1 */ bl __dt__6CTokenFv +/* 802CBFA4 002C8F04 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 802CBFA8 002C8F08 48 07 4D DD */ bl Lock__6CTokenFv +/* 802CBFAC 002C8F0C 48 00 00 C0 */ b lbl_802CC06C +lbl_802CBFB0: +/* 802CBFB0 002C8F10 3B DF 00 B8 */ addi r30, r31, 0xb8 +/* 802CBFB4 002C8F14 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CBFB8 002C8F18 38 00 00 00 */ li r0, 0 +/* 802CBFBC 002C8F1C 7C 1E 20 40 */ cmplw r30, r4 +/* 802CBFC0 002C8F20 98 01 00 24 */ stb r0, 0x24(r1) +/* 802CBFC4 002C8F24 41 82 00 7C */ beq lbl_802CC040 +/* 802CBFC8 002C8F28 28 00 00 00 */ cmplwi r0, 0 +/* 802CBFCC 002C8F2C 41 82 00 48 */ beq lbl_802CC014 +/* 802CBFD0 002C8F30 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CBFD4 002C8F34 28 00 00 00 */ cmplwi r0, 0 +/* 802CBFD8 002C8F38 40 82 00 28 */ bne lbl_802CC000 +/* 802CBFDC 002C8F3C 37 DF 00 B8 */ addic. r30, r31, 0xb8 +/* 802CBFE0 002C8F40 41 82 00 14 */ beq lbl_802CBFF4 +/* 802CBFE4 002C8F44 7F C3 F3 78 */ mr r3, r30 +/* 802CBFE8 002C8F48 48 07 4E C1 */ bl __ct__6CTokenFRC6CToken +/* 802CBFEC 002C8F4C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802CBFF0 002C8F50 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBFF4: +/* 802CBFF4 002C8F54 38 00 00 01 */ li r0, 1 +/* 802CBFF8 002C8F58 98 1F 00 C4 */ stb r0, 0xc4(r31) +/* 802CBFFC 002C8F5C 48 00 00 44 */ b lbl_802CC040 +lbl_802CC000: +/* 802CC000 002C8F60 7F C3 F3 78 */ mr r3, r30 +/* 802CC004 002C8F64 48 07 4C C1 */ bl __as__6CTokenFRC6CToken +/* 802CC008 002C8F68 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802CC00C 002C8F6C 90 1E 00 08 */ stw r0, 8(r30) +/* 802CC010 002C8F70 48 00 00 30 */ b lbl_802CC040 +lbl_802CC014: +/* 802CC014 002C8F74 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CC018 002C8F78 28 00 00 00 */ cmplwi r0, 0 +/* 802CC01C 002C8F7C 41 82 00 1C */ beq lbl_802CC038 +/* 802CC020 002C8F80 34 7F 00 B8 */ addic. r3, r31, 0xb8 +/* 802CC024 002C8F84 41 82 00 14 */ beq lbl_802CC038 +/* 802CC028 002C8F88 28 03 00 00 */ cmplwi r3, 0 +/* 802CC02C 002C8F8C 41 82 00 0C */ beq lbl_802CC038 +/* 802CC030 002C8F90 38 80 00 00 */ li r4, 0 +/* 802CC034 002C8F94 48 07 4E 0D */ bl __dt__6CTokenFv +lbl_802CC038: +/* 802CC038 002C8F98 38 00 00 00 */ li r0, 0 +/* 802CC03C 002C8F9C 98 1F 00 C4 */ stb r0, 0xc4(r31) +lbl_802CC040: +/* 802CC040 002C8FA0 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802CC044 002C8FA4 28 00 00 00 */ cmplwi r0, 0 +/* 802CC048 002C8FA8 41 82 00 1C */ beq lbl_802CC064 +/* 802CC04C 002C8FAC 34 61 00 18 */ addic. r3, r1, 0x18 +/* 802CC050 002C8FB0 41 82 00 14 */ beq lbl_802CC064 +/* 802CC054 002C8FB4 28 03 00 00 */ cmplwi r3, 0 +/* 802CC058 002C8FB8 41 82 00 0C */ beq lbl_802CC064 +/* 802CC05C 002C8FBC 38 80 00 00 */ li r4, 0 +/* 802CC060 002C8FC0 48 07 4D E1 */ bl __dt__6CTokenFv +lbl_802CC064: +/* 802CC064 002C8FC4 38 00 00 00 */ li r0, 0 +/* 802CC068 002C8FC8 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802CC06C: +/* 802CC06C 002C8FCC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CC070 002C8FD0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CC074 002C8FD4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802CC078 002C8FD8 7C 08 03 A6 */ mtlr r0 +/* 802CC07C 002C8FDC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CC080 002C8FE0 4E 80 00 20 */ blr + +.global DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb: +/* 802CC084 002C8FE4 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802CC088 002C8FE8 7C 08 02 A6 */ mflr r0 +/* 802CC08C 002C8FEC 90 01 01 54 */ stw r0, 0x154(r1) +/* 802CC090 002C8FF0 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 802CC094 002C8FF4 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 802CC098 002C8FF8 DB C1 01 30 */ stfd f30, 0x130(r1) +/* 802CC09C 002C8FFC F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 +/* 802CC0A0 002C9000 DB A1 01 20 */ stfd f29, 0x120(r1) +/* 802CC0A4 002C9004 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 +/* 802CC0A8 002C9008 DB 81 01 10 */ stfd f28, 0x110(r1) +/* 802CC0AC 002C900C F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 +/* 802CC0B0 002C9010 DB 61 01 00 */ stfd f27, 0x100(r1) +/* 802CC0B4 002C9014 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 +/* 802CC0B8 002C9018 BF 61 00 EC */ stmw r27, 0xec(r1) +/* 802CC0BC 002C901C 89 04 00 03 */ lbz r8, 3(r4) +/* 802CC0C0 002C9020 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC0C4 002C9024 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 802CC0C8 002C9028 FF E0 08 90 */ fmr f31, f1 +/* 802CC0CC 002C902C C8 22 C4 50 */ lfd f1, lbl_805AE170@sda21(r2) +/* 802CC0D0 002C9030 7C 7C 1B 78 */ mr r28, r3 +/* 802CC0D4 002C9034 91 01 00 A4 */ stw r8, 0xa4(r1) +/* 802CC0D8 002C9038 7C BD 2B 78 */ mr r29, r5 +/* 802CC0DC 002C903C 7C DF 33 78 */ mr r31, r6 +/* 802CC0E0 002C9040 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 802CC0E4 002C9044 7C FE 3B 78 */ mr r30, r7 +/* 802CC0E8 002C9048 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC0EC 002C904C EC 5F 00 32 */ fmuls f2, f31, f0 +/* 802CC0F0 002C9050 F0 41 A0 08 */ psq_st f2, 8(r1), 1, qr2 +/* 802CC0F4 002C9054 38 00 00 00 */ li r0, 0 +/* 802CC0F8 002C9058 80 C4 00 00 */ lwz r6, 0(r4) +/* 802CC0FC 002C905C 38 7C 01 38 */ addi r3, r28, 0x138 +/* 802CC100 002C9060 88 A1 00 08 */ lbz r5, 8(r1) +/* 802CC104 002C9064 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 +/* 802CC108 002C9068 50 C5 00 2E */ rlwimi r5, r6, 0, 0, 0x17 +/* 802CC10C 002C906C 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC110 002C9070 90 A1 00 24 */ stw r5, 0x24(r1) +/* 802CC114 002C9074 48 04 7D F5 */ bl __eq__FRC9CVector2fRC9CVector2f +/* 802CC118 002C9078 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CC11C 002C907C 40 82 01 D4 */ bne lbl_802CC2F0 +/* 802CC120 002C9080 80 BC 00 C0 */ lwz r5, 0xc0(r28) +/* 802CC124 002C9084 3C 80 43 30 */ lis r4, 0x4330 +/* 802CC128 002C9088 90 81 00 A0 */ stw r4, 0xa0(r1) +/* 802CC12C 002C908C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802CC130 002C9090 A8 05 00 04 */ lha r0, 4(r5) +/* 802CC134 002C9094 A8 C5 00 06 */ lha r6, 6(r5) +/* 802CC138 002C9098 6C 05 80 00 */ xoris r5, r0, 0x8000 +/* 802CC13C 002C909C C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) +/* 802CC140 002C90A0 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 802CC144 002C90A4 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 802CC148 002C90A8 C0 BC 01 38 */ lfs f5, 0x138(r28) +/* 802CC14C 002C90AC C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 802CC150 002C90B0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802CC154 002C90B4 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC158 002C90B8 C0 DC 01 3C */ lfs f6, 0x13c(r28) +/* 802CC15C 002C90BC 90 81 00 B0 */ stw r4, 0xb0(r1) +/* 802CC160 002C90C0 EC 60 28 24 */ fdivs f3, f0, f5 +/* 802CC164 002C90C4 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802CC168 002C90C8 90 A1 00 C4 */ stw r5, 0xc4(r1) +/* 802CC16C 002C90CC 90 81 00 C0 */ stw r4, 0xc0(r1) +/* 802CC170 002C90D0 C8 21 00 C0 */ lfd f1, 0xc0(r1) +/* 802CC174 002C90D4 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802CC178 002C90D8 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802CC17C 002C90DC 90 81 00 C8 */ stw r4, 0xc8(r1) +/* 802CC180 002C90E0 FC 60 18 1E */ fctiwz f3, f3 +/* 802CC184 002C90E4 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802CC188 002C90E8 EC 21 20 28 */ fsubs f1, f1, f4 +/* 802CC18C 002C90EC EC 42 30 24 */ fdivs f2, f2, f6 +/* 802CC190 002C90F0 D8 61 00 A8 */ stfd f3, 0xa8(r1) +/* 802CC194 002C90F4 80 A1 00 AC */ lwz r5, 0xac(r1) +/* 802CC198 002C90F8 90 81 00 D0 */ stw r4, 0xd0(r1) +/* 802CC19C 002C90FC 7C 1F 2B D6 */ divw r0, r31, r5 +/* 802CC1A0 002C9100 90 81 00 D8 */ stw r4, 0xd8(r1) +/* 802CC1A4 002C9104 FC 40 10 1E */ fctiwz f2, f2 +/* 802CC1A8 002C9108 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC1AC 002C910C EC 65 08 24 */ fdivs f3, f5, f1 +/* 802CC1B0 002C9110 D8 41 00 B8 */ stfd f2, 0xb8(r1) +/* 802CC1B4 002C9114 80 C1 00 BC */ lwz r6, 0xbc(r1) +/* 802CC1B8 002C9118 7C 80 29 D6 */ mullw r4, r0, r5 +/* 802CC1BC 002C911C 7C 1F 33 D6 */ divw r0, r31, r6 +/* 802CC1C0 002C9120 7C 84 F8 50 */ subf r4, r4, r31 +/* 802CC1C4 002C9124 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802CC1C8 002C9128 EC A6 00 24 */ fdivs f5, f6, f0 +/* 802CC1CC 002C912C 90 81 00 D4 */ stw r4, 0xd4(r1) +/* 802CC1D0 002C9130 C8 21 00 D0 */ lfd f1, 0xd0(r1) +/* 802CC1D4 002C9134 7C 00 30 50 */ subf r0, r0, r6 +/* 802CC1D8 002C9138 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CC1DC 002C913C 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802CC1E0 002C9140 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802CC1E4 002C9144 EC 21 20 28 */ fsubs f1, f1, f4 +/* 802CC1E8 002C9148 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC1EC 002C914C EF C3 00 72 */ fmuls f30, f3, f1 +/* 802CC1F0 002C9150 EF A5 00 32 */ fmuls f29, f5, f0 +/* 802CC1F4 002C9154 FC 20 F0 90 */ fmr f1, f30 +/* 802CC1F8 002C9158 EF 9E 18 2A */ fadds f28, f30, f3 +/* 802CC1FC 002C915C FC 40 E8 90 */ fmr f2, f29 +/* 802CC200 002C9160 EF 7D 28 28 */ fsubs f27, f29, f5 +/* 802CC204 002C9164 48 04 7F FD */ bl __ct__9CVector2fFff +/* 802CC208 002C9168 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC20C 002C916C 3B E1 00 7C */ addi r31, r1, 0x7c +/* 802CC210 002C9170 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC214 002C9174 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC218 002C9178 41 82 00 14 */ beq lbl_802CC22C +/* 802CC21C 002C917C C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802CC220 002C9180 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802CC224 002C9184 D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC228 002C9188 D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC22C: +/* 802CC22C 002C918C 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802CC230 002C9190 FC 20 F0 90 */ fmr f1, f30 +/* 802CC234 002C9194 FC 40 D8 90 */ fmr f2, f27 +/* 802CC238 002C9198 38 61 00 50 */ addi r3, r1, 0x50 +/* 802CC23C 002C919C 38 04 00 01 */ addi r0, r4, 1 +/* 802CC240 002C91A0 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC244 002C91A4 48 04 7F BD */ bl __ct__9CVector2fFff +/* 802CC248 002C91A8 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC24C 002C91AC 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC250 002C91B0 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC254 002C91B4 41 82 00 14 */ beq lbl_802CC268 +/* 802CC258 002C91B8 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802CC25C 002C91BC C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802CC260 002C91C0 D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC264 002C91C4 D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC268: +/* 802CC268 002C91C8 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802CC26C 002C91CC FC 20 E0 90 */ fmr f1, f28 +/* 802CC270 002C91D0 FC 40 E8 90 */ fmr f2, f29 +/* 802CC274 002C91D4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CC278 002C91D8 38 04 00 01 */ addi r0, r4, 1 +/* 802CC27C 002C91DC 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC280 002C91E0 48 04 7F 81 */ bl __ct__9CVector2fFff +/* 802CC284 002C91E4 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC288 002C91E8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC28C 002C91EC 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC290 002C91F0 41 82 00 14 */ beq lbl_802CC2A4 +/* 802CC294 002C91F4 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802CC298 002C91F8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802CC29C 002C91FC D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC2A0 002C9200 D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC2A4: +/* 802CC2A4 002C9204 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802CC2A8 002C9208 FC 20 E0 90 */ fmr f1, f28 +/* 802CC2AC 002C920C FC 40 D8 90 */ fmr f2, f27 +/* 802CC2B0 002C9210 38 61 00 40 */ addi r3, r1, 0x40 +/* 802CC2B4 002C9214 38 04 00 01 */ addi r0, r4, 1 +/* 802CC2B8 002C9218 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC2BC 002C921C 48 04 7F 45 */ bl __ct__9CVector2fFff +/* 802CC2C0 002C9220 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC2C4 002C9224 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC2C8 002C9228 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC2CC 002C922C 41 82 00 14 */ beq lbl_802CC2E0 +/* 802CC2D0 002C9230 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 802CC2D4 002C9234 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802CC2D8 002C9238 D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC2DC 002C923C D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC2E0: +/* 802CC2E0 002C9240 80 61 00 78 */ lwz r3, 0x78(r1) +/* 802CC2E4 002C9244 38 03 00 01 */ addi r0, r3, 1 +/* 802CC2E8 002C9248 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC2EC 002C924C 48 00 00 08 */ b lbl_802CC2F4 +lbl_802CC2F0: +/* 802CC2F0 002C9250 3B FC 01 18 */ addi r31, r28, 0x118 +lbl_802CC2F4: +/* 802CC2F4 002C9254 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802CC2F8 002C9258 41 82 00 DC */ beq lbl_802CC3D4 +/* 802CC2FC 002C925C 3C 80 80 5A */ lis r4, lbl_805A5FEC@ha +/* 802CC300 002C9260 38 60 00 00 */ li r3, 0 +/* 802CC304 002C9264 38 84 5F EC */ addi r4, r4, lbl_805A5FEC@l +/* 802CC308 002C9268 48 03 DF B1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC30C 002C926C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802CC310 002C9270 38 60 00 01 */ li r3, 1 +/* 802CC314 002C9274 48 03 DF A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC318 002C9278 7F A3 EB 78 */ mr r3, r29 +/* 802CC31C 002C927C 38 80 00 00 */ li r4, 0 +/* 802CC320 002C9280 38 A0 00 01 */ li r5, 1 +/* 802CC324 002C9284 48 04 34 19 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC328 002C9288 38 60 00 98 */ li r3, 0x98 +/* 802CC32C 002C928C 48 03 F3 3D */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 802CC330 002C9290 38 61 00 24 */ addi r3, r1, 0x24 +/* 802CC334 002C9294 48 03 F2 15 */ bl StreamColor__9CGraphicsFRC6CColor +/* 802CC338 002C9298 7F FD FB 78 */ mr r29, r31 +/* 802CC33C 002C929C 3B DC 00 E4 */ addi r30, r28, 0xe4 +/* 802CC340 002C92A0 3B E0 00 00 */ li r31, 0 +lbl_802CC344: +/* 802CC344 002C92A4 7F A4 EB 78 */ mr r4, r29 +/* 802CC348 002C92A8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802CC34C 002C92AC 38 BC 00 D0 */ addi r5, r28, 0xd0 +/* 802CC350 002C92B0 48 04 7C 21 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 802CC354 002C92B4 38 61 00 38 */ addi r3, r1, 0x38 +/* 802CC358 002C92B8 48 03 F1 3D */ bl StreamTexcoord__9CGraphicsFRC9CVector2f +/* 802CC35C 002C92BC 7F C3 F3 78 */ mr r3, r30 +/* 802CC360 002C92C0 48 03 F2 61 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CC364 002C92C4 3B FF 00 01 */ addi r31, r31, 1 +/* 802CC368 002C92C8 3B DE 00 0C */ addi r30, r30, 0xc +/* 802CC36C 002C92CC 2C 1F 00 04 */ cmpwi r31, 4 +/* 802CC370 002C92D0 3B BD 00 08 */ addi r29, r29, 8 +/* 802CC374 002C92D4 41 80 FF D0 */ blt lbl_802CC344 +/* 802CC378 002C92D8 48 03 F0 99 */ bl StreamEnd__9CGraphicsFv +/* 802CC37C 002C92DC 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 802CC380 002C92E0 38 60 00 00 */ li r3, 0 +/* 802CC384 002C92E4 2C 05 00 00 */ cmpwi r5, 0 +/* 802CC388 002C92E8 40 81 00 40 */ ble lbl_802CC3C8 +/* 802CC38C 002C92EC 2C 05 00 08 */ cmpwi r5, 8 +/* 802CC390 002C92F0 38 85 FF F8 */ addi r4, r5, -8 +/* 802CC394 002C92F4 40 81 00 20 */ ble lbl_802CC3B4 +/* 802CC398 002C92F8 38 04 00 07 */ addi r0, r4, 7 +/* 802CC39C 002C92FC 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CC3A0 002C9300 7C 09 03 A6 */ mtctr r0 +/* 802CC3A4 002C9304 2C 04 00 00 */ cmpwi r4, 0 +/* 802CC3A8 002C9308 40 81 00 0C */ ble lbl_802CC3B4 +lbl_802CC3AC: +/* 802CC3AC 002C930C 38 63 00 08 */ addi r3, r3, 8 +/* 802CC3B0 002C9310 42 00 FF FC */ bdnz lbl_802CC3AC +lbl_802CC3B4: +/* 802CC3B4 002C9314 7C 03 28 50 */ subf r0, r3, r5 +/* 802CC3B8 002C9318 7C 09 03 A6 */ mtctr r0 +/* 802CC3BC 002C931C 7C 03 28 00 */ cmpw r3, r5 +/* 802CC3C0 002C9320 40 80 00 08 */ bge lbl_802CC3C8 +lbl_802CC3C4: +/* 802CC3C4 002C9324 42 00 00 00 */ bdnz lbl_802CC3C4 +lbl_802CC3C8: +/* 802CC3C8 002C9328 38 00 00 00 */ li r0, 0 +/* 802CC3CC 002C932C 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC3D0 002C9330 48 00 04 28 */ b lbl_802CC7F8 +lbl_802CC3D4: +/* 802CC3D4 002C9334 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CC3D8 002C9338 C0 3C 01 4C */ lfs f1, 0x14c(r28) +/* 802CC3DC 002C933C 88 7D 00 08 */ lbz r3, 8(r29) +/* 802CC3E0 002C9340 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802CC3E4 002C9344 7C 63 07 74 */ extsb r3, r3 +/* 802CC3E8 002C9348 40 82 00 10 */ bne lbl_802CC3F8 +/* 802CC3EC 002C934C C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) +/* 802CC3F0 002C9350 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 802CC3F4 002C9354 41 82 00 0C */ beq lbl_802CC400 +lbl_802CC3F8: +/* 802CC3F8 002C9358 2C 03 00 01 */ cmpwi r3, 1 +/* 802CC3FC 002C935C 40 82 00 8C */ bne lbl_802CC488 +lbl_802CC400: +/* 802CC400 002C9360 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 802CC404 002C9364 38 60 00 00 */ li r3, 0 +/* 802CC408 002C9368 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 802CC40C 002C936C 48 03 DE AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC410 002C9370 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802CC414 002C9374 38 60 00 01 */ li r3, 1 +/* 802CC418 002C9378 48 03 DE A1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC41C 002C937C 7F A3 EB 78 */ mr r3, r29 +/* 802CC420 002C9380 38 80 00 00 */ li r4, 0 +/* 802CC424 002C9384 38 A0 00 00 */ li r5, 0 +/* 802CC428 002C9388 38 C0 00 01 */ li r6, 1 +/* 802CC42C 002C938C 48 04 2F 6D */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC430 002C9390 38 60 00 98 */ li r3, 0x98 +/* 802CC434 002C9394 48 03 F2 35 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 802CC438 002C9398 38 61 00 24 */ addi r3, r1, 0x24 +/* 802CC43C 002C939C 48 03 F1 0D */ bl StreamColor__9CGraphicsFRC6CColor +/* 802CC440 002C93A0 7F FD FB 78 */ mr r29, r31 +/* 802CC444 002C93A4 3B DC 00 E4 */ addi r30, r28, 0xe4 +/* 802CC448 002C93A8 3B E0 00 00 */ li r31, 0 +lbl_802CC44C: +/* 802CC44C 002C93AC 7F A4 EB 78 */ mr r4, r29 +/* 802CC450 002C93B0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CC454 002C93B4 38 BC 00 D0 */ addi r5, r28, 0xd0 +/* 802CC458 002C93B8 48 04 7B 19 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 802CC45C 002C93BC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CC460 002C93C0 48 03 F0 35 */ bl StreamTexcoord__9CGraphicsFRC9CVector2f +/* 802CC464 002C93C4 7F C3 F3 78 */ mr r3, r30 +/* 802CC468 002C93C8 48 03 F1 59 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CC46C 002C93CC 3B FF 00 01 */ addi r31, r31, 1 +/* 802CC470 002C93D0 3B DE 00 0C */ addi r30, r30, 0xc +/* 802CC474 002C93D4 2C 1F 00 04 */ cmpwi r31, 4 +/* 802CC478 002C93D8 3B BD 00 08 */ addi r29, r29, 8 +/* 802CC47C 002C93DC 41 80 FF D0 */ blt lbl_802CC44C +/* 802CC480 002C93E0 48 03 EF 91 */ bl StreamEnd__9CGraphicsFv +/* 802CC484 002C93E4 48 00 03 20 */ b lbl_802CC7A4 +lbl_802CC488: +/* 802CC488 002C93E8 C0 62 C4 4C */ lfs f3, lbl_805AE16C@sda21(r2) +/* 802CC48C 002C93EC 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC490 002C93F0 38 A3 FF FF */ addi r5, r3, -1 +/* 802CC494 002C93F4 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802CC498 002C93F8 EC 03 08 28 */ fsubs f0, f3, f1 +/* 802CC49C 002C93FC 6C A3 80 00 */ xoris r3, r5, 0x8000 +/* 802CC4A0 002C9400 90 61 00 DC */ stw r3, 0xdc(r1) +/* 802CC4A4 002C9404 C8 22 C4 58 */ lfd f1, lbl_805AE178@sda21(r2) +/* 802CC4A8 002C9408 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 802CC4AC 002C940C C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802CC4B0 002C9410 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802CC4B4 002C9414 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC4B8 002C9418 EC 44 01 32 */ fmuls f2, f4, f4 +/* 802CC4BC 002C941C EC 44 18 BC */ fnmsubs f2, f4, f2, f3 +/* 802CC4C0 002C9420 EC 62 00 32 */ fmuls f3, f2, f0 +/* 802CC4C4 002C9424 FC 00 18 1E */ fctiwz f0, f3 +/* 802CC4C8 002C9428 D8 01 00 D0 */ stfd f0, 0xd0(r1) +/* 802CC4CC 002C942C 80 81 00 D4 */ lwz r4, 0xd4(r1) +/* 802CC4D0 002C9430 7C 04 2B D6 */ divw r0, r4, r5 +/* 802CC4D4 002C9434 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CC4D8 002C9438 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802CC4DC 002C943C C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802CC4E0 002C9440 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC4E4 002C9444 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 802CC4E8 002C9448 40 82 00 0C */ bne lbl_802CC4F4 +/* 802CC4EC 002C944C 7C 9E 23 78 */ mr r30, r4 +/* 802CC4F0 002C9450 48 00 00 08 */ b lbl_802CC4F8 +lbl_802CC4F4: +/* 802CC4F4 002C9454 3B C4 00 01 */ addi r30, r4, 1 +lbl_802CC4F8: +/* 802CC4F8 002C9458 6C 83 80 00 */ xoris r3, r4, 0x8000 +/* 802CC4FC 002C945C 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC500 002C9460 90 61 00 C4 */ stw r3, 0xc4(r1) +/* 802CC504 002C9464 7F A3 EB 78 */ mr r3, r29 +/* 802CC508 002C9468 C8 42 C4 58 */ lfd f2, lbl_805AE178@sda21(r2) +/* 802CC50C 002C946C 38 A0 00 00 */ li r5, 0 +/* 802CC510 002C9470 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 802CC514 002C9474 38 C0 00 01 */ li r6, 1 +/* 802CC518 002C9478 C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) +/* 802CC51C 002C947C C8 21 00 C0 */ lfd f1, 0xc0(r1) +/* 802CC520 002C9480 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802CC524 002C9484 EF 63 08 28 */ fsubs f27, f3, f1 +/* 802CC528 002C9488 EF 80 D8 28 */ fsubs f28, f0, f27 +/* 802CC52C 002C948C 48 04 2E 6D */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC530 002C9490 7F A3 EB 78 */ mr r3, r29 +/* 802CC534 002C9494 7F C4 F3 78 */ mr r4, r30 +/* 802CC538 002C9498 38 A0 00 01 */ li r5, 1 +/* 802CC53C 002C949C 38 C0 00 01 */ li r6, 1 +/* 802CC540 002C94A0 48 04 2E 59 */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC544 002C94A4 3C 80 80 3D */ lis r4, lbl_803D69C8@ha +/* 802CC548 002C94A8 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CC54C 002C94AC 39 24 69 C8 */ addi r9, r4, lbl_803D69C8@l +/* 802CC550 002C94B0 81 09 00 00 */ lwz r8, 0(r9) +/* 802CC554 002C94B4 80 E9 00 04 */ lwz r7, 4(r9) +/* 802CC558 002C94B8 80 C9 00 08 */ lwz r6, 8(r9) +/* 802CC55C 002C94BC 80 A9 00 0C */ lwz r5, 0xc(r9) +/* 802CC560 002C94C0 80 89 00 10 */ lwz r4, 0x10(r9) +/* 802CC564 002C94C4 80 09 00 14 */ lwz r0, 0x14(r9) +/* 802CC568 002C94C8 91 01 00 60 */ stw r8, 0x60(r1) +/* 802CC56C 002C94CC 90 E1 00 64 */ stw r7, 0x64(r1) +/* 802CC570 002C94D0 90 C1 00 68 */ stw r6, 0x68(r1) +/* 802CC574 002C94D4 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 802CC578 002C94D8 90 81 00 70 */ stw r4, 0x70(r1) +/* 802CC57C 002C94DC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802CC580 002C94E0 48 03 B8 A9 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802CC584 002C94E4 38 60 00 00 */ li r3, 0 +/* 802CC588 002C94E8 48 03 C8 C9 */ bl SetNumChans__3CGXFUc +/* 802CC58C 002C94EC 38 60 00 02 */ li r3, 2 +/* 802CC590 002C94F0 48 03 C8 85 */ bl SetNumTexGens__3CGXFUc +/* 802CC594 002C94F4 38 60 00 02 */ li r3, 2 +/* 802CC598 002C94F8 48 03 C6 F9 */ bl SetNumTevStages__3CGXFUc +/* 802CC59C 002C94FC 3B A0 00 00 */ li r29, 0 +lbl_802CC5A0: +/* 802CC5A0 002C9500 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CC5A4 002C9504 38 E0 00 00 */ li r7, 0 +/* 802CC5A8 002C9508 40 82 00 08 */ bne lbl_802CC5B0 +/* 802CC5AC 002C950C 38 E0 00 0F */ li r7, 0xf +lbl_802CC5B0: +/* 802CC5B0 002C9510 7F A3 EB 78 */ mr r3, r29 +/* 802CC5B4 002C9514 38 80 00 0F */ li r4, 0xf +/* 802CC5B8 002C9518 38 A0 00 08 */ li r5, 8 +/* 802CC5BC 002C951C 38 C0 00 0E */ li r6, 0xe +/* 802CC5C0 002C9520 48 03 C6 2D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802CC5C4 002C9524 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CC5C8 002C9528 7F A3 EB 78 */ mr r3, r29 +/* 802CC5CC 002C952C 38 80 00 07 */ li r4, 7 +/* 802CC5D0 002C9530 38 A0 00 04 */ li r5, 4 +/* 802CC5D4 002C9534 38 C0 00 06 */ li r6, 6 +/* 802CC5D8 002C9538 38 E0 00 00 */ li r7, 0 +/* 802CC5DC 002C953C 40 82 00 08 */ bne lbl_802CC5E4 +/* 802CC5E0 002C9540 38 E0 00 07 */ li r7, 7 +lbl_802CC5E4: +/* 802CC5E4 002C9544 48 03 C5 B1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802CC5E8 002C9548 7F A3 EB 78 */ mr r3, r29 +/* 802CC5EC 002C954C 38 80 00 00 */ li r4, 0 +/* 802CC5F0 002C9550 38 A0 00 00 */ li r5, 0 +/* 802CC5F4 002C9554 38 C0 00 00 */ li r6, 0 +/* 802CC5F8 002C9558 38 E0 00 01 */ li r7, 1 +/* 802CC5FC 002C955C 39 00 00 00 */ li r8, 0 +/* 802CC600 002C9560 48 03 C5 39 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802CC604 002C9564 7F A3 EB 78 */ mr r3, r29 +/* 802CC608 002C9568 38 80 00 00 */ li r4, 0 +/* 802CC60C 002C956C 38 A0 00 00 */ li r5, 0 +/* 802CC610 002C9570 38 C0 00 00 */ li r6, 0 +/* 802CC614 002C9574 38 E0 00 01 */ li r7, 1 +/* 802CC618 002C9578 39 00 00 00 */ li r8, 0 +/* 802CC61C 002C957C 48 03 C4 65 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802CC620 002C9580 3B BD 00 01 */ addi r29, r29, 1 +/* 802CC624 002C9584 2C 1D 00 02 */ cmpwi r29, 2 +/* 802CC628 002C9588 41 80 FF 78 */ blt lbl_802CC5A0 +/* 802CC62C 002C958C 38 60 00 00 */ li r3, 0 +/* 802CC630 002C9590 38 80 00 1C */ li r4, 0x1c +/* 802CC634 002C9594 48 03 C3 69 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802CC638 002C9598 38 60 00 00 */ li r3, 0 +/* 802CC63C 002C959C 38 80 00 0C */ li r4, 0xc +/* 802CC640 002C95A0 48 03 C3 A1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802CC644 002C95A4 38 60 00 01 */ li r3, 1 +/* 802CC648 002C95A8 38 80 00 1D */ li r4, 0x1d +/* 802CC64C 002C95AC 48 03 C3 51 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802CC650 002C95B0 38 60 00 01 */ li r3, 1 +/* 802CC654 002C95B4 38 80 00 0D */ li r4, 0xd +/* 802CC658 002C95B8 48 03 C3 89 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802CC65C 002C95BC FC 20 E0 90 */ fmr f1, f28 +/* 802CC660 002C95C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CC664 002C95C4 FC 40 E0 90 */ fmr f2, f28 +/* 802CC668 002C95C8 FC 60 E0 90 */ fmr f3, f28 +/* 802CC66C 002C95CC FC 80 E0 90 */ fmr f4, f28 +/* 802CC670 002C95D0 48 09 6D 7D */ bl __ct__6CColorFffff +/* 802CC674 002C95D4 7C 65 1B 78 */ mr r5, r3 +/* 802CC678 002C95D8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CC67C 002C95DC 38 81 00 24 */ addi r4, r1, 0x24 +/* 802CC680 002C95E0 48 09 6A F9 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CC684 002C95E4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802CC688 002C95E8 FC 20 D8 90 */ fmr f1, f27 +/* 802CC68C 002C95EC FC 40 D8 90 */ fmr f2, f27 +/* 802CC690 002C95F0 38 61 00 0C */ addi r3, r1, 0xc +/* 802CC694 002C95F4 FC 60 D8 90 */ fmr f3, f27 +/* 802CC698 002C95F8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802CC69C 002C95FC FC 80 D8 90 */ fmr f4, f27 +/* 802CC6A0 002C9600 48 09 6D 4D */ bl __ct__6CColorFffff +/* 802CC6A4 002C9604 7C 65 1B 78 */ mr r5, r3 +/* 802CC6A8 002C9608 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CC6AC 002C960C 38 81 00 24 */ addi r4, r1, 0x24 +/* 802CC6B0 002C9610 48 09 6A C9 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CC6B4 002C9614 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802CC6B8 002C9618 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CC6BC 002C961C 38 60 00 00 */ li r3, 0 +/* 802CC6C0 002C9620 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802CC6C4 002C9624 48 03 C5 81 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802CC6C8 002C9628 38 81 00 1C */ addi r4, r1, 0x1c +/* 802CC6CC 002C962C 38 60 00 01 */ li r3, 1 +/* 802CC6D0 002C9630 48 03 C5 75 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802CC6D4 002C9634 38 60 00 00 */ li r3, 0 +/* 802CC6D8 002C9638 38 80 00 00 */ li r4, 0 +/* 802CC6DC 002C963C 38 A0 00 00 */ li r5, 0 +/* 802CC6E0 002C9640 38 C0 00 FF */ li r6, 0xff +/* 802CC6E4 002C9644 48 03 C2 69 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802CC6E8 002C9648 38 60 00 01 */ li r3, 1 +/* 802CC6EC 002C964C 38 80 00 01 */ li r4, 1 +/* 802CC6F0 002C9650 38 A0 00 01 */ li r5, 1 +/* 802CC6F4 002C9654 38 C0 00 FF */ li r6, 0xff +/* 802CC6F8 002C9658 48 03 C2 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802CC6FC 002C965C 38 60 00 00 */ li r3, 0 +/* 802CC700 002C9660 38 80 00 01 */ li r4, 1 +/* 802CC704 002C9664 38 A0 00 04 */ li r5, 4 +/* 802CC708 002C9668 38 C0 00 3C */ li r6, 0x3c +/* 802CC70C 002C966C 38 E0 00 00 */ li r7, 0 +/* 802CC710 002C9670 39 00 00 7D */ li r8, 0x7d +/* 802CC714 002C9674 48 03 BF B9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802CC718 002C9678 38 60 00 01 */ li r3, 1 +/* 802CC71C 002C967C 38 80 00 01 */ li r4, 1 +/* 802CC720 002C9680 38 A0 00 04 */ li r5, 4 +/* 802CC724 002C9684 38 C0 00 3C */ li r6, 0x3c +/* 802CC728 002C9688 38 E0 00 00 */ li r7, 0 +/* 802CC72C 002C968C 39 00 00 7D */ li r8, 0x7d +/* 802CC730 002C9690 48 03 BF 9D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802CC734 002C9694 38 60 00 98 */ li r3, 0x98 +/* 802CC738 002C9698 38 80 00 00 */ li r4, 0 +/* 802CC73C 002C969C 38 A0 00 04 */ li r5, 4 +/* 802CC740 002C96A0 48 03 BE 45 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802CC744 002C96A4 7F FE FB 78 */ mr r30, r31 +/* 802CC748 002C96A8 3B FC 00 E4 */ addi r31, r28, 0xe4 +/* 802CC74C 002C96AC 3B 60 00 00 */ li r27, 0 +/* 802CC750 002C96B0 3F A0 CC 01 */ lis r29, 0xcc01 +lbl_802CC754: +/* 802CC754 002C96B4 7F C4 F3 78 */ mr r4, r30 +/* 802CC758 002C96B8 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CC75C 002C96BC 38 BC 00 D0 */ addi r5, r28, 0xd0 +/* 802CC760 002C96C0 48 04 78 11 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 802CC764 002C96C4 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802CC768 002C96C8 3B 7B 00 01 */ addi r27, r27, 1 +/* 802CC76C 002C96CC C0 3F 00 08 */ lfs f1, 8(r31) +/* 802CC770 002C96D0 2C 1B 00 04 */ cmpwi r27, 4 +/* 802CC774 002C96D4 C0 5F 00 04 */ lfs f2, 4(r31) +/* 802CC778 002C96D8 3B DE 00 08 */ addi r30, r30, 8 +/* 802CC77C 002C96DC C0 1F 00 00 */ lfs f0, 0(r31) +/* 802CC780 002C96E0 3B FF 00 0C */ addi r31, r31, 0xc +/* 802CC784 002C96E4 D0 1D 80 00 */ stfs f0, 0xCC008000@l(r29) +/* 802CC788 002C96E8 D0 5D 80 00 */ stfs f2, 0xCC008000@l(r29) +/* 802CC78C 002C96EC D0 3D 80 00 */ stfs f1, 0xCC008000@l(r29) +/* 802CC790 002C96F0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802CC794 002C96F4 D0 1D 80 00 */ stfs f0, 0xCC008000@l(r29) +/* 802CC798 002C96F8 D0 7D 80 00 */ stfs f3, 0xCC008000@l(r29) +/* 802CC79C 002C96FC 41 80 FF B8 */ blt lbl_802CC754 +/* 802CC7A0 002C9700 48 03 BD E1 */ bl End__3CGXFv +lbl_802CC7A4: +/* 802CC7A4 002C9704 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 802CC7A8 002C9708 38 60 00 00 */ li r3, 0 +/* 802CC7AC 002C970C 2C 05 00 00 */ cmpwi r5, 0 +/* 802CC7B0 002C9710 40 81 00 40 */ ble lbl_802CC7F0 +/* 802CC7B4 002C9714 2C 05 00 08 */ cmpwi r5, 8 +/* 802CC7B8 002C9718 38 85 FF F8 */ addi r4, r5, -8 +/* 802CC7BC 002C971C 40 81 00 20 */ ble lbl_802CC7DC +/* 802CC7C0 002C9720 38 04 00 07 */ addi r0, r4, 7 +/* 802CC7C4 002C9724 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CC7C8 002C9728 7C 09 03 A6 */ mtctr r0 +/* 802CC7CC 002C972C 2C 04 00 00 */ cmpwi r4, 0 +/* 802CC7D0 002C9730 40 81 00 0C */ ble lbl_802CC7DC +lbl_802CC7D4: +/* 802CC7D4 002C9734 38 63 00 08 */ addi r3, r3, 8 +/* 802CC7D8 002C9738 42 00 FF FC */ bdnz lbl_802CC7D4 +lbl_802CC7DC: +/* 802CC7DC 002C973C 7C 03 28 50 */ subf r0, r3, r5 +/* 802CC7E0 002C9740 7C 09 03 A6 */ mtctr r0 +/* 802CC7E4 002C9744 7C 03 28 00 */ cmpw r3, r5 +/* 802CC7E8 002C9748 40 80 00 08 */ bge lbl_802CC7F0 +lbl_802CC7EC: +/* 802CC7EC 002C974C 42 00 00 00 */ bdnz lbl_802CC7EC +lbl_802CC7F0: +/* 802CC7F0 002C9750 38 00 00 00 */ li r0, 0 +/* 802CC7F4 002C9754 90 01 00 78 */ stw r0, 0x78(r1) +lbl_802CC7F8: +/* 802CC7F8 002C9758 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 802CC7FC 002C975C CB E1 01 40 */ lfd f31, 0x140(r1) +/* 802CC800 002C9760 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 +/* 802CC804 002C9764 CB C1 01 30 */ lfd f30, 0x130(r1) +/* 802CC808 002C9768 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 +/* 802CC80C 002C976C CB A1 01 20 */ lfd f29, 0x120(r1) +/* 802CC810 002C9770 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 +/* 802CC814 002C9774 CB 81 01 10 */ lfd f28, 0x110(r1) +/* 802CC818 002C9778 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 +/* 802CC81C 002C977C CB 61 01 00 */ lfd f27, 0x100(r1) +/* 802CC820 002C9780 BB 61 00 EC */ lmw r27, 0xec(r1) +/* 802CC824 002C9784 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802CC828 002C9788 7C 08 03 A6 */ mtlr r0 +/* 802CC82C 002C978C 38 21 01 50 */ addi r1, r1, 0x150 +/* 802CC830 002C9790 4E 80 00 20 */ blr + +.global Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms +Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms: +/* 802CC834 002C9794 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802CC838 002C9798 7C 08 02 A6 */ mflr r0 +/* 802CC83C 002C979C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802CC840 002C97A0 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802CC844 002C97A4 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802CC848 002C97A8 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802CC84C 002C97AC F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802CC850 002C97B0 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 802CC854 002C97B4 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 802CC858 002C97B8 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 802CC85C 002C97BC F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 802CC860 002C97C0 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802CC864 002C97C4 7C 7D 1B 78 */ mr r29, r3 +/* 802CC868 002C97C8 7C 9B 23 78 */ mr r27, r4 +/* 802CC86C 002C97CC 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802CC870 002C97D0 48 03 FD 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802CC874 002C97D4 7F A3 EB 78 */ mr r3, r29 +/* 802CC878 002C97D8 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CC87C 002C97DC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802CC880 002C97E0 7D 89 03 A6 */ mtctr r12 +/* 802CC884 002C97E4 4E 80 04 21 */ bctrl +/* 802CC888 002C97E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CC88C 002C97EC 41 82 04 BC */ beq lbl_802CCD48 +/* 802CC890 002C97F0 88 1D 00 C4 */ lbz r0, 0xc4(r29) +/* 802CC894 002C97F4 28 00 00 00 */ cmplwi r0, 0 +/* 802CC898 002C97F8 40 82 00 08 */ bne lbl_802CC8A0 +/* 802CC89C 002C97FC 48 00 04 AC */ b lbl_802CCD48 +lbl_802CC8A0: +/* 802CC8A0 002C9800 7F A3 EB 78 */ mr r3, r29 +/* 802CC8A4 002C9804 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CC8A8 002C9808 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802CC8AC 002C980C 7D 89 03 A6 */ mtctr r12 +/* 802CC8B0 002C9810 4E 80 04 21 */ bctrl +/* 802CC8B4 002C9814 83 FD 00 C0 */ lwz r31, 0xc0(r29) +/* 802CC8B8 002C9818 28 1F 00 00 */ cmplwi r31, 0 +/* 802CC8BC 002C981C 41 82 04 8C */ beq lbl_802CCD48 +/* 802CC8C0 002C9820 88 7D 00 AB */ lbz r3, 0xab(r29) +/* 802CC8C4 002C9824 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC8C8 002C9828 90 01 00 50 */ stw r0, 0x50(r1) +/* 802CC8CC 002C982C C8 22 C4 50 */ lfd f1, lbl_805AE170@sda21(r2) +/* 802CC8D0 002C9830 90 61 00 54 */ stw r3, 0x54(r1) +/* 802CC8D4 002C9834 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802CC8D8 002C9838 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802CC8DC 002C983C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC8E0 002C9840 EF 82 00 32 */ fmuls f28, f2, f0 +/* 802CC8E4 002C9844 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 +/* 802CC8E8 002C9848 38 60 00 01 */ li r3, 1 +/* 802CC8EC 002C984C 80 FD 00 AC */ lwz r7, 0xac(r29) +/* 802CC8F0 002C9850 38 80 00 03 */ li r4, 3 +/* 802CC8F4 002C9854 80 DD 00 A8 */ lwz r6, 0xa8(r29) +/* 802CC8F8 002C9858 38 A0 00 00 */ li r5, 0 +/* 802CC8FC 002C985C 88 01 00 09 */ lbz r0, 9(r1) +/* 802CC900 002C9860 2C 07 00 00 */ cmpwi r7, 0 +/* 802CC904 002C9864 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 802CC908 002C9868 90 01 00 48 */ stw r0, 0x48(r1) +/* 802CC90C 002C986C 41 82 00 0C */ beq lbl_802CC918 +/* 802CC910 002C9870 2C 07 00 01 */ cmpwi r7, 1 +/* 802CC914 002C9874 40 82 00 08 */ bne lbl_802CC91C +lbl_802CC918: +/* 802CC918 002C9878 38 A0 00 01 */ li r5, 1 +lbl_802CC91C: +/* 802CC91C 002C987C 48 03 F1 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802CC920 002C9880 C3 A2 C4 4C */ lfs f29, lbl_805AE16C@sda21(r2) +/* 802CC924 002C9884 3B 80 00 00 */ li r28, 0 +/* 802CC928 002C9888 C0 1D 01 40 */ lfs f0, 0x140(r29) +/* 802CC92C 002C988C 3B C0 00 00 */ li r30, 0 +/* 802CC930 002C9890 C3 82 C4 48 */ lfs f28, lbl_805AE168@sda21(r2) +/* 802CC934 002C9894 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 802CC938 002C9898 40 80 00 E4 */ bge lbl_802CCA1C +/* 802CC93C 002C989C FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 802CC940 002C98A0 40 81 00 DC */ ble lbl_802CCA1C +/* 802CC944 002C98A4 A8 9F 00 04 */ lha r4, 4(r31) +/* 802CC948 002C98A8 3C 60 43 30 */ lis r3, 0x4330 +/* 802CC94C 002C98AC A8 1F 00 06 */ lha r0, 6(r31) +/* 802CC950 002C98B0 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802CC954 002C98B4 C0 DD 01 44 */ lfs f6, 0x144(r29) +/* 802CC958 002C98B8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CC95C 002C98BC 90 81 00 5C */ stw r4, 0x5c(r1) +/* 802CC960 002C98C0 FC A0 30 1E */ fctiwz f5, f6 +/* 802CC964 002C98C4 C0 FD 01 48 */ lfs f7, 0x148(r29) +/* 802CC968 002C98C8 90 61 00 58 */ stw r3, 0x58(r1) +/* 802CC96C 002C98CC C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) +/* 802CC970 002C98D0 FC 1C 38 00 */ fcmpu cr0, f28, f7 +/* 802CC974 002C98D4 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802CC978 002C98D8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802CC97C 002C98DC EC 60 20 28 */ fsubs f3, f0, f4 +/* 802CC980 002C98E0 C0 5D 01 38 */ lfs f2, 0x138(r29) +/* 802CC984 002C98E4 90 61 00 60 */ stw r3, 0x60(r1) +/* 802CC988 002C98E8 C0 3D 01 3C */ lfs f1, 0x13c(r29) +/* 802CC98C 002C98EC C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802CC990 002C98F0 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802CC994 002C98F4 D8 A1 00 50 */ stfd f5, 0x50(r1) +/* 802CC998 002C98F8 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802CC99C 002C98FC 90 61 00 70 */ stw r3, 0x70(r1) +/* 802CC9A0 002C9900 6C A0 80 00 */ xoris r0, r5, 0x8000 +/* 802CC9A4 002C9904 38 85 00 01 */ addi r4, r5, 1 +/* 802CC9A8 002C9908 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802CC9AC 002C990C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802CC9B0 002C9910 7C BC 2B 78 */ mr r28, r5 +/* 802CC9B4 002C9914 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802CC9B8 002C9918 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802CC9BC 002C991C EC 23 00 72 */ fmuls f1, f3, f1 +/* 802CC9C0 002C9920 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC9C4 002C9924 FC 20 08 1E */ fctiwz f1, f1 +/* 802CC9C8 002C9928 EC 06 00 28 */ fsubs f0, f6, f0 +/* 802CC9CC 002C992C D8 21 00 68 */ stfd f1, 0x68(r1) +/* 802CC9D0 002C9930 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 802CC9D4 002C9934 7C 04 1B D6 */ divw r0, r4, r3 +/* 802CC9D8 002C9938 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802CC9DC 002C993C 7F C0 20 50 */ subf r30, r0, r4 +/* 802CC9E0 002C9940 40 82 00 0C */ bne lbl_802CC9EC +/* 802CC9E4 002C9944 FC 20 E8 90 */ fmr f1, f29 +/* 802CC9E8 002C9948 48 00 00 28 */ b lbl_802CCA10 +lbl_802CC9EC: +/* 802CC9EC 002C994C EC 20 38 24 */ fdivs f1, f0, f7 +/* 802CC9F0 002C9950 C0 0D 9B 20 */ lfs f0, lbl_805A86E0@sda21(r13) +/* 802CC9F4 002C9954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CC9F8 002C9958 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802CC9FC 002C995C 40 80 00 0C */ bge lbl_802CCA08 +/* 802CCA00 002C9960 38 61 00 44 */ addi r3, r1, 0x44 +/* 802CCA04 002C9964 48 00 00 08 */ b lbl_802CCA0C +lbl_802CCA08: +/* 802CCA08 002C9968 38 6D 9B 20 */ addi r3, r13, lbl_805A86E0@sda21 +lbl_802CCA0C: +/* 802CCA0C 002C996C C0 23 00 00 */ lfs f1, 0(r3) +lbl_802CCA10: +/* 802CCA10 002C9970 C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) +/* 802CCA14 002C9974 FF 80 08 90 */ fmr f28, f1 +/* 802CCA18 002C9978 EF A0 08 28 */ fsubs f29, f0, f1 +lbl_802CCA1C: +/* 802CCA1C 002C997C 38 60 00 01 */ li r3, 1 +/* 802CCA20 002C9980 38 80 00 04 */ li r4, 4 +/* 802CCA24 002C9984 38 A0 00 05 */ li r5, 5 +/* 802CCA28 002C9988 38 C0 00 00 */ li r6, 0 +/* 802CCA2C 002C998C 48 03 F0 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCA30 002C9990 48 07 D5 85 */ bl Black__6CColorFv +/* 802CCA34 002C9994 C3 E2 C4 60 */ lfs f31, lbl_805AE180@sda21(r2) +/* 802CCA38 002C9998 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 +/* 802CCA3C 002C999C 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CCA40 002C99A0 80 C3 00 00 */ lwz r6, 0(r3) +/* 802CCA44 002C99A4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802CCA48 002C99A8 88 01 00 0A */ lbz r0, 0xa(r1) +/* 802CCA4C 002C99AC 38 A1 00 3C */ addi r5, r1, 0x3c +/* 802CCA50 002C99B0 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 802CCA54 002C99B4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802CCA58 002C99B8 48 09 67 21 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CCA5C 002C99BC C0 22 C4 4C */ lfs f1, lbl_805AE16C@sda21(r2) +/* 802CCA60 002C99C0 7F A3 EB 78 */ mr r3, r29 +/* 802CCA64 002C99C4 7F E5 FB 78 */ mr r5, r31 +/* 802CCA68 002C99C8 7F 86 E3 78 */ mr r6, r28 +/* 802CCA6C 002C99CC 38 81 00 40 */ addi r4, r1, 0x40 +/* 802CCA70 002C99D0 38 E0 00 01 */ li r7, 1 +/* 802CCA74 002C99D4 4B FF F6 11 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCA78 002C99D8 C0 3D 01 50 */ lfs f1, 0x150(r29) +/* 802CCA7C 002C99DC C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCA80 002C99E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CCA84 002C99E4 40 81 00 80 */ ble lbl_802CCB04 +/* 802CCA88 002C99E8 38 60 00 01 */ li r3, 1 +/* 802CCA8C 002C99EC 38 80 00 04 */ li r4, 4 +/* 802CCA90 002C99F0 38 A0 00 01 */ li r5, 1 +/* 802CCA94 002C99F4 38 C0 00 00 */ li r6, 0 +/* 802CCA98 002C99F8 48 03 EF B9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCA9C 002C99FC C0 22 C4 64 */ lfs f1, lbl_805AE184@sda21(r2) +/* 802CCAA0 002C9A00 C0 1D 01 50 */ lfs f0, 0x150(r29) +/* 802CCAA4 002C9A04 EF C1 00 32 */ fmuls f30, f1, f0 +/* 802CCAA8 002C9A08 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 802CCAAC 002C9A0C FC 20 E8 90 */ fmr f1, f29 +/* 802CCAB0 002C9A10 80 1D 00 A8 */ lwz r0, 0xa8(r29) +/* 802CCAB4 002C9A14 7F A3 EB 78 */ mr r3, r29 +/* 802CCAB8 002C9A18 8B 61 00 08 */ lbz r27, 8(r1) +/* 802CCABC 002C9A1C 7F E5 FB 78 */ mr r5, r31 +/* 802CCAC0 002C9A20 50 1B 00 2E */ rlwimi r27, r0, 0, 0, 0x17 +/* 802CCAC4 002C9A24 93 61 00 38 */ stw r27, 0x38(r1) +/* 802CCAC8 002C9A28 7F 86 E3 78 */ mr r6, r28 +/* 802CCACC 002C9A2C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802CCAD0 002C9A30 38 E0 00 00 */ li r7, 0 +/* 802CCAD4 002C9A34 4B FF F5 B1 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCAD8 002C9A38 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCADC 002C9A3C FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCAE0 002C9A40 40 81 00 24 */ ble lbl_802CCB04 +/* 802CCAE4 002C9A44 FC 20 E0 90 */ fmr f1, f28 +/* 802CCAE8 002C9A48 93 61 00 34 */ stw r27, 0x34(r1) +/* 802CCAEC 002C9A4C 7F A3 EB 78 */ mr r3, r29 +/* 802CCAF0 002C9A50 7F E5 FB 78 */ mr r5, r31 +/* 802CCAF4 002C9A54 7F C6 F3 78 */ mr r6, r30 +/* 802CCAF8 002C9A58 38 81 00 34 */ addi r4, r1, 0x34 +/* 802CCAFC 002C9A5C 38 E0 00 00 */ li r7, 0 +/* 802CCB00 002C9A60 4B FF F5 85 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +lbl_802CCB04: +/* 802CCB04 002C9A64 80 1D 00 AC */ lwz r0, 0xac(r29) +/* 802CCB08 002C9A68 2C 00 00 03 */ cmpwi r0, 3 +/* 802CCB0C 002C9A6C 41 82 01 00 */ beq lbl_802CCC0C +/* 802CCB10 002C9A70 40 80 00 18 */ bge lbl_802CCB28 +/* 802CCB14 002C9A74 2C 00 00 02 */ cmpwi r0, 2 +/* 802CCB18 002C9A78 40 80 00 88 */ bge lbl_802CCBA0 +/* 802CCB1C 002C9A7C 2C 00 00 00 */ cmpwi r0, 0 +/* 802CCB20 002C9A80 40 80 00 14 */ bge lbl_802CCB34 +/* 802CCB24 002C9A84 48 00 02 24 */ b lbl_802CCD48 +lbl_802CCB28: +/* 802CCB28 002C9A88 2C 00 00 05 */ cmpwi r0, 5 +/* 802CCB2C 002C9A8C 40 80 02 1C */ bge lbl_802CCD48 +/* 802CCB30 002C9A90 48 00 01 48 */ b lbl_802CCC78 +lbl_802CCB34: +/* 802CCB34 002C9A94 38 60 00 01 */ li r3, 1 +/* 802CCB38 002C9A98 38 80 00 01 */ li r4, 1 +/* 802CCB3C 002C9A9C 38 A0 00 00 */ li r5, 0 +/* 802CCB40 002C9AA0 38 C0 00 00 */ li r6, 0 +/* 802CCB44 002C9AA4 48 03 EF 0D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCB48 002C9AA8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCB4C 002C9AAC FC 20 E8 90 */ fmr f1, f29 +/* 802CCB50 002C9AB0 7F A3 EB 78 */ mr r3, r29 +/* 802CCB54 002C9AB4 7F E5 FB 78 */ mr r5, r31 +/* 802CCB58 002C9AB8 90 01 00 30 */ stw r0, 0x30(r1) +/* 802CCB5C 002C9ABC 7F 86 E3 78 */ mr r6, r28 +/* 802CCB60 002C9AC0 38 81 00 30 */ addi r4, r1, 0x30 +/* 802CCB64 002C9AC4 38 E0 00 00 */ li r7, 0 +/* 802CCB68 002C9AC8 4B FF F5 1D */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCB6C 002C9ACC C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCB70 002C9AD0 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCB74 002C9AD4 40 81 01 D4 */ ble lbl_802CCD48 +/* 802CCB78 002C9AD8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCB7C 002C9ADC FC 20 E0 90 */ fmr f1, f28 +/* 802CCB80 002C9AE0 7F A3 EB 78 */ mr r3, r29 +/* 802CCB84 002C9AE4 7F E5 FB 78 */ mr r5, r31 +/* 802CCB88 002C9AE8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802CCB8C 002C9AEC 7F C6 F3 78 */ mr r6, r30 +/* 802CCB90 002C9AF0 38 81 00 2C */ addi r4, r1, 0x2c +/* 802CCB94 002C9AF4 38 E0 00 00 */ li r7, 0 +/* 802CCB98 002C9AF8 4B FF F4 ED */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCB9C 002C9AFC 48 00 01 AC */ b lbl_802CCD48 +lbl_802CCBA0: +/* 802CCBA0 002C9B00 38 60 00 01 */ li r3, 1 +/* 802CCBA4 002C9B04 38 80 00 04 */ li r4, 4 +/* 802CCBA8 002C9B08 38 A0 00 05 */ li r5, 5 +/* 802CCBAC 002C9B0C 38 C0 00 00 */ li r6, 0 +/* 802CCBB0 002C9B10 48 03 EE A1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCBB4 002C9B14 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCBB8 002C9B18 FC 20 E8 90 */ fmr f1, f29 +/* 802CCBBC 002C9B1C 7F A3 EB 78 */ mr r3, r29 +/* 802CCBC0 002C9B20 7F E5 FB 78 */ mr r5, r31 +/* 802CCBC4 002C9B24 90 01 00 28 */ stw r0, 0x28(r1) +/* 802CCBC8 002C9B28 7F 86 E3 78 */ mr r6, r28 +/* 802CCBCC 002C9B2C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CCBD0 002C9B30 38 E0 00 00 */ li r7, 0 +/* 802CCBD4 002C9B34 4B FF F4 B1 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCBD8 002C9B38 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCBDC 002C9B3C FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCBE0 002C9B40 40 81 01 68 */ ble lbl_802CCD48 +/* 802CCBE4 002C9B44 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCBE8 002C9B48 FC 20 E0 90 */ fmr f1, f28 +/* 802CCBEC 002C9B4C 7F A3 EB 78 */ mr r3, r29 +/* 802CCBF0 002C9B50 7F E5 FB 78 */ mr r5, r31 +/* 802CCBF4 002C9B54 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CCBF8 002C9B58 7F C6 F3 78 */ mr r6, r30 +/* 802CCBFC 002C9B5C 38 81 00 24 */ addi r4, r1, 0x24 +/* 802CCC00 002C9B60 38 E0 00 00 */ li r7, 0 +/* 802CCC04 002C9B64 4B FF F4 81 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCC08 002C9B68 48 00 01 40 */ b lbl_802CCD48 +lbl_802CCC0C: +/* 802CCC0C 002C9B6C 38 60 00 01 */ li r3, 1 +/* 802CCC10 002C9B70 38 80 00 04 */ li r4, 4 +/* 802CCC14 002C9B74 38 A0 00 01 */ li r5, 1 +/* 802CCC18 002C9B78 38 C0 00 00 */ li r6, 0 +/* 802CCC1C 002C9B7C 48 03 EE 35 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCC20 002C9B80 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCC24 002C9B84 FC 20 E8 90 */ fmr f1, f29 +/* 802CCC28 002C9B88 7F A3 EB 78 */ mr r3, r29 +/* 802CCC2C 002C9B8C 7F E5 FB 78 */ mr r5, r31 +/* 802CCC30 002C9B90 90 01 00 20 */ stw r0, 0x20(r1) +/* 802CCC34 002C9B94 7F 86 E3 78 */ mr r6, r28 +/* 802CCC38 002C9B98 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CCC3C 002C9B9C 38 E0 00 00 */ li r7, 0 +/* 802CCC40 002C9BA0 4B FF F4 45 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCC44 002C9BA4 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCC48 002C9BA8 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCC4C 002C9BAC 40 81 00 FC */ ble lbl_802CCD48 +/* 802CCC50 002C9BB0 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCC54 002C9BB4 FC 20 E0 90 */ fmr f1, f28 +/* 802CCC58 002C9BB8 7F A3 EB 78 */ mr r3, r29 +/* 802CCC5C 002C9BBC 7F E5 FB 78 */ mr r5, r31 +/* 802CCC60 002C9BC0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802CCC64 002C9BC4 7F C6 F3 78 */ mr r6, r30 +/* 802CCC68 002C9BC8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802CCC6C 002C9BCC 38 E0 00 00 */ li r7, 0 +/* 802CCC70 002C9BD0 4B FF F4 15 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCC74 002C9BD4 48 00 00 D4 */ b lbl_802CCD48 +lbl_802CCC78: +/* 802CCC78 002C9BD8 38 60 00 01 */ li r3, 1 +/* 802CCC7C 002C9BDC 38 80 00 04 */ li r4, 4 +/* 802CCC80 002C9BE0 38 A0 00 05 */ li r5, 5 +/* 802CCC84 002C9BE4 38 C0 00 00 */ li r6, 0 +/* 802CCC88 002C9BE8 48 03 ED C9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCC8C 002C9BEC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCC90 002C9BF0 FC 20 E8 90 */ fmr f1, f29 +/* 802CCC94 002C9BF4 7F A3 EB 78 */ mr r3, r29 +/* 802CCC98 002C9BF8 7F E5 FB 78 */ mr r5, r31 +/* 802CCC9C 002C9BFC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802CCCA0 002C9C00 7F 86 E3 78 */ mr r6, r28 +/* 802CCCA4 002C9C04 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CCCA8 002C9C08 38 E0 00 00 */ li r7, 0 +/* 802CCCAC 002C9C0C 4B FF F3 D9 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCCB0 002C9C10 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCCB4 002C9C14 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCCB8 002C9C18 40 81 00 28 */ ble lbl_802CCCE0 +/* 802CCCBC 002C9C1C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCCC0 002C9C20 FC 20 E0 90 */ fmr f1, f28 +/* 802CCCC4 002C9C24 7F A3 EB 78 */ mr r3, r29 +/* 802CCCC8 002C9C28 7F E5 FB 78 */ mr r5, r31 +/* 802CCCCC 002C9C2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CCCD0 002C9C30 7F C6 F3 78 */ mr r6, r30 +/* 802CCCD4 002C9C34 38 81 00 14 */ addi r4, r1, 0x14 +/* 802CCCD8 002C9C38 38 E0 00 00 */ li r7, 0 +/* 802CCCDC 002C9C3C 4B FF F3 A9 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +lbl_802CCCE0: +/* 802CCCE0 002C9C40 38 60 00 01 */ li r3, 1 +/* 802CCCE4 002C9C44 38 80 00 01 */ li r4, 1 +/* 802CCCE8 002C9C48 38 A0 00 01 */ li r5, 1 +/* 802CCCEC 002C9C4C 38 C0 00 00 */ li r6, 0 +/* 802CCCF0 002C9C50 48 03 ED 61 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCCF4 002C9C54 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCCF8 002C9C58 FC 20 E8 90 */ fmr f1, f29 +/* 802CCCFC 002C9C5C 7F A3 EB 78 */ mr r3, r29 +/* 802CCD00 002C9C60 7F E5 FB 78 */ mr r5, r31 +/* 802CCD04 002C9C64 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CCD08 002C9C68 7F 86 E3 78 */ mr r6, r28 +/* 802CCD0C 002C9C6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802CCD10 002C9C70 38 E0 00 00 */ li r7, 0 +/* 802CCD14 002C9C74 4B FF F3 71 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCD18 002C9C78 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCD1C 002C9C7C FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCD20 002C9C80 40 81 00 28 */ ble lbl_802CCD48 +/* 802CCD24 002C9C84 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCD28 002C9C88 FC 20 E0 90 */ fmr f1, f28 +/* 802CCD2C 002C9C8C 7F A3 EB 78 */ mr r3, r29 +/* 802CCD30 002C9C90 7F E5 FB 78 */ mr r5, r31 +/* 802CCD34 002C9C94 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CCD38 002C9C98 7F C6 F3 78 */ mr r6, r30 +/* 802CCD3C 002C9C9C 38 81 00 0C */ addi r4, r1, 0xc +/* 802CCD40 002C9CA0 38 E0 00 00 */ li r7, 0 +/* 802CCD44 002C9CA4 4B FF F3 41 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +lbl_802CCD48: +/* 802CCD48 002C9CA8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802CCD4C 002C9CAC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802CCD50 002C9CB0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802CCD54 002C9CB4 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802CCD58 002C9CB8 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 802CCD5C 002C9CBC CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 802CCD60 002C9CC0 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 802CCD64 002C9CC4 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 802CCD68 002C9CC8 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802CCD6C 002C9CCC 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802CCD70 002C9CD0 7C 08 03 A6 */ mtlr r0 +/* 802CCD74 002C9CD4 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802CCD78 002C9CD8 4E 80 00 20 */ blr + +.global Update__13CAuiImagePaneFf +Update__13CAuiImagePaneFf: +/* 802CCD7C 002C9CDC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802CCD80 002C9CE0 7C 08 02 A6 */ mflr r0 +/* 802CCD84 002C9CE4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802CCD88 002C9CE8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802CCD8C 002C9CEC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802CCD90 002C9CF0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802CCD94 002C9CF4 7C 7F 1B 78 */ mr r31, r3 +/* 802CCD98 002C9CF8 FF E0 08 90 */ fmr f31, f1 +/* 802CCD9C 002C9CFC C0 23 00 D0 */ lfs f1, 0xd0(r3) +/* 802CCDA0 002C9D00 C8 42 C4 68 */ lfd f2, lbl_805AE188@sda21(r2) +/* 802CCDA4 002C9D04 48 0C 7F 09 */ bl fmod +/* 802CCDA8 002C9D08 FC 00 08 18 */ frsp f0, f1 +/* 802CCDAC 002C9D0C C8 42 C4 68 */ lfd f2, lbl_805AE188@sda21(r2) +/* 802CCDB0 002C9D10 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 802CCDB4 002C9D14 C0 3F 00 D4 */ lfs f1, 0xd4(r31) +/* 802CCDB8 002C9D18 48 0C 7E F5 */ bl fmod +/* 802CCDBC 002C9D1C FC 00 08 18 */ frsp f0, f1 +/* 802CCDC0 002C9D20 38 7F 01 38 */ addi r3, r31, 0x138 +/* 802CCDC4 002C9D24 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 +/* 802CCDC8 002C9D28 D0 1F 00 D4 */ stfs f0, 0xd4(r31) +/* 802CCDCC 002C9D2C 48 04 71 3D */ bl __eq__FRC9CVector2fRC9CVector2f +/* 802CCDD0 002C9D30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CCDD4 002C9D34 40 82 00 AC */ bne lbl_802CCE80 +/* 802CCDD8 002C9D38 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CCDDC 002C9D3C 28 00 00 00 */ cmplwi r0, 0 +/* 802CCDE0 002C9D40 41 82 00 A0 */ beq lbl_802CCE80 +/* 802CCDE4 002C9D44 80 BF 00 C0 */ lwz r5, 0xc0(r31) +/* 802CCDE8 002C9D48 28 05 00 00 */ cmplwi r5, 0 +/* 802CCDEC 002C9D4C 41 82 00 94 */ beq lbl_802CCE80 +/* 802CCDF0 002C9D50 A8 85 00 04 */ lha r4, 4(r5) +/* 802CCDF4 002C9D54 3C 60 43 30 */ lis r3, 0x4330 +/* 802CCDF8 002C9D58 A8 05 00 06 */ lha r0, 6(r5) +/* 802CCDFC 002C9D5C 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802CCE00 002C9D60 90 61 00 08 */ stw r3, 8(r1) +/* 802CCE04 002C9D64 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CCE08 002C9D68 C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) +/* 802CCE0C 002C9D6C 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CCE10 002C9D70 C0 5F 01 38 */ lfs f2, 0x138(r31) +/* 802CCE14 002C9D74 C8 01 00 08 */ lfd f0, 8(r1) +/* 802CCE18 002C9D78 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802CCE1C 002C9D7C EC 60 20 28 */ fsubs f3, f0, f4 +/* 802CCE20 002C9D80 C0 1F 01 3C */ lfs f0, 0x13c(r31) +/* 802CCE24 002C9D84 90 61 00 18 */ stw r3, 0x18(r1) +/* 802CCE28 002C9D88 C0 DF 01 40 */ lfs f6, 0x140(r31) +/* 802CCE2C 002C9D8C C8 21 00 18 */ lfd f1, 0x18(r1) +/* 802CCE30 002C9D90 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802CCE34 002C9D94 C0 BF 01 44 */ lfs f5, 0x144(r31) +/* 802CCE38 002C9D98 90 61 00 28 */ stw r3, 0x28(r1) +/* 802CCE3C 002C9D9C EC 41 20 28 */ fsubs f2, f1, f4 +/* 802CCE40 002C9DA0 FC 60 18 1E */ fctiwz f3, f3 +/* 802CCE44 002C9DA4 EC 3F 29 BA */ fmadds f1, f31, f6, f5 +/* 802CCE48 002C9DA8 EC 02 00 24 */ fdivs f0, f2, f0 +/* 802CCE4C 002C9DAC D8 61 00 10 */ stfd f3, 0x10(r1) +/* 802CCE50 002C9DB0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802CCE54 002C9DB4 FC 00 00 1E */ fctiwz f0, f0 +/* 802CCE58 002C9DB8 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 802CCE5C 002C9DBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CCE60 002C9DC0 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CCE64 002C9DC4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CCE68 002C9DC8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802CCE6C 002C9DCC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802CCE70 002C9DD0 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802CCE74 002C9DD4 48 0C 7E 39 */ bl fmod +/* 802CCE78 002C9DD8 FC 00 08 18 */ frsp f0, f1 +/* 802CCE7C 002C9DDC D0 1F 01 44 */ stfs f0, 0x144(r31) +lbl_802CCE80: +/* 802CCE80 002C9DE0 FC 20 F8 90 */ fmr f1, f31 +/* 802CCE84 002C9DE4 7F E3 FB 78 */ mr r3, r31 +/* 802CCE88 002C9DE8 4B FF DB 4D */ bl Update__10CGuiWidgetFf +/* 802CCE8C 002C9DEC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802CCE90 002C9DF0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802CCE94 002C9DF4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802CCE98 002C9DF8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CCE9C 002C9DFC 7C 08 03 A6 */ mtlr r0 +/* 802CCEA0 002C9E00 38 21 00 50 */ addi r1, r1, 0x50 +/* 802CCEA4 002C9E04 4E 80 00 20 */ blr + +.global SetAnimationParms__13CAuiImagePaneFRC9CVector2fff +SetAnimationParms__13CAuiImagePaneFRC9CVector2fff: +/* 802CCEA8 002C9E08 C0 64 00 00 */ lfs f3, 0(r4) +/* 802CCEAC 002C9E0C C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCEB0 002C9E10 D0 63 01 38 */ stfs f3, 0x138(r3) +/* 802CCEB4 002C9E14 C0 64 00 04 */ lfs f3, 4(r4) +/* 802CCEB8 002C9E18 D0 63 01 3C */ stfs f3, 0x13c(r3) +/* 802CCEBC 002C9E1C D0 23 01 40 */ stfs f1, 0x140(r3) +/* 802CCEC0 002C9E20 D0 03 01 44 */ stfs f0, 0x144(r3) +/* 802CCEC4 002C9E24 D0 43 01 48 */ stfs f2, 0x148(r3) +/* 802CCEC8 002C9E28 4E 80 00 20 */ blr + +.global "__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b" +"__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b": +/* 802CCECC 002C9E2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CCED0 002C9E30 7C 08 02 A6 */ mflr r0 +/* 802CCED4 002C9E34 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CCED8 002C9E38 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802CCEDC 002C9E3C 7C 7D 1B 78 */ mr r29, r3 +/* 802CCEE0 002C9E40 7C BE 2B 78 */ mr r30, r5 +/* 802CCEE4 002C9E44 7C DF 33 78 */ mr r31, r6 +/* 802CCEE8 002C9E48 7C F9 3B 78 */ mr r25, r7 +/* 802CCEEC 002C9E4C 7D 1A 43 78 */ mr r26, r8 +/* 802CCEF0 002C9E50 7D 3B 4B 78 */ mr r27, r9 +/* 802CCEF4 002C9E54 7D 5C 53 78 */ mr r28, r10 +/* 802CCEF8 002C9E58 4B FF DD 2D */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802CCEFC 002C9E5C 3C 60 80 3F */ lis r3, lbl_803ECA90@ha +/* 802CCF00 002C9E60 C0 22 C4 48 */ lfs f1, lbl_805AE168@sda21(r2) +/* 802CCF04 002C9E64 38 63 CA 90 */ addi r3, r3, lbl_803ECA90@l +/* 802CCF08 002C9E68 38 00 00 00 */ li r0, 0 +/* 802CCF0C 002C9E6C 90 7D 00 00 */ stw r3, 0(r29) +/* 802CCF10 002C9E70 FC 40 08 90 */ fmr f2, f1 +/* 802CCF14 002C9E74 38 7D 00 D0 */ addi r3, r29, 0xd0 +/* 802CCF18 002C9E78 98 1D 00 C4 */ stb r0, 0xc4(r29) +/* 802CCF1C 002C9E7C 93 FD 00 C8 */ stw r31, 0xc8(r29) +/* 802CCF20 002C9E80 93 3D 00 CC */ stw r25, 0xcc(r29) +/* 802CCF24 002C9E84 48 04 72 DD */ bl __ct__9CVector2fFff +/* 802CCF28 002C9E88 C0 22 C4 48 */ lfs f1, lbl_805AE168@sda21(r2) +/* 802CCF2C 002C9E8C 38 7D 00 D8 */ addi r3, r29, 0xd8 +/* 802CCF30 002C9E90 FC 40 08 90 */ fmr f2, f1 +/* 802CCF34 002C9E94 48 04 72 CD */ bl __ct__9CVector2fFff +/* 802CCF38 002C9E98 80 1A 00 00 */ lwz r0, 0(r26) +/* 802CCF3C 002C9E9C 38 9D 00 E4 */ addi r4, r29, 0xe4 +/* 802CCF40 002C9EA0 38 7A 00 04 */ addi r3, r26, 4 +/* 802CCF44 002C9EA4 90 1D 00 E0 */ stw r0, 0xe0(r29) +/* 802CCF48 002C9EA8 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 802CCF4C 002C9EAC 7C 09 03 A6 */ mtctr r0 +/* 802CCF50 002C9EB0 2C 00 00 00 */ cmpwi r0, 0 +/* 802CCF54 002C9EB4 40 81 00 30 */ ble lbl_802CCF84 +lbl_802CCF58: +/* 802CCF58 002C9EB8 28 04 00 00 */ cmplwi r4, 0 +/* 802CCF5C 002C9EBC 41 82 00 1C */ beq lbl_802CCF78 +/* 802CCF60 002C9EC0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802CCF64 002C9EC4 D0 04 00 00 */ stfs f0, 0(r4) +/* 802CCF68 002C9EC8 C0 03 00 04 */ lfs f0, 4(r3) +/* 802CCF6C 002C9ECC D0 04 00 04 */ stfs f0, 4(r4) +/* 802CCF70 002C9ED0 C0 03 00 08 */ lfs f0, 8(r3) +/* 802CCF74 002C9ED4 D0 04 00 08 */ stfs f0, 8(r4) +lbl_802CCF78: +/* 802CCF78 002C9ED8 38 84 00 0C */ addi r4, r4, 0xc +/* 802CCF7C 002C9EDC 38 63 00 0C */ addi r3, r3, 0xc +/* 802CCF80 002C9EE0 42 00 FF D8 */ bdnz lbl_802CCF58 +lbl_802CCF84: +/* 802CCF84 002C9EE4 80 1B 00 00 */ lwz r0, 0(r27) +/* 802CCF88 002C9EE8 38 9D 01 18 */ addi r4, r29, 0x118 +/* 802CCF8C 002C9EEC 38 7B 00 04 */ addi r3, r27, 4 +/* 802CCF90 002C9EF0 90 1D 01 14 */ stw r0, 0x114(r29) +/* 802CCF94 002C9EF4 80 1D 01 14 */ lwz r0, 0x114(r29) +/* 802CCF98 002C9EF8 7C 09 03 A6 */ mtctr r0 +/* 802CCF9C 002C9EFC 2C 00 00 00 */ cmpwi r0, 0 +/* 802CCFA0 002C9F00 40 81 00 28 */ ble lbl_802CCFC8 +lbl_802CCFA4: +/* 802CCFA4 002C9F04 28 04 00 00 */ cmplwi r4, 0 +/* 802CCFA8 002C9F08 41 82 00 14 */ beq lbl_802CCFBC +/* 802CCFAC 002C9F0C C0 03 00 00 */ lfs f0, 0(r3) +/* 802CCFB0 002C9F10 D0 04 00 00 */ stfs f0, 0(r4) +/* 802CCFB4 002C9F14 C0 03 00 04 */ lfs f0, 4(r3) +/* 802CCFB8 002C9F18 D0 04 00 04 */ stfs f0, 4(r4) +lbl_802CCFBC: +/* 802CCFBC 002C9F1C 38 84 00 08 */ addi r4, r4, 8 +/* 802CCFC0 002C9F20 38 63 00 08 */ addi r3, r3, 8 +/* 802CCFC4 002C9F24 42 00 FF E0 */ bdnz lbl_802CCFA4 +lbl_802CCFC8: +/* 802CCFC8 002C9F28 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) +/* 802CCFCC 002C9F2C 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 802CCFD0 002C9F30 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCFD4 002C9F34 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802CCFD8 002C9F38 D0 3D 01 38 */ stfs f1, 0x138(r29) +/* 802CCFDC 002C9F3C C0 23 00 04 */ lfs f1, 4(r3) +/* 802CCFE0 002C9F40 D0 3D 01 3C */ stfs f1, 0x13c(r29) +/* 802CCFE4 002C9F44 D0 1D 01 40 */ stfs f0, 0x140(r29) +/* 802CCFE8 002C9F48 D0 1D 01 44 */ stfs f0, 0x144(r29) +/* 802CCFEC 002C9F4C D0 1D 01 48 */ stfs f0, 0x148(r29) +/* 802CCFF0 002C9F50 D0 1D 01 4C */ stfs f0, 0x14c(r29) +/* 802CCFF4 002C9F54 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 802CCFF8 002C9F58 41 82 00 14 */ beq lbl_802CD00C +/* 802CCFFC 002C9F5C 7F A3 EB 78 */ mr r3, r29 +/* 802CD000 002C9F60 7F E4 FB 78 */ mr r4, r31 +/* 802CD004 002C9F64 7F C5 F3 78 */ mr r5, r30 +/* 802CD008 002C9F68 4B FF EE C5 */ bl SetTextureID0__13CAuiImagePaneFUib +lbl_802CD00C: +/* 802CD00C 002C9F6C 7F A3 EB 78 */ mr r3, r29 +/* 802CD010 002C9F70 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802CD014 002C9F74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CD018 002C9F78 7C 08 03 A6 */ mtlr r0 +/* 802CD01C 002C9F7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CD020 002C9F80 4E 80 00 20 */ blr + +.global WriteData__13CAuiImagePaneCFR13COutputStreamb +WriteData__13CAuiImagePaneCFR13COutputStreamb: +/* 802CD024 002C9F84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CD028 002C9F88 7C 08 02 A6 */ mflr r0 +/* 802CD02C 002C9F8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CD030 002C9F90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CD034 002C9F94 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CD038 002C9F98 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CD03C 002C9F9C 7C 9D 23 78 */ mr r29, r4 +/* 802CD040 002C9FA0 93 81 00 20 */ stw r28, 0x20(r1) +/* 802CD044 002C9FA4 7C 7C 1B 78 */ mr r28, r3 +/* 802CD048 002C9FA8 80 03 00 C8 */ lwz r0, 0xc8(r3) +/* 802CD04C 002C9FAC 7F A3 EB 78 */ mr r3, r29 +/* 802CD050 002C9FB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CD054 002C9FB4 48 07 24 65 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD058 002C9FB8 7F A3 EB 78 */ mr r3, r29 +/* 802CD05C 002C9FBC 38 81 00 14 */ addi r4, r1, 0x14 +/* 802CD060 002C9FC0 38 A0 00 04 */ li r5, 4 +/* 802CD064 002C9FC4 48 07 25 45 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD068 002C9FC8 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 802CD06C 002C9FCC 7F A3 EB 78 */ mr r3, r29 +/* 802CD070 002C9FD0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CD074 002C9FD4 48 07 24 45 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD078 002C9FD8 7F A3 EB 78 */ mr r3, r29 +/* 802CD07C 002C9FDC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802CD080 002C9FE0 38 A0 00 04 */ li r5, 4 +/* 802CD084 002C9FE4 48 07 25 25 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD088 002C9FE8 80 1C 00 AC */ lwz r0, 0xac(r28) +/* 802CD08C 002C9FEC 7F A3 EB 78 */ mr r3, r29 +/* 802CD090 002C9FF0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CD094 002C9FF4 48 07 24 25 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD098 002C9FF8 7F A3 EB 78 */ mr r3, r29 +/* 802CD09C 002C9FFC 38 81 00 0C */ addi r4, r1, 0xc +/* 802CD0A0 002CA000 38 A0 00 04 */ li r5, 4 +/* 802CD0A4 002CA004 48 07 25 05 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD0A8 002CA008 80 1C 00 E0 */ lwz r0, 0xe0(r28) +/* 802CD0AC 002CA00C 7F A3 EB 78 */ mr r3, r29 +/* 802CD0B0 002CA010 90 01 00 08 */ stw r0, 8(r1) +/* 802CD0B4 002CA014 48 07 24 05 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD0B8 002CA018 7F A3 EB 78 */ mr r3, r29 +/* 802CD0BC 002CA01C 38 81 00 08 */ addi r4, r1, 8 +/* 802CD0C0 002CA020 38 A0 00 04 */ li r5, 4 +/* 802CD0C4 002CA024 48 07 24 E5 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD0C8 002CA028 80 1C 00 E0 */ lwz r0, 0xe0(r28) +/* 802CD0CC 002CA02C 3B DC 00 E4 */ addi r30, r28, 0xe4 +/* 802CD0D0 002CA030 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802CD0D4 002CA034 7F FE 02 14 */ add r31, r30, r0 +/* 802CD0D8 002CA038 48 00 00 14 */ b lbl_802CD0EC +lbl_802CD0DC: +/* 802CD0DC 002CA03C 7F C3 F3 78 */ mr r3, r30 +/* 802CD0E0 002CA040 7F A4 EB 78 */ mr r4, r29 +/* 802CD0E4 002CA044 48 04 79 FD */ bl PutTo__9CVector3fCFR13COutputStream +/* 802CD0E8 002CA048 3B DE 00 0C */ addi r30, r30, 0xc +lbl_802CD0EC: +/* 802CD0EC 002CA04C 7C 1E F8 40 */ cmplw r30, r31 +/* 802CD0F0 002CA050 40 82 FF EC */ bne lbl_802CD0DC +/* 802CD0F4 002CA054 7F A4 EB 78 */ mr r4, r29 +/* 802CD0F8 002CA058 38 7C 01 14 */ addi r3, r28, 0x114 +/* 802CD0FC 002CA05C 48 00 00 25 */ bl "StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi" +/* 802CD100 002CA060 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CD104 002CA064 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CD108 002CA068 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CD10C 002CA06C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CD110 002CA070 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802CD114 002CA074 7C 08 03 A6 */ mtlr r0 +/* 802CD118 002CA078 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CD11C 002CA07C 4E 80 00 20 */ blr + +.global "StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi" +"StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi": +/* 802CD120 002CA080 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CD124 002CA084 7C 08 02 A6 */ mflr r0 +/* 802CD128 002CA088 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CD12C 002CA08C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CD130 002CA090 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CD134 002CA094 7C 7E 1B 78 */ mr r30, r3 +/* 802CD138 002CA098 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CD13C 002CA09C 7C 9D 23 78 */ mr r29, r4 +/* 802CD140 002CA0A0 80 03 00 00 */ lwz r0, 0(r3) +/* 802CD144 002CA0A4 7F A3 EB 78 */ mr r3, r29 +/* 802CD148 002CA0A8 90 01 00 18 */ stw r0, 0x18(r1) +/* 802CD14C 002CA0AC 48 07 23 6D */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD150 002CA0B0 7F A3 EB 78 */ mr r3, r29 +/* 802CD154 002CA0B4 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CD158 002CA0B8 38 A0 00 04 */ li r5, 4 +/* 802CD15C 002CA0BC 48 07 24 4D */ bl DoPut__13COutputStreamFPCvUl +/* 802CD160 002CA0C0 80 1E 00 00 */ lwz r0, 0(r30) +/* 802CD164 002CA0C4 3B FE 00 04 */ addi r31, r30, 4 +/* 802CD168 002CA0C8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CD16C 002CA0CC 7F DE 02 14 */ add r30, r30, r0 +/* 802CD170 002CA0D0 3B DE 00 04 */ addi r30, r30, 4 +/* 802CD174 002CA0D4 48 00 00 58 */ b lbl_802CD1CC +lbl_802CD178: +/* 802CD178 002CA0D8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802CD17C 002CA0DC 7F A3 EB 78 */ mr r3, r29 +/* 802CD180 002CA0E0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802CD184 002CA0E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CD188 002CA0E8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CD18C 002CA0EC 48 07 23 2D */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD190 002CA0F0 7F A3 EB 78 */ mr r3, r29 +/* 802CD194 002CA0F4 38 81 00 0C */ addi r4, r1, 0xc +/* 802CD198 002CA0F8 38 A0 00 04 */ li r5, 4 +/* 802CD19C 002CA0FC 48 07 24 0D */ bl DoPut__13COutputStreamFPCvUl +/* 802CD1A0 002CA100 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802CD1A4 002CA104 7F A3 EB 78 */ mr r3, r29 +/* 802CD1A8 002CA108 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802CD1AC 002CA10C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802CD1B0 002CA110 90 01 00 08 */ stw r0, 8(r1) +/* 802CD1B4 002CA114 48 07 23 05 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD1B8 002CA118 7F A3 EB 78 */ mr r3, r29 +/* 802CD1BC 002CA11C 38 81 00 08 */ addi r4, r1, 8 +/* 802CD1C0 002CA120 38 A0 00 04 */ li r5, 4 +/* 802CD1C4 002CA124 48 07 23 E5 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD1C8 002CA128 3B FF 00 08 */ addi r31, r31, 8 +lbl_802CD1CC: +/* 802CD1CC 002CA12C 7C 1F F0 40 */ cmplw r31, r30 +/* 802CD1D0 002CA130 40 82 FF A8 */ bne lbl_802CD178 +/* 802CD1D4 002CA134 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CD1D8 002CA138 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CD1DC 002CA13C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CD1E0 002CA140 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CD1E4 002CA144 7C 08 03 A6 */ mtlr r0 +/* 802CD1E8 002CA148 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CD1EC 002CA14C 4E 80 00 20 */ blr + +.global Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb +Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb: +/* 802CD1F0 002CA150 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802CD1F4 002CA154 7C 08 02 A6 */ mflr r0 +/* 802CD1F8 002CA158 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802CD1FC 002CA15C DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802CD200 002CA160 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802CD204 002CA164 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 802CD208 002CA168 7C 7D 1B 78 */ mr r29, r3 +/* 802CD20C 002CA16C 7C 9E 23 78 */ mr r30, r4 +/* 802CD210 002CA170 7C BF 2B 78 */ mr r31, r5 +/* 802CD214 002CA174 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CD218 002CA178 7F A4 EB 78 */ mr r4, r29 +/* 802CD21C 002CA17C 7F C5 F3 78 */ mr r5, r30 +/* 802CD220 002CA180 4B FF DB 31 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802CD224 002CA184 83 81 00 14 */ lwz r28, 0x14(r1) +/* 802CD228 002CA188 7F C3 F3 78 */ mr r3, r30 +/* 802CD22C 002CA18C 89 81 00 18 */ lbz r12, 0x18(r1) +/* 802CD230 002CA190 A9 61 00 1A */ lha r11, 0x1a(r1) +/* 802CD234 002CA194 A9 41 00 1C */ lha r10, 0x1c(r1) +/* 802CD238 002CA198 89 21 00 1E */ lbz r9, 0x1e(r1) +/* 802CD23C 002CA19C 89 01 00 1F */ lbz r8, 0x1f(r1) +/* 802CD240 002CA1A0 88 E1 00 20 */ lbz r7, 0x20(r1) +/* 802CD244 002CA1A4 88 C1 00 21 */ lbz r6, 0x21(r1) +/* 802CD248 002CA1A8 88 A1 00 22 */ lbz r5, 0x22(r1) +/* 802CD24C 002CA1AC 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802CD250 002CA1B0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802CD254 002CA1B4 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802CD258 002CA1B8 99 81 00 30 */ stb r12, 0x30(r1) +/* 802CD25C 002CA1BC B1 61 00 32 */ sth r11, 0x32(r1) +/* 802CD260 002CA1C0 B1 41 00 34 */ sth r10, 0x34(r1) +/* 802CD264 002CA1C4 99 21 00 36 */ stb r9, 0x36(r1) +/* 802CD268 002CA1C8 99 01 00 37 */ stb r8, 0x37(r1) +/* 802CD26C 002CA1CC 98 E1 00 38 */ stb r7, 0x38(r1) +/* 802CD270 002CA1D0 98 C1 00 39 */ stb r6, 0x39(r1) +/* 802CD274 002CA1D4 98 A1 00 3A */ stb r5, 0x3a(r1) +/* 802CD278 002CA1D8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 802CD27C 002CA1DC 90 01 00 40 */ stw r0, 0x40(r1) +/* 802CD280 002CA1E0 48 07 1A 05 */ bl ReadLong__12CInputStreamFv +/* 802CD284 002CA1E4 7F C3 F3 78 */ mr r3, r30 +/* 802CD288 002CA1E8 48 07 19 FD */ bl ReadLong__12CInputStreamFv +/* 802CD28C 002CA1EC 7F C3 F3 78 */ mr r3, r30 +/* 802CD290 002CA1F0 48 07 19 F5 */ bl ReadLong__12CInputStreamFv +/* 802CD294 002CA1F4 7F C3 F3 78 */ mr r3, r30 +/* 802CD298 002CA1F8 48 07 19 ED */ bl ReadLong__12CInputStreamFv +/* 802CD29C 002CA1FC 90 61 00 68 */ stw r3, 0x68(r1) +/* 802CD2A0 002CA200 3B 61 00 6C */ addi r27, r1, 0x6c +/* 802CD2A4 002CA204 3B 80 00 00 */ li r28, 0 +/* 802CD2A8 002CA208 48 00 00 38 */ b lbl_802CD2E0 +lbl_802CD2AC: +/* 802CD2AC 002CA20C 7F C4 F3 78 */ mr r4, r30 +/* 802CD2B0 002CA210 38 61 00 08 */ addi r3, r1, 8 +/* 802CD2B4 002CA214 48 04 78 D9 */ bl __ct__9CVector3fFR12CInputStream +/* 802CD2B8 002CA218 28 1B 00 00 */ cmplwi r27, 0 +/* 802CD2BC 002CA21C 41 82 00 1C */ beq lbl_802CD2D8 +/* 802CD2C0 002CA220 C0 01 00 08 */ lfs f0, 8(r1) +/* 802CD2C4 002CA224 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802CD2C8 002CA228 D0 1B 00 00 */ stfs f0, 0(r27) +/* 802CD2CC 002CA22C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802CD2D0 002CA230 D0 3B 00 04 */ stfs f1, 4(r27) +/* 802CD2D4 002CA234 D0 1B 00 08 */ stfs f0, 8(r27) +lbl_802CD2D8: +/* 802CD2D8 002CA238 3B 7B 00 0C */ addi r27, r27, 0xc +/* 802CD2DC 002CA23C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CD2E0: +/* 802CD2E0 002CA240 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802CD2E4 002CA244 7C 1C 00 00 */ cmpw r28, r0 +/* 802CD2E8 002CA248 41 80 FF C4 */ blt lbl_802CD2AC +/* 802CD2EC 002CA24C 7F C3 F3 78 */ mr r3, r30 +/* 802CD2F0 002CA250 48 07 19 95 */ bl ReadLong__12CInputStreamFv +/* 802CD2F4 002CA254 90 61 00 44 */ stw r3, 0x44(r1) +/* 802CD2F8 002CA258 3B 61 00 48 */ addi r27, r1, 0x48 +/* 802CD2FC 002CA25C 3B 80 00 00 */ li r28, 0 +/* 802CD300 002CA260 48 00 00 30 */ b lbl_802CD330 +lbl_802CD304: +/* 802CD304 002CA264 7F C3 F3 78 */ mr r3, r30 +/* 802CD308 002CA268 48 07 19 21 */ bl ReadFloat__12CInputStreamFv +/* 802CD30C 002CA26C FF E0 08 90 */ fmr f31, f1 +/* 802CD310 002CA270 7F C3 F3 78 */ mr r3, r30 +/* 802CD314 002CA274 48 07 19 15 */ bl ReadFloat__12CInputStreamFv +/* 802CD318 002CA278 28 1B 00 00 */ cmplwi r27, 0 +/* 802CD31C 002CA27C 41 82 00 0C */ beq lbl_802CD328 +/* 802CD320 002CA280 D3 FB 00 00 */ stfs f31, 0(r27) +/* 802CD324 002CA284 D0 3B 00 04 */ stfs f1, 4(r27) +lbl_802CD328: +/* 802CD328 002CA288 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CD32C 002CA28C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CD330: +/* 802CD330 002CA290 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CD334 002CA294 7C 1C 00 00 */ cmpw r28, r0 +/* 802CD338 002CA298 41 80 FF CC */ blt lbl_802CD304 +/* 802CD33C 002CA29C 3C 80 80 3D */ lis r4, lbl_803D69E0@ha +/* 802CD340 002CA2A0 38 60 01 54 */ li r3, 0x154 +/* 802CD344 002CA2A4 38 84 69 E0 */ addi r4, r4, lbl_803D69E0@l +/* 802CD348 002CA2A8 38 A0 00 00 */ li r5, 0 +/* 802CD34C 002CA2AC 48 04 85 21 */ bl __nw__FUlPCcPCc +/* 802CD350 002CA2B0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802CD354 002CA2B4 41 82 00 28 */ beq lbl_802CD37C +/* 802CD358 002CA2B8 7F E5 FB 78 */ mr r5, r31 +/* 802CD35C 002CA2BC 38 81 00 2C */ addi r4, r1, 0x2c +/* 802CD360 002CA2C0 39 01 00 68 */ addi r8, r1, 0x68 +/* 802CD364 002CA2C4 39 21 00 44 */ addi r9, r1, 0x44 +/* 802CD368 002CA2C8 38 C0 FF FF */ li r6, -1 +/* 802CD36C 002CA2CC 38 E0 FF FF */ li r7, -1 +/* 802CD370 002CA2D0 39 40 00 01 */ li r10, 1 +/* 802CD374 002CA2D4 4B FF FB 59 */ bl "__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b" +/* 802CD378 002CA2D8 7C 7C 1B 78 */ mr r28, r3 +lbl_802CD37C: +/* 802CD37C 002CA2DC 7F 83 E3 78 */ mr r3, r28 +/* 802CD380 002CA2E0 7F A4 EB 78 */ mr r4, r29 +/* 802CD384 002CA2E4 7F C5 F3 78 */ mr r5, r30 +/* 802CD388 002CA2E8 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802CD38C 002CA2EC 4B FF D6 FD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802CD390 002CA2F0 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 802CD394 002CA2F4 38 60 00 00 */ li r3, 0 +/* 802CD398 002CA2F8 2C 05 00 00 */ cmpwi r5, 0 +/* 802CD39C 002CA2FC 40 81 00 40 */ ble lbl_802CD3DC +/* 802CD3A0 002CA300 2C 05 00 08 */ cmpwi r5, 8 +/* 802CD3A4 002CA304 38 85 FF F8 */ addi r4, r5, -8 +/* 802CD3A8 002CA308 40 81 00 20 */ ble lbl_802CD3C8 +/* 802CD3AC 002CA30C 38 04 00 07 */ addi r0, r4, 7 +/* 802CD3B0 002CA310 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CD3B4 002CA314 7C 09 03 A6 */ mtctr r0 +/* 802CD3B8 002CA318 2C 04 00 00 */ cmpwi r4, 0 +/* 802CD3BC 002CA31C 40 81 00 0C */ ble lbl_802CD3C8 +lbl_802CD3C0: +/* 802CD3C0 002CA320 38 63 00 08 */ addi r3, r3, 8 +/* 802CD3C4 002CA324 42 00 FF FC */ bdnz lbl_802CD3C0 +lbl_802CD3C8: +/* 802CD3C8 002CA328 7C 03 28 50 */ subf r0, r3, r5 +/* 802CD3CC 002CA32C 7C 09 03 A6 */ mtctr r0 +/* 802CD3D0 002CA330 7C 03 28 00 */ cmpw r3, r5 +/* 802CD3D4 002CA334 40 80 00 08 */ bge lbl_802CD3DC +lbl_802CD3D8: +/* 802CD3D8 002CA338 42 00 00 00 */ bdnz lbl_802CD3D8 +lbl_802CD3DC: +/* 802CD3DC 002CA33C 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 802CD3E0 002CA340 38 60 00 00 */ li r3, 0 +/* 802CD3E4 002CA344 90 61 00 44 */ stw r3, 0x44(r1) +/* 802CD3E8 002CA348 2C 05 00 00 */ cmpwi r5, 0 +/* 802CD3EC 002CA34C 40 81 00 40 */ ble lbl_802CD42C +/* 802CD3F0 002CA350 2C 05 00 08 */ cmpwi r5, 8 +/* 802CD3F4 002CA354 38 85 FF F8 */ addi r4, r5, -8 +/* 802CD3F8 002CA358 40 81 00 20 */ ble lbl_802CD418 +/* 802CD3FC 002CA35C 38 04 00 07 */ addi r0, r4, 7 +/* 802CD400 002CA360 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CD404 002CA364 7C 09 03 A6 */ mtctr r0 +/* 802CD408 002CA368 2C 04 00 00 */ cmpwi r4, 0 +/* 802CD40C 002CA36C 40 81 00 0C */ ble lbl_802CD418 +lbl_802CD410: +/* 802CD410 002CA370 38 63 00 08 */ addi r3, r3, 8 +/* 802CD414 002CA374 42 00 FF FC */ bdnz lbl_802CD410 +lbl_802CD418: +/* 802CD418 002CA378 7C 03 28 50 */ subf r0, r3, r5 +/* 802CD41C 002CA37C 7C 09 03 A6 */ mtctr r0 +/* 802CD420 002CA380 7C 03 28 00 */ cmpw r3, r5 +/* 802CD424 002CA384 40 80 00 08 */ bge lbl_802CD42C +lbl_802CD428: +/* 802CD428 002CA388 42 00 00 00 */ bdnz lbl_802CD428 +lbl_802CD42C: +/* 802CD42C 002CA38C 38 00 00 00 */ li r0, 0 +/* 802CD430 002CA390 7F 83 E3 78 */ mr r3, r28 +/* 802CD434 002CA394 90 01 00 68 */ stw r0, 0x68(r1) +/* 802CD438 002CA398 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802CD43C 002CA39C CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802CD440 002CA3A0 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 802CD444 002CA3A4 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802CD448 002CA3A8 7C 08 03 A6 */ mtlr r0 +/* 802CD44C 002CA3AC 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802CD450 002CA3B0 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CAuiMain.s b/asm/GuiSys/CAuiMain.s new file mode 100644 index 00000000..fdf9034f --- /dev/null +++ b/asm/GuiSys/CAuiMain.s @@ -0,0 +1,7 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global InitializeApplicationUI__FR7CGuiSys +InitializeApplicationUI__FR7CGuiSys: +/* 802C0BF4 002BDB54 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CAuiMeter.s b/asm/GuiSys/CAuiMeter.s new file mode 100644 index 00000000..fd76c1ce --- /dev/null +++ b/asm/GuiSys/CAuiMeter.s @@ -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__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__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__Q24rstl46vectorFi" +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__Q24rstl46vectorFi" +/* 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 diff --git a/asm/GuiSys/CGuiGroup.s b/asm/GuiSys/CGuiGroup.s new file mode 100644 index 00000000..4c1130c5 --- /dev/null +++ b/asm/GuiSys/CGuiGroup.s @@ -0,0 +1,2626 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__9CGuiGroupFv +__dt__9CGuiGroupFv: +/* 802C11E8 002BE148 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C11EC 002BE14C 7C 08 02 A6 */ mflr r0 +/* 802C11F0 002BE150 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C11F4 002BE154 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C11F8 002BE158 7C 9F 23 78 */ mr r31, r4 +/* 802C11FC 002BE15C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1200 002BE160 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1204 002BE164 41 82 00 28 */ beq lbl_802C122C +/* 802C1208 002BE168 3C A0 80 3F */ lis r5, lbl_803EC7C8@ha +/* 802C120C 002BE16C 38 80 00 00 */ li r4, 0 +/* 802C1210 002BE170 38 05 C7 C8 */ addi r0, r5, lbl_803EC7C8@l +/* 802C1214 002BE174 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1218 002BE178 48 00 09 19 */ bl __dt__18CGuiCompoundWidgetFv +/* 802C121C 002BE17C 7F E0 07 35 */ extsh. r0, r31 +/* 802C1220 002BE180 40 81 00 0C */ ble lbl_802C122C +/* 802C1224 002BE184 7F C3 F3 78 */ mr r3, r30 +/* 802C1228 002BE188 48 05 47 09 */ bl Free__7CMemoryFPCv +lbl_802C122C: +/* 802C122C 002BE18C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1230 002BE190 7F C3 F3 78 */ mr r3, r30 +/* 802C1234 002BE194 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1238 002BE198 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C123C 002BE19C 7C 08 03 A6 */ mtlr r0 +/* 802C1240 002BE1A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1244 002BE1A4 4E 80 00 20 */ blr + +.global Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb +Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb: +/* 802C1248 002BE1A8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C124C 002BE1AC 7C 08 02 A6 */ mflr r0 +/* 802C1250 002BE1B0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C1254 002BE1B4 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802C1258 002BE1B8 7C 7E 1B 78 */ mr r30, r3 +/* 802C125C 002BE1BC 7C 9F 23 78 */ mr r31, r4 +/* 802C1260 002BE1C0 38 61 00 08 */ addi r3, r1, 8 +/* 802C1264 002BE1C4 7F C4 F3 78 */ mr r4, r30 +/* 802C1268 002BE1C8 7F E5 FB 78 */ mr r5, r31 +/* 802C126C 002BE1CC 48 00 9A E5 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1270 002BE1D0 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C1274 002BE1D4 7F E3 FB 78 */ mr r3, r31 +/* 802C1278 002BE1D8 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C127C 002BE1DC A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C1280 002BE1E0 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C1284 002BE1E4 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C1288 002BE1E8 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C128C 002BE1EC 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C1290 002BE1F0 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C1294 002BE1F4 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C1298 002BE1F8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C129C 002BE1FC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C12A0 002BE200 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C12A4 002BE204 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C12A8 002BE208 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C12AC 002BE20C B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C12B0 002BE210 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C12B4 002BE214 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C12B8 002BE218 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C12BC 002BE21C 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C12C0 002BE220 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C12C4 002BE224 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C12C8 002BE228 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C12CC 002BE22C 48 07 DA 11 */ bl ReadBool__12CInputStreamFv +/* 802C12D0 002BE230 7F E3 FB 78 */ mr r3, r31 +/* 802C12D4 002BE234 48 07 DA 09 */ bl ReadBool__12CInputStreamFv +/* 802C12D8 002BE238 7C 60 1B 78 */ mr r0, r3 +/* 802C12DC 002BE23C 7F E3 FB 78 */ mr r3, r31 +/* 802C12E0 002BE240 7C 1A 03 78 */ mr r26, r0 +/* 802C12E4 002BE244 48 07 D9 A1 */ bl ReadLong__12CInputStreamFv +/* 802C12E8 002BE248 7C 7D 1B 78 */ mr r29, r3 +/* 802C12EC 002BE24C 7F E3 FB 78 */ mr r3, r31 +/* 802C12F0 002BE250 48 07 D9 95 */ bl ReadLong__12CInputStreamFv +/* 802C12F4 002BE254 3C 80 80 3D */ lis r4, lbl_803D6878@ha +/* 802C12F8 002BE258 7C 7C 1B 78 */ mr r28, r3 +/* 802C12FC 002BE25C 38 84 68 78 */ addi r4, r4, lbl_803D6878@l +/* 802C1300 002BE260 38 60 00 E4 */ li r3, 0xe4 +/* 802C1304 002BE264 38 A0 00 00 */ li r5, 0 +/* 802C1308 002BE268 48 05 45 65 */ bl __nw__FUlPCcPCc +/* 802C130C 002BE26C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802C1310 002BE270 41 82 00 1C */ beq lbl_802C132C +/* 802C1314 002BE274 7F 45 D3 78 */ mr r5, r26 +/* 802C1318 002BE278 7F A6 EB 78 */ mr r6, r29 +/* 802C131C 002BE27C 7F 87 E3 78 */ mr r7, r28 +/* 802C1320 002BE280 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C1324 002BE284 4B FF FE 2D */ bl __ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii +/* 802C1328 002BE288 7C 7B 1B 78 */ mr r27, r3 +lbl_802C132C: +/* 802C132C 002BE28C 7F 63 DB 78 */ mr r3, r27 +/* 802C1330 002BE290 7F C4 F3 78 */ mr r4, r30 +/* 802C1334 002BE294 7F E5 FB 78 */ mr r5, r31 +/* 802C1338 002BE298 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C133C 002BE29C 48 00 97 4D */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C1340 002BE2A0 7F 63 DB 78 */ mr r3, r27 +/* 802C1344 002BE2A4 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802C1348 002BE2A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C134C 002BE2AC 7C 08 03 A6 */ mtlr r0 +/* 802C1350 002BE2B0 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C1354 002BE2B4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl46vectorFi" +"reserve__Q24rstl46vectorFi": +/* 802C1358 002BE2B8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C135C 002BE2BC 7C 08 02 A6 */ mflr r0 +/* 802C1360 002BE2C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C1364 002BE2C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C1368 002BE2C8 7C 9F 23 78 */ mr r31, r4 +/* 802C136C 002BE2CC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C1370 002BE2D0 7C 7E 1B 78 */ mr r30, r3 +/* 802C1374 002BE2D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C1378 002BE2D8 80 03 00 08 */ lwz r0, 8(r3) +/* 802C137C 002BE2DC 7C 1F 00 00 */ cmpw r31, r0 +/* 802C1380 002BE2E0 40 81 00 A8 */ ble lbl_802C1428 +/* 802C1384 002BE2E4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802C1388 002BE2E8 40 82 00 0C */ bne lbl_802C1394 +/* 802C138C 002BE2EC 3B A0 00 00 */ li r29, 0 +/* 802C1390 002BE2F0 48 00 00 18 */ b lbl_802C13A8 +lbl_802C1394: +/* 802C1394 002BE2F4 3C 80 80 3D */ lis r4, lbl_803D6878@ha +/* 802C1398 002BE2F8 38 A0 00 00 */ li r5, 0 +/* 802C139C 002BE2FC 38 84 68 78 */ addi r4, r4, lbl_803D6878@l +/* 802C13A0 002BE300 48 05 44 79 */ bl __nwa__FUlPCcPCc +/* 802C13A4 002BE304 7C 7D 1B 78 */ mr r29, r3 +lbl_802C13A8: +/* 802C13A8 002BE308 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C13AC 002BE30C 7F A4 EB 78 */ mr r4, r29 +/* 802C13B0 002BE310 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C13B4 002BE314 54 00 10 3A */ slwi r0, r0, 2 +/* 802C13B8 002BE318 7C 65 02 14 */ add r3, r5, r0 +/* 802C13BC 002BE31C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802C13C0 002BE320 90 61 00 08 */ stw r3, 8(r1) +/* 802C13C4 002BE324 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C13C8 002BE328 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802C13CC 002BE32C 48 00 00 1C */ b lbl_802C13E8 +lbl_802C13D0: +/* 802C13D0 002BE330 28 04 00 00 */ cmplwi r4, 0 +/* 802C13D4 002BE334 41 82 00 0C */ beq lbl_802C13E0 +/* 802C13D8 002BE338 80 05 00 00 */ lwz r0, 0(r5) +/* 802C13DC 002BE33C 90 04 00 00 */ stw r0, 0(r4) +lbl_802C13E0: +/* 802C13E0 002BE340 38 84 00 04 */ addi r4, r4, 4 +/* 802C13E4 002BE344 38 A5 00 04 */ addi r5, r5, 4 +lbl_802C13E8: +/* 802C13E8 002BE348 7C 05 18 40 */ cmplw r5, r3 +/* 802C13EC 002BE34C 40 82 FF E4 */ bne lbl_802C13D0 +/* 802C13F0 002BE350 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C13F4 002BE354 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C13F8 002BE358 54 00 10 3A */ slwi r0, r0, 2 +/* 802C13FC 002BE35C 7C 64 1B 78 */ mr r4, r3 +/* 802C1400 002BE360 7C 03 02 14 */ add r0, r3, r0 +/* 802C1404 002BE364 48 00 00 08 */ b lbl_802C140C +lbl_802C1408: +/* 802C1408 002BE368 38 84 00 04 */ addi r4, r4, 4 +lbl_802C140C: +/* 802C140C 002BE36C 7C 04 00 40 */ cmplw r4, r0 +/* 802C1410 002BE370 40 82 FF F8 */ bne lbl_802C1408 +/* 802C1414 002BE374 28 03 00 00 */ cmplwi r3, 0 +/* 802C1418 002BE378 41 82 00 08 */ beq lbl_802C1420 +/* 802C141C 002BE37C 48 05 45 15 */ bl Free__7CMemoryFPCv +lbl_802C1420: +/* 802C1420 002BE380 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802C1424 002BE384 93 FE 00 08 */ stw r31, 8(r30) +lbl_802C1428: +/* 802C1428 002BE388 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C142C 002BE38C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C1430 002BE390 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C1434 002BE394 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C1438 002BE398 7C 08 03 A6 */ mtlr r0 +/* 802C143C 002BE39C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C1440 002BE3A0 4E 80 00 20 */ blr + +.global __dt__10CGuiCameraFv +__dt__10CGuiCameraFv: +/* 802C1444 002BE3A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1448 002BE3A8 7C 08 02 A6 */ mflr r0 +/* 802C144C 002BE3AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1450 002BE3B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1454 002BE3B4 7C 9F 23 78 */ mr r31, r4 +/* 802C1458 002BE3B8 93 C1 00 08 */ stw r30, 8(r1) +/* 802C145C 002BE3BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1460 002BE3C0 41 82 00 28 */ beq lbl_802C1488 +/* 802C1464 002BE3C4 3C A0 80 3F */ lis r5, lbl_803EC738@ha +/* 802C1468 002BE3C8 38 80 00 00 */ li r4, 0 +/* 802C146C 002BE3CC 38 05 C7 38 */ addi r0, r5, lbl_803EC738@l +/* 802C1470 002BE3D0 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1474 002BE3D4 48 00 97 41 */ bl __dt__10CGuiWidgetFv +/* 802C1478 002BE3D8 7F E0 07 35 */ extsh. r0, r31 +/* 802C147C 002BE3DC 40 81 00 0C */ ble lbl_802C1488 +/* 802C1480 002BE3E0 7F C3 F3 78 */ mr r3, r30 +/* 802C1484 002BE3E4 48 05 44 AD */ bl Free__7CMemoryFPCv +lbl_802C1488: +/* 802C1488 002BE3E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C148C 002BE3EC 7F C3 F3 78 */ mr r3, r30 +/* 802C1490 002BE3F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1494 002BE3F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1498 002BE3F8 7C 08 03 A6 */ mtlr r0 +/* 802C149C 002BE3FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C14A0 002BE400 4E 80 00 20 */ blr + +.global GetWidgetTypeID__10CGuiCameraCFv +GetWidgetTypeID__10CGuiCameraCFv: +/* 802C14A4 002BE404 3C 60 43 41 */ lis r3, 0x43414D52@ha +/* 802C14A8 002BE408 38 63 4D 52 */ addi r3, r3, 0x43414D52@l +/* 802C14AC 002BE40C 4E 80 00 20 */ blr + +.global AddWorkerWidget__10CGuiWidgetFP10CGuiWidget +AddWorkerWidget__10CGuiWidgetFP10CGuiWidget: +/* 802C14B0 002BE410 38 60 00 00 */ li r3, 0 +/* 802C14B4 002BE414 4E 80 00 20 */ blr + +.global ConvertToScreenSpace__10CGuiCameraCFRC9CVector3f +ConvertToScreenSpace__10CGuiCameraCFRC9CVector3f: +/* 802C14B8 002BE418 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802C14BC 002BE41C 7C 08 02 A6 */ mflr r0 +/* 802C14C0 002BE420 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802C14C4 002BE424 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802C14C8 002BE428 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802C14CC 002BE42C DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802C14D0 002BE430 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802C14D4 002BE434 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802C14D8 002BE438 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802C14DC 002BE43C 7C 7E 1B 78 */ mr r30, r3 +/* 802C14E0 002BE440 7C 9F 23 78 */ mr r31, r4 +/* 802C14E4 002BE444 38 61 00 08 */ addi r3, r1, 8 +/* 802C14E8 002BE448 48 00 3B 89 */ bl RotateTranslateW2O__10CGuiObjectCFRC9CVector3f +/* 802C14EC 002BE44C C0 61 00 08 */ lfs f3, 8(r1) +/* 802C14F0 002BE450 38 00 00 00 */ li r0, 0 +/* 802C14F4 002BE454 C0 02 C3 70 */ lfs f0, lbl_805AE090@sda21(r2) +/* 802C14F8 002BE458 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802C14FC 002BE45C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802C1500 002BE460 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 802C1504 002BE464 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802C1508 002BE468 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802C150C 002BE46C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802C1510 002BE470 40 82 00 14 */ bne lbl_802C1524 +/* 802C1514 002BE474 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802C1518 002BE478 40 82 00 0C */ bne lbl_802C1524 +/* 802C151C 002BE47C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C1520 002BE480 41 82 00 08 */ beq lbl_802C1528 +lbl_802C1524: +/* 802C1524 002BE484 38 00 00 01 */ li r0, 1 +lbl_802C1528: +/* 802C1528 002BE488 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C152C 002BE48C 41 82 00 B0 */ beq lbl_802C15DC +/* 802C1530 002BE490 C0 3F 00 BC */ lfs f1, 0xbc(r31) +/* 802C1534 002BE494 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C1538 002BE498 C0 5F 00 C0 */ lfs f2, 0xc0(r31) +/* 802C153C 002BE49C C0 7F 00 C4 */ lfs f3, 0xc4(r31) +/* 802C1540 002BE4A0 C0 9F 00 C8 */ lfs f4, 0xc8(r31) +/* 802C1544 002BE4A4 48 04 AC 45 */ bl CalculatePerspectiveMatrix__9CGraphicsFffff +/* 802C1548 002BE4A8 C3 C1 00 20 */ lfs f30, 0x20(r1) +/* 802C154C 002BE4AC 7F C3 F3 78 */ mr r3, r30 +/* 802C1550 002BE4B0 C3 E1 00 24 */ lfs f31, 0x24(r1) +/* 802C1554 002BE4B4 38 81 00 60 */ addi r4, r1, 0x60 +/* 802C1558 002BE4B8 C1 A1 00 28 */ lfs f13, 0x28(r1) +/* 802C155C 002BE4BC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C1560 002BE4C0 C1 81 00 2C */ lfs f12, 0x2c(r1) +/* 802C1564 002BE4C4 C1 61 00 30 */ lfs f11, 0x30(r1) +/* 802C1568 002BE4C8 C1 41 00 34 */ lfs f10, 0x34(r1) +/* 802C156C 002BE4CC C1 21 00 38 */ lfs f9, 0x38(r1) +/* 802C1570 002BE4D0 C1 01 00 3C */ lfs f8, 0x3c(r1) +/* 802C1574 002BE4D4 C0 E1 00 40 */ lfs f7, 0x40(r1) +/* 802C1578 002BE4D8 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 802C157C 002BE4DC C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802C1580 002BE4E0 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802C1584 002BE4E4 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802C1588 002BE4E8 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802C158C 002BE4EC C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802C1590 002BE4F0 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802C1594 002BE4F4 D3 C1 00 60 */ stfs f30, 0x60(r1) +/* 802C1598 002BE4F8 D3 E1 00 64 */ stfs f31, 0x64(r1) +/* 802C159C 002BE4FC D1 A1 00 68 */ stfs f13, 0x68(r1) +/* 802C15A0 002BE500 D1 81 00 6C */ stfs f12, 0x6c(r1) +/* 802C15A4 002BE504 D1 61 00 70 */ stfs f11, 0x70(r1) +/* 802C15A8 002BE508 D1 41 00 74 */ stfs f10, 0x74(r1) +/* 802C15AC 002BE50C D1 21 00 78 */ stfs f9, 0x78(r1) +/* 802C15B0 002BE510 D1 01 00 7C */ stfs f8, 0x7c(r1) +/* 802C15B4 002BE514 D0 E1 00 80 */ stfs f7, 0x80(r1) +/* 802C15B8 002BE518 D0 C1 00 84 */ stfs f6, 0x84(r1) +/* 802C15BC 002BE51C D0 A1 00 88 */ stfs f5, 0x88(r1) +/* 802C15C0 002BE520 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 802C15C4 002BE524 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 802C15C8 002BE528 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 802C15CC 002BE52C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 802C15D0 002BE530 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 802C15D4 002BE534 48 04 F1 7D */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 802C15D8 002BE538 48 00 00 18 */ b lbl_802C15F0 +lbl_802C15DC: +/* 802C15DC 002BE53C C0 22 C3 74 */ lfs f1, lbl_805AE094@sda21(r2) +/* 802C15E0 002BE540 C0 02 C3 78 */ lfs f0, lbl_805AE098@sda21(r2) +/* 802C15E4 002BE544 D0 3E 00 00 */ stfs f1, 0(r30) +/* 802C15E8 002BE548 D0 3E 00 04 */ stfs f1, 4(r30) +/* 802C15EC 002BE54C D0 1E 00 08 */ stfs f0, 8(r30) +lbl_802C15F0: +/* 802C15F0 002BE550 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802C15F4 002BE554 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802C15F8 002BE558 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802C15FC 002BE55C CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802C1600 002BE560 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802C1604 002BE564 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802C1608 002BE568 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802C160C 002BE56C 7C 08 03 A6 */ mtlr r0 +/* 802C1610 002BE570 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802C1614 002BE574 4E 80 00 20 */ blr + +.global Draw__10CGuiCameraCFRC19CGuiWidgetDrawParms +Draw__10CGuiCameraCFRC19CGuiWidgetDrawParms: +/* 802C1618 002BE578 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802C161C 002BE57C 7C 08 02 A6 */ mflr r0 +/* 802C1620 002BE580 90 01 00 74 */ stw r0, 0x74(r1) +/* 802C1624 002BE584 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802C1628 002BE588 7C 9F 23 78 */ mr r31, r4 +/* 802C162C 002BE58C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802C1630 002BE590 7C 7E 1B 78 */ mr r30, r3 +/* 802C1634 002BE594 80 03 00 B8 */ lwz r0, 0xb8(r3) +/* 802C1638 002BE598 2C 00 00 00 */ cmpwi r0, 0 +/* 802C163C 002BE59C 40 82 00 1C */ bne lbl_802C1658 +/* 802C1640 002BE5A0 C0 3E 00 BC */ lfs f1, 0xbc(r30) +/* 802C1644 002BE5A4 C0 5E 00 C0 */ lfs f2, 0xc0(r30) +/* 802C1648 002BE5A8 C0 7E 00 C4 */ lfs f3, 0xc4(r30) +/* 802C164C 002BE5AC C0 9E 00 C8 */ lfs f4, 0xc8(r30) +/* 802C1650 002BE5B0 48 04 AE 41 */ bl SetPerspective__9CGraphicsFffff +/* 802C1654 002BE5B4 48 00 00 20 */ b lbl_802C1674 +lbl_802C1658: +/* 802C1658 002BE5B8 C0 3E 00 BC */ lfs f1, 0xbc(r30) +/* 802C165C 002BE5BC C0 5E 00 C0 */ lfs f2, 0xc0(r30) +/* 802C1660 002BE5C0 C0 7E 00 C4 */ lfs f3, 0xc4(r30) +/* 802C1664 002BE5C4 C0 9E 00 C8 */ lfs f4, 0xc8(r30) +/* 802C1668 002BE5C8 C0 BE 00 CC */ lfs f5, 0xcc(r30) +/* 802C166C 002BE5CC C0 DE 00 D0 */ lfs f6, 0xd0(r30) +/* 802C1670 002BE5D0 48 04 AE E5 */ bl SetOrtho__9CGraphicsFffffff +lbl_802C1674: +/* 802C1674 002BE5D4 38 61 00 08 */ addi r3, r1, 8 +/* 802C1678 002BE5D8 38 9F 00 04 */ addi r4, r31, 4 +/* 802C167C 002BE5DC 48 05 1A C5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802C1680 002BE5E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C1684 002BE5E4 38 81 00 08 */ addi r4, r1, 8 +/* 802C1688 002BE5E8 38 BE 00 34 */ addi r5, r30, 0x34 +/* 802C168C 002BE5EC 48 05 12 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C1690 002BE5F0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C1694 002BE5F4 48 04 B0 B9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802C1698 002BE5F8 7F C3 F3 78 */ mr r3, r30 +/* 802C169C 002BE5FC 7F E4 FB 78 */ mr r4, r31 +/* 802C16A0 002BE600 48 00 93 C1 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms +/* 802C16A4 002BE604 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802C16A8 002BE608 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802C16AC 002BE60C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802C16B0 002BE610 7C 08 03 A6 */ mtlr r0 +/* 802C16B4 002BE614 38 21 00 70 */ addi r1, r1, 0x70 +/* 802C16B8 002BE618 4E 80 00 20 */ blr + +.global __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff +__ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff: +/* 802C16BC 002BE61C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C16C0 002BE620 7C 08 02 A6 */ mflr r0 +/* 802C16C4 002BE624 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C16C8 002BE628 39 61 00 40 */ addi r11, r1, 0x40 +/* 802C16CC 002BE62C 48 0C 83 15 */ bl func_803899E0 +/* 802C16D0 002BE630 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C16D4 002BE634 FF 40 08 90 */ fmr f26, f1 +/* 802C16D8 002BE638 7C 7F 1B 78 */ mr r31, r3 +/* 802C16DC 002BE63C FF 60 10 90 */ fmr f27, f2 +/* 802C16E0 002BE640 FF 80 18 90 */ fmr f28, f3 +/* 802C16E4 002BE644 FF A0 20 90 */ fmr f29, f4 +/* 802C16E8 002BE648 FF C0 28 90 */ fmr f30, f5 +/* 802C16EC 002BE64C FF E0 30 90 */ fmr f31, f6 +/* 802C16F0 002BE650 48 00 95 35 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C16F4 002BE654 3C 60 80 3F */ lis r3, lbl_803EC738@ha +/* 802C16F8 002BE658 38 00 00 01 */ li r0, 1 +/* 802C16FC 002BE65C 38 83 C7 38 */ addi r4, r3, lbl_803EC738@l +/* 802C1700 002BE660 7F E3 FB 78 */ mr r3, r31 +/* 802C1704 002BE664 90 9F 00 00 */ stw r4, 0(r31) +/* 802C1708 002BE668 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 802C170C 002BE66C D3 5F 00 BC */ stfs f26, 0xbc(r31) +/* 802C1710 002BE670 D3 7F 00 C0 */ stfs f27, 0xc0(r31) +/* 802C1714 002BE674 D3 9F 00 C4 */ stfs f28, 0xc4(r31) +/* 802C1718 002BE678 D3 BF 00 C8 */ stfs f29, 0xc8(r31) +/* 802C171C 002BE67C D3 DF 00 CC */ stfs f30, 0xcc(r31) +/* 802C1720 002BE680 D3 FF 00 D0 */ stfs f31, 0xd0(r31) +/* 802C1724 002BE684 39 61 00 40 */ addi r11, r1, 0x40 +/* 802C1728 002BE688 48 0C 83 05 */ bl func_80389A2C +/* 802C172C 002BE68C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C1730 002BE690 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1734 002BE694 7C 08 03 A6 */ mtlr r0 +/* 802C1738 002BE698 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C173C 002BE69C 4E 80 00 20 */ blr + +.global __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff +__ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff: +/* 802C1740 002BE6A0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802C1744 002BE6A4 7C 08 02 A6 */ mflr r0 +/* 802C1748 002BE6A8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802C174C 002BE6AC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802C1750 002BE6B0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802C1754 002BE6B4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802C1758 002BE6B8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802C175C 002BE6BC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802C1760 002BE6C0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802C1764 002BE6C4 DB 81 00 20 */ stfd f28, 0x20(r1) +/* 802C1768 002BE6C8 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 802C176C 002BE6CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C1770 002BE6D0 FF 80 08 90 */ fmr f28, f1 +/* 802C1774 002BE6D4 7C 7F 1B 78 */ mr r31, r3 +/* 802C1778 002BE6D8 FF A0 10 90 */ fmr f29, f2 +/* 802C177C 002BE6DC FF C0 18 90 */ fmr f30, f3 +/* 802C1780 002BE6E0 FF E0 20 90 */ fmr f31, f4 +/* 802C1784 002BE6E4 48 00 94 A1 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C1788 002BE6E8 3C 60 80 3F */ lis r3, lbl_803EC738@ha +/* 802C178C 002BE6EC 38 00 00 00 */ li r0, 0 +/* 802C1790 002BE6F0 38 63 C7 38 */ addi r3, r3, lbl_803EC738@l +/* 802C1794 002BE6F4 C0 22 C3 78 */ lfs f1, lbl_805AE098@sda21(r2) +/* 802C1798 002BE6F8 90 7F 00 00 */ stw r3, 0(r31) +/* 802C179C 002BE6FC 38 61 00 08 */ addi r3, r1, 8 +/* 802C17A0 002BE700 C0 02 C3 70 */ lfs f0, lbl_805AE090@sda21(r2) +/* 802C17A4 002BE704 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 802C17A8 002BE708 D0 21 00 08 */ stfs f1, 8(r1) +/* 802C17AC 002BE70C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802C17B0 002BE710 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C17B4 002BE714 48 05 31 45 */ bl Normalize__9CVector3fFv +/* 802C17B8 002BE718 D3 9F 00 BC */ stfs f28, 0xbc(r31) +/* 802C17BC 002BE71C 7F E3 FB 78 */ mr r3, r31 +/* 802C17C0 002BE720 D3 BF 00 C0 */ stfs f29, 0xc0(r31) +/* 802C17C4 002BE724 D3 DF 00 C4 */ stfs f30, 0xc4(r31) +/* 802C17C8 002BE728 D3 FF 00 C8 */ stfs f31, 0xc8(r31) +/* 802C17CC 002BE72C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802C17D0 002BE730 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802C17D4 002BE734 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802C17D8 002BE738 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802C17DC 002BE73C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802C17E0 002BE740 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802C17E4 002BE744 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 802C17E8 002BE748 CB 81 00 20 */ lfd f28, 0x20(r1) +/* 802C17EC 002BE74C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802C17F0 002BE750 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C17F4 002BE754 7C 08 03 A6 */ mtlr r0 +/* 802C17F8 002BE758 38 21 00 60 */ addi r1, r1, 0x60 +/* 802C17FC 002BE75C 4E 80 00 20 */ blr + +.global Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb +Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb: +/* 802C1800 002BE760 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C1804 002BE764 7C 08 02 A6 */ mflr r0 +/* 802C1808 002BE768 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C180C 002BE76C 39 61 00 80 */ addi r11, r1, 0x80 +/* 802C1810 002BE770 48 0C 81 D1 */ bl func_803899E0 +/* 802C1814 002BE774 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802C1818 002BE778 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802C181C 002BE77C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802C1820 002BE780 7C 7E 1B 78 */ mr r30, r3 +/* 802C1824 002BE784 7C 9F 23 78 */ mr r31, r4 +/* 802C1828 002BE788 7F C4 F3 78 */ mr r4, r30 +/* 802C182C 002BE78C 38 61 00 08 */ addi r3, r1, 8 +/* 802C1830 002BE790 7F E5 FB 78 */ mr r5, r31 +/* 802C1834 002BE794 48 00 95 1D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1838 002BE798 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C183C 002BE79C 7F E3 FB 78 */ mr r3, r31 +/* 802C1840 002BE7A0 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C1844 002BE7A4 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C1848 002BE7A8 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C184C 002BE7AC 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C1850 002BE7B0 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C1854 002BE7B4 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C1858 002BE7B8 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C185C 002BE7BC 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C1860 002BE7C0 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C1864 002BE7C4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C1868 002BE7C8 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C186C 002BE7CC 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C1870 002BE7D0 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C1874 002BE7D4 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C1878 002BE7D8 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C187C 002BE7DC 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C1880 002BE7E0 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C1884 002BE7E4 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C1888 002BE7E8 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C188C 002BE7EC 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C1890 002BE7F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C1894 002BE7F4 48 07 D3 F1 */ bl ReadLong__12CInputStreamFv +/* 802C1898 002BE7F8 2C 03 00 00 */ cmpwi r3, 0 +/* 802C189C 002BE7FC 3B A0 00 00 */ li r29, 0 +/* 802C18A0 002BE800 40 82 00 74 */ bne lbl_802C1914 +/* 802C18A4 002BE804 7F E3 FB 78 */ mr r3, r31 +/* 802C18A8 002BE808 48 07 D3 81 */ bl ReadFloat__12CInputStreamFv +/* 802C18AC 002BE80C FF E0 08 90 */ fmr f31, f1 +/* 802C18B0 002BE810 7F E3 FB 78 */ mr r3, r31 +/* 802C18B4 002BE814 48 07 D3 75 */ bl ReadFloat__12CInputStreamFv +/* 802C18B8 002BE818 FF C0 08 90 */ fmr f30, f1 +/* 802C18BC 002BE81C 7F E3 FB 78 */ mr r3, r31 +/* 802C18C0 002BE820 48 07 D3 69 */ bl ReadFloat__12CInputStreamFv +/* 802C18C4 002BE824 FF A0 08 90 */ fmr f29, f1 +/* 802C18C8 002BE828 7F E3 FB 78 */ mr r3, r31 +/* 802C18CC 002BE82C 48 07 D3 5D */ bl ReadFloat__12CInputStreamFv +/* 802C18D0 002BE830 FF 80 08 90 */ fmr f28, f1 +/* 802C18D4 002BE834 3C 60 80 3D */ lis r3, lbl_803D6880@ha +/* 802C18D8 002BE838 38 83 68 80 */ addi r4, r3, lbl_803D6880@l +/* 802C18DC 002BE83C 38 A0 00 00 */ li r5, 0 +/* 802C18E0 002BE840 38 60 00 D4 */ li r3, 0xd4 +/* 802C18E4 002BE844 48 05 3F 89 */ bl __nw__FUlPCcPCc +/* 802C18E8 002BE848 7C 60 1B 79 */ or. r0, r3, r3 +/* 802C18EC 002BE84C 41 82 00 20 */ beq lbl_802C190C +/* 802C18F0 002BE850 FC 20 F8 90 */ fmr f1, f31 +/* 802C18F4 002BE854 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C18F8 002BE858 FC 40 F0 90 */ fmr f2, f30 +/* 802C18FC 002BE85C FC 60 E8 90 */ fmr f3, f29 +/* 802C1900 002BE860 FC 80 E0 90 */ fmr f4, f28 +/* 802C1904 002BE864 4B FF FE 3D */ bl __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff +/* 802C1908 002BE868 7C 60 1B 78 */ mr r0, r3 +lbl_802C190C: +/* 802C190C 002BE86C 7C 1D 03 78 */ mr r29, r0 +/* 802C1910 002BE870 48 00 00 98 */ b lbl_802C19A8 +lbl_802C1914: +/* 802C1914 002BE874 2C 03 00 01 */ cmpwi r3, 1 +/* 802C1918 002BE878 40 82 00 90 */ bne lbl_802C19A8 +/* 802C191C 002BE87C 7F E3 FB 78 */ mr r3, r31 +/* 802C1920 002BE880 48 07 D3 09 */ bl ReadFloat__12CInputStreamFv +/* 802C1924 002BE884 FF 80 08 90 */ fmr f28, f1 +/* 802C1928 002BE888 7F E3 FB 78 */ mr r3, r31 +/* 802C192C 002BE88C 48 07 D2 FD */ bl ReadFloat__12CInputStreamFv +/* 802C1930 002BE890 FF A0 08 90 */ fmr f29, f1 +/* 802C1934 002BE894 7F E3 FB 78 */ mr r3, r31 +/* 802C1938 002BE898 48 07 D2 F1 */ bl ReadFloat__12CInputStreamFv +/* 802C193C 002BE89C FF C0 08 90 */ fmr f30, f1 +/* 802C1940 002BE8A0 7F E3 FB 78 */ mr r3, r31 +/* 802C1944 002BE8A4 48 07 D2 E5 */ bl ReadFloat__12CInputStreamFv +/* 802C1948 002BE8A8 FF E0 08 90 */ fmr f31, f1 +/* 802C194C 002BE8AC 7F E3 FB 78 */ mr r3, r31 +/* 802C1950 002BE8B0 48 07 D2 D9 */ bl ReadFloat__12CInputStreamFv +/* 802C1954 002BE8B4 FF 60 08 90 */ fmr f27, f1 +/* 802C1958 002BE8B8 7F E3 FB 78 */ mr r3, r31 +/* 802C195C 002BE8BC 48 07 D2 CD */ bl ReadFloat__12CInputStreamFv +/* 802C1960 002BE8C0 FF 40 08 90 */ fmr f26, f1 +/* 802C1964 002BE8C4 3C 60 80 3D */ lis r3, lbl_803D6880@ha +/* 802C1968 002BE8C8 38 83 68 80 */ addi r4, r3, lbl_803D6880@l +/* 802C196C 002BE8CC 38 A0 00 00 */ li r5, 0 +/* 802C1970 002BE8D0 38 60 00 D4 */ li r3, 0xd4 +/* 802C1974 002BE8D4 48 05 3E F9 */ bl __nw__FUlPCcPCc +/* 802C1978 002BE8D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 802C197C 002BE8DC 41 82 00 28 */ beq lbl_802C19A4 +/* 802C1980 002BE8E0 FC 20 E0 90 */ fmr f1, f28 +/* 802C1984 002BE8E4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C1988 002BE8E8 FC 40 E8 90 */ fmr f2, f29 +/* 802C198C 002BE8EC FC 60 F0 90 */ fmr f3, f30 +/* 802C1990 002BE8F0 FC 80 F8 90 */ fmr f4, f31 +/* 802C1994 002BE8F4 FC A0 D8 90 */ fmr f5, f27 +/* 802C1998 002BE8F8 FC C0 D0 90 */ fmr f6, f26 +/* 802C199C 002BE8FC 4B FF FD 21 */ bl __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff +/* 802C19A0 002BE900 7C 60 1B 78 */ mr r0, r3 +lbl_802C19A4: +/* 802C19A4 002BE904 7C 1D 03 78 */ mr r29, r0 +lbl_802C19A8: +/* 802C19A8 002BE908 7F C3 F3 78 */ mr r3, r30 +/* 802C19AC 002BE90C 7F A4 EB 78 */ mr r4, r29 +/* 802C19B0 002BE910 48 00 07 F1 */ bl SetFrameCamera__9CGuiFrameFP10CGuiCamera +/* 802C19B4 002BE914 7F A3 EB 78 */ mr r3, r29 +/* 802C19B8 002BE918 7F C4 F3 78 */ mr r4, r30 +/* 802C19BC 002BE91C 7F E5 FB 78 */ mr r5, r31 +/* 802C19C0 002BE920 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C19C4 002BE924 48 00 90 C5 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C19C8 002BE928 7F A3 EB 78 */ mr r3, r29 +/* 802C19CC 002BE92C 39 61 00 80 */ addi r11, r1, 0x80 +/* 802C19D0 002BE930 48 0C 80 5D */ bl func_80389A2C +/* 802C19D4 002BE934 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C19D8 002BE938 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802C19DC 002BE93C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802C19E0 002BE940 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802C19E4 002BE944 7C 08 03 A6 */ mtlr r0 +/* 802C19E8 002BE948 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C19EC 002BE94C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__18CGuiCompoundWidgetCFv +GetWidgetTypeID__18CGuiCompoundWidgetCFv: +/* 802C19F0 002BE950 38 60 FF FF */ li r3, -1 +/* 802C19F4 002BE954 4E 80 00 20 */ blr + +.global OnVisible__18CGuiCompoundWidgetFv +OnVisible__18CGuiCompoundWidgetFv: +/* 802C19F8 002BE958 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C19FC 002BE95C 7C 08 02 A6 */ mflr r0 +/* 802C1A00 002BE960 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1A04 002BE964 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1A08 002BE968 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1A0C 002BE96C 7C 7E 1B 78 */ mr r30, r3 +/* 802C1A10 002BE970 48 00 33 21 */ bl GetChildObject__10CGuiObjectFv +/* 802C1A14 002BE974 7C 7F 1B 78 */ mr r31, r3 +/* 802C1A18 002BE978 48 00 00 30 */ b lbl_802C1A48 +lbl_802C1A1C: +/* 802C1A1C 002BE97C 7F C3 F3 78 */ mr r3, r30 +/* 802C1A20 002BE980 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C1A24 002BE984 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C1A28 002BE988 7D 89 03 A6 */ mtctr r12 +/* 802C1A2C 002BE98C 4E 80 04 21 */ bctrl +/* 802C1A30 002BE990 7C 64 1B 78 */ mr r4, r3 +/* 802C1A34 002BE994 7F E3 FB 78 */ mr r3, r31 +/* 802C1A38 002BE998 48 00 8B F5 */ bl SetIsVisible__10CGuiWidgetFb +/* 802C1A3C 002BE99C 7F E3 FB 78 */ mr r3, r31 +/* 802C1A40 002BE9A0 48 00 32 E1 */ bl GetNextSibling__10CGuiObjectFv +/* 802C1A44 002BE9A4 7C 7F 1B 78 */ mr r31, r3 +lbl_802C1A48: +/* 802C1A48 002BE9A8 28 1F 00 00 */ cmplwi r31, 0 +/* 802C1A4C 002BE9AC 40 82 FF D0 */ bne lbl_802C1A1C +/* 802C1A50 002BE9B0 7F C3 F3 78 */ mr r3, r30 +/* 802C1A54 002BE9B4 48 00 8B 8D */ bl OnVisible__10CGuiWidgetFv +/* 802C1A58 002BE9B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1A5C 002BE9BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1A60 002BE9C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1A64 002BE9C4 7C 08 03 A6 */ mtlr r0 +/* 802C1A68 002BE9C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1A6C 002BE9CC 4E 80 00 20 */ blr + +.global OnActivate__18CGuiCompoundWidgetFb +OnActivate__18CGuiCompoundWidgetFb: +/* 802C1A70 002BE9D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1A74 002BE9D4 7C 08 02 A6 */ mflr r0 +/* 802C1A78 002BE9D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1A7C 002BE9DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1A80 002BE9E0 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1A84 002BE9E4 7C 7E 1B 78 */ mr r30, r3 +/* 802C1A88 002BE9E8 48 00 32 A9 */ bl GetChildObject__10CGuiObjectFv +/* 802C1A8C 002BE9EC 7C 7F 1B 78 */ mr r31, r3 +/* 802C1A90 002BE9F0 48 00 00 30 */ b lbl_802C1AC0 +lbl_802C1A94: +/* 802C1A94 002BE9F4 7F C3 F3 78 */ mr r3, r30 +/* 802C1A98 002BE9F8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C1A9C 002BE9FC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C1AA0 002BEA00 7D 89 03 A6 */ mtctr r12 +/* 802C1AA4 002BEA04 4E 80 04 21 */ bctrl +/* 802C1AA8 002BEA08 7C 64 1B 78 */ mr r4, r3 +/* 802C1AAC 002BEA0C 7F E3 FB 78 */ mr r3, r31 +/* 802C1AB0 002BEA10 48 00 8B 35 */ bl SetIsActive__10CGuiWidgetFb +/* 802C1AB4 002BEA14 7F E3 FB 78 */ mr r3, r31 +/* 802C1AB8 002BEA18 48 00 32 69 */ bl GetNextSibling__10CGuiObjectFv +/* 802C1ABC 002BEA1C 7C 7F 1B 78 */ mr r31, r3 +lbl_802C1AC0: +/* 802C1AC0 002BEA20 28 1F 00 00 */ cmplwi r31, 0 +/* 802C1AC4 002BEA24 40 82 FF D0 */ bne lbl_802C1A94 +/* 802C1AC8 002BEA28 7F C3 F3 78 */ mr r3, r30 +/* 802C1ACC 002BEA2C 48 00 8B 11 */ bl OnActivate__10CGuiWidgetFv +/* 802C1AD0 002BEA30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1AD4 002BEA34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1AD8 002BEA38 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1ADC 002BEA3C 7C 08 03 A6 */ mtlr r0 +/* 802C1AE0 002BEA40 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1AE4 002BEA44 4E 80 00 20 */ blr + +.global GetWorkerWidget__18CGuiCompoundWidgetFi +GetWorkerWidget__18CGuiCompoundWidgetFi: +/* 802C1AE8 002BEA48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1AEC 002BEA4C 7C 08 02 A6 */ mflr r0 +/* 802C1AF0 002BEA50 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1AF4 002BEA54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1AF8 002BEA58 7C 9F 23 78 */ mr r31, r4 +/* 802C1AFC 002BEA5C 48 00 32 3D */ bl GetChildObject__18CGuiCompoundWidgetFv +/* 802C1B00 002BEA60 48 00 00 14 */ b lbl_802C1B14 +lbl_802C1B04: +/* 802C1B04 002BEA64 A8 03 00 B4 */ lha r0, 0xb4(r3) +/* 802C1B08 002BEA68 7C 1F 00 00 */ cmpw r31, r0 +/* 802C1B0C 002BEA6C 41 82 00 10 */ beq lbl_802C1B1C +/* 802C1B10 002BEA70 48 00 32 19 */ bl GetNextSibling__18CGuiCompoundWidgetFv +lbl_802C1B14: +/* 802C1B14 002BEA74 28 03 00 00 */ cmplwi r3, 0 +/* 802C1B18 002BEA78 40 82 FF EC */ bne lbl_802C1B04 +lbl_802C1B1C: +/* 802C1B1C 002BEA7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1B20 002BEA80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1B24 002BEA84 7C 08 03 A6 */ mtlr r0 +/* 802C1B28 002BEA88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1B2C 002BEA8C 4E 80 00 20 */ blr + +.global __dt__18CGuiCompoundWidgetFv +__dt__18CGuiCompoundWidgetFv: +/* 802C1B30 002BEA90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1B34 002BEA94 7C 08 02 A6 */ mflr r0 +/* 802C1B38 002BEA98 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1B3C 002BEA9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1B40 002BEAA0 7C 9F 23 78 */ mr r31, r4 +/* 802C1B44 002BEAA4 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1B48 002BEAA8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1B4C 002BEAAC 41 82 00 28 */ beq lbl_802C1B74 +/* 802C1B50 002BEAB0 3C A0 80 3F */ lis r5, lbl_803EC778@ha +/* 802C1B54 002BEAB4 38 80 00 00 */ li r4, 0 +/* 802C1B58 002BEAB8 38 05 C7 78 */ addi r0, r5, lbl_803EC778@l +/* 802C1B5C 002BEABC 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1B60 002BEAC0 48 00 90 55 */ bl __dt__10CGuiWidgetFv +/* 802C1B64 002BEAC4 7F E0 07 35 */ extsh. r0, r31 +/* 802C1B68 002BEAC8 40 81 00 0C */ ble lbl_802C1B74 +/* 802C1B6C 002BEACC 7F C3 F3 78 */ mr r3, r30 +/* 802C1B70 002BEAD0 48 05 3D C1 */ bl Free__7CMemoryFPCv +lbl_802C1B74: +/* 802C1B74 002BEAD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1B78 002BEAD8 7F C3 F3 78 */ mr r3, r30 +/* 802C1B7C 002BEADC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1B80 002BEAE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1B84 002BEAE4 7C 08 03 A6 */ mtlr r0 +/* 802C1B88 002BEAE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1B8C 002BEAEC 4E 80 00 20 */ blr + +.global __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms +__ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms: +/* 802C1B90 002BEAF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1B94 002BEAF4 7C 08 02 A6 */ mflr r0 +/* 802C1B98 002BEAF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1B9C 002BEAFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1BA0 002BEB00 7C 7F 1B 78 */ mr r31, r3 +/* 802C1BA4 002BEB04 48 00 90 81 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C1BA8 002BEB08 3C 80 80 3F */ lis r4, lbl_803EC778@ha +/* 802C1BAC 002BEB0C 7F E3 FB 78 */ mr r3, r31 +/* 802C1BB0 002BEB10 38 04 C7 78 */ addi r0, r4, lbl_803EC778@l +/* 802C1BB4 002BEB14 90 1F 00 00 */ stw r0, 0(r31) +/* 802C1BB8 002BEB18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1BBC 002BEB1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1BC0 002BEB20 7C 08 03 A6 */ mtlr r0 +/* 802C1BC4 002BEB24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1BC8 002BEB28 4E 80 00 20 */ blr + +.global FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb +FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb: +/* 802C1BCC 002BEB2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1BD0 002BEB30 7C 08 02 A6 */ mflr r0 +/* 802C1BD4 002BEB34 3C E0 4C 49 */ lis r7, 0x4C495445@ha +/* 802C1BD8 002BEB38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1BDC 002BEB3C 38 07 54 45 */ addi r0, r7, 0x4C495445@l +/* 802C1BE0 002BEB40 7C 03 00 00 */ cmpw r3, r0 +/* 802C1BE4 002BEB44 41 82 01 AC */ beq lbl_802C1D90 +/* 802C1BE8 002BEB48 40 80 00 7C */ bge lbl_802C1C64 +/* 802C1BEC 002BEB4C 3C E0 47 52 */ lis r7, 0x47525550@ha +/* 802C1BF0 002BEB50 38 07 55 50 */ addi r0, r7, 0x47525550@l +/* 802C1BF4 002BEB54 7C 03 00 00 */ cmpw r3, r0 +/* 802C1BF8 002BEB58 41 82 01 20 */ beq lbl_802C1D18 +/* 802C1BFC 002BEB5C 40 80 00 40 */ bge lbl_802C1C3C +/* 802C1C00 002BEB60 3C E0 43 41 */ lis r7, 0x43414D52@ha +/* 802C1C04 002BEB64 38 07 4D 52 */ addi r0, r7, 0x43414D52@l +/* 802C1C08 002BEB68 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C0C 002BEB6C 41 82 00 F8 */ beq lbl_802C1D04 +/* 802C1C10 002BEB70 40 80 00 18 */ bge lbl_802C1C28 +/* 802C1C14 002BEB74 3C E0 42 57 */ lis r7, 0x42574947@ha +/* 802C1C18 002BEB78 38 07 49 47 */ addi r0, r7, 0x42574947@l +/* 802C1C1C 002BEB7C 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C20 002BEB80 41 82 00 D0 */ beq lbl_802C1CF0 +/* 802C1C24 002BEB84 48 00 01 BC */ b lbl_802C1DE0 +lbl_802C1C28: +/* 802C1C28 002BEB88 3C E0 45 4E */ lis r7, 0x454E5247@ha +/* 802C1C2C 002BEB8C 38 07 52 47 */ addi r0, r7, 0x454E5247@l +/* 802C1C30 002BEB90 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C34 002BEB94 41 82 01 70 */ beq lbl_802C1DA4 +/* 802C1C38 002BEB98 48 00 01 A8 */ b lbl_802C1DE0 +lbl_802C1C3C: +/* 802C1C3C 002BEB9C 3C E0 49 4D */ lis r7, 0x494D4750@ha +/* 802C1C40 002BEBA0 38 07 47 50 */ addi r0, r7, 0x494D4750@l +/* 802C1C44 002BEBA4 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C48 002BEBA8 41 82 01 84 */ beq lbl_802C1DCC +/* 802C1C4C 002BEBAC 40 80 01 94 */ bge lbl_802C1DE0 +/* 802C1C50 002BEBB0 3C E0 48 57 */ lis r7, 0x48574947@ha +/* 802C1C54 002BEBB4 38 07 49 47 */ addi r0, r7, 0x48574947@l +/* 802C1C58 002BEBB8 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C5C 002BEBBC 41 82 00 80 */ beq lbl_802C1CDC +/* 802C1C60 002BEBC0 48 00 01 80 */ b lbl_802C1DE0 +lbl_802C1C64: +/* 802C1C64 002BEBC4 3C E0 53 4C */ lis r7, 0x534C4750@ha +/* 802C1C68 002BEBC8 38 07 47 50 */ addi r0, r7, 0x534C4750@l +/* 802C1C6C 002BEBCC 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C70 002BEBD0 41 82 00 D0 */ beq lbl_802C1D40 +/* 802C1C74 002BEBD4 40 80 00 40 */ bge lbl_802C1CB4 +/* 802C1C78 002BEBD8 3C E0 4D 4F */ lis r7, 0x4D4F444C@ha +/* 802C1C7C 002BEBDC 38 07 44 4C */ addi r0, r7, 0x4D4F444C@l +/* 802C1C80 002BEBE0 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C84 002BEBE4 41 82 00 A8 */ beq lbl_802C1D2C +/* 802C1C88 002BEBE8 40 80 00 18 */ bge lbl_802C1CA0 +/* 802C1C8C 002BEBEC 3C E0 4D 45 */ lis r7, 0x4D455452@ha +/* 802C1C90 002BEBF0 38 07 54 52 */ addi r0, r7, 0x4D455452@l +/* 802C1C94 002BEBF4 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C98 002BEBF8 41 82 01 20 */ beq lbl_802C1DB8 +/* 802C1C9C 002BEBFC 48 00 01 44 */ b lbl_802C1DE0 +lbl_802C1CA0: +/* 802C1CA0 002BEC00 3C E0 50 41 */ lis r7, 0x50414E45@ha +/* 802C1CA4 002BEC04 38 07 4E 45 */ addi r0, r7, 0x50414E45@l +/* 802C1CA8 002BEC08 7C 03 00 00 */ cmpw r3, r0 +/* 802C1CAC 002BEC0C 41 82 00 BC */ beq lbl_802C1D68 +/* 802C1CB0 002BEC10 48 00 01 30 */ b lbl_802C1DE0 +lbl_802C1CB4: +/* 802C1CB4 002BEC14 3C E0 54 58 */ lis r7, 0x5458504E@ha +/* 802C1CB8 002BEC18 38 07 50 4E */ addi r0, r7, 0x5458504E@l +/* 802C1CBC 002BEC1C 7C 03 00 00 */ cmpw r3, r0 +/* 802C1CC0 002BEC20 41 82 00 BC */ beq lbl_802C1D7C +/* 802C1CC4 002BEC24 40 80 01 1C */ bge lbl_802C1DE0 +/* 802C1CC8 002BEC28 3C E0 54 42 */ lis r7, 0x54424750@ha +/* 802C1CCC 002BEC2C 38 07 47 50 */ addi r0, r7, 0x54424750@l +/* 802C1CD0 002BEC30 7C 03 00 00 */ cmpw r3, r0 +/* 802C1CD4 002BEC34 41 82 00 80 */ beq lbl_802C1D54 +/* 802C1CD8 002BEC38 48 00 01 08 */ b lbl_802C1DE0 +lbl_802C1CDC: +/* 802C1CDC 002BEC3C 7C 83 23 78 */ mr r3, r4 +/* 802C1CE0 002BEC40 7C A4 2B 78 */ mr r4, r5 +/* 802C1CE4 002BEC44 7C C5 33 78 */ mr r5, r6 +/* 802C1CE8 002BEC48 48 00 19 0D */ bl Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1CEC 002BEC4C 48 00 00 F8 */ b lbl_802C1DE4 +lbl_802C1CF0: +/* 802C1CF0 002BEC50 7C 83 23 78 */ mr r3, r4 +/* 802C1CF4 002BEC54 7C A4 2B 78 */ mr r4, r5 +/* 802C1CF8 002BEC58 7C C5 33 78 */ mr r5, r6 +/* 802C1CFC 002BEC5C 48 00 91 5D */ bl Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1D00 002BEC60 48 00 00 E4 */ b lbl_802C1DE4 +lbl_802C1D04: +/* 802C1D04 002BEC64 7C 83 23 78 */ mr r3, r4 +/* 802C1D08 002BEC68 7C A4 2B 78 */ mr r4, r5 +/* 802C1D0C 002BEC6C 7C C5 33 78 */ mr r5, r6 +/* 802C1D10 002BEC70 4B FF FA F1 */ bl Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb +/* 802C1D14 002BEC74 48 00 00 D0 */ b lbl_802C1DE4 +lbl_802C1D18: +/* 802C1D18 002BEC78 7C 83 23 78 */ mr r3, r4 +/* 802C1D1C 002BEC7C 7C A4 2B 78 */ mr r4, r5 +/* 802C1D20 002BEC80 7C C5 33 78 */ mr r5, r6 +/* 802C1D24 002BEC84 48 00 17 9D */ bl Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb +/* 802C1D28 002BEC88 48 00 00 BC */ b lbl_802C1DE4 +lbl_802C1D2C: +/* 802C1D2C 002BEC8C 7C 83 23 78 */ mr r3, r4 +/* 802C1D30 002BEC90 7C A4 2B 78 */ mr r4, r5 +/* 802C1D34 002BEC94 7C C5 33 78 */ mr r5, r6 +/* 802C1D38 002BEC98 48 00 28 F9 */ bl Create__9CGuiModelFP9CGuiFrameR12CInputStreamb +/* 802C1D3C 002BEC9C 48 00 00 A8 */ b lbl_802C1DE4 +lbl_802C1D40: +/* 802C1D40 002BECA0 7C 83 23 78 */ mr r3, r4 +/* 802C1D44 002BECA4 7C A4 2B 78 */ mr r4, r5 +/* 802C1D48 002BECA8 7C C5 33 78 */ mr r5, r6 +/* 802C1D4C 002BECAC 48 00 45 81 */ bl Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb +/* 802C1D50 002BECB0 48 00 00 94 */ b lbl_802C1DE4 +lbl_802C1D54: +/* 802C1D54 002BECB4 7C 83 23 78 */ mr r3, r4 +/* 802C1D58 002BECB8 7C A4 2B 78 */ mr r4, r5 +/* 802C1D5C 002BECBC 7C C5 33 78 */ mr r5, r6 +/* 802C1D60 002BECC0 48 00 55 81 */ bl Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb +/* 802C1D64 002BECC4 48 00 00 80 */ b lbl_802C1DE4 +lbl_802C1D68: +/* 802C1D68 002BECC8 7C 83 23 78 */ mr r3, r4 +/* 802C1D6C 002BECCC 7C A4 2B 78 */ mr r4, r5 +/* 802C1D70 002BECD0 7C C5 33 78 */ mr r5, r6 +/* 802C1D74 002BECD4 48 00 3C D9 */ bl Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb +/* 802C1D78 002BECD8 48 00 00 6C */ b lbl_802C1DE4 +lbl_802C1D7C: +/* 802C1D7C 002BECDC 7C 83 23 78 */ mr r3, r4 +/* 802C1D80 002BECE0 7C A4 2B 78 */ mr r4, r5 +/* 802C1D84 002BECE4 7C C5 33 78 */ mr r5, r6 +/* 802C1D88 002BECE8 48 00 5D 65 */ bl Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb +/* 802C1D8C 002BECEC 48 00 00 58 */ b lbl_802C1DE4 +lbl_802C1D90: +/* 802C1D90 002BECF0 7C 83 23 78 */ mr r3, r4 +/* 802C1D94 002BECF4 7C A4 2B 78 */ mr r4, r5 +/* 802C1D98 002BECF8 7C C5 33 78 */ mr r5, r6 +/* 802C1D9C 002BECFC 48 00 1F 29 */ bl Create__9CGuiLightFP9CGuiFrameR12CInputStreamb +/* 802C1DA0 002BED00 48 00 00 44 */ b lbl_802C1DE4 +lbl_802C1DA4: +/* 802C1DA4 002BED04 7C 83 23 78 */ mr r3, r4 +/* 802C1DA8 002BED08 7C A4 2B 78 */ mr r4, r5 +/* 802C1DAC 002BED0C 7C C5 33 78 */ mr r5, r6 +/* 802C1DB0 002BED10 48 00 9E 49 */ bl Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb +/* 802C1DB4 002BED14 48 00 00 30 */ b lbl_802C1DE4 +lbl_802C1DB8: +/* 802C1DB8 002BED18 7C 83 23 78 */ mr r3, r4 +/* 802C1DBC 002BED1C 7C A4 2B 78 */ mr r4, r5 +/* 802C1DC0 002BED20 7C C5 33 78 */ mr r5, r6 +/* 802C1DC4 002BED24 4B FF F4 85 */ bl Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb +/* 802C1DC8 002BED28 48 00 00 1C */ b lbl_802C1DE4 +lbl_802C1DCC: +/* 802C1DCC 002BED2C 7C 83 23 78 */ mr r3, r4 +/* 802C1DD0 002BED30 7C A4 2B 78 */ mr r4, r5 +/* 802C1DD4 002BED34 7C C5 33 78 */ mr r5, r6 +/* 802C1DD8 002BED38 48 00 B4 19 */ bl Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb +/* 802C1DDC 002BED3C 48 00 00 08 */ b lbl_802C1DE4 +lbl_802C1DE0: +/* 802C1DE0 002BED40 38 60 00 00 */ li r3, 0 +lbl_802C1DE4: +/* 802C1DE4 002BED44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1DE8 002BED48 7C 08 03 A6 */ mtlr r0 +/* 802C1DEC 002BED4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1DF0 002BED50 4E 80 00 20 */ blr + +.global RGuiFrameFactoryInGame__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +RGuiFrameFactoryInGame__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802C1DF4 002BED54 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C1DF8 002BED58 7C 08 02 A6 */ mflr r0 +/* 802C1DFC 002BED5C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C1E00 002BED60 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C1E04 002BED64 7C 7F 1B 78 */ mr r31, r3 +/* 802C1E08 002BED68 80 C6 00 00 */ lwz r6, 0(r6) +/* 802C1E0C 002BED6C 90 C1 00 08 */ stw r6, 8(r1) +/* 802C1E10 002BED70 80 66 00 04 */ lwz r3, 4(r6) +/* 802C1E14 002BED74 38 03 00 01 */ addi r0, r3, 1 +/* 802C1E18 002BED78 90 06 00 04 */ stw r0, 4(r6) +/* 802C1E1C 002BED7C 80 C1 00 08 */ lwz r6, 8(r1) +/* 802C1E20 002BED80 80 64 00 04 */ lwz r3, 4(r4) +/* 802C1E24 002BED84 80 C6 00 00 */ lwz r6, 0(r6) +/* 802C1E28 002BED88 80 8D A6 40 */ lwz r4, lbl_805A9200@sda21(r13) +/* 802C1E2C 002BED8C 80 C6 00 04 */ lwz r6, 4(r6) +/* 802C1E30 002BED90 48 00 0B 8D */ bl CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami +/* 802C1E34 002BED94 7C 03 00 D0 */ neg r0, r3 +/* 802C1E38 002BED98 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C1E3C 002BED9C 7C 00 1B 78 */ or r0, r0, r3 +/* 802C1E40 002BEDA0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C1E44 002BEDA4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C1E48 002BEDA8 38 81 00 0C */ addi r4, r1, 0xc +/* 802C1E4C 002BEDAC 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C1E50 002BEDB0 48 00 01 15 */ bl "GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +/* 802C1E54 002BEDB4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802C1E58 002BEDB8 38 00 00 00 */ li r0, 0 +/* 802C1E5C 002BEDBC 98 01 00 14 */ stb r0, 0x14(r1) +/* 802C1E60 002BEDC0 7C 03 00 D0 */ neg r0, r3 +/* 802C1E64 002BEDC4 7C 00 1B 78 */ or r0, r0, r3 +/* 802C1E68 002BEDC8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C1E6C 002BEDCC 98 1F 00 00 */ stb r0, 0(r31) +/* 802C1E70 002BEDD0 90 7F 00 04 */ stw r3, 4(r31) +/* 802C1E74 002BEDD4 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802C1E78 002BEDD8 28 00 00 00 */ cmplwi r0, 0 +/* 802C1E7C 002BEDDC 41 82 00 24 */ beq lbl_802C1EA0 +/* 802C1E80 002BEDE0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802C1E84 002BEDE4 28 03 00 00 */ cmplwi r3, 0 +/* 802C1E88 002BEDE8 41 82 00 18 */ beq lbl_802C1EA0 +/* 802C1E8C 002BEDEC 81 83 00 00 */ lwz r12, 0(r3) +/* 802C1E90 002BEDF0 38 80 00 01 */ li r4, 1 +/* 802C1E94 002BEDF4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C1E98 002BEDF8 7D 89 03 A6 */ mtctr r12 +/* 802C1E9C 002BEDFC 4E 80 04 21 */ bctrl +lbl_802C1EA0: +/* 802C1EA0 002BEE00 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802C1EA4 002BEE04 28 00 00 00 */ cmplwi r0, 0 +/* 802C1EA8 002BEE08 41 82 00 10 */ beq lbl_802C1EB8 +/* 802C1EAC 002BEE0C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C1EB0 002BEE10 38 80 00 01 */ li r4, 1 +/* 802C1EB4 002BEE14 48 00 0B C9 */ bl __dt__9CGuiFrameFv +lbl_802C1EB8: +/* 802C1EB8 002BEE18 38 61 00 08 */ addi r3, r1, 8 +/* 802C1EBC 002BEE1C 4B D7 24 49 */ bl sub_80034304 +/* 802C1EC0 002BEE20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C1EC4 002BEE24 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C1EC8 002BEE28 7C 08 03 A6 */ mtlr r0 +/* 802C1ECC 002BEE2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C1ED0 002BEE30 4E 80 00 20 */ blr + +.global "__dt__36TObjOwnerDerivedFromIObj<9CGuiFrame>Fv" +"__dt__36TObjOwnerDerivedFromIObj<9CGuiFrame>Fv": +/* 802C1ED4 002BEE34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1ED8 002BEE38 7C 08 02 A6 */ mflr r0 +/* 802C1EDC 002BEE3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1EE0 002BEE40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1EE4 002BEE44 7C 9F 23 78 */ mr r31, r4 +/* 802C1EE8 002BEE48 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1EEC 002BEE4C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1EF0 002BEE50 41 82 00 58 */ beq lbl_802C1F48 +/* 802C1EF4 002BEE54 3C 60 80 3F */ lis r3, lbl_803EC7B8@ha +/* 802C1EF8 002BEE58 38 03 C7 B8 */ addi r0, r3, lbl_803EC7B8@l +/* 802C1EFC 002BEE5C 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1F00 002BEE60 80 7E 00 04 */ lwz r3, 4(r30) +/* 802C1F04 002BEE64 28 03 00 00 */ cmplwi r3, 0 +/* 802C1F08 002BEE68 41 82 00 0C */ beq lbl_802C1F14 +/* 802C1F0C 002BEE6C 38 80 00 01 */ li r4, 1 +/* 802C1F10 002BEE70 48 00 0B 6D */ bl __dt__9CGuiFrameFv +lbl_802C1F14: +/* 802C1F14 002BEE74 28 1E 00 00 */ cmplwi r30, 0 +/* 802C1F18 002BEE78 41 82 00 20 */ beq lbl_802C1F38 +/* 802C1F1C 002BEE7C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802C1F20 002BEE80 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802C1F24 002BEE84 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1F28 002BEE88 41 82 00 10 */ beq lbl_802C1F38 +/* 802C1F2C 002BEE8C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802C1F30 002BEE90 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802C1F34 002BEE94 90 1E 00 00 */ stw r0, 0(r30) +lbl_802C1F38: +/* 802C1F38 002BEE98 7F E0 07 35 */ extsh. r0, r31 +/* 802C1F3C 002BEE9C 40 81 00 0C */ ble lbl_802C1F48 +/* 802C1F40 002BEEA0 7F C3 F3 78 */ mr r3, r30 +/* 802C1F44 002BEEA4 48 05 39 ED */ bl Free__7CMemoryFPCv +lbl_802C1F48: +/* 802C1F48 002BEEA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1F4C 002BEEAC 7F C3 F3 78 */ mr r3, r30 +/* 802C1F50 002BEEB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1F54 002BEEB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1F58 002BEEB8 7C 08 03 A6 */ mtlr r0 +/* 802C1F5C 002BEEBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1F60 002BEEC0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +"GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>": +/* 802C1F64 002BEEC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1F68 002BEEC8 7C 08 02 A6 */ mflr r0 +/* 802C1F6C 002BEECC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1F70 002BEED0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1F74 002BEED4 7C 7F 1B 78 */ mr r31, r3 +/* 802C1F78 002BEED8 48 00 00 19 */ bl "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +/* 802C1F7C 002BEEDC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1F80 002BEEE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1F84 002BEEE4 7C 08 03 A6 */ mtlr r0 +/* 802C1F88 002BEEE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1F8C 002BEEEC 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +"GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>": +/* 802C1F90 002BEEF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1F94 002BEEF4 7C 08 02 A6 */ mflr r0 +/* 802C1F98 002BEEF8 3C A0 80 3D */ lis r5, lbl_803D6888@ha +/* 802C1F9C 002BEEFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1FA0 002BEF00 38 05 68 88 */ addi r0, r5, lbl_803D6888@l +/* 802C1FA4 002BEF04 38 A0 00 00 */ li r5, 0 +/* 802C1FA8 002BEF08 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1FAC 002BEF0C 7C 9F 23 78 */ mr r31, r4 +/* 802C1FB0 002BEF10 7C 04 03 78 */ mr r4, r0 +/* 802C1FB4 002BEF14 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1FB8 002BEF18 7C 7E 1B 78 */ mr r30, r3 +/* 802C1FBC 002BEF1C 38 60 00 08 */ li r3, 8 +/* 802C1FC0 002BEF20 48 05 38 AD */ bl __nw__FUlPCcPCc +/* 802C1FC4 002BEF24 28 03 00 00 */ cmplwi r3, 0 +/* 802C1FC8 002BEF28 41 82 00 38 */ beq lbl_802C2000 +/* 802C1FCC 002BEF2C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802C1FD0 002BEF30 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802C1FD4 002BEF34 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802C1FD8 002BEF38 3C 80 80 3F */ lis r4, lbl_803EC7B8@ha +/* 802C1FDC 002BEF3C 90 03 00 00 */ stw r0, 0(r3) +/* 802C1FE0 002BEF40 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802C1FE4 002BEF44 38 A0 00 00 */ li r5, 0 +/* 802C1FE8 002BEF48 38 04 C7 B8 */ addi r0, r4, lbl_803EC7B8@l +/* 802C1FEC 002BEF4C 90 C3 00 00 */ stw r6, 0(r3) +/* 802C1FF0 002BEF50 98 BF 00 00 */ stb r5, 0(r31) +/* 802C1FF4 002BEF54 80 9F 00 04 */ lwz r4, 4(r31) +/* 802C1FF8 002BEF58 90 83 00 04 */ stw r4, 4(r3) +/* 802C1FFC 002BEF5C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2000: +/* 802C2000 002BEF60 7C 03 00 D0 */ neg r0, r3 +/* 802C2004 002BEF64 7C 00 1B 78 */ or r0, r0, r3 +/* 802C2008 002BEF68 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C200C 002BEF6C 98 1E 00 00 */ stb r0, 0(r30) +/* 802C2010 002BEF70 90 7E 00 04 */ stw r3, 4(r30) +/* 802C2014 002BEF74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C2018 002BEF78 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C201C 002BEF7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2020 002BEF80 7C 08 03 A6 */ mtlr r0 +/* 802C2024 002BEF84 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2028 002BEF88 4E 80 00 20 */ blr + +.global __sinit_CGuiFeeHelper_cpp +__sinit_CGuiFeeHelper_cpp: +/* 802C202C 002BEF8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2030 002BEF90 7C 08 02 A6 */ mflr r0 +/* 802C2034 002BEF94 3C 60 80 5A */ lis r3, lbl_8059FBD0@ha +/* 802C2038 002BEF98 38 80 00 00 */ li r4, 0 +/* 802C203C 002BEF9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2040 002BEFA0 38 C3 FB D0 */ addi r6, r3, lbl_8059FBD0@l +/* 802C2044 002BEFA4 38 00 00 00 */ li r0, 0 +/* 802C2048 002BEFA8 38 A0 00 10 */ li r5, 0x10 +/* 802C204C 002BEFAC 90 06 00 00 */ stw r0, 0(r6) +/* 802C2050 002BEFB0 38 66 00 08 */ addi r3, r6, 8 +/* 802C2054 002BEFB4 90 06 00 04 */ stw r0, 4(r6) +/* 802C2058 002BEFB8 4B D4 13 51 */ bl memset +/* 802C205C 002BEFBC 3C 60 80 5A */ lis r3, lbl_8059FC78@ha +/* 802C2060 002BEFC0 38 00 00 00 */ li r0, 0 +/* 802C2064 002BEFC4 38 C3 FC 78 */ addi r6, r3, lbl_8059FC78@l +/* 802C2068 002BEFC8 38 80 00 00 */ li r4, 0 +/* 802C206C 002BEFCC 90 06 00 00 */ stw r0, 0(r6) +/* 802C2070 002BEFD0 38 66 00 08 */ addi r3, r6, 8 +/* 802C2074 002BEFD4 38 A0 00 10 */ li r5, 0x10 +/* 802C2078 002BEFD8 90 06 00 04 */ stw r0, 4(r6) +/* 802C207C 002BEFDC 4B D4 13 2D */ bl memset +/* 802C2080 002BEFE0 3C 60 80 5A */ lis r3, lbl_8059FC90@ha +/* 802C2084 002BEFE4 38 00 00 00 */ li r0, 0 +/* 802C2088 002BEFE8 38 C3 FC 90 */ addi r6, r3, lbl_8059FC90@l +/* 802C208C 002BEFEC 38 80 00 00 */ li r4, 0 +/* 802C2090 002BEFF0 90 06 00 00 */ stw r0, 0(r6) +/* 802C2094 002BEFF4 38 66 00 08 */ addi r3, r6, 8 +/* 802C2098 002BEFF8 38 A0 00 10 */ li r5, 0x10 +/* 802C209C 002BEFFC 90 06 00 04 */ stw r0, 4(r6) +/* 802C20A0 002BF000 4B D4 13 09 */ bl memset +/* 802C20A4 002BF004 3C 60 80 5A */ lis r3, lbl_8059FCA8@ha +/* 802C20A8 002BF008 38 00 00 00 */ li r0, 0 +/* 802C20AC 002BF00C 38 C3 FC A8 */ addi r6, r3, lbl_8059FCA8@l +/* 802C20B0 002BF010 38 80 00 00 */ li r4, 0 +/* 802C20B4 002BF014 90 06 00 00 */ stw r0, 0(r6) +/* 802C20B8 002BF018 38 66 00 08 */ addi r3, r6, 8 +/* 802C20BC 002BF01C 38 A0 00 10 */ li r5, 0x10 +/* 802C20C0 002BF020 90 06 00 04 */ stw r0, 4(r6) +/* 802C20C4 002BF024 4B D4 12 E5 */ bl memset +/* 802C20C8 002BF028 3C 60 80 5A */ lis r3, lbl_8059FCC0@ha +/* 802C20CC 002BF02C 38 00 00 00 */ li r0, 0 +/* 802C20D0 002BF030 38 C3 FC C0 */ addi r6, r3, lbl_8059FCC0@l +/* 802C20D4 002BF034 38 80 00 00 */ li r4, 0 +/* 802C20D8 002BF038 90 06 00 00 */ stw r0, 0(r6) +/* 802C20DC 002BF03C 38 66 00 08 */ addi r3, r6, 8 +/* 802C20E0 002BF040 38 A0 00 10 */ li r5, 0x10 +/* 802C20E4 002BF044 90 06 00 04 */ stw r0, 4(r6) +/* 802C20E8 002BF048 4B D4 12 C1 */ bl memset +/* 802C20EC 002BF04C 3C 60 80 5A */ lis r3, lbl_8059FCD8@ha +/* 802C20F0 002BF050 38 00 00 00 */ li r0, 0 +/* 802C20F4 002BF054 38 C3 FC D8 */ addi r6, r3, lbl_8059FCD8@l +/* 802C20F8 002BF058 38 80 00 00 */ li r4, 0 +/* 802C20FC 002BF05C 90 06 00 00 */ stw r0, 0(r6) +/* 802C2100 002BF060 38 66 00 08 */ addi r3, r6, 8 +/* 802C2104 002BF064 38 A0 00 10 */ li r5, 0x10 +/* 802C2108 002BF068 90 06 00 04 */ stw r0, 4(r6) +/* 802C210C 002BF06C 4B D4 12 9D */ bl memset +/* 802C2110 002BF070 3C 60 80 5A */ lis r3, lbl_8059FCF0@ha +/* 802C2114 002BF074 38 00 00 00 */ li r0, 0 +/* 802C2118 002BF078 38 C3 FC F0 */ addi r6, r3, lbl_8059FCF0@l +/* 802C211C 002BF07C 38 80 00 00 */ li r4, 0 +/* 802C2120 002BF080 90 06 00 00 */ stw r0, 0(r6) +/* 802C2124 002BF084 38 66 00 08 */ addi r3, r6, 8 +/* 802C2128 002BF088 38 A0 00 10 */ li r5, 0x10 +/* 802C212C 002BF08C 90 06 00 04 */ stw r0, 4(r6) +/* 802C2130 002BF090 4B D4 12 79 */ bl memset +/* 802C2134 002BF094 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2138 002BF098 7C 08 03 A6 */ mtlr r0 +/* 802C213C 002BF09C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2140 002BF0A0 4E 80 00 20 */ blr + +.global GetFrameLight__9CGuiFrameFi +GetFrameLight__9CGuiFrameFi: +/* 802C2144 002BF0A4 80 63 00 48 */ lwz r3, 0x48(r3) +/* 802C2148 002BF0A8 54 80 10 3A */ slwi r0, r4, 2 +/* 802C214C 002BF0AC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802C2150 002BF0B0 4E 80 00 20 */ blr + +.global FindWidget__9CGuiFrameCFPCc +FindWidget__9CGuiFrameCFPCc: +/* 802C2154 002BF0B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2158 002BF0B8 7C 08 02 A6 */ mflr r0 +/* 802C215C 002BF0BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2160 002BF0C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C2164 002BF0C4 7C 7F 1B 78 */ mr r31, r3 +/* 802C2168 002BF0C8 38 61 00 08 */ addi r3, r1, 8 +/* 802C216C 002BF0CC 4B D4 2B 4D */ bl string_l__4rstlFPCc +/* 802C2170 002BF0D0 7F E3 FB 78 */ mr r3, r31 +/* 802C2174 002BF0D4 38 81 00 08 */ addi r4, r1, 8 +/* 802C2178 002BF0D8 48 00 00 5D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C217C 002BF0DC 7C 7F 1B 78 */ mr r31, r3 +/* 802C2180 002BF0E0 38 61 00 08 */ addi r3, r1, 8 +/* 802C2184 002BF0E4 48 07 B9 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C2188 002BF0E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C218C 002BF0EC 7F E3 FB 78 */ mr r3, r31 +/* 802C2190 002BF0F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C2194 002BF0F4 7C 08 03 A6 */ mtlr r0 +/* 802C2198 002BF0F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C219C 002BF0FC 4E 80 00 20 */ blr + +.global SetFrameCamera__9CGuiFrameFP10CGuiCamera +SetFrameCamera__9CGuiFrameFP10CGuiCamera: +/* 802C21A0 002BF100 90 83 00 14 */ stw r4, 0x14(r3) +/* 802C21A4 002BF104 4E 80 00 20 */ blr + +.global SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget +SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget: +/* 802C21A8 002BF108 90 83 00 0C */ stw r4, 0xc(r3) +/* 802C21AC 002BF10C 4E 80 00 20 */ blr + +.global FindWidget__9CGuiFrameCFs +FindWidget__9CGuiFrameCFs: +/* 802C21B0 002BF110 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C21B4 002BF114 7C 08 02 A6 */ mflr r0 +/* 802C21B8 002BF118 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C21BC 002BF11C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802C21C0 002BF120 48 00 86 D9 */ bl FindWidget__10CGuiWidgetFs +/* 802C21C4 002BF124 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C21C8 002BF128 7C 08 03 A6 */ mtlr r0 +/* 802C21CC 002BF12C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C21D0 002BF130 4E 80 00 20 */ blr + +.global "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802C21D4 002BF134 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C21D8 002BF138 7C 08 02 A6 */ mflr r0 +/* 802C21DC 002BF13C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C21E0 002BF140 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C21E4 002BF144 7C 7F 1B 78 */ mr r31, r3 +/* 802C21E8 002BF148 38 7F 00 18 */ addi r3, r31, 0x18 +/* 802C21EC 002BF14C 48 00 8D 89 */ bl "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C21F0 002BF150 A8 02 C4 12 */ lha r0, lbl_805AE132@sda21(r2) +/* 802C21F4 002BF154 7C 64 07 34 */ extsh r4, r3 +/* 802C21F8 002BF158 7C 04 00 00 */ cmpw r4, r0 +/* 802C21FC 002BF15C 41 82 00 10 */ beq lbl_802C220C +/* 802C2200 002BF160 7F E3 FB 78 */ mr r3, r31 +/* 802C2204 002BF164 4B FF FF AD */ bl FindWidget__9CGuiFrameCFs +/* 802C2208 002BF168 48 00 00 08 */ b lbl_802C2210 +lbl_802C220C: +/* 802C220C 002BF16C 38 60 00 00 */ li r3, 0 +lbl_802C2210: +/* 802C2210 002BF170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2214 002BF174 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C2218 002BF178 7C 08 03 A6 */ mtlr r0 +/* 802C221C 002BF17C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2220 002BF180 4E 80 00 20 */ blr + +.global sub_802c2224 +sub_802c2224: +/* 802C2224 002BF184 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2228 002BF188 7C 08 02 A6 */ mflr r0 +/* 802C222C 002BF18C 7C 66 1B 78 */ mr r6, r3 +/* 802C2230 002BF190 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2234 002BF194 80 63 00 38 */ lwz r3, 0x38(r3) +/* 802C2238 002BF198 80 06 00 30 */ lwz r0, 0x30(r6) +/* 802C223C 002BF19C 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C2240 002BF1A0 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2244 002BF1A4 7C A3 02 14 */ add r5, r3, r0 +/* 802C2248 002BF1A8 48 00 00 3C */ b lbl_802C2284 +lbl_802C224C: +/* 802C224C 002BF1AC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C2250 002BF1B0 80 03 00 00 */ lwz r0, 0(r3) +/* 802C2254 002BF1B4 7C 00 20 40 */ cmplw r0, r4 +/* 802C2258 002BF1B8 40 82 00 20 */ bne lbl_802C2278 +/* 802C225C 002BF1BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802C2260 002BF1C0 38 61 00 0C */ addi r3, r1, 0xc +/* 802C2264 002BF1C4 38 86 00 2C */ addi r4, r6, 0x2c +/* 802C2268 002BF1C8 38 A1 00 08 */ addi r5, r1, 8 +/* 802C226C 002BF1CC 90 01 00 08 */ stw r0, 8(r1) +/* 802C2270 002BF1D0 48 00 00 31 */ bl sub_802c22a0 +/* 802C2274 002BF1D4 48 00 00 1C */ b lbl_802C2290 +lbl_802C2278: +/* 802C2278 002BF1D8 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C227C 002BF1DC 38 03 00 04 */ addi r0, r3, 4 +/* 802C2280 002BF1E0 90 01 00 10 */ stw r0, 0x10(r1) +lbl_802C2284: +/* 802C2284 002BF1E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802C2288 002BF1E8 7C 00 28 40 */ cmplw r0, r5 +/* 802C228C 002BF1EC 40 82 FF C0 */ bne lbl_802C224C +lbl_802C2290: +/* 802C2290 002BF1F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C2294 002BF1F4 7C 08 03 A6 */ mtlr r0 +/* 802C2298 002BF1F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C229C 002BF1FC 4E 80 00 20 */ blr + +.global sub_802c22a0 +sub_802c22a0: +/* 802C22A0 002BF200 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C22A4 002BF204 7C 08 02 A6 */ mflr r0 +/* 802C22A8 002BF208 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C22AC 002BF20C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C22B0 002BF210 7C 7F 1B 78 */ mr r31, r3 +/* 802C22B4 002BF214 80 C5 00 00 */ lwz r6, 0(r5) +/* 802C22B8 002BF218 80 05 00 00 */ lwz r0, 0(r5) +/* 802C22BC 002BF21C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802C22C0 002BF220 38 E6 00 04 */ addi r7, r6, 4 +/* 802C22C4 002BF224 38 C1 00 0C */ addi r6, r1, 0xc +/* 802C22C8 002BF228 90 E1 00 08 */ stw r7, 8(r1) +/* 802C22CC 002BF22C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802C22D0 002BF230 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C22D4 002BF234 48 00 00 19 */ bl sub_802c22ec +/* 802C22D8 002BF238 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C22DC 002BF23C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C22E0 002BF240 7C 08 03 A6 */ mtlr r0 +/* 802C22E4 002BF244 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C22E8 002BF248 4E 80 00 20 */ blr + +.global sub_802c22ec +sub_802c22ec: +/* 802C22EC 002BF24C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C22F0 002BF250 80 E5 00 00 */ lwz r7, 0(r5) +/* 802C22F4 002BF254 80 06 00 00 */ lwz r0, 0(r6) +/* 802C22F8 002BF258 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802C22FC 002BF25C 90 01 00 08 */ stw r0, 8(r1) +/* 802C2300 002BF260 48 00 00 08 */ b lbl_802C2308 +lbl_802C2304: +/* 802C2304 002BF264 38 E7 00 04 */ addi r7, r7, 4 +lbl_802C2308: +/* 802C2308 002BF268 7C 07 00 40 */ cmplw r7, r0 +/* 802C230C 002BF26C 40 82 FF F8 */ bne lbl_802C2304 +/* 802C2310 002BF270 81 04 00 0C */ lwz r8, 0xc(r4) +/* 802C2314 002BF274 80 05 00 00 */ lwz r0, 0(r5) +/* 802C2318 002BF278 80 E6 00 00 */ lwz r7, 0(r6) +/* 802C231C 002BF27C 7C 08 00 50 */ subf r0, r8, r0 +/* 802C2320 002BF280 7C 00 16 70 */ srawi r0, r0, 2 +/* 802C2324 002BF284 7C C0 01 94 */ addze r6, r0 +/* 802C2328 002BF288 54 C0 10 3A */ slwi r0, r6, 2 +/* 802C232C 002BF28C 7C C9 33 78 */ mr r9, r6 +/* 802C2330 002BF290 7D 08 02 14 */ add r8, r8, r0 +/* 802C2334 002BF294 48 00 00 20 */ b lbl_802C2354 +lbl_802C2338: +/* 802C2338 002BF298 28 08 00 00 */ cmplwi r8, 0 +/* 802C233C 002BF29C 41 82 00 0C */ beq lbl_802C2348 +/* 802C2340 002BF2A0 80 07 00 00 */ lwz r0, 0(r7) +/* 802C2344 002BF2A4 90 08 00 00 */ stw r0, 0(r8) +lbl_802C2348: +/* 802C2348 002BF2A8 39 08 00 04 */ addi r8, r8, 4 +/* 802C234C 002BF2AC 39 29 00 01 */ addi r9, r9, 1 +/* 802C2350 002BF2B0 38 E7 00 04 */ addi r7, r7, 4 +lbl_802C2354: +/* 802C2354 002BF2B4 80 04 00 04 */ lwz r0, 4(r4) +/* 802C2358 002BF2B8 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 802C235C 002BF2BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2360 002BF2C0 7C 06 02 14 */ add r0, r6, r0 +/* 802C2364 002BF2C4 7C 07 00 40 */ cmplw r7, r0 +/* 802C2368 002BF2C8 40 82 FF D0 */ bne lbl_802C2338 +/* 802C236C 002BF2CC 91 24 00 04 */ stw r9, 4(r4) +/* 802C2370 002BF2D0 80 05 00 00 */ lwz r0, 0(r5) +/* 802C2374 002BF2D4 90 03 00 00 */ stw r0, 0(r3) +/* 802C2378 002BF2D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C237C 002BF2DC 4E 80 00 20 */ blr + +.global SortDrawOrder__9CGuiFrameFv +SortDrawOrder__9CGuiFrameFv: +/* 802C2380 002BF2E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2384 002BF2E4 7C 08 02 A6 */ mflr r0 +/* 802C2388 002BF2E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C238C 002BF2EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 802C2390 002BF2F0 88 01 00 08 */ lbz r0, 8(r1) +/* 802C2394 002BF2F4 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C2398 002BF2F8 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C239C 002BF2FC 80 03 00 30 */ lwz r0, 0x30(r3) +/* 802C23A0 002BF300 80 C3 00 38 */ lwz r6, 0x38(r3) +/* 802C23A4 002BF304 54 00 10 3A */ slwi r0, r0, 2 +/* 802C23A8 002BF308 7C C6 02 14 */ add r6, r6, r0 +/* 802C23AC 002BF30C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802C23B0 002BF310 80 03 00 38 */ lwz r0, 0x38(r3) +/* 802C23B4 002BF314 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C23B8 002BF318 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802C23BC 002BF31C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C23C0 002BF320 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C23C4 002BF324 48 00 0B 09 */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +/* 802C23C8 002BF328 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C23CC 002BF32C 7C 08 03 A6 */ mtlr r0 +/* 802C23D0 002BF330 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C23D4 002BF334 4E 80 00 20 */ blr + +.global EnableLights__9CGuiFrameCFUi +EnableLights__9CGuiFrameCFUi: +/* 802C23D8 002BF338 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C23DC 002BF33C 7C 08 02 A6 */ mflr r0 +/* 802C23E0 002BF340 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C23E4 002BF344 BF 41 00 68 */ stmw r26, 0x68(r1) +/* 802C23E8 002BF348 7C 7E 1B 78 */ mr r30, r3 +/* 802C23EC 002BF34C 7C 9F 23 78 */ mr r31, r4 +/* 802C23F0 002BF350 48 04 A5 8D */ bl DisableAllLights__9CGraphicsFv +/* 802C23F4 002BF354 48 08 7B C1 */ bl Black__6CColorFv +/* 802C23F8 002BF358 80 03 00 00 */ lwz r0, 0(r3) +/* 802C23FC 002BF35C 3B 80 00 00 */ li r28, 0 +/* 802C2400 002BF360 3B 60 00 00 */ li r27, 0 +/* 802C2404 002BF364 3B A0 00 00 */ li r29, 0 +/* 802C2408 002BF368 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C240C 002BF36C 48 00 00 B0 */ b lbl_802C24BC +lbl_802C2410: +/* 802C2410 002BF370 38 00 00 01 */ li r0, 1 +/* 802C2414 002BF374 7C 00 D8 30 */ slw r0, r0, r27 +/* 802C2418 002BF378 7F E0 00 39 */ and. r0, r31, r0 +/* 802C241C 002BF37C 41 82 00 98 */ beq lbl_802C24B4 +/* 802C2420 002BF380 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 802C2424 002BF384 7F 43 E8 2E */ lwzx r26, r3, r29 +/* 802C2428 002BF388 28 1A 00 00 */ cmplwi r26, 0 +/* 802C242C 002BF38C 41 82 00 88 */ beq lbl_802C24B4 +/* 802C2430 002BF390 7F 43 D3 78 */ mr r3, r26 +/* 802C2434 002BF394 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C2438 002BF398 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C243C 002BF39C 7D 89 03 A6 */ mtctr r12 +/* 802C2440 002BF3A0 4E 80 04 21 */ bctrl +/* 802C2444 002BF3A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C2448 002BF3A8 41 82 00 6C */ beq lbl_802C24B4 +/* 802C244C 002BF3AC 88 1A 00 A8 */ lbz r0, 0xa8(r26) +/* 802C2450 002BF3B0 28 00 00 00 */ cmplwi r0, 0 +/* 802C2454 002BF3B4 40 82 00 1C */ bne lbl_802C2470 +/* 802C2458 002BF3B8 88 1A 00 A9 */ lbz r0, 0xa9(r26) +/* 802C245C 002BF3BC 28 00 00 00 */ cmplwi r0, 0 +/* 802C2460 002BF3C0 40 82 00 10 */ bne lbl_802C2470 +/* 802C2464 002BF3C4 88 1A 00 AA */ lbz r0, 0xaa(r26) +/* 802C2468 002BF3C8 28 00 00 00 */ cmplwi r0, 0 +/* 802C246C 002BF3CC 41 82 00 24 */ beq lbl_802C2490 +lbl_802C2470: +/* 802C2470 002BF3D0 7F 44 D3 78 */ mr r4, r26 +/* 802C2474 002BF3D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C2478 002BF3D8 48 00 12 D5 */ bl BuildLight__9CGuiLightCFv +/* 802C247C 002BF3DC 7F 63 DB 78 */ mr r3, r27 +/* 802C2480 002BF3E0 38 81 00 14 */ addi r4, r1, 0x14 +/* 802C2484 002BF3E4 48 04 A5 41 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 802C2488 002BF3E8 7F 63 DB 78 */ mr r3, r27 +/* 802C248C 002BF3EC 48 04 A8 A5 */ bl EnableLight__9CGraphicsF9ERglLight +lbl_802C2490: +/* 802C2490 002BF3F0 80 1A 00 DC */ lwz r0, 0xdc(r26) +/* 802C2494 002BF3F4 38 61 00 0C */ addi r3, r1, 0xc +/* 802C2498 002BF3F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802C249C 002BF3FC 38 A1 00 08 */ addi r5, r1, 8 +/* 802C24A0 002BF400 90 01 00 08 */ stw r0, 8(r1) +/* 802C24A4 002BF404 48 0A 0C 0D */ bl Add__6CColorFRC6CColorRC6CColor +/* 802C24A8 002BF408 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802C24AC 002BF40C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802C24B0 002BF410 90 01 00 10 */ stw r0, 0x10(r1) +lbl_802C24B4: +/* 802C24B4 002BF414 3B BD 00 04 */ addi r29, r29, 4 +/* 802C24B8 002BF418 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802C24BC: +/* 802C24BC 002BF41C 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802C24C0 002BF420 7C 1B 00 00 */ cmpw r27, r0 +/* 802C24C4 002BF424 41 80 FF 4C */ blt lbl_802C2410 +/* 802C24C8 002BF428 2C 1C 00 00 */ cmpwi r28, 0 +/* 802C24CC 002BF42C 40 82 00 10 */ bne lbl_802C24DC +/* 802C24D0 002BF430 48 08 7A DD */ bl White__6CColorFv +/* 802C24D4 002BF434 48 04 9B 49 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802C24D8 002BF438 48 00 00 0C */ b lbl_802C24E4 +lbl_802C24DC: +/* 802C24DC 002BF43C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802C24E0 002BF440 48 04 9B 3D */ bl SetAmbientColor__9CGraphicsFRC6CColor +lbl_802C24E4: +/* 802C24E4 002BF444 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 802C24E8 002BF448 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C24EC 002BF44C 7C 08 03 A6 */ mtlr r0 +/* 802C24F0 002BF450 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C24F4 002BF454 4E 80 00 20 */ blr + +.global DisableLights__9CGuiFrameCFv +DisableLights__9CGuiFrameCFv: +/* 802C24F8 002BF458 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C24FC 002BF45C 7C 08 02 A6 */ mflr r0 +/* 802C2500 002BF460 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2504 002BF464 48 04 A4 79 */ bl DisableAllLights__9CGraphicsFv +/* 802C2508 002BF468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C250C 002BF46C 7C 08 03 A6 */ mtlr r0 +/* 802C2510 002BF470 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2514 002BF474 4E 80 00 20 */ blr + +.global RemoveLight__9CGuiFrameFP9CGuiLight +RemoveLight__9CGuiFrameFP9CGuiLight: +/* 802C2518 002BF478 80 04 00 D8 */ lwz r0, 0xd8(r4) +/* 802C251C 002BF47C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 802C2520 002BF480 54 03 10 3A */ slwi r3, r0, 2 +/* 802C2524 002BF484 7C 05 18 2E */ lwzx r0, r5, r3 +/* 802C2528 002BF488 7C 00 20 40 */ cmplw r0, r4 +/* 802C252C 002BF48C 4C 82 00 20 */ bnelr +/* 802C2530 002BF490 38 00 00 00 */ li r0, 0 +/* 802C2534 002BF494 7C 05 19 2E */ stwx r0, r5, r3 +/* 802C2538 002BF498 4E 80 00 20 */ blr + +.global AddLight__9CGuiFrameFP9CGuiLight +AddLight__9CGuiFrameFP9CGuiLight: +/* 802C253C 002BF49C 80 04 00 D8 */ lwz r0, 0xd8(r4) +/* 802C2540 002BF4A0 80 63 00 48 */ lwz r3, 0x48(r3) +/* 802C2544 002BF4A4 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2548 002BF4A8 7C 83 01 2E */ stwx r4, r3, r0 +/* 802C254C 002BF4AC 4E 80 00 20 */ blr + +.global GetIsFinishedLoading__9CGuiFrameCFv +GetIsFinishedLoading__9CGuiFrameCFv: +/* 802C2550 002BF4B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2554 002BF4B4 7C 08 02 A6 */ mflr r0 +/* 802C2558 002BF4B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C255C 002BF4BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C2560 002BF4C0 93 C1 00 08 */ stw r30, 8(r1) +/* 802C2564 002BF4C4 7C 7E 1B 78 */ mr r30, r3 +/* 802C2568 002BF4C8 88 63 00 58 */ lbz r3, 0x58(r3) +/* 802C256C 002BF4CC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802C2570 002BF4D0 41 82 00 0C */ beq lbl_802C257C +/* 802C2574 002BF4D4 38 60 00 01 */ li r3, 1 +/* 802C2578 002BF4D8 48 00 00 60 */ b lbl_802C25D8 +lbl_802C257C: +/* 802C257C 002BF4DC 38 00 00 01 */ li r0, 1 +/* 802C2580 002BF4E0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 802C2584 002BF4E4 98 7E 00 58 */ stb r3, 0x58(r30) +/* 802C2588 002BF4E8 83 FE 00 38 */ lwz r31, 0x38(r30) +/* 802C258C 002BF4EC 48 00 00 30 */ b lbl_802C25BC +lbl_802C2590: +/* 802C2590 002BF4F0 80 7F 00 00 */ lwz r3, 0(r31) +/* 802C2594 002BF4F4 48 00 83 A5 */ bl GetIsFinishedLoading__10CGuiWidgetCFv +/* 802C2598 002BF4F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C259C 002BF4FC 40 82 00 1C */ bne lbl_802C25B8 +/* 802C25A0 002BF500 88 1E 00 58 */ lbz r0, 0x58(r30) +/* 802C25A4 002BF504 38 60 00 00 */ li r3, 0 +/* 802C25A8 002BF508 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802C25AC 002BF50C 38 60 00 00 */ li r3, 0 +/* 802C25B0 002BF510 98 1E 00 58 */ stb r0, 0x58(r30) +/* 802C25B4 002BF514 48 00 00 24 */ b lbl_802C25D8 +lbl_802C25B8: +/* 802C25B8 002BF518 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C25BC: +/* 802C25BC 002BF51C 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802C25C0 002BF520 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802C25C4 002BF524 54 00 10 3A */ slwi r0, r0, 2 +/* 802C25C8 002BF528 7C 03 02 14 */ add r0, r3, r0 +/* 802C25CC 002BF52C 7C 1F 00 40 */ cmplw r31, r0 +/* 802C25D0 002BF530 40 82 FF C0 */ bne lbl_802C2590 +/* 802C25D4 002BF534 38 60 00 01 */ li r3, 1 +lbl_802C25D8: +/* 802C25D8 002BF538 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C25DC 002BF53C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C25E0 002BF540 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C25E4 002BF544 7C 08 03 A6 */ mtlr r0 +/* 802C25E8 002BF548 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C25EC 002BF54C 4E 80 00 20 */ blr + +.global Touch__9CGuiFrameCFv +Touch__9CGuiFrameCFv: +/* 802C25F0 002BF550 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C25F4 002BF554 7C 08 02 A6 */ mflr r0 +/* 802C25F8 002BF558 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C25FC 002BF55C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C2600 002BF560 93 C1 00 08 */ stw r30, 8(r1) +/* 802C2604 002BF564 7C 7E 1B 78 */ mr r30, r3 +/* 802C2608 002BF568 83 E3 00 38 */ lwz r31, 0x38(r3) +/* 802C260C 002BF56C 48 00 00 1C */ b lbl_802C2628 +lbl_802C2610: +/* 802C2610 002BF570 80 7F 00 00 */ lwz r3, 0(r31) +/* 802C2614 002BF574 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2618 002BF578 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802C261C 002BF57C 7D 89 03 A6 */ mtctr r12 +/* 802C2620 002BF580 4E 80 04 21 */ bctrl +/* 802C2624 002BF584 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C2628: +/* 802C2628 002BF588 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802C262C 002BF58C 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802C2630 002BF590 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2634 002BF594 7C 03 02 14 */ add r0, r3, r0 +/* 802C2638 002BF598 7C 1F 00 40 */ cmplw r31, r0 +/* 802C263C 002BF59C 40 82 FF D4 */ bne lbl_802C2610 +/* 802C2640 002BF5A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2644 002BF5A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C2648 002BF5A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C264C 002BF5AC 7C 08 03 A6 */ mtlr r0 +/* 802C2650 002BF5B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2654 002BF5B4 4E 80 00 20 */ blr + +.global ProcessUserInput__9CGuiFrameFRC11CFinalInput +ProcessUserInput__9CGuiFrameFRC11CFinalInput: +/* 802C2658 002BF5B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C265C 002BF5BC 7C 08 02 A6 */ mflr r0 +/* 802C2660 002BF5C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2664 002BF5C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C2668 002BF5C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C266C 002BF5CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C2670 002BF5D0 7C 9D 23 78 */ mr r29, r4 +/* 802C2674 002BF5D4 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C2678 002BF5D8 7C 7C 1B 78 */ mr r28, r3 +/* 802C267C 002BF5DC 80 04 00 04 */ lwz r0, 4(r4) +/* 802C2680 002BF5E0 2C 00 00 00 */ cmpwi r0, 0 +/* 802C2684 002BF5E4 40 82 00 60 */ bne lbl_802C26E4 +/* 802C2688 002BF5E8 83 FC 00 38 */ lwz r31, 0x38(r28) +/* 802C268C 002BF5EC 48 00 00 40 */ b lbl_802C26CC +lbl_802C2690: +/* 802C2690 002BF5F0 83 DF 00 00 */ lwz r30, 0(r31) +/* 802C2694 002BF5F4 7F C3 F3 78 */ mr r3, r30 +/* 802C2698 002BF5F8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C269C 002BF5FC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C26A0 002BF600 7D 89 03 A6 */ mtctr r12 +/* 802C26A4 002BF604 4E 80 04 21 */ bctrl +/* 802C26A8 002BF608 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C26AC 002BF60C 41 82 00 1C */ beq lbl_802C26C8 +/* 802C26B0 002BF610 7F C3 F3 78 */ mr r3, r30 +/* 802C26B4 002BF614 7F A4 EB 78 */ mr r4, r29 +/* 802C26B8 002BF618 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C26BC 002BF61C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802C26C0 002BF620 7D 89 03 A6 */ mtctr r12 +/* 802C26C4 002BF624 4E 80 04 21 */ bctrl +lbl_802C26C8: +/* 802C26C8 002BF628 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C26CC: +/* 802C26CC 002BF62C 80 1C 00 30 */ lwz r0, 0x30(r28) +/* 802C26D0 002BF630 80 7C 00 38 */ lwz r3, 0x38(r28) +/* 802C26D4 002BF634 54 00 10 3A */ slwi r0, r0, 2 +/* 802C26D8 002BF638 7C 03 02 14 */ add r0, r3, r0 +/* 802C26DC 002BF63C 7C 1F 00 40 */ cmplw r31, r0 +/* 802C26E0 002BF640 40 82 FF B0 */ bne lbl_802C2690 +lbl_802C26E4: +/* 802C26E4 002BF644 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C26E8 002BF648 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C26EC 002BF64C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C26F0 002BF650 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C26F4 002BF654 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C26F8 002BF658 7C 08 03 A6 */ mtlr r0 +/* 802C26FC 002BF65C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C2700 002BF660 4E 80 00 20 */ blr + +.global Update__9CGuiFrameFf +Update__9CGuiFrameFf: +/* 802C2704 002BF664 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2708 002BF668 7C 08 02 A6 */ mflr r0 +/* 802C270C 002BF66C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2710 002BF670 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802C2714 002BF674 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2718 002BF678 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C271C 002BF67C 7D 89 03 A6 */ mtctr r12 +/* 802C2720 002BF680 4E 80 04 21 */ bctrl +/* 802C2724 002BF684 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2728 002BF688 7C 08 03 A6 */ mtlr r0 +/* 802C272C 002BF68C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2730 002BF690 4E 80 00 20 */ blr + +.global Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms: +/* 802C2734 002BF694 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2738 002BF698 7C 08 02 A6 */ mflr r0 +/* 802C273C 002BF69C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2740 002BF6A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C2744 002BF6A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C2748 002BF6A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C274C 002BF6AC 7C 9D 23 78 */ mr r29, r4 +/* 802C2750 002BF6B0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C2754 002BF6B4 7C 7C 1B 78 */ mr r28, r3 +/* 802C2758 002BF6B8 38 60 00 00 */ li r3, 0 +/* 802C275C 002BF6BC 48 04 93 15 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802C2760 002BF6C0 48 04 7B 1D */ bl ResetGfxStates__9CGraphicsFv +/* 802C2764 002BF6C4 48 08 78 49 */ bl White__6CColorFv +/* 802C2768 002BF6C8 48 04 98 B5 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802C276C 002BF6CC 7F 83 E3 78 */ mr r3, r28 +/* 802C2770 002BF6D0 4B FF FD 89 */ bl DisableLights__9CGuiFrameCFv +/* 802C2774 002BF6D4 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 802C2778 002BF6D8 7F A4 EB 78 */ mr r4, r29 +/* 802C277C 002BF6DC 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2780 002BF6E0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C2784 002BF6E4 7D 89 03 A6 */ mtctr r12 +/* 802C2788 002BF6E8 4E 80 04 21 */ bctrl +/* 802C278C 002BF6EC 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 802C2790 002BF6F0 38 60 00 00 */ li r3, 0 +/* 802C2794 002BF6F4 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 802C2798 002BF6F8 48 04 7B 21 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802C279C 002BF6FC 38 60 00 01 */ li r3, 1 +/* 802C27A0 002BF700 38 80 00 04 */ li r4, 4 +/* 802C27A4 002BF704 38 A0 00 05 */ li r5, 5 +/* 802C27A8 002BF708 38 C0 00 00 */ li r6, 0 +/* 802C27AC 002BF70C 48 04 92 A5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802C27B0 002BF710 83 FC 00 38 */ lwz r31, 0x38(r28) +/* 802C27B4 002BF714 48 00 00 40 */ b lbl_802C27F4 +lbl_802C27B8: +/* 802C27B8 002BF718 83 DF 00 00 */ lwz r30, 0(r31) +/* 802C27BC 002BF71C 7F C3 F3 78 */ mr r3, r30 +/* 802C27C0 002BF720 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C27C4 002BF724 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C27C8 002BF728 7D 89 03 A6 */ mtctr r12 +/* 802C27CC 002BF72C 4E 80 04 21 */ bctrl +/* 802C27D0 002BF730 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C27D4 002BF734 41 82 00 1C */ beq lbl_802C27F0 +/* 802C27D8 002BF738 7F C3 F3 78 */ mr r3, r30 +/* 802C27DC 002BF73C 7F A4 EB 78 */ mr r4, r29 +/* 802C27E0 002BF740 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C27E4 002BF744 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C27E8 002BF748 7D 89 03 A6 */ mtctr r12 +/* 802C27EC 002BF74C 4E 80 04 21 */ bctrl +lbl_802C27F0: +/* 802C27F0 002BF750 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C27F4: +/* 802C27F4 002BF754 80 1C 00 30 */ lwz r0, 0x30(r28) +/* 802C27F8 002BF758 80 7C 00 38 */ lwz r3, 0x38(r28) +/* 802C27FC 002BF75C 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2800 002BF760 7C 03 02 14 */ add r0, r3, r0 +/* 802C2804 002BF764 7C 1F 00 40 */ cmplw r31, r0 +/* 802C2808 002BF768 40 82 FF B0 */ bne lbl_802C27B8 +/* 802C280C 002BF76C 38 60 00 01 */ li r3, 1 +/* 802C2810 002BF770 48 04 92 61 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802C2814 002BF774 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C2818 002BF778 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C281C 002BF77C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C2820 002BF780 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C2824 002BF784 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C2828 002BF788 7C 08 03 A6 */ mtlr r0 +/* 802C282C 002BF78C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C2830 002BF790 4E 80 00 20 */ blr + +.global Initialize__9CGuiFrameFv +Initialize__9CGuiFrameFv: +/* 802C2834 002BF794 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2838 002BF798 7C 08 02 A6 */ mflr r0 +/* 802C283C 002BF79C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2840 002BF7A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C2844 002BF7A4 7C 7F 1B 78 */ mr r31, r3 +/* 802C2848 002BF7A8 4B FF FB 39 */ bl SortDrawOrder__9CGuiFrameFv +/* 802C284C 002BF7AC 83 FF 00 0C */ lwz r31, 0xc(r31) +/* 802C2850 002BF7B0 7F E3 FB 78 */ mr r3, r31 +/* 802C2854 002BF7B4 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 802C2858 002BF7B8 48 00 80 15 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 802C285C 002BF7BC 7F E3 FB 78 */ mr r3, r31 +/* 802C2860 002BF7C0 48 00 81 05 */ bl DispatchInitialize__10CGuiWidgetFv +/* 802C2864 002BF7C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2868 002BF7C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C286C 002BF7CC 7C 08 03 A6 */ mtlr r0 +/* 802C2870 002BF7D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2874 002BF7D4 4E 80 00 20 */ blr + +.global LoadWidgetsInGame__9CGuiFrameFR12CInputStream +LoadWidgetsInGame__9CGuiFrameFR12CInputStream: +/* 802C2878 002BF7D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C287C 002BF7DC 7C 08 02 A6 */ mflr r0 +/* 802C2880 002BF7E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2884 002BF7E4 BF 41 00 08 */ stmw r26, 8(r1) +/* 802C2888 002BF7E8 7C 9E 23 78 */ mr r30, r4 +/* 802C288C 002BF7EC 7C 7D 1B 78 */ mr r29, r3 +/* 802C2890 002BF7F0 7C BF 2B 78 */ mr r31, r5 +/* 802C2894 002BF7F4 7F C3 F3 78 */ mr r3, r30 +/* 802C2898 002BF7F8 48 07 C3 ED */ bl ReadLong__12CInputStreamFv +/* 802C289C 002BF7FC 7C 7C 1B 78 */ mr r28, r3 +/* 802C28A0 002BF800 38 7D 00 2C */ addi r3, r29, 0x2c +/* 802C28A4 002BF804 7F 84 E3 78 */ mr r4, r28 +/* 802C28A8 002BF808 48 00 08 59 */ bl "reserve__Q24rstl48vectorFi" +/* 802C28AC 002BF80C 7F 84 E3 78 */ mr r4, r28 +/* 802C28B0 002BF810 38 7D 00 18 */ addi r3, r29, 0x18 +/* 802C28B4 002BF814 48 00 87 F1 */ bl sub_802cb0a4 +/* 802C28B8 002BF818 3B 60 00 00 */ li r27, 0 +/* 802C28BC 002BF81C 48 00 00 CC */ b lbl_802C2988 +lbl_802C28C0: +/* 802C28C0 002BF820 7F C3 F3 78 */ mr r3, r30 +/* 802C28C4 002BF824 48 07 C3 C1 */ bl ReadLong__12CInputStreamFv +/* 802C28C8 002BF828 7F C4 F3 78 */ mr r4, r30 +/* 802C28CC 002BF82C 7F A5 EB 78 */ mr r5, r29 +/* 802C28D0 002BF830 7F E6 FB 78 */ mr r6, r31 +/* 802C28D4 002BF834 48 00 3B 11 */ bl CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame +/* 802C28D8 002BF838 81 83 00 00 */ lwz r12, 0(r3) +/* 802C28DC 002BF83C 7C 7A 1B 78 */ mr r26, r3 +/* 802C28E0 002BF840 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802C28E4 002BF844 7D 89 03 A6 */ mtctr r12 +/* 802C28E8 002BF848 4E 80 04 21 */ bctrl +/* 802C28EC 002BF84C 3C 03 BC BF */ addis r0, r3, 0xbcbf +/* 802C28F0 002BF850 28 00 4D 52 */ cmplwi r0, 0x4d52 +/* 802C28F4 002BF854 41 82 00 90 */ beq lbl_802C2984 +/* 802C28F8 002BF858 7F 43 D3 78 */ mr r3, r26 +/* 802C28FC 002BF85C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C2900 002BF860 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802C2904 002BF864 7D 89 03 A6 */ mtctr r12 +/* 802C2908 002BF868 4E 80 04 21 */ bctrl +/* 802C290C 002BF86C 3C 03 B3 B7 */ addis r0, r3, 0xb3b7 +/* 802C2910 002BF870 28 00 54 45 */ cmplwi r0, 0x5445 +/* 802C2914 002BF874 41 82 00 70 */ beq lbl_802C2984 +/* 802C2918 002BF878 7F 43 D3 78 */ mr r3, r26 +/* 802C291C 002BF87C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C2920 002BF880 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802C2924 002BF884 7D 89 03 A6 */ mtctr r12 +/* 802C2928 002BF888 4E 80 04 21 */ bctrl +/* 802C292C 002BF88C 3C 03 BD B9 */ addis r0, r3, 0xbdb9 +/* 802C2930 002BF890 28 00 4E 44 */ cmplwi r0, 0x4e44 +/* 802C2934 002BF894 41 82 00 50 */ beq lbl_802C2984 +/* 802C2938 002BF898 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 802C293C 002BF89C 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 802C2940 002BF8A0 7C 00 28 00 */ cmpw r0, r5 +/* 802C2944 002BF8A4 41 80 00 1C */ blt lbl_802C2960 +/* 802C2948 002BF8A8 2C 05 00 00 */ cmpwi r5, 0 +/* 802C294C 002BF8AC 38 7D 00 2C */ addi r3, r29, 0x2c +/* 802C2950 002BF8B0 38 80 00 04 */ li r4, 4 +/* 802C2954 002BF8B4 41 82 00 08 */ beq lbl_802C295C +/* 802C2958 002BF8B8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802C295C: +/* 802C295C 002BF8BC 48 00 07 A5 */ bl "reserve__Q24rstl48vectorFi" +lbl_802C2960: +/* 802C2960 002BF8C0 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 802C2964 002BF8C4 80 7D 00 38 */ lwz r3, 0x38(r29) +/* 802C2968 002BF8C8 54 00 10 3A */ slwi r0, r0, 2 +/* 802C296C 002BF8CC 7C 63 02 15 */ add. r3, r3, r0 +/* 802C2970 002BF8D0 41 82 00 08 */ beq lbl_802C2978 +/* 802C2974 002BF8D4 93 43 00 00 */ stw r26, 0(r3) +lbl_802C2978: +/* 802C2978 002BF8D8 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 802C297C 002BF8DC 38 03 00 01 */ addi r0, r3, 1 +/* 802C2980 002BF8E0 90 1D 00 30 */ stw r0, 0x30(r29) +lbl_802C2984: +/* 802C2984 002BF8E4 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802C2988: +/* 802C2988 002BF8E8 7C 1B E0 00 */ cmpw r27, r28 +/* 802C298C 002BF8EC 41 80 FF 34 */ blt lbl_802C28C0 +/* 802C2990 002BF8F0 7F A3 EB 78 */ mr r3, r29 +/* 802C2994 002BF8F4 4B FF FE A1 */ bl Initialize__9CGuiFrameFv +/* 802C2998 002BF8F8 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C299C 002BF8FC 38 60 00 00 */ li r3, 0 +/* 802C29A0 002BF900 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C29A4 002BF904 7C 08 03 A6 */ mtlr r0 +/* 802C29A8 002BF908 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C29AC 002BF90C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__10CGuiWidgetCFv +GetWidgetTypeID__10CGuiWidgetCFv: +/* 802C29B0 002BF910 3C 60 42 57 */ lis r3, 0x42574947@ha +/* 802C29B4 002BF914 38 63 49 47 */ addi r3, r3, 0x42574947@l +/* 802C29B8 002BF918 4E 80 00 20 */ blr + +.global CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami +CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami: +/* 802C29BC 002BF91C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C29C0 002BF920 7C 08 02 A6 */ mflr r0 +/* 802C29C4 002BF924 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C29C8 002BF928 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 802C29CC 002BF92C 7C BA 2B 78 */ mr r26, r5 +/* 802C29D0 002BF930 7C 78 1B 78 */ mr r24, r3 +/* 802C29D4 002BF934 7C 99 23 78 */ mr r25, r4 +/* 802C29D8 002BF938 7C DB 33 78 */ mr r27, r6 +/* 802C29DC 002BF93C 7F 43 D3 78 */ mr r3, r26 +/* 802C29E0 002BF940 48 07 C2 A5 */ bl ReadLong__12CInputStreamFv +/* 802C29E4 002BF944 7F 43 D3 78 */ mr r3, r26 +/* 802C29E8 002BF948 48 07 C2 9D */ bl ReadLong__12CInputStreamFv +/* 802C29EC 002BF94C 7C 60 1B 78 */ mr r0, r3 +/* 802C29F0 002BF950 7F 43 D3 78 */ mr r3, r26 +/* 802C29F4 002BF954 7C 1E 03 78 */ mr r30, r0 +/* 802C29F8 002BF958 48 07 C2 8D */ bl ReadLong__12CInputStreamFv +/* 802C29FC 002BF95C 7C 60 1B 78 */ mr r0, r3 +/* 802C2A00 002BF960 7F 43 D3 78 */ mr r3, r26 +/* 802C2A04 002BF964 7C 1D 03 78 */ mr r29, r0 +/* 802C2A08 002BF968 48 07 C2 7D */ bl ReadLong__12CInputStreamFv +/* 802C2A0C 002BF96C 7C 60 1B 78 */ mr r0, r3 +/* 802C2A10 002BF970 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C2A14 002BF974 38 60 00 5C */ li r3, 0x5c +/* 802C2A18 002BF978 38 A0 00 00 */ li r5, 0 +/* 802C2A1C 002BF97C 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C2A20 002BF980 7C 1C 03 78 */ mr r28, r0 +/* 802C2A24 002BF984 48 05 2E 49 */ bl __nw__FUlPCcPCc +/* 802C2A28 002BF988 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C2A2C 002BF98C 41 82 00 24 */ beq lbl_802C2A50 +/* 802C2A30 002BF990 7F 04 C3 78 */ mr r4, r24 +/* 802C2A34 002BF994 7F 25 CB 78 */ mr r5, r25 +/* 802C2A38 002BF998 7F C6 F3 78 */ mr r6, r30 +/* 802C2A3C 002BF99C 7F A7 EB 78 */ mr r7, r29 +/* 802C2A40 002BF9A0 7F 88 E3 78 */ mr r8, r28 +/* 802C2A44 002BF9A4 7F 69 DB 78 */ mr r9, r27 +/* 802C2A48 002BF9A8 48 00 01 F1 */ bl __ct__9CGuiFrameFUiR7CGuiSysiiii +/* 802C2A4C 002BF9AC 7C 7F 1B 78 */ mr r31, r3 +lbl_802C2A50: +/* 802C2A50 002BF9B0 93 ED A6 38 */ stw r31, lbl_805A91F8@sda21(r13) +/* 802C2A54 002BF9B4 7F E3 FB 78 */ mr r3, r31 +/* 802C2A58 002BF9B8 7F 44 D3 78 */ mr r4, r26 +/* 802C2A5C 002BF9BC 7F 65 DB 78 */ mr r5, r27 +/* 802C2A60 002BF9C0 4B FF FE 19 */ bl LoadWidgetsInGame__9CGuiFrameFR12CInputStream +/* 802C2A64 002BF9C4 7F E3 FB 78 */ mr r3, r31 +/* 802C2A68 002BF9C8 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 802C2A6C 002BF9CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C2A70 002BF9D0 7C 08 03 A6 */ mtlr r0 +/* 802C2A74 002BF9D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C2A78 002BF9D8 4E 80 00 20 */ blr + +.global __dt__9CGuiFrameFv +__dt__9CGuiFrameFv: +/* 802C2A7C 002BF9DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C2A80 002BF9E0 7C 08 02 A6 */ mflr r0 +/* 802C2A84 002BF9E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C2A88 002BF9E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C2A8C 002BF9EC 7C 9F 23 78 */ mr r31, r4 +/* 802C2A90 002BF9F0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C2A94 002BF9F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C2A98 002BF9F8 41 82 00 D4 */ beq lbl_802C2B6C +/* 802C2A9C 002BF9FC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802C2AA0 002BFA00 28 03 00 00 */ cmplwi r3, 0 +/* 802C2AA4 002BFA04 41 82 00 1C */ beq lbl_802C2AC0 +/* 802C2AA8 002BFA08 41 82 00 18 */ beq lbl_802C2AC0 +/* 802C2AAC 002BFA0C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2AB0 002BFA10 38 80 00 01 */ li r4, 1 +/* 802C2AB4 002BFA14 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C2AB8 002BFA18 7D 89 03 A6 */ mtctr r12 +/* 802C2ABC 002BFA1C 4E 80 04 21 */ bctrl +lbl_802C2AC0: +/* 802C2AC0 002BFA20 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 802C2AC4 002BFA24 41 82 00 44 */ beq lbl_802C2B08 +/* 802C2AC8 002BFA28 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802C2ACC 002BFA2C 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 802C2AD0 002BFA30 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2AD4 002BFA34 7C 03 02 14 */ add r0, r3, r0 +/* 802C2AD8 002BFA38 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802C2ADC 002BFA3C 7C 64 1B 78 */ mr r4, r3 +/* 802C2AE0 002BFA40 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2AE4 002BFA44 90 01 00 20 */ stw r0, 0x20(r1) +/* 802C2AE8 002BFA48 90 61 00 18 */ stw r3, 0x18(r1) +/* 802C2AEC 002BFA4C 48 00 00 08 */ b lbl_802C2AF4 +lbl_802C2AF0: +/* 802C2AF0 002BFA50 38 84 00 04 */ addi r4, r4, 4 +lbl_802C2AF4: +/* 802C2AF4 002BFA54 7C 04 00 40 */ cmplw r4, r0 +/* 802C2AF8 002BFA58 40 82 FF F8 */ bne lbl_802C2AF0 +/* 802C2AFC 002BFA5C 28 03 00 00 */ cmplwi r3, 0 +/* 802C2B00 002BFA60 41 82 00 08 */ beq lbl_802C2B08 +/* 802C2B04 002BFA64 48 05 2E 2D */ bl Free__7CMemoryFPCv +lbl_802C2B08: +/* 802C2B08 002BFA68 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 802C2B0C 002BFA6C 41 82 00 44 */ beq lbl_802C2B50 +/* 802C2B10 002BFA70 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802C2B14 002BFA74 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802C2B18 002BFA78 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2B1C 002BFA7C 7C 03 02 14 */ add r0, r3, r0 +/* 802C2B20 002BFA80 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C2B24 002BFA84 7C 64 1B 78 */ mr r4, r3 +/* 802C2B28 002BFA88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2B2C 002BFA8C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C2B30 002BFA90 90 61 00 08 */ stw r3, 8(r1) +/* 802C2B34 002BFA94 48 00 00 08 */ b lbl_802C2B3C +lbl_802C2B38: +/* 802C2B38 002BFA98 38 84 00 04 */ addi r4, r4, 4 +lbl_802C2B3C: +/* 802C2B3C 002BFA9C 7C 04 00 40 */ cmplw r4, r0 +/* 802C2B40 002BFAA0 40 82 FF F8 */ bne lbl_802C2B38 +/* 802C2B44 002BFAA4 28 03 00 00 */ cmplwi r3, 0 +/* 802C2B48 002BFAA8 41 82 00 08 */ beq lbl_802C2B50 +/* 802C2B4C 002BFAAC 48 05 2D E5 */ bl Free__7CMemoryFPCv +lbl_802C2B50: +/* 802C2B50 002BFAB0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802C2B54 002BFAB4 38 80 FF FF */ li r4, -1 +/* 802C2B58 002BFAB8 48 00 00 31 */ bl sub_802c2b88 +/* 802C2B5C 002BFABC 7F E0 07 35 */ extsh. r0, r31 +/* 802C2B60 002BFAC0 40 81 00 0C */ ble lbl_802C2B6C +/* 802C2B64 002BFAC4 7F C3 F3 78 */ mr r3, r30 +/* 802C2B68 002BFAC8 48 05 2D C9 */ bl Free__7CMemoryFPCv +lbl_802C2B6C: +/* 802C2B6C 002BFACC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C2B70 002BFAD0 7F C3 F3 78 */ mr r3, r30 +/* 802C2B74 002BFAD4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C2B78 002BFAD8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C2B7C 002BFADC 7C 08 03 A6 */ mtlr r0 +/* 802C2B80 002BFAE0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C2B84 002BFAE4 4E 80 00 20 */ blr + +.global sub_802c2b88 +sub_802c2b88: +/* 802C2B88 002BFAE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C2B8C 002BFAEC 7C 08 02 A6 */ mflr r0 +/* 802C2B90 002BFAF0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C2B94 002BFAF4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C2B98 002BFAF8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C2B9C 002BFAFC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C2BA0 002BFB00 7C 9D 23 78 */ mr r29, r4 +/* 802C2BA4 002BFB04 93 81 00 20 */ stw r28, 0x20(r1) +/* 802C2BA8 002BFB08 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802C2BAC 002BFB0C 41 82 00 68 */ beq lbl_802C2C14 +/* 802C2BB0 002BFB10 41 82 00 54 */ beq lbl_802C2C04 +/* 802C2BB4 002BFB14 80 1C 00 04 */ lwz r0, 4(r28) +/* 802C2BB8 002BFB18 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802C2BBC 002BFB1C 54 00 20 36 */ slwi r0, r0, 4 +/* 802C2BC0 002BFB20 7F FE 02 14 */ add r31, r30, r0 +/* 802C2BC4 002BFB24 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802C2BC8 002BFB28 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802C2BCC 002BFB2C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802C2BD0 002BFB30 93 C1 00 08 */ stw r30, 8(r1) +/* 802C2BD4 002BFB34 48 00 00 18 */ b lbl_802C2BEC +lbl_802C2BD8: +/* 802C2BD8 002BFB38 28 1E 00 00 */ cmplwi r30, 0 +/* 802C2BDC 002BFB3C 41 82 00 0C */ beq lbl_802C2BE8 +/* 802C2BE0 002BFB40 7F C3 F3 78 */ mr r3, r30 +/* 802C2BE4 002BFB44 48 07 AE FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802C2BE8: +/* 802C2BE8 002BFB48 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_802C2BEC: +/* 802C2BEC 002BFB4C 7C 1E F8 40 */ cmplw r30, r31 +/* 802C2BF0 002BFB50 40 82 FF E8 */ bne lbl_802C2BD8 +/* 802C2BF4 002BFB54 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802C2BF8 002BFB58 28 03 00 00 */ cmplwi r3, 0 +/* 802C2BFC 002BFB5C 41 82 00 08 */ beq lbl_802C2C04 +/* 802C2C00 002BFB60 48 05 2D 31 */ bl Free__7CMemoryFPCv +lbl_802C2C04: +/* 802C2C04 002BFB64 7F A0 07 35 */ extsh. r0, r29 +/* 802C2C08 002BFB68 40 81 00 0C */ ble lbl_802C2C14 +/* 802C2C0C 002BFB6C 7F 83 E3 78 */ mr r3, r28 +/* 802C2C10 002BFB70 48 05 2D 21 */ bl Free__7CMemoryFPCv +lbl_802C2C14: +/* 802C2C14 002BFB74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C2C18 002BFB78 7F 83 E3 78 */ mr r3, r28 +/* 802C2C1C 002BFB7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C2C20 002BFB80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C2C24 002BFB84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C2C28 002BFB88 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802C2C2C 002BFB8C 7C 08 03 A6 */ mtlr r0 +/* 802C2C30 002BFB90 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C2C34 002BFB94 4E 80 00 20 */ blr + +.global __ct__9CGuiFrameFUiR7CGuiSysiiii +__ct__9CGuiFrameFUiR7CGuiSysiiii: +/* 802C2C38 002BFB98 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802C2C3C 002BFB9C 7C 08 02 A6 */ mflr r0 +/* 802C2C40 002BFBA0 90 01 00 64 */ stw r0, 0x64(r1) +/* 802C2C44 002BFBA4 38 00 00 00 */ li r0, 0 +/* 802C2C48 002BFBA8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802C2C4C 002BFBAC 7D 1F 43 78 */ mr r31, r8 +/* 802C2C50 002BFBB0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802C2C54 002BFBB4 7C FE 3B 78 */ mr r30, r7 +/* 802C2C58 002BFBB8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802C2C5C 002BFBBC 7C DD 33 78 */ mr r29, r6 +/* 802C2C60 002BFBC0 93 81 00 50 */ stw r28, 0x50(r1) +/* 802C2C64 002BFBC4 7C 7C 1B 78 */ mr r28, r3 +/* 802C2C68 002BFBC8 90 83 00 00 */ stw r4, 0(r3) +/* 802C2C6C 002BFBCC 90 03 00 04 */ stw r0, 4(r3) +/* 802C2C70 002BFBD0 38 7C 00 18 */ addi r3, r28, 0x18 +/* 802C2C74 002BFBD4 90 BC 00 08 */ stw r5, 8(r28) +/* 802C2C78 002BFBD8 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802C2C7C 002BFBDC 90 1C 00 10 */ stw r0, 0x10(r28) +/* 802C2C80 002BFBE0 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802C2C84 002BFBE4 48 00 84 49 */ bl __ct__14CGuiWidgetIdDBFv +/* 802C2C88 002BFBE8 38 80 00 00 */ li r4, 0 +/* 802C2C8C 002BFBEC 38 00 00 08 */ li r0, 8 +/* 802C2C90 002BFBF0 90 9C 00 30 */ stw r4, 0x30(r28) +/* 802C2C94 002BFBF4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C2C98 002BFBF8 90 9C 00 34 */ stw r4, 0x34(r28) +/* 802C2C9C 002BFBFC 90 9C 00 38 */ stw r4, 0x38(r28) +/* 802C2CA0 002BFC00 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802C2CA4 002BFC04 90 01 00 30 */ stw r0, 0x30(r1) +/* 802C2CA8 002BFC08 40 82 00 0C */ bne lbl_802C2CB4 +/* 802C2CAC 002BFC0C 90 81 00 34 */ stw r4, 0x34(r1) +/* 802C2CB0 002BFC10 48 00 00 18 */ b lbl_802C2CC8 +lbl_802C2CB4: +/* 802C2CB4 002BFC14 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C2CB8 002BFC18 38 A0 00 00 */ li r5, 0 +/* 802C2CBC 002BFC1C 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C2CC0 002BFC20 48 05 2B 59 */ bl __nwa__FUlPCcPCc +/* 802C2CC4 002BFC24 90 61 00 34 */ stw r3, 0x34(r1) +lbl_802C2CC8: +/* 802C2CC8 002BFC28 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802C2CCC 002BFC2C 38 00 00 00 */ li r0, 0 +/* 802C2CD0 002BFC30 28 03 00 00 */ cmplwi r3, 0 +/* 802C2CD4 002BFC34 41 82 00 08 */ beq lbl_802C2CDC +/* 802C2CD8 002BFC38 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2CDC: +/* 802C2CDC 002BFC3C 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2CE0 002BFC40 41 82 00 08 */ beq lbl_802C2CE8 +/* 802C2CE4 002BFC44 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2CE8: +/* 802C2CE8 002BFC48 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2CEC 002BFC4C 41 82 00 08 */ beq lbl_802C2CF4 +/* 802C2CF0 002BFC50 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2CF4: +/* 802C2CF4 002BFC54 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2CF8 002BFC58 41 82 00 08 */ beq lbl_802C2D00 +/* 802C2CFC 002BFC5C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D00: +/* 802C2D00 002BFC60 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D04 002BFC64 41 82 00 08 */ beq lbl_802C2D0C +/* 802C2D08 002BFC68 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D0C: +/* 802C2D0C 002BFC6C 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D10 002BFC70 41 82 00 08 */ beq lbl_802C2D18 +/* 802C2D14 002BFC74 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D18: +/* 802C2D18 002BFC78 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D1C 002BFC7C 41 82 00 08 */ beq lbl_802C2D24 +/* 802C2D20 002BFC80 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D24: +/* 802C2D24 002BFC84 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D28 002BFC88 41 82 00 08 */ beq lbl_802C2D30 +/* 802C2D2C 002BFC8C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D30: +/* 802C2D30 002BFC90 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802C2D34 002BFC94 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802C2D38 002BFC98 90 7C 00 40 */ stw r3, 0x40(r28) +/* 802C2D3C 002BFC9C 2C 03 00 00 */ cmpwi r3, 0 +/* 802C2D40 002BFCA0 90 1C 00 44 */ stw r0, 0x44(r28) +/* 802C2D44 002BFCA4 40 82 00 18 */ bne lbl_802C2D5C +/* 802C2D48 002BFCA8 2C 00 00 00 */ cmpwi r0, 0 +/* 802C2D4C 002BFCAC 40 82 00 10 */ bne lbl_802C2D5C +/* 802C2D50 002BFCB0 38 00 00 00 */ li r0, 0 +/* 802C2D54 002BFCB4 90 1C 00 48 */ stw r0, 0x48(r28) +/* 802C2D58 002BFCB8 48 00 00 64 */ b lbl_802C2DBC +lbl_802C2D5C: +/* 802C2D5C 002BFCBC 80 1C 00 44 */ lwz r0, 0x44(r28) +/* 802C2D60 002BFCC0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C2D64 002BFCC4 40 82 00 10 */ bne lbl_802C2D74 +/* 802C2D68 002BFCC8 38 00 00 00 */ li r0, 0 +/* 802C2D6C 002BFCCC 90 1C 00 48 */ stw r0, 0x48(r28) +/* 802C2D70 002BFCD0 48 00 00 18 */ b lbl_802C2D88 +lbl_802C2D74: +/* 802C2D74 002BFCD4 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C2D78 002BFCD8 38 A0 00 00 */ li r5, 0 +/* 802C2D7C 002BFCDC 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C2D80 002BFCE0 48 05 2A 99 */ bl __nwa__FUlPCcPCc +/* 802C2D84 002BFCE4 90 7C 00 48 */ stw r3, 0x48(r28) +lbl_802C2D88: +/* 802C2D88 002BFCE8 80 1C 00 40 */ lwz r0, 0x40(r28) +/* 802C2D8C 002BFCEC 80 81 00 34 */ lwz r4, 0x34(r1) +/* 802C2D90 002BFCF0 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 802C2D94 002BFCF4 7C 09 03 A6 */ mtctr r0 +/* 802C2D98 002BFCF8 2C 00 00 00 */ cmpwi r0, 0 +/* 802C2D9C 002BFCFC 40 81 00 20 */ ble lbl_802C2DBC +lbl_802C2DA0: +/* 802C2DA0 002BFD00 28 03 00 00 */ cmplwi r3, 0 +/* 802C2DA4 002BFD04 41 82 00 0C */ beq lbl_802C2DB0 +/* 802C2DA8 002BFD08 80 04 00 00 */ lwz r0, 0(r4) +/* 802C2DAC 002BFD0C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2DB0: +/* 802C2DB0 002BFD10 38 63 00 04 */ addi r3, r3, 4 +/* 802C2DB4 002BFD14 38 84 00 04 */ addi r4, r4, 4 +/* 802C2DB8 002BFD18 42 00 FF E8 */ bdnz lbl_802C2DA0 +lbl_802C2DBC: +/* 802C2DBC 002BFD1C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802C2DC0 002BFD20 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802C2DC4 002BFD24 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2DC8 002BFD28 7C 03 02 14 */ add r0, r3, r0 +/* 802C2DCC 002BFD2C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802C2DD0 002BFD30 7C 64 1B 78 */ mr r4, r3 +/* 802C2DD4 002BFD34 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2DD8 002BFD38 90 01 00 20 */ stw r0, 0x20(r1) +/* 802C2DDC 002BFD3C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802C2DE0 002BFD40 48 00 00 08 */ b lbl_802C2DE8 +lbl_802C2DE4: +/* 802C2DE4 002BFD44 38 84 00 04 */ addi r4, r4, 4 +lbl_802C2DE8: +/* 802C2DE8 002BFD48 7C 04 00 40 */ cmplw r4, r0 +/* 802C2DEC 002BFD4C 40 82 FF F8 */ bne lbl_802C2DE4 +/* 802C2DF0 002BFD50 28 03 00 00 */ cmplwi r3, 0 +/* 802C2DF4 002BFD54 41 82 00 08 */ beq lbl_802C2DFC +/* 802C2DF8 002BFD58 48 05 2B 39 */ bl Free__7CMemoryFPCv +lbl_802C2DFC: +/* 802C2DFC 002BFD5C 93 BC 00 4C */ stw r29, 0x4c(r28) +/* 802C2E00 002BFD60 3C 60 80 3D */ lis r3, lbl_803D6890@ha +/* 802C2E04 002BFD64 38 83 68 90 */ addi r4, r3, lbl_803D6890@l +/* 802C2E08 002BFD68 38 C0 00 00 */ li r6, 0 +/* 802C2E0C 002BFD6C 93 DC 00 50 */ stw r30, 0x50(r28) +/* 802C2E10 002BFD70 38 60 00 B8 */ li r3, 0xb8 +/* 802C2E14 002BFD74 38 A0 00 00 */ li r5, 0 +/* 802C2E18 002BFD78 93 FC 00 54 */ stw r31, 0x54(r28) +/* 802C2E1C 002BFD7C 88 1C 00 58 */ lbz r0, 0x58(r28) +/* 802C2E20 002BFD80 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802C2E24 002BFD84 98 1C 00 58 */ stb r0, 0x58(r28) +/* 802C2E28 002BFD88 48 05 2A 45 */ bl __nw__FUlPCcPCc +/* 802C2E2C 002BFD8C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C2E30 002BFD90 41 82 00 74 */ beq lbl_802C2EA4 +/* 802C2E34 002BFD94 80 7C 00 08 */ lwz r3, 8(r28) +/* 802C2E38 002BFD98 AB E2 C4 10 */ lha r31, lbl_805AE130@sda21(r2) +/* 802C2E3C 002BFD9C 80 03 00 08 */ lwz r0, 8(r3) +/* 802C2E40 002BFDA0 7C 00 00 34 */ cntlzw r0, r0 +/* 802C2E44 002BFDA4 54 1E D9 7E */ srwi r30, r0, 5 +/* 802C2E48 002BFDA8 48 08 71 65 */ bl White__6CColorFv +/* 802C2E4C 002BFDAC 90 61 00 08 */ stw r3, 8(r1) +/* 802C2E50 002BFDB0 38 80 00 02 */ li r4, 2 +/* 802C2E54 002BFDB4 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 802C2E58 002BFDB8 38 60 00 00 */ li r3, 0 +/* 802C2E5C 002BFDBC 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C2E60 002BFDC0 7C 00 00 34 */ cntlzw r0, r0 +/* 802C2E64 002BFDC4 54 00 D9 7E */ srwi r0, r0, 5 +/* 802C2E68 002BFDC8 7F 84 E3 78 */ mr r4, r28 +/* 802C2E6C 002BFDCC 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C2E70 002BFDD0 7F E6 FB 78 */ mr r6, r31 +/* 802C2E74 002BFDD4 7F E7 FB 78 */ mr r7, r31 +/* 802C2E78 002BFDD8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C2E7C 002BFDDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2E80 002BFDE0 38 A0 00 00 */ li r5, 0 +/* 802C2E84 002BFDE4 39 00 00 00 */ li r8, 0 +/* 802C2E88 002BFDE8 39 20 00 00 */ li r9, 0 +/* 802C2E8C 002BFDEC 39 40 00 00 */ li r10, 0 +/* 802C2E90 002BFDF0 48 00 80 A1 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb +/* 802C2E94 002BFDF4 7C 64 1B 78 */ mr r4, r3 +/* 802C2E98 002BFDF8 7F A3 EB 78 */ mr r3, r29 +/* 802C2E9C 002BFDFC 48 00 7D 89 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C2EA0 002BFE00 7C 7D 1B 78 */ mr r29, r3 +lbl_802C2EA4: +/* 802C2EA4 002BFE04 93 BC 00 10 */ stw r29, 0x10(r28) +/* 802C2EA8 002BFE08 7F 83 E3 78 */ mr r3, r28 +/* 802C2EAC 002BFE0C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802C2EB0 002BFE10 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802C2EB4 002BFE14 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802C2EB8 002BFE18 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802C2EBC 002BFE1C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 802C2EC0 002BFE20 7C 08 03 A6 */ mtlr r0 +/* 802C2EC4 002BFE24 38 21 00 60 */ addi r1, r1, 0x60 +/* 802C2EC8 002BFE28 4E 80 00 20 */ blr + +.global "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +"sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera": +/* 802C2ECC 002BFE2C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802C2ED0 002BFE30 7C 08 02 A6 */ mflr r0 +/* 802C2ED4 002BFE34 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802C2ED8 002BFE38 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 802C2EDC 002BFE3C 7C 7C 1B 78 */ mr r28, r3 +/* 802C2EE0 002BFE40 7C BE 2B 78 */ mr r30, r5 +/* 802C2EE4 002BFE44 7C 9D 23 78 */ mr r29, r4 +/* 802C2EE8 002BFE48 80 63 00 00 */ lwz r3, 0(r3) +/* 802C2EEC 002BFE4C 80 A4 00 00 */ lwz r5, 0(r4) +/* 802C2EF0 002BFE50 7C 03 28 50 */ subf r0, r3, r5 +/* 802C2EF4 002BFE54 7C 00 16 70 */ srawi r0, r0, 2 +/* 802C2EF8 002BFE58 7C 80 01 94 */ addze r4, r0 +/* 802C2EFC 002BFE5C 2C 04 00 01 */ cmpwi r4, 1 +/* 802C2F00 002BFE60 40 81 01 EC */ ble lbl_802C30EC +/* 802C2F04 002BFE64 2C 04 00 14 */ cmpwi r4, 0x14 +/* 802C2F08 002BFE68 41 81 00 30 */ bgt lbl_802C2F38 +/* 802C2F0C 002BFE6C 88 FE 00 00 */ lbz r7, 0(r30) +/* 802C2F10 002BFE70 38 61 00 34 */ addi r3, r1, 0x34 +/* 802C2F14 002BFE74 80 DD 00 00 */ lwz r6, 0(r29) +/* 802C2F18 002BFE78 38 81 00 30 */ addi r4, r1, 0x30 +/* 802C2F1C 002BFE7C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C2F20 002BFE80 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C2F24 002BFE84 98 E1 00 14 */ stb r7, 0x14(r1) +/* 802C2F28 002BFE88 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802C2F2C 002BFE8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C2F30 002BFE90 48 00 03 B1 */ bl sub_802c32e0 +/* 802C2F34 002BFE94 48 00 01 B8 */ b lbl_802C30EC +lbl_802C2F38: +/* 802C2F38 002BFE98 54 80 0F FE */ srwi r0, r4, 0x1f +/* 802C2F3C 002BFE9C 38 A5 FF FC */ addi r5, r5, -4 +/* 802C2F40 002BFEA0 7C 80 22 14 */ add r4, r0, r4 +/* 802C2F44 002BFEA4 88 1E 00 00 */ lbz r0, 0(r30) +/* 802C2F48 002BFEA8 7C 84 0E 70 */ srawi r4, r4, 1 +/* 802C2F4C 002BFEAC 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802C2F50 002BFEB0 54 84 10 3A */ slwi r4, r4, 2 +/* 802C2F54 002BFEB4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C2F58 002BFEB8 7F 63 22 14 */ add r27, r3, r4 +/* 802C2F5C 002BFEBC 98 01 00 10 */ stb r0, 0x10(r1) +/* 802C2F60 002BFEC0 7F 64 DB 78 */ mr r4, r27 +/* 802C2F64 002BFEC4 48 00 02 89 */ bl sub_802c31ec +/* 802C2F68 002BFEC8 80 9C 00 00 */ lwz r4, 0(r28) +/* 802C2F6C 002BFECC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802C2F70 002BFED0 38 84 00 04 */ addi r4, r4, 4 +/* 802C2F74 002BFED4 83 FB 00 00 */ lwz r31, 0(r27) +/* 802C2F78 002BFED8 38 03 FF FC */ addi r0, r3, -4 +/* 802C2F7C 002BFEDC 90 81 00 38 */ stw r4, 0x38(r1) +/* 802C2F80 002BFEE0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802C2F84 002BFEE4 48 00 00 10 */ b lbl_802C2F94 +lbl_802C2F88: +/* 802C2F88 002BFEE8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802C2F8C 002BFEEC 38 03 00 04 */ addi r0, r3, 4 +/* 802C2F90 002BFEF0 90 01 00 38 */ stw r0, 0x38(r1) +lbl_802C2F94: +/* 802C2F94 002BFEF4 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802C2F98 002BFEF8 38 61 00 88 */ addi r3, r1, 0x88 +/* 802C2F9C 002BFEFC 80 84 00 00 */ lwz r4, 0(r4) +/* 802C2FA0 002BFF00 48 00 22 99 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C2FA4 002BFF04 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802C2FA8 002BFF08 7F E4 FB 78 */ mr r4, r31 +/* 802C2FAC 002BFF0C C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 802C2FB0 002BFF10 38 61 00 94 */ addi r3, r1, 0x94 +/* 802C2FB4 002BFF14 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 802C2FB8 002BFF18 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802C2FBC 002BFF1C D0 21 00 74 */ stfs f1, 0x74(r1) +/* 802C2FC0 002BFF20 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802C2FC4 002BFF24 48 00 22 75 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C2FC8 002BFF28 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802C2FCC 002BFF2C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802C2FD0 002BFF30 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 802C2FD4 002BFF34 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802C2FD8 002BFF38 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802C2FDC 002BFF3C D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 802C2FE0 002BFF40 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802C2FE4 002BFF44 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802C2FE8 002BFF48 41 81 FF A0 */ bgt lbl_802C2F88 +/* 802C2FEC 002BFF4C 48 00 00 10 */ b lbl_802C2FFC +lbl_802C2FF0: +/* 802C2FF0 002BFF50 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802C2FF4 002BFF54 38 03 FF FC */ addi r0, r3, -4 +/* 802C2FF8 002BFF58 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_802C2FFC: +/* 802C2FFC 002BFF5C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802C3000 002BFF60 7F E4 FB 78 */ mr r4, r31 +/* 802C3004 002BFF64 38 61 00 58 */ addi r3, r1, 0x58 +/* 802C3008 002BFF68 83 65 00 00 */ lwz r27, 0(r5) +/* 802C300C 002BFF6C 48 00 22 2D */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3010 002BFF70 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802C3014 002BFF74 7F 64 DB 78 */ mr r4, r27 +/* 802C3018 002BFF78 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802C301C 002BFF7C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802C3020 002BFF80 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802C3024 002BFF84 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802C3028 002BFF88 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802C302C 002BFF8C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802C3030 002BFF90 48 00 22 09 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3034 002BFF94 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802C3038 002BFF98 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802C303C 002BFF9C C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802C3040 002BFFA0 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802C3044 002BFFA4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802C3048 002BFFA8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802C304C 002BFFAC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802C3050 002BFFB0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802C3054 002BFFB4 41 81 FF 9C */ bgt lbl_802C2FF0 +/* 802C3058 002BFFB8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802C305C 002BFFBC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802C3060 002BFFC0 7C 03 00 40 */ cmplw r3, r0 +/* 802C3064 002BFFC4 40 80 00 38 */ bge lbl_802C309C +/* 802C3068 002BFFC8 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 802C306C 002BFFCC 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 802C3070 002BFFD0 80 86 00 00 */ lwz r4, 0(r6) +/* 802C3074 002BFFD4 38 06 FF FC */ addi r0, r6, -4 +/* 802C3078 002BFFD8 80 E5 00 00 */ lwz r7, 0(r5) +/* 802C307C 002BFFDC 38 65 00 04 */ addi r3, r5, 4 +/* 802C3080 002BFFE0 90 C1 00 28 */ stw r6, 0x28(r1) +/* 802C3084 002BFFE4 90 85 00 00 */ stw r4, 0(r5) +/* 802C3088 002BFFE8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 802C308C 002BFFEC 90 E6 00 00 */ stw r7, 0(r6) +/* 802C3090 002BFFF0 90 61 00 38 */ stw r3, 0x38(r1) +/* 802C3094 002BFFF4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802C3098 002BFFF8 4B FF FE FC */ b lbl_802C2F94 +lbl_802C309C: +/* 802C309C 002BFFFC 88 FE 00 00 */ lbz r7, 0(r30) +/* 802C30A0 002C0000 38 61 00 24 */ addi r3, r1, 0x24 +/* 802C30A4 002C0004 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 802C30A8 002C0008 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C30AC 002C000C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C30B0 002C0010 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C30B4 002C0014 98 E1 00 0C */ stb r7, 0xc(r1) +/* 802C30B8 002C0018 90 C1 00 20 */ stw r6, 0x20(r1) +/* 802C30BC 002C001C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C30C0 002C0020 4B FF FE 0D */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +/* 802C30C4 002C0024 88 FE 00 00 */ lbz r7, 0(r30) +/* 802C30C8 002C0028 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C30CC 002C002C 80 DD 00 00 */ lwz r6, 0(r29) +/* 802C30D0 002C0030 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C30D4 002C0034 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802C30D8 002C0038 38 A1 00 08 */ addi r5, r1, 8 +/* 802C30DC 002C003C 98 E1 00 08 */ stb r7, 8(r1) +/* 802C30E0 002C0040 90 C1 00 18 */ stw r6, 0x18(r1) +/* 802C30E4 002C0044 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C30E8 002C0048 4B FF FD E5 */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +lbl_802C30EC: +/* 802C30EC 002C004C BB 61 00 AC */ lmw r27, 0xac(r1) +/* 802C30F0 002C0050 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802C30F4 002C0054 7C 08 03 A6 */ mtlr r0 +/* 802C30F8 002C0058 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802C30FC 002C005C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vectorFi" +"reserve__Q24rstl48vectorFi": +/* 802C3100 002C0060 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C3104 002C0064 7C 08 02 A6 */ mflr r0 +/* 802C3108 002C0068 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C310C 002C006C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C3110 002C0070 7C 9F 23 78 */ mr r31, r4 +/* 802C3114 002C0074 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C3118 002C0078 7C 7E 1B 78 */ mr r30, r3 +/* 802C311C 002C007C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C3120 002C0080 80 03 00 08 */ lwz r0, 8(r3) +/* 802C3124 002C0084 7C 1F 00 00 */ cmpw r31, r0 +/* 802C3128 002C0088 40 81 00 A8 */ ble lbl_802C31D0 +/* 802C312C 002C008C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802C3130 002C0090 40 82 00 0C */ bne lbl_802C313C +/* 802C3134 002C0094 3B A0 00 00 */ li r29, 0 +/* 802C3138 002C0098 48 00 00 18 */ b lbl_802C3150 +lbl_802C313C: +/* 802C313C 002C009C 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C3140 002C00A0 38 A0 00 00 */ li r5, 0 +/* 802C3144 002C00A4 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C3148 002C00A8 48 05 26 D1 */ bl __nwa__FUlPCcPCc +/* 802C314C 002C00AC 7C 7D 1B 78 */ mr r29, r3 +lbl_802C3150: +/* 802C3150 002C00B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C3154 002C00B4 7F A4 EB 78 */ mr r4, r29 +/* 802C3158 002C00B8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C315C 002C00BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802C3160 002C00C0 7C 65 02 14 */ add r3, r5, r0 +/* 802C3164 002C00C4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802C3168 002C00C8 90 61 00 08 */ stw r3, 8(r1) +/* 802C316C 002C00CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C3170 002C00D0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802C3174 002C00D4 48 00 00 1C */ b lbl_802C3190 +lbl_802C3178: +/* 802C3178 002C00D8 28 04 00 00 */ cmplwi r4, 0 +/* 802C317C 002C00DC 41 82 00 0C */ beq lbl_802C3188 +/* 802C3180 002C00E0 80 05 00 00 */ lwz r0, 0(r5) +/* 802C3184 002C00E4 90 04 00 00 */ stw r0, 0(r4) +lbl_802C3188: +/* 802C3188 002C00E8 38 84 00 04 */ addi r4, r4, 4 +/* 802C318C 002C00EC 38 A5 00 04 */ addi r5, r5, 4 +lbl_802C3190: +/* 802C3190 002C00F0 7C 05 18 40 */ cmplw r5, r3 +/* 802C3194 002C00F4 40 82 FF E4 */ bne lbl_802C3178 +/* 802C3198 002C00F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C319C 002C00FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C31A0 002C0100 54 00 10 3A */ slwi r0, r0, 2 +/* 802C31A4 002C0104 7C 64 1B 78 */ mr r4, r3 +/* 802C31A8 002C0108 7C 03 02 14 */ add r0, r3, r0 +/* 802C31AC 002C010C 48 00 00 08 */ b lbl_802C31B4 +lbl_802C31B0: +/* 802C31B0 002C0110 38 84 00 04 */ addi r4, r4, 4 +lbl_802C31B4: +/* 802C31B4 002C0114 7C 04 00 40 */ cmplw r4, r0 +/* 802C31B8 002C0118 40 82 FF F8 */ bne lbl_802C31B0 +/* 802C31BC 002C011C 28 03 00 00 */ cmplwi r3, 0 +/* 802C31C0 002C0120 41 82 00 08 */ beq lbl_802C31C8 +/* 802C31C4 002C0124 48 05 27 6D */ bl Free__7CMemoryFPCv +lbl_802C31C8: +/* 802C31C8 002C0128 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802C31CC 002C012C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802C31D0: +/* 802C31D0 002C0130 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C31D4 002C0134 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C31D8 002C0138 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C31DC 002C013C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C31E0 002C0140 7C 08 03 A6 */ mtlr r0 +/* 802C31E4 002C0144 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C31E8 002C0148 4E 80 00 20 */ blr + +.global sub_802c31ec +sub_802c31ec: +/* 802C31EC 002C014C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C31F0 002C0150 7C 08 02 A6 */ mflr r0 +/* 802C31F4 002C0154 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C31F8 002C0158 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802C31FC 002C015C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802C3200 002C0160 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 802C3204 002C0164 7C 7B 1B 78 */ mr r27, r3 +/* 802C3208 002C0168 7C 9C 23 78 */ mr r28, r4 +/* 802C320C 002C016C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802C3210 002C0170 7C BD 2B 78 */ mr r29, r5 +/* 802C3214 002C0174 80 84 00 00 */ lwz r4, 0(r4) +/* 802C3218 002C0178 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C321C 002C017C 48 00 20 1D */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3220 002C0180 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 802C3224 002C0184 7F E4 FB 78 */ mr r4, r31 +/* 802C3228 002C0188 38 61 00 44 */ addi r3, r1, 0x44 +/* 802C322C 002C018C 48 00 20 0D */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3230 002C0190 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802C3234 002C0194 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802C3238 002C0198 40 81 00 14 */ ble lbl_802C324C +/* 802C323C 002C019C 80 7B 00 00 */ lwz r3, 0(r27) +/* 802C3240 002C01A0 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C3244 002C01A4 90 1B 00 00 */ stw r0, 0(r27) +/* 802C3248 002C01A8 90 7C 00 00 */ stw r3, 0(r28) +lbl_802C324C: +/* 802C324C 002C01AC 83 FC 00 00 */ lwz r31, 0(r28) +/* 802C3250 002C01B0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C3254 002C01B4 80 9D 00 00 */ lwz r4, 0(r29) +/* 802C3258 002C01B8 48 00 1F E1 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C325C 002C01BC C3 E1 00 24 */ lfs f31, 0x24(r1) +/* 802C3260 002C01C0 7F E4 FB 78 */ mr r4, r31 +/* 802C3264 002C01C4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C3268 002C01C8 48 00 1F D1 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C326C 002C01CC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802C3270 002C01D0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802C3274 002C01D4 40 81 00 50 */ ble lbl_802C32C4 +/* 802C3278 002C01D8 83 DD 00 00 */ lwz r30, 0(r29) +/* 802C327C 002C01DC 38 61 00 08 */ addi r3, r1, 8 +/* 802C3280 002C01E0 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C3284 002C01E4 7F C4 F3 78 */ mr r4, r30 +/* 802C3288 002C01E8 90 1D 00 00 */ stw r0, 0(r29) +/* 802C328C 002C01EC 83 FB 00 00 */ lwz r31, 0(r27) +/* 802C3290 002C01F0 48 00 1F A9 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3294 002C01F4 C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 802C3298 002C01F8 7F E4 FB 78 */ mr r4, r31 +/* 802C329C 002C01FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C32A0 002C0200 48 00 1F 99 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C32A4 002C0204 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802C32A8 002C0208 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802C32AC 002C020C 40 81 00 14 */ ble lbl_802C32C0 +/* 802C32B0 002C0210 80 1B 00 00 */ lwz r0, 0(r27) +/* 802C32B4 002C0214 90 1C 00 00 */ stw r0, 0(r28) +/* 802C32B8 002C0218 93 DB 00 00 */ stw r30, 0(r27) +/* 802C32BC 002C021C 48 00 00 08 */ b lbl_802C32C4 +lbl_802C32C0: +/* 802C32C0 002C0220 93 DC 00 00 */ stw r30, 0(r28) +lbl_802C32C4: +/* 802C32C4 002C0224 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802C32C8 002C0228 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802C32CC 002C022C BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 802C32D0 002C0230 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C32D4 002C0234 7C 08 03 A6 */ mtlr r0 +/* 802C32D8 002C0238 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C32DC 002C023C 4E 80 00 20 */ blr + +.global sub_802c32e0 +sub_802c32e0: +/* 802C32E0 002C0240 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802C32E4 002C0244 7C 08 02 A6 */ mflr r0 +/* 802C32E8 002C0248 90 01 00 64 */ stw r0, 0x64(r1) +/* 802C32EC 002C024C BF 21 00 44 */ stmw r25, 0x44(r1) +/* 802C32F0 002C0250 7C 79 1B 78 */ mr r25, r3 +/* 802C32F4 002C0254 7C 9A 23 78 */ mr r26, r4 +/* 802C32F8 002C0258 83 C3 00 00 */ lwz r30, 0(r3) +/* 802C32FC 002C025C 3B DE 00 04 */ addi r30, r30, 4 +/* 802C3300 002C0260 48 00 00 90 */ b lbl_802C3390 +lbl_802C3304: +/* 802C3304 002C0264 83 7E 00 00 */ lwz r27, 0(r30) +/* 802C3308 002C0268 7F DC F3 78 */ mr r28, r30 +/* 802C330C 002C026C 3B BE FF FC */ addi r29, r30, -4 +/* 802C3310 002C0270 48 00 00 14 */ b lbl_802C3324 +lbl_802C3314: +/* 802C3314 002C0274 80 1D 00 00 */ lwz r0, 0(r29) +/* 802C3318 002C0278 3B BD FF FC */ addi r29, r29, -4 +/* 802C331C 002C027C 90 1C 00 00 */ stw r0, 0(r28) +/* 802C3320 002C0280 3B 9C FF FC */ addi r28, r28, -4 +lbl_802C3324: +/* 802C3324 002C0284 80 19 00 00 */ lwz r0, 0(r25) +/* 802C3328 002C0288 7C 00 E0 40 */ cmplw r0, r28 +/* 802C332C 002C028C 40 80 00 5C */ bge lbl_802C3388 +/* 802C3330 002C0290 83 FD 00 00 */ lwz r31, 0(r29) +/* 802C3334 002C0294 7F 64 DB 78 */ mr r4, r27 +/* 802C3338 002C0298 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C333C 002C029C 48 00 1E FD */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3340 002C02A0 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802C3344 002C02A4 7F E4 FB 78 */ mr r4, r31 +/* 802C3348 002C02A8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802C334C 002C02AC 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C3350 002C02B0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802C3354 002C02B4 D0 41 00 08 */ stfs f2, 8(r1) +/* 802C3358 002C02B8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C335C 002C02BC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C3360 002C02C0 48 00 1E D9 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3364 002C02C4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802C3368 002C02C8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802C336C 002C02CC C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802C3370 002C02D0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802C3374 002C02D4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802C3378 002C02D8 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802C337C 002C02DC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802C3380 002C02E0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802C3384 002C02E4 41 81 FF 90 */ bgt lbl_802C3314 +lbl_802C3388: +/* 802C3388 002C02E8 93 7C 00 00 */ stw r27, 0(r28) +/* 802C338C 002C02EC 3B DE 00 04 */ addi r30, r30, 4 +lbl_802C3390: +/* 802C3390 002C02F0 80 1A 00 00 */ lwz r0, 0(r26) +/* 802C3394 002C02F4 7C 1E 00 40 */ cmplw r30, r0 +/* 802C3398 002C02F8 41 80 FF 6C */ blt lbl_802C3304 +/* 802C339C 002C02FC BB 21 00 44 */ lmw r25, 0x44(r1) +/* 802C33A0 002C0300 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802C33A4 002C0304 7C 08 03 A6 */ mtlr r0 +/* 802C33A8 002C0308 38 21 00 60 */ addi r1, r1, 0x60 +/* 802C33AC 002C030C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__9CGuiGroupCFv +GetWidgetTypeID__9CGuiGroupCFv: +/* 802C33B0 002C0310 3C 60 47 52 */ lis r3, 0x47525550@ha +/* 802C33B4 002C0314 38 63 55 50 */ addi r3, r3, 0x47525550@l +/* 802C33B8 002C0318 4E 80 00 20 */ blr + +.global GetSelectedWidget__9CGuiGroupFv +GetSelectedWidget__9CGuiGroupFv: +/* 802C33BC 002C031C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C33C0 002C0320 7C 08 02 A6 */ mflr r0 +/* 802C33C4 002C0324 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C33C8 002C0328 81 83 00 00 */ lwz r12, 0(r3) +/* 802C33CC 002C032C 80 83 00 BC */ lwz r4, 0xbc(r3) +/* 802C33D0 002C0330 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C33D4 002C0334 7D 89 03 A6 */ mtctr r12 +/* 802C33D8 002C0338 4E 80 04 21 */ bctrl +/* 802C33DC 002C033C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C33E0 002C0340 7C 08 03 A6 */ mtlr r0 +/* 802C33E4 002C0344 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C33E8 002C0348 4E 80 00 20 */ blr + +.global AddWorkerWidget__9CGuiGroupFP10CGuiWidget +AddWorkerWidget__9CGuiGroupFP10CGuiWidget: +/* 802C33EC 002C034C 80 83 00 B8 */ lwz r4, 0xb8(r3) +/* 802C33F0 002C0350 38 04 00 01 */ addi r0, r4, 1 +/* 802C33F4 002C0354 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 802C33F8 002C0358 38 60 00 01 */ li r3, 1 +/* 802C33FC 002C035C 4E 80 00 20 */ blr + +.global OnActivate__9CGuiGroupFv +OnActivate__9CGuiGroupFv: +/* 802C3400 002C0360 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C3404 002C0364 7C 08 02 A6 */ mflr r0 +/* 802C3408 002C0368 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C340C 002C036C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C3410 002C0370 93 C1 00 08 */ stw r30, 8(r1) +/* 802C3414 002C0374 7C 7E 1B 78 */ mr r30, r3 +/* 802C3418 002C0378 4B FF FF A5 */ bl GetSelectedWidget__9CGuiGroupFv +/* 802C341C 002C037C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C3420 002C0380 41 82 00 24 */ beq lbl_802C3444 +/* 802C3424 002C0384 7F C3 F3 78 */ mr r3, r30 +/* 802C3428 002C0388 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C342C 002C038C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C3430 002C0390 7D 89 03 A6 */ mtctr r12 +/* 802C3434 002C0394 4E 80 04 21 */ bctrl +/* 802C3438 002C0398 7C 64 1B 78 */ mr r4, r3 +/* 802C343C 002C039C 7F E3 FB 78 */ mr r3, r31 +/* 802C3440 002C03A0 48 00 71 A5 */ bl SetIsActive__10CGuiWidgetFb +lbl_802C3444: +/* 802C3444 002C03A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C3448 002C03A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C344C 002C03AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C3450 002C03B0 7C 08 03 A6 */ mtlr r0 +/* 802C3454 002C03B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C3458 002C03B8 4E 80 00 20 */ blr + +.global __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib +__ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib: +/* 802C345C 002C03BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C3460 002C03C0 7C 08 02 A6 */ mflr r0 +/* 802C3464 002C03C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C3468 002C03C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C346C 002C03CC 7C DF 33 78 */ mr r31, r6 +/* 802C3470 002C03D0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C3474 002C03D4 7C BE 2B 78 */ mr r30, r5 +/* 802C3478 002C03D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C347C 002C03DC 7C 7D 1B 78 */ mr r29, r3 +/* 802C3480 002C03E0 4B FF E7 11 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C3484 002C03E4 3C 60 80 3F */ lis r3, lbl_803EC7C8@ha +/* 802C3488 002C03E8 38 00 00 00 */ li r0, 0 +/* 802C348C 002C03EC 38 83 C7 C8 */ addi r4, r3, lbl_803EC7C8@l +/* 802C3490 002C03F0 7F A3 EB 78 */ mr r3, r29 +/* 802C3494 002C03F4 90 9D 00 00 */ stw r4, 0(r29) +/* 802C3498 002C03F8 90 1D 00 B8 */ stw r0, 0xb8(r29) +/* 802C349C 002C03FC 93 DD 00 BC */ stw r30, 0xbc(r29) +/* 802C34A0 002C0400 9B FD 00 C0 */ stb r31, 0xc0(r29) +/* 802C34A4 002C0404 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C34A8 002C0408 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C34AC 002C040C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C34B0 002C0410 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C34B4 002C0414 7C 08 03 A6 */ mtlr r0 +/* 802C34B8 002C0418 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C34BC 002C041C 4E 80 00 20 */ blr + +.global Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb +Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb: +/* 802C34C0 002C0420 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C34C4 002C0424 7C 08 02 A6 */ mflr r0 +/* 802C34C8 002C0428 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C34CC 002C042C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802C34D0 002C0430 7C 7E 1B 78 */ mr r30, r3 +/* 802C34D4 002C0434 7C 9F 23 78 */ mr r31, r4 +/* 802C34D8 002C0438 38 61 00 08 */ addi r3, r1, 8 +/* 802C34DC 002C043C 7F C4 F3 78 */ mr r4, r30 +/* 802C34E0 002C0440 7F E5 FB 78 */ mr r5, r31 +/* 802C34E4 002C0444 48 00 78 6D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C34E8 002C0448 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C34EC 002C044C 7F E3 FB 78 */ mr r3, r31 +/* 802C34F0 002C0450 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C34F4 002C0454 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C34F8 002C0458 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C34FC 002C045C 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C3500 002C0460 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C3504 002C0464 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C3508 002C0468 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C350C 002C046C 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C3510 002C0470 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C3514 002C0474 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C3518 002C0478 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C351C 002C047C 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C3520 002C0480 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C3524 002C0484 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C3528 002C0488 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C352C 002C048C 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C3530 002C0490 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C3534 002C0494 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C3538 002C0498 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C353C 002C049C 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C3540 002C04A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C3544 002C04A4 48 07 B7 6D */ bl ReadShort__12CInputStreamFv +/* 802C3548 002C04A8 7C 60 07 34 */ extsh r0, r3 +/* 802C354C 002C04AC 7F E3 FB 78 */ mr r3, r31 +/* 802C3550 002C04B0 7C 1B 03 78 */ mr r27, r0 +/* 802C3554 002C04B4 48 07 B7 89 */ bl ReadBool__12CInputStreamFv +/* 802C3558 002C04B8 3C 80 80 3D */ lis r4, lbl_803D6898@ha +/* 802C355C 002C04BC 7C 7D 1B 78 */ mr r29, r3 +/* 802C3560 002C04C0 38 84 68 98 */ addi r4, r4, lbl_803D6898@l +/* 802C3564 002C04C4 38 60 00 C4 */ li r3, 0xc4 +/* 802C3568 002C04C8 38 A0 00 00 */ li r5, 0 +/* 802C356C 002C04CC 48 05 23 01 */ bl __nw__FUlPCcPCc +/* 802C3570 002C04D0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802C3574 002C04D4 41 82 00 18 */ beq lbl_802C358C +/* 802C3578 002C04D8 7F 65 DB 78 */ mr r5, r27 +/* 802C357C 002C04DC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C3580 002C04E0 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 802C3584 002C04E4 4B FF FE D9 */ bl __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib +/* 802C3588 002C04E8 7C 7C 1B 78 */ mr r28, r3 +lbl_802C358C: +/* 802C358C 002C04EC 7F 83 E3 78 */ mr r3, r28 +/* 802C3590 002C04F0 7F C4 F3 78 */ mr r4, r30 +/* 802C3594 002C04F4 7F E5 FB 78 */ mr r5, r31 +/* 802C3598 002C04F8 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C359C 002C04FC 48 00 74 ED */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C35A0 002C0500 7F 83 E3 78 */ mr r3, r28 +/* 802C35A4 002C0504 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802C35A8 002C0508 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C35AC 002C050C 7C 08 03 A6 */ mtlr r0 +/* 802C35B0 002C0510 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C35B4 002C0514 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiHeadWidget.s b/asm/GuiSys/CGuiHeadWidget.s new file mode 100644 index 00000000..69817d50 --- /dev/null +++ b/asm/GuiSys/CGuiHeadWidget.s @@ -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 diff --git a/asm/GuiSys/CGuiLight.s b/asm/GuiSys/CGuiLight.s new file mode 100644 index 00000000..f70efb58 --- /dev/null +++ b/asm/GuiSys/CGuiLight.s @@ -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 diff --git a/asm/GuiSys/CGuiModel.s b/asm/GuiSys/CGuiModel.s new file mode 100644 index 00000000..a383782b --- /dev/null +++ b/asm/GuiSys/CGuiModel.s @@ -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 diff --git a/asm/GuiSys/CGuiObject.s b/asm/GuiSys/CGuiObject.s new file mode 100644 index 00000000..a5482e19 --- /dev/null +++ b/asm/GuiSys/CGuiObject.s @@ -0,0 +1,1001 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetO2WTransform__10CGuiObjectFRC12CTransform4f +SetO2WTransform__10CGuiObjectFRC12CTransform4f: +/* 802C4738 002C1698 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802C473C 002C169C 7C 08 02 A6 */ mflr r0 +/* 802C4740 002C16A0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802C4744 002C16A4 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 802C4748 002C16A8 7C 9F 23 78 */ mr r31, r4 +/* 802C474C 002C16AC 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 802C4750 002C16B0 7C 7E 1B 78 */ mr r30, r3 +/* 802C4754 002C16B4 80 83 00 64 */ lwz r4, 0x64(r3) +/* 802C4758 002C16B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C475C 002C16BC 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4760 002C16C0 48 04 E5 3D */ bl GetQuickInverse__12CTransform4fCFv +/* 802C4764 002C16C4 38 61 00 98 */ addi r3, r1, 0x98 +/* 802C4768 002C16C8 38 81 00 38 */ addi r4, r1, 0x38 +/* 802C476C 002C16CC 48 04 E4 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C4770 002C16D0 7F E5 FB 78 */ mr r5, r31 +/* 802C4774 002C16D4 38 61 00 08 */ addi r3, r1, 8 +/* 802C4778 002C16D8 38 81 00 98 */ addi r4, r1, 0x98 +/* 802C477C 002C16DC 48 04 E1 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4780 002C16E0 38 61 00 68 */ addi r3, r1, 0x68 +/* 802C4784 002C16E4 38 81 00 08 */ addi r4, r1, 8 +/* 802C4788 002C16E8 48 04 E3 ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C478C 002C16EC 7F C3 F3 78 */ mr r3, r30 +/* 802C4790 002C16F0 38 81 00 68 */ addi r4, r1, 0x68 +/* 802C4794 002C16F4 48 00 00 1D */ bl sub_802c47b0 +/* 802C4798 002C16F8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802C479C 002C16FC 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 802C47A0 002C1700 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 802C47A4 002C1704 7C 08 03 A6 */ mtlr r0 +/* 802C47A8 002C1708 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802C47AC 002C170C 4E 80 00 20 */ blr + +.global sub_802c47b0 +sub_802c47b0: +/* 802C47B0 002C1710 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C47B4 002C1714 7C 08 02 A6 */ mflr r0 +/* 802C47B8 002C1718 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C47BC 002C171C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C47C0 002C1720 7C 7F 1B 78 */ mr r31, r3 +/* 802C47C4 002C1724 38 7F 00 04 */ addi r3, r31, 4 +/* 802C47C8 002C1728 48 04 E3 79 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C47CC 002C172C 7F E3 FB 78 */ mr r3, r31 +/* 802C47D0 002C1730 48 00 00 19 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C47D4 002C1734 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C47D8 002C1738 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C47DC 002C173C 7C 08 03 A6 */ mtlr r0 +/* 802C47E0 002C1740 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C47E4 002C1744 4E 80 00 20 */ blr + +.global RecalculateTransforms__10CGuiObjectFv +RecalculateTransforms__10CGuiObjectFv: +/* 802C47E8 002C1748 94 21 FD 10 */ stwu r1, -0x2f0(r1) +/* 802C47EC 002C174C 7C 08 02 A6 */ mflr r0 +/* 802C47F0 002C1750 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 802C47F4 002C1754 93 E1 02 EC */ stw r31, 0x2ec(r1) +/* 802C47F8 002C1758 7C 7F 1B 78 */ mr r31, r3 +/* 802C47FC 002C175C 93 C1 02 E8 */ stw r30, 0x2e8(r1) +/* 802C4800 002C1760 93 A1 02 E4 */ stw r29, 0x2e4(r1) +/* 802C4804 002C1764 93 81 02 E0 */ stw r28, 0x2e0(r1) +/* 802C4808 002C1768 80 83 00 64 */ lwz r4, 0x64(r3) +/* 802C480C 002C176C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4810 002C1770 41 82 00 24 */ beq lbl_802C4834 +/* 802C4814 002C1774 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 802C4818 002C1778 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C481C 002C177C 38 BF 00 04 */ addi r5, r31, 4 +/* 802C4820 002C1780 48 04 E1 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4824 002C1784 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802C4828 002C1788 38 81 02 A8 */ addi r4, r1, 0x2a8 +/* 802C482C 002C178C 48 04 E3 15 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4830 002C1790 48 00 00 10 */ b lbl_802C4840 +lbl_802C4834: +/* 802C4834 002C1794 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802C4838 002C1798 38 9F 00 04 */ addi r4, r31, 4 +/* 802C483C 002C179C 48 04 E3 05 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4840: +/* 802C4840 002C17A0 83 DF 00 6C */ lwz r30, 0x6c(r31) +/* 802C4844 002C17A4 28 1E 00 00 */ cmplwi r30, 0 +/* 802C4848 002C17A8 41 82 02 54 */ beq lbl_802C4A9C +/* 802C484C 002C17AC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 802C4850 002C17B0 28 04 00 00 */ cmplwi r4, 0 +/* 802C4854 002C17B4 41 82 00 24 */ beq lbl_802C4878 +/* 802C4858 002C17B8 38 61 02 78 */ addi r3, r1, 0x278 +/* 802C485C 002C17BC 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4860 002C17C0 38 BE 00 04 */ addi r5, r30, 4 +/* 802C4864 002C17C4 48 04 E0 ED */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4868 002C17C8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C486C 002C17CC 38 81 02 78 */ addi r4, r1, 0x278 +/* 802C4870 002C17D0 48 04 E2 D1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4874 002C17D4 48 00 00 10 */ b lbl_802C4884 +lbl_802C4878: +/* 802C4878 002C17D8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C487C 002C17DC 38 9E 00 04 */ addi r4, r30, 4 +/* 802C4880 002C17E0 48 04 E2 C1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4884: +/* 802C4884 002C17E4 83 BE 00 6C */ lwz r29, 0x6c(r30) +/* 802C4888 002C17E8 28 1D 00 00 */ cmplwi r29, 0 +/* 802C488C 002C17EC 41 82 01 04 */ beq lbl_802C4990 +/* 802C4890 002C17F0 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4894 002C17F4 28 04 00 00 */ cmplwi r4, 0 +/* 802C4898 002C17F8 41 82 00 24 */ beq lbl_802C48BC +/* 802C489C 002C17FC 38 61 02 18 */ addi r3, r1, 0x218 +/* 802C48A0 002C1800 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C48A4 002C1804 38 BD 00 04 */ addi r5, r29, 4 +/* 802C48A8 002C1808 48 04 E0 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C48AC 002C180C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C48B0 002C1810 38 81 02 18 */ addi r4, r1, 0x218 +/* 802C48B4 002C1814 48 04 E2 8D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C48B8 002C1818 48 00 00 10 */ b lbl_802C48C8 +lbl_802C48BC: +/* 802C48BC 002C181C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C48C0 002C1820 38 9D 00 04 */ addi r4, r29, 4 +/* 802C48C4 002C1824 48 04 E2 7D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C48C8: +/* 802C48C8 002C1828 83 9D 00 6C */ lwz r28, 0x6c(r29) +/* 802C48CC 002C182C 28 1C 00 00 */ cmplwi r28, 0 +/* 802C48D0 002C1830 41 82 00 5C */ beq lbl_802C492C +/* 802C48D4 002C1834 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C48D8 002C1838 28 04 00 00 */ cmplwi r4, 0 +/* 802C48DC 002C183C 41 82 00 24 */ beq lbl_802C4900 +/* 802C48E0 002C1840 38 61 01 58 */ addi r3, r1, 0x158 +/* 802C48E4 002C1844 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C48E8 002C1848 38 BC 00 04 */ addi r5, r28, 4 +/* 802C48EC 002C184C 48 04 E0 65 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C48F0 002C1850 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C48F4 002C1854 38 81 01 58 */ addi r4, r1, 0x158 +/* 802C48F8 002C1858 48 04 E2 49 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C48FC 002C185C 48 00 00 10 */ b lbl_802C490C +lbl_802C4900: +/* 802C4900 002C1860 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4904 002C1864 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4908 002C1868 48 04 E2 39 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C490C: +/* 802C490C 002C186C 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4910 002C1870 28 03 00 00 */ cmplwi r3, 0 +/* 802C4914 002C1874 41 82 00 08 */ beq lbl_802C491C +/* 802C4918 002C1878 4B FF FE D1 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C491C: +/* 802C491C 002C187C 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4920 002C1880 28 03 00 00 */ cmplwi r3, 0 +/* 802C4924 002C1884 41 82 00 08 */ beq lbl_802C492C +/* 802C4928 002C1888 4B FF FE C1 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C492C: +/* 802C492C 002C188C 83 9D 00 68 */ lwz r28, 0x68(r29) +/* 802C4930 002C1890 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4934 002C1894 41 82 00 5C */ beq lbl_802C4990 +/* 802C4938 002C1898 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C493C 002C189C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4940 002C18A0 41 82 00 24 */ beq lbl_802C4964 +/* 802C4944 002C18A4 38 61 01 28 */ addi r3, r1, 0x128 +/* 802C4948 002C18A8 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C494C 002C18AC 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4950 002C18B0 48 04 E0 01 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4954 002C18B4 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4958 002C18B8 38 81 01 28 */ addi r4, r1, 0x128 +/* 802C495C 002C18BC 48 04 E1 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4960 002C18C0 48 00 00 10 */ b lbl_802C4970 +lbl_802C4964: +/* 802C4964 002C18C4 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4968 002C18C8 38 9C 00 04 */ addi r4, r28, 4 +/* 802C496C 002C18CC 48 04 E1 D5 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4970: +/* 802C4970 002C18D0 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4974 002C18D4 28 03 00 00 */ cmplwi r3, 0 +/* 802C4978 002C18D8 41 82 00 08 */ beq lbl_802C4980 +/* 802C497C 002C18DC 4B FF FE 6D */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4980: +/* 802C4980 002C18E0 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4984 002C18E4 28 03 00 00 */ cmplwi r3, 0 +/* 802C4988 002C18E8 41 82 00 08 */ beq lbl_802C4990 +/* 802C498C 002C18EC 4B FF FE 5D */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4990: +/* 802C4990 002C18F0 83 9E 00 68 */ lwz r28, 0x68(r30) +/* 802C4994 002C18F4 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4998 002C18F8 41 82 01 04 */ beq lbl_802C4A9C +/* 802C499C 002C18FC 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C49A0 002C1900 28 04 00 00 */ cmplwi r4, 0 +/* 802C49A4 002C1904 41 82 00 24 */ beq lbl_802C49C8 +/* 802C49A8 002C1908 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802C49AC 002C190C 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C49B0 002C1910 38 BC 00 04 */ addi r5, r28, 4 +/* 802C49B4 002C1914 48 04 DF 9D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C49B8 002C1918 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C49BC 002C191C 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802C49C0 002C1920 48 04 E1 81 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C49C4 002C1924 48 00 00 10 */ b lbl_802C49D4 +lbl_802C49C8: +/* 802C49C8 002C1928 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C49CC 002C192C 38 9C 00 04 */ addi r4, r28, 4 +/* 802C49D0 002C1930 48 04 E1 71 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C49D4: +/* 802C49D4 002C1934 83 BC 00 6C */ lwz r29, 0x6c(r28) +/* 802C49D8 002C1938 28 1D 00 00 */ cmplwi r29, 0 +/* 802C49DC 002C193C 41 82 00 5C */ beq lbl_802C4A38 +/* 802C49E0 002C1940 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C49E4 002C1944 28 04 00 00 */ cmplwi r4, 0 +/* 802C49E8 002C1948 41 82 00 24 */ beq lbl_802C4A0C +/* 802C49EC 002C194C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802C49F0 002C1950 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C49F4 002C1954 38 BD 00 04 */ addi r5, r29, 4 +/* 802C49F8 002C1958 48 04 DF 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C49FC 002C195C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4A00 002C1960 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 802C4A04 002C1964 48 04 E1 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4A08 002C1968 48 00 00 10 */ b lbl_802C4A18 +lbl_802C4A0C: +/* 802C4A0C 002C196C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4A10 002C1970 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4A14 002C1974 48 04 E1 2D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4A18: +/* 802C4A18 002C1978 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 802C4A1C 002C197C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A20 002C1980 41 82 00 08 */ beq lbl_802C4A28 +/* 802C4A24 002C1984 4B FF FD C5 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A28: +/* 802C4A28 002C1988 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 802C4A2C 002C198C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A30 002C1990 41 82 00 08 */ beq lbl_802C4A38 +/* 802C4A34 002C1994 4B FF FD B5 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A38: +/* 802C4A38 002C1998 83 9C 00 68 */ lwz r28, 0x68(r28) +/* 802C4A3C 002C199C 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4A40 002C19A0 41 82 00 5C */ beq lbl_802C4A9C +/* 802C4A44 002C19A4 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4A48 002C19A8 28 04 00 00 */ cmplwi r4, 0 +/* 802C4A4C 002C19AC 41 82 00 24 */ beq lbl_802C4A70 +/* 802C4A50 002C19B0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802C4A54 002C19B4 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4A58 002C19B8 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4A5C 002C19BC 48 04 DE F5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4A60 002C19C0 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4A64 002C19C4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 802C4A68 002C19C8 48 04 E0 D9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4A6C 002C19CC 48 00 00 10 */ b lbl_802C4A7C +lbl_802C4A70: +/* 802C4A70 002C19D0 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4A74 002C19D4 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4A78 002C19D8 48 04 E0 C9 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4A7C: +/* 802C4A7C 002C19DC 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4A80 002C19E0 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A84 002C19E4 41 82 00 08 */ beq lbl_802C4A8C +/* 802C4A88 002C19E8 4B FF FD 61 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A8C: +/* 802C4A8C 002C19EC 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4A90 002C19F0 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A94 002C19F4 41 82 00 08 */ beq lbl_802C4A9C +/* 802C4A98 002C19F8 4B FF FD 51 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A9C: +/* 802C4A9C 002C19FC 83 9F 00 68 */ lwz r28, 0x68(r31) +/* 802C4AA0 002C1A00 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4AA4 002C1A04 41 82 02 54 */ beq lbl_802C4CF8 +/* 802C4AA8 002C1A08 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4AAC 002C1A0C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4AB0 002C1A10 41 82 00 24 */ beq lbl_802C4AD4 +/* 802C4AB4 002C1A14 38 61 02 48 */ addi r3, r1, 0x248 +/* 802C4AB8 002C1A18 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4ABC 002C1A1C 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4AC0 002C1A20 48 04 DE 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4AC4 002C1A24 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4AC8 002C1A28 38 81 02 48 */ addi r4, r1, 0x248 +/* 802C4ACC 002C1A2C 48 04 E0 75 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4AD0 002C1A30 48 00 00 10 */ b lbl_802C4AE0 +lbl_802C4AD4: +/* 802C4AD4 002C1A34 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4AD8 002C1A38 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4ADC 002C1A3C 48 04 E0 65 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4AE0: +/* 802C4AE0 002C1A40 83 BC 00 6C */ lwz r29, 0x6c(r28) +/* 802C4AE4 002C1A44 28 1D 00 00 */ cmplwi r29, 0 +/* 802C4AE8 002C1A48 41 82 01 04 */ beq lbl_802C4BEC +/* 802C4AEC 002C1A4C 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4AF0 002C1A50 28 04 00 00 */ cmplwi r4, 0 +/* 802C4AF4 002C1A54 41 82 00 24 */ beq lbl_802C4B18 +/* 802C4AF8 002C1A58 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802C4AFC 002C1A5C 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4B00 002C1A60 38 BD 00 04 */ addi r5, r29, 4 +/* 802C4B04 002C1A64 48 04 DE 4D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4B08 002C1A68 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4B0C 002C1A6C 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 802C4B10 002C1A70 48 04 E0 31 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4B14 002C1A74 48 00 00 10 */ b lbl_802C4B24 +lbl_802C4B18: +/* 802C4B18 002C1A78 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4B1C 002C1A7C 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4B20 002C1A80 48 04 E0 21 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4B24: +/* 802C4B24 002C1A84 83 DD 00 6C */ lwz r30, 0x6c(r29) +/* 802C4B28 002C1A88 28 1E 00 00 */ cmplwi r30, 0 +/* 802C4B2C 002C1A8C 41 82 00 5C */ beq lbl_802C4B88 +/* 802C4B30 002C1A90 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 802C4B34 002C1A94 28 04 00 00 */ cmplwi r4, 0 +/* 802C4B38 002C1A98 41 82 00 24 */ beq lbl_802C4B5C +/* 802C4B3C 002C1A9C 38 61 00 98 */ addi r3, r1, 0x98 +/* 802C4B40 002C1AA0 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4B44 002C1AA4 38 BE 00 04 */ addi r5, r30, 4 +/* 802C4B48 002C1AA8 48 04 DE 09 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4B4C 002C1AAC 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C4B50 002C1AB0 38 81 00 98 */ addi r4, r1, 0x98 +/* 802C4B54 002C1AB4 48 04 DF ED */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4B58 002C1AB8 48 00 00 10 */ b lbl_802C4B68 +lbl_802C4B5C: +/* 802C4B5C 002C1ABC 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C4B60 002C1AC0 38 9E 00 04 */ addi r4, r30, 4 +/* 802C4B64 002C1AC4 48 04 DF DD */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4B68: +/* 802C4B68 002C1AC8 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802C4B6C 002C1ACC 28 03 00 00 */ cmplwi r3, 0 +/* 802C4B70 002C1AD0 41 82 00 08 */ beq lbl_802C4B78 +/* 802C4B74 002C1AD4 4B FF FC 75 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4B78: +/* 802C4B78 002C1AD8 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 802C4B7C 002C1ADC 28 03 00 00 */ cmplwi r3, 0 +/* 802C4B80 002C1AE0 41 82 00 08 */ beq lbl_802C4B88 +/* 802C4B84 002C1AE4 4B FF FC 65 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4B88: +/* 802C4B88 002C1AE8 83 BD 00 68 */ lwz r29, 0x68(r29) +/* 802C4B8C 002C1AEC 28 1D 00 00 */ cmplwi r29, 0 +/* 802C4B90 002C1AF0 41 82 00 5C */ beq lbl_802C4BEC +/* 802C4B94 002C1AF4 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4B98 002C1AF8 28 04 00 00 */ cmplwi r4, 0 +/* 802C4B9C 002C1AFC 41 82 00 24 */ beq lbl_802C4BC0 +/* 802C4BA0 002C1B00 38 61 00 68 */ addi r3, r1, 0x68 +/* 802C4BA4 002C1B04 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4BA8 002C1B08 38 BD 00 04 */ addi r5, r29, 4 +/* 802C4BAC 002C1B0C 48 04 DD A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4BB0 002C1B10 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4BB4 002C1B14 38 81 00 68 */ addi r4, r1, 0x68 +/* 802C4BB8 002C1B18 48 04 DF 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4BBC 002C1B1C 48 00 00 10 */ b lbl_802C4BCC +lbl_802C4BC0: +/* 802C4BC0 002C1B20 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4BC4 002C1B24 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4BC8 002C1B28 48 04 DF 79 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4BCC: +/* 802C4BCC 002C1B2C 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 802C4BD0 002C1B30 28 03 00 00 */ cmplwi r3, 0 +/* 802C4BD4 002C1B34 41 82 00 08 */ beq lbl_802C4BDC +/* 802C4BD8 002C1B38 4B FF FC 11 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4BDC: +/* 802C4BDC 002C1B3C 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 802C4BE0 002C1B40 28 03 00 00 */ cmplwi r3, 0 +/* 802C4BE4 002C1B44 41 82 00 08 */ beq lbl_802C4BEC +/* 802C4BE8 002C1B48 4B FF FC 01 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4BEC: +/* 802C4BEC 002C1B4C 83 9C 00 68 */ lwz r28, 0x68(r28) +/* 802C4BF0 002C1B50 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4BF4 002C1B54 41 82 01 04 */ beq lbl_802C4CF8 +/* 802C4BF8 002C1B58 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4BFC 002C1B5C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4C00 002C1B60 41 82 00 24 */ beq lbl_802C4C24 +/* 802C4C04 002C1B64 38 61 01 88 */ addi r3, r1, 0x188 +/* 802C4C08 002C1B68 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4C0C 002C1B6C 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4C10 002C1B70 48 04 DD 41 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4C14 002C1B74 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4C18 002C1B78 38 81 01 88 */ addi r4, r1, 0x188 +/* 802C4C1C 002C1B7C 48 04 DF 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4C20 002C1B80 48 00 00 10 */ b lbl_802C4C30 +lbl_802C4C24: +/* 802C4C24 002C1B84 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4C28 002C1B88 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4C2C 002C1B8C 48 04 DF 15 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4C30: +/* 802C4C30 002C1B90 83 BC 00 6C */ lwz r29, 0x6c(r28) +/* 802C4C34 002C1B94 28 1D 00 00 */ cmplwi r29, 0 +/* 802C4C38 002C1B98 41 82 00 5C */ beq lbl_802C4C94 +/* 802C4C3C 002C1B9C 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4C40 002C1BA0 28 04 00 00 */ cmplwi r4, 0 +/* 802C4C44 002C1BA4 41 82 00 24 */ beq lbl_802C4C68 +/* 802C4C48 002C1BA8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C4C4C 002C1BAC 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4C50 002C1BB0 38 BD 00 04 */ addi r5, r29, 4 +/* 802C4C54 002C1BB4 48 04 DC FD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4C58 002C1BB8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4C5C 002C1BBC 38 81 00 38 */ addi r4, r1, 0x38 +/* 802C4C60 002C1BC0 48 04 DE E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4C64 002C1BC4 48 00 00 10 */ b lbl_802C4C74 +lbl_802C4C68: +/* 802C4C68 002C1BC8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4C6C 002C1BCC 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4C70 002C1BD0 48 04 DE D1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4C74: +/* 802C4C74 002C1BD4 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 802C4C78 002C1BD8 28 03 00 00 */ cmplwi r3, 0 +/* 802C4C7C 002C1BDC 41 82 00 08 */ beq lbl_802C4C84 +/* 802C4C80 002C1BE0 4B FF FB 69 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4C84: +/* 802C4C84 002C1BE4 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 802C4C88 002C1BE8 28 03 00 00 */ cmplwi r3, 0 +/* 802C4C8C 002C1BEC 41 82 00 08 */ beq lbl_802C4C94 +/* 802C4C90 002C1BF0 4B FF FB 59 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4C94: +/* 802C4C94 002C1BF4 83 9C 00 68 */ lwz r28, 0x68(r28) +/* 802C4C98 002C1BF8 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4C9C 002C1BFC 41 82 00 5C */ beq lbl_802C4CF8 +/* 802C4CA0 002C1C00 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4CA4 002C1C04 28 04 00 00 */ cmplwi r4, 0 +/* 802C4CA8 002C1C08 41 82 00 24 */ beq lbl_802C4CCC +/* 802C4CAC 002C1C0C 38 61 00 08 */ addi r3, r1, 8 +/* 802C4CB0 002C1C10 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4CB4 002C1C14 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4CB8 002C1C18 48 04 DC 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4CBC 002C1C1C 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4CC0 002C1C20 38 81 00 08 */ addi r4, r1, 8 +/* 802C4CC4 002C1C24 48 04 DE 7D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4CC8 002C1C28 48 00 00 10 */ b lbl_802C4CD8 +lbl_802C4CCC: +/* 802C4CCC 002C1C2C 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4CD0 002C1C30 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4CD4 002C1C34 48 04 DE 6D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4CD8: +/* 802C4CD8 002C1C38 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4CDC 002C1C3C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4CE0 002C1C40 41 82 00 08 */ beq lbl_802C4CE8 +/* 802C4CE4 002C1C44 4B FF FB 05 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4CE8: +/* 802C4CE8 002C1C48 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4CEC 002C1C4C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4CF0 002C1C50 41 82 00 08 */ beq lbl_802C4CF8 +/* 802C4CF4 002C1C54 4B FF FA F5 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4CF8: +/* 802C4CF8 002C1C58 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 802C4CFC 002C1C5C 83 E1 02 EC */ lwz r31, 0x2ec(r1) +/* 802C4D00 002C1C60 83 C1 02 E8 */ lwz r30, 0x2e8(r1) +/* 802C4D04 002C1C64 83 A1 02 E4 */ lwz r29, 0x2e4(r1) +/* 802C4D08 002C1C68 83 81 02 E0 */ lwz r28, 0x2e0(r1) +/* 802C4D0C 002C1C6C 7C 08 03 A6 */ mtlr r0 +/* 802C4D10 002C1C70 38 21 02 F0 */ addi r1, r1, 0x2f0 +/* 802C4D14 002C1C74 4E 80 00 20 */ blr + +.global GetParent__10CGuiObjectFv +GetParent__10CGuiObjectFv: +/* 802C4D18 002C1C78 80 63 00 64 */ lwz r3, 0x64(r3) +/* 802C4D1C 002C1C7C 4E 80 00 20 */ blr + +.global GetNextSibling__10CGuiObjectFv +GetNextSibling__10CGuiObjectFv: +/* 802C4D20 002C1C80 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 802C4D24 002C1C84 4E 80 00 20 */ blr + +.global GetNextSibling__18CGuiCompoundWidgetFv +GetNextSibling__18CGuiCompoundWidgetFv: +/* 802C4D28 002C1C88 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 802C4D2C 002C1C8C 4E 80 00 20 */ blr + +.global GetChildObject__10CGuiObjectFv +GetChildObject__10CGuiObjectFv: +/* 802C4D30 002C1C90 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C4D34 002C1C94 4E 80 00 20 */ blr + +.global GetChildObject__18CGuiCompoundWidgetFv +GetChildObject__18CGuiCompoundWidgetFv: +/* 802C4D38 002C1C98 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C4D3C 002C1C9C 4E 80 00 20 */ blr + +.global AddChildObject__10CGuiObjectFP10CGuiObjectbb +AddChildObject__10CGuiObjectFP10CGuiObjectbb: +/* 802C4D40 002C1CA0 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802C4D44 002C1CA4 7C 08 02 A6 */ mflr r0 +/* 802C4D48 002C1CA8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802C4D4C 002C1CAC DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 802C4D50 002C1CB0 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 802C4D54 002C1CB4 DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 802C4D58 002C1CB8 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 802C4D5C 002C1CBC 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 802C4D60 002C1CC0 93 C1 01 98 */ stw r30, 0x198(r1) +/* 802C4D64 002C1CC4 93 A1 01 94 */ stw r29, 0x194(r1) +/* 802C4D68 002C1CC8 7C 7D 1B 78 */ mr r29, r3 +/* 802C4D6C 002C1CCC 7C 9E 23 78 */ mr r30, r4 +/* 802C4D70 002C1CD0 93 A4 00 64 */ stw r29, 0x64(r4) +/* 802C4D74 002C1CD4 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C4D78 002C1CD8 28 03 00 00 */ cmplwi r3, 0 +/* 802C4D7C 002C1CDC 40 82 00 0C */ bne lbl_802C4D88 +/* 802C4D80 002C1CE0 93 DD 00 68 */ stw r30, 0x68(r29) +/* 802C4D84 002C1CE4 48 00 00 30 */ b lbl_802C4DB4 +lbl_802C4D88: +/* 802C4D88 002C1CE8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802C4D8C 002C1CEC 41 82 00 20 */ beq lbl_802C4DAC +lbl_802C4D90: +/* 802C4D90 002C1CF0 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 802C4D94 002C1CF4 28 00 00 00 */ cmplwi r0, 0 +/* 802C4D98 002C1CF8 40 82 00 0C */ bne lbl_802C4DA4 +/* 802C4D9C 002C1CFC 93 C3 00 6C */ stw r30, 0x6c(r3) +/* 802C4DA0 002C1D00 48 00 00 14 */ b lbl_802C4DB4 +lbl_802C4DA4: +/* 802C4DA4 002C1D04 7C 03 03 78 */ mr r3, r0 +/* 802C4DA8 002C1D08 4B FF FF E8 */ b lbl_802C4D90 +lbl_802C4DAC: +/* 802C4DAC 002C1D0C 90 7E 00 6C */ stw r3, 0x6c(r30) +/* 802C4DB0 002C1D10 93 DD 00 68 */ stw r30, 0x68(r29) +lbl_802C4DB4: +/* 802C4DB4 002C1D14 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802C4DB8 002C1D18 41 82 02 3C */ beq lbl_802C4FF4 +/* 802C4DBC 002C1D1C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802C4DC0 002C1D20 83 FE 00 64 */ lwz r31, 0x64(r30) +/* 802C4DC4 002C1D24 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802C4DC8 002C1D28 38 61 01 58 */ addi r3, r1, 0x158 +/* 802C4DCC 002C1D2C 48 04 DD A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C4DD0 002C1D30 C0 62 C3 98 */ lfs f3, lbl_805AE0B8@sda21(r2) +/* 802C4DD4 002C1D34 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 802C4DD8 002C1D38 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 802C4DDC 002C1D3C C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 802C4DE0 002C1D40 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802C4DE4 002C1D44 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802C4DE8 002C1D48 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802C4DEC 002C1D4C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802C4DF0 002C1D50 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802C4DF4 002C1D54 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802C4DF8 002C1D58 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 802C4DFC 002C1D5C C0 5F 00 5C */ lfs f2, 0x5c(r31) +/* 802C4E00 002C1D60 C0 3F 00 4C */ lfs f1, 0x4c(r31) +/* 802C4E04 002C1D64 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802C4E08 002C1D68 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802C4E0C 002C1D6C D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 802C4E10 002C1D70 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 802C4E14 002C1D74 48 04 FA A5 */ bl Magnitude__9CVector3fCFv +/* 802C4E18 002C1D78 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 802C4E1C 002C1D7C FF C0 08 90 */ fmr f30, f1 +/* 802C4E20 002C1D80 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 802C4E24 002C1D84 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802C4E28 002C1D88 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 802C4E2C 002C1D8C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802C4E30 002C1D90 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 802C4E34 002C1D94 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 802C4E38 002C1D98 48 04 FA 81 */ bl Magnitude__9CVector3fCFv +/* 802C4E3C 002C1D9C C0 5F 00 54 */ lfs f2, 0x54(r31) +/* 802C4E40 002C1DA0 FF E0 08 90 */ fmr f31, f1 +/* 802C4E44 002C1DA4 C0 3F 00 44 */ lfs f1, 0x44(r31) +/* 802C4E48 002C1DA8 38 61 00 BC */ addi r3, r1, 0xbc +/* 802C4E4C 002C1DAC C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 802C4E50 002C1DB0 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802C4E54 002C1DB4 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 802C4E58 002C1DB8 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 802C4E5C 002C1DBC 48 04 FA 5D */ bl Magnitude__9CVector3fCFv +/* 802C4E60 002C1DC0 C0 62 C3 9C */ lfs f3, lbl_805AE0BC@sda21(r2) +/* 802C4E64 002C1DC4 38 61 01 34 */ addi r3, r1, 0x134 +/* 802C4E68 002C1DC8 C0 DF 00 5C */ lfs f6, 0x5c(r31) +/* 802C4E6C 002C1DCC 38 81 00 98 */ addi r4, r1, 0x98 +/* 802C4E70 002C1DD0 EC A3 F0 24 */ fdivs f5, f3, f30 +/* 802C4E74 002C1DD4 C0 5F 00 4C */ lfs f2, 0x4c(r31) +/* 802C4E78 002C1DD8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802C4E7C 002C1DDC 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802C4E80 002C1DE0 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802C4E84 002C1DE4 38 C1 00 68 */ addi r6, r1, 0x68 +/* 802C4E88 002C1DE8 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 802C4E8C 002C1DEC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802C4E90 002C1DF0 EC 45 01 B2 */ fmuls f2, f5, f6 +/* 802C4E94 002C1DF4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 802C4E98 002C1DF8 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 802C4E9C 002C1DFC EC A3 F8 24 */ fdivs f5, f3, f31 +/* 802C4EA0 002C1E00 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802C4EA4 002C1E04 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802C4EA8 002C1E08 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802C4EAC 002C1E0C C1 1F 00 58 */ lfs f8, 0x58(r31) +/* 802C4EB0 002C1E10 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 802C4EB4 002C1E14 C0 5F 00 38 */ lfs f2, 0x38(r31) +/* 802C4EB8 002C1E18 EC C5 00 32 */ fmuls f6, f5, f0 +/* 802C4EBC 002C1E1C EC 85 02 32 */ fmuls f4, f5, f8 +/* 802C4EC0 002C1E20 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802C4EC4 002C1E24 EC 05 00 B2 */ fmuls f0, f5, f2 +/* 802C4EC8 002C1E28 EC A3 08 24 */ fdivs f5, f3, f1 +/* 802C4ECC 002C1E2C D0 C1 00 84 */ stfs f6, 0x84(r1) +/* 802C4ED0 002C1E30 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802C4ED4 002C1E34 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 802C4ED8 002C1E38 C0 FF 00 54 */ lfs f7, 0x54(r31) +/* 802C4EDC 002C1E3C C0 DF 00 44 */ lfs f6, 0x44(r31) +/* 802C4EE0 002C1E40 C0 3F 00 34 */ lfs f1, 0x34(r31) +/* 802C4EE4 002C1E44 EC 85 01 B2 */ fmuls f4, f5, f6 +/* 802C4EE8 002C1E48 EC 65 01 F2 */ fmuls f3, f5, f7 +/* 802C4EEC 002C1E4C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802C4EF0 002C1E50 EC 05 00 72 */ fmuls f0, f5, f1 +/* 802C4EF4 002C1E54 D1 01 00 7C */ stfs f8, 0x7c(r1) +/* 802C4EF8 002C1E58 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802C4EFC 002C1E5C D0 C1 00 90 */ stfs f6, 0x90(r1) +/* 802C4F00 002C1E60 D0 E1 00 94 */ stfs f7, 0x94(r1) +/* 802C4F04 002C1E64 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802C4F08 002C1E68 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 802C4F0C 002C1E6C D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 802C4F10 002C1E70 48 04 B7 6D */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802C4F14 002C1E74 38 61 00 50 */ addi r3, r1, 0x50 +/* 802C4F18 002C1E78 38 81 01 34 */ addi r4, r1, 0x134 +/* 802C4F1C 002C1E7C 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 802C4F20 002C1E80 48 04 B3 75 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802C4F24 002C1E84 C0 A1 01 54 */ lfs f5, 0x154(r1) +/* 802C4F28 002C1E88 38 61 01 58 */ addi r3, r1, 0x158 +/* 802C4F2C 002C1E8C C0 81 01 48 */ lfs f4, 0x148(r1) +/* 802C4F30 002C1E90 38 81 01 04 */ addi r4, r1, 0x104 +/* 802C4F34 002C1E94 C0 61 01 3C */ lfs f3, 0x13c(r1) +/* 802C4F38 002C1E98 C0 E1 01 50 */ lfs f7, 0x150(r1) +/* 802C4F3C 002C1E9C C0 C1 01 44 */ lfs f6, 0x144(r1) +/* 802C4F40 002C1EA0 C0 41 01 38 */ lfs f2, 0x138(r1) +/* 802C4F44 002C1EA4 C1 21 01 4C */ lfs f9, 0x14c(r1) +/* 802C4F48 002C1EA8 C1 01 01 40 */ lfs f8, 0x140(r1) +/* 802C4F4C 002C1EAC C0 21 01 34 */ lfs f1, 0x134(r1) +/* 802C4F50 002C1EB0 C1 41 00 54 */ lfs f10, 0x54(r1) +/* 802C4F54 002C1EB4 C1 61 00 58 */ lfs f11, 0x58(r1) +/* 802C4F58 002C1EB8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802C4F5C 002C1EBC D0 61 00 08 */ stfs f3, 8(r1) +/* 802C4F60 002C1EC0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802C4F64 002C1EC4 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802C4F68 002C1EC8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802C4F6C 002C1ECC D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 802C4F70 002C1ED0 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 802C4F74 002C1ED4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802C4F78 002C1ED8 D1 01 00 24 */ stfs f8, 0x24(r1) +/* 802C4F7C 002C1EDC D1 21 00 28 */ stfs f9, 0x28(r1) +/* 802C4F80 002C1EE0 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 802C4F84 002C1EE4 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 802C4F88 002C1EE8 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802C4F8C 002C1EEC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802C4F90 002C1EF0 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 802C4F94 002C1EF4 D0 E1 00 40 */ stfs f7, 0x40(r1) +/* 802C4F98 002C1EF8 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802C4F9C 002C1EFC D1 01 00 48 */ stfs f8, 0x48(r1) +/* 802C4FA0 002C1F00 D1 21 00 4C */ stfs f9, 0x4c(r1) +/* 802C4FA4 002C1F04 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 802C4FA8 002C1F08 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 802C4FAC 002C1F0C D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 802C4FB0 002C1F10 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 802C4FB4 002C1F14 D1 01 01 14 */ stfs f8, 0x114(r1) +/* 802C4FB8 002C1F18 D0 C1 01 18 */ stfs f6, 0x118(r1) +/* 802C4FBC 002C1F1C D0 81 01 1C */ stfs f4, 0x11c(r1) +/* 802C4FC0 002C1F20 D1 41 01 20 */ stfs f10, 0x120(r1) +/* 802C4FC4 002C1F24 D1 21 01 24 */ stfs f9, 0x124(r1) +/* 802C4FC8 002C1F28 D0 E1 01 28 */ stfs f7, 0x128(r1) +/* 802C4FCC 002C1F2C D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 802C4FD0 002C1F30 D1 61 01 30 */ stfs f11, 0x130(r1) +/* 802C4FD4 002C1F34 48 04 DB 6D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4FD8 002C1F38 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802C4FDC 002C1F3C 38 81 01 58 */ addi r4, r1, 0x158 +/* 802C4FE0 002C1F40 38 BE 00 34 */ addi r5, r30, 0x34 +/* 802C4FE4 002C1F44 48 04 D9 6D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4FE8 002C1F48 38 7E 00 04 */ addi r3, r30, 4 +/* 802C4FEC 002C1F4C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 802C4FF0 002C1F50 48 04 DB 51 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4FF4: +/* 802C4FF4 002C1F54 7F A3 EB 78 */ mr r3, r29 +/* 802C4FF8 002C1F58 4B FF F7 F1 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C4FFC 002C1F5C E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 802C5000 002C1F60 CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 802C5004 002C1F64 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 +/* 802C5008 002C1F68 CB C1 01 A0 */ lfd f30, 0x1a0(r1) +/* 802C500C 002C1F6C 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 802C5010 002C1F70 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 802C5014 002C1F74 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802C5018 002C1F78 83 A1 01 94 */ lwz r29, 0x194(r1) +/* 802C501C 002C1F7C 7C 08 03 A6 */ mtlr r0 +/* 802C5020 002C1F80 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802C5024 002C1F84 4E 80 00 20 */ blr + +.global MultiplyO2P__10CGuiObjectFRC12CTransform4f +MultiplyO2P__10CGuiObjectFRC12CTransform4f: +/* 802C5028 002C1F88 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C502C 002C1F8C 7C 08 02 A6 */ mflr r0 +/* 802C5030 002C1F90 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C5034 002C1F94 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802C5038 002C1F98 7C 7F 1B 78 */ mr r31, r3 +/* 802C503C 002C1F9C 38 61 00 08 */ addi r3, r1, 8 +/* 802C5040 002C1FA0 38 BF 00 04 */ addi r5, r31, 4 +/* 802C5044 002C1FA4 48 04 D9 0D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C5048 002C1FA8 38 7F 00 04 */ addi r3, r31, 4 +/* 802C504C 002C1FAC 38 81 00 08 */ addi r4, r1, 8 +/* 802C5050 002C1FB0 48 04 DA F1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C5054 002C1FB4 7F E3 FB 78 */ mr r3, r31 +/* 802C5058 002C1FB8 4B FF F7 91 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C505C 002C1FBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C5060 002C1FC0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802C5064 002C1FC4 7C 08 03 A6 */ mtlr r0 +/* 802C5068 002C1FC8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C506C 002C1FCC 4E 80 00 20 */ blr + +.global RotateTranslateW2O__10CGuiObjectCFRC9CVector3f +RotateTranslateW2O__10CGuiObjectCFRC9CVector3f: +/* 802C5070 002C1FD0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C5074 002C1FD4 7C 08 02 A6 */ mflr r0 +/* 802C5078 002C1FD8 7C 86 23 78 */ mr r6, r4 +/* 802C507C 002C1FDC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C5080 002C1FE0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C5084 002C1FE4 7C 7F 1B 78 */ mr r31, r3 +/* 802C5088 002C1FE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C508C 002C1FEC C0 04 00 60 */ lfs f0, 0x60(r4) +/* 802C5090 002C1FF0 38 86 00 34 */ addi r4, r6, 0x34 +/* 802C5094 002C1FF4 C0 25 00 08 */ lfs f1, 8(r5) +/* 802C5098 002C1FF8 C0 65 00 04 */ lfs f3, 4(r5) +/* 802C509C 002C1FFC EC 81 00 28 */ fsubs f4, f1, f0 +/* 802C50A0 002C2000 C0 46 00 50 */ lfs f2, 0x50(r6) +/* 802C50A4 002C2004 C0 25 00 00 */ lfs f1, 0(r5) +/* 802C50A8 002C2008 38 A1 00 08 */ addi r5, r1, 8 +/* 802C50AC 002C200C C0 06 00 40 */ lfs f0, 0x40(r6) +/* 802C50B0 002C2010 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802C50B4 002C2014 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802C50B8 002C2018 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802C50BC 002C201C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802C50C0 002C2020 D0 01 00 08 */ stfs f0, 8(r1) +/* 802C50C4 002C2024 48 04 D9 61 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802C50C8 002C2028 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802C50CC 002C202C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802C50D0 002C2030 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802C50D4 002C2034 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802C50D8 002C2038 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802C50DC 002C203C D0 5F 00 08 */ stfs f2, 8(r31) +/* 802C50E0 002C2040 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C50E4 002C2044 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C50E8 002C2048 7C 08 03 A6 */ mtlr r0 +/* 802C50EC 002C204C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C50F0 002C2050 4E 80 00 20 */ blr + +.global RotateO2P__10CGuiObjectCFRC9CVector3f +RotateO2P__10CGuiObjectCFRC9CVector3f: +/* 802C50F4 002C2054 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C50F8 002C2058 7C 08 02 A6 */ mflr r0 +/* 802C50FC 002C205C 38 84 00 04 */ addi r4, r4, 4 +/* 802C5100 002C2060 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C5104 002C2064 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C5108 002C2068 7C 7F 1B 78 */ mr r31, r3 +/* 802C510C 002C206C 38 61 00 08 */ addi r3, r1, 8 +/* 802C5110 002C2070 48 04 D9 71 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802C5114 002C2074 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802C5118 002C2078 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802C511C 002C207C C0 01 00 08 */ lfs f0, 8(r1) +/* 802C5120 002C2080 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802C5124 002C2084 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802C5128 002C2088 D0 5F 00 08 */ stfs f2, 8(r31) +/* 802C512C 002C208C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C5130 002C2090 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C5134 002C2094 7C 08 03 A6 */ mtlr r0 +/* 802C5138 002C2098 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C513C 002C209C 4E 80 00 20 */ blr + +.global RotateReset__10CGuiObjectFv +RotateReset__10CGuiObjectFv: +/* 802C5140 002C20A0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C5144 002C20A4 7C 08 02 A6 */ mflr r0 +/* 802C5148 002C20A8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C514C 002C20AC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802C5150 002C20B0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802C5154 002C20B4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 802C5158 002C20B8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 802C515C 002C20BC DB A1 00 10 */ stfd f29, 0x10(r1) +/* 802C5160 002C20C0 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 802C5164 002C20C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5168 002C20C8 7C 7F 1B 78 */ mr r31, r3 +/* 802C516C 002C20CC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802C5170 002C20D0 C3 BF 00 30 */ lfs f29, 0x30(r31) +/* 802C5174 002C20D4 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802C5178 002C20D8 C3 DF 00 20 */ lfs f30, 0x20(r31) +/* 802C517C 002C20DC 38 7F 00 04 */ addi r3, r31, 4 +/* 802C5180 002C20E0 C3 FF 00 10 */ lfs f31, 0x10(r31) +/* 802C5184 002C20E4 48 04 D9 BD */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C5188 002C20E8 D3 FF 00 10 */ stfs f31, 0x10(r31) +/* 802C518C 002C20EC 7F E3 FB 78 */ mr r3, r31 +/* 802C5190 002C20F0 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 802C5194 002C20F4 D3 BF 00 30 */ stfs f29, 0x30(r31) +/* 802C5198 002C20F8 4B FF F6 51 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C519C 002C20FC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802C51A0 002C2100 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802C51A4 002C2104 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 802C51A8 002C2108 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 802C51AC 002C210C E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 802C51B0 002C2110 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 802C51B4 002C2114 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C51B8 002C2118 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C51BC 002C211C 7C 08 03 A6 */ mtlr r0 +/* 802C51C0 002C2120 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C51C4 002C2124 4E 80 00 20 */ blr + +.global SetLocalPosition__10CGuiObjectFRC9CVector3f +SetLocalPosition__10CGuiObjectFRC9CVector3f: +/* 802C51C8 002C2128 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C51CC 002C212C 7C 08 02 A6 */ mflr r0 +/* 802C51D0 002C2130 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C51D4 002C2134 C0 24 00 04 */ lfs f1, 4(r4) +/* 802C51D8 002C2138 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 802C51DC 002C213C C0 64 00 08 */ lfs f3, 8(r4) +/* 802C51E0 002C2140 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802C51E4 002C2144 C0 43 00 30 */ lfs f2, 0x30(r3) +/* 802C51E8 002C2148 C0 24 00 00 */ lfs f1, 0(r4) +/* 802C51EC 002C214C 38 81 00 08 */ addi r4, r1, 8 +/* 802C51F0 002C2150 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802C51F4 002C2154 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802C51F8 002C2158 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802C51FC 002C215C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802C5200 002C2160 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802C5204 002C2164 D0 01 00 08 */ stfs f0, 8(r1) +/* 802C5208 002C2168 48 00 00 4D */ bl MoveInWorld__10CGuiObjectFRC9CVector3f +/* 802C520C 002C216C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C5210 002C2170 7C 08 03 A6 */ mtlr r0 +/* 802C5214 002C2174 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C5218 002C2178 4E 80 00 20 */ blr + +.global GetLocalPosition__10CGuiObjectCFv +GetLocalPosition__10CGuiObjectCFv: +/* 802C521C 002C217C C0 44 00 30 */ lfs f2, 0x30(r4) +/* 802C5220 002C2180 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 802C5224 002C2184 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802C5228 002C2188 D0 03 00 00 */ stfs f0, 0(r3) +/* 802C522C 002C218C D0 23 00 04 */ stfs f1, 4(r3) +/* 802C5230 002C2190 D0 43 00 08 */ stfs f2, 8(r3) +/* 802C5234 002C2194 4E 80 00 20 */ blr + +.global GetWorldPosition__10CGuiObjectCFv +GetWorldPosition__10CGuiObjectCFv: +/* 802C5238 002C2198 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 802C523C 002C219C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802C5240 002C21A0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802C5244 002C21A4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802C5248 002C21A8 D0 23 00 04 */ stfs f1, 4(r3) +/* 802C524C 002C21AC D0 43 00 08 */ stfs f2, 8(r3) +/* 802C5250 002C21B0 4E 80 00 20 */ blr + +.global MoveInWorld__10CGuiObjectFRC9CVector3f +MoveInWorld__10CGuiObjectFRC9CVector3f: +/* 802C5254 002C21B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C5258 002C21B8 7C 08 02 A6 */ mflr r0 +/* 802C525C 002C21BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C5260 002C21C0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C5264 002C21C4 7C 9F 23 78 */ mr r31, r4 +/* 802C5268 002C21C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C526C 002C21CC 7C 7E 1B 78 */ mr r30, r3 +/* 802C5270 002C21D0 80 83 00 64 */ lwz r4, 0x64(r3) +/* 802C5274 002C21D4 28 04 00 00 */ cmplwi r4, 0 +/* 802C5278 002C21D8 41 82 00 2C */ beq lbl_802C52A4 +/* 802C527C 002C21DC 7F E5 FB 78 */ mr r5, r31 +/* 802C5280 002C21E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C5284 002C21E4 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C5288 002C21E8 48 04 D7 9D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802C528C 002C21EC C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802C5290 002C21F0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802C5294 002C21F4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802C5298 002C21F8 D0 41 00 08 */ stfs f2, 8(r1) +/* 802C529C 002C21FC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C52A0 002C2200 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_802C52A4: +/* 802C52A4 002C2204 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 802C52A8 002C2208 7F C3 F3 78 */ mr r3, r30 +/* 802C52AC 002C220C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802C52B0 002C2210 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C52B4 002C2214 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802C52B8 002C2218 C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 802C52BC 002C221C C0 1F 00 04 */ lfs f0, 4(r31) +/* 802C52C0 002C2220 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C52C4 002C2224 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802C52C8 002C2228 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 802C52CC 002C222C C0 1F 00 08 */ lfs f0, 8(r31) +/* 802C52D0 002C2230 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C52D4 002C2234 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 802C52D8 002C2238 4B FF F5 11 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C52DC 002C223C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C52E0 002C2240 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C52E4 002C2244 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C52E8 002C2248 7C 08 03 A6 */ mtlr r0 +/* 802C52EC 002C224C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C52F0 002C2250 4E 80 00 20 */ blr + +.global Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms +Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms: +/* 802C52F4 002C2254 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C52F8 002C2258 7C 08 02 A6 */ mflr r0 +/* 802C52FC 002C225C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5300 002C2260 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5304 002C2264 7C 9F 23 78 */ mr r31, r4 +/* 802C5308 002C2268 93 C1 00 08 */ stw r30, 8(r1) +/* 802C530C 002C226C 7C 7E 1B 78 */ mr r30, r3 +/* 802C5310 002C2270 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C5314 002C2274 28 03 00 00 */ cmplwi r3, 0 +/* 802C5318 002C2278 41 82 00 14 */ beq lbl_802C532C +/* 802C531C 002C227C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5320 002C2280 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C5324 002C2284 7D 89 03 A6 */ mtctr r12 +/* 802C5328 002C2288 4E 80 04 21 */ bctrl +lbl_802C532C: +/* 802C532C 002C228C 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802C5330 002C2290 28 03 00 00 */ cmplwi r3, 0 +/* 802C5334 002C2294 41 82 00 18 */ beq lbl_802C534C +/* 802C5338 002C2298 81 83 00 00 */ lwz r12, 0(r3) +/* 802C533C 002C229C 7F E4 FB 78 */ mr r4, r31 +/* 802C5340 002C22A0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C5344 002C22A4 7D 89 03 A6 */ mtctr r12 +/* 802C5348 002C22A8 4E 80 04 21 */ bctrl +lbl_802C534C: +/* 802C534C 002C22AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5350 002C22B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C5354 002C22B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5358 002C22B8 7C 08 03 A6 */ mtlr r0 +/* 802C535C 002C22BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5360 002C22C0 4E 80 00 20 */ blr + +.global Update__10CGuiObjectFf +Update__10CGuiObjectFf: +/* 802C5364 002C22C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C5368 002C22C8 7C 08 02 A6 */ mflr r0 +/* 802C536C 002C22CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C5370 002C22D0 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802C5374 002C22D4 FF E0 08 90 */ fmr f31, f1 +/* 802C5378 002C22D8 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802C537C 002C22DC 7C 7F 1B 78 */ mr r31, r3 +/* 802C5380 002C22E0 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C5384 002C22E4 28 03 00 00 */ cmplwi r3, 0 +/* 802C5388 002C22E8 41 82 00 14 */ beq lbl_802C539C +/* 802C538C 002C22EC 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5390 002C22F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C5394 002C22F4 7D 89 03 A6 */ mtctr r12 +/* 802C5398 002C22F8 4E 80 04 21 */ bctrl +lbl_802C539C: +/* 802C539C 002C22FC 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 802C53A0 002C2300 28 03 00 00 */ cmplwi r3, 0 +/* 802C53A4 002C2304 41 82 00 18 */ beq lbl_802C53BC +/* 802C53A8 002C2308 81 83 00 00 */ lwz r12, 0(r3) +/* 802C53AC 002C230C FC 20 F8 90 */ fmr f1, f31 +/* 802C53B0 002C2310 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C53B4 002C2314 7D 89 03 A6 */ mtctr r12 +/* 802C53B8 002C2318 4E 80 04 21 */ bctrl +lbl_802C53BC: +/* 802C53BC 002C231C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C53C0 002C2320 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 802C53C4 002C2324 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 802C53C8 002C2328 7C 08 03 A6 */ mtlr r0 +/* 802C53CC 002C232C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C53D0 002C2330 4E 80 00 20 */ blr + +.global __dt__10CGuiObjectFv +__dt__10CGuiObjectFv: +/* 802C53D4 002C2334 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C53D8 002C2338 7C 08 02 A6 */ mflr r0 +/* 802C53DC 002C233C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C53E0 002C2340 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C53E4 002C2344 7C 9F 23 78 */ mr r31, r4 +/* 802C53E8 002C2348 93 C1 00 08 */ stw r30, 8(r1) +/* 802C53EC 002C234C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C53F0 002C2350 41 82 00 70 */ beq lbl_802C5460 +/* 802C53F4 002C2354 3C 60 80 3F */ lis r3, lbl_803EC8C8@ha +/* 802C53F8 002C2358 38 03 C8 C8 */ addi r0, r3, lbl_803EC8C8@l +/* 802C53FC 002C235C 90 1E 00 00 */ stw r0, 0(r30) +/* 802C5400 002C2360 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 802C5404 002C2364 28 03 00 00 */ cmplwi r3, 0 +/* 802C5408 002C2368 41 82 00 18 */ beq lbl_802C5420 +/* 802C540C 002C236C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5410 002C2370 38 80 00 01 */ li r4, 1 +/* 802C5414 002C2374 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C5418 002C2378 7D 89 03 A6 */ mtctr r12 +/* 802C541C 002C237C 4E 80 04 21 */ bctrl +lbl_802C5420: +/* 802C5420 002C2380 38 00 00 00 */ li r0, 0 +/* 802C5424 002C2384 90 1E 00 68 */ stw r0, 0x68(r30) +/* 802C5428 002C2388 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802C542C 002C238C 28 03 00 00 */ cmplwi r3, 0 +/* 802C5430 002C2390 41 82 00 18 */ beq lbl_802C5448 +/* 802C5434 002C2394 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5438 002C2398 38 80 00 01 */ li r4, 1 +/* 802C543C 002C239C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C5440 002C23A0 7D 89 03 A6 */ mtctr r12 +/* 802C5444 002C23A4 4E 80 04 21 */ bctrl +lbl_802C5448: +/* 802C5448 002C23A8 38 60 00 00 */ li r3, 0 +/* 802C544C 002C23AC 7F E0 07 35 */ extsh. r0, r31 +/* 802C5450 002C23B0 90 7E 00 6C */ stw r3, 0x6c(r30) +/* 802C5454 002C23B4 40 81 00 0C */ ble lbl_802C5460 +/* 802C5458 002C23B8 7F C3 F3 78 */ mr r3, r30 +/* 802C545C 002C23BC 48 05 04 D5 */ bl Free__7CMemoryFPCv +lbl_802C5460: +/* 802C5460 002C23C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5464 002C23C4 7F C3 F3 78 */ mr r3, r30 +/* 802C5468 002C23C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C546C 002C23CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5470 002C23D0 7C 08 03 A6 */ mtlr r0 +/* 802C5474 002C23D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5478 002C23D8 4E 80 00 20 */ blr + +.global __ct__10CGuiObjectFv +__ct__10CGuiObjectFv: +/* 802C547C 002C23DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C5480 002C23E0 7C 08 02 A6 */ mflr r0 +/* 802C5484 002C23E4 3C 80 80 3F */ lis r4, lbl_803EC8C8@ha +/* 802C5488 002C23E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C548C 002C23EC 38 04 C8 C8 */ addi r0, r4, lbl_803EC8C8@l +/* 802C5490 002C23F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5494 002C23F4 7C 7F 1B 78 */ mr r31, r3 +/* 802C5498 002C23F8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802C549C 002C23FC 90 1F 00 00 */ stw r0, 0(r31) +/* 802C54A0 002C2400 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802C54A4 002C2404 38 7F 00 04 */ addi r3, r31, 4 +/* 802C54A8 002C2408 48 04 D6 CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C54AC 002C240C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802C54B0 002C2410 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802C54B4 002C2414 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802C54B8 002C2418 48 04 D6 BD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C54BC 002C241C 38 00 00 00 */ li r0, 0 +/* 802C54C0 002C2420 7F E3 FB 78 */ mr r3, r31 +/* 802C54C4 002C2424 90 1F 00 64 */ stw r0, 0x64(r31) +/* 802C54C8 002C2428 90 1F 00 68 */ stw r0, 0x68(r31) +/* 802C54CC 002C242C 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 802C54D0 002C2430 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C54D4 002C2434 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C54D8 002C2438 7C 08 03 A6 */ mtlr r0 +/* 802C54DC 002C243C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C54E0 002C2440 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiPane.s b/asm/GuiSys/CGuiPane.s new file mode 100644 index 00000000..3b09e301 --- /dev/null +++ b/asm/GuiSys/CGuiPane.s @@ -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 diff --git a/asm/GuiSys/CGuiSliderGroup.s b/asm/GuiSys/CGuiSliderGroup.s new file mode 100644 index 00000000..676b6bb0 --- /dev/null +++ b/asm/GuiSys/CGuiSliderGroup.s @@ -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" +"SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2": +/* 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__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 diff --git a/asm/GuiSys/CGuiSys.s b/asm/GuiSys/CGuiSys.s new file mode 100644 index 00000000..fd46e09a --- /dev/null +++ b/asm/GuiSys/CGuiSys.s @@ -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 diff --git a/asm/GuiSys/CGuiTableGroup.s b/asm/GuiSys/CGuiTableGroup.s new file mode 100644 index 00000000..217dd78d --- /dev/null +++ b/asm/GuiSys/CGuiTableGroup.s @@ -0,0 +1,1194 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AddWorkerWidget__14CGuiTableGroupFP10CGuiWidget +AddWorkerWidget__14CGuiTableGroupFP10CGuiWidget: +/* 802C65E8 002C3548 38 60 00 01 */ li r3, 1 +/* 802C65EC 002C354C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__14CGuiTableGroupCFv +GetWidgetTypeID__14CGuiTableGroupCFv: +/* 802C65F0 002C3550 3C 60 54 42 */ lis r3, 0x54424750@ha +/* 802C65F4 002C3554 38 63 47 50 */ addi r3, r3, 0x54424750@l +/* 802C65F8 002C3558 4E 80 00 20 */ blr + +.global SetColors__14CGuiTableGroupCFRC6CColorRC6CColor +SetColors__14CGuiTableGroupCFRC6CColorRC6CColor: +/* 802C65FC 002C355C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6600 002C3560 7C 08 02 A6 */ mflr r0 +/* 802C6604 002C3564 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6608 002C3568 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802C660C 002C356C 7C 7B 1B 78 */ mr r27, r3 +/* 802C6610 002C3570 7C 9C 23 78 */ mr r28, r4 +/* 802C6614 002C3574 7C BD 2B 78 */ mr r29, r5 +/* 802C6618 002C3578 3B C0 00 00 */ li r30, 0 +/* 802C661C 002C357C 83 E3 00 C4 */ lwz r31, 0xc4(r3) +lbl_802C6620: +/* 802C6620 002C3580 7F 63 DB 78 */ mr r3, r27 +/* 802C6624 002C3584 7F C4 F3 78 */ mr r4, r30 +/* 802C6628 002C3588 81 9B 00 00 */ lwz r12, 0(r27) +/* 802C662C 002C358C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C6630 002C3590 7D 89 03 A6 */ mtctr r12 +/* 802C6634 002C3594 4E 80 04 21 */ bctrl +/* 802C6638 002C3598 28 03 00 00 */ cmplwi r3, 0 +/* 802C663C 002C359C 41 82 00 24 */ beq lbl_802C6660 +/* 802C6640 002C35A0 7C 1E F8 00 */ cmpw r30, r31 +/* 802C6644 002C35A4 40 82 00 0C */ bne lbl_802C6650 +/* 802C6648 002C35A8 7F 84 E3 78 */ mr r4, r28 +/* 802C664C 002C35AC 48 00 00 08 */ b lbl_802C6654 +lbl_802C6650: +/* 802C6650 002C35B0 7F A4 EB 78 */ mr r4, r29 +lbl_802C6654: +/* 802C6654 002C35B4 48 00 42 19 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 802C6658 002C35B8 3B DE 00 01 */ addi r30, r30, 1 +/* 802C665C 002C35BC 4B FF FF C4 */ b lbl_802C6620 +lbl_802C6660: +/* 802C6660 002C35C0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802C6664 002C35C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6668 002C35C8 7C 08 03 A6 */ mtlr r0 +/* 802C666C 002C35CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6670 002C35D0 4E 80 00 20 */ blr + +.global DecrementSelectedRow__14CGuiTableGroupFv +DecrementSelectedRow__14CGuiTableGroupFv: +/* 802C6674 002C35D4 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802C6678 002C35D8 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802C667C 002C35DC 80 83 00 C4 */ lwz r4, 0xc4(r3) +/* 802C6680 002C35E0 34 04 FF FF */ addic. r0, r4, -1 +/* 802C6684 002C35E4 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C6688 002C35E8 40 80 00 40 */ bge lbl_802C66C8 +/* 802C668C 002C35EC 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6690 002C35F0 28 00 00 00 */ cmplwi r0, 0 +/* 802C6694 002C35F4 41 82 00 10 */ beq lbl_802C66A4 +/* 802C6698 002C35F8 80 83 00 C0 */ lwz r4, 0xc0(r3) +/* 802C669C 002C35FC 38 04 FF FF */ addi r0, r4, -1 +/* 802C66A0 002C3600 48 00 00 08 */ b lbl_802C66A8 +lbl_802C66A4: +/* 802C66A4 002C3604 38 00 00 00 */ li r0, 0 +lbl_802C66A8: +/* 802C66A8 002C3608 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C66AC 002C360C 38 80 00 01 */ li r4, 1 +/* 802C66B0 002C3610 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C66B4 002C3614 28 00 00 00 */ cmplwi r0, 0 +/* 802C66B8 002C3618 41 82 00 08 */ beq lbl_802C66C0 +/* 802C66BC 002C361C 38 80 00 02 */ li r4, 2 +lbl_802C66C0: +/* 802C66C0 002C3620 7C 83 23 78 */ mr r3, r4 +/* 802C66C4 002C3624 4E 80 00 20 */ blr +lbl_802C66C8: +/* 802C66C8 002C3628 38 60 00 00 */ li r3, 0 +/* 802C66CC 002C362C 4E 80 00 20 */ blr + +.global IncrementSelectedRow__14CGuiTableGroupFv +IncrementSelectedRow__14CGuiTableGroupFv: +/* 802C66D0 002C3630 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802C66D4 002C3634 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802C66D8 002C3638 80 83 00 C4 */ lwz r4, 0xc4(r3) +/* 802C66DC 002C363C 38 04 00 01 */ addi r0, r4, 1 +/* 802C66E0 002C3640 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C66E4 002C3644 80 83 00 C0 */ lwz r4, 0xc0(r3) +/* 802C66E8 002C3648 7C 00 20 00 */ cmpw r0, r4 +/* 802C66EC 002C364C 41 80 00 3C */ blt lbl_802C6728 +/* 802C66F0 002C3650 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C66F4 002C3654 28 00 00 00 */ cmplwi r0, 0 +/* 802C66F8 002C3658 41 82 00 0C */ beq lbl_802C6704 +/* 802C66FC 002C365C 38 00 00 00 */ li r0, 0 +/* 802C6700 002C3660 48 00 00 08 */ b lbl_802C6708 +lbl_802C6704: +/* 802C6704 002C3664 38 04 FF FF */ addi r0, r4, -1 +lbl_802C6708: +/* 802C6708 002C3668 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C670C 002C366C 38 80 00 01 */ li r4, 1 +/* 802C6710 002C3670 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6714 002C3674 28 00 00 00 */ cmplwi r0, 0 +/* 802C6718 002C3678 41 82 00 08 */ beq lbl_802C6720 +/* 802C671C 002C367C 38 80 00 02 */ li r4, 2 +lbl_802C6720: +/* 802C6720 002C3680 7C 83 23 78 */ mr r3, r4 +/* 802C6724 002C3684 4E 80 00 20 */ blr +lbl_802C6728: +/* 802C6728 002C3688 38 60 00 00 */ li r3, 0 +/* 802C672C 002C368C 4E 80 00 20 */ blr + +.global DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +DeactivateWorker__14CGuiTableGroupFP10CGuiWidget: +/* 802C6730 002C3690 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6734 002C3694 7C 08 02 A6 */ mflr r0 +/* 802C6738 002C3698 7C 83 23 78 */ mr r3, r4 +/* 802C673C 002C369C 38 80 00 00 */ li r4, 0 +/* 802C6740 002C36A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6744 002C36A4 48 00 3E A1 */ bl SetIsActive__10CGuiWidgetFb +/* 802C6748 002C36A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C674C 002C36AC 7C 08 03 A6 */ mtlr r0 +/* 802C6750 002C36B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6754 002C36B4 4E 80 00 20 */ blr + +.global ActivateWorker__14CGuiTableGroupFP10CGuiWidget +ActivateWorker__14CGuiTableGroupFP10CGuiWidget: +/* 802C6758 002C36B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C675C 002C36BC 7C 08 02 A6 */ mflr r0 +/* 802C6760 002C36C0 7C 83 23 78 */ mr r3, r4 +/* 802C6764 002C36C4 38 80 00 01 */ li r4, 1 +/* 802C6768 002C36C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C676C 002C36CC 48 00 3E 79 */ bl SetIsActive__10CGuiWidgetFb +/* 802C6770 002C36D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6774 002C36D4 7C 08 03 A6 */ mtlr r0 +/* 802C6778 002C36D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C677C 002C36DC 4E 80 00 20 */ blr + +.global OnActivate__14CGuiTableGroupFb +OnActivate__14CGuiTableGroupFb: +/* 802C6780 002C36E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6784 002C36E4 7C 08 02 A6 */ mflr r0 +/* 802C6788 002C36E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C678C 002C36EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6790 002C36F0 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6794 002C36F4 7C 7E 1B 78 */ mr r30, r3 +/* 802C6798 002C36F8 48 00 3E 45 */ bl OnActivate__10CGuiWidgetFv +/* 802C679C 002C36FC 7F C3 F3 78 */ mr r3, r30 +/* 802C67A0 002C3700 80 9E 00 C4 */ lwz r4, 0xc4(r30) +/* 802C67A4 002C3704 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C67A8 002C3708 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C67AC 002C370C 7D 89 03 A6 */ mtctr r12 +/* 802C67B0 002C3710 4E 80 04 21 */ bctrl +/* 802C67B4 002C3714 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C67B8 002C3718 7C 7F 1B 78 */ mr r31, r3 +/* 802C67BC 002C371C 7F C3 F3 78 */ mr r3, r30 +/* 802C67C0 002C3720 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C67C4 002C3724 7D 89 03 A6 */ mtctr r12 +/* 802C67C8 002C3728 4E 80 04 21 */ bctrl +/* 802C67CC 002C372C 7C 64 1B 78 */ mr r4, r3 +/* 802C67D0 002C3730 7F E3 FB 78 */ mr r3, r31 +/* 802C67D4 002C3734 48 00 3E 11 */ bl SetIsActive__10CGuiWidgetFb +/* 802C67D8 002C3738 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C67DC 002C373C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C67E0 002C3740 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C67E4 002C3744 7C 08 03 A6 */ mtlr r0 +/* 802C67E8 002C3748 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C67EC 002C374C 4E 80 00 20 */ blr + +.global "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +"SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3": +/* 802C67F0 002C3750 80 04 00 00 */ lwz r0, 0(r4) +/* 802C67F4 002C3754 90 03 01 04 */ stw r0, 0x104(r3) +/* 802C67F8 002C3758 80 04 00 04 */ lwz r0, 4(r4) +/* 802C67FC 002C375C 90 03 01 08 */ stw r0, 0x108(r3) +/* 802C6800 002C3760 80 A4 00 08 */ lwz r5, 8(r4) +/* 802C6804 002C3764 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C6808 002C3768 90 A3 01 0C */ stw r5, 0x10c(r3) +/* 802C680C 002C376C 90 03 01 10 */ stw r0, 0x110(r3) +/* 802C6810 002C3770 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802C6814 002C3774 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802C6818 002C3778 90 A3 01 14 */ stw r5, 0x114(r3) +/* 802C681C 002C377C 90 03 01 18 */ stw r0, 0x118(r3) +/* 802C6820 002C3780 4E 80 00 20 */ blr + +.global "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" +"SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1": +/* 802C6824 002C3784 80 04 00 00 */ lwz r0, 0(r4) +/* 802C6828 002C3788 90 03 00 EC */ stw r0, 0xec(r3) +/* 802C682C 002C378C 80 04 00 04 */ lwz r0, 4(r4) +/* 802C6830 002C3790 90 03 00 F0 */ stw r0, 0xf0(r3) +/* 802C6834 002C3794 80 A4 00 08 */ lwz r5, 8(r4) +/* 802C6838 002C3798 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C683C 002C379C 90 A3 00 F4 */ stw r5, 0xf4(r3) +/* 802C6840 002C37A0 90 03 00 F8 */ stw r0, 0xf8(r3) +/* 802C6844 002C37A4 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802C6848 002C37A8 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802C684C 002C37AC 90 A3 00 FC */ stw r5, 0xfc(r3) +/* 802C6850 002C37B0 90 03 01 00 */ stw r0, 0x100(r3) +/* 802C6854 002C37B4 4E 80 00 20 */ blr + +.global "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" +"SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1": +/* 802C6858 002C37B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802C685C 002C37BC 90 03 00 D4 */ stw r0, 0xd4(r3) +/* 802C6860 002C37C0 80 04 00 04 */ lwz r0, 4(r4) +/* 802C6864 002C37C4 90 03 00 D8 */ stw r0, 0xd8(r3) +/* 802C6868 002C37C8 80 A4 00 08 */ lwz r5, 8(r4) +/* 802C686C 002C37CC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C6870 002C37D0 90 A3 00 DC */ stw r5, 0xdc(r3) +/* 802C6874 002C37D4 90 03 00 E0 */ stw r0, 0xe0(r3) +/* 802C6878 002C37D8 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802C687C 002C37DC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802C6880 002C37E0 90 A3 00 E4 */ stw r5, 0xe4(r3) +/* 802C6884 002C37E4 90 03 00 E8 */ stw r0, 0xe8(r3) +/* 802C6888 002C37E8 4E 80 00 20 */ blr + +.global DoCancel__14CGuiTableGroupFv +DoCancel__14CGuiTableGroupFv: +/* 802C688C 002C37EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6890 002C37F0 7C 08 02 A6 */ mflr r0 +/* 802C6894 002C37F4 38 80 00 00 */ li r4, 0 +/* 802C6898 002C37F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C689C 002C37FC 38 00 00 02 */ li r0, 2 +/* 802C68A0 002C3800 7C 09 03 A6 */ mtctr r0 +lbl_802C68A4: +/* 802C68A4 002C3804 38 04 00 F4 */ addi r0, r4, 0xf4 +/* 802C68A8 002C3808 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68AC 002C380C 7C 00 07 75 */ extsb. r0, r0 +/* 802C68B0 002C3810 41 82 00 0C */ beq lbl_802C68BC +/* 802C68B4 002C3814 38 00 00 00 */ li r0, 0 +/* 802C68B8 002C3818 48 00 00 B8 */ b lbl_802C6970 +lbl_802C68BC: +/* 802C68BC 002C381C 38 04 00 F5 */ addi r0, r4, 0xf5 +/* 802C68C0 002C3820 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68C4 002C3824 7C 00 07 75 */ extsb. r0, r0 +/* 802C68C8 002C3828 41 82 00 0C */ beq lbl_802C68D4 +/* 802C68CC 002C382C 38 00 00 00 */ li r0, 0 +/* 802C68D0 002C3830 48 00 00 A0 */ b lbl_802C6970 +lbl_802C68D4: +/* 802C68D4 002C3834 38 04 00 F6 */ addi r0, r4, 0xf6 +/* 802C68D8 002C3838 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68DC 002C383C 7C 00 07 75 */ extsb. r0, r0 +/* 802C68E0 002C3840 41 82 00 0C */ beq lbl_802C68EC +/* 802C68E4 002C3844 38 00 00 00 */ li r0, 0 +/* 802C68E8 002C3848 48 00 00 88 */ b lbl_802C6970 +lbl_802C68EC: +/* 802C68EC 002C384C 38 04 00 F7 */ addi r0, r4, 0xf7 +/* 802C68F0 002C3850 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68F4 002C3854 7C 00 07 75 */ extsb. r0, r0 +/* 802C68F8 002C3858 41 82 00 0C */ beq lbl_802C6904 +/* 802C68FC 002C385C 38 00 00 00 */ li r0, 0 +/* 802C6900 002C3860 48 00 00 70 */ b lbl_802C6970 +lbl_802C6904: +/* 802C6904 002C3864 38 04 00 F8 */ addi r0, r4, 0xf8 +/* 802C6908 002C3868 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C690C 002C386C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6910 002C3870 41 82 00 0C */ beq lbl_802C691C +/* 802C6914 002C3874 38 00 00 00 */ li r0, 0 +/* 802C6918 002C3878 48 00 00 58 */ b lbl_802C6970 +lbl_802C691C: +/* 802C691C 002C387C 38 04 00 F9 */ addi r0, r4, 0xf9 +/* 802C6920 002C3880 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6924 002C3884 7C 00 07 75 */ extsb. r0, r0 +/* 802C6928 002C3888 41 82 00 0C */ beq lbl_802C6934 +/* 802C692C 002C388C 38 00 00 00 */ li r0, 0 +/* 802C6930 002C3890 48 00 00 40 */ b lbl_802C6970 +lbl_802C6934: +/* 802C6934 002C3894 38 04 00 FA */ addi r0, r4, 0xfa +/* 802C6938 002C3898 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C693C 002C389C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6940 002C38A0 41 82 00 0C */ beq lbl_802C694C +/* 802C6944 002C38A4 38 00 00 00 */ li r0, 0 +/* 802C6948 002C38A8 48 00 00 28 */ b lbl_802C6970 +lbl_802C694C: +/* 802C694C 002C38AC 38 04 00 FB */ addi r0, r4, 0xfb +/* 802C6950 002C38B0 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6954 002C38B4 7C 00 07 75 */ extsb. r0, r0 +/* 802C6958 002C38B8 41 82 00 0C */ beq lbl_802C6964 +/* 802C695C 002C38BC 38 00 00 00 */ li r0, 0 +/* 802C6960 002C38C0 48 00 00 10 */ b lbl_802C6970 +lbl_802C6964: +/* 802C6964 002C38C4 38 84 00 08 */ addi r4, r4, 8 +/* 802C6968 002C38C8 42 00 FF 3C */ bdnz lbl_802C68A4 +/* 802C696C 002C38CC 38 00 00 01 */ li r0, 1 +lbl_802C6970: +/* 802C6970 002C38D0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6974 002C38D4 40 82 00 1C */ bne lbl_802C6990 +/* 802C6978 002C38D8 81 83 00 EC */ lwz r12, 0xec(r3) +/* 802C697C 002C38DC 7C 65 1B 78 */ mr r5, r3 +/* 802C6980 002C38E0 38 83 00 F4 */ addi r4, r3, 0xf4 +/* 802C6984 002C38E4 80 63 00 F0 */ lwz r3, 0xf0(r3) +/* 802C6988 002C38E8 7D 89 03 A6 */ mtctr r12 +/* 802C698C 002C38EC 4E 80 04 21 */ bctrl +lbl_802C6990: +/* 802C6990 002C38F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6994 002C38F4 38 60 00 01 */ li r3, 1 +/* 802C6998 002C38F8 7C 08 03 A6 */ mtlr r0 +/* 802C699C 002C38FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C69A0 002C3900 4E 80 00 20 */ blr + +.global DoAdvance__14CGuiTableGroupFv +DoAdvance__14CGuiTableGroupFv: +/* 802C69A4 002C3904 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C69A8 002C3908 7C 08 02 A6 */ mflr r0 +/* 802C69AC 002C390C 38 80 00 00 */ li r4, 0 +/* 802C69B0 002C3910 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C69B4 002C3914 38 00 00 02 */ li r0, 2 +/* 802C69B8 002C3918 7C 09 03 A6 */ mtctr r0 +lbl_802C69BC: +/* 802C69BC 002C391C 38 04 00 DC */ addi r0, r4, 0xdc +/* 802C69C0 002C3920 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C69C4 002C3924 7C 00 07 75 */ extsb. r0, r0 +/* 802C69C8 002C3928 41 82 00 0C */ beq lbl_802C69D4 +/* 802C69CC 002C392C 38 00 00 00 */ li r0, 0 +/* 802C69D0 002C3930 48 00 00 B8 */ b lbl_802C6A88 +lbl_802C69D4: +/* 802C69D4 002C3934 38 04 00 DD */ addi r0, r4, 0xdd +/* 802C69D8 002C3938 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C69DC 002C393C 7C 00 07 75 */ extsb. r0, r0 +/* 802C69E0 002C3940 41 82 00 0C */ beq lbl_802C69EC +/* 802C69E4 002C3944 38 00 00 00 */ li r0, 0 +/* 802C69E8 002C3948 48 00 00 A0 */ b lbl_802C6A88 +lbl_802C69EC: +/* 802C69EC 002C394C 38 04 00 DE */ addi r0, r4, 0xde +/* 802C69F0 002C3950 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C69F4 002C3954 7C 00 07 75 */ extsb. r0, r0 +/* 802C69F8 002C3958 41 82 00 0C */ beq lbl_802C6A04 +/* 802C69FC 002C395C 38 00 00 00 */ li r0, 0 +/* 802C6A00 002C3960 48 00 00 88 */ b lbl_802C6A88 +lbl_802C6A04: +/* 802C6A04 002C3964 38 04 00 DF */ addi r0, r4, 0xdf +/* 802C6A08 002C3968 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A0C 002C396C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A10 002C3970 41 82 00 0C */ beq lbl_802C6A1C +/* 802C6A14 002C3974 38 00 00 00 */ li r0, 0 +/* 802C6A18 002C3978 48 00 00 70 */ b lbl_802C6A88 +lbl_802C6A1C: +/* 802C6A1C 002C397C 38 04 00 E0 */ addi r0, r4, 0xe0 +/* 802C6A20 002C3980 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A24 002C3984 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A28 002C3988 41 82 00 0C */ beq lbl_802C6A34 +/* 802C6A2C 002C398C 38 00 00 00 */ li r0, 0 +/* 802C6A30 002C3990 48 00 00 58 */ b lbl_802C6A88 +lbl_802C6A34: +/* 802C6A34 002C3994 38 04 00 E1 */ addi r0, r4, 0xe1 +/* 802C6A38 002C3998 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A3C 002C399C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A40 002C39A0 41 82 00 0C */ beq lbl_802C6A4C +/* 802C6A44 002C39A4 38 00 00 00 */ li r0, 0 +/* 802C6A48 002C39A8 48 00 00 40 */ b lbl_802C6A88 +lbl_802C6A4C: +/* 802C6A4C 002C39AC 38 04 00 E2 */ addi r0, r4, 0xe2 +/* 802C6A50 002C39B0 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A54 002C39B4 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A58 002C39B8 41 82 00 0C */ beq lbl_802C6A64 +/* 802C6A5C 002C39BC 38 00 00 00 */ li r0, 0 +/* 802C6A60 002C39C0 48 00 00 28 */ b lbl_802C6A88 +lbl_802C6A64: +/* 802C6A64 002C39C4 38 04 00 E3 */ addi r0, r4, 0xe3 +/* 802C6A68 002C39C8 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A6C 002C39CC 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A70 002C39D0 41 82 00 0C */ beq lbl_802C6A7C +/* 802C6A74 002C39D4 38 00 00 00 */ li r0, 0 +/* 802C6A78 002C39D8 48 00 00 10 */ b lbl_802C6A88 +lbl_802C6A7C: +/* 802C6A7C 002C39DC 38 84 00 08 */ addi r4, r4, 8 +/* 802C6A80 002C39E0 42 00 FF 3C */ bdnz lbl_802C69BC +/* 802C6A84 002C39E4 38 00 00 01 */ li r0, 1 +lbl_802C6A88: +/* 802C6A88 002C39E8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6A8C 002C39EC 40 82 00 1C */ bne lbl_802C6AA8 +/* 802C6A90 002C39F0 81 83 00 D4 */ lwz r12, 0xd4(r3) +/* 802C6A94 002C39F4 7C 65 1B 78 */ mr r5, r3 +/* 802C6A98 002C39F8 38 83 00 DC */ addi r4, r3, 0xdc +/* 802C6A9C 002C39FC 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 802C6AA0 002C3A00 7D 89 03 A6 */ mtctr r12 +/* 802C6AA4 002C3A04 4E 80 04 21 */ bctrl +lbl_802C6AA8: +/* 802C6AA8 002C3A08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6AAC 002C3A0C 38 60 00 01 */ li r3, 1 +/* 802C6AB0 002C3A10 7C 08 03 A6 */ mtlr r0 +/* 802C6AB4 002C3A14 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6AB8 002C3A18 4E 80 00 20 */ blr + +.global SelectWorker__14CGuiTableGroupFi +SelectWorker__14CGuiTableGroupFi: +/* 802C6ABC 002C3A1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6AC0 002C3A20 7C 08 02 A6 */ mflr r0 +/* 802C6AC4 002C3A24 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6AC8 002C3A28 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C6ACC 002C3A2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C6AD0 002C3A30 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C6AD4 002C3A34 7C 7E 1B 78 */ mr r30, r3 +/* 802C6AD8 002C3A38 80 C3 00 C0 */ lwz r6, 0xc0(r3) +/* 802C6ADC 002C3A3C 38 6D 9B 04 */ addi r3, r13, lbl_805A86C4@sda21 +/* 802C6AE0 002C3A40 90 81 00 08 */ stw r4, 8(r1) +/* 802C6AE4 002C3A44 38 81 00 08 */ addi r4, r1, 8 +/* 802C6AE8 002C3A48 38 06 FF FF */ addi r0, r6, -1 +/* 802C6AEC 002C3A4C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C6AF0 002C3A50 4B D9 35 75 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 802C6AF4 002C3A54 83 E3 00 00 */ lwz r31, 0(r3) +/* 802C6AF8 002C3A58 80 1E 00 C4 */ lwz r0, 0xc4(r30) +/* 802C6AFC 002C3A5C 7C 1F 00 00 */ cmpw r31, r0 +/* 802C6B00 002C3A60 40 80 00 2C */ bge lbl_802C6B2C +/* 802C6B04 002C3A64 48 00 00 0C */ b lbl_802C6B10 +lbl_802C6B08: +/* 802C6B08 002C3A68 7F C3 F3 78 */ mr r3, r30 +/* 802C6B0C 002C3A6C 48 00 05 31 */ bl DoSelectPrevRow__14CGuiTableGroupFv +lbl_802C6B10: +/* 802C6B10 002C3A70 80 1E 00 C4 */ lwz r0, 0xc4(r30) +/* 802C6B14 002C3A74 7C 1F 00 00 */ cmpw r31, r0 +/* 802C6B18 002C3A78 40 82 FF F0 */ bne lbl_802C6B08 +/* 802C6B1C 002C3A7C 48 00 00 1C */ b lbl_802C6B38 +/* 802C6B20 002C3A80 48 00 00 0C */ b lbl_802C6B2C +lbl_802C6B24: +/* 802C6B24 002C3A84 7F C3 F3 78 */ mr r3, r30 +/* 802C6B28 002C3A88 48 00 05 89 */ bl DoSelectNextRow__14CGuiTableGroupFv +lbl_802C6B2C: +/* 802C6B2C 002C3A8C 80 1E 00 C4 */ lwz r0, 0xc4(r30) +/* 802C6B30 002C3A90 7C 1F 00 00 */ cmpw r31, r0 +/* 802C6B34 002C3A94 40 82 FF F0 */ bne lbl_802C6B24 +lbl_802C6B38: +/* 802C6B38 002C3A98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6B3C 002C3A9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C6B40 002C3AA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C6B44 002C3AA4 7C 08 03 A6 */ mtlr r0 +/* 802C6B48 002C3AA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6B4C 002C3AAC 4E 80 00 20 */ blr + +.global PreDecrement__14CGuiTableGroupFv +PreDecrement__14CGuiTableGroupFv: +/* 802C6B50 002C3AB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6B54 002C3AB4 7C 08 02 A6 */ mflr r0 +/* 802C6B58 002C3AB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6B5C 002C3ABC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C6B60 002C3AC0 7C 7F 1B 78 */ mr r31, r3 +/* 802C6B64 002C3AC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C6B68 002C3AC8 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6B6C 002C3ACC 28 00 00 00 */ cmplwi r0, 0 +/* 802C6B70 002C3AD0 41 82 00 74 */ beq lbl_802C6BE4 +/* 802C6B74 002C3AD4 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 802C6B78 002C3AD8 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 802C6B7C 002C3ADC 38 04 FF FF */ addi r0, r4, -1 +/* 802C6B80 002C3AE0 7C 63 02 14 */ add r3, r3, r0 +/* 802C6B84 002C3AE4 7C 03 23 D6 */ divw r0, r3, r4 +/* 802C6B88 002C3AE8 7C 00 21 D6 */ mullw r0, r0, r4 +/* 802C6B8C 002C3AEC 7F C0 18 50 */ subf r30, r0, r3 +/* 802C6B90 002C3AF0 48 00 00 44 */ b lbl_802C6BD4 +lbl_802C6B94: +/* 802C6B94 002C3AF4 7F E3 FB 78 */ mr r3, r31 +/* 802C6B98 002C3AF8 7F C4 F3 78 */ mr r4, r30 +/* 802C6B9C 002C3AFC 48 00 03 15 */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6BA0 002C3B00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6BA4 002C3B04 41 82 00 18 */ beq lbl_802C6BBC +/* 802C6BA8 002C3B08 7F E3 FB 78 */ mr r3, r31 +/* 802C6BAC 002C3B0C 7F C4 F3 78 */ mr r4, r30 +/* 802C6BB0 002C3B10 4B FF FF 0D */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6BB4 002C3B14 38 60 00 01 */ li r3, 1 +/* 802C6BB8 002C3B18 48 00 00 8C */ b lbl_802C6C44 +lbl_802C6BBC: +/* 802C6BBC 002C3B1C 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 802C6BC0 002C3B20 38 04 FF FF */ addi r0, r4, -1 +/* 802C6BC4 002C3B24 7C 7E 02 14 */ add r3, r30, r0 +/* 802C6BC8 002C3B28 7C 03 23 D6 */ divw r0, r3, r4 +/* 802C6BCC 002C3B2C 7C 00 21 D6 */ mullw r0, r0, r4 +/* 802C6BD0 002C3B30 7F C0 18 50 */ subf r30, r0, r3 +lbl_802C6BD4: +/* 802C6BD4 002C3B34 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 802C6BD8 002C3B38 7C 1E 00 00 */ cmpw r30, r0 +/* 802C6BDC 002C3B3C 40 82 FF B8 */ bne lbl_802C6B94 +/* 802C6BE0 002C3B40 48 00 00 60 */ b lbl_802C6C40 +lbl_802C6BE4: +/* 802C6BE4 002C3B44 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C6BE8 002C3B48 38 6D 9B 00 */ addi r3, r13, lbl_805A86C0@sda21 +/* 802C6BEC 002C3B4C 80 0D 9B 00 */ lwz r0, lbl_805A86C0@sda21(r13) +/* 802C6BF0 002C3B50 38 84 FF FF */ addi r4, r4, -1 +/* 802C6BF4 002C3B54 7C 00 20 00 */ cmpw r0, r4 +/* 802C6BF8 002C3B58 90 81 00 08 */ stw r4, 8(r1) +/* 802C6BFC 002C3B5C 40 80 00 08 */ bge lbl_802C6C04 +/* 802C6C00 002C3B60 38 61 00 08 */ addi r3, r1, 8 +lbl_802C6C04: +/* 802C6C04 002C3B64 83 C3 00 00 */ lwz r30, 0(r3) +/* 802C6C08 002C3B68 48 00 00 30 */ b lbl_802C6C38 +lbl_802C6C0C: +/* 802C6C0C 002C3B6C 7F E3 FB 78 */ mr r3, r31 +/* 802C6C10 002C3B70 7F C4 F3 78 */ mr r4, r30 +/* 802C6C14 002C3B74 48 00 02 9D */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6C18 002C3B78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6C1C 002C3B7C 41 82 00 18 */ beq lbl_802C6C34 +/* 802C6C20 002C3B80 7F E3 FB 78 */ mr r3, r31 +/* 802C6C24 002C3B84 7F C4 F3 78 */ mr r4, r30 +/* 802C6C28 002C3B88 4B FF FE 95 */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6C2C 002C3B8C 38 60 00 01 */ li r3, 1 +/* 802C6C30 002C3B90 48 00 00 14 */ b lbl_802C6C44 +lbl_802C6C34: +/* 802C6C34 002C3B94 3B DE FF FF */ addi r30, r30, -1 +lbl_802C6C38: +/* 802C6C38 002C3B98 2C 1E 00 00 */ cmpwi r30, 0 +/* 802C6C3C 002C3B9C 40 80 FF D0 */ bge lbl_802C6C0C +lbl_802C6C40: +/* 802C6C40 002C3BA0 38 60 00 00 */ li r3, 0 +lbl_802C6C44: +/* 802C6C44 002C3BA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6C48 002C3BA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C6C4C 002C3BAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C6C50 002C3BB0 7C 08 03 A6 */ mtlr r0 +/* 802C6C54 002C3BB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6C58 002C3BB8 4E 80 00 20 */ blr + +.global DoDecrement__14CGuiTableGroupFv +DoDecrement__14CGuiTableGroupFv: +/* 802C6C5C 002C3BBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6C60 002C3BC0 7C 08 02 A6 */ mflr r0 +/* 802C6C64 002C3BC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6C68 002C3BC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6C6C 002C3BCC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6C70 002C3BD0 7C 7E 1B 78 */ mr r30, r3 +/* 802C6C74 002C3BD4 83 E3 00 C4 */ lwz r31, 0xc4(r3) +/* 802C6C78 002C3BD8 4B FF FE D9 */ bl PreDecrement__14CGuiTableGroupFv +/* 802C6C7C 002C3BDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6C80 002C3BE0 41 82 01 08 */ beq lbl_802C6D88 +/* 802C6C84 002C3BE4 38 00 00 02 */ li r0, 2 +/* 802C6C88 002C3BE8 38 60 00 00 */ li r3, 0 +/* 802C6C8C 002C3BEC 7C 09 03 A6 */ mtctr r0 +lbl_802C6C90: +/* 802C6C90 002C3BF0 38 03 01 0C */ addi r0, r3, 0x10c +/* 802C6C94 002C3BF4 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6C98 002C3BF8 7C 00 07 75 */ extsb. r0, r0 +/* 802C6C9C 002C3BFC 41 82 00 0C */ beq lbl_802C6CA8 +/* 802C6CA0 002C3C00 38 00 00 00 */ li r0, 0 +/* 802C6CA4 002C3C04 48 00 00 B8 */ b lbl_802C6D5C +lbl_802C6CA8: +/* 802C6CA8 002C3C08 38 03 01 0D */ addi r0, r3, 0x10d +/* 802C6CAC 002C3C0C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CB0 002C3C10 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CB4 002C3C14 41 82 00 0C */ beq lbl_802C6CC0 +/* 802C6CB8 002C3C18 38 00 00 00 */ li r0, 0 +/* 802C6CBC 002C3C1C 48 00 00 A0 */ b lbl_802C6D5C +lbl_802C6CC0: +/* 802C6CC0 002C3C20 38 03 01 0E */ addi r0, r3, 0x10e +/* 802C6CC4 002C3C24 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CC8 002C3C28 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CCC 002C3C2C 41 82 00 0C */ beq lbl_802C6CD8 +/* 802C6CD0 002C3C30 38 00 00 00 */ li r0, 0 +/* 802C6CD4 002C3C34 48 00 00 88 */ b lbl_802C6D5C +lbl_802C6CD8: +/* 802C6CD8 002C3C38 38 03 01 0F */ addi r0, r3, 0x10f +/* 802C6CDC 002C3C3C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CE0 002C3C40 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CE4 002C3C44 41 82 00 0C */ beq lbl_802C6CF0 +/* 802C6CE8 002C3C48 38 00 00 00 */ li r0, 0 +/* 802C6CEC 002C3C4C 48 00 00 70 */ b lbl_802C6D5C +lbl_802C6CF0: +/* 802C6CF0 002C3C50 38 03 01 10 */ addi r0, r3, 0x110 +/* 802C6CF4 002C3C54 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CF8 002C3C58 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CFC 002C3C5C 41 82 00 0C */ beq lbl_802C6D08 +/* 802C6D00 002C3C60 38 00 00 00 */ li r0, 0 +/* 802C6D04 002C3C64 48 00 00 58 */ b lbl_802C6D5C +lbl_802C6D08: +/* 802C6D08 002C3C68 38 03 01 11 */ addi r0, r3, 0x111 +/* 802C6D0C 002C3C6C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6D10 002C3C70 7C 00 07 75 */ extsb. r0, r0 +/* 802C6D14 002C3C74 41 82 00 0C */ beq lbl_802C6D20 +/* 802C6D18 002C3C78 38 00 00 00 */ li r0, 0 +/* 802C6D1C 002C3C7C 48 00 00 40 */ b lbl_802C6D5C +lbl_802C6D20: +/* 802C6D20 002C3C80 38 03 01 12 */ addi r0, r3, 0x112 +/* 802C6D24 002C3C84 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6D28 002C3C88 7C 00 07 75 */ extsb. r0, r0 +/* 802C6D2C 002C3C8C 41 82 00 0C */ beq lbl_802C6D38 +/* 802C6D30 002C3C90 38 00 00 00 */ li r0, 0 +/* 802C6D34 002C3C94 48 00 00 28 */ b lbl_802C6D5C +lbl_802C6D38: +/* 802C6D38 002C3C98 38 03 01 13 */ addi r0, r3, 0x113 +/* 802C6D3C 002C3C9C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6D40 002C3CA0 7C 00 07 75 */ extsb. r0, r0 +/* 802C6D44 002C3CA4 41 82 00 0C */ beq lbl_802C6D50 +/* 802C6D48 002C3CA8 38 00 00 00 */ li r0, 0 +/* 802C6D4C 002C3CAC 48 00 00 10 */ b lbl_802C6D5C +lbl_802C6D50: +/* 802C6D50 002C3CB0 38 63 00 08 */ addi r3, r3, 8 +/* 802C6D54 002C3CB4 42 00 FF 3C */ bdnz lbl_802C6C90 +/* 802C6D58 002C3CB8 38 00 00 01 */ li r0, 1 +lbl_802C6D5C: +/* 802C6D5C 002C3CBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6D60 002C3CC0 40 82 00 20 */ bne lbl_802C6D80 +/* 802C6D64 002C3CC4 81 9E 01 04 */ lwz r12, 0x104(r30) +/* 802C6D68 002C3CC8 7F C5 F3 78 */ mr r5, r30 +/* 802C6D6C 002C3CCC 7F E6 FB 78 */ mr r6, r31 +/* 802C6D70 002C3CD0 38 9E 01 0C */ addi r4, r30, 0x10c +/* 802C6D74 002C3CD4 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 802C6D78 002C3CD8 7D 89 03 A6 */ mtctr r12 +/* 802C6D7C 002C3CDC 4E 80 04 21 */ bctrl +lbl_802C6D80: +/* 802C6D80 002C3CE0 38 60 00 01 */ li r3, 1 +/* 802C6D84 002C3CE4 48 00 00 08 */ b lbl_802C6D8C +lbl_802C6D88: +/* 802C6D88 002C3CE8 38 60 00 00 */ li r3, 0 +lbl_802C6D8C: +/* 802C6D8C 002C3CEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6D90 002C3CF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C6D94 002C3CF4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C6D98 002C3CF8 7C 08 03 A6 */ mtlr r0 +/* 802C6D9C 002C3CFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6DA0 002C3D00 4E 80 00 20 */ blr + +.global PreIncrement__14CGuiTableGroupFv +PreIncrement__14CGuiTableGroupFv: +/* 802C6DA4 002C3D04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6DA8 002C3D08 7C 08 02 A6 */ mflr r0 +/* 802C6DAC 002C3D0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6DB0 002C3D10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C6DB4 002C3D14 7C 7F 1B 78 */ mr r31, r3 +/* 802C6DB8 002C3D18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C6DBC 002C3D1C 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6DC0 002C3D20 28 00 00 00 */ cmplwi r0, 0 +/* 802C6DC4 002C3D24 41 82 00 6C */ beq lbl_802C6E30 +/* 802C6DC8 002C3D28 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C6DCC 002C3D2C 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C6DD0 002C3D30 38 84 00 01 */ addi r4, r4, 1 +/* 802C6DD4 002C3D34 7C 04 1B D6 */ divw r0, r4, r3 +/* 802C6DD8 002C3D38 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802C6DDC 002C3D3C 7F C0 20 50 */ subf r30, r0, r4 +/* 802C6DE0 002C3D40 48 00 00 40 */ b lbl_802C6E20 +lbl_802C6DE4: +/* 802C6DE4 002C3D44 7F E3 FB 78 */ mr r3, r31 +/* 802C6DE8 002C3D48 7F C4 F3 78 */ mr r4, r30 +/* 802C6DEC 002C3D4C 48 00 00 C5 */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6DF0 002C3D50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6DF4 002C3D54 41 82 00 18 */ beq lbl_802C6E0C +/* 802C6DF8 002C3D58 7F E3 FB 78 */ mr r3, r31 +/* 802C6DFC 002C3D5C 7F C4 F3 78 */ mr r4, r30 +/* 802C6E00 002C3D60 4B FF FC BD */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6E04 002C3D64 38 60 00 01 */ li r3, 1 +/* 802C6E08 002C3D68 48 00 00 90 */ b lbl_802C6E98 +lbl_802C6E0C: +/* 802C6E0C 002C3D6C 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C6E10 002C3D70 38 9E 00 01 */ addi r4, r30, 1 +/* 802C6E14 002C3D74 7C 04 1B D6 */ divw r0, r4, r3 +/* 802C6E18 002C3D78 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802C6E1C 002C3D7C 7F C0 20 50 */ subf r30, r0, r4 +lbl_802C6E20: +/* 802C6E20 002C3D80 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 802C6E24 002C3D84 7C 1E 00 00 */ cmpw r30, r0 +/* 802C6E28 002C3D88 40 82 FF BC */ bne lbl_802C6DE4 +/* 802C6E2C 002C3D8C 48 00 00 68 */ b lbl_802C6E94 +lbl_802C6E30: +/* 802C6E30 002C3D90 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 802C6E34 002C3D94 38 63 00 01 */ addi r3, r3, 1 +/* 802C6E38 002C3D98 90 61 00 08 */ stw r3, 8(r1) +/* 802C6E3C 002C3D9C 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 802C6E40 002C3DA0 7C 00 18 00 */ cmpw r0, r3 +/* 802C6E44 002C3DA4 40 80 00 0C */ bge lbl_802C6E50 +/* 802C6E48 002C3DA8 38 7F 00 C0 */ addi r3, r31, 0xc0 +/* 802C6E4C 002C3DAC 48 00 00 08 */ b lbl_802C6E54 +lbl_802C6E50: +/* 802C6E50 002C3DB0 38 61 00 08 */ addi r3, r1, 8 +lbl_802C6E54: +/* 802C6E54 002C3DB4 83 C3 00 00 */ lwz r30, 0(r3) +/* 802C6E58 002C3DB8 48 00 00 30 */ b lbl_802C6E88 +lbl_802C6E5C: +/* 802C6E5C 002C3DBC 7F E3 FB 78 */ mr r3, r31 +/* 802C6E60 002C3DC0 7F C4 F3 78 */ mr r4, r30 +/* 802C6E64 002C3DC4 48 00 00 4D */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6E68 002C3DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6E6C 002C3DCC 41 82 00 18 */ beq lbl_802C6E84 +/* 802C6E70 002C3DD0 7F E3 FB 78 */ mr r3, r31 +/* 802C6E74 002C3DD4 7F C4 F3 78 */ mr r4, r30 +/* 802C6E78 002C3DD8 4B FF FC 45 */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6E7C 002C3DDC 38 60 00 01 */ li r3, 1 +/* 802C6E80 002C3DE0 48 00 00 18 */ b lbl_802C6E98 +lbl_802C6E84: +/* 802C6E84 002C3DE4 3B DE 00 01 */ addi r30, r30, 1 +lbl_802C6E88: +/* 802C6E88 002C3DE8 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 802C6E8C 002C3DEC 7C 1E 00 00 */ cmpw r30, r0 +/* 802C6E90 002C3DF0 41 80 FF CC */ blt lbl_802C6E5C +lbl_802C6E94: +/* 802C6E94 002C3DF4 38 60 00 00 */ li r3, 0 +lbl_802C6E98: +/* 802C6E98 002C3DF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6E9C 002C3DFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C6EA0 002C3E00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C6EA4 002C3E04 7C 08 03 A6 */ mtlr r0 +/* 802C6EA8 002C3E08 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6EAC 002C3E0C 4E 80 00 20 */ blr + +.global IsWorkerSelectable__14CGuiTableGroupFi +IsWorkerSelectable__14CGuiTableGroupFi: +/* 802C6EB0 002C3E10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6EB4 002C3E14 7C 08 02 A6 */ mflr r0 +/* 802C6EB8 002C3E18 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6EBC 002C3E1C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C6EC0 002C3E20 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C6EC4 002C3E24 7D 89 03 A6 */ mtctr r12 +/* 802C6EC8 002C3E28 4E 80 04 21 */ bctrl +/* 802C6ECC 002C3E2C 28 03 00 00 */ cmplwi r3, 0 +/* 802C6ED0 002C3E30 41 82 00 10 */ beq lbl_802C6EE0 +/* 802C6ED4 002C3E34 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 802C6ED8 002C3E38 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 802C6EDC 002C3E3C 48 00 00 08 */ b lbl_802C6EE4 +lbl_802C6EE0: +/* 802C6EE0 002C3E40 38 60 00 00 */ li r3, 0 +lbl_802C6EE4: +/* 802C6EE4 002C3E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6EE8 002C3E48 7C 08 03 A6 */ mtlr r0 +/* 802C6EEC 002C3E4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6EF0 002C3E50 4E 80 00 20 */ blr + +.global DoIncrement__14CGuiTableGroupFv +DoIncrement__14CGuiTableGroupFv: +/* 802C6EF4 002C3E54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6EF8 002C3E58 7C 08 02 A6 */ mflr r0 +/* 802C6EFC 002C3E5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6F00 002C3E60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6F04 002C3E64 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6F08 002C3E68 7C 7E 1B 78 */ mr r30, r3 +/* 802C6F0C 002C3E6C 83 E3 00 C4 */ lwz r31, 0xc4(r3) +/* 802C6F10 002C3E70 4B FF FE 95 */ bl PreIncrement__14CGuiTableGroupFv +/* 802C6F14 002C3E74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6F18 002C3E78 41 82 01 08 */ beq lbl_802C7020 +/* 802C6F1C 002C3E7C 38 00 00 02 */ li r0, 2 +/* 802C6F20 002C3E80 38 60 00 00 */ li r3, 0 +/* 802C6F24 002C3E84 7C 09 03 A6 */ mtctr r0 +lbl_802C6F28: +/* 802C6F28 002C3E88 38 03 01 0C */ addi r0, r3, 0x10c +/* 802C6F2C 002C3E8C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F30 002C3E90 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F34 002C3E94 41 82 00 0C */ beq lbl_802C6F40 +/* 802C6F38 002C3E98 38 00 00 00 */ li r0, 0 +/* 802C6F3C 002C3E9C 48 00 00 B8 */ b lbl_802C6FF4 +lbl_802C6F40: +/* 802C6F40 002C3EA0 38 03 01 0D */ addi r0, r3, 0x10d +/* 802C6F44 002C3EA4 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F48 002C3EA8 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F4C 002C3EAC 41 82 00 0C */ beq lbl_802C6F58 +/* 802C6F50 002C3EB0 38 00 00 00 */ li r0, 0 +/* 802C6F54 002C3EB4 48 00 00 A0 */ b lbl_802C6FF4 +lbl_802C6F58: +/* 802C6F58 002C3EB8 38 03 01 0E */ addi r0, r3, 0x10e +/* 802C6F5C 002C3EBC 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F60 002C3EC0 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F64 002C3EC4 41 82 00 0C */ beq lbl_802C6F70 +/* 802C6F68 002C3EC8 38 00 00 00 */ li r0, 0 +/* 802C6F6C 002C3ECC 48 00 00 88 */ b lbl_802C6FF4 +lbl_802C6F70: +/* 802C6F70 002C3ED0 38 03 01 0F */ addi r0, r3, 0x10f +/* 802C6F74 002C3ED4 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F78 002C3ED8 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F7C 002C3EDC 41 82 00 0C */ beq lbl_802C6F88 +/* 802C6F80 002C3EE0 38 00 00 00 */ li r0, 0 +/* 802C6F84 002C3EE4 48 00 00 70 */ b lbl_802C6FF4 +lbl_802C6F88: +/* 802C6F88 002C3EE8 38 03 01 10 */ addi r0, r3, 0x110 +/* 802C6F8C 002C3EEC 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F90 002C3EF0 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F94 002C3EF4 41 82 00 0C */ beq lbl_802C6FA0 +/* 802C6F98 002C3EF8 38 00 00 00 */ li r0, 0 +/* 802C6F9C 002C3EFC 48 00 00 58 */ b lbl_802C6FF4 +lbl_802C6FA0: +/* 802C6FA0 002C3F00 38 03 01 11 */ addi r0, r3, 0x111 +/* 802C6FA4 002C3F04 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6FA8 002C3F08 7C 00 07 75 */ extsb. r0, r0 +/* 802C6FAC 002C3F0C 41 82 00 0C */ beq lbl_802C6FB8 +/* 802C6FB0 002C3F10 38 00 00 00 */ li r0, 0 +/* 802C6FB4 002C3F14 48 00 00 40 */ b lbl_802C6FF4 +lbl_802C6FB8: +/* 802C6FB8 002C3F18 38 03 01 12 */ addi r0, r3, 0x112 +/* 802C6FBC 002C3F1C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6FC0 002C3F20 7C 00 07 75 */ extsb. r0, r0 +/* 802C6FC4 002C3F24 41 82 00 0C */ beq lbl_802C6FD0 +/* 802C6FC8 002C3F28 38 00 00 00 */ li r0, 0 +/* 802C6FCC 002C3F2C 48 00 00 28 */ b lbl_802C6FF4 +lbl_802C6FD0: +/* 802C6FD0 002C3F30 38 03 01 13 */ addi r0, r3, 0x113 +/* 802C6FD4 002C3F34 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6FD8 002C3F38 7C 00 07 75 */ extsb. r0, r0 +/* 802C6FDC 002C3F3C 41 82 00 0C */ beq lbl_802C6FE8 +/* 802C6FE0 002C3F40 38 00 00 00 */ li r0, 0 +/* 802C6FE4 002C3F44 48 00 00 10 */ b lbl_802C6FF4 +lbl_802C6FE8: +/* 802C6FE8 002C3F48 38 63 00 08 */ addi r3, r3, 8 +/* 802C6FEC 002C3F4C 42 00 FF 3C */ bdnz lbl_802C6F28 +/* 802C6FF0 002C3F50 38 00 00 01 */ li r0, 1 +lbl_802C6FF4: +/* 802C6FF4 002C3F54 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6FF8 002C3F58 40 82 00 20 */ bne lbl_802C7018 +/* 802C6FFC 002C3F5C 81 9E 01 04 */ lwz r12, 0x104(r30) +/* 802C7000 002C3F60 7F C5 F3 78 */ mr r5, r30 +/* 802C7004 002C3F64 7F E6 FB 78 */ mr r6, r31 +/* 802C7008 002C3F68 38 9E 01 0C */ addi r4, r30, 0x10c +/* 802C700C 002C3F6C 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 802C7010 002C3F70 7D 89 03 A6 */ mtctr r12 +/* 802C7014 002C3F74 4E 80 04 21 */ bctrl +lbl_802C7018: +/* 802C7018 002C3F78 38 60 00 01 */ li r3, 1 +/* 802C701C 002C3F7C 48 00 00 08 */ b lbl_802C7024 +lbl_802C7020: +/* 802C7020 002C3F80 38 60 00 00 */ li r3, 0 +lbl_802C7024: +/* 802C7024 002C3F84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7028 002C3F88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C702C 002C3F8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C7030 002C3F90 7C 08 03 A6 */ mtlr r0 +/* 802C7034 002C3F94 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7038 002C3F98 4E 80 00 20 */ blr + +.global DoSelectPrevRow__14CGuiTableGroupFv +DoSelectPrevRow__14CGuiTableGroupFv: +/* 802C703C 002C3F9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7040 002C3FA0 7C 08 02 A6 */ mflr r0 +/* 802C7044 002C3FA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7048 002C3FA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C704C 002C3FAC 7C 7F 1B 78 */ mr r31, r3 +/* 802C7050 002C3FB0 4B FF F6 25 */ bl DecrementSelectedRow__14CGuiTableGroupFv +/* 802C7054 002C3FB4 7F E3 FB 78 */ mr r3, r31 +/* 802C7058 002C3FB8 80 9F 00 C8 */ lwz r4, 0xc8(r31) +/* 802C705C 002C3FBC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C7060 002C3FC0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7064 002C3FC4 7D 89 03 A6 */ mtctr r12 +/* 802C7068 002C3FC8 4E 80 04 21 */ bctrl +/* 802C706C 002C3FCC 7C 64 1B 78 */ mr r4, r3 +/* 802C7070 002C3FD0 7F E3 FB 78 */ mr r3, r31 +/* 802C7074 002C3FD4 4B FF F6 BD */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C7078 002C3FD8 7F E3 FB 78 */ mr r3, r31 +/* 802C707C 002C3FDC 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C7080 002C3FE0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C7084 002C3FE4 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7088 002C3FE8 7D 89 03 A6 */ mtctr r12 +/* 802C708C 002C3FEC 4E 80 04 21 */ bctrl +/* 802C7090 002C3FF0 7C 64 1B 78 */ mr r4, r3 +/* 802C7094 002C3FF4 7F E3 FB 78 */ mr r3, r31 +/* 802C7098 002C3FF8 4B FF F6 C1 */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C709C 002C3FFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C70A0 002C4000 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C70A4 002C4004 7C 08 03 A6 */ mtlr r0 +/* 802C70A8 002C4008 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C70AC 002C400C 4E 80 00 20 */ blr + +.global DoSelectNextRow__14CGuiTableGroupFv +DoSelectNextRow__14CGuiTableGroupFv: +/* 802C70B0 002C4010 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C70B4 002C4014 7C 08 02 A6 */ mflr r0 +/* 802C70B8 002C4018 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C70BC 002C401C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C70C0 002C4020 7C 7F 1B 78 */ mr r31, r3 +/* 802C70C4 002C4024 4B FF F6 0D */ bl IncrementSelectedRow__14CGuiTableGroupFv +/* 802C70C8 002C4028 7F E3 FB 78 */ mr r3, r31 +/* 802C70CC 002C402C 80 9F 00 C8 */ lwz r4, 0xc8(r31) +/* 802C70D0 002C4030 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C70D4 002C4034 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C70D8 002C4038 7D 89 03 A6 */ mtctr r12 +/* 802C70DC 002C403C 4E 80 04 21 */ bctrl +/* 802C70E0 002C4040 7C 64 1B 78 */ mr r4, r3 +/* 802C70E4 002C4044 7F E3 FB 78 */ mr r3, r31 +/* 802C70E8 002C4048 4B FF F6 49 */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C70EC 002C404C 7F E3 FB 78 */ mr r3, r31 +/* 802C70F0 002C4050 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C70F4 002C4054 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C70F8 002C4058 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C70FC 002C405C 7D 89 03 A6 */ mtctr r12 +/* 802C7100 002C4060 4E 80 04 21 */ bctrl +/* 802C7104 002C4064 7C 64 1B 78 */ mr r4, r3 +/* 802C7108 002C4068 7F E3 FB 78 */ mr r3, r31 +/* 802C710C 002C406C 4B FF F6 4D */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C7110 002C4070 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7114 002C4074 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7118 002C4078 7C 08 03 A6 */ mtlr r0 +/* 802C711C 002C407C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7120 002C4080 4E 80 00 20 */ blr + +.global sub_802c7124 +sub_802c7124: +/* 802C7124 002C4084 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7128 002C4088 7C 08 02 A6 */ mflr r0 +/* 802C712C 002C408C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7130 002C4090 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7134 002C4094 7C 7F 1B 78 */ mr r31, r3 +/* 802C7138 002C4098 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802C713C 002C409C 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802C7140 002C40A0 80 03 00 CC */ lwz r0, 0xcc(r3) +/* 802C7144 002C40A4 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C7148 002C40A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802C714C 002C40AC 80 83 00 C8 */ lwz r4, 0xc8(r3) +/* 802C7150 002C40B0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7154 002C40B4 7D 89 03 A6 */ mtctr r12 +/* 802C7158 002C40B8 4E 80 04 21 */ bctrl +/* 802C715C 002C40BC 7C 64 1B 78 */ mr r4, r3 +/* 802C7160 002C40C0 7F E3 FB 78 */ mr r3, r31 +/* 802C7164 002C40C4 4B FF F5 CD */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C7168 002C40C8 7F E3 FB 78 */ mr r3, r31 +/* 802C716C 002C40CC 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C7170 002C40D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C7174 002C40D4 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7178 002C40D8 7D 89 03 A6 */ mtctr r12 +/* 802C717C 002C40DC 4E 80 04 21 */ bctrl +/* 802C7180 002C40E0 7C 64 1B 78 */ mr r4, r3 +/* 802C7184 002C40E4 7F E3 FB 78 */ mr r3, r31 +/* 802C7188 002C40E8 4B FF F5 D1 */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C718C 002C40EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7190 002C40F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7194 002C40F4 7C 08 03 A6 */ mtlr r0 +/* 802C7198 002C40F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C719C 002C40FC 4E 80 00 20 */ blr + +.global __dt__14CGuiTableGroupCFv +__dt__14CGuiTableGroupCFv: +/* 802C71A0 002C4100 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C71A4 002C4104 7C 08 02 A6 */ mflr r0 +/* 802C71A8 002C4108 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C71AC 002C410C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C71B0 002C4110 7C 9F 23 78 */ mr r31, r4 +/* 802C71B4 002C4114 93 C1 00 08 */ stw r30, 8(r1) +/* 802C71B8 002C4118 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C71BC 002C411C 41 82 00 28 */ beq lbl_802C71E4 +/* 802C71C0 002C4120 3C A0 80 3F */ lis r5, lbl_803EC970@ha +/* 802C71C4 002C4124 38 80 00 00 */ li r4, 0 +/* 802C71C8 002C4128 38 05 C9 70 */ addi r0, r5, lbl_803EC970@l +/* 802C71CC 002C412C 90 1E 00 00 */ stw r0, 0(r30) +/* 802C71D0 002C4130 4B FF A9 61 */ bl __dt__18CGuiCompoundWidgetFv +/* 802C71D4 002C4134 7F E0 07 35 */ extsh. r0, r31 +/* 802C71D8 002C4138 40 81 00 0C */ ble lbl_802C71E4 +/* 802C71DC 002C413C 7F C3 F3 78 */ mr r3, r30 +/* 802C71E0 002C4140 48 04 E7 51 */ bl Free__7CMemoryFPCv +lbl_802C71E4: +/* 802C71E4 002C4144 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C71E8 002C4148 7F C3 F3 78 */ mr r3, r30 +/* 802C71EC 002C414C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C71F0 002C4150 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C71F4 002C4154 7C 08 03 A6 */ mtlr r0 +/* 802C71F8 002C4158 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C71FC 002C415C 4E 80 00 20 */ blr + +.global __ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox +__ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox: +/* 802C7200 002C4160 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7204 002C4164 7C 08 02 A6 */ mflr r0 +/* 802C7208 002C4168 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C720C 002C416C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C7210 002C4170 7C FF 3B 78 */ mr r31, r7 +/* 802C7214 002C4174 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C7218 002C4178 7C DE 33 78 */ mr r30, r6 +/* 802C721C 002C417C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C7220 002C4180 7C BD 2B 78 */ mr r29, r5 +/* 802C7224 002C4184 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C7228 002C4188 7C 7C 1B 78 */ mr r28, r3 +/* 802C722C 002C418C 4B FF A9 65 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C7230 002C4190 3C 80 80 3F */ lis r4, lbl_803EC970@ha +/* 802C7234 002C4194 38 7C 00 B8 */ addi r3, r28, 0xb8 +/* 802C7238 002C4198 38 04 C9 70 */ addi r0, r4, lbl_803EC970@l +/* 802C723C 002C419C 90 1C 00 00 */ stw r0, 0(r28) +/* 802C7240 002C41A0 48 00 62 7D */ bl sub_802cd4bc +/* 802C7244 002C41A4 38 7C 00 BC */ addi r3, r28, 0xbc +/* 802C7248 002C41A8 48 00 62 75 */ bl sub_802cd4bc +/* 802C724C 002C41AC 93 BC 00 C0 */ stw r29, 0xc0(r28) +/* 802C7250 002C41B0 38 C0 00 01 */ li r6, 1 +/* 802C7254 002C41B4 38 00 00 00 */ li r0, 0 +/* 802C7258 002C41B8 38 7C 00 DC */ addi r3, r28, 0xdc +/* 802C725C 002C41BC 93 DC 00 C4 */ stw r30, 0xc4(r28) +/* 802C7260 002C41C0 38 80 00 00 */ li r4, 0 +/* 802C7264 002C41C4 38 A0 00 10 */ li r5, 0x10 +/* 802C7268 002C41C8 93 DC 00 C8 */ stw r30, 0xc8(r28) +/* 802C726C 002C41CC 93 DC 00 CC */ stw r30, 0xcc(r28) +/* 802C7270 002C41D0 9B FC 00 D0 */ stb r31, 0xd0(r28) +/* 802C7274 002C41D4 98 DC 00 D1 */ stb r6, 0xd1(r28) +/* 802C7278 002C41D8 90 1C 00 D4 */ stw r0, 0xd4(r28) +/* 802C727C 002C41DC 90 1C 00 D8 */ stw r0, 0xd8(r28) +/* 802C7280 002C41E0 4B D3 C1 29 */ bl memset +/* 802C7284 002C41E4 38 00 00 00 */ li r0, 0 +/* 802C7288 002C41E8 38 7C 00 F4 */ addi r3, r28, 0xf4 +/* 802C728C 002C41EC 90 1C 00 EC */ stw r0, 0xec(r28) +/* 802C7290 002C41F0 38 80 00 00 */ li r4, 0 +/* 802C7294 002C41F4 38 A0 00 10 */ li r5, 0x10 +/* 802C7298 002C41F8 90 1C 00 F0 */ stw r0, 0xf0(r28) +/* 802C729C 002C41FC 4B D3 C1 0D */ bl memset +/* 802C72A0 002C4200 38 00 00 00 */ li r0, 0 +/* 802C72A4 002C4204 38 7C 01 0C */ addi r3, r28, 0x10c +/* 802C72A8 002C4208 90 1C 01 04 */ stw r0, 0x104(r28) +/* 802C72AC 002C420C 38 80 00 00 */ li r4, 0 +/* 802C72B0 002C4210 38 A0 00 10 */ li r5, 0x10 +/* 802C72B4 002C4214 90 1C 01 08 */ stw r0, 0x108(r28) +/* 802C72B8 002C4218 4B D3 C0 F1 */ bl memset +/* 802C72BC 002C421C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C72C0 002C4220 7F 83 E3 78 */ mr r3, r28 +/* 802C72C4 002C4224 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C72C8 002C4228 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C72CC 002C422C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C72D0 002C4230 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C72D4 002C4234 7C 08 03 A6 */ mtlr r0 +/* 802C72D8 002C4238 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C72DC 002C423C 4E 80 00 20 */ blr + +.global Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb +Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb: +/* 802C72E0 002C4240 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C72E4 002C4244 7C 08 02 A6 */ mflr r0 +/* 802C72E8 002C4248 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C72EC 002C424C BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802C72F0 002C4250 7C 7E 1B 78 */ mr r30, r3 +/* 802C72F4 002C4254 7C 9F 23 78 */ mr r31, r4 +/* 802C72F8 002C4258 38 61 00 08 */ addi r3, r1, 8 +/* 802C72FC 002C425C 7F C4 F3 78 */ mr r4, r30 +/* 802C7300 002C4260 7F E5 FB 78 */ mr r5, r31 +/* 802C7304 002C4264 48 00 3A 4D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C7308 002C4268 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C730C 002C426C 7F E3 FB 78 */ mr r3, r31 +/* 802C7310 002C4270 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C7314 002C4274 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C7318 002C4278 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C731C 002C427C 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C7320 002C4280 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C7324 002C4284 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C7328 002C4288 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C732C 002C428C 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C7330 002C4290 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C7334 002C4294 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C7338 002C4298 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C733C 002C429C 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C7340 002C42A0 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C7344 002C42A4 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C7348 002C42A8 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C734C 002C42AC 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C7350 002C42B0 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C7354 002C42B4 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C7358 002C42B8 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C735C 002C42BC 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C7360 002C42C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C7364 002C42C4 48 07 79 4D */ bl ReadShort__12CInputStreamFv +/* 802C7368 002C42C8 7C 60 07 34 */ extsh r0, r3 +/* 802C736C 002C42CC 7F E3 FB 78 */ mr r3, r31 +/* 802C7370 002C42D0 7C 1C 03 78 */ mr r28, r0 +/* 802C7374 002C42D4 48 07 79 3D */ bl ReadShort__12CInputStreamFv +/* 802C7378 002C42D8 7F E3 FB 78 */ mr r3, r31 +/* 802C737C 002C42DC 48 07 79 09 */ bl ReadLong__12CInputStreamFv +/* 802C7380 002C42E0 7F E3 FB 78 */ mr r3, r31 +/* 802C7384 002C42E4 48 07 79 2D */ bl ReadShort__12CInputStreamFv +/* 802C7388 002C42E8 7C 60 07 34 */ extsh r0, r3 +/* 802C738C 002C42EC 7F E3 FB 78 */ mr r3, r31 +/* 802C7390 002C42F0 7C 1B 03 78 */ mr r27, r0 +/* 802C7394 002C42F4 48 07 79 1D */ bl ReadShort__12CInputStreamFv +/* 802C7398 002C42F8 7F E3 FB 78 */ mr r3, r31 +/* 802C739C 002C42FC 48 07 79 41 */ bl ReadBool__12CInputStreamFv +/* 802C73A0 002C4300 7C 60 1B 78 */ mr r0, r3 +/* 802C73A4 002C4304 7F E3 FB 78 */ mr r3, r31 +/* 802C73A8 002C4308 7C 1A 03 78 */ mr r26, r0 +/* 802C73AC 002C430C 48 07 79 31 */ bl ReadBool__12CInputStreamFv +/* 802C73B0 002C4310 7F E3 FB 78 */ mr r3, r31 +/* 802C73B4 002C4314 48 07 78 75 */ bl ReadFloat__12CInputStreamFv +/* 802C73B8 002C4318 7F E3 FB 78 */ mr r3, r31 +/* 802C73BC 002C431C 48 07 78 6D */ bl ReadFloat__12CInputStreamFv +/* 802C73C0 002C4320 7F E3 FB 78 */ mr r3, r31 +/* 802C73C4 002C4324 48 07 79 19 */ bl ReadBool__12CInputStreamFv +/* 802C73C8 002C4328 7F E3 FB 78 */ mr r3, r31 +/* 802C73CC 002C432C 48 07 78 5D */ bl ReadFloat__12CInputStreamFv +/* 802C73D0 002C4330 7F E3 FB 78 */ mr r3, r31 +/* 802C73D4 002C4334 48 07 78 DD */ bl ReadShort__12CInputStreamFv +/* 802C73D8 002C4338 7F E3 FB 78 */ mr r3, r31 +/* 802C73DC 002C433C 48 07 78 D5 */ bl ReadShort__12CInputStreamFv +/* 802C73E0 002C4340 7F E3 FB 78 */ mr r3, r31 +/* 802C73E4 002C4344 48 07 78 CD */ bl ReadShort__12CInputStreamFv +/* 802C73E8 002C4348 7F E3 FB 78 */ mr r3, r31 +/* 802C73EC 002C434C 48 07 78 C5 */ bl ReadShort__12CInputStreamFv +/* 802C73F0 002C4350 3C 80 80 3D */ lis r4, lbl_803D68D0@ha +/* 802C73F4 002C4354 38 60 01 1C */ li r3, 0x11c +/* 802C73F8 002C4358 38 84 68 D0 */ addi r4, r4, lbl_803D68D0@l +/* 802C73FC 002C435C 38 A0 00 00 */ li r5, 0 +/* 802C7400 002C4360 48 04 E4 6D */ bl __nw__FUlPCcPCc +/* 802C7404 002C4364 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C7408 002C4368 41 82 00 1C */ beq lbl_802C7424 +/* 802C740C 002C436C 7F 85 E3 78 */ mr r5, r28 +/* 802C7410 002C4370 7F 66 DB 78 */ mr r6, r27 +/* 802C7414 002C4374 7F 47 D3 78 */ mr r7, r26 +/* 802C7418 002C4378 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C741C 002C437C 4B FF FD E5 */ bl __ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox +/* 802C7420 002C4380 7C 7D 1B 78 */ mr r29, r3 +lbl_802C7424: +/* 802C7424 002C4384 7F A3 EB 78 */ mr r3, r29 +/* 802C7428 002C4388 7F C4 F3 78 */ mr r4, r30 +/* 802C742C 002C438C 7F E5 FB 78 */ mr r5, r31 +/* 802C7430 002C4390 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C7434 002C4394 48 00 36 55 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C7438 002C4398 7F A3 EB 78 */ mr r3, r29 +/* 802C743C 002C439C BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802C7440 002C43A0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C7444 002C43A4 7C 08 03 A6 */ mtlr r0 +/* 802C7448 002C43A8 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C744C 002C43AC 4E 80 00 20 */ blr + +.global ProcessUserInput__14CGuiTableGroupCFRC11CFinalInput +ProcessUserInput__14CGuiTableGroupCFRC11CFinalInput: +/* 802C7450 002C43B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7454 002C43B4 7C 08 02 A6 */ mflr r0 +/* 802C7458 002C43B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C745C 002C43BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C7460 002C43C0 7C 9F 23 78 */ mr r31, r4 +/* 802C7464 002C43C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C7468 002C43C8 7C 7E 1B 78 */ mr r30, r3 +/* 802C746C 002C43CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C7470 002C43D0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C7474 002C43D4 88 84 00 2D */ lbz r4, 0x2d(r4) +/* 802C7478 002C43D8 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 802C747C 002C43DC 41 82 00 0C */ beq lbl_802C7488 +/* 802C7480 002C43E0 4B FF F5 25 */ bl DoAdvance__14CGuiTableGroupFv +/* 802C7484 002C43E4 48 00 01 20 */ b lbl_802C75A4 +lbl_802C7488: +/* 802C7488 002C43E8 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f +/* 802C748C 002C43EC 41 82 00 0C */ beq lbl_802C7498 +/* 802C7490 002C43F0 4B FF F3 FD */ bl DoCancel__14CGuiTableGroupFv +/* 802C7494 002C43F4 48 00 01 10 */ b lbl_802C75A4 +lbl_802C7498: +/* 802C7498 002C43F8 88 7E 00 D1 */ lbz r3, 0xd1(r30) +/* 802C749C 002C43FC 28 03 00 00 */ cmplwi r3, 0 +/* 802C74A0 002C4400 41 82 00 2C */ beq lbl_802C74CC +/* 802C74A4 002C4404 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C74A8 002C4408 3B A0 00 01 */ li r29, 1 +/* 802C74AC 002C440C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802C74B0 002C4410 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C74B4 002C4414 41 80 00 3C */ blt lbl_802C74F0 +/* 802C74B8 002C4418 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 802C74BC 002C441C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802C74C0 002C4420 40 82 00 30 */ bne lbl_802C74F0 +/* 802C74C4 002C4424 3B A0 00 00 */ li r29, 0 +/* 802C74C8 002C4428 48 00 00 28 */ b lbl_802C74F0 +lbl_802C74CC: +/* 802C74CC 002C442C C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C74D0 002C4430 3B A0 00 01 */ li r29, 1 +/* 802C74D4 002C4434 C0 1F 00 08 */ lfs f0, 8(r31) +/* 802C74D8 002C4438 FC 20 08 50 */ fneg f1, f1 +/* 802C74DC 002C443C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C74E0 002C4440 41 81 00 10 */ bgt lbl_802C74F0 +/* 802C74E4 002C4444 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 802C74E8 002C4448 40 82 00 08 */ bne lbl_802C74F0 +/* 802C74EC 002C444C 3B A0 00 00 */ li r29, 0 +lbl_802C74F0: +/* 802C74F0 002C4450 28 03 00 00 */ cmplwi r3, 0 +/* 802C74F4 002C4454 41 82 00 30 */ beq lbl_802C7524 +/* 802C74F8 002C4458 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C74FC 002C445C 3B 80 00 01 */ li r28, 1 +/* 802C7500 002C4460 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802C7504 002C4464 FC 20 08 50 */ fneg f1, f1 +/* 802C7508 002C4468 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C750C 002C446C 41 81 00 3C */ bgt lbl_802C7548 +/* 802C7510 002C4470 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 802C7514 002C4474 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802C7518 002C4478 40 82 00 30 */ bne lbl_802C7548 +/* 802C751C 002C447C 3B 80 00 00 */ li r28, 0 +/* 802C7520 002C4480 48 00 00 28 */ b lbl_802C7548 +lbl_802C7524: +/* 802C7524 002C4484 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C7528 002C4488 3B 80 00 01 */ li r28, 1 +/* 802C752C 002C448C C0 1F 00 08 */ lfs f0, 8(r31) +/* 802C7530 002C4490 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C7534 002C4494 41 80 00 14 */ blt lbl_802C7548 +/* 802C7538 002C4498 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 802C753C 002C449C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802C7540 002C44A0 40 82 00 08 */ bne lbl_802C7548 +/* 802C7544 002C44A4 3B 80 00 00 */ li r28, 0 +lbl_802C7548: +/* 802C7548 002C44A8 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802C754C 002C44AC 7F A4 EB 78 */ mr r4, r29 +/* 802C7550 002C44B0 38 7E 00 B8 */ addi r3, r30, 0xb8 +/* 802C7554 002C44B4 48 00 5F 01 */ bl Update__Q214CGuiTableGroup12CRepeatStateFfb +/* 802C7558 002C44B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C755C 002C44BC 41 82 00 18 */ beq lbl_802C7574 +/* 802C7560 002C44C0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802C7564 002C44C4 41 82 00 10 */ beq lbl_802C7574 +/* 802C7568 002C44C8 7F C3 F3 78 */ mr r3, r30 +/* 802C756C 002C44CC 4B FF F6 F1 */ bl DoDecrement__14CGuiTableGroupFv +/* 802C7570 002C44D0 48 00 00 34 */ b lbl_802C75A4 +lbl_802C7574: +/* 802C7574 002C44D4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802C7578 002C44D8 40 82 00 2C */ bne lbl_802C75A4 +/* 802C757C 002C44DC C0 3F 00 00 */ lfs f1, 0(r31) +/* 802C7580 002C44E0 7F 84 E3 78 */ mr r4, r28 +/* 802C7584 002C44E4 38 7E 00 BC */ addi r3, r30, 0xbc +/* 802C7588 002C44E8 48 00 5E CD */ bl Update__Q214CGuiTableGroup12CRepeatStateFfb +/* 802C758C 002C44EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C7590 002C44F0 41 82 00 14 */ beq lbl_802C75A4 +/* 802C7594 002C44F4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802C7598 002C44F8 41 82 00 0C */ beq lbl_802C75A4 +/* 802C759C 002C44FC 7F C3 F3 78 */ mr r3, r30 +/* 802C75A0 002C4500 4B FF F9 55 */ bl DoIncrement__14CGuiTableGroupFv +lbl_802C75A4: +/* 802C75A4 002C4504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C75A8 002C4508 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C75AC 002C450C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C75B0 002C4510 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C75B4 002C4514 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C75B8 002C4518 7C 08 03 A6 */ mtlr r0 +/* 802C75BC 002C451C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C75C0 002C4520 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiTextPane.s b/asm/GuiSys/CGuiTextPane.s new file mode 100644 index 00000000..3da5f558 --- /dev/null +++ b/asm/GuiSys/CGuiTextPane.s @@ -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,Q24rstl17rmemory_allocator>" +/* 802C7CD4 002C4C34 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C7CD8 002C4C38 48 07 5E 09 */ bl "internal_dereference__Q24rstl66basic_string,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 diff --git a/asm/GuiSys/CGuiTextSupport.s b/asm/GuiSys/CGuiTextSupport.s new file mode 100644 index 00000000..59202ff7 --- /dev/null +++ b/asm/GuiSys/CGuiTextSupport.s @@ -0,0 +1,3057 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_802c7cfc +sub_802c7cfc: +/* 802C7CFC 002C4C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7D00 002C4C60 7C 08 02 A6 */ mflr r0 +/* 802C7D04 002C4C64 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7D08 002C4C68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7D0C 002C4C6C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C7D10 002C4C70 7C 9E 23 78 */ mr r30, r4 +/* 802C7D14 002C4C74 83 E3 00 00 */ lwz r31, 0(r3) +/* 802C7D18 002C4C78 48 00 00 10 */ b lbl_802C7D28 +lbl_802C7D1C: +/* 802C7D1C 002C4C7C 7F E3 FB 78 */ mr r3, r31 +/* 802C7D20 002C4C80 48 00 00 2D */ bl sub_802c7d4c +/* 802C7D24 002C4C84 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802C7D28: +/* 802C7D28 002C4C88 80 1E 00 00 */ lwz r0, 0(r30) +/* 802C7D2C 002C4C8C 7C 1F 00 40 */ cmplw r31, r0 +/* 802C7D30 002C4C90 40 82 FF EC */ bne lbl_802C7D1C +/* 802C7D34 002C4C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7D38 002C4C98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7D3C 002C4C9C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C7D40 002C4CA0 7C 08 03 A6 */ mtlr r0 +/* 802C7D44 002C4CA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7D48 002C4CA8 4E 80 00 20 */ blr + +.global sub_802c7d4c +sub_802c7d4c: +/* 802C7D4C 002C4CAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7D50 002C4CB0 7C 08 02 A6 */ mflr r0 +/* 802C7D54 002C4CB4 38 80 FF FF */ li r4, -1 +/* 802C7D58 002C4CB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7D5C 002C4CBC 4B D6 0E A1 */ bl sub_80028bfc +/* 802C7D60 002C4CC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7D64 002C4CC4 7C 08 03 A6 */ mtlr r0 +/* 802C7D68 002C4CC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7D6C 002C4CCC 4E 80 00 20 */ blr + +.global GetBounds__15CGuiTextSupportFv +GetBounds__15CGuiTextSupportFv: +/* 802C7D70 002C4CD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7D74 002C4CD4 7C 08 02 A6 */ mflr r0 +/* 802C7D78 002C4CD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7D7C 002C4CDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7D80 002C4CE0 7C 7F 1B 78 */ mr r31, r3 +/* 802C7D84 002C4CE4 48 00 0D A9 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C7D88 002C4CE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7D8C 002C4CEC 38 7F 02 DC */ addi r3, r31, 0x2dc +/* 802C7D90 002C4CF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7D94 002C4CF4 7C 08 03 A6 */ mtlr r0 +/* 802C7D98 002C4CF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7D9C 002C4CFC 4E 80 00 20 */ blr + +.global GetCurrentPageRenderBuffer__15CGuiTextSupportFv +GetCurrentPageRenderBuffer__15CGuiTextSupportFv: +/* 802C7DA0 002C4D00 88 03 02 B8 */ lbz r0, 0x2b8(r3) +/* 802C7DA4 002C4D04 28 00 00 00 */ cmplwi r0, 0 +/* 802C7DA8 002C4D08 41 82 00 18 */ beq lbl_802C7DC0 +/* 802C7DAC 002C4D0C 88 03 03 08 */ lbz r0, 0x308(r3) +/* 802C7DB0 002C4D10 28 00 00 00 */ cmplwi r0, 0 +/* 802C7DB4 002C4D14 40 82 00 0C */ bne lbl_802C7DC0 +/* 802C7DB8 002C4D18 38 63 00 60 */ addi r3, r3, 0x60 +/* 802C7DBC 002C4D1C 4E 80 00 20 */ blr +lbl_802C7DC0: +/* 802C7DC0 002C4D20 88 03 03 08 */ lbz r0, 0x308(r3) +/* 802C7DC4 002C4D24 28 00 00 00 */ cmplwi r0, 0 +/* 802C7DC8 002C4D28 41 82 00 38 */ beq lbl_802C7E00 +/* 802C7DCC 002C4D2C 80 03 03 00 */ lwz r0, 0x300(r3) +/* 802C7DD0 002C4D30 80 83 03 04 */ lwz r4, 0x304(r3) +/* 802C7DD4 002C4D34 7C 00 20 00 */ cmpw r0, r4 +/* 802C7DD8 002C4D38 40 81 00 28 */ ble lbl_802C7E00 +/* 802C7DDC 002C4D3C 38 A0 00 00 */ li r5, 0 +/* 802C7DE0 002C4D40 80 63 02 F0 */ lwz r3, 0x2f0(r3) +lbl_802C7DE4: +/* 802C7DE4 002C4D44 7C 05 20 00 */ cmpw r5, r4 +/* 802C7DE8 002C4D48 40 82 00 0C */ bne lbl_802C7DF4 +/* 802C7DEC 002C4D4C 38 63 00 08 */ addi r3, r3, 8 +/* 802C7DF0 002C4D50 4E 80 00 20 */ blr +lbl_802C7DF4: +/* 802C7DF4 002C4D54 80 63 00 04 */ lwz r3, 4(r3) +/* 802C7DF8 002C4D58 38 A5 00 01 */ addi r5, r5, 1 +/* 802C7DFC 002C4D5C 4B FF FF E8 */ b lbl_802C7DE4 +lbl_802C7E00: +/* 802C7E00 002C4D60 38 60 00 00 */ li r3, 0 +/* 802C7E04 002C4D64 4E 80 00 20 */ blr + +.global SetPage__15CGuiTextSupportFi +SetPage__15CGuiTextSupportFi: +/* 802C7E08 002C4D68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7E0C 002C4D6C 90 83 03 04 */ stw r4, 0x304(r3) +/* 802C7E10 002C4D70 80 03 00 44 */ lwz r0, 0x44(r3) +/* 802C7E14 002C4D74 80 83 00 4C */ lwz r4, 0x4c(r3) +/* 802C7E18 002C4D78 54 00 18 38 */ slwi r0, r0, 3 +/* 802C7E1C 002C4D7C 7C 04 02 14 */ add r0, r4, r0 +/* 802C7E20 002C4D80 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C7E24 002C4D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7E28 002C4D88 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C7E2C 002C4D8C 90 81 00 08 */ stw r4, 8(r1) +/* 802C7E30 002C4D90 48 00 00 08 */ b lbl_802C7E38 +lbl_802C7E34: +/* 802C7E34 002C4D94 38 84 00 08 */ addi r4, r4, 8 +lbl_802C7E38: +/* 802C7E38 002C4D98 7C 04 00 40 */ cmplw r4, r0 +/* 802C7E3C 002C4D9C 40 82 FF F8 */ bne lbl_802C7E34 +/* 802C7E40 002C4DA0 38 00 00 00 */ li r0, 0 +/* 802C7E44 002C4DA4 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) +/* 802C7E48 002C4DA8 90 03 00 44 */ stw r0, 0x44(r3) +/* 802C7E4C 002C4DAC D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 802C7E50 002C4DB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C7E54 002C4DB4 4E 80 00 20 */ blr + +.global GetTotalPageCount__15CGuiTextSupportFv +GetTotalPageCount__15CGuiTextSupportFv: +/* 802C7E58 002C4DB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7E5C 002C4DBC 7C 08 02 A6 */ mflr r0 +/* 802C7E60 002C4DC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7E64 002C4DC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7E68 002C4DC8 7C 7F 1B 78 */ mr r31, r3 +/* 802C7E6C 002C4DCC 48 00 0C C1 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C7E70 002C4DD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C7E74 002C4DD4 41 82 00 0C */ beq lbl_802C7E80 +/* 802C7E78 002C4DD8 80 7F 03 00 */ lwz r3, 0x300(r31) +/* 802C7E7C 002C4DDC 48 00 00 08 */ b lbl_802C7E84 +lbl_802C7E80: +/* 802C7E80 002C4DE0 38 60 FF FF */ li r3, -1 +lbl_802C7E84: +/* 802C7E84 002C4DE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7E88 002C4DE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7E8C 002C4DEC 7C 08 03 A6 */ mtlr r0 +/* 802C7E90 002C4DF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7E94 002C4DF4 4E 80 00 20 */ blr + +.global GetCurrentAnimationOverAge__15CGuiTextSupportFv +GetCurrentAnimationOverAge__15CGuiTextSupportFv: +/* 802C7E98 002C4DF8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C7E9C 002C4DFC 7C 08 02 A6 */ mflr r0 +/* 802C7EA0 002C4E00 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) +/* 802C7EA4 002C4E04 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C7EA8 002C4E08 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C7EAC 002C4E0C 7C 7F 1B 78 */ mr r31, r3 +/* 802C7EB0 002C4E10 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C7EB4 002C4E14 4B FF FE ED */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C7EB8 002C4E18 28 03 00 00 */ cmplwi r3, 0 +/* 802C7EBC 002C4E1C 41 82 00 D8 */ beq lbl_802C7F94 +/* 802C7EC0 002C4E20 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C7EC4 002C4E24 28 00 00 00 */ cmplwi r0, 0 +/* 802C7EC8 002C4E28 41 82 00 CC */ beq lbl_802C7F94 +/* 802C7ECC 002C4E2C 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 802C7ED0 002C4E30 2C 04 00 00 */ cmpwi r4, 0 +/* 802C7ED4 002C4E34 41 82 00 74 */ beq lbl_802C7F48 +/* 802C7ED8 002C4E38 38 04 FF FF */ addi r0, r4, -1 +/* 802C7EDC 002C4E3C 80 BF 00 4C */ lwz r5, 0x4c(r31) +/* 802C7EE0 002C4E40 54 04 18 38 */ slwi r4, r0, 3 +/* 802C7EE4 002C4E44 3C 00 43 30 */ lis r0, 0x4330 +/* 802C7EE8 002C4E48 7C A5 22 14 */ add r5, r5, r4 +/* 802C7EEC 002C4E4C 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C7EF0 002C4E50 80 85 00 04 */ lwz r4, 4(r5) +/* 802C7EF4 002C4E54 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C7EF8 002C4E58 7C 04 18 50 */ subf r0, r4, r3 +/* 802C7EFC 002C4E5C C8 62 C3 E8 */ lfd f3, lbl_805AE108@sda21(r2) +/* 802C7F00 002C4E60 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802C7F04 002C4E64 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 802C7F08 002C4E68 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C7F0C 002C4E6C C0 85 00 00 */ lfs f4, 0(r5) +/* 802C7F10 002C4E70 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 802C7F14 002C4E74 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802C7F18 002C4E78 EC 42 18 28 */ fsubs f2, f2, f3 +/* 802C7F1C 002C4E7C EC 22 08 24 */ fdivs f1, f2, f1 +/* 802C7F20 002C4E80 EC 24 08 2A */ fadds f1, f4, f1 +/* 802C7F24 002C4E84 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C7F28 002C4E88 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C7F2C 002C4E8C 40 80 00 0C */ bge lbl_802C7F38 +/* 802C7F30 002C4E90 38 61 00 0C */ addi r3, r1, 0xc +/* 802C7F34 002C4E94 48 00 00 08 */ b lbl_802C7F3C +lbl_802C7F38: +/* 802C7F38 002C4E98 38 61 00 10 */ addi r3, r1, 0x10 +lbl_802C7F3C: +/* 802C7F3C 002C4E9C C0 03 00 00 */ lfs f0, 0(r3) +/* 802C7F40 002C4EA0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C7F44 002C4EA4 48 00 00 50 */ b lbl_802C7F94 +lbl_802C7F48: +/* 802C7F48 002C4EA8 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C7F4C 002C4EAC 3C 00 43 30 */ lis r0, 0x4330 +/* 802C7F50 002C4EB0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C7F54 002C4EB4 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C7F58 002C4EB8 C8 62 C3 E8 */ lfd f3, lbl_805AE108@sda21(r2) +/* 802C7F5C 002C4EBC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C7F60 002C4EC0 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 802C7F64 002C4EC4 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 802C7F68 002C4EC8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802C7F6C 002C4ECC EC 42 18 28 */ fsubs f2, f2, f3 +/* 802C7F70 002C4ED0 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802C7F74 002C4ED4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C7F78 002C4ED8 D0 21 00 08 */ stfs f1, 8(r1) +/* 802C7F7C 002C4EDC 40 80 00 0C */ bge lbl_802C7F88 +/* 802C7F80 002C4EE0 38 61 00 08 */ addi r3, r1, 8 +/* 802C7F84 002C4EE4 48 00 00 08 */ b lbl_802C7F8C +lbl_802C7F88: +/* 802C7F88 002C4EE8 38 61 00 10 */ addi r3, r1, 0x10 +lbl_802C7F8C: +/* 802C7F8C 002C4EEC C0 03 00 00 */ lfs f0, 0(r3) +/* 802C7F90 002C4EF0 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_802C7F94: +/* 802C7F94 002C4EF4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C7F98 002C4EF8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802C7F9C 002C4EFC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C7FA0 002C4F00 7C 08 03 A6 */ mtlr r0 +/* 802C7FA4 002C4F04 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C7FA8 002C4F08 4E 80 00 20 */ blr + +.global GetNumCharsTotal__15CGuiTextSupportCFv +GetNumCharsTotal__15CGuiTextSupportCFv: +/* 802C7FAC 002C4F0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7FB0 002C4F10 7C 08 02 A6 */ mflr r0 +/* 802C7FB4 002C4F14 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C7FB8 002C4F18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C7FBC 002C4F1C 7C 7F 1B 78 */ mr r31, r3 +/* 802C7FC0 002C4F20 4B FF FD E1 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C7FC4 002C4F24 28 03 00 00 */ cmplwi r3, 0 +/* 802C7FC8 002C4F28 41 82 00 34 */ beq lbl_802C7FFC +/* 802C7FCC 002C4F2C 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C7FD0 002C4F30 28 00 00 00 */ cmplwi r0, 0 +/* 802C7FD4 002C4F34 41 82 00 28 */ beq lbl_802C7FFC +/* 802C7FD8 002C4F38 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C7FDC 002C4F3C 3C 00 43 30 */ lis r0, 0x4330 +/* 802C7FE0 002C4F40 90 01 00 08 */ stw r0, 8(r1) +/* 802C7FE4 002C4F44 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C7FE8 002C4F48 C8 22 C3 E8 */ lfd f1, lbl_805AE108@sda21(r2) +/* 802C7FEC 002C4F4C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C7FF0 002C4F50 C8 01 00 08 */ lfd f0, 8(r1) +/* 802C7FF4 002C4F54 EC 20 08 28 */ fsubs f1, f0, f1 +/* 802C7FF8 002C4F58 48 00 00 08 */ b lbl_802C8000 +lbl_802C7FFC: +/* 802C7FFC 002C4F5C C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +lbl_802C8000: +/* 802C8000 002C4F60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8004 002C4F64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C8008 002C4F68 7C 08 03 A6 */ mtlr r0 +/* 802C800C 002C4F6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8010 002C4F70 4E 80 00 20 */ blr + +.global GetNumCharactersPrinted__15CGuiTextSupportCFv +GetNumCharactersPrinted__15CGuiTextSupportCFv: +/* 802C8014 002C4F74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8018 002C4F78 7C 08 02 A6 */ mflr r0 +/* 802C801C 002C4F7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8020 002C4F80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8024 002C4F84 7C 7F 1B 78 */ mr r31, r3 +/* 802C8028 002C4F88 4B FF FD 79 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C802C 002C4F8C 28 03 00 00 */ cmplwi r3, 0 +/* 802C8030 002C4F90 41 82 00 60 */ beq lbl_802C8090 +/* 802C8034 002C4F94 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C8038 002C4F98 28 00 00 00 */ cmplwi r0, 0 +/* 802C803C 002C4F9C 41 82 00 54 */ beq lbl_802C8090 +/* 802C8040 002C4FA0 C0 3F 00 3C */ lfs f1, 0x3c(r31) +/* 802C8044 002C4FA4 3C 00 43 30 */ lis r0, 0x4330 +/* 802C8048 002C4FA8 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 802C804C 002C4FAC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C8050 002C4FB0 EC 41 00 32 */ fmuls f2, f1, f0 +/* 802C8054 002C4FB4 C8 22 C3 E8 */ lfd f1, lbl_805AE108@sda21(r2) +/* 802C8058 002C4FB8 D0 41 00 08 */ stfs f2, 8(r1) +/* 802C805C 002C4FBC 80 03 00 28 */ lwz r0, 0x28(r3) +/* 802C8060 002C4FC0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802C8064 002C4FC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8068 002C4FC8 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802C806C 002C4FCC EC 00 08 28 */ fsubs f0, f0, f1 +/* 802C8070 002C4FD0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802C8074 002C4FD4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802C8078 002C4FD8 40 80 00 0C */ bge lbl_802C8084 +/* 802C807C 002C4FDC 38 61 00 08 */ addi r3, r1, 8 +/* 802C8080 002C4FE0 48 00 00 08 */ b lbl_802C8088 +lbl_802C8084: +/* 802C8084 002C4FE4 38 61 00 0C */ addi r3, r1, 0xc +lbl_802C8088: +/* 802C8088 002C4FE8 C0 23 00 00 */ lfs f1, 0(r3) +/* 802C808C 002C4FEC 48 00 00 08 */ b lbl_802C8094 +lbl_802C8090: +/* 802C8090 002C4FF0 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +lbl_802C8094: +/* 802C8094 002C4FF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8098 002C4FF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C809C 002C4FFC 7C 08 03 A6 */ mtlr r0 +/* 802C80A0 002C5000 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C80A4 002C5004 4E 80 00 20 */ blr + +.global GetTotalAnimationTime__15CGuiTextSupportCFv +GetTotalAnimationTime__15CGuiTextSupportCFv: +/* 802C80A8 002C5008 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C80AC 002C500C 7C 08 02 A6 */ mflr r0 +/* 802C80B0 002C5010 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C80B4 002C5014 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C80B8 002C5018 7C 7F 1B 78 */ mr r31, r3 +/* 802C80BC 002C501C 4B FF FC E5 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C80C0 002C5020 28 03 00 00 */ cmplwi r3, 0 +/* 802C80C4 002C5024 41 82 00 3C */ beq lbl_802C8100 +/* 802C80C8 002C5028 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C80CC 002C502C 28 00 00 00 */ cmplwi r0, 0 +/* 802C80D0 002C5030 41 82 00 30 */ beq lbl_802C8100 +/* 802C80D4 002C5034 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C80D8 002C5038 3C 00 43 30 */ lis r0, 0x4330 +/* 802C80DC 002C503C 90 01 00 08 */ stw r0, 8(r1) +/* 802C80E0 002C5040 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C80E4 002C5044 C8 42 C3 E8 */ lfd f2, lbl_805AE108@sda21(r2) +/* 802C80E8 002C5048 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C80EC 002C504C C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 802C80F0 002C5050 C8 21 00 08 */ lfd f1, 8(r1) +/* 802C80F4 002C5054 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802C80F8 002C5058 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802C80FC 002C505C 48 00 00 08 */ b lbl_802C8104 +lbl_802C8100: +/* 802C8100 002C5060 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +lbl_802C8104: +/* 802C8104 002C5064 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8108 002C5068 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C810C 002C506C 7C 08 03 A6 */ mtlr r0 +/* 802C8110 002C5070 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8114 002C5074 4E 80 00 20 */ blr + +.global SetTypeWriteEffectOptions__15CGuiTextSupportFbff +SetTypeWriteEffectOptions__15CGuiTextSupportFbff: +/* 802C8118 002C5078 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C811C 002C507C D0 21 00 08 */ stfs f1, 8(r1) +/* 802C8120 002C5080 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802C8124 002C5084 98 83 00 50 */ stb r4, 0x50(r3) +/* 802C8128 002C5088 C0 21 00 08 */ lfs f1, 8(r1) +/* 802C812C 002C508C C0 0D 9B 10 */ lfs f0, lbl_805A86D0@sda21(r13) +/* 802C8130 002C5090 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C8134 002C5094 40 80 00 0C */ bge lbl_802C8140 +/* 802C8138 002C5098 38 8D 9B 10 */ addi r4, r13, lbl_805A86D0@sda21 +/* 802C813C 002C509C 48 00 00 08 */ b lbl_802C8144 +lbl_802C8140: +/* 802C8140 002C50A0 38 81 00 08 */ addi r4, r1, 8 +lbl_802C8144: +/* 802C8144 002C50A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 802C8148 002C50A8 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802C814C 002C50AC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802C8150 002C50B0 C0 0D 9B 14 */ lfs f0, lbl_805A86D4@sda21(r13) +/* 802C8154 002C50B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C8158 002C50B8 40 80 00 0C */ bge lbl_802C8164 +/* 802C815C 002C50BC 38 8D 9B 14 */ addi r4, r13, lbl_805A86D4@sda21 +/* 802C8160 002C50C0 48 00 00 08 */ b lbl_802C8168 +lbl_802C8164: +/* 802C8164 002C50C4 38 81 00 0C */ addi r4, r1, 0xc +lbl_802C8168: +/* 802C8168 002C50C8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802C816C 002C50CC D0 03 00 58 */ stfs f0, 0x58(r3) +/* 802C8170 002C50D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8174 002C50D4 4E 80 00 20 */ blr + +.global Update__15CGuiTextSupportFf +Update__15CGuiTextSupportFf: +/* 802C8178 002C50D8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802C817C 002C50DC 7C 08 02 A6 */ mflr r0 +/* 802C8180 002C50E0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802C8184 002C50E4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802C8188 002C50E8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802C818C 002C50EC DB C1 00 80 */ stfd f30, 0x80(r1) +/* 802C8190 002C50F0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 802C8194 002C50F4 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 802C8198 002C50F8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 802C819C 002C50FC DB 81 00 60 */ stfd f28, 0x60(r1) +/* 802C81A0 002C5100 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 802C81A4 002C5104 DB 61 00 50 */ stfd f27, 0x50(r1) +/* 802C81A8 002C5108 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 +/* 802C81AC 002C510C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802C81B0 002C5110 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802C81B4 002C5114 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802C81B8 002C5118 7C 7E 1B 78 */ mr r30, r3 +/* 802C81BC 002C511C FF 60 08 90 */ fmr f27, f1 +/* 802C81C0 002C5120 88 03 00 50 */ lbz r0, 0x50(r3) +/* 802C81C4 002C5124 28 00 00 00 */ cmplwi r0, 0 +/* 802C81C8 002C5128 41 82 01 40 */ beq lbl_802C8308 +/* 802C81CC 002C512C 4B FF FB D5 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C81D0 002C5130 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C81D4 002C5134 41 82 01 28 */ beq lbl_802C82FC +/* 802C81D8 002C5138 C3 82 C3 E0 */ lfs f28, lbl_805AE100@sda21(r2) +/* 802C81DC 002C513C 3B E0 00 00 */ li r31, 0 +/* 802C81E0 002C5140 C3 C2 C3 F0 */ lfs f30, lbl_805AE110@sda21(r2) +/* 802C81E4 002C5144 C3 E2 C3 F4 */ lfs f31, lbl_805AE114@sda21(r2) +/* 802C81E8 002C5148 48 00 01 08 */ b lbl_802C82F0 +lbl_802C81EC: +/* 802C81EC 002C514C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802C81F0 002C5150 38 80 00 00 */ li r4, 0 +/* 802C81F4 002C5154 7C 09 03 A6 */ mtctr r0 +/* 802C81F8 002C5158 2C 00 00 00 */ cmpwi r0, 0 +/* 802C81FC 002C515C 40 81 00 2C */ ble lbl_802C8228 +lbl_802C8200: +/* 802C8200 002C5160 80 1E 00 4C */ lwz r0, 0x4c(r30) +/* 802C8204 002C5164 7C 60 22 14 */ add r3, r0, r4 +/* 802C8208 002C5168 80 03 00 04 */ lwz r0, 4(r3) +/* 802C820C 002C516C 7C 00 F8 00 */ cmpw r0, r31 +/* 802C8210 002C5170 41 80 00 10 */ blt lbl_802C8220 +/* 802C8214 002C5174 40 82 00 14 */ bne lbl_802C8228 +/* 802C8218 002C5178 C3 83 00 00 */ lfs f28, 0(r3) +/* 802C821C 002C517C 48 00 00 0C */ b lbl_802C8228 +lbl_802C8220: +/* 802C8220 002C5180 38 84 00 08 */ addi r4, r4, 8 +/* 802C8224 002C5184 42 00 FF DC */ bdnz lbl_802C8200 +lbl_802C8228: +/* 802C8228 002C5188 7F A4 EB 78 */ mr r4, r29 +/* 802C822C 002C518C 7F E5 FB 78 */ mr r5, r31 +/* 802C8230 002C5190 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C8234 002C5194 48 09 1F 8D */ bl GetPrimitive__17CTextRenderBufferCFi +/* 802C8238 002C5198 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802C823C 002C519C 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 802C8240 002C51A0 A8 A1 00 1C */ lha r5, 0x1c(r1) +/* 802C8244 002C51A4 A8 81 00 1E */ lha r4, 0x1e(r1) +/* 802C8248 002C51A8 A8 61 00 20 */ lha r3, 0x20(r1) +/* 802C824C 002C51AC 88 01 00 22 */ lbz r0, 0x22(r1) +/* 802C8250 002C51B0 90 E1 00 24 */ stw r7, 0x24(r1) +/* 802C8254 002C51B4 C0 0D 9B 08 */ lfs f0, lbl_805A86C8@sda21(r13) +/* 802C8258 002C51B8 90 C1 00 28 */ stw r6, 0x28(r1) +/* 802C825C 002C51BC B0 A1 00 2C */ sth r5, 0x2c(r1) +/* 802C8260 002C51C0 B0 81 00 2E */ sth r4, 0x2e(r1) +/* 802C8264 002C51C4 B0 61 00 30 */ sth r3, 0x30(r1) +/* 802C8268 002C51C8 98 01 00 32 */ stb r0, 0x32(r1) +/* 802C826C 002C51CC C0 5E 00 3C */ lfs f2, 0x3c(r30) +/* 802C8270 002C51D0 C0 3E 00 54 */ lfs f1, 0x54(r30) +/* 802C8274 002C51D4 EC 42 E0 28 */ fsubs f2, f2, f28 +/* 802C8278 002C51D8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802C827C 002C51DC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C8280 002C51E0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C8284 002C51E4 40 80 00 0C */ bge lbl_802C8290 +/* 802C8288 002C51E8 38 61 00 0C */ addi r3, r1, 0xc +/* 802C828C 002C51EC 48 00 00 08 */ b lbl_802C8294 +lbl_802C8290: +/* 802C8290 002C51F0 38 6D 9B 08 */ addi r3, r13, lbl_805A86C8@sda21 +lbl_802C8294: +/* 802C8294 002C51F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 802C8298 002C51F8 C0 0D 9B 0C */ lfs f0, lbl_805A86CC@sda21(r13) +/* 802C829C 002C51FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C82A0 002C5200 40 80 00 08 */ bge lbl_802C82A8 +/* 802C82A4 002C5204 48 00 00 08 */ b lbl_802C82AC +lbl_802C82A8: +/* 802C82A8 002C5208 38 6D 9B 0C */ addi r3, r13, lbl_805A86CC@sda21 +lbl_802C82AC: +/* 802C82AC 002C520C C0 3E 00 58 */ lfs f1, 0x58(r30) +/* 802C82B0 002C5210 C0 03 00 00 */ lfs f0, 0(r3) +/* 802C82B4 002C5214 EC 3E 08 24 */ fdivs f1, f30, f1 +/* 802C82B8 002C5218 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C82BC 002C521C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C82C0 002C5220 EF BF 00 32 */ fmuls f29, f31, f0 +/* 802C82C4 002C5224 EF 9C 08 2A */ fadds f28, f28, f1 +/* 802C82C8 002C5228 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 802C82CC 002C522C 7F A3 EB 78 */ mr r3, r29 +/* 802C82D0 002C5230 7F E5 FB 78 */ mr r5, r31 +/* 802C82D4 002C5234 38 81 00 24 */ addi r4, r1, 0x24 +/* 802C82D8 002C5238 88 01 00 08 */ lbz r0, 8(r1) +/* 802C82DC 002C523C 98 01 00 13 */ stb r0, 0x13(r1) +/* 802C82E0 002C5240 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802C82E4 002C5244 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C82E8 002C5248 48 09 1C A1 */ bl SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei +/* 802C82EC 002C524C 3B FF 00 01 */ addi r31, r31, 1 +lbl_802C82F0: +/* 802C82F0 002C5250 80 1D 00 28 */ lwz r0, 0x28(r29) +/* 802C82F4 002C5254 7C 1F 00 00 */ cmpw r31, r0 +/* 802C82F8 002C5258 41 80 FE F4 */ blt lbl_802C81EC +lbl_802C82FC: +/* 802C82FC 002C525C C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 802C8300 002C5260 EC 00 D8 2A */ fadds f0, f0, f27 +/* 802C8304 002C5264 D0 1E 00 3C */ stfs f0, 0x3c(r30) +lbl_802C8308: +/* 802C8308 002C5268 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802C830C 002C526C C8 42 C3 F8 */ lfd f2, lbl_805AE118@sda21(r2) +/* 802C8310 002C5270 EC 20 D8 2A */ fadds f1, f0, f27 +/* 802C8314 002C5274 48 0C C9 99 */ bl fmod +/* 802C8318 002C5278 FC 00 08 18 */ frsp f0, f1 +/* 802C831C 002C527C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802C8320 002C5280 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802C8324 002C5284 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802C8328 002C5288 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 802C832C 002C528C CB C1 00 80 */ lfd f30, 0x80(r1) +/* 802C8330 002C5290 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 802C8334 002C5294 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 802C8338 002C5298 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 802C833C 002C529C CB 81 00 60 */ lfd f28, 0x60(r1) +/* 802C8340 002C52A0 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 +/* 802C8344 002C52A4 CB 61 00 50 */ lfd f27, 0x50(r1) +/* 802C8348 002C52A8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802C834C 002C52AC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802C8350 002C52B0 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802C8354 002C52B4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802C8358 002C52B8 7C 08 03 A6 */ mtlr r0 +/* 802C835C 002C52BC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802C8360 002C52C0 4E 80 00 20 */ blr + +.global ClearRenderBuffer__15CGuiTextSupportFv +ClearRenderBuffer__15CGuiTextSupportFv: +/* 802C8364 002C52C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C8368 002C52C8 7C 08 02 A6 */ mflr r0 +/* 802C836C 002C52CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C8370 002C52D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C8374 002C52D4 7C 7F 1B 78 */ mr r31, r3 +/* 802C8378 002C52D8 38 7F 00 60 */ addi r3, r31, 0x60 +/* 802C837C 002C52DC 48 00 07 4D */ bl sub_802c8ac8 +/* 802C8380 002C52E0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C8384 002C52E4 38 00 00 00 */ li r0, 0 +/* 802C8388 002C52E8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802C838C 002C52EC 38 7F 02 EC */ addi r3, r31, 0x2ec +/* 802C8390 002C52F0 38 81 00 08 */ addi r4, r1, 8 +/* 802C8394 002C52F4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802C8398 002C52F8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802C839C 002C52FC 90 A1 00 18 */ stw r5, 0x18(r1) +/* 802C83A0 002C5300 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C83A4 002C5304 48 00 00 25 */ bl "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" +/* 802C83A8 002C5308 38 61 00 08 */ addi r3, r1, 8 +/* 802C83AC 002C530C 38 80 FF FF */ li r4, -1 +/* 802C83B0 002C5310 48 00 1D 41 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +/* 802C83B4 002C5314 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C83B8 002C5318 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C83BC 002C531C 7C 08 03 A6 */ mtlr r0 +/* 802C83C0 002C5320 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C83C4 002C5324 4E 80 00 20 */ blr + +.global "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" +"__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv": +/* 802C83C8 002C5328 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C83CC 002C532C 7C 08 02 A6 */ mflr r0 +/* 802C83D0 002C5330 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C83D4 002C5334 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C83D8 002C5338 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C83DC 002C533C 7C 9E 23 78 */ mr r30, r4 +/* 802C83E0 002C5340 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C83E4 002C5344 7C 7D 1B 78 */ mr r29, r3 +/* 802C83E8 002C5348 7C 1D F0 40 */ cmplw r29, r30 +/* 802C83EC 002C534C 40 82 00 08 */ bne lbl_802C83F4 +/* 802C83F0 002C5350 48 00 00 5C */ b lbl_802C844C +lbl_802C83F4: +/* 802C83F4 002C5354 83 FD 00 08 */ lwz r31, 8(r29) +/* 802C83F8 002C5358 80 9D 00 04 */ lwz r4, 4(r29) +/* 802C83FC 002C535C 48 00 00 10 */ b lbl_802C840C +lbl_802C8400: +/* 802C8400 002C5360 7F A3 EB 78 */ mr r3, r29 +/* 802C8404 002C5364 48 00 1C 59 */ bl sub_802ca05c +/* 802C8408 002C5368 7C 64 1B 78 */ mr r4, r3 +lbl_802C840C: +/* 802C840C 002C536C 7C 04 F8 40 */ cmplw r4, r31 +/* 802C8410 002C5370 40 82 FF F0 */ bne lbl_802C8400 +/* 802C8414 002C5374 81 1E 00 08 */ lwz r8, 8(r30) +/* 802C8418 002C5378 7F A3 EB 78 */ mr r3, r29 +/* 802C841C 002C537C 80 FE 00 04 */ lwz r7, 4(r30) +/* 802C8420 002C5380 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C8424 002C5384 91 01 00 0C */ stw r8, 0xc(r1) +/* 802C8428 002C5388 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C842C 002C538C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802C8430 002C5390 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802C8434 002C5394 80 1D 00 08 */ lwz r0, 8(r29) +/* 802C8438 002C5398 91 01 00 08 */ stw r8, 8(r1) +/* 802C843C 002C539C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802C8440 002C53A0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C8444 002C53A4 48 00 00 25 */ bl sub_802c8468 +/* 802C8448 002C53A8 7F A3 EB 78 */ mr r3, r29 +lbl_802C844C: +/* 802C844C 002C53AC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C8450 002C53B0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C8454 002C53B4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C8458 002C53B8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C845C 002C53BC 7C 08 03 A6 */ mtlr r0 +/* 802C8460 002C53C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C8464 002C53C4 4E 80 00 20 */ blr + +.global sub_802c8468 +sub_802c8468: +/* 802C8468 002C53C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C846C 002C53CC 7C 08 02 A6 */ mflr r0 +/* 802C8470 002C53D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8474 002C53D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8478 002C53D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C847C 002C53DC 7C DE 33 78 */ mr r30, r6 +/* 802C8480 002C53E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C8484 002C53E4 7C 9D 23 78 */ mr r29, r4 +/* 802C8488 002C53E8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C848C 002C53EC 7C 7C 1B 78 */ mr r28, r3 +/* 802C8490 002C53F0 83 E5 00 00 */ lwz r31, 0(r5) +/* 802C8494 002C53F4 48 00 00 1C */ b lbl_802C84B0 +lbl_802C8498: +/* 802C8498 002C53F8 7F 84 E3 78 */ mr r4, r28 +/* 802C849C 002C53FC 7F A5 EB 78 */ mr r5, r29 +/* 802C84A0 002C5400 38 61 00 08 */ addi r3, r1, 8 +/* 802C84A4 002C5404 38 DF 00 08 */ addi r6, r31, 8 +/* 802C84A8 002C5408 48 00 00 35 */ bl sub_802c84dc +/* 802C84AC 002C540C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_802C84B0: +/* 802C84B0 002C5410 80 1E 00 00 */ lwz r0, 0(r30) +/* 802C84B4 002C5414 7C 1F 00 40 */ cmplw r31, r0 +/* 802C84B8 002C5418 40 82 FF E0 */ bne lbl_802C8498 +/* 802C84BC 002C541C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C84C0 002C5420 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C84C4 002C5424 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C84C8 002C5428 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C84CC 002C542C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C84D0 002C5430 7C 08 03 A6 */ mtlr r0 +/* 802C84D4 002C5434 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C84D8 002C5438 4E 80 00 20 */ blr + +.global sub_802c84dc +sub_802c84dc: +/* 802C84DC 002C543C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C84E0 002C5440 7C 08 02 A6 */ mflr r0 +/* 802C84E4 002C5444 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C84E8 002C5448 7C 80 23 78 */ mr r0, r4 +/* 802C84EC 002C544C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C84F0 002C5450 7C 7F 1B 78 */ mr r31, r3 +/* 802C84F4 002C5454 7C 03 03 78 */ mr r3, r0 +/* 802C84F8 002C5458 80 85 00 00 */ lwz r4, 0(r5) +/* 802C84FC 002C545C 7C C5 33 78 */ mr r5, r6 +/* 802C8500 002C5460 48 00 00 1D */ bl sub_802c851c +/* 802C8504 002C5464 90 7F 00 00 */ stw r3, 0(r31) +/* 802C8508 002C5468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C850C 002C546C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8510 002C5470 7C 08 03 A6 */ mtlr r0 +/* 802C8514 002C5474 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8518 002C5478 4E 80 00 20 */ blr + +.global sub_802c851c +sub_802c851c: +/* 802C851C 002C547C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8520 002C5480 7C 08 02 A6 */ mflr r0 +/* 802C8524 002C5484 7C A6 2B 78 */ mr r6, r5 +/* 802C8528 002C5488 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C852C 002C548C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8530 002C5490 7C 9F 23 78 */ mr r31, r4 +/* 802C8534 002C5494 7F E5 FB 78 */ mr r5, r31 +/* 802C8538 002C5498 93 C1 00 08 */ stw r30, 8(r1) +/* 802C853C 002C549C 7C 7E 1B 78 */ mr r30, r3 +/* 802C8540 002C54A0 80 84 00 00 */ lwz r4, 0(r4) +/* 802C8544 002C54A4 48 00 00 49 */ bl sub_802c858c +/* 802C8548 002C54A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C854C 002C54AC 7C 1F 00 40 */ cmplw r31, r0 +/* 802C8550 002C54B0 40 82 00 08 */ bne lbl_802C8558 +/* 802C8554 002C54B4 90 7E 00 04 */ stw r3, 4(r30) +lbl_802C8558: +/* 802C8558 002C54B8 80 83 00 00 */ lwz r4, 0(r3) +/* 802C855C 002C54BC 90 64 00 04 */ stw r3, 4(r4) +/* 802C8560 002C54C0 80 83 00 04 */ lwz r4, 4(r3) +/* 802C8564 002C54C4 90 64 00 00 */ stw r3, 0(r4) +/* 802C8568 002C54C8 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802C856C 002C54CC 38 04 00 01 */ addi r0, r4, 1 +/* 802C8570 002C54D0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802C8574 002C54D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8578 002C54D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C857C 002C54DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C8580 002C54E0 7C 08 03 A6 */ mtlr r0 +/* 802C8584 002C54E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8588 002C54E8 4E 80 00 20 */ blr + +.global sub_802c858c +sub_802c858c: +/* 802C858C 002C54EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8590 002C54F0 7C 08 02 A6 */ mflr r0 +/* 802C8594 002C54F4 3C 60 80 3D */ lis r3, lbl_803D68E0@ha +/* 802C8598 002C54F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C859C 002C54FC 38 03 68 E0 */ addi r0, r3, lbl_803D68E0@l +/* 802C85A0 002C5500 38 60 02 60 */ li r3, 0x260 +/* 802C85A4 002C5504 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C85A8 002C5508 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C85AC 002C550C 7C DE 33 78 */ mr r30, r6 +/* 802C85B0 002C5510 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C85B4 002C5514 7C BD 2B 78 */ mr r29, r5 +/* 802C85B8 002C5518 38 A0 00 00 */ li r5, 0 +/* 802C85BC 002C551C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C85C0 002C5520 7C 9C 23 78 */ mr r28, r4 +/* 802C85C4 002C5524 7C 04 03 78 */ mr r4, r0 +/* 802C85C8 002C5528 48 04 D2 51 */ bl __nwa__FUlPCcPCc +/* 802C85CC 002C552C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C85D0 002C5530 41 82 00 0C */ beq lbl_802C85DC +/* 802C85D4 002C5534 93 9F 00 00 */ stw r28, 0(r31) +/* 802C85D8 002C5538 93 BF 00 04 */ stw r29, 4(r31) +lbl_802C85DC: +/* 802C85DC 002C553C 34 7F 00 08 */ addic. r3, r31, 8 +/* 802C85E0 002C5540 41 82 00 0C */ beq lbl_802C85EC +/* 802C85E4 002C5544 7F C4 F3 78 */ mr r4, r30 +/* 802C85E8 002C5548 48 00 00 29 */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer +lbl_802C85EC: +/* 802C85EC 002C554C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C85F0 002C5550 7F E3 FB 78 */ mr r3, r31 +/* 802C85F4 002C5554 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C85F8 002C5558 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C85FC 002C555C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C8600 002C5560 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C8604 002C5564 7C 08 03 A6 */ mtlr r0 +/* 802C8608 002C5568 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C860C 002C556C 4E 80 00 20 */ blr + +.global __as__17CTextRenderBufferFRC17CTextRenderBuffer +__as__17CTextRenderBufferFRC17CTextRenderBuffer: +/* 802C8610 002C5570 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8614 002C5574 7C 08 02 A6 */ mflr r0 +/* 802C8618 002C5578 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C861C 002C557C BF 41 00 08 */ stmw r26, 8(r1) +/* 802C8620 002C5580 7C 9F 23 78 */ mr r31, r4 +/* 802C8624 002C5584 7C 7E 1B 78 */ mr r30, r3 +/* 802C8628 002C5588 80 04 00 00 */ lwz r0, 0(r4) +/* 802C862C 002C558C 90 03 00 00 */ stw r0, 0(r3) +/* 802C8630 002C5590 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8634 002C5594 90 03 00 08 */ stw r0, 8(r3) +/* 802C8638 002C5598 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C863C 002C559C 90 03 00 0C */ stw r0, 0xc(r3) +/* 802C8640 002C55A0 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8644 002C55A4 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8648 002C55A8 40 82 00 1C */ bne lbl_802C8664 +/* 802C864C 002C55AC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802C8650 002C55B0 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8654 002C55B4 40 82 00 10 */ bne lbl_802C8664 +/* 802C8658 002C55B8 38 00 00 00 */ li r0, 0 +/* 802C865C 002C55BC 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802C8660 002C55C0 48 00 00 6C */ b lbl_802C86CC +lbl_802C8664: +/* 802C8664 002C55C4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802C8668 002C55C8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802C866C 002C55CC 40 82 00 10 */ bne lbl_802C867C +/* 802C8670 002C55D0 38 00 00 00 */ li r0, 0 +/* 802C8674 002C55D4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802C8678 002C55D8 48 00 00 18 */ b lbl_802C8690 +lbl_802C867C: +/* 802C867C 002C55DC 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C8680 002C55E0 38 A0 00 00 */ li r5, 0 +/* 802C8684 002C55E4 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8688 002C55E8 48 04 D1 91 */ bl __nwa__FUlPCcPCc +/* 802C868C 002C55EC 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_802C8690: +/* 802C8690 002C55F0 83 5E 00 08 */ lwz r26, 8(r30) +/* 802C8694 002C55F4 3B A0 00 00 */ li r29, 0 +/* 802C8698 002C55F8 83 7F 00 10 */ lwz r27, 0x10(r31) +/* 802C869C 002C55FC 83 9E 00 10 */ lwz r28, 0x10(r30) +/* 802C86A0 002C5600 48 00 00 24 */ b lbl_802C86C4 +lbl_802C86A4: +/* 802C86A4 002C5604 28 1C 00 00 */ cmplwi r28, 0 +/* 802C86A8 002C5608 41 82 00 10 */ beq lbl_802C86B8 +/* 802C86AC 002C560C 7F 83 E3 78 */ mr r3, r28 +/* 802C86B0 002C5610 7F 64 DB 78 */ mr r4, r27 +/* 802C86B4 002C5614 48 07 87 F5 */ bl __ct__6CTokenFRC6CToken +lbl_802C86B8: +/* 802C86B8 002C5618 3B 9C 00 08 */ addi r28, r28, 8 +/* 802C86BC 002C561C 3B BD 00 01 */ addi r29, r29, 1 +/* 802C86C0 002C5620 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802C86C4: +/* 802C86C4 002C5624 7C 1D D0 00 */ cmpw r29, r26 +/* 802C86C8 002C5628 41 80 FF DC */ blt lbl_802C86A4 +lbl_802C86CC: +/* 802C86CC 002C562C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802C86D0 002C5630 38 9F 00 14 */ addi r4, r31, 0x14 +/* 802C86D4 002C5634 48 00 01 C9 */ bl sub_802c889c +/* 802C86D8 002C5638 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802C86DC 002C563C 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802C86E0 002C5640 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 802C86E4 002C5644 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802C86E8 002C5648 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802C86EC 002C564C 2C 00 00 00 */ cmpwi r0, 0 +/* 802C86F0 002C5650 40 82 00 1C */ bne lbl_802C870C +/* 802C86F4 002C5654 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 802C86F8 002C5658 2C 00 00 00 */ cmpwi r0, 0 +/* 802C86FC 002C565C 40 82 00 10 */ bne lbl_802C870C +/* 802C8700 002C5660 38 00 00 00 */ li r0, 0 +/* 802C8704 002C5664 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802C8708 002C5668 48 00 00 64 */ b lbl_802C876C +lbl_802C870C: +/* 802C870C 002C566C 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802C8710 002C5670 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C8714 002C5674 40 82 00 10 */ bne lbl_802C8724 +/* 802C8718 002C5678 38 00 00 00 */ li r0, 0 +/* 802C871C 002C567C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802C8720 002C5680 48 00 00 18 */ b lbl_802C8738 +lbl_802C8724: +/* 802C8724 002C5684 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C8728 002C5688 38 A0 00 00 */ li r5, 0 +/* 802C872C 002C568C 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8730 002C5690 48 04 D0 E9 */ bl __nwa__FUlPCcPCc +/* 802C8734 002C5694 90 7E 00 30 */ stw r3, 0x30(r30) +lbl_802C8738: +/* 802C8738 002C5698 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 802C873C 002C569C 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 802C8740 002C56A0 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 802C8744 002C56A4 7C 09 03 A6 */ mtctr r0 +/* 802C8748 002C56A8 2C 00 00 00 */ cmpwi r0, 0 +/* 802C874C 002C56AC 40 81 00 20 */ ble lbl_802C876C +lbl_802C8750: +/* 802C8750 002C56B0 28 03 00 00 */ cmplwi r3, 0 +/* 802C8754 002C56B4 41 82 00 0C */ beq lbl_802C8760 +/* 802C8758 002C56B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802C875C 002C56BC 90 03 00 00 */ stw r0, 0(r3) +lbl_802C8760: +/* 802C8760 002C56C0 38 63 00 04 */ addi r3, r3, 4 +/* 802C8764 002C56C4 38 84 00 04 */ addi r4, r4, 4 +/* 802C8768 002C56C8 42 00 FF E8 */ bdnz lbl_802C8750 +lbl_802C876C: +/* 802C876C 002C56CC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802C8770 002C56D0 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802C8774 002C56D4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802C8778 002C56D8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802C877C 002C56DC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802C8780 002C56E0 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8784 002C56E4 40 82 00 1C */ bne lbl_802C87A0 +/* 802C8788 002C56E8 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802C878C 002C56EC 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8790 002C56F0 40 82 00 10 */ bne lbl_802C87A0 +/* 802C8794 002C56F4 38 00 00 00 */ li r0, 0 +/* 802C8798 002C56F8 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802C879C 002C56FC 48 00 00 64 */ b lbl_802C8800 +lbl_802C87A0: +/* 802C87A0 002C5700 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802C87A4 002C5704 2C 03 00 00 */ cmpwi r3, 0 +/* 802C87A8 002C5708 40 82 00 10 */ bne lbl_802C87B8 +/* 802C87AC 002C570C 38 00 00 00 */ li r0, 0 +/* 802C87B0 002C5710 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802C87B4 002C5714 48 00 00 18 */ b lbl_802C87CC +lbl_802C87B8: +/* 802C87B8 002C5718 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C87BC 002C571C 38 A0 00 00 */ li r5, 0 +/* 802C87C0 002C5720 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C87C4 002C5724 48 04 D0 55 */ bl __nwa__FUlPCcPCc +/* 802C87C8 002C5728 90 7E 00 40 */ stw r3, 0x40(r30) +lbl_802C87CC: +/* 802C87CC 002C572C 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802C87D0 002C5730 80 9F 00 40 */ lwz r4, 0x40(r31) +/* 802C87D4 002C5734 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802C87D8 002C5738 7C 09 03 A6 */ mtctr r0 +/* 802C87DC 002C573C 2C 00 00 00 */ cmpwi r0, 0 +/* 802C87E0 002C5740 40 81 00 20 */ ble lbl_802C8800 +lbl_802C87E4: +/* 802C87E4 002C5744 28 03 00 00 */ cmplwi r3, 0 +/* 802C87E8 002C5748 41 82 00 0C */ beq lbl_802C87F4 +/* 802C87EC 002C574C 88 04 00 00 */ lbz r0, 0(r4) +/* 802C87F0 002C5750 98 03 00 00 */ stb r0, 0(r3) +lbl_802C87F4: +/* 802C87F4 002C5754 38 63 00 01 */ addi r3, r3, 1 +/* 802C87F8 002C5758 38 84 00 01 */ addi r4, r4, 1 +/* 802C87FC 002C575C 42 00 FF E8 */ bdnz lbl_802C87E4 +lbl_802C8800: +/* 802C8800 002C5760 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802C8804 002C5764 38 BE 00 54 */ addi r5, r30, 0x54 +/* 802C8808 002C5768 38 9F 00 54 */ addi r4, r31, 0x54 +/* 802C880C 002C576C 38 60 00 00 */ li r3, 0 +/* 802C8810 002C5770 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802C8814 002C5774 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802C8818 002C5778 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802C881C 002C577C 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 802C8820 002C5780 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802C8824 002C5784 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 802C8828 002C5788 98 1E 00 4D */ stb r0, 0x4d(r30) +/* 802C882C 002C578C 88 1F 00 4E */ lbz r0, 0x4e(r31) +/* 802C8830 002C5790 98 1E 00 4E */ stb r0, 0x4e(r30) +/* 802C8834 002C5794 88 1F 00 4F */ lbz r0, 0x4f(r31) +/* 802C8838 002C5798 98 1E 00 4F */ stb r0, 0x4f(r30) +/* 802C883C 002C579C 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 802C8840 002C57A0 90 1E 00 50 */ stw r0, 0x50(r30) +/* 802C8844 002C57A4 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 802C8848 002C57A8 7C 09 03 A6 */ mtctr r0 +/* 802C884C 002C57AC 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8850 002C57B0 40 81 00 2C */ ble lbl_802C887C +lbl_802C8854: +/* 802C8854 002C57B4 28 05 00 00 */ cmplwi r5, 0 +/* 802C8858 002C57B8 41 82 00 18 */ beq lbl_802C8870 +/* 802C885C 002C57BC 88 04 00 00 */ lbz r0, 0(r4) +/* 802C8860 002C57C0 98 05 00 00 */ stb r0, 0(r5) +/* 802C8864 002C57C4 80 04 00 04 */ lwz r0, 4(r4) +/* 802C8868 002C57C8 90 05 00 04 */ stw r0, 4(r5) +/* 802C886C 002C57CC 98 64 00 00 */ stb r3, 0(r4) +lbl_802C8870: +/* 802C8870 002C57D0 38 A5 00 08 */ addi r5, r5, 8 +/* 802C8874 002C57D4 38 84 00 08 */ addi r4, r4, 8 +/* 802C8878 002C57D8 42 00 FF DC */ bdnz lbl_802C8854 +lbl_802C887C: +/* 802C887C 002C57DC 80 1F 02 54 */ lwz r0, 0x254(r31) +/* 802C8880 002C57E0 7F C3 F3 78 */ mr r3, r30 +/* 802C8884 002C57E4 90 1E 02 54 */ stw r0, 0x254(r30) +/* 802C8888 002C57E8 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C888C 002C57EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8890 002C57F0 7C 08 03 A6 */ mtlr r0 +/* 802C8894 002C57F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8898 002C57F8 4E 80 00 20 */ blr + +.global sub_802c889c +sub_802c889c: +/* 802C889C 002C57FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C88A0 002C5800 7C 08 02 A6 */ mflr r0 +/* 802C88A4 002C5804 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C88A8 002C5808 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C88AC 002C580C 7C 9F 23 78 */ mr r31, r4 +/* 802C88B0 002C5810 93 C1 00 08 */ stw r30, 8(r1) +/* 802C88B4 002C5814 7C 7E 1B 78 */ mr r30, r3 +/* 802C88B8 002C5818 80 04 00 04 */ lwz r0, 4(r4) +/* 802C88BC 002C581C 90 03 00 04 */ stw r0, 4(r3) +/* 802C88C0 002C5820 80 04 00 08 */ lwz r0, 8(r4) +/* 802C88C4 002C5824 90 03 00 08 */ stw r0, 8(r3) +/* 802C88C8 002C5828 80 04 00 04 */ lwz r0, 4(r4) +/* 802C88CC 002C582C 2C 00 00 00 */ cmpwi r0, 0 +/* 802C88D0 002C5830 40 82 00 1C */ bne lbl_802C88EC +/* 802C88D4 002C5834 80 1F 00 08 */ lwz r0, 8(r31) +/* 802C88D8 002C5838 2C 00 00 00 */ cmpwi r0, 0 +/* 802C88DC 002C583C 40 82 00 10 */ bne lbl_802C88EC +/* 802C88E0 002C5840 38 00 00 00 */ li r0, 0 +/* 802C88E4 002C5844 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C88E8 002C5848 48 00 00 44 */ b lbl_802C892C +lbl_802C88EC: +/* 802C88EC 002C584C 80 1E 00 08 */ lwz r0, 8(r30) +/* 802C88F0 002C5850 1C 60 00 1C */ mulli r3, r0, 0x1c +/* 802C88F4 002C5854 2C 03 00 00 */ cmpwi r3, 0 +/* 802C88F8 002C5858 40 82 00 10 */ bne lbl_802C8908 +/* 802C88FC 002C585C 38 00 00 00 */ li r0, 0 +/* 802C8900 002C5860 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C8904 002C5864 48 00 00 18 */ b lbl_802C891C +lbl_802C8908: +/* 802C8908 002C5868 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C890C 002C586C 38 A0 00 00 */ li r5, 0 +/* 802C8910 002C5870 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8914 002C5874 48 04 CF 05 */ bl __nwa__FUlPCcPCc +/* 802C8918 002C5878 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802C891C: +/* 802C891C 002C587C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8920 002C5880 80 9E 00 04 */ lwz r4, 4(r30) +/* 802C8924 002C5884 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C8928 002C5888 48 00 00 21 */ bl sub_802c8948 +lbl_802C892C: +/* 802C892C 002C588C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8930 002C5890 7F C3 F3 78 */ mr r3, r30 +/* 802C8934 002C5894 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8938 002C5898 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C893C 002C589C 7C 08 03 A6 */ mtlr r0 +/* 802C8940 002C58A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8944 002C58A4 4E 80 00 20 */ blr + +.global sub_802c8948 +sub_802c8948: +/* 802C8948 002C58A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C894C 002C58AC 7C 08 02 A6 */ mflr r0 +/* 802C8950 002C58B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8954 002C58B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8958 002C58B8 7C 7F 1B 78 */ mr r31, r3 +/* 802C895C 002C58BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C8960 002C58C0 7C BE 2B 78 */ mr r30, r5 +/* 802C8964 002C58C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C8968 002C58C8 3B A0 00 00 */ li r29, 0 +/* 802C896C 002C58CC 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C8970 002C58D0 7C 9C 23 78 */ mr r28, r4 +/* 802C8974 002C58D4 48 00 00 1C */ b lbl_802C8990 +lbl_802C8978: +/* 802C8978 002C58D8 7F C3 F3 78 */ mr r3, r30 +/* 802C897C 002C58DC 7F E4 FB 78 */ mr r4, r31 +/* 802C8980 002C58E0 48 00 00 3D */ bl sub_802c89bc +/* 802C8984 002C58E4 3B DE 00 1C */ addi r30, r30, 0x1c +/* 802C8988 002C58E8 3B BD 00 01 */ addi r29, r29, 1 +/* 802C898C 002C58EC 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802C8990: +/* 802C8990 002C58F0 7C 1D E0 00 */ cmpw r29, r28 +/* 802C8994 002C58F4 41 80 FF E4 */ blt lbl_802C8978 +/* 802C8998 002C58F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C899C 002C58FC 7F C3 F3 78 */ mr r3, r30 +/* 802C89A0 002C5900 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C89A4 002C5904 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C89A8 002C5908 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C89AC 002C590C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C89B0 002C5910 7C 08 03 A6 */ mtlr r0 +/* 802C89B4 002C5914 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C89B8 002C5918 4E 80 00 20 */ blr + +.global sub_802c89bc +sub_802c89bc: +/* 802C89BC 002C591C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C89C0 002C5920 7C 08 02 A6 */ mflr r0 +/* 802C89C4 002C5924 28 03 00 00 */ cmplwi r3, 0 +/* 802C89C8 002C5928 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C89CC 002C592C 41 82 00 08 */ beq lbl_802C89D4 +/* 802C89D0 002C5930 48 00 00 15 */ bl sub_802c89e4 +lbl_802C89D4: +/* 802C89D4 002C5934 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C89D8 002C5938 7C 08 03 A6 */ mtlr r0 +/* 802C89DC 002C593C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C89E0 002C5940 4E 80 00 20 */ blr + +.global sub_802c89e4 +sub_802c89e4: +/* 802C89E4 002C5944 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C89E8 002C5948 7C 08 02 A6 */ mflr r0 +/* 802C89EC 002C594C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C89F0 002C5950 BF 41 00 08 */ stmw r26, 8(r1) +/* 802C89F4 002C5954 7C 9B 23 78 */ mr r27, r4 +/* 802C89F8 002C5958 7C 7A 1B 78 */ mr r26, r3 +/* 802C89FC 002C595C C0 04 00 00 */ lfs f0, 0(r4) +/* 802C8A00 002C5960 D0 03 00 00 */ stfs f0, 0(r3) +/* 802C8A04 002C5964 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8A08 002C5968 90 03 00 08 */ stw r0, 8(r3) +/* 802C8A0C 002C596C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C8A10 002C5970 90 03 00 0C */ stw r0, 0xc(r3) +/* 802C8A14 002C5974 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8A18 002C5978 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8A1C 002C597C 40 82 00 1C */ bne lbl_802C8A38 +/* 802C8A20 002C5980 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 802C8A24 002C5984 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8A28 002C5988 40 82 00 10 */ bne lbl_802C8A38 +/* 802C8A2C 002C598C 38 00 00 00 */ li r0, 0 +/* 802C8A30 002C5990 90 1A 00 10 */ stw r0, 0x10(r26) +/* 802C8A34 002C5994 48 00 00 6C */ b lbl_802C8AA0 +lbl_802C8A38: +/* 802C8A38 002C5998 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 802C8A3C 002C599C 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802C8A40 002C59A0 40 82 00 10 */ bne lbl_802C8A50 +/* 802C8A44 002C59A4 38 00 00 00 */ li r0, 0 +/* 802C8A48 002C59A8 90 1A 00 10 */ stw r0, 0x10(r26) +/* 802C8A4C 002C59AC 48 00 00 18 */ b lbl_802C8A64 +lbl_802C8A50: +/* 802C8A50 002C59B0 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C8A54 002C59B4 38 A0 00 00 */ li r5, 0 +/* 802C8A58 002C59B8 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8A5C 002C59BC 48 04 CD BD */ bl __nwa__FUlPCcPCc +/* 802C8A60 002C59C0 90 7A 00 10 */ stw r3, 0x10(r26) +lbl_802C8A64: +/* 802C8A64 002C59C4 83 9A 00 08 */ lwz r28, 8(r26) +/* 802C8A68 002C59C8 3B E0 00 00 */ li r31, 0 +/* 802C8A6C 002C59CC 83 BB 00 10 */ lwz r29, 0x10(r27) +/* 802C8A70 002C59D0 83 DA 00 10 */ lwz r30, 0x10(r26) +/* 802C8A74 002C59D4 48 00 00 24 */ b lbl_802C8A98 +lbl_802C8A78: +/* 802C8A78 002C59D8 28 1E 00 00 */ cmplwi r30, 0 +/* 802C8A7C 002C59DC 41 82 00 10 */ beq lbl_802C8A8C +/* 802C8A80 002C59E0 7F C3 F3 78 */ mr r3, r30 +/* 802C8A84 002C59E4 7F A4 EB 78 */ mr r4, r29 +/* 802C8A88 002C59E8 48 07 84 21 */ bl __ct__6CTokenFRC6CToken +lbl_802C8A8C: +/* 802C8A8C 002C59EC 3B DE 00 08 */ addi r30, r30, 8 +/* 802C8A90 002C59F0 3B FF 00 01 */ addi r31, r31, 1 +/* 802C8A94 002C59F4 3B BD 00 08 */ addi r29, r29, 8 +lbl_802C8A98: +/* 802C8A98 002C59F8 7C 1F E0 00 */ cmpw r31, r28 +/* 802C8A9C 002C59FC 41 80 FF DC */ blt lbl_802C8A78 +lbl_802C8AA0: +/* 802C8AA0 002C5A00 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802C8AA4 002C5A04 7F 43 D3 78 */ mr r3, r26 +/* 802C8AA8 002C5A08 D0 1A 00 14 */ stfs f0, 0x14(r26) +/* 802C8AAC 002C5A0C C0 1B 00 18 */ lfs f0, 0x18(r27) +/* 802C8AB0 002C5A10 D0 1A 00 18 */ stfs f0, 0x18(r26) +/* 802C8AB4 002C5A14 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C8AB8 002C5A18 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8ABC 002C5A1C 7C 08 03 A6 */ mtlr r0 +/* 802C8AC0 002C5A20 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8AC4 002C5A24 4E 80 00 20 */ blr + +.global sub_802c8ac8 +sub_802c8ac8: +/* 802C8AC8 002C5A28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8ACC 002C5A2C 7C 08 02 A6 */ mflr r0 +/* 802C8AD0 002C5A30 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8AD4 002C5A34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8AD8 002C5A38 7C 7F 1B 78 */ mr r31, r3 +/* 802C8ADC 002C5A3C 88 03 02 58 */ lbz r0, 0x258(r3) +/* 802C8AE0 002C5A40 28 00 00 00 */ cmplwi r0, 0 +/* 802C8AE4 002C5A44 41 82 00 08 */ beq lbl_802C8AEC +/* 802C8AE8 002C5A48 48 00 00 21 */ bl sub_802c8b08 +lbl_802C8AEC: +/* 802C8AEC 002C5A4C 38 00 00 00 */ li r0, 0 +/* 802C8AF0 002C5A50 98 1F 02 58 */ stb r0, 0x258(r31) +/* 802C8AF4 002C5A54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8AF8 002C5A58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8AFC 002C5A5C 7C 08 03 A6 */ mtlr r0 +/* 802C8B00 002C5A60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8B04 002C5A64 4E 80 00 20 */ blr + +.global sub_802c8b08 +sub_802c8b08: +/* 802C8B08 002C5A68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8B0C 002C5A6C 7C 08 02 A6 */ mflr r0 +/* 802C8B10 002C5A70 38 80 FF FF */ li r4, -1 +/* 802C8B14 002C5A74 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8B18 002C5A78 4B D5 FE 45 */ bl __dt__17CTextRenderBufferFv +/* 802C8B1C 002C5A7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8B20 002C5A80 7C 08 03 A6 */ mtlr r0 +/* 802C8B24 002C5A84 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8B28 002C5A88 4E 80 00 20 */ blr + +.global CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +CheckAndRebuildRenderBuffer__15CGuiTextSupportFv: +/* 802C8B2C 002C5A8C 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 802C8B30 002C5A90 7C 08 02 A6 */ mflr r0 +/* 802C8B34 002C5A94 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 802C8B38 002C5A98 93 E1 02 BC */ stw r31, 0x2bc(r1) +/* 802C8B3C 002C5A9C 93 C1 02 B8 */ stw r30, 0x2b8(r1) +/* 802C8B40 002C5AA0 93 A1 02 B4 */ stw r29, 0x2b4(r1) +/* 802C8B44 002C5AA4 7C 7D 1B 78 */ mr r29, r3 +/* 802C8B48 002C5AA8 88 63 03 08 */ lbz r3, 0x308(r3) +/* 802C8B4C 002C5AAC 28 03 00 00 */ cmplwi r3, 0 +/* 802C8B50 002C5AB0 40 82 00 10 */ bne lbl_802C8B60 +/* 802C8B54 002C5AB4 88 1D 02 B8 */ lbz r0, 0x2b8(r29) +/* 802C8B58 002C5AB8 28 00 00 00 */ cmplwi r0, 0 +/* 802C8B5C 002C5ABC 41 82 00 18 */ beq lbl_802C8B74 +lbl_802C8B60: +/* 802C8B60 002C5AC0 28 03 00 00 */ cmplwi r3, 0 +/* 802C8B64 002C5AC4 41 82 01 4C */ beq lbl_802C8CB0 +/* 802C8B68 002C5AC8 80 1D 03 00 */ lwz r0, 0x300(r29) +/* 802C8B6C 002C5ACC 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8B70 002C5AD0 40 82 01 40 */ bne lbl_802C8CB0 +lbl_802C8B74: +/* 802C8B74 002C5AD4 7F A3 EB 78 */ mr r3, r29 +/* 802C8B78 002C5AD8 48 00 07 91 */ bl CheckAndRebuildTextBuffer__15CGuiTextSupportFv +/* 802C8B7C 002C5ADC 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C8B80 002C5AE0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802C8B84 002C5AE4 48 03 97 31 */ bl GetAssets__18CTextExecuteBufferFv +/* 802C8B88 002C5AE8 38 7D 02 BC */ addi r3, r29, 0x2bc +/* 802C8B8C 002C5AEC 38 81 00 30 */ addi r4, r1, 0x30 +/* 802C8B90 002C5AF0 4B D3 DC 75 */ bl sub_80006804 +/* 802C8B94 002C5AF4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C8B98 002C5AF8 83 C1 00 3C */ lwz r30, 0x3c(r1) +/* 802C8B9C 002C5AFC 54 00 18 38 */ slwi r0, r0, 3 +/* 802C8BA0 002C5B00 7F FE 02 14 */ add r31, r30, r0 +/* 802C8BA4 002C5B04 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802C8BA8 002C5B08 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802C8BAC 002C5B0C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802C8BB0 002C5B10 93 C1 00 08 */ stw r30, 8(r1) +/* 802C8BB4 002C5B14 48 00 00 14 */ b lbl_802C8BC8 +lbl_802C8BB8: +/* 802C8BB8 002C5B18 7F C3 F3 78 */ mr r3, r30 +/* 802C8BBC 002C5B1C 38 80 FF FF */ li r4, -1 +/* 802C8BC0 002C5B20 48 07 82 81 */ bl __dt__6CTokenFv +/* 802C8BC4 002C5B24 3B DE 00 08 */ addi r30, r30, 8 +lbl_802C8BC8: +/* 802C8BC8 002C5B28 7C 1E F8 40 */ cmplw r30, r31 +/* 802C8BCC 002C5B2C 40 82 FF EC */ bne lbl_802C8BB8 +/* 802C8BD0 002C5B30 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802C8BD4 002C5B34 28 03 00 00 */ cmplwi r3, 0 +/* 802C8BD8 002C5B38 41 82 00 08 */ beq lbl_802C8BE0 +/* 802C8BDC 002C5B3C 48 04 CD 55 */ bl Free__7CMemoryFPCv +lbl_802C8BE0: +/* 802C8BE0 002C5B40 7F A3 EB 78 */ mr r3, r29 +/* 802C8BE4 002C5B44 48 00 0F 8D */ bl _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +/* 802C8BE8 002C5B48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C8BEC 002C5B4C 41 82 00 B0 */ beq lbl_802C8C9C +/* 802C8BF0 002C5B50 7F A3 EB 78 */ mr r3, r29 +/* 802C8BF4 002C5B54 48 00 07 15 */ bl CheckAndRebuildTextBuffer__15CGuiTextSupportFv +/* 802C8BF8 002C5B58 88 1D 03 08 */ lbz r0, 0x308(r29) +/* 802C8BFC 002C5B5C 28 00 00 00 */ cmplwi r0, 0 +/* 802C8C00 002C5B60 41 82 00 40 */ beq lbl_802C8C40 +/* 802C8C04 002C5B64 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 802C8C08 002C5B68 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C8C0C 002C5B6C 80 BD 00 38 */ lwz r5, 0x38(r29) +/* 802C8C10 002C5B70 48 04 B7 3D */ bl __ct__9CVector2iFii +/* 802C8C14 002C5B74 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C8C18 002C5B78 7C 65 1B 78 */ mr r5, r3 +/* 802C8C1C 002C5B7C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802C8C20 002C5B80 48 03 8F 11 */ bl BuildRenderBufferPages__18CTextExecuteBufferFRC9CVector2i +/* 802C8C24 002C5B84 38 7D 02 EC */ addi r3, r29, 0x2ec +/* 802C8C28 002C5B88 38 81 00 40 */ addi r4, r1, 0x40 +/* 802C8C2C 002C5B8C 4B FF F7 9D */ bl "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" +/* 802C8C30 002C5B90 38 61 00 40 */ addi r3, r1, 0x40 +/* 802C8C34 002C5B94 38 80 FF FF */ li r4, -1 +/* 802C8C38 002C5B98 48 00 14 B9 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +/* 802C8C3C 002C5B9C 48 00 00 54 */ b lbl_802C8C90 +lbl_802C8C40: +/* 802C8C40 002C5BA0 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C8C44 002C5BA4 38 61 00 58 */ addi r3, r1, 0x58 +/* 802C8C48 002C5BA8 48 03 95 69 */ bl BuildRenderBuffer__18CTextExecuteBufferFv +/* 802C8C4C 002C5BAC 38 7D 00 60 */ addi r3, r29, 0x60 +/* 802C8C50 002C5BB0 38 81 00 58 */ addi r4, r1, 0x58 +/* 802C8C54 002C5BB4 48 00 00 7D */ bl sub_802c8cd0 +/* 802C8C58 002C5BB8 38 61 00 58 */ addi r3, r1, 0x58 +/* 802C8C5C 002C5BBC 38 80 FF FF */ li r4, -1 +/* 802C8C60 002C5BC0 4B D5 FC FD */ bl __dt__17CTextRenderBufferFv +/* 802C8C64 002C5BC4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C8C68 002C5BC8 38 9D 00 60 */ addi r4, r29, 0x60 +/* 802C8C6C 002C5BCC 48 09 0E 81 */ bl AccumulateTextBounds__17CTextRenderBufferFv +/* 802C8C70 002C5BD0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802C8C74 002C5BD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8C78 002C5BD8 90 7D 02 DC */ stw r3, 0x2dc(r29) +/* 802C8C7C 002C5BDC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802C8C80 002C5BE0 90 1D 02 E0 */ stw r0, 0x2e0(r29) +/* 802C8C84 002C5BE4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802C8C88 002C5BE8 90 7D 02 E4 */ stw r3, 0x2e4(r29) +/* 802C8C8C 002C5BEC 90 1D 02 E8 */ stw r0, 0x2e8(r29) +lbl_802C8C90: +/* 802C8C90 002C5BF0 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C8C94 002C5BF4 48 03 B0 55 */ bl Clear__18CTextExecuteBufferFv +/* 802C8C98 002C5BF8 48 00 00 0C */ b lbl_802C8CA4 +lbl_802C8C9C: +/* 802C8C9C 002C5BFC 38 60 00 00 */ li r3, 0 +/* 802C8CA0 002C5C00 48 00 00 14 */ b lbl_802C8CB4 +lbl_802C8CA4: +/* 802C8CA4 002C5C04 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +/* 802C8CA8 002C5C08 7F A3 EB 78 */ mr r3, r29 +/* 802C8CAC 002C5C0C 4B FF F4 CD */ bl Update__15CGuiTextSupportFf +lbl_802C8CB0: +/* 802C8CB0 002C5C10 38 60 00 01 */ li r3, 1 +lbl_802C8CB4: +/* 802C8CB4 002C5C14 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802C8CB8 002C5C18 83 E1 02 BC */ lwz r31, 0x2bc(r1) +/* 802C8CBC 002C5C1C 83 C1 02 B8 */ lwz r30, 0x2b8(r1) +/* 802C8CC0 002C5C20 83 A1 02 B4 */ lwz r29, 0x2b4(r1) +/* 802C8CC4 002C5C24 7C 08 03 A6 */ mtlr r0 +/* 802C8CC8 002C5C28 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 802C8CCC 002C5C2C 4E 80 00 20 */ blr + +.global sub_802c8cd0 +sub_802c8cd0: +/* 802C8CD0 002C5C30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8CD4 002C5C34 7C 08 02 A6 */ mflr r0 +/* 802C8CD8 002C5C38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8CDC 002C5C3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8CE0 002C5C40 7C 7F 1B 78 */ mr r31, r3 +/* 802C8CE4 002C5C44 48 00 00 1D */ bl sub_802c8d00 +/* 802C8CE8 002C5C48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8CEC 002C5C4C 7F E3 FB 78 */ mr r3, r31 +/* 802C8CF0 002C5C50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8CF4 002C5C54 7C 08 03 A6 */ mtlr r0 +/* 802C8CF8 002C5C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8CFC 002C5C5C 4E 80 00 20 */ blr + +.global sub_802c8d00 +sub_802c8d00: +/* 802C8D00 002C5C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8D04 002C5C64 7C 08 02 A6 */ mflr r0 +/* 802C8D08 002C5C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8D0C 002C5C6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8D10 002C5C70 7C 7F 1B 78 */ mr r31, r3 +/* 802C8D14 002C5C74 88 03 02 58 */ lbz r0, 0x258(r3) +/* 802C8D18 002C5C78 28 00 00 00 */ cmplwi r0, 0 +/* 802C8D1C 002C5C7C 40 82 00 14 */ bne lbl_802C8D30 +/* 802C8D20 002C5C80 48 00 05 C1 */ bl sub_802c92e0 +/* 802C8D24 002C5C84 38 00 00 01 */ li r0, 1 +/* 802C8D28 002C5C88 98 1F 02 58 */ stb r0, 0x258(r31) +/* 802C8D2C 002C5C8C 48 00 00 08 */ b lbl_802C8D34 +lbl_802C8D30: +/* 802C8D30 002C5C90 48 00 00 19 */ bl sub_802c8d48 +lbl_802C8D34: +/* 802C8D34 002C5C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8D38 002C5C98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8D3C 002C5C9C 7C 08 03 A6 */ mtlr r0 +/* 802C8D40 002C5CA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8D44 002C5CA4 4E 80 00 20 */ blr + +.global sub_802c8d48 +sub_802c8d48: +/* 802C8D48 002C5CA8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8D4C 002C5CAC 7C 08 02 A6 */ mflr r0 +/* 802C8D50 002C5CB0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8D54 002C5CB4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802C8D58 002C5CB8 7C 7E 1B 78 */ mr r30, r3 +/* 802C8D5C 002C5CBC 7C 9F 23 78 */ mr r31, r4 +/* 802C8D60 002C5CC0 38 7E 00 04 */ addi r3, r30, 4 +/* 802C8D64 002C5CC4 80 04 00 00 */ lwz r0, 0(r4) +/* 802C8D68 002C5CC8 38 9F 00 04 */ addi r4, r31, 4 +/* 802C8D6C 002C5CCC 90 1E 00 00 */ stw r0, 0(r30) +/* 802C8D70 002C5CD0 48 00 04 6D */ bl sub_802c91dc +/* 802C8D74 002C5CD4 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802C8D78 002C5CD8 38 9F 00 14 */ addi r4, r31, 0x14 +/* 802C8D7C 002C5CDC 48 00 02 FD */ bl sub_802c9078 +/* 802C8D80 002C5CE0 38 7E 00 24 */ addi r3, r30, 0x24 +/* 802C8D84 002C5CE4 38 9F 00 24 */ addi r4, r31, 0x24 +/* 802C8D88 002C5CE8 48 00 01 FD */ bl sub_802c8f84 +/* 802C8D8C 002C5CEC 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C8D90 002C5CF0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802C8D94 002C5CF4 48 00 00 F9 */ bl sub_802c8e8c +/* 802C8D98 002C5CF8 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 802C8D9C 002C5CFC 38 7E 00 50 */ addi r3, r30, 0x50 +/* 802C8DA0 002C5D00 38 1F 00 50 */ addi r0, r31, 0x50 +/* 802C8DA4 002C5D04 90 9E 00 44 */ stw r4, 0x44(r30) +/* 802C8DA8 002C5D08 7C 03 00 40 */ cmplw r3, r0 +/* 802C8DAC 002C5D0C 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802C8DB0 002C5D10 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802C8DB4 002C5D14 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 802C8DB8 002C5D18 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802C8DBC 002C5D1C 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 802C8DC0 002C5D20 98 1E 00 4D */ stb r0, 0x4d(r30) +/* 802C8DC4 002C5D24 88 1F 00 4E */ lbz r0, 0x4e(r31) +/* 802C8DC8 002C5D28 98 1E 00 4E */ stb r0, 0x4e(r30) +/* 802C8DCC 002C5D2C 88 1F 00 4F */ lbz r0, 0x4f(r31) +/* 802C8DD0 002C5D30 98 1E 00 4F */ stb r0, 0x4f(r30) +/* 802C8DD4 002C5D34 41 82 00 98 */ beq lbl_802C8E6C +/* 802C8DD8 002C5D38 3B 7E 00 54 */ addi r27, r30, 0x54 +/* 802C8DDC 002C5D3C 3B A0 00 00 */ li r29, 0 +/* 802C8DE0 002C5D40 7F 7C DB 78 */ mr r28, r27 +/* 802C8DE4 002C5D44 48 00 00 2C */ b lbl_802C8E10 +lbl_802C8DE8: +/* 802C8DE8 002C5D48 28 1C 00 00 */ cmplwi r28, 0 +/* 802C8DEC 002C5D4C 41 82 00 1C */ beq lbl_802C8E08 +/* 802C8DF0 002C5D50 88 1C 00 00 */ lbz r0, 0(r28) +/* 802C8DF4 002C5D54 28 00 00 00 */ cmplwi r0, 0 +/* 802C8DF8 002C5D58 41 82 00 10 */ beq lbl_802C8E08 +/* 802C8DFC 002C5D5C 80 7C 00 04 */ lwz r3, 4(r28) +/* 802C8E00 002C5D60 38 80 00 01 */ li r4, 1 +/* 802C8E04 002C5D64 48 04 50 FD */ bl __dt__16CGraphicsPaletteFv +lbl_802C8E08: +/* 802C8E08 002C5D68 3B 9C 00 08 */ addi r28, r28, 8 +/* 802C8E0C 002C5D6C 3B BD 00 01 */ addi r29, r29, 1 +lbl_802C8E10: +/* 802C8E10 002C5D70 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 802C8E14 002C5D74 7C 1D 00 00 */ cmpw r29, r0 +/* 802C8E18 002C5D78 41 80 FF D0 */ blt lbl_802C8DE8 +/* 802C8E1C 002C5D7C 38 60 00 00 */ li r3, 0 +/* 802C8E20 002C5D80 38 BF 00 54 */ addi r5, r31, 0x54 +/* 802C8E24 002C5D84 90 7E 00 50 */ stw r3, 0x50(r30) +/* 802C8E28 002C5D88 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 802C8E2C 002C5D8C 54 00 18 38 */ slwi r0, r0, 3 +/* 802C8E30 002C5D90 7C 85 02 14 */ add r4, r5, r0 +/* 802C8E34 002C5D94 48 00 00 28 */ b lbl_802C8E5C +lbl_802C8E38: +/* 802C8E38 002C5D98 28 1B 00 00 */ cmplwi r27, 0 +/* 802C8E3C 002C5D9C 41 82 00 18 */ beq lbl_802C8E54 +/* 802C8E40 002C5DA0 88 05 00 00 */ lbz r0, 0(r5) +/* 802C8E44 002C5DA4 98 1B 00 00 */ stb r0, 0(r27) +/* 802C8E48 002C5DA8 80 05 00 04 */ lwz r0, 4(r5) +/* 802C8E4C 002C5DAC 90 1B 00 04 */ stw r0, 4(r27) +/* 802C8E50 002C5DB0 98 65 00 00 */ stb r3, 0(r5) +lbl_802C8E54: +/* 802C8E54 002C5DB4 3B 7B 00 08 */ addi r27, r27, 8 +/* 802C8E58 002C5DB8 38 A5 00 08 */ addi r5, r5, 8 +lbl_802C8E5C: +/* 802C8E5C 002C5DBC 7C 05 20 40 */ cmplw r5, r4 +/* 802C8E60 002C5DC0 40 82 FF D8 */ bne lbl_802C8E38 +/* 802C8E64 002C5DC4 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 802C8E68 002C5DC8 90 1E 00 50 */ stw r0, 0x50(r30) +lbl_802C8E6C: +/* 802C8E6C 002C5DCC 80 1F 02 54 */ lwz r0, 0x254(r31) +/* 802C8E70 002C5DD0 7F C3 F3 78 */ mr r3, r30 +/* 802C8E74 002C5DD4 90 1E 02 54 */ stw r0, 0x254(r30) +/* 802C8E78 002C5DD8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802C8E7C 002C5DDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8E80 002C5DE0 7C 08 03 A6 */ mtlr r0 +/* 802C8E84 002C5DE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8E88 002C5DE8 4E 80 00 20 */ blr + +.global sub_802c8e8c +sub_802c8e8c: +/* 802C8E8C 002C5DEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8E90 002C5DF0 7C 08 02 A6 */ mflr r0 +/* 802C8E94 002C5DF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8E98 002C5DF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8E9C 002C5DFC 7C 7F 1B 78 */ mr r31, r3 +/* 802C8EA0 002C5E00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C8EA4 002C5E04 7C 9E 23 78 */ mr r30, r4 +/* 802C8EA8 002C5E08 7C 1F F0 40 */ cmplw r31, r30 +/* 802C8EAC 002C5E0C 40 82 00 08 */ bne lbl_802C8EB4 +/* 802C8EB0 002C5E10 48 00 00 BC */ b lbl_802C8F6C +lbl_802C8EB4: +/* 802C8EB4 002C5E14 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802C8EB8 002C5E18 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C8EBC 002C5E1C 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C8EC0 002C5E20 7C 64 02 14 */ add r3, r4, r0 +/* 802C8EC4 002C5E24 7C 04 18 50 */ subf r0, r4, r3 +/* 802C8EC8 002C5E28 90 61 00 14 */ stw r3, 0x14(r1) +/* 802C8ECC 002C5E2C 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C8ED0 002C5E30 90 81 00 08 */ stw r4, 8(r1) +/* 802C8ED4 002C5E34 7C 09 03 A6 */ mtctr r0 +/* 802C8ED8 002C5E38 7C 04 18 40 */ cmplw r4, r3 +/* 802C8EDC 002C5E3C 41 82 00 08 */ beq lbl_802C8EE4 +lbl_802C8EE0: +/* 802C8EE0 002C5E40 42 00 00 00 */ bdnz lbl_802C8EE0 +lbl_802C8EE4: +/* 802C8EE4 002C5E44 38 00 00 00 */ li r0, 0 +/* 802C8EE8 002C5E48 90 1F 00 04 */ stw r0, 4(r31) +/* 802C8EEC 002C5E4C 80 9E 00 04 */ lwz r4, 4(r30) +/* 802C8EF0 002C5E50 2C 04 00 00 */ cmpwi r4, 0 +/* 802C8EF4 002C5E54 40 82 00 28 */ bne lbl_802C8F1C +/* 802C8EF8 002C5E58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8EFC 002C5E5C 28 03 00 00 */ cmplwi r3, 0 +/* 802C8F00 002C5E60 41 82 00 08 */ beq lbl_802C8F08 +/* 802C8F04 002C5E64 48 04 CA 2D */ bl Free__7CMemoryFPCv +lbl_802C8F08: +/* 802C8F08 002C5E68 38 00 00 00 */ li r0, 0 +/* 802C8F0C 002C5E6C 90 1F 00 04 */ stw r0, 4(r31) +/* 802C8F10 002C5E70 90 1F 00 08 */ stw r0, 8(r31) +/* 802C8F14 002C5E74 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802C8F18 002C5E78 48 00 00 50 */ b lbl_802C8F68 +lbl_802C8F1C: +/* 802C8F1C 002C5E7C 7F E3 FB 78 */ mr r3, r31 +/* 802C8F20 002C5E80 48 00 14 DD */ bl "reserve__Q24rstl37vectorFi" +/* 802C8F24 002C5E84 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C8F28 002C5E88 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C8F2C 002C5E8C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8F30 002C5E90 7C 85 02 14 */ add r4, r5, r0 +/* 802C8F34 002C5E94 7C 05 20 50 */ subf r0, r5, r4 +/* 802C8F38 002C5E98 7C 09 03 A6 */ mtctr r0 +/* 802C8F3C 002C5E9C 7C 05 20 40 */ cmplw r5, r4 +/* 802C8F40 002C5EA0 41 82 00 20 */ beq lbl_802C8F60 +lbl_802C8F44: +/* 802C8F44 002C5EA4 28 03 00 00 */ cmplwi r3, 0 +/* 802C8F48 002C5EA8 41 82 00 0C */ beq lbl_802C8F54 +/* 802C8F4C 002C5EAC 88 05 00 00 */ lbz r0, 0(r5) +/* 802C8F50 002C5EB0 98 03 00 00 */ stb r0, 0(r3) +lbl_802C8F54: +/* 802C8F54 002C5EB4 38 63 00 01 */ addi r3, r3, 1 +/* 802C8F58 002C5EB8 38 A5 00 01 */ addi r5, r5, 1 +/* 802C8F5C 002C5EBC 42 00 FF E8 */ bdnz lbl_802C8F44 +lbl_802C8F60: +/* 802C8F60 002C5EC0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C8F64 002C5EC4 90 1F 00 04 */ stw r0, 4(r31) +lbl_802C8F68: +/* 802C8F68 002C5EC8 7F E3 FB 78 */ mr r3, r31 +lbl_802C8F6C: +/* 802C8F6C 002C5ECC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8F70 002C5ED0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C8F74 002C5ED4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C8F78 002C5ED8 7C 08 03 A6 */ mtlr r0 +/* 802C8F7C 002C5EDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8F80 002C5EE0 4E 80 00 20 */ blr + +.global sub_802c8f84 +sub_802c8f84: +/* 802C8F84 002C5EE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8F88 002C5EE8 7C 08 02 A6 */ mflr r0 +/* 802C8F8C 002C5EEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8F90 002C5EF0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8F94 002C5EF4 7C 7F 1B 78 */ mr r31, r3 +/* 802C8F98 002C5EF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C8F9C 002C5EFC 7C 9E 23 78 */ mr r30, r4 +/* 802C8FA0 002C5F00 7C 1F F0 40 */ cmplw r31, r30 +/* 802C8FA4 002C5F04 40 82 00 08 */ bne lbl_802C8FAC +/* 802C8FA8 002C5F08 48 00 00 B8 */ b lbl_802C9060 +lbl_802C8FAC: +/* 802C8FAC 002C5F0C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C8FB0 002C5F10 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8FB4 002C5F14 54 00 10 3A */ slwi r0, r0, 2 +/* 802C8FB8 002C5F18 7C 03 02 14 */ add r0, r3, r0 +/* 802C8FBC 002C5F1C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C8FC0 002C5F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8FC4 002C5F24 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C8FC8 002C5F28 90 61 00 08 */ stw r3, 8(r1) +/* 802C8FCC 002C5F2C 48 00 00 08 */ b lbl_802C8FD4 +lbl_802C8FD0: +/* 802C8FD0 002C5F30 38 63 00 04 */ addi r3, r3, 4 +lbl_802C8FD4: +/* 802C8FD4 002C5F34 7C 03 00 40 */ cmplw r3, r0 +/* 802C8FD8 002C5F38 40 82 FF F8 */ bne lbl_802C8FD0 +/* 802C8FDC 002C5F3C 38 00 00 00 */ li r0, 0 +/* 802C8FE0 002C5F40 90 1F 00 04 */ stw r0, 4(r31) +/* 802C8FE4 002C5F44 80 9E 00 04 */ lwz r4, 4(r30) +/* 802C8FE8 002C5F48 2C 04 00 00 */ cmpwi r4, 0 +/* 802C8FEC 002C5F4C 40 82 00 28 */ bne lbl_802C9014 +/* 802C8FF0 002C5F50 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8FF4 002C5F54 28 03 00 00 */ cmplwi r3, 0 +/* 802C8FF8 002C5F58 41 82 00 08 */ beq lbl_802C9000 +/* 802C8FFC 002C5F5C 48 04 C9 35 */ bl Free__7CMemoryFPCv +lbl_802C9000: +/* 802C9000 002C5F60 38 00 00 00 */ li r0, 0 +/* 802C9004 002C5F64 90 1F 00 04 */ stw r0, 4(r31) +/* 802C9008 002C5F68 90 1F 00 08 */ stw r0, 8(r31) +/* 802C900C 002C5F6C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802C9010 002C5F70 48 00 00 4C */ b lbl_802C905C +lbl_802C9014: +/* 802C9014 002C5F74 7F E3 FB 78 */ mr r3, r31 +/* 802C9018 002C5F78 4B D9 0C 91 */ bl "reserve__Q24rstl36vectorFi" +/* 802C901C 002C5F7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C9020 002C5F80 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C9024 002C5F84 54 00 10 3A */ slwi r0, r0, 2 +/* 802C9028 002C5F88 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C902C 002C5F8C 7C 85 02 14 */ add r4, r5, r0 +/* 802C9030 002C5F90 48 00 00 1C */ b lbl_802C904C +lbl_802C9034: +/* 802C9034 002C5F94 28 03 00 00 */ cmplwi r3, 0 +/* 802C9038 002C5F98 41 82 00 0C */ beq lbl_802C9044 +/* 802C903C 002C5F9C 80 05 00 00 */ lwz r0, 0(r5) +/* 802C9040 002C5FA0 90 03 00 00 */ stw r0, 0(r3) +lbl_802C9044: +/* 802C9044 002C5FA4 38 63 00 04 */ addi r3, r3, 4 +/* 802C9048 002C5FA8 38 A5 00 04 */ addi r5, r5, 4 +lbl_802C904C: +/* 802C904C 002C5FAC 7C 05 20 40 */ cmplw r5, r4 +/* 802C9050 002C5FB0 40 82 FF E4 */ bne lbl_802C9034 +/* 802C9054 002C5FB4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C9058 002C5FB8 90 1F 00 04 */ stw r0, 4(r31) +lbl_802C905C: +/* 802C905C 002C5FBC 7F E3 FB 78 */ mr r3, r31 +lbl_802C9060: +/* 802C9060 002C5FC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C9064 002C5FC4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C9068 002C5FC8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C906C 002C5FCC 7C 08 03 A6 */ mtlr r0 +/* 802C9070 002C5FD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C9074 002C5FD4 4E 80 00 20 */ blr + +.global sub_802c9078 +sub_802c9078: +/* 802C9078 002C5FD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C907C 002C5FDC 7C 08 02 A6 */ mflr r0 +/* 802C9080 002C5FE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9084 002C5FE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9088 002C5FE8 7C 9F 23 78 */ mr r31, r4 +/* 802C908C 002C5FEC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9090 002C5FF0 7C 7E 1B 78 */ mr r30, r3 +/* 802C9094 002C5FF4 7C 1E F8 40 */ cmplw r30, r31 +/* 802C9098 002C5FF8 40 82 00 08 */ bne lbl_802C90A0 +/* 802C909C 002C5FFC 48 00 00 64 */ b lbl_802C9100 +lbl_802C90A0: +/* 802C90A0 002C6000 48 00 00 DD */ bl sub_802c917c +/* 802C90A4 002C6004 80 9F 00 04 */ lwz r4, 4(r31) +/* 802C90A8 002C6008 2C 04 00 00 */ cmpwi r4, 0 +/* 802C90AC 002C600C 40 82 00 28 */ bne lbl_802C90D4 +/* 802C90B0 002C6010 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C90B4 002C6014 28 03 00 00 */ cmplwi r3, 0 +/* 802C90B8 002C6018 41 82 00 08 */ beq lbl_802C90C0 +/* 802C90BC 002C601C 48 04 C8 75 */ bl Free__7CMemoryFPCv +lbl_802C90C0: +/* 802C90C0 002C6020 38 00 00 00 */ li r0, 0 +/* 802C90C4 002C6024 90 1E 00 04 */ stw r0, 4(r30) +/* 802C90C8 002C6028 90 1E 00 08 */ stw r0, 8(r30) +/* 802C90CC 002C602C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C90D0 002C6030 48 00 00 2C */ b lbl_802C90FC +lbl_802C90D4: +/* 802C90D4 002C6034 7F C3 F3 78 */ mr r3, r30 +/* 802C90D8 002C6038 48 00 11 A1 */ bl sub_802ca278 +/* 802C90DC 002C603C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C90E0 002C6040 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C90E4 002C6044 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802C90E8 002C6048 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C90EC 002C604C 7C 83 02 14 */ add r4, r3, r0 +/* 802C90F0 002C6050 48 00 00 29 */ bl sub_802c9118 +/* 802C90F4 002C6054 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C90F8 002C6058 90 1E 00 04 */ stw r0, 4(r30) +lbl_802C90FC: +/* 802C90FC 002C605C 7F C3 F3 78 */ mr r3, r30 +lbl_802C9100: +/* 802C9100 002C6060 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9104 002C6064 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9108 002C6068 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C910C 002C606C 7C 08 03 A6 */ mtlr r0 +/* 802C9110 002C6070 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9114 002C6074 4E 80 00 20 */ blr + +.global sub_802c9118 +sub_802c9118: +/* 802C9118 002C6078 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C911C 002C607C 7C 08 02 A6 */ mflr r0 +/* 802C9120 002C6080 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C9124 002C6084 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C9128 002C6088 7C BF 2B 78 */ mr r31, r5 +/* 802C912C 002C608C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C9130 002C6090 7C 7E 1B 78 */ mr r30, r3 +/* 802C9134 002C6094 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C9138 002C6098 7C 9D 23 78 */ mr r29, r4 +/* 802C913C 002C609C 48 00 00 18 */ b lbl_802C9154 +lbl_802C9140: +/* 802C9140 002C60A0 7F E3 FB 78 */ mr r3, r31 +/* 802C9144 002C60A4 7F C4 F3 78 */ mr r4, r30 +/* 802C9148 002C60A8 4B FF F8 75 */ bl sub_802c89bc +/* 802C914C 002C60AC 3B FF 00 1C */ addi r31, r31, 0x1c +/* 802C9150 002C60B0 3B DE 00 1C */ addi r30, r30, 0x1c +lbl_802C9154: +/* 802C9154 002C60B4 7C 1E E8 40 */ cmplw r30, r29 +/* 802C9158 002C60B8 40 82 FF E8 */ bne lbl_802C9140 +/* 802C915C 002C60BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C9160 002C60C0 7F E3 FB 78 */ mr r3, r31 +/* 802C9164 002C60C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C9168 002C60C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C916C 002C60CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C9170 002C60D0 7C 08 03 A6 */ mtlr r0 +/* 802C9174 002C60D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C9178 002C60D8 4E 80 00 20 */ blr + +.global sub_802c917c +sub_802c917c: +/* 802C917C 002C60DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C9180 002C60E0 7C 08 02 A6 */ mflr r0 +/* 802C9184 002C60E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C9188 002C60E8 38 81 00 0C */ addi r4, r1, 0xc +/* 802C918C 002C60EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C9190 002C60F0 7C 7F 1B 78 */ mr r31, r3 +/* 802C9194 002C60F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C9198 002C60F8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C919C 002C60FC 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802C91A0 002C6100 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802C91A4 002C6104 7C A5 02 14 */ add r5, r5, r0 +/* 802C91A8 002C6108 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802C91AC 002C610C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802C91B0 002C6110 90 A1 00 08 */ stw r5, 8(r1) +/* 802C91B4 002C6114 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C91B8 002C6118 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C91BC 002C611C 4B FF EB 41 */ bl sub_802c7cfc +/* 802C91C0 002C6120 38 00 00 00 */ li r0, 0 +/* 802C91C4 002C6124 90 1F 00 04 */ stw r0, 4(r31) +/* 802C91C8 002C6128 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C91CC 002C612C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C91D0 002C6130 7C 08 03 A6 */ mtlr r0 +/* 802C91D4 002C6134 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C91D8 002C6138 4E 80 00 20 */ blr + +.global sub_802c91dc +sub_802c91dc: +/* 802C91DC 002C613C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C91E0 002C6140 7C 08 02 A6 */ mflr r0 +/* 802C91E4 002C6144 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C91E8 002C6148 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C91EC 002C614C 7C 7F 1B 78 */ mr r31, r3 +/* 802C91F0 002C6150 7C 9B 23 78 */ mr r27, r4 +/* 802C91F4 002C6154 7C 1F D8 40 */ cmplw r31, r27 +/* 802C91F8 002C6158 40 82 00 08 */ bne lbl_802C9200 +/* 802C91FC 002C615C 48 00 00 D0 */ b lbl_802C92CC +lbl_802C9200: +/* 802C9200 002C6160 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C9204 002C6164 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802C9208 002C6168 54 00 18 38 */ slwi r0, r0, 3 +/* 802C920C 002C616C 7F DD 02 14 */ add r30, r29, r0 +/* 802C9210 002C6170 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802C9214 002C6174 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802C9218 002C6178 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802C921C 002C617C 93 A1 00 08 */ stw r29, 8(r1) +/* 802C9220 002C6180 48 00 00 1C */ b lbl_802C923C +lbl_802C9224: +/* 802C9224 002C6184 28 1D 00 00 */ cmplwi r29, 0 +/* 802C9228 002C6188 41 82 00 10 */ beq lbl_802C9238 +/* 802C922C 002C618C 7F A3 EB 78 */ mr r3, r29 +/* 802C9230 002C6190 38 80 00 00 */ li r4, 0 +/* 802C9234 002C6194 48 07 7C 0D */ bl __dt__6CTokenFv +lbl_802C9238: +/* 802C9238 002C6198 3B BD 00 08 */ addi r29, r29, 8 +lbl_802C923C: +/* 802C923C 002C619C 7C 1D F0 40 */ cmplw r29, r30 +/* 802C9240 002C61A0 40 82 FF E4 */ bne lbl_802C9224 +/* 802C9244 002C61A4 38 00 00 00 */ li r0, 0 +/* 802C9248 002C61A8 90 1F 00 04 */ stw r0, 4(r31) +/* 802C924C 002C61AC 80 9B 00 04 */ lwz r4, 4(r27) +/* 802C9250 002C61B0 2C 04 00 00 */ cmpwi r4, 0 +/* 802C9254 002C61B4 40 82 00 28 */ bne lbl_802C927C +/* 802C9258 002C61B8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C925C 002C61BC 28 03 00 00 */ cmplwi r3, 0 +/* 802C9260 002C61C0 41 82 00 08 */ beq lbl_802C9268 +/* 802C9264 002C61C4 48 04 C6 CD */ bl Free__7CMemoryFPCv +lbl_802C9268: +/* 802C9268 002C61C8 38 00 00 00 */ li r0, 0 +/* 802C926C 002C61CC 90 1F 00 04 */ stw r0, 4(r31) +/* 802C9270 002C61D0 90 1F 00 08 */ stw r0, 8(r31) +/* 802C9274 002C61D4 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802C9278 002C61D8 48 00 00 50 */ b lbl_802C92C8 +lbl_802C927C: +/* 802C927C 002C61DC 7F E3 FB 78 */ mr r3, r31 +/* 802C9280 002C61E0 48 00 0F 05 */ bl sub_802ca184 +/* 802C9284 002C61E4 80 1B 00 04 */ lwz r0, 4(r27) +/* 802C9288 002C61E8 83 9B 00 0C */ lwz r28, 0xc(r27) +/* 802C928C 002C61EC 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9290 002C61F0 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 802C9294 002C61F4 7F BC 02 14 */ add r29, r28, r0 +/* 802C9298 002C61F8 48 00 00 20 */ b lbl_802C92B8 +lbl_802C929C: +/* 802C929C 002C61FC 28 1E 00 00 */ cmplwi r30, 0 +/* 802C92A0 002C6200 41 82 00 10 */ beq lbl_802C92B0 +/* 802C92A4 002C6204 7F C3 F3 78 */ mr r3, r30 +/* 802C92A8 002C6208 7F 84 E3 78 */ mr r4, r28 +/* 802C92AC 002C620C 48 07 7B FD */ bl __ct__6CTokenFRC6CToken +lbl_802C92B0: +/* 802C92B0 002C6210 3B DE 00 08 */ addi r30, r30, 8 +/* 802C92B4 002C6214 3B 9C 00 08 */ addi r28, r28, 8 +lbl_802C92B8: +/* 802C92B8 002C6218 7C 1C E8 40 */ cmplw r28, r29 +/* 802C92BC 002C621C 40 82 FF E0 */ bne lbl_802C929C +/* 802C92C0 002C6220 80 1B 00 04 */ lwz r0, 4(r27) +/* 802C92C4 002C6224 90 1F 00 04 */ stw r0, 4(r31) +lbl_802C92C8: +/* 802C92C8 002C6228 7F E3 FB 78 */ mr r3, r31 +lbl_802C92CC: +/* 802C92CC 002C622C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C92D0 002C6230 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C92D4 002C6234 7C 08 03 A6 */ mtlr r0 +/* 802C92D8 002C6238 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C92DC 002C623C 4E 80 00 20 */ blr + +.global sub_802c92e0 +sub_802c92e0: +/* 802C92E0 002C6240 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C92E4 002C6244 7C 08 02 A6 */ mflr r0 +/* 802C92E8 002C6248 28 03 00 00 */ cmplwi r3, 0 +/* 802C92EC 002C624C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C92F0 002C6250 41 82 00 08 */ beq lbl_802C92F8 +/* 802C92F4 002C6254 4B FF F3 1D */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer +lbl_802C92F8: +/* 802C92F8 002C6258 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C92FC 002C625C 7C 08 03 A6 */ mtlr r0 +/* 802C9300 002C6260 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9304 002C6264 4E 80 00 20 */ blr + +.global CheckAndRebuildTextBuffer__15CGuiTextSupportFv +CheckAndRebuildTextBuffer__15CGuiTextSupportFv: +/* 802C9308 002C6268 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802C930C 002C626C 7C 08 02 A6 */ mflr r0 +/* 802C9310 002C6270 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802C9314 002C6274 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802C9318 002C6278 7C 7F 1B 78 */ mr r31, r3 +/* 802C931C 002C627C 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9320 002C6280 48 03 A9 C9 */ bl Clear__18CTextExecuteBufferFv +/* 802C9324 002C6284 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 802C9328 002C6288 38 80 00 00 */ li r4, 0 +/* 802C932C 002C628C 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9330 002C6290 38 A0 00 00 */ li r5, 0 +/* 802C9334 002C6294 98 03 00 94 */ stb r0, 0x94(r3) +/* 802C9338 002C6298 81 5F 00 18 */ lwz r10, 0x18(r31) +/* 802C933C 002C629C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 802C9340 002C62A0 90 01 00 08 */ stw r0, 8(r1) +/* 802C9344 002C62A4 88 1F 00 15 */ lbz r0, 0x15(r31) +/* 802C9348 002C62A8 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C934C 002C62AC 7C 00 00 34 */ cntlzw r0, r0 +/* 802C9350 002C62B0 80 DF 00 34 */ lwz r6, 0x34(r31) +/* 802C9354 002C62B4 80 FF 00 38 */ lwz r7, 0x38(r31) +/* 802C9358 002C62B8 54 09 D9 7E */ srwi r9, r0, 5 +/* 802C935C 002C62BC 89 1F 00 30 */ lbz r8, 0x30(r31) +/* 802C9360 002C62C0 48 03 A8 0D */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification +/* 802C9364 002C62C4 E0 BF A0 27 */ psq_l f5, 39(r31), 1, qr2 +/* 802C9368 002C62C8 E0 3F A0 26 */ psq_l f1, 38(r31), 1, qr2 +/* 802C936C 002C62CC E0 5F A0 25 */ psq_l f2, 37(r31), 1, qr2 +/* 802C9370 002C62D0 E0 7F A0 24 */ psq_l f3, 36(r31), 1, qr2 +/* 802C9374 002C62D4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802C9378 002C62D8 C0 02 C4 00 */ lfs f0, lbl_805AE120@sda21(r2) +/* 802C937C 002C62DC 38 80 00 00 */ li r4, 0 +/* 802C9380 002C62E0 C0 82 C3 F4 */ lfs f4, lbl_805AE114@sda21(r2) +/* 802C9384 002C62E4 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 802C9388 002C62E8 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C938C 002C62EC EC 40 00 B2 */ fmuls f2, f0, f2 +/* 802C9390 002C62F0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 802C9394 002C62F4 EC 00 01 72 */ fmuls f0, f0, f5 +/* 802C9398 002C62F8 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802C939C 002C62FC EC 44 00 B2 */ fmuls f2, f4, f2 +/* 802C93A0 002C6300 EC 24 00 72 */ fmuls f1, f4, f1 +/* 802C93A4 002C6304 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802C93A8 002C6308 FC 60 18 1E */ fctiwz f3, f3 +/* 802C93AC 002C630C FC 40 10 1E */ fctiwz f2, f2 +/* 802C93B0 002C6310 FC 20 08 1E */ fctiwz f1, f1 +/* 802C93B4 002C6314 FC 00 00 1E */ fctiwz f0, f0 +/* 802C93B8 002C6318 D8 61 00 60 */ stfd f3, 0x60(r1) +/* 802C93BC 002C631C D8 41 00 68 */ stfd f2, 0x68(r1) +/* 802C93C0 002C6320 81 01 00 64 */ lwz r8, 0x64(r1) +/* 802C93C4 002C6324 D8 21 00 70 */ stfd f1, 0x70(r1) +/* 802C93C8 002C6328 80 E1 00 6C */ lwz r7, 0x6c(r1) +/* 802C93CC 002C632C D8 01 00 78 */ stfd f0, 0x78(r1) +/* 802C93D0 002C6330 80 C1 00 74 */ lwz r6, 0x74(r1) +/* 802C93D4 002C6334 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802C93D8 002C6338 99 01 00 18 */ stb r8, 0x18(r1) +/* 802C93DC 002C633C 98 E1 00 19 */ stb r7, 0x19(r1) +/* 802C93E0 002C6340 98 C1 00 1A */ stb r6, 0x1a(r1) +/* 802C93E4 002C6344 98 01 00 1B */ stb r0, 0x1b(r1) +/* 802C93E8 002C6348 48 03 A0 DD */ bl __ct__17CColorInstructionFiRC6CColor +/* 802C93EC 002C634C E0 BF A0 2B */ psq_l f5, 43(r31), 1, qr2 +/* 802C93F0 002C6350 E0 3F A0 2A */ psq_l f1, 42(r31), 1, qr2 +/* 802C93F4 002C6354 E0 5F A0 29 */ psq_l f2, 41(r31), 1, qr2 +/* 802C93F8 002C6358 E0 7F A0 28 */ psq_l f3, 40(r31), 1, qr2 +/* 802C93FC 002C635C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C9400 002C6360 C0 02 C4 00 */ lfs f0, lbl_805AE120@sda21(r2) +/* 802C9404 002C6364 38 80 00 01 */ li r4, 1 +/* 802C9408 002C6368 C0 82 C3 F4 */ lfs f4, lbl_805AE114@sda21(r2) +/* 802C940C 002C636C EC 60 00 F2 */ fmuls f3, f0, f3 +/* 802C9410 002C6370 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9414 002C6374 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 802C9418 002C6378 EC 20 00 72 */ fmuls f1, f0, f1 +/* 802C941C 002C637C EC 00 01 72 */ fmuls f0, f0, f5 +/* 802C9420 002C6380 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802C9424 002C6384 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 802C9428 002C6388 EC 24 00 72 */ fmuls f1, f4, f1 +/* 802C942C 002C638C EC 04 00 32 */ fmuls f0, f4, f0 +/* 802C9430 002C6390 FC 60 18 1E */ fctiwz f3, f3 +/* 802C9434 002C6394 FC 40 10 1E */ fctiwz f2, f2 +/* 802C9438 002C6398 FC 20 08 1E */ fctiwz f1, f1 +/* 802C943C 002C639C FC 00 00 1E */ fctiwz f0, f0 +/* 802C9440 002C63A0 D8 61 00 80 */ stfd f3, 0x80(r1) +/* 802C9444 002C63A4 D8 41 00 88 */ stfd f2, 0x88(r1) +/* 802C9448 002C63A8 81 01 00 84 */ lwz r8, 0x84(r1) +/* 802C944C 002C63AC D8 21 00 90 */ stfd f1, 0x90(r1) +/* 802C9450 002C63B0 80 E1 00 8C */ lwz r7, 0x8c(r1) +/* 802C9454 002C63B4 D8 01 00 98 */ stfd f0, 0x98(r1) +/* 802C9458 002C63B8 80 C1 00 94 */ lwz r6, 0x94(r1) +/* 802C945C 002C63BC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802C9460 002C63C0 99 01 00 14 */ stb r8, 0x14(r1) +/* 802C9464 002C63C4 98 E1 00 15 */ stb r7, 0x15(r1) +/* 802C9468 002C63C8 98 C1 00 16 */ stb r6, 0x16(r1) +/* 802C946C 002C63CC 98 01 00 17 */ stb r0, 0x17(r1) +/* 802C9470 002C63D0 48 03 A0 55 */ bl __ct__17CColorInstructionFiRC6CColor +/* 802C9474 002C63D4 80 9F 00 5C */ lwz r4, 0x5c(r31) +/* 802C9478 002C63D8 38 60 00 00 */ li r3, 0 +/* 802C947C 002C63DC 38 AD A9 1A */ addi r5, r13, lbl_805A94DA@sda21 +/* 802C9480 002C63E0 90 61 00 50 */ stw r3, 0x50(r1) +/* 802C9484 002C63E4 3C 04 00 01 */ addis r0, r4, 1 +/* 802C9488 002C63E8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802C948C 002C63EC 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 802C9490 002C63F0 90 61 00 54 */ stw r3, 0x54(r1) +/* 802C9494 002C63F4 41 82 00 68 */ beq lbl_802C94FC +/* 802C9498 002C63F8 3C 60 80 3D */ lis r3, lbl_803D68E0@ha +/* 802C949C 002C63FC 38 63 68 E0 */ addi r3, r3, lbl_803D68E0@l +/* 802C94A0 002C6400 38 63 00 07 */ addi r3, r3, 7 +/* 802C94A4 002C6404 4C C6 31 82 */ crclr 6 +/* 802C94A8 002C6408 48 00 CD 09 */ bl Stringize__7CBasicsFPCce +/* 802C94AC 002C640C 7C 64 1B 78 */ mr r4, r3 +/* 802C94B0 002C6410 38 61 00 3C */ addi r3, r1, 0x3c +/* 802C94B4 002C6414 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C94B8 002C6418 38 A0 FF FF */ li r5, -1 +/* 802C94BC 002C641C 48 07 4C D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 802C94C0 002C6420 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C94C4 002C6424 38 81 00 3C */ addi r4, r1, 0x3c +/* 802C94C8 002C6428 48 07 52 59 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C94CC 002C642C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C94D0 002C6430 38 81 00 2C */ addi r4, r1, 0x2c +/* 802C94D4 002C6434 48 07 42 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C94D8 002C6438 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C94DC 002C643C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802C94E0 002C6440 48 07 3E 6D */ bl sub_8033d34c +/* 802C94E4 002C6444 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C94E8 002C6448 48 07 3C 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C94EC 002C644C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C94F0 002C6450 48 07 3C 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C94F4 002C6454 38 61 00 3C */ addi r3, r1, 0x3c +/* 802C94F8 002C6458 48 07 45 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802C94FC: +/* 802C94FC 002C645C 7F E4 FB 78 */ mr r4, r31 +/* 802C9500 002C6460 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C9504 002C6464 48 07 41 49 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9508 002C6468 80 6D A6 4C */ lwz r3, lbl_805A920C@sda21(r13) +/* 802C950C 002C646C 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C9510 002C6470 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 802C9514 002C6474 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 802C9518 002C6478 80 FF 00 20 */ lwz r7, 0x20(r31) +/* 802C951C 002C647C 48 03 C2 31 */ bl ParseText__11CTextParserFR18CTextExecuteBufferPCwi +/* 802C9520 002C6480 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9524 002C6484 48 03 A6 05 */ bl EndBlock__18CTextExecuteBufferFv +/* 802C9528 002C6488 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C952C 002C648C 48 07 3C 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C9530 002C6490 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802C9534 002C6494 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802C9538 002C6498 7C 08 03 A6 */ mtlr r0 +/* 802C953C 002C649C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802C9540 002C64A0 4E 80 00 20 */ blr + +.global Render__15CGuiTextSupportFv +Render__15CGuiTextSupportFv: +/* 802C9544 002C64A4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802C9548 002C64A8 7C 08 02 A6 */ mflr r0 +/* 802C954C 002C64AC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802C9550 002C64B0 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802C9554 002C64B4 7C 7F 1B 78 */ mr r31, r3 +/* 802C9558 002C64B8 4B FF F5 D5 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C955C 002C64BC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 802C9560 002C64C0 38 61 00 74 */ addi r3, r1, 0x74 +/* 802C9564 002C64C4 38 84 62 04 */ addi r4, r4, lbl_805A6204@l +/* 802C9568 002C64C8 48 04 96 0D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C956C 002C64CC C0 22 C3 F0 */ lfs f1, lbl_805AE110@sda21(r2) +/* 802C9570 002C64D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C9574 002C64D4 C0 02 C4 04 */ lfs f0, lbl_805AE124@sda21(r2) +/* 802C9578 002C64D8 38 81 00 08 */ addi r4, r1, 8 +/* 802C957C 002C64DC D0 21 00 08 */ stfs f1, 8(r1) +/* 802C9580 002C64E0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C9584 002C64E4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C9588 002C64E8 48 04 9C 3D */ bl Scale__12CTransform4fFRC9CVector3f +/* 802C958C 002C64EC 38 61 00 44 */ addi r3, r1, 0x44 +/* 802C9590 002C64F0 38 81 00 74 */ addi r4, r1, 0x74 +/* 802C9594 002C64F4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C9598 002C64F8 48 04 93 B9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C959C 002C64FC 38 61 00 44 */ addi r3, r1, 0x44 +/* 802C95A0 002C6500 48 04 30 41 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802C95A4 002C6504 7F E3 FB 78 */ mr r3, r31 +/* 802C95A8 002C6508 4B FF E7 F9 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C95AC 002C650C 28 03 00 00 */ cmplwi r3, 0 +/* 802C95B0 002C6510 41 82 00 10 */ beq lbl_802C95C0 +/* 802C95B4 002C6514 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802C95B8 002C6518 38 9F 00 2C */ addi r4, r31, 0x2c +/* 802C95BC 002C651C 48 09 0F 01 */ bl Render__17CTextRenderBufferCFRC6CColorf +lbl_802C95C0: +/* 802C95C0 002C6520 38 61 00 74 */ addi r3, r1, 0x74 +/* 802C95C4 002C6524 48 04 30 1D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802C95C8 002C6528 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802C95CC 002C652C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802C95D0 002C6530 7C 08 03 A6 */ mtlr r0 +/* 802C95D4 002C6534 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802C95D8 002C6538 4E 80 00 20 */ blr + +.global "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" +"SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>": +/* 802C95DC 002C653C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C95E0 002C6540 7C 08 02 A6 */ mflr r0 +/* 802C95E4 002C6544 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C95E8 002C6548 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802C95EC 002C654C 7C 00 20 40 */ cmplw r0, r4 +/* 802C95F0 002C6550 41 82 00 0C */ beq lbl_802C95FC +/* 802C95F4 002C6554 90 83 00 20 */ stw r4, 0x20(r3) +/* 802C95F8 002C6558 4B FF ED 6D */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C95FC: +/* 802C95FC 002C655C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9600 002C6560 7C 08 03 A6 */ mtlr r0 +/* 802C9604 002C6564 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9608 002C6568 4E 80 00 20 */ blr + +.global SetGeometryColor__15CGuiTextSupportFRC6CColor +SetGeometryColor__15CGuiTextSupportFRC6CColor: +/* 802C960C 002C656C 80 04 00 00 */ lwz r0, 0(r4) +/* 802C9610 002C6570 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802C9614 002C6574 4E 80 00 20 */ blr + +.global SetOutlineColor__15CGuiTextSupportFRC6CColor +SetOutlineColor__15CGuiTextSupportFRC6CColor: +/* 802C9618 002C6578 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C961C 002C657C 7C 08 02 A6 */ mflr r0 +/* 802C9620 002C6580 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9624 002C6584 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9628 002C6588 7C 9F 23 78 */ mr r31, r4 +/* 802C962C 002C658C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9630 002C6590 7C 7E 1B 78 */ mr r30, r3 +/* 802C9634 002C6594 80 83 00 28 */ lwz r4, 0x28(r3) +/* 802C9638 002C6598 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C963C 002C659C 7C 04 00 40 */ cmplw r4, r0 +/* 802C9640 002C65A0 41 82 00 10 */ beq lbl_802C9650 +/* 802C9644 002C65A4 4B FF ED 21 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9648 002C65A8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C964C 002C65AC 90 1E 00 28 */ stw r0, 0x28(r30) +lbl_802C9650: +/* 802C9650 002C65B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9654 002C65B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9658 002C65B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C965C 002C65BC 7C 08 03 A6 */ mtlr r0 +/* 802C9660 002C65C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9664 002C65C4 4E 80 00 20 */ blr + +.global SetFontColor__15CGuiTextSupportFRC6CColor +SetFontColor__15CGuiTextSupportFRC6CColor: +/* 802C9668 002C65C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C966C 002C65CC 7C 08 02 A6 */ mflr r0 +/* 802C9670 002C65D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9674 002C65D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9678 002C65D8 7C 9F 23 78 */ mr r31, r4 +/* 802C967C 002C65DC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9680 002C65E0 7C 7E 1B 78 */ mr r30, r3 +/* 802C9684 002C65E4 80 83 00 24 */ lwz r4, 0x24(r3) +/* 802C9688 002C65E8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C968C 002C65EC 7C 04 00 40 */ cmplw r4, r0 +/* 802C9690 002C65F0 41 82 00 10 */ beq lbl_802C96A0 +/* 802C9694 002C65F4 4B FF EC D1 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9698 002C65F8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C969C 002C65FC 90 1E 00 24 */ stw r0, 0x24(r30) +lbl_802C96A0: +/* 802C96A0 002C6600 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C96A4 002C6604 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C96A8 002C6608 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C96AC 002C660C 7C 08 03 A6 */ mtlr r0 +/* 802C96B0 002C6610 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C96B4 002C6614 4E 80 00 20 */ blr + +.global SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification +SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification: +/* 802C96B8 002C6618 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C96BC 002C661C 7C 08 02 A6 */ mflr r0 +/* 802C96C0 002C6620 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C96C4 002C6624 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802C96C8 002C6628 7C 04 00 00 */ cmpw r4, r0 +/* 802C96CC 002C662C 41 82 00 0C */ beq lbl_802C96D8 +/* 802C96D0 002C6630 90 83 00 1C */ stw r4, 0x1c(r3) +/* 802C96D4 002C6634 4B FF EC 91 */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C96D8: +/* 802C96D8 002C6638 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C96DC 002C663C 7C 08 03 A6 */ mtlr r0 +/* 802C96E0 002C6640 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C96E4 002C6644 4E 80 00 20 */ blr + +.global SetJustification__15CGuiTextSupportF14EJustification +SetJustification__15CGuiTextSupportF14EJustification: +/* 802C96E8 002C6648 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C96EC 002C664C 7C 08 02 A6 */ mflr r0 +/* 802C96F0 002C6650 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C96F4 002C6654 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802C96F8 002C6658 7C 04 00 00 */ cmpw r4, r0 +/* 802C96FC 002C665C 41 82 00 0C */ beq lbl_802C9708 +/* 802C9700 002C6660 90 83 00 18 */ stw r4, 0x18(r3) +/* 802C9704 002C6664 4B FF EC 61 */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C9708: +/* 802C9708 002C6668 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C970C 002C666C 7C 08 03 A6 */ mtlr r0 +/* 802C9710 002C6670 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9714 002C6674 4E 80 00 20 */ blr + +.global SetImageBaseline__15CGuiTextSupportFb +SetImageBaseline__15CGuiTextSupportFb: +/* 802C9718 002C6678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C971C 002C667C 7C 08 02 A6 */ mflr r0 +/* 802C9720 002C6680 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9724 002C6684 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 802C9728 002C6688 88 A3 00 30 */ lbz r5, 0x30(r3) +/* 802C972C 002C668C 7C 05 00 40 */ cmplw r5, r0 +/* 802C9730 002C6690 41 82 00 0C */ beq lbl_802C973C +/* 802C9734 002C6694 98 83 00 30 */ stb r4, 0x30(r3) +/* 802C9738 002C6698 4B FF EC 2D */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C973C: +/* 802C973C 002C669C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9740 002C66A0 7C 08 03 A6 */ mtlr r0 +/* 802C9744 002C66A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9748 002C66A8 4E 80 00 20 */ blr + +.global sub_802c974c +sub_802c974c: +/* 802C974C 002C66AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9750 002C66B0 7C 08 02 A6 */ mflr r0 +/* 802C9754 002C66B4 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 802C9758 002C66B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C975C 002C66BC 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802C9760 002C66C0 7C 05 00 40 */ cmplw r5, r0 +/* 802C9764 002C66C4 41 82 00 0C */ beq lbl_802C9770 +/* 802C9768 002C66C8 98 83 00 14 */ stb r4, 0x14(r3) +/* 802C976C 002C66CC 4B FF EB F9 */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C9770: +/* 802C9770 002C66D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9774 002C66D4 7C 08 03 A6 */ mtlr r0 +/* 802C9778 002C66D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C977C 002C66DC 4E 80 00 20 */ blr + +.global AddText__15CGuiTextSupportFQ24rstl7wstring +AddText__15CGuiTextSupportFQ24rstl7wstring: +/* 802C9780 002C66E0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9784 002C66E4 7C 08 02 A6 */ mflr r0 +/* 802C9788 002C66E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C978C 002C66EC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802C9790 002C66F0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802C9794 002C66F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C9798 002C66F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C979C 002C66FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C97A0 002C6700 7C 7D 1B 78 */ mr r29, r3 +/* 802C97A4 002C6704 7C 9E 23 78 */ mr r30, r4 +/* 802C97A8 002C6708 88 03 02 B8 */ lbz r0, 0x2b8(r3) +/* 802C97AC 002C670C 28 00 00 00 */ cmplwi r0, 0 +/* 802C97B0 002C6710 41 82 00 9C */ beq lbl_802C984C +/* 802C97B4 002C6714 80 9D 00 44 */ lwz r4, 0x44(r29) +/* 802C97B8 002C6718 38 7D 00 40 */ addi r3, r29, 0x40 +/* 802C97BC 002C671C 38 84 00 01 */ addi r4, r4, 1 +/* 802C97C0 002C6720 48 00 0D 29 */ bl sub_802ca4e8 +/* 802C97C4 002C6724 83 FD 00 88 */ lwz r31, 0x88(r29) +/* 802C97C8 002C6728 7F A3 EB 78 */ mr r3, r29 +/* 802C97CC 002C672C C0 1D 00 3C */ lfs f0, 0x3c(r29) +/* 802C97D0 002C6730 D0 01 00 08 */ stfs f0, 8(r1) +/* 802C97D4 002C6734 4B FF E6 C5 */ bl GetCurrentAnimationOverAge__15CGuiTextSupportFv +/* 802C97D8 002C6738 FC 40 08 18 */ frsp f2, f1 +/* 802C97DC 002C673C C0 01 00 08 */ lfs f0, 8(r1) +/* 802C97E0 002C6740 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C97E4 002C6744 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802C97E8 002C6748 40 80 00 0C */ bge lbl_802C97F4 +/* 802C97EC 002C674C 38 61 00 08 */ addi r3, r1, 8 +/* 802C97F0 002C6750 48 00 00 08 */ b lbl_802C97F8 +lbl_802C97F4: +/* 802C97F4 002C6754 38 61 00 0C */ addi r3, r1, 0xc +lbl_802C97F8: +/* 802C97F8 002C6758 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 802C97FC 002C675C 80 BD 00 48 */ lwz r5, 0x48(r29) +/* 802C9800 002C6760 C3 E3 00 00 */ lfs f31, 0(r3) +/* 802C9804 002C6764 7C 00 28 00 */ cmpw r0, r5 +/* 802C9808 002C6768 41 80 00 1C */ blt lbl_802C9824 +/* 802C980C 002C676C 2C 05 00 00 */ cmpwi r5, 0 +/* 802C9810 002C6770 38 7D 00 40 */ addi r3, r29, 0x40 +/* 802C9814 002C6774 38 80 00 04 */ li r4, 4 +/* 802C9818 002C6778 41 82 00 08 */ beq lbl_802C9820 +/* 802C981C 002C677C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802C9820: +/* 802C9820 002C6780 48 00 0C C9 */ bl sub_802ca4e8 +lbl_802C9824: +/* 802C9824 002C6784 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 802C9828 002C6788 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 802C982C 002C678C 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9830 002C6790 7C 63 02 15 */ add. r3, r3, r0 +/* 802C9834 002C6794 41 82 00 0C */ beq lbl_802C9840 +/* 802C9838 002C6798 D3 E3 00 00 */ stfs f31, 0(r3) +/* 802C983C 002C679C 93 E3 00 04 */ stw r31, 4(r3) +lbl_802C9840: +/* 802C9840 002C67A0 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 802C9844 002C67A4 38 03 00 01 */ addi r0, r3, 1 +/* 802C9848 002C67A8 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_802C984C: +/* 802C984C 002C67AC 7F A3 EB 78 */ mr r3, r29 +/* 802C9850 002C67B0 7F C4 F3 78 */ mr r4, r30 +/* 802C9854 002C67B4 48 07 3D F9 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9858 002C67B8 7F A3 EB 78 */ mr r3, r29 +/* 802C985C 002C67BC 4B FF EB 09 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9860 002C67C0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802C9864 002C67C4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9868 002C67C8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802C986C 002C67CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C9870 002C67D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C9874 002C67D4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C9878 002C67D8 7C 08 03 A6 */ mtlr r0 +/* 802C987C 002C67DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C9880 002C67E0 4E 80 00 20 */ blr + +.global "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802C9884 002C67E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9888 002C67E8 7C 08 02 A6 */ mflr r0 +/* 802C988C 002C67EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C9890 002C67F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C9894 002C67F4 7C BF 2B 78 */ mr r31, r5 +/* 802C9898 002C67F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C989C 002C67FC 7C 9E 23 78 */ mr r30, r4 +/* 802C98A0 002C6800 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C98A4 002C6804 7C 7D 1B 78 */ mr r29, r3 +/* 802C98A8 002C6808 48 00 00 89 */ bl sub_802c9930 +/* 802C98AC 002C680C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C98B0 002C6810 41 82 00 64 */ beq lbl_802C9914 +/* 802C98B4 002C6814 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 802C98B8 002C6818 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 802C98BC 002C681C 54 00 18 38 */ slwi r0, r0, 3 +/* 802C98C0 002C6820 7C 03 02 14 */ add r0, r3, r0 +/* 802C98C4 002C6824 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C98C8 002C6828 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C98CC 002C682C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C98D0 002C6830 90 61 00 08 */ stw r3, 8(r1) +/* 802C98D4 002C6834 48 00 00 08 */ b lbl_802C98DC +lbl_802C98D8: +/* 802C98D8 002C6838 38 63 00 08 */ addi r3, r3, 8 +lbl_802C98DC: +/* 802C98DC 002C683C 7C 03 00 40 */ cmplw r3, r0 +/* 802C98E0 002C6840 40 82 FF F8 */ bne lbl_802C98D8 +/* 802C98E4 002C6844 38 00 00 00 */ li r0, 0 +/* 802C98E8 002C6848 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) +/* 802C98EC 002C684C 90 1D 00 44 */ stw r0, 0x44(r29) +/* 802C98F0 002C6850 7F A3 EB 78 */ mr r3, r29 +/* 802C98F4 002C6854 7F C4 F3 78 */ mr r4, r30 +/* 802C98F8 002C6858 D0 1D 00 3C */ stfs f0, 0x3c(r29) +/* 802C98FC 002C685C 48 07 3A 51 */ bl sub_8033d34c +/* 802C9900 002C6860 7F A3 EB 78 */ mr r3, r29 +/* 802C9904 002C6864 4B FF EA 61 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9908 002C6868 9B FD 03 08 */ stb r31, 0x308(r29) +/* 802C990C 002C686C 38 00 00 00 */ li r0, 0 +/* 802C9910 002C6870 90 1D 03 04 */ stw r0, 0x304(r29) +lbl_802C9914: +/* 802C9914 002C6874 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9918 002C6878 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C991C 002C687C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C9920 002C6880 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C9924 002C6884 7C 08 03 A6 */ mtlr r0 +/* 802C9928 002C6888 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C992C 002C688C 4E 80 00 20 */ blr + +.global sub_802c9930 +sub_802c9930: +/* 802C9930 002C6890 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9934 002C6894 7C 08 02 A6 */ mflr r0 +/* 802C9938 002C6898 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C993C 002C689C 48 00 00 21 */ bl sub_802c995c +/* 802C9940 002C68A0 7C 03 00 D0 */ neg r0, r3 +/* 802C9944 002C68A4 7C 00 1B 78 */ or r0, r0, r3 +/* 802C9948 002C68A8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802C994C 002C68AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9950 002C68B0 7C 08 03 A6 */ mtlr r0 +/* 802C9954 002C68B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9958 002C68B8 4E 80 00 20 */ blr + +.global sub_802c995c +sub_802c995c: +/* 802C995C 002C68BC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C9960 002C68C0 7C 08 02 A6 */ mflr r0 +/* 802C9964 002C68C4 38 E0 00 00 */ li r7, 0 +/* 802C9968 002C68C8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C996C 002C68CC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802C9970 002C68D0 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C9974 002C68D4 81 04 00 08 */ lwz r8, 8(r4) +/* 802C9978 002C68D8 80 03 00 08 */ lwz r0, 8(r3) +/* 802C997C 002C68DC 90 81 00 08 */ stw r4, 8(r1) +/* 802C9980 002C68E0 91 01 00 0C */ stw r8, 0xc(r1) +/* 802C9984 002C68E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 802C9988 002C68E8 91 01 00 14 */ stw r8, 0x14(r1) +/* 802C998C 002C68EC 90 81 00 18 */ stw r4, 0x18(r1) +/* 802C9990 002C68F0 90 81 00 20 */ stw r4, 0x20(r1) +/* 802C9994 002C68F4 38 81 00 30 */ addi r4, r1, 0x30 +/* 802C9998 002C68F8 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 802C999C 002C68FC 90 E1 00 24 */ stw r7, 0x24(r1) +/* 802C99A0 002C6900 90 61 00 28 */ stw r3, 0x28(r1) +/* 802C99A4 002C6904 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802C99A8 002C6908 90 61 00 30 */ stw r3, 0x30(r1) +/* 802C99AC 002C690C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C99B0 002C6910 90 61 00 38 */ stw r3, 0x38(r1) +/* 802C99B4 002C6914 90 61 00 40 */ stw r3, 0x40(r1) +/* 802C99B8 002C6918 38 61 00 40 */ addi r3, r1, 0x40 +/* 802C99BC 002C691C 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 802C99C0 002C6920 90 E1 00 44 */ stw r7, 0x44(r1) +/* 802C99C4 002C6924 48 00 00 15 */ bl sub_802c99d8 +/* 802C99C8 002C6928 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C99CC 002C692C 7C 08 03 A6 */ mtlr r0 +/* 802C99D0 002C6930 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C99D4 002C6934 4E 80 00 20 */ blr + +.global sub_802c99d8 +sub_802c99d8: +/* 802C99D8 002C6938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C99DC 002C693C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C99E0 002C6940 81 03 00 04 */ lwz r8, 4(r3) +/* 802C99E4 002C6944 81 45 00 04 */ lwz r10, 4(r5) +/* 802C99E8 002C6948 80 E3 00 00 */ lwz r7, 0(r3) +/* 802C99EC 002C694C 55 0C 08 3C */ slwi r12, r8, 1 +/* 802C99F0 002C6950 81 25 00 00 */ lwz r9, 0(r5) +/* 802C99F4 002C6954 55 4B 08 3C */ slwi r11, r10, 1 +/* 802C99F8 002C6958 83 E4 00 00 */ lwz r31, 0(r4) +/* 802C99FC 002C695C 48 00 00 30 */ b lbl_802C9A2C +lbl_802C9A00: +/* 802C9A00 002C6960 80 A9 00 00 */ lwz r5, 0(r9) +/* 802C9A04 002C6964 80 67 00 00 */ lwz r3, 0(r7) +/* 802C9A08 002C6968 7C A5 5A 2E */ lhzx r5, r5, r11 +/* 802C9A0C 002C696C 7C 03 62 2E */ lhzx r0, r3, r12 +/* 802C9A10 002C6970 7C 65 00 51 */ subf. r3, r5, r0 +/* 802C9A14 002C6974 41 82 00 08 */ beq lbl_802C9A1C +/* 802C9A18 002C6978 48 00 00 E4 */ b lbl_802C9AFC +lbl_802C9A1C: +/* 802C9A1C 002C697C 39 8C 00 02 */ addi r12, r12, 2 +/* 802C9A20 002C6980 39 08 00 01 */ addi r8, r8, 1 +/* 802C9A24 002C6984 39 6B 00 02 */ addi r11, r11, 2 +/* 802C9A28 002C6988 39 4A 00 01 */ addi r10, r10, 1 +lbl_802C9A2C: +/* 802C9A2C 002C698C 7C 07 F8 40 */ cmplw r7, r31 +/* 802C9A30 002C6990 38 60 00 00 */ li r3, 0 +/* 802C9A34 002C6994 40 82 00 10 */ bne lbl_802C9A44 +/* 802C9A38 002C6998 80 04 00 04 */ lwz r0, 4(r4) +/* 802C9A3C 002C699C 7C 08 00 00 */ cmpw r8, r0 +/* 802C9A40 002C69A0 41 82 00 08 */ beq lbl_802C9A48 +lbl_802C9A44: +/* 802C9A44 002C69A4 38 60 00 01 */ li r3, 1 +lbl_802C9A48: +/* 802C9A48 002C69A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9A4C 002C69AC 41 82 00 2C */ beq lbl_802C9A78 +/* 802C9A50 002C69B0 80 06 00 00 */ lwz r0, 0(r6) +/* 802C9A54 002C69B4 38 60 00 00 */ li r3, 0 +/* 802C9A58 002C69B8 7C 09 00 40 */ cmplw r9, r0 +/* 802C9A5C 002C69BC 40 82 00 10 */ bne lbl_802C9A6C +/* 802C9A60 002C69C0 80 06 00 04 */ lwz r0, 4(r6) +/* 802C9A64 002C69C4 7C 0A 00 00 */ cmpw r10, r0 +/* 802C9A68 002C69C8 41 82 00 08 */ beq lbl_802C9A70 +lbl_802C9A6C: +/* 802C9A6C 002C69CC 38 60 00 01 */ li r3, 1 +lbl_802C9A70: +/* 802C9A70 002C69D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9A74 002C69D4 40 82 FF 8C */ bne lbl_802C9A00 +lbl_802C9A78: +/* 802C9A78 002C69D8 7C 07 F8 40 */ cmplw r7, r31 +/* 802C9A7C 002C69DC 38 60 00 00 */ li r3, 0 +/* 802C9A80 002C69E0 40 82 00 14 */ bne lbl_802C9A94 +/* 802C9A84 002C69E4 80 04 00 04 */ lwz r0, 4(r4) +/* 802C9A88 002C69E8 7C 08 00 00 */ cmpw r8, r0 +/* 802C9A8C 002C69EC 40 82 00 08 */ bne lbl_802C9A94 +/* 802C9A90 002C69F0 38 60 00 01 */ li r3, 1 +lbl_802C9A94: +/* 802C9A94 002C69F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9A98 002C69F8 41 82 00 34 */ beq lbl_802C9ACC +/* 802C9A9C 002C69FC 80 06 00 00 */ lwz r0, 0(r6) +/* 802C9AA0 002C6A00 38 60 00 00 */ li r3, 0 +/* 802C9AA4 002C6A04 7C 09 00 40 */ cmplw r9, r0 +/* 802C9AA8 002C6A08 40 82 00 10 */ bne lbl_802C9AB8 +/* 802C9AAC 002C6A0C 80 06 00 04 */ lwz r0, 4(r6) +/* 802C9AB0 002C6A10 7C 0A 00 00 */ cmpw r10, r0 +/* 802C9AB4 002C6A14 41 82 00 08 */ beq lbl_802C9ABC +lbl_802C9AB8: +/* 802C9AB8 002C6A18 38 60 00 01 */ li r3, 1 +lbl_802C9ABC: +/* 802C9ABC 002C6A1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9AC0 002C6A20 41 82 00 0C */ beq lbl_802C9ACC +/* 802C9AC4 002C6A24 38 60 FF FF */ li r3, -1 +/* 802C9AC8 002C6A28 48 00 00 34 */ b lbl_802C9AFC +lbl_802C9ACC: +/* 802C9ACC 002C6A2C 7C 07 F8 40 */ cmplw r7, r31 +/* 802C9AD0 002C6A30 38 60 00 00 */ li r3, 0 +/* 802C9AD4 002C6A34 40 82 00 14 */ bne lbl_802C9AE8 +/* 802C9AD8 002C6A38 80 04 00 04 */ lwz r0, 4(r4) +/* 802C9ADC 002C6A3C 7C 08 00 00 */ cmpw r8, r0 +/* 802C9AE0 002C6A40 40 82 00 08 */ bne lbl_802C9AE8 +/* 802C9AE4 002C6A44 38 60 00 01 */ li r3, 1 +lbl_802C9AE8: +/* 802C9AE8 002C6A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9AEC 002C6A4C 41 82 00 0C */ beq lbl_802C9AF8 +/* 802C9AF0 002C6A50 38 60 00 00 */ li r3, 0 +/* 802C9AF4 002C6A54 48 00 00 08 */ b lbl_802C9AFC +lbl_802C9AF8: +/* 802C9AF8 002C6A58 38 60 00 01 */ li r3, 1 +lbl_802C9AFC: +/* 802C9AFC 002C6A5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9B00 002C6A60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9B04 002C6A64 4E 80 00 20 */ blr + +.global "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802C9B08 002C6A68 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9B0C 002C6A6C 7C 08 02 A6 */ mflr r0 +/* 802C9B10 002C6A70 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C9B14 002C6A74 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C9B18 002C6A78 7C BF 2B 78 */ mr r31, r5 +/* 802C9B1C 002C6A7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C9B20 002C6A80 7C 7E 1B 78 */ mr r30, r3 +/* 802C9B24 002C6A84 38 61 00 08 */ addi r3, r1, 8 +/* 802C9B28 002C6A88 48 07 4B F9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9B2C 002C6A8C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C9B30 002C6A90 38 81 00 08 */ addi r4, r1, 8 +/* 802C9B34 002C6A94 48 07 3C 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9B38 002C6A98 38 61 00 08 */ addi r3, r1, 8 +/* 802C9B3C 002C6A9C 48 07 35 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C9B40 002C6AA0 7F C3 F3 78 */ mr r3, r30 +/* 802C9B44 002C6AA4 7F E5 FB 78 */ mr r5, r31 +/* 802C9B48 002C6AA8 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C9B4C 002C6AAC 4B FF FD 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9B50 002C6AB0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C9B54 002C6AB4 48 07 35 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C9B58 002C6AB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9B5C 002C6ABC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C9B60 002C6AC0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C9B64 002C6AC4 7C 08 03 A6 */ mtlr r0 +/* 802C9B68 002C6AC8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C9B6C 002C6ACC 4E 80 00 20 */ blr + +.global _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +_GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv: +/* 802C9B70 002C6AD0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9B74 002C6AD4 7C 08 02 A6 */ mflr r0 +/* 802C9B78 002C6AD8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C9B7C 002C6ADC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C9B80 002C6AE0 3B E0 00 00 */ li r31, 0 +/* 802C9B84 002C6AE4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C9B88 002C6AE8 3B C0 00 00 */ li r30, 0 +/* 802C9B8C 002C6AEC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C9B90 002C6AF0 7C 7D 1B 78 */ mr r29, r3 +/* 802C9B94 002C6AF4 48 00 00 40 */ b lbl_802C9BD4 +lbl_802C9B98: +/* 802C9B98 002C6AF8 80 1D 02 C8 */ lwz r0, 0x2c8(r29) +/* 802C9B9C 002C6AFC 7C 60 FA 14 */ add r3, r0, r31 +/* 802C9BA0 002C6B00 88 03 00 04 */ lbz r0, 4(r3) +/* 802C9BA4 002C6B04 28 00 00 00 */ cmplwi r0, 0 +/* 802C9BA8 002C6B08 40 82 00 08 */ bne lbl_802C9BB0 +/* 802C9BAC 002C6B0C 48 07 71 D9 */ bl Lock__6CTokenFv +lbl_802C9BB0: +/* 802C9BB0 002C6B10 80 7D 02 C8 */ lwz r3, 0x2c8(r29) +/* 802C9BB4 002C6B14 7C 63 F8 2E */ lwzx r3, r3, r31 +/* 802C9BB8 002C6B18 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802C9BBC 002C6B1C 28 00 00 00 */ cmplwi r0, 0 +/* 802C9BC0 002C6B20 40 82 00 0C */ bne lbl_802C9BCC +/* 802C9BC4 002C6B24 38 60 00 00 */ li r3, 0 +/* 802C9BC8 002C6B28 48 00 00 80 */ b lbl_802C9C48 +lbl_802C9BCC: +/* 802C9BCC 002C6B2C 3B FF 00 08 */ addi r31, r31, 8 +/* 802C9BD0 002C6B30 3B DE 00 01 */ addi r30, r30, 1 +lbl_802C9BD4: +/* 802C9BD4 002C6B34 80 7D 02 C0 */ lwz r3, 0x2c0(r29) +/* 802C9BD8 002C6B38 7C 1E 18 00 */ cmpw r30, r3 +/* 802C9BDC 002C6B3C 41 80 FF BC */ blt lbl_802C9B98 +/* 802C9BE0 002C6B40 88 1D 02 D8 */ lbz r0, 0x2d8(r29) +/* 802C9BE4 002C6B44 28 00 00 00 */ cmplwi r0, 0 +/* 802C9BE8 002C6B48 41 82 00 48 */ beq lbl_802C9C30 +/* 802C9BEC 002C6B4C 3B FD 02 CC */ addi r31, r29, 0x2cc +/* 802C9BF0 002C6B50 3B A1 00 08 */ addi r29, r1, 8 +/* 802C9BF4 002C6B54 7F A3 EB 78 */ mr r3, r29 +/* 802C9BF8 002C6B58 7F E4 FB 78 */ mr r4, r31 +/* 802C9BFC 002C6B5C 48 07 72 AD */ bl __ct__6CTokenFRC6CToken +/* 802C9C00 002C6B60 80 1F 00 08 */ lwz r0, 8(r31) +/* 802C9C04 002C6B64 7F A3 EB 78 */ mr r3, r29 +/* 802C9C08 002C6B68 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C9C0C 002C6B6C 48 07 71 79 */ bl Lock__6CTokenFv +/* 802C9C10 002C6B70 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C9C14 002C6B74 48 03 63 1D */ bl IsFinishedLoading__11CRasterFontFv +/* 802C9C18 002C6B78 7C 7F 1B 78 */ mr r31, r3 +/* 802C9C1C 002C6B7C 7F A3 EB 78 */ mr r3, r29 +/* 802C9C20 002C6B80 38 80 00 00 */ li r4, 0 +/* 802C9C24 002C6B84 48 07 72 1D */ bl __dt__6CTokenFv +/* 802C9C28 002C6B88 7F E3 FB 78 */ mr r3, r31 +/* 802C9C2C 002C6B8C 48 00 00 1C */ b lbl_802C9C48 +lbl_802C9C30: +/* 802C9C30 002C6B90 40 82 00 14 */ bne lbl_802C9C44 +/* 802C9C34 002C6B94 2C 03 00 00 */ cmpwi r3, 0 +/* 802C9C38 002C6B98 40 82 00 0C */ bne lbl_802C9C44 +/* 802C9C3C 002C6B9C 38 60 00 00 */ li r3, 0 +/* 802C9C40 002C6BA0 48 00 00 08 */ b lbl_802C9C48 +lbl_802C9C44: +/* 802C9C44 002C6BA4 38 60 00 01 */ li r3, 1 +lbl_802C9C48: +/* 802C9C48 002C6BA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9C4C 002C6BAC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C9C50 002C6BB0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C9C54 002C6BB4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C9C58 002C6BB8 7C 08 03 A6 */ mtlr r0 +/* 802C9C5C 002C6BBC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C9C60 002C6BC0 4E 80 00 20 */ blr + +.global GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv: +/* 802C9C64 002C6BC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9C68 002C6BC8 7C 08 02 A6 */ mflr r0 +/* 802C9C6C 002C6BCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9C70 002C6BD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9C74 002C6BD4 7C 7F 1B 78 */ mr r31, r3 +/* 802C9C78 002C6BD8 4B FF EE B5 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C9C7C 002C6BDC 7F E3 FB 78 */ mr r3, r31 +/* 802C9C80 002C6BE0 4B FF FE F1 */ bl _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +/* 802C9C84 002C6BE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9C88 002C6BE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9C8C 002C6BEC 7C 08 03 A6 */ mtlr r0 +/* 802C9C90 002C6BF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9C94 002C6BF4 4E 80 00 20 */ blr + +.global __dt__15CGuiTextSupportFv +__dt__15CGuiTextSupportFv: +/* 802C9C98 002C6BF8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C9C9C 002C6BFC 7C 08 02 A6 */ mflr r0 +/* 802C9CA0 002C6C00 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C9CA4 002C6C04 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802C9CA8 002C6C08 7C 9F 23 78 */ mr r31, r4 +/* 802C9CAC 002C6C0C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802C9CB0 002C6C10 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C9CB4 002C6C14 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802C9CB8 002C6C18 93 81 00 30 */ stw r28, 0x30(r1) +/* 802C9CBC 002C6C1C 41 82 01 0C */ beq lbl_802C9DC8 +/* 802C9CC0 002C6C20 38 7E 02 EC */ addi r3, r30, 0x2ec +/* 802C9CC4 002C6C24 38 80 FF FF */ li r4, -1 +/* 802C9CC8 002C6C28 48 00 04 29 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +/* 802C9CCC 002C6C2C 34 1E 02 CC */ addic. r0, r30, 0x2cc +/* 802C9CD0 002C6C30 41 82 00 30 */ beq lbl_802C9D00 +/* 802C9CD4 002C6C34 88 1E 02 D8 */ lbz r0, 0x2d8(r30) +/* 802C9CD8 002C6C38 28 00 00 00 */ cmplwi r0, 0 +/* 802C9CDC 002C6C3C 41 82 00 1C */ beq lbl_802C9CF8 +/* 802C9CE0 002C6C40 34 7E 02 CC */ addic. r3, r30, 0x2cc +/* 802C9CE4 002C6C44 41 82 00 14 */ beq lbl_802C9CF8 +/* 802C9CE8 002C6C48 28 03 00 00 */ cmplwi r3, 0 +/* 802C9CEC 002C6C4C 41 82 00 0C */ beq lbl_802C9CF8 +/* 802C9CF0 002C6C50 38 80 00 00 */ li r4, 0 +/* 802C9CF4 002C6C54 48 07 71 4D */ bl __dt__6CTokenFv +lbl_802C9CF8: +/* 802C9CF8 002C6C58 38 00 00 00 */ li r0, 0 +/* 802C9CFC 002C6C5C 98 1E 02 D8 */ stb r0, 0x2d8(r30) +lbl_802C9D00: +/* 802C9D00 002C6C60 34 1E 02 BC */ addic. r0, r30, 0x2bc +/* 802C9D04 002C6C64 41 82 00 50 */ beq lbl_802C9D54 +/* 802C9D08 002C6C68 80 1E 02 C0 */ lwz r0, 0x2c0(r30) +/* 802C9D0C 002C6C6C 83 9E 02 C8 */ lwz r28, 0x2c8(r30) +/* 802C9D10 002C6C70 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9D14 002C6C74 7F BC 02 14 */ add r29, r28, r0 +/* 802C9D18 002C6C78 93 81 00 1C */ stw r28, 0x1c(r1) +/* 802C9D1C 002C6C7C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C9D20 002C6C80 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C9D24 002C6C84 93 81 00 18 */ stw r28, 0x18(r1) +/* 802C9D28 002C6C88 48 00 00 14 */ b lbl_802C9D3C +lbl_802C9D2C: +/* 802C9D2C 002C6C8C 7F 83 E3 78 */ mr r3, r28 +/* 802C9D30 002C6C90 38 80 FF FF */ li r4, -1 +/* 802C9D34 002C6C94 48 07 71 0D */ bl __dt__6CTokenFv +/* 802C9D38 002C6C98 3B 9C 00 08 */ addi r28, r28, 8 +lbl_802C9D3C: +/* 802C9D3C 002C6C9C 7C 1C E8 40 */ cmplw r28, r29 +/* 802C9D40 002C6CA0 40 82 FF EC */ bne lbl_802C9D2C +/* 802C9D44 002C6CA4 80 7E 02 C8 */ lwz r3, 0x2c8(r30) +/* 802C9D48 002C6CA8 28 03 00 00 */ cmplwi r3, 0 +/* 802C9D4C 002C6CAC 41 82 00 08 */ beq lbl_802C9D54 +/* 802C9D50 002C6CB0 48 04 BB E1 */ bl Free__7CMemoryFPCv +lbl_802C9D54: +/* 802C9D54 002C6CB4 38 7E 00 60 */ addi r3, r30, 0x60 +/* 802C9D58 002C6CB8 38 80 FF FF */ li r4, -1 +/* 802C9D5C 002C6CBC 48 00 00 91 */ bl sub_802c9dec +/* 802C9D60 002C6CC0 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 802C9D64 002C6CC4 41 82 00 44 */ beq lbl_802C9DA8 +/* 802C9D68 002C6CC8 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802C9D6C 002C6CCC 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802C9D70 002C6CD0 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9D74 002C6CD4 7C 03 02 14 */ add r0, r3, r0 +/* 802C9D78 002C6CD8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C9D7C 002C6CDC 7C 64 1B 78 */ mr r4, r3 +/* 802C9D80 002C6CE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9D84 002C6CE4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C9D88 002C6CE8 90 61 00 08 */ stw r3, 8(r1) +/* 802C9D8C 002C6CEC 48 00 00 08 */ b lbl_802C9D94 +lbl_802C9D90: +/* 802C9D90 002C6CF0 38 84 00 08 */ addi r4, r4, 8 +lbl_802C9D94: +/* 802C9D94 002C6CF4 7C 04 00 40 */ cmplw r4, r0 +/* 802C9D98 002C6CF8 40 82 FF F8 */ bne lbl_802C9D90 +/* 802C9D9C 002C6CFC 28 03 00 00 */ cmplwi r3, 0 +/* 802C9DA0 002C6D00 41 82 00 08 */ beq lbl_802C9DA8 +/* 802C9DA4 002C6D04 48 04 BB 8D */ bl Free__7CMemoryFPCv +lbl_802C9DA8: +/* 802C9DA8 002C6D08 28 1E 00 00 */ cmplwi r30, 0 +/* 802C9DAC 002C6D0C 41 82 00 0C */ beq lbl_802C9DB8 +/* 802C9DB0 002C6D10 7F C3 F3 78 */ mr r3, r30 +/* 802C9DB4 002C6D14 48 07 33 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802C9DB8: +/* 802C9DB8 002C6D18 7F E0 07 35 */ extsh. r0, r31 +/* 802C9DBC 002C6D1C 40 81 00 0C */ ble lbl_802C9DC8 +/* 802C9DC0 002C6D20 7F C3 F3 78 */ mr r3, r30 +/* 802C9DC4 002C6D24 48 04 BB 6D */ bl Free__7CMemoryFPCv +lbl_802C9DC8: +/* 802C9DC8 002C6D28 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C9DCC 002C6D2C 7F C3 F3 78 */ mr r3, r30 +/* 802C9DD0 002C6D30 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802C9DD4 002C6D34 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802C9DD8 002C6D38 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802C9DDC 002C6D3C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802C9DE0 002C6D40 7C 08 03 A6 */ mtlr r0 +/* 802C9DE4 002C6D44 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C9DE8 002C6D48 4E 80 00 20 */ blr + +.global sub_802c9dec +sub_802c9dec: +/* 802C9DEC 002C6D4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9DF0 002C6D50 7C 08 02 A6 */ mflr r0 +/* 802C9DF4 002C6D54 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9DF8 002C6D58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9DFC 002C6D5C 7C 9F 23 78 */ mr r31, r4 +/* 802C9E00 002C6D60 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9E04 002C6D64 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C9E08 002C6D68 41 82 00 18 */ beq lbl_802C9E20 +/* 802C9E0C 002C6D6C 4B FF EC BD */ bl sub_802c8ac8 +/* 802C9E10 002C6D70 7F E0 07 35 */ extsh. r0, r31 +/* 802C9E14 002C6D74 40 81 00 0C */ ble lbl_802C9E20 +/* 802C9E18 002C6D78 7F C3 F3 78 */ mr r3, r30 +/* 802C9E1C 002C6D7C 48 04 BB 15 */ bl Free__7CMemoryFPCv +lbl_802C9E20: +/* 802C9E20 002C6D80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9E24 002C6D84 7F C3 F3 78 */ mr r3, r30 +/* 802C9E28 002C6D88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9E2C 002C6D8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C9E30 002C6D90 7C 08 03 A6 */ mtlr r0 +/* 802C9E34 002C6D94 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9E38 002C6D98 4E 80 00 20 */ blr + +.global __ct__15CGuiTextSupportFv +__ct__15CGuiTextSupportFv: +/* 802C9E3C 002C6D9C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C9E40 002C6DA0 7C 08 02 A6 */ mflr r0 +/* 802C9E44 002C6DA4 39 60 00 00 */ li r11, 0 +/* 802C9E48 002C6DA8 C0 42 C3 E0 */ lfs f2, lbl_805AE100@sda21(r2) +/* 802C9E4C 002C6DAC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C9E50 002C6DB0 38 0D A9 1A */ addi r0, r13, lbl_805A94DA@sda21 +/* 802C9E54 002C6DB4 C0 22 C4 08 */ lfs f1, lbl_805AE128@sda21(r2) +/* 802C9E58 002C6DB8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802C9E5C 002C6DBC C0 02 C4 0C */ lfs f0, lbl_805AE12C@sda21(r2) +/* 802C9E60 002C6DC0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802C9E64 002C6DC4 7C 7E 1B 78 */ mr r30, r3 +/* 802C9E68 002C6DC8 83 E1 00 48 */ lwz r31, 0x48(r1) +/* 802C9E6C 002C6DCC 90 03 00 00 */ stw r0, 0(r3) +/* 802C9E70 002C6DD0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C9E74 002C6DD4 91 7E 00 04 */ stw r11, 4(r30) +/* 802C9E78 002C6DD8 91 7E 00 08 */ stw r11, 8(r30) +/* 802C9E7C 002C6DDC D0 5E 00 10 */ stfs f2, 0x10(r30) +/* 802C9E80 002C6DE0 88 05 00 00 */ lbz r0, 0(r5) +/* 802C9E84 002C6DE4 98 1E 00 14 */ stb r0, 0x14(r30) +/* 802C9E88 002C6DE8 88 05 00 01 */ lbz r0, 1(r5) +/* 802C9E8C 002C6DEC 98 1E 00 15 */ stb r0, 0x15(r30) +/* 802C9E90 002C6DF0 80 05 00 04 */ lwz r0, 4(r5) +/* 802C9E94 002C6DF4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802C9E98 002C6DF8 80 05 00 08 */ lwz r0, 8(r5) +/* 802C9E9C 002C6DFC 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802C9EA0 002C6E00 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802C9EA4 002C6E04 38 A0 00 00 */ li r5, 0 +/* 802C9EA8 002C6E08 90 1E 00 20 */ stw r0, 0x20(r30) +/* 802C9EAC 002C6E0C 80 06 00 00 */ lwz r0, 0(r6) +/* 802C9EB0 002C6E10 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802C9EB4 002C6E14 80 07 00 00 */ lwz r0, 0(r7) +/* 802C9EB8 002C6E18 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802C9EBC 002C6E1C 80 08 00 00 */ lwz r0, 0(r8) +/* 802C9EC0 002C6E20 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802C9EC4 002C6E24 99 7E 00 30 */ stb r11, 0x30(r30) +/* 802C9EC8 002C6E28 91 3E 00 34 */ stw r9, 0x34(r30) +/* 802C9ECC 002C6E2C 91 5E 00 38 */ stw r10, 0x38(r30) +/* 802C9ED0 002C6E30 D0 5E 00 3C */ stfs f2, 0x3c(r30) +/* 802C9ED4 002C6E34 91 7E 00 44 */ stw r11, 0x44(r30) +/* 802C9ED8 002C6E38 91 7E 00 48 */ stw r11, 0x48(r30) +/* 802C9EDC 002C6E3C 91 7E 00 4C */ stw r11, 0x4c(r30) +/* 802C9EE0 002C6E40 99 7E 00 50 */ stb r11, 0x50(r30) +/* 802C9EE4 002C6E44 D0 3E 00 54 */ stfs f1, 0x54(r30) +/* 802C9EE8 002C6E48 D0 1E 00 58 */ stfs f0, 0x58(r30) +/* 802C9EEC 002C6E4C 90 9E 00 5C */ stw r4, 0x5c(r30) +/* 802C9EF0 002C6E50 38 80 00 00 */ li r4, 0 +/* 802C9EF4 002C6E54 99 7E 02 B8 */ stb r11, 0x2b8(r30) +/* 802C9EF8 002C6E58 91 7E 02 C0 */ stw r11, 0x2c0(r30) +/* 802C9EFC 002C6E5C 91 7E 02 C4 */ stw r11, 0x2c4(r30) +/* 802C9F00 002C6E60 91 7E 02 C8 */ stw r11, 0x2c8(r30) +/* 802C9F04 002C6E64 99 7E 02 D8 */ stb r11, 0x2d8(r30) +/* 802C9F08 002C6E68 48 04 A4 45 */ bl __ct__9CVector2iFii +/* 802C9F0C 002C6E6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C9F10 002C6E70 38 80 00 00 */ li r4, 0 +/* 802C9F14 002C6E74 38 A0 00 00 */ li r5, 0 +/* 802C9F18 002C6E78 48 04 A4 35 */ bl __ct__9CVector2iFii +/* 802C9F1C 002C6E7C 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802C9F20 002C6E80 38 7E 02 F8 */ addi r3, r30, 0x2f8 +/* 802C9F24 002C6E84 38 00 00 00 */ li r0, 0 +/* 802C9F28 002C6E88 90 9E 02 DC */ stw r4, 0x2dc(r30) +/* 802C9F2C 002C6E8C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802C9F30 002C6E90 90 9E 02 E0 */ stw r4, 0x2e0(r30) +/* 802C9F34 002C6E94 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C9F38 002C6E98 90 9E 02 E4 */ stw r4, 0x2e4(r30) +/* 802C9F3C 002C6E9C 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 802C9F40 002C6EA0 90 9E 02 E8 */ stw r4, 0x2e8(r30) +/* 802C9F44 002C6EA4 90 7E 02 F0 */ stw r3, 0x2f0(r30) +/* 802C9F48 002C6EA8 90 7E 02 F4 */ stw r3, 0x2f4(r30) +/* 802C9F4C 002C6EAC 90 7E 02 F8 */ stw r3, 0x2f8(r30) +/* 802C9F50 002C6EB0 90 7E 02 FC */ stw r3, 0x2fc(r30) +/* 802C9F54 002C6EB4 90 1E 03 00 */ stw r0, 0x300(r30) +/* 802C9F58 002C6EB8 90 1E 03 04 */ stw r0, 0x304(r30) +/* 802C9F5C 002C6EBC 98 1E 03 08 */ stb r0, 0x308(r30) +/* 802C9F60 002C6EC0 80 9E 00 5C */ lwz r4, 0x5c(r30) +/* 802C9F64 002C6EC4 3C 04 00 01 */ addis r0, r4, 1 +/* 802C9F68 002C6EC8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802C9F6C 002C6ECC 41 82 00 BC */ beq lbl_802CA028 +/* 802C9F70 002C6ED0 3C 60 46 4F */ lis r3, 0x464F4E54@ha +/* 802C9F74 002C6ED4 90 81 00 14 */ stw r4, 0x14(r1) +/* 802C9F78 002C6ED8 38 03 4E 54 */ addi r0, r3, 0x464F4E54@l +/* 802C9F7C 002C6EDC 7F E4 FB 78 */ mr r4, r31 +/* 802C9F80 002C6EE0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C9F84 002C6EE4 38 61 00 08 */ addi r3, r1, 8 +/* 802C9F88 002C6EE8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802C9F8C 002C6EEC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C9F90 002C6EF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C9F94 002C6EF4 7D 89 03 A6 */ mtctr r12 +/* 802C9F98 002C6EF8 4E 80 04 21 */ bctrl +/* 802C9F9C 002C6EFC 3B E1 00 28 */ addi r31, r1, 0x28 +/* 802C9FA0 002C6F00 38 81 00 08 */ addi r4, r1, 8 +/* 802C9FA4 002C6F04 7F E3 FB 78 */ mr r3, r31 +/* 802C9FA8 002C6F08 48 07 6F 01 */ bl __ct__6CTokenFRC6CToken +/* 802C9FAC 002C6F0C 7F E3 FB 78 */ mr r3, r31 +/* 802C9FB0 002C6F10 48 07 6E 5D */ bl GetObj__6CTokenFv +/* 802C9FB4 002C6F14 80 03 00 04 */ lwz r0, 4(r3) +/* 802C9FB8 002C6F18 90 01 00 30 */ stw r0, 0x30(r1) +/* 802C9FBC 002C6F1C 88 1E 02 D8 */ lbz r0, 0x2d8(r30) +/* 802C9FC0 002C6F20 28 00 00 00 */ cmplwi r0, 0 +/* 802C9FC4 002C6F24 40 82 00 34 */ bne lbl_802C9FF8 +/* 802C9FC8 002C6F28 37 FE 02 CC */ addic. r31, r30, 0x2cc +/* 802C9FCC 002C6F2C 41 82 00 20 */ beq lbl_802C9FEC +/* 802C9FD0 002C6F30 7F E3 FB 78 */ mr r3, r31 +/* 802C9FD4 002C6F34 38 81 00 28 */ addi r4, r1, 0x28 +/* 802C9FD8 002C6F38 48 07 6E D1 */ bl __ct__6CTokenFRC6CToken +/* 802C9FDC 002C6F3C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802C9FE0 002C6F40 7F E3 FB 78 */ mr r3, r31 +/* 802C9FE4 002C6F44 90 1F 00 08 */ stw r0, 8(r31) +/* 802C9FE8 002C6F48 48 07 6D 9D */ bl Lock__6CTokenFv +lbl_802C9FEC: +/* 802C9FEC 002C6F4C 38 00 00 01 */ li r0, 1 +/* 802C9FF0 002C6F50 98 1E 02 D8 */ stb r0, 0x2d8(r30) +/* 802C9FF4 002C6F54 48 00 00 1C */ b lbl_802CA010 +lbl_802C9FF8: +/* 802C9FF8 002C6F58 3B FE 02 CC */ addi r31, r30, 0x2cc +/* 802C9FFC 002C6F5C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CA000 002C6F60 7F E3 FB 78 */ mr r3, r31 +/* 802CA004 002C6F64 48 07 6C C1 */ bl __as__6CTokenFRC6CToken +/* 802CA008 002C6F68 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CA00C 002C6F6C 90 1F 00 08 */ stw r0, 8(r31) +lbl_802CA010: +/* 802CA010 002C6F70 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CA014 002C6F74 38 80 00 00 */ li r4, 0 +/* 802CA018 002C6F78 48 07 6E 29 */ bl __dt__6CTokenFv +/* 802CA01C 002C6F7C 38 61 00 08 */ addi r3, r1, 8 +/* 802CA020 002C6F80 38 80 FF FF */ li r4, -1 +/* 802CA024 002C6F84 48 07 6E 1D */ bl __dt__6CTokenFv +lbl_802CA028: +/* 802CA028 002C6F88 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CA02C 002C6F8C 7F C3 F3 78 */ mr r3, r30 +/* 802CA030 002C6F90 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CA034 002C6F94 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802CA038 002C6F98 7C 08 03 A6 */ mtlr r0 +/* 802CA03C 002C6F9C 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CA040 002C6FA0 4E 80 00 20 */ blr + +.global __ct__18CGuiTextPropertiesFv +__ct__18CGuiTextPropertiesFv: +/* 802CA044 002C6FA4 98 83 00 00 */ stb r4, 0(r3) +/* 802CA048 002C6FA8 98 A3 00 01 */ stb r5, 1(r3) +/* 802CA04C 002C6FAC 90 C3 00 04 */ stw r6, 4(r3) +/* 802CA050 002C6FB0 90 E3 00 08 */ stw r7, 8(r3) +/* 802CA054 002C6FB4 91 03 00 0C */ stw r8, 0xc(r3) +/* 802CA058 002C6FB8 4E 80 00 20 */ blr + +.global sub_802ca05c +sub_802ca05c: +/* 802CA05C 002C6FBC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA060 002C6FC0 7C 08 02 A6 */ mflr r0 +/* 802CA064 002C6FC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA068 002C6FC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CA06C 002C6FCC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CA070 002C6FD0 7C 9E 23 78 */ mr r30, r4 +/* 802CA074 002C6FD4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802CA078 002C6FD8 7C 7D 1B 78 */ mr r29, r3 +/* 802CA07C 002C6FDC 80 03 00 04 */ lwz r0, 4(r3) +/* 802CA080 002C6FE0 83 E4 00 04 */ lwz r31, 4(r4) +/* 802CA084 002C6FE4 7C 1E 00 40 */ cmplw r30, r0 +/* 802CA088 002C6FE8 40 82 00 08 */ bne lbl_802CA090 +/* 802CA08C 002C6FEC 93 FD 00 04 */ stw r31, 4(r29) +lbl_802CA090: +/* 802CA090 002C6FF0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA094 002C6FF4 38 7E 00 08 */ addi r3, r30, 8 +/* 802CA098 002C6FF8 80 BE 00 00 */ lwz r5, 0(r30) +/* 802CA09C 002C6FFC 38 80 FF FF */ li r4, -1 +/* 802CA0A0 002C7000 90 05 00 04 */ stw r0, 4(r5) +/* 802CA0A4 002C7004 80 1E 00 00 */ lwz r0, 0(r30) +/* 802CA0A8 002C7008 80 BE 00 04 */ lwz r5, 4(r30) +/* 802CA0AC 002C700C 90 05 00 00 */ stw r0, 0(r5) +/* 802CA0B0 002C7010 4B D5 E8 AD */ bl __dt__17CTextRenderBufferFv +/* 802CA0B4 002C7014 28 1E 00 00 */ cmplwi r30, 0 +/* 802CA0B8 002C7018 41 82 00 0C */ beq lbl_802CA0C4 +/* 802CA0BC 002C701C 7F C3 F3 78 */ mr r3, r30 +/* 802CA0C0 002C7020 48 04 B8 71 */ bl Free__7CMemoryFPCv +lbl_802CA0C4: +/* 802CA0C4 002C7024 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802CA0C8 002C7028 7F E3 FB 78 */ mr r3, r31 +/* 802CA0CC 002C702C 38 04 FF FF */ addi r0, r4, -1 +/* 802CA0D0 002C7030 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802CA0D4 002C7034 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CA0D8 002C7038 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CA0DC 002C703C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802CA0E0 002C7040 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CA0E4 002C7044 7C 08 03 A6 */ mtlr r0 +/* 802CA0E8 002C7048 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CA0EC 002C704C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +"__dt__Q24rstl25list<17CTextRenderBuffer>Fv": +/* 802CA0F0 002C7050 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA0F4 002C7054 7C 08 02 A6 */ mflr r0 +/* 802CA0F8 002C7058 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA0FC 002C705C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CA100 002C7060 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CA104 002C7064 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802CA108 002C7068 7C 9D 23 78 */ mr r29, r4 +/* 802CA10C 002C706C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802CA110 002C7070 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802CA114 002C7074 41 82 00 4C */ beq lbl_802CA160 +/* 802CA118 002C7078 83 FC 00 04 */ lwz r31, 4(r28) +/* 802CA11C 002C707C 48 00 00 28 */ b lbl_802CA144 +lbl_802CA120: +/* 802CA120 002C7080 7F FE FB 78 */ mr r30, r31 +/* 802CA124 002C7084 83 FF 00 04 */ lwz r31, 4(r31) +/* 802CA128 002C7088 38 7E 00 08 */ addi r3, r30, 8 +/* 802CA12C 002C708C 38 80 FF FF */ li r4, -1 +/* 802CA130 002C7090 4B D5 E8 2D */ bl __dt__17CTextRenderBufferFv +/* 802CA134 002C7094 28 1E 00 00 */ cmplwi r30, 0 +/* 802CA138 002C7098 41 82 00 0C */ beq lbl_802CA144 +/* 802CA13C 002C709C 7F C3 F3 78 */ mr r3, r30 +/* 802CA140 002C70A0 48 04 B7 F1 */ bl Free__7CMemoryFPCv +lbl_802CA144: +/* 802CA144 002C70A4 80 1C 00 08 */ lwz r0, 8(r28) +/* 802CA148 002C70A8 7C 1F 00 40 */ cmplw r31, r0 +/* 802CA14C 002C70AC 40 82 FF D4 */ bne lbl_802CA120 +/* 802CA150 002C70B0 7F A0 07 35 */ extsh. r0, r29 +/* 802CA154 002C70B4 40 81 00 0C */ ble lbl_802CA160 +/* 802CA158 002C70B8 7F 83 E3 78 */ mr r3, r28 +/* 802CA15C 002C70BC 48 04 B7 D5 */ bl Free__7CMemoryFPCv +lbl_802CA160: +/* 802CA160 002C70C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CA164 002C70C4 7F 83 E3 78 */ mr r3, r28 +/* 802CA168 002C70C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CA16C 002C70CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CA170 002C70D0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802CA174 002C70D4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802CA178 002C70D8 7C 08 03 A6 */ mtlr r0 +/* 802CA17C 002C70DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CA180 002C70E0 4E 80 00 20 */ blr + +.global sub_802ca184 +sub_802ca184: +/* 802CA184 002C70E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA188 002C70E8 7C 08 02 A6 */ mflr r0 +/* 802CA18C 002C70EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA190 002C70F0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802CA194 002C70F4 7C 9F 23 78 */ mr r31, r4 +/* 802CA198 002C70F8 7C 7E 1B 78 */ mr r30, r3 +/* 802CA19C 002C70FC 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA1A0 002C7100 7C 1F 00 00 */ cmpw r31, r0 +/* 802CA1A4 002C7104 40 81 00 C0 */ ble lbl_802CA264 +/* 802CA1A8 002C7108 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802CA1AC 002C710C 40 82 00 0C */ bne lbl_802CA1B8 +/* 802CA1B0 002C7110 3B 80 00 00 */ li r28, 0 +/* 802CA1B4 002C7114 48 00 00 18 */ b lbl_802CA1CC +lbl_802CA1B8: +/* 802CA1B8 002C7118 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA1BC 002C711C 38 A0 00 00 */ li r5, 0 +/* 802CA1C0 002C7120 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA1C4 002C7124 48 04 B6 55 */ bl __nwa__FUlPCcPCc +/* 802CA1C8 002C7128 7C 7C 1B 78 */ mr r28, r3 +lbl_802CA1CC: +/* 802CA1CC 002C712C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA1D0 002C7130 7F 9B E3 78 */ mr r27, r28 +/* 802CA1D4 002C7134 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802CA1D8 002C7138 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA1DC 002C713C 7F BA 02 14 */ add r29, r26, r0 +/* 802CA1E0 002C7140 93 41 00 10 */ stw r26, 0x10(r1) +/* 802CA1E4 002C7144 93 A1 00 08 */ stw r29, 8(r1) +/* 802CA1E8 002C7148 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802CA1EC 002C714C 93 41 00 14 */ stw r26, 0x14(r1) +/* 802CA1F0 002C7150 48 00 00 20 */ b lbl_802CA210 +lbl_802CA1F4: +/* 802CA1F4 002C7154 28 1B 00 00 */ cmplwi r27, 0 +/* 802CA1F8 002C7158 41 82 00 10 */ beq lbl_802CA208 +/* 802CA1FC 002C715C 7F 63 DB 78 */ mr r3, r27 +/* 802CA200 002C7160 7F 44 D3 78 */ mr r4, r26 +/* 802CA204 002C7164 48 07 6C A5 */ bl __ct__6CTokenFRC6CToken +lbl_802CA208: +/* 802CA208 002C7168 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CA20C 002C716C 3B 5A 00 08 */ addi r26, r26, 8 +lbl_802CA210: +/* 802CA210 002C7170 7C 1A E8 40 */ cmplw r26, r29 +/* 802CA214 002C7174 40 82 FF E0 */ bne lbl_802CA1F4 +/* 802CA218 002C7178 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA21C 002C717C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802CA220 002C7180 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA224 002C7184 7F 7A 02 14 */ add r27, r26, r0 +/* 802CA228 002C7188 48 00 00 1C */ b lbl_802CA244 +lbl_802CA22C: +/* 802CA22C 002C718C 28 1A 00 00 */ cmplwi r26, 0 +/* 802CA230 002C7190 41 82 00 10 */ beq lbl_802CA240 +/* 802CA234 002C7194 7F 43 D3 78 */ mr r3, r26 +/* 802CA238 002C7198 38 80 00 00 */ li r4, 0 +/* 802CA23C 002C719C 48 07 6C 05 */ bl __dt__6CTokenFv +lbl_802CA240: +/* 802CA240 002C71A0 3B 5A 00 08 */ addi r26, r26, 8 +lbl_802CA244: +/* 802CA244 002C71A4 7C 1A D8 40 */ cmplw r26, r27 +/* 802CA248 002C71A8 40 82 FF E4 */ bne lbl_802CA22C +/* 802CA24C 002C71AC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CA250 002C71B0 28 03 00 00 */ cmplwi r3, 0 +/* 802CA254 002C71B4 41 82 00 08 */ beq lbl_802CA25C +/* 802CA258 002C71B8 48 04 B6 D9 */ bl Free__7CMemoryFPCv +lbl_802CA25C: +/* 802CA25C 002C71BC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802CA260 002C71C0 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CA264: +/* 802CA264 002C71C4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802CA268 002C71C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA26C 002C71CC 7C 08 03 A6 */ mtlr r0 +/* 802CA270 002C71D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA274 002C71D4 4E 80 00 20 */ blr + +.global sub_802ca278 +sub_802ca278: +/* 802CA278 002C71D8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA27C 002C71DC 7C 08 02 A6 */ mflr r0 +/* 802CA280 002C71E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA284 002C71E4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CA288 002C71E8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CA28C 002C71EC 7C 9E 23 78 */ mr r30, r4 +/* 802CA290 002C71F0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CA294 002C71F4 7C 7D 1B 78 */ mr r29, r3 +/* 802CA298 002C71F8 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA29C 002C71FC 7C 1E 00 00 */ cmpw r30, r0 +/* 802CA2A0 002C7200 40 81 00 8C */ ble lbl_802CA32C +/* 802CA2A4 002C7204 1C 7E 00 1C */ mulli r3, r30, 0x1c +/* 802CA2A8 002C7208 2C 03 00 00 */ cmpwi r3, 0 +/* 802CA2AC 002C720C 40 82 00 0C */ bne lbl_802CA2B8 +/* 802CA2B0 002C7210 3B E0 00 00 */ li r31, 0 +/* 802CA2B4 002C7214 48 00 00 18 */ b lbl_802CA2CC +lbl_802CA2B8: +/* 802CA2B8 002C7218 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA2BC 002C721C 38 A0 00 00 */ li r5, 0 +/* 802CA2C0 002C7220 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA2C4 002C7224 48 04 B5 55 */ bl __nwa__FUlPCcPCc +/* 802CA2C8 002C7228 7C 7F 1B 78 */ mr r31, r3 +lbl_802CA2CC: +/* 802CA2CC 002C722C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802CA2D0 002C7230 7F E5 FB 78 */ mr r5, r31 +/* 802CA2D4 002C7234 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 802CA2D8 002C7238 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CA2DC 002C723C 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802CA2E0 002C7240 38 81 00 0C */ addi r4, r1, 0xc +/* 802CA2E4 002C7244 7C C6 02 14 */ add r6, r6, r0 +/* 802CA2E8 002C7248 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802CA2EC 002C724C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802CA2F0 002C7250 90 C1 00 08 */ stw r6, 8(r1) +/* 802CA2F4 002C7254 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CA2F8 002C7258 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA2FC 002C725C 48 00 00 99 */ bl sub_802ca394 +/* 802CA300 002C7260 80 1D 00 04 */ lwz r0, 4(r29) +/* 802CA304 002C7264 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802CA308 002C7268 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802CA30C 002C726C 7C 83 02 14 */ add r4, r3, r0 +/* 802CA310 002C7270 48 00 00 39 */ bl sub_802ca348 +/* 802CA314 002C7274 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802CA318 002C7278 28 03 00 00 */ cmplwi r3, 0 +/* 802CA31C 002C727C 41 82 00 08 */ beq lbl_802CA324 +/* 802CA320 002C7280 48 04 B6 11 */ bl Free__7CMemoryFPCv +lbl_802CA324: +/* 802CA324 002C7284 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802CA328 002C7288 93 DD 00 08 */ stw r30, 8(r29) +lbl_802CA32C: +/* 802CA32C 002C728C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA330 002C7290 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CA334 002C7294 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CA338 002C7298 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CA33C 002C729C 7C 08 03 A6 */ mtlr r0 +/* 802CA340 002C72A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA344 002C72A4 4E 80 00 20 */ blr + +.global sub_802ca348 +sub_802ca348: +/* 802CA348 002C72A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA34C 002C72AC 7C 08 02 A6 */ mflr r0 +/* 802CA350 002C72B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA354 002C72B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CA358 002C72B8 7C 7F 1B 78 */ mr r31, r3 +/* 802CA35C 002C72BC 93 C1 00 08 */ stw r30, 8(r1) +/* 802CA360 002C72C0 7C 9E 23 78 */ mr r30, r4 +/* 802CA364 002C72C4 48 00 00 10 */ b lbl_802CA374 +lbl_802CA368: +/* 802CA368 002C72C8 7F E3 FB 78 */ mr r3, r31 +/* 802CA36C 002C72CC 4B FF D9 E1 */ bl sub_802c7d4c +/* 802CA370 002C72D0 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802CA374: +/* 802CA374 002C72D4 7C 1F F0 40 */ cmplw r31, r30 +/* 802CA378 002C72D8 40 82 FF F0 */ bne lbl_802CA368 +/* 802CA37C 002C72DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA380 002C72E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CA384 002C72E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CA388 002C72E8 7C 08 03 A6 */ mtlr r0 +/* 802CA38C 002C72EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA390 002C72F0 4E 80 00 20 */ blr + +.global sub_802ca394 +sub_802ca394: +/* 802CA394 002C72F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA398 002C72F8 7C 08 02 A6 */ mflr r0 +/* 802CA39C 002C72FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA3A0 002C7300 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CA3A4 002C7304 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CA3A8 002C7308 7C BE 2B 78 */ mr r30, r5 +/* 802CA3AC 002C730C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802CA3B0 002C7310 7C 9D 23 78 */ mr r29, r4 +/* 802CA3B4 002C7314 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CA3B8 002C7318 48 00 00 18 */ b lbl_802CA3D0 +lbl_802CA3BC: +/* 802CA3BC 002C731C 7F C3 F3 78 */ mr r3, r30 +/* 802CA3C0 002C7320 7F E4 FB 78 */ mr r4, r31 +/* 802CA3C4 002C7324 4B FF E5 F9 */ bl sub_802c89bc +/* 802CA3C8 002C7328 3B DE 00 1C */ addi r30, r30, 0x1c +/* 802CA3CC 002C732C 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802CA3D0: +/* 802CA3D0 002C7330 80 1D 00 00 */ lwz r0, 0(r29) +/* 802CA3D4 002C7334 7C 1F 00 40 */ cmplw r31, r0 +/* 802CA3D8 002C7338 40 82 FF E4 */ bne lbl_802CA3BC +/* 802CA3DC 002C733C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CA3E0 002C7340 7F C3 F3 78 */ mr r3, r30 +/* 802CA3E4 002C7344 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CA3E8 002C7348 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CA3EC 002C734C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802CA3F0 002C7350 7C 08 03 A6 */ mtlr r0 +/* 802CA3F4 002C7354 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CA3F8 002C7358 4E 80 00 20 */ blr + +.global "reserve__Q24rstl37vectorFi" +"reserve__Q24rstl37vectorFi": +/* 802CA3FC 002C735C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA400 002C7360 7C 08 02 A6 */ mflr r0 +/* 802CA404 002C7364 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA408 002C7368 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CA40C 002C736C 7C 9F 23 78 */ mr r31, r4 +/* 802CA410 002C7370 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CA414 002C7374 7C 7E 1B 78 */ mr r30, r3 +/* 802CA418 002C7378 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CA41C 002C737C 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA420 002C7380 7C 1F 00 00 */ cmpw r31, r0 +/* 802CA424 002C7384 40 81 00 A8 */ ble lbl_802CA4CC +/* 802CA428 002C7388 7F E3 FB 79 */ or. r3, r31, r31 +/* 802CA42C 002C738C 40 82 00 0C */ bne lbl_802CA438 +/* 802CA430 002C7390 3B A0 00 00 */ li r29, 0 +/* 802CA434 002C7394 48 00 00 18 */ b lbl_802CA44C +lbl_802CA438: +/* 802CA438 002C7398 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA43C 002C739C 38 A0 00 00 */ li r5, 0 +/* 802CA440 002C73A0 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA444 002C73A4 48 04 B3 D5 */ bl __nwa__FUlPCcPCc +/* 802CA448 002C73A8 7C 7D 1B 78 */ mr r29, r3 +lbl_802CA44C: +/* 802CA44C 002C73AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802CA450 002C73B0 7F A4 EB 78 */ mr r4, r29 +/* 802CA454 002C73B4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA458 002C73B8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CA45C 002C73BC 7C 65 02 14 */ add r3, r5, r0 +/* 802CA460 002C73C0 7C 05 18 50 */ subf r0, r5, r3 +/* 802CA464 002C73C4 90 61 00 08 */ stw r3, 8(r1) +/* 802CA468 002C73C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CA46C 002C73CC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802CA470 002C73D0 7C 09 03 A6 */ mtctr r0 +/* 802CA474 002C73D4 7C 05 18 40 */ cmplw r5, r3 +/* 802CA478 002C73D8 41 82 00 20 */ beq lbl_802CA498 +lbl_802CA47C: +/* 802CA47C 002C73DC 28 04 00 00 */ cmplwi r4, 0 +/* 802CA480 002C73E0 41 82 00 0C */ beq lbl_802CA48C +/* 802CA484 002C73E4 88 05 00 00 */ lbz r0, 0(r5) +/* 802CA488 002C73E8 98 04 00 00 */ stb r0, 0(r4) +lbl_802CA48C: +/* 802CA48C 002C73EC 38 84 00 01 */ addi r4, r4, 1 +/* 802CA490 002C73F0 38 A5 00 01 */ addi r5, r5, 1 +/* 802CA494 002C73F4 42 00 FF E8 */ bdnz lbl_802CA47C +lbl_802CA498: +/* 802CA498 002C73F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CA49C 002C73FC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA4A0 002C7400 7C 83 02 14 */ add r4, r3, r0 +/* 802CA4A4 002C7404 7C 03 20 50 */ subf r0, r3, r4 +/* 802CA4A8 002C7408 7C 09 03 A6 */ mtctr r0 +/* 802CA4AC 002C740C 7C 03 20 40 */ cmplw r3, r4 +/* 802CA4B0 002C7410 41 82 00 08 */ beq lbl_802CA4B8 +lbl_802CA4B4: +/* 802CA4B4 002C7414 42 00 00 00 */ bdnz lbl_802CA4B4 +lbl_802CA4B8: +/* 802CA4B8 002C7418 28 03 00 00 */ cmplwi r3, 0 +/* 802CA4BC 002C741C 41 82 00 08 */ beq lbl_802CA4C4 +/* 802CA4C0 002C7420 48 04 B4 71 */ bl Free__7CMemoryFPCv +lbl_802CA4C4: +/* 802CA4C4 002C7424 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802CA4C8 002C7428 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CA4CC: +/* 802CA4CC 002C742C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA4D0 002C7430 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CA4D4 002C7434 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CA4D8 002C7438 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CA4DC 002C743C 7C 08 03 A6 */ mtlr r0 +/* 802CA4E0 002C7440 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA4E4 002C7444 4E 80 00 20 */ blr + +.global sub_802ca4e8 +sub_802ca4e8: +/* 802CA4E8 002C7448 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA4EC 002C744C 7C 08 02 A6 */ mflr r0 +/* 802CA4F0 002C7450 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA4F4 002C7454 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CA4F8 002C7458 7C 9F 23 78 */ mr r31, r4 +/* 802CA4FC 002C745C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CA500 002C7460 7C 7E 1B 78 */ mr r30, r3 +/* 802CA504 002C7464 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CA508 002C7468 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA50C 002C746C 7C 1F 00 00 */ cmpw r31, r0 +/* 802CA510 002C7470 40 81 00 B0 */ ble lbl_802CA5C0 +/* 802CA514 002C7474 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802CA518 002C7478 40 82 00 0C */ bne lbl_802CA524 +/* 802CA51C 002C747C 3B A0 00 00 */ li r29, 0 +/* 802CA520 002C7480 48 00 00 18 */ b lbl_802CA538 +lbl_802CA524: +/* 802CA524 002C7484 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA528 002C7488 38 A0 00 00 */ li r5, 0 +/* 802CA52C 002C748C 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA530 002C7490 48 04 B2 E9 */ bl __nwa__FUlPCcPCc +/* 802CA534 002C7494 7C 7D 1B 78 */ mr r29, r3 +lbl_802CA538: +/* 802CA538 002C7498 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA53C 002C749C 7F A4 EB 78 */ mr r4, r29 +/* 802CA540 002C74A0 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802CA544 002C74A4 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA548 002C74A8 7C 65 02 14 */ add r3, r5, r0 +/* 802CA54C 002C74AC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CA550 002C74B0 90 61 00 08 */ stw r3, 8(r1) +/* 802CA554 002C74B4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CA558 002C74B8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802CA55C 002C74BC 48 00 00 24 */ b lbl_802CA580 +lbl_802CA560: +/* 802CA560 002C74C0 28 04 00 00 */ cmplwi r4, 0 +/* 802CA564 002C74C4 41 82 00 14 */ beq lbl_802CA578 +/* 802CA568 002C74C8 C0 05 00 00 */ lfs f0, 0(r5) +/* 802CA56C 002C74CC D0 04 00 00 */ stfs f0, 0(r4) +/* 802CA570 002C74D0 80 05 00 04 */ lwz r0, 4(r5) +/* 802CA574 002C74D4 90 04 00 04 */ stw r0, 4(r4) +lbl_802CA578: +/* 802CA578 002C74D8 38 84 00 08 */ addi r4, r4, 8 +/* 802CA57C 002C74DC 38 A5 00 08 */ addi r5, r5, 8 +lbl_802CA580: +/* 802CA580 002C74E0 7C 05 18 40 */ cmplw r5, r3 +/* 802CA584 002C74E4 40 82 FF DC */ bne lbl_802CA560 +/* 802CA588 002C74E8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA58C 002C74EC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CA590 002C74F0 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA594 002C74F4 7C 64 1B 78 */ mr r4, r3 +/* 802CA598 002C74F8 7C 03 02 14 */ add r0, r3, r0 +/* 802CA59C 002C74FC 48 00 00 08 */ b lbl_802CA5A4 +lbl_802CA5A0: +/* 802CA5A0 002C7500 38 84 00 08 */ addi r4, r4, 8 +lbl_802CA5A4: +/* 802CA5A4 002C7504 7C 04 00 40 */ cmplw r4, r0 +/* 802CA5A8 002C7508 40 82 FF F8 */ bne lbl_802CA5A0 +/* 802CA5AC 002C750C 28 03 00 00 */ cmplwi r3, 0 +/* 802CA5B0 002C7510 41 82 00 08 */ beq lbl_802CA5B8 +/* 802CA5B4 002C7514 48 04 B3 7D */ bl Free__7CMemoryFPCv +lbl_802CA5B8: +/* 802CA5B8 002C7518 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802CA5BC 002C751C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CA5C0: +/* 802CA5C0 002C7520 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA5C4 002C7524 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CA5C8 002C7528 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CA5CC 002C752C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CA5D0 002C7530 7C 08 03 A6 */ mtlr r0 +/* 802CA5D4 002C7534 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA5D8 002C7538 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiWidget.s b/asm/GuiSys/CGuiWidget.s new file mode 100644 index 00000000..a9f4b64c --- /dev/null +++ b/asm/GuiSys/CGuiWidget.s @@ -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,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,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,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,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,Q24rstl17rmemory_allocator>Fv" +/* 802CAE3C 002C7D9C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802CAE40 002C7DA0 48 07 2C A1 */ bl "internal_dereference__Q24rstl66basic_string,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 diff --git a/asm/GuiSys/CGuiWidgetDrawParms.s b/asm/GuiSys/CGuiWidgetDrawParms.s new file mode 100644 index 00000000..e40564c3 --- /dev/null +++ b/asm/GuiSys/CGuiWidgetDrawParms.s @@ -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 diff --git a/asm/GuiSys/CGuiWidgetIdDB.s b/asm/GuiSys/CGuiWidgetIdDB.s new file mode 100644 index 00000000..a32a00c8 --- /dev/null +++ b/asm/GuiSys/CGuiWidgetIdDB.s @@ -0,0 +1,166 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,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,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,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,Q24rstl17rmemory_allocator>" +"AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,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,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,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,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,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,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,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,Q24rstl17rmemory_allocator>" +/* 802CB118 002C8078 38 61 00 38 */ addi r3, r1, 0x38 +/* 802CB11C 002C807C 48 07 29 C5 */ bl "internal_dereference__Q24rstl66basic_string,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,Q24rstl17rmemory_allocator>" +/* 802CB140 002C80A0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CB144 002C80A4 48 07 29 9D */ bl "internal_dereference__Q24rstl66basic_string,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,Q24rstl17rmemory_allocator>" +/* 802CB168 002C80C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CB16C 002C80CC 48 07 29 75 */ bl "internal_dereference__Q24rstl66basic_string,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,Q24rstl17rmemory_allocator>" +/* 802CB190 002C80F0 38 61 00 08 */ addi r3, r1, 8 +/* 802CB194 002C80F4 48 07 29 4D */ bl "internal_dereference__Q24rstl66basic_string,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 diff --git a/asm/GuiSys/CRepeatState.s b/asm/GuiSys/CRepeatState.s new file mode 100644 index 00000000..85d98aac --- /dev/null +++ b/asm/GuiSys/CRepeatState.s @@ -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 diff --git a/asm/Kyoto_CWD/CArtifactDoll.s b/asm/Kyoto_CWD/CArtifactDoll.s new file mode 100644 index 00000000..d0a4f699 --- /dev/null +++ b/asm/Kyoto_CWD/CArtifactDoll.s @@ -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__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 diff --git a/asm/Kyoto_CWD/CErrorOutputWindow.s b/asm/Kyoto_CWD/CErrorOutputWindow.s new file mode 100644 index 00000000..75c4e3cc --- /dev/null +++ b/asm/Kyoto_CWD/CErrorOutputWindow.s @@ -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,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,Q24rstl17rmemory_allocator>" +/* 80269BFC 00266B5C 38 61 00 08 */ addi r3, r1, 8 +/* 80269C00 00266B60 48 0D 3E E1 */ bl "internal_dereference__Q24rstl66basic_string,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 diff --git a/asm/Kyoto_CWD/CFluidPlaneRender.s b/asm/Kyoto_CWD/CFluidPlaneRender.s new file mode 100644 index 00000000..c2d36c2c --- /dev/null +++ b/asm/Kyoto_CWD/CFluidPlaneRender.s @@ -0,0 +1,4375 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob +RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob: +/* 8026BBF0 00268B50 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8026BBF4 00268B54 7C 08 02 A6 */ mflr r0 +/* 8026BBF8 00268B58 90 01 00 84 */ stw r0, 0x84(r1) +/* 8026BBFC 00268B5C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8026BC00 00268B60 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8026BC04 00268B64 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8026BC08 00268B68 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8026BC0C 00268B6C DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8026BC10 00268B70 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8026BC14 00268B74 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8026BC18 00268B78 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 8026BC1C 00268B7C BE C1 00 18 */ stmw r22, 0x18(r1) +/* 8026BC20 00268B80 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8026BC24 00268B84 7C 76 1B 78 */ mr r22, r3 +/* 8026BC28 00268B88 41 82 0C E0 */ beq lbl_8026C908 +/* 8026BC2C 00268B8C 88 F6 00 01 */ lbz r7, 1(r22) +/* 8026BC30 00268B90 3C 80 43 30 */ lis r4, 0x4330 +/* 8026BC34 00268B94 89 36 00 00 */ lbz r9, 0(r22) +/* 8026BC38 00268B98 7C E7 07 74 */ extsb r7, r7 +/* 8026BC3C 00268B9C 88 16 00 37 */ lbz r0, 0x37(r22) +/* 8026BC40 00268BA0 38 C7 FF FE */ addi r6, r7, -2 +/* 8026BC44 00268BA4 7D 29 07 74 */ extsb r9, r9 +/* 8026BC48 00268BA8 6C C6 80 00 */ xoris r6, r6, 0x8000 +/* 8026BC4C 00268BAC 7C 00 07 74 */ extsb r0, r0 +/* 8026BC50 00268BB0 38 69 FF FE */ addi r3, r9, -2 +/* 8026BC54 00268BB4 90 81 00 08 */ stw r4, 8(r1) +/* 8026BC58 00268BB8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8026BC5C 00268BBC C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026BC60 00268BC0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026BC64 00268BC4 2C 00 00 02 */ cmpwi r0, 2 +/* 8026BC68 00268BC8 C3 F6 00 04 */ lfs f31, 4(r22) +/* 8026BC6C 00268BCC C8 01 00 08 */ lfd f0, 8(r1) +/* 8026BC70 00268BD0 90 61 00 14 */ stw r3, 0x14(r1) +/* 8026BC74 00268BD4 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8026BC78 00268BD8 C3 96 00 08 */ lfs f28, 8(r22) +/* 8026BC7C 00268BDC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8026BC80 00268BE0 C0 76 00 18 */ lfs f3, 0x18(r22) +/* 8026BC84 00268BE4 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8026BC88 00268BE8 EF C3 E0 7A */ fmadds f30, f3, f1, f28 +/* 8026BC8C 00268BEC EC 00 10 28 */ fsubs f0, f0, f2 +/* 8026BC90 00268BF0 EF A3 F8 3A */ fmadds f29, f3, f0, f31 +/* 8026BC94 00268BF4 41 82 01 0C */ beq lbl_8026BDA0 +/* 8026BC98 00268BF8 40 80 00 14 */ bge lbl_8026BCAC +/* 8026BC9C 00268BFC 2C 00 00 00 */ cmpwi r0, 0 +/* 8026BCA0 00268C00 41 82 00 18 */ beq lbl_8026BCB8 +/* 8026BCA4 00268C04 40 80 00 64 */ bge lbl_8026BD08 +/* 8026BCA8 00268C08 48 00 0C AC */ b lbl_8026C954 +lbl_8026BCAC: +/* 8026BCAC 00268C0C 2C 00 00 04 */ cmpwi r0, 4 +/* 8026BCB0 00268C10 40 80 0C A4 */ bge lbl_8026C954 +/* 8026BCB4 00268C14 48 00 09 58 */ b lbl_8026C60C +lbl_8026BCB8: +/* 8026BCB8 00268C18 38 60 00 98 */ li r3, 0x98 +/* 8026BCBC 00268C1C 38 80 00 00 */ li r4, 0 +/* 8026BCC0 00268C20 38 A0 00 04 */ li r5, 4 +/* 8026BCC4 00268C24 48 09 C8 C1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026BCC8 00268C28 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026BCCC 00268C2C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026BCD0 00268C30 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8026BCD4 00268C34 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026BCD8 00268C38 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BCDC 00268C3C D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8026BCE0 00268C40 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026BCE4 00268C44 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BCE8 00268C48 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026BCEC 00268C4C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026BCF0 00268C50 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BCF4 00268C54 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026BCF8 00268C58 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026BCFC 00268C5C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BD00 00268C60 48 09 C8 81 */ bl End__3CGXFv +/* 8026BD04 00268C64 48 00 0C 50 */ b lbl_8026C954 +lbl_8026BD08: +/* 8026BD08 00268C68 38 60 00 98 */ li r3, 0x98 +/* 8026BD0C 00268C6C 38 80 00 00 */ li r4, 0 +/* 8026BD10 00268C70 38 A0 00 04 */ li r5, 4 +/* 8026BD14 00268C74 48 09 C8 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026BD18 00268C78 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 8026BD1C 00268C7C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026BD20 00268C80 D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 8026BD24 00268C84 38 60 00 00 */ li r3, 0 +/* 8026BD28 00268C88 38 00 00 FF */ li r0, 0xff +/* 8026BD2C 00268C8C D3 84 80 00 */ stfs f28, 0xCC008000@l(r4) +/* 8026BD30 00268C90 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD34 00268C94 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD38 00268C98 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD3C 00268C9C 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD40 00268CA0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD44 00268CA4 D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 8026BD48 00268CA8 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026BD4C 00268CAC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD50 00268CB0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD54 00268CB4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD58 00268CB8 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD5C 00268CBC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD60 00268CC0 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026BD64 00268CC4 D3 84 80 00 */ stfs f28, 0xCC008000@l(r4) +/* 8026BD68 00268CC8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD6C 00268CCC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD70 00268CD0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD74 00268CD4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD78 00268CD8 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD7C 00268CDC D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026BD80 00268CE0 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026BD84 00268CE4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD88 00268CE8 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD8C 00268CEC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD90 00268CF0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD94 00268CF4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD98 00268CF8 48 09 C7 E9 */ bl End__3CGXFv +/* 8026BD9C 00268CFC 48 00 0B B8 */ b lbl_8026C954 +lbl_8026BDA0: +/* 8026BDA0 00268D00 81 0D A5 74 */ lwz r8, lbl_805A9134@sda21(r13) +/* 8026BDA4 00268D04 38 07 FF FD */ addi r0, r7, -3 +/* 8026BDA8 00268D08 38 A9 FF FD */ addi r5, r9, -3 +/* 8026BDAC 00268D0C A8 76 00 2E */ lha r3, 0x2e(r22) +/* 8026BDB0 00268D10 7C C0 43 D6 */ divw r6, r0, r8 +/* 8026BDB4 00268D14 A8 16 00 2A */ lha r0, 0x2a(r22) +/* 8026BDB8 00268D18 FF C0 E0 90 */ fmr f30, f28 +/* 8026BDBC 00268D1C A8 96 00 28 */ lha r4, 0x28(r22) +/* 8026BDC0 00268D20 7C A5 43 D6 */ divw r5, r5, r8 +/* 8026BDC4 00268D24 3B C6 00 01 */ addi r30, r6, 1 +/* 8026BDC8 00268D28 7F DB F3 78 */ mr r27, r30 +/* 8026BDCC 00268D2C 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8026BDD0 00268D30 3B A5 00 01 */ addi r29, r5, 1 +/* 8026BDD4 00268D34 7F 84 02 14 */ add r28, r4, r0 +/* 8026BDD8 00268D38 48 00 08 28 */ b lbl_8026C600 +lbl_8026BDDC: +/* 8026BDDC 00268D3C 7C 7B F0 50 */ subf r3, r27, r30 +/* 8026BDE0 00268D40 20 1B 00 01 */ subfic r0, r27, 1 +/* 8026BDE4 00268D44 7C 63 00 34 */ cntlzw r3, r3 +/* 8026BDE8 00268D48 FF A0 F8 90 */ fmr f29, f31 +/* 8026BDEC 00268D4C 7C 00 00 34 */ cntlzw r0, r0 +/* 8026BDF0 00268D50 3B 00 00 00 */ li r24, 0 +/* 8026BDF4 00268D54 54 7A D9 7E */ srwi r26, r3, 5 +/* 8026BDF8 00268D58 54 19 D9 7E */ srwi r25, r0, 5 +/* 8026BDFC 00268D5C 48 00 07 E8 */ b lbl_8026C5E4 +lbl_8026BE00: +/* 8026BE00 00268D60 80 D6 00 30 */ lwz r6, 0x30(r22) +/* 8026BE04 00268D64 28 06 00 00 */ cmplwi r6, 0 +/* 8026BE08 00268D68 41 82 00 18 */ beq lbl_8026BE20 +/* 8026BE0C 00268D6C 41 82 07 A4 */ beq lbl_8026C5B0 +/* 8026BE10 00268D70 7C 06 C2 14 */ add r0, r6, r24 +/* 8026BE14 00268D74 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8026BE18 00268D78 7C 00 07 75 */ extsb. r0, r0 +/* 8026BE1C 00268D7C 41 82 07 94 */ beq lbl_8026C5B0 +lbl_8026BE20: +/* 8026BE20 00268D80 38 9D FF FF */ addi r4, r29, -1 +/* 8026BE24 00268D84 7F 05 00 34 */ cntlzw r5, r24 +/* 8026BE28 00268D88 7C 78 20 50 */ subf r3, r24, r4 +/* 8026BE2C 00268D8C 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8026BE30 00268D90 7C 63 00 34 */ cntlzw r3, r3 +/* 8026BE34 00268D94 54 BF D9 7E */ srwi r31, r5, 5 +/* 8026BE38 00268D98 54 77 D9 7E */ srwi r23, r3, 5 +/* 8026BE3C 00268D9C 40 82 00 1C */ bne lbl_8026BE58 +/* 8026BE40 00268DA0 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8026BE44 00268DA4 40 82 00 14 */ bne lbl_8026BE58 +/* 8026BE48 00268DA8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8026BE4C 00268DAC 40 82 00 0C */ bne lbl_8026BE58 +/* 8026BE50 00268DB0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026BE54 00268DB4 41 82 06 68 */ beq lbl_8026C4BC +lbl_8026BE58: +/* 8026BE58 00268DB8 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8026BE5C 00268DBC 38 60 00 01 */ li r3, 1 +/* 8026BE60 00268DC0 41 82 00 08 */ beq lbl_8026BE68 +/* 8026BE64 00268DC4 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026BE68: +/* 8026BE68 00268DC8 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026BE6C 00268DCC 38 83 00 02 */ addi r4, r3, 2 +/* 8026BE70 00268DD0 38 60 00 01 */ li r3, 1 +/* 8026BE74 00268DD4 41 82 00 08 */ beq lbl_8026BE7C +/* 8026BE78 00268DD8 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026BE7C: +/* 8026BE7C 00268DDC 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8026BE80 00268DE0 7C 84 1A 14 */ add r4, r4, r3 +/* 8026BE84 00268DE4 38 60 00 01 */ li r3, 1 +/* 8026BE88 00268DE8 41 82 00 08 */ beq lbl_8026BE90 +/* 8026BE8C 00268DEC 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026BE90: +/* 8026BE90 00268DF0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8026BE94 00268DF4 7C 84 1A 14 */ add r4, r4, r3 +/* 8026BE98 00268DF8 38 00 00 01 */ li r0, 1 +/* 8026BE9C 00268DFC 41 82 00 08 */ beq lbl_8026BEA4 +/* 8026BEA0 00268E00 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026BEA4: +/* 8026BEA4 00268E04 7C 84 02 14 */ add r4, r4, r0 +/* 8026BEA8 00268E08 38 60 00 A0 */ li r3, 0xa0 +/* 8026BEAC 00268E0C 54 85 04 3E */ clrlwi r5, r4, 0x10 +/* 8026BEB0 00268E10 38 80 00 00 */ li r4, 0 +/* 8026BEB4 00268E14 48 09 C6 D1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026BEB8 00268E18 C0 42 BB 94 */ lfs f2, lbl_805AD8B4@sda21(r2) +/* 8026BEBC 00268E1C 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8026BEC0 00268E20 C0 36 00 14 */ lfs f1, 0x14(r22) +/* 8026BEC4 00268E24 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8026BEC8 00268E28 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026BECC 00268E2C 38 A0 00 00 */ li r5, 0 +/* 8026BED0 00268E30 EC 42 00 72 */ fmuls f2, f2, f1 +/* 8026BED4 00268E34 38 80 00 3F */ li r4, 0x3f +/* 8026BED8 00268E38 38 60 00 FF */ li r3, 0xff +/* 8026BEDC 00268E3C 38 00 00 01 */ li r0, 1 +/* 8026BEE0 00268E40 EC 3D 10 2A */ fadds f1, f29, f2 +/* 8026BEE4 00268E44 EC 5E 10 2A */ fadds f2, f30, f2 +/* 8026BEE8 00268E48 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8026BEEC 00268E4C D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8026BEF0 00268E50 D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8026BEF4 00268E54 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BEF8 00268E58 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BEFC 00268E5C 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026BF00 00268E60 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BF04 00268E64 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BF08 00268E68 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BF0C 00268E6C 98 66 80 00 */ stb r3, 0xCC008000@l(r6) +/* 8026BF10 00268E70 41 82 00 08 */ beq lbl_8026BF18 +/* 8026BF14 00268E74 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026BF18: +/* 8026BF18 00268E78 FC 60 E8 90 */ fmr f3, f29 +/* 8026BF1C 00268E7C 2C 00 00 00 */ cmpwi r0, 0 +/* 8026BF20 00268E80 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026BF24 00268E84 7C 03 03 78 */ mr r3, r0 +/* 8026BF28 00268E88 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026BF2C 00268E8C 38 80 00 FF */ li r4, 0xff +/* 8026BF30 00268E90 38 C0 00 00 */ li r6, 0 +/* 8026BF34 00268E94 38 A0 00 3F */ li r5, 0x3f +/* 8026BF38 00268E98 40 81 01 3C */ ble lbl_8026C074 +/* 8026BF3C 00268E9C 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8026BF40 00268EA0 7C 09 03 A6 */ mtctr r0 +/* 8026BF44 00268EA4 41 82 00 F0 */ beq lbl_8026C034 +lbl_8026BF48: +/* 8026BF48 00268EA8 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BF4C 00268EAC EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BF50 00268EB0 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BF54 00268EB4 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026BF58 00268EB8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026BF5C 00268EBC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF60 00268EC0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF64 00268EC4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026BF68 00268EC8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF6C 00268ECC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF70 00268ED0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF74 00268ED4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026BF78 00268ED8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026BF7C 00268EDC C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BF80 00268EE0 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026BF84 00268EE4 EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BF88 00268EE8 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BF8C 00268EEC D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026BF90 00268EF0 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026BF94 00268EF4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF98 00268EF8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF9C 00268EFC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026BFA0 00268F00 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFA4 00268F04 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFA8 00268F08 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFAC 00268F0C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026BFB0 00268F10 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026BFB4 00268F14 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BFB8 00268F18 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026BFBC 00268F1C EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BFC0 00268F20 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BFC4 00268F24 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026BFC8 00268F28 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026BFCC 00268F2C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFD0 00268F30 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFD4 00268F34 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026BFD8 00268F38 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFDC 00268F3C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFE0 00268F40 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFE4 00268F44 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026BFE8 00268F48 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026BFEC 00268F4C C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BFF0 00268F50 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026BFF4 00268F54 EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BFF8 00268F58 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BFFC 00268F5C D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026C000 00268F60 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C004 00268F64 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C008 00268F68 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C00C 00268F6C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C010 00268F70 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C014 00268F74 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C018 00268F78 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C01C 00268F7C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C020 00268F80 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C024 00268F84 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026C028 00268F88 42 00 FF 20 */ bdnz lbl_8026BF48 +/* 8026C02C 00268F8C 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C030 00268F90 41 82 00 44 */ beq lbl_8026C074 +lbl_8026C034: +/* 8026C034 00268F94 7C 69 03 A6 */ mtctr r3 +lbl_8026C038: +/* 8026C038 00268F98 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C03C 00268F9C EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026C040 00268FA0 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C044 00268FA4 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026C048 00268FA8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C04C 00268FAC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C050 00268FB0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C054 00268FB4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C058 00268FB8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C05C 00268FBC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C060 00268FC0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C064 00268FC4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C068 00268FC8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C06C 00268FCC EC 63 00 2A */ fadds f3, f3, f0 +/* 8026C070 00268FD0 42 00 FF C8 */ bdnz lbl_8026C038 +lbl_8026C074: +/* 8026C074 00268FD4 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026C078 00268FD8 38 60 00 01 */ li r3, 1 +/* 8026C07C 00268FDC 41 82 00 08 */ beq lbl_8026C084 +/* 8026C080 00268FE0 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026C084: +/* 8026C084 00268FE4 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C088 00268FE8 2C 03 00 00 */ cmpwi r3, 0 +/* 8026C08C 00268FEC C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C090 00268FF0 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026C094 00268FF4 EC 7E 00 2A */ fadds f3, f30, f0 +/* 8026C098 00268FF8 38 80 00 FF */ li r4, 0xff +/* 8026C09C 00268FFC 38 C0 00 00 */ li r6, 0 +/* 8026C0A0 00269000 38 A0 00 3F */ li r5, 0x3f +/* 8026C0A4 00269004 40 81 01 3C */ ble lbl_8026C1E0 +/* 8026C0A8 00269008 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f +/* 8026C0AC 0026900C 7C 09 03 A6 */ mtctr r0 +/* 8026C0B0 00269010 41 82 00 F0 */ beq lbl_8026C1A0 +lbl_8026C0B4: +/* 8026C0B4 00269014 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C0B8 00269018 EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C0BC 0026901C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C0C0 00269020 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C0C4 00269024 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C0C8 00269028 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0CC 0026902C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0D0 00269030 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C0D4 00269034 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0D8 00269038 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0DC 0026903C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0E0 00269040 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C0E4 00269044 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C0E8 00269048 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C0EC 0026904C EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C0F0 00269050 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C0F4 00269054 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C0F8 00269058 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C0FC 0026905C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C100 00269060 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C104 00269064 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C108 00269068 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C10C 0026906C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C110 00269070 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C114 00269074 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C118 00269078 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C11C 0026907C C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C120 00269080 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C124 00269084 EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C128 00269088 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C12C 0026908C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C130 00269090 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C134 00269094 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C138 00269098 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C13C 0026909C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C140 002690A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C144 002690A4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C148 002690A8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C14C 002690AC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C150 002690B0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C154 002690B4 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C158 002690B8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C15C 002690BC EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C160 002690C0 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C164 002690C4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C168 002690C8 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C16C 002690CC D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C170 002690D0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C174 002690D4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C178 002690D8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C17C 002690DC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C180 002690E0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C184 002690E4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C188 002690E8 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C18C 002690EC C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C190 002690F0 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C194 002690F4 42 00 FF 20 */ bdnz lbl_8026C0B4 +/* 8026C198 002690F8 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C19C 002690FC 41 82 00 44 */ beq lbl_8026C1E0 +lbl_8026C1A0: +/* 8026C1A0 00269100 7C 69 03 A6 */ mtctr r3 +lbl_8026C1A4: +/* 8026C1A4 00269104 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C1A8 00269108 EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C1AC 0026910C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C1B0 00269110 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C1B4 00269114 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C1B8 00269118 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1BC 0026911C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1C0 00269120 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C1C4 00269124 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1C8 00269128 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1CC 0026912C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1D0 00269130 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C1D4 00269134 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C1D8 00269138 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C1DC 0026913C 42 00 FF C8 */ bdnz lbl_8026C1A4 +lbl_8026C1E0: +/* 8026C1E0 00269140 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8026C1E4 00269144 38 60 00 01 */ li r3, 1 +/* 8026C1E8 00269148 41 82 00 08 */ beq lbl_8026C1F0 +/* 8026C1EC 0026914C 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026C1F0: +/* 8026C1F0 00269150 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C1F4 00269154 2C 03 00 00 */ cmpwi r3, 0 +/* 8026C1F8 00269158 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C1FC 0026915C 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026C200 00269160 EC 5D 00 2A */ fadds f2, f29, f0 +/* 8026C204 00269164 38 A0 00 00 */ li r5, 0 +/* 8026C208 00269168 38 80 00 FF */ li r4, 0xff +/* 8026C20C 0026916C 38 C0 00 3F */ li r6, 0x3f +/* 8026C210 00269170 40 81 01 14 */ ble lbl_8026C324 +/* 8026C214 00269174 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f +/* 8026C218 00269178 7C 09 03 A6 */ mtctr r0 +/* 8026C21C 0026917C 41 82 00 D0 */ beq lbl_8026C2EC +lbl_8026C220: +/* 8026C220 00269180 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C224 00269184 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C228 00269188 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C22C 0026918C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C230 00269190 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C234 00269194 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C238 00269198 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C23C 0026919C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C240 002691A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C244 002691A4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C248 002691A8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C24C 002691AC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C250 002691B0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C254 002691B4 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C258 002691B8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C25C 002691BC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C260 002691C0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C264 002691C4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C268 002691C8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C26C 002691CC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C270 002691D0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C274 002691D4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C278 002691D8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C27C 002691DC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C280 002691E0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C284 002691E4 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C288 002691E8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C28C 002691EC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C290 002691F0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C294 002691F4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C298 002691F8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C29C 002691FC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2A0 00269200 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2A4 00269204 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C2A8 00269208 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C2AC 0026920C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C2B0 00269210 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C2B4 00269214 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C2B8 00269218 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C2BC 0026921C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2C0 00269220 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2C4 00269224 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C2C8 00269228 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2CC 0026922C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2D0 00269230 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2D4 00269234 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C2D8 00269238 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C2DC 0026923C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C2E0 00269240 42 00 FF 40 */ bdnz lbl_8026C220 +/* 8026C2E4 00269244 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C2E8 00269248 41 82 00 3C */ beq lbl_8026C324 +lbl_8026C2EC: +/* 8026C2EC 0026924C 7C 69 03 A6 */ mtctr r3 +lbl_8026C2F0: +/* 8026C2F0 00269250 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C2F4 00269254 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C2F8 00269258 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C2FC 0026925C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C300 00269260 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C304 00269264 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C308 00269268 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C30C 0026926C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C310 00269270 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C314 00269274 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C318 00269278 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C31C 0026927C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C320 00269280 42 00 FF D0 */ bdnz lbl_8026C2F0 +lbl_8026C324: +/* 8026C324 00269284 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8026C328 00269288 38 60 00 01 */ li r3, 1 +/* 8026C32C 0026928C 41 82 00 08 */ beq lbl_8026C334 +/* 8026C330 00269290 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026C334: +/* 8026C334 00269294 FC 40 F0 90 */ fmr f2, f30 +/* 8026C338 00269298 2C 03 00 00 */ cmpwi r3, 0 +/* 8026C33C 0026929C C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C340 002692A0 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026C344 002692A4 38 A0 00 00 */ li r5, 0 +/* 8026C348 002692A8 38 80 00 FF */ li r4, 0xff +/* 8026C34C 002692AC 38 C0 00 3F */ li r6, 0x3f +/* 8026C350 002692B0 40 81 01 14 */ ble lbl_8026C464 +/* 8026C354 002692B4 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f +/* 8026C358 002692B8 7C 09 03 A6 */ mtctr r0 +/* 8026C35C 002692BC 41 82 00 D0 */ beq lbl_8026C42C +lbl_8026C360: +/* 8026C360 002692C0 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C364 002692C4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C368 002692C8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C36C 002692CC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C370 002692D0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C374 002692D4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C378 002692D8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C37C 002692DC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C380 002692E0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C384 002692E4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C388 002692E8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C38C 002692EC EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C390 002692F0 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C394 002692F4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C398 002692F8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C39C 002692FC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3A0 00269300 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3A4 00269304 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C3A8 00269308 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3AC 0026930C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3B0 00269310 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3B4 00269314 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C3B8 00269318 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C3BC 0026931C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C3C0 00269320 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C3C4 00269324 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C3C8 00269328 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C3CC 0026932C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3D0 00269330 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3D4 00269334 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C3D8 00269338 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3DC 0026933C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3E0 00269340 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3E4 00269344 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C3E8 00269348 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C3EC 0026934C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C3F0 00269350 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C3F4 00269354 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C3F8 00269358 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C3FC 0026935C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C400 00269360 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C404 00269364 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C408 00269368 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C40C 0026936C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C410 00269370 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C414 00269374 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C418 00269378 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C41C 0026937C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C420 00269380 42 00 FF 40 */ bdnz lbl_8026C360 +/* 8026C424 00269384 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C428 00269388 41 82 00 3C */ beq lbl_8026C464 +lbl_8026C42C: +/* 8026C42C 0026938C 7C 69 03 A6 */ mtctr r3 +lbl_8026C430: +/* 8026C430 00269390 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C434 00269394 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C438 00269398 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C43C 0026939C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C440 002693A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C444 002693A4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C448 002693A8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C44C 002693AC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C450 002693B0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C454 002693B4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C458 002693B8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C45C 002693BC EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C460 002693C0 42 00 FF D0 */ bdnz lbl_8026C430 +lbl_8026C464: +/* 8026C464 002693C4 C0 36 00 14 */ lfs f1, 0x14(r22) +/* 8026C468 002693C8 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8026C46C 002693CC C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026C470 002693D0 38 80 00 00 */ li r4, 0 +/* 8026C474 002693D4 EC 3E 08 2A */ fadds f1, f30, f1 +/* 8026C478 002693D8 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C47C 002693DC 38 60 00 3F */ li r3, 0x3f +/* 8026C480 002693E0 38 00 00 FF */ li r0, 0xff +/* 8026C484 002693E4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C488 002693E8 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C48C 002693EC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C490 002693F0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C494 002693F4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C498 002693F8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C49C 002693FC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C4A0 00269400 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C4A4 00269404 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C4A8 00269408 48 09 C0 D9 */ bl End__3CGXFv +/* 8026C4AC 0026940C C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C4B0 00269410 3B F8 00 01 */ addi r31, r24, 1 +/* 8026C4B4 00269414 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C4B8 00269418 48 00 01 28 */ b lbl_8026C5E0 +lbl_8026C4BC: +/* 8026C4BC 0026941C 3B F8 00 01 */ addi r31, r24, 1 +/* 8026C4C0 00269420 48 00 00 08 */ b lbl_8026C4C8 +lbl_8026C4C4: +/* 8026C4C4 00269424 3B FF 00 01 */ addi r31, r31, 1 +lbl_8026C4C8: +/* 8026C4C8 00269428 7C 1F 20 00 */ cmpw r31, r4 +/* 8026C4CC 0026942C 40 80 00 20 */ bge lbl_8026C4EC +/* 8026C4D0 00269430 28 06 00 00 */ cmplwi r6, 0 +/* 8026C4D4 00269434 41 82 FF F0 */ beq lbl_8026C4C4 +/* 8026C4D8 00269438 41 82 00 14 */ beq lbl_8026C4EC +/* 8026C4DC 0026943C 7C 06 FA 14 */ add r0, r6, r31 +/* 8026C4E0 00269440 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8026C4E4 00269444 7C 00 07 75 */ extsb. r0, r0 +/* 8026C4E8 00269448 40 82 FF DC */ bne lbl_8026C4C4 +lbl_8026C4EC: +/* 8026C4EC 0026944C 7C 98 F8 50 */ subf r4, r24, r31 +/* 8026C4F0 00269450 38 60 00 98 */ li r3, 0x98 +/* 8026C4F4 00269454 3A E4 00 01 */ addi r23, r4, 1 +/* 8026C4F8 00269458 38 80 00 00 */ li r4, 0 +/* 8026C4FC 0026945C 56 E5 0C 3C */ rlwinm r5, r23, 1, 0x10, 0x1e +/* 8026C500 00269460 48 09 C0 85 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026C504 00269464 7E E6 BB 78 */ mr r6, r23 +/* 8026C508 00269468 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C50C 0026946C 3C A0 CC 01 */ lis r5, 0xcc01 +/* 8026C510 00269470 7E E9 03 A6 */ mtctr r23 +/* 8026C514 00269474 2C 17 00 00 */ cmpwi r23, 0 +/* 8026C518 00269478 40 81 00 78 */ ble lbl_8026C590 +lbl_8026C51C: +/* 8026C51C 0026947C D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C520 00269480 38 80 00 00 */ li r4, 0 +/* 8026C524 00269484 38 60 00 3F */ li r3, 0x3f +/* 8026C528 00269488 38 00 00 FF */ li r0, 0xff +/* 8026C52C 0026948C D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) +/* 8026C530 00269490 38 C6 FF FF */ addi r6, r6, -1 +/* 8026C534 00269494 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C538 00269498 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C53C 0026949C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C540 002694A0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C544 002694A4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C548 002694A8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C54C 002694AC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C550 002694B0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C554 002694B4 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C558 002694B8 EC 1E 00 2A */ fadds f0, f30, f0 +/* 8026C55C 002694BC D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C560 002694C0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C564 002694C4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C568 002694C8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C56C 002694CC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C570 002694D0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C574 002694D4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C578 002694D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C57C 002694DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C580 002694E0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C584 002694E4 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C588 002694E8 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C58C 002694EC 42 00 FF 90 */ bdnz lbl_8026C51C +lbl_8026C590: +/* 8026C590 002694F0 48 09 BF F1 */ bl End__3CGXFv +/* 8026C594 002694F4 3B FF 00 01 */ addi r31, r31, 1 +/* 8026C598 002694F8 7C 1F E8 00 */ cmpw r31, r29 +/* 8026C59C 002694FC 40 82 00 44 */ bne lbl_8026C5E0 +/* 8026C5A0 00269500 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C5A4 00269504 3B FF FF FF */ addi r31, r31, -1 +/* 8026C5A8 00269508 EF BD 00 28 */ fsubs f29, f29, f0 +/* 8026C5AC 0026950C 48 00 00 34 */ b lbl_8026C5E0 +lbl_8026C5B0: +/* 8026C5B0 00269510 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C5B4 00269514 3B F8 00 01 */ addi r31, r24, 1 +/* 8026C5B8 00269518 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C5BC 0026951C 48 00 00 0C */ b lbl_8026C5C8 +lbl_8026C5C0: +/* 8026C5C0 00269520 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C5C4 00269524 3B FF 00 01 */ addi r31, r31, 1 +lbl_8026C5C8: +/* 8026C5C8 00269528 7C 1F E8 00 */ cmpw r31, r29 +/* 8026C5CC 0026952C 40 80 00 14 */ bge lbl_8026C5E0 +/* 8026C5D0 00269530 7C 06 FA 14 */ add r0, r6, r31 +/* 8026C5D4 00269534 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8026C5D8 00269538 7C 00 07 75 */ extsb. r0, r0 +/* 8026C5DC 0026953C 41 82 FF E4 */ beq lbl_8026C5C0 +lbl_8026C5E0: +/* 8026C5E0 00269540 7F F8 FB 78 */ mr r24, r31 +lbl_8026C5E4: +/* 8026C5E4 00269544 7C 18 E8 00 */ cmpw r24, r29 +/* 8026C5E8 00269548 41 80 F8 18 */ blt lbl_8026BE00 +/* 8026C5EC 0026954C C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C5F0 00269550 3B 7B FF FF */ addi r27, r27, -1 +/* 8026C5F4 00269554 A8 16 00 2A */ lha r0, 0x2a(r22) +/* 8026C5F8 00269558 EF DE 00 2A */ fadds f30, f30, f0 +/* 8026C5FC 0026955C 7F 9C 02 14 */ add r28, r28, r0 +lbl_8026C600: +/* 8026C600 00269560 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026C604 00269564 41 81 F7 D8 */ bgt lbl_8026BDDC +/* 8026C608 00269568 48 00 03 4C */ b lbl_8026C954 +lbl_8026C60C: +/* 8026C60C 0026956C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026C610 00269570 40 82 00 10 */ bne lbl_8026C620 +/* 8026C614 00269574 80 16 00 30 */ lwz r0, 0x30(r22) +/* 8026C618 00269578 28 00 00 00 */ cmplwi r0, 0 +/* 8026C61C 0026957C 40 82 01 30 */ bne lbl_8026C74C +lbl_8026C620: +/* 8026C620 00269580 38 60 00 98 */ li r3, 0x98 +/* 8026C624 00269584 38 80 00 00 */ li r4, 0 +/* 8026C628 00269588 38 A0 00 04 */ li r5, 4 +/* 8026C62C 0026958C 48 09 BF 59 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026C630 00269590 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8026C634 00269594 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026C638 00269598 D3 E5 80 00 */ stfs f31, 0xCC008000@l(r5) +/* 8026C63C 0026959C 38 80 00 00 */ li r4, 0 +/* 8026C640 002695A0 38 60 00 3F */ li r3, 0x3f +/* 8026C644 002695A4 38 00 00 FF */ li r0, 0xff +/* 8026C648 002695A8 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) +/* 8026C64C 002695AC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C650 002695B0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C654 002695B4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C658 002695B8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C65C 002695BC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C660 002695C0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C664 002695C4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C668 002695C8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C66C 002695CC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C670 002695D0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C674 002695D4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C678 002695D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C67C 002695DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C680 002695E0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C684 002695E4 D3 E5 80 00 */ stfs f31, 0xCC008000@l(r5) +/* 8026C688 002695E8 D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) +/* 8026C68C 002695EC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C690 002695F0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C694 002695F4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C698 002695F8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C69C 002695FC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6A0 00269600 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6A4 00269604 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6A8 00269608 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6AC 0026960C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6B0 00269610 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6B4 00269614 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6B8 00269618 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6BC 0026961C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6C0 00269620 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C6C4 00269624 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C6C8 00269628 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) +/* 8026C6CC 0026962C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C6D0 00269630 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6D4 00269634 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6D8 00269638 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6DC 0026963C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6E0 00269640 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6E4 00269644 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6E8 00269648 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6EC 0026964C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6F0 00269650 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6F4 00269654 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6F8 00269658 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6FC 0026965C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C700 00269660 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C704 00269664 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C708 00269668 D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) +/* 8026C70C 0026966C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C710 00269670 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C714 00269674 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C718 00269678 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C71C 0026967C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C720 00269680 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C724 00269684 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C728 00269688 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C72C 0026968C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C730 00269690 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C734 00269694 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C738 00269698 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C73C 0026969C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C740 002696A0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C744 002696A4 48 09 BE 3D */ bl End__3CGXFv +/* 8026C748 002696A8 48 00 02 0C */ b lbl_8026C954 +lbl_8026C74C: +/* 8026C74C 002696AC 81 0D A5 74 */ lwz r8, lbl_805A9134@sda21(r13) +/* 8026C750 002696B0 38 69 FF FD */ addi r3, r9, -3 +/* 8026C754 002696B4 38 07 FF FD */ addi r0, r7, -3 +/* 8026C758 002696B8 A8 B6 00 2E */ lha r5, 0x2e(r22) +/* 8026C75C 002696BC 7C E3 43 D6 */ divw r7, r3, r8 +/* 8026C760 002696C0 A8 96 00 2A */ lha r4, 0x2a(r22) +/* 8026C764 002696C4 A8 D6 00 28 */ lha r6, 0x28(r22) +/* 8026C768 002696C8 7C 60 43 D6 */ divw r3, r0, r8 +/* 8026C76C 002696CC 3A E7 00 01 */ addi r23, r7, 1 +/* 8026C770 002696D0 7C 05 21 D6 */ mullw r0, r5, r4 +/* 8026C774 002696D4 3B 23 00 01 */ addi r25, r3, 1 +/* 8026C778 002696D8 7F 06 02 14 */ add r24, r6, r0 +/* 8026C77C 002696DC 48 00 01 80 */ b lbl_8026C8FC +lbl_8026C780: +/* 8026C780 002696E0 FF A0 F8 90 */ fmr f29, f31 +/* 8026C784 002696E4 38 80 00 00 */ li r4, 0 +/* 8026C788 002696E8 48 00 01 58 */ b lbl_8026C8E0 +lbl_8026C78C: +/* 8026C78C 002696EC 80 16 00 30 */ lwz r0, 0x30(r22) +/* 8026C790 002696F0 7C 78 02 14 */ add r3, r24, r0 +/* 8026C794 002696F4 7C 03 20 AE */ lbzx r0, r3, r4 +/* 8026C798 002696F8 7C 00 07 75 */ extsb. r0, r0 +/* 8026C79C 002696FC 41 82 01 0C */ beq lbl_8026C8A8 +/* 8026C7A0 00269700 3B 44 00 01 */ addi r26, r4, 1 +/* 8026C7A4 00269704 7C 63 D2 14 */ add r3, r3, r26 +/* 8026C7A8 00269708 48 00 00 0C */ b lbl_8026C7B4 +lbl_8026C7AC: +/* 8026C7AC 0026970C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026C7B0 00269710 38 63 00 01 */ addi r3, r3, 1 +lbl_8026C7B4: +/* 8026C7B4 00269714 7C 1A B8 00 */ cmpw r26, r23 +/* 8026C7B8 00269718 40 80 00 10 */ bge lbl_8026C7C8 +/* 8026C7BC 0026971C 88 03 00 00 */ lbz r0, 0(r3) +/* 8026C7C0 00269720 7C 00 07 75 */ extsb. r0, r0 +/* 8026C7C4 00269724 40 82 FF E8 */ bne lbl_8026C7AC +lbl_8026C7C8: +/* 8026C7C8 00269728 7C 84 D0 50 */ subf r4, r4, r26 +/* 8026C7CC 0026972C 38 60 00 98 */ li r3, 0x98 +/* 8026C7D0 00269730 3B 64 00 01 */ addi r27, r4, 1 +/* 8026C7D4 00269734 38 80 00 00 */ li r4, 0 +/* 8026C7D8 00269738 57 65 0C 3C */ rlwinm r5, r27, 1, 0x10, 0x1e +/* 8026C7DC 0026973C 48 09 BD A9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026C7E0 00269740 7F 66 DB 78 */ mr r6, r27 +/* 8026C7E4 00269744 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C7E8 00269748 3C A0 CC 01 */ lis r5, 0xcc01 +/* 8026C7EC 0026974C 7F 69 03 A6 */ mtctr r27 +/* 8026C7F0 00269750 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026C7F4 00269754 40 81 00 A8 */ ble lbl_8026C89C +lbl_8026C7F8: +/* 8026C7F8 00269758 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C7FC 0026975C 38 80 00 00 */ li r4, 0 +/* 8026C800 00269760 38 60 00 3F */ li r3, 0x3f +/* 8026C804 00269764 38 00 00 FF */ li r0, 0xff +/* 8026C808 00269768 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) +/* 8026C80C 0026976C 38 C6 FF FF */ addi r6, r6, -1 +/* 8026C810 00269770 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C814 00269774 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C818 00269778 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C81C 0026977C 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C820 00269780 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C824 00269784 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C828 00269788 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C82C 0026978C 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C830 00269790 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C834 00269794 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C838 00269798 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C83C 0026979C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C840 002697A0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C844 002697A4 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C848 002697A8 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C84C 002697AC EC 1C 00 2A */ fadds f0, f28, f0 +/* 8026C850 002697B0 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C854 002697B4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C858 002697B8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C85C 002697BC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C860 002697C0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C864 002697C4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C868 002697C8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C86C 002697CC 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C870 002697D0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C874 002697D4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C878 002697D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C87C 002697DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C880 002697E0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C884 002697E4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C888 002697E8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C88C 002697EC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C890 002697F0 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C894 002697F4 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C898 002697F8 42 00 FF 60 */ bdnz lbl_8026C7F8 +lbl_8026C89C: +/* 8026C89C 002697FC 48 09 BC E5 */ bl End__3CGXFv +/* 8026C8A0 00269800 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026C8A4 00269804 48 00 00 38 */ b lbl_8026C8DC +lbl_8026C8A8: +/* 8026C8A8 00269808 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C8AC 0026980C 3B 44 00 01 */ addi r26, r4, 1 +/* 8026C8B0 00269810 7C 63 D2 14 */ add r3, r3, r26 +/* 8026C8B4 00269814 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C8B8 00269818 48 00 00 10 */ b lbl_8026C8C8 +lbl_8026C8BC: +/* 8026C8BC 0026981C EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C8C0 00269820 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026C8C4 00269824 38 63 00 01 */ addi r3, r3, 1 +lbl_8026C8C8: +/* 8026C8C8 00269828 7C 1A B8 00 */ cmpw r26, r23 +/* 8026C8CC 0026982C 40 80 00 10 */ bge lbl_8026C8DC +/* 8026C8D0 00269830 88 03 00 00 */ lbz r0, 0(r3) +/* 8026C8D4 00269834 7C 00 07 75 */ extsb. r0, r0 +/* 8026C8D8 00269838 41 82 FF E4 */ beq lbl_8026C8BC +lbl_8026C8DC: +/* 8026C8DC 0026983C 7F 44 D3 78 */ mr r4, r26 +lbl_8026C8E0: +/* 8026C8E0 00269840 7C 04 B8 00 */ cmpw r4, r23 +/* 8026C8E4 00269844 41 80 FE A8 */ blt lbl_8026C78C +/* 8026C8E8 00269848 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C8EC 0026984C 3B 39 FF FF */ addi r25, r25, -1 +/* 8026C8F0 00269850 A8 16 00 2A */ lha r0, 0x2a(r22) +/* 8026C8F4 00269854 EF 9C 00 2A */ fadds f28, f28, f0 +/* 8026C8F8 00269858 7F 18 02 14 */ add r24, r24, r0 +lbl_8026C8FC: +/* 8026C8FC 0026985C 2C 19 00 00 */ cmpwi r25, 0 +/* 8026C900 00269860 41 81 FE 80 */ bgt lbl_8026C780 +/* 8026C904 00269864 48 00 00 50 */ b lbl_8026C954 +lbl_8026C908: +/* 8026C908 00269868 C3 96 00 08 */ lfs f28, 8(r22) +/* 8026C90C 0026986C 3B 00 00 01 */ li r24, 1 +/* 8026C910 00269870 3E E0 E0 00 */ lis r23, 0xe000 +/* 8026C914 00269874 48 00 00 2C */ b lbl_8026C940 +lbl_8026C918: +/* 8026C918 00269878 FC 20 E0 90 */ fmr f1, f28 +/* 8026C91C 0026987C 7F 05 C3 78 */ mr r5, r24 +/* 8026C920 00269880 7E C6 B3 78 */ mr r6, r22 +/* 8026C924 00269884 38 77 00 A0 */ addi r3, r23, 0xa0 +/* 8026C928 00269888 38 97 00 40 */ addi r4, r23, 0x40 +/* 8026C92C 0026988C 48 00 0B C5 */ bl RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026C930 00269890 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C934 00269894 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026C938 00269898 EF 9C 00 2A */ fadds f28, f28, f0 +/* 8026C93C 0026989C 7F 18 02 14 */ add r24, r24, r0 +lbl_8026C940: +/* 8026C940 002698A0 88 16 00 01 */ lbz r0, 1(r22) +/* 8026C944 002698A4 7C 03 07 74 */ extsb r3, r0 +/* 8026C948 002698A8 38 03 FF FE */ addi r0, r3, -2 +/* 8026C94C 002698AC 7C 18 00 00 */ cmpw r24, r0 +/* 8026C950 002698B0 41 80 FF C8 */ blt lbl_8026C918 +lbl_8026C954: +/* 8026C954 002698B4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8026C958 002698B8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8026C95C 002698BC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8026C960 002698C0 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8026C964 002698C4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8026C968 002698C8 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8026C96C 002698CC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8026C970 002698D0 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8026C974 002698D4 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 8026C978 002698D8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8026C97C 002698DC 7C 08 03 A6 */ mtlr r0 +/* 8026C980 002698E0 38 21 00 80 */ addi r1, r1, 0x80 +/* 8026C984 002698E4 4E 80 00 20 */ blr + +.global ApplyRipples__FRC14CRippleManagerRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfo +ApplyRipples__FRC14CRippleManagerRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026C988 002698E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026C98C 002698EC 7C 08 02 A6 */ mflr r0 +/* 8026C990 002698F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026C994 002698F4 BF 41 00 08 */ stmw r26, 8(r1) +/* 8026C998 002698F8 7C 7A 1B 78 */ mr r26, r3 +/* 8026C99C 002698FC 7C 9B 23 78 */ mr r27, r4 +/* 8026C9A0 00269900 7C BF 2B 78 */ mr r31, r5 +/* 8026C9A4 00269904 7C DC 33 78 */ mr r28, r6 +/* 8026C9A8 00269908 7C FD 3B 78 */ mr r29, r7 +/* 8026C9AC 0026990C 38 60 00 00 */ li r3, 0 +/* 8026C9B0 00269910 48 11 25 15 */ bl LCQueueWait +/* 8026C9B4 00269914 3B DA 00 04 */ addi r30, r26, 4 +/* 8026C9B8 00269918 48 00 00 20 */ b lbl_8026C9D8 +lbl_8026C9BC: +/* 8026C9BC 0026991C 7F C3 F3 78 */ mr r3, r30 +/* 8026C9C0 00269920 7F 64 DB 78 */ mr r4, r27 +/* 8026C9C4 00269924 7F E5 FB 78 */ mr r5, r31 +/* 8026C9C8 00269928 7F 86 E3 78 */ mr r6, r28 +/* 8026C9CC 0026992C 7F A7 EB 78 */ mr r7, r29 +/* 8026C9D0 00269930 48 00 02 E1 */ bl ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof +/* 8026C9D4 00269934 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_8026C9D8: +/* 8026C9D8 00269938 80 1A 00 00 */ lwz r0, 0(r26) +/* 8026C9DC 0026993C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8026C9E0 00269940 7C 7A 02 14 */ add r3, r26, r0 +/* 8026C9E4 00269944 38 03 00 04 */ addi r0, r3, 4 +/* 8026C9E8 00269948 7C 1E 00 40 */ cmplw r30, r0 +/* 8026C9EC 0026994C 40 82 FF D0 */ bne lbl_8026C9BC +/* 8026C9F0 00269950 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) +/* 8026C9F4 00269954 38 9F 00 01 */ addi r4, r31, 1 +/* 8026C9F8 00269958 2C 00 00 00 */ cmpwi r0, 0 +/* 8026C9FC 0026995C 7C 03 03 78 */ mr r3, r0 +/* 8026CA00 00269960 41 82 00 98 */ beq lbl_8026CA98 +/* 8026CA04 00269964 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026CA08 00269968 7C 09 03 A6 */ mtctr r0 +/* 8026CA0C 0026996C 41 82 00 74 */ beq lbl_8026CA80 +lbl_8026CA10: +/* 8026CA10 00269970 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CA14 00269974 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA18 00269978 98 04 00 00 */ stb r0, 0(r4) +/* 8026CA1C 0026997C 88 04 00 01 */ lbz r0, 1(r4) +/* 8026CA20 00269980 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA24 00269984 98 04 00 01 */ stb r0, 1(r4) +/* 8026CA28 00269988 88 04 00 02 */ lbz r0, 2(r4) +/* 8026CA2C 0026998C 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA30 00269990 98 04 00 02 */ stb r0, 2(r4) +/* 8026CA34 00269994 88 04 00 03 */ lbz r0, 3(r4) +/* 8026CA38 00269998 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA3C 0026999C 98 04 00 03 */ stb r0, 3(r4) +/* 8026CA40 002699A0 88 04 00 04 */ lbz r0, 4(r4) +/* 8026CA44 002699A4 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA48 002699A8 98 04 00 04 */ stb r0, 4(r4) +/* 8026CA4C 002699AC 88 04 00 05 */ lbz r0, 5(r4) +/* 8026CA50 002699B0 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA54 002699B4 98 04 00 05 */ stb r0, 5(r4) +/* 8026CA58 002699B8 88 04 00 06 */ lbz r0, 6(r4) +/* 8026CA5C 002699BC 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA60 002699C0 98 04 00 06 */ stb r0, 6(r4) +/* 8026CA64 002699C4 88 04 00 07 */ lbz r0, 7(r4) +/* 8026CA68 002699C8 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA6C 002699CC 98 04 00 07 */ stb r0, 7(r4) +/* 8026CA70 002699D0 38 84 00 08 */ addi r4, r4, 8 +/* 8026CA74 002699D4 42 00 FF 9C */ bdnz lbl_8026CA10 +/* 8026CA78 002699D8 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CA7C 002699DC 41 82 00 1C */ beq lbl_8026CA98 +lbl_8026CA80: +/* 8026CA80 002699E0 7C 69 03 A6 */ mtctr r3 +lbl_8026CA84: +/* 8026CA84 002699E4 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CA88 002699E8 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA8C 002699EC 98 04 00 00 */ stb r0, 0(r4) +/* 8026CA90 002699F0 38 84 00 01 */ addi r4, r4, 1 +/* 8026CA94 002699F4 42 00 FF F0 */ bdnz lbl_8026CA84 +lbl_8026CA98: +/* 8026CA98 002699F8 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) +/* 8026CA9C 002699FC 38 9F 00 09 */ addi r4, r31, 9 +/* 8026CAA0 00269A00 2C 00 00 00 */ cmpwi r0, 0 +/* 8026CAA4 00269A04 7C 03 03 78 */ mr r3, r0 +/* 8026CAA8 00269A08 41 82 00 98 */ beq lbl_8026CB40 +/* 8026CAAC 00269A0C 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026CAB0 00269A10 7C 09 03 A6 */ mtctr r0 +/* 8026CAB4 00269A14 41 82 00 74 */ beq lbl_8026CB28 +lbl_8026CAB8: +/* 8026CAB8 00269A18 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CABC 00269A1C 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAC0 00269A20 98 04 00 00 */ stb r0, 0(r4) +/* 8026CAC4 00269A24 88 04 00 09 */ lbz r0, 9(r4) +/* 8026CAC8 00269A28 60 00 00 08 */ ori r0, r0, 8 +/* 8026CACC 00269A2C 98 04 00 09 */ stb r0, 9(r4) +/* 8026CAD0 00269A30 88 04 00 12 */ lbz r0, 0x12(r4) +/* 8026CAD4 00269A34 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAD8 00269A38 98 04 00 12 */ stb r0, 0x12(r4) +/* 8026CADC 00269A3C 88 04 00 1B */ lbz r0, 0x1b(r4) +/* 8026CAE0 00269A40 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAE4 00269A44 98 04 00 1B */ stb r0, 0x1b(r4) +/* 8026CAE8 00269A48 88 04 00 24 */ lbz r0, 0x24(r4) +/* 8026CAEC 00269A4C 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAF0 00269A50 98 04 00 24 */ stb r0, 0x24(r4) +/* 8026CAF4 00269A54 88 04 00 2D */ lbz r0, 0x2d(r4) +/* 8026CAF8 00269A58 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAFC 00269A5C 98 04 00 2D */ stb r0, 0x2d(r4) +/* 8026CB00 00269A60 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026CB04 00269A64 60 00 00 08 */ ori r0, r0, 8 +/* 8026CB08 00269A68 98 04 00 36 */ stb r0, 0x36(r4) +/* 8026CB0C 00269A6C 88 04 00 3F */ lbz r0, 0x3f(r4) +/* 8026CB10 00269A70 60 00 00 08 */ ori r0, r0, 8 +/* 8026CB14 00269A74 98 04 00 3F */ stb r0, 0x3f(r4) +/* 8026CB18 00269A78 38 84 00 48 */ addi r4, r4, 0x48 +/* 8026CB1C 00269A7C 42 00 FF 9C */ bdnz lbl_8026CAB8 +/* 8026CB20 00269A80 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CB24 00269A84 41 82 00 1C */ beq lbl_8026CB40 +lbl_8026CB28: +/* 8026CB28 00269A88 7C 69 03 A6 */ mtctr r3 +lbl_8026CB2C: +/* 8026CB2C 00269A8C 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CB30 00269A90 60 00 00 08 */ ori r0, r0, 8 +/* 8026CB34 00269A94 98 04 00 00 */ stb r0, 0(r4) +/* 8026CB38 00269A98 38 84 00 09 */ addi r4, r4, 9 +/* 8026CB3C 00269A9C 42 00 FF F0 */ bdnz lbl_8026CB2C +lbl_8026CB40: +/* 8026CB40 00269AA0 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) +/* 8026CB44 00269AA4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026CB48 00269AA8 7C 80 FA 14 */ add r4, r0, r31 +/* 8026CB4C 00269AAC 7C 03 03 78 */ mr r3, r0 +/* 8026CB50 00269AB0 38 84 00 0A */ addi r4, r4, 0xa +/* 8026CB54 00269AB4 41 82 00 98 */ beq lbl_8026CBEC +/* 8026CB58 00269AB8 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026CB5C 00269ABC 7C 09 03 A6 */ mtctr r0 +/* 8026CB60 00269AC0 41 82 00 74 */ beq lbl_8026CBD4 +lbl_8026CB64: +/* 8026CB64 00269AC4 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CB68 00269AC8 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB6C 00269ACC 98 04 00 00 */ stb r0, 0(r4) +/* 8026CB70 00269AD0 88 04 00 09 */ lbz r0, 9(r4) +/* 8026CB74 00269AD4 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB78 00269AD8 98 04 00 09 */ stb r0, 9(r4) +/* 8026CB7C 00269ADC 88 04 00 12 */ lbz r0, 0x12(r4) +/* 8026CB80 00269AE0 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB84 00269AE4 98 04 00 12 */ stb r0, 0x12(r4) +/* 8026CB88 00269AE8 88 04 00 1B */ lbz r0, 0x1b(r4) +/* 8026CB8C 00269AEC 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB90 00269AF0 98 04 00 1B */ stb r0, 0x1b(r4) +/* 8026CB94 00269AF4 88 04 00 24 */ lbz r0, 0x24(r4) +/* 8026CB98 00269AF8 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB9C 00269AFC 98 04 00 24 */ stb r0, 0x24(r4) +/* 8026CBA0 00269B00 88 04 00 2D */ lbz r0, 0x2d(r4) +/* 8026CBA4 00269B04 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBA8 00269B08 98 04 00 2D */ stb r0, 0x2d(r4) +/* 8026CBAC 00269B0C 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026CBB0 00269B10 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBB4 00269B14 98 04 00 36 */ stb r0, 0x36(r4) +/* 8026CBB8 00269B18 88 04 00 3F */ lbz r0, 0x3f(r4) +/* 8026CBBC 00269B1C 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBC0 00269B20 98 04 00 3F */ stb r0, 0x3f(r4) +/* 8026CBC4 00269B24 38 84 00 48 */ addi r4, r4, 0x48 +/* 8026CBC8 00269B28 42 00 FF 9C */ bdnz lbl_8026CB64 +/* 8026CBCC 00269B2C 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CBD0 00269B30 41 82 00 1C */ beq lbl_8026CBEC +lbl_8026CBD4: +/* 8026CBD4 00269B34 7C 69 03 A6 */ mtctr r3 +lbl_8026CBD8: +/* 8026CBD8 00269B38 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CBDC 00269B3C 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBE0 00269B40 98 04 00 00 */ stb r0, 0(r4) +/* 8026CBE4 00269B44 38 84 00 09 */ addi r4, r4, 9 +/* 8026CBE8 00269B48 42 00 FF F0 */ bdnz lbl_8026CBD8 +lbl_8026CBEC: +/* 8026CBEC 00269B4C 80 6D A5 70 */ lwz r3, lbl_805A9130@sda21(r13) +/* 8026CBF0 00269B50 38 03 00 01 */ addi r0, r3, 1 +/* 8026CBF4 00269B54 2C 03 00 00 */ cmpwi r3, 0 +/* 8026CBF8 00269B58 1C 80 00 09 */ mulli r4, r0, 9 +/* 8026CBFC 00269B5C 38 84 00 01 */ addi r4, r4, 1 +/* 8026CC00 00269B60 7C 9F 22 14 */ add r4, r31, r4 +/* 8026CC04 00269B64 41 82 00 98 */ beq lbl_8026CC9C +/* 8026CC08 00269B68 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 8026CC0C 00269B6C 7C 09 03 A6 */ mtctr r0 +/* 8026CC10 00269B70 41 82 00 74 */ beq lbl_8026CC84 +lbl_8026CC14: +/* 8026CC14 00269B74 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CC18 00269B78 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC1C 00269B7C 98 04 00 00 */ stb r0, 0(r4) +/* 8026CC20 00269B80 88 04 00 01 */ lbz r0, 1(r4) +/* 8026CC24 00269B84 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC28 00269B88 98 04 00 01 */ stb r0, 1(r4) +/* 8026CC2C 00269B8C 88 04 00 02 */ lbz r0, 2(r4) +/* 8026CC30 00269B90 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC34 00269B94 98 04 00 02 */ stb r0, 2(r4) +/* 8026CC38 00269B98 88 04 00 03 */ lbz r0, 3(r4) +/* 8026CC3C 00269B9C 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC40 00269BA0 98 04 00 03 */ stb r0, 3(r4) +/* 8026CC44 00269BA4 88 04 00 04 */ lbz r0, 4(r4) +/* 8026CC48 00269BA8 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC4C 00269BAC 98 04 00 04 */ stb r0, 4(r4) +/* 8026CC50 00269BB0 88 04 00 05 */ lbz r0, 5(r4) +/* 8026CC54 00269BB4 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC58 00269BB8 98 04 00 05 */ stb r0, 5(r4) +/* 8026CC5C 00269BBC 88 04 00 06 */ lbz r0, 6(r4) +/* 8026CC60 00269BC0 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC64 00269BC4 98 04 00 06 */ stb r0, 6(r4) +/* 8026CC68 00269BC8 88 04 00 07 */ lbz r0, 7(r4) +/* 8026CC6C 00269BCC 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC70 00269BD0 98 04 00 07 */ stb r0, 7(r4) +/* 8026CC74 00269BD4 38 84 00 08 */ addi r4, r4, 8 +/* 8026CC78 00269BD8 42 00 FF 9C */ bdnz lbl_8026CC14 +/* 8026CC7C 00269BDC 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CC80 00269BE0 41 82 00 1C */ beq lbl_8026CC9C +lbl_8026CC84: +/* 8026CC84 00269BE4 7C 69 03 A6 */ mtctr r3 +lbl_8026CC88: +/* 8026CC88 00269BE8 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CC8C 00269BEC 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC90 00269BF0 98 04 00 00 */ stb r0, 0(r4) +/* 8026CC94 00269BF4 38 84 00 01 */ addi r4, r4, 1 +/* 8026CC98 00269BF8 42 00 FF F0 */ bdnz lbl_8026CC88 +lbl_8026CC9C: +/* 8026CC9C 00269BFC BB 41 00 08 */ lmw r26, 8(r1) +/* 8026CCA0 00269C00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026CCA4 00269C04 7C 08 03 A6 */ mtlr r0 +/* 8026CCA8 00269C08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026CCAC 00269C0C 4E 80 00 20 */ blr + +.global ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof +ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof: +/* 8026CCB0 00269C10 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8026CCB4 00269C14 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 8026CCB8 00269C18 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 8026CCBC 00269C1C DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8026CCC0 00269C20 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8026CCC4 00269C24 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 8026CCC8 00269C28 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 8026CCCC 00269C2C DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8026CCD0 00269C30 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 8026CCD4 00269C34 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 8026CCD8 00269C38 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 8026CCDC 00269C3C DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 8026CCE0 00269C40 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 8026CCE4 00269C44 DB 21 00 C0 */ stfd f25, 0xc0(r1) +/* 8026CCE8 00269C48 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 +/* 8026CCEC 00269C4C DB 01 00 B0 */ stfd f24, 0xb0(r1) +/* 8026CCF0 00269C50 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 +/* 8026CCF4 00269C54 DA E1 00 A0 */ stfd f23, 0xa0(r1) +/* 8026CCF8 00269C58 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0 +/* 8026CCFC 00269C5C BD C1 00 58 */ stmw r14, 0x58(r1) +/* 8026CD00 00269C60 81 83 00 00 */ lwz r12, 0(r3) +/* 8026CD04 00269C64 3D 00 80 57 */ lis r8, lbl_8057194C@ha +/* 8026CD08 00269C68 3C 00 43 30 */ lis r0, 0x4330 +/* 8026CD0C 00269C6C C0 42 BB A8 */ lfs f2, lbl_805AD8C8@sda21(r2) +/* 8026CD10 00269C70 C0 0C 00 04 */ lfs f0, 4(r12) +/* 8026CD14 00269C74 39 08 19 4C */ addi r8, r8, lbl_8057194C@l +/* 8026CD18 00269C78 C1 6C 00 28 */ lfs f11, 0x28(r12) +/* 8026CD1C 00269C7C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026CD20 00269C80 ED A0 02 F2 */ fmuls f13, f0, f11 +/* 8026CD24 00269C84 C1 42 BB A4 */ lfs f10, lbl_805AD8C4@sda21(r2) +/* 8026CD28 00269C88 C0 22 BB AC */ lfs f1, lbl_805AD8CC@sda21(r2) +/* 8026CD2C 00269C8C C0 0C 00 18 */ lfs f0, 0x18(r12) +/* 8026CD30 00269C90 ED 02 03 72 */ fmuls f8, f2, f13 +/* 8026CD34 00269C94 C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026CD38 00269C98 ED 81 00 32 */ fmuls f12, f1, f0 +/* 8026CD3C 00269C9C C1 2C 00 1C */ lfs f9, 0x1c(r12) +/* 8026CD40 00269CA0 ED 4D 52 FC */ fnmsubs f10, f13, f11, f10 +/* 8026CD44 00269CA4 C1 62 BB A0 */ lfs f11, lbl_805AD8C0@sda21(r2) +/* 8026CD48 00269CA8 FC 20 40 1E */ fctiwz f1, f8 +/* 8026CD4C 00269CAC C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026CD50 00269CB0 ED 0A 02 72 */ fmuls f8, f10, f9 +/* 8026CD54 00269CB4 D8 21 00 18 */ stfd f1, 0x18(r1) +/* 8026CD58 00269CB8 ED 4B 02 32 */ fmuls f10, f11, f8 +/* 8026CD5C 00269CBC 82 41 00 1C */ lwz r18, 0x1c(r1) +/* 8026CD60 00269CC0 7C 08 90 AE */ lbzx r0, r8, r18 +/* 8026CD64 00269CC4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8026CD68 00269CC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CD6C 00269CCC C8 21 00 20 */ lfd f1, 0x20(r1) +/* 8026CD70 00269CD0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026CD74 00269CD4 EC 2C 00 72 */ fmuls f1, f12, f1 +/* 8026CD78 00269CD8 ED 01 00 72 */ fmuls f8, f1, f1 +/* 8026CD7C 00269CDC FC 60 40 90 */ fmr f3, f8 +/* 8026CD80 00269CE0 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 8026CD84 00269CE4 40 82 00 08 */ bne lbl_8026CD8C +/* 8026CD88 00269CE8 48 00 00 10 */ b lbl_8026CD98 +lbl_8026CD8C: +/* 8026CD8C 00269CEC 10 00 18 34 */ ps_rsqrte f0, f3 +/* 8026CD90 00269CF0 10 00 00 F2 */ ps_mul f0, f0, f3 +/* 8026CD94 00269CF4 FC 60 00 90 */ fmr f3, f0 +lbl_8026CD98: +/* 8026CD98 00269CF8 3D 00 80 57 */ lis r8, lbl_8057198C@ha +/* 8026CD9C 00269CFC 3C 00 43 30 */ lis r0, 0x4330 +/* 8026CDA0 00269D00 39 08 19 8C */ addi r8, r8, lbl_8057198C@l +/* 8026CDA4 00269D04 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026CDA8 00269D08 7C 08 90 AE */ lbzx r0, r8, r18 +/* 8026CDAC 00269D0C C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026CDB0 00269D10 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8026CDB4 00269D14 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026CDB8 00269D18 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CDBC 00269D1C C8 21 00 20 */ lfd f1, 0x20(r1) +/* 8026CDC0 00269D20 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026CDC4 00269D24 EC 2C 00 72 */ fmuls f1, f12, f1 +/* 8026CDC8 00269D28 ED 21 00 72 */ fmuls f9, f1, f1 +/* 8026CDCC 00269D2C FC 80 48 90 */ fmr f4, f9 +/* 8026CDD0 00269D30 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 8026CDD4 00269D34 40 82 00 08 */ bne lbl_8026CDDC +/* 8026CDD8 00269D38 48 00 00 10 */ b lbl_8026CDE8 +lbl_8026CDDC: +/* 8026CDDC 00269D3C 10 00 20 34 */ ps_rsqrte f0, f4 +/* 8026CDE0 00269D40 10 00 01 32 */ ps_mul f0, f0, f4 +/* 8026CDE4 00269D44 FC 80 00 90 */ fmr f4, f0 +lbl_8026CDE8: +/* 8026CDE8 00269D48 81 6D A5 74 */ lwz r11, lbl_805A9134@sda21(r13) +/* 8026CDEC 00269D4C 3D C0 80 57 */ lis r14, lbl_8057094C@ha +/* 8026CDF0 00269D50 81 03 00 1C */ lwz r8, 0x1c(r3) +/* 8026CDF4 00269D54 3A 2B FF FF */ addi r17, r11, -1 +/* 8026CDF8 00269D58 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8026CDFC 00269D5C 7D 08 8A 14 */ add r8, r8, r17 +/* 8026CE00 00269D60 81 E3 00 20 */ lwz r15, 0x20(r3) +/* 8026CE04 00269D64 7D 48 5B D6 */ divw r10, r8, r11 +/* 8026CE08 00269D68 81 23 00 18 */ lwz r9, 0x18(r3) +/* 8026CE0C 00269D6C 7D 00 8A 14 */ add r8, r0, r17 +/* 8026CE10 00269D70 82 07 00 30 */ lwz r16, 0x30(r7) +/* 8026CE14 00269D74 7D 29 8A 14 */ add r9, r9, r17 +/* 8026CE18 00269D78 C8 22 BB 98 */ lfd f1, lbl_805AD8B8@sda21(r2) +/* 8026CE1C 00269D7C 7D 08 5B D6 */ divw r8, r8, r11 +/* 8026CE20 00269D80 7E 8F 8A 14 */ add r20, r15, r17 +/* 8026CE24 00269D84 3A 2A FF FF */ addi r17, r10, -1 +/* 8026CE28 00269D88 C1 A7 00 14 */ lfs f13, 0x14(r7) +/* 8026CE2C 00269D8C 56 40 30 32 */ slwi r0, r18, 6 +/* 8026CE30 00269D90 AA 47 00 2E */ lha r18, 0x2e(r7) +/* 8026CE34 00269D94 6E 2F 80 00 */ xoris r15, r17, 0x8000 +/* 8026CE38 00269D98 91 01 00 3C */ stw r8, 0x3c(r1) +/* 8026CE3C 00269D9C 3D 00 43 30 */ lis r8, 0x4330 +/* 8026CE40 00269DA0 7E 32 8A 14 */ add r17, r18, r17 +/* 8026CE44 00269DA4 91 01 00 20 */ stw r8, 0x20(r1) +/* 8026CE48 00269DA8 7D 10 00 D0 */ neg r8, r16 +/* 8026CE4C 00269DAC 7D 08 83 78 */ or r8, r8, r16 +/* 8026CE50 00269DB0 3A 0E 09 4C */ addi r16, r14, lbl_8057094C@l +/* 8026CE54 00269DB4 91 E1 00 24 */ stw r15, 0x24(r1) +/* 8026CE58 00269DB8 7D 29 5B D6 */ divw r9, r9, r11 +/* 8026CE5C 00269DBC 81 C1 00 3C */ lwz r14, 0x3c(r1) +/* 8026CE60 00269DC0 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8026CE64 00269DC4 AA 47 00 2A */ lha r18, 0x2a(r7) +/* 8026CE68 00269DC8 39 EE FF FF */ addi r15, r14, -1 +/* 8026CE6C 00269DCC EC 00 08 28 */ fsubs f0, f0, f1 +/* 8026CE70 00269DD0 1E 6A 00 09 */ mulli r19, r10, 9 +/* 8026CE74 00269DD4 EC 00 03 72 */ fmuls f0, f0, f13 +/* 8026CE78 00269DD8 C0 42 BB 94 */ lfs f2, lbl_805AD8B4@sda21(r2) +/* 8026CE7C 00269DDC C1 8C 00 0C */ lfs f12, 0xc(r12) +/* 8026CE80 00269DE0 7D D3 72 14 */ add r14, r19, r14 +/* 8026CE84 00269DE4 C1 67 00 10 */ lfs f11, 0x10(r7) +/* 8026CE88 00269DE8 91 C1 00 34 */ stw r14, 0x34(r1) +/* 8026CE8C 00269DEC 7D D4 5B D6 */ divw r14, r20, r11 +/* 8026CE90 00269DF0 EC 02 03 7A */ fmadds f0, f2, f13, f0 +/* 8026CE94 00269DF4 A9 67 00 28 */ lha r11, 0x28(r7) +/* 8026CE98 00269DF8 ED 8C 58 28 */ fsubs f12, f12, f11 +/* 8026CE9C 00269DFC 91 21 00 40 */ stw r9, 0x40(r1) +/* 8026CEA0 00269E00 81 21 00 34 */ lwz r9, 0x34(r1) +/* 8026CEA4 00269E04 91 C1 00 44 */ stw r14, 0x44(r1) +/* 8026CEA8 00269E08 7D 25 4A 14 */ add r9, r5, r9 +/* 8026CEAC 00269E0C 81 C1 00 3C */ lwz r14, 0x3c(r1) +/* 8026CEB0 00269E10 ED 8C 00 28 */ fsubs f12, f12, f0 +/* 8026CEB4 00269E14 7F F2 89 D6 */ mullw r31, r18, r17 +/* 8026CEB8 00269E18 C1 A2 BB A8 */ lfs f13, lbl_805AD8C8@sda21(r2) +/* 8026CEBC 00269E1C 39 CE FF FF */ addi r14, r14, -1 +/* 8026CEC0 00269E20 C1 6C 00 2C */ lfs f11, 0x2c(r12) +/* 8026CEC4 00269E24 91 C1 00 30 */ stw r14, 0x30(r1) +/* 8026CEC8 00269E28 A9 C7 00 2C */ lha r14, 0x2c(r7) +/* 8026CECC 00269E2C 7F D2 71 D6 */ mullw r30, r18, r14 +/* 8026CED0 00269E30 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 8026CED4 00269E34 ED 6D 02 F2 */ fmuls f11, f13, f11 +/* 8026CED8 00269E38 91 41 00 38 */ stw r10, 0x38(r1) +/* 8026CEDC 00269E3C 7C AB 2A 14 */ add r5, r11, r5 +/* 8026CEE0 00269E40 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 8026CEE4 00269E44 7D 70 02 14 */ add r11, r16, r0 +/* 8026CEE8 00269E48 6D E0 80 00 */ xoris r0, r15, 0x8000 +/* 8026CEEC 00269E4C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026CEF0 00269E50 55 0E 0F FE */ srwi r14, r8, 0x1f +/* 8026CEF4 00269E54 91 21 00 34 */ stw r9, 0x34(r1) +/* 8026CEF8 00269E58 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8026CEFC 00269E5C 90 01 00 48 */ stw r0, 0x48(r1) +/* 8026CF00 00269E60 48 00 05 8C */ b lbl_8026D48C +lbl_8026CF04: +/* 8026CF04 00269E64 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8026CF08 00269E68 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 8026CF0C 00269E6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CF10 00269E70 3C 00 43 30 */ lis r0, 0x4330 +/* 8026CF14 00269E74 39 05 00 01 */ addi r8, r5, 1 +/* 8026CF18 00269E78 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8026CF1C 00269E7C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026CF20 00269E80 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8026CF24 00269E84 38 A5 00 01 */ addi r5, r5, 1 +/* 8026CF28 00269E88 C9 A1 00 20 */ lfd f13, 0x20(r1) +/* 8026CF2C 00269E8C 7D 00 40 50 */ subf r8, r0, r8 +/* 8026CF30 00269E90 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026CF34 00269E94 EE ED 08 28 */ fsubs f23, f13, f1 +/* 8026CF38 00269E98 C3 47 00 14 */ lfs f26, 0x14(r7) +/* 8026CF3C 00269E9C C3 2C 00 08 */ lfs f25, 8(r12) +/* 8026CF40 00269EA0 7F 25 01 D6 */ mullw r25, r5, r0 +/* 8026CF44 00269EA4 C3 07 00 0C */ lfs f24, 0xc(r7) +/* 8026CF48 00269EA8 ED AC 03 32 */ fmuls f13, f12, f12 +/* 8026CF4C 00269EAC EE F7 06 B2 */ fmuls f23, f23, f26 +/* 8026CF50 00269EB0 83 01 00 3C */ lwz r24, 0x3c(r1) +/* 8026CF54 00269EB4 EF 19 C0 28 */ fsubs f24, f25, f24 +/* 8026CF58 00269EB8 EE E2 BE BA */ fmadds f23, f2, f26, f23 +/* 8026CF5C 00269EBC 83 81 00 34 */ lwz r28, 0x34(r1) +/* 8026CF60 00269EC0 83 61 00 30 */ lwz r27, 0x30(r1) +/* 8026CF64 00269EC4 83 43 00 04 */ lwz r26, 4(r3) +/* 8026CF68 00269EC8 EF F8 B8 28 */ fsubs f31, f24, f23 +/* 8026CF6C 00269ECC 7D 09 03 A6 */ mtctr r8 +/* 8026CF70 00269ED0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8026CF74 00269ED4 7F 05 C3 78 */ mr r5, r24 +/* 8026CF78 00269ED8 7C 05 00 00 */ cmpw r5, r0 +/* 8026CF7C 00269EDC 41 81 04 E4 */ bgt lbl_8026D460 +lbl_8026CF80: +/* 8026CF80 00269EE0 EC BF 6F FA */ fmadds f5, f31, f31, f13 +/* 8026CF84 00269EE4 FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 8026CF88 00269EE8 40 82 00 0C */ bne lbl_8026CF94 +/* 8026CF8C 00269EEC FF 00 28 90 */ fmr f24, f5 +/* 8026CF90 00269EF0 48 00 00 0C */ b lbl_8026CF9C +lbl_8026CF94: +/* 8026CF94 00269EF4 13 00 28 34 */ ps_rsqrte f24, f5 +/* 8026CF98 00269EF8 13 18 01 72 */ ps_mul f24, f24, f5 +lbl_8026CF9C: +/* 8026CF9C 00269EFC C3 27 00 1C */ lfs f25, 0x1c(r7) +/* 8026CFA0 00269F00 EE F8 C8 28 */ fsubs f23, f24, f25 +/* 8026CFA4 00269F04 FC 04 B8 40 */ fcmpo cr0, f4, f23 +/* 8026CFA8 00269F08 41 80 04 A0 */ blt lbl_8026D448 +/* 8026CFAC 00269F0C EE F8 C8 2A */ fadds f23, f24, f25 +/* 8026CFB0 00269F10 FC 03 B8 40 */ fcmpo cr0, f3, f23 +/* 8026CFB4 00269F14 41 81 04 94 */ bgt lbl_8026D448 +/* 8026CFB8 00269F18 3D 00 43 30 */ lis r8, 0x4330 +/* 8026CFBC 00269F1C 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 8026CFC0 00269F20 6F A5 80 00 */ xoris r5, r29, 0x8000 +/* 8026CFC4 00269F24 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CFC8 00269F28 CB 82 BB 98 */ lfd f28, lbl_805AD8B8@sda21(r2) +/* 8026CFCC 00269F2C 38 18 00 01 */ addi r0, r24, 1 +/* 8026CFD0 00269F30 91 01 00 20 */ stw r8, 0x20(r1) +/* 8026CFD4 00269F34 28 0E 00 00 */ cmplwi r14, 0 +/* 8026CFD8 00269F38 81 2D A5 74 */ lwz r9, lbl_805A9134@sda21(r13) +/* 8026CFDC 00269F3C 3A E0 00 00 */ li r23, 0 +/* 8026CFE0 00269F40 CA E1 00 20 */ lfd f23, 0x20(r1) +/* 8026CFE4 00269F44 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8026CFE8 00269F48 7E C0 49 D6 */ mullw r22, r0, r9 +/* 8026CFEC 00269F4C C3 4C 00 08 */ lfs f26, 8(r12) +/* 8026CFF0 00269F50 EF 77 E0 28 */ fsubs f27, f23, f28 +/* 8026CFF4 00269F54 91 01 00 18 */ stw r8, 0x18(r1) +/* 8026CFF8 00269F58 C2 E7 00 0C */ lfs f23, 0xc(r7) +/* 8026CFFC 00269F5C CB 21 00 18 */ lfd f25, 0x18(r1) +/* 8026D000 00269F60 C3 0C 00 0C */ lfs f24, 0xc(r12) +/* 8026D004 00269F64 EF 5A B8 28 */ fsubs f26, f26, f23 +/* 8026D008 00269F68 C2 E7 00 10 */ lfs f23, 0x10(r7) +/* 8026D00C 00269F6C EF 39 E0 28 */ fsubs f25, f25, f28 +/* 8026D010 00269F70 C3 87 00 18 */ lfs f28, 0x18(r7) +/* 8026D014 00269F74 EE F8 B8 28 */ fsubs f23, f24, f23 +/* 8026D018 00269F78 EF DC D6 FC */ fnmsubs f30, f28, f27, f26 +/* 8026D01C 00269F7C EF BC BE 7C */ fnmsubs f29, f28, f25, f23 +/* 8026D020 00269F80 41 82 00 40 */ beq lbl_8026D060 +/* 8026D024 00269F84 41 82 01 A0 */ beq lbl_8026D1C4 +/* 8026D028 00269F88 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026D02C 00269F8C 41 80 01 98 */ blt lbl_8026D1C4 +/* 8026D030 00269F90 7C 1F F0 00 */ cmpw r31, r30 +/* 8026D034 00269F94 40 80 01 90 */ bge lbl_8026D1C4 +/* 8026D038 00269F98 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D03C 00269F9C 41 80 01 88 */ blt lbl_8026D1C4 +/* 8026D040 00269FA0 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D044 00269FA4 7C 1B 00 00 */ cmpw r27, r0 +/* 8026D048 00269FA8 40 80 01 7C */ bge lbl_8026D1C4 +/* 8026D04C 00269FAC 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D050 00269FB0 7C 00 DA 14 */ add r0, r0, r27 +/* 8026D054 00269FB4 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D058 00269FB8 7C 00 07 75 */ extsb. r0, r0 +/* 8026D05C 00269FBC 41 82 01 68 */ beq lbl_8026D1C4 +lbl_8026D060: +/* 8026D060 00269FC0 1C BD 01 68 */ mulli r5, r29, 0x168 +/* 8026D064 00269FC4 7F A9 EB 78 */ mr r9, r29 +/* 8026D068 00269FC8 3A 36 FF FF */ addi r17, r22, -1 +/* 8026D06C 00269FCC 57 40 18 38 */ slwi r0, r26, 3 +/* 8026D070 00269FD0 7D 04 2A 14 */ add r8, r4, r5 +/* 8026D074 00269FD4 39 F9 FF FF */ addi r15, r25, -1 +/* 8026D078 00269FD8 48 00 01 10 */ b lbl_8026D188 +lbl_8026D07C: +/* 8026D07C 00269FDC FF 60 F0 90 */ fmr f27, f30 +/* 8026D080 00269FE0 7F 4A D3 78 */ mr r10, r26 +/* 8026D084 00269FE4 EF 9D 07 72 */ fmuls f28, f29, f29 +/* 8026D088 00269FE8 7C A8 02 14 */ add r5, r8, r0 +/* 8026D08C 00269FEC 48 00 00 C4 */ b lbl_8026D150 +lbl_8026D090: +/* 8026D090 00269FF0 EE FB E6 FA */ fmadds f23, f27, f27, f28 +/* 8026D094 00269FF4 FC 17 40 40 */ fcmpo cr0, f23, f8 +/* 8026D098 00269FF8 41 80 00 A8 */ blt lbl_8026D140 +/* 8026D09C 00269FFC FC 17 48 40 */ fcmpo cr0, f23, f9 +/* 8026D0A0 0026A000 41 81 00 A0 */ bgt lbl_8026D140 +/* 8026D0A4 0026A004 FC C0 B8 90 */ fmr f6, f23 +/* 8026D0A8 0026A008 C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) +/* 8026D0AC 0026A00C FC 17 30 00 */ fcmpu cr0, f23, f6 +/* 8026D0B0 0026A010 40 82 00 0C */ bne lbl_8026D0BC +/* 8026D0B4 0026A014 FF 00 30 90 */ fmr f24, f6 +/* 8026D0B8 0026A018 48 00 00 0C */ b lbl_8026D0C4 +lbl_8026D0BC: +/* 8026D0BC 0026A01C 13 00 30 34 */ ps_rsqrte f24, f6 +/* 8026D0C0 0026A020 13 18 01 B2 */ ps_mul f24, f24, f6 +lbl_8026D0C4: +/* 8026D0C4 0026A024 EE F8 02 F2 */ fmuls f23, f24, f11 +/* 8026D0C8 0026A028 FE E0 B8 1E */ fctiwz f23, f23 +/* 8026D0CC 0026A02C DA E1 00 20 */ stfd f23, 0x20(r1) +/* 8026D0D0 0026A030 82 01 00 24 */ lwz r16, 0x24(r1) +/* 8026D0D4 0026A034 7E 0B 80 AE */ lbzx r16, r11, r16 +/* 8026D0D8 0026A038 28 10 00 00 */ cmplwi r16, 0 +/* 8026D0DC 0026A03C 41 82 00 50 */ beq lbl_8026D12C +/* 8026D0E0 0026A040 C2 EC 00 38 */ lfs f23, 0x38(r12) +/* 8026D0E4 0026A044 56 10 06 3E */ clrlwi r16, r16, 0x18 +/* 8026D0E8 0026A048 6E 12 80 00 */ xoris r18, r16, 0x8000 +/* 8026D0EC 0026A04C CB 22 BB 98 */ lfd f25, lbl_805AD8B8@sda21(r2) +/* 8026D0F0 0026A050 EE F8 55 FA */ fmadds f23, f24, f23, f10 +/* 8026D0F4 0026A054 3E 00 43 30 */ lis r16, 0x4330 +/* 8026D0F8 0026A058 92 41 00 2C */ stw r18, 0x2c(r1) +/* 8026D0FC 0026A05C FF 40 B8 1E */ fctiwz f26, f23 +/* 8026D100 0026A060 92 01 00 28 */ stw r16, 0x28(r1) +/* 8026D104 0026A064 C2 EC 00 24 */ lfs f23, 0x24(r12) +/* 8026D108 0026A068 CB 01 00 28 */ lfd f24, 0x28(r1) +/* 8026D10C 0026A06C DB 41 00 18 */ stfd f26, 0x18(r1) +/* 8026D110 0026A070 EF 18 C8 28 */ fsubs f24, f24, f25 +/* 8026D114 0026A074 82 01 00 1C */ lwz r16, 0x1c(r1) +/* 8026D118 0026A078 EE F8 05 F2 */ fmuls f23, f24, f23 +/* 8026D11C 0026A07C 56 10 15 BA */ rlwinm r16, r16, 2, 0x16, 0x1d +/* 8026D120 0026A080 7F 06 84 2E */ lfsx f24, r6, r16 +/* 8026D124 0026A084 EF 18 05 F2 */ fmuls f24, f24, f23 +/* 8026D128 0026A088 48 00 00 08 */ b lbl_8026D130 +lbl_8026D12C: +/* 8026D12C 0026A08C C3 02 BB 90 */ lfs f24, lbl_805AD8B0@sda21(r2) +lbl_8026D130: +/* 8026D130 0026A090 C2 E5 00 00 */ lfs f23, 0(r5) +/* 8026D134 0026A094 3A E0 00 01 */ li r23, 1 +/* 8026D138 0026A098 EE F7 C0 2A */ fadds f23, f23, f24 +/* 8026D13C 0026A09C D2 E5 00 00 */ stfs f23, 0(r5) +lbl_8026D140: +/* 8026D140 0026A0A0 C2 E7 00 18 */ lfs f23, 0x18(r7) +/* 8026D144 0026A0A4 38 A5 00 08 */ addi r5, r5, 8 +/* 8026D148 0026A0A8 39 4A 00 01 */ addi r10, r10, 1 +/* 8026D14C 0026A0AC EF 7B B8 28 */ fsubs f27, f27, f23 +lbl_8026D150: +/* 8026D150 0026A0B0 82 03 00 08 */ lwz r16, 8(r3) +/* 8026D154 0026A0B4 92 21 00 14 */ stw r17, 0x14(r1) +/* 8026D158 0026A0B8 7C 10 88 00 */ cmpw r16, r17 +/* 8026D15C 0026A0BC 40 80 00 0C */ bge lbl_8026D168 +/* 8026D160 0026A0C0 3A 03 00 08 */ addi r16, r3, 8 +/* 8026D164 0026A0C4 48 00 00 08 */ b lbl_8026D16C +lbl_8026D168: +/* 8026D168 0026A0C8 3A 01 00 14 */ addi r16, r1, 0x14 +lbl_8026D16C: +/* 8026D16C 0026A0CC 82 10 00 00 */ lwz r16, 0(r16) +/* 8026D170 0026A0D0 7C 0A 80 00 */ cmpw r10, r16 +/* 8026D174 0026A0D4 40 81 FF 1C */ ble lbl_8026D090 +/* 8026D178 0026A0D8 C2 E7 00 18 */ lfs f23, 0x18(r7) +/* 8026D17C 0026A0DC 39 08 01 68 */ addi r8, r8, 0x168 +/* 8026D180 0026A0E0 39 29 00 01 */ addi r9, r9, 1 +/* 8026D184 0026A0E4 EF BD B8 28 */ fsubs f29, f29, f23 +lbl_8026D188: +/* 8026D188 0026A0E8 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 8026D18C 0026A0EC 91 E1 00 10 */ stw r15, 0x10(r1) +/* 8026D190 0026A0F0 7C 05 78 00 */ cmpw r5, r15 +/* 8026D194 0026A0F4 40 80 00 0C */ bge lbl_8026D1A0 +/* 8026D198 0026A0F8 38 A3 00 10 */ addi r5, r3, 0x10 +/* 8026D19C 0026A0FC 48 00 00 08 */ b lbl_8026D1A4 +lbl_8026D1A0: +/* 8026D1A0 0026A100 38 A1 00 10 */ addi r5, r1, 0x10 +lbl_8026D1A4: +/* 8026D1A4 0026A104 80 A5 00 00 */ lwz r5, 0(r5) +/* 8026D1A8 0026A108 7C 09 28 00 */ cmpw r9, r5 +/* 8026D1AC 0026A10C 40 81 FE D0 */ ble lbl_8026D07C +/* 8026D1B0 0026A110 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026D1B4 0026A114 41 82 02 90 */ beq lbl_8026D444 +/* 8026D1B8 0026A118 38 00 00 1F */ li r0, 0x1f +/* 8026D1BC 0026A11C 98 1C 00 00 */ stb r0, 0(r28) +/* 8026D1C0 0026A120 48 00 02 84 */ b lbl_8026D444 +lbl_8026D1C4: +/* 8026D1C4 0026A124 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D1C8 0026A128 7D 09 C8 50 */ subf r8, r9, r25 +/* 8026D1CC 0026A12C 7C A9 B0 50 */ subf r5, r9, r22 +/* 8026D1D0 0026A130 3A 99 FF FF */ addi r20, r25, -1 +/* 8026D1D4 0026A134 3A A8 00 01 */ addi r21, r8, 1 +/* 8026D1D8 0026A138 3A 56 FF FF */ addi r18, r22, -1 +/* 8026D1DC 0026A13C 3A 65 00 01 */ addi r19, r5, 1 +/* 8026D1E0 0026A140 41 80 00 30 */ blt lbl_8026D210 +/* 8026D1E4 0026A144 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D1E8 0026A148 7C 1B 00 00 */ cmpw r27, r0 +/* 8026D1EC 0026A14C 40 80 00 24 */ bge lbl_8026D210 +/* 8026D1F0 0026A150 7C 00 F8 51 */ subf. r0, r0, r31 +/* 8026D1F4 0026A154 41 80 00 1C */ blt lbl_8026D210 +/* 8026D1F8 0026A158 80 A7 00 30 */ lwz r5, 0x30(r7) +/* 8026D1FC 0026A15C 7C 1B 02 14 */ add r0, r27, r0 +/* 8026D200 0026A160 7C 05 00 AE */ lbzx r0, r5, r0 +/* 8026D204 0026A164 7C 00 07 75 */ extsb. r0, r0 +/* 8026D208 0026A168 40 82 00 08 */ bne lbl_8026D210 +/* 8026D20C 0026A16C 3A B5 FF FE */ addi r21, r21, -2 +lbl_8026D210: +/* 8026D210 0026A170 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D214 0026A174 41 80 00 38 */ blt lbl_8026D24C +/* 8026D218 0026A178 A8 A7 00 2A */ lha r5, 0x2a(r7) +/* 8026D21C 0026A17C 7C 1B 28 00 */ cmpw r27, r5 +/* 8026D220 0026A180 40 80 00 2C */ bge lbl_8026D24C +/* 8026D224 0026A184 7C 1F 2A 14 */ add r0, r31, r5 +/* 8026D228 0026A188 7C 00 F0 00 */ cmpw r0, r30 +/* 8026D22C 0026A18C 40 80 00 20 */ bge lbl_8026D24C +/* 8026D230 0026A190 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D234 0026A194 7C 00 DA 14 */ add r0, r0, r27 +/* 8026D238 0026A198 7C 00 2A 14 */ add r0, r0, r5 +/* 8026D23C 0026A19C 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D240 0026A1A0 7C 00 07 75 */ extsb. r0, r0 +/* 8026D244 0026A1A4 40 82 00 08 */ bne lbl_8026D24C +/* 8026D248 0026A1A8 3A 94 00 02 */ addi r20, r20, 2 +lbl_8026D24C: +/* 8026D24C 0026A1AC 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026D250 0026A1B0 41 80 00 34 */ blt lbl_8026D284 +/* 8026D254 0026A1B4 A8 07 00 2C */ lha r0, 0x2c(r7) +/* 8026D258 0026A1B8 7C 1F 00 00 */ cmpw r31, r0 +/* 8026D25C 0026A1BC 40 80 00 28 */ bge lbl_8026D284 +/* 8026D260 0026A1C0 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D264 0026A1C4 40 81 00 20 */ ble lbl_8026D284 +/* 8026D268 0026A1C8 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D26C 0026A1CC 7C A0 DA 14 */ add r5, r0, r27 +/* 8026D270 0026A1D0 38 05 FF FF */ addi r0, r5, -1 +/* 8026D274 0026A1D4 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D278 0026A1D8 7C 00 07 75 */ extsb. r0, r0 +/* 8026D27C 0026A1DC 40 82 00 08 */ bne lbl_8026D284 +/* 8026D280 0026A1E0 3A 73 FF FE */ addi r19, r19, -2 +lbl_8026D284: +/* 8026D284 0026A1E4 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026D288 0026A1E8 41 80 00 3C */ blt lbl_8026D2C4 +/* 8026D28C 0026A1EC A8 07 00 2C */ lha r0, 0x2c(r7) +/* 8026D290 0026A1F0 7C 1F 00 00 */ cmpw r31, r0 +/* 8026D294 0026A1F4 40 80 00 30 */ bge lbl_8026D2C4 +/* 8026D298 0026A1F8 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D29C 0026A1FC 38 BB 00 01 */ addi r5, r27, 1 +/* 8026D2A0 0026A200 7C 05 00 00 */ cmpw r5, r0 +/* 8026D2A4 0026A204 40 80 00 20 */ bge lbl_8026D2C4 +/* 8026D2A8 0026A208 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D2AC 0026A20C 7C A0 DA 14 */ add r5, r0, r27 +/* 8026D2B0 0026A210 38 05 00 01 */ addi r0, r5, 1 +/* 8026D2B4 0026A214 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D2B8 0026A218 7C 00 07 75 */ extsb. r0, r0 +/* 8026D2BC 0026A21C 40 82 00 08 */ bne lbl_8026D2C4 +/* 8026D2C0 0026A220 3A 52 00 02 */ addi r18, r18, 2 +lbl_8026D2C4: +/* 8026D2C4 0026A224 1D 1D 01 68 */ mulli r8, r29, 0x168 +/* 8026D2C8 0026A228 7F B1 EB 78 */ mr r17, r29 +/* 8026D2CC 0026A22C 38 16 FF FF */ addi r0, r22, -1 +/* 8026D2D0 0026A230 57 45 18 38 */ slwi r5, r26, 3 +/* 8026D2D4 0026A234 7D 44 42 14 */ add r10, r4, r8 +/* 8026D2D8 0026A238 39 F9 FF FF */ addi r15, r25, -1 +/* 8026D2DC 0026A23C 48 00 01 30 */ b lbl_8026D40C +lbl_8026D2E0: +/* 8026D2E0 0026A240 FF 80 F0 90 */ fmr f28, f30 +/* 8026D2E4 0026A244 7F 50 D3 78 */ mr r16, r26 +/* 8026D2E8 0026A248 EF 7D 07 72 */ fmuls f27, f29, f29 +/* 8026D2EC 0026A24C 7D 2A 2A 14 */ add r9, r10, r5 +/* 8026D2F0 0026A250 48 00 00 E4 */ b lbl_8026D3D4 +lbl_8026D2F4: +/* 8026D2F4 0026A254 7C 11 A8 00 */ cmpw r17, r21 +/* 8026D2F8 0026A258 40 81 00 1C */ ble lbl_8026D314 +/* 8026D2FC 0026A25C 7C 11 A0 00 */ cmpw r17, r20 +/* 8026D300 0026A260 40 80 00 14 */ bge lbl_8026D314 +/* 8026D304 0026A264 7C 10 98 00 */ cmpw r16, r19 +/* 8026D308 0026A268 40 81 00 0C */ ble lbl_8026D314 +/* 8026D30C 0026A26C 7C 10 90 00 */ cmpw r16, r18 +/* 8026D310 0026A270 41 80 00 B4 */ blt lbl_8026D3C4 +lbl_8026D314: +/* 8026D314 0026A274 EE FC DF 3A */ fmadds f23, f28, f28, f27 +/* 8026D318 0026A278 FC 17 40 40 */ fcmpo cr0, f23, f8 +/* 8026D31C 0026A27C 41 80 00 A8 */ blt lbl_8026D3C4 +/* 8026D320 0026A280 FC 17 48 40 */ fcmpo cr0, f23, f9 +/* 8026D324 0026A284 41 81 00 A0 */ bgt lbl_8026D3C4 +/* 8026D328 0026A288 FC E0 B8 90 */ fmr f7, f23 +/* 8026D32C 0026A28C C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) +/* 8026D330 0026A290 FC 17 38 00 */ fcmpu cr0, f23, f7 +/* 8026D334 0026A294 40 82 00 0C */ bne lbl_8026D340 +/* 8026D338 0026A298 FF 00 38 90 */ fmr f24, f7 +/* 8026D33C 0026A29C 48 00 00 0C */ b lbl_8026D348 +lbl_8026D340: +/* 8026D340 0026A2A0 13 00 38 34 */ ps_rsqrte f24, f7 +/* 8026D344 0026A2A4 13 18 01 F2 */ ps_mul f24, f24, f7 +lbl_8026D348: +/* 8026D348 0026A2A8 EE F8 02 F2 */ fmuls f23, f24, f11 +/* 8026D34C 0026A2AC FE E0 B8 1E */ fctiwz f23, f23 +/* 8026D350 0026A2B0 DA E1 00 28 */ stfd f23, 0x28(r1) +/* 8026D354 0026A2B4 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 8026D358 0026A2B8 7D 0B 40 AE */ lbzx r8, r11, r8 +/* 8026D35C 0026A2BC 28 08 00 00 */ cmplwi r8, 0 +/* 8026D360 0026A2C0 41 82 00 50 */ beq lbl_8026D3B0 +/* 8026D364 0026A2C4 C2 EC 00 38 */ lfs f23, 0x38(r12) +/* 8026D368 0026A2C8 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8026D36C 0026A2CC 6D 08 80 00 */ xoris r8, r8, 0x8000 +/* 8026D370 0026A2D0 3E E0 43 30 */ lis r23, 0x4330 +/* 8026D374 0026A2D4 EE F8 55 FA */ fmadds f23, f24, f23, f10 +/* 8026D378 0026A2D8 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8026D37C 0026A2DC CB 02 BB 98 */ lfd f24, lbl_805AD8B8@sda21(r2) +/* 8026D380 0026A2E0 92 E1 00 18 */ stw r23, 0x18(r1) +/* 8026D384 0026A2E4 FE E0 B8 1E */ fctiwz f23, f23 +/* 8026D388 0026A2E8 C3 4C 00 24 */ lfs f26, 0x24(r12) +/* 8026D38C 0026A2EC CB 21 00 18 */ lfd f25, 0x18(r1) +/* 8026D390 0026A2F0 DA E1 00 20 */ stfd f23, 0x20(r1) +/* 8026D394 0026A2F4 EF 39 C0 28 */ fsubs f25, f25, f24 +/* 8026D398 0026A2F8 81 01 00 24 */ lwz r8, 0x24(r1) +/* 8026D39C 0026A2FC EF 59 06 B2 */ fmuls f26, f25, f26 +/* 8026D3A0 0026A300 55 08 15 BA */ rlwinm r8, r8, 2, 0x16, 0x1d +/* 8026D3A4 0026A304 7F 06 44 2E */ lfsx f24, r6, r8 +/* 8026D3A8 0026A308 EE F8 06 B2 */ fmuls f23, f24, f26 +/* 8026D3AC 0026A30C 48 00 00 08 */ b lbl_8026D3B4 +lbl_8026D3B0: +/* 8026D3B0 0026A310 C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) +lbl_8026D3B4: +/* 8026D3B4 0026A314 C3 49 00 00 */ lfs f26, 0(r9) +/* 8026D3B8 0026A318 3A E0 00 01 */ li r23, 1 +/* 8026D3BC 0026A31C EF 5A B8 2A */ fadds f26, f26, f23 +/* 8026D3C0 0026A320 D3 49 00 00 */ stfs f26, 0(r9) +lbl_8026D3C4: +/* 8026D3C4 0026A324 C3 47 00 18 */ lfs f26, 0x18(r7) +/* 8026D3C8 0026A328 39 29 00 08 */ addi r9, r9, 8 +/* 8026D3CC 0026A32C 3A 10 00 01 */ addi r16, r16, 1 +/* 8026D3D0 0026A330 EF 9C D0 28 */ fsubs f28, f28, f26 +lbl_8026D3D4: +/* 8026D3D4 0026A334 81 03 00 08 */ lwz r8, 8(r3) +/* 8026D3D8 0026A338 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026D3DC 0026A33C 7C 08 00 00 */ cmpw r8, r0 +/* 8026D3E0 0026A340 40 80 00 0C */ bge lbl_8026D3EC +/* 8026D3E4 0026A344 39 03 00 08 */ addi r8, r3, 8 +/* 8026D3E8 0026A348 48 00 00 08 */ b lbl_8026D3F0 +lbl_8026D3EC: +/* 8026D3EC 0026A34C 39 01 00 0C */ addi r8, r1, 0xc +lbl_8026D3F0: +/* 8026D3F0 0026A350 81 08 00 00 */ lwz r8, 0(r8) +/* 8026D3F4 0026A354 7C 10 40 00 */ cmpw r16, r8 +/* 8026D3F8 0026A358 40 81 FE FC */ ble lbl_8026D2F4 +/* 8026D3FC 0026A35C C3 67 00 18 */ lfs f27, 0x18(r7) +/* 8026D400 0026A360 39 4A 01 68 */ addi r10, r10, 0x168 +/* 8026D404 0026A364 3A 31 00 01 */ addi r17, r17, 1 +/* 8026D408 0026A368 EF BD D8 28 */ fsubs f29, f29, f27 +lbl_8026D40C: +/* 8026D40C 0026A36C 81 03 00 10 */ lwz r8, 0x10(r3) +/* 8026D410 0026A370 91 E1 00 08 */ stw r15, 8(r1) +/* 8026D414 0026A374 7C 08 78 00 */ cmpw r8, r15 +/* 8026D418 0026A378 40 80 00 0C */ bge lbl_8026D424 +/* 8026D41C 0026A37C 39 03 00 10 */ addi r8, r3, 0x10 +/* 8026D420 0026A380 48 00 00 08 */ b lbl_8026D428 +lbl_8026D424: +/* 8026D424 0026A384 39 01 00 08 */ addi r8, r1, 8 +lbl_8026D428: +/* 8026D428 0026A388 81 08 00 00 */ lwz r8, 0(r8) +/* 8026D42C 0026A38C 7C 11 40 00 */ cmpw r17, r8 +/* 8026D430 0026A390 40 81 FE B0 */ ble lbl_8026D2E0 +/* 8026D434 0026A394 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026D438 0026A398 41 82 00 0C */ beq lbl_8026D444 +/* 8026D43C 0026A39C 38 00 00 0F */ li r0, 0xf +/* 8026D440 0026A3A0 98 1C 00 00 */ stb r0, 0(r28) +lbl_8026D444: +/* 8026D444 0026A3A4 7E DA B3 78 */ mr r26, r22 +lbl_8026D448: +/* 8026D448 0026A3A8 C3 67 00 14 */ lfs f27, 0x14(r7) +/* 8026D44C 0026A3AC 3B 18 00 01 */ addi r24, r24, 1 +/* 8026D450 0026A3B0 3B 9C 00 01 */ addi r28, r28, 1 +/* 8026D454 0026A3B4 3B 7B 00 01 */ addi r27, r27, 1 +/* 8026D458 0026A3B8 EF FF D8 28 */ fsubs f31, f31, f27 +/* 8026D45C 0026A3BC 42 00 FB 24 */ bdnz lbl_8026CF80 +lbl_8026D460: +/* 8026D460 0026A3C0 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8026D464 0026A3C4 7F 3D CB 78 */ mr r29, r25 +/* 8026D468 0026A3C8 C1 A7 00 14 */ lfs f13, 0x14(r7) +/* 8026D46C 0026A3CC 38 A5 00 01 */ addi r5, r5, 1 +/* 8026D470 0026A3D0 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D474 0026A3D4 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8026D478 0026A3D8 ED 8C 68 28 */ fsubs f12, f12, f13 +/* 8026D47C 0026A3DC 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 8026D480 0026A3E0 7F FF 02 14 */ add r31, r31, r0 +/* 8026D484 0026A3E4 38 A5 00 09 */ addi r5, r5, 9 +/* 8026D488 0026A3E8 90 A1 00 34 */ stw r5, 0x34(r1) +lbl_8026D48C: +/* 8026D48C 0026A3EC 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8026D490 0026A3F0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026D494 0026A3F4 7C 05 00 00 */ cmpw r5, r0 +/* 8026D498 0026A3F8 40 81 FA 6C */ ble lbl_8026CF04 +/* 8026D49C 0026A3FC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8026D4A0 0026A400 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 8026D4A4 0026A404 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 8026D4A8 0026A408 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8026D4AC 0026A40C E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 8026D4B0 0026A410 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 8026D4B4 0026A414 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 8026D4B8 0026A418 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 8026D4BC 0026A41C E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 8026D4C0 0026A420 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 8026D4C4 0026A424 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 8026D4C8 0026A428 CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 8026D4CC 0026A42C E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 +/* 8026D4D0 0026A430 CB 21 00 C0 */ lfd f25, 0xc0(r1) +/* 8026D4D4 0026A434 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 +/* 8026D4D8 0026A438 CB 01 00 B0 */ lfd f24, 0xb0(r1) +/* 8026D4DC 0026A43C E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0 +/* 8026D4E0 0026A440 CA E1 00 A0 */ lfd f23, 0xa0(r1) +/* 8026D4E4 0026A444 B9 C1 00 58 */ lmw r14, 0x58(r1) +/* 8026D4E8 0026A448 38 21 01 30 */ addi r1, r1, 0x130 +/* 8026D4EC 0026A44C 4E 80 00 20 */ blr + +.global RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo +RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026D4F0 0026A450 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8026D4F4 0026A454 7C 08 02 A6 */ mflr r0 +/* 8026D4F8 0026A458 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8026D4FC 0026A45C DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8026D500 0026A460 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8026D504 0026A464 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8026D508 0026A468 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8026D50C 0026A46C DB A1 00 90 */ stfd f29, 0x90(r1) +/* 8026D510 0026A470 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 8026D514 0026A474 DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8026D518 0026A478 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 8026D51C 0026A47C DB 61 00 70 */ stfd f27, 0x70(r1) +/* 8026D520 0026A480 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 8026D524 0026A484 DB 41 00 60 */ stfd f26, 0x60(r1) +/* 8026D528 0026A488 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 8026D52C 0026A48C BD C1 00 18 */ stmw r14, 0x18(r1) +/* 8026D530 0026A490 80 ED A5 74 */ lwz r7, lbl_805A9134@sda21(r13) +/* 8026D534 0026A494 7C D5 33 78 */ mr r21, r6 +/* 8026D538 0026A498 88 C6 00 00 */ lbz r6, 0(r6) +/* 8026D53C 0026A49C 3D C0 43 30 */ lis r14, 0x4330 +/* 8026D540 0026A4A0 39 07 FF FF */ addi r8, r7, -1 +/* 8026D544 0026A4A4 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 8026D548 0026A4A8 7D 05 42 14 */ add r8, r5, r8 +/* 8026D54C 0026A4AC 7C C6 07 74 */ extsb r6, r6 +/* 8026D550 0026A4B0 7D 88 3B D6 */ divw r12, r8, r7 +/* 8026D554 0026A4B4 7C 00 3A 14 */ add r0, r0, r7 +/* 8026D558 0026A4B8 7C C6 3A 14 */ add r6, r6, r7 +/* 8026D55C 0026A4BC 91 C1 00 08 */ stw r14, 8(r1) +/* 8026D560 0026A4C0 7C 0F 0E 70 */ srawi r15, r0, 1 +/* 8026D564 0026A4C4 CB E2 BB 98 */ lfd f31, lbl_805AD8B8@sda21(r2) +/* 8026D568 0026A4C8 39 66 FF FC */ addi r11, r6, -4 +/* 8026D56C 0026A4CC 6D E0 80 00 */ xoris r0, r15, 0x8000 +/* 8026D570 0026A4D0 1C C5 01 68 */ mulli r6, r5, 0x168 +/* 8026D574 0026A4D4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026D578 0026A4D8 A9 55 00 2E */ lha r10, 0x2e(r21) +/* 8026D57C 0026A4DC 39 2C FF FF */ addi r9, r12, -1 +/* 8026D580 0026A4E0 C8 01 00 08 */ lfd f0, 8(r1) +/* 8026D584 0026A4E4 FF A0 08 90 */ fmr f29, f1 +/* 8026D588 0026A4E8 1E 07 00 2D */ mulli r16, r7, 0x2d +/* 8026D58C 0026A4EC 3A E6 00 08 */ addi r23, r6, 8 +/* 8026D590 0026A4F0 EC 20 F8 28 */ fsubs f1, f0, f31 +/* 8026D594 0026A4F4 7D 2A 4A 14 */ add r9, r10, r9 +/* 8026D598 0026A4F8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026D59C 0026A4FC 7E E3 BA 14 */ add r23, r3, r23 +/* 8026D5A0 0026A500 A9 55 00 2A */ lha r10, 0x2a(r21) +/* 8026D5A4 0026A504 EF 60 00 72 */ fmuls f27, f0, f1 +/* 8026D5A8 0026A508 56 08 0F FE */ srwi r8, r16, 0x1f +/* 8026D5AC 0026A50C 7C 07 82 14 */ add r0, r7, r16 +/* 8026D5B0 0026A510 7D 08 82 14 */ add r8, r8, r16 +/* 8026D5B4 0026A514 A8 D5 00 28 */ lha r6, 0x28(r21) +/* 8026D5B8 0026A518 7C 6A 49 D6 */ mullw r3, r10, r9 +/* 8026D5BC 0026A51C 7D 08 0E 70 */ srawi r8, r8, 1 +/* 8026D5C0 0026A520 EF 9B E8 2A */ fadds f28, f27, f29 +/* 8026D5C4 0026A524 C3 D5 00 04 */ lfs f30, 4(r21) +/* 8026D5C8 0026A528 56 1D 18 38 */ slwi r29, r16, 3 +/* 8026D5CC 0026A52C 7D 0F 42 14 */ add r8, r15, r8 +/* 8026D5D0 0026A530 1C AC 00 09 */ mulli r5, r12, 9 +/* 8026D5D4 0026A534 55 1E 18 38 */ slwi r30, r8, 3 +/* 8026D5D8 0026A538 54 1C 18 38 */ slwi r28, r0, 3 +/* 8026D5DC 0026A53C 54 FB 18 38 */ slwi r27, r7, 3 +/* 8026D5E0 0026A540 7F EB 3B D6 */ divw r31, r11, r7 +/* 8026D5E4 0026A544 7F 06 1A 14 */ add r24, r6, r3 +/* 8026D5E8 0026A548 7D E4 2A 14 */ add r15, r4, r5 +/* 8026D5EC 0026A54C 3B 40 00 01 */ li r26, 1 +/* 8026D5F0 0026A550 3B 20 00 01 */ li r25, 1 +/* 8026D5F4 0026A554 48 00 17 38 */ b lbl_8026ED2C +lbl_8026D5F8: +/* 8026D5F8 0026A558 80 75 00 30 */ lwz r3, 0x30(r21) +/* 8026D5FC 0026A55C 3A C0 00 01 */ li r22, 1 +/* 8026D600 0026A560 28 03 00 00 */ cmplwi r3, 0 +/* 8026D604 0026A564 41 82 00 14 */ beq lbl_8026D618 +/* 8026D608 0026A568 41 82 16 EC */ beq lbl_8026ECF4 +/* 8026D60C 0026A56C 7C 03 C0 AE */ lbzx r0, r3, r24 +/* 8026D610 0026A570 7C 00 07 75 */ extsb. r0, r0 +/* 8026D614 0026A574 41 82 16 E0 */ beq lbl_8026ECF4 +lbl_8026D618: +/* 8026D618 0026A578 7D 0F D2 14 */ add r8, r15, r26 +/* 8026D61C 0026A57C 88 08 00 00 */ lbz r0, 0(r8) +/* 8026D620 0026A580 54 00 06 FE */ clrlwi r0, r0, 0x1b +/* 8026D624 0026A584 2C 00 00 1F */ cmpwi r0, 0x1f +/* 8026D628 0026A588 40 82 02 0C */ bne lbl_8026D834 +/* 8026D62C 0026A58C 38 88 00 01 */ addi r4, r8, 1 +/* 8026D630 0026A590 48 00 00 34 */ b lbl_8026D664 +lbl_8026D634: +/* 8026D634 0026A594 88 04 00 00 */ lbz r0, 0(r4) +/* 8026D638 0026A598 54 00 06 FE */ clrlwi r0, r0, 0x1b +/* 8026D63C 0026A59C 2C 00 00 1F */ cmpwi r0, 0x1f +/* 8026D640 0026A5A0 40 82 00 30 */ bne lbl_8026D670 +/* 8026D644 0026A5A4 28 03 00 00 */ cmplwi r3, 0 +/* 8026D648 0026A5A8 41 82 00 14 */ beq lbl_8026D65C +/* 8026D64C 0026A5AC 7C 18 B2 14 */ add r0, r24, r22 +/* 8026D650 0026A5B0 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8026D654 0026A5B4 7C 00 07 75 */ extsb. r0, r0 +/* 8026D658 0026A5B8 41 82 00 18 */ beq lbl_8026D670 +lbl_8026D65C: +/* 8026D65C 0026A5BC 38 84 00 01 */ addi r4, r4, 1 +/* 8026D660 0026A5C0 3A D6 00 01 */ addi r22, r22, 1 +lbl_8026D664: +/* 8026D664 0026A5C4 7C 1A B2 14 */ add r0, r26, r22 +/* 8026D668 0026A5C8 7C 00 F8 00 */ cmpw r0, r31 +/* 8026D66C 0026A5CC 40 81 FF C8 */ ble lbl_8026D634 +lbl_8026D670: +/* 8026D670 0026A5D0 82 0D A5 74 */ lwz r16, lbl_805A9134@sda21(r13) +/* 8026D674 0026A5D4 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026D678 0026A5D8 7C 76 81 D6 */ mullw r3, r22, r16 +/* 8026D67C 0026A5DC 7C 00 07 74 */ extsb r0, r0 +/* 8026D680 0026A5E0 2C 00 00 02 */ cmpwi r0, 2 +/* 8026D684 0026A5E4 38 83 00 01 */ addi r4, r3, 1 +/* 8026D688 0026A5E8 41 82 01 7C */ beq lbl_8026D804 +/* 8026D68C 0026A5EC 40 80 00 14 */ bge lbl_8026D6A0 +/* 8026D690 0026A5F0 2C 00 00 00 */ cmpwi r0, 0 +/* 8026D694 0026A5F4 41 82 00 18 */ beq lbl_8026D6AC +/* 8026D698 0026A5F8 40 80 01 54 */ bge lbl_8026D7EC +/* 8026D69C 0026A5FC 48 00 16 58 */ b lbl_8026ECF4 +lbl_8026D6A0: +/* 8026D6A0 0026A600 2C 00 00 04 */ cmpwi r0, 4 +/* 8026D6A4 0026A604 40 80 16 50 */ bge lbl_8026ECF4 +/* 8026D6A8 0026A608 48 00 01 74 */ b lbl_8026D81C +lbl_8026D6AC: +/* 8026D6AC 0026A60C FF 40 E8 90 */ fmr f26, f29 +/* 8026D6B0 0026A610 7E F3 BB 78 */ mr r19, r23 +/* 8026D6B4 0026A614 7C 91 23 78 */ mr r17, r4 +/* 8026D6B8 0026A618 54 92 08 3C */ slwi r18, r4, 1 +/* 8026D6BC 0026A61C 3E 80 CC 01 */ lis r20, 0xcc01 +/* 8026D6C0 0026A620 48 00 01 20 */ b lbl_8026D7E0 +lbl_8026D6C4: +/* 8026D6C4 0026A624 56 45 04 3E */ clrlwi r5, r18, 0x10 +/* 8026D6C8 0026A628 38 60 00 98 */ li r3, 0x98 +/* 8026D6CC 0026A62C 38 80 00 00 */ li r4, 0 +/* 8026D6D0 0026A630 48 09 AE B5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026D6D4 0026A634 C0 35 00 18 */ lfs f1, 0x18(r21) +/* 8026D6D8 0026A638 FC 00 F0 90 */ fmr f0, f30 +/* 8026D6DC 0026A63C 2C 11 00 00 */ cmpwi r17, 0 +/* 8026D6E0 0026A640 7E 64 9B 78 */ mr r4, r19 +/* 8026D6E4 0026A644 EC 7A 08 2A */ fadds f3, f26, f1 +/* 8026D6E8 0026A648 7E 23 8B 78 */ mr r3, r17 +/* 8026D6EC 0026A64C 41 82 00 E0 */ beq lbl_8026D7CC +/* 8026D6F0 0026A650 56 20 F0 BF */ rlwinm. r0, r17, 0x1e, 2, 0x1f +/* 8026D6F4 0026A654 7C 09 03 A6 */ mtctr r0 +/* 8026D6F8 0026A658 41 82 00 A4 */ beq lbl_8026D79C +lbl_8026D6FC: +/* 8026D6FC 0026A65C C0 44 00 00 */ lfs f2, 0(r4) +/* 8026D700 0026A660 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D704 0026A664 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D708 0026A668 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D70C 0026A66C C0 44 01 68 */ lfs f2, 0x168(r4) +/* 8026D710 0026A670 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D714 0026A674 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D718 0026A678 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D71C 0026A67C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D720 0026A680 C0 44 00 08 */ lfs f2, 8(r4) +/* 8026D724 0026A684 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D728 0026A688 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D72C 0026A68C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D730 0026A690 C0 44 01 70 */ lfs f2, 0x170(r4) +/* 8026D734 0026A694 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D738 0026A698 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D73C 0026A69C D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D740 0026A6A0 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D744 0026A6A4 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 8026D748 0026A6A8 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D74C 0026A6AC D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D750 0026A6B0 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D754 0026A6B4 C0 44 01 78 */ lfs f2, 0x178(r4) +/* 8026D758 0026A6B8 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D75C 0026A6BC EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D760 0026A6C0 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D764 0026A6C4 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D768 0026A6C8 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8026D76C 0026A6CC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D770 0026A6D0 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D774 0026A6D4 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D778 0026A6D8 C0 44 01 80 */ lfs f2, 0x180(r4) +/* 8026D77C 0026A6DC 38 84 00 20 */ addi r4, r4, 0x20 +/* 8026D780 0026A6E0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D784 0026A6E4 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D788 0026A6E8 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D78C 0026A6EC D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D790 0026A6F0 42 00 FF 6C */ bdnz lbl_8026D6FC +/* 8026D794 0026A6F4 70 63 00 03 */ andi. r3, r3, 3 +/* 8026D798 0026A6F8 41 82 00 34 */ beq lbl_8026D7CC +lbl_8026D79C: +/* 8026D79C 0026A6FC 7C 69 03 A6 */ mtctr r3 +lbl_8026D7A0: +/* 8026D7A0 0026A700 C0 44 00 00 */ lfs f2, 0(r4) +/* 8026D7A4 0026A704 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D7A8 0026A708 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D7AC 0026A70C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D7B0 0026A710 C0 44 01 68 */ lfs f2, 0x168(r4) +/* 8026D7B4 0026A714 38 84 00 08 */ addi r4, r4, 8 +/* 8026D7B8 0026A718 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D7BC 0026A71C EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D7C0 0026A720 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D7C4 0026A724 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D7C8 0026A728 42 00 FF D8 */ bdnz lbl_8026D7A0 +lbl_8026D7CC: +/* 8026D7CC 0026A72C 48 09 AD B5 */ bl End__3CGXFv +/* 8026D7D0 0026A730 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026D7D4 0026A734 3A 10 FF FF */ addi r16, r16, -1 +/* 8026D7D8 0026A738 3A 73 01 68 */ addi r19, r19, 0x168 +/* 8026D7DC 0026A73C EF 5A 00 2A */ fadds f26, f26, f0 +lbl_8026D7E0: +/* 8026D7E0 0026A740 2C 10 00 00 */ cmpwi r16, 0 +/* 8026D7E4 0026A744 41 81 FE E0 */ bgt lbl_8026D6C4 +/* 8026D7E8 0026A748 48 00 15 0C */ b lbl_8026ECF4 +lbl_8026D7EC: +/* 8026D7EC 0026A74C FC 20 F0 90 */ fmr f1, f30 +/* 8026D7F0 0026A750 7E E3 BB 78 */ mr r3, r23 +/* 8026D7F4 0026A754 FC 40 E8 90 */ fmr f2, f29 +/* 8026D7F8 0026A758 7E A5 AB 78 */ mr r5, r21 +/* 8026D7FC 0026A75C 48 00 1E C9 */ bl RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026D800 0026A760 48 00 14 F4 */ b lbl_8026ECF4 +lbl_8026D804: +/* 8026D804 0026A764 FC 20 F0 90 */ fmr f1, f30 +/* 8026D808 0026A768 7E E3 BB 78 */ mr r3, r23 +/* 8026D80C 0026A76C FC 40 E8 90 */ fmr f2, f29 +/* 8026D810 0026A770 7E A5 AB 78 */ mr r5, r21 +/* 8026D814 0026A774 48 00 1D 35 */ bl RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026D818 0026A778 48 00 14 DC */ b lbl_8026ECF4 +lbl_8026D81C: +/* 8026D81C 0026A77C FC 20 F0 90 */ fmr f1, f30 +/* 8026D820 0026A780 7E E3 BB 78 */ mr r3, r23 +/* 8026D824 0026A784 FC 40 E8 90 */ fmr f2, f29 +/* 8026D828 0026A788 7E A5 AB 78 */ mr r5, r21 +/* 8026D82C 0026A78C 48 00 1B 31 */ bl RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026D830 0026A790 48 00 14 C4 */ b lbl_8026ECF4 +lbl_8026D834: +/* 8026D834 0026A794 88 C8 00 09 */ lbz r6, 9(r8) +/* 8026D838 0026A798 38 88 00 01 */ addi r4, r8, 1 +/* 8026D83C 0026A79C 88 08 FF FF */ lbz r0, -1(r8) +/* 8026D840 0026A7A0 38 A0 00 01 */ li r5, 1 +/* 8026D844 0026A7A4 54 D3 FF FF */ rlwinm. r19, r6, 0x1f, 0x1f, 0x1f +/* 8026D848 0026A7A8 88 E8 00 01 */ lbz r7, 1(r8) +/* 8026D84C 0026A7AC 88 C8 FF F7 */ lbz r6, -9(r8) +/* 8026D850 0026A7B0 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8026D854 0026A7B4 7C 10 03 78 */ mr r16, r0 +/* 8026D858 0026A7B8 54 F2 F7 FE */ rlwinm r18, r7, 0x1e, 0x1f, 0x1f +/* 8026D85C 0026A7BC 54 D1 07 FE */ clrlwi r17, r6, 0x1f +/* 8026D860 0026A7C0 41 82 00 08 */ beq lbl_8026D868 +/* 8026D864 0026A7C4 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +lbl_8026D868: +/* 8026D868 0026A7C8 28 12 00 00 */ cmplwi r18, 0 +/* 8026D86C 0026A7CC 38 C5 00 02 */ addi r6, r5, 2 +/* 8026D870 0026A7D0 38 00 00 01 */ li r0, 1 +/* 8026D874 0026A7D4 41 82 00 08 */ beq lbl_8026D87C +/* 8026D878 0026A7D8 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026D87C: +/* 8026D87C 0026A7DC 28 11 00 00 */ cmplwi r17, 0 +/* 8026D880 0026A7E0 7C C6 02 14 */ add r6, r6, r0 +/* 8026D884 0026A7E4 38 A0 00 01 */ li r5, 1 +/* 8026D888 0026A7E8 41 82 00 08 */ beq lbl_8026D890 +/* 8026D88C 0026A7EC 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +lbl_8026D890: +/* 8026D890 0026A7F0 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 8026D894 0026A7F4 7C C6 2A 14 */ add r6, r6, r5 +/* 8026D898 0026A7F8 38 00 00 01 */ li r0, 1 +/* 8026D89C 0026A7FC 41 82 00 08 */ beq lbl_8026D8A4 +/* 8026D8A0 0026A800 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026D8A4: +/* 8026D8A4 0026A804 7C C6 02 14 */ add r6, r6, r0 +/* 8026D8A8 0026A808 2C 06 00 06 */ cmpwi r6, 6 +/* 8026D8AC 0026A80C 40 82 03 20 */ bne lbl_8026DBCC +/* 8026D8B0 0026A810 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026D8B4 0026A814 7C 00 07 74 */ extsb r0, r0 +/* 8026D8B8 0026A818 2C 00 00 02 */ cmpwi r0, 2 +/* 8026D8BC 0026A81C 41 82 00 64 */ beq lbl_8026D920 +/* 8026D8C0 0026A820 2C 00 00 03 */ cmpwi r0, 3 +/* 8026D8C4 0026A824 40 82 03 08 */ bne lbl_8026DBCC +/* 8026D8C8 0026A828 48 00 00 58 */ b lbl_8026D920 +lbl_8026D8CC: +/* 8026D8CC 0026A82C 88 04 00 00 */ lbz r0, 0(r4) +/* 8026D8D0 0026A830 54 00 06 FE */ clrlwi r0, r0, 0x1b +/* 8026D8D4 0026A834 2C 00 00 1F */ cmpwi r0, 0x1f +/* 8026D8D8 0026A838 41 82 00 54 */ beq lbl_8026D92C +/* 8026D8DC 0026A83C 28 03 00 00 */ cmplwi r3, 0 +/* 8026D8E0 0026A840 41 82 00 14 */ beq lbl_8026D8F4 +/* 8026D8E4 0026A844 7C 18 B2 14 */ add r0, r24, r22 +/* 8026D8E8 0026A848 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8026D8EC 0026A84C 7C 00 07 75 */ extsb. r0, r0 +/* 8026D8F0 0026A850 41 82 00 3C */ beq lbl_8026D92C +lbl_8026D8F4: +/* 8026D8F4 0026A854 88 04 00 09 */ lbz r0, 9(r4) +/* 8026D8F8 0026A858 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8026D8FC 0026A85C 40 82 00 30 */ bne lbl_8026D92C +/* 8026D900 0026A860 88 04 00 01 */ lbz r0, 1(r4) +/* 8026D904 0026A864 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8026D908 0026A868 40 82 00 24 */ bne lbl_8026D92C +/* 8026D90C 0026A86C 88 04 FF F7 */ lbz r0, -9(r4) +/* 8026D910 0026A870 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8026D914 0026A874 40 82 00 18 */ bne lbl_8026D92C +/* 8026D918 0026A878 38 84 00 01 */ addi r4, r4, 1 +/* 8026D91C 0026A87C 3A D6 00 01 */ addi r22, r22, 1 +lbl_8026D920: +/* 8026D920 0026A880 7C 1A B2 14 */ add r0, r26, r22 +/* 8026D924 0026A884 7C 00 F8 00 */ cmpw r0, r31 +/* 8026D928 0026A888 40 81 FF A4 */ ble lbl_8026D8CC +lbl_8026D92C: +/* 8026D92C 0026A88C 3A 16 00 01 */ addi r16, r22, 1 +/* 8026D930 0026A890 38 60 00 98 */ li r3, 0x98 +/* 8026D934 0026A894 38 80 00 00 */ li r4, 0 +/* 8026D938 0026A898 56 05 0C 3C */ rlwinm r5, r16, 1, 0x10, 0x1e +/* 8026D93C 0026A89C 48 09 AC 49 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026D940 0026A8A0 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026D944 0026A8A4 7C 00 07 74 */ extsb r0, r0 +/* 8026D948 0026A8A8 2C 00 00 03 */ cmpwi r0, 3 +/* 8026D94C 0026A8AC 41 82 01 10 */ beq lbl_8026DA5C +/* 8026D950 0026A8B0 40 80 02 74 */ bge lbl_8026DBC4 +/* 8026D954 0026A8B4 2C 00 00 02 */ cmpwi r0, 2 +/* 8026D958 0026A8B8 40 80 00 08 */ bge lbl_8026D960 +/* 8026D95C 0026A8BC 48 00 02 68 */ b lbl_8026DBC4 +lbl_8026D960: +/* 8026D960 0026A8C0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026D964 0026A8C4 FC 40 F0 90 */ fmr f2, f30 +/* 8026D968 0026A8C8 7E E4 BB 78 */ mr r4, r23 +/* 8026D96C 0026A8CC 7E 06 83 78 */ mr r6, r16 +/* 8026D970 0026A8D0 1C A0 01 68 */ mulli r5, r0, 0x168 +/* 8026D974 0026A8D4 54 00 18 38 */ slwi r0, r0, 3 +/* 8026D978 0026A8D8 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026D97C 0026A8DC 7C B7 2A 14 */ add r5, r23, r5 +/* 8026D980 0026A8E0 7E 09 03 A6 */ mtctr r16 +/* 8026D984 0026A8E4 2C 10 00 00 */ cmpwi r16, 0 +/* 8026D988 0026A8E8 40 81 02 3C */ ble lbl_8026DBC4 +lbl_8026D98C: +/* 8026D98C 0026A8EC C0 04 00 00 */ lfs f0, 0(r4) +/* 8026D990 0026A8F0 39 40 00 FF */ li r10, 0xff +/* 8026D994 0026A8F4 38 C6 FF FF */ addi r6, r6, -1 +/* 8026D998 0026A8F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026D99C 0026A8FC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026D9A0 0026A900 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026D9A4 0026A904 89 24 00 06 */ lbz r9, 6(r4) +/* 8026D9A8 0026A908 89 04 00 05 */ lbz r8, 5(r4) +/* 8026D9AC 0026A90C 88 E4 00 04 */ lbz r7, 4(r4) +/* 8026D9B0 0026A910 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026D9B4 0026A914 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026D9B8 0026A918 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026D9BC 0026A91C 89 64 00 07 */ lbz r11, 7(r4) +/* 8026D9C0 0026A920 7C 84 02 14 */ add r4, r4, r0 +/* 8026D9C4 0026A924 88 F5 00 36 */ lbz r7, 0x36(r21) +/* 8026D9C8 0026A928 89 15 00 35 */ lbz r8, 0x35(r21) +/* 8026D9CC 0026A92C 7D 69 3E 30 */ sraw r9, r11, r7 +/* 8026D9D0 0026A930 88 F5 00 34 */ lbz r7, 0x34(r21) +/* 8026D9D4 0026A934 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026D9D8 0026A938 7D 67 3E 30 */ sraw r7, r11, r7 +/* 8026D9DC 0026A93C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026D9E0 0026A940 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026D9E4 0026A944 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026D9E8 0026A948 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026D9EC 0026A94C C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026D9F0 0026A950 C0 25 00 00 */ lfs f1, 0(r5) +/* 8026D9F4 0026A954 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8026D9F8 0026A958 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026D9FC 0026A95C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DA00 0026A960 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026DA04 0026A964 89 25 00 06 */ lbz r9, 6(r5) +/* 8026DA08 0026A968 89 05 00 05 */ lbz r8, 5(r5) +/* 8026DA0C 0026A96C 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026DA10 0026A970 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026DA14 0026A974 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DA18 0026A978 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DA1C 0026A97C 89 65 00 07 */ lbz r11, 7(r5) +/* 8026DA20 0026A980 7C A5 02 14 */ add r5, r5, r0 +/* 8026DA24 0026A984 88 F5 00 36 */ lbz r7, 0x36(r21) +/* 8026DA28 0026A988 89 15 00 35 */ lbz r8, 0x35(r21) +/* 8026DA2C 0026A98C 7D 69 3E 30 */ sraw r9, r11, r7 +/* 8026DA30 0026A990 88 F5 00 34 */ lbz r7, 0x34(r21) +/* 8026DA34 0026A994 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026DA38 0026A998 7D 67 3E 30 */ sraw r7, r11, r7 +/* 8026DA3C 0026A99C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026DA40 0026A9A0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DA44 0026A9A4 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DA48 0026A9A8 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DA4C 0026A9AC C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DA50 0026A9B0 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026DA54 0026A9B4 42 00 FF 38 */ bdnz lbl_8026D98C +/* 8026DA58 0026A9B8 48 00 01 6C */ b lbl_8026DBC4 +lbl_8026DA5C: +/* 8026DA5C 0026A9BC 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +/* 8026DA60 0026A9C0 FC 40 F0 90 */ fmr f2, f30 +/* 8026DA64 0026A9C4 7E E5 BB 78 */ mr r5, r23 +/* 8026DA68 0026A9C8 7E 07 83 78 */ mr r7, r16 +/* 8026DA6C 0026A9CC 1C 03 01 68 */ mulli r0, r3, 0x168 +/* 8026DA70 0026A9D0 54 64 18 38 */ slwi r4, r3, 3 +/* 8026DA74 0026A9D4 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026DA78 0026A9D8 7C D7 02 14 */ add r6, r23, r0 +/* 8026DA7C 0026A9DC 7E 09 03 A6 */ mtctr r16 +/* 8026DA80 0026A9E0 2C 10 00 00 */ cmpwi r16, 0 +/* 8026DA84 0026A9E4 40 81 01 40 */ ble lbl_8026DBC4 +lbl_8026DA88: +/* 8026DA88 0026A9E8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026DA8C 0026A9EC 38 00 00 FF */ li r0, 0xff +/* 8026DA90 0026A9F0 38 E7 FF FF */ addi r7, r7, -1 +/* 8026DA94 0026A9F4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026DA98 0026A9F8 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026DA9C 0026A9FC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DAA0 0026AA00 89 45 00 06 */ lbz r10, 6(r5) +/* 8026DAA4 0026AA04 89 25 00 05 */ lbz r9, 5(r5) +/* 8026DAA8 0026AA08 89 05 00 04 */ lbz r8, 4(r5) +/* 8026DAAC 0026AA0C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DAB0 0026AA10 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DAB4 0026AA14 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DAB8 0026AA18 89 25 00 05 */ lbz r9, 5(r5) +/* 8026DABC 0026AA1C 89 45 00 06 */ lbz r10, 6(r5) +/* 8026DAC0 0026AA20 89 05 00 04 */ lbz r8, 4(r5) +/* 8026DAC4 0026AA24 7D 29 00 D0 */ neg r9, r9 +/* 8026DAC8 0026AA28 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DACC 0026AA2C 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DAD0 0026AA30 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DAD4 0026AA34 89 25 00 04 */ lbz r9, 4(r5) +/* 8026DAD8 0026AA38 89 45 00 05 */ lbz r10, 5(r5) +/* 8026DADC 0026AA3C 89 05 00 06 */ lbz r8, 6(r5) +/* 8026DAE0 0026AA40 7D 29 00 D0 */ neg r9, r9 +/* 8026DAE4 0026AA44 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DAE8 0026AA48 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DAEC 0026AA4C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DAF0 0026AA50 89 65 00 07 */ lbz r11, 7(r5) +/* 8026DAF4 0026AA54 7C A5 22 14 */ add r5, r5, r4 +/* 8026DAF8 0026AA58 89 15 00 36 */ lbz r8, 0x36(r21) +/* 8026DAFC 0026AA5C 89 35 00 35 */ lbz r9, 0x35(r21) +/* 8026DB00 0026AA60 7D 6A 46 30 */ sraw r10, r11, r8 +/* 8026DB04 0026AA64 89 15 00 34 */ lbz r8, 0x34(r21) +/* 8026DB08 0026AA68 7D 69 4E 30 */ sraw r9, r11, r9 +/* 8026DB0C 0026AA6C 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026DB10 0026AA70 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB14 0026AA74 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB18 0026AA78 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB1C 0026AA7C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026DB20 0026AA80 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DB24 0026AA84 C0 26 00 00 */ lfs f1, 0(r6) +/* 8026DB28 0026AA88 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8026DB2C 0026AA8C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026DB30 0026AA90 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DB34 0026AA94 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026DB38 0026AA98 89 46 00 06 */ lbz r10, 6(r6) +/* 8026DB3C 0026AA9C 89 26 00 05 */ lbz r9, 5(r6) +/* 8026DB40 0026AAA0 89 06 00 04 */ lbz r8, 4(r6) +/* 8026DB44 0026AAA4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB48 0026AAA8 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB4C 0026AAAC 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB50 0026AAB0 89 26 00 05 */ lbz r9, 5(r6) +/* 8026DB54 0026AAB4 89 46 00 06 */ lbz r10, 6(r6) +/* 8026DB58 0026AAB8 89 06 00 04 */ lbz r8, 4(r6) +/* 8026DB5C 0026AABC 7D 29 00 D0 */ neg r9, r9 +/* 8026DB60 0026AAC0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB64 0026AAC4 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB68 0026AAC8 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB6C 0026AACC 89 26 00 04 */ lbz r9, 4(r6) +/* 8026DB70 0026AAD0 89 46 00 05 */ lbz r10, 5(r6) +/* 8026DB74 0026AAD4 89 06 00 06 */ lbz r8, 6(r6) +/* 8026DB78 0026AAD8 7D 29 00 D0 */ neg r9, r9 +/* 8026DB7C 0026AADC 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB80 0026AAE0 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB84 0026AAE4 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB88 0026AAE8 89 66 00 07 */ lbz r11, 7(r6) +/* 8026DB8C 0026AAEC 7C C6 22 14 */ add r6, r6, r4 +/* 8026DB90 0026AAF0 89 15 00 36 */ lbz r8, 0x36(r21) +/* 8026DB94 0026AAF4 89 35 00 35 */ lbz r9, 0x35(r21) +/* 8026DB98 0026AAF8 7D 6A 46 30 */ sraw r10, r11, r8 +/* 8026DB9C 0026AAFC 89 15 00 34 */ lbz r8, 0x34(r21) +/* 8026DBA0 0026AB00 7D 69 4E 30 */ sraw r9, r11, r9 +/* 8026DBA4 0026AB04 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026DBA8 0026AB08 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DBAC 0026AB0C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DBB0 0026AB10 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DBB4 0026AB14 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026DBB8 0026AB18 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DBBC 0026AB1C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026DBC0 0026AB20 42 00 FE C8 */ bdnz lbl_8026DA88 +lbl_8026DBC4: +/* 8026DBC4 0026AB24 48 09 A9 BD */ bl End__3CGXFv +/* 8026DBC8 0026AB28 48 00 11 2C */ b lbl_8026ECF4 +lbl_8026DBCC: +/* 8026DBCC 0026AB2C 54 C5 04 3E */ clrlwi r5, r6, 0x10 +/* 8026DBD0 0026AB30 38 60 00 A0 */ li r3, 0xa0 +/* 8026DBD4 0026AB34 38 80 00 00 */ li r4, 0 +/* 8026DBD8 0026AB38 48 09 A9 AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026DBDC 0026AB3C 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026DBE0 0026AB40 7C 00 07 74 */ extsb r0, r0 +/* 8026DBE4 0026AB44 2C 00 00 02 */ cmpwi r0, 2 +/* 8026DBE8 0026AB48 41 82 09 04 */ beq lbl_8026E4EC +/* 8026DBEC 0026AB4C 40 80 00 14 */ bge lbl_8026DC00 +/* 8026DBF0 0026AB50 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DBF4 0026AB54 41 82 00 18 */ beq lbl_8026DC0C +/* 8026DBF8 0026AB58 40 80 05 18 */ bge lbl_8026E110 +/* 8026DBFC 0026AB5C 48 00 10 F4 */ b lbl_8026ECF0 +lbl_8026DC00: +/* 8026DC00 0026AB60 2C 00 00 04 */ cmpwi r0, 4 +/* 8026DC04 0026AB64 40 80 10 EC */ bge lbl_8026ECF0 +/* 8026DC08 0026AB68 48 00 0D BC */ b lbl_8026E9C4 +lbl_8026DC0C: +/* 8026DC0C 0026AB6C EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026DC10 0026AB70 7C 5E BC 2E */ lfsx f2, r30, r23 +/* 8026DC14 0026AB74 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026DC18 0026AB78 FC 20 F0 90 */ fmr f1, f30 +/* 8026DC1C 0026AB7C 28 13 00 00 */ cmplwi r19, 0 +/* 8026DC20 0026AB80 7C B7 EA 14 */ add r5, r23, r29 +/* 8026DC24 0026AB84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DC28 0026AB88 38 00 00 01 */ li r0, 1 +/* 8026DC2C 0026AB8C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026DC30 0026AB90 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026DC34 0026AB94 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DC38 0026AB98 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026DC3C 0026AB9C 41 82 00 08 */ beq lbl_8026DC44 +/* 8026DC40 0026ABA0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026DC44: +/* 8026DC44 0026ABA4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DC48 0026ABA8 7C 03 03 78 */ mr r3, r0 +/* 8026DC4C 0026ABAC 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DC50 0026ABB0 40 81 01 04 */ ble lbl_8026DD54 +/* 8026DC54 0026ABB4 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026DC58 0026ABB8 7C 09 03 A6 */ mtctr r0 +/* 8026DC5C 0026ABBC 41 82 00 D4 */ beq lbl_8026DD30 +lbl_8026DC60: +/* 8026DC60 0026ABC0 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DC64 0026ABC4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DC68 0026ABC8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DC6C 0026ABCC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DC70 0026ABD0 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DC74 0026ABD4 C0 65 00 08 */ lfs f3, 8(r5) +/* 8026DC78 0026ABD8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DC7C 0026ABDC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DC80 0026ABE0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DC84 0026ABE4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DC88 0026ABE8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DC8C 0026ABEC C0 65 00 10 */ lfs f3, 0x10(r5) +/* 8026DC90 0026ABF0 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DC94 0026ABF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DC98 0026ABF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DC9C 0026ABFC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCA0 0026AC00 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCA4 0026AC04 C0 65 00 18 */ lfs f3, 0x18(r5) +/* 8026DCA8 0026AC08 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCAC 0026AC0C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCB0 0026AC10 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCB4 0026AC14 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCB8 0026AC18 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCBC 0026AC1C C0 65 00 20 */ lfs f3, 0x20(r5) +/* 8026DCC0 0026AC20 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCC4 0026AC24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCC8 0026AC28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCCC 0026AC2C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCD0 0026AC30 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCD4 0026AC34 C0 65 00 28 */ lfs f3, 0x28(r5) +/* 8026DCD8 0026AC38 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCDC 0026AC3C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCE0 0026AC40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCE4 0026AC44 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCE8 0026AC48 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCEC 0026AC4C C0 65 00 30 */ lfs f3, 0x30(r5) +/* 8026DCF0 0026AC50 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCF4 0026AC54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCF8 0026AC58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCFC 0026AC5C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DD00 0026AC60 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DD04 0026AC64 C0 65 00 38 */ lfs f3, 0x38(r5) +/* 8026DD08 0026AC68 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8026DD0C 0026AC6C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DD10 0026AC70 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DD14 0026AC74 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DD18 0026AC78 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DD1C 0026AC7C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DD20 0026AC80 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DD24 0026AC84 42 00 FF 3C */ bdnz lbl_8026DC60 +/* 8026DD28 0026AC88 70 63 00 07 */ andi. r3, r3, 7 +/* 8026DD2C 0026AC8C 41 82 00 28 */ beq lbl_8026DD54 +lbl_8026DD30: +/* 8026DD30 0026AC90 7C 69 03 A6 */ mtctr r3 +lbl_8026DD34: +/* 8026DD34 0026AC94 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DD38 0026AC98 38 A5 00 08 */ addi r5, r5, 8 +/* 8026DD3C 0026AC9C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DD40 0026ACA0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DD44 0026ACA4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DD48 0026ACA8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DD4C 0026ACAC EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DD50 0026ACB0 42 00 FF E4 */ bdnz lbl_8026DD34 +lbl_8026DD54: +/* 8026DD54 0026ACB4 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DD58 0026ACB8 28 12 00 00 */ cmplwi r18, 0 +/* 8026DD5C 0026ACBC 7C B7 E2 14 */ add r5, r23, r28 +/* 8026DD60 0026ACC0 38 00 00 01 */ li r0, 1 +/* 8026DD64 0026ACC4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026DD68 0026ACC8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026DD6C 0026ACCC 41 82 00 08 */ beq lbl_8026DD74 +/* 8026DD70 0026ACD0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026DD74: +/* 8026DD74 0026ACD4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DD78 0026ACD8 7C 03 03 78 */ mr r3, r0 +/* 8026DD7C 0026ACDC 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DD80 0026ACE0 40 81 01 04 */ ble lbl_8026DE84 +/* 8026DD84 0026ACE4 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026DD88 0026ACE8 7C 09 03 A6 */ mtctr r0 +/* 8026DD8C 0026ACEC 41 82 00 D4 */ beq lbl_8026DE60 +lbl_8026DD90: +/* 8026DD90 0026ACF0 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DD94 0026ACF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DD98 0026ACF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DD9C 0026ACFC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDA0 0026AD00 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDA4 0026AD04 C0 65 FE 98 */ lfs f3, -0x168(r5) +/* 8026DDA8 0026AD08 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDAC 0026AD0C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDB0 0026AD10 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDB4 0026AD14 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDB8 0026AD18 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDBC 0026AD1C C0 65 FD 30 */ lfs f3, -0x2d0(r5) +/* 8026DDC0 0026AD20 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDC4 0026AD24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDC8 0026AD28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDCC 0026AD2C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDD0 0026AD30 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDD4 0026AD34 C0 65 FB C8 */ lfs f3, -0x438(r5) +/* 8026DDD8 0026AD38 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDDC 0026AD3C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDE0 0026AD40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDE4 0026AD44 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDE8 0026AD48 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDEC 0026AD4C C0 65 FA 60 */ lfs f3, -0x5a0(r5) +/* 8026DDF0 0026AD50 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDF4 0026AD54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDF8 0026AD58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDFC 0026AD5C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE00 0026AD60 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE04 0026AD64 C0 65 F8 F8 */ lfs f3, -0x708(r5) +/* 8026DE08 0026AD68 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE0C 0026AD6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE10 0026AD70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE14 0026AD74 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE18 0026AD78 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE1C 0026AD7C C0 65 F7 90 */ lfs f3, -0x870(r5) +/* 8026DE20 0026AD80 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE24 0026AD84 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE28 0026AD88 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE2C 0026AD8C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE30 0026AD90 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE34 0026AD94 C0 65 F6 28 */ lfs f3, -0x9d8(r5) +/* 8026DE38 0026AD98 38 A5 F4 C0 */ addi r5, r5, -2880 +/* 8026DE3C 0026AD9C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE40 0026ADA0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE44 0026ADA4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE48 0026ADA8 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE4C 0026ADAC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE50 0026ADB0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE54 0026ADB4 42 00 FF 3C */ bdnz lbl_8026DD90 +/* 8026DE58 0026ADB8 70 63 00 07 */ andi. r3, r3, 7 +/* 8026DE5C 0026ADBC 41 82 00 28 */ beq lbl_8026DE84 +lbl_8026DE60: +/* 8026DE60 0026ADC0 7C 69 03 A6 */ mtctr r3 +lbl_8026DE64: +/* 8026DE64 0026ADC4 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DE68 0026ADC8 38 A5 FE 98 */ addi r5, r5, -360 +/* 8026DE6C 0026ADCC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE70 0026ADD0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE74 0026ADD4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE78 0026ADD8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE7C 0026ADDC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE80 0026ADE0 42 00 FF E4 */ bdnz lbl_8026DE64 +lbl_8026DE84: +/* 8026DE84 0026ADE4 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DE88 0026ADE8 28 11 00 00 */ cmplwi r17, 0 +/* 8026DE8C 0026ADEC 7C B7 DA 14 */ add r5, r23, r27 +/* 8026DE90 0026ADF0 38 00 00 01 */ li r0, 1 +/* 8026DE94 0026ADF4 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026DE98 0026ADF8 41 82 00 08 */ beq lbl_8026DEA0 +/* 8026DE9C 0026ADFC 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026DEA0: +/* 8026DEA0 0026AE00 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DEA4 0026AE04 7C 03 03 78 */ mr r3, r0 +/* 8026DEA8 0026AE08 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DEAC 0026AE0C 40 81 01 04 */ ble lbl_8026DFB0 +/* 8026DEB0 0026AE10 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026DEB4 0026AE14 7C 09 03 A6 */ mtctr r0 +/* 8026DEB8 0026AE18 41 82 00 D4 */ beq lbl_8026DF8C +lbl_8026DEBC: +/* 8026DEBC 0026AE1C C0 45 00 00 */ lfs f2, 0(r5) +/* 8026DEC0 0026AE20 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DEC4 0026AE24 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DEC8 0026AE28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DECC 0026AE2C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DED0 0026AE30 C0 45 FF F8 */ lfs f2, -8(r5) +/* 8026DED4 0026AE34 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DED8 0026AE38 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DEDC 0026AE3C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DEE0 0026AE40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DEE4 0026AE44 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DEE8 0026AE48 C0 45 FF F0 */ lfs f2, -0x10(r5) +/* 8026DEEC 0026AE4C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DEF0 0026AE50 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DEF4 0026AE54 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DEF8 0026AE58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DEFC 0026AE5C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF00 0026AE60 C0 45 FF E8 */ lfs f2, -0x18(r5) +/* 8026DF04 0026AE64 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF08 0026AE68 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF0C 0026AE6C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF10 0026AE70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF14 0026AE74 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF18 0026AE78 C0 45 FF E0 */ lfs f2, -0x20(r5) +/* 8026DF1C 0026AE7C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF20 0026AE80 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF24 0026AE84 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF28 0026AE88 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF2C 0026AE8C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF30 0026AE90 C0 45 FF D8 */ lfs f2, -0x28(r5) +/* 8026DF34 0026AE94 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF38 0026AE98 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF3C 0026AE9C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF40 0026AEA0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF44 0026AEA4 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF48 0026AEA8 C0 45 FF D0 */ lfs f2, -0x30(r5) +/* 8026DF4C 0026AEAC EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF50 0026AEB0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF54 0026AEB4 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF58 0026AEB8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF5C 0026AEBC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF60 0026AEC0 C0 45 FF C8 */ lfs f2, -0x38(r5) +/* 8026DF64 0026AEC4 38 A5 FF C0 */ addi r5, r5, -64 +/* 8026DF68 0026AEC8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF6C 0026AECC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF70 0026AED0 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF74 0026AED4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF78 0026AED8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF7C 0026AEDC EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF80 0026AEE0 42 00 FF 3C */ bdnz lbl_8026DEBC +/* 8026DF84 0026AEE4 70 63 00 07 */ andi. r3, r3, 7 +/* 8026DF88 0026AEE8 41 82 00 28 */ beq lbl_8026DFB0 +lbl_8026DF8C: +/* 8026DF8C 0026AEEC 7C 69 03 A6 */ mtctr r3 +lbl_8026DF90: +/* 8026DF90 0026AEF0 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026DF94 0026AEF4 38 A5 FF F8 */ addi r5, r5, -8 +/* 8026DF98 0026AEF8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF9C 0026AEFC D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DFA0 0026AF00 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DFA4 0026AF04 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DFA8 0026AF08 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DFAC 0026AF0C 42 00 FF E4 */ bdnz lbl_8026DF90 +lbl_8026DFB0: +/* 8026DFB0 0026AF10 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 8026DFB4 0026AF14 FC 20 E8 90 */ fmr f1, f29 +/* 8026DFB8 0026AF18 7E E5 BB 78 */ mr r5, r23 +/* 8026DFBC 0026AF1C 41 82 01 1C */ beq lbl_8026E0D8 +/* 8026DFC0 0026AF20 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +/* 8026DFC4 0026AF24 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DFC8 0026AF28 2C 03 00 00 */ cmpwi r3, 0 +/* 8026DFCC 0026AF2C 38 63 00 01 */ addi r3, r3, 1 +/* 8026DFD0 0026AF30 41 80 0D 20 */ blt lbl_8026ECF0 +/* 8026DFD4 0026AF34 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 8026DFD8 0026AF38 7C 09 03 A6 */ mtctr r0 +/* 8026DFDC 0026AF3C 41 82 00 D4 */ beq lbl_8026E0B0 +lbl_8026DFE0: +/* 8026DFE0 0026AF40 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026DFE4 0026AF44 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026DFE8 0026AF48 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DFEC 0026AF4C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DFF0 0026AF50 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DFF4 0026AF54 C0 45 01 68 */ lfs f2, 0x168(r5) +/* 8026DFF8 0026AF58 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DFFC 0026AF5C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E000 0026AF60 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E004 0026AF64 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E008 0026AF68 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E00C 0026AF6C C0 45 02 D0 */ lfs f2, 0x2d0(r5) +/* 8026E010 0026AF70 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E014 0026AF74 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E018 0026AF78 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E01C 0026AF7C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E020 0026AF80 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E024 0026AF84 C0 45 04 38 */ lfs f2, 0x438(r5) +/* 8026E028 0026AF88 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E02C 0026AF8C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E030 0026AF90 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E034 0026AF94 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E038 0026AF98 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E03C 0026AF9C C0 45 05 A0 */ lfs f2, 0x5a0(r5) +/* 8026E040 0026AFA0 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E044 0026AFA4 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E048 0026AFA8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E04C 0026AFAC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E050 0026AFB0 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E054 0026AFB4 C0 45 07 08 */ lfs f2, 0x708(r5) +/* 8026E058 0026AFB8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E05C 0026AFBC D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E060 0026AFC0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E064 0026AFC4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E068 0026AFC8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E06C 0026AFCC C0 45 08 70 */ lfs f2, 0x870(r5) +/* 8026E070 0026AFD0 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E074 0026AFD4 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E078 0026AFD8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E07C 0026AFDC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E080 0026AFE0 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E084 0026AFE4 C0 45 09 D8 */ lfs f2, 0x9d8(r5) +/* 8026E088 0026AFE8 38 A5 0B 40 */ addi r5, r5, 0xb40 +/* 8026E08C 0026AFEC EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E090 0026AFF0 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E094 0026AFF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E098 0026AFF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E09C 0026AFFC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E0A0 0026B000 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E0A4 0026B004 42 00 FF 3C */ bdnz lbl_8026DFE0 +/* 8026E0A8 0026B008 70 63 00 07 */ andi. r3, r3, 7 +/* 8026E0AC 0026B00C 41 82 0C 44 */ beq lbl_8026ECF0 +lbl_8026E0B0: +/* 8026E0B0 0026B010 7C 69 03 A6 */ mtctr r3 +lbl_8026E0B4: +/* 8026E0B4 0026B014 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026E0B8 0026B018 38 A5 01 68 */ addi r5, r5, 0x168 +/* 8026E0BC 0026B01C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E0C0 0026B020 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E0C4 0026B024 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E0C8 0026B028 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E0CC 0026B02C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E0D0 0026B030 42 00 FF E4 */ bdnz lbl_8026E0B4 +/* 8026E0D4 0026B034 48 00 0C 1C */ b lbl_8026ECF0 +lbl_8026E0D8: +/* 8026E0D8 0026B038 C0 17 00 00 */ lfs f0, 0(r23) +/* 8026E0DC 0026B03C 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026E0E0 0026B040 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026E0E4 0026B044 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026E0E8 0026B048 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E0EC 0026B04C 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026E0F0 0026B050 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E0F4 0026B054 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026E0F8 0026B058 EC 1D 00 2A */ fadds f0, f29, f0 +/* 8026E0FC 0026B05C 7C 37 04 2E */ lfsx f1, r23, r0 +/* 8026E100 0026B060 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026E104 0026B064 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E108 0026B068 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E10C 0026B06C 48 00 0B E4 */ b lbl_8026ECF0 +lbl_8026E110: +/* 8026E110 0026B070 7C BE BA 14 */ add r5, r30, r23 +/* 8026E114 0026B074 EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026E118 0026B078 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026E11C 0026B07C 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026E120 0026B080 38 80 00 FF */ li r4, 0xff +/* 8026E124 0026B084 FC 20 F0 90 */ fmr f1, f30 +/* 8026E128 0026B088 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026E12C 0026B08C 28 13 00 00 */ cmplwi r19, 0 +/* 8026E130 0026B090 7C 77 EA 14 */ add r3, r23, r29 +/* 8026E134 0026B094 D3 88 80 00 */ stfs f28, 0xCC008000@l(r8) +/* 8026E138 0026B098 38 00 00 01 */ li r0, 1 +/* 8026E13C 0026B09C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E140 0026B0A0 89 25 00 07 */ lbz r9, 7(r5) +/* 8026E144 0026B0A4 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E148 0026B0A8 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E14C 0026B0AC 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E150 0026B0B0 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E154 0026B0B4 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E158 0026B0B8 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E15C 0026B0BC 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E160 0026B0C0 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E164 0026B0C4 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E168 0026B0C8 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026E16C 0026B0CC C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E170 0026B0D0 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E174 0026B0D4 41 82 00 08 */ beq lbl_8026E17C +/* 8026E178 0026B0D8 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E17C: +/* 8026E17C 0026B0DC 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E180 0026B0E0 7C 04 03 78 */ mr r4, r0 +/* 8026E184 0026B0E4 3D 00 CC 01 */ lis r8, 0xcc01 +/* 8026E188 0026B0E8 38 A0 00 FF */ li r5, 0xff +/* 8026E18C 0026B0EC 40 81 00 F8 */ ble lbl_8026E284 +/* 8026E190 0026B0F0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E194 0026B0F4 7C 09 03 A6 */ mtctr r0 +/* 8026E198 0026B0F8 41 82 00 9C */ beq lbl_8026E234 +lbl_8026E19C: +/* 8026E19C 0026B0FC C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E1A0 0026B100 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E1A4 0026B104 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E1A8 0026B108 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E1AC 0026B10C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E1B0 0026B110 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E1B4 0026B114 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E1B8 0026B118 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026E1BC 0026B11C 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E1C0 0026B120 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E1C4 0026B124 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E1C8 0026B128 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E1CC 0026B12C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E1D0 0026B130 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E1D4 0026B134 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E1D8 0026B138 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E1DC 0026B13C C0 63 00 08 */ lfs f3, 8(r3) +/* 8026E1E0 0026B140 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E1E4 0026B144 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E1E8 0026B148 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E1EC 0026B14C D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E1F0 0026B150 89 23 00 0F */ lbz r9, 0xf(r3) +/* 8026E1F4 0026B154 38 63 00 10 */ addi r3, r3, 0x10 +/* 8026E1F8 0026B158 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E1FC 0026B15C 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E200 0026B160 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026E204 0026B164 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E208 0026B168 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E20C 0026B16C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E210 0026B170 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E214 0026B174 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E218 0026B178 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E21C 0026B17C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E220 0026B180 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E224 0026B184 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E228 0026B188 42 00 FF 74 */ bdnz lbl_8026E19C +/* 8026E22C 0026B18C 70 84 00 01 */ andi. r4, r4, 1 +/* 8026E230 0026B190 41 82 00 54 */ beq lbl_8026E284 +lbl_8026E234: +/* 8026E234 0026B194 7C 89 03 A6 */ mtctr r4 +lbl_8026E238: +/* 8026E238 0026B198 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E23C 0026B19C D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E240 0026B1A0 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E244 0026B1A4 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E248 0026B1A8 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E24C 0026B1AC 38 63 00 08 */ addi r3, r3, 8 +/* 8026E250 0026B1B0 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E254 0026B1B4 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E258 0026B1B8 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026E25C 0026B1BC 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E260 0026B1C0 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E264 0026B1C4 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E268 0026B1C8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E26C 0026B1CC 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E270 0026B1D0 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E274 0026B1D4 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E278 0026B1D8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E27C 0026B1DC EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E280 0026B1E0 42 00 FF B8 */ bdnz lbl_8026E238 +lbl_8026E284: +/* 8026E284 0026B1E4 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E288 0026B1E8 28 12 00 00 */ cmplwi r18, 0 +/* 8026E28C 0026B1EC 7D 17 E2 14 */ add r8, r23, r28 +/* 8026E290 0026B1F0 38 00 00 01 */ li r0, 1 +/* 8026E294 0026B1F4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E298 0026B1F8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E29C 0026B1FC 41 82 00 08 */ beq lbl_8026E2A4 +/* 8026E2A0 0026B200 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E2A4: +/* 8026E2A4 0026B204 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E2A8 0026B208 7C 03 03 78 */ mr r3, r0 +/* 8026E2AC 0026B20C 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026E2B0 0026B210 38 80 00 FF */ li r4, 0xff +/* 8026E2B4 0026B214 40 81 00 F8 */ ble lbl_8026E3AC +/* 8026E2B8 0026B218 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E2BC 0026B21C 7C 09 03 A6 */ mtctr r0 +/* 8026E2C0 0026B220 41 82 00 9C */ beq lbl_8026E35C +lbl_8026E2C4: +/* 8026E2C4 0026B224 C0 68 00 00 */ lfs f3, 0(r8) +/* 8026E2C8 0026B228 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E2CC 0026B22C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E2D0 0026B230 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026E2D4 0026B234 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E2D8 0026B238 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E2DC 0026B23C 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E2E0 0026B240 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E2E4 0026B244 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E2E8 0026B248 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E2EC 0026B24C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E2F0 0026B250 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E2F4 0026B254 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E2F8 0026B258 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E2FC 0026B25C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E300 0026B260 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E304 0026B264 C0 68 FE 98 */ lfs f3, -0x168(r8) +/* 8026E308 0026B268 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E30C 0026B26C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E310 0026B270 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E314 0026B274 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026E318 0026B278 89 28 FE 9F */ lbz r9, -0x161(r8) +/* 8026E31C 0026B27C 39 08 FD 30 */ addi r8, r8, -720 +/* 8026E320 0026B280 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E324 0026B284 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E328 0026B288 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E32C 0026B28C 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E330 0026B290 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E334 0026B294 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E338 0026B298 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E33C 0026B29C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E340 0026B2A0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E344 0026B2A4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E348 0026B2A8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E34C 0026B2AC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E350 0026B2B0 42 00 FF 74 */ bdnz lbl_8026E2C4 +/* 8026E354 0026B2B4 70 63 00 01 */ andi. r3, r3, 1 +/* 8026E358 0026B2B8 41 82 00 54 */ beq lbl_8026E3AC +lbl_8026E35C: +/* 8026E35C 0026B2BC 7C 69 03 A6 */ mtctr r3 +lbl_8026E360: +/* 8026E360 0026B2C0 C0 68 00 00 */ lfs f3, 0(r8) +/* 8026E364 0026B2C4 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E368 0026B2C8 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E36C 0026B2CC D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026E370 0026B2D0 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E374 0026B2D4 39 08 FE 98 */ addi r8, r8, -360 +/* 8026E378 0026B2D8 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E37C 0026B2DC 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E380 0026B2E0 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E384 0026B2E4 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E388 0026B2E8 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E38C 0026B2EC 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E390 0026B2F0 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E394 0026B2F4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E398 0026B2F8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E39C 0026B2FC 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E3A0 0026B300 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E3A4 0026B304 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E3A8 0026B308 42 00 FF B8 */ bdnz lbl_8026E360 +lbl_8026E3AC: +/* 8026E3AC 0026B30C C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E3B0 0026B310 28 11 00 00 */ cmplwi r17, 0 +/* 8026E3B4 0026B314 7D 17 DA 14 */ add r8, r23, r27 +/* 8026E3B8 0026B318 38 00 00 01 */ li r0, 1 +/* 8026E3BC 0026B31C EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E3C0 0026B320 41 82 00 08 */ beq lbl_8026E3C8 +/* 8026E3C4 0026B324 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E3C8: +/* 8026E3C8 0026B328 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E3CC 0026B32C 7C 03 03 78 */ mr r3, r0 +/* 8026E3D0 0026B330 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026E3D4 0026B334 38 80 00 FF */ li r4, 0xff +/* 8026E3D8 0026B338 40 81 00 F8 */ ble lbl_8026E4D0 +/* 8026E3DC 0026B33C 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E3E0 0026B340 7C 09 03 A6 */ mtctr r0 +/* 8026E3E4 0026B344 41 82 00 9C */ beq lbl_8026E480 +lbl_8026E3E8: +/* 8026E3E8 0026B348 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E3EC 0026B34C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E3F0 0026B350 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E3F4 0026B354 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E3F8 0026B358 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E3FC 0026B35C 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E400 0026B360 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E404 0026B364 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E408 0026B368 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E40C 0026B36C 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E410 0026B370 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E414 0026B374 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E418 0026B378 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E41C 0026B37C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E420 0026B380 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E424 0026B384 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E428 0026B388 C0 48 FF F8 */ lfs f2, -8(r8) +/* 8026E42C 0026B38C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E430 0026B390 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E434 0026B394 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E438 0026B398 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E43C 0026B39C 89 28 FF FF */ lbz r9, -1(r8) +/* 8026E440 0026B3A0 39 08 FF F0 */ addi r8, r8, -16 +/* 8026E444 0026B3A4 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E448 0026B3A8 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E44C 0026B3AC 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E450 0026B3B0 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E454 0026B3B4 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E458 0026B3B8 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E45C 0026B3BC 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E460 0026B3C0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E464 0026B3C4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E468 0026B3C8 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E46C 0026B3CC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E470 0026B3D0 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E474 0026B3D4 42 00 FF 74 */ bdnz lbl_8026E3E8 +/* 8026E478 0026B3D8 70 63 00 01 */ andi. r3, r3, 1 +/* 8026E47C 0026B3DC 41 82 00 54 */ beq lbl_8026E4D0 +lbl_8026E480: +/* 8026E480 0026B3E0 7C 69 03 A6 */ mtctr r3 +lbl_8026E484: +/* 8026E484 0026B3E4 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E488 0026B3E8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E48C 0026B3EC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E490 0026B3F0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E494 0026B3F4 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E498 0026B3F8 39 08 FF F8 */ addi r8, r8, -8 +/* 8026E49C 0026B3FC 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E4A0 0026B400 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E4A4 0026B404 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E4A8 0026B408 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E4AC 0026B40C 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E4B0 0026B410 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E4B4 0026B414 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E4B8 0026B418 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E4BC 0026B41C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E4C0 0026B420 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E4C4 0026B424 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E4C8 0026B428 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E4CC 0026B42C 42 00 FF B8 */ bdnz lbl_8026E484 +lbl_8026E4D0: +/* 8026E4D0 0026B430 FC 20 F0 90 */ fmr f1, f30 +/* 8026E4D4 0026B434 7E E3 BB 78 */ mr r3, r23 +/* 8026E4D8 0026B438 FC 40 E8 90 */ fmr f2, f29 +/* 8026E4DC 0026B43C 7E A4 AB 78 */ mr r4, r21 +/* 8026E4E0 0026B440 7E 05 83 78 */ mr r5, r16 +/* 8026E4E4 0026B444 48 00 0C C9 */ bl sub_8026f1ac +/* 8026E4E8 0026B448 48 00 08 08 */ b lbl_8026ECF0 +lbl_8026E4EC: +/* 8026E4EC 0026B44C 7D 3E BA 14 */ add r9, r30, r23 +/* 8026E4F0 0026B450 EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026E4F4 0026B454 C0 49 00 00 */ lfs f2, 0(r9) +/* 8026E4F8 0026B458 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026E4FC 0026B45C 38 A0 00 FF */ li r5, 0xff +/* 8026E500 0026B460 FC 20 F0 90 */ fmr f1, f30 +/* 8026E504 0026B464 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E508 0026B468 28 13 00 00 */ cmplwi r19, 0 +/* 8026E50C 0026B46C 7C 97 EA 14 */ add r4, r23, r29 +/* 8026E510 0026B470 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026E514 0026B474 38 00 00 01 */ li r0, 1 +/* 8026E518 0026B478 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E51C 0026B47C 89 09 00 06 */ lbz r8, 6(r9) +/* 8026E520 0026B480 88 E9 00 05 */ lbz r7, 5(r9) +/* 8026E524 0026B484 88 C9 00 04 */ lbz r6, 4(r9) +/* 8026E528 0026B488 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E52C 0026B48C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E530 0026B490 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E534 0026B494 89 29 00 07 */ lbz r9, 7(r9) +/* 8026E538 0026B498 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E53C 0026B49C 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E540 0026B4A0 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E544 0026B4A4 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E548 0026B4A8 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E54C 0026B4AC 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E550 0026B4B0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E554 0026B4B4 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E558 0026B4B8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E55C 0026B4BC 98 A3 80 00 */ stb r5, 0xCC008000@l(r3) +/* 8026E560 0026B4C0 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E564 0026B4C4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E568 0026B4C8 41 82 00 08 */ beq lbl_8026E570 +/* 8026E56C 0026B4CC 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E570: +/* 8026E570 0026B4D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E574 0026B4D4 7C 05 03 78 */ mr r5, r0 +/* 8026E578 0026B4D8 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026E57C 0026B4DC 40 81 01 48 */ ble lbl_8026E6C4 +/* 8026E580 0026B4E0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E584 0026B4E4 7C 09 03 A6 */ mtctr r0 +/* 8026E588 0026B4E8 41 82 00 D0 */ beq lbl_8026E658 +lbl_8026E58C: +/* 8026E58C 0026B4EC C0 64 00 00 */ lfs f3, 0(r4) +/* 8026E590 0026B4F0 38 00 00 FF */ li r0, 0xff +/* 8026E594 0026B4F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E598 0026B4F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E59C 0026B4FC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8026E5A0 0026B500 89 04 00 06 */ lbz r8, 6(r4) +/* 8026E5A4 0026B504 88 E4 00 05 */ lbz r7, 5(r4) +/* 8026E5A8 0026B508 88 C4 00 04 */ lbz r6, 4(r4) +/* 8026E5AC 0026B50C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E5B0 0026B510 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E5B4 0026B514 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E5B8 0026B518 89 24 00 07 */ lbz r9, 7(r4) +/* 8026E5BC 0026B51C 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E5C0 0026B520 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E5C4 0026B524 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E5C8 0026B528 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E5CC 0026B52C 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E5D0 0026B530 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E5D4 0026B534 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E5D8 0026B538 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E5DC 0026B53C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E5E0 0026B540 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026E5E4 0026B544 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E5E8 0026B548 C0 64 00 08 */ lfs f3, 8(r4) +/* 8026E5EC 0026B54C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E5F0 0026B550 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E5F4 0026B554 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E5F8 0026B558 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8026E5FC 0026B55C 89 04 00 0E */ lbz r8, 0xe(r4) +/* 8026E600 0026B560 88 E4 00 0D */ lbz r7, 0xd(r4) +/* 8026E604 0026B564 88 C4 00 0C */ lbz r6, 0xc(r4) +/* 8026E608 0026B568 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E60C 0026B56C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E610 0026B570 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E614 0026B574 89 24 00 0F */ lbz r9, 0xf(r4) +/* 8026E618 0026B578 38 84 00 10 */ addi r4, r4, 0x10 +/* 8026E61C 0026B57C 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E620 0026B580 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E624 0026B584 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E628 0026B588 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E62C 0026B58C 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E630 0026B590 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E634 0026B594 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E638 0026B598 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E63C 0026B59C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E640 0026B5A0 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026E644 0026B5A4 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E648 0026B5A8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E64C 0026B5AC 42 00 FF 40 */ bdnz lbl_8026E58C +/* 8026E650 0026B5B0 70 A5 00 01 */ andi. r5, r5, 1 +/* 8026E654 0026B5B4 41 82 00 70 */ beq lbl_8026E6C4 +lbl_8026E658: +/* 8026E658 0026B5B8 7C A9 03 A6 */ mtctr r5 +lbl_8026E65C: +/* 8026E65C 0026B5BC C0 64 00 00 */ lfs f3, 0(r4) +/* 8026E660 0026B5C0 38 00 00 FF */ li r0, 0xff +/* 8026E664 0026B5C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E668 0026B5C8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E66C 0026B5CC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8026E670 0026B5D0 89 04 00 06 */ lbz r8, 6(r4) +/* 8026E674 0026B5D4 88 E4 00 05 */ lbz r7, 5(r4) +/* 8026E678 0026B5D8 88 C4 00 04 */ lbz r6, 4(r4) +/* 8026E67C 0026B5DC 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E680 0026B5E0 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E684 0026B5E4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E688 0026B5E8 89 24 00 07 */ lbz r9, 7(r4) +/* 8026E68C 0026B5EC 38 84 00 08 */ addi r4, r4, 8 +/* 8026E690 0026B5F0 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E694 0026B5F4 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E698 0026B5F8 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E69C 0026B5FC 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E6A0 0026B600 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E6A4 0026B604 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E6A8 0026B608 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E6AC 0026B60C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E6B0 0026B610 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E6B4 0026B614 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026E6B8 0026B618 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E6BC 0026B61C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E6C0 0026B620 42 00 FF 9C */ bdnz lbl_8026E65C +lbl_8026E6C4: +/* 8026E6C4 0026B624 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E6C8 0026B628 28 12 00 00 */ cmplwi r18, 0 +/* 8026E6CC 0026B62C 7C 77 E2 14 */ add r3, r23, r28 +/* 8026E6D0 0026B630 38 00 00 01 */ li r0, 1 +/* 8026E6D4 0026B634 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E6D8 0026B638 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E6DC 0026B63C 41 82 00 08 */ beq lbl_8026E6E4 +/* 8026E6E0 0026B640 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E6E4: +/* 8026E6E4 0026B644 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E6E8 0026B648 7C 04 03 78 */ mr r4, r0 +/* 8026E6EC 0026B64C 3D 00 CC 01 */ lis r8, 0xcc01 +/* 8026E6F0 0026B650 40 81 01 48 */ ble lbl_8026E838 +/* 8026E6F4 0026B654 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E6F8 0026B658 7C 09 03 A6 */ mtctr r0 +/* 8026E6FC 0026B65C 41 82 00 D0 */ beq lbl_8026E7CC +lbl_8026E700: +/* 8026E700 0026B660 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E704 0026B664 38 00 00 FF */ li r0, 0xff +/* 8026E708 0026B668 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E70C 0026B66C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E710 0026B670 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E714 0026B674 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026E718 0026B678 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026E71C 0026B67C 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026E720 0026B680 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E724 0026B684 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E728 0026B688 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E72C 0026B68C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E730 0026B690 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E734 0026B694 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E738 0026B698 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E73C 0026B69C 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E740 0026B6A0 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E744 0026B6A4 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E748 0026B6A8 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E74C 0026B6AC 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E750 0026B6B0 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E754 0026B6B4 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E758 0026B6B8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E75C 0026B6BC C0 63 FE 98 */ lfs f3, -0x168(r3) +/* 8026E760 0026B6C0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E764 0026B6C4 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E768 0026B6C8 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E76C 0026B6CC D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E770 0026B6D0 88 E3 FE 9E */ lbz r7, -0x162(r3) +/* 8026E774 0026B6D4 88 C3 FE 9D */ lbz r6, -0x163(r3) +/* 8026E778 0026B6D8 88 A3 FE 9C */ lbz r5, -0x164(r3) +/* 8026E77C 0026B6DC 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E780 0026B6E0 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E784 0026B6E4 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E788 0026B6E8 89 23 FE 9F */ lbz r9, -0x161(r3) +/* 8026E78C 0026B6EC 38 63 FD 30 */ addi r3, r3, -720 +/* 8026E790 0026B6F0 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E794 0026B6F4 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E798 0026B6F8 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E79C 0026B6FC 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E7A0 0026B700 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E7A4 0026B704 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E7A8 0026B708 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E7AC 0026B70C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E7B0 0026B710 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E7B4 0026B714 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E7B8 0026B718 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E7BC 0026B71C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E7C0 0026B720 42 00 FF 40 */ bdnz lbl_8026E700 +/* 8026E7C4 0026B724 70 84 00 01 */ andi. r4, r4, 1 +/* 8026E7C8 0026B728 41 82 00 70 */ beq lbl_8026E838 +lbl_8026E7CC: +/* 8026E7CC 0026B72C 7C 89 03 A6 */ mtctr r4 +lbl_8026E7D0: +/* 8026E7D0 0026B730 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E7D4 0026B734 38 00 00 FF */ li r0, 0xff +/* 8026E7D8 0026B738 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E7DC 0026B73C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E7E0 0026B740 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E7E4 0026B744 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026E7E8 0026B748 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026E7EC 0026B74C 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026E7F0 0026B750 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E7F4 0026B754 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E7F8 0026B758 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E7FC 0026B75C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E800 0026B760 38 63 FE 98 */ addi r3, r3, -360 +/* 8026E804 0026B764 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E808 0026B768 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E80C 0026B76C 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E810 0026B770 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E814 0026B774 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E818 0026B778 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E81C 0026B77C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E820 0026B780 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E824 0026B784 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E828 0026B788 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E82C 0026B78C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E830 0026B790 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E834 0026B794 42 00 FF 9C */ bdnz lbl_8026E7D0 +lbl_8026E838: +/* 8026E838 0026B798 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E83C 0026B79C 28 11 00 00 */ cmplwi r17, 0 +/* 8026E840 0026B7A0 7D 17 DA 14 */ add r8, r23, r27 +/* 8026E844 0026B7A4 38 00 00 01 */ li r0, 1 +/* 8026E848 0026B7A8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E84C 0026B7AC 41 82 00 08 */ beq lbl_8026E854 +/* 8026E850 0026B7B0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E854: +/* 8026E854 0026B7B4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E858 0026B7B8 7C 03 03 78 */ mr r3, r0 +/* 8026E85C 0026B7BC 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026E860 0026B7C0 40 81 01 48 */ ble lbl_8026E9A8 +/* 8026E864 0026B7C4 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E868 0026B7C8 7C 09 03 A6 */ mtctr r0 +/* 8026E86C 0026B7CC 41 82 00 D0 */ beq lbl_8026E93C +lbl_8026E870: +/* 8026E870 0026B7D0 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E874 0026B7D4 38 00 00 FF */ li r0, 0xff +/* 8026E878 0026B7D8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E87C 0026B7DC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E880 0026B7E0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E884 0026B7E4 88 C8 00 06 */ lbz r6, 6(r8) +/* 8026E888 0026B7E8 88 A8 00 05 */ lbz r5, 5(r8) +/* 8026E88C 0026B7EC 88 88 00 04 */ lbz r4, 4(r8) +/* 8026E890 0026B7F0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E894 0026B7F4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E898 0026B7F8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E89C 0026B7FC 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E8A0 0026B800 88 95 00 36 */ lbz r4, 0x36(r21) +/* 8026E8A4 0026B804 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E8A8 0026B808 7D 26 26 30 */ sraw r6, r9, r4 +/* 8026E8AC 0026B80C 88 95 00 34 */ lbz r4, 0x34(r21) +/* 8026E8B0 0026B810 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E8B4 0026B814 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026E8B8 0026B818 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E8BC 0026B81C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E8C0 0026B820 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E8C4 0026B824 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E8C8 0026B828 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E8CC 0026B82C C0 48 FF F8 */ lfs f2, -8(r8) +/* 8026E8D0 0026B830 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E8D4 0026B834 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E8D8 0026B838 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E8DC 0026B83C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E8E0 0026B840 88 C8 FF FE */ lbz r6, -2(r8) +/* 8026E8E4 0026B844 88 A8 FF FD */ lbz r5, -3(r8) +/* 8026E8E8 0026B848 88 88 FF FC */ lbz r4, -4(r8) +/* 8026E8EC 0026B84C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E8F0 0026B850 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E8F4 0026B854 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E8F8 0026B858 89 28 FF FF */ lbz r9, -1(r8) +/* 8026E8FC 0026B85C 39 08 FF F0 */ addi r8, r8, -16 +/* 8026E900 0026B860 88 95 00 36 */ lbz r4, 0x36(r21) +/* 8026E904 0026B864 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E908 0026B868 7D 26 26 30 */ sraw r6, r9, r4 +/* 8026E90C 0026B86C 88 95 00 34 */ lbz r4, 0x34(r21) +/* 8026E910 0026B870 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E914 0026B874 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026E918 0026B878 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E91C 0026B87C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E920 0026B880 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E924 0026B884 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E928 0026B888 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E92C 0026B88C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E930 0026B890 42 00 FF 40 */ bdnz lbl_8026E870 +/* 8026E934 0026B894 70 63 00 01 */ andi. r3, r3, 1 +/* 8026E938 0026B898 41 82 00 70 */ beq lbl_8026E9A8 +lbl_8026E93C: +/* 8026E93C 0026B89C 7C 69 03 A6 */ mtctr r3 +lbl_8026E940: +/* 8026E940 0026B8A0 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E944 0026B8A4 38 00 00 FF */ li r0, 0xff +/* 8026E948 0026B8A8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E94C 0026B8AC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E950 0026B8B0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E954 0026B8B4 88 C8 00 06 */ lbz r6, 6(r8) +/* 8026E958 0026B8B8 88 A8 00 05 */ lbz r5, 5(r8) +/* 8026E95C 0026B8BC 88 88 00 04 */ lbz r4, 4(r8) +/* 8026E960 0026B8C0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E964 0026B8C4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E968 0026B8C8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E96C 0026B8CC 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E970 0026B8D0 39 08 FF F8 */ addi r8, r8, -8 +/* 8026E974 0026B8D4 88 95 00 36 */ lbz r4, 0x36(r21) +/* 8026E978 0026B8D8 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E97C 0026B8DC 7D 26 26 30 */ sraw r6, r9, r4 +/* 8026E980 0026B8E0 88 95 00 34 */ lbz r4, 0x34(r21) +/* 8026E984 0026B8E4 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E988 0026B8E8 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026E98C 0026B8EC 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E990 0026B8F0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E994 0026B8F4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E998 0026B8F8 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E99C 0026B8FC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E9A0 0026B900 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E9A4 0026B904 42 00 FF 9C */ bdnz lbl_8026E940 +lbl_8026E9A8: +/* 8026E9A8 0026B908 FC 20 F0 90 */ fmr f1, f30 +/* 8026E9AC 0026B90C 7E E3 BB 78 */ mr r3, r23 +/* 8026E9B0 0026B910 FC 40 E8 90 */ fmr f2, f29 +/* 8026E9B4 0026B914 7E A4 AB 78 */ mr r4, r21 +/* 8026E9B8 0026B918 7E 05 83 78 */ mr r5, r16 +/* 8026E9BC 0026B91C 48 00 05 C5 */ bl sub_8026ef80 +/* 8026E9C0 0026B920 48 00 03 30 */ b lbl_8026ECF0 +lbl_8026E9C4: +/* 8026E9C4 0026B924 7C DE BA 14 */ add r6, r30, r23 +/* 8026E9C8 0026B928 EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026E9CC 0026B92C C0 46 00 00 */ lfs f2, 0(r6) +/* 8026E9D0 0026B930 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026E9D4 0026B934 38 00 00 FF */ li r0, 0xff +/* 8026E9D8 0026B938 FC 20 F0 90 */ fmr f1, f30 +/* 8026E9DC 0026B93C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E9E0 0026B940 28 13 00 00 */ cmplwi r19, 0 +/* 8026E9E4 0026B944 7C B7 EA 14 */ add r5, r23, r29 +/* 8026E9E8 0026B948 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026E9EC 0026B94C 38 80 00 01 */ li r4, 1 +/* 8026E9F0 0026B950 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E9F4 0026B954 89 26 00 06 */ lbz r9, 6(r6) +/* 8026E9F8 0026B958 89 06 00 05 */ lbz r8, 5(r6) +/* 8026E9FC 0026B95C 88 E6 00 04 */ lbz r7, 4(r6) +/* 8026EA00 0026B960 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA04 0026B964 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA08 0026B968 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026EA0C 0026B96C 89 06 00 05 */ lbz r8, 5(r6) +/* 8026EA10 0026B970 89 26 00 06 */ lbz r9, 6(r6) +/* 8026EA14 0026B974 88 E6 00 04 */ lbz r7, 4(r6) +/* 8026EA18 0026B978 7D 08 00 D0 */ neg r8, r8 +/* 8026EA1C 0026B97C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA20 0026B980 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026EA24 0026B984 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA28 0026B988 89 06 00 04 */ lbz r8, 4(r6) +/* 8026EA2C 0026B98C 89 26 00 05 */ lbz r9, 5(r6) +/* 8026EA30 0026B990 88 E6 00 06 */ lbz r7, 6(r6) +/* 8026EA34 0026B994 7D 08 00 D0 */ neg r8, r8 +/* 8026EA38 0026B998 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA3C 0026B99C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026EA40 0026B9A0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA44 0026B9A4 89 26 00 07 */ lbz r9, 7(r6) +/* 8026EA48 0026B9A8 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026EA4C 0026B9AC 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026EA50 0026B9B0 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026EA54 0026B9B4 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026EA58 0026B9B8 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026EA5C 0026B9BC 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EA60 0026B9C0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EA64 0026B9C4 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA68 0026B9C8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA6C 0026B9CC 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026EA70 0026B9D0 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026EA74 0026B9D4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026EA78 0026B9D8 41 82 00 08 */ beq lbl_8026EA80 +/* 8026EA7C 0026B9DC 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) +lbl_8026EA80: +/* 8026EA80 0026B9E0 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026EA84 0026B9E4 7C 89 03 A6 */ mtctr r4 +/* 8026EA88 0026B9E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8026EA8C 0026B9EC 40 81 00 A8 */ ble lbl_8026EB34 +lbl_8026EA90: +/* 8026EA90 0026B9F0 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026EA94 0026B9F4 38 00 00 FF */ li r0, 0xff +/* 8026EA98 0026B9F8 38 84 FF FF */ addi r4, r4, -1 +/* 8026EA9C 0026B9FC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026EAA0 0026BA00 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026EAA4 0026BA04 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026EAA8 0026BA08 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EAAC 0026BA0C 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EAB0 0026BA10 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EAB4 0026BA14 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EAB8 0026BA18 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EABC 0026BA1C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EAC0 0026BA20 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EAC4 0026BA24 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EAC8 0026BA28 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EACC 0026BA2C 7C E7 00 D0 */ neg r7, r7 +/* 8026EAD0 0026BA30 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EAD4 0026BA34 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EAD8 0026BA38 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EADC 0026BA3C 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026EAE0 0026BA40 89 05 00 05 */ lbz r8, 5(r5) +/* 8026EAE4 0026BA44 88 C5 00 06 */ lbz r6, 6(r5) +/* 8026EAE8 0026BA48 7C E7 00 D0 */ neg r7, r7 +/* 8026EAEC 0026BA4C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EAF0 0026BA50 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EAF4 0026BA54 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EAF8 0026BA58 89 25 00 07 */ lbz r9, 7(r5) +/* 8026EAFC 0026BA5C 38 A5 00 08 */ addi r5, r5, 8 +/* 8026EB00 0026BA60 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026EB04 0026BA64 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026EB08 0026BA68 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026EB0C 0026BA6C 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026EB10 0026BA70 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026EB14 0026BA74 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EB18 0026BA78 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EB1C 0026BA7C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EB20 0026BA80 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EB24 0026BA84 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026EB28 0026BA88 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026EB2C 0026BA8C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026EB30 0026BA90 42 00 FF 60 */ bdnz lbl_8026EA90 +lbl_8026EB34: +/* 8026EB34 0026BA94 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026EB38 0026BA98 28 12 00 00 */ cmplwi r18, 0 +/* 8026EB3C 0026BA9C 7C B7 E2 14 */ add r5, r23, r28 +/* 8026EB40 0026BAA0 38 80 00 01 */ li r4, 1 +/* 8026EB44 0026BAA4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026EB48 0026BAA8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026EB4C 0026BAAC 41 82 00 08 */ beq lbl_8026EB54 +/* 8026EB50 0026BAB0 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) +lbl_8026EB54: +/* 8026EB54 0026BAB4 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026EB58 0026BAB8 7C 89 03 A6 */ mtctr r4 +/* 8026EB5C 0026BABC 2C 04 00 00 */ cmpwi r4, 0 +/* 8026EB60 0026BAC0 40 81 00 A8 */ ble lbl_8026EC08 +lbl_8026EB64: +/* 8026EB64 0026BAC4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026EB68 0026BAC8 38 00 00 FF */ li r0, 0xff +/* 8026EB6C 0026BACC 38 84 FF FF */ addi r4, r4, -1 +/* 8026EB70 0026BAD0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026EB74 0026BAD4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026EB78 0026BAD8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026EB7C 0026BADC 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EB80 0026BAE0 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EB84 0026BAE4 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EB88 0026BAE8 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EB8C 0026BAEC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EB90 0026BAF0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EB94 0026BAF4 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EB98 0026BAF8 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EB9C 0026BAFC 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EBA0 0026BB00 7C E7 00 D0 */ neg r7, r7 +/* 8026EBA4 0026BB04 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EBA8 0026BB08 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EBAC 0026BB0C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EBB0 0026BB10 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026EBB4 0026BB14 89 05 00 05 */ lbz r8, 5(r5) +/* 8026EBB8 0026BB18 88 C5 00 06 */ lbz r6, 6(r5) +/* 8026EBBC 0026BB1C 7C E7 00 D0 */ neg r7, r7 +/* 8026EBC0 0026BB20 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EBC4 0026BB24 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EBC8 0026BB28 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EBCC 0026BB2C 89 25 00 07 */ lbz r9, 7(r5) +/* 8026EBD0 0026BB30 38 A5 FE 98 */ addi r5, r5, -360 +/* 8026EBD4 0026BB34 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026EBD8 0026BB38 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026EBDC 0026BB3C 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026EBE0 0026BB40 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026EBE4 0026BB44 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026EBE8 0026BB48 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EBEC 0026BB4C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EBF0 0026BB50 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EBF4 0026BB54 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EBF8 0026BB58 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026EBFC 0026BB5C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026EC00 0026BB60 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026EC04 0026BB64 42 00 FF 60 */ bdnz lbl_8026EB64 +lbl_8026EC08: +/* 8026EC08 0026BB68 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026EC0C 0026BB6C 28 11 00 00 */ cmplwi r17, 0 +/* 8026EC10 0026BB70 7C B7 DA 14 */ add r5, r23, r27 +/* 8026EC14 0026BB74 38 80 00 01 */ li r4, 1 +/* 8026EC18 0026BB78 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026EC1C 0026BB7C 41 82 00 08 */ beq lbl_8026EC24 +/* 8026EC20 0026BB80 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) +lbl_8026EC24: +/* 8026EC24 0026BB84 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026EC28 0026BB88 7C 89 03 A6 */ mtctr r4 +/* 8026EC2C 0026BB8C 2C 04 00 00 */ cmpwi r4, 0 +/* 8026EC30 0026BB90 40 81 00 A8 */ ble lbl_8026ECD8 +lbl_8026EC34: +/* 8026EC34 0026BB94 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026EC38 0026BB98 38 00 00 FF */ li r0, 0xff +/* 8026EC3C 0026BB9C 38 84 FF FF */ addi r4, r4, -1 +/* 8026EC40 0026BBA0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026EC44 0026BBA4 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026EC48 0026BBA8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026EC4C 0026BBAC 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EC50 0026BBB0 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EC54 0026BBB4 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EC58 0026BBB8 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EC5C 0026BBBC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EC60 0026BBC0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EC64 0026BBC4 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EC68 0026BBC8 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EC6C 0026BBCC 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EC70 0026BBD0 7C E7 00 D0 */ neg r7, r7 +/* 8026EC74 0026BBD4 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EC78 0026BBD8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EC7C 0026BBDC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EC80 0026BBE0 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026EC84 0026BBE4 89 05 00 05 */ lbz r8, 5(r5) +/* 8026EC88 0026BBE8 88 C5 00 06 */ lbz r6, 6(r5) +/* 8026EC8C 0026BBEC 7C E7 00 D0 */ neg r7, r7 +/* 8026EC90 0026BBF0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EC94 0026BBF4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EC98 0026BBF8 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EC9C 0026BBFC 89 25 00 07 */ lbz r9, 7(r5) +/* 8026ECA0 0026BC00 38 A5 FF F8 */ addi r5, r5, -8 +/* 8026ECA4 0026BC04 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026ECA8 0026BC08 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026ECAC 0026BC0C 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026ECB0 0026BC10 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026ECB4 0026BC14 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026ECB8 0026BC18 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026ECBC 0026BC1C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026ECC0 0026BC20 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026ECC4 0026BC24 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026ECC8 0026BC28 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026ECCC 0026BC2C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026ECD0 0026BC30 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026ECD4 0026BC34 42 00 FF 60 */ bdnz lbl_8026EC34 +lbl_8026ECD8: +/* 8026ECD8 0026BC38 FC 20 F0 90 */ fmr f1, f30 +/* 8026ECDC 0026BC3C 7E E3 BB 78 */ mr r3, r23 +/* 8026ECE0 0026BC40 FC 40 E8 90 */ fmr f2, f29 +/* 8026ECE4 0026BC44 7E A4 AB 78 */ mr r4, r21 +/* 8026ECE8 0026BC48 7E 05 83 78 */ mr r5, r16 +/* 8026ECEC 0026BC4C 48 00 00 99 */ bl sub_8026ed84 +lbl_8026ECF0: +/* 8026ECF0 0026BC50 48 09 98 91 */ bl End__3CGXFv +lbl_8026ECF4: +/* 8026ECF4 0026BC54 6E C3 80 00 */ xoris r3, r22, 0x8000 +/* 8026ECF8 0026BC58 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026ECFC 0026BC5C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026ED00 0026BC60 7F 5A B2 14 */ add r26, r26, r22 +/* 8026ED04 0026BC64 7C 60 B1 D6 */ mullw r3, r0, r22 +/* 8026ED08 0026BC68 C0 35 00 14 */ lfs f1, 0x14(r21) +/* 8026ED0C 0026BC6C 91 C1 00 08 */ stw r14, 8(r1) +/* 8026ED10 0026BC70 7F 18 B2 14 */ add r24, r24, r22 +/* 8026ED14 0026BC74 C8 01 00 08 */ lfd f0, 8(r1) +/* 8026ED18 0026BC78 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8026ED1C 0026BC7C 54 60 18 38 */ slwi r0, r3, 3 +/* 8026ED20 0026BC80 7F 39 1A 14 */ add r25, r25, r3 +/* 8026ED24 0026BC84 7E F7 02 14 */ add r23, r23, r0 +/* 8026ED28 0026BC88 EF C1 F0 3A */ fmadds f30, f1, f0, f30 +lbl_8026ED2C: +/* 8026ED2C 0026BC8C 88 15 00 00 */ lbz r0, 0(r21) +/* 8026ED30 0026BC90 7C 03 07 74 */ extsb r3, r0 +/* 8026ED34 0026BC94 38 03 FF FE */ addi r0, r3, -2 +/* 8026ED38 0026BC98 7C 19 00 00 */ cmpw r25, r0 +/* 8026ED3C 0026BC9C 41 80 E8 BC */ blt lbl_8026D5F8 +/* 8026ED40 0026BCA0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8026ED44 0026BCA4 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8026ED48 0026BCA8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8026ED4C 0026BCAC CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8026ED50 0026BCB0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8026ED54 0026BCB4 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8026ED58 0026BCB8 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 8026ED5C 0026BCBC CB 81 00 80 */ lfd f28, 0x80(r1) +/* 8026ED60 0026BCC0 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 8026ED64 0026BCC4 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8026ED68 0026BCC8 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 8026ED6C 0026BCCC CB 41 00 60 */ lfd f26, 0x60(r1) +/* 8026ED70 0026BCD0 B9 C1 00 18 */ lmw r14, 0x18(r1) +/* 8026ED74 0026BCD4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8026ED78 0026BCD8 7C 08 03 A6 */ mtlr r0 +/* 8026ED7C 0026BCDC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8026ED80 0026BCE0 4E 80 00 20 */ blr + +.global sub_8026ed84 +sub_8026ed84: +/* 8026ED84 0026BCE4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026ED88 0026BCE8 41 82 00 C0 */ beq lbl_8026EE48 +/* 8026ED8C 0026BCEC 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +/* 8026ED90 0026BCF0 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026ED94 0026BCF4 38 05 00 01 */ addi r0, r5, 1 +/* 8026ED98 0026BCF8 7C 09 03 A6 */ mtctr r0 +/* 8026ED9C 0026BCFC 2C 05 00 00 */ cmpwi r5, 0 +/* 8026EDA0 0026BD00 4D 80 00 20 */ bltlr +lbl_8026EDA4: +/* 8026EDA4 0026BD04 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026EDA8 0026BD08 38 00 00 FF */ li r0, 0xff +/* 8026EDAC 0026BD0C D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026EDB0 0026BD10 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026EDB4 0026BD14 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026EDB8 0026BD18 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026EDBC 0026BD1C 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EDC0 0026BD20 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026EDC4 0026BD24 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EDC8 0026BD28 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EDCC 0026BD2C 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EDD0 0026BD30 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EDD4 0026BD34 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026EDD8 0026BD38 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026EDDC 0026BD3C 7C C6 00 D0 */ neg r6, r6 +/* 8026EDE0 0026BD40 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EDE4 0026BD44 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EDE8 0026BD48 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EDEC 0026BD4C 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EDF0 0026BD50 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026EDF4 0026BD54 88 A3 00 06 */ lbz r5, 6(r3) +/* 8026EDF8 0026BD58 7C C6 00 D0 */ neg r6, r6 +/* 8026EDFC 0026BD5C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EE00 0026BD60 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EE04 0026BD64 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EE08 0026BD68 89 23 00 07 */ lbz r9, 7(r3) +/* 8026EE0C 0026BD6C 38 63 01 68 */ addi r3, r3, 0x168 +/* 8026EE10 0026BD70 88 A4 00 36 */ lbz r5, 0x36(r4) +/* 8026EE14 0026BD74 88 C4 00 35 */ lbz r6, 0x35(r4) +/* 8026EE18 0026BD78 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026EE1C 0026BD7C 88 A4 00 34 */ lbz r5, 0x34(r4) +/* 8026EE20 0026BD80 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EE24 0026BD84 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026EE28 0026BD88 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EE2C 0026BD8C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EE30 0026BD90 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EE34 0026BD94 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026EE38 0026BD98 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026EE3C 0026BD9C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026EE40 0026BDA0 42 00 FF 64 */ bdnz lbl_8026EDA4 + +.global sub_8026ee44 +sub_8026ee44: +/* 8026EE44 0026BDA4 4E 80 00 20 */ blr +lbl_8026EE48: +/* 8026EE48 0026BDA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026EE4C 0026BDAC 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8026EE50 0026BDB0 38 E0 00 FF */ li r7, 0xff +/* 8026EE54 0026BDB4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026EE58 0026BDB8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8026EE5C 0026BDBC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026EE60 0026BDC0 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EE64 0026BDC4 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EE68 0026BDC8 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EE6C 0026BDCC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EE70 0026BDD0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EE74 0026BDD4 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EE78 0026BDD8 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EE7C 0026BDDC 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EE80 0026BDE0 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EE84 0026BDE4 7C C6 00 D0 */ neg r6, r6 +/* 8026EE88 0026BDE8 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EE8C 0026BDEC 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EE90 0026BDF0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EE94 0026BDF4 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EE98 0026BDF8 89 03 00 05 */ lbz r8, 5(r3) +/* 8026EE9C 0026BDFC 88 03 00 06 */ lbz r0, 6(r3) +/* 8026EEA0 0026BE00 7C C6 00 D0 */ neg r6, r6 +/* 8026EEA4 0026BE04 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EEA8 0026BE08 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EEAC 0026BE0C 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EEB0 0026BE10 89 23 00 07 */ lbz r9, 7(r3) +/* 8026EEB4 0026BE14 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026EEB8 0026BE18 88 C4 00 35 */ lbz r6, 0x35(r4) +/* 8026EEBC 0026BE1C 7D 28 06 30 */ sraw r8, r9, r0 +/* 8026EEC0 0026BE20 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026EEC4 0026BE24 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EEC8 0026BE28 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026EECC 0026BE2C 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EED0 0026BE30 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EED4 0026BE34 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EED8 0026BE38 98 E5 80 00 */ stb r7, 0xCC008000@l(r5) +/* 8026EEDC 0026BE3C 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026EEE0 0026BE40 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8026EEE4 0026BE44 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026EEE8 0026BE48 EC 02 00 2A */ fadds f0, f2, f0 +/* 8026EEEC 0026BE4C 7C 63 02 14 */ add r3, r3, r0 +/* 8026EEF0 0026BE50 C0 43 00 00 */ lfs f2, 0(r3) +/* 8026EEF4 0026BE54 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026EEF8 0026BE58 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026EEFC 0026BE5C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8026EF00 0026BE60 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EF04 0026BE64 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EF08 0026BE68 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EF0C 0026BE6C 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF10 0026BE70 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF14 0026BE74 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EF18 0026BE78 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EF1C 0026BE7C 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EF20 0026BE80 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EF24 0026BE84 7C C6 00 D0 */ neg r6, r6 +/* 8026EF28 0026BE88 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF2C 0026BE8C 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EF30 0026BE90 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF34 0026BE94 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EF38 0026BE98 89 03 00 05 */ lbz r8, 5(r3) +/* 8026EF3C 0026BE9C 88 03 00 06 */ lbz r0, 6(r3) +/* 8026EF40 0026BEA0 7C C6 00 D0 */ neg r6, r6 +/* 8026EF44 0026BEA4 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF48 0026BEA8 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EF4C 0026BEAC 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF50 0026BEB0 89 03 00 07 */ lbz r8, 7(r3) +/* 8026EF54 0026BEB4 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026EF58 0026BEB8 88 64 00 35 */ lbz r3, 0x35(r4) +/* 8026EF5C 0026BEBC 7D 06 06 30 */ sraw r6, r8, r0 +/* 8026EF60 0026BEC0 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026EF64 0026BEC4 7D 03 1E 30 */ sraw r3, r8, r3 +/* 8026EF68 0026BEC8 7D 00 06 30 */ sraw r0, r8, r0 +/* 8026EF6C 0026BECC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF70 0026BED0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026EF74 0026BED4 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF78 0026BED8 98 E5 80 00 */ stb r7, 0xCC008000@l(r5) +/* 8026EF7C 0026BEDC 4E 80 00 20 */ blr + +.global sub_8026ef80 +sub_8026ef80: +/* 8026EF80 0026BEE0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026EF84 0026BEE4 41 82 01 60 */ beq lbl_8026F0E4 +/* 8026EF88 0026BEE8 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +/* 8026EF8C 0026BEEC 3D 20 CC 01 */ lis r9, 0xcc01 +/* 8026EF90 0026BEF0 2C 05 00 00 */ cmpwi r5, 0 +/* 8026EF94 0026BEF4 38 A5 00 01 */ addi r5, r5, 1 +/* 8026EF98 0026BEF8 4D 80 00 20 */ bltlr +/* 8026EF9C 0026BEFC 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f +/* 8026EFA0 0026BF00 7C 09 03 A6 */ mtctr r0 +/* 8026EFA4 0026BF04 41 82 00 D0 */ beq lbl_8026F074 +lbl_8026EFA8: +/* 8026EFA8 0026BF08 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026EFAC 0026BF0C 38 00 00 FF */ li r0, 0xff +/* 8026EFB0 0026BF10 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026EFB4 0026BF14 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026EFB8 0026BF18 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026EFBC 0026BF1C 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EFC0 0026BF20 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026EFC4 0026BF24 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EFC8 0026BF28 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026EFCC 0026BF2C 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026EFD0 0026BF30 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026EFD4 0026BF34 89 43 00 07 */ lbz r10, 7(r3) +/* 8026EFD8 0026BF38 88 C4 00 36 */ lbz r6, 0x36(r4) +/* 8026EFDC 0026BF3C 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026EFE0 0026BF40 7D 48 36 30 */ sraw r8, r10, r6 +/* 8026EFE4 0026BF44 88 C4 00 34 */ lbz r6, 0x34(r4) +/* 8026EFE8 0026BF48 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026EFEC 0026BF4C 7D 46 36 30 */ sraw r6, r10, r6 +/* 8026EFF0 0026BF50 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026EFF4 0026BF54 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026EFF8 0026BF58 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026EFFC 0026BF5C 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F000 0026BF60 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F004 0026BF64 C0 63 01 68 */ lfs f3, 0x168(r3) +/* 8026F008 0026BF68 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F00C 0026BF6C D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F010 0026BF70 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F014 0026BF74 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F018 0026BF78 89 03 01 6E */ lbz r8, 0x16e(r3) +/* 8026F01C 0026BF7C 88 E3 01 6D */ lbz r7, 0x16d(r3) +/* 8026F020 0026BF80 88 C3 01 6C */ lbz r6, 0x16c(r3) +/* 8026F024 0026BF84 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F028 0026BF88 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F02C 0026BF8C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F030 0026BF90 89 43 01 6F */ lbz r10, 0x16f(r3) +/* 8026F034 0026BF94 38 63 02 D0 */ addi r3, r3, 0x2d0 +/* 8026F038 0026BF98 88 C4 00 36 */ lbz r6, 0x36(r4) +/* 8026F03C 0026BF9C 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F040 0026BFA0 7D 48 36 30 */ sraw r8, r10, r6 +/* 8026F044 0026BFA4 88 C4 00 34 */ lbz r6, 0x34(r4) +/* 8026F048 0026BFA8 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F04C 0026BFAC 7D 46 36 30 */ sraw r6, r10, r6 +/* 8026F050 0026BFB0 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F054 0026BFB4 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F058 0026BFB8 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F05C 0026BFBC 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F060 0026BFC0 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F064 0026BFC4 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F068 0026BFC8 42 00 FF 40 */ bdnz lbl_8026EFA8 +/* 8026F06C 0026BFCC 70 A5 00 01 */ andi. r5, r5, 1 +/* 8026F070 0026BFD0 4D 82 00 20 */ beqlr +lbl_8026F074: +/* 8026F074 0026BFD4 7C A9 03 A6 */ mtctr r5 +lbl_8026F078: +/* 8026F078 0026BFD8 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026F07C 0026BFDC 38 00 00 FF */ li r0, 0xff +/* 8026F080 0026BFE0 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F084 0026BFE4 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F088 0026BFE8 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F08C 0026BFEC 89 03 00 06 */ lbz r8, 6(r3) +/* 8026F090 0026BFF0 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026F094 0026BFF4 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026F098 0026BFF8 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F09C 0026BFFC 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F0A0 0026C000 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F0A4 0026C004 89 43 00 07 */ lbz r10, 7(r3) +/* 8026F0A8 0026C008 38 63 01 68 */ addi r3, r3, 0x168 +/* 8026F0AC 0026C00C 88 C4 00 36 */ lbz r6, 0x36(r4) +/* 8026F0B0 0026C010 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F0B4 0026C014 7D 48 36 30 */ sraw r8, r10, r6 +/* 8026F0B8 0026C018 88 C4 00 34 */ lbz r6, 0x34(r4) +/* 8026F0BC 0026C01C 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F0C0 0026C020 7D 46 36 30 */ sraw r6, r10, r6 +/* 8026F0C4 0026C024 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F0C8 0026C028 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F0CC 0026C02C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F0D0 0026C030 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F0D4 0026C034 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F0D8 0026C038 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F0DC 0026C03C 42 00 FF 9C */ bdnz lbl_8026F078 + +.global sub_8026f0e0 +sub_8026f0e0: +/* 8026F0E0 0026C040 4E 80 00 20 */ blr +lbl_8026F0E4: +/* 8026F0E4 0026C044 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F0E8 0026C048 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026F0EC 0026C04C 38 C0 00 FF */ li r6, 0xff +/* 8026F0F0 0026C050 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F0F4 0026C054 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F0F8 0026C058 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F0FC 0026C05C 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F100 0026C060 88 A3 00 05 */ lbz r5, 5(r3) +/* 8026F104 0026C064 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F108 0026C068 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F10C 0026C06C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F110 0026C070 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F114 0026C074 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F118 0026C078 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F11C 0026C07C 88 A4 00 35 */ lbz r5, 0x35(r4) +/* 8026F120 0026C080 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F124 0026C084 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F128 0026C088 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026F12C 0026C08C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F130 0026C090 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F134 0026C094 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F138 0026C098 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F13C 0026C09C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F140 0026C0A0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026F144 0026C0A4 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8026F148 0026C0A8 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026F14C 0026C0AC EC 02 00 2A */ fadds f0, f2, f0 +/* 8026F150 0026C0B0 7C 63 02 14 */ add r3, r3, r0 +/* 8026F154 0026C0B4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8026F158 0026C0B8 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F15C 0026C0BC D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F160 0026C0C0 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F164 0026C0C4 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F168 0026C0C8 88 A3 00 05 */ lbz r5, 5(r3) +/* 8026F16C 0026C0CC 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F170 0026C0D0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F174 0026C0D4 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F178 0026C0D8 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F17C 0026C0DC 88 E3 00 07 */ lbz r7, 7(r3) +/* 8026F180 0026C0E0 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F184 0026C0E4 88 64 00 35 */ lbz r3, 0x35(r4) +/* 8026F188 0026C0E8 7C E5 06 30 */ sraw r5, r7, r0 +/* 8026F18C 0026C0EC 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F190 0026C0F0 7C E3 1E 30 */ sraw r3, r7, r3 +/* 8026F194 0026C0F4 7C E0 06 30 */ sraw r0, r7, r0 +/* 8026F198 0026C0F8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F19C 0026C0FC 98 68 80 00 */ stb r3, 0xCC008000@l(r8) +/* 8026F1A0 0026C100 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F1A4 0026C104 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F1A8 0026C108 4E 80 00 20 */ blr + +.global sub_8026f1ac +sub_8026f1ac: +/* 8026F1AC 0026C10C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026F1B0 0026C110 41 82 01 14 */ beq lbl_8026F2C4 +/* 8026F1B4 0026C114 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +/* 8026F1B8 0026C118 3D 20 CC 01 */ lis r9, 0xcc01 +/* 8026F1BC 0026C11C 38 C0 00 FF */ li r6, 0xff +/* 8026F1C0 0026C120 2C 05 00 00 */ cmpwi r5, 0 +/* 8026F1C4 0026C124 38 A5 00 01 */ addi r5, r5, 1 +/* 8026F1C8 0026C128 4D 80 00 20 */ bltlr +/* 8026F1CC 0026C12C 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f +/* 8026F1D0 0026C130 7C 09 03 A6 */ mtctr r0 +/* 8026F1D4 0026C134 41 82 00 9C */ beq lbl_8026F270 +lbl_8026F1D8: +/* 8026F1D8 0026C138 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026F1DC 0026C13C D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F1E0 0026C140 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F1E4 0026C144 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F1E8 0026C148 89 43 00 07 */ lbz r10, 7(r3) +/* 8026F1EC 0026C14C 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F1F0 0026C150 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F1F4 0026C154 7D 48 06 30 */ sraw r8, r10, r0 +/* 8026F1F8 0026C158 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F1FC 0026C15C 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F200 0026C160 7D 40 06 30 */ sraw r0, r10, r0 +/* 8026F204 0026C164 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F208 0026C168 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F20C 0026C16C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F210 0026C170 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F214 0026C174 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F218 0026C178 C0 63 01 68 */ lfs f3, 0x168(r3) +/* 8026F21C 0026C17C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F220 0026C180 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F224 0026C184 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F228 0026C188 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F22C 0026C18C 89 43 01 6F */ lbz r10, 0x16f(r3) +/* 8026F230 0026C190 38 63 02 D0 */ addi r3, r3, 0x2d0 +/* 8026F234 0026C194 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F238 0026C198 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F23C 0026C19C 7D 48 06 30 */ sraw r8, r10, r0 +/* 8026F240 0026C1A0 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F244 0026C1A4 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F248 0026C1A8 7D 40 06 30 */ sraw r0, r10, r0 +/* 8026F24C 0026C1AC 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F250 0026C1B0 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F254 0026C1B4 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F258 0026C1B8 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F25C 0026C1BC C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F260 0026C1C0 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F264 0026C1C4 42 00 FF 74 */ bdnz lbl_8026F1D8 +/* 8026F268 0026C1C8 70 A5 00 01 */ andi. r5, r5, 1 +/* 8026F26C 0026C1CC 4D 82 00 20 */ beqlr +lbl_8026F270: +/* 8026F270 0026C1D0 7C A9 03 A6 */ mtctr r5 +lbl_8026F274: +/* 8026F274 0026C1D4 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026F278 0026C1D8 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F27C 0026C1DC D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F280 0026C1E0 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F284 0026C1E4 89 43 00 07 */ lbz r10, 7(r3) +/* 8026F288 0026C1E8 38 63 01 68 */ addi r3, r3, 0x168 +/* 8026F28C 0026C1EC 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F290 0026C1F0 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F294 0026C1F4 7D 48 06 30 */ sraw r8, r10, r0 +/* 8026F298 0026C1F8 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F29C 0026C1FC 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F2A0 0026C200 7D 40 06 30 */ sraw r0, r10, r0 +/* 8026F2A4 0026C204 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F2A8 0026C208 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F2AC 0026C20C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F2B0 0026C210 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F2B4 0026C214 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F2B8 0026C218 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F2BC 0026C21C 42 00 FF B8 */ bdnz lbl_8026F274 + +.global sub_8026f2c0 +sub_8026f2c0: +/* 8026F2C0 0026C220 4E 80 00 20 */ blr +lbl_8026F2C4: +/* 8026F2C4 0026C224 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F2C8 0026C228 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026F2CC 0026C22C 38 C0 00 FF */ li r6, 0xff +/* 8026F2D0 0026C230 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F2D4 0026C234 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F2D8 0026C238 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F2DC 0026C23C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F2E0 0026C240 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F2E4 0026C244 88 A4 00 35 */ lbz r5, 0x35(r4) +/* 8026F2E8 0026C248 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F2EC 0026C24C 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F2F0 0026C250 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026F2F4 0026C254 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F2F8 0026C258 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F2FC 0026C25C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F300 0026C260 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F304 0026C264 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F308 0026C268 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026F30C 0026C26C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8026F310 0026C270 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026F314 0026C274 EC 02 00 2A */ fadds f0, f2, f0 +/* 8026F318 0026C278 7C 63 02 14 */ add r3, r3, r0 +/* 8026F31C 0026C27C C0 43 00 00 */ lfs f2, 0(r3) +/* 8026F320 0026C280 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F324 0026C284 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F328 0026C288 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F32C 0026C28C 88 E3 00 07 */ lbz r7, 7(r3) +/* 8026F330 0026C290 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F334 0026C294 88 64 00 35 */ lbz r3, 0x35(r4) +/* 8026F338 0026C298 7C E5 06 30 */ sraw r5, r7, r0 +/* 8026F33C 0026C29C 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F340 0026C2A0 7C E3 1E 30 */ sraw r3, r7, r3 +/* 8026F344 0026C2A4 7C E0 06 30 */ sraw r0, r7, r0 +/* 8026F348 0026C2A8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F34C 0026C2AC 98 68 80 00 */ stb r3, 0xCC008000@l(r8) +/* 8026F350 0026C2B0 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F354 0026C2B4 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F358 0026C2B8 4E 80 00 20 */ blr + +.global RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026F35C 0026C2BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F360 0026C2C0 7C 08 02 A6 */ mflr r0 +/* 8026F364 0026C2C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026F368 0026C2C8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8026F36C 0026C2CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8026F370 0026C2D0 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026F374 0026C2D4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8026F378 0026C2D8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8026F37C 0026C2DC FF C0 08 90 */ fmr f30, f1 +/* 8026F380 0026C2E0 83 AD A5 74 */ lwz r29, lbl_805A9134@sda21(r13) +/* 8026F384 0026C2E4 FF E0 10 90 */ fmr f31, f2 +/* 8026F388 0026C2E8 7C 7B 1B 78 */ mr r27, r3 +/* 8026F38C 0026C2EC 7C BC 2B 78 */ mr r28, r5 +/* 8026F390 0026C2F0 7C 9E 23 78 */ mr r30, r4 +/* 8026F394 0026C2F4 54 9F 08 3C */ slwi r31, r4, 1 +/* 8026F398 0026C2F8 48 00 00 44 */ b lbl_8026F3DC +lbl_8026F39C: +/* 8026F39C 0026C2FC 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 8026F3A0 0026C300 38 60 00 98 */ li r3, 0x98 +/* 8026F3A4 0026C304 38 80 00 00 */ li r4, 0 +/* 8026F3A8 0026C308 48 09 91 DD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026F3AC 0026C30C FC 20 F0 90 */ fmr f1, f30 +/* 8026F3B0 0026C310 C0 7C 00 18 */ lfs f3, 0x18(r28) +/* 8026F3B4 0026C314 FC 40 F8 90 */ fmr f2, f31 +/* 8026F3B8 0026C318 7F 63 DB 78 */ mr r3, r27 +/* 8026F3BC 0026C31C 7F C4 F3 78 */ mr r4, r30 +/* 8026F3C0 0026C320 7F 85 E3 78 */ mr r5, r28 +/* 8026F3C4 0026C324 48 00 00 45 */ bl sub_8026f408 +/* 8026F3C8 0026C328 48 09 91 B9 */ bl End__3CGXFv +/* 8026F3CC 0026C32C C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8026F3D0 0026C330 3B BD FF FF */ addi r29, r29, -1 +/* 8026F3D4 0026C334 3B 7B 01 68 */ addi r27, r27, 0x168 +/* 8026F3D8 0026C338 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8026F3DC: +/* 8026F3DC 0026C33C 2C 1D 00 00 */ cmpwi r29, 0 +/* 8026F3E0 0026C340 41 81 FF BC */ bgt lbl_8026F39C +/* 8026F3E4 0026C344 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026F3E8 0026C348 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8026F3EC 0026C34C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8026F3F0 0026C350 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8026F3F4 0026C354 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8026F3F8 0026C358 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026F3FC 0026C35C 7C 08 03 A6 */ mtlr r0 +/* 8026F400 0026C360 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026F404 0026C364 4E 80 00 20 */ blr + +.global sub_8026f408 +sub_8026f408: +/* 8026F408 0026C368 EC 82 18 2A */ fadds f4, f2, f3 +/* 8026F40C 0026C36C 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8026F410 0026C370 7C 89 03 A6 */ mtctr r4 +/* 8026F414 0026C374 2C 04 00 00 */ cmpwi r4, 0 +/* 8026F418 0026C378 4D 82 00 20 */ beqlr +lbl_8026F41C: +/* 8026F41C 0026C37C C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F420 0026C380 39 00 00 FF */ li r8, 0xff +/* 8026F424 0026C384 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8026F428 0026C388 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8026F42C 0026C38C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8026F430 0026C390 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F434 0026C394 88 83 00 05 */ lbz r4, 5(r3) +/* 8026F438 0026C398 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F43C 0026C39C 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F440 0026C3A0 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F444 0026C3A4 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F448 0026C3A8 88 83 00 05 */ lbz r4, 5(r3) +/* 8026F44C 0026C3AC 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F450 0026C3B0 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F454 0026C3B4 7C 84 00 D0 */ neg r4, r4 +/* 8026F458 0026C3B8 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F45C 0026C3BC 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F460 0026C3C0 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F464 0026C3C4 88 83 00 04 */ lbz r4, 4(r3) +/* 8026F468 0026C3C8 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026F46C 0026C3CC 88 03 00 06 */ lbz r0, 6(r3) +/* 8026F470 0026C3D0 7C 84 00 D0 */ neg r4, r4 +/* 8026F474 0026C3D4 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F478 0026C3D8 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F47C 0026C3DC 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F480 0026C3E0 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F484 0026C3E4 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F488 0026C3E8 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F48C 0026C3EC 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F490 0026C3F0 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F494 0026C3F4 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F498 0026C3F8 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F49C 0026C3FC 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F4A0 0026C400 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F4A4 0026C404 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F4A8 0026C408 99 06 80 00 */ stb r8, 0xCC008000@l(r6) +/* 8026F4AC 0026C40C C0 03 01 68 */ lfs f0, 0x168(r3) +/* 8026F4B0 0026C410 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8026F4B4 0026C414 EC 21 18 2A */ fadds f1, f1, f3 +/* 8026F4B8 0026C418 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) +/* 8026F4BC 0026C41C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8026F4C0 0026C420 88 E3 01 6E */ lbz r7, 0x16e(r3) +/* 8026F4C4 0026C424 88 83 01 6D */ lbz r4, 0x16d(r3) +/* 8026F4C8 0026C428 88 03 01 6C */ lbz r0, 0x16c(r3) +/* 8026F4CC 0026C42C 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F4D0 0026C430 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F4D4 0026C434 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F4D8 0026C438 88 83 01 6D */ lbz r4, 0x16d(r3) +/* 8026F4DC 0026C43C 88 E3 01 6E */ lbz r7, 0x16e(r3) +/* 8026F4E0 0026C440 88 03 01 6C */ lbz r0, 0x16c(r3) +/* 8026F4E4 0026C444 7C 84 00 D0 */ neg r4, r4 +/* 8026F4E8 0026C448 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F4EC 0026C44C 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F4F0 0026C450 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F4F4 0026C454 88 83 01 6C */ lbz r4, 0x16c(r3) +/* 8026F4F8 0026C458 88 E3 01 6D */ lbz r7, 0x16d(r3) +/* 8026F4FC 0026C45C 88 03 01 6E */ lbz r0, 0x16e(r3) +/* 8026F500 0026C460 7C 84 00 D0 */ neg r4, r4 +/* 8026F504 0026C464 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F508 0026C468 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F50C 0026C46C 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F510 0026C470 89 23 01 6F */ lbz r9, 0x16f(r3) +/* 8026F514 0026C474 38 63 00 08 */ addi r3, r3, 8 +/* 8026F518 0026C478 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F51C 0026C47C 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F520 0026C480 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F524 0026C484 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F528 0026C488 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F52C 0026C48C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F530 0026C490 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F534 0026C494 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F538 0026C498 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F53C 0026C49C 99 06 80 00 */ stb r8, 0xCC008000@l(r6) +/* 8026F540 0026C4A0 42 00 FE DC */ bdnz lbl_8026F41C +/* 8026F544 0026C4A4 4E 80 00 20 */ blr + +.global RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026F548 0026C4A8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F54C 0026C4AC 7C 08 02 A6 */ mflr r0 +/* 8026F550 0026C4B0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026F554 0026C4B4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8026F558 0026C4B8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8026F55C 0026C4BC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026F560 0026C4C0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8026F564 0026C4C4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8026F568 0026C4C8 FF C0 08 90 */ fmr f30, f1 +/* 8026F56C 0026C4CC 83 AD A5 74 */ lwz r29, lbl_805A9134@sda21(r13) +/* 8026F570 0026C4D0 FF E0 10 90 */ fmr f31, f2 +/* 8026F574 0026C4D4 7C 7B 1B 78 */ mr r27, r3 +/* 8026F578 0026C4D8 7C BC 2B 78 */ mr r28, r5 +/* 8026F57C 0026C4DC 7C 9E 23 78 */ mr r30, r4 +/* 8026F580 0026C4E0 54 9F 08 3C */ slwi r31, r4, 1 +/* 8026F584 0026C4E4 48 00 00 44 */ b lbl_8026F5C8 +lbl_8026F588: +/* 8026F588 0026C4E8 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 8026F58C 0026C4EC 38 60 00 98 */ li r3, 0x98 +/* 8026F590 0026C4F0 38 80 00 00 */ li r4, 0 +/* 8026F594 0026C4F4 48 09 8F F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026F598 0026C4F8 FC 20 F0 90 */ fmr f1, f30 +/* 8026F59C 0026C4FC C0 7C 00 18 */ lfs f3, 0x18(r28) +/* 8026F5A0 0026C500 FC 40 F8 90 */ fmr f2, f31 +/* 8026F5A4 0026C504 7F 63 DB 78 */ mr r3, r27 +/* 8026F5A8 0026C508 7F C4 F3 78 */ mr r4, r30 +/* 8026F5AC 0026C50C 7F 85 E3 78 */ mr r5, r28 +/* 8026F5B0 0026C510 48 00 00 45 */ bl sub_8026f5f4 +/* 8026F5B4 0026C514 48 09 8F CD */ bl End__3CGXFv +/* 8026F5B8 0026C518 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8026F5BC 0026C51C 3B BD FF FF */ addi r29, r29, -1 +/* 8026F5C0 0026C520 3B 7B 01 68 */ addi r27, r27, 0x168 +/* 8026F5C4 0026C524 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8026F5C8: +/* 8026F5C8 0026C528 2C 1D 00 00 */ cmpwi r29, 0 +/* 8026F5CC 0026C52C 41 81 FF BC */ bgt lbl_8026F588 +/* 8026F5D0 0026C530 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026F5D4 0026C534 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8026F5D8 0026C538 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8026F5DC 0026C53C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8026F5E0 0026C540 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8026F5E4 0026C544 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026F5E8 0026C548 7C 08 03 A6 */ mtlr r0 +/* 8026F5EC 0026C54C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026F5F0 0026C550 4E 80 00 20 */ blr + +.global sub_8026f5f4 +sub_8026f5f4: +/* 8026F5F4 0026C554 EC 82 18 2A */ fadds f4, f2, f3 +/* 8026F5F8 0026C558 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026F5FC 0026C55C 7C 89 03 A6 */ mtctr r4 +/* 8026F600 0026C560 2C 04 00 00 */ cmpwi r4, 0 +/* 8026F604 0026C564 4D 82 00 20 */ beqlr +lbl_8026F608: +/* 8026F608 0026C568 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F60C 0026C56C 38 E0 00 FF */ li r7, 0xff +/* 8026F610 0026C570 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F614 0026C574 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F618 0026C578 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F61C 0026C57C 88 C3 00 06 */ lbz r6, 6(r3) +/* 8026F620 0026C580 88 83 00 05 */ lbz r4, 5(r3) +/* 8026F624 0026C584 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F628 0026C588 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F62C 0026C58C 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F630 0026C590 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F634 0026C594 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F638 0026C598 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F63C 0026C59C 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F640 0026C5A0 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026F644 0026C5A4 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F648 0026C5A8 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F64C 0026C5AC 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F650 0026C5B0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F654 0026C5B4 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F658 0026C5B8 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F65C 0026C5BC 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F660 0026C5C0 C0 03 01 68 */ lfs f0, 0x168(r3) +/* 8026F664 0026C5C4 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F668 0026C5C8 EC 21 18 2A */ fadds f1, f1, f3 +/* 8026F66C 0026C5CC D0 88 80 00 */ stfs f4, 0xCC008000@l(r8) +/* 8026F670 0026C5D0 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F674 0026C5D4 88 C3 01 6E */ lbz r6, 0x16e(r3) +/* 8026F678 0026C5D8 88 83 01 6D */ lbz r4, 0x16d(r3) +/* 8026F67C 0026C5DC 88 03 01 6C */ lbz r0, 0x16c(r3) +/* 8026F680 0026C5E0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F684 0026C5E4 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F688 0026C5E8 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F68C 0026C5EC 89 23 01 6F */ lbz r9, 0x16f(r3) +/* 8026F690 0026C5F0 38 63 00 08 */ addi r3, r3, 8 +/* 8026F694 0026C5F4 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F698 0026C5F8 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F69C 0026C5FC 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026F6A0 0026C600 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F6A4 0026C604 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F6A8 0026C608 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F6AC 0026C60C 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F6B0 0026C610 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F6B4 0026C614 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F6B8 0026C618 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F6BC 0026C61C 42 00 FF 4C */ bdnz lbl_8026F608 +/* 8026F6C0 0026C620 4E 80 00 20 */ blr + +.global RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026F6C4 0026C624 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F6C8 0026C628 7C 08 02 A6 */ mflr r0 +/* 8026F6CC 0026C62C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026F6D0 0026C630 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8026F6D4 0026C634 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8026F6D8 0026C638 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026F6DC 0026C63C F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8026F6E0 0026C640 BF 41 00 08 */ stmw r26, 8(r1) +/* 8026F6E4 0026C644 FF C0 08 90 */ fmr f30, f1 +/* 8026F6E8 0026C648 83 8D A5 74 */ lwz r28, lbl_805A9134@sda21(r13) +/* 8026F6EC 0026C64C FF E0 10 90 */ fmr f31, f2 +/* 8026F6F0 0026C650 7C 7A 1B 78 */ mr r26, r3 +/* 8026F6F4 0026C654 7C BB 2B 78 */ mr r27, r5 +/* 8026F6F8 0026C658 7C 9D 23 78 */ mr r29, r4 +/* 8026F6FC 0026C65C 54 9E 08 3C */ slwi r30, r4, 1 +/* 8026F700 0026C660 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8026F704 0026C664 48 00 00 D4 */ b lbl_8026F7D8 +lbl_8026F708: +/* 8026F708 0026C668 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 8026F70C 0026C66C 38 60 00 98 */ li r3, 0x98 +/* 8026F710 0026C670 38 80 00 00 */ li r4, 0 +/* 8026F714 0026C674 48 09 8E 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026F718 0026C678 C0 3B 00 18 */ lfs f1, 0x18(r27) +/* 8026F71C 0026C67C 7F A7 EB 78 */ mr r7, r29 +/* 8026F720 0026C680 FC 00 F0 90 */ fmr f0, f30 +/* 8026F724 0026C684 7F 46 D3 78 */ mr r6, r26 +/* 8026F728 0026C688 EC 7F 08 2A */ fadds f3, f31, f1 +/* 8026F72C 0026C68C 7F A9 03 A6 */ mtctr r29 +/* 8026F730 0026C690 2C 1D 00 00 */ cmpwi r29, 0 +/* 8026F734 0026C694 41 82 00 90 */ beq lbl_8026F7C4 +lbl_8026F738: +/* 8026F738 0026C698 C0 46 00 00 */ lfs f2, 0(r6) +/* 8026F73C 0026C69C 38 A0 00 FF */ li r5, 0xff +/* 8026F740 0026C6A0 38 E7 FF FF */ addi r7, r7, -1 +/* 8026F744 0026C6A4 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026F748 0026C6A8 D3 FF 80 00 */ stfs f31, 0xCC008000@l(r31) +/* 8026F74C 0026C6AC D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8026F750 0026C6B0 89 06 00 07 */ lbz r8, 7(r6) +/* 8026F754 0026C6B4 88 1B 00 36 */ lbz r0, 0x36(r27) +/* 8026F758 0026C6B8 88 7B 00 35 */ lbz r3, 0x35(r27) +/* 8026F75C 0026C6BC 7D 04 06 30 */ sraw r4, r8, r0 +/* 8026F760 0026C6C0 88 1B 00 34 */ lbz r0, 0x34(r27) +/* 8026F764 0026C6C4 7D 03 1E 30 */ sraw r3, r8, r3 +/* 8026F768 0026C6C8 7D 00 06 30 */ sraw r0, r8, r0 +/* 8026F76C 0026C6CC 98 1F 80 00 */ stb r0, 0xCC008000@l(r31) +/* 8026F770 0026C6D0 98 7F 80 00 */ stb r3, 0xCC008000@l(r31) +/* 8026F774 0026C6D4 98 9F 80 00 */ stb r4, 0xCC008000@l(r31) +/* 8026F778 0026C6D8 98 BF 80 00 */ stb r5, 0xCC008000@l(r31) +/* 8026F77C 0026C6DC C0 46 01 68 */ lfs f2, 0x168(r6) +/* 8026F780 0026C6E0 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026F784 0026C6E4 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026F788 0026C6E8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8026F78C 0026C6EC D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8026F790 0026C6F0 89 06 01 6F */ lbz r8, 0x16f(r6) +/* 8026F794 0026C6F4 38 C6 00 08 */ addi r6, r6, 8 +/* 8026F798 0026C6F8 88 1B 00 36 */ lbz r0, 0x36(r27) +/* 8026F79C 0026C6FC 88 7B 00 35 */ lbz r3, 0x35(r27) +/* 8026F7A0 0026C700 7D 04 06 30 */ sraw r4, r8, r0 +/* 8026F7A4 0026C704 88 1B 00 34 */ lbz r0, 0x34(r27) +/* 8026F7A8 0026C708 7D 03 1E 30 */ sraw r3, r8, r3 +/* 8026F7AC 0026C70C 7D 00 06 30 */ sraw r0, r8, r0 +/* 8026F7B0 0026C710 98 1F 80 00 */ stb r0, 0xCC008000@l(r31) +/* 8026F7B4 0026C714 98 7F 80 00 */ stb r3, 0xCC008000@l(r31) +/* 8026F7B8 0026C718 98 9F 80 00 */ stb r4, 0xCC008000@l(r31) +/* 8026F7BC 0026C71C 98 BF 80 00 */ stb r5, 0xCC008000@l(r31) +/* 8026F7C0 0026C720 42 00 FF 78 */ bdnz lbl_8026F738 +lbl_8026F7C4: +/* 8026F7C4 0026C724 48 09 8D BD */ bl End__3CGXFv +/* 8026F7C8 0026C728 C0 1B 00 18 */ lfs f0, 0x18(r27) +/* 8026F7CC 0026C72C 3B 9C FF FF */ addi r28, r28, -1 +/* 8026F7D0 0026C730 3B 5A 01 68 */ addi r26, r26, 0x168 +/* 8026F7D4 0026C734 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8026F7D8: +/* 8026F7D8 0026C738 2C 1C 00 00 */ cmpwi r28, 0 +/* 8026F7DC 0026C73C 41 81 FF 2C */ bgt lbl_8026F708 +/* 8026F7E0 0026C740 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026F7E4 0026C744 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8026F7E8 0026C748 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8026F7EC 0026C74C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8026F7F0 0026C750 BB 41 00 08 */ lmw r26, 8(r1) +/* 8026F7F4 0026C754 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026F7F8 0026C758 7C 08 03 A6 */ mtlr r0 +/* 8026F7FC 0026C75C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026F800 0026C760 4E 80 00 20 */ blr + +.global PrepareRipple__FRC7CRippleRCQ220CFluidPlaneCPURender10SPatchInfoRQ220CFluidPlaneCPURender11SRippleInfo +PrepareRipple__FRC7CRippleRCQ220CFluidPlaneCPURender10SPatchInfoRQ220CFluidPlaneCPURender11SRippleInfo: +/* 8026F804 0026C764 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F808 0026C768 3C 00 43 30 */ lis r0, 0x4330 +/* 8026F80C 0026C76C 3C C0 80 57 */ lis r6, lbl_8057198C@ha +/* 8026F810 0026C770 C0 82 BB A4 */ lfs f4, lbl_805AD8C4@sda21(r2) +/* 8026F814 0026C774 C0 43 00 14 */ lfs f2, 0x14(r3) +/* 8026F818 0026C778 38 C6 19 8C */ addi r6, r6, lbl_8057198C@l +/* 8026F81C 0026C77C C0 03 00 04 */ lfs f0, 4(r3) +/* 8026F820 0026C780 C0 A2 BB A8 */ lfs f5, lbl_805AD8C8@sda21(r2) +/* 8026F824 0026C784 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8026F828 0026C788 C0 22 BB AC */ lfs f1, lbl_805AD8CC@sda21(r2) +/* 8026F82C 0026C78C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8026F830 0026C790 C1 23 00 08 */ lfs f9, 8(r3) +/* 8026F834 0026C794 EC 60 10 24 */ fdivs f3, f0, f2 +/* 8026F838 0026C798 C1 04 00 0C */ lfs f8, 0xc(r4) +/* 8026F83C 0026C79C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8026F840 0026C7A0 C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026F844 0026C7A4 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 8026F848 0026C7A8 C0 C4 00 10 */ lfs f6, 0x10(r4) +/* 8026F84C 0026C7AC EC 84 18 28 */ fsubs f4, f4, f3 +/* 8026F850 0026C7B0 C1 64 00 24 */ lfs f11, 0x24(r4) +/* 8026F854 0026C7B4 EC 61 00 32 */ fmuls f3, f1, f0 +/* 8026F858 0026C7B8 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026F85C 0026C7BC ED 09 40 28 */ fsubs f8, f9, f8 +/* 8026F860 0026C7C0 EC 25 01 32 */ fmuls f1, f5, f4 +/* 8026F864 0026C7C4 EC 87 30 28 */ fsubs f4, f7, f6 +/* 8026F868 0026C7C8 EC AB 02 32 */ fmuls f5, f11, f8 +/* 8026F86C 0026C7CC FC 20 08 1E */ fctiwz f1, f1 +/* 8026F870 0026C7D0 EC 8B 01 32 */ fmuls f4, f11, f4 +/* 8026F874 0026C7D4 D8 21 00 20 */ stfd f1, 0x20(r1) +/* 8026F878 0026C7D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026F87C 0026C7DC 7C 06 00 AE */ lbzx r0, r6, r0 +/* 8026F880 0026C7E0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8026F884 0026C7E4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8026F888 0026C7E8 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 8026F88C 0026C7EC EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026F890 0026C7F0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8026F894 0026C7F4 ED 41 00 72 */ fmuls f10, f1, f1 +/* 8026F898 0026C7F8 FC 00 50 00 */ fcmpu cr0, f0, f10 +/* 8026F89C 0026C7FC 40 82 00 08 */ bne lbl_8026F8A4 +/* 8026F8A0 0026C800 48 00 00 10 */ b lbl_8026F8B0 +lbl_8026F8A4: +/* 8026F8A4 0026C804 10 00 50 34 */ ps_rsqrte f0, f10 +/* 8026F8A8 0026C808 10 00 02 B2 */ ps_mul f0, f0, f10 +/* 8026F8AC 0026C80C FD 40 00 90 */ fmr f10, f0 +lbl_8026F8B0: +/* 8026F8B0 0026C810 C0 02 BB A4 */ lfs f0, lbl_805AD8C4@sda21(r2) +/* 8026F8B4 0026C814 38 61 00 1C */ addi r3, r1, 0x1c +/* 8026F8B8 0026C818 80 0D 98 48 */ lwz r0, lbl_805A8408@sda21(r13) +/* 8026F8BC 0026C81C EC 0B 02 BA */ fmadds f0, f11, f10, f0 +/* 8026F8C0 0026C820 EC 65 00 28 */ fsubs f3, f5, f0 +/* 8026F8C4 0026C824 EC 44 00 28 */ fsubs f2, f4, f0 +/* 8026F8C8 0026C828 EC 25 00 2A */ fadds f1, f5, f0 +/* 8026F8CC 0026C82C EC 04 00 2A */ fadds f0, f4, f0 +/* 8026F8D0 0026C830 FC 60 18 1E */ fctiwz f3, f3 +/* 8026F8D4 0026C834 FC 40 10 1E */ fctiwz f2, f2 +/* 8026F8D8 0026C838 FC 20 08 1E */ fctiwz f1, f1 +/* 8026F8DC 0026C83C FC 00 00 1E */ fctiwz f0, f0 +/* 8026F8E0 0026C840 D8 61 00 28 */ stfd f3, 0x28(r1) +/* 8026F8E4 0026C844 D8 41 00 20 */ stfd f2, 0x20(r1) +/* 8026F8E8 0026C848 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 8026F8EC 0026C84C D8 21 00 30 */ stfd f1, 0x30(r1) +/* 8026F8F0 0026C850 39 26 FF FF */ addi r9, r6, -1 +/* 8026F8F4 0026C854 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8026F8F8 0026C858 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 8026F8FC 0026C85C 7C 09 00 00 */ cmpw r9, r0 +/* 8026F900 0026C860 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8026F904 0026C864 39 06 FF FF */ addi r8, r6, -1 +/* 8026F908 0026C868 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 8026F90C 0026C86C 38 E7 00 01 */ addi r7, r7, 1 +/* 8026F910 0026C870 91 21 00 1C */ stw r9, 0x1c(r1) +/* 8026F914 0026C874 38 06 00 01 */ addi r0, r6, 1 +/* 8026F918 0026C878 91 01 00 18 */ stw r8, 0x18(r1) +/* 8026F91C 0026C87C 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8026F920 0026C880 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026F924 0026C884 40 80 00 08 */ bge lbl_8026F92C +/* 8026F928 0026C888 38 6D 98 48 */ addi r3, r13, lbl_805A8408@sda21 +lbl_8026F92C: +/* 8026F92C 0026C88C 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F930 0026C890 38 61 00 14 */ addi r3, r1, 0x14 +/* 8026F934 0026C894 90 05 00 04 */ stw r0, 4(r5) +/* 8026F938 0026C898 88 C4 00 00 */ lbz r6, 0(r4) +/* 8026F93C 0026C89C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026F940 0026C8A0 7C C6 07 74 */ extsb r6, r6 +/* 8026F944 0026C8A4 7C 06 00 00 */ cmpw r6, r0 +/* 8026F948 0026C8A8 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026F94C 0026C8AC 40 80 00 08 */ bge lbl_8026F954 +/* 8026F950 0026C8B0 38 61 00 0C */ addi r3, r1, 0xc +lbl_8026F954: +/* 8026F954 0026C8B4 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F958 0026C8B8 38 C1 00 18 */ addi r6, r1, 0x18 +/* 8026F95C 0026C8BC 90 05 00 08 */ stw r0, 8(r5) +/* 8026F960 0026C8C0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8026F964 0026C8C4 80 0D 98 4C */ lwz r0, lbl_805A840C@sda21(r13) +/* 8026F968 0026C8C8 7C 03 00 00 */ cmpw r3, r0 +/* 8026F96C 0026C8CC 40 80 00 08 */ bge lbl_8026F974 +/* 8026F970 0026C8D0 38 CD 98 4C */ addi r6, r13, lbl_805A840C@sda21 +lbl_8026F974: +/* 8026F974 0026C8D4 80 06 00 00 */ lwz r0, 0(r6) +/* 8026F978 0026C8D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8026F97C 0026C8DC 90 05 00 0C */ stw r0, 0xc(r5) +/* 8026F980 0026C8E0 88 84 00 01 */ lbz r4, 1(r4) +/* 8026F984 0026C8E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026F988 0026C8E8 7C 84 07 74 */ extsb r4, r4 +/* 8026F98C 0026C8EC 7C 04 00 00 */ cmpw r4, r0 +/* 8026F990 0026C8F0 90 81 00 08 */ stw r4, 8(r1) +/* 8026F994 0026C8F4 40 80 00 08 */ bge lbl_8026F99C +/* 8026F998 0026C8F8 38 61 00 08 */ addi r3, r1, 8 +lbl_8026F99C: +/* 8026F99C 0026C8FC 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F9A0 0026C900 90 05 00 10 */ stw r0, 0x10(r5) +/* 8026F9A4 0026C904 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8026F9A8 0026C908 80 05 00 14 */ lwz r0, 0x14(r5) +/* 8026F9AC 0026C90C 7C 03 00 00 */ cmpw r3, r0 +/* 8026F9B0 0026C910 40 80 00 0C */ bge lbl_8026F9BC +/* 8026F9B4 0026C914 38 65 00 14 */ addi r3, r5, 0x14 +/* 8026F9B8 0026C918 48 00 00 08 */ b lbl_8026F9C0 +lbl_8026F9BC: +/* 8026F9BC 0026C91C 38 61 00 1C */ addi r3, r1, 0x1c +lbl_8026F9C0: +/* 8026F9C0 0026C920 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F9C4 0026C924 90 05 00 14 */ stw r0, 0x14(r5) +/* 8026F9C8 0026C928 80 65 00 18 */ lwz r3, 0x18(r5) +/* 8026F9CC 0026C92C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026F9D0 0026C930 7C 03 00 00 */ cmpw r3, r0 +/* 8026F9D4 0026C934 40 80 00 0C */ bge lbl_8026F9E0 +/* 8026F9D8 0026C938 38 65 00 18 */ addi r3, r5, 0x18 +/* 8026F9DC 0026C93C 48 00 00 08 */ b lbl_8026F9E4 +lbl_8026F9E0: +/* 8026F9E0 0026C940 38 61 00 14 */ addi r3, r1, 0x14 +lbl_8026F9E4: +/* 8026F9E4 0026C944 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F9E8 0026C948 90 05 00 18 */ stw r0, 0x18(r5) +/* 8026F9EC 0026C94C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8026F9F0 0026C950 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 8026F9F4 0026C954 7C 03 00 00 */ cmpw r3, r0 +/* 8026F9F8 0026C958 40 80 00 0C */ bge lbl_8026FA04 +/* 8026F9FC 0026C95C 38 65 00 1C */ addi r3, r5, 0x1c +/* 8026FA00 0026C960 48 00 00 08 */ b lbl_8026FA08 +lbl_8026FA04: +/* 8026FA04 0026C964 38 61 00 18 */ addi r3, r1, 0x18 +lbl_8026FA08: +/* 8026FA08 0026C968 80 03 00 00 */ lwz r0, 0(r3) +/* 8026FA0C 0026C96C 90 05 00 1C */ stw r0, 0x1c(r5) +/* 8026FA10 0026C970 80 65 00 20 */ lwz r3, 0x20(r5) +/* 8026FA14 0026C974 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026FA18 0026C978 7C 03 00 00 */ cmpw r3, r0 +/* 8026FA1C 0026C97C 40 80 00 0C */ bge lbl_8026FA28 +/* 8026FA20 0026C980 38 65 00 20 */ addi r3, r5, 0x20 +/* 8026FA24 0026C984 48 00 00 08 */ b lbl_8026FA2C +lbl_8026FA28: +/* 8026FA28 0026C988 38 61 00 10 */ addi r3, r1, 0x10 +lbl_8026FA2C: +/* 8026FA2C 0026C98C 80 03 00 00 */ lwz r0, 0(r3) +/* 8026FA30 0026C990 90 05 00 20 */ stw r0, 0x20(r5) +/* 8026FA34 0026C994 80 65 00 14 */ lwz r3, 0x14(r5) +/* 8026FA38 0026C998 80 05 00 18 */ lwz r0, 0x18(r5) +/* 8026FA3C 0026C99C 7C 03 00 00 */ cmpw r3, r0 +/* 8026FA40 0026C9A0 41 81 00 14 */ bgt lbl_8026FA54 +/* 8026FA44 0026C9A4 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 8026FA48 0026C9A8 80 05 00 20 */ lwz r0, 0x20(r5) +/* 8026FA4C 0026C9AC 7C 03 00 00 */ cmpw r3, r0 +/* 8026FA50 0026C9B0 40 81 00 0C */ ble lbl_8026FA5C +lbl_8026FA54: +/* 8026FA54 0026C9B4 38 60 00 00 */ li r3, 0 +/* 8026FA58 0026C9B8 48 00 00 08 */ b lbl_8026FA60 +lbl_8026FA5C: +/* 8026FA5C 0026C9BC 38 60 00 01 */ li r3, 1 +lbl_8026FA60: +/* 8026FA60 0026C9C0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026FA64 0026C9C4 4E 80 00 20 */ blr + +.global GetGlobalSineWave__Fv +GetGlobalSineWave__Fv: +/* 8026FA68 0026C9C8 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha +/* 8026FA6C 0026C9CC 38 63 DC C0 */ addi r3, r3, lbl_8046DCC0@l +/* 8026FA70 0026C9D0 4E 80 00 20 */ blr + +.global InitializeSineWave__Fv +InitializeSineWave__Fv: +/* 8026FA74 0026C9D4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8026FA78 0026C9D8 7C 08 02 A6 */ mflr r0 +/* 8026FA7C 0026C9DC 90 01 00 54 */ stw r0, 0x54(r1) +/* 8026FA80 0026C9E0 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8026FA84 0026C9E4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8026FA88 0026C9E8 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8026FA8C 0026C9EC F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 8026FA90 0026C9F0 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 8026FA94 0026C9F4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 8026FA98 0026C9F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026FA9C 0026C9FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026FAA0 0026CA00 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026FAA4 0026CA04 88 0D A5 7C */ lbz r0, lbl_805A913C@sda21(r13) +/* 8026FAA8 0026CA08 28 00 00 00 */ cmplwi r0, 0 +/* 8026FAAC 0026CA0C 40 82 00 60 */ bne lbl_8026FB0C +/* 8026FAB0 0026CA10 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha +/* 8026FAB4 0026CA14 C3 A2 BB B0 */ lfs f29, lbl_805AD8D0@sda21(r2) +/* 8026FAB8 0026CA18 CB C2 BB 98 */ lfd f30, lbl_805AD8B8@sda21(r2) +/* 8026FABC 0026CA1C 3B C3 DC C0 */ addi r30, r3, lbl_8046DCC0@l +/* 8026FAC0 0026CA20 C3 E2 BB B4 */ lfs f31, lbl_805AD8D4@sda21(r2) +/* 8026FAC4 0026CA24 3B A0 00 00 */ li r29, 0 +/* 8026FAC8 0026CA28 3F E0 43 30 */ lis r31, 0x4330 +lbl_8026FACC: +/* 8026FACC 0026CA2C 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 8026FAD0 0026CA30 93 E1 00 08 */ stw r31, 8(r1) +/* 8026FAD4 0026CA34 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026FAD8 0026CA38 C8 01 00 08 */ lfd f0, 8(r1) +/* 8026FADC 0026CA3C EC 00 F0 28 */ fsubs f0, f0, f30 +/* 8026FAE0 0026CA40 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8026FAE4 0026CA44 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 8026FAE8 0026CA48 48 12 4F F5 */ bl sin +/* 8026FAEC 0026CA4C FC 00 08 18 */ frsp f0, f1 +/* 8026FAF0 0026CA50 3B BD 00 01 */ addi r29, r29, 1 +/* 8026FAF4 0026CA54 2C 1D 01 00 */ cmpwi r29, 0x100 +/* 8026FAF8 0026CA58 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8026FAFC 0026CA5C 3B DE 00 04 */ addi r30, r30, 4 +/* 8026FB00 0026CA60 41 80 FF CC */ blt lbl_8026FACC +/* 8026FB04 0026CA64 38 00 00 01 */ li r0, 1 +/* 8026FB08 0026CA68 98 0D A5 7C */ stb r0, lbl_805A913C@sda21(r13) +lbl_8026FB0C: +/* 8026FB0C 0026CA6C 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha +/* 8026FB10 0026CA70 38 63 DC C0 */ addi r3, r3, lbl_8046DCC0@l +/* 8026FB14 0026CA74 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8026FB18 0026CA78 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8026FB1C 0026CA7C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 8026FB20 0026CA80 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 8026FB24 0026CA84 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 8026FB28 0026CA88 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 8026FB2C 0026CA8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026FB30 0026CA90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026FB34 0026CA94 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8026FB38 0026CA98 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026FB3C 0026CA9C 7C 08 03 A6 */ mtlr r0 +/* 8026FB40 0026CAA0 38 21 00 50 */ addi r1, r1, 0x50 +/* 8026FB44 0026CAA4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CGameArea.s b/asm/Kyoto_CWD/CGameArea.s index 372875e2..09bd60ed 100644 --- a/asm/Kyoto_CWD/CGameArea.s +++ b/asm/Kyoto_CWD/CGameArea.s @@ -4336,7 +4336,7 @@ lbl_80061700: /* 80061734 0005E694 41 82 00 14 */ beq lbl_80061748 /* 80061738 0005E698 38 81 01 C8 */ addi r4, r1, 0x1c8 /* 8006173C 0005E69C 38 BF 00 0C */ addi r5, r31, 0xc -/* 80061740 0005E6A0 48 24 11 E1 */ bl sub_802a2920 +/* 80061740 0005E6A0 48 24 11 E1 */ bl __ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f /* 80061744 0005E6A4 7C 7D 1B 78 */ mr r29, r3 lbl_80061748: /* 80061748 0005E6A8 83 3F 01 2C */ lwz r25, 0x12c(r31) diff --git a/asm/Kyoto_CWD/CGameCubeDoll.s b/asm/Kyoto_CWD/CGameCubeDoll.s new file mode 100644 index 00000000..05c6ea1b --- /dev/null +++ b/asm/Kyoto_CWD/CGameCubeDoll.s @@ -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 diff --git a/asm/Kyoto_CWD/CNESEmulator.s b/asm/Kyoto_CWD/CNESEmulator.s new file mode 100644 index 00000000..0a0115f6 --- /dev/null +++ b/asm/Kyoto_CWD/CNESEmulator.s @@ -0,0 +1,1289 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetPassword__12CNESEmulatorFv +GetPassword__12CNESEmulatorFv: +/* 80293B00 00290A60 38 63 00 21 */ addi r3, r3, 0x21 +/* 80293B04 00290A64 4E 80 00 20 */ blr + +.global IsGameOver__12CNESEmulatorFv +IsGameOver__12CNESEmulatorFv: +/* 80293B08 00290A68 88 63 00 20 */ lbz r3, 0x20(r3) +/* 80293B0C 00290A6C 4E 80 00 20 */ blr + +.global LoadPassword__12CNESEmulatorFPCc +LoadPassword__12CNESEmulatorFPCc: +/* 80293B10 00290A70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80293B14 00290A74 7C 08 02 A6 */ mflr r0 +/* 80293B18 00290A78 38 A0 00 12 */ li r5, 0x12 +/* 80293B1C 00290A7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80293B20 00290A80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80293B24 00290A84 7C 7F 1B 78 */ mr r31, r3 +/* 80293B28 00290A88 38 7F 00 39 */ addi r3, r31, 0x39 +/* 80293B2C 00290A8C 4B D6 F9 65 */ bl memcpy +/* 80293B30 00290A90 38 00 00 01 */ li r0, 1 +/* 80293B34 00290A94 98 1F 00 38 */ stb r0, 0x38(r31) +/* 80293B38 00290A98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80293B3C 00290A9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80293B40 00290AA0 7C 08 03 A6 */ mtlr r0 +/* 80293B44 00290AA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80293B48 00290AA8 4E 80 00 20 */ blr + +.global GetPasswordEntryState__12CNESEmulatorFv +GetPasswordEntryState__12CNESEmulatorFv: +/* 80293B4C 00290AAC 80 63 00 34 */ lwz r3, 0x34(r3) +/* 80293B50 00290AB0 4E 80 00 20 */ blr + +.global Draw__12CNESEmulatorFRC6CColorb +Draw__12CNESEmulatorFRC6CColorb: +/* 80293B54 00290AB4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80293B58 00290AB8 7C 08 02 A6 */ mflr r0 +/* 80293B5C 00290ABC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80293B60 00290AC0 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80293B64 00290AC4 7C 7C 1B 78 */ mr r28, r3 +/* 80293B68 00290AC8 7C 9F 23 78 */ mr r31, r4 +/* 80293B6C 00290ACC 7C BB 2B 78 */ mr r27, r5 +/* 80293B70 00290AD0 80 03 00 00 */ lwz r0, 0(r3) +/* 80293B74 00290AD4 28 00 00 00 */ cmplwi r0, 0 +/* 80293B78 00290AD8 40 82 02 A0 */ bne lbl_80293E18 +/* 80293B7C 00290ADC 38 60 00 02 */ li r3, 2 +/* 80293B80 00290AE0 48 0E 4F D9 */ bl GXSetCullMode +/* 80293B84 00290AE4 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 80293B88 00290AE8 C0 62 BF 44 */ lfs f3, lbl_805ADC64@sda21(r2) +/* 80293B8C 00290AEC FC 40 08 90 */ fmr f2, f1 +/* 80293B90 00290AF0 C0 82 BF 48 */ lfs f4, lbl_805ADC68@sda21(r2) +/* 80293B94 00290AF4 C0 A2 BF 4C */ lfs f5, lbl_805ADC6C@sda21(r2) +/* 80293B98 00290AF8 C0 C2 BF 50 */ lfs f6, lbl_805ADC70@sda21(r2) +/* 80293B9C 00290AFC 48 0E 8A AD */ bl GXSetViewport +/* 80293BA0 00290B00 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 80293BA4 00290B04 80 7C 00 08 */ lwz r3, 8(r28) +/* 80293BA8 00290B08 81 84 00 18 */ lwz r12, 0x18(r4) +/* 80293BAC 00290B0C 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80293BB0 00290B10 7D 89 03 A6 */ mtctr r12 +/* 80293BB4 00290B14 4E 80 04 21 */ bctrl +/* 80293BB8 00290B18 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 80293BBC 00290B1C 80 7C 00 08 */ lwz r3, 8(r28) +/* 80293BC0 00290B20 81 84 00 1C */ lwz r12, 0x1c(r4) +/* 80293BC4 00290B24 7D 89 03 A6 */ mtctr r12 +/* 80293BC8 00290B28 4E 80 04 21 */ bctrl +/* 80293BCC 00290B2C 38 60 00 00 */ li r3, 0 +/* 80293BD0 00290B30 48 0E 8B 6D */ bl GXSetClipMode +/* 80293BD4 00290B34 38 60 00 00 */ li r3, 0 +/* 80293BD8 00290B38 38 80 00 09 */ li r4, 9 +/* 80293BDC 00290B3C 38 A0 00 01 */ li r5, 1 +/* 80293BE0 00290B40 38 C0 00 04 */ li r6, 4 +/* 80293BE4 00290B44 38 E0 00 00 */ li r7, 0 +/* 80293BE8 00290B48 48 0E 3B A5 */ bl GXSetVtxAttrFmt +/* 80293BEC 00290B4C 38 60 00 00 */ li r3, 0 +/* 80293BF0 00290B50 38 80 00 0A */ li r4, 0xa +/* 80293BF4 00290B54 38 A0 00 00 */ li r5, 0 +/* 80293BF8 00290B58 38 C0 00 04 */ li r6, 4 +/* 80293BFC 00290B5C 38 E0 00 00 */ li r7, 0 +/* 80293C00 00290B60 48 0E 3B 8D */ bl GXSetVtxAttrFmt +/* 80293C04 00290B64 38 60 00 00 */ li r3, 0 +/* 80293C08 00290B68 38 80 00 0B */ li r4, 0xb +/* 80293C0C 00290B6C 38 A0 00 01 */ li r5, 1 +/* 80293C10 00290B70 38 C0 00 05 */ li r6, 5 +/* 80293C14 00290B74 38 E0 00 00 */ li r7, 0 +/* 80293C18 00290B78 48 0E 3B 75 */ bl GXSetVtxAttrFmt +/* 80293C1C 00290B7C 38 60 00 00 */ li r3, 0 +/* 80293C20 00290B80 38 80 00 0D */ li r4, 0xd +/* 80293C24 00290B84 38 A0 00 01 */ li r5, 1 +/* 80293C28 00290B88 38 C0 00 04 */ li r6, 4 +/* 80293C2C 00290B8C 38 E0 00 00 */ li r7, 0 +/* 80293C30 00290B90 48 0E 3B 5D */ bl GXSetVtxAttrFmt +/* 80293C34 00290B94 3B C0 00 01 */ li r30, 1 +lbl_80293C38: +/* 80293C38 00290B98 38 9E 00 0D */ addi r4, r30, 0xd +/* 80293C3C 00290B9C 38 60 00 00 */ li r3, 0 +/* 80293C40 00290BA0 38 A0 00 01 */ li r5, 1 +/* 80293C44 00290BA4 38 C0 00 04 */ li r6, 4 +/* 80293C48 00290BA8 38 E0 00 00 */ li r7, 0 +/* 80293C4C 00290BAC 48 0E 3B 41 */ bl GXSetVtxAttrFmt +/* 80293C50 00290BB0 3B DE 00 01 */ addi r30, r30, 1 +/* 80293C54 00290BB4 2C 1E 00 07 */ cmpwi r30, 7 +/* 80293C58 00290BB8 40 81 FF E0 */ ble lbl_80293C38 +/* 80293C5C 00290BBC 38 60 00 00 */ li r3, 0 +/* 80293C60 00290BC0 38 80 00 03 */ li r4, 3 +/* 80293C64 00290BC4 48 0E 77 B5 */ bl GXSetTevOp +/* 80293C68 00290BC8 38 60 00 00 */ li r3, 0 +/* 80293C6C 00290BCC 38 80 00 00 */ li r4, 0 +/* 80293C70 00290BD0 38 A0 00 00 */ li r5, 0 +/* 80293C74 00290BD4 38 C0 00 00 */ li r6, 0 +/* 80293C78 00290BD8 48 0E 6C 39 */ bl GXSetTexCoordCylWrap +/* 80293C7C 00290BDC 48 07 44 59 */ bl sub_803080d4 +/* 80293C80 00290BE0 38 60 00 00 */ li r3, 0 +/* 80293C84 00290BE4 48 07 51 CD */ bl SetNumChans__3CGXFUc +/* 80293C88 00290BE8 38 60 00 01 */ li r3, 1 +/* 80293C8C 00290BEC 48 07 51 89 */ bl SetNumTexGens__3CGXFUc +/* 80293C90 00290BF0 38 60 00 01 */ li r3, 1 +/* 80293C94 00290BF4 48 07 4F FD */ bl SetNumTevStages__3CGXFUc +/* 80293C98 00290BF8 38 60 00 00 */ li r3, 0 +/* 80293C9C 00290BFC 48 07 49 F5 */ bl SetNumIndStages__3CGXFUc +/* 80293CA0 00290C00 38 60 00 00 */ li r3, 0 +/* 80293CA4 00290C04 38 80 00 01 */ li r4, 1 +/* 80293CA8 00290C08 38 A0 00 04 */ li r5, 4 +/* 80293CAC 00290C0C 38 C0 00 3C */ li r6, 0x3c +/* 80293CB0 00290C10 38 E0 00 00 */ li r7, 0 +/* 80293CB4 00290C14 39 00 00 7D */ li r8, 0x7d +/* 80293CB8 00290C18 48 07 4A 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80293CBC 00290C1C 38 60 00 00 */ li r3, 0 +/* 80293CC0 00290C20 48 07 4A 85 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80293CC4 00290C24 38 60 00 00 */ li r3, 0 +/* 80293CC8 00290C28 38 80 00 00 */ li r4, 0 +/* 80293CCC 00290C2C 38 A0 00 00 */ li r5, 0 +/* 80293CD0 00290C30 38 C0 00 FF */ li r6, 0xff +/* 80293CD4 00290C34 48 07 4C 79 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80293CD8 00290C38 38 60 00 07 */ li r3, 7 +/* 80293CDC 00290C3C 38 80 00 00 */ li r4, 0 +/* 80293CE0 00290C40 38 A0 00 00 */ li r5, 0 +/* 80293CE4 00290C44 38 C0 00 07 */ li r6, 7 +/* 80293CE8 00290C48 38 E0 00 00 */ li r7, 0 +/* 80293CEC 00290C4C 48 07 7D 3D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80293CF0 00290C50 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80293CF4 00290C54 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80293CF8 00290C58 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80293CFC 00290C5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80293D00 00290C60 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80293D04 00290C64 7D 89 03 A6 */ mtctr r12 +/* 80293D08 00290C68 4E 80 04 21 */ bctrl +/* 80293D0C 00290C6C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80293D10 00290C70 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80293D14 00290C74 48 07 8A 39 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80293D18 00290C78 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80293D1C 00290C7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80293D20 00290C80 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 80293D24 00290C84 7D 89 03 A6 */ mtctr r12 +/* 80293D28 00290C88 4E 80 04 21 */ bctrl +/* 80293D2C 00290C8C 57 65 06 3E */ clrlwi r5, r27, 0x18 +/* 80293D30 00290C90 80 9C 00 04 */ lwz r4, 4(r28) +/* 80293D34 00290C94 7C 05 00 D0 */ neg r0, r5 +/* 80293D38 00290C98 38 61 00 08 */ addi r3, r1, 8 +/* 80293D3C 00290C9C 7C 00 2B 78 */ or r0, r0, r5 +/* 80293D40 00290CA0 38 A0 01 00 */ li r5, 0x100 +/* 80293D44 00290CA4 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 80293D48 00290CA8 38 C0 00 E4 */ li r6, 0xe4 +/* 80293D4C 00290CAC 38 E0 00 04 */ li r7, 4 +/* 80293D50 00290CB0 39 00 00 00 */ li r8, 0 +/* 80293D54 00290CB4 39 20 00 00 */ li r9, 0 +/* 80293D58 00290CB8 39 40 00 00 */ li r10, 0 +/* 80293D5C 00290CBC 48 0E 61 09 */ bl GXInitTexObj +/* 80293D60 00290CC0 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 80293D64 00290CC4 7F C4 F3 78 */ mr r4, r30 +/* 80293D68 00290CC8 7F C5 F3 78 */ mr r5, r30 +/* 80293D6C 00290CCC 38 61 00 08 */ addi r3, r1, 8 +/* 80293D70 00290CD0 FC 40 08 90 */ fmr f2, f1 +/* 80293D74 00290CD4 38 C0 00 00 */ li r6, 0 +/* 80293D78 00290CD8 FC 60 08 90 */ fmr f3, f1 +/* 80293D7C 00290CDC 38 E0 00 00 */ li r7, 0 +/* 80293D80 00290CE0 39 00 00 00 */ li r8, 0 +/* 80293D84 00290CE4 48 0E 63 9D */ bl GXInitTexObjLOD +/* 80293D88 00290CE8 38 60 00 00 */ li r3, 0 +/* 80293D8C 00290CEC 48 07 A3 BD */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 80293D90 00290CF0 48 0E 6A B1 */ bl GXInvalidateTexAll +/* 80293D94 00290CF4 38 61 00 08 */ addi r3, r1, 8 +/* 80293D98 00290CF8 38 80 00 00 */ li r4, 0 +/* 80293D9C 00290CFC 48 0E 66 F9 */ bl GXLoadTexObj +/* 80293DA0 00290D00 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80293DA4 00290D04 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80293DA8 00290D08 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l +/* 80293DAC 00290D0C 83 C5 00 00 */ lwz r30, 0(r5) +/* 80293DB0 00290D10 38 60 00 00 */ li r3, 0 +/* 80293DB4 00290D14 83 A5 00 04 */ lwz r29, 4(r5) +/* 80293DB8 00290D18 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80293DBC 00290D1C 83 85 00 08 */ lwz r28, 8(r5) +/* 80293DC0 00290D20 83 65 00 0C */ lwz r27, 0xc(r5) +/* 80293DC4 00290D24 48 07 64 F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80293DC8 00290D28 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80293DCC 00290D2C 38 80 00 00 */ li r4, 0 +/* 80293DD0 00290D30 88 03 03 18 */ lbz r0, 0x318(r3) +/* 80293DD4 00290D34 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 80293DD8 00290D38 7C 03 00 D0 */ neg r0, r3 +/* 80293DDC 00290D3C 7C 00 1B 78 */ or r0, r0, r3 +/* 80293DE0 00290D40 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80293DE4 00290D44 48 0E 81 E1 */ bl GXSetPixelFmt +/* 80293DE8 00290D48 7F C3 F3 78 */ mr r3, r30 +/* 80293DEC 00290D4C 7F 85 E3 78 */ mr r5, r28 +/* 80293DF0 00290D50 7F E7 FB 78 */ mr r7, r31 +/* 80293DF4 00290D54 7C 9D DA 14 */ add r4, r29, r27 +/* 80293DF8 00290D58 7C DB 00 D0 */ neg r6, r27 +/* 80293DFC 00290D5C 48 00 00 31 */ bl sub_80293e2c +/* 80293E00 00290D60 38 60 00 07 */ li r3, 7 +/* 80293E04 00290D64 38 80 00 00 */ li r4, 0 +/* 80293E08 00290D68 38 A0 00 00 */ li r5, 0 +/* 80293E0C 00290D6C 38 C0 00 07 */ li r6, 7 +/* 80293E10 00290D70 38 E0 00 00 */ li r7, 0 +/* 80293E14 00290D74 48 07 4A 01 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +lbl_80293E18: +/* 80293E18 00290D78 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 80293E1C 00290D7C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80293E20 00290D80 7C 08 03 A6 */ mtlr r0 +/* 80293E24 00290D84 38 21 00 40 */ addi r1, r1, 0x40 +/* 80293E28 00290D88 4E 80 00 20 */ blr + +.global sub_80293e2c +sub_80293e2c: +/* 80293E2C 00290D8C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80293E30 00290D90 7C 08 02 A6 */ mflr r0 +/* 80293E34 00290D94 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80293E38 00290D98 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80293E3C 00290D9C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80293E40 00290DA0 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80293E44 00290DA4 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80293E48 00290DA8 BF 21 00 84 */ stmw r25, 0x84(r1) +/* 80293E4C 00290DAC 3D 00 80 3F */ lis r8, lbl_803ED910@ha +/* 80293E50 00290DB0 7C 79 1B 78 */ mr r25, r3 +/* 80293E54 00290DB4 39 48 D9 10 */ addi r10, r8, lbl_803ED910@l +/* 80293E58 00290DB8 7C 9A 23 78 */ mr r26, r4 +/* 80293E5C 00290DBC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80293E60 00290DC0 7C BB 2B 78 */ mr r27, r5 +/* 80293E64 00290DC4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80293E68 00290DC8 7C DC 33 78 */ mr r28, r6 +/* 80293E6C 00290DCC 80 AA 00 08 */ lwz r5, 8(r10) +/* 80293E70 00290DD0 7C FD 3B 78 */ mr r29, r7 +/* 80293E74 00290DD4 80 8A 00 0C */ lwz r4, 0xc(r10) +/* 80293E78 00290DD8 80 6A 00 10 */ lwz r3, 0x10(r10) +/* 80293E7C 00290DDC 80 0A 00 14 */ lwz r0, 0x14(r10) +/* 80293E80 00290DE0 91 21 00 24 */ stw r9, 0x24(r1) +/* 80293E84 00290DE4 91 01 00 28 */ stw r8, 0x28(r1) +/* 80293E88 00290DE8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80293E8C 00290DEC 90 81 00 30 */ stw r4, 0x30(r1) +/* 80293E90 00290DF0 90 61 00 34 */ stw r3, 0x34(r1) +/* 80293E94 00290DF4 90 01 00 38 */ stw r0, 0x38(r1) +/* 80293E98 00290DF8 48 07 5F C5 */ bl GetProjectionState__9CGraphicsFv +/* 80293E9C 00290DFC 88 03 00 00 */ lbz r0, 0(r3) +/* 80293EA0 00290E00 3C C0 43 30 */ lis r6, 0x4330 +/* 80293EA4 00290E04 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80293EA8 00290E08 98 01 00 08 */ stb r0, 8(r1) +/* 80293EAC 00290E0C 81 01 00 30 */ lwz r8, 0x30(r1) +/* 80293EB0 00290E10 7C 85 00 D0 */ neg r4, r5 +/* 80293EB4 00290E14 C0 03 00 04 */ lfs f0, 4(r3) +/* 80293EB8 00290E18 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80293EBC 00290E1C 7C 80 22 14 */ add r4, r0, r4 +/* 80293EC0 00290E20 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 80293EC4 00290E24 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80293EC8 00290E28 7C 87 0E 70 */ srawi r7, r4, 1 +/* 80293ECC 00290E2C 7C A0 2A 14 */ add r5, r0, r5 +/* 80293ED0 00290E30 55 00 0F FE */ srwi r0, r8, 0x1f +/* 80293ED4 00290E34 C0 03 00 08 */ lfs f0, 8(r3) +/* 80293ED8 00290E38 7C 88 00 D0 */ neg r4, r8 +/* 80293EDC 00290E3C 7C BF 0E 70 */ srawi r31, r5, 1 +/* 80293EE0 00290E40 7C A0 42 14 */ add r5, r0, r8 +/* 80293EE4 00290E44 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80293EE8 00290E48 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80293EEC 00290E4C 7C BE 0E 70 */ srawi r30, r5, 1 +/* 80293EF0 00290E50 6C E7 80 00 */ xoris r7, r7, 0x8000 +/* 80293EF4 00290E54 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80293EF8 00290E58 7C 00 22 14 */ add r0, r0, r4 +/* 80293EFC 00290E5C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80293F00 00290E60 6F E5 80 00 */ xoris r5, r31, 0x8000 +/* 80293F04 00290E64 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80293F08 00290E68 6F C4 80 00 */ xoris r4, r30, 0x8000 +/* 80293F0C 00290E6C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80293F10 00290E70 C8 82 BF 60 */ lfd f4, lbl_805ADC80@sda21(r2) +/* 80293F14 00290E74 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80293F18 00290E78 90 E1 00 44 */ stw r7, 0x44(r1) +/* 80293F1C 00290E7C C0 A2 BF 40 */ lfs f5, lbl_805ADC60@sda21(r2) +/* 80293F20 00290E80 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80293F24 00290E84 C0 C2 BF 54 */ lfs f6, lbl_805ADC74@sda21(r2) +/* 80293F28 00290E88 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80293F2C 00290E8C 90 C1 00 40 */ stw r6, 0x40(r1) +/* 80293F30 00290E90 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80293F34 00290E94 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80293F38 00290E98 C0 E3 00 18 */ lfs f7, 0x18(r3) +/* 80293F3C 00290E9C 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 80293F40 00290EA0 EC 20 20 28 */ fsubs f1, f0, f4 +/* 80293F44 00290EA4 90 C1 00 48 */ stw r6, 0x48(r1) +/* 80293F48 00290EA8 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80293F4C 00290EAC 90 81 00 54 */ stw r4, 0x54(r1) +/* 80293F50 00290EB0 EC 40 20 28 */ fsubs f2, f0, f4 +/* 80293F54 00290EB4 90 C1 00 50 */ stw r6, 0x50(r1) +/* 80293F58 00290EB8 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 80293F5C 00290EBC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80293F60 00290EC0 EC 60 20 28 */ fsubs f3, f0, f4 +/* 80293F64 00290EC4 90 C1 00 58 */ stw r6, 0x58(r1) +/* 80293F68 00290EC8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80293F6C 00290ECC D0 E1 00 20 */ stfs f7, 0x20(r1) +/* 80293F70 00290ED0 EC 80 20 28 */ fsubs f4, f0, f4 +/* 80293F74 00290ED4 48 07 85 E1 */ bl SetOrtho__9CGraphicsFffffff +/* 80293F78 00290ED8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80293F7C 00290EDC 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80293F80 00290EE0 48 07 86 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80293F84 00290EE4 7C BF C8 50 */ subf r5, r31, r25 +/* 80293F88 00290EE8 3C 80 43 30 */ lis r4, 0x4330 +/* 80293F8C 00290EEC 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80293F90 00290EF0 7C 1E D0 50 */ subf r0, r30, r26 +/* 80293F94 00290EF4 90 A1 00 64 */ stw r5, 0x64(r1) +/* 80293F98 00290EF8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80293F9C 00290EFC 3C 60 80 3D */ lis r3, lbl_803D5B8C@ha +/* 80293FA0 00290F00 C8 22 BF 60 */ lfd f1, lbl_805ADC80@sda21(r2) +/* 80293FA4 00290F04 90 81 00 60 */ stw r4, 0x60(r1) +/* 80293FA8 00290F08 38 63 5B 8C */ addi r3, r3, lbl_803D5B8C@l +/* 80293FAC 00290F0C C8 01 00 60 */ lfd f0, 0x60(r1) +/* 80293FB0 00290F10 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80293FB4 00290F14 EF E0 08 28 */ fsubs f31, f0, f1 +/* 80293FB8 00290F18 90 81 00 68 */ stw r4, 0x68(r1) +/* 80293FBC 00290F1C C8 01 00 68 */ lfd f0, 0x68(r1) +/* 80293FC0 00290F20 EF C0 08 28 */ fsubs f30, f0, f1 +/* 80293FC4 00290F24 48 07 3E 65 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80293FC8 00290F28 48 07 89 B5 */ bl DisableAllLights__9CGraphicsFv +/* 80293FCC 00290F2C 38 60 00 00 */ li r3, 0 +/* 80293FD0 00290F30 38 80 00 0F */ li r4, 0xf +/* 80293FD4 00290F34 38 A0 00 08 */ li r5, 8 +/* 80293FD8 00290F38 38 C0 00 0E */ li r6, 0xe +/* 80293FDC 00290F3C 38 E0 00 0F */ li r7, 0xf +/* 80293FE0 00290F40 48 07 4C 0D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80293FE4 00290F44 38 60 00 00 */ li r3, 0 +/* 80293FE8 00290F48 38 80 00 07 */ li r4, 7 +/* 80293FEC 00290F4C 38 A0 00 07 */ li r5, 7 +/* 80293FF0 00290F50 38 C0 00 07 */ li r6, 7 +/* 80293FF4 00290F54 38 E0 00 04 */ li r7, 4 +/* 80293FF8 00290F58 48 07 4B 9D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80293FFC 00290F5C 38 60 00 00 */ li r3, 0 +/* 80294000 00290F60 38 80 00 00 */ li r4, 0 +/* 80294004 00290F64 38 A0 00 00 */ li r5, 0 +/* 80294008 00290F68 38 C0 00 FF */ li r6, 0xff +/* 8029400C 00290F6C 48 07 49 41 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80294010 00290F70 38 60 00 00 */ li r3, 0 +/* 80294014 00290F74 38 80 00 00 */ li r4, 0 +/* 80294018 00290F78 38 A0 00 04 */ li r5, 4 +/* 8029401C 00290F7C 38 C0 00 3C */ li r6, 0x3c +/* 80294020 00290F80 38 E0 00 00 */ li r7, 0 +/* 80294024 00290F84 39 00 00 7D */ li r8, 0x7d +/* 80294028 00290F88 48 07 46 A5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8029402C 00290F8C 38 60 00 00 */ li r3, 0 +/* 80294030 00290F90 48 07 4E 21 */ bl SetNumChans__3CGXFUc +/* 80294034 00290F94 38 60 00 01 */ li r3, 1 +/* 80294038 00290F98 48 07 4D DD */ bl SetNumTexGens__3CGXFUc +/* 8029403C 00290F9C 38 60 00 01 */ li r3, 1 +/* 80294040 00290FA0 48 07 4C 51 */ bl SetNumTevStages__3CGXFUc +/* 80294044 00290FA4 38 60 00 01 */ li r3, 1 +/* 80294048 00290FA8 38 80 00 07 */ li r4, 7 +/* 8029404C 00290FAC 38 A0 00 00 */ li r5, 0 +/* 80294050 00290FB0 48 07 48 2D */ bl SetZMode__3CGXFb10_GXCompareb +/* 80294054 00290FB4 7F A4 EB 78 */ mr r4, r29 +/* 80294058 00290FB8 38 60 00 00 */ li r3, 0 +/* 8029405C 00290FBC 48 07 4B E9 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 80294060 00290FC0 38 60 00 00 */ li r3, 0 +/* 80294064 00290FC4 38 80 00 0C */ li r4, 0xc +/* 80294068 00290FC8 48 07 49 79 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8029406C 00290FCC 38 60 00 00 */ li r3, 0 +/* 80294070 00290FD0 48 0E 4A E9 */ bl GXSetCullMode +/* 80294074 00290FD4 38 60 00 98 */ li r3, 0x98 +/* 80294078 00290FD8 38 80 00 00 */ li r4, 0 +/* 8029407C 00290FDC 38 A0 00 04 */ li r5, 4 +/* 80294080 00290FE0 48 07 45 05 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80294084 00290FE4 3C 60 43 30 */ lis r3, 0x4330 +/* 80294088 00290FE8 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 8029408C 00290FEC 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 80294090 00290FF0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80294094 00290FF4 C0 62 BF 58 */ lfs f3, lbl_805ADC78@sda21(r2) +/* 80294098 00290FF8 6F 80 80 00 */ xoris r0, r28, 0x8000 +/* 8029409C 00290FFC D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 802940A0 00291000 C8 22 BF 60 */ lfd f1, lbl_805ADC80@sda21(r2) +/* 802940A4 00291004 90 61 00 70 */ stw r3, 0x70(r1) +/* 802940A8 00291008 C0 42 BF 40 */ lfs f2, lbl_805ADC60@sda21(r2) +/* 802940AC 0029100C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940B0 00291010 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802940B4 00291014 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 802940B8 00291018 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802940BC 0029101C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 802940C0 00291020 EC 9F 00 2A */ fadds f4, f31, f0 +/* 802940C4 00291024 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 802940C8 00291028 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802940CC 0029102C D0 84 80 00 */ stfs f4, 0xCC008000@l(r4) +/* 802940D0 00291030 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940D4 00291034 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 802940D8 00291038 90 61 00 78 */ stw r3, 0x78(r1) +/* 802940DC 0029103C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940E0 00291040 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 802940E4 00291044 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 802940E8 00291048 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802940EC 0029104C D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 802940F0 00291050 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802940F4 00291054 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940F8 00291058 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 802940FC 0029105C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 80294100 00291060 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 80294104 00291064 D0 84 80 00 */ stfs f4, 0xCC008000@l(r4) +/* 80294108 00291068 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8029410C 0029106C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 80294110 00291070 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 80294114 00291074 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 80294118 00291078 48 07 44 69 */ bl End__3CGXFv +/* 8029411C 0029107C 38 60 00 01 */ li r3, 1 +/* 80294120 00291080 48 0E 4A 39 */ bl GXSetCullMode +/* 80294124 00291084 38 61 00 08 */ addi r3, r1, 8 +/* 80294128 00291088 48 07 5C D9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 8029412C 0029108C E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80294130 00291090 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80294134 00291094 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80294138 00291098 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8029413C 0029109C BB 21 00 84 */ lmw r25, 0x84(r1) +/* 80294140 002910A0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80294144 002910A4 7C 08 03 A6 */ mtlr r0 +/* 80294148 002910A8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8029414C 002910AC 4E 80 00 20 */ blr + +.global Update__12CNESEmulatorFv +Update__12CNESEmulatorFv: +/* 80294150 002910B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80294154 002910B4 7C 08 02 A6 */ mflr r0 +/* 80294158 002910B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029415C 002910BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294160 002910C0 7C 7F 1B 78 */ mr r31, r3 +/* 80294164 002910C4 80 63 00 00 */ lwz r3, 0(r3) +/* 80294168 002910C8 28 03 00 00 */ cmplwi r3, 0 +/* 8029416C 002910CC 41 82 00 FC */ beq lbl_80294268 +/* 80294170 002910D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80294174 002910D4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80294178 002910D8 7D 89 03 A6 */ mtctr r12 +/* 8029417C 002910DC 4E 80 04 21 */ bctrl +/* 80294180 002910E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80294184 002910E4 41 82 01 58 */ beq lbl_802942DC +/* 80294188 002910E8 3C 60 80 3D */ lis r3, lbl_803D5BA4@ha +/* 8029418C 002910EC 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80294190 002910F0 38 A3 5B A4 */ addi r5, r3, lbl_803D5BA4@l +/* 80294194 002910F4 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80294198 002910F8 38 61 00 08 */ addi r3, r1, 8 +/* 8029419C 002910FC 38 80 FF FF */ li r4, -1 +/* 802941A0 00291100 48 04 22 35 */ bl __ct__10CCallStackFUiPCcPCc +/* 802941A4 00291104 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 802941A8 00291108 7C 67 1B 78 */ mr r7, r3 +/* 802941AC 0029110C 38 80 00 02 */ li r4, 2 +/* 802941B0 00291110 38 C0 00 00 */ li r6, 0 +/* 802941B4 00291114 80 65 00 20 */ lwz r3, 0x20(r5) +/* 802941B8 00291118 38 A0 00 01 */ li r5, 1 +/* 802941BC 0029111C 48 08 17 D9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802941C0 00291120 90 7F 00 14 */ stw r3, 0x14(r31) +/* 802941C4 00291124 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802941C8 00291128 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802941CC 0029112C 48 0E DF C5 */ bl OSLink +/* 802941D0 00291130 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802941D4 00291134 81 83 00 34 */ lwz r12, 0x34(r3) +/* 802941D8 00291138 7D 89 03 A6 */ mtctr r12 +/* 802941DC 0029113C 4E 80 04 21 */ bctrl +/* 802941E0 00291140 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) +/* 802941E4 00291144 81 83 00 00 */ lwz r12, 0(r3) +/* 802941E8 00291148 7D 89 03 A6 */ mtctr r12 +/* 802941EC 0029114C 4E 80 04 21 */ bctrl +/* 802941F0 00291150 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 802941F4 00291154 38 A0 00 00 */ li r5, 0 +/* 802941F8 00291158 80 7F 00 08 */ lwz r3, 8(r31) +/* 802941FC 0029115C 81 84 00 0C */ lwz r12, 0xc(r4) +/* 80294200 00291160 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80294204 00291164 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 80294208 00291168 80 FF 00 1C */ lwz r7, 0x1c(r31) +/* 8029420C 0029116C 7D 89 03 A6 */ mtctr r12 +/* 80294210 00291170 4E 80 04 21 */ bctrl +/* 80294214 00291174 80 7F 00 08 */ lwz r3, 8(r31) +/* 80294218 00291178 38 00 00 00 */ li r0, 0 +/* 8029421C 0029117C 90 03 00 20 */ stw r0, 0x20(r3) +/* 80294220 00291180 80 7F 00 08 */ lwz r3, 8(r31) +/* 80294224 00291184 90 03 00 28 */ stw r0, 0x28(r3) +/* 80294228 00291188 80 7F 00 08 */ lwz r3, 8(r31) +/* 8029422C 0029118C 90 03 00 24 */ stw r0, 0x24(r3) +/* 80294230 00291190 80 7F 00 08 */ lwz r3, 8(r31) +/* 80294234 00291194 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80294238 00291198 80 7F 00 00 */ lwz r3, 0(r31) +/* 8029423C 0029119C 28 03 00 00 */ cmplwi r3, 0 +/* 80294240 002911A0 41 82 00 18 */ beq lbl_80294258 +/* 80294244 002911A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80294248 002911A8 38 80 00 01 */ li r4, 1 +/* 8029424C 002911AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80294250 002911B0 7D 89 03 A6 */ mtctr r12 +/* 80294254 002911B4 4E 80 04 21 */ bctrl +lbl_80294258: +/* 80294258 002911B8 38 00 00 00 */ li r0, 0 +/* 8029425C 002911BC 90 1F 00 00 */ stw r0, 0(r31) +/* 80294260 002911C0 48 00 00 08 */ b lbl_80294268 +/* 80294264 002911C4 48 00 00 78 */ b lbl_802942DC +lbl_80294268: +/* 80294268 002911C8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8029426C 002911CC 38 9F 00 21 */ addi r4, r31, 0x21 +/* 80294270 002911D0 38 63 08 00 */ addi r3, r3, 0x800 +/* 80294274 002911D4 48 00 07 15 */ bl CheckForGameOver__12CNESEmulatorFPCcPc +/* 80294278 002911D8 98 7F 00 20 */ stb r3, 0x20(r31) +/* 8029427C 002911DC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80294280 002911E0 38 63 08 00 */ addi r3, r3, 0x800 +/* 80294284 002911E4 48 00 0A 45 */ bl CheckForPasswordEntryScreen__12CNESEmulatorFPCc +/* 80294288 002911E8 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8029428C 002911EC 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80294290 002911F0 2C 00 00 01 */ cmpwi r0, 1 +/* 80294294 002911F4 40 82 00 2C */ bne lbl_802942C0 +/* 80294298 002911F8 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 8029429C 002911FC 28 00 00 00 */ cmplwi r0, 0 +/* 802942A0 00291200 41 82 00 20 */ beq lbl_802942C0 +/* 802942A4 00291204 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802942A8 00291208 38 BF 00 39 */ addi r5, r31, 0x39 +/* 802942AC 0029120C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 802942B0 00291210 38 63 08 00 */ addi r3, r3, 0x800 +/* 802942B4 00291214 48 00 08 39 */ bl SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc +/* 802942B8 00291218 38 00 00 00 */ li r0, 0 +/* 802942BC 0029121C 98 1F 00 38 */ stb r0, 0x38(r31) +lbl_802942C0: +/* 802942C0 00291220 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 802942C4 00291224 38 A0 00 00 */ li r5, 0 +/* 802942C8 00291228 80 7F 00 08 */ lwz r3, 8(r31) +/* 802942CC 0029122C 81 84 00 10 */ lwz r12, 0x10(r4) +/* 802942D0 00291230 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802942D4 00291234 7D 89 03 A6 */ mtctr r12 +/* 802942D8 00291238 4E 80 04 21 */ bctrl +lbl_802942DC: +/* 802942DC 0029123C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802942E0 00291240 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802942E4 00291244 7C 08 03 A6 */ mtlr r0 +/* 802942E8 00291248 38 21 00 20 */ addi r1, r1, 0x20 +/* 802942EC 0029124C 4E 80 00 20 */ blr + +.global ProcessUserInput__12CNESEmulatorFRC11CFinalInputi +ProcessUserInput__12CNESEmulatorFRC11CFinalInputi: +/* 802942F0 00291250 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802942F4 00291254 7C 08 02 A6 */ mflr r0 +/* 802942F8 00291258 90 01 00 24 */ stw r0, 0x24(r1) +/* 802942FC 0029125C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294300 00291260 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80294304 00291264 7C BE 2B 78 */ mr r30, r5 +/* 80294308 00291268 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029430C 0029126C 7C 9D 23 78 */ mr r29, r4 +/* 80294310 00291270 93 81 00 10 */ stw r28, 0x10(r1) +/* 80294314 00291274 7C 7C 1B 78 */ mr r28, r3 +/* 80294318 00291278 80 03 00 00 */ lwz r0, 0(r3) +/* 8029431C 0029127C 28 00 00 00 */ cmplwi r0, 0 +/* 80294320 00291280 40 82 01 E4 */ bne lbl_80294504 +/* 80294324 00291284 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294328 00291288 3B E0 00 00 */ li r31, 0 +/* 8029432C 0029128C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80294330 00291290 40 82 00 24 */ bne lbl_80294354 +/* 80294334 00291294 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 80294338 00291298 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 8029433C 0029129C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80294340 002912A0 40 81 00 08 */ ble lbl_80294348 +/* 80294344 002912A4 FC 20 10 90 */ fmr f1, f2 +lbl_80294348: +/* 80294348 002912A8 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 8029434C 002912AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80294350 002912B0 40 81 00 0C */ ble lbl_8029435C +lbl_80294354: +/* 80294354 002912B4 83 E2 BF 68 */ lwz r31, lbl_805ADC88@sda21(r2) +/* 80294358 002912B8 48 00 00 30 */ b lbl_80294388 +lbl_8029435C: +/* 8029435C 002912BC 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 80294360 002912C0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80294364 002912C4 40 82 00 20 */ bne lbl_80294384 +/* 80294368 002912C8 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 8029436C 002912CC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80294370 002912D0 40 80 00 08 */ bge lbl_80294378 +/* 80294374 002912D4 FC 20 10 50 */ fneg f1, f2 +lbl_80294378: +/* 80294378 002912D8 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 8029437C 002912DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80294380 002912E0 40 81 00 08 */ ble lbl_80294388 +lbl_80294384: +/* 80294384 002912E4 83 E2 BF 6C */ lwz r31, lbl_805ADC8C@sda21(r2) +lbl_80294388: +/* 80294388 002912E8 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 8029438C 002912EC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80294390 002912F0 40 82 00 24 */ bne lbl_802943B4 +/* 80294394 002912F4 C0 5D 00 08 */ lfs f2, 8(r29) +/* 80294398 002912F8 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 8029439C 002912FC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802943A0 00291300 40 80 00 08 */ bge lbl_802943A8 +/* 802943A4 00291304 FC 20 10 50 */ fneg f1, f2 +lbl_802943A8: +/* 802943A8 00291308 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 802943AC 0029130C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802943B0 00291310 40 81 00 10 */ ble lbl_802943C0 +lbl_802943B4: +/* 802943B4 00291314 80 02 BF 70 */ lwz r0, lbl_805ADC90@sda21(r2) +/* 802943B8 00291318 7F FF 03 78 */ or r31, r31, r0 +/* 802943BC 0029131C 48 00 00 38 */ b lbl_802943F4 +lbl_802943C0: +/* 802943C0 00291320 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 802943C4 00291324 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802943C8 00291328 40 82 00 24 */ bne lbl_802943EC +/* 802943CC 0029132C C0 02 BF 40 */ lfs f0, lbl_805ADC60@sda21(r2) +/* 802943D0 00291330 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802943D4 00291334 40 81 00 08 */ ble lbl_802943DC +/* 802943D8 00291338 48 00 00 08 */ b lbl_802943E0 +lbl_802943DC: +/* 802943DC 0029133C FC 40 00 90 */ fmr f2, f0 +lbl_802943E0: +/* 802943E0 00291340 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 802943E4 00291344 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802943E8 00291348 40 81 00 0C */ ble lbl_802943F4 +lbl_802943EC: +/* 802943EC 0029134C 80 02 BF 74 */ lwz r0, lbl_805ADC94@sda21(r2) +/* 802943F0 00291350 7F FF 03 78 */ or r31, r31, r0 +lbl_802943F4: +/* 802943F4 00291354 7F 83 E3 78 */ mr r3, r28 +/* 802943F8 00291358 4B FF F7 55 */ bl GetPasswordEntryState__12CNESEmulatorFv +/* 802943FC 0029135C 2C 03 00 00 */ cmpwi r3, 0 +/* 80294400 00291360 40 82 00 10 */ bne lbl_80294410 +/* 80294404 00291364 80 1D 00 04 */ lwz r0, 4(r29) +/* 80294408 00291368 2C 00 00 00 */ cmpwi r0, 0 +/* 8029440C 0029136C 41 82 00 30 */ beq lbl_8029443C +lbl_80294410: +/* 80294410 00291370 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294414 00291374 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80294418 00291378 41 82 00 0C */ beq lbl_80294424 +/* 8029441C 0029137C 80 02 BF 78 */ lwz r0, lbl_805ADC98@sda21(r2) +/* 80294420 00291380 7F FF 03 78 */ or r31, r31, r0 +lbl_80294424: +/* 80294424 00291384 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294428 00291388 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029442C 0029138C 41 82 00 48 */ beq lbl_80294474 +/* 80294430 00291390 80 02 BF 7C */ lwz r0, lbl_805ADC9C@sda21(r2) +/* 80294434 00291394 7F FF 03 78 */ or r31, r31, r0 +/* 80294438 00291398 48 00 00 3C */ b lbl_80294474 +lbl_8029443C: +/* 8029443C 0029139C 88 7D 00 2C */ lbz r3, 0x2c(r29) +/* 80294440 002913A0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80294444 002913A4 40 82 00 0C */ bne lbl_80294450 +/* 80294448 002913A8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8029444C 002913AC 41 82 00 0C */ beq lbl_80294458 +lbl_80294450: +/* 80294450 002913B0 80 02 BF 78 */ lwz r0, lbl_805ADC98@sda21(r2) +/* 80294454 002913B4 7F FF 03 78 */ or r31, r31, r0 +lbl_80294458: +/* 80294458 002913B8 88 7D 00 2C */ lbz r3, 0x2c(r29) +/* 8029445C 002913BC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80294460 002913C0 40 82 00 0C */ bne lbl_8029446C +/* 80294464 002913C4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80294468 002913C8 41 82 00 0C */ beq lbl_80294474 +lbl_8029446C: +/* 8029446C 002913CC 80 02 BF 7C */ lwz r0, lbl_805ADC9C@sda21(r2) +/* 80294470 002913D0 7F FF 03 78 */ or r31, r31, r0 +lbl_80294474: +/* 80294474 002913D4 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294478 002913D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8029447C 002913DC 41 82 00 0C */ beq lbl_80294488 +/* 80294480 002913E0 80 02 BF 80 */ lwz r0, lbl_805ADCA0@sda21(r2) +/* 80294484 002913E4 7F FF 03 78 */ or r31, r31, r0 +lbl_80294488: +/* 80294488 002913E8 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 8029448C 002913EC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80294490 002913F0 41 82 00 0C */ beq lbl_8029449C +/* 80294494 002913F4 80 02 BF 84 */ lwz r0, lbl_805ADCA4@sda21(r2) +/* 80294498 002913F8 7F FF 03 78 */ or r31, r31, r0 +lbl_8029449C: +/* 8029449C 002913FC 2C 1E 00 04 */ cmpwi r30, 4 +/* 802944A0 00291400 40 82 00 0C */ bne lbl_802944AC +/* 802944A4 00291404 80 1D 00 04 */ lwz r0, 4(r29) +/* 802944A8 00291408 48 00 00 08 */ b lbl_802944B0 +lbl_802944AC: +/* 802944AC 0029140C 7F C0 F3 78 */ mr r0, r30 +lbl_802944B0: +/* 802944B0 00291410 2C 00 00 02 */ cmpwi r0, 2 +/* 802944B4 00291414 41 82 00 3C */ beq lbl_802944F0 +/* 802944B8 00291418 40 80 00 14 */ bge lbl_802944CC +/* 802944BC 0029141C 2C 00 00 00 */ cmpwi r0, 0 +/* 802944C0 00291420 41 82 00 18 */ beq lbl_802944D8 +/* 802944C4 00291424 40 80 00 20 */ bge lbl_802944E4 +/* 802944C8 00291428 48 00 00 3C */ b lbl_80294504 +lbl_802944CC: +/* 802944CC 0029142C 2C 00 00 04 */ cmpwi r0, 4 +/* 802944D0 00291430 40 80 00 34 */ bge lbl_80294504 +/* 802944D4 00291434 48 00 00 28 */ b lbl_802944FC +lbl_802944D8: +/* 802944D8 00291438 80 7C 00 08 */ lwz r3, 8(r28) +/* 802944DC 0029143C 93 E3 00 20 */ stw r31, 0x20(r3) +/* 802944E0 00291440 48 00 00 24 */ b lbl_80294504 +lbl_802944E4: +/* 802944E4 00291444 80 7C 00 08 */ lwz r3, 8(r28) +/* 802944E8 00291448 93 E3 00 28 */ stw r31, 0x28(r3) +/* 802944EC 0029144C 48 00 00 18 */ b lbl_80294504 +lbl_802944F0: +/* 802944F0 00291450 80 7C 00 08 */ lwz r3, 8(r28) +/* 802944F4 00291454 93 E3 00 24 */ stw r31, 0x24(r3) +/* 802944F8 00291458 48 00 00 0C */ b lbl_80294504 +lbl_802944FC: +/* 802944FC 0029145C 80 7C 00 08 */ lwz r3, 8(r28) +/* 80294500 00291460 93 E3 00 2C */ stw r31, 0x2c(r3) +lbl_80294504: +/* 80294504 00291464 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80294508 00291468 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029450C 0029146C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80294510 00291470 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80294514 00291474 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80294518 00291478 7C 08 03 A6 */ mtlr r0 +/* 8029451C 0029147C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80294520 00291480 4E 80 00 20 */ blr + +.global __dt__12CNESEmulatorFv +__dt__12CNESEmulatorFv: +/* 80294524 00291484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80294528 00291488 7C 08 02 A6 */ mflr r0 +/* 8029452C 0029148C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80294530 00291490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294534 00291494 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80294538 00291498 7C 9E 23 78 */ mr r30, r4 +/* 8029453C 0029149C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80294540 002914A0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80294544 002914A4 41 82 01 04 */ beq lbl_80294648 +/* 80294548 002914A8 80 1D 00 00 */ lwz r0, 0(r29) +/* 8029454C 002914AC 28 00 00 00 */ cmplwi r0, 0 +/* 80294550 002914B0 40 82 00 58 */ bne lbl_802945A8 +/* 80294554 002914B4 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) +/* 80294558 002914B8 81 83 00 08 */ lwz r12, 8(r3) +/* 8029455C 002914BC 7D 89 03 A6 */ mtctr r12 +/* 80294560 002914C0 4E 80 04 21 */ bctrl +/* 80294564 002914C4 7C 60 1B 78 */ mr r0, r3 +/* 80294568 002914C8 38 80 00 00 */ li r4, 0 +/* 8029456C 002914CC 38 A0 00 40 */ li r5, 0x40 +/* 80294570 002914D0 38 C0 00 40 */ li r6, 0x40 +/* 80294574 002914D4 7C 1F 03 78 */ mr r31, r0 +/* 80294578 002914D8 38 E0 00 00 */ li r7, 0 +/* 8029457C 002914DC 48 10 A1 A9 */ bl sndStreamMixParameter +/* 80294580 002914E0 7F E3 FB 78 */ mr r3, r31 +/* 80294584 002914E4 48 10 BF 9D */ bl sndStreamDeactivate +/* 80294588 002914E8 7F E3 FB 78 */ mr r3, r31 +/* 8029458C 002914EC 48 10 B2 69 */ bl sndStreamFree +/* 80294590 002914F0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80294594 002914F4 81 83 00 38 */ lwz r12, 0x38(r3) +/* 80294598 002914F8 7D 89 03 A6 */ mtctr r12 +/* 8029459C 002914FC 4E 80 04 21 */ bctrl +/* 802945A0 00291500 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802945A4 00291504 48 0E E0 81 */ bl OSUnlink +lbl_802945A8: +/* 802945A8 00291508 80 7D 00 08 */ lwz r3, 8(r29) +/* 802945AC 0029150C 80 63 00 00 */ lwz r3, 0(r3) +/* 802945B0 00291510 48 08 13 81 */ bl Free__7CMemoryFPCv +/* 802945B4 00291514 80 7D 00 08 */ lwz r3, 8(r29) +/* 802945B8 00291518 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802945BC 0029151C 48 08 13 75 */ bl Free__7CMemoryFPCv +/* 802945C0 00291520 80 7D 00 08 */ lwz r3, 8(r29) +/* 802945C4 00291524 48 08 13 6D */ bl Free__7CMemoryFPCv +/* 802945C8 00291528 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802945CC 0029152C 48 08 13 65 */ bl Free__7CMemoryFPCv +/* 802945D0 00291530 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 802945D4 00291534 48 08 13 5D */ bl Free__7CMemoryFPCv +/* 802945D8 00291538 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 802945DC 0029153C 48 08 13 55 */ bl Free__7CMemoryFPCv +/* 802945E0 00291540 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) +/* 802945E4 00291544 48 08 13 4D */ bl Free__7CMemoryFPCv +/* 802945E8 00291548 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802945EC 0029154C 48 08 13 45 */ bl Free__7CMemoryFPCv +/* 802945F0 00291550 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 802945F4 00291554 28 03 00 00 */ cmplwi r3, 0 +/* 802945F8 00291558 41 82 00 08 */ beq lbl_80294600 +/* 802945FC 0029155C 48 08 13 35 */ bl Free__7CMemoryFPCv +lbl_80294600: +/* 80294600 00291560 34 1D 00 04 */ addic. r0, r29, 4 +/* 80294604 00291564 41 82 00 0C */ beq lbl_80294610 +/* 80294608 00291568 80 7D 00 04 */ lwz r3, 4(r29) +/* 8029460C 0029156C 48 08 13 25 */ bl Free__7CMemoryFPCv +lbl_80294610: +/* 80294610 00291570 28 1D 00 00 */ cmplwi r29, 0 +/* 80294614 00291574 41 82 00 24 */ beq lbl_80294638 +/* 80294618 00291578 80 7D 00 00 */ lwz r3, 0(r29) +/* 8029461C 0029157C 28 03 00 00 */ cmplwi r3, 0 +/* 80294620 00291580 41 82 00 18 */ beq lbl_80294638 +/* 80294624 00291584 81 83 00 00 */ lwz r12, 0(r3) +/* 80294628 00291588 38 80 00 01 */ li r4, 1 +/* 8029462C 0029158C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80294630 00291590 7D 89 03 A6 */ mtctr r12 +/* 80294634 00291594 4E 80 04 21 */ bctrl +lbl_80294638: +/* 80294638 00291598 7F C0 07 35 */ extsh. r0, r30 +/* 8029463C 0029159C 40 81 00 0C */ ble lbl_80294648 +/* 80294640 002915A0 7F A3 EB 78 */ mr r3, r29 +/* 80294644 002915A4 48 08 12 ED */ bl Free__7CMemoryFPCv +lbl_80294648: +/* 80294648 002915A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029464C 002915AC 7F A3 EB 78 */ mr r3, r29 +/* 80294650 002915B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80294654 002915B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80294658 002915B8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029465C 002915BC 7C 08 03 A6 */ mtlr r0 +/* 80294660 002915C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80294664 002915C4 4E 80 00 20 */ blr + +.global __ct__12CNESEmulatorFv +__ct__12CNESEmulatorFv: +/* 80294668 002915C8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8029466C 002915CC 7C 08 02 A6 */ mflr r0 +/* 80294670 002915D0 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha +/* 80294674 002915D4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80294678 002915D8 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l +/* 8029467C 002915DC 38 00 00 00 */ li r0, 0 +/* 80294680 002915E0 38 80 FF FF */ li r4, -1 +/* 80294684 002915E4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80294688 002915E8 7C 7F 1B 78 */ mr r31, r3 +/* 8029468C 002915EC 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 80294690 002915F0 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80294694 002915F4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 80294698 002915F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8029469C 002915FC 90 1F 00 00 */ stw r0, 0(r31) +/* 802946A0 00291600 48 04 1D 35 */ bl __ct__10CCallStackFUiPCcPCc +/* 802946A4 00291604 3C A0 00 02 */ lis r5, 0x0001C800@ha +/* 802946A8 00291608 7C 67 1B 78 */ mr r7, r3 +/* 802946AC 0029160C 38 65 C8 00 */ addi r3, r5, 0x0001C800@l +/* 802946B0 00291610 38 80 00 02 */ li r4, 2 +/* 802946B4 00291614 38 A0 00 01 */ li r5, 1 +/* 802946B8 00291618 38 C0 00 00 */ li r6, 0 +/* 802946BC 0029161C 48 08 12 D9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802946C0 00291620 90 7F 00 04 */ stw r3, 4(r31) +/* 802946C4 00291624 38 00 00 00 */ li r0, 0 +/* 802946C8 00291628 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha +/* 802946CC 0029162C 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 802946D0 00291630 90 1F 00 08 */ stw r0, 8(r31) +/* 802946D4 00291634 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l +/* 802946D8 00291638 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 802946DC 0029163C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802946E0 00291640 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802946E4 00291644 38 80 FF FF */ li r4, -1 +/* 802946E8 00291648 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802946EC 0029164C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802946F0 00291650 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802946F4 00291654 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802946F8 00291658 98 1F 00 20 */ stb r0, 0x20(r31) +/* 802946FC 0029165C 90 1F 00 34 */ stw r0, 0x34(r31) +/* 80294700 00291660 98 1F 00 38 */ stb r0, 0x38(r31) +/* 80294704 00291664 48 04 1C D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294708 00291668 7C 67 1B 78 */ mr r7, r3 +/* 8029470C 0029166C 38 60 00 20 */ li r3, 0x20 +/* 80294710 00291670 38 80 00 02 */ li r4, 2 +/* 80294714 00291674 38 A0 00 01 */ li r5, 1 +/* 80294718 00291678 38 C0 00 00 */ li r6, 0 +/* 8029471C 0029167C 48 08 12 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80294720 00291680 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 80294724 00291684 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80294728 00291688 90 6D A5 A0 */ stw r3, lbl_805A9160@sda21(r13) +/* 8029472C 0029168C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80294730 00291690 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 80294734 00291694 38 61 00 38 */ addi r3, r1, 0x38 +/* 80294738 00291698 38 80 FF FF */ li r4, -1 +/* 8029473C 0029169C 48 04 1C 99 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294740 002916A0 3C A0 00 01 */ lis r5, 0x00008E70@ha +/* 80294744 002916A4 7C 67 1B 78 */ mr r7, r3 +/* 80294748 002916A8 38 65 8E 70 */ addi r3, r5, 0x00008E70@l +/* 8029474C 002916AC 38 80 00 02 */ li r4, 2 +/* 80294750 002916B0 38 A0 00 01 */ li r5, 1 +/* 80294754 002916B4 38 C0 00 00 */ li r6, 0 +/* 80294758 002916B8 48 08 12 3D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8029475C 002916BC 90 7F 00 08 */ stw r3, 8(r31) +/* 80294760 002916C0 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha +/* 80294764 002916C4 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 80294768 002916C8 3C 00 00 02 */ lis r0, 2 +/* 8029476C 002916CC 80 FF 00 08 */ lwz r7, 8(r31) +/* 80294770 002916D0 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l +/* 80294774 002916D4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 80294778 002916D8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029477C 002916DC 90 07 00 48 */ stw r0, 0x48(r7) +/* 80294780 002916E0 38 80 FF FF */ li r4, -1 +/* 80294784 002916E4 48 04 1C 51 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294788 002916E8 80 BF 00 08 */ lwz r5, 8(r31) +/* 8029478C 002916EC 7C 67 1B 78 */ mr r7, r3 +/* 80294790 002916F0 38 80 00 02 */ li r4, 2 +/* 80294794 002916F4 38 C0 00 00 */ li r6, 0 +/* 80294798 002916F8 80 65 00 48 */ lwz r3, 0x48(r5) +/* 8029479C 002916FC 38 A0 00 01 */ li r5, 1 +/* 802947A0 00291700 48 08 11 F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802947A4 00291704 80 DF 00 08 */ lwz r6, 8(r31) +/* 802947A8 00291708 3C E0 00 01 */ lis r7, 0x00008000@ha +/* 802947AC 0029170C 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 802947B0 00291710 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 802947B4 00291714 90 66 00 00 */ stw r3, 0(r6) +/* 802947B8 00291718 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 802947BC 0029171C 38 07 80 00 */ addi r0, r7, 0x00008000@l +/* 802947C0 00291720 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 802947C4 00291724 80 9F 00 08 */ lwz r4, 8(r31) +/* 802947C8 00291728 38 61 00 28 */ addi r3, r1, 0x28 +/* 802947CC 0029172C 90 04 00 08 */ stw r0, 8(r4) +/* 802947D0 00291730 38 80 FF FF */ li r4, -1 +/* 802947D4 00291734 48 04 1C 01 */ bl __ct__10CCallStackFUiPCcPCc +/* 802947D8 00291738 80 BF 00 08 */ lwz r5, 8(r31) +/* 802947DC 0029173C 7C 67 1B 78 */ mr r7, r3 +/* 802947E0 00291740 38 80 00 02 */ li r4, 2 +/* 802947E4 00291744 38 C0 00 00 */ li r6, 0 +/* 802947E8 00291748 80 65 00 08 */ lwz r3, 8(r5) +/* 802947EC 0029174C 38 A0 00 01 */ li r5, 1 +/* 802947F0 00291750 48 08 11 A5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802947F4 00291754 80 FF 00 08 */ lwz r7, 8(r31) +/* 802947F8 00291758 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 802947FC 0029175C 3C C0 80 3D */ lis r6, lbl_803D6AA8@ha +/* 80294800 00291760 38 80 FF FF */ li r4, -1 +/* 80294804 00291764 90 67 00 0C */ stw r3, 0xc(r7) +/* 80294808 00291768 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 8029480C 0029176C 38 C6 6A A8 */ addi r6, r6, lbl_803D6AA8@l +/* 80294810 00291770 38 61 00 20 */ addi r3, r1, 0x20 +/* 80294814 00291774 80 1F 00 04 */ lwz r0, 4(r31) +/* 80294818 00291778 80 FF 00 08 */ lwz r7, 8(r31) +/* 8029481C 0029177C 90 07 00 10 */ stw r0, 0x10(r7) +/* 80294820 00291780 48 04 1B B5 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294824 00291784 7C 67 1B 78 */ mr r7, r3 +/* 80294828 00291788 38 60 15 0C */ li r3, 0x150c +/* 8029482C 0029178C 38 80 00 02 */ li r4, 2 +/* 80294830 00291790 38 A0 00 01 */ li r5, 1 +/* 80294834 00291794 38 C0 00 00 */ li r6, 0 +/* 80294838 00291798 48 08 11 5D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8029483C 0029179C 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 80294840 002917A0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80294844 002917A4 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80294848 002917A8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8029484C 002917AC 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 80294850 002917B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80294854 002917B4 38 80 FF FF */ li r4, -1 +/* 80294858 002917B8 48 04 1B 7D */ bl __ct__10CCallStackFUiPCcPCc +/* 8029485C 002917BC 7C 67 1B 78 */ mr r7, r3 +/* 80294860 002917C0 38 60 20 00 */ li r3, 0x2000 +/* 80294864 002917C4 38 80 00 02 */ li r4, 2 +/* 80294868 002917C8 38 A0 00 01 */ li r5, 1 +/* 8029486C 002917CC 38 C0 00 00 */ li r6, 0 +/* 80294870 002917D0 48 08 11 25 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80294874 002917D4 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 80294878 002917D8 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8029487C 002917DC 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80294880 002917E0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80294884 002917E4 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 80294888 002917E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029488C 002917EC 38 80 FF FF */ li r4, -1 +/* 80294890 002917F0 48 04 1B 45 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294894 002917F4 3C A0 00 01 */ lis r5, 0x00008000@ha +/* 80294898 002917F8 7C 67 1B 78 */ mr r7, r3 +/* 8029489C 002917FC 38 65 80 00 */ addi r3, r5, 0x00008000@l +/* 802948A0 00291800 38 80 00 02 */ li r4, 2 +/* 802948A4 00291804 38 A0 00 01 */ li r5, 1 +/* 802948A8 00291808 38 C0 00 00 */ li r6, 0 +/* 802948AC 0029180C 48 08 10 E9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802948B0 00291810 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 802948B4 00291814 3C 60 80 3D */ lis r3, lbl_803D5B80@ha +/* 802948B8 00291818 38 E3 5B 80 */ addi r7, r3, lbl_803D5B80@l +/* 802948BC 0029181C 38 61 00 5C */ addi r3, r1, 0x5c +/* 802948C0 00291820 80 C7 00 00 */ lwz r6, 0(r7) +/* 802948C4 00291824 38 81 00 50 */ addi r4, r1, 0x50 +/* 802948C8 00291828 80 A7 00 04 */ lwz r5, 4(r7) +/* 802948CC 0029182C 80 07 00 08 */ lwz r0, 8(r7) +/* 802948D0 00291830 90 C1 00 50 */ stw r6, 0x50(r1) +/* 802948D4 00291834 90 A1 00 54 */ stw r5, 0x54(r1) +/* 802948D8 00291838 90 01 00 58 */ stw r0, 0x58(r1) +/* 802948DC 0029183C 48 0B B3 F5 */ bl __ct__8CDvdFileFPCc +/* 802948E0 00291840 80 C1 00 70 */ lwz r6, 0x70(r1) +/* 802948E4 00291844 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 802948E8 00291848 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 802948EC 0029184C 38 61 00 08 */ addi r3, r1, 8 +/* 802948F0 00291850 38 06 00 1F */ addi r0, r6, 0x1f +/* 802948F4 00291854 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 802948F8 00291858 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 802948FC 0029185C 38 80 FF FF */ li r4, -1 +/* 80294900 00291860 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80294904 00291864 48 04 1A D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294908 00291868 7C 67 1B 78 */ mr r7, r3 +/* 8029490C 0029186C 7F C3 F3 78 */ mr r3, r30 +/* 80294910 00291870 38 80 00 02 */ li r4, 2 +/* 80294914 00291874 38 A0 00 01 */ li r5, 1 +/* 80294918 00291878 38 C0 00 00 */ li r6, 0 +/* 8029491C 0029187C 48 08 10 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80294920 00291880 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80294924 00291884 7F C5 F3 78 */ mr r5, r30 +/* 80294928 00291888 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029492C 0029188C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80294930 00291890 48 0B B2 B9 */ bl SyncRead__8CDvdFileFPvUi +/* 80294934 00291894 80 1F 00 00 */ lwz r0, 0(r31) +/* 80294938 00291898 7C 7E 1B 78 */ mr r30, r3 +/* 8029493C 0029189C 28 00 00 00 */ cmplwi r0, 0 +/* 80294940 002918A0 41 82 00 1C */ beq lbl_8029495C +/* 80294944 002918A4 7C 03 03 78 */ mr r3, r0 +/* 80294948 002918A8 38 80 00 01 */ li r4, 1 +/* 8029494C 002918AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80294950 002918B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80294954 002918B4 7D 89 03 A6 */ mtctr r12 +/* 80294958 002918B8 4E 80 04 21 */ bctrl +lbl_8029495C: +/* 8029495C 002918BC 93 DF 00 00 */ stw r30, 0(r31) +/* 80294960 002918C0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80294964 002918C4 38 80 FF FF */ li r4, -1 +/* 80294968 002918C8 48 0B B2 A9 */ bl __dt__8CDvdFileFv +/* 8029496C 002918CC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80294970 002918D0 7F E3 FB 78 */ mr r3, r31 +/* 80294974 002918D4 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80294978 002918D8 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8029497C 002918DC 7C 08 03 A6 */ mtlr r0 +/* 80294980 002918E0 38 21 00 90 */ addi r1, r1, 0x90 +/* 80294984 002918E4 4E 80 00 20 */ blr + +.global CheckForGameOver__12CNESEmulatorFPCcPc +CheckForGameOver__12CNESEmulatorFPCcPc: +/* 80294988 002918E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029498C 002918EC 7C 08 02 A6 */ mflr r0 +/* 80294990 002918F0 3C A0 80 3F */ lis r5, lbl_803EBC60@ha +/* 80294994 002918F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80294998 002918F8 38 05 BC 60 */ addi r0, r5, lbl_803EBC60@l +/* 8029499C 002918FC 38 A0 00 09 */ li r5, 9 +/* 802949A0 00291900 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802949A4 00291904 7C 9F 23 78 */ mr r31, r4 +/* 802949A8 00291908 7C 04 03 78 */ mr r4, r0 +/* 802949AC 0029190C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802949B0 00291910 7C 7E 1B 78 */ mr r30, r3 +/* 802949B4 00291914 38 7E 01 4B */ addi r3, r30, 0x14b +/* 802949B8 00291918 48 0F 8E C5 */ bl memcmp +/* 802949BC 0029191C 2C 03 00 00 */ cmpwi r3, 0 +/* 802949C0 00291920 41 82 00 0C */ beq lbl_802949CC +/* 802949C4 00291924 38 60 00 00 */ li r3, 0 +/* 802949C8 00291928 48 00 01 0C */ b lbl_80294AD4 +lbl_802949CC: +/* 802949CC 0029192C 38 00 00 18 */ li r0, 0x18 +/* 802949D0 00291930 39 00 00 00 */ li r8, 0 +/* 802949D4 00291934 39 20 00 00 */ li r9, 0 +/* 802949D8 00291938 38 C0 00 00 */ li r6, 0 +/* 802949DC 0029193C 7C 09 03 A6 */ mtctr r0 +lbl_802949E0: +/* 802949E0 00291940 38 09 01 A9 */ addi r0, r9, 0x1a9 +/* 802949E4 00291944 39 29 00 01 */ addi r9, r9, 1 +/* 802949E8 00291948 28 09 00 06 */ cmplwi r9, 6 +/* 802949EC 0029194C 7C FE 00 AE */ lbzx r7, r30, r0 +/* 802949F0 00291950 41 82 00 0C */ beq lbl_802949FC +/* 802949F4 00291954 28 09 00 46 */ cmplwi r9, 0x46 +/* 802949F8 00291958 40 82 00 0C */ bne lbl_80294A04 +lbl_802949FC: +/* 802949FC 0029195C 39 29 00 01 */ addi r9, r9, 1 +/* 80294A00 00291960 48 00 00 10 */ b lbl_80294A10 +lbl_80294A04: +/* 80294A04 00291964 28 09 00 0D */ cmplwi r9, 0xd +/* 80294A08 00291968 40 82 00 08 */ bne lbl_80294A10 +/* 80294A0C 0029196C 39 20 00 40 */ li r9, 0x40 +lbl_80294A10: +/* 80294A10 00291970 28 07 00 3F */ cmplwi r7, 0x3f +/* 80294A14 00291974 40 81 00 0C */ ble lbl_80294A20 +/* 80294A18 00291978 38 60 00 00 */ li r3, 0 +/* 80294A1C 0029197C 48 00 00 B8 */ b lbl_80294AD4 +lbl_80294A20: +/* 80294A20 00291980 54 C0 07 BE */ clrlwi r0, r6, 0x1e +/* 80294A24 00291984 2C 00 00 02 */ cmpwi r0, 2 +/* 80294A28 00291988 41 82 00 54 */ beq lbl_80294A7C +/* 80294A2C 0029198C 40 80 00 14 */ bge lbl_80294A40 +/* 80294A30 00291990 2C 00 00 00 */ cmpwi r0, 0 +/* 80294A34 00291994 41 82 00 18 */ beq lbl_80294A4C +/* 80294A38 00291998 40 80 00 20 */ bge lbl_80294A58 +/* 80294A3C 0029199C 48 00 00 7C */ b lbl_80294AB8 +lbl_80294A40: +/* 80294A40 002919A0 2C 00 00 04 */ cmpwi r0, 4 +/* 80294A44 002919A4 40 80 00 74 */ bge lbl_80294AB8 +/* 80294A48 002919A8 48 00 00 58 */ b lbl_80294AA0 +lbl_80294A4C: +/* 80294A4C 002919AC 38 61 00 08 */ addi r3, r1, 8 +/* 80294A50 002919B0 7C E3 41 AE */ stbx r7, r3, r8 +/* 80294A54 002919B4 48 00 00 64 */ b lbl_80294AB8 +lbl_80294A58: +/* 80294A58 002919B8 38 A1 00 08 */ addi r5, r1, 8 +/* 80294A5C 002919BC 54 E3 30 32 */ slwi r3, r7, 6 +/* 80294A60 002919C0 7C 85 40 AE */ lbzx r4, r5, r8 +/* 80294A64 002919C4 54 E0 F6 3E */ rlwinm r0, r7, 0x1e, 0x18, 0x1f +/* 80294A68 002919C8 7C 83 1B 78 */ or r3, r4, r3 +/* 80294A6C 002919CC 7C 65 41 AE */ stbx r3, r5, r8 +/* 80294A70 002919D0 39 08 00 01 */ addi r8, r8, 1 +/* 80294A74 002919D4 7C 05 41 AE */ stbx r0, r5, r8 +/* 80294A78 002919D8 48 00 00 40 */ b lbl_80294AB8 +lbl_80294A7C: +/* 80294A7C 002919DC 38 A1 00 08 */ addi r5, r1, 8 +/* 80294A80 002919E0 54 E3 20 36 */ slwi r3, r7, 4 +/* 80294A84 002919E4 7C 85 40 AE */ lbzx r4, r5, r8 +/* 80294A88 002919E8 54 E0 E6 3E */ rlwinm r0, r7, 0x1c, 0x18, 0x1f +/* 80294A8C 002919EC 7C 83 1B 78 */ or r3, r4, r3 +/* 80294A90 002919F0 7C 65 41 AE */ stbx r3, r5, r8 +/* 80294A94 002919F4 39 08 00 01 */ addi r8, r8, 1 +/* 80294A98 002919F8 7C 05 41 AE */ stbx r0, r5, r8 +/* 80294A9C 002919FC 48 00 00 1C */ b lbl_80294AB8 +lbl_80294AA0: +/* 80294AA0 00291A00 38 81 00 08 */ addi r4, r1, 8 +/* 80294AA4 00291A04 54 E0 10 3A */ slwi r0, r7, 2 +/* 80294AA8 00291A08 7C 64 40 AE */ lbzx r3, r4, r8 +/* 80294AAC 00291A0C 7C 60 03 78 */ or r0, r3, r0 +/* 80294AB0 00291A10 7C 04 41 AE */ stbx r0, r4, r8 +/* 80294AB4 00291A14 39 08 00 01 */ addi r8, r8, 1 +lbl_80294AB8: +/* 80294AB8 00291A18 38 C6 00 01 */ addi r6, r6, 1 +/* 80294ABC 00291A1C 42 00 FF 24 */ bdnz lbl_802949E0 +/* 80294AC0 00291A20 7F E3 FB 78 */ mr r3, r31 +/* 80294AC4 00291A24 38 81 00 08 */ addi r4, r1, 8 +/* 80294AC8 00291A28 38 A0 00 12 */ li r5, 0x12 +/* 80294ACC 00291A2C 4B D6 E9 C5 */ bl memcpy +/* 80294AD0 00291A30 38 60 00 01 */ li r3, 1 +lbl_80294AD4: +/* 80294AD4 00291A34 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80294AD8 00291A38 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80294ADC 00291A3C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80294AE0 00291A40 7C 08 03 A6 */ mtlr r0 +/* 80294AE4 00291A44 38 21 00 30 */ addi r1, r1, 0x30 +/* 80294AE8 00291A48 4E 80 00 20 */ blr + +.global SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc +SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc: +/* 80294AEC 00291A4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80294AF0 00291A50 7C 08 02 A6 */ mflr r0 +/* 80294AF4 00291A54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80294AF8 00291A58 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294AFC 00291A5C 7C 9F 23 78 */ mr r31, r4 +/* 80294B00 00291A60 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80294B04 00291A64 7C 7E 1B 78 */ mr r30, r3 +/* 80294B08 00291A68 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80294B0C 00291A6C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80294B10 00291A70 7C BC 2B 78 */ mr r28, r5 +/* 80294B14 00291A74 48 00 01 B5 */ bl CheckForPasswordEntryScreen__12CNESEmulatorFPCc +/* 80294B18 00291A78 2C 03 00 01 */ cmpwi r3, 1 +/* 80294B1C 00291A7C 41 82 00 0C */ beq lbl_80294B28 +/* 80294B20 00291A80 38 60 00 00 */ li r3, 0 +/* 80294B24 00291A84 48 00 01 84 */ b lbl_80294CA8 +lbl_80294B28: +/* 80294B28 00291A88 38 00 00 02 */ li r0, 2 +/* 80294B2C 00291A8C 7F 83 E3 78 */ mr r3, r28 +/* 80294B30 00291A90 38 80 00 00 */ li r4, 0 +/* 80294B34 00291A94 7C 09 03 A6 */ mtctr r0 +lbl_80294B38: +/* 80294B38 00291A98 88 03 00 00 */ lbz r0, 0(r3) +/* 80294B3C 00291A9C 28 00 00 00 */ cmplwi r0, 0 +/* 80294B40 00291AA0 40 82 00 90 */ bne lbl_80294BD0 +/* 80294B44 00291AA4 88 03 00 01 */ lbz r0, 1(r3) +/* 80294B48 00291AA8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B4C 00291AAC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B50 00291AB0 40 82 00 80 */ bne lbl_80294BD0 +/* 80294B54 00291AB4 88 03 00 02 */ lbz r0, 2(r3) +/* 80294B58 00291AB8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B5C 00291ABC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B60 00291AC0 40 82 00 70 */ bne lbl_80294BD0 +/* 80294B64 00291AC4 88 03 00 03 */ lbz r0, 3(r3) +/* 80294B68 00291AC8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B6C 00291ACC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B70 00291AD0 40 82 00 60 */ bne lbl_80294BD0 +/* 80294B74 00291AD4 88 03 00 04 */ lbz r0, 4(r3) +/* 80294B78 00291AD8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B7C 00291ADC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B80 00291AE0 40 82 00 50 */ bne lbl_80294BD0 +/* 80294B84 00291AE4 88 03 00 05 */ lbz r0, 5(r3) +/* 80294B88 00291AE8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B8C 00291AEC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B90 00291AF0 40 82 00 40 */ bne lbl_80294BD0 +/* 80294B94 00291AF4 88 03 00 06 */ lbz r0, 6(r3) +/* 80294B98 00291AF8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B9C 00291AFC 28 00 00 00 */ cmplwi r0, 0 +/* 80294BA0 00291B00 40 82 00 30 */ bne lbl_80294BD0 +/* 80294BA4 00291B04 88 03 00 07 */ lbz r0, 7(r3) +/* 80294BA8 00291B08 38 84 00 01 */ addi r4, r4, 1 +/* 80294BAC 00291B0C 28 00 00 00 */ cmplwi r0, 0 +/* 80294BB0 00291B10 40 82 00 20 */ bne lbl_80294BD0 +/* 80294BB4 00291B14 88 03 00 08 */ lbz r0, 8(r3) +/* 80294BB8 00291B18 38 84 00 01 */ addi r4, r4, 1 +/* 80294BBC 00291B1C 28 00 00 00 */ cmplwi r0, 0 +/* 80294BC0 00291B20 40 82 00 10 */ bne lbl_80294BD0 +/* 80294BC4 00291B24 38 84 00 01 */ addi r4, r4, 1 +/* 80294BC8 00291B28 38 63 00 09 */ addi r3, r3, 9 +/* 80294BCC 00291B2C 42 00 FF 6C */ bdnz lbl_80294B38 +lbl_80294BD0: +/* 80294BD0 00291B30 28 04 00 12 */ cmplwi r4, 0x12 +/* 80294BD4 00291B34 40 82 00 0C */ bne lbl_80294BE0 +/* 80294BD8 00291B38 38 60 00 00 */ li r3, 0 +/* 80294BDC 00291B3C 48 00 00 CC */ b lbl_80294CA8 +lbl_80294BE0: +/* 80294BE0 00291B40 38 00 00 18 */ li r0, 0x18 +/* 80294BE4 00291B44 7F 83 E3 78 */ mr r3, r28 +/* 80294BE8 00291B48 38 E0 00 00 */ li r7, 0 +/* 80294BEC 00291B4C 38 C0 00 00 */ li r6, 0 +/* 80294BF0 00291B50 7C 09 03 A6 */ mtctr r0 +lbl_80294BF4: +/* 80294BF4 00291B54 54 C0 07 BE */ clrlwi r0, r6, 0x1e +/* 80294BF8 00291B58 2C 00 00 02 */ cmpwi r0, 2 +/* 80294BFC 00291B5C 41 82 00 48 */ beq lbl_80294C44 +/* 80294C00 00291B60 40 80 00 14 */ bge lbl_80294C14 +/* 80294C04 00291B64 2C 00 00 00 */ cmpwi r0, 0 +/* 80294C08 00291B68 41 82 00 18 */ beq lbl_80294C20 +/* 80294C0C 00291B6C 40 80 00 20 */ bge lbl_80294C2C +/* 80294C10 00291B70 48 00 00 50 */ b lbl_80294C60 +lbl_80294C14: +/* 80294C14 00291B74 2C 00 00 04 */ cmpwi r0, 4 +/* 80294C18 00291B78 40 80 00 48 */ bge lbl_80294C60 +/* 80294C1C 00291B7C 48 00 00 40 */ b lbl_80294C5C +lbl_80294C20: +/* 80294C20 00291B80 8B A3 00 00 */ lbz r29, 0(r3) +/* 80294C24 00291B84 38 63 00 01 */ addi r3, r3, 1 +/* 80294C28 00291B88 48 00 00 38 */ b lbl_80294C60 +lbl_80294C2C: +/* 80294C2C 00291B8C 88 03 00 00 */ lbz r0, 0(r3) +/* 80294C30 00291B90 57 A4 D1 BE */ srwi r4, r29, 6 +/* 80294C34 00291B94 38 63 00 01 */ addi r3, r3, 1 +/* 80294C38 00291B98 54 00 10 3A */ slwi r0, r0, 2 +/* 80294C3C 00291B9C 7C 9D 03 78 */ or r29, r4, r0 +/* 80294C40 00291BA0 48 00 00 20 */ b lbl_80294C60 +lbl_80294C44: +/* 80294C44 00291BA4 88 03 00 00 */ lbz r0, 0(r3) +/* 80294C48 00291BA8 57 A4 D1 BE */ srwi r4, r29, 6 +/* 80294C4C 00291BAC 38 63 00 01 */ addi r3, r3, 1 +/* 80294C50 00291BB0 54 00 20 36 */ slwi r0, r0, 4 +/* 80294C54 00291BB4 7C 9D 03 78 */ or r29, r4, r0 +/* 80294C58 00291BB8 48 00 00 08 */ b lbl_80294C60 +lbl_80294C5C: +/* 80294C5C 00291BBC 57 BD D1 BE */ srwi r29, r29, 6 +lbl_80294C60: +/* 80294C60 00291BC0 57 A5 06 BE */ clrlwi r5, r29, 0x1a +/* 80294C64 00291BC4 38 86 09 9A */ addi r4, r6, 0x99a +/* 80294C68 00291BC8 38 07 01 09 */ addi r0, r7, 0x109 +/* 80294C6C 00291BCC 7C BF 21 AE */ stbx r5, r31, r4 +/* 80294C70 00291BD0 38 E7 00 01 */ addi r7, r7, 1 +/* 80294C74 00291BD4 28 07 00 06 */ cmplwi r7, 6 +/* 80294C78 00291BD8 7C BE 01 AE */ stbx r5, r30, r0 +/* 80294C7C 00291BDC 41 82 00 0C */ beq lbl_80294C88 +/* 80294C80 00291BE0 28 07 00 46 */ cmplwi r7, 0x46 +/* 80294C84 00291BE4 40 82 00 0C */ bne lbl_80294C90 +lbl_80294C88: +/* 80294C88 00291BE8 38 E7 00 01 */ addi r7, r7, 1 +/* 80294C8C 00291BEC 48 00 00 10 */ b lbl_80294C9C +lbl_80294C90: +/* 80294C90 00291BF0 28 07 00 0D */ cmplwi r7, 0xd +/* 80294C94 00291BF4 40 82 00 08 */ bne lbl_80294C9C +/* 80294C98 00291BF8 38 E0 00 40 */ li r7, 0x40 +lbl_80294C9C: +/* 80294C9C 00291BFC 38 C6 00 01 */ addi r6, r6, 1 +/* 80294CA0 00291C00 42 00 FF 54 */ bdnz lbl_80294BF4 +/* 80294CA4 00291C04 38 60 00 01 */ li r3, 1 +lbl_80294CA8: +/* 80294CA8 00291C08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80294CAC 00291C0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80294CB0 00291C10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80294CB4 00291C14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80294CB8 00291C18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80294CBC 00291C1C 7C 08 03 A6 */ mtlr r0 +/* 80294CC0 00291C20 38 21 00 20 */ addi r1, r1, 0x20 +/* 80294CC4 00291C24 4E 80 00 20 */ blr + +.global CheckForPasswordEntryScreen__12CNESEmulatorFPCc +CheckForPasswordEntryScreen__12CNESEmulatorFPCc: +/* 80294CC8 00291C28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294CCC 00291C2C 7C 08 02 A6 */ mflr r0 +/* 80294CD0 00291C30 3C 80 80 3F */ lis r4, lbl_803EBC50@ha +/* 80294CD4 00291C34 38 A0 00 10 */ li r5, 0x10 +/* 80294CD8 00291C38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294CDC 00291C3C 38 84 BC 50 */ addi r4, r4, lbl_803EBC50@l +/* 80294CE0 00291C40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80294CE4 00291C44 7C 7F 1B 78 */ mr r31, r3 +/* 80294CE8 00291C48 38 7F 00 88 */ addi r3, r31, 0x88 +/* 80294CEC 00291C4C 48 0F 8B 91 */ bl memcmp +/* 80294CF0 00291C50 2C 03 00 00 */ cmpwi r3, 0 +/* 80294CF4 00291C54 41 82 00 0C */ beq lbl_80294D00 +/* 80294CF8 00291C58 38 60 00 00 */ li r3, 0 +/* 80294CFC 00291C5C 48 00 00 40 */ b lbl_80294D3C +lbl_80294D00: +/* 80294D00 00291C60 38 00 00 0D */ li r0, 0xd +/* 80294D04 00291C64 38 80 00 00 */ li r4, 0 +/* 80294D08 00291C68 7C 09 03 A6 */ mtctr r0 +lbl_80294D0C: +/* 80294D0C 00291C6C 7C 7F 22 14 */ add r3, r31, r4 +/* 80294D10 00291C70 88 03 01 09 */ lbz r0, 0x109(r3) +/* 80294D14 00291C74 28 00 00 40 */ cmplwi r0, 0x40 +/* 80294D18 00291C78 41 80 00 10 */ blt lbl_80294D28 +/* 80294D1C 00291C7C 88 03 01 49 */ lbz r0, 0x149(r3) +/* 80294D20 00291C80 28 00 00 40 */ cmplwi r0, 0x40 +/* 80294D24 00291C84 40 80 00 0C */ bge lbl_80294D30 +lbl_80294D28: +/* 80294D28 00291C88 38 60 00 02 */ li r3, 2 +/* 80294D2C 00291C8C 48 00 00 10 */ b lbl_80294D3C +lbl_80294D30: +/* 80294D30 00291C90 38 84 00 01 */ addi r4, r4, 1 +/* 80294D34 00291C94 42 00 FF D8 */ bdnz lbl_80294D0C +/* 80294D38 00291C98 38 60 00 01 */ li r3, 1 +lbl_80294D3C: +/* 80294D3C 00291C9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294D40 00291CA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80294D44 00291CA4 7C 08 03 A6 */ mtlr r0 +/* 80294D48 00291CA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294D4C 00291CAC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPauseScreenBlur.s b/asm/Kyoto_CWD/CPauseScreenBlur.s new file mode 100644 index 00000000..8482af0f --- /dev/null +++ b/asm/Kyoto_CWD/CPauseScreenBlur.s @@ -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 diff --git a/asm/Kyoto_CWD/CPreFrontEnd.s b/asm/Kyoto_CWD/CPreFrontEnd.s new file mode 100644 index 00000000..e31a6045 --- /dev/null +++ b/asm/Kyoto_CWD/CPreFrontEnd.s @@ -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,Q24rstl17rmemory_allocator>" +/* 8029E610 0029B570 38 61 00 08 */ addi r3, r1, 8 +/* 8029E614 0029B574 48 09 F4 CD */ bl "internal_dereference__Q24rstl66basic_string,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 diff --git a/asm/Kyoto_CWD/CProjectedShadow.s b/asm/Kyoto_CWD/CProjectedShadow.s new file mode 100644 index 00000000..f3425f81 --- /dev/null +++ b/asm/Kyoto_CWD/CProjectedShadow.s @@ -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 diff --git a/asm/Kyoto_CWD/CRainSplashGenerator.s b/asm/Kyoto_CWD/CRainSplashGenerator.s new file mode 100644 index 00000000..f4635fb2 --- /dev/null +++ b/asm/Kyoto_CWD/CRainSplashGenerator.s @@ -0,0 +1,1223 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f +SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f: +/* 80269C80 00266BE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80269C84 00266BE4 7C 08 02 A6 */ mflr r0 +/* 80269C88 00266BE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80269C8C 00266BEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80269C90 00266BF0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80269C94 00266BF4 7C 9E 23 78 */ mr r30, r4 +/* 80269C98 00266BF8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80269C9C 00266BFC 7C 7D 1B 78 */ mr r29, r3 +/* 80269CA0 00266C00 3B FD 00 04 */ addi r31, r29, 4 +/* 80269CA4 00266C04 48 00 00 10 */ b lbl_80269CB4 +lbl_80269CA8: +/* 80269CA8 00266C08 7F E3 FB 78 */ mr r3, r31 +/* 80269CAC 00266C0C 48 00 05 41 */ bl SetActive__Q220CRainSplashGenerator11SSplashLine +/* 80269CB0 00266C10 3B FF 00 18 */ addi r31, r31, 0x18 +lbl_80269CB4: +/* 80269CB4 00266C14 80 1D 00 00 */ lwz r0, 0(r29) +/* 80269CB8 00266C18 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269CBC 00266C1C 7C 7D 02 14 */ add r3, r29, r0 +/* 80269CC0 00266C20 38 03 00 04 */ addi r0, r3, 4 +/* 80269CC4 00266C24 7C 1F 00 40 */ cmplw r31, r0 +/* 80269CC8 00266C28 40 82 FF E0 */ bne lbl_80269CA8 +/* 80269CCC 00266C2C C0 1E 00 00 */ lfs f0, 0(r30) +/* 80269CD0 00266C30 D0 1D 00 64 */ stfs f0, 0x64(r29) +/* 80269CD4 00266C34 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80269CD8 00266C38 D0 1D 00 68 */ stfs f0, 0x68(r29) +/* 80269CDC 00266C3C C0 1E 00 08 */ lfs f0, 8(r30) +/* 80269CE0 00266C40 D0 1D 00 6C */ stfs f0, 0x6c(r29) +/* 80269CE4 00266C44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80269CE8 00266C48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80269CEC 00266C4C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80269CF0 00266C50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80269CF4 00266C54 7C 08 03 A6 */ mtlr r0 +/* 80269CF8 00266C58 38 21 00 20 */ addi r1, r1, 0x20 +/* 80269CFC 00266C5C 4E 80 00 20 */ blr + +.global IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager +IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager: +/* 80269D00 00266C60 80 03 00 00 */ lwz r0, 0(r3) +/* 80269D04 00266C64 38 A3 00 04 */ addi r5, r3, 4 +/* 80269D08 00266C68 38 80 00 00 */ li r4, 0 +/* 80269D0C 00266C6C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269D10 00266C70 7C 63 02 14 */ add r3, r3, r0 +/* 80269D14 00266C74 38 63 00 04 */ addi r3, r3, 4 +/* 80269D18 00266C78 48 00 00 18 */ b lbl_80269D30 +lbl_80269D1C: +/* 80269D1C 00266C7C 88 05 00 16 */ lbz r0, 0x16(r5) +/* 80269D20 00266C80 38 A5 00 18 */ addi r5, r5, 0x18 +/* 80269D24 00266C84 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80269D28 00266C88 7C 80 03 78 */ or r0, r4, r0 +/* 80269D2C 00266C8C 54 04 06 3E */ clrlwi r4, r0, 0x18 +lbl_80269D30: +/* 80269D30 00266C90 7C 05 18 40 */ cmplw r5, r3 +/* 80269D34 00266C94 40 82 FF E8 */ bne lbl_80269D1C +/* 80269D38 00266C98 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 80269D3C 00266C9C 4E 80 00 20 */ blr + +.global Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f: +/* 80269D40 00266CA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80269D44 00266CA4 7C 08 02 A6 */ mflr r0 +/* 80269D48 00266CA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80269D4C 00266CAC DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80269D50 00266CB0 FF E0 10 90 */ fmr f31, f2 +/* 80269D54 00266CB4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80269D58 00266CB8 FF C0 08 90 */ fmr f30, f1 +/* 80269D5C 00266CBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80269D60 00266CC0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80269D64 00266CC4 7C 9E 23 78 */ mr r30, r4 +/* 80269D68 00266CC8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80269D6C 00266CCC 7C 7D 1B 78 */ mr r29, r3 +/* 80269D70 00266CD0 3B FD 00 04 */ addi r31, r29, 4 +/* 80269D74 00266CD4 48 00 00 1C */ b lbl_80269D90 +lbl_80269D78: +/* 80269D78 00266CD8 FC 20 F0 90 */ fmr f1, f30 +/* 80269D7C 00266CDC 7F E3 FB 78 */ mr r3, r31 +/* 80269D80 00266CE0 FC 40 F8 90 */ fmr f2, f31 +/* 80269D84 00266CE4 7F C4 F3 78 */ mr r4, r30 +/* 80269D88 00266CE8 48 00 01 DD */ bl Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f +/* 80269D8C 00266CEC 3B FF 00 18 */ addi r31, r31, 0x18 +lbl_80269D90: +/* 80269D90 00266CF0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80269D94 00266CF4 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269D98 00266CF8 7C 7D 02 14 */ add r3, r29, r0 +/* 80269D9C 00266CFC 38 03 00 04 */ addi r0, r3, 4 +/* 80269DA0 00266D00 7C 1F 00 40 */ cmplw r31, r0 +/* 80269DA4 00266D04 40 82 FF D4 */ bne lbl_80269D78 +/* 80269DA8 00266D08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80269DAC 00266D0C CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80269DB0 00266D10 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80269DB4 00266D14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80269DB8 00266D18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80269DBC 00266D1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80269DC0 00266D20 7C 08 03 A6 */ mtlr r0 +/* 80269DC4 00266D24 38 21 00 30 */ addi r1, r1, 0x30 +/* 80269DC8 00266D28 4E 80 00 20 */ blr + +.global Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager +Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager: +/* 80269DCC 00266D2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80269DD0 00266D30 7C 08 02 A6 */ mflr r0 +/* 80269DD4 00266D34 90 01 00 24 */ stw r0, 0x24(r1) +/* 80269DD8 00266D38 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80269DDC 00266D3C FF E0 08 90 */ fmr f31, f1 +/* 80269DE0 00266D40 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80269DE4 00266D44 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80269DE8 00266D48 7C 9E 23 78 */ mr r30, r4 +/* 80269DEC 00266D4C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80269DF0 00266D50 7C 7D 1B 78 */ mr r29, r3 +/* 80269DF4 00266D54 3B FD 00 04 */ addi r31, r29, 4 +/* 80269DF8 00266D58 48 00 00 18 */ b lbl_80269E10 +lbl_80269DFC: +/* 80269DFC 00266D5C FC 20 F8 90 */ fmr f1, f31 +/* 80269E00 00266D60 7F E3 FB 78 */ mr r3, r31 +/* 80269E04 00266D64 7F C4 F3 78 */ mr r4, r30 +/* 80269E08 00266D68 48 00 02 C9 */ bl Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager +/* 80269E0C 00266D6C 3B FF 00 18 */ addi r31, r31, 0x18 +lbl_80269E10: +/* 80269E10 00266D70 80 1D 00 00 */ lwz r0, 0(r29) +/* 80269E14 00266D74 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269E18 00266D78 7C 7D 02 14 */ add r3, r29, r0 +/* 80269E1C 00266D7C 38 03 00 04 */ addi r0, r3, 4 +/* 80269E20 00266D80 7C 1F 00 40 */ cmplw r31, r0 +/* 80269E24 00266D84 40 82 FF D8 */ bne lbl_80269DFC +/* 80269E28 00266D88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80269E2C 00266D8C CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80269E30 00266D90 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80269E34 00266D94 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80269E38 00266D98 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80269E3C 00266D9C 7C 08 03 A6 */ mtlr r0 +/* 80269E40 00266DA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80269E44 00266DA4 4E 80 00 20 */ blr + +.global __ct__Q220CRainSplashGenerator11SRainSplash +__ct__Q220CRainSplashGenerator11SRainSplash: +/* 80269E48 00266DA8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80269E4C 00266DAC 38 A0 00 01 */ li r5, 1 +/* 80269E50 00266DB0 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2) +/* 80269E54 00266DB4 38 00 00 04 */ li r0, 4 +/* 80269E58 00266DB8 C0 42 BB 48 */ lfs f2, lbl_805AD868@sda21(r2) +/* 80269E5C 00266DBC 34 E3 00 04 */ addic. r7, r3, 4 +/* 80269E60 00266DC0 C0 22 BB 4C */ lfs f1, lbl_805AD86C@sda21(r2) +/* 80269E64 00266DC4 FC 00 18 18 */ frsp f0, f3 +/* 80269E68 00266DC8 88 C2 BB 50 */ lbz r6, lbl_805AD870@sda21(r2) +/* 80269E6C 00266DCC 88 81 00 1E */ lbz r4, 0x1e(r1) +/* 80269E70 00266DD0 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 +/* 80269E74 00266DD4 D0 61 00 08 */ stfs f3, 8(r1) +/* 80269E78 00266DD8 54 88 06 3E */ clrlwi r8, r4, 0x18 +/* 80269E7C 00266DDC D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80269E80 00266DE0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80269E84 00266DE4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80269E88 00266DE8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80269E8C 00266DEC 98 C1 00 1C */ stb r6, 0x1c(r1) +/* 80269E90 00266DF0 98 A1 00 1D */ stb r5, 0x1d(r1) +/* 80269E94 00266DF4 98 81 00 1E */ stb r4, 0x1e(r1) +/* 80269E98 00266DF8 90 03 00 00 */ stw r0, 0(r3) +/* 80269E9C 00266DFC 41 82 00 24 */ beq lbl_80269EC0 +/* 80269EA0 00266E00 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269EA4 00266E04 D0 67 00 04 */ stfs f3, 4(r7) +/* 80269EA8 00266E08 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269EAC 00266E0C D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269EB0 00266E10 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269EB4 00266E14 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269EB8 00266E18 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269EBC 00266E1C 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269EC0: +/* 80269EC0 00266E20 34 E7 00 18 */ addic. r7, r7, 0x18 +/* 80269EC4 00266E24 41 82 00 24 */ beq lbl_80269EE8 +/* 80269EC8 00266E28 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269ECC 00266E2C D0 67 00 04 */ stfs f3, 4(r7) +/* 80269ED0 00266E30 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269ED4 00266E34 D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269ED8 00266E38 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269EDC 00266E3C 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269EE0 00266E40 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269EE4 00266E44 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269EE8: +/* 80269EE8 00266E48 34 E7 00 18 */ addic. r7, r7, 0x18 +/* 80269EEC 00266E4C 41 82 00 24 */ beq lbl_80269F10 +/* 80269EF0 00266E50 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269EF4 00266E54 D0 67 00 04 */ stfs f3, 4(r7) +/* 80269EF8 00266E58 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269EFC 00266E5C D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269F00 00266E60 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269F04 00266E64 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269F08 00266E68 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269F0C 00266E6C 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269F10: +/* 80269F10 00266E70 34 E7 00 18 */ addic. r7, r7, 0x18 +/* 80269F14 00266E74 41 82 00 24 */ beq lbl_80269F38 +/* 80269F18 00266E78 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269F1C 00266E7C D0 67 00 04 */ stfs f3, 4(r7) +/* 80269F20 00266E80 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269F24 00266E84 D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269F28 00266E88 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269F2C 00266E8C 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269F30 00266E90 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269F34 00266E94 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269F38: +/* 80269F38 00266E98 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80269F3C 00266E9C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 80269F40 00266EA0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 80269F44 00266EA4 D0 23 00 64 */ stfs f1, 0x64(r3) +/* 80269F48 00266EA8 C0 24 00 04 */ lfs f1, 4(r4) +/* 80269F4C 00266EAC D0 23 00 68 */ stfs f1, 0x68(r3) +/* 80269F50 00266EB0 C0 24 00 08 */ lfs f1, 8(r4) +/* 80269F54 00266EB4 D0 23 00 6C */ stfs f1, 0x6c(r3) +/* 80269F58 00266EB8 D0 03 00 70 */ stfs f0, 0x70(r3) +/* 80269F5C 00266EBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80269F60 00266EC0 4E 80 00 20 */ blr + +.global Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f +Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f: +/* 80269F64 00266EC4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80269F68 00266EC8 7C 08 02 A6 */ mflr r0 +/* 80269F6C 00266ECC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80269F70 00266ED0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80269F74 00266ED4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80269F78 00266ED8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80269F7C 00266EDC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80269F80 00266EE0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80269F84 00266EE4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80269F88 00266EE8 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 80269F8C 00266EEC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 80269F90 00266EF0 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 80269F94 00266EF4 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 80269F98 00266EF8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80269F9C 00266EFC 7C 7B 1B 78 */ mr r27, r3 +/* 80269FA0 00266F00 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2) +/* 80269FA4 00266F04 C0 83 00 00 */ lfs f4, 0(r3) +/* 80269FA8 00266F08 FF A0 08 90 */ fmr f29, f1 +/* 80269FAC 00266F0C 7C 9C 23 78 */ mr r28, r4 +/* 80269FB0 00266F10 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 80269FB4 00266F14 40 81 00 E0 */ ble lbl_8026A094 +/* 80269FB8 00266F18 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 80269FBC 00266F1C EF E2 00 32 */ fmuls f31, f2, f0 +/* 80269FC0 00266F20 E0 1B A0 15 */ psq_l f0, 21(r27), 1, qr2 +/* 80269FC4 00266F24 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80269FC8 00266F28 EF C4 00 28 */ fsubs f30, f4, f0 +/* 80269FCC 00266F2C FC 1E 18 40 */ fcmpo cr0, f30, f3 +/* 80269FD0 00266F30 40 80 00 08 */ bge lbl_80269FD8 +/* 80269FD4 00266F34 FF C0 18 90 */ fmr f30, f3 +lbl_80269FD8: +/* 80269FD8 00266F38 EC 04 F0 28 */ fsubs f0, f4, f30 +/* 80269FDC 00266F3C 88 1B 00 14 */ lbz r0, 0x14(r27) +/* 80269FE0 00266F40 C0 22 BB 58 */ lfs f1, lbl_805AD878@sda21(r2) +/* 80269FE4 00266F44 38 80 00 00 */ li r4, 0 +/* 80269FE8 00266F48 1C 00 00 06 */ mulli r0, r0, 6 +/* 80269FEC 00266F4C EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80269FF0 00266F50 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80269FF4 00266F54 EC 01 00 2A */ fadds f0, f1, f0 +/* 80269FF8 00266F58 FC 00 00 1E */ fctiwz f0, f0 +/* 80269FFC 00266F5C D8 01 00 08 */ stfd f0, 8(r1) +/* 8026A000 00266F60 83 C1 00 0C */ lwz r30, 0xc(r1) +/* 8026A004 00266F64 48 09 E4 B5 */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 8026A008 00266F68 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 8026A00C 00266F6C 38 60 00 B0 */ li r3, 0xb0 +/* 8026A010 00266F70 38 80 00 00 */ li r4, 0 +/* 8026A014 00266F74 48 09 E5 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026A018 00266F78 C3 62 BB 5C */ lfs f27, lbl_805AD87C@sda21(r2) +/* 8026A01C 00266F7C 3B A0 00 00 */ li r29, 0 +/* 8026A020 00266F80 C3 82 BB 58 */ lfs f28, lbl_805AD878@sda21(r2) +/* 8026A024 00266F84 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8026A028 00266F88 48 00 00 60 */ b lbl_8026A088 +lbl_8026A02C: +/* 8026A02C 00266F8C EC 9B 07 B2 */ fmuls f4, f27, f30 +/* 8026A030 00266F90 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8026A034 00266F94 EC 7E E0 28 */ fsubs f3, f30, f28 +/* 8026A038 00266F98 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8026A03C 00266F9C C0 DB 00 10 */ lfs f6, 0x10(r27) +/* 8026A040 00266FA0 EC 3E 07 72 */ fmuls f1, f30, f29 +/* 8026A044 00266FA4 EC A4 00 F2 */ fmuls f5, f4, f3 +/* 8026A048 00266FA8 C0 9B 00 08 */ lfs f4, 8(r27) +/* 8026A04C 00266FAC C0 7C 00 04 */ lfs f3, 4(r28) +/* 8026A050 00266FB0 EC 1E 00 BA */ fmadds f0, f30, f2, f0 +/* 8026A054 00266FB4 C0 5C 00 08 */ lfs f2, 8(r28) +/* 8026A058 00266FB8 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8026A05C 00266FBC EC 7E 19 3A */ fmadds f3, f30, f4, f3 +/* 8026A060 00266FC0 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026A064 00266FC4 EC 05 10 2A */ fadds f0, f5, f2 +/* 8026A068 00266FC8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8026A06C 00266FCC D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026A070 00266FD0 48 11 F8 E5 */ bl __cvt_fp2unsigned +/* 8026A074 00266FD4 64 60 FF FF */ oris r0, r3, 0xffff +/* 8026A078 00266FD8 EF DE F8 2A */ fadds f30, f30, f31 +/* 8026A07C 00266FDC 60 00 FF 00 */ ori r0, r0, 0xff00 +/* 8026A080 00266FE0 3B BD 00 01 */ addi r29, r29, 1 +/* 8026A084 00266FE4 90 1F 80 00 */ stw r0, 0xCC008000@l(r31) +lbl_8026A088: +/* 8026A088 00266FE8 7C 1D F0 00 */ cmpw r29, r30 +/* 8026A08C 00266FEC 41 80 FF A0 */ blt lbl_8026A02C +/* 8026A090 00266FF0 48 09 E4 F1 */ bl End__3CGXFv +lbl_8026A094: +/* 8026A094 00266FF4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8026A098 00266FF8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8026A09C 00266FFC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8026A0A0 00267000 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8026A0A4 00267004 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8026A0A8 00267008 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8026A0AC 0026700C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8026A0B0 00267010 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8026A0B4 00267014 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 8026A0B8 00267018 CB 61 00 30 */ lfd f27, 0x30(r1) +/* 8026A0BC 0026701C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8026A0C0 00267020 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8026A0C4 00267024 7C 08 03 A6 */ mtlr r0 +/* 8026A0C8 00267028 38 21 00 80 */ addi r1, r1, 0x80 +/* 8026A0CC 0026702C 4E 80 00 20 */ blr + +.global Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager +Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager: +/* 8026A0D0 00267030 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026A0D4 00267034 7C 08 02 A6 */ mflr r0 +/* 8026A0D8 00267038 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026A0DC 0026703C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026A0E0 00267040 7C 9F 23 78 */ mr r31, r4 +/* 8026A0E4 00267044 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026A0E8 00267048 7C 7E 1B 78 */ mr r30, r3 +/* 8026A0EC 0026704C 88 83 00 16 */ lbz r4, 0x16(r3) +/* 8026A0F0 00267050 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 8026A0F4 00267054 41 82 00 E0 */ beq lbl_8026A1D4 +/* 8026A0F8 00267058 C0 BE 00 00 */ lfs f5, 0(r30) +/* 8026A0FC 0026705C C0 02 BB 60 */ lfs f0, lbl_805AD880@sda21(r2) +/* 8026A100 00267060 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 8026A104 00267064 4C 40 13 82 */ cror 2, 0, 2 +/* 8026A108 00267068 40 82 00 3C */ bne lbl_8026A144 +/* 8026A10C 0026706C C0 42 BB 58 */ lfs f2, lbl_805AD878@sda21(r2) +/* 8026A110 00267070 C0 02 BB 68 */ lfs f0, lbl_805AD888@sda21(r2) +/* 8026A114 00267074 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8026A118 00267078 C0 62 BB 64 */ lfs f3, lbl_805AD884@sda21(r2) +/* 8026A11C 0026707C EC 00 01 72 */ fmuls f0, f0, f5 +/* 8026A120 00267080 EC 83 00 BA */ fmadds f4, f3, f2, f0 +/* 8026A124 00267084 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2 +/* 8026A128 00267088 88 01 00 08 */ lbz r0, 8(r1) +/* 8026A12C 0026708C 98 1E 00 14 */ stb r0, 0x14(r30) +/* 8026A130 00267090 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 8026A134 00267094 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8026A138 00267098 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8026A13C 0026709C D0 1E 00 00 */ stfs f0, 0(r30) +/* 8026A140 002670A0 48 00 00 94 */ b lbl_8026A1D4 +lbl_8026A144: +/* 8026A144 002670A4 88 7E 00 15 */ lbz r3, 0x15(r30) +/* 8026A148 002670A8 28 03 00 00 */ cmplwi r3, 0 +/* 8026A14C 002670AC 41 82 00 10 */ beq lbl_8026A15C +/* 8026A150 002670B0 38 03 FF FF */ addi r0, r3, -1 +/* 8026A154 002670B4 98 1E 00 15 */ stb r0, 0x15(r30) +/* 8026A158 002670B8 48 00 00 7C */ b lbl_8026A1D4 +lbl_8026A15C: +/* 8026A15C 002670BC 38 00 00 00 */ li r0, 0 +/* 8026A160 002670C0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A164 002670C4 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 8026A168 002670C8 C0 22 BB 6C */ lfs f1, lbl_805AD88C@sda21(r2) +/* 8026A16C 002670CC 98 9E 00 16 */ stb r4, 0x16(r30) +/* 8026A170 002670D0 C0 42 BB 70 */ lfs f2, lbl_805AD890@sda21(r2) +/* 8026A174 002670D4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8026A178 002670D8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A17C 002670DC 48 0A 83 C9 */ bl Range__9CRandom16Fff +/* 8026A180 002670E0 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 8026A184 002670E4 C0 22 BB 74 */ lfs f1, lbl_805AD894@sda21(r2) +/* 8026A188 002670E8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A18C 002670EC C0 42 BB 78 */ lfs f2, lbl_805AD898@sda21(r2) +/* 8026A190 002670F0 48 0A 83 B5 */ bl Range__9CRandom16Fff +/* 8026A194 002670F4 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8026A198 002670F8 C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2) +/* 8026A19C 002670FC 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A1A0 00267100 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2) +/* 8026A1A4 00267104 48 0A 83 A1 */ bl Range__9CRandom16Fff +/* 8026A1A8 00267108 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8026A1AC 0026710C C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2) +/* 8026A1B0 00267110 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A1B4 00267114 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2) +/* 8026A1B8 00267118 48 0A 83 8D */ bl Range__9CRandom16Fff +/* 8026A1BC 0026711C D0 3E 00 08 */ stfs f1, 8(r30) +/* 8026A1C0 00267120 38 80 00 01 */ li r4, 1 +/* 8026A1C4 00267124 38 A0 00 02 */ li r5, 2 +/* 8026A1C8 00267128 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A1CC 0026712C 48 0A 83 C9 */ bl Range__9CRandom16Fii +/* 8026A1D0 00267130 98 7E 00 15 */ stb r3, 0x15(r30) +lbl_8026A1D4: +/* 8026A1D4 00267134 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026A1D8 00267138 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026A1DC 0026713C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026A1E0 00267140 7C 08 03 A6 */ mtlr r0 +/* 8026A1E4 00267144 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026A1E8 00267148 4E 80 00 20 */ blr + +.global SetActive__Q220CRainSplashGenerator11SSplashLine +SetActive__Q220CRainSplashGenerator11SSplashLine: +/* 8026A1EC 0026714C 88 03 00 16 */ lbz r0, 0x16(r3) +/* 8026A1F0 00267150 38 80 00 01 */ li r4, 1 +/* 8026A1F4 00267154 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8026A1F8 00267158 98 03 00 16 */ stb r0, 0x16(r3) +/* 8026A1FC 0026715C 4E 80 00 20 */ blr + +.global DoDraw__20CRainSplashGeneratorCFRC12CTransform4f +DoDraw__20CRainSplashGeneratorCFRC12CTransform4f: +/* 8026A200 00267160 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026A204 00267164 7C 08 02 A6 */ mflr r0 +/* 8026A208 00267168 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A20C 0026716C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026A210 00267170 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026A214 00267174 7C 7F 1B 78 */ mr r31, r3 +/* 8026A218 00267178 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026A21C 0026717C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026A220 00267180 7C 9D 23 78 */ mr r29, r4 +/* 8026A224 00267184 C0 23 00 28 */ lfs f1, 0x28(r3) +/* 8026A228 00267188 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026A22C 0026718C 4C 40 13 82 */ cror 2, 0, 2 +/* 8026A230 00267190 41 82 01 74 */ beq lbl_8026A3A4 +/* 8026A234 00267194 3C 60 80 3D */ lis r3, lbl_803D53F8@ha +/* 8026A238 00267198 38 63 53 F8 */ addi r3, r3, lbl_803D53F8@l +/* 8026A23C 0026719C 48 09 DB ED */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8026A240 002671A0 38 60 00 01 */ li r3, 1 +/* 8026A244 002671A4 48 09 EC 0D */ bl SetNumChans__3CGXFUc +/* 8026A248 002671A8 38 60 00 01 */ li r3, 1 +/* 8026A24C 002671AC 48 09 EA 45 */ bl SetNumTevStages__3CGXFUc +/* 8026A250 002671B0 38 60 00 00 */ li r3, 0 +/* 8026A254 002671B4 38 80 00 00 */ li r4, 0 +/* 8026A258 002671B8 38 A0 00 01 */ li r5, 1 +/* 8026A25C 002671BC 38 C0 00 01 */ li r6, 1 +/* 8026A260 002671C0 38 E0 00 00 */ li r7, 0 +/* 8026A264 002671C4 39 00 00 00 */ li r8, 0 +/* 8026A268 002671C8 39 20 00 02 */ li r9, 2 +/* 8026A26C 002671CC 48 09 EA 61 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8026A270 002671D0 38 60 00 01 */ li r3, 1 +/* 8026A274 002671D4 38 80 00 04 */ li r4, 4 +/* 8026A278 002671D8 38 A0 00 05 */ li r5, 5 +/* 8026A27C 002671DC 38 C0 00 00 */ li r6, 0 +/* 8026A280 002671E0 48 09 E6 51 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8026A284 002671E4 38 60 00 00 */ li r3, 0 +/* 8026A288 002671E8 48 09 EB 8D */ bl SetNumTexGens__3CGXFUc +/* 8026A28C 002671EC 38 60 00 00 */ li r3, 0 +/* 8026A290 002671F0 38 80 00 FF */ li r4, 0xff +/* 8026A294 002671F4 38 A0 00 FF */ li r5, 0xff +/* 8026A298 002671F8 38 C0 00 04 */ li r6, 4 +/* 8026A29C 002671FC 48 09 E6 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8026A2A0 00267200 38 60 00 01 */ li r3, 1 +/* 8026A2A4 00267204 38 80 00 03 */ li r4, 3 +/* 8026A2A8 00267208 38 A0 00 00 */ li r5, 0 +/* 8026A2AC 0026720C 48 09 E5 D1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8026A2B0 00267210 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8026A2B4 00267214 38 60 00 00 */ li r3, 0 +/* 8026A2B8 00267218 48 0A 00 01 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8026A2BC 0026721C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8026A2C0 00267220 38 60 00 01 */ li r3, 1 +/* 8026A2C4 00267224 48 09 FF F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8026A2C8 00267228 7F A3 EB 78 */ mr r3, r29 +/* 8026A2CC 0026722C 48 0A 23 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8026A2D0 00267230 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 8026A2D4 00267234 2C 00 00 00 */ cmpwi r0, 0 +/* 8026A2D8 00267238 40 81 00 C0 */ ble lbl_8026A398 +/* 8026A2DC 0026723C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A2E0 00267240 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 8026A2E4 00267244 7C 00 18 00 */ cmpw r0, r3 +/* 8026A2E8 00267248 41 81 00 78 */ bgt lbl_8026A360 +/* 8026A2EC 0026724C 1F C3 00 74 */ mulli r30, r3, 0x74 +/* 8026A2F0 00267250 7C 7D 1B 78 */ mr r29, r3 +/* 8026A2F4 00267254 48 00 00 24 */ b lbl_8026A318 +lbl_8026A2F8: +/* 8026A2F8 00267258 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8026A2FC 0026725C C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8026A300 00267260 7C 60 F2 14 */ add r3, r0, r30 +/* 8026A304 00267264 C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 8026A308 00267268 38 83 00 64 */ addi r4, r3, 0x64 +/* 8026A30C 0026726C 4B FF FA 35 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +/* 8026A310 00267270 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A314 00267274 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A318: +/* 8026A318 00267278 80 1F 00 04 */ lwz r0, 4(r31) +/* 8026A31C 0026727C 7C 1D 00 00 */ cmpw r29, r0 +/* 8026A320 00267280 41 80 FF D8 */ blt lbl_8026A2F8 +/* 8026A324 00267284 3B A0 00 00 */ li r29, 0 +/* 8026A328 00267288 3B C0 00 00 */ li r30, 0 +/* 8026A32C 0026728C 48 00 00 24 */ b lbl_8026A350 +lbl_8026A330: +/* 8026A330 00267290 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8026A334 00267294 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8026A338 00267298 7C 60 F2 14 */ add r3, r0, r30 +/* 8026A33C 0026729C C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 8026A340 002672A0 38 83 00 64 */ addi r4, r3, 0x64 +/* 8026A344 002672A4 4B FF F9 FD */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +/* 8026A348 002672A8 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A34C 002672AC 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A350: +/* 8026A350 002672B0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A354 002672B4 7C 1D 00 00 */ cmpw r29, r0 +/* 8026A358 002672B8 41 80 FF D8 */ blt lbl_8026A330 +/* 8026A35C 002672BC 48 00 00 3C */ b lbl_8026A398 +lbl_8026A360: +/* 8026A360 002672C0 1F C3 00 74 */ mulli r30, r3, 0x74 +/* 8026A364 002672C4 7C 7D 1B 78 */ mr r29, r3 +/* 8026A368 002672C8 48 00 00 24 */ b lbl_8026A38C +lbl_8026A36C: +/* 8026A36C 002672CC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8026A370 002672D0 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8026A374 002672D4 7C 60 F2 14 */ add r3, r0, r30 +/* 8026A378 002672D8 C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 8026A37C 002672DC 38 83 00 64 */ addi r4, r3, 0x64 +/* 8026A380 002672E0 4B FF F9 C1 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +/* 8026A384 002672E4 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A388 002672E8 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A38C: +/* 8026A38C 002672EC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A390 002672F0 7C 1D 00 00 */ cmpw r29, r0 +/* 8026A394 002672F4 41 80 FF D8 */ blt lbl_8026A36C +lbl_8026A398: +/* 8026A398 002672F8 38 60 00 06 */ li r3, 6 +/* 8026A39C 002672FC 38 80 00 00 */ li r4, 0 +/* 8026A3A0 00267300 48 09 E1 19 */ bl SetLineWidth__3CGXFUc12_GXTexOffset +lbl_8026A3A4: +/* 8026A3A4 00267304 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026A3A8 00267308 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026A3AC 0026730C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026A3B0 00267310 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026A3B4 00267314 7C 08 03 A6 */ mtlr r0 +/* 8026A3B8 00267318 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026A3BC 0026731C 4E 80 00 20 */ blr + +.global Draw__20CRainSplashGeneratorCFRC12CTransform4f +Draw__20CRainSplashGeneratorCFRC12CTransform4f: +/* 8026A3C0 00267320 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A3C4 00267324 7C 08 02 A6 */ mflr r0 +/* 8026A3C8 00267328 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A3CC 0026732C 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8026A3D0 00267330 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026A3D4 00267334 41 82 00 08 */ beq lbl_8026A3DC +/* 8026A3D8 00267338 4B FF FE 29 */ bl DoDraw__20CRainSplashGeneratorCFRC12CTransform4f +lbl_8026A3DC: +/* 8026A3DC 0026733C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A3E0 00267340 7C 08 03 A6 */ mtlr r0 +/* 8026A3E4 00267344 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A3E8 00267348 4E 80 00 20 */ blr + +.global Update__20CRainSplashGeneratorFfR13CStateManager +Update__20CRainSplashGeneratorFfR13CStateManager: +/* 8026A3EC 0026734C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A3F0 00267350 7C 08 02 A6 */ mflr r0 +/* 8026A3F4 00267354 FC 40 08 90 */ fmr f2, f1 +/* 8026A3F8 00267358 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A3FC 0026735C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A400 00267360 7C 7F 1B 78 */ mr r31, r3 +/* 8026A404 00267364 80 A4 08 50 */ lwz r5, 0x850(r4) +/* 8026A408 00267368 80 C4 08 80 */ lwz r6, 0x880(r4) +/* 8026A40C 0026736C 80 E5 00 C4 */ lwz r7, 0xc4(r5) +/* 8026A410 00267370 38 A0 00 00 */ li r5, 0 +/* 8026A414 00267374 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 8026A418 00267378 2C 07 00 00 */ cmpwi r7, 0 +/* 8026A41C 0026737C 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8026A420 00267380 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8026A424 00267384 98 03 00 48 */ stb r0, 0x48(r3) +/* 8026A428 00267388 41 82 00 40 */ beq lbl_8026A468 +/* 8026A42C 0026738C 88 06 00 24 */ lbz r0, 0x24(r6) +/* 8026A430 00267390 28 00 00 00 */ cmplwi r0, 0 +/* 8026A434 00267394 41 82 00 34 */ beq lbl_8026A468 +/* 8026A438 00267398 C0 26 00 30 */ lfs f1, 0x30(r6) +/* 8026A43C 0026739C C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A440 002673A0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8026A444 002673A4 41 82 00 24 */ beq lbl_8026A468 +/* 8026A448 002673A8 2C 07 00 02 */ cmpwi r7, 2 +/* 8026A44C 002673AC 41 82 00 08 */ beq lbl_8026A454 +/* 8026A450 002673B0 48 00 00 18 */ b lbl_8026A468 +lbl_8026A454: +/* 8026A454 002673B4 48 00 00 29 */ bl UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff +/* 8026A458 002673B8 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8026A45C 002673BC 38 60 00 01 */ li r3, 1 +/* 8026A460 002673C0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8026A464 002673C4 98 1F 00 48 */ stb r0, 0x48(r31) +lbl_8026A468: +/* 8026A468 002673C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A46C 002673CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A470 002673D0 7C 08 03 A6 */ mtlr r0 +/* 8026A474 002673D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A478 002673D8 4E 80 00 20 */ blr + +.global UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff +UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff: +/* 8026A47C 002673DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026A480 002673E0 7C 08 02 A6 */ mflr r0 +/* 8026A484 002673E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026A488 002673E8 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8026A48C 002673EC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8026A490 002673F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A494 002673F4 93 C1 00 08 */ stw r30, 8(r1) +/* 8026A498 002673F8 C0 02 BB 84 */ lfs f0, lbl_805AD8A4@sda21(r2) +/* 8026A49C 002673FC 7C 7E 1B 78 */ mr r30, r3 +/* 8026A4A0 00267400 C0 62 BB 58 */ lfs f3, lbl_805AD878@sda21(r2) +/* 8026A4A4 00267404 FF E0 10 90 */ fmr f31, f2 +/* 8026A4A8 00267408 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8026A4AC 0026740C C0 23 00 20 */ lfs f1, 0x20(r3) +/* 8026A4B0 00267410 7C 9F 23 78 */ mr r31, r4 +/* 8026A4B4 00267414 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8026A4B8 00267418 EC 03 00 24 */ fdivs f0, f3, f0 +/* 8026A4BC 0026741C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8026A4C0 00267420 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8026A4C4 00267424 80 03 00 40 */ lwz r0, 0x40(r3) +/* 8026A4C8 00267428 2C 00 00 00 */ cmpwi r0, 0 +/* 8026A4CC 0026742C 40 81 00 44 */ ble lbl_8026A510 +/* 8026A4D0 00267430 80 DE 00 38 */ lwz r6, 0x38(r30) +/* 8026A4D4 00267434 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 8026A4D8 00267438 7C 06 28 00 */ cmpw r6, r5 +/* 8026A4DC 0026743C 41 81 00 2C */ bgt lbl_8026A508 +/* 8026A4E0 00267440 FC 20 F8 90 */ fmr f1, f31 +/* 8026A4E4 00267444 80 DE 00 04 */ lwz r6, 4(r30) +/* 8026A4E8 00267448 48 00 00 49 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +/* 8026A4EC 0026744C FC 20 F8 90 */ fmr f1, f31 +/* 8026A4F0 00267450 80 DE 00 38 */ lwz r6, 0x38(r30) +/* 8026A4F4 00267454 7F C3 F3 78 */ mr r3, r30 +/* 8026A4F8 00267458 7F E4 FB 78 */ mr r4, r31 +/* 8026A4FC 0026745C 38 A0 00 00 */ li r5, 0 +/* 8026A500 00267460 48 00 00 31 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +/* 8026A504 00267464 48 00 00 0C */ b lbl_8026A510 +lbl_8026A508: +/* 8026A508 00267468 FC 20 F8 90 */ fmr f1, f31 +/* 8026A50C 0026746C 48 00 00 25 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +lbl_8026A510: +/* 8026A510 00267470 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8026A514 00267474 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026A518 00267478 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8026A51C 0026747C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A520 00267480 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026A524 00267484 7C 08 03 A6 */ mtlr r0 +/* 8026A528 00267488 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026A52C 0026748C 4E 80 00 20 */ blr + +.global UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif: +/* 8026A530 00267490 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026A534 00267494 7C 08 02 A6 */ mflr r0 +/* 8026A538 00267498 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026A53C 0026749C DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8026A540 002674A0 FF E0 08 90 */ fmr f31, f1 +/* 8026A544 002674A4 BF 41 00 10 */ stmw r26, 0x10(r1) +/* 8026A548 002674A8 7C BD 2B 78 */ mr r29, r5 +/* 8026A54C 002674AC 1F DD 00 74 */ mulli r30, r29, 0x74 +/* 8026A550 002674B0 7C 7A 1B 78 */ mr r26, r3 +/* 8026A554 002674B4 7C 9B 23 78 */ mr r27, r4 +/* 8026A558 002674B8 7C DC 33 78 */ mr r28, r6 +/* 8026A55C 002674BC 48 00 00 64 */ b lbl_8026A5C0 +lbl_8026A560: +/* 8026A560 002674C0 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 8026A564 002674C4 FC 20 F8 90 */ fmr f1, f31 +/* 8026A568 002674C8 7F 64 DB 78 */ mr r4, r27 +/* 8026A56C 002674CC 7F E0 F2 14 */ add r31, r0, r30 +/* 8026A570 002674D0 7F E3 FB 78 */ mr r3, r31 +/* 8026A574 002674D4 4B FF F8 59 */ bl Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager +/* 8026A578 002674D8 7F E3 FB 78 */ mr r3, r31 +/* 8026A57C 002674DC 4B FF F7 85 */ bl IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager +/* 8026A580 002674E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026A584 002674E4 40 82 00 34 */ bne lbl_8026A5B8 +/* 8026A588 002674E8 80 7A 00 40 */ lwz r3, 0x40(r26) +/* 8026A58C 002674EC 38 03 FF FF */ addi r0, r3, -1 +/* 8026A590 002674F0 90 1A 00 40 */ stw r0, 0x40(r26) +/* 8026A594 002674F4 80 7A 00 3C */ lwz r3, 0x3c(r26) +/* 8026A598 002674F8 38 03 00 01 */ addi r0, r3, 1 +/* 8026A59C 002674FC 90 1A 00 3C */ stw r0, 0x3c(r26) +/* 8026A5A0 00267500 80 7A 00 3C */ lwz r3, 0x3c(r26) +/* 8026A5A4 00267504 80 1A 00 04 */ lwz r0, 4(r26) +/* 8026A5A8 00267508 7C 03 00 00 */ cmpw r3, r0 +/* 8026A5AC 0026750C 41 80 00 0C */ blt lbl_8026A5B8 +/* 8026A5B0 00267510 38 00 00 00 */ li r0, 0 +/* 8026A5B4 00267514 90 1A 00 3C */ stw r0, 0x3c(r26) +lbl_8026A5B8: +/* 8026A5B8 00267518 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A5BC 0026751C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A5C0: +/* 8026A5C0 00267520 7C 1D E0 00 */ cmpw r29, r28 +/* 8026A5C4 00267524 41 80 FF 9C */ blt lbl_8026A560 +/* 8026A5C8 00267528 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8026A5CC 0026752C BB 41 00 10 */ lmw r26, 0x10(r1) +/* 8026A5D0 00267530 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026A5D4 00267534 7C 08 03 A6 */ mtlr r0 +/* 8026A5D8 00267538 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026A5DC 0026753C 4E 80 00 20 */ blr + +.global GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi +GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi: +/* 8026A5E0 00267540 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026A5E4 00267544 7C 08 02 A6 */ mflr r0 +/* 8026A5E8 00267548 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026A5EC 0026754C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8026A5F0 00267550 7C 7A 1B 78 */ mr r26, r3 +/* 8026A5F4 00267554 7C 9B 23 78 */ mr r27, r4 +/* 8026A5F8 00267558 7C BC 2B 78 */ mr r28, r5 +/* 8026A5FC 0026755C 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8026A600 00267560 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026A604 00267564 41 82 00 B4 */ beq lbl_8026A6B8 +/* 8026A608 00267568 C0 3A 00 20 */ lfs f1, 0x20(r26) +/* 8026A60C 0026756C C0 1A 00 24 */ lfs f0, 0x24(r26) +/* 8026A610 00267570 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026A614 00267574 40 81 00 A4 */ ble lbl_8026A6B8 +/* 8026A618 00267578 80 7A 00 34 */ lwz r3, 0x34(r26) +/* 8026A61C 0026757C 7C DF 33 78 */ mr r31, r6 +/* 8026A620 00267580 3B C0 00 00 */ li r30, 0 +/* 8026A624 00267584 48 00 00 7C */ b lbl_8026A6A0 +lbl_8026A628: +/* 8026A628 00267588 80 9A 00 40 */ lwz r4, 0x40(r26) +/* 8026A62C 0026758C 80 1A 00 04 */ lwz r0, 4(r26) +/* 8026A630 00267590 7C 04 00 00 */ cmpw r4, r0 +/* 8026A634 00267594 40 80 00 78 */ bge lbl_8026A6AC +/* 8026A638 00267598 C0 3A 00 2C */ lfs f1, 0x2c(r26) +/* 8026A63C 0026759C 7F 64 DB 78 */ mr r4, r27 +/* 8026A640 002675A0 7F 85 E3 78 */ mr r5, r28 +/* 8026A644 002675A4 7F E6 FB 78 */ mr r6, r31 +/* 8026A648 002675A8 38 FA 00 10 */ addi r7, r26, 0x10 +/* 8026A64C 002675AC 48 00 03 D9 */ bl GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f +/* 8026A650 002675B0 7C 7D 1B 78 */ mr r29, r3 +/* 8026A654 002675B4 C0 BA 00 1C */ lfs f5, 0x1c(r26) +/* 8026A658 002675B8 1C 1D 00 0C */ mulli r0, r29, 0xc +/* 8026A65C 002675BC C0 7A 00 18 */ lfs f3, 0x18(r26) +/* 8026A660 002675C0 C0 3A 00 14 */ lfs f1, 0x14(r26) +/* 8026A664 002675C4 7F 43 D3 78 */ mr r3, r26 +/* 8026A668 002675C8 38 81 00 08 */ addi r4, r1, 8 +/* 8026A66C 002675CC 7C BB 02 14 */ add r5, r27, r0 +/* 8026A670 002675D0 C0 85 00 08 */ lfs f4, 8(r5) +/* 8026A674 002675D4 C0 45 00 04 */ lfs f2, 4(r5) +/* 8026A678 002675D8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026A67C 002675DC EC 85 01 32 */ fmuls f4, f5, f4 +/* 8026A680 002675E0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8026A684 002675E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8026A688 002675E8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8026A68C 002675EC D0 01 00 08 */ stfs f0, 8(r1) +/* 8026A690 002675F0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8026A694 002675F4 48 00 00 39 */ bl AddPoint__20CRainSplashGeneratorFRC9CVector3f +/* 8026A698 002675F8 7F A3 EB 78 */ mr r3, r29 +/* 8026A69C 002675FC 3B DE 00 01 */ addi r30, r30, 1 +lbl_8026A6A0: +/* 8026A6A0 00267600 80 1A 00 44 */ lwz r0, 0x44(r26) +/* 8026A6A4 00267604 7C 1E 00 00 */ cmpw r30, r0 +/* 8026A6A8 00267608 41 80 FF 80 */ blt lbl_8026A628 +lbl_8026A6AC: +/* 8026A6AC 0026760C 90 7A 00 34 */ stw r3, 0x34(r26) +/* 8026A6B0 00267610 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A6B4 00267614 D0 1A 00 20 */ stfs f0, 0x20(r26) +lbl_8026A6B8: +/* 8026A6B8 00267618 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8026A6BC 0026761C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026A6C0 00267620 7C 08 03 A6 */ mtlr r0 +/* 8026A6C4 00267624 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026A6C8 00267628 4E 80 00 20 */ blr + +.global AddPoint__20CRainSplashGeneratorFRC9CVector3f +AddPoint__20CRainSplashGeneratorFRC9CVector3f: +/* 8026A6CC 0026762C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A6D0 00267630 7C 08 02 A6 */ mflr r0 +/* 8026A6D4 00267634 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A6D8 00267638 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A6DC 0026763C 7C 7F 1B 78 */ mr r31, r3 +/* 8026A6E0 00267640 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8026A6E4 00267644 80 1F 00 04 */ lwz r0, 4(r31) +/* 8026A6E8 00267648 7C 03 00 00 */ cmpw r3, r0 +/* 8026A6EC 0026764C 41 80 00 0C */ blt lbl_8026A6F8 +/* 8026A6F0 00267650 38 00 00 00 */ li r0, 0 +/* 8026A6F4 00267654 90 1F 00 38 */ stw r0, 0x38(r31) +lbl_8026A6F8: +/* 8026A6F8 00267658 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A6FC 0026765C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8026A700 00267660 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026A704 00267664 7C 63 02 14 */ add r3, r3, r0 +/* 8026A708 00267668 4B FF F5 79 */ bl SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f +/* 8026A70C 0026766C 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026A710 00267670 38 03 00 01 */ addi r0, r3, 1 +/* 8026A714 00267674 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8026A718 00267678 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8026A71C 0026767C 38 03 00 01 */ addi r0, r3, 1 +/* 8026A720 00267680 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026A724 00267684 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A728 00267688 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A72C 0026768C 7C 08 03 A6 */ mtlr r0 +/* 8026A730 00267690 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A734 00267694 4E 80 00 20 */ blr + +.global __ct__20CRainSplashGeneratorFRC9CVector3fiiff +__ct__20CRainSplashGeneratorFRC9CVector3fiiff: +/* 8026A738 00267698 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8026A73C 0026769C 7C 08 02 A6 */ mflr r0 +/* 8026A740 002676A0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8026A744 002676A4 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8026A748 002676A8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8026A74C 002676AC DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8026A750 002676B0 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8026A754 002676B4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8026A758 002676B8 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8026A75C 002676BC 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8026A760 002676C0 93 81 00 80 */ stw r28, 0x80(r1) +/* 8026A764 002676C4 7C 7F 1B 78 */ mr r31, r3 +/* 8026A768 002676C8 38 00 00 00 */ li r0, 0 +/* 8026A76C 002676CC 90 03 00 04 */ stw r0, 4(r3) +/* 8026A770 002676D0 7C 9C 23 78 */ mr r28, r4 +/* 8026A774 002676D4 FF C0 08 90 */ fmr f30, f1 +/* 8026A778 002676D8 7C BD 2B 78 */ mr r29, r5 +/* 8026A77C 002676DC 90 03 00 08 */ stw r0, 8(r3) +/* 8026A780 002676E0 FF E0 10 90 */ fmr f31, f2 +/* 8026A784 002676E4 7C DE 33 78 */ mr r30, r6 +/* 8026A788 002676E8 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8026A78C 002676EC 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8026A790 002676F0 38 80 00 63 */ li r4, 0x63 +/* 8026A794 002676F4 48 0A 7E 59 */ bl __ct__9CRandom16FUi +/* 8026A798 002676F8 C0 3C 00 00 */ lfs f1, 0(r28) +/* 8026A79C 002676FC C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2) +/* 8026A7A0 00267700 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 8026A7A4 00267704 C0 22 BB 54 */ lfs f1, lbl_805AD874@sda21(r2) +/* 8026A7A8 00267708 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8026A7AC 0026770C C0 1C 00 04 */ lfs f0, 4(r28) +/* 8026A7B0 00267710 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8026A7B4 00267714 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8026A7B8 00267718 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8026A7BC 0026771C D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 8026A7C0 00267720 D0 3F 00 28 */ stfs f1, 0x28(r31) +/* 8026A7C4 00267724 D3 DF 00 2C */ stfs f30, 0x2c(r31) +/* 8026A7C8 00267728 40 81 00 0C */ ble lbl_8026A7D4 +/* 8026A7CC 0026772C C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2) +/* 8026A7D0 00267730 48 00 00 0C */ b lbl_8026A7DC +lbl_8026A7D4: +/* 8026A7D4 00267734 C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2) +/* 8026A7D8 00267738 EC 00 07 F2 */ fmuls f0, f0, f31 +lbl_8026A7DC: +/* 8026A7DC 0026773C D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8026A7E0 00267740 38 60 00 00 */ li r3, 0 +/* 8026A7E4 00267744 7C 1E E8 00 */ cmpw r30, r29 +/* 8026A7E8 00267748 7F C0 F3 78 */ mr r0, r30 +/* 8026A7EC 0026774C 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8026A7F0 00267750 90 7F 00 38 */ stw r3, 0x38(r31) +/* 8026A7F4 00267754 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 8026A7F8 00267758 90 7F 00 40 */ stw r3, 0x40(r31) +/* 8026A7FC 0026775C 40 81 00 08 */ ble lbl_8026A804 +/* 8026A800 00267760 7F A0 EB 78 */ mr r0, r29 +lbl_8026A804: +/* 8026A804 00267764 90 1F 00 44 */ stw r0, 0x44(r31) +/* 8026A808 00267768 38 80 00 00 */ li r4, 0 +/* 8026A80C 0026776C 38 A0 00 01 */ li r5, 1 +/* 8026A810 00267770 7F E3 FB 78 */ mr r3, r31 +/* 8026A814 00267774 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8026A818 00267778 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8026A81C 0026777C 7F A4 EB 78 */ mr r4, r29 +/* 8026A820 00267780 98 1F 00 48 */ stb r0, 0x48(r31) +/* 8026A824 00267784 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8026A828 00267788 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8026A82C 0026778C 98 1F 00 48 */ stb r0, 0x48(r31) +/* 8026A830 00267790 48 00 03 89 */ bl sub_8026abb8 +/* 8026A834 00267794 3B C0 00 00 */ li r30, 0 +/* 8026A838 00267798 48 00 00 74 */ b lbl_8026A8AC +lbl_8026A83C: +/* 8026A83C 0026779C 38 61 00 08 */ addi r3, r1, 8 +/* 8026A840 002677A0 4B FF F6 09 */ bl __ct__Q220CRainSplashGenerator11SRainSplash +/* 8026A844 002677A4 7F E3 FB 78 */ mr r3, r31 +/* 8026A848 002677A8 38 81 00 08 */ addi r4, r1, 8 +/* 8026A84C 002677AC 48 00 00 9D */ bl "push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash" +/* 8026A850 002677B0 80 A1 00 08 */ lwz r5, 8(r1) +/* 8026A854 002677B4 38 60 00 00 */ li r3, 0 +/* 8026A858 002677B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8026A85C 002677BC 40 81 00 44 */ ble lbl_8026A8A0 +/* 8026A860 002677C0 2C 05 00 08 */ cmpwi r5, 8 +/* 8026A864 002677C4 38 85 FF F8 */ addi r4, r5, -8 +/* 8026A868 002677C8 40 81 00 20 */ ble lbl_8026A888 +/* 8026A86C 002677CC 38 04 00 07 */ addi r0, r4, 7 +/* 8026A870 002677D0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8026A874 002677D4 7C 09 03 A6 */ mtctr r0 +/* 8026A878 002677D8 2C 04 00 00 */ cmpwi r4, 0 +/* 8026A87C 002677DC 40 81 00 0C */ ble lbl_8026A888 +lbl_8026A880: +/* 8026A880 002677E0 38 63 00 08 */ addi r3, r3, 8 +/* 8026A884 002677E4 42 00 FF FC */ bdnz lbl_8026A880 +lbl_8026A888: +/* 8026A888 002677E8 7C 03 28 50 */ subf r0, r3, r5 +/* 8026A88C 002677EC 7C 09 03 A6 */ mtctr r0 +/* 8026A890 002677F0 7C 03 28 00 */ cmpw r3, r5 +/* 8026A894 002677F4 40 80 00 0C */ bge lbl_8026A8A0 +lbl_8026A898: +/* 8026A898 002677F8 38 63 00 01 */ addi r3, r3, 1 +/* 8026A89C 002677FC 42 00 FF FC */ bdnz lbl_8026A898 +lbl_8026A8A0: +/* 8026A8A0 00267800 38 00 00 00 */ li r0, 0 +/* 8026A8A4 00267804 3B DE 00 01 */ addi r30, r30, 1 +/* 8026A8A8 00267808 90 01 00 08 */ stw r0, 8(r1) +lbl_8026A8AC: +/* 8026A8AC 0026780C 7C 1E E8 00 */ cmpw r30, r29 +/* 8026A8B0 00267810 41 80 FF 8C */ blt lbl_8026A83C +/* 8026A8B4 00267814 7F E3 FB 78 */ mr r3, r31 +/* 8026A8B8 00267818 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8026A8BC 0026781C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8026A8C0 00267820 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8026A8C4 00267824 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8026A8C8 00267828 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8026A8CC 0026782C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8026A8D0 00267830 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8026A8D4 00267834 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8026A8D8 00267838 83 81 00 80 */ lwz r28, 0x80(r1) +/* 8026A8DC 0026783C 7C 08 03 A6 */ mtlr r0 +/* 8026A8E0 00267840 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8026A8E4 00267844 4E 80 00 20 */ blr + +.global "push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash" +"push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash": +/* 8026A8E8 00267848 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A8EC 0026784C 7C 08 02 A6 */ mflr r0 +/* 8026A8F0 00267850 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A8F4 00267854 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A8F8 00267858 7C 9F 23 78 */ mr r31, r4 +/* 8026A8FC 0026785C 93 C1 00 08 */ stw r30, 8(r1) +/* 8026A900 00267860 7C 7E 1B 78 */ mr r30, r3 +/* 8026A904 00267864 80 03 00 04 */ lwz r0, 4(r3) +/* 8026A908 00267868 80 A3 00 08 */ lwz r5, 8(r3) +/* 8026A90C 0026786C 7C 00 28 00 */ cmpw r0, r5 +/* 8026A910 00267870 41 80 00 18 */ blt lbl_8026A928 +/* 8026A914 00267874 2C 05 00 00 */ cmpwi r5, 0 +/* 8026A918 00267878 38 80 00 04 */ li r4, 4 +/* 8026A91C 0026787C 41 82 00 08 */ beq lbl_8026A924 +/* 8026A920 00267880 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026A924: +/* 8026A924 00267884 48 00 02 95 */ bl sub_8026abb8 +lbl_8026A928: +/* 8026A928 00267888 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026A92C 0026788C 7F E4 FB 78 */ mr r4, r31 +/* 8026A930 00267890 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026A934 00267894 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026A938 00267898 7C 63 02 14 */ add r3, r3, r0 +/* 8026A93C 0026789C 48 00 00 29 */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +/* 8026A940 002678A0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026A944 002678A4 38 03 00 01 */ addi r0, r3, 1 +/* 8026A948 002678A8 90 1E 00 04 */ stw r0, 4(r30) +/* 8026A94C 002678AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A950 002678B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026A954 002678B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A958 002678B8 7C 08 03 A6 */ mtlr r0 +/* 8026A95C 002678BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A960 002678C0 4E 80 00 20 */ blr + +.global __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +__ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash: +/* 8026A964 002678C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A968 002678C8 7C 08 02 A6 */ mflr r0 +/* 8026A96C 002678CC 28 03 00 00 */ cmplwi r3, 0 +/* 8026A970 002678D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A974 002678D4 41 82 00 08 */ beq lbl_8026A97C +/* 8026A978 002678D8 48 00 00 15 */ bl __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +lbl_8026A97C: +/* 8026A97C 002678DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A980 002678E0 7C 08 03 A6 */ mtlr r0 +/* 8026A984 002678E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A988 002678E8 4E 80 00 20 */ blr + +.global __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +__as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash: +/* 8026A98C 002678EC 80 04 00 00 */ lwz r0, 0(r4) +/* 8026A990 002678F0 38 C4 00 04 */ addi r6, r4, 4 +/* 8026A994 002678F4 38 A3 00 04 */ addi r5, r3, 4 +/* 8026A998 002678F8 90 03 00 00 */ stw r0, 0(r3) +/* 8026A99C 002678FC 80 03 00 00 */ lwz r0, 0(r3) +/* 8026A9A0 00267900 7C 09 03 A6 */ mtctr r0 +/* 8026A9A4 00267904 2C 00 00 00 */ cmpwi r0, 0 +/* 8026A9A8 00267908 40 81 00 58 */ ble lbl_8026AA00 +lbl_8026A9AC: +/* 8026A9AC 0026790C 28 05 00 00 */ cmplwi r5, 0 +/* 8026A9B0 00267910 41 82 00 44 */ beq lbl_8026A9F4 +/* 8026A9B4 00267914 C0 06 00 00 */ lfs f0, 0(r6) +/* 8026A9B8 00267918 D0 05 00 00 */ stfs f0, 0(r5) +/* 8026A9BC 0026791C C0 06 00 04 */ lfs f0, 4(r6) +/* 8026A9C0 00267920 D0 05 00 04 */ stfs f0, 4(r5) +/* 8026A9C4 00267924 C0 06 00 08 */ lfs f0, 8(r6) +/* 8026A9C8 00267928 D0 05 00 08 */ stfs f0, 8(r5) +/* 8026A9CC 0026792C C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8026A9D0 00267930 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8026A9D4 00267934 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 8026A9D8 00267938 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8026A9DC 0026793C 88 06 00 14 */ lbz r0, 0x14(r6) +/* 8026A9E0 00267940 98 05 00 14 */ stb r0, 0x14(r5) +/* 8026A9E4 00267944 88 06 00 15 */ lbz r0, 0x15(r6) +/* 8026A9E8 00267948 98 05 00 15 */ stb r0, 0x15(r5) +/* 8026A9EC 0026794C 88 06 00 16 */ lbz r0, 0x16(r6) +/* 8026A9F0 00267950 98 05 00 16 */ stb r0, 0x16(r5) +lbl_8026A9F4: +/* 8026A9F4 00267954 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8026A9F8 00267958 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8026A9FC 0026795C 42 00 FF B0 */ bdnz lbl_8026A9AC +lbl_8026AA00: +/* 8026AA00 00267960 C0 04 00 64 */ lfs f0, 0x64(r4) +/* 8026AA04 00267964 D0 03 00 64 */ stfs f0, 0x64(r3) +/* 8026AA08 00267968 C0 04 00 68 */ lfs f0, 0x68(r4) +/* 8026AA0C 0026796C D0 03 00 68 */ stfs f0, 0x68(r3) +/* 8026AA10 00267970 C0 04 00 6C */ lfs f0, 0x6c(r4) +/* 8026AA14 00267974 D0 03 00 6C */ stfs f0, 0x6c(r3) +/* 8026AA18 00267978 C0 04 00 70 */ lfs f0, 0x70(r4) +/* 8026AA1C 0026797C D0 03 00 70 */ stfs f0, 0x70(r3) +/* 8026AA20 00267980 4E 80 00 20 */ blr + +.global GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f +GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f: +/* 8026AA24 00267984 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8026AA28 00267988 7C 08 02 A6 */ mflr r0 +/* 8026AA2C 0026798C 90 01 00 84 */ stw r0, 0x84(r1) +/* 8026AA30 00267990 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8026AA34 00267994 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8026AA38 00267998 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8026AA3C 0026799C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8026AA40 002679A0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8026AA44 002679A4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8026AA48 002679A8 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8026AA4C 002679AC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 8026AA50 002679B0 BF 01 00 20 */ stmw r24, 0x20(r1) +/* 8026AA54 002679B4 C3 E2 BB 54 */ lfs f31, lbl_805AD874@sda21(r2) +/* 8026AA58 002679B8 7C 9C 23 78 */ mr r28, r4 +/* 8026AA5C 002679BC 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8026AA60 002679C0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8026AA64 002679C4 FF C0 08 90 */ fmr f30, f1 +/* 8026AA68 002679C8 7C BD 2B 78 */ mr r29, r5 +/* 8026AA6C 002679CC FF 80 F8 90 */ fmr f28, f31 +/* 8026AA70 002679D0 7C DE 33 78 */ mr r30, r6 +/* 8026AA74 002679D4 FF A0 F8 90 */ fmr f29, f31 +/* 8026AA78 002679D8 7C FF 3B 78 */ mr r31, r7 +/* 8026AA7C 002679DC 7C 7A 1B 78 */ mr r26, r3 +/* 8026AA80 002679E0 7F 3C 02 14 */ add r25, r28, r0 +/* 8026AA84 002679E4 3B 64 66 F4 */ addi r27, r4, lbl_805A66F4@l +/* 8026AA88 002679E8 3B 00 00 00 */ li r24, 0 +lbl_8026AA8C: +/* 8026AA8C 002679EC 7F E3 FB 78 */ mr r3, r31 +/* 8026AA90 002679F0 38 BE FF FF */ addi r5, r30, -1 +/* 8026AA94 002679F4 38 80 00 00 */ li r4, 0 +/* 8026AA98 002679F8 48 0A 7A FD */ bl Range__9CRandom16Fii +/* 8026AA9C 002679FC 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8026AAA0 00267A00 C0 1B 00 04 */ lfs f0, 4(r27) +/* 8026AAA4 00267A04 C0 F9 00 04 */ lfs f7, 4(r25) +/* 8026AAA8 00267A08 38 80 00 00 */ li r4, 0 +/* 8026AAAC 00267A0C C0 99 00 00 */ lfs f4, 0(r25) +/* 8026AAB0 00267A10 7C BD 02 14 */ add r5, r29, r0 +/* 8026AAB4 00267A14 7C DC 02 14 */ add r6, r28, r0 +/* 8026AAB8 00267A18 C0 25 00 04 */ lfs f1, 4(r5) +/* 8026AABC 00267A1C C0 C6 00 04 */ lfs f6, 4(r6) +/* 8026AAC0 00267A20 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8026AAC4 00267A24 C0 66 00 00 */ lfs f3, 0(r6) +/* 8026AAC8 00267A28 ED 07 30 28 */ fsubs f8, f7, f6 +/* 8026AACC 00267A2C C0 5B 00 00 */ lfs f2, 0(r27) +/* 8026AAD0 00267A30 EC C4 18 28 */ fsubs f6, f4, f3 +/* 8026AAD4 00267A34 C0 25 00 00 */ lfs f1, 0(r5) +/* 8026AAD8 00267A38 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8026AADC 00267A3C C0 B9 00 08 */ lfs f5, 8(r25) +/* 8026AAE0 00267A40 C0 66 00 08 */ lfs f3, 8(r6) +/* 8026AAE4 00267A44 EC 86 01 B2 */ fmuls f4, f6, f6 +/* 8026AAE8 00267A48 C0 45 00 08 */ lfs f2, 8(r5) +/* 8026AAEC 00267A4C EC E5 18 28 */ fsubs f7, f5, f3 +/* 8026AAF0 00267A50 C0 3B 00 08 */ lfs f1, 8(r27) +/* 8026AAF4 00267A54 EC 68 02 32 */ fmuls f3, f8, f8 +/* 8026AAF8 00267A58 D0 C1 00 08 */ stfs f6, 8(r1) +/* 8026AAFC 00267A5C EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 8026AB00 00267A60 EC A7 01 F2 */ fmuls f5, f7, f7 +/* 8026AB04 00267A64 D1 01 00 0C */ stfs f8, 0xc(r1) +/* 8026AB08 00267A68 EC 04 18 2A */ fadds f0, f4, f3 +/* 8026AB0C 00267A6C FC 02 E0 40 */ fcmpo cr0, f2, f28 +/* 8026AB10 00267A70 D0 E1 00 10 */ stfs f7, 0x10(r1) +/* 8026AB14 00267A74 EC 25 00 2A */ fadds f1, f5, f0 +/* 8026AB18 00267A78 4C 41 13 82 */ cror 2, 1, 2 +/* 8026AB1C 00267A7C 40 82 00 18 */ bne lbl_8026AB34 +/* 8026AB20 00267A80 C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2) +/* 8026AB24 00267A84 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8026AB28 00267A88 4C 40 13 82 */ cror 2, 0, 2 +/* 8026AB2C 00267A8C 40 82 00 08 */ bne lbl_8026AB34 +/* 8026AB30 00267A90 38 80 00 01 */ li r4, 1 +lbl_8026AB34: +/* 8026AB34 00267A94 FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 8026AB38 00267A98 40 81 00 18 */ ble lbl_8026AB50 +/* 8026AB3C 00267A9C C0 06 00 08 */ lfs f0, 8(r6) +/* 8026AB40 00267AA0 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8026AB44 00267AA4 7C 00 00 26 */ mfcr r0 +/* 8026AB48 00267AA8 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f +/* 8026AB4C 00267AAC 48 00 00 08 */ b lbl_8026AB54 +lbl_8026AB50: +/* 8026AB50 00267AB0 38 A0 00 01 */ li r5, 1 +lbl_8026AB54: +/* 8026AB54 00267AB4 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8026AB58 00267AB8 40 81 00 1C */ ble lbl_8026AB74 +/* 8026AB5C 00267ABC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8026AB60 00267AC0 41 82 00 14 */ beq lbl_8026AB74 +/* 8026AB64 00267AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026AB68 00267AC8 41 82 00 0C */ beq lbl_8026AB74 +/* 8026AB6C 00267ACC 7C 7A 1B 78 */ mr r26, r3 +/* 8026AB70 00267AD0 FF E0 08 90 */ fmr f31, f1 +lbl_8026AB74: +/* 8026AB74 00267AD4 3B 18 00 01 */ addi r24, r24, 1 +/* 8026AB78 00267AD8 2C 18 00 03 */ cmpwi r24, 3 +/* 8026AB7C 00267ADC 41 80 FF 10 */ blt lbl_8026AA8C +/* 8026AB80 00267AE0 7F 43 D3 78 */ mr r3, r26 +/* 8026AB84 00267AE4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8026AB88 00267AE8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8026AB8C 00267AEC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8026AB90 00267AF0 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8026AB94 00267AF4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8026AB98 00267AF8 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8026AB9C 00267AFC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8026ABA0 00267B00 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8026ABA4 00267B04 BB 01 00 20 */ lmw r24, 0x20(r1) +/* 8026ABA8 00267B08 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8026ABAC 00267B0C 7C 08 03 A6 */ mtlr r0 +/* 8026ABB0 00267B10 38 21 00 80 */ addi r1, r1, 0x80 +/* 8026ABB4 00267B14 4E 80 00 20 */ blr + +.global sub_8026abb8 +sub_8026abb8: +/* 8026ABB8 00267B18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026ABBC 00267B1C 7C 08 02 A6 */ mflr r0 +/* 8026ABC0 00267B20 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026ABC4 00267B24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8026ABC8 00267B28 7C 9F 23 78 */ mr r31, r4 +/* 8026ABCC 00267B2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8026ABD0 00267B30 7C 7E 1B 78 */ mr r30, r3 +/* 8026ABD4 00267B34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8026ABD8 00267B38 80 03 00 08 */ lwz r0, 8(r3) +/* 8026ABDC 00267B3C 7C 1F 00 00 */ cmpw r31, r0 +/* 8026ABE0 00267B40 40 81 00 FC */ ble lbl_8026ACDC +/* 8026ABE4 00267B44 1C 7F 00 74 */ mulli r3, r31, 0x74 +/* 8026ABE8 00267B48 2C 03 00 00 */ cmpwi r3, 0 +/* 8026ABEC 00267B4C 40 82 00 0C */ bne lbl_8026ABF8 +/* 8026ABF0 00267B50 3B A0 00 00 */ li r29, 0 +/* 8026ABF4 00267B54 48 00 00 18 */ b lbl_8026AC0C +lbl_8026ABF8: +/* 8026ABF8 00267B58 3C 80 80 3D */ lis r4, lbl_803D5410@ha +/* 8026ABFC 00267B5C 38 A0 00 00 */ li r5, 0 +/* 8026AC00 00267B60 38 84 54 10 */ addi r4, r4, lbl_803D5410@l +/* 8026AC04 00267B64 48 0A AC 15 */ bl __nwa__FUlPCcPCc +/* 8026AC08 00267B68 7C 7D 1B 78 */ mr r29, r3 +lbl_8026AC0C: +/* 8026AC0C 00267B6C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026AC10 00267B70 7F A5 EB 78 */ mr r5, r29 +/* 8026AC14 00267B74 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8026AC18 00267B78 38 61 00 14 */ addi r3, r1, 0x14 +/* 8026AC1C 00267B7C 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026AC20 00267B80 38 81 00 0C */ addi r4, r1, 0xc +/* 8026AC24 00267B84 7C C6 02 14 */ add r6, r6, r0 +/* 8026AC28 00267B88 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026AC2C 00267B8C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8026AC30 00267B90 90 C1 00 08 */ stw r6, 8(r1) +/* 8026AC34 00267B94 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026AC38 00267B98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026AC3C 00267B9C 48 00 00 BD */ bl sub_8026acf8 +/* 8026AC40 00267BA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026AC44 00267BA4 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8026AC48 00267BA8 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026AC4C 00267BAC 7C 66 02 14 */ add r3, r6, r0 +/* 8026AC50 00267BB0 48 00 00 6C */ b lbl_8026ACBC +lbl_8026AC54: +/* 8026AC54 00267BB4 28 06 00 00 */ cmplwi r6, 0 +/* 8026AC58 00267BB8 41 82 00 60 */ beq lbl_8026ACB8 +/* 8026AC5C 00267BBC 41 82 00 5C */ beq lbl_8026ACB8 +/* 8026AC60 00267BC0 80 E6 00 00 */ lwz r7, 0(r6) +/* 8026AC64 00267BC4 38 80 00 00 */ li r4, 0 +/* 8026AC68 00267BC8 2C 07 00 00 */ cmpwi r7, 0 +/* 8026AC6C 00267BCC 40 81 00 44 */ ble lbl_8026ACB0 +/* 8026AC70 00267BD0 2C 07 00 08 */ cmpwi r7, 8 +/* 8026AC74 00267BD4 38 A7 FF F8 */ addi r5, r7, -8 +/* 8026AC78 00267BD8 40 81 00 20 */ ble lbl_8026AC98 +/* 8026AC7C 00267BDC 38 05 00 07 */ addi r0, r5, 7 +/* 8026AC80 00267BE0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8026AC84 00267BE4 7C 09 03 A6 */ mtctr r0 +/* 8026AC88 00267BE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8026AC8C 00267BEC 40 81 00 0C */ ble lbl_8026AC98 +lbl_8026AC90: +/* 8026AC90 00267BF0 38 84 00 08 */ addi r4, r4, 8 +/* 8026AC94 00267BF4 42 00 FF FC */ bdnz lbl_8026AC90 +lbl_8026AC98: +/* 8026AC98 00267BF8 7C 04 38 50 */ subf r0, r4, r7 +/* 8026AC9C 00267BFC 7C 09 03 A6 */ mtctr r0 +/* 8026ACA0 00267C00 7C 04 38 00 */ cmpw r4, r7 +/* 8026ACA4 00267C04 40 80 00 0C */ bge lbl_8026ACB0 +lbl_8026ACA8: +/* 8026ACA8 00267C08 38 84 00 01 */ addi r4, r4, 1 +/* 8026ACAC 00267C0C 42 00 FF FC */ bdnz lbl_8026ACA8 +lbl_8026ACB0: +/* 8026ACB0 00267C10 38 00 00 00 */ li r0, 0 +/* 8026ACB4 00267C14 90 06 00 00 */ stw r0, 0(r6) +lbl_8026ACB8: +/* 8026ACB8 00267C18 38 C6 00 74 */ addi r6, r6, 0x74 +lbl_8026ACBC: +/* 8026ACBC 00267C1C 7C 06 18 40 */ cmplw r6, r3 +/* 8026ACC0 00267C20 40 82 FF 94 */ bne lbl_8026AC54 +/* 8026ACC4 00267C24 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026ACC8 00267C28 28 03 00 00 */ cmplwi r3, 0 +/* 8026ACCC 00267C2C 41 82 00 08 */ beq lbl_8026ACD4 +/* 8026ACD0 00267C30 48 0A AC 61 */ bl Free__7CMemoryFPCv +lbl_8026ACD4: +/* 8026ACD4 00267C34 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8026ACD8 00267C38 93 FE 00 08 */ stw r31, 8(r30) +lbl_8026ACDC: +/* 8026ACDC 00267C3C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026ACE0 00267C40 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026ACE4 00267C44 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8026ACE8 00267C48 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8026ACEC 00267C4C 7C 08 03 A6 */ mtlr r0 +/* 8026ACF0 00267C50 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026ACF4 00267C54 4E 80 00 20 */ blr + +.global sub_8026acf8 +sub_8026acf8: +/* 8026ACF8 00267C58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026ACFC 00267C5C 7C 08 02 A6 */ mflr r0 +/* 8026AD00 00267C60 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026AD04 00267C64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026AD08 00267C68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026AD0C 00267C6C 7C BE 2B 78 */ mr r30, r5 +/* 8026AD10 00267C70 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026AD14 00267C74 7C 9D 23 78 */ mr r29, r4 +/* 8026AD18 00267C78 83 E3 00 00 */ lwz r31, 0(r3) +/* 8026AD1C 00267C7C 48 00 00 18 */ b lbl_8026AD34 +lbl_8026AD20: +/* 8026AD20 00267C80 7F C3 F3 78 */ mr r3, r30 +/* 8026AD24 00267C84 7F E4 FB 78 */ mr r4, r31 +/* 8026AD28 00267C88 4B FF FC 3D */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +/* 8026AD2C 00267C8C 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026AD30 00267C90 3B FF 00 74 */ addi r31, r31, 0x74 +lbl_8026AD34: +/* 8026AD34 00267C94 80 1D 00 00 */ lwz r0, 0(r29) +/* 8026AD38 00267C98 7C 1F 00 40 */ cmplw r31, r0 +/* 8026AD3C 00267C9C 40 82 FF E4 */ bne lbl_8026AD20 +/* 8026AD40 00267CA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026AD44 00267CA4 7F C3 F3 78 */ mr r3, r30 +/* 8026AD48 00267CA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026AD4C 00267CAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026AD50 00267CB0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026AD54 00267CB4 7C 08 03 A6 */ mtlr r0 +/* 8026AD58 00267CB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026AD5C 00267CBC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSaveGameScreen.s b/asm/Kyoto_CWD/CSaveGameScreen.s new file mode 100644 index 00000000..fc1b3605 --- /dev/null +++ b/asm/Kyoto_CWD/CSaveGameScreen.s @@ -0,0 +1,1812 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetInGame__15CSaveGameScreenb +SetInGame__15CSaveGameScreenb: +/* 8024F16C 0024C0CC 98 83 00 93 */ stb r4, 0x93(r3) +/* 8024F170 0024C0D0 4E 80 00 20 */ blr + +.global SetUIColors__15CSaveGameScreenFv +SetUIColors__15CSaveGameScreenFv: +/* 8024F174 0024C0D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F178 0024C0D8 7C 08 02 A6 */ mflr r0 +/* 8024F17C 0024C0DC 38 C0 00 A0 */ li r6, 0xa0 +/* 8024F180 0024C0E0 38 80 FF FF */ li r4, -1 +/* 8024F184 0024C0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F188 0024C0E8 38 00 00 C8 */ li r0, 0xc8 +/* 8024F18C 0024C0EC 38 A1 00 08 */ addi r5, r1, 8 +/* 8024F190 0024C0F0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8024F194 0024C0F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8024F198 0024C0F8 98 C1 00 08 */ stb r6, 8(r1) +/* 8024F19C 0024C0FC 98 C1 00 09 */ stb r6, 9(r1) +/* 8024F1A0 0024C100 98 C1 00 0A */ stb r6, 0xa(r1) +/* 8024F1A4 0024C104 98 01 00 0B */ stb r0, 0xb(r1) +/* 8024F1A8 0024C108 80 63 00 58 */ lwz r3, 0x58(r3) +/* 8024F1AC 0024C10C 48 07 74 51 */ bl SetColors__14CGuiTableGroupCFRC6CColorRC6CColor +/* 8024F1B0 0024C110 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F1B4 0024C114 7C 08 03 A6 */ mtlr r0 +/* 8024F1B8 0024C118 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F1BC 0024C11C 4E 80 00 20 */ blr + +.global DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup +DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup: +/* 8024F1C0 0024C120 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024F1C4 0024C124 7C 08 02 A6 */ mflr r0 +/* 8024F1C8 0024C128 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024F1CC 0024C12C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024F1D0 0024C130 7C 7F 1B 78 */ mr r31, r3 +/* 8024F1D4 0024C134 4B FF FF A1 */ bl SetUIColors__15CSaveGameScreenFv +/* 8024F1D8 0024C138 80 1F 00 88 */ lwz r0, 0x88(r31) +/* 8024F1DC 0024C13C 38 61 00 08 */ addi r3, r1, 8 +/* 8024F1E0 0024C140 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8024F1E4 0024C144 38 A0 00 7F */ li r5, 0x7f +/* 8024F1E8 0024C148 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8024F1EC 0024C14C 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 8024F1F0 0024C150 38 C0 00 40 */ li r6, 0x40 +/* 8024F1F4 0024C154 38 E0 00 00 */ li r7, 0 +/* 8024F1F8 0024C158 39 20 00 00 */ li r9, 0 +/* 8024F1FC 0024C15C 48 09 AB 79 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8024F200 0024C160 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024F204 0024C164 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024F208 0024C168 7C 08 03 A6 */ mtlr r0 +/* 8024F20C 0024C16C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024F210 0024C170 4E 80 00 20 */ blr + +.global DoAdvance__15CSaveGameScreenFP14CGuiTableGroup +DoAdvance__15CSaveGameScreenFP14CGuiTableGroup: +/* 8024F214 0024C174 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024F218 0024C178 7C 08 02 A6 */ mflr r0 +/* 8024F21C 0024C17C 38 C0 FF FF */ li r6, -1 +/* 8024F220 0024C180 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024F224 0024C184 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024F228 0024C188 7C 7F 1B 78 */ mr r31, r3 +/* 8024F22C 0024C18C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024F230 0024C190 80 83 00 58 */ lwz r4, 0x58(r3) +/* 8024F234 0024C194 28 00 00 10 */ cmplwi r0, 0x10 +/* 8024F238 0024C198 80 A4 00 C4 */ lwz r5, 0xc4(r4) +/* 8024F23C 0024C19C 41 81 03 78 */ bgt lbl_8024F5B4 +/* 8024F240 0024C1A0 3C 80 80 3F */ lis r4, lbl_803E8DB8@ha +/* 8024F244 0024C1A4 54 00 10 3A */ slwi r0, r0, 2 +/* 8024F248 0024C1A8 38 84 8D B8 */ addi r4, r4, lbl_803E8DB8@l +/* 8024F24C 0024C1AC 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8024F250 0024C1B0 7C 09 03 A6 */ mtctr r0 +/* 8024F254 0024C1B4 4E 80 04 20 */ bctr +/* 8024F258 0024C1B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F25C 0024C1BC 40 82 00 2C */ bne lbl_8024F288 +/* 8024F260 0024C1C0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F264 0024C1C4 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F268 0024C1C8 40 82 00 10 */ bne lbl_8024F278 +/* 8024F26C 0024C1CC 38 00 00 02 */ li r0, 2 +/* 8024F270 0024C1D0 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F274 0024C1D4 48 00 00 0C */ b lbl_8024F280 +lbl_8024F278: +/* 8024F278 0024C1D8 7F E3 FB 78 */ mr r3, r31 +/* 8024F27C 0024C1DC 48 00 04 D9 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F280: +/* 8024F280 0024C1E0 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F284 0024C1E4 48 00 03 30 */ b lbl_8024F5B4 +lbl_8024F288: +/* 8024F288 0024C1E8 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F28C 0024C1EC 40 82 03 28 */ bne lbl_8024F5B4 +/* 8024F290 0024C1F0 7F E3 FB 78 */ mr r3, r31 +/* 8024F294 0024C1F4 48 00 0A F9 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F298 0024C1F8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F29C 0024C1FC 48 00 03 18 */ b lbl_8024F5B4 +/* 8024F2A0 0024C200 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F2A4 0024C204 40 82 00 2C */ bne lbl_8024F2D0 +/* 8024F2A8 0024C208 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F2AC 0024C20C 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F2B0 0024C210 40 82 00 10 */ bne lbl_8024F2C0 +/* 8024F2B4 0024C214 38 00 00 02 */ li r0, 2 +/* 8024F2B8 0024C218 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F2BC 0024C21C 48 00 00 0C */ b lbl_8024F2C8 +lbl_8024F2C0: +/* 8024F2C0 0024C220 7F E3 FB 78 */ mr r3, r31 +/* 8024F2C4 0024C224 48 00 04 91 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F2C8: +/* 8024F2C8 0024C228 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F2CC 0024C22C 48 00 02 E8 */ b lbl_8024F5B4 +lbl_8024F2D0: +/* 8024F2D0 0024C230 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F2D4 0024C234 40 82 00 14 */ bne lbl_8024F2E8 +/* 8024F2D8 0024C238 7F E3 FB 78 */ mr r3, r31 +/* 8024F2DC 0024C23C 48 00 0A B1 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F2E0 0024C240 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F2E4 0024C244 48 00 02 D0 */ b lbl_8024F5B4 +lbl_8024F2E8: +/* 8024F2E8 0024C248 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F2EC 0024C24C 40 82 02 C8 */ bne lbl_8024F5B4 +/* 8024F2F0 0024C250 38 60 00 0F */ li r3, 0xf +/* 8024F2F4 0024C254 38 00 00 01 */ li r0, 1 +/* 8024F2F8 0024C258 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024F2FC 0024C25C 98 1F 00 91 */ stb r0, 0x91(r31) +/* 8024F300 0024C260 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F304 0024C264 48 00 02 B0 */ b lbl_8024F5B4 +/* 8024F308 0024C268 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F30C 0024C26C 40 82 00 2C */ bne lbl_8024F338 +/* 8024F310 0024C270 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F314 0024C274 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F318 0024C278 40 82 00 10 */ bne lbl_8024F328 +/* 8024F31C 0024C27C 38 00 00 02 */ li r0, 2 +/* 8024F320 0024C280 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F324 0024C284 48 00 00 0C */ b lbl_8024F330 +lbl_8024F328: +/* 8024F328 0024C288 7F E3 FB 78 */ mr r3, r31 +/* 8024F32C 0024C28C 48 00 04 29 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F330: +/* 8024F330 0024C290 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F334 0024C294 48 00 02 80 */ b lbl_8024F5B4 +lbl_8024F338: +/* 8024F338 0024C298 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F33C 0024C29C 40 82 00 14 */ bne lbl_8024F350 +/* 8024F340 0024C2A0 7F E3 FB 78 */ mr r3, r31 +/* 8024F344 0024C2A4 48 00 0A 49 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F348 0024C2A8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F34C 0024C2AC 48 00 02 68 */ b lbl_8024F5B4 +lbl_8024F350: +/* 8024F350 0024C2B0 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F354 0024C2B4 40 82 02 60 */ bne lbl_8024F5B4 +/* 8024F358 0024C2B8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F35C 0024C2BC 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F360 0024C2C0 40 82 00 1C */ bne lbl_8024F37C +/* 8024F364 0024C2C4 38 60 00 0D */ li r3, 0xd +/* 8024F368 0024C2C8 38 00 00 01 */ li r0, 1 +/* 8024F36C 0024C2CC 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024F370 0024C2D0 98 1F 00 91 */ stb r0, 0x91(r31) +/* 8024F374 0024C2D4 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F378 0024C2D8 48 00 02 3C */ b lbl_8024F5B4 +lbl_8024F37C: +/* 8024F37C 0024C2DC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8024F380 0024C2E0 38 80 00 01 */ li r4, 1 +/* 8024F384 0024C2E4 88 03 01 60 */ lbz r0, 0x160(r3) +/* 8024F388 0024C2E8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8024F38C 0024C2EC 98 03 01 60 */ stb r0, 0x160(r3) +/* 8024F390 0024C2F0 48 00 02 24 */ b lbl_8024F5B4 +/* 8024F394 0024C2F4 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F398 0024C2F8 40 82 00 14 */ bne lbl_8024F3AC +/* 8024F39C 0024C2FC 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F3A0 0024C300 4B FF E6 A9 */ bl StartFileDeleteBad__17CMemoryCardDriverFv +/* 8024F3A4 0024C304 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F3A8 0024C308 48 00 02 0C */ b lbl_8024F5B4 +lbl_8024F3AC: +/* 8024F3AC 0024C30C 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F3B0 0024C310 40 82 00 28 */ bne lbl_8024F3D8 +/* 8024F3B4 0024C314 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F3B8 0024C318 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F3BC 0024C31C 40 82 00 10 */ bne lbl_8024F3CC +/* 8024F3C0 0024C320 38 00 00 02 */ li r0, 2 +/* 8024F3C4 0024C324 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F3C8 0024C328 48 00 00 08 */ b lbl_8024F3D0 +lbl_8024F3CC: +/* 8024F3CC 0024C32C 48 00 03 89 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F3D0: +/* 8024F3D0 0024C330 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F3D4 0024C334 48 00 01 E0 */ b lbl_8024F5B4 +lbl_8024F3D8: +/* 8024F3D8 0024C338 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F3DC 0024C33C 40 82 01 D8 */ bne lbl_8024F5B4 +/* 8024F3E0 0024C340 48 00 09 AD */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F3E4 0024C344 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F3E8 0024C348 48 00 01 CC */ b lbl_8024F5B4 +/* 8024F3EC 0024C34C 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F3F0 0024C350 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F3F4 0024C354 40 82 00 50 */ bne lbl_8024F444 +/* 8024F3F8 0024C358 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F3FC 0024C35C 40 82 00 14 */ bne lbl_8024F410 +/* 8024F400 0024C360 38 00 00 02 */ li r0, 2 +/* 8024F404 0024C364 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F408 0024C368 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F40C 0024C36C 48 00 01 A8 */ b lbl_8024F5B4 +lbl_8024F410: +/* 8024F410 0024C370 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F414 0024C374 40 82 00 10 */ bne lbl_8024F424 +/* 8024F418 0024C378 48 00 09 75 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F41C 0024C37C 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F420 0024C380 48 00 01 94 */ b lbl_8024F5B4 +lbl_8024F424: +/* 8024F424 0024C384 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F428 0024C388 40 82 01 8C */ bne lbl_8024F5B4 +/* 8024F42C 0024C38C 38 60 00 0D */ li r3, 0xd +/* 8024F430 0024C390 38 00 00 01 */ li r0, 1 +/* 8024F434 0024C394 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024F438 0024C398 98 1F 00 91 */ stb r0, 0x91(r31) +/* 8024F43C 0024C39C 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F440 0024C3A0 48 00 01 74 */ b lbl_8024F5B4 +lbl_8024F444: +/* 8024F444 0024C3A4 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F448 0024C3A8 40 82 00 38 */ bne lbl_8024F480 +/* 8024F44C 0024C3AC 88 1F 00 93 */ lbz r0, 0x93(r31) +/* 8024F450 0024C3B0 28 00 00 00 */ cmplwi r0, 0 +/* 8024F454 0024C3B4 41 82 00 14 */ beq lbl_8024F468 +/* 8024F458 0024C3B8 38 00 00 02 */ li r0, 2 +/* 8024F45C 0024C3BC 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F460 0024C3C0 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F464 0024C3C4 48 00 01 50 */ b lbl_8024F5B4 +lbl_8024F468: +/* 8024F468 0024C3C8 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F46C 0024C3CC 4B FF E8 F1 */ bl ClearError__17CMemoryCardDriverFv +/* 8024F470 0024C3D0 38 00 00 01 */ li r0, 1 +/* 8024F474 0024C3D4 98 1F 00 92 */ stb r0, 0x92(r31) +/* 8024F478 0024C3D8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F47C 0024C3DC 48 00 01 38 */ b lbl_8024F5B4 +lbl_8024F480: +/* 8024F480 0024C3E0 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F484 0024C3E4 40 82 00 10 */ bne lbl_8024F494 +/* 8024F488 0024C3E8 48 00 09 05 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F48C 0024C3EC 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F490 0024C3F0 48 00 01 24 */ b lbl_8024F5B4 +lbl_8024F494: +/* 8024F494 0024C3F4 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F498 0024C3F8 40 82 01 1C */ bne lbl_8024F5B4 +/* 8024F49C 0024C3FC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8024F4A0 0024C400 38 80 00 01 */ li r4, 1 +/* 8024F4A4 0024C404 88 03 01 60 */ lbz r0, 0x160(r3) +/* 8024F4A8 0024C408 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8024F4AC 0024C40C 98 03 01 60 */ stb r0, 0x160(r3) +/* 8024F4B0 0024C410 48 00 01 04 */ b lbl_8024F5B4 +/* 8024F4B4 0024C414 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F4B8 0024C418 40 82 00 1C */ bne lbl_8024F4D4 +/* 8024F4BC 0024C41C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8024F4C0 0024C420 38 80 00 01 */ li r4, 1 +/* 8024F4C4 0024C424 88 03 01 60 */ lbz r0, 0x160(r3) +/* 8024F4C8 0024C428 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8024F4CC 0024C42C 98 03 01 60 */ stb r0, 0x160(r3) +/* 8024F4D0 0024C430 48 00 00 E4 */ b lbl_8024F5B4 +lbl_8024F4D4: +/* 8024F4D4 0024C434 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F4D8 0024C438 40 82 00 DC */ bne lbl_8024F5B4 +/* 8024F4DC 0024C43C 38 00 00 02 */ li r0, 2 +/* 8024F4E0 0024C440 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F4E4 0024C444 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F4E8 0024C448 48 00 00 CC */ b lbl_8024F5B4 +/* 8024F4EC 0024C44C 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F4F0 0024C450 40 82 00 30 */ bne lbl_8024F520 +/* 8024F4F4 0024C454 80 9F 00 6C */ lwz r4, 0x6c(r31) +/* 8024F4F8 0024C458 38 00 00 00 */ li r0, 0 +/* 8024F4FC 0024C45C 80 64 00 28 */ lwz r3, 0x28(r4) +/* 8024F500 0024C460 80 84 00 2C */ lwz r4, 0x2c(r4) +/* 8024F504 0024C464 90 9F 00 0C */ stw r4, 0xc(r31) +/* 8024F508 0024C468 90 7F 00 08 */ stw r3, 8(r31) +/* 8024F50C 0024C46C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8024F510 0024C470 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F514 0024C474 4B FF E5 C1 */ bl IndexFiles__17CMemoryCardDriverFv +/* 8024F518 0024C478 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F51C 0024C47C 48 00 00 98 */ b lbl_8024F5B4 +lbl_8024F520: +/* 8024F520 0024C480 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F524 0024C484 40 82 00 90 */ bne lbl_8024F5B4 +/* 8024F528 0024C488 38 00 00 02 */ li r0, 2 +/* 8024F52C 0024C48C 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F530 0024C490 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F534 0024C494 48 00 00 80 */ b lbl_8024F5B4 +/* 8024F538 0024C498 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F53C 0024C49C 40 82 00 1C */ bne lbl_8024F558 +/* 8024F540 0024C4A0 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F544 0024C4A4 4B FF DE 9D */ bl StartCardFormat__17CMemoryCardDriverFv +/* 8024F548 0024C4A8 38 00 00 00 */ li r0, 0 +/* 8024F54C 0024C4AC 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8024F550 0024C4B0 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F554 0024C4B4 48 00 00 60 */ b lbl_8024F5B4 +lbl_8024F558: +/* 8024F558 0024C4B8 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F55C 0024C4BC 40 82 00 58 */ bne lbl_8024F5B4 +/* 8024F560 0024C4C0 48 00 08 2D */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F564 0024C4C4 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F568 0024C4C8 48 00 00 4C */ b lbl_8024F5B4 +/* 8024F56C 0024C4CC 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F570 0024C4D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8024F574 0024C4D4 41 82 00 40 */ beq lbl_8024F5B4 +/* 8024F578 0024C4D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F57C 0024C4DC 40 82 00 24 */ bne lbl_8024F5A0 +/* 8024F580 0024C4E0 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 8024F584 0024C4E4 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F588 0024C4E8 80 84 02 0C */ lwz r4, 0x20c(r4) +/* 8024F58C 0024C4EC 4B FF D3 61 */ bl BuildExistingFileSlot__17CMemoryCardDriverFi +/* 8024F590 0024C4F0 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F594 0024C4F4 4B FF DF 79 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +/* 8024F598 0024C4F8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F59C 0024C4FC 48 00 00 18 */ b lbl_8024F5B4 +lbl_8024F5A0: +/* 8024F5A0 0024C500 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F5A4 0024C504 40 82 00 10 */ bne lbl_8024F5B4 +/* 8024F5A8 0024C508 38 00 00 02 */ li r0, 2 +/* 8024F5AC 0024C50C 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F5B0 0024C510 80 DF 00 8C */ lwz r6, 0x8c(r31) +lbl_8024F5B4: +/* 8024F5B4 0024C514 2C 06 00 00 */ cmpwi r6, 0 +/* 8024F5B8 0024C518 41 80 00 28 */ blt lbl_8024F5E0 +/* 8024F5BC 0024C51C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8024F5C0 0024C520 38 61 00 08 */ addi r3, r1, 8 +/* 8024F5C4 0024C524 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8024F5C8 0024C528 54 C4 04 3E */ clrlwi r4, r6, 0x10 +/* 8024F5CC 0024C52C 38 A0 00 7F */ li r5, 0x7f +/* 8024F5D0 0024C530 38 C0 00 40 */ li r6, 0x40 +/* 8024F5D4 0024C534 38 E0 00 00 */ li r7, 0 +/* 8024F5D8 0024C538 39 20 00 00 */ li r9, 0 +/* 8024F5DC 0024C53C 48 09 A7 99 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8024F5E0: +/* 8024F5E0 0024C540 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024F5E4 0024C544 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024F5E8 0024C548 7C 08 03 A6 */ mtlr r0 +/* 8024F5EC 0024C54C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024F5F0 0024C550 4E 80 00 20 */ blr + +.global StartGame__15CSaveGameScreenFi +StartGame__15CSaveGameScreenFi: +/* 8024F5F4 0024C554 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024F5F8 0024C558 7C 08 02 A6 */ mflr r0 +/* 8024F5FC 0024C55C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024F600 0024C560 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024F604 0024C564 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8024F608 0024C568 7C 9E 23 78 */ mr r30, r4 +/* 8024F60C 0024C56C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8024F610 0024C570 7C 7D 1B 78 */ mr r29, r3 +/* 8024F614 0024C574 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F618 0024C578 4B FF CC CD */ bl GetGameFileStateInfo__17CMemoryCardDriverFi +/* 8024F61C 0024C57C 7C 60 00 34 */ cntlzw r0, r3 +/* 8024F620 0024C580 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F624 0024C584 54 1F D9 7E */ srwi r31, r0, 5 +/* 8024F628 0024C588 4B FF D1 B5 */ bl ExportPersistentOptions__17CMemoryCardDriverFv +/* 8024F62C 0024C58C 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F630 0024C590 7F C4 F3 78 */ mr r4, r30 +/* 8024F634 0024C594 4B FF D4 89 */ bl BuildNewFileSlot__17CMemoryCardDriverFi +/* 8024F638 0024C598 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8024F63C 0024C59C 41 82 00 10 */ beq lbl_8024F64C +/* 8024F640 0024C5A0 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F644 0024C5A4 4B FF DE C9 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +/* 8024F648 0024C5A8 48 00 00 0C */ b lbl_8024F654 +lbl_8024F64C: +/* 8024F64C 0024C5AC 38 00 00 01 */ li r0, 1 +/* 8024F650 0024C5B0 90 1D 00 80 */ stw r0, 0x80(r29) +lbl_8024F654: +/* 8024F654 0024C5B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024F658 0024C5B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024F65C 0024C5BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8024F660 0024C5C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8024F664 0024C5C4 7C 08 03 A6 */ mtlr r0 +/* 8024F668 0024C5C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024F66C 0024C5CC 4E 80 00 20 */ blr + +.global SaveNESState__15CSaveGameScreenFv +SaveNESState__15CSaveGameScreenFv: +/* 8024F670 0024C5D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F674 0024C5D4 7C 08 02 A6 */ mflr r0 +/* 8024F678 0024C5D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F67C 0024C5DC 88 03 00 92 */ lbz r0, 0x92(r3) +/* 8024F680 0024C5E0 28 00 00 00 */ cmplwi r0, 0 +/* 8024F684 0024C5E4 40 82 00 28 */ bne lbl_8024F6AC +/* 8024F688 0024C5E8 38 00 00 01 */ li r0, 1 +/* 8024F68C 0024C5EC 98 03 00 90 */ stb r0, 0x90(r3) +/* 8024F690 0024C5F0 80 83 00 6C */ lwz r4, 0x6c(r3) +/* 8024F694 0024C5F4 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8024F698 0024C5F8 80 84 00 2C */ lwz r4, 0x2c(r4) +/* 8024F69C 0024C5FC 90 83 00 0C */ stw r4, 0xc(r3) +/* 8024F6A0 0024C600 90 03 00 08 */ stw r0, 8(r3) +/* 8024F6A4 0024C604 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F6A8 0024C608 4B FF DE 65 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +lbl_8024F6AC: +/* 8024F6AC 0024C60C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F6B0 0024C610 7C 08 03 A6 */ mtlr r0 +/* 8024F6B4 0024C614 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F6B8 0024C618 4E 80 00 20 */ blr + +.global EraseGame__15CSaveGameScreenFi +EraseGame__15CSaveGameScreenFi: +/* 8024F6BC 0024C61C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F6C0 0024C620 7C 08 02 A6 */ mflr r0 +/* 8024F6C4 0024C624 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F6C8 0024C628 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8024F6CC 0024C62C 7C 7F 1B 78 */ mr r31, r3 +/* 8024F6D0 0024C630 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F6D4 0024C634 4B FF D6 09 */ bl EraseFileSlot__17CMemoryCardDriverFi +/* 8024F6D8 0024C638 38 00 00 01 */ li r0, 1 +/* 8024F6DC 0024C63C 98 1F 00 90 */ stb r0, 0x90(r31) +/* 8024F6E0 0024C640 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F6E4 0024C644 4B FF DE 29 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +/* 8024F6E8 0024C648 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F6EC 0024C64C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8024F6F0 0024C650 7C 08 03 A6 */ mtlr r0 +/* 8024F6F4 0024C654 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F6F8 0024C658 4E 80 00 20 */ blr + +.global GetGameData__15CSaveGameScreenFi +GetGameData__15CSaveGameScreenFi: +/* 8024F6FC 0024C65C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F700 0024C660 7C 08 02 A6 */ mflr r0 +/* 8024F704 0024C664 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F708 0024C668 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F70C 0024C66C 4B FF CB D9 */ bl GetGameFileStateInfo__17CMemoryCardDriverFi +/* 8024F710 0024C670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F714 0024C674 7C 08 03 A6 */ mtlr r0 +/* 8024F718 0024C678 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F71C 0024C67C 4E 80 00 20 */ blr + +.global Draw__15CSaveGameScreenFv +Draw__15CSaveGameScreenFv: +/* 8024F720 0024C680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F724 0024C684 7C 08 02 A6 */ mflr r0 +/* 8024F728 0024C688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F72C 0024C68C 80 63 00 50 */ lwz r3, 0x50(r3) +/* 8024F730 0024C690 28 03 00 00 */ cmplwi r3, 0 +/* 8024F734 0024C694 41 82 00 10 */ beq lbl_8024F744 +/* 8024F738 0024C698 3C 80 80 5A */ lis r4, lbl_8059FD08@ha +/* 8024F73C 0024C69C 38 84 FD 08 */ addi r4, r4, lbl_8059FD08@l +/* 8024F740 0024C6A0 48 07 2F F5 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +lbl_8024F744: +/* 8024F744 0024C6A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F748 0024C6A8 7C 08 03 A6 */ mtlr r0 +/* 8024F74C 0024C6AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F750 0024C6B0 4E 80 00 20 */ blr + +.global ContinueWithoutSaving__15CSaveGameScreenFv +ContinueWithoutSaving__15CSaveGameScreenFv: +/* 8024F754 0024C6B4 38 80 00 03 */ li r4, 3 +/* 8024F758 0024C6B8 38 00 00 00 */ li r0, 0 +/* 8024F75C 0024C6BC 90 83 00 80 */ stw r4, 0x80(r3) +/* 8024F760 0024C6C0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8024F764 0024C6C4 90 03 02 14 */ stw r0, 0x214(r3) +/* 8024F768 0024C6C8 90 03 02 10 */ stw r0, 0x210(r3) +/* 8024F76C 0024C6CC 4E 80 00 20 */ blr + +.global ProcessUserInput__15CSaveGameScreenFRC11CFinalInput +ProcessUserInput__15CSaveGameScreenFRC11CFinalInput: +/* 8024F770 0024C6D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F774 0024C6D4 7C 08 02 A6 */ mflr r0 +/* 8024F778 0024C6D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F77C 0024C6DC 80 63 00 50 */ lwz r3, 0x50(r3) +/* 8024F780 0024C6E0 28 03 00 00 */ cmplwi r3, 0 +/* 8024F784 0024C6E4 41 82 00 08 */ beq lbl_8024F78C +/* 8024F788 0024C6E8 48 07 2E D1 */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput +lbl_8024F78C: +/* 8024F78C 0024C6EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F790 0024C6F0 7C 08 03 A6 */ mtlr r0 +/* 8024F794 0024C6F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F798 0024C6F8 4E 80 00 20 */ blr + +.global Update__15CSaveGameScreenFf +Update__15CSaveGameScreenFf: +/* 8024F79C 0024C6FC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8024F7A0 0024C700 7C 08 02 A6 */ mflr r0 +/* 8024F7A4 0024C704 90 01 00 44 */ stw r0, 0x44(r1) +/* 8024F7A8 0024C708 DB E1 00 38 */ stfd f31, 0x38(r1) +/* 8024F7AC 0024C70C FF E0 08 90 */ fmr f31, f1 +/* 8024F7B0 0024C710 93 E1 00 34 */ stw r31, 0x34(r1) +/* 8024F7B4 0024C714 93 C1 00 30 */ stw r30, 0x30(r1) +/* 8024F7B8 0024C718 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 8024F7BC 0024C71C 7C 7D 1B 78 */ mr r29, r3 +/* 8024F7C0 0024C720 93 81 00 28 */ stw r28, 0x28(r1) +/* 8024F7C4 0024C724 48 00 01 E1 */ bl PumpLoad__15CSaveGameScreenFv +/* 8024F7C8 0024C728 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8024F7CC 0024C72C 40 82 00 0C */ bne lbl_8024F7D8 +/* 8024F7D0 0024C730 38 60 00 00 */ li r3, 0 +/* 8024F7D4 0024C734 48 00 01 AC */ b lbl_8024F980 +lbl_8024F7D8: +/* 8024F7D8 0024C738 FC 20 F8 90 */ fmr f1, f31 +/* 8024F7DC 0024C73C 80 7D 00 50 */ lwz r3, 0x50(r29) +/* 8024F7E0 0024C740 48 07 2F 25 */ bl Update__9CGuiFrameFf +/* 8024F7E4 0024C744 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F7E8 0024C748 4B FF EE 29 */ bl Update__17CMemoryCardDriverFv +/* 8024F7EC 0024C74C 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F7F0 0024C750 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8024F7F4 0024C754 83 C3 00 14 */ lwz r30, 0x14(r3) +/* 8024F7F8 0024C758 2C 1F 00 03 */ cmpwi r31, 3 +/* 8024F7FC 0024C75C 40 82 00 30 */ bne lbl_8024F82C +/* 8024F800 0024C760 88 1D 00 90 */ lbz r0, 0x90(r29) +/* 8024F804 0024C764 28 00 00 00 */ cmplwi r0, 0 +/* 8024F808 0024C768 41 82 00 18 */ beq lbl_8024F820 +/* 8024F80C 0024C76C 7F A3 EB 78 */ mr r3, r29 +/* 8024F810 0024C770 48 00 05 7D */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F814 0024C774 38 00 00 00 */ li r0, 0 +/* 8024F818 0024C778 98 1D 00 90 */ stb r0, 0x90(r29) +/* 8024F81C 0024C77C 48 00 00 AC */ b lbl_8024F8C8 +lbl_8024F820: +/* 8024F820 0024C780 38 00 00 01 */ li r0, 1 +/* 8024F824 0024C784 90 1D 00 80 */ stw r0, 0x80(r29) +/* 8024F828 0024C788 48 00 00 A0 */ b lbl_8024F8C8 +lbl_8024F82C: +/* 8024F82C 0024C78C 2C 1F 00 07 */ cmpwi r31, 7 +/* 8024F830 0024C790 40 82 00 80 */ bne lbl_8024F8B0 +/* 8024F834 0024C794 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8024F838 0024C798 2C 00 00 0E */ cmpwi r0, 0xe +/* 8024F83C 0024C79C 41 82 00 74 */ beq lbl_8024F8B0 +/* 8024F840 0024C7A0 80 A3 00 28 */ lwz r5, 0x28(r3) +/* 8024F844 0024C7A4 38 80 00 00 */ li r4, 0 +/* 8024F848 0024C7A8 80 C3 00 2C */ lwz r6, 0x2c(r3) +/* 8024F84C 0024C7AC 7C A0 22 78 */ xor r0, r5, r4 +/* 8024F850 0024C7B0 7C C4 22 78 */ xor r4, r6, r4 +/* 8024F854 0024C7B4 7C 80 03 79 */ or. r0, r4, r0 +/* 8024F858 0024C7B8 41 82 00 50 */ beq lbl_8024F8A8 +/* 8024F85C 0024C7BC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8024F860 0024C7C0 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8024F864 0024C7C4 7C A0 02 78 */ xor r0, r5, r0 +/* 8024F868 0024C7C8 7C C4 22 78 */ xor r4, r6, r4 +/* 8024F86C 0024C7CC 7C 80 03 79 */ or. r0, r4, r0 +/* 8024F870 0024C7D0 41 82 00 38 */ beq lbl_8024F8A8 +/* 8024F874 0024C7D4 88 1D 00 93 */ lbz r0, 0x93(r29) +/* 8024F878 0024C7D8 28 00 00 00 */ cmplwi r0, 0 +/* 8024F87C 0024C7DC 41 82 00 18 */ beq lbl_8024F894 +/* 8024F880 0024C7E0 38 60 00 0E */ li r3, 0xe +/* 8024F884 0024C7E4 38 00 00 01 */ li r0, 1 +/* 8024F888 0024C7E8 90 7D 00 10 */ stw r3, 0x10(r29) +/* 8024F88C 0024C7EC 98 1D 00 91 */ stb r0, 0x91(r29) +/* 8024F890 0024C7F0 48 00 00 38 */ b lbl_8024F8C8 +lbl_8024F894: +/* 8024F894 0024C7F4 90 DD 00 0C */ stw r6, 0xc(r29) +/* 8024F898 0024C7F8 90 BD 00 08 */ stw r5, 8(r29) +/* 8024F89C 0024C7FC 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F8A0 0024C800 4B FF E2 35 */ bl IndexFiles__17CMemoryCardDriverFv +/* 8024F8A4 0024C804 48 00 00 24 */ b lbl_8024F8C8 +lbl_8024F8A8: +/* 8024F8A8 0024C808 4B FF E2 2D */ bl IndexFiles__17CMemoryCardDriverFv +/* 8024F8AC 0024C80C 48 00 00 1C */ b lbl_8024F8C8 +lbl_8024F8B0: +/* 8024F8B0 0024C810 2C 1F 00 01 */ cmpwi r31, 1 +/* 8024F8B4 0024C814 40 82 00 14 */ bne lbl_8024F8C8 +/* 8024F8B8 0024C818 88 1D 00 90 */ lbz r0, 0x90(r29) +/* 8024F8BC 0024C81C 28 00 00 00 */ cmplwi r0, 0 +/* 8024F8C0 0024C820 41 82 00 08 */ beq lbl_8024F8C8 +/* 8024F8C4 0024C824 4B FF DC 49 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +lbl_8024F8C8: +/* 8024F8C8 0024C828 80 7D 00 80 */ lwz r3, 0x80(r29) +/* 8024F8CC 0024C82C 2C 03 00 00 */ cmpwi r3, 0 +/* 8024F8D0 0024C830 41 82 00 08 */ beq lbl_8024F8D8 +/* 8024F8D4 0024C834 48 00 00 AC */ b lbl_8024F980 +lbl_8024F8D8: +/* 8024F8D8 0024C838 83 9D 00 10 */ lwz r28, 0x10(r29) +/* 8024F8DC 0024C83C 7F A3 EB 78 */ mr r3, r29 +/* 8024F8E0 0024C840 48 00 0F 45 */ bl SelectUIType__15CSaveGameScreenFv +/* 8024F8E4 0024C844 90 7D 00 10 */ stw r3, 0x10(r29) +/* 8024F8E8 0024C848 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8024F8EC 0024C84C 7C 1C 00 00 */ cmpw r28, r0 +/* 8024F8F0 0024C850 40 82 00 10 */ bne lbl_8024F900 +/* 8024F8F4 0024C854 88 1D 00 91 */ lbz r0, 0x91(r29) +/* 8024F8F8 0024C858 28 00 00 00 */ cmplwi r0, 0 +/* 8024F8FC 0024C85C 41 82 00 0C */ beq lbl_8024F908 +lbl_8024F900: +/* 8024F900 0024C860 7F A3 EB 78 */ mr r3, r29 +/* 8024F904 0024C864 48 00 0A 89 */ bl SetUIText__15CSaveGameScreenFv +lbl_8024F908: +/* 8024F908 0024C868 2C 1F 00 02 */ cmpwi r31, 2 +/* 8024F90C 0024C86C 40 82 00 44 */ bne lbl_8024F950 +/* 8024F910 0024C870 38 61 00 08 */ addi r3, r1, 8 +/* 8024F914 0024C874 38 80 00 00 */ li r4, 0 +/* 8024F918 0024C878 48 0F EA F5 */ bl IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8024F91C 0024C87C 80 81 00 08 */ lwz r4, 8(r1) +/* 8024F920 0024C880 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8024F924 0024C884 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8024F928 0024C888 2C 04 00 00 */ cmpwi r4, 0 +/* 8024F92C 0024C88C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8024F930 0024C890 90 61 00 18 */ stw r3, 0x18(r1) +/* 8024F934 0024C894 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8024F938 0024C898 41 82 00 0C */ beq lbl_8024F944 +/* 8024F93C 0024C89C 2C 04 FF FE */ cmpwi r4, -2 +/* 8024F940 0024C8A0 40 82 00 3C */ bne lbl_8024F97C +lbl_8024F944: +/* 8024F944 0024C8A4 7F A3 EB 78 */ mr r3, r29 +/* 8024F948 0024C8A8 48 00 04 45 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F94C 0024C8AC 48 00 00 30 */ b lbl_8024F97C +lbl_8024F950: +/* 8024F950 0024C8B0 2C 1F 00 04 */ cmpwi r31, 4 +/* 8024F954 0024C8B4 40 82 00 10 */ bne lbl_8024F964 +/* 8024F958 0024C8B8 7F A3 EB 78 */ mr r3, r29 +/* 8024F95C 0024C8BC 48 00 04 31 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F960 0024C8C0 48 00 00 1C */ b lbl_8024F97C +lbl_8024F964: +/* 8024F964 0024C8C4 2C 1F 00 11 */ cmpwi r31, 0x11 +/* 8024F968 0024C8C8 40 82 00 14 */ bne lbl_8024F97C +/* 8024F96C 0024C8CC 2C 1E 00 08 */ cmpwi r30, 8 +/* 8024F970 0024C8D0 40 82 00 0C */ bne lbl_8024F97C +/* 8024F974 0024C8D4 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F978 0024C8D8 4B FF DE C9 */ bl StartFileCreate__17CMemoryCardDriverFv +lbl_8024F97C: +/* 8024F97C 0024C8DC 38 60 00 00 */ li r3, 0 +lbl_8024F980: +/* 8024F980 0024C8E0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8024F984 0024C8E4 CB E1 00 38 */ lfd f31, 0x38(r1) +/* 8024F988 0024C8E8 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 8024F98C 0024C8EC 83 C1 00 30 */ lwz r30, 0x30(r1) +/* 8024F990 0024C8F0 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 8024F994 0024C8F4 83 81 00 28 */ lwz r28, 0x28(r1) +/* 8024F998 0024C8F8 7C 08 03 A6 */ mtlr r0 +/* 8024F99C 0024C8FC 38 21 00 40 */ addi r1, r1, 0x40 +/* 8024F9A0 0024C900 4E 80 00 20 */ blr + +.global PumpLoad__15CSaveGameScreenFv +PumpLoad__15CSaveGameScreenFv: +/* 8024F9A4 0024C904 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8024F9A8 0024C908 7C 08 02 A6 */ mflr r0 +/* 8024F9AC 0024C90C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8024F9B0 0024C910 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8024F9B4 0024C914 7C 7F 1B 78 */ mr r31, r3 +/* 8024F9B8 0024C918 80 03 00 50 */ lwz r0, 0x50(r3) +/* 8024F9BC 0024C91C 28 00 00 00 */ cmplwi r0, 0 +/* 8024F9C0 0024C920 41 82 00 0C */ beq lbl_8024F9CC +/* 8024F9C4 0024C924 38 60 00 01 */ li r3, 1 +/* 8024F9C8 0024C928 48 00 02 F8 */ b lbl_8024FCC0 +lbl_8024F9CC: +/* 8024F9CC 0024C92C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8024F9D0 0024C930 38 80 00 00 */ li r4, 0 +/* 8024F9D4 0024C934 28 00 00 00 */ cmplwi r0, 0 +/* 8024F9D8 0024C938 40 82 00 14 */ bne lbl_8024F9EC +/* 8024F9DC 0024C93C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8024F9E0 0024C940 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024F9E4 0024C944 28 00 00 00 */ cmplwi r0, 0 +/* 8024F9E8 0024C948 41 82 00 08 */ beq lbl_8024F9F0 +lbl_8024F9EC: +/* 8024F9EC 0024C94C 38 80 00 01 */ li r4, 1 +lbl_8024F9F0: +/* 8024F9F0 0024C950 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8024F9F4 0024C954 41 82 00 B0 */ beq lbl_8024FAA4 +/* 8024F9F8 0024C958 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8024F9FC 0024C95C 38 80 00 00 */ li r4, 0 +/* 8024FA00 0024C960 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA04 0024C964 40 82 00 14 */ bne lbl_8024FA18 +/* 8024FA08 0024C968 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8024FA0C 0024C96C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FA10 0024C970 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA14 0024C974 41 82 00 08 */ beq lbl_8024FA1C +lbl_8024FA18: +/* 8024FA18 0024C978 38 80 00 01 */ li r4, 1 +lbl_8024FA1C: +/* 8024FA1C 0024C97C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8024FA20 0024C980 41 82 00 84 */ beq lbl_8024FAA4 +/* 8024FA24 0024C984 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8024FA28 0024C988 38 80 00 00 */ li r4, 0 +/* 8024FA2C 0024C98C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA30 0024C990 40 82 00 14 */ bne lbl_8024FA44 +/* 8024FA34 0024C994 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8024FA38 0024C998 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FA3C 0024C99C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA40 0024C9A0 41 82 00 08 */ beq lbl_8024FA48 +lbl_8024FA44: +/* 8024FA44 0024C9A4 38 80 00 01 */ li r4, 1 +lbl_8024FA48: +/* 8024FA48 0024C9A8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8024FA4C 0024C9AC 41 82 00 58 */ beq lbl_8024FAA4 +/* 8024FA50 0024C9B0 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 8024FA54 0024C9B4 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA58 0024C9B8 41 82 00 0C */ beq lbl_8024FA64 +/* 8024FA5C 0024C9BC 38 60 00 01 */ li r3, 1 +/* 8024FA60 0024C9C0 48 00 00 3C */ b lbl_8024FA9C +lbl_8024FA64: +/* 8024FA64 0024C9C4 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 8024FA68 0024C9C8 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA6C 0024C9CC 41 82 00 2C */ beq lbl_8024FA98 +/* 8024FA70 0024C9D0 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8024FA74 0024C9D4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FA78 0024C9D8 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA7C 0024C9DC 41 82 00 1C */ beq lbl_8024FA98 +/* 8024FA80 0024C9E0 38 7F 00 38 */ addi r3, r31, 0x38 +/* 8024FA84 0024C9E4 48 0F 13 89 */ bl GetObj__6CTokenFv +/* 8024FA88 0024C9E8 80 03 00 04 */ lwz r0, 4(r3) +/* 8024FA8C 0024C9EC 38 60 00 01 */ li r3, 1 +/* 8024FA90 0024C9F0 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8024FA94 0024C9F4 48 00 00 08 */ b lbl_8024FA9C +lbl_8024FA98: +/* 8024FA98 0024C9F8 38 60 00 00 */ li r3, 0 +lbl_8024FA9C: +/* 8024FA9C 0024C9FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8024FAA0 0024CA00 40 82 00 0C */ bne lbl_8024FAAC +lbl_8024FAA4: +/* 8024FAA4 0024CA04 38 60 00 00 */ li r3, 0 +/* 8024FAA8 0024CA08 48 00 02 18 */ b lbl_8024FCC0 +lbl_8024FAAC: +/* 8024FAAC 0024CA0C 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 8024FAB0 0024CA10 80 BF 00 7C */ lwz r5, 0x7c(r31) +/* 8024FAB4 0024CA14 54 00 18 38 */ slwi r0, r0, 3 +/* 8024FAB8 0024CA18 7C 85 02 14 */ add r4, r5, r0 +/* 8024FABC 0024CA1C 48 00 00 20 */ b lbl_8024FADC +lbl_8024FAC0: +/* 8024FAC0 0024CA20 80 65 00 00 */ lwz r3, 0(r5) +/* 8024FAC4 0024CA24 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FAC8 0024CA28 28 00 00 00 */ cmplwi r0, 0 +/* 8024FACC 0024CA2C 40 82 00 0C */ bne lbl_8024FAD8 +/* 8024FAD0 0024CA30 38 60 00 00 */ li r3, 0 +/* 8024FAD4 0024CA34 48 00 01 EC */ b lbl_8024FCC0 +lbl_8024FAD8: +/* 8024FAD8 0024CA38 38 A5 00 08 */ addi r5, r5, 8 +lbl_8024FADC: +/* 8024FADC 0024CA3C 7C 05 20 40 */ cmplw r5, r4 +/* 8024FAE0 0024CA40 40 82 FF E0 */ bne lbl_8024FAC0 +/* 8024FAE4 0024CA44 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8024FAE8 0024CA48 28 00 00 00 */ cmplwi r0, 0 +/* 8024FAEC 0024CA4C 41 82 00 0C */ beq lbl_8024FAF8 +/* 8024FAF0 0024CA50 38 60 00 01 */ li r3, 1 +/* 8024FAF4 0024CA54 48 00 00 3C */ b lbl_8024FB30 +lbl_8024FAF8: +/* 8024FAF8 0024CA58 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8024FAFC 0024CA5C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FB00 0024CA60 41 82 00 2C */ beq lbl_8024FB2C +/* 8024FB04 0024CA64 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8024FB08 0024CA68 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FB0C 0024CA6C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FB10 0024CA70 41 82 00 1C */ beq lbl_8024FB2C +/* 8024FB14 0024CA74 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8024FB18 0024CA78 48 0F 12 F5 */ bl GetObj__6CTokenFv +/* 8024FB1C 0024CA7C 80 03 00 04 */ lwz r0, 4(r3) +/* 8024FB20 0024CA80 38 60 00 01 */ li r3, 1 +/* 8024FB24 0024CA84 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8024FB28 0024CA88 48 00 00 08 */ b lbl_8024FB30 +lbl_8024FB2C: +/* 8024FB2C 0024CA8C 38 60 00 00 */ li r3, 0 +lbl_8024FB30: +/* 8024FB30 0024CA90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8024FB34 0024CA94 41 82 01 58 */ beq lbl_8024FC8C +/* 8024FB38 0024CA98 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8024FB3C 0024CA9C 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB40 0024CAA0 38 63 4A 90 */ addi r3, r3, lbl_803D4A90@l +/* 8024FB44 0024CAA4 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8024FB48 0024CAA8 38 83 00 4F */ addi r4, r3, 0x4f +/* 8024FB4C 0024CAAC 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB50 0024CAB0 48 07 26 05 */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB54 0024CAB4 90 7F 00 54 */ stw r3, 0x54(r31) +/* 8024FB58 0024CAB8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB5C 0024CABC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FB60 0024CAC0 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB64 0024CAC4 38 84 00 60 */ addi r4, r4, 0x60 +/* 8024FB68 0024CAC8 48 07 25 ED */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB6C 0024CACC 90 7F 00 58 */ stw r3, 0x58(r31) +/* 8024FB70 0024CAD0 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB74 0024CAD4 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FB78 0024CAD8 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB7C 0024CADC 38 84 00 73 */ addi r4, r4, 0x73 +/* 8024FB80 0024CAE0 48 07 25 D5 */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB84 0024CAE4 90 7F 00 5C */ stw r3, 0x5c(r31) +/* 8024FB88 0024CAE8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB8C 0024CAEC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FB90 0024CAF0 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB94 0024CAF4 38 84 00 84 */ addi r4, r4, 0x84 +/* 8024FB98 0024CAF8 48 07 25 BD */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB9C 0024CAFC 90 7F 00 60 */ stw r3, 0x60(r31) +/* 8024FBA0 0024CB00 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FBA4 0024CB04 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FBA8 0024CB08 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FBAC 0024CB0C 38 84 00 95 */ addi r4, r4, 0x95 +/* 8024FBB0 0024CB10 48 07 25 A5 */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FBB4 0024CB14 90 7F 00 64 */ stw r3, 0x64(r31) +/* 8024FBB8 0024CB18 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FBBC 0024CB1C 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FBC0 0024CB20 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FBC4 0024CB24 38 84 00 A6 */ addi r4, r4, 0xa6 +/* 8024FBC8 0024CB28 48 07 25 8D */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FBCC 0024CB2C 90 7F 00 68 */ stw r3, 0x68(r31) +/* 8024FBD0 0024CB30 3C 60 80 3F */ lis r3, lbl_803E8DA0@ha +/* 8024FBD4 0024CB34 39 03 8D A0 */ addi r8, r3, lbl_803E8DA0@l +/* 8024FBD8 0024CB38 38 61 00 14 */ addi r3, r1, 0x14 +/* 8024FBDC 0024CB3C 80 E8 00 00 */ lwz r7, 0(r8) +/* 8024FBE0 0024CB40 38 81 00 2C */ addi r4, r1, 0x2c +/* 8024FBE4 0024CB44 80 C8 00 04 */ lwz r6, 4(r8) +/* 8024FBE8 0024CB48 38 A0 00 0C */ li r5, 0xc +/* 8024FBEC 0024CB4C 80 08 00 08 */ lwz r0, 8(r8) +/* 8024FBF0 0024CB50 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8024FBF4 0024CB54 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8024FBF8 0024CB58 90 01 00 34 */ stw r0, 0x34(r1) +/* 8024FBFC 0024CB5C 4B DB 38 95 */ bl memcpy +/* 8024FC00 0024CB60 3C 60 80 25 */ lis r3, sub_8024fd38@ha +/* 8024FC04 0024CB64 93 E1 00 54 */ stw r31, 0x54(r1) +/* 8024FC08 0024CB68 38 03 FD 38 */ addi r0, r3, sub_8024fd38@l +/* 8024FC0C 0024CB6C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8024FC10 0024CB70 90 01 00 50 */ stw r0, 0x50(r1) +/* 8024FC14 0024CB74 38 81 00 14 */ addi r4, r1, 0x14 +/* 8024FC18 0024CB78 38 A0 00 0C */ li r5, 0xc +/* 8024FC1C 0024CB7C 4B DB 38 75 */ bl memcpy +/* 8024FC20 0024CB80 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 8024FC24 0024CB84 38 81 00 50 */ addi r4, r1, 0x50 +/* 8024FC28 0024CB88 48 07 6C 31 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" +/* 8024FC2C 0024CB8C 3C 80 80 3F */ lis r4, lbl_803E8DAC@ha +/* 8024FC30 0024CB90 38 61 00 08 */ addi r3, r1, 8 +/* 8024FC34 0024CB94 39 04 8D AC */ addi r8, r4, lbl_803E8DAC@l +/* 8024FC38 0024CB98 38 81 00 20 */ addi r4, r1, 0x20 +/* 8024FC3C 0024CB9C 80 E8 00 00 */ lwz r7, 0(r8) +/* 8024FC40 0024CBA0 38 A0 00 0C */ li r5, 0xc +/* 8024FC44 0024CBA4 80 C8 00 04 */ lwz r6, 4(r8) +/* 8024FC48 0024CBA8 80 08 00 08 */ lwz r0, 8(r8) +/* 8024FC4C 0024CBAC 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8024FC50 0024CBB0 90 C1 00 24 */ stw r6, 0x24(r1) +/* 8024FC54 0024CBB4 90 01 00 28 */ stw r0, 0x28(r1) +/* 8024FC58 0024CBB8 4B DB 38 39 */ bl memcpy +/* 8024FC5C 0024CBBC 3C 60 80 25 */ lis r3, sub_8024fcd4@ha +/* 8024FC60 0024CBC0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8024FC64 0024CBC4 38 03 FC D4 */ addi r0, r3, sub_8024fcd4@l +/* 8024FC68 0024CBC8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8024FC6C 0024CBCC 90 01 00 38 */ stw r0, 0x38(r1) +/* 8024FC70 0024CBD0 38 81 00 08 */ addi r4, r1, 8 +/* 8024FC74 0024CBD4 38 A0 00 0C */ li r5, 0xc +/* 8024FC78 0024CBD8 4B DB 38 19 */ bl memcpy +/* 8024FC7C 0024CBDC 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 8024FC80 0024CBE0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8024FC84 0024CBE4 48 07 6B 6D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +/* 8024FC88 0024CBE8 48 00 00 0C */ b lbl_8024FC94 +lbl_8024FC8C: +/* 8024FC8C 0024CBEC 38 60 00 00 */ li r3, 0 +/* 8024FC90 0024CBF0 48 00 00 30 */ b lbl_8024FCC0 +lbl_8024FC94: +/* 8024FC94 0024CBF4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024FC98 0024CBF8 2C 00 00 01 */ cmpwi r0, 1 +/* 8024FC9C 0024CBFC 40 82 00 0C */ bne lbl_8024FCA8 +/* 8024FCA0 0024CC00 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024FCA4 0024CC04 4B FF E2 15 */ bl StartCardProbe__17CMemoryCardDriverFv +lbl_8024FCA8: +/* 8024FCA8 0024CC08 7F E3 FB 78 */ mr r3, r31 +/* 8024FCAC 0024CC0C 48 00 0B 79 */ bl SelectUIType__15CSaveGameScreenFv +/* 8024FCB0 0024CC10 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024FCB4 0024CC14 7F E3 FB 78 */ mr r3, r31 +/* 8024FCB8 0024CC18 48 00 06 D5 */ bl SetUIText__15CSaveGameScreenFv +/* 8024FCBC 0024CC1C 38 60 00 01 */ li r3, 1 +lbl_8024FCC0: +/* 8024FCC0 0024CC20 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8024FCC4 0024CC24 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8024FCC8 0024CC28 7C 08 03 A6 */ mtlr r0 +/* 8024FCCC 0024CC2C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8024FCD0 0024CC30 4E 80 00 20 */ blr + +.global sub_8024fcd4 +sub_8024fcd4: +/* 8024FCD4 0024CC34 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8024FCD8 0024CC38 7C 08 02 A6 */ mflr r0 +/* 8024FCDC 0024CC3C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8024FCE0 0024CC40 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8024FCE4 0024CC44 7C DF 33 78 */ mr r31, r6 +/* 8024FCE8 0024CC48 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8024FCEC 0024CC4C 7C BE 2B 78 */ mr r30, r5 +/* 8024FCF0 0024CC50 38 A0 00 0C */ li r5, 0xc +/* 8024FCF4 0024CC54 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8024FCF8 0024CC58 7C 7D 1B 78 */ mr r29, r3 +/* 8024FCFC 0024CC5C 38 61 00 08 */ addi r3, r1, 8 +/* 8024FD00 0024CC60 4B DB 37 91 */ bl memcpy +/* 8024FD04 0024CC64 7F A3 EB 78 */ mr r3, r29 +/* 8024FD08 0024CC68 7F C4 F3 78 */ mr r4, r30 +/* 8024FD0C 0024CC6C 7F E5 FB 78 */ mr r5, r31 +/* 8024FD10 0024CC70 39 81 00 08 */ addi r12, r1, 8 +/* 8024FD14 0024CC74 48 13 9C 19 */ bl __ptmf_scall +/* 8024FD18 0024CC78 60 00 00 00 */ nop +/* 8024FD1C 0024CC7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8024FD20 0024CC80 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8024FD24 0024CC84 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8024FD28 0024CC88 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8024FD2C 0024CC8C 7C 08 03 A6 */ mtlr r0 +/* 8024FD30 0024CC90 38 21 00 30 */ addi r1, r1, 0x30 +/* 8024FD34 0024CC94 4E 80 00 20 */ blr + +.global sub_8024fd38 +sub_8024fd38: +/* 8024FD38 0024CC98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024FD3C 0024CC9C 7C 08 02 A6 */ mflr r0 +/* 8024FD40 0024CCA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024FD44 0024CCA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024FD48 0024CCA8 7C BF 2B 78 */ mr r31, r5 +/* 8024FD4C 0024CCAC 38 A0 00 0C */ li r5, 0xc +/* 8024FD50 0024CCB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8024FD54 0024CCB4 7C 7E 1B 78 */ mr r30, r3 +/* 8024FD58 0024CCB8 38 61 00 08 */ addi r3, r1, 8 +/* 8024FD5C 0024CCBC 4B DB 37 35 */ bl memcpy +/* 8024FD60 0024CCC0 7F C3 F3 78 */ mr r3, r30 +/* 8024FD64 0024CCC4 7F E4 FB 78 */ mr r4, r31 +/* 8024FD68 0024CCC8 39 81 00 08 */ addi r12, r1, 8 +/* 8024FD6C 0024CCCC 48 13 9B C1 */ bl __ptmf_scall +/* 8024FD70 0024CCD0 60 00 00 00 */ nop +/* 8024FD74 0024CCD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024FD78 0024CCD8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024FD7C 0024CCDC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8024FD80 0024CCE0 7C 08 03 A6 */ mtlr r0 +/* 8024FD84 0024CCE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024FD88 0024CCE8 4E 80 00 20 */ blr + +.global ResetCardDriver__15CSaveGameScreenFv +ResetCardDriver__15CSaveGameScreenFv: +/* 8024FD8C 0024CCEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024FD90 0024CCF0 7C 08 02 A6 */ mflr r0 +/* 8024FD94 0024CCF4 38 80 00 01 */ li r4, 1 +/* 8024FD98 0024CCF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024FD9C 0024CCFC 38 00 00 00 */ li r0, 0 +/* 8024FDA0 0024CD00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8024FDA4 0024CD04 93 C1 00 08 */ stw r30, 8(r1) +/* 8024FDA8 0024CD08 7C 7E 1B 78 */ mr r30, r3 +/* 8024FDAC 0024CD0C 98 03 00 92 */ stb r0, 0x92(r3) +/* 8024FDB0 0024CD10 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024FDB4 0024CD14 4B FF EA 35 */ bl __dt__17CMemoryCardDriverFv +/* 8024FDB8 0024CD18 38 60 00 00 */ li r3, 0 +/* 8024FDBC 0024CD1C 90 7E 00 6C */ stw r3, 0x6c(r30) +/* 8024FDC0 0024CD20 80 1E 00 00 */ lwz r0, 0(r30) +/* 8024FDC4 0024CD24 2C 00 00 00 */ cmpwi r0, 0 +/* 8024FDC8 0024CD28 40 82 00 14 */ bne lbl_8024FDDC +/* 8024FDCC 0024CD2C 88 1E 00 90 */ lbz r0, 0x90(r30) +/* 8024FDD0 0024CD30 28 00 00 00 */ cmplwi r0, 0 +/* 8024FDD4 0024CD34 40 82 00 08 */ bne lbl_8024FDDC +/* 8024FDD8 0024CD38 38 60 00 01 */ li r3, 1 +lbl_8024FDDC: +/* 8024FDDC 0024CD3C 48 00 04 DD */ bl ConstructCardDriver__15CSaveGameScreen +/* 8024FDE0 0024CD40 7C 7F 1B 78 */ mr r31, r3 +/* 8024FDE4 0024CD44 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8024FDE8 0024CD48 38 80 00 01 */ li r4, 1 +/* 8024FDEC 0024CD4C 4B FF E9 FD */ bl __dt__17CMemoryCardDriverFv +/* 8024FDF0 0024CD50 93 FE 00 6C */ stw r31, 0x6c(r30) +/* 8024FDF4 0024CD54 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8024FDF8 0024CD58 4B FF E0 C1 */ bl StartCardProbe__17CMemoryCardDriverFv +/* 8024FDFC 0024CD5C 38 00 00 00 */ li r0, 0 +/* 8024FE00 0024CD60 7F C3 F3 78 */ mr r3, r30 +/* 8024FE04 0024CD64 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8024FE08 0024CD68 48 00 05 85 */ bl SetUIText__15CSaveGameScreenFv +/* 8024FE0C 0024CD6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024FE10 0024CD70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8024FE14 0024CD74 83 C1 00 08 */ lwz r30, 8(r1) +/* 8024FE18 0024CD78 7C 08 03 A6 */ mtlr r0 +/* 8024FE1C 0024CD7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024FE20 0024CD80 4E 80 00 20 */ blr + +.global __dt__15CSaveGameScreenFv +__dt__15CSaveGameScreenFv: +/* 8024FE24 0024CD84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8024FE28 0024CD88 7C 08 02 A6 */ mflr r0 +/* 8024FE2C 0024CD8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8024FE30 0024CD90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8024FE34 0024CD94 7C 9F 23 78 */ mr r31, r4 +/* 8024FE38 0024CD98 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8024FE3C 0024CD9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8024FE40 0024CDA0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8024FE44 0024CDA4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8024FE48 0024CDA8 41 82 01 10 */ beq lbl_8024FF58 +/* 8024FE4C 0024CDAC 34 1E 00 70 */ addic. r0, r30, 0x70 +/* 8024FE50 0024CDB0 41 82 00 58 */ beq lbl_8024FEA8 +/* 8024FE54 0024CDB4 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8024FE58 0024CDB8 83 9E 00 7C */ lwz r28, 0x7c(r30) +/* 8024FE5C 0024CDBC 54 00 18 38 */ slwi r0, r0, 3 +/* 8024FE60 0024CDC0 7F BC 02 14 */ add r29, r28, r0 +/* 8024FE64 0024CDC4 93 81 00 0C */ stw r28, 0xc(r1) +/* 8024FE68 0024CDC8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8024FE6C 0024CDCC 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8024FE70 0024CDD0 93 81 00 08 */ stw r28, 8(r1) +/* 8024FE74 0024CDD4 48 00 00 1C */ b lbl_8024FE90 +lbl_8024FE78: +/* 8024FE78 0024CDD8 28 1C 00 00 */ cmplwi r28, 0 +/* 8024FE7C 0024CDDC 41 82 00 10 */ beq lbl_8024FE8C +/* 8024FE80 0024CDE0 7F 83 E3 78 */ mr r3, r28 +/* 8024FE84 0024CDE4 38 80 00 00 */ li r4, 0 +/* 8024FE88 0024CDE8 48 0F 0F B9 */ bl __dt__6CTokenFv +lbl_8024FE8C: +/* 8024FE8C 0024CDEC 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8024FE90: +/* 8024FE90 0024CDF0 7C 1C E8 40 */ cmplw r28, r29 +/* 8024FE94 0024CDF4 40 82 FF E4 */ bne lbl_8024FE78 +/* 8024FE98 0024CDF8 80 7E 00 7C */ lwz r3, 0x7c(r30) +/* 8024FE9C 0024CDFC 28 03 00 00 */ cmplwi r3, 0 +/* 8024FEA0 0024CE00 41 82 00 08 */ beq lbl_8024FEA8 +/* 8024FEA4 0024CE04 48 0C 5A 8D */ bl Free__7CMemoryFPCv +lbl_8024FEA8: +/* 8024FEA8 0024CE08 34 1E 00 6C */ addic. r0, r30, 0x6c +/* 8024FEAC 0024CE0C 41 82 00 10 */ beq lbl_8024FEBC +/* 8024FEB0 0024CE10 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8024FEB4 0024CE14 38 80 00 01 */ li r4, 1 +/* 8024FEB8 0024CE18 4B FF E9 31 */ bl __dt__17CMemoryCardDriverFv +lbl_8024FEBC: +/* 8024FEBC 0024CE1C 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 8024FEC0 0024CE20 41 82 00 18 */ beq lbl_8024FED8 +/* 8024FEC4 0024CE24 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 8024FEC8 0024CE28 41 82 00 10 */ beq lbl_8024FED8 +/* 8024FECC 0024CE2C 38 7E 00 44 */ addi r3, r30, 0x44 +/* 8024FED0 0024CE30 38 80 00 00 */ li r4, 0 +/* 8024FED4 0024CE34 48 0F 0F 6D */ bl __dt__6CTokenFv +lbl_8024FED8: +/* 8024FED8 0024CE38 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8024FEDC 0024CE3C 41 82 00 18 */ beq lbl_8024FEF4 +/* 8024FEE0 0024CE40 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8024FEE4 0024CE44 41 82 00 10 */ beq lbl_8024FEF4 +/* 8024FEE8 0024CE48 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8024FEEC 0024CE4C 38 80 00 00 */ li r4, 0 +/* 8024FEF0 0024CE50 48 0F 0F 51 */ bl __dt__6CTokenFv +lbl_8024FEF4: +/* 8024FEF4 0024CE54 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 8024FEF8 0024CE58 41 82 00 18 */ beq lbl_8024FF10 +/* 8024FEFC 0024CE5C 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 8024FF00 0024CE60 41 82 00 10 */ beq lbl_8024FF10 +/* 8024FF04 0024CE64 38 7E 00 2C */ addi r3, r30, 0x2c +/* 8024FF08 0024CE68 38 80 00 00 */ li r4, 0 +/* 8024FF0C 0024CE6C 48 0F 0F 35 */ bl __dt__6CTokenFv +lbl_8024FF10: +/* 8024FF10 0024CE70 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8024FF14 0024CE74 41 82 00 18 */ beq lbl_8024FF2C +/* 8024FF18 0024CE78 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8024FF1C 0024CE7C 41 82 00 10 */ beq lbl_8024FF2C +/* 8024FF20 0024CE80 38 7E 00 20 */ addi r3, r30, 0x20 +/* 8024FF24 0024CE84 38 80 00 00 */ li r4, 0 +/* 8024FF28 0024CE88 48 0F 0F 19 */ bl __dt__6CTokenFv +lbl_8024FF2C: +/* 8024FF2C 0024CE8C 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8024FF30 0024CE90 41 82 00 18 */ beq lbl_8024FF48 +/* 8024FF34 0024CE94 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8024FF38 0024CE98 41 82 00 10 */ beq lbl_8024FF48 +/* 8024FF3C 0024CE9C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8024FF40 0024CEA0 38 80 00 00 */ li r4, 0 +/* 8024FF44 0024CEA4 48 0F 0E FD */ bl __dt__6CTokenFv +lbl_8024FF48: +/* 8024FF48 0024CEA8 7F E0 07 35 */ extsh. r0, r31 +/* 8024FF4C 0024CEAC 40 81 00 0C */ ble lbl_8024FF58 +/* 8024FF50 0024CEB0 7F C3 F3 78 */ mr r3, r30 +/* 8024FF54 0024CEB4 48 0C 59 DD */ bl Free__7CMemoryFPCv +lbl_8024FF58: +/* 8024FF58 0024CEB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8024FF5C 0024CEBC 7F C3 F3 78 */ mr r3, r30 +/* 8024FF60 0024CEC0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8024FF64 0024CEC4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8024FF68 0024CEC8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8024FF6C 0024CECC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8024FF70 0024CED0 7C 08 03 A6 */ mtlr r0 +/* 8024FF74 0024CED4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8024FF78 0024CED8 4E 80 00 20 */ blr + +.global __ct__15CSaveGameScreen +__ct__15CSaveGameScreen: +/* 8024FF7C 0024CEDC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8024FF80 0024CEE0 7C 08 02 A6 */ mflr r0 +/* 8024FF84 0024CEE4 90 01 00 64 */ stw r0, 0x64(r1) +/* 8024FF88 0024CEE8 38 00 00 00 */ li r0, 0 +/* 8024FF8C 0024CEEC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8024FF90 0024CEF0 7C 7F 1B 78 */ mr r31, r3 +/* 8024FF94 0024CEF4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8024FF98 0024CEF8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8024FF9C 0024CEFC 93 81 00 50 */ stw r28, 0x50(r1) +/* 8024FFA0 0024CF00 90 83 00 00 */ stw r4, 0(r3) +/* 8024FFA4 0024CF04 38 61 00 38 */ addi r3, r1, 0x38 +/* 8024FFA8 0024CF08 90 DF 00 0C */ stw r6, 0xc(r31) +/* 8024FFAC 0024CF0C 90 BF 00 08 */ stw r5, 8(r31) +/* 8024FFB0 0024CF10 80 A2 B8 B8 */ lwz r5, lbl_805AD5D8@sda21(r2) +/* 8024FFB4 0024CF14 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8024FFB8 0024CF18 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8024FFBC 0024CF1C 81 84 00 00 */ lwz r12, 0(r4) +/* 8024FFC0 0024CF20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8024FFC4 0024CF24 7D 89 03 A6 */ mtctr r12 +/* 8024FFC8 0024CF28 4E 80 04 21 */ bctrl +/* 8024FFCC 0024CF2C 3B 9F 00 14 */ addi r28, r31, 0x14 +/* 8024FFD0 0024CF30 38 81 00 38 */ addi r4, r1, 0x38 +/* 8024FFD4 0024CF34 7F 83 E3 78 */ mr r3, r28 +/* 8024FFD8 0024CF38 48 0F 0E D1 */ bl __ct__6CTokenFRC6CToken +/* 8024FFDC 0024CF3C 38 00 00 00 */ li r0, 0 +/* 8024FFE0 0024CF40 38 61 00 38 */ addi r3, r1, 0x38 +/* 8024FFE4 0024CF44 90 1C 00 08 */ stw r0, 8(r28) +/* 8024FFE8 0024CF48 38 80 FF FF */ li r4, -1 +/* 8024FFEC 0024CF4C 48 0F 0E 55 */ bl __dt__6CTokenFv +/* 8024FFF0 0024CF50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8024FFF4 0024CF54 38 61 00 30 */ addi r3, r1, 0x30 +/* 8024FFF8 0024CF58 80 A2 B8 BC */ lwz r5, lbl_805AD5DC@sda21(r2) +/* 8024FFFC 0024CF5C 81 84 00 00 */ lwz r12, 0(r4) +/* 80250000 0024CF60 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80250004 0024CF64 7D 89 03 A6 */ mtctr r12 +/* 80250008 0024CF68 4E 80 04 21 */ bctrl +/* 8025000C 0024CF6C 3B 9F 00 20 */ addi r28, r31, 0x20 +/* 80250010 0024CF70 38 81 00 30 */ addi r4, r1, 0x30 +/* 80250014 0024CF74 7F 83 E3 78 */ mr r3, r28 +/* 80250018 0024CF78 48 0F 0E 91 */ bl __ct__6CTokenFRC6CToken +/* 8025001C 0024CF7C 38 00 00 00 */ li r0, 0 +/* 80250020 0024CF80 38 61 00 30 */ addi r3, r1, 0x30 +/* 80250024 0024CF84 90 1C 00 08 */ stw r0, 8(r28) +/* 80250028 0024CF88 38 80 FF FF */ li r4, -1 +/* 8025002C 0024CF8C 48 0F 0E 15 */ bl __dt__6CTokenFv +/* 80250030 0024CF90 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80250034 0024CF94 38 61 00 28 */ addi r3, r1, 0x28 +/* 80250038 0024CF98 80 A2 B8 C0 */ lwz r5, lbl_805AD5E0@sda21(r2) +/* 8025003C 0024CF9C 81 84 00 00 */ lwz r12, 0(r4) +/* 80250040 0024CFA0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80250044 0024CFA4 7D 89 03 A6 */ mtctr r12 +/* 80250048 0024CFA8 4E 80 04 21 */ bctrl +/* 8025004C 0024CFAC 3B 9F 00 2C */ addi r28, r31, 0x2c +/* 80250050 0024CFB0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80250054 0024CFB4 7F 83 E3 78 */ mr r3, r28 +/* 80250058 0024CFB8 48 0F 0E 51 */ bl __ct__6CTokenFRC6CToken +/* 8025005C 0024CFBC 38 00 00 00 */ li r0, 0 +/* 80250060 0024CFC0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80250064 0024CFC4 90 1C 00 08 */ stw r0, 8(r28) +/* 80250068 0024CFC8 38 80 FF FF */ li r4, -1 +/* 8025006C 0024CFCC 48 0F 0D D5 */ bl __dt__6CTokenFv +/* 80250070 0024CFD0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80250074 0024CFD4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80250078 0024CFD8 80 A2 B8 C4 */ lwz r5, lbl_805AD5E4@sda21(r2) +/* 8025007C 0024CFDC 81 84 00 00 */ lwz r12, 0(r4) +/* 80250080 0024CFE0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80250084 0024CFE4 7D 89 03 A6 */ mtctr r12 +/* 80250088 0024CFE8 4E 80 04 21 */ bctrl +/* 8025008C 0024CFEC 3B 9F 00 38 */ addi r28, r31, 0x38 +/* 80250090 0024CFF0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80250094 0024CFF4 7F 83 E3 78 */ mr r3, r28 +/* 80250098 0024CFF8 48 0F 0E 11 */ bl __ct__6CTokenFRC6CToken +/* 8025009C 0024CFFC 38 00 00 00 */ li r0, 0 +/* 802500A0 0024D000 38 61 00 20 */ addi r3, r1, 0x20 +/* 802500A4 0024D004 90 1C 00 08 */ stw r0, 8(r28) +/* 802500A8 0024D008 38 80 FF FF */ li r4, -1 +/* 802500AC 0024D00C 48 0F 0D 95 */ bl __dt__6CTokenFv +/* 802500B0 0024D010 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802500B4 0024D014 38 61 00 18 */ addi r3, r1, 0x18 +/* 802500B8 0024D018 80 A2 B8 C8 */ lwz r5, lbl_805AD5E8@sda21(r2) +/* 802500BC 0024D01C 81 84 00 00 */ lwz r12, 0(r4) +/* 802500C0 0024D020 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802500C4 0024D024 7D 89 03 A6 */ mtctr r12 +/* 802500C8 0024D028 4E 80 04 21 */ bctrl +/* 802500CC 0024D02C 3B 9F 00 44 */ addi r28, r31, 0x44 +/* 802500D0 0024D030 38 81 00 18 */ addi r4, r1, 0x18 +/* 802500D4 0024D034 7F 83 E3 78 */ mr r3, r28 +/* 802500D8 0024D038 48 0F 0D D1 */ bl __ct__6CTokenFRC6CToken +/* 802500DC 0024D03C 38 00 00 00 */ li r0, 0 +/* 802500E0 0024D040 38 61 00 18 */ addi r3, r1, 0x18 +/* 802500E4 0024D044 90 1C 00 08 */ stw r0, 8(r28) +/* 802500E8 0024D048 38 80 FF FF */ li r4, -1 +/* 802500EC 0024D04C 48 0F 0D 55 */ bl __dt__6CTokenFv +/* 802500F0 0024D050 38 00 00 00 */ li r0, 0 +/* 802500F4 0024D054 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802500F8 0024D058 80 1F 00 00 */ lwz r0, 0(r31) +/* 802500FC 0024D05C 7C 00 00 34 */ cntlzw r0, r0 +/* 80250100 0024D060 54 03 D9 7E */ srwi r3, r0, 5 +/* 80250104 0024D064 48 00 01 B5 */ bl ConstructCardDriver__15CSaveGameScreen +/* 80250108 0024D068 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 8025010C 0024D06C 38 00 00 00 */ li r0, 0 +/* 80250110 0024D070 38 60 05 B4 */ li r3, 0x5b4 +/* 80250114 0024D074 90 1F 00 74 */ stw r0, 0x74(r31) +/* 80250118 0024D078 90 1F 00 78 */ stw r0, 0x78(r31) +/* 8025011C 0024D07C 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 80250120 0024D080 90 1F 00 80 */ stw r0, 0x80(r31) +/* 80250124 0024D084 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250128 0024D088 2C 00 00 01 */ cmpwi r0, 1 +/* 8025012C 0024D08C 40 82 00 08 */ bne lbl_80250134 +/* 80250130 0024D090 38 60 05 98 */ li r3, 0x598 +lbl_80250134: +/* 80250134 0024D094 90 7F 00 84 */ stw r3, 0x84(r31) +/* 80250138 0024D098 38 60 05 B5 */ li r3, 0x5b5 +/* 8025013C 0024D09C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250140 0024D0A0 2C 00 00 01 */ cmpwi r0, 1 +/* 80250144 0024D0A4 40 82 00 08 */ bne lbl_8025014C +/* 80250148 0024D0A8 38 60 05 9C */ li r3, 0x59c +lbl_8025014C: +/* 8025014C 0024D0AC 90 7F 00 88 */ stw r3, 0x88(r31) +/* 80250150 0024D0B0 38 60 05 B3 */ li r3, 0x5b3 +/* 80250154 0024D0B4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250158 0024D0B8 2C 00 00 01 */ cmpwi r0, 1 +/* 8025015C 0024D0BC 40 82 00 08 */ bne lbl_80250164 +/* 80250160 0024D0C0 38 60 05 97 */ li r3, 0x597 +lbl_80250164: +/* 80250164 0024D0C4 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 80250168 0024D0C8 38 00 00 00 */ li r0, 0 +/* 8025016C 0024D0CC 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80250170 0024D0D0 98 1F 00 90 */ stb r0, 0x90(r31) +/* 80250174 0024D0D4 98 1F 00 91 */ stb r0, 0x91(r31) +/* 80250178 0024D0D8 98 1F 00 92 */ stb r0, 0x92(r31) +/* 8025017C 0024D0DC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250180 0024D0E0 20 00 00 01 */ subfic r0, r0, 1 +/* 80250184 0024D0E4 7C 00 00 34 */ cntlzw r0, r0 +/* 80250188 0024D0E8 54 00 D9 7E */ srwi r0, r0, 5 +/* 8025018C 0024D0EC 98 1F 00 93 */ stb r0, 0x93(r31) +/* 80250190 0024D0F0 48 0F 0B F5 */ bl Lock__6CTokenFv +/* 80250194 0024D0F4 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80250198 0024D0F8 48 0F 0B ED */ bl Lock__6CTokenFv +/* 8025019C 0024D0FC 38 7F 00 2C */ addi r3, r31, 0x2c +/* 802501A0 0024D100 48 0F 0B E5 */ bl Lock__6CTokenFv +/* 802501A4 0024D104 38 7F 00 38 */ addi r3, r31, 0x38 +/* 802501A8 0024D108 48 0F 0B DD */ bl Lock__6CTokenFv +/* 802501AC 0024D10C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802501B0 0024D110 48 0F 0B D5 */ bl Lock__6CTokenFv +/* 802501B4 0024D114 83 AD A0 84 */ lwz r29, gpMemoryCard@sda21(r13) +/* 802501B8 0024D118 38 7F 00 70 */ addi r3, r31, 0x70 +/* 802501BC 0024D11C 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 802501C0 0024D120 48 00 07 C5 */ bl sub_80250984 +/* 802501C4 0024D124 3C 60 53 41 */ lis r3, 0x53415657@ha +/* 802501C8 0024D128 83 9D 00 18 */ lwz r28, 0x18(r29) +/* 802501CC 0024D12C 3B C3 56 57 */ addi r30, r3, 0x53415657@l +/* 802501D0 0024D130 48 00 00 AC */ b lbl_8025027C +lbl_802501D4: +/* 802501D4 0024D134 80 1C 00 08 */ lwz r0, 8(r28) +/* 802501D8 0024D138 38 61 00 08 */ addi r3, r1, 8 +/* 802501DC 0024D13C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802501E0 0024D140 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802501E4 0024D144 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802501E8 0024D148 90 01 00 14 */ stw r0, 0x14(r1) +/* 802501EC 0024D14C 81 84 00 00 */ lwz r12, 0(r4) +/* 802501F0 0024D150 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802501F4 0024D154 7D 89 03 A6 */ mtctr r12 +/* 802501F8 0024D158 4E 80 04 21 */ bctrl +/* 802501FC 0024D15C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80250200 0024D160 38 81 00 08 */ addi r4, r1, 8 +/* 80250204 0024D164 48 0F 0C A5 */ bl __ct__6CTokenFRC6CToken +/* 80250208 0024D168 38 61 00 08 */ addi r3, r1, 8 +/* 8025020C 0024D16C 38 80 FF FF */ li r4, -1 +/* 80250210 0024D170 48 0F 0C 31 */ bl __dt__6CTokenFv +/* 80250214 0024D174 38 61 00 40 */ addi r3, r1, 0x40 +/* 80250218 0024D178 48 0F 0B 6D */ bl Lock__6CTokenFv +/* 8025021C 0024D17C 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 80250220 0024D180 80 BF 00 78 */ lwz r5, 0x78(r31) +/* 80250224 0024D184 7C 00 28 00 */ cmpw r0, r5 +/* 80250228 0024D188 41 80 00 1C */ blt lbl_80250244 +/* 8025022C 0024D18C 2C 05 00 00 */ cmpwi r5, 0 +/* 80250230 0024D190 38 7F 00 70 */ addi r3, r31, 0x70 +/* 80250234 0024D194 38 80 00 04 */ li r4, 4 +/* 80250238 0024D198 41 82 00 08 */ beq lbl_80250240 +/* 8025023C 0024D19C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80250240: +/* 80250240 0024D1A0 48 00 07 45 */ bl sub_80250984 +lbl_80250244: +/* 80250244 0024D1A4 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 80250248 0024D1A8 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 8025024C 0024D1AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80250250 0024D1B0 7C 63 02 15 */ add. r3, r3, r0 +/* 80250254 0024D1B4 41 82 00 0C */ beq lbl_80250260 +/* 80250258 0024D1B8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8025025C 0024D1BC 48 0F 0C 4D */ bl __ct__6CTokenFRC6CToken +lbl_80250260: +/* 80250260 0024D1C0 80 BF 00 74 */ lwz r5, 0x74(r31) +/* 80250264 0024D1C4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80250268 0024D1C8 38 80 00 00 */ li r4, 0 +/* 8025026C 0024D1CC 38 05 00 01 */ addi r0, r5, 1 +/* 80250270 0024D1D0 90 1F 00 74 */ stw r0, 0x74(r31) +/* 80250274 0024D1D4 48 0F 0B CD */ bl __dt__6CTokenFv +/* 80250278 0024D1D8 3B 9C 00 4C */ addi r28, r28, 0x4c +lbl_8025027C: +/* 8025027C 0024D1DC 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80250280 0024D1E0 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 80250284 0024D1E4 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 80250288 0024D1E8 7C 03 02 14 */ add r0, r3, r0 +/* 8025028C 0024D1EC 7C 1C 00 40 */ cmplw r28, r0 +/* 80250290 0024D1F0 40 82 FF 44 */ bne lbl_802501D4 +/* 80250294 0024D1F4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80250298 0024D1F8 7F E3 FB 78 */ mr r3, r31 +/* 8025029C 0024D1FC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802502A0 0024D200 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802502A4 0024D204 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802502A8 0024D208 83 81 00 50 */ lwz r28, 0x50(r1) +/* 802502AC 0024D20C 7C 08 03 A6 */ mtlr r0 +/* 802502B0 0024D210 38 21 00 60 */ addi r1, r1, 0x60 +/* 802502B4 0024D214 4E 80 00 20 */ blr + +.global ConstructCardDriver__15CSaveGameScreen +ConstructCardDriver__15CSaveGameScreen: +/* 802502B8 0024D218 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802502BC 0024D21C 7C 08 02 A6 */ mflr r0 +/* 802502C0 0024D220 3C 80 80 3D */ lis r4, lbl_803D4A90@ha +/* 802502C4 0024D224 38 A0 00 00 */ li r5, 0 +/* 802502C8 0024D228 90 01 00 24 */ stw r0, 0x24(r1) +/* 802502CC 0024D22C 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l +/* 802502D0 0024D230 38 84 00 B7 */ addi r4, r4, 0xb7 +/* 802502D4 0024D234 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802502D8 0024D238 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802502DC 0024D23C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802502E0 0024D240 93 81 00 10 */ stw r28, 0x10(r1) +/* 802502E4 0024D244 7C 7C 1B 78 */ mr r28, r3 +/* 802502E8 0024D248 38 60 01 A0 */ li r3, 0x1a0 +/* 802502EC 0024D24C 48 0C 55 81 */ bl __nw__FUlPCcPCc +/* 802502F0 0024D250 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802502F4 0024D254 41 82 00 74 */ beq lbl_80250368 +/* 802502F8 0024D258 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 802502FC 0024D25C 80 82 B8 C0 */ lwz r4, lbl_805AD5E0@sda21(r2) +/* 80250300 0024D260 81 83 00 00 */ lwz r12, 0(r3) +/* 80250304 0024D264 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80250308 0024D268 7D 89 03 A6 */ mtctr r12 +/* 8025030C 0024D26C 4E 80 04 21 */ bctrl +/* 80250310 0024D270 7C 7E 1B 78 */ mr r30, r3 +/* 80250314 0024D274 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80250318 0024D278 80 82 B8 BC */ lwz r4, lbl_805AD5DC@sda21(r2) +/* 8025031C 0024D27C 81 83 00 00 */ lwz r12, 0(r3) +/* 80250320 0024D280 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80250324 0024D284 7D 89 03 A6 */ mtctr r12 +/* 80250328 0024D288 4E 80 04 21 */ bctrl +/* 8025032C 0024D28C 7C 7F 1B 78 */ mr r31, r3 +/* 80250330 0024D290 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80250334 0024D294 80 82 B8 B8 */ lwz r4, lbl_805AD5D8@sda21(r2) +/* 80250338 0024D298 81 83 00 00 */ lwz r12, 0(r3) +/* 8025033C 0024D29C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80250340 0024D2A0 7D 89 03 A6 */ mtctr r12 +/* 80250344 0024D2A4 4E 80 04 21 */ bctrl +/* 80250348 0024D2A8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025034C 0024D2AC 7F A3 EB 78 */ mr r3, r29 +/* 80250350 0024D2B0 80 DF 00 04 */ lwz r6, 4(r31) +/* 80250354 0024D2B4 7F 88 E3 78 */ mr r8, r28 +/* 80250358 0024D2B8 80 FE 00 04 */ lwz r7, 4(r30) +/* 8025035C 0024D2BC 38 80 00 00 */ li r4, 0 +/* 80250360 0024D2C0 4B FF E8 B9 */ bl __ct__17CMemoryCardDriverFv +/* 80250364 0024D2C4 7C 7D 1B 78 */ mr r29, r3 +lbl_80250368: +/* 80250368 0024D2C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025036C 0024D2CC 7F A3 EB 78 */ mr r3, r29 +/* 80250370 0024D2D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250374 0024D2D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80250378 0024D2D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025037C 0024D2DC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80250380 0024D2E0 7C 08 03 A6 */ mtlr r0 +/* 80250384 0024D2E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250388 0024D2E8 4E 80 00 20 */ blr + +.global SetUIText__15CSaveGameScreenFv +SetUIText__15CSaveGameScreenFv: +/* 8025038C 0024D2EC 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80250390 0024D2F0 7C 08 02 A6 */ mflr r0 +/* 80250394 0024D2F4 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80250398 0024D2F8 38 00 00 00 */ li r0, 0 +/* 8025039C 0024D2FC BF 01 00 B0 */ stmw r24, 0xb0(r1) +/* 802503A0 0024D300 7C 7C 1B 78 */ mr r28, r3 +/* 802503A4 0024D304 3B 40 FF FF */ li r26, -1 +/* 802503A8 0024D308 3B 20 FF FF */ li r25, -1 +/* 802503AC 0024D30C 3B E0 FF FF */ li r31, -1 +/* 802503B0 0024D310 3B C0 FF FF */ li r30, -1 +/* 802503B4 0024D314 3B A0 FF FF */ li r29, -1 +/* 802503B8 0024D318 98 03 00 91 */ stb r0, 0x91(r3) +/* 802503BC 0024D31C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802503C0 0024D320 83 63 00 40 */ lwz r27, 0x40(r3) +/* 802503C4 0024D324 28 00 00 10 */ cmplwi r0, 0x10 +/* 802503C8 0024D328 41 81 01 80 */ bgt lbl_80250548 +/* 802503CC 0024D32C 3C 60 80 3F */ lis r3, lbl_803E8DFC@ha +/* 802503D0 0024D330 54 00 10 3A */ slwi r0, r0, 2 +/* 802503D4 0024D334 38 63 8D FC */ addi r3, r3, lbl_803E8DFC@l +/* 802503D8 0024D338 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802503DC 0024D33C 7C 09 03 A6 */ mtctr r0 +/* 802503E0 0024D340 4E 80 04 20 */ bctr +/* 802503E4 0024D344 3B 20 00 18 */ li r25, 0x18 +/* 802503E8 0024D348 48 00 01 60 */ b lbl_80250548 +/* 802503EC 0024D34C 3B 20 00 19 */ li r25, 0x19 +/* 802503F0 0024D350 48 00 01 58 */ b lbl_80250548 +/* 802503F4 0024D354 3B 20 00 00 */ li r25, 0 +/* 802503F8 0024D358 3B E0 00 11 */ li r31, 0x11 +/* 802503FC 0024D35C 3B C0 00 12 */ li r30, 0x12 +/* 80250400 0024D360 48 00 01 48 */ b lbl_80250548 +/* 80250404 0024D364 3B 20 00 01 */ li r25, 1 +/* 80250408 0024D368 3B E0 00 11 */ li r31, 0x11 +/* 8025040C 0024D36C 3B C0 00 12 */ li r30, 0x12 +/* 80250410 0024D370 3B A0 00 14 */ li r29, 0x14 +/* 80250414 0024D374 48 00 01 34 */ b lbl_80250548 +/* 80250418 0024D378 3B 20 00 02 */ li r25, 2 +/* 8025041C 0024D37C 3B E0 00 11 */ li r31, 0x11 +/* 80250420 0024D380 3B C0 00 12 */ li r30, 0x12 +/* 80250424 0024D384 3B A0 00 14 */ li r29, 0x14 +/* 80250428 0024D388 48 00 01 20 */ b lbl_80250548 +/* 8025042C 0024D38C 3B 20 00 03 */ li r25, 3 +/* 80250430 0024D390 3B E0 00 11 */ li r31, 0x11 +/* 80250434 0024D394 3B C0 00 12 */ li r30, 0x12 +/* 80250438 0024D398 48 00 01 10 */ b lbl_80250548 +/* 8025043C 0024D39C 3B 20 00 05 */ li r25, 5 +/* 80250440 0024D3A0 3B E0 00 11 */ li r31, 0x11 +/* 80250444 0024D3A4 3B C0 00 12 */ li r30, 0x12 +/* 80250448 0024D3A8 48 00 01 00 */ b lbl_80250548 +/* 8025044C 0024D3AC 3B 20 00 06 */ li r25, 6 +/* 80250450 0024D3B0 3B E0 00 11 */ li r31, 0x11 +/* 80250454 0024D3B4 3B C0 00 12 */ li r30, 0x12 +/* 80250458 0024D3B8 3B A0 00 13 */ li r29, 0x13 +/* 8025045C 0024D3BC 48 00 00 EC */ b lbl_80250548 +/* 80250460 0024D3C0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80250464 0024D3C4 3B E0 00 11 */ li r31, 0x11 +/* 80250468 0024D3C8 3B C0 00 12 */ li r30, 0x12 +/* 8025046C 0024D3CC 3B A0 00 13 */ li r29, 0x13 +/* 80250470 0024D3D0 20 00 00 01 */ subfic r0, r0, 1 +/* 80250474 0024D3D4 7C 00 00 34 */ cntlzw r0, r0 +/* 80250478 0024D3D8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8025047C 0024D3DC 38 03 00 09 */ addi r0, r3, 9 +/* 80250480 0024D3E0 7C 19 03 78 */ mr r25, r0 +/* 80250484 0024D3E4 48 00 00 C4 */ b lbl_80250548 +/* 80250488 0024D3E8 3B 20 00 07 */ li r25, 7 +/* 8025048C 0024D3EC 3B E0 00 11 */ li r31, 0x11 +/* 80250490 0024D3F0 3B C0 00 12 */ li r30, 0x12 +/* 80250494 0024D3F4 48 00 00 B4 */ b lbl_80250548 +/* 80250498 0024D3F8 3B 20 00 04 */ li r25, 4 +/* 8025049C 0024D3FC 3B E0 00 16 */ li r31, 0x16 +/* 802504A0 0024D400 3B C0 00 11 */ li r30, 0x11 +/* 802504A4 0024D404 3B A0 00 12 */ li r29, 0x12 +/* 802504A8 0024D408 48 00 00 A0 */ b lbl_80250548 +/* 802504AC 0024D40C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802504B0 0024D410 2C 00 00 01 */ cmpwi r0, 1 +/* 802504B4 0024D414 40 82 00 18 */ bne lbl_802504CC +/* 802504B8 0024D418 3B 20 00 0A */ li r25, 0xa +/* 802504BC 0024D41C 3B E0 00 11 */ li r31, 0x11 +/* 802504C0 0024D420 3B C0 00 12 */ li r30, 0x12 +/* 802504C4 0024D424 3B A0 00 13 */ li r29, 0x13 +/* 802504C8 0024D428 48 00 00 80 */ b lbl_80250548 +lbl_802504CC: +/* 802504CC 0024D42C 3B 20 00 09 */ li r25, 9 +/* 802504D0 0024D430 3B E0 00 11 */ li r31, 0x11 +/* 802504D4 0024D434 3B C0 00 12 */ li r30, 0x12 +/* 802504D8 0024D438 3B A0 00 13 */ li r29, 0x13 +/* 802504DC 0024D43C 48 00 00 6C */ b lbl_80250548 +/* 802504E0 0024D440 3B 40 00 1C */ li r26, 0x1c +/* 802504E4 0024D444 3B 20 00 0B */ li r25, 0xb +/* 802504E8 0024D448 3B E0 00 15 */ li r31, 0x15 +/* 802504EC 0024D44C 3B C0 00 10 */ li r30, 0x10 +/* 802504F0 0024D450 48 00 00 58 */ b lbl_80250548 +/* 802504F4 0024D454 80 1C 00 00 */ lwz r0, 0(r28) +/* 802504F8 0024D458 3B 40 00 1C */ li r26, 0x1c +/* 802504FC 0024D45C 3B 20 00 0C */ li r25, 0xc +/* 80250500 0024D460 38 60 00 11 */ li r3, 0x11 +/* 80250504 0024D464 2C 00 00 01 */ cmpwi r0, 1 +/* 80250508 0024D468 40 82 00 08 */ bne lbl_80250510 +/* 8025050C 0024D46C 38 60 00 15 */ li r3, 0x15 +lbl_80250510: +/* 80250510 0024D470 7C 7F 1B 78 */ mr r31, r3 +/* 80250514 0024D474 3B C0 00 10 */ li r30, 0x10 +/* 80250518 0024D478 48 00 00 30 */ b lbl_80250548 +/* 8025051C 0024D47C 3B 40 00 1C */ li r26, 0x1c +/* 80250520 0024D480 3B 20 00 0D */ li r25, 0xd +/* 80250524 0024D484 3B E0 00 10 */ li r31, 0x10 +/* 80250528 0024D488 3B C0 00 15 */ li r30, 0x15 +/* 8025052C 0024D48C 48 00 00 1C */ b lbl_80250548 +/* 80250530 0024D490 80 1C 00 00 */ lwz r0, 0(r28) +/* 80250534 0024D494 2C 00 00 01 */ cmpwi r0, 1 +/* 80250538 0024D498 40 82 00 10 */ bne lbl_80250548 +/* 8025053C 0024D49C 3B 20 00 08 */ li r25, 8 +/* 80250540 0024D4A0 3B E0 00 0E */ li r31, 0xe +/* 80250544 0024D4A4 3B C0 00 0F */ li r30, 0xf +lbl_80250548: +/* 80250548 0024D4A8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8025054C 0024D4AC 38 8D 97 18 */ addi r4, r13, lbl_805A82D8@sda21 +/* 80250550 0024D4B0 4B DC 54 A1 */ bl wstring_l__4rstlFPCw +/* 80250554 0024D4B4 38 61 00 98 */ addi r3, r1, 0x98 +/* 80250558 0024D4B8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8025055C 0024D4BC 48 0E D2 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250560 0024D4C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80250564 0024D4C4 48 0E CB D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250568 0024D4C8 2C 1A FF FF */ cmpwi r26, -1 +/* 8025056C 0024D4CC 3B 00 00 00 */ li r24, 0 +/* 80250570 0024D4D0 40 82 00 0C */ bne lbl_8025057C +/* 80250574 0024D4D4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80250578 0024D4D8 48 00 00 24 */ b lbl_8025059C +lbl_8025057C: +/* 8025057C 0024D4DC 7F 63 DB 78 */ mr r3, r27 +/* 80250580 0024D4E0 7F 44 D3 78 */ mr r4, r26 +/* 80250584 0024D4E4 48 10 61 79 */ bl GetString__12CStringTableCFi +/* 80250588 0024D4E8 7C 64 1B 78 */ mr r4, r3 +/* 8025058C 0024D4EC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80250590 0024D4F0 4B DC 54 61 */ bl wstring_l__4rstlFPCw +/* 80250594 0024D4F4 3B 00 00 01 */ li r24, 1 +/* 80250598 0024D4F8 38 81 00 58 */ addi r4, r1, 0x58 +lbl_8025059C: +/* 8025059C 0024D4FC 38 61 00 88 */ addi r3, r1, 0x88 +/* 802505A0 0024D500 48 0E D1 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802505A4 0024D504 7F 00 07 75 */ extsb. r0, r24 +/* 802505A8 0024D508 41 82 00 0C */ beq lbl_802505B4 +/* 802505AC 0024D50C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802505B0 0024D510 48 0E CB 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802505B4: +/* 802505B4 0024D514 2C 19 FF FF */ cmpwi r25, -1 +/* 802505B8 0024D518 3B 00 00 00 */ li r24, 0 +/* 802505BC 0024D51C 40 82 00 0C */ bne lbl_802505C8 +/* 802505C0 0024D520 38 A1 00 98 */ addi r5, r1, 0x98 +/* 802505C4 0024D524 48 00 00 24 */ b lbl_802505E8 +lbl_802505C8: +/* 802505C8 0024D528 7F 63 DB 78 */ mr r3, r27 +/* 802505CC 0024D52C 7F 24 CB 78 */ mr r4, r25 +/* 802505D0 0024D530 48 10 61 2D */ bl GetString__12CStringTableCFi +/* 802505D4 0024D534 7C 64 1B 78 */ mr r4, r3 +/* 802505D8 0024D538 38 61 00 48 */ addi r3, r1, 0x48 +/* 802505DC 0024D53C 4B DC 54 15 */ bl wstring_l__4rstlFPCw +/* 802505E0 0024D540 3B 00 00 01 */ li r24, 1 +/* 802505E4 0024D544 38 A1 00 48 */ addi r5, r1, 0x48 +lbl_802505E8: +/* 802505E8 0024D548 38 61 00 38 */ addi r3, r1, 0x38 +/* 802505EC 0024D54C 38 81 00 88 */ addi r4, r1, 0x88 +/* 802505F0 0024D550 4B DC FA 75 */ bl sub_80020064 +/* 802505F4 0024D554 38 61 00 78 */ addi r3, r1, 0x78 +/* 802505F8 0024D558 38 81 00 38 */ addi r4, r1, 0x38 +/* 802505FC 0024D55C 48 0E D1 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250600 0024D560 38 61 00 38 */ addi r3, r1, 0x38 +/* 80250604 0024D564 48 0E CB 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250608 0024D568 7F 00 07 75 */ extsb. r0, r24 +/* 8025060C 0024D56C 41 82 00 0C */ beq lbl_80250618 +/* 80250610 0024D570 38 61 00 48 */ addi r3, r1, 0x48 +/* 80250614 0024D574 48 0E CB 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80250618: +/* 80250618 0024D578 80 7C 00 54 */ lwz r3, 0x54(r28) +/* 8025061C 0024D57C 38 81 00 78 */ addi r4, r1, 0x78 +/* 80250620 0024D580 38 A0 00 00 */ li r5, 0 +/* 80250624 0024D584 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80250628 0024D588 48 07 92 5D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025062C 0024D58C 2C 1F FF FF */ cmpwi r31, -1 +/* 80250630 0024D590 3B 00 00 00 */ li r24, 0 +/* 80250634 0024D594 40 82 00 0C */ bne lbl_80250640 +/* 80250638 0024D598 38 81 00 98 */ addi r4, r1, 0x98 +/* 8025063C 0024D59C 48 00 00 24 */ b lbl_80250660 +lbl_80250640: +/* 80250640 0024D5A0 7F 63 DB 78 */ mr r3, r27 +/* 80250644 0024D5A4 7F E4 FB 78 */ mr r4, r31 +/* 80250648 0024D5A8 48 10 60 B5 */ bl GetString__12CStringTableCFi +/* 8025064C 0024D5AC 7C 64 1B 78 */ mr r4, r3 +/* 80250650 0024D5B0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80250654 0024D5B4 4B DC 53 9D */ bl wstring_l__4rstlFPCw +/* 80250658 0024D5B8 3B 00 00 01 */ li r24, 1 +/* 8025065C 0024D5BC 38 81 00 28 */ addi r4, r1, 0x28 +lbl_80250660: +/* 80250660 0024D5C0 80 7C 00 5C */ lwz r3, 0x5c(r28) +/* 80250664 0024D5C4 38 A0 00 00 */ li r5, 0 +/* 80250668 0024D5C8 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8025066C 0024D5CC 48 07 92 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250670 0024D5D0 7F 00 07 75 */ extsb. r0, r24 +/* 80250674 0024D5D4 41 82 00 0C */ beq lbl_80250680 +/* 80250678 0024D5D8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8025067C 0024D5DC 48 0E CA B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80250680: +/* 80250680 0024D5E0 2C 1E FF FF */ cmpwi r30, -1 +/* 80250684 0024D5E4 3B 00 00 00 */ li r24, 0 +/* 80250688 0024D5E8 40 82 00 0C */ bne lbl_80250694 +/* 8025068C 0024D5EC 38 81 00 98 */ addi r4, r1, 0x98 +/* 80250690 0024D5F0 48 00 00 24 */ b lbl_802506B4 +lbl_80250694: +/* 80250694 0024D5F4 7F 63 DB 78 */ mr r3, r27 +/* 80250698 0024D5F8 7F C4 F3 78 */ mr r4, r30 +/* 8025069C 0024D5FC 48 10 60 61 */ bl GetString__12CStringTableCFi +/* 802506A0 0024D600 7C 64 1B 78 */ mr r4, r3 +/* 802506A4 0024D604 38 61 00 18 */ addi r3, r1, 0x18 +/* 802506A8 0024D608 4B DC 53 49 */ bl wstring_l__4rstlFPCw +/* 802506AC 0024D60C 3B 00 00 01 */ li r24, 1 +/* 802506B0 0024D610 38 81 00 18 */ addi r4, r1, 0x18 +lbl_802506B4: +/* 802506B4 0024D614 80 7C 00 60 */ lwz r3, 0x60(r28) +/* 802506B8 0024D618 38 A0 00 00 */ li r5, 0 +/* 802506BC 0024D61C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 802506C0 0024D620 48 07 91 C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802506C4 0024D624 7F 00 07 75 */ extsb. r0, r24 +/* 802506C8 0024D628 41 82 00 0C */ beq lbl_802506D4 +/* 802506CC 0024D62C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802506D0 0024D630 48 0E CA 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802506D4: +/* 802506D4 0024D634 2C 1D FF FF */ cmpwi r29, -1 +/* 802506D8 0024D638 3B 00 00 00 */ li r24, 0 +/* 802506DC 0024D63C 40 82 00 0C */ bne lbl_802506E8 +/* 802506E0 0024D640 38 81 00 98 */ addi r4, r1, 0x98 +/* 802506E4 0024D644 48 00 00 24 */ b lbl_80250708 +lbl_802506E8: +/* 802506E8 0024D648 7F 63 DB 78 */ mr r3, r27 +/* 802506EC 0024D64C 7F A4 EB 78 */ mr r4, r29 +/* 802506F0 0024D650 48 10 60 0D */ bl GetString__12CStringTableCFi +/* 802506F4 0024D654 7C 64 1B 78 */ mr r4, r3 +/* 802506F8 0024D658 38 61 00 08 */ addi r3, r1, 8 +/* 802506FC 0024D65C 4B DC 52 F5 */ bl wstring_l__4rstlFPCw +/* 80250700 0024D660 3B 00 00 01 */ li r24, 1 +/* 80250704 0024D664 38 81 00 08 */ addi r4, r1, 8 +lbl_80250708: +/* 80250708 0024D668 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 8025070C 0024D66C 38 A0 00 00 */ li r5, 0 +/* 80250710 0024D670 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80250714 0024D674 48 07 91 71 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250718 0024D678 7F 00 07 75 */ extsb. r0, r24 +/* 8025071C 0024D67C 41 82 00 0C */ beq lbl_80250728 +/* 80250720 0024D680 38 61 00 08 */ addi r3, r1, 8 +/* 80250724 0024D684 48 0E CA 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80250728: +/* 80250728 0024D688 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 8025072C 0024D68C 38 81 00 98 */ addi r4, r1, 0x98 +/* 80250730 0024D690 38 A0 00 00 */ li r5, 0 +/* 80250734 0024D694 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80250738 0024D698 48 07 91 4D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025073C 0024D69C 80 DC 00 5C */ lwz r6, 0x5c(r28) +/* 80250740 0024D6A0 20 7F FF FF */ subfic r3, r31, -1 +/* 80250744 0024D6A4 38 1F 00 01 */ addi r0, r31, 1 +/* 80250748 0024D6A8 38 A0 00 00 */ li r5, 0 +/* 8025074C 0024D6AC 7C 60 03 78 */ or r0, r3, r0 +/* 80250750 0024D6B0 88 86 00 B6 */ lbz r4, 0xb6(r6) +/* 80250754 0024D6B4 50 04 2E F6 */ rlwimi r4, r0, 5, 0x1b, 0x1b +/* 80250758 0024D6B8 20 7E FF FF */ subfic r3, r30, -1 +/* 8025075C 0024D6BC 98 86 00 B6 */ stb r4, 0xb6(r6) +/* 80250760 0024D6C0 38 1E 00 01 */ addi r0, r30, 1 +/* 80250764 0024D6C4 7C 60 03 78 */ or r0, r3, r0 +/* 80250768 0024D6C8 20 7D FF FF */ subfic r3, r29, -1 +/* 8025076C 0024D6CC 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 80250770 0024D6D0 54 06 0F FE */ srwi r6, r0, 0x1f +/* 80250774 0024D6D4 38 1D 00 01 */ addi r0, r29, 1 +/* 80250778 0024D6D8 2C 1F FF FF */ cmpwi r31, -1 +/* 8025077C 0024D6DC 7C 60 03 78 */ or r0, r3, r0 +/* 80250780 0024D6E0 88 64 00 B6 */ lbz r3, 0xb6(r4) +/* 80250784 0024D6E4 50 C3 26 F6 */ rlwimi r3, r6, 4, 0x1b, 0x1b +/* 80250788 0024D6E8 98 64 00 B6 */ stb r3, 0xb6(r4) +/* 8025078C 0024D6EC 54 06 0F FE */ srwi r6, r0, 0x1f +/* 80250790 0024D6F0 38 80 00 01 */ li r4, 1 +/* 80250794 0024D6F4 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80250798 0024D6F8 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 8025079C 0024D6FC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802507A0 0024D700 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 802507A4 0024D704 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802507A8 0024D708 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 802507AC 0024D70C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 802507B0 0024D710 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 802507B4 0024D714 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 802507B8 0024D718 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802507BC 0024D71C 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802507C0 0024D720 90 A3 00 C4 */ stw r5, 0xc4(r3) +/* 802507C4 0024D724 40 82 00 14 */ bne lbl_802507D8 +/* 802507C8 0024D728 2C 1E FF FF */ cmpwi r30, -1 +/* 802507CC 0024D72C 40 82 00 0C */ bne lbl_802507D8 +/* 802507D0 0024D730 2C 1D FF FF */ cmpwi r29, -1 +/* 802507D4 0024D734 41 82 00 08 */ beq lbl_802507DC +lbl_802507D8: +/* 802507D8 0024D738 38 A0 00 01 */ li r5, 1 +lbl_802507DC: +/* 802507DC 0024D73C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802507E0 0024D740 40 82 00 08 */ bne lbl_802507E8 +/* 802507E4 0024D744 38 80 00 00 */ li r4, 0 +lbl_802507E8: +/* 802507E8 0024D748 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 802507EC 0024D74C 48 07 9D F9 */ bl SetIsActive__10CGuiWidgetFb +/* 802507F0 0024D750 7F 83 E3 78 */ mr r3, r28 +/* 802507F4 0024D754 4B FF E9 81 */ bl SetUIColors__15CSaveGameScreenFv +/* 802507F8 0024D758 38 61 00 78 */ addi r3, r1, 0x78 +/* 802507FC 0024D75C 48 0E C9 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250800 0024D760 38 61 00 88 */ addi r3, r1, 0x88 +/* 80250804 0024D764 48 0E C9 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250808 0024D768 38 61 00 98 */ addi r3, r1, 0x98 +/* 8025080C 0024D76C 48 0E C9 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250810 0024D770 BB 01 00 B0 */ lmw r24, 0xb0(r1) +/* 80250814 0024D774 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80250818 0024D778 7C 08 03 A6 */ mtlr r0 +/* 8025081C 0024D77C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80250820 0024D780 4E 80 00 20 */ blr + +.global SelectUIType__15CSaveGameScreenFv +SelectUIType__15CSaveGameScreenFv: +/* 80250824 0024D784 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80250828 0024D788 7C 08 02 A6 */ mflr r0 +/* 8025082C 0024D78C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80250830 0024D790 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80250834 0024D794 93 C1 00 08 */ stw r30, 8(r1) +/* 80250838 0024D798 80 83 00 6C */ lwz r4, 0x6c(r3) +/* 8025083C 0024D79C 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 80250840 0024D7A0 83 C4 00 14 */ lwz r30, 0x14(r4) +/* 80250844 0024D7A4 2C 1F 00 02 */ cmpwi r31, 2 +/* 80250848 0024D7A8 40 82 00 0C */ bne lbl_80250854 +/* 8025084C 0024D7AC 38 60 00 03 */ li r3, 3 +/* 80250850 0024D7B0 48 00 00 EC */ b lbl_8025093C +lbl_80250854: +/* 80250854 0024D7B4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80250858 0024D7B8 2C 00 00 0D */ cmpwi r0, 0xd +/* 8025085C 0024D7BC 41 82 00 14 */ beq lbl_80250870 +/* 80250860 0024D7C0 2C 00 00 0F */ cmpwi r0, 0xf +/* 80250864 0024D7C4 41 82 00 0C */ beq lbl_80250870 +/* 80250868 0024D7C8 2C 00 00 0E */ cmpwi r0, 0xe +/* 8025086C 0024D7CC 40 82 00 0C */ bne lbl_80250878 +lbl_80250870: +/* 80250870 0024D7D0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80250874 0024D7D4 48 00 00 C8 */ b lbl_8025093C +lbl_80250878: +/* 80250878 0024D7D8 7F E3 FB 78 */ mr r3, r31 +/* 8025087C 0024D7DC 4B FF E8 D1 */ bl IsCardBusy__17CMemoryCardDriverF6EState +/* 80250880 0024D7E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250884 0024D7E4 41 82 00 20 */ beq lbl_802508A4 +/* 80250888 0024D7E8 7F E3 FB 78 */ mr r3, r31 +/* 8025088C 0024D7EC 4B FF E8 65 */ bl IsCardWriting__17CMemoryCardDriverF6EState +/* 80250890 0024D7F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250894 0024D7F4 38 60 00 02 */ li r3, 2 +/* 80250898 0024D7F8 41 82 00 A4 */ beq lbl_8025093C +/* 8025089C 0024D7FC 38 60 00 01 */ li r3, 1 +/* 802508A0 0024D800 48 00 00 9C */ b lbl_8025093C +lbl_802508A4: +/* 802508A4 0024D804 2C 1F 00 01 */ cmpwi r31, 1 +/* 802508A8 0024D808 40 82 00 18 */ bne lbl_802508C0 +/* 802508AC 0024D80C 2C 1E 00 06 */ cmpwi r30, 6 +/* 802508B0 0024D810 38 60 00 10 */ li r3, 0x10 +/* 802508B4 0024D814 40 82 00 88 */ bne lbl_8025093C +/* 802508B8 0024D818 38 60 00 0C */ li r3, 0xc +/* 802508BC 0024D81C 48 00 00 80 */ b lbl_8025093C +lbl_802508C0: +/* 802508C0 0024D820 2C 1E 00 01 */ cmpwi r30, 1 +/* 802508C4 0024D824 40 82 00 0C */ bne lbl_802508D0 +/* 802508C8 0024D828 38 60 00 04 */ li r3, 4 +/* 802508CC 0024D82C 48 00 00 70 */ b lbl_8025093C +lbl_802508D0: +/* 802508D0 0024D830 2C 1E 00 02 */ cmpwi r30, 2 +/* 802508D4 0024D834 40 82 00 0C */ bne lbl_802508E0 +/* 802508D8 0024D838 38 60 00 05 */ li r3, 5 +/* 802508DC 0024D83C 48 00 00 60 */ b lbl_8025093C +lbl_802508E0: +/* 802508E0 0024D840 2C 1E 00 04 */ cmpwi r30, 4 +/* 802508E4 0024D844 40 82 00 0C */ bne lbl_802508F0 +/* 802508E8 0024D848 38 60 00 07 */ li r3, 7 +/* 802508EC 0024D84C 48 00 00 50 */ b lbl_8025093C +lbl_802508F0: +/* 802508F0 0024D850 2C 1E 00 05 */ cmpwi r30, 5 +/* 802508F4 0024D854 40 82 00 18 */ bne lbl_8025090C +/* 802508F8 0024D858 2C 1F 00 14 */ cmpwi r31, 0x14 +/* 802508FC 0024D85C 38 60 00 09 */ li r3, 9 +/* 80250900 0024D860 40 82 00 3C */ bne lbl_8025093C +/* 80250904 0024D864 38 60 00 08 */ li r3, 8 +/* 80250908 0024D868 48 00 00 34 */ b lbl_8025093C +lbl_8025090C: +/* 8025090C 0024D86C 2C 1E 00 07 */ cmpwi r30, 7 +/* 80250910 0024D870 40 82 00 0C */ bne lbl_8025091C +/* 80250914 0024D874 38 60 00 0A */ li r3, 0xa +/* 80250918 0024D878 48 00 00 24 */ b lbl_8025093C +lbl_8025091C: +/* 8025091C 0024D87C 2C 1E 00 09 */ cmpwi r30, 9 +/* 80250920 0024D880 40 82 00 0C */ bne lbl_8025092C +/* 80250924 0024D884 38 60 00 0B */ li r3, 0xb +/* 80250928 0024D888 48 00 00 14 */ b lbl_8025093C +lbl_8025092C: +/* 8025092C 0024D88C 2C 1E 00 03 */ cmpwi r30, 3 +/* 80250930 0024D890 38 60 00 00 */ li r3, 0 +/* 80250934 0024D894 40 82 00 08 */ bne lbl_8025093C +/* 80250938 0024D898 38 60 00 06 */ li r3, 6 +lbl_8025093C: +/* 8025093C 0024D89C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250940 0024D8A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80250944 0024D8A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80250948 0024D8A8 7C 08 03 A6 */ mtlr r0 +/* 8025094C 0024D8AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80250950 0024D8B0 4E 80 00 20 */ blr + +.global IsHiddenFromFrontEnd__15CSaveGameScreenFv +IsHiddenFromFrontEnd__15CSaveGameScreenFv: +/* 80250954 0024D8B4 2C 03 00 10 */ cmpwi r3, 0x10 +/* 80250958 0024D8B8 41 82 00 1C */ beq lbl_80250974 +/* 8025095C 0024D8BC 40 80 00 20 */ bge lbl_8025097C +/* 80250960 0024D8C0 2C 03 00 03 */ cmpwi r3, 3 +/* 80250964 0024D8C4 40 80 00 18 */ bge lbl_8025097C +/* 80250968 0024D8C8 2C 03 00 00 */ cmpwi r3, 0 +/* 8025096C 0024D8CC 40 80 00 08 */ bge lbl_80250974 +/* 80250970 0024D8D0 48 00 00 0C */ b lbl_8025097C +lbl_80250974: +/* 80250974 0024D8D4 38 60 00 00 */ li r3, 0 +/* 80250978 0024D8D8 4E 80 00 20 */ blr +lbl_8025097C: +/* 8025097C 0024D8DC 38 60 00 01 */ li r3, 1 +/* 80250980 0024D8E0 4E 80 00 20 */ blr + +.global sub_80250984 +sub_80250984: +/* 80250984 0024D8E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80250988 0024D8E8 7C 08 02 A6 */ mflr r0 +/* 8025098C 0024D8EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80250990 0024D8F0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80250994 0024D8F4 7C 9F 23 78 */ mr r31, r4 +/* 80250998 0024D8F8 7C 7E 1B 78 */ mr r30, r3 +/* 8025099C 0024D8FC 80 03 00 08 */ lwz r0, 8(r3) +/* 802509A0 0024D900 7C 1F 00 00 */ cmpw r31, r0 +/* 802509A4 0024D904 40 81 00 C4 */ ble lbl_80250A68 +/* 802509A8 0024D908 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802509AC 0024D90C 40 82 00 0C */ bne lbl_802509B8 +/* 802509B0 0024D910 3B 80 00 00 */ li r28, 0 +/* 802509B4 0024D914 48 00 00 1C */ b lbl_802509D0 +lbl_802509B8: +/* 802509B8 0024D918 3C 80 80 3D */ lis r4, lbl_803D4A90@ha +/* 802509BC 0024D91C 38 A0 00 00 */ li r5, 0 +/* 802509C0 0024D920 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l +/* 802509C4 0024D924 38 84 00 B7 */ addi r4, r4, 0xb7 +/* 802509C8 0024D928 48 0C 4E 51 */ bl __nwa__FUlPCcPCc +/* 802509CC 0024D92C 7C 7C 1B 78 */ mr r28, r3 +lbl_802509D0: +/* 802509D0 0024D930 80 1E 00 04 */ lwz r0, 4(r30) +/* 802509D4 0024D934 7F 9B E3 78 */ mr r27, r28 +/* 802509D8 0024D938 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802509DC 0024D93C 54 00 18 38 */ slwi r0, r0, 3 +/* 802509E0 0024D940 7F BA 02 14 */ add r29, r26, r0 +/* 802509E4 0024D944 93 41 00 10 */ stw r26, 0x10(r1) +/* 802509E8 0024D948 93 A1 00 08 */ stw r29, 8(r1) +/* 802509EC 0024D94C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802509F0 0024D950 93 41 00 14 */ stw r26, 0x14(r1) +/* 802509F4 0024D954 48 00 00 20 */ b lbl_80250A14 +lbl_802509F8: +/* 802509F8 0024D958 28 1B 00 00 */ cmplwi r27, 0 +/* 802509FC 0024D95C 41 82 00 10 */ beq lbl_80250A0C +/* 80250A00 0024D960 7F 63 DB 78 */ mr r3, r27 +/* 80250A04 0024D964 7F 44 D3 78 */ mr r4, r26 +/* 80250A08 0024D968 48 0F 04 A1 */ bl __ct__6CTokenFRC6CToken +lbl_80250A0C: +/* 80250A0C 0024D96C 3B 7B 00 08 */ addi r27, r27, 8 +/* 80250A10 0024D970 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80250A14: +/* 80250A14 0024D974 7C 1A E8 40 */ cmplw r26, r29 +/* 80250A18 0024D978 40 82 FF E0 */ bne lbl_802509F8 +/* 80250A1C 0024D97C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80250A20 0024D980 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80250A24 0024D984 54 00 18 38 */ slwi r0, r0, 3 +/* 80250A28 0024D988 7F 7A 02 14 */ add r27, r26, r0 +/* 80250A2C 0024D98C 48 00 00 1C */ b lbl_80250A48 +lbl_80250A30: +/* 80250A30 0024D990 28 1A 00 00 */ cmplwi r26, 0 +/* 80250A34 0024D994 41 82 00 10 */ beq lbl_80250A44 +/* 80250A38 0024D998 7F 43 D3 78 */ mr r3, r26 +/* 80250A3C 0024D99C 38 80 00 00 */ li r4, 0 +/* 80250A40 0024D9A0 48 0F 04 01 */ bl __dt__6CTokenFv +lbl_80250A44: +/* 80250A44 0024D9A4 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80250A48: +/* 80250A48 0024D9A8 7C 1A D8 40 */ cmplw r26, r27 +/* 80250A4C 0024D9AC 40 82 FF E4 */ bne lbl_80250A30 +/* 80250A50 0024D9B0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80250A54 0024D9B4 28 03 00 00 */ cmplwi r3, 0 +/* 80250A58 0024D9B8 41 82 00 08 */ beq lbl_80250A60 +/* 80250A5C 0024D9BC 48 0C 4E D5 */ bl Free__7CMemoryFPCv +lbl_80250A60: +/* 80250A60 0024D9C0 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80250A64 0024D9C4 93 FE 00 08 */ stw r31, 8(r30) +lbl_80250A68: +/* 80250A68 0024D9C8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80250A6C 0024D9CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80250A70 0024D9D0 7C 08 03 A6 */ mtlr r0 +/* 80250A74 0024D9D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80250A78 0024D9D8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSlideShow.s b/asm/Kyoto_CWD/CSlideShow.s new file mode 100644 index 00000000..3336c9e8 --- /dev/null +++ b/asm/Kyoto_CWD/CSlideShow.s @@ -0,0 +1,5343 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetIsContinueDraw__10CSlideShowFv +GetIsContinueDraw__10CSlideShowFv: +/* 802979E4 00294944 38 60 00 00 */ li r3, 0 +/* 802979E8 00294948 4E 80 00 20 */ blr + +.global sub_802979ec +sub_802979ec: +/* 802979EC 0029494C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802979F0 00294950 7C 08 02 A6 */ mflr r0 +/* 802979F4 00294954 90 01 00 34 */ stw r0, 0x34(r1) +/* 802979F8 00294958 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802979FC 0029495C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80297A00 00294960 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80297A04 00294964 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80297A08 00294968 7C 7E 1B 78 */ mr r30, r3 +/* 80297A0C 0029496C 38 A0 FF FF */ li r5, -1 +/* 80297A10 00294970 90 A3 00 04 */ stw r5, 4(r3) +/* 80297A14 00294974 38 61 00 0C */ addi r3, r1, 0xc +/* 80297A18 00294978 38 1E 00 0C */ addi r0, r30, 0xc +/* 80297A1C 0029497C 38 80 00 00 */ li r4, 0 +/* 80297A20 00294980 90 BE 00 08 */ stw r5, 8(r30) +/* 80297A24 00294984 7C 03 00 40 */ cmplw r3, r0 +/* 80297A28 00294988 98 81 00 0C */ stb r4, 0xc(r1) +/* 80297A2C 0029498C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80297A30 00294990 41 82 00 48 */ beq lbl_80297A78 +/* 80297A34 00294994 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 80297A38 00294998 28 00 00 00 */ cmplwi r0, 0 +/* 80297A3C 0029499C 41 82 00 24 */ beq lbl_80297A60 +/* 80297A40 002949A0 83 FE 00 10 */ lwz r31, 0x10(r30) +/* 80297A44 002949A4 28 1F 00 00 */ cmplwi r31, 0 +/* 80297A48 002949A8 41 82 00 18 */ beq lbl_80297A60 +/* 80297A4C 002949AC 7F E3 FB 78 */ mr r3, r31 +/* 80297A50 002949B0 38 80 00 00 */ li r4, 0 +/* 80297A54 002949B4 48 0A 93 ED */ bl __dt__6CTokenFv +/* 80297A58 002949B8 7F E3 FB 78 */ mr r3, r31 +/* 80297A5C 002949BC 48 07 DE D5 */ bl Free__7CMemoryFPCv +lbl_80297A60: +/* 80297A60 002949C0 88 61 00 0C */ lbz r3, 0xc(r1) +/* 80297A64 002949C4 38 00 00 00 */ li r0, 0 +/* 80297A68 002949C8 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80297A6C 002949CC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80297A70 002949D0 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80297A74 002949D4 98 01 00 0C */ stb r0, 0xc(r1) +lbl_80297A78: +/* 80297A78 002949D8 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80297A7C 002949DC 28 00 00 00 */ cmplwi r0, 0 +/* 80297A80 002949E0 41 82 00 24 */ beq lbl_80297AA4 +/* 80297A84 002949E4 83 E1 00 10 */ lwz r31, 0x10(r1) +/* 80297A88 002949E8 28 1F 00 00 */ cmplwi r31, 0 +/* 80297A8C 002949EC 41 82 00 18 */ beq lbl_80297AA4 +/* 80297A90 002949F0 7F E3 FB 78 */ mr r3, r31 +/* 80297A94 002949F4 38 80 00 00 */ li r4, 0 +/* 80297A98 002949F8 48 0A 93 A9 */ bl __dt__6CTokenFv +/* 80297A9C 002949FC 7F E3 FB 78 */ mr r3, r31 +/* 80297AA0 00294A00 48 07 DE 91 */ bl Free__7CMemoryFPCv +lbl_80297AA4: +/* 80297AA4 00294A04 38 00 00 00 */ li r0, 0 +/* 80297AA8 00294A08 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 +/* 80297AAC 00294A0C 98 1E 00 14 */ stb r0, 0x14(r30) +/* 80297AB0 00294A10 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297AB4 00294A14 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80297AB8 00294A18 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297ABC 00294A1C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80297AC0 00294A20 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297AC4 00294A24 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80297AC8 00294A28 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297ACC 00294A2C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80297AD0 00294A30 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297AD4 00294A34 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80297AD8 00294A38 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297ADC 00294A3C D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80297AE0 00294A40 48 0B 24 CD */ bl White__6CColorFv +/* 80297AE4 00294A44 80 03 00 00 */ lwz r0, 0(r3) +/* 80297AE8 00294A48 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) +/* 80297AEC 00294A4C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80297AF0 00294A50 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80297AF4 00294A54 88 01 00 08 */ lbz r0, 8(r1) +/* 80297AF8 00294A58 98 1E 00 33 */ stb r0, 0x33(r30) +/* 80297AFC 00294A5C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80297B00 00294A60 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80297B04 00294A64 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80297B08 00294A68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80297B0C 00294A6C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80297B10 00294A70 7C 08 03 A6 */ mtlr r0 +/* 80297B14 00294A74 38 21 00 30 */ addi r1, r1, 0x30 +/* 80297B18 00294A78 4E 80 00 20 */ blr + +.global sub_80297b1c +sub_80297b1c: +/* 80297B1C 00294A7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80297B20 00294A80 7C 08 02 A6 */ mflr r0 +/* 80297B24 00294A84 38 A0 00 00 */ li r5, 0 +/* 80297B28 00294A88 90 01 00 34 */ stw r0, 0x34(r1) +/* 80297B2C 00294A8C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80297B30 00294A90 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80297B34 00294A94 7C 7E 1B 78 */ mr r30, r3 +/* 80297B38 00294A98 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80297B3C 00294A9C 28 03 00 00 */ cmplwi r3, 0 +/* 80297B40 00294AA0 41 82 00 24 */ beq lbl_80297B64 +/* 80297B44 00294AA4 80 83 00 00 */ lwz r4, 0(r3) +/* 80297B48 00294AA8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80297B4C 00294AAC 28 00 00 00 */ cmplwi r0, 0 +/* 80297B50 00294AB0 41 82 00 14 */ beq lbl_80297B64 +/* 80297B54 00294AB4 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80297B58 00294AB8 28 00 00 00 */ cmplwi r0, 0 +/* 80297B5C 00294ABC 41 82 00 08 */ beq lbl_80297B64 +/* 80297B60 00294AC0 38 A0 00 01 */ li r5, 1 +lbl_80297B64: +/* 80297B64 00294AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80297B68 00294AC8 41 82 00 94 */ beq lbl_80297BFC +/* 80297B6C 00294ACC 48 0A 92 A1 */ bl GetObj__6CTokenFv +/* 80297B70 00294AD0 80 83 00 04 */ lwz r4, 4(r3) +/* 80297B74 00294AD4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80297B78 00294AD8 AB E4 00 04 */ lha r31, 4(r4) +/* 80297B7C 00294ADC 48 0A 92 91 */ bl GetObj__6CTokenFv +/* 80297B80 00294AE0 80 63 00 04 */ lwz r3, 4(r3) +/* 80297B84 00294AE4 3D 00 43 30 */ lis r8, 0x4330 +/* 80297B88 00294AE8 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 80297B8C 00294AEC 91 01 00 18 */ stw r8, 0x18(r1) +/* 80297B90 00294AF0 A8 A3 00 06 */ lha r5, 6(r3) +/* 80297B94 00294AF4 38 7E 00 0C */ addi r3, r30, 0xc +/* 80297B98 00294AF8 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80297B9C 00294AFC 38 81 00 08 */ addi r4, r1, 8 +/* 80297BA0 00294B00 6C A6 80 00 */ xoris r6, r5, 0x8000 +/* 80297BA4 00294B04 90 01 00 24 */ stw r0, 0x24(r1) +/* 80297BA8 00294B08 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) +/* 80297BAC 00294B0C 38 BE 00 30 */ addi r5, r30, 0x30 +/* 80297BB0 00294B10 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 80297BB4 00294B14 38 DE 00 18 */ addi r6, r30, 0x18 +/* 80297BB8 00294B18 C0 BE 00 2C */ lfs f5, 0x2c(r30) +/* 80297BBC 00294B1C 38 FE 00 20 */ addi r7, r30, 0x20 +/* 80297BC0 00294B20 91 01 00 20 */ stw r8, 0x20(r1) +/* 80297BC4 00294B24 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 80297BC8 00294B28 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 80297BCC 00294B2C EC 82 18 28 */ fsubs f4, f2, f3 +/* 80297BD0 00294B30 C0 5E 00 28 */ lfs f2, 0x28(r30) +/* 80297BD4 00294B34 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80297BD8 00294B38 C0 62 BF F4 */ lfs f3, lbl_805ADD14@sda21(r2) +/* 80297BDC 00294B3C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80297BE0 00294B40 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80297BE4 00294B44 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80297BE8 00294B48 EC 24 00 F2 */ fmuls f1, f4, f3 +/* 80297BEC 00294B4C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80297BF0 00294B50 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80297BF4 00294B54 D0 01 00 08 */ stfs f0, 8(r1) +/* 80297BF8 00294B58 48 00 41 2D */ bl sub_8029bd24 +lbl_80297BFC: +/* 80297BFC 00294B5C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80297C00 00294B60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80297C04 00294B64 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80297C08 00294B68 7C 08 03 A6 */ mtlr r0 +/* 80297C0C 00294B6C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80297C10 00294B70 4E 80 00 20 */ blr + +.global sub_80297c14 +sub_80297c14: +/* 80297C14 00294B74 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80297C18 00294B78 7C 08 02 A6 */ mflr r0 +/* 80297C1C 00294B7C 38 A0 00 00 */ li r5, 0 +/* 80297C20 00294B80 90 01 00 44 */ stw r0, 0x44(r1) +/* 80297C24 00294B84 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80297C28 00294B88 7C 7F 1B 78 */ mr r31, r3 +/* 80297C2C 00294B8C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80297C30 00294B90 28 03 00 00 */ cmplwi r3, 0 +/* 80297C34 00294B94 41 82 00 18 */ beq lbl_80297C4C +/* 80297C38 00294B98 80 83 00 00 */ lwz r4, 0(r3) +/* 80297C3C 00294B9C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80297C40 00294BA0 28 00 00 00 */ cmplwi r0, 0 +/* 80297C44 00294BA4 41 82 00 08 */ beq lbl_80297C4C +/* 80297C48 00294BA8 38 A0 00 01 */ li r5, 1 +lbl_80297C4C: +/* 80297C4C 00294BAC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80297C50 00294BB0 41 82 00 FC */ beq lbl_80297D4C +/* 80297C54 00294BB4 48 0A 91 B9 */ bl GetObj__6CTokenFv +/* 80297C58 00294BB8 80 83 00 04 */ lwz r4, 4(r3) +/* 80297C5C 00294BBC 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80297C60 00294BC0 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l +/* 80297C64 00294BC4 3C E0 43 30 */ lis r7, 0x4330 +/* 80297C68 00294BC8 A8 04 00 04 */ lha r0, 4(r4) +/* 80297C6C 00294BCC 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 +/* 80297C70 00294BD0 A8 C4 00 06 */ lha r6, 6(r4) +/* 80297C74 00294BD4 80 85 00 08 */ lwz r4, 8(r5) +/* 80297C78 00294BD8 6C 08 80 00 */ xoris r8, r0, 0x8000 +/* 80297C7C 00294BDC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80297C80 00294BE0 6C C5 80 00 */ xoris r5, r6, 0x8000 +/* 80297C84 00294BE4 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80297C88 00294BE8 91 01 00 1C */ stw r8, 0x1c(r1) +/* 80297C8C 00294BEC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80297C90 00294BF0 C8 A2 BF F8 */ lfd f5, lbl_805ADD18@sda21(r2) +/* 80297C94 00294BF4 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80297C98 00294BF8 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297C9C 00294BFC C8 21 00 18 */ lfd f1, 0x18(r1) +/* 80297CA0 00294C00 90 A1 00 24 */ stw r5, 0x24(r1) +/* 80297CA4 00294C04 EC 21 28 28 */ fsubs f1, f1, f5 +/* 80297CA8 00294C08 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80297CAC 00294C0C C8 41 00 20 */ lfd f2, 0x20(r1) +/* 80297CB0 00294C10 90 81 00 2C */ stw r4, 0x2c(r1) +/* 80297CB4 00294C14 EC 42 28 28 */ fsubs f2, f2, f5 +/* 80297CB8 00294C18 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80297CBC 00294C1C C8 81 00 28 */ lfd f4, 0x28(r1) +/* 80297CC0 00294C20 EC C1 10 24 */ fdivs f6, f1, f2 +/* 80297CC4 00294C24 90 01 00 34 */ stw r0, 0x34(r1) +/* 80297CC8 00294C28 90 E1 00 30 */ stw r7, 0x30(r1) +/* 80297CCC 00294C2C C8 61 00 30 */ lfd f3, 0x30(r1) +/* 80297CD0 00294C30 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80297CD4 00294C34 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297CD8 00294C38 EC 84 28 28 */ fsubs f4, f4, f5 +/* 80297CDC 00294C3C D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80297CE0 00294C40 EC 03 28 28 */ fsubs f0, f3, f5 +/* 80297CE4 00294C44 EC 04 00 24 */ fdivs f0, f4, f0 +/* 80297CE8 00294C48 FC 06 00 00 */ fcmpu cr0, f6, f0 +/* 80297CEC 00294C4C 41 82 00 48 */ beq lbl_80297D34 +/* 80297CF0 00294C50 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80297CF4 00294C54 40 81 00 24 */ ble lbl_80297D18 +/* 80297CF8 00294C58 EC 41 00 24 */ fdivs f2, f1, f0 +/* 80297CFC 00294C5C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80297D00 00294C60 48 07 C5 01 */ bl __ct__9CVector2fFff +/* 80297D04 00294C64 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80297D08 00294C68 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80297D0C 00294C6C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80297D10 00294C70 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80297D14 00294C74 48 00 00 20 */ b lbl_80297D34 +lbl_80297D18: +/* 80297D18 00294C78 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80297D1C 00294C7C 38 61 00 08 */ addi r3, r1, 8 +/* 80297D20 00294C80 48 07 C4 E1 */ bl __ct__9CVector2fFff +/* 80297D24 00294C84 C0 01 00 08 */ lfs f0, 8(r1) +/* 80297D28 00294C88 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80297D2C 00294C8C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80297D30 00294C90 D0 1F 00 24 */ stfs f0, 0x24(r31) +lbl_80297D34: +/* 80297D34 00294C94 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80297D38 00294C98 38 00 00 01 */ li r0, 1 +/* 80297D3C 00294C9C D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 80297D40 00294CA0 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 80297D44 00294CA4 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80297D48 00294CA8 98 1F 00 14 */ stb r0, 0x14(r31) +lbl_80297D4C: +/* 80297D4C 00294CAC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80297D50 00294CB0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80297D54 00294CB4 7C 08 03 A6 */ mtlr r0 +/* 80297D58 00294CB8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80297D5C 00294CBC 4E 80 00 20 */ blr + +.global sub_80297d60 +sub_80297d60: +/* 80297D60 00294CC0 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80297D64 00294CC4 7C 08 02 A6 */ mflr r0 +/* 80297D68 00294CC8 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80297D6C 00294CCC DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80297D70 00294CD0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80297D74 00294CD4 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80297D78 00294CD8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 80297D7C 00294CDC DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 80297D80 00294CE0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 80297D84 00294CE4 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 80297D88 00294CE8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 80297D8C 00294CEC DB 61 00 90 */ stfd f27, 0x90(r1) +/* 80297D90 00294CF0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 80297D94 00294CF4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80297D98 00294CF8 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80297D9C 00294CFC 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80297DA0 00294D00 93 81 00 80 */ stw r28, 0x80(r1) +/* 80297DA4 00294D04 7C 7E 1B 78 */ mr r30, r3 +/* 80297DA8 00294D08 7C 9F 23 78 */ mr r31, r4 +/* 80297DAC 00294D0C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80297DB0 00294D10 38 A0 00 00 */ li r5, 0 +/* 80297DB4 00294D14 28 03 00 00 */ cmplwi r3, 0 +/* 80297DB8 00294D18 41 82 00 24 */ beq lbl_80297DDC +/* 80297DBC 00294D1C 80 83 00 00 */ lwz r4, 0(r3) +/* 80297DC0 00294D20 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80297DC4 00294D24 28 00 00 00 */ cmplwi r0, 0 +/* 80297DC8 00294D28 41 82 00 14 */ beq lbl_80297DDC +/* 80297DCC 00294D2C 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80297DD0 00294D30 28 00 00 00 */ cmplwi r0, 0 +/* 80297DD4 00294D34 41 82 00 08 */ beq lbl_80297DDC +/* 80297DD8 00294D38 38 A0 00 01 */ li r5, 1 +lbl_80297DDC: +/* 80297DDC 00294D3C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80297DE0 00294D40 41 82 03 98 */ beq lbl_80298178 +/* 80297DE4 00294D44 48 0A 90 29 */ bl GetObj__6CTokenFv +/* 80297DE8 00294D48 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80297DEC 00294D4C 3C C0 43 30 */ lis r6, 0x4330 +/* 80297DF0 00294D50 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l +/* 80297DF4 00294D54 81 03 00 04 */ lwz r8, 4(r3) +/* 80297DF8 00294D58 83 A5 00 08 */ lwz r29, 8(r5) +/* 80297DFC 00294D5C 7F E4 FB 78 */ mr r4, r31 +/* 80297E00 00294D60 83 85 00 0C */ lwz r28, 0xc(r5) +/* 80297E04 00294D64 38 60 00 2E */ li r3, 0x2e +/* 80297E08 00294D68 6F A5 80 00 */ xoris r5, r29, 0x8000 +/* 80297E0C 00294D6C A8 E8 00 04 */ lha r7, 4(r8) +/* 80297E10 00294D70 6F 80 80 00 */ xoris r0, r28, 0x8000 +/* 80297E14 00294D74 90 A1 00 74 */ stw r5, 0x74(r1) +/* 80297E18 00294D78 A8 A8 00 06 */ lha r5, 6(r8) +/* 80297E1C 00294D7C 6C E7 80 00 */ xoris r7, r7, 0x8000 +/* 80297E20 00294D80 90 C1 00 70 */ stw r6, 0x70(r1) +/* 80297E24 00294D84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 80297E28 00294D88 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80297E2C 00294D8C C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80297E30 00294D90 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80297E34 00294D94 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80297E38 00294D98 90 C1 00 78 */ stw r6, 0x78(r1) +/* 80297E3C 00294D9C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80297E40 00294DA0 90 E1 00 64 */ stw r7, 0x64(r1) +/* 80297E44 00294DA4 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80297E48 00294DA8 90 C1 00 60 */ stw r6, 0x60(r1) +/* 80297E4C 00294DAC EF 81 00 24 */ fdivs f28, f1, f0 +/* 80297E50 00294DB0 C8 21 00 60 */ lfd f1, 0x60(r1) +/* 80297E54 00294DB4 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 80297E58 00294DB8 90 C1 00 68 */ stw r6, 0x68(r1) +/* 80297E5C 00294DBC C8 01 00 68 */ lfd f0, 0x68(r1) +/* 80297E60 00294DC0 EF E1 10 28 */ fsubs f31, f1, f2 +/* 80297E64 00294DC4 EF A0 10 28 */ fsubs f29, f0, f2 +/* 80297E68 00294DC8 4B D7 4A B1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297E6C 00294DCC FF 60 08 90 */ fmr f27, f1 +/* 80297E70 00294DD0 7F E4 FB 78 */ mr r4, r31 +/* 80297E74 00294DD4 38 60 00 2F */ li r3, 0x2f +/* 80297E78 00294DD8 4B D7 4A A1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297E7C 00294DDC C0 5E 00 20 */ lfs f2, 0x20(r30) +/* 80297E80 00294DE0 EC 61 D8 28 */ fsubs f3, f1, f27 +/* 80297E84 00294DE4 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80297E88 00294DE8 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80297E8C 00294DEC FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 80297E90 00294DF0 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80297E94 00294DF4 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80297E98 00294DF8 41 82 00 E4 */ beq lbl_80297F7C +/* 80297E9C 00294DFC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80297EA0 00294E00 6F A6 80 00 */ xoris r6, r29, 0x8000 +/* 80297EA4 00294E04 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 80297EA8 00294E08 3C 00 43 30 */ lis r0, 0x4330 +/* 80297EAC 00294E0C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80297EB0 00294E10 38 61 00 44 */ addi r3, r1, 0x44 +/* 80297EB4 00294E14 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80297EB8 00294E18 38 81 00 40 */ addi r4, r1, 0x40 +/* 80297EBC 00294E1C C0 45 00 38 */ lfs f2, 0x38(r5) +/* 80297EC0 00294E20 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80297EC4 00294E24 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80297EC8 00294E28 EC 62 00 F2 */ fmuls f3, f2, f3 +/* 80297ECC 00294E2C 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 80297ED0 00294E30 90 01 00 78 */ stw r0, 0x78(r1) +/* 80297ED4 00294E34 EC 5C 00 FA */ fmadds f2, f28, f3, f0 +/* 80297ED8 00294E38 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80297EDC 00294E3C D0 5E 00 20 */ stfs f2, 0x20(r30) +/* 80297EE0 00294E40 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80297EE4 00294E44 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 80297EE8 00294E48 EC 21 18 2A */ fadds f1, f1, f3 +/* 80297EEC 00294E4C D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80297EF0 00294E50 C0 3E 00 28 */ lfs f1, 0x28(r30) +/* 80297EF4 00294E54 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80297EF8 00294E58 C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 80297EFC 00294E5C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80297F00 00294E60 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80297F04 00294E64 4B D7 43 B1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80297F08 00294E68 C0 03 00 00 */ lfs f0, 0(r3) +/* 80297F0C 00294E6C 6F 83 80 00 */ xoris r3, r28, 0x8000 +/* 80297F10 00294E70 3C 00 43 30 */ lis r0, 0x4330 +/* 80297F14 00294E74 90 61 00 74 */ stw r3, 0x74(r1) +/* 80297F18 00294E78 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80297F1C 00294E7C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80297F20 00294E80 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80297F24 00294E84 38 81 00 34 */ addi r4, r1, 0x34 +/* 80297F28 00294E88 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80297F2C 00294E8C 90 01 00 70 */ stw r0, 0x70(r1) +/* 80297F30 00294E90 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 80297F34 00294E94 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80297F38 00294E98 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80297F3C 00294E9C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80297F40 00294EA0 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 80297F44 00294EA4 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80297F48 00294EA8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80297F4C 00294EAC 4B D7 43 69 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80297F50 00294EB0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80297F54 00294EB4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80297F58 00294EB8 38 9E 00 20 */ addi r4, r30, 0x20 +/* 80297F5C 00294EBC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80297F60 00294EC0 48 07 C2 09 */ bl sub_80314168 +/* 80297F64 00294EC4 C0 22 C0 00 */ lfs f1, lbl_805ADD20@sda21(r2) +/* 80297F68 00294EC8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80297F6C 00294ECC 48 07 C1 BD */ bl sub_80314128 +/* 80297F70 00294ED0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80297F74 00294ED4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80297F78 00294ED8 48 07 C2 15 */ bl __apl__9CVector2fFRC9CVector2f +lbl_80297F7C: +/* 80297F7C 00294EDC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80297F80 00294EE0 38 9E 00 20 */ addi r4, r30, 0x20 +/* 80297F84 00294EE4 48 07 BF 85 */ bl __eq__FRC9CVector2fRC9CVector2f +/* 80297F88 00294EE8 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80297F8C 00294EEC 80 7E 00 00 */ lwz r3, 0(r30) +/* 80297F90 00294EF0 7C 00 00 34 */ cntlzw r0, r0 +/* 80297F94 00294EF4 54 04 D9 7E */ srwi r4, r0, 5 +/* 80297F98 00294EF8 48 00 0B 39 */ bl sub_80298ad0 +/* 80297F9C 00294EFC C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80297FA0 00294F00 7F E4 FB 78 */ mr r4, r31 +/* 80297FA4 00294F04 38 60 00 2A */ li r3, 0x2a +/* 80297FA8 00294F08 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80297FAC 00294F0C C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80297FB0 00294F10 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80297FB4 00294F14 4B D7 49 65 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FB8 00294F18 FF 60 08 90 */ fmr f27, f1 +/* 80297FBC 00294F1C 7F E4 FB 78 */ mr r4, r31 +/* 80297FC0 00294F20 38 60 00 2B */ li r3, 0x2b +/* 80297FC4 00294F24 4B D7 49 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FC8 00294F28 FF 80 08 90 */ fmr f28, f1 +/* 80297FCC 00294F2C 7F E4 FB 78 */ mr r4, r31 +/* 80297FD0 00294F30 38 60 00 2C */ li r3, 0x2c +/* 80297FD4 00294F34 4B D7 49 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FD8 00294F38 FF C0 08 90 */ fmr f30, f1 +/* 80297FDC 00294F3C 7F E4 FB 78 */ mr r4, r31 +/* 80297FE0 00294F40 38 60 00 2D */ li r3, 0x2d +/* 80297FE4 00294F44 4B D7 49 35 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FE8 00294F48 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 80297FEC 00294F4C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80297FF0 00294F50 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80297FF4 00294F54 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80297FF8 00294F58 C0 43 00 34 */ lfs f2, 0x34(r3) +/* 80297FFC 00294F5C 38 6D 9A 04 */ addi r3, r13, lbl_805A85C4@sda21 +/* 80298000 00294F60 EC 02 07 BC */ fnmsubs f0, f2, f30, f0 +/* 80298004 00294F64 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80298008 00294F68 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 8029800C 00294F6C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80298010 00294F70 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80298014 00294F74 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298018 00294F78 EC 02 06 FA */ fmadds f0, f2, f27, f0 +/* 8029801C 00294F7C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80298020 00294F80 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298024 00294F84 EC 02 07 3C */ fnmsubs f0, f2, f28, f0 +/* 80298028 00294F88 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8029802C 00294F8C C0 3E 00 28 */ lfs f1, 0x28(r30) +/* 80298030 00294F90 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80298034 00294F94 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80298038 00294F98 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8029803C 00294F9C C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80298040 00294FA0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80298044 00294FA4 4B D7 42 71 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298048 00294FA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029804C 00294FAC 38 81 00 24 */ addi r4, r1, 0x24 +/* 80298050 00294FB0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80298054 00294FB4 38 6D 9A 08 */ addi r3, r13, lbl_805A85C8@sda21 +/* 80298058 00294FB8 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8029805C 00294FBC C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 80298060 00294FC0 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80298064 00294FC4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80298068 00294FC8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029806C 00294FCC C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298070 00294FD0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80298074 00294FD4 4B D7 42 41 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298078 00294FD8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029807C 00294FDC C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2) +/* 80298080 00294FE0 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80298084 00294FE4 C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2) +/* 80298088 00294FE8 C3 DE 00 20 */ lfs f30, 0x20(r30) +/* 8029808C 00294FEC EC 1E 00 72 */ fmuls f0, f30, f1 +/* 80298090 00294FF0 EC 1F 00 78 */ fmsubs f0, f31, f1, f0 +/* 80298094 00294FF4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80298098 00294FF8 40 81 00 08 */ ble lbl_802980A0 +/* 8029809C 00294FFC FC 60 00 90 */ fmr f3, f0 +lbl_802980A0: +/* 802980A0 00295000 C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2) +/* 802980A4 00295004 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 802980A8 00295008 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) +/* 802980AC 0029500C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802980B0 00295010 EC 1D 00 78 */ fmsubs f0, f29, f1, f0 +/* 802980B4 00295014 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802980B8 00295018 40 81 00 08 */ ble lbl_802980C0 +/* 802980BC 0029501C FF E0 00 90 */ fmr f31, f0 +lbl_802980C0: +/* 802980C0 00295020 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 802980C4 00295024 38 61 00 1C */ addi r3, r1, 0x1c +/* 802980C8 00295028 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2) +/* 802980CC 0029502C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802980D0 00295030 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802980D4 00295034 EC 00 18 BA */ fmadds f0, f0, f2, f3 +/* 802980D8 00295038 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802980DC 0029503C C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 802980E0 00295040 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 802980E4 00295044 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 802980E8 00295048 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802980EC 0029504C C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 802980F0 00295050 EC 00 18 B8 */ fmsubs f0, f0, f2, f3 +/* 802980F4 00295054 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802980F8 00295058 4B D7 41 BD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802980FC 0029505C C0 03 00 00 */ lfs f0, 0(r3) +/* 80298100 00295060 38 61 00 10 */ addi r3, r1, 0x10 +/* 80298104 00295064 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2) +/* 80298108 00295068 38 81 00 0C */ addi r4, r1, 0xc +/* 8029810C 0029506C 38 A1 00 08 */ addi r5, r1, 8 +/* 80298110 00295070 EC 1E 00 BC */ fnmsubs f0, f30, f2, f0 +/* 80298114 00295074 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80298118 00295078 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8029811C 0029507C C3 7E 00 24 */ lfs f27, 0x24(r30) +/* 80298120 00295080 EC 00 F8 BA */ fmadds f0, f0, f2, f31 +/* 80298124 00295084 D0 01 00 08 */ stfs f0, 8(r1) +/* 80298128 00295088 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 8029812C 0029508C C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298130 00295090 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 80298134 00295094 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80298138 00295098 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8029813C 0029509C EC 00 F8 B8 */ fmsubs f0, f0, f2, f31 +/* 80298140 002950A0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80298144 002950A4 4B D7 41 71 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298148 002950A8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8029814C 002950AC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80298150 002950B0 C0 02 BF F4 */ lfs f0, lbl_805ADD14@sda21(r2) +/* 80298154 002950B4 38 9E 00 18 */ addi r4, r30, 0x18 +/* 80298158 002950B8 EC 1B 08 3C */ fnmsubs f0, f27, f0, f1 +/* 8029815C 002950BC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80298160 002950C0 48 07 BD A9 */ bl __eq__FRC9CVector2fRC9CVector2f +/* 80298164 002950C4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80298168 002950C8 80 7E 00 00 */ lwz r3, 0(r30) +/* 8029816C 002950CC 7C 00 00 34 */ cntlzw r0, r0 +/* 80298170 002950D0 54 04 D9 7E */ srwi r4, r0, 5 +/* 80298174 002950D4 48 00 09 E1 */ bl sub_80298b54 +lbl_80298178: +/* 80298178 002950D8 38 60 00 01 */ li r3, 1 +/* 8029817C 002950DC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80298180 002950E0 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80298184 002950E4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 80298188 002950E8 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8029818C 002950EC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 80298190 002950F0 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 80298194 002950F4 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 80298198 002950F8 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 8029819C 002950FC E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802981A0 00295100 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802981A4 00295104 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802981A8 00295108 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802981AC 0029510C 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802981B0 00295110 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802981B4 00295114 83 81 00 80 */ lwz r28, 0x80(r1) +/* 802981B8 00295118 7C 08 03 A6 */ mtlr r0 +/* 802981BC 0029511C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802981C0 00295120 4E 80 00 20 */ blr + +.global sub_802981c4 +sub_802981c4: +/* 802981C4 00295124 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802981C8 00295128 7C 08 02 A6 */ mflr r0 +/* 802981CC 0029512C 90 01 01 54 */ stw r0, 0x154(r1) +/* 802981D0 00295130 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 802981D4 00295134 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 802981D8 00295138 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 802981DC 0029513C 93 C1 01 38 */ stw r30, 0x138(r1) +/* 802981E0 00295140 93 A1 01 34 */ stw r29, 0x134(r1) +/* 802981E4 00295144 7C 7F 1B 78 */ mr r31, r3 +/* 802981E8 00295148 80 03 00 38 */ lwz r0, 0x38(r3) +/* 802981EC 0029514C 28 00 00 00 */ cmplwi r0, 0 +/* 802981F0 00295150 41 82 02 5C */ beq lbl_8029844C +/* 802981F4 00295154 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 802981F8 00295158 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802981FC 0029515C 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 80298200 00295160 38 61 00 34 */ addi r3, r1, 0x34 +/* 80298204 00295164 81 84 00 00 */ lwz r12, 0(r4) +/* 80298208 00295168 38 A0 00 01 */ li r5, 1 +/* 8029820C 0029516C 83 C6 00 08 */ lwz r30, 8(r6) +/* 80298210 00295170 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 80298214 00295174 83 A6 00 0C */ lwz r29, 0xc(r6) +/* 80298218 00295178 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) +/* 8029821C 0029517C C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) +/* 80298220 00295180 7D 89 03 A6 */ mtctr r12 +/* 80298224 00295184 4E 80 04 21 */ bctrl +/* 80298228 00295188 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8029822C 0029518C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80298230 00295190 48 07 45 1D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80298234 00295194 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80298238 00295198 48 0A 8B D5 */ bl GetObj__6CTokenFv +/* 8029823C 0029519C 80 83 00 04 */ lwz r4, 4(r3) +/* 80298240 002951A0 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80298244 002951A4 3C 00 43 30 */ lis r0, 0x4330 +/* 80298248 002951A8 90 61 01 24 */ stw r3, 0x124(r1) +/* 8029824C 002951AC 80 A4 00 28 */ lwz r5, 0x28(r4) +/* 80298250 002951B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80298254 002951B4 90 01 01 20 */ stw r0, 0x120(r1) +/* 80298258 002951B8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029825C 002951BC C0 65 00 20 */ lfs f3, 0x20(r5) +/* 80298260 002951C0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80298264 002951C4 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80298268 002951C8 C8 01 01 20 */ lfd f0, 0x120(r1) +/* 8029826C 002951CC C0 45 00 24 */ lfs f2, 0x24(r5) +/* 80298270 002951D0 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80298274 002951D4 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80298278 002951D8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8029827C 002951DC C0 45 00 28 */ lfs f2, 0x28(r5) +/* 80298280 002951E0 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80298284 002951E4 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80298288 002951E8 C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8029828C 002951EC EC 02 18 28 */ fsubs f0, f2, f3 +/* 80298290 002951F0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80298294 002951F4 C0 45 00 30 */ lfs f2, 0x30(r5) +/* 80298298 002951F8 EF E1 00 24 */ fdivs f31, f1, f0 +/* 8029829C 002951FC D0 41 00 54 */ stfs f2, 0x54(r1) +/* 802982A0 00295200 C0 05 00 34 */ lfs f0, 0x34(r5) +/* 802982A4 00295204 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802982A8 00295208 48 09 F3 65 */ bl GetCenterPoint__6CAABoxCFv +/* 802982AC 0029520C C0 62 C0 10 */ lfs f3, lbl_805ADD30@sda21(r2) +/* 802982B0 00295210 38 61 00 BC */ addi r3, r1, 0xbc +/* 802982B4 00295214 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802982B8 00295218 38 81 00 28 */ addi r4, r1, 0x28 +/* 802982BC 0029521C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802982C0 00295220 EC 83 00 32 */ fmuls f4, f3, f0 +/* 802982C4 00295224 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802982C8 00295228 EC 43 00 72 */ fmuls f2, f3, f1 +/* 802982CC 0029522C EC 23 00 32 */ fmuls f1, f3, f0 +/* 802982D0 00295230 EC 7F 01 32 */ fmuls f3, f31, f4 +/* 802982D4 00295234 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802982D8 00295238 EC 1F 00 B2 */ fmuls f0, f31, f2 +/* 802982DC 0029523C EC 9F 00 72 */ fmuls f4, f31, f1 +/* 802982E0 00295240 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802982E4 00295244 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802982E8 00295248 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802982EC 0029524C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802982F0 00295250 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802982F4 00295254 48 07 AE 4D */ bl Translate__12CTransform4fFRC9CVector3f +/* 802982F8 00295258 38 61 00 EC */ addi r3, r1, 0xec +/* 802982FC 0029525C 38 81 00 BC */ addi r4, r1, 0xbc +/* 80298300 00295260 48 07 A8 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80298304 00295264 FC 20 F8 90 */ fmr f1, f31 +/* 80298308 00295268 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2) +/* 8029830C 0029526C FC 60 F8 90 */ fmr f3, f31 +/* 80298310 00295270 38 61 00 8C */ addi r3, r1, 0x8c +/* 80298314 00295274 48 07 AE F5 */ bl Scale__12CTransform4fFfff +/* 80298318 00295278 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029831C 0029527C 38 81 00 EC */ addi r4, r1, 0xec +/* 80298320 00295280 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80298324 00295284 48 07 A6 2D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80298328 00295288 38 61 00 EC */ addi r3, r1, 0xec +/* 8029832C 0029528C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80298330 00295290 48 07 A8 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80298334 00295294 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 80298338 00295298 3C 00 43 30 */ lis r0, 0x4330 +/* 8029833C 0029529C 90 61 01 2C */ stw r3, 0x12c(r1) +/* 80298340 002952A0 7F E3 FB 78 */ mr r3, r31 +/* 80298344 002952A4 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 80298348 002952A8 90 01 01 28 */ stw r0, 0x128(r1) +/* 8029834C 002952AC C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 80298350 002952B0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80298354 002952B4 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 80298358 002952B8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8029835C 002952BC C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2) +/* 80298360 002952C0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80298364 002952C4 C0 41 00 F8 */ lfs f2, 0xf8(r1) +/* 80298368 002952C8 EC DF 00 F2 */ fmuls f6, f31, f3 +/* 8029836C 002952CC C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2) +/* 80298370 002952D0 C0 21 01 08 */ lfs f1, 0x108(r1) +/* 80298374 002952D4 EC 80 01 72 */ fmuls f4, f0, f5 +/* 80298378 002952D8 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 8029837C 002952DC EC 42 18 2A */ fadds f2, f2, f3 +/* 80298380 002952E0 EC 21 18 2A */ fadds f1, f1, f3 +/* 80298384 002952E4 EC 66 21 78 */ fmsubs f3, f6, f5, f4 +/* 80298388 002952E8 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 8029838C 002952EC EC 00 18 2A */ fadds f0, f0, f3 +/* 80298390 002952F0 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 80298394 002952F4 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 80298398 002952F8 48 00 10 B5 */ bl sub_8029944c +/* 8029839C 002952FC C0 42 C0 18 */ lfs f2, lbl_805ADD38@sda21(r2) +/* 802983A0 00295300 38 61 00 EC */ addi r3, r1, 0xec +/* 802983A4 00295304 C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 802983A8 00295308 C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2) +/* 802983AC 0029530C EC 02 00 2A */ fadds f0, f2, f0 +/* 802983B0 00295310 C0 61 00 F8 */ lfs f3, 0xf8(r1) +/* 802983B4 00295314 C0 82 BF F0 */ lfs f4, lbl_805ADD10@sda21(r2) +/* 802983B8 00295318 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 802983BC 0029531C EC A1 01 7A */ fmadds f5, f1, f5, f0 +/* 802983C0 00295320 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 802983C4 00295324 EC 63 20 2A */ fadds f3, f3, f4 +/* 802983C8 00295328 EC 22 20 2A */ fadds f1, f2, f4 +/* 802983CC 0029532C EC 00 28 2A */ fadds f0, f0, f5 +/* 802983D0 00295330 D0 61 00 F8 */ stfs f3, 0xf8(r1) +/* 802983D4 00295334 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 802983D8 00295338 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 802983DC 0029533C 48 07 42 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802983E0 00295340 38 80 00 01 */ li r4, 1 +/* 802983E4 00295344 38 60 00 00 */ li r3, 0 +/* 802983E8 00295348 38 00 00 03 */ li r0, 3 +/* 802983EC 0029534C 98 81 00 08 */ stb r4, 8(r1) +/* 802983F0 00295350 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 802983F4 00295354 98 61 00 09 */ stb r3, 9(r1) +/* 802983F8 00295358 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 802983FC 0029535C B0 01 00 0A */ sth r0, 0xa(r1) +/* 80298400 00295360 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80298404 00295364 90 01 00 0C */ stw r0, 0xc(r1) +/* 80298408 00295368 48 0A 8A 05 */ bl GetObj__6CTokenFv +/* 8029840C 0029536C 7C 64 1B 78 */ mr r4, r3 +/* 80298410 00295370 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80298414 00295374 38 A1 00 08 */ addi r5, r1, 8 +/* 80298418 00295378 80 84 00 04 */ lwz r4, 4(r4) +/* 8029841C 0029537C 81 83 00 00 */ lwz r12, 0(r3) +/* 80298420 00295380 38 C0 00 00 */ li r6, 0 +/* 80298424 00295384 38 E0 00 00 */ li r7, 0 +/* 80298428 00295388 39 00 00 00 */ li r8, 0 +/* 8029842C 0029538C 81 8C 00 D8 */ lwz r12, 0xd8(r12) +/* 80298430 00295390 7D 89 03 A6 */ mtctr r12 +/* 80298434 00295394 4E 80 04 21 */ bctrl +/* 80298438 00295398 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029843C 0029539C 81 83 00 00 */ lwz r12, 0(r3) +/* 80298440 002953A0 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80298444 002953A4 7D 89 03 A6 */ mtctr r12 +/* 80298448 002953A8 4E 80 04 21 */ bctrl +lbl_8029844C: +/* 8029844C 002953AC E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 80298450 002953B0 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80298454 002953B4 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 80298458 002953B8 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 8029845C 002953BC 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 80298460 002953C0 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 80298464 002953C4 7C 08 03 A6 */ mtlr r0 +/* 80298468 002953C8 38 21 01 50 */ addi r1, r1, 0x150 +/* 8029846C 002953CC 4E 80 00 20 */ blr + +.global sub_80298470 +sub_80298470: +/* 80298470 002953D0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80298474 002953D4 7C 08 02 A6 */ mflr r0 +/* 80298478 002953D8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029847C 002953DC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80298480 002953E0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80298484 002953E4 7C 7E 1B 78 */ mr r30, r3 +/* 80298488 002953E8 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 8029848C 002953EC 28 00 00 00 */ cmplwi r0, 0 +/* 80298490 002953F0 41 82 00 B4 */ beq lbl_80298544 +/* 80298494 002953F4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80298498 002953F8 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8029849C 002953FC 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 802984A0 00295400 38 61 00 08 */ addi r3, r1, 8 +/* 802984A4 00295404 81 84 00 00 */ lwz r12, 0(r4) +/* 802984A8 00295408 38 A0 00 00 */ li r5, 0 +/* 802984AC 0029540C 83 E6 00 0C */ lwz r31, 0xc(r6) +/* 802984B0 00295410 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802984B4 00295414 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) +/* 802984B8 00295418 C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) +/* 802984BC 0029541C 7D 89 03 A6 */ mtctr r12 +/* 802984C0 00295420 4E 80 04 21 */ bctrl +/* 802984C4 00295424 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 802984C8 00295428 3C 00 43 30 */ lis r0, 0x4330 +/* 802984CC 0029542C 90 61 00 4C */ stw r3, 0x4c(r1) +/* 802984D0 00295430 38 61 00 18 */ addi r3, r1, 0x18 +/* 802984D4 00295434 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 802984D8 00295438 90 01 00 48 */ stw r0, 0x48(r1) +/* 802984DC 0029543C C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2) +/* 802984E0 00295440 FC 40 08 90 */ fmr f2, f1 +/* 802984E4 00295444 C8 61 00 48 */ lfd f3, 0x48(r1) +/* 802984E8 00295448 C0 1E 01 28 */ lfs f0, 0x128(r30) +/* 802984EC 0029544C EC 63 20 28 */ fsubs f3, f3, f4 +/* 802984F0 00295450 EC 63 00 2A */ fadds f3, f3, f0 +/* 802984F4 00295454 48 07 AC 95 */ bl Translate__12CTransform4fFfff +/* 802984F8 00295458 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802984FC 0029545C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80298500 00295460 81 83 00 00 */ lwz r12, 0(r3) +/* 80298504 00295464 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80298508 00295468 7D 89 03 A6 */ mtctr r12 +/* 8029850C 0029546C 4E 80 04 21 */ bctrl +/* 80298510 00295470 38 60 00 00 */ li r3, 0 +/* 80298514 00295474 48 07 35 5D */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80298518 00295478 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029851C 0029547C 38 80 00 00 */ li r4, 0 +/* 80298520 00295480 38 A0 00 00 */ li r5, 0 +/* 80298524 00295484 81 83 00 00 */ lwz r12, 0(r3) +/* 80298528 00295488 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8029852C 0029548C 7D 89 03 A6 */ mtctr r12 +/* 80298530 00295490 4E 80 04 21 */ bctrl +/* 80298534 00295494 80 7E 00 C4 */ lwz r3, 0xc4(r30) +/* 80298538 00295498 48 03 10 0D */ bl Render__15CGuiTextSupportFv +/* 8029853C 0029549C 7F C3 F3 78 */ mr r3, r30 +/* 80298540 002954A0 4B FF FC 85 */ bl sub_802981c4 +lbl_80298544: +/* 80298544 002954A4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80298548 002954A8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8029854C 002954AC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80298550 002954B0 7C 08 03 A6 */ mtlr r0 +/* 80298554 002954B4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80298558 002954B8 4E 80 00 20 */ blr + +.global sub_8029855c +sub_8029855c: +/* 8029855C 002954BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80298560 002954C0 7C 08 02 A6 */ mflr r0 +/* 80298564 002954C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80298568 002954C8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8029856C 002954CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80298570 002954D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80298574 002954D4 7C 7F 1B 78 */ mr r31, r3 +/* 80298578 002954D8 FF E0 08 90 */ fmr f31, f1 +/* 8029857C 002954DC 80 03 00 C8 */ lwz r0, 0xc8(r3) +/* 80298580 002954E0 28 00 00 00 */ cmplwi r0, 0 +/* 80298584 002954E4 41 82 01 1C */ beq lbl_802986A0 +/* 80298588 002954E8 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8029858C 002954EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80298590 002954F0 41 82 01 10 */ beq lbl_802986A0 +/* 80298594 002954F4 80 BF 00 44 */ lwz r5, 0x44(r31) +/* 80298598 002954F8 39 20 00 00 */ li r9, 0 +/* 8029859C 002954FC 81 1F 00 48 */ lwz r8, 0x48(r31) +/* 802985A0 00295500 2C 05 00 00 */ cmpwi r5, 0 +/* 802985A4 00295504 40 81 00 A8 */ ble lbl_8029864C +/* 802985A8 00295508 2C 05 00 08 */ cmpwi r5, 8 +/* 802985AC 0029550C 38 65 FF F8 */ addi r3, r5, -8 +/* 802985B0 00295510 40 81 00 70 */ ble lbl_80298620 +/* 802985B4 00295514 38 03 00 07 */ addi r0, r3, 7 +/* 802985B8 00295518 38 80 00 00 */ li r4, 0 +/* 802985BC 0029551C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802985C0 00295520 7C 09 03 A6 */ mtctr r0 +/* 802985C4 00295524 2C 03 00 00 */ cmpwi r3, 0 +/* 802985C8 00295528 40 81 00 58 */ ble lbl_80298620 +lbl_802985CC: +/* 802985CC 0029552C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 802985D0 00295530 39 29 00 08 */ addi r9, r9, 8 +/* 802985D4 00295534 7C 60 22 14 */ add r3, r0, r4 +/* 802985D8 00295538 38 84 00 A0 */ addi r4, r4, 0xa0 +/* 802985DC 0029553C 80 03 00 08 */ lwz r0, 8(r3) +/* 802985E0 00295540 80 E3 00 1C */ lwz r7, 0x1c(r3) +/* 802985E4 00295544 7D 08 02 14 */ add r8, r8, r0 +/* 802985E8 00295548 80 C3 00 30 */ lwz r6, 0x30(r3) +/* 802985EC 0029554C 7D 08 3A 14 */ add r8, r8, r7 +/* 802985F0 00295550 80 03 00 44 */ lwz r0, 0x44(r3) +/* 802985F4 00295554 7D 08 32 14 */ add r8, r8, r6 +/* 802985F8 00295558 80 C3 00 58 */ lwz r6, 0x58(r3) +/* 802985FC 0029555C 7D 08 02 14 */ add r8, r8, r0 +/* 80298600 00295560 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 80298604 00295564 7D 08 32 14 */ add r8, r8, r6 +/* 80298608 00295568 80 C3 00 80 */ lwz r6, 0x80(r3) +/* 8029860C 0029556C 7D 08 02 14 */ add r8, r8, r0 +/* 80298610 00295570 80 03 00 94 */ lwz r0, 0x94(r3) +/* 80298614 00295574 7D 08 32 14 */ add r8, r8, r6 +/* 80298618 00295578 7D 08 02 14 */ add r8, r8, r0 +/* 8029861C 0029557C 42 00 FF B0 */ bdnz lbl_802985CC +lbl_80298620: +/* 80298620 00295580 7C 09 28 50 */ subf r0, r9, r5 +/* 80298624 00295584 1C 89 00 14 */ mulli r4, r9, 0x14 +/* 80298628 00295588 7C 09 03 A6 */ mtctr r0 +/* 8029862C 0029558C 7C 09 28 00 */ cmpw r9, r5 +/* 80298630 00295590 40 80 00 1C */ bge lbl_8029864C +lbl_80298634: +/* 80298634 00295594 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80298638 00295598 38 04 00 08 */ addi r0, r4, 8 +/* 8029863C 0029559C 38 84 00 14 */ addi r4, r4, 0x14 +/* 80298640 002955A0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80298644 002955A4 7D 08 02 14 */ add r8, r8, r0 +/* 80298648 002955A8 42 00 FF EC */ bdnz lbl_80298634 +lbl_8029864C: +/* 8029864C 002955AC 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 80298650 002955B0 80 BF 00 40 */ lwz r5, 0x40(r31) +/* 80298654 002955B4 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l +/* 80298658 002955B8 38 88 00 01 */ addi r4, r8, 1 +/* 8029865C 002955BC 38 63 00 8D */ addi r3, r3, 0x8d +/* 80298660 002955C0 4C C6 31 82 */ crclr 6 +/* 80298664 002955C4 48 03 DB 4D */ bl Stringize__7CBasicsFPCce +/* 80298668 002955C8 7C 64 1B 78 */ mr r4, r3 +/* 8029866C 002955CC 38 61 00 0C */ addi r3, r1, 0xc +/* 80298670 002955D0 38 C1 00 08 */ addi r6, r1, 8 +/* 80298674 002955D4 38 A0 FF FF */ li r5, -1 +/* 80298678 002955D8 48 0A 5B 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8029867C 002955DC 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 80298680 002955E0 38 81 00 0C */ addi r4, r1, 0xc +/* 80298684 002955E4 38 A0 00 00 */ li r5, 0 +/* 80298688 002955E8 48 03 14 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029868C 002955EC FC 20 F8 90 */ fmr f1, f31 +/* 80298690 002955F0 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 80298694 002955F4 48 02 FA E5 */ bl Update__15CGuiTextSupportFf +/* 80298698 002955F8 38 61 00 0C */ addi r3, r1, 0xc +/* 8029869C 002955FC 48 0A 54 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802986A0: +/* 802986A0 00295600 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 802986A4 00295604 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 802986A8 00295608 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 802986AC 0029560C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802986B0 00295610 40 82 00 14 */ bne lbl_802986C4 +/* 802986B4 00295614 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 802986B8 00295618 38 60 00 00 */ li r3, 0 +/* 802986BC 0029561C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802986C0 00295620 98 1F 01 35 */ stb r0, 0x135(r31) +lbl_802986C4: +/* 802986C4 00295624 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802986C8 00295628 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802986CC 0029562C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802986D0 00295630 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802986D4 00295634 7C 08 03 A6 */ mtlr r0 +/* 802986D8 00295638 38 21 00 40 */ addi r1, r1, 0x40 +/* 802986DC 0029563C 4E 80 00 20 */ blr + +.global sub_802986e0 +sub_802986e0: +/* 802986E0 00295640 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802986E4 00295644 7C 08 02 A6 */ mflr r0 +/* 802986E8 00295648 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802986EC 0029564C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802986F0 00295650 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802986F4 00295654 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 802986F8 00295658 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 802986FC 0029565C DB A1 00 80 */ stfd f29, 0x80(r1) +/* 80298700 00295660 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 80298704 00295664 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80298708 00295668 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8029870C 0029566C 7C 7F 1B 78 */ mr r31, r3 +/* 80298710 00295670 80 03 00 C8 */ lwz r0, 0xc8(r3) +/* 80298714 00295674 28 00 00 00 */ cmplwi r0, 0 +/* 80298718 00295678 41 82 01 AC */ beq lbl_802988C4 +/* 8029871C 0029567C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 80298720 00295680 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80298724 00295684 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l +/* 80298728 00295688 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8029872C 0029568C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80298730 00295690 38 81 00 14 */ addi r4, r1, 0x14 +/* 80298734 00295694 83 C5 00 0C */ lwz r30, 0xc(r5) +/* 80298738 00295698 38 6D 99 FC */ addi r3, r13, lbl_805A85BC@sda21 +/* 8029873C 0029569C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80298740 002956A0 38 AD 9A 00 */ addi r5, r13, lbl_805A85C0@sda21 +/* 80298744 002956A4 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80298748 002956A8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8029874C 002956AC 4B D7 3B 69 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298750 002956B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80298754 002956B4 38 A0 00 00 */ li r5, 0 +/* 80298758 002956B8 C3 A3 00 00 */ lfs f29, 0(r3) +/* 8029875C 002956BC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80298760 002956C0 81 84 00 00 */ lwz r12, 0(r4) +/* 80298764 002956C4 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) +/* 80298768 002956C8 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 8029876C 002956CC C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) +/* 80298770 002956D0 7D 89 03 A6 */ mtctr r12 +/* 80298774 002956D4 4E 80 04 21 */ bctrl +/* 80298778 002956D8 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 8029877C 002956DC 3C 00 43 30 */ lis r0, 0x4330 +/* 80298780 002956E0 90 61 00 6C */ stw r3, 0x6c(r1) +/* 80298784 002956E4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80298788 002956E8 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) +/* 8029878C 002956EC 90 01 00 68 */ stw r0, 0x68(r1) +/* 80298790 002956F0 C0 1F 01 2C */ lfs f0, 0x12c(r31) +/* 80298794 002956F4 C8 41 00 68 */ lfd f2, 0x68(r1) +/* 80298798 002956F8 C0 22 C0 1C */ lfs f1, lbl_805ADD3C@sda21(r2) +/* 8029879C 002956FC EC 62 18 28 */ fsubs f3, f2, f3 +/* 802987A0 00295700 C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2) +/* 802987A4 00295704 EC 63 00 2A */ fadds f3, f3, f0 +/* 802987A8 00295708 48 07 A9 E1 */ bl Translate__12CTransform4fFfff +/* 802987AC 0029570C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802987B0 00295710 38 81 00 34 */ addi r4, r1, 0x34 +/* 802987B4 00295714 81 83 00 00 */ lwz r12, 0(r3) +/* 802987B8 00295718 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802987BC 0029571C 7D 89 03 A6 */ mtctr r12 +/* 802987C0 00295720 4E 80 04 21 */ bctrl +/* 802987C4 00295724 38 60 00 00 */ li r3, 0 +/* 802987C8 00295728 48 07 32 A9 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802987CC 0029572C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802987D0 00295730 38 80 00 00 */ li r4, 0 +/* 802987D4 00295734 38 A0 00 00 */ li r5, 0 +/* 802987D8 00295738 81 83 00 00 */ lwz r12, 0(r3) +/* 802987DC 0029573C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 802987E0 00295740 7D 89 03 A6 */ mtctr r12 +/* 802987E4 00295744 4E 80 04 21 */ bctrl +/* 802987E8 00295748 83 DF 00 C8 */ lwz r30, 0xc8(r31) +/* 802987EC 0029574C 48 0B 17 C1 */ bl White__6CColorFv +/* 802987F0 00295750 88 83 00 03 */ lbz r4, 3(r3) +/* 802987F4 00295754 3C 00 43 30 */ lis r0, 0x4330 +/* 802987F8 00295758 90 01 00 70 */ stw r0, 0x70(r1) +/* 802987FC 0029575C C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2) +/* 80298800 00295760 90 81 00 74 */ stw r4, 0x74(r1) +/* 80298804 00295764 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80298808 00295768 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8029880C 0029576C EF FD 00 32 */ fmuls f31, f29, f0 +/* 80298810 00295770 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 80298814 00295774 38 81 00 10 */ addi r4, r1, 0x10 +/* 80298818 00295778 80 A3 00 00 */ lwz r5, 0(r3) +/* 8029881C 0029577C 7F C3 F3 78 */ mr r3, r30 +/* 80298820 00295780 88 01 00 09 */ lbz r0, 9(r1) +/* 80298824 00295784 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 80298828 00295788 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029882C 0029578C 48 03 0D E1 */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor +/* 80298830 00295790 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 80298834 00295794 48 03 0D 11 */ bl Render__15CGuiTextSupportFv +/* 80298838 00295798 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8029883C 0029579C 80 7F 00 DC */ lwz r3, 0xdc(r31) +/* 80298840 002957A0 54 00 18 38 */ slwi r0, r0, 3 +/* 80298844 002957A4 7C 63 02 14 */ add r3, r3, r0 +/* 80298848 002957A8 80 03 00 04 */ lwz r0, 4(r3) +/* 8029884C 002957AC 28 00 00 00 */ cmplwi r0, 0 +/* 80298850 002957B0 41 82 00 74 */ beq lbl_802988C4 +/* 80298854 002957B4 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 80298858 002957B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029885C 002957BC 41 82 00 68 */ beq lbl_802988C4 +/* 80298860 002957C0 C0 5F 01 2C */ lfs f2, 0x12c(r31) +/* 80298864 002957C4 3C 00 43 30 */ lis r0, 0x4330 +/* 80298868 002957C8 C0 22 C0 0C */ lfs f1, lbl_805ADD2C@sda21(r2) +/* 8029886C 002957CC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80298870 002957D0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80298874 002957D4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 80298878 002957D8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8029887C 002957DC C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2) +/* 80298880 002957E0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80298884 002957E4 88 85 00 27 */ lbz r4, 0x27(r5) +/* 80298888 002957E8 90 01 00 70 */ stw r0, 0x70(r1) +/* 8029888C 002957EC 90 81 00 74 */ stw r4, 0x74(r1) +/* 80298890 002957F0 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80298894 002957F4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80298898 002957F8 EF DD 00 32 */ fmuls f30, f29, f0 +/* 8029889C 002957FC F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 802988A0 00295800 38 81 00 18 */ addi r4, r1, 0x18 +/* 802988A4 00295804 81 05 00 24 */ lwz r8, 0x24(r5) +/* 802988A8 00295808 38 A1 00 0C */ addi r5, r1, 0xc +/* 802988AC 0029580C 88 01 00 08 */ lbz r0, 8(r1) +/* 802988B0 00295810 38 C0 00 00 */ li r6, 0 +/* 802988B4 00295814 51 00 00 2E */ rlwimi r0, r8, 0, 0, 0x17 +/* 802988B8 00295818 38 E0 00 00 */ li r7, 0 +/* 802988BC 0029581C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802988C0 00295820 48 00 34 65 */ bl sub_8029bd24 +lbl_802988C4: +/* 802988C4 00295824 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802988C8 00295828 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802988CC 0029582C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 802988D0 00295830 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 802988D4 00295834 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 802988D8 00295838 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 802988DC 0029583C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802988E0 00295840 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802988E4 00295844 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802988E8 00295848 7C 08 03 A6 */ mtlr r0 +/* 802988EC 0029584C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802988F0 00295850 4E 80 00 20 */ blr + +.global sub_802988f4 +sub_802988f4: +/* 802988F4 00295854 80 04 00 04 */ lwz r0, 4(r4) +/* 802988F8 00295858 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802988FC 0029585C 54 00 18 38 */ slwi r0, r0, 3 +/* 80298900 00295860 7C 85 02 14 */ add r4, r5, r0 +/* 80298904 00295864 48 00 00 20 */ b lbl_80298924 +lbl_80298908: +/* 80298908 00295868 80 65 00 00 */ lwz r3, 0(r5) +/* 8029890C 0029586C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80298910 00295870 28 00 00 00 */ cmplwi r0, 0 +/* 80298914 00295874 40 82 00 0C */ bne lbl_80298920 +/* 80298918 00295878 38 60 00 00 */ li r3, 0 +/* 8029891C 0029587C 4E 80 00 20 */ blr +lbl_80298920: +/* 80298920 00295880 38 A5 00 08 */ addi r5, r5, 8 +lbl_80298924: +/* 80298924 00295884 7C 05 20 40 */ cmplw r5, r4 +/* 80298928 00295888 40 82 FF E0 */ bne lbl_80298908 +/* 8029892C 0029588C 38 60 00 01 */ li r3, 1 +/* 80298930 00295890 4E 80 00 20 */ blr + +.global sub_80298934 +sub_80298934: +/* 80298934 00295894 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80298938 00295898 7C 08 02 A6 */ mflr r0 +/* 8029893C 0029589C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80298940 002958A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298944 002958A4 54 BF 06 3E */ clrlwi r31, r5, 0x18 +/* 80298948 002958A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029894C 002958AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80298950 002958B0 7C 9D 23 78 */ mr r29, r4 +/* 80298954 002958B4 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 80298958 002958B8 48 00 00 24 */ b lbl_8029897C +lbl_8029895C: +/* 8029895C 002958BC 28 1F 00 00 */ cmplwi r31, 0 +/* 80298960 002958C0 41 82 00 10 */ beq lbl_80298970 +/* 80298964 002958C4 7F C3 F3 78 */ mr r3, r30 +/* 80298968 002958C8 48 0A 84 1D */ bl Lock__6CTokenFv +/* 8029896C 002958CC 48 00 00 0C */ b lbl_80298978 +lbl_80298970: +/* 80298970 002958D0 7F C3 F3 78 */ mr r3, r30 +/* 80298974 002958D4 48 0A 83 CD */ bl Unlock__6CTokenFv +lbl_80298978: +/* 80298978 002958D8 3B DE 00 08 */ addi r30, r30, 8 +lbl_8029897C: +/* 8029897C 002958DC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80298980 002958E0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80298984 002958E4 54 00 18 38 */ slwi r0, r0, 3 +/* 80298988 002958E8 7C 03 02 14 */ add r0, r3, r0 +/* 8029898C 002958EC 7C 1E 00 40 */ cmplw r30, r0 +/* 80298990 002958F0 40 82 FF CC */ bne lbl_8029895C +/* 80298994 002958F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298998 002958F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029899C 002958FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802989A0 00295900 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802989A4 00295904 7C 08 03 A6 */ mtlr r0 +/* 802989A8 00295908 38 21 00 20 */ addi r1, r1, 0x20 +/* 802989AC 0029590C 4E 80 00 20 */ blr + +.global sub_802989b0 +sub_802989b0: +/* 802989B0 00295910 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802989B4 00295914 7C 08 02 A6 */ mflr r0 +/* 802989B8 00295918 90 01 00 24 */ stw r0, 0x24(r1) +/* 802989BC 0029591C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802989C0 00295920 54 BF 06 3E */ clrlwi r31, r5, 0x18 +/* 802989C4 00295924 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802989C8 00295928 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802989CC 0029592C 7C 9D 23 78 */ mr r29, r4 +/* 802989D0 00295930 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 802989D4 00295934 48 00 00 24 */ b lbl_802989F8 +lbl_802989D8: +/* 802989D8 00295938 28 1F 00 00 */ cmplwi r31, 0 +/* 802989DC 0029593C 41 82 00 10 */ beq lbl_802989EC +/* 802989E0 00295940 7F C3 F3 78 */ mr r3, r30 +/* 802989E4 00295944 48 0A 83 A1 */ bl Lock__6CTokenFv +/* 802989E8 00295948 48 00 00 0C */ b lbl_802989F4 +lbl_802989EC: +/* 802989EC 0029594C 7F C3 F3 78 */ mr r3, r30 +/* 802989F0 00295950 48 0A 83 51 */ bl Unlock__6CTokenFv +lbl_802989F4: +/* 802989F4 00295954 3B DE 00 08 */ addi r30, r30, 8 +lbl_802989F8: +/* 802989F8 00295958 80 1D 00 04 */ lwz r0, 4(r29) +/* 802989FC 0029595C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80298A00 00295960 54 00 18 38 */ slwi r0, r0, 3 +/* 80298A04 00295964 7C 03 02 14 */ add r0, r3, r0 +/* 80298A08 00295968 7C 1E 00 40 */ cmplw r30, r0 +/* 80298A0C 0029596C 40 82 FF CC */ bne lbl_802989D8 +/* 80298A10 00295970 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298A14 00295974 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298A18 00295978 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80298A1C 0029597C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80298A20 00295980 7C 08 03 A6 */ mtlr r0 +/* 80298A24 00295984 38 21 00 20 */ addi r1, r1, 0x20 +/* 80298A28 00295988 4E 80 00 20 */ blr + +.global sub_80298a2c +sub_80298a2c: +/* 80298A2C 0029598C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80298A30 00295990 7C 08 02 A6 */ mflr r0 +/* 80298A34 00295994 90 01 00 34 */ stw r0, 0x34(r1) +/* 80298A38 00295998 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80298A3C 0029599C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80298A40 002959A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298A44 002959A4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 80298A48 002959A8 7C 7F 1B 78 */ mr r31, r3 +/* 80298A4C 002959AC 38 81 00 0C */ addi r4, r1, 0xc +/* 80298A50 002959B0 38 6D 99 F4 */ addi r3, r13, lbl_805A85B4@sda21 +/* 80298A54 002959B4 C0 05 00 58 */ lfs f0, 0x58(r5) +/* 80298A58 002959B8 38 AD 99 F8 */ addi r5, r13, lbl_805A85B8@sda21 +/* 80298A5C 002959BC EC 01 00 24 */ fdivs f0, f1, f0 +/* 80298A60 002959C0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80298A64 002959C4 4B D7 38 51 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298A68 002959C8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80298A6C 002959CC 3C 00 43 30 */ lis r0, 0x4330 +/* 80298A70 002959D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80298A74 002959D4 80 04 01 D8 */ lwz r0, 0x1d8(r4) +/* 80298A78 002959D8 C0 43 00 00 */ lfs f2, 0(r3) +/* 80298A7C 002959DC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80298A80 002959E0 C0 02 C0 28 */ lfs f0, lbl_805ADD48@sda21(r2) +/* 80298A84 002959E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80298A88 002959E8 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 80298A8C 002959EC C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80298A90 002959F0 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80298A94 002959F4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80298A98 002959F8 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80298A9C 002959FC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80298AA0 00295A00 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 80298AA4 00295A04 88 81 00 08 */ lbz r4, 8(r1) +/* 80298AA8 00295A08 48 0D 31 8D */ bl SetVolume__18CStaticAudioPlayerFc +/* 80298AAC 00295A0C 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 80298AB0 00295A10 48 0D 35 81 */ bl StartMixOut__18CStaticAudioPlayerFv +/* 80298AB4 00295A14 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80298AB8 00295A18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80298ABC 00295A1C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80298AC0 00295A20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298AC4 00295A24 7C 08 03 A6 */ mtlr r0 +/* 80298AC8 00295A28 38 21 00 30 */ addi r1, r1, 0x30 +/* 80298ACC 00295A2C 4E 80 00 20 */ blr + +.global sub_80298ad0 +sub_80298ad0: +/* 80298AD0 00295A30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80298AD4 00295A34 7C 08 02 A6 */ mflr r0 +/* 80298AD8 00295A38 90 01 00 24 */ stw r0, 0x24(r1) +/* 80298ADC 00295A3C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80298AE0 00295A40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298AE4 00295A44 7C 7F 1B 78 */ mr r31, r3 +/* 80298AE8 00295A48 41 82 00 40 */ beq lbl_80298B28 +/* 80298AEC 00295A4C 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80298AF0 00295A50 28 00 00 00 */ cmplwi r0, 0 +/* 80298AF4 00295A54 40 82 00 4C */ bne lbl_80298B40 +/* 80298AF8 00295A58 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80298AFC 00295A5C 38 61 00 0C */ addi r3, r1, 0xc +/* 80298B00 00295A60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80298B04 00295A64 38 80 05 AF */ li r4, 0x5af +/* 80298B08 00295A68 38 A0 00 7F */ li r5, 0x7f +/* 80298B0C 00295A6C 38 C0 00 40 */ li r6, 0x40 +/* 80298B10 00295A70 38 E0 00 00 */ li r7, 0 +/* 80298B14 00295A74 39 20 00 01 */ li r9, 1 +/* 80298B18 00295A78 48 05 12 5D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80298B1C 00295A7C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80298B20 00295A80 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80298B24 00295A84 48 00 00 1C */ b lbl_80298B40 +lbl_80298B28: +/* 80298B28 00295A88 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80298B2C 00295A8C 38 61 00 08 */ addi r3, r1, 8 +/* 80298B30 00295A90 90 01 00 08 */ stw r0, 8(r1) +/* 80298B34 00295A94 48 05 12 15 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80298B38 00295A98 38 00 00 00 */ li r0, 0 +/* 80298B3C 00295A9C 90 1F 00 E4 */ stw r0, 0xe4(r31) +lbl_80298B40: +/* 80298B40 00295AA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298B44 00295AA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298B48 00295AA8 7C 08 03 A6 */ mtlr r0 +/* 80298B4C 00295AAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80298B50 00295AB0 4E 80 00 20 */ blr + +.global sub_80298b54 +sub_80298b54: +/* 80298B54 00295AB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80298B58 00295AB8 7C 08 02 A6 */ mflr r0 +/* 80298B5C 00295ABC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80298B60 00295AC0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80298B64 00295AC4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298B68 00295AC8 7C 7F 1B 78 */ mr r31, r3 +/* 80298B6C 00295ACC 41 82 00 40 */ beq lbl_80298BAC +/* 80298B70 00295AD0 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 80298B74 00295AD4 28 00 00 00 */ cmplwi r0, 0 +/* 80298B78 00295AD8 40 82 00 4C */ bne lbl_80298BC4 +/* 80298B7C 00295ADC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80298B80 00295AE0 38 61 00 0C */ addi r3, r1, 0xc +/* 80298B84 00295AE4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80298B88 00295AE8 38 80 05 AE */ li r4, 0x5ae +/* 80298B8C 00295AEC 38 A0 00 7F */ li r5, 0x7f +/* 80298B90 00295AF0 38 C0 00 40 */ li r6, 0x40 +/* 80298B94 00295AF4 38 E0 00 00 */ li r7, 0 +/* 80298B98 00295AF8 39 20 00 01 */ li r9, 1 +/* 80298B9C 00295AFC 48 05 11 D9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80298BA0 00295B00 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80298BA4 00295B04 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 80298BA8 00295B08 48 00 00 1C */ b lbl_80298BC4 +lbl_80298BAC: +/* 80298BAC 00295B0C 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 80298BB0 00295B10 38 61 00 08 */ addi r3, r1, 8 +/* 80298BB4 00295B14 90 01 00 08 */ stw r0, 8(r1) +/* 80298BB8 00295B18 48 05 11 91 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80298BBC 00295B1C 38 00 00 00 */ li r0, 0 +/* 80298BC0 00295B20 90 1F 00 E0 */ stw r0, 0xe0(r31) +lbl_80298BC4: +/* 80298BC4 00295B24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298BC8 00295B28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298BCC 00295B2C 7C 08 03 A6 */ mtlr r0 +/* 80298BD0 00295B30 38 21 00 20 */ addi r1, r1, 0x20 +/* 80298BD4 00295B34 4E 80 00 20 */ blr + +.global sub_80298bd8 +sub_80298bd8: +/* 80298BD8 00295B38 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 80298BDC 00295B3C 7C 08 02 A6 */ mflr r0 +/* 80298BE0 00295B40 90 01 02 34 */ stw r0, 0x234(r1) +/* 80298BE4 00295B44 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 80298BE8 00295B48 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 80298BEC 00295B4C DB C1 02 10 */ stfd f30, 0x210(r1) +/* 80298BF0 00295B50 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 80298BF4 00295B54 DB A1 02 00 */ stfd f29, 0x200(r1) +/* 80298BF8 00295B58 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 80298BFC 00295B5C 93 E1 01 FC */ stw r31, 0x1fc(r1) +/* 80298C00 00295B60 93 C1 01 F8 */ stw r30, 0x1f8(r1) +/* 80298C04 00295B64 7C 7F 1B 78 */ mr r31, r3 +/* 80298C08 00295B68 7C 9E 23 78 */ mr r30, r4 +/* 80298C0C 00295B6C 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 80298C10 00295B70 28 00 00 00 */ cmplwi r0, 0 +/* 80298C14 00295B74 41 82 06 10 */ beq lbl_80299224 +/* 80298C18 00295B78 38 60 00 2D */ li r3, 0x2d +/* 80298C1C 00295B7C 4B D7 3C FD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C20 00295B80 FF E0 08 90 */ fmr f31, f1 +/* 80298C24 00295B84 7F C4 F3 78 */ mr r4, r30 +/* 80298C28 00295B88 38 60 00 2C */ li r3, 0x2c +/* 80298C2C 00295B8C 4B D7 3C ED */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C30 00295B90 FF C0 08 90 */ fmr f30, f1 +/* 80298C34 00295B94 7F C4 F3 78 */ mr r4, r30 +/* 80298C38 00295B98 38 60 00 2B */ li r3, 0x2b +/* 80298C3C 00295B9C 4B D7 3C DD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C40 00295BA0 FF A0 08 90 */ fmr f29, f1 +/* 80298C44 00295BA4 7F C4 F3 78 */ mr r4, r30 +/* 80298C48 00295BA8 38 60 00 2A */ li r3, 0x2a +/* 80298C4C 00295BAC 4B D7 3C CD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C50 00295BB0 FC 40 E8 90 */ fmr f2, f29 +/* 80298C54 00295BB4 FC 60 F0 90 */ fmr f3, f30 +/* 80298C58 00295BB8 FC 80 F8 90 */ fmr f4, f31 +/* 80298C5C 00295BBC 48 00 33 31 */ bl sub_8029bf8c +/* 80298C60 00295BC0 90 7F 00 EC */ stw r3, 0xec(r31) +/* 80298C64 00295BC4 7F C4 F3 78 */ mr r4, r30 +/* 80298C68 00295BC8 38 60 00 29 */ li r3, 0x29 +/* 80298C6C 00295BCC 4B D7 3C AD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C70 00295BD0 FF A0 08 90 */ fmr f29, f1 +/* 80298C74 00295BD4 7F C4 F3 78 */ mr r4, r30 +/* 80298C78 00295BD8 38 60 00 28 */ li r3, 0x28 +/* 80298C7C 00295BDC 4B D7 3C 9D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C80 00295BE0 FF C0 08 90 */ fmr f30, f1 +/* 80298C84 00295BE4 7F C4 F3 78 */ mr r4, r30 +/* 80298C88 00295BE8 38 60 00 26 */ li r3, 0x26 +/* 80298C8C 00295BEC 4B D7 3C 8D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C90 00295BF0 FF E0 08 90 */ fmr f31, f1 +/* 80298C94 00295BF4 7F C4 F3 78 */ mr r4, r30 +/* 80298C98 00295BF8 38 60 00 27 */ li r3, 0x27 +/* 80298C9C 00295BFC 4B D7 3C 7D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298CA0 00295C00 FC 40 F8 90 */ fmr f2, f31 +/* 80298CA4 00295C04 FC 60 F0 90 */ fmr f3, f30 +/* 80298CA8 00295C08 FC 80 E8 90 */ fmr f4, f29 +/* 80298CAC 00295C0C 48 00 32 E1 */ bl sub_8029bf8c +/* 80298CB0 00295C10 90 7F 00 E8 */ stw r3, 0xe8(r31) +/* 80298CB4 00295C14 7F C4 F3 78 */ mr r4, r30 +/* 80298CB8 00295C18 38 60 00 2E */ li r3, 0x2e +/* 80298CBC 00295C1C 4B D7 3C 5D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298CC0 00295C20 FF E0 08 90 */ fmr f31, f1 +/* 80298CC4 00295C24 7F C4 F3 78 */ mr r4, r30 +/* 80298CC8 00295C28 38 60 00 2F */ li r3, 0x2f +/* 80298CCC 00295C2C 4B D7 3C 4D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298CD0 00295C30 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80298CD4 00295C34 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80298CD8 00295C38 40 81 00 0C */ ble lbl_80298CE4 +/* 80298CDC 00295C3C 38 00 00 01 */ li r0, 1 +/* 80298CE0 00295C40 48 00 00 08 */ b lbl_80298CE8 +lbl_80298CE4: +/* 80298CE4 00295C44 38 00 00 00 */ li r0, 0 +lbl_80298CE8: +/* 80298CE8 00295C48 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80298CEC 00295C4C 90 1F 00 F4 */ stw r0, 0xf4(r31) +/* 80298CF0 00295C50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80298CF4 00295C54 40 81 00 0C */ ble lbl_80298D00 +/* 80298CF8 00295C58 38 00 00 01 */ li r0, 1 +/* 80298CFC 00295C5C 48 00 00 08 */ b lbl_80298D04 +lbl_80298D00: +/* 80298D00 00295C60 38 00 00 00 */ li r0, 0 +lbl_80298D04: +/* 80298D04 00295C64 90 1F 00 F0 */ stw r0, 0xf0(r31) +/* 80298D08 00295C68 38 00 00 00 */ li r0, 0 +/* 80298D0C 00295C6C 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 +/* 80298D10 00295C70 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298D14 00295C74 90 81 01 E0 */ stw r4, 0x1e0(r1) +/* 80298D18 00295C78 38 80 01 00 */ li r4, 0x100 +/* 80298D1C 00295C7C 83 CD A0 74 */ lwz r30, gpStringTable@sda21(r13) +/* 80298D20 00295C80 38 A0 00 01 */ li r5, 1 +/* 80298D24 00295C84 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80298D28 00295C88 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 80298D2C 00295C8C 48 0A 42 49 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 80298D30 00295C90 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 80298D34 00295C94 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298D38 00295C98 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298D3C 00295C9C 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298D40 00295CA0 54 00 10 3A */ slwi r0, r0, 2 +/* 80298D44 00295CA4 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298D48 00295CA8 7C A3 02 14 */ add r5, r3, r0 +/* 80298D4C 00295CAC 38 66 00 93 */ addi r3, r6, 0x93 +/* 80298D50 00295CB0 80 A5 00 24 */ lwz r5, 0x24(r5) +/* 80298D54 00295CB4 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298D58 00295CB8 4C C6 31 82 */ crclr 6 +/* 80298D5C 00295CBC 48 03 D4 55 */ bl Stringize__7CBasicsFPCce +/* 80298D60 00295CC0 7C 64 1B 78 */ mr r4, r3 +/* 80298D64 00295CC4 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80298D68 00295CC8 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80298D6C 00295CCC 38 A0 FF FF */ li r5, -1 +/* 80298D70 00295CD0 48 0A 54 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298D74 00295CD4 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 80298D78 00295CD8 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 80298D7C 00295CDC 48 0A 59 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298D80 00295CE0 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298D84 00295CE4 38 81 01 C0 */ addi r4, r1, 0x1c0 +/* 80298D88 00295CE8 48 0A 48 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298D8C 00295CEC 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 80298D90 00295CF0 48 0A 43 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298D94 00295CF4 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80298D98 00295CF8 48 0A 4D 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298D9C 00295CFC 7F C3 F3 78 */ mr r3, r30 +/* 80298DA0 00295D00 38 80 00 38 */ li r4, 0x38 +/* 80298DA4 00295D04 48 0B D9 59 */ bl GetString__12CStringTableCFi +/* 80298DA8 00295D08 7C 64 1B 78 */ mr r4, r3 +/* 80298DAC 00295D0C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298DB0 00295D10 38 A0 FF FF */ li r5, -1 +/* 80298DB4 00295D14 48 0A 47 31 */ bl sub_8033d4e4 +/* 80298DB8 00295D18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298DBC 00295D1C 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80298DC0 00295D20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298DC4 00295D24 38 84 00 A8 */ addi r4, r4, 0xa8 +/* 80298DC8 00295D28 4B D6 BE F1 */ bl string_l__4rstlFPCc +/* 80298DCC 00295D2C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80298DD0 00295D30 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 80298DD4 00295D34 48 0A 59 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298DD8 00295D38 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298DDC 00295D3C 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80298DE0 00295D40 48 0A 48 6D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298DE4 00295D44 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80298DE8 00295D48 48 0A 43 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298DEC 00295D4C 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80298DF0 00295D50 48 0A 4C F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298DF4 00295D54 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80298DF8 00295D58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298DFC 00295D5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298E00 00295D60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298E04 00295D64 54 00 10 3A */ slwi r0, r0, 2 +/* 80298E08 00295D68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298E0C 00295D6C 7C A3 02 14 */ add r5, r3, r0 +/* 80298E10 00295D70 38 66 00 AC */ addi r3, r6, 0xac +/* 80298E14 00295D74 80 A5 00 74 */ lwz r5, 0x74(r5) +/* 80298E18 00295D78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298E1C 00295D7C 4C C6 31 82 */ crclr 6 +/* 80298E20 00295D80 48 03 D3 91 */ bl Stringize__7CBasicsFPCce +/* 80298E24 00295D84 7C 64 1B 78 */ mr r4, r3 +/* 80298E28 00295D88 38 61 01 90 */ addi r3, r1, 0x190 +/* 80298E2C 00295D8C 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80298E30 00295D90 38 A0 FF FF */ li r5, -1 +/* 80298E34 00295D94 48 0A 53 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298E38 00295D98 38 61 01 80 */ addi r3, r1, 0x180 +/* 80298E3C 00295D9C 38 81 01 90 */ addi r4, r1, 0x190 +/* 80298E40 00295DA0 48 0A 58 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E44 00295DA4 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298E48 00295DA8 38 81 01 80 */ addi r4, r1, 0x180 +/* 80298E4C 00295DAC 48 0A 48 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E50 00295DB0 38 61 01 80 */ addi r3, r1, 0x180 +/* 80298E54 00295DB4 48 0A 42 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E58 00295DB8 38 61 01 90 */ addi r3, r1, 0x190 +/* 80298E5C 00295DBC 48 0A 4C 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E60 00295DC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298E64 00295DC4 38 61 01 70 */ addi r3, r1, 0x170 +/* 80298E68 00295DC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298E6C 00295DCC 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 80298E70 00295DD0 4B D6 BE 49 */ bl string_l__4rstlFPCc +/* 80298E74 00295DD4 38 61 01 60 */ addi r3, r1, 0x160 +/* 80298E78 00295DD8 38 81 01 70 */ addi r4, r1, 0x170 +/* 80298E7C 00295DDC 48 0A 58 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E80 00295DE0 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298E84 00295DE4 38 81 01 60 */ addi r4, r1, 0x160 +/* 80298E88 00295DE8 48 0A 47 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E8C 00295DEC 38 61 01 60 */ addi r3, r1, 0x160 +/* 80298E90 00295DF0 48 0A 42 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E94 00295DF4 38 61 01 70 */ addi r3, r1, 0x170 +/* 80298E98 00295DF8 48 0A 4C 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E9C 00295DFC 7F C3 F3 78 */ mr r3, r30 +/* 80298EA0 00295E00 38 80 00 3A */ li r4, 0x3a +/* 80298EA4 00295E04 48 0B D8 59 */ bl GetString__12CStringTableCFi +/* 80298EA8 00295E08 7C 64 1B 78 */ mr r4, r3 +/* 80298EAC 00295E0C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298EB0 00295E10 38 A0 FF FF */ li r5, -1 +/* 80298EB4 00295E14 48 0A 46 31 */ bl sub_8033d4e4 +/* 80298EB8 00295E18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298EBC 00295E1C 38 61 01 50 */ addi r3, r1, 0x150 +/* 80298EC0 00295E20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298EC4 00295E24 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 80298EC8 00295E28 4B D6 BD F1 */ bl string_l__4rstlFPCc +/* 80298ECC 00295E2C 38 61 01 40 */ addi r3, r1, 0x140 +/* 80298ED0 00295E30 38 81 01 50 */ addi r4, r1, 0x150 +/* 80298ED4 00295E34 48 0A 58 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298ED8 00295E38 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298EDC 00295E3C 38 81 01 40 */ addi r4, r1, 0x140 +/* 80298EE0 00295E40 48 0A 47 6D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298EE4 00295E44 38 61 01 40 */ addi r3, r1, 0x140 +/* 80298EE8 00295E48 48 0A 42 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298EEC 00295E4C 38 61 01 50 */ addi r3, r1, 0x150 +/* 80298EF0 00295E50 48 0A 4B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298EF4 00295E54 80 1F 00 F4 */ lwz r0, 0xf4(r31) +/* 80298EF8 00295E58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298EFC 00295E5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298F00 00295E60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298F04 00295E64 54 00 10 3A */ slwi r0, r0, 2 +/* 80298F08 00295E68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298F0C 00295E6C 7C A3 02 14 */ add r5, r3, r0 +/* 80298F10 00295E70 38 66 00 AC */ addi r3, r6, 0xac +/* 80298F14 00295E74 80 A5 00 80 */ lwz r5, 0x80(r5) +/* 80298F18 00295E78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298F1C 00295E7C 4C C6 31 82 */ crclr 6 +/* 80298F20 00295E80 48 03 D2 91 */ bl Stringize__7CBasicsFPCce +/* 80298F24 00295E84 7C 64 1B 78 */ mr r4, r3 +/* 80298F28 00295E88 38 61 01 30 */ addi r3, r1, 0x130 +/* 80298F2C 00295E8C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80298F30 00295E90 38 A0 FF FF */ li r5, -1 +/* 80298F34 00295E94 48 0A 52 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298F38 00295E98 38 61 01 20 */ addi r3, r1, 0x120 +/* 80298F3C 00295E9C 38 81 01 30 */ addi r4, r1, 0x130 +/* 80298F40 00295EA0 48 0A 57 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F44 00295EA4 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298F48 00295EA8 38 81 01 20 */ addi r4, r1, 0x120 +/* 80298F4C 00295EAC 48 0A 47 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F50 00295EB0 38 61 01 20 */ addi r3, r1, 0x120 +/* 80298F54 00295EB4 48 0A 41 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F58 00295EB8 38 61 01 30 */ addi r3, r1, 0x130 +/* 80298F5C 00295EBC 48 0A 4B 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F60 00295EC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298F64 00295EC4 38 61 01 10 */ addi r3, r1, 0x110 +/* 80298F68 00295EC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298F6C 00295ECC 38 84 00 B8 */ addi r4, r4, 0xb8 +/* 80298F70 00295ED0 4B D6 BD 49 */ bl string_l__4rstlFPCc +/* 80298F74 00295ED4 38 61 01 00 */ addi r3, r1, 0x100 +/* 80298F78 00295ED8 38 81 01 10 */ addi r4, r1, 0x110 +/* 80298F7C 00295EDC 48 0A 57 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F80 00295EE0 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298F84 00295EE4 38 81 01 00 */ addi r4, r1, 0x100 +/* 80298F88 00295EE8 48 0A 46 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F8C 00295EEC 38 61 01 00 */ addi r3, r1, 0x100 +/* 80298F90 00295EF0 48 0A 41 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F94 00295EF4 38 61 01 10 */ addi r3, r1, 0x110 +/* 80298F98 00295EF8 48 0A 4B 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F9C 00295EFC 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 80298FA0 00295F00 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298FA4 00295F04 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298FA8 00295F08 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298FAC 00295F0C 54 00 10 3A */ slwi r0, r0, 2 +/* 80298FB0 00295F10 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298FB4 00295F14 7C A3 02 14 */ add r5, r3, r0 +/* 80298FB8 00295F18 38 66 00 93 */ addi r3, r6, 0x93 +/* 80298FBC 00295F1C 80 A5 00 4C */ lwz r5, 0x4c(r5) +/* 80298FC0 00295F20 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298FC4 00295F24 4C C6 31 82 */ crclr 6 +/* 80298FC8 00295F28 48 03 D1 E9 */ bl Stringize__7CBasicsFPCce +/* 80298FCC 00295F2C 7C 64 1B 78 */ mr r4, r3 +/* 80298FD0 00295F30 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80298FD4 00295F34 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80298FD8 00295F38 38 A0 FF FF */ li r5, -1 +/* 80298FDC 00295F3C 48 0A 51 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298FE0 00295F40 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80298FE4 00295F44 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80298FE8 00295F48 48 0A 57 39 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298FEC 00295F4C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298FF0 00295F50 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80298FF4 00295F54 48 0A 46 59 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298FF8 00295F58 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80298FFC 00295F5C 48 0A 41 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299000 00295F60 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80299004 00295F64 48 0A 4A DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299008 00295F68 7F C3 F3 78 */ mr r3, r30 +/* 8029900C 00295F6C 38 80 00 39 */ li r4, 0x39 +/* 80299010 00295F70 48 0B D6 ED */ bl GetString__12CStringTableCFi +/* 80299014 00295F74 7C 64 1B 78 */ mr r4, r3 +/* 80299018 00295F78 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 8029901C 00295F7C 38 A0 FF FF */ li r5, -1 +/* 80299020 00295F80 48 0A 44 C5 */ bl sub_8033d4e4 +/* 80299024 00295F84 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80299028 00295F88 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8029902C 00295F8C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80299030 00295F90 38 84 00 A8 */ addi r4, r4, 0xa8 +/* 80299034 00295F94 4B D6 BC 85 */ bl string_l__4rstlFPCc +/* 80299038 00295F98 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8029903C 00295F9C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80299040 00295FA0 48 0A 56 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299044 00295FA4 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299048 00295FA8 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8029904C 00295FAC 48 0A 46 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299050 00295FB0 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80299054 00295FB4 48 0A 40 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299058 00295FB8 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8029905C 00295FBC 48 0A 4A 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299060 00295FC0 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80299064 00295FC4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80299068 00295FC8 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 8029906C 00295FCC 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80299070 00295FD0 80 A3 00 BC */ lwz r5, 0xbc(r3) +/* 80299074 00295FD4 38 66 00 BB */ addi r3, r6, 0xbb +/* 80299078 00295FD8 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 8029907C 00295FDC 4C C6 31 82 */ crclr 6 +/* 80299080 00295FE0 48 03 D1 31 */ bl Stringize__7CBasicsFPCce +/* 80299084 00295FE4 7C 64 1B 78 */ mr r4, r3 +/* 80299088 00295FE8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8029908C 00295FEC 38 C1 00 0C */ addi r6, r1, 0xc +/* 80299090 00295FF0 38 A0 FF FF */ li r5, -1 +/* 80299094 00295FF4 48 0A 51 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80299098 00295FF8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8029909C 00295FFC 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802990A0 00296000 48 0A 56 81 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990A4 00296004 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802990A8 00296008 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802990AC 0029600C 48 0A 45 A1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990B0 00296010 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802990B4 00296014 48 0A 40 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990B8 00296018 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802990BC 0029601C 48 0A 4A 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990C0 00296020 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 802990C4 00296024 38 61 00 90 */ addi r3, r1, 0x90 +/* 802990C8 00296028 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 802990CC 0029602C 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 802990D0 00296030 4B D6 BB E9 */ bl string_l__4rstlFPCc +/* 802990D4 00296034 38 61 00 80 */ addi r3, r1, 0x80 +/* 802990D8 00296038 38 81 00 90 */ addi r4, r1, 0x90 +/* 802990DC 0029603C 48 0A 56 45 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990E0 00296040 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802990E4 00296044 38 81 00 80 */ addi r4, r1, 0x80 +/* 802990E8 00296048 48 0A 45 65 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990EC 0029604C 38 61 00 80 */ addi r3, r1, 0x80 +/* 802990F0 00296050 48 0A 40 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990F4 00296054 38 61 00 90 */ addi r3, r1, 0x90 +/* 802990F8 00296058 48 0A 49 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990FC 0029605C 7F C3 F3 78 */ mr r3, r30 +/* 80299100 00296060 38 80 00 37 */ li r4, 0x37 +/* 80299104 00296064 48 0B D5 F9 */ bl GetString__12CStringTableCFi +/* 80299108 00296068 7C 64 1B 78 */ mr r4, r3 +/* 8029910C 0029606C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299110 00296070 38 A0 FF FF */ li r5, -1 +/* 80299114 00296074 48 0A 43 D1 */ bl sub_8033d4e4 +/* 80299118 00296078 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029911C 0029607C 38 61 00 70 */ addi r3, r1, 0x70 +/* 80299120 00296080 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80299124 00296084 38 84 00 A8 */ addi r4, r4, 0xa8 +/* 80299128 00296088 4B D6 BB 91 */ bl string_l__4rstlFPCc +/* 8029912C 0029608C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80299130 00296090 38 81 00 70 */ addi r4, r1, 0x70 +/* 80299134 00296094 48 0A 55 ED */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299138 00296098 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 8029913C 0029609C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80299140 002960A0 48 0A 45 0D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299144 002960A4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80299148 002960A8 48 0A 3F ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029914C 002960AC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80299150 002960B0 48 0A 49 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299154 002960B4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80299158 002960B8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029915C 002960BC 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80299160 002960C0 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80299164 002960C4 80 A3 00 A4 */ lwz r5, 0xa4(r3) +/* 80299168 002960C8 38 66 00 93 */ addi r3, r6, 0x93 +/* 8029916C 002960CC 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80299170 002960D0 4C C6 31 82 */ crclr 6 +/* 80299174 002960D4 48 03 D0 3D */ bl Stringize__7CBasicsFPCce +/* 80299178 002960D8 7C 64 1B 78 */ mr r4, r3 +/* 8029917C 002960DC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80299180 002960E0 38 C1 00 08 */ addi r6, r1, 8 +/* 80299184 002960E4 38 A0 FF FF */ li r5, -1 +/* 80299188 002960E8 48 0A 50 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8029918C 002960EC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80299190 002960F0 38 81 00 50 */ addi r4, r1, 0x50 +/* 80299194 002960F4 48 0A 55 8D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299198 002960F8 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 8029919C 002960FC 38 81 00 40 */ addi r4, r1, 0x40 +/* 802991A0 00296100 48 0A 44 AD */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802991A4 00296104 38 61 00 40 */ addi r3, r1, 0x40 +/* 802991A8 00296108 48 0A 3F 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991AC 0029610C 38 61 00 50 */ addi r3, r1, 0x50 +/* 802991B0 00296110 48 0A 49 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991B4 00296114 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 802991B8 00296118 38 61 00 30 */ addi r3, r1, 0x30 +/* 802991BC 0029611C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 802991C0 00296120 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 802991C4 00296124 4B D6 BA F5 */ bl string_l__4rstlFPCc +/* 802991C8 00296128 38 61 00 20 */ addi r3, r1, 0x20 +/* 802991CC 0029612C 38 81 00 30 */ addi r4, r1, 0x30 +/* 802991D0 00296130 48 0A 55 51 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802991D4 00296134 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802991D8 00296138 38 81 00 20 */ addi r4, r1, 0x20 +/* 802991DC 0029613C 48 0A 44 71 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802991E0 00296140 38 61 00 20 */ addi r3, r1, 0x20 +/* 802991E4 00296144 48 0A 3F 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991E8 00296148 38 61 00 30 */ addi r3, r1, 0x30 +/* 802991EC 0029614C 48 0A 48 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991F0 00296150 7F C3 F3 78 */ mr r3, r30 +/* 802991F4 00296154 38 80 00 3D */ li r4, 0x3d +/* 802991F8 00296158 48 0B D5 05 */ bl GetString__12CStringTableCFi +/* 802991FC 0029615C 7C 64 1B 78 */ mr r4, r3 +/* 80299200 00296160 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299204 00296164 38 A0 FF FF */ li r5, -1 +/* 80299208 00296168 48 0A 42 DD */ bl sub_8033d4e4 +/* 8029920C 0029616C 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 80299210 00296170 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 80299214 00296174 38 A0 00 00 */ li r5, 0 +/* 80299218 00296178 48 03 06 6D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029921C 0029617C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299220 00296180 48 0A 3F 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80299224: +/* 80299224 00296184 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 80299228 00296188 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 8029922C 0029618C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 80299230 00296190 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 80299234 00296194 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 80299238 00296198 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 8029923C 0029619C 83 E1 01 FC */ lwz r31, 0x1fc(r1) +/* 80299240 002961A0 80 01 02 34 */ lwz r0, 0x234(r1) +/* 80299244 002961A4 83 C1 01 F8 */ lwz r30, 0x1f8(r1) +/* 80299248 002961A8 7C 08 03 A6 */ mtlr r0 +/* 8029924C 002961AC 38 21 02 30 */ addi r1, r1, 0x230 +/* 80299250 002961B0 4E 80 00 20 */ blr + +.global sub_80299254 +sub_80299254: +/* 80299254 002961B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80299258 002961B8 7C 08 02 A6 */ mflr r0 +/* 8029925C 002961BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80299260 002961C0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80299264 002961C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80299268 002961C8 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 8029926C 002961CC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80299270 002961D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80299274 002961D4 7C 7F 1B 78 */ mr r31, r3 +/* 80299278 002961D8 FF E0 08 90 */ fmr f31, f1 +/* 8029927C 002961DC 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 80299280 002961E0 28 00 00 00 */ cmplwi r0, 0 +/* 80299284 002961E4 41 82 01 20 */ beq lbl_802993A4 +/* 80299288 002961E8 48 00 02 11 */ bl sub_80299498 +/* 8029928C 002961EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299290 002961F0 40 82 00 18 */ bne lbl_802992A8 +/* 80299294 002961F4 7F E3 FB 78 */ mr r3, r31 +/* 80299298 002961F8 48 00 01 31 */ bl sub_802993c8 +/* 8029929C 002961FC FC 00 08 50 */ fneg f0, f1 +/* 802992A0 00296200 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 802992A4 00296204 48 00 00 CC */ b lbl_80299370 +lbl_802992A8: +/* 802992A8 00296208 88 7F 01 34 */ lbz r3, 0x134(r31) +/* 802992AC 0029620C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 802992B0 00296210 41 82 00 54 */ beq lbl_80299304 +/* 802992B4 00296214 7F E3 FB 78 */ mr r3, r31 +/* 802992B8 00296218 48 00 01 11 */ bl sub_802993c8 +/* 802992BC 0029621C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 802992C0 00296220 C0 82 C0 0C */ lfs f4, lbl_805ADD2C@sda21(r2) +/* 802992C4 00296224 C0 43 00 44 */ lfs f2, 0x44(r3) +/* 802992C8 00296228 EC 64 08 2A */ fadds f3, f4, f1 +/* 802992CC 0029622C C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 802992D0 00296230 EC 3F 10 24 */ fdivs f1, f31, f2 +/* 802992D4 00296234 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 802992D8 00296238 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 802992DC 0029623C C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 802992E0 00296240 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802992E4 00296244 4C 41 13 82 */ cror 2, 1, 2 +/* 802992E8 00296248 40 82 00 88 */ bne lbl_80299370 +/* 802992EC 0029624C 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 802992F0 00296250 38 60 00 00 */ li r3, 0 +/* 802992F4 00296254 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802992F8 00296258 98 1F 01 34 */ stb r0, 0x134(r31) +/* 802992FC 0029625C D0 9F 01 28 */ stfs f4, 0x128(r31) +/* 80299300 00296260 48 00 00 70 */ b lbl_80299370 +lbl_80299304: +/* 80299304 00296264 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80299308 00296268 41 82 00 68 */ beq lbl_80299370 +/* 8029930C 0029626C 7F E3 FB 78 */ mr r3, r31 +/* 80299310 00296270 48 00 00 B9 */ bl sub_802993c8 +/* 80299314 00296274 FF C0 08 50 */ fneg f30, f1 +/* 80299318 00296278 7F E3 FB 78 */ mr r3, r31 +/* 8029931C 0029627C 48 00 00 AD */ bl sub_802993c8 +/* 80299320 00296280 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 80299324 00296284 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80299328 00296288 C0 43 00 44 */ lfs f2, 0x44(r3) +/* 8029932C 0029628C EC 60 08 2A */ fadds f3, f0, f1 +/* 80299330 00296290 C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 80299334 00296294 EC 3F 10 24 */ fdivs f1, f31, f2 +/* 80299338 00296298 EC 01 00 FC */ fnmsubs f0, f1, f3, f0 +/* 8029933C 0029629C D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 80299340 002962A0 C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 80299344 002962A4 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 80299348 002962A8 4C 40 13 82 */ cror 2, 0, 2 +/* 8029934C 002962AC 40 82 00 24 */ bne lbl_80299370 +/* 80299350 002962B0 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 80299354 002962B4 38 60 00 00 */ li r3, 0 +/* 80299358 002962B8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8029935C 002962BC 98 1F 01 34 */ stb r0, 0x134(r31) +/* 80299360 002962C0 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 80299364 002962C4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80299368 002962C8 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029936C 002962CC D3 DF 01 28 */ stfs f30, 0x128(r31) +lbl_80299370: +/* 80299370 002962D0 7F E3 FB 78 */ mr r3, r31 +/* 80299374 002962D4 48 00 00 55 */ bl sub_802993c8 +/* 80299378 002962D8 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8029937C 002962DC C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80299380 002962E0 EC 22 08 2A */ fadds f1, f2, f1 +/* 80299384 002962E4 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 80299388 002962E8 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8029938C 002962EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80299390 002962F0 40 80 00 08 */ bge lbl_80299398 +/* 80299394 002962F4 D0 1F 01 2C */ stfs f0, 0x12c(r31) +lbl_80299398: +/* 80299398 002962F8 FC 20 F8 90 */ fmr f1, f31 +/* 8029939C 002962FC 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 802993A0 00296300 48 02 ED D9 */ bl Update__15CGuiTextSupportFf +lbl_802993A4: +/* 802993A4 00296304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802993A8 00296308 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802993AC 0029630C E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 802993B0 00296310 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 802993B4 00296314 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802993B8 00296318 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802993BC 0029631C 7C 08 03 A6 */ mtlr r0 +/* 802993C0 00296320 38 21 00 30 */ addi r1, r1, 0x30 +/* 802993C4 00296324 4E 80 00 20 */ blr + +.global sub_802993c8 +sub_802993c8: +/* 802993C8 00296328 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802993CC 0029632C 7C 08 02 A6 */ mflr r0 +/* 802993D0 00296330 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802993D4 00296334 90 01 00 24 */ stw r0, 0x24(r1) +/* 802993D8 00296338 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 802993DC 0029633C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802993E0 00296340 80 63 00 38 */ lwz r3, 0x38(r3) +/* 802993E4 00296344 83 E4 00 08 */ lwz r31, 8(r4) +/* 802993E8 00296348 48 0A 7A 25 */ bl GetObj__6CTokenFv +/* 802993EC 0029634C 6F E4 80 00 */ xoris r4, r31, 0x8000 +/* 802993F0 00296350 3C 00 43 30 */ lis r0, 0x4330 +/* 802993F4 00296354 90 81 00 0C */ stw r4, 0xc(r1) +/* 802993F8 00296358 80 63 00 04 */ lwz r3, 4(r3) +/* 802993FC 0029635C 90 01 00 08 */ stw r0, 8(r1) +/* 80299400 00296360 80 63 00 28 */ lwz r3, 0x28(r3) +/* 80299404 00296364 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 80299408 00296368 C8 21 00 08 */ lfd f1, 8(r1) +/* 8029940C 0029636C C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80299410 00296370 EC 81 10 28 */ fsubs f4, f1, f2 +/* 80299414 00296374 C0 63 00 2C */ lfs f3, 0x2c(r3) +/* 80299418 00296378 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 8029941C 0029637C C0 23 00 34 */ lfs f1, 0x34(r3) +/* 80299420 00296380 EC 84 00 28 */ fsubs f4, f4, f0 +/* 80299424 00296384 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80299428 00296388 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8029942C 0029638C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80299430 00296390 EC 24 10 24 */ fdivs f1, f4, f2 +/* 80299434 00296394 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80299438 00296398 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029943C 0029639C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80299440 002963A0 7C 08 03 A6 */ mtlr r0 +/* 80299444 002963A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80299448 002963A8 4E 80 00 20 */ blr + +.global sub_8029944c +sub_8029944c: +/* 8029944C 002963AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80299450 002963B0 7C 08 02 A6 */ mflr r0 +/* 80299454 002963B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80299458 002963B8 80 63 00 C4 */ lwz r3, 0xc4(r3) +/* 8029945C 002963BC 48 02 E9 15 */ bl GetBounds__15CGuiTextSupportFv +/* 80299460 002963C0 80 83 00 0C */ lwz r4, 0xc(r3) +/* 80299464 002963C4 3C 00 43 30 */ lis r0, 0x4330 +/* 80299468 002963C8 80 63 00 04 */ lwz r3, 4(r3) +/* 8029946C 002963CC 90 01 00 08 */ stw r0, 8(r1) +/* 80299470 002963D0 7C 04 18 50 */ subf r0, r4, r3 +/* 80299474 002963D4 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80299478 002963D8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8029947C 002963DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80299480 002963E0 C8 01 00 08 */ lfd f0, 8(r1) +/* 80299484 002963E4 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80299488 002963E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029948C 002963EC 7C 08 03 A6 */ mtlr r0 +/* 80299490 002963F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80299494 002963F4 4E 80 00 20 */ blr + +.global sub_80299498 +sub_80299498: +/* 80299498 002963F8 88 83 01 34 */ lbz r4, 0x134(r3) +/* 8029949C 002963FC 38 60 00 00 */ li r3, 0 +/* 802994A0 00296400 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 802994A4 00296404 40 82 00 14 */ bne lbl_802994B8 +/* 802994A8 00296408 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 802994AC 0029640C 40 82 00 0C */ bne lbl_802994B8 +/* 802994B0 00296410 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 802994B4 00296414 4D 82 00 20 */ beqlr +lbl_802994B8: +/* 802994B8 00296418 38 60 00 01 */ li r3, 1 +/* 802994BC 0029641C 4E 80 00 20 */ blr + +.global sub_802994c0 +sub_802994c0: +/* 802994C0 00296420 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 802994C4 00296424 88 03 01 34 */ lbz r0, 0x134(r3) +/* 802994C8 00296428 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802994CC 0029642C 98 03 01 34 */ stb r0, 0x134(r3) +/* 802994D0 00296430 7C A0 00 34 */ cntlzw r0, r5 +/* 802994D4 00296434 54 04 D9 7E */ srwi r4, r0, 5 +/* 802994D8 00296438 88 03 01 34 */ lbz r0, 0x134(r3) +/* 802994DC 0029643C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802994E0 00296440 98 03 01 34 */ stb r0, 0x134(r3) +/* 802994E4 00296444 88 03 01 34 */ lbz r0, 0x134(r3) +/* 802994E8 00296448 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802994EC 0029644C 98 03 01 34 */ stb r0, 0x134(r3) +/* 802994F0 00296450 4E 80 00 20 */ blr + +.global sub_802994f4 +sub_802994f4: +/* 802994F4 00296454 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802994F8 00296458 7C 08 02 A6 */ mflr r0 +/* 802994FC 0029645C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80299500 00296460 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80299504 00296464 7C 7F 1B 78 */ mr r31, r3 +/* 80299508 00296468 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029950C 0029646C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80299510 00296470 93 81 00 20 */ stw r28, 0x20(r1) +/* 80299514 00296474 80 03 00 A0 */ lwz r0, 0xa0(r3) +/* 80299518 00296478 28 00 00 00 */ cmplwi r0, 0 +/* 8029951C 0029647C 40 82 01 7C */ bne lbl_80299698 +/* 80299520 00296480 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80299524 00296484 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80299528 00296488 7C 00 20 00 */ cmpw r0, r4 +/* 8029952C 0029648C 40 82 00 14 */ bne lbl_80299540 +/* 80299530 00296490 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80299534 00296494 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 80299538 00296498 7C 03 00 00 */ cmpw r3, r0 +/* 8029953C 0029649C 41 82 01 5C */ beq lbl_80299698 +lbl_80299540: +/* 80299540 002964A0 1C 64 00 14 */ mulli r3, r4, 0x14 +/* 80299544 002964A4 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 80299548 002964A8 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 8029954C 002964AC 54 00 10 3A */ slwi r0, r0, 2 +/* 80299550 002964B0 38 63 00 10 */ addi r3, r3, 0x10 +/* 80299554 002964B4 7C 64 18 2E */ lwzx r3, r4, r3 +/* 80299558 002964B8 7F 83 00 2E */ lwzx r28, r3, r0 +/* 8029955C 002964BC 28 1C 00 00 */ cmplwi r28, 0 +/* 80299560 002964C0 41 82 01 38 */ beq lbl_80299698 +/* 80299564 002964C4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80299568 002964C8 80 9C 00 04 */ lwz r4, 4(r28) +/* 8029956C 002964CC 38 63 00 04 */ addi r3, r3, 4 +/* 80299570 002964D0 48 0A 27 5D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 80299574 002964D4 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 80299578 002964D8 28 00 54 52 */ cmplwi r0, 0x5452 +/* 8029957C 002964DC 40 82 01 1C */ bne lbl_80299698 +/* 80299580 002964E0 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 80299584 002964E4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 80299588 002964E8 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l +/* 8029958C 002964EC 3B C0 00 00 */ li r30, 0 +/* 80299590 002964F0 90 1F 00 94 */ stw r0, 0x94(r31) +/* 80299594 002964F4 38 83 00 D0 */ addi r4, r3, 0xd0 +/* 80299598 002964F8 38 60 00 08 */ li r3, 8 +/* 8029959C 002964FC 38 A0 00 00 */ li r5, 0 +/* 802995A0 00296500 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802995A4 00296504 90 1F 00 98 */ stw r0, 0x98(r31) +/* 802995A8 00296508 48 07 C2 C5 */ bl __nw__FUlPCcPCc +/* 802995AC 0029650C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802995B0 00296510 41 82 00 30 */ beq lbl_802995E0 +/* 802995B4 00296514 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802995B8 00296518 7F 85 E3 78 */ mr r5, r28 +/* 802995BC 0029651C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802995C0 00296520 81 84 00 00 */ lwz r12, 0(r4) +/* 802995C4 00296524 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802995C8 00296528 7D 89 03 A6 */ mtctr r12 +/* 802995CC 0029652C 4E 80 04 21 */ bctrl +/* 802995D0 00296530 7F A3 EB 78 */ mr r3, r29 +/* 802995D4 00296534 38 81 00 10 */ addi r4, r1, 0x10 +/* 802995D8 00296538 3B C0 00 01 */ li r30, 1 +/* 802995DC 0029653C 48 0A 78 CD */ bl __ct__6CTokenFRC6CToken +lbl_802995E0: +/* 802995E0 00296540 7C 1D 00 D0 */ neg r0, r29 +/* 802995E4 00296544 38 61 00 08 */ addi r3, r1, 8 +/* 802995E8 00296548 7C 04 EB 78 */ or r4, r0, r29 +/* 802995EC 0029654C 38 1F 00 9C */ addi r0, r31, 0x9c +/* 802995F0 00296550 54 84 0F FE */ srwi r4, r4, 0x1f +/* 802995F4 00296554 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802995F8 00296558 7C 03 00 40 */ cmplw r3, r0 +/* 802995FC 0029655C 98 81 00 08 */ stb r4, 8(r1) +/* 80299600 00296560 41 82 00 48 */ beq lbl_80299648 +/* 80299604 00296564 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 80299608 00296568 28 00 00 00 */ cmplwi r0, 0 +/* 8029960C 0029656C 41 82 00 24 */ beq lbl_80299630 +/* 80299610 00296570 83 BF 00 A0 */ lwz r29, 0xa0(r31) +/* 80299614 00296574 28 1D 00 00 */ cmplwi r29, 0 +/* 80299618 00296578 41 82 00 18 */ beq lbl_80299630 +/* 8029961C 0029657C 7F A3 EB 78 */ mr r3, r29 +/* 80299620 00296580 38 80 00 00 */ li r4, 0 +/* 80299624 00296584 48 0A 78 1D */ bl __dt__6CTokenFv +/* 80299628 00296588 7F A3 EB 78 */ mr r3, r29 +/* 8029962C 0029658C 48 07 C3 05 */ bl Free__7CMemoryFPCv +lbl_80299630: +/* 80299630 00296590 88 61 00 08 */ lbz r3, 8(r1) +/* 80299634 00296594 38 00 00 00 */ li r0, 0 +/* 80299638 00296598 98 7F 00 9C */ stb r3, 0x9c(r31) +/* 8029963C 0029659C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80299640 002965A0 90 7F 00 A0 */ stw r3, 0xa0(r31) +/* 80299644 002965A4 98 01 00 08 */ stb r0, 8(r1) +lbl_80299648: +/* 80299648 002965A8 88 01 00 08 */ lbz r0, 8(r1) +/* 8029964C 002965AC 28 00 00 00 */ cmplwi r0, 0 +/* 80299650 002965B0 41 82 00 24 */ beq lbl_80299674 +/* 80299654 002965B4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80299658 002965B8 28 1D 00 00 */ cmplwi r29, 0 +/* 8029965C 002965BC 41 82 00 18 */ beq lbl_80299674 +/* 80299660 002965C0 7F A3 EB 78 */ mr r3, r29 +/* 80299664 002965C4 38 80 00 00 */ li r4, 0 +/* 80299668 002965C8 48 0A 77 D9 */ bl __dt__6CTokenFv +/* 8029966C 002965CC 7F A3 EB 78 */ mr r3, r29 +/* 80299670 002965D0 48 07 C2 C1 */ bl Free__7CMemoryFPCv +lbl_80299674: +/* 80299674 002965D4 7F C0 07 75 */ extsb. r0, r30 +/* 80299678 002965D8 41 82 00 10 */ beq lbl_80299688 +/* 8029967C 002965DC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80299680 002965E0 38 80 FF FF */ li r4, -1 +/* 80299684 002965E4 48 0A 77 BD */ bl __dt__6CTokenFv +lbl_80299688: +/* 80299688 002965E8 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029968C 002965EC 48 0A 76 F9 */ bl Lock__6CTokenFv +/* 80299690 002965F0 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80299694 002965F4 4B FF E5 81 */ bl sub_80297c14 +lbl_80299698: +/* 80299698 002965F8 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029969C 002965FC 38 80 00 00 */ li r4, 0 +/* 802996A0 00296600 28 03 00 00 */ cmplwi r3, 0 +/* 802996A4 00296604 41 82 00 18 */ beq lbl_802996BC +/* 802996A8 00296608 80 63 00 00 */ lwz r3, 0(r3) +/* 802996AC 0029660C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802996B0 00296610 28 00 00 00 */ cmplwi r0, 0 +/* 802996B4 00296614 41 82 00 08 */ beq lbl_802996BC +/* 802996B8 00296618 38 80 00 01 */ li r4, 1 +lbl_802996BC: +/* 802996BC 0029661C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802996C0 00296620 41 82 00 18 */ beq lbl_802996D8 +/* 802996C4 00296624 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 802996C8 00296628 28 00 00 00 */ cmplwi r0, 0 +/* 802996CC 0029662C 40 82 00 0C */ bne lbl_802996D8 +/* 802996D0 00296630 38 7F 00 90 */ addi r3, r31, 0x90 +/* 802996D4 00296634 4B FF E5 41 */ bl sub_80297c14 +lbl_802996D8: +/* 802996D8 00296638 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802996DC 0029663C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802996E0 00296640 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802996E4 00296644 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802996E8 00296648 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802996EC 0029664C 7C 08 03 A6 */ mtlr r0 +/* 802996F0 00296650 38 21 00 30 */ addi r1, r1, 0x30 +/* 802996F4 00296654 4E 80 00 20 */ blr + +.global sub_802996f8 +sub_802996f8: +/* 802996F8 00296658 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802996FC 0029665C 7C 08 02 A6 */ mflr r0 +/* 80299700 00296660 90 01 00 24 */ stw r0, 0x24(r1) +/* 80299704 00296664 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80299708 00296668 7C 7F 1B 78 */ mr r31, r3 +/* 8029970C 0029666C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80299710 00296670 7C 9E 23 78 */ mr r30, r4 +/* 80299714 00296674 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80299718 00296678 2C 00 00 00 */ cmpwi r0, 0 +/* 8029971C 0029667C 41 82 01 2C */ beq lbl_80299848 +/* 80299720 00296680 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80299724 00296684 38 61 00 08 */ addi r3, r1, 8 +/* 80299728 00296688 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8029972C 0029668C 38 80 04 45 */ li r4, 0x445 +/* 80299730 00296690 38 A0 00 7F */ li r5, 0x7f +/* 80299734 00296694 38 C0 00 40 */ li r6, 0x40 +/* 80299738 00296698 38 E0 00 00 */ li r7, 0 +/* 8029973C 0029669C 39 20 00 00 */ li r9, 0 +/* 80299740 002966A0 48 05 06 35 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80299744 002966A4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80299748 002966A8 41 82 00 14 */ beq lbl_8029975C +/* 8029974C 002966AC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80299750 002966B0 38 03 00 01 */ addi r0, r3, 1 +/* 80299754 002966B4 90 1F 00 48 */ stw r0, 0x48(r31) +/* 80299758 002966B8 48 00 00 10 */ b lbl_80299768 +lbl_8029975C: +/* 8029975C 002966BC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80299760 002966C0 38 03 FF FF */ addi r0, r3, -1 +/* 80299764 002966C4 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_80299768: +/* 80299768 002966C8 80 DF 00 48 */ lwz r6, 0x48(r31) +/* 8029976C 002966CC 80 BF 00 44 */ lwz r5, 0x44(r31) +/* 80299770 002966D0 2C 06 00 00 */ cmpwi r6, 0 +/* 80299774 002966D4 40 80 00 20 */ bge lbl_80299794 +/* 80299778 002966D8 38 05 FF FF */ addi r0, r5, -1 +/* 8029977C 002966DC 38 60 00 01 */ li r3, 1 +/* 80299780 002966E0 90 1F 00 44 */ stw r0, 0x44(r31) +/* 80299784 002966E4 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 80299788 002966E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029978C 002966EC 98 1F 01 35 */ stb r0, 0x135(r31) +/* 80299790 002966F0 48 00 00 34 */ b lbl_802997C4 +lbl_80299794: +/* 80299794 002966F4 1C 65 00 14 */ mulli r3, r5, 0x14 +/* 80299798 002966F8 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 8029979C 002966FC 38 03 00 08 */ addi r0, r3, 8 +/* 802997A0 00296700 7C 04 00 2E */ lwzx r0, r4, r0 +/* 802997A4 00296704 7C 06 00 00 */ cmpw r6, r0 +/* 802997A8 00296708 41 80 00 1C */ blt lbl_802997C4 +/* 802997AC 0029670C 38 05 00 01 */ addi r0, r5, 1 +/* 802997B0 00296710 38 60 00 01 */ li r3, 1 +/* 802997B4 00296714 90 1F 00 44 */ stw r0, 0x44(r31) +/* 802997B8 00296718 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 802997BC 0029671C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802997C0 00296720 98 1F 01 35 */ stb r0, 0x135(r31) +lbl_802997C4: +/* 802997C4 00296724 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 802997C8 00296728 2C 03 00 00 */ cmpwi r3, 0 +/* 802997CC 0029672C 40 80 00 30 */ bge lbl_802997FC +/* 802997D0 00296730 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 802997D4 00296734 38 03 FF FF */ addi r0, r3, -1 +/* 802997D8 00296738 90 1F 00 44 */ stw r0, 0x44(r31) +/* 802997DC 0029673C 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802997E0 00296740 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 802997E4 00296744 1C 60 00 14 */ mulli r3, r0, 0x14 +/* 802997E8 00296748 38 03 00 08 */ addi r0, r3, 8 +/* 802997EC 0029674C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802997F0 00296750 38 03 FF FF */ addi r0, r3, -1 +/* 802997F4 00296754 90 1F 00 48 */ stw r0, 0x48(r31) +/* 802997F8 00296758 48 00 00 50 */ b lbl_80299848 +lbl_802997FC: +/* 802997FC 0029675C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80299800 00296760 7C 03 00 00 */ cmpw r3, r0 +/* 80299804 00296764 41 80 00 14 */ blt lbl_80299818 +/* 80299808 00296768 38 00 00 00 */ li r0, 0 +/* 8029980C 0029676C 90 1F 00 48 */ stw r0, 0x48(r31) +/* 80299810 00296770 90 1F 00 44 */ stw r0, 0x44(r31) +/* 80299814 00296774 48 00 00 34 */ b lbl_80299848 +lbl_80299818: +/* 80299818 00296778 7C 03 28 00 */ cmpw r3, r5 +/* 8029981C 0029677C 40 81 00 10 */ ble lbl_8029982C +/* 80299820 00296780 38 00 00 00 */ li r0, 0 +/* 80299824 00296784 90 1F 00 48 */ stw r0, 0x48(r31) +/* 80299828 00296788 48 00 00 20 */ b lbl_80299848 +lbl_8029982C: +/* 8029982C 0029678C 40 80 00 1C */ bge lbl_80299848 +/* 80299830 00296790 1C 63 00 14 */ mulli r3, r3, 0x14 +/* 80299834 00296794 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 80299838 00296798 38 03 00 08 */ addi r0, r3, 8 +/* 8029983C 0029679C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80299840 002967A0 38 03 FF FF */ addi r0, r3, -1 +/* 80299844 002967A4 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_80299848: +/* 80299848 002967A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029984C 002967AC 38 60 00 01 */ li r3, 1 +/* 80299850 002967B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80299854 002967B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80299858 002967B8 7C 08 03 A6 */ mtlr r0 +/* 8029985C 002967BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80299860 002967C0 4E 80 00 20 */ blr + +.global ProcessUserInput__10CSlideShowFRC11CFinalInput +ProcessUserInput__10CSlideShowFRC11CFinalInput: +/* 80299864 002967C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80299868 002967C8 7C 08 02 A6 */ mflr r0 +/* 8029986C 002967CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80299870 002967D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80299874 002967D4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80299878 002967D8 7C 9E 23 78 */ mr r30, r4 +/* 8029987C 002967DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80299880 002967E0 7C 7D 1B 78 */ mr r29, r3 +/* 80299884 002967E4 88 03 01 34 */ lbz r0, 0x134(r3) +/* 80299888 002967E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8029988C 002967EC 40 82 03 28 */ bne lbl_80299BB4 +/* 80299890 002967F0 4B FF FC 09 */ bl sub_80299498 +/* 80299894 002967F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299898 002967F8 41 82 00 10 */ beq lbl_802998A8 +/* 8029989C 002967FC 7F A3 EB 78 */ mr r3, r29 +/* 802998A0 00296800 7F C4 F3 78 */ mr r4, r30 +/* 802998A4 00296804 4B FF F3 35 */ bl sub_80298bd8 +lbl_802998A8: +/* 802998A8 00296808 88 7E 00 2D */ lbz r3, 0x2d(r30) +/* 802998AC 0029680C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 802998B0 00296810 41 82 00 64 */ beq lbl_80299914 +/* 802998B4 00296814 7F A3 EB 78 */ mr r3, r29 +/* 802998B8 00296818 38 80 00 00 */ li r4, 0 +/* 802998BC 0029681C 4B FF F2 99 */ bl sub_80298b54 +/* 802998C0 00296820 7F A3 EB 78 */ mr r3, r29 +/* 802998C4 00296824 38 80 00 00 */ li r4, 0 +/* 802998C8 00296828 4B FF F2 09 */ bl sub_80298ad0 +/* 802998CC 0029682C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 802998D0 00296830 38 61 00 10 */ addi r3, r1, 0x10 +/* 802998D4 00296834 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 802998D8 00296838 38 80 04 46 */ li r4, 0x446 +/* 802998DC 0029683C 38 A0 00 7F */ li r5, 0x7f +/* 802998E0 00296840 38 C0 00 40 */ li r6, 0x40 +/* 802998E4 00296844 38 E0 00 00 */ li r7, 0 +/* 802998E8 00296848 39 20 00 00 */ li r9, 0 +/* 802998EC 0029684C 48 05 04 89 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 802998F0 00296850 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 802998F4 00296854 38 80 00 01 */ li r4, 1 +/* 802998F8 00296858 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 802998FC 0029685C 38 60 00 01 */ li r3, 1 +/* 80299900 00296860 98 1D 01 34 */ stb r0, 0x134(r29) +/* 80299904 00296864 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 80299908 00296868 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8029990C 0029686C 98 1D 01 34 */ stb r0, 0x134(r29) +/* 80299910 00296870 48 00 02 A8 */ b lbl_80299BB8 +lbl_80299914: +/* 80299914 00296874 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 80299918 00296878 41 82 00 84 */ beq lbl_8029999C +/* 8029991C 0029687C 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 80299920 00296880 7F A3 EB 78 */ mr r3, r29 +/* 80299924 00296884 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80299928 00296888 7C 00 00 34 */ cntlzw r0, r0 +/* 8029992C 0029688C 54 04 D9 7E */ srwi r4, r0, 5 +/* 80299930 00296890 4B FF FB 91 */ bl sub_802994c0 +/* 80299934 00296894 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 80299938 00296898 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029993C 0029689C 41 82 00 3C */ beq lbl_80299978 +/* 80299940 002968A0 88 1D 01 35 */ lbz r0, 0x135(r29) +/* 80299944 002968A4 38 60 00 01 */ li r3, 1 +/* 80299948 002968A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029994C 002968AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80299950 002968B0 98 1D 01 35 */ stb r0, 0x135(r29) +/* 80299954 002968B4 38 61 00 0C */ addi r3, r1, 0xc +/* 80299958 002968B8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8029995C 002968BC 38 80 05 B1 */ li r4, 0x5b1 +/* 80299960 002968C0 38 A0 00 7F */ li r5, 0x7f +/* 80299964 002968C4 38 C0 00 40 */ li r6, 0x40 +/* 80299968 002968C8 38 E0 00 00 */ li r7, 0 +/* 8029996C 002968CC 39 20 00 00 */ li r9, 0 +/* 80299970 002968D0 48 05 04 05 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80299974 002968D4 48 00 00 28 */ b lbl_8029999C +lbl_80299978: +/* 80299978 002968D8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8029997C 002968DC 38 61 00 08 */ addi r3, r1, 8 +/* 80299980 002968E0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80299984 002968E4 38 80 05 B0 */ li r4, 0x5b0 +/* 80299988 002968E8 38 A0 00 7F */ li r5, 0x7f +/* 8029998C 002968EC 38 C0 00 40 */ li r6, 0x40 +/* 80299990 002968F0 38 E0 00 00 */ li r7, 0 +/* 80299994 002968F4 39 20 00 00 */ li r9, 0 +/* 80299998 002968F8 48 05 03 DD */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8029999C: +/* 8029999C 002968FC 88 7E 00 2E */ lbz r3, 0x2e(r30) +/* 802999A0 00296900 3B E0 00 00 */ li r31, 0 +/* 802999A4 00296904 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 802999A8 00296908 41 82 00 4C */ beq lbl_802999F4 +/* 802999AC 0029690C 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 802999B0 00296910 38 00 FF FF */ li r0, -1 +/* 802999B4 00296914 80 FD 00 2C */ lwz r7, 0x2c(r29) +/* 802999B8 00296918 38 A0 00 01 */ li r5, 1 +/* 802999BC 0029691C 39 03 00 01 */ addi r8, r3, 1 +/* 802999C0 00296920 7F A3 EB 78 */ mr r3, r29 +/* 802999C4 00296924 7C C8 3B D6 */ divw r6, r8, r7 +/* 802999C8 00296928 3B E0 00 01 */ li r31, 1 +/* 802999CC 0029692C 38 80 00 01 */ li r4, 1 +/* 802999D0 00296930 7C C6 39 D6 */ mullw r6, r6, r7 +/* 802999D4 00296934 7C C6 40 50 */ subf r6, r6, r8 +/* 802999D8 00296938 90 DD 00 44 */ stw r6, 0x44(r29) +/* 802999DC 0029693C 90 1D 00 48 */ stw r0, 0x48(r29) +/* 802999E0 00296940 88 1D 01 35 */ lbz r0, 0x135(r29) +/* 802999E4 00296944 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802999E8 00296948 98 1D 01 35 */ stb r0, 0x135(r29) +/* 802999EC 0029694C 4B FF FD 0D */ bl sub_802996f8 +/* 802999F0 00296950 48 00 01 68 */ b lbl_80299B58 +lbl_802999F4: +/* 802999F4 00296954 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 802999F8 00296958 41 82 00 54 */ beq lbl_80299A4C +/* 802999FC 0029695C 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 80299A00 00296960 38 03 FF FF */ addi r0, r3, -1 +/* 80299A04 00296964 90 1D 00 44 */ stw r0, 0x44(r29) +/* 80299A08 00296968 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 80299A0C 0029696C 2C 00 00 00 */ cmpwi r0, 0 +/* 80299A10 00296970 40 80 00 10 */ bge lbl_80299A20 +/* 80299A14 00296974 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80299A18 00296978 38 03 FF FF */ addi r0, r3, -1 +/* 80299A1C 0029697C 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_80299A20: +/* 80299A20 00296980 38 00 FF FF */ li r0, -1 +/* 80299A24 00296984 38 A0 00 01 */ li r5, 1 +/* 80299A28 00296988 90 1D 00 48 */ stw r0, 0x48(r29) +/* 80299A2C 0029698C 7F A3 EB 78 */ mr r3, r29 +/* 80299A30 00296990 3B E0 00 01 */ li r31, 1 +/* 80299A34 00296994 38 80 00 01 */ li r4, 1 +/* 80299A38 00296998 88 1D 01 35 */ lbz r0, 0x135(r29) +/* 80299A3C 0029699C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80299A40 002969A0 98 1D 01 35 */ stb r0, 0x135(r29) +/* 80299A44 002969A4 4B FF FC B5 */ bl sub_802996f8 +/* 80299A48 002969A8 48 00 01 10 */ b lbl_80299B58 +lbl_80299A4C: +/* 80299A4C 002969AC 7F C4 F3 78 */ mr r4, r30 +/* 80299A50 002969B0 38 60 00 29 */ li r3, 0x29 +/* 80299A54 002969B4 4B D7 2D 7D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299A58 002969B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299A5C 002969BC 40 82 00 10 */ bne lbl_80299A6C +/* 80299A60 002969C0 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 80299A64 002969C4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80299A68 002969C8 41 82 00 18 */ beq lbl_80299A80 +lbl_80299A6C: +/* 80299A6C 002969CC 7F A3 EB 78 */ mr r3, r29 +/* 80299A70 002969D0 3B E0 00 01 */ li r31, 1 +/* 80299A74 002969D4 38 80 00 01 */ li r4, 1 +/* 80299A78 002969D8 4B FF FC 81 */ bl sub_802996f8 +/* 80299A7C 002969DC 48 00 00 DC */ b lbl_80299B58 +lbl_80299A80: +/* 80299A80 002969E0 7F C4 F3 78 */ mr r4, r30 +/* 80299A84 002969E4 38 60 00 28 */ li r3, 0x28 +/* 80299A88 002969E8 4B D7 2D 49 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299A8C 002969EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299A90 002969F0 41 82 00 18 */ beq lbl_80299AA8 +/* 80299A94 002969F4 7F A3 EB 78 */ mr r3, r29 +/* 80299A98 002969F8 3B E0 00 01 */ li r31, 1 +/* 80299A9C 002969FC 38 80 00 00 */ li r4, 0 +/* 80299AA0 00296A00 4B FF FC 59 */ bl sub_802996f8 +/* 80299AA4 00296A04 48 00 00 B4 */ b lbl_80299B58 +lbl_80299AA8: +/* 80299AA8 00296A08 7F C4 F3 78 */ mr r4, r30 +/* 80299AAC 00296A0C 38 60 00 29 */ li r3, 0x29 +/* 80299AB0 00296A10 4B D7 2E 69 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299AB4 00296A14 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80299AB8 00296A18 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80299ABC 00296A1C 40 82 00 10 */ bne lbl_80299ACC +/* 80299AC0 00296A20 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80299AC4 00296A24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80299AC8 00296A28 41 82 00 3C */ beq lbl_80299B04 +lbl_80299ACC: +/* 80299ACC 00296A2C C0 2D 99 EC */ lfs f1, lbl_805A85AC@sda21(r13) +/* 80299AD0 00296A30 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 80299AD4 00296A34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80299AD8 00296A38 40 80 00 0C */ bge lbl_80299AE4 +/* 80299ADC 00296A3C 38 7D 00 50 */ addi r3, r29, 0x50 +/* 80299AE0 00296A40 48 00 00 08 */ b lbl_80299AE8 +lbl_80299AE4: +/* 80299AE4 00296A44 38 6D 99 EC */ addi r3, r13, lbl_805A85AC@sda21 +lbl_80299AE8: +/* 80299AE8 00296A48 C0 03 00 00 */ lfs f0, 0(r3) +/* 80299AEC 00296A4C D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299AF0 00296A50 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80299AF4 00296A54 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80299AF8 00296A58 EC 01 00 2A */ fadds f0, f1, f0 +/* 80299AFC 00296A5C D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B00 00296A60 48 00 00 58 */ b lbl_80299B58 +lbl_80299B04: +/* 80299B04 00296A64 7F C4 F3 78 */ mr r4, r30 +/* 80299B08 00296A68 38 60 00 28 */ li r3, 0x28 +/* 80299B0C 00296A6C 4B D7 2E 0D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299B10 00296A70 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80299B14 00296A74 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80299B18 00296A78 41 82 00 3C */ beq lbl_80299B54 +/* 80299B1C 00296A7C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80299B20 00296A80 C0 0D 99 F0 */ lfs f0, lbl_805A85B0@sda21(r13) +/* 80299B24 00296A84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80299B28 00296A88 40 80 00 0C */ bge lbl_80299B34 +/* 80299B2C 00296A8C 38 7D 00 50 */ addi r3, r29, 0x50 +/* 80299B30 00296A90 48 00 00 08 */ b lbl_80299B38 +lbl_80299B34: +/* 80299B34 00296A94 38 6D 99 F0 */ addi r3, r13, lbl_805A85B0@sda21 +lbl_80299B38: +/* 80299B38 00296A98 C0 03 00 00 */ lfs f0, 0(r3) +/* 80299B3C 00296A9C D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B40 00296AA0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80299B44 00296AA4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80299B48 00296AA8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80299B4C 00296AAC D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B50 00296AB0 48 00 00 08 */ b lbl_80299B58 +lbl_80299B54: +/* 80299B54 00296AB4 D0 1D 00 50 */ stfs f0, 0x50(r29) +lbl_80299B58: +/* 80299B58 00296AB8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80299B5C 00296ABC 41 82 00 10 */ beq lbl_80299B6C +/* 80299B60 00296AC0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80299B64 00296AC4 D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B68 00296AC8 D0 1D 00 54 */ stfs f0, 0x54(r29) +lbl_80299B6C: +/* 80299B6C 00296ACC 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 80299B70 00296AD0 38 80 00 00 */ li r4, 0 +/* 80299B74 00296AD4 28 03 00 00 */ cmplwi r3, 0 +/* 80299B78 00296AD8 41 82 00 24 */ beq lbl_80299B9C +/* 80299B7C 00296ADC 80 63 00 00 */ lwz r3, 0(r3) +/* 80299B80 00296AE0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80299B84 00296AE4 28 00 00 00 */ cmplwi r0, 0 +/* 80299B88 00296AE8 41 82 00 14 */ beq lbl_80299B9C +/* 80299B8C 00296AEC 88 1D 00 70 */ lbz r0, 0x70(r29) +/* 80299B90 00296AF0 28 00 00 00 */ cmplwi r0, 0 +/* 80299B94 00296AF4 41 82 00 08 */ beq lbl_80299B9C +/* 80299B98 00296AF8 38 80 00 01 */ li r4, 1 +lbl_80299B9C: +/* 80299B9C 00296AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80299BA0 00296B00 41 82 00 14 */ beq lbl_80299BB4 +/* 80299BA4 00296B04 7F C4 F3 78 */ mr r4, r30 +/* 80299BA8 00296B08 38 7D 00 5C */ addi r3, r29, 0x5c +/* 80299BAC 00296B0C 4B FF E1 B5 */ bl sub_80297d60 +/* 80299BB0 00296B10 48 00 00 08 */ b lbl_80299BB8 +lbl_80299BB4: +/* 80299BB4 00296B14 38 60 00 01 */ li r3, 1 +lbl_80299BB8: +/* 80299BB8 00296B18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80299BBC 00296B1C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80299BC0 00296B20 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80299BC4 00296B24 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80299BC8 00296B28 7C 08 03 A6 */ mtlr r0 +/* 80299BCC 00296B2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80299BD0 00296B30 4E 80 00 20 */ blr + +.global UpdatePersistentScanPercent__FUiUiUi +UpdatePersistentScanPercent__FUiUiUi: +/* 80299BD4 00296B34 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80299BD8 00296B38 7C 08 02 A6 */ mflr r0 +/* 80299BDC 00296B3C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80299BE0 00296B40 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80299BE4 00296B44 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80299BE8 00296B48 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 80299BEC 00296B4C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 80299BF0 00296B50 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80299BF4 00296B54 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80299BF8 00296B58 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80299BFC 00296B5C 7C 7E 1B 78 */ mr r30, r3 +/* 80299C00 00296B60 7C BD 2B 78 */ mr r29, r5 +/* 80299C04 00296B64 7C 1E 20 00 */ cmpw r30, r4 +/* 80299C08 00296B68 41 82 01 8C */ beq lbl_80299D94 +/* 80299C0C 00296B6C 3C A0 43 30 */ lis r5, 0x4330 +/* 80299C10 00296B70 6C 83 80 00 */ xoris r3, r4, 0x8000 +/* 80299C14 00296B74 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 80299C18 00296B78 90 61 00 44 */ stw r3, 0x44(r1) +/* 80299C1C 00296B7C 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 80299C20 00296B80 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80299C24 00296B84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 80299C28 00296B88 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80299C2C 00296B8C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80299C30 00296B90 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80299C34 00296B94 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80299C38 00296B98 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80299C3C 00296B9C C0 62 C0 2C */ lfs f3, lbl_805ADD4C@sda21(r2) +/* 80299C40 00296BA0 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 80299C44 00296BA4 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80299C48 00296BA8 C3 E4 00 2C */ lfs f31, 0x2c(r4) +/* 80299C4C 00296BAC EC 00 10 28 */ fsubs f0, f0, f2 +/* 80299C50 00296BB0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80299C54 00296BB4 EF C3 00 32 */ fmuls f30, f3, f0 +/* 80299C58 00296BB8 4B F3 B5 B1 */ bl GetLogScanCount__14CSystemOptionsFv +/* 80299C5C 00296BBC 3C 80 43 30 */ lis r4, 0x4330 +/* 80299C60 00296BC0 6F C5 80 00 */ xoris r5, r30, 0x8000 +/* 80299C64 00296BC4 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 80299C68 00296BC8 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 80299C6C 00296BCC EC 1E F8 24 */ fdivs f0, f30, f31 +/* 80299C70 00296BD0 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) +/* 80299C74 00296BD4 90 81 00 58 */ stw r4, 0x58(r1) +/* 80299C78 00296BD8 C0 82 C0 2C */ lfs f4, lbl_805ADD4C@sda21(r2) +/* 80299C7C 00296BDC C8 21 00 58 */ lfd f1, 0x58(r1) +/* 80299C80 00296BE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80299C84 00296BE4 90 81 00 60 */ stw r4, 0x60(r1) +/* 80299C88 00296BE8 EC 41 18 28 */ fsubs f2, f1, f3 +/* 80299C8C 00296BEC FC 00 00 1E */ fctiwz f0, f0 +/* 80299C90 00296BF0 C8 21 00 60 */ lfd f1, 0x60(r1) +/* 80299C94 00296BF4 FC A0 F0 1E */ fctiwz f5, f30 +/* 80299C98 00296BF8 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80299C9C 00296BFC D8 01 00 70 */ stfd f0, 0x70(r1) +/* 80299CA0 00296C00 D8 A1 00 50 */ stfd f5, 0x50(r1) +/* 80299CA4 00296C04 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80299CA8 00296C08 83 C1 00 74 */ lwz r30, 0x74(r1) +/* 80299CAC 00296C0C 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80299CB0 00296C10 7C 80 1A 78 */ xor r0, r4, r3 +/* 80299CB4 00296C14 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80299CB8 00296C18 7C 00 20 38 */ and r0, r0, r4 +/* 80299CBC 00296C1C EC 04 00 72 */ fmuls f0, f4, f1 +/* 80299CC0 00296C20 7C 00 18 50 */ subf r0, r0, r3 +/* 80299CC4 00296C24 54 1D 0F FF */ rlwinm. r29, r0, 1, 0x1f, 0x1f +/* 80299CC8 00296C28 EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80299CCC 00296C2C FC 00 00 1E */ fctiwz f0, f0 +/* 80299CD0 00296C30 D8 01 00 68 */ stfd f0, 0x68(r1) +/* 80299CD4 00296C34 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80299CD8 00296C38 41 82 00 10 */ beq lbl_80299CE8 +/* 80299CDC 00296C3C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80299CE0 00296C40 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 80299CE4 00296C44 4B F3 B5 1D */ bl SetLogScanCount__14CSystemOptionsFi +lbl_80299CE8: +/* 80299CE8 00296C48 7C 1E F8 00 */ cmpw r30, r31 +/* 80299CEC 00296C4C 40 81 00 A8 */ ble lbl_80299D94 +/* 80299CF0 00296C50 38 1E FF FF */ addi r0, r30, -1 +/* 80299CF4 00296C54 38 81 00 0C */ addi r4, r1, 0xc +/* 80299CF8 00296C58 90 01 00 0C */ stw r0, 0xc(r1) +/* 80299CFC 00296C5C 38 6D 99 E4 */ addi r3, r13, lbl_805A85A4@sda21 +/* 80299D00 00296C60 38 AD 99 E8 */ addi r5, r13, lbl_805A85A8@sda21 +/* 80299D04 00296C64 4B DC 03 61 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 80299D08 00296C68 80 03 00 00 */ lwz r0, 0(r3) +/* 80299D0C 00296C6C 38 82 BF E8 */ addi r4, r2, lbl_805ADD08@sda21 +/* 80299D10 00296C70 38 61 00 20 */ addi r3, r1, 0x20 +/* 80299D14 00296C74 38 C1 00 08 */ addi r6, r1, 8 +/* 80299D18 00296C78 54 00 10 3A */ slwi r0, r0, 2 +/* 80299D1C 00296C7C 38 A0 FF FF */ li r5, -1 +/* 80299D20 00296C80 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80299D24 00296C84 48 0A 44 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80299D28 00296C88 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 80299D2C 00296C8C 28 1D 00 00 */ cmplwi r29, 0 +/* 80299D30 00296C90 38 C3 5C 48 */ addi r6, r3, lbl_803D5C48@l +/* 80299D34 00296C94 38 61 00 10 */ addi r3, r1, 0x10 +/* 80299D38 00296C98 38 81 00 20 */ addi r4, r1, 0x20 +/* 80299D3C 00296C9C 38 A6 00 D9 */ addi r5, r6, 0xd9 +/* 80299D40 00296CA0 41 82 00 08 */ beq lbl_80299D48 +/* 80299D44 00296CA4 38 A6 00 D7 */ addi r5, r6, 0xd7 +lbl_80299D48: +/* 80299D48 00296CA8 4B F7 23 AD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 80299D4C 00296CAC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80299D50 00296CB0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80299D54 00296CB4 48 0A 44 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299D58 00296CB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80299D5C 00296CBC 48 0A 3D 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299D60 00296CC0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80299D64 00296CC4 48 0A 3D 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299D68 00296CC8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80299D6C 00296CCC 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80299D70 00296CD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80299D74 00296CD4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80299D78 00296CD8 7D 89 03 A6 */ mtctr r12 +/* 80299D7C 00296CDC 4E 80 04 21 */ bctrl +/* 80299D80 00296CE0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80299D84 00296CE4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80299D88 00296CE8 48 0A 3D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299D8C 00296CEC 7F E3 FB 78 */ mr r3, r31 +/* 80299D90 00296CF0 48 00 00 08 */ b lbl_80299D98 +lbl_80299D94: +/* 80299D94 00296CF4 38 60 FF FF */ li r3, -1 +lbl_80299D98: +/* 80299D98 00296CF8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80299D9C 00296CFC CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80299DA0 00296D00 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 80299DA4 00296D04 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80299DA8 00296D08 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80299DAC 00296D0C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80299DB0 00296D10 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80299DB4 00296D14 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80299DB8 00296D18 7C 08 03 A6 */ mtlr r0 +/* 80299DBC 00296D1C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80299DC0 00296D20 4E 80 00 20 */ blr + +.global CalculateScanCompletionRate__13CStateManagerFv +CalculateScanCompletionRate__13CStateManagerFv: +/* 80299DC4 00296D24 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 80299DC8 00296D28 39 20 00 00 */ li r9, 0 +/* 80299DCC 00296D2C 80 CD A0 84 */ lwz r6, gpMemoryCard@sda21(r13) +/* 80299DD0 00296D30 39 40 00 00 */ li r10, 0 +/* 80299DD4 00296D34 80 E4 00 00 */ lwz r7, 0(r4) +/* 80299DD8 00296D38 39 00 00 00 */ li r8, 0 +/* 80299DDC 00296D3C 80 07 01 74 */ lwz r0, 0x174(r7) +/* 80299DE0 00296D40 7C 09 03 A6 */ mtctr r0 +/* 80299DE4 00296D44 2C 00 00 00 */ cmpwi r0, 0 +/* 80299DE8 00296D48 40 81 00 60 */ ble lbl_80299E48 +/* 80299DEC 00296D4C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +lbl_80299DF0: +/* 80299DF0 00296D50 80 86 00 2C */ lwz r4, 0x2c(r6) +/* 80299DF4 00296D54 38 08 00 04 */ addi r0, r8, 4 +/* 80299DF8 00296D58 80 A7 01 7C */ lwz r5, 0x17c(r7) +/* 80299DFC 00296D5C 7D 64 00 2E */ lwzx r11, r4, r0 +/* 80299E00 00296D60 7C 85 42 14 */ add r4, r5, r8 +/* 80299E04 00296D64 38 0B FF FF */ addi r0, r11, -1 +/* 80299E08 00296D68 28 00 00 01 */ cmplwi r0, 1 +/* 80299E0C 00296D6C 40 81 00 0C */ ble lbl_80299E18 +/* 80299E10 00296D70 28 0B 00 03 */ cmplwi r11, 3 +/* 80299E14 00296D74 40 82 00 0C */ bne lbl_80299E20 +lbl_80299E18: +/* 80299E18 00296D78 38 00 00 01 */ li r0, 1 +/* 80299E1C 00296D7C 48 00 00 08 */ b lbl_80299E24 +lbl_80299E20: +/* 80299E20 00296D80 38 00 00 00 */ li r0, 0 +lbl_80299E24: +/* 80299E24 00296D84 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80299E28 00296D88 41 82 00 18 */ beq lbl_80299E40 +/* 80299E2C 00296D8C C0 04 00 04 */ lfs f0, 4(r4) +/* 80299E30 00296D90 39 29 00 01 */ addi r9, r9, 1 +/* 80299E34 00296D94 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80299E38 00296D98 40 82 00 08 */ bne lbl_80299E40 +/* 80299E3C 00296D9C 39 4A 00 01 */ addi r10, r10, 1 +lbl_80299E40: +/* 80299E40 00296DA0 39 08 00 08 */ addi r8, r8, 8 +/* 80299E44 00296DA4 42 00 FF AC */ bdnz lbl_80299DF0 +lbl_80299E48: +/* 80299E48 00296DA8 91 43 00 00 */ stw r10, 0(r3) +/* 80299E4C 00296DAC 91 23 00 04 */ stw r9, 4(r3) +/* 80299E50 00296DB0 4E 80 00 20 */ blr + +.global IsDataLoreResearchScan__FUi +IsDataLoreResearchScan__FUi: +/* 80299E54 00296DB4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80299E58 00296DB8 7C 08 02 A6 */ mflr r0 +/* 80299E5C 00296DBC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80299E60 00296DC0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80299E64 00296DC4 89 21 00 10 */ lbz r9, 0x10(r1) +/* 80299E68 00296DC8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80299E6C 00296DCC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80299E70 00296DD0 38 C1 00 08 */ addi r6, r1, 8 +/* 80299E74 00296DD4 38 E1 00 0C */ addi r7, r1, 0xc +/* 80299E78 00296DD8 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) +/* 80299E7C 00296DDC 90 61 00 08 */ stw r3, 8(r1) +/* 80299E80 00296DE0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80299E84 00296DE4 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80299E88 00296DE8 81 1F 00 2C */ lwz r8, 0x2c(r31) +/* 80299E8C 00296DEC 54 00 18 38 */ slwi r0, r0, 3 +/* 80299E90 00296DF0 99 21 00 14 */ stb r9, 0x14(r1) +/* 80299E94 00296DF4 7D 08 02 14 */ add r8, r8, r0 +/* 80299E98 00296DF8 91 01 00 2C */ stw r8, 0x2c(r1) +/* 80299E9C 00296DFC 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80299EA0 00296E00 91 01 00 28 */ stw r8, 0x28(r1) +/* 80299EA4 00296E04 90 01 00 30 */ stw r0, 0x30(r1) +/* 80299EA8 00296E08 99 21 00 0C */ stb r9, 0xc(r1) +/* 80299EAC 00296E0C 91 01 00 24 */ stw r8, 0x24(r1) +/* 80299EB0 00296E10 90 01 00 20 */ stw r0, 0x20(r1) +/* 80299EB4 00296E14 48 00 21 85 */ bl sub_8029c038 +/* 80299EB8 00296E18 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80299EBC 00296E1C 38 80 00 00 */ li r4, 0 +/* 80299EC0 00296E20 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80299EC4 00296E24 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80299EC8 00296E28 7C 05 00 40 */ cmplw r5, r0 +/* 80299ECC 00296E2C 41 82 00 18 */ beq lbl_80299EE4 +/* 80299ED0 00296E30 80 61 00 08 */ lwz r3, 8(r1) +/* 80299ED4 00296E34 80 05 00 00 */ lwz r0, 0(r5) +/* 80299ED8 00296E38 7C 03 00 40 */ cmplw r3, r0 +/* 80299EDC 00296E3C 41 80 00 08 */ blt lbl_80299EE4 +/* 80299EE0 00296E40 38 80 00 01 */ li r4, 1 +lbl_80299EE4: +/* 80299EE4 00296E44 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80299EE8 00296E48 38 81 00 2C */ addi r4, r1, 0x2c +/* 80299EEC 00296E4C 41 82 00 08 */ beq lbl_80299EF4 +/* 80299EF0 00296E50 38 81 00 18 */ addi r4, r1, 0x18 +lbl_80299EF4: +/* 80299EF4 00296E54 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80299EF8 00296E58 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80299EFC 00296E5C 54 00 18 38 */ slwi r0, r0, 3 +/* 80299F00 00296E60 80 84 00 00 */ lwz r4, 0(r4) +/* 80299F04 00296E64 7C 03 02 14 */ add r0, r3, r0 +/* 80299F08 00296E68 7C 04 00 40 */ cmplw r4, r0 +/* 80299F0C 00296E6C 41 82 00 38 */ beq lbl_80299F44 +/* 80299F10 00296E70 80 64 00 04 */ lwz r3, 4(r4) +/* 80299F14 00296E74 38 03 FF FF */ addi r0, r3, -1 +/* 80299F18 00296E78 28 00 00 01 */ cmplwi r0, 1 +/* 80299F1C 00296E7C 40 81 00 0C */ ble lbl_80299F28 +/* 80299F20 00296E80 28 03 00 03 */ cmplwi r3, 3 +/* 80299F24 00296E84 40 82 00 0C */ bne lbl_80299F30 +lbl_80299F28: +/* 80299F28 00296E88 38 00 00 01 */ li r0, 1 +/* 80299F2C 00296E8C 48 00 00 08 */ b lbl_80299F34 +lbl_80299F30: +/* 80299F30 00296E90 38 00 00 00 */ li r0, 0 +lbl_80299F34: +/* 80299F34 00296E94 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80299F38 00296E98 41 82 00 0C */ beq lbl_80299F44 +/* 80299F3C 00296E9C 38 60 00 01 */ li r3, 1 +/* 80299F40 00296EA0 48 00 00 08 */ b lbl_80299F48 +lbl_80299F44: +/* 80299F44 00296EA4 38 60 00 00 */ li r3, 0 +lbl_80299F48: +/* 80299F48 00296EA8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80299F4C 00296EAC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80299F50 00296EB0 7C 08 03 A6 */ mtlr r0 +/* 80299F54 00296EB4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80299F58 00296EB8 4E 80 00 20 */ blr + +.global Draw__10CSlideShowFv +Draw__10CSlideShowFv: +/* 80299F5C 00296EBC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80299F60 00296EC0 7C 08 02 A6 */ mflr r0 +/* 80299F64 00296EC4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80299F68 00296EC8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80299F6C 00296ECC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80299F70 00296ED0 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80299F74 00296ED4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80299F78 00296ED8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80299F7C 00296EDC 7C 7F 1B 78 */ mr r31, r3 +/* 80299F80 00296EE0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80299F84 00296EE4 2C 00 00 05 */ cmpwi r0, 5 +/* 80299F88 00296EE8 40 82 01 48 */ bne lbl_8029A0D0 +/* 80299F8C 00296EEC 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 80299F90 00296EF0 38 80 00 00 */ li r4, 0 +/* 80299F94 00296EF4 28 03 00 00 */ cmplwi r3, 0 +/* 80299F98 00296EF8 41 82 00 24 */ beq lbl_80299FBC +/* 80299F9C 00296EFC 80 63 00 00 */ lwz r3, 0(r3) +/* 80299FA0 00296F00 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80299FA4 00296F04 28 00 00 00 */ cmplwi r0, 0 +/* 80299FA8 00296F08 41 82 00 14 */ beq lbl_80299FBC +/* 80299FAC 00296F0C 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80299FB0 00296F10 28 00 00 00 */ cmplwi r0, 0 +/* 80299FB4 00296F14 41 82 00 08 */ beq lbl_80299FBC +/* 80299FB8 00296F18 38 80 00 01 */ li r4, 1 +lbl_80299FBC: +/* 80299FBC 00296F1C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80299FC0 00296F20 41 82 00 0C */ beq lbl_80299FCC +/* 80299FC4 00296F24 38 7F 00 5C */ addi r3, r31, 0x5c +/* 80299FC8 00296F28 4B FF DB 55 */ bl sub_80297b1c +lbl_80299FCC: +/* 80299FCC 00296F2C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 80299FD0 00296F30 38 80 00 00 */ li r4, 0 +/* 80299FD4 00296F34 28 03 00 00 */ cmplwi r3, 0 +/* 80299FD8 00296F38 41 82 00 24 */ beq lbl_80299FFC +/* 80299FDC 00296F3C 80 63 00 00 */ lwz r3, 0(r3) +/* 80299FE0 00296F40 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80299FE4 00296F44 28 00 00 00 */ cmplwi r0, 0 +/* 80299FE8 00296F48 41 82 00 14 */ beq lbl_80299FFC +/* 80299FEC 00296F4C 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 80299FF0 00296F50 28 00 00 00 */ cmplwi r0, 0 +/* 80299FF4 00296F54 41 82 00 08 */ beq lbl_80299FFC +/* 80299FF8 00296F58 38 80 00 01 */ li r4, 1 +lbl_80299FFC: +/* 80299FFC 00296F5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8029A000 00296F60 41 82 00 0C */ beq lbl_8029A00C +/* 8029A004 00296F64 38 7F 00 90 */ addi r3, r31, 0x90 +/* 8029A008 00296F68 4B FF DB 15 */ bl sub_80297b1c +lbl_8029A00C: +/* 8029A00C 00296F6C 80 1F 00 C8 */ lwz r0, 0xc8(r31) +/* 8029A010 00296F70 28 00 00 00 */ cmplwi r0, 0 +/* 8029A014 00296F74 41 82 00 20 */ beq lbl_8029A034 +/* 8029A018 00296F78 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A01C 00296F7C C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 8029A020 00296F80 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 8029A024 00296F84 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8029A028 00296F88 41 82 00 0C */ beq lbl_8029A034 +/* 8029A02C 00296F8C 7F E3 FB 78 */ mr r3, r31 +/* 8029A030 00296F90 4B FF E6 B1 */ bl sub_802986e0 +lbl_8029A034: +/* 8029A034 00296F94 7F E3 FB 78 */ mr r3, r31 +/* 8029A038 00296F98 4B FF F4 61 */ bl sub_80299498 +/* 8029A03C 00296F9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A040 00296FA0 41 82 00 0C */ beq lbl_8029A04C +/* 8029A044 00296FA4 7F E3 FB 78 */ mr r3, r31 +/* 8029A048 00296FA8 4B FF E4 29 */ bl sub_80298470 +lbl_8029A04C: +/* 8029A04C 00296FAC 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A050 00296FB0 54 03 FF FF */ rlwinm. r3, r0, 0x1f, 0x1f, 0x1f +/* 8029A054 00296FB4 40 82 00 0C */ bne lbl_8029A060 +/* 8029A058 00296FB8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8029A05C 00296FBC 41 82 00 74 */ beq lbl_8029A0D0 +lbl_8029A060: +/* 8029A060 00296FC0 28 03 00 00 */ cmplwi r3, 0 +/* 8029A064 00296FC4 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029A068 00296FC8 41 82 00 10 */ beq lbl_8029A078 +/* 8029A06C 00296FCC 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A070 00296FD0 C0 03 00 54 */ lfs f0, 0x54(r3) +/* 8029A074 00296FD4 48 00 00 0C */ b lbl_8029A080 +lbl_8029A078: +/* 8029A078 00296FD8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A07C 00296FDC C0 03 00 58 */ lfs f0, 0x58(r3) +lbl_8029A080: +/* 8029A080 00296FE0 EF C1 00 24 */ fdivs f30, f1, f0 +/* 8029A084 00296FE4 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A088 00296FE8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8029A08C 00296FEC 41 82 00 0C */ beq lbl_8029A098 +/* 8029A090 00296FF0 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2) +/* 8029A094 00296FF4 EF C0 F0 28 */ fsubs f30, f0, f30 +lbl_8029A098: +/* 8029A098 00296FF8 48 0A FF 1D */ bl Black__6CColorFv +/* 8029A09C 00296FFC C0 02 C0 30 */ lfs f0, lbl_805ADD50@sda21(r2) +/* 8029A0A0 00297000 EF E0 07 B2 */ fmuls f31, f0, f30 +/* 8029A0A4 00297004 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 8029A0A8 00297008 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029A0AC 0029700C 80 E3 00 00 */ lwz r7, 0(r3) +/* 8029A0B0 00297010 38 60 00 05 */ li r3, 5 +/* 8029A0B4 00297014 88 01 00 08 */ lbz r0, 8(r1) +/* 8029A0B8 00297018 38 80 00 00 */ li r4, 0 +/* 8029A0BC 0029701C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 8029A0C0 00297020 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +/* 8029A0C4 00297024 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029A0C8 00297028 38 C0 00 00 */ li r6, 0 +/* 8029A0CC 0029702C 4B E5 20 7D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_8029A0D0: +/* 8029A0D0 00297030 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8029A0D4 00297034 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8029A0D8 00297038 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8029A0DC 0029703C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8029A0E0 00297040 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029A0E4 00297044 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029A0E8 00297048 7C 08 03 A6 */ mtlr r0 +/* 8029A0EC 0029704C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029A0F0 00297050 4E 80 00 20 */ blr + +.global OnMessage__10CSlideShowFv +OnMessage__10CSlideShowFv: +/* 8029A0F4 00297054 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8029A0F8 00297058 7C 08 02 A6 */ mflr r0 +/* 8029A0FC 0029705C 90 01 01 24 */ stw r0, 0x124(r1) +/* 8029A100 00297060 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8029A104 00297064 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8029A108 00297068 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8029A10C 0029706C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8029A110 00297070 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8029A114 00297074 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 8029A118 00297078 BF 21 00 D4 */ stmw r25, 0xd4(r1) +/* 8029A11C 0029707C 80 04 00 04 */ lwz r0, 4(r4) +/* 8029A120 00297080 7C 7F 1B 78 */ mr r31, r3 +/* 8029A124 00297084 2C 00 00 05 */ cmpwi r0, 5 +/* 8029A128 00297088 41 82 08 EC */ beq lbl_8029AA14 +/* 8029A12C 0029708C 40 80 0A 58 */ bge lbl_8029AB84 +/* 8029A130 00297090 2C 00 00 04 */ cmpwi r0, 4 +/* 8029A134 00297094 40 80 00 08 */ bge lbl_8029A13C +/* 8029A138 00297098 48 00 0A 4C */ b lbl_8029AB84 +lbl_8029A13C: +/* 8029A13C 0029709C 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A140 002970A0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8029A144 002970A4 41 82 00 0C */ beq lbl_8029A150 +/* 8029A148 002970A8 38 60 00 02 */ li r3, 2 +/* 8029A14C 002970AC 48 00 0A 3C */ b lbl_8029AB88 +lbl_8029A150: +/* 8029A150 002970B0 7C 83 23 78 */ mr r3, r4 +/* 8029A154 002970B4 4B DB 7A 69 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 8029A158 002970B8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8029A15C 002970BC C3 E3 00 04 */ lfs f31, 4(r3) +/* 8029A160 002970C0 2C 00 00 03 */ cmpwi r0, 3 +/* 8029A164 002970C4 41 82 01 10 */ beq lbl_8029A274 +/* 8029A168 002970C8 40 80 00 1C */ bge lbl_8029A184 +/* 8029A16C 002970CC 2C 00 00 01 */ cmpwi r0, 1 +/* 8029A170 002970D0 41 82 00 50 */ beq lbl_8029A1C0 +/* 8029A174 002970D4 40 80 01 5C */ bge lbl_8029A2D0 +/* 8029A178 002970D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8029A17C 002970DC 40 80 00 18 */ bge lbl_8029A194 +/* 8029A180 002970E0 48 00 0A 04 */ b lbl_8029AB84 +lbl_8029A184: +/* 8029A184 002970E4 2C 00 00 05 */ cmpwi r0, 5 +/* 8029A188 002970E8 41 82 05 48 */ beq lbl_8029A6D0 +/* 8029A18C 002970EC 40 80 09 F8 */ bge lbl_8029AB84 +/* 8029A190 002970F0 48 00 04 90 */ b lbl_8029A620 +lbl_8029A194: +/* 8029A194 002970F4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A198 002970F8 38 63 00 04 */ addi r3, r3, 4 +/* 8029A19C 002970FC 48 0A 1C 15 */ bl AreAllPaksLoaded__10CResLoaderCFv +/* 8029A1A0 00297100 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A1A4 00297104 40 82 00 14 */ bne lbl_8029A1B8 +/* 8029A1A8 00297108 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A1AC 0029710C 38 63 00 04 */ addi r3, r3, 4 +/* 8029A1B0 00297110 48 0A 1C 11 */ bl AsyncIdlePakLoading__10CResLoaderFv +/* 8029A1B4 00297114 48 00 09 D0 */ b lbl_8029AB84 +lbl_8029A1B8: +/* 8029A1B8 00297118 38 00 00 01 */ li r0, 1 +/* 8029A1BC 0029711C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A1C0: +/* 8029A1C0 00297120 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8029A1C4 00297124 2C 00 00 00 */ cmpwi r0, 0 +/* 8029A1C8 00297128 40 82 00 90 */ bne lbl_8029A258 +/* 8029A1CC 0029712C 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8029A1D0 00297130 38 80 00 05 */ li r4, 5 +/* 8029A1D4 00297134 4B E7 06 39 */ bl sub_8010a80c +/* 8029A1D8 00297138 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A1DC 0029713C 3B 40 00 01 */ li r26, 1 +/* 8029A1E0 00297140 3B 63 5C 48 */ addi r27, r3, lbl_803D5C48@l +lbl_8029A1E4: +/* 8029A1E4 00297144 80 82 BF C8 */ lwz r4, lbl_805ADCE8@sda21(r2) +/* 8029A1E8 00297148 7F 45 D3 78 */ mr r5, r26 +/* 8029A1EC 0029714C 38 7B 00 DB */ addi r3, r27, 0xdb +/* 8029A1F0 00297150 4C C6 31 82 */ crclr 6 +/* 8029A1F4 00297154 48 03 BF BD */ bl Stringize__7CBasicsFPCce +/* 8029A1F8 00297158 7C 64 1B 78 */ mr r4, r3 +/* 8029A1FC 0029715C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029A200 00297160 38 C1 00 0C */ addi r6, r1, 0xc +/* 8029A204 00297164 38 A0 FF FF */ li r5, -1 +/* 8029A208 00297168 48 0A 3F 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8029A20C 0029716C 80 81 00 50 */ lwz r4, 0x50(r1) +/* 8029A210 00297170 7F E3 FB 78 */ mr r3, r31 +/* 8029A214 00297174 48 00 09 A1 */ bl sub_8029abb4 +/* 8029A218 00297178 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A21C 0029717C 40 82 00 10 */ bne lbl_8029A22C +/* 8029A220 00297180 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029A224 00297184 48 0A 38 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029A228 00297188 48 00 00 14 */ b lbl_8029A23C +lbl_8029A22C: +/* 8029A22C 0029718C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029A230 00297190 48 0A 38 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029A234 00297194 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029A238 00297198 4B FF FF AC */ b lbl_8029A1E4 +lbl_8029A23C: +/* 8029A23C 0029719C 80 82 BF CC */ lwz r4, lbl_805ADCEC@sda21(r2) +/* 8029A240 002971A0 7F E3 FB 78 */ mr r3, r31 +/* 8029A244 002971A4 48 00 09 71 */ bl sub_8029abb4 +/* 8029A248 002971A8 7F E3 FB 78 */ mr r3, r31 +/* 8029A24C 002971AC 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8029A250 002971B0 38 A0 00 01 */ li r5, 1 +/* 8029A254 002971B4 4B FF E6 E1 */ bl sub_80298934 +lbl_8029A258: +/* 8029A258 002971B8 7F E3 FB 78 */ mr r3, r31 +/* 8029A25C 002971BC 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8029A260 002971C0 4B FF E6 95 */ bl sub_802988f4 +/* 8029A264 002971C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A268 002971C8 41 82 09 1C */ beq lbl_8029AB84 +/* 8029A26C 002971CC 38 00 00 03 */ li r0, 3 +/* 8029A270 002971D0 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A274: +/* 8029A274 002971D4 48 00 0F 61 */ bl SlideShowGalleryFlags__10CSlideShowFv +/* 8029A278 002971D8 7C 64 1B 78 */ mr r4, r3 +/* 8029A27C 002971DC 7F E3 FB 78 */ mr r3, r31 +/* 8029A280 002971E0 48 00 0A 4D */ bl sub_8029accc +/* 8029A284 002971E4 38 C0 00 00 */ li r6, 0 +/* 8029A288 002971E8 38 A0 00 00 */ li r5, 0 +/* 8029A28C 002971EC 48 00 00 24 */ b lbl_8029A2B0 +lbl_8029A290: +/* 8029A290 002971F0 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8029A294 002971F4 38 05 00 08 */ addi r0, r5, 8 +/* 8029A298 002971F8 80 9F 00 40 */ lwz r4, 0x40(r31) +/* 8029A29C 002971FC 38 A5 00 14 */ addi r5, r5, 0x14 +/* 8029A2A0 00297200 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8029A2A4 00297204 38 C6 00 01 */ addi r6, r6, 1 +/* 8029A2A8 00297208 7C 04 02 14 */ add r0, r4, r0 +/* 8029A2AC 0029720C 90 1F 00 40 */ stw r0, 0x40(r31) +lbl_8029A2B0: +/* 8029A2B0 00297210 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8029A2B4 00297214 7C 06 00 00 */ cmpw r6, r0 +/* 8029A2B8 00297218 41 80 FF D8 */ blt lbl_8029A290 +/* 8029A2BC 0029721C 7F E3 FB 78 */ mr r3, r31 +/* 8029A2C0 00297220 38 80 00 01 */ li r4, 1 +/* 8029A2C4 00297224 4B FF F4 35 */ bl sub_802996f8 +/* 8029A2C8 00297228 38 00 00 02 */ li r0, 2 +/* 8029A2CC 0029722C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A2D0: +/* 8029A2D0 00297230 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A2D4 00297234 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 8029A2D8 00297238 7C 00 20 00 */ cmpw r0, r4 +/* 8029A2DC 0029723C 41 82 02 E8 */ beq lbl_8029A5C4 +/* 8029A2E0 00297240 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8029A2E4 00297244 48 00 21 29 */ bl sub_8029c40c +/* 8029A2E8 00297248 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A2EC 0029724C 3B 80 00 00 */ li r28, 0 +/* 8029A2F0 00297250 3B C3 5C 48 */ addi r30, r3, lbl_803D5C48@l +/* 8029A2F4 00297254 3B A0 00 00 */ li r29, 0 +/* 8029A2F8 00297258 48 00 02 08 */ b lbl_8029A500 +lbl_8029A2FC: +/* 8029A2FC 0029725C 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 8029A300 00297260 38 7E 00 E7 */ addi r3, r30, 0xe7 +/* 8029A304 00297264 80 82 BF D0 */ lwz r4, lbl_805ADCF0@sda21(r2) +/* 8029A308 00297268 7C A5 E8 2E */ lwzx r5, r5, r29 +/* 8029A30C 0029726C 38 A5 00 01 */ addi r5, r5, 1 +/* 8029A310 00297270 4C C6 31 82 */ crclr 6 +/* 8029A314 00297274 48 03 BE 9D */ bl Stringize__7CBasicsFPCce +/* 8029A318 00297278 7C 60 1B 78 */ mr r0, r3 +/* 8029A31C 0029727C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A320 00297280 7C 04 03 78 */ mr r4, r0 +/* 8029A324 00297284 81 83 00 00 */ lwz r12, 0(r3) +/* 8029A328 00297288 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029A32C 0029728C 7D 89 03 A6 */ mtctr r12 +/* 8029A330 00297290 4E 80 04 21 */ bctrl +/* 8029A334 00297294 7C 79 1B 79 */ or. r25, r3, r3 +/* 8029A338 00297298 40 82 00 A0 */ bne lbl_8029A3D8 +/* 8029A33C 0029729C 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A340 002972A0 38 60 00 00 */ li r3, 0 +/* 8029A344 002972A4 80 BF 00 D8 */ lwz r5, 0xd8(r31) +/* 8029A348 002972A8 98 61 00 38 */ stb r3, 0x38(r1) +/* 8029A34C 002972AC 7C 00 28 00 */ cmpw r0, r5 +/* 8029A350 002972B0 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8029A354 002972B4 41 80 00 1C */ blt lbl_8029A370 +/* 8029A358 002972B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8029A35C 002972BC 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8029A360 002972C0 38 80 00 04 */ li r4, 4 +/* 8029A364 002972C4 41 82 00 08 */ beq lbl_8029A36C +/* 8029A368 002972C8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029A36C: +/* 8029A36C 002972CC 48 00 20 A1 */ bl sub_8029c40c +lbl_8029A370: +/* 8029A370 002972D0 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A374 002972D4 80 7F 00 DC */ lwz r3, 0xdc(r31) +/* 8029A378 002972D8 54 00 18 38 */ slwi r0, r0, 3 +/* 8029A37C 002972DC 7C A3 02 15 */ add. r5, r3, r0 +/* 8029A380 002972E0 41 82 00 1C */ beq lbl_8029A39C +/* 8029A384 002972E4 88 81 00 38 */ lbz r4, 0x38(r1) +/* 8029A388 002972E8 38 00 00 00 */ li r0, 0 +/* 8029A38C 002972EC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8029A390 002972F0 98 85 00 00 */ stb r4, 0(r5) +/* 8029A394 002972F4 90 65 00 04 */ stw r3, 4(r5) +/* 8029A398 002972F8 98 01 00 38 */ stb r0, 0x38(r1) +lbl_8029A39C: +/* 8029A39C 002972FC 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8029A3A0 00297300 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8029A3A4 00297304 38 63 00 01 */ addi r3, r3, 1 +/* 8029A3A8 00297308 28 00 00 00 */ cmplwi r0, 0 +/* 8029A3AC 0029730C 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 8029A3B0 00297310 41 82 01 48 */ beq lbl_8029A4F8 +/* 8029A3B4 00297314 83 61 00 3C */ lwz r27, 0x3c(r1) +/* 8029A3B8 00297318 28 1B 00 00 */ cmplwi r27, 0 +/* 8029A3BC 0029731C 41 82 01 3C */ beq lbl_8029A4F8 +/* 8029A3C0 00297320 7F 63 DB 78 */ mr r3, r27 +/* 8029A3C4 00297324 38 80 00 00 */ li r4, 0 +/* 8029A3C8 00297328 48 0A 6A 79 */ bl __dt__6CTokenFv +/* 8029A3CC 0029732C 7F 63 DB 78 */ mr r3, r27 +/* 8029A3D0 00297330 48 07 B5 61 */ bl Free__7CMemoryFPCv +/* 8029A3D4 00297334 48 00 01 24 */ b lbl_8029A4F8 +lbl_8029A3D8: +/* 8029A3D8 00297338 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A3DC 0029733C 3B 60 00 00 */ li r27, 0 +/* 8029A3E0 00297340 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l +/* 8029A3E4 00297344 38 60 00 08 */ li r3, 8 +/* 8029A3E8 00297348 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029A3EC 0029734C 38 A0 00 00 */ li r5, 0 +/* 8029A3F0 00297350 48 07 B4 7D */ bl __nw__FUlPCcPCc +/* 8029A3F4 00297354 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8029A3F8 00297358 41 82 00 30 */ beq lbl_8029A428 +/* 8029A3FC 0029735C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029A400 00297360 7F 25 CB 78 */ mr r5, r25 +/* 8029A404 00297364 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029A408 00297368 81 84 00 00 */ lwz r12, 0(r4) +/* 8029A40C 0029736C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029A410 00297370 7D 89 03 A6 */ mtctr r12 +/* 8029A414 00297374 4E 80 04 21 */ bctrl +/* 8029A418 00297378 7F 43 D3 78 */ mr r3, r26 +/* 8029A41C 0029737C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8029A420 00297380 3B 60 00 01 */ li r27, 1 +/* 8029A424 00297384 48 0A 6A 85 */ bl __ct__6CTokenFRC6CToken +lbl_8029A428: +/* 8029A428 00297388 7C 7A 00 D0 */ neg r3, r26 +/* 8029A42C 0029738C 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A430 00297390 80 BF 00 D8 */ lwz r5, 0xd8(r31) +/* 8029A434 00297394 7C 63 D3 78 */ or r3, r3, r26 +/* 8029A438 00297398 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8029A43C 0029739C 93 41 00 2C */ stw r26, 0x2c(r1) +/* 8029A440 002973A0 7C 00 28 00 */ cmpw r0, r5 +/* 8029A444 002973A4 98 61 00 28 */ stb r3, 0x28(r1) +/* 8029A448 002973A8 41 80 00 1C */ blt lbl_8029A464 +/* 8029A44C 002973AC 2C 05 00 00 */ cmpwi r5, 0 +/* 8029A450 002973B0 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8029A454 002973B4 38 80 00 04 */ li r4, 4 +/* 8029A458 002973B8 41 82 00 08 */ beq lbl_8029A460 +/* 8029A45C 002973BC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029A460: +/* 8029A460 002973C0 48 00 1F AD */ bl sub_8029c40c +lbl_8029A464: +/* 8029A464 002973C4 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A468 002973C8 80 7F 00 DC */ lwz r3, 0xdc(r31) +/* 8029A46C 002973CC 54 00 18 38 */ slwi r0, r0, 3 +/* 8029A470 002973D0 7C A3 02 15 */ add. r5, r3, r0 +/* 8029A474 002973D4 41 82 00 1C */ beq lbl_8029A490 +/* 8029A478 002973D8 88 81 00 28 */ lbz r4, 0x28(r1) +/* 8029A47C 002973DC 38 00 00 00 */ li r0, 0 +/* 8029A480 002973E0 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8029A484 002973E4 98 85 00 00 */ stb r4, 0(r5) +/* 8029A488 002973E8 90 65 00 04 */ stw r3, 4(r5) +/* 8029A48C 002973EC 98 01 00 28 */ stb r0, 0x28(r1) +lbl_8029A490: +/* 8029A490 002973F0 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8029A494 002973F4 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8029A498 002973F8 38 63 00 01 */ addi r3, r3, 1 +/* 8029A49C 002973FC 28 00 00 00 */ cmplwi r0, 0 +/* 8029A4A0 00297400 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 8029A4A4 00297404 41 82 00 24 */ beq lbl_8029A4C8 +/* 8029A4A8 00297408 83 41 00 2C */ lwz r26, 0x2c(r1) +/* 8029A4AC 0029740C 28 1A 00 00 */ cmplwi r26, 0 +/* 8029A4B0 00297410 41 82 00 18 */ beq lbl_8029A4C8 +/* 8029A4B4 00297414 7F 43 D3 78 */ mr r3, r26 +/* 8029A4B8 00297418 38 80 00 00 */ li r4, 0 +/* 8029A4BC 0029741C 48 0A 69 85 */ bl __dt__6CTokenFv +/* 8029A4C0 00297420 7F 43 D3 78 */ mr r3, r26 +/* 8029A4C4 00297424 48 07 B4 6D */ bl Free__7CMemoryFPCv +lbl_8029A4C8: +/* 8029A4C8 00297428 7F 60 07 75 */ extsb. r0, r27 +/* 8029A4CC 0029742C 41 82 00 10 */ beq lbl_8029A4DC +/* 8029A4D0 00297430 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029A4D4 00297434 38 80 FF FF */ li r4, -1 +/* 8029A4D8 00297438 48 0A 69 69 */ bl __dt__6CTokenFv +lbl_8029A4DC: +/* 8029A4DC 0029743C 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8029A4E0 00297440 80 9F 00 DC */ lwz r4, 0xdc(r31) +/* 8029A4E4 00297444 38 03 FF FF */ addi r0, r3, -1 +/* 8029A4E8 00297448 54 03 18 38 */ slwi r3, r0, 3 +/* 8029A4EC 0029744C 38 03 00 04 */ addi r0, r3, 4 +/* 8029A4F0 00297450 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8029A4F4 00297454 48 0A 68 91 */ bl Lock__6CTokenFv +lbl_8029A4F8: +/* 8029A4F8 00297458 3B BD 00 14 */ addi r29, r29, 0x14 +/* 8029A4FC 0029745C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8029A500: +/* 8029A500 00297460 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8029A504 00297464 7C 1C 00 00 */ cmpw r28, r0 +/* 8029A508 00297468 41 80 FD F4 */ blt lbl_8029A2FC +/* 8029A50C 0029746C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8029A510 00297470 28 00 00 00 */ cmplwi r0, 0 +/* 8029A514 00297474 40 82 00 B0 */ bne lbl_8029A5C4 +/* 8029A518 00297478 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A51C 0029747C 80 82 BF D4 */ lwz r4, lbl_805ADCF4@sda21(r2) +/* 8029A520 00297480 81 83 00 00 */ lwz r12, 0(r3) +/* 8029A524 00297484 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029A528 00297488 7D 89 03 A6 */ mtctr r12 +/* 8029A52C 0029748C 4E 80 04 21 */ bctrl +/* 8029A530 00297490 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029A534 00297494 7C 79 1B 78 */ mr r25, r3 +/* 8029A538 00297498 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029A53C 0029749C 3B 80 00 00 */ li r28, 0 +/* 8029A540 002974A0 38 60 00 08 */ li r3, 8 +/* 8029A544 002974A4 38 A0 00 00 */ li r5, 0 +/* 8029A548 002974A8 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029A54C 002974AC 48 07 B3 21 */ bl __nw__FUlPCcPCc +/* 8029A550 002974B0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8029A554 002974B4 41 82 00 30 */ beq lbl_8029A584 +/* 8029A558 002974B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029A55C 002974BC 7F 25 CB 78 */ mr r5, r25 +/* 8029A560 002974C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029A564 002974C4 81 84 00 00 */ lwz r12, 0(r4) +/* 8029A568 002974C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029A56C 002974CC 7D 89 03 A6 */ mtctr r12 +/* 8029A570 002974D0 4E 80 04 21 */ bctrl +/* 8029A574 002974D4 7F 43 D3 78 */ mr r3, r26 +/* 8029A578 002974D8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8029A57C 002974DC 3B 80 00 01 */ li r28, 1 +/* 8029A580 002974E0 48 0A 69 29 */ bl __ct__6CTokenFRC6CToken +lbl_8029A584: +/* 8029A584 002974E4 83 7F 00 38 */ lwz r27, 0x38(r31) +/* 8029A588 002974E8 28 1B 00 00 */ cmplwi r27, 0 +/* 8029A58C 002974EC 41 82 00 18 */ beq lbl_8029A5A4 +/* 8029A590 002974F0 7F 63 DB 78 */ mr r3, r27 +/* 8029A594 002974F4 38 80 00 00 */ li r4, 0 +/* 8029A598 002974F8 48 0A 68 A9 */ bl __dt__6CTokenFv +/* 8029A59C 002974FC 7F 63 DB 78 */ mr r3, r27 +/* 8029A5A0 00297500 48 07 B3 91 */ bl Free__7CMemoryFPCv +lbl_8029A5A4: +/* 8029A5A4 00297504 7F 80 07 75 */ extsb. r0, r28 +/* 8029A5A8 00297508 93 5F 00 38 */ stw r26, 0x38(r31) +/* 8029A5AC 0029750C 41 82 00 10 */ beq lbl_8029A5BC +/* 8029A5B0 00297510 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029A5B4 00297514 38 80 FF FF */ li r4, -1 +/* 8029A5B8 00297518 48 0A 68 89 */ bl __dt__6CTokenFv +lbl_8029A5BC: +/* 8029A5BC 0029751C 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8029A5C0 00297520 48 0A 67 C5 */ bl Lock__6CTokenFv +lbl_8029A5C4: +/* 8029A5C4 00297524 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8029A5C8 00297528 80 63 00 00 */ lwz r3, 0(r3) +/* 8029A5CC 0029752C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029A5D0 00297530 28 00 00 00 */ cmplwi r0, 0 +/* 8029A5D4 00297534 41 82 05 B0 */ beq lbl_8029AB84 +/* 8029A5D8 00297538 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A5DC 0029753C 38 80 00 00 */ li r4, 0 +/* 8029A5E0 00297540 7C 09 03 A6 */ mtctr r0 +/* 8029A5E4 00297544 2C 00 00 00 */ cmpwi r0, 0 +/* 8029A5E8 00297548 40 81 00 30 */ ble lbl_8029A618 +lbl_8029A5EC: +/* 8029A5EC 0029754C 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8029A5F0 00297550 7C 60 22 14 */ add r3, r0, r4 +/* 8029A5F4 00297554 80 63 00 04 */ lwz r3, 4(r3) +/* 8029A5F8 00297558 28 03 00 00 */ cmplwi r3, 0 +/* 8029A5FC 0029755C 41 82 00 14 */ beq lbl_8029A610 +/* 8029A600 00297560 80 63 00 00 */ lwz r3, 0(r3) +/* 8029A604 00297564 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029A608 00297568 28 00 00 00 */ cmplwi r0, 0 +/* 8029A60C 0029756C 41 82 00 0C */ beq lbl_8029A618 +lbl_8029A610: +/* 8029A610 00297570 38 84 00 08 */ addi r4, r4, 8 +/* 8029A614 00297574 42 00 FF D8 */ bdnz lbl_8029A5EC +lbl_8029A618: +/* 8029A618 00297578 38 00 00 04 */ li r0, 4 +/* 8029A61C 0029757C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A620: +/* 8029A620 00297580 80 1F 00 CC */ lwz r0, 0xcc(r31) +/* 8029A624 00297584 28 00 00 00 */ cmplwi r0, 0 +/* 8029A628 00297588 40 82 00 78 */ bne lbl_8029A6A0 +/* 8029A62C 0029758C 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A630 00297590 3B 20 00 00 */ li r25, 0 +/* 8029A634 00297594 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l +/* 8029A638 00297598 38 60 00 C4 */ li r3, 0xc4 +/* 8029A63C 0029759C 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029A640 002975A0 38 A0 00 00 */ li r5, 0 +/* 8029A644 002975A4 48 07 B2 29 */ bl __nw__FUlPCcPCc +/* 8029A648 002975A8 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8029A64C 002975AC 41 82 00 34 */ beq lbl_8029A680 +/* 8029A650 002975B0 80 82 BF D8 */ lwz r4, lbl_805ADCF8@sda21(r2) +/* 8029A654 002975B4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8029A658 002975B8 4B D6 A6 61 */ bl string_l__4rstlFPCc +/* 8029A65C 002975BC 3C A0 00 06 */ lis r5, 0x00065AF0@ha +/* 8029A660 002975C0 3C C0 00 1E */ lis r6, 0x001E1DB0@ha +/* 8029A664 002975C4 7F 43 D3 78 */ mr r3, r26 +/* 8029A668 002975C8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8029A66C 002975CC 38 A5 5A F0 */ addi r5, r5, 0x00065AF0@l +/* 8029A670 002975D0 38 C6 1D B0 */ addi r6, r6, 0x001E1DB0@l +/* 8029A674 002975D4 3B 20 00 01 */ li r25, 1 +/* 8029A678 002975D8 48 0D 1C 61 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii +/* 8029A67C 002975DC 7C 7A 1B 78 */ mr r26, r3 +lbl_8029A680: +/* 8029A680 002975E0 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8029A684 002975E4 38 80 00 01 */ li r4, 1 +/* 8029A688 002975E8 48 0D 1A D1 */ bl __dt__18CStaticAudioPlayer +/* 8029A68C 002975EC 7F 20 07 75 */ extsb. r0, r25 +/* 8029A690 002975F0 93 5F 00 CC */ stw r26, 0xcc(r31) +/* 8029A694 002975F4 41 82 00 0C */ beq lbl_8029A6A0 +/* 8029A698 002975F8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8029A69C 002975FC 48 0A 34 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029A6A0: +/* 8029A6A0 00297600 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8029A6A4 00297604 48 0D 1A 61 */ bl IsReady__18CStaticAudioPlayer +/* 8029A6A8 00297608 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A6AC 0029760C 41 82 04 D8 */ beq lbl_8029AB84 +/* 8029A6B0 00297610 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029A6B4 00297614 7F E3 FB 78 */ mr r3, r31 +/* 8029A6B8 00297618 C0 24 00 58 */ lfs f1, 0x58(r4) +/* 8029A6BC 0029761C 4B FF E3 71 */ bl sub_80298a2c +/* 8029A6C0 00297620 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8029A6C4 00297624 48 0D 19 6D */ bl StartMixOut__18CStaticAudioPlayerFv +/* 8029A6C8 00297628 38 00 00 05 */ li r0, 5 +/* 8029A6CC 0029762C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A6D0: +/* 8029A6D0 00297630 88 7F 01 34 */ lbz r3, 0x134(r31) +/* 8029A6D4 00297634 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 8029A6D8 00297638 40 82 00 0C */ bne lbl_8029A6E4 +/* 8029A6DC 0029763C 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 8029A6E0 00297640 41 82 00 84 */ beq lbl_8029A764 +lbl_8029A6E4: +/* 8029A6E4 00297644 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029A6E8 00297648 C0 0D 99 D0 */ lfs f0, lbl_805A8590@sda21(r13) +/* 8029A6EC 0029764C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8029A6F0 00297650 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8029A6F4 00297654 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8029A6F8 00297658 40 80 00 0C */ bge lbl_8029A704 +/* 8029A6FC 0029765C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029A700 00297660 48 00 00 08 */ b lbl_8029A708 +lbl_8029A704: +/* 8029A704 00297664 38 6D 99 D0 */ addi r3, r13, lbl_805A8590@sda21 +lbl_8029A708: +/* 8029A708 00297668 C0 23 00 00 */ lfs f1, 0(r3) +/* 8029A70C 0029766C C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A710 00297670 D0 3F 01 30 */ stfs f1, 0x130(r31) +/* 8029A714 00297674 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029A718 00297678 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029A71C 0029767C 4C 40 13 82 */ cror 2, 0, 2 +/* 8029A720 00297680 40 82 00 44 */ bne lbl_8029A764 +/* 8029A724 00297684 88 9F 01 34 */ lbz r4, 0x134(r31) +/* 8029A728 00297688 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 8029A72C 0029768C 41 82 00 14 */ beq lbl_8029A740 +/* 8029A730 00297690 38 00 00 01 */ li r0, 1 +/* 8029A734 00297694 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d +/* 8029A738 00297698 98 9F 01 34 */ stb r4, 0x134(r31) +/* 8029A73C 0029769C 48 00 00 28 */ b lbl_8029A764 +lbl_8029A740: +/* 8029A740 002976A0 38 60 00 00 */ li r3, 0 +/* 8029A744 002976A4 50 64 0F BC */ rlwimi r4, r3, 1, 0x1e, 0x1e +/* 8029A748 002976A8 98 9F 01 34 */ stb r4, 0x134(r31) +/* 8029A74C 002976AC 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A750 002976B0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8029A754 002976B4 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029A758 002976B8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A75C 002976BC C0 03 00 58 */ lfs f0, 0x58(r3) +/* 8029A760 002976C0 D0 1F 01 30 */ stfs f0, 0x130(r31) +lbl_8029A764: +/* 8029A764 002976C4 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8029A768 002976C8 48 0A 66 A5 */ bl GetObj__6CTokenFv +/* 8029A76C 002976CC 80 63 00 04 */ lwz r3, 4(r3) +/* 8029A770 002976D0 38 80 00 00 */ li r4, 0 +/* 8029A774 002976D4 48 0B AE C1 */ bl Touch__6CModelCFi +/* 8029A778 002976D8 7F E3 FB 78 */ mr r3, r31 +/* 8029A77C 002976DC 4B FF ED 79 */ bl sub_802994f4 +/* 8029A780 002976E0 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029A784 002976E4 38 80 00 00 */ li r4, 0 +/* 8029A788 002976E8 28 03 00 00 */ cmplwi r3, 0 +/* 8029A78C 002976EC 41 82 00 24 */ beq lbl_8029A7B0 +/* 8029A790 002976F0 80 63 00 00 */ lwz r3, 0(r3) +/* 8029A794 002976F4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029A798 002976F8 28 00 00 00 */ cmplwi r0, 0 +/* 8029A79C 002976FC 41 82 00 14 */ beq lbl_8029A7B0 +/* 8029A7A0 00297700 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 8029A7A4 00297704 28 00 00 00 */ cmplwi r0, 0 +/* 8029A7A8 00297708 41 82 00 08 */ beq lbl_8029A7B0 +/* 8029A7AC 0029770C 38 80 00 01 */ li r4, 1 +lbl_8029A7B0: +/* 8029A7B0 00297710 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8029A7B4 00297714 41 82 01 58 */ beq lbl_8029A90C +/* 8029A7B8 00297718 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A7BC 0029771C C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 8029A7C0 00297720 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8029A7C4 00297724 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8029A7C8 00297728 40 81 00 EC */ ble lbl_8029A8B4 +/* 8029A7CC 0029772C 80 9F 00 90 */ lwz r4, 0x90(r31) +/* 8029A7D0 00297730 38 7F 00 9C */ addi r3, r31, 0x9c +/* 8029A7D4 00297734 38 1F 00 68 */ addi r0, r31, 0x68 +/* 8029A7D8 00297738 90 9F 00 5C */ stw r4, 0x5c(r31) +/* 8029A7DC 0029773C 7C 03 00 40 */ cmplw r3, r0 +/* 8029A7E0 00297740 80 1F 00 94 */ lwz r0, 0x94(r31) +/* 8029A7E4 00297744 90 1F 00 60 */ stw r0, 0x60(r31) +/* 8029A7E8 00297748 80 1F 00 98 */ lwz r0, 0x98(r31) +/* 8029A7EC 0029774C 90 1F 00 64 */ stw r0, 0x64(r31) +/* 8029A7F0 00297750 41 82 00 48 */ beq lbl_8029A838 +/* 8029A7F4 00297754 88 1F 00 68 */ lbz r0, 0x68(r31) +/* 8029A7F8 00297758 28 00 00 00 */ cmplwi r0, 0 +/* 8029A7FC 0029775C 41 82 00 24 */ beq lbl_8029A820 +/* 8029A800 00297760 83 5F 00 6C */ lwz r26, 0x6c(r31) +/* 8029A804 00297764 28 1A 00 00 */ cmplwi r26, 0 +/* 8029A808 00297768 41 82 00 18 */ beq lbl_8029A820 +/* 8029A80C 0029776C 7F 43 D3 78 */ mr r3, r26 +/* 8029A810 00297770 38 80 00 00 */ li r4, 0 +/* 8029A814 00297774 48 0A 66 2D */ bl __dt__6CTokenFv +/* 8029A818 00297778 7F 43 D3 78 */ mr r3, r26 +/* 8029A81C 0029777C 48 07 B1 15 */ bl Free__7CMemoryFPCv +lbl_8029A820: +/* 8029A820 00297780 88 7F 00 9C */ lbz r3, 0x9c(r31) +/* 8029A824 00297784 38 00 00 00 */ li r0, 0 +/* 8029A828 00297788 98 7F 00 68 */ stb r3, 0x68(r31) +/* 8029A82C 0029778C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029A830 00297790 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 8029A834 00297794 98 1F 00 9C */ stb r0, 0x9c(r31) +lbl_8029A838: +/* 8029A838 00297798 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 8029A83C 0029779C 7F E3 FB 78 */ mr r3, r31 +/* 8029A840 002977A0 38 80 00 00 */ li r4, 0 +/* 8029A844 002977A4 98 1F 00 70 */ stb r0, 0x70(r31) +/* 8029A848 002977A8 80 BF 00 A8 */ lwz r5, 0xa8(r31) +/* 8029A84C 002977AC 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 8029A850 002977B0 90 BF 00 74 */ stw r5, 0x74(r31) +/* 8029A854 002977B4 90 1F 00 78 */ stw r0, 0x78(r31) +/* 8029A858 002977B8 80 BF 00 B0 */ lwz r5, 0xb0(r31) +/* 8029A85C 002977BC 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 8029A860 002977C0 90 BF 00 7C */ stw r5, 0x7c(r31) +/* 8029A864 002977C4 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8029A868 002977C8 80 BF 00 B8 */ lwz r5, 0xb8(r31) +/* 8029A86C 002977CC 80 1F 00 BC */ lwz r0, 0xbc(r31) +/* 8029A870 002977D0 90 BF 00 84 */ stw r5, 0x84(r31) +/* 8029A874 002977D4 90 1F 00 88 */ stw r0, 0x88(r31) +/* 8029A878 002977D8 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 8029A87C 002977DC 90 1F 00 8C */ stw r0, 0x8c(r31) +/* 8029A880 002977E0 4B FF E2 D5 */ bl sub_80298b54 +/* 8029A884 002977E4 7F E3 FB 78 */ mr r3, r31 +/* 8029A888 002977E8 38 80 00 00 */ li r4, 0 +/* 8029A88C 002977EC 4B FF E2 45 */ bl sub_80298ad0 +/* 8029A890 002977F0 C3 C2 C0 30 */ lfs f30, lbl_805ADD50@sda21(r2) +/* 8029A894 002977F4 F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 +/* 8029A898 002977F8 38 7F 00 90 */ addi r3, r31, 0x90 +/* 8029A89C 002977FC 88 01 00 0A */ lbz r0, 0xa(r1) +/* 8029A8A0 00297800 98 1F 00 8F */ stb r0, 0x8f(r31) +/* 8029A8A4 00297804 4B FF D1 49 */ bl sub_802979ec +/* 8029A8A8 00297808 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A8AC 0029780C D0 1F 00 4C */ stfs f0, 0x4c(r31) +/* 8029A8B0 00297810 48 00 00 98 */ b lbl_8029A948 +lbl_8029A8B4: +/* 8029A8B4 00297814 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8029A8B8 00297818 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029A8BC 0029781C 38 6D 99 D4 */ addi r3, r13, lbl_805A8594@sda21 +/* 8029A8C0 00297820 38 AD 99 D8 */ addi r5, r13, lbl_805A8598@sda21 +/* 8029A8C4 00297824 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8029A8C8 00297828 4B D7 19 ED */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8029A8CC 0029782C C0 43 00 00 */ lfs f2, 0(r3) +/* 8029A8D0 00297830 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2) +/* 8029A8D4 00297834 C0 22 C0 30 */ lfs f1, lbl_805ADD50@sda21(r2) +/* 8029A8D8 00297838 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8029A8DC 0029783C EF C1 00 32 */ fmuls f30, f1, f0 +/* 8029A8E0 00297840 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 8029A8E4 00297844 EF A1 00 B2 */ fmuls f29, f1, f2 +/* 8029A8E8 00297848 88 01 00 09 */ lbz r0, 9(r1) +/* 8029A8EC 0029784C 98 1F 00 8F */ stb r0, 0x8f(r31) +/* 8029A8F0 00297850 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 8029A8F4 00297854 88 01 00 08 */ lbz r0, 8(r1) +/* 8029A8F8 00297858 98 1F 00 C3 */ stb r0, 0xc3(r31) +/* 8029A8FC 0029785C C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 8029A900 00297860 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029A904 00297864 D0 1F 00 4C */ stfs f0, 0x4c(r31) +/* 8029A908 00297868 48 00 00 40 */ b lbl_8029A948 +lbl_8029A90C: +/* 8029A90C 0029786C C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 8029A910 00297870 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A914 00297874 FC 20 12 10 */ fabs f1, f2 +/* 8029A918 00297878 C0 03 00 3C */ lfs f0, 0x3c(r3) +/* 8029A91C 0029787C FC 20 08 18 */ frsp f1, f1 +/* 8029A920 00297880 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029A924 00297884 40 81 00 24 */ ble lbl_8029A948 +/* 8029A928 00297888 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A92C 0029788C 7F E3 FB 78 */ mr r3, r31 +/* 8029A930 00297890 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8029A934 00297894 7C 00 00 26 */ mfcr r0 +/* 8029A938 00297898 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f +/* 8029A93C 0029789C 4B FF ED BD */ bl sub_802996f8 +/* 8029A940 002978A0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A944 002978A4 D0 1F 00 50 */ stfs f0, 0x50(r31) +lbl_8029A948: +/* 8029A948 002978A8 7F E3 FB 78 */ mr r3, r31 +/* 8029A94C 002978AC 4B FF EB 4D */ bl sub_80299498 +/* 8029A950 002978B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A954 002978B4 41 82 00 0C */ beq lbl_8029A960 +/* 8029A958 002978B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029A95C 002978BC 48 00 00 0C */ b lbl_8029A968 +lbl_8029A960: +/* 8029A960 002978C0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A964 002978C4 C0 23 00 4C */ lfs f1, 0x4c(r3) +lbl_8029A968: +/* 8029A968 002978C8 C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 8029A96C 002978CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029A970 002978D0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8029A974 002978D4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8029A978 002978D8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029A97C 002978DC 38 6D 99 DC */ addi r3, r13, lbl_805A859C@sda21 +/* 8029A980 002978E0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8029A984 002978E4 4B D7 19 31 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8029A988 002978E8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029A98C 002978EC D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 8029A990 002978F0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A994 002978F4 C0 3F 00 54 */ lfs f1, 0x54(r31) +/* 8029A998 002978F8 C0 03 00 4C */ lfs f0, 0x4c(r3) +/* 8029A99C 002978FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029A9A0 00297900 4C 41 13 82 */ cror 2, 1, 2 +/* 8029A9A4 00297904 40 82 00 14 */ bne lbl_8029A9B8 +/* 8029A9A8 00297908 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8029A9AC 0029790C EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029A9B0 00297910 D0 1F 00 58 */ stfs f0, 0x58(r31) +/* 8029A9B4 00297914 48 00 00 10 */ b lbl_8029A9C4 +lbl_8029A9B8: +/* 8029A9B8 00297918 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8029A9BC 0029791C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8029A9C0 00297920 D0 1F 00 58 */ stfs f0, 0x58(r31) +lbl_8029A9C4: +/* 8029A9C4 00297924 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 8029A9C8 00297928 38 9F 00 58 */ addi r4, r31, 0x58 +/* 8029A9CC 0029792C 38 6D 99 E0 */ addi r3, r13, lbl_805A85A0@sda21 +/* 8029A9D0 00297930 38 A5 00 50 */ addi r5, r5, 0x50 +/* 8029A9D4 00297934 4B D7 18 E1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8029A9D8 00297938 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029A9DC 0029793C FC 20 F8 90 */ fmr f1, f31 +/* 8029A9E0 00297940 7F E3 FB 78 */ mr r3, r31 +/* 8029A9E4 00297944 D0 1F 00 58 */ stfs f0, 0x58(r31) +/* 8029A9E8 00297948 4B FF E8 6D */ bl sub_80299254 +/* 8029A9EC 0029794C FC 20 F8 90 */ fmr f1, f31 +/* 8029A9F0 00297950 7F E3 FB 78 */ mr r3, r31 +/* 8029A9F4 00297954 4B FF DB 69 */ bl sub_8029855c +/* 8029A9F8 00297958 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A9FC 0029795C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8029AA00 00297960 41 82 01 84 */ beq lbl_8029AB84 +/* 8029AA04 00297964 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029AA08 00297968 7F E3 FB 78 */ mr r3, r31 +/* 8029AA0C 0029796C 4B FF E0 21 */ bl sub_80298a2c +/* 8029AA10 00297970 48 00 01 74 */ b lbl_8029AB84 +lbl_8029AA14: +/* 8029AA14 00297974 7C 83 23 78 */ mr r3, r4 +/* 8029AA18 00297978 4B DB 70 CD */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +/* 8029AA1C 0029797C 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 8029AA20 00297980 3C 80 80 3E */ lis r4, lbl_803D9810@ha +/* 8029AA24 00297984 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l +/* 8029AA28 00297988 90 01 00 90 */ stw r0, 0x90(r1) +/* 8029AA2C 0029798C 38 04 98 10 */ addi r0, r4, lbl_803D9810@l +/* 8029AA30 00297990 90 01 00 90 */ stw r0, 0x90(r1) +/* 8029AA34 00297994 C0 03 00 04 */ lfs f0, 4(r3) +/* 8029AA38 00297998 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8029AA3C 0029799C 80 03 00 08 */ lwz r0, 8(r3) +/* 8029AA40 002979A0 90 01 00 98 */ stw r0, 0x98(r1) +/* 8029AA44 002979A4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8029AA48 002979A8 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8029AA4C 002979AC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8029AA50 002979B0 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8029AA54 002979B4 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8029AA58 002979B8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8029AA5C 002979BC C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8029AA60 002979C0 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8029AA64 002979C4 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8029AA68 002979C8 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8029AA6C 002979CC C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8029AA70 002979D0 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8029AA74 002979D4 88 03 00 24 */ lbz r0, 0x24(r3) +/* 8029AA78 002979D8 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 8029AA7C 002979DC 88 03 00 25 */ lbz r0, 0x25(r3) +/* 8029AA80 002979E0 98 01 00 B5 */ stb r0, 0xb5(r1) +/* 8029AA84 002979E4 88 03 00 26 */ lbz r0, 0x26(r3) +/* 8029AA88 002979E8 98 01 00 B6 */ stb r0, 0xb6(r1) +/* 8029AA8C 002979EC 88 03 00 27 */ lbz r0, 0x27(r3) +/* 8029AA90 002979F0 98 01 00 B7 */ stb r0, 0xb7(r1) +/* 8029AA94 002979F4 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8029AA98 002979F8 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8029AA9C 002979FC C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 8029AAA0 00297A00 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8029AAA4 00297A04 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8029AAA8 00297A08 98 01 00 C0 */ stb r0, 0xc0(r1) +/* 8029AAAC 00297A0C 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8029AAB0 00297A10 98 01 00 C1 */ stb r0, 0xc1(r1) +/* 8029AAB4 00297A14 88 03 00 32 */ lbz r0, 0x32(r3) +/* 8029AAB8 00297A18 38 61 00 90 */ addi r3, r1, 0x90 +/* 8029AABC 00297A1C 98 01 00 C2 */ stb r0, 0xc2(r1) +/* 8029AAC0 00297A20 4B D8 0F 25 */ bl GetUserInput__21CArchMsgParmUserInputCFv +/* 8029AAC4 00297A24 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029AAC8 00297A28 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8029AACC 00297A2C 80 03 00 04 */ lwz r0, 4(r3) +/* 8029AAD0 00297A30 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029AAD4 00297A34 2C 00 00 00 */ cmpwi r0, 0 +/* 8029AAD8 00297A38 C0 03 00 08 */ lfs f0, 8(r3) +/* 8029AADC 00297A3C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8029AAE0 00297A40 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8029AAE4 00297A44 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8029AAE8 00297A48 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8029AAEC 00297A4C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8029AAF0 00297A50 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8029AAF4 00297A54 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8029AAF8 00297A58 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8029AAFC 00297A5C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8029AB00 00297A60 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8029AB04 00297A64 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8029AB08 00297A68 88 03 00 20 */ lbz r0, 0x20(r3) +/* 8029AB0C 00297A6C 98 01 00 80 */ stb r0, 0x80(r1) +/* 8029AB10 00297A70 88 03 00 21 */ lbz r0, 0x21(r3) +/* 8029AB14 00297A74 98 01 00 81 */ stb r0, 0x81(r1) +/* 8029AB18 00297A78 88 03 00 22 */ lbz r0, 0x22(r3) +/* 8029AB1C 00297A7C 98 01 00 82 */ stb r0, 0x82(r1) +/* 8029AB20 00297A80 88 03 00 23 */ lbz r0, 0x23(r3) +/* 8029AB24 00297A84 98 01 00 83 */ stb r0, 0x83(r1) +/* 8029AB28 00297A88 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 8029AB2C 00297A8C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8029AB30 00297A90 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8029AB34 00297A94 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8029AB38 00297A98 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 8029AB3C 00297A9C 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8029AB40 00297AA0 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 8029AB44 00297AA4 98 01 00 8D */ stb r0, 0x8d(r1) +/* 8029AB48 00297AA8 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8029AB4C 00297AAC 98 01 00 8E */ stb r0, 0x8e(r1) +/* 8029AB50 00297AB0 40 82 00 28 */ bne lbl_8029AB78 +/* 8029AB54 00297AB4 7F E3 FB 78 */ mr r3, r31 +/* 8029AB58 00297AB8 38 81 00 60 */ addi r4, r1, 0x60 +/* 8029AB5C 00297ABC 4B FF ED 09 */ bl ProcessUserInput__10CSlideShowFRC11CFinalInput +/* 8029AB60 00297AC0 7C 7B 1B 78 */ mr r27, r3 +/* 8029AB64 00297AC4 38 61 00 90 */ addi r3, r1, 0x90 +/* 8029AB68 00297AC8 38 80 FF FF */ li r4, -1 +/* 8029AB6C 00297ACC 4B D8 0E 81 */ bl __dt__21CArchMsgParmUserInputFv +/* 8029AB70 00297AD0 7F 63 DB 78 */ mr r3, r27 +/* 8029AB74 00297AD4 48 00 00 14 */ b lbl_8029AB88 +lbl_8029AB78: +/* 8029AB78 00297AD8 38 61 00 90 */ addi r3, r1, 0x90 +/* 8029AB7C 00297ADC 38 80 FF FF */ li r4, -1 +/* 8029AB80 00297AE0 4B D8 0E 6D */ bl __dt__21CArchMsgParmUserInputFv +lbl_8029AB84: +/* 8029AB84 00297AE4 38 60 00 01 */ li r3, 1 +lbl_8029AB88: +/* 8029AB88 00297AE8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8029AB8C 00297AEC CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8029AB90 00297AF0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8029AB94 00297AF4 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8029AB98 00297AF8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8029AB9C 00297AFC CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8029ABA0 00297B00 BB 21 00 D4 */ lmw r25, 0xd4(r1) +/* 8029ABA4 00297B04 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8029ABA8 00297B08 7C 08 03 A6 */ mtlr r0 +/* 8029ABAC 00297B0C 38 21 01 20 */ addi r1, r1, 0x120 +/* 8029ABB0 00297B10 4E 80 00 20 */ blr + +.global sub_8029abb4 +sub_8029abb4: +/* 8029ABB4 00297B14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029ABB8 00297B18 7C 08 02 A6 */ mflr r0 +/* 8029ABBC 00297B1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029ABC0 00297B20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029ABC4 00297B24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029ABC8 00297B28 7C 7E 1B 78 */ mr r30, r3 +/* 8029ABCC 00297B2C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029ABD0 00297B30 81 83 00 00 */ lwz r12, 0(r3) +/* 8029ABD4 00297B34 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029ABD8 00297B38 7D 89 03 A6 */ mtctr r12 +/* 8029ABDC 00297B3C 4E 80 04 21 */ bctrl +/* 8029ABE0 00297B40 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8029ABE4 00297B44 41 82 00 C4 */ beq lbl_8029ACA8 +/* 8029ABE8 00297B48 80 7F 00 00 */ lwz r3, 0(r31) +/* 8029ABEC 00297B4C 3C 03 BB B9 */ addis r0, r3, 0xbbb9 +/* 8029ABF0 00297B50 28 00 52 50 */ cmplwi r0, 0x5250 +/* 8029ABF4 00297B54 40 82 00 B4 */ bne lbl_8029ACA8 +/* 8029ABF8 00297B58 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8029ABFC 00297B5C 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8029AC00 00297B60 38 83 00 01 */ addi r4, r3, 1 +/* 8029AC04 00297B64 7C 04 00 00 */ cmpw r4, r0 +/* 8029AC08 00297B68 40 81 00 0C */ ble lbl_8029AC14 +/* 8029AC0C 00297B6C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8029AC10 00297B70 4B E6 FB FD */ bl sub_8010a80c +lbl_8029AC14: +/* 8029AC14 00297B74 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029AC18 00297B78 7F E5 FB 78 */ mr r5, r31 +/* 8029AC1C 00297B7C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029AC20 00297B80 81 84 00 00 */ lwz r12, 0(r4) +/* 8029AC24 00297B84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029AC28 00297B88 7D 89 03 A6 */ mtctr r12 +/* 8029AC2C 00297B8C 4E 80 04 21 */ bctrl +/* 8029AC30 00297B90 38 61 00 08 */ addi r3, r1, 8 +/* 8029AC34 00297B94 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029AC38 00297B98 48 0A 62 71 */ bl __ct__6CTokenFRC6CToken +/* 8029AC3C 00297B9C 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8029AC40 00297BA0 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 8029AC44 00297BA4 7C 00 28 00 */ cmpw r0, r5 +/* 8029AC48 00297BA8 41 80 00 1C */ blt lbl_8029AC64 +/* 8029AC4C 00297BAC 2C 05 00 00 */ cmpwi r5, 0 +/* 8029AC50 00297BB0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8029AC54 00297BB4 38 80 00 04 */ li r4, 4 +/* 8029AC58 00297BB8 41 82 00 08 */ beq lbl_8029AC60 +/* 8029AC5C 00297BBC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029AC60: +/* 8029AC60 00297BC0 4B E6 FB AD */ bl sub_8010a80c +lbl_8029AC64: +/* 8029AC64 00297BC4 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8029AC68 00297BC8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8029AC6C 00297BCC 54 00 18 38 */ slwi r0, r0, 3 +/* 8029AC70 00297BD0 7C 63 02 15 */ add. r3, r3, r0 +/* 8029AC74 00297BD4 41 82 00 0C */ beq lbl_8029AC80 +/* 8029AC78 00297BD8 38 81 00 08 */ addi r4, r1, 8 +/* 8029AC7C 00297BDC 48 0A 62 2D */ bl __ct__6CTokenFRC6CToken +lbl_8029AC80: +/* 8029AC80 00297BE0 80 BE 00 1C */ lwz r5, 0x1c(r30) +/* 8029AC84 00297BE4 38 61 00 08 */ addi r3, r1, 8 +/* 8029AC88 00297BE8 38 80 00 00 */ li r4, 0 +/* 8029AC8C 00297BEC 38 05 00 01 */ addi r0, r5, 1 +/* 8029AC90 00297BF0 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8029AC94 00297BF4 48 0A 61 AD */ bl __dt__6CTokenFv +/* 8029AC98 00297BF8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029AC9C 00297BFC 38 80 FF FF */ li r4, -1 +/* 8029ACA0 00297C00 48 0A 61 A1 */ bl __dt__6CTokenFv +/* 8029ACA4 00297C04 48 00 00 0C */ b lbl_8029ACB0 +lbl_8029ACA8: +/* 8029ACA8 00297C08 38 60 00 00 */ li r3, 0 +/* 8029ACAC 00297C0C 48 00 00 08 */ b lbl_8029ACB4 +lbl_8029ACB0: +/* 8029ACB0 00297C10 38 60 00 01 */ li r3, 1 +lbl_8029ACB4: +/* 8029ACB4 00297C14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029ACB8 00297C18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029ACBC 00297C1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029ACC0 00297C20 7C 08 03 A6 */ mtlr r0 +/* 8029ACC4 00297C24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029ACC8 00297C28 4E 80 00 20 */ blr + +.global sub_8029accc +sub_8029accc: +/* 8029ACCC 00297C2C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8029ACD0 00297C30 7C 08 02 A6 */ mflr r0 +/* 8029ACD4 00297C34 90 01 00 84 */ stw r0, 0x84(r1) +/* 8029ACD8 00297C38 BE C1 00 58 */ stmw r22, 0x58(r1) +/* 8029ACDC 00297C3C 7C 98 23 78 */ mr r24, r4 +/* 8029ACE0 00297C40 7C 77 1B 78 */ mr r23, r3 +/* 8029ACE4 00297C44 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 8029ACE8 00297C48 38 77 00 28 */ addi r3, r23, 0x28 +/* 8029ACEC 00297C4C 3B 64 FF FF */ addi r27, r4, -1 +/* 8029ACF0 00297C50 7F 64 DB 78 */ mr r4, r27 +/* 8029ACF4 00297C54 48 00 14 F5 */ bl sub_8029c1e8 +/* 8029ACF8 00297C58 80 17 00 24 */ lwz r0, 0x24(r23) +/* 8029ACFC 00297C5C 3B 81 00 48 */ addi r28, r1, 0x48 +/* 8029AD00 00297C60 3B 40 00 00 */ li r26, 0 +/* 8029AD04 00297C64 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029AD08 00297C68 48 00 02 40 */ b lbl_8029AF48 +lbl_8029AD0C: +/* 8029AD0C 00297C6C 38 00 00 01 */ li r0, 1 +/* 8029AD10 00297C70 7C 00 D0 30 */ slw r0, r0, r26 +/* 8029AD14 00297C74 7F 00 00 39 */ and. r0, r24, r0 +/* 8029AD18 00297C78 40 82 00 28 */ bne lbl_8029AD40 +/* 8029AD1C 00297C7C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8029AD20 00297C80 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029AD24 00297C84 38 97 00 18 */ addi r4, r23, 0x18 +/* 8029AD28 00297C88 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8029AD2C 00297C8C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8029AD30 00297C90 48 00 03 71 */ bl sub_8029b0a0 +/* 8029AD34 00297C94 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8029AD38 00297C98 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029AD3C 00297C9C 48 00 02 08 */ b lbl_8029AF44 +lbl_8029AD40: +/* 8029AD40 00297CA0 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8029AD44 00297CA4 48 0A 60 C9 */ bl GetObj__6CTokenFv +/* 8029AD48 00297CA8 80 63 00 04 */ lwz r3, 4(r3) +/* 8029AD4C 00297CAC 38 00 00 00 */ li r0, 0 +/* 8029AD50 00297CB0 2C 00 00 00 */ cmpwi r0, 0 +/* 8029AD54 00297CB4 90 01 00 38 */ stw r0, 0x38(r1) +/* 8029AD58 00297CB8 83 C3 00 04 */ lwz r30, 4(r3) +/* 8029AD5C 00297CBC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8029AD60 00297CC0 90 01 00 40 */ stw r0, 0x40(r1) +/* 8029AD64 00297CC4 93 41 00 44 */ stw r26, 0x44(r1) +/* 8029AD68 00297CC8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8029AD6C 00297CCC 90 01 00 50 */ stw r0, 0x50(r1) +/* 8029AD70 00297CD0 40 82 00 10 */ bne lbl_8029AD80 +/* 8029AD74 00297CD4 40 82 00 0C */ bne lbl_8029AD80 +/* 8029AD78 00297CD8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029AD7C 00297CDC 48 00 00 68 */ b lbl_8029ADE4 +lbl_8029AD80: +/* 8029AD80 00297CE0 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8029AD84 00297CE4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 8029AD88 00297CE8 40 82 00 10 */ bne lbl_8029AD98 +/* 8029AD8C 00297CEC 38 00 00 00 */ li r0, 0 +/* 8029AD90 00297CF0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029AD94 00297CF4 48 00 00 1C */ b lbl_8029ADB0 +lbl_8029AD98: +/* 8029AD98 00297CF8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029AD9C 00297CFC 38 A0 00 00 */ li r5, 0 +/* 8029ADA0 00297D00 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029ADA4 00297D04 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029ADA8 00297D08 48 07 AA 71 */ bl __nwa__FUlPCcPCc +/* 8029ADAC 00297D0C 90 61 00 54 */ stw r3, 0x54(r1) +lbl_8029ADB0: +/* 8029ADB0 00297D10 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8029ADB4 00297D14 80 81 00 40 */ lwz r4, 0x40(r1) +/* 8029ADB8 00297D18 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8029ADBC 00297D1C 7C 09 03 A6 */ mtctr r0 +/* 8029ADC0 00297D20 2C 00 00 00 */ cmpwi r0, 0 +/* 8029ADC4 00297D24 40 81 00 20 */ ble lbl_8029ADE4 +lbl_8029ADC8: +/* 8029ADC8 00297D28 28 03 00 00 */ cmplwi r3, 0 +/* 8029ADCC 00297D2C 41 82 00 0C */ beq lbl_8029ADD8 +/* 8029ADD0 00297D30 80 04 00 00 */ lwz r0, 0(r4) +/* 8029ADD4 00297D34 90 03 00 00 */ stw r0, 0(r3) +lbl_8029ADD8: +/* 8029ADD8 00297D38 38 63 00 04 */ addi r3, r3, 4 +/* 8029ADDC 00297D3C 38 84 00 04 */ addi r4, r4, 4 +/* 8029ADE0 00297D40 42 00 FF E8 */ bdnz lbl_8029ADC8 +lbl_8029ADE4: +/* 8029ADE4 00297D44 38 77 00 28 */ addi r3, r23, 0x28 +/* 8029ADE8 00297D48 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029ADEC 00297D4C 48 00 01 95 */ bl sub_8029af80 +/* 8029ADF0 00297D50 28 1C 00 00 */ cmplwi r28, 0 +/* 8029ADF4 00297D54 41 82 00 44 */ beq lbl_8029AE38 +/* 8029ADF8 00297D58 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8029ADFC 00297D5C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8029AE00 00297D60 54 00 10 3A */ slwi r0, r0, 2 +/* 8029AE04 00297D64 7C 03 02 14 */ add r0, r3, r0 +/* 8029AE08 00297D68 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029AE0C 00297D6C 7C 64 1B 78 */ mr r4, r3 +/* 8029AE10 00297D70 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029AE14 00297D74 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029AE18 00297D78 90 61 00 08 */ stw r3, 8(r1) +/* 8029AE1C 00297D7C 48 00 00 08 */ b lbl_8029AE24 +lbl_8029AE20: +/* 8029AE20 00297D80 38 84 00 04 */ addi r4, r4, 4 +lbl_8029AE24: +/* 8029AE24 00297D84 7C 04 00 40 */ cmplw r4, r0 +/* 8029AE28 00297D88 40 82 FF F8 */ bne lbl_8029AE20 +/* 8029AE2C 00297D8C 28 03 00 00 */ cmplwi r3, 0 +/* 8029AE30 00297D90 41 82 00 08 */ beq lbl_8029AE38 +/* 8029AE34 00297D94 48 07 AA FD */ bl Free__7CMemoryFPCv +lbl_8029AE38: +/* 8029AE38 00297D98 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8029AE3C 00297D9C 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8029AE40 00297DA0 54 00 10 3A */ slwi r0, r0, 2 +/* 8029AE44 00297DA4 7C 03 02 14 */ add r0, r3, r0 +/* 8029AE48 00297DA8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8029AE4C 00297DAC 7C 64 1B 78 */ mr r4, r3 +/* 8029AE50 00297DB0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029AE54 00297DB4 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029AE58 00297DB8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8029AE5C 00297DBC 48 00 00 08 */ b lbl_8029AE64 +lbl_8029AE60: +/* 8029AE60 00297DC0 38 84 00 04 */ addi r4, r4, 4 +lbl_8029AE64: +/* 8029AE64 00297DC4 7C 04 00 40 */ cmplw r4, r0 +/* 8029AE68 00297DC8 40 82 FF F8 */ bne lbl_8029AE60 +/* 8029AE6C 00297DCC 28 03 00 00 */ cmplwi r3, 0 +/* 8029AE70 00297DD0 41 82 00 08 */ beq lbl_8029AE78 +/* 8029AE74 00297DD4 48 07 AA BD */ bl Free__7CMemoryFPCv +lbl_8029AE78: +/* 8029AE78 00297DD8 80 77 00 2C */ lwz r3, 0x2c(r23) +/* 8029AE7C 00297DDC 7F C4 F3 78 */ mr r4, r30 +/* 8029AE80 00297DE0 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 8029AE84 00297DE4 38 03 FF FF */ addi r0, r3, -1 +/* 8029AE88 00297DE8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029AE8C 00297DEC 7F A5 02 14 */ add r29, r5, r0 +/* 8029AE90 00297DF0 38 7D 00 04 */ addi r3, r29, 4 +/* 8029AE94 00297DF4 48 00 12 65 */ bl sub_8029c0f8 +/* 8029AE98 00297DF8 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029AE9C 00297DFC 3B 20 00 00 */ li r25, 0 +/* 8029AEA0 00297E00 3B E3 5C 48 */ addi r31, r3, lbl_803D5C48@l +/* 8029AEA4 00297E04 48 00 00 8C */ b lbl_8029AF30 +lbl_8029AEA8: +/* 8029AEA8 00297E08 7F E4 FB 78 */ mr r4, r31 +/* 8029AEAC 00297E0C 7F 45 D3 78 */ mr r5, r26 +/* 8029AEB0 00297E10 7F 26 CB 78 */ mr r6, r25 +/* 8029AEB4 00297E14 38 7F 00 EE */ addi r3, r31, 0xee +/* 8029AEB8 00297E18 4C C6 31 82 */ crclr 6 +/* 8029AEBC 00297E1C 48 03 B2 F5 */ bl Stringize__7CBasicsFPCce +/* 8029AEC0 00297E20 7C 60 1B 78 */ mr r0, r3 +/* 8029AEC4 00297E24 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029AEC8 00297E28 7C 04 03 78 */ mr r4, r0 +/* 8029AECC 00297E2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8029AED0 00297E30 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029AED4 00297E34 7D 89 03 A6 */ mtctr r12 +/* 8029AED8 00297E38 4E 80 04 21 */ bctrl +/* 8029AEDC 00297E3C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029AEE0 00297E40 7C 76 1B 78 */ mr r22, r3 +/* 8029AEE4 00297E44 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 8029AEE8 00297E48 7C 00 28 00 */ cmpw r0, r5 +/* 8029AEEC 00297E4C 41 80 00 1C */ blt lbl_8029AF08 +/* 8029AEF0 00297E50 2C 05 00 00 */ cmpwi r5, 0 +/* 8029AEF4 00297E54 38 7D 00 04 */ addi r3, r29, 4 +/* 8029AEF8 00297E58 38 80 00 04 */ li r4, 4 +/* 8029AEFC 00297E5C 41 82 00 08 */ beq lbl_8029AF04 +/* 8029AF00 00297E60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029AF04: +/* 8029AF04 00297E64 48 00 11 F5 */ bl sub_8029c0f8 +lbl_8029AF08: +/* 8029AF08 00297E68 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029AF0C 00297E6C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8029AF10 00297E70 54 00 10 3A */ slwi r0, r0, 2 +/* 8029AF14 00297E74 7C 63 02 15 */ add. r3, r3, r0 +/* 8029AF18 00297E78 41 82 00 08 */ beq lbl_8029AF20 +/* 8029AF1C 00297E7C 92 C3 00 00 */ stw r22, 0(r3) +lbl_8029AF20: +/* 8029AF20 00297E80 80 7D 00 08 */ lwz r3, 8(r29) +/* 8029AF24 00297E84 3B 39 00 01 */ addi r25, r25, 1 +/* 8029AF28 00297E88 38 03 00 01 */ addi r0, r3, 1 +/* 8029AF2C 00297E8C 90 1D 00 08 */ stw r0, 8(r29) +lbl_8029AF30: +/* 8029AF30 00297E90 7C 19 F0 00 */ cmpw r25, r30 +/* 8029AF34 00297E94 41 80 FF 74 */ blt lbl_8029AEA8 +/* 8029AF38 00297E98 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8029AF3C 00297E9C 38 03 00 08 */ addi r0, r3, 8 +/* 8029AF40 00297EA0 90 01 00 30 */ stw r0, 0x30(r1) +lbl_8029AF44: +/* 8029AF44 00297EA4 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8029AF48: +/* 8029AF48 00297EA8 80 17 00 1C */ lwz r0, 0x1c(r23) +/* 8029AF4C 00297EAC 80 77 00 24 */ lwz r3, 0x24(r23) +/* 8029AF50 00297EB0 54 00 18 38 */ slwi r0, r0, 3 +/* 8029AF54 00297EB4 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8029AF58 00297EB8 7C 03 02 14 */ add r0, r3, r0 +/* 8029AF5C 00297EBC 7C 04 00 40 */ cmplw r4, r0 +/* 8029AF60 00297EC0 41 82 00 0C */ beq lbl_8029AF6C +/* 8029AF64 00297EC4 7C 1A D8 00 */ cmpw r26, r27 +/* 8029AF68 00297EC8 41 80 FD A4 */ blt lbl_8029AD0C +lbl_8029AF6C: +/* 8029AF6C 00297ECC BA C1 00 58 */ lmw r22, 0x58(r1) +/* 8029AF70 00297ED0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8029AF74 00297ED4 7C 08 03 A6 */ mtlr r0 +/* 8029AF78 00297ED8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8029AF7C 00297EDC 4E 80 00 20 */ blr + +.global sub_8029af80 +sub_8029af80: +/* 8029AF80 00297EE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029AF84 00297EE4 7C 08 02 A6 */ mflr r0 +/* 8029AF88 00297EE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029AF8C 00297EEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029AF90 00297EF0 7C 9F 23 78 */ mr r31, r4 +/* 8029AF94 00297EF4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029AF98 00297EF8 7C 7E 1B 78 */ mr r30, r3 +/* 8029AF9C 00297EFC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029AFA0 00297F00 80 03 00 04 */ lwz r0, 4(r3) +/* 8029AFA4 00297F04 80 A3 00 08 */ lwz r5, 8(r3) +/* 8029AFA8 00297F08 7C 00 28 00 */ cmpw r0, r5 +/* 8029AFAC 00297F0C 41 80 00 18 */ blt lbl_8029AFC4 +/* 8029AFB0 00297F10 2C 05 00 00 */ cmpwi r5, 0 +/* 8029AFB4 00297F14 38 80 00 04 */ li r4, 4 +/* 8029AFB8 00297F18 41 82 00 08 */ beq lbl_8029AFC0 +/* 8029AFBC 00297F1C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029AFC0: +/* 8029AFC0 00297F20 48 00 12 29 */ bl sub_8029c1e8 +lbl_8029AFC4: +/* 8029AFC4 00297F24 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029AFC8 00297F28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029AFCC 00297F2C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029AFD0 00297F30 7F A3 02 15 */ add. r29, r3, r0 +/* 8029AFD4 00297F34 41 82 00 A4 */ beq lbl_8029B078 +/* 8029AFD8 00297F38 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029AFDC 00297F3C 90 1D 00 00 */ stw r0, 0(r29) +/* 8029AFE0 00297F40 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029AFE4 00297F44 90 1D 00 08 */ stw r0, 8(r29) +/* 8029AFE8 00297F48 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029AFEC 00297F4C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8029AFF0 00297F50 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029AFF4 00297F54 2C 00 00 00 */ cmpwi r0, 0 +/* 8029AFF8 00297F58 40 82 00 1C */ bne lbl_8029B014 +/* 8029AFFC 00297F5C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029B000 00297F60 2C 00 00 00 */ cmpwi r0, 0 +/* 8029B004 00297F64 40 82 00 10 */ bne lbl_8029B014 +/* 8029B008 00297F68 38 00 00 00 */ li r0, 0 +/* 8029B00C 00297F6C 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8029B010 00297F70 48 00 00 68 */ b lbl_8029B078 +lbl_8029B014: +/* 8029B014 00297F74 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029B018 00297F78 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 8029B01C 00297F7C 40 82 00 10 */ bne lbl_8029B02C +/* 8029B020 00297F80 38 00 00 00 */ li r0, 0 +/* 8029B024 00297F84 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8029B028 00297F88 48 00 00 1C */ b lbl_8029B044 +lbl_8029B02C: +/* 8029B02C 00297F8C 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029B030 00297F90 38 A0 00 00 */ li r5, 0 +/* 8029B034 00297F94 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029B038 00297F98 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029B03C 00297F9C 48 07 A7 DD */ bl __nwa__FUlPCcPCc +/* 8029B040 00297FA0 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_8029B044: +/* 8029B044 00297FA4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029B048 00297FA8 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8029B04C 00297FAC 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8029B050 00297FB0 7C 09 03 A6 */ mtctr r0 +/* 8029B054 00297FB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8029B058 00297FB8 40 81 00 20 */ ble lbl_8029B078 +lbl_8029B05C: +/* 8029B05C 00297FBC 28 03 00 00 */ cmplwi r3, 0 +/* 8029B060 00297FC0 41 82 00 0C */ beq lbl_8029B06C +/* 8029B064 00297FC4 80 04 00 00 */ lwz r0, 0(r4) +/* 8029B068 00297FC8 90 03 00 00 */ stw r0, 0(r3) +lbl_8029B06C: +/* 8029B06C 00297FCC 38 63 00 04 */ addi r3, r3, 4 +/* 8029B070 00297FD0 38 84 00 04 */ addi r4, r4, 4 +/* 8029B074 00297FD4 42 00 FF E8 */ bdnz lbl_8029B05C +lbl_8029B078: +/* 8029B078 00297FD8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8029B07C 00297FDC 38 03 00 01 */ addi r0, r3, 1 +/* 8029B080 00297FE0 90 1E 00 04 */ stw r0, 4(r30) +/* 8029B084 00297FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029B088 00297FE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029B08C 00297FEC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029B090 00297FF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B094 00297FF4 7C 08 03 A6 */ mtlr r0 +/* 8029B098 00297FF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B09C 00297FFC 4E 80 00 20 */ blr + +.global sub_8029b0a0 +sub_8029b0a0: +/* 8029B0A0 00298000 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029B0A4 00298004 7C 08 02 A6 */ mflr r0 +/* 8029B0A8 00298008 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029B0AC 0029800C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029B0B0 00298010 7C 7F 1B 78 */ mr r31, r3 +/* 8029B0B4 00298014 80 C5 00 00 */ lwz r6, 0(r5) +/* 8029B0B8 00298018 80 05 00 00 */ lwz r0, 0(r5) +/* 8029B0BC 0029801C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8029B0C0 00298020 38 E6 00 08 */ addi r7, r6, 8 +/* 8029B0C4 00298024 38 C1 00 0C */ addi r6, r1, 0xc +/* 8029B0C8 00298028 90 E1 00 08 */ stw r7, 8(r1) +/* 8029B0CC 0029802C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8029B0D0 00298030 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029B0D4 00298034 48 00 00 19 */ bl sub_8029b0ec +/* 8029B0D8 00298038 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B0DC 0029803C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029B0E0 00298040 7C 08 03 A6 */ mtlr r0 +/* 8029B0E4 00298044 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B0E8 00298048 4E 80 00 20 */ blr + +.global sub_8029b0ec +sub_8029b0ec: +/* 8029B0EC 0029804C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029B0F0 00298050 7C 08 02 A6 */ mflr r0 +/* 8029B0F4 00298054 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029B0F8 00298058 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8029B0FC 0029805C 7C BF 2B 78 */ mr r31, r5 +/* 8029B100 00298060 7C DA 33 78 */ mr r26, r6 +/* 8029B104 00298064 7C 7D 1B 78 */ mr r29, r3 +/* 8029B108 00298068 7C 9E 23 78 */ mr r30, r4 +/* 8029B10C 0029806C 83 65 00 00 */ lwz r27, 0(r5) +/* 8029B110 00298070 83 86 00 00 */ lwz r28, 0(r6) +/* 8029B114 00298074 93 61 00 0C */ stw r27, 0xc(r1) +/* 8029B118 00298078 93 81 00 08 */ stw r28, 8(r1) +/* 8029B11C 0029807C 48 00 00 1C */ b lbl_8029B138 +lbl_8029B120: +/* 8029B120 00298080 28 1B 00 00 */ cmplwi r27, 0 +/* 8029B124 00298084 41 82 00 10 */ beq lbl_8029B134 +/* 8029B128 00298088 7F 63 DB 78 */ mr r3, r27 +/* 8029B12C 0029808C 38 80 00 00 */ li r4, 0 +/* 8029B130 00298090 48 0A 5D 11 */ bl __dt__6CTokenFv +lbl_8029B134: +/* 8029B134 00298094 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8029B138: +/* 8029B138 00298098 7C 1B E0 40 */ cmplw r27, r28 +/* 8029B13C 0029809C 40 82 FF E4 */ bne lbl_8029B120 +/* 8029B140 002980A0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8029B144 002980A4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029B148 002980A8 83 7A 00 00 */ lwz r27, 0(r26) +/* 8029B14C 002980AC 7C 04 00 50 */ subf r0, r4, r0 +/* 8029B150 002980B0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8029B154 002980B4 7C 60 01 94 */ addze r3, r0 +/* 8029B158 002980B8 54 60 18 38 */ slwi r0, r3, 3 +/* 8029B15C 002980BC 7C 7A 1B 78 */ mr r26, r3 +/* 8029B160 002980C0 7F 84 02 14 */ add r28, r4, r0 +/* 8029B164 002980C4 48 00 00 38 */ b lbl_8029B19C +lbl_8029B168: +/* 8029B168 002980C8 28 1C 00 00 */ cmplwi r28, 0 +/* 8029B16C 002980CC 41 82 00 10 */ beq lbl_8029B17C +/* 8029B170 002980D0 7F 83 E3 78 */ mr r3, r28 +/* 8029B174 002980D4 7F 64 DB 78 */ mr r4, r27 +/* 8029B178 002980D8 48 0A 5D 31 */ bl __ct__6CTokenFRC6CToken +lbl_8029B17C: +/* 8029B17C 002980DC 28 1B 00 00 */ cmplwi r27, 0 +/* 8029B180 002980E0 41 82 00 10 */ beq lbl_8029B190 +/* 8029B184 002980E4 7F 63 DB 78 */ mr r3, r27 +/* 8029B188 002980E8 38 80 00 00 */ li r4, 0 +/* 8029B18C 002980EC 48 0A 5C B5 */ bl __dt__6CTokenFv +lbl_8029B190: +/* 8029B190 002980F0 3B 9C 00 08 */ addi r28, r28, 8 +/* 8029B194 002980F4 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029B198 002980F8 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8029B19C: +/* 8029B19C 002980FC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029B1A0 00298100 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029B1A4 00298104 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B1A8 00298108 7C 03 02 14 */ add r0, r3, r0 +/* 8029B1AC 0029810C 7C 1B 00 40 */ cmplw r27, r0 +/* 8029B1B0 00298110 40 82 FF B8 */ bne lbl_8029B168 +/* 8029B1B4 00298114 93 5E 00 04 */ stw r26, 4(r30) +/* 8029B1B8 00298118 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029B1BC 0029811C 90 1D 00 00 */ stw r0, 0(r29) +/* 8029B1C0 00298120 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8029B1C4 00298124 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029B1C8 00298128 7C 08 03 A6 */ mtlr r0 +/* 8029B1CC 0029812C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029B1D0 00298130 4E 80 00 20 */ blr + +.global SlideShowGalleryFlags__10CSlideShowFv +SlideShowGalleryFlags__10CSlideShowFv: +/* 8029B1D4 00298134 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029B1D8 00298138 7C 08 02 A6 */ mflr r0 +/* 8029B1DC 0029813C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B1E0 00298140 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029B1E4 00298144 3B E0 00 00 */ li r31, 0 +/* 8029B1E8 00298148 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8029B1EC 0029814C 28 03 00 00 */ cmplwi r3, 0 +/* 8029B1F0 00298150 41 82 00 48 */ beq lbl_8029B238 +/* 8029B1F4 00298154 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 8029B1F8 00298158 4B F3 A0 11 */ bl GetLogScanCount__14CSystemOptionsFv +/* 8029B1FC 0029815C 2C 03 00 32 */ cmpwi r3, 0x32 +/* 8029B200 00298160 41 80 00 08 */ blt lbl_8029B208 +/* 8029B204 00298164 63 FF 00 01 */ ori r31, r31, 1 +lbl_8029B208: +/* 8029B208 00298168 2C 03 00 64 */ cmpwi r3, 0x64 +/* 8029B20C 0029816C 40 82 00 08 */ bne lbl_8029B214 +/* 8029B210 00298170 63 FF 00 02 */ ori r31, r31, 2 +lbl_8029B214: +/* 8029B214 00298174 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8029B218 00298178 88 03 01 78 */ lbz r0, 0x178(r3) +/* 8029B21C 0029817C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8029B220 00298180 41 82 00 08 */ beq lbl_8029B228 +/* 8029B224 00298184 63 FF 00 04 */ ori r31, r31, 4 +lbl_8029B228: +/* 8029B228 00298188 88 03 01 78 */ lbz r0, 0x178(r3) +/* 8029B22C 0029818C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8029B230 00298190 41 82 00 08 */ beq lbl_8029B238 +/* 8029B234 00298194 63 FF 00 08 */ ori r31, r31, 8 +lbl_8029B238: +/* 8029B238 00298198 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029B23C 0029819C 7F E3 FB 78 */ mr r3, r31 +/* 8029B240 002981A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029B244 002981A4 7C 08 03 A6 */ mtlr r0 +/* 8029B248 002981A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029B24C 002981AC 4E 80 00 20 */ blr + +.global __dt__10CSlideShowFv +__dt__10CSlideShowFv: +/* 8029B250 002981B0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8029B254 002981B4 7C 08 02 A6 */ mflr r0 +/* 8029B258 002981B8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029B25C 002981BC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8029B260 002981C0 7C 9F 23 78 */ mr r31, r4 +/* 8029B264 002981C4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8029B268 002981C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029B26C 002981CC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8029B270 002981D0 93 81 00 50 */ stw r28, 0x50(r1) +/* 8029B274 002981D4 41 82 02 8C */ beq lbl_8029B500 +/* 8029B278 002981D8 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha +/* 8029B27C 002981DC 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l +/* 8029B280 002981E0 90 1E 00 00 */ stw r0, 0(r30) +/* 8029B284 002981E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029B288 002981E8 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029B28C 002981EC 38 63 00 04 */ addi r3, r3, 4 +/* 8029B290 002981F0 38 84 00 04 */ addi r4, r4, 4 +/* 8029B294 002981F4 48 0A 01 89 */ bl sub_8033b41c +/* 8029B298 002981F8 34 1E 01 18 */ addic. r0, r30, 0x118 +/* 8029B29C 002981FC 41 82 00 50 */ beq lbl_8029B2EC +/* 8029B2A0 00298200 80 1E 01 1C */ lwz r0, 0x11c(r30) +/* 8029B2A4 00298204 83 9E 01 24 */ lwz r28, 0x124(r30) +/* 8029B2A8 00298208 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B2AC 0029820C 7F BC 02 14 */ add r29, r28, r0 +/* 8029B2B0 00298210 93 81 00 3C */ stw r28, 0x3c(r1) +/* 8029B2B4 00298214 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8029B2B8 00298218 93 A1 00 40 */ stw r29, 0x40(r1) +/* 8029B2BC 0029821C 93 81 00 38 */ stw r28, 0x38(r1) +/* 8029B2C0 00298220 48 00 00 14 */ b lbl_8029B2D4 +lbl_8029B2C4: +/* 8029B2C4 00298224 7F 83 E3 78 */ mr r3, r28 +/* 8029B2C8 00298228 38 80 FF FF */ li r4, -1 +/* 8029B2CC 0029822C 48 0A 5B 75 */ bl __dt__6CTokenFv +/* 8029B2D0 00298230 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B2D4: +/* 8029B2D4 00298234 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B2D8 00298238 40 82 FF EC */ bne lbl_8029B2C4 +/* 8029B2DC 0029823C 80 7E 01 24 */ lwz r3, 0x124(r30) +/* 8029B2E0 00298240 28 03 00 00 */ cmplwi r3, 0 +/* 8029B2E4 00298244 41 82 00 08 */ beq lbl_8029B2EC +/* 8029B2E8 00298248 48 07 A6 49 */ bl Free__7CMemoryFPCv +lbl_8029B2EC: +/* 8029B2EC 0029824C 34 1E 01 08 */ addic. r0, r30, 0x108 +/* 8029B2F0 00298250 41 82 00 50 */ beq lbl_8029B340 +/* 8029B2F4 00298254 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 8029B2F8 00298258 83 9E 01 14 */ lwz r28, 0x114(r30) +/* 8029B2FC 0029825C 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B300 00298260 7F BC 02 14 */ add r29, r28, r0 +/* 8029B304 00298264 93 81 00 2C */ stw r28, 0x2c(r1) +/* 8029B308 00298268 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8029B30C 0029826C 93 A1 00 30 */ stw r29, 0x30(r1) +/* 8029B310 00298270 93 81 00 28 */ stw r28, 0x28(r1) +/* 8029B314 00298274 48 00 00 14 */ b lbl_8029B328 +lbl_8029B318: +/* 8029B318 00298278 7F 83 E3 78 */ mr r3, r28 +/* 8029B31C 0029827C 38 80 FF FF */ li r4, -1 +/* 8029B320 00298280 48 0A 5B 21 */ bl __dt__6CTokenFv +/* 8029B324 00298284 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B328: +/* 8029B328 00298288 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B32C 0029828C 40 82 FF EC */ bne lbl_8029B318 +/* 8029B330 00298290 80 7E 01 14 */ lwz r3, 0x114(r30) +/* 8029B334 00298294 28 03 00 00 */ cmplwi r3, 0 +/* 8029B338 00298298 41 82 00 08 */ beq lbl_8029B340 +/* 8029B33C 0029829C 48 07 A5 F5 */ bl Free__7CMemoryFPCv +lbl_8029B340: +/* 8029B340 002982A0 34 1E 00 F8 */ addic. r0, r30, 0xf8 +/* 8029B344 002982A4 41 82 00 50 */ beq lbl_8029B394 +/* 8029B348 002982A8 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 8029B34C 002982AC 83 9E 01 04 */ lwz r28, 0x104(r30) +/* 8029B350 002982B0 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B354 002982B4 7F BC 02 14 */ add r29, r28, r0 +/* 8029B358 002982B8 93 81 00 1C */ stw r28, 0x1c(r1) +/* 8029B35C 002982BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8029B360 002982C0 93 A1 00 20 */ stw r29, 0x20(r1) +/* 8029B364 002982C4 93 81 00 18 */ stw r28, 0x18(r1) +/* 8029B368 002982C8 48 00 00 14 */ b lbl_8029B37C +lbl_8029B36C: +/* 8029B36C 002982CC 7F 83 E3 78 */ mr r3, r28 +/* 8029B370 002982D0 38 80 FF FF */ li r4, -1 +/* 8029B374 002982D4 48 0A 5A CD */ bl __dt__6CTokenFv +/* 8029B378 002982D8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B37C: +/* 8029B37C 002982DC 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B380 002982E0 40 82 FF EC */ bne lbl_8029B36C +/* 8029B384 002982E4 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8029B388 002982E8 28 03 00 00 */ cmplwi r3, 0 +/* 8029B38C 002982EC 41 82 00 08 */ beq lbl_8029B394 +/* 8029B390 002982F0 48 07 A5 A1 */ bl Free__7CMemoryFPCv +lbl_8029B394: +/* 8029B394 002982F4 38 7E 00 D0 */ addi r3, r30, 0xd0 +/* 8029B398 002982F8 38 80 FF FF */ li r4, -1 +/* 8029B39C 002982FC 48 00 02 D1 */ bl sub_8029b66c +/* 8029B3A0 00298300 34 1E 00 CC */ addic. r0, r30, 0xcc +/* 8029B3A4 00298304 41 82 00 10 */ beq lbl_8029B3B4 +/* 8029B3A8 00298308 80 7E 00 CC */ lwz r3, 0xcc(r30) +/* 8029B3AC 0029830C 38 80 00 01 */ li r4, 1 +/* 8029B3B0 00298310 48 0D 0D A9 */ bl __dt__18CStaticAudioPlayer +lbl_8029B3B4: +/* 8029B3B4 00298314 34 1E 00 C8 */ addic. r0, r30, 0xc8 +/* 8029B3B8 00298318 41 82 00 10 */ beq lbl_8029B3C8 +/* 8029B3BC 0029831C 80 7E 00 C8 */ lwz r3, 0xc8(r30) +/* 8029B3C0 00298320 38 80 00 01 */ li r4, 1 +/* 8029B3C4 00298324 48 02 E8 D5 */ bl __dt__15CGuiTextSupportFv +lbl_8029B3C8: +/* 8029B3C8 00298328 34 1E 00 C4 */ addic. r0, r30, 0xc4 +/* 8029B3CC 0029832C 41 82 00 10 */ beq lbl_8029B3DC +/* 8029B3D0 00298330 80 7E 00 C4 */ lwz r3, 0xc4(r30) +/* 8029B3D4 00298334 38 80 00 01 */ li r4, 1 +/* 8029B3D8 00298338 48 02 E8 C1 */ bl __dt__15CGuiTextSupportFv +lbl_8029B3DC: +/* 8029B3DC 0029833C 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 8029B3E0 00298340 41 82 00 38 */ beq lbl_8029B418 +/* 8029B3E4 00298344 34 1E 00 9C */ addic. r0, r30, 0x9c +/* 8029B3E8 00298348 41 82 00 30 */ beq lbl_8029B418 +/* 8029B3EC 0029834C 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 8029B3F0 00298350 28 00 00 00 */ cmplwi r0, 0 +/* 8029B3F4 00298354 41 82 00 24 */ beq lbl_8029B418 +/* 8029B3F8 00298358 83 BE 00 A0 */ lwz r29, 0xa0(r30) +/* 8029B3FC 0029835C 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B400 00298360 41 82 00 18 */ beq lbl_8029B418 +/* 8029B404 00298364 7F A3 EB 78 */ mr r3, r29 +/* 8029B408 00298368 38 80 00 00 */ li r4, 0 +/* 8029B40C 0029836C 48 0A 5A 35 */ bl __dt__6CTokenFv +/* 8029B410 00298370 7F A3 EB 78 */ mr r3, r29 +/* 8029B414 00298374 48 07 A5 1D */ bl Free__7CMemoryFPCv +lbl_8029B418: +/* 8029B418 00298378 34 1E 00 5C */ addic. r0, r30, 0x5c +/* 8029B41C 0029837C 41 82 00 38 */ beq lbl_8029B454 +/* 8029B420 00298380 34 1E 00 68 */ addic. r0, r30, 0x68 +/* 8029B424 00298384 41 82 00 30 */ beq lbl_8029B454 +/* 8029B428 00298388 88 1E 00 68 */ lbz r0, 0x68(r30) +/* 8029B42C 0029838C 28 00 00 00 */ cmplwi r0, 0 +/* 8029B430 00298390 41 82 00 24 */ beq lbl_8029B454 +/* 8029B434 00298394 83 BE 00 6C */ lwz r29, 0x6c(r30) +/* 8029B438 00298398 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B43C 0029839C 41 82 00 18 */ beq lbl_8029B454 +/* 8029B440 002983A0 7F A3 EB 78 */ mr r3, r29 +/* 8029B444 002983A4 38 80 00 00 */ li r4, 0 +/* 8029B448 002983A8 48 0A 59 F9 */ bl __dt__6CTokenFv +/* 8029B44C 002983AC 7F A3 EB 78 */ mr r3, r29 +/* 8029B450 002983B0 48 07 A4 E1 */ bl Free__7CMemoryFPCv +lbl_8029B454: +/* 8029B454 002983B4 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8029B458 002983B8 41 82 00 24 */ beq lbl_8029B47C +/* 8029B45C 002983BC 83 BE 00 38 */ lwz r29, 0x38(r30) +/* 8029B460 002983C0 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B464 002983C4 41 82 00 18 */ beq lbl_8029B47C +/* 8029B468 002983C8 7F A3 EB 78 */ mr r3, r29 +/* 8029B46C 002983CC 38 80 00 00 */ li r4, 0 +/* 8029B470 002983D0 48 0A 59 D1 */ bl __dt__6CTokenFv +/* 8029B474 002983D4 7F A3 EB 78 */ mr r3, r29 +/* 8029B478 002983D8 48 07 A4 B9 */ bl Free__7CMemoryFPCv +lbl_8029B47C: +/* 8029B47C 002983DC 38 7E 00 28 */ addi r3, r30, 0x28 +/* 8029B480 002983E0 38 80 FF FF */ li r4, -1 +/* 8029B484 002983E4 48 00 00 A1 */ bl sub_8029b524 +/* 8029B488 002983E8 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8029B48C 002983EC 41 82 00 58 */ beq lbl_8029B4E4 +/* 8029B490 002983F0 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8029B494 002983F4 83 9E 00 24 */ lwz r28, 0x24(r30) +/* 8029B498 002983F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B49C 002983FC 7F BC 02 14 */ add r29, r28, r0 +/* 8029B4A0 00298400 93 81 00 0C */ stw r28, 0xc(r1) +/* 8029B4A4 00298404 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029B4A8 00298408 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8029B4AC 0029840C 93 81 00 08 */ stw r28, 8(r1) +/* 8029B4B0 00298410 48 00 00 1C */ b lbl_8029B4CC +lbl_8029B4B4: +/* 8029B4B4 00298414 28 1C 00 00 */ cmplwi r28, 0 +/* 8029B4B8 00298418 41 82 00 10 */ beq lbl_8029B4C8 +/* 8029B4BC 0029841C 7F 83 E3 78 */ mr r3, r28 +/* 8029B4C0 00298420 38 80 00 00 */ li r4, 0 +/* 8029B4C4 00298424 48 0A 59 7D */ bl __dt__6CTokenFv +lbl_8029B4C8: +/* 8029B4C8 00298428 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B4CC: +/* 8029B4CC 0029842C 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B4D0 00298430 40 82 FF E4 */ bne lbl_8029B4B4 +/* 8029B4D4 00298434 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8029B4D8 00298438 28 03 00 00 */ cmplwi r3, 0 +/* 8029B4DC 0029843C 41 82 00 08 */ beq lbl_8029B4E4 +/* 8029B4E0 00298440 48 07 A4 51 */ bl Free__7CMemoryFPCv +lbl_8029B4E4: +/* 8029B4E4 00298444 7F C3 F3 78 */ mr r3, r30 +/* 8029B4E8 00298448 38 80 00 00 */ li r4, 0 +/* 8029B4EC 0029844C 4B DB 76 B9 */ bl __dt__6CIOWinFv +/* 8029B4F0 00298450 7F E0 07 35 */ extsh. r0, r31 +/* 8029B4F4 00298454 40 81 00 0C */ ble lbl_8029B500 +/* 8029B4F8 00298458 7F C3 F3 78 */ mr r3, r30 +/* 8029B4FC 0029845C 48 07 A4 35 */ bl Free__7CMemoryFPCv +lbl_8029B500: +/* 8029B500 00298460 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029B504 00298464 7F C3 F3 78 */ mr r3, r30 +/* 8029B508 00298468 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8029B50C 0029846C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8029B510 00298470 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8029B514 00298474 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8029B518 00298478 7C 08 03 A6 */ mtlr r0 +/* 8029B51C 0029847C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8029B520 00298480 4E 80 00 20 */ blr + +.global sub_8029b524 +sub_8029b524: +/* 8029B524 00298484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029B528 00298488 7C 08 02 A6 */ mflr r0 +/* 8029B52C 0029848C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029B530 00298490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029B534 00298494 7C 9F 23 78 */ mr r31, r4 +/* 8029B538 00298498 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029B53C 0029849C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029B540 002984A0 41 82 00 54 */ beq lbl_8029B594 +/* 8029B544 002984A4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029B548 002984A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029B54C 002984AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8029B550 002984B0 38 81 00 0C */ addi r4, r1, 0xc +/* 8029B554 002984B4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029B558 002984B8 7C A5 02 14 */ add r5, r5, r0 +/* 8029B55C 002984BC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8029B560 002984C0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8029B564 002984C4 90 A1 00 08 */ stw r5, 8(r1) +/* 8029B568 002984C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029B56C 002984CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B570 002984D0 48 00 00 41 */ bl sub_8029b5b0 +/* 8029B574 002984D4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029B578 002984D8 28 03 00 00 */ cmplwi r3, 0 +/* 8029B57C 002984DC 41 82 00 08 */ beq lbl_8029B584 +/* 8029B580 002984E0 48 07 A3 B1 */ bl Free__7CMemoryFPCv +lbl_8029B584: +/* 8029B584 002984E4 7F E0 07 35 */ extsh. r0, r31 +/* 8029B588 002984E8 40 81 00 0C */ ble lbl_8029B594 +/* 8029B58C 002984EC 7F C3 F3 78 */ mr r3, r30 +/* 8029B590 002984F0 48 07 A3 A1 */ bl Free__7CMemoryFPCv +lbl_8029B594: +/* 8029B594 002984F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B598 002984F8 7F C3 F3 78 */ mr r3, r30 +/* 8029B59C 002984FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029B5A0 00298500 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029B5A4 00298504 7C 08 03 A6 */ mtlr r0 +/* 8029B5A8 00298508 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B5AC 0029850C 4E 80 00 20 */ blr + +.global sub_8029b5b0 +sub_8029b5b0: +/* 8029B5B0 00298510 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029B5B4 00298514 7C 08 02 A6 */ mflr r0 +/* 8029B5B8 00298518 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B5BC 0029851C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029B5C0 00298520 93 C1 00 08 */ stw r30, 8(r1) +/* 8029B5C4 00298524 7C 9E 23 78 */ mr r30, r4 +/* 8029B5C8 00298528 83 E3 00 00 */ lwz r31, 0(r3) +/* 8029B5CC 0029852C 48 00 00 10 */ b lbl_8029B5DC +lbl_8029B5D0: +/* 8029B5D0 00298530 7F E3 FB 78 */ mr r3, r31 +/* 8029B5D4 00298534 48 00 00 2D */ bl sub_8029b600 +/* 8029B5D8 00298538 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_8029B5DC: +/* 8029B5DC 0029853C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8029B5E0 00298540 7C 1F 00 40 */ cmplw r31, r0 +/* 8029B5E4 00298544 40 82 FF EC */ bne lbl_8029B5D0 +/* 8029B5E8 00298548 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029B5EC 0029854C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029B5F0 00298550 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029B5F4 00298554 7C 08 03 A6 */ mtlr r0 +/* 8029B5F8 00298558 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029B5FC 0029855C 4E 80 00 20 */ blr + +.global sub_8029b600 +sub_8029b600: +/* 8029B600 00298560 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029B604 00298564 7C 08 02 A6 */ mflr r0 +/* 8029B608 00298568 28 03 00 00 */ cmplwi r3, 0 +/* 8029B60C 0029856C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029B610 00298570 41 82 00 4C */ beq lbl_8029B65C +/* 8029B614 00298574 34 03 00 04 */ addic. r0, r3, 4 +/* 8029B618 00298578 41 82 00 44 */ beq lbl_8029B65C +/* 8029B61C 0029857C 80 03 00 08 */ lwz r0, 8(r3) +/* 8029B620 00298580 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8029B624 00298584 54 00 10 3A */ slwi r0, r0, 2 +/* 8029B628 00298588 7C 03 02 14 */ add r0, r3, r0 +/* 8029B62C 0029858C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029B630 00298590 7C 64 1B 78 */ mr r4, r3 +/* 8029B634 00298594 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B638 00298598 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029B63C 0029859C 90 61 00 08 */ stw r3, 8(r1) +/* 8029B640 002985A0 48 00 00 08 */ b lbl_8029B648 +lbl_8029B644: +/* 8029B644 002985A4 38 84 00 04 */ addi r4, r4, 4 +lbl_8029B648: +/* 8029B648 002985A8 7C 04 00 40 */ cmplw r4, r0 +/* 8029B64C 002985AC 40 82 FF F8 */ bne lbl_8029B644 +/* 8029B650 002985B0 28 03 00 00 */ cmplwi r3, 0 +/* 8029B654 002985B4 41 82 00 08 */ beq lbl_8029B65C +/* 8029B658 002985B8 48 07 A2 D9 */ bl Free__7CMemoryFPCv +lbl_8029B65C: +/* 8029B65C 002985BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B660 002985C0 7C 08 03 A6 */ mtlr r0 +/* 8029B664 002985C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B668 002985C8 4E 80 00 20 */ blr + +.global sub_8029b66c +sub_8029b66c: +/* 8029B66C 002985CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029B670 002985D0 7C 08 02 A6 */ mflr r0 +/* 8029B674 002985D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029B678 002985D8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8029B67C 002985DC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8029B680 002985E0 7C 9C 23 78 */ mr r28, r4 +/* 8029B684 002985E4 41 82 00 88 */ beq lbl_8029B70C +/* 8029B688 002985E8 80 1B 00 04 */ lwz r0, 4(r27) +/* 8029B68C 002985EC 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 8029B690 002985F0 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B694 002985F4 7F FD 02 14 */ add r31, r29, r0 +/* 8029B698 002985F8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8029B69C 002985FC 93 E1 00 08 */ stw r31, 8(r1) +/* 8029B6A0 00298600 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029B6A4 00298604 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029B6A8 00298608 48 00 00 3C */ b lbl_8029B6E4 +lbl_8029B6AC: +/* 8029B6AC 0029860C 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B6B0 00298610 41 82 00 30 */ beq lbl_8029B6E0 +/* 8029B6B4 00298614 88 1D 00 00 */ lbz r0, 0(r29) +/* 8029B6B8 00298618 28 00 00 00 */ cmplwi r0, 0 +/* 8029B6BC 0029861C 41 82 00 24 */ beq lbl_8029B6E0 +/* 8029B6C0 00298620 83 DD 00 04 */ lwz r30, 4(r29) +/* 8029B6C4 00298624 28 1E 00 00 */ cmplwi r30, 0 +/* 8029B6C8 00298628 41 82 00 18 */ beq lbl_8029B6E0 +/* 8029B6CC 0029862C 7F C3 F3 78 */ mr r3, r30 +/* 8029B6D0 00298630 38 80 00 00 */ li r4, 0 +/* 8029B6D4 00298634 48 0A 57 6D */ bl __dt__6CTokenFv +/* 8029B6D8 00298638 7F C3 F3 78 */ mr r3, r30 +/* 8029B6DC 0029863C 48 07 A2 55 */ bl Free__7CMemoryFPCv +lbl_8029B6E0: +/* 8029B6E0 00298640 3B BD 00 08 */ addi r29, r29, 8 +lbl_8029B6E4: +/* 8029B6E4 00298644 7C 1D F8 40 */ cmplw r29, r31 +/* 8029B6E8 00298648 40 82 FF C4 */ bne lbl_8029B6AC +/* 8029B6EC 0029864C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 8029B6F0 00298650 28 03 00 00 */ cmplwi r3, 0 +/* 8029B6F4 00298654 41 82 00 08 */ beq lbl_8029B6FC +/* 8029B6F8 00298658 48 07 A2 39 */ bl Free__7CMemoryFPCv +lbl_8029B6FC: +/* 8029B6FC 0029865C 7F 80 07 35 */ extsh. r0, r28 +/* 8029B700 00298660 40 81 00 0C */ ble lbl_8029B70C +/* 8029B704 00298664 7F 63 DB 78 */ mr r3, r27 +/* 8029B708 00298668 48 07 A2 29 */ bl Free__7CMemoryFPCv +lbl_8029B70C: +/* 8029B70C 0029866C 7F 63 DB 78 */ mr r3, r27 +/* 8029B710 00298670 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8029B714 00298674 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029B718 00298678 7C 08 03 A6 */ mtlr r0 +/* 8029B71C 0029867C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029B720 00298680 4E 80 00 20 */ blr + +.global __ct__10CSlideShowFv +__ct__10CSlideShowFv: +/* 8029B724 00298684 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8029B728 00298688 7C 08 02 A6 */ mflr r0 +/* 8029B72C 0029868C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8029B730 00298690 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8029B734 00298694 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8029B738 00298698 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8029B73C 0029869C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8029B740 002986A0 BF 01 00 80 */ stmw r24, 0x80(r1) +/* 8029B744 002986A4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029B748 002986A8 7C 7F 1B 78 */ mr r31, r3 +/* 8029B74C 002986AC 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029B750 002986B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029B754 002986B4 38 84 00 FB */ addi r4, r4, 0xfb +/* 8029B758 002986B8 4B D6 95 61 */ bl string_l__4rstlFPCc +/* 8029B75C 002986BC 7F E3 FB 78 */ mr r3, r31 +/* 8029B760 002986C0 38 81 00 5C */ addi r4, r1, 0x5c +/* 8029B764 002986C4 4B DB 74 A9 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029B768 002986C8 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029B76C 002986CC 48 0A 23 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029B770 002986D0 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha +/* 8029B774 002986D4 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B778 002986D8 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l +/* 8029B77C 002986DC 38 80 00 00 */ li r4, 0 +/* 8029B780 002986E0 90 1F 00 00 */ stw r0, 0(r31) +/* 8029B784 002986E4 38 00 FF FF */ li r0, -1 +/* 8029B788 002986E8 FC 40 08 90 */ fmr f2, f1 +/* 8029B78C 002986EC 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8029B790 002986F0 90 9F 00 14 */ stw r4, 0x14(r31) +/* 8029B794 002986F4 90 9F 00 1C */ stw r4, 0x1c(r31) +/* 8029B798 002986F8 90 9F 00 20 */ stw r4, 0x20(r31) +/* 8029B79C 002986FC 90 9F 00 24 */ stw r4, 0x24(r31) +/* 8029B7A0 00298700 90 9F 00 2C */ stw r4, 0x2c(r31) +/* 8029B7A4 00298704 90 9F 00 30 */ stw r4, 0x30(r31) +/* 8029B7A8 00298708 90 9F 00 34 */ stw r4, 0x34(r31) +/* 8029B7AC 0029870C 90 9F 00 38 */ stw r4, 0x38(r31) +/* 8029B7B0 00298710 90 9F 00 3C */ stw r4, 0x3c(r31) +/* 8029B7B4 00298714 90 9F 00 40 */ stw r4, 0x40(r31) +/* 8029B7B8 00298718 90 9F 00 44 */ stw r4, 0x44(r31) +/* 8029B7BC 0029871C 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8029B7C0 00298720 D0 3F 00 4C */ stfs f1, 0x4c(r31) +/* 8029B7C4 00298724 D0 3F 00 50 */ stfs f1, 0x50(r31) +/* 8029B7C8 00298728 D0 3F 00 54 */ stfs f1, 0x54(r31) +/* 8029B7CC 0029872C D0 3F 00 58 */ stfs f1, 0x58(r31) +/* 8029B7D0 00298730 90 9F 00 5C */ stw r4, 0x5c(r31) +/* 8029B7D4 00298734 90 1F 00 60 */ stw r0, 0x60(r31) +/* 8029B7D8 00298738 90 1F 00 64 */ stw r0, 0x64(r31) +/* 8029B7DC 0029873C 98 9F 00 68 */ stb r4, 0x68(r31) +/* 8029B7E0 00298740 90 9F 00 6C */ stw r4, 0x6c(r31) +/* 8029B7E4 00298744 98 9F 00 70 */ stb r4, 0x70(r31) +/* 8029B7E8 00298748 48 07 8A 19 */ bl __ct__9CVector2fFff +/* 8029B7EC 0029874C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B7F0 00298750 38 7F 00 7C */ addi r3, r31, 0x7c +/* 8029B7F4 00298754 FC 40 08 90 */ fmr f2, f1 +/* 8029B7F8 00298758 48 07 8A 09 */ bl __ct__9CVector2fFff +/* 8029B7FC 0029875C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B800 00298760 38 7F 00 84 */ addi r3, r31, 0x84 +/* 8029B804 00298764 FC 40 08 90 */ fmr f2, f1 +/* 8029B808 00298768 48 07 89 F9 */ bl __ct__9CVector2fFff +/* 8029B80C 0029876C 48 0A E7 A1 */ bl White__6CColorFv +/* 8029B810 00298770 80 03 00 00 */ lwz r0, 0(r3) +/* 8029B814 00298774 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) +/* 8029B818 00298778 90 1F 00 8C */ stw r0, 0x8c(r31) +/* 8029B81C 0029877C F3 E1 A0 11 */ psq_st f31, 17(r1), 1, qr2 +/* 8029B820 00298780 38 80 00 00 */ li r4, 0 +/* 8029B824 00298784 38 00 FF FF */ li r0, -1 +/* 8029B828 00298788 10 20 F8 90 */ ps_mr f1, f31 +/* 8029B82C 0029878C 88 A1 00 11 */ lbz r5, 0x11(r1) +/* 8029B830 00298790 10 40 F8 90 */ ps_mr f2, f31 +/* 8029B834 00298794 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8029B838 00298798 98 BF 00 8F */ stb r5, 0x8f(r31) +/* 8029B83C 0029879C 90 9F 00 90 */ stw r4, 0x90(r31) +/* 8029B840 002987A0 90 1F 00 94 */ stw r0, 0x94(r31) +/* 8029B844 002987A4 90 1F 00 98 */ stw r0, 0x98(r31) +/* 8029B848 002987A8 98 9F 00 9C */ stb r4, 0x9c(r31) +/* 8029B84C 002987AC 90 9F 00 A0 */ stw r4, 0xa0(r31) +/* 8029B850 002987B0 98 9F 00 A4 */ stb r4, 0xa4(r31) +/* 8029B854 002987B4 48 07 89 AD */ bl __ct__9CVector2fFff +/* 8029B858 002987B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B85C 002987BC 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8029B860 002987C0 FC 40 08 90 */ fmr f2, f1 +/* 8029B864 002987C4 48 07 89 9D */ bl __ct__9CVector2fFff +/* 8029B868 002987C8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B86C 002987CC 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 8029B870 002987D0 FC 40 08 90 */ fmr f2, f1 +/* 8029B874 002987D4 48 07 89 8D */ bl __ct__9CVector2fFff +/* 8029B878 002987D8 48 0A E7 35 */ bl White__6CColorFv +/* 8029B87C 002987DC 80 03 00 00 */ lwz r0, 0(r3) +/* 8029B880 002987E0 C3 C2 BF F0 */ lfs f30, lbl_805ADD10@sda21(r2) +/* 8029B884 002987E4 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 8029B888 002987E8 F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 +/* 8029B88C 002987EC 38 E0 00 00 */ li r7, 0 +/* 8029B890 002987F0 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 8029B894 002987F4 38 60 00 01 */ li r3, 1 +/* 8029B898 002987F8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8029B89C 002987FC 38 A0 00 00 */ li r5, 0 +/* 8029B8A0 00298800 38 C0 00 00 */ li r6, 0 +/* 8029B8A4 00298804 98 1F 00 C3 */ stb r0, 0xc3(r31) +/* 8029B8A8 00298808 90 FF 00 C4 */ stw r7, 0xc4(r31) +/* 8029B8AC 0029880C 90 FF 00 C8 */ stw r7, 0xc8(r31) +/* 8029B8B0 00298810 90 FF 00 CC */ stw r7, 0xcc(r31) +/* 8029B8B4 00298814 90 FF 00 D4 */ stw r7, 0xd4(r31) +/* 8029B8B8 00298818 90 FF 00 D8 */ stw r7, 0xd8(r31) +/* 8029B8BC 0029881C 90 FF 00 DC */ stw r7, 0xdc(r31) +/* 8029B8C0 00298820 90 FF 00 E0 */ stw r7, 0xe0(r31) +/* 8029B8C4 00298824 90 FF 00 E4 */ stw r7, 0xe4(r31) +/* 8029B8C8 00298828 90 FF 00 E8 */ stw r7, 0xe8(r31) +/* 8029B8CC 0029882C 90 FF 00 EC */ stw r7, 0xec(r31) +/* 8029B8D0 00298830 90 FF 00 F0 */ stw r7, 0xf0(r31) +/* 8029B8D4 00298834 90 FF 00 F4 */ stw r7, 0xf4(r31) +/* 8029B8D8 00298838 90 FF 00 FC */ stw r7, 0xfc(r31) +/* 8029B8DC 0029883C 90 FF 01 00 */ stw r7, 0x100(r31) +/* 8029B8E0 00298840 90 FF 01 04 */ stw r7, 0x104(r31) +/* 8029B8E4 00298844 90 FF 01 0C */ stw r7, 0x10c(r31) +/* 8029B8E8 00298848 90 FF 01 10 */ stw r7, 0x110(r31) +/* 8029B8EC 0029884C 90 FF 01 14 */ stw r7, 0x114(r31) +/* 8029B8F0 00298850 90 FF 01 1C */ stw r7, 0x11c(r31) +/* 8029B8F4 00298854 90 FF 01 20 */ stw r7, 0x120(r31) +/* 8029B8F8 00298858 90 FF 01 24 */ stw r7, 0x124(r31) +/* 8029B8FC 0029885C D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 8029B900 00298860 D0 1F 01 2C */ stfs f0, 0x12c(r31) +/* 8029B904 00298864 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029B908 00298868 C0 04 00 54 */ lfs f0, 0x54(r4) +/* 8029B90C 0029886C D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8029B910 00298870 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B914 00298874 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029B918 00298878 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B91C 0029887C 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B920 00298880 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 8029B924 00298884 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B928 00298888 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B92C 0029888C 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 8029B930 00298890 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B934 00298894 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B938 00298898 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8029B93C 0029889C 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B940 002988A0 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B944 002988A4 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 8029B948 002988A8 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B94C 002988AC 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B950 002988B0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8029B954 002988B4 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B958 002988B8 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B95C 002988BC 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f +/* 8029B960 002988C0 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B964 002988C4 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 8029B968 002988C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029B96C 002988CC 98 1F 01 35 */ stb r0, 0x135(r31) +/* 8029B970 002988D0 93 FF 00 5C */ stw r31, 0x5c(r31) +/* 8029B974 002988D4 93 FF 00 90 */ stw r31, 0x90(r31) +/* 8029B978 002988D8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029B97C 002988DC 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029B980 002988E0 38 63 00 04 */ addi r3, r3, 4 +/* 8029B984 002988E4 38 84 00 04 */ addi r4, r4, 4 +/* 8029B988 002988E8 48 09 FB D5 */ bl "AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +/* 8029B98C 002988EC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029B990 002988F0 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 8029B994 002988F4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 8029B998 002988F8 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 8029B99C 002988FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8029B9A0 00298900 3B 65 00 24 */ addi r27, r5, 0x24 +/* 8029B9A4 00298904 3B 45 00 28 */ addi r26, r5, 0x28 +/* 8029B9A8 00298908 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029B9AC 0029890C 83 A4 00 08 */ lwz r29, 8(r4) +/* 8029B9B0 00298910 83 84 00 0C */ lwz r28, 0xc(r4) +/* 8029B9B4 00298914 80 85 00 14 */ lwz r4, 0x14(r5) +/* 8029B9B8 00298918 7D 89 03 A6 */ mtctr r12 +/* 8029B9BC 0029891C 4E 80 04 21 */ bctrl +/* 8029B9C0 00298920 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029B9C4 00298924 7C 7E 1B 78 */ mr r30, r3 +/* 8029B9C8 00298928 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029B9CC 0029892C 38 60 03 0C */ li r3, 0x30c +/* 8029B9D0 00298930 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029B9D4 00298934 38 A0 00 00 */ li r5, 0 +/* 8029B9D8 00298938 48 07 9E 95 */ bl __nw__FUlPCcPCc +/* 8029B9DC 0029893C 7C 78 1B 79 */ or. r24, r3, r3 +/* 8029B9E0 00298940 41 82 00 58 */ beq lbl_8029BA38 +/* 8029B9E4 00298944 48 0A E5 C9 */ bl White__6CColorFv +/* 8029B9E8 00298948 7C 79 1B 78 */ mr r25, r3 +/* 8029B9EC 0029894C 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029B9F0 00298950 38 80 00 00 */ li r4, 0 +/* 8029B9F4 00298954 38 A0 00 01 */ li r5, 1 +/* 8029B9F8 00298958 38 C0 00 01 */ li r6, 1 +/* 8029B9FC 0029895C 38 E0 00 02 */ li r7, 2 +/* 8029BA00 00298960 39 00 00 00 */ li r8, 0 +/* 8029BA04 00298964 48 02 E6 41 */ bl __ct__18CGuiTextPropertiesFv +/* 8029BA08 00298968 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 8029BA0C 0029896C 7C 65 1B 78 */ mr r5, r3 +/* 8029BA10 00298970 7F 03 C3 78 */ mr r3, r24 +/* 8029BA14 00298974 7F 66 DB 78 */ mr r6, r27 +/* 8029BA18 00298978 90 01 00 08 */ stw r0, 8(r1) +/* 8029BA1C 0029897C 7F 47 D3 78 */ mr r7, r26 +/* 8029BA20 00298980 7F 28 CB 78 */ mr r8, r25 +/* 8029BA24 00298984 7F A9 EB 78 */ mr r9, r29 +/* 8029BA28 00298988 80 9E 00 04 */ lwz r4, 4(r30) +/* 8029BA2C 0029898C 7F 8A E3 78 */ mr r10, r28 +/* 8029BA30 00298990 48 02 E4 0D */ bl __ct__15CGuiTextSupportFv +/* 8029BA34 00298994 7C 78 1B 78 */ mr r24, r3 +lbl_8029BA38: +/* 8029BA38 00298998 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8029BA3C 0029899C 38 80 00 01 */ li r4, 1 +/* 8029BA40 002989A0 48 02 E2 59 */ bl __dt__15CGuiTextSupportFv +/* 8029BA44 002989A4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029BA48 002989A8 93 1F 00 C4 */ stw r24, 0xc4(r31) +/* 8029BA4C 002989AC 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l +/* 8029BA50 002989B0 38 60 03 0C */ li r3, 0x30c +/* 8029BA54 002989B4 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029BA58 002989B8 38 A0 00 00 */ li r5, 0 +/* 8029BA5C 002989BC 48 07 9E 11 */ bl __nw__FUlPCcPCc +/* 8029BA60 002989C0 7C 78 1B 79 */ or. r24, r3, r3 +/* 8029BA64 002989C4 41 82 00 58 */ beq lbl_8029BABC +/* 8029BA68 002989C8 48 0A E5 45 */ bl White__6CColorFv +/* 8029BA6C 002989CC 7C 79 1B 78 */ mr r25, r3 +/* 8029BA70 002989D0 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029BA74 002989D4 38 80 00 00 */ li r4, 0 +/* 8029BA78 002989D8 38 A0 00 01 */ li r5, 1 +/* 8029BA7C 002989DC 38 C0 00 02 */ li r6, 2 +/* 8029BA80 002989E0 38 E0 00 02 */ li r7, 2 +/* 8029BA84 002989E4 39 00 00 00 */ li r8, 0 +/* 8029BA88 002989E8 48 02 E5 BD */ bl __ct__18CGuiTextPropertiesFv +/* 8029BA8C 002989EC 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 8029BA90 002989F0 7C 65 1B 78 */ mr r5, r3 +/* 8029BA94 002989F4 7F 03 C3 78 */ mr r3, r24 +/* 8029BA98 002989F8 7F 66 DB 78 */ mr r6, r27 +/* 8029BA9C 002989FC 90 01 00 08 */ stw r0, 8(r1) +/* 8029BAA0 00298A00 7F 47 D3 78 */ mr r7, r26 +/* 8029BAA4 00298A04 7F 28 CB 78 */ mr r8, r25 +/* 8029BAA8 00298A08 7F A9 EB 78 */ mr r9, r29 +/* 8029BAAC 00298A0C 80 9E 00 04 */ lwz r4, 4(r30) +/* 8029BAB0 00298A10 7F 8A E3 78 */ mr r10, r28 +/* 8029BAB4 00298A14 48 02 E3 89 */ bl __ct__15CGuiTextSupportFv +/* 8029BAB8 00298A18 7C 78 1B 78 */ mr r24, r3 +lbl_8029BABC: +/* 8029BABC 00298A1C 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8029BAC0 00298A20 38 80 00 01 */ li r4, 1 +/* 8029BAC4 00298A24 48 02 E1 D5 */ bl __dt__15CGuiTextSupportFv +/* 8029BAC8 00298A28 93 1F 00 C8 */ stw r24, 0xc8(r31) +/* 8029BACC 00298A2C 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8029BAD0 00298A30 38 80 00 12 */ li r4, 0x12 +/* 8029BAD4 00298A34 80 02 D7 58 */ lwz r0, lbl_805AF478@sda21(r2) +/* 8029BAD8 00298A38 80 ED A1 4C */ lwz r7, gpTweakPlayerRes@sda21(r13) +/* 8029BADC 00298A3C 80 C2 D7 5C */ lwz r6, lbl_805AF47C@sda21(r2) +/* 8029BAE0 00298A40 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029BAE4 00298A44 38 A7 00 20 */ addi r5, r7, 0x20 +/* 8029BAE8 00298A48 38 07 00 48 */ addi r0, r7, 0x48 +/* 8029BAEC 00298A4C 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8029BAF0 00298A50 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8029BAF4 00298A54 90 01 00 38 */ stw r0, 0x38(r1) +/* 8029BAF8 00298A58 4B D6 CE 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8029BAFC 00298A5C 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8029BB00 00298A60 3B C1 00 34 */ addi r30, r1, 0x34 +/* 8029BB04 00298A64 3B 83 54 52 */ addi r28, r3, 0x54585452@l +/* 8029BB08 00298A68 3B 40 00 00 */ li r26, 0 +lbl_8029BB0C: +/* 8029BB0C 00298A6C 3B 60 00 00 */ li r27, 0 +/* 8029BB10 00298A70 3B 00 00 00 */ li r24, 0 +lbl_8029BB14: +/* 8029BB14 00298A74 80 1E 00 00 */ lwz r0, 0(r30) +/* 8029BB18 00298A78 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029BB1C 00298A7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029BB20 00298A80 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8029BB24 00298A84 7C C0 C2 14 */ add r6, r0, r24 +/* 8029BB28 00298A88 80 06 00 04 */ lwz r0, 4(r6) +/* 8029BB2C 00298A8C 93 81 00 2C */ stw r28, 0x2c(r1) +/* 8029BB30 00298A90 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029BB34 00298A94 81 84 00 00 */ lwz r12, 0(r4) +/* 8029BB38 00298A98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029BB3C 00298A9C 7D 89 03 A6 */ mtctr r12 +/* 8029BB40 00298AA0 4E 80 04 21 */ bctrl +/* 8029BB44 00298AA4 80 1F 00 FC */ lwz r0, 0xfc(r31) +/* 8029BB48 00298AA8 80 BF 01 00 */ lwz r5, 0x100(r31) +/* 8029BB4C 00298AAC 7C 00 28 00 */ cmpw r0, r5 +/* 8029BB50 00298AB0 41 80 00 1C */ blt lbl_8029BB6C +/* 8029BB54 00298AB4 2C 05 00 00 */ cmpwi r5, 0 +/* 8029BB58 00298AB8 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8029BB5C 00298ABC 38 80 00 04 */ li r4, 4 +/* 8029BB60 00298AC0 41 82 00 08 */ beq lbl_8029BB68 +/* 8029BB64 00298AC4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029BB68: +/* 8029BB68 00298AC8 4B D6 CD F5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8029BB6C: +/* 8029BB6C 00298ACC 80 1F 00 FC */ lwz r0, 0xfc(r31) +/* 8029BB70 00298AD0 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8029BB74 00298AD4 54 00 18 38 */ slwi r0, r0, 3 +/* 8029BB78 00298AD8 7C 63 02 15 */ add. r3, r3, r0 +/* 8029BB7C 00298ADC 41 82 00 0C */ beq lbl_8029BB88 +/* 8029BB80 00298AE0 38 81 00 24 */ addi r4, r1, 0x24 +/* 8029BB84 00298AE4 48 0A 53 25 */ bl __ct__6CTokenFRC6CToken +lbl_8029BB88: +/* 8029BB88 00298AE8 80 BF 00 FC */ lwz r5, 0xfc(r31) +/* 8029BB8C 00298AEC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029BB90 00298AF0 38 80 FF FF */ li r4, -1 +/* 8029BB94 00298AF4 38 05 00 01 */ addi r0, r5, 1 +/* 8029BB98 00298AF8 90 1F 00 FC */ stw r0, 0xfc(r31) +/* 8029BB9C 00298AFC 48 0A 52 A5 */ bl __dt__6CTokenFv +/* 8029BBA0 00298B00 3B 7B 00 01 */ addi r27, r27, 1 +/* 8029BBA4 00298B04 3B 18 00 04 */ addi r24, r24, 4 +/* 8029BBA8 00298B08 2C 1B 00 09 */ cmpwi r27, 9 +/* 8029BBAC 00298B0C 41 80 FF 68 */ blt lbl_8029BB14 +/* 8029BBB0 00298B10 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029BBB4 00298B14 3B DE 00 04 */ addi r30, r30, 4 +/* 8029BBB8 00298B18 2C 1A 00 02 */ cmpwi r26, 2 +/* 8029BBBC 00298B1C 41 80 FF 50 */ blt lbl_8029BB0C +/* 8029BBC0 00298B20 7F E3 FB 78 */ mr r3, r31 +/* 8029BBC4 00298B24 38 9F 00 F8 */ addi r4, r31, 0xf8 +/* 8029BBC8 00298B28 38 A0 00 01 */ li r5, 1 +/* 8029BBCC 00298B2C 4B FF CD E5 */ bl sub_802989b0 +/* 8029BBD0 00298B30 3C 60 80 3D */ lis r3, lbl_803D5C38@ha +/* 8029BBD4 00298B34 81 6D A1 4C */ lwz r11, gpTweakPlayerRes@sda21(r13) +/* 8029BBD8 00298B38 39 03 5C 38 */ addi r8, r3, lbl_803D5C38@l +/* 8029BBDC 00298B3C 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8029BBE0 00298B40 80 88 00 00 */ lwz r4, 0(r8) +/* 8029BBE4 00298B44 38 EB 00 70 */ addi r7, r11, 0x70 +/* 8029BBE8 00298B48 81 48 00 04 */ lwz r10, 4(r8) +/* 8029BBEC 00298B4C 38 CB 00 7C */ addi r6, r11, 0x7c +/* 8029BBF0 00298B50 81 28 00 08 */ lwz r9, 8(r8) +/* 8029BBF4 00298B54 38 AB 00 A0 */ addi r5, r11, 0xa0 +/* 8029BBF8 00298B58 81 08 00 0C */ lwz r8, 0xc(r8) +/* 8029BBFC 00298B5C 38 0B 00 B8 */ addi r0, r11, 0xb8 +/* 8029BC00 00298B60 90 81 00 6C */ stw r4, 0x6c(r1) +/* 8029BC04 00298B64 38 80 00 08 */ li r4, 8 +/* 8029BC08 00298B68 91 41 00 70 */ stw r10, 0x70(r1) +/* 8029BC0C 00298B6C 91 21 00 74 */ stw r9, 0x74(r1) +/* 8029BC10 00298B70 91 01 00 78 */ stw r8, 0x78(r1) +/* 8029BC14 00298B74 90 E1 00 6C */ stw r7, 0x6c(r1) +/* 8029BC18 00298B78 90 C1 00 70 */ stw r6, 0x70(r1) +/* 8029BC1C 00298B7C 90 A1 00 74 */ stw r5, 0x74(r1) +/* 8029BC20 00298B80 90 01 00 78 */ stw r0, 0x78(r1) +/* 8029BC24 00298B84 4B D6 CD 39 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8029BC28 00298B88 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8029BC2C 00298B8C 3B C1 00 6C */ addi r30, r1, 0x6c +/* 8029BC30 00298B90 3B 83 54 52 */ addi r28, r3, 0x54585452@l +/* 8029BC34 00298B94 3B 40 00 00 */ li r26, 0 +lbl_8029BC38: +/* 8029BC38 00298B98 3B 60 00 00 */ li r27, 0 +/* 8029BC3C 00298B9C 3B 00 00 00 */ li r24, 0 +lbl_8029BC40: +/* 8029BC40 00298BA0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8029BC44 00298BA4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029BC48 00298BA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029BC4C 00298BAC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8029BC50 00298BB0 7C C0 C2 14 */ add r6, r0, r24 +/* 8029BC54 00298BB4 80 06 00 04 */ lwz r0, 4(r6) +/* 8029BC58 00298BB8 93 81 00 1C */ stw r28, 0x1c(r1) +/* 8029BC5C 00298BBC 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029BC60 00298BC0 81 84 00 00 */ lwz r12, 0(r4) +/* 8029BC64 00298BC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029BC68 00298BC8 7D 89 03 A6 */ mtctr r12 +/* 8029BC6C 00298BCC 4E 80 04 21 */ bctrl +/* 8029BC70 00298BD0 80 1F 01 0C */ lwz r0, 0x10c(r31) +/* 8029BC74 00298BD4 80 BF 01 10 */ lwz r5, 0x110(r31) +/* 8029BC78 00298BD8 7C 00 28 00 */ cmpw r0, r5 +/* 8029BC7C 00298BDC 41 80 00 1C */ blt lbl_8029BC98 +/* 8029BC80 00298BE0 2C 05 00 00 */ cmpwi r5, 0 +/* 8029BC84 00298BE4 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8029BC88 00298BE8 38 80 00 04 */ li r4, 4 +/* 8029BC8C 00298BEC 41 82 00 08 */ beq lbl_8029BC94 +/* 8029BC90 00298BF0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029BC94: +/* 8029BC94 00298BF4 4B D6 CC C9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8029BC98: +/* 8029BC98 00298BF8 80 1F 01 0C */ lwz r0, 0x10c(r31) +/* 8029BC9C 00298BFC 80 7F 01 14 */ lwz r3, 0x114(r31) +/* 8029BCA0 00298C00 54 00 18 38 */ slwi r0, r0, 3 +/* 8029BCA4 00298C04 7C 63 02 15 */ add. r3, r3, r0 +/* 8029BCA8 00298C08 41 82 00 0C */ beq lbl_8029BCB4 +/* 8029BCAC 00298C0C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029BCB0 00298C10 48 0A 51 F9 */ bl __ct__6CTokenFRC6CToken +lbl_8029BCB4: +/* 8029BCB4 00298C14 80 BF 01 0C */ lwz r5, 0x10c(r31) +/* 8029BCB8 00298C18 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029BCBC 00298C1C 38 80 FF FF */ li r4, -1 +/* 8029BCC0 00298C20 38 05 00 01 */ addi r0, r5, 1 +/* 8029BCC4 00298C24 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8029BCC8 00298C28 48 0A 51 79 */ bl __dt__6CTokenFv +/* 8029BCCC 00298C2C 3B 7B 00 01 */ addi r27, r27, 1 +/* 8029BCD0 00298C30 3B 18 00 04 */ addi r24, r24, 4 +/* 8029BCD4 00298C34 2C 1B 00 02 */ cmpwi r27, 2 +/* 8029BCD8 00298C38 41 80 FF 68 */ blt lbl_8029BC40 +/* 8029BCDC 00298C3C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029BCE0 00298C40 3B DE 00 04 */ addi r30, r30, 4 +/* 8029BCE4 00298C44 2C 1A 00 04 */ cmpwi r26, 4 +/* 8029BCE8 00298C48 41 80 FF 50 */ blt lbl_8029BC38 +/* 8029BCEC 00298C4C 7F E3 FB 78 */ mr r3, r31 +/* 8029BCF0 00298C50 38 9F 01 08 */ addi r4, r31, 0x108 +/* 8029BCF4 00298C54 38 A0 00 01 */ li r5, 1 +/* 8029BCF8 00298C58 4B FF CC B9 */ bl sub_802989b0 +/* 8029BCFC 00298C5C 7F E3 FB 78 */ mr r3, r31 +/* 8029BD00 00298C60 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8029BD04 00298C64 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8029BD08 00298C68 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8029BD0C 00298C6C CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8029BD10 00298C70 BB 01 00 80 */ lmw r24, 0x80(r1) +/* 8029BD14 00298C74 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8029BD18 00298C78 7C 08 03 A6 */ mtlr r0 +/* 8029BD1C 00298C7C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8029BD20 00298C80 4E 80 00 20 */ blr + +.global sub_8029bd24 +sub_8029bd24: +/* 8029BD24 00298C84 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8029BD28 00298C88 7C 08 02 A6 */ mflr r0 +/* 8029BD2C 00298C8C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8029BD30 00298C90 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8029BD34 00298C94 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8029BD38 00298C98 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8029BD3C 00298C9C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8029BD40 00298CA0 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 8029BD44 00298CA4 80 63 00 04 */ lwz r3, 4(r3) +/* 8029BD48 00298CA8 7C 9D 23 78 */ mr r29, r4 +/* 8029BD4C 00298CAC 7C BE 2B 78 */ mr r30, r5 +/* 8029BD50 00298CB0 7C D7 33 78 */ mr r23, r6 +/* 8029BD54 00298CB4 28 03 00 00 */ cmplwi r3, 0 +/* 8029BD58 00298CB8 7C F8 3B 78 */ mr r24, r7 +/* 8029BD5C 00298CBC 41 82 02 0C */ beq lbl_8029BF68 +/* 8029BD60 00298CC0 48 0A 50 AD */ bl GetObj__6CTokenFv +/* 8029BD64 00298CC4 83 E3 00 04 */ lwz r31, 4(r3) +/* 8029BD68 00298CC8 3C 80 43 30 */ lis r4, 0x4330 +/* 8029BD6C 00298CCC 3C 60 80 3F */ lis r3, lbl_803F0004@ha +/* 8029BD70 00298CD0 87 83 D9 10 */ lwzu r28, -0x26f0(r3) +/* 8029BD74 00298CD4 A8 BF 00 04 */ lha r5, 4(r31) +/* 8029BD78 00298CD8 28 17 00 00 */ cmplwi r23, 0 +/* 8029BD7C 00298CDC A8 1F 00 06 */ lha r0, 6(r31) +/* 8029BD80 00298CE0 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8029BD84 00298CE4 90 81 00 60 */ stw r4, 0x60(r1) +/* 8029BD88 00298CE8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8029BD8C 00298CEC C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 8029BD90 00298CF0 90 A1 00 64 */ stw r5, 0x64(r1) +/* 8029BD94 00298CF4 83 63 00 04 */ lwz r27, lbl_803F0004@l(r3) +/* 8029BD98 00298CF8 C8 21 00 60 */ lfd f1, 0x60(r1) +/* 8029BD9C 00298CFC 90 81 00 68 */ stw r4, 0x68(r1) +/* 8029BDA0 00298D00 EF E1 10 28 */ fsubs f31, f1, f2 +/* 8029BDA4 00298D04 83 43 00 08 */ lwz r26, 8(r3) +/* 8029BDA8 00298D08 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8029BDAC 00298D0C 83 23 00 0C */ lwz r25, 0xc(r3) +/* 8029BDB0 00298D10 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8029BDB4 00298D14 EF C0 10 28 */ fsubs f30, f0, f2 +/* 8029BDB8 00298D18 41 82 00 24 */ beq lbl_8029BDDC +/* 8029BDBC 00298D1C C0 37 00 00 */ lfs f1, 0(r23) +/* 8029BDC0 00298D20 C0 17 00 04 */ lfs f0, 4(r23) +/* 8029BDC4 00298D24 FC 20 08 1E */ fctiwz f1, f1 +/* 8029BDC8 00298D28 FC 00 00 1E */ fctiwz f0, f0 +/* 8029BDCC 00298D2C D8 21 00 68 */ stfd f1, 0x68(r1) +/* 8029BDD0 00298D30 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 8029BDD4 00298D34 83 81 00 6C */ lwz r28, 0x6c(r1) +/* 8029BDD8 00298D38 83 61 00 64 */ lwz r27, 0x64(r1) +lbl_8029BDDC: +/* 8029BDDC 00298D3C 28 18 00 00 */ cmplwi r24, 0 +/* 8029BDE0 00298D40 41 82 00 24 */ beq lbl_8029BE04 +/* 8029BDE4 00298D44 C0 38 00 00 */ lfs f1, 0(r24) +/* 8029BDE8 00298D48 C0 18 00 04 */ lfs f0, 4(r24) +/* 8029BDEC 00298D4C FC 20 08 1E */ fctiwz f1, f1 +/* 8029BDF0 00298D50 FC 00 00 1E */ fctiwz f0, f0 +/* 8029BDF4 00298D54 D8 21 00 68 */ stfd f1, 0x68(r1) +/* 8029BDF8 00298D58 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 8029BDFC 00298D5C 83 41 00 6C */ lwz r26, 0x6c(r1) +/* 8029BE00 00298D60 83 21 00 64 */ lwz r25, 0x64(r1) +lbl_8029BE04: +/* 8029BE04 00298D64 38 60 00 01 */ li r3, 1 +/* 8029BE08 00298D68 38 80 00 04 */ li r4, 4 +/* 8029BE0C 00298D6C 38 A0 00 05 */ li r5, 5 +/* 8029BE10 00298D70 38 C0 00 00 */ li r6, 0 +/* 8029BE14 00298D74 48 06 FC 3D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8029BE18 00298D78 7C 7C D2 14 */ add r3, r28, r26 +/* 8029BE1C 00298D7C 7C 1B CA 14 */ add r0, r27, r25 +/* 8029BE20 00298D80 3C A0 43 30 */ lis r5, 0x4330 +/* 8029BE24 00298D84 6F 86 80 00 */ xoris r6, r28, 0x8000 +/* 8029BE28 00298D88 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8029BE2C 00298D8C 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8029BE30 00298D90 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 8029BE34 00298D94 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8029BE38 00298D98 C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2) +/* 8029BE3C 00298D9C 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8029BE40 00298DA0 C0 A2 C0 10 */ lfs f5, lbl_805ADD30@sda21(r2) +/* 8029BE44 00298DA4 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8029BE48 00298DA8 90 81 00 64 */ stw r4, 0x64(r1) +/* 8029BE4C 00298DAC EC 20 20 28 */ fsubs f1, f0, f4 +/* 8029BE50 00298DB0 C0 C2 C0 14 */ lfs f6, lbl_805ADD34@sda21(r2) +/* 8029BE54 00298DB4 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8029BE58 00298DB8 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 8029BE5C 00298DBC 90 61 00 74 */ stw r3, 0x74(r1) +/* 8029BE60 00298DC0 EC 40 20 28 */ fsubs f2, f0, f4 +/* 8029BE64 00298DC4 90 A1 00 70 */ stw r5, 0x70(r1) +/* 8029BE68 00298DC8 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8029BE6C 00298DCC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8029BE70 00298DD0 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8029BE74 00298DD4 90 A1 00 78 */ stw r5, 0x78(r1) +/* 8029BE78 00298DD8 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8029BE7C 00298DDC EC 80 20 28 */ fsubs f4, f0, f4 +/* 8029BE80 00298DE0 48 07 06 D5 */ bl SetOrtho__9CGraphicsFffffff +/* 8029BE84 00298DE4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8029BE88 00298DE8 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 8029BE8C 00298DEC 48 07 08 C1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029BE90 00298DF0 7F A4 EB 78 */ mr r4, r29 +/* 8029BE94 00298DF4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029BE98 00298DF8 48 07 72 A9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8029BE9C 00298DFC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029BEA0 00298E00 48 07 07 41 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8029BEA4 00298E04 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8029BEA8 00298E08 38 60 00 00 */ li r3, 0 +/* 8029BEAC 00298E0C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8029BEB0 00298E10 48 06 E4 09 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8029BEB4 00298E14 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8029BEB8 00298E18 38 60 00 01 */ li r3, 1 +/* 8029BEBC 00298E1C 48 06 E3 FD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8029BEC0 00298E20 7F E3 FB 78 */ mr r3, r31 +/* 8029BEC4 00298E24 38 80 00 00 */ li r4, 0 +/* 8029BEC8 00298E28 38 A0 00 01 */ li r5, 1 +/* 8029BECC 00298E2C 48 07 38 71 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8029BED0 00298E30 38 60 00 80 */ li r3, 0x80 +/* 8029BED4 00298E34 48 06 F7 95 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8029BED8 00298E38 7F C3 F3 78 */ mr r3, r30 +/* 8029BEDC 00298E3C 48 06 F6 6D */ bl StreamColor__9CGraphicsFRC6CColor +/* 8029BEE0 00298E40 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029BEE4 00298E44 FC 40 08 90 */ fmr f2, f1 +/* 8029BEE8 00298E48 48 06 F5 7D */ bl StreamTexcoord__9CGraphicsFff +/* 8029BEEC 00298E4C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8029BEF0 00298E50 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8029BEF4 00298E54 48 06 F6 CD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BEF8 00298E58 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +/* 8029BEFC 00298E5C C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2) +/* 8029BF00 00298E60 48 06 F5 65 */ bl StreamTexcoord__9CGraphicsFff +/* 8029BF04 00298E64 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF08 00298E68 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029BF0C 00298E6C D3 E1 00 20 */ stfs f31, 0x20(r1) +/* 8029BF10 00298E70 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8029BF14 00298E74 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8029BF18 00298E78 48 06 F6 A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BF1C 00298E7C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +/* 8029BF20 00298E80 FC 40 08 90 */ fmr f2, f1 +/* 8029BF24 00298E84 48 06 F5 41 */ bl StreamTexcoord__9CGraphicsFff +/* 8029BF28 00298E88 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF2C 00298E8C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029BF30 00298E90 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 8029BF34 00298E94 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8029BF38 00298E98 D3 C1 00 1C */ stfs f30, 0x1c(r1) +/* 8029BF3C 00298E9C 48 06 F6 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BF40 00298EA0 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029BF44 00298EA4 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2) +/* 8029BF48 00298EA8 48 06 F5 1D */ bl StreamTexcoord__9CGraphicsFff +/* 8029BF4C 00298EAC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF50 00298EB0 38 61 00 08 */ addi r3, r1, 8 +/* 8029BF54 00298EB4 D3 C1 00 10 */ stfs f30, 0x10(r1) +/* 8029BF58 00298EB8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8029BF5C 00298EBC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8029BF60 00298EC0 48 06 F6 61 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BF64 00298EC4 48 06 F4 AD */ bl StreamEnd__9CGraphicsFv +lbl_8029BF68: +/* 8029BF68 00298EC8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8029BF6C 00298ECC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8029BF70 00298ED0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8029BF74 00298ED4 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8029BF78 00298ED8 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 8029BF7C 00298EDC 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8029BF80 00298EE0 7C 08 03 A6 */ mtlr r0 +/* 8029BF84 00298EE4 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8029BF88 00298EE8 4E 80 00 20 */ blr + +.global sub_8029bf8c +sub_8029bf8c: +/* 8029BF8C 00298EEC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF90 00298EF0 38 00 00 00 */ li r0, 0 +/* 8029BF94 00298EF4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029BF98 00298EF8 40 81 00 08 */ ble lbl_8029BFA0 +/* 8029BF9C 00298EFC 60 00 00 01 */ ori r0, r0, 1 +lbl_8029BFA0: +/* 8029BFA0 00298F00 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BFA4 00298F04 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8029BFA8 00298F08 40 81 00 08 */ ble lbl_8029BFB0 +/* 8029BFAC 00298F0C 60 00 00 02 */ ori r0, r0, 2 +lbl_8029BFB0: +/* 8029BFB0 00298F10 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BFB4 00298F14 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8029BFB8 00298F18 40 81 00 08 */ ble lbl_8029BFC0 +/* 8029BFBC 00298F1C 60 00 00 04 */ ori r0, r0, 4 +lbl_8029BFC0: +/* 8029BFC0 00298F20 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BFC4 00298F24 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8029BFC8 00298F28 40 81 00 08 */ ble lbl_8029BFD0 +/* 8029BFCC 00298F2C 60 00 00 08 */ ori r0, r0, 8 +lbl_8029BFD0: +/* 8029BFD0 00298F30 28 00 00 0A */ cmplwi r0, 0xa +/* 8029BFD4 00298F34 41 81 00 5C */ bgt lbl_8029C030 +/* 8029BFD8 00298F38 3C 60 80 3F */ lis r3, lbl_803EBFD4@ha +/* 8029BFDC 00298F3C 54 00 10 3A */ slwi r0, r0, 2 +/* 8029BFE0 00298F40 38 63 BF D4 */ addi r3, r3, lbl_803EBFD4@l +/* 8029BFE4 00298F44 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8029BFE8 00298F48 7C 09 03 A6 */ mtctr r0 +/* 8029BFEC 00298F4C 4E 80 04 20 */ bctr +/* 8029BFF0 00298F50 38 60 00 01 */ li r3, 1 +/* 8029BFF4 00298F54 4E 80 00 20 */ blr +/* 8029BFF8 00298F58 38 60 00 02 */ li r3, 2 +/* 8029BFFC 00298F5C 4E 80 00 20 */ blr +/* 8029C000 00298F60 38 60 00 03 */ li r3, 3 +/* 8029C004 00298F64 4E 80 00 20 */ blr +/* 8029C008 00298F68 38 60 00 04 */ li r3, 4 +/* 8029C00C 00298F6C 4E 80 00 20 */ blr +/* 8029C010 00298F70 38 60 00 05 */ li r3, 5 +/* 8029C014 00298F74 4E 80 00 20 */ blr +/* 8029C018 00298F78 38 60 00 06 */ li r3, 6 +/* 8029C01C 00298F7C 4E 80 00 20 */ blr +/* 8029C020 00298F80 38 60 00 07 */ li r3, 7 +/* 8029C024 00298F84 4E 80 00 20 */ blr +/* 8029C028 00298F88 38 60 00 08 */ li r3, 8 +/* 8029C02C 00298F8C 4E 80 00 20 */ blr +lbl_8029C030: +/* 8029C030 00298F90 38 60 00 00 */ li r3, 0 +/* 8029C034 00298F94 4E 80 00 20 */ blr + +.global sub_8029c038 +sub_8029c038: +/* 8029C038 00298F98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C03C 00298F9C 7C 08 02 A6 */ mflr r0 +/* 8029C040 00298FA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C044 00298FA4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8029C048 00298FA8 7C 9F 23 78 */ mr r31, r4 +/* 8029C04C 00298FAC 7C 7E 1B 78 */ mr r30, r3 +/* 8029C050 00298FB0 7C DB 33 78 */ mr r27, r6 +/* 8029C054 00298FB4 38 61 00 0C */ addi r3, r1, 0xc +/* 8029C058 00298FB8 80 85 00 00 */ lwz r4, 0(r5) +/* 8029C05C 00298FBC 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C060 00298FC0 90 81 00 08 */ stw r4, 8(r1) +/* 8029C064 00298FC4 38 81 00 08 */ addi r4, r1, 8 +/* 8029C068 00298FC8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029C06C 00298FCC 48 00 05 05 */ bl sub_8029c570 +/* 8029C070 00298FD0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C074 00298FD4 7C 7D 1B 78 */ mr r29, r3 +/* 8029C078 00298FD8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029C07C 00298FDC 48 00 00 58 */ b lbl_8029C0D4 +lbl_8029C080: +/* 8029C080 00298FE0 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 8029C084 00298FE4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C088 00298FE8 7C 83 EA 14 */ add r4, r3, r29 +/* 8029C08C 00298FEC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029C090 00298FF0 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 8029C094 00298FF4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029C098 00298FF8 7F 84 E3 78 */ mr r4, r28 +/* 8029C09C 00298FFC 48 00 04 95 */ bl sub_8029c530 +/* 8029C0A0 00299000 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8029C0A4 00299004 80 1B 00 00 */ lwz r0, 0(r27) +/* 8029C0A8 00299008 80 64 00 00 */ lwz r3, 0(r4) +/* 8029C0AC 0029900C 7C 03 00 40 */ cmplw r3, r0 +/* 8029C0B0 00299010 40 80 00 20 */ bge lbl_8029C0D0 +/* 8029C0B4 00299014 90 9F 00 00 */ stw r4, 0(r31) +/* 8029C0B8 00299018 7C 7C E8 50 */ subf r3, r28, r29 +/* 8029C0BC 0029901C 3B A3 FF FF */ addi r29, r3, -1 +/* 8029C0C0 00299020 80 7F 00 00 */ lwz r3, 0(r31) +/* 8029C0C4 00299024 38 03 00 08 */ addi r0, r3, 8 +/* 8029C0C8 00299028 90 1F 00 00 */ stw r0, 0(r31) +/* 8029C0CC 0029902C 48 00 00 08 */ b lbl_8029C0D4 +lbl_8029C0D0: +/* 8029C0D0 00299030 7F 9D E3 78 */ mr r29, r28 +lbl_8029C0D4: +/* 8029C0D4 00299034 2C 1D 00 00 */ cmpwi r29, 0 +/* 8029C0D8 00299038 41 81 FF A8 */ bgt lbl_8029C080 +/* 8029C0DC 0029903C 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C0E0 00299040 90 1E 00 00 */ stw r0, 0(r30) +/* 8029C0E4 00299044 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8029C0E8 00299048 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C0EC 0029904C 7C 08 03 A6 */ mtlr r0 +/* 8029C0F0 00299050 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C0F4 00299054 4E 80 00 20 */ blr + +.global sub_8029c0f8 +sub_8029c0f8: +/* 8029C0F8 00299058 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C0FC 0029905C 7C 08 02 A6 */ mflr r0 +/* 8029C100 00299060 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C104 00299064 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8029C108 00299068 7C 9F 23 78 */ mr r31, r4 +/* 8029C10C 0029906C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029C110 00299070 7C 7E 1B 78 */ mr r30, r3 +/* 8029C114 00299074 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8029C118 00299078 80 03 00 08 */ lwz r0, 8(r3) +/* 8029C11C 0029907C 7C 1F 00 00 */ cmpw r31, r0 +/* 8029C120 00299080 40 81 00 AC */ ble lbl_8029C1CC +/* 8029C124 00299084 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 8029C128 00299088 40 82 00 0C */ bne lbl_8029C134 +/* 8029C12C 0029908C 3B A0 00 00 */ li r29, 0 +/* 8029C130 00299090 48 00 00 1C */ b lbl_8029C14C +lbl_8029C134: +/* 8029C134 00299094 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C138 00299098 38 A0 00 00 */ li r5, 0 +/* 8029C13C 0029909C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C140 002990A0 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C144 002990A4 48 07 96 D5 */ bl __nwa__FUlPCcPCc +/* 8029C148 002990A8 7C 7D 1B 78 */ mr r29, r3 +lbl_8029C14C: +/* 8029C14C 002990AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029C150 002990B0 7F A4 EB 78 */ mr r4, r29 +/* 8029C154 002990B4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8029C158 002990B8 54 00 10 3A */ slwi r0, r0, 2 +/* 8029C15C 002990BC 7C 65 02 14 */ add r3, r5, r0 +/* 8029C160 002990C0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8029C164 002990C4 90 61 00 08 */ stw r3, 8(r1) +/* 8029C168 002990C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029C16C 002990CC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8029C170 002990D0 48 00 00 1C */ b lbl_8029C18C +lbl_8029C174: +/* 8029C174 002990D4 28 04 00 00 */ cmplwi r4, 0 +/* 8029C178 002990D8 41 82 00 0C */ beq lbl_8029C184 +/* 8029C17C 002990DC 80 05 00 00 */ lwz r0, 0(r5) +/* 8029C180 002990E0 90 04 00 00 */ stw r0, 0(r4) +lbl_8029C184: +/* 8029C184 002990E4 38 84 00 04 */ addi r4, r4, 4 +/* 8029C188 002990E8 38 A5 00 04 */ addi r5, r5, 4 +lbl_8029C18C: +/* 8029C18C 002990EC 7C 05 18 40 */ cmplw r5, r3 +/* 8029C190 002990F0 40 82 FF E4 */ bne lbl_8029C174 +/* 8029C194 002990F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029C198 002990F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029C19C 002990FC 54 00 10 3A */ slwi r0, r0, 2 +/* 8029C1A0 00299100 7C 64 1B 78 */ mr r4, r3 +/* 8029C1A4 00299104 7C 03 02 14 */ add r0, r3, r0 +/* 8029C1A8 00299108 48 00 00 08 */ b lbl_8029C1B0 +lbl_8029C1AC: +/* 8029C1AC 0029910C 38 84 00 04 */ addi r4, r4, 4 +lbl_8029C1B0: +/* 8029C1B0 00299110 7C 04 00 40 */ cmplw r4, r0 +/* 8029C1B4 00299114 40 82 FF F8 */ bne lbl_8029C1AC +/* 8029C1B8 00299118 28 03 00 00 */ cmplwi r3, 0 +/* 8029C1BC 0029911C 41 82 00 08 */ beq lbl_8029C1C4 +/* 8029C1C0 00299120 48 07 97 71 */ bl Free__7CMemoryFPCv +lbl_8029C1C4: +/* 8029C1C4 00299124 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8029C1C8 00299128 93 FE 00 08 */ stw r31, 8(r30) +lbl_8029C1CC: +/* 8029C1CC 0029912C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C1D0 00299130 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8029C1D4 00299134 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8029C1D8 00299138 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8029C1DC 0029913C 7C 08 03 A6 */ mtlr r0 +/* 8029C1E0 00299140 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C1E4 00299144 4E 80 00 20 */ blr + +.global sub_8029c1e8 +sub_8029c1e8: +/* 8029C1E8 00299148 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C1EC 0029914C 7C 08 02 A6 */ mflr r0 +/* 8029C1F0 00299150 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C1F4 00299154 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8029C1F8 00299158 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029C1FC 0029915C 7C 9E 23 78 */ mr r30, r4 +/* 8029C200 00299160 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8029C204 00299164 7C 7D 1B 78 */ mr r29, r3 +/* 8029C208 00299168 80 03 00 08 */ lwz r0, 8(r3) +/* 8029C20C 0029916C 7C 1E 00 00 */ cmpw r30, r0 +/* 8029C210 00299170 40 81 00 90 */ ble lbl_8029C2A0 +/* 8029C214 00299174 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 8029C218 00299178 2C 03 00 00 */ cmpwi r3, 0 +/* 8029C21C 0029917C 40 82 00 0C */ bne lbl_8029C228 +/* 8029C220 00299180 3B E0 00 00 */ li r31, 0 +/* 8029C224 00299184 48 00 00 1C */ b lbl_8029C240 +lbl_8029C228: +/* 8029C228 00299188 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C22C 0029918C 38 A0 00 00 */ li r5, 0 +/* 8029C230 00299190 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C234 00299194 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C238 00299198 48 07 95 E1 */ bl __nwa__FUlPCcPCc +/* 8029C23C 0029919C 7C 7F 1B 78 */ mr r31, r3 +lbl_8029C240: +/* 8029C240 002991A0 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029C244 002991A4 7F E5 FB 78 */ mr r5, r31 +/* 8029C248 002991A8 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 8029C24C 002991AC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029C250 002991B0 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029C254 002991B4 38 81 00 0C */ addi r4, r1, 0xc +/* 8029C258 002991B8 7C C6 02 14 */ add r6, r6, r0 +/* 8029C25C 002991BC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8029C260 002991C0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029C264 002991C4 90 C1 00 08 */ stw r6, 8(r1) +/* 8029C268 002991C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029C26C 002991CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C270 002991D0 48 00 00 99 */ bl sub_8029c308 +/* 8029C274 002991D4 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029C278 002991D8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8029C27C 002991DC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029C280 002991E0 7C 83 02 14 */ add r4, r3, r0 +/* 8029C284 002991E4 48 00 00 39 */ bl sub_8029c2bc +/* 8029C288 002991E8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8029C28C 002991EC 28 03 00 00 */ cmplwi r3, 0 +/* 8029C290 002991F0 41 82 00 08 */ beq lbl_8029C298 +/* 8029C294 002991F4 48 07 96 9D */ bl Free__7CMemoryFPCv +lbl_8029C298: +/* 8029C298 002991F8 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8029C29C 002991FC 93 DD 00 08 */ stw r30, 8(r29) +lbl_8029C2A0: +/* 8029C2A0 00299200 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C2A4 00299204 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8029C2A8 00299208 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8029C2AC 0029920C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8029C2B0 00299210 7C 08 03 A6 */ mtlr r0 +/* 8029C2B4 00299214 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C2B8 00299218 4E 80 00 20 */ blr + +.global sub_8029c2bc +sub_8029c2bc: +/* 8029C2BC 0029921C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C2C0 00299220 7C 08 02 A6 */ mflr r0 +/* 8029C2C4 00299224 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C2C8 00299228 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029C2CC 0029922C 7C 7F 1B 78 */ mr r31, r3 +/* 8029C2D0 00299230 93 C1 00 08 */ stw r30, 8(r1) +/* 8029C2D4 00299234 7C 9E 23 78 */ mr r30, r4 +/* 8029C2D8 00299238 48 00 00 10 */ b lbl_8029C2E8 +lbl_8029C2DC: +/* 8029C2DC 0029923C 7F E3 FB 78 */ mr r3, r31 +/* 8029C2E0 00299240 4B FF F3 21 */ bl sub_8029b600 +/* 8029C2E4 00299244 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_8029C2E8: +/* 8029C2E8 00299248 7C 1F F0 40 */ cmplw r31, r30 +/* 8029C2EC 0029924C 40 82 FF F0 */ bne lbl_8029C2DC +/* 8029C2F0 00299250 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C2F4 00299254 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029C2F8 00299258 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029C2FC 0029925C 7C 08 03 A6 */ mtlr r0 +/* 8029C300 00299260 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C304 00299264 4E 80 00 20 */ blr + +.global sub_8029c308 +sub_8029c308: +/* 8029C308 00299268 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029C30C 0029926C 7C 08 02 A6 */ mflr r0 +/* 8029C310 00299270 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029C314 00299274 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029C318 00299278 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029C31C 0029927C 7C BE 2B 78 */ mr r30, r5 +/* 8029C320 00299280 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029C324 00299284 7C 9D 23 78 */ mr r29, r4 +/* 8029C328 00299288 83 E3 00 00 */ lwz r31, 0(r3) +/* 8029C32C 0029928C 48 00 00 B4 */ b lbl_8029C3E0 +lbl_8029C330: +/* 8029C330 00299290 28 1E 00 00 */ cmplwi r30, 0 +/* 8029C334 00299294 41 82 00 A4 */ beq lbl_8029C3D8 +/* 8029C338 00299298 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C33C 0029929C 90 1E 00 00 */ stw r0, 0(r30) +/* 8029C340 002992A0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029C344 002992A4 90 1E 00 08 */ stw r0, 8(r30) +/* 8029C348 002992A8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029C34C 002992AC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8029C350 002992B0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029C354 002992B4 2C 00 00 00 */ cmpwi r0, 0 +/* 8029C358 002992B8 40 82 00 1C */ bne lbl_8029C374 +/* 8029C35C 002992BC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029C360 002992C0 2C 00 00 00 */ cmpwi r0, 0 +/* 8029C364 002992C4 40 82 00 10 */ bne lbl_8029C374 +/* 8029C368 002992C8 38 00 00 00 */ li r0, 0 +/* 8029C36C 002992CC 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8029C370 002992D0 48 00 00 68 */ b lbl_8029C3D8 +lbl_8029C374: +/* 8029C374 002992D4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8029C378 002992D8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 8029C37C 002992DC 40 82 00 10 */ bne lbl_8029C38C +/* 8029C380 002992E0 38 00 00 00 */ li r0, 0 +/* 8029C384 002992E4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8029C388 002992E8 48 00 00 1C */ b lbl_8029C3A4 +lbl_8029C38C: +/* 8029C38C 002992EC 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C390 002992F0 38 A0 00 00 */ li r5, 0 +/* 8029C394 002992F4 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C398 002992F8 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C39C 002992FC 48 07 94 7D */ bl __nwa__FUlPCcPCc +/* 8029C3A0 00299300 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_8029C3A4: +/* 8029C3A4 00299304 80 1E 00 08 */ lwz r0, 8(r30) +/* 8029C3A8 00299308 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8029C3AC 0029930C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8029C3B0 00299310 7C 09 03 A6 */ mtctr r0 +/* 8029C3B4 00299314 2C 00 00 00 */ cmpwi r0, 0 +/* 8029C3B8 00299318 40 81 00 20 */ ble lbl_8029C3D8 +lbl_8029C3BC: +/* 8029C3BC 0029931C 28 03 00 00 */ cmplwi r3, 0 +/* 8029C3C0 00299320 41 82 00 0C */ beq lbl_8029C3CC +/* 8029C3C4 00299324 80 04 00 00 */ lwz r0, 0(r4) +/* 8029C3C8 00299328 90 03 00 00 */ stw r0, 0(r3) +lbl_8029C3CC: +/* 8029C3CC 0029932C 38 63 00 04 */ addi r3, r3, 4 +/* 8029C3D0 00299330 38 84 00 04 */ addi r4, r4, 4 +/* 8029C3D4 00299334 42 00 FF E8 */ bdnz lbl_8029C3BC +lbl_8029C3D8: +/* 8029C3D8 00299338 3B DE 00 14 */ addi r30, r30, 0x14 +/* 8029C3DC 0029933C 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_8029C3E0: +/* 8029C3E0 00299340 80 1D 00 00 */ lwz r0, 0(r29) +/* 8029C3E4 00299344 7C 1F 00 40 */ cmplw r31, r0 +/* 8029C3E8 00299348 40 82 FF 48 */ bne lbl_8029C330 +/* 8029C3EC 0029934C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029C3F0 00299350 7F C3 F3 78 */ mr r3, r30 +/* 8029C3F4 00299354 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029C3F8 00299358 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029C3FC 0029935C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029C400 00299360 7C 08 03 A6 */ mtlr r0 +/* 8029C404 00299364 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029C408 00299368 4E 80 00 20 */ blr + +.global sub_8029c40c +sub_8029c40c: +/* 8029C40C 0029936C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C410 00299370 7C 08 02 A6 */ mflr r0 +/* 8029C414 00299374 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C418 00299378 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8029C41C 0029937C 7C 9F 23 78 */ mr r31, r4 +/* 8029C420 00299380 7C 7E 1B 78 */ mr r30, r3 +/* 8029C424 00299384 80 03 00 08 */ lwz r0, 8(r3) +/* 8029C428 00299388 7C 1F 00 00 */ cmpw r31, r0 +/* 8029C42C 0029938C 40 81 00 F0 */ ble lbl_8029C51C +/* 8029C430 00299390 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8029C434 00299394 40 82 00 0C */ bne lbl_8029C440 +/* 8029C438 00299398 3B A0 00 00 */ li r29, 0 +/* 8029C43C 0029939C 48 00 00 1C */ b lbl_8029C458 +lbl_8029C440: +/* 8029C440 002993A0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C444 002993A4 38 A0 00 00 */ li r5, 0 +/* 8029C448 002993A8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C44C 002993AC 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C450 002993B0 48 07 93 C9 */ bl __nwa__FUlPCcPCc +/* 8029C454 002993B4 7C 7D 1B 78 */ mr r29, r3 +lbl_8029C458: +/* 8029C458 002993B8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8029C45C 002993BC 7F A5 EB 78 */ mr r5, r29 +/* 8029C460 002993C0 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8029C464 002993C4 38 00 00 00 */ li r0, 0 +/* 8029C468 002993C8 54 63 18 38 */ slwi r3, r3, 3 +/* 8029C46C 002993CC 7C 86 1A 14 */ add r4, r6, r3 +/* 8029C470 002993D0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8029C474 002993D4 90 81 00 08 */ stw r4, 8(r1) +/* 8029C478 002993D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8029C47C 002993DC 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8029C480 002993E0 48 00 00 28 */ b lbl_8029C4A8 +lbl_8029C484: +/* 8029C484 002993E4 28 05 00 00 */ cmplwi r5, 0 +/* 8029C488 002993E8 41 82 00 18 */ beq lbl_8029C4A0 +/* 8029C48C 002993EC 88 66 00 00 */ lbz r3, 0(r6) +/* 8029C490 002993F0 98 65 00 00 */ stb r3, 0(r5) +/* 8029C494 002993F4 80 66 00 04 */ lwz r3, 4(r6) +/* 8029C498 002993F8 90 65 00 04 */ stw r3, 4(r5) +/* 8029C49C 002993FC 98 06 00 00 */ stb r0, 0(r6) +lbl_8029C4A0: +/* 8029C4A0 00299400 38 A5 00 08 */ addi r5, r5, 8 +/* 8029C4A4 00299404 38 C6 00 08 */ addi r6, r6, 8 +lbl_8029C4A8: +/* 8029C4A8 00299408 7C 06 20 40 */ cmplw r6, r4 +/* 8029C4AC 0029940C 40 82 FF D8 */ bne lbl_8029C484 +/* 8029C4B0 00299410 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029C4B4 00299414 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8029C4B8 00299418 54 00 18 38 */ slwi r0, r0, 3 +/* 8029C4BC 0029941C 7F 9A 02 14 */ add r28, r26, r0 +/* 8029C4C0 00299420 48 00 00 3C */ b lbl_8029C4FC +lbl_8029C4C4: +/* 8029C4C4 00299424 28 1A 00 00 */ cmplwi r26, 0 +/* 8029C4C8 00299428 41 82 00 30 */ beq lbl_8029C4F8 +/* 8029C4CC 0029942C 88 1A 00 00 */ lbz r0, 0(r26) +/* 8029C4D0 00299430 28 00 00 00 */ cmplwi r0, 0 +/* 8029C4D4 00299434 41 82 00 24 */ beq lbl_8029C4F8 +/* 8029C4D8 00299438 83 7A 00 04 */ lwz r27, 4(r26) +/* 8029C4DC 0029943C 28 1B 00 00 */ cmplwi r27, 0 +/* 8029C4E0 00299440 41 82 00 18 */ beq lbl_8029C4F8 +/* 8029C4E4 00299444 7F 63 DB 78 */ mr r3, r27 +/* 8029C4E8 00299448 38 80 00 00 */ li r4, 0 +/* 8029C4EC 0029944C 48 0A 49 55 */ bl __dt__6CTokenFv +/* 8029C4F0 00299450 7F 63 DB 78 */ mr r3, r27 +/* 8029C4F4 00299454 48 07 94 3D */ bl Free__7CMemoryFPCv +lbl_8029C4F8: +/* 8029C4F8 00299458 3B 5A 00 08 */ addi r26, r26, 8 +lbl_8029C4FC: +/* 8029C4FC 0029945C 7C 1A E0 40 */ cmplw r26, r28 +/* 8029C500 00299460 40 82 FF C4 */ bne lbl_8029C4C4 +/* 8029C504 00299464 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029C508 00299468 28 03 00 00 */ cmplwi r3, 0 +/* 8029C50C 0029946C 41 82 00 08 */ beq lbl_8029C514 +/* 8029C510 00299470 48 07 94 21 */ bl Free__7CMemoryFPCv +lbl_8029C514: +/* 8029C514 00299474 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8029C518 00299478 93 FE 00 08 */ stw r31, 8(r30) +lbl_8029C51C: +/* 8029C51C 0029947C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8029C520 00299480 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C524 00299484 7C 08 03 A6 */ mtlr r0 +/* 8029C528 00299488 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C52C 0029948C 4E 80 00 20 */ blr + +.global sub_8029c530 +sub_8029c530: +/* 8029C530 00299490 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C534 00299494 7C 08 02 A6 */ mflr r0 +/* 8029C538 00299498 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C53C 0029949C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029C540 002994A0 88 01 00 08 */ lbz r0, 8(r1) +/* 8029C544 002994A4 98 01 00 0C */ stb r0, 0xc(r1) +/* 8029C548 002994A8 48 00 00 15 */ bl sub_8029c55c +/* 8029C54C 002994AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C550 002994B0 7C 08 03 A6 */ mtlr r0 +/* 8029C554 002994B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C558 002994B8 4E 80 00 20 */ blr + +.global sub_8029c55c +sub_8029c55c: +/* 8029C55C 002994BC 80 A3 00 00 */ lwz r5, 0(r3) +/* 8029C560 002994C0 54 80 18 38 */ slwi r0, r4, 3 +/* 8029C564 002994C4 7C 05 02 14 */ add r0, r5, r0 +/* 8029C568 002994C8 90 03 00 00 */ stw r0, 0(r3) +/* 8029C56C 002994CC 4E 80 00 20 */ blr + +.global sub_8029c570 +sub_8029c570: +/* 8029C570 002994D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029C574 002994D4 7C 08 02 A6 */ mflr r0 +/* 8029C578 002994D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029C57C 002994DC 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029C580 002994E0 88 E1 00 08 */ lbz r7, 8(r1) +/* 8029C584 002994E4 80 C4 00 00 */ lwz r6, 0(r4) +/* 8029C588 002994E8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029C58C 002994EC 80 03 00 00 */ lwz r0, 0(r3) +/* 8029C590 002994F0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029C594 002994F4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8029C598 002994F8 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8029C59C 002994FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C5A0 00299500 48 00 00 15 */ bl sub_8029c5b4 +/* 8029C5A4 00299504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029C5A8 00299508 7C 08 03 A6 */ mtlr r0 +/* 8029C5AC 0029950C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029C5B0 00299510 4E 80 00 20 */ blr + +.global sub_8029c5b4 +sub_8029c5b4: +/* 8029C5B4 00299514 80 63 00 00 */ lwz r3, 0(r3) +/* 8029C5B8 00299518 80 04 00 00 */ lwz r0, 0(r4) +/* 8029C5BC 0029951C 7C 03 00 50 */ subf r0, r3, r0 +/* 8029C5C0 00299520 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8029C5C4 00299524 7C 60 01 94 */ addze r3, r0 +/* 8029C5C8 00299528 4E 80 00 20 */ blr + +.global __sinit_CSlideShow_cpp +__sinit_CSlideShow_cpp: +/* 8029C5CC 0029952C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C5D0 00299530 7C 08 02 A6 */ mflr r0 +/* 8029C5D4 00299534 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029C5D8 00299538 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 +/* 8029C5DC 0029953C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C5E0 00299540 FC 40 08 90 */ fmr f2, f1 +/* 8029C5E4 00299544 48 07 7C 1D */ bl __ct__9CVector2fFff +/* 8029C5E8 00299548 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C5EC 0029954C 7C 08 03 A6 */ mtlr r0 +/* 8029C5F0 00299550 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C5F4 00299554 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CBallCamera.s b/asm/Kyoto_CWD/Cameras/CBallCamera.s similarity index 100% rename from asm/Kyoto_CWD/CBallCamera.s rename to asm/Kyoto_CWD/Cameras/CBallCamera.s diff --git a/asm/Kyoto_CWD/CBallCameraFailsafeState.s b/asm/Kyoto_CWD/Cameras/CBallCameraFailsafeState.s similarity index 100% rename from asm/Kyoto_CWD/CBallCameraFailsafeState.s rename to asm/Kyoto_CWD/Cameras/CBallCameraFailsafeState.s diff --git a/asm/Kyoto_CWD/CCameraFilter.s b/asm/Kyoto_CWD/Cameras/CCameraFilter.s similarity index 100% rename from asm/Kyoto_CWD/CCameraFilter.s rename to asm/Kyoto_CWD/Cameras/CCameraFilter.s diff --git a/asm/Kyoto_CWD/CCameraHint.s b/asm/Kyoto_CWD/Cameras/CCameraHint.s similarity index 100% rename from asm/Kyoto_CWD/CCameraHint.s rename to asm/Kyoto_CWD/Cameras/CCameraHint.s diff --git a/asm/Kyoto_CWD/CCameraManager.s b/asm/Kyoto_CWD/Cameras/CCameraManager.s similarity index 100% rename from asm/Kyoto_CWD/CCameraManager.s rename to asm/Kyoto_CWD/Cameras/CCameraManager.s diff --git a/asm/Kyoto_CWD/CCameraShakeData.s b/asm/Kyoto_CWD/Cameras/CCameraShakeData.s similarity index 100% rename from asm/Kyoto_CWD/CCameraShakeData.s rename to asm/Kyoto_CWD/Cameras/CCameraShakeData.s diff --git a/asm/Kyoto_CWD/CCinematicCamera.s b/asm/Kyoto_CWD/Cameras/CCinematicCamera.s similarity index 100% rename from asm/Kyoto_CWD/CCinematicCamera.s rename to asm/Kyoto_CWD/Cameras/CCinematicCamera.s diff --git a/asm/Kyoto_CWD/CFirstPersonCamera.s b/asm/Kyoto_CWD/Cameras/CFirstPersonCamera.s similarity index 100% rename from asm/Kyoto_CWD/CFirstPersonCamera.s rename to asm/Kyoto_CWD/Cameras/CFirstPersonCamera.s diff --git a/asm/Kyoto_CWD/CGameCamera.s b/asm/Kyoto_CWD/Cameras/CGameCamera.s similarity index 100% rename from asm/Kyoto_CWD/CGameCamera.s rename to asm/Kyoto_CWD/Cameras/CGameCamera.s diff --git a/asm/Kyoto_CWD/Cameras/CInterpolationCamera.s b/asm/Kyoto_CWD/Cameras/CInterpolationCamera.s new file mode 100644 index 00000000..837eab28 --- /dev/null +++ b/asm/Kyoto_CWD/Cameras/CInterpolationCamera.s @@ -0,0 +1,1138 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80264FBC 00261F1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80264FC0 00261F20 7C 08 02 A6 */ mflr r0 +/* 80264FC4 00261F24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264FC8 00261F28 A0 05 00 00 */ lhz r0, 0(r5) +/* 80264FCC 00261F2C 38 A1 00 08 */ addi r5, r1, 8 +/* 80264FD0 00261F30 B0 01 00 08 */ sth r0, 8(r1) +/* 80264FD4 00261F34 4B DF 63 75 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80264FD8 00261F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80264FDC 00261F3C 7C 08 03 A6 */ mtlr r0 +/* 80264FE0 00261F40 38 21 00 10 */ addi r1, r1, 0x10 +/* 80264FE4 00261F44 4E 80 00 20 */ blr + +.global Render__20CInterpolationCameraCFRC13CStateManager +Render__20CInterpolationCameraCFRC13CStateManager: +/* 80264FE8 00261F48 4E 80 00 20 */ blr + +.global Accept__20CInterpolationCameraFR8IVisitor +Accept__20CInterpolationCameraFR8IVisitor: +/* 80264FEC 00261F4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80264FF0 00261F50 7C 08 02 A6 */ mflr r0 +/* 80264FF4 00261F54 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264FF8 00261F58 7C 60 1B 78 */ mr r0, r3 +/* 80264FFC 00261F5C 7C 83 23 78 */ mr r3, r4 +/* 80265000 00261F60 81 84 00 00 */ lwz r12, 0(r4) +/* 80265004 00261F64 7C 04 03 78 */ mr r4, r0 +/* 80265008 00261F68 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8026500C 00261F6C 7D 89 03 A6 */ mtctr r12 +/* 80265010 00261F70 4E 80 04 21 */ bctrl +/* 80265014 00261F74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80265018 00261F78 7C 08 03 A6 */ mtlr r0 +/* 8026501C 00261F7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80265020 00261F80 4E 80 00 20 */ blr + +.global ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager +ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager: +/* 80265024 00261F84 4E 80 00 20 */ blr + +.global Think__20CInterpolationCameraFfR13CStateManager +Think__20CInterpolationCameraFfR13CStateManager: +/* 80265028 00261F88 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8026502C 00261F8C 7C 08 02 A6 */ mflr r0 +/* 80265030 00261F90 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80265034 00261F94 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 80265038 00261F98 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8026503C 00261F9C DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 80265040 00261FA0 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 80265044 00261FA4 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 80265048 00261FA8 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 8026504C 00261FAC DB 81 00 B0 */ stfd f28, 0xb0(r1) +/* 80265050 00261FB0 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 +/* 80265054 00261FB4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80265058 00261FB8 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8026505C 00261FBC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80265060 00261FC0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80265064 00261FC4 FF E0 08 90 */ fmr f31, f1 +/* 80265068 00261FC8 7C 7E 1B 78 */ mr r30, r3 +/* 8026506C 00261FCC 7C 9F 23 78 */ mr r31, r4 +/* 80265070 00261FD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80265074 00261FD4 41 82 02 64 */ beq lbl_802652D8 +/* 80265078 00261FD8 80 DF 08 70 */ lwz r6, 0x870(r31) +/* 8026507C 00261FDC 38 A0 00 01 */ li r5, 1 +/* 80265080 00261FE0 80 C6 00 80 */ lwz r6, 0x80(r6) +/* 80265084 00261FE4 C0 06 01 5C */ lfs f0, 0x15c(r6) +/* 80265088 00261FE8 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 8026508C 00261FEC 88 1E 01 70 */ lbz r0, 0x170(r30) +/* 80265090 00261FF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80265094 00261FF4 98 1E 01 70 */ stb r0, 0x170(r30) +/* 80265098 00261FF8 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8026509C 00261FFC 80 05 02 F8 */ lwz r0, 0x2f8(r5) +/* 802650A0 00262000 2C 00 00 03 */ cmpwi r0, 3 +/* 802650A4 00262004 40 82 00 08 */ bne lbl_802650AC +/* 802650A8 00262008 48 00 02 6D */ bl sub_80265314 +lbl_802650AC: +/* 802650AC 0026200C C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 802650B0 00262010 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802650B4 00262014 D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 802650B8 00262018 C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 802650BC 0026201C C0 3E 01 90 */ lfs f1, 0x190(r30) +/* 802650C0 00262020 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802650C4 00262024 40 81 00 08 */ ble lbl_802650CC +/* 802650C8 00262028 D0 3E 01 8C */ stfs f1, 0x18c(r30) +lbl_802650CC: +/* 802650CC 0026202C 38 61 00 6C */ addi r3, r1, 0x6c +/* 802650D0 00262030 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802650D4 00262034 48 0A DA A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802650D8 00262038 A0 1E 01 88 */ lhz r0, 0x188(r30) +/* 802650DC 0026203C 7F E3 FB 78 */ mr r3, r31 +/* 802650E0 00262040 38 81 00 10 */ addi r4, r1, 0x10 +/* 802650E4 00262044 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802650E8 00262048 4B DE 74 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802650EC 0026204C 7C 64 1B 78 */ mr r4, r3 +/* 802650F0 00262050 38 61 00 1C */ addi r3, r1, 0x1c +/* 802650F4 00262054 4B E4 8C F5 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" +/* 802650F8 00262058 80 63 00 04 */ lwz r3, 4(r3) +/* 802650FC 0026205C 28 03 00 00 */ cmplwi r3, 0 +/* 80265100 00262060 40 82 00 14 */ bne lbl_80265114 +/* 80265104 00262064 7F C3 F3 78 */ mr r3, r30 +/* 80265108 00262068 7F E4 FB 78 */ mr r4, r31 +/* 8026510C 0026206C 48 00 02 09 */ bl sub_80265314 +/* 80265110 00262070 48 00 01 C8 */ b lbl_802652D8 +lbl_80265114: +/* 80265114 00262074 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80265118 00262078 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8026511C 0026207C C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80265120 00262080 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80265124 00262084 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80265128 00262088 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8026512C 0026208C 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 80265130 00262090 80 64 00 80 */ lwz r3, 0x80(r4) +/* 80265134 00262094 C0 03 01 D8 */ lfs f0, 0x1d8(r3) +/* 80265138 00262098 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8026513C 0026209C C0 03 01 DC */ lfs f0, 0x1dc(r3) +/* 80265140 002620A0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80265144 002620A4 C0 03 01 E0 */ lfs f0, 0x1e0(r3) +/* 80265148 002620A8 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8026514C 002620AC 80 03 01 88 */ lwz r0, 0x188(r3) +/* 80265150 002620B0 2C 00 00 08 */ cmpwi r0, 8 +/* 80265154 002620B4 41 82 00 08 */ beq lbl_8026515C +/* 80265158 002620B8 48 00 00 C4 */ b lbl_8026521C +lbl_8026515C: +/* 8026515C 002620BC 38 61 00 08 */ addi r3, r1, 8 +/* 80265160 002620C0 4B DA 40 A5 */ bl GetSpindleCameraId__14CCameraManagerCFv +/* 80265164 002620C4 A0 01 00 08 */ lhz r0, 8(r1) +/* 80265168 002620C8 7F E3 FB 78 */ mr r3, r31 +/* 8026516C 002620CC 38 81 00 0C */ addi r4, r1, 0xc +/* 80265170 002620D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80265174 002620D4 4B DE 74 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80265178 002620D8 7C 64 1B 78 */ mr r4, r3 +/* 8026517C 002620DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80265180 002620E0 4B E4 0D A5 */ bl "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" +/* 80265184 002620E4 83 A3 00 04 */ lwz r29, 4(r3) +/* 80265188 002620E8 28 1D 00 00 */ cmplwi r29, 0 +/* 8026518C 002620EC 41 82 00 90 */ beq lbl_8026521C +/* 80265190 002620F0 C3 9D 00 60 */ lfs f28, 0x60(r29) +/* 80265194 002620F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265198 002620F8 C3 BD 00 50 */ lfs f29, 0x50(r29) +/* 8026519C 002620FC C3 DD 00 40 */ lfs f30, 0x40(r29) +/* 802651A0 00262100 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 802651A4 00262104 48 01 FB A5 */ bl GetBallPosition__7CPlayerCFv +/* 802651A8 00262108 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802651AC 0026210C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802651B0 00262110 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802651B4 00262114 EC 40 E0 28 */ fsubs f2, f0, f28 +/* 802651B8 00262118 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802651BC 0026211C EC 21 F0 28 */ fsubs f1, f1, f30 +/* 802651C0 00262120 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 802651C4 00262124 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802651C8 00262128 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802651CC 0026212C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802651D0 00262130 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 802651D4 00262134 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802651D8 00262138 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802651DC 0026213C 48 0A F6 DD */ bl Magnitude__9CVector3fCFv +/* 802651E0 00262140 C0 7D 00 48 */ lfs f3, 0x48(r29) +/* 802651E4 00262144 C0 5D 00 58 */ lfs f2, 0x58(r29) +/* 802651E8 00262148 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 802651EC 0026214C EC 81 00 F2 */ fmuls f4, f1, f3 +/* 802651F0 00262150 C0 BD 00 50 */ lfs f5, 0x50(r29) +/* 802651F4 00262154 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 802651F8 00262158 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 802651FC 0026215C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80265200 00262160 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80265204 00262164 EC 85 20 2A */ fadds f4, f5, f4 +/* 80265208 00262168 EC 43 10 2A */ fadds f2, f3, f2 +/* 8026520C 0026216C EC 01 00 2A */ fadds f0, f1, f0 +/* 80265210 00262170 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80265214 00262174 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80265218 00262178 D0 41 00 5C */ stfs f2, 0x5c(r1) +lbl_8026521C: +/* 8026521C 0026217C 88 1E 01 D8 */ lbz r0, 0x1d8(r30) +/* 80265220 00262180 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80265224 00262184 41 82 00 40 */ beq lbl_80265264 +/* 80265228 00262188 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 8026522C 0026218C 7F C3 F3 78 */ mr r3, r30 +/* 80265230 00262190 80 E1 00 58 */ lwz r7, 0x58(r1) +/* 80265234 00262194 38 81 00 6C */ addi r4, r1, 0x6c +/* 80265238 00262198 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8026523C 0026219C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80265240 002621A0 90 C1 00 24 */ stw r6, 0x24(r1) +/* 80265244 002621A4 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80265248 002621A8 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8026524C 002621AC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80265250 002621B0 C0 3E 01 90 */ lfs f1, 0x190(r30) +/* 80265254 002621B4 C0 5E 01 8C */ lfs f2, 0x18c(r30) +/* 80265258 002621B8 48 00 02 81 */ bl InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff +/* 8026525C 002621BC 7C 7D 1B 78 */ mr r29, r3 +/* 80265260 002621C0 48 00 00 30 */ b lbl_80265290 +lbl_80265264: +/* 80265264 002621C4 FC 60 F8 90 */ fmr f3, f31 +/* 80265268 002621C8 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) +/* 8026526C 002621CC C0 5E 01 D4 */ lfs f2, 0x1d4(r30) +/* 80265270 002621D0 7F C3 F3 78 */ mr r3, r30 +/* 80265274 002621D4 C0 9E 01 90 */ lfs f4, 0x190(r30) +/* 80265278 002621D8 38 81 00 6C */ addi r4, r1, 0x6c +/* 8026527C 002621DC C0 BE 01 8C */ lfs f5, 0x18c(r30) +/* 80265280 002621E0 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80265284 002621E4 38 C1 00 54 */ addi r6, r1, 0x54 +/* 80265288 002621E8 48 00 06 39 */ bl InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff +/* 8026528C 002621EC 7C 7D 1B 78 */ mr r29, r3 +lbl_80265290: +/* 80265290 002621F0 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80265294 002621F4 38 81 00 6C */ addi r4, r1, 0x6c +/* 80265298 002621F8 48 0A D8 A9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8026529C 002621FC 88 7E 00 E4 */ lbz r3, 0xe4(r30) +/* 802652A0 00262200 38 80 00 01 */ li r4, 1 +/* 802652A4 00262204 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 802652A8 00262208 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802652AC 0026220C 98 7E 00 E4 */ stb r3, 0xe4(r30) +/* 802652B0 00262210 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 802652B4 00262214 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 802652B8 00262218 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 802652BC 0026221C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 802652C0 00262220 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 802652C4 00262224 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 802652C8 00262228 41 82 00 10 */ beq lbl_802652D8 +/* 802652CC 0026222C 7F C3 F3 78 */ mr r3, r30 +/* 802652D0 00262230 7F E4 FB 78 */ mr r4, r31 +/* 802652D4 00262234 48 00 00 41 */ bl sub_80265314 +lbl_802652D8: +/* 802652D8 00262238 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802652DC 0026223C CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802652E0 00262240 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802652E4 00262244 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802652E8 00262248 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802652EC 0026224C CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802652F0 00262250 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 +/* 802652F4 00262254 CB 81 00 B0 */ lfd f28, 0xb0(r1) +/* 802652F8 00262258 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802652FC 0026225C 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80265300 00262260 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80265304 00262264 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80265308 00262268 7C 08 03 A6 */ mtlr r0 +/* 8026530C 0026226C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80265310 00262270 4E 80 00 20 */ blr + +.global sub_80265314 +sub_80265314: +/* 80265314 00262274 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80265318 00262278 7C 08 02 A6 */ mflr r0 +/* 8026531C 0026227C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80265320 00262280 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80265324 00262284 7C 9F 23 78 */ mr r31, r4 +/* 80265328 00262288 38 80 00 00 */ li r4, 0 +/* 8026532C 0026228C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80265330 00262290 7C 7E 1B 78 */ mr r30, r3 +/* 80265334 00262294 81 83 00 00 */ lwz r12, 0(r3) +/* 80265338 00262298 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8026533C 0026229C 7D 89 03 A6 */ mtctr r12 +/* 80265340 002622A0 4E 80 04 21 */ bctrl +/* 80265344 002622A4 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80265348 002622A8 4B DA 55 85 */ bl ShouldBypassInterpolationCamera__14CCameraManagerCFv +/* 8026534C 002622AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265350 002622B0 40 82 00 18 */ bne lbl_80265368 +/* 80265354 002622B4 A0 1E 01 88 */ lhz r0, 0x188(r30) +/* 80265358 002622B8 38 81 00 08 */ addi r4, r1, 8 +/* 8026535C 002622BC B0 01 00 08 */ sth r0, 8(r1) +/* 80265360 002622C0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80265364 002622C4 4B DA 67 61 */ bl SetCurrentCameraId__14CCameraManagerF9TUniqueIdR13CStateManager +lbl_80265368: +/* 80265368 002622C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026536C 002622CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80265370 002622D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80265374 002622D4 7C 08 03 A6 */ mtlr r0 +/* 80265378 002622D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026537C 002622DC 4E 80 00 20 */ blr + +.global SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager +SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager: +/* 80265380 002622E0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80265384 002622E4 7C 08 02 A6 */ mflr r0 +/* 80265388 002622E8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8026538C 002622EC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80265390 002622F0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80265394 002622F4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80265398 002622F8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 8026539C 002622FC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802653A0 00262300 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802653A4 00262304 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802653A8 00262308 81 83 00 00 */ lwz r12, 0(r3) +/* 802653AC 0026230C 7C 9A 23 78 */ mr r26, r4 +/* 802653B0 00262310 FF A0 08 90 */ fmr f29, f1 +/* 802653B4 00262314 7C 7F 1B 78 */ mr r31, r3 +/* 802653B8 00262318 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802653BC 0026231C FF C0 10 90 */ fmr f30, f2 +/* 802653C0 00262320 FF E0 18 90 */ fmr f31, f3 +/* 802653C4 00262324 7C BB 2B 78 */ mr r27, r5 +/* 802653C8 00262328 7C DC 33 78 */ mr r28, r6 +/* 802653CC 0026232C 7C FD 3B 78 */ mr r29, r7 +/* 802653D0 00262330 7D 1E 43 78 */ mr r30, r8 +/* 802653D4 00262334 38 80 00 01 */ li r4, 1 +/* 802653D8 00262338 7D 89 03 A6 */ mtctr r12 +/* 802653DC 0026233C 4E 80 04 21 */ bctrl +/* 802653E0 00262340 7F 44 D3 78 */ mr r4, r26 +/* 802653E4 00262344 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802653E8 00262348 48 0A D7 59 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802653EC 0026234C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 802653F0 00262350 38 A0 00 01 */ li r5, 1 +/* 802653F4 00262354 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 802653F8 00262358 7F 44 D3 78 */ mr r4, r26 +/* 802653FC 0026235C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80265400 00262360 38 7F 01 94 */ addi r3, r31, 0x194 +/* 80265404 00262364 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80265408 00262368 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8026540C 0026236C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80265410 00262370 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80265414 00262374 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80265418 00262378 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8026541C 0026237C 48 0A D7 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265420 00262380 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80265424 00262384 7F C3 F3 78 */ mr r3, r30 +/* 80265428 00262388 C0 22 BA 98 */ lfs f1, lbl_805AD7B8@sda21(r2) +/* 8026542C 0026238C 38 81 00 08 */ addi r4, r1, 8 +/* 80265430 00262390 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) +/* 80265434 00262394 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265438 00262398 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8026543C 0026239C D0 5F 01 C8 */ stfs f2, 0x1c8(r31) +/* 80265440 002623A0 C0 5B 00 08 */ lfs f2, 8(r27) +/* 80265444 002623A4 D0 5F 01 CC */ stfs f2, 0x1cc(r31) +/* 80265448 002623A8 A0 1C 00 00 */ lhz r0, 0(r28) +/* 8026544C 002623AC B0 1F 01 88 */ sth r0, 0x188(r31) +/* 80265450 002623B0 88 1F 01 D8 */ lbz r0, 0x1d8(r31) +/* 80265454 002623B4 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 +/* 80265458 002623B8 98 1F 01 D8 */ stb r0, 0x1d8(r31) +/* 8026545C 002623BC D3 BF 01 90 */ stfs f29, 0x190(r31) +/* 80265460 002623C0 D3 DF 01 D0 */ stfs f30, 0x1d0(r31) +/* 80265464 002623C4 D3 FF 01 D4 */ stfs f31, 0x1d4(r31) +/* 80265468 002623C8 D0 3F 01 DC */ stfs f1, 0x1dc(r31) +/* 8026546C 002623CC D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80265470 002623D0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80265474 002623D4 B0 01 00 08 */ sth r0, 8(r1) +/* 80265478 002623D8 4B DE 71 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8026547C 002623DC 7C 64 1B 78 */ mr r4, r3 +/* 80265480 002623E0 38 61 00 0C */ addi r3, r1, 0xc +/* 80265484 002623E4 4B E4 89 65 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" +/* 80265488 002623E8 80 63 00 04 */ lwz r3, 4(r3) +/* 8026548C 002623EC 28 03 00 00 */ cmplwi r3, 0 +/* 80265490 002623F0 41 82 00 1C */ beq lbl_802654AC +/* 80265494 002623F4 C0 03 01 5C */ lfs f0, 0x15c(r3) +/* 80265498 002623F8 38 60 00 01 */ li r3, 1 +/* 8026549C 002623FC D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 802654A0 00262400 88 1F 01 70 */ lbz r0, 0x170(r31) +/* 802654A4 00262404 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802654A8 00262408 98 1F 01 70 */ stb r0, 0x170(r31) +lbl_802654AC: +/* 802654AC 0026240C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802654B0 00262410 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802654B4 00262414 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802654B8 00262418 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802654BC 0026241C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802654C0 00262420 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802654C4 00262424 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802654C8 00262428 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802654CC 0026242C 7C 08 03 A6 */ mtlr r0 +/* 802654D0 00262430 38 21 00 60 */ addi r1, r1, 0x60 +/* 802654D4 00262434 4E 80 00 20 */ blr + +.global InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff +InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff: +/* 802654D8 00262438 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802654DC 0026243C 7C 08 02 A6 */ mflr r0 +/* 802654E0 00262440 90 01 01 84 */ stw r0, 0x184(r1) +/* 802654E4 00262444 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 802654E8 00262448 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 802654EC 0026244C DB C1 01 60 */ stfd f30, 0x160(r1) +/* 802654F0 00262450 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 802654F4 00262454 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 802654F8 00262458 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 802654FC 0026245C DB 81 01 40 */ stfd f28, 0x140(r1) +/* 80265500 00262460 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 80265504 00262464 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 80265508 00262468 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8026550C 0026246C 93 A1 01 34 */ stw r29, 0x134(r1) +/* 80265510 00262470 93 81 01 30 */ stw r28, 0x130(r1) +/* 80265514 00262474 FF 80 08 90 */ fmr f28, f1 +/* 80265518 00262478 7C 7C 1B 78 */ mr r28, r3 +/* 8026551C 0026247C FF A0 10 90 */ fmr f29, f2 +/* 80265520 00262480 7C 9D 23 78 */ mr r29, r4 +/* 80265524 00262484 7C BE 2B 78 */ mr r30, r5 +/* 80265528 00262488 7C DF 33 78 */ mr r31, r6 +/* 8026552C 0026248C FC 1D E0 40 */ fcmpo cr0, f29, f28 +/* 80265530 00262490 40 81 00 08 */ ble lbl_80265538 +/* 80265534 00262494 FF A0 E0 90 */ fmr f29, f28 +lbl_80265538: +/* 80265538 00262498 EF DD E0 24 */ fdivs f30, f29, f28 +/* 8026553C 0026249C C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265540 002624A0 FC 20 F2 10 */ fabs f1, f30 +/* 80265544 002624A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265548 002624A8 40 81 00 14 */ ble lbl_8026555C +/* 8026554C 002624AC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265550 002624B0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265554 002624B4 FC 1E 00 6E */ fsel f0, f30, f1, f0 +/* 80265558 002624B8 EF C1 00 32 */ fmuls f30, f1, f0 +lbl_8026555C: +/* 8026555C 002624BC C0 02 BA B0 */ lfs f0, lbl_805AD7D0@sda21(r2) +/* 80265560 002624C0 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80265564 002624C4 48 12 F5 79 */ bl sin +/* 80265568 002624C8 FC 40 08 18 */ frsp f2, f1 +/* 8026556C 002624CC C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265570 002624D0 FC 20 12 10 */ fabs f1, f2 +/* 80265574 002624D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265578 002624D8 40 81 00 14 */ ble lbl_8026558C +/* 8026557C 002624DC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265580 002624E0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265584 002624E4 FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80265588 002624E8 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_8026558C: +/* 8026558C 002624EC C0 22 BA B4 */ lfs f1, lbl_805AD7D4@sda21(r2) +/* 80265590 002624F0 38 61 00 80 */ addi r3, r1, 0x80 +/* 80265594 002624F4 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80265598 002624F8 EF C1 07 B2 */ fmuls f30, f1, f30 +/* 8026559C 002624FC C0 FE 00 00 */ lfs f7, 0(r30) +/* 802655A0 00262500 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 802655A4 00262504 C1 1E 00 04 */ lfs f8, 4(r30) +/* 802655A8 00262508 EC A0 38 28 */ fsubs f5, f0, f7 +/* 802655AC 0026250C EC 5E 10 28 */ fsubs f2, f30, f2 +/* 802655B0 00262510 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2) +/* 802655B4 00262514 EC 81 40 28 */ fsubs f4, f1, f8 +/* 802655B8 00262518 C0 3C 00 60 */ lfs f1, 0x60(r28) +/* 802655BC 0026251C EC C0 10 28 */ fsubs f6, f0, f2 +/* 802655C0 00262520 C1 3E 00 08 */ lfs f9, 8(r30) +/* 802655C4 00262524 C0 5F 00 04 */ lfs f2, 4(r31) +/* 802655C8 00262528 EC 61 48 28 */ fsubs f3, f1, f9 +/* 802655CC 0026252C C0 3F 00 08 */ lfs f1, 8(r31) +/* 802655D0 00262530 EC A6 01 72 */ fmuls f5, f6, f5 +/* 802655D4 00262534 EC 86 01 32 */ fmuls f4, f6, f4 +/* 802655D8 00262538 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802655DC 0026253C EC 66 00 F2 */ fmuls f3, f6, f3 +/* 802655E0 00262540 EC A7 28 2A */ fadds f5, f7, f5 +/* 802655E4 00262544 EC 88 20 2A */ fadds f4, f8, f4 +/* 802655E8 00262548 EC 69 18 2A */ fadds f3, f9, f3 +/* 802655EC 0026254C EC 00 28 28 */ fsubs f0, f0, f5 +/* 802655F0 00262550 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802655F4 00262554 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802655F8 00262558 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802655FC 0026255C D0 81 00 90 */ stfs f4, 0x90(r1) +/* 80265600 00262560 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 80265604 00262564 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80265608 00262568 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8026560C 0026256C D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80265610 00262570 48 0A F0 E9 */ bl CanBeNormalized__9CVector3fCFv +/* 80265614 00262574 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265618 00262578 41 82 00 10 */ beq lbl_80265628 +/* 8026561C 0026257C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80265620 00262580 48 0A F2 D9 */ bl Normalize__9CVector3fFv +/* 80265624 00262584 48 00 00 1C */ b lbl_80265640 +lbl_80265628: +/* 80265628 00262588 C0 5C 00 58 */ lfs f2, 0x58(r28) +/* 8026562C 0026258C C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 80265630 00262590 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 80265634 00262594 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80265638 00262598 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 8026563C 0026259C D0 41 00 88 */ stfs f2, 0x88(r1) +lbl_80265640: +/* 80265640 002625A0 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80265644 002625A4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265648 002625A8 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8026564C 002625AC C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80265650 002625B0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80265654 002625B4 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265658 002625B8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8026565C 002625BC D0 21 00 78 */ stfs f1, 0x78(r1) +/* 80265660 002625C0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80265664 002625C4 48 0A F0 95 */ bl CanBeNormalized__9CVector3fCFv +/* 80265668 002625C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026566C 002625CC 41 82 01 E0 */ beq lbl_8026584C +/* 80265670 002625D0 C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 80265674 002625D4 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265678 002625D8 C0 5C 00 38 */ lfs f2, 0x38(r28) +/* 8026567C 002625DC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80265680 002625E0 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 80265684 002625E4 C0 9C 00 58 */ lfs f4, 0x58(r28) +/* 80265688 002625E8 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 8026568C 002625EC EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80265690 002625F0 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265694 002625F4 EF E4 08 FA */ fmadds f31, f4, f3, f1 +/* 80265698 002625F8 FC 20 FA 10 */ fabs f1, f31 +/* 8026569C 002625FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802656A0 00262600 40 81 00 14 */ ble lbl_802656B4 +/* 802656A4 00262604 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 802656A8 00262608 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 802656AC 0026260C FC 1F 00 6E */ fsel f0, f31, f1, f0 +/* 802656B0 00262610 EF E1 00 32 */ fmuls f31, f1, f0 +lbl_802656B4: +/* 802656B4 00262614 FC 20 F8 90 */ fmr f1, f31 +/* 802656B8 00262618 48 12 F5 75 */ bl acos +/* 802656BC 0026261C FC 40 F2 10 */ fabs f2, f30 +/* 802656C0 00262620 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 802656C4 00262624 FC 20 08 18 */ frsp f1, f1 +/* 802656C8 00262628 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802656CC 0026262C 40 81 00 14 */ ble lbl_802656E0 +/* 802656D0 00262630 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 802656D4 00262634 C0 42 BA AC */ lfs f2, lbl_805AD7CC@sda21(r2) +/* 802656D8 00262638 FC 1E 00 AE */ fsel f0, f30, f2, f0 +/* 802656DC 0026263C EF C2 00 32 */ fmuls f30, f2, f0 +lbl_802656E0: +/* 802656E0 00262640 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2) +/* 802656E4 00262644 C0 5C 01 DC */ lfs f2, 0x1dc(r28) +/* 802656E8 00262648 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802656EC 0026264C EF C1 00 32 */ fmuls f30, f1, f0 +/* 802656F0 00262650 FC 1E 10 40 */ fcmpo cr0, f30, f2 +/* 802656F4 00262654 40 81 00 0C */ ble lbl_80265700 +/* 802656F8 00262658 FF C0 10 90 */ fmr f30, f2 +/* 802656FC 0026265C 48 00 00 08 */ b lbl_80265704 +lbl_80265700: +/* 80265700 00262660 D3 DC 01 DC */ stfs f30, 0x1dc(r28) +lbl_80265704: +/* 80265704 00262664 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 80265708 00262668 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8026570C 0026266C C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265710 00262670 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80265714 00262674 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 80265718 00262678 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8026571C 0026267C EC 81 00 2A */ fadds f4, f1, f0 +/* 80265720 00262680 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 80265724 00262684 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80265728 00262688 38 81 00 8C */ addi r4, r1, 0x8c +/* 8026572C 0026268C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80265730 00262690 EC 43 10 2A */ fadds f2, f3, f2 +/* 80265734 00262694 EC 01 00 2A */ fadds f0, f1, f0 +/* 80265738 00262698 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 8026573C 0026269C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80265740 002626A0 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80265744 002626A4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80265748 002626A8 48 0A E3 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8026574C 002626AC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80265750 002626B0 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80265754 002626B4 48 0A D4 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80265758 002626B8 FC 20 FA 10 */ fabs f1, f31 +/* 8026575C 002626BC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2) +/* 80265760 002626C0 FC 20 08 18 */ frsp f1, f1 +/* 80265764 002626C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265768 002626C8 40 80 00 D4 */ bge lbl_8026583C +/* 8026576C 002626CC D3 C1 00 08 */ stfs f30, 8(r1) +/* 80265770 002626D0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265774 002626D4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80265778 002626D8 C0 5C 00 58 */ lfs f2, 0x58(r28) +/* 8026577C 002626DC C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 80265780 002626E0 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 80265784 002626E4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80265788 002626E8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8026578C 002626EC D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80265790 002626F0 48 0A E6 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80265794 002626F4 7C 7F 1B 78 */ mr r31, r3 +/* 80265798 002626F8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8026579C 002626FC 38 81 00 80 */ addi r4, r1, 0x80 +/* 802657A0 00262700 48 0A E6 31 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802657A4 00262704 7C 64 1B 78 */ mr r4, r3 +/* 802657A8 00262708 7F E5 FB 78 */ mr r5, r31 +/* 802657AC 0026270C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802657B0 00262710 38 C1 00 08 */ addi r6, r1, 8 +/* 802657B4 00262714 48 0A BE E1 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 802657B8 00262718 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802657BC 0026271C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802657C0 00262720 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802657C4 00262724 38 81 00 64 */ addi r4, r1, 0x64 +/* 802657C8 00262728 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802657CC 0026272C 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802657D0 00262730 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802657D4 00262734 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802657D8 00262738 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802657DC 0026273C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802657E0 00262740 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802657E4 00262744 48 0A BA 81 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 802657E8 00262748 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 802657EC 0026274C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802657F0 00262750 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802657F4 00262754 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802657F8 00262758 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 802657FC 0026275C 38 61 00 98 */ addi r3, r1, 0x98 +/* 80265800 00262760 EC 81 00 2A */ fadds f4, f1, f0 +/* 80265804 00262764 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80265808 00262768 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 8026580C 0026276C 38 81 00 8C */ addi r4, r1, 0x8c +/* 80265810 00262770 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80265814 00262774 EC 43 10 2A */ fadds f2, f3, f2 +/* 80265818 00262778 EC 01 00 2A */ fadds f0, f1, f0 +/* 8026581C 0026277C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80265820 00262780 38 A1 00 0C */ addi r5, r1, 0xc +/* 80265824 00262784 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80265828 00262788 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8026582C 0026278C 48 0A E2 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80265830 00262790 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80265834 00262794 38 81 00 98 */ addi r4, r1, 0x98 +/* 80265838 00262798 48 0A D3 09 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8026583C: +/* 8026583C 0026279C 7F A3 EB 78 */ mr r3, r29 +/* 80265840 002627A0 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80265844 002627A4 48 0A D2 FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265848 002627A8 48 00 00 28 */ b lbl_80265870 +lbl_8026584C: +/* 8026584C 002627AC 7F A3 EB 78 */ mr r3, r29 +/* 80265850 002627B0 38 9C 00 34 */ addi r4, r28, 0x34 +/* 80265854 002627B4 48 0A D2 ED */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265858 002627B8 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8026585C 002627BC D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80265860 002627C0 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80265864 002627C4 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80265868 002627C8 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8026586C 002627CC D0 1D 00 2C */ stfs f0, 0x2c(r29) +lbl_80265870: +/* 80265870 002627D0 FC 1D E0 40 */ fcmpo cr0, f29, f28 +/* 80265874 002627D4 4C 41 13 82 */ cror 2, 1, 2 +/* 80265878 002627D8 7C 00 00 26 */ mfcr r0 +/* 8026587C 002627DC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 80265880 002627E0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80265884 002627E4 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80265888 002627E8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 8026588C 002627EC CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80265890 002627F0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80265894 002627F4 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80265898 002627F8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 8026589C 002627FC CB 81 01 40 */ lfd f28, 0x140(r1) +/* 802658A0 00262800 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 802658A4 00262804 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 802658A8 00262808 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 802658AC 0026280C 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802658B0 00262810 83 81 01 30 */ lwz r28, 0x130(r1) +/* 802658B4 00262814 7C 08 03 A6 */ mtlr r0 +/* 802658B8 00262818 38 21 01 80 */ addi r1, r1, 0x180 +/* 802658BC 0026281C 4E 80 00 20 */ blr + +.global InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff +InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff: +/* 802658C0 00262820 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 802658C4 00262824 7C 08 02 A6 */ mflr r0 +/* 802658C8 00262828 90 01 02 04 */ stw r0, 0x204(r1) +/* 802658CC 0026282C DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 802658D0 00262830 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 802658D4 00262834 DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 802658D8 00262838 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 802658DC 0026283C DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 802658E0 00262840 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 802658E4 00262844 DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 802658E8 00262848 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 802658EC 0026284C DB 61 01 B0 */ stfd f27, 0x1b0(r1) +/* 802658F0 00262850 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 +/* 802658F4 00262854 DB 41 01 A0 */ stfd f26, 0x1a0(r1) +/* 802658F8 00262858 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 +/* 802658FC 0026285C BF 41 01 88 */ stmw r26, 0x188(r1) +/* 80265900 00262860 7C 9B 23 78 */ mr r27, r4 +/* 80265904 00262864 7C BF 2B 78 */ mr r31, r5 +/* 80265908 00262868 C1 05 00 04 */ lfs f8, 4(r5) +/* 8026590C 0026286C FF 80 18 90 */ fmr f28, f3 +/* 80265910 00262870 C0 E4 00 1C */ lfs f7, 0x1c(r4) +/* 80265914 00262874 7C 7A 1B 78 */ mr r26, r3 +/* 80265918 00262878 C0 C5 00 08 */ lfs f6, 8(r5) +/* 8026591C 0026287C FF 60 10 90 */ fmr f27, f2 +/* 80265920 00262880 C0 64 00 2C */ lfs f3, 0x2c(r4) +/* 80265924 00262884 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80265928 00262888 ED 08 38 28 */ fsubs f8, f8, f7 +/* 8026592C 0026288C C0 45 00 00 */ lfs f2, 0(r5) +/* 80265930 00262890 EC C6 18 28 */ fsubs f6, f6, f3 +/* 80265934 00262894 FF A0 20 90 */ fmr f29, f4 +/* 80265938 00262898 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8026593C 0026289C EC 02 00 28 */ fsubs f0, f2, f0 +/* 80265940 002628A0 FF C0 28 90 */ fmr f30, f5 +/* 80265944 002628A4 D1 01 00 90 */ stfs f8, 0x90(r1) +/* 80265948 002628A8 EF E1 07 32 */ fmuls f31, f1, f28 +/* 8026594C 002628AC D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80265950 002628B0 7C DC 33 78 */ mr r28, r6 +/* 80265954 002628B4 38 61 00 8C */ addi r3, r1, 0x8c +/* 80265958 002628B8 D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 8026595C 002628BC 3B C0 00 00 */ li r30, 0 +/* 80265960 002628C0 3B A0 00 00 */ li r29, 0 +/* 80265964 002628C4 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 80265968 002628C8 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8026596C 002628CC 48 0A ED 8D */ bl CanBeNormalized__9CVector3fCFv +/* 80265970 002628D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265974 002628D4 41 82 00 B8 */ beq lbl_80265A2C +/* 80265978 002628D8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8026597C 002628DC 48 0A EF 3D */ bl Magnitude__9CVector3fCFv +/* 80265980 002628E0 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80265984 002628E4 40 81 00 A8 */ ble lbl_80265A2C +/* 80265988 002628E8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8026598C 002628EC 48 0A EF 2D */ bl Magnitude__9CVector3fCFv +/* 80265990 002628F0 FF 40 08 90 */ fmr f26, f1 +/* 80265994 002628F4 38 61 00 8C */ addi r3, r1, 0x8c +/* 80265998 002628F8 48 0A EF 61 */ bl Normalize__9CVector3fFv +/* 8026599C 002628FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2) +/* 802659A0 00262900 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 802659A4 00262904 EC 5A 08 24 */ fdivs f2, f26, f1 +/* 802659A8 00262908 FC 20 12 10 */ fabs f1, f2 +/* 802659AC 0026290C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802659B0 00262910 40 81 00 14 */ ble lbl_802659C4 +/* 802659B4 00262914 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 802659B8 00262918 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 802659BC 0026291C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 802659C0 00262920 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_802659C4: +/* 802659C4 00262924 EC C2 07 F2 */ fmuls f6, f2, f31 +/* 802659C8 00262928 C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 802659CC 0026292C C0 21 00 90 */ lfs f1, 0x90(r1) +/* 802659D0 00262930 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802659D4 00262934 EC A6 00 B2 */ fmuls f5, f6, f2 +/* 802659D8 00262938 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 802659DC 0026293C EC 86 00 72 */ fmuls f4, f6, f1 +/* 802659E0 00262940 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 802659E4 00262944 EC 66 00 32 */ fmuls f3, f6, f0 +/* 802659E8 00262948 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802659EC 0026294C EC 42 28 2A */ fadds f2, f2, f5 +/* 802659F0 00262950 EC 21 20 2A */ fadds f1, f1, f4 +/* 802659F4 00262954 EC 00 18 2A */ fadds f0, f0, f3 +/* 802659F8 00262958 FC 1A 30 40 */ fcmpo cr0, f26, f6 +/* 802659FC 0026295C D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80265A00 00262960 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80265A04 00262964 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80265A08 00262968 40 80 00 40 */ bge lbl_80265A48 +/* 80265A0C 0026296C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80265A10 00262970 3B A0 00 01 */ li r29, 1 +/* 80265A14 00262974 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80265A18 00262978 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80265A1C 0026297C D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80265A20 00262980 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80265A24 00262984 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80265A28 00262988 48 00 00 20 */ b lbl_80265A48 +lbl_80265A2C: +/* 80265A2C 0026298C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80265A30 00262990 3B A0 00 01 */ li r29, 1 +/* 80265A34 00262994 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80265A38 00262998 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80265A3C 0026299C D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80265A40 002629A0 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80265A44 002629A4 D0 01 00 88 */ stfs f0, 0x88(r1) +lbl_80265A48: +/* 80265A48 002629A8 C0 3C 00 04 */ lfs f1, 4(r28) +/* 80265A4C 002629AC 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265A50 002629B0 C0 1A 01 C8 */ lfs f0, 0x1c8(r26) +/* 80265A54 002629B4 C0 7C 00 08 */ lfs f3, 8(r28) +/* 80265A58 002629B8 C0 5A 01 CC */ lfs f2, 0x1cc(r26) +/* 80265A5C 002629BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80265A60 002629C0 C0 1A 01 C4 */ lfs f0, 0x1c4(r26) +/* 80265A64 002629C4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 80265A68 002629C8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80265A6C 002629CC D0 81 00 78 */ stfs f4, 0x78(r1) +/* 80265A70 002629D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80265A74 002629D4 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80265A78 002629D8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80265A7C 002629DC 48 0A EE 3D */ bl Magnitude__9CVector3fCFv +/* 80265A80 002629E0 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80265A84 002629E4 40 81 00 84 */ ble lbl_80265B08 +/* 80265A88 002629E8 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265A8C 002629EC 48 0A EE 2D */ bl Magnitude__9CVector3fCFv +/* 80265A90 002629F0 FF 40 08 90 */ fmr f26, f1 +/* 80265A94 002629F4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265A98 002629F8 48 0A EE 61 */ bl Normalize__9CVector3fFv +/* 80265A9C 002629FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2) +/* 80265AA0 00262A00 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265AA4 00262A04 EC 5A 08 24 */ fdivs f2, f26, f1 +/* 80265AA8 00262A08 FC 20 12 10 */ fabs f1, f2 +/* 80265AAC 00262A0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265AB0 00262A10 40 81 00 14 */ ble lbl_80265AC4 +/* 80265AB4 00262A14 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265AB8 00262A18 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265ABC 00262A1C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80265AC0 00262A20 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80265AC4: +/* 80265AC4 00262A24 EC 82 07 F2 */ fmuls f4, f2, f31 +/* 80265AC8 00262A28 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80265ACC 00262A2C C0 41 00 78 */ lfs f2, 0x78(r1) +/* 80265AD0 00262A30 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80265AD4 00262A34 EC 64 00 32 */ fmuls f3, f4, f0 +/* 80265AD8 00262A38 C0 1A 01 C4 */ lfs f0, 0x1c4(r26) +/* 80265ADC 00262A3C EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80265AE0 00262A40 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80265AE4 00262A44 EC 00 18 2A */ fadds f0, f0, f3 +/* 80265AE8 00262A48 D0 1A 01 C4 */ stfs f0, 0x1c4(r26) +/* 80265AEC 00262A4C C0 1A 01 C8 */ lfs f0, 0x1c8(r26) +/* 80265AF0 00262A50 EC 00 10 2A */ fadds f0, f0, f2 +/* 80265AF4 00262A54 D0 1A 01 C8 */ stfs f0, 0x1c8(r26) +/* 80265AF8 00262A58 C0 1A 01 CC */ lfs f0, 0x1cc(r26) +/* 80265AFC 00262A5C EC 00 08 2A */ fadds f0, f0, f1 +/* 80265B00 00262A60 D0 1A 01 CC */ stfs f0, 0x1cc(r26) +/* 80265B04 00262A64 48 00 00 1C */ b lbl_80265B20 +lbl_80265B08: +/* 80265B08 00262A68 C0 1C 00 00 */ lfs f0, 0(r28) +/* 80265B0C 00262A6C D0 1A 01 C4 */ stfs f0, 0x1c4(r26) +/* 80265B10 00262A70 C0 1C 00 04 */ lfs f0, 4(r28) +/* 80265B14 00262A74 D0 1A 01 C8 */ stfs f0, 0x1c8(r26) +/* 80265B18 00262A78 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80265B1C 00262A7C D0 1A 01 CC */ stfs f0, 0x1cc(r26) +lbl_80265B20: +/* 80265B20 00262A80 C0 3A 01 C8 */ lfs f1, 0x1c8(r26) +/* 80265B24 00262A84 38 61 00 68 */ addi r3, r1, 0x68 +/* 80265B28 00262A88 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265B2C 00262A8C C0 7A 01 CC */ lfs f3, 0x1cc(r26) +/* 80265B30 00262A90 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 80265B34 00262A94 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80265B38 00262A98 C0 3A 01 C4 */ lfs f1, 0x1c4(r26) +/* 80265B3C 00262A9C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80265B40 00262AA0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80265B44 00262AA4 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80265B48 00262AA8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80265B4C 00262AAC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80265B50 00262AB0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80265B54 00262AB4 48 0A EB A5 */ bl CanBeNormalized__9CVector3fCFv +/* 80265B58 00262AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265B5C 00262ABC 41 82 00 10 */ beq lbl_80265B6C +/* 80265B60 00262AC0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80265B64 00262AC4 48 0A ED 95 */ bl Normalize__9CVector3fFv +/* 80265B68 00262AC8 48 00 00 1C */ b lbl_80265B84 +lbl_80265B6C: +/* 80265B6C 00262ACC C0 5A 00 58 */ lfs f2, 0x58(r26) +/* 80265B70 00262AD0 C0 3A 00 48 */ lfs f1, 0x48(r26) +/* 80265B74 00262AD4 C0 1A 00 38 */ lfs f0, 0x38(r26) +/* 80265B78 00262AD8 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80265B7C 00262ADC D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80265B80 00262AE0 D0 41 00 70 */ stfs f2, 0x70(r1) +lbl_80265B84: +/* 80265B84 00262AE4 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 80265B88 00262AE8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80265B8C 00262AEC C0 5B 00 04 */ lfs f2, 4(r27) +/* 80265B90 00262AF0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80265B94 00262AF4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80265B98 00262AF8 C0 9B 00 24 */ lfs f4, 0x24(r27) +/* 80265B9C 00262AFC C0 61 00 70 */ lfs f3, 0x70(r1) +/* 80265BA0 00262B00 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80265BA4 00262B04 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265BA8 00262B08 EF E4 08 FA */ fmadds f31, f4, f3, f1 +/* 80265BAC 00262B0C FC 20 FA 10 */ fabs f1, f31 +/* 80265BB0 00262B10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265BB4 00262B14 40 81 00 14 */ ble lbl_80265BC8 +/* 80265BB8 00262B18 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265BBC 00262B1C C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265BC0 00262B20 FC 1F 00 6E */ fsel f0, f31, f1, f0 +/* 80265BC4 00262B24 EF E1 00 32 */ fmuls f31, f1, f0 +lbl_80265BC8: +/* 80265BC8 00262B28 FC 20 F8 90 */ fmr f1, f31 +/* 80265BCC 00262B2C 48 12 F0 61 */ bl acos +/* 80265BD0 00262B30 FC 40 08 18 */ frsp f2, f1 +/* 80265BD4 00262B34 C0 22 BA C0 */ lfs f1, lbl_805AD7E0@sda21(r2) +/* 80265BD8 00262B38 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265BDC 00262B3C EC 82 08 24 */ fdivs f4, f2, f1 +/* 80265BE0 00262B40 FC 20 22 10 */ fabs f1, f4 +/* 80265BE4 00262B44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265BE8 00262B48 40 81 00 14 */ ble lbl_80265BFC +/* 80265BEC 00262B4C C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265BF0 00262B50 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265BF4 00262B54 FC 04 00 6E */ fsel f0, f4, f1, f0 +/* 80265BF8 00262B58 EC 81 00 32 */ fmuls f4, f1, f0 +lbl_80265BFC: +/* 80265BFC 00262B5C EC 7B 07 32 */ fmuls f3, f27, f28 +/* 80265C00 00262B60 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80265C04 00262B64 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 80265C08 00262B68 38 61 00 5C */ addi r3, r1, 0x5c +/* 80265C0C 00262B6C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 80265C10 00262B70 3B 80 00 00 */ li r28, 0 +/* 80265C14 00262B74 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80265C18 00262B78 EF 44 00 F2 */ fmuls f26, f4, f3 +/* 80265C1C 00262B7C C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265C20 00262B80 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80265C24 00262B84 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80265C28 00262B88 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80265C2C 00262B8C 48 0A EA CD */ bl CanBeNormalized__9CVector3fCFv +/* 80265C30 00262B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265C34 00262B94 41 82 01 34 */ beq lbl_80265D68 +/* 80265C38 00262B98 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80265C3C 00262B9C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80265C40 00262BA0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80265C44 00262BA4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80265C48 00262BA8 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 80265C4C 00262BAC 38 61 01 28 */ addi r3, r1, 0x128 +/* 80265C50 00262BB0 EC 81 00 2A */ fadds f4, f1, f0 +/* 80265C54 00262BB4 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80265C58 00262BB8 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 80265C5C 00262BBC 38 81 00 80 */ addi r4, r1, 0x80 +/* 80265C60 00262BC0 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80265C64 00262BC4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80265C68 00262BC8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80265C6C 00262BCC D0 81 00 44 */ stfs f4, 0x44(r1) +/* 80265C70 00262BD0 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80265C74 00262BD4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80265C78 00262BD8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80265C7C 00262BDC 48 0A DE 95 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80265C80 00262BE0 38 61 01 58 */ addi r3, r1, 0x158 +/* 80265C84 00262BE4 38 81 01 28 */ addi r4, r1, 0x128 +/* 80265C88 00262BE8 48 0A CE ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80265C8C 00262BEC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2) +/* 80265C90 00262BF0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80265C94 00262BF4 40 80 00 A8 */ bge lbl_80265D3C +/* 80265C98 00262BF8 D3 41 00 08 */ stfs f26, 8(r1) +/* 80265C9C 00262BFC 38 61 00 0C */ addi r3, r1, 0xc +/* 80265CA0 00262C00 38 81 00 68 */ addi r4, r1, 0x68 +/* 80265CA4 00262C04 C0 5B 00 24 */ lfs f2, 0x24(r27) +/* 80265CA8 00262C08 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 80265CAC 00262C0C C0 1B 00 04 */ lfs f0, 4(r27) +/* 80265CB0 00262C10 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80265CB4 00262C14 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80265CB8 00262C18 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80265CBC 00262C1C 48 0A E1 15 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80265CC0 00262C20 7C 7F 1B 78 */ mr r31, r3 +/* 80265CC4 00262C24 38 61 00 24 */ addi r3, r1, 0x24 +/* 80265CC8 00262C28 38 81 00 18 */ addi r4, r1, 0x18 +/* 80265CCC 00262C2C 48 0A E1 05 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80265CD0 00262C30 7C 64 1B 78 */ mr r4, r3 +/* 80265CD4 00262C34 7F E5 FB 78 */ mr r5, r31 +/* 80265CD8 00262C38 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265CDC 00262C3C 38 C1 00 08 */ addi r6, r1, 8 +/* 80265CE0 00262C40 48 0A B9 B5 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80265CE4 00262C44 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 80265CE8 00262C48 7F 64 DB 78 */ mr r4, r27 +/* 80265CEC 00262C4C C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80265CF0 00262C50 38 61 00 98 */ addi r3, r1, 0x98 +/* 80265CF4 00262C54 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80265CF8 00262C58 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80265CFC 00262C5C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80265D00 00262C60 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80265D04 00262C64 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80265D08 00262C68 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80265D0C 00262C6C 48 0A CF 35 */ bl GetRotation__12CTransform4fCFv +/* 80265D10 00262C70 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80265D14 00262C74 38 81 00 4C */ addi r4, r1, 0x4c +/* 80265D18 00262C78 48 0A C2 A1 */ bl BuildTransform4f__11CQuaternionCFv +/* 80265D1C 00262C7C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80265D20 00262C80 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80265D24 00262C84 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80265D28 00262C88 48 0A CC 29 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80265D2C 00262C8C 38 61 01 58 */ addi r3, r1, 0x158 +/* 80265D30 00262C90 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80265D34 00262C94 48 0A CE 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265D38 00262C98 48 00 00 08 */ b lbl_80265D40 +lbl_80265D3C: +/* 80265D3C 00262C9C 3B 80 00 01 */ li r28, 1 +lbl_80265D40: +/* 80265D40 00262CA0 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 80265D44 00262CA4 7F 63 DB 78 */ mr r3, r27 +/* 80265D48 00262CA8 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80265D4C 00262CAC 38 81 01 58 */ addi r4, r1, 0x158 +/* 80265D50 00262CB0 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80265D54 00262CB4 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 80265D58 00262CB8 D0 21 01 74 */ stfs f1, 0x174(r1) +/* 80265D5C 00262CBC D0 01 01 84 */ stfs f0, 0x184(r1) +/* 80265D60 00262CC0 48 0A CD E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265D64 00262CC4 48 00 00 2C */ b lbl_80265D90 +lbl_80265D68: +/* 80265D68 00262CC8 7F 63 DB 78 */ mr r3, r27 +/* 80265D6C 00262CCC 38 9A 00 34 */ addi r4, r26, 0x34 +/* 80265D70 00262CD0 48 0A CD D1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265D74 00262CD4 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80265D78 00262CD8 3B 80 00 01 */ li r28, 1 +/* 80265D7C 00262CDC D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 80265D80 00262CE0 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265D84 00262CE4 D0 1B 00 1C */ stfs f0, 0x1c(r27) +/* 80265D88 00262CE8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80265D8C 00262CEC D0 1B 00 2C */ stfs f0, 0x2c(r27) +lbl_80265D90: +/* 80265D90 00262CF0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80265D94 00262CF4 41 82 00 10 */ beq lbl_80265DA4 +/* 80265D98 00262CF8 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80265D9C 00262CFC 41 82 00 08 */ beq lbl_80265DA4 +/* 80265DA0 00262D00 3B C0 00 01 */ li r30, 1 +lbl_80265DA4: +/* 80265DA4 00262D04 FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 80265DA8 00262D08 4C 41 13 82 */ cror 2, 1, 2 +/* 80265DAC 00262D0C 40 82 00 18 */ bne lbl_80265DC4 +/* 80265DB0 00262D10 C0 02 BA C4 */ lfs f0, lbl_805AD7E4@sda21(r2) +/* 80265DB4 00262D14 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80265DB8 00262D18 4C 41 13 82 */ cror 2, 1, 2 +/* 80265DBC 00262D1C 40 82 00 08 */ bne lbl_80265DC4 +/* 80265DC0 00262D20 3B C0 00 01 */ li r30, 1 +lbl_80265DC4: +/* 80265DC4 00262D24 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80265DC8 00262D28 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 80265DCC 00262D2C CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 80265DD0 00262D30 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 80265DD4 00262D34 CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 80265DD8 00262D38 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 80265DDC 00262D3C CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 80265DE0 00262D40 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 80265DE4 00262D44 CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 80265DE8 00262D48 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 +/* 80265DEC 00262D4C CB 61 01 B0 */ lfd f27, 0x1b0(r1) +/* 80265DF0 00262D50 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 +/* 80265DF4 00262D54 CB 41 01 A0 */ lfd f26, 0x1a0(r1) +/* 80265DF8 00262D58 BB 41 01 88 */ lmw r26, 0x188(r1) +/* 80265DFC 00262D5C 80 01 02 04 */ lwz r0, 0x204(r1) +/* 80265E00 00262D60 7C 08 03 A6 */ mtlr r0 +/* 80265E04 00262D64 38 21 02 00 */ addi r1, r1, 0x200 +/* 80265E08 00262D68 4E 80 00 20 */ blr + +.global Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager +Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager: +/* 80265E0C 00262D6C 4E 80 00 20 */ blr + +.global __dt__20CInterpolationCamera +__dt__20CInterpolationCamera: +/* 80265E10 00262D70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80265E14 00262D74 7C 08 02 A6 */ mflr r0 +/* 80265E18 00262D78 90 01 00 14 */ stw r0, 0x14(r1) +/* 80265E1C 00262D7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80265E20 00262D80 7C 9F 23 78 */ mr r31, r4 +/* 80265E24 00262D84 93 C1 00 08 */ stw r30, 8(r1) +/* 80265E28 00262D88 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80265E2C 00262D8C 41 82 00 28 */ beq lbl_80265E54 +/* 80265E30 00262D90 3C A0 80 3F */ lis r5, lbl_803E9D80@ha +/* 80265E34 00262D94 38 80 00 00 */ li r4, 0 +/* 80265E38 00262D98 38 05 9D 80 */ addi r0, r5, lbl_803E9D80@l +/* 80265E3C 00262D9C 90 1E 00 00 */ stw r0, 0(r30) +/* 80265E40 00262DA0 4B DF 7C 1D */ bl __dt__11CGameCameraFv +/* 80265E44 00262DA4 7F E0 07 35 */ extsh. r0, r31 +/* 80265E48 00262DA8 40 81 00 0C */ ble lbl_80265E54 +/* 80265E4C 00262DAC 7F C3 F3 78 */ mr r3, r30 +/* 80265E50 00262DB0 48 0A FA E1 */ bl Free__7CMemoryFPCv +lbl_80265E54: +/* 80265E54 00262DB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80265E58 00262DB8 7F C3 F3 78 */ mr r3, r30 +/* 80265E5C 00262DBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80265E60 00262DC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80265E64 00262DC4 7C 08 03 A6 */ mtlr r0 +/* 80265E68 00262DC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80265E6C 00262DCC 4E 80 00 20 */ blr + +.global __ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f +__ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f: +/* 80265E70 00262DD0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80265E74 00262DD4 7C 08 02 A6 */ mflr r0 +/* 80265E78 00262DD8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80265E7C 00262DDC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80265E80 00262DE0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80265E84 00262DE4 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80265E88 00262DE8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80265E8C 00262DEC DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80265E90 00262DF0 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 80265E94 00262DF4 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80265E98 00262DF8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80265E9C 00262DFC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80265EA0 00262E00 3C C0 80 3D */ lis r6, lbl_803D5298@ha +/* 80265EA4 00262E04 7C 7F 1B 78 */ mr r31, r3 +/* 80265EA8 00262E08 38 06 52 98 */ addi r0, r6, lbl_803D5298@l +/* 80265EAC 00262E0C 7C 9D 23 78 */ mr r29, r4 +/* 80265EB0 00262E10 7C BE 2B 78 */ mr r30, r5 +/* 80265EB4 00262E14 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265EB8 00262E18 7C 04 03 78 */ mr r4, r0 +/* 80265EBC 00262E1C 4B D9 ED FD */ bl string_l__4rstlFPCc +/* 80265EC0 00262E20 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) +/* 80265EC4 00262E24 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80265EC8 00262E28 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80265ECC 00262E2C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 80265ED0 00262E30 90 81 00 28 */ stw r4, 0x28(r1) +/* 80265ED4 00262E34 38 61 00 40 */ addi r3, r1, 0x40 +/* 80265ED8 00262E38 38 81 00 2C */ addi r4, r1, 0x2c +/* 80265EDC 00262E3C 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80265EE0 00262E40 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80265EE4 00262E44 4B DE B5 A1 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 80265EE8 00262E48 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 80265EEC 00262E4C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80265EF0 00262E50 B0 61 00 10 */ sth r3, 0x10(r1) +/* 80265EF4 00262E54 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80265EF8 00262E58 4B DA 61 C1 */ bl DefaultAspect__14CCameraManagerFv +/* 80265EFC 00262E5C FF A0 08 90 */ fmr f29, f1 +/* 80265F00 00262E60 4B DA 61 C1 */ bl DefaultFarPlane__14CCameraManagerFv +/* 80265F04 00262E64 FF C0 08 90 */ fmr f30, f1 +/* 80265F08 00262E68 4B DA 61 C1 */ bl DefaultNearPlane__14CCameraManagerFv +/* 80265F0C 00262E6C FF E0 08 90 */ fmr f31, f1 +/* 80265F10 00262E70 4B DA 61 C9 */ bl DefaultThirdPersonFov__14CCameraManagerFv +/* 80265F14 00262E74 38 00 00 00 */ li r0, 0 +/* 80265F18 00262E78 FC 40 F8 90 */ fmr f2, f31 +/* 80265F1C 00262E7C FC 60 F0 90 */ fmr f3, f30 +/* 80265F20 00262E80 90 01 00 08 */ stw r0, 8(r1) +/* 80265F24 00262E84 FC 80 E8 90 */ fmr f4, f29 +/* 80265F28 00262E88 7F E3 FB 78 */ mr r3, r31 +/* 80265F2C 00262E8C 7F C8 F3 78 */ mr r8, r30 +/* 80265F30 00262E90 38 81 00 14 */ addi r4, r1, 0x14 +/* 80265F34 00262E94 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80265F38 00262E98 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80265F3C 00262E9C 39 21 00 10 */ addi r9, r1, 0x10 +/* 80265F40 00262EA0 38 A0 00 00 */ li r5, 0 +/* 80265F44 00262EA4 39 40 00 00 */ li r10, 0 +/* 80265F48 00262EA8 4B DF 7B 75 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" +/* 80265F4C 00262EAC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80265F50 00262EB0 80 61 00 50 */ lwz r3, 0x50(r1) +/* 80265F54 00262EB4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80265F58 00262EB8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80265F5C 00262EBC 7C 64 1B 78 */ mr r4, r3 +/* 80265F60 00262EC0 7C 03 02 14 */ add r0, r3, r0 +/* 80265F64 00262EC4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80265F68 00262EC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80265F6C 00262ECC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80265F70 00262ED0 48 00 00 08 */ b lbl_80265F78 +lbl_80265F74: +/* 80265F74 00262ED4 38 84 00 0C */ addi r4, r4, 0xc +lbl_80265F78: +/* 80265F78 00262ED8 7C 04 00 40 */ cmplw r4, r0 +/* 80265F7C 00262EDC 40 82 FF F8 */ bne lbl_80265F74 +/* 80265F80 00262EE0 28 03 00 00 */ cmplwi r3, 0 +/* 80265F84 00262EE4 41 82 00 08 */ beq lbl_80265F8C +/* 80265F88 00262EE8 48 0A F9 A9 */ bl Free__7CMemoryFPCv +lbl_80265F8C: +/* 80265F8C 00262EEC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265F90 00262EF0 48 0D 7B 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80265F94 00262EF4 3C 80 80 3F */ lis r4, lbl_803E9D80@ha +/* 80265F98 00262EF8 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265F9C 00262EFC 38 04 9D 80 */ addi r0, r4, lbl_803E9D80@l +/* 80265FA0 00262F00 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80265FA4 00262F04 90 1F 00 00 */ stw r0, 0(r31) +/* 80265FA8 00262F08 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80265FAC 00262F0C 38 7F 01 94 */ addi r3, r31, 0x194 +/* 80265FB0 00262F10 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80265FB4 00262F14 B0 1F 01 88 */ sth r0, 0x188(r31) +/* 80265FB8 00262F18 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80265FBC 00262F1C D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 80265FC0 00262F20 48 0A CB B5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80265FC4 00262F24 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80265FC8 00262F28 C0 22 BA 9C */ lfs f1, lbl_805AD7BC@sda21(r2) +/* 80265FCC 00262F2C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80265FD0 00262F30 38 80 00 00 */ li r4, 0 +/* 80265FD4 00262F34 C0 45 00 00 */ lfs f2, 0(r5) +/* 80265FD8 00262F38 7F E3 FB 78 */ mr r3, r31 +/* 80265FDC 00262F3C C0 02 BA 98 */ lfs f0, lbl_805AD7B8@sda21(r2) +/* 80265FE0 00262F40 D0 5F 01 C4 */ stfs f2, 0x1c4(r31) +/* 80265FE4 00262F44 C0 45 00 04 */ lfs f2, 4(r5) +/* 80265FE8 00262F48 D0 5F 01 C8 */ stfs f2, 0x1c8(r31) +/* 80265FEC 00262F4C C0 45 00 08 */ lfs f2, 8(r5) +/* 80265FF0 00262F50 D0 5F 01 CC */ stfs f2, 0x1cc(r31) +/* 80265FF4 00262F54 D0 3F 01 D0 */ stfs f1, 0x1d0(r31) +/* 80265FF8 00262F58 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) +/* 80265FFC 00262F5C 88 1F 01 D8 */ lbz r0, 0x1d8(r31) +/* 80266000 00262F60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80266004 00262F64 98 1F 01 D8 */ stb r0, 0x1d8(r31) +/* 80266008 00262F68 D0 1F 01 DC */ stfs f0, 0x1dc(r31) +/* 8026600C 00262F6C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80266010 00262F70 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80266014 00262F74 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80266018 00262F78 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8026601C 00262F7C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 80266020 00262F80 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80266024 00262F84 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80266028 00262F88 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8026602C 00262F8C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80266030 00262F90 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80266034 00262F94 7C 08 03 A6 */ mtlr r0 +/* 80266038 00262F98 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8026603C 00262F9C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPathCamera.s b/asm/Kyoto_CWD/Cameras/CPathCamera.s similarity index 100% rename from asm/Kyoto_CWD/CPathCamera.s rename to asm/Kyoto_CWD/Cameras/CPathCamera.s diff --git a/asm/Kyoto_CWD/Enemies/CAtomicBeta.s b/asm/Kyoto_CWD/Enemies/CAtomicBeta.s new file mode 100644 index 00000000..6dc9ffe8 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CAtomicBeta.s @@ -0,0 +1,1198 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetDamageVulnerability__11CAtomicBetaFv +GetDamageVulnerability__11CAtomicBetaFv: +/* 80250A7C 0024D9DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250A80 0024D9E0 7C 08 02 A6 */ mflr r0 +/* 80250A84 0024D9E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250A88 0024D9E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250A8C 0024D9EC 7C DF 33 78 */ mr r31, r6 +/* 80250A90 0024D9F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80250A94 0024D9F4 7C BE 2B 78 */ mr r30, r5 +/* 80250A98 0024D9F8 38 A0 00 00 */ li r5, 0 +/* 80250A9C 0024D9FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80250AA0 0024DA00 7C 9D 23 78 */ mr r29, r4 +/* 80250AA4 0024DA04 93 81 00 10 */ stw r28, 0x10(r1) +/* 80250AA8 0024DA08 7C 7C 1B 78 */ mr r28, r3 +/* 80250AAC 0024DA0C 48 00 08 2D */ bl sub_802512d8 +/* 80250AB0 0024DA10 7F 83 E3 78 */ mr r3, r28 +/* 80250AB4 0024DA14 38 9C 06 50 */ addi r4, r28, 0x650 +/* 80250AB8 0024DA18 48 00 02 19 */ bl sub_80250cd0 +/* 80250ABC 0024DA1C 7F 83 E3 78 */ mr r3, r28 +/* 80250AC0 0024DA20 38 9C 06 54 */ addi r4, r28, 0x654 +/* 80250AC4 0024DA24 48 00 02 0D */ bl sub_80250cd0 +/* 80250AC8 0024DA28 7F 83 E3 78 */ mr r3, r28 +/* 80250ACC 0024DA2C 38 9C 06 4C */ addi r4, r28, 0x64c +/* 80250AD0 0024DA30 48 00 02 01 */ bl sub_80250cd0 +/* 80250AD4 0024DA34 7F 83 E3 78 */ mr r3, r28 +/* 80250AD8 0024DA38 7F A4 EB 78 */ mr r4, r29 +/* 80250ADC 0024DA3C 7F C5 F3 78 */ mr r5, r30 +/* 80250AE0 0024DA40 7F E6 FB 78 */ mr r6, r31 +/* 80250AE4 0024DA44 4B E2 A8 C1 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 80250AE8 0024DA48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250AEC 0024DA4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250AF0 0024DA50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80250AF4 0024DA54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80250AF8 0024DA58 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80250AFC 0024DA5C 7C 08 03 A6 */ mtlr r0 +/* 80250B00 0024DA60 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250B04 0024DA64 4E 80 00 20 */ blr + +.global GetCollisionResponseType__11CAtomicBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__11CAtomicBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80250B08 0024DA68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80250B0C 0024DA6C 7C 08 02 A6 */ mflr r0 +/* 80250B10 0024DA70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80250B14 0024DA74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80250B18 0024DA78 7C DF 33 78 */ mr r31, r6 +/* 80250B1C 0024DA7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80250B20 0024DA80 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80250B24 0024DA84 7D 89 03 A6 */ mtctr r12 +/* 80250B28 0024DA88 4E 80 04 21 */ bctrl +/* 80250B2C 0024DA8C 7F E4 FB 78 */ mr r4, r31 +/* 80250B30 0024DA90 38 A0 00 00 */ li r5, 0 +/* 80250B34 0024DA94 4B EB 1A 51 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei +/* 80250B38 0024DA98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250B3C 0024DA9C 38 60 00 5C */ li r3, 0x5c +/* 80250B40 0024DAA0 41 82 00 08 */ beq lbl_80250B48 +/* 80250B44 0024DAA4 38 60 00 2A */ li r3, 0x2a +lbl_80250B48: +/* 80250B48 0024DAA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250B4C 0024DAAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80250B50 0024DAB0 7C 08 03 A6 */ mtlr r0 +/* 80250B54 0024DAB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80250B58 0024DAB8 4E 80 00 20 */ blr + +.global Touch__11CAtomicBetaFR6CActorR13CStateManager +Touch__11CAtomicBetaFR6CActorR13CStateManager: +/* 80250B5C 0024DABC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250B60 0024DAC0 7C 08 02 A6 */ mflr r0 +/* 80250B64 0024DAC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250B68 0024DAC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250B6C 0024DACC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80250B70 0024DAD0 7C BE 2B 78 */ mr r30, r5 +/* 80250B74 0024DAD4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80250B78 0024DAD8 7C 9D 23 78 */ mr r29, r4 +/* 80250B7C 0024DADC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80250B80 0024DAE0 7C 7C 1B 78 */ mr r28, r3 +/* 80250B84 0024DAE4 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80250B88 0024DAE8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80250B8C 0024DAEC 41 82 00 90 */ beq lbl_80250C1C +/* 80250B90 0024DAF0 38 61 00 08 */ addi r3, r1, 8 +/* 80250B94 0024DAF4 4B E5 CB E5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +/* 80250B98 0024DAF8 83 E3 00 04 */ lwz r31, 4(r3) +/* 80250B9C 0024DAFC 28 1F 00 00 */ cmplwi r31, 0 +/* 80250BA0 0024DB00 41 82 00 6C */ beq lbl_80250C0C +/* 80250BA4 0024DB04 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80250BA8 0024DB08 A0 9F 00 EC */ lhz r4, 0xec(r31) +/* 80250BAC 0024DB0C A0 03 00 08 */ lhz r0, 8(r3) +/* 80250BB0 0024DB10 7C 04 00 40 */ cmplw r4, r0 +/* 80250BB4 0024DB14 40 82 00 58 */ bne lbl_80250C0C +/* 80250BB8 0024DB18 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 80250BBC 0024DB1C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 80250BC0 0024DB20 2C 00 00 08 */ cmpwi r0, 8 +/* 80250BC4 0024DB24 40 82 00 48 */ bne lbl_80250C0C +/* 80250BC8 0024DB28 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80250BCC 0024DB2C 4B EE 95 01 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80250BD0 0024DB30 C0 02 B8 D0 */ lfs f0, lbl_805AD5F0@sda21(r2) +/* 80250BD4 0024DB34 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80250BD8 0024DB38 40 82 00 34 */ bne lbl_80250C0C +/* 80250BDC 0024DB3C 81 9C 00 00 */ lwz r12, 0(r28) +/* 80250BE0 0024DB40 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 80250BE4 0024DB44 FC 20 00 90 */ fmr f1, f0 +/* 80250BE8 0024DB48 7F 83 E3 78 */ mr r3, r28 +/* 80250BEC 0024DB4C 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 80250BF0 0024DB50 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 80250BF4 0024DB54 7F C5 F3 78 */ mr r5, r30 +/* 80250BF8 0024DB58 38 DF 01 2C */ addi r6, r31, 0x12c +/* 80250BFC 0024DB5C 38 E0 00 01 */ li r7, 1 +/* 80250C00 0024DB60 39 00 00 00 */ li r8, 0 +/* 80250C04 0024DB64 7D 89 03 A6 */ mtctr r12 +/* 80250C08 0024DB68 4E 80 04 21 */ bctrl +lbl_80250C0C: +/* 80250C0C 0024DB6C 7F 83 E3 78 */ mr r3, r28 +/* 80250C10 0024DB70 7F A4 EB 78 */ mr r4, r29 +/* 80250C14 0024DB74 7F C5 F3 78 */ mr r5, r30 +/* 80250C18 0024DB78 4B E2 8E 89 */ bl Touch__10CPatternedFR6CActorR13CStateManager +lbl_80250C1C: +/* 80250C1C 0024DB7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250C20 0024DB80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250C24 0024DB84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80250C28 0024DB88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80250C2C 0024DB8C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80250C30 0024DB90 7C 08 03 A6 */ mtlr r0 +/* 80250C34 0024DB94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250C38 0024DB98 4E 80 00 20 */ blr + +.global GetDamageVulnerability__11CAtomicBetaCFv +GetDamageVulnerability__11CAtomicBetaCFv: +/* 80250C3C 0024DB9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80250C40 0024DBA0 7C 08 02 A6 */ mflr r0 +/* 80250C44 0024DBA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80250C48 0024DBA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80250C4C 0024DBAC 7C 7F 1B 78 */ mr r31, r3 +/* 80250C50 0024DBB0 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80250C54 0024DBB4 4B EE 94 79 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80250C58 0024DBB8 C0 42 B8 D0 */ lfs f2, lbl_805AD5F0@sda21(r2) +/* 80250C5C 0024DBBC C0 02 B8 D4 */ lfs f0, lbl_805AD5F4@sda21(r2) +/* 80250C60 0024DBC0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80250C64 0024DBC4 FC 20 0A 10 */ fabs f1, f1 +/* 80250C68 0024DBC8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80250C6C 0024DBCC 40 80 00 10 */ bge lbl_80250C7C +/* 80250C70 0024DBD0 7F E3 FB 78 */ mr r3, r31 +/* 80250C74 0024DBD4 4B E5 20 FD */ bl GetDamageVulnerability__3CAiCFv +/* 80250C78 0024DBD8 48 00 00 08 */ b lbl_80250C80 +lbl_80250C7C: +/* 80250C7C 0024DBDC 38 7F 05 88 */ addi r3, r31, 0x588 +lbl_80250C80: +/* 80250C80 0024DBE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250C84 0024DBE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80250C88 0024DBE8 7C 08 03 A6 */ mtlr r0 +/* 80250C8C 0024DBEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80250C90 0024DBF0 4E 80 00 20 */ blr + +.global sub_80250c94 +sub_80250c94: +/* 80250C94 0024DBF4 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 80250C98 0024DBF8 80 63 04 90 */ lwz r3, 0x490(r3) +/* 80250C9C 0024DBFC 88 03 08 34 */ lbz r0, 0x834(r3) +/* 80250CA0 0024DC00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80250CA4 0024DC04 41 82 00 0C */ beq lbl_80250CB0 +/* 80250CA8 0024DC08 C0 23 03 40 */ lfs f1, 0x340(r3) +/* 80250CAC 0024DC0C 48 00 00 08 */ b lbl_80250CB4 +lbl_80250CB0: +/* 80250CB0 0024DC10 C0 22 B8 D0 */ lfs f1, lbl_805AD5F0@sda21(r2) +lbl_80250CB4: +/* 80250CB4 0024DC14 C0 02 B8 D8 */ lfs f0, lbl_805AD5F8@sda21(r2) +/* 80250CB8 0024DC18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80250CBC 0024DC1C 40 81 00 0C */ ble lbl_80250CC8 +/* 80250CC0 0024DC20 38 60 00 01 */ li r3, 1 +/* 80250CC4 0024DC24 4E 80 00 20 */ blr +lbl_80250CC8: +/* 80250CC8 0024DC28 38 60 00 00 */ li r3, 0 +/* 80250CCC 0024DC2C 4E 80 00 20 */ blr + +.global sub_80250cd0 +sub_80250cd0: +/* 80250CD0 0024DC30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250CD4 0024DC34 7C 08 02 A6 */ mflr r0 +/* 80250CD8 0024DC38 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250CDC 0024DC3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250CE0 0024DC40 7C 9F 23 78 */ mr r31, r4 +/* 80250CE4 0024DC44 80 04 00 00 */ lwz r0, 0(r4) +/* 80250CE8 0024DC48 28 00 00 00 */ cmplwi r0, 0 +/* 80250CEC 0024DC4C 41 82 00 1C */ beq lbl_80250D08 +/* 80250CF0 0024DC50 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250CF4 0024DC54 38 61 00 08 */ addi r3, r1, 8 +/* 80250CF8 0024DC58 90 01 00 08 */ stw r0, 8(r1) +/* 80250CFC 0024DC5C 48 09 91 89 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80250D00 0024DC60 38 00 00 00 */ li r0, 0 +/* 80250D04 0024DC64 90 1F 00 00 */ stw r0, 0(r31) +lbl_80250D08: +/* 80250D08 0024DC68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250D0C 0024DC6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250D10 0024DC70 7C 08 03 A6 */ mtlr r0 +/* 80250D14 0024DC74 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250D18 0024DC78 4E 80 00 20 */ blr + +.global sub_80250d1c +sub_80250d1c: +/* 80250D1C 0024DC7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250D20 0024DC80 7C 08 02 A6 */ mflr r0 +/* 80250D24 0024DC84 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250D28 0024DC88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250D2C 0024DC8C 7C 9F 23 78 */ mr r31, r4 +/* 80250D30 0024DC90 80 04 00 00 */ lwz r0, 0(r4) +/* 80250D34 0024DC94 28 00 00 00 */ cmplwi r0, 0 +/* 80250D38 0024DC98 40 82 00 40 */ bne lbl_80250D78 +/* 80250D3C 0024DC9C 80 83 00 04 */ lwz r4, 4(r3) +/* 80250D40 0024DCA0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80250D44 0024DCA4 38 03 66 A0 */ addi r0, r3, skZero3f@l +/* 80250D48 0024DCA8 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80250D4C 0024DCAC 90 81 00 08 */ stw r4, 8(r1) +/* 80250D50 0024DCB0 7C A4 2B 78 */ mr r4, r5 +/* 80250D54 0024DCB4 7C C5 33 78 */ mr r5, r6 +/* 80250D58 0024DCB8 7C 06 03 78 */ mr r6, r0 +/* 80250D5C 0024DCBC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80250D60 0024DCC0 39 00 00 01 */ li r8, 1 +/* 80250D64 0024DCC4 39 20 00 01 */ li r9, 1 +/* 80250D68 0024DCC8 48 09 94 51 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 80250D6C 0024DCCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250D70 0024DCD0 90 1F 00 00 */ stw r0, 0(r31) +/* 80250D74 0024DCD4 48 00 00 24 */ b lbl_80250D98 +lbl_80250D78: +/* 80250D78 0024DCD8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250D7C 0024DCDC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80250D80 0024DCE0 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80250D84 0024DCE4 7C C4 33 78 */ mr r4, r6 +/* 80250D88 0024DCE8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80250D8C 0024DCEC 7C E6 3B 78 */ mr r6, r7 +/* 80250D90 0024DCF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80250D94 0024DCF4 48 09 91 1D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80250D98: +/* 80250D98 0024DCF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250D9C 0024DCFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250DA0 0024DD00 7C 08 03 A6 */ mtlr r0 +/* 80250DA4 0024DD04 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250DA8 0024DD08 4E 80 00 20 */ blr + +.global Think__11CAtomicBetaFfR13CStateManager +Think__11CAtomicBetaFfR13CStateManager: +/* 80250DAC 0024DD0C 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 80250DB0 0024DD10 7C 08 02 A6 */ mflr r0 +/* 80250DB4 0024DD14 90 01 02 04 */ stw r0, 0x204(r1) +/* 80250DB8 0024DD18 DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 80250DBC 0024DD1C F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 80250DC0 0024DD20 DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 80250DC4 0024DD24 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 80250DC8 0024DD28 DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 80250DCC 0024DD2C F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 80250DD0 0024DD30 DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 80250DD4 0024DD34 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 80250DD8 0024DD38 BF 41 01 A8 */ stmw r26, 0x1a8(r1) +/* 80250DDC 0024DD3C FF E0 08 90 */ fmr f31, f1 +/* 80250DE0 0024DD40 7C 7E 1B 78 */ mr r30, r3 +/* 80250DE4 0024DD44 7C 9F 23 78 */ mr r31, r4 +/* 80250DE8 0024DD48 4B E2 8D 31 */ bl Think__10CPatternedFfR13CStateManager +/* 80250DEC 0024DD4C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80250DF0 0024DD50 C7 C3 00 04 */ lfsu f30, 4(r3) +/* 80250DF4 0024DD54 C3 A3 00 04 */ lfs f29, 4(r3) +/* 80250DF8 0024DD58 C3 83 00 08 */ lfs f28, 8(r3) +/* 80250DFC 0024DD5C 4B EE 06 AD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 80250E00 0024DD60 C0 02 B8 D0 */ lfs f0, lbl_805AD5F0@sda21(r2) +/* 80250E04 0024DD64 38 00 00 00 */ li r0, 0 +/* 80250E08 0024DD68 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 80250E0C 0024DD6C 40 82 00 14 */ bne lbl_80250E20 +/* 80250E10 0024DD70 FC 00 E8 00 */ fcmpu cr0, f0, f29 +/* 80250E14 0024DD74 40 82 00 0C */ bne lbl_80250E20 +/* 80250E18 0024DD78 FC 00 E0 00 */ fcmpu cr0, f0, f28 +/* 80250E1C 0024DD7C 41 82 00 08 */ beq lbl_80250E24 +lbl_80250E20: +/* 80250E20 0024DD80 38 00 00 01 */ li r0, 1 +lbl_80250E24: +/* 80250E24 0024DD84 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80250E28 0024DD88 41 82 00 40 */ beq lbl_80250E68 +/* 80250E2C 0024DD8C D3 C1 00 9C */ stfs f30, 0x9c(r1) +/* 80250E30 0024DD90 38 81 00 9C */ addi r4, r1, 0x9c +/* 80250E34 0024DD94 C0 02 B8 DC */ lfs f0, lbl_805AD5FC@sda21(r2) +/* 80250E38 0024DD98 D3 A1 00 A0 */ stfs f29, 0xa0(r1) +/* 80250E3C 0024DD9C D3 81 00 A4 */ stfs f28, 0xa4(r1) +/* 80250E40 0024DDA0 C0 3E 05 F4 */ lfs f1, 0x5f4(r30) +/* 80250E44 0024DDA4 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80250E48 0024DDA8 C0 3E 05 F8 */ lfs f1, 0x5f8(r30) +/* 80250E4C 0024DDAC D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80250E50 0024DDB0 C0 3E 05 FC */ lfs f1, 0x5fc(r30) +/* 80250E54 0024DDB4 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80250E58 0024DDB8 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80250E5C 0024DDBC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80250E60 0024DDC0 38 63 00 04 */ addi r3, r3, 4 +/* 80250E64 0024DDC4 4B EE 08 B5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_80250E68: +/* 80250E68 0024DDC8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80250E6C 0024DDCC C0 3E 06 40 */ lfs f1, 0x640(r30) +/* 80250E70 0024DDD0 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 80250E74 0024DDD4 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80250E78 0024DDD8 EC 21 00 72 */ fmuls f1, f1, f1 +/* 80250E7C 0024DDDC C0 83 00 40 */ lfs f4, 0x40(r3) +/* 80250E80 0024DDE0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 80250E84 0024DDE4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80250E88 0024DDE8 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80250E8C 0024DDEC EC A4 00 28 */ fsubs f5, f4, f0 +/* 80250E90 0024DDF0 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80250E94 0024DDF4 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80250E98 0024DDF8 EC 83 00 28 */ fsubs f4, f3, f0 +/* 80250E9C 0024DDFC C0 62 B8 DC */ lfs f3, lbl_805AD5FC@sda21(r2) +/* 80250EA0 0024DE00 C0 0D 97 20 */ lfs f0, lbl_805A82E0@sda21(r13) +/* 80250EA4 0024DE04 EC 45 11 7A */ fmadds f2, f5, f5, f2 +/* 80250EA8 0024DE08 EC 44 11 3A */ fmadds f2, f4, f4, f2 +/* 80250EAC 0024DE0C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80250EB0 0024DE10 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80250EB4 0024DE14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80250EB8 0024DE18 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80250EBC 0024DE1C 40 80 00 0C */ bge lbl_80250EC8 +/* 80250EC0 0024DE20 38 6D 97 20 */ addi r3, r13, lbl_805A82E0@sda21 +/* 80250EC4 0024DE24 48 00 00 08 */ b lbl_80250ECC +lbl_80250EC8: +/* 80250EC8 0024DE28 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80250ECC: +/* 80250ECC 0024DE2C C0 3E 06 3C */ lfs f1, 0x63c(r30) +/* 80250ED0 0024DE30 C0 03 00 00 */ lfs f0, 0(r3) +/* 80250ED4 0024DE34 C0 42 B8 D0 */ lfs f2, lbl_805AD5F0@sda21(r2) +/* 80250ED8 0024DE38 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80250EDC 0024DE3C C0 02 B8 D4 */ lfs f0, lbl_805AD5F4@sda21(r2) +/* 80250EE0 0024DE40 EC 41 10 28 */ fsubs f2, f1, f2 +/* 80250EE4 0024DE44 FC 40 12 10 */ fabs f2, f2 +/* 80250EE8 0024DE48 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80250EEC 0024DE4C 41 80 00 28 */ blt lbl_80250F14 +/* 80250EF0 0024DE50 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80250EF4 0024DE54 38 81 00 14 */ addi r4, r1, 0x14 +/* 80250EF8 0024DE58 C0 42 B8 E0 */ lfs f2, lbl_805AD600@sda21(r2) +/* 80250EFC 0024DE5C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80250F00 0024DE60 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80250F04 0024DE64 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80250F08 0024DE68 80 63 00 00 */ lwz r3, 0(r3) +/* 80250F0C 0024DE6C 38 63 01 88 */ addi r3, r3, 0x188 +/* 80250F10 0024DE70 4B F6 FC 29 */ bl AddSource__19CStaticInterferenceF9TUniqueId +lbl_80250F14: +/* 80250F14 0024DE74 7F C3 F3 78 */ mr r3, r30 +/* 80250F18 0024DE78 FC 20 F8 90 */ fmr f1, f31 +/* 80250F1C 0024DE7C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80250F20 0024DE80 7F E4 FB 78 */ mr r4, r31 +/* 80250F24 0024DE84 81 8C 01 A4 */ lwz r12, 0x1a4(r12) +/* 80250F28 0024DE88 7D 89 03 A6 */ mtctr r12 +/* 80250F2C 0024DE8C 4E 80 04 21 */ bctrl +/* 80250F30 0024DE90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250F34 0024DE94 41 82 00 B4 */ beq lbl_80250FE8 +/* 80250F38 0024DE98 7F C3 F3 78 */ mr r3, r30 +/* 80250F3C 0024DE9C 7F E4 FB 78 */ mr r4, r31 +/* 80250F40 0024DEA0 38 A0 00 01 */ li r5, 1 +/* 80250F44 0024DEA4 48 00 03 95 */ bl sub_802512d8 +/* 80250F48 0024DEA8 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80250F4C 0024DEAC 7F C3 F3 78 */ mr r3, r30 +/* 80250F50 0024DEB0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80250F54 0024DEB4 38 9E 06 50 */ addi r4, r30, 0x650 +/* 80250F58 0024DEB8 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80250F5C 0024DEBC 38 C1 00 90 */ addi r6, r1, 0x90 +/* 80250F60 0024DEC0 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 80250F64 0024DEC4 38 E0 00 60 */ li r7, 0x60 +/* 80250F68 0024DEC8 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80250F6C 0024DECC 81 01 00 84 */ lwz r8, 0x84(r1) +/* 80250F70 0024DED0 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80250F74 0024DED4 80 A1 00 88 */ lwz r5, 0x88(r1) +/* 80250F78 0024DED8 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80250F7C 0024DEDC 91 01 00 90 */ stw r8, 0x90(r1) +/* 80250F80 0024DEE0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80250F84 0024DEE4 90 01 00 98 */ stw r0, 0x98(r1) +/* 80250F88 0024DEE8 A0 BE 06 46 */ lhz r5, 0x646(r30) +/* 80250F8C 0024DEEC 4B FF FD 91 */ bl sub_80250d1c +/* 80250F90 0024DEF0 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80250F94 0024DEF4 7F C3 F3 78 */ mr r3, r30 +/* 80250F98 0024DEF8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80250F9C 0024DEFC 38 9E 06 54 */ addi r4, r30, 0x654 +/* 80250FA0 0024DF00 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80250FA4 0024DF04 38 C1 00 78 */ addi r6, r1, 0x78 +/* 80250FA8 0024DF08 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80250FAC 0024DF0C 38 E0 00 60 */ li r7, 0x60 +/* 80250FB0 0024DF10 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80250FB4 0024DF14 81 01 00 6C */ lwz r8, 0x6c(r1) +/* 80250FB8 0024DF18 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80250FBC 0024DF1C 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 80250FC0 0024DF20 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80250FC4 0024DF24 91 01 00 78 */ stw r8, 0x78(r1) +/* 80250FC8 0024DF28 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 80250FCC 0024DF2C 90 01 00 80 */ stw r0, 0x80(r1) +/* 80250FD0 0024DF30 A0 BE 06 48 */ lhz r5, 0x648(r30) +/* 80250FD4 0024DF34 4B FF FD 49 */ bl sub_80250d1c +/* 80250FD8 0024DF38 7F C3 F3 78 */ mr r3, r30 +/* 80250FDC 0024DF3C 38 9E 06 4C */ addi r4, r30, 0x64c +/* 80250FE0 0024DF40 4B FF FC F1 */ bl sub_80250cd0 +/* 80250FE4 0024DF44 48 00 00 74 */ b lbl_80251058 +lbl_80250FE8: +/* 80250FE8 0024DF48 7F C3 F3 78 */ mr r3, r30 +/* 80250FEC 0024DF4C 7F E4 FB 78 */ mr r4, r31 +/* 80250FF0 0024DF50 38 A0 00 00 */ li r5, 0 +/* 80250FF4 0024DF54 48 00 02 E5 */ bl sub_802512d8 +/* 80250FF8 0024DF58 7F C3 F3 78 */ mr r3, r30 +/* 80250FFC 0024DF5C 38 9E 06 50 */ addi r4, r30, 0x650 +/* 80251000 0024DF60 4B FF FC D1 */ bl sub_80250cd0 +/* 80251004 0024DF64 7F C3 F3 78 */ mr r3, r30 +/* 80251008 0024DF68 38 9E 06 54 */ addi r4, r30, 0x654 +/* 8025100C 0024DF6C 4B FF FC C5 */ bl sub_80250cd0 +/* 80251010 0024DF70 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80251014 0024DF74 7F C3 F3 78 */ mr r3, r30 +/* 80251018 0024DF78 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8025101C 0024DF7C 38 9E 06 4C */ addi r4, r30, 0x64c +/* 80251020 0024DF80 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80251024 0024DF84 38 C1 00 60 */ addi r6, r1, 0x60 +/* 80251028 0024DF88 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8025102C 0024DF8C 38 E0 00 60 */ li r7, 0x60 +/* 80251030 0024DF90 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80251034 0024DF94 81 01 00 54 */ lwz r8, 0x54(r1) +/* 80251038 0024DF98 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8025103C 0024DF9C 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 80251040 0024DFA0 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80251044 0024DFA4 91 01 00 60 */ stw r8, 0x60(r1) +/* 80251048 0024DFA8 90 A1 00 64 */ stw r5, 0x64(r1) +/* 8025104C 0024DFAC 90 01 00 68 */ stw r0, 0x68(r1) +/* 80251050 0024DFB0 A0 BE 06 44 */ lhz r5, 0x644(r30) +/* 80251054 0024DFB4 4B FF FC C9 */ bl sub_80250d1c +lbl_80251058: +/* 80251058 0024DFB8 3C 60 80 3F */ lis r3, lbl_803E8E40@ha +/* 8025105C 0024DFBC 3B BE 05 6C */ addi r29, r30, 0x56c +/* 80251060 0024DFC0 3B 83 8E 40 */ addi r28, r3, lbl_803E8E40@l +/* 80251064 0024DFC4 3B 60 00 00 */ li r27, 0 +lbl_80251068: +/* 80251068 0024DFC8 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8025106C 0024DFCC 7F E3 FB 78 */ mr r3, r31 +/* 80251070 0024DFD0 38 81 00 0C */ addi r4, r1, 0xc +/* 80251074 0024DFD4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80251078 0024DFD8 4B DF B4 FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025107C 0024DFDC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80251080 0024DFE0 41 82 00 E4 */ beq lbl_80251164 +/* 80251084 0024DFE4 88 1A 00 30 */ lbz r0, 0x30(r26) +/* 80251088 0024DFE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025108C 0024DFEC 41 82 00 D8 */ beq lbl_80251164 +/* 80251090 0024DFF0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80251094 0024DFF4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80251098 0024DFF8 38 C1 00 08 */ addi r6, r1, 8 +/* 8025109C 0024DFFC 38 A0 FF FF */ li r5, -1 +/* 802510A0 0024E000 48 0E D0 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 802510A4 0024E004 7F C4 F3 78 */ mr r4, r30 +/* 802510A8 0024E008 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802510AC 0024E00C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802510B0 0024E010 4B E0 1E 21 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802510B4 0024E014 38 61 01 18 */ addi r3, r1, 0x118 +/* 802510B8 0024E018 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802510BC 0024E01C 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 802510C0 0024E020 48 0C 18 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802510C4 0024E024 38 61 01 78 */ addi r3, r1, 0x178 +/* 802510C8 0024E028 38 81 01 18 */ addi r4, r1, 0x118 +/* 802510CC 0024E02C 48 0C 1A A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802510D0 0024E030 38 61 00 44 */ addi r3, r1, 0x44 +/* 802510D4 0024E034 48 0E CA 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802510D8 0024E038 C0 61 01 84 */ lfs f3, 0x184(r1) +/* 802510DC 0024E03C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802510E0 0024E040 C0 41 01 94 */ lfs f2, 0x194(r1) +/* 802510E4 0024E044 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802510E8 0024E048 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 802510EC 0024E04C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802510F0 0024E050 C0 81 01 9C */ lfs f4, 0x19c(r1) +/* 802510F4 0024E054 38 81 00 38 */ addi r4, r1, 0x38 +/* 802510F8 0024E058 C0 A1 01 8C */ lfs f5, 0x18c(r1) +/* 802510FC 0024E05C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80251100 0024E060 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 80251104 0024E064 EC 81 20 2A */ fadds f4, f1, f4 +/* 80251108 0024E068 EC A2 28 2A */ fadds f5, f2, f5 +/* 8025110C 0024E06C D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80251110 0024E070 EC 03 00 2A */ fadds f0, f3, f0 +/* 80251114 0024E074 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80251118 0024E078 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8025111C 0024E07C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80251120 0024E080 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80251124 0024E084 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80251128 0024E088 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8025112C 0024E08C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80251130 0024E090 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80251134 0024E094 48 0C 29 DD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80251138 0024E098 38 61 01 48 */ addi r3, r1, 0x148 +/* 8025113C 0024E09C 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80251140 0024E0A0 48 0C 1A 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80251144 0024E0A4 7F 43 D3 78 */ mr r3, r26 +/* 80251148 0024E0A8 FC 20 F8 90 */ fmr f1, f31 +/* 8025114C 0024E0AC 81 9A 00 00 */ lwz r12, 0(r26) +/* 80251150 0024E0B0 7F E5 FB 78 */ mr r5, r31 +/* 80251154 0024E0B4 38 81 01 48 */ addi r4, r1, 0x148 +/* 80251158 0024E0B8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8025115C 0024E0BC 7D 89 03 A6 */ mtctr r12 +/* 80251160 0024E0C0 4E 80 04 21 */ bctrl +lbl_80251164: +/* 80251164 0024E0C4 3B 7B 00 01 */ addi r27, r27, 1 +/* 80251168 0024E0C8 3B 9C 00 04 */ addi r28, r28, 4 +/* 8025116C 0024E0CC 2C 1B 00 03 */ cmpwi r27, 3 +/* 80251170 0024E0D0 3B BD 00 02 */ addi r29, r29, 2 +/* 80251174 0024E0D4 41 80 FE F4 */ blt lbl_80251068 +/* 80251178 0024E0D8 7F E3 FB 78 */ mr r3, r31 +/* 8025117C 0024E0DC 4B FF FB 19 */ bl sub_80250c94 +/* 80251180 0024E0E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80251184 0024E0E4 41 82 00 0C */ beq lbl_80251190 +/* 80251188 0024E0E8 C0 02 B8 DC */ lfs f0, lbl_805AD5FC@sda21(r2) +/* 8025118C 0024E0EC 48 00 00 08 */ b lbl_80251194 +lbl_80251190: +/* 80251190 0024E0F0 C0 02 B8 E4 */ lfs f0, lbl_805AD604@sda21(r2) +lbl_80251194: +/* 80251194 0024E0F4 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80251198 0024E0F8 C0 5E 05 80 */ lfs f2, 0x580(r30) +/* 8025119C 0024E0FC C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802511A0 0024E100 38 7E 05 78 */ addi r3, r30, 0x578 +/* 802511A4 0024E104 38 81 00 18 */ addi r4, r1, 0x18 +/* 802511A8 0024E108 38 BE 05 7C */ addi r5, r30, 0x57c +/* 802511AC 0024E10C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802511B0 0024E110 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802511B4 0024E114 4B DB B1 01 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802511B8 0024E118 C0 03 00 00 */ lfs f0, 0(r3) +/* 802511BC 0024E11C D0 1E 05 84 */ stfs f0, 0x584(r30) +/* 802511C0 0024E120 C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802511C4 0024E124 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) +/* 802511C8 0024E128 C0 3E 05 F0 */ lfs f1, 0x5f0(r30) +/* 802511CC 0024E12C C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802511D0 0024E130 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802511D4 0024E134 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802511D8 0024E138 D0 03 03 30 */ stfs f0, 0x330(r3) +/* 802511DC 0024E13C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 802511E0 0024E140 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 802511E4 0024E144 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 802511E8 0024E148 CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 802511EC 0024E14C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 802511F0 0024E150 CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 802511F4 0024E154 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 802511F8 0024E158 CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 802511FC 0024E15C BB 41 01 A8 */ lmw r26, 0x1a8(r1) +/* 80251200 0024E160 80 01 02 04 */ lwz r0, 0x204(r1) +/* 80251204 0024E164 7C 08 03 A6 */ mtlr r0 +/* 80251208 0024E168 38 21 02 00 */ addi r1, r1, 0x200 +/* 8025120C 0024E16C 4E 80 00 20 */ blr + +.global sub_80251210 +sub_80251210: +/* 80251210 0024E170 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80251214 0024E174 7C 08 02 A6 */ mflr r0 +/* 80251218 0024E178 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025121C 0024E17C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80251220 0024E180 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80251224 0024E184 3B C0 00 00 */ li r30, 0 +/* 80251228 0024E188 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025122C 0024E18C 7C 9D 23 78 */ mr r29, r4 +/* 80251230 0024E190 93 81 00 10 */ stw r28, 0x10(r1) +/* 80251234 0024E194 7C 7C 1B 78 */ mr r28, r3 +/* 80251238 0024E198 3B FC 05 6C */ addi r31, r28, 0x56c +/* 8025123C 0024E19C 48 00 00 20 */ b lbl_8025125C +lbl_80251240: +/* 80251240 0024E1A0 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80251244 0024E1A4 7F A3 EB 78 */ mr r3, r29 +/* 80251248 0024E1A8 38 81 00 08 */ addi r4, r1, 8 +/* 8025124C 0024E1AC B0 01 00 08 */ sth r0, 8(r1) +/* 80251250 0024E1B0 4B DF B0 1D */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80251254 0024E1B4 3B FF 00 02 */ addi r31, r31, 2 +/* 80251258 0024E1B8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8025125C: +/* 8025125C 0024E1BC 80 BC 05 68 */ lwz r5, 0x568(r28) +/* 80251260 0024E1C0 7C 1E 28 00 */ cmpw r30, r5 +/* 80251264 0024E1C4 41 80 FF DC */ blt lbl_80251240 +/* 80251268 0024E1C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8025126C 0024E1CC 38 60 00 00 */ li r3, 0 +/* 80251270 0024E1D0 40 81 00 40 */ ble lbl_802512B0 +/* 80251274 0024E1D4 2C 05 00 08 */ cmpwi r5, 8 +/* 80251278 0024E1D8 38 85 FF F8 */ addi r4, r5, -8 +/* 8025127C 0024E1DC 40 81 00 20 */ ble lbl_8025129C +/* 80251280 0024E1E0 38 04 00 07 */ addi r0, r4, 7 +/* 80251284 0024E1E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80251288 0024E1E8 7C 09 03 A6 */ mtctr r0 +/* 8025128C 0024E1EC 2C 04 00 00 */ cmpwi r4, 0 +/* 80251290 0024E1F0 40 81 00 0C */ ble lbl_8025129C +lbl_80251294: +/* 80251294 0024E1F4 38 63 00 08 */ addi r3, r3, 8 +/* 80251298 0024E1F8 42 00 FF FC */ bdnz lbl_80251294 +lbl_8025129C: +/* 8025129C 0024E1FC 7C 03 28 50 */ subf r0, r3, r5 +/* 802512A0 0024E200 7C 09 03 A6 */ mtctr r0 +/* 802512A4 0024E204 7C 03 28 00 */ cmpw r3, r5 +/* 802512A8 0024E208 40 80 00 08 */ bge lbl_802512B0 +lbl_802512AC: +/* 802512AC 0024E20C 42 00 00 00 */ bdnz lbl_802512AC +lbl_802512B0: +/* 802512B0 0024E210 38 00 00 00 */ li r0, 0 +/* 802512B4 0024E214 90 1C 05 68 */ stw r0, 0x568(r28) +/* 802512B8 0024E218 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802512BC 0024E21C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802512C0 0024E220 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802512C4 0024E224 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802512C8 0024E228 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802512CC 0024E22C 7C 08 03 A6 */ mtlr r0 +/* 802512D0 0024E230 38 21 00 20 */ addi r1, r1, 0x20 +/* 802512D4 0024E234 4E 80 00 20 */ blr + +.global sub_802512d8 +sub_802512d8: +/* 802512D8 0024E238 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802512DC 0024E23C 7C 08 02 A6 */ mflr r0 +/* 802512E0 0024E240 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802512E4 0024E244 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 802512E8 0024E248 BF 01 01 B0 */ stmw r24, 0x1b0(r1) +/* 802512EC 0024E24C 7C 78 1B 78 */ mr r24, r3 +/* 802512F0 0024E250 7C BA 2B 78 */ mr r26, r5 +/* 802512F4 0024E254 7C 99 23 78 */ mr r25, r4 +/* 802512F8 0024E258 88 63 05 74 */ lbz r3, 0x574(r3) +/* 802512FC 0024E25C 7C 03 00 40 */ cmplw r3, r0 +/* 80251300 0024E260 41 82 01 80 */ beq lbl_80251480 +/* 80251304 0024E264 3C 80 80 3F */ lis r4, lbl_803E8E40@ha +/* 80251308 0024E268 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8025130C 0024E26C 3B C4 8E 40 */ addi r30, r4, lbl_803E8E40@l +/* 80251310 0024E270 3B B8 05 6C */ addi r29, r24, 0x56c +/* 80251314 0024E274 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l +/* 80251318 0024E278 3B 80 00 00 */ li r28, 0 +lbl_8025131C: +/* 8025131C 0024E27C 80 9E 00 00 */ lwz r4, 0(r30) +/* 80251320 0024E280 38 61 00 48 */ addi r3, r1, 0x48 +/* 80251324 0024E284 38 C1 00 0C */ addi r6, r1, 0xc +/* 80251328 0024E288 38 A0 FF FF */ li r5, -1 +/* 8025132C 0024E28C 48 0E CE 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80251330 0024E290 7F 04 C3 78 */ mr r4, r24 +/* 80251334 0024E294 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80251338 0024E298 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8025133C 0024E29C 4B E0 1B 95 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80251340 0024E2A0 38 61 01 18 */ addi r3, r1, 0x118 +/* 80251344 0024E2A4 38 98 00 34 */ addi r4, r24, 0x34 +/* 80251348 0024E2A8 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 8025134C 0024E2AC 48 0C 16 05 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80251350 0024E2B0 38 61 01 78 */ addi r3, r1, 0x178 +/* 80251354 0024E2B4 38 81 01 18 */ addi r4, r1, 0x118 +/* 80251358 0024E2B8 48 0C 18 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025135C 0024E2BC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80251360 0024E2C0 48 0E C7 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80251364 0024E2C4 C0 61 01 84 */ lfs f3, 0x184(r1) +/* 80251368 0024E2C8 7F E6 FB 78 */ mr r6, r31 +/* 8025136C 0024E2CC C0 41 01 94 */ lfs f2, 0x194(r1) +/* 80251370 0024E2D0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80251374 0024E2D4 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 80251378 0024E2D8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025137C 0024E2DC C0 81 01 9C */ lfs f4, 0x19c(r1) +/* 80251380 0024E2E0 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80251384 0024E2E4 C0 A1 01 8C */ lfs f5, 0x18c(r1) +/* 80251388 0024E2E8 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 8025138C 0024E2EC EC 81 20 2A */ fadds f4, f1, f4 +/* 80251390 0024E2F0 EC A2 28 2A */ fadds f5, f2, f5 +/* 80251394 0024E2F4 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80251398 0024E2F8 EC 03 00 2A */ fadds f0, f3, f0 +/* 8025139C 0024E2FC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802513A0 0024E300 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802513A4 0024E304 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802513A8 0024E308 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802513AC 0024E30C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802513B0 0024E310 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802513B4 0024E314 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802513B8 0024E318 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802513BC 0024E31C 48 0C 27 55 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802513C0 0024E320 38 61 01 48 */ addi r3, r1, 0x148 +/* 802513C4 0024E324 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802513C8 0024E328 48 0C 17 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802513CC 0024E32C A0 1D 00 00 */ lhz r0, 0(r29) +/* 802513D0 0024E330 7F 23 CB 78 */ mr r3, r25 +/* 802513D4 0024E334 38 81 00 10 */ addi r4, r1, 0x10 +/* 802513D8 0024E338 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802513DC 0024E33C 4B DF B1 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802513E0 0024E340 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802513E4 0024E344 41 82 00 84 */ beq lbl_80251468 +/* 802513E8 0024E348 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802513EC 0024E34C 41 82 00 64 */ beq lbl_80251450 +/* 802513F0 0024E350 80 9E 00 00 */ lwz r4, 0(r30) +/* 802513F4 0024E354 38 61 00 14 */ addi r3, r1, 0x14 +/* 802513F8 0024E358 38 C1 00 08 */ addi r6, r1, 8 +/* 802513FC 0024E35C 38 A0 FF FF */ li r5, -1 +/* 80251400 0024E360 48 0E CD 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80251404 0024E364 7F 04 C3 78 */ mr r4, r24 +/* 80251408 0024E368 38 61 00 58 */ addi r3, r1, 0x58 +/* 8025140C 0024E36C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80251410 0024E370 4B E0 1A C1 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80251414 0024E374 38 61 00 88 */ addi r3, r1, 0x88 +/* 80251418 0024E378 38 98 00 34 */ addi r4, r24, 0x34 +/* 8025141C 0024E37C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80251420 0024E380 48 0C 15 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80251424 0024E384 7F 63 DB 78 */ mr r3, r27 +/* 80251428 0024E388 7F 25 CB 78 */ mr r5, r25 +/* 8025142C 0024E38C 81 9B 00 00 */ lwz r12, 0(r27) +/* 80251430 0024E390 38 81 00 88 */ addi r4, r1, 0x88 +/* 80251434 0024E394 38 C0 00 00 */ li r6, 0 +/* 80251438 0024E398 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 8025143C 0024E39C 7D 89 03 A6 */ mtctr r12 +/* 80251440 0024E3A0 4E 80 04 21 */ bctrl +/* 80251444 0024E3A4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80251448 0024E3A8 48 0E C6 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025144C 0024E3AC 48 00 00 1C */ b lbl_80251468 +lbl_80251450: +/* 80251450 0024E3B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80251454 0024E3B4 7F 24 CB 78 */ mr r4, r25 +/* 80251458 0024E3B8 38 A0 00 00 */ li r5, 0 +/* 8025145C 0024E3BC 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80251460 0024E3C0 7D 89 03 A6 */ mtctr r12 +/* 80251464 0024E3C4 4E 80 04 21 */ bctrl +lbl_80251468: +/* 80251468 0024E3C8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8025146C 0024E3CC 3B BD 00 02 */ addi r29, r29, 2 +/* 80251470 0024E3D0 2C 1C 00 03 */ cmpwi r28, 3 +/* 80251474 0024E3D4 3B DE 00 04 */ addi r30, r30, 4 +/* 80251478 0024E3D8 41 80 FE A4 */ blt lbl_8025131C +/* 8025147C 0024E3DC 9B 58 05 74 */ stb r26, 0x574(r24) +lbl_80251480: +/* 80251480 0024E3E0 BB 01 01 B0 */ lmw r24, 0x1b0(r1) +/* 80251484 0024E3E4 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 80251488 0024E3E8 7C 08 03 A6 */ mtlr r0 +/* 8025148C 0024E3EC 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 80251490 0024E3F0 4E 80 00 20 */ blr + +.global sub_80251494 +sub_80251494: +/* 80251494 0024E3F4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80251498 0024E3F8 7C 08 02 A6 */ mflr r0 +/* 8025149C 0024E3FC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802514A0 0024E400 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802514A4 0024E404 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802514A8 0024E408 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 802514AC 0024E40C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 802514B0 0024E410 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 802514B4 0024E414 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 802514B8 0024E418 BF 21 00 64 */ stmw r25, 0x64(r1) +/* 802514BC 0024E41C 7C 7C 1B 78 */ mr r28, r3 +/* 802514C0 0024E420 7C 9D 23 78 */ mr r29, r4 +/* 802514C4 0024E424 C3 A3 06 38 */ lfs f29, 0x638(r3) +/* 802514C8 0024E428 38 61 00 34 */ addi r3, r1, 0x34 +/* 802514CC 0024E42C C3 DC 06 30 */ lfs f30, 0x630(r28) +/* 802514D0 0024E430 38 9C 06 00 */ addi r4, r28, 0x600 +/* 802514D4 0024E434 83 5C 06 2C */ lwz r26, 0x62c(r28) +/* 802514D8 0024E438 C3 FC 06 34 */ lfs f31, 0x634(r28) +/* 802514DC 0024E43C 48 0E F9 CD */ bl __ct__6CTokenFRC6CToken +/* 802514E0 0024E440 C0 22 B8 E8 */ lfs f1, lbl_805AD608@sda21(r2) +/* 802514E4 0024E444 3C 60 80 3D */ lis r3, lbl_803D4B50@ha +/* 802514E8 0024E448 C0 02 B8 EC */ lfs f0, lbl_805AD60C@sda21(r2) +/* 802514EC 0024E44C 3B FC 05 6C */ addi r31, r28, 0x56c +/* 802514F0 0024E450 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802514F4 0024E454 3B 23 4B 50 */ addi r25, r3, lbl_803D4B50@l +/* 802514F8 0024E458 3B C0 00 00 */ li r30, 0 +/* 802514FC 0024E45C D3 E1 00 40 */ stfs f31, 0x40(r1) +/* 80251500 0024E460 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80251504 0024E464 93 41 00 48 */ stw r26, 0x48(r1) +/* 80251508 0024E468 D3 C1 00 4C */ stfs f30, 0x4c(r1) +/* 8025150C 0024E46C D3 A1 00 50 */ stfs f29, 0x50(r1) +lbl_80251510: +/* 80251510 0024E470 7F A4 EB 78 */ mr r4, r29 +/* 80251514 0024E474 38 61 00 24 */ addi r3, r1, 0x24 +/* 80251518 0024E478 4B DF BB C5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8025151C 0024E47C 80 1C 05 68 */ lwz r0, 0x568(r28) +/* 80251520 0024E480 A0 61 00 24 */ lhz r3, 0x24(r1) +/* 80251524 0024E484 54 00 08 3C */ slwi r0, r0, 1 +/* 80251528 0024E488 7C 9F 02 15 */ add. r4, r31, r0 +/* 8025152C 0024E48C B0 61 00 28 */ sth r3, 0x28(r1) +/* 80251530 0024E490 41 82 00 08 */ beq lbl_80251538 +/* 80251534 0024E494 B0 64 00 00 */ sth r3, 0(r4) +lbl_80251538: +/* 80251538 0024E498 80 DC 05 68 */ lwz r6, 0x568(r28) +/* 8025153C 0024E49C 38 99 00 21 */ addi r4, r25, 0x21 +/* 80251540 0024E4A0 38 60 04 90 */ li r3, 0x490 +/* 80251544 0024E4A4 38 A0 00 00 */ li r5, 0 +/* 80251548 0024E4A8 38 06 00 01 */ addi r0, r6, 1 +/* 8025154C 0024E4AC 90 1C 05 68 */ stw r0, 0x568(r28) +/* 80251550 0024E4B0 48 0C 43 1D */ bl __nw__FUlPCcPCc +/* 80251554 0024E4B4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80251558 0024E4B8 41 82 00 64 */ beq lbl_802515BC +/* 8025155C 0024E4BC A0 BC 00 08 */ lhz r5, 8(r28) +/* 80251560 0024E4C0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80251564 0024E4C4 38 E4 66 70 */ addi r7, r4, skIdentity4f@l +/* 80251568 0024E4C8 A3 61 00 28 */ lhz r27, 0x28(r1) +/* 8025156C 0024E4CC B0 A1 00 20 */ sth r5, 0x20(r1) +/* 80251570 0024E4D0 39 81 00 30 */ addi r12, r1, 0x30 +/* 80251574 0024E4D4 39 61 00 20 */ addi r11, r1, 0x20 +/* 80251578 0024E4D8 38 00 00 00 */ li r0, 0 +/* 8025157C 0024E4DC 83 5C 00 04 */ lwz r26, 4(r28) +/* 80251580 0024E4E0 38 9C 06 08 */ addi r4, r28, 0x608 +/* 80251584 0024E4E4 B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 80251588 0024E4E8 38 C1 00 34 */ addi r6, r1, 0x34 +/* 8025158C 0024E4EC 39 3C 06 10 */ addi r9, r28, 0x610 +/* 80251590 0024E4F0 39 41 00 18 */ addi r10, r1, 0x18 +/* 80251594 0024E4F4 93 41 00 30 */ stw r26, 0x30(r1) +/* 80251598 0024E4F8 38 A0 00 09 */ li r5, 9 +/* 8025159C 0024E4FC 39 00 00 21 */ li r8, 0x21 +/* 802515A0 0024E500 B3 61 00 18 */ sth r27, 0x18(r1) +/* 802515A4 0024E504 91 81 00 08 */ stw r12, 8(r1) +/* 802515A8 0024E508 91 61 00 0C */ stw r11, 0xc(r1) +/* 802515AC 0024E50C 93 41 00 2C */ stw r26, 0x2c(r1) +/* 802515B0 0024E510 90 01 00 10 */ stw r0, 0x10(r1) +/* 802515B4 0024E514 48 00 0D 89 */ bl __ct__23CElectricBeamProjectile +/* 802515B8 0024E518 7C 64 1B 78 */ mr r4, r3 +lbl_802515BC: +/* 802515BC 0024E51C 7F A3 EB 78 */ mr r3, r29 +/* 802515C0 0024E520 4B DF B7 35 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 802515C4 0024E524 3B DE 00 01 */ addi r30, r30, 1 +/* 802515C8 0024E528 2C 1E 00 03 */ cmpwi r30, 3 +/* 802515CC 0024E52C 41 80 FF 44 */ blt lbl_80251510 +/* 802515D0 0024E530 38 61 00 34 */ addi r3, r1, 0x34 +/* 802515D4 0024E534 38 80 00 00 */ li r4, 0 +/* 802515D8 0024E538 48 0E F8 69 */ bl __dt__6CTokenFv +/* 802515DC 0024E53C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802515E0 0024E540 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802515E4 0024E544 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 802515E8 0024E548 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 802515EC 0024E54C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 802515F0 0024E550 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 802515F4 0024E554 BB 21 00 64 */ lmw r25, 0x64(r1) +/* 802515F8 0024E558 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802515FC 0024E55C 7C 08 03 A6 */ mtlr r0 +/* 80251600 0024E560 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80251604 0024E564 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CAtomicBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CAtomicBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80251608 0024E568 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025160C 0024E56C 7C 08 02 A6 */ mflr r0 +/* 80251610 0024E570 90 01 00 24 */ stw r0, 0x24(r1) +/* 80251614 0024E574 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80251618 0024E578 7C DF 33 78 */ mr r31, r6 +/* 8025161C 0024E57C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80251620 0024E580 7C BE 2B 78 */ mr r30, r5 +/* 80251624 0024E584 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80251628 0024E588 7C 9D 23 78 */ mr r29, r4 +/* 8025162C 0024E58C 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 80251630 0024E590 93 81 00 10 */ stw r28, 0x10(r1) +/* 80251634 0024E594 7C 7C 1B 78 */ mr r28, r3 +/* 80251638 0024E598 41 82 00 20 */ beq lbl_80251658 +/* 8025163C 0024E59C 40 80 00 10 */ bge lbl_8025164C +/* 80251640 0024E5A0 2C 1D 00 04 */ cmpwi r29, 4 +/* 80251644 0024E5A4 41 82 00 30 */ beq lbl_80251674 +/* 80251648 0024E5A8 48 00 00 68 */ b lbl_802516B0 +lbl_8025164C: +/* 8025164C 0024E5AC 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 80251650 0024E5B0 40 80 00 60 */ bge lbl_802516B0 +/* 80251654 0024E5B4 48 00 00 54 */ b lbl_802516A8 +lbl_80251658: +/* 80251658 0024E5B8 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8025165C 0024E5BC 7F E4 FB 78 */ mr r4, r31 +/* 80251660 0024E5C0 4B EE 96 91 */ bl Activate__15CBodyControllerFR13CStateManager +/* 80251664 0024E5C4 7F 83 E3 78 */ mr r3, r28 +/* 80251668 0024E5C8 7F E4 FB 78 */ mr r4, r31 +/* 8025166C 0024E5CC 4B FF FE 29 */ bl sub_80251494 +/* 80251670 0024E5D0 48 00 00 40 */ b lbl_802516B0 +lbl_80251674: +/* 80251674 0024E5D4 7F E4 FB 78 */ mr r4, r31 +/* 80251678 0024E5D8 38 A0 00 00 */ li r5, 0 +/* 8025167C 0024E5DC 4B FF FC 5D */ bl sub_802512d8 +/* 80251680 0024E5E0 7F 83 E3 78 */ mr r3, r28 +/* 80251684 0024E5E4 38 9C 06 50 */ addi r4, r28, 0x650 +/* 80251688 0024E5E8 4B FF F6 49 */ bl sub_80250cd0 +/* 8025168C 0024E5EC 7F 83 E3 78 */ mr r3, r28 +/* 80251690 0024E5F0 38 9C 06 54 */ addi r4, r28, 0x654 +/* 80251694 0024E5F4 4B FF F6 3D */ bl sub_80250cd0 +/* 80251698 0024E5F8 7F 83 E3 78 */ mr r3, r28 +/* 8025169C 0024E5FC 38 9C 06 4C */ addi r4, r28, 0x64c +/* 802516A0 0024E600 4B FF F6 31 */ bl sub_80250cd0 +/* 802516A4 0024E604 48 00 00 0C */ b lbl_802516B0 +lbl_802516A8: +/* 802516A8 0024E608 7F E4 FB 78 */ mr r4, r31 +/* 802516AC 0024E60C 4B FF FB 65 */ bl sub_80251210 +lbl_802516B0: +/* 802516B0 0024E610 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802516B4 0024E614 7F 83 E3 78 */ mr r3, r28 +/* 802516B8 0024E618 7F A4 EB 78 */ mr r4, r29 +/* 802516BC 0024E61C 7F E6 FB 78 */ mr r6, r31 +/* 802516C0 0024E620 B0 01 00 08 */ sth r0, 8(r1) +/* 802516C4 0024E624 38 A1 00 08 */ addi r5, r1, 8 +/* 802516C8 0024E628 4B E2 B4 B1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 802516CC 0024E62C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802516D0 0024E630 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802516D4 0024E634 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802516D8 0024E638 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802516DC 0024E63C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802516E0 0024E640 7C 08 03 A6 */ mtlr r0 +/* 802516E4 0024E644 38 21 00 20 */ addi r1, r1, 0x20 +/* 802516E8 0024E648 4E 80 00 20 */ blr + +.global Accept__11CAtomicBetaFR8IVisitor +Accept__11CAtomicBetaFR8IVisitor: +/* 802516EC 0024E64C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802516F0 0024E650 7C 08 02 A6 */ mflr r0 +/* 802516F4 0024E654 90 01 00 14 */ stw r0, 0x14(r1) +/* 802516F8 0024E658 7C 60 1B 78 */ mr r0, r3 +/* 802516FC 0024E65C 7C 83 23 78 */ mr r3, r4 +/* 80251700 0024E660 81 84 00 00 */ lwz r12, 0(r4) +/* 80251704 0024E664 7C 04 03 78 */ mr r4, r0 +/* 80251708 0024E668 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8025170C 0024E66C 7D 89 03 A6 */ mtctr r12 +/* 80251710 0024E670 4E 80 04 21 */ bctrl +/* 80251714 0024E674 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251718 0024E678 7C 08 03 A6 */ mtlr r0 +/* 8025171C 0024E67C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251720 0024E680 4E 80 00 20 */ blr + +.global __dt__11CAtomicBetaFv +__dt__11CAtomicBetaFv: +/* 80251724 0024E684 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80251728 0024E688 7C 08 02 A6 */ mflr r0 +/* 8025172C 0024E68C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80251730 0024E690 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80251734 0024E694 7C 9F 23 78 */ mr r31, r4 +/* 80251738 0024E698 93 C1 00 08 */ stw r30, 8(r1) +/* 8025173C 0024E69C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80251740 0024E6A0 41 82 00 D0 */ beq lbl_80251810 +/* 80251744 0024E6A4 3C A0 80 3F */ lis r5, lbl_803E8E4C@ha +/* 80251748 0024E6A8 38 9E 06 50 */ addi r4, r30, 0x650 +/* 8025174C 0024E6AC 38 05 8E 4C */ addi r0, r5, lbl_803E8E4C@l +/* 80251750 0024E6B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80251754 0024E6B4 4B FF F5 7D */ bl sub_80250cd0 +/* 80251758 0024E6B8 7F C3 F3 78 */ mr r3, r30 +/* 8025175C 0024E6BC 38 9E 06 54 */ addi r4, r30, 0x654 +/* 80251760 0024E6C0 4B FF F5 71 */ bl sub_80250cd0 +/* 80251764 0024E6C4 7F C3 F3 78 */ mr r3, r30 +/* 80251768 0024E6C8 38 9E 06 4C */ addi r4, r30, 0x64c +/* 8025176C 0024E6CC 4B FF F5 65 */ bl sub_80250cd0 +/* 80251770 0024E6D0 34 1E 06 08 */ addic. r0, r30, 0x608 +/* 80251774 0024E6D4 41 82 00 10 */ beq lbl_80251784 +/* 80251778 0024E6D8 38 7E 06 08 */ addi r3, r30, 0x608 +/* 8025177C 0024E6DC 38 80 00 00 */ li r4, 0 +/* 80251780 0024E6E0 48 0E F6 C1 */ bl __dt__6CTokenFv +lbl_80251784: +/* 80251784 0024E6E4 34 1E 06 00 */ addic. r0, r30, 0x600 +/* 80251788 0024E6E8 41 82 00 10 */ beq lbl_80251798 +/* 8025178C 0024E6EC 38 7E 06 00 */ addi r3, r30, 0x600 +/* 80251790 0024E6F0 38 80 00 00 */ li r4, 0 +/* 80251794 0024E6F4 48 0E F6 AD */ bl __dt__6CTokenFv +lbl_80251798: +/* 80251798 0024E6F8 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 8025179C 0024E6FC 41 82 00 58 */ beq lbl_802517F4 +/* 802517A0 0024E700 80 BE 05 68 */ lwz r5, 0x568(r30) +/* 802517A4 0024E704 38 60 00 00 */ li r3, 0 +/* 802517A8 0024E708 2C 05 00 00 */ cmpwi r5, 0 +/* 802517AC 0024E70C 40 81 00 40 */ ble lbl_802517EC +/* 802517B0 0024E710 2C 05 00 08 */ cmpwi r5, 8 +/* 802517B4 0024E714 38 85 FF F8 */ addi r4, r5, -8 +/* 802517B8 0024E718 40 81 00 20 */ ble lbl_802517D8 +/* 802517BC 0024E71C 38 04 00 07 */ addi r0, r4, 7 +/* 802517C0 0024E720 54 00 E8 FE */ srwi r0, r0, 3 +/* 802517C4 0024E724 7C 09 03 A6 */ mtctr r0 +/* 802517C8 0024E728 2C 04 00 00 */ cmpwi r4, 0 +/* 802517CC 0024E72C 40 81 00 0C */ ble lbl_802517D8 +lbl_802517D0: +/* 802517D0 0024E730 38 63 00 08 */ addi r3, r3, 8 +/* 802517D4 0024E734 42 00 FF FC */ bdnz lbl_802517D0 +lbl_802517D8: +/* 802517D8 0024E738 7C 03 28 50 */ subf r0, r3, r5 +/* 802517DC 0024E73C 7C 09 03 A6 */ mtctr r0 +/* 802517E0 0024E740 7C 03 28 00 */ cmpw r3, r5 +/* 802517E4 0024E744 40 80 00 08 */ bge lbl_802517EC +lbl_802517E8: +/* 802517E8 0024E748 42 00 00 00 */ bdnz lbl_802517E8 +lbl_802517EC: +/* 802517EC 0024E74C 38 00 00 00 */ li r0, 0 +/* 802517F0 0024E750 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_802517F4: +/* 802517F4 0024E754 7F C3 F3 78 */ mr r3, r30 +/* 802517F8 0024E758 38 80 00 00 */ li r4, 0 +/* 802517FC 0024E75C 4B E2 5D 75 */ bl __dt__10CPatternedFv +/* 80251800 0024E760 7F E0 07 35 */ extsh. r0, r31 +/* 80251804 0024E764 40 81 00 0C */ ble lbl_80251810 +/* 80251808 0024E768 7F C3 F3 78 */ mr r3, r30 +/* 8025180C 0024E76C 48 0C 41 25 */ bl Free__7CMemoryFPCv +lbl_80251810: +/* 80251810 0024E770 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251814 0024E774 7F C3 F3 78 */ mr r3, r30 +/* 80251818 0024E778 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025181C 0024E77C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80251820 0024E780 7C 08 03 A6 */ mtlr r0 +/* 80251824 0024E784 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251828 0024E788 4E 80 00 20 */ blr + +.global __ct__11CAtomicBeta +__ct__11CAtomicBeta: +/* 8025182C 0024E78C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80251830 0024E790 7C 08 02 A6 */ mflr r0 +/* 80251834 0024E794 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80251838 0024E798 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8025183C 0024E79C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80251840 0024E7A0 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80251844 0024E7A4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 80251848 0024E7A8 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8025184C 0024E7AC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 80251850 0024E7B0 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 80251854 0024E7B4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 80251858 0024E7B8 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 8025185C 0024E7BC F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 80251860 0024E7C0 DB 41 00 80 */ stfd f26, 0x80(r1) +/* 80251864 0024E7C4 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 80251868 0024E7C8 DB 21 00 70 */ stfd f25, 0x70(r1) +/* 8025186C 0024E7CC F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 +/* 80251870 0024E7D0 BE C1 00 48 */ stmw r22, 0x48(r1) +/* 80251874 0024E7D4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80251878 0024E7D8 7C CB 33 78 */ mr r11, r6 +/* 8025187C 0024E7DC 7C F7 3B 78 */ mr r23, r7 +/* 80251880 0024E7E0 7D 07 43 78 */ mr r7, r8 +/* 80251884 0024E7E4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80251888 0024E7E8 38 C0 00 01 */ li r6, 1 +/* 8025188C 0024E7EC 38 80 00 05 */ li r4, 5 +/* 80251890 0024E7F0 FF 20 08 90 */ fmr f25, f1 +/* 80251894 0024E7F4 91 41 00 08 */ stw r10, 8(r1) +/* 80251898 0024E7F8 7C EA 3B 78 */ mr r10, r7 +/* 8025189C 0024E7FC FF 40 10 90 */ fmr f26, f2 +/* 802518A0 0024E800 38 00 00 00 */ li r0, 0 +/* 802518A4 0024E804 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802518A8 0024E808 FF 60 18 90 */ fmr f27, f3 +/* 802518AC 0024E80C 83 01 00 E8 */ lwz r24, 0xe8(r1) +/* 802518B0 0024E810 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802518B4 0024E814 7C A6 2B 78 */ mr r6, r5 +/* 802518B8 0024E818 FF 80 20 90 */ fmr f28, f4 +/* 802518BC 0024E81C 90 81 00 14 */ stw r4, 0x14(r1) +/* 802518C0 0024E820 FF A0 28 90 */ fmr f29, f5 +/* 802518C4 0024E824 83 21 00 EC */ lwz r25, 0xec(r1) +/* 802518C8 0024E828 91 21 00 18 */ stw r9, 0x18(r1) +/* 802518CC 0024E82C FF C0 30 90 */ fmr f30, f6 +/* 802518D0 0024E830 FF E0 38 90 */ fmr f31, f7 +/* 802518D4 0024E834 83 41 00 F0 */ lwz r26, 0xf0(r1) +/* 802518D8 0024E838 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802518DC 0024E83C 7C 76 1B 78 */ mr r22, r3 +/* 802518E0 0024E840 83 61 00 F4 */ lwz r27, 0xf4(r1) +/* 802518E4 0024E844 7D 68 5B 78 */ mr r8, r11 +/* 802518E8 0024E848 83 81 00 F8 */ lwz r28, 0xf8(r1) +/* 802518EC 0024E84C 7E E9 BB 78 */ mr r9, r23 +/* 802518F0 0024E850 A3 A1 00 FE */ lhz r29, 0xfe(r1) +/* 802518F4 0024E854 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802518F8 0024E858 A3 C1 01 02 */ lhz r30, 0x102(r1) +/* 802518FC 0024E85C 38 80 00 01 */ li r4, 1 +/* 80251900 0024E860 A3 E1 01 06 */ lhz r31, 0x106(r1) +/* 80251904 0024E864 38 E0 00 00 */ li r7, 0 +/* 80251908 0024E868 4B E2 BB 49 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8025190C 0024E86C 3C 80 80 3F */ lis r4, lbl_803E8E4C@ha +/* 80251910 0024E870 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 80251914 0024E874 38 04 8E 4C */ addi r0, r4, lbl_803E8E4C@l +/* 80251918 0024E878 38 80 00 00 */ li r4, 0 +/* 8025191C 0024E87C 90 16 00 00 */ stw r0, 0(r22) +/* 80251920 0024E880 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 80251924 0024E884 38 61 00 34 */ addi r3, r1, 0x34 +/* 80251928 0024E888 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8025192C 0024E88C 90 96 05 68 */ stw r4, 0x568(r22) +/* 80251930 0024E890 98 96 05 74 */ stb r4, 0x574(r22) +/* 80251934 0024E894 D3 B6 05 78 */ stfs f29, 0x578(r22) +/* 80251938 0024E898 D3 D6 05 7C */ stfs f30, 0x57c(r22) +/* 8025193C 0024E89C D3 F6 05 80 */ stfs f31, 0x580(r22) +/* 80251940 0024E8A0 C0 16 05 78 */ lfs f0, 0x578(r22) +/* 80251944 0024E8A4 D0 16 05 84 */ stfs f0, 0x584(r22) +/* 80251948 0024E8A8 80 DC 00 00 */ lwz r6, 0(r28) +/* 8025194C 0024E8AC 80 9C 00 04 */ lwz r4, 4(r28) +/* 80251950 0024E8B0 90 D6 05 88 */ stw r6, 0x588(r22) +/* 80251954 0024E8B4 90 96 05 8C */ stw r4, 0x58c(r22) +/* 80251958 0024E8B8 80 DC 00 08 */ lwz r6, 8(r28) +/* 8025195C 0024E8BC 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80251960 0024E8C0 90 D6 05 90 */ stw r6, 0x590(r22) +/* 80251964 0024E8C4 90 96 05 94 */ stw r4, 0x594(r22) +/* 80251968 0024E8C8 80 DC 00 10 */ lwz r6, 0x10(r28) +/* 8025196C 0024E8CC 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 80251970 0024E8D0 90 D6 05 98 */ stw r6, 0x598(r22) +/* 80251974 0024E8D4 90 96 05 9C */ stw r4, 0x59c(r22) +/* 80251978 0024E8D8 80 DC 00 18 */ lwz r6, 0x18(r28) +/* 8025197C 0024E8DC 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80251980 0024E8E0 90 D6 05 A0 */ stw r6, 0x5a0(r22) +/* 80251984 0024E8E4 90 96 05 A4 */ stw r4, 0x5a4(r22) +/* 80251988 0024E8E8 80 DC 00 20 */ lwz r6, 0x20(r28) +/* 8025198C 0024E8EC 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 80251990 0024E8F0 90 D6 05 A8 */ stw r6, 0x5a8(r22) +/* 80251994 0024E8F4 90 96 05 AC */ stw r4, 0x5ac(r22) +/* 80251998 0024E8F8 80 DC 00 28 */ lwz r6, 0x28(r28) +/* 8025199C 0024E8FC 80 9C 00 2C */ lwz r4, 0x2c(r28) +/* 802519A0 0024E900 90 D6 05 B0 */ stw r6, 0x5b0(r22) +/* 802519A4 0024E904 90 96 05 B4 */ stw r4, 0x5b4(r22) +/* 802519A8 0024E908 80 DC 00 30 */ lwz r6, 0x30(r28) +/* 802519AC 0024E90C 80 9C 00 34 */ lwz r4, 0x34(r28) +/* 802519B0 0024E910 90 D6 05 B8 */ stw r6, 0x5b8(r22) +/* 802519B4 0024E914 90 96 05 BC */ stw r4, 0x5bc(r22) +/* 802519B8 0024E918 80 9C 00 38 */ lwz r4, 0x38(r28) +/* 802519BC 0024E91C 90 96 05 C0 */ stw r4, 0x5c0(r22) +/* 802519C0 0024E920 80 DC 00 3C */ lwz r6, 0x3c(r28) +/* 802519C4 0024E924 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802519C8 0024E928 90 D6 05 C4 */ stw r6, 0x5c4(r22) +/* 802519CC 0024E92C 90 96 05 C8 */ stw r4, 0x5c8(r22) +/* 802519D0 0024E930 80 DC 00 44 */ lwz r6, 0x44(r28) +/* 802519D4 0024E934 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802519D8 0024E938 90 D6 05 CC */ stw r6, 0x5cc(r22) +/* 802519DC 0024E93C 90 96 05 D0 */ stw r4, 0x5d0(r22) +/* 802519E0 0024E940 80 DC 00 4C */ lwz r6, 0x4c(r28) +/* 802519E4 0024E944 80 9C 00 50 */ lwz r4, 0x50(r28) +/* 802519E8 0024E948 90 D6 05 D4 */ stw r6, 0x5d4(r22) +/* 802519EC 0024E94C 90 96 05 D8 */ stw r4, 0x5d8(r22) +/* 802519F0 0024E950 80 DC 00 54 */ lwz r6, 0x54(r28) +/* 802519F4 0024E954 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802519F8 0024E958 90 D6 05 DC */ stw r6, 0x5dc(r22) +/* 802519FC 0024E95C 90 96 05 E0 */ stw r4, 0x5e0(r22) +/* 80251A00 0024E960 80 9C 00 5C */ lwz r4, 0x5c(r28) +/* 80251A04 0024E964 90 96 05 E4 */ stw r4, 0x5e4(r22) +/* 80251A08 0024E968 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 80251A0C 0024E96C 90 96 05 E8 */ stw r4, 0x5e8(r22) +/* 80251A10 0024E970 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 80251A14 0024E974 90 96 05 EC */ stw r4, 0x5ec(r22) +/* 80251A18 0024E978 D3 96 05 F0 */ stfs f28, 0x5f0(r22) +/* 80251A1C 0024E97C C0 57 00 24 */ lfs f2, 0x24(r23) +/* 80251A20 0024E980 C0 37 00 14 */ lfs f1, 0x14(r23) +/* 80251A24 0024E984 C0 17 00 04 */ lfs f0, 4(r23) +/* 80251A28 0024E988 D0 16 05 F4 */ stfs f0, 0x5f4(r22) +/* 80251A2C 0024E98C D0 36 05 F8 */ stfs f1, 0x5f8(r22) +/* 80251A30 0024E990 D0 56 05 FC */ stfs f2, 0x5fc(r22) +/* 80251A34 0024E994 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80251A38 0024E998 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80251A3C 0024E99C 93 01 00 40 */ stw r24, 0x40(r1) +/* 80251A40 0024E9A0 81 84 00 00 */ lwz r12, 0(r4) +/* 80251A44 0024E9A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80251A48 0024E9A8 7D 89 03 A6 */ mtctr r12 +/* 80251A4C 0024E9AC 4E 80 04 21 */ bctrl +/* 80251A50 0024E9B0 38 76 06 00 */ addi r3, r22, 0x600 +/* 80251A54 0024E9B4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80251A58 0024E9B8 48 0E F4 51 */ bl __ct__6CTokenFRC6CToken +/* 80251A5C 0024E9BC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80251A60 0024E9C0 38 80 FF FF */ li r4, -1 +/* 80251A64 0024E9C4 48 0E F3 DD */ bl __dt__6CTokenFv +/* 80251A68 0024E9C8 3C 60 57 50 */ lis r3, 0x57505343@ha +/* 80251A6C 0024E9CC 93 21 00 30 */ stw r25, 0x30(r1) +/* 80251A70 0024E9D0 38 03 53 43 */ addi r0, r3, 0x57505343@l +/* 80251A74 0024E9D4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80251A78 0024E9D8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80251A7C 0024E9DC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80251A80 0024E9E0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80251A84 0024E9E4 81 84 00 00 */ lwz r12, 0(r4) +/* 80251A88 0024E9E8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80251A8C 0024E9EC 7D 89 03 A6 */ mtctr r12 +/* 80251A90 0024E9F0 4E 80 04 21 */ bctrl +/* 80251A94 0024E9F4 38 76 06 08 */ addi r3, r22, 0x608 +/* 80251A98 0024E9F8 38 81 00 24 */ addi r4, r1, 0x24 +/* 80251A9C 0024E9FC 48 0E F4 0D */ bl __ct__6CTokenFRC6CToken +/* 80251AA0 0024EA00 38 61 00 24 */ addi r3, r1, 0x24 +/* 80251AA4 0024EA04 38 80 FF FF */ li r4, -1 +/* 80251AA8 0024EA08 48 0E F3 99 */ bl __dt__6CTokenFv +/* 80251AAC 0024EA0C 80 1A 00 00 */ lwz r0, 0(r26) +/* 80251AB0 0024EA10 7F A3 EB 78 */ mr r3, r29 +/* 80251AB4 0024EA14 C0 22 B8 DC */ lfs f1, lbl_805AD5FC@sda21(r2) +/* 80251AB8 0024EA18 90 16 06 10 */ stw r0, 0x610(r22) +/* 80251ABC 0024EA1C C0 02 B8 EC */ lfs f0, lbl_805AD60C@sda21(r2) +/* 80251AC0 0024EA20 88 1A 00 04 */ lbz r0, 4(r26) +/* 80251AC4 0024EA24 98 16 06 14 */ stb r0, 0x614(r22) +/* 80251AC8 0024EA28 C0 5A 00 08 */ lfs f2, 8(r26) +/* 80251ACC 0024EA2C D0 56 06 18 */ stfs f2, 0x618(r22) +/* 80251AD0 0024EA30 C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 80251AD4 0024EA34 D0 56 06 1C */ stfs f2, 0x61c(r22) +/* 80251AD8 0024EA38 C0 5A 00 10 */ lfs f2, 0x10(r26) +/* 80251ADC 0024EA3C D0 56 06 20 */ stfs f2, 0x620(r22) +/* 80251AE0 0024EA40 C0 5A 00 14 */ lfs f2, 0x14(r26) +/* 80251AE4 0024EA44 D0 56 06 24 */ stfs f2, 0x624(r22) +/* 80251AE8 0024EA48 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80251AEC 0024EA4C 98 16 06 28 */ stb r0, 0x628(r22) +/* 80251AF0 0024EA50 93 76 06 2C */ stw r27, 0x62c(r22) +/* 80251AF4 0024EA54 D3 36 06 30 */ stfs f25, 0x630(r22) +/* 80251AF8 0024EA58 D3 56 06 34 */ stfs f26, 0x634(r22) +/* 80251AFC 0024EA5C D3 76 06 38 */ stfs f27, 0x638(r22) +/* 80251B00 0024EA60 D0 36 06 3C */ stfs f1, 0x63c(r22) +/* 80251B04 0024EA64 D0 16 06 40 */ stfs f0, 0x640(r22) +/* 80251B08 0024EA68 48 09 6E A9 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80251B0C 0024EA6C B0 76 06 44 */ sth r3, 0x644(r22) +/* 80251B10 0024EA70 7F C3 F3 78 */ mr r3, r30 +/* 80251B14 0024EA74 48 09 6E 9D */ bl TranslateSFXID__11CSfxManagerFUs +/* 80251B18 0024EA78 B0 76 06 46 */ sth r3, 0x646(r22) +/* 80251B1C 0024EA7C 7F E3 FB 78 */ mr r3, r31 +/* 80251B20 0024EA80 48 09 6E 91 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80251B24 0024EA84 B0 76 06 48 */ sth r3, 0x648(r22) +/* 80251B28 0024EA88 38 00 00 00 */ li r0, 0 +/* 80251B2C 0024EA8C 38 76 04 60 */ addi r3, r22, 0x460 +/* 80251B30 0024EA90 38 80 00 00 */ li r4, 0 +/* 80251B34 0024EA94 90 16 06 4C */ stw r0, 0x64c(r22) +/* 80251B38 0024EA98 90 16 06 50 */ stw r0, 0x650(r22) +/* 80251B3C 0024EA9C 90 16 06 54 */ stw r0, 0x654(r22) +/* 80251B40 0024EAA0 4B FE 22 25 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80251B44 0024EAA4 88 16 04 E1 */ lbz r0, 0x4e1(r22) +/* 80251B48 0024EAA8 38 80 00 00 */ li r4, 0 +/* 80251B4C 0024EAAC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80251B50 0024EAB0 7E C3 B3 78 */ mr r3, r22 +/* 80251B54 0024EAB4 98 16 04 E1 */ stb r0, 0x4e1(r22) +/* 80251B58 0024EAB8 88 16 04 E2 */ lbz r0, 0x4e2(r22) +/* 80251B5C 0024EABC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80251B60 0024EAC0 98 16 04 E2 */ stb r0, 0x4e2(r22) +/* 80251B64 0024EAC4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80251B68 0024EAC8 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80251B6C 0024EACC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 80251B70 0024EAD0 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 80251B74 0024EAD4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 80251B78 0024EAD8 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 80251B7C 0024EADC E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 80251B80 0024EAE0 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 80251B84 0024EAE4 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 80251B88 0024EAE8 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 80251B8C 0024EAEC E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 80251B90 0024EAF0 CB 41 00 80 */ lfd f26, 0x80(r1) +/* 80251B94 0024EAF4 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 +/* 80251B98 0024EAF8 CB 21 00 70 */ lfd f25, 0x70(r1) +/* 80251B9C 0024EAFC BA C1 00 48 */ lmw r22, 0x48(r1) +/* 80251BA0 0024EB00 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80251BA4 0024EB04 7C 08 03 A6 */ mtlr r0 +/* 80251BA8 0024EB08 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80251BAC 0024EB0C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CBurrower.s b/asm/Kyoto_CWD/Enemies/CBurrower.s new file mode 100644 index 00000000..02b2cef9 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CBurrower.s @@ -0,0 +1,1668 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSearchPath__9CBurrowerFv +GetSearchPath__9CBurrowerFv: +/* 8026FB48 0026CAA8 38 63 05 68 */ addi r3, r3, 0x568 +/* 8026FB4C 0026CAAC 4E 80 00 20 */ blr + +.global sub_8026fb50 +sub_8026fb50: +/* 8026FB50 0026CAB0 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 8026FB54 0026CAB4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FB58 0026CAB8 41 82 00 0C */ beq lbl_8026FB64 +/* 8026FB5C 0026CABC 38 63 06 8C */ addi r3, r3, 0x68c +/* 8026FB60 0026CAC0 4E 80 00 20 */ blr +lbl_8026FB64: +/* 8026FB64 0026CAC4 38 63 05 20 */ addi r3, r3, 0x520 +/* 8026FB68 0026CAC8 4E 80 00 20 */ blr + +.global TurnAround__9CBurrowerFR13CStateManager9EStateMsgf +TurnAround__9CBurrowerFR13CStateManager9EStateMsgf: +/* 8026FB6C 0026CACC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026FB70 0026CAD0 7C 08 02 A6 */ mflr r0 +/* 8026FB74 0026CAD4 2C 05 00 00 */ cmpwi r5, 0 +/* 8026FB78 0026CAD8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026FB7C 0026CADC 41 82 00 0C */ beq lbl_8026FB88 +/* 8026FB80 0026CAE0 41 80 00 50 */ blt lbl_8026FBD0 +/* 8026FB84 0026CAE4 48 00 00 4C */ b lbl_8026FBD0 +lbl_8026FB88: +/* 8026FB88 0026CAE8 C0 C3 00 58 */ lfs f6, 0x58(r3) +/* 8026FB8C 0026CAEC 38 81 00 08 */ addi r4, r1, 8 +/* 8026FB90 0026CAF0 C0 A3 00 48 */ lfs f5, 0x48(r3) +/* 8026FB94 0026CAF4 C0 83 00 38 */ lfs f4, 0x38(r3) +/* 8026FB98 0026CAF8 FC 20 30 50 */ fneg f1, f6 +/* 8026FB9C 0026CAFC FC 40 28 50 */ fneg f2, f5 +/* 8026FBA0 0026CB00 C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 8026FBA4 0026CB04 FC 60 20 50 */ fneg f3, f4 +/* 8026FBA8 0026CB08 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8026FBAC 0026CB0C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8026FBB0 0026CB10 D0 61 00 08 */ stfs f3, 8(r1) +/* 8026FBB4 0026CB14 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8026FBB8 0026CB18 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8026FBBC 0026CB1C D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 8026FBC0 0026CB20 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8026FBC4 0026CB24 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8026FBC8 0026CB28 38 63 00 04 */ addi r3, r3, 4 +/* 8026FBCC 0026CB2C 4B EC 1B 4D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8026FBD0: +/* 8026FBD0 0026CB30 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026FBD4 0026CB34 7C 08 03 A6 */ mtlr r0 +/* 8026FBD8 0026CB38 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026FBDC 0026CB3C 4E 80 00 20 */ blr + +.global Death__9CBurrowerFRC9CVector3fR13CStateManager +Death__9CBurrowerFRC9CVector3fR13CStateManager: +/* 8026FBE0 0026CB40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026FBE4 0026CB44 7C 08 02 A6 */ mflr r0 +/* 8026FBE8 0026CB48 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026FBEC 0026CB4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026FBF0 0026CB50 7C 7F 1B 78 */ mr r31, r3 +/* 8026FBF4 0026CB54 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8026FBF8 0026CB58 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FBFC 0026CB5C 41 82 00 28 */ beq lbl_8026FC24 +/* 8026FC00 0026CB60 4B E0 B7 A5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8026FC04 0026CB64 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 8026FC08 0026CB68 28 03 00 00 */ cmplwi r3, 0 +/* 8026FC0C 0026CB6C 41 82 00 18 */ beq lbl_8026FC24 +/* 8026FC10 0026CB70 81 83 00 00 */ lwz r12, 0(r3) +/* 8026FC14 0026CB74 38 80 00 00 */ li r4, 0 +/* 8026FC18 0026CB78 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8026FC1C 0026CB7C 7D 89 03 A6 */ mtctr r12 +/* 8026FC20 0026CB80 4E 80 04 21 */ bctrl +lbl_8026FC24: +/* 8026FC24 0026CB84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026FC28 0026CB88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026FC2C 0026CB8C 7C 08 03 A6 */ mtlr r0 +/* 8026FC30 0026CB90 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026FC34 0026CB94 4E 80 00 20 */ blr + +.global AddToRenderer__9CBurrowerCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__9CBurrowerCFRC14CFrustumPlanesRC13CStateManager: +/* 8026FC38 0026CB98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026FC3C 0026CB9C 7C 08 02 A6 */ mflr r0 +/* 8026FC40 0026CBA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026FC44 0026CBA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026FC48 0026CBA8 7C BF 2B 78 */ mr r31, r5 +/* 8026FC4C 0026CBAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026FC50 0026CBB0 7C 9E 23 78 */ mr r30, r4 +/* 8026FC54 0026CBB4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026FC58 0026CBB8 7C 7D 1B 78 */ mr r29, r3 +/* 8026FC5C 0026CBBC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8026FC60 0026CBC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8026FC64 0026CBC4 41 82 00 24 */ beq lbl_8026FC88 +/* 8026FC68 0026CBC8 80 9D 06 78 */ lwz r4, 0x678(r29) +/* 8026FC6C 0026CBCC 28 04 00 00 */ cmplwi r4, 0 +/* 8026FC70 0026CBD0 41 82 00 18 */ beq lbl_8026FC88 +/* 8026FC74 0026CBD4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8026FC78 0026CBD8 81 83 00 00 */ lwz r12, 0(r3) +/* 8026FC7C 0026CBDC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8026FC80 0026CBE0 7D 89 03 A6 */ mtctr r12 +/* 8026FC84 0026CBE4 4E 80 04 21 */ bctrl +lbl_8026FC88: +/* 8026FC88 0026CBE8 7F A3 EB 78 */ mr r3, r29 +/* 8026FC8C 0026CBEC 7F C4 F3 78 */ mr r4, r30 +/* 8026FC90 0026CBF0 7F E5 FB 78 */ mr r5, r31 +/* 8026FC94 0026CBF4 4B E0 7C 25 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 8026FC98 0026CBF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026FC9C 0026CBFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026FCA0 0026CC00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026FCA4 0026CC04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026FCA8 0026CC08 7C 08 03 A6 */ mtlr r0 +/* 8026FCAC 0026CC0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026FCB0 0026CC10 4E 80 00 20 */ blr + +.global GetDamageVulnerability__9CBurrowerCFRC9CVector3fRC9CVector3fRC11CDamageInfo +GetDamageVulnerability__9CBurrowerCFRC9CVector3fRC9CVector3fRC11CDamageInfo: +/* 8026FCB4 0026CC14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026FCB8 0026CC18 7C 08 02 A6 */ mflr r0 +/* 8026FCBC 0026CC1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026FCC0 0026CC20 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 8026FCC4 0026CC24 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FCC8 0026CC28 28 00 00 01 */ cmplwi r0, 1 +/* 8026FCCC 0026CC2C 41 82 00 10 */ beq lbl_8026FCDC +/* 8026FCD0 0026CC30 3C 60 80 57 */ lis r3, lbl_80572694@ha +/* 8026FCD4 0026CC34 38 63 26 94 */ addi r3, r3, lbl_80572694@l +/* 8026FCD8 0026CC38 48 00 00 08 */ b lbl_8026FCE0 +lbl_8026FCDC: +/* 8026FCDC 0026CC3C 4B E3 30 95 */ bl GetDamageVulnerability__3CAiCFv +lbl_8026FCE0: +/* 8026FCE0 0026CC40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026FCE4 0026CC44 7C 08 03 A6 */ mtlr r0 +/* 8026FCE8 0026CC48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026FCEC 0026CC4C 4E 80 00 20 */ blr + +.global GetDamageVulnerability__9CBurrowerCFv +GetDamageVulnerability__9CBurrowerCFv: +/* 8026FCF0 0026CC50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026FCF4 0026CC54 7C 08 02 A6 */ mflr r0 +/* 8026FCF8 0026CC58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026FCFC 0026CC5C 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 8026FD00 0026CC60 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FD04 0026CC64 28 00 00 01 */ cmplwi r0, 1 +/* 8026FD08 0026CC68 41 82 00 10 */ beq lbl_8026FD18 +/* 8026FD0C 0026CC6C 3C 60 80 57 */ lis r3, lbl_80572694@ha +/* 8026FD10 0026CC70 38 63 26 94 */ addi r3, r3, lbl_80572694@l +/* 8026FD14 0026CC74 48 00 00 08 */ b lbl_8026FD1C +lbl_8026FD18: +/* 8026FD18 0026CC78 4B E3 30 59 */ bl GetDamageVulnerability__3CAiCFv +lbl_8026FD1C: +/* 8026FD1C 0026CC7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026FD20 0026CC80 7C 08 03 A6 */ mtlr r0 +/* 8026FD24 0026CC84 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026FD28 0026CC88 4E 80 00 20 */ blr + +.global ShouldAttack__9CBurrowerFR13CStateManagerf +ShouldAttack__9CBurrowerFR13CStateManagerf: +/* 8026FD2C 0026CC8C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026FD30 0026CC90 7C 08 02 A6 */ mflr r0 +/* 8026FD34 0026CC94 C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) +/* 8026FD38 0026CC98 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026FD3C 0026CC9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026FD40 0026CCA0 C0 03 06 A4 */ lfs f0, 0x6a4(r3) +/* 8026FD44 0026CCA4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8026FD48 0026CCA8 4C 40 13 82 */ cror 2, 0, 2 +/* 8026FD4C 0026CCAC 40 82 00 4C */ bne lbl_8026FD98 +/* 8026FD50 0026CCB0 C0 03 06 9C */ lfs f0, 0x69c(r3) +/* 8026FD54 0026CCB4 3B E0 00 00 */ li r31, 0 +/* 8026FD58 0026CCB8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8026FD5C 0026CCBC 4C 40 13 82 */ cror 2, 0, 2 +/* 8026FD60 0026CCC0 40 82 00 30 */ bne lbl_8026FD90 +/* 8026FD64 0026CCC4 A0 03 00 08 */ lhz r0, 8(r3) +/* 8026FD68 0026CCC8 7C 83 23 78 */ mr r3, r4 +/* 8026FD6C 0026CCCC 38 81 00 0C */ addi r4, r1, 0xc +/* 8026FD70 0026CCD0 38 A0 00 09 */ li r5, 9 +/* 8026FD74 0026CCD4 B0 01 00 08 */ sth r0, 8(r1) +/* 8026FD78 0026CCD8 38 C0 00 01 */ li r6, 1 +/* 8026FD7C 0026CCDC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8026FD80 0026CCE0 4B DD 59 B1 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 8026FD84 0026CCE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026FD88 0026CCE8 41 82 00 08 */ beq lbl_8026FD90 +/* 8026FD8C 0026CCEC 3B E0 00 01 */ li r31, 1 +lbl_8026FD90: +/* 8026FD90 0026CCF0 7F E3 FB 78 */ mr r3, r31 +/* 8026FD94 0026CCF4 48 00 00 08 */ b lbl_8026FD9C +lbl_8026FD98: +/* 8026FD98 0026CCF8 38 60 00 00 */ li r3, 0 +lbl_8026FD9C: +/* 8026FD9C 0026CCFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026FDA0 0026CD00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026FDA4 0026CD04 7C 08 03 A6 */ mtlr r0 +/* 8026FDA8 0026CD08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026FDAC 0026CD0C 4E 80 00 20 */ blr + +.global PathShagged__9CBurrowerFR13CStateManagerf +PathShagged__9CBurrowerFR13CStateManagerf: +/* 8026FDB0 0026CD10 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026FDB4 0026CD14 7C 08 02 A6 */ mflr r0 +/* 8026FDB8 0026CD18 7C 65 1B 78 */ mr r5, r3 +/* 8026FDBC 0026CD1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026FDC0 0026CD20 38 81 00 08 */ addi r4, r1, 8 +/* 8026FDC4 0026CD24 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8026FDC8 0026CD28 38 65 05 68 */ addi r3, r5, 0x568 +/* 8026FDCC 0026CD2C C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8026FDD0 0026CD30 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8026FDD4 0026CD34 D0 01 00 08 */ stfs f0, 8(r1) +/* 8026FDD8 0026CD38 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8026FDDC 0026CD3C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8026FDE0 0026CD40 4B F5 6D 55 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 8026FDE4 0026CD44 2C 03 00 01 */ cmpwi r3, 1 +/* 8026FDE8 0026CD48 41 82 00 08 */ beq lbl_8026FDF0 +/* 8026FDEC 0026CD4C 48 00 00 0C */ b lbl_8026FDF8 +lbl_8026FDF0: +/* 8026FDF0 0026CD50 38 60 00 01 */ li r3, 1 +/* 8026FDF4 0026CD54 48 00 00 08 */ b lbl_8026FDFC +lbl_8026FDF8: +/* 8026FDF8 0026CD58 38 60 00 00 */ li r3, 0 +lbl_8026FDFC: +/* 8026FDFC 0026CD5C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026FE00 0026CD60 7C 08 03 A6 */ mtlr r0 +/* 8026FE04 0026CD64 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026FE08 0026CD68 4E 80 00 20 */ blr + +.global DoUserAnimEvent__9CBurrowerFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__9CBurrowerFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8026FE0C 0026CD6C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8026FE10 0026CD70 7C 08 02 A6 */ mflr r0 +/* 8026FE14 0026CD74 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8026FE18 0026CD78 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8026FE1C 0026CD7C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8026FE20 0026CD80 BF 61 00 BC */ stmw r27, 0xbc(r1) +/* 8026FE24 0026CD84 7C DF 33 78 */ mr r31, r6 +/* 8026FE28 0026CD88 FF E0 08 90 */ fmr f31, f1 +/* 8026FE2C 0026CD8C 2C 1F 00 0C */ cmpwi r31, 0xc +/* 8026FE30 0026CD90 7C 7C 1B 78 */ mr r28, r3 +/* 8026FE34 0026CD94 7C 9D 23 78 */ mr r29, r4 +/* 8026FE38 0026CD98 7C BE 2B 78 */ mr r30, r5 +/* 8026FE3C 0026CD9C 38 80 00 00 */ li r4, 0 +/* 8026FE40 0026CDA0 41 82 01 80 */ beq lbl_8026FFC0 +/* 8026FE44 0026CDA4 40 80 00 10 */ bge lbl_8026FE54 +/* 8026FE48 0026CDA8 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026FE4C 0026CDAC 41 82 00 14 */ beq lbl_8026FE60 +/* 8026FE50 0026CDB0 48 00 01 A0 */ b lbl_8026FFF0 +lbl_8026FE54: +/* 8026FE54 0026CDB4 2C 1F 00 0E */ cmpwi r31, 0xe +/* 8026FE58 0026CDB8 40 80 01 98 */ bge lbl_8026FFF0 +/* 8026FE5C 0026CDBC 48 00 01 24 */ b lbl_8026FF80 +lbl_8026FE60: +/* 8026FE60 0026CDC0 83 7D 08 4C */ lwz r27, 0x84c(r29) +/* 8026FE64 0026CDC4 7F A5 EB 78 */ mr r5, r29 +/* 8026FE68 0026CDC8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8026FE6C 0026CDCC C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) +/* 8026FE70 0026CDD0 7F 64 DB 78 */ mr r4, r27 +/* 8026FE74 0026CDD4 81 9B 00 00 */ lwz r12, 0(r27) +/* 8026FE78 0026CDD8 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8026FE7C 0026CDDC 7D 89 03 A6 */ mtctr r12 +/* 8026FE80 0026CDE0 4E 80 04 21 */ bctrl +/* 8026FE84 0026CDE4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8026FE88 0026CDE8 7F 84 E3 78 */ mr r4, r28 +/* 8026FE8C 0026CDEC C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8026FE90 0026CDF0 38 61 00 88 */ addi r3, r1, 0x88 +/* 8026FE94 0026CDF4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8026FE98 0026CDF8 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8026FE9C 0026CDFC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8026FEA0 0026CE00 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8026FEA4 0026CE04 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8026FEA8 0026CE08 4B E0 8A D1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8026FEAC 0026CE0C C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 8026FEB0 0026CE10 7F 83 E3 78 */ mr r3, r28 +/* 8026FEB4 0026CE14 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8026FEB8 0026CE18 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8026FEBC 0026CE1C D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8026FEC0 0026CE20 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8026FEC4 0026CE24 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8026FEC8 0026CE28 81 9C 00 00 */ lwz r12, 0(r28) +/* 8026FECC 0026CE2C 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 8026FED0 0026CE30 7D 89 03 A6 */ mtctr r12 +/* 8026FED4 0026CE34 4E 80 04 21 */ bctrl +/* 8026FED8 0026CE38 FC 20 F8 90 */ fmr f1, f31 +/* 8026FEDC 0026CE3C 7C 64 1B 78 */ mr r4, r3 +/* 8026FEE0 0026CE40 7F 67 DB 78 */ mr r7, r27 +/* 8026FEE4 0026CE44 38 61 00 1C */ addi r3, r1, 0x1c +/* 8026FEE8 0026CE48 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8026FEEC 0026CE4C 38 C1 00 4C */ addi r6, r1, 0x4c +/* 8026FEF0 0026CE50 39 00 00 01 */ li r8, 1 +/* 8026FEF4 0026CE54 4B FA BF F9 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf +/* 8026FEF8 0026CE58 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8026FEFC 0026CE5C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8026FF00 0026CE60 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8026FF04 0026CE64 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8026FF08 0026CE68 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8026FF0C 0026CE6C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8026FF10 0026CE70 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8026FF14 0026CE74 38 81 00 40 */ addi r4, r1, 0x40 +/* 8026FF18 0026CE78 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8026FF1C 0026CE7C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8026FF20 0026CE80 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8026FF24 0026CE84 80 FC 00 64 */ lwz r7, 0x64(r28) +/* 8026FF28 0026CE88 C0 07 00 00 */ lfs f0, 0(r7) +/* 8026FF2C 0026CE8C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8026FF30 0026CE90 C0 07 00 04 */ lfs f0, 4(r7) +/* 8026FF34 0026CE94 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8026FF38 0026CE98 C0 07 00 08 */ lfs f0, 8(r7) +/* 8026FF3C 0026CE9C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8026FF40 0026CEA0 48 0A 3B D1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8026FF44 0026CEA4 38 60 00 00 */ li r3, 0 +/* 8026FF48 0026CEA8 38 01 00 10 */ addi r0, r1, 0x10 +/* 8026FF4C 0026CEAC 90 61 00 08 */ stw r3, 8(r1) +/* 8026FF50 0026CEB0 7F 83 E3 78 */ mr r3, r28 +/* 8026FF54 0026CEB4 7F A5 EB 78 */ mr r5, r29 +/* 8026FF58 0026CEB8 38 81 00 58 */ addi r4, r1, 0x58 +/* 8026FF5C 0026CEBC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026FF60 0026CEC0 39 3C 06 7C */ addi r9, r28, 0x67c +/* 8026FF64 0026CEC4 38 C0 00 01 */ li r6, 1 +/* 8026FF68 0026CEC8 38 E0 00 00 */ li r7, 0 +/* 8026FF6C 0026CECC A1 5C 06 AA */ lhz r10, 0x6aa(r28) +/* 8026FF70 0026CED0 39 00 00 00 */ li r8, 0 +/* 8026FF74 0026CED4 4B E0 7A 85 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 8026FF78 0026CED8 38 80 00 01 */ li r4, 1 +/* 8026FF7C 0026CEDC 48 00 00 74 */ b lbl_8026FFF0 +lbl_8026FF80: +/* 8026FF80 0026CEE0 7F A5 EB 78 */ mr r5, r29 +/* 8026FF84 0026CEE4 38 80 00 25 */ li r4, 0x25 +/* 8026FF88 0026CEE8 4B DE 3F F9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8026FF8C 0026CEEC 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 8026FF90 0026CEF0 38 60 00 01 */ li r3, 1 +/* 8026FF94 0026CEF4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8026FF98 0026CEF8 38 80 00 01 */ li r4, 1 +/* 8026FF9C 0026CEFC 98 1C 03 28 */ stb r0, 0x328(r28) +/* 8026FFA0 0026CF00 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 8026FFA4 0026CF04 C0 23 00 04 */ lfs f1, 4(r3) +/* 8026FFA8 0026CF08 C0 43 00 08 */ lfs f2, 8(r3) +/* 8026FFAC 0026CF0C C0 03 00 00 */ lfs f0, 0(r3) +/* 8026FFB0 0026CF10 D0 1C 05 5C */ stfs f0, 0x55c(r28) +/* 8026FFB4 0026CF14 D0 3C 05 60 */ stfs f1, 0x560(r28) +/* 8026FFB8 0026CF18 D0 5C 05 64 */ stfs f2, 0x564(r28) +/* 8026FFBC 0026CF1C 48 00 00 34 */ b lbl_8026FFF0 +lbl_8026FFC0: +/* 8026FFC0 0026CF20 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 8026FFC4 0026CF24 38 80 00 00 */ li r4, 0 +/* 8026FFC8 0026CF28 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8026FFCC 0026CF2C 7F A5 EB 78 */ mr r5, r29 +/* 8026FFD0 0026CF30 98 1C 03 28 */ stb r0, 0x328(r28) +/* 8026FFD4 0026CF34 38 80 00 25 */ li r4, 0x25 +/* 8026FFD8 0026CF38 4B DE 43 79 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8026FFDC 0026CF3C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 8026FFE0 0026CF40 38 80 00 01 */ li r4, 1 +/* 8026FFE4 0026CF44 D0 1C 05 5C */ stfs f0, 0x55c(r28) +/* 8026FFE8 0026CF48 D0 1C 05 60 */ stfs f0, 0x560(r28) +/* 8026FFEC 0026CF4C D0 1C 05 64 */ stfs f0, 0x564(r28) +lbl_8026FFF0: +/* 8026FFF0 0026CF50 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8026FFF4 0026CF54 40 82 00 1C */ bne lbl_80270010 +/* 8026FFF8 0026CF58 FC 20 F8 90 */ fmr f1, f31 +/* 8026FFFC 0026CF5C 7F 83 E3 78 */ mr r3, r28 +/* 80270000 0026CF60 7F A4 EB 78 */ mr r4, r29 +/* 80270004 0026CF64 7F C5 F3 78 */ mr r5, r30 +/* 80270008 0026CF68 7F E6 FB 78 */ mr r6, r31 +/* 8027000C 0026CF6C 4B E0 8E A5 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80270010: +/* 80270010 0026CF70 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80270014 0026CF74 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80270018 0026CF78 BB 61 00 BC */ lmw r27, 0xbc(r1) +/* 8027001C 0026CF7C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80270020 0026CF80 7C 08 03 A6 */ mtlr r0 +/* 80270024 0026CF84 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80270028 0026CF88 4E 80 00 20 */ blr + +.global ProjectileInfo__9CBurrowerFv +ProjectileInfo__9CBurrowerFv: +/* 8027002C 0026CF8C 38 63 06 4C */ addi r3, r3, 0x64c +/* 80270030 0026CF90 4E 80 00 20 */ blr + +.global Lurk__9CBurrowerFR13CStateManager9EStateMsgf +Lurk__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270034 0026CF94 2C 05 00 00 */ cmpwi r5, 0 +/* 80270038 0026CF98 41 82 00 0C */ beq lbl_80270044 +/* 8027003C 0026CF9C 4D 80 00 20 */ bltlr + +.global sub_80270040 +sub_80270040: +/* 80270040 0026CFA0 4E 80 00 20 */ blr +lbl_80270044: +/* 80270044 0026CFA4 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 80270048 0026CFA8 38 80 00 00 */ li r4, 0 +/* 8027004C 0026CFAC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80270050 0026CFB0 C0 02 BB C0 */ lfs f0, lbl_805AD8E0@sda21(r2) +/* 80270054 0026CFB4 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 80270058 0026CFB8 D0 03 06 A0 */ stfs f0, 0x6a0(r3) +/* 8027005C 0026CFBC 4E 80 00 20 */ blr + +.global TargetPatrol__9CBurrowerFR13CStateManager9EStateMsgf +TargetPatrol__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270060 0026CFC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80270064 0026CFC4 7C 08 02 A6 */ mflr r0 +/* 80270068 0026CFC8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027006C 0026CFCC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80270070 0026CFD0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80270074 0026CFD4 7C 9F 23 78 */ mr r31, r4 +/* 80270078 0026CFD8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027007C 0026CFDC 7C 7E 1B 78 */ mr r30, r3 +/* 80270080 0026CFE0 41 82 00 0C */ beq lbl_8027008C +/* 80270084 0026CFE4 41 80 00 B0 */ blt lbl_80270134 +/* 80270088 0026CFE8 48 00 00 AC */ b lbl_80270134 +lbl_8027008C: +/* 8027008C 0026CFEC A0 7E 06 A8 */ lhz r3, 0x6a8(r30) +/* 80270090 0026CFF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80270094 0026CFF4 7C 03 00 40 */ cmplw r3, r0 +/* 80270098 0026CFF8 41 82 00 0C */ beq lbl_802700A4 +/* 8027009C 0026CFFC 38 7E 06 A8 */ addi r3, r30, 0x6a8 +/* 802700A0 0026D000 48 00 00 20 */ b lbl_802700C0 +lbl_802700A4: +/* 802700A4 0026D004 7F C4 F3 78 */ mr r4, r30 +/* 802700A8 0026D008 7F E5 FB 78 */ mr r5, r31 +/* 802700AC 0026D00C 38 61 00 0C */ addi r3, r1, 0xc +/* 802700B0 0026D010 38 C0 00 0D */ li r6, 0xd +/* 802700B4 0026D014 38 E0 00 06 */ li r7, 6 +/* 802700B8 0026D018 4B F8 4E E1 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 802700BC 0026D01C 38 61 00 0C */ addi r3, r1, 0xc +lbl_802700C0: +/* 802700C0 0026D020 A0 03 00 00 */ lhz r0, 0(r3) +/* 802700C4 0026D024 7F E3 FB 78 */ mr r3, r31 +/* 802700C8 0026D028 38 81 00 08 */ addi r4, r1, 8 +/* 802700CC 0026D02C B0 1E 02 DC */ sth r0, 0x2dc(r30) +/* 802700D0 0026D030 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802700D4 0026D034 B0 01 00 08 */ sth r0, 8(r1) +/* 802700D8 0026D038 4B DD C4 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802700DC 0026D03C 7C 64 1B 78 */ mr r4, r3 +/* 802700E0 0026D040 38 61 00 14 */ addi r3, r1, 0x14 +/* 802700E4 0026D044 4B E3 FB AD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802700E8 0026D048 80 83 00 04 */ lwz r4, 4(r3) +/* 802700EC 0026D04C 28 04 00 00 */ cmplwi r4, 0 +/* 802700F0 0026D050 41 82 00 44 */ beq lbl_80270134 +/* 802700F4 0026D054 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 802700F8 0026D058 38 60 00 00 */ li r3, 0 +/* 802700FC 0026D05C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80270100 0026D060 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80270104 0026D064 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) +/* 80270108 0026D068 D0 3E 02 E4 */ stfs f1, 0x2e4(r30) +/* 8027010C 0026D06C D0 5E 02 E8 */ stfs f2, 0x2e8(r30) +/* 80270110 0026D070 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80270114 0026D074 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80270118 0026D078 98 1E 03 28 */ stb r0, 0x328(r30) +/* 8027011C 0026D07C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80270120 0026D080 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80270124 0026D084 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80270128 0026D088 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 8027012C 0026D08C D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 80270130 0026D090 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) +lbl_80270134: +/* 80270134 0026D094 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80270138 0026D098 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027013C 0026D09C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80270140 0026D0A0 7C 08 03 A6 */ mtlr r0 +/* 80270144 0026D0A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80270148 0026D0A8 4E 80 00 20 */ blr + +.global Retreat__9CBurrowerFR13CStateManager9EStateMsgf +Retreat__9CBurrowerFR13CStateManager9EStateMsgf: +/* 8027014C 0026D0AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80270150 0026D0B0 7C 08 02 A6 */ mflr r0 +/* 80270154 0026D0B4 2C 05 00 01 */ cmpwi r5, 1 +/* 80270158 0026D0B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027015C 0026D0BC 41 82 00 2C */ beq lbl_80270188 +/* 80270160 0026D0C0 40 80 00 10 */ bge lbl_80270170 +/* 80270164 0026D0C4 2C 05 00 00 */ cmpwi r5, 0 +/* 80270168 0026D0C8 40 80 00 14 */ bge lbl_8027017C +/* 8027016C 0026D0CC 48 00 00 88 */ b lbl_802701F4 +lbl_80270170: +/* 80270170 0026D0D0 2C 05 00 03 */ cmpwi r5, 3 +/* 80270174 0026D0D4 40 80 00 80 */ bge lbl_802701F4 +/* 80270178 0026D0D8 48 00 00 44 */ b lbl_802701BC +lbl_8027017C: +/* 8027017C 0026D0DC 38 00 00 01 */ li r0, 1 +/* 80270180 0026D0E0 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80270184 0026D0E4 48 00 00 70 */ b lbl_802701F4 +lbl_80270188: +/* 80270188 0026D0E8 3C A0 80 3F */ lis r5, lbl_803EA7B8@ha +/* 8027018C 0026D0EC 38 C1 00 08 */ addi r6, r1, 8 +/* 80270190 0026D0F0 39 45 A7 B8 */ addi r10, r5, lbl_803EA7B8@l +/* 80270194 0026D0F4 38 A0 00 0C */ li r5, 0xc +/* 80270198 0026D0F8 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027019C 0026D0FC 38 E0 00 01 */ li r7, 1 +/* 802701A0 0026D100 81 0A 00 04 */ lwz r8, 4(r10) +/* 802701A4 0026D104 80 0A 00 08 */ lwz r0, 8(r10) +/* 802701A8 0026D108 91 21 00 08 */ stw r9, 8(r1) +/* 802701AC 0026D10C 91 01 00 0C */ stw r8, 0xc(r1) +/* 802701B0 0026D110 90 01 00 10 */ stw r0, 0x10(r1) +/* 802701B4 0026D114 4B E0 C6 01 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802701B8 0026D118 48 00 00 3C */ b lbl_802701F4 +lbl_802701BC: +/* 802701BC 0026D11C 38 80 00 00 */ li r4, 0 +/* 802701C0 0026D120 90 83 03 2C */ stw r4, 0x32c(r3) +/* 802701C4 0026D124 80 03 06 78 */ lwz r0, 0x678(r3) +/* 802701C8 0026D128 28 00 00 00 */ cmplwi r0, 0 +/* 802701CC 0026D12C 41 82 00 28 */ beq lbl_802701F4 +/* 802701D0 0026D130 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 802701D4 0026D134 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802701D8 0026D138 38 80 00 01 */ li r4, 1 +/* 802701DC 0026D13C 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 802701E0 0026D140 80 63 06 78 */ lwz r3, 0x678(r3) +/* 802701E4 0026D144 81 83 00 00 */ lwz r12, 0(r3) +/* 802701E8 0026D148 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802701EC 0026D14C 7D 89 03 A6 */ mtctr r12 +/* 802701F0 0026D150 4E 80 04 21 */ bctrl +lbl_802701F4: +/* 802701F4 0026D154 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802701F8 0026D158 7C 08 03 A6 */ mtlr r0 +/* 802701FC 0026D15C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80270200 0026D160 4E 80 00 20 */ blr + +.global ProjectileAttack__9CBurrowerFR13CStateManager9EStateMsgf +ProjectileAttack__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270204 0026D164 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80270208 0026D168 7C 08 02 A6 */ mflr r0 +/* 8027020C 0026D16C 2C 05 00 01 */ cmpwi r5, 1 +/* 80270210 0026D170 90 01 00 24 */ stw r0, 0x24(r1) +/* 80270214 0026D174 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80270218 0026D178 7C 9F 23 78 */ mr r31, r4 +/* 8027021C 0026D17C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80270220 0026D180 7C 7E 1B 78 */ mr r30, r3 +/* 80270224 0026D184 41 82 00 68 */ beq lbl_8027028C +/* 80270228 0026D188 40 80 00 10 */ bge lbl_80270238 +/* 8027022C 0026D18C 2C 05 00 00 */ cmpwi r5, 0 +/* 80270230 0026D190 40 80 00 14 */ bge lbl_80270244 +/* 80270234 0026D194 48 00 00 E8 */ b lbl_8027031C +lbl_80270238: +/* 80270238 0026D198 2C 05 00 03 */ cmpwi r5, 3 +/* 8027023C 0026D19C 40 80 00 E0 */ bge lbl_8027031C +/* 80270240 0026D1A0 48 00 00 80 */ b lbl_802702C0 +lbl_80270244: +/* 80270244 0026D1A4 88 1E 06 AC */ lbz r0, 0x6ac(r30) +/* 80270248 0026D1A8 38 60 00 01 */ li r3, 1 +/* 8027024C 0026D1AC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80270250 0026D1B0 98 1E 06 AC */ stb r0, 0x6ac(r30) +/* 80270254 0026D1B4 88 1E 06 AC */ lbz r0, 0x6ac(r30) +/* 80270258 0026D1B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8027025C 0026D1BC 98 1E 06 AC */ stb r0, 0x6ac(r30) +/* 80270260 0026D1C0 80 7E 06 78 */ lwz r3, 0x678(r30) +/* 80270264 0026D1C4 28 03 00 00 */ cmplwi r3, 0 +/* 80270268 0026D1C8 41 82 00 18 */ beq lbl_80270280 +/* 8027026C 0026D1CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80270270 0026D1D0 38 80 00 00 */ li r4, 0 +/* 80270274 0026D1D4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270278 0026D1D8 7D 89 03 A6 */ mtctr r12 +/* 8027027C 0026D1DC 4E 80 04 21 */ bctrl +lbl_80270280: +/* 80270280 0026D1E0 38 00 00 01 */ li r0, 1 +/* 80270284 0026D1E4 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80270288 0026D1E8 48 00 00 94 */ b lbl_8027031C +lbl_8027028C: +/* 8027028C 0026D1EC 3C A0 80 3F */ lis r5, lbl_803EA7AC@ha +/* 80270290 0026D1F0 38 C1 00 08 */ addi r6, r1, 8 +/* 80270294 0026D1F4 39 45 A7 AC */ addi r10, r5, lbl_803EA7AC@l +/* 80270298 0026D1F8 38 A0 00 12 */ li r5, 0x12 +/* 8027029C 0026D1FC 81 2A 00 00 */ lwz r9, 0(r10) +/* 802702A0 0026D200 38 E0 00 00 */ li r7, 0 +/* 802702A4 0026D204 81 0A 00 04 */ lwz r8, 4(r10) +/* 802702A8 0026D208 80 0A 00 08 */ lwz r0, 8(r10) +/* 802702AC 0026D20C 91 21 00 08 */ stw r9, 8(r1) +/* 802702B0 0026D210 91 01 00 0C */ stw r8, 0xc(r1) +/* 802702B4 0026D214 90 01 00 10 */ stw r0, 0x10(r1) +/* 802702B8 0026D218 4B E0 C4 FD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802702BC 0026D21C 48 00 00 60 */ b lbl_8027031C +lbl_802702C0: +/* 802702C0 0026D220 38 00 00 00 */ li r0, 0 +/* 802702C4 0026D224 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802702C8 0026D228 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 802702CC 0026D22C 48 0A 22 11 */ bl Float__9CRandom16Fv +/* 802702D0 0026D230 C0 5E 03 08 */ lfs f2, 0x308(r30) +/* 802702D4 0026D234 38 C0 00 00 */ li r6, 0 +/* 802702D8 0026D238 C0 1E 03 04 */ lfs f0, 0x304(r30) +/* 802702DC 0026D23C 7F C3 F3 78 */ mr r3, r30 +/* 802702E0 0026D240 7F E5 FB 78 */ mr r5, r31 +/* 802702E4 0026D244 38 80 00 25 */ li r4, 0x25 +/* 802702E8 0026D248 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802702EC 0026D24C D0 1E 06 9C */ stfs f0, 0x69c(r30) +/* 802702F0 0026D250 88 1E 06 AC */ lbz r0, 0x6ac(r30) +/* 802702F4 0026D254 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802702F8 0026D258 98 1E 06 AC */ stb r0, 0x6ac(r30) +/* 802702FC 0026D25C 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80270300 0026D260 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80270304 0026D264 98 1E 03 28 */ stb r0, 0x328(r30) +/* 80270308 0026D268 4B DE 40 49 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8027030C 0026D26C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 80270310 0026D270 D0 1E 05 5C */ stfs f0, 0x55c(r30) +/* 80270314 0026D274 D0 1E 05 60 */ stfs f0, 0x560(r30) +/* 80270318 0026D278 D0 1E 05 64 */ stfs f0, 0x564(r30) +lbl_8027031C: +/* 8027031C 0026D27C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80270320 0026D280 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80270324 0026D284 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80270328 0026D288 7C 08 03 A6 */ mtlr r0 +/* 8027032C 0026D28C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80270330 0026D290 4E 80 00 20 */ blr + +.global Active__9CBurrowerFR13CStateManager9EStateMsgf +Active__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270334 0026D294 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80270338 0026D298 7C 08 02 A6 */ mflr r0 +/* 8027033C 0026D29C 2C 05 00 01 */ cmpwi r5, 1 +/* 80270340 0026D2A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80270344 0026D2A4 41 82 00 38 */ beq lbl_8027037C +/* 80270348 0026D2A8 40 80 00 10 */ bge lbl_80270358 +/* 8027034C 0026D2AC 2C 05 00 00 */ cmpwi r5, 0 +/* 80270350 0026D2B0 40 80 00 14 */ bge lbl_80270364 +/* 80270354 0026D2B4 48 00 00 80 */ b lbl_802703D4 +lbl_80270358: +/* 80270358 0026D2B8 2C 05 00 03 */ cmpwi r5, 3 +/* 8027035C 0026D2BC 40 80 00 78 */ bge lbl_802703D4 +/* 80270360 0026D2C0 48 00 00 50 */ b lbl_802703B0 +lbl_80270364: +/* 80270364 0026D2C4 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 80270368 0026D2C8 38 80 00 01 */ li r4, 1 +/* 8027036C 0026D2CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80270370 0026D2D0 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 80270374 0026D2D4 90 83 03 2C */ stw r4, 0x32c(r3) +/* 80270378 0026D2D8 48 00 00 5C */ b lbl_802703D4 +lbl_8027037C: +/* 8027037C 0026D2DC 3C A0 80 3F */ lis r5, lbl_803EA7A0@ha +/* 80270380 0026D2E0 38 C1 00 08 */ addi r6, r1, 8 +/* 80270384 0026D2E4 39 45 A7 A0 */ addi r10, r5, lbl_803EA7A0@l +/* 80270388 0026D2E8 38 A0 00 0C */ li r5, 0xc +/* 8027038C 0026D2EC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80270390 0026D2F0 38 E0 00 00 */ li r7, 0 +/* 80270394 0026D2F4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80270398 0026D2F8 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027039C 0026D2FC 91 21 00 08 */ stw r9, 8(r1) +/* 802703A0 0026D300 91 01 00 0C */ stw r8, 0xc(r1) +/* 802703A4 0026D304 90 01 00 10 */ stw r0, 0x10(r1) +/* 802703A8 0026D308 4B E0 C4 0D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802703AC 0026D30C 48 00 00 28 */ b lbl_802703D4 +lbl_802703B0: +/* 802703B0 0026D310 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 802703B4 0026D314 38 A0 00 00 */ li r5, 0 +/* 802703B8 0026D318 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802703BC 0026D31C 38 80 00 01 */ li r4, 1 +/* 802703C0 0026D320 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 802703C4 0026D324 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 802703C8 0026D328 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802703CC 0026D32C 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 802703D0 0026D330 90 A3 03 2C */ stw r5, 0x32c(r3) +lbl_802703D4: +/* 802703D4 0026D334 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802703D8 0026D338 7C 08 03 A6 */ mtlr r0 +/* 802703DC 0026D33C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802703E0 0026D340 4E 80 00 20 */ blr + +.global Patrol__9CBurrowerFR13CStateManager9EStateMsgf +Patrol__9CBurrowerFR13CStateManager9EStateMsgf: +/* 802703E4 0026D344 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802703E8 0026D348 7C 08 02 A6 */ mflr r0 +/* 802703EC 0026D34C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802703F0 0026D350 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802703F4 0026D354 FF E0 08 90 */ fmr f31, f1 +/* 802703F8 0026D358 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802703FC 0026D35C 7C BF 2B 78 */ mr r31, r5 +/* 80270400 0026D360 2C 1F 00 01 */ cmpwi r31, 1 +/* 80270404 0026D364 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80270408 0026D368 7C 9E 23 78 */ mr r30, r4 +/* 8027040C 0026D36C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80270410 0026D370 7C 7D 1B 78 */ mr r29, r3 +/* 80270414 0026D374 41 82 00 5C */ beq lbl_80270470 +/* 80270418 0026D378 40 80 00 10 */ bge lbl_80270428 +/* 8027041C 0026D37C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80270420 0026D380 40 80 00 14 */ bge lbl_80270434 +/* 80270424 0026D384 48 00 00 4C */ b lbl_80270470 +lbl_80270428: +/* 80270428 0026D388 2C 1F 00 03 */ cmpwi r31, 3 +/* 8027042C 0026D38C 40 80 00 44 */ bge lbl_80270470 +/* 80270430 0026D390 48 00 00 38 */ b lbl_80270468 +lbl_80270434: +/* 80270434 0026D394 88 1D 06 AC */ lbz r0, 0x6ac(r29) +/* 80270438 0026D398 38 60 00 00 */ li r3, 0 +/* 8027043C 0026D39C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80270440 0026D3A0 98 1D 06 AC */ stb r0, 0x6ac(r29) +/* 80270444 0026D3A4 80 7D 06 78 */ lwz r3, 0x678(r29) +/* 80270448 0026D3A8 28 03 00 00 */ cmplwi r3, 0 +/* 8027044C 0026D3AC 41 82 00 24 */ beq lbl_80270470 +/* 80270450 0026D3B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80270454 0026D3B4 38 80 00 01 */ li r4, 1 +/* 80270458 0026D3B8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027045C 0026D3BC 7D 89 03 A6 */ mtctr r12 +/* 80270460 0026D3C0 4E 80 04 21 */ bctrl +/* 80270464 0026D3C4 48 00 00 0C */ b lbl_80270470 +lbl_80270468: +/* 80270468 0026D3C8 A0 1D 02 DC */ lhz r0, 0x2dc(r29) +/* 8027046C 0026D3CC B0 1D 06 A8 */ sth r0, 0x6a8(r29) +lbl_80270470: +/* 80270470 0026D3D0 FC 20 F8 90 */ fmr f1, f31 +/* 80270474 0026D3D4 7F A3 EB 78 */ mr r3, r29 +/* 80270478 0026D3D8 7F C4 F3 78 */ mr r4, r30 +/* 8027047C 0026D3DC 7F E5 FB 78 */ mr r5, r31 +/* 80270480 0026D3E0 4B F8 69 F5 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 80270484 0026D3E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80270488 0026D3E8 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8027048C 0026D3EC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80270490 0026D3F0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80270494 0026D3F4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80270498 0026D3F8 7C 08 03 A6 */ mtlr r0 +/* 8027049C 0026D3FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802704A0 0026D400 4E 80 00 20 */ blr + +.global Think__9CBurrowerFfR13CStateManager +Think__9CBurrowerFfR13CStateManager: +/* 802704A4 0026D404 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802704A8 0026D408 7C 08 02 A6 */ mflr r0 +/* 802704AC 0026D40C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802704B0 0026D410 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802704B4 0026D414 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802704B8 0026D418 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 802704BC 0026D41C 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 802704C0 0026D420 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802704C4 0026D424 FF E0 08 90 */ fmr f31, f1 +/* 802704C8 0026D428 7C 7F 1B 78 */ mr r31, r3 +/* 802704CC 0026D42C 7C 9E 23 78 */ mr r30, r4 +/* 802704D0 0026D430 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802704D4 0026D434 41 82 03 00 */ beq lbl_802707D4 +/* 802704D8 0026D438 4B E0 96 41 */ bl Think__10CPatternedFfR13CStateManager +/* 802704DC 0026D43C C0 3F 06 A4 */ lfs f1, 0x6a4(r31) +/* 802704E0 0026D440 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 802704E4 0026D444 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802704E8 0026D448 40 81 00 0C */ ble lbl_802704F4 +/* 802704EC 0026D44C EC 01 F8 28 */ fsubs f0, f1, f31 +/* 802704F0 0026D450 D0 1F 06 A4 */ stfs f0, 0x6a4(r31) +lbl_802704F4: +/* 802704F4 0026D454 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 802704F8 0026D458 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802704FC 0026D45C 41 82 01 44 */ beq lbl_80270640 +/* 80270500 0026D460 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80270504 0026D464 38 61 00 84 */ addi r3, r1, 0x84 +/* 80270508 0026D468 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 8027050C 0026D46C C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80270510 0026D470 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270514 0026D474 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80270518 0026D478 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8027051C 0026D47C D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80270520 0026D480 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80270524 0026D484 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80270528 0026D488 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8027052C 0026D48C C0 84 00 60 */ lfs f4, 0x60(r4) +/* 80270530 0026D490 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80270534 0026D494 EC A2 08 28 */ fsubs f5, f2, f1 +/* 80270538 0026D498 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8027053C 0026D49C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80270540 0026D4A0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80270544 0026D4A4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80270548 0026D4A8 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 8027054C 0026D4AC D0 61 00 80 */ stfs f3, 0x80(r1) +/* 80270550 0026D4B0 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 80270554 0026D4B4 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80270558 0026D4B8 48 0A 43 A1 */ bl Normalize__9CVector3fFv +/* 8027055C 0026D4BC C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270560 0026D4C0 38 61 00 78 */ addi r3, r1, 0x78 +/* 80270564 0026D4C4 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80270568 0026D4C8 48 0A 43 91 */ bl Normalize__9CVector3fFv +/* 8027056C 0026D4CC C0 C1 00 88 */ lfs f6, 0x88(r1) +/* 80270570 0026D4D0 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 80270574 0026D4D4 C0 A1 00 84 */ lfs f5, 0x84(r1) +/* 80270578 0026D4D8 EC 06 00 F2 */ fmuls f0, f6, f3 +/* 8027057C 0026D4DC C0 41 00 78 */ lfs f2, 0x78(r1) +/* 80270580 0026D4E0 C0 E1 00 8C */ lfs f7, 0x8c(r1) +/* 80270584 0026D4E4 C0 81 00 80 */ lfs f4, 0x80(r1) +/* 80270588 0026D4E8 EC 25 00 BA */ fmadds f1, f5, f2, f0 +/* 8027058C 0026D4EC C0 02 BB C4 */ lfs f0, lbl_805AD8E4@sda21(r2) +/* 80270590 0026D4F0 EC 27 09 3A */ fmadds f1, f7, f4, f1 +/* 80270594 0026D4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80270598 0026D4F8 40 80 00 C0 */ bge lbl_80270658 +/* 8027059C 0026D4FC C0 02 BB CC */ lfs f0, lbl_805AD8EC@sda21(r2) +/* 802705A0 0026D500 38 61 00 58 */ addi r3, r1, 0x58 +/* 802705A4 0026D504 C0 22 BB C8 */ lfs f1, lbl_805AD8E8@sda21(r2) +/* 802705A8 0026D508 38 81 00 4C */ addi r4, r1, 0x4c +/* 802705AC 0026D50C EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802705B0 0026D510 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802705B4 0026D514 38 A1 00 40 */ addi r5, r1, 0x40 +/* 802705B8 0026D518 38 C1 00 08 */ addi r6, r1, 8 +/* 802705BC 0026D51C D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802705C0 0026D520 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802705C4 0026D524 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802705C8 0026D528 D0 01 00 08 */ stfs f0, 8(r1) +/* 802705CC 0026D52C D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 802705D0 0026D530 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802705D4 0026D534 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802705D8 0026D538 48 0A 10 BD */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 802705DC 0026D53C C0 61 00 58 */ lfs f3, 0x58(r1) +/* 802705E0 0026D540 38 A1 00 6C */ addi r5, r1, 0x6c +/* 802705E4 0026D544 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 802705E8 0026D548 38 61 00 24 */ addi r3, r1, 0x24 +/* 802705EC 0026D54C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802705F0 0026D550 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802705F4 0026D554 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802705F8 0026D558 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802705FC 0026D55C D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80270600 0026D560 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80270604 0026D564 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80270608 0026D568 48 0A 24 1D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8027060C 0026D56C C0 81 00 68 */ lfs f4, 0x68(r1) +/* 80270610 0026D570 FC 20 F8 90 */ fmr f1, f31 +/* 80270614 0026D574 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80270618 0026D578 7F E3 FB 78 */ mr r3, r31 +/* 8027061C 0026D57C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80270620 0026D580 38 81 00 30 */ addi r4, r1, 0x30 +/* 80270624 0026D584 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80270628 0026D588 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8027062C 0026D58C D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80270630 0026D590 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80270634 0026D594 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80270638 0026D598 4B EA A7 DD */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf +/* 8027063C 0026D59C 48 00 00 1C */ b lbl_80270658 +lbl_80270640: +/* 80270640 0026D5A0 C0 3F 06 9C */ lfs f1, 0x69c(r31) +/* 80270644 0026D5A4 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270648 0026D5A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027064C 0026D5AC 40 81 00 0C */ ble lbl_80270658 +/* 80270650 0026D5B0 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80270654 0026D5B4 D0 1F 06 9C */ stfs f0, 0x69c(r31) +lbl_80270658: +/* 80270658 0026D5B8 80 1F 06 74 */ lwz r0, 0x674(r31) +/* 8027065C 0026D5BC 28 00 00 00 */ cmplwi r0, 0 +/* 80270660 0026D5C0 41 82 01 0C */ beq lbl_8027076C +/* 80270664 0026D5C4 C0 1F 06 A0 */ lfs f0, 0x6a0(r31) +/* 80270668 0026D5C8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8027066C 0026D5CC D0 1F 06 A0 */ stfs f0, 0x6a0(r31) +/* 80270670 0026D5D0 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270674 0026D5D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80270678 0026D5D8 40 82 00 DC */ bne lbl_80270754 +/* 8027067C 0026D5DC C0 3F 06 A0 */ lfs f1, 0x6a0(r31) +/* 80270680 0026D5E0 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270684 0026D5E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80270688 0026D5E8 4C 40 13 82 */ cror 2, 0, 2 +/* 8027068C 0026D5EC 40 82 00 C8 */ bne lbl_80270754 +/* 80270690 0026D5F0 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 80270694 0026D5F4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80270698 0026D5F8 41 82 00 B4 */ beq lbl_8027074C +/* 8027069C 0026D5FC 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 802706A0 0026D600 38 80 00 01 */ li r4, 1 +/* 802706A4 0026D604 81 83 00 00 */ lwz r12, 0(r3) +/* 802706A8 0026D608 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802706AC 0026D60C 7D 89 03 A6 */ mtctr r12 +/* 802706B0 0026D610 4E 80 04 21 */ bctrl +/* 802706B4 0026D614 83 DF 06 74 */ lwz r30, 0x674(r31) +/* 802706B8 0026D618 38 61 00 90 */ addi r3, r1, 0x90 +/* 802706BC 0026D61C 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802706C0 0026D620 48 0A 25 81 */ bl GetRotation__12CTransform4fCFv +/* 802706C4 0026D624 7F C3 F3 78 */ mr r3, r30 +/* 802706C8 0026D628 38 81 00 90 */ addi r4, r1, 0x90 +/* 802706CC 0026D62C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802706D0 0026D630 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802706D4 0026D634 7D 89 03 A6 */ mtctr r12 +/* 802706D8 0026D638 4E 80 04 21 */ bctrl +/* 802706DC 0026D63C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802706E0 0026D640 38 81 00 18 */ addi r4, r1, 0x18 +/* 802706E4 0026D644 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802706E8 0026D648 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802706EC 0026D64C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802706F0 0026D650 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802706F4 0026D654 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802706F8 0026D658 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 802706FC 0026D65C 81 83 00 00 */ lwz r12, 0(r3) +/* 80270700 0026D660 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80270704 0026D664 7D 89 03 A6 */ mtctr r12 +/* 80270708 0026D668 4E 80 04 21 */ bctrl +/* 8027070C 0026D66C 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270710 0026D670 38 80 00 01 */ li r4, 1 +/* 80270714 0026D674 48 0A C1 AD */ bl ForceParticleCreation__11CElementGenFi +/* 80270718 0026D678 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 8027071C 0026D67C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80270720 0026D680 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80270724 0026D684 81 83 00 00 */ lwz r12, 0(r3) +/* 80270728 0026D688 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8027072C 0026D68C 7D 89 03 A6 */ mtctr r12 +/* 80270730 0026D690 4E 80 04 21 */ bctrl +/* 80270734 0026D694 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270738 0026D698 38 80 00 00 */ li r4, 0 +/* 8027073C 0026D69C 81 83 00 00 */ lwz r12, 0(r3) +/* 80270740 0026D6A0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270744 0026D6A4 7D 89 03 A6 */ mtctr r12 +/* 80270748 0026D6A8 4E 80 04 21 */ bctrl +lbl_8027074C: +/* 8027074C 0026D6AC C0 02 BB C0 */ lfs f0, lbl_805AD8E0@sda21(r2) +/* 80270750 0026D6B0 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) +lbl_80270754: +/* 80270754 0026D6B4 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270758 0026D6B8 FC 20 F8 90 */ fmr f1, f31 +/* 8027075C 0026D6BC 81 83 00 00 */ lwz r12, 0(r3) +/* 80270760 0026D6C0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270764 0026D6C4 7D 89 03 A6 */ mtctr r12 +/* 80270768 0026D6C8 4E 80 04 21 */ bctrl +lbl_8027076C: +/* 8027076C 0026D6CC 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270770 0026D6D0 28 03 00 00 */ cmplwi r3, 0 +/* 80270774 0026D6D4 41 82 00 60 */ beq lbl_802707D4 +/* 80270778 0026D6D8 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 8027077C 0026D6DC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80270780 0026D6E0 41 82 00 3C */ beq lbl_802707BC +/* 80270784 0026D6E4 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270788 0026D6E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027078C 0026D6EC 40 82 00 30 */ bne lbl_802707BC +/* 80270790 0026D6F0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80270794 0026D6F4 38 81 00 0C */ addi r4, r1, 0xc +/* 80270798 0026D6F8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8027079C 0026D6FC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802707A0 0026D700 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802707A4 0026D704 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802707A8 0026D708 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802707AC 0026D70C 81 83 00 00 */ lwz r12, 0(r3) +/* 802707B0 0026D710 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802707B4 0026D714 7D 89 03 A6 */ mtctr r12 +/* 802707B8 0026D718 4E 80 04 21 */ bctrl +lbl_802707BC: +/* 802707BC 0026D71C 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 802707C0 0026D720 FC 20 F8 90 */ fmr f1, f31 +/* 802707C4 0026D724 81 83 00 00 */ lwz r12, 0(r3) +/* 802707C8 0026D728 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802707CC 0026D72C 7D 89 03 A6 */ mtctr r12 +/* 802707D0 0026D730 4E 80 04 21 */ bctrl +lbl_802707D4: +/* 802707D4 0026D734 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802707D8 0026D738 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802707DC 0026D73C CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802707E0 0026D740 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 802707E4 0026D744 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 802707E8 0026D748 7C 08 03 A6 */ mtlr r0 +/* 802707EC 0026D74C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802707F0 0026D750 4E 80 00 20 */ blr + +.global Render__9CBurrowerFRC13CStateManager +Render__9CBurrowerFRC13CStateManager: +/* 802707F4 0026D754 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802707F8 0026D758 7C 08 02 A6 */ mflr r0 +/* 802707FC 0026D75C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80270800 0026D760 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80270804 0026D764 7C 9F 23 78 */ mr r31, r4 +/* 80270808 0026D768 93 C1 00 08 */ stw r30, 8(r1) +/* 8027080C 0026D76C 7C 7E 1B 78 */ mr r30, r3 +/* 80270810 0026D770 80 63 00 90 */ lwz r3, 0x90(r3) +/* 80270814 0026D774 28 03 00 00 */ cmplwi r3, 0 +/* 80270818 0026D778 41 82 00 28 */ beq lbl_80270840 +/* 8027081C 0026D77C 80 1E 06 74 */ lwz r0, 0x674(r30) +/* 80270820 0026D780 28 00 00 00 */ cmplwi r0, 0 +/* 80270824 0026D784 41 82 00 1C */ beq lbl_80270840 +/* 80270828 0026D788 4B E9 45 61 */ bl ActivateLights__12CActorLightsCFv +/* 8027082C 0026D78C 80 7E 06 74 */ lwz r3, 0x674(r30) +/* 80270830 0026D790 81 83 00 00 */ lwz r12, 0(r3) +/* 80270834 0026D794 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80270838 0026D798 7D 89 03 A6 */ mtctr r12 +/* 8027083C 0026D79C 4E 80 04 21 */ bctrl +lbl_80270840: +/* 80270840 0026D7A0 7F C3 F3 78 */ mr r3, r30 +/* 80270844 0026D7A4 7F E4 FB 78 */ mr r4, r31 +/* 80270848 0026D7A8 4B E0 77 E5 */ bl Render__10CPatternedCFRC13CStateManager +/* 8027084C 0026D7AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80270850 0026D7B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80270854 0026D7B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80270858 0026D7B8 7C 08 03 A6 */ mtlr r0 +/* 8027085C 0026D7BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80270860 0026D7C0 4E 80 00 20 */ blr + +.global AcceptScriptMsg__9CBurrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__9CBurrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80270864 0026D7C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80270868 0026D7C8 7C 08 02 A6 */ mflr r0 +/* 8027086C 0026D7CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80270870 0026D7D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80270874 0026D7D4 7C DF 33 78 */ mr r31, r6 +/* 80270878 0026D7D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027087C 0026D7DC 7C 9E 23 78 */ mr r30, r4 +/* 80270880 0026D7E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80270884 0026D7E4 7C 7D 1B 78 */ mr r29, r3 +/* 80270888 0026D7E8 A0 05 00 00 */ lhz r0, 0(r5) +/* 8027088C 0026D7EC 38 A1 00 08 */ addi r5, r1, 8 +/* 80270890 0026D7F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80270894 0026D7F4 4B E0 C2 E5 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80270898 0026D7F8 2C 1E 00 23 */ cmpwi r30, 0x23 +/* 8027089C 0026D7FC 41 82 00 30 */ beq lbl_802708CC +/* 802708A0 0026D800 40 80 00 10 */ bge lbl_802708B0 +/* 802708A4 0026D804 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 802708A8 0026D808 41 82 00 14 */ beq lbl_802708BC +/* 802708AC 0026D80C 48 00 00 98 */ b lbl_80270944 +lbl_802708B0: +/* 802708B0 0026D810 2C 1E 00 2A */ cmpwi r30, 0x2a +/* 802708B4 0026D814 41 82 00 88 */ beq lbl_8027093C +/* 802708B8 0026D818 48 00 00 8C */ b lbl_80270944 +lbl_802708BC: +/* 802708BC 0026D81C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 802708C0 0026D820 7F E4 FB 78 */ mr r4, r31 +/* 802708C4 0026D824 4B EC A4 2D */ bl Activate__15CBodyControllerFR13CStateManager +/* 802708C8 0026D828 48 00 00 7C */ b lbl_80270944 +lbl_802708CC: +/* 802708CC 0026D82C 80 FD 00 04 */ lwz r7, 4(r29) +/* 802708D0 0026D830 7F A3 EB 78 */ mr r3, r29 +/* 802708D4 0026D834 80 DF 08 50 */ lwz r6, 0x850(r31) +/* 802708D8 0026D838 7F E4 FB 78 */ mr r4, r31 +/* 802708DC 0026D83C 54 E5 18 38 */ slwi r5, r7, 3 +/* 802708E0 0026D840 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802708E4 0026D844 80 C6 00 20 */ lwz r6, 0x20(r6) +/* 802708E8 0026D848 38 05 00 04 */ addi r0, r5, 4 +/* 802708EC 0026D84C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802708F0 0026D850 7C A6 00 2E */ lwzx r5, r6, r0 +/* 802708F4 0026D854 C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) +/* 802708F8 0026D858 80 A5 01 2C */ lwz r5, 0x12c(r5) +/* 802708FC 0026D85C 80 05 10 BC */ lwz r0, 0x10bc(r5) +/* 80270900 0026D860 90 1D 05 68 */ stw r0, 0x568(r29) +/* 80270904 0026D864 4B F8 52 91 */ bl HasPatrolPath__10CPatternedFR13CStateManagerf +/* 80270908 0026D868 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027090C 0026D86C 40 82 00 38 */ bne lbl_80270944 +/* 80270910 0026D870 80 7D 06 78 */ lwz r3, 0x678(r29) +/* 80270914 0026D874 28 03 00 00 */ cmplwi r3, 0 +/* 80270918 0026D878 41 82 00 18 */ beq lbl_80270930 +/* 8027091C 0026D87C 81 83 00 00 */ lwz r12, 0(r3) +/* 80270920 0026D880 38 80 00 01 */ li r4, 1 +/* 80270924 0026D884 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270928 0026D888 7D 89 03 A6 */ mtctr r12 +/* 8027092C 0026D88C 4E 80 04 21 */ bctrl +lbl_80270930: +/* 80270930 0026D890 38 00 00 00 */ li r0, 0 +/* 80270934 0026D894 90 1D 06 78 */ stw r0, 0x678(r29) +/* 80270938 0026D898 48 00 00 0C */ b lbl_80270944 +lbl_8027093C: +/* 8027093C 0026D89C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 80270940 0026D8A0 D0 1D 06 A4 */ stfs f0, 0x6a4(r29) +lbl_80270944: +/* 80270944 0026D8A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80270948 0026D8A8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027094C 0026D8AC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80270950 0026D8B0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80270954 0026D8B4 7C 08 03 A6 */ mtlr r0 +/* 80270958 0026D8B8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027095C 0026D8BC 4E 80 00 20 */ blr + +.global __dt__9CBurrowerFv +__dt__9CBurrowerFv: +/* 80270960 0026D8C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80270964 0026D8C4 7C 08 02 A6 */ mflr r0 +/* 80270968 0026D8C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027096C 0026D8CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80270970 0026D8D0 7C 9F 23 78 */ mr r31, r4 +/* 80270974 0026D8D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80270978 0026D8D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8027097C 0026D8DC 41 82 01 6C */ beq lbl_80270AE8 +/* 80270980 0026D8E0 3C 60 80 3F */ lis r3, lbl_803EA7C4@ha +/* 80270984 0026D8E4 34 1E 06 8C */ addic. r0, r30, 0x68c +/* 80270988 0026D8E8 38 03 A7 C4 */ addi r0, r3, lbl_803EA7C4@l +/* 8027098C 0026D8EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80270990 0026D8F0 41 82 00 30 */ beq lbl_802709C0 +/* 80270994 0026D8F4 88 1E 06 98 */ lbz r0, 0x698(r30) +/* 80270998 0026D8F8 28 00 00 00 */ cmplwi r0, 0 +/* 8027099C 0026D8FC 41 82 00 1C */ beq lbl_802709B8 +/* 802709A0 0026D900 34 7E 06 8C */ addic. r3, r30, 0x68c +/* 802709A4 0026D904 41 82 00 14 */ beq lbl_802709B8 +/* 802709A8 0026D908 28 03 00 00 */ cmplwi r3, 0 +/* 802709AC 0026D90C 41 82 00 0C */ beq lbl_802709B8 +/* 802709B0 0026D910 38 80 00 00 */ li r4, 0 +/* 802709B4 0026D914 48 0D 04 8D */ bl __dt__6CTokenFv +lbl_802709B8: +/* 802709B8 0026D918 38 00 00 00 */ li r0, 0 +/* 802709BC 0026D91C 98 1E 06 98 */ stb r0, 0x698(r30) +lbl_802709C0: +/* 802709C0 0026D920 34 1E 06 7C */ addic. r0, r30, 0x67c +/* 802709C4 0026D924 41 82 00 30 */ beq lbl_802709F4 +/* 802709C8 0026D928 88 1E 06 88 */ lbz r0, 0x688(r30) +/* 802709CC 0026D92C 28 00 00 00 */ cmplwi r0, 0 +/* 802709D0 0026D930 41 82 00 1C */ beq lbl_802709EC +/* 802709D4 0026D934 34 7E 06 7C */ addic. r3, r30, 0x67c +/* 802709D8 0026D938 41 82 00 14 */ beq lbl_802709EC +/* 802709DC 0026D93C 28 03 00 00 */ cmplwi r3, 0 +/* 802709E0 0026D940 41 82 00 0C */ beq lbl_802709EC +/* 802709E4 0026D944 38 80 00 00 */ li r4, 0 +/* 802709E8 0026D948 48 0D 04 59 */ bl __dt__6CTokenFv +lbl_802709EC: +/* 802709EC 0026D94C 38 00 00 00 */ li r0, 0 +/* 802709F0 0026D950 98 1E 06 88 */ stb r0, 0x688(r30) +lbl_802709F4: +/* 802709F4 0026D954 34 1E 06 78 */ addic. r0, r30, 0x678 +/* 802709F8 0026D958 41 82 00 24 */ beq lbl_80270A1C +/* 802709FC 0026D95C 80 7E 06 78 */ lwz r3, 0x678(r30) +/* 80270A00 0026D960 28 03 00 00 */ cmplwi r3, 0 +/* 80270A04 0026D964 41 82 00 18 */ beq lbl_80270A1C +/* 80270A08 0026D968 81 83 00 00 */ lwz r12, 0(r3) +/* 80270A0C 0026D96C 38 80 00 01 */ li r4, 1 +/* 80270A10 0026D970 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270A14 0026D974 7D 89 03 A6 */ mtctr r12 +/* 80270A18 0026D978 4E 80 04 21 */ bctrl +lbl_80270A1C: +/* 80270A1C 0026D97C 34 1E 06 74 */ addic. r0, r30, 0x674 +/* 80270A20 0026D980 41 82 00 24 */ beq lbl_80270A44 +/* 80270A24 0026D984 80 7E 06 74 */ lwz r3, 0x674(r30) +/* 80270A28 0026D988 28 03 00 00 */ cmplwi r3, 0 +/* 80270A2C 0026D98C 41 82 00 18 */ beq lbl_80270A44 +/* 80270A30 0026D990 81 83 00 00 */ lwz r12, 0(r3) +/* 80270A34 0026D994 38 80 00 01 */ li r4, 1 +/* 80270A38 0026D998 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270A3C 0026D99C 7D 89 03 A6 */ mtctr r12 +/* 80270A40 0026D9A0 4E 80 04 21 */ bctrl +lbl_80270A44: +/* 80270A44 0026D9A4 34 1E 06 4C */ addic. r0, r30, 0x64c +/* 80270A48 0026D9A8 41 82 00 20 */ beq lbl_80270A68 +/* 80270A4C 0026D9AC 34 1E 06 4C */ addic. r0, r30, 0x64c +/* 80270A50 0026D9B0 41 82 00 18 */ beq lbl_80270A68 +/* 80270A54 0026D9B4 34 1E 06 4C */ addic. r0, r30, 0x64c +/* 80270A58 0026D9B8 41 82 00 10 */ beq lbl_80270A68 +/* 80270A5C 0026D9BC 38 7E 06 4C */ addi r3, r30, 0x64c +/* 80270A60 0026D9C0 38 80 00 00 */ li r4, 0 +/* 80270A64 0026D9C4 48 0D 03 DD */ bl __dt__6CTokenFv +lbl_80270A68: +/* 80270A68 0026D9C8 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80270A6C 0026D9CC 41 82 00 60 */ beq lbl_80270ACC +/* 80270A70 0026D9D0 34 1E 05 6C */ addic. r0, r30, 0x56c +/* 80270A74 0026D9D4 41 82 00 58 */ beq lbl_80270ACC +/* 80270A78 0026D9D8 80 BE 05 6C */ lwz r5, 0x56c(r30) +/* 80270A7C 0026D9DC 38 60 00 00 */ li r3, 0 +/* 80270A80 0026D9E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80270A84 0026D9E4 40 81 00 40 */ ble lbl_80270AC4 +/* 80270A88 0026D9E8 2C 05 00 08 */ cmpwi r5, 8 +/* 80270A8C 0026D9EC 38 85 FF F8 */ addi r4, r5, -8 +/* 80270A90 0026D9F0 40 81 00 20 */ ble lbl_80270AB0 +/* 80270A94 0026D9F4 38 04 00 07 */ addi r0, r4, 7 +/* 80270A98 0026D9F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80270A9C 0026D9FC 7C 09 03 A6 */ mtctr r0 +/* 80270AA0 0026DA00 2C 04 00 00 */ cmpwi r4, 0 +/* 80270AA4 0026DA04 40 81 00 0C */ ble lbl_80270AB0 +lbl_80270AA8: +/* 80270AA8 0026DA08 38 63 00 08 */ addi r3, r3, 8 +/* 80270AAC 0026DA0C 42 00 FF FC */ bdnz lbl_80270AA8 +lbl_80270AB0: +/* 80270AB0 0026DA10 7C 03 28 50 */ subf r0, r3, r5 +/* 80270AB4 0026DA14 7C 09 03 A6 */ mtctr r0 +/* 80270AB8 0026DA18 7C 03 28 00 */ cmpw r3, r5 +/* 80270ABC 0026DA1C 40 80 00 08 */ bge lbl_80270AC4 +lbl_80270AC0: +/* 80270AC0 0026DA20 42 00 00 00 */ bdnz lbl_80270AC0 +lbl_80270AC4: +/* 80270AC4 0026DA24 38 00 00 00 */ li r0, 0 +/* 80270AC8 0026DA28 90 1E 05 6C */ stw r0, 0x56c(r30) +lbl_80270ACC: +/* 80270ACC 0026DA2C 7F C3 F3 78 */ mr r3, r30 +/* 80270AD0 0026DA30 38 80 00 00 */ li r4, 0 +/* 80270AD4 0026DA34 4B E0 6A 9D */ bl __dt__10CPatternedFv +/* 80270AD8 0026DA38 7F E0 07 35 */ extsh. r0, r31 +/* 80270ADC 0026DA3C 40 81 00 0C */ ble lbl_80270AE8 +/* 80270AE0 0026DA40 7F C3 F3 78 */ mr r3, r30 +/* 80270AE4 0026DA44 48 0A 4E 4D */ bl Free__7CMemoryFPCv +lbl_80270AE8: +/* 80270AE8 0026DA48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80270AEC 0026DA4C 7F C3 F3 78 */ mr r3, r30 +/* 80270AF0 0026DA50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80270AF4 0026DA54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80270AF8 0026DA58 7C 08 03 A6 */ mtlr r0 +/* 80270AFC 0026DA5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80270B00 0026DA60 4E 80 00 20 */ blr + +.global __ct__9CBurrower +__ct__9CBurrower: +/* 80270B04 0026DA64 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80270B08 0026DA68 7C 08 02 A6 */ mflr r0 +/* 80270B0C 0026DA6C 39 60 00 00 */ li r11, 0 +/* 80270B10 0026DA70 7D 0C 43 78 */ mr r12, r8 +/* 80270B14 0026DA74 90 01 01 14 */ stw r0, 0x114(r1) +/* 80270B18 0026DA78 BE E1 00 EC */ stmw r23, 0xec(r1) +/* 80270B1C 0026DA7C 7D 37 4B 78 */ mr r23, r9 +/* 80270B20 0026DA80 7C E9 3B 78 */ mr r9, r7 +/* 80270B24 0026DA84 83 61 01 18 */ lwz r27, 0x118(r1) +/* 80270B28 0026DA88 83 81 01 1C */ lwz r28, 0x11c(r1) +/* 80270B2C 0026DA8C 7C 7F 1B 78 */ mr r31, r3 +/* 80270B30 0026DA90 83 01 01 20 */ lwz r24, 0x120(r1) +/* 80270B34 0026DA94 38 E0 00 00 */ li r7, 0 +/* 80270B38 0026DA98 83 21 01 24 */ lwz r25, 0x124(r1) +/* 80270B3C 0026DA9C 83 A1 01 28 */ lwz r29, 0x128(r1) +/* 80270B40 0026DAA0 83 41 01 2C */ lwz r26, 0x12c(r1) +/* 80270B44 0026DAA4 83 C1 01 30 */ lwz r30, 0x130(r1) +/* 80270B48 0026DAA8 A0 04 00 00 */ lhz r0, 0(r4) +/* 80270B4C 0026DAAC 7C C4 33 78 */ mr r4, r6 +/* 80270B50 0026DAB0 7C A6 2B 78 */ mr r6, r5 +/* 80270B54 0026DAB4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80270B58 0026DAB8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80270B5C 0026DABC 7C 88 23 78 */ mr r8, r4 +/* 80270B60 0026DAC0 38 00 00 01 */ li r0, 1 +/* 80270B64 0026DAC4 38 80 00 05 */ li r4, 5 +/* 80270B68 0026DAC8 92 E1 00 08 */ stw r23, 8(r1) +/* 80270B6C 0026DACC 91 61 00 0C */ stw r11, 0xc(r1) +/* 80270B70 0026DAD0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80270B74 0026DAD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80270B78 0026DAD8 91 41 00 18 */ stw r10, 0x18(r1) +/* 80270B7C 0026DADC 7D 8A 63 78 */ mr r10, r12 +/* 80270B80 0026DAE0 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80270B84 0026DAE4 4B E0 C8 CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80270B88 0026DAE8 3C 60 80 3F */ lis r3, lbl_803EA7C4@ha +/* 80270B8C 0026DAEC C0 22 BB B8 */ lfs f1, lbl_805AD8D8@sda21(r2) +/* 80270B90 0026DAF0 38 03 A7 C4 */ addi r0, r3, lbl_803EA7C4@l +/* 80270B94 0026DAF4 38 7F 05 68 */ addi r3, r31, 0x568 +/* 80270B98 0026DAF8 90 1F 00 00 */ stw r0, 0(r31) +/* 80270B9C 0026DAFC FC 40 08 90 */ fmr f2, f1 +/* 80270BA0 0026DB00 38 80 00 00 */ li r4, 0 +/* 80270BA4 0026DB04 38 A0 00 01 */ li r5, 1 +/* 80270BA8 0026DB08 80 D7 01 0C */ lwz r6, 0x10c(r23) +/* 80270BAC 0026DB0C 4B F5 81 E9 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80270BB0 0026DB10 80 98 00 00 */ lwz r4, 0(r24) +/* 80270BB4 0026DB14 7F 25 CB 78 */ mr r5, r25 +/* 80270BB8 0026DB18 38 7F 06 4C */ addi r3, r31, 0x64c +/* 80270BBC 0026DB1C 4B FA B4 ED */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 80270BC0 0026DB20 38 00 00 00 */ li r0, 0 +/* 80270BC4 0026DB24 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270BC8 0026DB28 90 1F 06 74 */ stw r0, 0x674(r31) +/* 80270BCC 0026DB2C 57 43 04 3E */ clrlwi r3, r26, 0x10 +/* 80270BD0 0026DB30 90 1F 06 78 */ stw r0, 0x678(r31) +/* 80270BD4 0026DB34 98 1F 06 88 */ stb r0, 0x688(r31) +/* 80270BD8 0026DB38 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80270BDC 0026DB3C D0 1F 06 9C */ stfs f0, 0x69c(r31) +/* 80270BE0 0026DB40 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) +/* 80270BE4 0026DB44 D0 1F 06 A4 */ stfs f0, 0x6a4(r31) +/* 80270BE8 0026DB48 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80270BEC 0026DB4C B0 1F 06 A8 */ sth r0, 0x6a8(r31) +/* 80270BF0 0026DB50 48 07 7D C1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80270BF4 0026DB54 B0 7F 06 AA */ sth r3, 0x6aa(r31) +/* 80270BF8 0026DB58 38 A0 00 00 */ li r5, 0 +/* 80270BFC 0026DB5C 7F E3 FB 78 */ mr r3, r31 +/* 80270C00 0026DB60 38 80 00 00 */ li r4, 0 +/* 80270C04 0026DB64 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270C08 0026DB68 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80270C0C 0026DB6C 98 1F 06 AC */ stb r0, 0x6ac(r31) +/* 80270C10 0026DB70 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270C14 0026DB74 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80270C18 0026DB78 98 1F 06 AC */ stb r0, 0x6ac(r31) +/* 80270C1C 0026DB7C 4B DE 21 51 */ bl CreateShadow__6CActorFb +/* 80270C20 0026DB80 7F E3 FB 78 */ mr r3, r31 +/* 80270C24 0026DB84 4B E0 6C 71 */ bl MakeThermalColdAndHot__10CPatternedFv +/* 80270C28 0026DB88 38 7F 06 4C */ addi r3, r31, 0x64c +/* 80270C2C 0026DB8C 48 0D 01 59 */ bl Lock__6CTokenFv +/* 80270C30 0026DB90 80 9B 00 00 */ lwz r4, 0(r27) +/* 80270C34 0026DB94 3C 04 00 01 */ addis r0, r4, 1 +/* 80270C38 0026DB98 28 00 FF FF */ cmplwi r0, 0xffff +/* 80270C3C 0026DB9C 41 82 01 7C */ beq lbl_80270DB8 +/* 80270C40 0026DBA0 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80270C44 0026DBA4 90 81 00 70 */ stw r4, 0x70(r1) +/* 80270C48 0026DBA8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80270C4C 0026DBAC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80270C50 0026DBB0 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80270C54 0026DBB4 38 61 00 64 */ addi r3, r1, 0x64 +/* 80270C58 0026DBB8 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80270C5C 0026DBBC 81 84 00 00 */ lwz r12, 0(r4) +/* 80270C60 0026DBC0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270C64 0026DBC4 7D 89 03 A6 */ mtctr r12 +/* 80270C68 0026DBC8 4E 80 04 21 */ bctrl +/* 80270C6C 0026DBCC 3A E1 00 C0 */ addi r23, r1, 0xc0 +/* 80270C70 0026DBD0 38 81 00 64 */ addi r4, r1, 0x64 +/* 80270C74 0026DBD4 7E E3 BB 78 */ mr r3, r23 +/* 80270C78 0026DBD8 48 0D 02 31 */ bl __ct__6CTokenFRC6CToken +/* 80270C7C 0026DBDC 7E E3 BB 78 */ mr r3, r23 +/* 80270C80 0026DBE0 48 0D 01 8D */ bl GetObj__6CTokenFv +/* 80270C84 0026DBE4 80 03 00 04 */ lwz r0, 4(r3) +/* 80270C88 0026DBE8 3A E1 00 D8 */ addi r23, r1, 0xd8 +/* 80270C8C 0026DBEC 7E E3 BB 78 */ mr r3, r23 +/* 80270C90 0026DBF0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 80270C94 0026DBF4 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 80270C98 0026DBF8 48 0D 02 11 */ bl __ct__6CTokenFRC6CToken +/* 80270C9C 0026DBFC 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 80270CA0 0026DC00 7E E3 BB 78 */ mr r3, r23 +/* 80270CA4 0026DC04 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80270CA8 0026DC08 48 0D 00 DD */ bl Lock__6CTokenFv +/* 80270CAC 0026DC0C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80270CB0 0026DC10 38 80 00 00 */ li r4, 0 +/* 80270CB4 0026DC14 48 0D 01 8D */ bl __dt__6CTokenFv +/* 80270CB8 0026DC18 38 61 00 64 */ addi r3, r1, 0x64 +/* 80270CBC 0026DC1C 38 80 FF FF */ li r4, -1 +/* 80270CC0 0026DC20 48 0D 01 81 */ bl __dt__6CTokenFv +/* 80270CC4 0026DC24 3C 60 80 3D */ lis r3, lbl_803D5420@ha +/* 80270CC8 0026DC28 3A E0 00 00 */ li r23, 0 +/* 80270CCC 0026DC2C 38 83 54 20 */ addi r4, r3, lbl_803D5420@l +/* 80270CD0 0026DC30 38 A0 00 00 */ li r5, 0 +/* 80270CD4 0026DC34 38 60 03 40 */ li r3, 0x340 +/* 80270CD8 0026DC38 48 0A 4B 95 */ bl __nw__FUlPCcPCc +/* 80270CDC 0026DC3C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80270CE0 0026DC40 41 82 00 2C */ beq lbl_80270D0C +/* 80270CE4 0026DC44 38 61 00 5C */ addi r3, r1, 0x5c +/* 80270CE8 0026DC48 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80270CEC 0026DC4C 48 0D 01 BD */ bl __ct__6CTokenFRC6CToken +/* 80270CF0 0026DC50 7F 63 DB 78 */ mr r3, r27 +/* 80270CF4 0026DC54 38 81 00 5C */ addi r4, r1, 0x5c +/* 80270CF8 0026DC58 3A E0 00 01 */ li r23, 1 +/* 80270CFC 0026DC5C 38 A0 00 01 */ li r5, 1 +/* 80270D00 0026DC60 38 C0 00 01 */ li r6, 1 +/* 80270D04 0026DC64 48 0A E6 DD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80270D08 0026DC68 7C 7B 1B 78 */ mr r27, r3 +lbl_80270D0C: +/* 80270D0C 0026DC6C 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270D10 0026DC70 28 03 00 00 */ cmplwi r3, 0 +/* 80270D14 0026DC74 41 82 00 18 */ beq lbl_80270D2C +/* 80270D18 0026DC78 81 83 00 00 */ lwz r12, 0(r3) +/* 80270D1C 0026DC7C 38 80 00 01 */ li r4, 1 +/* 80270D20 0026DC80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270D24 0026DC84 7D 89 03 A6 */ mtctr r12 +/* 80270D28 0026DC88 4E 80 04 21 */ bctrl +lbl_80270D2C: +/* 80270D2C 0026DC8C 7E E0 07 75 */ extsb. r0, r23 +/* 80270D30 0026DC90 93 7F 06 74 */ stw r27, 0x674(r31) +/* 80270D34 0026DC94 41 82 00 10 */ beq lbl_80270D44 +/* 80270D38 0026DC98 38 61 00 5C */ addi r3, r1, 0x5c +/* 80270D3C 0026DC9C 38 80 00 00 */ li r4, 0 +/* 80270D40 0026DCA0 48 0D 01 01 */ bl __dt__6CTokenFv +lbl_80270D44: +/* 80270D44 0026DCA4 80 BF 06 74 */ lwz r5, 0x674(r31) +/* 80270D48 0026DCA8 28 05 00 00 */ cmplwi r5, 0 +/* 80270D4C 0026DCAC 41 82 00 60 */ beq lbl_80270DAC +/* 80270D50 0026DCB0 88 05 02 6D */ lbz r0, 0x26d(r5) +/* 80270D54 0026DCB4 38 60 00 01 */ li r3, 1 +/* 80270D58 0026DCB8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80270D5C 0026DCBC 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80270D60 0026DCC0 98 05 02 6D */ stb r0, 0x26d(r5) +/* 80270D64 0026DCC4 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80270D68 0026DCC8 C0 03 00 00 */ lfs f0, 0(r3) +/* 80270D6C 0026DCCC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80270D70 0026DCD0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80270D74 0026DCD4 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80270D78 0026DCD8 C0 03 00 08 */ lfs f0, 8(r3) +/* 80270D7C 0026DCDC D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80270D80 0026DCE0 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270D84 0026DCE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80270D88 0026DCE8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80270D8C 0026DCEC 7D 89 03 A6 */ mtctr r12 +/* 80270D90 0026DCF0 4E 80 04 21 */ bctrl +/* 80270D94 0026DCF4 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270D98 0026DCF8 38 80 00 00 */ li r4, 0 +/* 80270D9C 0026DCFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80270DA0 0026DD00 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270DA4 0026DD04 7D 89 03 A6 */ mtctr r12 +/* 80270DA8 0026DD08 4E 80 04 21 */ bctrl +lbl_80270DAC: +/* 80270DAC 0026DD0C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80270DB0 0026DD10 38 80 00 00 */ li r4, 0 +/* 80270DB4 0026DD14 48 0D 00 8D */ bl __dt__6CTokenFv +lbl_80270DB8: +/* 80270DB8 0026DD18 80 9C 00 00 */ lwz r4, 0(r28) +/* 80270DBC 0026DD1C 3C 04 00 01 */ addis r0, r4, 1 +/* 80270DC0 0026DD20 28 00 FF FF */ cmplwi r0, 0xffff +/* 80270DC4 0026DD24 41 82 01 68 */ beq lbl_80270F2C +/* 80270DC8 0026DD28 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80270DCC 0026DD2C 90 81 00 58 */ stw r4, 0x58(r1) +/* 80270DD0 0026DD30 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80270DD4 0026DD34 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80270DD8 0026DD38 90 01 00 54 */ stw r0, 0x54(r1) +/* 80270DDC 0026DD3C 38 61 00 4C */ addi r3, r1, 0x4c +/* 80270DE0 0026DD40 38 A1 00 54 */ addi r5, r1, 0x54 +/* 80270DE4 0026DD44 81 84 00 00 */ lwz r12, 0(r4) +/* 80270DE8 0026DD48 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270DEC 0026DD4C 7D 89 03 A6 */ mtctr r12 +/* 80270DF0 0026DD50 4E 80 04 21 */ bctrl +/* 80270DF4 0026DD54 3A E1 00 A8 */ addi r23, r1, 0xa8 +/* 80270DF8 0026DD58 38 81 00 4C */ addi r4, r1, 0x4c +/* 80270DFC 0026DD5C 7E E3 BB 78 */ mr r3, r23 +/* 80270E00 0026DD60 48 0D 00 A9 */ bl __ct__6CTokenFRC6CToken +/* 80270E04 0026DD64 7E E3 BB 78 */ mr r3, r23 +/* 80270E08 0026DD68 48 0D 00 05 */ bl GetObj__6CTokenFv +/* 80270E0C 0026DD6C 80 03 00 04 */ lwz r0, 4(r3) +/* 80270E10 0026DD70 3A E1 00 CC */ addi r23, r1, 0xcc +/* 80270E14 0026DD74 7E E3 BB 78 */ mr r3, r23 +/* 80270E18 0026DD78 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80270E1C 0026DD7C 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80270E20 0026DD80 48 0D 00 89 */ bl __ct__6CTokenFRC6CToken +/* 80270E24 0026DD84 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 80270E28 0026DD88 7E E3 BB 78 */ mr r3, r23 +/* 80270E2C 0026DD8C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80270E30 0026DD90 48 0C FF 55 */ bl Lock__6CTokenFv +/* 80270E34 0026DD94 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80270E38 0026DD98 38 80 00 00 */ li r4, 0 +/* 80270E3C 0026DD9C 48 0D 00 05 */ bl __dt__6CTokenFv +/* 80270E40 0026DDA0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80270E44 0026DDA4 38 80 FF FF */ li r4, -1 +/* 80270E48 0026DDA8 48 0C FF F9 */ bl __dt__6CTokenFv +/* 80270E4C 0026DDAC 3C 60 80 3D */ lis r3, lbl_803D5420@ha +/* 80270E50 0026DDB0 3A E0 00 00 */ li r23, 0 +/* 80270E54 0026DDB4 38 83 54 20 */ addi r4, r3, lbl_803D5420@l +/* 80270E58 0026DDB8 38 A0 00 00 */ li r5, 0 +/* 80270E5C 0026DDBC 38 60 03 40 */ li r3, 0x340 +/* 80270E60 0026DDC0 48 0A 4A 0D */ bl __nw__FUlPCcPCc +/* 80270E64 0026DDC4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80270E68 0026DDC8 41 82 00 2C */ beq lbl_80270E94 +/* 80270E6C 0026DDCC 38 61 00 44 */ addi r3, r1, 0x44 +/* 80270E70 0026DDD0 38 81 00 CC */ addi r4, r1, 0xcc +/* 80270E74 0026DDD4 48 0D 00 35 */ bl __ct__6CTokenFRC6CToken +/* 80270E78 0026DDD8 7F 63 DB 78 */ mr r3, r27 +/* 80270E7C 0026DDDC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80270E80 0026DDE0 3A E0 00 01 */ li r23, 1 +/* 80270E84 0026DDE4 38 A0 00 00 */ li r5, 0 +/* 80270E88 0026DDE8 38 C0 00 01 */ li r6, 1 +/* 80270E8C 0026DDEC 48 0A E5 55 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80270E90 0026DDF0 7C 7B 1B 78 */ mr r27, r3 +lbl_80270E94: +/* 80270E94 0026DDF4 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270E98 0026DDF8 28 03 00 00 */ cmplwi r3, 0 +/* 80270E9C 0026DDFC 41 82 00 18 */ beq lbl_80270EB4 +/* 80270EA0 0026DE00 81 83 00 00 */ lwz r12, 0(r3) +/* 80270EA4 0026DE04 38 80 00 01 */ li r4, 1 +/* 80270EA8 0026DE08 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270EAC 0026DE0C 7D 89 03 A6 */ mtctr r12 +/* 80270EB0 0026DE10 4E 80 04 21 */ bctrl +lbl_80270EB4: +/* 80270EB4 0026DE14 7E E0 07 75 */ extsb. r0, r23 +/* 80270EB8 0026DE18 93 7F 06 78 */ stw r27, 0x678(r31) +/* 80270EBC 0026DE1C 41 82 00 10 */ beq lbl_80270ECC +/* 80270EC0 0026DE20 38 61 00 44 */ addi r3, r1, 0x44 +/* 80270EC4 0026DE24 38 80 00 00 */ li r4, 0 +/* 80270EC8 0026DE28 48 0C FF 79 */ bl __dt__6CTokenFv +lbl_80270ECC: +/* 80270ECC 0026DE2C 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270ED0 0026DE30 28 03 00 00 */ cmplwi r3, 0 +/* 80270ED4 0026DE34 41 82 00 4C */ beq lbl_80270F20 +/* 80270ED8 0026DE38 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80270EDC 0026DE3C 38 81 00 9C */ addi r4, r1, 0x9c +/* 80270EE0 0026DE40 C0 05 00 00 */ lfs f0, 0(r5) +/* 80270EE4 0026DE44 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80270EE8 0026DE48 C0 05 00 04 */ lfs f0, 4(r5) +/* 80270EEC 0026DE4C D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80270EF0 0026DE50 C0 05 00 08 */ lfs f0, 8(r5) +/* 80270EF4 0026DE54 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80270EF8 0026DE58 81 83 00 00 */ lwz r12, 0(r3) +/* 80270EFC 0026DE5C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80270F00 0026DE60 7D 89 03 A6 */ mtctr r12 +/* 80270F04 0026DE64 4E 80 04 21 */ bctrl +/* 80270F08 0026DE68 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270F0C 0026DE6C 38 80 00 00 */ li r4, 0 +/* 80270F10 0026DE70 81 83 00 00 */ lwz r12, 0(r3) +/* 80270F14 0026DE74 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270F18 0026DE78 7D 89 03 A6 */ mtctr r12 +/* 80270F1C 0026DE7C 4E 80 04 21 */ bctrl +lbl_80270F20: +/* 80270F20 0026DE80 38 61 00 CC */ addi r3, r1, 0xcc +/* 80270F24 0026DE84 38 80 00 00 */ li r4, 0 +/* 80270F28 0026DE88 48 0C FF 19 */ bl __dt__6CTokenFv +lbl_80270F2C: +/* 80270F2C 0026DE8C 80 9D 00 00 */ lwz r4, 0(r29) +/* 80270F30 0026DE90 3C 04 00 01 */ addis r0, r4, 1 +/* 80270F34 0026DE94 28 00 FF FF */ cmplwi r0, 0xffff +/* 80270F38 0026DE98 41 82 01 58 */ beq lbl_80271090 +/* 80270F3C 0026DE9C 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80270F40 0026DEA0 90 81 00 40 */ stw r4, 0x40(r1) +/* 80270F44 0026DEA4 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80270F48 0026DEA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80270F4C 0026DEAC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80270F50 0026DEB0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80270F54 0026DEB4 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80270F58 0026DEB8 81 84 00 00 */ lwz r12, 0(r4) +/* 80270F5C 0026DEBC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270F60 0026DEC0 7D 89 03 A6 */ mtctr r12 +/* 80270F64 0026DEC4 4E 80 04 21 */ bctrl +/* 80270F68 0026DEC8 3A E1 00 90 */ addi r23, r1, 0x90 +/* 80270F6C 0026DECC 38 81 00 34 */ addi r4, r1, 0x34 +/* 80270F70 0026DED0 7E E3 BB 78 */ mr r3, r23 +/* 80270F74 0026DED4 48 0C FF 35 */ bl __ct__6CTokenFRC6CToken +/* 80270F78 0026DED8 7E E3 BB 78 */ mr r3, r23 +/* 80270F7C 0026DEDC 48 0C FE 91 */ bl GetObj__6CTokenFv +/* 80270F80 0026DEE0 80 63 00 04 */ lwz r3, 4(r3) +/* 80270F84 0026DEE4 38 00 00 01 */ li r0, 1 +/* 80270F88 0026DEE8 37 61 00 80 */ addic. r27, r1, 0x80 +/* 80270F8C 0026DEEC 90 61 00 98 */ stw r3, 0x98(r1) +/* 80270F90 0026DEF0 98 01 00 8C */ stb r0, 0x8c(r1) +/* 80270F94 0026DEF4 41 82 00 20 */ beq lbl_80270FB4 +/* 80270F98 0026DEF8 7F 63 DB 78 */ mr r3, r27 +/* 80270F9C 0026DEFC 7E E4 BB 78 */ mr r4, r23 +/* 80270FA0 0026DF00 48 0C FF 09 */ bl __ct__6CTokenFRC6CToken +/* 80270FA4 0026DF04 80 01 00 98 */ lwz r0, 0x98(r1) +/* 80270FA8 0026DF08 7F 63 DB 78 */ mr r3, r27 +/* 80270FAC 0026DF0C 90 1B 00 08 */ stw r0, 8(r27) +/* 80270FB0 0026DF10 48 0C FD D5 */ bl Lock__6CTokenFv +lbl_80270FB4: +/* 80270FB4 0026DF14 3B 7F 06 7C */ addi r27, r31, 0x67c +/* 80270FB8 0026DF18 38 81 00 80 */ addi r4, r1, 0x80 +/* 80270FBC 0026DF1C 7C 1B 20 40 */ cmplw r27, r4 +/* 80270FC0 0026DF20 41 82 00 8C */ beq lbl_8027104C +/* 80270FC4 0026DF24 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 80270FC8 0026DF28 28 00 00 00 */ cmplwi r0, 0 +/* 80270FCC 0026DF2C 41 82 00 54 */ beq lbl_80271020 +/* 80270FD0 0026DF30 88 1F 06 88 */ lbz r0, 0x688(r31) +/* 80270FD4 0026DF34 28 00 00 00 */ cmplwi r0, 0 +/* 80270FD8 0026DF38 40 82 00 34 */ bne lbl_8027100C +/* 80270FDC 0026DF3C 28 1B 00 00 */ cmplwi r27, 0 +/* 80270FE0 0026DF40 41 82 00 20 */ beq lbl_80271000 +/* 80270FE4 0026DF44 7F 77 DB 78 */ mr r23, r27 +/* 80270FE8 0026DF48 7F 63 DB 78 */ mr r3, r27 +/* 80270FEC 0026DF4C 48 0C FE BD */ bl __ct__6CTokenFRC6CToken +/* 80270FF0 0026DF50 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80270FF4 0026DF54 7E E3 BB 78 */ mr r3, r23 +/* 80270FF8 0026DF58 90 17 00 08 */ stw r0, 8(r23) +/* 80270FFC 0026DF5C 48 0C FD 89 */ bl Lock__6CTokenFv +lbl_80271000: +/* 80271000 0026DF60 38 00 00 01 */ li r0, 1 +/* 80271004 0026DF64 98 1F 06 88 */ stb r0, 0x688(r31) +/* 80271008 0026DF68 48 00 00 44 */ b lbl_8027104C +lbl_8027100C: +/* 8027100C 0026DF6C 7F 63 DB 78 */ mr r3, r27 +/* 80271010 0026DF70 48 0C FC B5 */ bl __as__6CTokenFRC6CToken +/* 80271014 0026DF74 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80271018 0026DF78 90 1B 00 08 */ stw r0, 8(r27) +/* 8027101C 0026DF7C 48 00 00 30 */ b lbl_8027104C +lbl_80271020: +/* 80271020 0026DF80 88 1F 06 88 */ lbz r0, 0x688(r31) +/* 80271024 0026DF84 28 00 00 00 */ cmplwi r0, 0 +/* 80271028 0026DF88 41 82 00 1C */ beq lbl_80271044 +/* 8027102C 0026DF8C 28 1B 00 00 */ cmplwi r27, 0 +/* 80271030 0026DF90 41 82 00 14 */ beq lbl_80271044 +/* 80271034 0026DF94 41 82 00 10 */ beq lbl_80271044 +/* 80271038 0026DF98 7F 63 DB 78 */ mr r3, r27 +/* 8027103C 0026DF9C 38 80 00 00 */ li r4, 0 +/* 80271040 0026DFA0 48 0C FE 01 */ bl __dt__6CTokenFv +lbl_80271044: +/* 80271044 0026DFA4 38 00 00 00 */ li r0, 0 +/* 80271048 0026DFA8 98 1F 06 88 */ stb r0, 0x688(r31) +lbl_8027104C: +/* 8027104C 0026DFAC 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 80271050 0026DFB0 28 00 00 00 */ cmplwi r0, 0 +/* 80271054 0026DFB4 41 82 00 1C */ beq lbl_80271070 +/* 80271058 0026DFB8 34 61 00 80 */ addic. r3, r1, 0x80 +/* 8027105C 0026DFBC 41 82 00 14 */ beq lbl_80271070 +/* 80271060 0026DFC0 28 03 00 00 */ cmplwi r3, 0 +/* 80271064 0026DFC4 41 82 00 0C */ beq lbl_80271070 +/* 80271068 0026DFC8 38 80 00 00 */ li r4, 0 +/* 8027106C 0026DFCC 48 0C FD D5 */ bl __dt__6CTokenFv +lbl_80271070: +/* 80271070 0026DFD0 38 00 00 00 */ li r0, 0 +/* 80271074 0026DFD4 38 61 00 90 */ addi r3, r1, 0x90 +/* 80271078 0026DFD8 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8027107C 0026DFDC 38 80 00 00 */ li r4, 0 +/* 80271080 0026DFE0 48 0C FD C1 */ bl __dt__6CTokenFv +/* 80271084 0026DFE4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80271088 0026DFE8 38 80 FF FF */ li r4, -1 +/* 8027108C 0026DFEC 48 0C FD B5 */ bl __dt__6CTokenFv +lbl_80271090: +/* 80271090 0026DFF0 3C 1E 00 01 */ addis r0, r30, 1 +/* 80271094 0026DFF4 28 00 FF FF */ cmplwi r0, 0xffff +/* 80271098 0026DFF8 41 82 00 B0 */ beq lbl_80271148 +/* 8027109C 0026DFFC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802710A0 0026E000 93 C1 00 30 */ stw r30, 0x30(r1) +/* 802710A4 0026E004 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 802710A8 0026E008 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802710AC 0026E00C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802710B0 0026E010 38 61 00 24 */ addi r3, r1, 0x24 +/* 802710B4 0026E014 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802710B8 0026E018 81 84 00 00 */ lwz r12, 0(r4) +/* 802710BC 0026E01C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802710C0 0026E020 7D 89 03 A6 */ mtctr r12 +/* 802710C4 0026E024 4E 80 04 21 */ bctrl +/* 802710C8 0026E028 38 61 00 74 */ addi r3, r1, 0x74 +/* 802710CC 0026E02C 38 81 00 24 */ addi r4, r1, 0x24 +/* 802710D0 0026E030 48 0C FD D9 */ bl __ct__6CTokenFRC6CToken +/* 802710D4 0026E034 38 00 00 00 */ li r0, 0 +/* 802710D8 0026E038 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802710DC 0026E03C 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 802710E0 0026E040 28 00 00 00 */ cmplwi r0, 0 +/* 802710E4 0026E044 40 82 00 2C */ bne lbl_80271110 +/* 802710E8 0026E048 37 7F 06 8C */ addic. r27, r31, 0x68c +/* 802710EC 0026E04C 41 82 00 18 */ beq lbl_80271104 +/* 802710F0 0026E050 7F 63 DB 78 */ mr r3, r27 +/* 802710F4 0026E054 38 81 00 74 */ addi r4, r1, 0x74 +/* 802710F8 0026E058 48 0C FD B1 */ bl __ct__6CTokenFRC6CToken +/* 802710FC 0026E05C 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80271100 0026E060 90 1B 00 08 */ stw r0, 8(r27) +lbl_80271104: +/* 80271104 0026E064 38 00 00 01 */ li r0, 1 +/* 80271108 0026E068 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8027110C 0026E06C 48 00 00 1C */ b lbl_80271128 +lbl_80271110: +/* 80271110 0026E070 3B 7F 06 8C */ addi r27, r31, 0x68c +/* 80271114 0026E074 38 81 00 74 */ addi r4, r1, 0x74 +/* 80271118 0026E078 7F 63 DB 78 */ mr r3, r27 +/* 8027111C 0026E07C 48 0C FB A9 */ bl __as__6CTokenFRC6CToken +/* 80271120 0026E080 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80271124 0026E084 90 1B 00 08 */ stw r0, 8(r27) +lbl_80271128: +/* 80271128 0026E088 38 61 00 74 */ addi r3, r1, 0x74 +/* 8027112C 0026E08C 38 80 00 00 */ li r4, 0 +/* 80271130 0026E090 48 0C FD 11 */ bl __dt__6CTokenFv +/* 80271134 0026E094 38 61 00 24 */ addi r3, r1, 0x24 +/* 80271138 0026E098 38 80 FF FF */ li r4, -1 +/* 8027113C 0026E09C 48 0C FD 05 */ bl __dt__6CTokenFv +/* 80271140 0026E0A0 38 7F 06 8C */ addi r3, r31, 0x68c +/* 80271144 0026E0A4 48 0C FC 41 */ bl Lock__6CTokenFv +lbl_80271148: +/* 80271148 0026E0A8 7F E3 FB 78 */ mr r3, r31 +/* 8027114C 0026E0AC BA E1 00 EC */ lmw r23, 0xec(r1) +/* 80271150 0026E0B0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80271154 0026E0B4 7C 08 03 A6 */ mtlr r0 +/* 80271158 0026E0B8 38 21 01 10 */ addi r1, r1, 0x110 +/* 8027115C 0026E0BC 4E 80 00 20 */ blr + +.global __sinit_CBurrower_cpp +__sinit_CBurrower_cpp: +/* 80271160 0026E0C0 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80271164 0026E0C4 7C 08 02 A6 */ mflr r0 +/* 80271168 0026E0C8 39 60 00 02 */ li r11, 2 +/* 8027116C 0026E0CC 38 80 00 02 */ li r4, 2 +/* 80271170 0026E0D0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80271174 0026E0D4 38 00 00 00 */ li r0, 0 +/* 80271178 0026E0D8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8027117C 0026E0DC 38 A0 00 02 */ li r5, 2 +/* 80271180 0026E0E0 BE 01 00 A0 */ stmw r16, 0xa0(r1) +/* 80271184 0026E0E4 38 C0 00 02 */ li r6, 2 +/* 80271188 0026E0E8 38 E0 00 02 */ li r7, 2 +/* 8027118C 0026E0EC 39 00 00 01 */ li r8, 1 +/* 80271190 0026E0F0 39 20 00 01 */ li r9, 1 +/* 80271194 0026E0F4 39 40 00 02 */ li r10, 2 +/* 80271198 0026E0F8 91 61 00 08 */ stw r11, 8(r1) +/* 8027119C 0026E0FC 91 61 00 0C */ stw r11, 0xc(r1) +/* 802711A0 0026E100 91 61 00 10 */ stw r11, 0x10(r1) +/* 802711A4 0026E104 91 61 00 14 */ stw r11, 0x14(r1) +/* 802711A8 0026E108 91 61 00 18 */ stw r11, 0x18(r1) +/* 802711AC 0026E10C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 802711B0 0026E110 91 61 00 20 */ stw r11, 0x20(r1) +/* 802711B4 0026E114 91 61 00 24 */ stw r11, 0x24(r1) +/* 802711B8 0026E118 90 01 00 28 */ stw r0, 0x28(r1) +/* 802711BC 0026E11C 4B E9 17 79 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 802711C0 0026E120 3C 60 80 57 */ lis r3, lbl_80572694@ha +/* 802711C4 0026E124 82 21 00 30 */ lwz r17, 0x30(r1) +/* 802711C8 0026E128 3A 03 26 94 */ addi r16, r3, lbl_80572694@l +/* 802711CC 0026E12C 82 41 00 34 */ lwz r18, 0x34(r1) +/* 802711D0 0026E130 82 61 00 38 */ lwz r19, 0x38(r1) +/* 802711D4 0026E134 82 81 00 3C */ lwz r20, 0x3c(r1) +/* 802711D8 0026E138 82 A1 00 40 */ lwz r21, 0x40(r1) +/* 802711DC 0026E13C 82 C1 00 44 */ lwz r22, 0x44(r1) +/* 802711E0 0026E140 82 E1 00 48 */ lwz r23, 0x48(r1) +/* 802711E4 0026E144 83 01 00 4C */ lwz r24, 0x4c(r1) +/* 802711E8 0026E148 83 21 00 50 */ lwz r25, 0x50(r1) +/* 802711EC 0026E14C 83 41 00 54 */ lwz r26, 0x54(r1) +/* 802711F0 0026E150 83 61 00 58 */ lwz r27, 0x58(r1) +/* 802711F4 0026E154 83 81 00 5C */ lwz r28, 0x5c(r1) +/* 802711F8 0026E158 83 A1 00 60 */ lwz r29, 0x60(r1) +/* 802711FC 0026E15C 83 C1 00 64 */ lwz r30, 0x64(r1) +/* 80271200 0026E160 83 E1 00 68 */ lwz r31, 0x68(r1) +/* 80271204 0026E164 81 81 00 6C */ lwz r12, 0x6c(r1) +/* 80271208 0026E168 81 61 00 70 */ lwz r11, 0x70(r1) +/* 8027120C 0026E16C 81 41 00 74 */ lwz r10, 0x74(r1) +/* 80271210 0026E170 81 21 00 78 */ lwz r9, 0x78(r1) +/* 80271214 0026E174 81 01 00 7C */ lwz r8, 0x7c(r1) +/* 80271218 0026E178 80 E1 00 80 */ lwz r7, 0x80(r1) +/* 8027121C 0026E17C 80 C1 00 84 */ lwz r6, 0x84(r1) +/* 80271220 0026E180 80 A1 00 88 */ lwz r5, 0x88(r1) +/* 80271224 0026E184 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 80271228 0026E188 80 61 00 90 */ lwz r3, 0x90(r1) +/* 8027122C 0026E18C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80271230 0026E190 92 30 00 00 */ stw r17, 0(r16) +/* 80271234 0026E194 92 50 00 04 */ stw r18, 4(r16) +/* 80271238 0026E198 92 70 00 08 */ stw r19, 8(r16) +/* 8027123C 0026E19C 92 90 00 0C */ stw r20, 0xc(r16) +/* 80271240 0026E1A0 92 B0 00 10 */ stw r21, 0x10(r16) +/* 80271244 0026E1A4 92 D0 00 14 */ stw r22, 0x14(r16) +/* 80271248 0026E1A8 92 F0 00 18 */ stw r23, 0x18(r16) +/* 8027124C 0026E1AC 93 10 00 1C */ stw r24, 0x1c(r16) +/* 80271250 0026E1B0 93 30 00 20 */ stw r25, 0x20(r16) +/* 80271254 0026E1B4 93 50 00 24 */ stw r26, 0x24(r16) +/* 80271258 0026E1B8 93 70 00 28 */ stw r27, 0x28(r16) +/* 8027125C 0026E1BC 93 90 00 2C */ stw r28, 0x2c(r16) +/* 80271260 0026E1C0 93 B0 00 30 */ stw r29, 0x30(r16) +/* 80271264 0026E1C4 93 D0 00 34 */ stw r30, 0x34(r16) +/* 80271268 0026E1C8 93 F0 00 38 */ stw r31, 0x38(r16) +/* 8027126C 0026E1CC 91 90 00 3C */ stw r12, 0x3c(r16) +/* 80271270 0026E1D0 91 70 00 40 */ stw r11, 0x40(r16) +/* 80271274 0026E1D4 91 50 00 44 */ stw r10, 0x44(r16) +/* 80271278 0026E1D8 91 30 00 48 */ stw r9, 0x48(r16) +/* 8027127C 0026E1DC 91 10 00 4C */ stw r8, 0x4c(r16) +/* 80271280 0026E1E0 90 F0 00 50 */ stw r7, 0x50(r16) +/* 80271284 0026E1E4 90 D0 00 54 */ stw r6, 0x54(r16) +/* 80271288 0026E1E8 90 B0 00 58 */ stw r5, 0x58(r16) +/* 8027128C 0026E1EC 90 90 00 5C */ stw r4, 0x5c(r16) +/* 80271290 0026E1F0 90 70 00 60 */ stw r3, 0x60(r16) +/* 80271294 0026E1F4 90 10 00 64 */ stw r0, 0x64(r16) +/* 80271298 0026E1F8 BA 01 00 A0 */ lmw r16, 0xa0(r1) +/* 8027129C 0026E1FC 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802712A0 0026E200 7C 08 03 A6 */ mtlr r0 +/* 802712A4 0026E204 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802712A8 0026E208 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s new file mode 100644 index 00000000..8fc3055a --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s @@ -0,0 +1,3996 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSearchPath__20CMetroidPrimeEssenceFv +GetSearchPath__20CMetroidPrimeEssenceFv: +/* 8027CB38 00279A98 38 63 05 74 */ addi r3, r3, 0x574 +/* 8027CB3C 00279A9C 4E 80 00 20 */ blr + +.global sub_8027cb40 +sub_8027cb40: +/* 8027CB40 00279AA0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8027CB44 00279AA4 7C 08 02 A6 */ mflr r0 +/* 8027CB48 00279AA8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8027CB4C 00279AAC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8027CB50 00279AB0 7C 9F 23 78 */ mr r31, r4 +/* 8027CB54 00279AB4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8027CB58 00279AB8 7C 7E 1B 78 */ mr r30, r3 +/* 8027CB5C 00279ABC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8027CB60 00279AC0 93 81 00 50 */ stw r28, 0x50(r1) +/* 8027CB64 00279AC4 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8027CB68 00279AC8 38 84 00 04 */ addi r4, r4, 4 +/* 8027CB6C 00279ACC 4B F7 81 A1 */ bl GetStepDirection__10CPatternedFRC9CVector3f +/* 8027CB70 00279AD0 80 9E 04 50 */ lwz r4, 0x450(r30) +/* 8027CB74 00279AD4 7C 7C 1B 78 */ mr r28, r3 +/* 8027CB78 00279AD8 38 64 00 04 */ addi r3, r4, 4 +/* 8027CB7C 00279ADC 4B EB 49 2D */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 8027CB80 00279AE0 2C 1C 00 00 */ cmpwi r28, 0 +/* 8027CB84 00279AE4 40 82 00 98 */ bne lbl_8027CC1C +/* 8027CB88 00279AE8 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 8027CB8C 00279AEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027CB90 00279AF0 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8027CB94 00279AF4 38 81 00 3C */ addi r4, r1, 0x3c +/* 8027CB98 00279AF8 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 8027CB9C 00279AFC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027CBA0 00279B00 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8027CBA4 00279B04 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 8027CBA8 00279B08 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027CBAC 00279B0C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8027CBB0 00279B10 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8027CBB4 00279B14 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 8027CBB8 00279B18 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8027CBBC 00279B1C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8027CBC0 00279B20 48 09 7C 91 */ bl AsNormalized__9CVector3fCFv +/* 8027CBC4 00279B24 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 8027CBC8 00279B28 38 61 00 30 */ addi r3, r1, 0x30 +/* 8027CBCC 00279B2C C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8027CBD0 00279B30 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027CBD4 00279B34 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8027CBD8 00279B38 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8027CBDC 00279B3C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8027CBE0 00279B40 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8027CBE4 00279B44 48 09 7C 6D */ bl AsNormalized__9CVector3fCFv +/* 8027CBE8 00279B48 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8027CBEC 00279B4C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8027CBF0 00279B50 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8027CBF4 00279B54 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027CBF8 00279B58 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8027CBFC 00279B5C C0 81 00 38 */ lfs f4, 0x38(r1) +/* 8027CC00 00279B60 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8027CC04 00279B64 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8027CC08 00279B68 C0 02 BD 0C */ lfs f0, lbl_805ADA2C@sda21(r2) +/* 8027CC0C 00279B6C EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8027CC10 00279B70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CC14 00279B74 40 80 00 08 */ bge lbl_8027CC1C +/* 8027CC18 00279B78 3B 80 00 01 */ li r28, 1 +lbl_8027CC1C: +/* 8027CC1C 00279B7C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8027CC20 00279B80 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027CC24 00279B84 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8027CC28 00279B88 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 8027CC2C 00279B8C 90 01 00 08 */ stw r0, 8(r1) +/* 8027CC30 00279B90 38 A4 A9 E4 */ addi r5, r4, lbl_803DA9E4@l +/* 8027CC34 00279B94 38 80 00 01 */ li r4, 1 +/* 8027CC38 00279B98 38 00 00 00 */ li r0, 0 +/* 8027CC3C 00279B9C 3B A3 00 04 */ addi r29, r3, 4 +/* 8027CC40 00279BA0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8027CC44 00279BA4 7F A3 EB 78 */ mr r3, r29 +/* 8027CC48 00279BA8 38 80 00 01 */ li r4, 1 +/* 8027CC4C 00279BAC 90 A1 00 08 */ stw r5, 8(r1) +/* 8027CC50 00279BB0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8027CC54 00279BB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027CC58 00279BB8 4B EB 47 E1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8027CC5C 00279BBC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027CC60 00279BC0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8027CC64 00279BC4 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8027CC68 00279BC8 7F 85 E3 78 */ mr r5, r28 +/* 8027CC6C 00279BCC 90 1D 00 C8 */ stw r0, 0xc8(r29) +/* 8027CC70 00279BD0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027CC74 00279BD4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8027CC78 00279BD8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8027CC7C 00279BDC 90 BD 00 CC */ stw r5, 0xcc(r29) +/* 8027CC80 00279BE0 90 7D 00 D0 */ stw r3, 0xd0(r29) +/* 8027CC84 00279BE4 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8027CC88 00279BE8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027CC8C 00279BEC C0 9F 00 04 */ lfs f4, 4(r31) +/* 8027CC90 00279BF0 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8027CC94 00279BF4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8027CC98 00279BF8 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8027CC9C 00279BFC C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 8027CCA0 00279C00 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8027CCA4 00279C04 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027CCA8 00279C08 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8027CCAC 00279C0C 90 81 00 08 */ stw r4, 8(r1) +/* 8027CCB0 00279C10 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8027CCB4 00279C14 D0 63 00 20 */ stfs f3, 0x20(r3) +/* 8027CCB8 00279C18 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8027CCBC 00279C1C 90 01 00 08 */ stw r0, 8(r1) +/* 8027CCC0 00279C20 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027CCC4 00279C24 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8027CCC8 00279C28 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8027CCCC 00279C2C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8027CCD0 00279C30 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8027CCD4 00279C34 7C 08 03 A6 */ mtlr r0 +/* 8027CCD8 00279C38 38 21 00 60 */ addi r1, r1, 0x60 +/* 8027CCDC 00279C3C 4E 80 00 20 */ blr + +.global sub_8027cce0 +sub_8027cce0: +/* 8027CCE0 00279C40 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027CCE4 00279C44 7C 08 02 A6 */ mflr r0 +/* 8027CCE8 00279C48 90 01 00 54 */ stw r0, 0x54(r1) +/* 8027CCEC 00279C4C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027CCF0 00279C50 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8027CCF4 00279C54 7C 9E 23 78 */ mr r30, r4 +/* 8027CCF8 00279C58 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8027CCFC 00279C5C 7C 7D 1B 78 */ mr r29, r3 +/* 8027CD00 00279C60 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8027CD04 00279C64 38 61 00 0C */ addi r3, r1, 0xc +/* 8027CD08 00279C68 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027CD0C 00279C6C 48 06 C0 C9 */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 8027CD10 00279C70 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027CD14 00279C74 40 82 00 CC */ bne lbl_8027CDE0 +/* 8027CD18 00279C78 83 FD 00 04 */ lwz r31, 4(r29) +/* 8027CD1C 00279C7C 38 E0 00 00 */ li r7, 0 +/* 8027CD20 00279C80 C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) +/* 8027CD24 00279C84 39 00 00 01 */ li r8, 1 +/* 8027CD28 00279C88 C0 22 BD 14 */ lfs f1, lbl_805ADA34@sda21(r2) +/* 8027CD2C 00279C8C 38 C0 00 7F */ li r6, 0x7f +/* 8027CD30 00279C90 C0 02 BD 18 */ lfs f0, lbl_805ADA38@sda21(r2) +/* 8027CD34 00279C94 38 A0 00 14 */ li r5, 0x14 +/* 8027CD38 00279C98 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 8027CD3C 00279C9C 7F A3 EB 78 */ mr r3, r29 +/* 8027CD40 00279CA0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8027CD44 00279CA4 7F C4 F3 78 */ mr r4, r30 +/* 8027CD48 00279CA8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8027CD4C 00279CAC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8027CD50 00279CB0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027CD54 00279CB4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8027CD58 00279CB8 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8027CD5C 00279CBC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8027CD60 00279CC0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8027CD64 00279CC4 91 01 00 30 */ stw r8, 0x30(r1) +/* 8027CD68 00279CC8 B0 E1 00 34 */ sth r7, 0x34(r1) +/* 8027CD6C 00279CCC 98 C1 00 36 */ stb r6, 0x36(r1) +/* 8027CD70 00279CD0 98 A1 00 37 */ stb r5, 0x37(r1) +/* 8027CD74 00279CD4 98 E1 00 38 */ stb r7, 0x38(r1) +/* 8027CD78 00279CD8 98 01 00 39 */ stb r0, 0x39(r1) +/* 8027CD7C 00279CDC 48 00 00 81 */ bl sub_8027cdfc +/* 8027CD80 00279CE0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027CD84 00279CE4 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8027CD88 00279CE8 C0 A3 00 2C */ lfs f5, 0x2c(r3) +/* 8027CD8C 00279CEC 38 00 0B 67 */ li r0, 0xb67 +/* 8027CD90 00279CF0 C0 83 00 1C */ lfs f4, 0x1c(r3) +/* 8027CD94 00279CF4 7F E8 FB 78 */ mr r8, r31 +/* 8027CD98 00279CF8 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 8027CD9C 00279CFC 38 61 00 08 */ addi r3, r1, 8 +/* 8027CDA0 00279D00 C0 24 00 04 */ lfs f1, 4(r4) +/* 8027CDA4 00279D04 38 A0 00 01 */ li r5, 1 +/* 8027CDA8 00279D08 C0 04 00 08 */ lfs f0, 8(r4) +/* 8027CDAC 00279D0C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027CDB0 00279D10 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8027CDB4 00279D14 38 E0 00 00 */ li r7, 0 +/* 8027CDB8 00279D18 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 8027CDBC 00279D1C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8027CDC0 00279D20 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8027CDC4 00279D24 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027CDC8 00279D28 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8027CDCC 00279D2C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8027CDD0 00279D30 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8027CDD4 00279D34 48 06 D2 0D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8027CDD8 00279D38 80 01 00 08 */ lwz r0, 8(r1) +/* 8027CDDC 00279D3C 90 1D 07 08 */ stw r0, 0x708(r29) +lbl_8027CDE0: +/* 8027CDE0 00279D40 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8027CDE4 00279D44 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027CDE8 00279D48 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8027CDEC 00279D4C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8027CDF0 00279D50 7C 08 03 A6 */ mtlr r0 +/* 8027CDF4 00279D54 38 21 00 50 */ addi r1, r1, 0x50 +/* 8027CDF8 00279D58 4E 80 00 20 */ blr + +.global sub_8027cdfc +sub_8027cdfc: +/* 8027CDFC 00279D5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027CE00 00279D60 7C 08 02 A6 */ mflr r0 +/* 8027CE04 00279D64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027CE08 00279D68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027CE0C 00279D6C 7C 7F 1B 78 */ mr r31, r3 +/* 8027CE10 00279D70 A0 03 07 06 */ lhz r0, 0x706(r3) +/* 8027CE14 00279D74 7C 83 23 78 */ mr r3, r4 +/* 8027CE18 00279D78 38 81 00 08 */ addi r4, r1, 8 +/* 8027CE1C 00279D7C B0 01 00 08 */ sth r0, 8(r1) +/* 8027CE20 00279D80 4B DC F7 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027CE24 00279D84 7C 64 1B 78 */ mr r4, r3 +/* 8027CE28 00279D88 38 61 00 0C */ addi r3, r1, 0xc +/* 8027CE2C 00279D8C 4B E3 25 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027CE30 00279D90 80 63 00 04 */ lwz r3, 4(r3) +/* 8027CE34 00279D94 28 03 00 00 */ cmplwi r3, 0 +/* 8027CE38 00279D98 41 82 00 0C */ beq lbl_8027CE44 +/* 8027CE3C 00279D9C 38 63 00 34 */ addi r3, r3, 0x34 +/* 8027CE40 00279DA0 48 00 00 08 */ b lbl_8027CE48 +lbl_8027CE44: +/* 8027CE44 00279DA4 38 7F 00 34 */ addi r3, r31, 0x34 +lbl_8027CE48: +/* 8027CE48 00279DA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027CE4C 00279DAC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027CE50 00279DB0 7C 08 03 A6 */ mtlr r0 +/* 8027CE54 00279DB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027CE58 00279DB8 4E 80 00 20 */ blr + +.global sub_8027ce5c +sub_8027ce5c: +/* 8027CE5C 00279DBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027CE60 00279DC0 7C 08 02 A6 */ mflr r0 +/* 8027CE64 00279DC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027CE68 00279DC8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8027CE6C 00279DCC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8027CE70 00279DD0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027CE74 00279DD4 7C 7F 1B 78 */ mr r31, r3 +/* 8027CE78 00279DD8 FF E0 08 90 */ fmr f31, f1 +/* 8027CE7C 00279DDC 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8027CE80 00279DE0 4B E9 7D C9 */ bl GetNumMaterialSets__10CModelDataCFv +/* 8027CE84 00279DE4 38 63 FF FE */ addi r3, r3, -2 +/* 8027CE88 00279DE8 3C 00 43 30 */ lis r0, 0x4330 +/* 8027CE8C 00279DEC 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8027CE90 00279DF0 90 01 00 08 */ stw r0, 8(r1) +/* 8027CE94 00279DF4 C8 22 BD 20 */ lfd f1, lbl_805ADA40@sda21(r2) +/* 8027CE98 00279DF8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8027CE9C 00279DFC 80 1F 06 FC */ lwz r0, 0x6fc(r31) +/* 8027CEA0 00279E00 C8 01 00 08 */ lfd f0, 8(r1) +/* 8027CEA4 00279E04 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8027CEA8 00279E08 EC 00 07 FC */ fnmsubs f0, f0, f31, f0 +/* 8027CEAC 00279E0C FC 00 00 1E */ fctiwz f0, f0 +/* 8027CEB0 00279E10 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 8027CEB4 00279E14 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8027CEB8 00279E18 7C 00 18 00 */ cmpw r0, r3 +/* 8027CEBC 00279E1C 41 82 00 08 */ beq lbl_8027CEC4 +/* 8027CEC0 00279E20 90 7F 06 FC */ stw r3, 0x6fc(r31) +lbl_8027CEC4: +/* 8027CEC4 00279E24 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8027CEC8 00279E28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027CECC 00279E2C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8027CED0 00279E30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027CED4 00279E34 7C 08 03 A6 */ mtlr r0 +/* 8027CED8 00279E38 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027CEDC 00279E3C 4E 80 00 20 */ blr + +.global sub_8027cee0 +sub_8027cee0: +/* 8027CEE0 00279E40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027CEE4 00279E44 7C 08 02 A6 */ mflr r0 +/* 8027CEE8 00279E48 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027CEEC 00279E4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027CEF0 00279E50 7C 9F 23 78 */ mr r31, r4 +/* 8027CEF4 00279E54 93 C1 00 08 */ stw r30, 8(r1) +/* 8027CEF8 00279E58 7C 7E 1B 78 */ mr r30, r3 +/* 8027CEFC 00279E5C 81 83 00 00 */ lwz r12, 0(r3) +/* 8027CF00 00279E60 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027CF04 00279E64 7D 89 03 A6 */ mtctr r12 +/* 8027CF08 00279E68 4E 80 04 21 */ bctrl +/* 8027CF0C 00279E6C C0 5E 06 C4 */ lfs f2, 0x6c4(r30) +/* 8027CF10 00279E70 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027CF14 00279E74 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027CF18 00279E78 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8027CF1C 00279E7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF20 00279E80 4C 41 13 82 */ cror 2, 1, 2 +/* 8027CF24 00279E84 40 82 00 98 */ bne lbl_8027CFBC +/* 8027CF28 00279E88 80 1E 06 D8 */ lwz r0, 0x6d8(r30) +/* 8027CF2C 00279E8C 38 60 00 00 */ li r3, 0 +/* 8027CF30 00279E90 2C 00 00 01 */ cmpwi r0, 1 +/* 8027CF34 00279E94 41 82 00 38 */ beq lbl_8027CF6C +/* 8027CF38 00279E98 40 80 00 10 */ bge lbl_8027CF48 +/* 8027CF3C 00279E9C 2C 00 00 00 */ cmpwi r0, 0 +/* 8027CF40 00279EA0 40 80 00 14 */ bge lbl_8027CF54 +/* 8027CF44 00279EA4 48 00 00 5C */ b lbl_8027CFA0 +lbl_8027CF48: +/* 8027CF48 00279EA8 2C 00 00 03 */ cmpwi r0, 3 +/* 8027CF4C 00279EAC 40 80 00 54 */ bge lbl_8027CFA0 +/* 8027CF50 00279EB0 48 00 00 38 */ b lbl_8027CF88 +lbl_8027CF54: +/* 8027CF54 00279EB4 C0 02 BD 28 */ lfs f0, lbl_805ADA48@sda21(r2) +/* 8027CF58 00279EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF5C 00279EBC 40 80 00 44 */ bge lbl_8027CFA0 +/* 8027CF60 00279EC0 38 00 00 01 */ li r0, 1 +/* 8027CF64 00279EC4 90 1E 06 D8 */ stw r0, 0x6d8(r30) +/* 8027CF68 00279EC8 48 00 00 38 */ b lbl_8027CFA0 +lbl_8027CF6C: +/* 8027CF6C 00279ECC C0 02 BD 2C */ lfs f0, lbl_805ADA4C@sda21(r2) +/* 8027CF70 00279ED0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF74 00279ED4 40 80 00 2C */ bge lbl_8027CFA0 +/* 8027CF78 00279ED8 38 00 00 02 */ li r0, 2 +/* 8027CF7C 00279EDC 38 60 00 01 */ li r3, 1 +/* 8027CF80 00279EE0 90 1E 06 D8 */ stw r0, 0x6d8(r30) +/* 8027CF84 00279EE4 48 00 00 1C */ b lbl_8027CFA0 +lbl_8027CF88: +/* 8027CF88 00279EE8 C0 02 BD 30 */ lfs f0, lbl_805ADA50@sda21(r2) +/* 8027CF8C 00279EEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF90 00279EF0 40 80 00 10 */ bge lbl_8027CFA0 +/* 8027CF94 00279EF4 38 00 00 03 */ li r0, 3 +/* 8027CF98 00279EF8 38 60 00 01 */ li r3, 1 +/* 8027CF9C 00279EFC 90 1E 06 D8 */ stw r0, 0x6d8(r30) +lbl_8027CFA0: +/* 8027CFA0 00279F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027CFA4 00279F04 41 82 00 18 */ beq lbl_8027CFBC +/* 8027CFA8 00279F08 7F C3 F3 78 */ mr r3, r30 +/* 8027CFAC 00279F0C 7F E5 FB 78 */ mr r5, r31 +/* 8027CFB0 00279F10 38 80 00 11 */ li r4, 0x11 +/* 8027CFB4 00279F14 38 C0 FF FF */ li r6, -1 +/* 8027CFB8 00279F18 4B DD 41 09 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8027CFBC: +/* 8027CFBC 00279F1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027CFC0 00279F20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027CFC4 00279F24 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027CFC8 00279F28 7C 08 03 A6 */ mtlr r0 +/* 8027CFCC 00279F2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027CFD0 00279F30 4E 80 00 20 */ blr + +.global sub_8027cfd4 +sub_8027cfd4: +/* 8027CFD4 00279F34 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8027CFD8 00279F38 7C 08 02 A6 */ mflr r0 +/* 8027CFDC 00279F3C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8027CFE0 00279F40 BF 01 00 70 */ stmw r24, 0x70(r1) +/* 8027CFE4 00279F44 7C 9D 23 78 */ mr r29, r4 +/* 8027CFE8 00279F48 7C B8 2B 78 */ mr r24, r5 +/* 8027CFEC 00279F4C 4B FF FE 11 */ bl sub_8027cdfc +/* 8027CFF0 00279F50 7C 7A 1B 78 */ mr r26, r3 +/* 8027CFF4 00279F54 57 00 06 3E */ clrlwi r0, r24, 0x18 +/* 8027CFF8 00279F58 C0 43 00 24 */ lfs f2, 0x24(r3) +/* 8027CFFC 00279F5C 7C 00 00 34 */ cntlzw r0, r0 +/* 8027D000 00279F60 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 8027D004 00279F64 54 1F D9 7E */ srwi r31, r0, 5 +/* 8027D008 00279F68 C0 03 00 04 */ lfs f0, 4(r3) +/* 8027D00C 00279F6C FC 40 10 50 */ fneg f2, f2 +/* 8027D010 00279F70 FC 20 08 50 */ fneg f1, f1 +/* 8027D014 00279F74 3B 60 00 01 */ li r27, 1 +/* 8027D018 00279F78 FC 00 00 50 */ fneg f0, f0 +/* 8027D01C 00279F7C 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8027D020 00279F80 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8027D024 00279F84 1C 1F 00 0C */ mulli r0, r31, 0xc +/* 8027D028 00279F88 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8027D02C 00279F8C 3B 21 00 48 */ addi r25, r1, 0x48 +/* 8027D030 00279F90 7F F8 FB 78 */ mr r24, r31 +/* 8027D034 00279F94 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8027D038 00279F98 7F 7E F8 30 */ slw r30, r27, r31 +/* 8027D03C 00279F9C 7F 39 02 14 */ add r25, r25, r0 +/* 8027D040 00279FA0 3B 83 FD 18 */ addi r28, r3, lbl_8059FD18@l +/* 8027D044 00279FA4 C0 7A 00 20 */ lfs f3, 0x20(r26) +/* 8027D048 00279FA8 C0 5A 00 10 */ lfs f2, 0x10(r26) +/* 8027D04C 00279FAC C0 3A 00 00 */ lfs f1, 0(r26) +/* 8027D050 00279FB0 FC A0 18 50 */ fneg f5, f3 +/* 8027D054 00279FB4 FC 80 10 50 */ fneg f4, f2 +/* 8027D058 00279FB8 FC 00 08 50 */ fneg f0, f1 +/* 8027D05C 00279FBC D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8027D060 00279FC0 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8027D064 00279FC4 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8027D068 00279FC8 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 8027D06C 00279FCC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8027D070 00279FD0 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 8027D074 00279FD4 48 00 00 54 */ b lbl_8027D0C8 +lbl_8027D078: +/* 8027D078 00279FD8 C0 7A 00 2C */ lfs f3, 0x2c(r26) +/* 8027D07C 00279FDC 7F A4 EB 78 */ mr r4, r29 +/* 8027D080 00279FE0 C0 5A 00 1C */ lfs f2, 0x1c(r26) +/* 8027D084 00279FE4 7F 26 CB 78 */ mr r6, r25 +/* 8027D088 00279FE8 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 8027D08C 00279FEC 7F 87 E3 78 */ mr r7, r28 +/* 8027D090 00279FF0 C0 22 BD 34 */ lfs f1, lbl_805ADA54@sda21(r2) +/* 8027D094 00279FF4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027D098 00279FF8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8027D09C 00279FFC 38 A1 00 08 */ addi r5, r1, 8 +/* 8027D0A0 0027A000 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8027D0A4 0027A004 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8027D0A8 0027A008 4B DC FE F1 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8027D0AC 0027A00C 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8027D0B0 0027A010 28 00 00 00 */ cmplwi r0, 0 +/* 8027D0B4 0027A014 40 82 00 0C */ bne lbl_8027D0C0 +/* 8027D0B8 0027A018 7F 60 C0 30 */ slw r0, r27, r24 +/* 8027D0BC 0027A01C 7F DE 03 78 */ or r30, r30, r0 +lbl_8027D0C0: +/* 8027D0C0 0027A020 3B 39 00 0C */ addi r25, r25, 0xc +/* 8027D0C4 0027A024 3B 18 00 01 */ addi r24, r24, 1 +lbl_8027D0C8: +/* 8027D0C8 0027A028 2C 18 00 03 */ cmpwi r24, 3 +/* 8027D0CC 0027A02C 41 80 FF AC */ blt lbl_8027D078 +/* 8027D0D0 0027A030 2C 1E 00 07 */ cmpwi r30, 7 +/* 8027D0D4 0027A034 38 60 00 00 */ li r3, 0 +/* 8027D0D8 0027A038 41 81 00 F8 */ bgt lbl_8027D1D0 +/* 8027D0DC 0027A03C 3C 80 AA AB */ lis r4, 0xAAAAAAAA@ha +/* 8027D0E0 0027A040 3C C0 55 55 */ lis r6, 0x55555555@ha +/* 8027D0E4 0027A044 38 04 AA AA */ addi r0, r4, 0xAAAAAAAA@l +/* 8027D0E8 0027A048 3C A0 CC CD */ lis r5, 0xCCCCCCCC@ha +/* 8027D0EC 0027A04C 39 06 55 55 */ addi r8, r6, 0x55555555@l +/* 8027D0F0 0027A050 3C C0 33 33 */ lis r6, 0x33333333@ha +/* 8027D0F4 0027A054 7F C7 00 38 */ and r7, r30, r0 +/* 8027D0F8 0027A058 38 05 CC CC */ addi r0, r5, 0xCCCCCCCC@l +/* 8027D0FC 0027A05C 54 E5 F8 7E */ srwi r5, r7, 1 +/* 8027D100 0027A060 7F C8 40 38 */ and r8, r30, r8 +/* 8027D104 0027A064 7D 08 2A 14 */ add r8, r8, r5 +/* 8027D108 0027A068 38 E6 33 33 */ addi r7, r6, 0x33333333@l +/* 8027D10C 0027A06C 7D 06 00 38 */ and r6, r8, r0 +/* 8027D110 0027A070 3C 80 F0 F1 */ lis r4, 0xF0F0F0F0@ha +/* 8027D114 0027A074 38 04 F0 F0 */ addi r0, r4, 0xF0F0F0F0@l +/* 8027D118 0027A078 3C A0 0F 0F */ lis r5, 0x0F0F0F0F@ha +/* 8027D11C 0027A07C 7D 08 38 38 */ and r8, r8, r7 +/* 8027D120 0027A080 3C 80 FF 01 */ lis r4, 0xFF00FF00@ha +/* 8027D124 0027A084 38 E5 0F 0F */ addi r7, r5, 0x0F0F0F0F@l +/* 8027D128 0027A088 54 C5 F0 BE */ srwi r5, r6, 2 +/* 8027D12C 0027A08C 7D 08 2A 14 */ add r8, r8, r5 +/* 8027D130 0027A090 7D 06 00 38 */ and r6, r8, r0 +/* 8027D134 0027A094 3C A0 00 FF */ lis r5, 0x00FF00FF@ha +/* 8027D138 0027A098 38 04 FF 00 */ addi r0, r4, 0xFF00FF00@l +/* 8027D13C 0027A09C 7D 07 38 38 */ and r7, r8, r7 +/* 8027D140 0027A0A0 38 85 00 FF */ addi r4, r5, 0x00FF00FF@l +/* 8027D144 0027A0A4 54 C5 E1 3E */ srwi r5, r6, 4 +/* 8027D148 0027A0A8 7C A7 2A 14 */ add r5, r7, r5 +/* 8027D14C 0027A0AC 7C A0 00 38 */ and r0, r5, r0 +/* 8027D150 0027A0B0 7C A4 20 38 */ and r4, r5, r4 +/* 8027D154 0027A0B4 54 00 C2 3E */ srwi r0, r0, 8 +/* 8027D158 0027A0B8 7C 04 02 14 */ add r0, r4, r0 +/* 8027D15C 0027A0BC 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 8027D160 0027A0C0 54 00 84 3E */ srwi r0, r0, 0x10 +/* 8027D164 0027A0C4 7C 04 02 14 */ add r0, r4, r0 +/* 8027D168 0027A0C8 2C 00 00 02 */ cmpwi r0, 2 +/* 8027D16C 0027A0CC 41 82 00 28 */ beq lbl_8027D194 +/* 8027D170 0027A0D0 40 80 00 10 */ bge lbl_8027D180 +/* 8027D174 0027A0D4 2C 00 00 01 */ cmpwi r0, 1 +/* 8027D178 0027A0D8 40 80 00 14 */ bge lbl_8027D18C +/* 8027D17C 0027A0DC 48 00 00 54 */ b lbl_8027D1D0 +lbl_8027D180: +/* 8027D180 0027A0E0 2C 00 00 04 */ cmpwi r0, 4 +/* 8027D184 0027A0E4 40 80 00 4C */ bge lbl_8027D1D0 +/* 8027D188 0027A0E8 48 00 00 38 */ b lbl_8027D1C0 +lbl_8027D18C: +/* 8027D18C 0027A0EC 7F C3 0E 70 */ srawi r3, r30, 1 +/* 8027D190 0027A0F0 48 00 00 40 */ b lbl_8027D1D0 +lbl_8027D194: +/* 8027D194 0027A0F4 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027D198 0027A0F8 48 09 53 89 */ bl Next__9CRandom16Fv +/* 8027D19C 0027A0FC 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 8027D1A0 0027A100 41 82 00 14 */ beq lbl_8027D1B4 +/* 8027D1A4 0027A104 57 C3 F7 FE */ rlwinm r3, r30, 0x1e, 0x1f, 0x1f +/* 8027D1A8 0027A108 38 03 00 01 */ addi r0, r3, 1 +/* 8027D1AC 0027A10C 7C 03 03 78 */ mr r3, r0 +/* 8027D1B0 0027A110 48 00 00 20 */ b lbl_8027D1D0 +lbl_8027D1B4: +/* 8027D1B4 0027A114 57 C0 07 FE */ clrlwi r0, r30, 0x1f +/* 8027D1B8 0027A118 68 03 00 01 */ xori r3, r0, 1 +/* 8027D1BC 0027A11C 48 00 00 14 */ b lbl_8027D1D0 +lbl_8027D1C0: +/* 8027D1C0 0027A120 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027D1C4 0027A124 7F E4 FB 78 */ mr r4, r31 +/* 8027D1C8 0027A128 38 A0 00 02 */ li r5, 2 +/* 8027D1CC 0027A12C 48 09 53 C9 */ bl Range__9CRandom16Fii +lbl_8027D1D0: +/* 8027D1D0 0027A130 3C 80 80 3D */ lis r4, lbl_803D5890@ha +/* 8027D1D4 0027A134 54 60 10 3A */ slwi r0, r3, 2 +/* 8027D1D8 0027A138 38 64 58 90 */ addi r3, r4, lbl_803D5890@l +/* 8027D1DC 0027A13C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8027D1E0 0027A140 BB 01 00 70 */ lmw r24, 0x70(r1) +/* 8027D1E4 0027A144 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8027D1E8 0027A148 7C 08 03 A6 */ mtlr r0 +/* 8027D1EC 0027A14C 38 21 00 90 */ addi r1, r1, 0x90 +/* 8027D1F0 0027A150 4E 80 00 20 */ blr + +.global sub_8027d1f4 +sub_8027d1f4: +/* 8027D1F4 0027A154 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8027D1F8 0027A158 7C 08 02 A6 */ mflr r0 +/* 8027D1FC 0027A15C C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027D200 0027A160 38 C0 00 01 */ li r6, 1 +/* 8027D204 0027A164 90 01 00 84 */ stw r0, 0x84(r1) +/* 8027D208 0027A168 38 A0 00 00 */ li r5, 0 +/* 8027D20C 0027A16C BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8027D210 0027A170 7C 7E 1B 78 */ mr r30, r3 +/* 8027D214 0027A174 3C 60 80 3D */ lis r3, lbl_803D5880@ha +/* 8027D218 0027A178 7C 9F 23 78 */ mr r31, r4 +/* 8027D21C 0027A17C 38 63 58 80 */ addi r3, r3, lbl_803D5880@l +/* 8027D220 0027A180 D0 1E 03 40 */ stfs f0, 0x340(r30) +/* 8027D224 0027A184 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027D228 0027A188 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027D22C 0027A18C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8027D230 0027A190 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027D234 0027A194 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027D238 0027A198 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8027D23C 0027A19C 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027D240 0027A1A0 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) +/* 8027D244 0027A1A4 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027D248 0027A1A8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8027D24C 0027A1AC 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027D250 0027A1B0 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 8027D254 0027A1B4 80 BE 06 DC */ lwz r5, 0x6dc(r30) +/* 8027D258 0027A1B8 80 84 00 00 */ lwz r4, 0(r4) +/* 8027D25C 0027A1BC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8027D260 0027A1C0 54 00 10 3A */ slwi r0, r0, 2 +/* 8027D264 0027A1C4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8027D268 0027A1C8 7C 03 28 50 */ subf r0, r3, r5 +/* 8027D26C 0027A1CC 7C 03 28 00 */ cmpw r3, r5 +/* 8027D270 0027A1D0 7C 00 00 34 */ cntlzw r0, r0 +/* 8027D274 0027A1D4 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027D278 0027A1D8 3B 83 0B 7D */ addi r28, r3, 0xb7d +/* 8027D27C 0027A1DC 40 82 01 30 */ bne lbl_8027D3AC +/* 8027D280 0027A1E0 3C 60 80 3D */ lis r3, lbl_803D589C@ha +/* 8027D284 0027A1E4 3B 60 00 00 */ li r27, 0 +/* 8027D288 0027A1E8 38 83 58 9C */ addi r4, r3, lbl_803D589C@l +/* 8027D28C 0027A1EC 38 60 03 40 */ li r3, 0x340 +/* 8027D290 0027A1F0 38 84 00 1D */ addi r4, r4, 0x1d +/* 8027D294 0027A1F4 38 A0 00 00 */ li r5, 0 +/* 8027D298 0027A1F8 48 09 85 D5 */ bl __nw__FUlPCcPCc +/* 8027D29C 0027A1FC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8027D2A0 0027A200 41 82 00 2C */ beq lbl_8027D2CC +/* 8027D2A4 0027A204 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D2A8 0027A208 38 9E 05 68 */ addi r4, r30, 0x568 +/* 8027D2AC 0027A20C 48 0C 3B FD */ bl __ct__6CTokenFRC6CToken +/* 8027D2B0 0027A210 7F A3 EB 78 */ mr r3, r29 +/* 8027D2B4 0027A214 38 81 00 0C */ addi r4, r1, 0xc +/* 8027D2B8 0027A218 3B 60 00 01 */ li r27, 1 +/* 8027D2BC 0027A21C 38 A0 00 00 */ li r5, 0 +/* 8027D2C0 0027A220 38 C0 00 01 */ li r6, 1 +/* 8027D2C4 0027A224 48 0A 21 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027D2C8 0027A228 7C 7D 1B 78 */ mr r29, r3 +lbl_8027D2CC: +/* 8027D2CC 0027A22C 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027D2D0 0027A230 28 03 00 00 */ cmplwi r3, 0 +/* 8027D2D4 0027A234 41 82 00 18 */ beq lbl_8027D2EC +/* 8027D2D8 0027A238 81 83 00 00 */ lwz r12, 0(r3) +/* 8027D2DC 0027A23C 38 80 00 01 */ li r4, 1 +/* 8027D2E0 0027A240 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027D2E4 0027A244 7D 89 03 A6 */ mtctr r12 +/* 8027D2E8 0027A248 4E 80 04 21 */ bctrl +lbl_8027D2EC: +/* 8027D2EC 0027A24C 7F 60 07 75 */ extsb. r0, r27 +/* 8027D2F0 0027A250 93 BE 06 5C */ stw r29, 0x65c(r30) +/* 8027D2F4 0027A254 41 82 00 10 */ beq lbl_8027D304 +/* 8027D2F8 0027A258 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D2FC 0027A25C 38 80 00 00 */ li r4, 0 +/* 8027D300 0027A260 48 0C 3B 41 */ bl __dt__6CTokenFv +lbl_8027D304: +/* 8027D304 0027A264 80 1E 06 5C */ lwz r0, 0x65c(r30) +/* 8027D308 0027A268 28 00 00 00 */ cmplwi r0, 0 +/* 8027D30C 0027A26C 41 82 00 A0 */ beq lbl_8027D3AC +/* 8027D310 0027A270 7F C3 F3 78 */ mr r3, r30 +/* 8027D314 0027A274 7F E4 FB 78 */ mr r4, r31 +/* 8027D318 0027A278 4B FF FA E5 */ bl sub_8027cdfc +/* 8027D31C 0027A27C 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 8027D320 0027A280 7C 7F 1B 78 */ mr r31, r3 +/* 8027D324 0027A284 38 81 00 2C */ addi r4, r1, 0x2c +/* 8027D328 0027A288 C0 05 00 00 */ lfs f0, 0(r5) +/* 8027D32C 0027A28C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8027D330 0027A290 C0 05 00 04 */ lfs f0, 4(r5) +/* 8027D334 0027A294 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8027D338 0027A298 C0 05 00 08 */ lfs f0, 8(r5) +/* 8027D33C 0027A29C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8027D340 0027A2A0 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027D344 0027A2A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8027D348 0027A2A8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8027D34C 0027A2AC 7D 89 03 A6 */ mtctr r12 +/* 8027D350 0027A2B0 4E 80 04 21 */ bctrl +/* 8027D354 0027A2B4 83 BE 06 5C */ lwz r29, 0x65c(r30) +/* 8027D358 0027A2B8 7F E4 FB 78 */ mr r4, r31 +/* 8027D35C 0027A2BC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027D360 0027A2C0 48 09 58 E1 */ bl GetRotation__12CTransform4fCFv +/* 8027D364 0027A2C4 7F A3 EB 78 */ mr r3, r29 +/* 8027D368 0027A2C8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8027D36C 0027A2CC 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027D370 0027A2D0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8027D374 0027A2D4 7D 89 03 A6 */ mtctr r12 +/* 8027D378 0027A2D8 4E 80 04 21 */ bctrl +/* 8027D37C 0027A2DC C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 8027D380 0027A2E0 38 81 00 20 */ addi r4, r1, 0x20 +/* 8027D384 0027A2E4 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8027D388 0027A2E8 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8027D38C 0027A2EC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8027D390 0027A2F0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8027D394 0027A2F4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8027D398 0027A2F8 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027D39C 0027A2FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027D3A0 0027A300 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8027D3A4 0027A304 7D 89 03 A6 */ mtctr r12 +/* 8027D3A8 0027A308 4E 80 04 21 */ bctrl +lbl_8027D3AC: +/* 8027D3AC 0027A30C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027D3B0 0027A310 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027D3B4 0027A314 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8027D3B8 0027A318 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8027D3BC 0027A31C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027D3C0 0027A320 7F 84 E3 78 */ mr r4, r28 +/* 8027D3C4 0027A324 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8027D3C8 0027A328 38 61 00 08 */ addi r3, r1, 8 +/* 8027D3CC 0027A32C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8027D3D0 0027A330 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027D3D4 0027A334 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8027D3D8 0027A338 38 E0 00 01 */ li r7, 1 +/* 8027D3DC 0027A33C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8027D3E0 0027A340 39 00 00 00 */ li r8, 0 +/* 8027D3E4 0027A344 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027D3E8 0027A348 48 06 CE C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 8027D3EC 0027A34C 80 1E 06 DC */ lwz r0, 0x6dc(r30) +/* 8027D3F0 0027A350 90 1E 06 E0 */ stw r0, 0x6e0(r30) +/* 8027D3F4 0027A354 80 7E 06 DC */ lwz r3, 0x6dc(r30) +/* 8027D3F8 0027A358 38 03 00 01 */ addi r0, r3, 1 +/* 8027D3FC 0027A35C 90 1E 06 DC */ stw r0, 0x6dc(r30) +/* 8027D400 0027A360 80 1E 06 DC */ lwz r0, 0x6dc(r30) +/* 8027D404 0027A364 2C 00 00 02 */ cmpwi r0, 2 +/* 8027D408 0027A368 40 81 00 0C */ ble lbl_8027D414 +/* 8027D40C 0027A36C 38 00 00 00 */ li r0, 0 +/* 8027D410 0027A370 90 1E 06 DC */ stw r0, 0x6dc(r30) +lbl_8027D414: +/* 8027D414 0027A374 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8027D418 0027A378 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8027D41C 0027A37C 7C 08 03 A6 */ mtlr r0 +/* 8027D420 0027A380 38 21 00 80 */ addi r1, r1, 0x80 +/* 8027D424 0027A384 4E 80 00 20 */ blr + +.global sub_8027d428 +sub_8027d428: +/* 8027D428 0027A388 38 60 00 02 */ li r3, 2 +/* 8027D42C 0027A38C 4E 80 00 20 */ blr + +.global sub_8027d430 +sub_8027d430: +/* 8027D430 0027A390 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8027D434 0027A394 7C 08 02 A6 */ mflr r0 +/* 8027D438 0027A398 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8027D43C 0027A39C 93 E1 00 EC */ stw r31, 0xec(r1) +/* 8027D440 0027A3A0 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 8027D444 0027A3A4 7C 9E 23 78 */ mr r30, r4 +/* 8027D448 0027A3A8 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8027D44C 0027A3AC C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8027D450 0027A3B0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8027D454 0027A3B4 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 8027D458 0027A3B8 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8027D45C 0027A3BC EC 84 00 28 */ fsubs f4, f4, f0 +/* 8027D460 0027A3C0 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8027D464 0027A3C4 38 61 00 08 */ addi r3, r1, 8 +/* 8027D468 0027A3C8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8027D46C 0027A3CC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8027D470 0027A3D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8027D474 0027A3D4 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8027D478 0027A3D8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8027D47C 0027A3DC D0 01 00 08 */ stfs f0, 8(r1) +/* 8027D480 0027A3E0 48 09 74 39 */ bl Magnitude__9CVector3fCFv +/* 8027D484 0027A3E4 C0 62 BD 40 */ lfs f3, lbl_805ADA60@sda21(r2) +/* 8027D488 0027A3E8 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027D48C 0027A3EC C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027D490 0027A3F0 EC 43 10 7C */ fnmsubs f2, f3, f1, f2 +/* 8027D494 0027A3F4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8027D498 0027A3F8 40 81 00 7C */ ble lbl_8027D514 +/* 8027D49C 0027A3FC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 8027D4A0 0027A400 2C 00 00 02 */ cmpwi r0, 2 +/* 8027D4A4 0027A404 40 82 00 0C */ bne lbl_8027D4B0 +/* 8027D4A8 0027A408 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8027D4AC 0027A40C 48 00 00 08 */ b lbl_8027D4B4 +lbl_8027D4B0: +/* 8027D4B0 0027A410 38 00 00 04 */ li r0, 4 +lbl_8027D4B4: +/* 8027D4B4 0027A414 2C 00 00 01 */ cmpwi r0, 1 +/* 8027D4B8 0027A418 41 82 00 5C */ beq lbl_8027D514 +/* 8027D4BC 0027A41C C0 22 BD 2C */ lfs f1, lbl_805ADA4C@sda21(r2) +/* 8027D4C0 0027A420 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027D4C4 0027A424 4B EE 03 6D */ bl __ct__16CCameraShakeDataFff +/* 8027D4C8 0027A428 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8027D4CC 0027A42C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027D4D0 0027A430 38 A0 00 01 */ li r5, 1 +/* 8027D4D4 0027A434 4B D8 D5 4D */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +/* 8027D4D8 0027A438 34 81 00 94 */ addic. r4, r1, 0x94 +/* 8027D4DC 0027A43C 41 82 00 10 */ beq lbl_8027D4EC +/* 8027D4E0 0027A440 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027D4E4 0027A444 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027D4E8 0027A448 90 04 00 00 */ stw r0, 0(r4) +lbl_8027D4EC: +/* 8027D4EC 0027A44C 34 81 00 58 */ addic. r4, r1, 0x58 +/* 8027D4F0 0027A450 41 82 00 10 */ beq lbl_8027D500 +/* 8027D4F4 0027A454 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027D4F8 0027A458 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027D4FC 0027A45C 90 04 00 00 */ stw r0, 0(r4) +lbl_8027D500: +/* 8027D500 0027A460 34 81 00 1C */ addic. r4, r1, 0x1c +/* 8027D504 0027A464 41 82 00 10 */ beq lbl_8027D514 +/* 8027D508 0027A468 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027D50C 0027A46C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027D510 0027A470 90 04 00 00 */ stw r0, 0(r4) +lbl_8027D514: +/* 8027D514 0027A474 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8027D518 0027A478 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 8027D51C 0027A47C 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 8027D520 0027A480 7C 08 03 A6 */ mtlr r0 +/* 8027D524 0027A484 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8027D528 0027A488 4E 80 00 20 */ blr + +.global sub_8027d52c +sub_8027d52c: +/* 8027D52C 0027A48C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8027D530 0027A490 7C 08 02 A6 */ mflr r0 +/* 8027D534 0027A494 90 01 01 14 */ stw r0, 0x114(r1) +/* 8027D538 0027A498 BF 21 00 F4 */ stmw r25, 0xf4(r1) +/* 8027D53C 0027A49C 7C 7B 1B 78 */ mr r27, r3 +/* 8027D540 0027A4A0 7C 9D 23 78 */ mr r29, r4 +/* 8027D544 0027A4A4 7C BE 2B 78 */ mr r30, r5 +/* 8027D548 0027A4A8 38 61 00 90 */ addi r3, r1, 0x90 +/* 8027D54C 0027A4AC 7F 64 DB 78 */ mr r4, r27 +/* 8027D550 0027A4B0 7F A5 EB 78 */ mr r5, r29 +/* 8027D554 0027A4B4 48 00 01 B1 */ bl sub_8027d704 +/* 8027D558 0027A4B8 88 81 00 B0 */ lbz r4, 0xb0(r1) +/* 8027D55C 0027A4BC 3B E1 00 C4 */ addi r31, r1, 0xc4 +/* 8027D560 0027A4C0 C0 E1 00 90 */ lfs f7, 0x90(r1) +/* 8027D564 0027A4C4 C0 C1 00 94 */ lfs f6, 0x94(r1) +/* 8027D568 0027A4C8 28 04 00 00 */ cmplwi r4, 0 +/* 8027D56C 0027A4CC C0 A1 00 98 */ lfs f5, 0x98(r1) +/* 8027D570 0027A4D0 C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 8027D574 0027A4D4 C0 61 00 A0 */ lfs f3, 0xa0(r1) +/* 8027D578 0027A4D8 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 8027D57C 0027A4DC C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 8027D580 0027A4E0 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 8027D584 0027A4E4 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8027D588 0027A4E8 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 8027D58C 0027A4EC D0 E1 00 C0 */ stfs f7, 0xc0(r1) +/* 8027D590 0027A4F0 D0 C1 00 C4 */ stfs f6, 0xc4(r1) +/* 8027D594 0027A4F4 D0 A1 00 C8 */ stfs f5, 0xc8(r1) +/* 8027D598 0027A4F8 D0 81 00 CC */ stfs f4, 0xcc(r1) +/* 8027D59C 0027A4FC D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 8027D5A0 0027A500 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 8027D5A4 0027A504 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 8027D5A8 0027A508 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 8027D5AC 0027A50C 98 81 00 E0 */ stb r4, 0xe0(r1) +/* 8027D5B0 0027A510 90 61 00 EC */ stw r3, 0xec(r1) +/* 8027D5B4 0027A514 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 8027D5B8 0027A518 41 82 01 38 */ beq lbl_8027D6F0 +/* 8027D5BC 0027A51C 3C 60 80 3D */ lis r3, lbl_803D589C@ha +/* 8027D5C0 0027A520 3B 40 00 00 */ li r26, 0 +/* 8027D5C4 0027A524 38 63 58 9C */ addi r3, r3, lbl_803D589C@l +/* 8027D5C8 0027A528 3B 20 00 00 */ li r25, 0 +/* 8027D5CC 0027A52C 38 83 00 1D */ addi r4, r3, 0x1d +/* 8027D5D0 0027A530 38 60 09 88 */ li r3, 0x988 +/* 8027D5D4 0027A534 38 A0 00 00 */ li r5, 0 +/* 8027D5D8 0027A538 48 09 82 95 */ bl __nw__FUlPCcPCc +/* 8027D5DC 0027A53C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8027D5E0 0027A540 41 82 00 A4 */ beq lbl_8027D684 +/* 8027D5E4 0027A544 A0 FB 00 08 */ lhz r7, 8(r27) +/* 8027D5E8 0027A548 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8027D5EC 0027A54C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8027D5F0 0027A550 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8027D5F4 0027A554 B0 E1 00 14 */ sth r7, 0x14(r1) +/* 8027D5F8 0027A558 38 61 00 44 */ addi r3, r1, 0x44 +/* 8027D5FC 0027A55C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8027D600 0027A560 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8027D604 0027A564 90 01 00 30 */ stw r0, 0x30(r1) +/* 8027D608 0027A568 80 1B 00 04 */ lwz r0, 4(r27) +/* 8027D60C 0027A56C B0 E1 00 10 */ sth r7, 0x10(r1) +/* 8027D610 0027A570 90 01 00 28 */ stw r0, 0x28(r1) +/* 8027D614 0027A574 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8027D618 0027A578 4B DD 3E 6D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8027D61C 0027A57C 3C 80 80 3D */ lis r4, lbl_803D589C@ha +/* 8027D620 0027A580 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027D624 0027A584 38 84 58 9C */ addi r4, r4, lbl_803D589C@l +/* 8027D628 0027A588 3B 40 00 01 */ li r26, 1 +/* 8027D62C 0027A58C 38 84 00 24 */ addi r4, r4, 0x24 +/* 8027D630 0027A590 4B D8 76 89 */ bl string_l__4rstlFPCc +/* 8027D634 0027A594 7F A4 EB 78 */ mr r4, r29 +/* 8027D638 0027A598 38 61 00 08 */ addi r3, r1, 8 +/* 8027D63C 0027A59C 3B 20 00 01 */ li r25, 1 +/* 8027D640 0027A5A0 4B DC FA 9D */ bl AllocateUniqueId__13CStateManagerFv +/* 8027D644 0027A5A4 A0 01 00 08 */ lhz r0, 8(r1) +/* 8027D648 0027A5A8 7F E4 FB 78 */ mr r4, r31 +/* 8027D64C 0027A5AC 38 61 00 5C */ addi r3, r1, 0x5c +/* 8027D650 0027A5B0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027D654 0027A5B4 48 09 5A ED */ bl Translate__12CTransform4fFRC9CVector3f +/* 8027D658 0027A5B8 C0 22 BD 44 */ lfs f1, lbl_805ADA64@sda21(r2) +/* 8027D65C 0027A5BC 7F 83 E3 78 */ mr r3, r28 +/* 8027D660 0027A5C0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027D664 0027A5C4 7F C9 F3 78 */ mr r9, r30 +/* 8027D668 0027A5C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8027D66C 0027A5CC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8027D670 0027A5D0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 8027D674 0027A5D4 38 E1 00 5C */ addi r7, r1, 0x5c +/* 8027D678 0027A5D8 39 01 00 14 */ addi r8, r1, 0x14 +/* 8027D67C 0027A5DC 4B FB 4C DD */ bl __ct__10CShockWaveFv +/* 8027D680 0027A5E0 7C 7C 1B 78 */ mr r28, r3 +lbl_8027D684: +/* 8027D684 0027A5E4 7F 20 07 75 */ extsb. r0, r25 +/* 8027D688 0027A5E8 41 82 00 0C */ beq lbl_8027D694 +/* 8027D68C 0027A5EC 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027D690 0027A5F0 48 0C 04 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027D694: +/* 8027D694 0027A5F4 7F 40 07 75 */ extsb. r0, r26 +/* 8027D698 0027A5F8 41 82 00 44 */ beq lbl_8027D6DC +/* 8027D69C 0027A5FC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8027D6A0 0027A600 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8027D6A4 0027A604 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8027D6A8 0027A608 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8027D6AC 0027A60C 7C 64 1B 78 */ mr r4, r3 +/* 8027D6B0 0027A610 7C 03 02 14 */ add r0, r3, r0 +/* 8027D6B4 0027A614 90 61 00 18 */ stw r3, 0x18(r1) +/* 8027D6B8 0027A618 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027D6BC 0027A61C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8027D6C0 0027A620 48 00 00 08 */ b lbl_8027D6C8 +lbl_8027D6C4: +/* 8027D6C4 0027A624 38 84 00 0C */ addi r4, r4, 0xc +lbl_8027D6C8: +/* 8027D6C8 0027A628 7C 04 00 40 */ cmplw r4, r0 +/* 8027D6CC 0027A62C 40 82 FF F8 */ bne lbl_8027D6C4 +/* 8027D6D0 0027A630 28 03 00 00 */ cmplwi r3, 0 +/* 8027D6D4 0027A634 41 82 00 08 */ beq lbl_8027D6DC +/* 8027D6D8 0027A638 48 09 82 59 */ bl Free__7CMemoryFPCv +lbl_8027D6DC: +/* 8027D6DC 0027A63C 28 1C 00 00 */ cmplwi r28, 0 +/* 8027D6E0 0027A640 41 82 00 10 */ beq lbl_8027D6F0 +/* 8027D6E4 0027A644 7F A3 EB 78 */ mr r3, r29 +/* 8027D6E8 0027A648 7F 84 E3 78 */ mr r4, r28 +/* 8027D6EC 0027A64C 4B DC F6 09 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_8027D6F0: +/* 8027D6F0 0027A650 BB 21 00 F4 */ lmw r25, 0xf4(r1) +/* 8027D6F4 0027A654 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8027D6F8 0027A658 7C 08 03 A6 */ mtlr r0 +/* 8027D6FC 0027A65C 38 21 01 10 */ addi r1, r1, 0x110 +/* 8027D700 0027A660 4E 80 00 20 */ blr + +.global sub_8027d704 +sub_8027d704: +/* 8027D704 0027A664 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027D708 0027A668 7C 08 02 A6 */ mflr r0 +/* 8027D70C 0027A66C 3C E0 80 5A */ lis r7, lbl_805A66F4@ha +/* 8027D710 0027A670 3C C0 80 5A */ lis r6, lbl_8059FD18@ha +/* 8027D714 0027A674 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027D718 0027A678 39 07 66 F4 */ addi r8, r7, lbl_805A66F4@l +/* 8027D71C 0027A67C 7C A0 2B 78 */ mr r0, r5 +/* 8027D720 0027A680 38 E6 FD 18 */ addi r7, r6, lbl_8059FD18@l +/* 8027D724 0027A684 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027D728 0027A688 7C 7F 1B 78 */ mr r31, r3 +/* 8027D72C 0027A68C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027D730 0027A690 38 C1 00 08 */ addi r6, r1, 8 +/* 8027D734 0027A694 C0 48 00 00 */ lfs f2, 0(r8) +/* 8027D738 0027A698 C0 08 00 08 */ lfs f0, 8(r8) +/* 8027D73C 0027A69C FC 60 10 50 */ fneg f3, f2 +/* 8027D740 0027A6A0 C0 28 00 04 */ lfs f1, 4(r8) +/* 8027D744 0027A6A4 FC 00 00 50 */ fneg f0, f0 +/* 8027D748 0027A6A8 FC 40 08 50 */ fneg f2, f1 +/* 8027D74C 0027A6AC C0 22 BD 48 */ lfs f1, lbl_805ADA68@sda21(r2) +/* 8027D750 0027A6B0 D0 61 00 08 */ stfs f3, 8(r1) +/* 8027D754 0027A6B4 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8027D758 0027A6B8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027D75C 0027A6BC C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8027D760 0027A6C0 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8027D764 0027A6C4 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8027D768 0027A6C8 7C 04 03 78 */ mr r4, r0 +/* 8027D76C 0027A6CC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8027D770 0027A6D0 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8027D774 0027A6D4 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8027D778 0027A6D8 4B DC F8 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8027D77C 0027A6DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027D780 0027A6E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027D784 0027A6E4 7C 08 03 A6 */ mtlr r0 +/* 8027D788 0027A6E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027D78C 0027A6EC 4E 80 00 20 */ blr + +.global sub_8027d790 +sub_8027d790: +/* 8027D790 0027A6F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027D794 0027A6F4 7C 08 02 A6 */ mflr r0 +/* 8027D798 0027A6F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027D79C 0027A6FC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8027D7A0 0027A700 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8027D7A4 0027A704 7C BE 2B 78 */ mr r30, r5 +/* 8027D7A8 0027A708 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8027D7AC 0027A70C 7C 9D 23 78 */ mr r29, r4 +/* 8027D7B0 0027A710 80 82 BD 04 */ lwz r4, lbl_805ADA24@sda21(r2) +/* 8027D7B4 0027A714 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8027D7B8 0027A718 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8027D7BC 0027A71C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027D7C0 0027A720 4B D8 74 F9 */ bl string_l__4rstlFPCc +/* 8027D7C4 0027A724 7F E3 FB 78 */ mr r3, r31 +/* 8027D7C8 0027A728 7F C5 F3 78 */ mr r5, r30 +/* 8027D7CC 0027A72C 7F A6 EB 78 */ mr r6, r29 +/* 8027D7D0 0027A730 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027D7D4 0027A734 4B DA D5 ED */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8027D7D8 0027A738 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027D7DC 0027A73C 48 0C 03 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027D7E0 0027A740 80 82 BD 08 */ lwz r4, lbl_805ADA28@sda21(r2) +/* 8027D7E4 0027A744 38 61 00 08 */ addi r3, r1, 8 +/* 8027D7E8 0027A748 4B D8 74 D1 */ bl string_l__4rstlFPCc +/* 8027D7EC 0027A74C 7F E3 FB 78 */ mr r3, r31 +/* 8027D7F0 0027A750 7F C5 F3 78 */ mr r5, r30 +/* 8027D7F4 0027A754 7F A6 EB 78 */ mr r6, r29 +/* 8027D7F8 0027A758 38 81 00 08 */ addi r4, r1, 8 +/* 8027D7FC 0027A75C 4B DA D5 C5 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8027D800 0027A760 38 61 00 08 */ addi r3, r1, 8 +/* 8027D804 0027A764 48 0C 02 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027D808 0027A768 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027D80C 0027A76C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8027D810 0027A770 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8027D814 0027A774 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8027D818 0027A778 7C 08 03 A6 */ mtlr r0 +/* 8027D81C 0027A77C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027D820 0027A780 4E 80 00 20 */ blr + +.global sub_8027d824 +sub_8027d824: +/* 8027D824 0027A784 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8027D828 0027A788 7C 08 02 A6 */ mflr r0 +/* 8027D82C 0027A78C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8027D830 0027A790 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8027D834 0027A794 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8027D838 0027A798 7C 9E 23 78 */ mr r30, r4 +/* 8027D83C 0027A79C 7F C5 F3 78 */ mr r5, r30 +/* 8027D840 0027A7A0 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8027D844 0027A7A4 7C 7D 1B 78 */ mr r29, r3 +/* 8027D848 0027A7A8 7F A4 EB 78 */ mr r4, r29 +/* 8027D84C 0027A7AC 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027D850 0027A7B0 4B FF FE B5 */ bl sub_8027d704 +/* 8027D854 0027A7B4 88 A1 00 68 */ lbz r5, 0x68(r1) +/* 8027D858 0027A7B8 38 81 00 7C */ addi r4, r1, 0x7c +/* 8027D85C 0027A7BC C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 8027D860 0027A7C0 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 8027D864 0027A7C4 28 05 00 00 */ cmplwi r5, 0 +/* 8027D868 0027A7C8 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 8027D86C 0027A7CC C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8027D870 0027A7D0 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 8027D874 0027A7D4 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8027D878 0027A7D8 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8027D87C 0027A7DC C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8027D880 0027A7E0 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8027D884 0027A7E4 80 61 00 74 */ lwz r3, 0x74(r1) +/* 8027D888 0027A7E8 D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 8027D88C 0027A7EC D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 8027D890 0027A7F0 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 8027D894 0027A7F4 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8027D898 0027A7F8 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8027D89C 0027A7FC D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8027D8A0 0027A800 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8027D8A4 0027A804 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8027D8A8 0027A808 98 A1 00 98 */ stb r5, 0x98(r1) +/* 8027D8AC 0027A80C 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 8027D8B0 0027A810 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8027D8B4 0027A814 41 82 00 9C */ beq lbl_8027D950 +/* 8027D8B8 0027A818 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027D8BC 0027A81C 48 09 58 85 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8027D8C0 0027A820 38 7D 06 68 */ addi r3, r29, 0x668 +/* 8027D8C4 0027A824 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027D8C8 0027A828 48 09 52 79 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027D8CC 0027A82C A0 1D 07 04 */ lhz r0, 0x704(r29) +/* 8027D8D0 0027A830 7F C3 F3 78 */ mr r3, r30 +/* 8027D8D4 0027A834 38 81 00 08 */ addi r4, r1, 8 +/* 8027D8D8 0027A838 B0 01 00 08 */ sth r0, 8(r1) +/* 8027D8DC 0027A83C 4B DC EC 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027D8E0 0027A840 7C 64 1B 78 */ mr r4, r3 +/* 8027D8E4 0027A844 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D8E8 0027A848 4B E2 8C 65 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8027D8EC 0027A84C 83 E3 00 04 */ lwz r31, 4(r3) +/* 8027D8F0 0027A850 28 1F 00 00 */ cmplwi r31, 0 +/* 8027D8F4 0027A854 41 82 00 5C */ beq lbl_8027D950 +/* 8027D8F8 0027A858 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8027D8FC 0027A85C 38 9D 06 68 */ addi r4, r29, 0x668 +/* 8027D900 0027A860 48 09 52 41 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027D904 0027A864 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027D908 0027A868 38 E0 00 01 */ li r7, 1 +/* 8027D90C 0027A86C 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b +/* 8027D910 0027A870 7F A3 EB 78 */ mr r3, r29 +/* 8027D914 0027A874 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027D918 0027A878 7F C5 F3 78 */ mr r5, r30 +/* 8027D91C 0027A87C 38 80 00 15 */ li r4, 0x15 +/* 8027D920 0027A880 38 C0 FF FF */ li r6, -1 +/* 8027D924 0027A884 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027D928 0027A888 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8027D92C 0027A88C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027D930 0027A890 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027D934 0027A894 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 8027D938 0027A898 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027D93C 0027A89C 4B DD 37 85 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8027D940 0027A8A0 88 1D 07 0E */ lbz r0, 0x70e(r29) +/* 8027D944 0027A8A4 38 60 00 01 */ li r3, 1 +/* 8027D948 0027A8A8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8027D94C 0027A8AC 98 1D 07 0E */ stb r0, 0x70e(r29) +lbl_8027D950: +/* 8027D950 0027A8B0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8027D954 0027A8B4 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8027D958 0027A8B8 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8027D95C 0027A8BC 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8027D960 0027A8C0 7C 08 03 A6 */ mtlr r0 +/* 8027D964 0027A8C4 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8027D968 0027A8C8 4E 80 00 20 */ blr + +.global Death__20CMetroidPrimeEssenceFRC9CVector3fR13CStateManager +Death__20CMetroidPrimeEssenceFRC9CVector3fR13CStateManager: +/* 8027D96C 0027A8CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027D970 0027A8D0 7C 08 02 A6 */ mflr r0 +/* 8027D974 0027A8D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027D978 0027A8D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027D97C 0027A8DC 7C DF 33 78 */ mr r31, r6 +/* 8027D980 0027A8E0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027D984 0027A8E4 7C BE 2B 78 */ mr r30, r5 +/* 8027D988 0027A8E8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027D98C 0027A8EC 7C 9D 23 78 */ mr r29, r4 +/* 8027D990 0027A8F0 93 81 00 20 */ stw r28, 0x20(r1) +/* 8027D994 0027A8F4 7C 7C 1B 78 */ mr r28, r3 +/* 8027D998 0027A8F8 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8027D99C 0027A8FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027D9A0 0027A900 41 82 00 64 */ beq lbl_8027DA04 +/* 8027D9A4 0027A904 48 00 14 E5 */ bl sub_8027ee88 +/* 8027D9A8 0027A908 7F 83 E3 78 */ mr r3, r28 +/* 8027D9AC 0027A90C 7F A4 EB 78 */ mr r4, r29 +/* 8027D9B0 0027A910 38 A0 00 00 */ li r5, 0 +/* 8027D9B4 0027A914 4B FF FD DD */ bl sub_8027d790 +/* 8027D9B8 0027A918 A0 1C 07 06 */ lhz r0, 0x706(r28) +/* 8027D9BC 0027A91C 7F A3 EB 78 */ mr r3, r29 +/* 8027D9C0 0027A920 38 81 00 08 */ addi r4, r1, 8 +/* 8027D9C4 0027A924 B0 01 00 08 */ sth r0, 8(r1) +/* 8027D9C8 0027A928 4B DC EB AD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027D9CC 0027A92C 7C 64 1B 78 */ mr r4, r3 +/* 8027D9D0 0027A930 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D9D4 0027A934 4B E3 19 79 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027D9D8 0027A938 80 63 00 04 */ lwz r3, 4(r3) +/* 8027D9DC 0027A93C 28 03 00 00 */ cmplwi r3, 0 +/* 8027D9E0 0027A940 41 82 00 10 */ beq lbl_8027D9F0 +/* 8027D9E4 0027A944 7F A5 EB 78 */ mr r5, r29 +/* 8027D9E8 0027A948 38 80 00 12 */ li r4, 0x12 +/* 8027D9EC 0027A94C 4B DD 69 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8027D9F0: +/* 8027D9F0 0027A950 7F 83 E3 78 */ mr r3, r28 +/* 8027D9F4 0027A954 7F A4 EB 78 */ mr r4, r29 +/* 8027D9F8 0027A958 7F C5 F3 78 */ mr r5, r30 +/* 8027D9FC 0027A95C 7F E6 FB 78 */ mr r6, r31 +/* 8027DA00 0027A960 4B DF D9 A5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +lbl_8027DA04: +/* 8027DA04 0027A964 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027DA08 0027A968 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027DA0C 0027A96C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027DA10 0027A970 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027DA14 0027A974 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8027DA18 0027A978 7C 08 03 A6 */ mtlr r0 +/* 8027DA1C 0027A97C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027DA20 0027A980 4E 80 00 20 */ blr + +.global CoverFind__20CMetroidPrimeEssenceFR13CStateManagerf +CoverFind__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DA24 0027A984 C0 23 02 E4 */ lfs f1, 0x2e4(r3) +/* 8027DA28 0027A988 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 8027DA2C 0027A98C C0 63 02 E0 */ lfs f3, 0x2e0(r3) +/* 8027DA30 0027A990 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8027DA34 0027A994 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8027DA38 0027A998 C0 43 02 E8 */ lfs f2, 0x2e8(r3) +/* 8027DA3C 0027A99C EC 63 00 28 */ fsubs f3, f3, f0 +/* 8027DA40 0027A9A0 C0 03 00 60 */ lfs f0, 0x60(r3) +/* 8027DA44 0027A9A4 EC 21 00 72 */ fmuls f1, f1, f1 +/* 8027DA48 0027A9A8 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8027DA4C 0027A9AC C0 02 BD 4C */ lfs f0, lbl_805ADA6C@sda21(r2) +/* 8027DA50 0027A9B0 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8027DA54 0027A9B4 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8027DA58 0027A9B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027DA5C 0027A9BC 7C 00 00 26 */ mfcr r0 +/* 8027DA60 0027A9C0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8027DA64 0027A9C4 4E 80 00 20 */ blr + +.global ShouldMove__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldMove__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DA68 0027A9C8 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027DA6C 0027A9CC 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8027DA70 0027A9D0 7C 00 00 34 */ cntlzw r0, r0 +/* 8027DA74 0027A9D4 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027DA78 0027A9D8 4E 80 00 20 */ blr + +.global HasPatrolPath__20CMetroidPrimeEssenceFR13CStateManagerf +HasPatrolPath__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DA7C 0027A9DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027DA80 0027A9E0 7C 08 02 A6 */ mflr r0 +/* 8027DA84 0027A9E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027DA88 0027A9E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027DA8C 0027A9EC 3B E0 00 00 */ li r31, 0 +/* 8027DA90 0027A9F0 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027DA94 0027A9F4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8027DA98 0027A9F8 40 82 00 14 */ bne lbl_8027DAAC +/* 8027DA9C 0027A9FC 4B F7 80 F9 */ bl HasPatrolPath__10CPatternedFR13CStateManagerf +/* 8027DAA0 0027AA00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027DAA4 0027AA04 41 82 00 08 */ beq lbl_8027DAAC +/* 8027DAA8 0027AA08 3B E0 00 01 */ li r31, 1 +lbl_8027DAAC: +/* 8027DAAC 0027AA0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DAB0 0027AA10 7F E3 FB 78 */ mr r3, r31 +/* 8027DAB4 0027AA14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027DAB8 0027AA18 7C 08 03 A6 */ mtlr r0 +/* 8027DABC 0027AA1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027DAC0 0027AA20 4E 80 00 20 */ blr + +.global InPosition__20CMetroidPrimeEssenceFR13CStateManagerf +InPosition__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DAC4 0027AA24 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8027DAC8 0027AA28 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8027DACC 0027AA2C C0 24 00 60 */ lfs f1, 0x60(r4) +/* 8027DAD0 0027AA30 C0 02 BD 30 */ lfs f0, lbl_805ADA50@sda21(r2) +/* 8027DAD4 0027AA34 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8027DAD8 0027AA38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027DADC 0027AA3C 7C 00 00 26 */ mfcr r0 +/* 8027DAE0 0027AA40 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8027DAE4 0027AA44 4E 80 00 20 */ blr + +.global ShouldTaunt__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldTaunt__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DAE8 0027AA48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027DAEC 0027AA4C 7C 08 02 A6 */ mflr r0 +/* 8027DAF0 0027AA50 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027DAF4 0027AA54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027DAF8 0027AA58 7C 9F 23 78 */ mr r31, r4 +/* 8027DAFC 0027AA5C 93 C1 00 08 */ stw r30, 8(r1) +/* 8027DB00 0027AA60 7C 7E 1B 78 */ mr r30, r3 +/* 8027DB04 0027AA64 81 83 00 00 */ lwz r12, 0(r3) +/* 8027DB08 0027AA68 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027DB0C 0027AA6C 7D 89 03 A6 */ mtctr r12 +/* 8027DB10 0027AA70 4E 80 04 21 */ bctrl +/* 8027DB14 0027AA74 28 03 00 00 */ cmplwi r3, 0 +/* 8027DB18 0027AA78 41 82 00 58 */ beq lbl_8027DB70 +/* 8027DB1C 0027AA7C C0 23 00 00 */ lfs f1, 0(r3) +/* 8027DB20 0027AA80 C0 1E 06 C0 */ lfs f0, 0x6c0(r30) +/* 8027DB24 0027AA84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027DB28 0027AA88 40 81 00 48 */ ble lbl_8027DB70 +/* 8027DB2C 0027AA8C 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8027DB30 0027AA90 48 09 49 F1 */ bl Next__9CRandom16Fv +/* 8027DB34 0027AA94 3C A0 51 EC */ lis r5, 0x51EB851F@ha +/* 8027DB38 0027AA98 38 80 00 32 */ li r4, 0x32 +/* 8027DB3C 0027AA9C 38 05 85 1F */ addi r0, r5, 0x51EB851F@l +/* 8027DB40 0027AAA0 7C 00 18 96 */ mulhw r0, r0, r3 +/* 8027DB44 0027AAA4 7C 00 2E 70 */ srawi r0, r0, 5 +/* 8027DB48 0027AAA8 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8027DB4C 0027AAAC 7C 00 2A 14 */ add r0, r0, r5 +/* 8027DB50 0027AAB0 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 8027DB54 0027AAB4 7C 00 18 50 */ subf r0, r0, r3 +/* 8027DB58 0027AAB8 7C 80 02 78 */ xor r0, r4, r0 +/* 8027DB5C 0027AABC 7C 03 0E 70 */ srawi r3, r0, 1 +/* 8027DB60 0027AAC0 7C 00 20 38 */ and r0, r0, r4 +/* 8027DB64 0027AAC4 7C 00 18 50 */ subf r0, r0, r3 +/* 8027DB68 0027AAC8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8027DB6C 0027AACC 48 00 00 08 */ b lbl_8027DB74 +lbl_8027DB70: +/* 8027DB70 0027AAD0 38 60 00 00 */ li r3, 0 +lbl_8027DB74: +/* 8027DB74 0027AAD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DB78 0027AAD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027DB7C 0027AADC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027DB80 0027AAE0 7C 08 03 A6 */ mtlr r0 +/* 8027DB84 0027AAE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027DB88 0027AAE8 4E 80 00 20 */ blr + +.global ShouldCrouch__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldCrouch__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DB8C 0027AAEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DB90 0027AAF0 7C 08 02 A6 */ mflr r0 +/* 8027DB94 0027AAF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DB98 0027AAF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027DB9C 0027AAFC 7C 7F 1B 78 */ mr r31, r3 +/* 8027DBA0 0027AB00 80 A3 06 F0 */ lwz r5, 0x6f0(r3) +/* 8027DBA4 0027AB04 80 03 06 F4 */ lwz r0, 0x6f4(r3) +/* 8027DBA8 0027AB08 7C 05 00 00 */ cmpw r5, r0 +/* 8027DBAC 0027AB0C 40 80 00 14 */ bge lbl_8027DBC0 +/* 8027DBB0 0027AB10 38 05 00 01 */ addi r0, r5, 1 +/* 8027DBB4 0027AB14 38 60 00 00 */ li r3, 0 +/* 8027DBB8 0027AB18 90 1F 06 F0 */ stw r0, 0x6f0(r31) +/* 8027DBBC 0027AB1C 48 00 00 74 */ b lbl_8027DC30 +lbl_8027DBC0: +/* 8027DBC0 0027AB20 81 83 00 00 */ lwz r12, 0(r3) +/* 8027DBC4 0027AB24 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027DBC8 0027AB28 7D 89 03 A6 */ mtctr r12 +/* 8027DBCC 0027AB2C 4E 80 04 21 */ bctrl +/* 8027DBD0 0027AB30 C0 3F 06 C4 */ lfs f1, 0x6c4(r31) +/* 8027DBD4 0027AB34 C0 03 00 00 */ lfs f0, 0(r3) +/* 8027DBD8 0027AB38 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) +/* 8027DBDC 0027AB3C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027DBE0 0027AB40 C0 22 BD 50 */ lfs f1, lbl_805ADA70@sda21(r2) +/* 8027DBE4 0027AB44 80 7F 06 E8 */ lwz r3, 0x6e8(r31) +/* 8027DBE8 0027AB48 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8027DBEC 0027AB4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027DBF0 0027AB50 FC 00 00 1E */ fctiwz f0, f0 +/* 8027DBF4 0027AB54 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 8027DBF8 0027AB58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DBFC 0027AB5C 7C 63 02 14 */ add r3, r3, r0 +/* 8027DC00 0027AB60 90 61 00 08 */ stw r3, 8(r1) +/* 8027DC04 0027AB64 80 1F 06 EC */ lwz r0, 0x6ec(r31) +/* 8027DC08 0027AB68 7C 00 18 00 */ cmpw r0, r3 +/* 8027DC0C 0027AB6C 40 80 00 0C */ bge lbl_8027DC18 +/* 8027DC10 0027AB70 38 7F 06 EC */ addi r3, r31, 0x6ec +/* 8027DC14 0027AB74 48 00 00 08 */ b lbl_8027DC1C +lbl_8027DC18: +/* 8027DC18 0027AB78 38 61 00 08 */ addi r3, r1, 8 +lbl_8027DC1C: +/* 8027DC1C 0027AB7C 80 83 00 00 */ lwz r4, 0(r3) +/* 8027DC20 0027AB80 38 00 00 00 */ li r0, 0 +/* 8027DC24 0027AB84 38 60 00 01 */ li r3, 1 +/* 8027DC28 0027AB88 90 9F 06 F4 */ stw r4, 0x6f4(r31) +/* 8027DC2C 0027AB8C 90 1F 06 F0 */ stw r0, 0x6f0(r31) +lbl_8027DC30: +/* 8027DC30 0027AB90 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DC34 0027AB94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027DC38 0027AB98 7C 08 03 A6 */ mtlr r0 +/* 8027DC3C 0027AB9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DC40 0027ABA0 4E 80 00 20 */ blr + +.global ShouldAttack__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldAttack__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DC44 0027ABA4 88 63 07 0E */ lbz r3, 0x70e(r3) +/* 8027DC48 0027ABA8 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 8027DC4C 0027ABAC 41 82 00 0C */ beq lbl_8027DC58 +/* 8027DC50 0027ABB0 54 63 D7 FE */ rlwinm r3, r3, 0x1a, 0x1f, 0x1f +/* 8027DC54 0027ABB4 4E 80 00 20 */ blr +lbl_8027DC58: +/* 8027DC58 0027ABB8 38 60 00 01 */ li r3, 1 +/* 8027DC5C 0027ABBC 4E 80 00 20 */ blr + +.global Dead__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Dead__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DC60 0027ABC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027DC64 0027ABC4 7C 08 02 A6 */ mflr r0 +/* 8027DC68 0027ABC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027DC6C 0027ABCC DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8027DC70 0027ABD0 FF E0 08 90 */ fmr f31, f1 +/* 8027DC74 0027ABD4 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8027DC78 0027ABD8 7C BF 2B 78 */ mr r31, r5 +/* 8027DC7C 0027ABDC 93 C1 00 20 */ stw r30, 0x20(r1) +/* 8027DC80 0027ABE0 7C 9E 23 78 */ mr r30, r4 +/* 8027DC84 0027ABE4 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 8027DC88 0027ABE8 7C 7D 1B 78 */ mr r29, r3 +/* 8027DC8C 0027ABEC 4B F7 8D 39 */ bl Dead__10CPatternedFR13CStateManager9EStateMsgf +/* 8027DC90 0027ABF0 2C 1F 00 01 */ cmpwi r31, 1 +/* 8027DC94 0027ABF4 41 82 00 08 */ beq lbl_8027DC9C +/* 8027DC98 0027ABF8 48 00 00 4C */ b lbl_8027DCE4 +lbl_8027DC9C: +/* 8027DC9C 0027ABFC 3C 80 80 3D */ lis r4, lbl_803D589C@ha +/* 8027DCA0 0027AC00 38 61 00 08 */ addi r3, r1, 8 +/* 8027DCA4 0027AC04 38 84 58 9C */ addi r4, r4, lbl_803D589C@l +/* 8027DCA8 0027AC08 38 84 00 2E */ addi r4, r4, 0x2e +/* 8027DCAC 0027AC0C 4B D8 70 0D */ bl string_l__4rstlFPCc +/* 8027DCB0 0027AC10 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8027DCB4 0027AC14 FC 20 F8 90 */ fmr f1, f31 +/* 8027DCB8 0027AC18 38 81 00 08 */ addi r4, r1, 8 +/* 8027DCBC 0027AC1C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027DCC0 0027AC20 4B DA E7 2D */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027DCC4 0027AC24 7C 7F 1B 78 */ mr r31, r3 +/* 8027DCC8 0027AC28 38 61 00 08 */ addi r3, r1, 8 +/* 8027DCCC 0027AC2C 48 0B FE 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027DCD0 0027AC30 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8027DCD4 0027AC34 40 82 00 10 */ bne lbl_8027DCE4 +/* 8027DCD8 0027AC38 7F A3 EB 78 */ mr r3, r29 +/* 8027DCDC 0027AC3C 7F C4 F3 78 */ mr r4, r30 +/* 8027DCE0 0027AC40 4B DF AD 21 */ bl DeathDelete__10CPatternedFR13CStateManager +lbl_8027DCE4: +/* 8027DCE4 0027AC44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027DCE8 0027AC48 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8027DCEC 0027AC4C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 8027DCF0 0027AC50 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 8027DCF4 0027AC54 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 8027DCF8 0027AC58 7C 08 03 A6 */ mtlr r0 +/* 8027DCFC 0027AC5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027DD00 0027AC60 4E 80 00 20 */ blr + +.global Taunt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Taunt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DD04 0027AC64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DD08 0027AC68 7C 08 02 A6 */ mflr r0 +/* 8027DD0C 0027AC6C 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DD10 0027AC70 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DD14 0027AC74 41 82 00 2C */ beq lbl_8027DD40 +/* 8027DD18 0027AC78 40 80 00 10 */ bge lbl_8027DD28 +/* 8027DD1C 0027AC7C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DD20 0027AC80 40 80 00 14 */ bge lbl_8027DD34 +/* 8027DD24 0027AC84 48 00 00 58 */ b lbl_8027DD7C +lbl_8027DD28: +/* 8027DD28 0027AC88 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DD2C 0027AC8C 40 80 00 50 */ bge lbl_8027DD7C +/* 8027DD30 0027AC90 48 00 00 44 */ b lbl_8027DD74 +lbl_8027DD34: +/* 8027DD34 0027AC94 38 00 00 01 */ li r0, 1 +/* 8027DD38 0027AC98 90 03 03 2C */ stw r0, 0x32c(r3) +/* 8027DD3C 0027AC9C 48 00 00 40 */ b lbl_8027DD7C +lbl_8027DD40: +/* 8027DD40 0027ACA0 3C A0 80 3F */ lis r5, lbl_803EB238@ha +/* 8027DD44 0027ACA4 38 C1 00 08 */ addi r6, r1, 8 +/* 8027DD48 0027ACA8 39 45 B2 38 */ addi r10, r5, lbl_803EB238@l +/* 8027DD4C 0027ACAC 38 A0 00 10 */ li r5, 0x10 +/* 8027DD50 0027ACB0 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027DD54 0027ACB4 38 E0 00 02 */ li r7, 2 +/* 8027DD58 0027ACB8 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027DD5C 0027ACBC 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027DD60 0027ACC0 91 21 00 08 */ stw r9, 8(r1) +/* 8027DD64 0027ACC4 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027DD68 0027ACC8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027DD6C 0027ACCC 4B DF EA 49 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027DD70 0027ACD0 48 00 00 0C */ b lbl_8027DD7C +lbl_8027DD74: +/* 8027DD74 0027ACD4 38 00 00 00 */ li r0, 0 +/* 8027DD78 0027ACD8 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_8027DD7C: +/* 8027DD7C 0027ACDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DD80 0027ACE0 7C 08 03 A6 */ mtlr r0 +/* 8027DD84 0027ACE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DD88 0027ACE8 4E 80 00 20 */ blr + +.global Skid__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Skid__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DD8C 0027ACEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DD90 0027ACF0 7C 08 02 A6 */ mflr r0 +/* 8027DD94 0027ACF4 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DD98 0027ACF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DD9C 0027ACFC 41 82 00 2C */ beq lbl_8027DDC8 +/* 8027DDA0 0027AD00 40 80 00 10 */ bge lbl_8027DDB0 +/* 8027DDA4 0027AD04 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DDA8 0027AD08 40 80 00 14 */ bge lbl_8027DDBC +/* 8027DDAC 0027AD0C 48 00 00 58 */ b lbl_8027DE04 +lbl_8027DDB0: +/* 8027DDB0 0027AD10 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DDB4 0027AD14 40 80 00 50 */ bge lbl_8027DE04 +/* 8027DDB8 0027AD18 48 00 00 44 */ b lbl_8027DDFC +lbl_8027DDBC: +/* 8027DDBC 0027AD1C 38 00 00 01 */ li r0, 1 +/* 8027DDC0 0027AD20 90 03 03 2C */ stw r0, 0x32c(r3) +/* 8027DDC4 0027AD24 48 00 00 40 */ b lbl_8027DE04 +lbl_8027DDC8: +/* 8027DDC8 0027AD28 3C A0 80 3F */ lis r5, lbl_803EB22C@ha +/* 8027DDCC 0027AD2C 38 C1 00 08 */ addi r6, r1, 8 +/* 8027DDD0 0027AD30 39 45 B2 2C */ addi r10, r5, lbl_803EB22C@l +/* 8027DDD4 0027AD34 38 A0 00 03 */ li r5, 3 +/* 8027DDD8 0027AD38 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027DDDC 0027AD3C 38 E0 00 05 */ li r7, 5 +/* 8027DDE0 0027AD40 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027DDE4 0027AD44 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027DDE8 0027AD48 91 21 00 08 */ stw r9, 8(r1) +/* 8027DDEC 0027AD4C 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027DDF0 0027AD50 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027DDF4 0027AD54 4B DF E9 C1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027DDF8 0027AD58 48 00 00 0C */ b lbl_8027DE04 +lbl_8027DDFC: +/* 8027DDFC 0027AD5C 38 00 00 00 */ li r0, 0 +/* 8027DE00 0027AD60 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_8027DE04: +/* 8027DE04 0027AD64 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DE08 0027AD68 7C 08 03 A6 */ mtlr r0 +/* 8027DE0C 0027AD6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DE10 0027AD70 4E 80 00 20 */ blr + +.global JumpBack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +JumpBack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DE14 0027AD74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DE18 0027AD78 7C 08 02 A6 */ mflr r0 +/* 8027DE1C 0027AD7C 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DE20 0027AD80 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DE24 0027AD84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027DE28 0027AD88 7C 7F 1B 78 */ mr r31, r3 +/* 8027DE2C 0027AD8C 41 82 00 38 */ beq lbl_8027DE64 +/* 8027DE30 0027AD90 40 80 00 10 */ bge lbl_8027DE40 +/* 8027DE34 0027AD94 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DE38 0027AD98 40 80 00 14 */ bge lbl_8027DE4C +/* 8027DE3C 0027AD9C 48 00 00 64 */ b lbl_8027DEA0 +lbl_8027DE40: +/* 8027DE40 0027ADA0 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DE44 0027ADA4 40 80 00 5C */ bge lbl_8027DEA0 +/* 8027DE48 0027ADA8 48 00 00 50 */ b lbl_8027DE98 +lbl_8027DE4C: +/* 8027DE4C 0027ADAC 38 00 00 01 */ li r0, 1 +/* 8027DE50 0027ADB0 38 A0 00 01 */ li r5, 1 +/* 8027DE54 0027ADB4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8027DE58 0027ADB8 4B FF F1 7D */ bl sub_8027cfd4 +/* 8027DE5C 0027ADBC 90 7F 07 00 */ stw r3, 0x700(r31) +/* 8027DE60 0027ADC0 48 00 00 40 */ b lbl_8027DEA0 +lbl_8027DE64: +/* 8027DE64 0027ADC4 3C A0 80 3F */ lis r5, lbl_803EB220@ha +/* 8027DE68 0027ADC8 38 C1 00 08 */ addi r6, r1, 8 +/* 8027DE6C 0027ADCC 39 25 B2 20 */ addi r9, r5, lbl_803EB220@l +/* 8027DE70 0027ADD0 38 A0 00 03 */ li r5, 3 +/* 8027DE74 0027ADD4 81 09 00 00 */ lwz r8, 0(r9) +/* 8027DE78 0027ADD8 80 E9 00 04 */ lwz r7, 4(r9) +/* 8027DE7C 0027ADDC 80 09 00 08 */ lwz r0, 8(r9) +/* 8027DE80 0027ADE0 91 01 00 08 */ stw r8, 8(r1) +/* 8027DE84 0027ADE4 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8027DE88 0027ADE8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027DE8C 0027ADEC 80 FF 07 00 */ lwz r7, 0x700(r31) +/* 8027DE90 0027ADF0 4B DF E9 25 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027DE94 0027ADF4 48 00 00 0C */ b lbl_8027DEA0 +lbl_8027DE98: +/* 8027DE98 0027ADF8 38 00 00 00 */ li r0, 0 +/* 8027DE9C 0027ADFC 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8027DEA0: +/* 8027DEA0 0027AE00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DEA4 0027AE04 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027DEA8 0027AE08 7C 08 03 A6 */ mtlr r0 +/* 8027DEAC 0027AE0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DEB0 0027AE10 4E 80 00 20 */ blr + +.global PathFindEx__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +PathFindEx__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DEB4 0027AE14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027DEB8 0027AE18 7C 08 02 A6 */ mflr r0 +/* 8027DEBC 0027AE1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027DEC0 0027AE20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027DEC4 0027AE24 7C BF 2B 78 */ mr r31, r5 +/* 8027DEC8 0027AE28 93 C1 00 08 */ stw r30, 8(r1) +/* 8027DECC 0027AE2C 7C 7E 1B 78 */ mr r30, r3 +/* 8027DED0 0027AE30 4B F7 87 FD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8027DED4 0027AE34 2C 1F 00 01 */ cmpwi r31, 1 +/* 8027DED8 0027AE38 41 82 00 34 */ beq lbl_8027DF0C +/* 8027DEDC 0027AE3C 40 80 00 10 */ bge lbl_8027DEEC +/* 8027DEE0 0027AE40 2C 1F 00 00 */ cmpwi r31, 0 +/* 8027DEE4 0027AE44 40 80 00 14 */ bge lbl_8027DEF8 +/* 8027DEE8 0027AE48 48 00 00 44 */ b lbl_8027DF2C +lbl_8027DEEC: +/* 8027DEEC 0027AE4C 2C 1F 00 03 */ cmpwi r31, 3 +/* 8027DEF0 0027AE50 40 80 00 3C */ bge lbl_8027DF2C +/* 8027DEF4 0027AE54 48 00 00 28 */ b lbl_8027DF1C +lbl_8027DEF8: +/* 8027DEF8 0027AE58 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027DEFC 0027AE5C 38 60 00 01 */ li r3, 1 +/* 8027DF00 0027AE60 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027DF04 0027AE64 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027DF08 0027AE68 48 00 00 24 */ b lbl_8027DF2C +lbl_8027DF0C: +/* 8027DF0C 0027AE6C 7F C3 F3 78 */ mr r3, r30 +/* 8027DF10 0027AE70 38 9E 02 E0 */ addi r4, r30, 0x2e0 +/* 8027DF14 0027AE74 4B FF EC 2D */ bl sub_8027cb40 +/* 8027DF18 0027AE78 48 00 00 14 */ b lbl_8027DF2C +lbl_8027DF1C: +/* 8027DF1C 0027AE7C 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027DF20 0027AE80 38 60 00 00 */ li r3, 0 +/* 8027DF24 0027AE84 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027DF28 0027AE88 98 1E 07 0E */ stb r0, 0x70e(r30) +lbl_8027DF2C: +/* 8027DF2C 0027AE8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DF30 0027AE90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027DF34 0027AE94 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027DF38 0027AE98 7C 08 03 A6 */ mtlr r0 +/* 8027DF3C 0027AE9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027DF40 0027AEA0 4E 80 00 20 */ blr + +.global PathFind__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +PathFind__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DF44 0027AEA4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027DF48 0027AEA8 7C 08 02 A6 */ mflr r0 +/* 8027DF4C 0027AEAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027DF50 0027AEB0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027DF54 0027AEB4 7C BF 2B 78 */ mr r31, r5 +/* 8027DF58 0027AEB8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027DF5C 0027AEBC 7C 9E 23 78 */ mr r30, r4 +/* 8027DF60 0027AEC0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027DF64 0027AEC4 7C 7D 1B 78 */ mr r29, r3 +/* 8027DF68 0027AEC8 4B F7 87 65 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8027DF6C 0027AECC 2C 1F 00 01 */ cmpwi r31, 1 +/* 8027DF70 0027AED0 41 82 00 08 */ beq lbl_8027DF78 +/* 8027DF74 0027AED4 48 00 00 2C */ b lbl_8027DFA0 +lbl_8027DF78: +/* 8027DF78 0027AED8 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 8027DF7C 0027AEDC 7F A3 EB 78 */ mr r3, r29 +/* 8027DF80 0027AEE0 38 81 00 08 */ addi r4, r1, 8 +/* 8027DF84 0027AEE4 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8027DF88 0027AEE8 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8027DF8C 0027AEEC C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8027DF90 0027AEF0 D0 01 00 08 */ stfs f0, 8(r1) +/* 8027DF94 0027AEF4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8027DF98 0027AEF8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8027DF9C 0027AEFC 4B FF EB A5 */ bl sub_8027cb40 +lbl_8027DFA0: +/* 8027DFA0 0027AF00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027DFA4 0027AF04 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027DFA8 0027AF08 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027DFAC 0027AF0C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027DFB0 0027AF10 7C 08 03 A6 */ mtlr r0 +/* 8027DFB4 0027AF14 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027DFB8 0027AF18 4E 80 00 20 */ blr + +.global Halt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Halt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DFBC 0027AF1C 4E 80 00 20 */ blr + +.global Dodge__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Dodge__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DFC0 0027AF20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DFC4 0027AF24 7C 08 02 A6 */ mflr r0 +/* 8027DFC8 0027AF28 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DFCC 0027AF2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DFD0 0027AF30 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027DFD4 0027AF34 7C 7F 1B 78 */ mr r31, r3 +/* 8027DFD8 0027AF38 41 82 00 38 */ beq lbl_8027E010 +/* 8027DFDC 0027AF3C 40 80 00 10 */ bge lbl_8027DFEC +/* 8027DFE0 0027AF40 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DFE4 0027AF44 40 80 00 14 */ bge lbl_8027DFF8 +/* 8027DFE8 0027AF48 48 00 00 64 */ b lbl_8027E04C +lbl_8027DFEC: +/* 8027DFEC 0027AF4C 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DFF0 0027AF50 40 80 00 5C */ bge lbl_8027E04C +/* 8027DFF4 0027AF54 48 00 00 50 */ b lbl_8027E044 +lbl_8027DFF8: +/* 8027DFF8 0027AF58 38 00 00 01 */ li r0, 1 +/* 8027DFFC 0027AF5C 38 A0 00 00 */ li r5, 0 +/* 8027E000 0027AF60 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8027E004 0027AF64 4B FF EF D1 */ bl sub_8027cfd4 +/* 8027E008 0027AF68 90 7F 07 00 */ stw r3, 0x700(r31) +/* 8027E00C 0027AF6C 48 00 00 40 */ b lbl_8027E04C +lbl_8027E010: +/* 8027E010 0027AF70 3C A0 80 3F */ lis r5, lbl_803EB214@ha +/* 8027E014 0027AF74 38 C1 00 08 */ addi r6, r1, 8 +/* 8027E018 0027AF78 39 25 B2 14 */ addi r9, r5, lbl_803EB214@l +/* 8027E01C 0027AF7C 38 A0 00 03 */ li r5, 3 +/* 8027E020 0027AF80 81 09 00 00 */ lwz r8, 0(r9) +/* 8027E024 0027AF84 80 E9 00 04 */ lwz r7, 4(r9) +/* 8027E028 0027AF88 80 09 00 08 */ lwz r0, 8(r9) +/* 8027E02C 0027AF8C 91 01 00 08 */ stw r8, 8(r1) +/* 8027E030 0027AF90 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8027E034 0027AF94 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027E038 0027AF98 80 FF 07 00 */ lwz r7, 0x700(r31) +/* 8027E03C 0027AF9C 4B DF E7 79 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E040 0027AFA0 48 00 00 0C */ b lbl_8027E04C +lbl_8027E044: +/* 8027E044 0027AFA4 38 00 00 00 */ li r0, 0 +/* 8027E048 0027AFA8 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8027E04C: +/* 8027E04C 0027AFAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E050 0027AFB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027E054 0027AFB4 7C 08 03 A6 */ mtlr r0 +/* 8027E058 0027AFB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E05C 0027AFBC 4E 80 00 20 */ blr + +.global FadeOut__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +FadeOut__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E060 0027AFC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027E064 0027AFC4 7C 08 02 A6 */ mflr r0 +/* 8027E068 0027AFC8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E06C 0027AFCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027E070 0027AFD0 41 82 00 0C */ beq lbl_8027E07C +/* 8027E074 0027AFD4 41 80 00 0C */ blt lbl_8027E080 +/* 8027E078 0027AFD8 48 00 00 08 */ b lbl_8027E080 +lbl_8027E07C: +/* 8027E07C 0027AFDC 4B FF F1 79 */ bl sub_8027d1f4 +lbl_8027E080: +/* 8027E080 0027AFE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027E084 0027AFE4 7C 08 03 A6 */ mtlr r0 +/* 8027E088 0027AFE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027E08C 0027AFEC 4E 80 00 20 */ blr + +.global FadeIn__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +FadeIn__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E090 0027AFF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027E094 0027AFF4 7C 08 02 A6 */ mflr r0 +/* 8027E098 0027AFF8 2C 05 00 01 */ cmpwi r5, 1 +/* 8027E09C 0027AFFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027E0A0 0027B000 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027E0A4 0027B004 7C 7F 1B 78 */ mr r31, r3 +/* 8027E0A8 0027B008 41 82 00 40 */ beq lbl_8027E0E8 +/* 8027E0AC 0027B00C 40 80 00 10 */ bge lbl_8027E0BC +/* 8027E0B0 0027B010 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E0B4 0027B014 40 80 00 14 */ bge lbl_8027E0C8 +/* 8027E0B8 0027B018 48 00 00 9C */ b lbl_8027E154 +lbl_8027E0BC: +/* 8027E0BC 0027B01C 2C 05 00 03 */ cmpwi r5, 3 +/* 8027E0C0 0027B020 40 80 00 94 */ bge lbl_8027E154 +/* 8027E0C4 0027B024 48 00 00 58 */ b lbl_8027E11C +lbl_8027E0C8: +/* 8027E0C8 0027B028 4B FF F3 61 */ bl sub_8027d428 +/* 8027E0CC 0027B02C 90 7F 06 F8 */ stw r3, 0x6f8(r31) +/* 8027E0D0 0027B030 38 60 00 01 */ li r3, 1 +/* 8027E0D4 0027B034 90 7F 03 2C */ stw r3, 0x32c(r31) +/* 8027E0D8 0027B038 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E0DC 0027B03C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027E0E0 0027B040 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E0E4 0027B044 48 00 00 70 */ b lbl_8027E154 +lbl_8027E0E8: +/* 8027E0E8 0027B048 3C A0 80 3F */ lis r5, lbl_803EB208@ha +/* 8027E0EC 0027B04C 38 C1 00 08 */ addi r6, r1, 8 +/* 8027E0F0 0027B050 39 45 B2 08 */ addi r10, r5, lbl_803EB208@l +/* 8027E0F4 0027B054 38 A0 00 12 */ li r5, 0x12 +/* 8027E0F8 0027B058 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027E0FC 0027B05C 38 E0 00 00 */ li r7, 0 +/* 8027E100 0027B060 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027E104 0027B064 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027E108 0027B068 91 21 00 08 */ stw r9, 8(r1) +/* 8027E10C 0027B06C 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027E110 0027B070 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027E114 0027B074 4B DF E6 A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E118 0027B078 48 00 00 3C */ b lbl_8027E154 +lbl_8027E11C: +/* 8027E11C 0027B07C 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E120 0027B080 38 60 00 00 */ li r3, 0 +/* 8027E124 0027B084 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027E128 0027B088 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E12C 0027B08C 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E130 0027B090 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027E134 0027B094 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E138 0027B098 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E13C 0027B09C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8027E140 0027B0A0 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E144 0027B0A4 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E148 0027B0A8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8027E14C 0027B0AC 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E150 0027B0B0 90 7F 03 2C */ stw r3, 0x32c(r31) +lbl_8027E154: +/* 8027E154 0027B0B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E158 0027B0B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027E15C 0027B0BC 7C 08 03 A6 */ mtlr r0 +/* 8027E160 0027B0C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E164 0027B0C4 4E 80 00 20 */ blr + +.global TelegraphAttack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +TelegraphAttack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E168 0027B0C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027E16C 0027B0CC 7C 08 02 A6 */ mflr r0 +/* 8027E170 0027B0D0 2C 05 00 01 */ cmpwi r5, 1 +/* 8027E174 0027B0D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027E178 0027B0D8 41 82 00 38 */ beq lbl_8027E1B0 +/* 8027E17C 0027B0DC 40 80 00 10 */ bge lbl_8027E18C +/* 8027E180 0027B0E0 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E184 0027B0E4 40 80 00 14 */ bge lbl_8027E198 +/* 8027E188 0027B0E8 48 00 00 B8 */ b lbl_8027E240 +lbl_8027E18C: +/* 8027E18C 0027B0EC 2C 05 00 03 */ cmpwi r5, 3 +/* 8027E190 0027B0F0 40 80 00 B0 */ bge lbl_8027E240 +/* 8027E194 0027B0F4 48 00 00 90 */ b lbl_8027E224 +lbl_8027E198: +/* 8027E198 0027B0F8 38 80 00 01 */ li r4, 1 +/* 8027E19C 0027B0FC 90 83 03 2C */ stw r4, 0x32c(r3) +/* 8027E1A0 0027B100 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027E1A4 0027B104 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8027E1A8 0027B108 98 03 07 0E */ stb r0, 0x70e(r3) +/* 8027E1AC 0027B10C 48 00 00 94 */ b lbl_8027E240 +lbl_8027E1B0: +/* 8027E1B0 0027B110 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027E1B4 0027B114 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8027E1B8 0027B118 41 82 00 38 */ beq lbl_8027E1F0 +/* 8027E1BC 0027B11C 3C A0 80 3F */ lis r5, lbl_803EB1F0@ha +/* 8027E1C0 0027B120 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8027E1C4 0027B124 39 45 B1 F0 */ addi r10, r5, lbl_803EB1F0@l +/* 8027E1C8 0027B128 38 A0 00 12 */ li r5, 0x12 +/* 8027E1CC 0027B12C 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027E1D0 0027B130 38 E0 00 05 */ li r7, 5 +/* 8027E1D4 0027B134 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027E1D8 0027B138 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027E1DC 0027B13C 91 21 00 14 */ stw r9, 0x14(r1) +/* 8027E1E0 0027B140 91 01 00 18 */ stw r8, 0x18(r1) +/* 8027E1E4 0027B144 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8027E1E8 0027B148 4B DF E5 CD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E1EC 0027B14C 48 00 00 54 */ b lbl_8027E240 +lbl_8027E1F0: +/* 8027E1F0 0027B150 3C A0 80 3F */ lis r5, lbl_803EB1FC@ha +/* 8027E1F4 0027B154 38 C1 00 08 */ addi r6, r1, 8 +/* 8027E1F8 0027B158 39 45 B1 FC */ addi r10, r5, lbl_803EB1FC@l +/* 8027E1FC 0027B15C 38 A0 00 07 */ li r5, 7 +/* 8027E200 0027B160 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027E204 0027B164 38 E0 00 02 */ li r7, 2 +/* 8027E208 0027B168 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027E20C 0027B16C 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027E210 0027B170 91 21 00 08 */ stw r9, 8(r1) +/* 8027E214 0027B174 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027E218 0027B178 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027E21C 0027B17C 4B DF E5 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E220 0027B180 48 00 00 20 */ b lbl_8027E240 +lbl_8027E224: +/* 8027E224 0027B184 38 80 00 00 */ li r4, 0 +/* 8027E228 0027B188 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027E22C 0027B18C 90 83 03 2C */ stw r4, 0x32c(r3) +/* 8027E230 0027B190 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027E234 0027B194 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8027E238 0027B198 98 03 07 0E */ stb r0, 0x70e(r3) +/* 8027E23C 0027B19C 4B FF EC 21 */ bl sub_8027ce5c +lbl_8027E240: +/* 8027E240 0027B1A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E244 0027B1A4 7C 08 03 A6 */ mtlr r0 +/* 8027E248 0027B1A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E24C 0027B1AC 4E 80 00 20 */ blr + +.global Generate__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Generate__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E250 0027B1B0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8027E254 0027B1B4 7C 08 02 A6 */ mflr r0 +/* 8027E258 0027B1B8 2C 05 00 01 */ cmpwi r5, 1 +/* 8027E25C 0027B1BC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8027E260 0027B1C0 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8027E264 0027B1C4 7C 9F 23 78 */ mr r31, r4 +/* 8027E268 0027B1C8 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8027E26C 0027B1CC 7C 7E 1B 78 */ mr r30, r3 +/* 8027E270 0027B1D0 41 82 01 18 */ beq lbl_8027E388 +/* 8027E274 0027B1D4 40 80 00 10 */ bge lbl_8027E284 +/* 8027E278 0027B1D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E27C 0027B1DC 40 80 00 14 */ bge lbl_8027E290 +/* 8027E280 0027B1E0 48 00 01 08 */ b lbl_8027E388 +lbl_8027E284: +/* 8027E284 0027B1E4 2C 05 00 03 */ cmpwi r5, 3 +/* 8027E288 0027B1E8 40 80 01 00 */ bge lbl_8027E388 +/* 8027E28C 0027B1EC 48 00 00 BC */ b lbl_8027E348 +lbl_8027E290: +/* 8027E290 0027B1F0 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027E294 0027B1F4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8027E298 0027B1F8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8027E29C 0027B1FC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027E2A0 0027B200 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8027E2A4 0027B204 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027E2A8 0027B208 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8027E2AC 0027B20C C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8027E2B0 0027B210 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8027E2B4 0027B214 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027E2B8 0027B218 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8027E2BC 0027B21C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8027E2C0 0027B220 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027E2C4 0027B224 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8027E2C8 0027B228 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027E2CC 0027B22C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8027E2D0 0027B230 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8027E2D4 0027B234 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8027E2D8 0027B238 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8027E2DC 0027B23C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027E2E0 0027B240 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8027E2E4 0027B244 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8027E2E8 0027B248 48 09 58 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8027E2EC 0027B24C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8027E2F0 0027B250 38 81 00 34 */ addi r4, r1, 0x34 +/* 8027E2F4 0027B254 48 09 48 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8027E2F8 0027B258 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027E2FC 0027B25C 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8027E300 0027B260 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8027E304 0027B264 38 81 00 64 */ addi r4, r1, 0x64 +/* 8027E308 0027B268 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027E30C 0027B26C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8027E310 0027B270 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8027E314 0027B274 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8027E318 0027B278 48 09 48 29 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027E31C 0027B27C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8027E320 0027B280 38 60 00 01 */ li r3, 1 +/* 8027E324 0027B284 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027E328 0027B288 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8027E32C 0027B28C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8027E330 0027B290 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8027E334 0027B294 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8027E338 0027B298 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8027E33C 0027B29C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8027E340 0027B2A0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8027E344 0027B2A4 48 00 00 44 */ b lbl_8027E388 +lbl_8027E348: +/* 8027E348 0027B2A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8027E34C 0027B2AC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027E350 0027B2B0 7D 89 03 A6 */ mtctr r12 +/* 8027E354 0027B2B4 4E 80 04 21 */ bctrl +/* 8027E358 0027B2B8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027E35C 0027B2BC 7F E3 FB 78 */ mr r3, r31 +/* 8027E360 0027B2C0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027E364 0027B2C4 38 81 00 0C */ addi r4, r1, 0xc +/* 8027E368 0027B2C8 38 A0 00 5B */ li r5, 0x5b +/* 8027E36C 0027B2CC B0 01 00 08 */ sth r0, 8(r1) +/* 8027E370 0027B2D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027E374 0027B2D4 4B DC 5B D1 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8027E378 0027B2D8 7F C3 F3 78 */ mr r3, r30 +/* 8027E37C 0027B2DC 7F E4 FB 78 */ mr r4, r31 +/* 8027E380 0027B2E0 38 A0 00 01 */ li r5, 1 +/* 8027E384 0027B2E4 4B FF F4 0D */ bl sub_8027d790 +lbl_8027E388: +/* 8027E388 0027B2E8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8027E38C 0027B2EC 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8027E390 0027B2F0 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8027E394 0027B2F4 7C 08 03 A6 */ mtlr r0 +/* 8027E398 0027B2F8 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8027E39C 0027B2FC 4E 80 00 20 */ blr + +.global AddToRenderer__20CMetroidPrimeEssenceCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__20CMetroidPrimeEssenceCFRC14CFrustumPlanesRC13CStateManager: +/* 8027E3A0 0027B300 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027E3A4 0027B304 7C 08 02 A6 */ mflr r0 +/* 8027E3A8 0027B308 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027E3AC 0027B30C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027E3B0 0027B310 7C BF 2B 78 */ mr r31, r5 +/* 8027E3B4 0027B314 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027E3B8 0027B318 7C 9E 23 78 */ mr r30, r4 +/* 8027E3BC 0027B31C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8027E3C0 0027B320 7C 7D 1B 78 */ mr r29, r3 +/* 8027E3C4 0027B324 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027E3C8 0027B328 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027E3CC 0027B32C 41 82 00 24 */ beq lbl_8027E3F0 +/* 8027E3D0 0027B330 80 9D 06 5C */ lwz r4, 0x65c(r29) +/* 8027E3D4 0027B334 28 04 00 00 */ cmplwi r4, 0 +/* 8027E3D8 0027B338 41 82 00 18 */ beq lbl_8027E3F0 +/* 8027E3DC 0027B33C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8027E3E0 0027B340 81 83 00 00 */ lwz r12, 0(r3) +/* 8027E3E4 0027B344 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027E3E8 0027B348 7D 89 03 A6 */ mtctr r12 +/* 8027E3EC 0027B34C 4E 80 04 21 */ bctrl +lbl_8027E3F0: +/* 8027E3F0 0027B350 7F A3 EB 78 */ mr r3, r29 +/* 8027E3F4 0027B354 7F C4 F3 78 */ mr r4, r30 +/* 8027E3F8 0027B358 7F E5 FB 78 */ mr r5, r31 +/* 8027E3FC 0027B35C 4B DF 94 BD */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 8027E400 0027B360 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E404 0027B364 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027E408 0027B368 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027E40C 0027B36C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8027E410 0027B370 7C 08 03 A6 */ mtlr r0 +/* 8027E414 0027B374 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E418 0027B378 4E 80 00 20 */ blr + +.global GetAimPosition__20CMetroidPrimeEssenceCFRC13CStateManagerf +GetAimPosition__20CMetroidPrimeEssenceCFRC13CStateManagerf: +/* 8027E41C 0027B37C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027E420 0027B380 7C 08 02 A6 */ mflr r0 +/* 8027E424 0027B384 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027E428 0027B388 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8027E42C 0027B38C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8027E430 0027B390 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027E434 0027B394 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027E438 0027B398 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027E43C 0027B39C 7C 9E 23 78 */ mr r30, r4 +/* 8027E440 0027B3A0 FF E0 08 90 */ fmr f31, f1 +/* 8027E444 0027B3A4 A0 04 07 06 */ lhz r0, 0x706(r4) +/* 8027E448 0027B3A8 7C BF 2B 78 */ mr r31, r5 +/* 8027E44C 0027B3AC 7C 7D 1B 78 */ mr r29, r3 +/* 8027E450 0027B3B0 38 81 00 08 */ addi r4, r1, 8 +/* 8027E454 0027B3B4 B0 01 00 08 */ sth r0, 8(r1) +/* 8027E458 0027B3B8 7F E3 FB 78 */ mr r3, r31 +/* 8027E45C 0027B3BC 4B DC E1 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027E460 0027B3C0 7C 64 1B 78 */ mr r4, r3 +/* 8027E464 0027B3C4 38 61 00 0C */ addi r3, r1, 0xc +/* 8027E468 0027B3C8 4B E3 0E E5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027E46C 0027B3CC 80 63 00 04 */ lwz r3, 4(r3) +/* 8027E470 0027B3D0 28 03 00 00 */ cmplwi r3, 0 +/* 8027E474 0027B3D4 41 82 00 20 */ beq lbl_8027E494 +/* 8027E478 0027B3D8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8027E47C 0027B3DC C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8027E480 0027B3E0 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8027E484 0027B3E4 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8027E488 0027B3E8 D0 3D 00 04 */ stfs f1, 4(r29) +/* 8027E48C 0027B3EC D0 5D 00 08 */ stfs f2, 8(r29) +/* 8027E490 0027B3F0 48 00 00 18 */ b lbl_8027E4A8 +lbl_8027E494: +/* 8027E494 0027B3F4 FC 20 F8 90 */ fmr f1, f31 +/* 8027E498 0027B3F8 7F A3 EB 78 */ mr r3, r29 +/* 8027E49C 0027B3FC 7F C4 F3 78 */ mr r4, r30 +/* 8027E4A0 0027B400 7F E5 FB 78 */ mr r5, r31 +/* 8027E4A4 0027B404 4B DF A1 45 */ bl GetAimPosition__10CPatternedCFRC13CStateManagerf +lbl_8027E4A8: +/* 8027E4A8 0027B408 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8027E4AC 0027B40C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027E4B0 0027B410 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8027E4B4 0027B414 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027E4B8 0027B418 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027E4BC 0027B41C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027E4C0 0027B420 7C 08 03 A6 */ mtlr r0 +/* 8027E4C4 0027B424 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027E4C8 0027B428 4E 80 00 20 */ blr + +.global DoUserAnimEvent__20CMetroidPrimeEssenceFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__20CMetroidPrimeEssenceFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8027E4CC 0027B42C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8027E4D0 0027B430 7C 08 02 A6 */ mflr r0 +/* 8027E4D4 0027B434 90 01 01 34 */ stw r0, 0x134(r1) +/* 8027E4D8 0027B438 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 8027E4DC 0027B43C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 8027E4E0 0027B440 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8027E4E4 0027B444 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8027E4E8 0027B448 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 8027E4EC 0027B44C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 8027E4F0 0027B450 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8027E4F4 0027B454 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 8027E4F8 0027B458 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 8027E4FC 0027B45C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 8027E500 0027B460 BF 61 00 CC */ stmw r27, 0xcc(r1) +/* 8027E504 0027B464 7C DF 33 78 */ mr r31, r6 +/* 8027E508 0027B468 FF E0 08 90 */ fmr f31, f1 +/* 8027E50C 0027B46C 28 1F 00 1E */ cmplwi r31, 0x1e +/* 8027E510 0027B470 7C 7C 1B 78 */ mr r28, r3 +/* 8027E514 0027B474 7C 9D 23 78 */ mr r29, r4 +/* 8027E518 0027B478 7C BE 2B 78 */ mr r30, r5 +/* 8027E51C 0027B47C 38 C0 00 00 */ li r6, 0 +/* 8027E520 0027B480 41 81 02 F4 */ bgt lbl_8027E814 +/* 8027E524 0027B484 3C A0 80 3F */ lis r5, lbl_803EB510@ha +/* 8027E528 0027B488 57 E0 10 3A */ slwi r0, r31, 2 +/* 8027E52C 0027B48C 38 A5 B5 10 */ addi r5, r5, lbl_803EB510@l +/* 8027E530 0027B490 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8027E534 0027B494 7C 09 03 A6 */ mtctr r0 +/* 8027E538 0027B498 4E 80 04 20 */ bctr +/* 8027E53C 0027B49C 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E540 0027B4A0 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8027E544 0027B4A4 28 00 00 01 */ cmplwi r0, 1 +/* 8027E548 0027B4A8 41 82 00 24 */ beq lbl_8027E56C +/* 8027E54C 0027B4AC 7F A5 EB 78 */ mr r5, r29 +/* 8027E550 0027B4B0 38 80 00 10 */ li r4, 0x10 +/* 8027E554 0027B4B4 38 C0 FF FF */ li r6, -1 +/* 8027E558 0027B4B8 4B DD 2B 69 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8027E55C 0027B4BC 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E560 0027B4C0 38 60 00 01 */ li r3, 1 +/* 8027E564 0027B4C4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8027E568 0027B4C8 98 1C 07 0E */ stb r0, 0x70e(r28) +lbl_8027E56C: +/* 8027E56C 0027B4CC 38 C0 00 01 */ li r6, 1 +/* 8027E570 0027B4D0 48 00 02 A4 */ b lbl_8027E814 +/* 8027E574 0027B4D4 A0 DC 07 0C */ lhz r6, 0x70c(r28) +/* 8027E578 0027B4D8 38 00 00 08 */ li r0, 8 +/* 8027E57C 0027B4DC 81 1C 06 64 */ lwz r8, 0x664(r28) +/* 8027E580 0027B4E0 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8027E584 0027B4E4 80 FC 06 60 */ lwz r7, 0x660(r28) +/* 8027E588 0027B4E8 C0 62 BD 10 */ lfs f3, lbl_805ADA30@sda21(r2) +/* 8027E58C 0027B4EC 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027E590 0027B4F0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027E594 0027B4F4 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8027E598 0027B4F8 C0 22 BD 38 */ lfs f1, lbl_805ADA58@sda21(r2) +/* 8027E59C 0027B4FC 80 1C 06 98 */ lwz r0, 0x698(r28) +/* 8027E5A0 0027B500 C0 02 BD 54 */ lfs f0, lbl_805ADA74@sda21(r2) +/* 8027E5A4 0027B504 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8027E5A8 0027B508 88 1C 06 9C */ lbz r0, 0x69c(r28) +/* 8027E5AC 0027B50C 98 01 00 80 */ stb r0, 0x80(r1) +/* 8027E5B0 0027B510 C0 9C 06 A0 */ lfs f4, 0x6a0(r28) +/* 8027E5B4 0027B514 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8027E5B8 0027B518 C0 9C 06 A4 */ lfs f4, 0x6a4(r28) +/* 8027E5BC 0027B51C D0 81 00 88 */ stfs f4, 0x88(r1) +/* 8027E5C0 0027B520 C0 9C 06 A8 */ lfs f4, 0x6a8(r28) +/* 8027E5C4 0027B524 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 8027E5C8 0027B528 C0 9C 06 AC */ lfs f4, 0x6ac(r28) +/* 8027E5CC 0027B52C D0 81 00 90 */ stfs f4, 0x90(r1) +/* 8027E5D0 0027B530 88 1C 06 B0 */ lbz r0, 0x6b0(r28) +/* 8027E5D4 0027B534 98 01 00 94 */ stb r0, 0x94(r1) +/* 8027E5D8 0027B538 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 8027E5DC 0027B53C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 8027E5E0 0027B540 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8027E5E4 0027B544 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8027E5E8 0027B548 91 01 00 A8 */ stw r8, 0xa8(r1) +/* 8027E5EC 0027B54C B0 C1 00 AC */ sth r6, 0xac(r1) +/* 8027E5F0 0027B550 4B FF EF 3D */ bl sub_8027d52c +/* 8027E5F4 0027B554 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027E5F8 0027B558 7F 83 E3 78 */ mr r3, r28 +/* 8027E5FC 0027B55C 7F A4 EB 78 */ mr r4, r29 +/* 8027E600 0027B560 4B FF EE 31 */ bl sub_8027d430 +/* 8027E604 0027B564 38 C0 00 01 */ li r6, 1 +/* 8027E608 0027B568 48 00 02 0C */ b lbl_8027E814 +/* 8027E60C 0027B56C 4B FF F2 19 */ bl sub_8027d824 +/* 8027E610 0027B570 38 C0 00 01 */ li r6, 1 +/* 8027E614 0027B574 48 00 02 00 */ b lbl_8027E814 +/* 8027E618 0027B578 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E61C 0027B57C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8027E620 0027B580 41 82 01 DC */ beq lbl_8027E7FC +/* 8027E624 0027B584 80 1C 06 D8 */ lwz r0, 0x6d8(r28) +/* 8027E628 0027B588 2C 00 00 00 */ cmpwi r0, 0 +/* 8027E62C 0027B58C 41 82 01 D0 */ beq lbl_8027E7FC +/* 8027E630 0027B590 80 7C 06 E4 */ lwz r3, 0x6e4(r28) +/* 8027E634 0027B594 80 1C 06 F8 */ lwz r0, 0x6f8(r28) +/* 8027E638 0027B598 7C 03 00 00 */ cmpw r3, r0 +/* 8027E63C 0027B59C 40 80 01 C0 */ bge lbl_8027E7FC +/* 8027E640 0027B5A0 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027E644 0027B5A4 38 80 FF FF */ li r4, -1 +/* 8027E648 0027B5A8 38 A0 00 01 */ li r5, 1 +/* 8027E64C 0027B5AC 48 09 3F 49 */ bl Range__9CRandom16Fii +/* 8027E650 0027B5B0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8027E654 0027B5B4 3C 00 43 30 */ lis r0, 0x4330 +/* 8027E658 0027B5B8 90 61 00 B4 */ stw r3, 0xb4(r1) +/* 8027E65C 0027B5BC 38 80 FF FF */ li r4, -1 +/* 8027E660 0027B5C0 C8 42 BD 20 */ lfd f2, lbl_805ADA40@sda21(r2) +/* 8027E664 0027B5C4 38 A0 00 01 */ li r5, 1 +/* 8027E668 0027B5C8 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 8027E66C 0027B5CC C0 02 BD 58 */ lfs f0, lbl_805ADA78@sda21(r2) +/* 8027E670 0027B5D0 C8 21 00 B0 */ lfd f1, 0xb0(r1) +/* 8027E674 0027B5D4 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027E678 0027B5D8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8027E67C 0027B5DC EF C0 00 72 */ fmuls f30, f0, f1 +/* 8027E680 0027B5E0 48 09 3F 15 */ bl Range__9CRandom16Fii +/* 8027E684 0027B5E4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8027E688 0027B5E8 3C 00 43 30 */ lis r0, 0x4330 +/* 8027E68C 0027B5EC 90 61 00 BC */ stw r3, 0xbc(r1) +/* 8027E690 0027B5F0 FC 20 F0 90 */ fmr f1, f30 +/* 8027E694 0027B5F4 C8 62 BD 20 */ lfd f3, lbl_805ADA40@sda21(r2) +/* 8027E698 0027B5F8 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8027E69C 0027B5FC C0 02 BD 5C */ lfs f0, lbl_805ADA7C@sda21(r2) +/* 8027E6A0 0027B600 C8 41 00 B8 */ lfd f2, 0xb8(r1) +/* 8027E6A4 0027B604 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8027E6A8 0027B608 EF 80 00 B2 */ fmuls f28, f0, f2 +/* 8027E6AC 0027B60C 48 09 66 99 */ bl FastCosR__5CMathFf +/* 8027E6B0 0027B610 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027E6B4 0027B614 EF 60 00 72 */ fmuls f27, f0, f1 +/* 8027E6B8 0027B618 FC 20 E0 90 */ fmr f1, f28 +/* 8027E6BC 0027B61C 48 09 66 89 */ bl FastCosR__5CMathFf +/* 8027E6C0 0027B620 EF BB 00 72 */ fmuls f29, f27, f1 +/* 8027E6C4 0027B624 FC 20 F0 90 */ fmr f1, f30 +/* 8027E6C8 0027B628 48 09 67 29 */ bl FastSinR__5CMathFf +/* 8027E6CC 0027B62C FF C0 08 50 */ fneg f30, f1 +/* 8027E6D0 0027B630 FC 20 E0 90 */ fmr f1, f28 +/* 8027E6D4 0027B634 48 09 67 1D */ bl FastSinR__5CMathFf +/* 8027E6D8 0027B638 EC 5B 00 72 */ fmuls f2, f27, f1 +/* 8027E6DC 0027B63C C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027E6E0 0027B640 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027E6E4 0027B644 38 9C 06 68 */ addi r4, r28, 0x668 +/* 8027E6E8 0027B648 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 8027E6EC 0027B64C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8027E6F0 0027B650 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8027E6F4 0027B654 EC 00 07 72 */ fmuls f0, f0, f29 +/* 8027E6F8 0027B658 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8027E6FC 0027B65C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8027E700 0027B660 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027E704 0027B664 48 09 43 E5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8027E708 0027B668 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8027E70C 0027B66C 7F A3 EB 78 */ mr r3, r29 +/* 8027E710 0027B670 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8027E714 0027B674 38 81 00 08 */ addi r4, r1, 8 +/* 8027E718 0027B678 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8027E71C 0027B67C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8027E720 0027B680 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8027E724 0027B684 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8027E728 0027B688 A0 1C 07 04 */ lhz r0, 0x704(r28) +/* 8027E72C 0027B68C B0 01 00 08 */ sth r0, 8(r1) +/* 8027E730 0027B690 4B DC DE 45 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027E734 0027B694 7C 64 1B 78 */ mr r4, r3 +/* 8027E738 0027B698 38 61 00 0C */ addi r3, r1, 0xc +/* 8027E73C 0027B69C 4B E2 7E 11 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8027E740 0027B6A0 83 63 00 04 */ lwz r27, 4(r3) +/* 8027E744 0027B6A4 28 1B 00 00 */ cmplwi r27, 0 +/* 8027E748 0027B6A8 41 82 00 B4 */ beq lbl_8027E7FC +/* 8027E74C 0027B6AC 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 8027E750 0027B6B0 7F A5 EB 78 */ mr r5, r29 +/* 8027E754 0027B6B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027E758 0027B6B8 C0 22 BD 10 */ lfs f1, lbl_805ADA30@sda21(r2) +/* 8027E75C 0027B6BC 81 84 00 00 */ lwz r12, 0(r4) +/* 8027E760 0027B6C0 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8027E764 0027B6C4 7D 89 03 A6 */ mtctr r12 +/* 8027E768 0027B6C8 4E 80 04 21 */ bctrl +/* 8027E76C 0027B6CC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8027E770 0027B6D0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8027E774 0027B6D4 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 8027E778 0027B6D8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027E77C 0027B6DC 38 81 00 38 */ addi r4, r1, 0x38 +/* 8027E780 0027B6E0 48 09 53 91 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8027E784 0027B6E4 38 7B 00 34 */ addi r3, r27, 0x34 +/* 8027E788 0027B6E8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8027E78C 0027B6EC 48 09 43 B5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027E790 0027B6F0 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 8027E794 0027B6F4 38 C0 00 01 */ li r6, 1 +/* 8027E798 0027B6F8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8027E79C 0027B6FC 7F 83 E3 78 */ mr r3, r28 +/* 8027E7A0 0027B700 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 8027E7A4 0027B704 7F A5 EB 78 */ mr r5, r29 +/* 8027E7A8 0027B708 38 9B 00 34 */ addi r4, r27, 0x34 +/* 8027E7AC 0027B70C 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 8027E7B0 0027B710 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8027E7B4 0027B714 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 8027E7B8 0027B718 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 8027E7BC 0027B71C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 8027E7C0 0027B720 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 8027E7C4 0027B724 48 00 00 AD */ bl sub_8027e870 +/* 8027E7C8 0027B728 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027E7CC 0027B72C 41 82 00 30 */ beq lbl_8027E7FC +/* 8027E7D0 0027B730 7F 83 E3 78 */ mr r3, r28 +/* 8027E7D4 0027B734 7F A5 EB 78 */ mr r5, r29 +/* 8027E7D8 0027B738 38 80 00 09 */ li r4, 9 +/* 8027E7DC 0027B73C 38 C0 FF FF */ li r6, -1 +/* 8027E7E0 0027B740 4B DD 28 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8027E7E4 0027B744 C0 5B 00 60 */ lfs f2, 0x60(r27) +/* 8027E7E8 0027B748 C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 8027E7EC 0027B74C C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 8027E7F0 0027B750 D0 1C 06 B4 */ stfs f0, 0x6b4(r28) +/* 8027E7F4 0027B754 D0 3C 06 B8 */ stfs f1, 0x6b8(r28) +/* 8027E7F8 0027B758 D0 5C 06 BC */ stfs f2, 0x6bc(r28) +lbl_8027E7FC: +/* 8027E7FC 0027B75C 38 C0 00 01 */ li r6, 1 +/* 8027E800 0027B760 48 00 00 14 */ b lbl_8027E814 +/* 8027E804 0027B764 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E808 0027B768 38 60 00 00 */ li r3, 0 +/* 8027E80C 0027B76C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027E810 0027B770 98 1C 07 0E */ stb r0, 0x70e(r28) +lbl_8027E814: +/* 8027E814 0027B774 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8027E818 0027B778 40 82 00 1C */ bne lbl_8027E834 +/* 8027E81C 0027B77C FC 20 F8 90 */ fmr f1, f31 +/* 8027E820 0027B780 7F 83 E3 78 */ mr r3, r28 +/* 8027E824 0027B784 7F A4 EB 78 */ mr r4, r29 +/* 8027E828 0027B788 7F C5 F3 78 */ mr r5, r30 +/* 8027E82C 0027B78C 7F E6 FB 78 */ mr r6, r31 +/* 8027E830 0027B790 4B DF A6 81 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8027E834: +/* 8027E834 0027B794 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8027E838 0027B798 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 8027E83C 0027B79C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 8027E840 0027B7A0 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8027E844 0027B7A4 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 8027E848 0027B7A8 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 8027E84C 0027B7AC E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 8027E850 0027B7B0 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 8027E854 0027B7B4 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 8027E858 0027B7B8 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 8027E85C 0027B7BC BB 61 00 CC */ lmw r27, 0xcc(r1) +/* 8027E860 0027B7C0 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8027E864 0027B7C4 7C 08 03 A6 */ mtlr r0 +/* 8027E868 0027B7C8 38 21 01 30 */ addi r1, r1, 0x130 +/* 8027E86C 0027B7CC 4E 80 00 20 */ blr + +.global sub_8027e870 +sub_8027e870: +/* 8027E870 0027B7D0 94 21 EA 30 */ stwu r1, -0x15d0(r1) +/* 8027E874 0027B7D4 7C 08 02 A6 */ mflr r0 +/* 8027E878 0027B7D8 90 01 15 D4 */ stw r0, 0x15d4(r1) +/* 8027E87C 0027B7DC 38 00 15 C8 */ li r0, 0x15c8 +/* 8027E880 0027B7E0 DB E1 15 C0 */ stfd f31, 0x15c0(r1) +/* 8027E884 0027B7E4 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 8027E888 0027B7E8 38 00 15 B8 */ li r0, 0x15b8 +/* 8027E88C 0027B7EC DB C1 15 B0 */ stfd f30, 0x15b0(r1) +/* 8027E890 0027B7F0 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 8027E894 0027B7F4 38 00 15 A8 */ li r0, 0x15a8 +/* 8027E898 0027B7F8 DB A1 15 A0 */ stfd f29, 0x15a0(r1) +/* 8027E89C 0027B7FC 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 8027E8A0 0027B800 38 00 15 98 */ li r0, 0x1598 +/* 8027E8A4 0027B804 DB 81 15 90 */ stfd f28, 0x1590(r1) +/* 8027E8A8 0027B808 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 8027E8AC 0027B80C 38 00 15 88 */ li r0, 0x1588 +/* 8027E8B0 0027B810 DB 61 15 80 */ stfd f27, 0x1580(r1) +/* 8027E8B4 0027B814 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 8027E8B8 0027B818 38 00 15 78 */ li r0, 0x1578 +/* 8027E8BC 0027B81C DB 41 15 70 */ stfd f26, 0x1570(r1) +/* 8027E8C0 0027B820 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 +/* 8027E8C4 0027B824 BF 21 15 54 */ stmw r25, 0x1554(r1) +/* 8027E8C8 0027B828 38 00 00 00 */ li r0, 0 +/* 8027E8CC 0027B82C 80 CD 98 FC */ lwz r6, lbl_805A84BC@sda21(r13) +/* 8027E8D0 0027B830 90 01 0D 44 */ stw r0, 0xd44(r1) +/* 8027E8D4 0027B834 7C 7D 1B 78 */ mr r29, r3 +/* 8027E8D8 0027B838 7C 9E 23 78 */ mr r30, r4 +/* 8027E8DC 0027B83C 7C BF 2B 78 */ mr r31, r5 +/* 8027E8E0 0027B840 7C C5 33 78 */ mr r5, r6 +/* 8027E8E4 0027B844 38 60 00 00 */ li r3, 0 +/* 8027E8E8 0027B848 38 80 00 01 */ li r4, 1 +/* 8027E8EC 0027B84C 48 10 B6 09 */ bl __shl2i +/* 8027E8F0 0027B850 80 AD 99 00 */ lwz r5, lbl_805A84C0@sda21(r13) +/* 8027E8F4 0027B854 7C 9B 23 78 */ mr r27, r4 +/* 8027E8F8 0027B858 7C 7C 1B 78 */ mr r28, r3 +/* 8027E8FC 0027B85C 38 60 00 00 */ li r3, 0 +/* 8027E900 0027B860 38 80 00 01 */ li r4, 1 +/* 8027E904 0027B864 48 10 B5 F1 */ bl __shl2i +/* 8027E908 0027B868 80 AD 99 04 */ lwz r5, lbl_805A84C4@sda21(r13) +/* 8027E90C 0027B86C 7F 7B 23 78 */ or r27, r27, r4 +/* 8027E910 0027B870 7F 9C 1B 78 */ or r28, r28, r3 +/* 8027E914 0027B874 38 60 00 00 */ li r3, 0 +/* 8027E918 0027B878 38 80 00 01 */ li r4, 1 +/* 8027E91C 0027B87C 48 10 B5 D9 */ bl __shl2i +/* 8027E920 0027B880 C3 BE 00 2C */ lfs f29, 0x2c(r30) +/* 8027E924 0027B884 7F 7B 23 78 */ or r27, r27, r4 +/* 8027E928 0027B888 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027E92C 0027B88C 7F 9C 1B 78 */ or r28, r28, r3 +/* 8027E930 0027B890 C3 DE 00 1C */ lfs f30, 0x1c(r30) +/* 8027E934 0027B894 38 C0 00 01 */ li r6, 1 +/* 8027E938 0027B898 C3 FE 00 0C */ lfs f31, 0xc(r30) +/* 8027E93C 0027B89C EC 7D 00 2A */ fadds f3, f29, f0 +/* 8027E940 0027B8A0 38 00 00 00 */ li r0, 0 +/* 8027E944 0027B8A4 EC 9E 00 2A */ fadds f4, f30, f0 +/* 8027E948 0027B8A8 EC BF 00 2A */ fadds f5, f31, f0 +/* 8027E94C 0027B8AC 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 8027E950 0027B8B0 EC 5F 00 28 */ fsubs f2, f31, f0 +/* 8027E954 0027B8B4 EC 3E 00 28 */ fsubs f1, f30, f0 +/* 8027E958 0027B8B8 93 61 00 FC */ stw r27, 0xfc(r1) +/* 8027E95C 0027B8BC EC 1D 00 28 */ fsubs f0, f29, f0 +/* 8027E960 0027B8C0 93 81 00 F8 */ stw r28, 0xf8(r1) +/* 8027E964 0027B8C4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8027E968 0027B8C8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8027E96C 0027B8CC 90 01 01 04 */ stw r0, 0x104(r1) +/* 8027E970 0027B8D0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8027E974 0027B8D4 90 01 01 00 */ stw r0, 0x100(r1) +/* 8027E978 0027B8D8 90 C1 01 08 */ stw r6, 0x108(r1) +/* 8027E97C 0027B8DC D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 8027E980 0027B8E0 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8027E984 0027B8E4 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 8027E988 0027B8E8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8027E98C 0027B8EC D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8027E990 0027B8F0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8027E994 0027B8F4 48 0B 9B 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8027E998 0027B8F8 80 AD 99 18 */ lwz r5, lbl_805A84D8@sda21(r13) +/* 8027E99C 0027B8FC 38 60 00 00 */ li r3, 0 +/* 8027E9A0 0027B900 38 80 00 01 */ li r4, 1 +/* 8027E9A4 0027B904 48 10 B5 51 */ bl __shl2i +/* 8027E9A8 0027B908 80 AD 99 08 */ lwz r5, lbl_805A84C8@sda21(r13) +/* 8027E9AC 0027B90C 7C 9C 23 78 */ mr r28, r4 +/* 8027E9B0 0027B910 7C 7B 1B 78 */ mr r27, r3 +/* 8027E9B4 0027B914 38 60 00 00 */ li r3, 0 +/* 8027E9B8 0027B918 38 80 00 01 */ li r4, 1 +/* 8027E9BC 0027B91C 48 10 B5 39 */ bl __shl2i +/* 8027E9C0 0027B920 80 AD 99 0C */ lwz r5, lbl_805A84CC@sda21(r13) +/* 8027E9C4 0027B924 7C 99 23 78 */ mr r25, r4 +/* 8027E9C8 0027B928 7C 7A 1B 78 */ mr r26, r3 +/* 8027E9CC 0027B92C 38 60 00 00 */ li r3, 0 +/* 8027E9D0 0027B930 38 80 00 01 */ li r4, 1 +/* 8027E9D4 0027B934 48 10 B5 21 */ bl __shl2i +/* 8027E9D8 0027B938 80 AD 99 10 */ lwz r5, lbl_805A84D0@sda21(r13) +/* 8027E9DC 0027B93C 7F 39 23 78 */ or r25, r25, r4 +/* 8027E9E0 0027B940 7F 5A 1B 78 */ or r26, r26, r3 +/* 8027E9E4 0027B944 38 60 00 00 */ li r3, 0 +/* 8027E9E8 0027B948 38 80 00 01 */ li r4, 1 +/* 8027E9EC 0027B94C 48 10 B5 09 */ bl __shl2i +/* 8027E9F0 0027B950 80 AD 99 14 */ lwz r5, lbl_805A84D4@sda21(r13) +/* 8027E9F4 0027B954 7F 39 23 78 */ or r25, r25, r4 +/* 8027E9F8 0027B958 7F 5A 1B 78 */ or r26, r26, r3 +/* 8027E9FC 0027B95C 38 60 00 00 */ li r3, 0 +/* 8027EA00 0027B960 38 80 00 01 */ li r4, 1 +/* 8027EA04 0027B964 48 10 B4 F1 */ bl __shl2i +/* 8027EA08 0027B968 7F 39 23 78 */ or r25, r25, r4 +/* 8027EA0C 0027B96C 7F 5A 1B 78 */ or r26, r26, r3 +/* 8027EA10 0027B970 38 00 00 03 */ li r0, 3 +/* 8027EA14 0027B974 93 21 00 CC */ stw r25, 0xcc(r1) +/* 8027EA18 0027B978 7F E3 FB 78 */ mr r3, r31 +/* 8027EA1C 0027B97C 7F A7 EB 78 */ mr r7, r29 +/* 8027EA20 0027B980 90 01 00 88 */ stw r0, 0x88(r1) +/* 8027EA24 0027B984 38 81 0D 44 */ addi r4, r1, 0xd44 +/* 8027EA28 0027B988 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8027EA2C 0027B98C 38 C1 00 F8 */ addi r6, r1, 0xf8 +/* 8027EA30 0027B990 93 41 00 C8 */ stw r26, 0xc8(r1) +/* 8027EA34 0027B994 93 81 00 D4 */ stw r28, 0xd4(r1) +/* 8027EA38 0027B998 93 61 00 D0 */ stw r27, 0xd0(r1) +/* 8027EA3C 0027B99C 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8027EA40 0027B9A0 4B DC DC E1 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8027EA44 0027B9A4 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8027EA48 0027B9A8 38 00 00 00 */ li r0, 0 +/* 8027EA4C 0027B9AC 80 AD 99 1C */ lwz r5, lbl_805A84DC@sda21(r13) +/* 8027EA50 0027B9B0 38 60 00 00 */ li r3, 0 +/* 8027EA54 0027B9B4 B0 81 00 0C */ sth r4, 0xc(r1) +/* 8027EA58 0027B9B8 38 80 00 01 */ li r4, 1 +/* 8027EA5C 0027B9BC 90 01 01 40 */ stw r0, 0x140(r1) +/* 8027EA60 0027B9C0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8027EA64 0027B9C4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8027EA68 0027B9C8 48 10 B4 8D */ bl __shl2i +/* 8027EA6C 0027B9CC 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8027EA70 0027B9D0 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8027EA74 0027B9D4 7C 00 1B 78 */ or r0, r0, r3 +/* 8027EA78 0027B9D8 80 AD 99 20 */ lwz r5, lbl_805A84E0@sda21(r13) +/* 8027EA7C 0027B9DC 7C C4 23 78 */ or r4, r6, r4 +/* 8027EA80 0027B9E0 90 01 00 18 */ stw r0, 0x18(r1) +/* 8027EA84 0027B9E4 38 60 00 00 */ li r3, 0 +/* 8027EA88 0027B9E8 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8027EA8C 0027B9EC 38 80 00 01 */ li r4, 1 +/* 8027EA90 0027B9F0 48 10 B4 65 */ bl __shl2i +/* 8027EA94 0027B9F4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8027EA98 0027B9F8 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8027EA9C 0027B9FC C7 85 66 A0 */ lfsu f28, skZero3f@l(r5) +/* 8027EAA0 0027BA00 7C 00 1B 78 */ or r0, r0, r3 +/* 8027EAA4 0027BA04 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8027EAA8 0027BA08 90 01 00 18 */ stw r0, 0x18(r1) +/* 8027EAAC 0027BA0C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8027EAB0 0027BA10 7C C4 23 78 */ or r4, r6, r4 +/* 8027EAB4 0027BA14 C3 65 00 04 */ lfs f27, 4(r5) +/* 8027EAB8 0027BA18 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8027EABC 0027BA1C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027EAC0 0027BA20 C3 45 00 08 */ lfs f26, 8(r5) +/* 8027EAC4 0027BA24 48 05 0D F1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8027EAC8 0027BA28 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027EACC 0027BA2C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8027EAD0 0027BA30 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8027EAD4 0027BA34 D3 81 00 B8 */ stfs f28, 0xb8(r1) +/* 8027EAD8 0027BA38 7F E3 FB 78 */ mr r3, r31 +/* 8027EADC 0027BA3C 7F C5 F3 78 */ mr r5, r30 +/* 8027EAE0 0027BA40 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027EAE4 0027BA44 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8027EAE8 0027BA48 38 C1 00 C8 */ addi r6, r1, 0xc8 +/* 8027EAEC 0027BA4C 38 E1 0D 44 */ addi r7, r1, 0xd44 +/* 8027EAF0 0027BA50 D3 61 00 BC */ stfs f27, 0xbc(r1) +/* 8027EAF4 0027BA54 39 01 00 0C */ addi r8, r1, 0xc +/* 8027EAF8 0027BA58 39 21 01 40 */ addi r9, r1, 0x140 +/* 8027EAFC 0027BA5C D3 41 00 C0 */ stfs f26, 0xc0(r1) +/* 8027EB00 0027BA60 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8027EB04 0027BA64 4B F0 59 A1 */ bl "DetectCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList" +/* 8027EB08 0027BA68 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 8027EB0C 0027BA6C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027EB10 0027BA70 40 81 00 C0 */ ble lbl_8027EBD0 +/* 8027EB14 0027BA74 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8027EB18 0027BA78 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8027EB1C 0027BA7C 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8027EB20 0027BA80 38 80 00 00 */ li r4, 0 +/* 8027EB24 0027BA84 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027EB28 0027BA88 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8027EB2C 0027BA8C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027EB30 0027BA90 40 81 00 40 */ ble lbl_8027EB70 +/* 8027EB34 0027BA94 2C 05 00 08 */ cmpwi r5, 8 +/* 8027EB38 0027BA98 38 65 FF F8 */ addi r3, r5, -8 +/* 8027EB3C 0027BA9C 40 81 00 20 */ ble lbl_8027EB5C +/* 8027EB40 0027BAA0 38 03 00 07 */ addi r0, r3, 7 +/* 8027EB44 0027BAA4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EB48 0027BAA8 7C 09 03 A6 */ mtctr r0 +/* 8027EB4C 0027BAAC 2C 03 00 00 */ cmpwi r3, 0 +/* 8027EB50 0027BAB0 40 81 00 0C */ ble lbl_8027EB5C +lbl_8027EB54: +/* 8027EB54 0027BAB4 38 84 00 08 */ addi r4, r4, 8 +/* 8027EB58 0027BAB8 42 00 FF FC */ bdnz lbl_8027EB54 +lbl_8027EB5C: +/* 8027EB5C 0027BABC 7C 04 28 50 */ subf r0, r4, r5 +/* 8027EB60 0027BAC0 7C 09 03 A6 */ mtctr r0 +/* 8027EB64 0027BAC4 7C 04 28 00 */ cmpw r4, r5 +/* 8027EB68 0027BAC8 40 80 00 08 */ bge lbl_8027EB70 +lbl_8027EB6C: +/* 8027EB6C 0027BACC 42 00 00 00 */ bdnz lbl_8027EB6C +lbl_8027EB70: +/* 8027EB70 0027BAD0 80 A1 0D 44 */ lwz r5, 0xd44(r1) +/* 8027EB74 0027BAD4 38 60 00 00 */ li r3, 0 +/* 8027EB78 0027BAD8 90 61 01 40 */ stw r3, 0x140(r1) +/* 8027EB7C 0027BADC 2C 05 00 00 */ cmpwi r5, 0 +/* 8027EB80 0027BAE0 40 81 00 40 */ ble lbl_8027EBC0 +/* 8027EB84 0027BAE4 2C 05 00 08 */ cmpwi r5, 8 +/* 8027EB88 0027BAE8 38 85 FF F8 */ addi r4, r5, -8 +/* 8027EB8C 0027BAEC 40 81 00 20 */ ble lbl_8027EBAC +/* 8027EB90 0027BAF0 38 04 00 07 */ addi r0, r4, 7 +/* 8027EB94 0027BAF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EB98 0027BAF8 7C 09 03 A6 */ mtctr r0 +/* 8027EB9C 0027BAFC 2C 04 00 00 */ cmpwi r4, 0 +/* 8027EBA0 0027BB00 40 81 00 0C */ ble lbl_8027EBAC +lbl_8027EBA4: +/* 8027EBA4 0027BB04 38 63 00 08 */ addi r3, r3, 8 +/* 8027EBA8 0027BB08 42 00 FF FC */ bdnz lbl_8027EBA4 +lbl_8027EBAC: +/* 8027EBAC 0027BB0C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027EBB0 0027BB10 7C 09 03 A6 */ mtctr r0 +/* 8027EBB4 0027BB14 7C 03 28 00 */ cmpw r3, r5 +/* 8027EBB8 0027BB18 40 80 00 08 */ bge lbl_8027EBC0 +lbl_8027EBBC: +/* 8027EBBC 0027BB1C 42 00 00 00 */ bdnz lbl_8027EBBC +lbl_8027EBC0: +/* 8027EBC0 0027BB20 38 00 00 00 */ li r0, 0 +/* 8027EBC4 0027BB24 38 60 00 00 */ li r3, 0 +/* 8027EBC8 0027BB28 90 01 0D 44 */ stw r0, 0xd44(r1) +/* 8027EBCC 0027BB2C 48 00 02 60 */ b lbl_8027EE2C +lbl_8027EBD0: +/* 8027EBD0 0027BB30 A0 1D 07 06 */ lhz r0, 0x706(r29) +/* 8027EBD4 0027BB34 7F E3 FB 78 */ mr r3, r31 +/* 8027EBD8 0027BB38 38 81 00 08 */ addi r4, r1, 8 +/* 8027EBDC 0027BB3C B0 01 00 08 */ sth r0, 8(r1) +/* 8027EBE0 0027BB40 4B DC D9 95 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027EBE4 0027BB44 7C 64 1B 78 */ mr r4, r3 +/* 8027EBE8 0027BB48 38 61 00 10 */ addi r3, r1, 0x10 +/* 8027EBEC 0027BB4C 4B E3 07 61 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027EBF0 0027BB50 83 23 00 04 */ lwz r25, 4(r3) +/* 8027EBF4 0027BB54 28 19 00 00 */ cmplwi r25, 0 +/* 8027EBF8 0027BB58 41 82 01 74 */ beq lbl_8027ED6C +/* 8027EBFC 0027BB5C C0 59 00 50 */ lfs f2, 0x50(r25) +/* 8027EC00 0027BB60 38 61 00 50 */ addi r3, r1, 0x50 +/* 8027EC04 0027BB64 C0 39 00 60 */ lfs f1, 0x60(r25) +/* 8027EC08 0027BB68 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 8027EC0C 0027BB6C EC 5E 10 28 */ fsubs f2, f30, f2 +/* 8027EC10 0027BB70 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 8027EC14 0027BB74 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 8027EC18 0027BB78 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8027EC1C 0027BB7C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8027EC20 0027BB80 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8027EC24 0027BB84 48 09 5C 95 */ bl Magnitude__9CVector3fCFv +/* 8027EC28 0027BB88 FF 40 08 90 */ fmr f26, f1 +/* 8027EC2C 0027BB8C 80 AD 99 24 */ lwz r5, lbl_805A84E4@sda21(r13) +/* 8027EC30 0027BB90 38 60 00 00 */ li r3, 0 +/* 8027EC34 0027BB94 38 80 00 01 */ li r4, 1 +/* 8027EC38 0027BB98 48 10 B2 BD */ bl __shl2i +/* 8027EC3C 0027BB9C 38 C0 FF FF */ li r6, -1 +/* 8027EC40 0027BBA0 38 A0 00 00 */ li r5, 0 +/* 8027EC44 0027BBA4 38 00 00 02 */ li r0, 2 +/* 8027EC48 0027BBA8 90 81 00 6C */ stw r4, 0x6c(r1) +/* 8027EC4C 0027BBAC 38 81 00 50 */ addi r4, r1, 0x50 +/* 8027EC50 0027BBB0 90 61 00 68 */ stw r3, 0x68(r1) +/* 8027EC54 0027BBB4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027EC58 0027BBB8 90 C1 00 64 */ stw r6, 0x64(r1) +/* 8027EC5C 0027BBBC 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8027EC60 0027BBC0 90 01 00 70 */ stw r0, 0x70(r1) +/* 8027EC64 0027BBC4 C0 59 00 60 */ lfs f2, 0x60(r25) +/* 8027EC68 0027BBC8 C0 39 00 50 */ lfs f1, 0x50(r25) +/* 8027EC6C 0027BBCC C0 19 00 40 */ lfs f0, 0x40(r25) +/* 8027EC70 0027BBD0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8027EC74 0027BBD4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8027EC78 0027BBD8 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8027EC7C 0027BBDC 48 09 5B D5 */ bl AsNormalized__9CVector3fCFv +/* 8027EC80 0027BBE0 FC 20 D0 90 */ fmr f1, f26 +/* 8027EC84 0027BBE4 7F E4 FB 78 */ mr r4, r31 +/* 8027EC88 0027BBE8 38 61 01 10 */ addi r3, r1, 0x110 +/* 8027EC8C 0027BBEC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8027EC90 0027BBF0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8027EC94 0027BBF4 38 E1 00 60 */ addi r7, r1, 0x60 +/* 8027EC98 0027BBF8 4B DC E3 01 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8027EC9C 0027BBFC 88 01 01 30 */ lbz r0, 0x130(r1) +/* 8027ECA0 0027BC00 28 00 00 00 */ cmplwi r0, 0 +/* 8027ECA4 0027BC04 40 82 00 C8 */ bne lbl_8027ED6C +/* 8027ECA8 0027BC08 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8027ECAC 0027BC0C 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 8027ECB0 0027BC10 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8027ECB4 0027BC14 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8027ECB8 0027BC18 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ECBC 0027BC1C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8027ECC0 0027BC20 2C 05 00 00 */ cmpwi r5, 0 +/* 8027ECC4 0027BC24 38 60 00 00 */ li r3, 0 +/* 8027ECC8 0027BC28 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ECCC 0027BC2C 40 81 00 40 */ ble lbl_8027ED0C +/* 8027ECD0 0027BC30 2C 05 00 08 */ cmpwi r5, 8 +/* 8027ECD4 0027BC34 38 85 FF F8 */ addi r4, r5, -8 +/* 8027ECD8 0027BC38 40 81 00 20 */ ble lbl_8027ECF8 +/* 8027ECDC 0027BC3C 38 04 00 07 */ addi r0, r4, 7 +/* 8027ECE0 0027BC40 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027ECE4 0027BC44 7C 09 03 A6 */ mtctr r0 +/* 8027ECE8 0027BC48 2C 04 00 00 */ cmpwi r4, 0 +/* 8027ECEC 0027BC4C 40 81 00 0C */ ble lbl_8027ECF8 +lbl_8027ECF0: +/* 8027ECF0 0027BC50 38 63 00 08 */ addi r3, r3, 8 +/* 8027ECF4 0027BC54 42 00 FF FC */ bdnz lbl_8027ECF0 +lbl_8027ECF8: +/* 8027ECF8 0027BC58 7C 03 28 50 */ subf r0, r3, r5 +/* 8027ECFC 0027BC5C 7C 09 03 A6 */ mtctr r0 +/* 8027ED00 0027BC60 7C 03 28 00 */ cmpw r3, r5 +/* 8027ED04 0027BC64 40 80 00 08 */ bge lbl_8027ED0C +lbl_8027ED08: +/* 8027ED08 0027BC68 42 00 00 00 */ bdnz lbl_8027ED08 +lbl_8027ED0C: +/* 8027ED0C 0027BC6C 80 A1 0D 44 */ lwz r5, 0xd44(r1) +/* 8027ED10 0027BC70 38 60 00 00 */ li r3, 0 +/* 8027ED14 0027BC74 90 61 01 40 */ stw r3, 0x140(r1) +/* 8027ED18 0027BC78 2C 05 00 00 */ cmpwi r5, 0 +/* 8027ED1C 0027BC7C 40 81 00 40 */ ble lbl_8027ED5C +/* 8027ED20 0027BC80 2C 05 00 08 */ cmpwi r5, 8 +/* 8027ED24 0027BC84 38 85 FF F8 */ addi r4, r5, -8 +/* 8027ED28 0027BC88 40 81 00 20 */ ble lbl_8027ED48 +/* 8027ED2C 0027BC8C 38 04 00 07 */ addi r0, r4, 7 +/* 8027ED30 0027BC90 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027ED34 0027BC94 7C 09 03 A6 */ mtctr r0 +/* 8027ED38 0027BC98 2C 04 00 00 */ cmpwi r4, 0 +/* 8027ED3C 0027BC9C 40 81 00 0C */ ble lbl_8027ED48 +lbl_8027ED40: +/* 8027ED40 0027BCA0 38 63 00 08 */ addi r3, r3, 8 +/* 8027ED44 0027BCA4 42 00 FF FC */ bdnz lbl_8027ED40 +lbl_8027ED48: +/* 8027ED48 0027BCA8 7C 03 28 50 */ subf r0, r3, r5 +/* 8027ED4C 0027BCAC 7C 09 03 A6 */ mtctr r0 +/* 8027ED50 0027BCB0 7C 03 28 00 */ cmpw r3, r5 +/* 8027ED54 0027BCB4 40 80 00 08 */ bge lbl_8027ED5C +lbl_8027ED58: +/* 8027ED58 0027BCB8 42 00 00 00 */ bdnz lbl_8027ED58 +lbl_8027ED5C: +/* 8027ED5C 0027BCBC 38 00 00 00 */ li r0, 0 +/* 8027ED60 0027BCC0 38 60 00 01 */ li r3, 1 +/* 8027ED64 0027BCC4 90 01 0D 44 */ stw r0, 0xd44(r1) +/* 8027ED68 0027BCC8 48 00 00 C4 */ b lbl_8027EE2C +lbl_8027ED6C: +/* 8027ED6C 0027BCCC 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8027ED70 0027BCD0 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 8027ED74 0027BCD4 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8027ED78 0027BCD8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8027ED7C 0027BCDC 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ED80 0027BCE0 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8027ED84 0027BCE4 2C 05 00 00 */ cmpwi r5, 0 +/* 8027ED88 0027BCE8 38 60 00 00 */ li r3, 0 +/* 8027ED8C 0027BCEC 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ED90 0027BCF0 40 81 00 40 */ ble lbl_8027EDD0 +/* 8027ED94 0027BCF4 2C 05 00 08 */ cmpwi r5, 8 +/* 8027ED98 0027BCF8 38 85 FF F8 */ addi r4, r5, -8 +/* 8027ED9C 0027BCFC 40 81 00 20 */ ble lbl_8027EDBC +/* 8027EDA0 0027BD00 38 04 00 07 */ addi r0, r4, 7 +/* 8027EDA4 0027BD04 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EDA8 0027BD08 7C 09 03 A6 */ mtctr r0 +/* 8027EDAC 0027BD0C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027EDB0 0027BD10 40 81 00 0C */ ble lbl_8027EDBC +lbl_8027EDB4: +/* 8027EDB4 0027BD14 38 63 00 08 */ addi r3, r3, 8 +/* 8027EDB8 0027BD18 42 00 FF FC */ bdnz lbl_8027EDB4 +lbl_8027EDBC: +/* 8027EDBC 0027BD1C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027EDC0 0027BD20 7C 09 03 A6 */ mtctr r0 +/* 8027EDC4 0027BD24 7C 03 28 00 */ cmpw r3, r5 +/* 8027EDC8 0027BD28 40 80 00 08 */ bge lbl_8027EDD0 +lbl_8027EDCC: +/* 8027EDCC 0027BD2C 42 00 00 00 */ bdnz lbl_8027EDCC +lbl_8027EDD0: +/* 8027EDD0 0027BD30 80 A1 0D 44 */ lwz r5, 0xd44(r1) +/* 8027EDD4 0027BD34 38 60 00 00 */ li r3, 0 +/* 8027EDD8 0027BD38 90 61 01 40 */ stw r3, 0x140(r1) +/* 8027EDDC 0027BD3C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027EDE0 0027BD40 40 81 00 40 */ ble lbl_8027EE20 +/* 8027EDE4 0027BD44 2C 05 00 08 */ cmpwi r5, 8 +/* 8027EDE8 0027BD48 38 85 FF F8 */ addi r4, r5, -8 +/* 8027EDEC 0027BD4C 40 81 00 20 */ ble lbl_8027EE0C +/* 8027EDF0 0027BD50 38 04 00 07 */ addi r0, r4, 7 +/* 8027EDF4 0027BD54 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EDF8 0027BD58 7C 09 03 A6 */ mtctr r0 +/* 8027EDFC 0027BD5C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027EE00 0027BD60 40 81 00 0C */ ble lbl_8027EE0C +lbl_8027EE04: +/* 8027EE04 0027BD64 38 63 00 08 */ addi r3, r3, 8 +/* 8027EE08 0027BD68 42 00 FF FC */ bdnz lbl_8027EE04 +lbl_8027EE0C: +/* 8027EE0C 0027BD6C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027EE10 0027BD70 7C 09 03 A6 */ mtctr r0 +/* 8027EE14 0027BD74 7C 03 28 00 */ cmpw r3, r5 +/* 8027EE18 0027BD78 40 80 00 08 */ bge lbl_8027EE20 +lbl_8027EE1C: +/* 8027EE1C 0027BD7C 42 00 00 00 */ bdnz lbl_8027EE1C +lbl_8027EE20: +/* 8027EE20 0027BD80 38 00 00 00 */ li r0, 0 +/* 8027EE24 0027BD84 38 60 00 00 */ li r3, 0 +/* 8027EE28 0027BD88 90 01 0D 44 */ stw r0, 0xd44(r1) +lbl_8027EE2C: +/* 8027EE2C 0027BD8C 38 00 15 C8 */ li r0, 0x15c8 +/* 8027EE30 0027BD90 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 8027EE34 0027BD94 CB E1 15 C0 */ lfd f31, 0x15c0(r1) +/* 8027EE38 0027BD98 38 00 15 B8 */ li r0, 0x15b8 +/* 8027EE3C 0027BD9C 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 8027EE40 0027BDA0 CB C1 15 B0 */ lfd f30, 0x15b0(r1) +/* 8027EE44 0027BDA4 38 00 15 A8 */ li r0, 0x15a8 +/* 8027EE48 0027BDA8 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 8027EE4C 0027BDAC CB A1 15 A0 */ lfd f29, 0x15a0(r1) +/* 8027EE50 0027BDB0 38 00 15 98 */ li r0, 0x1598 +/* 8027EE54 0027BDB4 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 8027EE58 0027BDB8 CB 81 15 90 */ lfd f28, 0x1590(r1) +/* 8027EE5C 0027BDBC 38 00 15 88 */ li r0, 0x1588 +/* 8027EE60 0027BDC0 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 8027EE64 0027BDC4 CB 61 15 80 */ lfd f27, 0x1580(r1) +/* 8027EE68 0027BDC8 38 00 15 78 */ li r0, 0x1578 +/* 8027EE6C 0027BDCC 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 +/* 8027EE70 0027BDD0 CB 41 15 70 */ lfd f26, 0x1570(r1) +/* 8027EE74 0027BDD4 BB 21 15 54 */ lmw r25, 0x1554(r1) +/* 8027EE78 0027BDD8 80 01 15 D4 */ lwz r0, 0x15d4(r1) +/* 8027EE7C 0027BDDC 7C 08 03 A6 */ mtlr r0 +/* 8027EE80 0027BDE0 38 21 15 D0 */ addi r1, r1, 0x15d0 +/* 8027EE84 0027BDE4 4E 80 00 20 */ blr + +.global sub_8027ee88 +sub_8027ee88: +/* 8027EE88 0027BDE8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027EE8C 0027BDEC 7C 08 02 A6 */ mflr r0 +/* 8027EE90 0027BDF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027EE94 0027BDF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027EE98 0027BDF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027EE9C 0027BDFC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8027EEA0 0027BE00 7C 9D 23 78 */ mr r29, r4 +/* 8027EEA4 0027BE04 93 81 00 10 */ stw r28, 0x10(r1) +/* 8027EEA8 0027BE08 7C 7C 1B 78 */ mr r28, r3 +/* 8027EEAC 0027BE0C 83 E4 08 38 */ lwz r31, 0x838(r4) +/* 8027EEB0 0027BE10 AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8027EEB4 0027BE14 48 00 00 7C */ b lbl_8027EF30 +lbl_8027EEB8: +/* 8027EEB8 0027BE18 7F E3 FB 78 */ mr r3, r31 +/* 8027EEBC 0027BE1C 7F C4 F3 78 */ mr r4, r30 +/* 8027EEC0 0027BE20 4B D9 0E 55 */ bl __vc__11CObjectListFi +/* 8027EEC4 0027BE24 7C 64 1B 78 */ mr r4, r3 +/* 8027EEC8 0027BE28 38 61 00 08 */ addi r3, r1, 8 +/* 8027EECC 0027BE2C 4B E2 DB 91 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8027EED0 0027BE30 80 63 00 04 */ lwz r3, 4(r3) +/* 8027EED4 0027BE34 28 03 00 00 */ cmplwi r3, 0 +/* 8027EED8 0027BE38 41 82 00 3C */ beq lbl_8027EF14 +/* 8027EEDC 0027BE3C 7C 03 E0 40 */ cmplw r3, r28 +/* 8027EEE0 0027BE40 41 82 00 34 */ beq lbl_8027EF14 +/* 8027EEE4 0027BE44 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027EEE8 0027BE48 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027EEEC 0027BE4C 41 82 00 28 */ beq lbl_8027EF14 +/* 8027EEF0 0027BE50 80 83 00 04 */ lwz r4, 4(r3) +/* 8027EEF4 0027BE54 80 1C 00 04 */ lwz r0, 4(r28) +/* 8027EEF8 0027BE58 7C 04 00 00 */ cmpw r4, r0 +/* 8027EEFC 0027BE5C 40 82 00 18 */ bne lbl_8027EF14 +/* 8027EF00 0027BE60 81 83 00 00 */ lwz r12, 0(r3) +/* 8027EF04 0027BE64 7F A4 EB 78 */ mr r4, r29 +/* 8027EF08 0027BE68 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 8027EF0C 0027BE6C 7D 89 03 A6 */ mtctr r12 +/* 8027EF10 0027BE70 4E 80 04 21 */ bctrl +lbl_8027EF14: +/* 8027EF14 0027BE74 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EF18 0027BE78 41 82 00 14 */ beq lbl_8027EF2C +/* 8027EF1C 0027BE7C 57 C3 18 38 */ slwi r3, r30, 3 +/* 8027EF20 0027BE80 38 03 00 08 */ addi r0, r3, 8 +/* 8027EF24 0027BE84 7F DF 02 AE */ lhax r30, r31, r0 +/* 8027EF28 0027BE88 48 00 00 08 */ b lbl_8027EF30 +lbl_8027EF2C: +/* 8027EF2C 0027BE8C 3B C0 FF FF */ li r30, -1 +lbl_8027EF30: +/* 8027EF30 0027BE90 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EF34 0027BE94 40 82 FF 84 */ bne lbl_8027EEB8 +/* 8027EF38 0027BE98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027EF3C 0027BE9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027EF40 0027BEA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027EF44 0027BEA4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8027EF48 0027BEA8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8027EF4C 0027BEAC 7C 08 03 A6 */ mtlr r0 +/* 8027EF50 0027BEB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027EF54 0027BEB4 4E 80 00 20 */ blr + +.global sub_8027ef58 +sub_8027ef58: +/* 8027EF58 0027BEB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027EF5C 0027BEBC 7C 08 02 A6 */ mflr r0 +/* 8027EF60 0027BEC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027EF64 0027BEC4 38 00 00 00 */ li r0, 0 +/* 8027EF68 0027BEC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027EF6C 0027BECC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027EF70 0027BED0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8027EF74 0027BED4 7C 7D 1B 78 */ mr r29, r3 +/* 8027EF78 0027BED8 90 03 06 E4 */ stw r0, 0x6e4(r3) +/* 8027EF7C 0027BEDC 83 E4 08 38 */ lwz r31, 0x838(r4) +/* 8027EF80 0027BEE0 AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8027EF84 0027BEE4 48 00 00 74 */ b lbl_8027EFF8 +lbl_8027EF88: +/* 8027EF88 0027BEE8 7F E3 FB 78 */ mr r3, r31 +/* 8027EF8C 0027BEEC 7F C4 F3 78 */ mr r4, r30 +/* 8027EF90 0027BEF0 4B D9 0D 85 */ bl __vc__11CObjectListFi +/* 8027EF94 0027BEF4 7C 64 1B 78 */ mr r4, r3 +/* 8027EF98 0027BEF8 38 61 00 08 */ addi r3, r1, 8 +/* 8027EF9C 0027BEFC 4B E2 DA C1 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8027EFA0 0027BF00 80 63 00 04 */ lwz r3, 4(r3) +/* 8027EFA4 0027BF04 28 03 00 00 */ cmplwi r3, 0 +/* 8027EFA8 0027BF08 41 82 00 34 */ beq lbl_8027EFDC +/* 8027EFAC 0027BF0C 7C 03 E8 40 */ cmplw r3, r29 +/* 8027EFB0 0027BF10 41 82 00 2C */ beq lbl_8027EFDC +/* 8027EFB4 0027BF14 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027EFB8 0027BF18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027EFBC 0027BF1C 41 82 00 20 */ beq lbl_8027EFDC +/* 8027EFC0 0027BF20 80 63 00 04 */ lwz r3, 4(r3) +/* 8027EFC4 0027BF24 80 1D 00 04 */ lwz r0, 4(r29) +/* 8027EFC8 0027BF28 7C 03 00 00 */ cmpw r3, r0 +/* 8027EFCC 0027BF2C 40 82 00 10 */ bne lbl_8027EFDC +/* 8027EFD0 0027BF30 80 7D 06 E4 */ lwz r3, 0x6e4(r29) +/* 8027EFD4 0027BF34 38 03 00 01 */ addi r0, r3, 1 +/* 8027EFD8 0027BF38 90 1D 06 E4 */ stw r0, 0x6e4(r29) +lbl_8027EFDC: +/* 8027EFDC 0027BF3C 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EFE0 0027BF40 41 82 00 14 */ beq lbl_8027EFF4 +/* 8027EFE4 0027BF44 57 C3 18 38 */ slwi r3, r30, 3 +/* 8027EFE8 0027BF48 38 03 00 08 */ addi r0, r3, 8 +/* 8027EFEC 0027BF4C 7F DF 02 AE */ lhax r30, r31, r0 +/* 8027EFF0 0027BF50 48 00 00 08 */ b lbl_8027EFF8 +lbl_8027EFF4: +/* 8027EFF4 0027BF54 3B C0 FF FF */ li r30, -1 +lbl_8027EFF8: +/* 8027EFF8 0027BF58 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EFFC 0027BF5C 40 82 FF 8C */ bne lbl_8027EF88 +/* 8027F000 0027BF60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027F004 0027BF64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027F008 0027BF68 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027F00C 0027BF6C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8027F010 0027BF70 7C 08 03 A6 */ mtlr r0 +/* 8027F014 0027BF74 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027F018 0027BF78 4E 80 00 20 */ blr + +.global Render__20CMetroidPrimeEssenceCFRC13CStateManager +Render__20CMetroidPrimeEssenceCFRC13CStateManager: +/* 8027F01C 0027BF7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027F020 0027BF80 7C 08 02 A6 */ mflr r0 +/* 8027F024 0027BF84 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027F028 0027BF88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027F02C 0027BF8C 7C 9F 23 78 */ mr r31, r4 +/* 8027F030 0027BF90 93 C1 00 08 */ stw r30, 8(r1) +/* 8027F034 0027BF94 7C 7E 1B 78 */ mr r30, r3 +/* 8027F038 0027BF98 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027F03C 0027BF9C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8027F040 0027BFA0 41 82 00 14 */ beq lbl_8027F054 +/* 8027F044 0027BFA4 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027F048 0027BFA8 7F E3 FB 78 */ mr r3, r31 +/* 8027F04C 0027BFAC 38 9E 06 B4 */ addi r4, r30, 0x6b4 +/* 8027F050 0027BFB0 4B DC 63 AD */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff +lbl_8027F054: +/* 8027F054 0027BFB4 7F C3 F3 78 */ mr r3, r30 +/* 8027F058 0027BFB8 7F E4 FB 78 */ mr r4, r31 +/* 8027F05C 0027BFBC 4B DF 8F D1 */ bl Render__10CPatternedCFRC13CStateManager +/* 8027F060 0027BFC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027F064 0027BFC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027F068 0027BFC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027F06C 0027BFCC 7C 08 03 A6 */ mtlr r0 +/* 8027F070 0027BFD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027F074 0027BFD4 4E 80 00 20 */ blr + +.global PreRender__20CMetroidPrimeEssenceFR13CStateManagerRC14CFrustumPlanes +PreRender__20CMetroidPrimeEssenceFR13CStateManagerRC14CFrustumPlanes: +/* 8027F078 0027BFD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027F07C 0027BFDC 7C 08 02 A6 */ mflr r0 +/* 8027F080 0027BFE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027F084 0027BFE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027F088 0027BFE8 7C 7F 1B 78 */ mr r31, r3 +/* 8027F08C 0027BFEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027F090 0027BFF0 7C 9E 23 78 */ mr r30, r4 +/* 8027F094 0027BFF4 4B DF 92 49 */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +/* 8027F098 0027BFF8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8027F09C 0027BFFC 7F C4 F3 78 */ mr r4, r30 +/* 8027F0A0 0027C000 80 63 00 00 */ lwz r3, 0(r3) +/* 8027F0A4 0027C004 4B E1 24 B5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8027F0A8 0027C008 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027F0AC 0027C00C 3C A0 80 3D */ lis r5, lbl_803D5880@ha +/* 8027F0B0 0027C010 20 83 00 01 */ subfic r4, r3, 1 +/* 8027F0B4 0027C014 54 66 10 3A */ slwi r6, r3, 2 +/* 8027F0B8 0027C018 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8027F0BC 0027C01C 38 65 58 80 */ addi r3, r5, lbl_803D5880@l +/* 8027F0C0 0027C020 7C 80 00 34 */ cntlzw r0, r4 +/* 8027F0C4 0027C024 7C A3 30 2E */ lwzx r5, r3, r6 +/* 8027F0C8 0027C028 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027F0CC 0027C02C 41 82 00 B0 */ beq lbl_8027F17C +/* 8027F0D0 0027C030 80 1F 06 DC */ lwz r0, 0x6dc(r31) +/* 8027F0D4 0027C034 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027F0D8 0027C038 C0 3F 06 C8 */ lfs f1, 0x6c8(r31) +/* 8027F0DC 0027C03C 7C 05 00 00 */ cmpw r5, r0 +/* 8027F0E0 0027C040 EC 80 08 28 */ fsubs f4, f0, f1 +/* 8027F0E4 0027C044 41 82 00 1C */ beq lbl_8027F100 +/* 8027F0E8 0027C048 80 1F 06 E0 */ lwz r0, 0x6e0(r31) +/* 8027F0EC 0027C04C 7C 05 00 00 */ cmpw r5, r0 +/* 8027F0F0 0027C050 40 82 00 0C */ bne lbl_8027F0FC +/* 8027F0F4 0027C054 FC 80 08 90 */ fmr f4, f1 +/* 8027F0F8 0027C058 48 00 00 08 */ b lbl_8027F100 +lbl_8027F0FC: +/* 8027F0FC 0027C05C C0 82 BD 10 */ lfs f4, lbl_805ADA30@sda21(r2) +lbl_8027F100: +/* 8027F100 0027C060 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027F104 0027C064 41 82 00 0C */ beq lbl_8027F110 +/* 8027F108 0027C068 3B C0 00 00 */ li r30, 0 +/* 8027F10C 0027C06C 48 00 00 08 */ b lbl_8027F114 +lbl_8027F110: +/* 8027F110 0027C070 83 DF 06 FC */ lwz r30, 0x6fc(r31) +lbl_8027F114: +/* 8027F114 0027C074 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027F118 0027C078 38 A0 00 05 */ li r5, 5 +/* 8027F11C 0027C07C 38 80 00 00 */ li r4, 0 +/* 8027F120 0027C080 38 00 00 03 */ li r0, 3 +/* 8027F124 0027C084 FC 40 08 90 */ fmr f2, f1 +/* 8027F128 0027C088 98 A1 00 08 */ stb r5, 8(r1) +/* 8027F12C 0027C08C FC 60 08 90 */ fmr f3, f1 +/* 8027F130 0027C090 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F134 0027C094 98 81 00 09 */ stb r4, 9(r1) +/* 8027F138 0027C098 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8027F13C 0027C09C 48 0E 42 B1 */ bl __ct__6CColorFffff +/* 8027F140 0027C0A0 88 A1 00 08 */ lbz r5, 8(r1) +/* 8027F144 0027C0A4 88 81 00 09 */ lbz r4, 9(r1) +/* 8027F148 0027C0A8 A0 61 00 0A */ lhz r3, 0xa(r1) +/* 8027F14C 0027C0AC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027F150 0027C0B0 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 8027F154 0027C0B4 98 A1 00 10 */ stb r5, 0x10(r1) +/* 8027F158 0027C0B8 60 63 00 01 */ ori r3, r3, 1 +/* 8027F15C 0027C0BC 98 BF 00 B4 */ stb r5, 0xb4(r31) +/* 8027F160 0027C0C0 9B DF 00 B5 */ stb r30, 0xb5(r31) +/* 8027F164 0027C0C4 B0 7F 00 B6 */ sth r3, 0xb6(r31) +/* 8027F168 0027C0C8 98 81 00 11 */ stb r4, 0x11(r1) +/* 8027F16C 0027C0CC B0 61 00 12 */ sth r3, 0x12(r1) +/* 8027F170 0027C0D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027F174 0027C0D4 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8027F178 0027C0D8 48 00 00 60 */ b lbl_8027F1D8 +lbl_8027F17C: +/* 8027F17C 0027C0DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027F180 0027C0E0 41 82 00 0C */ beq lbl_8027F18C +/* 8027F184 0027C0E4 38 60 00 00 */ li r3, 0 +/* 8027F188 0027C0E8 48 00 00 08 */ b lbl_8027F190 +lbl_8027F18C: +/* 8027F18C 0027C0EC 80 7F 06 FC */ lwz r3, 0x6fc(r31) +lbl_8027F190: +/* 8027F190 0027C0F0 80 1F 06 DC */ lwz r0, 0x6dc(r31) +/* 8027F194 0027C0F4 7C 64 07 74 */ extsb r4, r3 +/* 8027F198 0027C0F8 88 7F 00 B4 */ lbz r3, 0xb4(r31) +/* 8027F19C 0027C0FC 7C 05 00 00 */ cmpw r5, r0 +/* 8027F1A0 0027C100 A0 1F 00 B6 */ lhz r0, 0xb6(r31) +/* 8027F1A4 0027C104 80 BF 00 B8 */ lwz r5, 0xb8(r31) +/* 8027F1A8 0027C108 41 82 00 20 */ beq lbl_8027F1C8 +/* 8027F1AC 0027C10C 98 7F 00 B4 */ stb r3, 0xb4(r31) +/* 8027F1B0 0027C110 54 00 04 3A */ rlwinm r0, r0, 0, 0x10, 0x1d +/* 8027F1B4 0027C114 60 00 00 01 */ ori r0, r0, 1 +/* 8027F1B8 0027C118 98 9F 00 B5 */ stb r4, 0xb5(r31) +/* 8027F1BC 0027C11C B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8027F1C0 0027C120 90 BF 00 B8 */ stw r5, 0xb8(r31) +/* 8027F1C4 0027C124 48 00 00 14 */ b lbl_8027F1D8 +lbl_8027F1C8: +/* 8027F1C8 0027C128 98 7F 00 B4 */ stb r3, 0xb4(r31) +/* 8027F1CC 0027C12C 98 9F 00 B5 */ stb r4, 0xb5(r31) +/* 8027F1D0 0027C130 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8027F1D4 0027C134 90 BF 00 B8 */ stw r5, 0xb8(r31) +lbl_8027F1D8: +/* 8027F1D8 0027C138 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027F1DC 0027C13C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027F1E0 0027C140 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027F1E4 0027C144 7C 08 03 A6 */ mtlr r0 +/* 8027F1E8 0027C148 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027F1EC 0027C14C 4E 80 00 20 */ blr + +.global sub_8027f1f0 +sub_8027f1f0: +/* 8027F1F0 0027C150 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8027F1F4 0027C154 7C 08 02 A6 */ mflr r0 +/* 8027F1F8 0027C158 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027F1FC 0027C15C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8027F200 0027C160 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8027F204 0027C164 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8027F208 0027C168 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8027F20C 0027C16C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8027F210 0027C170 7C 9F 23 78 */ mr r31, r4 +/* 8027F214 0027C174 3C 80 80 3D */ lis r4, lbl_803D5880@ha +/* 8027F218 0027C178 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 8027F21C 0027C17C 7C 7E 1B 78 */ mr r30, r3 +/* 8027F220 0027C180 38 84 58 80 */ addi r4, r4, lbl_803D5880@l +/* 8027F224 0027C184 80 03 06 DC */ lwz r0, 0x6dc(r3) +/* 8027F228 0027C188 80 A5 00 00 */ lwz r5, 0(r5) +/* 8027F22C 0027C18C FF E0 08 90 */ fmr f31, f1 +/* 8027F230 0027C190 80 A5 00 14 */ lwz r5, 0x14(r5) +/* 8027F234 0027C194 54 A5 10 3A */ slwi r5, r5, 2 +/* 8027F238 0027C198 7C 84 28 2E */ lwzx r4, r4, r5 +/* 8027F23C 0027C19C 7C 04 00 00 */ cmpw r4, r0 +/* 8027F240 0027C1A0 40 82 00 88 */ bne lbl_8027F2C8 +/* 8027F244 0027C1A4 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) +/* 8027F248 0027C1A8 C0 3E 06 C8 */ lfs f1, 0x6c8(r30) +/* 8027F24C 0027C1AC C0 02 BD 60 */ lfs f0, lbl_805ADA80@sda21(r2) +/* 8027F250 0027C1B0 EC 42 08 28 */ fsubs f2, f2, f1 +/* 8027F254 0027C1B4 EC 60 00 B2 */ fmuls f3, f0, f2 +/* 8027F258 0027C1B8 F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 +/* 8027F25C 0027C1BC 88 01 00 09 */ lbz r0, 9(r1) +/* 8027F260 0027C1C0 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8027F264 0027C1C4 C0 3E 06 D0 */ lfs f1, 0x6d0(r30) +/* 8027F268 0027C1C8 C0 1E 06 CC */ lfs f0, 0x6cc(r30) +/* 8027F26C 0027C1CC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 8027F270 0027C1D0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8027F274 0027C1D4 EC 02 08 3A */ fmadds f0, f2, f0, f1 +/* 8027F278 0027C1D8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8027F27C 0027C1DC D0 04 00 04 */ stfs f0, 4(r4) +/* 8027F280 0027C1E0 D0 04 00 08 */ stfs f0, 8(r4) +/* 8027F284 0027C1E4 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F288 0027C1E8 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8027F28C 0027C1EC 28 00 00 01 */ cmplwi r0, 1 +/* 8027F290 0027C1F0 41 82 00 C4 */ beq lbl_8027F354 +/* 8027F294 0027C1F4 7F E6 FB 78 */ mr r6, r31 +/* 8027F298 0027C1F8 38 80 00 29 */ li r4, 0x29 +/* 8027F29C 0027C1FC 38 A0 00 28 */ li r5, 0x28 +/* 8027F2A0 0027C200 4B DD 50 15 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8027F2A4 0027C204 7F C3 F3 78 */ mr r3, r30 +/* 8027F2A8 0027C208 7F E4 FB 78 */ mr r4, r31 +/* 8027F2AC 0027C20C 38 A0 00 01 */ li r5, 1 +/* 8027F2B0 0027C210 4B FF E4 E1 */ bl sub_8027d790 +/* 8027F2B4 0027C214 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F2B8 0027C218 38 60 00 01 */ li r3, 1 +/* 8027F2BC 0027C21C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8027F2C0 0027C220 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027F2C4 0027C224 48 00 00 90 */ b lbl_8027F354 +lbl_8027F2C8: +/* 8027F2C8 0027C228 80 1E 06 E0 */ lwz r0, 0x6e0(r30) +/* 8027F2CC 0027C22C 7C 04 00 00 */ cmpw r4, r0 +/* 8027F2D0 0027C230 40 82 00 0C */ bne lbl_8027F2DC +/* 8027F2D4 0027C234 C0 5E 06 C8 */ lfs f2, 0x6c8(r30) +/* 8027F2D8 0027C238 48 00 00 08 */ b lbl_8027F2E0 +lbl_8027F2DC: +/* 8027F2DC 0027C23C C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) +lbl_8027F2E0: +/* 8027F2E0 0027C240 C0 02 BD 60 */ lfs f0, lbl_805ADA80@sda21(r2) +/* 8027F2E4 0027C244 EC 20 00 B2 */ fmuls f1, f0, f2 +/* 8027F2E8 0027C248 F0 21 A0 08 */ psq_st f1, 8(r1), 1, qr2 +/* 8027F2EC 0027C24C 88 01 00 08 */ lbz r0, 8(r1) +/* 8027F2F0 0027C250 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8027F2F4 0027C254 C0 3E 06 D0 */ lfs f1, 0x6d0(r30) +/* 8027F2F8 0027C258 C0 1E 06 CC */ lfs f0, 0x6cc(r30) +/* 8027F2FC 0027C25C 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8027F300 0027C260 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8027F304 0027C264 EC 02 08 3A */ fmadds f0, f2, f0, f1 +/* 8027F308 0027C268 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027F30C 0027C26C D0 03 00 04 */ stfs f0, 4(r3) +/* 8027F310 0027C270 D0 03 00 08 */ stfs f0, 8(r3) +/* 8027F314 0027C274 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F318 0027C278 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8027F31C 0027C27C 41 82 00 38 */ beq lbl_8027F354 +/* 8027F320 0027C280 7F C3 F3 78 */ mr r3, r30 +/* 8027F324 0027C284 7F E6 FB 78 */ mr r6, r31 +/* 8027F328 0027C288 38 80 00 29 */ li r4, 0x29 +/* 8027F32C 0027C28C 38 A0 00 28 */ li r5, 0x28 +/* 8027F330 0027C290 4B DD 4B A5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8027F334 0027C294 7F C3 F3 78 */ mr r3, r30 +/* 8027F338 0027C298 7F E4 FB 78 */ mr r4, r31 +/* 8027F33C 0027C29C 38 A0 00 00 */ li r5, 0 +/* 8027F340 0027C2A0 4B FF E4 51 */ bl sub_8027d790 +/* 8027F344 0027C2A4 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F348 0027C2A8 38 60 00 00 */ li r3, 0 +/* 8027F34C 0027C2AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8027F350 0027C2B0 98 1E 07 0E */ stb r0, 0x70e(r30) +lbl_8027F354: +/* 8027F354 0027C2B4 7F C3 F3 78 */ mr r3, r30 +/* 8027F358 0027C2B8 7F E4 FB 78 */ mr r4, r31 +/* 8027F35C 0027C2BC 4B FF DA A1 */ bl sub_8027cdfc +/* 8027F360 0027C2C0 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F364 0027C2C4 7C 7D 1B 78 */ mr r29, r3 +/* 8027F368 0027C2C8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8027F36C 0027C2CC 41 82 00 5C */ beq lbl_8027F3C8 +/* 8027F370 0027C2D0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027F374 0027C2D4 C0 3E 06 C8 */ lfs f1, 0x6c8(r30) +/* 8027F378 0027C2D8 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027F37C 0027C2DC EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 8027F380 0027C2E0 D0 3E 06 C8 */ stfs f1, 0x6c8(r30) +/* 8027F384 0027C2E4 C0 7D 00 2C */ lfs f3, 0x2c(r29) +/* 8027F388 0027C2E8 C0 5D 00 1C */ lfs f2, 0x1c(r29) +/* 8027F38C 0027C2EC C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8027F390 0027C2F0 D0 3E 06 B4 */ stfs f1, 0x6b4(r30) +/* 8027F394 0027C2F4 D0 5E 06 B8 */ stfs f2, 0x6b8(r30) +/* 8027F398 0027C2F8 D0 7E 06 BC */ stfs f3, 0x6bc(r30) +/* 8027F39C 0027C2FC C0 3E 06 C8 */ lfs f1, 0x6c8(r30) +/* 8027F3A0 0027C300 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027F3A4 0027C304 40 80 00 24 */ bge lbl_8027F3C8 +/* 8027F3A8 0027C308 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) +/* 8027F3AC 0027C30C 38 60 00 00 */ li r3, 0 +/* 8027F3B0 0027C310 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F3B4 0027C314 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8027F3B8 0027C318 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027F3BC 0027C31C 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F3C0 0027C320 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027F3C4 0027C324 98 1E 07 0E */ stb r0, 0x70e(r30) +lbl_8027F3C8: +/* 8027F3C8 0027C328 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F3CC 0027C32C 28 03 00 00 */ cmplwi r3, 0 +/* 8027F3D0 0027C330 41 82 00 B8 */ beq lbl_8027F488 +/* 8027F3D4 0027C334 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F3D8 0027C338 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8027F3DC 0027C33C 7D 89 03 A6 */ mtctr r12 +/* 8027F3E0 0027C340 4E 80 04 21 */ bctrl +/* 8027F3E4 0027C344 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027F3E8 0027C348 40 82 00 78 */ bne lbl_8027F460 +/* 8027F3EC 0027C34C 83 FE 06 5C */ lwz r31, 0x65c(r30) +/* 8027F3F0 0027C350 7F A4 EB 78 */ mr r4, r29 +/* 8027F3F4 0027C354 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027F3F8 0027C358 48 09 38 49 */ bl GetRotation__12CTransform4fCFv +/* 8027F3FC 0027C35C 7F E3 FB 78 */ mr r3, r31 +/* 8027F400 0027C360 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027F404 0027C364 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027F408 0027C368 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8027F40C 0027C36C 7D 89 03 A6 */ mtctr r12 +/* 8027F410 0027C370 4E 80 04 21 */ bctrl +/* 8027F414 0027C374 C0 5D 00 2C */ lfs f2, 0x2c(r29) +/* 8027F418 0027C378 38 81 00 0C */ addi r4, r1, 0xc +/* 8027F41C 0027C37C C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 8027F420 0027C380 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 8027F424 0027C384 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8027F428 0027C388 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8027F42C 0027C38C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8027F430 0027C390 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F434 0027C394 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F438 0027C398 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8027F43C 0027C39C 7D 89 03 A6 */ mtctr r12 +/* 8027F440 0027C3A0 4E 80 04 21 */ bctrl +/* 8027F444 0027C3A4 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F448 0027C3A8 FC 20 F8 90 */ fmr f1, f31 +/* 8027F44C 0027C3AC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F450 0027C3B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027F454 0027C3B4 7D 89 03 A6 */ mtctr r12 +/* 8027F458 0027C3B8 4E 80 04 21 */ bctrl +/* 8027F45C 0027C3BC 48 00 00 2C */ b lbl_8027F488 +lbl_8027F460: +/* 8027F460 0027C3C0 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F464 0027C3C4 28 03 00 00 */ cmplwi r3, 0 +/* 8027F468 0027C3C8 41 82 00 18 */ beq lbl_8027F480 +/* 8027F46C 0027C3CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F470 0027C3D0 38 80 00 01 */ li r4, 1 +/* 8027F474 0027C3D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027F478 0027C3D8 7D 89 03 A6 */ mtctr r12 +/* 8027F47C 0027C3DC 4E 80 04 21 */ bctrl +lbl_8027F480: +/* 8027F480 0027C3E0 38 00 00 00 */ li r0, 0 +/* 8027F484 0027C3E4 90 1E 06 5C */ stw r0, 0x65c(r30) +lbl_8027F488: +/* 8027F488 0027C3E8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8027F48C 0027C3EC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8027F490 0027C3F0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8027F494 0027C3F4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027F498 0027C3F8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8027F49C 0027C3FC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8027F4A0 0027C400 7C 08 03 A6 */ mtlr r0 +/* 8027F4A4 0027C404 38 21 00 70 */ addi r1, r1, 0x70 +/* 8027F4A8 0027C408 4E 80 00 20 */ blr + +.global Think__20CMetroidPrimeEssenceFfR13CStateManager +Think__20CMetroidPrimeEssenceFfR13CStateManager: +/* 8027F4AC 0027C40C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027F4B0 0027C410 7C 08 02 A6 */ mflr r0 +/* 8027F4B4 0027C414 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027F4B8 0027C418 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8027F4BC 0027C41C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8027F4C0 0027C420 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027F4C4 0027C424 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027F4C8 0027C428 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027F4CC 0027C42C FF E0 08 90 */ fmr f31, f1 +/* 8027F4D0 0027C430 7C 7E 1B 78 */ mr r30, r3 +/* 8027F4D4 0027C434 7C 9F 23 78 */ mr r31, r4 +/* 8027F4D8 0027C438 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027F4DC 0027C43C 41 82 00 F8 */ beq lbl_8027F5D4 +/* 8027F4E0 0027C440 4B DF A6 39 */ bl Think__10CPatternedFfR13CStateManager +/* 8027F4E4 0027C444 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8027F4E8 0027C448 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027F4EC 0027C44C 41 82 00 14 */ beq lbl_8027F500 +/* 8027F4F0 0027C450 FC 20 F8 90 */ fmr f1, f31 +/* 8027F4F4 0027C454 7F C3 F3 78 */ mr r3, r30 +/* 8027F4F8 0027C458 7F E4 FB 78 */ mr r4, r31 +/* 8027F4FC 0027C45C 4B FF FC F5 */ bl sub_8027f1f0 +lbl_8027F500: +/* 8027F500 0027C460 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8027F504 0027C464 FC 20 F8 90 */ fmr f1, f31 +/* 8027F508 0027C468 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8027F50C 0027C46C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027F510 0027C470 C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 8027F514 0027C474 C0 A3 00 50 */ lfs f5, 0x50(r3) +/* 8027F518 0027C478 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8027F51C 0027C47C EC 46 00 28 */ fsubs f2, f6, f0 +/* 8027F520 0027C480 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8027F524 0027C484 C0 9E 00 40 */ lfs f4, 0x40(r30) +/* 8027F528 0027C488 EC 65 18 28 */ fsubs f3, f5, f3 +/* 8027F52C 0027C48C D0 01 00 08 */ stfs f0, 8(r1) +/* 8027F530 0027C490 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8027F534 0027C494 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8027F538 0027C498 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8027F53C 0027C49C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027F540 0027C4A0 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8027F544 0027C4A4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027F548 0027C4A8 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 8027F54C 0027C4AC 4B EB B1 59 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 8027F550 0027C4B0 FC 20 F8 90 */ fmr f1, f31 +/* 8027F554 0027C4B4 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027F558 0027C4B8 7F E4 FB 78 */ mr r4, r31 +/* 8027F55C 0027C4BC 38 A0 00 00 */ li r5, 0 +/* 8027F560 0027C4C0 4B F2 7E F1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 8027F564 0027C4C4 7F C3 F3 78 */ mr r3, r30 +/* 8027F568 0027C4C8 7F E4 FB 78 */ mr r4, r31 +/* 8027F56C 0027C4CC 48 00 00 89 */ bl sub_8027f5f4 +/* 8027F570 0027C4D0 7F C3 F3 78 */ mr r3, r30 +/* 8027F574 0027C4D4 7F E4 FB 78 */ mr r4, r31 +/* 8027F578 0027C4D8 4B FF F9 E1 */ bl sub_8027ef58 +/* 8027F57C 0027C4DC 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F580 0027C4E0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8027F584 0027C4E4 41 82 00 50 */ beq lbl_8027F5D4 +/* 8027F588 0027C4E8 C0 42 BD 38 */ lfs f2, lbl_805ADA58@sda21(r2) +/* 8027F58C 0027C4EC C0 3E 06 D4 */ lfs f1, 0x6d4(r30) +/* 8027F590 0027C4F0 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027F594 0027C4F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 8027F598 0027C4F8 D0 3E 06 D4 */ stfs f1, 0x6d4(r30) +/* 8027F59C 0027C4FC C0 3E 06 D4 */ lfs f1, 0x6d4(r30) +/* 8027F5A0 0027C500 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027F5A4 0027C504 4C 41 13 82 */ cror 2, 1, 2 +/* 8027F5A8 0027C508 40 82 00 0C */ bne lbl_8027F5B4 +/* 8027F5AC 0027C50C C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027F5B0 0027C510 D0 1E 06 D4 */ stfs f0, 0x6d4(r30) +lbl_8027F5B4: +/* 8027F5B4 0027C514 C0 5E 06 D4 */ lfs f2, 0x6d4(r30) +/* 8027F5B8 0027C518 7F C3 F3 78 */ mr r3, r30 +/* 8027F5BC 0027C51C C0 22 BD 64 */ lfs f1, lbl_805ADA84@sda21(r2) +/* 8027F5C0 0027C520 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027F5C4 0027C524 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8027F5C8 0027C528 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8027F5CC 0027C52C EC 21 00 32 */ fmuls f1, f1, f0 +/* 8027F5D0 0027C530 4B FF D8 8D */ bl sub_8027ce5c +lbl_8027F5D4: +/* 8027F5D4 0027C534 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8027F5D8 0027C538 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027F5DC 0027C53C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8027F5E0 0027C540 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027F5E4 0027C544 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027F5E8 0027C548 7C 08 03 A6 */ mtlr r0 +/* 8027F5EC 0027C54C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027F5F0 0027C550 4E 80 00 20 */ blr + +.global sub_8027f5f4 +sub_8027f5f4: +/* 8027F5F4 0027C554 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027F5F8 0027C558 7C 08 02 A6 */ mflr r0 +/* 8027F5FC 0027C55C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027F600 0027C560 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8027F604 0027C564 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8027F608 0027C568 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027F60C 0027C56C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027F610 0027C570 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027F614 0027C574 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8027F618 0027C578 7C 7D 1B 78 */ mr r29, r3 +/* 8027F61C 0027C57C 7C 9E 23 78 */ mr r30, r4 +/* 8027F620 0027C580 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027F624 0027C584 41 82 00 E0 */ beq lbl_8027F704 +/* 8027F628 0027C588 A0 1D 07 06 */ lhz r0, 0x706(r29) +/* 8027F62C 0027C58C 7F C3 F3 78 */ mr r3, r30 +/* 8027F630 0027C590 38 81 00 08 */ addi r4, r1, 8 +/* 8027F634 0027C594 B0 01 00 08 */ sth r0, 8(r1) +/* 8027F638 0027C598 4B DC CF 3D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027F63C 0027C59C 7C 64 1B 78 */ mr r4, r3 +/* 8027F640 0027C5A0 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F644 0027C5A4 4B E2 FD 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027F648 0027C5A8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8027F64C 0027C5AC 28 1F 00 00 */ cmplwi r31, 0 +/* 8027F650 0027C5B0 41 82 00 50 */ beq lbl_8027F6A0 +/* 8027F654 0027C5B4 7F A3 EB 78 */ mr r3, r29 +/* 8027F658 0027C5B8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027F65C 0027C5BC 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8027F660 0027C5C0 7D 89 03 A6 */ mtctr r12 +/* 8027F664 0027C5C4 4E 80 04 21 */ bctrl +/* 8027F668 0027C5C8 7C 64 1B 78 */ mr r4, r3 +/* 8027F66C 0027C5CC 7F E3 FB 78 */ mr r3, r31 +/* 8027F670 0027C5D0 4B F2 95 29 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 8027F674 0027C5D4 7F E3 FB 78 */ mr r3, r31 +/* 8027F678 0027C5D8 7F C4 F3 78 */ mr r4, r30 +/* 8027F67C 0027C5DC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027F680 0027C5E0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F684 0027C5E4 7D 89 03 A6 */ mtctr r12 +/* 8027F688 0027C5E8 4E 80 04 21 */ bctrl +/* 8027F68C 0027C5EC C3 E3 00 00 */ lfs f31, 0(r3) +/* 8027F690 0027C5F0 7F A3 EB 78 */ mr r3, r29 +/* 8027F694 0027C5F4 7F C4 F3 78 */ mr r4, r30 +/* 8027F698 0027C5F8 4B E2 36 E1 */ bl HealthInfo__3CAiFR13CStateManager +/* 8027F69C 0027C5FC D3 E3 00 00 */ stfs f31, 0(r3) +lbl_8027F6A0: +/* 8027F6A0 0027C600 7F A3 EB 78 */ mr r3, r29 +/* 8027F6A4 0027C604 7F C4 F3 78 */ mr r4, r30 +/* 8027F6A8 0027C608 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027F6AC 0027C60C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F6B0 0027C610 7D 89 03 A6 */ mtctr r12 +/* 8027F6B4 0027C614 4E 80 04 21 */ bctrl +/* 8027F6B8 0027C618 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027F6BC 0027C61C C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027F6C0 0027C620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027F6C4 0027C624 4C 40 13 82 */ cror 2, 0, 2 +/* 8027F6C8 0027C628 40 82 00 3C */ bne lbl_8027F704 +/* 8027F6CC 0027C62C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027F6D0 0027C630 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027F6D4 0027C634 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8027F6D8 0027C638 7F A3 EB 78 */ mr r3, r29 +/* 8027F6DC 0027C63C 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8027F6E0 0027C640 7F C4 F3 78 */ mr r4, r30 +/* 8027F6E4 0027C644 38 C0 00 14 */ li r6, 0x14 +/* 8027F6E8 0027C648 7D 89 03 A6 */ mtctr r12 +/* 8027F6EC 0027C64C 4E 80 04 21 */ bctrl +/* 8027F6F0 0027C650 7F A3 EB 78 */ mr r3, r29 +/* 8027F6F4 0027C654 7F C6 F3 78 */ mr r6, r30 +/* 8027F6F8 0027C658 38 80 00 29 */ li r4, 0x29 +/* 8027F6FC 0027C65C 38 A0 00 28 */ li r5, 0x28 +/* 8027F700 0027C660 4B DD 47 D5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_8027F704: +/* 8027F704 0027C664 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8027F708 0027C668 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027F70C 0027C66C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8027F710 0027C670 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027F714 0027C674 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027F718 0027C678 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027F71C 0027C67C 7C 08 03 A6 */ mtlr r0 +/* 8027F720 0027C680 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027F724 0027C684 4E 80 00 20 */ blr + +.global sub_8027f728 +sub_8027f728: +/* 8027F728 0027C688 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027F72C 0027C68C 7C 08 02 A6 */ mflr r0 +/* 8027F730 0027C690 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027F734 0027C694 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027F738 0027C698 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027F73C 0027C69C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027F740 0027C6A0 7C 9D 23 78 */ mr r29, r4 +/* 8027F744 0027C6A4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8027F748 0027C6A8 7C 7C 1B 78 */ mr r28, r3 +/* 8027F74C 0027C6AC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F750 0027C6B0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F754 0027C6B4 7D 89 03 A6 */ mtctr r12 +/* 8027F758 0027C6B8 4E 80 04 21 */ bctrl +/* 8027F75C 0027C6BC A0 1C 07 06 */ lhz r0, 0x706(r28) +/* 8027F760 0027C6C0 7C 7F 1B 78 */ mr r31, r3 +/* 8027F764 0027C6C4 7F A3 EB 78 */ mr r3, r29 +/* 8027F768 0027C6C8 38 81 00 08 */ addi r4, r1, 8 +/* 8027F76C 0027C6CC B0 01 00 08 */ sth r0, 8(r1) +/* 8027F770 0027C6D0 4B DC CE 05 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027F774 0027C6D4 7C 64 1B 78 */ mr r4, r3 +/* 8027F778 0027C6D8 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F77C 0027C6DC 4B E2 FB D1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027F780 0027C6E0 83 C3 00 04 */ lwz r30, 4(r3) +/* 8027F784 0027C6E4 28 1E 00 00 */ cmplwi r30, 0 +/* 8027F788 0027C6E8 41 82 00 4C */ beq lbl_8027F7D4 +/* 8027F78C 0027C6EC 7F C3 F3 78 */ mr r3, r30 +/* 8027F790 0027C6F0 7F A4 EB 78 */ mr r4, r29 +/* 8027F794 0027C6F4 81 9E 00 00 */ lwz r12, 0(r30) +/* 8027F798 0027C6F8 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F79C 0027C6FC 7D 89 03 A6 */ mtctr r12 +/* 8027F7A0 0027C700 4E 80 04 21 */ bctrl +/* 8027F7A4 0027C704 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8027F7A8 0027C708 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027F7AC 0027C70C C0 1F 00 04 */ lfs f0, 4(r31) +/* 8027F7B0 0027C710 D0 03 00 04 */ stfs f0, 4(r3) +/* 8027F7B4 0027C714 7F 83 E3 78 */ mr r3, r28 +/* 8027F7B8 0027C718 81 9C 00 00 */ lwz r12, 0(r28) +/* 8027F7BC 0027C71C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8027F7C0 0027C720 7D 89 03 A6 */ mtctr r12 +/* 8027F7C4 0027C724 4E 80 04 21 */ bctrl +/* 8027F7C8 0027C728 7C 64 1B 78 */ mr r4, r3 +/* 8027F7CC 0027C72C 7F C3 F3 78 */ mr r3, r30 +/* 8027F7D0 0027C730 4B F2 93 C9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +lbl_8027F7D4: +/* 8027F7D4 0027C734 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027F7D8 0027C738 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027F7DC 0027C73C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027F7E0 0027C740 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027F7E4 0027C744 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8027F7E8 0027C748 7C 08 03 A6 */ mtlr r0 +/* 8027F7EC 0027C74C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027F7F0 0027C750 4E 80 00 20 */ blr + +.global sub_8027f7f4 +sub_8027f7f4: +/* 8027F7F4 0027C754 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8027F7F8 0027C758 7C 08 02 A6 */ mflr r0 +/* 8027F7FC 0027C75C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8027F800 0027C760 BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 8027F804 0027C764 7C B9 2B 78 */ mr r25, r5 +/* 8027F808 0027C768 7C DA 33 78 */ mr r26, r6 +/* 8027F80C 0027C76C 7C 9E 23 78 */ mr r30, r4 +/* 8027F810 0027C770 3B A1 00 60 */ addi r29, r1, 0x60 +/* 8027F814 0027C774 3B 81 00 A4 */ addi r28, r1, 0xa4 +/* 8027F818 0027C778 3B 60 00 00 */ li r27, 0 +/* 8027F81C 0027C77C 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8027F820 0027C780 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8027F824 0027C784 48 00 01 20 */ b lbl_8027F944 +lbl_8027F828: +/* 8027F828 0027C788 80 9E 00 00 */ lwz r4, 0(r30) +/* 8027F82C 0027C78C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8027F830 0027C790 4B D8 54 89 */ bl string_l__4rstlFPCc +/* 8027F834 0027C794 7F E4 FB 78 */ mr r4, r31 +/* 8027F838 0027C798 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F83C 0027C79C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8027F840 0027C7A0 4B DA EF F9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027F844 0027C7A4 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8027F848 0027C7A8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8027F84C 0027C7AC 98 01 00 10 */ stb r0, 0x10(r1) +/* 8027F850 0027C7B0 48 0B E2 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027F854 0027C7B4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8027F858 0027C7B8 28 00 00 FF */ cmplwi r0, 0xff +/* 8027F85C 0027C7BC 41 82 00 E0 */ beq lbl_8027F93C +/* 8027F860 0027C7C0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8027F864 0027C7C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027F868 0027C7C8 4B D8 54 51 */ bl string_l__4rstlFPCc +/* 8027F86C 0027C7CC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8027F870 0027C7D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027F874 0027C7D4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8027F878 0027C7D8 38 81 00 08 */ addi r4, r1, 8 +/* 8027F87C 0027C7DC 98 01 00 08 */ stb r0, 8(r1) +/* 8027F880 0027C7E0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027F884 0027C7E4 C0 42 BD 14 */ lfs f2, lbl_805ADA34@sda21(r2) +/* 8027F888 0027C7E8 4B F2 8F 85 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 8027F88C 0027C7EC 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8027F890 0027C7F0 7F 83 E3 78 */ mr r3, r28 +/* 8027F894 0027C7F4 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8027F898 0027C7F8 7F A4 EB 78 */ mr r4, r29 +/* 8027F89C 0027C7FC 88 A1 00 3C */ lbz r5, 0x3c(r1) +/* 8027F8A0 0027C800 88 01 00 3D */ lbz r0, 0x3d(r1) +/* 8027F8A4 0027C804 C0 E1 00 40 */ lfs f7, 0x40(r1) +/* 8027F8A8 0027C808 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 8027F8AC 0027C80C C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 8027F8B0 0027C810 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 8027F8B4 0027C814 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 8027F8B8 0027C818 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 8027F8BC 0027C81C C0 21 00 58 */ lfs f1, 0x58(r1) +/* 8027F8C0 0027C820 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8027F8C4 0027C824 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8027F8C8 0027C828 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8027F8CC 0027C82C 98 A1 00 80 */ stb r5, 0x80(r1) +/* 8027F8D0 0027C830 98 01 00 81 */ stb r0, 0x81(r1) +/* 8027F8D4 0027C834 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 8027F8D8 0027C838 D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 8027F8DC 0027C83C D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 8027F8E0 0027C840 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 8027F8E4 0027C844 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 8027F8E8 0027C848 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8027F8EC 0027C84C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8027F8F0 0027C850 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8027F8F4 0027C854 48 0B E8 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027F8F8 0027C858 A0 01 00 70 */ lhz r0, 0x70(r1) +/* 8027F8FC 0027C85C 28 1D 00 00 */ cmplwi r29, 0 +/* 8027F900 0027C860 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8027F904 0027C864 B0 01 00 B4 */ sth r0, 0xb4(r1) +/* 8027F908 0027C868 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8027F90C 0027C86C 41 82 00 0C */ beq lbl_8027F918 +/* 8027F910 0027C870 7F A3 EB 78 */ mr r3, r29 +/* 8027F914 0027C874 48 0B E1 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027F918: +/* 8027F918 0027C878 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027F91C 0027C87C 48 0B E1 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027F920 0027C880 7F 43 D3 78 */ mr r3, r26 +/* 8027F924 0027C884 38 81 00 78 */ addi r4, r1, 0x78 +/* 8027F928 0027C888 4B ED 69 09 */ bl sub_80156230 +/* 8027F92C 0027C88C 28 1C 00 00 */ cmplwi r28, 0 +/* 8027F930 0027C890 41 82 00 0C */ beq lbl_8027F93C +/* 8027F934 0027C894 7F 83 E3 78 */ mr r3, r28 +/* 8027F938 0027C898 48 0B E1 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027F93C: +/* 8027F93C 0027C89C 3B DE 00 08 */ addi r30, r30, 8 +/* 8027F940 0027C8A0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8027F944: +/* 8027F944 0027C8A4 7C 1B C8 00 */ cmpw r27, r25 +/* 8027F948 0027C8A8 41 80 FE E0 */ blt lbl_8027F828 +/* 8027F94C 0027C8AC BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 8027F950 0027C8B0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8027F954 0027C8B4 7C 08 03 A6 */ mtlr r0 +/* 8027F958 0027C8B8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8027F95C 0027C8BC 4E 80 00 20 */ blr + +.global sub_8027f960 +sub_8027f960: +/* 8027F960 0027C8C0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8027F964 0027C8C4 7C 08 02 A6 */ mflr r0 +/* 8027F968 0027C8C8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027F96C 0027C8CC 38 00 00 00 */ li r0, 0 +/* 8027F970 0027C8D0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8027F974 0027C8D4 7C 9F 23 78 */ mr r31, r4 +/* 8027F978 0027C8D8 38 80 00 01 */ li r4, 1 +/* 8027F97C 0027C8DC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8027F980 0027C8E0 7C 7E 1B 78 */ mr r30, r3 +/* 8027F984 0027C8E4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027F988 0027C8E8 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8027F98C 0027C8EC 93 81 00 60 */ stw r28, 0x60(r1) +/* 8027F990 0027C8F0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8027F994 0027C8F4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8027F998 0027C8F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027F99C 0027C8FC 4B ED 6E 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 8027F9A0 0027C900 7F C3 F3 78 */ mr r3, r30 +/* 8027F9A4 0027C904 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8027F9A8 0027C908 38 8D 98 E4 */ addi r4, r13, lbl_805A84A4@sda21 +/* 8027F9AC 0027C90C 38 A0 00 01 */ li r5, 1 +/* 8027F9B0 0027C910 4B FF FE 45 */ bl sub_8027f7f4 +/* 8027F9B4 0027C914 3C 80 80 3D */ lis r4, lbl_803D589C@ha +/* 8027F9B8 0027C918 38 60 00 18 */ li r3, 0x18 +/* 8027F9BC 0027C91C 38 84 58 9C */ addi r4, r4, lbl_803D589C@l +/* 8027F9C0 0027C920 38 A0 00 00 */ li r5, 0 +/* 8027F9C4 0027C924 38 84 00 1D */ addi r4, r4, 0x1d +/* 8027F9C8 0027C928 48 09 5E A5 */ bl __nw__FUlPCcPCc +/* 8027F9CC 0027C92C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8027F9D0 0027C930 41 82 00 38 */ beq lbl_8027FA08 +/* 8027F9D4 0027C934 81 3E 00 04 */ lwz r9, 4(r30) +/* 8027F9D8 0027C938 7F E4 FB 78 */ mr r4, r31 +/* 8027F9DC 0027C93C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8027F9E0 0027C940 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8027F9E4 0027C944 91 21 00 1C */ stw r9, 0x1c(r1) +/* 8027F9E8 0027C948 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8027F9EC 0027C94C 39 00 00 00 */ li r8, 0 +/* 8027F9F0 0027C950 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027F9F4 0027C954 91 21 00 18 */ stw r9, 0x18(r1) +/* 8027F9F8 0027C958 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027F9FC 0027C95C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8027FA00 0027C960 4B F2 7F 31 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 8027FA04 0027C964 7C 7D 1B 78 */ mr r29, r3 +lbl_8027FA08: +/* 8027FA08 0027C968 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FA0C 0027C96C 38 80 00 01 */ li r4, 1 +/* 8027FA10 0027C970 4B F2 7E CD */ bl sub_801a78dc +/* 8027FA14 0027C974 93 BE 06 58 */ stw r29, 0x658(r30) +/* 8027FA18 0027C978 7F E4 FB 78 */ mr r4, r31 +/* 8027FA1C 0027C97C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8027FA20 0027C980 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FA24 0027C984 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 8027FA28 0027C988 4B F2 78 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FA2C 0027C98C 3B 80 00 00 */ li r28, 0 +/* 8027FA30 0027C990 48 00 00 7C */ b lbl_8027FAAC +lbl_8027FA34: +/* 8027FA34 0027C994 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FA38 0027C998 7F 84 E3 78 */ mr r4, r28 +/* 8027FA3C 0027C99C 4B F2 77 FD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8027FA40 0027C9A0 7C 7D 1B 78 */ mr r29, r3 +/* 8027FA44 0027C9A4 7F E3 FB 78 */ mr r3, r31 +/* 8027FA48 0027C9A8 A0 1D 00 3C */ lhz r0, 0x3c(r29) +/* 8027FA4C 0027C9AC 38 81 00 08 */ addi r4, r1, 8 +/* 8027FA50 0027C9B0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8027FA54 0027C9B4 B0 01 00 08 */ sth r0, 8(r1) +/* 8027FA58 0027C9B8 4B DC CB 1D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027FA5C 0027C9BC 7C 64 1B 78 */ mr r4, r3 +/* 8027FA60 0027C9C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027FA64 0027C9C4 4B E2 F8 E9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027FA68 0027C9C8 80 03 00 04 */ lwz r0, 4(r3) +/* 8027FA6C 0027C9CC 28 00 00 00 */ cmplwi r0, 0 +/* 8027FA70 0027C9D0 41 82 00 38 */ beq lbl_8027FAA8 +/* 8027FA74 0027C9D4 80 82 BD 00 */ lwz r4, lbl_805ADA20@sda21(r2) +/* 8027FA78 0027C9D8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8027FA7C 0027C9DC 4B D8 52 3D */ bl string_l__4rstlFPCc +/* 8027FA80 0027C9E0 38 7D 00 2C */ addi r3, r29, 0x2c +/* 8027FA84 0027C9E4 38 81 00 28 */ addi r4, r1, 0x28 +/* 8027FA88 0027C9E8 4B DD 2B 59 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 8027FA8C 0027C9EC 7C 7D 1B 78 */ mr r29, r3 +/* 8027FA90 0027C9F0 38 61 00 28 */ addi r3, r1, 0x28 +/* 8027FA94 0027C9F4 48 0B E0 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027FA98 0027C9F8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8027FA9C 0027C9FC 41 82 00 0C */ beq lbl_8027FAA8 +/* 8027FAA0 0027CA00 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8027FAA4 0027CA04 B0 1E 07 06 */ sth r0, 0x706(r30) +lbl_8027FAA8: +/* 8027FAA8 0027CA08 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8027FAAC: +/* 8027FAAC 0027CA0C 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FAB0 0027CA10 4B F2 77 99 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8027FAB4 0027CA14 7C 1C 18 40 */ cmplw r28, r3 +/* 8027FAB8 0027CA18 41 80 FF 7C */ blt lbl_8027FA34 +/* 8027FABC 0027CA1C 7F C3 F3 78 */ mr r3, r30 +/* 8027FAC0 0027CA20 7F E4 FB 78 */ mr r4, r31 +/* 8027FAC4 0027CA24 4B FF FC 65 */ bl sub_8027f728 +/* 8027FAC8 0027CA28 80 AD 98 F0 */ lwz r5, lbl_805A84B0@sda21(r13) +/* 8027FACC 0027CA2C 38 60 00 00 */ li r3, 0 +/* 8027FAD0 0027CA30 38 80 00 01 */ li r4, 1 +/* 8027FAD4 0027CA34 48 10 A4 21 */ bl __shl2i +/* 8027FAD8 0027CA38 80 AD 98 F4 */ lwz r5, lbl_805A84B4@sda21(r13) +/* 8027FADC 0027CA3C 7C 9C 23 78 */ mr r28, r4 +/* 8027FAE0 0027CA40 7C 7D 1B 78 */ mr r29, r3 +/* 8027FAE4 0027CA44 38 60 00 00 */ li r3, 0 +/* 8027FAE8 0027CA48 38 80 00 01 */ li r4, 1 +/* 8027FAEC 0027CA4C 48 10 A4 09 */ bl __shl2i +/* 8027FAF0 0027CA50 80 AD 98 F8 */ lwz r5, lbl_805A84B8@sda21(r13) +/* 8027FAF4 0027CA54 7F 9C 23 78 */ or r28, r28, r4 +/* 8027FAF8 0027CA58 7F BD 1B 78 */ or r29, r29, r3 +/* 8027FAFC 0027CA5C 38 60 00 00 */ li r3, 0 +/* 8027FB00 0027CA60 38 80 00 01 */ li r4, 1 +/* 8027FB04 0027CA64 48 10 A3 F1 */ bl __shl2i +/* 8027FB08 0027CA68 80 AD 98 EC */ lwz r5, lbl_805A84AC@sda21(r13) +/* 8027FB0C 0027CA6C 7F 9C 23 78 */ or r28, r28, r4 +/* 8027FB10 0027CA70 7F BD 1B 78 */ or r29, r29, r3 +/* 8027FB14 0027CA74 38 60 00 00 */ li r3, 0 +/* 8027FB18 0027CA78 38 80 00 01 */ li r4, 1 +/* 8027FB1C 0027CA7C 48 10 A3 D9 */ bl __shl2i +/* 8027FB20 0027CA80 38 00 00 03 */ li r0, 3 +/* 8027FB24 0027CA84 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8027FB28 0027CA88 38 81 00 48 */ addi r4, r1, 0x48 +/* 8027FB2C 0027CA8C 90 61 00 48 */ stw r3, 0x48(r1) +/* 8027FB30 0027CA90 7F C3 F3 78 */ mr r3, r30 +/* 8027FB34 0027CA94 93 81 00 54 */ stw r28, 0x54(r1) +/* 8027FB38 0027CA98 93 A1 00 50 */ stw r29, 0x50(r1) +/* 8027FB3C 0027CA9C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8027FB40 0027CAA0 4B DD 3D 61 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8027FB44 0027CAA4 7F C3 F3 78 */ mr r3, r30 +/* 8027FB48 0027CAA8 7F E5 FB 78 */ mr r5, r31 +/* 8027FB4C 0027CAAC 38 80 00 12 */ li r4, 0x12 +/* 8027FB50 0027CAB0 4B DD 48 01 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8027FB54 0027CAB4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027FB58 0027CAB8 38 80 FF FF */ li r4, -1 +/* 8027FB5C 0027CABC 4B ED 67 D1 */ bl sub_8015632c +/* 8027FB60 0027CAC0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8027FB64 0027CAC4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8027FB68 0027CAC8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8027FB6C 0027CACC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8027FB70 0027CAD0 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8027FB74 0027CAD4 7C 08 03 A6 */ mtlr r0 +/* 8027FB78 0027CAD8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8027FB7C 0027CADC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__20CMetroidPrimeEssenceF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__20CMetroidPrimeEssenceF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8027FB80 0027CAE0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8027FB84 0027CAE4 7C 08 02 A6 */ mflr r0 +/* 8027FB88 0027CAE8 90 01 01 04 */ stw r0, 0x104(r1) +/* 8027FB8C 0027CAEC 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8027FB90 0027CAF0 7C DF 33 78 */ mr r31, r6 +/* 8027FB94 0027CAF4 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8027FB98 0027CAF8 7C BE 2B 78 */ mr r30, r5 +/* 8027FB9C 0027CAFC 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8027FBA0 0027CB00 7C 7D 1B 78 */ mr r29, r3 +/* 8027FBA4 0027CB04 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 8027FBA8 0027CB08 7C 9C 23 78 */ mr r28, r4 +/* 8027FBAC 0027CB0C A0 05 00 00 */ lhz r0, 0(r5) +/* 8027FBB0 0027CB10 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8027FBB4 0027CB14 B0 01 00 50 */ sth r0, 0x50(r1) +/* 8027FBB8 0027CB18 4B DF CF C1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8027FBBC 0027CB1C 28 1C 00 2A */ cmplwi r28, 0x2a +/* 8027FBC0 0027CB20 41 81 04 B8 */ bgt lbl_80280078 +/* 8027FBC4 0027CB24 3C 60 80 3F */ lis r3, lbl_803EB58C@ha +/* 8027FBC8 0027CB28 57 80 10 3A */ slwi r0, r28, 2 +/* 8027FBCC 0027CB2C 38 63 B5 8C */ addi r3, r3, lbl_803EB58C@l +/* 8027FBD0 0027CB30 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8027FBD4 0027CB34 7C 09 03 A6 */ mtctr r0 +/* 8027FBD8 0027CB38 4E 80 04 20 */ bctr +/* 8027FBDC 0027CB3C 7F A3 EB 78 */ mr r3, r29 +/* 8027FBE0 0027CB40 7F E4 FB 78 */ mr r4, r31 +/* 8027FBE4 0027CB44 4B FF FD 7D */ bl sub_8027f960 +/* 8027FBE8 0027CB48 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FBEC 0027CB4C 7F E4 FB 78 */ mr r4, r31 +/* 8027FBF0 0027CB50 38 A0 00 01 */ li r5, 1 +/* 8027FBF4 0027CB54 4B F2 77 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FBF8 0027CB58 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 8027FBFC 0027CB5C 7F A3 EB 78 */ mr r3, r29 +/* 8027FC00 0027CB60 C0 02 BD 68 */ lfs f0, lbl_805ADA88@sda21(r2) +/* 8027FC04 0027CB64 7F E4 FB 78 */ mr r4, r31 +/* 8027FC08 0027CB68 C0 45 00 00 */ lfs f2, 0(r5) +/* 8027FC0C 0027CB6C C0 22 BD 6C */ lfs f1, lbl_805ADA8C@sda21(r2) +/* 8027FC10 0027CB70 D0 5D 06 CC */ stfs f2, 0x6cc(r29) +/* 8027FC14 0027CB74 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) +/* 8027FC18 0027CB78 C0 7D 06 CC */ lfs f3, 0x6cc(r29) +/* 8027FC1C 0027CB7C EC 00 18 FA */ fmadds f0, f0, f3, f3 +/* 8027FC20 0027CB80 D0 1D 06 D0 */ stfs f0, 0x6d0(r29) +/* 8027FC24 0027CB84 C0 1D 06 CC */ lfs f0, 0x6cc(r29) +/* 8027FC28 0027CB88 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027FC2C 0027CB8C EC 02 00 24 */ fdivs f0, f2, f0 +/* 8027FC30 0027CB90 D0 1D 05 5C */ stfs f0, 0x55c(r29) +/* 8027FC34 0027CB94 D0 1D 05 60 */ stfs f0, 0x560(r29) +/* 8027FC38 0027CB98 D0 1D 05 64 */ stfs f0, 0x564(r29) +/* 8027FC3C 0027CB9C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027FC40 0027CBA0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027FC44 0027CBA4 7D 89 03 A6 */ mtctr r12 +/* 8027FC48 0027CBA8 4E 80 04 21 */ bctrl +/* 8027FC4C 0027CBAC C0 43 00 00 */ lfs f2, 0(r3) +/* 8027FC50 0027CBB0 C0 22 BD 70 */ lfs f1, lbl_805ADA90@sda21(r2) +/* 8027FC54 0027CBB4 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027FC58 0027CBB8 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8027FC5C 0027CBBC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8027FC60 0027CBC0 D0 3D 06 C0 */ stfs f1, 0x6c0(r29) +/* 8027FC64 0027CBC4 40 81 00 10 */ ble lbl_8027FC74 +/* 8027FC68 0027CBC8 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027FC6C 0027CBCC EC 00 10 24 */ fdivs f0, f0, f2 +/* 8027FC70 0027CBD0 D0 1D 06 C4 */ stfs f0, 0x6c4(r29) +lbl_8027FC74: +/* 8027FC74 0027CBD4 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8027FC78 0027CBD8 7F E4 FB 78 */ mr r4, r31 +/* 8027FC7C 0027CBDC 4B EB B0 75 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8027FC80 0027CBE0 48 00 03 F8 */ b lbl_80280078 +/* 8027FC84 0027CBE4 80 FD 00 04 */ lwz r7, 4(r29) +/* 8027FC88 0027CBE8 7F A4 EB 78 */ mr r4, r29 +/* 8027FC8C 0027CBEC 80 DF 08 50 */ lwz r6, 0x850(r31) +/* 8027FC90 0027CBF0 7F E5 FB 78 */ mr r5, r31 +/* 8027FC94 0027CBF4 54 E3 18 38 */ slwi r3, r7, 3 +/* 8027FC98 0027CBF8 90 E1 00 5C */ stw r7, 0x5c(r1) +/* 8027FC9C 0027CBFC 80 C6 00 20 */ lwz r6, 0x20(r6) +/* 8027FCA0 0027CC00 38 03 00 04 */ addi r0, r3, 4 +/* 8027FCA4 0027CC04 90 E1 00 58 */ stw r7, 0x58(r1) +/* 8027FCA8 0027CC08 38 61 00 4C */ addi r3, r1, 0x4c +/* 8027FCAC 0027CC0C 7D 06 00 2E */ lwzx r8, r6, r0 +/* 8027FCB0 0027CC10 38 C0 00 12 */ li r6, 0x12 +/* 8027FCB4 0027CC14 38 E0 00 01 */ li r7, 1 +/* 8027FCB8 0027CC18 81 08 01 2C */ lwz r8, 0x12c(r8) +/* 8027FCBC 0027CC1C 80 08 10 BC */ lwz r0, 0x10bc(r8) +/* 8027FCC0 0027CC20 90 1D 05 74 */ stw r0, 0x574(r29) +/* 8027FCC4 0027CC24 4B F7 52 D5 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8027FCC8 0027CC28 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 8027FCCC 0027CC2C B0 1D 07 04 */ sth r0, 0x704(r29) +/* 8027FCD0 0027CC30 48 00 03 A8 */ b lbl_80280078 +/* 8027FCD4 0027CC34 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FCD8 0027CC38 7F E4 FB 78 */ mr r4, r31 +/* 8027FCDC 0027CC3C 38 A0 00 01 */ li r5, 1 +/* 8027FCE0 0027CC40 4B F2 76 19 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FCE4 0027CC44 48 00 03 94 */ b lbl_80280078 +/* 8027FCE8 0027CC48 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FCEC 0027CC4C 7F E4 FB 78 */ mr r4, r31 +/* 8027FCF0 0027CC50 38 A0 00 00 */ li r5, 0 +/* 8027FCF4 0027CC54 4B F2 76 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FCF8 0027CC58 48 00 03 80 */ b lbl_80280078 +/* 8027FCFC 0027CC5C 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FD00 0027CC60 7F E4 FB 78 */ mr r4, r31 +/* 8027FD04 0027CC64 4B F2 76 C1 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 8027FD08 0027CC68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027FD0C 0027CC6C 7F E3 FB 78 */ mr r3, r31 +/* 8027FD10 0027CC70 C0 22 BD 10 */ lfs f1, lbl_805ADA30@sda21(r2) +/* 8027FD14 0027CC74 38 81 00 48 */ addi r4, r1, 0x48 +/* 8027FD18 0027CC78 B0 01 00 48 */ sth r0, 0x48(r1) +/* 8027FD1C 0027CC7C 38 A0 00 00 */ li r5, 0 +/* 8027FD20 0027CC80 4B DC 42 25 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8027FD24 0027CC84 48 00 03 54 */ b lbl_80280078 +/* 8027FD28 0027CC88 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8027FD2C 0027CC8C 7F E3 FB 78 */ mr r3, r31 +/* 8027FD30 0027CC90 38 81 00 44 */ addi r4, r1, 0x44 +/* 8027FD34 0027CC94 B0 01 00 44 */ sth r0, 0x44(r1) +/* 8027FD38 0027CC98 4B DC C8 3D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027FD3C 0027CC9C 7C 64 1B 78 */ mr r4, r3 +/* 8027FD40 0027CCA0 38 61 00 78 */ addi r3, r1, 0x78 +/* 8027FD44 0027CCA4 4B E2 F6 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027FD48 0027CCA8 80 83 00 04 */ lwz r4, 4(r3) +/* 8027FD4C 0027CCAC 28 04 00 00 */ cmplwi r4, 0 +/* 8027FD50 0027CCB0 41 82 03 28 */ beq lbl_80280078 +/* 8027FD54 0027CCB4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027FD58 0027CCB8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8027FD5C 0027CCBC A3 85 00 08 */ lhz r28, 8(r5) +/* 8027FD60 0027CCC0 4B F2 8E 2D */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 8027FD64 0027CCC4 A0 01 00 40 */ lhz r0, 0x40(r1) +/* 8027FD68 0027CCC8 7C 00 E0 40 */ cmplw r0, r28 +/* 8027FD6C 0027CCCC 40 82 03 0C */ bne lbl_80280078 +/* 8027FD70 0027CCD0 C0 3D 04 20 */ lfs f1, 0x420(r29) +/* 8027FD74 0027CCD4 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027FD78 0027CCD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027FD7C 0027CCDC 4C 40 13 82 */ cror 2, 0, 2 +/* 8027FD80 0027CCE0 40 82 02 F8 */ bne lbl_80280078 +/* 8027FD84 0027CCE4 80 AD 98 E0 */ lwz r5, lbl_805A84A0@sda21(r13) +/* 8027FD88 0027CCE8 38 60 00 00 */ li r3, 0 +/* 8027FD8C 0027CCEC 38 80 00 01 */ li r4, 1 +/* 8027FD90 0027CCF0 48 10 A1 65 */ bl __shl2i +/* 8027FD94 0027CCF4 38 A0 00 00 */ li r5, 0 +/* 8027FD98 0027CCF8 38 00 00 03 */ li r0, 3 +/* 8027FD9C 0027CCFC 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8027FDA0 0027CD00 7F A4 EB 78 */ mr r4, r29 +/* 8027FDA4 0027CD04 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8027FDA8 0027CD08 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8027FDAC 0027CD0C 90 A1 00 BC */ stw r5, 0xbc(r1) +/* 8027FDB0 0027CD10 90 A1 00 B8 */ stw r5, 0xb8(r1) +/* 8027FDB4 0027CD14 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8027FDB8 0027CD18 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8027FDBC 0027CD1C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8027FDC0 0027CD20 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027FDC4 0027CD24 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8027FDC8 0027CD28 A0 A5 00 08 */ lhz r5, 8(r5) +/* 8027FDCC 0027CD2C B0 A1 00 34 */ sth r5, 0x34(r1) +/* 8027FDD0 0027CD30 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8027FDD4 0027CD34 B0 A1 00 30 */ sth r5, 0x30(r1) +/* 8027FDD8 0027CD38 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8027FDDC 0027CD3C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027FDE0 0027CD40 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8027FDE4 0027CD44 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8027FDE8 0027CD48 7D 89 03 A6 */ mtctr r12 +/* 8027FDEC 0027CD4C 4E 80 04 21 */ bctrl +/* 8027FDF0 0027CD50 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027FDF4 0027CD54 7F E3 FB 78 */ mr r3, r31 +/* 8027FDF8 0027CD58 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8027FDFC 0027CD5C 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8027FE00 0027CD60 38 81 00 3C */ addi r4, r1, 0x3c +/* 8027FE04 0027CD64 38 C1 00 2C */ addi r6, r1, 0x2c +/* 8027FE08 0027CD68 38 E1 00 C8 */ addi r7, r1, 0xc8 +/* 8027FE0C 0027CD6C 39 01 00 B0 */ addi r8, r1, 0xb0 +/* 8027FE10 0027CD70 4B DC A2 91 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 8027FE14 0027CD74 C0 1D 04 24 */ lfs f0, 0x424(r29) +/* 8027FE18 0027CD78 D0 1D 04 20 */ stfs f0, 0x420(r29) +/* 8027FE1C 0027CD7C 48 00 02 5C */ b lbl_80280078 +/* 8027FE20 0027CD80 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8027FE24 0027CD84 7F E3 FB 78 */ mr r3, r31 +/* 8027FE28 0027CD88 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027FE2C 0027CD8C B0 01 00 24 */ sth r0, 0x24(r1) +/* 8027FE30 0027CD90 4B DC C7 45 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027FE34 0027CD94 7C 64 1B 78 */ mr r4, r3 +/* 8027FE38 0027CD98 38 61 00 70 */ addi r3, r1, 0x70 +/* 8027FE3C 0027CD9C 4B E2 F5 11 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027FE40 0027CDA0 83 83 00 04 */ lwz r28, 4(r3) +/* 8027FE44 0027CDA4 28 1C 00 00 */ cmplwi r28, 0 +/* 8027FE48 0027CDA8 41 82 01 70 */ beq lbl_8027FFB8 +/* 8027FE4C 0027CDAC 7F 84 E3 78 */ mr r4, r28 +/* 8027FE50 0027CDB0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027FE54 0027CDB4 4B F2 8D 39 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 8027FE58 0027CDB8 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 8027FE5C 0027CDBC 7F E3 FB 78 */ mr r3, r31 +/* 8027FE60 0027CDC0 38 81 00 1C */ addi r4, r1, 0x1c +/* 8027FE64 0027CDC4 B0 01 00 54 */ sth r0, 0x54(r1) +/* 8027FE68 0027CDC8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8027FE6C 0027CDCC 4B DC C7 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027FE70 0027CDD0 7C 64 1B 78 */ mr r4, r3 +/* 8027FE74 0027CDD4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8027FE78 0027CDD8 4B E2 D8 95 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8027FE7C 0027CDDC 83 C3 00 04 */ lwz r30, 4(r3) +/* 8027FE80 0027CDE0 28 1E 00 00 */ cmplwi r30, 0 +/* 8027FE84 0027CDE4 41 82 01 F4 */ beq lbl_80280078 +/* 8027FE88 0027CDE8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8027FE8C 0027CDEC A0 9E 00 EC */ lhz r4, 0xec(r30) +/* 8027FE90 0027CDF0 A0 03 00 08 */ lhz r0, 8(r3) +/* 8027FE94 0027CDF4 7C 04 00 40 */ cmplw r4, r0 +/* 8027FE98 0027CDF8 40 82 01 E0 */ bne lbl_80280078 +/* 8027FE9C 0027CDFC 7F 83 E3 78 */ mr r3, r28 +/* 8027FEA0 0027CE00 81 9C 00 00 */ lwz r12, 0(r28) +/* 8027FEA4 0027CE04 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8027FEA8 0027CE08 7D 89 03 A6 */ mtctr r12 +/* 8027FEAC 0027CE0C 4E 80 04 21 */ bctrl +/* 8027FEB0 0027CE10 3B DE 01 2C */ addi r30, r30, 0x12c +/* 8027FEB4 0027CE14 38 A0 00 00 */ li r5, 0 +/* 8027FEB8 0027CE18 7F C4 F3 78 */ mr r4, r30 +/* 8027FEBC 0027CE1C 4B E8 26 C9 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei +/* 8027FEC0 0027CE20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027FEC4 0027CE24 41 82 01 B4 */ beq lbl_80280078 +/* 8027FEC8 0027CE28 80 1E 00 00 */ lwz r0, 0(r30) +/* 8027FECC 0027CE2C 2C 00 00 08 */ cmpwi r0, 8 +/* 8027FED0 0027CE30 40 82 01 A8 */ bne lbl_80280078 +/* 8027FED4 0027CE34 7F A3 EB 78 */ mr r3, r29 +/* 8027FED8 0027CE38 7F E4 FB 78 */ mr r4, r31 +/* 8027FEDC 0027CE3C 4B FF D0 05 */ bl sub_8027cee0 +/* 8027FEE0 0027CE40 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027FEE4 0027CE44 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 8027FEE8 0027CE48 7F A3 EB 78 */ mr r3, r29 +/* 8027FEEC 0027CE4C C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027FEF0 0027CE50 81 8C 00 90 */ lwz r12, 0x90(r12) +/* 8027FEF4 0027CE54 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 8027FEF8 0027CE58 7D 89 03 A6 */ mtctr r12 +/* 8027FEFC 0027CE5C 4E 80 04 21 */ bctrl +/* 8027FF00 0027CE60 88 7D 07 0E */ lbz r3, 0x70e(r29) +/* 8027FF04 0027CE64 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8027FF08 0027CE68 40 82 01 70 */ bne lbl_80280078 +/* 8027FF0C 0027CE6C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8027FF10 0027CE70 40 82 01 68 */ bne lbl_80280078 +/* 8027FF14 0027CE74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027FF18 0027CE78 C0 5D 00 58 */ lfs f2, 0x58(r29) +/* 8027FF1C 0027CE7C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 8027FF20 0027CE80 C0 3D 00 48 */ lfs f1, 0x48(r29) +/* 8027FF24 0027CE84 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 8027FF28 0027CE88 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 8027FF2C 0027CE8C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8027FF30 0027CE90 38 C0 00 04 */ li r6, 4 +/* 8027FF34 0027CE94 38 00 00 01 */ li r0, 1 +/* 8027FF38 0027CE98 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8027FF3C 0027CE9C 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 8027FF40 0027CEA0 3B C3 00 04 */ addi r30, r3, 4 +/* 8027FF44 0027CEA4 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 8027FF48 0027CEA8 7F C3 F3 78 */ mr r3, r30 +/* 8027FF4C 0027CEAC 38 80 00 04 */ li r4, 4 +/* 8027FF50 0027CEB0 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8027FF54 0027CEB4 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8027FF58 0027CEB8 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 8027FF5C 0027CEBC D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8027FF60 0027CEC0 90 01 00 AC */ stw r0, 0xac(r1) +/* 8027FF64 0027CEC4 4B EB 14 D5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8027FF68 0027CEC8 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 8027FF6C 0027CECC 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8027FF70 0027CED0 38 A3 AA 44 */ addi r5, r3, lbl_803DAA44@l +/* 8027FF74 0027CED4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027FF78 0027CED8 90 1E 00 F8 */ stw r0, 0xf8(r30) +/* 8027FF7C 0027CEDC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8027FF80 0027CEE0 80 E1 00 A0 */ lwz r7, 0xa0(r1) +/* 8027FF84 0027CEE4 7F A3 EB 78 */ mr r3, r29 +/* 8027FF88 0027CEE8 80 C1 00 A4 */ lwz r6, 0xa4(r1) +/* 8027FF8C 0027CEEC 7F E4 FB 78 */ mr r4, r31 +/* 8027FF90 0027CEF0 90 FE 00 FC */ stw r7, 0xfc(r30) +/* 8027FF94 0027CEF4 80 E1 00 A8 */ lwz r7, 0xa8(r1) +/* 8027FF98 0027CEF8 90 DE 01 00 */ stw r6, 0x100(r30) +/* 8027FF9C 0027CEFC 80 C1 00 AC */ lwz r6, 0xac(r1) +/* 8027FFA0 0027CF00 90 FE 01 04 */ stw r7, 0x104(r30) +/* 8027FFA4 0027CF04 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8027FFA8 0027CF08 90 DE 01 08 */ stw r6, 0x108(r30) +/* 8027FFAC 0027CF0C 90 01 00 98 */ stw r0, 0x98(r1) +/* 8027FFB0 0027CF10 4B FF CD 31 */ bl sub_8027cce0 +/* 8027FFB4 0027CF14 48 00 00 C4 */ b lbl_80280078 +lbl_8027FFB8: +/* 8027FFB8 0027CF18 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8027FFBC 0027CF1C 7F E3 FB 78 */ mr r3, r31 +/* 8027FFC0 0027CF20 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027FFC4 0027CF24 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8027FFC8 0027CF28 4B DC C5 DD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027FFCC 0027CF2C 7C 64 1B 78 */ mr r4, r3 +/* 8027FFD0 0027CF30 38 61 00 60 */ addi r3, r1, 0x60 +/* 8027FFD4 0027CF34 4B E2 D7 39 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8027FFD8 0027CF38 83 83 00 04 */ lwz r28, 4(r3) +/* 8027FFDC 0027CF3C 28 1C 00 00 */ cmplwi r28, 0 +/* 8027FFE0 0027CF40 41 82 00 98 */ beq lbl_80280078 +/* 8027FFE4 0027CF44 80 AD 98 E0 */ lwz r5, lbl_805A84A0@sda21(r13) +/* 8027FFE8 0027CF48 38 60 00 00 */ li r3, 0 +/* 8027FFEC 0027CF4C 38 80 00 01 */ li r4, 1 +/* 8027FFF0 0027CF50 48 10 9F 05 */ bl __shl2i +/* 8027FFF4 0027CF54 39 00 00 00 */ li r8, 0 +/* 8027FFF8 0027CF58 39 40 00 03 */ li r10, 3 +/* 8027FFFC 0027CF5C 90 81 00 84 */ stw r4, 0x84(r1) +/* 80280000 0027CF60 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80280004 0027CF64 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80280008 0027CF68 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8028000C 0027CF6C 90 61 00 80 */ stw r3, 0x80(r1) +/* 80280010 0027CF70 7F E3 FB 78 */ mr r3, r31 +/* 80280014 0027CF74 38 81 00 14 */ addi r4, r1, 0x14 +/* 80280018 0027CF78 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8028001C 0027CF7C 91 01 00 8C */ stw r8, 0x8c(r1) +/* 80280020 0027CF80 38 C1 00 0C */ addi r6, r1, 0xc +/* 80280024 0027CF84 38 FC 01 2C */ addi r7, r28, 0x12c +/* 80280028 0027CF88 91 01 00 88 */ stw r8, 0x88(r1) +/* 8028002C 0027CF8C 39 01 00 80 */ addi r8, r1, 0x80 +/* 80280030 0027CF90 91 41 00 90 */ stw r10, 0x90(r1) +/* 80280034 0027CF94 A1 7C 00 EC */ lhz r11, 0xec(r28) +/* 80280038 0027CF98 B1 61 00 0C */ sth r11, 0xc(r1) +/* 8028003C 0027CF9C A1 5D 07 06 */ lhz r10, 0x706(r29) +/* 80280040 0027CFA0 B1 61 00 08 */ sth r11, 8(r1) +/* 80280044 0027CFA4 B1 41 00 10 */ sth r10, 0x10(r1) +/* 80280048 0027CFA8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028004C 0027CFAC 4B DC A0 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80280050 0027CFB0 48 00 00 28 */ b lbl_80280078 +/* 80280054 0027CFB4 88 1D 07 0E */ lbz r0, 0x70e(r29) +/* 80280058 0027CFB8 38 60 00 01 */ li r3, 1 +/* 8028005C 0027CFBC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80280060 0027CFC0 98 1D 07 0E */ stb r0, 0x70e(r29) +/* 80280064 0027CFC4 48 00 00 14 */ b lbl_80280078 +/* 80280068 0027CFC8 88 1D 07 0E */ lbz r0, 0x70e(r29) +/* 8028006C 0027CFCC 38 60 00 00 */ li r3, 0 +/* 80280070 0027CFD0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80280074 0027CFD4 98 1D 07 0E */ stb r0, 0x70e(r29) +lbl_80280078: +/* 80280078 0027CFD8 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8028007C 0027CFDC 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80280080 0027CFE0 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80280084 0027CFE4 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 80280088 0027CFE8 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 8028008C 0027CFEC 7C 08 03 A6 */ mtlr r0 +/* 80280090 0027CFF0 38 21 01 00 */ addi r1, r1, 0x100 +/* 80280094 0027CFF4 4E 80 00 20 */ blr + +.global __dt__20CMetroidPrimeEssenceFv +__dt__20CMetroidPrimeEssenceFv: +/* 80280098 0027CFF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028009C 0027CFFC 7C 08 02 A6 */ mflr r0 +/* 802800A0 0027D000 90 01 00 14 */ stw r0, 0x14(r1) +/* 802800A4 0027D004 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802800A8 0027D008 7C 9F 23 78 */ mr r31, r4 +/* 802800AC 0027D00C 93 C1 00 08 */ stw r30, 8(r1) +/* 802800B0 0027D010 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802800B4 0027D014 41 82 00 E8 */ beq lbl_8028019C +/* 802800B8 0027D018 3C 60 80 3F */ lis r3, lbl_803EB244@ha +/* 802800BC 0027D01C 34 1E 06 5C */ addic. r0, r30, 0x65c +/* 802800C0 0027D020 38 03 B2 44 */ addi r0, r3, lbl_803EB244@l +/* 802800C4 0027D024 90 1E 00 00 */ stw r0, 0(r30) +/* 802800C8 0027D028 41 82 00 24 */ beq lbl_802800EC +/* 802800CC 0027D02C 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 802800D0 0027D030 28 03 00 00 */ cmplwi r3, 0 +/* 802800D4 0027D034 41 82 00 18 */ beq lbl_802800EC +/* 802800D8 0027D038 81 83 00 00 */ lwz r12, 0(r3) +/* 802800DC 0027D03C 38 80 00 01 */ li r4, 1 +/* 802800E0 0027D040 81 8C 00 08 */ lwz r12, 8(r12) +/* 802800E4 0027D044 7D 89 03 A6 */ mtctr r12 +/* 802800E8 0027D048 4E 80 04 21 */ bctrl +lbl_802800EC: +/* 802800EC 0027D04C 34 1E 06 58 */ addic. r0, r30, 0x658 +/* 802800F0 0027D050 41 82 00 10 */ beq lbl_80280100 +/* 802800F4 0027D054 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 802800F8 0027D058 38 80 00 01 */ li r4, 1 +/* 802800FC 0027D05C 4B F2 77 E1 */ bl sub_801a78dc +lbl_80280100: +/* 80280100 0027D060 34 1E 05 74 */ addic. r0, r30, 0x574 +/* 80280104 0027D064 41 82 00 60 */ beq lbl_80280164 +/* 80280108 0027D068 34 1E 05 78 */ addic. r0, r30, 0x578 +/* 8028010C 0027D06C 41 82 00 58 */ beq lbl_80280164 +/* 80280110 0027D070 80 BE 05 78 */ lwz r5, 0x578(r30) +/* 80280114 0027D074 38 60 00 00 */ li r3, 0 +/* 80280118 0027D078 2C 05 00 00 */ cmpwi r5, 0 +/* 8028011C 0027D07C 40 81 00 40 */ ble lbl_8028015C +/* 80280120 0027D080 2C 05 00 08 */ cmpwi r5, 8 +/* 80280124 0027D084 38 85 FF F8 */ addi r4, r5, -8 +/* 80280128 0027D088 40 81 00 20 */ ble lbl_80280148 +/* 8028012C 0027D08C 38 04 00 07 */ addi r0, r4, 7 +/* 80280130 0027D090 54 00 E8 FE */ srwi r0, r0, 3 +/* 80280134 0027D094 7C 09 03 A6 */ mtctr r0 +/* 80280138 0027D098 2C 04 00 00 */ cmpwi r4, 0 +/* 8028013C 0027D09C 40 81 00 0C */ ble lbl_80280148 +lbl_80280140: +/* 80280140 0027D0A0 38 63 00 08 */ addi r3, r3, 8 +/* 80280144 0027D0A4 42 00 FF FC */ bdnz lbl_80280140 +lbl_80280148: +/* 80280148 0027D0A8 7C 03 28 50 */ subf r0, r3, r5 +/* 8028014C 0027D0AC 7C 09 03 A6 */ mtctr r0 +/* 80280150 0027D0B0 7C 03 28 00 */ cmpw r3, r5 +/* 80280154 0027D0B4 40 80 00 08 */ bge lbl_8028015C +lbl_80280158: +/* 80280158 0027D0B8 42 00 00 00 */ bdnz lbl_80280158 +lbl_8028015C: +/* 8028015C 0027D0BC 38 00 00 00 */ li r0, 0 +/* 80280160 0027D0C0 90 1E 05 78 */ stw r0, 0x578(r30) +lbl_80280164: +/* 80280164 0027D0C4 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80280168 0027D0C8 41 82 00 18 */ beq lbl_80280180 +/* 8028016C 0027D0CC 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80280170 0027D0D0 41 82 00 10 */ beq lbl_80280180 +/* 80280174 0027D0D4 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80280178 0027D0D8 38 80 00 00 */ li r4, 0 +/* 8028017C 0027D0DC 48 0C 0C C5 */ bl __dt__6CTokenFv +lbl_80280180: +/* 80280180 0027D0E0 7F C3 F3 78 */ mr r3, r30 +/* 80280184 0027D0E4 38 80 00 00 */ li r4, 0 +/* 80280188 0027D0E8 4B DF 73 E9 */ bl __dt__10CPatternedFv +/* 8028018C 0027D0EC 7F E0 07 35 */ extsh. r0, r31 +/* 80280190 0027D0F0 40 81 00 0C */ ble lbl_8028019C +/* 80280194 0027D0F4 7F C3 F3 78 */ mr r3, r30 +/* 80280198 0027D0F8 48 09 57 99 */ bl Free__7CMemoryFPCv +lbl_8028019C: +/* 8028019C 0027D0FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802801A0 0027D100 7F C3 F3 78 */ mr r3, r30 +/* 802801A4 0027D104 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802801A8 0027D108 83 C1 00 08 */ lwz r30, 8(r1) +/* 802801AC 0027D10C 7C 08 03 A6 */ mtlr r0 +/* 802801B0 0027D110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802801B4 0027D114 4E 80 00 20 */ blr + +.global __ct__20CMetroidPrimeEssence +__ct__20CMetroidPrimeEssence: +/* 802801B8 0027D118 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802801BC 0027D11C 7C 08 02 A6 */ mflr r0 +/* 802801C0 0027D120 39 60 00 01 */ li r11, 1 +/* 802801C4 0027D124 7D 0C 43 78 */ mr r12, r8 +/* 802801C8 0027D128 90 01 00 64 */ stw r0, 0x64(r1) +/* 802801CC 0027D12C BF 01 00 40 */ stmw r24, 0x40(r1) +/* 802801D0 0027D130 7C FB 3B 78 */ mr r27, r7 +/* 802801D4 0027D134 7D 38 4B 78 */ mr r24, r9 +/* 802801D8 0027D138 83 81 00 68 */ lwz r28, 0x68(r1) +/* 802801DC 0027D13C 83 A1 00 6C */ lwz r29, 0x6c(r1) +/* 802801E0 0027D140 7C 7A 1B 78 */ mr r26, r3 +/* 802801E4 0027D144 83 C1 00 70 */ lwz r30, 0x70(r1) +/* 802801E8 0027D148 7F 69 DB 78 */ mr r9, r27 +/* 802801EC 0027D14C 83 E1 00 74 */ lwz r31, 0x74(r1) +/* 802801F0 0027D150 38 E0 00 00 */ li r7, 0 +/* 802801F4 0027D154 83 21 00 78 */ lwz r25, 0x78(r1) +/* 802801F8 0027D158 A0 04 00 00 */ lhz r0, 0(r4) +/* 802801FC 0027D15C 7C C4 33 78 */ mr r4, r6 +/* 80280200 0027D160 7C A6 2B 78 */ mr r6, r5 +/* 80280204 0027D164 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80280208 0027D168 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8028020C 0027D16C 7C 88 23 78 */ mr r8, r4 +/* 80280210 0027D170 38 00 00 03 */ li r0, 3 +/* 80280214 0027D174 38 80 00 16 */ li r4, 0x16 +/* 80280218 0027D178 93 01 00 08 */ stw r24, 8(r1) +/* 8028021C 0027D17C 91 61 00 0C */ stw r11, 0xc(r1) +/* 80280220 0027D180 91 61 00 10 */ stw r11, 0x10(r1) +/* 80280224 0027D184 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280228 0027D188 91 41 00 18 */ stw r10, 0x18(r1) +/* 8028022C 0027D18C 7D 8A 63 78 */ mr r10, r12 +/* 80280230 0027D190 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80280234 0027D194 4B DF D2 1D */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80280238 0027D198 3C 60 80 3F */ lis r3, lbl_803EB244@ha +/* 8028023C 0027D19C 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 80280240 0027D1A0 38 03 B2 44 */ addi r0, r3, lbl_803EB244@l +/* 80280244 0027D1A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80280248 0027D1A8 90 1A 00 00 */ stw r0, 0(r26) +/* 8028024C 0027D1AC 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 80280250 0027D1B0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80280254 0027D1B4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80280258 0027D1B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8028025C 0027D1BC 93 21 00 30 */ stw r25, 0x30(r1) +/* 80280260 0027D1C0 81 84 00 00 */ lwz r12, 0(r4) +/* 80280264 0027D1C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80280268 0027D1C8 7D 89 03 A6 */ mtctr r12 +/* 8028026C 0027D1CC 4E 80 04 21 */ bctrl +/* 80280270 0027D1D0 3B 3A 05 68 */ addi r25, r26, 0x568 +/* 80280274 0027D1D4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80280278 0027D1D8 7F 23 CB 78 */ mr r3, r25 +/* 8028027C 0027D1DC 48 0C 0C 2D */ bl __ct__6CTokenFRC6CToken +/* 80280280 0027D1E0 7F 23 CB 78 */ mr r3, r25 +/* 80280284 0027D1E4 48 0C 0B 89 */ bl GetObj__6CTokenFv +/* 80280288 0027D1E8 80 03 00 04 */ lwz r0, 4(r3) +/* 8028028C 0027D1EC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80280290 0027D1F0 38 80 FF FF */ li r4, -1 +/* 80280294 0027D1F4 90 19 00 08 */ stw r0, 8(r25) +/* 80280298 0027D1F8 48 0C 0B A9 */ bl __dt__6CTokenFv +/* 8028029C 0027D1FC C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 802802A0 0027D200 38 7A 05 74 */ addi r3, r26, 0x574 +/* 802802A4 0027D204 80 D8 01 0C */ lwz r6, 0x10c(r24) +/* 802802A8 0027D208 38 80 00 00 */ li r4, 0 +/* 802802AC 0027D20C FC 40 08 90 */ fmr f2, f1 +/* 802802B0 0027D210 38 A0 00 03 */ li r5, 3 +/* 802802B4 0027D214 4B F4 8A E1 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 802802B8 0027D218 38 00 00 00 */ li r0, 0 +/* 802802BC 0027D21C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802802C0 0027D220 90 1A 06 58 */ stw r0, 0x658(r26) +/* 802802C4 0027D224 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802802C8 0027D228 38 7A 06 68 */ addi r3, r26, 0x668 +/* 802802CC 0027D22C 90 1A 06 5C */ stw r0, 0x65c(r26) +/* 802802D0 0027D230 93 9A 06 60 */ stw r28, 0x660(r26) +/* 802802D4 0027D234 93 DA 06 64 */ stw r30, 0x664(r26) +/* 802802D8 0027D238 48 09 28 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802802DC 0027D23C 80 1D 00 00 */ lwz r0, 0(r29) +/* 802802E0 0027D240 38 E0 00 00 */ li r7, 0 +/* 802802E4 0027D244 C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) +/* 802802E8 0027D248 38 A0 00 02 */ li r5, 2 +/* 802802EC 0027D24C 90 1A 06 98 */ stw r0, 0x698(r26) +/* 802802F0 0027D250 38 80 00 04 */ li r4, 4 +/* 802802F4 0027D254 C0 22 BD 74 */ lfs f1, lbl_805ADA94@sda21(r2) +/* 802802F8 0027D258 38 00 00 01 */ li r0, 1 +/* 802802FC 0027D25C 88 DD 00 04 */ lbz r6, 4(r29) +/* 80280300 0027D260 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 80280304 0027D264 C0 02 BD 68 */ lfs f0, lbl_805ADA88@sda21(r2) +/* 80280308 0027D268 98 DA 06 9C */ stb r6, 0x69c(r26) +/* 8028030C 0027D26C C0 7D 00 08 */ lfs f3, 8(r29) +/* 80280310 0027D270 D0 7A 06 A0 */ stfs f3, 0x6a0(r26) +/* 80280314 0027D274 C0 7D 00 0C */ lfs f3, 0xc(r29) +/* 80280318 0027D278 D0 7A 06 A4 */ stfs f3, 0x6a4(r26) +/* 8028031C 0027D27C C0 7D 00 10 */ lfs f3, 0x10(r29) +/* 80280320 0027D280 D0 7A 06 A8 */ stfs f3, 0x6a8(r26) +/* 80280324 0027D284 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 80280328 0027D288 D0 7A 06 AC */ stfs f3, 0x6ac(r26) +/* 8028032C 0027D28C 88 DD 00 18 */ lbz r6, 0x18(r29) +/* 80280330 0027D290 98 DA 06 B0 */ stb r6, 0x6b0(r26) +/* 80280334 0027D294 C0 BB 00 2C */ lfs f5, 0x2c(r27) +/* 80280338 0027D298 C0 9B 00 1C */ lfs f4, 0x1c(r27) +/* 8028033C 0027D29C C0 7B 00 0C */ lfs f3, 0xc(r27) +/* 80280340 0027D2A0 D0 7A 06 B4 */ stfs f3, 0x6b4(r26) +/* 80280344 0027D2A4 D0 9A 06 B8 */ stfs f4, 0x6b8(r26) +/* 80280348 0027D2A8 D0 BA 06 BC */ stfs f5, 0x6bc(r26) +/* 8028034C 0027D2AC D0 5A 06 C0 */ stfs f2, 0x6c0(r26) +/* 80280350 0027D2B0 D0 5A 06 C4 */ stfs f2, 0x6c4(r26) +/* 80280354 0027D2B4 D0 5A 06 C8 */ stfs f2, 0x6c8(r26) +/* 80280358 0027D2B8 D0 3A 06 CC */ stfs f1, 0x6cc(r26) +/* 8028035C 0027D2BC C0 3A 06 CC */ lfs f1, 0x6cc(r26) +/* 80280360 0027D2C0 EC 00 08 7A */ fmadds f0, f0, f1, f1 +/* 80280364 0027D2C4 D0 1A 06 D0 */ stfs f0, 0x6d0(r26) +/* 80280368 0027D2C8 D0 5A 06 D4 */ stfs f2, 0x6d4(r26) +/* 8028036C 0027D2CC 90 FA 06 D8 */ stw r7, 0x6d8(r26) +/* 80280370 0027D2D0 90 FA 06 DC */ stw r7, 0x6dc(r26) +/* 80280374 0027D2D4 80 DA 06 DC */ lwz r6, 0x6dc(r26) +/* 80280378 0027D2D8 90 DA 06 E0 */ stw r6, 0x6e0(r26) +/* 8028037C 0027D2DC 90 FA 06 E4 */ stw r7, 0x6e4(r26) +/* 80280380 0027D2E0 90 BA 06 E8 */ stw r5, 0x6e8(r26) +/* 80280384 0027D2E4 90 9A 06 EC */ stw r4, 0x6ec(r26) +/* 80280388 0027D2E8 90 FA 06 F0 */ stw r7, 0x6f0(r26) +/* 8028038C 0027D2EC 80 9A 06 E8 */ lwz r4, 0x6e8(r26) +/* 80280390 0027D2F0 38 84 FF FF */ addi r4, r4, -1 +/* 80280394 0027D2F4 90 9A 06 F4 */ stw r4, 0x6f4(r26) +/* 80280398 0027D2F8 90 BA 06 F8 */ stw r5, 0x6f8(r26) +/* 8028039C 0027D2FC 90 FA 06 FC */ stw r7, 0x6fc(r26) +/* 802803A0 0027D300 90 1A 07 00 */ stw r0, 0x700(r26) +/* 802803A4 0027D304 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802803A8 0027D308 B0 1A 07 04 */ sth r0, 0x704(r26) +/* 802803AC 0027D30C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802803B0 0027D310 B0 1A 07 06 */ sth r0, 0x706(r26) +/* 802803B4 0027D314 90 FA 07 08 */ stw r7, 0x708(r26) +/* 802803B8 0027D318 48 06 85 F9 */ bl TranslateSFXID__11CSfxManagerFUs +/* 802803BC 0027D31C B0 7A 07 0C */ sth r3, 0x70c(r26) +/* 802803C0 0027D320 38 C0 00 00 */ li r6, 0 +/* 802803C4 0027D324 38 A0 00 01 */ li r5, 1 +/* 802803C8 0027D328 7F 43 D3 78 */ mr r3, r26 +/* 802803CC 0027D32C 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803D0 0027D330 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802803D4 0027D334 38 80 00 00 */ li r4, 0 +/* 802803D8 0027D338 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 802803DC 0027D33C 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803E0 0027D340 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802803E4 0027D344 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 802803E8 0027D348 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803EC 0027D34C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 802803F0 0027D350 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 802803F4 0027D354 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803F8 0027D358 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802803FC 0027D35C 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280400 0027D360 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 80280404 0027D364 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80280408 0027D368 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 8028040C 0027D36C 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 80280410 0027D370 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80280414 0027D374 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280418 0027D378 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 8028041C 0027D37C 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 80280420 0027D380 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280424 0027D384 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 80280428 0027D388 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 8028042C 0027D38C 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280430 0027D390 4B DD 29 3D */ bl CreateShadow__6CActorFb +/* 80280434 0027D394 7F 43 D3 78 */ mr r3, r26 +/* 80280438 0027D398 4B DF 74 5D */ bl MakeThermalColdAndHot__10CPatternedFv +/* 8028043C 0027D39C 7F 43 D3 78 */ mr r3, r26 +/* 80280440 0027D3A0 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 80280444 0027D3A4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80280448 0027D3A8 7C 08 03 A6 */ mtlr r0 +/* 8028044C 0027D3AC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80280450 0027D3B0 4E 80 00 20 */ blr + +.global __sinit_CMetroidPrimeEssence_cpp +__sinit_CMetroidPrimeEssence_cpp: +/* 80280454 0027D3B4 80 02 BD 00 */ lwz r0, lbl_805ADA20@sda21(r2) +/* 80280458 0027D3B8 90 0D 98 E4 */ stw r0, lbl_805A84A4@sda21(r13) +/* 8028045C 0027D3BC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s new file mode 100644 index 00000000..b4897024 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s @@ -0,0 +1,12528 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__16CMetroidPrimeExo +__dt__16CMetroidPrimeExo: +/* 802712AC 0026E20C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802712B0 0026E210 7C 08 02 A6 */ mflr r0 +/* 802712B4 0026E214 90 01 00 24 */ stw r0, 0x24(r1) +/* 802712B8 0026E218 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802712BC 0026E21C 7C 9F 23 78 */ mr r31, r4 +/* 802712C0 0026E220 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802712C4 0026E224 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802712C8 0026E228 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802712CC 0026E22C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802712D0 0026E230 41 82 09 48 */ beq lbl_80271C18 +/* 802712D4 0026E234 3C 60 80 3F */ lis r3, lbl_803EAD54@ha +/* 802712D8 0026E238 34 1E 14 3C */ addic. r0, r30, 0x143c +/* 802712DC 0026E23C 38 03 AD 54 */ addi r0, r3, lbl_803EAD54@l +/* 802712E0 0026E240 90 1E 00 00 */ stw r0, 0(r30) +/* 802712E4 0026E244 41 82 00 10 */ beq lbl_802712F4 +/* 802712E8 0026E248 80 7E 14 3C */ lwz r3, 0x143c(r30) +/* 802712EC 0026E24C 38 80 00 01 */ li r4, 1 +/* 802712F0 0026E250 48 02 D0 91 */ bl __dt__16CProjectedShadowFv +lbl_802712F4: +/* 802712F4 0026E254 34 1E 13 68 */ addic. r0, r30, 0x1368 +/* 802712F8 0026E258 41 82 00 40 */ beq lbl_80271338 +/* 802712FC 0026E25C 34 1E 13 E8 */ addic. r0, r30, 0x13e8 +/* 80271300 0026E260 41 82 00 10 */ beq lbl_80271310 +/* 80271304 0026E264 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271308 0026E268 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027130C 0026E26C 90 1E 13 E8 */ stw r0, 0x13e8(r30) +lbl_80271310: +/* 80271310 0026E270 34 1E 13 AC */ addic. r0, r30, 0x13ac +/* 80271314 0026E274 41 82 00 10 */ beq lbl_80271324 +/* 80271318 0026E278 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027131C 0026E27C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271320 0026E280 90 1E 13 AC */ stw r0, 0x13ac(r30) +lbl_80271324: +/* 80271324 0026E284 34 1E 13 70 */ addic. r0, r30, 0x1370 +/* 80271328 0026E288 41 82 00 10 */ beq lbl_80271338 +/* 8027132C 0026E28C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271330 0026E290 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271334 0026E294 90 1E 13 70 */ stw r0, 0x1370(r30) +lbl_80271338: +/* 80271338 0026E298 34 1E 12 94 */ addic. r0, r30, 0x1294 +/* 8027133C 0026E29C 41 82 00 40 */ beq lbl_8027137C +/* 80271340 0026E2A0 34 1E 13 14 */ addic. r0, r30, 0x1314 +/* 80271344 0026E2A4 41 82 00 10 */ beq lbl_80271354 +/* 80271348 0026E2A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027134C 0026E2AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271350 0026E2B0 90 1E 13 14 */ stw r0, 0x1314(r30) +lbl_80271354: +/* 80271354 0026E2B4 34 1E 12 D8 */ addic. r0, r30, 0x12d8 +/* 80271358 0026E2B8 41 82 00 10 */ beq lbl_80271368 +/* 8027135C 0026E2BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271360 0026E2C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271364 0026E2C4 90 1E 12 D8 */ stw r0, 0x12d8(r30) +lbl_80271368: +/* 80271368 0026E2C8 34 1E 12 9C */ addic. r0, r30, 0x129c +/* 8027136C 0026E2CC 41 82 00 10 */ beq lbl_8027137C +/* 80271370 0026E2D0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271374 0026E2D4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271378 0026E2D8 90 1E 12 9C */ stw r0, 0x129c(r30) +lbl_8027137C: +/* 8027137C 0026E2DC 34 1E 12 58 */ addic. r0, r30, 0x1258 +/* 80271380 0026E2E0 41 82 00 58 */ beq lbl_802713D8 +/* 80271384 0026E2E4 80 BE 12 58 */ lwz r5, 0x1258(r30) +/* 80271388 0026E2E8 38 60 00 00 */ li r3, 0 +/* 8027138C 0026E2EC 2C 05 00 00 */ cmpwi r5, 0 +/* 80271390 0026E2F0 40 81 00 40 */ ble lbl_802713D0 +/* 80271394 0026E2F4 2C 05 00 08 */ cmpwi r5, 8 +/* 80271398 0026E2F8 38 85 FF F8 */ addi r4, r5, -8 +/* 8027139C 0026E2FC 40 81 00 20 */ ble lbl_802713BC +/* 802713A0 0026E300 38 04 00 07 */ addi r0, r4, 7 +/* 802713A4 0026E304 54 00 E8 FE */ srwi r0, r0, 3 +/* 802713A8 0026E308 7C 09 03 A6 */ mtctr r0 +/* 802713AC 0026E30C 2C 04 00 00 */ cmpwi r4, 0 +/* 802713B0 0026E310 40 81 00 0C */ ble lbl_802713BC +lbl_802713B4: +/* 802713B4 0026E314 38 63 00 08 */ addi r3, r3, 8 +/* 802713B8 0026E318 42 00 FF FC */ bdnz lbl_802713B4 +lbl_802713BC: +/* 802713BC 0026E31C 7C 03 28 50 */ subf r0, r3, r5 +/* 802713C0 0026E320 7C 09 03 A6 */ mtctr r0 +/* 802713C4 0026E324 7C 03 28 00 */ cmpw r3, r5 +/* 802713C8 0026E328 40 80 00 08 */ bge lbl_802713D0 +lbl_802713CC: +/* 802713CC 0026E32C 42 00 00 00 */ bdnz lbl_802713CC +lbl_802713D0: +/* 802713D0 0026E330 38 00 00 00 */ li r0, 0 +/* 802713D4 0026E334 90 1E 12 58 */ stw r0, 0x1258(r30) +lbl_802713D8: +/* 802713D8 0026E338 34 1E 11 60 */ addic. r0, r30, 0x1160 +/* 802713DC 0026E33C 41 82 00 90 */ beq lbl_8027146C +/* 802713E0 0026E340 38 DE 11 64 */ addi r6, r30, 0x1164 +/* 802713E4 0026E344 38 60 00 00 */ li r3, 0 +/* 802713E8 0026E348 48 00 00 70 */ b lbl_80271458 +lbl_802713EC: +/* 802713EC 0026E34C 28 06 00 00 */ cmplwi r6, 0 +/* 802713F0 0026E350 41 82 00 60 */ beq lbl_80271450 +/* 802713F4 0026E354 41 82 00 5C */ beq lbl_80271450 +/* 802713F8 0026E358 80 E6 00 00 */ lwz r7, 0(r6) +/* 802713FC 0026E35C 38 80 00 00 */ li r4, 0 +/* 80271400 0026E360 2C 07 00 00 */ cmpwi r7, 0 +/* 80271404 0026E364 40 81 00 44 */ ble lbl_80271448 +/* 80271408 0026E368 2C 07 00 08 */ cmpwi r7, 8 +/* 8027140C 0026E36C 38 A7 FF F8 */ addi r5, r7, -8 +/* 80271410 0026E370 40 81 00 20 */ ble lbl_80271430 +/* 80271414 0026E374 38 05 00 07 */ addi r0, r5, 7 +/* 80271418 0026E378 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027141C 0026E37C 7C 09 03 A6 */ mtctr r0 +/* 80271420 0026E380 2C 05 00 00 */ cmpwi r5, 0 +/* 80271424 0026E384 40 81 00 0C */ ble lbl_80271430 +lbl_80271428: +/* 80271428 0026E388 38 84 00 08 */ addi r4, r4, 8 +/* 8027142C 0026E38C 42 00 FF FC */ bdnz lbl_80271428 +lbl_80271430: +/* 80271430 0026E390 7C 04 38 50 */ subf r0, r4, r7 +/* 80271434 0026E394 7C 09 03 A6 */ mtctr r0 +/* 80271438 0026E398 7C 04 38 00 */ cmpw r4, r7 +/* 8027143C 0026E39C 40 80 00 0C */ bge lbl_80271448 +lbl_80271440: +/* 80271440 0026E3A0 38 84 00 01 */ addi r4, r4, 1 +/* 80271444 0026E3A4 42 00 FF FC */ bdnz lbl_80271440 +lbl_80271448: +/* 80271448 0026E3A8 38 00 00 00 */ li r0, 0 +/* 8027144C 0026E3AC 90 06 00 00 */ stw r0, 0(r6) +lbl_80271450: +/* 80271450 0026E3B0 38 C6 00 3C */ addi r6, r6, 0x3c +/* 80271454 0026E3B4 38 63 00 01 */ addi r3, r3, 1 +lbl_80271458: +/* 80271458 0026E3B8 80 1E 11 60 */ lwz r0, 0x1160(r30) +/* 8027145C 0026E3BC 7C 03 00 00 */ cmpw r3, r0 +/* 80271460 0026E3C0 41 80 FF 8C */ blt lbl_802713EC +/* 80271464 0026E3C4 38 00 00 00 */ li r0, 0 +/* 80271468 0026E3C8 90 1E 11 60 */ stw r0, 0x1160(r30) +lbl_8027146C: +/* 8027146C 0026E3CC 34 1E 10 8C */ addic. r0, r30, 0x108c +/* 80271470 0026E3D0 41 82 00 40 */ beq lbl_802714B0 +/* 80271474 0026E3D4 34 1E 11 0C */ addic. r0, r30, 0x110c +/* 80271478 0026E3D8 41 82 00 10 */ beq lbl_80271488 +/* 8027147C 0026E3DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271480 0026E3E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271484 0026E3E4 90 1E 11 0C */ stw r0, 0x110c(r30) +lbl_80271488: +/* 80271488 0026E3E8 34 1E 10 D0 */ addic. r0, r30, 0x10d0 +/* 8027148C 0026E3EC 41 82 00 10 */ beq lbl_8027149C +/* 80271490 0026E3F0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271494 0026E3F4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271498 0026E3F8 90 1E 10 D0 */ stw r0, 0x10d0(r30) +lbl_8027149C: +/* 8027149C 0026E3FC 34 1E 10 94 */ addic. r0, r30, 0x1094 +/* 802714A0 0026E400 41 82 00 10 */ beq lbl_802714B0 +/* 802714A4 0026E404 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802714A8 0026E408 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802714AC 0026E40C 90 1E 10 94 */ stw r0, 0x1094(r30) +lbl_802714B0: +/* 802714B0 0026E410 34 1E 10 6C */ addic. r0, r30, 0x106c +/* 802714B4 0026E414 41 82 00 58 */ beq lbl_8027150C +/* 802714B8 0026E418 80 BE 10 6C */ lwz r5, 0x106c(r30) +/* 802714BC 0026E41C 38 60 00 00 */ li r3, 0 +/* 802714C0 0026E420 2C 05 00 00 */ cmpwi r5, 0 +/* 802714C4 0026E424 40 81 00 40 */ ble lbl_80271504 +/* 802714C8 0026E428 2C 05 00 08 */ cmpwi r5, 8 +/* 802714CC 0026E42C 38 85 FF F8 */ addi r4, r5, -8 +/* 802714D0 0026E430 40 81 00 20 */ ble lbl_802714F0 +/* 802714D4 0026E434 38 04 00 07 */ addi r0, r4, 7 +/* 802714D8 0026E438 54 00 E8 FE */ srwi r0, r0, 3 +/* 802714DC 0026E43C 7C 09 03 A6 */ mtctr r0 +/* 802714E0 0026E440 2C 04 00 00 */ cmpwi r4, 0 +/* 802714E4 0026E444 40 81 00 0C */ ble lbl_802714F0 +lbl_802714E8: +/* 802714E8 0026E448 38 63 00 08 */ addi r3, r3, 8 +/* 802714EC 0026E44C 42 00 FF FC */ bdnz lbl_802714E8 +lbl_802714F0: +/* 802714F0 0026E450 7C 03 28 50 */ subf r0, r3, r5 +/* 802714F4 0026E454 7C 09 03 A6 */ mtctr r0 +/* 802714F8 0026E458 7C 03 28 00 */ cmpw r3, r5 +/* 802714FC 0026E45C 40 80 00 08 */ bge lbl_80271504 +lbl_80271500: +/* 80271500 0026E460 42 00 00 00 */ bdnz lbl_80271500 +lbl_80271504: +/* 80271504 0026E464 38 00 00 00 */ li r0, 0 +/* 80271508 0026E468 90 1E 10 6C */ stw r0, 0x106c(r30) +lbl_8027150C: +/* 8027150C 0026E46C 34 1E 10 58 */ addic. r0, r30, 0x1058 +/* 80271510 0026E470 41 82 00 58 */ beq lbl_80271568 +/* 80271514 0026E474 80 BE 10 58 */ lwz r5, 0x1058(r30) +/* 80271518 0026E478 38 60 00 00 */ li r3, 0 +/* 8027151C 0026E47C 2C 05 00 00 */ cmpwi r5, 0 +/* 80271520 0026E480 40 81 00 40 */ ble lbl_80271560 +/* 80271524 0026E484 2C 05 00 08 */ cmpwi r5, 8 +/* 80271528 0026E488 38 85 FF F8 */ addi r4, r5, -8 +/* 8027152C 0026E48C 40 81 00 20 */ ble lbl_8027154C +/* 80271530 0026E490 38 04 00 07 */ addi r0, r4, 7 +/* 80271534 0026E494 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271538 0026E498 7C 09 03 A6 */ mtctr r0 +/* 8027153C 0026E49C 2C 04 00 00 */ cmpwi r4, 0 +/* 80271540 0026E4A0 40 81 00 0C */ ble lbl_8027154C +lbl_80271544: +/* 80271544 0026E4A4 38 63 00 08 */ addi r3, r3, 8 +/* 80271548 0026E4A8 42 00 FF FC */ bdnz lbl_80271544 +lbl_8027154C: +/* 8027154C 0026E4AC 7C 03 28 50 */ subf r0, r3, r5 +/* 80271550 0026E4B0 7C 09 03 A6 */ mtctr r0 +/* 80271554 0026E4B4 7C 03 28 00 */ cmpw r3, r5 +/* 80271558 0026E4B8 40 80 00 08 */ bge lbl_80271560 +lbl_8027155C: +/* 8027155C 0026E4BC 42 00 00 00 */ bdnz lbl_8027155C +lbl_80271560: +/* 80271560 0026E4C0 38 00 00 00 */ li r0, 0 +/* 80271564 0026E4C4 90 1E 10 58 */ stw r0, 0x1058(r30) +lbl_80271568: +/* 80271568 0026E4C8 34 1E 10 38 */ addic. r0, r30, 0x1038 +/* 8027156C 0026E4CC 41 82 00 58 */ beq lbl_802715C4 +/* 80271570 0026E4D0 80 BE 10 38 */ lwz r5, 0x1038(r30) +/* 80271574 0026E4D4 38 60 00 00 */ li r3, 0 +/* 80271578 0026E4D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027157C 0026E4DC 40 81 00 40 */ ble lbl_802715BC +/* 80271580 0026E4E0 2C 05 00 08 */ cmpwi r5, 8 +/* 80271584 0026E4E4 38 85 FF F8 */ addi r4, r5, -8 +/* 80271588 0026E4E8 40 81 00 20 */ ble lbl_802715A8 +/* 8027158C 0026E4EC 38 04 00 07 */ addi r0, r4, 7 +/* 80271590 0026E4F0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271594 0026E4F4 7C 09 03 A6 */ mtctr r0 +/* 80271598 0026E4F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8027159C 0026E4FC 40 81 00 0C */ ble lbl_802715A8 +lbl_802715A0: +/* 802715A0 0026E500 38 63 00 08 */ addi r3, r3, 8 +/* 802715A4 0026E504 42 00 FF FC */ bdnz lbl_802715A0 +lbl_802715A8: +/* 802715A8 0026E508 7C 03 28 50 */ subf r0, r3, r5 +/* 802715AC 0026E50C 7C 09 03 A6 */ mtctr r0 +/* 802715B0 0026E510 7C 03 28 00 */ cmpw r3, r5 +/* 802715B4 0026E514 40 80 00 08 */ bge lbl_802715BC +lbl_802715B8: +/* 802715B8 0026E518 42 00 00 00 */ bdnz lbl_802715B8 +lbl_802715BC: +/* 802715BC 0026E51C 38 00 00 00 */ li r0, 0 +/* 802715C0 0026E520 90 1E 10 38 */ stw r0, 0x1038(r30) +lbl_802715C4: +/* 802715C4 0026E524 34 1E 10 2C */ addic. r0, r30, 0x102c +/* 802715C8 0026E528 41 82 00 58 */ beq lbl_80271620 +/* 802715CC 0026E52C 80 BE 10 2C */ lwz r5, 0x102c(r30) +/* 802715D0 0026E530 38 60 00 00 */ li r3, 0 +/* 802715D4 0026E534 2C 05 00 00 */ cmpwi r5, 0 +/* 802715D8 0026E538 40 81 00 40 */ ble lbl_80271618 +/* 802715DC 0026E53C 2C 05 00 08 */ cmpwi r5, 8 +/* 802715E0 0026E540 38 85 FF F8 */ addi r4, r5, -8 +/* 802715E4 0026E544 40 81 00 20 */ ble lbl_80271604 +/* 802715E8 0026E548 38 04 00 07 */ addi r0, r4, 7 +/* 802715EC 0026E54C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802715F0 0026E550 7C 09 03 A6 */ mtctr r0 +/* 802715F4 0026E554 2C 04 00 00 */ cmpwi r4, 0 +/* 802715F8 0026E558 40 81 00 0C */ ble lbl_80271604 +lbl_802715FC: +/* 802715FC 0026E55C 38 63 00 08 */ addi r3, r3, 8 +/* 80271600 0026E560 42 00 FF FC */ bdnz lbl_802715FC +lbl_80271604: +/* 80271604 0026E564 7C 03 28 50 */ subf r0, r3, r5 +/* 80271608 0026E568 7C 09 03 A6 */ mtctr r0 +/* 8027160C 0026E56C 7C 03 28 00 */ cmpw r3, r5 +/* 80271610 0026E570 40 80 00 08 */ bge lbl_80271618 +lbl_80271614: +/* 80271614 0026E574 42 00 00 00 */ bdnz lbl_80271614 +lbl_80271618: +/* 80271618 0026E578 38 00 00 00 */ li r0, 0 +/* 8027161C 0026E57C 90 1E 10 2C */ stw r0, 0x102c(r30) +lbl_80271620: +/* 80271620 0026E580 34 1E 10 24 */ addic. r0, r30, 0x1024 +/* 80271624 0026E584 41 82 00 30 */ beq lbl_80271654 +/* 80271628 0026E588 88 1E 10 24 */ lbz r0, 0x1024(r30) +/* 8027162C 0026E58C 28 00 00 00 */ cmplwi r0, 0 +/* 80271630 0026E590 41 82 00 24 */ beq lbl_80271654 +/* 80271634 0026E594 80 7E 10 28 */ lwz r3, 0x1028(r30) +/* 80271638 0026E598 28 03 00 00 */ cmplwi r3, 0 +/* 8027163C 0026E59C 41 82 00 18 */ beq lbl_80271654 +/* 80271640 0026E5A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80271644 0026E5A4 38 80 00 01 */ li r4, 1 +/* 80271648 0026E5A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027164C 0026E5AC 7D 89 03 A6 */ mtctr r12 +/* 80271650 0026E5B0 4E 80 04 21 */ bctrl +lbl_80271654: +/* 80271654 0026E5B4 34 1E 10 1C */ addic. r0, r30, 0x101c +/* 80271658 0026E5B8 41 82 00 10 */ beq lbl_80271668 +/* 8027165C 0026E5BC 38 7E 10 1C */ addi r3, r30, 0x101c +/* 80271660 0026E5C0 38 80 00 00 */ li r4, 0 +/* 80271664 0026E5C4 48 0C F7 DD */ bl __dt__6CTokenFv +lbl_80271668: +/* 80271668 0026E5C8 34 1E 10 14 */ addic. r0, r30, 0x1014 +/* 8027166C 0026E5CC 41 82 00 10 */ beq lbl_8027167C +/* 80271670 0026E5D0 38 7E 10 14 */ addi r3, r30, 0x1014 +/* 80271674 0026E5D4 38 80 00 00 */ li r4, 0 +/* 80271678 0026E5D8 48 0C F7 C9 */ bl __dt__6CTokenFv +lbl_8027167C: +/* 8027167C 0026E5DC 34 1E 10 00 */ addic. r0, r30, 0x1000 +/* 80271680 0026E5E0 41 82 00 60 */ beq lbl_802716E0 +/* 80271684 0026E5E4 3B 9E 10 04 */ addi r28, r30, 0x1004 +/* 80271688 0026E5E8 3B A0 00 00 */ li r29, 0 +/* 8027168C 0026E5EC 48 00 00 40 */ b lbl_802716CC +lbl_80271690: +/* 80271690 0026E5F0 28 1C 00 00 */ cmplwi r28, 0 +/* 80271694 0026E5F4 41 82 00 30 */ beq lbl_802716C4 +/* 80271698 0026E5F8 88 1C 00 00 */ lbz r0, 0(r28) +/* 8027169C 0026E5FC 28 00 00 00 */ cmplwi r0, 0 +/* 802716A0 0026E600 41 82 00 24 */ beq lbl_802716C4 +/* 802716A4 0026E604 80 7C 00 04 */ lwz r3, 4(r28) +/* 802716A8 0026E608 28 03 00 00 */ cmplwi r3, 0 +/* 802716AC 0026E60C 41 82 00 18 */ beq lbl_802716C4 +/* 802716B0 0026E610 81 83 00 00 */ lwz r12, 0(r3) +/* 802716B4 0026E614 38 80 00 01 */ li r4, 1 +/* 802716B8 0026E618 81 8C 00 08 */ lwz r12, 8(r12) +/* 802716BC 0026E61C 7D 89 03 A6 */ mtctr r12 +/* 802716C0 0026E620 4E 80 04 21 */ bctrl +lbl_802716C4: +/* 802716C4 0026E624 3B 9C 00 08 */ addi r28, r28, 8 +/* 802716C8 0026E628 3B BD 00 01 */ addi r29, r29, 1 +lbl_802716CC: +/* 802716CC 0026E62C 80 1E 10 00 */ lwz r0, 0x1000(r30) +/* 802716D0 0026E630 7C 1D 00 00 */ cmpw r29, r0 +/* 802716D4 0026E634 41 80 FF BC */ blt lbl_80271690 +/* 802716D8 0026E638 38 00 00 00 */ li r0, 0 +/* 802716DC 0026E63C 90 1E 10 00 */ stw r0, 0x1000(r30) +lbl_802716E0: +/* 802716E0 0026E640 34 1E 0F EC */ addic. r0, r30, 0xfec +/* 802716E4 0026E644 41 82 00 60 */ beq lbl_80271744 +/* 802716E8 0026E648 3B 9E 0F F0 */ addi r28, r30, 0xff0 +/* 802716EC 0026E64C 3B A0 00 00 */ li r29, 0 +/* 802716F0 0026E650 48 00 00 40 */ b lbl_80271730 +lbl_802716F4: +/* 802716F4 0026E654 28 1C 00 00 */ cmplwi r28, 0 +/* 802716F8 0026E658 41 82 00 30 */ beq lbl_80271728 +/* 802716FC 0026E65C 88 1C 00 00 */ lbz r0, 0(r28) +/* 80271700 0026E660 28 00 00 00 */ cmplwi r0, 0 +/* 80271704 0026E664 41 82 00 24 */ beq lbl_80271728 +/* 80271708 0026E668 80 7C 00 04 */ lwz r3, 4(r28) +/* 8027170C 0026E66C 28 03 00 00 */ cmplwi r3, 0 +/* 80271710 0026E670 41 82 00 18 */ beq lbl_80271728 +/* 80271714 0026E674 81 83 00 00 */ lwz r12, 0(r3) +/* 80271718 0026E678 38 80 00 01 */ li r4, 1 +/* 8027171C 0026E67C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80271720 0026E680 7D 89 03 A6 */ mtctr r12 +/* 80271724 0026E684 4E 80 04 21 */ bctrl +lbl_80271728: +/* 80271728 0026E688 3B 9C 00 08 */ addi r28, r28, 8 +/* 8027172C 0026E68C 3B BD 00 01 */ addi r29, r29, 1 +lbl_80271730: +/* 80271730 0026E690 80 1E 0F EC */ lwz r0, 0xfec(r30) +/* 80271734 0026E694 7C 1D 00 00 */ cmpw r29, r0 +/* 80271738 0026E698 41 80 FF BC */ blt lbl_802716F4 +/* 8027173C 0026E69C 38 00 00 00 */ li r0, 0 +/* 80271740 0026E6A0 90 1E 0F EC */ stw r0, 0xfec(r30) +lbl_80271744: +/* 80271744 0026E6A4 34 1E 0F D8 */ addic. r0, r30, 0xfd8 +/* 80271748 0026E6A8 41 82 00 40 */ beq lbl_80271788 +/* 8027174C 0026E6AC 3B 9E 0F DC */ addi r28, r30, 0xfdc +/* 80271750 0026E6B0 3B A0 00 00 */ li r29, 0 +/* 80271754 0026E6B4 48 00 00 20 */ b lbl_80271774 +lbl_80271758: +/* 80271758 0026E6B8 28 1C 00 00 */ cmplwi r28, 0 +/* 8027175C 0026E6BC 41 82 00 10 */ beq lbl_8027176C +/* 80271760 0026E6C0 7F 83 E3 78 */ mr r3, r28 +/* 80271764 0026E6C4 38 80 00 00 */ li r4, 0 +/* 80271768 0026E6C8 48 0C F6 D9 */ bl __dt__6CTokenFv +lbl_8027176C: +/* 8027176C 0026E6CC 3B 9C 00 08 */ addi r28, r28, 8 +/* 80271770 0026E6D0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80271774: +/* 80271774 0026E6D4 80 1E 0F D8 */ lwz r0, 0xfd8(r30) +/* 80271778 0026E6D8 7C 1D 00 00 */ cmpw r29, r0 +/* 8027177C 0026E6DC 41 80 FF DC */ blt lbl_80271758 +/* 80271780 0026E6E0 38 00 00 00 */ li r0, 0 +/* 80271784 0026E6E4 90 1E 0F D8 */ stw r0, 0xfd8(r30) +lbl_80271788: +/* 80271788 0026E6E8 34 1E 0F C4 */ addic. r0, r30, 0xfc4 +/* 8027178C 0026E6EC 41 82 00 40 */ beq lbl_802717CC +/* 80271790 0026E6F0 3B 9E 0F C8 */ addi r28, r30, 0xfc8 +/* 80271794 0026E6F4 3B A0 00 00 */ li r29, 0 +/* 80271798 0026E6F8 48 00 00 20 */ b lbl_802717B8 +lbl_8027179C: +/* 8027179C 0026E6FC 28 1C 00 00 */ cmplwi r28, 0 +/* 802717A0 0026E700 41 82 00 10 */ beq lbl_802717B0 +/* 802717A4 0026E704 7F 83 E3 78 */ mr r3, r28 +/* 802717A8 0026E708 38 80 00 00 */ li r4, 0 +/* 802717AC 0026E70C 48 0C F6 95 */ bl __dt__6CTokenFv +lbl_802717B0: +/* 802717B0 0026E710 3B 9C 00 08 */ addi r28, r28, 8 +/* 802717B4 0026E714 3B BD 00 01 */ addi r29, r29, 1 +lbl_802717B8: +/* 802717B8 0026E718 80 1E 0F C4 */ lwz r0, 0xfc4(r30) +/* 802717BC 0026E71C 7C 1D 00 00 */ cmpw r29, r0 +/* 802717C0 0026E720 41 80 FF DC */ blt lbl_8027179C +/* 802717C4 0026E724 38 00 00 00 */ li r0, 0 +/* 802717C8 0026E728 90 1E 0F C4 */ stw r0, 0xfc4(r30) +lbl_802717CC: +/* 802717CC 0026E72C 34 1E 0F AC */ addic. r0, r30, 0xfac +/* 802717D0 0026E730 41 82 00 30 */ beq lbl_80271800 +/* 802717D4 0026E734 88 1E 0F AC */ lbz r0, 0xfac(r30) +/* 802717D8 0026E738 28 00 00 00 */ cmplwi r0, 0 +/* 802717DC 0026E73C 41 82 00 24 */ beq lbl_80271800 +/* 802717E0 0026E740 80 7E 0F B0 */ lwz r3, 0xfb0(r30) +/* 802717E4 0026E744 28 03 00 00 */ cmplwi r3, 0 +/* 802717E8 0026E748 41 82 00 18 */ beq lbl_80271800 +/* 802717EC 0026E74C 81 83 00 00 */ lwz r12, 0(r3) +/* 802717F0 0026E750 38 80 00 01 */ li r4, 1 +/* 802717F4 0026E754 81 8C 00 08 */ lwz r12, 8(r12) +/* 802717F8 0026E758 7D 89 03 A6 */ mtctr r12 +/* 802717FC 0026E75C 4E 80 04 21 */ bctrl +lbl_80271800: +/* 80271800 0026E760 34 1E 0F A4 */ addic. r0, r30, 0xfa4 +/* 80271804 0026E764 41 82 00 10 */ beq lbl_80271814 +/* 80271808 0026E768 38 7E 0F A4 */ addi r3, r30, 0xfa4 +/* 8027180C 0026E76C 38 80 00 00 */ li r4, 0 +/* 80271810 0026E770 48 0C F6 31 */ bl __dt__6CTokenFv +lbl_80271814: +/* 80271814 0026E774 34 1E 0E D0 */ addic. r0, r30, 0xed0 +/* 80271818 0026E778 41 82 00 40 */ beq lbl_80271858 +/* 8027181C 0026E77C 34 1E 0F 50 */ addic. r0, r30, 0xf50 +/* 80271820 0026E780 41 82 00 10 */ beq lbl_80271830 +/* 80271824 0026E784 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271828 0026E788 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027182C 0026E78C 90 1E 0F 50 */ stw r0, 0xf50(r30) +lbl_80271830: +/* 80271830 0026E790 34 1E 0F 14 */ addic. r0, r30, 0xf14 +/* 80271834 0026E794 41 82 00 10 */ beq lbl_80271844 +/* 80271838 0026E798 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027183C 0026E79C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271840 0026E7A0 90 1E 0F 14 */ stw r0, 0xf14(r30) +lbl_80271844: +/* 80271844 0026E7A4 34 1E 0E D8 */ addic. r0, r30, 0xed8 +/* 80271848 0026E7A8 41 82 00 10 */ beq lbl_80271858 +/* 8027184C 0026E7AC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271850 0026E7B0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271854 0026E7B4 90 1E 0E D8 */ stw r0, 0xed8(r30) +lbl_80271858: +/* 80271858 0026E7B8 34 1E 0E 70 */ addic. r0, r30, 0xe70 +/* 8027185C 0026E7BC 41 82 00 14 */ beq lbl_80271870 +/* 80271860 0026E7C0 34 7E 0E 74 */ addic. r3, r30, 0xe74 +/* 80271864 0026E7C4 41 82 00 0C */ beq lbl_80271870 +/* 80271868 0026E7C8 38 80 00 00 */ li r4, 0 +/* 8027186C 0026E7CC 48 0C F5 D5 */ bl __dt__6CTokenFv +lbl_80271870: +/* 80271870 0026E7D0 34 1E 0D 9C */ addic. r0, r30, 0xd9c +/* 80271874 0026E7D4 41 82 00 40 */ beq lbl_802718B4 +/* 80271878 0026E7D8 34 1E 0E 1C */ addic. r0, r30, 0xe1c +/* 8027187C 0026E7DC 41 82 00 10 */ beq lbl_8027188C +/* 80271880 0026E7E0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271884 0026E7E4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271888 0026E7E8 90 1E 0E 1C */ stw r0, 0xe1c(r30) +lbl_8027188C: +/* 8027188C 0026E7EC 34 1E 0D E0 */ addic. r0, r30, 0xde0 +/* 80271890 0026E7F0 41 82 00 10 */ beq lbl_802718A0 +/* 80271894 0026E7F4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271898 0026E7F8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027189C 0026E7FC 90 1E 0D E0 */ stw r0, 0xde0(r30) +lbl_802718A0: +/* 802718A0 0026E800 34 1E 0D A4 */ addic. r0, r30, 0xda4 +/* 802718A4 0026E804 41 82 00 10 */ beq lbl_802718B4 +/* 802718A8 0026E808 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802718AC 0026E80C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802718B0 0026E810 90 1E 0D A4 */ stw r0, 0xda4(r30) +lbl_802718B4: +/* 802718B4 0026E814 34 1E 0D 74 */ addic. r0, r30, 0xd74 +/* 802718B8 0026E818 41 82 00 20 */ beq lbl_802718D8 +/* 802718BC 0026E81C 34 1E 0D 74 */ addic. r0, r30, 0xd74 +/* 802718C0 0026E820 41 82 00 18 */ beq lbl_802718D8 +/* 802718C4 0026E824 34 1E 0D 74 */ addic. r0, r30, 0xd74 +/* 802718C8 0026E828 41 82 00 10 */ beq lbl_802718D8 +/* 802718CC 0026E82C 38 7E 0D 74 */ addi r3, r30, 0xd74 +/* 802718D0 0026E830 38 80 00 00 */ li r4, 0 +/* 802718D4 0026E834 48 0C F5 6D */ bl __dt__6CTokenFv +lbl_802718D8: +/* 802718D8 0026E838 34 1E 0C A0 */ addic. r0, r30, 0xca0 +/* 802718DC 0026E83C 41 82 00 40 */ beq lbl_8027191C +/* 802718E0 0026E840 34 1E 0D 20 */ addic. r0, r30, 0xd20 +/* 802718E4 0026E844 41 82 00 10 */ beq lbl_802718F4 +/* 802718E8 0026E848 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802718EC 0026E84C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802718F0 0026E850 90 1E 0D 20 */ stw r0, 0xd20(r30) +lbl_802718F4: +/* 802718F4 0026E854 34 1E 0C E4 */ addic. r0, r30, 0xce4 +/* 802718F8 0026E858 41 82 00 10 */ beq lbl_80271908 +/* 802718FC 0026E85C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271900 0026E860 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271904 0026E864 90 1E 0C E4 */ stw r0, 0xce4(r30) +lbl_80271908: +/* 80271908 0026E868 34 1E 0C A8 */ addic. r0, r30, 0xca8 +/* 8027190C 0026E86C 41 82 00 10 */ beq lbl_8027191C +/* 80271910 0026E870 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271914 0026E874 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271918 0026E878 90 1E 0C A8 */ stw r0, 0xca8(r30) +lbl_8027191C: +/* 8027191C 0026E87C 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 80271920 0026E880 41 82 00 20 */ beq lbl_80271940 +/* 80271924 0026E884 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 80271928 0026E888 41 82 00 18 */ beq lbl_80271940 +/* 8027192C 0026E88C 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 80271930 0026E890 41 82 00 10 */ beq lbl_80271940 +/* 80271934 0026E894 38 7E 0C 78 */ addi r3, r30, 0xc78 +/* 80271938 0026E898 38 80 00 00 */ li r4, 0 +/* 8027193C 0026E89C 48 0C F5 05 */ bl __dt__6CTokenFv +lbl_80271940: +/* 80271940 0026E8A0 34 1E 0C 50 */ addic. r0, r30, 0xc50 +/* 80271944 0026E8A4 41 82 00 30 */ beq lbl_80271974 +/* 80271948 0026E8A8 88 1E 0C 50 */ lbz r0, 0xc50(r30) +/* 8027194C 0026E8AC 28 00 00 00 */ cmplwi r0, 0 +/* 80271950 0026E8B0 41 82 00 24 */ beq lbl_80271974 +/* 80271954 0026E8B4 80 7E 0C 54 */ lwz r3, 0xc54(r30) +/* 80271958 0026E8B8 28 03 00 00 */ cmplwi r3, 0 +/* 8027195C 0026E8BC 41 82 00 18 */ beq lbl_80271974 +/* 80271960 0026E8C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80271964 0026E8C4 38 80 00 01 */ li r4, 1 +/* 80271968 0026E8C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027196C 0026E8CC 7D 89 03 A6 */ mtctr r12 +/* 80271970 0026E8D0 4E 80 04 21 */ bctrl +lbl_80271974: +/* 80271974 0026E8D4 34 1E 0C 48 */ addic. r0, r30, 0xc48 +/* 80271978 0026E8D8 41 82 00 10 */ beq lbl_80271988 +/* 8027197C 0026E8DC 38 7E 0C 48 */ addi r3, r30, 0xc48 +/* 80271980 0026E8E0 38 80 00 00 */ li r4, 0 +/* 80271984 0026E8E4 48 0C F4 BD */ bl __dt__6CTokenFv +lbl_80271988: +/* 80271988 0026E8E8 34 1E 0B C4 */ addic. r0, r30, 0xbc4 +/* 8027198C 0026E8EC 41 82 00 58 */ beq lbl_802719E4 +/* 80271990 0026E8F0 80 BE 0B C4 */ lwz r5, 0xbc4(r30) +/* 80271994 0026E8F4 38 60 00 00 */ li r3, 0 +/* 80271998 0026E8F8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027199C 0026E8FC 40 81 00 40 */ ble lbl_802719DC +/* 802719A0 0026E900 2C 05 00 08 */ cmpwi r5, 8 +/* 802719A4 0026E904 38 85 FF F8 */ addi r4, r5, -8 +/* 802719A8 0026E908 40 81 00 20 */ ble lbl_802719C8 +/* 802719AC 0026E90C 38 04 00 07 */ addi r0, r4, 7 +/* 802719B0 0026E910 54 00 E8 FE */ srwi r0, r0, 3 +/* 802719B4 0026E914 7C 09 03 A6 */ mtctr r0 +/* 802719B8 0026E918 2C 04 00 00 */ cmpwi r4, 0 +/* 802719BC 0026E91C 40 81 00 0C */ ble lbl_802719C8 +lbl_802719C0: +/* 802719C0 0026E920 38 63 00 08 */ addi r3, r3, 8 +/* 802719C4 0026E924 42 00 FF FC */ bdnz lbl_802719C0 +lbl_802719C8: +/* 802719C8 0026E928 7C 03 28 50 */ subf r0, r3, r5 +/* 802719CC 0026E92C 7C 09 03 A6 */ mtctr r0 +/* 802719D0 0026E930 7C 03 28 00 */ cmpw r3, r5 +/* 802719D4 0026E934 40 80 00 08 */ bge lbl_802719DC +lbl_802719D8: +/* 802719D8 0026E938 42 00 00 00 */ bdnz lbl_802719D8 +lbl_802719DC: +/* 802719DC 0026E93C 38 00 00 00 */ li r0, 0 +/* 802719E0 0026E940 90 1E 0B C4 */ stw r0, 0xbc4(r30) +lbl_802719E4: +/* 802719E4 0026E944 34 1E 0B 30 */ addic. r0, r30, 0xb30 +/* 802719E8 0026E948 41 82 00 58 */ beq lbl_80271A40 +/* 802719EC 0026E94C 80 BE 0B 30 */ lwz r5, 0xb30(r30) +/* 802719F0 0026E950 38 60 00 00 */ li r3, 0 +/* 802719F4 0026E954 2C 05 00 00 */ cmpwi r5, 0 +/* 802719F8 0026E958 40 81 00 40 */ ble lbl_80271A38 +/* 802719FC 0026E95C 2C 05 00 08 */ cmpwi r5, 8 +/* 80271A00 0026E960 38 85 FF F8 */ addi r4, r5, -8 +/* 80271A04 0026E964 40 81 00 20 */ ble lbl_80271A24 +/* 80271A08 0026E968 38 04 00 07 */ addi r0, r4, 7 +/* 80271A0C 0026E96C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271A10 0026E970 7C 09 03 A6 */ mtctr r0 +/* 80271A14 0026E974 2C 04 00 00 */ cmpwi r4, 0 +/* 80271A18 0026E978 40 81 00 0C */ ble lbl_80271A24 +lbl_80271A1C: +/* 80271A1C 0026E97C 38 63 00 08 */ addi r3, r3, 8 +/* 80271A20 0026E980 42 00 FF FC */ bdnz lbl_80271A1C +lbl_80271A24: +/* 80271A24 0026E984 7C 03 28 50 */ subf r0, r3, r5 +/* 80271A28 0026E988 7C 09 03 A6 */ mtctr r0 +/* 80271A2C 0026E98C 7C 03 28 00 */ cmpw r3, r5 +/* 80271A30 0026E990 40 80 00 08 */ bge lbl_80271A38 +lbl_80271A34: +/* 80271A34 0026E994 42 00 00 00 */ bdnz lbl_80271A34 +lbl_80271A38: +/* 80271A38 0026E998 38 00 00 00 */ li r0, 0 +/* 80271A3C 0026E99C 90 1E 0B 30 */ stw r0, 0xb30(r30) +lbl_80271A40: +/* 80271A40 0026E9A0 34 1E 0B 24 */ addic. r0, r30, 0xb24 +/* 80271A44 0026E9A4 41 82 00 58 */ beq lbl_80271A9C +/* 80271A48 0026E9A8 80 BE 0B 24 */ lwz r5, 0xb24(r30) +/* 80271A4C 0026E9AC 38 60 00 00 */ li r3, 0 +/* 80271A50 0026E9B0 2C 05 00 00 */ cmpwi r5, 0 +/* 80271A54 0026E9B4 40 81 00 40 */ ble lbl_80271A94 +/* 80271A58 0026E9B8 2C 05 00 08 */ cmpwi r5, 8 +/* 80271A5C 0026E9BC 38 85 FF F8 */ addi r4, r5, -8 +/* 80271A60 0026E9C0 40 81 00 20 */ ble lbl_80271A80 +/* 80271A64 0026E9C4 38 04 00 07 */ addi r0, r4, 7 +/* 80271A68 0026E9C8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271A6C 0026E9CC 7C 09 03 A6 */ mtctr r0 +/* 80271A70 0026E9D0 2C 04 00 00 */ cmpwi r4, 0 +/* 80271A74 0026E9D4 40 81 00 0C */ ble lbl_80271A80 +lbl_80271A78: +/* 80271A78 0026E9D8 38 63 00 08 */ addi r3, r3, 8 +/* 80271A7C 0026E9DC 42 00 FF FC */ bdnz lbl_80271A78 +lbl_80271A80: +/* 80271A80 0026E9E0 7C 03 28 50 */ subf r0, r3, r5 +/* 80271A84 0026E9E4 7C 09 03 A6 */ mtctr r0 +/* 80271A88 0026E9E8 7C 03 28 00 */ cmpw r3, r5 +/* 80271A8C 0026E9EC 40 80 00 08 */ bge lbl_80271A94 +lbl_80271A90: +/* 80271A90 0026E9F0 42 00 00 00 */ bdnz lbl_80271A90 +lbl_80271A94: +/* 80271A94 0026E9F4 38 00 00 00 */ li r0, 0 +/* 80271A98 0026E9F8 90 1E 0B 24 */ stw r0, 0xb24(r30) +lbl_80271A9C: +/* 80271A9C 0026E9FC 34 1E 0A 80 */ addic. r0, r30, 0xa80 +/* 80271AA0 0026EA00 41 82 00 48 */ beq lbl_80271AE8 +/* 80271AA4 0026EA04 3B 9E 0A 84 */ addi r28, r30, 0xa84 +/* 80271AA8 0026EA08 3B A0 00 00 */ li r29, 0 +/* 80271AAC 0026EA0C 48 00 00 28 */ b lbl_80271AD4 +lbl_80271AB0: +/* 80271AB0 0026EA10 28 1C 00 00 */ cmplwi r28, 0 +/* 80271AB4 0026EA14 41 82 00 18 */ beq lbl_80271ACC +/* 80271AB8 0026EA18 41 82 00 14 */ beq lbl_80271ACC +/* 80271ABC 0026EA1C 41 82 00 10 */ beq lbl_80271ACC +/* 80271AC0 0026EA20 7F 83 E3 78 */ mr r3, r28 +/* 80271AC4 0026EA24 38 80 00 00 */ li r4, 0 +/* 80271AC8 0026EA28 48 0C F3 79 */ bl __dt__6CTokenFv +lbl_80271ACC: +/* 80271ACC 0026EA2C 3B 9C 00 28 */ addi r28, r28, 0x28 +/* 80271AD0 0026EA30 3B BD 00 01 */ addi r29, r29, 1 +lbl_80271AD4: +/* 80271AD4 0026EA34 80 1E 0A 80 */ lwz r0, 0xa80(r30) +/* 80271AD8 0026EA38 7C 1D 00 00 */ cmpw r29, r0 +/* 80271ADC 0026EA3C 41 80 FF D4 */ blt lbl_80271AB0 +/* 80271AE0 0026EA40 38 00 00 00 */ li r0, 0 +/* 80271AE4 0026EA44 90 1E 0A 80 */ stw r0, 0xa80(r30) +lbl_80271AE8: +/* 80271AE8 0026EA48 34 1E 09 6C */ addic. r0, r30, 0x96c +/* 80271AEC 0026EA4C 41 82 00 58 */ beq lbl_80271B44 +/* 80271AF0 0026EA50 80 BE 09 6C */ lwz r5, 0x96c(r30) +/* 80271AF4 0026EA54 38 60 00 00 */ li r3, 0 +/* 80271AF8 0026EA58 2C 05 00 00 */ cmpwi r5, 0 +/* 80271AFC 0026EA5C 40 81 00 40 */ ble lbl_80271B3C +/* 80271B00 0026EA60 2C 05 00 08 */ cmpwi r5, 8 +/* 80271B04 0026EA64 38 85 FF F8 */ addi r4, r5, -8 +/* 80271B08 0026EA68 40 81 00 20 */ ble lbl_80271B28 +/* 80271B0C 0026EA6C 38 04 00 07 */ addi r0, r4, 7 +/* 80271B10 0026EA70 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271B14 0026EA74 7C 09 03 A6 */ mtctr r0 +/* 80271B18 0026EA78 2C 04 00 00 */ cmpwi r4, 0 +/* 80271B1C 0026EA7C 40 81 00 0C */ ble lbl_80271B28 +lbl_80271B20: +/* 80271B20 0026EA80 38 63 00 08 */ addi r3, r3, 8 +/* 80271B24 0026EA84 42 00 FF FC */ bdnz lbl_80271B20 +lbl_80271B28: +/* 80271B28 0026EA88 7C 03 28 50 */ subf r0, r3, r5 +/* 80271B2C 0026EA8C 7C 09 03 A6 */ mtctr r0 +/* 80271B30 0026EA90 7C 03 28 00 */ cmpw r3, r5 +/* 80271B34 0026EA94 40 80 00 08 */ bge lbl_80271B3C +lbl_80271B38: +/* 80271B38 0026EA98 42 00 00 00 */ bdnz lbl_80271B38 +lbl_80271B3C: +/* 80271B3C 0026EA9C 38 00 00 00 */ li r0, 0 +/* 80271B40 0026EAA0 90 1E 09 6C */ stw r0, 0x96c(r30) +lbl_80271B44: +/* 80271B44 0026EAA4 34 1E 07 6C */ addic. r0, r30, 0x76c +/* 80271B48 0026EAA8 41 82 00 44 */ beq lbl_80271B8C +/* 80271B4C 0026EAAC 38 80 00 00 */ li r4, 0 +/* 80271B50 0026EAB0 38 BE 07 70 */ addi r5, r30, 0x770 +/* 80271B54 0026EAB4 7C 83 23 78 */ mr r3, r4 +/* 80271B58 0026EAB8 48 00 00 20 */ b lbl_80271B78 +lbl_80271B5C: +/* 80271B5C 0026EABC 28 05 00 00 */ cmplwi r5, 0 +/* 80271B60 0026EAC0 41 82 00 10 */ beq lbl_80271B70 +/* 80271B64 0026EAC4 34 05 00 24 */ addic. r0, r5, 0x24 +/* 80271B68 0026EAC8 41 82 00 08 */ beq lbl_80271B70 +/* 80271B6C 0026EACC 98 65 00 30 */ stb r3, 0x30(r5) +lbl_80271B70: +/* 80271B70 0026EAD0 38 A5 00 38 */ addi r5, r5, 0x38 +/* 80271B74 0026EAD4 38 84 00 01 */ addi r4, r4, 1 +lbl_80271B78: +/* 80271B78 0026EAD8 80 1E 07 6C */ lwz r0, 0x76c(r30) +/* 80271B7C 0026EADC 7C 04 00 00 */ cmpw r4, r0 +/* 80271B80 0026EAE0 41 80 FF DC */ blt lbl_80271B5C +/* 80271B84 0026EAE4 38 00 00 00 */ li r0, 0 +/* 80271B88 0026EAE8 90 1E 07 6C */ stw r0, 0x76c(r30) +lbl_80271B8C: +/* 80271B8C 0026EAEC 34 1E 05 88 */ addic. r0, r30, 0x588 +/* 80271B90 0026EAF0 41 82 00 58 */ beq lbl_80271BE8 +/* 80271B94 0026EAF4 80 BE 05 88 */ lwz r5, 0x588(r30) +/* 80271B98 0026EAF8 38 60 00 00 */ li r3, 0 +/* 80271B9C 0026EAFC 2C 05 00 00 */ cmpwi r5, 0 +/* 80271BA0 0026EB00 40 81 00 40 */ ble lbl_80271BE0 +/* 80271BA4 0026EB04 2C 05 00 08 */ cmpwi r5, 8 +/* 80271BA8 0026EB08 38 85 FF F8 */ addi r4, r5, -8 +/* 80271BAC 0026EB0C 40 81 00 20 */ ble lbl_80271BCC +/* 80271BB0 0026EB10 38 04 00 07 */ addi r0, r4, 7 +/* 80271BB4 0026EB14 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271BB8 0026EB18 7C 09 03 A6 */ mtctr r0 +/* 80271BBC 0026EB1C 2C 04 00 00 */ cmpwi r4, 0 +/* 80271BC0 0026EB20 40 81 00 0C */ ble lbl_80271BCC +lbl_80271BC4: +/* 80271BC4 0026EB24 38 63 00 08 */ addi r3, r3, 8 +/* 80271BC8 0026EB28 42 00 FF FC */ bdnz lbl_80271BC4 +lbl_80271BCC: +/* 80271BCC 0026EB2C 7C 03 28 50 */ subf r0, r3, r5 +/* 80271BD0 0026EB30 7C 09 03 A6 */ mtctr r0 +/* 80271BD4 0026EB34 7C 03 28 00 */ cmpw r3, r5 +/* 80271BD8 0026EB38 40 80 00 08 */ bge lbl_80271BE0 +lbl_80271BDC: +/* 80271BDC 0026EB3C 42 00 00 00 */ bdnz lbl_80271BDC +lbl_80271BE0: +/* 80271BE0 0026EB40 38 00 00 00 */ li r0, 0 +/* 80271BE4 0026EB44 90 1E 05 88 */ stw r0, 0x588(r30) +lbl_80271BE8: +/* 80271BE8 0026EB48 34 1E 05 6C */ addic. r0, r30, 0x56c +/* 80271BEC 0026EB4C 41 82 00 10 */ beq lbl_80271BFC +/* 80271BF0 0026EB50 80 7E 05 6C */ lwz r3, 0x56c(r30) +/* 80271BF4 0026EB54 38 80 00 01 */ li r4, 1 +/* 80271BF8 0026EB58 4B F3 5C E5 */ bl sub_801a78dc +lbl_80271BFC: +/* 80271BFC 0026EB5C 7F C3 F3 78 */ mr r3, r30 +/* 80271C00 0026EB60 38 80 00 00 */ li r4, 0 +/* 80271C04 0026EB64 4B E0 59 6D */ bl __dt__10CPatternedFv +/* 80271C08 0026EB68 7F E0 07 35 */ extsh. r0, r31 +/* 80271C0C 0026EB6C 40 81 00 0C */ ble lbl_80271C18 +/* 80271C10 0026EB70 7F C3 F3 78 */ mr r3, r30 +/* 80271C14 0026EB74 48 0A 3D 1D */ bl Free__7CMemoryFPCv +lbl_80271C18: +/* 80271C18 0026EB78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271C1C 0026EB7C 7F C3 F3 78 */ mr r3, r30 +/* 80271C20 0026EB80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80271C24 0026EB84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80271C28 0026EB88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80271C2C 0026EB8C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80271C30 0026EB90 7C 08 03 A6 */ mtlr r0 +/* 80271C34 0026EB94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271C38 0026EB98 4E 80 00 20 */ blr + +.global Approach__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Approach__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271C3C 0026EB9C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80271C40 0026EBA0 7C 08 02 A6 */ mflr r0 +/* 80271C44 0026EBA4 2C 05 00 01 */ cmpwi r5, 1 +/* 80271C48 0026EBA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80271C4C 0026EBAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80271C50 0026EBB0 7C 9F 23 78 */ mr r31, r4 +/* 80271C54 0026EBB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80271C58 0026EBB8 7C 7E 1B 78 */ mr r30, r3 +/* 80271C5C 0026EBBC 41 82 00 34 */ beq lbl_80271C90 +/* 80271C60 0026EBC0 40 80 00 10 */ bge lbl_80271C70 +/* 80271C64 0026EBC4 2C 05 00 00 */ cmpwi r5, 0 +/* 80271C68 0026EBC8 40 80 00 14 */ bge lbl_80271C7C +/* 80271C6C 0026EBCC 48 00 00 A4 */ b lbl_80271D10 +lbl_80271C70: +/* 80271C70 0026EBD0 2C 05 00 03 */ cmpwi r5, 3 +/* 80271C74 0026EBD4 40 80 00 9C */ bge lbl_80271D10 +/* 80271C78 0026EBD8 48 00 00 7C */ b lbl_80271CF4 +lbl_80271C7C: +/* 80271C7C 0026EBDC 38 00 00 01 */ li r0, 1 +/* 80271C80 0026EBE0 38 A0 00 00 */ li r5, 0 +/* 80271C84 0026EBE4 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80271C88 0026EBE8 48 00 6B 79 */ bl sub_80278800 +/* 80271C8C 0026EBEC 48 00 00 84 */ b lbl_80271D10 +lbl_80271C90: +/* 80271C90 0026EBF0 3C A0 80 3F */ lis r5, lbl_803EAD48@ha +/* 80271C94 0026EBF4 38 C1 00 08 */ addi r6, r1, 8 +/* 80271C98 0026EBF8 39 45 AD 48 */ addi r10, r5, lbl_803EAD48@l +/* 80271C9C 0026EBFC 38 A0 00 07 */ li r5, 7 +/* 80271CA0 0026EC00 81 2A 00 00 */ lwz r9, 0(r10) +/* 80271CA4 0026EC04 38 E0 00 02 */ li r7, 2 +/* 80271CA8 0026EC08 81 0A 00 04 */ lwz r8, 4(r10) +/* 80271CAC 0026EC0C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80271CB0 0026EC10 91 21 00 08 */ stw r9, 8(r1) +/* 80271CB4 0026EC14 91 01 00 0C */ stw r8, 0xc(r1) +/* 80271CB8 0026EC18 90 01 00 10 */ stw r0, 0x10(r1) +/* 80271CBC 0026EC1C 4B E0 AA F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271CC0 0026EC20 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80271CC4 0026EC24 2C 00 00 02 */ cmpwi r0, 2 +/* 80271CC8 0026EC28 40 82 00 48 */ bne lbl_80271D10 +/* 80271CCC 0026EC2C 38 00 00 01 */ li r0, 1 +/* 80271CD0 0026EC30 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80271CD4 0026EC34 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80271CD8 0026EC38 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80271CDC 0026EC3C 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80271CE0 0026EC40 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80271CE4 0026EC44 54 00 10 3A */ slwi r0, r0, 2 +/* 80271CE8 0026EC48 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80271CEC 0026EC4C 4B EC 8C ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80271CF0 0026EC50 48 00 00 20 */ b lbl_80271D10 +lbl_80271CF4: +/* 80271CF4 0026EC54 38 00 00 00 */ li r0, 0 +/* 80271CF8 0026EC58 38 A0 00 01 */ li r5, 1 +/* 80271CFC 0026EC5C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80271D00 0026EC60 48 00 6B 01 */ bl sub_80278800 +/* 80271D04 0026EC64 7F C3 F3 78 */ mr r3, r30 +/* 80271D08 0026EC68 7F E4 FB 78 */ mr r4, r31 +/* 80271D0C 0026EC6C 48 00 1B C9 */ bl sub_802738d4 +lbl_80271D10: +/* 80271D10 0026EC70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271D14 0026EC74 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80271D18 0026EC78 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80271D1C 0026EC7C 7C 08 03 A6 */ mtlr r0 +/* 80271D20 0026EC80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271D24 0026EC84 4E 80 00 20 */ blr + +.global Growth__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Growth__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D28 0026EC88 2C 05 00 00 */ cmpwi r5, 0 +/* 80271D2C 0026EC8C 4C 82 00 20 */ bnelr +/* 80271D30 0026EC90 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) +/* 80271D34 0026EC94 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 80271D38 0026EC98 4E 80 00 20 */ blr + +.global Land__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Land__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D3C 0026EC9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80271D40 0026ECA0 7C 08 02 A6 */ mflr r0 +/* 80271D44 0026ECA4 2C 05 00 00 */ cmpwi r5, 0 +/* 80271D48 0026ECA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80271D4C 0026ECAC 40 82 00 08 */ bne lbl_80271D54 +/* 80271D50 0026ECB0 48 00 69 AD */ bl sub_802786fc +lbl_80271D54: +/* 80271D54 0026ECB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80271D58 0026ECB8 7C 08 03 A6 */ mtlr r0 +/* 80271D5C 0026ECBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80271D60 0026ECC0 4E 80 00 20 */ blr + +.global Enraged__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Enraged__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D64 0026ECC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80271D68 0026ECC8 7C 08 02 A6 */ mflr r0 +/* 80271D6C 0026ECCC 2C 05 00 00 */ cmpwi r5, 0 +/* 80271D70 0026ECD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80271D74 0026ECD4 41 82 00 08 */ beq lbl_80271D7C +/* 80271D78 0026ECD8 48 00 00 08 */ b lbl_80271D80 +lbl_80271D7C: +/* 80271D7C 0026ECDC 48 00 69 81 */ bl sub_802786fc +lbl_80271D80: +/* 80271D80 0026ECE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80271D84 0026ECE4 7C 08 03 A6 */ mtlr r0 +/* 80271D88 0026ECE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80271D8C 0026ECEC 4E 80 00 20 */ blr + +.global Dodge__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Dodge__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D90 0026ECF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80271D94 0026ECF4 7C 08 02 A6 */ mflr r0 +/* 80271D98 0026ECF8 2C 05 00 01 */ cmpwi r5, 1 +/* 80271D9C 0026ECFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80271DA0 0026ED00 41 82 00 4C */ beq lbl_80271DEC +/* 80271DA4 0026ED04 40 80 00 10 */ bge lbl_80271DB4 +/* 80271DA8 0026ED08 2C 05 00 00 */ cmpwi r5, 0 +/* 80271DAC 0026ED0C 40 80 00 14 */ bge lbl_80271DC0 +/* 80271DB0 0026ED10 48 00 00 78 */ b lbl_80271E28 +lbl_80271DB4: +/* 80271DB4 0026ED14 2C 05 00 03 */ cmpwi r5, 3 +/* 80271DB8 0026ED18 40 80 00 70 */ bge lbl_80271E28 +/* 80271DBC 0026ED1C 48 00 00 64 */ b lbl_80271E20 +lbl_80271DC0: +/* 80271DC0 0026ED20 38 00 00 01 */ li r0, 1 +/* 80271DC4 0026ED24 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 80271DC8 0026ED28 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80271DCC 0026ED2C 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 80271DD0 0026ED30 90 03 10 78 */ stw r0, 0x1078(r3) +/* 80271DD4 0026ED34 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80271DD8 0026ED38 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80271DDC 0026ED3C 54 00 10 3A */ slwi r0, r0, 2 +/* 80271DE0 0026ED40 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80271DE4 0026ED44 4B EC 8B F5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80271DE8 0026ED48 48 00 00 40 */ b lbl_80271E28 +lbl_80271DEC: +/* 80271DEC 0026ED4C 3C A0 80 3F */ lis r5, lbl_803EAD3C@ha +/* 80271DF0 0026ED50 38 C1 00 08 */ addi r6, r1, 8 +/* 80271DF4 0026ED54 39 45 AD 3C */ addi r10, r5, lbl_803EAD3C@l +/* 80271DF8 0026ED58 38 A0 00 03 */ li r5, 3 +/* 80271DFC 0026ED5C 81 2A 00 00 */ lwz r9, 0(r10) +/* 80271E00 0026ED60 38 E0 00 00 */ li r7, 0 +/* 80271E04 0026ED64 81 0A 00 04 */ lwz r8, 4(r10) +/* 80271E08 0026ED68 80 0A 00 08 */ lwz r0, 8(r10) +/* 80271E0C 0026ED6C 91 21 00 08 */ stw r9, 8(r1) +/* 80271E10 0026ED70 91 01 00 0C */ stw r8, 0xc(r1) +/* 80271E14 0026ED74 90 01 00 10 */ stw r0, 0x10(r1) +/* 80271E18 0026ED78 4B E0 A9 9D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271E1C 0026ED7C 48 00 00 0C */ b lbl_80271E28 +lbl_80271E20: +/* 80271E20 0026ED80 38 00 00 00 */ li r0, 0 +/* 80271E24 0026ED84 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80271E28: +/* 80271E28 0026ED88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271E2C 0026ED8C 7C 08 03 A6 */ mtlr r0 +/* 80271E30 0026ED90 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271E34 0026ED94 4E 80 00 20 */ blr + +.global Crouch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Crouch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271E38 0026ED98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80271E3C 0026ED9C 7C 08 02 A6 */ mflr r0 +/* 80271E40 0026EDA0 2C 05 00 01 */ cmpwi r5, 1 +/* 80271E44 0026EDA4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80271E48 0026EDA8 41 82 00 2C */ beq lbl_80271E74 +/* 80271E4C 0026EDAC 40 80 00 10 */ bge lbl_80271E5C +/* 80271E50 0026EDB0 2C 05 00 00 */ cmpwi r5, 0 +/* 80271E54 0026EDB4 40 80 00 14 */ bge lbl_80271E68 +/* 80271E58 0026EDB8 48 00 00 5C */ b lbl_80271EB4 +lbl_80271E5C: +/* 80271E5C 0026EDBC 2C 05 00 03 */ cmpwi r5, 3 +/* 80271E60 0026EDC0 40 80 00 54 */ bge lbl_80271EB4 +/* 80271E64 0026EDC4 48 00 00 44 */ b lbl_80271EA8 +lbl_80271E68: +/* 80271E68 0026EDC8 38 00 00 01 */ li r0, 1 +/* 80271E6C 0026EDCC 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80271E70 0026EDD0 48 00 00 44 */ b lbl_80271EB4 +lbl_80271E74: +/* 80271E74 0026EDD4 3C A0 80 3F */ lis r5, lbl_803EAD30@ha +/* 80271E78 0026EDD8 38 C1 00 08 */ addi r6, r1, 8 +/* 80271E7C 0026EDDC 39 45 AD 30 */ addi r10, r5, lbl_803EAD30@l +/* 80271E80 0026EDE0 38 A0 00 07 */ li r5, 7 +/* 80271E84 0026EDE4 81 2A 00 00 */ lwz r9, 0(r10) +/* 80271E88 0026EDE8 38 E0 00 05 */ li r7, 5 +/* 80271E8C 0026EDEC 81 0A 00 04 */ lwz r8, 4(r10) +/* 80271E90 0026EDF0 80 0A 00 08 */ lwz r0, 8(r10) +/* 80271E94 0026EDF4 91 21 00 08 */ stw r9, 8(r1) +/* 80271E98 0026EDF8 91 01 00 0C */ stw r8, 0xc(r1) +/* 80271E9C 0026EDFC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80271EA0 0026EE00 4B E0 A9 15 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271EA4 0026EE04 48 00 00 10 */ b lbl_80271EB4 +lbl_80271EA8: +/* 80271EA8 0026EE08 38 00 00 00 */ li r0, 0 +/* 80271EAC 0026EE0C 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80271EB0 0026EE10 48 00 1A 25 */ bl sub_802738d4 +lbl_80271EB4: +/* 80271EB4 0026EE14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271EB8 0026EE18 7C 08 03 A6 */ mtlr r0 +/* 80271EBC 0026EE1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271EC0 0026EE20 4E 80 00 20 */ blr + +.global Retreat__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Retreat__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271EC4 0026EE24 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80271EC8 0026EE28 7C 08 02 A6 */ mflr r0 +/* 80271ECC 0026EE2C 2C 05 00 01 */ cmpwi r5, 1 +/* 80271ED0 0026EE30 90 01 00 54 */ stw r0, 0x54(r1) +/* 80271ED4 0026EE34 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80271ED8 0026EE38 7C 7F 1B 78 */ mr r31, r3 +/* 80271EDC 0026EE3C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80271EE0 0026EE40 7C 9E 23 78 */ mr r30, r4 +/* 80271EE4 0026EE44 41 82 00 D8 */ beq lbl_80271FBC +/* 80271EE8 0026EE48 40 80 00 10 */ bge lbl_80271EF8 +/* 80271EEC 0026EE4C 2C 05 00 00 */ cmpwi r5, 0 +/* 80271EF0 0026EE50 40 80 00 14 */ bge lbl_80271F04 +/* 80271EF4 0026EE54 48 00 01 8C */ b lbl_80272080 +lbl_80271EF8: +/* 80271EF8 0026EE58 2C 05 00 03 */ cmpwi r5, 3 +/* 80271EFC 0026EE5C 40 80 01 84 */ bge lbl_80272080 +/* 80271F00 0026EE60 48 00 00 F0 */ b lbl_80271FF0 +lbl_80271F04: +/* 80271F04 0026EE64 38 00 00 01 */ li r0, 1 +/* 80271F08 0026EE68 7F C5 F3 78 */ mr r5, r30 +/* 80271F0C 0026EE6C 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80271F10 0026EE70 38 80 00 09 */ li r4, 9 +/* 80271F14 0026EE74 48 00 47 D1 */ bl sub_802766e4 +/* 80271F18 0026EE78 7F E4 FB 78 */ mr r4, r31 +/* 80271F1C 0026EE7C 7F C5 F3 78 */ mr r5, r30 +/* 80271F20 0026EE80 38 61 00 14 */ addi r3, r1, 0x14 +/* 80271F24 0026EE84 38 C0 00 0B */ li r6, 0xb +/* 80271F28 0026EE88 38 E0 00 06 */ li r7, 6 +/* 80271F2C 0026EE8C 48 00 4C 11 */ bl sub_80276b3c +/* 80271F30 0026EE90 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80271F34 0026EE94 7F C3 F3 78 */ mr r3, r30 +/* 80271F38 0026EE98 38 81 00 10 */ addi r4, r1, 0x10 +/* 80271F3C 0026EE9C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80271F40 0026EEA0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80271F44 0026EEA4 4B DD A6 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80271F48 0026EEA8 7C 64 1B 78 */ mr r4, r3 +/* 80271F4C 0026EEAC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80271F50 0026EEB0 4B E3 45 FD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80271F54 0026EEB4 80 83 00 04 */ lwz r4, 4(r3) +/* 80271F58 0026EEB8 28 04 00 00 */ cmplwi r4, 0 +/* 80271F5C 0026EEBC 41 82 00 38 */ beq lbl_80271F94 +/* 80271F60 0026EEC0 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80271F64 0026EEC4 38 84 00 34 */ addi r4, r4, 0x34 +/* 80271F68 0026EEC8 48 0A 0B D9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80271F6C 0026EECC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80271F70 0026EED0 38 60 00 01 */ li r3, 1 +/* 80271F74 0026EED4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80271F78 0026EED8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80271F7C 0026EEDC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80271F80 0026EEE0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80271F84 0026EEE4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80271F88 0026EEE8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80271F8C 0026EEEC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80271F90 0026EEF0 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_80271F94: +/* 80271F94 0026EEF4 38 00 00 01 */ li r0, 1 +/* 80271F98 0026EEF8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80271F9C 0026EEFC 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80271FA0 0026EF00 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80271FA4 0026EF04 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80271FA8 0026EF08 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80271FAC 0026EF0C 54 00 10 3A */ slwi r0, r0, 2 +/* 80271FB0 0026EF10 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80271FB4 0026EF14 4B EC 8A 25 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80271FB8 0026EF18 48 00 00 C8 */ b lbl_80272080 +lbl_80271FBC: +/* 80271FBC 0026EF1C 3C A0 80 3F */ lis r5, lbl_803EAD24@ha +/* 80271FC0 0026EF20 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80271FC4 0026EF24 39 25 AD 24 */ addi r9, r5, lbl_803EAD24@l +/* 80271FC8 0026EF28 38 A0 00 11 */ li r5, 0x11 +/* 80271FCC 0026EF2C 81 09 00 00 */ lwz r8, 0(r9) +/* 80271FD0 0026EF30 80 E9 00 04 */ lwz r7, 4(r9) +/* 80271FD4 0026EF34 80 09 00 08 */ lwz r0, 8(r9) +/* 80271FD8 0026EF38 91 01 00 30 */ stw r8, 0x30(r1) +/* 80271FDC 0026EF3C 90 E1 00 34 */ stw r7, 0x34(r1) +/* 80271FE0 0026EF40 90 01 00 38 */ stw r0, 0x38(r1) +/* 80271FE4 0026EF44 80 FF 09 18 */ lwz r7, 0x918(r31) +/* 80271FE8 0026EF48 4B E0 A7 CD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271FEC 0026EF4C 48 00 00 94 */ b lbl_80272080 +lbl_80271FF0: +/* 80271FF0 0026EF50 38 00 00 00 */ li r0, 0 +/* 80271FF4 0026EF54 7F E4 FB 78 */ mr r4, r31 +/* 80271FF8 0026EF58 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80271FFC 0026EF5C 7F C5 F3 78 */ mr r5, r30 +/* 80272000 0026EF60 38 61 00 0C */ addi r3, r1, 0xc +/* 80272004 0026EF64 38 C0 00 0C */ li r6, 0xc +/* 80272008 0026EF68 38 E0 00 06 */ li r7, 6 +/* 8027200C 0026EF6C 48 00 4B 31 */ bl sub_80276b3c +/* 80272010 0026EF70 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80272014 0026EF74 7F C3 F3 78 */ mr r3, r30 +/* 80272018 0026EF78 38 81 00 08 */ addi r4, r1, 8 +/* 8027201C 0026EF7C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80272020 0026EF80 B0 01 00 08 */ sth r0, 8(r1) +/* 80272024 0026EF84 4B DD A5 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80272028 0026EF88 7C 64 1B 78 */ mr r4, r3 +/* 8027202C 0026EF8C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80272030 0026EF90 4B E3 45 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80272034 0026EF94 80 83 00 04 */ lwz r4, 4(r3) +/* 80272038 0026EF98 28 04 00 00 */ cmplwi r4, 0 +/* 8027203C 0026EF9C 41 82 00 38 */ beq lbl_80272074 +/* 80272040 0026EFA0 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80272044 0026EFA4 38 84 00 34 */ addi r4, r4, 0x34 +/* 80272048 0026EFA8 48 0A 0A F9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027204C 0026EFAC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80272050 0026EFB0 38 60 00 01 */ li r3, 1 +/* 80272054 0026EFB4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80272058 0026EFB8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027205C 0026EFBC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80272060 0026EFC0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80272064 0026EFC4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80272068 0026EFC8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027206C 0026EFCC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80272070 0026EFD0 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_80272074: +/* 80272074 0026EFD4 80 7F 09 1C */ lwz r3, 0x91c(r31) +/* 80272078 0026EFD8 38 03 00 01 */ addi r0, r3, 1 +/* 8027207C 0026EFDC 90 1F 09 1C */ stw r0, 0x91c(r31) +lbl_80272080: +/* 80272080 0026EFE0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80272084 0026EFE4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80272088 0026EFE8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8027208C 0026EFEC 7C 08 03 A6 */ mtlr r0 +/* 80272090 0026EFF0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80272094 0026EFF4 4E 80 00 20 */ blr + +.global Flinch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Flinch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272098 0026EFF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027209C 0026EFFC 7C 08 02 A6 */ mflr r0 +/* 802720A0 0026F000 2C 05 00 01 */ cmpwi r5, 1 +/* 802720A4 0026F004 90 01 00 24 */ stw r0, 0x24(r1) +/* 802720A8 0026F008 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802720AC 0026F00C 7C 9F 23 78 */ mr r31, r4 +/* 802720B0 0026F010 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802720B4 0026F014 7C 7E 1B 78 */ mr r30, r3 +/* 802720B8 0026F018 41 82 00 5C */ beq lbl_80272114 +/* 802720BC 0026F01C 40 80 00 10 */ bge lbl_802720CC +/* 802720C0 0026F020 2C 05 00 00 */ cmpwi r5, 0 +/* 802720C4 0026F024 40 80 00 14 */ bge lbl_802720D8 +/* 802720C8 0026F028 48 00 00 DC */ b lbl_802721A4 +lbl_802720CC: +/* 802720CC 0026F02C 2C 05 00 03 */ cmpwi r5, 3 +/* 802720D0 0026F030 40 80 00 D4 */ bge lbl_802721A4 +/* 802720D4 0026F034 48 00 00 90 */ b lbl_80272164 +lbl_802720D8: +/* 802720D8 0026F038 38 00 00 01 */ li r0, 1 +/* 802720DC 0026F03C 38 A0 00 00 */ li r5, 0 +/* 802720E0 0026F040 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802720E4 0026F044 48 00 67 1D */ bl sub_80278800 +/* 802720E8 0026F048 7F C3 F3 78 */ mr r3, r30 +/* 802720EC 0026F04C 7F E4 FB 78 */ mr r4, r31 +/* 802720F0 0026F050 48 00 36 2D */ bl sub_8027571c +/* 802720F4 0026F054 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 802720F8 0026F058 38 60 00 00 */ li r3, 0 +/* 802720FC 0026F05C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80272100 0026F060 98 1E 08 F4 */ stb r0, 0x8f4(r30) +/* 80272104 0026F064 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 80272108 0026F068 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027210C 0026F06C 98 1E 08 F4 */ stb r0, 0x8f4(r30) +/* 80272110 0026F070 48 00 00 94 */ b lbl_802721A4 +lbl_80272114: +/* 80272114 0026F074 3C A0 80 3F */ lis r5, lbl_803EAD18@ha +/* 80272118 0026F078 38 C1 00 08 */ addi r6, r1, 8 +/* 8027211C 0026F07C 39 45 AD 18 */ addi r10, r5, lbl_803EAD18@l +/* 80272120 0026F080 38 A0 00 06 */ li r5, 6 +/* 80272124 0026F084 81 2A 00 00 */ lwz r9, 0(r10) +/* 80272128 0026F088 38 E0 00 05 */ li r7, 5 +/* 8027212C 0026F08C 81 0A 00 04 */ lwz r8, 4(r10) +/* 80272130 0026F090 80 0A 00 08 */ lwz r0, 8(r10) +/* 80272134 0026F094 91 21 00 08 */ stw r9, 8(r1) +/* 80272138 0026F098 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027213C 0026F09C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272140 0026F0A0 4B E0 A6 75 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272144 0026F0A4 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 80272148 0026F0A8 C0 42 88 F0 */ lfs f2, lbl_805AA610@sda21(r2) +/* 8027214C 0026F0AC C0 3E 04 28 */ lfs f1, 0x428(r30) +/* 80272150 0026F0B0 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80272154 0026F0B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80272158 0026F0B8 40 80 00 4C */ bge lbl_802721A4 +/* 8027215C 0026F0BC D0 5E 04 28 */ stfs f2, 0x428(r30) +/* 80272160 0026F0C0 48 00 00 44 */ b lbl_802721A4 +lbl_80272164: +/* 80272164 0026F0C4 38 00 00 00 */ li r0, 0 +/* 80272168 0026F0C8 38 A0 00 01 */ li r5, 1 +/* 8027216C 0026F0CC 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272170 0026F0D0 48 00 66 91 */ bl sub_80278800 +/* 80272174 0026F0D4 38 00 00 01 */ li r0, 1 +/* 80272178 0026F0D8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 8027217C 0026F0DC 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272180 0026F0E0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272184 0026F0E4 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272188 0026F0E8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027218C 0026F0EC 54 00 10 3A */ slwi r0, r0, 2 +/* 80272190 0026F0F0 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272194 0026F0F4 4B EC 88 45 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272198 0026F0F8 7F C3 F3 78 */ mr r3, r30 +/* 8027219C 0026F0FC 7F E4 FB 78 */ mr r4, r31 +/* 802721A0 0026F100 48 00 35 19 */ bl sub_802756b8 +lbl_802721A4: +/* 802721A4 0026F104 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802721A8 0026F108 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802721AC 0026F10C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802721B0 0026F110 7C 08 03 A6 */ mtlr r0 +/* 802721B4 0026F114 38 21 00 20 */ addi r1, r1, 0x20 +/* 802721B8 0026F118 4E 80 00 20 */ blr + +.global Suck__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Suck__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 802721BC 0026F11C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802721C0 0026F120 7C 08 02 A6 */ mflr r0 +/* 802721C4 0026F124 2C 05 00 01 */ cmpwi r5, 1 +/* 802721C8 0026F128 90 01 00 74 */ stw r0, 0x74(r1) +/* 802721CC 0026F12C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802721D0 0026F130 7C 9F 23 78 */ mr r31, r4 +/* 802721D4 0026F134 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802721D8 0026F138 7C 7E 1B 78 */ mr r30, r3 +/* 802721DC 0026F13C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 802721E0 0026F140 41 82 01 EC */ beq lbl_802723CC +/* 802721E4 0026F144 40 80 00 10 */ bge lbl_802721F4 +/* 802721E8 0026F148 2C 05 00 00 */ cmpwi r5, 0 +/* 802721EC 0026F14C 40 80 00 14 */ bge lbl_80272200 +/* 802721F0 0026F150 48 00 01 DC */ b lbl_802723CC +lbl_802721F4: +/* 802721F4 0026F154 2C 05 00 03 */ cmpwi r5, 3 +/* 802721F8 0026F158 40 80 01 D4 */ bge lbl_802723CC +/* 802721FC 0026F15C 48 00 00 5C */ b lbl_80272258 +lbl_80272200: +/* 80272200 0026F160 83 BE 04 50 */ lwz r29, 0x450(r30) +/* 80272204 0026F164 38 80 00 0A */ li r4, 0xa +/* 80272208 0026F168 48 00 3C 0D */ bl sub_80275e14 +/* 8027220C 0026F16C 7C 64 1B 78 */ mr r4, r3 +/* 80272210 0026F170 7F A3 EB 78 */ mr r3, r29 +/* 80272214 0026F174 4B EC 87 C5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272218 0026F178 38 00 00 0B */ li r0, 0xb +/* 8027221C 0026F17C 38 60 00 00 */ li r3, 0 +/* 80272220 0026F180 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272224 0026F184 38 81 00 24 */ addi r4, r1, 0x24 +/* 80272228 0026F188 C0 02 BB FC */ lfs f0, lbl_805AD91C@sda21(r2) +/* 8027222C 0026F18C 38 A0 00 00 */ li r5, 0 +/* 80272230 0026F190 88 1E 10 54 */ lbz r0, 0x1054(r30) +/* 80272234 0026F194 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80272238 0026F198 98 1E 10 54 */ stb r0, 0x1054(r30) +/* 8027223C 0026F19C D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 80272240 0026F1A0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80272244 0026F1A4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80272248 0026F1A8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8027224C 0026F1AC 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80272250 0026F1B0 4B DA 27 81 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId +/* 80272254 0026F1B4 48 00 01 78 */ b lbl_802723CC +lbl_80272258: +/* 80272258 0026F1B8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8027225C 0026F1BC 4B DA 27 49 */ bl DetachActorFromPlayer__7CPlayerFv +/* 80272260 0026F1C0 38 00 00 01 */ li r0, 1 +/* 80272264 0026F1C4 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272268 0026F1C8 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 8027226C 0026F1CC 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272270 0026F1D0 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272274 0026F1D4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272278 0026F1D8 54 00 10 3A */ slwi r0, r0, 2 +/* 8027227C 0026F1DC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272280 0026F1E0 4B EC 87 59 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272284 0026F1E4 38 00 00 00 */ li r0, 0 +/* 80272288 0026F1E8 7F C3 F3 78 */ mr r3, r30 +/* 8027228C 0026F1EC 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272290 0026F1F0 7F E4 FB 78 */ mr r4, r31 +/* 80272294 0026F1F4 38 A0 00 00 */ li r5, 0 +/* 80272298 0026F1F8 48 00 33 15 */ bl sub_802755ac +/* 8027229C 0026F1FC 7F C3 F3 78 */ mr r3, r30 +/* 802722A0 0026F200 7F E4 FB 78 */ mr r4, r31 +/* 802722A4 0026F204 48 00 16 31 */ bl sub_802738d4 +/* 802722A8 0026F208 C0 02 BC 00 */ lfs f0, lbl_805AD920@sda21(r2) +/* 802722AC 0026F20C D0 1E 10 88 */ stfs f0, 0x1088(r30) +/* 802722B0 0026F210 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802722B4 0026F214 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 802722B8 0026F218 2C 00 00 01 */ cmpwi r0, 1 +/* 802722BC 0026F21C 41 82 01 00 */ beq lbl_802723BC +/* 802722C0 0026F220 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802722C4 0026F224 7F E6 FB 78 */ mr r6, r31 +/* 802722C8 0026F228 38 81 00 1C */ addi r4, r1, 0x1c +/* 802722CC 0026F22C 38 A0 00 08 */ li r5, 8 +/* 802722D0 0026F230 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 802722D4 0026F234 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802722D8 0026F238 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802722DC 0026F23C 4B F0 8F 79 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 802722E0 0026F240 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 802722E4 0026F244 38 60 00 01 */ li r3, 1 +/* 802722E8 0026F248 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 802722EC 0026F24C C0 02 BC 04 */ lfs f0, lbl_805AD924@sda21(r2) +/* 802722F0 0026F250 98 1E 04 02 */ stb r0, 0x402(r30) +/* 802722F4 0026F254 7F E3 FB 78 */ mr r3, r31 +/* 802722F8 0026F258 38 81 00 14 */ addi r4, r1, 0x14 +/* 802722FC 0026F25C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80272300 0026F260 D0 1E 05 04 */ stfs f0, 0x504(r30) +/* 80272304 0026F264 38 C0 00 29 */ li r6, 0x29 +/* 80272308 0026F268 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027230C 0026F26C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80272310 0026F270 80 FF 08 4C */ lwz r7, 0x84c(r31) +/* 80272314 0026F274 B0 01 00 08 */ sth r0, 8(r1) +/* 80272318 0026F278 A0 07 00 08 */ lhz r0, 8(r7) +/* 8027231C 0026F27C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80272320 0026F280 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80272324 0026F284 4B DD 1B 31 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +/* 80272328 0026F288 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027232C 0026F28C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80272330 0026F290 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80272334 0026F294 38 81 00 4C */ addi r4, r1, 0x4c +/* 80272338 0026F298 C0 65 00 50 */ lfs f3, 0x50(r5) +/* 8027233C 0026F29C C0 45 00 40 */ lfs f2, 0x40(r5) +/* 80272340 0026F2A0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80272344 0026F2A4 EC 63 00 28 */ fsubs f3, f3, f0 +/* 80272348 0026F2A8 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027234C 0026F2AC EC 22 08 28 */ fsubs f1, f2, f1 +/* 80272350 0026F2B0 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80272354 0026F2B4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80272358 0026F2B8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8027235C 0026F2BC 48 0A 24 F5 */ bl AsNormalized__9CVector3fCFv +/* 80272360 0026F2C0 83 BF 08 4C */ lwz r29, 0x84c(r31) +/* 80272364 0026F2C4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80272368 0026F2C8 C0 BD 00 E8 */ lfs f5, 0xe8(r29) +/* 8027236C 0026F2CC C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80272370 0026F2D0 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80272374 0026F2D4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80272378 0026F2D8 EC 65 00 72 */ fmuls f3, f5, f1 +/* 8027237C 0026F2DC C0 22 BC 0C */ lfs f1, lbl_805AD92C@sda21(r2) +/* 80272380 0026F2E0 EC 45 00 32 */ fmuls f2, f5, f0 +/* 80272384 0026F2E4 EC A1 01 32 */ fmuls f5, f1, f4 +/* 80272388 0026F2E8 EC 01 00 F2 */ fmuls f0, f1, f3 +/* 8027238C 0026F2EC D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80272390 0026F2F0 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80272394 0026F2F4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80272398 0026F2F8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8027239C 0026F2FC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802723A0 0026F300 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802723A4 0026F304 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802723A8 0026F308 4B DA 91 8D */ bl Identity__10CAxisAngleFv +/* 802723AC 0026F30C 7C 65 1B 78 */ mr r5, r3 +/* 802723B0 0026F310 7F A3 EB 78 */ mr r3, r29 +/* 802723B4 0026F314 38 81 00 40 */ addi r4, r1, 0x40 +/* 802723B8 0026F318 4B EA 9F E1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_802723BC: +/* 802723BC 0026F31C 88 1E 10 54 */ lbz r0, 0x1054(r30) +/* 802723C0 0026F320 38 60 00 01 */ li r3, 1 +/* 802723C4 0026F324 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802723C8 0026F328 98 1E 10 54 */ stb r0, 0x1054(r30) +lbl_802723CC: +/* 802723CC 0026F32C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802723D0 0026F330 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802723D4 0026F334 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802723D8 0026F338 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802723DC 0026F33C 7C 08 03 A6 */ mtlr r0 +/* 802723E0 0026F340 38 21 00 70 */ addi r1, r1, 0x70 +/* 802723E4 0026F344 4E 80 00 20 */ blr + +.global Run__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Run__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 802723E8 0026F348 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802723EC 0026F34C 7C 08 02 A6 */ mflr r0 +/* 802723F0 0026F350 2C 05 00 01 */ cmpwi r5, 1 +/* 802723F4 0026F354 90 01 00 44 */ stw r0, 0x44(r1) +/* 802723F8 0026F358 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802723FC 0026F35C 7C 9F 23 78 */ mr r31, r4 +/* 80272400 0026F360 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80272404 0026F364 7C 7E 1B 78 */ mr r30, r3 +/* 80272408 0026F368 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8027240C 0026F36C 93 81 00 30 */ stw r28, 0x30(r1) +/* 80272410 0026F370 41 82 00 F8 */ beq lbl_80272508 +/* 80272414 0026F374 40 80 00 10 */ bge lbl_80272424 +/* 80272418 0026F378 2C 05 00 00 */ cmpwi r5, 0 +/* 8027241C 0026F37C 40 80 00 14 */ bge lbl_80272430 +/* 80272420 0026F380 48 00 01 38 */ b lbl_80272558 +lbl_80272424: +/* 80272424 0026F384 2C 05 00 03 */ cmpwi r5, 3 +/* 80272428 0026F388 40 80 01 30 */ bge lbl_80272558 +/* 8027242C 0026F38C 48 00 00 E4 */ b lbl_80272510 +lbl_80272430: +/* 80272430 0026F390 38 00 00 0A */ li r0, 0xa +/* 80272434 0026F394 C0 02 BC 10 */ lfs f0, lbl_805AD930@sda21(r2) +/* 80272438 0026F398 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 8027243C 0026F39C 7F C4 F3 78 */ mr r4, r30 +/* 80272440 0026F3A0 7F E5 FB 78 */ mr r5, r31 +/* 80272444 0026F3A4 38 61 00 0C */ addi r3, r1, 0xc +/* 80272448 0026F3A8 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 8027244C 0026F3AC 38 C0 00 01 */ li r6, 1 +/* 80272450 0026F3B0 48 00 45 91 */ bl sub_802769e0 +/* 80272454 0026F3B4 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80272458 0026F3B8 7F E3 FB 78 */ mr r3, r31 +/* 8027245C 0026F3BC 38 81 00 08 */ addi r4, r1, 8 +/* 80272460 0026F3C0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80272464 0026F3C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80272468 0026F3C8 4B DD A1 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027246C 0026F3CC 7C 64 1B 78 */ mr r4, r3 +/* 80272470 0026F3D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80272474 0026F3D4 4B E3 40 D9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80272478 0026F3D8 83 83 00 04 */ lwz r28, 4(r3) +/* 8027247C 0026F3DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80272480 0026F3E0 41 82 00 74 */ beq lbl_802724F4 +/* 80272484 0026F3E4 83 BE 04 50 */ lwz r29, 0x450(r30) +/* 80272488 0026F3E8 7F C3 F3 78 */ mr r3, r30 +/* 8027248C 0026F3EC 38 80 00 01 */ li r4, 1 +/* 80272490 0026F3F0 48 00 39 85 */ bl sub_80275e14 +/* 80272494 0026F3F4 7C 64 1B 78 */ mr r4, r3 +/* 80272498 0026F3F8 7F A3 EB 78 */ mr r3, r29 +/* 8027249C 0026F3FC 4B EC 85 3D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802724A0 0026F400 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802724A4 0026F404 7F C3 F3 78 */ mr r3, r30 +/* 802724A8 0026F408 38 81 00 1C */ addi r4, r1, 0x1c +/* 802724AC 0026F40C B0 1E 02 DC */ sth r0, 0x2dc(r30) +/* 802724B0 0026F410 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 802724B4 0026F414 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 802724B8 0026F418 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 802724BC 0026F41C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802724C0 0026F420 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802724C4 0026F424 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802724C8 0026F428 4B E0 A6 95 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 802724CC 0026F42C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802724D0 0026F430 38 60 00 00 */ li r3, 0 +/* 802724D4 0026F434 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802724D8 0026F438 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802724DC 0026F43C D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 802724E0 0026F440 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 802724E4 0026F444 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) +/* 802724E8 0026F448 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 802724EC 0026F44C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802724F0 0026F450 98 1E 03 28 */ stb r0, 0x328(r30) +lbl_802724F4: +/* 802724F4 0026F454 7F C3 F3 78 */ mr r3, r30 +/* 802724F8 0026F458 7F E4 FB 78 */ mr r4, r31 +/* 802724FC 0026F45C 38 A0 00 00 */ li r5, 0 +/* 80272500 0026F460 48 00 63 01 */ bl sub_80278800 +/* 80272504 0026F464 48 00 00 54 */ b lbl_80272558 +lbl_80272508: +/* 80272508 0026F468 4B F8 31 49 */ bl ApproachDest__10CPatternedFR13CStateManager +/* 8027250C 0026F46C 48 00 00 4C */ b lbl_80272558 +lbl_80272510: +/* 80272510 0026F470 38 00 00 00 */ li r0, 0 +/* 80272514 0026F474 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272518 0026F478 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 8027251C 0026F47C 38 00 00 01 */ li r0, 1 +/* 80272520 0026F480 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272524 0026F484 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272528 0026F488 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 8027252C 0026F48C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272530 0026F490 54 00 10 3A */ slwi r0, r0, 2 +/* 80272534 0026F494 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272538 0026F498 4B EC 84 A1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8027253C 0026F49C 7F C3 F3 78 */ mr r3, r30 +/* 80272540 0026F4A0 7F E4 FB 78 */ mr r4, r31 +/* 80272544 0026F4A4 38 A0 00 01 */ li r5, 1 +/* 80272548 0026F4A8 48 00 62 B9 */ bl sub_80278800 +/* 8027254C 0026F4AC 7F C3 F3 78 */ mr r3, r30 +/* 80272550 0026F4B0 7F E4 FB 78 */ mr r4, r31 +/* 80272554 0026F4B4 48 00 13 81 */ bl sub_802738d4 +lbl_80272558: +/* 80272558 0026F4B8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027255C 0026F4BC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80272560 0026F4C0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80272564 0026F4C4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80272568 0026F4C8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8027256C 0026F4CC 7C 08 03 A6 */ mtlr r0 +/* 80272570 0026F4D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80272574 0026F4D4 4E 80 00 20 */ blr + +.global TurnAround__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +TurnAround__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272578 0026F4D8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8027257C 0026F4DC 7C 08 02 A6 */ mflr r0 +/* 80272580 0026F4E0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80272584 0026F4E4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80272588 0026F4E8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8027258C 0026F4EC DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80272590 0026F4F0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80272594 0026F4F4 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80272598 0026F4F8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8027259C 0026F4FC DB 81 00 60 */ stfd f28, 0x60(r1) +/* 802725A0 0026F500 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 802725A4 0026F504 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802725A8 0026F508 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802725AC 0026F50C FF 80 08 90 */ fmr f28, f1 +/* 802725B0 0026F510 2C 05 00 01 */ cmpwi r5, 1 +/* 802725B4 0026F514 7C 7E 1B 78 */ mr r30, r3 +/* 802725B8 0026F518 7C 9F 23 78 */ mr r31, r4 +/* 802725BC 0026F51C 41 82 00 34 */ beq lbl_802725F0 +/* 802725C0 0026F520 40 80 00 10 */ bge lbl_802725D0 +/* 802725C4 0026F524 2C 05 00 00 */ cmpwi r5, 0 +/* 802725C8 0026F528 40 80 00 14 */ bge lbl_802725DC +/* 802725CC 0026F52C 48 00 01 58 */ b lbl_80272724 +lbl_802725D0: +/* 802725D0 0026F530 2C 05 00 03 */ cmpwi r5, 3 +/* 802725D4 0026F534 40 80 01 50 */ bge lbl_80272724 +/* 802725D8 0026F538 48 00 01 40 */ b lbl_80272718 +lbl_802725DC: +/* 802725DC 0026F53C 38 60 00 09 */ li r3, 9 +/* 802725E0 0026F540 38 00 00 01 */ li r0, 1 +/* 802725E4 0026F544 90 7E 09 2C */ stw r3, 0x92c(r30) +/* 802725E8 0026F548 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802725EC 0026F54C 48 00 01 38 */ b lbl_80272724 +lbl_802725F0: +/* 802725F0 0026F550 3C A0 80 3F */ lis r5, lbl_803EAD0C@ha +/* 802725F4 0026F554 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802725F8 0026F558 39 45 AD 0C */ addi r10, r5, lbl_803EAD0C@l +/* 802725FC 0026F55C 38 A0 00 03 */ li r5, 3 +/* 80272600 0026F560 81 2A 00 00 */ lwz r9, 0(r10) +/* 80272604 0026F564 38 E0 00 03 */ li r7, 3 +/* 80272608 0026F568 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027260C 0026F56C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80272610 0026F570 91 21 00 44 */ stw r9, 0x44(r1) +/* 80272614 0026F574 91 01 00 48 */ stw r8, 0x48(r1) +/* 80272618 0026F578 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8027261C 0026F57C 4B E0 A1 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272620 0026F580 38 00 00 01 */ li r0, 1 +/* 80272624 0026F584 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272628 0026F588 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 8027262C 0026F58C 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272630 0026F590 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272634 0026F594 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272638 0026F598 54 00 10 3A */ slwi r0, r0, 2 +/* 8027263C 0026F59C 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272640 0026F5A0 4B EC 83 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272644 0026F5A4 7F C4 F3 78 */ mr r4, r30 +/* 80272648 0026F5A8 7F E5 FB 78 */ mr r5, r31 +/* 8027264C 0026F5AC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80272650 0026F5B0 48 00 1F FD */ bl sub_8027464c +/* 80272654 0026F5B4 C3 A1 00 38 */ lfs f29, 0x38(r1) +/* 80272658 0026F5B8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027265C 0026F5BC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80272660 0026F5C0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80272664 0026F5C4 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 80272668 0026F5C8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8027266C 0026F5CC EC 1D 00 28 */ fsubs f0, f29, f0 +/* 80272670 0026F5D0 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80272674 0026F5D4 C3 C1 00 40 */ lfs f30, 0x40(r1) +/* 80272678 0026F5D8 EC 5F 10 28 */ fsubs f2, f31, f2 +/* 8027267C 0026F5DC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80272680 0026F5E0 EC 1E 08 28 */ fsubs f0, f30, f1 +/* 80272684 0026F5E4 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80272688 0026F5E8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027268C 0026F5EC 48 0A 21 C5 */ bl AsNormalized__9CVector3fCFv +/* 80272690 0026F5F0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80272694 0026F5F4 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80272698 0026F5F8 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8027269C 0026F5FC C0 83 00 40 */ lfs f4, 0x40(r3) +/* 802726A0 0026F600 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802726A4 0026F604 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 802726A8 0026F608 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802726AC 0026F60C EC 64 18 28 */ fsubs f3, f4, f3 +/* 802726B0 0026F610 C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 802726B4 0026F614 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802726B8 0026F618 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 802726BC 0026F61C C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802726C0 0026F620 EC A6 28 28 */ fsubs f5, f6, f5 +/* 802726C4 0026F624 C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 802726C8 0026F628 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 802726CC 0026F62C C0 02 BC 14 */ lfs f0, lbl_805AD934@sda21(r2) +/* 802726D0 0026F630 EC 27 09 7A */ fmadds f1, f7, f5, f1 +/* 802726D4 0026F634 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802726D8 0026F638 40 80 00 4C */ bge lbl_80272724 +/* 802726DC 0026F63C EC BF 10 28 */ fsubs f5, f31, f2 +/* 802726E0 0026F640 D0 81 00 08 */ stfs f4, 8(r1) +/* 802726E4 0026F644 EC 7E 30 28 */ fsubs f3, f30, f6 +/* 802726E8 0026F648 7F C3 F3 78 */ mr r3, r30 +/* 802726EC 0026F64C EC 1D 20 28 */ fsubs f0, f29, f4 +/* 802726F0 0026F650 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802726F4 0026F654 FC 20 E0 90 */ fmr f1, f28 +/* 802726F8 0026F658 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 802726FC 0026F65C 7F E4 FB 78 */ mr r4, r31 +/* 80272700 0026F660 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80272704 0026F664 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80272708 0026F668 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8027270C 0026F66C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80272710 0026F670 48 00 20 A9 */ bl sub_802747b8 +/* 80272714 0026F674 48 00 00 10 */ b lbl_80272724 +lbl_80272718: +/* 80272718 0026F678 38 00 00 00 */ li r0, 0 +/* 8027271C 0026F67C 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272720 0026F680 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80272724: +/* 80272724 0026F684 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80272728 0026F688 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8027272C 0026F68C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80272730 0026F690 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80272734 0026F694 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 80272738 0026F698 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8027273C 0026F69C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 80272740 0026F6A0 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 80272744 0026F6A4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80272748 0026F6A8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8027274C 0026F6AC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80272750 0026F6B0 7C 08 03 A6 */ mtlr r0 +/* 80272754 0026F6B4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80272758 0026F6B8 4E 80 00 20 */ blr + +.global CoverAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +CoverAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 8027275C 0026F6BC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80272760 0026F6C0 7C 08 02 A6 */ mflr r0 +/* 80272764 0026F6C4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80272768 0026F6C8 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8027276C 0026F6CC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80272770 0026F6D0 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80272774 0026F6D4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80272778 0026F6D8 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8027277C 0026F6DC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80272780 0026F6E0 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80272784 0026F6E4 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80272788 0026F6E8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027278C 0026F6EC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80272790 0026F6F0 FF 80 08 90 */ fmr f28, f1 +/* 80272794 0026F6F4 2C 05 00 01 */ cmpwi r5, 1 +/* 80272798 0026F6F8 7C 7E 1B 78 */ mr r30, r3 +/* 8027279C 0026F6FC 7C 9F 23 78 */ mr r31, r4 +/* 802727A0 0026F700 41 82 00 38 */ beq lbl_802727D8 +/* 802727A4 0026F704 40 80 00 10 */ bge lbl_802727B4 +/* 802727A8 0026F708 2C 05 00 00 */ cmpwi r5, 0 +/* 802727AC 0026F70C 40 80 00 14 */ bge lbl_802727C0 +/* 802727B0 0026F710 48 00 01 78 */ b lbl_80272928 +lbl_802727B4: +/* 802727B4 0026F714 2C 05 00 03 */ cmpwi r5, 3 +/* 802727B8 0026F718 40 80 01 70 */ bge lbl_80272928 +/* 802727BC 0026F71C 48 00 01 3C */ b lbl_802728F8 +lbl_802727C0: +/* 802727C0 0026F720 38 00 00 01 */ li r0, 1 +/* 802727C4 0026F724 C0 02 BC 10 */ lfs f0, lbl_805AD930@sda21(r2) +/* 802727C8 0026F728 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802727CC 0026F72C 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 802727D0 0026F730 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 802727D4 0026F734 48 00 01 54 */ b lbl_80272928 +lbl_802727D8: +/* 802727D8 0026F738 3C A0 80 3F */ lis r5, lbl_803EAD00@ha +/* 802727DC 0026F73C 38 80 00 00 */ li r4, 0 +/* 802727E0 0026F740 38 E5 AD 00 */ addi r7, r5, lbl_803EAD00@l +/* 802727E4 0026F744 80 C7 00 00 */ lwz r6, 0(r7) +/* 802727E8 0026F748 80 A7 00 04 */ lwz r5, 4(r7) +/* 802727EC 0026F74C 80 07 00 08 */ lwz r0, 8(r7) +/* 802727F0 0026F750 90 C1 00 38 */ stw r6, 0x38(r1) +/* 802727F4 0026F754 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802727F8 0026F758 90 01 00 40 */ stw r0, 0x40(r1) +/* 802727FC 0026F75C 48 00 36 39 */ bl sub_80275e34 +/* 80272800 0026F760 7C 67 1B 78 */ mr r7, r3 +/* 80272804 0026F764 7F C3 F3 78 */ mr r3, r30 +/* 80272808 0026F768 7F E4 FB 78 */ mr r4, r31 +/* 8027280C 0026F76C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80272810 0026F770 38 A0 00 07 */ li r5, 7 +/* 80272814 0026F774 4B E0 9F A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272818 0026F778 C0 62 BC 18 */ lfs f3, lbl_805AD938@sda21(r2) +/* 8027281C 0026F77C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80272820 0026F780 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 80272824 0026F784 38 81 00 20 */ addi r4, r1, 0x20 +/* 80272828 0026F788 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8027282C 0026F78C C0 1E 00 58 */ lfs f0, 0x58(r30) +/* 80272830 0026F790 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80272834 0026F794 C0 BE 00 40 */ lfs f5, 0x40(r30) +/* 80272838 0026F798 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8027283C 0026F79C C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80272840 0026F7A0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80272844 0026F7A4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80272848 0026F7A8 EF A2 28 2A */ fadds f29, f2, f5 +/* 8027284C 0026F7AC EF C1 20 2A */ fadds f30, f1, f4 +/* 80272850 0026F7B0 EF E0 18 2A */ fadds f31, f0, f3 +/* 80272854 0026F7B4 EC 5D 28 28 */ fsubs f2, f29, f5 +/* 80272858 0026F7B8 EC 3E 20 28 */ fsubs f1, f30, f4 +/* 8027285C 0026F7BC EC 1F 18 28 */ fsubs f0, f31, f3 +/* 80272860 0026F7C0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80272864 0026F7C4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80272868 0026F7C8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027286C 0026F7CC 48 0A 1F E5 */ bl AsNormalized__9CVector3fCFv +/* 80272870 0026F7D0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80272874 0026F7D4 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80272878 0026F7D8 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8027287C 0026F7DC C0 83 00 40 */ lfs f4, 0x40(r3) +/* 80272880 0026F7E0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80272884 0026F7E4 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80272888 0026F7E8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8027288C 0026F7EC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80272890 0026F7F0 C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 80272894 0026F7F4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80272898 0026F7F8 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 8027289C 0026F7FC C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802728A0 0026F800 EC A6 28 28 */ fsubs f5, f6, f5 +/* 802728A4 0026F804 C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 802728A8 0026F808 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 802728AC 0026F80C C0 02 BC 14 */ lfs f0, lbl_805AD934@sda21(r2) +/* 802728B0 0026F810 EC 27 09 7A */ fmadds f1, f7, f5, f1 +/* 802728B4 0026F814 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802728B8 0026F818 40 80 00 70 */ bge lbl_80272928 +/* 802728BC 0026F81C EC BE 10 28 */ fsubs f5, f30, f2 +/* 802728C0 0026F820 D0 81 00 08 */ stfs f4, 8(r1) +/* 802728C4 0026F824 EC 7F 30 28 */ fsubs f3, f31, f6 +/* 802728C8 0026F828 7F C3 F3 78 */ mr r3, r30 +/* 802728CC 0026F82C EC 1D 20 28 */ fsubs f0, f29, f4 +/* 802728D0 0026F830 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802728D4 0026F834 FC 20 E0 90 */ fmr f1, f28 +/* 802728D8 0026F838 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 802728DC 0026F83C 7F E4 FB 78 */ mr r4, r31 +/* 802728E0 0026F840 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802728E4 0026F844 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802728E8 0026F848 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802728EC 0026F84C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802728F0 0026F850 48 00 1E C9 */ bl sub_802747b8 +/* 802728F4 0026F854 48 00 00 34 */ b lbl_80272928 +lbl_802728F8: +/* 802728F8 0026F858 38 A0 00 00 */ li r5, 0 +/* 802728FC 0026F85C 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272900 0026F860 90 BE 03 2C */ stw r5, 0x32c(r30) +/* 80272904 0026F864 38 00 00 01 */ li r0, 1 +/* 80272908 0026F868 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 8027290C 0026F86C 90 BE 09 2C */ stw r5, 0x92c(r30) +/* 80272910 0026F870 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272914 0026F874 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272918 0026F878 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027291C 0026F87C 54 00 10 3A */ slwi r0, r0, 2 +/* 80272920 0026F880 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272924 0026F884 4B EC 80 B5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80272928: +/* 80272928 0026F888 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8027292C 0026F88C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80272930 0026F890 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80272934 0026F894 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80272938 0026F898 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8027293C 0026F89C CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80272940 0026F8A0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80272944 0026F8A4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80272948 0026F8A8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027294C 0026F8AC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80272950 0026F8B0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80272954 0026F8B4 7C 08 03 A6 */ mtlr r0 +/* 80272958 0026F8B8 38 21 00 90 */ addi r1, r1, 0x90 +/* 8027295C 0026F8BC 4E 80 00 20 */ blr + +.global Cover__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Cover__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272960 0026F8C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272964 0026F8C4 7C 08 02 A6 */ mflr r0 +/* 80272968 0026F8C8 2C 05 00 01 */ cmpwi r5, 1 +/* 8027296C 0026F8CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272970 0026F8D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272974 0026F8D4 7C 9F 23 78 */ mr r31, r4 +/* 80272978 0026F8D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027297C 0026F8DC 7C 7E 1B 78 */ mr r30, r3 +/* 80272980 0026F8E0 41 82 00 3C */ beq lbl_802729BC +/* 80272984 0026F8E4 40 80 00 10 */ bge lbl_80272994 +/* 80272988 0026F8E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027298C 0026F8EC 40 80 00 14 */ bge lbl_802729A0 +/* 80272990 0026F8F0 48 00 00 B8 */ b lbl_80272A48 +lbl_80272994: +/* 80272994 0026F8F4 2C 05 00 03 */ cmpwi r5, 3 +/* 80272998 0026F8F8 40 80 00 B0 */ bge lbl_80272A48 +/* 8027299C 0026F8FC 48 00 00 94 */ b lbl_80272A30 +lbl_802729A0: +/* 802729A0 0026F900 38 60 00 01 */ li r3, 1 +/* 802729A4 0026F904 38 00 00 0C */ li r0, 0xc +/* 802729A8 0026F908 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 802729AC 0026F90C C0 02 BC 1C */ lfs f0, lbl_805AD93C@sda21(r2) +/* 802729B0 0026F910 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 802729B4 0026F914 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 802729B8 0026F918 48 00 00 90 */ b lbl_80272A48 +lbl_802729BC: +/* 802729BC 0026F91C 3C A0 80 3F */ lis r5, lbl_803EACF4@ha +/* 802729C0 0026F920 38 80 00 0D */ li r4, 0xd +/* 802729C4 0026F924 38 E5 AC F4 */ addi r7, r5, lbl_803EACF4@l +/* 802729C8 0026F928 80 C7 00 00 */ lwz r6, 0(r7) +/* 802729CC 0026F92C 80 A7 00 04 */ lwz r5, 4(r7) +/* 802729D0 0026F930 80 07 00 08 */ lwz r0, 8(r7) +/* 802729D4 0026F934 90 C1 00 08 */ stw r6, 8(r1) +/* 802729D8 0026F938 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802729DC 0026F93C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802729E0 0026F940 48 00 34 55 */ bl sub_80275e34 +/* 802729E4 0026F944 7C 67 1B 78 */ mr r7, r3 +/* 802729E8 0026F948 7F C3 F3 78 */ mr r3, r30 +/* 802729EC 0026F94C 7F E4 FB 78 */ mr r4, r31 +/* 802729F0 0026F950 38 C1 00 08 */ addi r6, r1, 8 +/* 802729F4 0026F954 38 A0 00 12 */ li r5, 0x12 +/* 802729F8 0026F958 4B E0 9D BD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802729FC 0026F95C 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80272A00 0026F960 2C 00 00 02 */ cmpwi r0, 2 +/* 80272A04 0026F964 40 82 00 44 */ bne lbl_80272A48 +/* 80272A08 0026F968 38 00 00 01 */ li r0, 1 +/* 80272A0C 0026F96C 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272A10 0026F970 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272A14 0026F974 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272A18 0026F978 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272A1C 0026F97C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272A20 0026F980 54 00 10 3A */ slwi r0, r0, 2 +/* 80272A24 0026F984 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272A28 0026F988 4B EC 7F B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272A2C 0026F98C 48 00 00 1C */ b lbl_80272A48 +lbl_80272A30: +/* 80272A30 0026F990 38 00 00 00 */ li r0, 0 +/* 80272A34 0026F994 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272A38 0026F998 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272A3C 0026F99C 48 00 0E 99 */ bl sub_802738d4 +/* 80272A40 0026F9A0 38 00 00 02 */ li r0, 2 +/* 80272A44 0026F9A4 90 1E 12 54 */ stw r0, 0x1254(r30) +lbl_80272A48: +/* 80272A48 0026F9A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272A4C 0026F9AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272A50 0026F9B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272A54 0026F9B4 7C 08 03 A6 */ mtlr r0 +/* 80272A58 0026F9B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272A5C 0026F9BC 4E 80 00 20 */ blr + +.global SpecialAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +SpecialAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272A60 0026F9C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272A64 0026F9C4 7C 08 02 A6 */ mflr r0 +/* 80272A68 0026F9C8 2C 05 00 01 */ cmpwi r5, 1 +/* 80272A6C 0026F9CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272A70 0026F9D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272A74 0026F9D4 7C 7F 1B 78 */ mr r31, r3 +/* 80272A78 0026F9D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272A7C 0026F9DC 7C 9E 23 78 */ mr r30, r4 +/* 80272A80 0026F9E0 41 82 00 98 */ beq lbl_80272B18 +/* 80272A84 0026F9E4 40 80 00 10 */ bge lbl_80272A94 +/* 80272A88 0026F9E8 2C 05 00 00 */ cmpwi r5, 0 +/* 80272A8C 0026F9EC 40 80 00 14 */ bge lbl_80272AA0 +/* 80272A90 0026F9F0 48 00 01 0C */ b lbl_80272B9C +lbl_80272A94: +/* 80272A94 0026F9F4 2C 05 00 03 */ cmpwi r5, 3 +/* 80272A98 0026F9F8 40 80 01 04 */ bge lbl_80272B9C +/* 80272A9C 0026F9FC 48 00 00 F0 */ b lbl_80272B8C +lbl_80272AA0: +/* 80272AA0 0026FA00 38 00 00 01 */ li r0, 1 +/* 80272AA4 0026FA04 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80272AA8 0026FA08 80 1F 12 54 */ lwz r0, 0x1254(r31) +/* 80272AAC 0026FA0C 2C 00 00 04 */ cmpwi r0, 4 +/* 80272AB0 0026FA10 41 82 00 3C */ beq lbl_80272AEC +/* 80272AB4 0026FA14 40 80 00 14 */ bge lbl_80272AC8 +/* 80272AB8 0026FA18 2C 00 00 02 */ cmpwi r0, 2 +/* 80272ABC 0026FA1C 41 82 00 18 */ beq lbl_80272AD4 +/* 80272AC0 0026FA20 40 80 00 20 */ bge lbl_80272AE0 +/* 80272AC4 0026FA24 48 00 00 3C */ b lbl_80272B00 +lbl_80272AC8: +/* 80272AC8 0026FA28 2C 00 00 06 */ cmpwi r0, 6 +/* 80272ACC 0026FA2C 40 80 00 34 */ bge lbl_80272B00 +/* 80272AD0 0026FA30 48 00 00 28 */ b lbl_80272AF8 +lbl_80272AD4: +/* 80272AD4 0026FA34 38 00 00 02 */ li r0, 2 +/* 80272AD8 0026FA38 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272ADC 0026FA3C 48 00 00 24 */ b lbl_80272B00 +lbl_80272AE0: +/* 80272AE0 0026FA40 38 00 00 03 */ li r0, 3 +/* 80272AE4 0026FA44 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272AE8 0026FA48 48 00 00 18 */ b lbl_80272B00 +lbl_80272AEC: +/* 80272AEC 0026FA4C 38 00 00 04 */ li r0, 4 +/* 80272AF0 0026FA50 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272AF4 0026FA54 48 00 00 0C */ b lbl_80272B00 +lbl_80272AF8: +/* 80272AF8 0026FA58 38 00 00 05 */ li r0, 5 +/* 80272AFC 0026FA5C 90 1F 09 2C */ stw r0, 0x92c(r31) +lbl_80272B00: +/* 80272B00 0026FA60 C0 02 BC 1C */ lfs f0, lbl_805AD93C@sda21(r2) +/* 80272B04 0026FA64 7F E3 FB 78 */ mr r3, r31 +/* 80272B08 0026FA68 7F C4 F3 78 */ mr r4, r30 +/* 80272B0C 0026FA6C D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80272B10 0026FA70 48 00 15 45 */ bl sub_80274054 +/* 80272B14 0026FA74 48 00 00 88 */ b lbl_80272B9C +lbl_80272B18: +/* 80272B18 0026FA78 3C 80 80 3F */ lis r4, lbl_803EACE8@ha +/* 80272B1C 0026FA7C 38 C4 AC E8 */ addi r6, r4, lbl_803EACE8@l +/* 80272B20 0026FA80 80 A6 00 00 */ lwz r5, 0(r6) +/* 80272B24 0026FA84 80 86 00 04 */ lwz r4, 4(r6) +/* 80272B28 0026FA88 80 06 00 08 */ lwz r0, 8(r6) +/* 80272B2C 0026FA8C 90 A1 00 08 */ stw r5, 8(r1) +/* 80272B30 0026FA90 90 81 00 0C */ stw r4, 0xc(r1) +/* 80272B34 0026FA94 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272B38 0026FA98 80 9F 12 54 */ lwz r4, 0x1254(r31) +/* 80272B3C 0026FA9C 48 00 32 F9 */ bl sub_80275e34 +/* 80272B40 0026FAA0 7C 67 1B 78 */ mr r7, r3 +/* 80272B44 0026FAA4 7F E3 FB 78 */ mr r3, r31 +/* 80272B48 0026FAA8 7F C4 F3 78 */ mr r4, r30 +/* 80272B4C 0026FAAC 38 C1 00 08 */ addi r6, r1, 8 +/* 80272B50 0026FAB0 38 A0 00 12 */ li r5, 0x12 +/* 80272B54 0026FAB4 4B E0 9C 61 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272B58 0026FAB8 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 80272B5C 0026FABC 2C 00 00 02 */ cmpwi r0, 2 +/* 80272B60 0026FAC0 40 82 00 3C */ bne lbl_80272B9C +/* 80272B64 0026FAC4 38 00 00 01 */ li r0, 1 +/* 80272B68 0026FAC8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272B6C 0026FACC 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80272B70 0026FAD0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272B74 0026FAD4 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80272B78 0026FAD8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80272B7C 0026FADC 54 00 10 3A */ slwi r0, r0, 2 +/* 80272B80 0026FAE0 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272B84 0026FAE4 4B EC 7E 55 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272B88 0026FAE8 48 00 00 14 */ b lbl_80272B9C +lbl_80272B8C: +/* 80272B8C 0026FAEC 38 00 00 00 */ li r0, 0 +/* 80272B90 0026FAF0 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80272B94 0026FAF4 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272B98 0026FAF8 48 00 0D 3D */ bl sub_802738d4 +lbl_80272B9C: +/* 80272B9C 0026FAFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272BA0 0026FB00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272BA4 0026FB04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272BA8 0026FB08 7C 08 03 A6 */ mtlr r0 +/* 80272BAC 0026FB0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272BB0 0026FB10 4E 80 00 20 */ blr + +.global Attack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Attack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272BB4 0026FB14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272BB8 0026FB18 7C 08 02 A6 */ mflr r0 +/* 80272BBC 0026FB1C 2C 05 00 01 */ cmpwi r5, 1 +/* 80272BC0 0026FB20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272BC4 0026FB24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272BC8 0026FB28 7C 9F 23 78 */ mr r31, r4 +/* 80272BCC 0026FB2C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272BD0 0026FB30 7C 7E 1B 78 */ mr r30, r3 +/* 80272BD4 0026FB34 41 82 00 3C */ beq lbl_80272C10 +/* 80272BD8 0026FB38 40 80 00 10 */ bge lbl_80272BE8 +/* 80272BDC 0026FB3C 2C 05 00 00 */ cmpwi r5, 0 +/* 80272BE0 0026FB40 40 80 00 14 */ bge lbl_80272BF4 +/* 80272BE4 0026FB44 48 00 00 88 */ b lbl_80272C6C +lbl_80272BE8: +/* 80272BE8 0026FB48 2C 05 00 03 */ cmpwi r5, 3 +/* 80272BEC 0026FB4C 40 80 00 80 */ bge lbl_80272C6C +/* 80272BF0 0026FB50 48 00 00 64 */ b lbl_80272C54 +lbl_80272BF4: +/* 80272BF4 0026FB54 38 60 00 01 */ li r3, 1 +/* 80272BF8 0026FB58 38 00 00 06 */ li r0, 6 +/* 80272BFC 0026FB5C 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80272C00 0026FB60 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) +/* 80272C04 0026FB64 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272C08 0026FB68 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 80272C0C 0026FB6C 48 00 00 60 */ b lbl_80272C6C +lbl_80272C10: +/* 80272C10 0026FB70 3C A0 80 3F */ lis r5, lbl_803EACDC@ha +/* 80272C14 0026FB74 38 80 00 09 */ li r4, 9 +/* 80272C18 0026FB78 38 E5 AC DC */ addi r7, r5, lbl_803EACDC@l +/* 80272C1C 0026FB7C 80 C7 00 00 */ lwz r6, 0(r7) +/* 80272C20 0026FB80 80 A7 00 04 */ lwz r5, 4(r7) +/* 80272C24 0026FB84 80 07 00 08 */ lwz r0, 8(r7) +/* 80272C28 0026FB88 90 C1 00 08 */ stw r6, 8(r1) +/* 80272C2C 0026FB8C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80272C30 0026FB90 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272C34 0026FB94 48 00 32 01 */ bl sub_80275e34 +/* 80272C38 0026FB98 7C 67 1B 78 */ mr r7, r3 +/* 80272C3C 0026FB9C 7F C3 F3 78 */ mr r3, r30 +/* 80272C40 0026FBA0 7F E4 FB 78 */ mr r4, r31 +/* 80272C44 0026FBA4 38 C1 00 08 */ addi r6, r1, 8 +/* 80272C48 0026FBA8 38 A0 00 07 */ li r5, 7 +/* 80272C4C 0026FBAC 4B E0 9B 69 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272C50 0026FBB0 48 00 00 1C */ b lbl_80272C6C +lbl_80272C54: +/* 80272C54 0026FBB4 38 00 00 00 */ li r0, 0 +/* 80272C58 0026FBB8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272C5C 0026FBBC 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272C60 0026FBC0 48 00 0C 75 */ bl sub_802738d4 +/* 80272C64 0026FBC4 38 00 00 02 */ li r0, 2 +/* 80272C68 0026FBC8 90 1E 12 54 */ stw r0, 0x1254(r30) +lbl_80272C6C: +/* 80272C6C 0026FBCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272C70 0026FBD0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272C74 0026FBD4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272C78 0026FBD8 7C 08 03 A6 */ mtlr r0 +/* 80272C7C 0026FBDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272C80 0026FBE0 4E 80 00 20 */ blr + +.global ProjectileAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +ProjectileAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272C84 0026FBE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272C88 0026FBE8 7C 08 02 A6 */ mflr r0 +/* 80272C8C 0026FBEC 2C 05 00 01 */ cmpwi r5, 1 +/* 80272C90 0026FBF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272C94 0026FBF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272C98 0026FBF8 7C 9F 23 78 */ mr r31, r4 +/* 80272C9C 0026FBFC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272CA0 0026FC00 7C 7E 1B 78 */ mr r30, r3 +/* 80272CA4 0026FC04 41 82 00 3C */ beq lbl_80272CE0 +/* 80272CA8 0026FC08 40 80 00 10 */ bge lbl_80272CB8 +/* 80272CAC 0026FC0C 2C 05 00 00 */ cmpwi r5, 0 +/* 80272CB0 0026FC10 40 80 00 14 */ bge lbl_80272CC4 +/* 80272CB4 0026FC14 48 00 00 E8 */ b lbl_80272D9C +lbl_80272CB8: +/* 80272CB8 0026FC18 2C 05 00 03 */ cmpwi r5, 3 +/* 80272CBC 0026FC1C 40 80 00 E0 */ bge lbl_80272D9C +/* 80272CC0 0026FC20 48 00 00 94 */ b lbl_80272D54 +lbl_80272CC4: +/* 80272CC4 0026FC24 38 60 00 01 */ li r3, 1 +/* 80272CC8 0026FC28 38 00 00 07 */ li r0, 7 +/* 80272CCC 0026FC2C 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80272CD0 0026FC30 C0 02 BC 24 */ lfs f0, lbl_805AD944@sda21(r2) +/* 80272CD4 0026FC34 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272CD8 0026FC38 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 80272CDC 0026FC3C 48 00 00 C0 */ b lbl_80272D9C +lbl_80272CE0: +/* 80272CE0 0026FC40 3C 80 80 3F */ lis r4, lbl_803EACD0@ha +/* 80272CE4 0026FC44 38 C4 AC D0 */ addi r6, r4, lbl_803EACD0@l +/* 80272CE8 0026FC48 80 A6 00 00 */ lwz r5, 0(r6) +/* 80272CEC 0026FC4C 80 86 00 04 */ lwz r4, 4(r6) +/* 80272CF0 0026FC50 80 06 00 08 */ lwz r0, 8(r6) +/* 80272CF4 0026FC54 90 A1 00 08 */ stw r5, 8(r1) +/* 80272CF8 0026FC58 90 81 00 0C */ stw r4, 0xc(r1) +/* 80272CFC 0026FC5C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272D00 0026FC60 80 9E 12 54 */ lwz r4, 0x1254(r30) +/* 80272D04 0026FC64 48 00 31 31 */ bl sub_80275e34 +/* 80272D08 0026FC68 7C 67 1B 78 */ mr r7, r3 +/* 80272D0C 0026FC6C 7F C3 F3 78 */ mr r3, r30 +/* 80272D10 0026FC70 7F E4 FB 78 */ mr r4, r31 +/* 80272D14 0026FC74 38 C1 00 08 */ addi r6, r1, 8 +/* 80272D18 0026FC78 38 A0 00 12 */ li r5, 0x12 +/* 80272D1C 0026FC7C 4B E0 9A 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272D20 0026FC80 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80272D24 0026FC84 2C 00 00 02 */ cmpwi r0, 2 +/* 80272D28 0026FC88 40 82 00 74 */ bne lbl_80272D9C +/* 80272D2C 0026FC8C 38 00 00 01 */ li r0, 1 +/* 80272D30 0026FC90 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272D34 0026FC94 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272D38 0026FC98 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272D3C 0026FC9C 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272D40 0026FCA0 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272D44 0026FCA4 54 00 10 3A */ slwi r0, r0, 2 +/* 80272D48 0026FCA8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272D4C 0026FCAC 4B EC 7C 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272D50 0026FCB0 48 00 00 4C */ b lbl_80272D9C +lbl_80272D54: +/* 80272D54 0026FCB4 38 00 00 00 */ li r0, 0 +/* 80272D58 0026FCB8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272D5C 0026FCBC 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272D60 0026FCC0 48 00 0B 75 */ bl sub_802738d4 +/* 80272D64 0026FCC4 C0 02 BC 28 */ lfs f0, lbl_805AD948@sda21(r2) +/* 80272D68 0026FCC8 38 80 00 00 */ li r4, 0 +/* 80272D6C 0026FCCC D0 1E 10 88 */ stfs f0, 0x1088(r30) +/* 80272D70 0026FCD0 80 7E 0C 54 */ lwz r3, 0xc54(r30) +/* 80272D74 0026FCD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80272D78 0026FCD8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80272D7C 0026FCDC 7D 89 03 A6 */ mtctr r12 +/* 80272D80 0026FCE0 4E 80 04 21 */ bctrl +/* 80272D84 0026FCE4 7F C3 F3 78 */ mr r3, r30 +/* 80272D88 0026FCE8 7F E4 FB 78 */ mr r4, r31 +/* 80272D8C 0026FCEC 38 A0 00 00 */ li r5, 0 +/* 80272D90 0026FCF0 48 00 45 F1 */ bl sub_80277380 +/* 80272D94 0026FCF4 38 00 00 02 */ li r0, 2 +/* 80272D98 0026FCF8 90 1E 12 54 */ stw r0, 0x1254(r30) +lbl_80272D9C: +/* 80272D9C 0026FCFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272DA0 0026FD00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272DA4 0026FD04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272DA8 0026FD08 7C 08 03 A6 */ mtlr r0 +/* 80272DAC 0026FD0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272DB0 0026FD10 4E 80 00 20 */ blr + +.global Taunt__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Taunt__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272DB4 0026FD14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272DB8 0026FD18 7C 08 02 A6 */ mflr r0 +/* 80272DBC 0026FD1C 2C 05 00 01 */ cmpwi r5, 1 +/* 80272DC0 0026FD20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272DC4 0026FD24 41 82 00 2C */ beq lbl_80272DF0 +/* 80272DC8 0026FD28 40 80 00 10 */ bge lbl_80272DD8 +/* 80272DCC 0026FD2C 2C 05 00 00 */ cmpwi r5, 0 +/* 80272DD0 0026FD30 40 80 00 14 */ bge lbl_80272DE4 +/* 80272DD4 0026FD34 48 00 00 68 */ b lbl_80272E3C +lbl_80272DD8: +/* 80272DD8 0026FD38 2C 05 00 03 */ cmpwi r5, 3 +/* 80272DDC 0026FD3C 40 80 00 60 */ bge lbl_80272E3C +/* 80272DE0 0026FD40 48 00 00 54 */ b lbl_80272E34 +lbl_80272DE4: +/* 80272DE4 0026FD44 38 00 00 01 */ li r0, 1 +/* 80272DE8 0026FD48 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80272DEC 0026FD4C 48 00 00 50 */ b lbl_80272E3C +lbl_80272DF0: +/* 80272DF0 0026FD50 3C C0 80 3F */ lis r6, lbl_803EACC4@ha +/* 80272DF4 0026FD54 3C A0 80 3D */ lis r5, lbl_803D5478@ha +/* 80272DF8 0026FD58 39 46 AC C4 */ addi r10, r6, lbl_803EACC4@l +/* 80272DFC 0026FD5C 38 C1 00 08 */ addi r6, r1, 8 +/* 80272E00 0026FD60 81 2A 00 00 */ lwz r9, 0(r10) +/* 80272E04 0026FD64 38 E5 54 78 */ addi r7, r5, lbl_803D5478@l +/* 80272E08 0026FD68 81 0A 00 04 */ lwz r8, 4(r10) +/* 80272E0C 0026FD6C 38 A0 00 10 */ li r5, 0x10 +/* 80272E10 0026FD70 80 0A 00 08 */ lwz r0, 8(r10) +/* 80272E14 0026FD74 91 21 00 08 */ stw r9, 8(r1) +/* 80272E18 0026FD78 91 01 00 0C */ stw r8, 0xc(r1) +/* 80272E1C 0026FD7C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272E20 0026FD80 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80272E24 0026FD84 54 00 10 3A */ slwi r0, r0, 2 +/* 80272E28 0026FD88 7C E7 00 2E */ lwzx r7, r7, r0 +/* 80272E2C 0026FD8C 4B E0 99 89 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272E30 0026FD90 48 00 00 0C */ b lbl_80272E3C +lbl_80272E34: +/* 80272E34 0026FD94 38 00 00 00 */ li r0, 0 +/* 80272E38 0026FD98 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80272E3C: +/* 80272E3C 0026FD9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272E40 0026FDA0 7C 08 03 A6 */ mtlr r0 +/* 80272E44 0026FDA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272E48 0026FDA8 4E 80 00 20 */ blr + +.global SelectTarget__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +SelectTarget__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272E4C 0026FDAC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272E50 0026FDB0 7C 08 02 A6 */ mflr r0 +/* 80272E54 0026FDB4 2C 05 00 01 */ cmpwi r5, 1 +/* 80272E58 0026FDB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272E5C 0026FDBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272E60 0026FDC0 7C 7F 1B 78 */ mr r31, r3 +/* 80272E64 0026FDC4 41 82 00 4C */ beq lbl_80272EB0 +/* 80272E68 0026FDC8 40 80 00 10 */ bge lbl_80272E78 +/* 80272E6C 0026FDCC 2C 05 00 00 */ cmpwi r5, 0 +/* 80272E70 0026FDD0 40 80 00 14 */ bge lbl_80272E84 +/* 80272E74 0026FDD4 48 00 00 58 */ b lbl_80272ECC +lbl_80272E78: +/* 80272E78 0026FDD8 2C 05 00 03 */ cmpwi r5, 3 +/* 80272E7C 0026FDDC 40 80 00 50 */ bge lbl_80272ECC +/* 80272E80 0026FDE0 48 00 00 38 */ b lbl_80272EB8 +lbl_80272E84: +/* 80272E84 0026FDE4 C0 3F 09 24 */ lfs f1, 0x924(r31) +/* 80272E88 0026FDE8 38 81 00 08 */ addi r4, r1, 8 +/* 80272E8C 0026FDEC C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 80272E90 0026FDF0 38 6D 98 D8 */ addi r3, r13, lbl_805A8498@sda21 +/* 80272E94 0026FDF4 38 AD 98 DC */ addi r5, r13, lbl_805A849C@sda21 +/* 80272E98 0026FDF8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80272E9C 0026FDFC D0 01 00 08 */ stfs f0, 8(r1) +/* 80272EA0 0026FE00 4B D9 94 15 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80272EA4 0026FE04 C0 03 00 00 */ lfs f0, 0(r3) +/* 80272EA8 0026FE08 D0 1F 03 40 */ stfs f0, 0x340(r31) +/* 80272EAC 0026FE0C 48 00 00 20 */ b lbl_80272ECC +lbl_80272EB0: +/* 80272EB0 0026FE10 48 00 29 51 */ bl sub_80275800 +/* 80272EB4 0026FE14 48 00 00 18 */ b lbl_80272ECC +lbl_80272EB8: +/* 80272EB8 0026FE18 48 00 0A 1D */ bl sub_802738d4 +/* 80272EBC 0026FE1C 88 1F 10 54 */ lbz r0, 0x1054(r31) +/* 80272EC0 0026FE20 38 60 00 00 */ li r3, 0 +/* 80272EC4 0026FE24 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80272EC8 0026FE28 98 1F 10 54 */ stb r0, 0x1054(r31) +lbl_80272ECC: +/* 80272ECC 0026FE2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272ED0 0026FE30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272ED4 0026FE34 7C 08 03 A6 */ mtlr r0 +/* 80272ED8 0026FE38 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272EDC 0026FE3C 4E 80 00 20 */ blr + +.global Active__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Active__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272EE0 0026FE40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80272EE4 0026FE44 7C 08 02 A6 */ mflr r0 +/* 80272EE8 0026FE48 2C 05 00 01 */ cmpwi r5, 1 +/* 80272EEC 0026FE4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80272EF0 0026FE50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80272EF4 0026FE54 7C 7F 1B 78 */ mr r31, r3 +/* 80272EF8 0026FE58 41 82 00 3C */ beq lbl_80272F34 +/* 80272EFC 0026FE5C 40 80 00 10 */ bge lbl_80272F0C +/* 80272F00 0026FE60 2C 05 00 00 */ cmpwi r5, 0 +/* 80272F04 0026FE64 40 80 00 14 */ bge lbl_80272F18 +/* 80272F08 0026FE68 48 00 00 C0 */ b lbl_80272FC8 +lbl_80272F0C: +/* 80272F0C 0026FE6C 2C 05 00 03 */ cmpwi r5, 3 +/* 80272F10 0026FE70 40 80 00 B8 */ bge lbl_80272FC8 +/* 80272F14 0026FE74 48 00 00 AC */ b lbl_80272FC0 +lbl_80272F18: +/* 80272F18 0026FE78 C0 22 BC 2C */ lfs f1, lbl_805AD94C@sda21(r2) +/* 80272F1C 0026FE7C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80272F20 0026FE80 D0 3F 10 7C */ stfs f1, 0x107c(r31) +/* 80272F24 0026FE84 C0 3F 10 88 */ lfs f1, 0x1088(r31) +/* 80272F28 0026FE88 D0 3F 10 84 */ stfs f1, 0x1084(r31) +/* 80272F2C 0026FE8C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 80272F30 0026FE90 48 00 00 98 */ b lbl_80272FC8 +lbl_80272F34: +/* 80272F34 0026FE94 80 1F 05 70 */ lwz r0, 0x570(r31) +/* 80272F38 0026FE98 2C 00 00 00 */ cmpwi r0, 0 +/* 80272F3C 0026FE9C 40 82 00 10 */ bne lbl_80272F4C +/* 80272F40 0026FEA0 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80272F44 0026FEA4 2C 00 00 01 */ cmpwi r0, 1 +/* 80272F48 0026FEA8 41 82 00 80 */ beq lbl_80272FC8 +lbl_80272F4C: +/* 80272F4C 0026FEAC C0 1F 10 7C */ lfs f0, 0x107c(r31) +/* 80272F50 0026FEB0 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80272F54 0026FEB4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80272F58 0026FEB8 40 80 00 70 */ bge lbl_80272FC8 +/* 80272F5C 0026FEBC C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 80272F60 0026FEC0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80272F64 0026FEC4 40 80 00 64 */ bge lbl_80272FC8 +/* 80272F68 0026FEC8 C0 3F 10 80 */ lfs f1, 0x1080(r31) +/* 80272F6C 0026FECC C0 02 BC 34 */ lfs f0, lbl_805AD954@sda21(r2) +/* 80272F70 0026FED0 D0 3F 10 7C */ stfs f1, 0x107c(r31) +/* 80272F74 0026FED4 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80272F78 0026FED8 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80272F7C 0026FEDC 48 09 F5 A5 */ bl Next__9CRandom16Fv +/* 80272F80 0026FEE0 3C A0 55 55 */ lis r5, 0x55555556@ha +/* 80272F84 0026FEE4 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 80272F88 0026FEE8 38 05 55 56 */ addi r0, r5, 0x55555556@l +/* 80272F8C 0026FEEC 7C A0 18 96 */ mulhw r5, r0, r3 +/* 80272F90 0026FEF0 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 80272F94 0026FEF4 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 80272F98 0026FEF8 7C 05 02 14 */ add r0, r5, r0 +/* 80272F9C 0026FEFC 1C 00 00 03 */ mulli r0, r0, 3 +/* 80272FA0 0026FF00 7C 00 18 50 */ subf r0, r0, r3 +/* 80272FA4 0026FF04 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80272FA8 0026FF08 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80272FAC 0026FF0C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80272FB0 0026FF10 54 00 10 3A */ slwi r0, r0, 2 +/* 80272FB4 0026FF14 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272FB8 0026FF18 4B EC 7A 21 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272FBC 0026FF1C 48 00 00 0C */ b lbl_80272FC8 +lbl_80272FC0: +/* 80272FC0 0026FF20 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) +/* 80272FC4 0026FF24 D0 1F 10 88 */ stfs f0, 0x1088(r31) +lbl_80272FC8: +/* 80272FC8 0026FF28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80272FCC 0026FF2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80272FD0 0026FF30 7C 08 03 A6 */ mtlr r0 +/* 80272FD4 0026FF34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80272FD8 0026FF38 4E 80 00 20 */ blr + +.global InActive__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +InActive__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272FDC 0026FF3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272FE0 0026FF40 7C 08 02 A6 */ mflr r0 +/* 80272FE4 0026FF44 2C 05 00 01 */ cmpwi r5, 1 +/* 80272FE8 0026FF48 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272FEC 0026FF4C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272FF0 0026FF50 7C 7F 1B 78 */ mr r31, r3 +/* 80272FF4 0026FF54 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272FF8 0026FF58 7C 9E 23 78 */ mr r30, r4 +/* 80272FFC 0026FF5C 41 82 00 94 */ beq lbl_80273090 +/* 80273000 0026FF60 40 80 00 10 */ bge lbl_80273010 +/* 80273004 0026FF64 2C 05 00 00 */ cmpwi r5, 0 +/* 80273008 0026FF68 40 80 00 14 */ bge lbl_8027301C +/* 8027300C 0026FF6C 48 00 01 60 */ b lbl_8027316C +lbl_80273010: +/* 80273010 0026FF70 2C 05 00 03 */ cmpwi r5, 3 +/* 80273014 0026FF74 40 80 01 58 */ bge lbl_8027316C +/* 80273018 0026FF78 48 00 00 EC */ b lbl_80273104 +lbl_8027301C: +/* 8027301C 0026FF7C C0 3F 10 80 */ lfs f1, 0x1080(r31) +/* 80273020 0026FF80 38 E0 00 00 */ li r7, 0 +/* 80273024 0026FF84 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) +/* 80273028 0026FF88 38 C0 00 01 */ li r6, 1 +/* 8027302C 0026FF8C D0 3F 10 84 */ stfs f1, 0x1084(r31) +/* 80273030 0026FF90 38 A0 00 00 */ li r5, 0 +/* 80273034 0026FF94 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80273038 0026FF98 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 8027303C 0026FF9C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 80273040 0026FFA0 98 1F 04 00 */ stb r0, 0x400(r31) +/* 80273044 0026FFA4 88 1F 09 14 */ lbz r0, 0x914(r31) +/* 80273048 0026FFA8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8027304C 0026FFAC 98 1F 09 14 */ stb r0, 0x914(r31) +/* 80273050 0026FFB0 48 00 57 B1 */ bl sub_80278800 +/* 80273054 0026FFB4 38 00 00 01 */ li r0, 1 +/* 80273058 0026FFB8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 8027305C 0026FFBC 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80273060 0026FFC0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80273064 0026FFC4 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80273068 0026FFC8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8027306C 0026FFCC 54 00 10 3A */ slwi r0, r0, 2 +/* 80273070 0026FFD0 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80273074 0026FFD4 4B EC 79 65 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80273078 0026FFD8 7F E3 FB 78 */ mr r3, r31 +/* 8027307C 0026FFDC 7F C4 F3 78 */ mr r4, r30 +/* 80273080 0026FFE0 48 00 58 49 */ bl sub_802788c8 +/* 80273084 0026FFE4 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80273088 0026FFE8 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 8027308C 0026FFEC 48 00 00 E0 */ b lbl_8027316C +lbl_80273090: +/* 80273090 0026FFF0 C0 1F 10 7C */ lfs f0, 0x107c(r31) +/* 80273094 0026FFF4 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80273098 0026FFF8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8027309C 0026FFFC 40 80 00 D0 */ bge lbl_8027316C +/* 802730A0 00270000 C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 802730A4 00270004 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802730A8 00270008 40 80 00 C4 */ bge lbl_8027316C +/* 802730AC 0027000C C0 3F 10 80 */ lfs f1, 0x1080(r31) +/* 802730B0 00270010 C0 02 BC 34 */ lfs f0, lbl_805AD954@sda21(r2) +/* 802730B4 00270014 D0 3F 10 7C */ stfs f1, 0x107c(r31) +/* 802730B8 00270018 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 802730BC 0027001C 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 802730C0 00270020 48 09 F4 61 */ bl Next__9CRandom16Fv +/* 802730C4 00270024 3C A0 55 55 */ lis r5, 0x55555556@ha +/* 802730C8 00270028 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 802730CC 0027002C 38 05 55 56 */ addi r0, r5, 0x55555556@l +/* 802730D0 00270030 7C A0 18 96 */ mulhw r5, r0, r3 +/* 802730D4 00270034 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 802730D8 00270038 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 802730DC 0027003C 7C 05 02 14 */ add r0, r5, r0 +/* 802730E0 00270040 1C 00 00 03 */ mulli r0, r0, 3 +/* 802730E4 00270044 7C 00 18 50 */ subf r0, r0, r3 +/* 802730E8 00270048 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 802730EC 0027004C 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 802730F0 00270050 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802730F4 00270054 54 00 10 3A */ slwi r0, r0, 2 +/* 802730F8 00270058 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802730FC 0027005C 4B EC 78 DD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80273100 00270060 48 00 00 6C */ b lbl_8027316C +lbl_80273104: +/* 80273104 00270064 88 1F 09 14 */ lbz r0, 0x914(r31) +/* 80273108 00270068 38 C0 00 00 */ li r6, 0 +/* 8027310C 0027006C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80273110 00270070 38 A0 00 01 */ li r5, 1 +/* 80273114 00270074 98 1F 09 14 */ stb r0, 0x914(r31) +/* 80273118 00270078 88 1F 14 44 */ lbz r0, 0x1444(r31) +/* 8027311C 0027007C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80273120 00270080 98 1F 14 44 */ stb r0, 0x1444(r31) +/* 80273124 00270084 48 00 56 DD */ bl sub_80278800 +/* 80273128 00270088 7F E3 FB 78 */ mr r3, r31 +/* 8027312C 0027008C 7F C4 F3 78 */ mr r4, r30 +/* 80273130 00270090 48 00 07 A5 */ bl sub_802738d4 +/* 80273134 00270094 C0 1F 10 80 */ lfs f0, 0x1080(r31) +/* 80273138 00270098 7F C3 F3 78 */ mr r3, r30 +/* 8027313C 0027009C C0 22 BC 38 */ lfs f1, lbl_805AD958@sda21(r2) +/* 80273140 002700A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80273144 002700A4 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80273148 002700A8 38 A0 00 5B */ li r5, 0x5b +/* 8027314C 002700AC C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 80273150 002700B0 D0 1F 10 88 */ stfs f0, 0x1088(r31) +/* 80273154 002700B4 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80273158 002700B8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027315C 002700BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80273160 002700C0 4B DD 0D E5 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 80273164 002700C4 80 1F 08 D4 */ lwz r0, 0x8d4(r31) +/* 80273168 002700C8 90 1F 08 D0 */ stw r0, 0x8d0(r31) +lbl_8027316C: +/* 8027316C 002700CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80273170 002700D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80273174 002700D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80273178 002700D8 7C 08 03 A6 */ mtlr r0 +/* 8027317C 002700DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80273180 002700E0 4E 80 00 20 */ blr + +.global Stuck__16CMetroidPrimeExoFR13CStateManagerf +Stuck__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273184 002700E4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80273188 002700E8 7C 08 02 A6 */ mflr r0 +/* 8027318C 002700EC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80273190 002700F0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80273194 002700F4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80273198 002700F8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8027319C 002700FC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802731A0 00270100 7C 9F 23 78 */ mr r31, r4 +/* 802731A4 00270104 7C 7E 1B 78 */ mr r30, r3 +/* 802731A8 00270108 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 802731AC 0027010C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802731B0 00270110 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 802731B4 00270114 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802731B8 00270118 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 802731BC 0027011C C0 FE 00 58 */ lfs f7, 0x58(r30) +/* 802731C0 00270120 C0 DE 00 48 */ lfs f6, 0x48(r30) +/* 802731C4 00270124 EC 21 00 28 */ fsubs f1, f1, f0 +/* 802731C8 00270128 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 802731CC 0027012C C0 A4 00 40 */ lfs f5, 0x40(r4) +/* 802731D0 00270130 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802731D4 00270134 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802731D8 00270138 C0 84 00 60 */ lfs f4, 0x60(r4) +/* 802731DC 0027013C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 802731E0 00270140 EC A5 00 28 */ fsubs f5, f5, f0 +/* 802731E4 00270144 C0 05 00 00 */ lfs f0, 0(r5) +/* 802731E8 00270148 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802731EC 0027014C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802731F0 00270150 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802731F4 00270154 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802731F8 00270158 C0 05 00 04 */ lfs f0, 4(r5) +/* 802731FC 0027015C EF E7 08 FA */ fmadds f31, f7, f3, f1 +/* 80273200 00270160 D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 80273204 00270164 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80273208 00270168 C0 05 00 08 */ lfs f0, 8(r5) +/* 8027320C 0027016C D0 E1 00 48 */ stfs f7, 0x48(r1) +/* 80273210 00270170 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80273214 00270174 48 0A 16 A5 */ bl Magnitude__9CVector3fCFv +/* 80273218 00270178 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) +/* 8027321C 0027017C C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) +/* 80273220 00270180 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80273224 00270184 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80273228 00270188 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8027322C 0027018C 40 80 00 0C */ bge lbl_80273238 +/* 80273230 00270190 38 60 00 00 */ li r3, 0 +/* 80273234 00270194 48 00 00 D8 */ b lbl_8027330C +lbl_80273238: +/* 80273238 00270198 7F C4 F3 78 */ mr r4, r30 +/* 8027323C 0027019C 7F E5 FB 78 */ mr r5, r31 +/* 80273240 002701A0 38 61 00 0C */ addi r3, r1, 0xc +/* 80273244 002701A4 38 C0 00 01 */ li r6, 1 +/* 80273248 002701A8 48 00 37 99 */ bl sub_802769e0 +/* 8027324C 002701AC A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80273250 002701B0 7F E3 FB 78 */ mr r3, r31 +/* 80273254 002701B4 38 81 00 08 */ addi r4, r1, 8 +/* 80273258 002701B8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8027325C 002701BC B0 01 00 08 */ sth r0, 8(r1) +/* 80273260 002701C0 4B DD 93 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80273264 002701C4 7C 64 1B 78 */ mr r4, r3 +/* 80273268 002701C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027326C 002701CC 4B E3 32 E1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80273270 002701D0 80 A3 00 04 */ lwz r5, 4(r3) +/* 80273274 002701D4 28 05 00 00 */ cmplwi r5, 0 +/* 80273278 002701D8 41 82 00 90 */ beq lbl_80273308 +/* 8027327C 002701DC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80273280 002701E0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80273284 002701E4 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 80273288 002701E8 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8027328C 002701EC C0 FE 00 58 */ lfs f7, 0x58(r30) +/* 80273290 002701F0 C0 DE 00 48 */ lfs f6, 0x48(r30) +/* 80273294 002701F4 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80273298 002701F8 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 8027329C 002701FC C0 A5 00 40 */ lfs f5, 0x40(r5) +/* 802732A0 00270200 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802732A4 00270204 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802732A8 00270208 C0 85 00 60 */ lfs f4, 0x60(r5) +/* 802732AC 0027020C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 802732B0 00270210 EC A5 00 28 */ fsubs f5, f5, f0 +/* 802732B4 00270214 C0 04 00 00 */ lfs f0, 0(r4) +/* 802732B8 00270218 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802732BC 0027021C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802732C0 00270220 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802732C4 00270224 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802732C8 00270228 C0 04 00 04 */ lfs f0, 4(r4) +/* 802732CC 0027022C EF E7 08 FA */ fmadds f31, f7, f3, f1 +/* 802732D0 00270230 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802732D4 00270234 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802732D8 00270238 C0 04 00 08 */ lfs f0, 8(r4) +/* 802732DC 0027023C D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 802732E0 00270240 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802732E4 00270244 48 0A 15 D5 */ bl Magnitude__9CVector3fCFv +/* 802732E8 00270248 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) +/* 802732EC 0027024C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 802732F0 00270250 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802732F4 00270254 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802732F8 00270258 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802732FC 0027025C 7C 00 00 26 */ mfcr r0 +/* 80273300 00270260 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80273304 00270264 48 00 00 08 */ b lbl_8027330C +lbl_80273308: +/* 80273308 00270268 38 60 00 01 */ li r3, 1 +lbl_8027330C: +/* 8027330C 0027026C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80273310 00270270 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80273314 00270274 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80273318 00270278 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027331C 0027027C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80273320 00270280 7C 08 03 A6 */ mtlr r0 +/* 80273324 00270284 38 21 00 70 */ addi r1, r1, 0x70 +/* 80273328 00270288 4E 80 00 20 */ blr + +.global PlayerSpot__16CMetroidPrimeExoFR13CStateManagerf +PlayerSpot__16CMetroidPrimeExoFR13CStateManagerf: +/* 8027332C 0027028C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273330 00270290 7C 08 02 A6 */ mflr r0 +/* 80273334 00270294 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273338 00270298 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8027333C 0027029C 4B DA 29 C1 */ bl GetFrozenState__7CPlayerCFv +/* 80273340 002702A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273344 002702A4 7C 08 03 A6 */ mtlr r0 +/* 80273348 002702A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027334C 002702AC 4E 80 00 20 */ blr + +.global CoverCheck__16CMetroidPrimeExoFR13CStateManagerf +CoverCheck__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273350 002702B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273354 002702B4 7C 08 02 A6 */ mflr r0 +/* 80273358 002702B8 C0 22 BC 48 */ lfs f1, lbl_805AD968@sda21(r2) +/* 8027335C 002702BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273360 002702C0 48 00 3E C5 */ bl sub_80277224 +/* 80273364 002702C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273368 002702C8 7C 08 03 A6 */ mtlr r0 +/* 8027336C 002702CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80273370 002702D0 4E 80 00 20 */ blr + +.global AggressionCheck__16CMetroidPrimeExoFR13CStateManagerf +AggressionCheck__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273374 002702D4 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80273378 002702D8 7C 08 02 A6 */ mflr r0 +/* 8027337C 002702DC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80273380 002702E0 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80273384 002702E4 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80273388 002702E8 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8027338C 002702EC F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80273390 002702F0 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80273394 002702F4 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80273398 002702F8 DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8027339C 002702FC F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 802733A0 00270300 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 802733A4 00270304 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 802733A8 00270308 DB 41 00 60 */ stfd f26, 0x60(r1) +/* 802733AC 0027030C F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 802733B0 00270310 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802733B4 00270314 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 802733B8 00270318 7C 7F 1B 78 */ mr r31, r3 +/* 802733BC 0027031C 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 802733C0 00270320 38 61 00 14 */ addi r3, r1, 0x14 +/* 802733C4 00270324 C3 45 00 60 */ lfs f26, 0x60(r5) +/* 802733C8 00270328 C3 65 00 50 */ lfs f27, 0x50(r5) +/* 802733CC 0027032C C3 85 00 40 */ lfs f28, 0x40(r5) +/* 802733D0 00270330 4B D9 18 E9 */ bl string_l__4rstlFPCc +/* 802733D4 00270334 7F E4 FB 78 */ mr r4, r31 +/* 802733D8 00270338 38 61 00 24 */ addi r3, r1, 0x24 +/* 802733DC 0027033C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802733E0 00270340 4B E0 55 99 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802733E4 00270344 C3 A1 00 50 */ lfs f29, 0x50(r1) +/* 802733E8 00270348 38 61 00 14 */ addi r3, r1, 0x14 +/* 802733EC 0027034C C3 C1 00 40 */ lfs f30, 0x40(r1) +/* 802733F0 00270350 C3 E1 00 30 */ lfs f31, 0x30(r1) +/* 802733F4 00270354 48 0C A6 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802733F8 00270358 EC 3C F8 28 */ fsubs f1, f28, f31 +/* 802733FC 0027035C C0 02 BC 4C */ lfs f0, lbl_805AD96C@sda21(r2) +/* 80273400 00270360 EC BB F0 28 */ fsubs f5, f27, f30 +/* 80273404 00270364 EC 9A E8 28 */ fsubs f4, f26, f29 +/* 80273408 00270368 EC 41 00 72 */ fmuls f2, f1, f1 +/* 8027340C 0027036C D0 21 00 08 */ stfs f1, 8(r1) +/* 80273410 00270370 EC 25 01 72 */ fmuls f1, f5, f5 +/* 80273414 00270374 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80273418 00270378 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8027341C 0027037C EC 22 08 2A */ fadds f1, f2, f1 +/* 80273420 00270380 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80273424 00270384 EC 23 08 2A */ fadds f1, f3, f1 +/* 80273428 00270388 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027342C 0027038C 7C 00 00 26 */ mfcr r0 +/* 80273430 00270390 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80273434 00270394 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80273438 00270398 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8027343C 0027039C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80273440 002703A0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80273444 002703A4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80273448 002703A8 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8027344C 002703AC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 80273450 002703B0 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 80273454 002703B4 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 80273458 002703B8 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8027345C 002703BC E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 80273460 002703C0 CB 41 00 60 */ lfd f26, 0x60(r1) +/* 80273464 002703C4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80273468 002703C8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027346C 002703CC 7C 08 03 A6 */ mtlr r0 +/* 80273470 002703D0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80273474 002703D4 4E 80 00 20 */ blr + +.global AIStage__16CMetroidPrimeExoFR13CStateManagerf +AIStage__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273478 002703D8 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 8027347C 002703DC 38 80 00 00 */ li r4, 0 +/* 80273480 002703E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80273484 002703E4 40 80 00 10 */ bge lbl_80273494 +/* 80273488 002703E8 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 8027348C 002703EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80273490 002703F0 41 82 00 48 */ beq lbl_802734D8 +lbl_80273494: +/* 80273494 002703F4 C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) +/* 80273498 002703F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027349C 002703FC 40 81 00 10 */ ble lbl_802734AC +/* 802734A0 00270400 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 802734A4 00270404 2C 00 00 02 */ cmpwi r0, 2 +/* 802734A8 00270408 41 82 00 30 */ beq lbl_802734D8 +lbl_802734AC: +/* 802734AC 0027040C 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 802734B0 00270410 2C 00 00 01 */ cmpwi r0, 1 +/* 802734B4 00270414 40 82 00 28 */ bne lbl_802734DC +/* 802734B8 00270418 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 802734BC 0027041C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802734C0 00270420 4C 41 13 82 */ cror 2, 1, 2 +/* 802734C4 00270424 40 82 00 18 */ bne lbl_802734DC +/* 802734C8 00270428 C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) +/* 802734CC 0027042C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802734D0 00270430 4C 40 13 82 */ cror 2, 0, 2 +/* 802734D4 00270434 40 82 00 08 */ bne lbl_802734DC +lbl_802734D8: +/* 802734D8 00270438 38 80 00 01 */ li r4, 1 +lbl_802734DC: +/* 802734DC 0027043C 7C 83 23 78 */ mr r3, r4 +/* 802734E0 00270440 4E 80 00 20 */ blr + +.global sub_802734e4 +sub_802734e4: +/* 802734E4 00270444 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 802734E8 00270448 20 00 00 0B */ subfic r0, r0, 0xb +/* 802734EC 0027044C 7C 00 00 34 */ cntlzw r0, r0 +/* 802734F0 00270450 54 03 D9 7E */ srwi r3, r0, 5 +/* 802734F4 00270454 4E 80 00 20 */ blr + +.global AttackOver__16CMetroidPrimeExoFR13CStateManagerf +AttackOver__16CMetroidPrimeExoFR13CStateManagerf: +/* 802734F8 00270458 88 83 08 F4 */ lbz r4, 0x8f4(r3) +/* 802734FC 0027045C 38 A0 00 00 */ li r5, 0 +/* 80273500 00270460 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 80273504 00270464 40 82 00 18 */ bne lbl_8027351C +/* 80273508 00270468 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 8027350C 0027046C 40 82 00 10 */ bne lbl_8027351C +/* 80273510 00270470 88 03 10 54 */ lbz r0, 0x1054(r3) +/* 80273514 00270474 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80273518 00270478 41 82 00 08 */ beq lbl_80273520 +lbl_8027351C: +/* 8027351C 0027047C 38 A0 00 01 */ li r5, 1 +lbl_80273520: +/* 80273520 00270480 7C A3 2B 78 */ mr r3, r5 +/* 80273524 00270484 4E 80 00 20 */ blr + +.global sub_80273528 +sub_80273528: +/* 80273528 00270488 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 8027352C 0027048C 20 00 00 0A */ subfic r0, r0, 0xa +/* 80273530 00270490 7C 00 00 34 */ cntlzw r0, r0 +/* 80273534 00270494 54 03 D9 7E */ srwi r3, r0, 5 +/* 80273538 00270498 4E 80 00 20 */ blr + +.global sub_8027353c +sub_8027353c: +/* 8027353C 0027049C 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273540 002704A0 20 00 00 0C */ subfic r0, r0, 0xc +/* 80273544 002704A4 7C 00 00 34 */ cntlzw r0, r0 +/* 80273548 002704A8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027354C 002704AC 4E 80 00 20 */ blr + +.global sub_80273550 +sub_80273550: +/* 80273550 002704B0 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273554 002704B4 20 00 00 09 */ subfic r0, r0, 9 +/* 80273558 002704B8 7C 00 00 34 */ cntlzw r0, r0 +/* 8027355C 002704BC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80273560 002704C0 4E 80 00 20 */ blr + +.global sub_80273564 +sub_80273564: +/* 80273564 002704C4 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273568 002704C8 38 60 00 00 */ li r3, 0 +/* 8027356C 002704CC 2C 00 00 06 */ cmpwi r0, 6 +/* 80273570 002704D0 41 82 00 14 */ beq lbl_80273584 +/* 80273574 002704D4 2C 00 00 07 */ cmpwi r0, 7 +/* 80273578 002704D8 41 82 00 0C */ beq lbl_80273584 +/* 8027357C 002704DC 2C 00 00 08 */ cmpwi r0, 8 +/* 80273580 002704E0 4C 82 00 20 */ bnelr +lbl_80273584: +/* 80273584 002704E4 38 60 00 01 */ li r3, 1 +/* 80273588 002704E8 4E 80 00 20 */ blr + +.global sub_8027358c +sub_8027358c: +/* 8027358C 002704EC 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273590 002704F0 38 60 00 00 */ li r3, 0 +/* 80273594 002704F4 2C 00 00 02 */ cmpwi r0, 2 +/* 80273598 002704F8 41 82 00 1C */ beq lbl_802735B4 +/* 8027359C 002704FC 2C 00 00 03 */ cmpwi r0, 3 +/* 802735A0 00270500 41 82 00 14 */ beq lbl_802735B4 +/* 802735A4 00270504 2C 00 00 04 */ cmpwi r0, 4 +/* 802735A8 00270508 41 82 00 0C */ beq lbl_802735B4 +/* 802735AC 0027050C 2C 00 00 05 */ cmpwi r0, 5 +/* 802735B0 00270510 4C 82 00 20 */ bnelr +lbl_802735B4: +/* 802735B4 00270514 38 60 00 01 */ li r3, 1 +/* 802735B8 00270518 4E 80 00 20 */ blr + +.global ShouldTurn__16CMetroidPrimeExoFR13CStateManagerf +ShouldTurn__16CMetroidPrimeExoFR13CStateManagerf: +/* 802735BC 0027051C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802735C0 00270520 7C 08 02 A6 */ mflr r0 +/* 802735C4 00270524 90 01 00 34 */ stw r0, 0x34(r1) +/* 802735C8 00270528 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802735CC 0027052C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802735D0 00270530 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 802735D4 00270534 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 802735D8 00270538 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802735DC 0027053C C0 03 00 50 */ lfs f0, 0x50(r3) +/* 802735E0 00270540 C0 E3 00 58 */ lfs f7, 0x58(r3) +/* 802735E4 00270544 C0 C3 00 48 */ lfs f6, 0x48(r3) +/* 802735E8 00270548 EC 21 00 28 */ fsubs f1, f1, f0 +/* 802735EC 0027054C C0 43 00 38 */ lfs f2, 0x38(r3) +/* 802735F0 00270550 C0 A4 00 40 */ lfs f5, 0x40(r4) +/* 802735F4 00270554 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 802735F8 00270558 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802735FC 0027055C C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80273600 00270560 38 61 00 08 */ addi r3, r1, 8 +/* 80273604 00270564 C0 84 00 60 */ lfs f4, 0x60(r4) +/* 80273608 00270568 EC A5 00 28 */ fsubs f5, f5, f0 +/* 8027360C 0027056C C0 05 00 00 */ lfs f0, 0(r5) +/* 80273610 00270570 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80273614 00270574 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80273618 00270578 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 8027361C 0027057C D0 01 00 08 */ stfs f0, 8(r1) +/* 80273620 00270580 C0 05 00 04 */ lfs f0, 4(r5) +/* 80273624 00270584 EF E7 08 FA */ fmadds f31, f7, f3, f1 +/* 80273628 00270588 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 8027362C 0027058C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80273630 00270590 C0 05 00 08 */ lfs f0, 8(r5) +/* 80273634 00270594 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 80273638 00270598 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027363C 0027059C 48 0A 12 7D */ bl Magnitude__9CVector3fCFv +/* 80273640 002705A0 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80273644 002705A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80273648 002705A8 7C 00 00 26 */ mfcr r0 +/* 8027364C 002705AC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80273650 002705B0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80273654 002705B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80273658 002705B8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8027365C 002705BC 7C 08 03 A6 */ mtlr r0 +/* 80273660 002705C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80273664 002705C4 4E 80 00 20 */ blr + +.global InMaxRange__16CMetroidPrimeExoFR13CStateManagerf +InMaxRange__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273668 002705C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027366C 002705CC 7C 08 02 A6 */ mflr r0 +/* 80273670 002705D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80273674 002705D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80273678 002705D8 3B E0 00 00 */ li r31, 0 +/* 8027367C 002705DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80273680 002705E0 7C 9E 23 78 */ mr r30, r4 +/* 80273684 002705E4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80273688 002705E8 7C 7D 1B 78 */ mr r29, r3 +/* 8027368C 002705EC 4B F8 2D 59 */ bl InMaxRange__10CPatternedFR13CStateManagerf +/* 80273690 002705F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80273694 002705F4 40 82 00 64 */ bne lbl_802736F8 +/* 80273698 002705F8 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 8027369C 002705FC 7F A3 EB 78 */ mr r3, r29 +/* 802736A0 00270600 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 802736A4 00270604 7F C4 F3 78 */ mr r4, r30 +/* 802736A8 00270608 C0 25 00 00 */ lfs f1, 0(r5) +/* 802736AC 0027060C 48 00 3B 79 */ bl sub_80277224 +/* 802736B0 00270610 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802736B4 00270614 40 82 00 48 */ bne lbl_802736FC +/* 802736B8 00270618 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 802736BC 0027061C 7F A3 EB 78 */ mr r3, r29 +/* 802736C0 00270620 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 802736C4 00270624 7F C4 F3 78 */ mr r4, r30 +/* 802736C8 00270628 C0 25 00 04 */ lfs f1, 4(r5) +/* 802736CC 0027062C 48 00 3B 59 */ bl sub_80277224 +/* 802736D0 00270630 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802736D4 00270634 40 82 00 28 */ bne lbl_802736FC +/* 802736D8 00270638 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 802736DC 0027063C 7F A3 EB 78 */ mr r3, r29 +/* 802736E0 00270640 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 802736E4 00270644 7F C4 F3 78 */ mr r4, r30 +/* 802736E8 00270648 C0 25 00 08 */ lfs f1, 8(r5) +/* 802736EC 0027064C 48 00 3B 39 */ bl sub_80277224 +/* 802736F0 00270650 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802736F4 00270654 40 82 00 08 */ bne lbl_802736FC +lbl_802736F8: +/* 802736F8 00270658 3B E0 00 01 */ li r31, 1 +lbl_802736FC: +/* 802736FC 0027065C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80273700 00270660 7F E3 FB 78 */ mr r3, r31 +/* 80273704 00270664 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80273708 00270668 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027370C 0027066C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80273710 00270670 7C 08 03 A6 */ mtlr r0 +/* 80273714 00270674 38 21 00 20 */ addi r1, r1, 0x20 +/* 80273718 00270678 4E 80 00 20 */ blr + +.global TooClose__16CMetroidPrimeExoFR13CStateManagerf +TooClose__16CMetroidPrimeExoFR13CStateManagerf: +/* 8027371C 0027067C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273720 00270680 7C 08 02 A6 */ mflr r0 +/* 80273724 00270684 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273728 00270688 4B F8 2D 31 */ bl TooClose__10CPatternedFR13CStateManagerf +/* 8027372C 0027068C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273730 00270690 7C 08 03 A6 */ mtlr r0 +/* 80273734 00270694 38 21 00 10 */ addi r1, r1, 0x10 +/* 80273738 00270698 4E 80 00 20 */ blr + +.global ShouldDoubleSnap__16CMetroidPrimeExoFR13CStateManagerf +ShouldDoubleSnap__16CMetroidPrimeExoFR13CStateManagerf: +/* 8027373C 0027069C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273740 002706A0 7C 08 02 A6 */ mflr r0 +/* 80273744 002706A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273748 002706A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027374C 002706AC 3B E0 00 00 */ li r31, 0 +/* 80273750 002706B0 88 03 03 28 */ lbz r0, 0x328(r3) +/* 80273754 002706B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80273758 002706B8 40 82 00 24 */ bne lbl_8027377C +/* 8027375C 002706BC A0 A3 02 DC */ lhz r5, 0x2dc(r3) +/* 80273760 002706C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80273764 002706C4 7C 05 00 40 */ cmplw r5, r0 +/* 80273768 002706C8 41 82 00 14 */ beq lbl_8027377C +/* 8027376C 002706CC C0 22 BC 54 */ lfs f1, lbl_805AD974@sda21(r2) +/* 80273770 002706D0 48 00 3A B5 */ bl sub_80277224 +/* 80273774 002706D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80273778 002706D8 40 82 00 08 */ bne lbl_80273780 +lbl_8027377C: +/* 8027377C 002706DC 3B E0 00 01 */ li r31, 1 +lbl_80273780: +/* 80273780 002706E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273784 002706E4 7F E3 FB 78 */ mr r3, r31 +/* 80273788 002706E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027378C 002706EC 7C 08 03 A6 */ mtlr r0 +/* 80273790 002706F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80273794 002706F4 4E 80 00 20 */ blr + +.global sub_80273798 +sub_80273798: +/* 80273798 002706F8 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 8027379C 002706FC 20 00 00 0D */ subfic r0, r0, 0xd +/* 802737A0 00270700 7C 00 00 34 */ cntlzw r0, r0 +/* 802737A4 00270704 54 03 D9 7E */ srwi r3, r0, 5 +/* 802737A8 00270708 4E 80 00 20 */ blr + +.global sub_802737ac +sub_802737ac: +/* 802737AC 0027070C 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 802737B0 00270710 20 00 00 01 */ subfic r0, r0, 1 +/* 802737B4 00270714 7C 00 00 34 */ cntlzw r0, r0 +/* 802737B8 00270718 54 03 D9 7E */ srwi r3, r0, 5 +/* 802737BC 0027071C 4E 80 00 20 */ blr + +.global StartAttack__16CMetroidPrimeExoFR13CStateManagerf +StartAttack__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737C0 00270720 C0 23 09 20 */ lfs f1, 0x920(r3) +/* 802737C4 00270724 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802737C8 00270728 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802737CC 0027072C 4C 40 13 82 */ cror 2, 0, 2 +/* 802737D0 00270730 7C 00 00 26 */ mfcr r0 +/* 802737D4 00270734 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802737D8 00270738 4E 80 00 20 */ blr + +.global ShouldRetreat__16CMetroidPrimeExoFR13CStateManagerf +ShouldRetreat__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737DC 0027073C 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 802737E0 00270740 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 802737E4 00270744 4E 80 00 20 */ blr + +.global ShouldFlinch__16CMetroidPrimeExoFR13CStateManagerf +ShouldFlinch__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737E8 00270748 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 802737EC 0027074C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 802737F0 00270750 4E 80 00 20 */ blr + +.global InPosition__16CMetroidPrimeExoFR13CStateManagerf +InPosition__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737F4 00270754 C0 23 10 84 */ lfs f1, 0x1084(r3) +/* 802737F8 00270758 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802737FC 0027075C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80273800 00270760 4C 40 13 82 */ cror 2, 0, 2 +/* 80273804 00270764 7C 00 00 26 */ mfcr r0 +/* 80273808 00270768 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 8027380C 0027076C 4E 80 00 20 */ blr + +.global CodeTrigger__16CMetroidPrimeExoFR13CStateManagerf +CodeTrigger__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273810 00270770 88 03 14 44 */ lbz r0, 0x1444(r3) +/* 80273814 00270774 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 80273818 00270778 4E 80 00 20 */ blr + +.global sub_8027381c +sub_8027381c: +/* 8027381C 0027077C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80273820 00270780 7C 08 02 A6 */ mflr r0 +/* 80273824 00270784 3C E0 80 3E */ lis r7, lbl_803DAA68@ha +/* 80273828 00270788 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027382C 0027078C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80273830 00270790 38 E7 AA 68 */ addi r7, r7, lbl_803DAA68@l +/* 80273834 00270794 39 00 00 13 */ li r8, 0x13 +/* 80273838 00270798 88 81 00 14 */ lbz r4, 0x14(r1) +/* 8027383C 0027079C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80273840 002707A0 38 C0 00 00 */ li r6, 0 +/* 80273844 002707A4 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 +/* 80273848 002707A8 81 23 04 50 */ lwz r9, 0x450(r3) +/* 8027384C 002707AC 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 80273850 002707B0 90 E1 00 08 */ stw r7, 8(r1) +/* 80273854 002707B4 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80273858 002707B8 38 E3 FE 40 */ addi r7, r3, lbl_803DFE40@l +/* 8027385C 002707BC 3B E9 00 04 */ addi r31, r9, 4 +/* 80273860 002707C0 98 81 00 14 */ stb r4, 0x14(r1) +/* 80273864 002707C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80273868 002707C8 7F E3 FB 78 */ mr r3, r31 +/* 8027386C 002707CC 38 80 00 13 */ li r4, 0x13 +/* 80273870 002707D0 91 01 00 0C */ stw r8, 0xc(r1) +/* 80273874 002707D4 90 E1 00 08 */ stw r7, 8(r1) +/* 80273878 002707D8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8027387C 002707DC 98 01 00 14 */ stb r0, 0x14(r1) +/* 80273880 002707E0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80273884 002707E4 4B EB DB B5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80273888 002707E8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027388C 002707EC 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 80273890 002707F0 38 83 FE 40 */ addi r4, r3, lbl_803DFE40@l +/* 80273894 002707F4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80273898 002707F8 90 1F 02 20 */ stw r0, 0x220(r31) +/* 8027389C 002707FC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802738A0 00270800 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 802738A4 00270804 88 61 00 14 */ lbz r3, 0x14(r1) +/* 802738A8 00270808 90 BF 02 24 */ stw r5, 0x224(r31) +/* 802738AC 0027080C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802738B0 00270810 98 7F 02 28 */ stb r3, 0x228(r31) +/* 802738B4 00270814 90 81 00 08 */ stw r4, 8(r1) +/* 802738B8 00270818 D0 1F 02 2C */ stfs f0, 0x22c(r31) +/* 802738BC 0027081C 90 01 00 08 */ stw r0, 8(r1) +/* 802738C0 00270820 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802738C4 00270824 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802738C8 00270828 7C 08 03 A6 */ mtlr r0 +/* 802738CC 0027082C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802738D0 00270830 4E 80 00 20 */ blr + +.global sub_802738d4 +sub_802738d4: +/* 802738D4 00270834 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802738D8 00270838 7C 08 02 A6 */ mflr r0 +/* 802738DC 0027083C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802738E0 00270840 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802738E4 00270844 7C 7F 1B 78 */ mr r31, r3 +/* 802738E8 00270848 80 64 09 00 */ lwz r3, 0x900(r4) +/* 802738EC 0027084C C0 3F 09 24 */ lfs f1, 0x924(r31) +/* 802738F0 00270850 C0 5F 09 28 */ lfs f2, 0x928(r31) +/* 802738F4 00270854 48 09 EC 51 */ bl Range__9CRandom16Fff +/* 802738F8 00270858 D0 3F 09 20 */ stfs f1, 0x920(r31) +/* 802738FC 0027085C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273900 00270860 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80273904 00270864 7C 08 03 A6 */ mtlr r0 +/* 80273908 00270868 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027390C 0027086C 4E 80 00 20 */ blr + +.global sub_80273910 +sub_80273910: +/* 80273910 00270870 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80273914 00270874 7C 08 02 A6 */ mflr r0 +/* 80273918 00270878 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027391C 0027087C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80273920 00270880 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 80273924 00270884 7C 7F 1B 78 */ mr r31, r3 +/* 80273928 00270888 7C 9A 23 78 */ mr r26, r4 +/* 8027392C 0027088C C0 43 10 74 */ lfs f2, 0x1074(r3) +/* 80273930 00270890 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80273934 00270894 4C 40 13 82 */ cror 2, 0, 2 +/* 80273938 00270898 40 82 00 5C */ bne lbl_80273994 +/* 8027393C 0027089C 80 BF 10 6C */ lwz r5, 0x106c(r31) +/* 80273940 002708A0 38 60 00 00 */ li r3, 0 +/* 80273944 002708A4 2C 05 00 00 */ cmpwi r5, 0 +/* 80273948 002708A8 40 81 00 40 */ ble lbl_80273988 +/* 8027394C 002708AC 2C 05 00 08 */ cmpwi r5, 8 +/* 80273950 002708B0 38 85 FF F8 */ addi r4, r5, -8 +/* 80273954 002708B4 40 81 00 20 */ ble lbl_80273974 +/* 80273958 002708B8 38 04 00 07 */ addi r0, r4, 7 +/* 8027395C 002708BC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80273960 002708C0 7C 09 03 A6 */ mtctr r0 +/* 80273964 002708C4 2C 04 00 00 */ cmpwi r4, 0 +/* 80273968 002708C8 40 81 00 0C */ ble lbl_80273974 +lbl_8027396C: +/* 8027396C 002708CC 38 63 00 08 */ addi r3, r3, 8 +/* 80273970 002708D0 42 00 FF FC */ bdnz lbl_8027396C +lbl_80273974: +/* 80273974 002708D4 7C 03 28 50 */ subf r0, r3, r5 +/* 80273978 002708D8 7C 09 03 A6 */ mtctr r0 +/* 8027397C 002708DC 7C 03 28 00 */ cmpw r3, r5 +/* 80273980 002708E0 40 80 00 08 */ bge lbl_80273988 +lbl_80273984: +/* 80273984 002708E4 42 00 00 00 */ bdnz lbl_80273984 +lbl_80273988: +/* 80273988 002708E8 38 00 00 00 */ li r0, 0 +/* 8027398C 002708EC 90 1F 10 6C */ stw r0, 0x106c(r31) +/* 80273990 002708F0 48 00 00 C0 */ b lbl_80273A50 +lbl_80273994: +/* 80273994 002708F4 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80273998 002708F8 3B 9F 10 70 */ addi r28, r31, 0x1070 +/* 8027399C 002708FC 7F 9B E3 78 */ mr r27, r28 +/* 802739A0 00270900 3B C0 00 00 */ li r30, 0 +/* 802739A4 00270904 D0 1F 10 74 */ stfs f0, 0x1074(r31) +/* 802739A8 00270908 48 00 00 94 */ b lbl_80273A3C +lbl_802739AC: +/* 802739AC 0027090C A0 1B 00 00 */ lhz r0, 0(r27) +/* 802739B0 00270910 7F 43 D3 78 */ mr r3, r26 +/* 802739B4 00270914 38 81 00 08 */ addi r4, r1, 8 +/* 802739B8 00270918 B0 01 00 08 */ sth r0, 8(r1) +/* 802739BC 0027091C 4B DD 8B B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802739C0 00270920 7C 64 1B 78 */ mr r4, r3 +/* 802739C4 00270924 38 61 00 0C */ addi r3, r1, 0xc +/* 802739C8 00270928 4B E3 1B DD */ bl sub_800a55a4 +/* 802739CC 0027092C 4B E3 1B AD */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 802739D0 00270930 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802739D4 00270934 41 82 00 64 */ beq lbl_80273A38 +/* 802739D8 00270938 38 82 BB D4 */ addi r4, r2, lbl_805AD8F4@sda21 +/* 802739DC 0027093C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802739E0 00270940 7C 84 F0 2E */ lwzx r4, r4, r30 +/* 802739E4 00270944 3B DE 00 04 */ addi r30, r30, 4 +/* 802739E8 00270948 4B D9 12 D1 */ bl string_l__4rstlFPCc +/* 802739EC 0027094C 7F E4 FB 78 */ mr r4, r31 +/* 802739F0 00270950 38 61 00 20 */ addi r3, r1, 0x20 +/* 802739F4 00270954 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802739F8 00270958 4B E0 4F 81 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802739FC 0027095C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80273A00 00270960 38 81 00 20 */ addi r4, r1, 0x20 +/* 80273A04 00270964 48 09 F1 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80273A08 00270968 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80273A0C 0027096C 38 80 00 01 */ li r4, 1 +/* 80273A10 00270970 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80273A14 00270974 38 61 00 10 */ addi r3, r1, 0x10 +/* 80273A18 00270978 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80273A1C 0027097C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80273A20 00270980 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80273A24 00270984 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80273A28 00270988 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80273A2C 0027098C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80273A30 00270990 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80273A34 00270994 48 0C A0 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80273A38: +/* 80273A38 00270998 3B 7B 00 02 */ addi r27, r27, 2 +lbl_80273A3C: +/* 80273A3C 0027099C 80 1F 10 6C */ lwz r0, 0x106c(r31) +/* 80273A40 002709A0 54 00 08 3C */ slwi r0, r0, 1 +/* 80273A44 002709A4 7C 1C 02 14 */ add r0, r28, r0 +/* 80273A48 002709A8 7C 1B 00 40 */ cmplw r27, r0 +/* 80273A4C 002709AC 40 82 FF 60 */ bne lbl_802739AC +lbl_80273A50: +/* 80273A50 002709B0 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 80273A54 002709B4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80273A58 002709B8 7C 08 03 A6 */ mtlr r0 +/* 80273A5C 002709BC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80273A60 002709C0 4E 80 00 20 */ blr + +.global sub_80273a64 +sub_80273a64: +/* 80273A64 002709C4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80273A68 002709C8 7C 08 02 A6 */ mflr r0 +/* 80273A6C 002709CC 90 01 00 94 */ stw r0, 0x94(r1) +/* 80273A70 002709D0 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 80273A74 002709D4 7C 7D 1B 78 */ mr r29, r3 +/* 80273A78 002709D8 7C 9E 23 78 */ mr r30, r4 +/* 80273A7C 002709DC 3B E0 FF FF */ li r31, -1 +/* 80273A80 002709E0 80 03 05 70 */ lwz r0, 0x570(r3) +/* 80273A84 002709E4 2C 00 00 02 */ cmpwi r0, 2 +/* 80273A88 002709E8 41 82 00 34 */ beq lbl_80273ABC +/* 80273A8C 002709EC 40 80 00 14 */ bge lbl_80273AA0 +/* 80273A90 002709F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80273A94 002709F4 41 82 00 18 */ beq lbl_80273AAC +/* 80273A98 002709F8 40 80 00 1C */ bge lbl_80273AB4 +/* 80273A9C 002709FC 48 00 00 2C */ b lbl_80273AC8 +lbl_80273AA0: +/* 80273AA0 00270A00 2C 00 00 04 */ cmpwi r0, 4 +/* 80273AA4 00270A04 40 80 00 24 */ bge lbl_80273AC8 +/* 80273AA8 00270A08 48 00 00 1C */ b lbl_80273AC4 +lbl_80273AAC: +/* 80273AAC 00270A0C 3B E0 00 01 */ li r31, 1 +/* 80273AB0 00270A10 48 00 00 18 */ b lbl_80273AC8 +lbl_80273AB4: +/* 80273AB4 00270A14 3B E0 00 02 */ li r31, 2 +/* 80273AB8 00270A18 48 00 00 10 */ b lbl_80273AC8 +lbl_80273ABC: +/* 80273ABC 00270A1C 3B E0 00 03 */ li r31, 3 +/* 80273AC0 00270A20 48 00 00 08 */ b lbl_80273AC8 +lbl_80273AC4: +/* 80273AC4 00270A24 3B E0 00 00 */ li r31, 0 +lbl_80273AC8: +/* 80273AC8 00270A28 88 0D A5 88 */ lbz r0, lbl_805A9148@sda21(r13) +/* 80273ACC 00270A2C 7C 00 07 75 */ extsb. r0, r0 +/* 80273AD0 00270A30 40 82 00 14 */ bne lbl_80273AE4 +/* 80273AD4 00270A34 38 60 00 00 */ li r3, 0 +/* 80273AD8 00270A38 38 00 00 01 */ li r0, 1 +/* 80273ADC 00270A3C 90 6D A5 84 */ stw r3, lbl_805A9144@sda21(r13) +/* 80273AE0 00270A40 98 0D A5 88 */ stb r0, lbl_805A9148@sda21(r13) +lbl_80273AE4: +/* 80273AE4 00270A44 3B 9D 10 5C */ addi r28, r29, 0x105c +/* 80273AE8 00270A48 7F 9B E3 78 */ mr r27, r28 +/* 80273AEC 00270A4C 48 00 01 64 */ b lbl_80273C50 +lbl_80273AF0: +/* 80273AF0 00270A50 80 1B 00 00 */ lwz r0, 0(r27) +/* 80273AF4 00270A54 7F C4 F3 78 */ mr r4, r30 +/* 80273AF8 00270A58 38 61 00 14 */ addi r3, r1, 0x14 +/* 80273AFC 00270A5C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80273B00 00270A60 90 01 00 28 */ stw r0, 0x28(r1) +/* 80273B04 00270A64 4B DD 44 19 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80273B08 00270A68 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80273B0C 00270A6C 7F C3 F3 78 */ mr r3, r30 +/* 80273B10 00270A70 38 81 00 18 */ addi r4, r1, 0x18 +/* 80273B14 00270A74 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80273B18 00270A78 4B DD 8A 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80273B1C 00270A7C 7C 64 1B 78 */ mr r4, r3 +/* 80273B20 00270A80 38 61 00 20 */ addi r3, r1, 0x20 +/* 80273B24 00270A84 4B E3 1A 81 */ bl sub_800a55a4 +/* 80273B28 00270A88 4B E3 1A 51 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 80273B2C 00270A8C 28 03 00 00 */ cmplwi r3, 0 +/* 80273B30 00270A90 41 82 01 1C */ beq lbl_80273C4C +/* 80273B34 00270A94 80 03 05 70 */ lwz r0, 0x570(r3) +/* 80273B38 00270A98 7C 1F 00 00 */ cmpw r31, r0 +/* 80273B3C 00270A9C 40 82 01 10 */ bne lbl_80273C4C +/* 80273B40 00270AA0 7F C4 F3 78 */ mr r4, r30 +/* 80273B44 00270AA4 7F 65 DB 78 */ mr r5, r27 +/* 80273B48 00270AA8 38 61 00 2C */ addi r3, r1, 0x2c +/* 80273B4C 00270AAC 4B DD 47 9D */ bl GenerateObject__13CStateManagerF9TEditorId +/* 80273B50 00270AB0 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80273B54 00270AB4 7F C3 F3 78 */ mr r3, r30 +/* 80273B58 00270AB8 38 81 00 10 */ addi r4, r1, 0x10 +/* 80273B5C 00270ABC B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80273B60 00270AC0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80273B64 00270AC4 4B DD 8A 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80273B68 00270AC8 7C 64 1B 78 */ mr r4, r3 +/* 80273B6C 00270ACC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80273B70 00270AD0 4B E3 1A 35 */ bl sub_800a55a4 +/* 80273B74 00270AD4 4B E3 1A 05 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 80273B78 00270AD8 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80273B7C 00270ADC 41 82 00 D0 */ beq lbl_80273C4C +/* 80273B80 00270AE0 80 CD A5 84 */ lwz r6, lbl_805A9144@sda21(r13) +/* 80273B84 00270AE4 38 82 BB D4 */ addi r4, r2, lbl_805AD8F4@sda21 +/* 80273B88 00270AE8 38 61 00 34 */ addi r3, r1, 0x34 +/* 80273B8C 00270AEC 38 A6 00 01 */ addi r5, r6, 1 +/* 80273B90 00270AF0 54 C0 17 7A */ rlwinm r0, r6, 2, 0x1d, 0x1d +/* 80273B94 00270AF4 90 AD A5 84 */ stw r5, lbl_805A9144@sda21(r13) +/* 80273B98 00270AF8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80273B9C 00270AFC 4B D9 11 1D */ bl string_l__4rstlFPCc +/* 80273BA0 00270B00 7F A4 EB 78 */ mr r4, r29 +/* 80273BA4 00270B04 38 61 00 44 */ addi r3, r1, 0x44 +/* 80273BA8 00270B08 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80273BAC 00270B0C 4B E0 4D CD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80273BB0 00270B10 38 7A 00 34 */ addi r3, r26, 0x34 +/* 80273BB4 00270B14 38 81 00 44 */ addi r4, r1, 0x44 +/* 80273BB8 00270B18 48 09 EF 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80273BBC 00270B1C 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 80273BC0 00270B20 38 80 00 01 */ li r4, 1 +/* 80273BC4 00270B24 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80273BC8 00270B28 38 61 00 34 */ addi r3, r1, 0x34 +/* 80273BCC 00270B2C 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 80273BD0 00270B30 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 80273BD4 00270B34 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80273BD8 00270B38 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 80273BDC 00270B3C 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 80273BE0 00270B40 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80273BE4 00270B44 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 80273BE8 00270B48 48 0C 9E F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80273BEC 00270B4C A0 1D 00 08 */ lhz r0, 8(r29) +/* 80273BF0 00270B50 7F 43 D3 78 */ mr r3, r26 +/* 80273BF4 00270B54 7F C6 F3 78 */ mr r6, r30 +/* 80273BF8 00270B58 38 A1 00 0C */ addi r5, r1, 0xc +/* 80273BFC 00270B5C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80273C00 00270B60 38 80 00 01 */ li r4, 1 +/* 80273C04 00270B64 81 9A 00 00 */ lwz r12, 0(r26) +/* 80273C08 00270B68 B0 01 00 08 */ sth r0, 8(r1) +/* 80273C0C 00270B6C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80273C10 00270B70 7D 89 03 A6 */ mtctr r12 +/* 80273C14 00270B74 4E 80 04 21 */ bctrl +/* 80273C18 00270B78 80 1D 10 6C */ lwz r0, 0x106c(r29) +/* 80273C1C 00270B7C 54 00 08 3C */ slwi r0, r0, 1 +/* 80273C20 00270B80 7C 7D 02 14 */ add r3, r29, r0 +/* 80273C24 00270B84 34 63 10 70 */ addic. r3, r3, 0x1070 +/* 80273C28 00270B88 41 82 00 0C */ beq lbl_80273C34 +/* 80273C2C 00270B8C A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80273C30 00270B90 B0 03 00 00 */ sth r0, 0(r3) +lbl_80273C34: +/* 80273C34 00270B94 80 7D 10 6C */ lwz r3, 0x106c(r29) +/* 80273C38 00270B98 C0 02 BC 58 */ lfs f0, lbl_805AD978@sda21(r2) +/* 80273C3C 00270B9C 38 03 00 01 */ addi r0, r3, 1 +/* 80273C40 00270BA0 90 1D 10 6C */ stw r0, 0x106c(r29) +/* 80273C44 00270BA4 D0 1D 10 74 */ stfs f0, 0x1074(r29) +/* 80273C48 00270BA8 48 00 00 1C */ b lbl_80273C64 +lbl_80273C4C: +/* 80273C4C 00270BAC 3B 7B 00 04 */ addi r27, r27, 4 +lbl_80273C50: +/* 80273C50 00270BB0 80 1D 10 58 */ lwz r0, 0x1058(r29) +/* 80273C54 00270BB4 54 00 10 3A */ slwi r0, r0, 2 +/* 80273C58 00270BB8 7C 1C 02 14 */ add r0, r28, r0 +/* 80273C5C 00270BBC 7C 1B 00 40 */ cmplw r27, r0 +/* 80273C60 00270BC0 40 82 FE 90 */ bne lbl_80273AF0 +lbl_80273C64: +/* 80273C64 00270BC4 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 80273C68 00270BC8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80273C6C 00270BCC 7C 08 03 A6 */ mtlr r0 +/* 80273C70 00270BD0 38 21 00 90 */ addi r1, r1, 0x90 +/* 80273C74 00270BD4 4E 80 00 20 */ blr + +.global sub_80273c78 +sub_80273c78: +/* 80273C78 00270BD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80273C7C 00270BDC 7C 08 02 A6 */ mflr r0 +/* 80273C80 00270BE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80273C84 00270BE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80273C88 00270BE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80273C8C 00270BEC 3B C0 00 00 */ li r30, 0 +/* 80273C90 00270BF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80273C94 00270BF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80273C98 00270BF8 7C 7C 1B 78 */ mr r28, r3 +/* 80273C9C 00270BFC 83 E4 08 20 */ lwz r31, 0x820(r4) +/* 80273CA0 00270C00 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 80273CA4 00270C04 48 00 00 68 */ b lbl_80273D0C +lbl_80273CA8: +/* 80273CA8 00270C08 7F E3 FB 78 */ mr r3, r31 +/* 80273CAC 00270C0C 7F A4 EB 78 */ mr r4, r29 +/* 80273CB0 00270C10 4B D9 C0 65 */ bl __vc__11CObjectListFi +/* 80273CB4 00270C14 7C 60 1B 78 */ mr r0, r3 +/* 80273CB8 00270C18 38 61 00 08 */ addi r3, r1, 8 +/* 80273CBC 00270C1C 7C 04 03 78 */ mr r4, r0 +/* 80273CC0 00270C20 4B E3 18 E5 */ bl sub_800a55a4 +/* 80273CC4 00270C24 4B E3 18 B5 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 80273CC8 00270C28 28 03 00 00 */ cmplwi r3, 0 +/* 80273CCC 00270C2C 41 82 00 24 */ beq lbl_80273CF0 +/* 80273CD0 00270C30 80 83 00 04 */ lwz r4, 4(r3) +/* 80273CD4 00270C34 80 1C 00 04 */ lwz r0, 4(r28) +/* 80273CD8 00270C38 7C 04 00 00 */ cmpw r4, r0 +/* 80273CDC 00270C3C 40 82 00 14 */ bne lbl_80273CF0 +/* 80273CE0 00270C40 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80273CE4 00270C44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80273CE8 00270C48 41 82 00 08 */ beq lbl_80273CF0 +/* 80273CEC 00270C4C 3B DE 00 01 */ addi r30, r30, 1 +lbl_80273CF0: +/* 80273CF0 00270C50 2C 1D FF FF */ cmpwi r29, -1 +/* 80273CF4 00270C54 41 82 00 14 */ beq lbl_80273D08 +/* 80273CF8 00270C58 57 A3 18 38 */ slwi r3, r29, 3 +/* 80273CFC 00270C5C 38 03 00 08 */ addi r0, r3, 8 +/* 80273D00 00270C60 7F BF 02 AE */ lhax r29, r31, r0 +/* 80273D04 00270C64 48 00 00 08 */ b lbl_80273D0C +lbl_80273D08: +/* 80273D08 00270C68 3B A0 FF FF */ li r29, -1 +lbl_80273D0C: +/* 80273D0C 00270C6C 2C 1D FF FF */ cmpwi r29, -1 +/* 80273D10 00270C70 40 82 FF 98 */ bne lbl_80273CA8 +/* 80273D14 00270C74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80273D18 00270C78 7F C3 F3 78 */ mr r3, r30 +/* 80273D1C 00270C7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80273D20 00270C80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80273D24 00270C84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80273D28 00270C88 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80273D2C 00270C8C 7C 08 03 A6 */ mtlr r0 +/* 80273D30 00270C90 38 21 00 20 */ addi r1, r1, 0x20 +/* 80273D34 00270C94 4E 80 00 20 */ blr + +.global sub_80273d38 +sub_80273d38: +/* 80273D38 00270C98 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80273D3C 00270C9C 7C 08 02 A6 */ mflr r0 +/* 80273D40 00270CA0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80273D44 00270CA4 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80273D48 00270CA8 7C 9C 23 78 */ mr r28, r4 +/* 80273D4C 00270CAC 7C 7B 1B 78 */ mr r27, r3 +/* 80273D50 00270CB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80273D54 00270CB4 A0 03 05 68 */ lhz r0, 0x568(r3) +/* 80273D58 00270CB8 7F 83 E3 78 */ mr r3, r28 +/* 80273D5C 00270CBC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80273D60 00270CC0 4B DD 88 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80273D64 00270CC4 7C 64 1B 78 */ mr r4, r3 +/* 80273D68 00270CC8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80273D6C 00270CCC 4B E3 93 7D */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80273D70 00270CD0 80 BB 10 58 */ lwz r5, 0x1058(r27) +/* 80273D74 00270CD4 3B DB 10 5C */ addi r30, r27, 0x105c +/* 80273D78 00270CD8 83 A3 00 04 */ lwz r29, 4(r3) +/* 80273D7C 00270CDC 38 60 00 00 */ li r3, 0 +/* 80273D80 00270CE0 2C 05 00 00 */ cmpwi r5, 0 +/* 80273D84 00270CE4 40 81 00 40 */ ble lbl_80273DC4 +/* 80273D88 00270CE8 2C 05 00 08 */ cmpwi r5, 8 +/* 80273D8C 00270CEC 38 85 FF F8 */ addi r4, r5, -8 +/* 80273D90 00270CF0 40 81 00 20 */ ble lbl_80273DB0 +/* 80273D94 00270CF4 38 04 00 07 */ addi r0, r4, 7 +/* 80273D98 00270CF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80273D9C 00270CFC 7C 09 03 A6 */ mtctr r0 +/* 80273DA0 00270D00 2C 04 00 00 */ cmpwi r4, 0 +/* 80273DA4 00270D04 40 81 00 0C */ ble lbl_80273DB0 +lbl_80273DA8: +/* 80273DA8 00270D08 38 63 00 08 */ addi r3, r3, 8 +/* 80273DAC 00270D0C 42 00 FF FC */ bdnz lbl_80273DA8 +lbl_80273DB0: +/* 80273DB0 00270D10 7C 03 28 50 */ subf r0, r3, r5 +/* 80273DB4 00270D14 7C 09 03 A6 */ mtctr r0 +/* 80273DB8 00270D18 7C 03 28 00 */ cmpw r3, r5 +/* 80273DBC 00270D1C 40 80 00 08 */ bge lbl_80273DC4 +lbl_80273DC0: +/* 80273DC0 00270D20 42 00 00 00 */ bdnz lbl_80273DC0 +lbl_80273DC4: +/* 80273DC4 00270D24 38 00 00 00 */ li r0, 0 +/* 80273DC8 00270D28 28 1D 00 00 */ cmplwi r29, 0 +/* 80273DCC 00270D2C 90 1B 10 58 */ stw r0, 0x1058(r27) +/* 80273DD0 00270D30 41 82 01 2C */ beq lbl_80273EFC +/* 80273DD4 00270D34 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80273DD8 00270D38 83 FD 00 2C */ lwz r31, 0x2c(r29) +/* 80273DDC 00270D3C 48 00 00 B4 */ b lbl_80273E90 +lbl_80273DE0: +/* 80273DE0 00270D40 80 1F 00 00 */ lwz r0, 0(r31) +/* 80273DE4 00270D44 2C 00 00 0D */ cmpwi r0, 0xd +/* 80273DE8 00270D48 40 82 00 A4 */ bne lbl_80273E8C +/* 80273DEC 00270D4C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80273DF0 00270D50 7F 84 E3 78 */ mr r4, r28 +/* 80273DF4 00270D54 38 61 00 14 */ addi r3, r1, 0x14 +/* 80273DF8 00270D58 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80273DFC 00270D5C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80273E00 00270D60 4B DD 41 1D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80273E04 00270D64 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80273E08 00270D68 7F 83 E3 78 */ mr r3, r28 +/* 80273E0C 00270D6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80273E10 00270D70 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80273E14 00270D74 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80273E18 00270D78 4B DD 87 5D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80273E1C 00270D7C 28 03 00 00 */ cmplwi r3, 0 +/* 80273E20 00270D80 41 82 00 6C */ beq lbl_80273E8C +/* 80273E24 00270D84 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80273E28 00270D88 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80273E2C 00270D8C 41 82 00 2C */ beq lbl_80273E58 +/* 80273E30 00270D90 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80273E34 00270D94 7F 86 E3 78 */ mr r6, r28 +/* 80273E38 00270D98 38 A1 00 0C */ addi r5, r1, 0xc +/* 80273E3C 00270D9C 38 80 00 04 */ li r4, 4 +/* 80273E40 00270DA0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80273E44 00270DA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80273E48 00270DA8 B0 01 00 08 */ sth r0, 8(r1) +/* 80273E4C 00270DAC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80273E50 00270DB0 7D 89 03 A6 */ mtctr r12 +/* 80273E54 00270DB4 4E 80 04 21 */ bctrl +lbl_80273E58: +/* 80273E58 00270DB8 80 1B 10 58 */ lwz r0, 0x1058(r27) +/* 80273E5C 00270DBC 54 00 10 3A */ slwi r0, r0, 2 +/* 80273E60 00270DC0 7C 7E 02 15 */ add. r3, r30, r0 +/* 80273E64 00270DC4 41 82 00 0C */ beq lbl_80273E70 +/* 80273E68 00270DC8 80 1F 00 08 */ lwz r0, 8(r31) +/* 80273E6C 00270DCC 90 03 00 00 */ stw r0, 0(r3) +lbl_80273E70: +/* 80273E70 00270DD0 80 7B 10 58 */ lwz r3, 0x1058(r27) +/* 80273E74 00270DD4 38 03 00 01 */ addi r0, r3, 1 +/* 80273E78 00270DD8 90 1B 10 58 */ stw r0, 0x1058(r27) +/* 80273E7C 00270DDC 80 1B 10 58 */ lwz r0, 0x1058(r27) +/* 80273E80 00270DE0 20 00 00 04 */ subfic r0, r0, 4 +/* 80273E84 00270DE4 2C 00 00 00 */ cmpwi r0, 0 +/* 80273E88 00270DE8 40 81 00 20 */ ble lbl_80273EA8 +lbl_80273E8C: +/* 80273E8C 00270DEC 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80273E90: +/* 80273E90 00270DF0 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 80273E94 00270DF4 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80273E98 00270DF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80273E9C 00270DFC 7C 03 02 14 */ add r0, r3, r0 +/* 80273EA0 00270E00 7C 1F 00 40 */ cmplw r31, r0 +/* 80273EA4 00270E04 40 82 FF 3C */ bne lbl_80273DE0 +lbl_80273EA8: +/* 80273EA8 00270E08 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80273EAC 00270E0C 38 60 00 00 */ li r3, 0 +/* 80273EB0 00270E10 2C 05 00 00 */ cmpwi r5, 0 +/* 80273EB4 00270E14 40 81 00 40 */ ble lbl_80273EF4 +/* 80273EB8 00270E18 2C 05 00 08 */ cmpwi r5, 8 +/* 80273EBC 00270E1C 38 85 FF F8 */ addi r4, r5, -8 +/* 80273EC0 00270E20 40 81 00 20 */ ble lbl_80273EE0 +/* 80273EC4 00270E24 38 04 00 07 */ addi r0, r4, 7 +/* 80273EC8 00270E28 54 00 E8 FE */ srwi r0, r0, 3 +/* 80273ECC 00270E2C 7C 09 03 A6 */ mtctr r0 +/* 80273ED0 00270E30 2C 04 00 00 */ cmpwi r4, 0 +/* 80273ED4 00270E34 40 81 00 0C */ ble lbl_80273EE0 +lbl_80273ED8: +/* 80273ED8 00270E38 38 63 00 08 */ addi r3, r3, 8 +/* 80273EDC 00270E3C 42 00 FF FC */ bdnz lbl_80273ED8 +lbl_80273EE0: +/* 80273EE0 00270E40 7C 03 28 50 */ subf r0, r3, r5 +/* 80273EE4 00270E44 7C 09 03 A6 */ mtctr r0 +/* 80273EE8 00270E48 7C 03 28 00 */ cmpw r3, r5 +/* 80273EEC 00270E4C 40 80 00 08 */ bge lbl_80273EF4 +lbl_80273EF0: +/* 80273EF0 00270E50 42 00 00 00 */ bdnz lbl_80273EF0 +lbl_80273EF4: +/* 80273EF4 00270E54 38 00 00 00 */ li r0, 0 +/* 80273EF8 00270E58 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_80273EFC: +/* 80273EFC 00270E5C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80273F00 00270E60 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80273F04 00270E64 7C 08 03 A6 */ mtlr r0 +/* 80273F08 00270E68 38 21 00 60 */ addi r1, r1, 0x60 +/* 80273F0C 00270E6C 4E 80 00 20 */ blr + +.global sub_80273f10 +sub_80273f10: +/* 80273F10 00270E70 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80273F14 00270E74 7C 08 02 A6 */ mflr r0 +/* 80273F18 00270E78 90 01 00 64 */ stw r0, 0x64(r1) +/* 80273F1C 00270E7C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80273F20 00270E80 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80273F24 00270E84 7C 9E 23 78 */ mr r30, r4 +/* 80273F28 00270E88 38 81 00 08 */ addi r4, r1, 8 +/* 80273F2C 00270E8C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80273F30 00270E90 7C 7D 1B 78 */ mr r29, r3 +/* 80273F34 00270E94 A0 03 0E AC */ lhz r0, 0xeac(r3) +/* 80273F38 00270E98 7F C3 F3 78 */ mr r3, r30 +/* 80273F3C 00270E9C B0 01 00 08 */ sth r0, 8(r1) +/* 80273F40 00270EA0 4B DD 86 35 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80273F44 00270EA4 7C 64 1B 78 */ mr r4, r3 +/* 80273F48 00270EA8 38 61 00 0C */ addi r3, r1, 0xc +/* 80273F4C 00270EAC 4B E3 87 99 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80273F50 00270EB0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80273F54 00270EB4 28 1F 00 00 */ cmplwi r31, 0 +/* 80273F58 00270EB8 41 82 00 E0 */ beq lbl_80274038 +/* 80273F5C 00270EBC 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80273F60 00270EC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80273F64 00270EC4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80273F68 00270EC8 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80273F6C 00270ECC C0 45 00 50 */ lfs f2, 0x50(r5) +/* 80273F70 00270ED0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80273F74 00270ED4 C0 65 00 60 */ lfs f3, 0x60(r5) +/* 80273F78 00270ED8 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80273F7C 00270EDC C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 80273F80 00270EE0 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 80273F84 00270EE4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80273F88 00270EE8 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80273F8C 00270EEC C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) +/* 80273F90 00270EF0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80273F94 00270EF4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80273F98 00270EF8 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80273F9C 00270EFC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80273FA0 00270F00 48 09 BF C5 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80273FA4 00270F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80273FA8 00270F08 40 82 00 80 */ bne lbl_80274028 +/* 80273FAC 00270F0C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80273FB0 00270F10 38 81 00 38 */ addi r4, r1, 0x38 +/* 80273FB4 00270F14 48 0A 08 9D */ bl AsNormalized__9CVector3fCFv +/* 80273FB8 00270F18 C0 7D 00 48 */ lfs f3, 0x48(r29) +/* 80273FBC 00270F1C C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80273FC0 00270F20 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 80273FC4 00270F24 EC 03 01 72 */ fmuls f0, f3, f5 +/* 80273FC8 00270F28 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 80273FCC 00270F2C C0 9D 00 58 */ lfs f4, 0x58(r29) +/* 80273FD0 00270F30 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80273FD4 00270F34 EC 22 01 FA */ fmadds f1, f2, f7, f0 +/* 80273FD8 00270F38 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80273FDC 00270F3C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80273FE0 00270F40 EC 24 09 BA */ fmadds f1, f4, f6, f1 +/* 80273FE4 00270F44 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80273FE8 00270F48 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80273FEC 00270F4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80273FF0 00270F50 40 81 00 0C */ ble lbl_80273FFC +/* 80273FF4 00270F54 C0 02 BC 60 */ lfs f0, lbl_805AD980@sda21(r2) +/* 80273FF8 00270F58 48 00 00 08 */ b lbl_80274000 +lbl_80273FFC: +/* 80273FFC 00270F5C C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) +lbl_80274000: +/* 80274000 00270F60 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 80274004 00270F64 7F E3 FB 78 */ mr r3, r31 +/* 80274008 00270F68 EC 20 01 72 */ fmuls f1, f0, f5 +/* 8027400C 00270F6C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80274010 00270F70 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80274014 00270F74 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80274018 00270F78 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8027401C 00270F7C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80274020 00270F80 4B EA 6C 81 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80274024 00270F84 48 00 00 14 */ b lbl_80274038 +lbl_80274028: +/* 80274028 00270F88 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027402C 00270F8C 7F E3 FB 78 */ mr r3, r31 +/* 80274030 00270F90 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80274034 00270F94 4B EA 6C 6D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_80274038: +/* 80274038 00270F98 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8027403C 00270F9C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80274040 00270FA0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80274044 00270FA4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80274048 00270FA8 7C 08 03 A6 */ mtlr r0 +/* 8027404C 00270FAC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80274050 00270FB0 4E 80 00 20 */ blr + +.global sub_80274054 +sub_80274054: +/* 80274054 00270FB4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80274058 00270FB8 7C 08 02 A6 */ mflr r0 +/* 8027405C 00270FBC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80274060 00270FC0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80274064 00270FC4 7C 9F 23 78 */ mr r31, r4 +/* 80274068 00270FC8 38 81 00 08 */ addi r4, r1, 8 +/* 8027406C 00270FCC A0 03 0E AC */ lhz r0, 0xeac(r3) +/* 80274070 00270FD0 7F E3 FB 78 */ mr r3, r31 +/* 80274074 00270FD4 B0 01 00 08 */ sth r0, 8(r1) +/* 80274078 00270FD8 4B DD 84 FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027407C 00270FDC 7C 64 1B 78 */ mr r4, r3 +/* 80274080 00270FE0 38 61 00 0C */ addi r3, r1, 0xc +/* 80274084 00270FE4 4B E3 BC 0D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80274088 00270FE8 80 63 00 04 */ lwz r3, 4(r3) +/* 8027408C 00270FEC 28 03 00 00 */ cmplwi r3, 0 +/* 80274090 00270FF0 41 82 00 28 */ beq lbl_802740B8 +/* 80274094 00270FF4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80274098 00270FF8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027409C 00270FFC C0 45 00 60 */ lfs f2, 0x60(r5) +/* 802740A0 00271000 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 802740A4 00271004 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 802740A8 00271008 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802740AC 0027100C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802740B0 00271010 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802740B4 00271014 4B DD ED D9 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_802740B8: +/* 802740B8 00271018 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802740BC 0027101C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802740C0 00271020 7C 08 03 A6 */ mtlr r0 +/* 802740C4 00271024 38 21 00 30 */ addi r1, r1, 0x30 +/* 802740C8 00271028 4E 80 00 20 */ blr + +.global sub_802740cc +sub_802740cc: +/* 802740CC 0027102C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802740D0 00271030 7C 08 02 A6 */ mflr r0 +/* 802740D4 00271034 90 01 00 14 */ stw r0, 0x14(r1) +/* 802740D8 00271038 A0 03 0E AC */ lhz r0, 0xeac(r3) +/* 802740DC 0027103C 7C 83 23 78 */ mr r3, r4 +/* 802740E0 00271040 38 81 00 08 */ addi r4, r1, 8 +/* 802740E4 00271044 B0 01 00 08 */ sth r0, 8(r1) +/* 802740E8 00271048 4B DD 81 85 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 802740EC 0027104C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802740F0 00271050 7C 08 03 A6 */ mtlr r0 +/* 802740F4 00271054 38 21 00 10 */ addi r1, r1, 0x10 +/* 802740F8 00271058 4E 80 00 20 */ blr + +.global sub_802740fc +sub_802740fc: +/* 802740FC 0027105C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80274100 00271060 7C 08 02 A6 */ mflr r0 +/* 80274104 00271064 90 01 00 74 */ stw r0, 0x74(r1) +/* 80274108 00271068 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 8027410C 0027106C 7C 7D 1B 78 */ mr r29, r3 +/* 80274110 00271070 7C 9F 23 78 */ mr r31, r4 +/* 80274114 00271074 38 61 00 0C */ addi r3, r1, 0xc +/* 80274118 00271078 4B DD 8F C5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8027411C 0027107C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80274120 00271080 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80274124 00271084 38 63 56 18 */ addi r3, r3, lbl_803D5618@l +/* 80274128 00271088 3B 80 00 00 */ li r28, 0 +/* 8027412C 0027108C B0 1D 0E AC */ sth r0, 0xeac(r29) +/* 80274130 00271090 38 83 02 20 */ addi r4, r3, 0x220 +/* 80274134 00271094 3B 60 00 00 */ li r27, 0 +/* 80274138 00271098 38 60 02 58 */ li r3, 0x258 +/* 8027413C 0027109C 38 A0 00 00 */ li r5, 0 +/* 80274140 002710A0 48 0A 17 2D */ bl __nw__FUlPCcPCc +/* 80274144 002710A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80274148 002710A8 41 82 00 70 */ beq lbl_802741B8 +/* 8027414C 002710AC 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80274150 002710B0 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80274154 002710B4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 80274158 002710B8 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027415C 002710BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80274160 002710C0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80274164 002710C4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80274168 002710C8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8027416C 002710CC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80274170 002710D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80274174 002710D4 4B DD D3 11 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 80274178 002710D8 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 8027417C 002710DC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80274180 002710E0 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 80274184 002710E4 3B 80 00 01 */ li r28, 1 +/* 80274188 002710E8 38 84 02 27 */ addi r4, r4, 0x227 +/* 8027418C 002710EC 4B D9 0B 2D */ bl string_l__4rstlFPCc +/* 80274190 002710F0 A0 1D 0E AC */ lhz r0, 0xeac(r29) +/* 80274194 002710F4 7F C3 F3 78 */ mr r3, r30 +/* 80274198 002710F8 38 81 00 08 */ addi r4, r1, 8 +/* 8027419C 002710FC 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802741A0 00271100 B0 01 00 08 */ sth r0, 8(r1) +/* 802741A4 00271104 38 E1 00 3C */ addi r7, r1, 0x3c +/* 802741A8 00271108 3B 60 00 01 */ li r27, 1 +/* 802741AC 0027110C 38 A0 00 01 */ li r5, 1 +/* 802741B0 00271110 48 00 00 81 */ bl sub_80274230 +/* 802741B4 00271114 7C 7E 1B 78 */ mr r30, r3 +lbl_802741B8: +/* 802741B8 00271118 7F 60 07 75 */ extsb. r0, r27 +/* 802741BC 0027111C 41 82 00 0C */ beq lbl_802741C8 +/* 802741C0 00271120 38 61 00 2C */ addi r3, r1, 0x2c +/* 802741C4 00271124 48 0C 99 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802741C8: +/* 802741C8 00271128 7F 80 07 75 */ extsb. r0, r28 +/* 802741CC 0027112C 41 82 00 44 */ beq lbl_80274210 +/* 802741D0 00271130 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802741D4 00271134 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 802741D8 00271138 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802741DC 0027113C 90 61 00 14 */ stw r3, 0x14(r1) +/* 802741E0 00271140 7C 64 1B 78 */ mr r4, r3 +/* 802741E4 00271144 7C 03 02 14 */ add r0, r3, r0 +/* 802741E8 00271148 90 61 00 10 */ stw r3, 0x10(r1) +/* 802741EC 0027114C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802741F0 00271150 90 01 00 18 */ stw r0, 0x18(r1) +/* 802741F4 00271154 48 00 00 08 */ b lbl_802741FC +lbl_802741F8: +/* 802741F8 00271158 38 84 00 0C */ addi r4, r4, 0xc +lbl_802741FC: +/* 802741FC 0027115C 7C 04 00 40 */ cmplw r4, r0 +/* 80274200 00271160 40 82 FF F8 */ bne lbl_802741F8 +/* 80274204 00271164 28 03 00 00 */ cmplwi r3, 0 +/* 80274208 00271168 41 82 00 08 */ beq lbl_80274210 +/* 8027420C 0027116C 48 0A 17 25 */ bl Free__7CMemoryFPCv +lbl_80274210: +/* 80274210 00271170 7F E3 FB 78 */ mr r3, r31 +/* 80274214 00271174 7F C4 F3 78 */ mr r4, r30 +/* 80274218 00271178 4B DD 8A DD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8027421C 0027117C BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 80274220 00271180 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80274224 00271184 7C 08 03 A6 */ mtlr r0 +/* 80274228 00271188 38 21 00 70 */ addi r1, r1, 0x70 +/* 8027422C 0027118C 4E 80 00 20 */ blr + +.global sub_80274230 +sub_80274230: +/* 80274230 00271190 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80274234 00271194 7C 08 02 A6 */ mflr r0 +/* 80274238 00271198 90 01 01 64 */ stw r0, 0x164(r1) +/* 8027423C 0027119C BF 41 01 48 */ stmw r26, 0x148(r1) +/* 80274240 002711A0 7C 7B 1B 78 */ mr r27, r3 +/* 80274244 002711A4 7C 9C 23 78 */ mr r28, r4 +/* 80274248 002711A8 7C BD 2B 78 */ mr r29, r5 +/* 8027424C 002711AC 7C DE 33 78 */ mr r30, r6 +/* 80274250 002711B0 7C FF 3B 78 */ mr r31, r7 +/* 80274254 002711B4 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 80274258 002711B8 4B DC 65 4D */ bl CModelDataNull__10CModelDataFv +/* 8027425C 002711BC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80274260 002711C0 4B DA 6B D9 */ bl None__16CActorParametersFv +/* 80274264 002711C4 4B DA 72 D1 */ bl Identity__10CAxisAngleFv +/* 80274268 002711C8 7C 7A 1B 78 */ mr r26, r3 +/* 8027426C 002711CC 4B DA 72 C9 */ bl Identity__10CAxisAngleFv +/* 80274270 002711D0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80274274 002711D4 C4 64 66 A0 */ lfsu f3, skZero3f@l(r4) +/* 80274278 002711D8 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 8027427C 002711DC 38 00 00 00 */ li r0, 0 +/* 80274280 002711E0 C0 84 00 04 */ lfs f4, 4(r4) +/* 80274284 002711E4 C0 A4 00 08 */ lfs f5, 8(r4) +/* 80274288 002711E8 38 80 00 01 */ li r4, 1 +/* 8027428C 002711EC D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80274290 002711F0 C0 02 BC 64 */ lfs f0, lbl_805AD984@sda21(r2) +/* 80274294 002711F4 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 80274298 002711F8 80 AD 98 50 */ lwz r5, lbl_805A8410@sda21(r13) +/* 8027429C 002711FC D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802742A0 00271200 C0 43 00 00 */ lfs f2, 0(r3) +/* 802742A4 00271204 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802742A8 00271208 C0 43 00 04 */ lfs f2, 4(r3) +/* 802742AC 0027120C D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802742B0 00271210 C0 43 00 08 */ lfs f2, 8(r3) +/* 802742B4 00271214 38 60 00 00 */ li r3, 0 +/* 802742B8 00271218 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802742BC 0027121C D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802742C0 00271220 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802742C4 00271224 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802742C8 00271228 C0 5A 00 00 */ lfs f2, 0(r26) +/* 802742CC 0027122C D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802742D0 00271230 C0 5A 00 04 */ lfs f2, 4(r26) +/* 802742D4 00271234 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802742D8 00271238 C0 5A 00 08 */ lfs f2, 8(r26) +/* 802742DC 0027123C D0 41 00 84 */ stfs f2, 0x84(r1) +/* 802742E0 00271240 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802742E4 00271244 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802742E8 00271248 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802742EC 0027124C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802742F0 00271250 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802742F4 00271254 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802742F8 00271258 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802742FC 0027125C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80274300 00271260 90 01 00 20 */ stw r0, 0x20(r1) +/* 80274304 00271264 48 11 5B F1 */ bl __shl2i +/* 80274308 00271268 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8027430C 0027126C 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 80274310 00271270 7C 00 1B 78 */ or r0, r0, r3 +/* 80274314 00271274 80 AD 98 54 */ lwz r5, lbl_805A8414@sda21(r13) +/* 80274318 00271278 7C C4 23 78 */ or r4, r6, r4 +/* 8027431C 0027127C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80274320 00271280 38 60 00 00 */ li r3, 0 +/* 80274324 00271284 90 81 00 24 */ stw r4, 0x24(r1) +/* 80274328 00271288 38 80 00 01 */ li r4, 1 +/* 8027432C 0027128C 48 11 5B C9 */ bl __shl2i +/* 80274330 00271290 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80274334 00271294 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80274338 00271298 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8027433C 0027129C 7C 03 1B 78 */ or r3, r0, r3 +/* 80274340 002712A0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80274344 002712A4 7C C6 23 78 */ or r6, r6, r4 +/* 80274348 002712A8 90 61 00 20 */ stw r3, 0x20(r1) +/* 8027434C 002712AC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80274350 002712B0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80274354 002712B4 90 C1 00 24 */ stw r6, 0x24(r1) +/* 80274358 002712B8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8027435C 002712BC 48 0C 41 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80274360 002712C0 90 61 00 08 */ stw r3, 8(r1) +/* 80274364 002712C4 38 81 00 58 */ addi r4, r1, 0x58 +/* 80274368 002712C8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8027436C 002712CC 38 01 00 8C */ addi r0, r1, 0x8c +/* 80274370 002712D0 90 81 00 0C */ stw r4, 0xc(r1) +/* 80274374 002712D4 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80274378 002712D8 C0 22 BC 68 */ lfs f1, lbl_805AD988@sda21(r2) +/* 8027437C 002712DC 7F 63 DB 78 */ mr r3, r27 +/* 80274380 002712E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80274384 002712E4 7F A5 EB 78 */ mr r5, r29 +/* 80274388 002712E8 C0 42 BC 6C */ lfs f2, lbl_805AD98C@sda21(r2) +/* 8027438C 002712EC 7F C6 F3 78 */ mr r6, r30 +/* 80274390 002712F0 7F E7 FB 78 */ mr r7, r31 +/* 80274394 002712F4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80274398 002712F8 39 21 00 F4 */ addi r9, r1, 0xf4 +/* 8027439C 002712FC 39 41 00 20 */ addi r10, r1, 0x20 +/* 802743A0 00271300 4B EA 81 11 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 802743A4 00271304 38 61 00 8C */ addi r3, r1, 0x8c +/* 802743A8 00271308 38 80 FF FF */ li r4, -1 +/* 802743AC 0027130C 4B E9 22 5D */ bl __dt__16CActorParametersFv +/* 802743B0 00271310 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802743B4 00271314 38 80 FF FF */ li r4, -1 +/* 802743B8 00271318 4B EA 26 95 */ bl __dt__10CModelDataFv +/* 802743BC 0027131C 3C 80 80 3F */ lis r4, lbl_803EB0FC@ha +/* 802743C0 00271320 7F 63 DB 78 */ mr r3, r27 +/* 802743C4 00271324 38 04 B0 FC */ addi r0, r4, lbl_803EB0FC@l +/* 802743C8 00271328 90 1B 00 00 */ stw r0, 0(r27) +/* 802743CC 0027132C BB 41 01 48 */ lmw r26, 0x148(r1) +/* 802743D0 00271330 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802743D4 00271334 7C 08 03 A6 */ mtlr r0 +/* 802743D8 00271338 38 21 01 60 */ addi r1, r1, 0x160 +/* 802743DC 0027133C 4E 80 00 20 */ blr + +.global sub_802743e0 +sub_802743e0: +/* 802743E0 00271340 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802743E4 00271344 7C 08 02 A6 */ mflr r0 +/* 802743E8 00271348 90 01 00 24 */ stw r0, 0x24(r1) +/* 802743EC 0027134C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802743F0 00271350 7C BF 2B 78 */ mr r31, r5 +/* 802743F4 00271354 A0 03 10 44 */ lhz r0, 0x1044(r3) +/* 802743F8 00271358 7C 83 23 78 */ mr r3, r4 +/* 802743FC 0027135C 38 81 00 08 */ addi r4, r1, 8 +/* 80274400 00271360 B0 01 00 08 */ sth r0, 8(r1) +/* 80274404 00271364 4B DD 81 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80274408 00271368 7C 64 1B 78 */ mr r4, r3 +/* 8027440C 0027136C 38 61 00 0C */ addi r3, r1, 0xc +/* 80274410 00271370 4B E3 8F ED */ bl "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" +/* 80274414 00271374 80 63 00 04 */ lwz r3, 4(r3) +/* 80274418 00271378 28 03 00 00 */ cmplwi r3, 0 +/* 8027441C 0027137C 41 82 00 1C */ beq lbl_80274438 +/* 80274420 00271380 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 80274424 00271384 7F E4 FB 78 */ mr r4, r31 +/* 80274428 00271388 81 83 00 00 */ lwz r12, 0(r3) +/* 8027442C 0027138C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274430 00271390 7D 89 03 A6 */ mtctr r12 +/* 80274434 00271394 4E 80 04 21 */ bctrl +lbl_80274438: +/* 80274438 00271398 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027443C 0027139C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80274440 002713A0 7C 08 03 A6 */ mtlr r0 +/* 80274444 002713A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80274448 002713A8 4E 80 00 20 */ blr + +.global sub_8027444c +sub_8027444c: +/* 8027444C 002713AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80274450 002713B0 7C 08 02 A6 */ mflr r0 +/* 80274454 002713B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80274458 002713B8 A0 03 10 44 */ lhz r0, 0x1044(r3) +/* 8027445C 002713BC 7C 83 23 78 */ mr r3, r4 +/* 80274460 002713C0 38 81 00 08 */ addi r4, r1, 8 +/* 80274464 002713C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80274468 002713C8 4B DD 7E 05 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8027446C 002713CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80274470 002713D0 7C 08 03 A6 */ mtlr r0 +/* 80274474 002713D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80274478 002713D8 4E 80 00 20 */ blr + +.global sub_8027447c +sub_8027447c: +/* 8027447C 002713DC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80274480 002713E0 7C 08 02 A6 */ mflr r0 +/* 80274484 002713E4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80274488 002713E8 BF 21 00 64 */ stmw r25, 0x64(r1) +/* 8027448C 002713EC 7C 7B 1B 78 */ mr r27, r3 +/* 80274490 002713F0 7C 9E 23 78 */ mr r30, r4 +/* 80274494 002713F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80274498 002713F8 4B DD 8C 45 */ bl AllocateUniqueId__13CStateManagerFv +/* 8027449C 002713FC A0 01 00 14 */ lhz r0, 0x14(r1) +/* 802744A0 00271400 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 802744A4 00271404 38 63 56 18 */ addi r3, r3, lbl_803D5618@l +/* 802744A8 00271408 3B A0 00 00 */ li r29, 0 +/* 802744AC 0027140C B0 1B 10 44 */ sth r0, 0x1044(r27) +/* 802744B0 00271410 38 83 02 20 */ addi r4, r3, 0x220 +/* 802744B4 00271414 3B 40 00 00 */ li r26, 0 +/* 802744B8 00271418 3B 20 00 00 */ li r25, 0 +/* 802744BC 0027141C 38 60 01 10 */ li r3, 0x110 +/* 802744C0 00271420 38 A0 00 00 */ li r5, 0 +/* 802744C4 00271424 48 0A 13 A9 */ bl __nw__FUlPCcPCc +/* 802744C8 00271428 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802744CC 0027142C 41 82 00 D0 */ beq lbl_8027459C +/* 802744D0 00271430 38 00 00 01 */ li r0, 1 +/* 802744D4 00271434 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802744D8 00271438 98 01 00 24 */ stb r0, 0x24(r1) +/* 802744DC 0027143C 41 82 00 0C */ beq lbl_802744E8 +/* 802744E0 00271440 38 9B 10 1C */ addi r4, r27, 0x101c +/* 802744E4 00271444 48 0C C9 C5 */ bl __ct__6CTokenFRC6CToken +lbl_802744E8: +/* 802744E8 00271448 38 00 00 00 */ li r0, 0 +/* 802744EC 0027144C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 802744F0 00271450 98 01 00 30 */ stb r0, 0x30(r1) +/* 802744F4 00271454 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 802744F8 00271458 38 61 00 34 */ addi r3, r1, 0x34 +/* 802744FC 0027145C 3B 20 00 01 */ li r25, 1 +/* 80274500 00271460 A0 1B 10 44 */ lhz r0, 0x1044(r27) +/* 80274504 00271464 38 84 02 27 */ addi r4, r4, 0x227 +/* 80274508 00271468 3B 40 00 01 */ li r26, 1 +/* 8027450C 0027146C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80274510 00271470 4B D9 07 A9 */ bl string_l__4rstlFPCc +/* 80274514 00271474 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 80274518 00271478 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027451C 0027147C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274520 00271480 3B A0 00 01 */ li r29, 1 +/* 80274524 00271484 FC 40 08 90 */ fmr f2, f1 +/* 80274528 00271488 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8027452C 0027148C FC 60 08 90 */ fmr f3, f1 +/* 80274530 00271490 FC 80 08 90 */ fmr f4, f1 +/* 80274534 00271494 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80274538 00271498 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8027453C 0027149C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80274540 002714A0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80274544 002714A4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80274548 002714A8 48 0E EE A5 */ bl __ct__6CColorFffff +/* 8027454C 002714AC 7C 7B 1B 78 */ mr r27, r3 +/* 80274550 002714B0 7F C3 F3 78 */ mr r3, r30 +/* 80274554 002714B4 4B EB BC D9 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager +/* 80274558 002714B8 7C 7C 1B 78 */ mr r28, r3 +/* 8027455C 002714BC 7F C3 F3 78 */ mr r3, r30 +/* 80274560 002714C0 4B EB BC 99 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager +/* 80274564 002714C4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80274568 002714C8 38 01 00 50 */ addi r0, r1, 0x50 +/* 8027456C 002714CC 90 61 00 08 */ stw r3, 8(r1) +/* 80274570 002714D0 7F E3 FB 78 */ mr r3, r31 +/* 80274574 002714D4 7F 89 E3 78 */ mr r9, r28 +/* 80274578 002714D8 7F 6A DB 78 */ mr r10, r27 +/* 8027457C 002714DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80274580 002714E0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80274584 002714E4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80274588 002714E8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8027458C 002714EC 39 01 00 34 */ addi r8, r1, 0x34 +/* 80274590 002714F0 38 E0 00 01 */ li r7, 1 +/* 80274594 002714F4 4B EB B9 65 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" +/* 80274598 002714F8 7C 7F 1B 78 */ mr r31, r3 +lbl_8027459C: +/* 8027459C 002714FC 7F 20 07 75 */ extsb. r0, r25 +/* 802745A0 00271500 41 82 00 28 */ beq lbl_802745C8 +/* 802745A4 00271504 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802745A8 00271508 28 00 00 00 */ cmplwi r0, 0 +/* 802745AC 0027150C 41 82 00 14 */ beq lbl_802745C0 +/* 802745B0 00271510 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802745B4 00271514 41 82 00 0C */ beq lbl_802745C0 +/* 802745B8 00271518 38 80 00 00 */ li r4, 0 +/* 802745BC 0027151C 48 0C C8 85 */ bl __dt__6CTokenFv +lbl_802745C0: +/* 802745C0 00271520 38 00 00 00 */ li r0, 0 +/* 802745C4 00271524 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802745C8: +/* 802745C8 00271528 7F 40 07 75 */ extsb. r0, r26 +/* 802745CC 0027152C 41 82 00 28 */ beq lbl_802745F4 +/* 802745D0 00271530 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802745D4 00271534 28 00 00 00 */ cmplwi r0, 0 +/* 802745D8 00271538 41 82 00 14 */ beq lbl_802745EC +/* 802745DC 0027153C 34 61 00 28 */ addic. r3, r1, 0x28 +/* 802745E0 00271540 41 82 00 0C */ beq lbl_802745EC +/* 802745E4 00271544 38 80 00 00 */ li r4, 0 +/* 802745E8 00271548 48 0C C8 59 */ bl __dt__6CTokenFv +lbl_802745EC: +/* 802745EC 0027154C 38 00 00 00 */ li r0, 0 +/* 802745F0 00271550 98 01 00 30 */ stb r0, 0x30(r1) +lbl_802745F4: +/* 802745F4 00271554 7F A0 07 75 */ extsb. r0, r29 +/* 802745F8 00271558 41 82 00 0C */ beq lbl_80274604 +/* 802745FC 0027155C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80274600 00271560 48 0C 94 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80274604: +/* 80274604 00271564 7F C3 F3 78 */ mr r3, r30 +/* 80274608 00271568 7F E4 FB 78 */ mr r4, r31 +/* 8027460C 0027156C 4B DD 86 E9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80274610 00271570 88 1F 01 04 */ lbz r0, 0x104(r31) +/* 80274614 00271574 38 60 00 01 */ li r3, 1 +/* 80274618 00271578 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027461C 0027157C 38 80 00 00 */ li r4, 0 +/* 80274620 00271580 98 1F 01 04 */ stb r0, 0x104(r31) +/* 80274624 00271584 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 80274628 00271588 81 83 00 00 */ lwz r12, 0(r3) +/* 8027462C 0027158C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274630 00271590 7D 89 03 A6 */ mtctr r12 +/* 80274634 00271594 4E 80 04 21 */ bctrl +/* 80274638 00271598 BB 21 00 64 */ lmw r25, 0x64(r1) +/* 8027463C 0027159C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80274640 002715A0 7C 08 03 A6 */ mtlr r0 +/* 80274644 002715A4 38 21 00 80 */ addi r1, r1, 0x80 +/* 80274648 002715A8 4E 80 00 20 */ blr + +.global sub_8027464c +sub_8027464c: +/* 8027464C 002715AC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80274650 002715B0 7C 08 02 A6 */ mflr r0 +/* 80274654 002715B4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80274658 002715B8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8027465C 002715BC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80274660 002715C0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80274664 002715C4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80274668 002715C8 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8027466C 002715CC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80274670 002715D0 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 80274674 002715D4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 80274678 002715D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027467C 002715DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80274680 002715E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80274684 002715E4 7C 7D 1B 78 */ mr r29, r3 +/* 80274688 002715E8 7C BE 2B 78 */ mr r30, r5 +/* 8027468C 002715EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80274690 002715F0 38 C0 00 0A */ li r6, 0xa +/* 80274694 002715F4 38 E0 00 06 */ li r7, 6 +/* 80274698 002715F8 48 00 24 A5 */ bl sub_80276b3c +/* 8027469C 002715FC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802746A0 00271600 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802746A4 00271604 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 802746A8 00271608 C3 82 BC 08 */ lfs f28, lbl_805AD928@sda21(r2) +/* 802746AC 0027160C B0 01 00 14 */ sth r0, 0x14(r1) +/* 802746B0 00271610 C3 FF 00 00 */ lfs f31, 0(r31) +/* 802746B4 00271614 C3 DF 00 04 */ lfs f30, 4(r31) +/* 802746B8 00271618 C3 BF 00 08 */ lfs f29, 8(r31) +/* 802746BC 0027161C 48 00 00 64 */ b lbl_80274720 +lbl_802746C0: +/* 802746C0 00271620 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 802746C4 00271624 7F C3 F3 78 */ mr r3, r30 +/* 802746C8 00271628 38 81 00 0C */ addi r4, r1, 0xc +/* 802746CC 0027162C B0 01 00 0C */ sth r0, 0xc(r1) +/* 802746D0 00271630 4B DD 7E D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802746D4 00271634 7C 64 1B 78 */ mr r4, r3 +/* 802746D8 00271638 38 61 00 18 */ addi r3, r1, 0x18 +/* 802746DC 0027163C 4B E3 1E 71 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 802746E0 00271640 80 83 00 04 */ lwz r4, 4(r3) +/* 802746E4 00271644 28 04 00 00 */ cmplwi r4, 0 +/* 802746E8 00271648 41 82 00 24 */ beq lbl_8027470C +/* 802746EC 0027164C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802746F0 00271650 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 802746F4 00271654 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 802746F8 00271658 EF FF 00 2A */ fadds f31, f31, f0 +/* 802746FC 0027165C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80274700 00271660 EF DE 10 2A */ fadds f30, f30, f2 +/* 80274704 00271664 EF BD 08 2A */ fadds f29, f29, f1 +/* 80274708 00271668 EF 9C 00 2A */ fadds f28, f28, f0 +lbl_8027470C: +/* 8027470C 0027166C 7F C5 F3 78 */ mr r5, r30 +/* 80274710 00271670 38 61 00 08 */ addi r3, r1, 8 +/* 80274714 00271674 4B E0 2A 21 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80274718 00271678 A0 01 00 08 */ lhz r0, 8(r1) +/* 8027471C 0027167C B0 01 00 14 */ sth r0, 0x14(r1) +lbl_80274720: +/* 80274720 00271680 A0 61 00 14 */ lhz r3, 0x14(r1) +/* 80274724 00271684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80274728 00271688 7C 03 00 40 */ cmplw r3, r0 +/* 8027472C 0027168C 40 82 FF 94 */ bne lbl_802746C0 +/* 80274730 00271690 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274734 00271694 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80274738 00271698 40 81 00 28 */ ble lbl_80274760 +/* 8027473C 0027169C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80274740 002716A0 EC 00 E0 24 */ fdivs f0, f0, f28 +/* 80274744 002716A4 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 80274748 002716A8 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 8027474C 002716AC EC 00 07 72 */ fmuls f0, f0, f29 +/* 80274750 002716B0 D0 5D 00 00 */ stfs f2, 0(r29) +/* 80274754 002716B4 D0 3D 00 04 */ stfs f1, 4(r29) +/* 80274758 002716B8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8027475C 002716BC 48 00 00 20 */ b lbl_8027477C +lbl_80274760: +/* 80274760 002716C0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274764 002716C4 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 80274768 002716C8 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8027476C 002716CC C0 1F 00 04 */ lfs f0, 4(r31) +/* 80274770 002716D0 D0 1D 00 04 */ stfs f0, 4(r29) +/* 80274774 002716D4 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80274778 002716D8 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_8027477C: +/* 8027477C 002716DC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80274780 002716E0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80274784 002716E4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80274788 002716E8 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8027478C 002716EC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80274790 002716F0 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80274794 002716F4 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 80274798 002716F8 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 8027479C 002716FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802747A0 00271700 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802747A4 00271704 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802747A8 00271708 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802747AC 0027170C 7C 08 03 A6 */ mtlr r0 +/* 802747B0 00271710 38 21 00 70 */ addi r1, r1, 0x70 +/* 802747B4 00271714 4E 80 00 20 */ blr + +.global sub_802747b8 +sub_802747b8: +/* 802747B8 00271718 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802747BC 0027171C 7C 08 02 A6 */ mflr r0 +/* 802747C0 00271720 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802747C4 00271724 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 802747C8 00271728 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 802747CC 0027172C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 802747D0 00271730 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 802747D4 00271734 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 802747D8 00271738 C0 65 00 04 */ lfs f3, 4(r5) +/* 802747DC 0027173C 7C 9C 23 78 */ mr r28, r4 +/* 802747E0 00271740 C0 45 00 00 */ lfs f2, 0(r5) +/* 802747E4 00271744 7C 7B 1B 78 */ mr r27, r3 +/* 802747E8 00271748 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802747EC 0027174C FF E0 08 90 */ fmr f31, f1 +/* 802747F0 00271750 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802747F4 00271754 38 60 00 00 */ li r3, 0 +/* 802747F8 00271758 80 AD 98 D0 */ lwz r5, lbl_805A8490@sda21(r13) +/* 802747FC 0027175C 38 80 00 01 */ li r4, 1 +/* 80274800 00271760 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 80274804 00271764 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80274808 00271768 83 FC 08 4C */ lwz r31, 0x84c(r28) +/* 8027480C 0027176C 48 11 56 E9 */ bl __shl2i +/* 80274810 00271770 80 AD 98 D4 */ lwz r5, lbl_805A8494@sda21(r13) +/* 80274814 00271774 7C 9D 23 78 */ mr r29, r4 +/* 80274818 00271778 7C 7E 1B 78 */ mr r30, r3 +/* 8027481C 0027177C 38 60 00 00 */ li r3, 0 +/* 80274820 00271780 38 80 00 01 */ li r4, 1 +/* 80274824 00271784 48 11 56 D1 */ bl __shl2i +/* 80274828 00271788 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 8027482C 0027178C 7F BD 23 78 */ or r29, r29, r4 +/* 80274830 00271790 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l +/* 80274834 00271794 7F DE 1B 78 */ or r30, r30, r3 +/* 80274838 00271798 39 00 00 00 */ li r8, 0 +/* 8027483C 0027179C 38 00 00 01 */ li r0, 1 +/* 80274840 002717A0 C0 82 BC 20 */ lfs f4, lbl_805AD940@sda21(r2) +/* 80274844 002717A4 7F 83 E3 78 */ mr r3, r28 +/* 80274848 002717A8 C0 45 00 08 */ lfs f2, 8(r5) +/* 8027484C 002717AC 7F 67 DB 78 */ mr r7, r27 +/* 80274850 002717B0 C0 25 00 00 */ lfs f1, 0(r5) +/* 80274854 002717B4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80274858 002717B8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8027485C 002717BC EC A4 00 B2 */ fmuls f5, f4, f2 +/* 80274860 002717C0 EC 64 00 72 */ fmuls f3, f4, f1 +/* 80274864 002717C4 93 A1 00 6C */ stw r29, 0x6c(r1) +/* 80274868 002717C8 EC 44 00 32 */ fmuls f2, f4, f0 +/* 8027486C 002717CC 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80274870 002717D0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80274874 002717D4 38 C1 00 68 */ addi r6, r1, 0x68 +/* 80274878 002717D8 91 01 00 74 */ stw r8, 0x74(r1) +/* 8027487C 002717DC 91 01 00 70 */ stw r8, 0x70(r1) +/* 80274880 002717E0 90 01 00 78 */ stw r0, 0x78(r1) +/* 80274884 002717E4 C1 1F 00 60 */ lfs f8, 0x60(r31) +/* 80274888 002717E8 C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 8027488C 002717EC C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80274890 002717F0 EC 88 28 2A */ fadds f4, f8, f5 +/* 80274894 002717F4 EC C7 10 2A */ fadds f6, f7, f2 +/* 80274898 002717F8 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8027489C 002717FC EC 01 18 2A */ fadds f0, f1, f3 +/* 802748A0 00271800 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802748A4 00271804 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802748A8 00271808 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802748AC 0027180C D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 802748B0 00271810 D1 01 00 40 */ stfs f8, 0x40(r1) +/* 802748B4 00271814 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802748B8 00271818 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802748BC 0027181C D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802748C0 00271820 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802748C4 00271824 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802748C8 00271828 D1 01 00 58 */ stfs f8, 0x58(r1) +/* 802748CC 0027182C 4B DD 85 71 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 802748D0 00271830 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802748D4 00271834 40 82 00 5C */ bne lbl_80274930 +/* 802748D8 00271838 C0 22 BC 70 */ lfs f1, lbl_805AD990@sda21(r2) +/* 802748DC 0027183C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802748E0 00271840 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 802748E4 00271844 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) +/* 802748E8 00271848 EC 61 00 32 */ fmuls f3, f1, f0 +/* 802748EC 0027184C C0 23 00 04 */ lfs f1, 4(r3) +/* 802748F0 00271850 C0 03 00 08 */ lfs f0, 8(r3) +/* 802748F4 00271854 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802748F8 00271858 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802748FC 0027185C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80274900 00271860 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80274904 00271864 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80274908 00271868 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027490C 0027186C 4B DA 6C 29 */ bl Identity__10CAxisAngleFv +/* 80274910 00271870 7C 65 1B 78 */ mr r5, r3 +/* 80274914 00271874 7F E3 FB 78 */ mr r3, r31 +/* 80274918 00271878 38 81 00 20 */ addi r4, r1, 0x20 +/* 8027491C 0027187C 4B EA 7A 7D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80274920 00271880 7F E3 FB 78 */ mr r3, r31 +/* 80274924 00271884 7F 85 E3 78 */ mr r5, r28 +/* 80274928 00271888 38 80 00 02 */ li r4, 2 +/* 8027492C 0027188C 48 01 1A C1 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +lbl_80274930: +/* 80274930 00271890 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274934 00271894 C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) +/* 80274938 00271898 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8027493C 0027189C 38 61 00 5C */ addi r3, r1, 0x5c +/* 80274940 002718A0 48 09 B6 25 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80274944 002718A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80274948 002718A8 40 82 00 7C */ bne lbl_802749C4 +/* 8027494C 002718AC C3 DF 00 E8 */ lfs f30, 0xe8(r31) +/* 80274950 002718B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80274954 002718B4 38 81 00 5C */ addi r4, r1, 0x5c +/* 80274958 002718B8 48 09 FE F9 */ bl AsNormalized__9CVector3fCFv +/* 8027495C 002718BC C0 62 BC 74 */ lfs f3, lbl_805AD994@sda21(r2) +/* 80274960 002718C0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80274964 002718C4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80274968 002718C8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8027496C 002718CC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80274970 002718D0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80274974 002718D4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80274978 002718D8 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 8027497C 002718DC EC 3E 00 72 */ fmuls f1, f30, f1 +/* 80274980 002718E0 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80274984 002718E4 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80274988 002718E8 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8027498C 002718EC EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80274990 002718F0 D0 41 00 08 */ stfs f2, 8(r1) +/* 80274994 002718F4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80274998 002718F8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027499C 002718FC 4B DA 6B 99 */ bl Identity__10CAxisAngleFv +/* 802749A0 00271900 7C 65 1B 78 */ mr r5, r3 +/* 802749A4 00271904 7F E3 FB 78 */ mr r3, r31 +/* 802749A8 00271908 38 81 00 08 */ addi r4, r1, 8 +/* 802749AC 0027190C 4B EA 79 ED */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 802749B0 00271910 7F E3 FB 78 */ mr r3, r31 +/* 802749B4 00271914 4B EA 67 C9 */ bl UseCollisionImpulses__13CPhysicsActorFv +/* 802749B8 00271918 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 802749BC 0027191C EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802749C0 00271920 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) +lbl_802749C4: +/* 802749C4 00271924 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 802749C8 00271928 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 802749CC 0027192C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 802749D0 00271930 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 802749D4 00271934 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 802749D8 00271938 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802749DC 0027193C 7C 08 03 A6 */ mtlr r0 +/* 802749E0 00271940 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802749E4 00271944 4E 80 00 20 */ blr + +.global sub_802749e8 +sub_802749e8: +/* 802749E8 00271948 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802749EC 0027194C 7C 08 02 A6 */ mflr r0 +/* 802749F0 00271950 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802749F4 00271954 DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 802749F8 00271958 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 802749FC 0027195C DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 80274A00 00271960 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 80274A04 00271964 DB A1 01 90 */ stfd f29, 0x190(r1) +/* 80274A08 00271968 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 +/* 80274A0C 0027196C DB 81 01 80 */ stfd f28, 0x180(r1) +/* 80274A10 00271970 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 +/* 80274A14 00271974 DB 61 01 70 */ stfd f27, 0x170(r1) +/* 80274A18 00271978 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 +/* 80274A1C 0027197C DB 41 01 60 */ stfd f26, 0x160(r1) +/* 80274A20 00271980 F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0 +/* 80274A24 00271984 DB 21 01 50 */ stfd f25, 0x150(r1) +/* 80274A28 00271988 F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0 +/* 80274A2C 0027198C DB 01 01 40 */ stfd f24, 0x140(r1) +/* 80274A30 00271990 F3 01 01 48 */ psq_st f24, 328(r1), 0, qr0 +/* 80274A34 00271994 DA E1 01 30 */ stfd f23, 0x130(r1) +/* 80274A38 00271998 F2 E1 01 38 */ psq_st f23, 312(r1), 0, qr0 +/* 80274A3C 0027199C DA C1 01 20 */ stfd f22, 0x120(r1) +/* 80274A40 002719A0 F2 C1 01 28 */ psq_st f22, 296(r1), 0, qr0 +/* 80274A44 002719A4 DA A1 01 10 */ stfd f21, 0x110(r1) +/* 80274A48 002719A8 F2 A1 01 18 */ psq_st f21, 280(r1), 0, qr0 +/* 80274A4C 002719AC DA 81 01 00 */ stfd f20, 0x100(r1) +/* 80274A50 002719B0 F2 81 01 08 */ psq_st f20, 264(r1), 0, qr0 +/* 80274A54 002719B4 DA 61 00 F0 */ stfd f19, 0xf0(r1) +/* 80274A58 002719B8 F2 61 00 F8 */ psq_st f19, 248(r1), 0, qr0 +/* 80274A5C 002719BC DA 41 00 E0 */ stfd f18, 0xe0(r1) +/* 80274A60 002719C0 F2 41 00 E8 */ psq_st f18, 232(r1), 0, qr0 +/* 80274A64 002719C4 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 80274A68 002719C8 FE 80 08 90 */ fmr f20, f1 +/* 80274A6C 002719CC C0 25 00 08 */ lfs f1, 8(r5) +/* 80274A70 002719D0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80274A74 002719D4 FE A0 10 90 */ fmr f21, f2 +/* 80274A78 002719D8 C0 A5 00 04 */ lfs f5, 4(r5) +/* 80274A7C 002719DC 54 C0 18 38 */ slwi r0, r6, 3 +/* 80274A80 002719E0 EC 41 00 28 */ fsubs f2, f1, f0 +/* 80274A84 002719E4 7C 63 02 14 */ add r3, r3, r0 +/* 80274A88 002719E8 C0 84 00 04 */ lfs f4, 4(r4) +/* 80274A8C 002719EC FE C0 18 90 */ fmr f22, f3 +/* 80274A90 002719F0 C0 25 00 00 */ lfs f1, 0(r5) +/* 80274A94 002719F4 7C 9D 23 78 */ mr r29, r4 +/* 80274A98 002719F8 C0 04 00 00 */ lfs f0, 0(r4) +/* 80274A9C 002719FC EC 85 20 28 */ fsubs f4, f5, f4 +/* 80274AA0 00271A00 83 E3 0F F4 */ lwz r31, 0xff4(r3) +/* 80274AA4 00271A04 83 C3 10 08 */ lwz r30, 0x1008(r3) +/* 80274AA8 00271A08 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80274AAC 00271A0C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80274AB0 00271A10 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80274AB4 00271A14 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80274AB8 00271A18 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80274ABC 00271A1C 48 09 FD FD */ bl Magnitude__9CVector3fCFv +/* 80274AC0 00271A20 FE E0 08 90 */ fmr f23, f1 +/* 80274AC4 00271A24 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274AC8 00271A28 C3 C1 00 44 */ lfs f30, 0x44(r1) +/* 80274ACC 00271A2C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80274AD0 00271A30 C3 A1 00 48 */ lfs f29, 0x48(r1) +/* 80274AD4 00271A34 38 61 00 44 */ addi r3, r1, 0x44 +/* 80274AD8 00271A38 C3 81 00 4C */ lfs f28, 0x4c(r1) +/* 80274ADC 00271A3C C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) +/* 80274AE0 00271A40 48 09 B4 85 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80274AE4 00271A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80274AE8 00271A48 40 82 03 00 */ bne lbl_80274DE8 +/* 80274AEC 00271A4C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80274AF0 00271A50 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80274AF4 00271A54 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80274AF8 00271A58 C3 7D 00 00 */ lfs f27, 0(r29) +/* 80274AFC 00271A5C C3 5D 00 04 */ lfs f26, 4(r29) +/* 80274B00 00271A60 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80274B04 00271A64 C3 3D 00 08 */ lfs f25, 8(r29) +/* 80274B08 00271A68 38 61 00 50 */ addi r3, r1, 0x50 +/* 80274B0C 00271A6C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80274B10 00271A70 48 09 F0 01 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80274B14 00271A74 38 61 00 80 */ addi r3, r1, 0x80 +/* 80274B18 00271A78 38 81 00 50 */ addi r4, r1, 0x50 +/* 80274B1C 00271A7C 48 09 E0 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80274B20 00271A80 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 80274B24 00271A84 3C 00 43 30 */ lis r0, 0x4330 +/* 80274B28 00271A88 C0 A2 BC 30 */ lfs f5, lbl_805AD950@sda21(r2) +/* 80274B2C 00271A8C 7F E3 FB 78 */ mr r3, r31 +/* 80274B30 00271A90 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80274B34 00271A94 38 80 00 01 */ li r4, 1 +/* 80274B38 00271A98 EC 00 2D FA */ fmadds f0, f0, f23, f5 +/* 80274B3C 00271A9C C8 82 BC 78 */ lfd f4, lbl_805AD998@sda21(r2) +/* 80274B40 00271AA0 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80274B44 00271AA4 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80274B48 00271AA8 FC 60 00 1E */ fctiwz f3, f0 +/* 80274B4C 00271AAC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80274B50 00271AB0 D8 61 00 B0 */ stfd f3, 0xb0(r1) +/* 80274B54 00271AB4 83 61 00 B4 */ lwz r27, 0xb4(r1) +/* 80274B58 00271AB8 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 80274B5C 00271ABC 90 01 00 BC */ stw r0, 0xbc(r1) +/* 80274B60 00271AC0 C8 61 00 B8 */ lfd f3, 0xb8(r1) +/* 80274B64 00271AC4 EC 63 20 28 */ fsubs f3, f3, f4 +/* 80274B68 00271AC8 EC 65 18 24 */ fdivs f3, f5, f3 +/* 80274B6C 00271ACC EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80274B70 00271AD0 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80274B74 00271AD4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80274B78 00271AD8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80274B7C 00271ADC D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80274B80 00271AE0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80274B84 00271AE4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80274B88 00271AE8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274B8C 00271AEC 7D 89 03 A6 */ mtctr r12 +/* 80274B90 00271AF0 4E 80 04 21 */ bctrl +/* 80274B94 00271AF4 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 80274B98 00271AF8 3F 80 43 30 */ lis r28, 0x4330 +/* 80274B9C 00271AFC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274BA0 00271B00 3B 40 00 00 */ li r26, 0 +/* 80274BA4 00271B04 CB E2 BC 78 */ lfd f31, lbl_805AD998@sda21(r2) +/* 80274BA8 00271B08 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274BAC 00271B0C C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 80274BB0 00271B10 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274BB4 00271B14 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80274BB8 00271B18 EF 01 00 24 */ fdivs f24, f1, f0 +/* 80274BBC 00271B1C 48 00 00 D8 */ b lbl_80274C94 +lbl_80274BC0: +/* 80274BC0 00271B20 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 80274BC4 00271B24 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274BC8 00271B28 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274BCC 00271B2C C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274BD0 00271B30 EE E0 F8 28 */ fsubs f23, f0, f31 +/* 80274BD4 00271B34 EE 77 06 32 */ fmuls f19, f23, f24 +/* 80274BD8 00271B38 EC 37 B0 2A */ fadds f1, f23, f22 +/* 80274BDC 00271B3C 48 0A 01 69 */ bl FastCosR__5CMathFf +/* 80274BE0 00271B40 EC 13 00 72 */ fmuls f0, f19, f1 +/* 80274BE4 00271B44 FC 20 B8 90 */ fmr f1, f23 +/* 80274BE8 00271B48 EE F4 00 32 */ fmuls f23, f20, f0 +/* 80274BEC 00271B4C 48 0A 02 05 */ bl FastSinR__5CMathFf +/* 80274BF0 00271B50 EC 13 00 72 */ fmuls f0, f19, f1 +/* 80274BF4 00271B54 2C 1A 00 00 */ cmpwi r26, 0 +/* 80274BF8 00271B58 EC 35 00 32 */ fmuls f1, f21, f0 +/* 80274BFC 00271B5C 40 81 00 2C */ ble lbl_80274C28 +/* 80274C00 00271B60 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274C04 00271B64 38 61 00 20 */ addi r3, r1, 0x20 +/* 80274C08 00271B68 D2 E1 00 2C */ stfs f23, 0x2c(r1) +/* 80274C0C 00271B6C 38 81 00 80 */ addi r4, r1, 0x80 +/* 80274C10 00271B70 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80274C14 00271B74 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80274C18 00271B78 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80274C1C 00271B7C 48 09 DE CD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80274C20 00271B80 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80274C24 00271B84 48 00 00 0C */ b lbl_80274C30 +lbl_80274C28: +/* 80274C28 00271B88 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274C2C 00271B8C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +lbl_80274C30: +/* 80274C30 00271B90 C0 45 00 04 */ lfs f2, 4(r5) +/* 80274C34 00271B94 7F E3 FB 78 */ mr r3, r31 +/* 80274C38 00271B98 C0 25 00 08 */ lfs f1, 8(r5) +/* 80274C3C 00271B9C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80274C40 00271BA0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80274C44 00271BA4 EC 5A 10 2A */ fadds f2, f26, f2 +/* 80274C48 00271BA8 EC 39 08 2A */ fadds f1, f25, f1 +/* 80274C4C 00271BAC EC 1B 00 2A */ fadds f0, f27, f0 +/* 80274C50 00271BB0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80274C54 00271BB4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80274C58 00271BB8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80274C5C 00271BBC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80274C60 00271BC0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80274C64 00271BC4 7D 89 03 A6 */ mtctr r12 +/* 80274C68 00271BC8 4E 80 04 21 */ bctrl +/* 80274C6C 00271BCC 7F E3 FB 78 */ mr r3, r31 +/* 80274C70 00271BD0 38 80 00 01 */ li r4, 1 +/* 80274C74 00271BD4 48 0A 7C 4D */ bl ForceParticleCreation__11CElementGenFi +/* 80274C78 00271BD8 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80274C7C 00271BDC 3B 5A 00 01 */ addi r26, r26, 1 +/* 80274C80 00271BE0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80274C84 00271BE4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80274C88 00271BE8 EF 7B 10 2A */ fadds f27, f27, f2 +/* 80274C8C 00271BEC EF 5A 08 2A */ fadds f26, f26, f1 +/* 80274C90 00271BF0 EF 39 00 2A */ fadds f25, f25, f0 +lbl_80274C94: +/* 80274C94 00271BF4 7C 1A D8 00 */ cmpw r26, r27 +/* 80274C98 00271BF8 41 80 FF 28 */ blt lbl_80274BC0 +/* 80274C9C 00271BFC 7F E3 FB 78 */ mr r3, r31 +/* 80274CA0 00271C00 38 80 00 00 */ li r4, 0 +/* 80274CA4 00271C04 81 9F 00 00 */ lwz r12, 0(r31) +/* 80274CA8 00271C08 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274CAC 00271C0C 7D 89 03 A6 */ mtctr r12 +/* 80274CB0 00271C10 4E 80 04 21 */ bctrl +/* 80274CB4 00271C14 80 7E 01 60 */ lwz r3, 0x160(r30) +/* 80274CB8 00271C18 3F 80 43 30 */ lis r28, 0x4330 +/* 80274CBC 00271C1C 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274CC0 00271C20 3B E0 00 00 */ li r31, 0 +/* 80274CC4 00271C24 38 63 FF FF */ addi r3, r3, -1 +/* 80274CC8 00271C28 CB E2 BC 78 */ lfd f31, lbl_805AD998@sda21(r2) +/* 80274CCC 00271C2C 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 80274CD0 00271C30 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 80274CD4 00271C34 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274CD8 00271C38 54 60 38 30 */ slwi r0, r3, 7 +/* 80274CDC 00271C3C 80 7E 01 68 */ lwz r3, 0x168(r30) +/* 80274CE0 00271C40 3B 40 00 00 */ li r26, 0 +/* 80274CE4 00271C44 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274CE8 00271C48 7C 63 02 14 */ add r3, r3, r0 +/* 80274CEC 00271C4C C3 3D 00 00 */ lfs f25, 0(r29) +/* 80274CF0 00271C50 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80274CF4 00271C54 C3 5D 00 04 */ lfs f26, 4(r29) +/* 80274CF8 00271C58 C3 7D 00 08 */ lfs f27, 8(r29) +/* 80274CFC 00271C5C C3 03 00 30 */ lfs f24, 0x30(r3) +/* 80274D00 00271C60 EE E1 00 24 */ fdivs f23, f1, f0 +/* 80274D04 00271C64 EF DE 05 F2 */ fmuls f30, f30, f23 +/* 80274D08 00271C68 EF BD 05 F2 */ fmuls f29, f29, f23 +/* 80274D0C 00271C6C EF 9C 05 F2 */ fmuls f28, f28, f23 +/* 80274D10 00271C70 48 00 00 CC */ b lbl_80274DDC +lbl_80274D14: +/* 80274D14 00271C74 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 80274D18 00271C78 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274D1C 00271C7C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274D20 00271C80 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274D24 00271C84 EE 60 F8 28 */ fsubs f19, f0, f31 +/* 80274D28 00271C88 EE 53 05 F2 */ fmuls f18, f19, f23 +/* 80274D2C 00271C8C EC 33 B0 2A */ fadds f1, f19, f22 +/* 80274D30 00271C90 48 0A 00 15 */ bl FastCosR__5CMathFf +/* 80274D34 00271C94 EC 12 00 72 */ fmuls f0, f18, f1 +/* 80274D38 00271C98 FC 20 98 90 */ fmr f1, f19 +/* 80274D3C 00271C9C EE 74 00 32 */ fmuls f19, f20, f0 +/* 80274D40 00271CA0 48 0A 00 B1 */ bl FastSinR__5CMathFf +/* 80274D44 00271CA4 EC 12 00 72 */ fmuls f0, f18, f1 +/* 80274D48 00271CA8 2C 1F 00 00 */ cmpwi r31, 0 +/* 80274D4C 00271CAC EC 35 00 32 */ fmuls f1, f21, f0 +/* 80274D50 00271CB0 40 81 00 2C */ ble lbl_80274D7C +/* 80274D54 00271CB4 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274D58 00271CB8 38 61 00 08 */ addi r3, r1, 8 +/* 80274D5C 00271CBC D2 61 00 14 */ stfs f19, 0x14(r1) +/* 80274D60 00271CC0 38 81 00 80 */ addi r4, r1, 0x80 +/* 80274D64 00271CC4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80274D68 00271CC8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80274D6C 00271CCC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80274D70 00271CD0 48 09 DD 79 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80274D74 00271CD4 38 61 00 08 */ addi r3, r1, 8 +/* 80274D78 00271CD8 48 00 00 0C */ b lbl_80274D84 +lbl_80274D7C: +/* 80274D7C 00271CDC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274D80 00271CE0 38 63 66 A0 */ addi r3, r3, skZero3f@l +lbl_80274D84: +/* 80274D84 00271CE4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80274D88 00271CE8 38 81 00 80 */ addi r4, r1, 0x80 +/* 80274D8C 00271CEC C0 43 00 04 */ lfs f2, 4(r3) +/* 80274D90 00271CF0 80 1E 01 68 */ lwz r0, 0x168(r30) +/* 80274D94 00271CF4 EC 19 00 2A */ fadds f0, f25, f0 +/* 80274D98 00271CF8 C0 23 00 08 */ lfs f1, 8(r3) +/* 80274D9C 00271CFC EC 5A 10 2A */ fadds f2, f26, f2 +/* 80274DA0 00271D00 7F 60 D2 14 */ add r27, r0, r26 +/* 80274DA4 00271D04 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 80274DA8 00271D08 EC 1B 08 2A */ fadds f0, f27, f1 +/* 80274DAC 00271D0C 38 7B 00 38 */ addi r3, r27, 0x38 +/* 80274DB0 00271D10 D0 5B 00 10 */ stfs f2, 0x10(r27) +/* 80274DB4 00271D14 D0 1B 00 14 */ stfs f0, 0x14(r27) +/* 80274DB8 00271D18 48 09 DD 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80274DBC 00271D1C C0 1B 00 30 */ lfs f0, 0x30(r27) +/* 80274DC0 00271D20 EF 39 F0 2A */ fadds f25, f25, f30 +/* 80274DC4 00271D24 EF 5A E8 2A */ fadds f26, f26, f29 +/* 80274DC8 00271D28 3B FF 00 01 */ addi r31, r31, 1 +/* 80274DCC 00271D2C D3 1B 00 30 */ stfs f24, 0x30(r27) +/* 80274DD0 00271D30 FF 00 00 90 */ fmr f24, f0 +/* 80274DD4 00271D34 EF 7B E0 2A */ fadds f27, f27, f28 +/* 80274DD8 00271D38 3B 5A 00 80 */ addi r26, r26, 0x80 +lbl_80274DDC: +/* 80274DDC 00271D3C 80 1E 01 60 */ lwz r0, 0x160(r30) +/* 80274DE0 00271D40 7C 1F 00 00 */ cmpw r31, r0 +/* 80274DE4 00271D44 41 80 FF 30 */ blt lbl_80274D14 +lbl_80274DE8: +/* 80274DE8 00271D48 E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 80274DEC 00271D4C CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 80274DF0 00271D50 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 +/* 80274DF4 00271D54 CB C1 01 A0 */ lfd f30, 0x1a0(r1) +/* 80274DF8 00271D58 E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 +/* 80274DFC 00271D5C CB A1 01 90 */ lfd f29, 0x190(r1) +/* 80274E00 00271D60 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 +/* 80274E04 00271D64 CB 81 01 80 */ lfd f28, 0x180(r1) +/* 80274E08 00271D68 E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 +/* 80274E0C 00271D6C CB 61 01 70 */ lfd f27, 0x170(r1) +/* 80274E10 00271D70 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0 +/* 80274E14 00271D74 CB 41 01 60 */ lfd f26, 0x160(r1) +/* 80274E18 00271D78 E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0 +/* 80274E1C 00271D7C CB 21 01 50 */ lfd f25, 0x150(r1) +/* 80274E20 00271D80 E3 01 01 48 */ psq_l f24, 328(r1), 0, qr0 +/* 80274E24 00271D84 CB 01 01 40 */ lfd f24, 0x140(r1) +/* 80274E28 00271D88 E2 E1 01 38 */ psq_l f23, 312(r1), 0, qr0 +/* 80274E2C 00271D8C CA E1 01 30 */ lfd f23, 0x130(r1) +/* 80274E30 00271D90 E2 C1 01 28 */ psq_l f22, 296(r1), 0, qr0 +/* 80274E34 00271D94 CA C1 01 20 */ lfd f22, 0x120(r1) +/* 80274E38 00271D98 E2 A1 01 18 */ psq_l f21, 280(r1), 0, qr0 +/* 80274E3C 00271D9C CA A1 01 10 */ lfd f21, 0x110(r1) +/* 80274E40 00271DA0 E2 81 01 08 */ psq_l f20, 264(r1), 0, qr0 +/* 80274E44 00271DA4 CA 81 01 00 */ lfd f20, 0x100(r1) +/* 80274E48 00271DA8 E2 61 00 F8 */ psq_l f19, 248(r1), 0, qr0 +/* 80274E4C 00271DAC CA 61 00 F0 */ lfd f19, 0xf0(r1) +/* 80274E50 00271DB0 E2 41 00 E8 */ psq_l f18, 232(r1), 0, qr0 +/* 80274E54 00271DB4 CA 41 00 E0 */ lfd f18, 0xe0(r1) +/* 80274E58 00271DB8 BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 80274E5C 00271DBC 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 80274E60 00271DC0 7C 08 03 A6 */ mtlr r0 +/* 80274E64 00271DC4 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 80274E68 00271DC8 4E 80 00 20 */ blr + +.global sub_80274e6c +sub_80274e6c: +/* 80274E6C 00271DCC 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 80274E70 00271DD0 7C 08 02 A6 */ mflr r0 +/* 80274E74 00271DD4 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80274E78 00271DD8 DB E1 01 D0 */ stfd f31, 0x1d0(r1) +/* 80274E7C 00271DDC F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 +/* 80274E80 00271DE0 DB C1 01 C0 */ stfd f30, 0x1c0(r1) +/* 80274E84 00271DE4 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 +/* 80274E88 00271DE8 DB A1 01 B0 */ stfd f29, 0x1b0(r1) +/* 80274E8C 00271DEC F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 +/* 80274E90 00271DF0 DB 81 01 A0 */ stfd f28, 0x1a0(r1) +/* 80274E94 00271DF4 F3 81 01 A8 */ psq_st f28, 424(r1), 0, qr0 +/* 80274E98 00271DF8 DB 61 01 90 */ stfd f27, 0x190(r1) +/* 80274E9C 00271DFC F3 61 01 98 */ psq_st f27, 408(r1), 0, qr0 +/* 80274EA0 00271E00 DB 41 01 80 */ stfd f26, 0x180(r1) +/* 80274EA4 00271E04 F3 41 01 88 */ psq_st f26, 392(r1), 0, qr0 +/* 80274EA8 00271E08 DB 21 01 70 */ stfd f25, 0x170(r1) +/* 80274EAC 00271E0C F3 21 01 78 */ psq_st f25, 376(r1), 0, qr0 +/* 80274EB0 00271E10 DB 01 01 60 */ stfd f24, 0x160(r1) +/* 80274EB4 00271E14 F3 01 01 68 */ psq_st f24, 360(r1), 0, qr0 +/* 80274EB8 00271E18 DA E1 01 50 */ stfd f23, 0x150(r1) +/* 80274EBC 00271E1C F2 E1 01 58 */ psq_st f23, 344(r1), 0, qr0 +/* 80274EC0 00271E20 BE A1 01 24 */ stmw r21, 0x124(r1) +/* 80274EC4 00271E24 7C 77 1B 78 */ mr r23, r3 +/* 80274EC8 00271E28 FF E0 08 90 */ fmr f31, f1 +/* 80274ECC 00271E2C C3 02 BC 08 */ lfs f24, lbl_805AD928@sda21(r2) +/* 80274ED0 00271E30 7C 98 23 78 */ mr r24, r4 +/* 80274ED4 00271E34 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80274ED8 00271E38 4B EC 51 F5 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80274EDC 00271E3C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274EE0 00271E40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80274EE4 00271E44 40 81 00 30 */ ble lbl_80274F14 +/* 80274EE8 00271E48 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80274EEC 00271E4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80274EF0 00271E50 41 82 00 24 */ beq lbl_80274F14 +/* 80274EF4 00271E54 7E E3 BB 78 */ mr r3, r23 +/* 80274EF8 00271E58 7F 04 C3 78 */ mr r4, r24 +/* 80274EFC 00271E5C 38 A0 00 00 */ li r5, 0 +/* 80274F00 00271E60 48 00 06 AD */ bl sub_802755ac +/* 80274F04 00271E64 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80274F08 00271E68 38 60 00 01 */ li r3, 1 +/* 80274F0C 00271E6C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80274F10 00271E70 98 17 10 54 */ stb r0, 0x1054(r23) +lbl_80274F14: +/* 80274F14 00271E74 C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) +/* 80274F18 00271E78 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80274F1C 00271E7C C3 C2 BC 68 */ lfs f30, lbl_805AD988@sda21(r2) +/* 80274F20 00271E80 3B D7 10 30 */ addi r30, r23, 0x1030 +/* 80274F24 00271E84 EF 20 07 F2 */ fmuls f25, f0, f31 +/* 80274F28 00271E88 3B B7 10 3C */ addi r29, r23, 0x103c +/* 80274F2C 00271E8C 3B 77 10 04 */ addi r27, r23, 0x1004 +/* 80274F30 00271E90 3B 57 0F F0 */ addi r26, r23, 0xff0 +/* 80274F34 00271E94 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l +/* 80274F38 00271E98 3B 20 00 00 */ li r25, 0 +/* 80274F3C 00271E9C 3B 82 BB DC */ addi r28, r2, lbl_805AD8FC@sda21 +lbl_80274F40: +/* 80274F40 00271EA0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80274F44 00271EA4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80274F48 00271EA8 80 9C 00 00 */ lwz r4, 0(r28) +/* 80274F4C 00271EAC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80274F50 00271EB0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80274F54 00271EB4 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80274F58 00271EB8 EC 00 C8 2A */ fadds f0, f0, f25 +/* 80274F5C 00271EBC D0 1D 00 00 */ stfs f0, 0(r29) +/* 80274F60 00271EC0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80274F64 00271EC4 EE E0 F0 24 */ fdivs f23, f0, f30 +/* 80274F68 00271EC8 4B D8 FD 51 */ bl string_l__4rstlFPCc +/* 80274F6C 00271ECC 7E E4 BB 78 */ mr r4, r23 +/* 80274F70 00271ED0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80274F74 00271ED4 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80274F78 00271ED8 4B E0 3A 01 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80274F7C 00271EDC C0 41 01 1C */ lfs f2, 0x11c(r1) +/* 80274F80 00271EE0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80274F84 00271EE4 C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 80274F88 00271EE8 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 80274F8C 00271EEC D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 80274F90 00271EF0 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80274F94 00271EF4 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 80274F98 00271EF8 48 0C 8B 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80274F9C 00271EFC 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80274FA0 00271F00 38 61 00 64 */ addi r3, r1, 0x64 +/* 80274FA4 00271F04 80 D8 08 4C */ lwz r6, 0x84c(r24) +/* 80274FA8 00271F08 38 81 00 58 */ addi r4, r1, 0x58 +/* 80274FAC 00271F0C C3 45 02 7C */ lfs f26, 0x27c(r5) +/* 80274FB0 00271F10 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80274FB4 00271F14 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80274FB8 00271F18 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80274FBC 00271F1C EC BA 00 B2 */ fmuls f5, f26, f2 +/* 80274FC0 00271F20 C0 C6 00 40 */ lfs f6, 0x40(r6) +/* 80274FC4 00271F24 EC 5A 00 72 */ fmuls f2, f26, f1 +/* 80274FC8 00271F28 C0 86 00 50 */ lfs f4, 0x50(r6) +/* 80274FCC 00271F2C EC 3A 00 32 */ fmuls f1, f26, f0 +/* 80274FD0 00271F30 C0 66 00 60 */ lfs f3, 0x60(r6) +/* 80274FD4 00271F34 EF 66 28 2A */ fadds f27, f6, f5 +/* 80274FD8 00271F38 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80274FDC 00271F3C EF 84 10 2A */ fadds f28, f4, f2 +/* 80274FE0 00271F40 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80274FE4 00271F44 EF A3 08 2A */ fadds f29, f3, f1 +/* 80274FE8 00271F48 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 80274FEC 00271F4C EC 42 E0 28 */ fsubs f2, f2, f28 +/* 80274FF0 00271F50 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80274FF4 00271F54 EC 00 D8 28 */ fsubs f0, f0, f27 +/* 80274FF8 00271F58 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80274FFC 00271F5C D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80275000 00271F60 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80275004 00271F64 48 09 F8 4D */ bl AsNormalized__9CVector3fCFv +/* 80275008 00271F68 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8027500C 00271F6C C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80275010 00271F70 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80275014 00271F74 EC 5A 00 B2 */ fmuls f2, f26, f2 +/* 80275018 00271F78 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 8027501C 00271F7C 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275020 00271F80 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 80275024 00271F84 EF 5B 10 2A */ fadds f26, f27, f2 +/* 80275028 00271F88 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027502C 00271F8C EF 9C 08 2A */ fadds f28, f28, f1 +/* 80275030 00271F90 EF 7D 00 2A */ fadds f27, f29, f0 +/* 80275034 00271F94 41 82 01 80 */ beq lbl_802751B4 +/* 80275038 00271F98 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) +/* 8027503C 00271F9C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80275040 00271FA0 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80275044 00271FA4 38 6D 98 A4 */ addi r3, r13, lbl_805A8464@sda21 +/* 80275048 00271FA8 38 AD 98 A8 */ addi r5, r13, lbl_805A8468@sda21 +/* 8027504C 00271FAC EC 01 05 F8 */ fmsubs f0, f1, f23, f0 +/* 80275050 00271FB0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80275054 00271FB4 4B D9 72 61 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80275058 00271FB8 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 8027505C 00271FBC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80275060 00271FC0 C3 A3 00 00 */ lfs f29, 0(r3) +/* 80275064 00271FC4 38 6D 98 AC */ addi r3, r13, lbl_805A846C@sda21 +/* 80275068 00271FC8 EC 00 B8 2A */ fadds f0, f0, f23 +/* 8027506C 00271FCC 38 AD 98 B0 */ addi r5, r13, lbl_805A8470@sda21 +/* 80275070 00271FD0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80275074 00271FD4 4B D9 72 41 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80275078 00271FD8 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 8027507C 00271FDC 7F 26 CB 78 */ mr r6, r25 +/* 80275080 00271FE0 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80275084 00271FE4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80275088 00271FE8 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8027508C 00271FEC EC A0 E8 28 */ fsubs f5, f0, f29 +/* 80275090 00271FF0 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80275094 00271FF4 EC 62 07 72 */ fmuls f3, f2, f29 +/* 80275098 00271FF8 EC 41 07 72 */ fmuls f2, f1, f29 +/* 8027509C 00271FFC C2 E3 00 00 */ lfs f23, 0(r3) +/* 802750A0 00272000 EC 00 07 72 */ fmuls f0, f0, f29 +/* 802750A4 00272004 EC 9C 19 7A */ fmadds f4, f28, f5, f3 +/* 802750A8 00272008 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) +/* 802750AC 0027200C EC 7B 11 7A */ fmadds f3, f27, f5, f2 +/* 802750B0 00272010 EC 5A 01 7A */ fmadds f2, f26, f5, f0 +/* 802750B4 00272014 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 802750B8 00272018 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802750BC 0027201C EC 21 05 F2 */ fmuls f1, f1, f23 +/* 802750C0 00272020 7E E3 BB 78 */ mr r3, r23 +/* 802750C4 00272024 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802750C8 00272028 EC 40 05 F2 */ fmuls f2, f0, f23 +/* 802750CC 0027202C 38 A1 00 8C */ addi r5, r1, 0x8c +/* 802750D0 00272030 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802750D4 00272034 C0 7D 00 00 */ lfs f3, 0(r29) +/* 802750D8 00272038 4B FF F9 11 */ bl sub_802749e8 +/* 802750DC 0027203C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802750E0 00272040 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802750E4 00272044 4C 40 13 82 */ cror 2, 0, 2 +/* 802750E8 00272048 40 82 00 98 */ bne lbl_80275180 +/* 802750EC 0027204C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 802750F0 00272050 38 60 00 00 */ li r3, 0 +/* 802750F4 00272054 80 AD 98 B8 */ lwz r5, lbl_805A8478@sda21(r13) +/* 802750F8 00272058 38 80 00 01 */ li r4, 1 +/* 802750FC 0027205C EF 18 00 2A */ fadds f24, f24, f0 +/* 80275100 00272060 48 11 4D F5 */ bl __shl2i +/* 80275104 00272064 80 AD 98 BC */ lwz r5, lbl_805A847C@sda21(r13) +/* 80275108 00272068 7C 95 23 78 */ mr r21, r4 +/* 8027510C 0027206C 7C 76 1B 78 */ mr r22, r3 +/* 80275110 00272070 38 60 00 00 */ li r3, 0 +/* 80275114 00272074 38 80 00 01 */ li r4, 1 +/* 80275118 00272078 48 11 4D DD */ bl __shl2i +/* 8027511C 0027207C 80 AD 98 B4 */ lwz r5, lbl_805A8474@sda21(r13) +/* 80275120 00272080 7E B5 23 78 */ or r21, r21, r4 +/* 80275124 00272084 7E D6 1B 78 */ or r22, r22, r3 +/* 80275128 00272088 38 60 00 00 */ li r3, 0 +/* 8027512C 0027208C 38 80 00 01 */ li r4, 1 +/* 80275130 00272090 48 11 4D C5 */ bl __shl2i +/* 80275134 00272094 38 00 00 03 */ li r0, 3 +/* 80275138 00272098 90 81 00 AC */ stw r4, 0xac(r1) +/* 8027513C 0027209C 7E E7 BB 78 */ mr r7, r23 +/* 80275140 002720A0 38 81 00 98 */ addi r4, r1, 0x98 +/* 80275144 002720A4 90 61 00 A8 */ stw r3, 0xa8(r1) +/* 80275148 002720A8 7F 03 C3 78 */ mr r3, r24 +/* 8027514C 002720AC 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80275150 002720B0 38 C1 00 A8 */ addi r6, r1, 0xa8 +/* 80275154 002720B4 92 A1 00 B4 */ stw r21, 0xb4(r1) +/* 80275158 002720B8 92 C1 00 B0 */ stw r22, 0xb0(r1) +/* 8027515C 002720BC 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80275160 002720C0 4B DD 7C DD */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 80275164 002720C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275168 002720C8 40 82 00 30 */ bne lbl_80275198 +/* 8027516C 002720CC 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275170 002720D0 38 60 00 01 */ li r3, 1 +/* 80275174 002720D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80275178 002720D8 98 17 10 54 */ stb r0, 0x1054(r23) +/* 8027517C 002720DC 48 00 00 1C */ b lbl_80275198 +lbl_80275180: +/* 80275180 002720E0 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80275184 002720E4 4C 40 13 82 */ cror 2, 0, 2 +/* 80275188 002720E8 40 82 00 10 */ bne lbl_80275198 +/* 8027518C 002720EC C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80275190 002720F0 EC 00 B8 28 */ fsubs f0, f0, f23 +/* 80275194 002720F4 EF 18 00 2A */ fadds f24, f24, f0 +lbl_80275198: +/* 80275198 002720F8 80 77 10 28 */ lwz r3, 0x1028(r23) +/* 8027519C 002720FC 38 81 00 8C */ addi r4, r1, 0x8c +/* 802751A0 00272100 81 83 00 00 */ lwz r12, 0(r3) +/* 802751A4 00272104 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802751A8 00272108 7D 89 03 A6 */ mtctr r12 +/* 802751AC 0027210C 4E 80 04 21 */ bctrl +/* 802751B0 00272110 48 00 00 C0 */ b lbl_80275270 +lbl_802751B4: +/* 802751B4 00272114 48 00 03 F1 */ bl sub_802755a4 +/* 802751B8 00272118 2C 03 00 00 */ cmpwi r3, 0 +/* 802751BC 0027211C 41 82 00 B4 */ beq lbl_80275270 +/* 802751C0 00272120 C0 22 BC 84 */ lfs f1, lbl_805AD9A4@sda21(r2) +/* 802751C4 00272124 38 81 00 0C */ addi r4, r1, 0xc +/* 802751C8 00272128 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 802751CC 0027212C 38 6D 98 C0 */ addi r3, r13, lbl_805A8480@sda21 +/* 802751D0 00272130 38 AD 98 C4 */ addi r5, r13, lbl_805A8484@sda21 +/* 802751D4 00272134 EC 01 05 F8 */ fmsubs f0, f1, f23, f0 +/* 802751D8 00272138 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802751DC 0027213C 4B D9 70 D9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802751E0 00272140 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 802751E4 00272144 38 81 00 08 */ addi r4, r1, 8 +/* 802751E8 00272148 C3 A3 00 00 */ lfs f29, 0(r3) +/* 802751EC 0027214C 38 6D 98 C8 */ addi r3, r13, lbl_805A8488@sda21 +/* 802751F0 00272150 EC 00 B8 2A */ fadds f0, f0, f23 +/* 802751F4 00272154 38 AD 98 CC */ addi r5, r13, lbl_805A848C@sda21 +/* 802751F8 00272158 D0 01 00 08 */ stfs f0, 8(r1) +/* 802751FC 0027215C 4B D9 70 B9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80275200 00272160 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80275204 00272164 EC BC 07 72 */ fmuls f5, f28, f29 +/* 80275208 00272168 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027520C 0027216C EC 7B 07 72 */ fmuls f3, f27, f29 +/* 80275210 00272170 EC E0 E8 28 */ fsubs f7, f0, f29 +/* 80275214 00272174 C0 C1 00 9C */ lfs f6, 0x9c(r1) +/* 80275218 00272178 C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 8027521C 0027217C EC 1A 07 72 */ fmuls f0, f26, f29 +/* 80275220 00272180 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 80275224 00272184 EC A6 29 FA */ fmadds f5, f6, f7, f5 +/* 80275228 00272188 EC 64 19 FA */ fmadds f3, f4, f7, f3 +/* 8027522C 0027218C 7E E3 BB 78 */ mr r3, r23 +/* 80275230 00272190 EC 02 01 FA */ fmadds f0, f2, f7, f0 +/* 80275234 00272194 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 80275238 00272198 FC 40 08 90 */ fmr f2, f1 +/* 8027523C 0027219C 7F 26 CB 78 */ mr r6, r25 +/* 80275240 002721A0 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80275244 002721A4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80275248 002721A8 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8027524C 002721AC D0 61 00 88 */ stfs f3, 0x88(r1) +/* 80275250 002721B0 C0 7D 00 00 */ lfs f3, 0(r29) +/* 80275254 002721B4 4B FF F7 95 */ bl sub_802749e8 +/* 80275258 002721B8 80 7B 00 04 */ lwz r3, 4(r27) +/* 8027525C 002721BC FC 20 F8 90 */ fmr f1, f31 +/* 80275260 002721C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80275264 002721C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80275268 002721C8 7D 89 03 A6 */ mtctr r12 +/* 8027526C 002721CC 4E 80 04 21 */ bctrl +lbl_80275270: +/* 80275270 002721D0 80 7A 00 04 */ lwz r3, 4(r26) +/* 80275274 002721D4 FC 20 F8 90 */ fmr f1, f31 +/* 80275278 002721D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8027527C 002721DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80275280 002721E0 7D 89 03 A6 */ mtctr r12 +/* 80275284 002721E4 4E 80 04 21 */ bctrl +/* 80275288 002721E8 3B 39 00 01 */ addi r25, r25, 1 +/* 8027528C 002721EC 3B BD 00 04 */ addi r29, r29, 4 +/* 80275290 002721F0 2C 19 00 02 */ cmpwi r25, 2 +/* 80275294 002721F4 3B 9C 00 04 */ addi r28, r28, 4 +/* 80275298 002721F8 3B 7B 00 08 */ addi r27, r27, 8 +/* 8027529C 002721FC 3B 5A 00 08 */ addi r26, r26, 8 +/* 802752A0 00272200 3B DE 00 04 */ addi r30, r30, 4 +/* 802752A4 00272204 41 80 FC 9C */ blt lbl_80274F40 +/* 802752A8 00272208 80 77 10 28 */ lwz r3, 0x1028(r23) +/* 802752AC 0027220C FC 20 F8 90 */ fmr f1, f31 +/* 802752B0 00272210 81 83 00 00 */ lwz r12, 0(r3) +/* 802752B4 00272214 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802752B8 00272218 7D 89 03 A6 */ mtctr r12 +/* 802752BC 0027221C 4E 80 04 21 */ bctrl +/* 802752C0 00272220 C0 22 BC 80 */ lfs f1, lbl_805AD9A0@sda21(r2) +/* 802752C4 00272224 C0 02 BC 88 */ lfs f0, lbl_805AD9A8@sda21(r2) +/* 802752C8 00272228 EF 21 06 32 */ fmuls f25, f1, f24 +/* 802752CC 0027222C FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 802752D0 00272230 40 81 00 38 */ ble lbl_80275308 +/* 802752D4 00272234 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 802752D8 00272238 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802752DC 0027223C 41 82 00 2C */ beq lbl_80275308 +/* 802752E0 00272240 80 77 10 28 */ lwz r3, 0x1028(r23) +/* 802752E4 00272244 38 80 00 01 */ li r4, 1 +/* 802752E8 00272248 81 83 00 00 */ lwz r12, 0(r3) +/* 802752EC 0027224C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802752F0 00272250 7D 89 03 A6 */ mtctr r12 +/* 802752F4 00272254 4E 80 04 21 */ bctrl +/* 802752F8 00272258 7E E3 BB 78 */ mr r3, r23 +/* 802752FC 0027225C 7F 04 C3 78 */ mr r4, r24 +/* 80275300 00272260 38 A0 00 01 */ li r5, 1 +/* 80275304 00272264 4B FF F0 DD */ bl sub_802743e0 +lbl_80275308: +/* 80275308 00272268 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 8027530C 0027226C C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) +/* 80275310 00272270 EC 38 08 28 */ fsubs f1, f24, f1 +/* 80275314 00272274 FC 20 0A 10 */ fabs f1, f1 +/* 80275318 00272278 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027531C 0027227C 41 80 02 2C */ blt lbl_80275548 +/* 80275320 00272280 80 78 08 4C */ lwz r3, 0x84c(r24) +/* 80275324 00272284 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80275328 00272288 2C 00 00 01 */ cmpwi r0, 1 +/* 8027532C 0027228C 40 82 00 48 */ bne lbl_80275374 +/* 80275330 00272290 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80275334 00272294 88 03 1D E4 */ lbz r0, 0x1de4(r3) +/* 80275338 00272298 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027533C 0027229C 41 82 00 14 */ beq lbl_80275350 +/* 80275340 002722A0 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275344 002722A4 38 60 00 01 */ li r3, 1 +/* 80275348 002722A8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8027534C 002722AC 98 17 10 54 */ stb r0, 0x1054(r23) +lbl_80275350: +/* 80275350 002722B0 80 78 08 4C */ lwz r3, 0x84c(r24) +/* 80275354 002722B4 4B D9 B9 05 */ bl GetAttachedActorStruggle__7CPlayerCFv +/* 80275358 002722B8 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 8027535C 002722BC FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80275360 002722C0 40 82 00 14 */ bne lbl_80275374 +/* 80275364 002722C4 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275368 002722C8 38 60 00 01 */ li r3, 1 +/* 8027536C 002722CC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80275370 002722D0 98 17 10 54 */ stb r0, 0x1054(r23) +lbl_80275374: +/* 80275374 002722D4 83 38 08 4C */ lwz r25, 0x84c(r24) +/* 80275378 002722D8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027537C 002722DC 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 80275380 002722E0 4B D8 F9 39 */ bl string_l__4rstlFPCc +/* 80275384 002722E4 7E E4 BB 78 */ mr r4, r23 +/* 80275388 002722E8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8027538C 002722EC 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80275390 002722F0 4B E0 35 E9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80275394 002722F4 C3 61 00 EC */ lfs f27, 0xec(r1) +/* 80275398 002722F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027539C 002722FC C3 41 00 DC */ lfs f26, 0xdc(r1) +/* 802753A0 00272300 C2 E1 00 CC */ lfs f23, 0xcc(r1) +/* 802753A4 00272304 48 0C 87 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802753A8 00272308 C0 59 00 50 */ lfs f2, 0x50(r25) +/* 802753AC 0027230C 38 61 00 3C */ addi r3, r1, 0x3c +/* 802753B0 00272310 C0 39 00 60 */ lfs f1, 0x60(r25) +/* 802753B4 00272314 38 81 00 30 */ addi r4, r1, 0x30 +/* 802753B8 00272318 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 802753BC 0027231C EC 5A 10 28 */ fsubs f2, f26, f2 +/* 802753C0 00272320 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 802753C4 00272324 EC 17 00 28 */ fsubs f0, f23, f0 +/* 802753C8 00272328 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802753CC 0027232C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802753D0 00272330 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802753D4 00272334 48 09 F4 7D */ bl AsNormalized__9CVector3fCFv +/* 802753D8 00272338 80 19 02 F8 */ lwz r0, 0x2f8(r25) +/* 802753DC 0027233C C3 61 00 3C */ lfs f27, 0x3c(r1) +/* 802753E0 00272340 2C 00 00 01 */ cmpwi r0, 1 +/* 802753E4 00272344 C3 81 00 40 */ lfs f28, 0x40(r1) +/* 802753E8 00272348 C3 A1 00 44 */ lfs f29, 0x44(r1) +/* 802753EC 0027234C 40 82 00 0C */ bne lbl_802753F8 +/* 802753F0 00272350 C3 42 BC 90 */ lfs f26, lbl_805AD9B0@sda21(r2) +/* 802753F4 00272354 48 00 00 1C */ b lbl_80275410 +lbl_802753F8: +/* 802753F8 00272358 80 19 03 04 */ lwz r0, 0x304(r25) +/* 802753FC 0027235C 2C 00 00 00 */ cmpwi r0, 0 +/* 80275400 00272360 40 82 00 0C */ bne lbl_8027540C +/* 80275404 00272364 C3 42 BC 94 */ lfs f26, lbl_805AD9B4@sda21(r2) +/* 80275408 00272368 48 00 00 08 */ b lbl_80275410 +lbl_8027540C: +/* 8027540C 0027236C C3 42 BC 98 */ lfs f26, lbl_805AD9B8@sda21(r2) +lbl_80275410: +/* 80275410 00272370 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275414 00272374 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80275418 00272378 41 82 00 10 */ beq lbl_80275428 +/* 8027541C 0027237C C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) +/* 80275420 00272380 FC 18 00 40 */ fcmpo cr0, f24, f0 +/* 80275424 00272384 41 81 00 14 */ bgt lbl_80275438 +lbl_80275428: +/* 80275428 00272388 C0 37 10 48 */ lfs f1, 0x1048(r23) +/* 8027542C 0027238C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80275430 00272390 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80275434 00272394 40 81 00 AC */ ble lbl_802754E0 +lbl_80275438: +/* 80275438 00272398 28 00 00 00 */ cmplwi r0, 0 +/* 8027543C 0027239C C2 F9 00 E8 */ lfs f23, 0xe8(r25) +/* 80275440 002723A0 C3 02 96 A0 */ lfs f24, lbl_805AB3C0@sda21(r2) +/* 80275444 002723A4 41 82 00 28 */ beq lbl_8027546C +/* 80275448 002723A8 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027544C 002723AC 38 60 00 00 */ li r3, 0 +/* 80275450 002723B0 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275454 002723B4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80275458 002723B8 EC 20 C0 24 */ fdivs f1, f0, f24 +/* 8027545C 002723BC 98 17 10 54 */ stb r0, 0x1054(r23) +/* 80275460 002723C0 48 0A 00 A1 */ bl SqrtF__5CMathFf +/* 80275464 002723C4 D0 37 10 48 */ stfs f1, 0x1048(r23) +/* 80275468 002723C8 48 00 00 10 */ b lbl_80275478 +lbl_8027546C: +/* 8027546C 002723CC C0 17 10 48 */ lfs f0, 0x1048(r23) +/* 80275470 002723D0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80275474 002723D4 D0 17 10 48 */ stfs f0, 0x1048(r23) +lbl_80275478: +/* 80275478 002723D8 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027547C 002723DC EC 20 06 32 */ fmuls f1, f0, f24 +/* 80275480 002723E0 48 0A 00 81 */ bl SqrtF__5CMathFf +/* 80275484 002723E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80275488 002723E8 EC 77 00 72 */ fmuls f3, f23, f1 +/* 8027548C 002723EC C0 5F 00 04 */ lfs f2, 4(r31) +/* 80275490 002723F0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80275494 002723F4 C0 03 66 F4 */ lfs f0, lbl_805A66F4@l(r3) +/* 80275498 002723F8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8027549C 002723FC EC 23 00 72 */ fmuls f1, f3, f1 +/* 802754A0 00272400 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802754A4 00272404 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 802754A8 00272408 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802754AC 0027240C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802754B0 00272410 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802754B4 00272414 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802754B8 00272418 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802754BC 0027241C 4B DA 60 79 */ bl Identity__10CAxisAngleFv +/* 802754C0 00272420 7C 65 1B 78 */ mr r5, r3 +/* 802754C4 00272424 7F 23 CB 78 */ mr r3, r25 +/* 802754C8 00272428 38 81 00 24 */ addi r4, r1, 0x24 +/* 802754CC 0027242C 4B EA 6E CD */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 802754D0 00272430 7F 23 CB 78 */ mr r3, r25 +/* 802754D4 00272434 7F 05 C3 78 */ mr r5, r24 +/* 802754D8 00272438 38 80 00 02 */ li r4, 2 +/* 802754DC 0027243C 48 01 0F 11 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +lbl_802754E0: +/* 802754E0 00272440 C0 19 00 E8 */ lfs f0, 0xe8(r25) +/* 802754E4 00272444 EC 40 06 F2 */ fmuls f2, f0, f27 +/* 802754E8 00272448 EC 20 07 32 */ fmuls f1, f0, f28 +/* 802754EC 0027244C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802754F0 00272450 EC 5A 00 B2 */ fmuls f2, f26, f2 +/* 802754F4 00272454 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802754F8 00272458 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 802754FC 0027245C EC 59 00 B2 */ fmuls f2, f25, f2 +/* 80275500 00272460 EC 39 00 72 */ fmuls f1, f25, f1 +/* 80275504 00272464 EC 19 00 32 */ fmuls f0, f25, f0 +/* 80275508 00272468 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8027550C 0027246C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80275510 00272470 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80275514 00272474 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80275518 00272478 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8027551C 0027247C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80275520 00272480 4B DA 60 15 */ bl Identity__10CAxisAngleFv +/* 80275524 00272484 7C 65 1B 78 */ mr r5, r3 +/* 80275528 00272488 7F 23 CB 78 */ mr r3, r25 +/* 8027552C 0027248C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80275530 00272490 4B EA 6E 69 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80275534 00272494 7F 23 CB 78 */ mr r3, r25 +/* 80275538 00272498 4B EA 5C 45 */ bl UseCollisionImpulses__13CPhysicsActorFv +/* 8027553C 0027249C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 80275540 002724A0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80275544 002724A4 D0 19 02 D4 */ stfs f0, 0x2d4(r25) +lbl_80275548: +/* 80275548 002724A8 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 +/* 8027554C 002724AC CB E1 01 D0 */ lfd f31, 0x1d0(r1) +/* 80275550 002724B0 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 +/* 80275554 002724B4 CB C1 01 C0 */ lfd f30, 0x1c0(r1) +/* 80275558 002724B8 E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 +/* 8027555C 002724BC CB A1 01 B0 */ lfd f29, 0x1b0(r1) +/* 80275560 002724C0 E3 81 01 A8 */ psq_l f28, 424(r1), 0, qr0 +/* 80275564 002724C4 CB 81 01 A0 */ lfd f28, 0x1a0(r1) +/* 80275568 002724C8 E3 61 01 98 */ psq_l f27, 408(r1), 0, qr0 +/* 8027556C 002724CC CB 61 01 90 */ lfd f27, 0x190(r1) +/* 80275570 002724D0 E3 41 01 88 */ psq_l f26, 392(r1), 0, qr0 +/* 80275574 002724D4 CB 41 01 80 */ lfd f26, 0x180(r1) +/* 80275578 002724D8 E3 21 01 78 */ psq_l f25, 376(r1), 0, qr0 +/* 8027557C 002724DC CB 21 01 70 */ lfd f25, 0x170(r1) +/* 80275580 002724E0 E3 01 01 68 */ psq_l f24, 360(r1), 0, qr0 +/* 80275584 002724E4 CB 01 01 60 */ lfd f24, 0x160(r1) +/* 80275588 002724E8 E2 E1 01 58 */ psq_l f23, 344(r1), 0, qr0 +/* 8027558C 002724EC CA E1 01 50 */ lfd f23, 0x150(r1) +/* 80275590 002724F0 BA A1 01 24 */ lmw r21, 0x124(r1) +/* 80275594 002724F4 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 80275598 002724F8 7C 08 03 A6 */ mtlr r0 +/* 8027559C 002724FC 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 802755A0 00272500 4E 80 00 20 */ blr + +.global sub_802755a4 +sub_802755a4: +/* 802755A4 00272504 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) +/* 802755A8 00272508 4E 80 00 20 */ blr + +.global sub_802755ac +sub_802755ac: +/* 802755AC 0027250C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802755B0 00272510 7C 08 02 A6 */ mflr r0 +/* 802755B4 00272514 90 01 00 34 */ stw r0, 0x34(r1) +/* 802755B8 00272518 BE C1 00 08 */ stmw r22, 8(r1) +/* 802755BC 0027251C 7C 76 1B 78 */ mr r22, r3 +/* 802755C0 00272520 7C B8 2B 78 */ mr r24, r5 +/* 802755C4 00272524 7C 97 23 78 */ mr r23, r4 +/* 802755C8 00272528 3B 40 00 00 */ li r26, 0 +/* 802755CC 0027252C 3B 96 10 04 */ addi r28, r22, 0x1004 +/* 802755D0 00272530 3B 76 10 30 */ addi r27, r22, 0x1030 +/* 802755D4 00272534 54 BD 06 3E */ clrlwi r29, r5, 0x18 +lbl_802755D8: +/* 802755D8 00272538 80 7C 00 04 */ lwz r3, 4(r28) +/* 802755DC 0027253C 7F 04 C3 78 */ mr r4, r24 +/* 802755E0 00272540 81 83 00 00 */ lwz r12, 0(r3) +/* 802755E4 00272544 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802755E8 00272548 7D 89 03 A6 */ mtctr r12 +/* 802755EC 0027254C 4E 80 04 21 */ bctrl +/* 802755F0 00272550 28 1D 00 00 */ cmplwi r29, 0 +/* 802755F4 00272554 41 82 00 68 */ beq lbl_8027565C +/* 802755F8 00272558 88 16 10 54 */ lbz r0, 0x1054(r22) +/* 802755FC 0027255C 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80275600 00272560 7C 00 E8 40 */ cmplw r0, r29 +/* 80275604 00272564 41 82 00 80 */ beq lbl_80275684 +/* 80275608 00272568 C0 02 BC 68 */ lfs f0, lbl_805AD988@sda21(r2) +/* 8027560C 0027256C 3B 20 00 00 */ li r25, 0 +/* 80275610 00272570 3B E0 00 01 */ li r31, 1 +/* 80275614 00272574 D0 1B 00 00 */ stfs f0, 0(r27) +/* 80275618 00272578 83 DC 00 04 */ lwz r30, 4(r28) +/* 8027561C 0027257C 48 00 00 30 */ b lbl_8027564C +lbl_80275620: +/* 80275620 00272580 80 7C 00 04 */ lwz r3, 4(r28) +/* 80275624 00272584 C8 22 BC A0 */ lfd f1, lbl_805AD9C0@sda21(r2) +/* 80275628 00272588 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8027562C 0027258C 53 E0 2E B4 */ rlwimi r0, r31, 5, 0x1a, 0x1a +/* 80275630 00272590 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 80275634 00272594 80 7C 00 04 */ lwz r3, 4(r28) +/* 80275638 00272598 81 83 00 00 */ lwz r12, 0(r3) +/* 8027563C 0027259C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80275640 002725A0 7D 89 03 A6 */ mtctr r12 +/* 80275644 002725A4 4E 80 04 21 */ bctrl +/* 80275648 002725A8 3B 39 00 01 */ addi r25, r25, 1 +lbl_8027564C: +/* 8027564C 002725AC 80 1E 01 60 */ lwz r0, 0x160(r30) +/* 80275650 002725B0 7C 19 00 00 */ cmpw r25, r0 +/* 80275654 002725B4 41 80 FF CC */ blt lbl_80275620 +/* 80275658 002725B8 48 00 00 2C */ b lbl_80275684 +lbl_8027565C: +/* 8027565C 002725BC 80 76 10 28 */ lwz r3, 0x1028(r22) +/* 80275660 002725C0 38 80 00 00 */ li r4, 0 +/* 80275664 002725C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80275668 002725C8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027566C 002725CC 7D 89 03 A6 */ mtctr r12 +/* 80275670 002725D0 4E 80 04 21 */ bctrl +/* 80275674 002725D4 7E C3 B3 78 */ mr r3, r22 +/* 80275678 002725D8 7E E4 BB 78 */ mr r4, r23 +/* 8027567C 002725DC 38 A0 00 00 */ li r5, 0 +/* 80275680 002725E0 4B FF ED 61 */ bl sub_802743e0 +lbl_80275684: +/* 80275684 002725E4 3B 5A 00 01 */ addi r26, r26, 1 +/* 80275688 002725E8 3B 7B 00 04 */ addi r27, r27, 4 +/* 8027568C 002725EC 2C 1A 00 02 */ cmpwi r26, 2 +/* 80275690 002725F0 3B 9C 00 08 */ addi r28, r28, 8 +/* 80275694 002725F4 41 80 FF 44 */ blt lbl_802755D8 +/* 80275698 002725F8 88 16 10 54 */ lbz r0, 0x1054(r22) +/* 8027569C 002725FC 53 00 3E 30 */ rlwimi r0, r24, 7, 0x18, 0x18 +/* 802756A0 00272600 98 16 10 54 */ stb r0, 0x1054(r22) +/* 802756A4 00272604 BA C1 00 08 */ lmw r22, 8(r1) +/* 802756A8 00272608 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802756AC 0027260C 7C 08 03 A6 */ mtlr r0 +/* 802756B0 00272610 38 21 00 30 */ addi r1, r1, 0x30 +/* 802756B4 00272614 4E 80 00 20 */ blr + +.global sub_802756b8 +sub_802756b8: +/* 802756B8 00272618 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802756BC 0027261C 7C 08 02 A6 */ mflr r0 +/* 802756C0 00272620 90 01 00 24 */ stw r0, 0x24(r1) +/* 802756C4 00272624 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802756C8 00272628 7C 9F 23 78 */ mr r31, r4 +/* 802756CC 0027262C 38 81 00 08 */ addi r4, r1, 8 +/* 802756D0 00272630 A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 802756D4 00272634 7F E3 FB 78 */ mr r3, r31 +/* 802756D8 00272638 B0 01 00 08 */ sth r0, 8(r1) +/* 802756DC 0027263C 4B DD 6E 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802756E0 00272640 7C 64 1B 78 */ mr r4, r3 +/* 802756E4 00272644 38 61 00 0C */ addi r3, r1, 0xc +/* 802756E8 00272648 4B E3 9C 65 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802756EC 0027264C 80 63 00 04 */ lwz r3, 4(r3) +/* 802756F0 00272650 28 03 00 00 */ cmplwi r3, 0 +/* 802756F4 00272654 41 82 00 14 */ beq lbl_80275708 +/* 802756F8 00272658 7F E6 FB 78 */ mr r6, r31 +/* 802756FC 0027265C 38 80 00 28 */ li r4, 0x28 +/* 80275700 00272660 38 A0 00 29 */ li r5, 0x29 +/* 80275704 00272664 4B DD EB B1 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_80275708: +/* 80275708 00272668 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027570C 0027266C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80275710 00272670 7C 08 03 A6 */ mtlr r0 +/* 80275714 00272674 38 21 00 20 */ addi r1, r1, 0x20 +/* 80275718 00272678 4E 80 00 20 */ blr + +.global sub_8027571c +sub_8027571c: +/* 8027571C 0027267C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80275720 00272680 7C 08 02 A6 */ mflr r0 +/* 80275724 00272684 90 01 00 24 */ stw r0, 0x24(r1) +/* 80275728 00272688 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027572C 0027268C 7C 9F 23 78 */ mr r31, r4 +/* 80275730 00272690 38 81 00 08 */ addi r4, r1, 8 +/* 80275734 00272694 A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 80275738 00272698 7F E3 FB 78 */ mr r3, r31 +/* 8027573C 0027269C B0 01 00 08 */ sth r0, 8(r1) +/* 80275740 002726A0 4B DD 6E 35 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80275744 002726A4 7C 64 1B 78 */ mr r4, r3 +/* 80275748 002726A8 38 61 00 0C */ addi r3, r1, 0xc +/* 8027574C 002726AC 4B E3 9C 01 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80275750 002726B0 80 63 00 04 */ lwz r3, 4(r3) +/* 80275754 002726B4 28 03 00 00 */ cmplwi r3, 0 +/* 80275758 002726B8 41 82 00 14 */ beq lbl_8027576C +/* 8027575C 002726BC 7F E6 FB 78 */ mr r6, r31 +/* 80275760 002726C0 38 80 00 28 */ li r4, 0x28 +/* 80275764 002726C4 38 A0 00 29 */ li r5, 0x29 +/* 80275768 002726C8 4B DD E7 6D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_8027576C: +/* 8027576C 002726CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80275770 002726D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80275774 002726D4 7C 08 03 A6 */ mtlr r0 +/* 80275778 002726D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027577C 002726DC 4E 80 00 20 */ blr + +.global sub_80275780 +sub_80275780: +/* 80275780 002726E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80275784 002726E4 7C 08 02 A6 */ mflr r0 +/* 80275788 002726E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027578C 002726EC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80275790 002726F0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80275794 002726F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80275798 002726F8 7C 7F 1B 78 */ mr r31, r3 +/* 8027579C 002726FC FF E0 08 90 */ fmr f31, f1 +/* 802757A0 00272700 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802757A4 00272704 4B EC 49 29 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 802757A8 00272708 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802757AC 0027270C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802757B0 00272710 40 82 00 34 */ bne lbl_802757E4 +/* 802757B4 00272714 C0 1F 10 7C */ lfs f0, 0x107c(r31) +/* 802757B8 00272718 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802757BC 0027271C D0 1F 10 7C */ stfs f0, 0x107c(r31) +/* 802757C0 00272720 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802757C4 00272724 C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 802757C8 00272728 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802757CC 0027272C C0 23 02 00 */ lfs f1, 0x200(r3) +/* 802757D0 00272730 EC 1F 00 7C */ fnmsubs f0, f31, f1, f0 +/* 802757D4 00272734 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 802757D8 00272738 C0 1F 09 20 */ lfs f0, 0x920(r31) +/* 802757DC 0027273C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802757E0 00272740 D0 1F 09 20 */ stfs f0, 0x920(r31) +lbl_802757E4: +/* 802757E4 00272744 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802757E8 00272748 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802757EC 0027274C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802757F0 00272750 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802757F4 00272754 7C 08 03 A6 */ mtlr r0 +/* 802757F8 00272758 38 21 00 20 */ addi r1, r1, 0x20 +/* 802757FC 0027275C 4E 80 00 20 */ blr + +.global sub_80275800 +sub_80275800: +/* 80275800 00272760 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80275804 00272764 7C 08 02 A6 */ mflr r0 +/* 80275808 00272768 38 C0 00 01 */ li r6, 1 +/* 8027580C 0027276C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80275810 00272770 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80275814 00272774 3B E0 13 C1 */ li r31, 0x13c1 +/* 80275818 00272778 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8027581C 0027277C 7C 9E 23 78 */ mr r30, r4 +/* 80275820 00272780 7F C5 F3 78 */ mr r5, r30 +/* 80275824 00272784 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80275828 00272788 7C 7D 1B 78 */ mr r29, r3 +/* 8027582C 0027278C 38 61 00 0C */ addi r3, r1, 0xc +/* 80275830 00272790 7F A4 EB 78 */ mr r4, r29 +/* 80275834 00272794 48 00 11 AD */ bl sub_802769e0 +/* 80275838 00272798 A0 61 00 0C */ lhz r3, 0xc(r1) +/* 8027583C 0027279C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80275840 002727A0 B0 61 00 10 */ sth r3, 0x10(r1) +/* 80275844 002727A4 7C 03 00 40 */ cmplw r3, r0 +/* 80275848 002727A8 41 82 00 8C */ beq lbl_802758D4 +/* 8027584C 002727AC B0 61 00 08 */ sth r3, 8(r1) +/* 80275850 002727B0 7F C3 F3 78 */ mr r3, r30 +/* 80275854 002727B4 38 81 00 08 */ addi r4, r1, 8 +/* 80275858 002727B8 4B DD 6D 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027585C 002727BC 7C 64 1B 78 */ mr r4, r3 +/* 80275860 002727C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80275864 002727C4 4B E3 0C E9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80275868 002727C8 80 63 00 04 */ lwz r3, 4(r3) +/* 8027586C 002727CC 28 03 00 00 */ cmplwi r3, 0 +/* 80275870 002727D0 41 82 00 64 */ beq lbl_802758D4 +/* 80275874 002727D4 C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 80275878 002727D8 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 8027587C 002727DC C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80275880 002727E0 EC C7 00 28 */ fsubs f6, f7, f0 +/* 80275884 002727E4 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275888 002727E8 C1 03 00 60 */ lfs f8, 0x60(r3) +/* 8027588C 002727EC EC 83 00 28 */ fsubs f4, f3, f0 +/* 80275890 002727F0 C0 1D 00 60 */ lfs f0, 0x60(r29) +/* 80275894 002727F4 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 80275898 002727F8 EC A8 00 28 */ fsubs f5, f8, f0 +/* 8027589C 002727FC C0 02 BC 18 */ lfs f0, lbl_805AD938@sda21(r2) +/* 802758A0 00272800 EC 44 01 32 */ fmuls f2, f4, f4 +/* 802758A4 00272804 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802758A8 00272808 EC 65 01 72 */ fmuls f3, f5, f5 +/* 802758AC 0027280C EC 22 08 2A */ fadds f1, f2, f1 +/* 802758B0 00272810 D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 802758B4 00272814 D1 01 00 30 */ stfs f8, 0x30(r1) +/* 802758B8 00272818 EC 23 08 2A */ fadds f1, f3, f1 +/* 802758BC 0027281C D0 81 00 34 */ stfs f4, 0x34(r1) +/* 802758C0 00272820 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802758C4 00272824 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 802758C8 00272828 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802758CC 0027282C 40 81 00 08 */ ble lbl_802758D4 +/* 802758D0 00272830 63 FF 00 02 */ ori r31, r31, 2 +lbl_802758D4: +/* 802758D4 00272834 88 1D 10 54 */ lbz r0, 0x1054(r29) +/* 802758D8 00272838 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802758DC 0027283C 40 82 00 08 */ bne lbl_802758E4 +/* 802758E0 00272840 63 FF 04 00 */ ori r31, r31, 0x400 +lbl_802758E4: +/* 802758E4 00272844 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 802758E8 00272848 C0 DD 00 48 */ lfs f6, 0x48(r29) +/* 802758EC 0027284C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 802758F0 00272850 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 802758F4 00272854 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 802758F8 00272858 EC 61 00 28 */ fsubs f3, f1, f0 +/* 802758FC 0027285C C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80275900 00272860 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275904 00272864 C0 FD 00 58 */ lfs f7, 0x58(r29) +/* 80275908 00272868 EC A1 00 28 */ fsubs f5, f1, f0 +/* 8027590C 0027286C C0 83 00 60 */ lfs f4, 0x60(r3) +/* 80275910 00272870 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 80275914 00272874 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80275918 00272878 C0 02 BC A8 */ lfs f0, lbl_805AD9C8@sda21(r2) +/* 8027591C 0027287C EC 64 18 28 */ fsubs f3, f4, f3 +/* 80275920 00272880 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 80275924 00272884 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80275928 00272888 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 8027592C 0027288C EC 27 08 FA */ fmadds f1, f7, f3, f1 +/* 80275930 00272890 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80275934 00272894 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80275938 00272898 40 81 00 08 */ ble lbl_80275940 +/* 8027593C 0027289C 63 FF 00 3C */ ori r31, r31, 0x3c +lbl_80275940: +/* 80275940 002728A0 7F A3 EB 78 */ mr r3, r29 +/* 80275944 002728A4 7F C4 F3 78 */ mr r4, r30 +/* 80275948 002728A8 4B FF E3 31 */ bl sub_80273c78 +/* 8027594C 002728AC 2C 03 00 00 */ cmpwi r3, 0 +/* 80275950 002728B0 40 82 00 08 */ bne lbl_80275958 +/* 80275954 002728B4 63 FF 20 00 */ ori r31, r31, 0x2000 +lbl_80275958: +/* 80275958 002728B8 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 8027595C 002728BC 7F A3 EB 78 */ mr r3, r29 +/* 80275960 002728C0 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 80275964 002728C4 7F C4 F3 78 */ mr r4, r30 +/* 80275968 002728C8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8027596C 002728CC 48 00 18 B9 */ bl sub_80277224 +/* 80275970 002728D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275974 002728D4 41 82 00 08 */ beq lbl_8027597C +/* 80275978 002728D8 63 FF 08 00 */ ori r31, r31, 0x800 +lbl_8027597C: +/* 8027597C 002728DC 7F A3 EB 78 */ mr r3, r29 +/* 80275980 002728E0 7F C4 F3 78 */ mr r4, r30 +/* 80275984 002728E4 7F E5 FB 78 */ mr r5, r31 +/* 80275988 002728E8 48 00 00 21 */ bl sub_802759a8 +/* 8027598C 002728EC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80275990 002728F0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80275994 002728F4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80275998 002728F8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8027599C 002728FC 7C 08 03 A6 */ mtlr r0 +/* 802759A0 00272900 38 21 00 50 */ addi r1, r1, 0x50 +/* 802759A4 00272904 4E 80 00 20 */ blr + +.global sub_802759a8 +sub_802759a8: +/* 802759A8 00272908 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802759AC 0027290C 7C 08 02 A6 */ mflr r0 +/* 802759B0 00272910 90 01 00 44 */ stw r0, 0x44(r1) +/* 802759B4 00272914 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802759B8 00272918 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802759BC 0027291C DB C1 00 20 */ stfd f30, 0x20(r1) +/* 802759C0 00272920 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 802759C4 00272924 BF 41 00 08 */ stmw r26, 8(r1) +/* 802759C8 00272928 7C 7A 1B 78 */ mr r26, r3 +/* 802759CC 0027292C C3 E2 BC 08 */ lfs f31, lbl_805AD928@sda21(r2) +/* 802759D0 00272930 80 03 05 70 */ lwz r0, 0x570(r3) +/* 802759D4 00272934 7C 9B 23 78 */ mr r27, r4 +/* 802759D8 00272938 7C BC 2B 78 */ mr r28, r5 +/* 802759DC 0027293C 3B A0 00 00 */ li r29, 0 +/* 802759E0 00272940 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802759E4 00272944 3B E0 00 01 */ li r31, 1 +/* 802759E8 00272948 7F DA 02 14 */ add r30, r26, r0 +/* 802759EC 0027294C 3B DE 11 64 */ addi r30, r30, 0x1164 +lbl_802759F0: +/* 802759F0 00272950 7F E0 E8 30 */ slw r0, r31, r29 +/* 802759F4 00272954 7F 80 00 39 */ and. r0, r28, r0 +/* 802759F8 00272958 41 82 00 2C */ beq lbl_80275A24 +/* 802759FC 0027295C 7F 43 D3 78 */ mr r3, r26 +/* 80275A00 00272960 7F A4 EB 78 */ mr r4, r29 +/* 80275A04 00272964 48 00 03 65 */ bl sub_80275d68 +/* 80275A08 00272968 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275A0C 0027296C 41 82 00 18 */ beq lbl_80275A24 +/* 80275A10 00272970 7F 43 D3 78 */ mr r3, r26 +/* 80275A14 00272974 7F C4 F3 78 */ mr r4, r30 +/* 80275A18 00272978 7F A5 EB 78 */ mr r5, r29 +/* 80275A1C 0027297C 48 00 00 E9 */ bl sub_80275b04 +/* 80275A20 00272980 EF FF 08 2A */ fadds f31, f31, f1 +lbl_80275A24: +/* 80275A24 00272984 3B BD 00 01 */ addi r29, r29, 1 +/* 80275A28 00272988 2C 1D 00 0D */ cmpwi r29, 0xd +/* 80275A2C 0027298C 40 81 FF C4 */ ble lbl_802759F0 +/* 80275A30 00272990 C0 02 BC AC */ lfs f0, lbl_805AD9CC@sda21(r2) +/* 80275A34 00272994 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80275A38 00272998 40 81 00 0C */ ble lbl_80275A44 +/* 80275A3C 0027299C 7F 43 D3 78 */ mr r3, r26 +/* 80275A40 002729A0 48 00 01 29 */ bl sub_80275b68 +lbl_80275A44: +/* 80275A44 002729A4 FC 40 F8 90 */ fmr f2, f31 +/* 80275A48 002729A8 80 7B 09 00 */ lwz r3, 0x900(r27) +/* 80275A4C 002729AC C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80275A50 002729B0 48 09 CA F5 */ bl Range__9CRandom16Fff +/* 80275A54 002729B4 38 00 FF FF */ li r0, -1 +/* 80275A58 002729B8 FF E0 08 90 */ fmr f31, f1 +/* 80275A5C 002729BC 90 1A 12 54 */ stw r0, 0x1254(r26) +/* 80275A60 002729C0 3B A0 00 00 */ li r29, 0 +/* 80275A64 002729C4 C3 C2 BC 08 */ lfs f30, lbl_805AD928@sda21(r2) +/* 80275A68 002729C8 3B E0 00 01 */ li r31, 1 +lbl_80275A6C: +/* 80275A6C 002729CC 7F E0 E8 30 */ slw r0, r31, r29 +/* 80275A70 002729D0 7F 80 00 39 */ and. r0, r28, r0 +/* 80275A74 002729D4 41 82 00 60 */ beq lbl_80275AD4 +/* 80275A78 002729D8 7F 43 D3 78 */ mr r3, r26 +/* 80275A7C 002729DC 7F A4 EB 78 */ mr r4, r29 +/* 80275A80 002729E0 48 00 02 E9 */ bl sub_80275d68 +/* 80275A84 002729E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275A88 002729E8 41 82 00 4C */ beq lbl_80275AD4 +/* 80275A8C 002729EC 7F 43 D3 78 */ mr r3, r26 +/* 80275A90 002729F0 7F C4 F3 78 */ mr r4, r30 +/* 80275A94 002729F4 7F A5 EB 78 */ mr r5, r29 +/* 80275A98 002729F8 48 00 00 6D */ bl sub_80275b04 +/* 80275A9C 002729FC FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 80275AA0 00272A00 40 81 00 30 */ ble lbl_80275AD0 +/* 80275AA4 00272A04 EC 1E 08 2A */ fadds f0, f30, f1 +/* 80275AA8 00272A08 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80275AAC 00272A0C 40 80 00 24 */ bge lbl_80275AD0 +/* 80275AB0 00272A10 57 A0 10 3A */ slwi r0, r29, 2 +/* 80275AB4 00272A14 93 BA 12 54 */ stw r29, 0x1254(r26) +/* 80275AB8 00272A18 7C 7A 02 14 */ add r3, r26, r0 +/* 80275ABC 00272A1C C0 02 BC 84 */ lfs f0, lbl_805AD9A4@sda21(r2) +/* 80275AC0 00272A20 C0 23 12 5C */ lfs f1, 0x125c(r3) +/* 80275AC4 00272A24 EC 01 00 2A */ fadds f0, f1, f0 +/* 80275AC8 00272A28 D0 03 12 5C */ stfs f0, 0x125c(r3) +/* 80275ACC 00272A2C 48 00 00 14 */ b lbl_80275AE0 +lbl_80275AD0: +/* 80275AD0 00272A30 EF DE 08 2A */ fadds f30, f30, f1 +lbl_80275AD4: +/* 80275AD4 00272A34 3B BD 00 01 */ addi r29, r29, 1 +/* 80275AD8 00272A38 2C 1D 00 0D */ cmpwi r29, 0xd +/* 80275ADC 00272A3C 40 81 FF 90 */ ble lbl_80275A6C +lbl_80275AE0: +/* 80275AE0 00272A40 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80275AE4 00272A44 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80275AE8 00272A48 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80275AEC 00272A4C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80275AF0 00272A50 BB 41 00 08 */ lmw r26, 8(r1) +/* 80275AF4 00272A54 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80275AF8 00272A58 7C 08 03 A6 */ mtlr r0 +/* 80275AFC 00272A5C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80275B00 00272A60 4E 80 00 20 */ blr + +.global sub_80275b04 +sub_80275b04: +/* 80275B04 00272A64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80275B08 00272A68 7C 08 02 A6 */ mflr r0 +/* 80275B0C 00272A6C C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80275B10 00272A70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80275B14 00272A74 54 A0 10 3A */ slwi r0, r5, 2 +/* 80275B18 00272A78 C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) +/* 80275B1C 00272A7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80275B20 00272A80 7F E3 02 14 */ add r31, r3, r0 +/* 80275B24 00272A84 C0 5F 12 5C */ lfs f2, 0x125c(r31) +/* 80275B28 00272A88 EC 42 08 28 */ fsubs f2, f2, f1 +/* 80275B2C 00272A8C FC 40 12 10 */ fabs f2, f2 +/* 80275B30 00272A90 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80275B34 00272A94 40 80 00 08 */ bge lbl_80275B3C +/* 80275B38 00272A98 48 00 00 1C */ b lbl_80275B54 +lbl_80275B3C: +/* 80275B3C 00272A9C 7C 83 23 78 */ mr r3, r4 +/* 80275B40 00272AA0 7C A4 2B 78 */ mr r4, r5 +/* 80275B44 00272AA4 48 00 66 E9 */ bl sub_8027c22c +/* 80275B48 00272AA8 EC 21 00 72 */ fmuls f1, f1, f1 +/* 80275B4C 00272AAC C0 1F 12 5C */ lfs f0, 0x125c(r31) +/* 80275B50 00272AB0 EC 21 00 24 */ fdivs f1, f1, f0 +lbl_80275B54: +/* 80275B54 00272AB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80275B58 00272AB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80275B5C 00272ABC 7C 08 03 A6 */ mtlr r0 +/* 80275B60 00272AC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80275B64 00272AC4 4E 80 00 20 */ blr + +.global sub_80275b68 +sub_80275b68: +/* 80275B68 00272AC8 80 C3 12 58 */ lwz r6, 0x1258(r3) +/* 80275B6C 00272ACC 38 E0 00 00 */ li r7, 0 +/* 80275B70 00272AD0 C0 C2 BC 08 */ lfs f6, lbl_805AD928@sda21(r2) +/* 80275B74 00272AD4 2C 06 00 00 */ cmpwi r6, 0 +/* 80275B78 00272AD8 40 81 00 A0 */ ble lbl_80275C18 +/* 80275B7C 00272ADC 2C 06 00 08 */ cmpwi r6, 8 +/* 80275B80 00272AE0 38 86 FF F8 */ addi r4, r6, -8 +/* 80275B84 00272AE4 40 81 00 68 */ ble lbl_80275BEC +/* 80275B88 00272AE8 38 04 00 07 */ addi r0, r4, 7 +/* 80275B8C 00272AEC 38 A3 12 5C */ addi r5, r3, 0x125c +/* 80275B90 00272AF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80275B94 00272AF4 7C 09 03 A6 */ mtctr r0 +/* 80275B98 00272AF8 2C 04 00 00 */ cmpwi r4, 0 +/* 80275B9C 00272AFC 40 81 00 50 */ ble lbl_80275BEC +lbl_80275BA0: +/* 80275BA0 00272B00 C0 25 00 00 */ lfs f1, 0(r5) +/* 80275BA4 00272B04 38 E7 00 08 */ addi r7, r7, 8 +/* 80275BA8 00272B08 C0 05 00 04 */ lfs f0, 4(r5) +/* 80275BAC 00272B0C EC C6 08 2A */ fadds f6, f6, f1 +/* 80275BB0 00272B10 C0 A5 00 08 */ lfs f5, 8(r5) +/* 80275BB4 00272B14 C0 85 00 0C */ lfs f4, 0xc(r5) +/* 80275BB8 00272B18 C0 65 00 10 */ lfs f3, 0x10(r5) +/* 80275BBC 00272B1C EC C6 00 2A */ fadds f6, f6, f0 +/* 80275BC0 00272B20 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 80275BC4 00272B24 C0 25 00 18 */ lfs f1, 0x18(r5) +/* 80275BC8 00272B28 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80275BCC 00272B2C 38 A5 00 20 */ addi r5, r5, 0x20 +/* 80275BD0 00272B30 EC C6 28 2A */ fadds f6, f6, f5 +/* 80275BD4 00272B34 EC C6 20 2A */ fadds f6, f6, f4 +/* 80275BD8 00272B38 EC C6 18 2A */ fadds f6, f6, f3 +/* 80275BDC 00272B3C EC C6 10 2A */ fadds f6, f6, f2 +/* 80275BE0 00272B40 EC C6 08 2A */ fadds f6, f6, f1 +/* 80275BE4 00272B44 EC C6 00 2A */ fadds f6, f6, f0 +/* 80275BE8 00272B48 42 00 FF B8 */ bdnz lbl_80275BA0 +lbl_80275BEC: +/* 80275BEC 00272B4C 54 E4 10 3A */ slwi r4, r7, 2 +/* 80275BF0 00272B50 7C 07 30 50 */ subf r0, r7, r6 +/* 80275BF4 00272B54 7C 83 22 14 */ add r4, r3, r4 +/* 80275BF8 00272B58 7C 09 03 A6 */ mtctr r0 +/* 80275BFC 00272B5C 7C 07 30 00 */ cmpw r7, r6 +/* 80275C00 00272B60 38 84 12 5C */ addi r4, r4, 0x125c +/* 80275C04 00272B64 40 80 00 14 */ bge lbl_80275C18 +lbl_80275C08: +/* 80275C08 00272B68 C0 04 00 00 */ lfs f0, 0(r4) +/* 80275C0C 00272B6C 38 84 00 04 */ addi r4, r4, 4 +/* 80275C10 00272B70 EC C6 00 2A */ fadds f6, f6, f0 +/* 80275C14 00272B74 42 00 FF F4 */ bdnz lbl_80275C08 +lbl_80275C18: +/* 80275C18 00272B78 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80275C1C 00272B7C C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) +/* 80275C20 00272B80 EC 26 08 28 */ fsubs f1, f6, f1 +/* 80275C24 00272B84 FC 20 0A 10 */ fabs f1, f1 +/* 80275C28 00272B88 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80275C2C 00272B8C 4D 80 00 20 */ bltlr +/* 80275C30 00272B90 38 83 12 5C */ addi r4, r3, 0x125c +/* 80275C34 00272B94 38 A0 00 00 */ li r5, 0 +/* 80275C38 00272B98 48 00 00 18 */ b lbl_80275C50 +lbl_80275C3C: +/* 80275C3C 00272B9C C0 04 00 00 */ lfs f0, 0(r4) +/* 80275C40 00272BA0 38 A5 00 01 */ addi r5, r5, 1 +/* 80275C44 00272BA4 EC 00 30 24 */ fdivs f0, f0, f6 +/* 80275C48 00272BA8 D0 04 00 00 */ stfs f0, 0(r4) +/* 80275C4C 00272BAC 38 84 00 04 */ addi r4, r4, 4 +lbl_80275C50: +/* 80275C50 00272BB0 80 03 12 58 */ lwz r0, 0x1258(r3) +/* 80275C54 00272BB4 7C 05 00 00 */ cmpw r5, r0 +/* 80275C58 00272BB8 41 80 FF E4 */ blt lbl_80275C3C + +.global sub_80275c5c +sub_80275c5c: +/* 80275C5C 00272BBC 4E 80 00 20 */ blr + +.global sub_80275c60 +sub_80275c60: +/* 80275C60 00272BC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80275C64 00272BC4 7C 08 02 A6 */ mflr r0 +/* 80275C68 00272BC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80275C6C 00272BCC BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80275C70 00272BD0 7C 7E 1B 78 */ mr r30, r3 +/* 80275C74 00272BD4 7C 9F 23 78 */ mr r31, r4 +/* 80275C78 00272BD8 80 03 05 70 */ lwz r0, 0x570(r3) +/* 80275C7C 00272BDC 2C 00 FF FF */ cmpwi r0, -1 +/* 80275C80 00272BE0 41 82 00 D4 */ beq lbl_80275D54 +/* 80275C84 00272BE4 80 BE 12 58 */ lwz r5, 0x1258(r30) +/* 80275C88 00272BE8 3B 9E 12 5C */ addi r28, r30, 0x125c +/* 80275C8C 00272BEC 38 60 00 00 */ li r3, 0 +/* 80275C90 00272BF0 2C 05 00 00 */ cmpwi r5, 0 +/* 80275C94 00272BF4 40 81 00 40 */ ble lbl_80275CD4 +/* 80275C98 00272BF8 2C 05 00 08 */ cmpwi r5, 8 +/* 80275C9C 00272BFC 38 85 FF F8 */ addi r4, r5, -8 +/* 80275CA0 00272C00 40 81 00 20 */ ble lbl_80275CC0 +/* 80275CA4 00272C04 38 04 00 07 */ addi r0, r4, 7 +/* 80275CA8 00272C08 54 00 E8 FE */ srwi r0, r0, 3 +/* 80275CAC 00272C0C 7C 09 03 A6 */ mtctr r0 +/* 80275CB0 00272C10 2C 04 00 00 */ cmpwi r4, 0 +/* 80275CB4 00272C14 40 81 00 0C */ ble lbl_80275CC0 +lbl_80275CB8: +/* 80275CB8 00272C18 38 63 00 08 */ addi r3, r3, 8 +/* 80275CBC 00272C1C 42 00 FF FC */ bdnz lbl_80275CB8 +lbl_80275CC0: +/* 80275CC0 00272C20 7C 03 28 50 */ subf r0, r3, r5 +/* 80275CC4 00272C24 7C 09 03 A6 */ mtctr r0 +/* 80275CC8 00272C28 7C 03 28 00 */ cmpw r3, r5 +/* 80275CCC 00272C2C 40 80 00 08 */ bge lbl_80275CD4 +lbl_80275CD0: +/* 80275CD0 00272C30 42 00 00 00 */ bdnz lbl_80275CD0 +lbl_80275CD4: +/* 80275CD4 00272C34 38 00 00 00 */ li r0, 0 +/* 80275CD8 00272C38 3B 60 00 00 */ li r27, 0 +/* 80275CDC 00272C3C 90 1E 12 58 */ stw r0, 0x1258(r30) +/* 80275CE0 00272C40 80 1E 05 70 */ lwz r0, 0x570(r30) +/* 80275CE4 00272C44 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 80275CE8 00272C48 7F BE 02 14 */ add r29, r30, r0 +/* 80275CEC 00272C4C 3B BD 11 64 */ addi r29, r29, 0x1164 +lbl_80275CF0: +/* 80275CF0 00272C50 7F A3 EB 78 */ mr r3, r29 +/* 80275CF4 00272C54 7F 64 DB 78 */ mr r4, r27 +/* 80275CF8 00272C58 48 00 65 35 */ bl sub_8027c22c +/* 80275CFC 00272C5C 80 1E 12 58 */ lwz r0, 0x1258(r30) +/* 80275D00 00272C60 54 00 10 3A */ slwi r0, r0, 2 +/* 80275D04 00272C64 7C 7C 02 15 */ add. r3, r28, r0 +/* 80275D08 00272C68 41 82 00 08 */ beq lbl_80275D10 +/* 80275D0C 00272C6C D0 23 00 00 */ stfs f1, 0(r3) +lbl_80275D10: +/* 80275D10 00272C70 80 7E 12 58 */ lwz r3, 0x1258(r30) +/* 80275D14 00272C74 3B 7B 00 01 */ addi r27, r27, 1 +/* 80275D18 00272C78 2C 1B 00 0D */ cmpwi r27, 0xd +/* 80275D1C 00272C7C 38 03 00 01 */ addi r0, r3, 1 +/* 80275D20 00272C80 90 1E 12 58 */ stw r0, 0x1258(r30) +/* 80275D24 00272C84 40 81 FF CC */ ble lbl_80275CF0 +/* 80275D28 00272C88 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80275D2C 00272C8C 2C 00 FF FF */ cmpwi r0, -1 +/* 80275D30 00272C90 41 82 00 24 */ beq lbl_80275D54 +/* 80275D34 00272C94 3B 60 00 00 */ li r27, 0 +lbl_80275D38: +/* 80275D38 00272C98 7F C3 F3 78 */ mr r3, r30 +/* 80275D3C 00272C9C 7F E4 FB 78 */ mr r4, r31 +/* 80275D40 00272CA0 38 A0 FF FF */ li r5, -1 +/* 80275D44 00272CA4 4B FF FC 65 */ bl sub_802759a8 +/* 80275D48 00272CA8 3B 7B 00 01 */ addi r27, r27, 1 +/* 80275D4C 00272CAC 2C 1B 00 28 */ cmpwi r27, 0x28 +/* 80275D50 00272CB0 41 80 FF E8 */ blt lbl_80275D38 +lbl_80275D54: +/* 80275D54 00272CB4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80275D58 00272CB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80275D5C 00272CBC 7C 08 03 A6 */ mtlr r0 +/* 80275D60 00272CC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80275D64 00272CC4 4E 80 00 20 */ blr + +.global sub_80275d68 +sub_80275d68: +/* 80275D68 00272CC8 3C A0 80 3D */ lis r5, lbl_803D5428@ha +/* 80275D6C 00272CCC 54 80 10 3A */ slwi r0, r4, 2 +/* 80275D70 00272CD0 38 C5 54 28 */ addi r6, r5, lbl_803D5428@l +/* 80275D74 00272CD4 38 A6 00 5C */ addi r5, r6, 0x5c +/* 80275D78 00272CD8 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80275D7C 00272CDC 2C 00 00 07 */ cmpwi r0, 7 +/* 80275D80 00272CE0 41 82 00 2C */ beq lbl_80275DAC +/* 80275D84 00272CE4 40 80 00 10 */ bge lbl_80275D94 +/* 80275D88 00272CE8 2C 00 00 05 */ cmpwi r0, 5 +/* 80275D8C 00272CEC 41 82 00 4C */ beq lbl_80275DD8 +/* 80275D90 00272CF0 48 00 00 7C */ b lbl_80275E0C +lbl_80275D94: +/* 80275D94 00272CF4 2C 00 00 12 */ cmpwi r0, 0x12 +/* 80275D98 00272CF8 41 82 00 14 */ beq lbl_80275DAC +/* 80275D9C 00272CFC 40 80 00 70 */ bge lbl_80275E0C +/* 80275DA0 00272D00 2C 00 00 11 */ cmpwi r0, 0x11 +/* 80275DA4 00272D04 40 80 00 60 */ bge lbl_80275E04 +/* 80275DA8 00272D08 48 00 00 64 */ b lbl_80275E0C +lbl_80275DAC: +/* 80275DAC 00272D0C 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275DB0 00272D10 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275DB4 00272D14 38 66 00 A0 */ addi r3, r6, 0xa0 +/* 80275DB8 00272D18 54 00 10 3A */ slwi r0, r0, 2 +/* 80275DBC 00272D1C 7C 04 02 14 */ add r0, r4, r0 +/* 80275DC0 00272D20 7C 83 00 2E */ lwzx r4, r3, r0 +/* 80275DC4 00272D24 20 64 FF FF */ subfic r3, r4, -1 +/* 80275DC8 00272D28 38 04 00 01 */ addi r0, r4, 1 +/* 80275DCC 00272D2C 7C 60 03 78 */ or r0, r3, r0 +/* 80275DD0 00272D30 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80275DD4 00272D34 4E 80 00 20 */ blr +lbl_80275DD8: +/* 80275DD8 00272D38 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275DDC 00272D3C 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275DE0 00272D40 38 66 01 48 */ addi r3, r6, 0x148 +/* 80275DE4 00272D44 54 00 10 3A */ slwi r0, r0, 2 +/* 80275DE8 00272D48 7C 04 02 14 */ add r0, r4, r0 +/* 80275DEC 00272D4C 7C 83 00 2E */ lwzx r4, r3, r0 +/* 80275DF0 00272D50 20 64 FF FF */ subfic r3, r4, -1 +/* 80275DF4 00272D54 38 04 00 01 */ addi r0, r4, 1 +/* 80275DF8 00272D58 7C 60 03 78 */ or r0, r3, r0 +/* 80275DFC 00272D5C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80275E00 00272D60 4E 80 00 20 */ blr +lbl_80275E04: +/* 80275E04 00272D64 38 60 00 01 */ li r3, 1 +/* 80275E08 00272D68 4E 80 00 20 */ blr +lbl_80275E0C: +/* 80275E0C 00272D6C 38 60 00 00 */ li r3, 0 +/* 80275E10 00272D70 4E 80 00 20 */ blr + +.global sub_80275e14 +sub_80275e14: +/* 80275E14 00272D74 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275E18 00272D78 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275E1C 00272D7C 3C 60 80 3D */ lis r3, lbl_803D5570@ha +/* 80275E20 00272D80 54 00 10 3A */ slwi r0, r0, 2 +/* 80275E24 00272D84 38 63 55 70 */ addi r3, r3, lbl_803D5570@l +/* 80275E28 00272D88 7C 63 22 14 */ add r3, r3, r4 +/* 80275E2C 00272D8C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80275E30 00272D90 4E 80 00 20 */ blr + +.global sub_80275e34 +sub_80275e34: +/* 80275E34 00272D94 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275E38 00272D98 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275E3C 00272D9C 3C 60 80 3D */ lis r3, lbl_803D54C8@ha +/* 80275E40 00272DA0 54 00 10 3A */ slwi r0, r0, 2 +/* 80275E44 00272DA4 38 63 54 C8 */ addi r3, r3, lbl_803D54C8@l +/* 80275E48 00272DA8 7C 63 22 14 */ add r3, r3, r4 +/* 80275E4C 00272DAC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80275E50 00272DB0 4E 80 00 20 */ blr + +.global sub_80275e54 +sub_80275e54: +/* 80275E54 00272DB4 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80275E58 00272DB8 7C 08 02 A6 */ mflr r0 +/* 80275E5C 00272DBC 90 01 01 24 */ stw r0, 0x124(r1) +/* 80275E60 00272DC0 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80275E64 00272DC4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80275E68 00272DC8 BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 80275E6C 00272DCC 7C 7D 1B 78 */ mr r29, r3 +/* 80275E70 00272DD0 FF E0 08 90 */ fmr f31, f1 +/* 80275E74 00272DD4 83 63 0F B0 */ lwz r27, 0xfb0(r3) +/* 80275E78 00272DD8 7C 9E 23 78 */ mr r30, r4 +/* 80275E7C 00272DDC 28 1B 00 00 */ cmplwi r27, 0 +/* 80275E80 00272DE0 41 82 02 C8 */ beq lbl_80276148 +/* 80275E84 00272DE4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80275E88 00272DE8 38 9D 00 34 */ addi r4, r29, 0x34 +/* 80275E8C 00272DEC 48 09 CD B5 */ bl GetRotation__12CTransform4fCFv +/* 80275E90 00272DF0 7F 63 DB 78 */ mr r3, r27 +/* 80275E94 00272DF4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80275E98 00272DF8 81 9B 00 00 */ lwz r12, 0(r27) +/* 80275E9C 00272DFC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80275EA0 00272E00 7D 89 03 A6 */ mtctr r12 +/* 80275EA4 00272E04 4E 80 04 21 */ bctrl +/* 80275EA8 00272E08 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80275EAC 00272E0C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80275EB0 00272E10 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80275EB4 00272E14 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275EB8 00272E18 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80275EBC 00272E1C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80275EC0 00272E20 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80275EC4 00272E24 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275EC8 00272E28 81 83 00 00 */ lwz r12, 0(r3) +/* 80275ECC 00272E2C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80275ED0 00272E30 7D 89 03 A6 */ mtctr r12 +/* 80275ED4 00272E34 4E 80 04 21 */ bctrl +/* 80275ED8 00272E38 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80275EDC 00272E3C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80275EE0 00272E40 C0 03 00 00 */ lfs f0, 0(r3) +/* 80275EE4 00272E44 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80275EE8 00272E48 C0 03 00 04 */ lfs f0, 4(r3) +/* 80275EEC 00272E4C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80275EF0 00272E50 C0 03 00 08 */ lfs f0, 8(r3) +/* 80275EF4 00272E54 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80275EF8 00272E58 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275EFC 00272E5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80275F00 00272E60 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80275F04 00272E64 7D 89 03 A6 */ mtctr r12 +/* 80275F08 00272E68 4E 80 04 21 */ bctrl +/* 80275F0C 00272E6C 88 1D 0F C0 */ lbz r0, 0xfc0(r29) +/* 80275F10 00272E70 28 00 00 00 */ cmplwi r0, 0 +/* 80275F14 00272E74 41 82 02 1C */ beq lbl_80276130 +/* 80275F18 00272E78 80 1D 0F BC */ lwz r0, 0xfbc(r29) +/* 80275F1C 00272E7C 28 00 00 00 */ cmplwi r0, 0 +/* 80275F20 00272E80 41 82 00 3C */ beq lbl_80275F5C +/* 80275F24 00272E84 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80275F28 00272E88 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80275F2C 00272E8C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80275F30 00272E90 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80275F34 00272E94 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275F38 00272E98 38 61 00 20 */ addi r3, r1, 0x20 +/* 80275F3C 00272E9C 38 81 00 44 */ addi r4, r1, 0x44 +/* 80275F40 00272EA0 38 C0 00 7F */ li r6, 0x7f +/* 80275F44 00272EA4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80275F48 00272EA8 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80275F4C 00272EAC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80275F50 00272EB0 80 1D 0F BC */ lwz r0, 0xfbc(r29) +/* 80275F54 00272EB4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80275F58 00272EB8 48 07 3F 59 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80275F5C: +/* 80275F5C 00272EBC 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275F60 00272EC0 38 80 00 01 */ li r4, 1 +/* 80275F64 00272EC4 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80275F68 00272EC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80275F6C 00272ECC 83 65 00 10 */ lwz r27, 0x10(r5) +/* 80275F70 00272ED0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80275F74 00272ED4 7D 89 03 A6 */ mtctr r12 +/* 80275F78 00272ED8 4E 80 04 21 */ bctrl +/* 80275F7C 00272EDC 3C 60 80 3F */ lis r3, lbl_803EAC74@ha +/* 80275F80 00272EE0 3B E0 00 00 */ li r31, 0 +/* 80275F84 00272EE4 3B 83 AC 74 */ addi r28, r3, lbl_803EAC74@l +lbl_80275F88: +/* 80275F88 00272EE8 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80275F8C 00272EEC 38 80 00 00 */ li r4, 0 +/* 80275F90 00272EF0 38 A0 00 13 */ li r5, 0x13 +/* 80275F94 00272EF4 48 09 C6 01 */ bl Range__9CRandom16Fii +/* 80275F98 00272EF8 54 60 10 3A */ slwi r0, r3, 2 +/* 80275F9C 00272EFC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80275FA0 00272F00 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 80275FA4 00272F04 4B D8 ED 15 */ bl string_l__4rstlFPCc +/* 80275FA8 00272F08 7F 64 DB 78 */ mr r4, r27 +/* 80275FAC 00272F0C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80275FB0 00272F10 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80275FB4 00272F14 4B DB 88 85 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80275FB8 00272F18 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80275FBC 00272F1C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80275FC0 00272F20 98 01 00 1C */ stb r0, 0x1c(r1) +/* 80275FC4 00272F24 48 0C 7B 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80275FC8 00272F28 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 80275FCC 00272F2C 7F 64 DB 78 */ mr r4, r27 +/* 80275FD0 00272F30 38 61 00 98 */ addi r3, r1, 0x98 +/* 80275FD4 00272F34 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80275FD8 00272F38 98 01 00 10 */ stb r0, 0x10(r1) +/* 80275FDC 00272F3C 38 C0 00 00 */ li r6, 0 +/* 80275FE0 00272F40 4B DB 62 95 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80275FE4 00272F44 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275FE8 00272F48 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 80275FEC 00272F4C 88 03 01 84 */ lbz r0, 0x184(r3) +/* 80275FF0 00272F50 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80275FF4 00272F54 28 00 00 00 */ cmplwi r0, 0 +/* 80275FF8 00272F58 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80275FFC 00272F5C 40 82 00 24 */ bne lbl_80276020 +/* 80276000 00272F60 34 83 01 78 */ addic. r4, r3, 0x178 +/* 80276004 00272F64 41 82 00 10 */ beq lbl_80276014 +/* 80276008 00272F68 D0 04 00 00 */ stfs f0, 0(r4) +/* 8027600C 00272F6C D0 24 00 04 */ stfs f1, 4(r4) +/* 80276010 00272F70 D0 44 00 08 */ stfs f2, 8(r4) +lbl_80276014: +/* 80276014 00272F74 38 00 00 01 */ li r0, 1 +/* 80276018 00272F78 98 03 01 84 */ stb r0, 0x184(r3) +/* 8027601C 00272F7C 48 00 00 10 */ b lbl_8027602C +lbl_80276020: +/* 80276020 00272F80 D0 03 01 78 */ stfs f0, 0x178(r3) +/* 80276024 00272F84 D0 23 01 7C */ stfs f1, 0x17c(r3) +/* 80276028 00272F88 D0 43 01 80 */ stfs f2, 0x180(r3) +lbl_8027602C: +/* 8027602C 00272F8C 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80276030 00272F90 38 80 00 00 */ li r4, 0 +/* 80276034 00272F94 38 A0 00 13 */ li r5, 0x13 +/* 80276038 00272F98 48 09 C5 5D */ bl Range__9CRandom16Fii +/* 8027603C 00272F9C 54 60 10 3A */ slwi r0, r3, 2 +/* 80276040 00272FA0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80276044 00272FA4 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 80276048 00272FA8 4B D8 EC 71 */ bl string_l__4rstlFPCc +/* 8027604C 00272FAC 7F 64 DB 78 */ mr r4, r27 +/* 80276050 00272FB0 38 61 00 0C */ addi r3, r1, 0xc +/* 80276054 00272FB4 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80276058 00272FB8 4B DB 87 E1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027605C 00272FBC 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80276060 00272FC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80276064 00272FC4 98 01 00 18 */ stb r0, 0x18(r1) +/* 80276068 00272FC8 48 0C 7A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027606C 00272FCC 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80276070 00272FD0 7F 64 DB 78 */ mr r4, r27 +/* 80276074 00272FD4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80276078 00272FD8 38 A1 00 08 */ addi r5, r1, 8 +/* 8027607C 00272FDC 98 01 00 08 */ stb r0, 8(r1) +/* 80276080 00272FE0 38 C0 00 00 */ li r6, 0 +/* 80276084 00272FE4 4B DB 61 F1 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80276088 00272FE8 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 8027608C 00272FEC C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80276090 00272FF0 88 03 01 A4 */ lbz r0, 0x1a4(r3) +/* 80276094 00272FF4 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80276098 00272FF8 28 00 00 00 */ cmplwi r0, 0 +/* 8027609C 00272FFC C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802760A0 00273000 40 82 00 24 */ bne lbl_802760C4 +/* 802760A4 00273004 34 83 01 98 */ addic. r4, r3, 0x198 +/* 802760A8 00273008 41 82 00 10 */ beq lbl_802760B8 +/* 802760AC 0027300C D0 04 00 00 */ stfs f0, 0(r4) +/* 802760B0 00273010 D0 24 00 04 */ stfs f1, 4(r4) +/* 802760B4 00273014 D0 44 00 08 */ stfs f2, 8(r4) +lbl_802760B8: +/* 802760B8 00273018 38 00 00 01 */ li r0, 1 +/* 802760BC 0027301C 98 03 01 A4 */ stb r0, 0x1a4(r3) +/* 802760C0 00273020 48 00 00 10 */ b lbl_802760D0 +lbl_802760C4: +/* 802760C4 00273024 D0 03 01 98 */ stfs f0, 0x198(r3) +/* 802760C8 00273028 D0 23 01 9C */ stfs f1, 0x19c(r3) +/* 802760CC 0027302C D0 43 01 A0 */ stfs f2, 0x1a0(r3) +lbl_802760D0: +/* 802760D0 00273030 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 802760D4 00273034 38 80 00 01 */ li r4, 1 +/* 802760D8 00273038 48 0E 8E 65 */ bl ForceParticleCreation__17CParticleElectricFi +/* 802760DC 0027303C 3B FF 00 01 */ addi r31, r31, 1 +/* 802760E0 00273040 2C 1F 00 04 */ cmpwi r31, 4 +/* 802760E4 00273044 41 80 FE A4 */ blt lbl_80275F88 +/* 802760E8 00273048 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 802760EC 0027304C 38 80 00 00 */ li r4, 0 +/* 802760F0 00273050 81 83 00 00 */ lwz r12, 0(r3) +/* 802760F4 00273054 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802760F8 00273058 7D 89 03 A6 */ mtctr r12 +/* 802760FC 0027305C 4E 80 04 21 */ bctrl +/* 80276100 00273060 C0 3D 0F B4 */ lfs f1, 0xfb4(r29) +/* 80276104 00273064 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80276108 00273068 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8027610C 0027306C D0 3D 0F B4 */ stfs f1, 0xfb4(r29) +/* 80276110 00273070 C0 3D 0F B4 */ lfs f1, 0xfb4(r29) +/* 80276114 00273074 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80276118 00273078 4C 40 13 82 */ cror 2, 0, 2 +/* 8027611C 0027307C 40 82 00 14 */ bne lbl_80276130 +/* 80276120 00273080 7F A3 EB 78 */ mr r3, r29 +/* 80276124 00273084 7F C4 F3 78 */ mr r4, r30 +/* 80276128 00273088 38 A0 00 00 */ li r5, 0 +/* 8027612C 0027308C 48 00 00 D9 */ bl sub_80276204 +lbl_80276130: +/* 80276130 00273090 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80276134 00273094 FC 20 F8 90 */ fmr f1, f31 +/* 80276138 00273098 81 83 00 00 */ lwz r12, 0(r3) +/* 8027613C 0027309C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80276140 002730A0 7D 89 03 A6 */ mtctr r12 +/* 80276144 002730A4 4E 80 04 21 */ bctrl +lbl_80276148: +/* 80276148 002730A8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8027614C 002730AC CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80276150 002730B0 BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 80276154 002730B4 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80276158 002730B8 7C 08 03 A6 */ mtlr r0 +/* 8027615C 002730BC 38 21 01 20 */ addi r1, r1, 0x120 +/* 80276160 002730C0 4E 80 00 20 */ blr + +.global sub_80276164 +sub_80276164: +/* 80276164 002730C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80276168 002730C8 7C 08 02 A6 */ mflr r0 +/* 8027616C 002730CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276170 002730D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80276174 002730D4 7C 7F 1B 78 */ mr r31, r3 +/* 80276178 002730D8 88 03 0F C1 */ lbz r0, 0xfc1(r3) +/* 8027617C 002730DC 28 00 00 00 */ cmplwi r0, 0 +/* 80276180 002730E0 41 82 00 70 */ beq lbl_802761F0 +/* 80276184 002730E4 C0 5F 0F B8 */ lfs f2, 0xfb8(r31) +/* 80276188 002730E8 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027618C 002730EC EC 22 08 28 */ fsubs f1, f2, f1 +/* 80276190 002730F0 D0 3F 0F B8 */ stfs f1, 0xfb8(r31) +/* 80276194 002730F4 C0 3F 0F B8 */ lfs f1, 0xfb8(r31) +/* 80276198 002730F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027619C 002730FC 4C 40 13 82 */ cror 2, 0, 2 +/* 802761A0 00273100 40 82 00 0C */ bne lbl_802761AC +/* 802761A4 00273104 38 A0 00 00 */ li r5, 0 +/* 802761A8 00273108 48 00 01 F5 */ bl sub_8027639c +lbl_802761AC: +/* 802761AC 0027310C 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 802761B0 00273110 28 00 00 00 */ cmplwi r0, 0 +/* 802761B4 00273114 41 82 00 3C */ beq lbl_802761F0 +/* 802761B8 00273118 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802761BC 0027311C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802761C0 00273120 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802761C4 00273124 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802761C8 00273128 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802761CC 0027312C 38 61 00 08 */ addi r3, r1, 8 +/* 802761D0 00273130 38 81 00 0C */ addi r4, r1, 0xc +/* 802761D4 00273134 38 C0 00 7F */ li r6, 0x7f +/* 802761D8 00273138 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802761DC 0027313C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802761E0 00273140 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802761E4 00273144 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 802761E8 00273148 90 01 00 08 */ stw r0, 8(r1) +/* 802761EC 0027314C 48 07 3C C5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_802761F0: +/* 802761F0 00273150 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802761F4 00273154 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802761F8 00273158 7C 08 03 A6 */ mtlr r0 +/* 802761FC 0027315C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276200 00273160 4E 80 00 20 */ blr + +.global sub_80276204 +sub_80276204: +/* 80276204 00273164 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80276208 00273168 7C 08 02 A6 */ mflr r0 +/* 8027620C 0027316C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80276210 00273170 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80276214 00273174 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80276218 00273178 7C 7F 1B 78 */ mr r31, r3 +/* 8027621C 0027317C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80276220 00273180 7C BE 2B 78 */ mr r30, r5 +/* 80276224 00273184 41 82 00 18 */ beq lbl_8027623C +/* 80276228 00273188 88 1F 0F C1 */ lbz r0, 0xfc1(r31) +/* 8027622C 0027318C 28 00 00 00 */ cmplwi r0, 0 +/* 80276230 00273190 41 82 00 0C */ beq lbl_8027623C +/* 80276234 00273194 38 A0 00 00 */ li r5, 0 +/* 80276238 00273198 48 00 01 65 */ bl sub_8027639c +lbl_8027623C: +/* 8027623C 0027319C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80276240 002731A0 9B DF 0F C0 */ stb r30, 0xfc0(r31) +/* 80276244 002731A4 41 82 00 F8 */ beq lbl_8027633C +/* 80276248 002731A8 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 8027624C 002731AC 28 00 00 00 */ cmplwi r0, 0 +/* 80276250 002731B0 41 82 00 14 */ beq lbl_80276264 +/* 80276254 002731B4 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 80276258 002731B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027625C 002731BC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80276260 002731C0 48 07 3C 25 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +lbl_80276264: +/* 80276264 002731C4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80276268 002731C8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027626C 002731CC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80276270 002731D0 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80276274 002731D4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80276278 002731D8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027627C 002731DC 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) +/* 80276280 002731E0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80276284 002731E4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80276288 002731E8 38 80 05 19 */ li r4, 0x519 +/* 8027628C 002731EC A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80276290 002731F0 38 E0 00 7F */ li r7, 0x7f +/* 80276294 002731F4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80276298 002731F8 39 00 00 01 */ li r8, 1 +/* 8027629C 002731FC 39 20 00 01 */ li r9, 1 +/* 802762A0 00273200 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802762A4 00273204 90 01 00 08 */ stw r0, 8(r1) +/* 802762A8 00273208 48 07 3F 11 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 802762AC 0027320C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802762B0 00273210 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802762B4 00273214 38 C3 AA 68 */ addi r6, r3, lbl_803DAA68@l +/* 802762B8 00273218 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 802762BC 0027321C 90 1F 0F BC */ stw r0, 0xfbc(r31) +/* 802762C0 00273220 3C 80 80 3E */ lis r4, lbl_803E10C8@ha +/* 802762C4 00273224 38 E0 00 1A */ li r7, 0x1a +/* 802762C8 00273228 38 A0 00 00 */ li r5, 0 +/* 802762CC 0027322C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802762D0 00273230 38 00 00 01 */ li r0, 1 +/* 802762D4 00273234 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802762D8 00273238 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l +/* 802762DC 0027323C 3B E3 00 04 */ addi r31, r3, 4 +/* 802762E0 00273240 38 80 00 1A */ li r4, 0x1a +/* 802762E4 00273244 90 E1 00 34 */ stw r7, 0x34(r1) +/* 802762E8 00273248 7F E3 FB 78 */ mr r3, r31 +/* 802762EC 0027324C 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802762F0 00273250 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802762F4 00273254 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802762F8 00273258 98 01 00 40 */ stb r0, 0x40(r1) +/* 802762FC 0027325C 4B EB B1 3D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80276300 00273260 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276304 00273264 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80276308 00273268 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l +/* 8027630C 0027326C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80276310 00273270 90 1F 02 88 */ stw r0, 0x288(r31) +/* 80276314 00273274 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80276318 00273278 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8027631C 0027327C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 80276320 00273280 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80276324 00273284 88 61 00 40 */ lbz r3, 0x40(r1) +/* 80276328 00273288 90 BF 02 90 */ stw r5, 0x290(r31) +/* 8027632C 0027328C 90 81 00 30 */ stw r4, 0x30(r1) +/* 80276330 00273290 98 7F 02 94 */ stb r3, 0x294(r31) +/* 80276334 00273294 90 01 00 30 */ stw r0, 0x30(r1) +/* 80276338 00273298 48 00 00 4C */ b lbl_80276384 +lbl_8027633C: +/* 8027633C 0027329C 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 80276340 002732A0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80276344 002732A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80276348 002732A8 48 07 3B 3D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 8027634C 002732AC 38 00 00 00 */ li r0, 0 +/* 80276350 002732B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80276354 002732B4 90 1F 0F BC */ stw r0, 0xfbc(r31) +/* 80276358 002732B8 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8027635C 002732BC 38 00 00 1B */ li r0, 0x1b +/* 80276360 002732C0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80276364 002732C4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80276368 002732C8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8027636C 002732CC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80276370 002732D0 38 63 00 04 */ addi r3, r3, 4 +/* 80276374 002732D4 4B EB B4 45 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80276378 002732D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027637C 002732DC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80276380 002732E0 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_80276384: +/* 80276384 002732E4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80276388 002732E8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027638C 002732EC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80276390 002732F0 7C 08 03 A6 */ mtlr r0 +/* 80276394 002732F4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80276398 002732F8 4E 80 00 20 */ blr + +.global sub_8027639c +sub_8027639c: +/* 8027639C 002732FC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802763A0 00273300 7C 08 02 A6 */ mflr r0 +/* 802763A4 00273304 90 01 00 54 */ stw r0, 0x54(r1) +/* 802763A8 00273308 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802763AC 0027330C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802763B0 00273310 7C BC 2B 78 */ mr r28, r5 +/* 802763B4 00273314 7C 7F 1B 78 */ mr r31, r3 +/* 802763B8 00273318 7C 9B 23 78 */ mr r27, r4 +/* 802763BC 0027331C 41 82 00 18 */ beq lbl_802763D4 +/* 802763C0 00273320 88 1F 0F C0 */ lbz r0, 0xfc0(r31) +/* 802763C4 00273324 28 00 00 00 */ cmplwi r0, 0 +/* 802763C8 00273328 41 82 00 0C */ beq lbl_802763D4 +/* 802763CC 0027332C 38 A0 00 00 */ li r5, 0 +/* 802763D0 00273330 4B FF FE 35 */ bl sub_80276204 +lbl_802763D4: +/* 802763D4 00273334 3C 60 80 3D */ lis r3, lbl_803D5444@ha +/* 802763D8 00273338 3B A0 00 00 */ li r29, 0 +/* 802763DC 0027333C 3B C3 54 44 */ addi r30, r3, lbl_803D5444@l +lbl_802763E0: +/* 802763E0 00273340 80 9E 00 00 */ lwz r4, 0(r30) +/* 802763E4 00273344 38 61 00 28 */ addi r3, r1, 0x28 +/* 802763E8 00273348 4B D8 E8 D1 */ bl string_l__4rstlFPCc +/* 802763EC 0027334C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802763F0 00273350 7F 85 E3 78 */ mr r5, r28 +/* 802763F4 00273354 7F 66 DB 78 */ mr r6, r27 +/* 802763F8 00273358 38 81 00 28 */ addi r4, r1, 0x28 +/* 802763FC 0027335C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80276400 00273360 4B DB 49 C1 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80276404 00273364 38 61 00 28 */ addi r3, r1, 0x28 +/* 80276408 00273368 48 0C 76 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027640C 0027336C 3B BD 00 01 */ addi r29, r29, 1 +/* 80276410 00273370 3B DE 00 04 */ addi r30, r30, 4 +/* 80276414 00273374 28 1D 00 04 */ cmplwi r29, 4 +/* 80276418 00273378 41 80 FF C8 */ blt lbl_802763E0 +/* 8027641C 0027337C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80276420 00273380 9B 9F 0F C1 */ stb r28, 0xfc1(r31) +/* 80276424 00273384 41 82 00 74 */ beq lbl_80276498 +/* 80276428 00273388 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 8027642C 0027338C 28 00 00 00 */ cmplwi r0, 0 +/* 80276430 00273390 41 82 00 14 */ beq lbl_80276444 +/* 80276434 00273394 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 80276438 00273398 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027643C 0027339C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80276440 002733A0 48 07 3A 45 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +lbl_80276444: +/* 80276444 002733A4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80276448 002733A8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027644C 002733AC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80276450 002733B0 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80276454 002733B4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80276458 002733B8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027645C 002733BC 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) +/* 80276460 002733C0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80276464 002733C4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80276468 002733C8 38 80 05 1A */ li r4, 0x51a +/* 8027646C 002733CC A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80276470 002733D0 38 E0 00 7F */ li r7, 0x7f +/* 80276474 002733D4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80276478 002733D8 39 00 00 01 */ li r8, 1 +/* 8027647C 002733DC 39 20 00 01 */ li r9, 1 +/* 80276480 002733E0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80276484 002733E4 90 01 00 08 */ stw r0, 8(r1) +/* 80276488 002733E8 48 07 3D 31 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 8027648C 002733EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80276490 002733F0 90 1F 0F BC */ stw r0, 0xfbc(r31) +/* 80276494 002733F4 48 00 00 1C */ b lbl_802764B0 +lbl_80276498: +/* 80276498 002733F8 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 8027649C 002733FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802764A0 00273400 90 01 00 10 */ stw r0, 0x10(r1) +/* 802764A4 00273404 48 07 39 E1 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 802764A8 00273408 38 00 00 00 */ li r0, 0 +/* 802764AC 0027340C 90 1F 0F BC */ stw r0, 0xfbc(r31) +lbl_802764B0: +/* 802764B0 00273410 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802764B4 00273414 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802764B8 00273418 7C 08 03 A6 */ mtlr r0 +/* 802764BC 0027341C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802764C0 00273420 4E 80 00 20 */ blr + +.global sub_802764c4 +sub_802764c4: +/* 802764C4 00273424 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802764C8 00273428 7C 08 02 A6 */ mflr r0 +/* 802764CC 0027342C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802764D0 00273430 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802764D4 00273434 7C DF 33 78 */ mr r31, r6 +/* 802764D8 00273438 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802764DC 0027343C 7C 9E 23 78 */ mr r30, r4 +/* 802764E0 00273440 38 81 00 08 */ addi r4, r1, 8 +/* 802764E4 00273444 A0 05 00 00 */ lhz r0, 0(r5) +/* 802764E8 00273448 7F C3 F3 78 */ mr r3, r30 +/* 802764EC 0027344C B0 01 00 08 */ sth r0, 8(r1) +/* 802764F0 00273450 4B DD 60 85 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802764F4 00273454 7C 64 1B 79 */ or. r4, r3, r3 +/* 802764F8 00273458 41 82 00 18 */ beq lbl_80276510 +/* 802764FC 0027345C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80276500 00273460 7F C3 F3 78 */ mr r3, r30 +/* 80276504 00273464 38 A1 00 0C */ addi r5, r1, 0xc +/* 80276508 00273468 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027650C 0027346C 4B DC ED 6D */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +lbl_80276510: +/* 80276510 00273470 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276514 00273474 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80276518 00273478 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027651C 0027347C 7C 08 03 A6 */ mtlr r0 +/* 80276520 00273480 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276524 00273484 4E 80 00 20 */ blr + +.global sub_80276528 +sub_80276528: +/* 80276528 00273488 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027652C 0027348C 7C 08 02 A6 */ mflr r0 +/* 80276530 00273490 90 01 00 54 */ stw r0, 0x54(r1) +/* 80276534 00273494 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80276538 00273498 7C 9F 23 78 */ mr r31, r4 +/* 8027653C 0027349C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80276540 002734A0 7C 7E 1B 78 */ mr r30, r3 +/* 80276544 002734A4 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80276548 002734A8 93 81 00 40 */ stw r28, 0x40(r1) +/* 8027654C 002734AC 88 03 09 14 */ lbz r0, 0x914(r3) +/* 80276550 002734B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276554 002734B4 41 82 01 70 */ beq lbl_802766C4 +/* 80276558 002734B8 80 BF 08 50 */ lwz r5, 0x850(r31) +/* 8027655C 002734BC 80 A5 00 68 */ lwz r5, 0x68(r5) +/* 80276560 002734C0 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80276564 002734C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80276568 002734C8 7C 00 28 00 */ cmpw r0, r5 +/* 8027656C 002734CC 41 82 01 34 */ beq lbl_802766A0 +/* 80276570 002734D0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80276574 002734D4 48 00 09 4D */ bl sub_80276ec0 +/* 80276578 002734D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027657C 002734DC 41 82 01 10 */ beq lbl_8027668C +/* 80276580 002734E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276584 002734E4 7F C3 F3 78 */ mr r3, r30 +/* 80276588 002734E8 7F E4 FB 78 */ mr r4, r31 +/* 8027658C 002734EC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80276590 002734F0 90 01 00 30 */ stw r0, 0x30(r1) +/* 80276594 002734F4 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80276598 002734F8 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027659C 002734FC B0 01 00 18 */ sth r0, 0x18(r1) +/* 802765A0 00273500 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 802765A4 00273504 4B FF FF 21 */ bl sub_802764c4 +/* 802765A8 00273508 3B A0 00 00 */ li r29, 0 +/* 802765AC 0027350C 48 00 00 3C */ b lbl_802765E8 +lbl_802765B0: +/* 802765B0 00273510 80 7E 05 6C */ lwz r3, 0x56c(r30) +/* 802765B4 00273514 7F A4 EB 78 */ mr r4, r29 +/* 802765B8 00273518 4B F3 0C 81 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 802765BC 0027351C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802765C0 00273520 7F E4 FB 78 */ mr r4, r31 +/* 802765C4 00273524 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802765C8 00273528 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802765CC 0027352C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802765D0 00273530 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 802765D4 00273534 7F C3 F3 78 */ mr r3, r30 +/* 802765D8 00273538 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802765DC 0027353C B0 01 00 14 */ sth r0, 0x14(r1) +/* 802765E0 00273540 4B FF FE E5 */ bl sub_802764c4 +/* 802765E4 00273544 3B BD 00 01 */ addi r29, r29, 1 +lbl_802765E8: +/* 802765E8 00273548 80 7E 05 6C */ lwz r3, 0x56c(r30) +/* 802765EC 0027354C 4B F3 0C 5D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 802765F0 00273550 7C 1D 18 40 */ cmplw r29, r3 +/* 802765F4 00273554 41 80 FF BC */ blt lbl_802765B0 +/* 802765F8 00273558 3B BE 0B 28 */ addi r29, r30, 0xb28 +/* 802765FC 0027355C 3B 80 00 00 */ li r28, 0 +/* 80276600 00273560 48 00 00 30 */ b lbl_80276630 +lbl_80276604: +/* 80276604 00273564 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276608 00273568 7F C3 F3 78 */ mr r3, r30 +/* 8027660C 0027356C 7F E4 FB 78 */ mr r4, r31 +/* 80276610 00273570 38 A1 00 0C */ addi r5, r1, 0xc +/* 80276614 00273574 90 01 00 28 */ stw r0, 0x28(r1) +/* 80276618 00273578 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8027661C 0027357C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80276620 00273580 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80276624 00273584 4B FF FE A1 */ bl sub_802764c4 +/* 80276628 00273588 3B BD 00 02 */ addi r29, r29, 2 +/* 8027662C 0027358C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80276630: +/* 80276630 00273590 80 1E 0B 24 */ lwz r0, 0xb24(r30) +/* 80276634 00273594 7C 1C 00 00 */ cmpw r28, r0 +/* 80276638 00273598 41 80 FF CC */ blt lbl_80276604 +/* 8027663C 0027359C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276640 002735A0 7F C3 F3 78 */ mr r3, r30 +/* 80276644 002735A4 7F E4 FB 78 */ mr r4, r31 +/* 80276648 002735A8 38 A1 00 08 */ addi r5, r1, 8 +/* 8027664C 002735AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276650 002735B0 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80276654 002735B4 A0 1E 0E AC */ lhz r0, 0xeac(r30) +/* 80276658 002735B8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027665C 002735BC 4B FF FE 69 */ bl sub_802764c4 +/* 80276660 002735C0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80276664 002735C4 7F C3 F3 78 */ mr r3, r30 +/* 80276668 002735C8 7F E4 FB 78 */ mr r4, r31 +/* 8027666C 002735CC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80276670 002735D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80276674 002735D4 48 00 06 BD */ bl sub_80276d30 +/* 80276678 002735D8 7F C3 F3 78 */ mr r3, r30 +/* 8027667C 002735DC 7F E5 FB 78 */ mr r5, r31 +/* 80276680 002735E0 38 80 00 07 */ li r4, 7 +/* 80276684 002735E4 48 00 00 61 */ bl sub_802766e4 +/* 80276688 002735E8 48 00 00 3C */ b lbl_802766C4 +lbl_8027668C: +/* 8027668C 002735EC 88 1E 14 44 */ lbz r0, 0x1444(r30) +/* 80276690 002735F0 38 60 00 01 */ li r3, 1 +/* 80276694 002735F4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80276698 002735F8 98 1E 14 44 */ stb r0, 0x1444(r30) +/* 8027669C 002735FC 48 00 00 28 */ b lbl_802766C4 +lbl_802766A0: +/* 802766A0 00273600 88 9E 14 44 */ lbz r4, 0x1444(r30) +/* 802766A4 00273604 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 802766A8 00273608 41 82 00 1C */ beq lbl_802766C4 +/* 802766AC 0027360C 38 00 00 00 */ li r0, 0 +/* 802766B0 00273610 7F E5 FB 78 */ mr r5, r31 +/* 802766B4 00273614 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 802766B8 00273618 98 9E 14 44 */ stb r4, 0x1444(r30) +/* 802766BC 0027361C 38 80 00 07 */ li r4, 7 +/* 802766C0 00273620 48 00 00 25 */ bl sub_802766e4 +lbl_802766C4: +/* 802766C4 00273624 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802766C8 00273628 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802766CC 0027362C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802766D0 00273630 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802766D4 00273634 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802766D8 00273638 7C 08 03 A6 */ mtlr r0 +/* 802766DC 0027363C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802766E0 00273640 4E 80 00 20 */ blr + +.global sub_802766e4 +sub_802766e4: +/* 802766E4 00273644 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802766E8 00273648 7C 08 02 A6 */ mflr r0 +/* 802766EC 0027364C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802766F0 00273650 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802766F4 00273654 7C BF 2B 78 */ mr r31, r5 +/* 802766F8 00273658 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802766FC 0027365C 7C 9E 23 78 */ mr r30, r4 +/* 80276700 00273660 38 81 00 08 */ addi r4, r1, 8 +/* 80276704 00273664 A0 03 05 68 */ lhz r0, 0x568(r3) +/* 80276708 00273668 7F E3 FB 78 */ mr r3, r31 +/* 8027670C 0027366C B0 01 00 08 */ sth r0, 8(r1) +/* 80276710 00273670 4B DD 5E 65 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80276714 00273674 7C 64 1B 78 */ mr r4, r3 +/* 80276718 00273678 38 61 00 0C */ addi r3, r1, 0xc +/* 8027671C 0027367C 4B E3 69 CD */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276720 00273680 80 63 00 04 */ lwz r3, 4(r3) +/* 80276724 00273684 28 03 00 00 */ cmplwi r3, 0 +/* 80276728 00273688 41 82 00 14 */ beq lbl_8027673C +/* 8027672C 0027368C 7F C4 F3 78 */ mr r4, r30 +/* 80276730 00273690 7F E5 FB 78 */ mr r5, r31 +/* 80276734 00273694 38 C0 FF FF */ li r6, -1 +/* 80276738 00273698 4B DD A9 89 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8027673C: +/* 8027673C 0027369C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276740 002736A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80276744 002736A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80276748 002736A8 7C 08 03 A6 */ mtlr r0 +/* 8027674C 002736AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276750 002736B0 4E 80 00 20 */ blr + +.global sub_80276754 +sub_80276754: +/* 80276754 002736B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80276758 002736B8 7C 08 02 A6 */ mflr r0 +/* 8027675C 002736BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80276760 002736C0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80276764 002736C4 7C 7F 1B 78 */ mr r31, r3 +/* 80276768 002736C8 38 DF 11 64 */ addi r6, r31, 0x1164 +/* 8027676C 002736CC 38 60 00 00 */ li r3, 0 +/* 80276770 002736D0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80276774 002736D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80276778 002736D8 7C 9D 23 78 */ mr r29, r4 +/* 8027677C 002736DC 48 00 00 70 */ b lbl_802767EC +lbl_80276780: +/* 80276780 002736E0 28 06 00 00 */ cmplwi r6, 0 +/* 80276784 002736E4 41 82 00 60 */ beq lbl_802767E4 +/* 80276788 002736E8 41 82 00 5C */ beq lbl_802767E4 +/* 8027678C 002736EC 80 E6 00 00 */ lwz r7, 0(r6) +/* 80276790 002736F0 38 80 00 00 */ li r4, 0 +/* 80276794 002736F4 2C 07 00 00 */ cmpwi r7, 0 +/* 80276798 002736F8 40 81 00 44 */ ble lbl_802767DC +/* 8027679C 002736FC 2C 07 00 08 */ cmpwi r7, 8 +/* 802767A0 00273700 38 A7 FF F8 */ addi r5, r7, -8 +/* 802767A4 00273704 40 81 00 20 */ ble lbl_802767C4 +/* 802767A8 00273708 38 05 00 07 */ addi r0, r5, 7 +/* 802767AC 0027370C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802767B0 00273710 7C 09 03 A6 */ mtctr r0 +/* 802767B4 00273714 2C 05 00 00 */ cmpwi r5, 0 +/* 802767B8 00273718 40 81 00 0C */ ble lbl_802767C4 +lbl_802767BC: +/* 802767BC 0027371C 38 84 00 08 */ addi r4, r4, 8 +/* 802767C0 00273720 42 00 FF FC */ bdnz lbl_802767BC +lbl_802767C4: +/* 802767C4 00273724 7C 04 38 50 */ subf r0, r4, r7 +/* 802767C8 00273728 7C 09 03 A6 */ mtctr r0 +/* 802767CC 0027372C 7C 04 38 00 */ cmpw r4, r7 +/* 802767D0 00273730 40 80 00 0C */ bge lbl_802767DC +lbl_802767D4: +/* 802767D4 00273734 38 84 00 01 */ addi r4, r4, 1 +/* 802767D8 00273738 42 00 FF FC */ bdnz lbl_802767D4 +lbl_802767DC: +/* 802767DC 0027373C 38 00 00 00 */ li r0, 0 +/* 802767E0 00273740 90 06 00 00 */ stw r0, 0(r6) +lbl_802767E4: +/* 802767E4 00273744 38 C6 00 3C */ addi r6, r6, 0x3c +/* 802767E8 00273748 38 63 00 01 */ addi r3, r3, 1 +lbl_802767EC: +/* 802767EC 0027374C 80 1F 11 60 */ lwz r0, 0x1160(r31) +/* 802767F0 00273750 7C 03 00 00 */ cmpw r3, r0 +/* 802767F4 00273754 41 80 FF 8C */ blt lbl_80276780 +/* 802767F8 00273758 38 00 00 00 */ li r0, 0 +/* 802767FC 0027375C 7F A3 EB 78 */ mr r3, r29 +/* 80276800 00273760 90 1F 11 60 */ stw r0, 0x1160(r31) +/* 80276804 00273764 38 81 00 08 */ addi r4, r1, 8 +/* 80276808 00273768 A0 1F 05 68 */ lhz r0, 0x568(r31) +/* 8027680C 0027376C B0 01 00 08 */ sth r0, 8(r1) +/* 80276810 00273770 4B DD 5D 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276814 00273774 7C 64 1B 78 */ mr r4, r3 +/* 80276818 00273778 38 61 00 0C */ addi r3, r1, 0xc +/* 8027681C 0027377C 4B E3 68 CD */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276820 00273780 83 C3 00 04 */ lwz r30, 4(r3) +/* 80276824 00273784 28 1E 00 00 */ cmplwi r30, 0 +/* 80276828 00273788 41 82 00 8C */ beq lbl_802768B4 +/* 8027682C 0027378C 38 7F 11 60 */ addi r3, r31, 0x1160 +/* 80276830 00273790 38 9E 0C B8 */ addi r4, r30, 0xcb8 +/* 80276834 00273794 48 00 00 9D */ bl sub_802768d0 +/* 80276838 00273798 C0 1E 0C 9C */ lfs f0, 0xc9c(r30) +/* 8027683C 0027379C 38 00 00 00 */ li r0, 0 +/* 80276840 002737A0 7F E3 FB 78 */ mr r3, r31 +/* 80276844 002737A4 7F A4 EB 78 */ mr r4, r29 +/* 80276848 002737A8 D0 1F 08 C0 */ stfs f0, 0x8c0(r31) +/* 8027684C 002737AC C0 1E 0C A0 */ lfs f0, 0xca0(r30) +/* 80276850 002737B0 D0 1F 08 C4 */ stfs f0, 0x8c4(r31) +/* 80276854 002737B4 C0 1E 0C A4 */ lfs f0, 0xca4(r30) +/* 80276858 002737B8 D0 1F 10 4C */ stfs f0, 0x104c(r31) +/* 8027685C 002737BC C0 1E 0C A8 */ lfs f0, 0xca8(r30) +/* 80276860 002737C0 D0 1F 10 50 */ stfs f0, 0x1050(r31) +/* 80276864 002737C4 C0 1E 0C 84 */ lfs f0, 0xc84(r30) +/* 80276868 002737C8 D0 1F 09 24 */ stfs f0, 0x924(r31) +/* 8027686C 002737CC C0 1E 0C 88 */ lfs f0, 0xc88(r30) +/* 80276870 002737D0 D0 1F 09 28 */ stfs f0, 0x928(r31) +/* 80276874 002737D4 C0 1E 0C 8C */ lfs f0, 0xc8c(r30) +/* 80276878 002737D8 D0 1F 10 80 */ stfs f0, 0x1080(r31) +/* 8027687C 002737DC 80 BE 0C 90 */ lwz r5, 0xc90(r30) +/* 80276880 002737E0 90 BF 14 40 */ stw r5, 0x1440(r31) +/* 80276884 002737E4 80 BE 0C AC */ lwz r5, 0xcac(r30) +/* 80276888 002737E8 90 BF 09 18 */ stw r5, 0x918(r31) +/* 8027688C 002737EC 88 BE 0C 94 */ lbz r5, 0xc94(r30) +/* 80276890 002737F0 98 BF 05 84 */ stb r5, 0x584(r31) +/* 80276894 002737F4 80 BE 0C 98 */ lwz r5, 0xc98(r30) +/* 80276898 002737F8 90 BF 05 74 */ stw r5, 0x574(r31) +/* 8027689C 002737FC 80 BE 0C B0 */ lwz r5, 0xcb0(r30) +/* 802768A0 00273800 90 BF 08 D4 */ stw r5, 0x8d4(r31) +/* 802768A4 00273804 80 BE 0C B4 */ lwz r5, 0xcb4(r30) +/* 802768A8 00273808 90 BF 05 7C */ stw r5, 0x57c(r31) +/* 802768AC 0027380C 90 1F 05 80 */ stw r0, 0x580(r31) +/* 802768B0 00273810 4B FF F3 B1 */ bl sub_80275c60 +lbl_802768B4: +/* 802768B4 00273814 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802768B8 00273818 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802768BC 0027381C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802768C0 00273820 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802768C4 00273824 7C 08 03 A6 */ mtlr r0 +/* 802768C8 00273828 38 21 00 30 */ addi r1, r1, 0x30 +/* 802768CC 0027382C 4E 80 00 20 */ blr + +.global sub_802768d0 +sub_802768d0: +/* 802768D0 00273830 7C 03 20 40 */ cmplw r3, r4 +/* 802768D4 00273834 4D 82 00 20 */ beqlr +/* 802768D8 00273838 39 03 00 04 */ addi r8, r3, 4 +/* 802768DC 0027383C 38 A0 00 00 */ li r5, 0 +/* 802768E0 00273840 48 00 00 70 */ b lbl_80276950 +lbl_802768E4: +/* 802768E4 00273844 28 08 00 00 */ cmplwi r8, 0 +/* 802768E8 00273848 41 82 00 60 */ beq lbl_80276948 +/* 802768EC 0027384C 41 82 00 5C */ beq lbl_80276948 +/* 802768F0 00273850 81 28 00 00 */ lwz r9, 0(r8) +/* 802768F4 00273854 38 C0 00 00 */ li r6, 0 +/* 802768F8 00273858 2C 09 00 00 */ cmpwi r9, 0 +/* 802768FC 0027385C 40 81 00 44 */ ble lbl_80276940 +/* 80276900 00273860 2C 09 00 08 */ cmpwi r9, 8 +/* 80276904 00273864 38 E9 FF F8 */ addi r7, r9, -8 +/* 80276908 00273868 40 81 00 20 */ ble lbl_80276928 +/* 8027690C 0027386C 38 07 00 07 */ addi r0, r7, 7 +/* 80276910 00273870 54 00 E8 FE */ srwi r0, r0, 3 +/* 80276914 00273874 7C 09 03 A6 */ mtctr r0 +/* 80276918 00273878 2C 07 00 00 */ cmpwi r7, 0 +/* 8027691C 0027387C 40 81 00 0C */ ble lbl_80276928 +lbl_80276920: +/* 80276920 00273880 38 C6 00 08 */ addi r6, r6, 8 +/* 80276924 00273884 42 00 FF FC */ bdnz lbl_80276920 +lbl_80276928: +/* 80276928 00273888 7C 06 48 50 */ subf r0, r6, r9 +/* 8027692C 0027388C 7C 09 03 A6 */ mtctr r0 +/* 80276930 00273890 7C 06 48 00 */ cmpw r6, r9 +/* 80276934 00273894 40 80 00 0C */ bge lbl_80276940 +lbl_80276938: +/* 80276938 00273898 38 C6 00 01 */ addi r6, r6, 1 +/* 8027693C 0027389C 42 00 FF FC */ bdnz lbl_80276938 +lbl_80276940: +/* 80276940 002738A0 38 00 00 00 */ li r0, 0 +/* 80276944 002738A4 90 08 00 00 */ stw r0, 0(r8) +lbl_80276948: +/* 80276948 002738A8 39 08 00 3C */ addi r8, r8, 0x3c +/* 8027694C 002738AC 38 A5 00 01 */ addi r5, r5, 1 +lbl_80276950: +/* 80276950 002738B0 80 03 00 00 */ lwz r0, 0(r3) +/* 80276954 002738B4 7C 05 00 00 */ cmpw r5, r0 +/* 80276958 002738B8 41 80 FF 8C */ blt lbl_802768E4 +/* 8027695C 002738BC 38 00 00 00 */ li r0, 0 +/* 80276960 002738C0 38 C3 00 04 */ addi r6, r3, 4 +/* 80276964 002738C4 90 03 00 00 */ stw r0, 0(r3) +/* 80276968 002738C8 38 A4 00 04 */ addi r5, r4, 4 +/* 8027696C 002738CC 80 04 00 00 */ lwz r0, 0(r4) +/* 80276970 002738D0 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 80276974 002738D4 7C E4 02 14 */ add r7, r4, r0 +/* 80276978 002738D8 38 E7 00 04 */ addi r7, r7, 4 +/* 8027697C 002738DC 48 00 00 50 */ b lbl_802769CC +lbl_80276980: +/* 80276980 002738E0 28 06 00 00 */ cmplwi r6, 0 +/* 80276984 002738E4 41 82 00 40 */ beq lbl_802769C4 +/* 80276988 002738E8 80 05 00 00 */ lwz r0, 0(r5) +/* 8027698C 002738EC 39 25 00 04 */ addi r9, r5, 4 +/* 80276990 002738F0 39 06 00 04 */ addi r8, r6, 4 +/* 80276994 002738F4 90 06 00 00 */ stw r0, 0(r6) +/* 80276998 002738F8 80 06 00 00 */ lwz r0, 0(r6) +/* 8027699C 002738FC 7C 09 03 A6 */ mtctr r0 +/* 802769A0 00273900 2C 00 00 00 */ cmpwi r0, 0 +/* 802769A4 00273904 40 81 00 20 */ ble lbl_802769C4 +lbl_802769A8: +/* 802769A8 00273908 28 08 00 00 */ cmplwi r8, 0 +/* 802769AC 0027390C 41 82 00 0C */ beq lbl_802769B8 +/* 802769B0 00273910 C0 09 00 00 */ lfs f0, 0(r9) +/* 802769B4 00273914 D0 08 00 00 */ stfs f0, 0(r8) +lbl_802769B8: +/* 802769B8 00273918 39 08 00 04 */ addi r8, r8, 4 +/* 802769BC 0027391C 39 29 00 04 */ addi r9, r9, 4 +/* 802769C0 00273920 42 00 FF E8 */ bdnz lbl_802769A8 +lbl_802769C4: +/* 802769C4 00273924 38 C6 00 3C */ addi r6, r6, 0x3c +/* 802769C8 00273928 38 A5 00 3C */ addi r5, r5, 0x3c +lbl_802769CC: +/* 802769CC 0027392C 7C 05 38 40 */ cmplw r5, r7 +/* 802769D0 00273930 40 82 FF B0 */ bne lbl_80276980 +/* 802769D4 00273934 80 04 00 00 */ lwz r0, 0(r4) +/* 802769D8 00273938 90 03 00 00 */ stw r0, 0(r3) +/* 802769DC 0027393C 4E 80 00 20 */ blr + +.global sub_802769e0 +sub_802769e0: +/* 802769E0 00273940 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802769E4 00273944 7C 08 02 A6 */ mflr r0 +/* 802769E8 00273948 90 01 00 64 */ stw r0, 0x64(r1) +/* 802769EC 0027394C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802769F0 00273950 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802769F4 00273954 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802769F8 00273958 7C 7B 1B 78 */ mr r27, r3 +/* 802769FC 0027395C 7C DE 33 78 */ mr r30, r6 +/* 80276A00 00273960 7C 9C 23 78 */ mr r28, r4 +/* 80276A04 00273964 7C BD 2B 78 */ mr r29, r5 +/* 80276A08 00273968 38 61 00 10 */ addi r3, r1, 0x10 +/* 80276A0C 0027396C 38 C0 00 0A */ li r6, 0xa +/* 80276A10 00273970 38 E0 00 06 */ li r7, 6 +/* 80276A14 00273974 48 00 01 29 */ bl sub_80276b3c +/* 80276A18 00273978 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80276A1C 0027397C A3 ED A3 8C */ lhz r31, lbl_805A8F4C@sda21(r13) +/* 80276A20 00273980 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80276A24 00273984 C3 E2 BC 08 */ lfs f31, lbl_805AD928@sda21(r2) +/* 80276A28 00273988 48 00 00 E4 */ b lbl_80276B0C +lbl_80276A2C: +/* 80276A2C 0027398C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80276A30 00273990 7F A3 EB 78 */ mr r3, r29 +/* 80276A34 00273994 38 81 00 0C */ addi r4, r1, 0xc +/* 80276A38 00273998 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80276A3C 0027399C 4B DD 5B 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276A40 002739A0 7C 64 1B 78 */ mr r4, r3 +/* 80276A44 002739A4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80276A48 002739A8 4B E2 FB 05 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80276A4C 002739AC 80 83 00 04 */ lwz r4, 4(r3) +/* 80276A50 002739B0 28 04 00 00 */ cmplwi r4, 0 +/* 80276A54 002739B4 41 82 00 B0 */ beq lbl_80276B04 +/* 80276A58 002739B8 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80276A5C 002739BC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80276A60 002739C0 C0 1C 00 50 */ lfs f0, 0x50(r28) +/* 80276A64 002739C4 C0 DC 00 48 */ lfs f6, 0x48(r28) +/* 80276A68 002739C8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80276A6C 002739CC C0 44 00 40 */ lfs f2, 0x40(r4) +/* 80276A70 002739D0 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80276A74 002739D4 C0 3C 00 38 */ lfs f1, 0x38(r28) +/* 80276A78 002739D8 EC A2 00 28 */ fsubs f5, f2, f0 +/* 80276A7C 002739DC C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80276A80 002739E0 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80276A84 002739E4 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 80276A88 002739E8 C0 9C 00 58 */ lfs f4, 0x58(r28) +/* 80276A8C 002739EC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80276A90 002739F0 EC 01 01 7A */ fmadds f0, f1, f5, f0 +/* 80276A94 002739F4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80276A98 002739F8 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 80276A9C 002739FC EC 24 00 BA */ fmadds f1, f4, f2, f0 +/* 80276AA0 00273A00 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80276AA4 00273A04 41 82 00 24 */ beq lbl_80276AC8 +/* 80276AA8 00273A08 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80276AAC 00273A0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80276AB0 00273A10 40 81 00 18 */ ble lbl_80276AC8 +/* 80276AB4 00273A14 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80276AB8 00273A18 40 81 00 10 */ ble lbl_80276AC8 +/* 80276ABC 00273A1C FF E0 08 90 */ fmr f31, f1 +/* 80276AC0 00273A20 A3 E1 00 14 */ lhz r31, 0x14(r1) +/* 80276AC4 00273A24 48 00 00 28 */ b lbl_80276AEC +lbl_80276AC8: +/* 80276AC8 00273A28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80276ACC 00273A2C 40 82 00 20 */ bne lbl_80276AEC +/* 80276AD0 00273A30 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80276AD4 00273A34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80276AD8 00273A38 40 80 00 14 */ bge lbl_80276AEC +/* 80276ADC 00273A3C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80276AE0 00273A40 40 80 00 0C */ bge lbl_80276AEC +/* 80276AE4 00273A44 A3 E1 00 14 */ lhz r31, 0x14(r1) +/* 80276AE8 00273A48 FF E0 08 90 */ fmr f31, f1 +lbl_80276AEC: +/* 80276AEC 00273A4C 7F A5 EB 78 */ mr r5, r29 +/* 80276AF0 00273A50 38 61 00 08 */ addi r3, r1, 8 +/* 80276AF4 00273A54 4B E0 06 41 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80276AF8 00273A58 A0 01 00 08 */ lhz r0, 8(r1) +/* 80276AFC 00273A5C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80276B00 00273A60 48 00 00 0C */ b lbl_80276B0C +lbl_80276B04: +/* 80276B04 00273A64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276B08 00273A68 B0 01 00 14 */ sth r0, 0x14(r1) +lbl_80276B0C: +/* 80276B0C 00273A6C A0 61 00 14 */ lhz r3, 0x14(r1) +/* 80276B10 00273A70 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276B14 00273A74 7C 03 00 40 */ cmplw r3, r0 +/* 80276B18 00273A78 40 82 FF 14 */ bne lbl_80276A2C +/* 80276B1C 00273A7C B3 FB 00 00 */ sth r31, 0(r27) +/* 80276B20 00273A80 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80276B24 00273A84 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80276B28 00273A88 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80276B2C 00273A8C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80276B30 00273A90 7C 08 03 A6 */ mtlr r0 +/* 80276B34 00273A94 38 21 00 60 */ addi r1, r1, 0x60 +/* 80276B38 00273A98 4E 80 00 20 */ blr + +.global sub_80276b3c +sub_80276b3c: +/* 80276B3C 00273A9C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80276B40 00273AA0 7C 08 02 A6 */ mflr r0 +/* 80276B44 00273AA4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80276B48 00273AA8 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 80276B4C 00273AAC 7C BA 2B 78 */ mr r26, r5 +/* 80276B50 00273AB0 7C 79 1B 78 */ mr r25, r3 +/* 80276B54 00273AB4 7C DB 33 78 */ mr r27, r6 +/* 80276B58 00273AB8 7C FC 3B 78 */ mr r28, r7 +/* 80276B5C 00273ABC 7F 43 D3 78 */ mr r3, r26 +/* 80276B60 00273AC0 A0 04 05 68 */ lhz r0, 0x568(r4) +/* 80276B64 00273AC4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80276B68 00273AC8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80276B6C 00273ACC 4B DD 5A 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276B70 00273AD0 7C 64 1B 78 */ mr r4, r3 +/* 80276B74 00273AD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80276B78 00273AD8 4B E3 65 71 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276B7C 00273ADC 83 A3 00 04 */ lwz r29, 4(r3) +/* 80276B80 00273AE0 28 1D 00 00 */ cmplwi r29, 0 +/* 80276B84 00273AE4 41 82 01 90 */ beq lbl_80276D14 +/* 80276B88 00273AE8 38 00 00 00 */ li r0, 0 +/* 80276B8C 00273AEC 83 FD 00 2C */ lwz r31, 0x2c(r29) +/* 80276B90 00273AF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276B94 00273AF4 3B C1 00 28 */ addi r30, r1, 0x28 +/* 80276B98 00273AF8 48 00 00 94 */ b lbl_80276C2C +lbl_80276B9C: +/* 80276B9C 00273AFC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80276BA0 00273B00 7C 1B 00 00 */ cmpw r27, r0 +/* 80276BA4 00273B04 40 82 00 84 */ bne lbl_80276C28 +/* 80276BA8 00273B08 80 1F 00 04 */ lwz r0, 4(r31) +/* 80276BAC 00273B0C 7C 1C 00 00 */ cmpw r28, r0 +/* 80276BB0 00273B10 40 82 00 78 */ bne lbl_80276C28 +/* 80276BB4 00273B14 80 1F 00 08 */ lwz r0, 8(r31) +/* 80276BB8 00273B18 7F 44 D3 78 */ mr r4, r26 +/* 80276BBC 00273B1C 38 61 00 0C */ addi r3, r1, 0xc +/* 80276BC0 00273B20 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80276BC4 00273B24 90 01 00 18 */ stw r0, 0x18(r1) +/* 80276BC8 00273B28 4B DD 13 55 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80276BCC 00273B2C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80276BD0 00273B30 7F 43 D3 78 */ mr r3, r26 +/* 80276BD4 00273B34 38 81 00 08 */ addi r4, r1, 8 +/* 80276BD8 00273B38 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80276BDC 00273B3C B0 01 00 08 */ sth r0, 8(r1) +/* 80276BE0 00273B40 4B DD 59 C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276BE4 00273B44 28 03 00 00 */ cmplwi r3, 0 +/* 80276BE8 00273B48 41 82 00 40 */ beq lbl_80276C28 +/* 80276BEC 00273B4C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80276BF0 00273B50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276BF4 00273B54 41 82 00 34 */ beq lbl_80276C28 +/* 80276BF8 00273B58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276BFC 00273B5C 54 00 08 3C */ slwi r0, r0, 1 +/* 80276C00 00273B60 7C 7E 02 15 */ add. r3, r30, r0 +/* 80276C04 00273B64 41 82 00 0C */ beq lbl_80276C10 +/* 80276C08 00273B68 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80276C0C 00273B6C B0 03 00 00 */ sth r0, 0(r3) +lbl_80276C10: +/* 80276C10 00273B70 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80276C14 00273B74 38 63 00 01 */ addi r3, r3, 1 +/* 80276C18 00273B78 20 03 00 08 */ subfic r0, r3, 8 +/* 80276C1C 00273B7C 90 61 00 24 */ stw r3, 0x24(r1) +/* 80276C20 00273B80 2C 00 00 00 */ cmpwi r0, 0 +/* 80276C24 00273B84 40 81 00 20 */ ble lbl_80276C44 +lbl_80276C28: +/* 80276C28 00273B88 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80276C2C: +/* 80276C2C 00273B8C 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 80276C30 00273B90 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80276C34 00273B94 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80276C38 00273B98 7C 03 02 14 */ add r0, r3, r0 +/* 80276C3C 00273B9C 7C 1F 00 40 */ cmplw r31, r0 +/* 80276C40 00273BA0 40 82 FF 5C */ bne lbl_80276B9C +lbl_80276C44: +/* 80276C44 00273BA4 83 61 00 24 */ lwz r27, 0x24(r1) +/* 80276C48 00273BA8 2C 1B 00 00 */ cmpwi r27, 0 +/* 80276C4C 00273BAC 41 82 00 7C */ beq lbl_80276CC8 +/* 80276C50 00273BB0 80 7A 09 00 */ lwz r3, 0x900(r26) +/* 80276C54 00273BB4 48 09 B8 CD */ bl Next__9CRandom16Fv +/* 80276C58 00273BB8 7C 03 DB D6 */ divw r0, r3, r27 +/* 80276C5C 00273BBC 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80276C60 00273BC0 38 80 00 00 */ li r4, 0 +/* 80276C64 00273BC4 2C 05 00 00 */ cmpwi r5, 0 +/* 80276C68 00273BC8 7C 00 D9 D6 */ mullw r0, r0, r27 +/* 80276C6C 00273BCC 7C 00 18 50 */ subf r0, r0, r3 +/* 80276C70 00273BD0 54 00 08 3C */ slwi r0, r0, 1 +/* 80276C74 00273BD4 7C 1E 02 2E */ lhzx r0, r30, r0 +/* 80276C78 00273BD8 B0 19 00 00 */ sth r0, 0(r25) +/* 80276C7C 00273BDC 40 81 00 40 */ ble lbl_80276CBC +/* 80276C80 00273BE0 2C 05 00 08 */ cmpwi r5, 8 +/* 80276C84 00273BE4 38 65 FF F8 */ addi r3, r5, -8 +/* 80276C88 00273BE8 40 81 00 20 */ ble lbl_80276CA8 +/* 80276C8C 00273BEC 38 03 00 07 */ addi r0, r3, 7 +/* 80276C90 00273BF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80276C94 00273BF4 7C 09 03 A6 */ mtctr r0 +/* 80276C98 00273BF8 2C 03 00 00 */ cmpwi r3, 0 +/* 80276C9C 00273BFC 40 81 00 0C */ ble lbl_80276CA8 +lbl_80276CA0: +/* 80276CA0 00273C00 38 84 00 08 */ addi r4, r4, 8 +/* 80276CA4 00273C04 42 00 FF FC */ bdnz lbl_80276CA0 +lbl_80276CA8: +/* 80276CA8 00273C08 7C 04 28 50 */ subf r0, r4, r5 +/* 80276CAC 00273C0C 7C 09 03 A6 */ mtctr r0 +/* 80276CB0 00273C10 7C 04 28 00 */ cmpw r4, r5 +/* 80276CB4 00273C14 40 80 00 08 */ bge lbl_80276CBC +lbl_80276CB8: +/* 80276CB8 00273C18 42 00 00 00 */ bdnz lbl_80276CB8 +lbl_80276CBC: +/* 80276CBC 00273C1C 38 00 00 00 */ li r0, 0 +/* 80276CC0 00273C20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276CC4 00273C24 48 00 00 58 */ b lbl_80276D1C +lbl_80276CC8: +/* 80276CC8 00273C28 38 60 00 00 */ li r3, 0 +/* 80276CCC 00273C2C 40 81 00 40 */ ble lbl_80276D0C +/* 80276CD0 00273C30 2C 1B 00 08 */ cmpwi r27, 8 +/* 80276CD4 00273C34 38 9B FF F8 */ addi r4, r27, -8 +/* 80276CD8 00273C38 40 81 00 20 */ ble lbl_80276CF8 +/* 80276CDC 00273C3C 38 04 00 07 */ addi r0, r4, 7 +/* 80276CE0 00273C40 54 00 E8 FE */ srwi r0, r0, 3 +/* 80276CE4 00273C44 7C 09 03 A6 */ mtctr r0 +/* 80276CE8 00273C48 2C 04 00 00 */ cmpwi r4, 0 +/* 80276CEC 00273C4C 40 81 00 0C */ ble lbl_80276CF8 +lbl_80276CF0: +/* 80276CF0 00273C50 38 63 00 08 */ addi r3, r3, 8 +/* 80276CF4 00273C54 42 00 FF FC */ bdnz lbl_80276CF0 +lbl_80276CF8: +/* 80276CF8 00273C58 7C 03 D8 50 */ subf r0, r3, r27 +/* 80276CFC 00273C5C 7C 09 03 A6 */ mtctr r0 +/* 80276D00 00273C60 7C 03 D8 00 */ cmpw r3, r27 +/* 80276D04 00273C64 40 80 00 08 */ bge lbl_80276D0C +lbl_80276D08: +/* 80276D08 00273C68 42 00 00 00 */ bdnz lbl_80276D08 +lbl_80276D0C: +/* 80276D0C 00273C6C 38 00 00 00 */ li r0, 0 +/* 80276D10 00273C70 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80276D14: +/* 80276D14 00273C74 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276D18 00273C78 B0 19 00 00 */ sth r0, 0(r25) +lbl_80276D1C: +/* 80276D1C 00273C7C BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80276D20 00273C80 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80276D24 00273C84 7C 08 03 A6 */ mtlr r0 +/* 80276D28 00273C88 38 21 00 60 */ addi r1, r1, 0x60 +/* 80276D2C 00273C8C 4E 80 00 20 */ blr + +.global sub_80276d30 +sub_80276d30: +/* 80276D30 00273C90 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80276D34 00273C94 7C 08 02 A6 */ mflr r0 +/* 80276D38 00273C98 90 01 00 64 */ stw r0, 0x64(r1) +/* 80276D3C 00273C9C BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80276D40 00273CA0 7C 7D 1B 78 */ mr r29, r3 +/* 80276D44 00273CA4 7C 9E 23 78 */ mr r30, r4 +/* 80276D48 00273CA8 7C BF 2B 78 */ mr r31, r5 +/* 80276D4C 00273CAC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276D50 00273CB0 A0 63 05 68 */ lhz r3, 0x568(r3) +/* 80276D54 00273CB4 7C 03 00 40 */ cmplw r3, r0 +/* 80276D58 00273CB8 41 82 00 3C */ beq lbl_80276D94 +/* 80276D5C 00273CBC A0 1D 05 68 */ lhz r0, 0x568(r29) +/* 80276D60 00273CC0 7F C3 F3 78 */ mr r3, r30 +/* 80276D64 00273CC4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80276D68 00273CC8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80276D6C 00273CCC 4B DD 58 09 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80276D70 00273CD0 7C 64 1B 78 */ mr r4, r3 +/* 80276D74 00273CD4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80276D78 00273CD8 4B E3 63 71 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276D7C 00273CDC 80 63 00 04 */ lwz r3, 4(r3) +/* 80276D80 00273CE0 28 03 00 00 */ cmplwi r3, 0 +/* 80276D84 00273CE4 41 82 00 10 */ beq lbl_80276D94 +/* 80276D88 00273CE8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276D8C 00273CEC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80276D90 00273CF0 B0 03 00 34 */ sth r0, 0x34(r3) +lbl_80276D94: +/* 80276D94 00273CF4 83 9E 08 10 */ lwz r28, 0x810(r30) +/* 80276D98 00273CF8 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80276D9C 00273CFC AB 7C 20 08 */ lha r27, 0x2008(r28) +/* 80276DA0 00273D00 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276DA4 00273D04 48 00 00 6C */ b lbl_80276E10 +lbl_80276DA8: +/* 80276DA8 00273D08 7F 83 E3 78 */ mr r3, r28 +/* 80276DAC 00273D0C 7F 64 DB 78 */ mr r4, r27 +/* 80276DB0 00273D10 4B D9 8F 65 */ bl __vc__11CObjectListFi +/* 80276DB4 00273D14 7C 60 1B 78 */ mr r0, r3 +/* 80276DB8 00273D18 38 61 00 28 */ addi r3, r1, 0x28 +/* 80276DBC 00273D1C 7C 04 03 78 */ mr r4, r0 +/* 80276DC0 00273D20 4B E3 63 29 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276DC4 00273D24 80 83 00 04 */ lwz r4, 4(r3) +/* 80276DC8 00273D28 28 04 00 00 */ cmplwi r4, 0 +/* 80276DCC 00273D2C 41 82 00 28 */ beq lbl_80276DF4 +/* 80276DD0 00273D30 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80276DD4 00273D34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276DD8 00273D38 41 82 00 1C */ beq lbl_80276DF4 +/* 80276DDC 00273D3C 80 64 00 04 */ lwz r3, 4(r4) +/* 80276DE0 00273D40 80 1F 00 00 */ lwz r0, 0(r31) +/* 80276DE4 00273D44 7C 03 00 00 */ cmpw r3, r0 +/* 80276DE8 00273D48 40 82 00 0C */ bne lbl_80276DF4 +/* 80276DEC 00273D4C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80276DF0 00273D50 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80276DF4: +/* 80276DF4 00273D54 2C 1B FF FF */ cmpwi r27, -1 +/* 80276DF8 00273D58 41 82 00 14 */ beq lbl_80276E0C +/* 80276DFC 00273D5C 57 63 18 38 */ slwi r3, r27, 3 +/* 80276E00 00273D60 38 03 00 08 */ addi r0, r3, 8 +/* 80276E04 00273D64 7F 7C 02 AE */ lhax r27, r28, r0 +/* 80276E08 00273D68 48 00 00 08 */ b lbl_80276E10 +lbl_80276E0C: +/* 80276E0C 00273D6C 3B 60 FF FF */ li r27, -1 +lbl_80276E10: +/* 80276E10 00273D70 2C 1B FF FF */ cmpwi r27, -1 +/* 80276E14 00273D74 40 82 FF 94 */ bne lbl_80276DA8 +/* 80276E18 00273D78 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 80276E1C 00273D7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276E20 00273D80 B0 7D 05 68 */ sth r3, 0x568(r29) +/* 80276E24 00273D84 54 03 01 BE */ clrlwi r3, r0, 6 +/* 80276E28 00273D88 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80276E2C 00273D8C 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80276E30 00273D90 7C 03 00 40 */ cmplw r3, r0 +/* 80276E34 00273D94 41 82 00 60 */ beq lbl_80276E94 +/* 80276E38 00273D98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276E3C 00273D9C 7F C4 F3 78 */ mr r4, r30 +/* 80276E40 00273DA0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80276E44 00273DA4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80276E48 00273DA8 90 01 00 20 */ stw r0, 0x20(r1) +/* 80276E4C 00273DAC 4B DD 10 D1 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80276E50 00273DB0 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80276E54 00273DB4 7F C3 F3 78 */ mr r3, r30 +/* 80276E58 00273DB8 38 81 00 10 */ addi r4, r1, 0x10 +/* 80276E5C 00273DBC B0 1D 05 68 */ sth r0, 0x568(r29) +/* 80276E60 00273DC0 A0 1D 05 68 */ lhz r0, 0x568(r29) +/* 80276E64 00273DC4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80276E68 00273DC8 4B DD 57 0D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80276E6C 00273DCC 7C 64 1B 78 */ mr r4, r3 +/* 80276E70 00273DD0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80276E74 00273DD4 4B E3 62 75 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276E78 00273DD8 80 63 00 04 */ lwz r3, 4(r3) +/* 80276E7C 00273DDC 28 03 00 00 */ cmplwi r3, 0 +/* 80276E80 00273DE0 41 82 00 14 */ beq lbl_80276E94 +/* 80276E84 00273DE4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80276E88 00273DE8 B0 01 00 08 */ sth r0, 8(r1) +/* 80276E8C 00273DEC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80276E90 00273DF0 B0 03 00 34 */ sth r0, 0x34(r3) +lbl_80276E94: +/* 80276E94 00273DF4 7F A3 EB 78 */ mr r3, r29 +/* 80276E98 00273DF8 7F C4 F3 78 */ mr r4, r30 +/* 80276E9C 00273DFC 4B FF F8 B9 */ bl sub_80276754 +/* 80276EA0 00273E00 7F A3 EB 78 */ mr r3, r29 +/* 80276EA4 00273E04 7F C4 F3 78 */ mr r4, r30 +/* 80276EA8 00273E08 4B FF CE 91 */ bl sub_80273d38 +/* 80276EAC 00273E0C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80276EB0 00273E10 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80276EB4 00273E14 7C 08 03 A6 */ mtlr r0 +/* 80276EB8 00273E18 38 21 00 60 */ addi r1, r1, 0x60 +/* 80276EBC 00273E1C 4E 80 00 20 */ blr + +.global sub_80276ec0 +sub_80276ec0: +/* 80276EC0 00273E20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80276EC4 00273E24 7C 08 02 A6 */ mflr r0 +/* 80276EC8 00273E28 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276ECC 00273E2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80276ED0 00273E30 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80276ED4 00273E34 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80276ED8 00273E38 93 81 00 10 */ stw r28, 0x10(r1) +/* 80276EDC 00273E3C 7C BC 2B 78 */ mr r28, r5 +/* 80276EE0 00273E40 83 E4 08 10 */ lwz r31, 0x810(r4) +/* 80276EE4 00273E44 83 CD A3 88 */ lwz r30, lbl_805A8F48@sda21(r13) +/* 80276EE8 00273E48 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 80276EEC 00273E4C 48 00 00 68 */ b lbl_80276F54 +lbl_80276EF0: +/* 80276EF0 00273E50 7F E3 FB 78 */ mr r3, r31 +/* 80276EF4 00273E54 7F A4 EB 78 */ mr r4, r29 +/* 80276EF8 00273E58 4B D9 8D E5 */ bl __vc__11CObjectListCFi +/* 80276EFC 00273E5C 7C 60 1B 78 */ mr r0, r3 +/* 80276F00 00273E60 38 61 00 08 */ addi r3, r1, 8 +/* 80276F04 00273E64 7C 04 03 78 */ mr r4, r0 +/* 80276F08 00273E68 4B E3 61 E1 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276F0C 00273E6C 80 83 00 04 */ lwz r4, 4(r3) +/* 80276F10 00273E70 28 04 00 00 */ cmplwi r4, 0 +/* 80276F14 00273E74 41 82 00 24 */ beq lbl_80276F38 +/* 80276F18 00273E78 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80276F1C 00273E7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276F20 00273E80 41 82 00 18 */ beq lbl_80276F38 +/* 80276F24 00273E84 80 64 00 04 */ lwz r3, 4(r4) +/* 80276F28 00273E88 80 1C 00 00 */ lwz r0, 0(r28) +/* 80276F2C 00273E8C 7C 03 00 00 */ cmpw r3, r0 +/* 80276F30 00273E90 40 82 00 08 */ bne lbl_80276F38 +/* 80276F34 00273E94 83 C4 00 0C */ lwz r30, 0xc(r4) +lbl_80276F38: +/* 80276F38 00273E98 2C 1D FF FF */ cmpwi r29, -1 +/* 80276F3C 00273E9C 41 82 00 14 */ beq lbl_80276F50 +/* 80276F40 00273EA0 57 A3 18 38 */ slwi r3, r29, 3 +/* 80276F44 00273EA4 38 03 00 08 */ addi r0, r3, 8 +/* 80276F48 00273EA8 7F BF 02 AE */ lhax r29, r31, r0 +/* 80276F4C 00273EAC 48 00 00 08 */ b lbl_80276F54 +lbl_80276F50: +/* 80276F50 00273EB0 3B A0 FF FF */ li r29, -1 +lbl_80276F54: +/* 80276F54 00273EB4 2C 1D FF FF */ cmpwi r29, -1 +/* 80276F58 00273EB8 40 82 FF 98 */ bne lbl_80276EF0 +/* 80276F5C 00273EBC 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80276F60 00273EC0 57 C4 01 BE */ clrlwi r4, r30, 6 +/* 80276F64 00273EC4 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80276F68 00273EC8 7C 64 00 50 */ subf r3, r4, r0 +/* 80276F6C 00273ECC 7C 00 20 50 */ subf r0, r0, r4 +/* 80276F70 00273ED0 7C 60 03 78 */ or r0, r3, r0 +/* 80276F74 00273ED4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80276F78 00273ED8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80276F7C 00273EDC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80276F80 00273EE0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80276F84 00273EE4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80276F88 00273EE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276F8C 00273EEC 7C 08 03 A6 */ mtlr r0 +/* 80276F90 00273EF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276F94 00273EF4 4E 80 00 20 */ blr + +.global AddToRenderer__16CMetroidPrimeExoCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__16CMetroidPrimeExoCFRC14CFrustumPlanesRC13CStateManager: +/* 80276F98 00273EF8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80276F9C 00273EFC 7C 08 02 A6 */ mflr r0 +/* 80276FA0 00273F00 90 01 00 94 */ stw r0, 0x94(r1) +/* 80276FA4 00273F04 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 80276FA8 00273F08 7C 7B 1B 78 */ mr r27, r3 +/* 80276FAC 00273F0C 7C 9C 23 78 */ mr r28, r4 +/* 80276FB0 00273F10 4B E0 09 09 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 80276FB4 00273F14 80 9B 0C 54 */ lwz r4, 0xc54(r27) +/* 80276FB8 00273F18 38 61 00 5C */ addi r3, r1, 0x5c +/* 80276FBC 00273F1C 81 84 00 00 */ lwz r12, 0(r4) +/* 80276FC0 00273F20 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80276FC4 00273F24 7D 89 03 A6 */ mtctr r12 +/* 80276FC8 00273F28 4E 80 04 21 */ bctrl +/* 80276FCC 00273F2C 7F 83 E3 78 */ mr r3, r28 +/* 80276FD0 00273F30 38 81 00 5C */ addi r4, r1, 0x5c +/* 80276FD4 00273F34 48 0C E1 B5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80276FD8 00273F38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80276FDC 00273F3C 38 60 00 00 */ li r3, 0 +/* 80276FE0 00273F40 98 61 00 74 */ stb r3, 0x74(r1) +/* 80276FE4 00273F44 41 82 00 1C */ beq lbl_80277000 +/* 80276FE8 00273F48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80276FEC 00273F4C 80 9B 0C 54 */ lwz r4, 0xc54(r27) +/* 80276FF0 00273F50 81 83 00 00 */ lwz r12, 0(r3) +/* 80276FF4 00273F54 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80276FF8 00273F58 7D 89 03 A6 */ mtctr r12 +/* 80276FFC 00273F5C 4E 80 04 21 */ bctrl +lbl_80277000: +/* 80277000 00273F60 80 9B 0F B0 */ lwz r4, 0xfb0(r27) +/* 80277004 00273F64 38 61 00 40 */ addi r3, r1, 0x40 +/* 80277008 00273F68 81 84 00 00 */ lwz r12, 0(r4) +/* 8027700C 00273F6C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80277010 00273F70 7D 89 03 A6 */ mtctr r12 +/* 80277014 00273F74 4E 80 04 21 */ bctrl +/* 80277018 00273F78 7F 83 E3 78 */ mr r3, r28 +/* 8027701C 00273F7C 38 81 00 40 */ addi r4, r1, 0x40 +/* 80277020 00273F80 48 0C E1 69 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80277024 00273F84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80277028 00273F88 38 60 00 00 */ li r3, 0 +/* 8027702C 00273F8C 98 61 00 58 */ stb r3, 0x58(r1) +/* 80277030 00273F90 41 82 00 1C */ beq lbl_8027704C +/* 80277034 00273F94 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277038 00273F98 80 9B 0F B0 */ lwz r4, 0xfb0(r27) +/* 8027703C 00273F9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80277040 00273FA0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80277044 00273FA4 7D 89 03 A6 */ mtctr r12 +/* 80277048 00273FA8 4E 80 04 21 */ bctrl +lbl_8027704C: +/* 8027704C 00273FAC 80 9B 10 28 */ lwz r4, 0x1028(r27) +/* 80277050 00273FB0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80277054 00273FB4 81 84 00 00 */ lwz r12, 0(r4) +/* 80277058 00273FB8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8027705C 00273FBC 7D 89 03 A6 */ mtctr r12 +/* 80277060 00273FC0 4E 80 04 21 */ bctrl +/* 80277064 00273FC4 7F 83 E3 78 */ mr r3, r28 +/* 80277068 00273FC8 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027706C 00273FCC 48 0C E1 1D */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80277070 00273FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80277074 00273FD4 38 60 00 00 */ li r3, 0 +/* 80277078 00273FD8 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8027707C 00273FDC 41 82 00 1C */ beq lbl_80277098 +/* 80277080 00273FE0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277084 00273FE4 80 9B 10 28 */ lwz r4, 0x1028(r27) +/* 80277088 00273FE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8027708C 00273FEC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80277090 00273FF0 7D 89 03 A6 */ mtctr r12 +/* 80277094 00273FF4 4E 80 04 21 */ bctrl +lbl_80277098: +/* 80277098 00273FF8 3B FB 0F F0 */ addi r31, r27, 0xff0 +/* 8027709C 00273FFC 3B DB 10 04 */ addi r30, r27, 0x1004 +/* 802770A0 00274000 3B A0 00 00 */ li r29, 0 +lbl_802770A4: +/* 802770A4 00274004 80 9F 00 04 */ lwz r4, 4(r31) +/* 802770A8 00274008 38 61 00 08 */ addi r3, r1, 8 +/* 802770AC 0027400C 81 84 00 00 */ lwz r12, 0(r4) +/* 802770B0 00274010 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802770B4 00274014 7D 89 03 A6 */ mtctr r12 +/* 802770B8 00274018 4E 80 04 21 */ bctrl +/* 802770BC 0027401C 7F 83 E3 78 */ mr r3, r28 +/* 802770C0 00274020 38 81 00 08 */ addi r4, r1, 8 +/* 802770C4 00274024 48 0C E0 C5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 802770C8 00274028 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802770CC 0027402C 38 60 00 00 */ li r3, 0 +/* 802770D0 00274030 98 61 00 20 */ stb r3, 0x20(r1) +/* 802770D4 00274034 41 82 00 1C */ beq lbl_802770F0 +/* 802770D8 00274038 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802770DC 0027403C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802770E0 00274040 81 83 00 00 */ lwz r12, 0(r3) +/* 802770E4 00274044 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802770E8 00274048 7D 89 03 A6 */ mtctr r12 +/* 802770EC 0027404C 4E 80 04 21 */ bctrl +lbl_802770F0: +/* 802770F0 00274050 88 1B 10 54 */ lbz r0, 0x1054(r27) +/* 802770F4 00274054 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802770F8 00274058 41 82 00 1C */ beq lbl_80277114 +/* 802770FC 0027405C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277100 00274060 80 9E 00 04 */ lwz r4, 4(r30) +/* 80277104 00274064 81 83 00 00 */ lwz r12, 0(r3) +/* 80277108 00274068 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027710C 0027406C 7D 89 03 A6 */ mtctr r12 +/* 80277110 00274070 4E 80 04 21 */ bctrl +lbl_80277114: +/* 80277114 00274074 3B BD 00 01 */ addi r29, r29, 1 +/* 80277118 00274078 3B DE 00 08 */ addi r30, r30, 8 +/* 8027711C 0027407C 2C 1D 00 02 */ cmpwi r29, 2 +/* 80277120 00274080 3B FF 00 08 */ addi r31, r31, 8 +/* 80277124 00274084 41 80 FF 80 */ blt lbl_802770A4 +/* 80277128 00274088 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 8027712C 0027408C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80277130 00274090 7C 08 03 A6 */ mtlr r0 +/* 80277134 00274094 38 21 00 90 */ addi r1, r1, 0x90 +/* 80277138 00274098 4E 80 00 20 */ blr + +.global CanRenderUnsorted__16CMetroidPrimeExoCFRC13CStateManager +CanRenderUnsorted__16CMetroidPrimeExoCFRC13CStateManager: +/* 8027713C 0027409C 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 80277140 002740A0 80 63 00 00 */ lwz r3, 0(r3) +/* 80277144 002740A4 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80277148 002740A8 20 64 00 01 */ subfic r3, r4, 1 +/* 8027714C 002740AC 38 04 FF FF */ addi r0, r4, -1 +/* 80277150 002740B0 7C 60 03 78 */ or r0, r3, r0 +/* 80277154 002740B4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80277158 002740B8 4E 80 00 20 */ blr + +.global Render__16CMetroidPrimeExoCFRC13CStateManager +Render__16CMetroidPrimeExoCFRC13CStateManager: +/* 8027715C 002740BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80277160 002740C0 7C 08 02 A6 */ mflr r0 +/* 80277164 002740C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80277168 002740C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027716C 002740CC 7C 9F 23 78 */ mr r31, r4 +/* 80277170 002740D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80277174 002740D4 7C 7E 1B 78 */ mr r30, r3 +/* 80277178 002740D8 38 9E 08 D8 */ addi r4, r30, 0x8d8 +/* 8027717C 002740DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277180 002740E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80277184 002740E4 81 8C 00 FC */ lwz r12, 0xfc(r12) +/* 80277188 002740E8 7D 89 03 A6 */ mtctr r12 +/* 8027718C 002740EC 4E 80 04 21 */ bctrl +/* 80277190 002740F0 7F C3 F3 78 */ mr r3, r30 +/* 80277194 002740F4 7F E4 FB 78 */ mr r4, r31 +/* 80277198 002740F8 4B E0 0E 95 */ bl Render__10CPatternedCFRC13CStateManager +/* 8027719C 002740FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802771A0 00274100 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802771A4 00274104 83 C1 00 08 */ lwz r30, 8(r1) +/* 802771A8 00274108 7C 08 03 A6 */ mtlr r0 +/* 802771AC 0027410C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802771B0 00274110 4E 80 00 20 */ blr + +.global PreRender__16CMetroidPrimeExoFR13CStateManagerRC14CFrustumPlanes +PreRender__16CMetroidPrimeExoFR13CStateManagerRC14CFrustumPlanes: +/* 802771B4 00274114 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802771B8 00274118 7C 08 02 A6 */ mflr r0 +/* 802771BC 0027411C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802771C0 00274120 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802771C4 00274124 7C 9F 23 78 */ mr r31, r4 +/* 802771C8 00274128 93 C1 00 08 */ stw r30, 8(r1) +/* 802771CC 0027412C 7C 7E 1B 78 */ mr r30, r3 +/* 802771D0 00274130 4B E0 11 0D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +/* 802771D4 00274134 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802771D8 00274138 80 7E 14 3C */ lwz r3, 0x143c(r30) +/* 802771DC 0027413C 39 04 66 A0 */ addi r8, r4, skZero3f@l +/* 802771E0 00274140 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 802771E4 00274144 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 802771E8 00274148 7F E4 FB 78 */ mr r4, r31 +/* 802771EC 0027414C C0 42 BC 40 */ lfs f2, lbl_805AD960@sda21(r2) +/* 802771F0 00274150 38 DE 00 34 */ addi r6, r30, 0x34 +/* 802771F4 00274154 38 E0 00 01 */ li r7, 1 +/* 802771F8 00274158 48 02 6B 91 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff +/* 802771FC 0027415C C0 02 BB FC */ lfs f0, lbl_805AD91C@sda21(r2) +/* 80277200 00274160 80 7E 14 3C */ lwz r3, 0x143c(r30) +/* 80277204 00274164 D0 03 00 98 */ stfs f0, 0x98(r3) +/* 80277208 00274168 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027720C 0027416C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80277210 00274170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80277214 00274174 7C 08 03 A6 */ mtlr r0 +/* 80277218 00274178 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027721C 0027417C 4E 80 00 20 */ blr + +.global Touch__16CMetroidPrimeExoFR6CActorR13CStateManager +Touch__16CMetroidPrimeExoFR6CActorR13CStateManager: +/* 80277220 00274180 4E 80 00 20 */ blr + +.global sub_80277224 +sub_80277224: +/* 80277224 00274184 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80277228 00274188 7C 08 02 A6 */ mflr r0 +/* 8027722C 0027418C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80277230 00274190 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80277234 00274194 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80277238 00274198 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8027723C 0027419C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80277240 002741A0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80277244 002741A4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80277248 002741A8 FF E0 08 90 */ fmr f31, f1 +/* 8027724C 002741AC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80277250 002741B0 7C 7E 1B 78 */ mr r30, r3 +/* 80277254 002741B4 7C 9F 23 78 */ mr r31, r4 +/* 80277258 002741B8 7F C4 F3 78 */ mr r4, r30 +/* 8027725C 002741BC 38 61 00 0C */ addi r3, r1, 0xc +/* 80277260 002741C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80277264 002741C4 7F E5 FB 78 */ mr r5, r31 +/* 80277268 002741C8 4C 41 13 82 */ cror 2, 1, 2 +/* 8027726C 002741CC 7C 00 00 26 */ mfcr r0 +/* 80277270 002741D0 54 06 1F FE */ rlwinm r6, r0, 3, 0x1f, 0x1f +/* 80277274 002741D4 4B FF F7 6D */ bl sub_802769e0 +/* 80277278 002741D8 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8027727C 002741DC 7F E3 FB 78 */ mr r3, r31 +/* 80277280 002741E0 38 81 00 08 */ addi r4, r1, 8 +/* 80277284 002741E4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80277288 002741E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027728C 002741EC 4B DD 53 19 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80277290 002741F0 7C 64 1B 78 */ mr r4, r3 +/* 80277294 002741F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80277298 002741F8 4B E2 F2 B5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8027729C 002741FC 80 A3 00 04 */ lwz r5, 4(r3) +/* 802772A0 00274200 28 05 00 00 */ cmplwi r5, 0 +/* 802772A4 00274204 41 82 00 B0 */ beq lbl_80277354 +/* 802772A8 00274208 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 802772AC 0027420C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802772B0 00274210 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 802772B4 00274214 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 802772B8 00274218 C0 DE 00 48 */ lfs f6, 0x48(r30) +/* 802772BC 0027421C EC 61 00 28 */ fsubs f3, f1, f0 +/* 802772C0 00274220 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 802772C4 00274224 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802772C8 00274228 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 802772CC 0027422C C0 85 00 60 */ lfs f4, 0x60(r5) +/* 802772D0 00274230 EC A1 00 28 */ fsubs f5, f1, f0 +/* 802772D4 00274234 C0 04 00 00 */ lfs f0, 0(r4) +/* 802772D8 00274238 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 802772DC 0027423C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 802772E0 00274240 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802772E4 00274244 C0 FE 00 58 */ lfs f7, 0x58(r30) +/* 802772E8 00274248 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802772EC 0027424C C0 04 00 04 */ lfs f0, 4(r4) +/* 802772F0 00274250 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802772F4 00274254 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802772F8 00274258 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802772FC 0027425C EF C7 08 FA */ fmadds f30, f7, f3, f1 +/* 80277300 00274260 C0 04 00 08 */ lfs f0, 8(r4) +/* 80277304 00274264 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 80277308 00274268 D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 8027730C 0027426C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80277310 00274270 48 09 D5 A9 */ bl Magnitude__9CVector3fCFv +/* 80277314 00274274 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80277318 00274278 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) +/* 8027731C 0027427C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80277320 00274280 EC 02 00 72 */ fmuls f0, f2, f1 +/* 80277324 00274284 4C 41 13 82 */ cror 2, 1, 2 +/* 80277328 00274288 40 82 00 18 */ bne lbl_80277340 +/* 8027732C 0027428C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80277330 00274290 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80277334 00274294 7C 00 00 26 */ mfcr r0 +/* 80277338 00274298 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8027733C 0027429C 48 00 00 1C */ b lbl_80277358 +lbl_80277340: +/* 80277340 002742A0 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80277344 002742A4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80277348 002742A8 7C 00 00 26 */ mfcr r0 +/* 8027734C 002742AC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80277350 002742B0 48 00 00 08 */ b lbl_80277358 +lbl_80277354: +/* 80277354 002742B4 38 60 00 00 */ li r3, 0 +lbl_80277358: +/* 80277358 002742B8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8027735C 002742BC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80277360 002742C0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80277364 002742C4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80277368 002742C8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8027736C 002742CC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80277370 002742D0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80277374 002742D4 7C 08 03 A6 */ mtlr r0 +/* 80277378 002742D8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8027737C 002742DC 4E 80 00 20 */ blr + +.global sub_80277380 +sub_80277380: +/* 80277380 002742E0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80277384 002742E4 7C 08 02 A6 */ mflr r0 +/* 80277388 002742E8 90 01 01 14 */ stw r0, 0x114(r1) +/* 8027738C 002742EC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80277390 002742F0 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 80277394 002742F4 7C 9F 23 78 */ mr r31, r4 +/* 80277398 002742F8 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8027739C 002742FC 7C 7E 1B 78 */ mr r30, r3 +/* 802773A0 00274300 93 A1 01 04 */ stw r29, 0x104(r1) +/* 802773A4 00274304 93 81 01 00 */ stw r28, 0x100(r1) +/* 802773A8 00274308 7C BC 2B 78 */ mr r28, r5 +/* 802773AC 0027430C 41 82 01 34 */ beq lbl_802774E0 +/* 802773B0 00274310 80 1E 05 70 */ lwz r0, 0x570(r30) +/* 802773B4 00274314 7F E3 FB 78 */ mr r3, r31 +/* 802773B8 00274318 38 81 00 0C */ addi r4, r1, 0xc +/* 802773BC 0027431C 90 1E 0C 58 */ stw r0, 0xc58(r30) +/* 802773C0 00274320 80 1E 0C 58 */ lwz r0, 0xc58(r30) +/* 802773C4 00274324 54 00 08 3C */ slwi r0, r0, 1 +/* 802773C8 00274328 7C BE 02 14 */ add r5, r30, r0 +/* 802773CC 0027432C A0 05 0B 28 */ lhz r0, 0xb28(r5) +/* 802773D0 00274330 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802773D4 00274334 4B DD 51 A1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802773D8 00274338 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802773DC 0027433C 41 82 01 74 */ beq lbl_80277550 +/* 802773E0 00274340 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802773E4 00274344 41 82 01 6C */ beq lbl_80277550 +/* 802773E8 00274348 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 802773EC 0027434C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802773F0 00274350 40 82 01 60 */ bne lbl_80277550 +/* 802773F4 00274354 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 802773F8 00274358 2C 00 00 00 */ cmpwi r0, 0 +/* 802773FC 0027435C 40 82 00 18 */ bne lbl_80277414 +/* 80277400 00274360 80 1D 00 E8 */ lwz r0, 0xe8(r29) +/* 80277404 00274364 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) +/* 80277408 00274368 60 00 10 00 */ ori r0, r0, 0x1000 +/* 8027740C 0027436C 90 1D 00 E8 */ stw r0, 0xe8(r29) +/* 80277410 00274370 D0 1D 01 50 */ stfs f0, 0x150(r29) +lbl_80277414: +/* 80277414 00274374 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 80277418 00274378 38 61 00 28 */ addi r3, r1, 0x28 +/* 8027741C 0027437C 4B D8 D8 9D */ bl string_l__4rstlFPCc +/* 80277420 00274380 7F C4 F3 78 */ mr r4, r30 +/* 80277424 00274384 38 61 00 68 */ addi r3, r1, 0x68 +/* 80277428 00274388 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8027742C 0027438C 4B E0 15 4D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80277430 00274390 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80277434 00274394 38 81 00 68 */ addi r4, r1, 0x68 +/* 80277438 00274398 48 09 B7 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8027743C 0027439C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80277440 002743A0 48 0C 66 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80277444 002743A4 7F C4 F3 78 */ mr r4, r30 +/* 80277448 002743A8 7F E5 FB 78 */ mr r5, r31 +/* 8027744C 002743AC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80277450 002743B0 48 00 04 75 */ bl sub_802778c4 +/* 80277454 002743B4 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80277458 002743B8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8027745C 002743BC C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80277460 002743C0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80277464 002743C4 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80277468 002743C8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027746C 002743CC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80277470 002743D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80277474 002743D4 D0 7E 0C 60 */ stfs f3, 0xc60(r30) +/* 80277478 002743D8 38 BE 0C 60 */ addi r5, r30, 0xc60 +/* 8027747C 002743DC D0 3E 0C 64 */ stfs f1, 0xc64(r30) +/* 80277480 002743E0 D0 5E 0C 68 */ stfs f2, 0xc68(r30) +/* 80277484 002743E4 D0 7E 0C 6C */ stfs f3, 0xc6c(r30) +/* 80277488 002743E8 D0 3E 0C 70 */ stfs f1, 0xc70(r30) +/* 8027748C 002743EC D0 5E 0C 74 */ stfs f2, 0xc74(r30) +/* 80277490 002743F0 D0 1E 0C 5C */ stfs f0, 0xc5c(r30) +/* 80277494 002743F4 C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 80277498 002743F8 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 8027749C 002743FC C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802774A0 00274400 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802774A4 00274404 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802774A8 00274408 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802774AC 0027440C 48 09 C6 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802774B0 00274410 38 61 00 98 */ addi r3, r1, 0x98 +/* 802774B4 00274414 38 81 00 38 */ addi r4, r1, 0x38 +/* 802774B8 00274418 48 09 B6 BD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802774BC 0027441C 7F A3 EB 78 */ mr r3, r29 +/* 802774C0 00274420 7F E5 FB 78 */ mr r5, r31 +/* 802774C4 00274424 81 9D 00 00 */ lwz r12, 0(r29) +/* 802774C8 00274428 38 81 00 98 */ addi r4, r1, 0x98 +/* 802774CC 0027442C 38 C0 00 00 */ li r6, 0 +/* 802774D0 00274430 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 802774D4 00274434 7D 89 03 A6 */ mtctr r12 +/* 802774D8 00274438 4E 80 04 21 */ bctrl +/* 802774DC 0027443C 48 00 00 74 */ b lbl_80277550 +lbl_802774E0: +/* 802774E0 00274440 3B BE 0B 28 */ addi r29, r30, 0xb28 +/* 802774E4 00274444 3B 80 00 00 */ li r28, 0 +/* 802774E8 00274448 48 00 00 5C */ b lbl_80277544 +lbl_802774EC: +/* 802774EC 0027444C A0 7D 00 00 */ lhz r3, 0(r29) +/* 802774F0 00274450 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802774F4 00274454 7C 03 00 40 */ cmplw r3, r0 +/* 802774F8 00274458 41 82 00 44 */ beq lbl_8027753C +/* 802774FC 0027445C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80277500 00274460 7F E3 FB 78 */ mr r3, r31 +/* 80277504 00274464 38 81 00 08 */ addi r4, r1, 8 +/* 80277508 00274468 B0 01 00 08 */ sth r0, 8(r1) +/* 8027750C 0027446C 4B DD 50 69 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80277510 00274470 28 03 00 00 */ cmplwi r3, 0 +/* 80277514 00274474 41 82 00 28 */ beq lbl_8027753C +/* 80277518 00274478 88 03 05 48 */ lbz r0, 0x548(r3) +/* 8027751C 0027447C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80277520 00274480 41 82 00 1C */ beq lbl_8027753C +/* 80277524 00274484 81 83 00 00 */ lwz r12, 0(r3) +/* 80277528 00274488 7F E4 FB 78 */ mr r4, r31 +/* 8027752C 0027448C 38 A0 00 00 */ li r5, 0 +/* 80277530 00274490 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80277534 00274494 7D 89 03 A6 */ mtctr r12 +/* 80277538 00274498 4E 80 04 21 */ bctrl +lbl_8027753C: +/* 8027753C 0027449C 3B BD 00 02 */ addi r29, r29, 2 +/* 80277540 002744A0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80277544: +/* 80277544 002744A4 80 1E 09 6C */ lwz r0, 0x96c(r30) +/* 80277548 002744A8 7C 1C 00 00 */ cmpw r28, r0 +/* 8027754C 002744AC 41 80 FF A0 */ blt lbl_802774EC +lbl_80277550: +/* 80277550 002744B0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80277554 002744B4 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 80277558 002744B8 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8027755C 002744BC 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 80277560 002744C0 83 81 01 00 */ lwz r28, 0x100(r1) +/* 80277564 002744C4 7C 08 03 A6 */ mtlr r0 +/* 80277568 002744C8 38 21 01 10 */ addi r1, r1, 0x110 +/* 8027756C 002744CC 4E 80 00 20 */ blr + +.global sub_80277570 +sub_80277570: +/* 80277570 002744D0 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 80277574 002744D4 7C 08 02 A6 */ mflr r0 +/* 80277578 002744D8 90 01 02 34 */ stw r0, 0x234(r1) +/* 8027757C 002744DC DB E1 02 20 */ stfd f31, 0x220(r1) +/* 80277580 002744E0 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 80277584 002744E4 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 80277588 002744E8 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 8027758C 002744EC DB A1 02 00 */ stfd f29, 0x200(r1) +/* 80277590 002744F0 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 80277594 002744F4 DB 81 01 F0 */ stfd f28, 0x1f0(r1) +/* 80277598 002744F8 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 +/* 8027759C 002744FC 93 E1 01 EC */ stw r31, 0x1ec(r1) +/* 802775A0 00274500 93 C1 01 E8 */ stw r30, 0x1e8(r1) +/* 802775A4 00274504 93 A1 01 E4 */ stw r29, 0x1e4(r1) +/* 802775A8 00274508 FF E0 08 90 */ fmr f31, f1 +/* 802775AC 0027450C 7C 9E 23 78 */ mr r30, r4 +/* 802775B0 00274510 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 802775B4 00274514 7C 7D 1B 78 */ mr r29, r3 +/* 802775B8 00274518 38 61 00 98 */ addi r3, r1, 0x98 +/* 802775BC 0027451C 4B D8 D6 FD */ bl string_l__4rstlFPCc +/* 802775C0 00274520 7F A4 EB 78 */ mr r4, r29 +/* 802775C4 00274524 38 61 01 44 */ addi r3, r1, 0x144 +/* 802775C8 00274528 38 A1 00 98 */ addi r5, r1, 0x98 +/* 802775CC 0027452C 4B E0 13 AD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802775D0 00274530 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 802775D4 00274534 38 81 01 44 */ addi r4, r1, 0x144 +/* 802775D8 00274538 48 09 B5 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802775DC 0027453C 38 61 00 98 */ addi r3, r1, 0x98 +/* 802775E0 00274540 48 0C 65 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802775E4 00274544 C0 41 01 B0 */ lfs f2, 0x1b0(r1) +/* 802775E8 00274548 38 81 00 8C */ addi r4, r1, 0x8c +/* 802775EC 0027454C C0 21 01 C0 */ lfs f1, 0x1c0(r1) +/* 802775F0 00274550 C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802775F4 00274554 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802775F8 00274558 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802775FC 0027455C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80277600 00274560 80 7D 0C 54 */ lwz r3, 0xc54(r29) +/* 80277604 00274564 81 83 00 00 */ lwz r12, 0(r3) +/* 80277608 00274568 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8027760C 0027456C 7D 89 03 A6 */ mtctr r12 +/* 80277610 00274570 4E 80 04 21 */ bctrl +/* 80277614 00274574 83 FD 0C 54 */ lwz r31, 0xc54(r29) +/* 80277618 00274578 38 61 01 14 */ addi r3, r1, 0x114 +/* 8027761C 0027457C 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 80277620 00274580 48 09 B6 21 */ bl GetRotation__12CTransform4fCFv +/* 80277624 00274584 7F E3 FB 78 */ mr r3, r31 +/* 80277628 00274588 38 81 01 14 */ addi r4, r1, 0x114 +/* 8027762C 0027458C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80277630 00274590 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80277634 00274594 7D 89 03 A6 */ mtctr r12 +/* 80277638 00274598 4E 80 04 21 */ bctrl +/* 8027763C 0027459C 80 7D 0C 54 */ lwz r3, 0xc54(r29) +/* 80277640 002745A0 FC 20 F8 90 */ fmr f1, f31 +/* 80277644 002745A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80277648 002745A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027764C 002745AC 7D 89 03 A6 */ mtctr r12 +/* 80277650 002745B0 4E 80 04 21 */ bctrl +/* 80277654 002745B4 80 1D 0C 58 */ lwz r0, 0xc58(r29) +/* 80277658 002745B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8027765C 002745BC 41 80 02 2C */ blt lbl_80277888 +/* 80277660 002745C0 2C 00 00 03 */ cmpwi r0, 3 +/* 80277664 002745C4 40 81 00 08 */ ble lbl_8027766C +/* 80277668 002745C8 48 00 02 20 */ b lbl_80277888 +lbl_8027766C: +/* 8027766C 002745CC 54 00 08 3C */ slwi r0, r0, 1 +/* 80277670 002745D0 7F C3 F3 78 */ mr r3, r30 +/* 80277674 002745D4 7C BD 02 14 */ add r5, r29, r0 +/* 80277678 002745D8 38 81 00 08 */ addi r4, r1, 8 +/* 8027767C 002745DC A0 05 0B 28 */ lhz r0, 0xb28(r5) +/* 80277680 002745E0 B0 01 00 08 */ sth r0, 8(r1) +/* 80277684 002745E4 4B DD 4E F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80277688 002745E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8027768C 002745EC 41 82 01 FC */ beq lbl_80277888 +/* 80277690 002745F0 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80277694 002745F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80277698 002745F8 41 82 01 F0 */ beq lbl_80277888 +/* 8027769C 002745FC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 802776A0 00274600 4B EC 2A 2D */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 802776A4 00274604 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802776A8 00274608 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802776AC 0027460C 40 81 00 14 */ ble lbl_802776C0 +/* 802776B0 00274610 7F A3 EB 78 */ mr r3, r29 +/* 802776B4 00274614 7F C4 F3 78 */ mr r4, r30 +/* 802776B8 00274618 38 A0 00 00 */ li r5, 0 +/* 802776BC 0027461C 4B FF FC C5 */ bl sub_80277380 +lbl_802776C0: +/* 802776C0 00274620 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802776C4 00274624 38 61 01 74 */ addi r3, r1, 0x174 +/* 802776C8 00274628 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802776CC 0027462C 48 09 B4 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802776D0 00274630 C0 1D 0C 5C */ lfs f0, 0xc5c(r29) +/* 802776D4 00274634 38 81 00 10 */ addi r4, r1, 0x10 +/* 802776D8 00274638 38 6D 98 9C */ addi r3, r13, lbl_805A845C@sda21 +/* 802776DC 0027463C 38 AD 98 A0 */ addi r5, r13, lbl_805A8460@sda21 +/* 802776E0 00274640 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802776E4 00274644 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802776E8 00274648 4B D9 4B CD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802776EC 0027464C C0 23 00 00 */ lfs f1, 0(r3) +/* 802776F0 00274650 38 61 00 80 */ addi r3, r1, 0x80 +/* 802776F4 00274654 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) +/* 802776F8 00274658 38 81 00 74 */ addi r4, r1, 0x74 +/* 802776FC 0027465C D0 3D 0C 5C */ stfs f1, 0xc5c(r29) +/* 80277700 00274660 C0 42 BC 30 */ lfs f2, lbl_805AD950@sda21(r2) +/* 80277704 00274664 C0 7D 0C 5C */ lfs f3, 0xc5c(r29) +/* 80277708 00274668 C0 3D 0C 70 */ lfs f1, 0xc70(r29) +/* 8027770C 0027466C ED 43 00 24 */ fdivs f10, f3, f0 +/* 80277710 00274670 C0 1D 0C 74 */ lfs f0, 0xc74(r29) +/* 80277714 00274674 C0 7D 0C 6C */ lfs f3, 0xc6c(r29) +/* 80277718 00274678 C1 1D 0C 64 */ lfs f8, 0xc64(r29) +/* 8027771C 0027467C C0 DD 0C 68 */ lfs f6, 0xc68(r29) +/* 80277720 00274680 C0 9D 0C 60 */ lfs f4, 0xc60(r29) +/* 80277724 00274684 ED 22 50 28 */ fsubs f9, f2, f10 +/* 80277728 00274688 C0 41 01 C0 */ lfs f2, 0x1c0(r1) +/* 8027772C 0027468C EC E1 02 B2 */ fmuls f7, f1, f10 +/* 80277730 00274690 C0 21 01 D0 */ lfs f1, 0x1d0(r1) +/* 80277734 00274694 EC A0 02 B2 */ fmuls f5, f0, f10 +/* 80277738 00274698 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 8027773C 0027469C EC E8 3A 7A */ fmadds f7, f8, f9, f7 +/* 80277740 002746A0 EC A6 2A 7A */ fmadds f5, f6, f9, f5 +/* 80277744 002746A4 EC 63 02 B2 */ fmuls f3, f3, f10 +/* 80277748 002746A8 D0 E1 00 AC */ stfs f7, 0xac(r1) +/* 8027774C 002746AC EC C7 10 28 */ fsubs f6, f7, f2 +/* 80277750 002746B0 EC 45 08 28 */ fsubs f2, f5, f1 +/* 80277754 002746B4 EC 24 1A 7A */ fmadds f1, f4, f9, f3 +/* 80277758 002746B8 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 8027775C 002746BC D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80277760 002746C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80277764 002746C4 C3 9D 00 58 */ lfs f28, 0x58(r29) +/* 80277768 002746C8 C3 BD 00 48 */ lfs f29, 0x48(r29) +/* 8027776C 002746CC C3 DD 00 38 */ lfs f30, 0x38(r29) +/* 80277770 002746D0 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80277774 002746D4 D0 C1 00 78 */ stfs f6, 0x78(r1) +/* 80277778 002746D8 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8027777C 002746DC 48 09 D0 D5 */ bl AsNormalized__9CVector3fCFv +/* 80277780 002746E0 C0 81 00 84 */ lfs f4, 0x84(r1) +/* 80277784 002746E4 C0 C1 00 80 */ lfs f6, 0x80(r1) +/* 80277788 002746E8 EC 3D 01 32 */ fmuls f1, f29, f4 +/* 8027778C 002746EC C0 A1 00 88 */ lfs f5, 0x88(r1) +/* 80277790 002746F0 C0 02 BC B0 */ lfs f0, lbl_805AD9D0@sda21(r2) +/* 80277794 002746F4 EC 3E 09 BA */ fmadds f1, f30, f6, f1 +/* 80277798 002746F8 EC 3C 09 7A */ fmadds f1, f28, f5, f1 +/* 8027779C 002746FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802777A0 00274700 40 81 00 44 */ ble lbl_802777E4 +/* 802777A4 00274704 C0 41 01 B0 */ lfs f2, 0x1b0(r1) +/* 802777A8 00274708 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802777AC 0027470C C0 21 01 C0 */ lfs f1, 0x1c0(r1) +/* 802777B0 00274710 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802777B4 00274714 C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802777B8 00274718 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 802777BC 0027471C D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802777C0 00274720 38 81 00 68 */ addi r4, r1, 0x68 +/* 802777C4 00274724 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 802777C8 00274728 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802777CC 0027472C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802777D0 00274730 48 09 C3 41 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802777D4 00274734 38 61 01 74 */ addi r3, r1, 0x174 +/* 802777D8 00274738 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 802777DC 0027473C 48 09 B3 65 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802777E0 00274740 48 00 00 88 */ b lbl_80277868 +lbl_802777E4: +/* 802777E4 00274744 C0 61 01 B0 */ lfs f3, 0x1b0(r1) +/* 802777E8 00274748 38 61 00 20 */ addi r3, r1, 0x20 +/* 802777EC 0027474C C0 41 01 C0 */ lfs f2, 0x1c0(r1) +/* 802777F0 00274750 38 9D 00 34 */ addi r4, r29, 0x34 +/* 802777F4 00274754 C0 21 01 D0 */ lfs f1, 0x1d0(r1) +/* 802777F8 00274758 C0 02 BC B4 */ lfs f0, lbl_805AD9D4@sda21(r2) +/* 802777FC 0027475C D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80277800 00274760 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80277804 00274764 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80277808 00274768 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8027780C 0027476C D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 80277810 00274770 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80277814 00274774 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 80277818 00274778 D3 C1 00 3C */ stfs f30, 0x3c(r1) +/* 8027781C 0027477C D3 A1 00 40 */ stfs f29, 0x40(r1) +/* 80277820 00274780 D3 81 00 44 */ stfs f28, 0x44(r1) +/* 80277824 00274784 48 09 A9 05 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80277828 00274788 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027782C 0027478C 38 81 00 3C */ addi r4, r1, 0x3c +/* 80277830 00274790 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80277834 00274794 38 C1 00 0C */ addi r6, r1, 0xc +/* 80277838 00274798 48 09 9E 5D */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 8027783C 0027479C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80277840 002747A0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80277844 002747A4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80277848 002747A8 48 09 99 59 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8027784C 002747AC 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80277850 002747B0 38 81 00 58 */ addi r4, r1, 0x58 +/* 80277854 002747B4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80277858 002747B8 48 09 A6 65 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 8027785C 002747BC 38 61 01 74 */ addi r3, r1, 0x174 +/* 80277860 002747C0 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80277864 002747C4 48 09 B2 DD */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80277868: +/* 80277868 002747C8 7F E3 FB 78 */ mr r3, r31 +/* 8027786C 002747CC FC 20 F8 90 */ fmr f1, f31 +/* 80277870 002747D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80277874 002747D4 7F C5 F3 78 */ mr r5, r30 +/* 80277878 002747D8 38 81 01 74 */ addi r4, r1, 0x174 +/* 8027787C 002747DC 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80277880 002747E0 7D 89 03 A6 */ mtctr r12 +/* 80277884 002747E4 4E 80 04 21 */ bctrl +lbl_80277888: +/* 80277888 002747E8 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 8027788C 002747EC CB E1 02 20 */ lfd f31, 0x220(r1) +/* 80277890 002747F0 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 80277894 002747F4 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 80277898 002747F8 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 8027789C 002747FC CB A1 02 00 */ lfd f29, 0x200(r1) +/* 802778A0 00274800 E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 +/* 802778A4 00274804 CB 81 01 F0 */ lfd f28, 0x1f0(r1) +/* 802778A8 00274808 83 E1 01 EC */ lwz r31, 0x1ec(r1) +/* 802778AC 0027480C 83 C1 01 E8 */ lwz r30, 0x1e8(r1) +/* 802778B0 00274810 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802778B4 00274814 83 A1 01 E4 */ lwz r29, 0x1e4(r1) +/* 802778B8 00274818 7C 08 03 A6 */ mtlr r0 +/* 802778BC 0027481C 38 21 02 30 */ addi r1, r1, 0x230 +/* 802778C0 00274820 4E 80 00 20 */ blr + +.global sub_802778c4 +sub_802778c4: +/* 802778C4 00274824 94 21 F7 00 */ stwu r1, -0x900(r1) +/* 802778C8 00274828 7C 08 02 A6 */ mflr r0 +/* 802778CC 0027482C 90 01 09 04 */ stw r0, 0x904(r1) +/* 802778D0 00274830 DB E1 08 F0 */ stfd f31, 0x8f0(r1) +/* 802778D4 00274834 F3 E1 08 F8 */ psq_st f31, -1800(r1), 0, qr0 +/* 802778D8 00274838 DB C1 08 E0 */ stfd f30, 0x8e0(r1) +/* 802778DC 0027483C F3 C1 08 E8 */ psq_st f30, -1816(r1), 0, qr0 +/* 802778E0 00274840 DB A1 08 D0 */ stfd f29, 0x8d0(r1) +/* 802778E4 00274844 F3 A1 08 D8 */ psq_st f29, -1832(r1), 0, qr0 +/* 802778E8 00274848 BF 61 08 BC */ stmw r27, 0x8bc(r1) +/* 802778EC 0027484C 88 0D A5 80 */ lbz r0, lbl_805A9140@sda21(r13) +/* 802778F0 00274850 7C 7D 1B 78 */ mr r29, r3 +/* 802778F4 00274854 7C 9E 23 78 */ mr r30, r4 +/* 802778F8 00274858 7C BF 2B 78 */ mr r31, r5 +/* 802778FC 0027485C 7C 00 07 75 */ extsb. r0, r0 +/* 80277900 00274860 40 82 00 88 */ bne lbl_80277988 +/* 80277904 00274864 80 AD 98 90 */ lwz r5, lbl_805A8450@sda21(r13) +/* 80277908 00274868 38 60 00 00 */ li r3, 0 +/* 8027790C 0027486C 38 80 00 01 */ li r4, 1 +/* 80277910 00274870 48 11 25 E5 */ bl __shl2i +/* 80277914 00274874 80 AD 98 94 */ lwz r5, lbl_805A8454@sda21(r13) +/* 80277918 00274878 7C 9B 23 78 */ mr r27, r4 +/* 8027791C 0027487C 7C 7C 1B 78 */ mr r28, r3 +/* 80277920 00274880 38 60 00 00 */ li r3, 0 +/* 80277924 00274884 38 80 00 01 */ li r4, 1 +/* 80277928 00274888 48 11 25 CD */ bl __shl2i +/* 8027792C 0027488C 80 AD 98 98 */ lwz r5, lbl_805A8458@sda21(r13) +/* 80277930 00274890 7F 7B 23 78 */ or r27, r27, r4 +/* 80277934 00274894 7F 9C 1B 78 */ or r28, r28, r3 +/* 80277938 00274898 38 60 00 00 */ li r3, 0 +/* 8027793C 0027489C 38 80 00 01 */ li r4, 1 +/* 80277940 002748A0 48 11 25 B5 */ bl __shl2i +/* 80277944 002748A4 80 AD 98 8C */ lwz r5, lbl_805A844C@sda21(r13) +/* 80277948 002748A8 7F 7B 23 78 */ or r27, r27, r4 +/* 8027794C 002748AC 7F 9C 1B 78 */ or r28, r28, r3 +/* 80277950 002748B0 38 60 00 00 */ li r3, 0 +/* 80277954 002748B4 38 80 00 01 */ li r4, 1 +/* 80277958 002748B8 48 11 25 9D */ bl __shl2i +/* 8027795C 002748BC 3C A0 80 47 */ lis r5, lbl_8046E0C0@ha +/* 80277960 002748C0 38 C0 00 03 */ li r6, 3 +/* 80277964 002748C4 38 A5 E0 C0 */ addi r5, r5, lbl_8046E0C0@l +/* 80277968 002748C8 38 00 00 01 */ li r0, 1 +/* 8027796C 002748CC 90 C1 00 40 */ stw r6, 0x40(r1) +/* 80277970 002748D0 90 85 00 04 */ stw r4, 4(r5) +/* 80277974 002748D4 90 65 00 00 */ stw r3, 0(r5) +/* 80277978 002748D8 93 65 00 0C */ stw r27, 0xc(r5) +/* 8027797C 002748DC 93 85 00 08 */ stw r28, 8(r5) +/* 80277980 002748E0 90 C5 00 10 */ stw r6, 0x10(r5) +/* 80277984 002748E4 98 0D A5 80 */ stb r0, lbl_805A9140@sda21(r13) +lbl_80277988: +/* 80277988 002748E8 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8027798C 002748EC 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80277990 002748F0 38 E3 67 00 */ addi r7, r3, lbl_805A6700@l +/* 80277994 002748F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80277998 002748F8 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 8027799C 002748FC 38 C0 00 00 */ li r6, 0 +/* 802779A0 00274900 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 802779A4 00274904 7F E5 FB 78 */ mr r5, r31 +/* 802779A8 00274908 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 802779AC 0027490C 38 61 00 0C */ addi r3, r1, 0xc +/* 802779B0 00274910 C0 67 00 00 */ lfs f3, 0(r7) +/* 802779B4 00274914 C0 47 00 04 */ lfs f2, 4(r7) +/* 802779B8 00274918 C0 07 00 08 */ lfs f0, 8(r7) +/* 802779BC 0027491C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802779C0 00274920 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 802779C4 00274924 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802779C8 00274928 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802779CC 0027492C D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802779D0 00274930 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802779D4 00274934 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802779D8 00274938 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 802779DC 0027493C B0 01 00 08 */ sth r0, 8(r1) +/* 802779E0 00274940 81 84 00 00 */ lwz r12, 0(r4) +/* 802779E4 00274944 C3 A4 00 60 */ lfs f29, 0x60(r4) +/* 802779E8 00274948 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 802779EC 0027494C C3 C4 00 50 */ lfs f30, 0x50(r4) +/* 802779F0 00274950 C3 E4 00 40 */ lfs f31, 0x40(r4) +/* 802779F4 00274954 7D 89 03 A6 */ mtctr r12 +/* 802779F8 00274958 4E 80 04 21 */ bctrl +/* 802779FC 0027495C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80277A00 00274960 3C 60 80 47 */ lis r3, lbl_8046E0C0@ha +/* 80277A04 00274964 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80277A08 00274968 38 E3 E0 C0 */ addi r7, r3, lbl_8046E0C0@l +/* 80277A0C 0027496C EC 60 E8 2A */ fadds f3, f0, f29 +/* 80277A10 00274970 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80277A14 00274974 EC 41 F8 2A */ fadds f2, f1, f31 +/* 80277A18 00274978 C0 82 BC 80 */ lfs f4, lbl_805AD9A0@sda21(r2) +/* 80277A1C 0027497C EC 00 F0 2A */ fadds f0, f0, f30 +/* 80277A20 00274980 C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) +/* 80277A24 00274984 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 80277A28 00274988 7F E3 FB 78 */ mr r3, r31 +/* 80277A2C 0027498C EF A4 00 B2 */ fmuls f29, f4, f2 +/* 80277A30 00274990 7F C8 F3 78 */ mr r8, r30 +/* 80277A34 00274994 EF C4 00 32 */ fmuls f30, f4, f0 +/* 80277A38 00274998 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80277A3C 0027499C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80277A40 002749A0 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80277A44 002749A4 4B DD 4C 95 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +/* 80277A48 002749A8 3C 60 80 47 */ lis r3, lbl_8046E0C0@ha +/* 80277A4C 002749AC C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) +/* 80277A50 002749B0 39 03 E0 C0 */ addi r8, r3, lbl_8046E0C0@l +/* 80277A54 002749B4 7F E4 FB 78 */ mr r4, r31 +/* 80277A58 002749B8 38 61 00 48 */ addi r3, r1, 0x48 +/* 80277A5C 002749BC 38 A1 00 08 */ addi r5, r1, 8 +/* 80277A60 002749C0 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80277A64 002749C4 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80277A68 002749C8 39 21 00 A8 */ addi r9, r1, 0xa8 +/* 80277A6C 002749CC 4B DD 55 59 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80277A70 002749D0 88 81 00 68 */ lbz r4, 0x68(r1) +/* 80277A74 002749D4 C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 80277A78 002749D8 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 80277A7C 002749DC 28 04 00 00 */ cmplwi r4, 0 +/* 80277A80 002749E0 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 80277A84 002749E4 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 80277A88 002749E8 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 80277A8C 002749EC C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80277A90 002749F0 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80277A94 002749F4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80277A98 002749F8 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80277A9C 002749FC 80 61 00 74 */ lwz r3, 0x74(r1) +/* 80277AA0 00274A00 D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 80277AA4 00274A04 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 80277AA8 00274A08 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 80277AAC 00274A0C D0 81 00 84 */ stfs f4, 0x84(r1) +/* 80277AB0 00274A10 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 80277AB4 00274A14 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80277AB8 00274A18 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80277ABC 00274A1C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80277AC0 00274A20 98 81 00 98 */ stb r4, 0x98(r1) +/* 80277AC4 00274A24 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 80277AC8 00274A28 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80277ACC 00274A2C 41 82 00 1C */ beq lbl_80277AE8 +/* 80277AD0 00274A30 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80277AD4 00274A34 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80277AD8 00274A38 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 80277ADC 00274A3C EF A6 08 2A */ fadds f29, f6, f1 +/* 80277AE0 00274A40 EF C5 08 2A */ fadds f30, f5, f1 +/* 80277AE4 00274A44 EF E4 00 2A */ fadds f31, f4, f0 +lbl_80277AE8: +/* 80277AE8 00274A48 D3 BD 00 00 */ stfs f29, 0(r29) +/* 80277AEC 00274A4C 38 60 00 00 */ li r3, 0 +/* 80277AF0 00274A50 D3 DD 00 04 */ stfs f30, 4(r29) +/* 80277AF4 00274A54 D3 FD 00 08 */ stfs f31, 8(r29) +/* 80277AF8 00274A58 80 A1 00 A8 */ lwz r5, 0xa8(r1) +/* 80277AFC 00274A5C 2C 05 00 00 */ cmpwi r5, 0 +/* 80277B00 00274A60 40 81 00 40 */ ble lbl_80277B40 +/* 80277B04 00274A64 2C 05 00 08 */ cmpwi r5, 8 +/* 80277B08 00274A68 38 85 FF F8 */ addi r4, r5, -8 +/* 80277B0C 00274A6C 40 81 00 20 */ ble lbl_80277B2C +/* 80277B10 00274A70 38 04 00 07 */ addi r0, r4, 7 +/* 80277B14 00274A74 54 00 E8 FE */ srwi r0, r0, 3 +/* 80277B18 00274A78 7C 09 03 A6 */ mtctr r0 +/* 80277B1C 00274A7C 2C 04 00 00 */ cmpwi r4, 0 +/* 80277B20 00274A80 40 81 00 0C */ ble lbl_80277B2C +lbl_80277B24: +/* 80277B24 00274A84 38 63 00 08 */ addi r3, r3, 8 +/* 80277B28 00274A88 42 00 FF FC */ bdnz lbl_80277B24 +lbl_80277B2C: +/* 80277B2C 00274A8C 7C 03 28 50 */ subf r0, r3, r5 +/* 80277B30 00274A90 7C 09 03 A6 */ mtctr r0 +/* 80277B34 00274A94 7C 03 28 00 */ cmpw r3, r5 +/* 80277B38 00274A98 40 80 00 08 */ bge lbl_80277B40 +lbl_80277B3C: +/* 80277B3C 00274A9C 42 00 00 00 */ bdnz lbl_80277B3C +lbl_80277B40: +/* 80277B40 00274AA0 38 00 00 00 */ li r0, 0 +/* 80277B44 00274AA4 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80277B48 00274AA8 E3 E1 08 F8 */ psq_l f31, -1800(r1), 0, qr0 +/* 80277B4C 00274AAC CB E1 08 F0 */ lfd f31, 0x8f0(r1) +/* 80277B50 00274AB0 E3 C1 08 E8 */ psq_l f30, -1816(r1), 0, qr0 +/* 80277B54 00274AB4 CB C1 08 E0 */ lfd f30, 0x8e0(r1) +/* 80277B58 00274AB8 E3 A1 08 D8 */ psq_l f29, -1832(r1), 0, qr0 +/* 80277B5C 00274ABC CB A1 08 D0 */ lfd f29, 0x8d0(r1) +/* 80277B60 00274AC0 BB 61 08 BC */ lmw r27, 0x8bc(r1) +/* 80277B64 00274AC4 80 01 09 04 */ lwz r0, 0x904(r1) +/* 80277B68 00274AC8 7C 08 03 A6 */ mtlr r0 +/* 80277B6C 00274ACC 38 21 09 00 */ addi r1, r1, 0x900 +/* 80277B70 00274AD0 4E 80 00 20 */ blr + +.global sub_80277b74 +sub_80277b74: +/* 80277B74 00274AD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80277B78 00274AD8 7C 08 02 A6 */ mflr r0 +/* 80277B7C 00274ADC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80277B80 00274AE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80277B84 00274AE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80277B88 00274AE8 3B C0 00 00 */ li r30, 0 +/* 80277B8C 00274AEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80277B90 00274AF0 7C 9D 23 78 */ mr r29, r4 +/* 80277B94 00274AF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80277B98 00274AF8 7C 7C 1B 78 */ mr r28, r3 +/* 80277B9C 00274AFC 3B FC 0B 28 */ addi r31, r28, 0xb28 +/* 80277BA0 00274B00 48 00 00 38 */ b lbl_80277BD8 +lbl_80277BA4: +/* 80277BA4 00274B04 A0 7F 00 00 */ lhz r3, 0(r31) +/* 80277BA8 00274B08 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80277BAC 00274B0C 7C 03 00 40 */ cmplw r3, r0 +/* 80277BB0 00274B10 41 82 00 20 */ beq lbl_80277BD0 +/* 80277BB4 00274B14 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80277BB8 00274B18 7F A3 EB 78 */ mr r3, r29 +/* 80277BBC 00274B1C 38 81 00 08 */ addi r4, r1, 8 +/* 80277BC0 00274B20 B0 01 00 08 */ sth r0, 8(r1) +/* 80277BC4 00274B24 4B DD 46 A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80277BC8 00274B28 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80277BCC 00274B2C B0 1F 00 00 */ sth r0, 0(r31) +lbl_80277BD0: +/* 80277BD0 00274B30 3B FF 00 02 */ addi r31, r31, 2 +/* 80277BD4 00274B34 3B DE 00 01 */ addi r30, r30, 1 +lbl_80277BD8: +/* 80277BD8 00274B38 80 1C 09 6C */ lwz r0, 0x96c(r28) +/* 80277BDC 00274B3C 7C 1E 00 00 */ cmpw r30, r0 +/* 80277BE0 00274B40 41 80 FF C4 */ blt lbl_80277BA4 +/* 80277BE4 00274B44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80277BE8 00274B48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80277BEC 00274B4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80277BF0 00274B50 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80277BF4 00274B54 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80277BF8 00274B58 7C 08 03 A6 */ mtlr r0 +/* 80277BFC 00274B5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80277C00 00274B60 4E 80 00 20 */ blr + +.global sub_80277c04 +sub_80277c04: +/* 80277C04 00274B64 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80277C08 00274B68 7C 08 02 A6 */ mflr r0 +/* 80277C0C 00274B6C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80277C10 00274B70 BE 81 00 80 */ stmw r20, 0x80(r1) +/* 80277C14 00274B74 7C 74 1B 78 */ mr r20, r3 +/* 80277C18 00274B78 7C 95 23 78 */ mr r21, r4 +/* 80277C1C 00274B7C 38 80 00 00 */ li r4, 0 +/* 80277C20 00274B80 80 63 0C 54 */ lwz r3, 0xc54(r3) +/* 80277C24 00274B84 81 83 00 00 */ lwz r12, 0(r3) +/* 80277C28 00274B88 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80277C2C 00274B8C 7D 89 03 A6 */ mtctr r12 +/* 80277C30 00274B90 4E 80 04 21 */ bctrl +/* 80277C34 00274B94 80 74 00 64 */ lwz r3, 0x64(r20) +/* 80277C38 00274B98 38 81 00 50 */ addi r4, r1, 0x50 +/* 80277C3C 00274B9C C0 03 00 00 */ lfs f0, 0(r3) +/* 80277C40 00274BA0 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80277C44 00274BA4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80277C48 00274BA8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80277C4C 00274BAC C0 03 00 08 */ lfs f0, 8(r3) +/* 80277C50 00274BB0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80277C54 00274BB4 80 74 0C 54 */ lwz r3, 0xc54(r20) +/* 80277C58 00274BB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80277C5C 00274BBC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80277C60 00274BC0 7D 89 03 A6 */ mtctr r12 +/* 80277C64 00274BC4 4E 80 04 21 */ bctrl +/* 80277C68 00274BC8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80277C6C 00274BCC 3B 74 0B 28 */ addi r27, r20, 0xb28 +/* 80277C70 00274BD0 3B 54 0A 84 */ addi r26, r20, 0xa84 +/* 80277C74 00274BD4 3B 34 0B 34 */ addi r25, r20, 0xb34 +/* 80277C78 00274BD8 3B 14 09 70 */ addi r24, r20, 0x970 +/* 80277C7C 00274BDC 3A F4 0B C8 */ addi r23, r20, 0xbc8 +/* 80277C80 00274BE0 3B C3 56 18 */ addi r30, r3, lbl_803D5618@l +/* 80277C84 00274BE4 3A C0 00 00 */ li r22, 0 +/* 80277C88 00274BE8 48 00 01 88 */ b lbl_80277E10 +lbl_80277C8C: +/* 80277C8C 00274BEC 7E A4 AB 78 */ mr r4, r21 +/* 80277C90 00274BF0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80277C94 00274BF4 4B DD 54 49 */ bl AllocateUniqueId__13CStateManagerFv +/* 80277C98 00274BF8 A0 61 00 2C */ lhz r3, 0x2c(r1) +/* 80277C9C 00274BFC 38 A0 00 00 */ li r5, 0 +/* 80277CA0 00274C00 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 80277CA4 00274C04 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80277CA8 00274C08 B0 7B 00 00 */ sth r3, 0(r27) +/* 80277CAC 00274C0C 38 E0 00 0A */ li r7, 0xa +/* 80277CB0 00274C10 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 80277CB4 00274C14 38 60 00 01 */ li r3, 1 +/* 80277CB8 00274C18 98 01 00 3C */ stb r0, 0x3c(r1) +/* 80277CBC 00274C1C 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 +/* 80277CC0 00274C20 88 01 00 74 */ lbz r0, 0x74(r1) +/* 80277CC4 00274C24 54 86 06 3E */ clrlwi r6, r4, 0x18 +/* 80277CC8 00274C28 98 81 00 3C */ stb r4, 0x3c(r1) +/* 80277CCC 00274C2C 50 A6 2E B4 */ rlwimi r6, r5, 5, 0x1a, 0x1a +/* 80277CD0 00274C30 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80277CD4 00274C34 C0 1A 00 20 */ lfs f0, 0x20(r26) +/* 80277CD8 00274C38 C0 3A 00 1C */ lfs f1, 0x1c(r26) +/* 80277CDC 00274C3C 38 9E 02 20 */ addi r4, r30, 0x220 +/* 80277CE0 00274C40 C0 5A 00 14 */ lfs f2, 0x14(r26) +/* 80277CE4 00274C44 3B 80 00 00 */ li r28, 0 +/* 80277CE8 00274C48 90 E1 00 38 */ stw r7, 0x38(r1) +/* 80277CEC 00274C4C 38 60 05 50 */ li r3, 0x550 +/* 80277CF0 00274C50 38 A0 00 00 */ li r5, 0 +/* 80277CF4 00274C54 98 C1 00 3C */ stb r6, 0x3c(r1) +/* 80277CF8 00274C58 90 E1 00 5C */ stw r7, 0x5c(r1) +/* 80277CFC 00274C5C 98 C1 00 60 */ stb r6, 0x60(r1) +/* 80277D00 00274C60 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80277D04 00274C64 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80277D08 00274C68 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80277D0C 00274C6C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80277D10 00274C70 98 01 00 74 */ stb r0, 0x74(r1) +/* 80277D14 00274C74 48 09 DB 59 */ bl __nw__FUlPCcPCc +/* 80277D18 00274C78 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80277D1C 00274C7C 41 82 00 AC */ beq lbl_80277DC8 +/* 80277D20 00274C80 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 80277D24 00274C84 3C 60 00 01 */ lis r3, 0x00008000@ha +/* 80277D28 00274C88 3B E3 80 00 */ addi r31, r3, 0x00008000@l +/* 80277D2C 00274C8C 2C 00 00 01 */ cmpwi r0, 1 +/* 80277D30 00274C90 40 82 00 08 */ bne lbl_80277D38 +/* 80277D34 00274C94 3B E0 00 00 */ li r31, 0 +lbl_80277D38: +/* 80277D38 00274C98 A0 14 00 08 */ lhz r0, 8(r20) +/* 80277D3C 00274C9C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80277D40 00274CA0 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 80277D44 00274CA4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80277D48 00274CA8 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80277D4C 00274CAC 38 84 02 27 */ addi r4, r4, 0x227 +/* 80277D50 00274CB0 80 B4 00 04 */ lwz r5, 4(r20) +/* 80277D54 00274CB4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80277D58 00274CB8 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80277D5C 00274CBC A0 1B 00 00 */ lhz r0, 0(r27) +/* 80277D60 00274CC0 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80277D64 00274CC4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80277D68 00274CC8 83 9A 00 0C */ lwz r28, 0xc(r26) +/* 80277D6C 00274CCC 4B D8 CF 4D */ bl string_l__4rstlFPCc +/* 80277D70 00274CD0 38 01 00 20 */ addi r0, r1, 0x20 +/* 80277D74 00274CD4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80277D78 00274CD8 90 01 00 08 */ stw r0, 8(r1) +/* 80277D7C 00274CDC 38 01 00 34 */ addi r0, r1, 0x34 +/* 80277D80 00274CE0 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80277D84 00274CE4 7F 86 E3 78 */ mr r6, r28 +/* 80277D88 00274CE8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80277D8C 00274CEC 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80277D90 00274CF0 38 00 00 01 */ li r0, 1 +/* 80277D94 00274CF4 7F A3 EB 78 */ mr r3, r29 +/* 80277D98 00274CF8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80277D9C 00274CFC 7F 44 D3 78 */ mr r4, r26 +/* 80277DA0 00274D00 7F 07 C3 78 */ mr r7, r24 +/* 80277DA4 00274D04 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80277DA8 00274D08 93 21 00 14 */ stw r25, 0x14(r1) +/* 80277DAC 00274D0C 39 41 00 5C */ addi r10, r1, 0x5c +/* 80277DB0 00274D10 3B 80 00 01 */ li r28, 1 +/* 80277DB4 00274D14 39 20 00 21 */ li r9, 0x21 +/* 80277DB8 00274D18 90 01 00 18 */ stw r0, 0x18(r1) +/* 80277DBC 00274D1C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80277DC0 00274D20 4B F0 0E 69 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" +/* 80277DC4 00274D24 7C 7D 1B 78 */ mr r29, r3 +lbl_80277DC8: +/* 80277DC8 00274D28 7F 80 07 75 */ extsb. r0, r28 +/* 80277DCC 00274D2C 7F BC EB 78 */ mr r28, r29 +/* 80277DD0 00274D30 41 82 00 0C */ beq lbl_80277DDC +/* 80277DD4 00274D34 38 61 00 40 */ addi r3, r1, 0x40 +/* 80277DD8 00274D38 48 0C 5D 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80277DDC: +/* 80277DDC 00274D3C C0 37 00 00 */ lfs f1, 0(r23) +/* 80277DE0 00274D40 7F 83 E3 78 */ mr r3, r28 +/* 80277DE4 00274D44 38 97 00 04 */ addi r4, r23, 4 +/* 80277DE8 00274D48 4B EF F0 4D */ bl sub_80176e34 +/* 80277DEC 00274D4C 7E A3 AB 78 */ mr r3, r21 +/* 80277DF0 00274D50 7F 84 E3 78 */ mr r4, r28 +/* 80277DF4 00274D54 4B DD 4D 21 */ bl AddObject__13CStateManagerFR7CEntity +/* 80277DF8 00274D58 3B 7B 00 02 */ addi r27, r27, 2 +/* 80277DFC 00274D5C 3B 5A 00 28 */ addi r26, r26, 0x28 +/* 80277E00 00274D60 3B 39 00 24 */ addi r25, r25, 0x24 +/* 80277E04 00274D64 3B 18 00 44 */ addi r24, r24, 0x44 +/* 80277E08 00274D68 3A F7 00 20 */ addi r23, r23, 0x20 +/* 80277E0C 00274D6C 3A D6 00 01 */ addi r22, r22, 1 +lbl_80277E10: +/* 80277E10 00274D70 80 14 09 6C */ lwz r0, 0x96c(r20) +/* 80277E14 00274D74 7C 16 00 00 */ cmpw r22, r0 +/* 80277E18 00274D78 41 80 FE 74 */ blt lbl_80277C8C +/* 80277E1C 00274D7C BA 81 00 80 */ lmw r20, 0x80(r1) +/* 80277E20 00274D80 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80277E24 00274D84 7C 08 03 A6 */ mtlr r0 +/* 80277E28 00274D88 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80277E2C 00274D8C 4E 80 00 20 */ blr + +.global sub_80277e30 +sub_80277e30: +/* 80277E30 00274D90 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80277E34 00274D94 7C 08 02 A6 */ mflr r0 +/* 80277E38 00274D98 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80277E3C 00274D9C 93 E1 00 EC */ stw r31, 0xec(r1) +/* 80277E40 00274DA0 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 80277E44 00274DA4 7C 9E 23 78 */ mr r30, r4 +/* 80277E48 00274DA8 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 80277E4C 00274DAC 7C 7D 1B 78 */ mr r29, r3 +/* 80277E50 00274DB0 80 83 00 64 */ lwz r4, 0x64(r3) +/* 80277E54 00274DB4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80277E58 00274DB8 83 FE 08 4C */ lwz r31, 0x84c(r30) +/* 80277E5C 00274DBC C0 04 00 00 */ lfs f0, 0(r4) +/* 80277E60 00274DC0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80277E64 00274DC4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80277E68 00274DC8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80277E6C 00274DCC C0 04 00 08 */ lfs f0, 8(r4) +/* 80277E70 00274DD0 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80277E74 00274DD4 48 09 CA 45 */ bl Magnitude__9CVector3fCFv +/* 80277E78 00274DD8 C0 02 BC 3C */ lfs f0, lbl_805AD95C@sda21(r2) +/* 80277E7C 00274DDC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80277E80 00274DE0 C1 3D 00 60 */ lfs f9, 0x60(r29) +/* 80277E84 00274DE4 38 81 00 5C */ addi r4, r1, 0x5c +/* 80277E88 00274DE8 EC A0 00 72 */ fmuls f5, f0, f1 +/* 80277E8C 00274DEC C1 1D 00 50 */ lfs f8, 0x50(r29) +/* 80277E90 00274DF0 C0 22 BC BC */ lfs f1, lbl_805AD9DC@sda21(r2) +/* 80277E94 00274DF4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80277E98 00274DF8 C0 02 BC C0 */ lfs f0, lbl_805AD9E0@sda21(r2) +/* 80277E9C 00274DFC EC 45 00 72 */ fmuls f2, f5, f1 +/* 80277EA0 00274E00 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 80277EA4 00274E04 EC 85 00 32 */ fmuls f4, f5, f0 +/* 80277EA8 00274E08 C0 22 BC C4 */ lfs f1, lbl_805AD9E4@sda21(r2) +/* 80277EAC 00274E0C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 80277EB0 00274E10 EC E8 10 2A */ fadds f7, f8, f2 +/* 80277EB4 00274E14 ED 45 00 72 */ fmuls f10, f5, f1 +/* 80277EB8 00274E18 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80277EBC 00274E1C EC 25 00 32 */ fmuls f1, f5, f0 +/* 80277EC0 00274E20 EC C9 20 2A */ fadds f6, f9, f4 +/* 80277EC4 00274E24 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80277EC8 00274E28 EC 43 10 2A */ fadds f2, f3, f2 +/* 80277ECC 00274E2C EC A8 50 2A */ fadds f5, f8, f10 +/* 80277ED0 00274E30 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80277ED4 00274E34 EC 89 08 2A */ fadds f4, f9, f1 +/* 80277ED8 00274E38 EC 03 50 2A */ fadds f0, f3, f10 +/* 80277EDC 00274E3C D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80277EE0 00274E40 D1 01 00 30 */ stfs f8, 0x30(r1) +/* 80277EE4 00274E44 D1 21 00 34 */ stfs f9, 0x34(r1) +/* 80277EE8 00274E48 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80277EEC 00274E4C D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 80277EF0 00274E50 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 80277EF4 00274E54 D1 41 00 44 */ stfs f10, 0x44(r1) +/* 80277EF8 00274E58 D1 41 00 48 */ stfs f10, 0x48(r1) +/* 80277EFC 00274E5C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80277F00 00274E60 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80277F04 00274E64 D1 01 00 54 */ stfs f8, 0x54(r1) +/* 80277F08 00274E68 D1 21 00 58 */ stfs f9, 0x58(r1) +/* 80277F0C 00274E6C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80277F10 00274E70 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 80277F14 00274E74 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80277F18 00274E78 48 0C 05 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80277F1C 00274E7C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80277F20 00274E80 7F E4 FB 78 */ mr r4, r31 +/* 80277F24 00274E84 38 61 00 AC */ addi r3, r1, 0xac +/* 80277F28 00274E88 D0 1D 08 F8 */ stfs f0, 0x8f8(r29) +/* 80277F2C 00274E8C C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80277F30 00274E90 D0 1D 08 FC */ stfs f0, 0x8fc(r29) +/* 80277F34 00274E94 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 80277F38 00274E98 D0 1D 09 00 */ stfs f0, 0x900(r29) +/* 80277F3C 00274E9C C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80277F40 00274EA0 D0 1D 09 04 */ stfs f0, 0x904(r29) +/* 80277F44 00274EA4 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80277F48 00274EA8 D0 1D 09 08 */ stfs f0, 0x908(r29) +/* 80277F4C 00274EAC C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80277F50 00274EB0 D0 1D 09 0C */ stfs f0, 0x90c(r29) +/* 80277F54 00274EB4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80277F58 00274EB8 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80277F5C 00274EBC 7D 89 03 A6 */ mtctr r12 +/* 80277F60 00274EC0 4E 80 04 21 */ bctrl +/* 80277F64 00274EC4 38 61 00 AC */ addi r3, r1, 0xac +/* 80277F68 00274EC8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80277F6C 00274ECC 48 0B FC 19 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 80277F70 00274ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80277F74 00274ED4 38 60 00 00 */ li r3, 0 +/* 80277F78 00274ED8 98 61 00 C4 */ stb r3, 0xc4(r1) +/* 80277F7C 00274EDC 41 82 00 AC */ beq lbl_80278028 +/* 80277F80 00274EE0 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80277F84 00274EE4 C0 1D 04 20 */ lfs f0, 0x420(r29) +/* 80277F88 00274EE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80277F8C 00274EEC 4C 41 13 82 */ cror 2, 1, 2 +/* 80277F90 00274EF0 40 82 00 98 */ bne lbl_80278028 +/* 80277F94 00274EF4 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 80277F98 00274EF8 38 60 00 00 */ li r3, 0 +/* 80277F9C 00274EFC 38 80 00 01 */ li r4, 1 +/* 80277FA0 00274F00 48 11 1F 55 */ bl __shl2i +/* 80277FA4 00274F04 38 A0 00 00 */ li r5, 0 +/* 80277FA8 00274F08 38 00 00 03 */ li r0, 3 +/* 80277FAC 00274F0C 90 81 00 7C */ stw r4, 0x7c(r1) +/* 80277FB0 00274F10 7F A4 EB 78 */ mr r4, r29 +/* 80277FB4 00274F14 90 61 00 78 */ stw r3, 0x78(r1) +/* 80277FB8 00274F18 38 61 00 90 */ addi r3, r1, 0x90 +/* 80277FBC 00274F1C 90 A1 00 84 */ stw r5, 0x84(r1) +/* 80277FC0 00274F20 90 A1 00 80 */ stw r5, 0x80(r1) +/* 80277FC4 00274F24 90 01 00 88 */ stw r0, 0x88(r1) +/* 80277FC8 00274F28 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80277FCC 00274F2C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80277FD0 00274F30 A0 BF 00 08 */ lhz r5, 8(r31) +/* 80277FD4 00274F34 B0 01 00 08 */ sth r0, 8(r1) +/* 80277FD8 00274F38 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80277FDC 00274F3C A0 1D 00 08 */ lhz r0, 8(r29) +/* 80277FE0 00274F40 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 80277FE4 00274F44 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80277FE8 00274F48 81 9D 00 00 */ lwz r12, 0(r29) +/* 80277FEC 00274F4C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80277FF0 00274F50 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80277FF4 00274F54 7D 89 03 A6 */ mtctr r12 +/* 80277FF8 00274F58 4E 80 04 21 */ bctrl +/* 80277FFC 00274F5C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278000 00274F60 7F C3 F3 78 */ mr r3, r30 +/* 80278004 00274F64 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80278008 00274F68 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027800C 00274F6C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80278010 00274F70 38 C1 00 0C */ addi r6, r1, 0xc +/* 80278014 00274F74 38 E1 00 90 */ addi r7, r1, 0x90 +/* 80278018 00274F78 39 01 00 78 */ addi r8, r1, 0x78 +/* 8027801C 00274F7C 4B DD 20 85 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80278020 00274F80 C0 1D 04 24 */ lfs f0, 0x424(r29) +/* 80278024 00274F84 D0 1D 04 20 */ stfs f0, 0x420(r29) +lbl_80278028: +/* 80278028 00274F88 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8027802C 00274F8C 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 80278030 00274F90 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 80278034 00274F94 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 80278038 00274F98 7C 08 03 A6 */ mtlr r0 +/* 8027803C 00274F9C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80278040 00274FA0 4E 80 00 20 */ blr + +.global sub_80278044 +sub_80278044: +/* 80278044 00274FA4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80278048 00274FA8 7C 08 02 A6 */ mflr r0 +/* 8027804C 00274FAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80278050 00274FB0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80278054 00274FB4 7C 9F 23 78 */ mr r31, r4 +/* 80278058 00274FB8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027805C 00274FBC 7C 7E 1B 78 */ mr r30, r3 +/* 80278060 00274FC0 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 80278064 00274FC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80278068 00274FC8 41 82 00 B0 */ beq lbl_80278118 +/* 8027806C 00274FCC C0 7E 08 E4 */ lfs f3, 0x8e4(r30) +/* 80278070 00274FD0 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80278074 00274FD4 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80278078 00274FD8 40 80 00 54 */ bge lbl_802780CC +/* 8027807C 00274FDC C0 42 BC 68 */ lfs f2, lbl_805AD988@sda21(r2) +/* 80278080 00274FE0 C0 0D 98 88 */ lfs f0, lbl_805A8448@sda21(r13) +/* 80278084 00274FE4 EC 21 10 24 */ fdivs f1, f1, f2 +/* 80278088 00274FE8 EC 23 08 2A */ fadds f1, f3, f1 +/* 8027808C 00274FEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278090 00274FF0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80278094 00274FF4 40 80 00 0C */ bge lbl_802780A0 +/* 80278098 00274FF8 38 61 00 0C */ addi r3, r1, 0xc +/* 8027809C 00274FFC 48 00 00 08 */ b lbl_802780A4 +lbl_802780A0: +/* 802780A0 00275000 38 6D 98 88 */ addi r3, r13, lbl_805A8448@sda21 +lbl_802780A4: +/* 802780A4 00275004 C0 03 00 00 */ lfs f0, 0(r3) +/* 802780A8 00275008 38 61 00 08 */ addi r3, r1, 8 +/* 802780AC 0027500C 38 9E 08 DC */ addi r4, r30, 0x8dc +/* 802780B0 00275010 38 BE 08 E0 */ addi r5, r30, 0x8e0 +/* 802780B4 00275014 D0 1E 08 E4 */ stfs f0, 0x8e4(r30) +/* 802780B8 00275018 C0 3E 08 E4 */ lfs f1, 0x8e4(r30) +/* 802780BC 0027501C 48 0E B1 F1 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 802780C0 00275020 80 01 00 08 */ lwz r0, 8(r1) +/* 802780C4 00275024 90 1E 08 D8 */ stw r0, 0x8d8(r30) +/* 802780C8 00275028 48 00 00 50 */ b lbl_80278118 +lbl_802780CC: +/* 802780CC 0027502C 80 1E 08 E0 */ lwz r0, 0x8e0(r30) +/* 802780D0 00275030 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 802780D4 00275034 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 802780D8 00275038 38 A0 00 00 */ li r5, 0 +/* 802780DC 0027503C 90 1E 08 D8 */ stw r0, 0x8d8(r30) +/* 802780E0 00275040 38 61 00 10 */ addi r3, r1, 0x10 +/* 802780E4 00275044 38 84 02 28 */ addi r4, r4, 0x228 +/* 802780E8 00275048 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 802780EC 0027504C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802780F0 00275050 98 1E 08 F4 */ stb r0, 0x8f4(r30) +/* 802780F4 00275054 4B D8 CB C5 */ bl string_l__4rstlFPCc +/* 802780F8 00275058 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 802780FC 0027505C 7F E6 FB 78 */ mr r6, r31 +/* 80278100 00275060 38 81 00 10 */ addi r4, r1, 0x10 +/* 80278104 00275064 38 A0 00 00 */ li r5, 0 +/* 80278108 00275068 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027810C 0027506C 4B DB 2C B5 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80278110 00275070 38 61 00 10 */ addi r3, r1, 0x10 +/* 80278114 00275074 48 0C 59 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80278118: +/* 80278118 00275078 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027811C 0027507C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80278120 00275080 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80278124 00275084 7C 08 03 A6 */ mtlr r0 +/* 80278128 00275088 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027812C 0027508C 4E 80 00 20 */ blr + +.global sub_80278130 +sub_80278130: +/* 80278130 00275090 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80278134 00275094 38 A0 00 01 */ li r5, 1 +/* 80278138 00275098 D0 03 08 E4 */ stfs f0, 0x8e4(r3) +/* 8027813C 0027509C 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 80278140 002750A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80278144 002750A4 98 03 08 F4 */ stb r0, 0x8f4(r3) +/* 80278148 002750A8 80 04 00 00 */ lwz r0, 0(r4) +/* 8027814C 002750AC 90 03 08 E0 */ stw r0, 0x8e0(r3) +/* 80278150 002750B0 80 03 08 D8 */ lwz r0, 0x8d8(r3) +/* 80278154 002750B4 90 03 08 DC */ stw r0, 0x8dc(r3) +/* 80278158 002750B8 4E 80 00 20 */ blr + +.global sub_8027815c +sub_8027815c: +/* 8027815C 002750BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80278160 002750C0 7C 08 02 A6 */ mflr r0 +/* 80278164 002750C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80278168 002750C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027816C 002750CC 7C 7F 1B 78 */ mr r31, r3 +/* 80278170 002750D0 80 03 08 E8 */ lwz r0, 0x8e8(r3) +/* 80278174 002750D4 2C 00 FF FF */ cmpwi r0, -1 +/* 80278178 002750D8 41 82 00 F0 */ beq lbl_80278268 +/* 8027817C 002750DC 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 80278180 002750E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80278184 002750E4 41 82 00 3C */ beq lbl_802781C0 +/* 80278188 002750E8 C0 7F 08 EC */ lfs f3, 0x8ec(r31) +/* 8027818C 002750EC C0 42 BC 30 */ lfs f2, lbl_805AD950@sda21(r2) +/* 80278190 002750F0 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80278194 002750F4 40 80 00 60 */ bge lbl_802781F4 +/* 80278198 002750F8 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 8027819C 002750FC EC 01 00 24 */ fdivs f0, f1, f0 +/* 802781A0 00275100 EC 03 00 2A */ fadds f0, f3, f0 +/* 802781A4 00275104 D0 1F 08 EC */ stfs f0, 0x8ec(r31) +/* 802781A8 00275108 C0 1F 08 EC */ lfs f0, 0x8ec(r31) +/* 802781AC 0027510C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802781B0 00275110 4C 41 13 82 */ cror 2, 1, 2 +/* 802781B4 00275114 40 82 00 40 */ bne lbl_802781F4 +/* 802781B8 00275118 D0 5F 08 EC */ stfs f2, 0x8ec(r31) +/* 802781BC 0027511C 48 00 00 38 */ b lbl_802781F4 +lbl_802781C0: +/* 802781C0 00275120 C0 7F 08 EC */ lfs f3, 0x8ec(r31) +/* 802781C4 00275124 C0 42 BC 08 */ lfs f2, lbl_805AD928@sda21(r2) +/* 802781C8 00275128 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 802781CC 0027512C 40 81 00 28 */ ble lbl_802781F4 +/* 802781D0 00275130 C0 02 BC 6C */ lfs f0, lbl_805AD98C@sda21(r2) +/* 802781D4 00275134 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802781D8 00275138 EC 03 00 28 */ fsubs f0, f3, f0 +/* 802781DC 0027513C D0 1F 08 EC */ stfs f0, 0x8ec(r31) +/* 802781E0 00275140 C0 1F 08 EC */ lfs f0, 0x8ec(r31) +/* 802781E4 00275144 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802781E8 00275148 4C 40 13 82 */ cror 2, 0, 2 +/* 802781EC 0027514C 40 82 00 08 */ bne lbl_802781F4 +/* 802781F0 00275150 D0 5F 08 EC */ stfs f2, 0x8ec(r31) +lbl_802781F4: +/* 802781F4 00275154 C0 3F 08 EC */ lfs f1, 0x8ec(r31) +/* 802781F8 00275158 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802781FC 0027515C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278200 00275160 41 81 00 10 */ bgt lbl_80278210 +/* 80278204 00275164 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 80278208 00275168 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8027820C 0027516C 41 82 00 5C */ beq lbl_80278268 +lbl_80278210: +/* 80278210 00275170 C0 02 BC 5C */ lfs f0, lbl_805AD97C@sda21(r2) +/* 80278214 00275174 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278218 00275178 40 81 00 30 */ ble lbl_80278248 +/* 8027821C 0027517C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80278220 00275180 38 A0 00 01 */ li r5, 1 +/* 80278224 00275184 80 9F 08 E8 */ lwz r4, 0x8e8(r31) +/* 80278228 00275188 38 C0 00 00 */ li r6, 0 +/* 8027822C 0027518C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278230 00275190 4B DB 1F A1 */ bl AddAdditiveAnimation__9CAnimDataFUifbb +/* 80278234 00275194 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 80278238 00275198 38 60 00 01 */ li r3, 1 +/* 8027823C 0027519C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80278240 002751A0 98 1F 08 F4 */ stb r0, 0x8f4(r31) +/* 80278244 002751A4 48 00 00 24 */ b lbl_80278268 +lbl_80278248: +/* 80278248 002751A8 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8027824C 002751AC 80 9F 08 E8 */ lwz r4, 0x8e8(r31) +/* 80278250 002751B0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278254 002751B4 4B DB 1F 05 */ bl DelAdditiveAnimation__9CAnimDataFUi +/* 80278258 002751B8 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 8027825C 002751BC 38 60 00 00 */ li r3, 0 +/* 80278260 002751C0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80278264 002751C4 98 1F 08 F4 */ stb r0, 0x8f4(r31) +lbl_80278268: +/* 80278268 002751C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027826C 002751CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80278270 002751D0 7C 08 03 A6 */ mtlr r0 +/* 80278274 002751D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80278278 002751D8 4E 80 00 20 */ blr + +.global sub_8027827c +sub_8027827c: +/* 8027827C 002751DC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80278280 002751E0 7C 08 02 A6 */ mflr r0 +/* 80278284 002751E4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80278288 002751E8 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 8027828C 002751EC 7C 7C 1B 78 */ mr r28, r3 +/* 80278290 002751F0 7C 9B 23 78 */ mr r27, r4 +/* 80278294 002751F4 7C BD 2B 78 */ mr r29, r5 +/* 80278298 002751F8 A0 64 00 00 */ lhz r3, 0(r4) +/* 8027829C 002751FC A0 1C 08 CC */ lhz r0, 0x8cc(r28) +/* 802782A0 00275200 7C 03 00 40 */ cmplw r3, r0 +/* 802782A4 00275204 40 82 02 50 */ bne lbl_802784F4 +/* 802782A8 00275208 B0 61 00 14 */ sth r3, 0x14(r1) +/* 802782AC 0027520C 7F A3 EB 78 */ mr r3, r29 +/* 802782B0 00275210 38 81 00 14 */ addi r4, r1, 0x14 +/* 802782B4 00275214 4B DD 42 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802782B8 00275218 7C 64 1B 78 */ mr r4, r3 +/* 802782BC 0027521C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802782C0 00275220 4B E3 70 8D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802782C4 00275224 83 E3 00 04 */ lwz r31, 4(r3) +/* 802782C8 00275228 28 1F 00 00 */ cmplwi r31, 0 +/* 802782CC 0027522C 41 82 02 28 */ beq lbl_802784F4 +/* 802782D0 00275230 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 802782D4 00275234 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802782D8 00275238 41 82 02 1C */ beq lbl_802784F4 +/* 802782DC 0027523C 7F E4 FB 78 */ mr r4, r31 +/* 802782E0 00275240 38 61 00 10 */ addi r3, r1, 0x10 +/* 802782E4 00275244 4B F3 08 A9 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 802782E8 00275248 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802782EC 0027524C 7F A3 EB 78 */ mr r3, r29 +/* 802782F0 00275250 38 81 00 0C */ addi r4, r1, 0xc +/* 802782F4 00275254 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802782F8 00275258 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802782FC 0027525C 4B DD 42 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80278300 00275260 7C 64 1B 78 */ mr r4, r3 +/* 80278304 00275264 38 61 00 1C */ addi r3, r1, 0x1c +/* 80278308 00275268 4B E2 D5 91 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" +/* 8027830C 0027526C 83 C3 00 04 */ lwz r30, 4(r3) +/* 80278310 00275270 28 1E 00 00 */ cmplwi r30, 0 +/* 80278314 00275274 41 82 01 E0 */ beq lbl_802784F4 +/* 80278318 00275278 7F E3 FB 78 */ mr r3, r31 +/* 8027831C 0027527C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80278320 00275280 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80278324 00275284 7D 89 03 A6 */ mtctr r12 +/* 80278328 00275288 4E 80 04 21 */ bctrl +/* 8027832C 0027528C 38 9E 01 2C */ addi r4, r30, 0x12c +/* 80278330 00275290 38 A0 00 00 */ li r5, 0 +/* 80278334 00275294 4B E8 A3 D5 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80278338 00275298 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027833C 0027529C 41 82 01 B8 */ beq lbl_802784F4 +/* 80278340 002752A0 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 80278344 002752A4 D0 1C 04 28 */ stfs f0, 0x428(r28) +/* 80278348 002752A8 A0 7B 00 00 */ lhz r3, 0(r27) +/* 8027834C 002752AC A0 1C 08 CC */ lhz r0, 0x8cc(r28) +/* 80278350 002752B0 7C 03 00 40 */ cmplw r3, r0 +/* 80278354 002752B4 40 82 01 A0 */ bne lbl_802784F4 +/* 80278358 002752B8 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 8027835C 002752BC 2C 00 00 01 */ cmpwi r0, 1 +/* 80278360 002752C0 40 82 00 60 */ bne lbl_802783C0 +/* 80278364 002752C4 B0 61 00 08 */ sth r3, 8(r1) +/* 80278368 002752C8 7F A3 EB 78 */ mr r3, r29 +/* 8027836C 002752CC 38 81 00 08 */ addi r4, r1, 8 +/* 80278370 002752D0 4B DD 42 05 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80278374 002752D4 7C 64 1B 78 */ mr r4, r3 +/* 80278378 002752D8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027837C 002752DC 4B E3 6F D1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278380 002752E0 80 63 00 04 */ lwz r3, 4(r3) +/* 80278384 002752E4 28 03 00 00 */ cmplwi r3, 0 +/* 80278388 002752E8 41 82 00 38 */ beq lbl_802783C0 +/* 8027838C 002752EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80278390 002752F0 7F A4 EB 78 */ mr r4, r29 +/* 80278394 002752F4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278398 002752F8 7D 89 03 A6 */ mtctr r12 +/* 8027839C 002752FC 4E 80 04 21 */ bctrl +/* 802783A0 00275300 28 03 00 00 */ cmplwi r3, 0 +/* 802783A4 00275304 41 82 00 1C */ beq lbl_802783C0 +/* 802783A8 00275308 C0 43 00 00 */ lfs f2, 0(r3) +/* 802783AC 0027530C C0 1C 08 C8 */ lfs f0, 0x8c8(r28) +/* 802783B0 00275310 C0 22 BC 80 */ lfs f1, lbl_805AD9A0@sda21(r2) +/* 802783B4 00275314 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802783B8 00275318 EC 01 10 3C */ fnmsubs f0, f1, f0, f2 +/* 802783BC 0027531C D0 03 00 00 */ stfs f0, 0(r3) +lbl_802783C0: +/* 802783C0 00275320 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 802783C4 00275324 2C 00 00 02 */ cmpwi r0, 2 +/* 802783C8 00275328 40 82 00 30 */ bne lbl_802783F8 +/* 802783CC 0027532C 88 7E 01 30 */ lbz r3, 0x130(r30) +/* 802783D0 00275330 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 802783D4 00275334 40 82 00 0C */ bne lbl_802783E0 +/* 802783D8 00275338 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802783DC 0027533C 41 82 00 1C */ beq lbl_802783F8 +lbl_802783E0: +/* 802783E0 00275340 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 802783E4 00275344 7F 83 E3 78 */ mr r3, r28 +/* 802783E8 00275348 7F A4 EB 78 */ mr r4, r29 +/* 802783EC 0027534C 38 A0 00 01 */ li r5, 1 +/* 802783F0 00275350 D0 1C 0F B4 */ stfs f0, 0xfb4(r28) +/* 802783F4 00275354 4B FF DE 11 */ bl sub_80276204 +lbl_802783F8: +/* 802783F8 00275358 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 802783FC 0027535C 2C 00 00 03 */ cmpwi r0, 3 +/* 80278400 00275360 40 82 00 38 */ bne lbl_80278438 +/* 80278404 00275364 88 7E 01 30 */ lbz r3, 0x130(r30) +/* 80278408 00275368 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8027840C 0027536C 40 82 00 0C */ bne lbl_80278418 +/* 80278410 00275370 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80278414 00275374 41 82 00 24 */ beq lbl_80278438 +lbl_80278418: +/* 80278418 00275378 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027841C 0027537C 7F 83 E3 78 */ mr r3, r28 +/* 80278420 00275380 7F A4 EB 78 */ mr r4, r29 +/* 80278424 00275384 38 A0 00 01 */ li r5, 1 +/* 80278428 00275388 D0 1C 0F B8 */ stfs f0, 0xfb8(r28) +/* 8027842C 0027538C 4B FF DF 71 */ bl sub_8027639c +/* 80278430 00275390 38 00 00 01 */ li r0, 1 +/* 80278434 00275394 98 1C 0F C1 */ stb r0, 0xfc1(r28) +lbl_80278438: +/* 80278438 00275398 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 8027843C 0027539C 2C 00 00 01 */ cmpwi r0, 1 +/* 80278440 002753A0 40 82 00 B4 */ bne lbl_802784F4 +/* 80278444 002753A4 88 1E 01 30 */ lbz r0, 0x130(r30) +/* 80278448 002753A8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027844C 002753AC 41 82 00 A8 */ beq lbl_802784F4 +/* 80278450 002753B0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278454 002753B4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80278458 002753B8 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8027845C 002753BC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80278460 002753C0 C0 45 00 00 */ lfs f2, 0(r5) +/* 80278464 002753C4 C0 25 00 04 */ lfs f1, 4(r5) +/* 80278468 002753C8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8027846C 002753CC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80278470 002753D0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80278474 002753D4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80278478 002753D8 C0 BF 00 60 */ lfs f5, 0x60(r31) +/* 8027847C 002753DC C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80278480 002753E0 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 80278484 002753E4 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80278488 002753E8 EC 25 00 28 */ fsubs f1, f5, f0 +/* 8027848C 002753EC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80278490 002753F0 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80278494 002753F4 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80278498 002753F8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8027849C 002753FC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802784A0 00275400 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 802784A4 00275404 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802784A8 00275408 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802784AC 0027540C D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802784B0 00275410 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802784B4 00275414 48 09 B9 1D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802784B8 00275418 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802784BC 0027541C 7F 83 E3 78 */ mr r3, r28 +/* 802784C0 00275420 80 E1 00 5C */ lwz r7, 0x5c(r1) +/* 802784C4 00275424 7F A4 EB 78 */ mr r4, r29 +/* 802784C8 00275428 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802784CC 0027542C 38 A1 00 64 */ addi r5, r1, 0x64 +/* 802784D0 00275430 90 C1 00 34 */ stw r6, 0x34(r1) +/* 802784D4 00275434 38 C1 00 34 */ addi r6, r1, 0x34 +/* 802784D8 00275438 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) +/* 802784DC 0027543C 90 E1 00 38 */ stw r7, 0x38(r1) +/* 802784E0 00275440 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802784E4 00275444 81 9C 00 00 */ lwz r12, 0(r28) +/* 802784E8 00275448 81 8C 02 90 */ lwz r12, 0x290(r12) +/* 802784EC 0027544C 7D 89 03 A6 */ mtctr r12 +/* 802784F0 00275450 4E 80 04 21 */ bctrl +lbl_802784F4: +/* 802784F4 00275454 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802784F8 00275458 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802784FC 0027545C 7C 08 03 A6 */ mtlr r0 +/* 80278500 00275460 38 21 00 90 */ addi r1, r1, 0x90 +/* 80278504 00275464 4E 80 00 20 */ blr + +.global sub_80278508 +sub_80278508: +/* 80278508 00275468 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8027850C 0027546C 7C 08 02 A6 */ mflr r0 +/* 80278510 00275470 90 01 00 84 */ stw r0, 0x84(r1) +/* 80278514 00275474 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 80278518 00275478 7C BB 2B 78 */ mr r27, r5 +/* 8027851C 0027547C 7C 7D 1B 78 */ mr r29, r3 +/* 80278520 00275480 7C 9E 23 78 */ mr r30, r4 +/* 80278524 00275484 7C DF 33 78 */ mr r31, r6 +/* 80278528 00275488 80 03 05 70 */ lwz r0, 0x570(r3) +/* 8027852C 0027548C 7C 00 D8 00 */ cmpw r0, r27 +/* 80278530 00275490 41 82 00 EC */ beq lbl_8027861C +/* 80278534 00275494 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 80278538 00275498 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027853C 0027549C 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 80278540 002754A0 38 84 02 28 */ addi r4, r4, 0x228 +/* 80278544 002754A4 4B D8 C7 75 */ bl string_l__4rstlFPCc +/* 80278548 002754A8 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8027854C 002754AC 7F C6 F3 78 */ mr r6, r30 +/* 80278550 002754B0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80278554 002754B4 38 A0 00 01 */ li r5, 1 +/* 80278558 002754B8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027855C 002754BC 4B DB 28 65 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80278560 002754C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80278564 002754C4 48 0C 55 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80278568 002754C8 81 1D 00 04 */ lwz r8, 4(r29) +/* 8027856C 002754CC 39 80 00 00 */ li r12, 0 +/* 80278570 002754D0 C0 A2 BC 08 */ lfs f5, lbl_805AD928@sda21(r2) +/* 80278574 002754D4 3B 80 00 01 */ li r28, 1 +/* 80278578 002754D8 C0 82 BC C8 */ lfs f4, lbl_805AD9E8@sda21(r2) +/* 8027857C 002754DC 39 60 00 7F */ li r11, 0x7f +/* 80278580 002754E0 C0 62 BC 6C */ lfs f3, lbl_805AD98C@sda21(r2) +/* 80278584 002754E4 39 40 00 14 */ li r10, 0x14 +/* 80278588 002754E8 89 22 CC 41 */ lbz r9, lbl_805AE961@sda21(r2) +/* 8027858C 002754EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80278590 002754F0 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80278594 002754F4 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80278598 002754F8 C0 45 00 00 */ lfs f2, 0(r5) +/* 8027859C 002754FC 38 00 0B 9A */ li r0, 0xb9a +/* 802785A0 00275500 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802785A4 00275504 38 61 00 14 */ addi r3, r1, 0x14 +/* 802785A8 00275508 C0 25 00 04 */ lfs f1, 4(r5) +/* 802785AC 0027550C 38 81 00 30 */ addi r4, r1, 0x30 +/* 802785B0 00275510 C0 05 00 08 */ lfs f0, 8(r5) +/* 802785B4 00275514 38 A0 00 01 */ li r5, 1 +/* 802785B8 00275518 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802785BC 0027551C 38 E0 00 00 */ li r7, 0 +/* 802785C0 00275520 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 802785C4 00275524 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802785C8 00275528 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 802785CC 0027552C D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802785D0 00275530 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802785D4 00275534 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802785D8 00275538 93 81 00 50 */ stw r28, 0x50(r1) +/* 802785DC 0027553C B1 81 00 54 */ sth r12, 0x54(r1) +/* 802785E0 00275540 99 61 00 56 */ stb r11, 0x56(r1) +/* 802785E4 00275544 99 41 00 57 */ stb r10, 0x57(r1) +/* 802785E8 00275548 99 81 00 58 */ stb r12, 0x58(r1) +/* 802785EC 0027554C 99 21 00 59 */ stb r9, 0x59(r1) +/* 802785F0 00275550 C0 BD 00 60 */ lfs f5, 0x60(r29) +/* 802785F4 00275554 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 802785F8 00275558 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 802785FC 0027555C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80278600 00275560 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80278604 00275564 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 80278608 00275568 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8027860C 0027556C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80278610 00275570 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80278614 00275574 B0 01 00 54 */ sth r0, 0x54(r1) +/* 80278618 00275578 48 07 19 C9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +lbl_8027861C: +/* 8027861C 0027557C 93 7D 05 70 */ stw r27, 0x570(r29) +/* 80278620 00275580 3B 9D 05 8C */ addi r28, r29, 0x58c +/* 80278624 00275584 7F A3 EB 78 */ mr r3, r29 +/* 80278628 00275588 7F C5 F3 78 */ mr r5, r30 +/* 8027862C 0027558C 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 80278630 00275590 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 80278634 00275594 7C 9C 02 14 */ add r4, r28, r0 +/* 80278638 00275598 38 84 00 6C */ addi r4, r4, 0x6c +/* 8027863C 0027559C 4B FF FA F5 */ bl sub_80278130 +/* 80278640 002755A0 A0 1D 08 CC */ lhz r0, 0x8cc(r29) +/* 80278644 002755A4 7F C3 F3 78 */ mr r3, r30 +/* 80278648 002755A8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027864C 002755AC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80278650 002755B0 4B DD 3F 25 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80278654 002755B4 7C 64 1B 78 */ mr r4, r3 +/* 80278658 002755B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027865C 002755BC 4B E3 6C F1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278660 002755C0 83 63 00 04 */ lwz r27, 4(r3) +/* 80278664 002755C4 28 1B 00 00 */ cmplwi r27, 0 +/* 80278668 002755C8 41 82 00 80 */ beq lbl_802786E8 +/* 8027866C 002755CC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80278670 002755D0 41 82 00 34 */ beq lbl_802786A4 +/* 80278674 002755D4 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 80278678 002755D8 7F 63 DB 78 */ mr r3, r27 +/* 8027867C 002755DC 1C 80 00 78 */ mulli r4, r0, 0x78 +/* 80278680 002755E0 38 84 00 04 */ addi r4, r4, 4 +/* 80278684 002755E4 7C 9C 22 14 */ add r4, r28, r4 +/* 80278688 002755E8 4B F3 05 11 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 8027868C 002755EC 7F 63 DB 78 */ mr r3, r27 +/* 80278690 002755F0 7F C6 F3 78 */ mr r6, r30 +/* 80278694 002755F4 38 80 00 28 */ li r4, 0x28 +/* 80278698 002755F8 38 A0 00 29 */ li r5, 0x29 +/* 8027869C 002755FC 4B DD BC 19 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 802786A0 00275600 48 00 00 48 */ b lbl_802786E8 +lbl_802786A4: +/* 802786A4 00275604 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 802786A8 00275608 7F 63 DB 78 */ mr r3, r27 +/* 802786AC 0027560C 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 802786B0 00275610 4B F3 04 E9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802786B4 00275614 A0 1D 00 08 */ lhz r0, 8(r29) +/* 802786B8 00275618 7F C6 F3 78 */ mr r6, r30 +/* 802786BC 0027561C 38 81 00 0C */ addi r4, r1, 0xc +/* 802786C0 00275620 38 A0 00 08 */ li r5, 8 +/* 802786C4 00275624 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802786C8 00275628 B0 01 00 08 */ sth r0, 8(r1) +/* 802786CC 0027562C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 802786D0 00275630 4B F0 2B 85 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 802786D4 00275634 7F 63 DB 78 */ mr r3, r27 +/* 802786D8 00275638 7F C6 F3 78 */ mr r6, r30 +/* 802786DC 0027563C 38 80 00 28 */ li r4, 0x28 +/* 802786E0 00275640 38 A0 00 29 */ li r5, 0x29 +/* 802786E4 00275644 4B DD B7 F1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_802786E8: +/* 802786E8 00275648 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 802786EC 0027564C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802786F0 00275650 7C 08 03 A6 */ mtlr r0 +/* 802786F4 00275654 38 21 00 80 */ addi r1, r1, 0x80 +/* 802786F8 00275658 4E 80 00 20 */ blr + +.global sub_802786fc +sub_802786fc: +/* 802786FC 0027565C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80278700 00275660 7C 08 02 A6 */ mflr r0 +/* 80278704 00275664 90 01 00 24 */ stw r0, 0x24(r1) +/* 80278708 00275668 BF 41 00 08 */ stmw r26, 8(r1) +/* 8027870C 0027566C 7C 7E 1B 78 */ mr r30, r3 +/* 80278710 00275670 7C 9F 23 78 */ mr r31, r4 +/* 80278714 00275674 88 03 05 84 */ lbz r0, 0x584(r3) +/* 80278718 00275678 28 00 00 00 */ cmplwi r0, 0 +/* 8027871C 0027567C 41 82 00 2C */ beq lbl_80278748 +/* 80278720 00275680 80 1E 05 70 */ lwz r0, 0x570(r30) +/* 80278724 00275684 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80278728 00275688 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 8027872C 0027568C 7F BE 02 14 */ add r29, r30, r0 +/* 80278730 00275690 3B BD 05 8C */ addi r29, r29, 0x58c +/* 80278734 00275694 48 09 9D ED */ bl Next__9CRandom16Fv +/* 80278738 00275698 54 60 17 7A */ rlwinm r0, r3, 2, 0x1d, 0x1d +/* 8027873C 0027569C 7C 7D 02 14 */ add r3, r29, r0 +/* 80278740 002756A0 83 63 00 70 */ lwz r27, 0x70(r3) +/* 80278744 002756A4 48 00 00 84 */ b lbl_802787C8 +lbl_80278748: +/* 80278748 002756A8 83 7E 05 70 */ lwz r27, 0x570(r30) +/* 8027874C 002756AC 3B 9E 05 8C */ addi r28, r30, 0x58c +/* 80278750 002756B0 3B 40 00 00 */ li r26, 0 +/* 80278754 002756B4 3B A0 00 01 */ li r29, 1 +lbl_80278758: +/* 80278758 002756B8 3B 5A 00 01 */ addi r26, r26, 1 +/* 8027875C 002756BC 2C 1A 00 0A */ cmpwi r26, 0xa +/* 80278760 002756C0 40 80 00 24 */ bge lbl_80278784 +/* 80278764 002756C4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80278768 002756C8 48 09 9D B9 */ bl Next__9CRandom16Fv +/* 8027876C 002756CC 1C 1B 00 78 */ mulli r0, r27, 0x78 +/* 80278770 002756D0 54 63 17 7A */ rlwinm r3, r3, 2, 0x1d, 0x1d +/* 80278774 002756D4 7C 60 1A 14 */ add r3, r0, r3 +/* 80278778 002756D8 38 03 00 70 */ addi r0, r3, 0x70 +/* 8027877C 002756DC 7F 7C 00 2E */ lwzx r27, r28, r0 +/* 80278780 002756E0 48 00 00 18 */ b lbl_80278798 +lbl_80278784: +/* 80278784 002756E4 2C 1A 00 14 */ cmpwi r26, 0x14 +/* 80278788 002756E8 40 80 00 2C */ bge lbl_802787B4 +/* 8027878C 002756EC 1C 7B 00 78 */ mulli r3, r27, 0x78 +/* 80278790 002756F0 38 03 00 74 */ addi r0, r3, 0x74 +/* 80278794 002756F4 7F 7C 00 2E */ lwzx r27, r28, r0 +lbl_80278798: +/* 80278798 002756F8 80 1E 05 7C */ lwz r0, 0x57c(r30) +/* 8027879C 002756FC 7F A3 D8 30 */ slw r3, r29, r27 +/* 802787A0 00275700 7C 00 18 39 */ and. r0, r0, r3 +/* 802787A4 00275704 41 82 FF B4 */ beq lbl_80278758 +/* 802787A8 00275708 80 1E 05 80 */ lwz r0, 0x580(r30) +/* 802787AC 0027570C 7C 00 18 39 */ and. r0, r0, r3 +/* 802787B0 00275710 40 82 FF A8 */ bne lbl_80278758 +lbl_802787B4: +/* 802787B4 00275714 38 00 00 01 */ li r0, 1 +/* 802787B8 00275718 80 7E 05 80 */ lwz r3, 0x580(r30) +/* 802787BC 0027571C 7C 00 D8 30 */ slw r0, r0, r27 +/* 802787C0 00275720 7C 60 03 78 */ or r0, r3, r0 +/* 802787C4 00275724 90 1E 05 80 */ stw r0, 0x580(r30) +lbl_802787C8: +/* 802787C8 00275728 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 802787CC 0027572C 7F C3 F3 78 */ mr r3, r30 +/* 802787D0 00275730 7F E4 FB 78 */ mr r4, r31 +/* 802787D4 00275734 7F 65 DB 78 */ mr r5, r27 +/* 802787D8 00275738 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f +/* 802787DC 0027573C 4B FF FD 2D */ bl sub_80278508 +/* 802787E0 00275740 7F C3 F3 78 */ mr r3, r30 +/* 802787E4 00275744 7F E4 FB 78 */ mr r4, r31 +/* 802787E8 00275748 4B FF D4 79 */ bl sub_80275c60 +/* 802787EC 0027574C BB 41 00 08 */ lmw r26, 8(r1) +/* 802787F0 00275750 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802787F4 00275754 7C 08 03 A6 */ mtlr r0 +/* 802787F8 00275758 38 21 00 20 */ addi r1, r1, 0x20 +/* 802787FC 0027575C 4E 80 00 20 */ blr + +.global sub_80278800 +sub_80278800: +/* 80278800 00275760 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80278804 00275764 7C 08 02 A6 */ mflr r0 +/* 80278808 00275768 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027880C 0027576C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80278810 00275770 7C BF 2B 78 */ mr r31, r5 +/* 80278814 00275774 7F E6 FB 78 */ mr r6, r31 +/* 80278818 00275778 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027881C 0027577C 7C 9E 23 78 */ mr r30, r4 +/* 80278820 00275780 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80278824 00275784 7C 7D 1B 78 */ mr r29, r3 +/* 80278828 00275788 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 8027882C 0027578C 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 80278830 00275790 98 03 08 F4 */ stb r0, 0x8f4(r3) +/* 80278834 00275794 80 A3 05 70 */ lwz r5, 0x570(r3) +/* 80278838 00275798 4B FF FC D1 */ bl sub_80278508 +/* 8027883C 0027579C 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 80278840 002757A0 38 61 00 08 */ addi r3, r1, 8 +/* 80278844 002757A4 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 80278848 002757A8 38 84 02 34 */ addi r4, r4, 0x234 +/* 8027884C 002757AC 4B D8 C4 6D */ bl string_l__4rstlFPCc +/* 80278850 002757B0 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80278854 002757B4 7F E5 FB 78 */ mr r5, r31 +/* 80278858 002757B8 7F C6 F3 78 */ mr r6, r30 +/* 8027885C 002757BC 38 81 00 08 */ addi r4, r1, 8 +/* 80278860 002757C0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278864 002757C4 4B DB 25 5D */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80278868 002757C8 38 61 00 08 */ addi r3, r1, 8 +/* 8027886C 002757CC 48 0C 52 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80278870 002757D0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80278874 002757D4 41 82 00 24 */ beq lbl_80278898 +/* 80278878 002757D8 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 8027887C 002757DC 7F A3 EB 78 */ mr r3, r29 +/* 80278880 002757E0 7F C5 F3 78 */ mr r5, r30 +/* 80278884 002757E4 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 80278888 002757E8 7C 9D 02 14 */ add r4, r29, r0 +/* 8027888C 002757EC 38 84 05 F8 */ addi r4, r4, 0x5f8 +/* 80278890 002757F0 4B FF F8 A1 */ bl sub_80278130 +/* 80278894 002757F4 48 00 00 18 */ b lbl_802788AC +lbl_80278898: +/* 80278898 002757F8 48 0D 17 1D */ bl Black__6CColorFv +/* 8027889C 002757FC 7C 64 1B 78 */ mr r4, r3 +/* 802788A0 00275800 7F A3 EB 78 */ mr r3, r29 +/* 802788A4 00275804 7F C5 F3 78 */ mr r5, r30 +/* 802788A8 00275808 4B FF F8 89 */ bl sub_80278130 +lbl_802788AC: +/* 802788AC 0027580C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802788B0 00275810 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802788B4 00275814 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802788B8 00275818 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802788BC 0027581C 7C 08 03 A6 */ mtlr r0 +/* 802788C0 00275820 38 21 00 30 */ addi r1, r1, 0x30 +/* 802788C4 00275824 4E 80 00 20 */ blr + +.global sub_802788c8 +sub_802788c8: +/* 802788C8 00275828 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802788CC 0027582C 7C 08 02 A6 */ mflr r0 +/* 802788D0 00275830 90 01 00 24 */ stw r0, 0x24(r1) +/* 802788D4 00275834 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802788D8 00275838 7C 9F 23 78 */ mr r31, r4 +/* 802788DC 0027583C 38 81 00 08 */ addi r4, r1, 8 +/* 802788E0 00275840 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802788E4 00275844 7C 7E 1B 78 */ mr r30, r3 +/* 802788E8 00275848 A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 802788EC 0027584C 7F E3 FB 78 */ mr r3, r31 +/* 802788F0 00275850 B0 01 00 08 */ sth r0, 8(r1) +/* 802788F4 00275854 4B DD 3C 81 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802788F8 00275858 7C 64 1B 78 */ mr r4, r3 +/* 802788FC 0027585C 38 61 00 0C */ addi r3, r1, 0xc +/* 80278900 00275860 4B E3 6A 4D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278904 00275864 80 63 00 04 */ lwz r3, 4(r3) +/* 80278908 00275868 28 03 00 00 */ cmplwi r3, 0 +/* 8027890C 0027586C 41 82 00 28 */ beq lbl_80278934 +/* 80278910 00275870 81 83 00 00 */ lwz r12, 0(r3) +/* 80278914 00275874 7F E4 FB 78 */ mr r4, r31 +/* 80278918 00275878 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027891C 0027587C 7D 89 03 A6 */ mtctr r12 +/* 80278920 00275880 4E 80 04 21 */ bctrl +/* 80278924 00275884 C0 1E 08 C0 */ lfs f0, 0x8c0(r30) +/* 80278928 00275888 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027892C 0027588C C0 1E 08 C4 */ lfs f0, 0x8c4(r30) +/* 80278930 00275890 D0 03 00 04 */ stfs f0, 4(r3) +lbl_80278934: +/* 80278934 00275894 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80278938 00275898 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027893C 0027589C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80278940 002758A0 7C 08 03 A6 */ mtlr r0 +/* 80278944 002758A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80278948 002758A8 4E 80 00 20 */ blr + +.global sub_8027894c +sub_8027894c: +/* 8027894C 002758AC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80278950 002758B0 7C 08 02 A6 */ mflr r0 +/* 80278954 002758B4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80278958 002758B8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8027895C 002758BC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80278960 002758C0 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80278964 002758C4 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80278968 002758C8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8027896C 002758CC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80278970 002758D0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80278974 002758D4 7C 7D 1B 78 */ mr r29, r3 +/* 80278978 002758D8 7C 9E 23 78 */ mr r30, r4 +/* 8027897C 002758DC A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 80278980 002758E0 7F C3 F3 78 */ mr r3, r30 +/* 80278984 002758E4 38 81 00 08 */ addi r4, r1, 8 +/* 80278988 002758E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027898C 002758EC 4B DD 3B E9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80278990 002758F0 7C 64 1B 78 */ mr r4, r3 +/* 80278994 002758F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80278998 002758F8 4B E3 69 B5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027899C 002758FC 83 E3 00 04 */ lwz r31, 4(r3) +/* 802789A0 00275900 28 1F 00 00 */ cmplwi r31, 0 +/* 802789A4 00275904 41 82 01 90 */ beq lbl_80278B34 +/* 802789A8 00275908 7F E3 FB 78 */ mr r3, r31 +/* 802789AC 0027590C 7F C4 F3 78 */ mr r4, r30 +/* 802789B0 00275910 81 9F 00 00 */ lwz r12, 0(r31) +/* 802789B4 00275914 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802789B8 00275918 7D 89 03 A6 */ mtctr r12 +/* 802789BC 0027591C 4E 80 04 21 */ bctrl +/* 802789C0 00275920 C0 23 00 00 */ lfs f1, 0(r3) +/* 802789C4 00275924 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802789C8 00275928 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802789CC 0027592C 4C 40 13 82 */ cror 2, 0, 2 +/* 802789D0 00275930 40 82 00 40 */ bne lbl_80278A10 +/* 802789D4 00275934 88 7D 08 F4 */ lbz r3, 0x8f4(r29) +/* 802789D8 00275938 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 802789DC 0027593C 40 82 00 34 */ bne lbl_80278A10 +/* 802789E0 00275940 38 80 00 01 */ li r4, 1 +/* 802789E4 00275944 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 802789E8 00275948 98 7D 08 F4 */ stb r3, 0x8f4(r29) +/* 802789EC 0027594C 80 7D 08 D0 */ lwz r3, 0x8d0(r29) +/* 802789F0 00275950 38 03 FF FF */ addi r0, r3, -1 +/* 802789F4 00275954 90 1D 08 D0 */ stw r0, 0x8d0(r29) +/* 802789F8 00275958 80 1D 08 D0 */ lwz r0, 0x8d0(r29) +/* 802789FC 0027595C 2C 00 00 00 */ cmpwi r0, 0 +/* 80278A00 00275960 40 82 00 10 */ bne lbl_80278A10 +/* 80278A04 00275964 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80278A08 00275968 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80278A0C 0027596C 98 1D 04 00 */ stb r0, 0x400(r29) +lbl_80278A10: +/* 80278A10 00275970 88 1D 08 F4 */ lbz r0, 0x8f4(r29) +/* 80278A14 00275974 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80278A18 00275978 41 82 00 10 */ beq lbl_80278A28 +/* 80278A1C 0027597C 7F A3 EB 78 */ mr r3, r29 +/* 80278A20 00275980 7F C4 F3 78 */ mr r4, r30 +/* 80278A24 00275984 4B FF FE A5 */ bl sub_802788c8 +lbl_80278A28: +/* 80278A28 00275988 80 DD 09 1C */ lwz r6, 0x91c(r29) +/* 80278A2C 0027598C 2C 06 00 00 */ cmpwi r6, 0 +/* 80278A30 00275990 41 80 01 04 */ blt lbl_80278B34 +/* 80278A34 00275994 2C 06 00 04 */ cmpwi r6, 4 +/* 80278A38 00275998 40 80 00 FC */ bge lbl_80278B34 +/* 80278A3C 0027599C 88 1D 09 14 */ lbz r0, 0x914(r29) +/* 80278A40 002759A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80278A44 002759A4 41 82 00 54 */ beq lbl_80278A98 +/* 80278A48 002759A8 80 0D 98 80 */ lwz r0, lbl_805A8440@sda21(r13) +/* 80278A4C 002759AC 38 66 FF FF */ addi r3, r6, -1 +/* 80278A50 002759B0 90 61 00 10 */ stw r3, 0x10(r1) +/* 80278A54 002759B4 38 8D 98 80 */ addi r4, r13, lbl_805A8440@sda21 +/* 80278A58 002759B8 7C 00 18 00 */ cmpw r0, r3 +/* 80278A5C 002759BC 40 80 00 08 */ bge lbl_80278A64 +/* 80278A60 002759C0 38 81 00 10 */ addi r4, r1, 0x10 +lbl_80278A64: +/* 80278A64 002759C4 7F A3 EB 78 */ mr r3, r29 +/* 80278A68 002759C8 80 04 00 00 */ lwz r0, 0(r4) +/* 80278A6C 002759CC 81 9D 00 00 */ lwz r12, 0(r29) +/* 80278A70 002759D0 3C A0 80 3D */ lis r5, lbl_803D5434@ha +/* 80278A74 002759D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80278A78 002759D8 7F C4 F3 78 */ mr r4, r30 +/* 80278A7C 002759DC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278A80 002759E0 38 A5 54 34 */ addi r5, r5, lbl_803D5434@l +/* 80278A84 002759E4 7F E5 04 2E */ lfsx f31, r5, r0 +/* 80278A88 002759E8 7D 89 03 A6 */ mtctr r12 +/* 80278A8C 002759EC 4E 80 04 21 */ bctrl +/* 80278A90 002759F0 D3 E3 00 00 */ stfs f31, 0(r3) +/* 80278A94 002759F4 48 00 00 A0 */ b lbl_80278B34 +lbl_80278A98: +/* 80278A98 002759F8 80 9D 08 D0 */ lwz r4, 0x8d0(r29) +/* 80278A9C 002759FC 3C 00 43 30 */ lis r0, 0x4330 +/* 80278AA0 00275A00 7F E3 FB 78 */ mr r3, r31 +/* 80278AA4 00275A04 3C A0 80 3D */ lis r5, lbl_803D5434@ha +/* 80278AA8 00275A08 38 84 FF FF */ addi r4, r4, -1 +/* 80278AAC 00275A0C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80278AB0 00275A10 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80278AB4 00275A14 90 01 00 20 */ stw r0, 0x20(r1) +/* 80278AB8 00275A18 C8 42 BC 78 */ lfd f2, lbl_805AD998@sda21(r2) +/* 80278ABC 00275A1C 54 C0 10 3A */ slwi r0, r6, 2 +/* 80278AC0 00275A20 90 81 00 24 */ stw r4, 0x24(r1) +/* 80278AC4 00275A24 38 A5 54 34 */ addi r5, r5, lbl_803D5434@l +/* 80278AC8 00275A28 C0 1D 08 C0 */ lfs f0, 0x8c0(r29) +/* 80278ACC 00275A2C 7F C4 F3 78 */ mr r4, r30 +/* 80278AD0 00275A30 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 80278AD4 00275A34 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278AD8 00275A38 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80278ADC 00275A3C 7F E5 04 2E */ lfsx f31, r5, r0 +/* 80278AE0 00275A40 EF C1 00 32 */ fmuls f30, f1, f0 +/* 80278AE4 00275A44 7D 89 03 A6 */ mtctr r12 +/* 80278AE8 00275A48 4E 80 04 21 */ bctrl +/* 80278AEC 00275A4C C0 23 00 00 */ lfs f1, 0(r3) +/* 80278AF0 00275A50 C0 0D 98 84 */ lfs f0, lbl_805A8444@sda21(r13) +/* 80278AF4 00275A54 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80278AF8 00275A58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278AFC 00275A5C 40 80 00 0C */ bge lbl_80278B08 +/* 80278B00 00275A60 38 AD 98 84 */ addi r5, r13, lbl_805A8444@sda21 +/* 80278B04 00275A64 48 00 00 08 */ b lbl_80278B0C +lbl_80278B08: +/* 80278B08 00275A68 38 A1 00 0C */ addi r5, r1, 0xc +lbl_80278B0C: +/* 80278B0C 00275A6C 7F A3 EB 78 */ mr r3, r29 +/* 80278B10 00275A70 EC 1F F0 2A */ fadds f0, f31, f30 +/* 80278B14 00275A74 81 9D 00 00 */ lwz r12, 0(r29) +/* 80278B18 00275A78 7F C4 F3 78 */ mr r4, r30 +/* 80278B1C 00275A7C C0 25 00 00 */ lfs f1, 0(r5) +/* 80278B20 00275A80 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278B24 00275A84 EF C1 00 2A */ fadds f30, f1, f0 +/* 80278B28 00275A88 7D 89 03 A6 */ mtctr r12 +/* 80278B2C 00275A8C 4E 80 04 21 */ bctrl +/* 80278B30 00275A90 D3 C3 00 00 */ stfs f30, 0(r3) +lbl_80278B34: +/* 80278B34 00275A94 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80278B38 00275A98 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80278B3C 00275A9C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80278B40 00275AA0 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80278B44 00275AA4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80278B48 00275AA8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80278B4C 00275AAC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80278B50 00275AB0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80278B54 00275AB4 7C 08 03 A6 */ mtlr r0 +/* 80278B58 00275AB8 38 21 00 60 */ addi r1, r1, 0x60 +/* 80278B5C 00275ABC 4E 80 00 20 */ blr + +.global sub_80278b60 +sub_80278b60: +/* 80278B60 00275AC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80278B64 00275AC4 7C 08 02 A6 */ mflr r0 +/* 80278B68 00275AC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80278B6C 00275ACC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80278B70 00275AD0 7C 7B 1B 78 */ mr r27, r3 +/* 80278B74 00275AD4 7C 9C 23 78 */ mr r28, r4 +/* 80278B78 00275AD8 7C BD 2B 78 */ mr r29, r5 +/* 80278B7C 00275ADC 3B C0 00 00 */ li r30, 0 +/* 80278B80 00275AE0 3B FB 07 70 */ addi r31, r27, 0x770 +/* 80278B84 00275AE4 48 00 00 34 */ b lbl_80278BB8 +lbl_80278B88: +/* 80278B88 00275AE8 7F E3 FB 78 */ mr r3, r31 +/* 80278B8C 00275AEC 7F A4 EB 78 */ mr r4, r29 +/* 80278B90 00275AF0 4B EF C6 95 */ bl SetActive__13CBoneTrackingFb +/* 80278B94 00275AF4 80 BC 08 4C */ lwz r5, 0x84c(r28) +/* 80278B98 00275AF8 7F E3 FB 78 */ mr r3, r31 +/* 80278B9C 00275AFC 38 81 00 0C */ addi r4, r1, 0xc +/* 80278BA0 00275B00 A0 05 00 08 */ lhz r0, 8(r5) +/* 80278BA4 00275B04 B0 01 00 08 */ sth r0, 8(r1) +/* 80278BA8 00275B08 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80278BAC 00275B0C 4B EF C6 6D */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80278BB0 00275B10 3B FF 00 38 */ addi r31, r31, 0x38 +/* 80278BB4 00275B14 3B DE 00 01 */ addi r30, r30, 1 +lbl_80278BB8: +/* 80278BB8 00275B18 80 1B 07 6C */ lwz r0, 0x76c(r27) +/* 80278BBC 00275B1C 7C 1E 00 00 */ cmpw r30, r0 +/* 80278BC0 00275B20 41 80 FF C8 */ blt lbl_80278B88 +/* 80278BC4 00275B24 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80278BC8 00275B28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80278BCC 00275B2C 7C 08 03 A6 */ mtlr r0 +/* 80278BD0 00275B30 38 21 00 30 */ addi r1, r1, 0x30 +/* 80278BD4 00275B34 4E 80 00 20 */ blr + +.global sub_80278bd8 +sub_80278bd8: +/* 80278BD8 00275B38 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80278BDC 00275B3C 7C 08 02 A6 */ mflr r0 +/* 80278BE0 00275B40 90 01 00 44 */ stw r0, 0x44(r1) +/* 80278BE4 00275B44 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80278BE8 00275B48 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80278BEC 00275B4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80278BF0 00275B50 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80278BF4 00275B54 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80278BF8 00275B58 93 81 00 20 */ stw r28, 0x20(r1) +/* 80278BFC 00275B5C 7C 7C 1B 78 */ mr r28, r3 +/* 80278C00 00275B60 FF E0 08 90 */ fmr f31, f1 +/* 80278C04 00275B64 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80278C08 00275B68 7C 9D 23 78 */ mr r29, r4 +/* 80278C0C 00275B6C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278C10 00275B70 4B DB 3D F5 */ bl PreRender__9CAnimDataFv +/* 80278C14 00275B74 3B FC 07 70 */ addi r31, r28, 0x770 +/* 80278C18 00275B78 3B C0 00 00 */ li r30, 0 +/* 80278C1C 00275B7C 48 00 00 54 */ b lbl_80278C70 +lbl_80278C20: +/* 80278C20 00275B80 FC 20 F8 90 */ fmr f1, f31 +/* 80278C24 00275B84 7F E3 FB 78 */ mr r3, r31 +/* 80278C28 00275B88 4B EF CD 81 */ bl Update__13CBoneTrackingFf +/* 80278C2C 00275B8C 80 BC 00 64 */ lwz r5, 0x64(r28) +/* 80278C30 00275B90 7F E3 FB 78 */ mr r3, r31 +/* 80278C34 00275B94 81 1C 04 50 */ lwz r8, 0x450(r28) +/* 80278C38 00275B98 7F A4 EB 78 */ mr r4, r29 +/* 80278C3C 00275B9C C0 05 00 00 */ lfs f0, 0(r5) +/* 80278C40 00275BA0 38 DC 00 34 */ addi r6, r28, 0x34 +/* 80278C44 00275BA4 38 E1 00 08 */ addi r7, r1, 8 +/* 80278C48 00275BA8 D0 01 00 08 */ stfs f0, 8(r1) +/* 80278C4C 00275BAC C0 05 00 04 */ lfs f0, 4(r5) +/* 80278C50 00275BB0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80278C54 00275BB4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80278C58 00275BB8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80278C5C 00275BBC 80 BC 00 64 */ lwz r5, 0x64(r28) +/* 80278C60 00275BC0 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80278C64 00275BC4 4B EF CC AD */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController +/* 80278C68 00275BC8 3B FF 00 38 */ addi r31, r31, 0x38 +/* 80278C6C 00275BCC 3B DE 00 01 */ addi r30, r30, 1 +lbl_80278C70: +/* 80278C70 00275BD0 80 1C 07 6C */ lwz r0, 0x76c(r28) +/* 80278C74 00275BD4 7C 1E 00 00 */ cmpw r30, r0 +/* 80278C78 00275BD8 41 80 FF A8 */ blt lbl_80278C20 +/* 80278C7C 00275BDC 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 80278C80 00275BE0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80278C84 00275BE4 41 82 00 1C */ beq lbl_80278CA0 +/* 80278C88 00275BE8 88 7C 10 54 */ lbz r3, 0x1054(r28) +/* 80278C8C 00275BEC 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 80278C90 00275BF0 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f +/* 80278C94 00275BF4 7C 63 00 34 */ cntlzw r3, r3 +/* 80278C98 00275BF8 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e +/* 80278C9C 00275BFC 98 1C 00 E4 */ stb r0, 0xe4(r28) +lbl_80278CA0: +/* 80278CA0 00275C00 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80278CA4 00275C04 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80278CA8 00275C08 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80278CAC 00275C0C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80278CB0 00275C10 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80278CB4 00275C14 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80278CB8 00275C18 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80278CBC 00275C1C 7C 08 03 A6 */ mtlr r0 +/* 80278CC0 00275C20 38 21 00 40 */ addi r1, r1, 0x40 +/* 80278CC4 00275C24 4E 80 00 20 */ blr + +.global sub_80278cc8 +sub_80278cc8: +/* 80278CC8 00275C28 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80278CCC 00275C2C 7C 08 02 A6 */ mflr r0 +/* 80278CD0 00275C30 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80278CD4 00275C34 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 80278CD8 00275C38 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 80278CDC 00275C3C 7C BE 2B 78 */ mr r30, r5 +/* 80278CE0 00275C40 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 80278CE4 00275C44 7C 7D 1B 78 */ mr r29, r3 +/* 80278CE8 00275C48 7F C3 F3 78 */ mr r3, r30 +/* 80278CEC 00275C4C A0 04 00 00 */ lhz r0, 0(r4) +/* 80278CF0 00275C50 38 81 00 38 */ addi r4, r1, 0x38 +/* 80278CF4 00275C54 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80278CF8 00275C58 4B DD 38 AD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80278CFC 00275C5C 7C 64 1B 78 */ mr r4, r3 +/* 80278D00 00275C60 38 61 00 48 */ addi r3, r1, 0x48 +/* 80278D04 00275C64 4B E3 66 49 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278D08 00275C68 80 83 00 04 */ lwz r4, 4(r3) +/* 80278D0C 00275C6C 28 04 00 00 */ cmplwi r4, 0 +/* 80278D10 00275C70 41 82 01 E8 */ beq lbl_80278EF8 +/* 80278D14 00275C74 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80278D18 00275C78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80278D1C 00275C7C 41 82 01 DC */ beq lbl_80278EF8 +/* 80278D20 00275C80 38 61 00 34 */ addi r3, r1, 0x34 +/* 80278D24 00275C84 4B F2 FE 69 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80278D28 00275C88 7F A4 EB 78 */ mr r4, r29 +/* 80278D2C 00275C8C A0 01 00 34 */ lhz r0, 0x34(r1) +/* 80278D30 00275C90 81 9D 00 00 */ lwz r12, 0(r29) +/* 80278D34 00275C94 38 61 00 88 */ addi r3, r1, 0x88 +/* 80278D38 00275C98 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 80278D3C 00275C9C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80278D40 00275CA0 7D 89 03 A6 */ mtctr r12 +/* 80278D44 00275CA4 4E 80 04 21 */ bctrl +/* 80278D48 00275CA8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80278D4C 00275CAC 3B E1 00 88 */ addi r31, r1, 0x88 +/* 80278D50 00275CB0 A0 81 00 3C */ lhz r4, 0x3c(r1) +/* 80278D54 00275CB4 A0 03 00 08 */ lhz r0, 8(r3) +/* 80278D58 00275CB8 7C 04 00 40 */ cmplw r4, r0 +/* 80278D5C 00275CBC 40 82 00 AC */ bne lbl_80278E08 +/* 80278D60 00275CC0 4B D9 CF 9D */ bl GetFrozenState__7CPlayerCFv +/* 80278D64 00275CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80278D68 00275CC8 41 82 00 10 */ beq lbl_80278D78 +/* 80278D6C 00275CCC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80278D70 00275CD0 7F C4 F3 78 */ mr r4, r30 +/* 80278D74 00275CD4 4B D9 CC B9 */ bl UnFreeze__7CPlayerFR13CStateManager +lbl_80278D78: +/* 80278D78 00275CD8 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80278D7C 00275CDC C0 1D 04 20 */ lfs f0, 0x420(r29) +/* 80278D80 00275CE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278D84 00275CE4 4C 41 13 82 */ cror 2, 1, 2 +/* 80278D88 00275CE8 40 82 01 70 */ bne lbl_80278EF8 +/* 80278D8C 00275CEC 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 80278D90 00275CF0 38 60 00 00 */ li r3, 0 +/* 80278D94 00275CF4 38 80 00 01 */ li r4, 1 +/* 80278D98 00275CF8 48 11 11 5D */ bl __shl2i +/* 80278D9C 00275CFC 39 00 00 00 */ li r8, 0 +/* 80278DA0 00275D00 39 40 00 03 */ li r10, 3 +/* 80278DA4 00275D04 90 81 00 74 */ stw r4, 0x74(r1) +/* 80278DA8 00275D08 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278DAC 00275D0C 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80278DB0 00275D10 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 80278DB4 00275D14 90 61 00 70 */ stw r3, 0x70(r1) +/* 80278DB8 00275D18 7F C3 F3 78 */ mr r3, r30 +/* 80278DBC 00275D1C 7F E7 FB 78 */ mr r7, r31 +/* 80278DC0 00275D20 38 81 00 30 */ addi r4, r1, 0x30 +/* 80278DC4 00275D24 91 01 00 7C */ stw r8, 0x7c(r1) +/* 80278DC8 00275D28 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80278DCC 00275D2C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80278DD0 00275D30 91 01 00 78 */ stw r8, 0x78(r1) +/* 80278DD4 00275D34 39 01 00 70 */ addi r8, r1, 0x70 +/* 80278DD8 00275D38 91 41 00 80 */ stw r10, 0x80(r1) +/* 80278DDC 00275D3C A1 5D 00 08 */ lhz r10, 8(r29) +/* 80278DE0 00275D40 B1 41 00 24 */ sth r10, 0x24(r1) +/* 80278DE4 00275D44 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80278DE8 00275D48 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80278DEC 00275D4C B1 41 00 20 */ sth r10, 0x20(r1) +/* 80278DF0 00275D50 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80278DF4 00275D54 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80278DF8 00275D58 4B DD 12 A9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80278DFC 00275D5C C0 1D 04 24 */ lfs f0, 0x424(r29) +/* 80278E00 00275D60 D0 1D 04 20 */ stfs f0, 0x420(r29) +/* 80278E04 00275D64 48 00 00 F4 */ b lbl_80278EF8 +lbl_80278E08: +/* 80278E08 00275D68 B0 81 00 1C */ sth r4, 0x1c(r1) +/* 80278E0C 00275D6C 7F C3 F3 78 */ mr r3, r30 +/* 80278E10 00275D70 38 81 00 1C */ addi r4, r1, 0x1c +/* 80278E14 00275D74 4B DD 37 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80278E18 00275D78 7C 64 1B 78 */ mr r4, r3 +/* 80278E1C 00275D7C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80278E20 00275D80 4B E3 6E 71 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80278E24 00275D84 80 83 00 04 */ lwz r4, 4(r3) +/* 80278E28 00275D88 28 04 00 00 */ cmplwi r4, 0 +/* 80278E2C 00275D8C 41 82 00 CC */ beq lbl_80278EF8 +/* 80278E30 00275D90 80 64 00 68 */ lwz r3, 0x68(r4) +/* 80278E34 00275D94 3C 00 00 02 */ lis r0, 2 +/* 80278E38 00275D98 80 84 00 6C */ lwz r4, 0x6c(r4) +/* 80278E3C 00275D9C 38 C0 00 00 */ li r6, 0 +/* 80278E40 00275DA0 7C 60 00 38 */ and r0, r3, r0 +/* 80278E44 00275DA4 7C 83 30 38 */ and r3, r4, r6 +/* 80278E48 00275DA8 7C 63 32 78 */ xor r3, r3, r6 +/* 80278E4C 00275DAC 7C 00 32 78 */ xor r0, r0, r6 +/* 80278E50 00275DB0 7C 60 03 79 */ or. r0, r3, r0 +/* 80278E54 00275DB4 41 82 00 A4 */ beq lbl_80278EF8 +/* 80278E58 00275DB8 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80278E5C 00275DBC 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80278E60 00275DC0 38 80 00 09 */ li r4, 9 +/* 80278E64 00275DC4 38 60 00 01 */ li r3, 1 +/* 80278E68 00275DC8 98 01 00 54 */ stb r0, 0x54(r1) +/* 80278E6C 00275DCC 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80278E70 00275DD0 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80278E74 00275DD4 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 80278E78 00275DD8 98 01 00 54 */ stb r0, 0x54(r1) +/* 80278E7C 00275DDC 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80278E80 00275DE0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80278E84 00275DE4 38 60 00 00 */ li r3, 0 +/* 80278E88 00275DE8 90 81 00 50 */ stw r4, 0x50(r1) +/* 80278E8C 00275DEC 38 80 00 01 */ li r4, 1 +/* 80278E90 00275DF0 98 01 00 54 */ stb r0, 0x54(r1) +/* 80278E94 00275DF4 48 11 10 61 */ bl __shl2i +/* 80278E98 00275DF8 39 00 00 00 */ li r8, 0 +/* 80278E9C 00275DFC 39 40 00 03 */ li r10, 3 +/* 80278EA0 00275E00 90 81 00 5C */ stw r4, 0x5c(r1) +/* 80278EA4 00275E04 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278EA8 00275E08 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80278EAC 00275E0C A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 80278EB0 00275E10 90 61 00 58 */ stw r3, 0x58(r1) +/* 80278EB4 00275E14 7F C3 F3 78 */ mr r3, r30 +/* 80278EB8 00275E18 7F E7 FB 78 */ mr r7, r31 +/* 80278EBC 00275E1C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80278EC0 00275E20 91 01 00 64 */ stw r8, 0x64(r1) +/* 80278EC4 00275E24 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80278EC8 00275E28 38 C1 00 0C */ addi r6, r1, 0xc +/* 80278ECC 00275E2C 91 01 00 60 */ stw r8, 0x60(r1) +/* 80278ED0 00275E30 39 01 00 58 */ addi r8, r1, 0x58 +/* 80278ED4 00275E34 91 41 00 68 */ stw r10, 0x68(r1) +/* 80278ED8 00275E38 A1 5D 00 08 */ lhz r10, 8(r29) +/* 80278EDC 00275E3C B1 41 00 0C */ sth r10, 0xc(r1) +/* 80278EE0 00275E40 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80278EE4 00275E44 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80278EE8 00275E48 B1 41 00 08 */ sth r10, 8(r1) +/* 80278EEC 00275E4C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80278EF0 00275E50 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80278EF4 00275E54 4B DD 11 AD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80278EF8: +/* 80278EF8 00275E58 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80278EFC 00275E5C 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80278F00 00275E60 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 80278F04 00275E64 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80278F08 00275E68 7C 08 03 A6 */ mtlr r0 +/* 80278F0C 00275E6C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80278F10 00275E70 4E 80 00 20 */ blr + +.global sub_80278f14 +sub_80278f14: +/* 80278F14 00275E74 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80278F18 00275E78 7C 08 02 A6 */ mflr r0 +/* 80278F1C 00275E7C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80278F20 00275E80 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80278F24 00275E84 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80278F28 00275E88 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80278F2C 00275E8C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80278F30 00275E90 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 80278F34 00275E94 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80278F38 00275E98 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 80278F3C 00275E9C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 80278F40 00275EA0 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 80278F44 00275EA4 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 80278F48 00275EA8 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 80278F4C 00275EAC F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 80278F50 00275EB0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80278F54 00275EB4 7C 7F 1B 78 */ mr r31, r3 +/* 80278F58 00275EB8 38 A0 00 00 */ li r5, 0 +/* 80278F5C 00275EBC 80 63 05 6C */ lwz r3, 0x56c(r3) +/* 80278F60 00275EC0 4B F2 E4 F1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 80278F64 00275EC4 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80278F68 00275EC8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80278F6C 00275ECC 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 80278F70 00275ED0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80278F74 00275ED4 C3 85 00 00 */ lfs f28, 0(r5) +/* 80278F78 00275ED8 38 84 00 CF */ addi r4, r4, 0xcf +/* 80278F7C 00275EDC C3 65 00 04 */ lfs f27, 4(r5) +/* 80278F80 00275EE0 C3 45 00 08 */ lfs f26, 8(r5) +/* 80278F84 00275EE4 4B D8 BD 35 */ bl string_l__4rstlFPCc +/* 80278F88 00275EE8 7F E4 FB 78 */ mr r4, r31 +/* 80278F8C 00275EEC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80278F90 00275EF0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80278F94 00275EF4 4B DD 9F 6D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80278F98 00275EF8 C3 A1 00 5C */ lfs f29, 0x5c(r1) +/* 80278F9C 00275EFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80278FA0 00275F00 C3 C1 00 4C */ lfs f30, 0x4c(r1) +/* 80278FA4 00275F04 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 80278FA8 00275F08 48 0C 4B 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80278FAC 00275F0C EC 5C 07 F2 */ fmuls f2, f28, f31 +/* 80278FB0 00275F10 38 61 00 08 */ addi r3, r1, 8 +/* 80278FB4 00275F14 EC 3B 07 B2 */ fmuls f1, f27, f30 +/* 80278FB8 00275F18 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80278FBC 00275F1C EC 1A 07 72 */ fmuls f0, f26, f29 +/* 80278FC0 00275F20 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80278FC4 00275F24 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80278FC8 00275F28 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80278FCC 00275F2C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80278FD0 00275F30 48 09 9A B1 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80278FD4 00275F34 C0 41 00 08 */ lfs f2, 8(r1) +/* 80278FD8 00275F38 7F E3 FB 78 */ mr r3, r31 +/* 80278FDC 00275F3C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80278FE0 00275F40 38 81 00 24 */ addi r4, r1, 0x24 +/* 80278FE4 00275F44 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80278FE8 00275F48 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80278FEC 00275F4C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80278FF0 00275F50 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80278FF4 00275F54 4B EA 1A 45 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 80278FF8 00275F58 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80278FFC 00275F5C CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80279000 00275F60 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80279004 00275F64 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80279008 00275F68 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8027900C 00275F6C CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 80279010 00275F70 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 80279014 00275F74 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 80279018 00275F78 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 8027901C 00275F7C CB 61 00 80 */ lfd f27, 0x80(r1) +/* 80279020 00275F80 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 80279024 00275F84 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 80279028 00275F88 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8027902C 00275F8C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80279030 00275F90 7C 08 03 A6 */ mtlr r0 +/* 80279034 00275F94 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80279038 00275F98 4E 80 00 20 */ blr + +.global sub_8027903c +sub_8027903c: +/* 8027903C 00275F9C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80279040 00275FA0 7C 08 02 A6 */ mflr r0 +/* 80279044 00275FA4 3C 80 80 3D */ lis r4, lbl_803D5454@ha +/* 80279048 00275FA8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027904C 00275FAC BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 80279050 00275FB0 7C 7B 1B 78 */ mr r27, r3 +/* 80279054 00275FB4 3B C4 54 54 */ addi r30, r4, lbl_803D5454@l +/* 80279058 00275FB8 3B A1 00 3C */ addi r29, r1, 0x3c +/* 8027905C 00275FBC 3B 80 00 00 */ li r28, 0 +/* 80279060 00275FC0 3B E0 00 00 */ li r31, 0 +lbl_80279064: +/* 80279064 00275FC4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80279068 00275FC8 38 61 00 08 */ addi r3, r1, 8 +/* 8027906C 00275FCC 4B D8 BC 4D */ bl string_l__4rstlFPCc +/* 80279070 00275FD0 80 9B 00 64 */ lwz r4, 0x64(r27) +/* 80279074 00275FD4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80279078 00275FD8 C0 22 BC CC */ lfs f1, lbl_805AD9EC@sda21(r2) +/* 8027907C 00275FDC 38 A1 00 08 */ addi r5, r1, 8 +/* 80279080 00275FE0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80279084 00275FE4 38 C0 00 02 */ li r6, 2 +/* 80279088 00275FE8 C0 42 BC D0 */ lfs f2, lbl_805AD9F0@sda21(r2) +/* 8027908C 00275FEC 4B EF C9 2D */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" +/* 80279090 00275FF0 38 7B 07 6C */ addi r3, r27, 0x76c +/* 80279094 00275FF4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80279098 00275FF8 48 00 00 3D */ bl sub_802790d4 +/* 8027909C 00275FFC 28 1D 00 00 */ cmplwi r29, 0 +/* 802790A0 00276000 41 82 00 08 */ beq lbl_802790A8 +/* 802790A4 00276004 9B E1 00 48 */ stb r31, 0x48(r1) +lbl_802790A8: +/* 802790A8 00276008 38 61 00 08 */ addi r3, r1, 8 +/* 802790AC 0027600C 48 0C 4A 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802790B0 00276010 3B 9C 00 01 */ addi r28, r28, 1 +/* 802790B4 00276014 3B DE 00 04 */ addi r30, r30, 4 +/* 802790B8 00276018 28 1C 00 06 */ cmplwi r28, 6 +/* 802790BC 0027601C 41 80 FF A8 */ blt lbl_80279064 +/* 802790C0 00276020 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 802790C4 00276024 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802790C8 00276028 7C 08 03 A6 */ mtlr r0 +/* 802790CC 0027602C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802790D0 00276030 4E 80 00 20 */ blr + +.global sub_802790d4 +sub_802790d4: +/* 802790D4 00276034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802790D8 00276038 7C 08 02 A6 */ mflr r0 +/* 802790DC 0027603C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802790E0 00276040 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802790E4 00276044 7C 7F 1B 78 */ mr r31, r3 +/* 802790E8 00276048 80 03 00 00 */ lwz r0, 0(r3) +/* 802790EC 0027604C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 802790F0 00276050 7C 7F 02 14 */ add r3, r31, r0 +/* 802790F4 00276054 38 63 00 04 */ addi r3, r3, 4 +/* 802790F8 00276058 48 00 00 25 */ bl sub_8027911c +/* 802790FC 0027605C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80279100 00276060 38 03 00 01 */ addi r0, r3, 1 +/* 80279104 00276064 90 1F 00 00 */ stw r0, 0(r31) +/* 80279108 00276068 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027910C 0027606C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80279110 00276070 7C 08 03 A6 */ mtlr r0 +/* 80279114 00276074 38 21 00 10 */ addi r1, r1, 0x10 +/* 80279118 00276078 4E 80 00 20 */ blr + +.global sub_8027911c +sub_8027911c: +/* 8027911C 0027607C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80279120 00276080 7C 08 02 A6 */ mflr r0 +/* 80279124 00276084 28 03 00 00 */ cmplwi r3, 0 +/* 80279128 00276088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027912C 0027608C 41 82 00 08 */ beq lbl_80279134 +/* 80279130 00276090 48 00 00 15 */ bl sub_80279144 +lbl_80279134: +/* 80279134 00276094 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80279138 00276098 7C 08 03 A6 */ mtlr r0 +/* 8027913C 0027609C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80279140 002760A0 4E 80 00 20 */ blr + +.global sub_80279144 +sub_80279144: +/* 80279144 002760A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80279148 002760A8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027914C 002760AC C0 04 00 04 */ lfs f0, 4(r4) +/* 80279150 002760B0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80279154 002760B4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80279158 002760B8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8027915C 002760BC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80279160 002760C0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80279164 002760C4 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80279168 002760C8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8027916C 002760CC 88 04 00 14 */ lbz r0, 0x14(r4) +/* 80279170 002760D0 98 03 00 14 */ stb r0, 0x14(r3) +/* 80279174 002760D4 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80279178 002760D8 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8027917C 002760DC C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80279180 002760E0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80279184 002760E4 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80279188 002760E8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8027918C 002760EC 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80279190 002760F0 98 03 00 30 */ stb r0, 0x30(r3) +/* 80279194 002760F4 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80279198 002760F8 28 00 00 00 */ cmplwi r0, 0 +/* 8027919C 002760FC 41 82 00 24 */ beq lbl_802791C0 +/* 802791A0 00276100 34 A3 00 24 */ addic. r5, r3, 0x24 +/* 802791A4 00276104 41 82 00 1C */ beq lbl_802791C0 +/* 802791A8 00276108 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802791AC 0027610C D0 05 00 00 */ stfs f0, 0(r5) +/* 802791B0 00276110 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802791B4 00276114 D0 05 00 04 */ stfs f0, 4(r5) +/* 802791B8 00276118 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802791BC 0027611C D0 05 00 08 */ stfs f0, 8(r5) +lbl_802791C0: +/* 802791C0 00276120 A0 04 00 34 */ lhz r0, 0x34(r4) +/* 802791C4 00276124 B0 03 00 34 */ sth r0, 0x34(r3) +/* 802791C8 00276128 88 04 00 36 */ lbz r0, 0x36(r4) +/* 802791CC 0027612C 98 03 00 36 */ stb r0, 0x36(r3) +/* 802791D0 00276130 4E 80 00 20 */ blr + +.global sub_802791d4 +sub_802791d4: +/* 802791D4 00276134 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 802791D8 00276138 7C 08 02 A6 */ mflr r0 +/* 802791DC 0027613C 90 01 02 34 */ stw r0, 0x234(r1) +/* 802791E0 00276140 38 00 00 00 */ li r0, 0 +/* 802791E4 00276144 BF 21 02 14 */ stmw r25, 0x214(r1) +/* 802791E8 00276148 7C 7D 1B 78 */ mr r29, r3 +/* 802791EC 0027614C 7C 9E 23 78 */ mr r30, r4 +/* 802791F0 00276150 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802791F4 00276154 38 80 00 1A */ li r4, 0x1a +/* 802791F8 00276158 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802791FC 0027615C 90 01 00 DC */ stw r0, 0xdc(r1) +/* 80279200 00276160 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80279204 00276164 4B ED D5 B5 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 80279208 00276168 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 8027920C 0027616C 3C 60 80 3F */ lis r3, lbl_803EAAA8@ha +/* 80279210 00276170 3B 83 AA A8 */ addi r28, r3, lbl_803EAAA8@l +/* 80279214 00276174 3B 61 01 70 */ addi r27, r1, 0x170 +/* 80279218 00276178 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 8027921C 0027617C 3B 41 01 F8 */ addi r26, r1, 0x1f8 +/* 80279220 00276180 3B 20 00 00 */ li r25, 0 +lbl_80279224: +/* 80279224 00276184 80 9C 00 00 */ lwz r4, 0(r28) +/* 80279228 00276188 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027922C 0027618C 4B D8 BA 8D */ bl string_l__4rstlFPCc +/* 80279230 00276190 80 9C 00 04 */ lwz r4, 4(r28) +/* 80279234 00276194 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80279238 00276198 4B D8 BA 81 */ bl string_l__4rstlFPCc +/* 8027923C 0027619C 80 9C 00 00 */ lwz r4, 0(r28) +/* 80279240 002761A0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80279244 002761A4 4B D8 BA 75 */ bl string_l__4rstlFPCc +/* 80279248 002761A8 80 9C 00 04 */ lwz r4, 4(r28) +/* 8027924C 002761AC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80279250 002761B0 4B D8 BA 69 */ bl string_l__4rstlFPCc +/* 80279254 002761B4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80279258 002761B8 38 81 00 98 */ addi r4, r1, 0x98 +/* 8027925C 002761BC 38 A1 00 88 */ addi r5, r1, 0x88 +/* 80279260 002761C0 4B D8 B9 FD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279264 002761C4 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 80279268 002761C8 7F E4 FB 78 */ mr r4, r31 +/* 8027926C 002761CC C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 80279270 002761D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80279274 002761D4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80279278 002761D8 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8027927C 002761DC D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80279280 002761E0 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80279284 002761E4 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80279288 002761E8 4B DB 55 B1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027928C 002761EC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80279290 002761F0 7F E4 FB 78 */ mr r4, r31 +/* 80279294 002761F4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80279298 002761F8 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 8027929C 002761FC 98 01 00 14 */ stb r0, 0x14(r1) +/* 802792A0 00276200 4B DB 55 99 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802792A4 00276204 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802792A8 00276208 38 61 01 44 */ addi r3, r1, 0x144 +/* 802792AC 0027620C C0 22 BC D4 */ lfs f1, lbl_805AD9F4@sda21(r2) +/* 802792B0 00276210 38 81 00 1C */ addi r4, r1, 0x1c +/* 802792B4 00276214 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802792B8 00276218 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802792BC 0027621C 38 C1 00 A8 */ addi r6, r1, 0xa8 +/* 802792C0 00276220 39 01 00 78 */ addi r8, r1, 0x78 +/* 802792C4 00276224 38 E0 00 01 */ li r7, 1 +/* 802792C8 00276228 4B F2 F3 0D */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 802792CC 0027622C 80 E1 01 44 */ lwz r7, 0x144(r1) +/* 802792D0 00276230 7F 43 D3 78 */ mr r3, r26 +/* 802792D4 00276234 80 C1 01 48 */ lwz r6, 0x148(r1) +/* 802792D8 00276238 7F 64 DB 78 */ mr r4, r27 +/* 802792DC 0027623C 88 A1 01 4C */ lbz r5, 0x14c(r1) +/* 802792E0 00276240 88 01 01 4D */ lbz r0, 0x14d(r1) +/* 802792E4 00276244 C0 E1 01 50 */ lfs f7, 0x150(r1) +/* 802792E8 00276248 C0 C1 01 54 */ lfs f6, 0x154(r1) +/* 802792EC 0027624C C0 A1 01 58 */ lfs f5, 0x158(r1) +/* 802792F0 00276250 C0 81 01 5C */ lfs f4, 0x15c(r1) +/* 802792F4 00276254 C0 61 01 60 */ lfs f3, 0x160(r1) +/* 802792F8 00276258 C0 41 01 64 */ lfs f2, 0x164(r1) +/* 802792FC 0027625C C0 21 01 68 */ lfs f1, 0x168(r1) +/* 80279300 00276260 C0 01 01 6C */ lfs f0, 0x16c(r1) +/* 80279304 00276264 90 E1 01 CC */ stw r7, 0x1cc(r1) +/* 80279308 00276268 90 C1 01 D0 */ stw r6, 0x1d0(r1) +/* 8027930C 0027626C 98 A1 01 D4 */ stb r5, 0x1d4(r1) +/* 80279310 00276270 98 01 01 D5 */ stb r0, 0x1d5(r1) +/* 80279314 00276274 D0 E1 01 D8 */ stfs f7, 0x1d8(r1) +/* 80279318 00276278 D0 C1 01 DC */ stfs f6, 0x1dc(r1) +/* 8027931C 0027627C D0 A1 01 E0 */ stfs f5, 0x1e0(r1) +/* 80279320 00276280 D0 81 01 E4 */ stfs f4, 0x1e4(r1) +/* 80279324 00276284 D0 61 01 E8 */ stfs f3, 0x1e8(r1) +/* 80279328 00276288 D0 41 01 EC */ stfs f2, 0x1ec(r1) +/* 8027932C 0027628C D0 21 01 F0 */ stfs f1, 0x1f0(r1) +/* 80279330 00276290 D0 01 01 F4 */ stfs f0, 0x1f4(r1) +/* 80279334 00276294 48 0C 4E 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279338 00276298 A0 01 01 80 */ lhz r0, 0x180(r1) +/* 8027933C 0027629C 28 1B 00 00 */ cmplwi r27, 0 +/* 80279340 002762A0 C0 01 01 84 */ lfs f0, 0x184(r1) +/* 80279344 002762A4 B0 01 02 08 */ sth r0, 0x208(r1) +/* 80279348 002762A8 D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 8027934C 002762AC 41 82 00 0C */ beq lbl_80279358 +/* 80279350 002762B0 7F 63 DB 78 */ mr r3, r27 +/* 80279354 002762B4 48 0C 47 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80279358: +/* 80279358 002762B8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8027935C 002762BC 48 0C 47 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279360 002762C0 38 61 00 88 */ addi r3, r1, 0x88 +/* 80279364 002762C4 48 0C 47 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279368 002762C8 38 61 00 98 */ addi r3, r1, 0x98 +/* 8027936C 002762CC 48 0C 47 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279370 002762D0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80279374 002762D4 48 0C 47 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279378 002762D8 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027937C 002762DC 48 0C 47 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279380 002762E0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80279384 002762E4 38 81 01 CC */ addi r4, r1, 0x1cc +/* 80279388 002762E8 4B ED CE A9 */ bl sub_80156230 +/* 8027938C 002762EC 28 1A 00 00 */ cmplwi r26, 0 +/* 80279390 002762F0 41 82 00 0C */ beq lbl_8027939C +/* 80279394 002762F4 7F 43 D3 78 */ mr r3, r26 +/* 80279398 002762F8 48 0C 47 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027939C: +/* 8027939C 002762FC 3B 39 00 01 */ addi r25, r25, 1 +/* 802793A0 00276300 3B 9C 00 14 */ addi r28, r28, 0x14 +/* 802793A4 00276304 28 19 00 17 */ cmplwi r25, 0x17 +/* 802793A8 00276308 41 80 FE 7C */ blt lbl_80279224 +/* 802793AC 0027630C 3C 60 80 3F */ lis r3, lbl_803EAA90@ha +/* 802793B0 00276310 3B 61 01 2C */ addi r27, r1, 0x12c +/* 802793B4 00276314 3B 43 AA 90 */ addi r26, r3, lbl_803EAA90@l +/* 802793B8 00276318 3B 81 01 B4 */ addi r28, r1, 0x1b4 +/* 802793BC 0027631C 3B 20 00 00 */ li r25, 0 +lbl_802793C0: +/* 802793C0 00276320 80 9A 00 00 */ lwz r4, 0(r26) +/* 802793C4 00276324 38 61 00 68 */ addi r3, r1, 0x68 +/* 802793C8 00276328 4B D8 B8 F1 */ bl string_l__4rstlFPCc +/* 802793CC 0027632C 80 9A 00 00 */ lwz r4, 0(r26) +/* 802793D0 00276330 38 61 00 58 */ addi r3, r1, 0x58 +/* 802793D4 00276334 4B D8 B8 E5 */ bl string_l__4rstlFPCc +/* 802793D8 00276338 7F E4 FB 78 */ mr r4, r31 +/* 802793DC 0027633C 38 61 00 08 */ addi r3, r1, 8 +/* 802793E0 00276340 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802793E4 00276344 4B DB 54 55 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802793E8 00276348 88 01 00 08 */ lbz r0, 8(r1) +/* 802793EC 0027634C 38 61 01 00 */ addi r3, r1, 0x100 +/* 802793F0 00276350 C0 3A 00 04 */ lfs f1, 4(r26) +/* 802793F4 00276354 38 81 00 0C */ addi r4, r1, 0xc +/* 802793F8 00276358 98 01 00 0C */ stb r0, 0xc(r1) +/* 802793FC 0027635C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80279400 00276360 C0 42 BC D4 */ lfs f2, lbl_805AD9F4@sda21(r2) +/* 80279404 00276364 4B F2 F4 09 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 80279408 00276368 80 E1 01 00 */ lwz r7, 0x100(r1) +/* 8027940C 0027636C 7F 83 E3 78 */ mr r3, r28 +/* 80279410 00276370 80 C1 01 04 */ lwz r6, 0x104(r1) +/* 80279414 00276374 7F 64 DB 78 */ mr r4, r27 +/* 80279418 00276378 88 A1 01 08 */ lbz r5, 0x108(r1) +/* 8027941C 0027637C 88 01 01 09 */ lbz r0, 0x109(r1) +/* 80279420 00276380 C0 E1 01 0C */ lfs f7, 0x10c(r1) +/* 80279424 00276384 C0 C1 01 10 */ lfs f6, 0x110(r1) +/* 80279428 00276388 C0 A1 01 14 */ lfs f5, 0x114(r1) +/* 8027942C 0027638C C0 81 01 18 */ lfs f4, 0x118(r1) +/* 80279430 00276390 C0 61 01 1C */ lfs f3, 0x11c(r1) +/* 80279434 00276394 C0 41 01 20 */ lfs f2, 0x120(r1) +/* 80279438 00276398 C0 21 01 24 */ lfs f1, 0x124(r1) +/* 8027943C 0027639C C0 01 01 28 */ lfs f0, 0x128(r1) +/* 80279440 002763A0 90 E1 01 88 */ stw r7, 0x188(r1) +/* 80279444 002763A4 90 C1 01 8C */ stw r6, 0x18c(r1) +/* 80279448 002763A8 98 A1 01 90 */ stb r5, 0x190(r1) +/* 8027944C 002763AC 98 01 01 91 */ stb r0, 0x191(r1) +/* 80279450 002763B0 D0 E1 01 94 */ stfs f7, 0x194(r1) +/* 80279454 002763B4 D0 C1 01 98 */ stfs f6, 0x198(r1) +/* 80279458 002763B8 D0 A1 01 9C */ stfs f5, 0x19c(r1) +/* 8027945C 002763BC D0 81 01 A0 */ stfs f4, 0x1a0(r1) +/* 80279460 002763C0 D0 61 01 A4 */ stfs f3, 0x1a4(r1) +/* 80279464 002763C4 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 80279468 002763C8 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 8027946C 002763CC D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 80279470 002763D0 48 0C 4C F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279474 002763D4 A0 01 01 3C */ lhz r0, 0x13c(r1) +/* 80279478 002763D8 28 1B 00 00 */ cmplwi r27, 0 +/* 8027947C 002763DC C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80279480 002763E0 B0 01 01 C4 */ sth r0, 0x1c4(r1) +/* 80279484 002763E4 D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 80279488 002763E8 41 82 00 0C */ beq lbl_80279494 +/* 8027948C 002763EC 7F 63 DB 78 */ mr r3, r27 +/* 80279490 002763F0 48 0C 46 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80279494: +/* 80279494 002763F4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80279498 002763F8 48 0C 46 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027949C 002763FC 38 61 00 68 */ addi r3, r1, 0x68 +/* 802794A0 00276400 48 0C 46 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802794A4 00276404 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802794A8 00276408 38 81 01 88 */ addi r4, r1, 0x188 +/* 802794AC 0027640C 4B ED CD 85 */ bl sub_80156230 +/* 802794B0 00276410 28 1C 00 00 */ cmplwi r28, 0 +/* 802794B4 00276414 41 82 00 0C */ beq lbl_802794C0 +/* 802794B8 00276418 7F 83 E3 78 */ mr r3, r28 +/* 802794BC 0027641C 48 0C 46 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802794C0: +/* 802794C0 00276420 3B 39 00 01 */ addi r25, r25, 1 +/* 802794C4 00276424 3B 5A 00 08 */ addi r26, r26, 8 +/* 802794C8 00276428 28 19 00 03 */ cmplwi r25, 3 +/* 802794CC 0027642C 41 80 FE F4 */ blt lbl_802793C0 +/* 802794D0 00276430 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 802794D4 00276434 38 60 00 18 */ li r3, 0x18 +/* 802794D8 00276438 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 802794DC 0027643C 38 A0 00 00 */ li r5, 0 +/* 802794E0 00276440 38 84 02 20 */ addi r4, r4, 0x220 +/* 802794E4 00276444 48 09 C3 89 */ bl __nw__FUlPCcPCc +/* 802794E8 00276448 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802794EC 0027644C 41 82 00 3C */ beq lbl_80279528 +/* 802794F0 00276450 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 802794F4 00276454 7F C4 F3 78 */ mr r4, r30 +/* 802794F8 00276458 81 3D 00 04 */ lwz r9, 4(r29) +/* 802794FC 0027645C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80279500 00276460 54 08 CF FE */ rlwinm r8, r0, 0x19, 0x1f, 0x1f +/* 80279504 00276464 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80279508 00276468 91 21 00 34 */ stw r9, 0x34(r1) +/* 8027950C 0027646C 38 E1 00 D4 */ addi r7, r1, 0xd4 +/* 80279510 00276470 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80279514 00276474 91 21 00 30 */ stw r9, 0x30(r1) +/* 80279518 00276478 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8027951C 0027647C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80279520 00276480 4B F2 E4 11 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 80279524 00276484 7C 7C 1B 78 */ mr r28, r3 +lbl_80279528: +/* 80279528 00276488 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 8027952C 0027648C 38 80 00 01 */ li r4, 1 +/* 80279530 00276490 4B F2 E3 AD */ bl sub_801a78dc +/* 80279534 00276494 93 9D 05 6C */ stw r28, 0x56c(r29) +/* 80279538 00276498 3B 20 00 00 */ li r25, 0 +/* 8027953C 0027649C 48 00 00 AC */ b lbl_802795E8 +lbl_80279540: +/* 80279540 002764A0 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 80279544 002764A4 7F 24 CB 78 */ mr r4, r25 +/* 80279548 002764A8 4B F2 DC F1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8027954C 002764AC 80 82 BB E4 */ lwz r4, lbl_805AD904@sda21(r2) +/* 80279550 002764B0 7C 7C 1B 78 */ mr r28, r3 +/* 80279554 002764B4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80279558 002764B8 4B D8 B7 61 */ bl string_l__4rstlFPCc +/* 8027955C 002764BC 38 7C 00 2C */ addi r3, r28, 0x2c +/* 80279560 002764C0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80279564 002764C4 4B DD 90 7D */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 80279568 002764C8 7C 7F 1B 78 */ mr r31, r3 +/* 8027956C 002764CC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80279570 002764D0 48 0C 45 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279574 002764D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80279578 002764D8 41 82 00 0C */ beq lbl_80279584 +/* 8027957C 002764DC A0 1C 00 3C */ lhz r0, 0x3c(r28) +/* 80279580 002764E0 B0 1D 08 CC */ sth r0, 0x8cc(r29) +lbl_80279584: +/* 80279584 002764E4 A0 1C 00 3C */ lhz r0, 0x3c(r28) +/* 80279588 002764E8 7F C3 F3 78 */ mr r3, r30 +/* 8027958C 002764EC 38 81 00 24 */ addi r4, r1, 0x24 +/* 80279590 002764F0 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80279594 002764F4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80279598 002764F8 4B DD 2F DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027959C 002764FC 7C 64 1B 78 */ mr r4, r3 +/* 802795A0 00276500 38 61 00 40 */ addi r3, r1, 0x40 +/* 802795A4 00276504 4B E3 5D A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802795A8 00276508 83 43 00 04 */ lwz r26, 4(r3) +/* 802795AC 0027650C 28 1A 00 00 */ cmplwi r26, 0 +/* 802795B0 00276510 41 82 00 34 */ beq lbl_802795E4 +/* 802795B4 00276514 A0 7C 00 3C */ lhz r3, 0x3c(r28) +/* 802795B8 00276518 A0 1D 10 46 */ lhz r0, 0x1046(r29) +/* 802795BC 0027651C 7C 03 00 40 */ cmplw r3, r0 +/* 802795C0 00276520 41 82 00 24 */ beq lbl_802795E4 +/* 802795C4 00276524 7F A3 EB 78 */ mr r3, r29 +/* 802795C8 00276528 81 9D 00 00 */ lwz r12, 0(r29) +/* 802795CC 0027652C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802795D0 00276530 7D 89 03 A6 */ mtctr r12 +/* 802795D4 00276534 4E 80 04 21 */ bctrl +/* 802795D8 00276538 7C 64 1B 78 */ mr r4, r3 +/* 802795DC 0027653C 7F 43 D3 78 */ mr r3, r26 +/* 802795E0 00276540 4B F2 F5 B9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +lbl_802795E4: +/* 802795E4 00276544 3B 39 00 01 */ addi r25, r25, 1 +lbl_802795E8: +/* 802795E8 00276548 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 802795EC 0027654C 4B F2 DC 5D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 802795F0 00276550 7C 19 18 40 */ cmplw r25, r3 +/* 802795F4 00276554 41 80 FF 4C */ blt lbl_80279540 +/* 802795F8 00276558 38 00 00 00 */ li r0, 0 +/* 802795FC 0027655C 80 AD 98 68 */ lwz r5, lbl_805A8428@sda21(r13) +/* 80279600 00276560 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80279604 00276564 38 60 00 00 */ li r3, 0 +/* 80279608 00276568 38 80 00 01 */ li r4, 1 +/* 8027960C 0027656C 90 01 00 38 */ stw r0, 0x38(r1) +/* 80279610 00276570 48 11 08 E5 */ bl __shl2i +/* 80279614 00276574 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80279618 00276578 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 8027961C 0027657C 7C 00 1B 78 */ or r0, r0, r3 +/* 80279620 00276580 80 AD 98 6C */ lwz r5, lbl_805A842C@sda21(r13) +/* 80279624 00276584 7C C4 23 78 */ or r4, r6, r4 +/* 80279628 00276588 90 01 00 38 */ stw r0, 0x38(r1) +/* 8027962C 0027658C 38 60 00 00 */ li r3, 0 +/* 80279630 00276590 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80279634 00276594 38 80 00 01 */ li r4, 1 +/* 80279638 00276598 48 11 08 BD */ bl __shl2i +/* 8027963C 0027659C 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80279640 002765A0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80279644 002765A4 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 80279648 002765A8 7C 00 1B 78 */ or r0, r0, r3 +/* 8027964C 002765AC 7C C3 23 78 */ or r3, r6, r4 +/* 80279650 002765B0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80279654 002765B4 7F C4 F3 78 */ mr r4, r30 +/* 80279658 002765B8 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8027965C 002765BC 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 80279660 002765C0 4B F2 DB F1 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList +/* 80279664 002765C4 80 AD 98 74 */ lwz r5, lbl_805A8434@sda21(r13) +/* 80279668 002765C8 38 60 00 00 */ li r3, 0 +/* 8027966C 002765CC 38 80 00 01 */ li r4, 1 +/* 80279670 002765D0 48 11 08 85 */ bl __shl2i +/* 80279674 002765D4 80 AD 98 78 */ lwz r5, lbl_805A8438@sda21(r13) +/* 80279678 002765D8 7C 9F 23 78 */ mr r31, r4 +/* 8027967C 002765DC 7C 7C 1B 78 */ mr r28, r3 +/* 80279680 002765E0 38 60 00 00 */ li r3, 0 +/* 80279684 002765E4 38 80 00 01 */ li r4, 1 +/* 80279688 002765E8 48 11 08 6D */ bl __shl2i +/* 8027968C 002765EC 80 AD 98 7C */ lwz r5, lbl_805A843C@sda21(r13) +/* 80279690 002765F0 7F FF 23 78 */ or r31, r31, r4 +/* 80279694 002765F4 7F 9C 1B 78 */ or r28, r28, r3 +/* 80279698 002765F8 38 60 00 00 */ li r3, 0 +/* 8027969C 002765FC 38 80 00 01 */ li r4, 1 +/* 802796A0 00276600 48 11 08 55 */ bl __shl2i +/* 802796A4 00276604 80 AD 98 70 */ lwz r5, lbl_805A8430@sda21(r13) +/* 802796A8 00276608 7F FF 23 78 */ or r31, r31, r4 +/* 802796AC 0027660C 7F 9C 1B 78 */ or r28, r28, r3 +/* 802796B0 00276610 38 60 00 00 */ li r3, 0 +/* 802796B4 00276614 38 80 00 01 */ li r4, 1 +/* 802796B8 00276618 48 11 08 3D */ bl __shl2i +/* 802796BC 0027661C 38 00 00 03 */ li r0, 3 +/* 802796C0 00276620 90 81 00 EC */ stw r4, 0xec(r1) +/* 802796C4 00276624 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 802796C8 00276628 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802796CC 0027662C 7F A3 EB 78 */ mr r3, r29 +/* 802796D0 00276630 93 E1 00 F4 */ stw r31, 0xf4(r1) +/* 802796D4 00276634 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 802796D8 00276638 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802796DC 0027663C 4B DD A1 C5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 802796E0 00276640 7F A3 EB 78 */ mr r3, r29 +/* 802796E4 00276644 7F C5 F3 78 */ mr r5, r30 +/* 802796E8 00276648 38 80 00 12 */ li r4, 0x12 +/* 802796EC 0027664C 4B DD AC 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802796F0 00276650 7F A3 EB 78 */ mr r3, r29 +/* 802796F4 00276654 7F C7 F3 78 */ mr r7, r30 +/* 802796F8 00276658 38 80 00 13 */ li r4, 0x13 +/* 802796FC 0027665C 38 A0 00 29 */ li r5, 0x29 +/* 80279700 00276660 38 C0 00 28 */ li r6, 0x28 +/* 80279704 00276664 4B DD A6 E9 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80279708 00276668 7F A3 EB 78 */ mr r3, r29 +/* 8027970C 0027666C 7F C4 F3 78 */ mr r4, r30 +/* 80279710 00276670 4B FF F1 B9 */ bl sub_802788c8 +/* 80279714 00276674 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80279718 00276678 38 80 FF FF */ li r4, -1 +/* 8027971C 0027667C 4B ED CC 11 */ bl sub_8015632c +/* 80279720 00276680 BB 21 02 14 */ lmw r25, 0x214(r1) +/* 80279724 00276684 80 01 02 34 */ lwz r0, 0x234(r1) +/* 80279728 00276688 7C 08 03 A6 */ mtlr r0 +/* 8027972C 0027668C 38 21 02 30 */ addi r1, r1, 0x230 +/* 80279730 00276690 4E 80 00 20 */ blr + +.global ProjectileInfo__16CMetroidPrimeExoFv +ProjectileInfo__16CMetroidPrimeExoFv: +/* 80279734 00276694 80 03 09 2C */ lwz r0, 0x92c(r3) +/* 80279738 00276698 2C 00 00 05 */ cmpwi r0, 5 +/* 8027973C 0027669C 41 82 00 1C */ beq lbl_80279758 +/* 80279740 002766A0 40 80 00 20 */ bge lbl_80279760 +/* 80279744 002766A4 2C 00 00 02 */ cmpwi r0, 2 +/* 80279748 002766A8 40 80 00 08 */ bge lbl_80279750 +/* 8027974C 002766AC 48 00 00 14 */ b lbl_80279760 +lbl_80279750: +/* 80279750 002766B0 38 63 0C 78 */ addi r3, r3, 0xc78 +/* 80279754 002766B4 4E 80 00 20 */ blr +lbl_80279758: +/* 80279758 002766B8 38 63 0D 74 */ addi r3, r3, 0xd74 +/* 8027975C 002766BC 4E 80 00 20 */ blr +lbl_80279760: +/* 80279760 002766C0 38 60 00 00 */ li r3, 0 +/* 80279764 002766C4 4E 80 00 20 */ blr + +.global Think__16CMetroidPrimeExoFfR13CStateManager +Think__16CMetroidPrimeExoFfR13CStateManager: +/* 80279768 002766C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027976C 002766CC 7C 08 02 A6 */ mflr r0 +/* 80279770 002766D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80279774 002766D4 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80279778 002766D8 FF E0 08 90 */ fmr f31, f1 +/* 8027977C 002766DC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80279780 002766E0 7C 9F 23 78 */ mr r31, r4 +/* 80279784 002766E4 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80279788 002766E8 7C 7E 1B 78 */ mr r30, r3 +/* 8027978C 002766EC 4B E0 03 8D */ bl Think__10CPatternedFfR13CStateManager +/* 80279790 002766F0 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80279794 002766F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80279798 002766F8 41 82 00 D0 */ beq lbl_80279868 +/* 8027979C 002766FC 7F C3 F3 78 */ mr r3, r30 +/* 802797A0 00276700 7F E4 FB 78 */ mr r4, r31 +/* 802797A4 00276704 4B FF CD 85 */ bl sub_80276528 +/* 802797A8 00276708 FC 20 F8 90 */ fmr f1, f31 +/* 802797AC 0027670C 7F C3 F3 78 */ mr r3, r30 +/* 802797B0 00276710 7F E4 FB 78 */ mr r4, r31 +/* 802797B4 00276714 4B FF F4 25 */ bl sub_80278bd8 +/* 802797B8 00276718 FC 20 F8 90 */ fmr f1, f31 +/* 802797BC 0027671C 7F C3 F3 78 */ mr r3, r30 +/* 802797C0 00276720 7F E4 FB 78 */ mr r4, r31 +/* 802797C4 00276724 4B FF F7 51 */ bl sub_80278f14 +/* 802797C8 00276728 7F C3 F3 78 */ mr r3, r30 +/* 802797CC 0027672C 7F E4 FB 78 */ mr r4, r31 +/* 802797D0 00276730 4B FF F1 7D */ bl sub_8027894c +/* 802797D4 00276734 FC 20 F8 90 */ fmr f1, f31 +/* 802797D8 00276738 7F C3 F3 78 */ mr r3, r30 +/* 802797DC 0027673C 7F E4 FB 78 */ mr r4, r31 +/* 802797E0 00276740 4B FF E8 65 */ bl sub_80278044 +/* 802797E4 00276744 FC 20 F8 90 */ fmr f1, f31 +/* 802797E8 00276748 7F C3 F3 78 */ mr r3, r30 +/* 802797EC 0027674C 4B FF E9 71 */ bl sub_8027815c +/* 802797F0 00276750 FC 20 F8 90 */ fmr f1, f31 +/* 802797F4 00276754 7F C3 F3 78 */ mr r3, r30 +/* 802797F8 00276758 7F E4 FB 78 */ mr r4, r31 +/* 802797FC 0027675C 4B FF DD 75 */ bl sub_80277570 +/* 80279800 00276760 FC 20 F8 90 */ fmr f1, f31 +/* 80279804 00276764 7F C3 F3 78 */ mr r3, r30 +/* 80279808 00276768 7F E4 FB 78 */ mr r4, r31 +/* 8027980C 0027676C 4B FF B6 61 */ bl sub_80274e6c +/* 80279810 00276770 FC 20 F8 90 */ fmr f1, f31 +/* 80279814 00276774 7F C3 F3 78 */ mr r3, r30 +/* 80279818 00276778 7F E4 FB 78 */ mr r4, r31 +/* 8027981C 0027677C 4B FF A0 F5 */ bl sub_80273910 +/* 80279820 00276780 FC 20 F8 90 */ fmr f1, f31 +/* 80279824 00276784 7F C3 F3 78 */ mr r3, r30 +/* 80279828 00276788 7F E4 FB 78 */ mr r4, r31 +/* 8027982C 0027678C 4B FF A6 E5 */ bl sub_80273f10 +/* 80279830 00276790 7F C3 F3 78 */ mr r3, r30 +/* 80279834 00276794 7F E4 FB 78 */ mr r4, r31 +/* 80279838 00276798 4B FF E5 F9 */ bl sub_80277e30 +/* 8027983C 0027679C FC 20 F8 90 */ fmr f1, f31 +/* 80279840 002767A0 7F C3 F3 78 */ mr r3, r30 +/* 80279844 002767A4 4B FF BF 3D */ bl sub_80275780 +/* 80279848 002767A8 FC 20 F8 90 */ fmr f1, f31 +/* 8027984C 002767AC 7F C3 F3 78 */ mr r3, r30 +/* 80279850 002767B0 7F E4 FB 78 */ mr r4, r31 +/* 80279854 002767B4 4B FF C9 11 */ bl sub_80276164 +/* 80279858 002767B8 FC 20 F8 90 */ fmr f1, f31 +/* 8027985C 002767BC 7F C3 F3 78 */ mr r3, r30 +/* 80279860 002767C0 7F E4 FB 78 */ mr r4, r31 +/* 80279864 002767C4 4B FF C5 F1 */ bl sub_80275e54 +lbl_80279868: +/* 80279868 002767C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027986C 002767CC CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80279870 002767D0 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80279874 002767D4 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80279878 002767D8 7C 08 03 A6 */ mtlr r0 +/* 8027987C 002767DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80279880 002767E0 4E 80 00 20 */ blr + +.global PreThink__16CMetroidPrimeExoFfR13CStateManager +PreThink__16CMetroidPrimeExoFfR13CStateManager: +/* 80279884 002767E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80279888 002767E8 7C 08 02 A6 */ mflr r0 +/* 8027988C 002767EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80279890 002767F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80279894 002767F4 7C 9F 23 78 */ mr r31, r4 +/* 80279898 002767F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027989C 002767FC 7C 7E 1B 78 */ mr r30, r3 +/* 802798A0 00276800 4B DF E0 F1 */ bl PreThink__10CPatternedFfR13CStateManager +/* 802798A4 00276804 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 802798A8 00276808 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802798AC 0027680C 41 82 00 54 */ beq lbl_80279900 +/* 802798B0 00276810 A0 1E 08 CC */ lhz r0, 0x8cc(r30) +/* 802798B4 00276814 7F E3 FB 78 */ mr r3, r31 +/* 802798B8 00276818 38 81 00 08 */ addi r4, r1, 8 +/* 802798BC 0027681C B0 01 00 08 */ sth r0, 8(r1) +/* 802798C0 00276820 4B DD 2C E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802798C4 00276824 7C 64 1B 78 */ mr r4, r3 +/* 802798C8 00276828 38 61 00 0C */ addi r3, r1, 0xc +/* 802798CC 0027682C 4B E3 5A 81 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802798D0 00276830 80 63 00 04 */ lwz r3, 4(r3) +/* 802798D4 00276834 28 03 00 00 */ cmplwi r3, 0 +/* 802798D8 00276838 41 82 00 28 */ beq lbl_80279900 +/* 802798DC 0027683C 81 83 00 00 */ lwz r12, 0(r3) +/* 802798E0 00276840 7F E4 FB 78 */ mr r4, r31 +/* 802798E4 00276844 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802798E8 00276848 7D 89 03 A6 */ mtctr r12 +/* 802798EC 0027684C 4E 80 04 21 */ bctrl +/* 802798F0 00276850 28 03 00 00 */ cmplwi r3, 0 +/* 802798F4 00276854 41 82 00 0C */ beq lbl_80279900 +/* 802798F8 00276858 C0 03 00 00 */ lfs f0, 0(r3) +/* 802798FC 0027685C D0 1E 08 C8 */ stfs f0, 0x8c8(r30) +lbl_80279900: +/* 80279900 00276860 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80279904 00276864 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80279908 00276868 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027990C 0027686C 7C 08 03 A6 */ mtlr r0 +/* 80279910 00276870 38 21 00 20 */ addi r1, r1, 0x20 +/* 80279914 00276874 4E 80 00 20 */ blr + +.global DoUserAnimEvent__16CMetroidPrimeExoFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__16CMetroidPrimeExoFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80279918 00276878 94 21 F9 60 */ stwu r1, -0x6a0(r1) +/* 8027991C 0027687C 7C 08 02 A6 */ mflr r0 +/* 80279920 00276880 90 01 06 A4 */ stw r0, 0x6a4(r1) +/* 80279924 00276884 DB E1 06 90 */ stfd f31, 0x690(r1) +/* 80279928 00276888 F3 E1 06 98 */ psq_st f31, 1688(r1), 0, qr0 +/* 8027992C 0027688C DB C1 06 80 */ stfd f30, 0x680(r1) +/* 80279930 00276890 F3 C1 06 88 */ psq_st f30, 1672(r1), 0, qr0 +/* 80279934 00276894 DB A1 06 70 */ stfd f29, 0x670(r1) +/* 80279938 00276898 F3 A1 06 78 */ psq_st f29, 1656(r1), 0, qr0 +/* 8027993C 0027689C DB 81 06 60 */ stfd f28, 0x660(r1) +/* 80279940 002768A0 F3 81 06 68 */ psq_st f28, 1640(r1), 0, qr0 +/* 80279944 002768A4 BE A1 06 34 */ stmw r21, 0x634(r1) +/* 80279948 002768A8 7C DD 33 78 */ mr r29, r6 +/* 8027994C 002768AC FF E0 08 90 */ fmr f31, f1 +/* 80279950 002768B0 2C 1D 00 10 */ cmpwi r29, 0x10 +/* 80279954 002768B4 7C 7F 1B 78 */ mr r31, r3 +/* 80279958 002768B8 7C 9E 23 78 */ mr r30, r4 +/* 8027995C 002768BC 7C BC 2B 78 */ mr r28, r5 +/* 80279960 002768C0 3B 40 00 00 */ li r26, 0 +/* 80279964 002768C4 41 82 09 D4 */ beq lbl_8027A338 +/* 80279968 002768C8 40 80 00 28 */ bge lbl_80279990 +/* 8027996C 002768CC 2C 1D 00 08 */ cmpwi r29, 8 +/* 80279970 002768D0 41 82 09 4C */ beq lbl_8027A2BC +/* 80279974 002768D4 40 80 00 10 */ bge lbl_80279984 +/* 80279978 002768D8 2C 1D 00 00 */ cmpwi r29, 0 +/* 8027997C 002768DC 41 82 00 2C */ beq lbl_802799A8 +/* 80279980 002768E0 48 00 12 C8 */ b lbl_8027AC48 +lbl_80279984: +/* 80279984 002768E4 2C 1D 00 0A */ cmpwi r29, 0xa +/* 80279988 002768E8 40 80 12 C0 */ bge lbl_8027AC48 +/* 8027998C 002768EC 48 00 09 78 */ b lbl_8027A304 +lbl_80279990: +/* 80279990 002768F0 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 80279994 002768F4 41 82 12 9C */ beq lbl_8027AC30 +/* 80279998 002768F8 40 80 12 B0 */ bge lbl_8027AC48 +/* 8027999C 002768FC 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 802799A0 00276900 40 80 12 10 */ bge lbl_8027ABB0 +/* 802799A4 00276904 48 00 12 A4 */ b lbl_8027AC48 +lbl_802799A8: +/* 802799A8 00276908 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 802799AC 0027690C 2C 00 00 06 */ cmpwi r0, 6 +/* 802799B0 00276910 41 82 00 28 */ beq lbl_802799D8 +/* 802799B4 00276914 40 80 00 18 */ bge lbl_802799CC +/* 802799B8 00276918 2C 00 00 05 */ cmpwi r0, 5 +/* 802799BC 0027691C 40 80 03 38 */ bge lbl_80279CF4 +/* 802799C0 00276920 2C 00 00 02 */ cmpwi r0, 2 +/* 802799C4 00276924 40 80 06 1C */ bge lbl_80279FE0 +/* 802799C8 00276928 48 00 08 EC */ b lbl_8027A2B4 +lbl_802799CC: +/* 802799CC 0027692C 2C 00 00 0C */ cmpwi r0, 0xc +/* 802799D0 00276930 41 82 08 E0 */ beq lbl_8027A2B0 +/* 802799D4 00276934 48 00 08 E0 */ b lbl_8027A2B4 +lbl_802799D8: +/* 802799D8 00276938 7F E4 FB 78 */ mr r4, r31 +/* 802799DC 0027693C 38 61 04 04 */ addi r3, r1, 0x404 +/* 802799E0 00276940 38 BC 00 3C */ addi r5, r28, 0x3c +/* 802799E4 00276944 4B DF EF 95 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802799E8 00276948 38 61 05 24 */ addi r3, r1, 0x524 +/* 802799EC 0027694C 38 81 04 04 */ addi r4, r1, 0x404 +/* 802799F0 00276950 48 09 91 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802799F4 00276954 C0 81 05 30 */ lfs f4, 0x530(r1) +/* 802799F8 00276958 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802799FC 0027695C 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80279A00 00276960 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80279A04 00276964 C0 61 05 40 */ lfs f3, 0x540(r1) +/* 80279A08 00276968 38 61 03 D4 */ addi r3, r1, 0x3d4 +/* 80279A0C 0027696C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80279A10 00276970 38 81 02 5C */ addi r4, r1, 0x25c +/* 80279A14 00276974 C0 41 05 50 */ lfs f2, 0x550(r1) +/* 80279A18 00276978 C0 22 BC 9C */ lfs f1, lbl_805AD9BC@sda21(r2) +/* 80279A1C 0027697C EC C3 00 2A */ fadds f6, f3, f0 +/* 80279A20 00276980 EC 04 00 2A */ fadds f0, f4, f0 +/* 80279A24 00276984 C1 05 00 60 */ lfs f8, 0x60(r5) +/* 80279A28 00276988 EC A2 08 2A */ fadds f5, f2, f1 +/* 80279A2C 0027698C C0 E5 00 50 */ lfs f7, 0x50(r5) +/* 80279A30 00276990 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 80279A34 00276994 D0 81 02 50 */ stfs f4, 0x250(r1) +/* 80279A38 00276998 38 A1 02 44 */ addi r5, r1, 0x244 +/* 80279A3C 0027699C D0 21 02 44 */ stfs f1, 0x244(r1) +/* 80279A40 002769A0 D0 E1 02 48 */ stfs f7, 0x248(r1) +/* 80279A44 002769A4 D1 01 02 4C */ stfs f8, 0x24c(r1) +/* 80279A48 002769A8 D0 61 02 54 */ stfs f3, 0x254(r1) +/* 80279A4C 002769AC D0 41 02 58 */ stfs f2, 0x258(r1) +/* 80279A50 002769B0 D0 01 02 5C */ stfs f0, 0x25c(r1) +/* 80279A54 002769B4 D0 C1 02 60 */ stfs f6, 0x260(r1) +/* 80279A58 002769B8 D0 A1 02 64 */ stfs f5, 0x264(r1) +/* 80279A5C 002769BC 48 09 A0 B5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80279A60 002769C0 38 61 04 F4 */ addi r3, r1, 0x4f4 +/* 80279A64 002769C4 38 81 03 D4 */ addi r4, r1, 0x3d4 +/* 80279A68 002769C8 48 09 91 0D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279A6C 002769CC 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80279A70 002769D0 C0 22 BC D8 */ lfs f1, lbl_805AD9F8@sda21(r2) +/* 80279A74 002769D4 C0 42 BC DC */ lfs f2, lbl_805AD9FC@sda21(r2) +/* 80279A78 002769D8 48 09 8A CD */ bl Range__9CRandom16Fff +/* 80279A7C 002769DC C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) +/* 80279A80 002769E0 38 61 04 F4 */ addi r3, r1, 0x4f4 +/* 80279A84 002769E4 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80279A88 002769E8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80279A8C 002769EC D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80279A90 002769F0 48 09 9A 2D */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 80279A94 002769F4 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80279A98 002769F8 3B 40 00 00 */ li r26, 0 +/* 80279A9C 002769FC 38 63 56 18 */ addi r3, r3, lbl_803D5618@l +/* 80279AA0 00276A00 3B 20 00 00 */ li r25, 0 +/* 80279AA4 00276A04 38 83 02 20 */ addi r4, r3, 0x220 +/* 80279AA8 00276A08 3B 00 00 00 */ li r24, 0 +/* 80279AAC 00276A0C 3A E0 00 00 */ li r23, 0 +/* 80279AB0 00276A10 3A C0 00 00 */ li r22, 0 +/* 80279AB4 00276A14 3A A0 00 00 */ li r21, 0 +/* 80279AB8 00276A18 38 60 01 98 */ li r3, 0x198 +/* 80279ABC 00276A1C 38 A0 00 00 */ li r5, 0 +/* 80279AC0 00276A20 48 09 BD AD */ bl __nw__FUlPCcPCc +/* 80279AC4 00276A24 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80279AC8 00276A28 41 82 01 9C */ beq lbl_80279C64 +/* 80279ACC 00276A2C 80 DF 09 34 */ lwz r6, 0x934(r31) +/* 80279AD0 00276A30 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80279AD4 00276A34 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80279AD8 00276A38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80279ADC 00276A3C 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80279AE0 00276A40 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80279AE4 00276A44 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 80279AE8 00276A48 90 C1 00 C4 */ stw r6, 0xc4(r1) +/* 80279AEC 00276A4C 81 84 00 00 */ lwz r12, 0(r4) +/* 80279AF0 00276A50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80279AF4 00276A54 7D 89 03 A6 */ mtctr r12 +/* 80279AF8 00276A58 4E 80 04 21 */ bctrl +/* 80279AFC 00276A5C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80279B00 00276A60 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80279B04 00276A64 3A C0 00 01 */ li r22, 1 +/* 80279B08 00276A68 48 0C 73 A1 */ bl __ct__6CTokenFRC6CToken +/* 80279B0C 00276A6C 80 DF 09 38 */ lwz r6, 0x938(r31) +/* 80279B10 00276A70 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80279B14 00276A74 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80279B18 00276A78 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80279B1C 00276A7C 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 80279B20 00276A80 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80279B24 00276A84 38 A1 00 D8 */ addi r5, r1, 0xd8 +/* 80279B28 00276A88 3A A0 00 01 */ li r21, 1 +/* 80279B2C 00276A8C 90 C1 00 DC */ stw r6, 0xdc(r1) +/* 80279B30 00276A90 81 84 00 00 */ lwz r12, 0(r4) +/* 80279B34 00276A94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80279B38 00276A98 7D 89 03 A6 */ mtctr r12 +/* 80279B3C 00276A9C 4E 80 04 21 */ bctrl +/* 80279B40 00276AA0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80279B44 00276AA4 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80279B48 00276AA8 3B 00 00 01 */ li r24, 1 +/* 80279B4C 00276AAC 48 0C 73 5D */ bl __ct__6CTokenFRC6CToken +/* 80279B50 00276AB0 80 DF 09 3C */ lwz r6, 0x93c(r31) +/* 80279B54 00276AB4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80279B58 00276AB8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80279B5C 00276ABC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80279B60 00276AC0 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 80279B64 00276AC4 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80279B68 00276AC8 38 A1 00 F0 */ addi r5, r1, 0xf0 +/* 80279B6C 00276ACC 3A E0 00 01 */ li r23, 1 +/* 80279B70 00276AD0 90 C1 00 F4 */ stw r6, 0xf4(r1) +/* 80279B74 00276AD4 81 84 00 00 */ lwz r12, 0(r4) +/* 80279B78 00276AD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80279B7C 00276ADC 7D 89 03 A6 */ mtctr r12 +/* 80279B80 00276AE0 4E 80 04 21 */ bctrl +/* 80279B84 00276AE4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80279B88 00276AE8 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80279B8C 00276AEC 3B 40 00 01 */ li r26, 1 +/* 80279B90 00276AF0 48 0C 73 19 */ bl __ct__6CTokenFRC6CToken +/* 80279B94 00276AF4 7F C4 F3 78 */ mr r4, r30 +/* 80279B98 00276AF8 38 61 00 78 */ addi r3, r1, 0x78 +/* 80279B9C 00276AFC 3B 20 00 01 */ li r25, 1 +/* 80279BA0 00276B00 4B DD 35 3D */ bl AllocateUniqueId__13CStateManagerFv +/* 80279BA4 00276B04 A0 01 00 78 */ lhz r0, 0x78(r1) +/* 80279BA8 00276B08 38 61 02 80 */ addi r3, r1, 0x280 +/* 80279BAC 00276B0C C0 22 BC 64 */ lfs f1, lbl_805AD984@sda21(r2) +/* 80279BB0 00276B10 38 81 02 2C */ addi r4, r1, 0x22c +/* 80279BB4 00276B14 B0 01 00 7C */ sth r0, 0x7c(r1) +/* 80279BB8 00276B18 38 A1 02 38 */ addi r5, r1, 0x238 +/* 80279BBC 00276B1C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80279BC0 00276B20 80 1F 00 04 */ lwz r0, 4(r31) +/* 80279BC4 00276B24 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80279BC8 00276B28 80 DE 08 4C */ lwz r6, 0x84c(r30) +/* 80279BCC 00276B2C 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80279BD0 00276B30 A0 06 00 08 */ lhz r0, 8(r6) +/* 80279BD4 00276B34 B0 01 00 80 */ sth r0, 0x80(r1) +/* 80279BD8 00276B38 B0 01 00 84 */ sth r0, 0x84(r1) +/* 80279BDC 00276B3C D0 21 02 2C */ stfs f1, 0x22c(r1) +/* 80279BE0 00276B40 D0 21 02 30 */ stfs f1, 0x230(r1) +/* 80279BE4 00276B44 D0 21 02 34 */ stfs f1, 0x234(r1) +/* 80279BE8 00276B48 D0 01 02 38 */ stfs f0, 0x238(r1) +/* 80279BEC 00276B4C D0 01 02 3C */ stfs f0, 0x23c(r1) +/* 80279BF0 00276B50 D0 01 02 40 */ stfs f0, 0x240(r1) +/* 80279BF4 00276B54 48 0B E9 15 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80279BF8 00276B58 38 01 04 F4 */ addi r0, r1, 0x4f4 +/* 80279BFC 00276B5C 38 BF 09 40 */ addi r5, r31, 0x940 +/* 80279C00 00276B60 90 01 00 08 */ stw r0, 8(r1) +/* 80279C04 00276B64 38 00 FF FF */ li r0, -1 +/* 80279C08 00276B68 C0 42 BC E0 */ lfs f2, lbl_805ADA00@sda21(r2) +/* 80279C0C 00276B6C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80279C10 00276B70 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80279C14 00276B74 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80279C18 00276B78 38 C1 00 E0 */ addi r6, r1, 0xe0 +/* 80279C1C 00276B7C 38 E1 00 7C */ addi r7, r1, 0x7c +/* 80279C20 00276B80 90 61 00 10 */ stw r3, 0x10(r1) +/* 80279C24 00276B84 7F 63 DB 78 */ mr r3, r27 +/* 80279C28 00276B88 39 01 00 A4 */ addi r8, r1, 0xa4 +/* 80279C2C 00276B8C 39 21 00 84 */ addi r9, r1, 0x84 +/* 80279C30 00276B90 81 7F 09 64 */ lwz r11, 0x964(r31) +/* 80279C34 00276B94 39 40 00 01 */ li r10, 1 +/* 80279C38 00276B98 91 61 00 14 */ stw r11, 0x14(r1) +/* 80279C3C 00276B9C A1 7F 09 68 */ lhz r11, 0x968(r31) +/* 80279C40 00276BA0 91 61 00 18 */ stw r11, 0x18(r1) +/* 80279C44 00276BA4 A1 7F 09 6A */ lhz r11, 0x96a(r31) +/* 80279C48 00276BA8 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80279C4C 00276BAC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80279C50 00276BB0 C0 1F 09 60 */ lfs f0, 0x960(r31) +/* 80279C54 00276BB4 C0 3F 09 5C */ lfs f1, 0x95c(r31) +/* 80279C58 00276BB8 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80279C5C 00276BBC 4B F7 9D 9D */ bl "__ct__20CIceAttackProjectileF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId9TUniqueIdbRC12CTransform4fRC11CDamageInfoRC6CAABoxff" +/* 80279C60 00276BC0 7C 7B 1B 78 */ mr r27, r3 +lbl_80279C64: +/* 80279C64 00276BC4 7E A0 07 75 */ extsb. r0, r21 +/* 80279C68 00276BC8 41 82 00 10 */ beq lbl_80279C78 +/* 80279C6C 00276BCC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80279C70 00276BD0 38 80 00 00 */ li r4, 0 +/* 80279C74 00276BD4 48 0C 71 CD */ bl __dt__6CTokenFv +lbl_80279C78: +/* 80279C78 00276BD8 7E C0 07 75 */ extsb. r0, r22 +/* 80279C7C 00276BDC 41 82 00 10 */ beq lbl_80279C8C +/* 80279C80 00276BE0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80279C84 00276BE4 38 80 FF FF */ li r4, -1 +/* 80279C88 00276BE8 48 0C 71 B9 */ bl __dt__6CTokenFv +lbl_80279C8C: +/* 80279C8C 00276BEC 7E E0 07 75 */ extsb. r0, r23 +/* 80279C90 00276BF0 41 82 00 10 */ beq lbl_80279CA0 +/* 80279C94 00276BF4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80279C98 00276BF8 38 80 00 00 */ li r4, 0 +/* 80279C9C 00276BFC 48 0C 71 A5 */ bl __dt__6CTokenFv +lbl_80279CA0: +/* 80279CA0 00276C00 7F 00 07 75 */ extsb. r0, r24 +/* 80279CA4 00276C04 41 82 00 10 */ beq lbl_80279CB4 +/* 80279CA8 00276C08 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80279CAC 00276C0C 38 80 FF FF */ li r4, -1 +/* 80279CB0 00276C10 48 0C 71 91 */ bl __dt__6CTokenFv +lbl_80279CB4: +/* 80279CB4 00276C14 7F 20 07 75 */ extsb. r0, r25 +/* 80279CB8 00276C18 41 82 00 10 */ beq lbl_80279CC8 +/* 80279CBC 00276C1C 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80279CC0 00276C20 38 80 00 00 */ li r4, 0 +/* 80279CC4 00276C24 48 0C 71 7D */ bl __dt__6CTokenFv +lbl_80279CC8: +/* 80279CC8 00276C28 7F 40 07 75 */ extsb. r0, r26 +/* 80279CCC 00276C2C 41 82 00 10 */ beq lbl_80279CDC +/* 80279CD0 00276C30 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80279CD4 00276C34 38 80 FF FF */ li r4, -1 +/* 80279CD8 00276C38 48 0C 71 69 */ bl __dt__6CTokenFv +lbl_80279CDC: +/* 80279CDC 00276C3C 38 00 00 01 */ li r0, 1 +/* 80279CE0 00276C40 7F C3 F3 78 */ mr r3, r30 +/* 80279CE4 00276C44 98 1B 01 92 */ stb r0, 0x192(r27) +/* 80279CE8 00276C48 7F 64 DB 78 */ mr r4, r27 +/* 80279CEC 00276C4C 4B DD 30 09 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80279CF0 00276C50 48 00 05 C4 */ b lbl_8027A2B4 +lbl_80279CF4: +/* 80279CF4 00276C54 80 7F 0E B0 */ lwz r3, 0xeb0(r31) +/* 80279CF8 00276C58 54 60 07 BF */ clrlwi. r0, r3, 0x1e +/* 80279CFC 00276C5C 38 63 00 01 */ addi r3, r3, 1 +/* 80279D00 00276C60 90 7F 0E B0 */ stw r3, 0xeb0(r31) +/* 80279D04 00276C64 40 82 02 DC */ bne lbl_80279FE0 +/* 80279D08 00276C68 7F E4 FB 78 */ mr r4, r31 +/* 80279D0C 00276C6C 38 61 03 A4 */ addi r3, r1, 0x3a4 +/* 80279D10 00276C70 38 BC 00 3C */ addi r5, r28, 0x3c +/* 80279D14 00276C74 4B DF EC 65 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279D18 00276C78 38 61 04 C4 */ addi r3, r1, 0x4c4 +/* 80279D1C 00276C7C 38 81 03 A4 */ addi r4, r1, 0x3a4 +/* 80279D20 00276C80 48 09 8E 55 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279D24 00276C84 C1 BF 00 58 */ lfs f13, 0x58(r31) +/* 80279D28 00276C88 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80279D2C 00276C8C C1 9F 00 48 */ lfs f12, 0x48(r31) +/* 80279D30 00276C90 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80279D34 00276C94 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 80279D38 00276C98 38 61 03 74 */ addi r3, r1, 0x374 +/* 80279D3C 00276C9C C0 DF 00 38 */ lfs f6, 0x38(r31) +/* 80279D40 00276CA0 38 81 02 20 */ addi r4, r1, 0x220 +/* 80279D44 00276CA4 ED 20 03 32 */ fmuls f9, f0, f12 +/* 80279D48 00276CA8 C0 62 BC 80 */ lfs f3, lbl_805AD9A0@sda21(r2) +/* 80279D4C 00276CAC EC A0 01 B2 */ fmuls f5, f0, f6 +/* 80279D50 00276CB0 C0 21 04 E8 */ lfs f1, 0x4e8(r1) +/* 80279D54 00276CB4 ED 00 03 72 */ fmuls f8, f0, f13 +/* 80279D58 00276CB8 C0 01 04 C8 */ lfs f0, 0x4c8(r1) +/* 80279D5C 00276CBC C3 C1 04 D0 */ lfs f30, 0x4d0(r1) +/* 80279D60 00276CC0 EC 43 00 32 */ fmuls f2, f3, f0 +/* 80279D64 00276CC4 C3 A1 04 E0 */ lfs f29, 0x4e0(r1) +/* 80279D68 00276CC8 EC E3 00 72 */ fmuls f7, f3, f1 +/* 80279D6C 00276CCC C3 81 04 F0 */ lfs f28, 0x4f0(r1) +/* 80279D70 00276CD0 EC 9E 28 2A */ fadds f4, f30, f5 +/* 80279D74 00276CD4 C0 01 04 D8 */ lfs f0, 0x4d8(r1) +/* 80279D78 00276CD8 ED 7D 48 2A */ fadds f11, f29, f9 +/* 80279D7C 00276CDC D0 C1 01 D8 */ stfs f6, 0x1d8(r1) +/* 80279D80 00276CE0 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80279D84 00276CE4 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 80279D88 00276CE8 ED 5C 40 2A */ fadds f10, f28, f8 +/* 80279D8C 00276CEC D1 81 01 DC */ stfs f12, 0x1dc(r1) +/* 80279D90 00276CF0 EC 7C 38 2A */ fadds f3, f28, f7 +/* 80279D94 00276CF4 D1 A1 01 E0 */ stfs f13, 0x1e0(r1) +/* 80279D98 00276CF8 EC 1E 10 2A */ fadds f0, f30, f2 +/* 80279D9C 00276CFC EC DD 08 2A */ fadds f6, f29, f1 +/* 80279DA0 00276D00 D0 A1 01 E4 */ stfs f5, 0x1e4(r1) +/* 80279DA4 00276D04 D1 21 01 E8 */ stfs f9, 0x1e8(r1) +/* 80279DA8 00276D08 D1 01 01 EC */ stfs f8, 0x1ec(r1) +/* 80279DAC 00276D0C D3 C1 01 F0 */ stfs f30, 0x1f0(r1) +/* 80279DB0 00276D10 D3 A1 01 F4 */ stfs f29, 0x1f4(r1) +/* 80279DB4 00276D14 D3 81 01 F8 */ stfs f28, 0x1f8(r1) +/* 80279DB8 00276D18 D0 81 01 FC */ stfs f4, 0x1fc(r1) +/* 80279DBC 00276D1C D1 61 02 00 */ stfs f11, 0x200(r1) +/* 80279DC0 00276D20 D1 41 02 04 */ stfs f10, 0x204(r1) +/* 80279DC4 00276D24 D0 41 02 08 */ stfs f2, 0x208(r1) +/* 80279DC8 00276D28 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 80279DCC 00276D2C D0 E1 02 10 */ stfs f7, 0x210(r1) +/* 80279DD0 00276D30 D3 C1 02 14 */ stfs f30, 0x214(r1) +/* 80279DD4 00276D34 D3 A1 02 18 */ stfs f29, 0x218(r1) +/* 80279DD8 00276D38 D3 81 02 1C */ stfs f28, 0x21c(r1) +/* 80279DDC 00276D3C D0 01 02 20 */ stfs f0, 0x220(r1) +/* 80279DE0 00276D40 D0 C1 02 24 */ stfs f6, 0x224(r1) +/* 80279DE4 00276D44 D0 61 02 28 */ stfs f3, 0x228(r1) +/* 80279DE8 00276D48 48 09 9D 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80279DEC 00276D4C 38 61 04 94 */ addi r3, r1, 0x494 +/* 80279DF0 00276D50 38 81 03 74 */ addi r4, r1, 0x374 +/* 80279DF4 00276D54 48 09 8D 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279DF8 00276D58 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80279DFC 00276D5C C0 22 BC E4 */ lfs f1, lbl_805ADA04@sda21(r2) +/* 80279E00 00276D60 C0 42 BC A8 */ lfs f2, lbl_805AD9C8@sda21(r2) +/* 80279E04 00276D64 48 09 87 41 */ bl Range__9CRandom16Fff +/* 80279E08 00276D68 C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) +/* 80279E0C 00276D6C 38 61 04 94 */ addi r3, r1, 0x494 +/* 80279E10 00276D70 38 81 00 9C */ addi r4, r1, 0x9c +/* 80279E14 00276D74 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80279E18 00276D78 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80279E1C 00276D7C 48 09 96 A1 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 80279E20 00276D80 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80279E24 00276D84 3A A0 00 00 */ li r21, 0 +/* 80279E28 00276D88 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 80279E2C 00276D8C 38 60 04 18 */ li r3, 0x418 +/* 80279E30 00276D90 38 84 02 20 */ addi r4, r4, 0x220 +/* 80279E34 00276D94 38 A0 00 00 */ li r5, 0 +/* 80279E38 00276D98 48 09 BA 35 */ bl __nw__FUlPCcPCc +/* 80279E3C 00276D9C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80279E40 00276DA0 41 82 00 F4 */ beq lbl_80279F34 +/* 80279E44 00276DA4 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80279E48 00276DA8 38 00 00 00 */ li r0, 0 +/* 80279E4C 00276DAC 98 01 01 D4 */ stb r0, 0x1d4(r1) +/* 80279E50 00276DB0 7F C4 F3 78 */ mr r4, r30 +/* 80279E54 00276DB4 38 61 00 64 */ addi r3, r1, 0x64 +/* 80279E58 00276DB8 3A A0 00 01 */ li r21, 1 +/* 80279E5C 00276DBC D0 01 01 BC */ stfs f0, 0x1bc(r1) +/* 80279E60 00276DC0 D0 01 01 C0 */ stfs f0, 0x1c0(r1) +/* 80279E64 00276DC4 D0 01 01 C4 */ stfs f0, 0x1c4(r1) +/* 80279E68 00276DC8 A0 1F 0E AC */ lhz r0, 0xeac(r31) +/* 80279E6C 00276DCC B0 01 00 74 */ sth r0, 0x74(r1) +/* 80279E70 00276DD0 A0 BF 00 08 */ lhz r5, 8(r31) +/* 80279E74 00276DD4 B0 A1 00 70 */ sth r5, 0x70(r1) +/* 80279E78 00276DD8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80279E7C 00276DDC B0 A1 00 6C */ sth r5, 0x6c(r1) +/* 80279E80 00276DE0 90 01 00 94 */ stw r0, 0x94(r1) +/* 80279E84 00276DE4 90 01 00 98 */ stw r0, 0x98(r1) +/* 80279E88 00276DE8 4B DD 32 55 */ bl AllocateUniqueId__13CStateManagerFv +/* 80279E8C 00276DEC A0 01 00 64 */ lhz r0, 0x64(r1) +/* 80279E90 00276DF0 7F E3 FB 78 */ mr r3, r31 +/* 80279E94 00276DF4 B0 01 00 68 */ sth r0, 0x68(r1) +/* 80279E98 00276DF8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80279E9C 00276DFC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80279EA0 00276E00 7D 89 03 A6 */ mtctr r12 +/* 80279EA4 00276E04 4E 80 04 21 */ bctrl +/* 80279EA8 00276E08 7C 7B 1B 78 */ mr r27, r3 +/* 80279EAC 00276E0C 7F E3 FB 78 */ mr r3, r31 +/* 80279EB0 00276E10 81 9F 00 00 */ lwz r12, 0(r31) +/* 80279EB4 00276E14 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80279EB8 00276E18 7D 89 03 A6 */ mtctr r12 +/* 80279EBC 00276E1C 4E 80 04 21 */ bctrl +/* 80279EC0 00276E20 38 01 00 98 */ addi r0, r1, 0x98 +/* 80279EC4 00276E24 7C 65 1B 78 */ mr r5, r3 +/* 80279EC8 00276E28 90 01 00 08 */ stw r0, 8(r1) +/* 80279ECC 00276E2C 38 01 00 70 */ addi r0, r1, 0x70 +/* 80279ED0 00276E30 3C 80 00 01 */ lis r4, 0x00008400@ha +/* 80279ED4 00276E34 38 7F 0E 70 */ addi r3, r31, 0xe70 +/* 80279ED8 00276E38 90 01 00 0C */ stw r0, 0xc(r1) +/* 80279EDC 00276E3C 38 C4 84 00 */ addi r6, r4, 0x00008400@l +/* 80279EE0 00276E40 38 01 00 74 */ addi r0, r1, 0x74 +/* 80279EE4 00276E44 38 81 01 BC */ addi r4, r1, 0x1bc +/* 80279EE8 00276E48 90 61 00 10 */ stw r3, 0x10(r1) +/* 80279EEC 00276E4C 39 81 01 C8 */ addi r12, r1, 0x1c8 +/* 80279EF0 00276E50 A1 62 C5 FC */ lhz r11, lbl_805AE31C@sda21(r2) +/* 80279EF4 00276E54 7F 43 D3 78 */ mr r3, r26 +/* 80279EF8 00276E58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80279EFC 00276E5C 38 00 00 00 */ li r0, 0 +/* 80279F00 00276E60 38 E1 04 94 */ addi r7, r1, 0x494 +/* 80279F04 00276E64 39 3B 00 0C */ addi r9, r27, 0xc +/* 80279F08 00276E68 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80279F0C 00276E6C 39 41 00 68 */ addi r10, r1, 0x68 +/* 80279F10 00276E70 38 C0 00 09 */ li r6, 9 +/* 80279F14 00276E74 39 00 00 21 */ li r8, 0x21 +/* 80279F18 00276E78 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80279F1C 00276E7C 38 80 00 01 */ li r4, 1 +/* 80279F20 00276E80 91 81 00 20 */ stw r12, 0x20(r1) +/* 80279F24 00276E84 91 61 00 24 */ stw r11, 0x24(r1) +/* 80279F28 00276E88 90 01 00 28 */ stw r0, 0x28(r1) +/* 80279F2C 00276E8C 48 02 67 99 */ bl "__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80279F30 00276E90 7C 7A 1B 78 */ mr r26, r3 +lbl_80279F34: +/* 80279F34 00276E94 7E A0 07 75 */ extsb. r0, r21 +/* 80279F38 00276E98 7F 56 D3 78 */ mr r22, r26 +/* 80279F3C 00276E9C 41 82 00 30 */ beq lbl_80279F6C +/* 80279F40 00276EA0 88 01 01 D4 */ lbz r0, 0x1d4(r1) +/* 80279F44 00276EA4 28 00 00 00 */ cmplwi r0, 0 +/* 80279F48 00276EA8 41 82 00 1C */ beq lbl_80279F64 +/* 80279F4C 00276EAC 34 61 01 C8 */ addic. r3, r1, 0x1c8 +/* 80279F50 00276EB0 41 82 00 14 */ beq lbl_80279F64 +/* 80279F54 00276EB4 28 03 00 00 */ cmplwi r3, 0 +/* 80279F58 00276EB8 41 82 00 0C */ beq lbl_80279F64 +/* 80279F5C 00276EBC 38 80 00 00 */ li r4, 0 +/* 80279F60 00276EC0 48 0C 6E E1 */ bl __dt__6CTokenFv +lbl_80279F64: +/* 80279F64 00276EC4 38 00 00 00 */ li r0, 0 +/* 80279F68 00276EC8 98 01 01 D4 */ stb r0, 0x1d4(r1) +lbl_80279F6C: +/* 80279F6C 00276ECC 28 16 00 00 */ cmplwi r22, 0 +/* 80279F70 00276ED0 41 82 03 44 */ beq lbl_8027A2B4 +/* 80279F74 00276ED4 7F C3 F3 78 */ mr r3, r30 +/* 80279F78 00276ED8 7E C4 B3 78 */ mr r4, r22 +/* 80279F7C 00276EDC 4B DD 2D 79 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80279F80 00276EE0 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80279F84 00276EE4 3A B6 01 70 */ addi r21, r22, 0x170 +/* 80279F88 00276EE8 C0 22 BC E8 */ lfs f1, lbl_805ADA08@sda21(r2) +/* 80279F8C 00276EEC C0 42 BC EC */ lfs f2, lbl_805ADA0C@sda21(r2) +/* 80279F90 00276EF0 48 09 85 B5 */ bl Range__9CRandom16Fff +/* 80279F94 00276EF4 FF C0 08 90 */ fmr f30, f1 +/* 80279F98 00276EF8 7E A3 AB 78 */ mr r3, r21 +/* 80279F9C 00276EFC 48 03 51 99 */ bl GetVelocity__17CProjectileWeaponCFv +/* 80279FA0 00276F00 C0 43 00 04 */ lfs f2, 4(r3) +/* 80279FA4 00276F04 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 80279FA8 00276F08 C0 23 00 08 */ lfs f1, 8(r3) +/* 80279FAC 00276F0C C0 03 00 00 */ lfs f0, 0(r3) +/* 80279FB0 00276F10 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 80279FB4 00276F14 EC 3E 00 72 */ fmuls f1, f30, f1 +/* 80279FB8 00276F18 7E A3 AB 78 */ mr r3, r21 +/* 80279FBC 00276F1C EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80279FC0 00276F20 D0 41 01 B4 */ stfs f2, 0x1b4(r1) +/* 80279FC4 00276F24 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 80279FC8 00276F28 D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 80279FCC 00276F2C 48 03 51 71 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f +/* 80279FD0 00276F30 7E C3 B3 78 */ mr r3, r22 +/* 80279FD4 00276F34 38 9F 0C A0 */ addi r4, r31, 0xca0 +/* 80279FD8 00276F38 4B F9 9A F5 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 80279FDC 00276F3C 48 00 02 D8 */ b lbl_8027A2B4 +lbl_80279FE0: +/* 80279FE0 00276F40 7F E4 FB 78 */ mr r4, r31 +/* 80279FE4 00276F44 38 61 03 44 */ addi r3, r1, 0x344 +/* 80279FE8 00276F48 38 BC 00 3C */ addi r5, r28, 0x3c +/* 80279FEC 00276F4C 4B DF E9 8D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279FF0 00276F50 38 61 04 64 */ addi r3, r1, 0x464 +/* 80279FF4 00276F54 38 81 03 44 */ addi r4, r1, 0x344 +/* 80279FF8 00276F58 48 09 8B 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279FFC 00276F5C C1 BF 00 58 */ lfs f13, 0x58(r31) +/* 8027A000 00276F60 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8027A004 00276F64 C1 9F 00 48 */ lfs f12, 0x48(r31) +/* 8027A008 00276F68 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8027A00C 00276F6C C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027A010 00276F70 38 61 03 14 */ addi r3, r1, 0x314 +/* 8027A014 00276F74 C0 DF 00 38 */ lfs f6, 0x38(r31) +/* 8027A018 00276F78 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 8027A01C 00276F7C ED 20 03 32 */ fmuls f9, f0, f12 +/* 8027A020 00276F80 C0 62 BC 80 */ lfs f3, lbl_805AD9A0@sda21(r2) +/* 8027A024 00276F84 EC A0 01 B2 */ fmuls f5, f0, f6 +/* 8027A028 00276F88 C0 21 04 88 */ lfs f1, 0x488(r1) +/* 8027A02C 00276F8C ED 00 03 72 */ fmuls f8, f0, f13 +/* 8027A030 00276F90 C0 01 04 68 */ lfs f0, 0x468(r1) +/* 8027A034 00276F94 C3 81 04 70 */ lfs f28, 0x470(r1) +/* 8027A038 00276F98 EC 43 00 32 */ fmuls f2, f3, f0 +/* 8027A03C 00276F9C C3 A1 04 80 */ lfs f29, 0x480(r1) +/* 8027A040 00276FA0 EC E3 00 72 */ fmuls f7, f3, f1 +/* 8027A044 00276FA4 C3 C1 04 90 */ lfs f30, 0x490(r1) +/* 8027A048 00276FA8 EC 9C 28 2A */ fadds f4, f28, f5 +/* 8027A04C 00276FAC C0 01 04 78 */ lfs f0, 0x478(r1) +/* 8027A050 00276FB0 ED 7D 48 2A */ fadds f11, f29, f9 +/* 8027A054 00276FB4 D0 C1 01 5C */ stfs f6, 0x15c(r1) +/* 8027A058 00276FB8 EC 23 00 32 */ fmuls f1, f3, f0 +/* 8027A05C 00276FBC 38 A1 01 80 */ addi r5, r1, 0x180 +/* 8027A060 00276FC0 ED 5E 40 2A */ fadds f10, f30, f8 +/* 8027A064 00276FC4 D1 81 01 60 */ stfs f12, 0x160(r1) +/* 8027A068 00276FC8 EC 7E 38 2A */ fadds f3, f30, f7 +/* 8027A06C 00276FCC D1 A1 01 64 */ stfs f13, 0x164(r1) +/* 8027A070 00276FD0 EC 1C 10 2A */ fadds f0, f28, f2 +/* 8027A074 00276FD4 EC DD 08 2A */ fadds f6, f29, f1 +/* 8027A078 00276FD8 D0 A1 01 68 */ stfs f5, 0x168(r1) +/* 8027A07C 00276FDC D1 21 01 6C */ stfs f9, 0x16c(r1) +/* 8027A080 00276FE0 D1 01 01 70 */ stfs f8, 0x170(r1) +/* 8027A084 00276FE4 D3 81 01 74 */ stfs f28, 0x174(r1) +/* 8027A088 00276FE8 D3 A1 01 78 */ stfs f29, 0x178(r1) +/* 8027A08C 00276FEC D3 C1 01 7C */ stfs f30, 0x17c(r1) +/* 8027A090 00276FF0 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 8027A094 00276FF4 D1 61 01 84 */ stfs f11, 0x184(r1) +/* 8027A098 00276FF8 D1 41 01 88 */ stfs f10, 0x188(r1) +/* 8027A09C 00276FFC D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 8027A0A0 00277000 D0 21 01 90 */ stfs f1, 0x190(r1) +/* 8027A0A4 00277004 D0 E1 01 94 */ stfs f7, 0x194(r1) +/* 8027A0A8 00277008 D3 81 01 98 */ stfs f28, 0x198(r1) +/* 8027A0AC 0027700C D3 A1 01 9C */ stfs f29, 0x19c(r1) +/* 8027A0B0 00277010 D3 C1 01 A0 */ stfs f30, 0x1a0(r1) +/* 8027A0B4 00277014 D0 01 01 A4 */ stfs f0, 0x1a4(r1) +/* 8027A0B8 00277018 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) +/* 8027A0BC 0027701C D0 61 01 AC */ stfs f3, 0x1ac(r1) +/* 8027A0C0 00277020 48 09 9A 51 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8027A0C4 00277024 38 61 04 34 */ addi r3, r1, 0x434 +/* 8027A0C8 00277028 38 81 03 14 */ addi r4, r1, 0x314 +/* 8027A0CC 0027702C 48 09 8A A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8027A0D0 00277030 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8027A0D4 00277034 C0 22 BC E4 */ lfs f1, lbl_805ADA04@sda21(r2) +/* 8027A0D8 00277038 C0 42 BC A8 */ lfs f2, lbl_805AD9C8@sda21(r2) +/* 8027A0DC 0027703C 48 09 84 69 */ bl Range__9CRandom16Fff +/* 8027A0E0 00277040 C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) +/* 8027A0E4 00277044 38 61 04 34 */ addi r3, r1, 0x434 +/* 8027A0E8 00277048 38 81 00 90 */ addi r4, r1, 0x90 +/* 8027A0EC 0027704C EC 00 00 72 */ fmuls f0, f0, f1 +/* 8027A0F0 00277050 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8027A0F4 00277054 48 09 93 C9 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 8027A0F8 00277058 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027A0FC 0027705C 3A A0 00 00 */ li r21, 0 +/* 8027A100 00277060 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027A104 00277064 38 60 03 D8 */ li r3, 0x3d8 +/* 8027A108 00277068 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027A10C 0027706C 38 A0 00 00 */ li r5, 0 +/* 8027A110 00277070 48 09 B7 5D */ bl __nw__FUlPCcPCc +/* 8027A114 00277074 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8027A118 00277078 41 82 00 F0 */ beq lbl_8027A208 +/* 8027A11C 0027707C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 8027A120 00277080 38 00 00 00 */ li r0, 0 +/* 8027A124 00277084 98 01 01 58 */ stb r0, 0x158(r1) +/* 8027A128 00277088 7F C4 F3 78 */ mr r4, r30 +/* 8027A12C 0027708C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8027A130 00277090 3A A0 00 01 */ li r21, 1 +/* 8027A134 00277094 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 8027A138 00277098 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 8027A13C 0027709C D0 01 01 48 */ stfs f0, 0x148(r1) +/* 8027A140 002770A0 A0 1F 0E AC */ lhz r0, 0xeac(r31) +/* 8027A144 002770A4 B0 01 00 60 */ sth r0, 0x60(r1) +/* 8027A148 002770A8 A0 BF 00 08 */ lhz r5, 8(r31) +/* 8027A14C 002770AC B0 A1 00 5C */ sth r5, 0x5c(r1) +/* 8027A150 002770B0 80 1F 00 04 */ lwz r0, 4(r31) +/* 8027A154 002770B4 B0 A1 00 58 */ sth r5, 0x58(r1) +/* 8027A158 002770B8 90 01 00 88 */ stw r0, 0x88(r1) +/* 8027A15C 002770BC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8027A160 002770C0 4B DD 2F 7D */ bl AllocateUniqueId__13CStateManagerFv +/* 8027A164 002770C4 A0 01 00 50 */ lhz r0, 0x50(r1) +/* 8027A168 002770C8 7F E3 FB 78 */ mr r3, r31 +/* 8027A16C 002770CC B0 01 00 54 */ sth r0, 0x54(r1) +/* 8027A170 002770D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027A174 002770D4 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 8027A178 002770D8 7D 89 03 A6 */ mtctr r12 +/* 8027A17C 002770DC 4E 80 04 21 */ bctrl +/* 8027A180 002770E0 7C 7B 1B 78 */ mr r27, r3 +/* 8027A184 002770E4 7F E3 FB 78 */ mr r3, r31 +/* 8027A188 002770E8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027A18C 002770EC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 8027A190 002770F0 7D 89 03 A6 */ mtctr r12 +/* 8027A194 002770F4 4E 80 04 21 */ bctrl +/* 8027A198 002770F8 38 01 00 8C */ addi r0, r1, 0x8c +/* 8027A19C 002770FC 3C 80 00 01 */ lis r4, 0x00008400@ha +/* 8027A1A0 00277100 90 01 00 08 */ stw r0, 8(r1) +/* 8027A1A4 00277104 38 01 00 5C */ addi r0, r1, 0x5c +/* 8027A1A8 00277108 7C 65 1B 78 */ mr r5, r3 +/* 8027A1AC 0027710C 38 64 84 00 */ addi r3, r4, 0x00008400@l +/* 8027A1B0 00277110 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027A1B4 00277114 38 01 00 60 */ addi r0, r1, 0x60 +/* 8027A1B8 00277118 39 80 00 00 */ li r12, 0 +/* 8027A1BC 0027711C 38 C1 01 40 */ addi r6, r1, 0x140 +/* 8027A1C0 00277120 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027A1C4 00277124 39 61 01 4C */ addi r11, r1, 0x14c +/* 8027A1C8 00277128 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 8027A1CC 0027712C 38 E1 04 34 */ addi r7, r1, 0x434 +/* 8027A1D0 00277130 90 61 00 14 */ stw r3, 0x14(r1) +/* 8027A1D4 00277134 7F 43 D3 78 */ mr r3, r26 +/* 8027A1D8 00277138 39 3B 00 0C */ addi r9, r27, 0xc +/* 8027A1DC 0027713C 39 41 00 54 */ addi r10, r1, 0x54 +/* 8027A1E0 00277140 91 81 00 18 */ stw r12, 0x18(r1) +/* 8027A1E4 00277144 38 80 00 01 */ li r4, 1 +/* 8027A1E8 00277148 39 00 00 21 */ li r8, 0x21 +/* 8027A1EC 0027714C 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8027A1F0 00277150 38 C0 00 09 */ li r6, 9 +/* 8027A1F4 00277154 91 61 00 20 */ stw r11, 0x20(r1) +/* 8027A1F8 00277158 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027A1FC 0027715C 91 81 00 28 */ stw r12, 0x28(r1) +/* 8027A200 00277160 4B F9 B4 99 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 8027A204 00277164 7C 7A 1B 78 */ mr r26, r3 +lbl_8027A208: +/* 8027A208 00277168 7E A0 07 75 */ extsb. r0, r21 +/* 8027A20C 0027716C 41 82 00 30 */ beq lbl_8027A23C +/* 8027A210 00277170 88 01 01 58 */ lbz r0, 0x158(r1) +/* 8027A214 00277174 28 00 00 00 */ cmplwi r0, 0 +/* 8027A218 00277178 41 82 00 1C */ beq lbl_8027A234 +/* 8027A21C 0027717C 34 61 01 4C */ addic. r3, r1, 0x14c +/* 8027A220 00277180 41 82 00 14 */ beq lbl_8027A234 +/* 8027A224 00277184 28 03 00 00 */ cmplwi r3, 0 +/* 8027A228 00277188 41 82 00 0C */ beq lbl_8027A234 +/* 8027A22C 0027718C 38 80 00 00 */ li r4, 0 +/* 8027A230 00277190 48 0C 6C 11 */ bl __dt__6CTokenFv +lbl_8027A234: +/* 8027A234 00277194 38 00 00 00 */ li r0, 0 +/* 8027A238 00277198 98 01 01 58 */ stb r0, 0x158(r1) +lbl_8027A23C: +/* 8027A23C 0027719C 28 1A 00 00 */ cmplwi r26, 0 +/* 8027A240 002771A0 41 82 00 74 */ beq lbl_8027A2B4 +/* 8027A244 002771A4 7F C3 F3 78 */ mr r3, r30 +/* 8027A248 002771A8 7F 44 D3 78 */ mr r4, r26 +/* 8027A24C 002771AC 4B DD 2A A9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8027A250 002771B0 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8027A254 002771B4 3A BA 01 70 */ addi r21, r26, 0x170 +/* 8027A258 002771B8 C0 22 BC E8 */ lfs f1, lbl_805ADA08@sda21(r2) +/* 8027A25C 002771BC C0 42 BC F0 */ lfs f2, lbl_805ADA10@sda21(r2) +/* 8027A260 002771C0 48 09 82 E5 */ bl Range__9CRandom16Fff +/* 8027A264 002771C4 FF C0 08 90 */ fmr f30, f1 +/* 8027A268 002771C8 7E A3 AB 78 */ mr r3, r21 +/* 8027A26C 002771CC 48 03 4E C9 */ bl GetVelocity__17CProjectileWeaponCFv +/* 8027A270 002771D0 C0 43 00 04 */ lfs f2, 4(r3) +/* 8027A274 002771D4 38 81 01 34 */ addi r4, r1, 0x134 +/* 8027A278 002771D8 C0 23 00 08 */ lfs f1, 8(r3) +/* 8027A27C 002771DC C0 03 00 00 */ lfs f0, 0(r3) +/* 8027A280 002771E0 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 8027A284 002771E4 EC 3E 00 72 */ fmuls f1, f30, f1 +/* 8027A288 002771E8 7E A3 AB 78 */ mr r3, r21 +/* 8027A28C 002771EC EC 1E 00 32 */ fmuls f0, f30, f0 +/* 8027A290 002771F0 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 8027A294 002771F4 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8027A298 002771F8 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 8027A29C 002771FC 48 03 4E A1 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f +/* 8027A2A0 00277200 7F 43 D3 78 */ mr r3, r26 +/* 8027A2A4 00277204 38 9F 0C A0 */ addi r4, r31, 0xca0 +/* 8027A2A8 00277208 4B F9 98 25 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 8027A2AC 0027720C 48 00 00 08 */ b lbl_8027A2B4 +lbl_8027A2B0: +/* 8027A2B0 00277210 4B FF 97 B5 */ bl sub_80273a64 +lbl_8027A2B4: +/* 8027A2B4 00277214 3B 40 00 01 */ li r26, 1 +/* 8027A2B8 00277218 48 00 09 90 */ b lbl_8027AC48 +lbl_8027A2BC: +/* 8027A2BC 0027721C 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027A2C0 00277220 2C 00 00 0B */ cmpwi r0, 0xb +/* 8027A2C4 00277224 41 82 00 20 */ beq lbl_8027A2E4 +/* 8027A2C8 00277228 40 80 00 34 */ bge lbl_8027A2FC +/* 8027A2CC 0027722C 2C 00 00 07 */ cmpwi r0, 7 +/* 8027A2D0 00277230 41 82 00 08 */ beq lbl_8027A2D8 +/* 8027A2D4 00277234 48 00 00 28 */ b lbl_8027A2FC +lbl_8027A2D8: +/* 8027A2D8 00277238 38 A0 00 01 */ li r5, 1 +/* 8027A2DC 0027723C 4B FF D0 A5 */ bl sub_80277380 +/* 8027A2E0 00277240 48 00 00 1C */ b lbl_8027A2FC +lbl_8027A2E4: +/* 8027A2E4 00277244 38 A0 00 01 */ li r5, 1 +/* 8027A2E8 00277248 4B FF B2 C5 */ bl sub_802755ac +/* 8027A2EC 0027724C 88 1F 10 54 */ lbz r0, 0x1054(r31) +/* 8027A2F0 00277250 38 60 00 01 */ li r3, 1 +/* 8027A2F4 00277254 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8027A2F8 00277258 98 1F 10 54 */ stb r0, 0x1054(r31) +lbl_8027A2FC: +/* 8027A2FC 0027725C 3B 40 00 01 */ li r26, 1 +/* 8027A300 00277260 48 00 09 48 */ b lbl_8027AC48 +lbl_8027A304: +/* 8027A304 00277264 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027A308 00277268 2C 00 00 0B */ cmpwi r0, 0xb +/* 8027A30C 0027726C 41 82 00 20 */ beq lbl_8027A32C +/* 8027A310 00277270 40 80 09 38 */ bge lbl_8027AC48 +/* 8027A314 00277274 2C 00 00 07 */ cmpwi r0, 7 +/* 8027A318 00277278 41 82 00 08 */ beq lbl_8027A320 +/* 8027A31C 0027727C 48 00 09 2C */ b lbl_8027AC48 +lbl_8027A320: +/* 8027A320 00277280 38 A0 00 00 */ li r5, 0 +/* 8027A324 00277284 4B FF D0 5D */ bl sub_80277380 +/* 8027A328 00277288 48 00 09 20 */ b lbl_8027AC48 +lbl_8027A32C: +/* 8027A32C 0027728C 38 A0 00 00 */ li r5, 0 +/* 8027A330 00277290 4B FF B2 7D */ bl sub_802755ac +/* 8027A334 00277294 48 00 09 14 */ b lbl_8027AC48 +lbl_8027A338: +/* 8027A338 00277298 38 61 05 54 */ addi r3, r1, 0x554 +/* 8027A33C 0027729C 38 9F 10 8C */ addi r4, r31, 0x108c +/* 8027A340 002772A0 4B D9 0A 69 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027A344 002772A4 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027A348 002772A8 2C 00 00 09 */ cmpwi r0, 9 +/* 8027A34C 002772AC 41 82 01 C0 */ beq lbl_8027A50C +/* 8027A350 002772B0 40 80 00 1C */ bge lbl_8027A36C +/* 8027A354 002772B4 2C 00 00 01 */ cmpwi r0, 1 +/* 8027A358 002772B8 41 82 04 DC */ beq lbl_8027A834 +/* 8027A35C 002772BC 40 80 07 F4 */ bge lbl_8027AB50 +/* 8027A360 002772C0 2C 00 00 00 */ cmpwi r0, 0 +/* 8027A364 002772C4 40 80 00 14 */ bge lbl_8027A378 +/* 8027A368 002772C8 48 00 07 E8 */ b lbl_8027AB50 +lbl_8027A36C: +/* 8027A36C 002772CC 2C 00 00 0B */ cmpwi r0, 0xb +/* 8027A370 002772D0 40 80 07 E0 */ bge lbl_8027AB50 +/* 8027A374 002772D4 48 00 03 2C */ b lbl_8027A6A0 +lbl_8027A378: +/* 8027A378 002772D8 C0 1F 10 8C */ lfs f0, 0x108c(r31) +/* 8027A37C 002772DC D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A380 002772E0 C0 1F 10 90 */ lfs f0, 0x1090(r31) +/* 8027A384 002772E4 D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A388 002772E8 80 1F 10 98 */ lwz r0, 0x1098(r31) +/* 8027A38C 002772EC 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A390 002772F0 80 7F 10 9C */ lwz r3, 0x109c(r31) +/* 8027A394 002772F4 80 1F 10 A0 */ lwz r0, 0x10a0(r31) +/* 8027A398 002772F8 90 61 05 64 */ stw r3, 0x564(r1) +/* 8027A39C 002772FC 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A3A0 00277300 80 7F 10 A4 */ lwz r3, 0x10a4(r31) +/* 8027A3A4 00277304 80 1F 10 A8 */ lwz r0, 0x10a8(r31) +/* 8027A3A8 00277308 90 61 05 6C */ stw r3, 0x56c(r1) +/* 8027A3AC 0027730C 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A3B0 00277310 80 7F 10 AC */ lwz r3, 0x10ac(r31) +/* 8027A3B4 00277314 80 1F 10 B0 */ lwz r0, 0x10b0(r31) +/* 8027A3B8 00277318 90 61 05 74 */ stw r3, 0x574(r1) +/* 8027A3BC 0027731C 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A3C0 00277320 80 7F 10 B4 */ lwz r3, 0x10b4(r31) +/* 8027A3C4 00277324 80 1F 10 B8 */ lwz r0, 0x10b8(r31) +/* 8027A3C8 00277328 90 61 05 7C */ stw r3, 0x57c(r1) +/* 8027A3CC 0027732C 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A3D0 00277330 80 7F 10 BC */ lwz r3, 0x10bc(r31) +/* 8027A3D4 00277334 80 1F 10 C0 */ lwz r0, 0x10c0(r31) +/* 8027A3D8 00277338 90 61 05 84 */ stw r3, 0x584(r1) +/* 8027A3DC 0027733C 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A3E0 00277340 80 7F 10 C4 */ lwz r3, 0x10c4(r31) +/* 8027A3E4 00277344 80 1F 10 C8 */ lwz r0, 0x10c8(r31) +/* 8027A3E8 00277348 90 61 05 8C */ stw r3, 0x58c(r1) +/* 8027A3EC 0027734C 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A3F0 00277350 C0 1F 10 CC */ lfs f0, 0x10cc(r31) +/* 8027A3F4 00277354 D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A3F8 00277358 80 1F 10 D4 */ lwz r0, 0x10d4(r31) +/* 8027A3FC 0027735C 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027A400 00277360 80 7F 10 D8 */ lwz r3, 0x10d8(r31) +/* 8027A404 00277364 80 1F 10 DC */ lwz r0, 0x10dc(r31) +/* 8027A408 00277368 90 61 05 A0 */ stw r3, 0x5a0(r1) +/* 8027A40C 0027736C 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027A410 00277370 80 7F 10 E0 */ lwz r3, 0x10e0(r31) +/* 8027A414 00277374 80 1F 10 E4 */ lwz r0, 0x10e4(r31) +/* 8027A418 00277378 90 61 05 A8 */ stw r3, 0x5a8(r1) +/* 8027A41C 0027737C 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027A420 00277380 80 7F 10 E8 */ lwz r3, 0x10e8(r31) +/* 8027A424 00277384 80 1F 10 EC */ lwz r0, 0x10ec(r31) +/* 8027A428 00277388 90 61 05 B0 */ stw r3, 0x5b0(r1) +/* 8027A42C 0027738C 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027A430 00277390 80 7F 10 F0 */ lwz r3, 0x10f0(r31) +/* 8027A434 00277394 80 1F 10 F4 */ lwz r0, 0x10f4(r31) +/* 8027A438 00277398 90 61 05 B8 */ stw r3, 0x5b8(r1) +/* 8027A43C 0027739C 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027A440 002773A0 80 7F 10 F8 */ lwz r3, 0x10f8(r31) +/* 8027A444 002773A4 80 1F 10 FC */ lwz r0, 0x10fc(r31) +/* 8027A448 002773A8 90 61 05 C0 */ stw r3, 0x5c0(r1) +/* 8027A44C 002773AC 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027A450 002773B0 80 7F 11 00 */ lwz r3, 0x1100(r31) +/* 8027A454 002773B4 80 1F 11 04 */ lwz r0, 0x1104(r31) +/* 8027A458 002773B8 90 61 05 C8 */ stw r3, 0x5c8(r1) +/* 8027A45C 002773BC 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027A460 002773C0 C0 1F 11 08 */ lfs f0, 0x1108(r31) +/* 8027A464 002773C4 D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027A468 002773C8 80 1F 11 10 */ lwz r0, 0x1110(r31) +/* 8027A46C 002773CC 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027A470 002773D0 80 7F 11 14 */ lwz r3, 0x1114(r31) +/* 8027A474 002773D4 80 1F 11 18 */ lwz r0, 0x1118(r31) +/* 8027A478 002773D8 90 61 05 DC */ stw r3, 0x5dc(r1) +/* 8027A47C 002773DC 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027A480 002773E0 80 7F 11 1C */ lwz r3, 0x111c(r31) +/* 8027A484 002773E4 80 1F 11 20 */ lwz r0, 0x1120(r31) +/* 8027A488 002773E8 90 61 05 E4 */ stw r3, 0x5e4(r1) +/* 8027A48C 002773EC 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027A490 002773F0 80 7F 11 24 */ lwz r3, 0x1124(r31) +/* 8027A494 002773F4 80 1F 11 28 */ lwz r0, 0x1128(r31) +/* 8027A498 002773F8 90 61 05 EC */ stw r3, 0x5ec(r1) +/* 8027A49C 002773FC 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027A4A0 00277400 80 7F 11 2C */ lwz r3, 0x112c(r31) +/* 8027A4A4 00277404 80 1F 11 30 */ lwz r0, 0x1130(r31) +/* 8027A4A8 00277408 90 61 05 F4 */ stw r3, 0x5f4(r1) +/* 8027A4AC 0027740C 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027A4B0 00277410 80 7F 11 34 */ lwz r3, 0x1134(r31) +/* 8027A4B4 00277414 80 1F 11 38 */ lwz r0, 0x1138(r31) +/* 8027A4B8 00277418 90 61 05 FC */ stw r3, 0x5fc(r1) +/* 8027A4BC 0027741C 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027A4C0 00277420 80 7F 11 3C */ lwz r3, 0x113c(r31) +/* 8027A4C4 00277424 80 1F 11 40 */ lwz r0, 0x1140(r31) +/* 8027A4C8 00277428 90 61 06 04 */ stw r3, 0x604(r1) +/* 8027A4CC 0027742C 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027A4D0 00277430 C0 1F 11 44 */ lfs f0, 0x1144(r31) +/* 8027A4D4 00277434 D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027A4D8 00277438 80 1F 11 48 */ lwz r0, 0x1148(r31) +/* 8027A4DC 0027743C 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027A4E0 00277440 80 1F 11 4C */ lwz r0, 0x114c(r31) +/* 8027A4E4 00277444 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027A4E8 00277448 80 7F 11 50 */ lwz r3, 0x1150(r31) +/* 8027A4EC 0027744C 80 1F 11 54 */ lwz r0, 0x1154(r31) +/* 8027A4F0 00277450 90 61 06 18 */ stw r3, 0x618(r1) +/* 8027A4F4 00277454 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027A4F8 00277458 80 1F 11 58 */ lwz r0, 0x1158(r31) +/* 8027A4FC 0027745C 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027A500 00277460 C0 1F 11 5C */ lfs f0, 0x115c(r31) +/* 8027A504 00277464 D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027A508 00277468 48 00 06 48 */ b lbl_8027AB50 +lbl_8027A50C: +/* 8027A50C 0027746C C0 1F 13 68 */ lfs f0, 0x1368(r31) +/* 8027A510 00277470 D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A514 00277474 C0 1F 13 6C */ lfs f0, 0x136c(r31) +/* 8027A518 00277478 D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A51C 0027747C 80 1F 13 74 */ lwz r0, 0x1374(r31) +/* 8027A520 00277480 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A524 00277484 80 7F 13 78 */ lwz r3, 0x1378(r31) +/* 8027A528 00277488 80 1F 13 7C */ lwz r0, 0x137c(r31) +/* 8027A52C 0027748C 90 61 05 64 */ stw r3, 0x564(r1) +/* 8027A530 00277490 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A534 00277494 80 7F 13 80 */ lwz r3, 0x1380(r31) +/* 8027A538 00277498 80 1F 13 84 */ lwz r0, 0x1384(r31) +/* 8027A53C 0027749C 90 61 05 6C */ stw r3, 0x56c(r1) +/* 8027A540 002774A0 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A544 002774A4 80 7F 13 88 */ lwz r3, 0x1388(r31) +/* 8027A548 002774A8 80 1F 13 8C */ lwz r0, 0x138c(r31) +/* 8027A54C 002774AC 90 61 05 74 */ stw r3, 0x574(r1) +/* 8027A550 002774B0 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A554 002774B4 80 7F 13 90 */ lwz r3, 0x1390(r31) +/* 8027A558 002774B8 80 1F 13 94 */ lwz r0, 0x1394(r31) +/* 8027A55C 002774BC 90 61 05 7C */ stw r3, 0x57c(r1) +/* 8027A560 002774C0 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A564 002774C4 80 7F 13 98 */ lwz r3, 0x1398(r31) +/* 8027A568 002774C8 80 1F 13 9C */ lwz r0, 0x139c(r31) +/* 8027A56C 002774CC 90 61 05 84 */ stw r3, 0x584(r1) +/* 8027A570 002774D0 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A574 002774D4 80 7F 13 A0 */ lwz r3, 0x13a0(r31) +/* 8027A578 002774D8 80 1F 13 A4 */ lwz r0, 0x13a4(r31) +/* 8027A57C 002774DC 90 61 05 8C */ stw r3, 0x58c(r1) +/* 8027A580 002774E0 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A584 002774E4 C0 1F 13 A8 */ lfs f0, 0x13a8(r31) +/* 8027A588 002774E8 D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A58C 002774EC 80 1F 13 B0 */ lwz r0, 0x13b0(r31) +/* 8027A590 002774F0 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027A594 002774F4 80 7F 13 B4 */ lwz r3, 0x13b4(r31) +/* 8027A598 002774F8 80 1F 13 B8 */ lwz r0, 0x13b8(r31) +/* 8027A59C 002774FC 90 61 05 A0 */ stw r3, 0x5a0(r1) +/* 8027A5A0 00277500 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027A5A4 00277504 80 7F 13 BC */ lwz r3, 0x13bc(r31) +/* 8027A5A8 00277508 80 1F 13 C0 */ lwz r0, 0x13c0(r31) +/* 8027A5AC 0027750C 90 61 05 A8 */ stw r3, 0x5a8(r1) +/* 8027A5B0 00277510 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027A5B4 00277514 80 7F 13 C4 */ lwz r3, 0x13c4(r31) +/* 8027A5B8 00277518 80 1F 13 C8 */ lwz r0, 0x13c8(r31) +/* 8027A5BC 0027751C 90 61 05 B0 */ stw r3, 0x5b0(r1) +/* 8027A5C0 00277520 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027A5C4 00277524 80 7F 13 CC */ lwz r3, 0x13cc(r31) +/* 8027A5C8 00277528 80 1F 13 D0 */ lwz r0, 0x13d0(r31) +/* 8027A5CC 0027752C 90 61 05 B8 */ stw r3, 0x5b8(r1) +/* 8027A5D0 00277530 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027A5D4 00277534 80 7F 13 D4 */ lwz r3, 0x13d4(r31) +/* 8027A5D8 00277538 80 1F 13 D8 */ lwz r0, 0x13d8(r31) +/* 8027A5DC 0027753C 90 61 05 C0 */ stw r3, 0x5c0(r1) +/* 8027A5E0 00277540 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027A5E4 00277544 80 7F 13 DC */ lwz r3, 0x13dc(r31) +/* 8027A5E8 00277548 80 1F 13 E0 */ lwz r0, 0x13e0(r31) +/* 8027A5EC 0027754C 90 61 05 C8 */ stw r3, 0x5c8(r1) +/* 8027A5F0 00277550 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027A5F4 00277554 C0 1F 13 E4 */ lfs f0, 0x13e4(r31) +/* 8027A5F8 00277558 D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027A5FC 0027755C 80 1F 13 EC */ lwz r0, 0x13ec(r31) +/* 8027A600 00277560 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027A604 00277564 80 7F 13 F0 */ lwz r3, 0x13f0(r31) +/* 8027A608 00277568 80 1F 13 F4 */ lwz r0, 0x13f4(r31) +/* 8027A60C 0027756C 90 61 05 DC */ stw r3, 0x5dc(r1) +/* 8027A610 00277570 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027A614 00277574 80 7F 13 F8 */ lwz r3, 0x13f8(r31) +/* 8027A618 00277578 80 1F 13 FC */ lwz r0, 0x13fc(r31) +/* 8027A61C 0027757C 90 61 05 E4 */ stw r3, 0x5e4(r1) +/* 8027A620 00277580 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027A624 00277584 80 7F 14 00 */ lwz r3, 0x1400(r31) +/* 8027A628 00277588 80 1F 14 04 */ lwz r0, 0x1404(r31) +/* 8027A62C 0027758C 90 61 05 EC */ stw r3, 0x5ec(r1) +/* 8027A630 00277590 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027A634 00277594 80 7F 14 08 */ lwz r3, 0x1408(r31) +/* 8027A638 00277598 80 1F 14 0C */ lwz r0, 0x140c(r31) +/* 8027A63C 0027759C 90 61 05 F4 */ stw r3, 0x5f4(r1) +/* 8027A640 002775A0 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027A644 002775A4 80 7F 14 10 */ lwz r3, 0x1410(r31) +/* 8027A648 002775A8 80 1F 14 14 */ lwz r0, 0x1414(r31) +/* 8027A64C 002775AC 90 61 05 FC */ stw r3, 0x5fc(r1) +/* 8027A650 002775B0 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027A654 002775B4 80 7F 14 18 */ lwz r3, 0x1418(r31) +/* 8027A658 002775B8 80 1F 14 1C */ lwz r0, 0x141c(r31) +/* 8027A65C 002775BC 90 61 06 04 */ stw r3, 0x604(r1) +/* 8027A660 002775C0 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027A664 002775C4 C0 1F 14 20 */ lfs f0, 0x1420(r31) +/* 8027A668 002775C8 D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027A66C 002775CC 80 1F 14 24 */ lwz r0, 0x1424(r31) +/* 8027A670 002775D0 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027A674 002775D4 80 1F 14 28 */ lwz r0, 0x1428(r31) +/* 8027A678 002775D8 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027A67C 002775DC 80 7F 14 2C */ lwz r3, 0x142c(r31) +/* 8027A680 002775E0 80 1F 14 30 */ lwz r0, 0x1430(r31) +/* 8027A684 002775E4 90 61 06 18 */ stw r3, 0x618(r1) +/* 8027A688 002775E8 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027A68C 002775EC 80 1F 14 34 */ lwz r0, 0x1434(r31) +/* 8027A690 002775F0 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027A694 002775F4 C0 1F 14 38 */ lfs f0, 0x1438(r31) +/* 8027A698 002775F8 D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027A69C 002775FC 48 00 04 B4 */ b lbl_8027AB50 +lbl_8027A6A0: +/* 8027A6A0 00277600 C0 1F 12 94 */ lfs f0, 0x1294(r31) +/* 8027A6A4 00277604 D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A6A8 00277608 C0 1F 12 98 */ lfs f0, 0x1298(r31) +/* 8027A6AC 0027760C D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A6B0 00277610 80 1F 12 A0 */ lwz r0, 0x12a0(r31) +/* 8027A6B4 00277614 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A6B8 00277618 80 7F 12 A4 */ lwz r3, 0x12a4(r31) +/* 8027A6BC 0027761C 80 1F 12 A8 */ lwz r0, 0x12a8(r31) +/* 8027A6C0 00277620 90 61 05 64 */ stw r3, 0x564(r1) +/* 8027A6C4 00277624 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A6C8 00277628 80 7F 12 AC */ lwz r3, 0x12ac(r31) +/* 8027A6CC 0027762C 80 1F 12 B0 */ lwz r0, 0x12b0(r31) +/* 8027A6D0 00277630 90 61 05 6C */ stw r3, 0x56c(r1) +/* 8027A6D4 00277634 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A6D8 00277638 80 7F 12 B4 */ lwz r3, 0x12b4(r31) +/* 8027A6DC 0027763C 80 1F 12 B8 */ lwz r0, 0x12b8(r31) +/* 8027A6E0 00277640 90 61 05 74 */ stw r3, 0x574(r1) +/* 8027A6E4 00277644 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A6E8 00277648 80 7F 12 BC */ lwz r3, 0x12bc(r31) +/* 8027A6EC 0027764C 80 1F 12 C0 */ lwz r0, 0x12c0(r31) +/* 8027A6F0 00277650 90 61 05 7C */ stw r3, 0x57c(r1) +/* 8027A6F4 00277654 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A6F8 00277658 80 7F 12 C4 */ lwz r3, 0x12c4(r31) +/* 8027A6FC 0027765C 80 1F 12 C8 */ lwz r0, 0x12c8(r31) +/* 8027A700 00277660 90 61 05 84 */ stw r3, 0x584(r1) +/* 8027A704 00277664 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A708 00277668 80 7F 12 CC */ lwz r3, 0x12cc(r31) +/* 8027A70C 0027766C 80 1F 12 D0 */ lwz r0, 0x12d0(r31) +/* 8027A710 00277670 90 61 05 8C */ stw r3, 0x58c(r1) +/* 8027A714 00277674 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A718 00277678 C0 1F 12 D4 */ lfs f0, 0x12d4(r31) +/* 8027A71C 0027767C D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A720 00277680 80 1F 12 DC */ lwz r0, 0x12dc(r31) +/* 8027A724 00277684 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027A728 00277688 80 7F 12 E0 */ lwz r3, 0x12e0(r31) +/* 8027A72C 0027768C 80 1F 12 E4 */ lwz r0, 0x12e4(r31) +/* 8027A730 00277690 90 61 05 A0 */ stw r3, 0x5a0(r1) +/* 8027A734 00277694 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027A738 00277698 80 7F 12 E8 */ lwz r3, 0x12e8(r31) +/* 8027A73C 0027769C 80 1F 12 EC */ lwz r0, 0x12ec(r31) +/* 8027A740 002776A0 90 61 05 A8 */ stw r3, 0x5a8(r1) +/* 8027A744 002776A4 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027A748 002776A8 80 7F 12 F0 */ lwz r3, 0x12f0(r31) +/* 8027A74C 002776AC 80 1F 12 F4 */ lwz r0, 0x12f4(r31) +/* 8027A750 002776B0 90 61 05 B0 */ stw r3, 0x5b0(r1) +/* 8027A754 002776B4 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027A758 002776B8 80 7F 12 F8 */ lwz r3, 0x12f8(r31) +/* 8027A75C 002776BC 80 1F 12 FC */ lwz r0, 0x12fc(r31) +/* 8027A760 002776C0 90 61 05 B8 */ stw r3, 0x5b8(r1) +/* 8027A764 002776C4 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027A768 002776C8 80 7F 13 00 */ lwz r3, 0x1300(r31) +/* 8027A76C 002776CC 80 1F 13 04 */ lwz r0, 0x1304(r31) +/* 8027A770 002776D0 90 61 05 C0 */ stw r3, 0x5c0(r1) +/* 8027A774 002776D4 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027A778 002776D8 80 7F 13 08 */ lwz r3, 0x1308(r31) +/* 8027A77C 002776DC 80 1F 13 0C */ lwz r0, 0x130c(r31) +/* 8027A780 002776E0 90 61 05 C8 */ stw r3, 0x5c8(r1) +/* 8027A784 002776E4 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027A788 002776E8 C0 1F 13 10 */ lfs f0, 0x1310(r31) +/* 8027A78C 002776EC D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027A790 002776F0 80 1F 13 18 */ lwz r0, 0x1318(r31) +/* 8027A794 002776F4 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027A798 002776F8 80 7F 13 1C */ lwz r3, 0x131c(r31) +/* 8027A79C 002776FC 80 1F 13 20 */ lwz r0, 0x1320(r31) +/* 8027A7A0 00277700 90 61 05 DC */ stw r3, 0x5dc(r1) +/* 8027A7A4 00277704 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027A7A8 00277708 80 7F 13 24 */ lwz r3, 0x1324(r31) +/* 8027A7AC 0027770C 80 1F 13 28 */ lwz r0, 0x1328(r31) +/* 8027A7B0 00277710 90 61 05 E4 */ stw r3, 0x5e4(r1) +/* 8027A7B4 00277714 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027A7B8 00277718 80 7F 13 2C */ lwz r3, 0x132c(r31) +/* 8027A7BC 0027771C 80 1F 13 30 */ lwz r0, 0x1330(r31) +/* 8027A7C0 00277720 90 61 05 EC */ stw r3, 0x5ec(r1) +/* 8027A7C4 00277724 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027A7C8 00277728 80 7F 13 34 */ lwz r3, 0x1334(r31) +/* 8027A7CC 0027772C 80 1F 13 38 */ lwz r0, 0x1338(r31) +/* 8027A7D0 00277730 90 61 05 F4 */ stw r3, 0x5f4(r1) +/* 8027A7D4 00277734 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027A7D8 00277738 80 7F 13 3C */ lwz r3, 0x133c(r31) +/* 8027A7DC 0027773C 80 1F 13 40 */ lwz r0, 0x1340(r31) +/* 8027A7E0 00277740 90 61 05 FC */ stw r3, 0x5fc(r1) +/* 8027A7E4 00277744 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027A7E8 00277748 80 7F 13 44 */ lwz r3, 0x1344(r31) +/* 8027A7EC 0027774C 80 1F 13 48 */ lwz r0, 0x1348(r31) +/* 8027A7F0 00277750 90 61 06 04 */ stw r3, 0x604(r1) +/* 8027A7F4 00277754 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027A7F8 00277758 C0 1F 13 4C */ lfs f0, 0x134c(r31) +/* 8027A7FC 0027775C D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027A800 00277760 80 1F 13 50 */ lwz r0, 0x1350(r31) +/* 8027A804 00277764 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027A808 00277768 80 1F 13 54 */ lwz r0, 0x1354(r31) +/* 8027A80C 0027776C 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027A810 00277770 80 7F 13 58 */ lwz r3, 0x1358(r31) +/* 8027A814 00277774 80 1F 13 5C */ lwz r0, 0x135c(r31) +/* 8027A818 00277778 90 61 06 18 */ stw r3, 0x618(r1) +/* 8027A81C 0027777C 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027A820 00277780 80 1F 13 60 */ lwz r0, 0x1360(r31) +/* 8027A824 00277784 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027A828 00277788 C0 1F 13 64 */ lfs f0, 0x1364(r31) +/* 8027A82C 0027778C D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027A830 00277790 48 00 03 20 */ b lbl_8027AB50 +lbl_8027A834: +/* 8027A834 00277794 7F E4 FB 78 */ mr r4, r31 +/* 8027A838 00277798 38 61 02 E4 */ addi r3, r1, 0x2e4 +/* 8027A83C 0027779C 38 BC 00 3C */ addi r5, r28, 0x3c +/* 8027A840 002777A0 4B DF E1 39 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027A844 002777A4 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 8027A848 002777A8 38 61 01 28 */ addi r3, r1, 0x128 +/* 8027A84C 002777AC C0 A1 03 10 */ lfs f5, 0x310(r1) +/* 8027A850 002777B0 C0 E4 00 60 */ lfs f7, 0x60(r4) +/* 8027A854 002777B4 C0 01 03 00 */ lfs f0, 0x300(r1) +/* 8027A858 002777B8 C0 C4 00 50 */ lfs f6, 0x50(r4) +/* 8027A85C 002777BC EC 67 28 28 */ fsubs f3, f7, f5 +/* 8027A860 002777C0 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8027A864 002777C4 C0 41 02 F0 */ lfs f2, 0x2f0(r1) +/* 8027A868 002777C8 EC 86 00 28 */ fsubs f4, f6, f0 +/* 8027A86C 002777CC D0 01 01 14 */ stfs f0, 0x114(r1) +/* 8027A870 002777D0 EC 01 10 28 */ fsubs f0, f1, f2 +/* 8027A874 002777D4 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 8027A878 002777D8 D0 A1 01 18 */ stfs f5, 0x118(r1) +/* 8027A87C 002777DC D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 8027A880 002777E0 D0 C1 01 20 */ stfs f6, 0x120(r1) +/* 8027A884 002777E4 D0 E1 01 24 */ stfs f7, 0x124(r1) +/* 8027A888 002777E8 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8027A88C 002777EC D0 81 01 2C */ stfs f4, 0x12c(r1) +/* 8027A890 002777F0 D0 61 01 30 */ stfs f3, 0x130(r1) +/* 8027A894 002777F4 48 09 A0 25 */ bl Magnitude__9CVector3fCFv +/* 8027A898 002777F8 C0 1F 0E C4 */ lfs f0, 0xec4(r31) +/* 8027A89C 002777FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027A8A0 00277800 40 80 00 D0 */ bge lbl_8027A970 +/* 8027A8A4 00277804 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8027A8A8 00277808 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 8027A8AC 0027780C C0 5F 0E C8 */ lfs f2, 0xec8(r31) +/* 8027A8B0 00277810 38 60 00 00 */ li r3, 0 +/* 8027A8B4 00277814 88 01 02 B0 */ lbz r0, 0x2b0(r1) +/* 8027A8B8 00277818 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027A8BC 0027781C EC 61 00 28 */ fsubs f3, f1, f0 +/* 8027A8C0 00277820 C0 3F 0E C0 */ lfs f1, 0xec0(r31) +/* 8027A8C4 00277824 C0 1F 0E BC */ lfs f0, 0xebc(r31) +/* 8027A8C8 00277828 38 60 00 00 */ li r3, 0 +/* 8027A8CC 0027782C 80 DF 0E B4 */ lwz r6, 0xeb4(r31) +/* 8027A8D0 00277830 38 80 00 01 */ li r4, 1 +/* 8027A8D4 00277834 90 C1 02 98 */ stw r6, 0x298(r1) +/* 8027A8D8 00277838 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8027A8DC 0027783C EC 23 00 72 */ fmuls f1, f3, f1 +/* 8027A8E0 00277840 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 8027A8E4 00277844 88 DF 0E B8 */ lbz r6, 0xeb8(r31) +/* 8027A8E8 00277848 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8027A8EC 0027784C 98 C1 02 9C */ stb r6, 0x29c(r1) +/* 8027A8F0 00277850 D0 01 02 A0 */ stfs f0, 0x2a0(r1) +/* 8027A8F4 00277854 D0 01 02 A4 */ stfs f0, 0x2a4(r1) +/* 8027A8F8 00277858 D0 21 02 A8 */ stfs f1, 0x2a8(r1) +/* 8027A8FC 0027785C D0 41 02 AC */ stfs f2, 0x2ac(r1) +/* 8027A900 00277860 98 01 02 B0 */ stb r0, 0x2b0(r1) +/* 8027A904 00277864 48 10 F5 F1 */ bl __shl2i +/* 8027A908 00277868 39 40 00 00 */ li r10, 0 +/* 8027A90C 0027786C 38 00 00 03 */ li r0, 3 +/* 8027A910 00277870 90 81 02 6C */ stw r4, 0x26c(r1) +/* 8027A914 00277874 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027A918 00277878 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8027A91C 0027787C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8027A920 00277880 90 61 02 68 */ stw r3, 0x268(r1) +/* 8027A924 00277884 38 81 00 4C */ addi r4, r1, 0x4c +/* 8027A928 00277888 7F C3 F3 78 */ mr r3, r30 +/* 8027A92C 0027788C 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8027A930 00277890 91 41 02 74 */ stw r10, 0x274(r1) +/* 8027A934 00277894 38 E1 02 98 */ addi r7, r1, 0x298 +/* 8027A938 00277898 39 01 02 68 */ addi r8, r1, 0x268 +/* 8027A93C 0027789C 91 41 02 70 */ stw r10, 0x270(r1) +/* 8027A940 002778A0 90 01 02 78 */ stw r0, 0x278(r1) +/* 8027A944 002778A4 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8027A948 002778A8 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8027A94C 002778AC 81 5E 08 4C */ lwz r10, 0x84c(r30) +/* 8027A950 002778B0 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8027A954 002778B4 A1 4A 00 08 */ lhz r10, 8(r10) +/* 8027A958 002778B8 B1 41 00 44 */ sth r10, 0x44(r1) +/* 8027A95C 002778BC A0 1F 00 08 */ lhz r0, 8(r31) +/* 8027A960 002778C0 B1 41 00 40 */ sth r10, 0x40(r1) +/* 8027A964 002778C4 B0 01 00 48 */ sth r0, 0x48(r1) +/* 8027A968 002778C8 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 8027A96C 002778CC 4B DC F7 35 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_8027A970: +/* 8027A970 002778D0 C0 1F 0E D0 */ lfs f0, 0xed0(r31) +/* 8027A974 002778D4 7F E4 FB 78 */ mr r4, r31 +/* 8027A978 002778D8 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 8027A97C 002778DC 38 BC 00 3C */ addi r5, r28, 0x3c +/* 8027A980 002778E0 D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A984 002778E4 C0 1F 0E D4 */ lfs f0, 0xed4(r31) +/* 8027A988 002778E8 D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A98C 002778EC 80 1F 0E DC */ lwz r0, 0xedc(r31) +/* 8027A990 002778F0 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A994 002778F4 80 DF 0E E0 */ lwz r6, 0xee0(r31) +/* 8027A998 002778F8 80 1F 0E E4 */ lwz r0, 0xee4(r31) +/* 8027A99C 002778FC 90 C1 05 64 */ stw r6, 0x564(r1) +/* 8027A9A0 00277900 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A9A4 00277904 80 DF 0E E8 */ lwz r6, 0xee8(r31) +/* 8027A9A8 00277908 80 1F 0E EC */ lwz r0, 0xeec(r31) +/* 8027A9AC 0027790C 90 C1 05 6C */ stw r6, 0x56c(r1) +/* 8027A9B0 00277910 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A9B4 00277914 80 DF 0E F0 */ lwz r6, 0xef0(r31) +/* 8027A9B8 00277918 80 1F 0E F4 */ lwz r0, 0xef4(r31) +/* 8027A9BC 0027791C 90 C1 05 74 */ stw r6, 0x574(r1) +/* 8027A9C0 00277920 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A9C4 00277924 80 DF 0E F8 */ lwz r6, 0xef8(r31) +/* 8027A9C8 00277928 80 1F 0E FC */ lwz r0, 0xefc(r31) +/* 8027A9CC 0027792C 90 C1 05 7C */ stw r6, 0x57c(r1) +/* 8027A9D0 00277930 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A9D4 00277934 80 DF 0F 00 */ lwz r6, 0xf00(r31) +/* 8027A9D8 00277938 80 1F 0F 04 */ lwz r0, 0xf04(r31) +/* 8027A9DC 0027793C 90 C1 05 84 */ stw r6, 0x584(r1) +/* 8027A9E0 00277940 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A9E4 00277944 80 DF 0F 08 */ lwz r6, 0xf08(r31) +/* 8027A9E8 00277948 80 1F 0F 0C */ lwz r0, 0xf0c(r31) +/* 8027A9EC 0027794C 90 C1 05 8C */ stw r6, 0x58c(r1) +/* 8027A9F0 00277950 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A9F4 00277954 C0 1F 0F 10 */ lfs f0, 0xf10(r31) +/* 8027A9F8 00277958 D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A9FC 0027795C 80 1F 0F 18 */ lwz r0, 0xf18(r31) +/* 8027AA00 00277960 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027AA04 00277964 80 DF 0F 1C */ lwz r6, 0xf1c(r31) +/* 8027AA08 00277968 80 1F 0F 20 */ lwz r0, 0xf20(r31) +/* 8027AA0C 0027796C 90 C1 05 A0 */ stw r6, 0x5a0(r1) +/* 8027AA10 00277970 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027AA14 00277974 80 DF 0F 24 */ lwz r6, 0xf24(r31) +/* 8027AA18 00277978 80 1F 0F 28 */ lwz r0, 0xf28(r31) +/* 8027AA1C 0027797C 90 C1 05 A8 */ stw r6, 0x5a8(r1) +/* 8027AA20 00277980 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027AA24 00277984 80 DF 0F 2C */ lwz r6, 0xf2c(r31) +/* 8027AA28 00277988 80 1F 0F 30 */ lwz r0, 0xf30(r31) +/* 8027AA2C 0027798C 90 C1 05 B0 */ stw r6, 0x5b0(r1) +/* 8027AA30 00277990 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027AA34 00277994 80 DF 0F 34 */ lwz r6, 0xf34(r31) +/* 8027AA38 00277998 80 1F 0F 38 */ lwz r0, 0xf38(r31) +/* 8027AA3C 0027799C 90 C1 05 B8 */ stw r6, 0x5b8(r1) +/* 8027AA40 002779A0 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027AA44 002779A4 80 DF 0F 3C */ lwz r6, 0xf3c(r31) +/* 8027AA48 002779A8 80 1F 0F 40 */ lwz r0, 0xf40(r31) +/* 8027AA4C 002779AC 90 C1 05 C0 */ stw r6, 0x5c0(r1) +/* 8027AA50 002779B0 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027AA54 002779B4 80 DF 0F 44 */ lwz r6, 0xf44(r31) +/* 8027AA58 002779B8 80 1F 0F 48 */ lwz r0, 0xf48(r31) +/* 8027AA5C 002779BC 90 C1 05 C8 */ stw r6, 0x5c8(r1) +/* 8027AA60 002779C0 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027AA64 002779C4 C0 1F 0F 4C */ lfs f0, 0xf4c(r31) +/* 8027AA68 002779C8 D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027AA6C 002779CC 80 1F 0F 54 */ lwz r0, 0xf54(r31) +/* 8027AA70 002779D0 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027AA74 002779D4 80 DF 0F 58 */ lwz r6, 0xf58(r31) +/* 8027AA78 002779D8 80 1F 0F 5C */ lwz r0, 0xf5c(r31) +/* 8027AA7C 002779DC 90 C1 05 DC */ stw r6, 0x5dc(r1) +/* 8027AA80 002779E0 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027AA84 002779E4 80 DF 0F 60 */ lwz r6, 0xf60(r31) +/* 8027AA88 002779E8 80 1F 0F 64 */ lwz r0, 0xf64(r31) +/* 8027AA8C 002779EC 90 C1 05 E4 */ stw r6, 0x5e4(r1) +/* 8027AA90 002779F0 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027AA94 002779F4 80 DF 0F 68 */ lwz r6, 0xf68(r31) +/* 8027AA98 002779F8 80 1F 0F 6C */ lwz r0, 0xf6c(r31) +/* 8027AA9C 002779FC 90 C1 05 EC */ stw r6, 0x5ec(r1) +/* 8027AAA0 00277A00 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027AAA4 00277A04 80 DF 0F 70 */ lwz r6, 0xf70(r31) +/* 8027AAA8 00277A08 80 1F 0F 74 */ lwz r0, 0xf74(r31) +/* 8027AAAC 00277A0C 90 C1 05 F4 */ stw r6, 0x5f4(r1) +/* 8027AAB0 00277A10 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027AAB4 00277A14 80 DF 0F 78 */ lwz r6, 0xf78(r31) +/* 8027AAB8 00277A18 80 1F 0F 7C */ lwz r0, 0xf7c(r31) +/* 8027AABC 00277A1C 90 C1 05 FC */ stw r6, 0x5fc(r1) +/* 8027AAC0 00277A20 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027AAC4 00277A24 80 DF 0F 80 */ lwz r6, 0xf80(r31) +/* 8027AAC8 00277A28 80 1F 0F 84 */ lwz r0, 0xf84(r31) +/* 8027AACC 00277A2C 90 C1 06 04 */ stw r6, 0x604(r1) +/* 8027AAD0 00277A30 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027AAD4 00277A34 C0 1F 0F 88 */ lfs f0, 0xf88(r31) +/* 8027AAD8 00277A38 D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027AADC 00277A3C 80 1F 0F 8C */ lwz r0, 0xf8c(r31) +/* 8027AAE0 00277A40 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027AAE4 00277A44 80 1F 0F 90 */ lwz r0, 0xf90(r31) +/* 8027AAE8 00277A48 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027AAEC 00277A4C 80 DF 0F 94 */ lwz r6, 0xf94(r31) +/* 8027AAF0 00277A50 80 1F 0F 98 */ lwz r0, 0xf98(r31) +/* 8027AAF4 00277A54 90 C1 06 18 */ stw r6, 0x618(r1) +/* 8027AAF8 00277A58 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027AAFC 00277A5C 80 1F 0F 9C */ lwz r0, 0xf9c(r31) +/* 8027AB00 00277A60 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027AB04 00277A64 C0 1F 0F A0 */ lfs f0, 0xfa0(r31) +/* 8027AB08 00277A68 D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027AB0C 00277A6C 4B DF DE 6D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027AB10 00277A70 C0 41 02 C0 */ lfs f2, 0x2c0(r1) +/* 8027AB14 00277A74 38 61 05 54 */ addi r3, r1, 0x554 +/* 8027AB18 00277A78 C0 21 02 D0 */ lfs f1, 0x2d0(r1) +/* 8027AB1C 00277A7C 38 81 01 04 */ addi r4, r1, 0x104 +/* 8027AB20 00277A80 C0 01 02 E0 */ lfs f0, 0x2e0(r1) +/* 8027AB24 00277A84 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 8027AB28 00277A88 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 8027AB2C 00277A8C 80 C1 00 F8 */ lwz r6, 0xf8(r1) +/* 8027AB30 00277A90 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 8027AB34 00277A94 80 A1 00 FC */ lwz r5, 0xfc(r1) +/* 8027AB38 00277A98 80 01 01 00 */ lwz r0, 0x100(r1) +/* 8027AB3C 00277A9C 90 C1 01 04 */ stw r6, 0x104(r1) +/* 8027AB40 00277AA0 90 A1 01 08 */ stw r5, 0x108(r1) +/* 8027AB44 00277AA4 90 01 01 0C */ stw r0, 0x10c(r1) +/* 8027AB48 00277AA8 C0 3F 0E C4 */ lfs f1, 0xec4(r31) +/* 8027AB4C 00277AAC 4B EE 23 21 */ bl SetSfxPositionAndDistance__16CCameraShakeDataFRC9CVector3ff +lbl_8027AB50: +/* 8027AB50 00277AB0 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8027AB54 00277AB4 4B D8 FD AD */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 8027AB58 00277AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027AB5C 00277ABC 40 82 00 14 */ bne lbl_8027AB70 +/* 8027AB60 00277AC0 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8027AB64 00277AC4 38 81 05 54 */ addi r4, r1, 0x554 +/* 8027AB68 00277AC8 38 A0 00 01 */ li r5, 1 +/* 8027AB6C 00277ACC 4B D8 FE B5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +lbl_8027AB70: +/* 8027AB70 00277AD0 34 81 05 D4 */ addic. r4, r1, 0x5d4 +/* 8027AB74 00277AD4 41 82 00 10 */ beq lbl_8027AB84 +/* 8027AB78 00277AD8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027AB7C 00277ADC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027AB80 00277AE0 90 04 00 00 */ stw r0, 0(r4) +lbl_8027AB84: +/* 8027AB84 00277AE4 34 81 05 98 */ addic. r4, r1, 0x598 +/* 8027AB88 00277AE8 41 82 00 10 */ beq lbl_8027AB98 +/* 8027AB8C 00277AEC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027AB90 00277AF0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027AB94 00277AF4 90 04 00 00 */ stw r0, 0(r4) +lbl_8027AB98: +/* 8027AB98 00277AF8 34 81 05 5C */ addic. r4, r1, 0x55c +/* 8027AB9C 00277AFC 41 82 00 AC */ beq lbl_8027AC48 +/* 8027ABA0 00277B00 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027ABA4 00277B04 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027ABA8 00277B08 90 04 00 00 */ stw r0, 0(r4) +/* 8027ABAC 00277B0C 48 00 00 9C */ b lbl_8027AC48 +lbl_8027ABB0: +/* 8027ABB0 00277B10 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027ABB4 00277B14 2C 00 00 07 */ cmpwi r0, 7 +/* 8027ABB8 00277B18 40 82 00 90 */ bne lbl_8027AC48 +/* 8027ABBC 00277B1C 80 7F 0C 54 */ lwz r3, 0xc54(r31) +/* 8027ABC0 00277B20 38 80 00 01 */ li r4, 1 +/* 8027ABC4 00277B24 81 83 00 00 */ lwz r12, 0(r3) +/* 8027ABC8 00277B28 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027ABCC 00277B2C 7D 89 03 A6 */ mtctr r12 +/* 8027ABD0 00277B30 4E 80 04 21 */ bctrl +/* 8027ABD4 00277B34 80 1F 05 70 */ lwz r0, 0x570(r31) +/* 8027ABD8 00277B38 7F C3 F3 78 */ mr r3, r30 +/* 8027ABDC 00277B3C 38 81 00 34 */ addi r4, r1, 0x34 +/* 8027ABE0 00277B40 54 00 08 3C */ slwi r0, r0, 1 +/* 8027ABE4 00277B44 7C BF 02 14 */ add r5, r31, r0 +/* 8027ABE8 00277B48 A0 05 0B 28 */ lhz r0, 0xb28(r5) +/* 8027ABEC 00277B4C B0 01 00 34 */ sth r0, 0x34(r1) +/* 8027ABF0 00277B50 4B DD 19 85 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027ABF4 00277B54 28 03 00 00 */ cmplwi r3, 0 +/* 8027ABF8 00277B58 41 82 00 50 */ beq lbl_8027AC48 +/* 8027ABFC 00277B5C 80 03 04 90 */ lwz r0, 0x490(r3) +/* 8027AC00 00277B60 C3 C2 BC F4 */ lfs f30, lbl_805ADA14@sda21(r2) +/* 8027AC04 00277B64 90 01 00 AC */ stw r0, 0xac(r1) +/* 8027AC08 00277B68 F3 C1 A0 30 */ psq_st f30, 48(r1), 1, qr2 +/* 8027AC0C 00277B6C 38 81 00 AC */ addi r4, r1, 0xac +/* 8027AC10 00277B70 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8027AC14 00277B74 98 01 00 AF */ stb r0, 0xaf(r1) +/* 8027AC18 00277B78 80 7F 0C 54 */ lwz r3, 0xc54(r31) +/* 8027AC1C 00277B7C 81 83 00 00 */ lwz r12, 0(r3) +/* 8027AC20 00277B80 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8027AC24 00277B84 7D 89 03 A6 */ mtctr r12 +/* 8027AC28 00277B88 4E 80 04 21 */ bctrl +/* 8027AC2C 00277B8C 48 00 00 1C */ b lbl_8027AC48 +lbl_8027AC30: +/* 8027AC30 00277B90 80 7F 0C 54 */ lwz r3, 0xc54(r31) +/* 8027AC34 00277B94 38 80 00 00 */ li r4, 0 +/* 8027AC38 00277B98 81 83 00 00 */ lwz r12, 0(r3) +/* 8027AC3C 00277B9C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027AC40 00277BA0 7D 89 03 A6 */ mtctr r12 +/* 8027AC44 00277BA4 4E 80 04 21 */ bctrl +lbl_8027AC48: +/* 8027AC48 00277BA8 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8027AC4C 00277BAC 40 82 00 1C */ bne lbl_8027AC68 +/* 8027AC50 00277BB0 FC 20 F8 90 */ fmr f1, f31 +/* 8027AC54 00277BB4 7F E3 FB 78 */ mr r3, r31 +/* 8027AC58 00277BB8 7F C4 F3 78 */ mr r4, r30 +/* 8027AC5C 00277BBC 7F 85 E3 78 */ mr r5, r28 +/* 8027AC60 00277BC0 7F A6 EB 78 */ mr r6, r29 +/* 8027AC64 00277BC4 4B DF E2 4D */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8027AC68: +/* 8027AC68 00277BC8 E3 E1 06 98 */ psq_l f31, 1688(r1), 0, qr0 +/* 8027AC6C 00277BCC CB E1 06 90 */ lfd f31, 0x690(r1) +/* 8027AC70 00277BD0 E3 C1 06 88 */ psq_l f30, 1672(r1), 0, qr0 +/* 8027AC74 00277BD4 CB C1 06 80 */ lfd f30, 0x680(r1) +/* 8027AC78 00277BD8 E3 A1 06 78 */ psq_l f29, 1656(r1), 0, qr0 +/* 8027AC7C 00277BDC CB A1 06 70 */ lfd f29, 0x670(r1) +/* 8027AC80 00277BE0 E3 81 06 68 */ psq_l f28, 1640(r1), 0, qr0 +/* 8027AC84 00277BE4 CB 81 06 60 */ lfd f28, 0x660(r1) +/* 8027AC88 00277BE8 BA A1 06 34 */ lmw r21, 0x634(r1) +/* 8027AC8C 00277BEC 80 01 06 A4 */ lwz r0, 0x6a4(r1) +/* 8027AC90 00277BF0 7C 08 03 A6 */ mtlr r0 +/* 8027AC94 00277BF4 38 21 06 A0 */ addi r1, r1, 0x6a0 +/* 8027AC98 00277BF8 4E 80 00 20 */ blr + +.global AcceptScriptMsg__16CMetroidPrimeExoF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__16CMetroidPrimeExoF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8027AC9C 00277BFC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027ACA0 00277C00 7C 08 02 A6 */ mflr r0 +/* 8027ACA4 00277C04 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027ACA8 00277C08 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8027ACAC 00277C0C 7C 9C 23 78 */ mr r28, r4 +/* 8027ACB0 00277C10 28 1C 00 2A */ cmplwi r28, 0x2a +/* 8027ACB4 00277C14 7C 7B 1B 78 */ mr r27, r3 +/* 8027ACB8 00277C18 7C BD 2B 78 */ mr r29, r5 +/* 8027ACBC 00277C1C 7C DE 33 78 */ mr r30, r6 +/* 8027ACC0 00277C20 3B E0 00 00 */ li r31, 0 +/* 8027ACC4 00277C24 41 81 01 DC */ bgt lbl_8027AEA0 +/* 8027ACC8 00277C28 3C 80 80 3F */ lis r4, lbl_803EB020@ha +/* 8027ACCC 00277C2C 57 80 10 3A */ slwi r0, r28, 2 +/* 8027ACD0 00277C30 38 84 B0 20 */ addi r4, r4, lbl_803EB020@l +/* 8027ACD4 00277C34 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8027ACD8 00277C38 7C 09 03 A6 */ mtctr r0 +/* 8027ACDC 00277C3C 4E 80 04 20 */ bctr +/* 8027ACE0 00277C40 80 7B 05 6C */ lwz r3, 0x56c(r27) +/* 8027ACE4 00277C44 7F C4 F3 78 */ mr r4, r30 +/* 8027ACE8 00277C48 38 A0 00 01 */ li r5, 1 +/* 8027ACEC 00277C4C 4B F2 C6 0D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027ACF0 00277C50 48 00 01 B0 */ b lbl_8027AEA0 +/* 8027ACF4 00277C54 80 7B 05 6C */ lwz r3, 0x56c(r27) +/* 8027ACF8 00277C58 7F C4 F3 78 */ mr r4, r30 +/* 8027ACFC 00277C5C 38 A0 00 00 */ li r5, 0 +/* 8027AD00 00277C60 4B F2 C5 F9 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027AD04 00277C64 48 00 01 9C */ b lbl_8027AEA0 +/* 8027AD08 00277C68 38 80 00 00 */ li r4, 0 +/* 8027AD0C 00277C6C 4B DD 80 61 */ bl CreateShadow__6CActorFb +/* 8027AD10 00277C70 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8027AD14 00277C74 7F C4 F3 78 */ mr r4, r30 +/* 8027AD18 00277C78 4B EB FF D9 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8027AD1C 00277C7C 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 8027AD20 00277C80 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8027AD24 00277C84 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 8027AD28 00277C88 80 84 00 04 */ lwz r4, 4(r4) +/* 8027AD2C 00277C8C 4B EB FC AD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8027AD30 00277C90 7F 63 DB 78 */ mr r3, r27 +/* 8027AD34 00277C94 4B FF E3 09 */ bl sub_8027903c +/* 8027AD38 00277C98 7F 63 DB 78 */ mr r3, r27 +/* 8027AD3C 00277C9C 7F C4 F3 78 */ mr r4, r30 +/* 8027AD40 00277CA0 4B FF E4 95 */ bl sub_802791d4 +/* 8027AD44 00277CA4 7F 63 DB 78 */ mr r3, r27 +/* 8027AD48 00277CA8 7F C4 F3 78 */ mr r4, r30 +/* 8027AD4C 00277CAC 38 A0 00 01 */ li r5, 1 +/* 8027AD50 00277CB0 4B FF DA B1 */ bl sub_80278800 +/* 8027AD54 00277CB4 7F 63 DB 78 */ mr r3, r27 +/* 8027AD58 00277CB8 7F C4 F3 78 */ mr r4, r30 +/* 8027AD5C 00277CBC 38 A0 00 01 */ li r5, 1 +/* 8027AD60 00277CC0 4B FF DE 01 */ bl sub_80278b60 +/* 8027AD64 00277CC4 7F 63 DB 78 */ mr r3, r27 +/* 8027AD68 00277CC8 7F C4 F3 78 */ mr r4, r30 +/* 8027AD6C 00277CCC 4B FF CE 99 */ bl sub_80277c04 +/* 8027AD70 00277CD0 7F 63 DB 78 */ mr r3, r27 +/* 8027AD74 00277CD4 7F C4 F3 78 */ mr r4, r30 +/* 8027AD78 00277CD8 4B FF 93 85 */ bl sub_802740fc +/* 8027AD7C 00277CDC 7F 63 DB 78 */ mr r3, r27 +/* 8027AD80 00277CE0 7F C4 F3 78 */ mr r4, r30 +/* 8027AD84 00277CE4 38 A0 00 00 */ li r5, 0 +/* 8027AD88 00277CE8 4B FF A8 25 */ bl sub_802755ac +/* 8027AD8C 00277CEC 7F 63 DB 78 */ mr r3, r27 +/* 8027AD90 00277CF0 7F C4 F3 78 */ mr r4, r30 +/* 8027AD94 00277CF4 4B FF 96 E9 */ bl sub_8027447c +/* 8027AD98 00277CF8 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 8027AD9C 00277CFC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8027ADA0 00277D00 D0 03 07 58 */ stfs f0, 0x758(r3) +/* 8027ADA4 00277D04 48 00 00 FC */ b lbl_8027AEA0 +/* 8027ADA8 00277D08 7F C5 F3 78 */ mr r5, r30 +/* 8027ADAC 00277D0C 38 80 00 30 */ li r4, 0x30 +/* 8027ADB0 00277D10 4B DD 91 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8027ADB4 00277D14 80 1B 00 04 */ lwz r0, 4(r27) +/* 8027ADB8 00277D18 7F 63 DB 78 */ mr r3, r27 +/* 8027ADBC 00277D1C 7F C4 F3 78 */ mr r4, r30 +/* 8027ADC0 00277D20 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027ADC4 00277D24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027ADC8 00277D28 4B FF BF 69 */ bl sub_80276d30 +/* 8027ADCC 00277D2C 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 8027ADD0 00277D30 80 9B 00 04 */ lwz r4, 4(r27) +/* 8027ADD4 00277D34 80 03 00 68 */ lwz r0, 0x68(r3) +/* 8027ADD8 00277D38 7C 04 00 00 */ cmpw r4, r0 +/* 8027ADDC 00277D3C 40 82 00 14 */ bne lbl_8027ADF0 +/* 8027ADE0 00277D40 7F 63 DB 78 */ mr r3, r27 +/* 8027ADE4 00277D44 7F C5 F3 78 */ mr r5, r30 +/* 8027ADE8 00277D48 38 80 00 07 */ li r4, 7 +/* 8027ADEC 00277D4C 4B FF B8 F9 */ bl sub_802766e4 +lbl_8027ADF0: +/* 8027ADF0 00277D50 80 7B 0F B0 */ lwz r3, 0xfb0(r27) +/* 8027ADF4 00277D54 28 03 00 00 */ cmplwi r3, 0 +/* 8027ADF8 00277D58 41 82 00 A8 */ beq lbl_8027AEA0 +/* 8027ADFC 00277D5C 81 83 00 00 */ lwz r12, 0(r3) +/* 8027AE00 00277D60 38 80 00 00 */ li r4, 0 +/* 8027AE04 00277D64 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027AE08 00277D68 7D 89 03 A6 */ mtctr r12 +/* 8027AE0C 00277D6C 4E 80 04 21 */ bctrl +/* 8027AE10 00277D70 48 00 00 90 */ b lbl_8027AEA0 +/* 8027AE14 00277D74 80 7B 05 6C */ lwz r3, 0x56c(r27) +/* 8027AE18 00277D78 7F C4 F3 78 */ mr r4, r30 +/* 8027AE1C 00277D7C 4B F2 C5 A9 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 8027AE20 00277D80 7F 63 DB 78 */ mr r3, r27 +/* 8027AE24 00277D84 7F C4 F3 78 */ mr r4, r30 +/* 8027AE28 00277D88 4B FF CD 4D */ bl sub_80277b74 +/* 8027AE2C 00277D8C 7F 63 DB 78 */ mr r3, r27 +/* 8027AE30 00277D90 7F C4 F3 78 */ mr r4, r30 +/* 8027AE34 00277D94 4B FF 92 99 */ bl sub_802740cc +/* 8027AE38 00277D98 7F 63 DB 78 */ mr r3, r27 +/* 8027AE3C 00277D9C 7F C4 F3 78 */ mr r4, r30 +/* 8027AE40 00277DA0 4B FF 96 0D */ bl sub_8027444c +/* 8027AE44 00277DA4 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027AE48 00277DA8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8027AE4C 00277DAC D0 03 07 58 */ stfs f0, 0x758(r3) +/* 8027AE50 00277DB0 48 00 00 50 */ b lbl_8027AEA0 +/* 8027AE54 00277DB4 88 1B 14 44 */ lbz r0, 0x1444(r27) +/* 8027AE58 00277DB8 38 60 00 01 */ li r3, 1 +/* 8027AE5C 00277DBC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027AE60 00277DC0 98 1B 14 44 */ stb r0, 0x1444(r27) +/* 8027AE64 00277DC4 48 00 00 3C */ b lbl_8027AEA0 +/* 8027AE68 00277DC8 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8027AE6C 00277DCC 7F C5 F3 78 */ mr r5, r30 +/* 8027AE70 00277DD0 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027AE74 00277DD4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8027AE78 00277DD8 4B FF DE 51 */ bl sub_80278cc8 +/* 8027AE7C 00277DDC 48 00 00 24 */ b lbl_8027AEA0 +/* 8027AE80 00277DE0 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8027AE84 00277DE4 7F C5 F3 78 */ mr r5, r30 +/* 8027AE88 00277DE8 38 81 00 0C */ addi r4, r1, 0xc +/* 8027AE8C 00277DEC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027AE90 00277DF0 4B FF D3 ED */ bl sub_8027827c +/* 8027AE94 00277DF4 3B E0 00 01 */ li r31, 1 +/* 8027AE98 00277DF8 48 00 00 08 */ b lbl_8027AEA0 +/* 8027AE9C 00277DFC 3B E0 00 01 */ li r31, 1 +lbl_8027AEA0: +/* 8027AEA0 00277E00 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8027AEA4 00277E04 40 82 00 20 */ bne lbl_8027AEC4 +/* 8027AEA8 00277E08 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8027AEAC 00277E0C 7F 63 DB 78 */ mr r3, r27 +/* 8027AEB0 00277E10 7F 84 E3 78 */ mr r4, r28 +/* 8027AEB4 00277E14 7F C6 F3 78 */ mr r6, r30 +/* 8027AEB8 00277E18 B0 01 00 08 */ sth r0, 8(r1) +/* 8027AEBC 00277E1C 38 A1 00 08 */ addi r5, r1, 8 +/* 8027AEC0 00277E20 4B E0 1C B9 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_8027AEC4: +/* 8027AEC4 00277E24 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8027AEC8 00277E28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027AECC 00277E2C 7C 08 03 A6 */ mtlr r0 +/* 8027AED0 00277E30 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027AED4 00277E34 4E 80 00 20 */ blr + +.global Accept__16CMetroidPrimeExoFR8IVisitor +Accept__16CMetroidPrimeExoFR8IVisitor: +/* 8027AED8 00277E38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027AEDC 00277E3C 7C 08 02 A6 */ mflr r0 +/* 8027AEE0 00277E40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027AEE4 00277E44 7C 60 1B 78 */ mr r0, r3 +/* 8027AEE8 00277E48 7C 83 23 78 */ mr r3, r4 +/* 8027AEEC 00277E4C 81 84 00 00 */ lwz r12, 0(r4) +/* 8027AEF0 00277E50 7C 04 03 78 */ mr r4, r0 +/* 8027AEF4 00277E54 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8027AEF8 00277E58 7D 89 03 A6 */ mtctr r12 +/* 8027AEFC 00277E5C 4E 80 04 21 */ bctrl +/* 8027AF00 00277E60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027AF04 00277E64 7C 08 03 A6 */ mtlr r0 +/* 8027AF08 00277E68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027AF0C 00277E6C 4E 80 00 20 */ blr + +.global __ct__16CMetroidPrimeExo +__ct__16CMetroidPrimeExo: +/* 8027AF10 00277E70 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 8027AF14 00277E74 7C 08 02 A6 */ mflr r0 +/* 8027AF18 00277E78 39 80 00 01 */ li r12, 1 +/* 8027AF1C 00277E7C 39 60 00 02 */ li r11, 2 +/* 8027AF20 00277E80 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 8027AF24 00277E84 BD C1 01 78 */ stmw r14, 0x178(r1) +/* 8027AF28 00277E88 7C CF 33 78 */ mr r15, r6 +/* 8027AF2C 00277E8C 7D 0E 43 78 */ mr r14, r8 +/* 8027AF30 00277E90 7C A6 2B 78 */ mr r6, r5 +/* 8027AF34 00277E94 7D E8 7B 78 */ mr r8, r15 +/* 8027AF38 00277E98 82 21 01 C8 */ lwz r17, 0x1c8(r1) +/* 8027AF3C 00277E9C 82 41 01 D8 */ lwz r18, 0x1d8(r1) +/* 8027AF40 00277EA0 7C 70 1B 78 */ mr r16, r3 +/* 8027AF44 00277EA4 82 61 01 DC */ lwz r19, 0x1dc(r1) +/* 8027AF48 00277EA8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8027AF4C 00277EAC 82 81 01 E0 */ lwz r20, 0x1e0(r1) +/* 8027AF50 00277EB0 82 A1 01 E4 */ lwz r21, 0x1e4(r1) +/* 8027AF54 00277EB4 82 C1 01 E8 */ lwz r22, 0x1e8(r1) +/* 8027AF58 00277EB8 82 E1 01 EC */ lwz r23, 0x1ec(r1) +/* 8027AF5C 00277EBC 83 01 01 F0 */ lwz r24, 0x1f0(r1) +/* 8027AF60 00277EC0 83 21 01 F4 */ lwz r25, 0x1f4(r1) +/* 8027AF64 00277EC4 83 41 01 F8 */ lwz r26, 0x1f8(r1) +/* 8027AF68 00277EC8 83 61 01 FC */ lwz r27, 0x1fc(r1) +/* 8027AF6C 00277ECC 83 81 02 00 */ lwz r28, 0x200(r1) +/* 8027AF70 00277ED0 83 A1 02 04 */ lwz r29, 0x204(r1) +/* 8027AF74 00277ED4 83 C1 02 08 */ lwz r30, 0x208(r1) +/* 8027AF78 00277ED8 83 E1 02 0C */ lwz r31, 0x20c(r1) +/* 8027AF7C 00277EDC 81 E1 02 18 */ lwz r15, 0x218(r1) +/* 8027AF80 00277EE0 A0 04 00 00 */ lhz r0, 0(r4) +/* 8027AF84 00277EE4 38 80 00 03 */ li r4, 3 +/* 8027AF88 00277EE8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8027AF8C 00277EEC 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 8027AF90 00277EF0 91 21 00 08 */ stw r9, 8(r1) +/* 8027AF94 00277EF4 7C E9 3B 78 */ mr r9, r7 +/* 8027AF98 00277EF8 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 8027AF9C 00277EFC 38 E0 00 00 */ li r7, 0 +/* 8027AFA0 00277F00 91 81 00 0C */ stw r12, 0xc(r1) +/* 8027AFA4 00277F04 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 8027AFA8 00277F08 91 81 00 10 */ stw r12, 0x10(r1) +/* 8027AFAC 00277F0C 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8027AFB0 00277F10 90 81 00 14 */ stw r4, 0x14(r1) +/* 8027AFB4 00277F14 38 80 00 15 */ li r4, 0x15 +/* 8027AFB8 00277F18 91 41 00 18 */ stw r10, 0x18(r1) +/* 8027AFBC 00277F1C 7D CA 73 78 */ mr r10, r14 +/* 8027AFC0 00277F20 81 C1 02 10 */ lwz r14, 0x210(r1) +/* 8027AFC4 00277F24 91 61 00 1C */ stw r11, 0x1c(r1) +/* 8027AFC8 00277F28 4B E0 24 89 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8027AFCC 00277F2C 3C 60 80 3F */ lis r3, lbl_803EAD54@ha +/* 8027AFD0 00277F30 38 A0 00 00 */ li r5, 0 +/* 8027AFD4 00277F34 38 03 AD 54 */ addi r0, r3, lbl_803EAD54@l +/* 8027AFD8 00277F38 38 90 05 8C */ addi r4, r16, 0x58c +/* 8027AFDC 00277F3C 90 10 00 00 */ stw r0, 0(r16) +/* 8027AFE0 00277F40 38 00 00 01 */ li r0, 1 +/* 8027AFE4 00277F44 38 6F 00 04 */ addi r3, r15, 4 +/* 8027AFE8 00277F48 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) +/* 8027AFEC 00277F4C B0 D0 05 68 */ sth r6, 0x568(r16) +/* 8027AFF0 00277F50 90 B0 05 6C */ stw r5, 0x56c(r16) +/* 8027AFF4 00277F54 90 10 05 70 */ stw r0, 0x570(r16) +/* 8027AFF8 00277F58 90 10 05 74 */ stw r0, 0x574(r16) +/* 8027AFFC 00277F5C 90 B0 05 78 */ stw r5, 0x578(r16) +/* 8027B000 00277F60 90 B0 05 7C */ stw r5, 0x57c(r16) +/* 8027B004 00277F64 90 B0 05 80 */ stw r5, 0x580(r16) +/* 8027B008 00277F68 98 B0 05 84 */ stb r5, 0x584(r16) +/* 8027B00C 00277F6C 80 0F 00 00 */ lwz r0, 0(r15) +/* 8027B010 00277F70 90 10 05 88 */ stw r0, 0x588(r16) +/* 8027B014 00277F74 80 10 05 88 */ lwz r0, 0x588(r16) +/* 8027B018 00277F78 7C 09 03 A6 */ mtctr r0 +/* 8027B01C 00277F7C 2C 00 00 00 */ cmpwi r0, 0 +/* 8027B020 00277F80 40 81 01 08 */ ble lbl_8027B128 +lbl_8027B024: +/* 8027B024 00277F84 28 04 00 00 */ cmplwi r4, 0 +/* 8027B028 00277F88 41 82 00 F4 */ beq lbl_8027B11C +/* 8027B02C 00277F8C 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B030 00277F90 90 04 00 00 */ stw r0, 0(r4) +/* 8027B034 00277F94 80 A3 00 04 */ lwz r5, 4(r3) +/* 8027B038 00277F98 80 03 00 08 */ lwz r0, 8(r3) +/* 8027B03C 00277F9C 90 A4 00 04 */ stw r5, 4(r4) +/* 8027B040 00277FA0 90 04 00 08 */ stw r0, 8(r4) +/* 8027B044 00277FA4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8027B048 00277FA8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8027B04C 00277FAC 90 A4 00 0C */ stw r5, 0xc(r4) +/* 8027B050 00277FB0 90 04 00 10 */ stw r0, 0x10(r4) +/* 8027B054 00277FB4 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 8027B058 00277FB8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8027B05C 00277FBC 90 A4 00 14 */ stw r5, 0x14(r4) +/* 8027B060 00277FC0 90 04 00 18 */ stw r0, 0x18(r4) +/* 8027B064 00277FC4 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 8027B068 00277FC8 80 03 00 20 */ lwz r0, 0x20(r3) +/* 8027B06C 00277FCC 90 A4 00 1C */ stw r5, 0x1c(r4) +/* 8027B070 00277FD0 90 04 00 20 */ stw r0, 0x20(r4) +/* 8027B074 00277FD4 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 8027B078 00277FD8 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8027B07C 00277FDC 90 A4 00 24 */ stw r5, 0x24(r4) +/* 8027B080 00277FE0 90 04 00 28 */ stw r0, 0x28(r4) +/* 8027B084 00277FE4 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 8027B088 00277FE8 80 03 00 30 */ lwz r0, 0x30(r3) +/* 8027B08C 00277FEC 90 A4 00 2C */ stw r5, 0x2c(r4) +/* 8027B090 00277FF0 90 04 00 30 */ stw r0, 0x30(r4) +/* 8027B094 00277FF4 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 8027B098 00277FF8 80 03 00 38 */ lwz r0, 0x38(r3) +/* 8027B09C 00277FFC 90 A4 00 34 */ stw r5, 0x34(r4) +/* 8027B0A0 00278000 90 04 00 38 */ stw r0, 0x38(r4) +/* 8027B0A4 00278004 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8027B0A8 00278008 90 04 00 3C */ stw r0, 0x3c(r4) +/* 8027B0AC 0027800C 80 A3 00 40 */ lwz r5, 0x40(r3) +/* 8027B0B0 00278010 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8027B0B4 00278014 90 A4 00 40 */ stw r5, 0x40(r4) +/* 8027B0B8 00278018 90 04 00 44 */ stw r0, 0x44(r4) +/* 8027B0BC 0027801C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 8027B0C0 00278020 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 8027B0C4 00278024 90 A4 00 48 */ stw r5, 0x48(r4) +/* 8027B0C8 00278028 90 04 00 4C */ stw r0, 0x4c(r4) +/* 8027B0CC 0027802C 80 A3 00 50 */ lwz r5, 0x50(r3) +/* 8027B0D0 00278030 80 03 00 54 */ lwz r0, 0x54(r3) +/* 8027B0D4 00278034 90 A4 00 50 */ stw r5, 0x50(r4) +/* 8027B0D8 00278038 90 04 00 54 */ stw r0, 0x54(r4) +/* 8027B0DC 0027803C 80 A3 00 58 */ lwz r5, 0x58(r3) +/* 8027B0E0 00278040 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 8027B0E4 00278044 90 A4 00 58 */ stw r5, 0x58(r4) +/* 8027B0E8 00278048 90 04 00 5C */ stw r0, 0x5c(r4) +/* 8027B0EC 0027804C 80 03 00 60 */ lwz r0, 0x60(r3) +/* 8027B0F0 00278050 90 04 00 60 */ stw r0, 0x60(r4) +/* 8027B0F4 00278054 80 03 00 64 */ lwz r0, 0x64(r3) +/* 8027B0F8 00278058 90 04 00 64 */ stw r0, 0x64(r4) +/* 8027B0FC 0027805C 80 03 00 68 */ lwz r0, 0x68(r3) +/* 8027B100 00278060 90 04 00 68 */ stw r0, 0x68(r4) +/* 8027B104 00278064 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 8027B108 00278068 90 04 00 6C */ stw r0, 0x6c(r4) +/* 8027B10C 0027806C 80 A3 00 70 */ lwz r5, 0x70(r3) +/* 8027B110 00278070 80 03 00 74 */ lwz r0, 0x74(r3) +/* 8027B114 00278074 90 A4 00 70 */ stw r5, 0x70(r4) +/* 8027B118 00278078 90 04 00 74 */ stw r0, 0x74(r4) +lbl_8027B11C: +/* 8027B11C 0027807C 38 84 00 78 */ addi r4, r4, 0x78 +/* 8027B120 00278080 38 63 00 78 */ addi r3, r3, 0x78 +/* 8027B124 00278084 42 00 FF 00 */ bdnz lbl_8027B024 +lbl_8027B128: +/* 8027B128 00278088 38 00 00 00 */ li r0, 0 +/* 8027B12C 0027808C C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) +/* 8027B130 00278090 90 10 07 6C */ stw r0, 0x76c(r16) +/* 8027B134 00278094 38 00 00 03 */ li r0, 3 +/* 8027B138 00278098 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B13C 0027809C D0 30 08 C0 */ stfs f1, 0x8c0(r16) +/* 8027B140 002780A0 D0 10 08 C4 */ stfs f0, 0x8c4(r16) +/* 8027B144 002780A4 D0 10 08 C8 */ stfs f0, 0x8c8(r16) +/* 8027B148 002780A8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8027B14C 002780AC B0 70 08 CC */ sth r3, 0x8cc(r16) +/* 8027B150 002780B0 90 10 08 D0 */ stw r0, 0x8d0(r16) +/* 8027B154 002780B4 90 10 08 D4 */ stw r0, 0x8d4(r16) +/* 8027B158 002780B8 48 0C EE 5D */ bl Black__6CColorFv +/* 8027B15C 002780BC 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B160 002780C0 90 10 08 D8 */ stw r0, 0x8d8(r16) +/* 8027B164 002780C4 48 0C EE 51 */ bl Black__6CColorFv +/* 8027B168 002780C8 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B16C 002780CC 90 10 08 DC */ stw r0, 0x8dc(r16) +/* 8027B170 002780D0 48 0C EE 45 */ bl Black__6CColorFv +/* 8027B174 002780D4 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B178 002780D8 38 61 01 14 */ addi r3, r1, 0x114 +/* 8027B17C 002780DC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B180 002780E0 90 10 08 E0 */ stw r0, 0x8e0(r16) +/* 8027B184 002780E4 80 82 BB F0 */ lwz r4, lbl_805AD910@sda21(r2) +/* 8027B188 002780E8 D0 10 08 E4 */ stfs f0, 0x8e4(r16) +/* 8027B18C 002780EC 4B D8 9B 2D */ bl string_l__4rstlFPCc +/* 8027B190 002780F0 80 70 00 64 */ lwz r3, 0x64(r16) +/* 8027B194 002780F4 38 81 01 14 */ addi r4, r1, 0x114 +/* 8027B198 002780F8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027B19C 002780FC 38 63 00 0C */ addi r3, r3, 0xc +/* 8027B1A0 00278100 48 06 26 FD */ bl sub_802dd89c +/* 8027B1A4 00278104 90 70 08 E8 */ stw r3, 0x8e8(r16) +/* 8027B1A8 00278108 38 61 01 14 */ addi r3, r1, 0x114 +/* 8027B1AC 0027810C 48 0C 29 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027B1B0 00278110 C0 62 BC 08 */ lfs f3, lbl_805AD928@sda21(r2) +/* 8027B1B4 00278114 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027B1B8 00278118 39 E4 66 A0 */ addi r15, r4, skZero3f@l +/* 8027B1BC 0027811C 38 00 00 00 */ li r0, 0 +/* 8027B1C0 00278120 D0 70 08 EC */ stfs f3, 0x8ec(r16) +/* 8027B1C4 00278124 38 A0 FF FF */ li r5, -1 +/* 8027B1C8 00278128 C0 22 BC 40 */ lfs f1, lbl_805AD960@sda21(r2) +/* 8027B1CC 0027812C 34 70 0B 28 */ addic. r3, r16, 0xb28 +/* 8027B1D0 00278130 D0 70 08 F0 */ stfs f3, 0x8f0(r16) +/* 8027B1D4 00278134 38 80 00 04 */ li r4, 4 +/* 8027B1D8 00278138 C0 02 BC F8 */ lfs f0, lbl_805ADA18@sda21(r2) +/* 8027B1DC 0027813C 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B1E0 00278140 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 +/* 8027B1E4 00278144 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B1E8 00278148 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B1EC 0027814C 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 +/* 8027B1F0 00278150 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B1F4 00278154 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B1F8 00278158 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a +/* 8027B1FC 0027815C 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B200 00278160 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B204 00278164 50 06 26 F6 */ rlwimi r6, r0, 4, 0x1b, 0x1b +/* 8027B208 00278168 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B20C 0027816C 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B210 00278170 50 06 1F 38 */ rlwimi r6, r0, 3, 0x1c, 0x1c +/* 8027B214 00278174 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B218 00278178 C0 4F 00 00 */ lfs f2, 0(r15) +/* 8027B21C 0027817C D0 50 08 F8 */ stfs f2, 0x8f8(r16) +/* 8027B220 00278180 C0 4F 00 04 */ lfs f2, 4(r15) +/* 8027B224 00278184 D0 50 08 FC */ stfs f2, 0x8fc(r16) +/* 8027B228 00278188 C0 4F 00 08 */ lfs f2, 8(r15) +/* 8027B22C 0027818C D0 50 09 00 */ stfs f2, 0x900(r16) +/* 8027B230 00278190 C0 4F 00 00 */ lfs f2, 0(r15) +/* 8027B234 00278194 D0 50 09 04 */ stfs f2, 0x904(r16) +/* 8027B238 00278198 C0 4F 00 04 */ lfs f2, 4(r15) +/* 8027B23C 0027819C D0 50 09 08 */ stfs f2, 0x908(r16) +/* 8027B240 002781A0 C0 4F 00 08 */ lfs f2, 8(r15) +/* 8027B244 002781A4 D0 50 09 0C */ stfs f2, 0x90c(r16) +/* 8027B248 002781A8 D0 30 09 10 */ stfs f1, 0x910(r16) +/* 8027B24C 002781AC 88 D0 09 14 */ lbz r6, 0x914(r16) +/* 8027B250 002781B0 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 +/* 8027B254 002781B4 98 D0 09 14 */ stb r6, 0x914(r16) +/* 8027B258 002781B8 90 B0 09 18 */ stw r5, 0x918(r16) +/* 8027B25C 002781BC 92 30 09 1C */ stw r17, 0x91c(r16) +/* 8027B260 002781C0 D0 70 09 20 */ stfs f3, 0x920(r16) +/* 8027B264 002781C4 D0 10 09 24 */ stfs f0, 0x924(r16) +/* 8027B268 002781C8 D0 30 09 28 */ stfs f1, 0x928(r16) +/* 8027B26C 002781CC 90 10 09 2C */ stw r0, 0x92c(r16) +/* 8027B270 002781D0 80 B2 00 00 */ lwz r5, 0(r18) +/* 8027B274 002781D4 90 B0 09 30 */ stw r5, 0x930(r16) +/* 8027B278 002781D8 80 B2 00 04 */ lwz r5, 4(r18) +/* 8027B27C 002781DC 90 B0 09 34 */ stw r5, 0x934(r16) +/* 8027B280 002781E0 80 B2 00 08 */ lwz r5, 8(r18) +/* 8027B284 002781E4 90 B0 09 38 */ stw r5, 0x938(r16) +/* 8027B288 002781E8 80 B2 00 0C */ lwz r5, 0xc(r18) +/* 8027B28C 002781EC 90 B0 09 3C */ stw r5, 0x93c(r16) +/* 8027B290 002781F0 80 B2 00 10 */ lwz r5, 0x10(r18) +/* 8027B294 002781F4 90 B0 09 40 */ stw r5, 0x940(r16) +/* 8027B298 002781F8 88 B2 00 14 */ lbz r5, 0x14(r18) +/* 8027B29C 002781FC 98 B0 09 44 */ stb r5, 0x944(r16) +/* 8027B2A0 00278200 C0 12 00 18 */ lfs f0, 0x18(r18) +/* 8027B2A4 00278204 D0 10 09 48 */ stfs f0, 0x948(r16) +/* 8027B2A8 00278208 C0 12 00 1C */ lfs f0, 0x1c(r18) +/* 8027B2AC 0027820C D0 10 09 4C */ stfs f0, 0x94c(r16) +/* 8027B2B0 00278210 C0 12 00 20 */ lfs f0, 0x20(r18) +/* 8027B2B4 00278214 D0 10 09 50 */ stfs f0, 0x950(r16) +/* 8027B2B8 00278218 C0 12 00 24 */ lfs f0, 0x24(r18) +/* 8027B2BC 0027821C D0 10 09 54 */ stfs f0, 0x954(r16) +/* 8027B2C0 00278220 88 B2 00 28 */ lbz r5, 0x28(r18) +/* 8027B2C4 00278224 98 B0 09 58 */ stb r5, 0x958(r16) +/* 8027B2C8 00278228 C0 12 00 2C */ lfs f0, 0x2c(r18) +/* 8027B2CC 0027822C D0 10 09 5C */ stfs f0, 0x95c(r16) +/* 8027B2D0 00278230 C0 12 00 30 */ lfs f0, 0x30(r18) +/* 8027B2D4 00278234 D0 10 09 60 */ stfs f0, 0x960(r16) +/* 8027B2D8 00278238 80 B2 00 34 */ lwz r5, 0x34(r18) +/* 8027B2DC 0027823C 90 B0 09 64 */ stw r5, 0x964(r16) +/* 8027B2E0 00278240 A0 B2 00 38 */ lhz r5, 0x38(r18) +/* 8027B2E4 00278244 B0 B0 09 68 */ sth r5, 0x968(r16) +/* 8027B2E8 00278248 A0 B2 00 3A */ lhz r5, 0x3a(r18) +/* 8027B2EC 0027824C B0 B0 09 6A */ sth r5, 0x96a(r16) +/* 8027B2F0 00278250 90 10 09 6C */ stw r0, 0x96c(r16) +/* 8027B2F4 00278254 90 10 0A 80 */ stw r0, 0xa80(r16) +/* 8027B2F8 00278258 90 90 0B 24 */ stw r4, 0xb24(r16) +/* 8027B2FC 0027825C 41 82 00 0C */ beq lbl_8027B308 +/* 8027B300 00278260 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B304 00278264 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B308: +/* 8027B308 00278268 34 63 00 02 */ addic. r3, r3, 2 +/* 8027B30C 0027826C 41 82 00 0C */ beq lbl_8027B318 +/* 8027B310 00278270 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B314 00278274 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B318: +/* 8027B318 00278278 34 63 00 02 */ addic. r3, r3, 2 +/* 8027B31C 0027827C 41 82 00 0C */ beq lbl_8027B328 +/* 8027B320 00278280 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B324 00278284 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B328: +/* 8027B328 00278288 34 63 00 02 */ addic. r3, r3, 2 +/* 8027B32C 0027828C 41 82 00 0C */ beq lbl_8027B338 +/* 8027B330 00278290 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B334 00278294 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B338: +/* 8027B338 00278298 38 80 00 00 */ li r4, 0 +/* 8027B33C 0027829C 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027B340 002782A0 90 90 0B 30 */ stw r4, 0xb30(r16) +/* 8027B344 002782A4 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027B348 002782A8 38 61 01 04 */ addi r3, r1, 0x104 +/* 8027B34C 002782AC 38 A1 01 0C */ addi r5, r1, 0x10c +/* 8027B350 002782B0 90 90 0B C4 */ stw r4, 0xbc4(r16) +/* 8027B354 002782B4 90 01 01 0C */ stw r0, 0x10c(r1) +/* 8027B358 002782B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B35C 002782BC 92 61 01 10 */ stw r19, 0x110(r1) +/* 8027B360 002782C0 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B364 002782C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B368 002782C8 7D 89 03 A6 */ mtctr r12 +/* 8027B36C 002782CC 4E 80 04 21 */ bctrl +/* 8027B370 002782D0 38 70 0C 48 */ addi r3, r16, 0xc48 +/* 8027B374 002782D4 38 81 01 04 */ addi r4, r1, 0x104 +/* 8027B378 002782D8 48 0C 5B 31 */ bl __ct__6CTokenFRC6CToken +/* 8027B37C 002782DC 38 61 01 04 */ addi r3, r1, 0x104 +/* 8027B380 002782E0 38 80 FF FF */ li r4, -1 +/* 8027B384 002782E4 48 0C 5A BD */ bl __dt__6CTokenFv +/* 8027B388 002782E8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027B38C 002782EC 3A 40 00 00 */ li r18, 0 +/* 8027B390 002782F0 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027B394 002782F4 38 60 03 40 */ li r3, 0x340 +/* 8027B398 002782F8 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B39C 002782FC 38 A0 00 00 */ li r5, 0 +/* 8027B3A0 00278300 48 09 A4 CD */ bl __nw__FUlPCcPCc +/* 8027B3A4 00278304 7C 71 1B 79 */ or. r17, r3, r3 +/* 8027B3A8 00278308 41 82 00 2C */ beq lbl_8027B3D4 +/* 8027B3AC 0027830C 38 61 00 FC */ addi r3, r1, 0xfc +/* 8027B3B0 00278310 38 90 0C 48 */ addi r4, r16, 0xc48 +/* 8027B3B4 00278314 48 0C 5A F5 */ bl __ct__6CTokenFRC6CToken +/* 8027B3B8 00278318 7E 23 8B 78 */ mr r3, r17 +/* 8027B3BC 0027831C 38 81 00 FC */ addi r4, r1, 0xfc +/* 8027B3C0 00278320 3A 40 00 01 */ li r18, 1 +/* 8027B3C4 00278324 38 A0 00 00 */ li r5, 0 +/* 8027B3C8 00278328 38 C0 00 01 */ li r6, 1 +/* 8027B3CC 0027832C 48 0A 40 15 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027B3D0 00278330 7C 71 1B 78 */ mr r17, r3 +lbl_8027B3D4: +/* 8027B3D4 00278334 7C 71 00 D0 */ neg r3, r17 +/* 8027B3D8 00278338 7E 40 07 75 */ extsb. r0, r18 +/* 8027B3DC 0027833C 7C 60 8B 78 */ or r0, r3, r17 +/* 8027B3E0 00278340 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8027B3E4 00278344 98 10 0C 50 */ stb r0, 0xc50(r16) +/* 8027B3E8 00278348 92 30 0C 54 */ stw r17, 0xc54(r16) +/* 8027B3EC 0027834C 41 82 00 10 */ beq lbl_8027B3FC +/* 8027B3F0 00278350 38 61 00 FC */ addi r3, r1, 0xfc +/* 8027B3F4 00278354 38 80 00 00 */ li r4, 0 +/* 8027B3F8 00278358 48 0C 5A 49 */ bl __dt__6CTokenFv +lbl_8027B3FC: +/* 8027B3FC 0027835C 38 00 FF FF */ li r0, -1 +/* 8027B400 00278360 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027B404 00278364 90 10 0C 58 */ stw r0, 0xc58(r16) +/* 8027B408 00278368 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8027B40C 0027836C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B410 00278370 7E A4 AB 78 */ mr r4, r21 +/* 8027B414 00278374 7E C5 B3 78 */ mr r5, r22 +/* 8027B418 00278378 38 70 0C 78 */ addi r3, r16, 0xc78 +/* 8027B41C 0027837C D0 10 0C 5C */ stfs f0, 0xc5c(r16) +/* 8027B420 00278380 C0 06 00 00 */ lfs f0, 0(r6) +/* 8027B424 00278384 D0 10 0C 60 */ stfs f0, 0xc60(r16) +/* 8027B428 00278388 C0 0F 00 04 */ lfs f0, 4(r15) +/* 8027B42C 0027838C D0 10 0C 64 */ stfs f0, 0xc64(r16) +/* 8027B430 00278390 C0 0F 00 08 */ lfs f0, 8(r15) +/* 8027B434 00278394 D0 10 0C 68 */ stfs f0, 0xc68(r16) +/* 8027B438 00278398 C0 06 00 00 */ lfs f0, 0(r6) +/* 8027B43C 0027839C D0 10 0C 6C */ stfs f0, 0xc6c(r16) +/* 8027B440 002783A0 C0 0F 00 04 */ lfs f0, 4(r15) +/* 8027B444 002783A4 D0 10 0C 70 */ stfs f0, 0xc70(r16) +/* 8027B448 002783A8 C0 0F 00 08 */ lfs f0, 8(r15) +/* 8027B44C 002783AC D0 10 0C 74 */ stfs f0, 0xc74(r16) +/* 8027B450 002783B0 4B FA 0C 59 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8027B454 002783B4 7E E4 BB 78 */ mr r4, r23 +/* 8027B458 002783B8 38 70 0C A0 */ addi r3, r16, 0xca0 +/* 8027B45C 002783BC 4B D8 F9 4D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B460 002783C0 7F 04 C3 78 */ mr r4, r24 +/* 8027B464 002783C4 7F 25 CB 78 */ mr r5, r25 +/* 8027B468 002783C8 38 70 0D 74 */ addi r3, r16, 0xd74 +/* 8027B46C 002783CC 4B FA 0C 3D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8027B470 002783D0 7F 44 D3 78 */ mr r4, r26 +/* 8027B474 002783D4 38 70 0D 9C */ addi r3, r16, 0xd9c +/* 8027B478 002783D8 4B D8 F9 31 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B47C 002783DC 80 1B 00 00 */ lwz r0, 0(r27) +/* 8027B480 002783E0 38 70 0E 74 */ addi r3, r16, 0xe74 +/* 8027B484 002783E4 38 9B 00 04 */ addi r4, r27, 4 +/* 8027B488 002783E8 90 10 0E 70 */ stw r0, 0xe70(r16) +/* 8027B48C 002783EC 48 0C 5A 1D */ bl __ct__6CTokenFRC6CToken +/* 8027B490 002783F0 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 8027B494 002783F4 38 00 00 00 */ li r0, 0 +/* 8027B498 002783F8 7F A4 EB 78 */ mr r4, r29 +/* 8027B49C 002783FC 38 70 0E D0 */ addi r3, r16, 0xed0 +/* 8027B4A0 00278400 90 B0 0E 7C */ stw r5, 0xe7c(r16) +/* 8027B4A4 00278404 88 BB 00 10 */ lbz r5, 0x10(r27) +/* 8027B4A8 00278408 98 B0 0E 80 */ stb r5, 0xe80(r16) +/* 8027B4AC 0027840C C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 8027B4B0 00278410 D0 10 0E 84 */ stfs f0, 0xe84(r16) +/* 8027B4B4 00278414 C0 1B 00 18 */ lfs f0, 0x18(r27) +/* 8027B4B8 00278418 D0 10 0E 88 */ stfs f0, 0xe88(r16) +/* 8027B4BC 0027841C C0 1B 00 1C */ lfs f0, 0x1c(r27) +/* 8027B4C0 00278420 D0 10 0E 8C */ stfs f0, 0xe8c(r16) +/* 8027B4C4 00278424 C0 1B 00 20 */ lfs f0, 0x20(r27) +/* 8027B4C8 00278428 D0 10 0E 90 */ stfs f0, 0xe90(r16) +/* 8027B4CC 0027842C 88 BB 00 24 */ lbz r5, 0x24(r27) +/* 8027B4D0 00278430 98 B0 0E 94 */ stb r5, 0xe94(r16) +/* 8027B4D4 00278434 C0 1B 00 28 */ lfs f0, 0x28(r27) +/* 8027B4D8 00278438 D0 10 0E 98 */ stfs f0, 0xe98(r16) +/* 8027B4DC 0027843C C0 1B 00 2C */ lfs f0, 0x2c(r27) +/* 8027B4E0 00278440 D0 10 0E 9C */ stfs f0, 0xe9c(r16) +/* 8027B4E4 00278444 C0 1B 00 30 */ lfs f0, 0x30(r27) +/* 8027B4E8 00278448 D0 10 0E A0 */ stfs f0, 0xea0(r16) +/* 8027B4EC 0027844C 80 BB 00 34 */ lwz r5, 0x34(r27) +/* 8027B4F0 00278450 90 B0 0E A4 */ stw r5, 0xea4(r16) +/* 8027B4F4 00278454 88 BB 00 38 */ lbz r5, 0x38(r27) +/* 8027B4F8 00278458 98 B0 0E A8 */ stb r5, 0xea8(r16) +/* 8027B4FC 0027845C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8027B500 00278460 B0 B0 0E AC */ sth r5, 0xeac(r16) +/* 8027B504 00278464 90 10 0E B0 */ stw r0, 0xeb0(r16) +/* 8027B508 00278468 80 1C 00 00 */ lwz r0, 0(r28) +/* 8027B50C 0027846C 90 10 0E B4 */ stw r0, 0xeb4(r16) +/* 8027B510 00278470 88 1C 00 04 */ lbz r0, 4(r28) +/* 8027B514 00278474 98 10 0E B8 */ stb r0, 0xeb8(r16) +/* 8027B518 00278478 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8027B51C 0027847C D0 10 0E BC */ stfs f0, 0xebc(r16) +/* 8027B520 00278480 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 8027B524 00278484 D0 10 0E C0 */ stfs f0, 0xec0(r16) +/* 8027B528 00278488 C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 8027B52C 0027848C D0 10 0E C4 */ stfs f0, 0xec4(r16) +/* 8027B530 00278490 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8027B534 00278494 D0 10 0E C8 */ stfs f0, 0xec8(r16) +/* 8027B538 00278498 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 8027B53C 0027849C 98 10 0E CC */ stb r0, 0xecc(r16) +/* 8027B540 002784A0 4B D8 F8 69 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B544 002784A4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8027B548 002784A8 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 8027B54C 002784AC 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 8027B550 002784B0 81 83 00 00 */ lwz r12, 0(r3) +/* 8027B554 002784B4 38 84 02 39 */ addi r4, r4, 0x239 +/* 8027B558 002784B8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8027B55C 002784BC 7D 89 03 A6 */ mtctr r12 +/* 8027B560 002784C0 4E 80 04 21 */ bctrl +/* 8027B564 002784C4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B568 002784C8 7C 65 1B 78 */ mr r5, r3 +/* 8027B56C 002784CC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8027B570 002784D0 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B574 002784D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B578 002784D8 7D 89 03 A6 */ mtctr r12 +/* 8027B57C 002784DC 4E 80 04 21 */ bctrl +/* 8027B580 002784E0 38 70 0F A4 */ addi r3, r16, 0xfa4 +/* 8027B584 002784E4 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 8027B588 002784E8 48 0C 59 21 */ bl __ct__6CTokenFRC6CToken +/* 8027B58C 002784EC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8027B590 002784F0 38 80 FF FF */ li r4, -1 +/* 8027B594 002784F4 48 0C 58 AD */ bl __dt__6CTokenFv +/* 8027B598 002784F8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027B59C 002784FC 3A 20 00 00 */ li r17, 0 +/* 8027B5A0 00278500 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027B5A4 00278504 38 60 04 58 */ li r3, 0x458 +/* 8027B5A8 00278508 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B5AC 0027850C 38 A0 00 00 */ li r5, 0 +/* 8027B5B0 00278510 48 09 A2 BD */ bl __nw__FUlPCcPCc +/* 8027B5B4 00278514 7C 6F 1B 79 */ or. r15, r3, r3 +/* 8027B5B8 00278518 41 82 00 24 */ beq lbl_8027B5DC +/* 8027B5BC 0027851C 38 61 00 EC */ addi r3, r1, 0xec +/* 8027B5C0 00278520 38 90 0F A4 */ addi r4, r16, 0xfa4 +/* 8027B5C4 00278524 48 0C 58 E5 */ bl __ct__6CTokenFRC6CToken +/* 8027B5C8 00278528 7D E3 7B 78 */ mr r3, r15 +/* 8027B5CC 0027852C 38 81 00 EC */ addi r4, r1, 0xec +/* 8027B5D0 00278530 3A 20 00 01 */ li r17, 1 +/* 8027B5D4 00278534 48 0E 6B 9D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8027B5D8 00278538 7C 6F 1B 78 */ mr r15, r3 +lbl_8027B5DC: +/* 8027B5DC 0027853C 7C 6F 00 D0 */ neg r3, r15 +/* 8027B5E0 00278540 7E 20 07 75 */ extsb. r0, r17 +/* 8027B5E4 00278544 7C 60 7B 78 */ or r0, r3, r15 +/* 8027B5E8 00278548 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8027B5EC 0027854C 98 10 0F AC */ stb r0, 0xfac(r16) +/* 8027B5F0 00278550 91 F0 0F B0 */ stw r15, 0xfb0(r16) +/* 8027B5F4 00278554 41 82 00 10 */ beq lbl_8027B604 +/* 8027B5F8 00278558 38 61 00 EC */ addi r3, r1, 0xec +/* 8027B5FC 0027855C 38 80 00 00 */ li r4, 0 +/* 8027B600 00278560 48 0C 58 41 */ bl __dt__6CTokenFv +lbl_8027B604: +/* 8027B604 00278564 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B608 00278568 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 8027B60C 0027856C 38 C0 00 00 */ li r6, 0 +/* 8027B610 00278570 38 61 00 DC */ addi r3, r1, 0xdc +/* 8027B614 00278574 D0 10 0F B4 */ stfs f0, 0xfb4(r16) +/* 8027B618 00278578 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 8027B61C 0027857C 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 8027B620 00278580 D0 10 0F B8 */ stfs f0, 0xfb8(r16) +/* 8027B624 00278584 90 D0 0F BC */ stw r6, 0xfbc(r16) +/* 8027B628 00278588 98 D0 0F C0 */ stb r6, 0xfc0(r16) +/* 8027B62C 0027858C 98 D0 0F C1 */ stb r6, 0xfc1(r16) +/* 8027B630 00278590 90 D0 0F C4 */ stw r6, 0xfc4(r16) +/* 8027B634 00278594 90 D0 0F D8 */ stw r6, 0xfd8(r16) +/* 8027B638 00278598 90 D0 0F EC */ stw r6, 0xfec(r16) +/* 8027B63C 0027859C 90 D0 10 00 */ stw r6, 0x1000(r16) +/* 8027B640 002785A0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8027B644 002785A4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B648 002785A8 91 C1 00 E8 */ stw r14, 0xe8(r1) +/* 8027B64C 002785AC 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B650 002785B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B654 002785B4 7D 89 03 A6 */ mtctr r12 +/* 8027B658 002785B8 4E 80 04 21 */ bctrl +/* 8027B65C 002785BC 38 70 10 14 */ addi r3, r16, 0x1014 +/* 8027B660 002785C0 38 81 00 DC */ addi r4, r1, 0xdc +/* 8027B664 002785C4 48 0C 58 45 */ bl __ct__6CTokenFRC6CToken +/* 8027B668 002785C8 38 61 00 DC */ addi r3, r1, 0xdc +/* 8027B66C 002785CC 38 80 FF FF */ li r4, -1 +/* 8027B670 002785D0 48 0C 57 D1 */ bl __dt__6CTokenFv +/* 8027B674 002785D4 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8027B678 002785D8 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027B67C 002785DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B680 002785E0 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 8027B684 002785E4 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8027B688 002785E8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027B68C 002785EC 38 61 00 CC */ addi r3, r1, 0xcc +/* 8027B690 002785F0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8027B694 002785F4 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B698 002785F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B69C 002785FC 7D 89 03 A6 */ mtctr r12 +/* 8027B6A0 00278600 4E 80 04 21 */ bctrl +/* 8027B6A4 00278604 38 70 10 1C */ addi r3, r16, 0x101c +/* 8027B6A8 00278608 38 81 00 CC */ addi r4, r1, 0xcc +/* 8027B6AC 0027860C 48 0C 57 FD */ bl __ct__6CTokenFRC6CToken +/* 8027B6B0 00278610 38 61 00 CC */ addi r3, r1, 0xcc +/* 8027B6B4 00278614 38 80 FF FF */ li r4, -1 +/* 8027B6B8 00278618 48 0C 57 89 */ bl __dt__6CTokenFv +/* 8027B6BC 0027861C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027B6C0 00278620 39 E0 00 00 */ li r15, 0 +/* 8027B6C4 00278624 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027B6C8 00278628 38 60 03 40 */ li r3, 0x340 +/* 8027B6CC 0027862C 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B6D0 00278630 38 A0 00 00 */ li r5, 0 +/* 8027B6D4 00278634 48 09 A1 99 */ bl __nw__FUlPCcPCc +/* 8027B6D8 00278638 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027B6DC 0027863C 41 82 00 2C */ beq lbl_8027B708 +/* 8027B6E0 00278640 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027B6E4 00278644 38 90 10 14 */ addi r4, r16, 0x1014 +/* 8027B6E8 00278648 48 0C 57 C1 */ bl __ct__6CTokenFRC6CToken +/* 8027B6EC 0027864C 7D C3 73 78 */ mr r3, r14 +/* 8027B6F0 00278650 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 8027B6F4 00278654 39 E0 00 01 */ li r15, 1 +/* 8027B6F8 00278658 38 A0 00 00 */ li r5, 0 +/* 8027B6FC 0027865C 38 C0 00 01 */ li r6, 1 +/* 8027B700 00278660 48 0A 3C E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027B704 00278664 7C 6E 1B 78 */ mr r14, r3 +lbl_8027B708: +/* 8027B708 00278668 7C 6E 00 D0 */ neg r3, r14 +/* 8027B70C 0027866C 7D E0 07 75 */ extsb. r0, r15 +/* 8027B710 00278670 7C 60 73 78 */ or r0, r3, r14 +/* 8027B714 00278674 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8027B718 00278678 98 10 10 24 */ stb r0, 0x1024(r16) +/* 8027B71C 0027867C 91 D0 10 28 */ stw r14, 0x1028(r16) +/* 8027B720 00278680 41 82 00 10 */ beq lbl_8027B730 +/* 8027B724 00278684 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027B728 00278688 38 80 00 00 */ li r4, 0 +/* 8027B72C 0027868C 48 0C 57 15 */ bl __dt__6CTokenFv +lbl_8027B730: +/* 8027B730 00278690 38 C0 00 00 */ li r6, 0 +/* 8027B734 00278694 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 8027B738 00278698 90 D0 10 2C */ stw r6, 0x102c(r16) +/* 8027B73C 0027869C 38 00 FF FF */ li r0, -1 +/* 8027B740 002786A0 C0 02 BC FC */ lfs f0, lbl_805ADA1C@sda21(r2) +/* 8027B744 002786A4 38 70 10 8C */ addi r3, r16, 0x108c +/* 8027B748 002786A8 90 D0 10 38 */ stw r6, 0x1038(r16) +/* 8027B74C 002786AC 80 81 01 CC */ lwz r4, 0x1cc(r1) +/* 8027B750 002786B0 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8027B754 002786B4 B0 B0 10 44 */ sth r5, 0x1044(r16) +/* 8027B758 002786B8 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8027B75C 002786BC B0 B0 10 46 */ sth r5, 0x1046(r16) +/* 8027B760 002786C0 D0 30 10 48 */ stfs f1, 0x1048(r16) +/* 8027B764 002786C4 D0 10 10 4C */ stfs f0, 0x104c(r16) +/* 8027B768 002786C8 D0 30 10 50 */ stfs f1, 0x1050(r16) +/* 8027B76C 002786CC 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B770 002786D0 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 +/* 8027B774 002786D4 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B778 002786D8 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B77C 002786DC 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 +/* 8027B780 002786E0 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B784 002786E4 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B788 002786E8 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a +/* 8027B78C 002786EC 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B790 002786F0 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B794 002786F4 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b +/* 8027B798 002786F8 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B79C 002786FC 90 D0 10 58 */ stw r6, 0x1058(r16) +/* 8027B7A0 00278700 90 D0 10 6C */ stw r6, 0x106c(r16) +/* 8027B7A4 00278704 D0 30 10 74 */ stfs f1, 0x1074(r16) +/* 8027B7A8 00278708 90 10 10 78 */ stw r0, 0x1078(r16) +/* 8027B7AC 0027870C D0 30 10 7C */ stfs f1, 0x107c(r16) +/* 8027B7B0 00278710 D0 30 10 84 */ stfs f1, 0x1084(r16) +/* 8027B7B4 00278714 D0 30 10 88 */ stfs f1, 0x1088(r16) +/* 8027B7B8 00278718 4B D8 F5 F1 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B7BC 0027871C 38 00 00 00 */ li r0, 0 +/* 8027B7C0 00278720 80 81 01 D0 */ lwz r4, 0x1d0(r1) +/* 8027B7C4 00278724 90 10 11 60 */ stw r0, 0x1160(r16) +/* 8027B7C8 00278728 38 70 12 94 */ addi r3, r16, 0x1294 +/* 8027B7CC 0027872C 90 10 12 58 */ stw r0, 0x1258(r16) +/* 8027B7D0 00278730 4B D8 F5 D9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B7D4 00278734 80 81 01 D4 */ lwz r4, 0x1d4(r1) +/* 8027B7D8 00278738 38 70 13 68 */ addi r3, r16, 0x1368 +/* 8027B7DC 0027873C 4B D8 F5 CD */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B7E0 00278740 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 8027B7E4 00278744 38 60 00 9C */ li r3, 0x9c +/* 8027B7E8 00278748 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 8027B7EC 0027874C 38 A0 00 00 */ li r5, 0 +/* 8027B7F0 00278750 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B7F4 00278754 48 09 A0 79 */ bl __nw__FUlPCcPCc +/* 8027B7F8 00278758 28 03 00 00 */ cmplwi r3, 0 +/* 8027B7FC 0027875C 41 82 00 14 */ beq lbl_8027B810 +/* 8027B800 00278760 38 80 00 80 */ li r4, 0x80 +/* 8027B804 00278764 38 A0 00 80 */ li r5, 0x80 +/* 8027B808 00278768 38 C0 00 01 */ li r6, 1 +/* 8027B80C 0027876C 48 02 2B D1 */ bl __ct__16CProjectedShadowFv +lbl_8027B810: +/* 8027B810 00278770 90 70 14 3C */ stw r3, 0x143c(r16) +/* 8027B814 00278774 38 00 FF FF */ li r0, -1 +/* 8027B818 00278778 39 E0 00 00 */ li r15, 0 +/* 8027B81C 0027877C 39 D4 00 04 */ addi r14, r20, 4 +/* 8027B820 00278780 90 10 14 40 */ stw r0, 0x1440(r16) +/* 8027B824 00278784 3A 30 0B 30 */ addi r17, r16, 0xb30 +/* 8027B828 00278788 3A 50 0B C4 */ addi r18, r16, 0xbc4 +/* 8027B82C 0027878C 3A 70 0A 80 */ addi r19, r16, 0xa80 +/* 8027B830 00278790 88 10 14 44 */ lbz r0, 0x1444(r16) +/* 8027B834 00278794 51 E0 3E 30 */ rlwimi r0, r15, 7, 0x18, 0x18 +/* 8027B838 00278798 3A A0 00 00 */ li r21, 0 +/* 8027B83C 0027879C 98 10 14 44 */ stb r0, 0x1444(r16) +/* 8027B840 002787A0 88 10 14 44 */ lbz r0, 0x1444(r16) +/* 8027B844 002787A4 51 E0 36 72 */ rlwimi r0, r15, 6, 0x19, 0x19 +/* 8027B848 002787A8 98 10 14 44 */ stb r0, 0x1444(r16) +/* 8027B84C 002787AC 48 00 01 94 */ b lbl_8027B9E0 +lbl_8027B850: +/* 8027B850 002787B0 7D C4 73 78 */ mr r4, r14 +/* 8027B854 002787B4 38 70 09 6C */ addi r3, r16, 0x96c +/* 8027B858 002787B8 48 00 07 CD */ bl sub_8027c024 +/* 8027B85C 002787BC 80 11 00 00 */ lwz r0, 0(r17) +/* 8027B860 002787C0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8027B864 002787C4 7C 71 02 14 */ add r3, r17, r0 +/* 8027B868 002787C8 34 63 00 04 */ addic. r3, r3, 4 +/* 8027B86C 002787CC 41 82 00 4C */ beq lbl_8027B8B8 +/* 8027B870 002787D0 80 0E 00 64 */ lwz r0, 0x64(r14) +/* 8027B874 002787D4 90 03 00 00 */ stw r0, 0(r3) +/* 8027B878 002787D8 80 0E 00 68 */ lwz r0, 0x68(r14) +/* 8027B87C 002787DC 90 03 00 04 */ stw r0, 4(r3) +/* 8027B880 002787E0 80 0E 00 6C */ lwz r0, 0x6c(r14) +/* 8027B884 002787E4 90 03 00 08 */ stw r0, 8(r3) +/* 8027B888 002787E8 80 0E 00 70 */ lwz r0, 0x70(r14) +/* 8027B88C 002787EC 90 03 00 0C */ stw r0, 0xc(r3) +/* 8027B890 002787F0 80 0E 00 74 */ lwz r0, 0x74(r14) +/* 8027B894 002787F4 90 03 00 10 */ stw r0, 0x10(r3) +/* 8027B898 002787F8 80 0E 00 78 */ lwz r0, 0x78(r14) +/* 8027B89C 002787FC 90 03 00 14 */ stw r0, 0x14(r3) +/* 8027B8A0 00278800 80 0E 00 7C */ lwz r0, 0x7c(r14) +/* 8027B8A4 00278804 90 03 00 18 */ stw r0, 0x18(r3) +/* 8027B8A8 00278808 80 0E 00 80 */ lwz r0, 0x80(r14) +/* 8027B8AC 0027880C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8027B8B0 00278810 80 0E 00 84 */ lwz r0, 0x84(r14) +/* 8027B8B4 00278814 90 03 00 20 */ stw r0, 0x20(r3) +lbl_8027B8B8: +/* 8027B8B8 00278818 80 70 0B 30 */ lwz r3, 0xb30(r16) +/* 8027B8BC 0027881C 38 03 00 01 */ addi r0, r3, 1 +/* 8027B8C0 00278820 90 10 0B 30 */ stw r0, 0xb30(r16) +/* 8027B8C4 00278824 80 12 00 00 */ lwz r0, 0(r18) +/* 8027B8C8 00278828 80 8E 00 8C */ lwz r4, 0x8c(r14) +/* 8027B8CC 0027882C 54 00 28 34 */ slwi r0, r0, 5 +/* 8027B8D0 00278830 88 6E 00 90 */ lbz r3, 0x90(r14) +/* 8027B8D4 00278834 7C B2 02 14 */ add r5, r18, r0 +/* 8027B8D8 00278838 C0 6E 00 94 */ lfs f3, 0x94(r14) +/* 8027B8DC 0027883C C0 4E 00 98 */ lfs f2, 0x98(r14) +/* 8027B8E0 00278840 34 A5 00 04 */ addic. r5, r5, 4 +/* 8027B8E4 00278844 C0 2E 00 9C */ lfs f1, 0x9c(r14) +/* 8027B8E8 00278848 C0 0E 00 A0 */ lfs f0, 0xa0(r14) +/* 8027B8EC 0027884C 88 0E 00 A4 */ lbz r0, 0xa4(r14) +/* 8027B8F0 00278850 90 81 01 28 */ stw r4, 0x128(r1) +/* 8027B8F4 00278854 C0 8E 00 88 */ lfs f4, 0x88(r14) +/* 8027B8F8 00278858 98 61 01 2C */ stb r3, 0x12c(r1) +/* 8027B8FC 0027885C D0 61 01 30 */ stfs f3, 0x130(r1) +/* 8027B900 00278860 D0 41 01 34 */ stfs f2, 0x134(r1) +/* 8027B904 00278864 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 8027B908 00278868 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 8027B90C 0027886C 98 01 01 40 */ stb r0, 0x140(r1) +/* 8027B910 00278870 41 82 00 24 */ beq lbl_8027B934 +/* 8027B914 00278874 D0 85 00 00 */ stfs f4, 0(r5) +/* 8027B918 00278878 90 85 00 04 */ stw r4, 4(r5) +/* 8027B91C 0027887C 98 65 00 08 */ stb r3, 8(r5) +/* 8027B920 00278880 D0 65 00 0C */ stfs f3, 0xc(r5) +/* 8027B924 00278884 D0 45 00 10 */ stfs f2, 0x10(r5) +/* 8027B928 00278888 D0 25 00 14 */ stfs f1, 0x14(r5) +/* 8027B92C 0027888C D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8027B930 00278890 98 05 00 1C */ stb r0, 0x1c(r5) +lbl_8027B934: +/* 8027B934 00278894 80 90 0B C4 */ lwz r4, 0xbc4(r16) +/* 8027B938 00278898 38 61 01 44 */ addi r3, r1, 0x144 +/* 8027B93C 0027889C 38 AE 00 48 */ addi r5, r14, 0x48 +/* 8027B940 002788A0 38 04 00 01 */ addi r0, r4, 1 +/* 8027B944 002788A4 90 10 0B C4 */ stw r0, 0xbc4(r16) +/* 8027B948 002788A8 80 8E 00 44 */ lwz r4, 0x44(r14) +/* 8027B94C 002788AC 4B FA 07 5D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8027B950 002788B0 80 13 00 00 */ lwz r0, 0(r19) +/* 8027B954 002788B4 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8027B958 002788B8 7E D3 02 14 */ add r22, r19, r0 +/* 8027B95C 002788BC 36 D6 00 04 */ addic. r22, r22, 4 +/* 8027B960 002788C0 41 82 00 50 */ beq lbl_8027B9B0 +/* 8027B964 002788C4 7E C3 B3 78 */ mr r3, r22 +/* 8027B968 002788C8 38 81 01 44 */ addi r4, r1, 0x144 +/* 8027B96C 002788CC 48 0C 55 3D */ bl __ct__6CTokenFRC6CToken +/* 8027B970 002788D0 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 8027B974 002788D4 90 16 00 08 */ stw r0, 8(r22) +/* 8027B978 002788D8 80 01 01 50 */ lwz r0, 0x150(r1) +/* 8027B97C 002788DC 90 16 00 0C */ stw r0, 0xc(r22) +/* 8027B980 002788E0 88 01 01 54 */ lbz r0, 0x154(r1) +/* 8027B984 002788E4 98 16 00 10 */ stb r0, 0x10(r22) +/* 8027B988 002788E8 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 8027B98C 002788EC D0 16 00 14 */ stfs f0, 0x14(r22) +/* 8027B990 002788F0 C0 01 01 5C */ lfs f0, 0x15c(r1) +/* 8027B994 002788F4 D0 16 00 18 */ stfs f0, 0x18(r22) +/* 8027B998 002788F8 C0 01 01 60 */ lfs f0, 0x160(r1) +/* 8027B99C 002788FC D0 16 00 1C */ stfs f0, 0x1c(r22) +/* 8027B9A0 00278900 C0 01 01 64 */ lfs f0, 0x164(r1) +/* 8027B9A4 00278904 D0 16 00 20 */ stfs f0, 0x20(r22) +/* 8027B9A8 00278908 88 01 01 68 */ lbz r0, 0x168(r1) +/* 8027B9AC 0027890C 98 16 00 24 */ stb r0, 0x24(r22) +lbl_8027B9B0: +/* 8027B9B0 00278910 80 B0 0A 80 */ lwz r5, 0xa80(r16) +/* 8027B9B4 00278914 38 61 01 44 */ addi r3, r1, 0x144 +/* 8027B9B8 00278918 38 80 00 00 */ li r4, 0 +/* 8027B9BC 0027891C 38 05 00 01 */ addi r0, r5, 1 +/* 8027B9C0 00278920 90 10 0A 80 */ stw r0, 0xa80(r16) +/* 8027B9C4 00278924 48 0C 54 7D */ bl __dt__6CTokenFv +/* 8027B9C8 00278928 7C 70 7A 14 */ add r3, r16, r15 +/* 8027B9CC 0027892C 38 63 0A 84 */ addi r3, r3, 0xa84 +/* 8027B9D0 00278930 48 0C 53 B5 */ bl Lock__6CTokenFv +/* 8027B9D4 00278934 39 CE 00 A8 */ addi r14, r14, 0xa8 +/* 8027B9D8 00278938 39 EF 00 28 */ addi r15, r15, 0x28 +/* 8027B9DC 0027893C 3A B5 00 01 */ addi r21, r21, 1 +lbl_8027B9E0: +/* 8027B9E0 00278940 80 14 00 00 */ lwz r0, 0(r20) +/* 8027B9E4 00278944 7C 15 00 00 */ cmpw r21, r0 +/* 8027B9E8 00278948 41 80 FE 68 */ blt lbl_8027B850 +/* 8027B9EC 0027894C 38 70 04 60 */ addi r3, r16, 0x460 +/* 8027B9F0 00278950 38 80 00 00 */ li r4, 0 +/* 8027B9F4 00278954 4B FB 83 71 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 8027B9F8 00278958 88 10 04 E1 */ lbz r0, 0x4e1(r16) +/* 8027B9FC 0027895C 38 80 00 00 */ li r4, 0 +/* 8027BA00 00278960 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8027BA04 00278964 38 70 0C 78 */ addi r3, r16, 0xc78 +/* 8027BA08 00278968 98 10 04 E1 */ stb r0, 0x4e1(r16) +/* 8027BA0C 0027896C 88 10 04 E1 */ lbz r0, 0x4e1(r16) +/* 8027BA10 00278970 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8027BA14 00278974 98 10 04 E1 */ stb r0, 0x4e1(r16) +/* 8027BA18 00278978 48 0C 53 6D */ bl Lock__6CTokenFv +/* 8027BA1C 0027897C 38 70 0D 74 */ addi r3, r16, 0xd74 +/* 8027BA20 00278980 48 0C 53 65 */ bl Lock__6CTokenFv +/* 8027BA24 00278984 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027BA28 00278988 93 C1 00 C0 */ stw r30, 0xc0(r1) +/* 8027BA2C 0027898C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027BA30 00278990 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BA34 00278994 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8027BA38 00278998 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8027BA3C 0027899C 38 A1 00 BC */ addi r5, r1, 0xbc +/* 8027BA40 002789A0 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BA44 002789A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BA48 002789A8 7D 89 03 A6 */ mtctr r12 +/* 8027BA4C 002789AC 4E 80 04 21 */ bctrl +/* 8027BA50 002789B0 38 61 00 AC */ addi r3, r1, 0xac +/* 8027BA54 002789B4 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8027BA58 002789B8 48 0C 54 51 */ bl __ct__6CTokenFRC6CToken +/* 8027BA5C 002789BC 38 70 0F C4 */ addi r3, r16, 0xfc4 +/* 8027BA60 002789C0 80 10 0F C4 */ lwz r0, 0xfc4(r16) +/* 8027BA64 002789C4 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BA68 002789C8 7C 63 02 14 */ add r3, r3, r0 +/* 8027BA6C 002789CC 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BA70 002789D0 41 82 00 0C */ beq lbl_8027BA7C +/* 8027BA74 002789D4 38 81 00 AC */ addi r4, r1, 0xac +/* 8027BA78 002789D8 48 0C 54 31 */ bl __ct__6CTokenFRC6CToken +lbl_8027BA7C: +/* 8027BA7C 002789DC 80 B0 0F C4 */ lwz r5, 0xfc4(r16) +/* 8027BA80 002789E0 38 61 00 AC */ addi r3, r1, 0xac +/* 8027BA84 002789E4 38 80 00 00 */ li r4, 0 +/* 8027BA88 002789E8 38 05 00 01 */ addi r0, r5, 1 +/* 8027BA8C 002789EC 90 10 0F C4 */ stw r0, 0xfc4(r16) +/* 8027BA90 002789F0 48 0C 53 B1 */ bl __dt__6CTokenFv +/* 8027BA94 002789F4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8027BA98 002789F8 38 80 FF FF */ li r4, -1 +/* 8027BA9C 002789FC 48 0C 53 A5 */ bl __dt__6CTokenFv +/* 8027BAA0 00278A00 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027BAA4 00278A04 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8027BAA8 00278A08 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027BAAC 00278A0C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BAB0 00278A10 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8027BAB4 00278A14 38 61 00 9C */ addi r3, r1, 0x9c +/* 8027BAB8 00278A18 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8027BABC 00278A1C 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BAC0 00278A20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BAC4 00278A24 7D 89 03 A6 */ mtctr r12 +/* 8027BAC8 00278A28 4E 80 04 21 */ bctrl +/* 8027BACC 00278A2C 38 61 00 94 */ addi r3, r1, 0x94 +/* 8027BAD0 00278A30 38 81 00 9C */ addi r4, r1, 0x9c +/* 8027BAD4 00278A34 48 0C 53 D5 */ bl __ct__6CTokenFRC6CToken +/* 8027BAD8 00278A38 38 70 0F C4 */ addi r3, r16, 0xfc4 +/* 8027BADC 00278A3C 80 10 0F C4 */ lwz r0, 0xfc4(r16) +/* 8027BAE0 00278A40 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BAE4 00278A44 7C 63 02 14 */ add r3, r3, r0 +/* 8027BAE8 00278A48 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BAEC 00278A4C 41 82 00 0C */ beq lbl_8027BAF8 +/* 8027BAF0 00278A50 38 81 00 94 */ addi r4, r1, 0x94 +/* 8027BAF4 00278A54 48 0C 53 B5 */ bl __ct__6CTokenFRC6CToken +lbl_8027BAF8: +/* 8027BAF8 00278A58 80 B0 0F C4 */ lwz r5, 0xfc4(r16) +/* 8027BAFC 00278A5C 38 61 00 94 */ addi r3, r1, 0x94 +/* 8027BB00 00278A60 38 80 00 00 */ li r4, 0 +/* 8027BB04 00278A64 38 05 00 01 */ addi r0, r5, 1 +/* 8027BB08 00278A68 90 10 0F C4 */ stw r0, 0xfc4(r16) +/* 8027BB0C 00278A6C 48 0C 53 35 */ bl __dt__6CTokenFv +/* 8027BB10 00278A70 38 61 00 9C */ addi r3, r1, 0x9c +/* 8027BB14 00278A74 38 80 FF FF */ li r4, -1 +/* 8027BB18 00278A78 48 0C 53 29 */ bl __dt__6CTokenFv +/* 8027BB1C 00278A7C 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8027BB20 00278A80 93 E1 00 90 */ stw r31, 0x90(r1) +/* 8027BB24 00278A84 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 8027BB28 00278A88 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BB2C 00278A8C 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8027BB30 00278A90 38 61 00 84 */ addi r3, r1, 0x84 +/* 8027BB34 00278A94 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8027BB38 00278A98 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BB3C 00278A9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BB40 00278AA0 7D 89 03 A6 */ mtctr r12 +/* 8027BB44 00278AA4 4E 80 04 21 */ bctrl +/* 8027BB48 00278AA8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8027BB4C 00278AAC 38 81 00 84 */ addi r4, r1, 0x84 +/* 8027BB50 00278AB0 48 0C 53 59 */ bl __ct__6CTokenFRC6CToken +/* 8027BB54 00278AB4 38 70 0F D8 */ addi r3, r16, 0xfd8 +/* 8027BB58 00278AB8 80 10 0F D8 */ lwz r0, 0xfd8(r16) +/* 8027BB5C 00278ABC 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BB60 00278AC0 7C 63 02 14 */ add r3, r3, r0 +/* 8027BB64 00278AC4 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BB68 00278AC8 41 82 00 0C */ beq lbl_8027BB74 +/* 8027BB6C 00278ACC 38 81 00 7C */ addi r4, r1, 0x7c +/* 8027BB70 00278AD0 48 0C 53 39 */ bl __ct__6CTokenFRC6CToken +lbl_8027BB74: +/* 8027BB74 00278AD4 80 B0 0F D8 */ lwz r5, 0xfd8(r16) +/* 8027BB78 00278AD8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8027BB7C 00278ADC 38 80 00 00 */ li r4, 0 +/* 8027BB80 00278AE0 38 05 00 01 */ addi r0, r5, 1 +/* 8027BB84 00278AE4 90 10 0F D8 */ stw r0, 0xfd8(r16) +/* 8027BB88 00278AE8 48 0C 52 B9 */ bl __dt__6CTokenFv +/* 8027BB8C 00278AEC 38 61 00 84 */ addi r3, r1, 0x84 +/* 8027BB90 00278AF0 38 80 FF FF */ li r4, -1 +/* 8027BB94 00278AF4 48 0C 52 AD */ bl __dt__6CTokenFv +/* 8027BB98 00278AF8 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8027BB9C 00278AFC 93 E1 00 78 */ stw r31, 0x78(r1) +/* 8027BBA0 00278B00 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 8027BBA4 00278B04 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BBA8 00278B08 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027BBAC 00278B0C 38 61 00 6C */ addi r3, r1, 0x6c +/* 8027BBB0 00278B10 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8027BBB4 00278B14 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BBB8 00278B18 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BBBC 00278B1C 7D 89 03 A6 */ mtctr r12 +/* 8027BBC0 00278B20 4E 80 04 21 */ bctrl +/* 8027BBC4 00278B24 38 61 00 64 */ addi r3, r1, 0x64 +/* 8027BBC8 00278B28 38 81 00 6C */ addi r4, r1, 0x6c +/* 8027BBCC 00278B2C 48 0C 52 DD */ bl __ct__6CTokenFRC6CToken +/* 8027BBD0 00278B30 38 70 0F D8 */ addi r3, r16, 0xfd8 +/* 8027BBD4 00278B34 80 10 0F D8 */ lwz r0, 0xfd8(r16) +/* 8027BBD8 00278B38 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BBDC 00278B3C 7C 63 02 14 */ add r3, r3, r0 +/* 8027BBE0 00278B40 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BBE4 00278B44 41 82 00 0C */ beq lbl_8027BBF0 +/* 8027BBE8 00278B48 38 81 00 64 */ addi r4, r1, 0x64 +/* 8027BBEC 00278B4C 48 0C 52 BD */ bl __ct__6CTokenFRC6CToken +lbl_8027BBF0: +/* 8027BBF0 00278B50 80 B0 0F D8 */ lwz r5, 0xfd8(r16) +/* 8027BBF4 00278B54 38 61 00 64 */ addi r3, r1, 0x64 +/* 8027BBF8 00278B58 38 80 00 00 */ li r4, 0 +/* 8027BBFC 00278B5C 38 05 00 01 */ addi r0, r5, 1 +/* 8027BC00 00278B60 90 10 0F D8 */ stw r0, 0xfd8(r16) +/* 8027BC04 00278B64 48 0C 52 3D */ bl __dt__6CTokenFv +/* 8027BC08 00278B68 38 61 00 6C */ addi r3, r1, 0x6c +/* 8027BC0C 00278B6C 38 80 FF FF */ li r4, -1 +/* 8027BC10 00278B70 48 0C 52 31 */ bl __dt__6CTokenFv +/* 8027BC14 00278B74 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BC18 00278B78 39 E0 00 00 */ li r15, 0 +/* 8027BC1C 00278B7C 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BC20 00278B80 38 60 03 40 */ li r3, 0x340 +/* 8027BC24 00278B84 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BC28 00278B88 38 A0 00 00 */ li r5, 0 +/* 8027BC2C 00278B8C 48 09 9C 41 */ bl __nw__FUlPCcPCc +/* 8027BC30 00278B90 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BC34 00278B94 41 82 00 2C */ beq lbl_8027BC60 +/* 8027BC38 00278B98 38 61 00 5C */ addi r3, r1, 0x5c +/* 8027BC3C 00278B9C 38 90 0F C8 */ addi r4, r16, 0xfc8 +/* 8027BC40 00278BA0 48 0C 52 69 */ bl __ct__6CTokenFRC6CToken +/* 8027BC44 00278BA4 7D C3 73 78 */ mr r3, r14 +/* 8027BC48 00278BA8 38 81 00 5C */ addi r4, r1, 0x5c +/* 8027BC4C 00278BAC 39 E0 00 01 */ li r15, 1 +/* 8027BC50 00278BB0 38 A0 00 00 */ li r5, 0 +/* 8027BC54 00278BB4 38 C0 00 01 */ li r6, 1 +/* 8027BC58 00278BB8 48 0A 37 89 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027BC5C 00278BBC 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BC60: +/* 8027BC60 00278BC0 38 90 0F EC */ addi r4, r16, 0xfec +/* 8027BC64 00278BC4 7C 6E 00 D0 */ neg r3, r14 +/* 8027BC68 00278BC8 80 10 0F EC */ lwz r0, 0xfec(r16) +/* 8027BC6C 00278BCC 7C 63 73 78 */ or r3, r3, r14 +/* 8027BC70 00278BD0 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BC74 00278BD4 91 C1 00 58 */ stw r14, 0x58(r1) +/* 8027BC78 00278BD8 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BC7C 00278BDC 7C 84 02 14 */ add r4, r4, r0 +/* 8027BC80 00278BE0 98 61 00 54 */ stb r3, 0x54(r1) +/* 8027BC84 00278BE4 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BC88 00278BE8 41 82 00 14 */ beq lbl_8027BC9C +/* 8027BC8C 00278BEC 98 64 00 00 */ stb r3, 0(r4) +/* 8027BC90 00278BF0 38 00 00 00 */ li r0, 0 +/* 8027BC94 00278BF4 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BC98 00278BF8 98 01 00 54 */ stb r0, 0x54(r1) +lbl_8027BC9C: +/* 8027BC9C 00278BFC 80 70 0F EC */ lwz r3, 0xfec(r16) +/* 8027BCA0 00278C00 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8027BCA4 00278C04 38 63 00 01 */ addi r3, r3, 1 +/* 8027BCA8 00278C08 28 00 00 00 */ cmplwi r0, 0 +/* 8027BCAC 00278C0C 90 70 0F EC */ stw r3, 0xfec(r16) +/* 8027BCB0 00278C10 41 82 00 24 */ beq lbl_8027BCD4 +/* 8027BCB4 00278C14 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8027BCB8 00278C18 28 03 00 00 */ cmplwi r3, 0 +/* 8027BCBC 00278C1C 41 82 00 18 */ beq lbl_8027BCD4 +/* 8027BCC0 00278C20 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BCC4 00278C24 38 80 00 01 */ li r4, 1 +/* 8027BCC8 00278C28 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BCCC 00278C2C 7D 89 03 A6 */ mtctr r12 +/* 8027BCD0 00278C30 4E 80 04 21 */ bctrl +lbl_8027BCD4: +/* 8027BCD4 00278C34 7D E0 07 75 */ extsb. r0, r15 +/* 8027BCD8 00278C38 41 82 00 10 */ beq lbl_8027BCE8 +/* 8027BCDC 00278C3C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8027BCE0 00278C40 38 80 00 00 */ li r4, 0 +/* 8027BCE4 00278C44 48 0C 51 5D */ bl __dt__6CTokenFv +lbl_8027BCE8: +/* 8027BCE8 00278C48 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BCEC 00278C4C 39 E0 00 00 */ li r15, 0 +/* 8027BCF0 00278C50 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BCF4 00278C54 38 60 03 40 */ li r3, 0x340 +/* 8027BCF8 00278C58 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BCFC 00278C5C 38 A0 00 00 */ li r5, 0 +/* 8027BD00 00278C60 48 09 9B 6D */ bl __nw__FUlPCcPCc +/* 8027BD04 00278C64 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BD08 00278C68 41 82 00 2C */ beq lbl_8027BD34 +/* 8027BD0C 00278C6C 38 61 00 4C */ addi r3, r1, 0x4c +/* 8027BD10 00278C70 38 90 0F D0 */ addi r4, r16, 0xfd0 +/* 8027BD14 00278C74 48 0C 51 95 */ bl __ct__6CTokenFRC6CToken +/* 8027BD18 00278C78 7D C3 73 78 */ mr r3, r14 +/* 8027BD1C 00278C7C 38 81 00 4C */ addi r4, r1, 0x4c +/* 8027BD20 00278C80 39 E0 00 01 */ li r15, 1 +/* 8027BD24 00278C84 38 A0 00 00 */ li r5, 0 +/* 8027BD28 00278C88 38 C0 00 01 */ li r6, 1 +/* 8027BD2C 00278C8C 48 0A 36 B5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027BD30 00278C90 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BD34: +/* 8027BD34 00278C94 38 90 0F EC */ addi r4, r16, 0xfec +/* 8027BD38 00278C98 7C 6E 00 D0 */ neg r3, r14 +/* 8027BD3C 00278C9C 80 10 0F EC */ lwz r0, 0xfec(r16) +/* 8027BD40 00278CA0 7C 63 73 78 */ or r3, r3, r14 +/* 8027BD44 00278CA4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BD48 00278CA8 91 C1 00 48 */ stw r14, 0x48(r1) +/* 8027BD4C 00278CAC 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BD50 00278CB0 7C 84 02 14 */ add r4, r4, r0 +/* 8027BD54 00278CB4 98 61 00 44 */ stb r3, 0x44(r1) +/* 8027BD58 00278CB8 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BD5C 00278CBC 41 82 00 14 */ beq lbl_8027BD70 +/* 8027BD60 00278CC0 98 64 00 00 */ stb r3, 0(r4) +/* 8027BD64 00278CC4 38 00 00 00 */ li r0, 0 +/* 8027BD68 00278CC8 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BD6C 00278CCC 98 01 00 44 */ stb r0, 0x44(r1) +lbl_8027BD70: +/* 8027BD70 00278CD0 80 70 0F EC */ lwz r3, 0xfec(r16) +/* 8027BD74 00278CD4 88 01 00 44 */ lbz r0, 0x44(r1) +/* 8027BD78 00278CD8 38 63 00 01 */ addi r3, r3, 1 +/* 8027BD7C 00278CDC 28 00 00 00 */ cmplwi r0, 0 +/* 8027BD80 00278CE0 90 70 0F EC */ stw r3, 0xfec(r16) +/* 8027BD84 00278CE4 41 82 00 24 */ beq lbl_8027BDA8 +/* 8027BD88 00278CE8 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8027BD8C 00278CEC 28 03 00 00 */ cmplwi r3, 0 +/* 8027BD90 00278CF0 41 82 00 18 */ beq lbl_8027BDA8 +/* 8027BD94 00278CF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BD98 00278CF8 38 80 00 01 */ li r4, 1 +/* 8027BD9C 00278CFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BDA0 00278D00 7D 89 03 A6 */ mtctr r12 +/* 8027BDA4 00278D04 4E 80 04 21 */ bctrl +lbl_8027BDA8: +/* 8027BDA8 00278D08 7D E0 07 75 */ extsb. r0, r15 +/* 8027BDAC 00278D0C 41 82 00 10 */ beq lbl_8027BDBC +/* 8027BDB0 00278D10 38 61 00 4C */ addi r3, r1, 0x4c +/* 8027BDB4 00278D14 38 80 00 00 */ li r4, 0 +/* 8027BDB8 00278D18 48 0C 50 89 */ bl __dt__6CTokenFv +lbl_8027BDBC: +/* 8027BDBC 00278D1C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BDC0 00278D20 39 E0 00 00 */ li r15, 0 +/* 8027BDC4 00278D24 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BDC8 00278D28 38 60 02 10 */ li r3, 0x210 +/* 8027BDCC 00278D2C 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BDD0 00278D30 38 A0 00 00 */ li r5, 0 +/* 8027BDD4 00278D34 48 09 9A 99 */ bl __nw__FUlPCcPCc +/* 8027BDD8 00278D38 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BDDC 00278D3C 41 82 00 28 */ beq lbl_8027BE04 +/* 8027BDE0 00278D40 38 61 00 3C */ addi r3, r1, 0x3c +/* 8027BDE4 00278D44 38 90 0F DC */ addi r4, r16, 0xfdc +/* 8027BDE8 00278D48 48 0C 50 C1 */ bl __ct__6CTokenFRC6CToken +/* 8027BDEC 00278D4C 7D C3 73 78 */ mr r3, r14 +/* 8027BDF0 00278D50 38 81 00 3C */ addi r4, r1, 0x3c +/* 8027BDF4 00278D54 39 E0 00 01 */ li r15, 1 +/* 8027BDF8 00278D58 38 A0 00 00 */ li r5, 0 +/* 8027BDFC 00278D5C 48 0B 2F E9 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 8027BE00 00278D60 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BE04: +/* 8027BE04 00278D64 38 90 10 00 */ addi r4, r16, 0x1000 +/* 8027BE08 00278D68 7C 6E 00 D0 */ neg r3, r14 +/* 8027BE0C 00278D6C 80 10 10 00 */ lwz r0, 0x1000(r16) +/* 8027BE10 00278D70 7C 63 73 78 */ or r3, r3, r14 +/* 8027BE14 00278D74 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BE18 00278D78 91 C1 00 38 */ stw r14, 0x38(r1) +/* 8027BE1C 00278D7C 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BE20 00278D80 7C 84 02 14 */ add r4, r4, r0 +/* 8027BE24 00278D84 98 61 00 34 */ stb r3, 0x34(r1) +/* 8027BE28 00278D88 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BE2C 00278D8C 41 82 00 14 */ beq lbl_8027BE40 +/* 8027BE30 00278D90 98 64 00 00 */ stb r3, 0(r4) +/* 8027BE34 00278D94 38 00 00 00 */ li r0, 0 +/* 8027BE38 00278D98 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BE3C 00278D9C 98 01 00 34 */ stb r0, 0x34(r1) +lbl_8027BE40: +/* 8027BE40 00278DA0 80 70 10 00 */ lwz r3, 0x1000(r16) +/* 8027BE44 00278DA4 88 01 00 34 */ lbz r0, 0x34(r1) +/* 8027BE48 00278DA8 38 63 00 01 */ addi r3, r3, 1 +/* 8027BE4C 00278DAC 28 00 00 00 */ cmplwi r0, 0 +/* 8027BE50 00278DB0 90 70 10 00 */ stw r3, 0x1000(r16) +/* 8027BE54 00278DB4 41 82 00 24 */ beq lbl_8027BE78 +/* 8027BE58 00278DB8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8027BE5C 00278DBC 28 03 00 00 */ cmplwi r3, 0 +/* 8027BE60 00278DC0 41 82 00 18 */ beq lbl_8027BE78 +/* 8027BE64 00278DC4 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BE68 00278DC8 38 80 00 01 */ li r4, 1 +/* 8027BE6C 00278DCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BE70 00278DD0 7D 89 03 A6 */ mtctr r12 +/* 8027BE74 00278DD4 4E 80 04 21 */ bctrl +lbl_8027BE78: +/* 8027BE78 00278DD8 7D E0 07 75 */ extsb. r0, r15 +/* 8027BE7C 00278DDC 41 82 00 10 */ beq lbl_8027BE8C +/* 8027BE80 00278DE0 38 61 00 3C */ addi r3, r1, 0x3c +/* 8027BE84 00278DE4 38 80 00 00 */ li r4, 0 +/* 8027BE88 00278DE8 48 0C 4F B9 */ bl __dt__6CTokenFv +lbl_8027BE8C: +/* 8027BE8C 00278DEC 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BE90 00278DF0 39 E0 00 00 */ li r15, 0 +/* 8027BE94 00278DF4 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BE98 00278DF8 38 60 02 10 */ li r3, 0x210 +/* 8027BE9C 00278DFC 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BEA0 00278E00 38 A0 00 00 */ li r5, 0 +/* 8027BEA4 00278E04 48 09 99 C9 */ bl __nw__FUlPCcPCc +/* 8027BEA8 00278E08 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BEAC 00278E0C 41 82 00 28 */ beq lbl_8027BED4 +/* 8027BEB0 00278E10 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027BEB4 00278E14 38 90 0F E4 */ addi r4, r16, 0xfe4 +/* 8027BEB8 00278E18 48 0C 4F F1 */ bl __ct__6CTokenFRC6CToken +/* 8027BEBC 00278E1C 7D C3 73 78 */ mr r3, r14 +/* 8027BEC0 00278E20 38 81 00 2C */ addi r4, r1, 0x2c +/* 8027BEC4 00278E24 39 E0 00 01 */ li r15, 1 +/* 8027BEC8 00278E28 38 A0 00 00 */ li r5, 0 +/* 8027BECC 00278E2C 48 0B 2F 19 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 8027BED0 00278E30 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BED4: +/* 8027BED4 00278E34 38 90 10 00 */ addi r4, r16, 0x1000 +/* 8027BED8 00278E38 7C 6E 00 D0 */ neg r3, r14 +/* 8027BEDC 00278E3C 80 10 10 00 */ lwz r0, 0x1000(r16) +/* 8027BEE0 00278E40 7C 63 73 78 */ or r3, r3, r14 +/* 8027BEE4 00278E44 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BEE8 00278E48 91 C1 00 28 */ stw r14, 0x28(r1) +/* 8027BEEC 00278E4C 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BEF0 00278E50 7C 84 02 14 */ add r4, r4, r0 +/* 8027BEF4 00278E54 98 61 00 24 */ stb r3, 0x24(r1) +/* 8027BEF8 00278E58 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BEFC 00278E5C 41 82 00 14 */ beq lbl_8027BF10 +/* 8027BF00 00278E60 98 64 00 00 */ stb r3, 0(r4) +/* 8027BF04 00278E64 38 00 00 00 */ li r0, 0 +/* 8027BF08 00278E68 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BF0C 00278E6C 98 01 00 24 */ stb r0, 0x24(r1) +lbl_8027BF10: +/* 8027BF10 00278E70 80 70 10 00 */ lwz r3, 0x1000(r16) +/* 8027BF14 00278E74 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8027BF18 00278E78 38 63 00 01 */ addi r3, r3, 1 +/* 8027BF1C 00278E7C 28 00 00 00 */ cmplwi r0, 0 +/* 8027BF20 00278E80 90 70 10 00 */ stw r3, 0x1000(r16) +/* 8027BF24 00278E84 41 82 00 24 */ beq lbl_8027BF48 +/* 8027BF28 00278E88 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8027BF2C 00278E8C 28 03 00 00 */ cmplwi r3, 0 +/* 8027BF30 00278E90 41 82 00 18 */ beq lbl_8027BF48 +/* 8027BF34 00278E94 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BF38 00278E98 38 80 00 01 */ li r4, 1 +/* 8027BF3C 00278E9C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BF40 00278EA0 7D 89 03 A6 */ mtctr r12 +/* 8027BF44 00278EA4 4E 80 04 21 */ bctrl +lbl_8027BF48: +/* 8027BF48 00278EA8 7D E0 07 75 */ extsb. r0, r15 +/* 8027BF4C 00278EAC 41 82 00 10 */ beq lbl_8027BF5C +/* 8027BF50 00278EB0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027BF54 00278EB4 38 80 00 00 */ li r4, 0 +/* 8027BF58 00278EB8 48 0C 4E E9 */ bl __dt__6CTokenFv +lbl_8027BF5C: +/* 8027BF5C 00278EBC 38 70 10 2C */ addi r3, r16, 0x102c +/* 8027BF60 00278EC0 80 10 10 2C */ lwz r0, 0x102c(r16) +/* 8027BF64 00278EC4 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BF68 00278EC8 7C 63 02 14 */ add r3, r3, r0 +/* 8027BF6C 00278ECC 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BF70 00278ED0 41 82 00 0C */ beq lbl_8027BF7C +/* 8027BF74 00278ED4 C0 02 BB D0 */ lfs f0, lbl_805AD8F0@sda21(r2) +/* 8027BF78 00278ED8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027BF7C: +/* 8027BF7C 00278EDC 80 70 10 2C */ lwz r3, 0x102c(r16) +/* 8027BF80 00278EE0 38 90 10 2C */ addi r4, r16, 0x102c +/* 8027BF84 00278EE4 38 03 00 01 */ addi r0, r3, 1 +/* 8027BF88 00278EE8 90 10 10 2C */ stw r0, 0x102c(r16) +/* 8027BF8C 00278EEC 80 10 10 2C */ lwz r0, 0x102c(r16) +/* 8027BF90 00278EF0 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BF94 00278EF4 7C 64 02 14 */ add r3, r4, r0 +/* 8027BF98 00278EF8 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BF9C 00278EFC 41 82 00 0C */ beq lbl_8027BFA8 +/* 8027BFA0 00278F00 C0 02 BB D0 */ lfs f0, lbl_805AD8F0@sda21(r2) +/* 8027BFA4 00278F04 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027BFA8: +/* 8027BFA8 00278F08 80 70 10 2C */ lwz r3, 0x102c(r16) +/* 8027BFAC 00278F0C 38 90 10 38 */ addi r4, r16, 0x1038 +/* 8027BFB0 00278F10 38 03 00 01 */ addi r0, r3, 1 +/* 8027BFB4 00278F14 90 10 10 2C */ stw r0, 0x102c(r16) +/* 8027BFB8 00278F18 80 10 10 38 */ lwz r0, 0x1038(r16) +/* 8027BFBC 00278F1C 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BFC0 00278F20 7C 64 02 14 */ add r3, r4, r0 +/* 8027BFC4 00278F24 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BFC8 00278F28 41 82 00 0C */ beq lbl_8027BFD4 +/* 8027BFCC 00278F2C C0 0D 98 60 */ lfs f0, lbl_805A8420@sda21(r13) +/* 8027BFD0 00278F30 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027BFD4: +/* 8027BFD4 00278F34 80 70 10 38 */ lwz r3, 0x1038(r16) +/* 8027BFD8 00278F38 38 90 10 38 */ addi r4, r16, 0x1038 +/* 8027BFDC 00278F3C 38 03 00 01 */ addi r0, r3, 1 +/* 8027BFE0 00278F40 90 10 10 38 */ stw r0, 0x1038(r16) +/* 8027BFE4 00278F44 80 10 10 38 */ lwz r0, 0x1038(r16) +/* 8027BFE8 00278F48 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BFEC 00278F4C 7C 64 02 14 */ add r3, r4, r0 +/* 8027BFF0 00278F50 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BFF4 00278F54 41 82 00 0C */ beq lbl_8027C000 +/* 8027BFF8 00278F58 C0 0D 98 64 */ lfs f0, lbl_805A8424@sda21(r13) +/* 8027BFFC 00278F5C D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027C000: +/* 8027C000 00278F60 80 90 10 38 */ lwz r4, 0x1038(r16) +/* 8027C004 00278F64 7E 03 83 78 */ mr r3, r16 +/* 8027C008 00278F68 38 04 00 01 */ addi r0, r4, 1 +/* 8027C00C 00278F6C 90 10 10 38 */ stw r0, 0x1038(r16) +/* 8027C010 00278F70 B9 C1 01 78 */ lmw r14, 0x178(r1) +/* 8027C014 00278F74 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 8027C018 00278F78 7C 08 03 A6 */ mtlr r0 +/* 8027C01C 00278F7C 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 8027C020 00278F80 4E 80 00 20 */ blr + +.global sub_8027c024 +sub_8027c024: +/* 8027C024 00278F84 80 03 00 00 */ lwz r0, 0(r3) +/* 8027C028 00278F88 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 8027C02C 00278F8C 7C A3 02 14 */ add r5, r3, r0 +/* 8027C030 00278F90 34 A5 00 04 */ addic. r5, r5, 4 +/* 8027C034 00278F94 41 82 00 8C */ beq lbl_8027C0C0 +/* 8027C038 00278F98 80 04 00 00 */ lwz r0, 0(r4) +/* 8027C03C 00278F9C 90 05 00 00 */ stw r0, 0(r5) +/* 8027C040 00278FA0 80 04 00 04 */ lwz r0, 4(r4) +/* 8027C044 00278FA4 90 05 00 04 */ stw r0, 4(r5) +/* 8027C048 00278FA8 80 04 00 08 */ lwz r0, 8(r4) +/* 8027C04C 00278FAC 90 05 00 08 */ stw r0, 8(r5) +/* 8027C050 00278FB0 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8027C054 00278FB4 90 05 00 0C */ stw r0, 0xc(r5) +/* 8027C058 00278FB8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8027C05C 00278FBC 90 05 00 10 */ stw r0, 0x10(r5) +/* 8027C060 00278FC0 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8027C064 00278FC4 90 05 00 14 */ stw r0, 0x14(r5) +/* 8027C068 00278FC8 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8027C06C 00278FCC 90 05 00 18 */ stw r0, 0x18(r5) +/* 8027C070 00278FD0 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 8027C074 00278FD4 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8027C078 00278FD8 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8027C07C 00278FDC D0 05 00 20 */ stfs f0, 0x20(r5) +/* 8027C080 00278FE0 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8027C084 00278FE4 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 8027C088 00278FE8 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 8027C08C 00278FEC D0 05 00 28 */ stfs f0, 0x28(r5) +/* 8027C090 00278FF0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8027C094 00278FF4 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8027C098 00278FF8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 8027C09C 00278FFC D0 05 00 30 */ stfs f0, 0x30(r5) +/* 8027C0A0 00279000 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 8027C0A4 00279004 D0 05 00 34 */ stfs f0, 0x34(r5) +/* 8027C0A8 00279008 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 8027C0AC 0027900C D0 05 00 38 */ stfs f0, 0x38(r5) +/* 8027C0B0 00279010 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 8027C0B4 00279014 90 05 00 3C */ stw r0, 0x3c(r5) +/* 8027C0B8 00279018 80 04 00 40 */ lwz r0, 0x40(r4) +/* 8027C0BC 0027901C 90 05 00 40 */ stw r0, 0x40(r5) +lbl_8027C0C0: +/* 8027C0C0 00279020 80 83 00 00 */ lwz r4, 0(r3) +/* 8027C0C4 00279024 38 04 00 01 */ addi r0, r4, 1 +/* 8027C0C8 00279028 90 03 00 00 */ stw r0, 0(r3) +/* 8027C0CC 0027902C 4E 80 00 20 */ blr + +.global sub_8027c0d0 +sub_8027c0d0: +/* 8027C0D0 00279030 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C0D4 00279034 7C 08 02 A6 */ mflr r0 +/* 8027C0D8 00279038 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C0DC 0027903C 7C 60 1B 78 */ mr r0, r3 +/* 8027C0E0 00279040 7C 83 23 78 */ mr r3, r4 +/* 8027C0E4 00279044 81 84 00 00 */ lwz r12, 0(r4) +/* 8027C0E8 00279048 7C 04 03 78 */ mr r4, r0 +/* 8027C0EC 0027904C 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 8027C0F0 00279050 7D 89 03 A6 */ mtctr r12 +/* 8027C0F4 00279054 4E 80 04 21 */ bctrl +/* 8027C0F8 00279058 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C0FC 0027905C 7C 08 03 A6 */ mtlr r0 +/* 8027C100 00279060 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C104 00279064 4E 80 00 20 */ blr + +.global sub_8027c108 +sub_8027c108: +/* 8027C108 00279068 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8027C10C 0027906C 7C 08 02 A6 */ mflr r0 +/* 8027C110 00279070 90 01 00 64 */ stw r0, 0x64(r1) +/* 8027C114 00279074 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 8027C118 00279078 7C 9C 23 78 */ mr r28, r4 +/* 8027C11C 0027907C 7C 7B 1B 78 */ mr r27, r3 +/* 8027C120 00279080 7F 83 E3 78 */ mr r3, r28 +/* 8027C124 00279084 48 0C 2B 61 */ bl ReadLong__12CInputStreamFv +/* 8027C128 00279088 80 0D 98 5C */ lwz r0, lbl_805A841C@sda21(r13) +/* 8027C12C 0027908C 38 81 00 08 */ addi r4, r1, 8 +/* 8027C130 00279090 90 61 00 08 */ stw r3, 8(r1) +/* 8027C134 00279094 7C 00 18 00 */ cmpw r0, r3 +/* 8027C138 00279098 40 80 00 08 */ bge lbl_8027C140 +/* 8027C13C 0027909C 38 8D 98 5C */ addi r4, r13, lbl_805A841C@sda21 +lbl_8027C140: +/* 8027C140 002790A0 38 00 00 00 */ li r0, 0 +/* 8027C144 002790A4 83 C4 00 00 */ lwz r30, 0(r4) +/* 8027C148 002790A8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027C14C 002790AC 3B E1 00 10 */ addi r31, r1, 0x10 +/* 8027C150 002790B0 3B A0 00 00 */ li r29, 0 +/* 8027C154 002790B4 48 00 00 30 */ b lbl_8027C184 +lbl_8027C158: +/* 8027C158 002790B8 7F 83 E3 78 */ mr r3, r28 +/* 8027C15C 002790BC 48 0C 2A CD */ bl ReadFloat__12CInputStreamFv +/* 8027C160 002790C0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027C164 002790C4 54 00 10 3A */ slwi r0, r0, 2 +/* 8027C168 002790C8 7C 7F 02 15 */ add. r3, r31, r0 +/* 8027C16C 002790CC 41 82 00 08 */ beq lbl_8027C174 +/* 8027C170 002790D0 D0 23 00 00 */ stfs f1, 0(r3) +lbl_8027C174: +/* 8027C174 002790D4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8027C178 002790D8 3B BD 00 01 */ addi r29, r29, 1 +/* 8027C17C 002790DC 38 03 00 01 */ addi r0, r3, 1 +/* 8027C180 002790E0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8027C184: +/* 8027C184 002790E4 7C 1D F0 00 */ cmpw r29, r30 +/* 8027C188 002790E8 41 80 FF D0 */ blt lbl_8027C158 +/* 8027C18C 002790EC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027C190 002790F0 38 7B 00 04 */ addi r3, r27, 4 +/* 8027C194 002790F4 90 1B 00 00 */ stw r0, 0(r27) +/* 8027C198 002790F8 80 1B 00 00 */ lwz r0, 0(r27) +/* 8027C19C 002790FC 7C 09 03 A6 */ mtctr r0 +/* 8027C1A0 00279100 2C 00 00 00 */ cmpwi r0, 0 +/* 8027C1A4 00279104 40 81 00 20 */ ble lbl_8027C1C4 +lbl_8027C1A8: +/* 8027C1A8 00279108 28 03 00 00 */ cmplwi r3, 0 +/* 8027C1AC 0027910C 41 82 00 0C */ beq lbl_8027C1B8 +/* 8027C1B0 00279110 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8027C1B4 00279114 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027C1B8: +/* 8027C1B8 00279118 38 63 00 04 */ addi r3, r3, 4 +/* 8027C1BC 0027911C 3B FF 00 04 */ addi r31, r31, 4 +/* 8027C1C0 00279120 42 00 FF E8 */ bdnz lbl_8027C1A8 +lbl_8027C1C4: +/* 8027C1C4 00279124 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8027C1C8 00279128 38 60 00 00 */ li r3, 0 +/* 8027C1CC 0027912C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027C1D0 00279130 40 81 00 40 */ ble lbl_8027C210 +/* 8027C1D4 00279134 2C 05 00 08 */ cmpwi r5, 8 +/* 8027C1D8 00279138 38 85 FF F8 */ addi r4, r5, -8 +/* 8027C1DC 0027913C 40 81 00 20 */ ble lbl_8027C1FC +/* 8027C1E0 00279140 38 04 00 07 */ addi r0, r4, 7 +/* 8027C1E4 00279144 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027C1E8 00279148 7C 09 03 A6 */ mtctr r0 +/* 8027C1EC 0027914C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027C1F0 00279150 40 81 00 0C */ ble lbl_8027C1FC +lbl_8027C1F4: +/* 8027C1F4 00279154 38 63 00 08 */ addi r3, r3, 8 +/* 8027C1F8 00279158 42 00 FF FC */ bdnz lbl_8027C1F4 +lbl_8027C1FC: +/* 8027C1FC 0027915C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027C200 00279160 7C 09 03 A6 */ mtctr r0 +/* 8027C204 00279164 7C 03 28 00 */ cmpw r3, r5 +/* 8027C208 00279168 40 80 00 08 */ bge lbl_8027C210 +lbl_8027C20C: +/* 8027C20C 0027916C 42 00 00 00 */ bdnz lbl_8027C20C +lbl_8027C210: +/* 8027C210 00279170 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8027C214 00279174 38 00 00 00 */ li r0, 0 +/* 8027C218 00279178 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027C21C 0027917C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8027C220 00279180 7C 08 03 A6 */ mtlr r0 +/* 8027C224 00279184 38 21 00 60 */ addi r1, r1, 0x60 +/* 8027C228 00279188 4E 80 00 20 */ blr + +.global sub_8027c22c +sub_8027c22c: +/* 8027C22C 0027918C 54 80 10 3A */ slwi r0, r4, 2 +/* 8027C230 00279190 7C 63 02 14 */ add r3, r3, r0 +/* 8027C234 00279194 C0 23 00 04 */ lfs f1, 4(r3) +/* 8027C238 00279198 4E 80 00 20 */ blr + +.global __ct__18SPrimeExoRoomParmsFR12CInputStream +__ct__18SPrimeExoRoomParmsFR12CInputStream: +/* 8027C23C 0027919C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027C240 002791A0 7C 08 02 A6 */ mflr r0 +/* 8027C244 002791A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8027C248 002791A8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027C24C 002791AC 7C 7F 1B 78 */ mr r31, r3 +/* 8027C250 002791B0 38 61 00 08 */ addi r3, r1, 8 +/* 8027C254 002791B4 4B FF FE B5 */ bl sub_8027c108 +/* 8027C258 002791B8 80 01 00 08 */ lwz r0, 8(r1) +/* 8027C25C 002791BC 38 81 00 0C */ addi r4, r1, 0xc +/* 8027C260 002791C0 38 7F 00 04 */ addi r3, r31, 4 +/* 8027C264 002791C4 90 1F 00 00 */ stw r0, 0(r31) +/* 8027C268 002791C8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8027C26C 002791CC 7C 09 03 A6 */ mtctr r0 +/* 8027C270 002791D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8027C274 002791D4 40 81 00 20 */ ble lbl_8027C294 +lbl_8027C278: +/* 8027C278 002791D8 28 03 00 00 */ cmplwi r3, 0 +/* 8027C27C 002791DC 41 82 00 0C */ beq lbl_8027C288 +/* 8027C280 002791E0 C0 04 00 00 */ lfs f0, 0(r4) +/* 8027C284 002791E4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027C288: +/* 8027C288 002791E8 38 63 00 04 */ addi r3, r3, 4 +/* 8027C28C 002791EC 38 84 00 04 */ addi r4, r4, 4 +/* 8027C290 002791F0 42 00 FF E8 */ bdnz lbl_8027C278 +lbl_8027C294: +/* 8027C294 002791F4 80 A1 00 08 */ lwz r5, 8(r1) +/* 8027C298 002791F8 38 60 00 00 */ li r3, 0 +/* 8027C29C 002791FC 2C 05 00 00 */ cmpwi r5, 0 +/* 8027C2A0 00279200 40 81 00 40 */ ble lbl_8027C2E0 +/* 8027C2A4 00279204 2C 05 00 08 */ cmpwi r5, 8 +/* 8027C2A8 00279208 38 85 FF F8 */ addi r4, r5, -8 +/* 8027C2AC 0027920C 40 81 00 20 */ ble lbl_8027C2CC +/* 8027C2B0 00279210 38 04 00 07 */ addi r0, r4, 7 +/* 8027C2B4 00279214 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027C2B8 00279218 7C 09 03 A6 */ mtctr r0 +/* 8027C2BC 0027921C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027C2C0 00279220 40 81 00 0C */ ble lbl_8027C2CC +lbl_8027C2C4: +/* 8027C2C4 00279224 38 63 00 08 */ addi r3, r3, 8 +/* 8027C2C8 00279228 42 00 FF FC */ bdnz lbl_8027C2C4 +lbl_8027C2CC: +/* 8027C2CC 0027922C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027C2D0 00279230 7C 09 03 A6 */ mtctr r0 +/* 8027C2D4 00279234 7C 03 28 00 */ cmpw r3, r5 +/* 8027C2D8 00279238 40 80 00 08 */ bge lbl_8027C2E0 +lbl_8027C2DC: +/* 8027C2DC 0027923C 42 00 00 00 */ bdnz lbl_8027C2DC +lbl_8027C2E0: +/* 8027C2E0 00279240 38 00 00 00 */ li r0, 0 +/* 8027C2E4 00279244 7F E3 FB 78 */ mr r3, r31 +/* 8027C2E8 00279248 90 01 00 08 */ stw r0, 8(r1) +/* 8027C2EC 0027924C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027C2F0 00279250 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8027C2F4 00279254 7C 08 03 A6 */ mtlr r0 +/* 8027C2F8 00279258 38 21 00 50 */ addi r1, r1, 0x50 +/* 8027C2FC 0027925C 4E 80 00 20 */ blr + +.global __ct__13SPrimeStruct6FR12CInputStream +__ct__13SPrimeStruct6FR12CInputStream: +/* 8027C300 00279260 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C304 00279264 7C 08 02 A6 */ mflr r0 +/* 8027C308 00279268 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C30C 0027926C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027C310 00279270 7C 9F 23 78 */ mr r31, r4 +/* 8027C314 00279274 93 C1 00 08 */ stw r30, 8(r1) +/* 8027C318 00279278 7C 7E 1B 78 */ mr r30, r3 +/* 8027C31C 0027927C 7F E3 FB 78 */ mr r3, r31 +/* 8027C320 00279280 48 0C 29 65 */ bl ReadLong__12CInputStreamFv +/* 8027C324 00279284 90 7E 00 00 */ stw r3, 0(r30) +/* 8027C328 00279288 7F E4 FB 78 */ mr r4, r31 +/* 8027C32C 0027928C 38 7E 00 04 */ addi r3, r30, 4 +/* 8027C330 00279290 4B E8 68 29 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 8027C334 00279294 7F E4 FB 78 */ mr r4, r31 +/* 8027C338 00279298 38 7E 00 6C */ addi r3, r30, 0x6c +/* 8027C33C 0027929C 48 0E 71 11 */ bl __ct__6CColorFR12CInputStream +/* 8027C340 002792A0 7F E3 FB 78 */ mr r3, r31 +/* 8027C344 002792A4 48 0C 29 41 */ bl ReadLong__12CInputStreamFv +/* 8027C348 002792A8 90 7E 00 70 */ stw r3, 0x70(r30) +/* 8027C34C 002792AC 7F E3 FB 78 */ mr r3, r31 +/* 8027C350 002792B0 48 0C 29 35 */ bl ReadLong__12CInputStreamFv +/* 8027C354 002792B4 90 7E 00 74 */ stw r3, 0x74(r30) +/* 8027C358 002792B8 7F C3 F3 78 */ mr r3, r30 +/* 8027C35C 002792BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C360 002792C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027C364 002792C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027C368 002792C8 7C 08 03 A6 */ mtlr r0 +/* 8027C36C 002792CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C370 002792D0 4E 80 00 20 */ blr + +.global BuildCameraShakeData__FRC21SPrimeCameraShakeData +BuildCameraShakeData__FRC21SPrimeCameraShakeData: +/* 8027C374 002792D4 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8027C378 002792D8 7C 08 02 A6 */ mflr r0 +/* 8027C37C 002792DC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8027C380 002792E0 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 8027C384 002792E4 7C 9F 23 78 */ mr r31, r4 +/* 8027C388 002792E8 38 9F 00 0C */ addi r4, r31, 0xc +/* 8027C38C 002792EC 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 8027C390 002792F0 7C 7E 1B 78 */ mr r30, r3 +/* 8027C394 002792F4 38 61 00 80 */ addi r3, r1, 0x80 +/* 8027C398 002792F8 48 00 00 A5 */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +/* 8027C39C 002792FC 38 61 00 44 */ addi r3, r1, 0x44 +/* 8027C3A0 00279300 38 9F 00 30 */ addi r4, r31, 0x30 +/* 8027C3A4 00279304 48 00 00 99 */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +/* 8027C3A8 00279308 38 61 00 08 */ addi r3, r1, 8 +/* 8027C3AC 0027930C 38 9F 00 54 */ addi r4, r31, 0x54 +/* 8027C3B0 00279310 48 00 00 8D */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +/* 8027C3B4 00279314 88 9F 00 00 */ lbz r4, 0(r31) +/* 8027C3B8 00279318 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027C3BC 0027931C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8027C3C0 00279320 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8027C3C4 00279324 7C 04 00 D0 */ neg r0, r4 +/* 8027C3C8 00279328 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8027C3CC 0027932C 7C 00 23 78 */ or r0, r0, r4 +/* 8027C3D0 00279330 7F C3 F3 78 */ mr r3, r30 +/* 8027C3D4 00279334 38 C1 00 80 */ addi r6, r1, 0x80 +/* 8027C3D8 00279338 38 E1 00 44 */ addi r7, r1, 0x44 +/* 8027C3DC 0027933C 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8027C3E0 00279340 39 01 00 08 */ addi r8, r1, 8 +/* 8027C3E4 00279344 4B EE 0A B5 */ bl __ct__16CCameraShakeDataFffiRC9CVector3fRC22CCameraShakerComponentRC22CCameraShakerComponentRC22CCameraShakerComponent +/* 8027C3E8 00279348 34 01 00 08 */ addic. r0, r1, 8 +/* 8027C3EC 0027934C 41 82 00 10 */ beq lbl_8027C3FC +/* 8027C3F0 00279350 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027C3F4 00279354 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027C3F8 00279358 90 01 00 08 */ stw r0, 8(r1) +lbl_8027C3FC: +/* 8027C3FC 0027935C 34 01 00 44 */ addic. r0, r1, 0x44 +/* 8027C400 00279360 41 82 00 10 */ beq lbl_8027C410 +/* 8027C404 00279364 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027C408 00279368 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027C40C 0027936C 90 01 00 44 */ stw r0, 0x44(r1) +lbl_8027C410: +/* 8027C410 00279370 34 01 00 80 */ addic. r0, r1, 0x80 +/* 8027C414 00279374 41 82 00 10 */ beq lbl_8027C424 +/* 8027C418 00279378 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027C41C 0027937C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027C420 00279380 90 01 00 80 */ stw r0, 0x80(r1) +lbl_8027C424: +/* 8027C424 00279384 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8027C428 00279388 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 8027C42C 0027938C 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 8027C430 00279390 7C 08 03 A6 */ mtlr r0 +/* 8027C434 00279394 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8027C438 00279398 4E 80 00 20 */ blr + +.global BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent: +/* 8027C43C 0027939C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027C440 002793A0 7C 08 02 A6 */ mflr r0 +/* 8027C444 002793A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8027C448 002793A8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027C44C 002793AC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8027C450 002793B0 7C 9E 23 78 */ mr r30, r4 +/* 8027C454 002793B4 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8027C458 002793B8 7C 7D 1B 78 */ mr r29, r3 +/* 8027C45C 002793BC 38 61 00 08 */ addi r3, r1, 8 +/* 8027C460 002793C0 88 A4 00 00 */ lbz r5, 0(r4) +/* 8027C464 002793C4 38 9E 00 14 */ addi r4, r30, 0x14 +/* 8027C468 002793C8 7C 05 00 D0 */ neg r0, r5 +/* 8027C46C 002793CC 7C 00 2B 78 */ or r0, r0, r5 +/* 8027C470 002793D0 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 8027C474 002793D4 48 00 00 41 */ bl BuildCameraShakePoint__FRC22SPrimeCameraShakePoint +/* 8027C478 002793D8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027C47C 002793DC 38 9E 00 04 */ addi r4, r30, 4 +/* 8027C480 002793E0 48 00 00 35 */ bl BuildCameraShakePoint__FRC22SPrimeCameraShakePoint +/* 8027C484 002793E4 7F A3 EB 78 */ mr r3, r29 +/* 8027C488 002793E8 7F E4 FB 78 */ mr r4, r31 +/* 8027C48C 002793EC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8027C490 002793F0 38 C1 00 08 */ addi r6, r1, 8 +/* 8027C494 002793F4 4B EE 0D BD */ bl __ct__22CCameraShakerComponentFiRC17SCameraShakePointRC17SCameraShakePoint +/* 8027C498 002793F8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8027C49C 002793FC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027C4A0 00279400 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8027C4A4 00279404 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8027C4A8 00279408 7C 08 03 A6 */ mtlr r0 +/* 8027C4AC 0027940C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8027C4B0 00279410 4E 80 00 20 */ blr + +.global BuildCameraShakePoint__FRC22SPrimeCameraShakePoint +BuildCameraShakePoint__FRC22SPrimeCameraShakePoint: +/* 8027C4B4 00279414 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C4B8 00279418 7C 08 02 A6 */ mflr r0 +/* 8027C4BC 0027941C 7C 85 23 78 */ mr r5, r4 +/* 8027C4C0 00279420 38 80 00 00 */ li r4, 0 +/* 8027C4C4 00279424 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C4C8 00279428 C0 25 00 00 */ lfs f1, 0(r5) +/* 8027C4CC 0027942C C0 45 00 04 */ lfs f2, 4(r5) +/* 8027C4D0 00279430 C0 65 00 08 */ lfs f3, 8(r5) +/* 8027C4D4 00279434 C0 85 00 0C */ lfs f4, 0xc(r5) +/* 8027C4D8 00279438 4B EE 0F CD */ bl __ct__17SCameraShakePointFiffff +/* 8027C4DC 0027943C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C4E0 00279440 7C 08 03 A6 */ mtlr r0 +/* 8027C4E4 00279444 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C4E8 00279448 4E 80 00 20 */ blr + +.global sub_8027c4ec +sub_8027c4ec: +/* 8027C4EC 0027944C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C4F0 00279450 7C 08 02 A6 */ mflr r0 +/* 8027C4F4 00279454 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C4F8 00279458 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027C4FC 0027945C 7C 9F 23 78 */ mr r31, r4 +/* 8027C500 00279460 93 C1 00 08 */ stw r30, 8(r1) +/* 8027C504 00279464 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8027C508 00279468 41 82 00 28 */ beq lbl_8027C530 +/* 8027C50C 0027946C 3C A0 80 3F */ lis r5, lbl_803EB0FC@ha +/* 8027C510 00279470 38 80 00 00 */ li r4, 0 +/* 8027C514 00279474 38 05 B0 FC */ addi r0, r5, lbl_803EB0FC@l +/* 8027C518 00279478 90 1E 00 00 */ stw r0, 0(r30) +/* 8027C51C 0027947C 4B E9 FE F9 */ bl __dt__13CPhysicsActorFv +/* 8027C520 00279480 7F E0 07 35 */ extsh. r0, r31 +/* 8027C524 00279484 40 81 00 0C */ ble lbl_8027C530 +/* 8027C528 00279488 7F C3 F3 78 */ mr r3, r30 +/* 8027C52C 0027948C 48 09 94 05 */ bl Free__7CMemoryFPCv +lbl_8027C530: +/* 8027C530 00279490 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C534 00279494 7F C3 F3 78 */ mr r3, r30 +/* 8027C538 00279498 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027C53C 0027949C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027C540 002794A0 7C 08 03 A6 */ mtlr r0 +/* 8027C544 002794A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C548 002794A8 4E 80 00 20 */ blr + +.global __sinit_CMetroidPrimeExo_cpp +__sinit_CMetroidPrimeExo_cpp: +/* 8027C54C 002794AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C550 002794B0 3C 60 80 3D */ lis r3, lbl_803D5454@ha +/* 8027C554 002794B4 39 23 54 54 */ addi r9, r3, lbl_803D5454@l +/* 8027C558 002794B8 3C 80 80 3F */ lis r4, lbl_803EAA90@ha +/* 8027C55C 002794BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027C560 002794C0 38 64 AA 90 */ addi r3, r4, lbl_803EAA90@l +/* 8027C564 002794C4 81 82 BB E8 */ lwz r12, lbl_805AD908@sda21(r2) +/* 8027C568 002794C8 39 63 00 18 */ addi r11, r3, 0x18 +/* 8027C56C 002794CC 93 C1 00 08 */ stw r30, 8(r1) +/* 8027C570 002794D0 3B E3 00 00 */ addi r31, r3, 0 +/* 8027C574 002794D4 83 C2 BB E4 */ lwz r30, lbl_805AD904@sda21(r2) +/* 8027C578 002794D8 38 E3 01 E4 */ addi r7, r3, 0x1e4 +/* 8027C57C 002794DC 81 42 BB EC */ lwz r10, lbl_805AD90C@sda21(r2) +/* 8027C580 002794E0 81 09 00 08 */ lwz r8, 8(r9) +/* 8027C584 002794E4 80 C9 00 0C */ lwz r6, 0xc(r9) +/* 8027C588 002794E8 80 A9 00 00 */ lwz r5, 0(r9) +/* 8027C58C 002794EC 80 89 00 04 */ lwz r4, 4(r9) +/* 8027C590 002794F0 80 69 00 10 */ lwz r3, 0x10(r9) +/* 8027C594 002794F4 80 09 00 14 */ lwz r0, 0x14(r9) +/* 8027C598 002794F8 93 DF 00 10 */ stw r30, 0x10(r31) +/* 8027C59C 002794FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027C5A0 00279500 91 8B 01 B8 */ stw r12, 0x1b8(r11) +/* 8027C5A4 00279504 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027C5A8 00279508 91 4B 01 BC */ stw r10, 0x1bc(r11) +/* 8027C5AC 0027950C 91 07 00 10 */ stw r8, 0x10(r7) +/* 8027C5B0 00279510 90 C7 00 14 */ stw r6, 0x14(r7) +/* 8027C5B4 00279514 90 A7 00 20 */ stw r5, 0x20(r7) +/* 8027C5B8 00279518 90 87 00 24 */ stw r4, 0x24(r7) +/* 8027C5BC 0027951C 90 67 00 30 */ stw r3, 0x30(r7) +/* 8027C5C0 00279520 90 07 00 34 */ stw r0, 0x34(r7) +/* 8027C5C4 00279524 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C5C8 00279528 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.s new file mode 100644 index 00000000..4f225777 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.s @@ -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 diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s new file mode 100644 index 00000000..18323bac --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s @@ -0,0 +1,1749 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__18CMetroidPrimeRelayFv +__dt__18CMetroidPrimeRelayFv: +/* 80280460 0027D3C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280464 0027D3C4 7C 08 02 A6 */ mflr r0 +/* 80280468 0027D3C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028046C 0027D3CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80280470 0027D3D0 7C 9F 23 78 */ mr r31, r4 +/* 80280474 0027D3D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80280478 0027D3D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028047C 0027D3DC 41 82 00 CC */ beq lbl_80280548 +/* 80280480 0027D3E0 3C 60 80 3F */ lis r3, lbl_803EB638@ha +/* 80280484 0027D3E4 34 1E 0C B8 */ addic. r0, r30, 0xcb8 +/* 80280488 0027D3E8 38 03 B6 38 */ addi r0, r3, lbl_803EB638@l +/* 8028048C 0027D3EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80280490 0027D3F0 41 82 00 90 */ beq lbl_80280520 +/* 80280494 0027D3F4 38 DE 0C BC */ addi r6, r30, 0xcbc +/* 80280498 0027D3F8 38 60 00 00 */ li r3, 0 +/* 8028049C 0027D3FC 48 00 00 70 */ b lbl_8028050C +lbl_802804A0: +/* 802804A0 0027D400 28 06 00 00 */ cmplwi r6, 0 +/* 802804A4 0027D404 41 82 00 60 */ beq lbl_80280504 +/* 802804A8 0027D408 41 82 00 5C */ beq lbl_80280504 +/* 802804AC 0027D40C 80 E6 00 00 */ lwz r7, 0(r6) +/* 802804B0 0027D410 38 80 00 00 */ li r4, 0 +/* 802804B4 0027D414 2C 07 00 00 */ cmpwi r7, 0 +/* 802804B8 0027D418 40 81 00 44 */ ble lbl_802804FC +/* 802804BC 0027D41C 2C 07 00 08 */ cmpwi r7, 8 +/* 802804C0 0027D420 38 A7 FF F8 */ addi r5, r7, -8 +/* 802804C4 0027D424 40 81 00 20 */ ble lbl_802804E4 +/* 802804C8 0027D428 38 05 00 07 */ addi r0, r5, 7 +/* 802804CC 0027D42C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802804D0 0027D430 7C 09 03 A6 */ mtctr r0 +/* 802804D4 0027D434 2C 05 00 00 */ cmpwi r5, 0 +/* 802804D8 0027D438 40 81 00 0C */ ble lbl_802804E4 +lbl_802804DC: +/* 802804DC 0027D43C 38 84 00 08 */ addi r4, r4, 8 +/* 802804E0 0027D440 42 00 FF FC */ bdnz lbl_802804DC +lbl_802804E4: +/* 802804E4 0027D444 7C 04 38 50 */ subf r0, r4, r7 +/* 802804E8 0027D448 7C 09 03 A6 */ mtctr r0 +/* 802804EC 0027D44C 7C 04 38 00 */ cmpw r4, r7 +/* 802804F0 0027D450 40 80 00 0C */ bge lbl_802804FC +lbl_802804F4: +/* 802804F4 0027D454 38 84 00 01 */ addi r4, r4, 1 +/* 802804F8 0027D458 42 00 FF FC */ bdnz lbl_802804F4 +lbl_802804FC: +/* 802804FC 0027D45C 38 00 00 00 */ li r0, 0 +/* 80280500 0027D460 90 06 00 00 */ stw r0, 0(r6) +lbl_80280504: +/* 80280504 0027D464 38 C6 00 3C */ addi r6, r6, 0x3c +/* 80280508 0027D468 38 63 00 01 */ addi r3, r3, 1 +lbl_8028050C: +/* 8028050C 0027D46C 80 1E 0C B8 */ lwz r0, 0xcb8(r30) +/* 80280510 0027D470 7C 03 00 00 */ cmpw r3, r0 +/* 80280514 0027D474 41 80 FF 8C */ blt lbl_802804A0 +/* 80280518 0027D478 38 00 00 00 */ li r0, 0 +/* 8028051C 0027D47C 90 1E 0C B8 */ stw r0, 0xcb8(r30) +lbl_80280520: +/* 80280520 0027D480 38 7E 00 74 */ addi r3, r30, 0x74 +/* 80280524 0027D484 38 80 FF FF */ li r4, -1 +/* 80280528 0027D488 4B E4 68 65 */ bl sub_800c6d8c +/* 8028052C 0027D48C 7F C3 F3 78 */ mr r3, r30 +/* 80280530 0027D490 38 80 00 00 */ li r4, 0 +/* 80280534 0027D494 4B DD 0D 41 */ bl __dt__7CEntityFv +/* 80280538 0027D498 7F E0 07 35 */ extsh. r0, r31 +/* 8028053C 0027D49C 40 81 00 0C */ ble lbl_80280548 +/* 80280540 0027D4A0 7F C3 F3 78 */ mr r3, r30 +/* 80280544 0027D4A4 48 09 53 ED */ bl Free__7CMemoryFPCv +lbl_80280548: +/* 80280548 0027D4A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028054C 0027D4AC 7F C3 F3 78 */ mr r3, r30 +/* 80280550 0027D4B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80280554 0027D4B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80280558 0027D4B8 7C 08 03 A6 */ mtlr r0 +/* 8028055C 0027D4BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280560 0027D4C0 4E 80 00 20 */ blr + +.global GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager +GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager: +/* 80280564 0027D4C4 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 80280568 0027D4C8 7C 08 02 A6 */ mflr r0 +/* 8028056C 0027D4CC 90 01 01 54 */ stw r0, 0x154(r1) +/* 80280570 0027D4D0 BE 81 01 20 */ stmw r20, 0x120(r1) +/* 80280574 0027D4D4 7C 7D 1B 78 */ mr r29, r3 +/* 80280578 0027D4D8 7C 9E 23 78 */ mr r30, r4 +/* 8028057C 0027D4DC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80280580 0027D4E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80280584 0027D4E4 41 82 02 8C */ beq lbl_80280810 +/* 80280588 0027D4E8 82 9E 08 20 */ lwz r20, 0x820(r30) +/* 8028058C 0027D4EC AA B4 20 08 */ lha r21, 0x2008(r20) +/* 80280590 0027D4F0 48 00 00 48 */ b lbl_802805D8 +lbl_80280594: +/* 80280594 0027D4F4 7E 83 A3 78 */ mr r3, r20 +/* 80280598 0027D4F8 7E A4 AB 78 */ mr r4, r21 +/* 8028059C 0027D4FC 4B D8 F7 79 */ bl __vc__11CObjectListFi +/* 802805A0 0027D500 7C 60 1B 78 */ mr r0, r3 +/* 802805A4 0027D504 38 61 00 88 */ addi r3, r1, 0x88 +/* 802805A8 0027D508 7C 04 03 78 */ mr r4, r0 +/* 802805AC 0027D50C 4B E2 4E C1 */ bl sub_800a546c +/* 802805B0 0027D510 4B E2 4E 91 */ bl "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" +/* 802805B4 0027D514 28 03 00 00 */ cmplwi r3, 0 +/* 802805B8 0027D518 40 82 02 58 */ bne lbl_80280810 +/* 802805BC 0027D51C 2C 15 FF FF */ cmpwi r21, -1 +/* 802805C0 0027D520 41 82 00 14 */ beq lbl_802805D4 +/* 802805C4 0027D524 56 A3 18 38 */ slwi r3, r21, 3 +/* 802805C8 0027D528 38 03 00 08 */ addi r0, r3, 8 +/* 802805CC 0027D52C 7E B4 02 AE */ lhax r21, r20, r0 +/* 802805D0 0027D530 48 00 00 08 */ b lbl_802805D8 +lbl_802805D4: +/* 802805D4 0027D534 3A A0 FF FF */ li r21, -1 +lbl_802805D8: +/* 802805D8 0027D538 2C 15 FF FF */ cmpwi r21, -1 +/* 802805DC 0027D53C 40 82 FF B8 */ bne lbl_80280594 +/* 802805E0 0027D540 3C 60 80 3D */ lis r3, lbl_803D58D8@ha +/* 802805E4 0027D544 3B 80 00 00 */ li r28, 0 +/* 802805E8 0027D548 38 83 58 D8 */ addi r4, r3, lbl_803D58D8@l +/* 802805EC 0027D54C 3B 60 00 00 */ li r27, 0 +/* 802805F0 0027D550 3B 40 00 00 */ li r26, 0 +/* 802805F4 0027D554 38 60 14 48 */ li r3, 0x1448 +/* 802805F8 0027D558 38 A0 00 00 */ li r5, 0 +/* 802805FC 0027D55C 48 09 52 71 */ bl __nw__FUlPCcPCc +/* 80280600 0027D560 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80280604 0027D564 41 82 01 78 */ beq lbl_8028077C +/* 80280608 0027D568 80 FD 01 6C */ lwz r7, 0x16c(r29) +/* 8028060C 0027D56C 38 00 00 01 */ li r0, 1 +/* 80280610 0027D570 80 DD 01 68 */ lwz r6, 0x168(r29) +/* 80280614 0027D574 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80280618 0027D578 80 BD 01 64 */ lwz r5, 0x164(r29) +/* 8028061C 0027D57C 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80280620 0027D580 C0 5D 00 68 */ lfs f2, 0x68(r29) +/* 80280624 0027D584 C0 3D 00 6C */ lfs f1, 0x6c(r29) +/* 80280628 0027D588 C0 1D 00 70 */ lfs f0, 0x70(r29) +/* 8028062C 0027D58C 90 A1 00 B4 */ stw r5, 0xb4(r1) +/* 80280630 0027D590 90 C1 00 B8 */ stw r6, 0xb8(r1) +/* 80280634 0027D594 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 80280638 0027D598 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 8028063C 0027D59C D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 80280640 0027D5A0 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 80280644 0027D5A4 90 E1 00 CC */ stw r7, 0xcc(r1) +/* 80280648 0027D5A8 4B E9 65 0D */ bl __ct__10CModelDataFRC8CAnimRes +/* 8028064C 0027D5AC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80280650 0027D5B0 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80280654 0027D5B4 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) +/* 80280658 0027D5B8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8028065C 0027D5BC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80280660 0027D5C0 38 61 00 9C */ addi r3, r1, 0x9c +/* 80280664 0027D5C4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80280668 0027D5C8 3B 80 00 01 */ li r28, 1 +/* 8028066C 0027D5CC 90 C1 00 84 */ stw r6, 0x84(r1) +/* 80280670 0027D5D0 38 C1 00 84 */ addi r6, r1, 0x84 +/* 80280674 0027D5D4 90 01 00 80 */ stw r0, 0x80(r1) +/* 80280678 0027D5D8 4B DD 0E 0D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8028067C 0027D5DC 3C 80 80 3D */ lis r4, lbl_803D58D8@ha +/* 80280680 0027D5E0 38 61 00 8C */ addi r3, r1, 0x8c +/* 80280684 0027D5E4 38 84 58 D8 */ addi r4, r4, lbl_803D58D8@l +/* 80280688 0027D5E8 3B 60 00 01 */ li r27, 1 +/* 8028068C 0027D5EC 38 84 00 07 */ addi r4, r4, 7 +/* 80280690 0027D5F0 4B D8 46 29 */ bl string_l__4rstlFPCc +/* 80280694 0027D5F4 7F C4 F3 78 */ mr r4, r30 +/* 80280698 0027D5F8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8028069C 0027D5FC 3B 40 00 01 */ li r26, 1 +/* 802806A0 0027D600 4B DC CA 3D */ bl AllocateUniqueId__13CStateManagerFv +/* 802806A4 0027D604 A0 81 00 64 */ lhz r4, 0x64(r1) +/* 802806A8 0027D608 38 7D 02 1C */ addi r3, r29, 0x21c +/* 802806AC 0027D60C 80 BD 02 18 */ lwz r5, 0x218(r29) +/* 802806B0 0027D610 38 1D 02 F0 */ addi r0, r29, 0x2f0 +/* 802806B4 0027D614 B0 81 00 68 */ sth r4, 0x68(r1) +/* 802806B8 0027D618 38 9D 03 C4 */ addi r4, r29, 0x3c4 +/* 802806BC 0027D61C 38 FD 04 98 */ addi r7, r29, 0x498 +/* 802806C0 0027D620 3A 9D 04 D8 */ addi r20, r29, 0x4d8 +/* 802806C4 0027D624 90 A1 00 08 */ stw r5, 8(r1) +/* 802806C8 0027D628 3A BD 07 80 */ addi r21, r29, 0x780 +/* 802806CC 0027D62C 3A DD 07 9C */ addi r22, r29, 0x79c +/* 802806D0 0027D630 3A FD 08 74 */ addi r23, r29, 0x874 +/* 802806D4 0027D634 90 61 00 0C */ stw r3, 0xc(r1) +/* 802806D8 0027D638 3B 1D 08 90 */ addi r24, r29, 0x890 +/* 802806DC 0027D63C 3B 3D 09 64 */ addi r25, r29, 0x964 +/* 802806E0 0027D640 39 9D 09 A0 */ addi r12, r29, 0x9a0 +/* 802806E4 0027D644 90 01 00 10 */ stw r0, 0x10(r1) +/* 802806E8 0027D648 39 7D 09 BC */ addi r11, r29, 0x9bc +/* 802806EC 0027D64C 38 1D 0A A0 */ addi r0, r29, 0xaa0 +/* 802806F0 0027D650 7F E3 FB 78 */ mr r3, r31 +/* 802806F4 0027D654 90 81 00 14 */ stw r4, 0x14(r1) +/* 802806F8 0027D658 38 81 00 68 */ addi r4, r1, 0x68 +/* 802806FC 0027D65C 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80280700 0027D660 38 C1 00 9C */ addi r6, r1, 0x9c +/* 80280704 0027D664 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80280708 0027D668 38 FD 00 38 */ addi r7, r29, 0x38 +/* 8028070C 0027D66C 39 01 00 D0 */ addi r8, r1, 0xd0 +/* 80280710 0027D670 39 3D 00 78 */ addi r9, r29, 0x78 +/* 80280714 0027D674 83 FD 04 D4 */ lwz r31, 0x4d4(r29) +/* 80280718 0027D678 39 5D 01 B0 */ addi r10, r29, 0x1b0 +/* 8028071C 0027D67C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80280720 0027D680 92 81 00 20 */ stw r20, 0x20(r1) +/* 80280724 0027D684 83 FD 07 7C */ lwz r31, 0x77c(r29) +/* 80280728 0027D688 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8028072C 0027D68C 92 A1 00 28 */ stw r21, 0x28(r1) +/* 80280730 0027D690 92 C1 00 2C */ stw r22, 0x2c(r1) +/* 80280734 0027D694 83 FD 08 70 */ lwz r31, 0x870(r29) +/* 80280738 0027D698 93 E1 00 30 */ stw r31, 0x30(r1) +/* 8028073C 0027D69C 92 E1 00 34 */ stw r23, 0x34(r1) +/* 80280740 0027D6A0 93 01 00 38 */ stw r24, 0x38(r1) +/* 80280744 0027D6A4 93 21 00 3C */ stw r25, 0x3c(r1) +/* 80280748 0027D6A8 91 81 00 40 */ stw r12, 0x40(r1) +/* 8028074C 0027D6AC 91 61 00 44 */ stw r11, 0x44(r1) +/* 80280750 0027D6B0 81 7D 0A 90 */ lwz r11, 0xa90(r29) +/* 80280754 0027D6B4 91 61 00 48 */ stw r11, 0x48(r1) +/* 80280758 0027D6B8 81 7D 0A 94 */ lwz r11, 0xa94(r29) +/* 8028075C 0027D6BC 91 61 00 4C */ stw r11, 0x4c(r1) +/* 80280760 0027D6C0 81 7D 0A 98 */ lwz r11, 0xa98(r29) +/* 80280764 0027D6C4 91 61 00 50 */ stw r11, 0x50(r1) +/* 80280768 0027D6C8 81 7D 0A 9C */ lwz r11, 0xa9c(r29) +/* 8028076C 0027D6CC 91 61 00 54 */ stw r11, 0x54(r1) +/* 80280770 0027D6D0 90 01 00 58 */ stw r0, 0x58(r1) +/* 80280774 0027D6D4 4B FF A7 9D */ bl __ct__16CMetroidPrimeExo +/* 80280778 0027D6D8 7C 7F 1B 78 */ mr r31, r3 +lbl_8028077C: +/* 8028077C 0027D6DC 7F 40 07 75 */ extsb. r0, r26 +/* 80280780 0027D6E0 41 82 00 0C */ beq lbl_8028078C +/* 80280784 0027D6E4 38 61 00 8C */ addi r3, r1, 0x8c +/* 80280788 0027D6E8 48 0B D3 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028078C: +/* 8028078C 0027D6EC 7F 60 07 75 */ extsb. r0, r27 +/* 80280790 0027D6F0 41 82 00 44 */ beq lbl_802807D4 +/* 80280794 0027D6F4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80280798 0027D6F8 80 61 00 AC */ lwz r3, 0xac(r1) +/* 8028079C 0027D6FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802807A0 0027D700 90 61 00 70 */ stw r3, 0x70(r1) +/* 802807A4 0027D704 7C 64 1B 78 */ mr r4, r3 +/* 802807A8 0027D708 7C 03 02 14 */ add r0, r3, r0 +/* 802807AC 0027D70C 90 61 00 6C */ stw r3, 0x6c(r1) +/* 802807B0 0027D710 90 01 00 78 */ stw r0, 0x78(r1) +/* 802807B4 0027D714 90 01 00 74 */ stw r0, 0x74(r1) +/* 802807B8 0027D718 48 00 00 08 */ b lbl_802807C0 +lbl_802807BC: +/* 802807BC 0027D71C 38 84 00 0C */ addi r4, r4, 0xc +lbl_802807C0: +/* 802807C0 0027D720 7C 04 00 40 */ cmplw r4, r0 +/* 802807C4 0027D724 40 82 FF F8 */ bne lbl_802807BC +/* 802807C8 0027D728 28 03 00 00 */ cmplwi r3, 0 +/* 802807CC 0027D72C 41 82 00 08 */ beq lbl_802807D4 +/* 802807D0 0027D730 48 09 51 61 */ bl Free__7CMemoryFPCv +lbl_802807D4: +/* 802807D4 0027D734 7F 80 07 75 */ extsb. r0, r28 +/* 802807D8 0027D738 41 82 00 10 */ beq lbl_802807E8 +/* 802807DC 0027D73C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802807E0 0027D740 38 80 FF FF */ li r4, -1 +/* 802807E4 0027D744 4B E9 62 69 */ bl __dt__10CModelDataFv +lbl_802807E8: +/* 802807E8 0027D748 7F C3 F3 78 */ mr r3, r30 +/* 802807EC 0027D74C 7F E4 FB 78 */ mr r4, r31 +/* 802807F0 0027D750 4B DC C3 25 */ bl AddObject__13CStateManagerFR7CEntity +/* 802807F4 0027D754 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802807F8 0027D758 7F C3 F3 78 */ mr r3, r30 +/* 802807FC 0027D75C 7F E4 FB 78 */ mr r4, r31 +/* 80280800 0027D760 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80280804 0027D764 B0 01 00 60 */ sth r0, 0x60(r1) +/* 80280808 0027D768 38 C0 00 23 */ li r6, 0x23 +/* 8028080C 0027D76C 4B DC 36 C5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80280810: +/* 80280810 0027D770 BA 81 01 20 */ lmw r20, 0x120(r1) +/* 80280814 0027D774 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80280818 0027D778 7C 08 03 A6 */ mtlr r0 +/* 8028081C 0027D77C 38 21 01 50 */ addi r1, r1, 0x150 +/* 80280820 0027D780 4E 80 00 20 */ blr + +.global ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager +ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager: +/* 80280824 0027D784 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80280828 0027D788 7C 08 02 A6 */ mflr r0 +/* 8028082C 0027D78C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80280830 0027D790 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80280834 0027D794 7C BF 2B 78 */ mr r31, r5 +/* 80280838 0027D798 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028083C 0027D79C 7C 9E 23 78 */ mr r30, r4 +/* 80280840 0027D7A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80280844 0027D7A4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80280848 0027D7A8 7C 7D 1B 78 */ mr r29, r3 +/* 8028084C 0027D7AC A0 03 00 34 */ lhz r0, 0x34(r3) +/* 80280850 0027D7B0 7F E3 FB 78 */ mr r3, r31 +/* 80280854 0027D7B4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80280858 0027D7B8 4B DC BD 1D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028085C 0027D7BC 7C 64 1B 78 */ mr r4, r3 +/* 80280860 0027D7C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80280864 0027D7C4 4B E2 4C 09 */ bl sub_800a546c +/* 80280868 0027D7C8 4B E2 4B D9 */ bl "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" +/* 8028086C 0027D7CC 7C 64 1B 79 */ or. r4, r3, r3 +/* 80280870 0027D7D0 41 82 00 30 */ beq lbl_802808A0 +/* 80280874 0027D7D4 2C 1E 00 24 */ cmpwi r30, 0x24 +/* 80280878 0027D7D8 40 80 00 0C */ bge lbl_80280884 +/* 8028087C 0027D7DC 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 80280880 0027D7E0 40 80 00 20 */ bge lbl_802808A0 +lbl_80280884: +/* 80280884 0027D7E4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80280888 0027D7E8 7F E3 FB 78 */ mr r3, r31 +/* 8028088C 0027D7EC 7F C6 F3 78 */ mr r6, r30 +/* 80280890 0027D7F0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80280894 0027D7F4 B0 01 00 08 */ sth r0, 8(r1) +/* 80280898 0027D7F8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028089C 0027D7FC 4B DC 36 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_802808A0: +/* 802808A0 0027D800 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802808A4 0027D804 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802808A8 0027D808 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802808AC 0027D80C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802808B0 0027D810 7C 08 03 A6 */ mtlr r0 +/* 802808B4 0027D814 38 21 00 30 */ addi r1, r1, 0x30 +/* 802808B8 0027D818 4E 80 00 20 */ blr + +.global AcceptScriptMsg__18CMetroidPrimeRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__18CMetroidPrimeRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802808BC 0027D81C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802808C0 0027D820 7C 08 02 A6 */ mflr r0 +/* 802808C4 0027D824 90 01 00 24 */ stw r0, 0x24(r1) +/* 802808C8 0027D828 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802808CC 0027D82C 7C DF 33 78 */ mr r31, r6 +/* 802808D0 0027D830 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802808D4 0027D834 7C 9E 23 78 */ mr r30, r4 +/* 802808D8 0027D838 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802808DC 0027D83C 7C 7D 1B 78 */ mr r29, r3 +/* 802808E0 0027D840 A0 A5 00 00 */ lhz r5, 0(r5) +/* 802808E4 0027D844 A0 03 00 34 */ lhz r0, 0x34(r3) +/* 802808E8 0027D848 7C 05 00 40 */ cmplw r5, r0 +/* 802808EC 0027D84C 41 82 00 0C */ beq lbl_802808F8 +/* 802808F0 0027D850 7F E5 FB 78 */ mr r5, r31 +/* 802808F4 0027D854 4B FF FF 31 */ bl ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager +lbl_802808F8: +/* 802808F8 0027D858 2C 1E 00 23 */ cmpwi r30, 0x23 +/* 802808FC 0027D85C 41 82 00 08 */ beq lbl_80280904 +/* 80280900 0027D860 48 00 00 10 */ b lbl_80280910 +lbl_80280904: +/* 80280904 0027D864 7F A3 EB 78 */ mr r3, r29 +/* 80280908 0027D868 7F E4 FB 78 */ mr r4, r31 +/* 8028090C 0027D86C 4B FF FC 59 */ bl GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager +lbl_80280910: +/* 80280910 0027D870 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80280914 0027D874 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80280918 0027D878 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028091C 0027D87C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80280920 0027D880 7C 08 03 A6 */ mtlr r0 +/* 80280924 0027D884 38 21 00 20 */ addi r1, r1, 0x20 +/* 80280928 0027D888 4E 80 00 20 */ blr + +.global Accept__18CMetroidPrimeRelay +Accept__18CMetroidPrimeRelay: +/* 8028092C 0027D88C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280930 0027D890 7C 08 02 A6 */ mflr r0 +/* 80280934 0027D894 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280938 0027D898 7C 60 1B 78 */ mr r0, r3 +/* 8028093C 0027D89C 7C 83 23 78 */ mr r3, r4 +/* 80280940 0027D8A0 81 84 00 00 */ lwz r12, 0(r4) +/* 80280944 0027D8A4 7C 04 03 78 */ mr r4, r0 +/* 80280948 0027D8A8 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8028094C 0027D8AC 7D 89 03 A6 */ mtctr r12 +/* 80280950 0027D8B0 4E 80 04 21 */ bctrl +/* 80280954 0027D8B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280958 0027D8B8 7C 08 03 A6 */ mtlr r0 +/* 8028095C 0027D8BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280960 0027D8C0 4E 80 00 20 */ blr + +.global "__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>" +"__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>": +/* 80280964 0027D8C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80280968 0027D8C8 7C 08 02 A6 */ mflr r0 +/* 8028096C 0027D8CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80280970 0027D8D0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80280974 0027D8D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80280978 0027D8D8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8028097C 0027D8DC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80280980 0027D8E0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80280984 0027D8E4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80280988 0027D8E8 BE 61 00 1C */ stmw r19, 0x1c(r1) +/* 8028098C 0027D8EC A0 04 00 00 */ lhz r0, 0(r4) +/* 80280990 0027D8F0 7C A4 2B 78 */ mr r4, r5 +/* 80280994 0027D8F4 FF A0 08 90 */ fmr f29, f1 +/* 80280998 0027D8F8 7C C5 33 78 */ mr r5, r6 +/* 8028099C 0027D8FC FF C0 10 90 */ fmr f30, f2 +/* 802809A0 0027D900 B0 01 00 08 */ sth r0, 8(r1) +/* 802809A4 0027D904 7C E6 3B 78 */ mr r6, r7 +/* 802809A8 0027D908 7C 87 23 78 */ mr r7, r4 +/* 802809AC 0027D90C FF E0 18 90 */ fmr f31, f3 +/* 802809B0 0027D910 82 E1 00 88 */ lwz r23, 0x88(r1) +/* 802809B4 0027D914 8B 01 00 8F */ lbz r24, 0x8f(r1) +/* 802809B8 0027D918 7C 74 1B 78 */ mr r20, r3 +/* 802809BC 0027D91C 83 21 00 90 */ lwz r25, 0x90(r1) +/* 802809C0 0027D920 7D 13 43 78 */ mr r19, r8 +/* 802809C4 0027D924 83 41 00 94 */ lwz r26, 0x94(r1) +/* 802809C8 0027D928 7D 35 4B 78 */ mr r21, r9 +/* 802809CC 0027D92C 83 61 00 98 */ lwz r27, 0x98(r1) +/* 802809D0 0027D930 7D 56 53 78 */ mr r22, r10 +/* 802809D4 0027D934 83 81 00 9C */ lwz r28, 0x9c(r1) +/* 802809D8 0027D938 38 81 00 08 */ addi r4, r1, 8 +/* 802809DC 0027D93C 83 A1 00 A0 */ lwz r29, 0xa0(r1) +/* 802809E0 0027D940 83 C1 00 A4 */ lwz r30, 0xa4(r1) +/* 802809E4 0027D944 83 E1 00 A8 */ lwz r31, 0xa8(r1) +/* 802809E8 0027D948 4B DD 09 3D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802809EC 0027D94C 3C 60 80 3F */ lis r3, lbl_803EB638@ha +/* 802809F0 0027D950 7E 64 9B 78 */ mr r4, r19 +/* 802809F4 0027D954 38 03 B6 38 */ addi r0, r3, lbl_803EB638@l +/* 802809F8 0027D958 38 74 00 38 */ addi r3, r20, 0x38 +/* 802809FC 0027D95C 90 14 00 00 */ stw r0, 0(r20) +/* 80280A00 0027D960 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80280A04 0027D964 B0 14 00 34 */ sth r0, 0x34(r20) +/* 80280A08 0027D968 48 09 21 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80280A0C 0027D96C C0 15 00 00 */ lfs f0, 0(r21) +/* 80280A10 0027D970 7E C4 B3 78 */ mr r4, r22 +/* 80280A14 0027D974 38 74 00 74 */ addi r3, r20, 0x74 +/* 80280A18 0027D978 D0 14 00 68 */ stfs f0, 0x68(r20) +/* 80280A1C 0027D97C C0 15 00 04 */ lfs f0, 4(r21) +/* 80280A20 0027D980 D0 14 00 6C */ stfs f0, 0x6c(r20) +/* 80280A24 0027D984 C0 15 00 08 */ lfs f0, 8(r21) +/* 80280A28 0027D988 D0 14 00 70 */ stfs f0, 0x70(r20) +/* 80280A2C 0027D98C 48 00 00 ED */ bl __ct__19SPrimeExoParametersFRC19SPrimeExoParameters +/* 80280A30 0027D990 D3 B4 0C 84 */ stfs f29, 0xc84(r20) +/* 80280A34 0027D994 39 14 0C BC */ addi r8, r20, 0xcbc +/* 80280A38 0027D998 38 9F 00 04 */ addi r4, r31, 4 +/* 80280A3C 0027D99C 38 60 00 00 */ li r3, 0 +/* 80280A40 0027D9A0 D3 D4 0C 88 */ stfs f30, 0xc88(r20) +/* 80280A44 0027D9A4 D3 F4 0C 8C */ stfs f31, 0xc8c(r20) +/* 80280A48 0027D9A8 92 F4 0C 90 */ stw r23, 0xc90(r20) +/* 80280A4C 0027D9AC 9B 14 0C 94 */ stb r24, 0xc94(r20) +/* 80280A50 0027D9B0 93 34 0C 98 */ stw r25, 0xc98(r20) +/* 80280A54 0027D9B4 C0 1A 00 00 */ lfs f0, 0(r26) +/* 80280A58 0027D9B8 D0 14 0C 9C */ stfs f0, 0xc9c(r20) +/* 80280A5C 0027D9BC C0 1A 00 04 */ lfs f0, 4(r26) +/* 80280A60 0027D9C0 D0 14 0C A0 */ stfs f0, 0xca0(r20) +/* 80280A64 0027D9C4 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80280A68 0027D9C8 D0 14 0C A4 */ stfs f0, 0xca4(r20) +/* 80280A6C 0027D9CC C0 1B 00 04 */ lfs f0, 4(r27) +/* 80280A70 0027D9D0 D0 14 0C A8 */ stfs f0, 0xca8(r20) +/* 80280A74 0027D9D4 93 94 0C AC */ stw r28, 0xcac(r20) +/* 80280A78 0027D9D8 93 B4 0C B0 */ stw r29, 0xcb0(r20) +/* 80280A7C 0027D9DC 93 D4 0C B4 */ stw r30, 0xcb4(r20) +/* 80280A80 0027D9E0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80280A84 0027D9E4 90 14 0C B8 */ stw r0, 0xcb8(r20) +/* 80280A88 0027D9E8 80 B4 0C B8 */ lwz r5, 0xcb8(r20) +/* 80280A8C 0027D9EC 48 00 00 54 */ b lbl_80280AE0 +lbl_80280A90: +/* 80280A90 0027D9F0 28 08 00 00 */ cmplwi r8, 0 +/* 80280A94 0027D9F4 41 82 00 40 */ beq lbl_80280AD4 +/* 80280A98 0027D9F8 80 04 00 00 */ lwz r0, 0(r4) +/* 80280A9C 0027D9FC 38 E4 00 04 */ addi r7, r4, 4 +/* 80280AA0 0027DA00 38 C8 00 04 */ addi r6, r8, 4 +/* 80280AA4 0027DA04 90 08 00 00 */ stw r0, 0(r8) +/* 80280AA8 0027DA08 80 08 00 00 */ lwz r0, 0(r8) +/* 80280AAC 0027DA0C 7C 09 03 A6 */ mtctr r0 +/* 80280AB0 0027DA10 2C 00 00 00 */ cmpwi r0, 0 +/* 80280AB4 0027DA14 40 81 00 20 */ ble lbl_80280AD4 +lbl_80280AB8: +/* 80280AB8 0027DA18 28 06 00 00 */ cmplwi r6, 0 +/* 80280ABC 0027DA1C 41 82 00 0C */ beq lbl_80280AC8 +/* 80280AC0 0027DA20 C0 07 00 00 */ lfs f0, 0(r7) +/* 80280AC4 0027DA24 D0 06 00 00 */ stfs f0, 0(r6) +lbl_80280AC8: +/* 80280AC8 0027DA28 38 C6 00 04 */ addi r6, r6, 4 +/* 80280ACC 0027DA2C 38 E7 00 04 */ addi r7, r7, 4 +/* 80280AD0 0027DA30 42 00 FF E8 */ bdnz lbl_80280AB8 +lbl_80280AD4: +/* 80280AD4 0027DA34 39 08 00 3C */ addi r8, r8, 0x3c +/* 80280AD8 0027DA38 38 63 00 01 */ addi r3, r3, 1 +/* 80280ADC 0027DA3C 38 84 00 3C */ addi r4, r4, 0x3c +lbl_80280AE0: +/* 80280AE0 0027DA40 7C 03 28 00 */ cmpw r3, r5 +/* 80280AE4 0027DA44 41 80 FF AC */ blt lbl_80280A90 +/* 80280AE8 0027DA48 7E 83 A3 78 */ mr r3, r20 +/* 80280AEC 0027DA4C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80280AF0 0027DA50 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80280AF4 0027DA54 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80280AF8 0027DA58 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80280AFC 0027DA5C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80280B00 0027DA60 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80280B04 0027DA64 BA 61 00 1C */ lmw r19, 0x1c(r1) +/* 80280B08 0027DA68 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80280B0C 0027DA6C 7C 08 03 A6 */ mtlr r0 +/* 80280B10 0027DA70 38 21 00 80 */ addi r1, r1, 0x80 +/* 80280B14 0027DA74 4E 80 00 20 */ blr + +.global __ct__19SPrimeExoParametersFRC19SPrimeExoParameters +__ct__19SPrimeExoParametersFRC19SPrimeExoParameters: +/* 80280B18 0027DA78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280B1C 0027DA7C 7C 08 02 A6 */ mflr r0 +/* 80280B20 0027DA80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280B24 0027DA84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80280B28 0027DA88 7C 9F 23 78 */ mr r31, r4 +/* 80280B2C 0027DA8C 93 C1 00 08 */ stw r30, 8(r1) +/* 80280B30 0027DA90 7C 7E 1B 78 */ mr r30, r3 +/* 80280B34 0027DA94 38 7E 00 04 */ addi r3, r30, 4 +/* 80280B38 0027DA98 80 04 00 00 */ lwz r0, 0(r4) +/* 80280B3C 0027DA9C 38 9F 00 04 */ addi r4, r31, 4 +/* 80280B40 0027DAA0 90 1E 00 00 */ stw r0, 0(r30) +/* 80280B44 0027DAA4 4B EF 17 69 */ bl sub_801722ac +/* 80280B48 0027DAA8 38 7E 01 3C */ addi r3, r30, 0x13c +/* 80280B4C 0027DAAC 38 9F 01 3C */ addi r4, r31, 0x13c +/* 80280B50 0027DAB0 4B E4 4A CD */ bl __ct__16CActorParametersFRC16CActorParameters +/* 80280B54 0027DAB4 80 1F 01 A4 */ lwz r0, 0x1a4(r31) +/* 80280B58 0027DAB8 38 7E 01 A8 */ addi r3, r30, 0x1a8 +/* 80280B5C 0027DABC 38 9F 01 A8 */ addi r4, r31, 0x1a8 +/* 80280B60 0027DAC0 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 80280B64 0027DAC4 4B D8 A2 45 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280B68 0027DAC8 38 7E 02 7C */ addi r3, r30, 0x27c +/* 80280B6C 0027DACC 38 9F 02 7C */ addi r4, r31, 0x27c +/* 80280B70 0027DAD0 4B D8 A2 39 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280B74 0027DAD4 38 7E 03 50 */ addi r3, r30, 0x350 +/* 80280B78 0027DAD8 38 9F 03 50 */ addi r4, r31, 0x350 +/* 80280B7C 0027DADC 4B D8 A2 2D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280B80 0027DAE0 80 1F 04 24 */ lwz r0, 0x424(r31) +/* 80280B84 0027DAE4 38 7E 04 64 */ addi r3, r30, 0x464 +/* 80280B88 0027DAE8 38 9F 04 64 */ addi r4, r31, 0x464 +/* 80280B8C 0027DAEC 90 1E 04 24 */ stw r0, 0x424(r30) +/* 80280B90 0027DAF0 80 1F 04 28 */ lwz r0, 0x428(r31) +/* 80280B94 0027DAF4 90 1E 04 28 */ stw r0, 0x428(r30) +/* 80280B98 0027DAF8 80 1F 04 2C */ lwz r0, 0x42c(r31) +/* 80280B9C 0027DAFC 90 1E 04 2C */ stw r0, 0x42c(r30) +/* 80280BA0 0027DB00 80 1F 04 30 */ lwz r0, 0x430(r31) +/* 80280BA4 0027DB04 90 1E 04 30 */ stw r0, 0x430(r30) +/* 80280BA8 0027DB08 80 1F 04 34 */ lwz r0, 0x434(r31) +/* 80280BAC 0027DB0C 90 1E 04 34 */ stw r0, 0x434(r30) +/* 80280BB0 0027DB10 88 1F 04 38 */ lbz r0, 0x438(r31) +/* 80280BB4 0027DB14 98 1E 04 38 */ stb r0, 0x438(r30) +/* 80280BB8 0027DB18 C0 1F 04 3C */ lfs f0, 0x43c(r31) +/* 80280BBC 0027DB1C D0 1E 04 3C */ stfs f0, 0x43c(r30) +/* 80280BC0 0027DB20 C0 1F 04 40 */ lfs f0, 0x440(r31) +/* 80280BC4 0027DB24 D0 1E 04 40 */ stfs f0, 0x440(r30) +/* 80280BC8 0027DB28 C0 1F 04 44 */ lfs f0, 0x444(r31) +/* 80280BCC 0027DB2C D0 1E 04 44 */ stfs f0, 0x444(r30) +/* 80280BD0 0027DB30 C0 1F 04 48 */ lfs f0, 0x448(r31) +/* 80280BD4 0027DB34 D0 1E 04 48 */ stfs f0, 0x448(r30) +/* 80280BD8 0027DB38 88 1F 04 4C */ lbz r0, 0x44c(r31) +/* 80280BDC 0027DB3C 98 1E 04 4C */ stb r0, 0x44c(r30) +/* 80280BE0 0027DB40 C0 1F 04 50 */ lfs f0, 0x450(r31) +/* 80280BE4 0027DB44 D0 1E 04 50 */ stfs f0, 0x450(r30) +/* 80280BE8 0027DB48 C0 1F 04 54 */ lfs f0, 0x454(r31) +/* 80280BEC 0027DB4C D0 1E 04 54 */ stfs f0, 0x454(r30) +/* 80280BF0 0027DB50 80 1F 04 58 */ lwz r0, 0x458(r31) +/* 80280BF4 0027DB54 90 1E 04 58 */ stw r0, 0x458(r30) +/* 80280BF8 0027DB58 A0 1F 04 5C */ lhz r0, 0x45c(r31) +/* 80280BFC 0027DB5C B0 1E 04 5C */ sth r0, 0x45c(r30) +/* 80280C00 0027DB60 A0 1F 04 5E */ lhz r0, 0x45e(r31) +/* 80280C04 0027DB64 B0 1E 04 5E */ sth r0, 0x45e(r30) +/* 80280C08 0027DB68 80 1F 04 60 */ lwz r0, 0x460(r31) +/* 80280C0C 0027DB6C 90 1E 04 60 */ stw r0, 0x460(r30) +/* 80280C10 0027DB70 48 00 02 B5 */ bl sub_80280ec4 +/* 80280C14 0027DB74 80 1F 07 08 */ lwz r0, 0x708(r31) +/* 80280C18 0027DB78 38 7E 07 28 */ addi r3, r30, 0x728 +/* 80280C1C 0027DB7C 38 9F 07 28 */ addi r4, r31, 0x728 +/* 80280C20 0027DB80 90 1E 07 08 */ stw r0, 0x708(r30) +/* 80280C24 0027DB84 80 1F 07 0C */ lwz r0, 0x70c(r31) +/* 80280C28 0027DB88 90 1E 07 0C */ stw r0, 0x70c(r30) +/* 80280C2C 0027DB8C 88 1F 07 10 */ lbz r0, 0x710(r31) +/* 80280C30 0027DB90 98 1E 07 10 */ stb r0, 0x710(r30) +/* 80280C34 0027DB94 C0 1F 07 14 */ lfs f0, 0x714(r31) +/* 80280C38 0027DB98 D0 1E 07 14 */ stfs f0, 0x714(r30) +/* 80280C3C 0027DB9C C0 1F 07 18 */ lfs f0, 0x718(r31) +/* 80280C40 0027DBA0 D0 1E 07 18 */ stfs f0, 0x718(r30) +/* 80280C44 0027DBA4 C0 1F 07 1C */ lfs f0, 0x71c(r31) +/* 80280C48 0027DBA8 D0 1E 07 1C */ stfs f0, 0x71c(r30) +/* 80280C4C 0027DBAC C0 1F 07 20 */ lfs f0, 0x720(r31) +/* 80280C50 0027DBB0 D0 1E 07 20 */ stfs f0, 0x720(r30) +/* 80280C54 0027DBB4 88 1F 07 24 */ lbz r0, 0x724(r31) +/* 80280C58 0027DBB8 98 1E 07 24 */ stb r0, 0x724(r30) +/* 80280C5C 0027DBBC 4B D8 A1 4D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280C60 0027DBC0 80 1F 07 FC */ lwz r0, 0x7fc(r31) +/* 80280C64 0027DBC4 38 7E 08 1C */ addi r3, r30, 0x81c +/* 80280C68 0027DBC8 38 9F 08 1C */ addi r4, r31, 0x81c +/* 80280C6C 0027DBCC 90 1E 07 FC */ stw r0, 0x7fc(r30) +/* 80280C70 0027DBD0 80 1F 08 00 */ lwz r0, 0x800(r31) +/* 80280C74 0027DBD4 90 1E 08 00 */ stw r0, 0x800(r30) +/* 80280C78 0027DBD8 88 1F 08 04 */ lbz r0, 0x804(r31) +/* 80280C7C 0027DBDC 98 1E 08 04 */ stb r0, 0x804(r30) +/* 80280C80 0027DBE0 C0 1F 08 08 */ lfs f0, 0x808(r31) +/* 80280C84 0027DBE4 D0 1E 08 08 */ stfs f0, 0x808(r30) +/* 80280C88 0027DBE8 C0 1F 08 0C */ lfs f0, 0x80c(r31) +/* 80280C8C 0027DBEC D0 1E 08 0C */ stfs f0, 0x80c(r30) +/* 80280C90 0027DBF0 C0 1F 08 10 */ lfs f0, 0x810(r31) +/* 80280C94 0027DBF4 D0 1E 08 10 */ stfs f0, 0x810(r30) +/* 80280C98 0027DBF8 C0 1F 08 14 */ lfs f0, 0x814(r31) +/* 80280C9C 0027DBFC D0 1E 08 14 */ stfs f0, 0x814(r30) +/* 80280CA0 0027DC00 88 1F 08 18 */ lbz r0, 0x818(r31) +/* 80280CA4 0027DC04 98 1E 08 18 */ stb r0, 0x818(r30) +/* 80280CA8 0027DC08 4B D8 A1 01 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280CAC 0027DC0C 80 1F 08 F0 */ lwz r0, 0x8f0(r31) +/* 80280CB0 0027DC10 38 7E 08 F4 */ addi r3, r30, 0x8f4 +/* 80280CB4 0027DC14 38 9F 08 F4 */ addi r4, r31, 0x8f4 +/* 80280CB8 0027DC18 90 1E 08 F0 */ stw r0, 0x8f0(r30) +/* 80280CBC 0027DC1C 48 0C 01 ED */ bl __ct__6CTokenFRC6CToken +/* 80280CC0 0027DC20 80 1F 08 FC */ lwz r0, 0x8fc(r31) +/* 80280CC4 0027DC24 38 7E 09 48 */ addi r3, r30, 0x948 +/* 80280CC8 0027DC28 38 9F 09 48 */ addi r4, r31, 0x948 +/* 80280CCC 0027DC2C 90 1E 08 FC */ stw r0, 0x8fc(r30) +/* 80280CD0 0027DC30 88 1F 09 00 */ lbz r0, 0x900(r31) +/* 80280CD4 0027DC34 98 1E 09 00 */ stb r0, 0x900(r30) +/* 80280CD8 0027DC38 C0 1F 09 04 */ lfs f0, 0x904(r31) +/* 80280CDC 0027DC3C D0 1E 09 04 */ stfs f0, 0x904(r30) +/* 80280CE0 0027DC40 C0 1F 09 08 */ lfs f0, 0x908(r31) +/* 80280CE4 0027DC44 D0 1E 09 08 */ stfs f0, 0x908(r30) +/* 80280CE8 0027DC48 C0 1F 09 0C */ lfs f0, 0x90c(r31) +/* 80280CEC 0027DC4C D0 1E 09 0C */ stfs f0, 0x90c(r30) +/* 80280CF0 0027DC50 C0 1F 09 10 */ lfs f0, 0x910(r31) +/* 80280CF4 0027DC54 D0 1E 09 10 */ stfs f0, 0x910(r30) +/* 80280CF8 0027DC58 88 1F 09 14 */ lbz r0, 0x914(r31) +/* 80280CFC 0027DC5C 98 1E 09 14 */ stb r0, 0x914(r30) +/* 80280D00 0027DC60 C0 1F 09 18 */ lfs f0, 0x918(r31) +/* 80280D04 0027DC64 D0 1E 09 18 */ stfs f0, 0x918(r30) +/* 80280D08 0027DC68 C0 1F 09 1C */ lfs f0, 0x91c(r31) +/* 80280D0C 0027DC6C D0 1E 09 1C */ stfs f0, 0x91c(r30) +/* 80280D10 0027DC70 C0 1F 09 20 */ lfs f0, 0x920(r31) +/* 80280D14 0027DC74 D0 1E 09 20 */ stfs f0, 0x920(r30) +/* 80280D18 0027DC78 80 1F 09 24 */ lwz r0, 0x924(r31) +/* 80280D1C 0027DC7C 90 1E 09 24 */ stw r0, 0x924(r30) +/* 80280D20 0027DC80 88 1F 09 28 */ lbz r0, 0x928(r31) +/* 80280D24 0027DC84 98 1E 09 28 */ stb r0, 0x928(r30) +/* 80280D28 0027DC88 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 80280D2C 0027DC8C 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80280D30 0027DC90 88 1F 09 30 */ lbz r0, 0x930(r31) +/* 80280D34 0027DC94 98 1E 09 30 */ stb r0, 0x930(r30) +/* 80280D38 0027DC98 C0 1F 09 34 */ lfs f0, 0x934(r31) +/* 80280D3C 0027DC9C D0 1E 09 34 */ stfs f0, 0x934(r30) +/* 80280D40 0027DCA0 C0 1F 09 38 */ lfs f0, 0x938(r31) +/* 80280D44 0027DCA4 D0 1E 09 38 */ stfs f0, 0x938(r30) +/* 80280D48 0027DCA8 C0 1F 09 3C */ lfs f0, 0x93c(r31) +/* 80280D4C 0027DCAC D0 1E 09 3C */ stfs f0, 0x93c(r30) +/* 80280D50 0027DCB0 C0 1F 09 40 */ lfs f0, 0x940(r31) +/* 80280D54 0027DCB4 D0 1E 09 40 */ stfs f0, 0x940(r30) +/* 80280D58 0027DCB8 88 1F 09 44 */ lbz r0, 0x944(r31) +/* 80280D5C 0027DCBC 98 1E 09 44 */ stb r0, 0x944(r30) +/* 80280D60 0027DCC0 4B D8 A0 49 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280D64 0027DCC4 80 1F 0A 1C */ lwz r0, 0xa1c(r31) +/* 80280D68 0027DCC8 38 9E 0A 30 */ addi r4, r30, 0xa30 +/* 80280D6C 0027DCCC 38 7F 0A 30 */ addi r3, r31, 0xa30 +/* 80280D70 0027DCD0 90 1E 0A 1C */ stw r0, 0xa1c(r30) +/* 80280D74 0027DCD4 80 1F 0A 20 */ lwz r0, 0xa20(r31) +/* 80280D78 0027DCD8 90 1E 0A 20 */ stw r0, 0xa20(r30) +/* 80280D7C 0027DCDC 80 1F 0A 24 */ lwz r0, 0xa24(r31) +/* 80280D80 0027DCE0 90 1E 0A 24 */ stw r0, 0xa24(r30) +/* 80280D84 0027DCE4 80 1F 0A 28 */ lwz r0, 0xa28(r31) +/* 80280D88 0027DCE8 90 1E 0A 28 */ stw r0, 0xa28(r30) +/* 80280D8C 0027DCEC 80 1F 0A 2C */ lwz r0, 0xa2c(r31) +/* 80280D90 0027DCF0 90 1E 0A 2C */ stw r0, 0xa2c(r30) +/* 80280D94 0027DCF4 80 1E 0A 2C */ lwz r0, 0xa2c(r30) +/* 80280D98 0027DCF8 7C 09 03 A6 */ mtctr r0 +/* 80280D9C 0027DCFC 2C 00 00 00 */ cmpwi r0, 0 +/* 80280DA0 0027DD00 40 81 01 08 */ ble lbl_80280EA8 +lbl_80280DA4: +/* 80280DA4 0027DD04 28 04 00 00 */ cmplwi r4, 0 +/* 80280DA8 0027DD08 41 82 00 F4 */ beq lbl_80280E9C +/* 80280DAC 0027DD0C 80 03 00 00 */ lwz r0, 0(r3) +/* 80280DB0 0027DD10 90 04 00 00 */ stw r0, 0(r4) +/* 80280DB4 0027DD14 80 A3 00 04 */ lwz r5, 4(r3) +/* 80280DB8 0027DD18 80 03 00 08 */ lwz r0, 8(r3) +/* 80280DBC 0027DD1C 90 A4 00 04 */ stw r5, 4(r4) +/* 80280DC0 0027DD20 90 04 00 08 */ stw r0, 8(r4) +/* 80280DC4 0027DD24 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 80280DC8 0027DD28 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80280DCC 0027DD2C 90 A4 00 0C */ stw r5, 0xc(r4) +/* 80280DD0 0027DD30 90 04 00 10 */ stw r0, 0x10(r4) +/* 80280DD4 0027DD34 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80280DD8 0027DD38 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80280DDC 0027DD3C 90 A4 00 14 */ stw r5, 0x14(r4) +/* 80280DE0 0027DD40 90 04 00 18 */ stw r0, 0x18(r4) +/* 80280DE4 0027DD44 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 80280DE8 0027DD48 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80280DEC 0027DD4C 90 A4 00 1C */ stw r5, 0x1c(r4) +/* 80280DF0 0027DD50 90 04 00 20 */ stw r0, 0x20(r4) +/* 80280DF4 0027DD54 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 80280DF8 0027DD58 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80280DFC 0027DD5C 90 A4 00 24 */ stw r5, 0x24(r4) +/* 80280E00 0027DD60 90 04 00 28 */ stw r0, 0x28(r4) +/* 80280E04 0027DD64 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 80280E08 0027DD68 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80280E0C 0027DD6C 90 A4 00 2C */ stw r5, 0x2c(r4) +/* 80280E10 0027DD70 90 04 00 30 */ stw r0, 0x30(r4) +/* 80280E14 0027DD74 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 80280E18 0027DD78 80 03 00 38 */ lwz r0, 0x38(r3) +/* 80280E1C 0027DD7C 90 A4 00 34 */ stw r5, 0x34(r4) +/* 80280E20 0027DD80 90 04 00 38 */ stw r0, 0x38(r4) +/* 80280E24 0027DD84 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80280E28 0027DD88 90 04 00 3C */ stw r0, 0x3c(r4) +/* 80280E2C 0027DD8C 80 A3 00 40 */ lwz r5, 0x40(r3) +/* 80280E30 0027DD90 80 03 00 44 */ lwz r0, 0x44(r3) +/* 80280E34 0027DD94 90 A4 00 40 */ stw r5, 0x40(r4) +/* 80280E38 0027DD98 90 04 00 44 */ stw r0, 0x44(r4) +/* 80280E3C 0027DD9C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 80280E40 0027DDA0 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 80280E44 0027DDA4 90 A4 00 48 */ stw r5, 0x48(r4) +/* 80280E48 0027DDA8 90 04 00 4C */ stw r0, 0x4c(r4) +/* 80280E4C 0027DDAC 80 A3 00 50 */ lwz r5, 0x50(r3) +/* 80280E50 0027DDB0 80 03 00 54 */ lwz r0, 0x54(r3) +/* 80280E54 0027DDB4 90 A4 00 50 */ stw r5, 0x50(r4) +/* 80280E58 0027DDB8 90 04 00 54 */ stw r0, 0x54(r4) +/* 80280E5C 0027DDBC 80 A3 00 58 */ lwz r5, 0x58(r3) +/* 80280E60 0027DDC0 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80280E64 0027DDC4 90 A4 00 58 */ stw r5, 0x58(r4) +/* 80280E68 0027DDC8 90 04 00 5C */ stw r0, 0x5c(r4) +/* 80280E6C 0027DDCC 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80280E70 0027DDD0 90 04 00 60 */ stw r0, 0x60(r4) +/* 80280E74 0027DDD4 80 03 00 64 */ lwz r0, 0x64(r3) +/* 80280E78 0027DDD8 90 04 00 64 */ stw r0, 0x64(r4) +/* 80280E7C 0027DDDC 80 03 00 68 */ lwz r0, 0x68(r3) +/* 80280E80 0027DDE0 90 04 00 68 */ stw r0, 0x68(r4) +/* 80280E84 0027DDE4 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 80280E88 0027DDE8 90 04 00 6C */ stw r0, 0x6c(r4) +/* 80280E8C 0027DDEC 80 A3 00 70 */ lwz r5, 0x70(r3) +/* 80280E90 0027DDF0 80 03 00 74 */ lwz r0, 0x74(r3) +/* 80280E94 0027DDF4 90 A4 00 70 */ stw r5, 0x70(r4) +/* 80280E98 0027DDF8 90 04 00 74 */ stw r0, 0x74(r4) +lbl_80280E9C: +/* 80280E9C 0027DDFC 38 84 00 78 */ addi r4, r4, 0x78 +/* 80280EA0 0027DE00 38 63 00 78 */ addi r3, r3, 0x78 +/* 80280EA4 0027DE04 42 00 FF 00 */ bdnz lbl_80280DA4 +lbl_80280EA8: +/* 80280EA8 0027DE08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280EAC 0027DE0C 7F C3 F3 78 */ mr r3, r30 +/* 80280EB0 0027DE10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80280EB4 0027DE14 83 C1 00 08 */ lwz r30, 8(r1) +/* 80280EB8 0027DE18 7C 08 03 A6 */ mtlr r0 +/* 80280EBC 0027DE1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280EC0 0027DE20 4E 80 00 20 */ blr + +.global sub_80280ec4 +sub_80280ec4: +/* 80280EC4 0027DE24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280EC8 0027DE28 7C 08 02 A6 */ mflr r0 +/* 80280ECC 0027DE2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280ED0 0027DE30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80280ED4 0027DE34 7C 7F 1B 78 */ mr r31, r3 +/* 80280ED8 0027DE38 38 64 00 04 */ addi r3, r4, 4 +/* 80280EDC 0027DE3C 80 04 00 00 */ lwz r0, 0(r4) +/* 80280EE0 0027DE40 38 BF 00 04 */ addi r5, r31, 4 +/* 80280EE4 0027DE44 90 1F 00 00 */ stw r0, 0(r31) +/* 80280EE8 0027DE48 80 9F 00 00 */ lwz r4, 0(r31) +/* 80280EEC 0027DE4C 48 00 00 1D */ bl sub_80280f08 +/* 80280EF0 0027DE50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280EF4 0027DE54 7F E3 FB 78 */ mr r3, r31 +/* 80280EF8 0027DE58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80280EFC 0027DE5C 7C 08 03 A6 */ mtlr r0 +/* 80280F00 0027DE60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280F04 0027DE64 4E 80 00 20 */ blr + +.global sub_80280f08 +sub_80280f08: +/* 80280F08 0027DE68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80280F0C 0027DE6C 7C 08 02 A6 */ mflr r0 +/* 80280F10 0027DE70 90 01 00 24 */ stw r0, 0x24(r1) +/* 80280F14 0027DE74 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80280F18 0027DE78 7C 7F 1B 78 */ mr r31, r3 +/* 80280F1C 0027DE7C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80280F20 0027DE80 7C BE 2B 78 */ mr r30, r5 +/* 80280F24 0027DE84 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80280F28 0027DE88 3B A0 00 00 */ li r29, 0 +/* 80280F2C 0027DE8C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80280F30 0027DE90 7C 9C 23 78 */ mr r28, r4 +/* 80280F34 0027DE94 48 00 00 1C */ b lbl_80280F50 +lbl_80280F38: +/* 80280F38 0027DE98 7F C3 F3 78 */ mr r3, r30 +/* 80280F3C 0027DE9C 7F E4 FB 78 */ mr r4, r31 +/* 80280F40 0027DEA0 48 00 00 3D */ bl sub_80280f7c +/* 80280F44 0027DEA4 3B DE 00 A8 */ addi r30, r30, 0xa8 +/* 80280F48 0027DEA8 3B BD 00 01 */ addi r29, r29, 1 +/* 80280F4C 0027DEAC 3B FF 00 A8 */ addi r31, r31, 0xa8 +lbl_80280F50: +/* 80280F50 0027DEB0 7C 1D E0 00 */ cmpw r29, r28 +/* 80280F54 0027DEB4 41 80 FF E4 */ blt lbl_80280F38 +/* 80280F58 0027DEB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80280F5C 0027DEBC 7F C3 F3 78 */ mr r3, r30 +/* 80280F60 0027DEC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80280F64 0027DEC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80280F68 0027DEC8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80280F6C 0027DECC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80280F70 0027DED0 7C 08 03 A6 */ mtlr r0 +/* 80280F74 0027DED4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80280F78 0027DED8 4E 80 00 20 */ blr + +.global sub_80280f7c +sub_80280f7c: +/* 80280F7C 0027DEDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280F80 0027DEE0 7C 08 02 A6 */ mflr r0 +/* 80280F84 0027DEE4 28 03 00 00 */ cmplwi r3, 0 +/* 80280F88 0027DEE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280F8C 0027DEEC 41 82 00 08 */ beq lbl_80280F94 +/* 80280F90 0027DEF0 48 00 00 15 */ bl sub_80280fa4 +lbl_80280F94: +/* 80280F94 0027DEF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280F98 0027DEF8 7C 08 03 A6 */ mtlr r0 +/* 80280F9C 0027DEFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280FA0 0027DF00 4E 80 00 20 */ blr + +.global sub_80280fa4 +sub_80280fa4: +/* 80280FA4 0027DF04 80 04 00 00 */ lwz r0, 0(r4) +/* 80280FA8 0027DF08 90 03 00 00 */ stw r0, 0(r3) +/* 80280FAC 0027DF0C 80 04 00 04 */ lwz r0, 4(r4) +/* 80280FB0 0027DF10 90 03 00 04 */ stw r0, 4(r3) +/* 80280FB4 0027DF14 80 04 00 08 */ lwz r0, 8(r4) +/* 80280FB8 0027DF18 90 03 00 08 */ stw r0, 8(r3) +/* 80280FBC 0027DF1C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80280FC0 0027DF20 90 03 00 0C */ stw r0, 0xc(r3) +/* 80280FC4 0027DF24 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80280FC8 0027DF28 90 03 00 10 */ stw r0, 0x10(r3) +/* 80280FCC 0027DF2C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80280FD0 0027DF30 90 03 00 14 */ stw r0, 0x14(r3) +/* 80280FD4 0027DF34 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80280FD8 0027DF38 90 03 00 18 */ stw r0, 0x18(r3) +/* 80280FDC 0027DF3C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80280FE0 0027DF40 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80280FE4 0027DF44 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80280FE8 0027DF48 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80280FEC 0027DF4C C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80280FF0 0027DF50 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80280FF4 0027DF54 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80280FF8 0027DF58 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80280FFC 0027DF5C C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80281000 0027DF60 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80281004 0027DF64 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 80281008 0027DF68 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8028100C 0027DF6C C0 04 00 34 */ lfs f0, 0x34(r4) +/* 80281010 0027DF70 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 80281014 0027DF74 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 80281018 0027DF78 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8028101C 0027DF7C 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 80281020 0027DF80 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80281024 0027DF84 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80281028 0027DF88 90 03 00 40 */ stw r0, 0x40(r3) +/* 8028102C 0027DF8C 80 04 00 44 */ lwz r0, 0x44(r4) +/* 80281030 0027DF90 90 03 00 44 */ stw r0, 0x44(r3) +/* 80281034 0027DF94 80 04 00 48 */ lwz r0, 0x48(r4) +/* 80281038 0027DF98 90 03 00 48 */ stw r0, 0x48(r3) +/* 8028103C 0027DF9C 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 80281040 0027DFA0 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80281044 0027DFA4 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 80281048 0027DFA8 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 8028104C 0027DFAC C0 04 00 54 */ lfs f0, 0x54(r4) +/* 80281050 0027DFB0 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 80281054 0027DFB4 C0 04 00 58 */ lfs f0, 0x58(r4) +/* 80281058 0027DFB8 D0 03 00 58 */ stfs f0, 0x58(r3) +/* 8028105C 0027DFBC C0 04 00 5C */ lfs f0, 0x5c(r4) +/* 80281060 0027DFC0 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 80281064 0027DFC4 88 04 00 60 */ lbz r0, 0x60(r4) +/* 80281068 0027DFC8 98 03 00 60 */ stb r0, 0x60(r3) +/* 8028106C 0027DFCC 80 04 00 64 */ lwz r0, 0x64(r4) +/* 80281070 0027DFD0 90 03 00 64 */ stw r0, 0x64(r3) +/* 80281074 0027DFD4 80 04 00 68 */ lwz r0, 0x68(r4) +/* 80281078 0027DFD8 90 03 00 68 */ stw r0, 0x68(r3) +/* 8028107C 0027DFDC 80 04 00 6C */ lwz r0, 0x6c(r4) +/* 80281080 0027DFE0 90 03 00 6C */ stw r0, 0x6c(r3) +/* 80281084 0027DFE4 80 04 00 70 */ lwz r0, 0x70(r4) +/* 80281088 0027DFE8 90 03 00 70 */ stw r0, 0x70(r3) +/* 8028108C 0027DFEC 80 04 00 74 */ lwz r0, 0x74(r4) +/* 80281090 0027DFF0 90 03 00 74 */ stw r0, 0x74(r3) +/* 80281094 0027DFF4 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80281098 0027DFF8 90 03 00 78 */ stw r0, 0x78(r3) +/* 8028109C 0027DFFC 80 04 00 7C */ lwz r0, 0x7c(r4) +/* 802810A0 0027E000 90 03 00 7C */ stw r0, 0x7c(r3) +/* 802810A4 0027E004 80 04 00 80 */ lwz r0, 0x80(r4) +/* 802810A8 0027E008 90 03 00 80 */ stw r0, 0x80(r3) +/* 802810AC 0027E00C 80 04 00 84 */ lwz r0, 0x84(r4) +/* 802810B0 0027E010 90 03 00 84 */ stw r0, 0x84(r3) +/* 802810B4 0027E014 C0 04 00 88 */ lfs f0, 0x88(r4) +/* 802810B8 0027E018 D0 03 00 88 */ stfs f0, 0x88(r3) +/* 802810BC 0027E01C 80 04 00 8C */ lwz r0, 0x8c(r4) +/* 802810C0 0027E020 90 03 00 8C */ stw r0, 0x8c(r3) +/* 802810C4 0027E024 88 04 00 90 */ lbz r0, 0x90(r4) +/* 802810C8 0027E028 98 03 00 90 */ stb r0, 0x90(r3) +/* 802810CC 0027E02C C0 04 00 94 */ lfs f0, 0x94(r4) +/* 802810D0 0027E030 D0 03 00 94 */ stfs f0, 0x94(r3) +/* 802810D4 0027E034 C0 04 00 98 */ lfs f0, 0x98(r4) +/* 802810D8 0027E038 D0 03 00 98 */ stfs f0, 0x98(r3) +/* 802810DC 0027E03C C0 04 00 9C */ lfs f0, 0x9c(r4) +/* 802810E0 0027E040 D0 03 00 9C */ stfs f0, 0x9c(r3) +/* 802810E4 0027E044 C0 04 00 A0 */ lfs f0, 0xa0(r4) +/* 802810E8 0027E048 D0 03 00 A0 */ stfs f0, 0xa0(r3) +/* 802810EC 0027E04C 88 04 00 A4 */ lbz r0, 0xa4(r4) +/* 802810F0 0027E050 98 03 00 A4 */ stb r0, 0xa4(r3) +/* 802810F4 0027E054 4E 80 00 20 */ blr + +.global LoadAndBuildPrimeCameraShakeData__FR12CInputStream +LoadAndBuildPrimeCameraShakeData__FR12CInputStream: +/* 802810F8 0027E058 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802810FC 0027E05C 7C 08 02 A6 */ mflr r0 +/* 80281100 0027E060 90 01 00 94 */ stw r0, 0x94(r1) +/* 80281104 0027E064 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80281108 0027E068 7C 7F 1B 78 */ mr r31, r3 +/* 8028110C 0027E06C 38 61 00 08 */ addi r3, r1, 8 +/* 80281110 0027E070 48 00 00 25 */ bl LoadPrimeCameraShakeData__FR12CInputStream +/* 80281114 0027E074 7C 64 1B 78 */ mr r4, r3 +/* 80281118 0027E078 7F E3 FB 78 */ mr r3, r31 +/* 8028111C 0027E07C 4B FF B2 59 */ bl BuildCameraShakeData__FRC21SPrimeCameraShakeData +/* 80281120 0027E080 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80281124 0027E084 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80281128 0027E088 7C 08 03 A6 */ mtlr r0 +/* 8028112C 0027E08C 38 21 00 90 */ addi r1, r1, 0x90 +/* 80281130 0027E090 4E 80 00 20 */ blr + +.global LoadPrimeCameraShakeData__FR12CInputStream +LoadPrimeCameraShakeData__FR12CInputStream: +/* 80281134 0027E094 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281138 0027E098 7C 08 02 A6 */ mflr r0 +/* 8028113C 0027E09C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281140 0027E0A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80281144 0027E0A4 7C 9F 23 78 */ mr r31, r4 +/* 80281148 0027E0A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8028114C 0027E0AC 7C 7E 1B 78 */ mr r30, r3 +/* 80281150 0027E0B0 7F E3 FB 78 */ mr r3, r31 +/* 80281154 0027E0B4 48 0B DB 89 */ bl ReadBool__12CInputStreamFv +/* 80281158 0027E0B8 98 7E 00 00 */ stb r3, 0(r30) +/* 8028115C 0027E0BC 7F E3 FB 78 */ mr r3, r31 +/* 80281160 0027E0C0 48 0B DA C9 */ bl ReadFloat__12CInputStreamFv +/* 80281164 0027E0C4 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80281168 0027E0C8 7F E3 FB 78 */ mr r3, r31 +/* 8028116C 0027E0CC 48 0B DA BD */ bl ReadFloat__12CInputStreamFv +/* 80281170 0027E0D0 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80281174 0027E0D4 7F E4 FB 78 */ mr r4, r31 +/* 80281178 0027E0D8 38 7E 00 0C */ addi r3, r30, 0xc +/* 8028117C 0027E0DC 48 00 00 39 */ bl LoadPrimeCameraShakerComponent__FR12CInputStream +/* 80281180 0027E0E0 7F E4 FB 78 */ mr r4, r31 +/* 80281184 0027E0E4 38 7E 00 30 */ addi r3, r30, 0x30 +/* 80281188 0027E0E8 48 00 00 2D */ bl LoadPrimeCameraShakerComponent__FR12CInputStream +/* 8028118C 0027E0EC 7F E4 FB 78 */ mr r4, r31 +/* 80281190 0027E0F0 38 7E 00 54 */ addi r3, r30, 0x54 +/* 80281194 0027E0F4 48 00 00 21 */ bl LoadPrimeCameraShakerComponent__FR12CInputStream +/* 80281198 0027E0F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028119C 0027E0FC 7F C3 F3 78 */ mr r3, r30 +/* 802811A0 0027E100 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802811A4 0027E104 83 C1 00 08 */ lwz r30, 8(r1) +/* 802811A8 0027E108 7C 08 03 A6 */ mtlr r0 +/* 802811AC 0027E10C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802811B0 0027E110 4E 80 00 20 */ blr + +.global LoadPrimeCameraShakerComponent__FR12CInputStream +LoadPrimeCameraShakerComponent__FR12CInputStream: +/* 802811B4 0027E114 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802811B8 0027E118 7C 08 02 A6 */ mflr r0 +/* 802811BC 0027E11C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802811C0 0027E120 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802811C4 0027E124 7C 9F 23 78 */ mr r31, r4 +/* 802811C8 0027E128 93 C1 00 08 */ stw r30, 8(r1) +/* 802811CC 0027E12C 7C 7E 1B 78 */ mr r30, r3 +/* 802811D0 0027E130 7F E3 FB 78 */ mr r3, r31 +/* 802811D4 0027E134 48 0B DB 09 */ bl ReadBool__12CInputStreamFv +/* 802811D8 0027E138 98 7E 00 00 */ stb r3, 0(r30) +/* 802811DC 0027E13C 7F E3 FB 78 */ mr r3, r31 +/* 802811E0 0027E140 48 0B DA 49 */ bl ReadFloat__12CInputStreamFv +/* 802811E4 0027E144 D0 3E 00 04 */ stfs f1, 4(r30) +/* 802811E8 0027E148 7F E3 FB 78 */ mr r3, r31 +/* 802811EC 0027E14C 48 0B DA 3D */ bl ReadFloat__12CInputStreamFv +/* 802811F0 0027E150 D0 3E 00 08 */ stfs f1, 8(r30) +/* 802811F4 0027E154 7F E3 FB 78 */ mr r3, r31 +/* 802811F8 0027E158 48 0B DA 31 */ bl ReadFloat__12CInputStreamFv +/* 802811FC 0027E15C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80281200 0027E160 7F E3 FB 78 */ mr r3, r31 +/* 80281204 0027E164 48 0B DA 25 */ bl ReadFloat__12CInputStreamFv +/* 80281208 0027E168 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8028120C 0027E16C 7F E3 FB 78 */ mr r3, r31 +/* 80281210 0027E170 48 0B DA 19 */ bl ReadFloat__12CInputStreamFv +/* 80281214 0027E174 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80281218 0027E178 7F E3 FB 78 */ mr r3, r31 +/* 8028121C 0027E17C 48 0B DA 0D */ bl ReadFloat__12CInputStreamFv +/* 80281220 0027E180 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80281224 0027E184 7F E3 FB 78 */ mr r3, r31 +/* 80281228 0027E188 48 0B DA 01 */ bl ReadFloat__12CInputStreamFv +/* 8028122C 0027E18C D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80281230 0027E190 7F E3 FB 78 */ mr r3, r31 +/* 80281234 0027E194 48 0B D9 F5 */ bl ReadFloat__12CInputStreamFv +/* 80281238 0027E198 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 8028123C 0027E19C 7F C3 F3 78 */ mr r3, r30 +/* 80281240 0027E1A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281244 0027E1A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281248 0027E1A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028124C 0027E1AC 7C 08 03 A6 */ mtlr r0 +/* 80281250 0027E1B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80281254 0027E1B4 4E 80 00 20 */ blr + +.global LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream +LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream: +/* 80281258 0027E1B8 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 8028125C 0027E1BC 7C 08 02 A6 */ mflr r0 +/* 80281260 0027E1C0 90 01 02 84 */ stw r0, 0x284(r1) +/* 80281264 0027E1C4 38 00 00 00 */ li r0, 0 +/* 80281268 0027E1C8 93 E1 02 7C */ stw r31, 0x27c(r1) +/* 8028126C 0027E1CC 3B E1 00 84 */ addi r31, r1, 0x84 +/* 80281270 0027E1D0 93 C1 02 78 */ stw r30, 0x278(r1) +/* 80281274 0027E1D4 3B C0 00 00 */ li r30, 0 +/* 80281278 0027E1D8 93 A1 02 74 */ stw r29, 0x274(r1) +/* 8028127C 0027E1DC 7C 9D 23 78 */ mr r29, r4 +/* 80281280 0027E1E0 93 81 02 70 */ stw r28, 0x270(r1) +/* 80281284 0027E1E4 7C 7C 1B 78 */ mr r28, r3 +/* 80281288 0027E1E8 90 01 00 80 */ stw r0, 0x80(r1) +lbl_8028128C: +/* 8028128C 0027E1EC 7F A4 EB 78 */ mr r4, r29 +/* 80281290 0027E1F0 38 61 00 08 */ addi r3, r1, 8 +/* 80281294 0027E1F4 4B FF B0 6D */ bl __ct__13SPrimeStruct6FR12CInputStream +/* 80281298 0027E1F8 80 01 00 80 */ lwz r0, 0x80(r1) +/* 8028129C 0027E1FC 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 802812A0 0027E200 7C 7F 02 15 */ add. r3, r31, r0 +/* 802812A4 0027E204 41 82 00 F4 */ beq lbl_80281398 +/* 802812A8 0027E208 80 81 00 08 */ lwz r4, 8(r1) +/* 802812AC 0027E20C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802812B0 0027E210 90 83 00 00 */ stw r4, 0(r3) +/* 802812B4 0027E214 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802812B8 0027E218 90 03 00 04 */ stw r0, 4(r3) +/* 802812BC 0027E21C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802812C0 0027E220 90 83 00 08 */ stw r4, 8(r3) +/* 802812C4 0027E224 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802812C8 0027E228 90 03 00 0C */ stw r0, 0xc(r3) +/* 802812CC 0027E22C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802812D0 0027E230 90 83 00 10 */ stw r4, 0x10(r3) +/* 802812D4 0027E234 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802812D8 0027E238 90 03 00 14 */ stw r0, 0x14(r3) +/* 802812DC 0027E23C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802812E0 0027E240 90 83 00 18 */ stw r4, 0x18(r3) +/* 802812E4 0027E244 80 81 00 28 */ lwz r4, 0x28(r1) +/* 802812E8 0027E248 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802812EC 0027E24C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802812F0 0027E250 90 83 00 20 */ stw r4, 0x20(r3) +/* 802812F4 0027E254 80 81 00 30 */ lwz r4, 0x30(r1) +/* 802812F8 0027E258 90 03 00 24 */ stw r0, 0x24(r3) +/* 802812FC 0027E25C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80281300 0027E260 90 83 00 28 */ stw r4, 0x28(r3) +/* 80281304 0027E264 80 81 00 38 */ lwz r4, 0x38(r1) +/* 80281308 0027E268 90 03 00 2C */ stw r0, 0x2c(r3) +/* 8028130C 0027E26C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80281310 0027E270 90 83 00 30 */ stw r4, 0x30(r3) +/* 80281314 0027E274 80 81 00 40 */ lwz r4, 0x40(r1) +/* 80281318 0027E278 90 03 00 34 */ stw r0, 0x34(r3) +/* 8028131C 0027E27C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80281320 0027E280 90 83 00 38 */ stw r4, 0x38(r3) +/* 80281324 0027E284 80 81 00 48 */ lwz r4, 0x48(r1) +/* 80281328 0027E288 90 03 00 3C */ stw r0, 0x3c(r3) +/* 8028132C 0027E28C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80281330 0027E290 90 83 00 40 */ stw r4, 0x40(r3) +/* 80281334 0027E294 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80281338 0027E298 90 03 00 44 */ stw r0, 0x44(r3) +/* 8028133C 0027E29C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80281340 0027E2A0 90 83 00 48 */ stw r4, 0x48(r3) +/* 80281344 0027E2A4 80 81 00 58 */ lwz r4, 0x58(r1) +/* 80281348 0027E2A8 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8028134C 0027E2AC 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80281350 0027E2B0 90 83 00 50 */ stw r4, 0x50(r3) +/* 80281354 0027E2B4 80 81 00 60 */ lwz r4, 0x60(r1) +/* 80281358 0027E2B8 90 03 00 54 */ stw r0, 0x54(r3) +/* 8028135C 0027E2BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80281360 0027E2C0 90 83 00 58 */ stw r4, 0x58(r3) +/* 80281364 0027E2C4 80 81 00 68 */ lwz r4, 0x68(r1) +/* 80281368 0027E2C8 90 03 00 5C */ stw r0, 0x5c(r3) +/* 8028136C 0027E2CC 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80281370 0027E2D0 90 83 00 60 */ stw r4, 0x60(r3) +/* 80281374 0027E2D4 80 81 00 70 */ lwz r4, 0x70(r1) +/* 80281378 0027E2D8 90 03 00 64 */ stw r0, 0x64(r3) +/* 8028137C 0027E2DC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80281380 0027E2E0 90 83 00 68 */ stw r4, 0x68(r3) +/* 80281384 0027E2E4 80 81 00 78 */ lwz r4, 0x78(r1) +/* 80281388 0027E2E8 90 03 00 6C */ stw r0, 0x6c(r3) +/* 8028138C 0027E2EC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80281390 0027E2F0 90 83 00 70 */ stw r4, 0x70(r3) +/* 80281394 0027E2F4 90 03 00 74 */ stw r0, 0x74(r3) +lbl_80281398: +/* 80281398 0027E2F8 80 61 00 80 */ lwz r3, 0x80(r1) +/* 8028139C 0027E2FC 3B DE 00 01 */ addi r30, r30, 1 +/* 802813A0 0027E300 2C 1E 00 04 */ cmpwi r30, 4 +/* 802813A4 0027E304 38 03 00 01 */ addi r0, r3, 1 +/* 802813A8 0027E308 90 01 00 80 */ stw r0, 0x80(r1) +/* 802813AC 0027E30C 41 80 FE E0 */ blt lbl_8028128C +/* 802813B0 0027E310 90 1C 00 00 */ stw r0, 0(r28) +/* 802813B4 0027E314 38 7C 00 04 */ addi r3, r28, 4 +/* 802813B8 0027E318 80 1C 00 00 */ lwz r0, 0(r28) +/* 802813BC 0027E31C 7C 09 03 A6 */ mtctr r0 +/* 802813C0 0027E320 2C 00 00 00 */ cmpwi r0, 0 +/* 802813C4 0027E324 40 81 01 08 */ ble lbl_802814CC +lbl_802813C8: +/* 802813C8 0027E328 28 03 00 00 */ cmplwi r3, 0 +/* 802813CC 0027E32C 41 82 00 F4 */ beq lbl_802814C0 +/* 802813D0 0027E330 80 9F 00 00 */ lwz r4, 0(r31) +/* 802813D4 0027E334 80 1F 00 04 */ lwz r0, 4(r31) +/* 802813D8 0027E338 90 83 00 00 */ stw r4, 0(r3) +/* 802813DC 0027E33C 80 9F 00 08 */ lwz r4, 8(r31) +/* 802813E0 0027E340 90 03 00 04 */ stw r0, 4(r3) +/* 802813E4 0027E344 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802813E8 0027E348 90 83 00 08 */ stw r4, 8(r3) +/* 802813EC 0027E34C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 802813F0 0027E350 90 03 00 0C */ stw r0, 0xc(r3) +/* 802813F4 0027E354 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802813F8 0027E358 90 83 00 10 */ stw r4, 0x10(r3) +/* 802813FC 0027E35C 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80281400 0027E360 90 03 00 14 */ stw r0, 0x14(r3) +/* 80281404 0027E364 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80281408 0027E368 90 83 00 18 */ stw r4, 0x18(r3) +/* 8028140C 0027E36C 80 9F 00 20 */ lwz r4, 0x20(r31) +/* 80281410 0027E370 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80281414 0027E374 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80281418 0027E378 90 83 00 20 */ stw r4, 0x20(r3) +/* 8028141C 0027E37C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 80281420 0027E380 90 03 00 24 */ stw r0, 0x24(r3) +/* 80281424 0027E384 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80281428 0027E388 90 83 00 28 */ stw r4, 0x28(r3) +/* 8028142C 0027E38C 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 80281430 0027E390 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80281434 0027E394 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80281438 0027E398 90 83 00 30 */ stw r4, 0x30(r3) +/* 8028143C 0027E39C 80 9F 00 38 */ lwz r4, 0x38(r31) +/* 80281440 0027E3A0 90 03 00 34 */ stw r0, 0x34(r3) +/* 80281444 0027E3A4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80281448 0027E3A8 90 83 00 38 */ stw r4, 0x38(r3) +/* 8028144C 0027E3AC 80 9F 00 40 */ lwz r4, 0x40(r31) +/* 80281450 0027E3B0 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80281454 0027E3B4 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 80281458 0027E3B8 90 83 00 40 */ stw r4, 0x40(r3) +/* 8028145C 0027E3BC 80 9F 00 48 */ lwz r4, 0x48(r31) +/* 80281460 0027E3C0 90 03 00 44 */ stw r0, 0x44(r3) +/* 80281464 0027E3C4 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80281468 0027E3C8 90 83 00 48 */ stw r4, 0x48(r3) +/* 8028146C 0027E3CC 80 9F 00 50 */ lwz r4, 0x50(r31) +/* 80281470 0027E3D0 90 03 00 4C */ stw r0, 0x4c(r3) +/* 80281474 0027E3D4 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 80281478 0027E3D8 90 83 00 50 */ stw r4, 0x50(r3) +/* 8028147C 0027E3DC 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 80281480 0027E3E0 90 03 00 54 */ stw r0, 0x54(r3) +/* 80281484 0027E3E4 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80281488 0027E3E8 90 83 00 58 */ stw r4, 0x58(r3) +/* 8028148C 0027E3EC 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 80281490 0027E3F0 90 03 00 5C */ stw r0, 0x5c(r3) +/* 80281494 0027E3F4 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 80281498 0027E3F8 90 83 00 60 */ stw r4, 0x60(r3) +/* 8028149C 0027E3FC 80 9F 00 68 */ lwz r4, 0x68(r31) +/* 802814A0 0027E400 90 03 00 64 */ stw r0, 0x64(r3) +/* 802814A4 0027E404 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 802814A8 0027E408 90 83 00 68 */ stw r4, 0x68(r3) +/* 802814AC 0027E40C 80 9F 00 70 */ lwz r4, 0x70(r31) +/* 802814B0 0027E410 90 03 00 6C */ stw r0, 0x6c(r3) +/* 802814B4 0027E414 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 802814B8 0027E418 90 83 00 70 */ stw r4, 0x70(r3) +/* 802814BC 0027E41C 90 03 00 74 */ stw r0, 0x74(r3) +lbl_802814C0: +/* 802814C0 0027E420 38 63 00 78 */ addi r3, r3, 0x78 +/* 802814C4 0027E424 3B FF 00 78 */ addi r31, r31, 0x78 +/* 802814C8 0027E428 42 00 FF 00 */ bdnz lbl_802813C8 +lbl_802814CC: +/* 802814CC 0027E42C 80 A1 00 80 */ lwz r5, 0x80(r1) +/* 802814D0 0027E430 38 60 00 00 */ li r3, 0 +/* 802814D4 0027E434 2C 05 00 00 */ cmpwi r5, 0 +/* 802814D8 0027E438 40 81 00 40 */ ble lbl_80281518 +/* 802814DC 0027E43C 2C 05 00 08 */ cmpwi r5, 8 +/* 802814E0 0027E440 38 85 FF F8 */ addi r4, r5, -8 +/* 802814E4 0027E444 40 81 00 20 */ ble lbl_80281504 +/* 802814E8 0027E448 38 04 00 07 */ addi r0, r4, 7 +/* 802814EC 0027E44C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802814F0 0027E450 7C 09 03 A6 */ mtctr r0 +/* 802814F4 0027E454 2C 04 00 00 */ cmpwi r4, 0 +/* 802814F8 0027E458 40 81 00 0C */ ble lbl_80281504 +lbl_802814FC: +/* 802814FC 0027E45C 38 63 00 08 */ addi r3, r3, 8 +/* 80281500 0027E460 42 00 FF FC */ bdnz lbl_802814FC +lbl_80281504: +/* 80281504 0027E464 7C 03 28 50 */ subf r0, r3, r5 +/* 80281508 0027E468 7C 09 03 A6 */ mtctr r0 +/* 8028150C 0027E46C 7C 03 28 00 */ cmpw r3, r5 +/* 80281510 0027E470 40 80 00 08 */ bge lbl_80281518 +lbl_80281514: +/* 80281514 0027E474 42 00 00 00 */ bdnz lbl_80281514 +lbl_80281518: +/* 80281518 0027E478 38 00 00 00 */ li r0, 0 +/* 8028151C 0027E47C 83 E1 02 7C */ lwz r31, 0x27c(r1) +/* 80281520 0027E480 90 01 00 80 */ stw r0, 0x80(r1) +/* 80281524 0027E484 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80281528 0027E488 83 C1 02 78 */ lwz r30, 0x278(r1) +/* 8028152C 0027E48C 83 A1 02 74 */ lwz r29, 0x274(r1) +/* 80281530 0027E490 83 81 02 70 */ lwz r28, 0x270(r1) +/* 80281534 0027E494 7C 08 03 A6 */ mtlr r0 +/* 80281538 0027E498 38 21 02 80 */ addi r1, r1, 0x280 +/* 8028153C 0027E49C 4E 80 00 20 */ blr + +.global LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream +LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream: +/* 80281540 0027E4A0 94 21 FC 90 */ stwu r1, -0x370(r1) +/* 80281544 0027E4A4 7C 08 02 A6 */ mflr r0 +/* 80281548 0027E4A8 90 01 03 74 */ stw r0, 0x374(r1) +/* 8028154C 0027E4AC 38 00 00 00 */ li r0, 0 +/* 80281550 0027E4B0 93 E1 03 6C */ stw r31, 0x36c(r1) +/* 80281554 0027E4B4 3B E0 00 00 */ li r31, 0 +/* 80281558 0027E4B8 93 C1 03 68 */ stw r30, 0x368(r1) +/* 8028155C 0027E4BC 7C 9E 23 78 */ mr r30, r4 +/* 80281560 0027E4C0 93 A1 03 64 */ stw r29, 0x364(r1) +/* 80281564 0027E4C4 7C 7D 1B 78 */ mr r29, r3 +/* 80281568 0027E4C8 90 01 00 B0 */ stw r0, 0xb0(r1) +lbl_8028156C: +/* 8028156C 0027E4CC 7F C4 F3 78 */ mr r4, r30 +/* 80281570 0027E4D0 38 61 00 08 */ addi r3, r1, 8 +/* 80281574 0027E4D4 48 00 00 E1 */ bl __ct__13SPrimeStruct4FR12CInputStream +/* 80281578 0027E4D8 7C 64 1B 78 */ mr r4, r3 +/* 8028157C 0027E4DC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80281580 0027E4E0 48 00 00 8D */ bl sub_8028160c +/* 80281584 0027E4E4 3B FF 00 01 */ addi r31, r31, 1 +/* 80281588 0027E4E8 2C 1F 00 04 */ cmpwi r31, 4 +/* 8028158C 0027E4EC 41 80 FF E0 */ blt lbl_8028156C +/* 80281590 0027E4F0 7F A3 EB 78 */ mr r3, r29 +/* 80281594 0027E4F4 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80281598 0027E4F8 4B FF F9 2D */ bl sub_80280ec4 +/* 8028159C 0027E4FC 80 A1 00 B0 */ lwz r5, 0xb0(r1) +/* 802815A0 0027E500 38 60 00 00 */ li r3, 0 +/* 802815A4 0027E504 2C 05 00 00 */ cmpwi r5, 0 +/* 802815A8 0027E508 40 81 00 40 */ ble lbl_802815E8 +/* 802815AC 0027E50C 2C 05 00 08 */ cmpwi r5, 8 +/* 802815B0 0027E510 38 85 FF F8 */ addi r4, r5, -8 +/* 802815B4 0027E514 40 81 00 20 */ ble lbl_802815D4 +/* 802815B8 0027E518 38 04 00 07 */ addi r0, r4, 7 +/* 802815BC 0027E51C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802815C0 0027E520 7C 09 03 A6 */ mtctr r0 +/* 802815C4 0027E524 2C 04 00 00 */ cmpwi r4, 0 +/* 802815C8 0027E528 40 81 00 0C */ ble lbl_802815D4 +lbl_802815CC: +/* 802815CC 0027E52C 38 63 00 08 */ addi r3, r3, 8 +/* 802815D0 0027E530 42 00 FF FC */ bdnz lbl_802815CC +lbl_802815D4: +/* 802815D4 0027E534 7C 03 28 50 */ subf r0, r3, r5 +/* 802815D8 0027E538 7C 09 03 A6 */ mtctr r0 +/* 802815DC 0027E53C 7C 03 28 00 */ cmpw r3, r5 +/* 802815E0 0027E540 40 80 00 08 */ bge lbl_802815E8 +lbl_802815E4: +/* 802815E4 0027E544 42 00 00 00 */ bdnz lbl_802815E4 +lbl_802815E8: +/* 802815E8 0027E548 38 00 00 00 */ li r0, 0 +/* 802815EC 0027E54C 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 802815F0 0027E550 80 01 03 74 */ lwz r0, 0x374(r1) +/* 802815F4 0027E554 83 E1 03 6C */ lwz r31, 0x36c(r1) +/* 802815F8 0027E558 83 C1 03 68 */ lwz r30, 0x368(r1) +/* 802815FC 0027E55C 83 A1 03 64 */ lwz r29, 0x364(r1) +/* 80281600 0027E560 7C 08 03 A6 */ mtlr r0 +/* 80281604 0027E564 38 21 03 70 */ addi r1, r1, 0x370 +/* 80281608 0027E568 4E 80 00 20 */ blr + +.global sub_8028160c +sub_8028160c: +/* 8028160C 0027E56C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281610 0027E570 7C 08 02 A6 */ mflr r0 +/* 80281614 0027E574 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281618 0027E578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028161C 0027E57C 7C 7F 1B 78 */ mr r31, r3 +/* 80281620 0027E580 80 03 00 00 */ lwz r0, 0(r3) +/* 80281624 0027E584 1C 00 00 A8 */ mulli r0, r0, 0xa8 +/* 80281628 0027E588 7C 7F 02 14 */ add r3, r31, r0 +/* 8028162C 0027E58C 38 63 00 04 */ addi r3, r3, 4 +/* 80281630 0027E590 4B FF F9 4D */ bl sub_80280f7c +/* 80281634 0027E594 80 7F 00 00 */ lwz r3, 0(r31) +/* 80281638 0027E598 38 03 00 01 */ addi r0, r3, 1 +/* 8028163C 0027E59C 90 1F 00 00 */ stw r0, 0(r31) +/* 80281640 0027E5A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281644 0027E5A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281648 0027E5A8 7C 08 03 A6 */ mtlr r0 +/* 8028164C 0027E5AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80281650 0027E5B0 4E 80 00 20 */ blr + +.global __ct__13SPrimeStruct4FR12CInputStream +__ct__13SPrimeStruct4FR12CInputStream: +/* 80281654 0027E5B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281658 0027E5B8 7C 08 02 A6 */ mflr r0 +/* 8028165C 0027E5BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281660 0027E5C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80281664 0027E5C4 7C 9F 23 78 */ mr r31, r4 +/* 80281668 0027E5C8 93 C1 00 08 */ stw r30, 8(r1) +/* 8028166C 0027E5CC 7C 7E 1B 78 */ mr r30, r3 +/* 80281670 0027E5D0 4B E4 4E E1 */ bl __ct__9CBeamInfoFR12CInputStream +/* 80281674 0027E5D4 7F E3 FB 78 */ mr r3, r31 +/* 80281678 0027E5D8 48 0B D6 0D */ bl ReadLong__12CInputStreamFv +/* 8028167C 0027E5DC 90 7E 00 44 */ stw r3, 0x44(r30) +/* 80281680 0027E5E0 7F E4 FB 78 */ mr r4, r31 +/* 80281684 0027E5E4 38 7E 00 48 */ addi r3, r30, 0x48 +/* 80281688 0027E5E8 4B E4 1E D9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8028168C 0027E5EC 7F E4 FB 78 */ mr r4, r31 +/* 80281690 0027E5F0 38 7E 00 64 */ addi r3, r30, 0x64 +/* 80281694 0027E5F4 48 00 00 39 */ bl __ct__13SPrimeStruct5FR12CInputStream +/* 80281698 0027E5F8 7F E3 FB 78 */ mr r3, r31 +/* 8028169C 0027E5FC 48 0B D5 8D */ bl ReadFloat__12CInputStreamFv +/* 802816A0 0027E600 D0 3E 00 88 */ stfs f1, 0x88(r30) +/* 802816A4 0027E604 7F E4 FB 78 */ mr r4, r31 +/* 802816A8 0027E608 38 7E 00 8C */ addi r3, r30, 0x8c +/* 802816AC 0027E60C 4B E4 1E B5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 802816B0 0027E610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802816B4 0027E614 7F C3 F3 78 */ mr r3, r30 +/* 802816B8 0027E618 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802816BC 0027E61C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802816C0 0027E620 7C 08 03 A6 */ mtlr r0 +/* 802816C4 0027E624 38 21 00 10 */ addi r1, r1, 0x10 +/* 802816C8 0027E628 4E 80 00 20 */ blr + +.global __ct__13SPrimeStruct5FR12CInputStream +__ct__13SPrimeStruct5FR12CInputStream: +/* 802816CC 0027E62C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802816D0 0027E630 7C 08 02 A6 */ mflr r0 +/* 802816D4 0027E634 90 01 00 14 */ stw r0, 0x14(r1) +/* 802816D8 0027E638 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802816DC 0027E63C 7C 9F 23 78 */ mr r31, r4 +/* 802816E0 0027E640 93 C1 00 08 */ stw r30, 8(r1) +/* 802816E4 0027E644 7C 7E 1B 78 */ mr r30, r3 +/* 802816E8 0027E648 7F E3 FB 78 */ mr r3, r31 +/* 802816EC 0027E64C 48 0B D5 99 */ bl ReadLong__12CInputStreamFv +/* 802816F0 0027E650 90 7E 00 00 */ stw r3, 0(r30) +/* 802816F4 0027E654 7F E3 FB 78 */ mr r3, r31 +/* 802816F8 0027E658 48 0B D5 8D */ bl ReadLong__12CInputStreamFv +/* 802816FC 0027E65C 90 7E 00 04 */ stw r3, 4(r30) +/* 80281700 0027E660 7F E3 FB 78 */ mr r3, r31 +/* 80281704 0027E664 48 0B D5 81 */ bl ReadLong__12CInputStreamFv +/* 80281708 0027E668 90 7E 00 08 */ stw r3, 8(r30) +/* 8028170C 0027E66C 7F E3 FB 78 */ mr r3, r31 +/* 80281710 0027E670 48 0B D5 75 */ bl ReadLong__12CInputStreamFv +/* 80281714 0027E674 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80281718 0027E678 7F E3 FB 78 */ mr r3, r31 +/* 8028171C 0027E67C 48 0B D5 69 */ bl ReadLong__12CInputStreamFv +/* 80281720 0027E680 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80281724 0027E684 7F E3 FB 78 */ mr r3, r31 +/* 80281728 0027E688 48 0B D5 5D */ bl ReadLong__12CInputStreamFv +/* 8028172C 0027E68C 90 7E 00 14 */ stw r3, 0x14(r30) +/* 80281730 0027E690 7F E3 FB 78 */ mr r3, r31 +/* 80281734 0027E694 48 0B D5 51 */ bl ReadLong__12CInputStreamFv +/* 80281738 0027E698 90 7E 00 18 */ stw r3, 0x18(r30) +/* 8028173C 0027E69C 7F E3 FB 78 */ mr r3, r31 +/* 80281740 0027E6A0 48 0B D5 45 */ bl ReadLong__12CInputStreamFv +/* 80281744 0027E6A4 90 7E 00 1C */ stw r3, 0x1c(r30) +/* 80281748 0027E6A8 7F E3 FB 78 */ mr r3, r31 +/* 8028174C 0027E6AC 48 0B D5 39 */ bl ReadLong__12CInputStreamFv +/* 80281750 0027E6B0 90 7E 00 20 */ stw r3, 0x20(r30) +/* 80281754 0027E6B4 7F C3 F3 78 */ mr r3, r30 +/* 80281758 0027E6B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028175C 0027E6BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281760 0027E6C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80281764 0027E6C4 7C 08 03 A6 */ mtlr r0 +/* 80281768 0027E6C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028176C 0027E6CC 4E 80 00 20 */ blr + +.global sub_80281770 +sub_80281770: +/* 80281770 0027E6D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281774 0027E6D4 7C 08 02 A6 */ mflr r0 +/* 80281778 0027E6D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028177C 0027E6DC 48 0B D5 09 */ bl ReadLong__12CInputStreamFv +/* 80281780 0027E6E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281784 0027E6E4 7C 08 03 A6 */ mtlr r0 +/* 80281788 0027E6E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028178C 0027E6EC 4E 80 00 20 */ blr + +.global __ct__19SPrimeExoParametersFR12CInputStream +__ct__19SPrimeExoParametersFR12CInputStream: +/* 80281790 0027E6F0 94 21 F6 00 */ stwu r1, -0xa00(r1) +/* 80281794 0027E6F4 7C 08 02 A6 */ mflr r0 +/* 80281798 0027E6F8 90 01 0A 04 */ stw r0, 0xa04(r1) +/* 8028179C 0027E6FC 93 E1 09 FC */ stw r31, 0x9fc(r1) +/* 802817A0 0027E700 7C 9F 23 78 */ mr r31, r4 +/* 802817A4 0027E704 93 C1 09 F8 */ stw r30, 0x9f8(r1) +/* 802817A8 0027E708 7C 7E 1B 78 */ mr r30, r3 +/* 802817AC 0027E70C 7F E3 FB 78 */ mr r3, r31 +/* 802817B0 0027E710 4B FF FF C1 */ bl sub_80281770 +/* 802817B4 0027E714 3C 80 80 3D */ lis r4, lbl_803D58D8@ha +/* 802817B8 0027E718 90 7E 00 00 */ stw r3, 0(r30) +/* 802817BC 0027E71C 38 A4 58 D8 */ addi r5, r4, lbl_803D58D8@l +/* 802817C0 0027E720 7F E4 FB 78 */ mr r4, r31 +/* 802817C4 0027E724 38 61 00 08 */ addi r3, r1, 8 +/* 802817C8 0027E728 38 A5 00 20 */ addi r5, r5, 0x20 +/* 802817CC 0027E72C 4B E8 40 5D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 802817D0 0027E730 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802817D4 0027E734 7F E4 FB 78 */ mr r4, r31 +/* 802817D8 0027E738 38 7E 00 04 */ addi r3, r30, 4 +/* 802817DC 0027E73C 4B E8 40 9D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 802817E0 0027E740 7F E4 FB 78 */ mr r4, r31 +/* 802817E4 0027E744 38 61 00 10 */ addi r3, r1, 0x10 +/* 802817E8 0027E748 4B E5 85 8D */ bl LoadActorParameters__FR12CInputStream +/* 802817EC 0027E74C 38 7E 01 3C */ addi r3, r30, 0x13c +/* 802817F0 0027E750 38 81 00 10 */ addi r4, r1, 0x10 +/* 802817F4 0027E754 4B E4 3E 29 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 802817F8 0027E758 38 61 00 10 */ addi r3, r1, 0x10 +/* 802817FC 0027E75C 38 80 FF FF */ li r4, -1 +/* 80281800 0027E760 4B E8 4E 09 */ bl __dt__16CActorParametersFv +/* 80281804 0027E764 7F E3 FB 78 */ mr r3, r31 +/* 80281808 0027E768 48 0B D4 7D */ bl ReadLong__12CInputStreamFv +/* 8028180C 0027E76C 38 03 FF FF */ addi r0, r3, -1 +/* 80281810 0027E770 7F E4 FB 78 */ mr r4, r31 +/* 80281814 0027E774 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 80281818 0027E778 38 61 04 9C */ addi r3, r1, 0x49c +/* 8028181C 0027E77C 4B FF F8 DD */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281820 0027E780 38 7E 01 A8 */ addi r3, r30, 0x1a8 +/* 80281824 0027E784 38 81 04 9C */ addi r4, r1, 0x49c +/* 80281828 0027E788 4B D8 95 81 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8028182C 0027E78C 34 81 05 1C */ addic. r4, r1, 0x51c +/* 80281830 0027E790 41 82 00 10 */ beq lbl_80281840 +/* 80281834 0027E794 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281838 0027E798 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8028183C 0027E79C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281840: +/* 80281840 0027E7A0 34 81 04 E0 */ addic. r4, r1, 0x4e0 +/* 80281844 0027E7A4 41 82 00 10 */ beq lbl_80281854 +/* 80281848 0027E7A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8028184C 0027E7AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281850 0027E7B0 90 04 00 00 */ stw r0, 0(r4) +lbl_80281854: +/* 80281854 0027E7B4 34 81 04 A4 */ addic. r4, r1, 0x4a4 +/* 80281858 0027E7B8 41 82 00 10 */ beq lbl_80281868 +/* 8028185C 0027E7BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281860 0027E7C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281864 0027E7C4 90 04 00 00 */ stw r0, 0(r4) +lbl_80281868: +/* 80281868 0027E7C8 7F E4 FB 78 */ mr r4, r31 +/* 8028186C 0027E7CC 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 80281870 0027E7D0 4B FF F8 89 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281874 0027E7D4 38 7E 02 7C */ addi r3, r30, 0x27c +/* 80281878 0027E7D8 38 81 03 C8 */ addi r4, r1, 0x3c8 +/* 8028187C 0027E7DC 4B D8 95 2D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80281880 0027E7E0 34 81 04 48 */ addic. r4, r1, 0x448 +/* 80281884 0027E7E4 41 82 00 10 */ beq lbl_80281894 +/* 80281888 0027E7E8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8028188C 0027E7EC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281890 0027E7F0 90 04 00 00 */ stw r0, 0(r4) +lbl_80281894: +/* 80281894 0027E7F4 34 81 04 0C */ addic. r4, r1, 0x40c +/* 80281898 0027E7F8 41 82 00 10 */ beq lbl_802818A8 +/* 8028189C 0027E7FC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818A0 0027E800 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818A4 0027E804 90 04 00 00 */ stw r0, 0(r4) +lbl_802818A8: +/* 802818A8 0027E808 34 81 03 D0 */ addic. r4, r1, 0x3d0 +/* 802818AC 0027E80C 41 82 00 10 */ beq lbl_802818BC +/* 802818B0 0027E810 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818B4 0027E814 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818B8 0027E818 90 04 00 00 */ stw r0, 0(r4) +lbl_802818BC: +/* 802818BC 0027E81C 7F E4 FB 78 */ mr r4, r31 +/* 802818C0 0027E820 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 802818C4 0027E824 4B FF F8 35 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 802818C8 0027E828 38 7E 03 50 */ addi r3, r30, 0x350 +/* 802818CC 0027E82C 38 81 02 F4 */ addi r4, r1, 0x2f4 +/* 802818D0 0027E830 4B D8 94 D9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 802818D4 0027E834 34 81 03 74 */ addic. r4, r1, 0x374 +/* 802818D8 0027E838 41 82 00 10 */ beq lbl_802818E8 +/* 802818DC 0027E83C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818E0 0027E840 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818E4 0027E844 90 04 00 00 */ stw r0, 0(r4) +lbl_802818E8: +/* 802818E8 0027E848 34 81 03 38 */ addic. r4, r1, 0x338 +/* 802818EC 0027E84C 41 82 00 10 */ beq lbl_802818FC +/* 802818F0 0027E850 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818F4 0027E854 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818F8 0027E858 90 04 00 00 */ stw r0, 0(r4) +lbl_802818FC: +/* 802818FC 0027E85C 34 81 02 FC */ addic. r4, r1, 0x2fc +/* 80281900 0027E860 41 82 00 10 */ beq lbl_80281910 +/* 80281904 0027E864 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281908 0027E868 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8028190C 0027E86C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281910: +/* 80281910 0027E870 7F E4 FB 78 */ mr r4, r31 +/* 80281914 0027E874 38 7E 04 24 */ addi r3, r30, 0x424 +/* 80281918 0027E878 48 00 03 91 */ bl __ct__14SPrimeStruct2BFR12CInputStream +/* 8028191C 0027E87C 7F E3 FB 78 */ mr r3, r31 +/* 80281920 0027E880 48 0B D3 65 */ bl ReadLong__12CInputStreamFv +/* 80281924 0027E884 90 7E 04 60 */ stw r3, 0x460(r30) +/* 80281928 0027E888 7F E4 FB 78 */ mr r4, r31 +/* 8028192C 0027E88C 38 61 07 54 */ addi r3, r1, 0x754 +/* 80281930 0027E890 4B FF FC 11 */ bl LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream +/* 80281934 0027E894 38 7E 04 64 */ addi r3, r30, 0x464 +/* 80281938 0027E898 38 81 07 54 */ addi r4, r1, 0x754 +/* 8028193C 0027E89C 4B FF F5 89 */ bl sub_80280ec4 +/* 80281940 0027E8A0 80 A1 07 54 */ lwz r5, 0x754(r1) +/* 80281944 0027E8A4 38 60 00 00 */ li r3, 0 +/* 80281948 0027E8A8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028194C 0027E8AC 40 81 00 40 */ ble lbl_8028198C +/* 80281950 0027E8B0 2C 05 00 08 */ cmpwi r5, 8 +/* 80281954 0027E8B4 38 85 FF F8 */ addi r4, r5, -8 +/* 80281958 0027E8B8 40 81 00 20 */ ble lbl_80281978 +/* 8028195C 0027E8BC 38 04 00 07 */ addi r0, r4, 7 +/* 80281960 0027E8C0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80281964 0027E8C4 7C 09 03 A6 */ mtctr r0 +/* 80281968 0027E8C8 2C 04 00 00 */ cmpwi r4, 0 +/* 8028196C 0027E8CC 40 81 00 0C */ ble lbl_80281978 +lbl_80281970: +/* 80281970 0027E8D0 38 63 00 08 */ addi r3, r3, 8 +/* 80281974 0027E8D4 42 00 FF FC */ bdnz lbl_80281970 +lbl_80281978: +/* 80281978 0027E8D8 7C 03 28 50 */ subf r0, r3, r5 +/* 8028197C 0027E8DC 7C 09 03 A6 */ mtctr r0 +/* 80281980 0027E8E0 7C 03 28 00 */ cmpw r3, r5 +/* 80281984 0027E8E4 40 80 00 08 */ bge lbl_8028198C +lbl_80281988: +/* 80281988 0027E8E8 42 00 00 00 */ bdnz lbl_80281988 +lbl_8028198C: +/* 8028198C 0027E8EC 38 00 00 00 */ li r0, 0 +/* 80281990 0027E8F0 7F E3 FB 78 */ mr r3, r31 +/* 80281994 0027E8F4 90 01 07 54 */ stw r0, 0x754(r1) +/* 80281998 0027E8F8 48 0B D2 ED */ bl ReadLong__12CInputStreamFv +/* 8028199C 0027E8FC 90 7E 07 08 */ stw r3, 0x708(r30) +/* 802819A0 0027E900 7F E4 FB 78 */ mr r4, r31 +/* 802819A4 0027E904 38 7E 07 0C */ addi r3, r30, 0x70c +/* 802819A8 0027E908 4B E4 1B B9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 802819AC 0027E90C 7F E4 FB 78 */ mr r4, r31 +/* 802819B0 0027E910 38 61 02 20 */ addi r3, r1, 0x220 +/* 802819B4 0027E914 4B FF F7 45 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 802819B8 0027E918 38 7E 07 28 */ addi r3, r30, 0x728 +/* 802819BC 0027E91C 38 81 02 20 */ addi r4, r1, 0x220 +/* 802819C0 0027E920 4B D8 93 E9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 802819C4 0027E924 34 81 02 A0 */ addic. r4, r1, 0x2a0 +/* 802819C8 0027E928 41 82 00 10 */ beq lbl_802819D8 +/* 802819CC 0027E92C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802819D0 0027E930 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802819D4 0027E934 90 04 00 00 */ stw r0, 0(r4) +lbl_802819D8: +/* 802819D8 0027E938 34 81 02 64 */ addic. r4, r1, 0x264 +/* 802819DC 0027E93C 41 82 00 10 */ beq lbl_802819EC +/* 802819E0 0027E940 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802819E4 0027E944 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802819E8 0027E948 90 04 00 00 */ stw r0, 0(r4) +lbl_802819EC: +/* 802819EC 0027E94C 34 81 02 28 */ addic. r4, r1, 0x228 +/* 802819F0 0027E950 41 82 00 10 */ beq lbl_80281A00 +/* 802819F4 0027E954 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802819F8 0027E958 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802819FC 0027E95C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A00: +/* 80281A00 0027E960 7F E3 FB 78 */ mr r3, r31 +/* 80281A04 0027E964 48 0B D2 81 */ bl ReadLong__12CInputStreamFv +/* 80281A08 0027E968 90 7E 07 FC */ stw r3, 0x7fc(r30) +/* 80281A0C 0027E96C 7F E4 FB 78 */ mr r4, r31 +/* 80281A10 0027E970 38 7E 08 00 */ addi r3, r30, 0x800 +/* 80281A14 0027E974 4B E4 1B 4D */ bl __ct__11CDamageInfoFR12CInputStream +/* 80281A18 0027E978 7F E4 FB 78 */ mr r4, r31 +/* 80281A1C 0027E97C 38 61 01 4C */ addi r3, r1, 0x14c +/* 80281A20 0027E980 4B FF F6 D9 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281A24 0027E984 38 7E 08 1C */ addi r3, r30, 0x81c +/* 80281A28 0027E988 38 81 01 4C */ addi r4, r1, 0x14c +/* 80281A2C 0027E98C 4B D8 93 7D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80281A30 0027E990 34 81 01 CC */ addic. r4, r1, 0x1cc +/* 80281A34 0027E994 41 82 00 10 */ beq lbl_80281A44 +/* 80281A38 0027E998 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281A3C 0027E99C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281A40 0027E9A0 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A44: +/* 80281A44 0027E9A4 34 81 01 90 */ addic. r4, r1, 0x190 +/* 80281A48 0027E9A8 41 82 00 10 */ beq lbl_80281A58 +/* 80281A4C 0027E9AC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281A50 0027E9B0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281A54 0027E9B4 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A58: +/* 80281A58 0027E9B8 34 81 01 54 */ addic. r4, r1, 0x154 +/* 80281A5C 0027E9BC 41 82 00 10 */ beq lbl_80281A6C +/* 80281A60 0027E9C0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281A64 0027E9C4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281A68 0027E9C8 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A6C: +/* 80281A6C 0027E9CC 7F E4 FB 78 */ mr r4, r31 +/* 80281A70 0027E9D0 38 7E 08 F0 */ addi r3, r30, 0x8f0 +/* 80281A74 0027E9D4 48 01 E9 41 */ bl __ct__20SPrimeProjectileInfoFR12CInputStream +/* 80281A78 0027E9D8 7F E4 FB 78 */ mr r4, r31 +/* 80281A7C 0027E9DC 38 7E 09 2C */ addi r3, r30, 0x92c +/* 80281A80 0027E9E0 4B E4 1A E1 */ bl __ct__11CDamageInfoFR12CInputStream +/* 80281A84 0027E9E4 7F E4 FB 78 */ mr r4, r31 +/* 80281A88 0027E9E8 38 61 00 78 */ addi r3, r1, 0x78 +/* 80281A8C 0027E9EC 4B FF F6 6D */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281A90 0027E9F0 38 7E 09 48 */ addi r3, r30, 0x948 +/* 80281A94 0027E9F4 38 81 00 78 */ addi r4, r1, 0x78 +/* 80281A98 0027E9F8 4B D8 93 11 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80281A9C 0027E9FC 34 81 00 F8 */ addic. r4, r1, 0xf8 +/* 80281AA0 0027EA00 41 82 00 10 */ beq lbl_80281AB0 +/* 80281AA4 0027EA04 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281AA8 0027EA08 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281AAC 0027EA0C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281AB0: +/* 80281AB0 0027EA10 34 81 00 BC */ addic. r4, r1, 0xbc +/* 80281AB4 0027EA14 41 82 00 10 */ beq lbl_80281AC4 +/* 80281AB8 0027EA18 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281ABC 0027EA1C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281AC0 0027EA20 90 04 00 00 */ stw r0, 0(r4) +lbl_80281AC4: +/* 80281AC4 0027EA24 34 81 00 80 */ addic. r4, r1, 0x80 +/* 80281AC8 0027EA28 41 82 00 10 */ beq lbl_80281AD8 +/* 80281ACC 0027EA2C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281AD0 0027EA30 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281AD4 0027EA34 90 04 00 00 */ stw r0, 0(r4) +lbl_80281AD8: +/* 80281AD8 0027EA38 7F E3 FB 78 */ mr r3, r31 +/* 80281ADC 0027EA3C 48 0B D1 A9 */ bl ReadLong__12CInputStreamFv +/* 80281AE0 0027EA40 90 7E 0A 1C */ stw r3, 0xa1c(r30) +/* 80281AE4 0027EA44 7F E3 FB 78 */ mr r3, r31 +/* 80281AE8 0027EA48 48 0B D1 9D */ bl ReadLong__12CInputStreamFv +/* 80281AEC 0027EA4C 90 7E 0A 20 */ stw r3, 0xa20(r30) +/* 80281AF0 0027EA50 7F E3 FB 78 */ mr r3, r31 +/* 80281AF4 0027EA54 48 0B D1 91 */ bl ReadLong__12CInputStreamFv +/* 80281AF8 0027EA58 90 7E 0A 24 */ stw r3, 0xa24(r30) +/* 80281AFC 0027EA5C 7F E3 FB 78 */ mr r3, r31 +/* 80281B00 0027EA60 48 0B D1 85 */ bl ReadLong__12CInputStreamFv +/* 80281B04 0027EA64 90 7E 0A 28 */ stw r3, 0xa28(r30) +/* 80281B08 0027EA68 7F E4 FB 78 */ mr r4, r31 +/* 80281B0C 0027EA6C 38 61 05 70 */ addi r3, r1, 0x570 +/* 80281B10 0027EA70 4B FF F7 49 */ bl LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream +/* 80281B14 0027EA74 80 01 05 70 */ lwz r0, 0x570(r1) +/* 80281B18 0027EA78 38 9E 0A 30 */ addi r4, r30, 0xa30 +/* 80281B1C 0027EA7C 38 61 05 74 */ addi r3, r1, 0x574 +/* 80281B20 0027EA80 90 1E 0A 2C */ stw r0, 0xa2c(r30) +/* 80281B24 0027EA84 80 1E 0A 2C */ lwz r0, 0xa2c(r30) +/* 80281B28 0027EA88 7C 09 03 A6 */ mtctr r0 +/* 80281B2C 0027EA8C 2C 00 00 00 */ cmpwi r0, 0 +/* 80281B30 0027EA90 40 81 01 08 */ ble lbl_80281C38 +lbl_80281B34: +/* 80281B34 0027EA94 28 04 00 00 */ cmplwi r4, 0 +/* 80281B38 0027EA98 41 82 00 F4 */ beq lbl_80281C2C +/* 80281B3C 0027EA9C 80 03 00 00 */ lwz r0, 0(r3) +/* 80281B40 0027EAA0 90 04 00 00 */ stw r0, 0(r4) +/* 80281B44 0027EAA4 80 A3 00 04 */ lwz r5, 4(r3) +/* 80281B48 0027EAA8 80 03 00 08 */ lwz r0, 8(r3) +/* 80281B4C 0027EAAC 90 A4 00 04 */ stw r5, 4(r4) +/* 80281B50 0027EAB0 90 04 00 08 */ stw r0, 8(r4) +/* 80281B54 0027EAB4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 80281B58 0027EAB8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80281B5C 0027EABC 90 A4 00 0C */ stw r5, 0xc(r4) +/* 80281B60 0027EAC0 90 04 00 10 */ stw r0, 0x10(r4) +/* 80281B64 0027EAC4 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80281B68 0027EAC8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80281B6C 0027EACC 90 A4 00 14 */ stw r5, 0x14(r4) +/* 80281B70 0027EAD0 90 04 00 18 */ stw r0, 0x18(r4) +/* 80281B74 0027EAD4 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 80281B78 0027EAD8 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80281B7C 0027EADC 90 A4 00 1C */ stw r5, 0x1c(r4) +/* 80281B80 0027EAE0 90 04 00 20 */ stw r0, 0x20(r4) +/* 80281B84 0027EAE4 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 80281B88 0027EAE8 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80281B8C 0027EAEC 90 A4 00 24 */ stw r5, 0x24(r4) +/* 80281B90 0027EAF0 90 04 00 28 */ stw r0, 0x28(r4) +/* 80281B94 0027EAF4 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 80281B98 0027EAF8 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80281B9C 0027EAFC 90 A4 00 2C */ stw r5, 0x2c(r4) +/* 80281BA0 0027EB00 90 04 00 30 */ stw r0, 0x30(r4) +/* 80281BA4 0027EB04 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 80281BA8 0027EB08 80 03 00 38 */ lwz r0, 0x38(r3) +/* 80281BAC 0027EB0C 90 A4 00 34 */ stw r5, 0x34(r4) +/* 80281BB0 0027EB10 90 04 00 38 */ stw r0, 0x38(r4) +/* 80281BB4 0027EB14 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80281BB8 0027EB18 90 04 00 3C */ stw r0, 0x3c(r4) +/* 80281BBC 0027EB1C 80 A3 00 40 */ lwz r5, 0x40(r3) +/* 80281BC0 0027EB20 80 03 00 44 */ lwz r0, 0x44(r3) +/* 80281BC4 0027EB24 90 A4 00 40 */ stw r5, 0x40(r4) +/* 80281BC8 0027EB28 90 04 00 44 */ stw r0, 0x44(r4) +/* 80281BCC 0027EB2C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 80281BD0 0027EB30 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 80281BD4 0027EB34 90 A4 00 48 */ stw r5, 0x48(r4) +/* 80281BD8 0027EB38 90 04 00 4C */ stw r0, 0x4c(r4) +/* 80281BDC 0027EB3C 80 A3 00 50 */ lwz r5, 0x50(r3) +/* 80281BE0 0027EB40 80 03 00 54 */ lwz r0, 0x54(r3) +/* 80281BE4 0027EB44 90 A4 00 50 */ stw r5, 0x50(r4) +/* 80281BE8 0027EB48 90 04 00 54 */ stw r0, 0x54(r4) +/* 80281BEC 0027EB4C 80 A3 00 58 */ lwz r5, 0x58(r3) +/* 80281BF0 0027EB50 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80281BF4 0027EB54 90 A4 00 58 */ stw r5, 0x58(r4) +/* 80281BF8 0027EB58 90 04 00 5C */ stw r0, 0x5c(r4) +/* 80281BFC 0027EB5C 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80281C00 0027EB60 90 04 00 60 */ stw r0, 0x60(r4) +/* 80281C04 0027EB64 80 03 00 64 */ lwz r0, 0x64(r3) +/* 80281C08 0027EB68 90 04 00 64 */ stw r0, 0x64(r4) +/* 80281C0C 0027EB6C 80 03 00 68 */ lwz r0, 0x68(r3) +/* 80281C10 0027EB70 90 04 00 68 */ stw r0, 0x68(r4) +/* 80281C14 0027EB74 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 80281C18 0027EB78 90 04 00 6C */ stw r0, 0x6c(r4) +/* 80281C1C 0027EB7C 80 A3 00 70 */ lwz r5, 0x70(r3) +/* 80281C20 0027EB80 80 03 00 74 */ lwz r0, 0x74(r3) +/* 80281C24 0027EB84 90 A4 00 70 */ stw r5, 0x70(r4) +/* 80281C28 0027EB88 90 04 00 74 */ stw r0, 0x74(r4) +lbl_80281C2C: +/* 80281C2C 0027EB8C 38 84 00 78 */ addi r4, r4, 0x78 +/* 80281C30 0027EB90 38 63 00 78 */ addi r3, r3, 0x78 +/* 80281C34 0027EB94 42 00 FF 00 */ bdnz lbl_80281B34 +lbl_80281C38: +/* 80281C38 0027EB98 80 A1 05 70 */ lwz r5, 0x570(r1) +/* 80281C3C 0027EB9C 38 60 00 00 */ li r3, 0 +/* 80281C40 0027EBA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80281C44 0027EBA4 40 81 00 40 */ ble lbl_80281C84 +/* 80281C48 0027EBA8 2C 05 00 08 */ cmpwi r5, 8 +/* 80281C4C 0027EBAC 38 85 FF F8 */ addi r4, r5, -8 +/* 80281C50 0027EBB0 40 81 00 20 */ ble lbl_80281C70 +/* 80281C54 0027EBB4 38 04 00 07 */ addi r0, r4, 7 +/* 80281C58 0027EBB8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80281C5C 0027EBBC 7C 09 03 A6 */ mtctr r0 +/* 80281C60 0027EBC0 2C 04 00 00 */ cmpwi r4, 0 +/* 80281C64 0027EBC4 40 81 00 0C */ ble lbl_80281C70 +lbl_80281C68: +/* 80281C68 0027EBC8 38 63 00 08 */ addi r3, r3, 8 +/* 80281C6C 0027EBCC 42 00 FF FC */ bdnz lbl_80281C68 +lbl_80281C70: +/* 80281C70 0027EBD0 7C 03 28 50 */ subf r0, r3, r5 +/* 80281C74 0027EBD4 7C 09 03 A6 */ mtctr r0 +/* 80281C78 0027EBD8 7C 03 28 00 */ cmpw r3, r5 +/* 80281C7C 0027EBDC 40 80 00 08 */ bge lbl_80281C84 +lbl_80281C80: +/* 80281C80 0027EBE0 42 00 00 00 */ bdnz lbl_80281C80 +lbl_80281C84: +/* 80281C84 0027EBE4 38 00 00 00 */ li r0, 0 +/* 80281C88 0027EBE8 7F C3 F3 78 */ mr r3, r30 +/* 80281C8C 0027EBEC 90 01 05 70 */ stw r0, 0x570(r1) +/* 80281C90 0027EBF0 83 E1 09 FC */ lwz r31, 0x9fc(r1) +/* 80281C94 0027EBF4 83 C1 09 F8 */ lwz r30, 0x9f8(r1) +/* 80281C98 0027EBF8 80 01 0A 04 */ lwz r0, 0xa04(r1) +/* 80281C9C 0027EBFC 7C 08 03 A6 */ mtlr r0 +/* 80281CA0 0027EC00 38 21 0A 00 */ addi r1, r1, 0xa00 +/* 80281CA4 0027EC04 4E 80 00 20 */ blr + +.global __ct__14SPrimeStruct2BFR12CInputStream +__ct__14SPrimeStruct2BFR12CInputStream: +/* 80281CA8 0027EC08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281CAC 0027EC0C 7C 08 02 A6 */ mflr r0 +/* 80281CB0 0027EC10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281CB4 0027EC14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80281CB8 0027EC18 7C 9F 23 78 */ mr r31, r4 +/* 80281CBC 0027EC1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80281CC0 0027EC20 7C 7E 1B 78 */ mr r30, r3 +/* 80281CC4 0027EC24 7F E3 FB 78 */ mr r3, r31 +/* 80281CC8 0027EC28 48 0B CF BD */ bl ReadLong__12CInputStreamFv +/* 80281CCC 0027EC2C 90 7E 00 00 */ stw r3, 0(r30) +/* 80281CD0 0027EC30 7F E3 FB 78 */ mr r3, r31 +/* 80281CD4 0027EC34 48 0B CF B1 */ bl ReadLong__12CInputStreamFv +/* 80281CD8 0027EC38 90 7E 00 04 */ stw r3, 4(r30) +/* 80281CDC 0027EC3C 7F E3 FB 78 */ mr r3, r31 +/* 80281CE0 0027EC40 48 0B CF A5 */ bl ReadLong__12CInputStreamFv +/* 80281CE4 0027EC44 90 7E 00 08 */ stw r3, 8(r30) +/* 80281CE8 0027EC48 7F E3 FB 78 */ mr r3, r31 +/* 80281CEC 0027EC4C 48 0B CF 99 */ bl ReadLong__12CInputStreamFv +/* 80281CF0 0027EC50 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80281CF4 0027EC54 7F E4 FB 78 */ mr r4, r31 +/* 80281CF8 0027EC58 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80281CFC 0027EC5C 4B E4 18 65 */ bl __ct__11CDamageInfoFR12CInputStream +/* 80281D00 0027EC60 7F E3 FB 78 */ mr r3, r31 +/* 80281D04 0027EC64 48 0B CF 25 */ bl ReadFloat__12CInputStreamFv +/* 80281D08 0027EC68 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 80281D0C 0027EC6C 7F E3 FB 78 */ mr r3, r31 +/* 80281D10 0027EC70 48 0B CF 19 */ bl ReadFloat__12CInputStreamFv +/* 80281D14 0027EC74 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 80281D18 0027EC78 7F E3 FB 78 */ mr r3, r31 +/* 80281D1C 0027EC7C 48 0B CF 69 */ bl ReadLong__12CInputStreamFv +/* 80281D20 0027EC80 90 7E 00 34 */ stw r3, 0x34(r30) +/* 80281D24 0027EC84 7F E3 FB 78 */ mr r3, r31 +/* 80281D28 0027EC88 48 0B CF 5D */ bl ReadLong__12CInputStreamFv +/* 80281D2C 0027EC8C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80281D30 0027EC90 48 06 6C 81 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80281D34 0027EC94 B0 7E 00 38 */ sth r3, 0x38(r30) +/* 80281D38 0027EC98 7F E3 FB 78 */ mr r3, r31 +/* 80281D3C 0027EC9C 48 0B CF 49 */ bl ReadLong__12CInputStreamFv +/* 80281D40 0027ECA0 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80281D44 0027ECA4 48 06 6C 6D */ bl TranslateSFXID__11CSfxManagerFUs +/* 80281D48 0027ECA8 B0 7E 00 3A */ sth r3, 0x3a(r30) +/* 80281D4C 0027ECAC 7F C3 F3 78 */ mr r3, r30 +/* 80281D50 0027ECB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281D54 0027ECB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281D58 0027ECB8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80281D5C 0027ECBC 7C 08 03 A6 */ mtlr r0 +/* 80281D60 0027ECC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80281D64 0027ECC4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/COmegaPirate.s b/asm/Kyoto_CWD/Enemies/COmegaPirate.s new file mode 100644 index 00000000..459dd842 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/COmegaPirate.s @@ -0,0 +1,7984 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__Q212COmegaPirate6CFlashFv +__dt__Q212COmegaPirate6CFlashFv: +/* 8028B490 002883F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028B494 002883F4 7C 08 02 A6 */ mflr r0 +/* 8028B498 002883F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B49C 002883FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028B4A0 00288400 7C 9F 23 78 */ mr r31, r4 +/* 8028B4A4 00288404 93 C1 00 08 */ stw r30, 8(r1) +/* 8028B4A8 00288408 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028B4AC 0028840C 41 82 00 48 */ beq lbl_8028B4F4 +/* 8028B4B0 00288410 3C 60 80 3F */ lis r3, lbl_803EB6C8@ha +/* 8028B4B4 00288414 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8028B4B8 00288418 38 03 B6 C8 */ addi r0, r3, lbl_803EB6C8@l +/* 8028B4BC 0028841C 90 1E 00 00 */ stw r0, 0(r30) +/* 8028B4C0 00288420 41 82 00 18 */ beq lbl_8028B4D8 +/* 8028B4C4 00288424 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8028B4C8 00288428 41 82 00 10 */ beq lbl_8028B4D8 +/* 8028B4CC 0028842C 38 7E 00 E8 */ addi r3, r30, 0xe8 +/* 8028B4D0 00288430 38 80 00 00 */ li r4, 0 +/* 8028B4D4 00288434 48 0B 59 6D */ bl __dt__6CTokenFv +lbl_8028B4D8: +/* 8028B4D8 00288438 7F C3 F3 78 */ mr r3, r30 +/* 8028B4DC 0028843C 38 80 00 00 */ li r4, 0 +/* 8028B4E0 00288440 4B DC A2 11 */ bl __dt__6CActorFv +/* 8028B4E4 00288444 7F E0 07 35 */ extsh. r0, r31 +/* 8028B4E8 00288448 40 81 00 0C */ ble lbl_8028B4F4 +/* 8028B4EC 0028844C 7F C3 F3 78 */ mr r3, r30 +/* 8028B4F0 00288450 48 08 A4 41 */ bl Free__7CMemoryFPCv +lbl_8028B4F4: +/* 8028B4F4 00288454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028B4F8 00288458 7F C3 F3 78 */ mr r3, r30 +/* 8028B4FC 0028845C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028B500 00288460 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028B504 00288464 7C 08 03 A6 */ mtlr r0 +/* 8028B508 00288468 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028B50C 0028846C 4E 80 00 20 */ blr + +.global sub_8028b510 +sub_8028b510: +/* 8028B510 00288470 38 60 00 00 */ li r3, 0 +/* 8028B514 00288474 4E 80 00 20 */ blr + +.global sub_8028b518 +sub_8028b518: +/* 8028B518 00288478 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8028B51C 0028847C 7C 08 02 A6 */ mflr r0 +/* 8028B520 00288480 90 01 00 54 */ stw r0, 0x54(r1) +/* 8028B524 00288484 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8028B528 00288488 7C 7E 1B 78 */ mr r30, r3 +/* 8028B52C 0028848C 7C 9F 23 78 */ mr r31, r4 +/* 8028B530 00288490 4B DC 9D 15 */ bl RemoveEmitter__6CActorFv +/* 8028B534 00288494 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8028B538 00288498 38 9E 0A 4C */ addi r4, r30, 0xa4c +/* 8028B53C 0028849C 48 08 76 05 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8028B540 002884A0 88 7E 00 E4 */ lbz r3, 0xe4(r30) +/* 8028B544 002884A4 39 00 00 01 */ li r8, 1 +/* 8028B548 002884A8 51 03 26 F6 */ rlwimi r3, r8, 4, 0x1b, 0x1b +/* 8028B54C 002884AC 38 00 00 00 */ li r0, 0 +/* 8028B550 002884B0 98 7E 00 E4 */ stb r3, 0xe4(r30) +/* 8028B554 002884B4 7F C3 F3 78 */ mr r3, r30 +/* 8028B558 002884B8 7F E5 FB 78 */ mr r5, r31 +/* 8028B55C 002884BC 38 80 00 14 */ li r4, 0x14 +/* 8028B560 002884C0 88 FE 00 E4 */ lbz r7, 0xe4(r30) +/* 8028B564 002884C4 51 07 1F 38 */ rlwimi r7, r8, 3, 0x1c, 0x1c +/* 8028B568 002884C8 38 C0 FF FF */ li r6, -1 +/* 8028B56C 002884CC 98 FE 00 E4 */ stb r7, 0xe4(r30) +/* 8028B570 002884D0 88 FE 00 E4 */ lbz r7, 0xe4(r30) +/* 8028B574 002884D4 51 07 17 7A */ rlwimi r7, r8, 2, 0x1d, 0x1d +/* 8028B578 002884D8 98 FE 00 E4 */ stb r7, 0xe4(r30) +/* 8028B57C 002884DC 99 1E 09 A1 */ stb r8, 0x9a1(r30) +/* 8028B580 002884E0 98 1E 0A 4A */ stb r0, 0xa4a(r30) +/* 8028B584 002884E4 4B DC 5B 3D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028B588 002884E8 7F C3 F3 78 */ mr r3, r30 +/* 8028B58C 002884EC 7F E5 FB 78 */ mr r5, r31 +/* 8028B590 002884F0 38 80 00 0E */ li r4, 0xe +/* 8028B594 002884F4 38 C0 FF FF */ li r6, -1 +/* 8028B598 002884F8 4B DC 5B 29 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028B59C 002884FC 7F C3 F3 78 */ mr r3, r30 +/* 8028B5A0 00288500 7F E5 FB 78 */ mr r5, r31 +/* 8028B5A4 00288504 38 80 00 06 */ li r4, 6 +/* 8028B5A8 00288508 38 C0 FF FF */ li r6, -1 +/* 8028B5AC 0028850C 4B DC 5B 15 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028B5B0 00288510 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028B5B4 00288514 3B 60 00 00 */ li r27, 0 +/* 8028B5B8 00288518 3B A0 00 00 */ li r29, 0 +/* 8028B5BC 0028851C 48 00 00 7C */ b lbl_8028B638 +lbl_8028B5C0: +/* 8028B5C0 00288520 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028B5C4 00288524 7F E3 FB 78 */ mr r3, r31 +/* 8028B5C8 00288528 38 81 00 1C */ addi r4, r1, 0x1c +/* 8028B5CC 0028852C 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028B5D0 00288530 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8028B5D4 00288534 4B DC 0F A1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028B5D8 00288538 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8028B5DC 0028853C 41 82 00 54 */ beq lbl_8028B630 +/* 8028B5E0 00288540 81 83 00 00 */ lwz r12, 0(r3) +/* 8028B5E4 00288544 38 80 00 00 */ li r4, 0 +/* 8028B5E8 00288548 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B5EC 0028854C 7D 89 03 A6 */ mtctr r12 +/* 8028B5F0 00288550 4E 80 04 21 */ bctrl +/* 8028B5F4 00288554 7F 43 D3 78 */ mr r3, r26 +/* 8028B5F8 00288558 7F E6 FB 78 */ mr r6, r31 +/* 8028B5FC 0028855C 38 80 00 29 */ li r4, 0x29 +/* 8028B600 00288560 38 A0 00 28 */ li r5, 0x28 +/* 8028B604 00288564 4B DC 88 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8028B608 00288568 88 1A 00 E7 */ lbz r0, 0xe7(r26) +/* 8028B60C 0028856C 38 60 00 00 */ li r3, 0 +/* 8028B610 00288570 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8028B614 00288574 7F E3 FB 78 */ mr r3, r31 +/* 8028B618 00288578 98 1A 00 E7 */ stb r0, 0xe7(r26) +/* 8028B61C 0028857C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8028B620 00288580 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028B624 00288584 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028B628 00288588 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8028B62C 0028858C 4B DC 0C 41 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8028B630: +/* 8028B630 00288590 3B 7B 00 01 */ addi r27, r27, 1 +/* 8028B634 00288594 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028B638: +/* 8028B638 00288598 7C 1B E0 40 */ cmplw r27, r28 +/* 8028B63C 0028859C 41 80 FF 84 */ blt lbl_8028B5C0 +/* 8028B640 002885A0 80 1E 09 E0 */ lwz r0, 0x9e0(r30) +/* 8028B644 002885A4 83 9E 09 E8 */ lwz r28, 0x9e8(r30) +/* 8028B648 002885A8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8028B64C 002885AC 93 81 00 24 */ stw r28, 0x24(r1) +/* 8028B650 002885B0 7F BC 02 14 */ add r29, r28, r0 +/* 8028B654 002885B4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8028B658 002885B8 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 8028B65C 002885BC 93 A1 00 28 */ stw r29, 0x28(r1) +/* 8028B660 002885C0 48 00 00 20 */ b lbl_8028B680 +lbl_8028B664: +/* 8028B664 002885C4 28 1C 00 00 */ cmplwi r28, 0 +/* 8028B668 002885C8 41 82 00 14 */ beq lbl_8028B67C +/* 8028B66C 002885CC 34 1C 00 04 */ addic. r0, r28, 4 +/* 8028B670 002885D0 41 82 00 0C */ beq lbl_8028B67C +/* 8028B674 002885D4 38 7C 00 04 */ addi r3, r28, 4 +/* 8028B678 002885D8 48 0B 24 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028B67C: +/* 8028B67C 002885DC 3B 9C 00 14 */ addi r28, r28, 0x14 +lbl_8028B680: +/* 8028B680 002885E0 7C 1C E8 40 */ cmplw r28, r29 +/* 8028B684 002885E4 40 82 FF E0 */ bne lbl_8028B664 +/* 8028B688 002885E8 38 00 00 00 */ li r0, 0 +/* 8028B68C 002885EC 7F E3 FB 78 */ mr r3, r31 +/* 8028B690 002885F0 90 1E 09 E0 */ stw r0, 0x9e0(r30) +/* 8028B694 002885F4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028B698 002885F8 A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028B69C 002885FC B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028B6A0 00288600 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028B6A4 00288604 4B DC 0E D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028B6A8 00288608 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028B6AC 0028860C 7C 7A 1B 78 */ mr r26, r3 +/* 8028B6B0 00288610 7F E3 FB 78 */ mr r3, r31 +/* 8028B6B4 00288614 38 81 00 0C */ addi r4, r1, 0xc +/* 8028B6B8 00288618 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028B6BC 0028861C 4B DC 0E B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028B6C0 00288620 28 1A 00 00 */ cmplwi r26, 0 +/* 8028B6C4 00288624 7C 7B 1B 78 */ mr r27, r3 +/* 8028B6C8 00288628 41 82 00 1C */ beq lbl_8028B6E4 +/* 8028B6CC 0028862C 7F 43 D3 78 */ mr r3, r26 +/* 8028B6D0 00288630 38 80 00 00 */ li r4, 0 +/* 8028B6D4 00288634 81 9A 00 00 */ lwz r12, 0(r26) +/* 8028B6D8 00288638 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B6DC 0028863C 7D 89 03 A6 */ mtctr r12 +/* 8028B6E0 00288640 4E 80 04 21 */ bctrl +lbl_8028B6E4: +/* 8028B6E4 00288644 28 1B 00 00 */ cmplwi r27, 0 +/* 8028B6E8 00288648 41 82 00 1C */ beq lbl_8028B704 +/* 8028B6EC 0028864C 7F 63 DB 78 */ mr r3, r27 +/* 8028B6F0 00288650 38 80 00 00 */ li r4, 0 +/* 8028B6F4 00288654 81 9B 00 00 */ lwz r12, 0(r27) +/* 8028B6F8 00288658 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B6FC 0028865C 7D 89 03 A6 */ mtctr r12 +/* 8028B700 00288660 4E 80 04 21 */ bctrl +lbl_8028B704: +/* 8028B704 00288664 7F C3 F3 78 */ mr r3, r30 +/* 8028B708 00288668 38 80 00 00 */ li r4, 0 +/* 8028B70C 0028866C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028B710 00288670 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B714 00288674 7D 89 03 A6 */ mtctr r12 +/* 8028B718 00288678 4E 80 04 21 */ bctrl +/* 8028B71C 0028867C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028B720 00288680 7F E3 FB 78 */ mr r3, r31 +/* 8028B724 00288684 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028B728 00288688 38 81 00 08 */ addi r4, r1, 8 +/* 8028B72C 0028868C B0 01 00 08 */ sth r0, 8(r1) +/* 8028B730 00288690 38 A0 00 59 */ li r5, 0x59 +/* 8028B734 00288694 4B DB 88 11 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8028B738 00288698 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028B73C 0028869C 7F E4 FB 78 */ mr r4, r31 +/* 8028B740 002886A0 38 A0 00 00 */ li r5, 0 +/* 8028B744 002886A4 4B F1 BB B5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028B748 002886A8 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028B74C 002886AC 7F E4 FB 78 */ mr r4, r31 +/* 8028B750 002886B0 38 A0 00 00 */ li r5, 0 +/* 8028B754 002886B4 4B F1 BB A5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028B758 002886B8 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8028B75C 002886BC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8028B760 002886C0 7C 08 03 A6 */ mtlr r0 +/* 8028B764 002886C4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8028B768 002886C8 4E 80 00 20 */ blr + +.global Accept__Q212COmegaPirate6CFlashFR8IVisitor +Accept__Q212COmegaPirate6CFlashFR8IVisitor: +/* 8028B76C 002886CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028B770 002886D0 7C 08 02 A6 */ mflr r0 +/* 8028B774 002886D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B778 002886D8 7C 60 1B 78 */ mr r0, r3 +/* 8028B77C 002886DC 7C 83 23 78 */ mr r3, r4 +/* 8028B780 002886E0 81 84 00 00 */ lwz r12, 0(r4) +/* 8028B784 002886E4 7C 04 03 78 */ mr r4, r0 +/* 8028B788 002886E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8028B78C 002886EC 7D 89 03 A6 */ mtctr r12 +/* 8028B790 002886F0 4E 80 04 21 */ bctrl +/* 8028B794 002886F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028B798 002886F8 7C 08 03 A6 */ mtlr r0 +/* 8028B79C 002886FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028B7A0 00288700 4E 80 00 20 */ blr + +.global Think__Q212COmegaPirate6CFlashFfR13CStateManager +Think__Q212COmegaPirate6CFlashFfR13CStateManager: +/* 8028B7A4 00288704 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8028B7A8 00288708 7C 08 02 A6 */ mflr r0 +/* 8028B7AC 0028870C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8028B7B0 00288710 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8028B7B4 00288714 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8028B7B8 00288718 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8028B7BC 0028871C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8028B7C0 00288720 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8028B7C4 00288724 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8028B7C8 00288728 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 8028B7CC 0028872C F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 8028B7D0 00288730 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028B7D4 00288734 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028B7D8 00288738 FF 80 08 90 */ fmr f28, f1 +/* 8028B7DC 0028873C 7C 7E 1B 78 */ mr r30, r3 +/* 8028B7E0 00288740 7C 9F 23 78 */ mr r31, r4 +/* 8028B7E4 00288744 4B DC 58 D5 */ bl Think__7CEntityFfR13CStateManager +/* 8028B7E8 00288748 C0 3E 00 F4 */ lfs f1, 0xf4(r30) +/* 8028B7EC 0028874C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028B7F0 00288750 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 8028B7F4 00288754 D0 3E 00 F4 */ stfs f1, 0xf4(r30) +/* 8028B7F8 00288758 C0 3E 00 F4 */ lfs f1, 0xf4(r30) +/* 8028B7FC 0028875C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028B800 00288760 41 81 00 EC */ bgt lbl_8028B8EC +/* 8028B804 00288764 C0 3E 00 F8 */ lfs f1, 0xf8(r30) +/* 8028B808 00288768 C0 02 BE A4 */ lfs f0, lbl_805ADBC4@sda21(r2) +/* 8028B80C 0028876C EC 21 E0 2A */ fadds f1, f1, f28 +/* 8028B810 00288770 D0 3E 00 F8 */ stfs f1, 0xf8(r30) +/* 8028B814 00288774 C3 FE 00 F8 */ lfs f31, 0xf8(r30) +/* 8028B818 00288778 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8028B81C 0028877C 40 81 00 1C */ ble lbl_8028B838 +/* 8028B820 00288780 EC 3F 00 28 */ fsubs f1, f31, f0 +/* 8028B824 00288784 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028B828 00288788 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028B82C 0028878C EC 01 00 24 */ fdivs f0, f1, f0 +/* 8028B830 00288790 EF E2 00 28 */ fsubs f31, f2, f0 +/* 8028B834 00288794 48 00 00 08 */ b lbl_8028B83C +lbl_8028B838: +/* 8028B838 00288798 EF FF 00 24 */ fdivs f31, f31, f0 +lbl_8028B83C: +/* 8028B83C 0028879C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8028B840 002887A0 7F E4 FB 78 */ mr r4, r31 +/* 8028B844 002887A4 4B D8 02 D5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8028B848 002887A8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8028B84C 002887AC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8028B850 002887B0 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 8028B854 002887B4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8028B858 002887B8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8028B85C 002887BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 8028B860 002887C0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8028B864 002887C4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8028B868 002887C8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028B86C 002887CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8028B870 002887D0 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8028B874 002887D4 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028B878 002887D8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8028B87C 002887DC C3 83 00 58 */ lfs f28, 0x58(r3) +/* 8028B880 002887E0 C3 A3 00 48 */ lfs f29, 0x48(r3) +/* 8028B884 002887E4 C3 C3 00 38 */ lfs f30, 0x38(r3) +/* 8028B888 002887E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028B88C 002887EC 48 08 8F C5 */ bl AsNormalized__9CVector3fCFv +/* 8028B890 002887F0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8028B894 002887F4 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8028B898 002887F8 EC 20 07 72 */ fmuls f1, f0, f29 +/* 8028B89C 002887FC C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8028B8A0 00288800 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028B8A4 00288804 EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 8028B8A8 00288808 EC 23 0F 3A */ fmadds f1, f3, f28, f1 +/* 8028B8AC 0028880C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028B8B0 00288810 40 80 00 08 */ bge lbl_8028B8B8 +/* 8028B8B4 00288814 48 00 00 08 */ b lbl_8028B8BC +lbl_8028B8B8: +/* 8028B8B8 00288818 EC 01 00 72 */ fmuls f0, f1, f1 +lbl_8028B8BC: +/* 8028B8BC 0028881C EC 20 07 F2 */ fmuls f1, f0, f31 +/* 8028B8C0 00288820 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028B8C4 00288824 D0 3E 00 FC */ stfs f1, 0xfc(r30) +/* 8028B8C8 00288828 C0 3E 00 F8 */ lfs f1, 0xf8(r30) +/* 8028B8CC 0028882C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028B8D0 00288830 40 81 00 1C */ ble lbl_8028B8EC +/* 8028B8D4 00288834 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8028B8D8 00288838 7F E3 FB 78 */ mr r3, r31 +/* 8028B8DC 0028883C 38 81 00 0C */ addi r4, r1, 0xc +/* 8028B8E0 00288840 B0 01 00 08 */ sth r0, 8(r1) +/* 8028B8E4 00288844 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028B8E8 00288848 4B DC 09 85 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8028B8EC: +/* 8028B8EC 0028884C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8028B8F0 00288850 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8028B8F4 00288854 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8028B8F8 00288858 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8028B8FC 0028885C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8028B900 00288860 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8028B904 00288864 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 8028B908 00288868 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 8028B90C 0028886C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028B910 00288870 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8028B914 00288874 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028B918 00288878 7C 08 03 A6 */ mtlr r0 +/* 8028B91C 0028887C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8028B920 00288880 4E 80 00 20 */ blr + +.global PreRender__Q212COmegaPirate6CFlashFR13CStateManagerRC14CFrustumPlanes +PreRender__Q212COmegaPirate6CFlashFR13CStateManagerRC14CFrustumPlanes: +/* 8028B924 00288884 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028B928 00288888 7C 08 02 A6 */ mflr r0 +/* 8028B92C 0028888C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028B930 00288890 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028B934 00288894 7C 7F 1B 78 */ mr r31, r3 +/* 8028B938 00288898 A0 03 00 08 */ lhz r0, 8(r3) +/* 8028B93C 0028889C 7C 83 23 78 */ mr r3, r4 +/* 8028B940 002888A0 38 81 00 08 */ addi r4, r1, 8 +/* 8028B944 002888A4 B0 01 00 08 */ sth r0, 8(r1) +/* 8028B948 002888A8 4B DB 8F 91 */ bl RenderLast__13CStateManagerFRC9TUniqueId +/* 8028B94C 002888AC 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8028B950 002888B0 28 00 00 00 */ cmplwi r0, 0 +/* 8028B954 002888B4 40 82 00 30 */ bne lbl_8028B984 +/* 8028B958 002888B8 88 1F 00 EC */ lbz r0, 0xec(r31) +/* 8028B95C 002888BC 28 00 00 00 */ cmplwi r0, 0 +/* 8028B960 002888C0 41 82 00 24 */ beq lbl_8028B984 +/* 8028B964 002888C4 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 8028B968 002888C8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8028B96C 002888CC 28 00 00 00 */ cmplwi r0, 0 +/* 8028B970 002888D0 41 82 00 14 */ beq lbl_8028B984 +/* 8028B974 002888D4 38 7F 00 E8 */ addi r3, r31, 0xe8 +/* 8028B978 002888D8 48 0B 54 95 */ bl GetObj__6CTokenFv +/* 8028B97C 002888DC 80 03 00 04 */ lwz r0, 4(r3) +/* 8028B980 002888E0 90 1F 00 F0 */ stw r0, 0xf0(r31) +lbl_8028B984: +/* 8028B984 002888E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028B988 002888E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028B98C 002888EC 7C 08 03 A6 */ mtlr r0 +/* 8028B990 002888F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028B994 002888F4 4E 80 00 20 */ blr + +.global Render__Q212COmegaPirate6CFlashCFRC13CStateManager +Render__Q212COmegaPirate6CFlashCFRC13CStateManager: +/* 8028B998 002888F8 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8028B99C 002888FC 7C 08 02 A6 */ mflr r0 +/* 8028B9A0 00288900 90 01 01 44 */ stw r0, 0x144(r1) +/* 8028B9A4 00288904 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8028B9A8 00288908 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8028B9AC 0028890C DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8028B9B0 00288910 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8028B9B4 00288914 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8028B9B8 00288918 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8028B9BC 0028891C DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8028B9C0 00288920 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8028B9C4 00288924 DB 61 00 F0 */ stfd f27, 0xf0(r1) +/* 8028B9C8 00288928 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 +/* 8028B9CC 0028892C DB 41 00 E0 */ stfd f26, 0xe0(r1) +/* 8028B9D0 00288930 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 +/* 8028B9D4 00288934 DB 21 00 D0 */ stfd f25, 0xd0(r1) +/* 8028B9D8 00288938 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 +/* 8028B9DC 0028893C DB 01 00 C0 */ stfd f24, 0xc0(r1) +/* 8028B9E0 00288940 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 +/* 8028B9E4 00288944 DA E1 00 B0 */ stfd f23, 0xb0(r1) +/* 8028B9E8 00288948 F2 E1 00 B8 */ psq_st f23, 184(r1), 0, qr0 +/* 8028B9EC 0028894C DA C1 00 A0 */ stfd f22, 0xa0(r1) +/* 8028B9F0 00288950 F2 C1 00 A8 */ psq_st f22, 168(r1), 0, qr0 +/* 8028B9F4 00288954 DA A1 00 90 */ stfd f21, 0x90(r1) +/* 8028B9F8 00288958 F2 A1 00 98 */ psq_st f21, 152(r1), 0, qr0 +/* 8028B9FC 0028895C DA 81 00 80 */ stfd f20, 0x80(r1) +/* 8028BA00 00288960 F2 81 00 88 */ psq_st f20, 136(r1), 0, qr0 +/* 8028BA04 00288964 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8028BA08 00288968 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8028BA0C 0028896C 7C 9F 23 78 */ mr r31, r4 +/* 8028BA10 00288970 7C 7E 1B 78 */ mr r30, r3 +/* 8028BA14 00288974 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 8028BA18 00288978 80 63 00 00 */ lwz r3, 0(r3) +/* 8028BA1C 0028897C 4B E0 5B 3D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028BA20 00288980 2C 03 00 03 */ cmpwi r3, 3 +/* 8028BA24 00288984 41 82 02 64 */ beq lbl_8028BC88 +/* 8028BA28 00288988 80 7E 00 F0 */ lwz r3, 0xf0(r30) +/* 8028BA2C 0028898C 38 A0 00 00 */ li r5, 0 +/* 8028BA30 00288990 28 03 00 00 */ cmplwi r3, 0 +/* 8028BA34 00288994 40 82 00 14 */ bne lbl_8028BA48 +/* 8028BA38 00288998 80 9E 00 E8 */ lwz r4, 0xe8(r30) +/* 8028BA3C 0028899C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8028BA40 002889A0 28 00 00 00 */ cmplwi r0, 0 +/* 8028BA44 002889A4 41 82 00 08 */ beq lbl_8028BA4C +lbl_8028BA48: +/* 8028BA48 002889A8 38 A0 00 01 */ li r5, 1 +lbl_8028BA4C: +/* 8028BA4C 002889AC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8028BA50 002889B0 41 82 02 38 */ beq lbl_8028BC88 +/* 8028BA54 002889B4 28 03 00 00 */ cmplwi r3, 0 +/* 8028BA58 002889B8 41 82 02 30 */ beq lbl_8028BC88 +/* 8028BA5C 002889BC 38 80 00 00 */ li r4, 0 +/* 8028BA60 002889C0 38 A0 00 01 */ li r5, 1 +/* 8028BA64 002889C4 48 08 3C D9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8028BA68 002889C8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028BA6C 002889CC 7F E4 FB 78 */ mr r4, r31 +/* 8028BA70 002889D0 C2 82 BE AC */ lfs f20, lbl_805ADBCC@sda21(r2) +/* 8028BA74 002889D4 80 63 00 00 */ lwz r3, 0(r3) +/* 8028BA78 002889D8 4B E0 5A E1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028BA7C 002889DC 2C 03 00 01 */ cmpwi r3, 1 +/* 8028BA80 002889E0 40 82 00 20 */ bne lbl_8028BAA0 +/* 8028BA84 002889E4 38 60 00 03 */ li r3, 3 +/* 8028BA88 002889E8 38 80 00 01 */ li r4, 1 +/* 8028BA8C 002889EC 38 A0 00 00 */ li r5, 0 +/* 8028BA90 002889F0 38 C0 00 00 */ li r6, 0 +/* 8028BA94 002889F4 48 07 CE 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8028BA98 002889F8 C2 82 BE B0 */ lfs f20, lbl_805ADBD0@sda21(r2) +/* 8028BA9C 002889FC 48 00 00 18 */ b lbl_8028BAB4 +lbl_8028BAA0: +/* 8028BAA0 00288A00 38 60 00 01 */ li r3, 1 +/* 8028BAA4 00288A04 38 80 00 04 */ li r4, 4 +/* 8028BAA8 00288A08 38 A0 00 01 */ li r5, 1 +/* 8028BAAC 00288A0C 38 C0 00 00 */ li r6, 0 +/* 8028BAB0 00288A10 48 07 FF A1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_8028BAB4: +/* 8028BAB4 00288A14 C0 1E 00 FC */ lfs f0, 0xfc(r30) +/* 8028BAB8 00288A18 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8028BABC 00288A1C 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 8028BAC0 00288A20 C2 FE 00 60 */ lfs f23, 0x60(r30) +/* 8028BAC4 00288A24 EC 94 00 32 */ fmuls f4, f20, f0 +/* 8028BAC8 00288A28 C0 24 00 00 */ lfs f1, 0(r4) +/* 8028BACC 00288A2C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8028BAD0 00288A30 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8028BAD4 00288A34 C0 64 00 20 */ lfs f3, 0x20(r4) +/* 8028BAD8 00288A38 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 8028BADC 00288A3C C0 44 00 08 */ lfs f2, 8(r4) +/* 8028BAE0 00288A40 EF A4 00 72 */ fmuls f29, f4, f1 +/* 8028BAE4 00288A44 C0 24 00 18 */ lfs f1, 0x18(r4) +/* 8028BAE8 00288A48 EF C4 00 32 */ fmuls f30, f4, f0 +/* 8028BAEC 00288A4C C0 04 00 28 */ lfs f0, 0x28(r4) +/* 8028BAF0 00288A50 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 8028BAF4 00288A54 EF 44 00 B2 */ fmuls f26, f4, f2 +/* 8028BAF8 00288A58 EF 64 00 72 */ fmuls f27, f4, f1 +/* 8028BAFC 00288A5C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8028BB00 00288A60 EF 84 00 32 */ fmuls f28, f4, f0 +/* 8028BB04 00288A64 C3 1E 00 50 */ lfs f24, 0x50(r30) +/* 8028BB08 00288A68 C3 3E 00 40 */ lfs f25, 0x40(r30) +/* 8028BB0C 00288A6C 48 08 0A D5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8028BB10 00288A70 48 0B E4 9D */ bl White__6CColorFv +/* 8028BB14 00288A74 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8028BB18 00288A78 83 E3 00 00 */ lwz r31, 0(r3) +/* 8028BB1C 00288A7C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8028BB20 00288A80 38 60 00 00 */ li r3, 0 +/* 8028BB24 00288A84 48 07 E7 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8028BB28 00288A88 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8028BB2C 00288A8C 38 60 00 01 */ li r3, 1 +/* 8028BB30 00288A90 48 07 E7 89 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8028BB34 00288A94 38 60 00 00 */ li r3, 0 +/* 8028BB38 00288A98 38 80 00 07 */ li r4, 7 +/* 8028BB3C 00288A9C 38 A0 00 00 */ li r5, 0 +/* 8028BB40 00288AA0 48 07 FF 55 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8028BB44 00288AA4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8028BB48 00288AA8 C0 0D 99 BC */ lfs f0, lbl_805A857C@sda21(r13) +/* 8028BB4C 00288AAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028BB50 00288AB0 40 80 00 0C */ bge lbl_8028BB5C +/* 8028BB54 00288AB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028BB58 00288AB8 48 00 00 08 */ b lbl_8028BB60 +lbl_8028BB5C: +/* 8028BB5C 00288ABC 38 6D 99 BC */ addi r3, r13, lbl_805A857C@sda21 +lbl_8028BB60: +/* 8028BB60 00288AC0 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) +/* 8028BB64 00288AC4 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028BB68 00288AC8 EE C1 00 32 */ fmuls f22, f1, f0 +/* 8028BB6C 00288ACC F2 C1 A0 08 */ psq_st f22, 8(r1), 1, qr2 +/* 8028BB70 00288AD0 38 61 00 0C */ addi r3, r1, 0xc +/* 8028BB74 00288AD4 88 01 00 08 */ lbz r0, 8(r1) +/* 8028BB78 00288AD8 53 E0 00 2E */ rlwimi r0, r31, 0, 0, 0x17 +/* 8028BB7C 00288ADC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028BB80 00288AE0 48 07 F9 C9 */ bl StreamColor__9CGraphicsFRC6CColor +/* 8028BB84 00288AE4 38 60 00 A0 */ li r3, 0xa0 +/* 8028BB88 00288AE8 48 07 FA E1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8028BB8C 00288AEC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028BB90 00288AF0 FC 40 08 90 */ fmr f2, f1 +/* 8028BB94 00288AF4 48 07 F8 D1 */ bl StreamTexcoord__9CGraphicsFff +/* 8028BB98 00288AF8 EE D9 E8 28 */ fsubs f22, f25, f29 +/* 8028BB9C 00288AFC 38 61 00 68 */ addi r3, r1, 0x68 +/* 8028BBA0 00288B00 EE B8 F0 28 */ fsubs f21, f24, f30 +/* 8028BBA4 00288B04 EE 97 F8 28 */ fsubs f20, f23, f31 +/* 8028BBA8 00288B08 EC 16 D0 2A */ fadds f0, f22, f26 +/* 8028BBAC 00288B0C D2 C1 00 5C */ stfs f22, 0x5c(r1) +/* 8028BBB0 00288B10 EC 55 D8 2A */ fadds f2, f21, f27 +/* 8028BBB4 00288B14 EC 34 E0 2A */ fadds f1, f20, f28 +/* 8028BBB8 00288B18 D2 A1 00 60 */ stfs f21, 0x60(r1) +/* 8028BBBC 00288B1C D2 81 00 64 */ stfs f20, 0x64(r1) +/* 8028BBC0 00288B20 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8028BBC4 00288B24 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8028BBC8 00288B28 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8028BBCC 00288B2C 48 07 F9 F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BBD0 00288B30 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028BBD4 00288B34 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) +/* 8028BBD8 00288B38 48 07 F8 8D */ bl StreamTexcoord__9CGraphicsFff +/* 8028BBDC 00288B3C EC 55 D8 28 */ fsubs f2, f21, f27 +/* 8028BBE0 00288B40 D2 C1 00 44 */ stfs f22, 0x44(r1) +/* 8028BBE4 00288B44 EC 34 E0 28 */ fsubs f1, f20, f28 +/* 8028BBE8 00288B48 38 61 00 50 */ addi r3, r1, 0x50 +/* 8028BBEC 00288B4C EC 16 D0 28 */ fsubs f0, f22, f26 +/* 8028BBF0 00288B50 D2 A1 00 48 */ stfs f21, 0x48(r1) +/* 8028BBF4 00288B54 D2 81 00 4C */ stfs f20, 0x4c(r1) +/* 8028BBF8 00288B58 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8028BBFC 00288B5C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8028BC00 00288B60 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8028BC04 00288B64 48 07 F9 BD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BC08 00288B68 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028BC0C 00288B6C FC 40 08 90 */ fmr f2, f1 +/* 8028BC10 00288B70 48 07 F8 55 */ bl StreamTexcoord__9CGraphicsFff +/* 8028BC14 00288B74 EE 99 E8 2A */ fadds f20, f25, f29 +/* 8028BC18 00288B78 38 61 00 38 */ addi r3, r1, 0x38 +/* 8028BC1C 00288B7C EE B8 F0 2A */ fadds f21, f24, f30 +/* 8028BC20 00288B80 EE D7 F8 2A */ fadds f22, f23, f31 +/* 8028BC24 00288B84 EC 14 D0 28 */ fsubs f0, f20, f26 +/* 8028BC28 00288B88 D2 81 00 2C */ stfs f20, 0x2c(r1) +/* 8028BC2C 00288B8C EC 55 D8 28 */ fsubs f2, f21, f27 +/* 8028BC30 00288B90 EC 36 E0 28 */ fsubs f1, f22, f28 +/* 8028BC34 00288B94 D2 A1 00 30 */ stfs f21, 0x30(r1) +/* 8028BC38 00288B98 D2 C1 00 34 */ stfs f22, 0x34(r1) +/* 8028BC3C 00288B9C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8028BC40 00288BA0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8028BC44 00288BA4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8028BC48 00288BA8 48 07 F9 79 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BC4C 00288BAC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028BC50 00288BB0 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028BC54 00288BB4 48 07 F8 11 */ bl StreamTexcoord__9CGraphicsFff +/* 8028BC58 00288BB8 EC 55 D8 2A */ fadds f2, f21, f27 +/* 8028BC5C 00288BBC D2 81 00 14 */ stfs f20, 0x14(r1) +/* 8028BC60 00288BC0 EC 36 E0 2A */ fadds f1, f22, f28 +/* 8028BC64 00288BC4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028BC68 00288BC8 EC 14 D0 2A */ fadds f0, f20, f26 +/* 8028BC6C 00288BCC D2 A1 00 18 */ stfs f21, 0x18(r1) +/* 8028BC70 00288BD0 D2 C1 00 1C */ stfs f22, 0x1c(r1) +/* 8028BC74 00288BD4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8028BC78 00288BD8 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028BC7C 00288BDC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8028BC80 00288BE0 48 07 F9 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BC84 00288BE4 48 07 F7 8D */ bl StreamEnd__9CGraphicsFv +lbl_8028BC88: +/* 8028BC88 00288BE8 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8028BC8C 00288BEC CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8028BC90 00288BF0 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8028BC94 00288BF4 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8028BC98 00288BF8 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8028BC9C 00288BFC CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8028BCA0 00288C00 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8028BCA4 00288C04 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8028BCA8 00288C08 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 +/* 8028BCAC 00288C0C CB 61 00 F0 */ lfd f27, 0xf0(r1) +/* 8028BCB0 00288C10 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 +/* 8028BCB4 00288C14 CB 41 00 E0 */ lfd f26, 0xe0(r1) +/* 8028BCB8 00288C18 E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 +/* 8028BCBC 00288C1C CB 21 00 D0 */ lfd f25, 0xd0(r1) +/* 8028BCC0 00288C20 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 +/* 8028BCC4 00288C24 CB 01 00 C0 */ lfd f24, 0xc0(r1) +/* 8028BCC8 00288C28 E2 E1 00 B8 */ psq_l f23, 184(r1), 0, qr0 +/* 8028BCCC 00288C2C CA E1 00 B0 */ lfd f23, 0xb0(r1) +/* 8028BCD0 00288C30 E2 C1 00 A8 */ psq_l f22, 168(r1), 0, qr0 +/* 8028BCD4 00288C34 CA C1 00 A0 */ lfd f22, 0xa0(r1) +/* 8028BCD8 00288C38 E2 A1 00 98 */ psq_l f21, 152(r1), 0, qr0 +/* 8028BCDC 00288C3C CA A1 00 90 */ lfd f21, 0x90(r1) +/* 8028BCE0 00288C40 E2 81 00 88 */ psq_l f20, 136(r1), 0, qr0 +/* 8028BCE4 00288C44 CA 81 00 80 */ lfd f20, 0x80(r1) +/* 8028BCE8 00288C48 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8028BCEC 00288C4C 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8028BCF0 00288C50 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8028BCF4 00288C54 7C 08 03 A6 */ mtlr r0 +/* 8028BCF8 00288C58 38 21 01 40 */ addi r1, r1, 0x140 +/* 8028BCFC 00288C5C 4E 80 00 20 */ blr + +.global AddToRenderer__Q212COmegaPirate6CFlashCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__Q212COmegaPirate6CFlashCFRC14CFrustumPlanesRC13CStateManager: +/* 8028BD00 00288C60 4E 80 00 20 */ blr + +.global "__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>" +"__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>": +/* 8028BD04 00288C64 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8028BD08 00288C68 7C 08 02 A6 */ mflr r0 +/* 8028BD0C 00288C6C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8028BD10 00288C70 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8028BD14 00288C74 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8028BD18 00288C78 BF 61 01 1C */ stmw r27, 0x11c(r1) +/* 8028BD1C 00288C7C 3D 00 80 3D */ lis r8, lbl_803D5A74@ha +/* 8028BD20 00288C80 FF E0 08 90 */ fmr f31, f1 +/* 8028BD24 00288C84 39 08 5A 74 */ addi r8, r8, lbl_803D5A74@l +/* 8028BD28 00288C88 7C 7B 1B 78 */ mr r27, r3 +/* 8028BD2C 00288C8C 7C 9C 23 78 */ mr r28, r4 +/* 8028BD30 00288C90 7C BD 2B 78 */ mr r29, r5 +/* 8028BD34 00288C94 7C DE 33 78 */ mr r30, r6 +/* 8028BD38 00288C98 7C FF 3B 78 */ mr r31, r7 +/* 8028BD3C 00288C9C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028BD40 00288CA0 38 88 00 B6 */ addi r4, r8, 0xb6 +/* 8028BD44 00288CA4 4B D7 8F 75 */ bl string_l__4rstlFPCc +/* 8028BD48 00288CA8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8028BD4C 00288CAC 4B DA EA 59 */ bl CModelDataNull__10CModelDataFv +/* 8028BD50 00288CB0 38 61 00 60 */ addi r3, r1, 0x60 +/* 8028BD54 00288CB4 4B D8 F0 E5 */ bl None__16CActorParametersFv +/* 8028BD58 00288CB8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8028BD5C 00288CBC 38 A0 00 00 */ li r5, 0 +/* 8028BD60 00288CC0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 8028BD64 00288CC4 7F C4 F3 78 */ mr r4, r30 +/* 8028BD68 00288CC8 B0 61 00 10 */ sth r3, 0x10(r1) +/* 8028BD6C 00288CCC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8028BD70 00288CD0 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8028BD74 00288CD4 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028BD78 00288CD8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028BD7C 00288CDC 48 08 73 C5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8028BD80 00288CE0 38 61 00 60 */ addi r3, r1, 0x60 +/* 8028BD84 00288CE4 38 01 00 10 */ addi r0, r1, 0x10 +/* 8028BD88 00288CE8 90 61 00 08 */ stw r3, 8(r1) +/* 8028BD8C 00288CEC 7F 63 DB 78 */ mr r3, r27 +/* 8028BD90 00288CF0 7F A7 EB 78 */ mr r7, r29 +/* 8028BD94 00288CF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028BD98 00288CF8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028BD9C 00288CFC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8028BDA0 00288D00 39 01 00 30 */ addi r8, r1, 0x30 +/* 8028BDA4 00288D04 39 21 00 C8 */ addi r9, r1, 0xc8 +/* 8028BDA8 00288D08 39 41 00 18 */ addi r10, r1, 0x18 +/* 8028BDAC 00288D0C 38 A0 00 01 */ li r5, 1 +/* 8028BDB0 00288D10 4B DC 9A 71 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8028BDB4 00288D14 38 61 00 60 */ addi r3, r1, 0x60 +/* 8028BDB8 00288D18 38 80 FF FF */ li r4, -1 +/* 8028BDBC 00288D1C 4B E7 A8 4D */ bl __dt__16CActorParametersFv +/* 8028BDC0 00288D20 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8028BDC4 00288D24 38 80 FF FF */ li r4, -1 +/* 8028BDC8 00288D28 4B E8 AC 85 */ bl __dt__10CModelDataFv +/* 8028BDCC 00288D2C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028BDD0 00288D30 48 0B 1D 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028BDD4 00288D34 3C 60 80 3F */ lis r3, lbl_803EB6C8@ha +/* 8028BDD8 00288D38 3B 9B 00 E8 */ addi r28, r27, 0xe8 +/* 8028BDDC 00288D3C 38 03 B6 C8 */ addi r0, r3, lbl_803EB6C8@l +/* 8028BDE0 00288D40 7F E4 FB 78 */ mr r4, r31 +/* 8028BDE4 00288D44 90 1B 00 00 */ stw r0, 0(r27) +/* 8028BDE8 00288D48 7F 83 E3 78 */ mr r3, r28 +/* 8028BDEC 00288D4C 48 0B 50 BD */ bl __ct__6CTokenFRC6CToken +/* 8028BDF0 00288D50 38 00 00 00 */ li r0, 0 +/* 8028BDF4 00288D54 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028BDF8 00288D58 90 1C 00 08 */ stw r0, 8(r28) +/* 8028BDFC 00288D5C 7F 83 E3 78 */ mr r3, r28 +/* 8028BE00 00288D60 D3 FB 00 F4 */ stfs f31, 0xf4(r27) +/* 8028BE04 00288D64 D0 1B 00 F8 */ stfs f0, 0xf8(r27) +/* 8028BE08 00288D68 D0 1B 00 FC */ stfs f0, 0xfc(r27) +/* 8028BE0C 00288D6C 48 0B 4F 79 */ bl Lock__6CTokenFv +/* 8028BE10 00288D70 7F 63 DB 78 */ mr r3, r27 +/* 8028BE14 00288D74 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8028BE18 00288D78 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8028BE1C 00288D7C BB 61 01 1C */ lmw r27, 0x11c(r1) +/* 8028BE20 00288D80 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8028BE24 00288D84 7C 08 03 A6 */ mtlr r0 +/* 8028BE28 00288D88 38 21 01 40 */ addi r1, r1, 0x140 +/* 8028BE2C 00288D8C 4E 80 00 20 */ blr + +.global CreateFlash__12COmegaPirateFR13CStateManagerf +CreateFlash__12COmegaPirateFR13CStateManagerf: +/* 8028BE30 00288D90 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8028BE34 00288D94 7C 08 02 A6 */ mflr r0 +/* 8028BE38 00288D98 3C A0 80 3D */ lis r5, lbl_803D5A74@ha +/* 8028BE3C 00288D9C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8028BE40 00288DA0 38 A5 5A 74 */ addi r5, r5, lbl_803D5A74@l +/* 8028BE44 00288DA4 DB E1 00 88 */ stfd f31, 0x88(r1) +/* 8028BE48 00288DA8 FF E0 08 90 */ fmr f31, f1 +/* 8028BE4C 00288DAC BF 61 00 74 */ stmw r27, 0x74(r1) +/* 8028BE50 00288DB0 7C 7D 1B 78 */ mr r29, r3 +/* 8028BE54 00288DB4 7C 9E 23 78 */ mr r30, r4 +/* 8028BE58 00288DB8 38 85 00 C9 */ addi r4, r5, 0xc9 +/* 8028BE5C 00288DBC 3B 80 00 00 */ li r28, 0 +/* 8028BE60 00288DC0 3B 60 00 00 */ li r27, 0 +/* 8028BE64 00288DC4 38 60 01 00 */ li r3, 0x100 +/* 8028BE68 00288DC8 38 A0 00 00 */ li r5, 0 +/* 8028BE6C 00288DCC 48 08 9A 01 */ bl __nw__FUlPCcPCc +/* 8028BE70 00288DD0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8028BE74 00288DD4 41 82 00 84 */ beq lbl_8028BEF8 +/* 8028BE78 00288DD8 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) +/* 8028BE7C 00288DDC 38 00 00 00 */ li r0, 0 +/* 8028BE80 00288DE0 90 01 00 40 */ stw r0, 0x40(r1) +/* 8028BE84 00288DE4 38 61 00 58 */ addi r3, r1, 0x58 +/* 8028BE88 00288DE8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8028BE8C 00288DEC 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8028BE90 00288DF0 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8028BE94 00288DF4 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8028BE98 00288DF8 3B 80 00 01 */ li r28, 1 +/* 8028BE9C 00288DFC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028BEA0 00288E00 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028BEA4 00288E04 80 1D 00 04 */ lwz r0, 4(r29) +/* 8028BEA8 00288E08 90 01 00 30 */ stw r0, 0x30(r1) +/* 8028BEAC 00288E0C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028BEB0 00288E10 4B DC 55 D5 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8028BEB4 00288E14 7F C4 F3 78 */ mr r4, r30 +/* 8028BEB8 00288E18 38 61 00 08 */ addi r3, r1, 8 +/* 8028BEBC 00288E1C 3B 60 00 01 */ li r27, 1 +/* 8028BEC0 00288E20 4B DC 12 1D */ bl AllocateUniqueId__13CStateManagerFv +/* 8028BEC4 00288E24 A0 01 00 08 */ lhz r0, 8(r1) +/* 8028BEC8 00288E28 38 61 00 4C */ addi r3, r1, 0x4c +/* 8028BECC 00288E2C 38 9D 00 9C */ addi r4, r29, 0x9c +/* 8028BED0 00288E30 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028BED4 00288E34 48 0A B7 39 */ bl GetCenterPoint__6CAABoxCFv +/* 8028BED8 00288E38 FC 20 F8 90 */ fmr f1, f31 +/* 8028BEDC 00288E3C 7F E3 FB 78 */ mr r3, r31 +/* 8028BEE0 00288E40 38 81 00 0C */ addi r4, r1, 0xc +/* 8028BEE4 00288E44 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8028BEE8 00288E48 38 C1 00 4C */ addi r6, r1, 0x4c +/* 8028BEEC 00288E4C 38 FD 0B 70 */ addi r7, r29, 0xb70 +/* 8028BEF0 00288E50 4B FF FE 15 */ bl "__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>" +/* 8028BEF4 00288E54 7C 7F 1B 78 */ mr r31, r3 +lbl_8028BEF8: +/* 8028BEF8 00288E58 7F C3 F3 78 */ mr r3, r30 +/* 8028BEFC 00288E5C 7F E4 FB 78 */ mr r4, r31 +/* 8028BF00 00288E60 4B DC 0C 15 */ bl AddObject__13CStateManagerFR7CEntity +/* 8028BF04 00288E64 7F 60 07 75 */ extsb. r0, r27 +/* 8028BF08 00288E68 41 82 00 44 */ beq lbl_8028BF4C +/* 8028BF0C 00288E6C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8028BF10 00288E70 80 61 00 68 */ lwz r3, 0x68(r1) +/* 8028BF14 00288E74 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8028BF18 00288E78 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028BF1C 00288E7C 7C 64 1B 78 */ mr r4, r3 +/* 8028BF20 00288E80 7C 03 02 14 */ add r0, r3, r0 +/* 8028BF24 00288E84 90 61 00 10 */ stw r3, 0x10(r1) +/* 8028BF28 00288E88 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8028BF2C 00288E8C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028BF30 00288E90 48 00 00 08 */ b lbl_8028BF38 +lbl_8028BF34: +/* 8028BF34 00288E94 38 84 00 0C */ addi r4, r4, 0xc +lbl_8028BF38: +/* 8028BF38 00288E98 7C 04 00 40 */ cmplw r4, r0 +/* 8028BF3C 00288E9C 40 82 FF F8 */ bne lbl_8028BF34 +/* 8028BF40 00288EA0 28 03 00 00 */ cmplwi r3, 0 +/* 8028BF44 00288EA4 41 82 00 08 */ beq lbl_8028BF4C +/* 8028BF48 00288EA8 48 08 99 E9 */ bl Free__7CMemoryFPCv +lbl_8028BF4C: +/* 8028BF4C 00288EAC 7F 80 07 75 */ extsb. r0, r28 +/* 8028BF50 00288EB0 41 82 00 44 */ beq lbl_8028BF94 +/* 8028BF54 00288EB4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8028BF58 00288EB8 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8028BF5C 00288EBC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8028BF60 00288EC0 90 61 00 24 */ stw r3, 0x24(r1) +/* 8028BF64 00288EC4 7C 64 1B 78 */ mr r4, r3 +/* 8028BF68 00288EC8 7C 03 02 14 */ add r0, r3, r0 +/* 8028BF6C 00288ECC 90 61 00 20 */ stw r3, 0x20(r1) +/* 8028BF70 00288ED0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8028BF74 00288ED4 90 01 00 28 */ stw r0, 0x28(r1) +/* 8028BF78 00288ED8 48 00 00 08 */ b lbl_8028BF80 +lbl_8028BF7C: +/* 8028BF7C 00288EDC 38 84 00 0C */ addi r4, r4, 0xc +lbl_8028BF80: +/* 8028BF80 00288EE0 7C 04 00 40 */ cmplw r4, r0 +/* 8028BF84 00288EE4 40 82 FF F8 */ bne lbl_8028BF7C +/* 8028BF88 00288EE8 28 03 00 00 */ cmplwi r3, 0 +/* 8028BF8C 00288EEC 41 82 00 08 */ beq lbl_8028BF94 +/* 8028BF90 00288EF0 48 08 99 A1 */ bl Free__7CMemoryFPCv +lbl_8028BF94: +/* 8028BF94 00288EF4 CB E1 00 88 */ lfd f31, 0x88(r1) +/* 8028BF98 00288EF8 BB 61 00 74 */ lmw r27, 0x74(r1) +/* 8028BF9C 00288EFC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8028BFA0 00288F00 7C 08 03 A6 */ mtlr r0 +/* 8028BFA4 00288F04 38 21 00 90 */ addi r1, r1, 0x90 +/* 8028BFA8 00288F08 4E 80 00 20 */ blr + +.global sub_8028bfac +sub_8028bfac: +/* 8028BFAC 00288F0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028BFB0 00288F10 7C 08 02 A6 */ mflr r0 +/* 8028BFB4 00288F14 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028BFB8 00288F18 38 00 00 04 */ li r0, 4 +/* 8028BFBC 00288F1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8028BFC0 00288F20 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028BFC4 00288F24 7C 7F 1B 78 */ mr r31, r3 +/* 8028BFC8 00288F28 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028BFCC 00288F2C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8028BFD0 00288F30 83 C3 0A B8 */ lwz r30, 0xab8(r3) +/* 8028BFD4 00288F34 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028BFD8 00288F38 48 00 00 0C */ b lbl_8028BFE4 +/* 8028BFDC 00288F3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028BFE0 00288F40 48 00 00 20 */ b lbl_8028C000 +lbl_8028BFE4: +/* 8028BFE4 00288F44 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028BFE8 00288F48 38 60 00 04 */ li r3, 4 +/* 8028BFEC 00288F4C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028BFF0 00288F50 38 A0 00 00 */ li r5, 0 +/* 8028BFF4 00288F54 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028BFF8 00288F58 48 08 98 21 */ bl __nwa__FUlPCcPCc +/* 8028BFFC 00288F5C 90 61 00 24 */ stw r3, 0x24(r1) +lbl_8028C000: +/* 8028C000 00288F60 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028C004 00288F64 28 03 00 00 */ cmplwi r3, 0 +/* 8028C008 00288F68 41 82 00 0C */ beq lbl_8028C014 +/* 8028C00C 00288F6C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C010 00288F70 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C014: +/* 8028C014 00288F74 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C018 00288F78 41 82 00 0C */ beq lbl_8028C024 +/* 8028C01C 00288F7C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C020 00288F80 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C024: +/* 8028C024 00288F84 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C028 00288F88 41 82 00 0C */ beq lbl_8028C034 +/* 8028C02C 00288F8C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C030 00288F90 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C034: +/* 8028C034 00288F94 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C038 00288F98 41 82 00 0C */ beq lbl_8028C044 +/* 8028C03C 00288F9C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C040 00288FA0 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C044: +/* 8028C044 00288FA4 28 1E 00 00 */ cmplwi r30, 0 +/* 8028C048 00288FA8 80 E1 00 24 */ lwz r7, 0x24(r1) +/* 8028C04C 00288FAC 7F C3 F3 78 */ mr r3, r30 +/* 8028C050 00288FB0 38 80 00 00 */ li r4, 0 +/* 8028C054 00288FB4 40 81 00 FC */ ble lbl_8028C150 +/* 8028C058 00288FB8 57 C0 E8 FF */ rlwinm. r0, r30, 0x1d, 3, 0x1f +/* 8028C05C 00288FBC 7C 09 03 A6 */ mtctr r0 +/* 8028C060 00288FC0 41 82 00 D0 */ beq lbl_8028C130 +lbl_8028C064: +/* 8028C064 00288FC4 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C068 00288FC8 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C06C 00288FCC 38 84 00 04 */ addi r4, r4, 4 +/* 8028C070 00288FD0 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C074 00288FD4 38 05 00 01 */ addi r0, r5, 1 +/* 8028C078 00288FD8 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C07C 00288FDC 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C080 00288FE0 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C084 00288FE4 38 84 00 04 */ addi r4, r4, 4 +/* 8028C088 00288FE8 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C08C 00288FEC 38 05 00 01 */ addi r0, r5, 1 +/* 8028C090 00288FF0 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C094 00288FF4 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C098 00288FF8 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C09C 00288FFC 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0A0 00289000 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0A4 00289004 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0A8 00289008 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0AC 0028900C 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0B0 00289010 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0B4 00289014 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0B8 00289018 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0BC 0028901C 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0C0 00289020 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0C4 00289024 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0C8 00289028 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0CC 0028902C 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0D0 00289030 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0D4 00289034 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0D8 00289038 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0DC 0028903C 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0E0 00289040 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0E4 00289044 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0E8 00289048 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0EC 0028904C 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0F0 00289050 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0F4 00289054 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0F8 00289058 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0FC 0028905C 38 84 00 04 */ addi r4, r4, 4 +/* 8028C100 00289060 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C104 00289064 38 05 00 01 */ addi r0, r5, 1 +/* 8028C108 00289068 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C10C 0028906C 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C110 00289070 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C114 00289074 38 84 00 04 */ addi r4, r4, 4 +/* 8028C118 00289078 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C11C 0028907C 38 05 00 01 */ addi r0, r5, 1 +/* 8028C120 00289080 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C124 00289084 42 00 FF 40 */ bdnz lbl_8028C064 +/* 8028C128 00289088 70 63 00 07 */ andi. r3, r3, 7 +/* 8028C12C 0028908C 41 82 00 24 */ beq lbl_8028C150 +lbl_8028C130: +/* 8028C130 00289090 7C 69 03 A6 */ mtctr r3 +lbl_8028C134: +/* 8028C134 00289094 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C138 00289098 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C13C 0028909C 38 84 00 04 */ addi r4, r4, 4 +/* 8028C140 002890A0 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C144 002890A4 38 05 00 01 */ addi r0, r5, 1 +/* 8028C148 002890A8 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C14C 002890AC 42 00 FF E8 */ bdnz lbl_8028C134 +lbl_8028C150: +/* 8028C150 002890B0 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C154 002890B4 38 A0 00 00 */ li r5, 0 +/* 8028C158 002890B8 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028C15C 002890BC 88 04 00 00 */ lbz r0, 0(r4) +/* 8028C160 002890C0 28 00 00 00 */ cmplwi r0, 0 +/* 8028C164 002890C4 40 82 00 10 */ bne lbl_8028C174 +/* 8028C168 002890C8 88 03 00 00 */ lbz r0, 0(r3) +/* 8028C16C 002890CC 28 00 00 00 */ cmplwi r0, 0 +/* 8028C170 002890D0 41 82 00 08 */ beq lbl_8028C178 +lbl_8028C174: +/* 8028C174 002890D4 38 A0 00 01 */ li r5, 1 +lbl_8028C178: +/* 8028C178 002890D8 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C17C 002890DC 88 04 00 01 */ lbz r0, 1(r4) +/* 8028C180 002890E0 28 00 00 00 */ cmplwi r0, 0 +/* 8028C184 002890E4 40 82 00 10 */ bne lbl_8028C194 +/* 8028C188 002890E8 88 03 00 01 */ lbz r0, 1(r3) +/* 8028C18C 002890EC 28 00 00 00 */ cmplwi r0, 0 +/* 8028C190 002890F0 41 82 00 08 */ beq lbl_8028C198 +lbl_8028C194: +/* 8028C194 002890F4 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028C198: +/* 8028C198 002890F8 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C19C 002890FC 88 04 00 02 */ lbz r0, 2(r4) +/* 8028C1A0 00289100 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1A4 00289104 40 82 00 10 */ bne lbl_8028C1B4 +/* 8028C1A8 00289108 88 03 00 02 */ lbz r0, 2(r3) +/* 8028C1AC 0028910C 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1B0 00289110 41 82 00 08 */ beq lbl_8028C1B8 +lbl_8028C1B4: +/* 8028C1B4 00289114 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028C1B8: +/* 8028C1B8 00289118 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C1BC 0028911C 88 04 00 03 */ lbz r0, 3(r4) +/* 8028C1C0 00289120 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1C4 00289124 40 82 00 10 */ bne lbl_8028C1D4 +/* 8028C1C8 00289128 88 03 00 03 */ lbz r0, 3(r3) +/* 8028C1CC 0028912C 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1D0 00289130 41 82 00 08 */ beq lbl_8028C1D8 +lbl_8028C1D4: +/* 8028C1D4 00289134 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028C1D8: +/* 8028C1D8 00289138 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8028C1DC 0028913C 7C BF 2B 78 */ mr r31, r5 +/* 8028C1E0 00289140 90 61 00 0C */ stw r3, 0xc(r1) +/* 8028C1E4 00289144 7C 83 02 14 */ add r4, r3, r0 +/* 8028C1E8 00289148 7C 03 20 50 */ subf r0, r3, r4 +/* 8028C1EC 0028914C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8028C1F0 00289150 90 81 00 10 */ stw r4, 0x10(r1) +/* 8028C1F4 00289154 90 61 00 08 */ stw r3, 8(r1) +/* 8028C1F8 00289158 7C 09 03 A6 */ mtctr r0 +/* 8028C1FC 0028915C 7C 03 20 40 */ cmplw r3, r4 +/* 8028C200 00289160 41 82 00 08 */ beq lbl_8028C208 +lbl_8028C204: +/* 8028C204 00289164 42 00 00 00 */ bdnz lbl_8028C204 +lbl_8028C208: +/* 8028C208 00289168 28 03 00 00 */ cmplwi r3, 0 +/* 8028C20C 0028916C 41 82 00 08 */ beq lbl_8028C214 +/* 8028C210 00289170 48 08 97 21 */ bl Free__7CMemoryFPCv +lbl_8028C214: +/* 8028C214 00289174 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028C218 00289178 7F E3 FB 78 */ mr r3, r31 +/* 8028C21C 0028917C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028C220 00289180 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028C224 00289184 7C 08 03 A6 */ mtlr r0 +/* 8028C228 00289188 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028C22C 0028918C 4E 80 00 20 */ blr + +.global sub_8028c230 +sub_8028c230: +/* 8028C230 00289190 80 A3 0B 88 */ lwz r5, 0xb88(r3) +/* 8028C234 00289194 88 65 00 00 */ lbz r3, 0(r5) +/* 8028C238 00289198 88 05 00 01 */ lbz r0, 1(r5) +/* 8028C23C 0028919C 88 85 00 02 */ lbz r4, 2(r5) +/* 8028C240 002891A0 7C 63 02 14 */ add r3, r3, r0 +/* 8028C244 002891A4 88 05 00 03 */ lbz r0, 3(r5) +/* 8028C248 002891A8 7C 63 22 14 */ add r3, r3, r4 +/* 8028C24C 002891AC 7C 63 02 14 */ add r3, r3, r0 +/* 8028C250 002891B0 4E 80 00 20 */ blr + +.global Landed__12COmegaPirateFR13CStateManagerf +Landed__12COmegaPirateFR13CStateManagerf: +/* 8028C254 002891B4 80 83 0B 4C */ lwz r4, 0xb4c(r3) +/* 8028C258 002891B8 38 60 00 04 */ li r3, 4 +/* 8028C25C 002891BC 38 04 FF FC */ addi r0, r4, -4 +/* 8028C260 002891C0 7C 83 1B 38 */ orc r3, r4, r3 +/* 8028C264 002891C4 54 00 F8 7E */ srwi r0, r0, 1 +/* 8028C268 002891C8 7C 00 18 50 */ subf r0, r0, r3 +/* 8028C26C 002891CC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8028C270 002891D0 4E 80 00 20 */ blr + +.global ShouldMove__12COmegaPirateFR13CStateManagerf +ShouldMove__12COmegaPirateFR13CStateManagerf: +/* 8028C274 002891D4 C0 23 03 38 */ lfs f1, 0x338(r3) +/* 8028C278 002891D8 C0 03 0B 64 */ lfs f0, 0xb64(r3) +/* 8028C27C 002891DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028C280 002891E0 7C 00 00 26 */ mfcr r0 +/* 8028C284 002891E4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8028C288 002891E8 4E 80 00 20 */ blr + +.global Attack__12COmegaPirateFR13CStateManager9EStateMsgf +Attack__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C28C 002891EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C290 002891F0 7C 08 02 A6 */ mflr r0 +/* 8028C294 002891F4 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C298 002891F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C29C 002891FC 41 82 00 54 */ beq lbl_8028C2F0 +/* 8028C2A0 00289200 40 80 00 10 */ bge lbl_8028C2B0 +/* 8028C2A4 00289204 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C2A8 00289208 40 80 00 14 */ bge lbl_8028C2BC +/* 8028C2AC 0028920C 48 00 00 44 */ b lbl_8028C2F0 +lbl_8028C2B0: +/* 8028C2B0 00289210 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C2B4 00289214 40 80 00 3C */ bge lbl_8028C2F0 +/* 8028C2B8 00289218 48 00 00 20 */ b lbl_8028C2D8 +lbl_8028C2BC: +/* 8028C2BC 0028921C 88 03 04 02 */ lbz r0, 0x402(r3) +/* 8028C2C0 00289220 38 C0 00 01 */ li r6, 1 +/* 8028C2C4 00289224 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8028C2C8 00289228 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028C2CC 0028922C 98 03 04 02 */ stb r0, 0x402(r3) +/* 8028C2D0 00289230 D0 03 05 04 */ stfs f0, 0x504(r3) +/* 8028C2D4 00289234 48 00 00 1C */ b lbl_8028C2F0 +lbl_8028C2D8: +/* 8028C2D8 00289238 88 03 04 02 */ lbz r0, 0x402(r3) +/* 8028C2DC 0028923C 38 C0 00 00 */ li r6, 0 +/* 8028C2E0 00289240 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8028C2E4 00289244 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028C2E8 00289248 98 03 04 02 */ stb r0, 0x402(r3) +/* 8028C2EC 0028924C D0 03 05 04 */ stfs f0, 0x504(r3) +lbl_8028C2F0: +/* 8028C2F0 00289250 4B F9 E3 B9 */ bl Attack__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C2F4 00289254 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C2F8 00289258 7C 08 03 A6 */ mtlr r0 +/* 8028C2FC 0028925C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C300 00289260 4E 80 00 20 */ blr + +.global sub_8028c304 +sub_8028c304: +/* 8028C304 00289264 A0 A4 06 F4 */ lhz r5, 0x6f4(r4) +/* 8028C308 00289268 38 00 00 08 */ li r0, 8 +/* 8028C30C 0028926C 80 C4 06 F0 */ lwz r6, 0x6f0(r4) +/* 8028C310 00289270 80 E4 06 D0 */ lwz r7, 0x6d0(r4) +/* 8028C314 00289274 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) +/* 8028C318 00289278 90 03 00 00 */ stw r0, 0(r3) +/* 8028C31C 0028927C C0 22 BE B8 */ lfs f1, lbl_805ADBD8@sda21(r2) +/* 8028C320 00289280 90 E3 00 04 */ stw r7, 4(r3) +/* 8028C324 00289284 C0 02 BE BC */ lfs f0, lbl_805ADBDC@sda21(r2) +/* 8028C328 00289288 80 04 06 D4 */ lwz r0, 0x6d4(r4) +/* 8028C32C 0028928C 90 03 00 08 */ stw r0, 8(r3) +/* 8028C330 00289290 88 04 06 D8 */ lbz r0, 0x6d8(r4) +/* 8028C334 00289294 98 03 00 0C */ stb r0, 0xc(r3) +/* 8028C338 00289298 C0 64 06 DC */ lfs f3, 0x6dc(r4) +/* 8028C33C 0028929C D0 63 00 10 */ stfs f3, 0x10(r3) +/* 8028C340 002892A0 C0 64 06 E0 */ lfs f3, 0x6e0(r4) +/* 8028C344 002892A4 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 8028C348 002892A8 C0 64 06 E4 */ lfs f3, 0x6e4(r4) +/* 8028C34C 002892AC D0 63 00 18 */ stfs f3, 0x18(r3) +/* 8028C350 002892B0 C0 64 06 E8 */ lfs f3, 0x6e8(r4) +/* 8028C354 002892B4 D0 63 00 1C */ stfs f3, 0x1c(r3) +/* 8028C358 002892B8 88 04 06 EC */ lbz r0, 0x6ec(r4) +/* 8028C35C 002892BC 98 03 00 20 */ stb r0, 0x20(r3) +/* 8028C360 002892C0 D0 43 00 24 */ stfs f2, 0x24(r3) +/* 8028C364 002892C4 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 8028C368 002892C8 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8028C36C 002892CC D0 43 00 30 */ stfs f2, 0x30(r3) +/* 8028C370 002892D0 90 C3 00 34 */ stw r6, 0x34(r3) +/* 8028C374 002892D4 B0 A3 00 38 */ sth r5, 0x38(r3) +/* 8028C378 002892D8 4E 80 00 20 */ blr + +.global Enraged__12COmegaPirateFR13CStateManager9EStateMsgf +Enraged__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C37C 002892DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028C380 002892E0 7C 08 02 A6 */ mflr r0 +/* 8028C384 002892E4 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C388 002892E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028C38C 002892EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028C390 002892F0 41 82 00 2C */ beq lbl_8028C3BC +/* 8028C394 002892F4 40 80 00 10 */ bge lbl_8028C3A4 +/* 8028C398 002892F8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C39C 002892FC 40 80 00 14 */ bge lbl_8028C3B0 +/* 8028C3A0 00289300 48 00 00 EC */ b lbl_8028C48C +lbl_8028C3A4: +/* 8028C3A4 00289304 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C3A8 00289308 40 80 00 E4 */ bge lbl_8028C48C +/* 8028C3AC 0028930C 48 00 00 D4 */ b lbl_8028C480 +lbl_8028C3B0: +/* 8028C3B0 00289310 38 00 00 00 */ li r0, 0 +/* 8028C3B4 00289314 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028C3B8 00289318 48 00 00 D4 */ b lbl_8028C48C +lbl_8028C3BC: +/* 8028C3BC 0028931C 80 03 05 68 */ lwz r0, 0x568(r3) +/* 8028C3C0 00289320 2C 00 00 01 */ cmpwi r0, 1 +/* 8028C3C4 00289324 41 82 00 C8 */ beq lbl_8028C48C +/* 8028C3C8 00289328 40 80 00 10 */ bge lbl_8028C3D8 +/* 8028C3CC 0028932C 2C 00 00 00 */ cmpwi r0, 0 +/* 8028C3D0 00289330 40 80 00 14 */ bge lbl_8028C3E4 +/* 8028C3D4 00289334 48 00 00 B8 */ b lbl_8028C48C +lbl_8028C3D8: +/* 8028C3D8 00289338 2C 00 00 03 */ cmpwi r0, 3 +/* 8028C3DC 0028933C 40 80 00 B0 */ bge lbl_8028C48C +/* 8028C3E0 00289340 48 00 00 84 */ b lbl_8028C464 +lbl_8028C3E4: +/* 8028C3E4 00289344 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C3E8 00289348 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C3EC 0028934C 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8028C3F0 00289350 40 82 00 10 */ bne lbl_8028C400 +/* 8028C3F4 00289354 38 00 00 02 */ li r0, 2 +/* 8028C3F8 00289358 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028C3FC 0028935C 48 00 00 90 */ b lbl_8028C48C +lbl_8028C400: +/* 8028C400 00289360 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028C404 00289364 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 8028C408 00289368 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028C40C 0028936C 38 80 00 12 */ li r4, 0x12 +/* 8028C410 00289370 90 01 00 08 */ stw r0, 8(r1) +/* 8028C414 00289374 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l +/* 8028C418 00289378 38 00 00 00 */ li r0, 0 +/* 8028C41C 0028937C 3B E6 00 04 */ addi r31, r6, 4 +/* 8028C420 00289380 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028C424 00289384 7F E3 FB 78 */ mr r3, r31 +/* 8028C428 00289388 38 80 00 12 */ li r4, 0x12 +/* 8028C42C 0028938C 90 A1 00 08 */ stw r5, 8(r1) +/* 8028C430 00289390 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028C434 00289394 4B EA 50 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028C438 00289398 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028C43C 0028939C 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 8028C440 002893A0 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l +/* 8028C444 002893A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028C448 002893A8 90 1F 02 14 */ stw r0, 0x214(r31) +/* 8028C44C 002893AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028C450 002893B0 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8028C454 002893B4 90 81 00 08 */ stw r4, 8(r1) +/* 8028C458 002893B8 90 7F 02 18 */ stw r3, 0x218(r31) +/* 8028C45C 002893BC 90 01 00 08 */ stw r0, 8(r1) +/* 8028C460 002893C0 48 00 00 2C */ b lbl_8028C48C +lbl_8028C464: +/* 8028C464 002893C4 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8028C468 002893C8 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028C46C 002893CC 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8028C470 002893D0 41 82 00 1C */ beq lbl_8028C48C +/* 8028C474 002893D4 38 00 00 03 */ li r0, 3 +/* 8028C478 002893D8 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028C47C 002893DC 48 00 00 10 */ b lbl_8028C48C +lbl_8028C480: +/* 8028C480 002893E0 38 00 00 01 */ li r0, 1 +/* 8028C484 002893E4 98 03 0A DF */ stb r0, 0xadf(r3) +/* 8028C488 002893E8 98 03 0A E0 */ stb r0, 0xae0(r3) +lbl_8028C48C: +/* 8028C48C 002893EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028C490 002893F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028C494 002893F4 7C 08 03 A6 */ mtlr r0 +/* 8028C498 002893F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028C49C 002893FC 4E 80 00 20 */ blr + +.global Cover__12COmegaPirateFR13CStateManager9EStateMsgf +Cover__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C4A0 00289400 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C4A4 00289404 7C 08 02 A6 */ mflr r0 +/* 8028C4A8 00289408 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C4AC 0028940C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028C4B0 00289410 7C BF 2B 78 */ mr r31, r5 +/* 8028C4B4 00289414 93 C1 00 08 */ stw r30, 8(r1) +/* 8028C4B8 00289418 7C 7E 1B 78 */ mr r30, r3 +/* 8028C4BC 0028941C 4B F9 DD 1D */ bl Cover__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C4C0 00289420 2C 1F 00 01 */ cmpwi r31, 1 +/* 8028C4C4 00289424 41 82 00 3C */ beq lbl_8028C500 +/* 8028C4C8 00289428 40 80 00 10 */ bge lbl_8028C4D8 +/* 8028C4CC 0028942C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8028C4D0 00289430 40 80 00 14 */ bge lbl_8028C4E4 +/* 8028C4D4 00289434 48 00 00 2C */ b lbl_8028C500 +lbl_8028C4D8: +/* 8028C4D8 00289438 2C 1F 00 03 */ cmpwi r31, 3 +/* 8028C4DC 0028943C 40 80 00 24 */ bge lbl_8028C500 +/* 8028C4E0 00289440 48 00 00 18 */ b lbl_8028C4F8 +lbl_8028C4E4: +/* 8028C4E4 00289444 C0 1E 03 B4 */ lfs f0, 0x3b4(r30) +/* 8028C4E8 00289448 38 00 00 01 */ li r0, 1 +/* 8028C4EC 0028944C D0 1E 0A D4 */ stfs f0, 0xad4(r30) +/* 8028C4F0 00289450 98 1E 0A D8 */ stb r0, 0xad8(r30) +/* 8028C4F4 00289454 48 00 00 0C */ b lbl_8028C500 +lbl_8028C4F8: +/* 8028C4F8 00289458 38 00 00 00 */ li r0, 0 +/* 8028C4FC 0028945C 98 1E 0A D8 */ stb r0, 0xad8(r30) +lbl_8028C500: +/* 8028C500 00289460 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C504 00289464 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028C508 00289468 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028C50C 0028946C 7C 08 03 A6 */ mtlr r0 +/* 8028C510 00289470 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C514 00289474 4E 80 00 20 */ blr + +.global TargetPatrol__12COmegaPirateFR13CStateManager9EStateMsgf +TargetPatrol__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C518 00289478 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C51C 0028947C 7C 08 02 A6 */ mflr r0 +/* 8028C520 00289480 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C524 00289484 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C528 00289488 41 82 00 3C */ beq lbl_8028C564 +/* 8028C52C 0028948C 40 80 00 10 */ bge lbl_8028C53C +/* 8028C530 00289490 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C534 00289494 40 80 00 14 */ bge lbl_8028C548 +/* 8028C538 00289498 48 00 00 70 */ b lbl_8028C5A8 +lbl_8028C53C: +/* 8028C53C 0028949C 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C540 002894A0 40 80 00 68 */ bge lbl_8028C5A8 +/* 8028C544 002894A4 48 00 00 5C */ b lbl_8028C5A0 +lbl_8028C548: +/* 8028C548 002894A8 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C54C 002894AC C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) +/* 8028C550 002894B0 D0 03 0A D4 */ stfs f0, 0xad4(r3) +/* 8028C554 002894B4 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C558 002894B8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8028C55C 002894BC D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C560 002894C0 48 00 00 48 */ b lbl_8028C5A8 +lbl_8028C564: +/* 8028C564 002894C4 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C568 002894C8 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C56C 002894CC 2C 00 00 06 */ cmpwi r0, 6 +/* 8028C570 002894D0 40 82 00 10 */ bne lbl_8028C580 +/* 8028C574 002894D4 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C578 002894D8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C57C 002894DC 48 00 00 2C */ b lbl_8028C5A8 +lbl_8028C580: +/* 8028C580 002894E0 C0 43 0A D4 */ lfs f2, 0xad4(r3) +/* 8028C584 002894E4 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C588 002894E8 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8028C58C 002894EC 40 82 00 1C */ bne lbl_8028C5A8 +/* 8028C590 002894F0 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) +/* 8028C594 002894F4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8028C598 002894F8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C59C 002894FC 48 00 00 0C */ b lbl_8028C5A8 +lbl_8028C5A0: +/* 8028C5A0 00289500 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C5A4 00289504 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +lbl_8028C5A8: +/* 8028C5A8 00289508 4B F9 EB 19 */ bl TargetPatrol__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C5AC 0028950C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C5B0 00289510 7C 08 03 A6 */ mtlr r0 +/* 8028C5B4 00289514 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C5B8 00289518 4E 80 00 20 */ blr + +.global PathFind__12COmegaPirateFR13CStateManager9EStateMsgf +PathFind__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C5BC 0028951C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C5C0 00289520 7C 08 02 A6 */ mflr r0 +/* 8028C5C4 00289524 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C5C8 00289528 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C5CC 0028952C 41 82 00 3C */ beq lbl_8028C608 +/* 8028C5D0 00289530 40 80 00 10 */ bge lbl_8028C5E0 +/* 8028C5D4 00289534 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C5D8 00289538 40 80 00 14 */ bge lbl_8028C5EC +/* 8028C5DC 0028953C 48 00 00 70 */ b lbl_8028C64C +lbl_8028C5E0: +/* 8028C5E0 00289540 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C5E4 00289544 40 80 00 68 */ bge lbl_8028C64C +/* 8028C5E8 00289548 48 00 00 5C */ b lbl_8028C644 +lbl_8028C5EC: +/* 8028C5EC 0028954C C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C5F0 00289550 C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) +/* 8028C5F4 00289554 D0 03 0A D4 */ stfs f0, 0xad4(r3) +/* 8028C5F8 00289558 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C5FC 0028955C EC 02 00 32 */ fmuls f0, f2, f0 +/* 8028C600 00289560 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C604 00289564 48 00 00 48 */ b lbl_8028C64C +lbl_8028C608: +/* 8028C608 00289568 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C60C 0028956C 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C610 00289570 2C 00 00 06 */ cmpwi r0, 6 +/* 8028C614 00289574 40 82 00 10 */ bne lbl_8028C624 +/* 8028C618 00289578 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C61C 0028957C D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C620 00289580 48 00 00 2C */ b lbl_8028C64C +lbl_8028C624: +/* 8028C624 00289584 C0 43 0A D4 */ lfs f2, 0xad4(r3) +/* 8028C628 00289588 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C62C 0028958C FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8028C630 00289590 40 82 00 1C */ bne lbl_8028C64C +/* 8028C634 00289594 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) +/* 8028C638 00289598 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8028C63C 0028959C D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C640 002895A0 48 00 00 0C */ b lbl_8028C64C +lbl_8028C644: +/* 8028C644 002895A4 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C648 002895A8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +lbl_8028C64C: +/* 8028C64C 002895AC 4B F9 ED 85 */ bl PathFind__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C650 002895B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C654 002895B4 7C 08 03 A6 */ mtlr r0 +/* 8028C658 002895B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C65C 002895BC 4E 80 00 20 */ blr + +.global Run__12COmegaPirateFR13CStateManager9EStateMsgf +Run__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C660 002895C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C664 002895C4 7C 08 02 A6 */ mflr r0 +/* 8028C668 002895C8 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C66C 002895CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C670 002895D0 41 82 00 3C */ beq lbl_8028C6AC +/* 8028C674 002895D4 40 80 00 10 */ bge lbl_8028C684 +/* 8028C678 002895D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C67C 002895DC 40 80 00 14 */ bge lbl_8028C690 +/* 8028C680 002895E0 48 00 00 70 */ b lbl_8028C6F0 +lbl_8028C684: +/* 8028C684 002895E4 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C688 002895E8 40 80 00 68 */ bge lbl_8028C6F0 +/* 8028C68C 002895EC 48 00 00 5C */ b lbl_8028C6E8 +lbl_8028C690: +/* 8028C690 002895F0 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C694 002895F4 C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) +/* 8028C698 002895F8 D0 03 0A D4 */ stfs f0, 0xad4(r3) +/* 8028C69C 002895FC C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C6A0 00289600 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8028C6A4 00289604 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C6A8 00289608 48 00 00 48 */ b lbl_8028C6F0 +lbl_8028C6AC: +/* 8028C6AC 0028960C 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C6B0 00289610 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C6B4 00289614 2C 00 00 06 */ cmpwi r0, 6 +/* 8028C6B8 00289618 40 82 00 10 */ bne lbl_8028C6C8 +/* 8028C6BC 0028961C C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C6C0 00289620 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C6C4 00289624 48 00 00 2C */ b lbl_8028C6F0 +lbl_8028C6C8: +/* 8028C6C8 00289628 C0 43 0A D4 */ lfs f2, 0xad4(r3) +/* 8028C6CC 0028962C C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C6D0 00289630 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8028C6D4 00289634 40 82 00 1C */ bne lbl_8028C6F0 +/* 8028C6D8 00289638 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) +/* 8028C6DC 0028963C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8028C6E0 00289640 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C6E4 00289644 48 00 00 0C */ b lbl_8028C6F0 +lbl_8028C6E8: +/* 8028C6E8 00289648 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C6EC 0028964C D0 03 03 B4 */ stfs f0, 0x3b4(r3) +lbl_8028C6F0: +/* 8028C6F0 00289650 4B F9 F2 99 */ bl Run__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C6F4 00289654 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C6F8 00289658 7C 08 03 A6 */ mtlr r0 +/* 8028C6FC 0028965C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C700 00289660 4E 80 00 20 */ blr + +.global sub_8028c704 +sub_8028c704: +/* 8028C704 00289664 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028C708 00289668 7C 08 02 A6 */ mflr r0 +/* 8028C70C 0028966C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028C710 00289670 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8028C714 00289674 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8028C718 00289678 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028C71C 0028967C 80 C3 0A C8 */ lwz r6, 0xac8(r3) +/* 8028C720 00289680 FF E0 08 90 */ fmr f31, f1 +/* 8028C724 00289684 80 03 0A B8 */ lwz r0, 0xab8(r3) +/* 8028C728 00289688 7C 7F 1B 78 */ mr r31, r3 +/* 8028C72C 0028968C 7C 06 00 00 */ cmpw r6, r0 +/* 8028C730 00289690 40 80 00 F4 */ bge lbl_8028C824 +/* 8028C734 00289694 C0 3F 0A B0 */ lfs f1, 0xab0(r31) +/* 8028C738 00289698 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028C73C 0028969C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028C740 002896A0 4C 40 13 82 */ cror 2, 0, 2 +/* 8028C744 002896A4 40 82 00 D4 */ bne lbl_8028C818 +/* 8028C748 002896A8 38 A6 00 01 */ addi r5, r6, 1 +/* 8028C74C 002896AC 54 C0 10 3A */ slwi r0, r6, 2 +/* 8028C750 002896B0 90 BF 0A C8 */ stw r5, 0xac8(r31) +/* 8028C754 002896B4 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C758 002896B8 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8028C75C 002896BC 2C 00 00 02 */ cmpwi r0, 2 +/* 8028C760 002896C0 41 82 00 48 */ beq lbl_8028C7A8 +/* 8028C764 002896C4 40 80 00 14 */ bge lbl_8028C778 +/* 8028C768 002896C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028C76C 002896CC 41 82 00 60 */ beq lbl_8028C7CC +/* 8028C770 002896D0 40 80 00 14 */ bge lbl_8028C784 +/* 8028C774 002896D4 48 00 00 9C */ b lbl_8028C810 +lbl_8028C778: +/* 8028C778 002896D8 2C 00 00 04 */ cmpwi r0, 4 +/* 8028C77C 002896DC 40 80 00 94 */ bge lbl_8028C810 +/* 8028C780 002896E0 48 00 00 70 */ b lbl_8028C7F0 +lbl_8028C784: +/* 8028C784 002896E4 7C 85 23 78 */ mr r5, r4 +/* 8028C788 002896E8 38 80 00 08 */ li r4, 8 +/* 8028C78C 002896EC 38 C0 FF FF */ li r6, -1 +/* 8028C790 002896F0 4B DC 49 31 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C794 002896F4 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C798 002896F8 88 64 00 01 */ lbz r3, 1(r4) +/* 8028C79C 002896FC 38 03 00 01 */ addi r0, r3, 1 +/* 8028C7A0 00289700 98 04 00 01 */ stb r0, 1(r4) +/* 8028C7A4 00289704 48 00 00 6C */ b lbl_8028C810 +lbl_8028C7A8: +/* 8028C7A8 00289708 7C 85 23 78 */ mr r5, r4 +/* 8028C7AC 0028970C 38 80 00 0B */ li r4, 0xb +/* 8028C7B0 00289710 38 C0 FF FF */ li r6, -1 +/* 8028C7B4 00289714 4B DC 49 0D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C7B8 00289718 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C7BC 0028971C 88 64 00 02 */ lbz r3, 2(r4) +/* 8028C7C0 00289720 38 03 00 01 */ addi r0, r3, 1 +/* 8028C7C4 00289724 98 04 00 02 */ stb r0, 2(r4) +/* 8028C7C8 00289728 48 00 00 48 */ b lbl_8028C810 +lbl_8028C7CC: +/* 8028C7CC 0028972C 7C 85 23 78 */ mr r5, r4 +/* 8028C7D0 00289730 38 80 00 02 */ li r4, 2 +/* 8028C7D4 00289734 38 C0 FF FF */ li r6, -1 +/* 8028C7D8 00289738 4B DC 48 E9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C7DC 0028973C 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C7E0 00289740 88 64 00 00 */ lbz r3, 0(r4) +/* 8028C7E4 00289744 38 03 00 01 */ addi r0, r3, 1 +/* 8028C7E8 00289748 98 04 00 00 */ stb r0, 0(r4) +/* 8028C7EC 0028974C 48 00 00 24 */ b lbl_8028C810 +lbl_8028C7F0: +/* 8028C7F0 00289750 7C 85 23 78 */ mr r5, r4 +/* 8028C7F4 00289754 38 80 00 19 */ li r4, 0x19 +/* 8028C7F8 00289758 38 C0 FF FF */ li r6, -1 +/* 8028C7FC 0028975C 4B DC 48 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C800 00289760 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C804 00289764 88 64 00 03 */ lbz r3, 3(r4) +/* 8028C808 00289768 38 03 00 01 */ addi r0, r3, 1 +/* 8028C80C 0028976C 98 04 00 03 */ stb r0, 3(r4) +lbl_8028C810: +/* 8028C810 00289770 C0 02 BE C4 */ lfs f0, lbl_805ADBE4@sda21(r2) +/* 8028C814 00289774 D0 1F 0A B0 */ stfs f0, 0xab0(r31) +lbl_8028C818: +/* 8028C818 00289778 C0 1F 0A B0 */ lfs f0, 0xab0(r31) +/* 8028C81C 0028977C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8028C820 00289780 D0 1F 0A B0 */ stfs f0, 0xab0(r31) +lbl_8028C824: +/* 8028C824 00289784 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8028C828 00289788 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028C82C 0028978C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8028C830 00289790 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028C834 00289794 7C 08 03 A6 */ mtlr r0 +/* 8028C838 00289798 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028C83C 0028979C 4E 80 00 20 */ blr + +.global sub_8028c840 +sub_8028c840: +/* 8028C840 002897A0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028C844 002897A4 7C 08 02 A6 */ mflr r0 +/* 8028C848 002897A8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028C84C 002897AC 38 00 00 00 */ li r0, 0 +/* 8028C850 002897B0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8028C854 002897B4 7C BF 2B 78 */ mr r31, r5 +/* 8028C858 002897B8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028C85C 002897BC 7C 7E 1B 78 */ mr r30, r3 +/* 8028C860 002897C0 38 61 00 40 */ addi r3, r1, 0x40 +/* 8028C864 002897C4 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8028C868 002897C8 93 81 00 50 */ stw r28, 0x50(r1) +/* 8028C86C 002897CC 90 81 00 08 */ stw r4, 8(r1) +/* 8028C870 002897D0 38 80 00 04 */ li r4, 4 +/* 8028C874 002897D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028C878 002897D8 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028C87C 002897DC 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8028C880 002897E0 4B F4 99 7D */ bl "reserve__Q24rstl37vectorFi" +/* 8028C884 002897E4 38 00 00 04 */ li r0, 4 +/* 8028C888 002897E8 83 9E 0A B8 */ lwz r28, 0xab8(r30) +/* 8028C88C 002897EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028C890 002897F0 90 01 00 38 */ stw r0, 0x38(r1) +/* 8028C894 002897F4 48 00 00 0C */ b lbl_8028C8A0 +/* 8028C898 002897F8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8028C89C 002897FC 48 00 00 20 */ b lbl_8028C8BC +lbl_8028C8A0: +/* 8028C8A0 00289800 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028C8A4 00289804 38 60 00 04 */ li r3, 4 +/* 8028C8A8 00289808 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028C8AC 0028980C 38 A0 00 00 */ li r5, 0 +/* 8028C8B0 00289810 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028C8B4 00289814 48 08 8F 65 */ bl __nwa__FUlPCcPCc +/* 8028C8B8 00289818 90 61 00 3C */ stw r3, 0x3c(r1) +lbl_8028C8BC: +/* 8028C8BC 0028981C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8028C8C0 00289820 28 03 00 00 */ cmplwi r3, 0 +/* 8028C8C4 00289824 41 82 00 0C */ beq lbl_8028C8D0 +/* 8028C8C8 00289828 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8CC 0028982C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C8D0: +/* 8028C8D0 00289830 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C8D4 00289834 41 82 00 0C */ beq lbl_8028C8E0 +/* 8028C8D8 00289838 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8DC 0028983C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C8E0: +/* 8028C8E0 00289840 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C8E4 00289844 41 82 00 0C */ beq lbl_8028C8F0 +/* 8028C8E8 00289848 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8EC 0028984C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C8F0: +/* 8028C8F0 00289850 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C8F4 00289854 41 82 00 0C */ beq lbl_8028C900 +/* 8028C8F8 00289858 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8FC 0028985C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C900: +/* 8028C900 00289860 28 1C 00 00 */ cmplwi r28, 0 +/* 8028C904 00289864 80 E1 00 3C */ lwz r7, 0x3c(r1) +/* 8028C908 00289868 7F 83 E3 78 */ mr r3, r28 +/* 8028C90C 0028986C 38 80 00 00 */ li r4, 0 +/* 8028C910 00289870 40 81 00 FC */ ble lbl_8028CA0C +/* 8028C914 00289874 57 80 E8 FF */ rlwinm. r0, r28, 0x1d, 3, 0x1f +/* 8028C918 00289878 7C 09 03 A6 */ mtctr r0 +/* 8028C91C 0028987C 41 82 00 D0 */ beq lbl_8028C9EC +lbl_8028C920: +/* 8028C920 00289880 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C924 00289884 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C928 00289888 38 84 00 04 */ addi r4, r4, 4 +/* 8028C92C 0028988C 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C930 00289890 38 05 00 01 */ addi r0, r5, 1 +/* 8028C934 00289894 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C938 00289898 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C93C 0028989C 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C940 002898A0 38 84 00 04 */ addi r4, r4, 4 +/* 8028C944 002898A4 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C948 002898A8 38 05 00 01 */ addi r0, r5, 1 +/* 8028C94C 002898AC 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C950 002898B0 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C954 002898B4 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C958 002898B8 38 84 00 04 */ addi r4, r4, 4 +/* 8028C95C 002898BC 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C960 002898C0 38 05 00 01 */ addi r0, r5, 1 +/* 8028C964 002898C4 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C968 002898C8 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C96C 002898CC 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C970 002898D0 38 84 00 04 */ addi r4, r4, 4 +/* 8028C974 002898D4 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C978 002898D8 38 05 00 01 */ addi r0, r5, 1 +/* 8028C97C 002898DC 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C980 002898E0 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C984 002898E4 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C988 002898E8 38 84 00 04 */ addi r4, r4, 4 +/* 8028C98C 002898EC 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C990 002898F0 38 05 00 01 */ addi r0, r5, 1 +/* 8028C994 002898F4 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C998 002898F8 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C99C 002898FC 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9A0 00289900 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9A4 00289904 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C9A8 00289908 38 05 00 01 */ addi r0, r5, 1 +/* 8028C9AC 0028990C 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C9B0 00289910 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C9B4 00289914 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9B8 00289918 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9BC 0028991C 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C9C0 00289920 38 05 00 01 */ addi r0, r5, 1 +/* 8028C9C4 00289924 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C9C8 00289928 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C9CC 0028992C 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9D0 00289930 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9D4 00289934 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C9D8 00289938 38 05 00 01 */ addi r0, r5, 1 +/* 8028C9DC 0028993C 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C9E0 00289940 42 00 FF 40 */ bdnz lbl_8028C920 +/* 8028C9E4 00289944 70 63 00 07 */ andi. r3, r3, 7 +/* 8028C9E8 00289948 41 82 00 24 */ beq lbl_8028CA0C +lbl_8028C9EC: +/* 8028C9EC 0028994C 7C 69 03 A6 */ mtctr r3 +lbl_8028C9F0: +/* 8028C9F0 00289950 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C9F4 00289954 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9F8 00289958 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9FC 0028995C 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028CA00 00289960 38 05 00 01 */ addi r0, r5, 1 +/* 8028CA04 00289964 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028CA08 00289968 42 00 FF E8 */ bdnz lbl_8028C9F0 +lbl_8028CA0C: +/* 8028CA0C 0028996C 3B 80 00 00 */ li r28, 0 +lbl_8028CA10: +/* 8028CA10 00289970 80 7E 0B 88 */ lwz r3, 0xb88(r30) +/* 8028CA14 00289974 7C 03 E0 AE */ lbzx r0, r3, r28 +/* 8028CA18 00289978 28 00 00 00 */ cmplwi r0, 0 +/* 8028CA1C 0028997C 40 82 00 14 */ bne lbl_8028CA30 +/* 8028CA20 00289980 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8028CA24 00289984 7C 03 E0 AE */ lbzx r0, r3, r28 +/* 8028CA28 00289988 28 00 00 00 */ cmplwi r0, 0 +/* 8028CA2C 0028998C 41 82 00 50 */ beq lbl_8028CA7C +lbl_8028CA30: +/* 8028CA30 00289990 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028CA34 00289994 57 9D 06 3E */ clrlwi r29, r28, 0x18 +/* 8028CA38 00289998 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 8028CA3C 0028999C 7C 00 28 00 */ cmpw r0, r5 +/* 8028CA40 002899A0 41 80 00 1C */ blt lbl_8028CA5C +/* 8028CA44 002899A4 2C 05 00 00 */ cmpwi r5, 0 +/* 8028CA48 002899A8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8028CA4C 002899AC 38 80 00 04 */ li r4, 4 +/* 8028CA50 002899B0 41 82 00 08 */ beq lbl_8028CA58 +/* 8028CA54 002899B4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028CA58: +/* 8028CA58 002899B8 4B F4 97 A5 */ bl "reserve__Q24rstl37vectorFi" +lbl_8028CA5C: +/* 8028CA5C 002899BC 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8028CA60 002899C0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028CA64 002899C4 7C 63 02 15 */ add. r3, r3, r0 +/* 8028CA68 002899C8 41 82 00 08 */ beq lbl_8028CA70 +/* 8028CA6C 002899CC 9B A3 00 00 */ stb r29, 0(r3) +lbl_8028CA70: +/* 8028CA70 002899D0 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8028CA74 002899D4 38 03 00 01 */ addi r0, r3, 1 +/* 8028CA78 002899D8 90 01 00 44 */ stw r0, 0x44(r1) +lbl_8028CA7C: +/* 8028CA7C 002899DC 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028CA80 002899E0 28 1C 00 04 */ cmplwi r28, 4 +/* 8028CA84 002899E4 41 80 FF 8C */ blt lbl_8028CA10 +/* 8028CA88 002899E8 83 81 00 44 */ lwz r28, 0x44(r1) +/* 8028CA8C 002899EC 2C 1C 00 00 */ cmpwi r28, 0 +/* 8028CA90 002899F0 40 81 00 B4 */ ble lbl_8028CB44 +/* 8028CA94 002899F4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8028CA98 002899F8 48 08 5A 89 */ bl Next__9CRandom16Fv +/* 8028CA9C 002899FC 7C 03 E3 96 */ divwu r0, r3, r28 +/* 8028CAA0 00289A00 80 81 00 4C */ lwz r4, 0x4c(r1) +/* 8028CAA4 00289A04 83 BE 0A B8 */ lwz r29, 0xab8(r30) +/* 8028CAA8 00289A08 7C 00 E1 D6 */ mullw r0, r0, r28 +/* 8028CAAC 00289A0C 7C 00 18 50 */ subf r0, r0, r3 +/* 8028CAB0 00289A10 7F C3 F3 78 */ mr r3, r30 +/* 8028CAB4 00289A14 7F 84 00 AE */ lbzx r28, r4, r0 +/* 8028CAB8 00289A18 4B FF F7 79 */ bl sub_8028c230 +/* 8028CABC 00289A1C 7C 7D 1A 14 */ add r3, r29, r3 +/* 8028CAC0 00289A20 80 01 00 08 */ lwz r0, 8(r1) +/* 8028CAC4 00289A24 20 83 00 03 */ subfic r4, r3, 3 +/* 8028CAC8 00289A28 38 61 00 08 */ addi r3, r1, 8 +/* 8028CACC 00289A2C 7C 04 00 40 */ cmplw r4, r0 +/* 8028CAD0 00289A30 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8028CAD4 00289A34 40 80 00 08 */ bge lbl_8028CADC +/* 8028CAD8 00289A38 38 61 00 2C */ addi r3, r1, 0x2c +lbl_8028CADC: +/* 8028CADC 00289A3C 83 A3 00 00 */ lwz r29, 0(r3) +/* 8028CAE0 00289A40 3B E0 00 00 */ li r31, 0 +/* 8028CAE4 00289A44 48 00 00 54 */ b lbl_8028CB38 +lbl_8028CAE8: +/* 8028CAE8 00289A48 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 8028CAEC 00289A4C 80 BE 0A BC */ lwz r5, 0xabc(r30) +/* 8028CAF0 00289A50 7C 00 28 00 */ cmpw r0, r5 +/* 8028CAF4 00289A54 41 80 00 1C */ blt lbl_8028CB10 +/* 8028CAF8 00289A58 2C 05 00 00 */ cmpwi r5, 0 +/* 8028CAFC 00289A5C 38 7E 0A B4 */ addi r3, r30, 0xab4 +/* 8028CB00 00289A60 38 80 00 04 */ li r4, 4 +/* 8028CB04 00289A64 41 82 00 08 */ beq lbl_8028CB0C +/* 8028CB08 00289A68 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028CB0C: +/* 8028CB0C 00289A6C 48 00 59 E5 */ bl sub_802924f0 +lbl_8028CB10: +/* 8028CB10 00289A70 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 8028CB14 00289A74 80 7E 0A C0 */ lwz r3, 0xac0(r30) +/* 8028CB18 00289A78 54 00 10 3A */ slwi r0, r0, 2 +/* 8028CB1C 00289A7C 7C 63 02 15 */ add. r3, r3, r0 +/* 8028CB20 00289A80 41 82 00 08 */ beq lbl_8028CB28 +/* 8028CB24 00289A84 93 83 00 00 */ stw r28, 0(r3) +lbl_8028CB28: +/* 8028CB28 00289A88 80 7E 0A B8 */ lwz r3, 0xab8(r30) +/* 8028CB2C 00289A8C 3B FF 00 01 */ addi r31, r31, 1 +/* 8028CB30 00289A90 38 03 00 01 */ addi r0, r3, 1 +/* 8028CB34 00289A94 90 1E 0A B8 */ stw r0, 0xab8(r30) +lbl_8028CB38: +/* 8028CB38 00289A98 7C 1F E8 00 */ cmpw r31, r29 +/* 8028CB3C 00289A9C 41 80 FF AC */ blt lbl_8028CAE8 +/* 8028CB40 00289AA0 48 00 00 14 */ b lbl_8028CB54 +lbl_8028CB44: +/* 8028CB44 00289AA4 80 81 00 08 */ lwz r4, 8(r1) +/* 8028CB48 00289AA8 7F C3 F3 78 */ mr r3, r30 +/* 8028CB4C 00289AAC 7F E5 FB 78 */ mr r5, r31 +/* 8028CB50 00289AB0 48 00 00 9D */ bl sub_8028cbec +lbl_8028CB54: +/* 8028CB54 00289AB4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8028CB58 00289AB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028CB5C 00289ABC 90 61 00 20 */ stw r3, 0x20(r1) +/* 8028CB60 00289AC0 7C 83 02 14 */ add r4, r3, r0 +/* 8028CB64 00289AC4 7C 03 20 50 */ subf r0, r3, r4 +/* 8028CB68 00289AC8 90 81 00 28 */ stw r4, 0x28(r1) +/* 8028CB6C 00289ACC 90 81 00 24 */ stw r4, 0x24(r1) +/* 8028CB70 00289AD0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8028CB74 00289AD4 7C 09 03 A6 */ mtctr r0 +/* 8028CB78 00289AD8 7C 03 20 40 */ cmplw r3, r4 +/* 8028CB7C 00289ADC 41 82 00 08 */ beq lbl_8028CB84 +lbl_8028CB80: +/* 8028CB80 00289AE0 42 00 00 00 */ bdnz lbl_8028CB80 +lbl_8028CB84: +/* 8028CB84 00289AE4 28 03 00 00 */ cmplwi r3, 0 +/* 8028CB88 00289AE8 41 82 00 08 */ beq lbl_8028CB90 +/* 8028CB8C 00289AEC 48 08 8D A5 */ bl Free__7CMemoryFPCv +lbl_8028CB90: +/* 8028CB90 00289AF0 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8028CB94 00289AF4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028CB98 00289AF8 90 61 00 10 */ stw r3, 0x10(r1) +/* 8028CB9C 00289AFC 7C 83 02 14 */ add r4, r3, r0 +/* 8028CBA0 00289B00 7C 03 20 50 */ subf r0, r3, r4 +/* 8028CBA4 00289B04 90 81 00 18 */ stw r4, 0x18(r1) +/* 8028CBA8 00289B08 90 81 00 14 */ stw r4, 0x14(r1) +/* 8028CBAC 00289B0C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8028CBB0 00289B10 7C 09 03 A6 */ mtctr r0 +/* 8028CBB4 00289B14 7C 03 20 40 */ cmplw r3, r4 +/* 8028CBB8 00289B18 41 82 00 08 */ beq lbl_8028CBC0 +lbl_8028CBBC: +/* 8028CBBC 00289B1C 42 00 00 00 */ bdnz lbl_8028CBBC +lbl_8028CBC0: +/* 8028CBC0 00289B20 28 03 00 00 */ cmplwi r3, 0 +/* 8028CBC4 00289B24 41 82 00 08 */ beq lbl_8028CBCC +/* 8028CBC8 00289B28 48 08 8D 69 */ bl Free__7CMemoryFPCv +lbl_8028CBCC: +/* 8028CBCC 00289B2C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028CBD0 00289B30 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8028CBD4 00289B34 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8028CBD8 00289B38 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028CBDC 00289B3C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8028CBE0 00289B40 7C 08 03 A6 */ mtlr r0 +/* 8028CBE4 00289B44 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028CBE8 00289B48 4E 80 00 20 */ blr + +.global sub_8028cbec +sub_8028cbec: +/* 8028CBEC 00289B4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028CBF0 00289B50 7C 08 02 A6 */ mflr r0 +/* 8028CBF4 00289B54 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028CBF8 00289B58 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028CBFC 00289B5C 7C 7F 1B 78 */ mr r31, r3 +/* 8028CC00 00289B60 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028CC04 00289B64 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8028CC08 00289B68 93 81 00 10 */ stw r28, 0x10(r1) +/* 8028CC0C 00289B6C 7C BC 2B 78 */ mr r28, r5 +/* 8028CC10 00289B70 90 81 00 08 */ stw r4, 8(r1) +/* 8028CC14 00289B74 80 65 09 00 */ lwz r3, 0x900(r5) +/* 8028CC18 00289B78 48 08 59 09 */ bl Next__9CRandom16Fv +/* 8028CC1C 00289B7C 54 60 F0 02 */ slwi r0, r3, 0x1e +/* 8028CC20 00289B80 54 64 0F FE */ srwi r4, r3, 0x1f +/* 8028CC24 00289B84 7C 04 00 50 */ subf r0, r4, r0 +/* 8028CC28 00289B88 83 DF 0A B8 */ lwz r30, 0xab8(r31) +/* 8028CC2C 00289B8C 54 00 10 3E */ rotlwi r0, r0, 2 +/* 8028CC30 00289B90 7F E3 FB 78 */ mr r3, r31 +/* 8028CC34 00289B94 7F A0 22 14 */ add r29, r0, r4 +/* 8028CC38 00289B98 4B FF F5 F9 */ bl sub_8028c230 +/* 8028CC3C 00289B9C 7C 7E 1A 14 */ add r3, r30, r3 +/* 8028CC40 00289BA0 80 01 00 08 */ lwz r0, 8(r1) +/* 8028CC44 00289BA4 20 83 00 03 */ subfic r4, r3, 3 +/* 8028CC48 00289BA8 38 61 00 08 */ addi r3, r1, 8 +/* 8028CC4C 00289BAC 7C 04 00 40 */ cmplw r4, r0 +/* 8028CC50 00289BB0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028CC54 00289BB4 40 80 00 08 */ bge lbl_8028CC5C +/* 8028CC58 00289BB8 38 61 00 0C */ addi r3, r1, 0xc +lbl_8028CC5C: +/* 8028CC5C 00289BBC 83 C3 00 00 */ lwz r30, 0(r3) +/* 8028CC60 00289BC0 7F E3 FB 78 */ mr r3, r31 +/* 8028CC64 00289BC4 4B FF F3 49 */ bl sub_8028bfac +/* 8028CC68 00289BC8 28 03 00 02 */ cmplwi r3, 2 +/* 8028CC6C 00289BCC 40 80 00 68 */ bge lbl_8028CCD4 +/* 8028CC70 00289BD0 3B 80 00 00 */ li r28, 0 +/* 8028CC74 00289BD4 48 00 00 54 */ b lbl_8028CCC8 +lbl_8028CC78: +/* 8028CC78 00289BD8 80 1F 0A B8 */ lwz r0, 0xab8(r31) +/* 8028CC7C 00289BDC 80 BF 0A BC */ lwz r5, 0xabc(r31) +/* 8028CC80 00289BE0 7C 00 28 00 */ cmpw r0, r5 +/* 8028CC84 00289BE4 41 80 00 1C */ blt lbl_8028CCA0 +/* 8028CC88 00289BE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028CC8C 00289BEC 38 7F 0A B4 */ addi r3, r31, 0xab4 +/* 8028CC90 00289BF0 38 80 00 04 */ li r4, 4 +/* 8028CC94 00289BF4 41 82 00 08 */ beq lbl_8028CC9C +/* 8028CC98 00289BF8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028CC9C: +/* 8028CC9C 00289BFC 48 00 58 55 */ bl sub_802924f0 +lbl_8028CCA0: +/* 8028CCA0 00289C00 80 1F 0A B8 */ lwz r0, 0xab8(r31) +/* 8028CCA4 00289C04 80 7F 0A C0 */ lwz r3, 0xac0(r31) +/* 8028CCA8 00289C08 54 00 10 3A */ slwi r0, r0, 2 +/* 8028CCAC 00289C0C 7C 63 02 15 */ add. r3, r3, r0 +/* 8028CCB0 00289C10 41 82 00 08 */ beq lbl_8028CCB8 +/* 8028CCB4 00289C14 93 A3 00 00 */ stw r29, 0(r3) +lbl_8028CCB8: +/* 8028CCB8 00289C18 80 7F 0A B8 */ lwz r3, 0xab8(r31) +/* 8028CCBC 00289C1C 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028CCC0 00289C20 38 03 00 01 */ addi r0, r3, 1 +/* 8028CCC4 00289C24 90 1F 0A B8 */ stw r0, 0xab8(r31) +lbl_8028CCC8: +/* 8028CCC8 00289C28 7C 1C F0 00 */ cmpw r28, r30 +/* 8028CCCC 00289C2C 41 80 FF AC */ blt lbl_8028CC78 +/* 8028CCD0 00289C30 48 00 00 14 */ b lbl_8028CCE4 +lbl_8028CCD4: +/* 8028CCD4 00289C34 7F E3 FB 78 */ mr r3, r31 +/* 8028CCD8 00289C38 7F C4 F3 78 */ mr r4, r30 +/* 8028CCDC 00289C3C 7F 85 E3 78 */ mr r5, r28 +/* 8028CCE0 00289C40 4B FF FB 61 */ bl sub_8028c840 +lbl_8028CCE4: +/* 8028CCE4 00289C44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028CCE8 00289C48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028CCEC 00289C4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028CCF0 00289C50 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8028CCF4 00289C54 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8028CCF8 00289C58 7C 08 03 A6 */ mtlr r0 +/* 8028CCFC 00289C5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028CD00 00289C60 4E 80 00 20 */ blr + +.global sub_8028cd04 +sub_8028cd04: +/* 8028CD04 00289C64 80 03 0A 7C */ lwz r0, 0xa7c(r3) +/* 8028CD08 00289C68 2C 00 00 02 */ cmpwi r0, 2 +/* 8028CD0C 00289C6C 41 82 00 D4 */ beq lbl_8028CDE0 +/* 8028CD10 00289C70 40 80 00 10 */ bge lbl_8028CD20 +/* 8028CD14 00289C74 2C 00 00 01 */ cmpwi r0, 1 +/* 8028CD18 00289C78 40 80 00 70 */ bge lbl_8028CD88 +/* 8028CD1C 00289C7C 48 00 01 04 */ b lbl_8028CE20 +lbl_8028CD20: +/* 8028CD20 00289C80 2C 00 00 04 */ cmpwi r0, 4 +/* 8028CD24 00289C84 40 80 00 FC */ bge lbl_8028CE20 +/* 8028CD28 00289C88 C0 63 0A 8C */ lfs f3, 0xa8c(r3) +/* 8028CD2C 00289C8C C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CD30 00289C90 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8028CD34 00289C94 40 80 00 0C */ bge lbl_8028CD40 +/* 8028CD38 00289C98 38 83 0A 8C */ addi r4, r3, 0xa8c +/* 8028CD3C 00289C9C 48 00 00 08 */ b lbl_8028CD44 +lbl_8028CD40: +/* 8028CD40 00289CA0 38 83 0A 84 */ addi r4, r3, 0xa84 +lbl_8028CD44: +/* 8028CD44 00289CA4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8028CD48 00289CA8 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028CD4C 00289CAC EC 00 18 24 */ fdivs f0, f0, f3 +/* 8028CD50 00289CB0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8028CD54 00289CB4 D0 03 0A 80 */ stfs f0, 0xa80(r3) +/* 8028CD58 00289CB8 C0 43 0A 84 */ lfs f2, 0xa84(r3) +/* 8028CD5C 00289CBC C0 03 0A 8C */ lfs f0, 0xa8c(r3) +/* 8028CD60 00289CC0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CD64 00289CC4 40 81 00 14 */ ble lbl_8028CD78 +/* 8028CD68 00289CC8 38 00 00 02 */ li r0, 2 +/* 8028CD6C 00289CCC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028CD70 00289CD0 90 03 0A 7C */ stw r0, 0xa7c(r3) +/* 8028CD74 00289CD4 D0 03 0A 84 */ stfs f0, 0xa84(r3) +lbl_8028CD78: +/* 8028CD78 00289CD8 C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CD7C 00289CDC EC 00 08 2A */ fadds f0, f0, f1 +/* 8028CD80 00289CE0 D0 03 0A 84 */ stfs f0, 0xa84(r3) +/* 8028CD84 00289CE4 4E 80 00 20 */ blr +lbl_8028CD88: +/* 8028CD88 00289CE8 C0 43 0A 90 */ lfs f2, 0xa90(r3) +/* 8028CD8C 00289CEC C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CD90 00289CF0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CD94 00289CF4 40 80 00 0C */ bge lbl_8028CDA0 +/* 8028CD98 00289CF8 38 83 0A 90 */ addi r4, r3, 0xa90 +/* 8028CD9C 00289CFC 48 00 00 08 */ b lbl_8028CDA4 +lbl_8028CDA0: +/* 8028CDA0 00289D00 38 83 0A 84 */ addi r4, r3, 0xa84 +lbl_8028CDA4: +/* 8028CDA4 00289D04 C0 04 00 00 */ lfs f0, 0(r4) +/* 8028CDA8 00289D08 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8028CDAC 00289D0C D0 03 0A 80 */ stfs f0, 0xa80(r3) +/* 8028CDB0 00289D10 C0 43 0A 84 */ lfs f2, 0xa84(r3) +/* 8028CDB4 00289D14 C0 03 0A 90 */ lfs f0, 0xa90(r3) +/* 8028CDB8 00289D18 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CDBC 00289D1C 40 81 00 14 */ ble lbl_8028CDD0 +/* 8028CDC0 00289D20 38 00 00 00 */ li r0, 0 +/* 8028CDC4 00289D24 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028CDC8 00289D28 90 03 0A 7C */ stw r0, 0xa7c(r3) +/* 8028CDCC 00289D2C D0 03 0A 84 */ stfs f0, 0xa84(r3) +lbl_8028CDD0: +/* 8028CDD0 00289D30 C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CDD4 00289D34 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028CDD8 00289D38 D0 03 0A 84 */ stfs f0, 0xa84(r3) +/* 8028CDDC 00289D3C 4E 80 00 20 */ blr +lbl_8028CDE0: +/* 8028CDE0 00289D40 C0 62 BE 9C */ lfs f3, lbl_805ADBBC@sda21(r2) +/* 8028CDE4 00289D44 D0 63 0A 80 */ stfs f3, 0xa80(r3) +/* 8028CDE8 00289D48 C0 43 0A 84 */ lfs f2, 0xa84(r3) +/* 8028CDEC 00289D4C C0 03 0A 94 */ lfs f0, 0xa94(r3) +/* 8028CDF0 00289D50 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CDF4 00289D54 40 81 00 1C */ ble lbl_8028CE10 +/* 8028CDF8 00289D58 88 03 0A 88 */ lbz r0, 0xa88(r3) +/* 8028CDFC 00289D5C 28 00 00 00 */ cmplwi r0, 0 +/* 8028CE00 00289D60 40 82 00 10 */ bne lbl_8028CE10 +/* 8028CE04 00289D64 38 00 00 01 */ li r0, 1 +/* 8028CE08 00289D68 90 03 0A 7C */ stw r0, 0xa7c(r3) +/* 8028CE0C 00289D6C D0 63 0A 84 */ stfs f3, 0xa84(r3) +lbl_8028CE10: +/* 8028CE10 00289D70 C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CE14 00289D74 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028CE18 00289D78 D0 03 0A 84 */ stfs f0, 0xa84(r3) +/* 8028CE1C 00289D7C 4E 80 00 20 */ blr +lbl_8028CE20: +/* 8028CE20 00289D80 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028CE24 00289D84 D0 03 0A 80 */ stfs f0, 0xa80(r3) +/* 8028CE28 00289D88 4E 80 00 20 */ blr + +.global sub_8028ce2c +sub_8028ce2c: +/* 8028CE2C 00289D8C 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8028CE30 00289D90 7C 08 02 A6 */ mflr r0 +/* 8028CE34 00289D94 90 01 01 44 */ stw r0, 0x144(r1) +/* 8028CE38 00289D98 BF 21 01 24 */ stmw r25, 0x124(r1) +/* 8028CE3C 00289D9C 7C B9 2B 78 */ mr r25, r5 +/* 8028CE40 00289DA0 7C DA 33 78 */ mr r26, r6 +/* 8028CE44 00289DA4 7C 9E 23 78 */ mr r30, r4 +/* 8028CE48 00289DA8 3B A1 00 B8 */ addi r29, r1, 0xb8 +/* 8028CE4C 00289DAC 3B 81 00 FC */ addi r28, r1, 0xfc +/* 8028CE50 00289DB0 3B 60 00 00 */ li r27, 0 +/* 8028CE54 00289DB4 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028CE58 00289DB8 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8028CE5C 00289DBC 48 00 01 D8 */ b lbl_8028D034 +lbl_8028CE60: +/* 8028CE60 00289DC0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8028CE64 00289DC4 38 61 00 7C */ addi r3, r1, 0x7c +/* 8028CE68 00289DC8 4B D7 7E 51 */ bl string_l__4rstlFPCc +/* 8028CE6C 00289DCC 7F E4 FB 78 */ mr r4, r31 +/* 8028CE70 00289DD0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028CE74 00289DD4 38 A1 00 7C */ addi r5, r1, 0x7c +/* 8028CE78 00289DD8 4B DA 19 C1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CE7C 00289DDC 88 01 00 18 */ lbz r0, 0x18(r1) +/* 8028CE80 00289DE0 38 61 00 7C */ addi r3, r1, 0x7c +/* 8028CE84 00289DE4 98 01 00 20 */ stb r0, 0x20(r1) +/* 8028CE88 00289DE8 48 0B 0C 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028CE8C 00289DEC 80 9E 00 04 */ lwz r4, 4(r30) +/* 8028CE90 00289DF0 38 61 00 6C */ addi r3, r1, 0x6c +/* 8028CE94 00289DF4 4B D7 7E 25 */ bl string_l__4rstlFPCc +/* 8028CE98 00289DF8 7F E4 FB 78 */ mr r4, r31 +/* 8028CE9C 00289DFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028CEA0 00289E00 38 A1 00 6C */ addi r5, r1, 0x6c +/* 8028CEA4 00289E04 4B DA 19 95 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CEA8 00289E08 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8028CEAC 00289E0C 38 61 00 6C */ addi r3, r1, 0x6c +/* 8028CEB0 00289E10 98 01 00 1C */ stb r0, 0x1c(r1) +/* 8028CEB4 00289E14 48 0B 0C 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028CEB8 00289E18 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8028CEBC 00289E1C 28 00 00 FF */ cmplwi r0, 0xff +/* 8028CEC0 00289E20 41 82 01 6C */ beq lbl_8028D02C +/* 8028CEC4 00289E24 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 8028CEC8 00289E28 28 00 00 FF */ cmplwi r0, 0xff +/* 8028CECC 00289E2C 41 82 01 60 */ beq lbl_8028D02C +/* 8028CED0 00289E30 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028CED4 00289E34 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028CED8 00289E38 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028CEDC 00289E3C 38 C1 00 08 */ addi r6, r1, 8 +/* 8028CEE0 00289E40 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8028CEE4 00289E44 38 A0 FF FF */ li r5, -1 +/* 8028CEE8 00289E48 48 0B 12 AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8028CEEC 00289E4C 7F 64 DB 78 */ mr r4, r27 +/* 8028CEF0 00289E50 38 61 00 34 */ addi r3, r1, 0x34 +/* 8028CEF4 00289E54 48 0B 19 A1 */ bl CreateFromInteger__13CStringExtrasFi +/* 8028CEF8 00289E58 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028CEFC 00289E5C 38 81 00 44 */ addi r4, r1, 0x44 +/* 8028CF00 00289E60 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8028CF04 00289E64 4B D7 7D 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CF08 00289E68 C0 BE 00 10 */ lfs f5, 0x10(r30) +/* 8028CF0C 00289E6C 38 61 00 8C */ addi r3, r1, 0x8c +/* 8028CF10 00289E70 C0 9E 00 0C */ lfs f4, 0xc(r30) +/* 8028CF14 00289E74 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028CF18 00289E78 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028CF1C 00289E7C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8028CF20 00289E80 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8028CF24 00289E84 38 C1 00 60 */ addi r6, r1, 0x60 +/* 8028CF28 00289E88 EC 44 00 32 */ fmuls f2, f4, f0 +/* 8028CF2C 00289E8C 89 21 00 1C */ lbz r9, 0x1c(r1) +/* 8028CF30 00289E90 EC 61 00 32 */ fmuls f3, f1, f0 +/* 8028CF34 00289E94 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8028CF38 00289E98 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8028CF3C 00289E9C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8028CF40 00289EA0 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8028CF44 00289EA4 39 01 00 24 */ addi r8, r1, 0x24 +/* 8028CF48 00289EA8 C0 22 BE C8 */ lfs f1, lbl_805ADBE8@sda21(r2) +/* 8028CF4C 00289EAC 38 E0 00 01 */ li r7, 1 +/* 8028CF50 00289EB0 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 8028CF54 00289EB4 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 8028CF58 00289EB8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8028CF5C 00289EBC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8028CF60 00289EC0 99 21 00 0C */ stb r9, 0xc(r1) +/* 8028CF64 00289EC4 98 01 00 10 */ stb r0, 0x10(r1) +/* 8028CF68 00289EC8 4B F1 B6 6D */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 8028CF6C 00289ECC 80 E1 00 8C */ lwz r7, 0x8c(r1) +/* 8028CF70 00289ED0 7F 83 E3 78 */ mr r3, r28 +/* 8028CF74 00289ED4 80 C1 00 90 */ lwz r6, 0x90(r1) +/* 8028CF78 00289ED8 7F A4 EB 78 */ mr r4, r29 +/* 8028CF7C 00289EDC 88 A1 00 94 */ lbz r5, 0x94(r1) +/* 8028CF80 00289EE0 88 01 00 95 */ lbz r0, 0x95(r1) +/* 8028CF84 00289EE4 C0 E1 00 98 */ lfs f7, 0x98(r1) +/* 8028CF88 00289EE8 C0 C1 00 9C */ lfs f6, 0x9c(r1) +/* 8028CF8C 00289EEC C0 A1 00 A0 */ lfs f5, 0xa0(r1) +/* 8028CF90 00289EF0 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 8028CF94 00289EF4 C0 61 00 A8 */ lfs f3, 0xa8(r1) +/* 8028CF98 00289EF8 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8028CF9C 00289EFC C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 8028CFA0 00289F00 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 8028CFA4 00289F04 90 E1 00 D0 */ stw r7, 0xd0(r1) +/* 8028CFA8 00289F08 90 C1 00 D4 */ stw r6, 0xd4(r1) +/* 8028CFAC 00289F0C 98 A1 00 D8 */ stb r5, 0xd8(r1) +/* 8028CFB0 00289F10 98 01 00 D9 */ stb r0, 0xd9(r1) +/* 8028CFB4 00289F14 D0 E1 00 DC */ stfs f7, 0xdc(r1) +/* 8028CFB8 00289F18 D0 C1 00 E0 */ stfs f6, 0xe0(r1) +/* 8028CFBC 00289F1C D0 A1 00 E4 */ stfs f5, 0xe4(r1) +/* 8028CFC0 00289F20 D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 8028CFC4 00289F24 D0 61 00 EC */ stfs f3, 0xec(r1) +/* 8028CFC8 00289F28 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 8028CFCC 00289F2C D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 8028CFD0 00289F30 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 8028CFD4 00289F34 48 0B 11 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CFD8 00289F38 A0 01 00 C8 */ lhz r0, 0xc8(r1) +/* 8028CFDC 00289F3C 28 1D 00 00 */ cmplwi r29, 0 +/* 8028CFE0 00289F40 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 8028CFE4 00289F44 B0 01 01 0C */ sth r0, 0x10c(r1) +/* 8028CFE8 00289F48 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 8028CFEC 00289F4C 41 82 00 0C */ beq lbl_8028CFF8 +/* 8028CFF0 00289F50 7F A3 EB 78 */ mr r3, r29 +/* 8028CFF4 00289F54 48 0B 0A ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028CFF8: +/* 8028CFF8 00289F58 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028CFFC 00289F5C 48 0B 0A E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D000 00289F60 38 61 00 34 */ addi r3, r1, 0x34 +/* 8028D004 00289F64 48 0B 0A DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D008 00289F68 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028D00C 00289F6C 48 0B 0A D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D010 00289F70 7F 43 D3 78 */ mr r3, r26 +/* 8028D014 00289F74 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8028D018 00289F78 4B EC 92 19 */ bl sub_80156230 +/* 8028D01C 00289F7C 28 1C 00 00 */ cmplwi r28, 0 +/* 8028D020 00289F80 41 82 00 0C */ beq lbl_8028D02C +/* 8028D024 00289F84 7F 83 E3 78 */ mr r3, r28 +/* 8028D028 00289F88 48 0B 0A B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028D02C: +/* 8028D02C 00289F8C 3B DE 00 14 */ addi r30, r30, 0x14 +/* 8028D030 00289F90 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8028D034: +/* 8028D034 00289F94 7C 1B C8 00 */ cmpw r27, r25 +/* 8028D038 00289F98 41 80 FE 28 */ blt lbl_8028CE60 +/* 8028D03C 00289F9C BB 21 01 24 */ lmw r25, 0x124(r1) +/* 8028D040 00289FA0 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8028D044 00289FA4 7C 08 03 A6 */ mtlr r0 +/* 8028D048 00289FA8 38 21 01 40 */ addi r1, r1, 0x140 +/* 8028D04C 00289FAC 4E 80 00 20 */ blr + +.global sub_8028d050 +sub_8028d050: +/* 8028D050 00289FB0 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8028D054 00289FB4 7C 08 02 A6 */ mflr r0 +/* 8028D058 00289FB8 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8028D05C 00289FBC BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 8028D060 00289FC0 7C B9 2B 78 */ mr r25, r5 +/* 8028D064 00289FC4 7C DA 33 78 */ mr r26, r6 +/* 8028D068 00289FC8 7C 9E 23 78 */ mr r30, r4 +/* 8028D06C 00289FCC 3B A1 00 60 */ addi r29, r1, 0x60 +/* 8028D070 00289FD0 3B 81 00 A4 */ addi r28, r1, 0xa4 +/* 8028D074 00289FD4 3B 60 00 00 */ li r27, 0 +/* 8028D078 00289FD8 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028D07C 00289FDC 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8028D080 00289FE0 48 00 01 20 */ b lbl_8028D1A0 +lbl_8028D084: +/* 8028D084 00289FE4 80 9E 00 00 */ lwz r4, 0(r30) +/* 8028D088 00289FE8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028D08C 00289FEC 4B D7 7C 2D */ bl string_l__4rstlFPCc +/* 8028D090 00289FF0 7F E4 FB 78 */ mr r4, r31 +/* 8028D094 00289FF4 38 61 00 0C */ addi r3, r1, 0xc +/* 8028D098 00289FF8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8028D09C 00289FFC 4B DA 17 9D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028D0A0 0028A000 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8028D0A4 0028A004 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028D0A8 0028A008 98 01 00 10 */ stb r0, 0x10(r1) +/* 8028D0AC 0028A00C 48 0B 0A 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D0B0 0028A010 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8028D0B4 0028A014 28 00 00 FF */ cmplwi r0, 0xff +/* 8028D0B8 0028A018 41 82 00 E0 */ beq lbl_8028D198 +/* 8028D0BC 0028A01C 80 9E 00 00 */ lwz r4, 0(r30) +/* 8028D0C0 0028A020 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028D0C4 0028A024 4B D7 7B F5 */ bl string_l__4rstlFPCc +/* 8028D0C8 0028A028 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8028D0CC 0028A02C 38 61 00 34 */ addi r3, r1, 0x34 +/* 8028D0D0 0028A030 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8028D0D4 0028A034 38 81 00 08 */ addi r4, r1, 8 +/* 8028D0D8 0028A038 98 01 00 08 */ stb r0, 8(r1) +/* 8028D0DC 0028A03C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8028D0E0 0028A040 C0 42 BE C8 */ lfs f2, lbl_805ADBE8@sda21(r2) +/* 8028D0E4 0028A044 4B F1 B7 29 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 8028D0E8 0028A048 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8028D0EC 0028A04C 7F 83 E3 78 */ mr r3, r28 +/* 8028D0F0 0028A050 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8028D0F4 0028A054 7F A4 EB 78 */ mr r4, r29 +/* 8028D0F8 0028A058 88 A1 00 3C */ lbz r5, 0x3c(r1) +/* 8028D0FC 0028A05C 88 01 00 3D */ lbz r0, 0x3d(r1) +/* 8028D100 0028A060 C0 E1 00 40 */ lfs f7, 0x40(r1) +/* 8028D104 0028A064 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 8028D108 0028A068 C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 8028D10C 0028A06C C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 8028D110 0028A070 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 8028D114 0028A074 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 8028D118 0028A078 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 8028D11C 0028A07C C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8028D120 0028A080 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8028D124 0028A084 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8028D128 0028A088 98 A1 00 80 */ stb r5, 0x80(r1) +/* 8028D12C 0028A08C 98 01 00 81 */ stb r0, 0x81(r1) +/* 8028D130 0028A090 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 8028D134 0028A094 D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 8028D138 0028A098 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 8028D13C 0028A09C D0 81 00 90 */ stfs f4, 0x90(r1) +/* 8028D140 0028A0A0 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 8028D144 0028A0A4 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8028D148 0028A0A8 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8028D14C 0028A0AC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8028D150 0028A0B0 48 0B 10 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028D154 0028A0B4 A0 01 00 70 */ lhz r0, 0x70(r1) +/* 8028D158 0028A0B8 28 1D 00 00 */ cmplwi r29, 0 +/* 8028D15C 0028A0BC C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8028D160 0028A0C0 B0 01 00 B4 */ sth r0, 0xb4(r1) +/* 8028D164 0028A0C4 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8028D168 0028A0C8 41 82 00 0C */ beq lbl_8028D174 +/* 8028D16C 0028A0CC 7F A3 EB 78 */ mr r3, r29 +/* 8028D170 0028A0D0 48 0B 09 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028D174: +/* 8028D174 0028A0D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028D178 0028A0D8 48 0B 09 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D17C 0028A0DC 7F 43 D3 78 */ mr r3, r26 +/* 8028D180 0028A0E0 38 81 00 78 */ addi r4, r1, 0x78 +/* 8028D184 0028A0E4 4B EC 90 AD */ bl sub_80156230 +/* 8028D188 0028A0E8 28 1C 00 00 */ cmplwi r28, 0 +/* 8028D18C 0028A0EC 41 82 00 0C */ beq lbl_8028D198 +/* 8028D190 0028A0F0 7F 83 E3 78 */ mr r3, r28 +/* 8028D194 0028A0F4 48 0B 09 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028D198: +/* 8028D198 0028A0F8 3B DE 00 08 */ addi r30, r30, 8 +/* 8028D19C 0028A0FC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8028D1A0: +/* 8028D1A0 0028A100 7C 1B C8 00 */ cmpw r27, r25 +/* 8028D1A4 0028A104 41 80 FE E0 */ blt lbl_8028D084 +/* 8028D1A8 0028A108 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 8028D1AC 0028A10C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8028D1B0 0028A110 7C 08 03 A6 */ mtlr r0 +/* 8028D1B4 0028A114 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8028D1B8 0028A118 4E 80 00 20 */ blr + +.global sub_8028d1bc +sub_8028d1bc: +/* 8028D1BC 0028A11C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028D1C0 0028A120 7C 08 02 A6 */ mflr r0 +/* 8028D1C4 0028A124 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028D1C8 0028A128 BE A1 00 34 */ stmw r21, 0x34(r1) +/* 8028D1CC 0028A12C 7C 79 1B 78 */ mr r25, r3 +/* 8028D1D0 0028A130 7C 9A 23 78 */ mr r26, r4 +/* 8028D1D4 0028A134 7C BB 2B 78 */ mr r27, r5 +/* 8028D1D8 0028A138 3B A0 00 00 */ li r29, 0 +/* 8028D1DC 0028A13C 48 00 01 20 */ b lbl_8028D2FC +lbl_8028D1E0: +/* 8028D1E0 0028A140 80 7A 00 00 */ lwz r3, 0(r26) +/* 8028D1E4 0028A144 7F A4 EB 78 */ mr r4, r29 +/* 8028D1E8 0028A148 4B F1 A0 51 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D1EC 0028A14C A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D1F0 0028A150 7F 63 DB 78 */ mr r3, r27 +/* 8028D1F4 0028A154 38 81 00 08 */ addi r4, r1, 8 +/* 8028D1F8 0028A158 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028D1FC 0028A15C B0 01 00 08 */ sth r0, 8(r1) +/* 8028D200 0028A160 4B DB F3 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028D204 0028A164 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8028D208 0028A168 41 82 00 F0 */ beq lbl_8028D2F8 +/* 8028D20C 0028A16C 7F 65 DB 78 */ mr r5, r27 +/* 8028D210 0028A170 38 80 00 1B */ li r4, 0x1b +/* 8028D214 0028A174 4B DC 71 3D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D218 0028A178 7F 83 E3 78 */ mr r3, r28 +/* 8028D21C 0028A17C 7F 65 DB 78 */ mr r5, r27 +/* 8028D220 0028A180 38 80 00 15 */ li r4, 0x15 +/* 8028D224 0028A184 4B DC 71 2D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D228 0028A188 7F 83 E3 78 */ mr r3, r28 +/* 8028D22C 0028A18C 7F 65 DB 78 */ mr r5, r27 +/* 8028D230 0028A190 38 80 00 35 */ li r4, 0x35 +/* 8028D234 0028A194 4B DC 71 1D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D238 0028A198 7F 83 E3 78 */ mr r3, r28 +/* 8028D23C 0028A19C 7F 65 DB 78 */ mr r5, r27 +/* 8028D240 0028A1A0 38 80 00 2B */ li r4, 0x2b +/* 8028D244 0028A1A4 4B DC 71 0D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D248 0028A1A8 7F 23 CB 78 */ mr r3, r25 +/* 8028D24C 0028A1AC 4B DC 66 71 */ bl GetMaterialFilter__6CActorCFv +/* 8028D250 0028A1B0 83 E3 00 00 */ lwz r31, 0(r3) +/* 8028D254 0028A1B4 83 03 00 04 */ lwz r24, 4(r3) +/* 8028D258 0028A1B8 7F 23 CB 78 */ mr r3, r25 +/* 8028D25C 0028A1BC 4B DC 66 61 */ bl GetMaterialFilter__6CActorCFv +/* 8028D260 0028A1C0 82 E3 00 08 */ lwz r23, 8(r3) +/* 8028D264 0028A1C4 82 C3 00 0C */ lwz r22, 0xc(r3) +/* 8028D268 0028A1C8 7F 83 E3 78 */ mr r3, r28 +/* 8028D26C 0028A1CC 4B DC 66 51 */ bl GetMaterialFilter__6CActorCFv +/* 8028D270 0028A1D0 82 A3 00 00 */ lwz r21, 0(r3) +/* 8028D274 0028A1D4 83 C3 00 04 */ lwz r30, 4(r3) +/* 8028D278 0028A1D8 7F 83 E3 78 */ mr r3, r28 +/* 8028D27C 0028A1DC 4B DC 66 41 */ bl GetMaterialFilter__6CActorCFv +/* 8028D280 0028A1E0 38 00 FF FE */ li r0, -2 +/* 8028D284 0028A1E4 39 00 FF FF */ li r8, -1 +/* 8028D288 0028A1E8 7E E7 00 38 */ and r7, r23, r0 +/* 8028D28C 0028A1EC 3C C0 00 02 */ lis r6, 2 +/* 8028D290 0028A1F0 62 A0 00 01 */ ori r0, r21, 1 +/* 8028D294 0028A1F4 80 83 00 08 */ lwz r4, 8(r3) +/* 8028D298 0028A1F8 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8028D29C 0028A1FC 7E C8 40 38 */ and r8, r22, r8 +/* 8028D2A0 0028A200 7C E6 33 78 */ or r6, r7, r6 +/* 8028D2A4 0028A204 7F 03 F3 78 */ or r3, r24, r30 +/* 8028D2A8 0028A208 7D 07 2B 78 */ or r7, r8, r5 +/* 8028D2AC 0028A20C 7F E5 03 78 */ or r5, r31, r0 +/* 8028D2B0 0028A210 7C C6 23 78 */ or r6, r6, r4 +/* 8028D2B4 0028A214 38 00 00 03 */ li r0, 3 +/* 8028D2B8 0028A218 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028D2BC 0028A21C 7F 83 E3 78 */ mr r3, r28 +/* 8028D2C0 0028A220 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028D2C4 0028A224 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028D2C8 0028A228 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 8028D2CC 0028A22C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8028D2D0 0028A230 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028D2D4 0028A234 4B DC 65 CD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8028D2D8 0028A238 7F 83 E3 78 */ mr r3, r28 +/* 8028D2DC 0028A23C 7F 65 DB 78 */ mr r5, r27 +/* 8028D2E0 0028A240 38 80 00 12 */ li r4, 0x12 +/* 8028D2E4 0028A244 4B DC 6C 9D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D2E8 0028A248 3C 80 80 57 */ lis r4, lbl_8056D780@ha +/* 8028D2EC 0028A24C 7F 83 E3 78 */ mr r3, r28 +/* 8028D2F0 0028A250 38 84 D7 80 */ addi r4, r4, lbl_8056D780@l +/* 8028D2F4 0028A254 4B F1 B8 A5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +lbl_8028D2F8: +/* 8028D2F8 0028A258 3B BD 00 01 */ addi r29, r29, 1 +lbl_8028D2FC: +/* 8028D2FC 0028A25C 80 7A 00 00 */ lwz r3, 0(r26) +/* 8028D300 0028A260 4B F1 9F 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8028D304 0028A264 7C 1D 18 40 */ cmplw r29, r3 +/* 8028D308 0028A268 41 80 FE D8 */ blt lbl_8028D1E0 +/* 8028D30C 0028A26C BA A1 00 34 */ lmw r21, 0x34(r1) +/* 8028D310 0028A270 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028D314 0028A274 7C 08 03 A6 */ mtlr r0 +/* 8028D318 0028A278 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028D31C 0028A27C 4E 80 00 20 */ blr + +.global sub_8028d320 +sub_8028d320: +/* 8028D320 0028A280 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028D324 0028A284 7C 08 02 A6 */ mflr r0 +/* 8028D328 0028A288 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028D32C 0028A28C BE A1 00 34 */ stmw r21, 0x34(r1) +/* 8028D330 0028A290 7C 7B 1B 78 */ mr r27, r3 +/* 8028D334 0028A294 7C 9C 23 78 */ mr r28, r4 +/* 8028D338 0028A298 7C BD 2B 78 */ mr r29, r5 +/* 8028D33C 0028A29C 3B E0 00 00 */ li r31, 0 +/* 8028D340 0028A2A0 48 00 00 FC */ b lbl_8028D43C +lbl_8028D344: +/* 8028D344 0028A2A4 80 7C 00 00 */ lwz r3, 0(r28) +/* 8028D348 0028A2A8 7F E4 FB 78 */ mr r4, r31 +/* 8028D34C 0028A2AC 4B F1 9E ED */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D350 0028A2B0 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D354 0028A2B4 7F A3 EB 78 */ mr r3, r29 +/* 8028D358 0028A2B8 38 81 00 08 */ addi r4, r1, 8 +/* 8028D35C 0028A2BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028D360 0028A2C0 B0 01 00 08 */ sth r0, 8(r1) +/* 8028D364 0028A2C4 4B DB F2 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028D368 0028A2C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028D36C 0028A2CC 41 82 00 CC */ beq lbl_8028D438 +/* 8028D370 0028A2D0 7F A5 EB 78 */ mr r5, r29 +/* 8028D374 0028A2D4 38 80 00 1B */ li r4, 0x1b +/* 8028D378 0028A2D8 4B DC 6F D9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D37C 0028A2DC 7F C3 F3 78 */ mr r3, r30 +/* 8028D380 0028A2E0 7F A5 EB 78 */ mr r5, r29 +/* 8028D384 0028A2E4 38 80 00 15 */ li r4, 0x15 +/* 8028D388 0028A2E8 4B DC 6F C9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D38C 0028A2EC 7F C3 F3 78 */ mr r3, r30 +/* 8028D390 0028A2F0 7F A5 EB 78 */ mr r5, r29 +/* 8028D394 0028A2F4 38 80 00 35 */ li r4, 0x35 +/* 8028D398 0028A2F8 4B DC 6F B9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D39C 0028A2FC 7F C3 F3 78 */ mr r3, r30 +/* 8028D3A0 0028A300 7F A5 EB 78 */ mr r5, r29 +/* 8028D3A4 0028A304 38 80 00 2B */ li r4, 0x2b +/* 8028D3A8 0028A308 4B DC 6F A9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D3AC 0028A30C 7F 63 DB 78 */ mr r3, r27 +/* 8028D3B0 0028A310 4B DC 65 0D */ bl GetMaterialFilter__6CActorCFv +/* 8028D3B4 0028A314 83 43 00 00 */ lwz r26, 0(r3) +/* 8028D3B8 0028A318 83 23 00 04 */ lwz r25, 4(r3) +/* 8028D3BC 0028A31C 7F 63 DB 78 */ mr r3, r27 +/* 8028D3C0 0028A320 4B DC 64 FD */ bl GetMaterialFilter__6CActorCFv +/* 8028D3C4 0028A324 83 03 00 08 */ lwz r24, 8(r3) +/* 8028D3C8 0028A328 82 E3 00 0C */ lwz r23, 0xc(r3) +/* 8028D3CC 0028A32C 7F C3 F3 78 */ mr r3, r30 +/* 8028D3D0 0028A330 4B DC 64 ED */ bl GetMaterialFilter__6CActorCFv +/* 8028D3D4 0028A334 82 C3 00 00 */ lwz r22, 0(r3) +/* 8028D3D8 0028A338 82 A3 00 04 */ lwz r21, 4(r3) +/* 8028D3DC 0028A33C 7F C3 F3 78 */ mr r3, r30 +/* 8028D3E0 0028A340 4B DC 64 DD */ bl GetMaterialFilter__6CActorCFv +/* 8028D3E4 0028A344 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8028D3E8 0028A348 3C A0 00 02 */ lis r5, 2 +/* 8028D3EC 0028A34C 80 03 00 08 */ lwz r0, 8(r3) +/* 8028D3F0 0028A350 7F 05 2B 78 */ or r5, r24, r5 +/* 8028D3F4 0028A354 7E E7 23 78 */ or r7, r23, r4 +/* 8028D3F8 0028A358 7F 23 AB 78 */ or r3, r25, r21 +/* 8028D3FC 0028A35C 7C A6 03 78 */ or r6, r5, r0 +/* 8028D400 0028A360 7F 45 B3 78 */ or r5, r26, r22 +/* 8028D404 0028A364 38 00 00 03 */ li r0, 3 +/* 8028D408 0028A368 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028D40C 0028A36C 7F C3 F3 78 */ mr r3, r30 +/* 8028D410 0028A370 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028D414 0028A374 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028D418 0028A378 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 8028D41C 0028A37C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8028D420 0028A380 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028D424 0028A384 4B DC 64 7D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8028D428 0028A388 7F C3 F3 78 */ mr r3, r30 +/* 8028D42C 0028A38C 7F A5 EB 78 */ mr r5, r29 +/* 8028D430 0028A390 38 80 00 12 */ li r4, 0x12 +/* 8028D434 0028A394 4B DC 6B 4D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8028D438: +/* 8028D438 0028A398 3B FF 00 01 */ addi r31, r31, 1 +lbl_8028D43C: +/* 8028D43C 0028A39C 80 7C 00 00 */ lwz r3, 0(r28) +/* 8028D440 0028A3A0 4B F1 9E 09 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8028D444 0028A3A4 7C 1F 18 40 */ cmplw r31, r3 +/* 8028D448 0028A3A8 41 80 FE FC */ blt lbl_8028D344 +/* 8028D44C 0028A3AC BA A1 00 34 */ lmw r21, 0x34(r1) +/* 8028D450 0028A3B0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028D454 0028A3B4 7C 08 03 A6 */ mtlr r0 +/* 8028D458 0028A3B8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028D45C 0028A3BC 4E 80 00 20 */ blr + +.global sub_8028d460 +sub_8028d460: +/* 8028D460 0028A3C0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028D464 0028A3C4 7C 08 02 A6 */ mflr r0 +/* 8028D468 0028A3C8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028D46C 0028A3CC 38 00 00 00 */ li r0, 0 +/* 8028D470 0028A3D0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8028D474 0028A3D4 7C 9F 23 78 */ mr r31, r4 +/* 8028D478 0028A3D8 38 80 00 01 */ li r4, 1 +/* 8028D47C 0028A3DC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028D480 0028A3E0 7C 7E 1B 78 */ mr r30, r3 +/* 8028D484 0028A3E4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8028D488 0028A3E8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8028D48C 0028A3EC 93 81 00 50 */ stw r28, 0x50(r1) +/* 8028D490 0028A3F0 90 01 00 40 */ stw r0, 0x40(r1) +/* 8028D494 0028A3F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028D498 0028A3F8 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028D49C 0028A3FC 4B EC 93 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 8028D4A0 0028A400 7F C3 F3 78 */ mr r3, r30 +/* 8028D4A4 0028A404 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8028D4A8 0028A408 38 82 BE 94 */ addi r4, r2, lbl_805ADBB4@sda21 +/* 8028D4AC 0028A40C 38 A0 00 01 */ li r5, 1 +/* 8028D4B0 0028A410 4B FF FB A1 */ bl sub_8028d050 +/* 8028D4B4 0028A414 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028D4B8 0028A418 38 60 00 18 */ li r3, 0x18 +/* 8028D4BC 0028A41C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028D4C0 0028A420 38 A0 00 00 */ li r5, 0 +/* 8028D4C4 0028A424 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028D4C8 0028A428 48 08 83 A5 */ bl __nw__FUlPCcPCc +/* 8028D4CC 0028A42C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028D4D0 0028A430 41 82 00 38 */ beq lbl_8028D508 +/* 8028D4D4 0028A434 81 3E 00 04 */ lwz r9, 4(r30) +/* 8028D4D8 0028A438 7F E4 FB 78 */ mr r4, r31 +/* 8028D4DC 0028A43C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8028D4E0 0028A440 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8028D4E4 0028A444 91 21 00 28 */ stw r9, 0x28(r1) +/* 8028D4E8 0028A448 38 E1 00 3C */ addi r7, r1, 0x3c +/* 8028D4EC 0028A44C 39 00 00 01 */ li r8, 1 +/* 8028D4F0 0028A450 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8028D4F4 0028A454 91 21 00 24 */ stw r9, 0x24(r1) +/* 8028D4F8 0028A458 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028D4FC 0028A45C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8028D500 0028A460 4B F1 A4 31 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 8028D504 0028A464 7C 7D 1B 78 */ mr r29, r3 +lbl_8028D508: +/* 8028D508 0028A468 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028D50C 0028A46C 38 80 00 01 */ li r4, 1 +/* 8028D510 0028A470 4B F1 A3 CD */ bl sub_801a78dc +/* 8028D514 0028A474 93 BE 0A 38 */ stw r29, 0xa38(r30) +/* 8028D518 0028A478 7F C3 F3 78 */ mr r3, r30 +/* 8028D51C 0028A47C 7F E5 FB 78 */ mr r5, r31 +/* 8028D520 0028A480 38 9E 0A 38 */ addi r4, r30, 0xa38 +/* 8028D524 0028A484 4B FF FD FD */ bl sub_8028d320 +/* 8028D528 0028A488 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028D52C 0028A48C 38 80 00 00 */ li r4, 0 +/* 8028D530 0028A490 4B F1 9D 09 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D534 0028A494 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D538 0028A498 7F E3 FB 78 */ mr r3, r31 +/* 8028D53C 0028A49C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028D540 0028A4A0 B0 1E 0A 46 */ sth r0, 0xa46(r30) +/* 8028D544 0028A4A4 A0 1E 0A 46 */ lhz r0, 0xa46(r30) +/* 8028D548 0028A4A8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028D54C 0028A4AC 4B DB F0 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028D550 0028A4B0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8028D554 0028A4B4 41 82 00 48 */ beq lbl_8028D59C +/* 8028D558 0028A4B8 7F C3 F3 78 */ mr r3, r30 +/* 8028D55C 0028A4BC 7F E4 FB 78 */ mr r4, r31 +/* 8028D560 0028A4C0 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028D564 0028A4C4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028D568 0028A4C8 7D 89 03 A6 */ mtctr r12 +/* 8028D56C 0028A4CC 4E 80 04 21 */ bctrl +/* 8028D570 0028A4D0 7C 7D 1B 78 */ mr r29, r3 +/* 8028D574 0028A4D4 7F 83 E3 78 */ mr r3, r28 +/* 8028D578 0028A4D8 81 9C 00 00 */ lwz r12, 0(r28) +/* 8028D57C 0028A4DC 7F E4 FB 78 */ mr r4, r31 +/* 8028D580 0028A4E0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028D584 0028A4E4 7D 89 03 A6 */ mtctr r12 +/* 8028D588 0028A4E8 4E 80 04 21 */ bctrl +/* 8028D58C 0028A4EC C0 1D 00 00 */ lfs f0, 0(r29) +/* 8028D590 0028A4F0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8028D594 0028A4F4 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028D598 0028A4F8 D0 03 00 04 */ stfs f0, 4(r3) +lbl_8028D59C: +/* 8028D59C 0028A4FC 38 00 00 00 */ li r0, 0 +/* 8028D5A0 0028A500 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028D5A4 0028A504 90 01 00 30 */ stw r0, 0x30(r1) +/* 8028D5A8 0028A508 38 80 00 0B */ li r4, 0xb +/* 8028D5AC 0028A50C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028D5B0 0028A510 90 01 00 38 */ stw r0, 0x38(r1) +/* 8028D5B4 0028A514 4B EC 92 05 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 8028D5B8 0028A518 3C 80 80 3D */ lis r4, lbl_803D5998@ha +/* 8028D5BC 0028A51C 7F C3 F3 78 */ mr r3, r30 +/* 8028D5C0 0028A520 38 84 59 98 */ addi r4, r4, lbl_803D5998@l +/* 8028D5C4 0028A524 38 C1 00 2C */ addi r6, r1, 0x2c +/* 8028D5C8 0028A528 38 A0 00 0B */ li r5, 0xb +/* 8028D5CC 0028A52C 4B FF F8 61 */ bl sub_8028ce2c +/* 8028D5D0 0028A530 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028D5D4 0028A534 38 60 00 18 */ li r3, 0x18 +/* 8028D5D8 0028A538 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028D5DC 0028A53C 38 A0 00 00 */ li r5, 0 +/* 8028D5E0 0028A540 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028D5E4 0028A544 48 08 82 89 */ bl __nw__FUlPCcPCc +/* 8028D5E8 0028A548 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028D5EC 0028A54C 41 82 00 38 */ beq lbl_8028D624 +/* 8028D5F0 0028A550 81 3E 00 04 */ lwz r9, 4(r30) +/* 8028D5F4 0028A554 7F E4 FB 78 */ mr r4, r31 +/* 8028D5F8 0028A558 38 A1 00 0C */ addi r5, r1, 0xc +/* 8028D5FC 0028A55C 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8028D600 0028A560 91 21 00 20 */ stw r9, 0x20(r1) +/* 8028D604 0028A564 38 E1 00 2C */ addi r7, r1, 0x2c +/* 8028D608 0028A568 39 00 00 01 */ li r8, 1 +/* 8028D60C 0028A56C A0 1E 00 08 */ lhz r0, 8(r30) +/* 8028D610 0028A570 91 21 00 1C */ stw r9, 0x1c(r1) +/* 8028D614 0028A574 B0 01 00 08 */ sth r0, 8(r1) +/* 8028D618 0028A578 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028D61C 0028A57C 4B F1 A3 15 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 8028D620 0028A580 7C 7D 1B 78 */ mr r29, r3 +lbl_8028D624: +/* 8028D624 0028A584 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028D628 0028A588 38 80 00 01 */ li r4, 1 +/* 8028D62C 0028A58C 4B F1 A2 B1 */ bl sub_801a78dc +/* 8028D630 0028A590 93 BE 0A 9C */ stw r29, 0xa9c(r30) +/* 8028D634 0028A594 7F C3 F3 78 */ mr r3, r30 +/* 8028D638 0028A598 7F E5 FB 78 */ mr r5, r31 +/* 8028D63C 0028A59C 38 9E 0A 9C */ addi r4, r30, 0xa9c +/* 8028D640 0028A5A0 4B FF FB 7D */ bl sub_8028d1bc +/* 8028D644 0028A5A4 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028D648 0028A5A8 38 80 00 00 */ li r4, 0 +/* 8028D64C 0028A5AC 4B F1 9B ED */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D650 0028A5B0 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D654 0028A5B4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028D658 0028A5B8 38 80 FF FF */ li r4, -1 +/* 8028D65C 0028A5BC B0 1E 0A 48 */ sth r0, 0xa48(r30) +/* 8028D660 0028A5C0 4B EC 8C CD */ bl sub_8015632c +/* 8028D664 0028A5C4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8028D668 0028A5C8 38 80 FF FF */ li r4, -1 +/* 8028D66C 0028A5CC 4B EC 8C C1 */ bl sub_8015632c +/* 8028D670 0028A5D0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028D674 0028A5D4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8028D678 0028A5D8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8028D67C 0028A5DC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028D680 0028A5E0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8028D684 0028A5E4 7C 08 03 A6 */ mtlr r0 +/* 8028D688 0028A5E8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028D68C 0028A5EC 4E 80 00 20 */ blr + +.global sub_8028d690 +sub_8028d690: +/* 8028D690 0028A5F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028D694 0028A5F4 7C 08 02 A6 */ mflr r0 +/* 8028D698 0028A5F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028D69C 0028A5FC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8028D6A0 0028A600 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8028D6A4 0028A604 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028D6A8 0028A608 7C 7F 1B 78 */ mr r31, r3 +/* 8028D6AC 0028A60C FF E0 08 90 */ fmr f31, f1 +/* 8028D6B0 0028A610 80 03 0A 30 */ lwz r0, 0xa30(r3) +/* 8028D6B4 0028A614 2C 00 00 02 */ cmpwi r0, 2 +/* 8028D6B8 0028A618 41 82 00 CC */ beq lbl_8028D784 +/* 8028D6BC 0028A61C 40 80 00 10 */ bge lbl_8028D6CC +/* 8028D6C0 0028A620 2C 00 00 01 */ cmpwi r0, 1 +/* 8028D6C4 0028A624 40 80 00 14 */ bge lbl_8028D6D8 +/* 8028D6C8 0028A628 48 00 00 F8 */ b lbl_8028D7C0 +lbl_8028D6CC: +/* 8028D6CC 0028A62C 2C 00 00 04 */ cmpwi r0, 4 +/* 8028D6D0 0028A630 40 80 00 F0 */ bge lbl_8028D7C0 +/* 8028D6D4 0028A634 48 00 00 5C */ b lbl_8028D730 +lbl_8028D6D8: +/* 8028D6D8 0028A638 C0 22 BE 7C */ lfs f1, lbl_805ADB9C@sda21(r2) +/* 8028D6DC 0028A63C C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D6E0 0028A640 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028D6E4 0028A644 40 80 00 0C */ bge lbl_8028D6F0 +/* 8028D6E8 0028A648 38 62 BE 7C */ addi r3, r2, lbl_805ADB9C@sda21 +/* 8028D6EC 0028A64C 48 00 00 08 */ b lbl_8028D6F4 +lbl_8028D6F0: +/* 8028D6F0 0028A650 38 7F 0A 34 */ addi r3, r31, 0xa34 +lbl_8028D6F4: +/* 8028D6F4 0028A654 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028D6F8 0028A658 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028D6FC 0028A65C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8028D700 0028A660 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) +/* 8028D704 0028A664 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D708 0028A668 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028D70C 0028A66C 40 81 00 14 */ ble lbl_8028D720 +/* 8028D710 0028A670 38 00 00 00 */ li r0, 0 +/* 8028D714 0028A674 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D718 0028A678 90 1F 0A 30 */ stw r0, 0xa30(r31) +/* 8028D71C 0028A67C D0 1F 0A 34 */ stfs f0, 0xa34(r31) +lbl_8028D720: +/* 8028D720 0028A680 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D724 0028A684 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8028D728 0028A688 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D72C 0028A68C 48 00 00 9C */ b lbl_8028D7C8 +lbl_8028D730: +/* 8028D730 0028A690 C0 22 BE 80 */ lfs f1, lbl_805ADBA0@sda21(r2) +/* 8028D734 0028A694 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D738 0028A698 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028D73C 0028A69C 40 80 00 0C */ bge lbl_8028D748 +/* 8028D740 0028A6A0 38 62 BE 80 */ addi r3, r2, lbl_805ADBA0@sda21 +/* 8028D744 0028A6A4 48 00 00 08 */ b lbl_8028D74C +lbl_8028D748: +/* 8028D748 0028A6A8 38 7F 0A 34 */ addi r3, r31, 0xa34 +lbl_8028D74C: +/* 8028D74C 0028A6AC C0 23 00 00 */ lfs f1, 0(r3) +/* 8028D750 0028A6B0 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028D754 0028A6B4 D0 3F 0A 2C */ stfs f1, 0xa2c(r31) +/* 8028D758 0028A6B8 C0 3F 0A 34 */ lfs f1, 0xa34(r31) +/* 8028D75C 0028A6BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028D760 0028A6C0 40 81 00 14 */ ble lbl_8028D774 +/* 8028D764 0028A6C4 38 00 00 02 */ li r0, 2 +/* 8028D768 0028A6C8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D76C 0028A6CC 90 1F 0A 30 */ stw r0, 0xa30(r31) +/* 8028D770 0028A6D0 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +lbl_8028D774: +/* 8028D774 0028A6D4 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D778 0028A6D8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8028D77C 0028A6DC D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D780 0028A6E0 48 00 00 48 */ b lbl_8028D7C8 +lbl_8028D784: +/* 8028D784 0028A6E4 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028D788 0028A6E8 D0 3F 0A 2C */ stfs f1, 0xa2c(r31) +/* 8028D78C 0028A6EC C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D790 0028A6F0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028D794 0028A6F4 40 81 00 1C */ ble lbl_8028D7B0 +/* 8028D798 0028A6F8 38 00 00 01 */ li r0, 1 +/* 8028D79C 0028A6FC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D7A0 0028A700 90 1F 0A 30 */ stw r0, 0xa30(r31) +/* 8028D7A4 0028A704 C0 22 BE A4 */ lfs f1, lbl_805ADBC4@sda21(r2) +/* 8028D7A8 0028A708 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D7AC 0028A70C 4B FF E6 85 */ bl CreateFlash__12COmegaPirateFR13CStateManagerf +lbl_8028D7B0: +/* 8028D7B0 0028A710 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D7B4 0028A714 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8028D7B8 0028A718 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D7BC 0028A71C 48 00 00 0C */ b lbl_8028D7C8 +lbl_8028D7C0: +/* 8028D7C0 0028A720 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D7C4 0028A724 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) +lbl_8028D7C8: +/* 8028D7C8 0028A728 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8028D7CC 0028A72C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028D7D0 0028A730 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8028D7D4 0028A734 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028D7D8 0028A738 7C 08 03 A6 */ mtlr r0 +/* 8028D7DC 0028A73C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028D7E0 0028A740 4E 80 00 20 */ blr + +.global sub_8028d7e4 +sub_8028d7e4: +/* 8028D7E4 0028A744 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8028D7E8 0028A748 7C 08 02 A6 */ mflr r0 +/* 8028D7EC 0028A74C 90 01 00 84 */ stw r0, 0x84(r1) +/* 8028D7F0 0028A750 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8028D7F4 0028A754 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8028D7F8 0028A758 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8028D7FC 0028A75C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8028D800 0028A760 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8028D804 0028A764 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8028D808 0028A768 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8028D80C 0028A76C 7C 7E 1B 78 */ mr r30, r3 +/* 8028D810 0028A770 7C 9F 23 78 */ mr r31, r4 +/* 8028D814 0028A774 80 03 09 C8 */ lwz r0, 0x9c8(r3) +/* 8028D818 0028A778 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028D81C 0028A77C 28 00 00 07 */ cmplwi r0, 7 +/* 8028D820 0028A780 C3 E3 00 00 */ lfs f31, 0(r3) +/* 8028D824 0028A784 C3 C3 00 04 */ lfs f30, 4(r3) +/* 8028D828 0028A788 C3 A3 00 08 */ lfs f29, 8(r3) +/* 8028D82C 0028A78C 41 81 04 64 */ bgt lbl_8028DC90 +/* 8028D830 0028A790 3C 60 80 3F */ lis r3, lbl_803EB734@ha +/* 8028D834 0028A794 54 00 10 3A */ slwi r0, r0, 2 +/* 8028D838 0028A798 38 63 B7 34 */ addi r3, r3, lbl_803EB734@l +/* 8028D83C 0028A79C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8028D840 0028A7A0 7C 09 03 A6 */ mtctr r0 +/* 8028D844 0028A7A4 4E 80 04 20 */ bctr +/* 8028D848 0028A7A8 C0 42 BE 84 */ lfs f2, lbl_805ADBA4@sda21(r2) +/* 8028D84C 0028A7AC C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D850 0028A7B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D854 0028A7B4 40 80 00 0C */ bge lbl_8028D860 +/* 8028D858 0028A7B8 38 62 BE 84 */ addi r3, r2, lbl_805ADBA4@sda21 +/* 8028D85C 0028A7BC 48 00 00 08 */ b lbl_8028D864 +lbl_8028D860: +/* 8028D860 0028A7C0 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028D864: +/* 8028D864 0028A7C4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028D868 0028A7C8 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D86C 0028A7CC C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028D870 0028A7D0 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028D874 0028A7D4 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) +/* 8028D878 0028A7D8 C0 0D 99 A0 */ lfs f0, lbl_805A8560@sda21(r13) +/* 8028D87C 0028A7DC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028D880 0028A7E0 EC 44 10 2A */ fadds f2, f4, f2 +/* 8028D884 0028A7E4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D888 0028A7E8 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8028D88C 0028A7EC 40 80 00 0C */ bge lbl_8028D898 +/* 8028D890 0028A7F0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028D894 0028A7F4 48 00 00 08 */ b lbl_8028D89C +lbl_8028D898: +/* 8028D898 0028A7F8 38 6D 99 A0 */ addi r3, r13, lbl_805A8560@sda21 +lbl_8028D89C: +/* 8028D89C 0028A7FC C0 9E 09 D0 */ lfs f4, 0x9d0(r30) +/* 8028D8A0 0028A800 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028D8A4 0028A804 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D8A8 0028A808 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D8AC 0028A80C EF E4 00 F2 */ fmuls f31, f4, f3 +/* 8028D8B0 0028A810 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D8B4 0028A814 40 81 00 14 */ ble lbl_8028D8C8 +/* 8028D8B8 0028A818 38 00 00 03 */ li r0, 3 +/* 8028D8BC 0028A81C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D8C0 0028A820 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028D8C4 0028A824 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028D8C8: +/* 8028D8C8 0028A828 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D8CC 0028A82C EC 00 08 2A */ fadds f0, f0, f1 +/* 8028D8D0 0028A830 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028D8D4 0028A834 48 00 02 FC */ b lbl_8028DBD0 +/* 8028D8D8 0028A838 C0 42 BE 88 */ lfs f2, lbl_805ADBA8@sda21(r2) +/* 8028D8DC 0028A83C C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D8E0 0028A840 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D8E4 0028A844 40 80 00 0C */ bge lbl_8028D8F0 +/* 8028D8E8 0028A848 38 62 BE 88 */ addi r3, r2, lbl_805ADBA8@sda21 +/* 8028D8EC 0028A84C 48 00 00 08 */ b lbl_8028D8F4 +lbl_8028D8F0: +/* 8028D8F0 0028A850 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028D8F4: +/* 8028D8F4 0028A854 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028D8F8 0028A858 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D8FC 0028A85C C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028D900 0028A860 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028D904 0028A864 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) +/* 8028D908 0028A868 C0 0D 99 A4 */ lfs f0, lbl_805A8564@sda21(r13) +/* 8028D90C 0028A86C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028D910 0028A870 EC 44 10 2A */ fadds f2, f4, f2 +/* 8028D914 0028A874 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D918 0028A878 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8028D91C 0028A87C 40 80 00 0C */ bge lbl_8028D928 +/* 8028D920 0028A880 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028D924 0028A884 48 00 00 08 */ b lbl_8028D92C +lbl_8028D928: +/* 8028D928 0028A888 38 6D 99 A4 */ addi r3, r13, lbl_805A8564@sda21 +lbl_8028D92C: +/* 8028D92C 0028A88C C0 9E 09 D4 */ lfs f4, 0x9d4(r30) +/* 8028D930 0028A890 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028D934 0028A894 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D938 0028A898 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D93C 0028A89C EF C4 00 F2 */ fmuls f30, f4, f3 +/* 8028D940 0028A8A0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D944 0028A8A4 40 81 00 14 */ ble lbl_8028D958 +/* 8028D948 0028A8A8 38 00 00 01 */ li r0, 1 +/* 8028D94C 0028A8AC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D950 0028A8B0 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028D954 0028A8B4 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028D958: +/* 8028D958 0028A8B8 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D95C 0028A8BC EC 00 08 2A */ fadds f0, f0, f1 +/* 8028D960 0028A8C0 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028D964 0028A8C4 48 00 02 6C */ b lbl_8028DBD0 +/* 8028D968 0028A8C8 C0 42 BE 8C */ lfs f2, lbl_805ADBAC@sda21(r2) +/* 8028D96C 0028A8CC C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D970 0028A8D0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D974 0028A8D4 40 80 00 0C */ bge lbl_8028D980 +/* 8028D978 0028A8D8 38 62 BE 8C */ addi r3, r2, lbl_805ADBAC@sda21 +/* 8028D97C 0028A8DC 48 00 00 08 */ b lbl_8028D984 +lbl_8028D980: +/* 8028D980 0028A8E0 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028D984: +/* 8028D984 0028A8E4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028D988 0028A8E8 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D98C 0028A8EC C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028D990 0028A8F0 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028D994 0028A8F4 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) +/* 8028D998 0028A8F8 C0 0D 99 A8 */ lfs f0, lbl_805A8568@sda21(r13) +/* 8028D99C 0028A8FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028D9A0 0028A900 EC 44 10 2A */ fadds f2, f4, f2 +/* 8028D9A4 0028A904 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D9A8 0028A908 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028D9AC 0028A90C 40 80 00 0C */ bge lbl_8028D9B8 +/* 8028D9B0 0028A910 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028D9B4 0028A914 48 00 00 08 */ b lbl_8028D9BC +lbl_8028D9B8: +/* 8028D9B8 0028A918 38 6D 99 A8 */ addi r3, r13, lbl_805A8568@sda21 +lbl_8028D9BC: +/* 8028D9BC 0028A91C C0 9E 09 D8 */ lfs f4, 0x9d8(r30) +/* 8028D9C0 0028A920 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028D9C4 0028A924 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D9C8 0028A928 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D9CC 0028A92C EF A4 00 F2 */ fmuls f29, f4, f3 +/* 8028D9D0 0028A930 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D9D4 0028A934 40 81 00 14 */ ble lbl_8028D9E8 +/* 8028D9D8 0028A938 38 00 00 04 */ li r0, 4 +/* 8028D9DC 0028A93C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D9E0 0028A940 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028D9E4 0028A944 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028D9E8: +/* 8028D9E8 0028A948 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D9EC 0028A94C EC 00 08 2A */ fadds f0, f0, f1 +/* 8028D9F0 0028A950 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028D9F4 0028A954 48 00 01 DC */ b lbl_8028DBD0 +/* 8028D9F8 0028A958 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D9FC 0028A95C C0 02 BE D0 */ lfs f0, lbl_805ADBF0@sda21(r2) +/* 8028DA00 0028A960 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA04 0028A964 40 81 00 20 */ ble lbl_8028DA24 +/* 8028DA08 0028A968 88 1E 0A D0 */ lbz r0, 0xad0(r30) +/* 8028DA0C 0028A96C 28 00 00 00 */ cmplwi r0, 0 +/* 8028DA10 0028A970 41 82 00 14 */ beq lbl_8028DA24 +/* 8028DA14 0028A974 38 00 00 07 */ li r0, 7 +/* 8028DA18 0028A978 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DA1C 0028A97C 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DA20 0028A980 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DA24: +/* 8028DA24 0028A984 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DA28 0028A988 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DA2C 0028A98C D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DA30 0028A990 48 00 01 A0 */ b lbl_8028DBD0 +/* 8028DA34 0028A994 C0 42 BE 84 */ lfs f2, lbl_805ADBA4@sda21(r2) +/* 8028DA38 0028A998 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DA3C 0028A99C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA40 0028A9A0 40 80 00 0C */ bge lbl_8028DA4C +/* 8028DA44 0028A9A4 38 62 BE 84 */ addi r3, r2, lbl_805ADBA4@sda21 +/* 8028DA48 0028A9A8 48 00 00 08 */ b lbl_8028DA50 +lbl_8028DA4C: +/* 8028DA4C 0028A9AC 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028DA50: +/* 8028DA50 0028A9B0 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028DA54 0028A9B4 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DA58 0028A9B8 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) +/* 8028DA5C 0028A9BC EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028DA60 0028A9C0 C0 0D 99 AC */ lfs f0, lbl_805A856C@sda21(r13) +/* 8028DA64 0028A9C4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8028DA68 0028A9C8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA6C 0028A9CC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8028DA70 0028A9D0 40 80 00 0C */ bge lbl_8028DA7C +/* 8028DA74 0028A9D4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028DA78 0028A9D8 48 00 00 08 */ b lbl_8028DA80 +lbl_8028DA7C: +/* 8028DA7C 0028A9DC 38 6D 99 AC */ addi r3, r13, lbl_805A856C@sda21 +lbl_8028DA80: +/* 8028DA80 0028A9E0 C0 9E 09 D0 */ lfs f4, 0x9d0(r30) +/* 8028DA84 0028A9E4 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028DA88 0028A9E8 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028DA8C 0028A9EC C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DA90 0028A9F0 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 8028DA94 0028A9F4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA98 0028A9F8 40 81 00 14 */ ble lbl_8028DAAC +/* 8028DA9C 0028A9FC 38 00 00 06 */ li r0, 6 +/* 8028DAA0 0028AA00 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DAA4 0028AA04 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DAA8 0028AA08 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DAAC: +/* 8028DAAC 0028AA0C C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DAB0 0028AA10 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DAB4 0028AA14 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DAB8 0028AA18 48 00 01 18 */ b lbl_8028DBD0 +/* 8028DABC 0028AA1C C0 42 BE 88 */ lfs f2, lbl_805ADBA8@sda21(r2) +/* 8028DAC0 0028AA20 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DAC4 0028AA24 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DAC8 0028AA28 40 80 00 0C */ bge lbl_8028DAD4 +/* 8028DACC 0028AA2C 38 62 BE 88 */ addi r3, r2, lbl_805ADBA8@sda21 +/* 8028DAD0 0028AA30 48 00 00 08 */ b lbl_8028DAD8 +lbl_8028DAD4: +/* 8028DAD4 0028AA34 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028DAD8: +/* 8028DAD8 0028AA38 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028DADC 0028AA3C C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DAE0 0028AA40 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) +/* 8028DAE4 0028AA44 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028DAE8 0028AA48 C0 0D 99 B0 */ lfs f0, lbl_805A8570@sda21(r13) +/* 8028DAEC 0028AA4C EC 43 10 2A */ fadds f2, f3, f2 +/* 8028DAF0 0028AA50 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DAF4 0028AA54 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8028DAF8 0028AA58 40 80 00 0C */ bge lbl_8028DB04 +/* 8028DAFC 0028AA5C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8028DB00 0028AA60 48 00 00 08 */ b lbl_8028DB08 +lbl_8028DB04: +/* 8028DB04 0028AA64 38 6D 99 B0 */ addi r3, r13, lbl_805A8570@sda21 +lbl_8028DB08: +/* 8028DB08 0028AA68 C0 9E 09 D4 */ lfs f4, 0x9d4(r30) +/* 8028DB0C 0028AA6C C0 63 00 00 */ lfs f3, 0(r3) +/* 8028DB10 0028AA70 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028DB14 0028AA74 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DB18 0028AA78 EF C4 00 F2 */ fmuls f30, f4, f3 +/* 8028DB1C 0028AA7C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DB20 0028AA80 40 81 00 14 */ ble lbl_8028DB34 +/* 8028DB24 0028AA84 38 00 00 00 */ li r0, 0 +/* 8028DB28 0028AA88 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DB2C 0028AA8C 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DB30 0028AA90 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DB34: +/* 8028DB34 0028AA94 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DB38 0028AA98 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DB3C 0028AA9C D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DB40 0028AAA0 48 00 00 90 */ b lbl_8028DBD0 +/* 8028DB44 0028AAA4 C0 42 BE 8C */ lfs f2, lbl_805ADBAC@sda21(r2) +/* 8028DB48 0028AAA8 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DB4C 0028AAAC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DB50 0028AAB0 40 80 00 0C */ bge lbl_8028DB5C +/* 8028DB54 0028AAB4 38 62 BE 8C */ addi r3, r2, lbl_805ADBAC@sda21 +/* 8028DB58 0028AAB8 48 00 00 08 */ b lbl_8028DB60 +lbl_8028DB5C: +/* 8028DB5C 0028AABC 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028DB60: +/* 8028DB60 0028AAC0 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028DB64 0028AAC4 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DB68 0028AAC8 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) +/* 8028DB6C 0028AACC EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028DB70 0028AAD0 C0 0D 99 B4 */ lfs f0, lbl_805A8574@sda21(r13) +/* 8028DB74 0028AAD4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8028DB78 0028AAD8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DB7C 0028AADC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8028DB80 0028AAE0 40 80 00 0C */ bge lbl_8028DB8C +/* 8028DB84 0028AAE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028DB88 0028AAE8 48 00 00 08 */ b lbl_8028DB90 +lbl_8028DB8C: +/* 8028DB8C 0028AAEC 38 6D 99 B4 */ addi r3, r13, lbl_805A8574@sda21 +lbl_8028DB90: +/* 8028DB90 0028AAF0 C0 9E 09 D8 */ lfs f4, 0x9d8(r30) +/* 8028DB94 0028AAF4 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028DB98 0028AAF8 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028DB9C 0028AAFC C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DBA0 0028AB00 EF A4 00 F2 */ fmuls f29, f4, f3 +/* 8028DBA4 0028AB04 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DBA8 0028AB08 40 81 00 14 */ ble lbl_8028DBBC +/* 8028DBAC 0028AB0C 38 00 00 05 */ li r0, 5 +/* 8028DBB0 0028AB10 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DBB4 0028AB14 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DBB8 0028AB18 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DBBC: +/* 8028DBBC 0028AB1C C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DBC0 0028AB20 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DBC4 0028AB24 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DBC8 0028AB28 48 00 00 08 */ b lbl_8028DBD0 +/* 8028DBCC 0028AB2C 48 00 00 C4 */ b lbl_8028DC90 +lbl_8028DBD0: +/* 8028DBD0 0028AB30 A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028DBD4 0028AB34 7F E3 FB 78 */ mr r3, r31 +/* 8028DBD8 0028AB38 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028DBDC 0028AB3C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028DBE0 0028AB40 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028DBE4 0028AB44 4B DB E9 91 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DBE8 0028AB48 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028DBEC 0028AB4C 7C 7D 1B 78 */ mr r29, r3 +/* 8028DBF0 0028AB50 7F E3 FB 78 */ mr r3, r31 +/* 8028DBF4 0028AB54 38 81 00 0C */ addi r4, r1, 0xc +/* 8028DBF8 0028AB58 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028DBFC 0028AB5C 4B DB E9 79 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DC00 0028AB60 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 8028DC04 0028AB64 28 1D 00 00 */ cmplwi r29, 0 +/* 8028DC08 0028AB68 D3 E4 00 00 */ stfs f31, 0(r4) +/* 8028DC0C 0028AB6C D3 C4 00 04 */ stfs f30, 4(r4) +/* 8028DC10 0028AB70 D3 A4 00 08 */ stfs f29, 8(r4) +/* 8028DC14 0028AB74 41 82 00 14 */ beq lbl_8028DC28 +/* 8028DC18 0028AB78 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 8028DC1C 0028AB7C D3 E4 00 00 */ stfs f31, 0(r4) +/* 8028DC20 0028AB80 D3 C4 00 04 */ stfs f30, 4(r4) +/* 8028DC24 0028AB84 D3 A4 00 08 */ stfs f29, 8(r4) +lbl_8028DC28: +/* 8028DC28 0028AB88 28 03 00 00 */ cmplwi r3, 0 +/* 8028DC2C 0028AB8C 41 82 00 14 */ beq lbl_8028DC40 +/* 8028DC30 0028AB90 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028DC34 0028AB94 D3 E3 00 00 */ stfs f31, 0(r3) +/* 8028DC38 0028AB98 D3 C3 00 04 */ stfs f30, 4(r3) +/* 8028DC3C 0028AB9C D3 A3 00 08 */ stfs f29, 8(r3) +lbl_8028DC40: +/* 8028DC40 0028ABA0 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028DC44 0028ABA4 3B 60 00 00 */ li r27, 0 +/* 8028DC48 0028ABA8 3B A0 00 00 */ li r29, 0 +/* 8028DC4C 0028ABAC 48 00 00 3C */ b lbl_8028DC88 +lbl_8028DC50: +/* 8028DC50 0028ABB0 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028DC54 0028ABB4 7F E3 FB 78 */ mr r3, r31 +/* 8028DC58 0028ABB8 38 81 00 08 */ addi r4, r1, 8 +/* 8028DC5C 0028ABBC 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028DC60 0028ABC0 B0 01 00 08 */ sth r0, 8(r1) +/* 8028DC64 0028ABC4 4B DB E9 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DC68 0028ABC8 28 03 00 00 */ cmplwi r3, 0 +/* 8028DC6C 0028ABCC 41 82 00 14 */ beq lbl_8028DC80 +/* 8028DC70 0028ABD0 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028DC74 0028ABD4 D3 E3 00 00 */ stfs f31, 0(r3) +/* 8028DC78 0028ABD8 D3 C3 00 04 */ stfs f30, 4(r3) +/* 8028DC7C 0028ABDC D3 A3 00 08 */ stfs f29, 8(r3) +lbl_8028DC80: +/* 8028DC80 0028ABE0 3B 7B 00 01 */ addi r27, r27, 1 +/* 8028DC84 0028ABE4 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028DC88: +/* 8028DC88 0028ABE8 7C 1B E0 40 */ cmplw r27, r28 +/* 8028DC8C 0028ABEC 41 80 FF C4 */ blt lbl_8028DC50 +lbl_8028DC90: +/* 8028DC90 0028ABF0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8028DC94 0028ABF4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8028DC98 0028ABF8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8028DC9C 0028ABFC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8028DCA0 0028AC00 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8028DCA4 0028AC04 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8028DCA8 0028AC08 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8028DCAC 0028AC0C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8028DCB0 0028AC10 7C 08 03 A6 */ mtlr r0 +/* 8028DCB4 0028AC14 38 21 00 80 */ addi r1, r1, 0x80 +/* 8028DCB8 0028AC18 4E 80 00 20 */ blr + +.global WallHang__12COmegaPirateFR13CStateManager9EStateMsgf +WallHang__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DCBC 0028AC1C 4E 80 00 20 */ blr + +.global WallDetach__12COmegaPirateFR13CStateManager9EStateMsgf +WallDetach__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DCC0 0028AC20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028DCC4 0028AC24 7C 08 02 A6 */ mflr r0 +/* 8028DCC8 0028AC28 2C 05 00 01 */ cmpwi r5, 1 +/* 8028DCCC 0028AC2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028DCD0 0028AC30 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028DCD4 0028AC34 7C 7F 1B 78 */ mr r31, r3 +/* 8028DCD8 0028AC38 41 82 00 2C */ beq lbl_8028DD04 +/* 8028DCDC 0028AC3C 40 80 00 10 */ bge lbl_8028DCEC +/* 8028DCE0 0028AC40 2C 05 00 00 */ cmpwi r5, 0 +/* 8028DCE4 0028AC44 40 80 00 14 */ bge lbl_8028DCF8 +/* 8028DCE8 0028AC48 48 00 01 20 */ b lbl_8028DE08 +lbl_8028DCEC: +/* 8028DCEC 0028AC4C 2C 05 00 03 */ cmpwi r5, 3 +/* 8028DCF0 0028AC50 40 80 01 18 */ bge lbl_8028DE08 +/* 8028DCF4 0028AC54 48 00 00 EC */ b lbl_8028DDE0 +lbl_8028DCF8: +/* 8028DCF8 0028AC58 38 00 00 00 */ li r0, 0 +/* 8028DCFC 0028AC5C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028DD00 0028AC60 48 00 01 08 */ b lbl_8028DE08 +lbl_8028DD04: +/* 8028DD04 0028AC64 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8028DD08 0028AC68 2C 00 00 01 */ cmpwi r0, 1 +/* 8028DD0C 0028AC6C 41 82 00 FC */ beq lbl_8028DE08 +/* 8028DD10 0028AC70 40 80 00 10 */ bge lbl_8028DD20 +/* 8028DD14 0028AC74 2C 00 00 00 */ cmpwi r0, 0 +/* 8028DD18 0028AC78 40 80 00 14 */ bge lbl_8028DD2C +/* 8028DD1C 0028AC7C 48 00 00 EC */ b lbl_8028DE08 +lbl_8028DD20: +/* 8028DD20 0028AC80 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DD24 0028AC84 40 80 00 E4 */ bge lbl_8028DE08 +/* 8028DD28 0028AC88 48 00 00 9C */ b lbl_8028DDC4 +lbl_8028DD2C: +/* 8028DD2C 0028AC8C 80 9F 04 50 */ lwz r4, 0x450(r31) +/* 8028DD30 0028AC90 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028DD34 0028AC94 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DD38 0028AC98 40 82 00 1C */ bne lbl_8028DD54 +/* 8028DD3C 0028AC9C 38 00 00 02 */ li r0, 2 +/* 8028DD40 0028ACA0 38 80 00 01 */ li r4, 1 +/* 8028DD44 0028ACA4 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028DD48 0028ACA8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8028DD4C 0028ACAC 4B EA CC 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8028DD50 0028ACB0 48 00 00 B8 */ b lbl_8028DE08 +lbl_8028DD54: +/* 8028DD54 0028ACB4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DD58 0028ACB8 38 C0 00 01 */ li r6, 1 +/* 8028DD5C 0028ACBC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028DD60 0028ACC0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028DD64 0028ACC4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028DD68 0028ACC8 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028DD6C 0028ACCC 38 00 00 02 */ li r0, 2 +/* 8028DD70 0028ACD0 3B E4 00 04 */ addi r31, r4, 4 +/* 8028DD74 0028ACD4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8028DD78 0028ACD8 7F E3 FB 78 */ mr r3, r31 +/* 8028DD7C 0028ACDC 38 80 00 01 */ li r4, 1 +/* 8028DD80 0028ACE0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028DD84 0028ACE4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028DD88 0028ACE8 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8028DD8C 0028ACEC 4B EA 36 AD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028DD90 0028ACF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028DD94 0028ACF4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028DD98 0028ACF8 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028DD9C 0028ACFC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DDA0 0028AD00 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028DDA4 0028AD04 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028DDA8 0028AD08 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8028DDAC 0028AD0C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8028DDB0 0028AD10 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8028DDB4 0028AD14 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028DDB8 0028AD18 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028DDBC 0028AD1C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028DDC0 0028AD20 48 00 00 48 */ b lbl_8028DE08 +lbl_8028DDC4: +/* 8028DDC4 0028AD24 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8028DDC8 0028AD28 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028DDCC 0028AD2C 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DDD0 0028AD30 41 82 00 38 */ beq lbl_8028DE08 +/* 8028DDD4 0028AD34 38 00 00 03 */ li r0, 3 +/* 8028DDD8 0028AD38 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028DDDC 0028AD3C 48 00 00 2C */ b lbl_8028DE08 +lbl_8028DDE0: +/* 8028DDE0 0028AD40 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8028DDE4 0028AD44 7C 83 23 78 */ mr r3, r4 +/* 8028DDE8 0028AD48 38 81 00 0C */ addi r4, r1, 0xc +/* 8028DDEC 0028AD4C 38 A0 00 59 */ li r5, 0x59 +/* 8028DDF0 0028AD50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028DDF4 0028AD54 B0 01 00 08 */ sth r0, 8(r1) +/* 8028DDF8 0028AD58 C0 3F 0A 98 */ lfs f1, 0xa98(r31) +/* 8028DDFC 0028AD5C 4B DB 61 49 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8028DE00 0028AD60 38 00 00 01 */ li r0, 1 +/* 8028DE04 0028AD64 98 1F 0B 79 */ stb r0, 0xb79(r31) +lbl_8028DE08: +/* 8028DE08 0028AD68 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028DE0C 0028AD6C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028DE10 0028AD70 7C 08 03 A6 */ mtlr r0 +/* 8028DE14 0028AD74 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028DE18 0028AD78 4E 80 00 20 */ blr + +.global JumpBack__12COmegaPirateFR13CStateManager9EStateMsgf +JumpBack__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DE1C 0028AD7C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8028DE20 0028AD80 7C 08 02 A6 */ mflr r0 +/* 8028DE24 0028AD84 2C 05 00 01 */ cmpwi r5, 1 +/* 8028DE28 0028AD88 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028DE2C 0028AD8C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8028DE30 0028AD90 7C 7E 1B 78 */ mr r30, r3 +/* 8028DE34 0028AD94 7C 9F 23 78 */ mr r31, r4 +/* 8028DE38 0028AD98 41 82 01 44 */ beq lbl_8028DF7C +/* 8028DE3C 0028AD9C 40 80 01 74 */ bge lbl_8028DFB0 +/* 8028DE40 0028ADA0 2C 05 00 00 */ cmpwi r5, 0 +/* 8028DE44 0028ADA4 40 80 00 0C */ bge lbl_8028DE50 +/* 8028DE48 0028ADA8 48 00 01 68 */ b lbl_8028DFB0 +/* 8028DE4C 0028ADAC 48 00 01 64 */ b lbl_8028DFB0 +lbl_8028DE50: +/* 8028DE50 0028ADB0 7F E5 FB 78 */ mr r5, r31 +/* 8028DE54 0028ADB4 38 80 00 00 */ li r4, 0 +/* 8028DE58 0028ADB8 4B F9 97 45 */ bl sub_8022759c +/* 8028DE5C 0028ADBC 38 60 00 02 */ li r3, 2 +/* 8028DE60 0028ADC0 38 00 00 00 */ li r0, 0 +/* 8028DE64 0028ADC4 90 7E 05 68 */ stw r3, 0x568(r30) +/* 8028DE68 0028ADC8 38 80 00 05 */ li r4, 5 +/* 8028DE6C 0028ADCC 98 1E 0A DE */ stb r0, 0xade(r30) +/* 8028DE70 0028ADD0 98 1E 0A DF */ stb r0, 0xadf(r30) +/* 8028DE74 0028ADD4 98 1E 0A E0 */ stb r0, 0xae0(r30) +/* 8028DE78 0028ADD8 90 1E 0B 68 */ stw r0, 0xb68(r30) +/* 8028DE7C 0028ADDC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DE80 0028ADE0 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 8028DE84 0028ADE4 90 1E 0A 40 */ stw r0, 0xa40(r30) +/* 8028DE88 0028ADE8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DE8C 0028ADEC 4B EA CB 4D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8028DE90 0028ADF0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DE94 0028ADF4 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 8028DE98 0028ADF8 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 8028DE9C 0028ADFC C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8028DEA0 0028AE00 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8028DEA4 0028AE04 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 8028DEA8 0028AE08 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DEAC 0028AE0C 38 C0 00 04 */ li r6, 4 +/* 8028DEB0 0028AE10 38 00 00 05 */ li r0, 5 +/* 8028DEB4 0028AE14 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8028DEB8 0028AE18 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 8028DEBC 0028AE1C 3B 83 00 04 */ addi r28, r3, 4 +/* 8028DEC0 0028AE20 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8028DEC4 0028AE24 7F 83 E3 78 */ mr r3, r28 +/* 8028DEC8 0028AE28 38 80 00 04 */ li r4, 4 +/* 8028DECC 0028AE2C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8028DED0 0028AE30 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8028DED4 0028AE34 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8028DED8 0028AE38 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8028DEDC 0028AE3C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028DEE0 0028AE40 4B EA 35 59 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028DEE4 0028AE44 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8028DEE8 0028AE48 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8028DEEC 0028AE4C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 8028DEF0 0028AE50 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DEF4 0028AE54 90 1C 00 F8 */ stw r0, 0xf8(r28) +/* 8028DEF8 0028AE58 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028DEFC 0028AE5C 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8028DF00 0028AE60 3B 60 00 00 */ li r27, 0 +/* 8028DF04 0028AE64 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8028DF08 0028AE68 3B A0 00 00 */ li r29, 0 +/* 8028DF0C 0028AE6C 90 BC 00 FC */ stw r5, 0xfc(r28) +/* 8028DF10 0028AE70 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8028DF14 0028AE74 90 7C 01 00 */ stw r3, 0x100(r28) +/* 8028DF18 0028AE78 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8028DF1C 0028AE7C 90 BC 01 04 */ stw r5, 0x104(r28) +/* 8028DF20 0028AE80 90 7C 01 08 */ stw r3, 0x108(r28) +/* 8028DF24 0028AE84 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028DF28 0028AE88 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028DF2C 0028AE8C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028DF30 0028AE90 48 00 00 40 */ b lbl_8028DF70 +lbl_8028DF34: +/* 8028DF34 0028AE94 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028DF38 0028AE98 7F E3 FB 78 */ mr r3, r31 +/* 8028DF3C 0028AE9C 38 81 00 08 */ addi r4, r1, 8 +/* 8028DF40 0028AEA0 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028DF44 0028AEA4 B0 01 00 08 */ sth r0, 8(r1) +/* 8028DF48 0028AEA8 4B DB E6 2D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DF4C 0028AEAC 28 03 00 00 */ cmplwi r3, 0 +/* 8028DF50 0028AEB0 41 82 00 18 */ beq lbl_8028DF68 +/* 8028DF54 0028AEB4 81 83 00 00 */ lwz r12, 0(r3) +/* 8028DF58 0028AEB8 38 80 00 00 */ li r4, 0 +/* 8028DF5C 0028AEBC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028DF60 0028AEC0 7D 89 03 A6 */ mtctr r12 +/* 8028DF64 0028AEC4 4E 80 04 21 */ bctrl +lbl_8028DF68: +/* 8028DF68 0028AEC8 3B 7B 00 01 */ addi r27, r27, 1 +/* 8028DF6C 0028AECC 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028DF70: +/* 8028DF70 0028AED0 7C 1B E0 40 */ cmplw r27, r28 +/* 8028DF74 0028AED4 41 80 FF C0 */ blt lbl_8028DF34 +/* 8028DF78 0028AED8 48 00 00 38 */ b lbl_8028DFB0 +lbl_8028DF7C: +/* 8028DF7C 0028AEDC 80 1E 05 68 */ lwz r0, 0x568(r30) +/* 8028DF80 0028AEE0 2C 00 00 01 */ cmpwi r0, 1 +/* 8028DF84 0028AEE4 41 82 00 2C */ beq lbl_8028DFB0 +/* 8028DF88 0028AEE8 40 80 00 08 */ bge lbl_8028DF90 +/* 8028DF8C 0028AEEC 48 00 00 24 */ b lbl_8028DFB0 +lbl_8028DF90: +/* 8028DF90 0028AEF0 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DF94 0028AEF4 40 80 00 1C */ bge lbl_8028DFB0 +/* 8028DF98 0028AEF8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DF9C 0028AEFC 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028DFA0 0028AF00 2C 00 00 06 */ cmpwi r0, 6 +/* 8028DFA4 0028AF04 41 82 00 0C */ beq lbl_8028DFB0 +/* 8028DFA8 0028AF08 38 00 00 03 */ li r0, 3 +/* 8028DFAC 0028AF0C 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_8028DFB0: +/* 8028DFB0 0028AF10 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8028DFB4 0028AF14 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028DFB8 0028AF18 7C 08 03 A6 */ mtlr r0 +/* 8028DFBC 0028AF1C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8028DFC0 0028AF20 4E 80 00 20 */ blr + +.global Retreat__12COmegaPirateFR13CStateManager9EStateMsgf +Retreat__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DFC4 0028AF24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028DFC8 0028AF28 7C 08 02 A6 */ mflr r0 +/* 8028DFCC 0028AF2C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028DFD0 0028AF30 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028DFD4 0028AF34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028DFD8 0028AF38 7C 9F 23 78 */ mr r31, r4 +/* 8028DFDC 0028AF3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028DFE0 0028AF40 7C 7E 1B 78 */ mr r30, r3 +/* 8028DFE4 0028AF44 41 82 00 74 */ beq lbl_8028E058 +/* 8028DFE8 0028AF48 40 80 01 40 */ bge lbl_8028E128 +/* 8028DFEC 0028AF4C 2C 05 00 00 */ cmpwi r5, 0 +/* 8028DFF0 0028AF50 40 80 00 0C */ bge lbl_8028DFFC +/* 8028DFF4 0028AF54 48 00 01 34 */ b lbl_8028E128 +/* 8028DFF8 0028AF58 48 00 01 30 */ b lbl_8028E128 +lbl_8028DFFC: +/* 8028DFFC 0028AF5C 7F E5 FB 78 */ mr r5, r31 +/* 8028E000 0028AF60 38 80 00 00 */ li r4, 0 +/* 8028E004 0028AF64 4B F9 95 99 */ bl sub_8022759c +/* 8028E008 0028AF68 38 00 00 00 */ li r0, 0 +/* 8028E00C 0028AF6C 7F C3 F3 78 */ mr r3, r30 +/* 8028E010 0028AF70 90 1E 05 68 */ stw r0, 0x568(r30) +/* 8028E014 0028AF74 7F E5 FB 78 */ mr r5, r31 +/* 8028E018 0028AF78 38 80 00 06 */ li r4, 6 +/* 8028E01C 0028AF7C 38 C0 FF FF */ li r6, -1 +/* 8028E020 0028AF80 4B DC 30 A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E024 0028AF84 38 00 00 00 */ li r0, 0 +/* 8028E028 0028AF88 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028E02C 0028AF8C 98 1E 0A D0 */ stb r0, 0xad0(r30) +/* 8028E030 0028AF90 C0 02 BE D4 */ lfs f0, lbl_805ADBF4@sda21(r2) +/* 8028E034 0028AF94 98 1E 0A 44 */ stb r0, 0xa44(r30) +/* 8028E038 0028AF98 98 1E 0A 4A */ stb r0, 0xa4a(r30) +/* 8028E03C 0028AF9C D0 3E 0B 5C */ stfs f1, 0xb5c(r30) +/* 8028E040 0028AFA0 D0 3E 0B 60 */ stfs f1, 0xb60(r30) +/* 8028E044 0028AFA4 D0 1E 0B 64 */ stfs f0, 0xb64(r30) +/* 8028E048 0028AFA8 80 7E 0B 68 */ lwz r3, 0xb68(r30) +/* 8028E04C 0028AFAC 38 03 00 01 */ addi r0, r3, 1 +/* 8028E050 0028AFB0 90 1E 0B 68 */ stw r0, 0xb68(r30) +/* 8028E054 0028AFB4 48 00 00 D4 */ b lbl_8028E128 +lbl_8028E058: +/* 8028E058 0028AFB8 80 1E 05 68 */ lwz r0, 0x568(r30) +/* 8028E05C 0028AFBC 2C 00 00 01 */ cmpwi r0, 1 +/* 8028E060 0028AFC0 41 82 00 C8 */ beq lbl_8028E128 +/* 8028E064 0028AFC4 40 80 00 10 */ bge lbl_8028E074 +/* 8028E068 0028AFC8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028E06C 0028AFCC 40 80 00 14 */ bge lbl_8028E080 +/* 8028E070 0028AFD0 48 00 00 B8 */ b lbl_8028E128 +lbl_8028E074: +/* 8028E074 0028AFD4 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E078 0028AFD8 40 80 00 B0 */ bge lbl_8028E128 +/* 8028E07C 0028AFDC 48 00 00 94 */ b lbl_8028E110 +lbl_8028E080: +/* 8028E080 0028AFE0 80 FE 04 50 */ lwz r7, 0x450(r30) +/* 8028E084 0028AFE4 80 07 02 B8 */ lwz r0, 0x2b8(r7) +/* 8028E088 0028AFE8 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E08C 0028AFEC 40 82 00 10 */ bne lbl_8028E09C +/* 8028E090 0028AFF0 38 00 00 02 */ li r0, 2 +/* 8028E094 0028AFF4 90 1E 05 68 */ stw r0, 0x568(r30) +/* 8028E098 0028AFF8 48 00 00 90 */ b lbl_8028E128 +lbl_8028E09C: +/* 8028E09C 0028AFFC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E0A0 0028B000 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E0A4 0028B004 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028E0A8 0028B008 38 80 00 01 */ li r4, 1 +/* 8028E0AC 0028B00C 90 01 00 08 */ stw r0, 8(r1) +/* 8028E0B0 0028B010 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l +/* 8028E0B4 0028B014 38 A0 00 00 */ li r5, 0 +/* 8028E0B8 0028B018 38 00 00 02 */ li r0, 2 +/* 8028E0BC 0028B01C 3B E7 00 04 */ addi r31, r7, 4 +/* 8028E0C0 0028B020 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028E0C4 0028B024 7F E3 FB 78 */ mr r3, r31 +/* 8028E0C8 0028B028 38 80 00 01 */ li r4, 1 +/* 8028E0CC 0028B02C 90 C1 00 08 */ stw r6, 8(r1) +/* 8028E0D0 0028B030 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028E0D4 0028B034 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028E0D8 0028B038 4B EA 33 61 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E0DC 0028B03C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028E0E0 0028B040 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E0E4 0028B044 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028E0E8 0028B048 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E0EC 0028B04C 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028E0F0 0028B050 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E0F4 0028B054 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8028E0F8 0028B058 90 81 00 08 */ stw r4, 8(r1) +/* 8028E0FC 0028B05C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028E100 0028B060 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028E104 0028B064 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028E108 0028B068 90 01 00 08 */ stw r0, 8(r1) +/* 8028E10C 0028B06C 48 00 00 1C */ b lbl_8028E128 +lbl_8028E110: +/* 8028E110 0028B070 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028E114 0028B074 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028E118 0028B078 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E11C 0028B07C 41 82 00 0C */ beq lbl_8028E128 +/* 8028E120 0028B080 38 00 00 03 */ li r0, 3 +/* 8028E124 0028B084 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_8028E128: +/* 8028E128 0028B088 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028E12C 0028B08C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028E130 0028B090 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028E134 0028B094 7C 08 03 A6 */ mtlr r0 +/* 8028E138 0028B098 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028E13C 0028B09C 4E 80 00 20 */ blr + +.global DoubleSnap__12COmegaPirateFR13CStateManager9EStateMsgf +DoubleSnap__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E140 0028B0A0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8028E144 0028B0A4 7C 08 02 A6 */ mflr r0 +/* 8028E148 0028B0A8 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E14C 0028B0AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028E150 0028B0B0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 8028E154 0028B0B4 7C 7F 1B 78 */ mr r31, r3 +/* 8028E158 0028B0B8 7C 9A 23 78 */ mr r26, r4 +/* 8028E15C 0028B0BC 41 82 01 14 */ beq lbl_8028E270 +/* 8028E160 0028B0C0 40 80 00 10 */ bge lbl_8028E170 +/* 8028E164 0028B0C4 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E168 0028B0C8 40 80 00 14 */ bge lbl_8028E17C +/* 8028E16C 0028B0CC 48 00 02 20 */ b lbl_8028E38C +lbl_8028E170: +/* 8028E170 0028B0D0 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E174 0028B0D4 40 80 02 18 */ bge lbl_8028E38C +/* 8028E178 0028B0D8 48 00 01 C8 */ b lbl_8028E340 +lbl_8028E17C: +/* 8028E17C 0028B0DC 7F 45 D3 78 */ mr r5, r26 +/* 8028E180 0028B0E0 38 80 00 07 */ li r4, 7 +/* 8028E184 0028B0E4 38 C0 FF FF */ li r6, -1 +/* 8028E188 0028B0E8 4B DC 2F 39 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E18C 0028B0EC 7F E3 FB 78 */ mr r3, r31 +/* 8028E190 0028B0F0 7F 45 D3 78 */ mr r5, r26 +/* 8028E194 0028B0F4 38 80 00 00 */ li r4, 0 +/* 8028E198 0028B0F8 4B F9 94 05 */ bl sub_8022759c +/* 8028E19C 0028B0FC 3B C0 00 00 */ li r30, 0 +/* 8028E1A0 0028B100 C0 02 BE D8 */ lfs f0, lbl_805ADBF8@sda21(r2) +/* 8028E1A4 0028B104 93 DF 05 68 */ stw r30, 0x568(r31) +/* 8028E1A8 0028B108 3B 80 00 00 */ li r28, 0 +/* 8028E1AC 0028B10C 9B DF 0A 44 */ stb r30, 0xa44(r31) +/* 8028E1B0 0028B110 9B DF 0A 4A */ stb r30, 0xa4a(r31) +/* 8028E1B4 0028B114 9B DF 0A 88 */ stb r30, 0xa88(r31) +/* 8028E1B8 0028B118 D0 1F 0A 8C */ stfs f0, 0xa8c(r31) +/* 8028E1BC 0028B11C 83 BF 09 E0 */ lwz r29, 0x9e0(r31) +/* 8028E1C0 0028B120 48 00 00 8C */ b lbl_8028E24C +lbl_8028E1C4: +/* 8028E1C4 0028B124 80 BF 09 E8 */ lwz r5, 0x9e8(r31) +/* 8028E1C8 0028B128 7F 43 D3 78 */ mr r3, r26 +/* 8028E1CC 0028B12C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028E1D0 0028B130 7C 05 F2 2E */ lhzx r0, r5, r30 +/* 8028E1D4 0028B134 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028E1D8 0028B138 4B DB E3 9D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E1DC 0028B13C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8028E1E0 0028B140 41 82 00 64 */ beq lbl_8028E244 +/* 8028E1E4 0028B144 81 83 00 00 */ lwz r12, 0(r3) +/* 8028E1E8 0028B148 38 80 00 01 */ li r4, 1 +/* 8028E1EC 0028B14C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028E1F0 0028B150 7D 89 03 A6 */ mtctr r12 +/* 8028E1F4 0028B154 4E 80 04 21 */ bctrl +/* 8028E1F8 0028B158 7F 63 DB 78 */ mr r3, r27 +/* 8028E1FC 0028B15C 38 9F 0A E4 */ addi r4, r31, 0xae4 +/* 8028E200 0028B160 4B E2 2C 55 */ bl sub_800b0e54 +/* 8028E204 0028B164 7F 63 DB 78 */ mr r3, r27 +/* 8028E208 0028B168 7F 45 D3 78 */ mr r5, r26 +/* 8028E20C 0028B16C 38 80 00 29 */ li r4, 0x29 +/* 8028E210 0028B170 4B DC 61 41 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E214 0028B174 7F 63 DB 78 */ mr r3, r27 +/* 8028E218 0028B178 7F 45 D3 78 */ mr r5, r26 +/* 8028E21C 0028B17C 38 80 00 28 */ li r4, 0x28 +/* 8028E220 0028B180 4B DC 61 31 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E224 0028B184 88 1B 03 56 */ lbz r0, 0x356(r27) +/* 8028E228 0028B188 38 60 00 00 */ li r3, 0 +/* 8028E22C 0028B18C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8028E230 0028B190 38 60 00 01 */ li r3, 1 +/* 8028E234 0028B194 98 1B 03 56 */ stb r0, 0x356(r27) +/* 8028E238 0028B198 88 1B 03 56 */ lbz r0, 0x356(r27) +/* 8028E23C 0028B19C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8028E240 0028B1A0 98 1B 03 56 */ stb r0, 0x356(r27) +lbl_8028E244: +/* 8028E244 0028B1A4 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028E248 0028B1A8 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_8028E24C: +/* 8028E24C 0028B1AC 7C 1C E8 40 */ cmplw r28, r29 +/* 8028E250 0028B1B0 41 80 FF 74 */ blt lbl_8028E1C4 +/* 8028E254 0028B1B4 C0 02 BE DC */ lfs f0, lbl_805ADBFC@sda21(r2) +/* 8028E258 0028B1B8 7F E3 FB 78 */ mr r3, r31 +/* 8028E25C 0028B1BC 7F 45 D3 78 */ mr r5, r26 +/* 8028E260 0028B1C0 38 80 00 27 */ li r4, 0x27 +/* 8028E264 0028B1C4 D0 1F 0B 64 */ stfs f0, 0xb64(r31) +/* 8028E268 0028B1C8 4B DC 60 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E26C 0028B1CC 48 00 01 20 */ b lbl_8028E38C +lbl_8028E270: +/* 8028E270 0028B1D0 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8028E274 0028B1D4 2C 00 00 01 */ cmpwi r0, 1 +/* 8028E278 0028B1D8 41 82 01 14 */ beq lbl_8028E38C +/* 8028E27C 0028B1DC 40 80 00 10 */ bge lbl_8028E28C +/* 8028E280 0028B1E0 2C 00 00 00 */ cmpwi r0, 0 +/* 8028E284 0028B1E4 40 80 00 14 */ bge lbl_8028E298 +/* 8028E288 0028B1E8 48 00 01 04 */ b lbl_8028E38C +lbl_8028E28C: +/* 8028E28C 0028B1EC 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E290 0028B1F0 40 80 00 FC */ bge lbl_8028E38C +/* 8028E294 0028B1F4 48 00 00 90 */ b lbl_8028E324 +lbl_8028E298: +/* 8028E298 0028B1F8 80 9F 04 50 */ lwz r4, 0x450(r31) +/* 8028E29C 0028B1FC 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028E2A0 0028B200 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E2A4 0028B204 40 82 00 10 */ bne lbl_8028E2B4 +/* 8028E2A8 0028B208 38 00 00 02 */ li r0, 2 +/* 8028E2AC 0028B20C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028E2B0 0028B210 48 00 00 DC */ b lbl_8028E38C +lbl_8028E2B4: +/* 8028E2B4 0028B214 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E2B8 0028B218 38 C0 00 01 */ li r6, 1 +/* 8028E2BC 0028B21C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E2C0 0028B220 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E2C4 0028B224 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028E2C8 0028B228 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028E2CC 0028B22C 38 00 00 02 */ li r0, 2 +/* 8028E2D0 0028B230 3B C4 00 04 */ addi r30, r4, 4 +/* 8028E2D4 0028B234 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8028E2D8 0028B238 7F C3 F3 78 */ mr r3, r30 +/* 8028E2DC 0028B23C 38 80 00 01 */ li r4, 1 +/* 8028E2E0 0028B240 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028E2E4 0028B244 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8028E2E8 0028B248 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028E2EC 0028B24C 4B EA 31 4D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E2F0 0028B250 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8028E2F4 0028B254 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E2F8 0028B258 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028E2FC 0028B25C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E300 0028B260 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 8028E304 0028B264 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E308 0028B268 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8028E30C 0028B26C 90 81 00 18 */ stw r4, 0x18(r1) +/* 8028E310 0028B270 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028E314 0028B274 90 BE 00 CC */ stw r5, 0xcc(r30) +/* 8028E318 0028B278 90 7E 00 D0 */ stw r3, 0xd0(r30) +/* 8028E31C 0028B27C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028E320 0028B280 48 00 00 6C */ b lbl_8028E38C +lbl_8028E324: +/* 8028E324 0028B284 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8028E328 0028B288 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028E32C 0028B28C 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E330 0028B290 41 82 00 5C */ beq lbl_8028E38C +/* 8028E334 0028B294 38 00 00 03 */ li r0, 3 +/* 8028E338 0028B298 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028E33C 0028B29C 48 00 00 50 */ b lbl_8028E38C +lbl_8028E340: +/* 8028E340 0028B2A0 A0 1F 07 72 */ lhz r0, 0x772(r31) +/* 8028E344 0028B2A4 7F 43 D3 78 */ mr r3, r26 +/* 8028E348 0028B2A8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028E34C 0028B2AC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028E350 0028B2B0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028E354 0028B2B4 4B DB E2 21 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E358 0028B2B8 28 03 00 00 */ cmplwi r3, 0 +/* 8028E35C 0028B2BC 41 82 00 0C */ beq lbl_8028E368 +/* 8028E360 0028B2C0 38 00 00 01 */ li r0, 1 +/* 8028E364 0028B2C4 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_8028E368: +/* 8028E368 0028B2C8 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 8028E36C 0028B2CC 7F 43 D3 78 */ mr r3, r26 +/* 8028E370 0028B2D0 38 81 00 08 */ addi r4, r1, 8 +/* 8028E374 0028B2D4 B0 01 00 08 */ sth r0, 8(r1) +/* 8028E378 0028B2D8 4B DB E1 FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E37C 0028B2DC 28 03 00 00 */ cmplwi r3, 0 +/* 8028E380 0028B2E0 41 82 00 0C */ beq lbl_8028E38C +/* 8028E384 0028B2E4 38 00 00 01 */ li r0, 1 +/* 8028E388 0028B2E8 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_8028E38C: +/* 8028E38C 0028B2EC BB 41 00 28 */ lmw r26, 0x28(r1) +/* 8028E390 0028B2F0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028E394 0028B2F4 7C 08 03 A6 */ mtlr r0 +/* 8028E398 0028B2F8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8028E39C 0028B2FC 4E 80 00 20 */ blr + +.global Faint__12COmegaPirateFR13CStateManager9EStateMsgf +Faint__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E3A0 0028B300 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8028E3A4 0028B304 7C 08 02 A6 */ mflr r0 +/* 8028E3A8 0028B308 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8028E3AC 0028B30C DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8028E3B0 0028B310 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8028E3B4 0028B314 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8028E3B8 0028B318 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8028E3BC 0028B31C DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8028E3C0 0028B320 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8028E3C4 0028B324 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8028E3C8 0028B328 FF A0 08 90 */ fmr f29, f1 +/* 8028E3CC 0028B32C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E3D0 0028B330 7C 7B 1B 78 */ mr r27, r3 +/* 8028E3D4 0028B334 7C 9C 23 78 */ mr r28, r4 +/* 8028E3D8 0028B338 41 82 00 FC */ beq lbl_8028E4D4 +/* 8028E3DC 0028B33C 40 80 00 10 */ bge lbl_8028E3EC +/* 8028E3E0 0028B340 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E3E4 0028B344 40 80 00 14 */ bge lbl_8028E3F8 +/* 8028E3E8 0028B348 48 00 03 D4 */ b lbl_8028E7BC +lbl_8028E3EC: +/* 8028E3EC 0028B34C 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E3F0 0028B350 40 80 03 CC */ bge lbl_8028E7BC +/* 8028E3F4 0028B354 48 00 03 70 */ b lbl_8028E764 +lbl_8028E3F8: +/* 8028E3F8 0028B358 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E3FC 0028B35C 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8028E400 0028B360 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028E404 0028B364 3C 80 80 3E */ lis r4, lbl_803DAA2C@ha +/* 8028E408 0028B368 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028E40C 0028B36C 38 A4 AA 2C */ addi r5, r4, lbl_803DAA2C@l +/* 8028E410 0028B370 38 80 00 08 */ li r4, 8 +/* 8028E414 0028B374 38 00 00 00 */ li r0, 0 +/* 8028E418 0028B378 3B 43 00 04 */ addi r26, r3, 4 +/* 8028E41C 0028B37C 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8028E420 0028B380 7F 43 D3 78 */ mr r3, r26 +/* 8028E424 0028B384 38 80 00 08 */ li r4, 8 +/* 8028E428 0028B388 90 A1 00 48 */ stw r5, 0x48(r1) +/* 8028E42C 0028B38C 90 01 00 50 */ stw r0, 0x50(r1) +/* 8028E430 0028B390 4B EA 30 09 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E434 0028B394 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8028E438 0028B398 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E43C 0028B39C 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 8028E440 0028B3A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E444 0028B3A4 90 1A 01 58 */ stw r0, 0x158(r26) +/* 8028E448 0028B3A8 38 00 00 01 */ li r0, 1 +/* 8028E44C 0028B3AC 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 8028E450 0028B3B0 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8028E454 0028B3B4 90 81 00 48 */ stw r4, 0x48(r1) +/* 8028E458 0028B3B8 90 BA 01 5C */ stw r5, 0x15c(r26) +/* 8028E45C 0028B3BC 98 1B 0A 44 */ stb r0, 0xa44(r27) +/* 8028E460 0028B3C0 98 1B 0A 4A */ stb r0, 0xa4a(r27) +/* 8028E464 0028B3C4 80 1B 0A 7C */ lwz r0, 0xa7c(r27) +/* 8028E468 0028B3C8 90 61 00 48 */ stw r3, 0x48(r1) +/* 8028E46C 0028B3CC 2C 00 00 02 */ cmpwi r0, 2 +/* 8028E470 0028B3D0 40 82 00 0C */ bne lbl_8028E47C +/* 8028E474 0028B3D4 C0 02 BE E0 */ lfs f0, lbl_805ADC00@sda21(r2) +/* 8028E478 0028B3D8 D0 1B 0A 8C */ stfs f0, 0xa8c(r27) +lbl_8028E47C: +/* 8028E47C 0028B3DC 83 BB 09 E0 */ lwz r29, 0x9e0(r27) +/* 8028E480 0028B3E0 3B C0 00 00 */ li r30, 0 +/* 8028E484 0028B3E4 3B 40 00 00 */ li r26, 0 +/* 8028E488 0028B3E8 48 00 00 40 */ b lbl_8028E4C8 +lbl_8028E48C: +/* 8028E48C 0028B3EC 80 BB 09 E8 */ lwz r5, 0x9e8(r27) +/* 8028E490 0028B3F0 7F 83 E3 78 */ mr r3, r28 +/* 8028E494 0028B3F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8028E498 0028B3F8 7C 05 D2 2E */ lhzx r0, r5, r26 +/* 8028E49C 0028B3FC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028E4A0 0028B400 4B DB E0 D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E4A4 0028B404 28 03 00 00 */ cmplwi r3, 0 +/* 8028E4A8 0028B408 41 82 00 18 */ beq lbl_8028E4C0 +/* 8028E4AC 0028B40C 81 83 00 00 */ lwz r12, 0(r3) +/* 8028E4B0 0028B410 38 80 00 01 */ li r4, 1 +/* 8028E4B4 0028B414 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028E4B8 0028B418 7D 89 03 A6 */ mtctr r12 +/* 8028E4BC 0028B41C 4E 80 04 21 */ bctrl +lbl_8028E4C0: +/* 8028E4C0 0028B420 3B DE 00 01 */ addi r30, r30, 1 +/* 8028E4C4 0028B424 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_8028E4C8: +/* 8028E4C8 0028B428 7C 1E E8 40 */ cmplw r30, r29 +/* 8028E4CC 0028B42C 41 80 FF C0 */ blt lbl_8028E48C +/* 8028E4D0 0028B430 48 00 02 EC */ b lbl_8028E7BC +lbl_8028E4D4: +/* 8028E4D4 0028B434 80 1B 0B 4C */ lwz r0, 0xb4c(r27) +/* 8028E4D8 0028B438 28 00 00 04 */ cmplwi r0, 4 +/* 8028E4DC 0028B43C 40 80 02 14 */ bge lbl_8028E6F0 +/* 8028E4E0 0028B440 80 1B 09 C8 */ lwz r0, 0x9c8(r27) +/* 8028E4E4 0028B444 2C 00 00 00 */ cmpwi r0, 0 +/* 8028E4E8 0028B448 40 82 02 08 */ bne lbl_8028E6F0 +/* 8028E4EC 0028B44C C0 3B 0B 58 */ lfs f1, 0xb58(r27) +/* 8028E4F0 0028B450 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 8028E4F4 0028B454 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E4F8 0028B458 4C 41 13 82 */ cror 2, 1, 2 +/* 8028E4FC 0028B45C 40 82 01 F4 */ bne lbl_8028E6F0 +/* 8028E500 0028B460 C0 22 BE 90 */ lfs f1, lbl_805ADBB0@sda21(r2) +/* 8028E504 0028B464 C0 1B 0B 50 */ lfs f0, 0xb50(r27) +/* 8028E508 0028B468 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E50C 0028B46C 40 80 00 0C */ bge lbl_8028E518 +/* 8028E510 0028B470 38 62 BE 90 */ addi r3, r2, lbl_805ADBB0@sda21 +/* 8028E514 0028B474 48 00 00 08 */ b lbl_8028E51C +lbl_8028E518: +/* 8028E518 0028B478 38 7B 0B 50 */ addi r3, r27, 0xb50 +lbl_8028E51C: +/* 8028E51C 0028B47C C3 E3 00 00 */ lfs f31, 0(r3) +/* 8028E520 0028B480 3B A0 00 00 */ li r29, 0 +/* 8028E524 0028B484 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028E528 0028B488 3B 40 00 00 */ li r26, 0 +/* 8028E52C 0028B48C 83 DB 09 E0 */ lwz r30, 0x9e0(r27) +/* 8028E530 0028B490 EF C0 F8 28 */ fsubs f30, f0, f31 +/* 8028E534 0028B494 48 00 01 78 */ b lbl_8028E6AC +lbl_8028E538: +/* 8028E538 0028B498 80 BB 09 E8 */ lwz r5, 0x9e8(r27) +/* 8028E53C 0028B49C 7F 83 E3 78 */ mr r3, r28 +/* 8028E540 0028B4A0 38 81 00 08 */ addi r4, r1, 8 +/* 8028E544 0028B4A4 7C 05 D2 2E */ lhzx r0, r5, r26 +/* 8028E548 0028B4A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8028E54C 0028B4AC 4B DB E0 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E550 0028B4B0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8028E554 0028B4B4 41 82 01 50 */ beq lbl_8028E6A4 +/* 8028E558 0028B4B8 80 7C 08 B8 */ lwz r3, 0x8b8(r28) +/* 8028E55C 0028B4BC 7F 84 E3 78 */ mr r4, r28 +/* 8028E560 0028B4C0 80 63 00 00 */ lwz r3, 0(r3) +/* 8028E564 0028B4C4 4B E0 2F F5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028E568 0028B4C8 2C 03 00 01 */ cmpwi r3, 1 +/* 8028E56C 0028B4CC 40 82 00 E8 */ bne lbl_8028E654 +/* 8028E570 0028B4D0 80 1B 0B 4C */ lwz r0, 0xb4c(r27) +/* 8028E574 0028B4D4 7C 1D 00 40 */ cmplw r29, r0 +/* 8028E578 0028B4D8 40 80 00 58 */ bge lbl_8028E5D0 +/* 8028E57C 0028B4DC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028E580 0028B4E0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028E584 0028B4E4 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028E588 0028B4E8 FC 40 08 90 */ fmr f2, f1 +/* 8028E58C 0028B4EC FC 60 08 90 */ fmr f3, f1 +/* 8028E590 0028B4F0 48 0D 4E 5D */ bl __ct__6CColorFffff +/* 8028E594 0028B4F4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8028E598 0028B4F8 38 C0 00 05 */ li r6, 5 +/* 8028E59C 0028B4FC 38 80 00 03 */ li r4, 3 +/* 8028E5A0 0028B500 38 A0 00 00 */ li r5, 0 +/* 8028E5A4 0028B504 98 DF 00 B4 */ stb r6, 0xb4(r31) +/* 8028E5A8 0028B508 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028E5AC 0028B50C 60 00 00 03 */ ori r0, r0, 3 +/* 8028E5B0 0028B510 98 BF 00 B5 */ stb r5, 0xb5(r31) +/* 8028E5B4 0028B514 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8028E5B8 0028B518 98 C1 00 34 */ stb r6, 0x34(r1) +/* 8028E5BC 0028B51C 98 A1 00 35 */ stb r5, 0x35(r1) +/* 8028E5C0 0028B520 B0 81 00 36 */ sth r4, 0x36(r1) +/* 8028E5C4 0028B524 90 61 00 38 */ stw r3, 0x38(r1) +/* 8028E5C8 0028B528 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 8028E5CC 0028B52C 48 00 00 D8 */ b lbl_8028E6A4 +lbl_8028E5D0: +/* 8028E5D0 0028B530 7C 00 E8 40 */ cmplw r0, r29 +/* 8028E5D4 0028B534 40 82 00 D0 */ bne lbl_8028E6A4 +/* 8028E5D8 0028B538 88 1B 0B 6E */ lbz r0, 0xb6e(r27) +/* 8028E5DC 0028B53C 28 00 00 00 */ cmplwi r0, 0 +/* 8028E5E0 0028B540 40 82 00 20 */ bne lbl_8028E600 +/* 8028E5E4 0028B544 7F 63 DB 78 */ mr r3, r27 +/* 8028E5E8 0028B548 7F 85 E3 78 */ mr r5, r28 +/* 8028E5EC 0028B54C 38 80 00 03 */ li r4, 3 +/* 8028E5F0 0028B550 38 C0 FF FF */ li r6, -1 +/* 8028E5F4 0028B554 4B DC 2A CD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E5F8 0028B558 38 00 00 01 */ li r0, 1 +/* 8028E5FC 0028B55C 98 1B 0B 6E */ stb r0, 0xb6e(r27) +lbl_8028E600: +/* 8028E600 0028B560 FC 20 F0 90 */ fmr f1, f30 +/* 8028E604 0028B564 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028E608 0028B568 FC 40 F0 90 */ fmr f2, f30 +/* 8028E60C 0028B56C FC 60 F0 90 */ fmr f3, f30 +/* 8028E610 0028B570 FC 80 F8 90 */ fmr f4, f31 +/* 8028E614 0028B574 48 0D 4D D9 */ bl __ct__6CColorFffff +/* 8028E618 0028B578 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028E61C 0028B57C 38 C0 00 05 */ li r6, 5 +/* 8028E620 0028B580 38 80 00 03 */ li r4, 3 +/* 8028E624 0028B584 38 A0 00 00 */ li r5, 0 +/* 8028E628 0028B588 98 DF 00 B4 */ stb r6, 0xb4(r31) +/* 8028E62C 0028B58C 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028E630 0028B590 60 00 00 03 */ ori r0, r0, 3 +/* 8028E634 0028B594 98 BF 00 B5 */ stb r5, 0xb5(r31) +/* 8028E638 0028B598 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8028E63C 0028B59C 98 C1 00 2C */ stb r6, 0x2c(r1) +/* 8028E640 0028B5A0 98 A1 00 2D */ stb r5, 0x2d(r1) +/* 8028E644 0028B5A4 B0 81 00 2E */ sth r4, 0x2e(r1) +/* 8028E648 0028B5A8 90 61 00 30 */ stw r3, 0x30(r1) +/* 8028E64C 0028B5AC 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 8028E650 0028B5B0 48 00 00 54 */ b lbl_8028E6A4 +lbl_8028E654: +/* 8028E654 0028B5B4 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028E658 0028B5B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028E65C 0028B5BC C0 82 BE 9C */ lfs f4, lbl_805ADBBC@sda21(r2) +/* 8028E660 0028B5C0 FC 40 08 90 */ fmr f2, f1 +/* 8028E664 0028B5C4 FC 60 08 90 */ fmr f3, f1 +/* 8028E668 0028B5C8 48 0D 4D 85 */ bl __ct__6CColorFffff +/* 8028E66C 0028B5CC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8028E670 0028B5D0 38 C0 00 05 */ li r6, 5 +/* 8028E674 0028B5D4 38 80 00 03 */ li r4, 3 +/* 8028E678 0028B5D8 38 A0 00 00 */ li r5, 0 +/* 8028E67C 0028B5DC 98 DF 00 B4 */ stb r6, 0xb4(r31) +/* 8028E680 0028B5E0 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028E684 0028B5E4 60 00 00 03 */ ori r0, r0, 3 +/* 8028E688 0028B5E8 98 BF 00 B5 */ stb r5, 0xb5(r31) +/* 8028E68C 0028B5EC B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8028E690 0028B5F0 98 C1 00 24 */ stb r6, 0x24(r1) +/* 8028E694 0028B5F4 98 A1 00 25 */ stb r5, 0x25(r1) +/* 8028E698 0028B5F8 B0 81 00 26 */ sth r4, 0x26(r1) +/* 8028E69C 0028B5FC 90 61 00 28 */ stw r3, 0x28(r1) +/* 8028E6A0 0028B600 90 7F 00 B8 */ stw r3, 0xb8(r31) +lbl_8028E6A4: +/* 8028E6A4 0028B604 3B BD 00 01 */ addi r29, r29, 1 +/* 8028E6A8 0028B608 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_8028E6AC: +/* 8028E6AC 0028B60C 7C 1D F0 40 */ cmplw r29, r30 +/* 8028E6B0 0028B610 41 80 FE 88 */ blt lbl_8028E538 +/* 8028E6B4 0028B614 C0 3B 0B 50 */ lfs f1, 0xb50(r27) +/* 8028E6B8 0028B618 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028E6BC 0028B61C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E6C0 0028B620 40 81 00 24 */ ble lbl_8028E6E4 +/* 8028E6C4 0028B624 80 7B 0B 4C */ lwz r3, 0xb4c(r27) +/* 8028E6C8 0028B628 38 00 00 00 */ li r0, 0 +/* 8028E6CC 0028B62C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028E6D0 0028B630 38 63 00 01 */ addi r3, r3, 1 +/* 8028E6D4 0028B634 90 7B 0B 4C */ stw r3, 0xb4c(r27) +/* 8028E6D8 0028B638 D0 1B 0B 50 */ stfs f0, 0xb50(r27) +/* 8028E6DC 0028B63C D0 1B 0B 58 */ stfs f0, 0xb58(r27) +/* 8028E6E0 0028B640 98 1B 0B 6E */ stb r0, 0xb6e(r27) +lbl_8028E6E4: +/* 8028E6E4 0028B644 C0 1B 0B 50 */ lfs f0, 0xb50(r27) +/* 8028E6E8 0028B648 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8028E6EC 0028B64C D0 1B 0B 50 */ stfs f0, 0xb50(r27) +lbl_8028E6F0: +/* 8028E6F0 0028B650 C0 1B 0B 58 */ lfs f0, 0xb58(r27) +/* 8028E6F4 0028B654 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E6F8 0028B658 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 8028E6FC 0028B65C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E700 0028B660 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8028E704 0028B664 38 C0 00 08 */ li r6, 8 +/* 8028E708 0028B668 38 00 00 00 */ li r0, 0 +/* 8028E70C 0028B66C 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8028E710 0028B670 38 A3 AA 2C */ addi r5, r3, lbl_803DAA2C@l +/* 8028E714 0028B674 38 80 00 08 */ li r4, 8 +/* 8028E718 0028B678 D0 1B 0B 58 */ stfs f0, 0xb58(r27) +/* 8028E71C 0028B67C 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8028E720 0028B680 90 C1 00 40 */ stw r6, 0x40(r1) +/* 8028E724 0028B684 3B 43 00 04 */ addi r26, r3, 4 +/* 8028E728 0028B688 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8028E72C 0028B68C 7F 43 D3 78 */ mr r3, r26 +/* 8028E730 0028B690 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028E734 0028B694 4B EA 2D 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E738 0028B698 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8028E73C 0028B69C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E740 0028B6A0 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 8028E744 0028B6A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E748 0028B6A8 90 1A 01 58 */ stw r0, 0x158(r26) +/* 8028E74C 0028B6AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E750 0028B6B0 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8028E754 0028B6B4 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8028E758 0028B6B8 90 7A 01 5C */ stw r3, 0x15c(r26) +/* 8028E75C 0028B6BC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8028E760 0028B6C0 48 00 00 5C */ b lbl_8028E7BC +lbl_8028E764: +/* 8028E764 0028B6C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E768 0028B6C8 38 00 00 0A */ li r0, 0xa +/* 8028E76C 0028B6CC 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8028E770 0028B6D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028E774 0028B6D4 38 81 00 1C */ addi r4, r1, 0x1c +/* 8028E778 0028B6D8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8028E77C 0028B6DC 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8028E780 0028B6E0 38 63 00 04 */ addi r3, r3, 4 +/* 8028E784 0028B6E4 4B EA 30 35 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 8028E788 0028B6E8 34 01 00 1C */ addic. r0, r1, 0x1c +/* 8028E78C 0028B6EC 41 82 00 10 */ beq lbl_8028E79C +/* 8028E790 0028B6F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E794 0028B6F4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E798 0028B6F8 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8028E79C: +/* 8028E79C 0028B6FC C0 3B 0B 58 */ lfs f1, 0xb58(r27) +/* 8028E7A0 0028B700 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 8028E7A4 0028B704 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E7A8 0028B708 4C 41 13 82 */ cror 2, 1, 2 +/* 8028E7AC 0028B70C 40 82 00 10 */ bne lbl_8028E7BC +/* 8028E7B0 0028B710 80 7B 0B 4C */ lwz r3, 0xb4c(r27) +/* 8028E7B4 0028B714 38 03 00 01 */ addi r0, r3, 1 +/* 8028E7B8 0028B718 90 1B 0B 4C */ stw r0, 0xb4c(r27) +lbl_8028E7BC: +/* 8028E7BC 0028B71C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8028E7C0 0028B720 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8028E7C4 0028B724 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8028E7C8 0028B728 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8028E7CC 0028B72C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8028E7D0 0028B730 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8028E7D4 0028B734 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8028E7D8 0028B738 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8028E7DC 0028B73C 7C 08 03 A6 */ mtlr r0 +/* 8028E7E0 0028B740 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8028E7E4 0028B744 4E 80 00 20 */ blr + +.global Dizzy__12COmegaPirateFR13CStateManager9EStateMsgf +Dizzy__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E7E8 0028B748 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028E7EC 0028B74C 7C 08 02 A6 */ mflr r0 +/* 8028E7F0 0028B750 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E7F4 0028B754 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028E7F8 0028B758 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028E7FC 0028B75C 41 82 00 2C */ beq lbl_8028E828 +/* 8028E800 0028B760 40 80 00 10 */ bge lbl_8028E810 +/* 8028E804 0028B764 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E808 0028B768 40 80 00 14 */ bge lbl_8028E81C +/* 8028E80C 0028B76C 48 00 00 B4 */ b lbl_8028E8C0 +lbl_8028E810: +/* 8028E810 0028B770 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E814 0028B774 40 80 00 AC */ bge lbl_8028E8C0 +/* 8028E818 0028B778 48 00 00 78 */ b lbl_8028E890 +lbl_8028E81C: +/* 8028E81C 0028B77C 38 00 00 01 */ li r0, 1 +/* 8028E820 0028B780 98 03 0A 44 */ stb r0, 0xa44(r3) +/* 8028E824 0028B784 48 00 00 9C */ b lbl_8028E8C0 +lbl_8028E828: +/* 8028E828 0028B788 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E82C 0028B78C 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8028E830 0028B790 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028E834 0028B794 3C 80 80 3E */ lis r4, lbl_803DAA2C@ha +/* 8028E838 0028B798 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028E83C 0028B79C 38 A4 AA 2C */ addi r5, r4, lbl_803DAA2C@l +/* 8028E840 0028B7A0 38 80 00 08 */ li r4, 8 +/* 8028E844 0028B7A4 38 00 00 02 */ li r0, 2 +/* 8028E848 0028B7A8 3B E3 00 04 */ addi r31, r3, 4 +/* 8028E84C 0028B7AC 90 81 00 14 */ stw r4, 0x14(r1) +/* 8028E850 0028B7B0 7F E3 FB 78 */ mr r3, r31 +/* 8028E854 0028B7B4 38 80 00 08 */ li r4, 8 +/* 8028E858 0028B7B8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028E85C 0028B7BC 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028E860 0028B7C0 4B EA 2B D9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E864 0028B7C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028E868 0028B7C8 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E86C 0028B7CC 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 8028E870 0028B7D0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E874 0028B7D4 90 1F 01 58 */ stw r0, 0x158(r31) +/* 8028E878 0028B7D8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E87C 0028B7DC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8028E880 0028B7E0 90 81 00 10 */ stw r4, 0x10(r1) +/* 8028E884 0028B7E4 90 7F 01 5C */ stw r3, 0x15c(r31) +/* 8028E888 0028B7E8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028E88C 0028B7EC 48 00 00 34 */ b lbl_8028E8C0 +lbl_8028E890: +/* 8028E890 0028B7F0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E894 0028B7F4 38 00 00 0A */ li r0, 0xa +/* 8028E898 0028B7F8 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l +/* 8028E89C 0028B7FC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028E8A0 0028B800 38 81 00 08 */ addi r4, r1, 8 +/* 8028E8A4 0028B804 90 A1 00 08 */ stw r5, 8(r1) +/* 8028E8A8 0028B808 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8028E8AC 0028B80C 38 63 00 04 */ addi r3, r3, 4 +/* 8028E8B0 0028B810 4B EA 2F 09 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 8028E8B4 0028B814 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E8B8 0028B818 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E8BC 0028B81C 90 01 00 08 */ stw r0, 8(r1) +lbl_8028E8C0: +/* 8028E8C0 0028B820 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028E8C4 0028B824 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028E8C8 0028B828 7C 08 03 A6 */ mtlr r0 +/* 8028E8CC 0028B82C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028E8D0 0028B830 4E 80 00 20 */ blr + +.global Growth__12COmegaPirateFR13CStateManager9EStateMsgf +Growth__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E8D4 0028B834 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028E8D8 0028B838 7C 08 02 A6 */ mflr r0 +/* 8028E8DC 0028B83C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E8E0 0028B840 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028E8E4 0028B844 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028E8E8 0028B848 7C 9F 23 78 */ mr r31, r4 +/* 8028E8EC 0028B84C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028E8F0 0028B850 7C 7E 1B 78 */ mr r30, r3 +/* 8028E8F4 0028B854 41 82 00 B0 */ beq lbl_8028E9A4 +/* 8028E8F8 0028B858 40 80 00 10 */ bge lbl_8028E908 +/* 8028E8FC 0028B85C 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E900 0028B860 40 80 00 14 */ bge lbl_8028E914 +/* 8028E904 0028B864 48 00 01 E0 */ b lbl_8028EAE4 +lbl_8028E908: +/* 8028E908 0028B868 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E90C 0028B86C 40 80 01 D8 */ bge lbl_8028EAE4 +/* 8028E910 0028B870 48 00 01 60 */ b lbl_8028EA70 +lbl_8028E914: +/* 8028E914 0028B874 38 80 00 02 */ li r4, 2 +/* 8028E918 0028B878 38 00 00 00 */ li r0, 0 +/* 8028E91C 0028B87C 90 9E 09 C8 */ stw r4, 0x9c8(r30) +/* 8028E920 0028B880 7F E5 FB 78 */ mr r5, r31 +/* 8028E924 0028B884 38 80 00 33 */ li r4, 0x33 +/* 8028E928 0028B888 98 1E 0A D0 */ stb r0, 0xad0(r30) +/* 8028E92C 0028B88C 4B DC 56 55 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E930 0028B890 7F C3 F3 78 */ mr r3, r30 +/* 8028E934 0028B894 7F E5 FB 78 */ mr r5, r31 +/* 8028E938 0028B898 38 80 00 27 */ li r4, 0x27 +/* 8028E93C 0028B89C 4B DC 56 45 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E940 0028B8A0 38 00 00 00 */ li r0, 0 +/* 8028E944 0028B8A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8028E948 0028B8A8 98 1E 0B 6C */ stb r0, 0xb6c(r30) +/* 8028E94C 0028B8AC 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 8028E950 0028B8B0 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028E954 0028B8B4 7F C3 F3 78 */ mr r3, r30 +/* 8028E958 0028B8B8 98 1E 0B 6D */ stb r0, 0xb6d(r30) +/* 8028E95C 0028B8BC 39 21 00 1C */ addi r9, r1, 0x1c +/* 8028E960 0028B8C0 C0 42 BE D0 */ lfs f2, lbl_805ADBF0@sda21(r2) +/* 8028E964 0028B8C4 38 80 0B 27 */ li r4, 0xb27 +/* 8028E968 0028B8C8 81 5F 08 CC */ lwz r10, 0x8cc(r31) +/* 8028E96C 0028B8CC 38 A0 00 00 */ li r5, 0 +/* 8028E970 0028B8D0 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 8028E974 0028B8D4 38 C0 00 14 */ li r6, 0x14 +/* 8028E978 0028B8D8 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 8028E97C 0028B8DC 38 E0 00 7F */ li r7, 0x7f +/* 8028E980 0028B8E0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8028E984 0028B8E4 C0 62 BE E8 */ lfs f3, lbl_805ADC08@sda21(r2) +/* 8028E988 0028B8E8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8028E98C 0028B8EC D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8028E990 0028B8F0 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 8028E994 0028B8F4 93 E1 00 08 */ stw r31, 8(r1) +/* 8028E998 0028B8F8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028E99C 0028B8FC 4B DC 45 95 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager +/* 8028E9A0 0028B900 48 00 01 44 */ b lbl_8028EAE4 +lbl_8028E9A4: +/* 8028E9A4 0028B904 80 1E 0B 68 */ lwz r0, 0xb68(r30) +/* 8028E9A8 0028B908 28 00 00 00 */ cmplwi r0, 0 +/* 8028E9AC 0028B90C 40 82 00 84 */ bne lbl_8028EA30 +/* 8028E9B0 0028B910 C0 22 BE EC */ lfs f1, lbl_805ADC0C@sda21(r2) +/* 8028E9B4 0028B914 C0 1E 0B 64 */ lfs f0, 0xb64(r30) +/* 8028E9B8 0028B918 C0 5E 03 38 */ lfs f2, 0x338(r30) +/* 8028E9BC 0028B91C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028E9C0 0028B920 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028E9C4 0028B924 40 81 00 28 */ ble lbl_8028E9EC +/* 8028E9C8 0028B928 88 1E 0B 6C */ lbz r0, 0xb6c(r30) +/* 8028E9CC 0028B92C 28 00 00 00 */ cmplwi r0, 0 +/* 8028E9D0 0028B930 40 82 00 1C */ bne lbl_8028E9EC +/* 8028E9D4 0028B934 7F E5 FB 78 */ mr r5, r31 +/* 8028E9D8 0028B938 38 80 00 04 */ li r4, 4 +/* 8028E9DC 0028B93C 38 C0 FF FF */ li r6, -1 +/* 8028E9E0 0028B940 4B DC 26 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E9E4 0028B944 38 00 00 01 */ li r0, 1 +/* 8028E9E8 0028B948 98 1E 0B 6C */ stb r0, 0xb6c(r30) +lbl_8028E9EC: +/* 8028E9EC 0028B94C C0 22 BE F0 */ lfs f1, lbl_805ADC10@sda21(r2) +/* 8028E9F0 0028B950 C0 1E 0B 64 */ lfs f0, 0xb64(r30) +/* 8028E9F4 0028B954 C0 5E 03 38 */ lfs f2, 0x338(r30) +/* 8028E9F8 0028B958 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028E9FC 0028B95C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028EA00 0028B960 40 81 00 E4 */ ble lbl_8028EAE4 +/* 8028EA04 0028B964 88 1E 0B 6D */ lbz r0, 0xb6d(r30) +/* 8028EA08 0028B968 28 00 00 00 */ cmplwi r0, 0 +/* 8028EA0C 0028B96C 40 82 00 D8 */ bne lbl_8028EAE4 +/* 8028EA10 0028B970 7F C3 F3 78 */ mr r3, r30 +/* 8028EA14 0028B974 7F E5 FB 78 */ mr r5, r31 +/* 8028EA18 0028B978 38 80 00 04 */ li r4, 4 +/* 8028EA1C 0028B97C 38 C0 FF FF */ li r6, -1 +/* 8028EA20 0028B980 4B DC 26 A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028EA24 0028B984 38 00 00 01 */ li r0, 1 +/* 8028EA28 0028B988 98 1E 0B 6D */ stb r0, 0xb6d(r30) +/* 8028EA2C 0028B98C 48 00 00 B8 */ b lbl_8028EAE4 +lbl_8028EA30: +/* 8028EA30 0028B990 C0 22 BE B8 */ lfs f1, lbl_805ADBD8@sda21(r2) +/* 8028EA34 0028B994 C0 1E 0B 64 */ lfs f0, 0xb64(r30) +/* 8028EA38 0028B998 C0 5E 03 38 */ lfs f2, 0x338(r30) +/* 8028EA3C 0028B99C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028EA40 0028B9A0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028EA44 0028B9A4 40 81 00 A0 */ ble lbl_8028EAE4 +/* 8028EA48 0028B9A8 88 1E 0B 6C */ lbz r0, 0xb6c(r30) +/* 8028EA4C 0028B9AC 28 00 00 00 */ cmplwi r0, 0 +/* 8028EA50 0028B9B0 40 82 00 94 */ bne lbl_8028EAE4 +/* 8028EA54 0028B9B4 7F E5 FB 78 */ mr r5, r31 +/* 8028EA58 0028B9B8 38 80 00 04 */ li r4, 4 +/* 8028EA5C 0028B9BC 38 C0 FF FF */ li r6, -1 +/* 8028EA60 0028B9C0 4B DC 26 61 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028EA64 0028B9C4 38 00 00 01 */ li r0, 1 +/* 8028EA68 0028B9C8 98 1E 0B 6C */ stb r0, 0xb6c(r30) +/* 8028EA6C 0028B9CC 48 00 00 78 */ b lbl_8028EAE4 +lbl_8028EA70: +/* 8028EA70 0028B9D0 48 00 05 55 */ bl sub_8028efc4 +/* 8028EA74 0028B9D4 38 00 00 01 */ li r0, 1 +/* 8028EA78 0028B9D8 7F C3 F3 78 */ mr r3, r30 +/* 8028EA7C 0028B9DC 98 1E 0A D0 */ stb r0, 0xad0(r30) +/* 8028EA80 0028B9E0 7F E5 FB 78 */ mr r5, r31 +/* 8028EA84 0028B9E4 38 80 00 33 */ li r4, 0x33 +/* 8028EA88 0028B9E8 4B DC 58 C9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028EA8C 0028B9EC 81 5F 08 CC */ lwz r10, 0x8cc(r31) +/* 8028EA90 0028B9F0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8028EA94 0028B9F4 C0 9E 00 60 */ lfs f4, 0x60(r30) +/* 8028EA98 0028B9F8 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 8028EA9C 0028B9FC C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8028EAA0 0028BA00 38 00 00 00 */ li r0, 0 +/* 8028EAA4 0028BA04 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8028EAA8 0028BA08 7F C3 F3 78 */ mr r3, r30 +/* 8028EAAC 0028BA0C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028EAB0 0028BA10 39 21 00 10 */ addi r9, r1, 0x10 +/* 8028EAB4 0028BA14 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 8028EAB8 0028BA18 38 80 0B 28 */ li r4, 0xb28 +/* 8028EABC 0028BA1C C0 42 BE D0 */ lfs f2, lbl_805ADBF0@sda21(r2) +/* 8028EAC0 0028BA20 38 A0 00 00 */ li r5, 0 +/* 8028EAC4 0028BA24 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8028EAC8 0028BA28 38 C0 00 14 */ li r6, 0x14 +/* 8028EACC 0028BA2C C0 62 BE E8 */ lfs f3, lbl_805ADC08@sda21(r2) +/* 8028EAD0 0028BA30 38 E0 00 7F */ li r7, 0x7f +/* 8028EAD4 0028BA34 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8028EAD8 0028BA38 93 E1 00 08 */ stw r31, 8(r1) +/* 8028EADC 0028BA3C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028EAE0 0028BA40 4B DC 44 51 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager +lbl_8028EAE4: +/* 8028EAE4 0028BA44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028EAE8 0028BA48 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028EAEC 0028BA4C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028EAF0 0028BA50 7C 08 03 A6 */ mtlr r0 +/* 8028EAF4 0028BA54 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028EAF8 0028BA58 4E 80 00 20 */ blr + +.global Explode__12COmegaPirateFR13CStateManager9EStateMsgf +Explode__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EAFC 0028BA5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028EB00 0028BA60 7C 08 02 A6 */ mflr r0 +/* 8028EB04 0028BA64 2C 05 00 01 */ cmpwi r5, 1 +/* 8028EB08 0028BA68 7C 66 1B 78 */ mr r6, r3 +/* 8028EB0C 0028BA6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028EB10 0028BA70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028EB14 0028BA74 41 82 00 30 */ beq lbl_8028EB44 +/* 8028EB18 0028BA78 40 80 00 10 */ bge lbl_8028EB28 +/* 8028EB1C 0028BA7C 2C 05 00 00 */ cmpwi r5, 0 +/* 8028EB20 0028BA80 40 80 00 14 */ bge lbl_8028EB34 +/* 8028EB24 0028BA84 48 00 00 FC */ b lbl_8028EC20 +lbl_8028EB28: +/* 8028EB28 0028BA88 2C 05 00 03 */ cmpwi r5, 3 +/* 8028EB2C 0028BA8C 40 80 00 F4 */ bge lbl_8028EC20 +/* 8028EB30 0028BA90 48 00 00 E4 */ b lbl_8028EC14 +lbl_8028EB34: +/* 8028EB34 0028BA94 38 00 00 00 */ li r0, 0 +/* 8028EB38 0028BA98 90 06 05 68 */ stw r0, 0x568(r6) +/* 8028EB3C 0028BA9C 98 06 0A D0 */ stb r0, 0xad0(r6) +/* 8028EB40 0028BAA0 48 00 00 E0 */ b lbl_8028EC20 +lbl_8028EB44: +/* 8028EB44 0028BAA4 80 06 05 68 */ lwz r0, 0x568(r6) +/* 8028EB48 0028BAA8 2C 00 00 01 */ cmpwi r0, 1 +/* 8028EB4C 0028BAAC 41 82 00 D4 */ beq lbl_8028EC20 +/* 8028EB50 0028BAB0 40 80 00 10 */ bge lbl_8028EB60 +/* 8028EB54 0028BAB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8028EB58 0028BAB8 40 80 00 14 */ bge lbl_8028EB6C +/* 8028EB5C 0028BABC 48 00 00 C4 */ b lbl_8028EC20 +lbl_8028EB60: +/* 8028EB60 0028BAC0 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EB64 0028BAC4 40 80 00 BC */ bge lbl_8028EC20 +/* 8028EB68 0028BAC8 48 00 00 90 */ b lbl_8028EBF8 +lbl_8028EB6C: +/* 8028EB6C 0028BACC 80 86 04 50 */ lwz r4, 0x450(r6) +/* 8028EB70 0028BAD0 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028EB74 0028BAD4 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EB78 0028BAD8 40 82 00 10 */ bne lbl_8028EB88 +/* 8028EB7C 0028BADC 38 00 00 02 */ li r0, 2 +/* 8028EB80 0028BAE0 90 06 05 68 */ stw r0, 0x568(r6) +/* 8028EB84 0028BAE4 48 00 00 9C */ b lbl_8028EC20 +lbl_8028EB88: +/* 8028EB88 0028BAE8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EB8C 0028BAEC 38 C0 00 01 */ li r6, 1 +/* 8028EB90 0028BAF0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028EB94 0028BAF4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EB98 0028BAF8 90 01 00 08 */ stw r0, 8(r1) +/* 8028EB9C 0028BAFC 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028EBA0 0028BB00 38 00 00 00 */ li r0, 0 +/* 8028EBA4 0028BB04 3B E4 00 04 */ addi r31, r4, 4 +/* 8028EBA8 0028BB08 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8028EBAC 0028BB0C 7F E3 FB 78 */ mr r3, r31 +/* 8028EBB0 0028BB10 38 80 00 01 */ li r4, 1 +/* 8028EBB4 0028BB14 90 A1 00 08 */ stw r5, 8(r1) +/* 8028EBB8 0028BB18 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028EBBC 0028BB1C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8028EBC0 0028BB20 4B EA 28 79 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028EBC4 0028BB24 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028EBC8 0028BB28 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EBCC 0028BB2C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028EBD0 0028BB30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EBD4 0028BB34 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028EBD8 0028BB38 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028EBDC 0028BB3C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8028EBE0 0028BB40 90 81 00 08 */ stw r4, 8(r1) +/* 8028EBE4 0028BB44 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028EBE8 0028BB48 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028EBEC 0028BB4C 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028EBF0 0028BB50 90 01 00 08 */ stw r0, 8(r1) +/* 8028EBF4 0028BB54 48 00 00 2C */ b lbl_8028EC20 +lbl_8028EBF8: +/* 8028EBF8 0028BB58 80 66 04 50 */ lwz r3, 0x450(r6) +/* 8028EBFC 0028BB5C 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028EC00 0028BB60 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EC04 0028BB64 41 82 00 1C */ beq lbl_8028EC20 +/* 8028EC08 0028BB68 38 00 00 03 */ li r0, 3 +/* 8028EC0C 0028BB6C 90 06 05 68 */ stw r0, 0x568(r6) +/* 8028EC10 0028BB70 48 00 00 10 */ b lbl_8028EC20 +lbl_8028EC14: +/* 8028EC14 0028BB74 80 66 04 50 */ lwz r3, 0x450(r6) +/* 8028EC18 0028BB78 80 86 0A 40 */ lwz r4, 0xa40(r6) +/* 8028EC1C 0028BB7C 4B EA BD BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_8028EC20: +/* 8028EC20 0028BB80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028EC24 0028BB84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028EC28 0028BB88 7C 08 03 A6 */ mtlr r0 +/* 8028EC2C 0028BB8C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028EC30 0028BB90 4E 80 00 20 */ blr + +.global Suck__12COmegaPirateFR13CStateManager9EStateMsgf +Suck__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EC34 0028BB94 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8028EC38 0028BB98 7C 08 02 A6 */ mflr r0 +/* 8028EC3C 0028BB9C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028EC40 0028BBA0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028EC44 0028BBA4 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 8028EC48 0028BBA8 7C 7C 1B 78 */ mr r28, r3 +/* 8028EC4C 0028BBAC 7C 9D 23 78 */ mr r29, r4 +/* 8028EC50 0028BBB0 41 82 00 3C */ beq lbl_8028EC8C +/* 8028EC54 0028BBB4 40 80 00 10 */ bge lbl_8028EC64 +/* 8028EC58 0028BBB8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028EC5C 0028BBBC 40 80 00 14 */ bge lbl_8028EC70 +/* 8028EC60 0028BBC0 48 00 01 F8 */ b lbl_8028EE58 +lbl_8028EC64: +/* 8028EC64 0028BBC4 2C 05 00 03 */ cmpwi r5, 3 +/* 8028EC68 0028BBC8 40 80 01 F0 */ bge lbl_8028EE58 +/* 8028EC6C 0028BBCC 48 00 00 FC */ b lbl_8028ED68 +lbl_8028EC70: +/* 8028EC70 0028BBD0 38 00 00 00 */ li r0, 0 +/* 8028EC74 0028BBD4 38 60 00 03 */ li r3, 3 +/* 8028EC78 0028BBD8 90 1C 05 68 */ stw r0, 0x568(r28) +/* 8028EC7C 0028BBDC 38 00 00 01 */ li r0, 1 +/* 8028EC80 0028BBE0 90 7C 0A 7C */ stw r3, 0xa7c(r28) +/* 8028EC84 0028BBE4 98 1C 0A 88 */ stb r0, 0xa88(r28) +/* 8028EC88 0028BBE8 48 00 01 D0 */ b lbl_8028EE58 +lbl_8028EC8C: +/* 8028EC8C 0028BBEC 80 1C 05 68 */ lwz r0, 0x568(r28) +/* 8028EC90 0028BBF0 2C 00 00 01 */ cmpwi r0, 1 +/* 8028EC94 0028BBF4 41 82 01 C4 */ beq lbl_8028EE58 +/* 8028EC98 0028BBF8 40 80 00 10 */ bge lbl_8028ECA8 +/* 8028EC9C 0028BBFC 2C 00 00 00 */ cmpwi r0, 0 +/* 8028ECA0 0028BC00 40 80 00 14 */ bge lbl_8028ECB4 +/* 8028ECA4 0028BC04 48 00 01 B4 */ b lbl_8028EE58 +lbl_8028ECA8: +/* 8028ECA8 0028BC08 2C 00 00 03 */ cmpwi r0, 3 +/* 8028ECAC 0028BC0C 40 80 01 AC */ bge lbl_8028EE58 +/* 8028ECB0 0028BC10 48 00 00 9C */ b lbl_8028ED4C +lbl_8028ECB4: +/* 8028ECB4 0028BC14 80 9C 04 50 */ lwz r4, 0x450(r28) +/* 8028ECB8 0028BC18 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028ECBC 0028BC1C 2C 00 00 03 */ cmpwi r0, 3 +/* 8028ECC0 0028BC20 40 82 00 10 */ bne lbl_8028ECD0 +/* 8028ECC4 0028BC24 38 00 00 02 */ li r0, 2 +/* 8028ECC8 0028BC28 90 1C 05 68 */ stw r0, 0x568(r28) +/* 8028ECCC 0028BC2C 48 00 01 8C */ b lbl_8028EE58 +lbl_8028ECD0: +/* 8028ECD0 0028BC30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028ECD4 0028BC34 38 C0 00 01 */ li r6, 1 +/* 8028ECD8 0028BC38 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028ECDC 0028BC3C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028ECE0 0028BC40 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028ECE4 0028BC44 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028ECE8 0028BC48 38 00 00 00 */ li r0, 0 +/* 8028ECEC 0028BC4C 3B 64 00 04 */ addi r27, r4, 4 +/* 8028ECF0 0028BC50 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8028ECF4 0028BC54 7F 63 DB 78 */ mr r3, r27 +/* 8028ECF8 0028BC58 38 80 00 01 */ li r4, 1 +/* 8028ECFC 0028BC5C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028ED00 0028BC60 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8028ED04 0028BC64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028ED08 0028BC68 4B EA 27 31 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028ED0C 0028BC6C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8028ED10 0028BC70 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028ED14 0028BC74 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028ED18 0028BC78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028ED1C 0028BC7C 90 1B 00 C8 */ stw r0, 0xc8(r27) +/* 8028ED20 0028BC80 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028ED24 0028BC84 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 8028ED28 0028BC88 38 80 00 01 */ li r4, 1 +/* 8028ED2C 0028BC8C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028ED30 0028BC90 90 DB 00 CC */ stw r6, 0xcc(r27) +/* 8028ED34 0028BC94 90 7B 00 D0 */ stw r3, 0xd0(r27) +/* 8028ED38 0028BC98 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028ED3C 0028BC9C 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8028ED40 0028BCA0 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028ED44 0028BCA4 4B EA BC 95 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8028ED48 0028BCA8 48 00 01 10 */ b lbl_8028EE58 +lbl_8028ED4C: +/* 8028ED4C 0028BCAC 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8028ED50 0028BCB0 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028ED54 0028BCB4 2C 00 00 03 */ cmpwi r0, 3 +/* 8028ED58 0028BCB8 41 82 01 00 */ beq lbl_8028EE58 +/* 8028ED5C 0028BCBC 38 00 00 03 */ li r0, 3 +/* 8028ED60 0028BCC0 90 1C 05 68 */ stw r0, 0x568(r28) +/* 8028ED64 0028BCC4 48 00 00 F4 */ b lbl_8028EE58 +lbl_8028ED68: +/* 8028ED68 0028BCC8 83 FC 09 E0 */ lwz r31, 0x9e0(r28) +/* 8028ED6C 0028BCCC 3B C0 00 00 */ li r30, 0 +/* 8028ED70 0028BCD0 3B 60 00 00 */ li r27, 0 +/* 8028ED74 0028BCD4 48 00 00 C4 */ b lbl_8028EE38 +lbl_8028ED78: +/* 8028ED78 0028BCD8 80 BC 09 E8 */ lwz r5, 0x9e8(r28) +/* 8028ED7C 0028BCDC 7F A3 EB 78 */ mr r3, r29 +/* 8028ED80 0028BCE0 38 81 00 08 */ addi r4, r1, 8 +/* 8028ED84 0028BCE4 7C 05 DA 2E */ lhzx r0, r5, r27 +/* 8028ED88 0028BCE8 B0 01 00 08 */ sth r0, 8(r1) +/* 8028ED8C 0028BCEC 4B DB D7 E9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028ED90 0028BCF0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8028ED94 0028BCF4 41 82 00 9C */ beq lbl_8028EE30 +/* 8028ED98 0028BCF8 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 8028ED9C 0028BCFC 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 8028EDA0 0028BD00 4B E2 20 B5 */ bl sub_800b0e54 +/* 8028EDA4 0028BD04 7F 43 D3 78 */ mr r3, r26 +/* 8028EDA8 0028BD08 7F A5 EB 78 */ mr r5, r29 +/* 8028EDAC 0028BD0C 38 80 00 29 */ li r4, 0x29 +/* 8028EDB0 0028BD10 4B DC 51 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028EDB4 0028BD14 7F 43 D3 78 */ mr r3, r26 +/* 8028EDB8 0028BD18 7F A5 EB 78 */ mr r5, r29 +/* 8028EDBC 0028BD1C 38 80 00 28 */ li r4, 0x28 +/* 8028EDC0 0028BD20 4B DC 51 C1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028EDC4 0028BD24 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028EDC8 0028BD28 38 60 00 01 */ li r3, 1 +/* 8028EDCC 0028BD2C 88 1A 03 56 */ lbz r0, 0x356(r26) +/* 8028EDD0 0028BD30 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8028EDD4 0028BD34 FC 40 08 90 */ fmr f2, f1 +/* 8028EDD8 0028BD38 C0 82 BE 9C */ lfs f4, lbl_805ADBBC@sda21(r2) +/* 8028EDDC 0028BD3C FC 60 08 90 */ fmr f3, f1 +/* 8028EDE0 0028BD40 98 1A 03 56 */ stb r0, 0x356(r26) +/* 8028EDE4 0028BD44 38 61 00 0C */ addi r3, r1, 0xc +/* 8028EDE8 0028BD48 48 0D 46 05 */ bl __ct__6CColorFffff +/* 8028EDEC 0028BD4C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8028EDF0 0028BD50 38 C0 00 05 */ li r6, 5 +/* 8028EDF4 0028BD54 38 80 00 03 */ li r4, 3 +/* 8028EDF8 0028BD58 38 A0 00 00 */ li r5, 0 +/* 8028EDFC 0028BD5C 98 DA 00 B4 */ stb r6, 0xb4(r26) +/* 8028EE00 0028BD60 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028EE04 0028BD64 60 00 00 03 */ ori r0, r0, 3 +/* 8028EE08 0028BD68 98 BA 00 B5 */ stb r5, 0xb5(r26) +/* 8028EE0C 0028BD6C B0 1A 00 B6 */ sth r0, 0xb6(r26) +/* 8028EE10 0028BD70 90 7A 00 B8 */ stw r3, 0xb8(r26) +/* 8028EE14 0028BD74 88 1A 03 56 */ lbz r0, 0x356(r26) +/* 8028EE18 0028BD78 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 8028EE1C 0028BD7C 98 C1 00 10 */ stb r6, 0x10(r1) +/* 8028EE20 0028BD80 98 A1 00 11 */ stb r5, 0x11(r1) +/* 8028EE24 0028BD84 B0 81 00 12 */ sth r4, 0x12(r1) +/* 8028EE28 0028BD88 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028EE2C 0028BD8C 98 1A 03 56 */ stb r0, 0x356(r26) +lbl_8028EE30: +/* 8028EE30 0028BD90 3B DE 00 01 */ addi r30, r30, 1 +/* 8028EE34 0028BD94 3B 7B 00 14 */ addi r27, r27, 0x14 +lbl_8028EE38: +/* 8028EE38 0028BD98 7C 1E F8 40 */ cmplw r30, r31 +/* 8028EE3C 0028BD9C 41 80 FF 3C */ blt lbl_8028ED78 +/* 8028EE40 0028BDA0 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028EE44 0028BDA4 38 00 00 00 */ li r0, 0 +/* 8028EE48 0028BDA8 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 8028EE4C 0028BDAC D0 3C 0B 50 */ stfs f1, 0xb50(r28) +/* 8028EE50 0028BDB0 D0 1C 0B 58 */ stfs f0, 0xb58(r28) +/* 8028EE54 0028BDB4 90 1C 0B 4C */ stw r0, 0xb4c(r28) +lbl_8028EE58: +/* 8028EE58 0028BDB8 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 8028EE5C 0028BDBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028EE60 0028BDC0 7C 08 03 A6 */ mtlr r0 +/* 8028EE64 0028BDC4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8028EE68 0028BDC8 4E 80 00 20 */ blr + +.global Skid__12COmegaPirateFR13CStateManager9EStateMsgf +Skid__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EE6C 0028BDCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028EE70 0028BDD0 7C 08 02 A6 */ mflr r0 +/* 8028EE74 0028BDD4 2C 05 00 01 */ cmpwi r5, 1 +/* 8028EE78 0028BDD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028EE7C 0028BDDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028EE80 0028BDE0 41 82 00 24 */ beq lbl_8028EEA4 +/* 8028EE84 0028BDE4 40 80 00 EC */ bge lbl_8028EF70 +/* 8028EE88 0028BDE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028EE8C 0028BDEC 40 80 00 0C */ bge lbl_8028EE98 +/* 8028EE90 0028BDF0 48 00 00 E0 */ b lbl_8028EF70 +/* 8028EE94 0028BDF4 48 00 00 DC */ b lbl_8028EF70 +lbl_8028EE98: +/* 8028EE98 0028BDF8 38 00 00 00 */ li r0, 0 +/* 8028EE9C 0028BDFC 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028EEA0 0028BE00 48 00 00 D0 */ b lbl_8028EF70 +lbl_8028EEA4: +/* 8028EEA4 0028BE04 80 03 05 68 */ lwz r0, 0x568(r3) +/* 8028EEA8 0028BE08 2C 00 00 01 */ cmpwi r0, 1 +/* 8028EEAC 0028BE0C 41 82 00 C4 */ beq lbl_8028EF70 +/* 8028EEB0 0028BE10 40 80 00 10 */ bge lbl_8028EEC0 +/* 8028EEB4 0028BE14 2C 00 00 00 */ cmpwi r0, 0 +/* 8028EEB8 0028BE18 40 80 00 14 */ bge lbl_8028EECC +/* 8028EEBC 0028BE1C 48 00 00 B4 */ b lbl_8028EF70 +lbl_8028EEC0: +/* 8028EEC0 0028BE20 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EEC4 0028BE24 40 80 00 AC */ bge lbl_8028EF70 +/* 8028EEC8 0028BE28 48 00 00 90 */ b lbl_8028EF58 +lbl_8028EECC: +/* 8028EECC 0028BE2C 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028EED0 0028BE30 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028EED4 0028BE34 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EED8 0028BE38 40 82 00 10 */ bne lbl_8028EEE8 +/* 8028EEDC 0028BE3C 38 00 00 02 */ li r0, 2 +/* 8028EEE0 0028BE40 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028EEE4 0028BE44 48 00 00 8C */ b lbl_8028EF70 +lbl_8028EEE8: +/* 8028EEE8 0028BE48 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EEEC 0028BE4C 38 00 00 00 */ li r0, 0 +/* 8028EEF0 0028BE50 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 8028EEF4 0028BE54 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EEF8 0028BE58 90 81 00 08 */ stw r4, 8(r1) +/* 8028EEFC 0028BE5C 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028EF00 0028BE60 38 60 00 01 */ li r3, 1 +/* 8028EF04 0028BE64 3B E6 00 04 */ addi r31, r6, 4 +/* 8028EF08 0028BE68 90 61 00 0C */ stw r3, 0xc(r1) +/* 8028EF0C 0028BE6C 7F E3 FB 78 */ mr r3, r31 +/* 8028EF10 0028BE70 38 80 00 01 */ li r4, 1 +/* 8028EF14 0028BE74 90 A1 00 08 */ stw r5, 8(r1) +/* 8028EF18 0028BE78 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028EF1C 0028BE7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028EF20 0028BE80 4B EA 25 19 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028EF24 0028BE84 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028EF28 0028BE88 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EF2C 0028BE8C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028EF30 0028BE90 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EF34 0028BE94 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028EF38 0028BE98 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028EF3C 0028BE9C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8028EF40 0028BEA0 90 81 00 08 */ stw r4, 8(r1) +/* 8028EF44 0028BEA4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028EF48 0028BEA8 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028EF4C 0028BEAC 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028EF50 0028BEB0 90 01 00 08 */ stw r0, 8(r1) +/* 8028EF54 0028BEB4 48 00 00 1C */ b lbl_8028EF70 +lbl_8028EF58: +/* 8028EF58 0028BEB8 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8028EF5C 0028BEBC 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028EF60 0028BEC0 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EF64 0028BEC4 41 82 00 0C */ beq lbl_8028EF70 +/* 8028EF68 0028BEC8 38 00 00 03 */ li r0, 3 +/* 8028EF6C 0028BECC 90 03 05 68 */ stw r0, 0x568(r3) +lbl_8028EF70: +/* 8028EF70 0028BED0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028EF74 0028BED4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028EF78 0028BED8 7C 08 03 A6 */ mtlr r0 +/* 8028EF7C 0028BEDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028EF80 0028BEE0 4E 80 00 20 */ blr + +.global Shuffle__12COmegaPirateFR13CStateManager9EStateMsgf +Shuffle__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EF84 0028BEE4 4E 80 00 20 */ blr + +.global CodeTrigger__12COmegaPirateFR13CStateManagerf +CodeTrigger__12COmegaPirateFR13CStateManagerf: +/* 8028EF88 0028BEE8 88 63 0B 78 */ lbz r3, 0xb78(r3) +/* 8028EF8C 0028BEEC 4E 80 00 20 */ blr + +.global HearPlayer__12COmegaPirateFR13CStateManagerf +HearPlayer__12COmegaPirateFR13CStateManagerf: +/* 8028EF90 0028BEF0 88 63 0A 3C */ lbz r3, 0xa3c(r3) +/* 8028EF94 0028BEF4 4E 80 00 20 */ blr + +.global CoverBlown__12COmegaPirateFR13CStateManagerf +CoverBlown__12COmegaPirateFR13CStateManagerf: +/* 8028EF98 0028BEF8 88 03 09 B4 */ lbz r0, 0x9b4(r3) +/* 8028EF9C 0028BEFC 28 00 00 00 */ cmplwi r0, 0 +/* 8028EFA0 0028BF00 41 82 00 1C */ beq lbl_8028EFBC +/* 8028EFA4 0028BF04 38 00 00 00 */ li r0, 0 +/* 8028EFA8 0028BF08 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028EFAC 0028BF0C 98 03 09 B4 */ stb r0, 0x9b4(r3) +/* 8028EFB0 0028BF10 D0 03 0B 5C */ stfs f0, 0xb5c(r3) +/* 8028EFB4 0028BF14 38 60 00 01 */ li r3, 1 +/* 8028EFB8 0028BF18 4E 80 00 20 */ blr +lbl_8028EFBC: +/* 8028EFBC 0028BF1C 38 60 00 00 */ li r3, 0 +/* 8028EFC0 0028BF20 4E 80 00 20 */ blr + +.global sub_8028efc4 +sub_8028efc4: +/* 8028EFC4 0028BF24 94 21 FD A0 */ stwu r1, -0x260(r1) +/* 8028EFC8 0028BF28 7C 08 02 A6 */ mflr r0 +/* 8028EFCC 0028BF2C 90 01 02 64 */ stw r0, 0x264(r1) +/* 8028EFD0 0028BF30 DB E1 02 50 */ stfd f31, 0x250(r1) +/* 8028EFD4 0028BF34 F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0 +/* 8028EFD8 0028BF38 DB C1 02 40 */ stfd f30, 0x240(r1) +/* 8028EFDC 0028BF3C F3 C1 02 48 */ psq_st f30, 584(r1), 0, qr0 +/* 8028EFE0 0028BF40 DB A1 02 30 */ stfd f29, 0x230(r1) +/* 8028EFE4 0028BF44 F3 A1 02 38 */ psq_st f29, 568(r1), 0, qr0 +/* 8028EFE8 0028BF48 DB 81 02 20 */ stfd f28, 0x220(r1) +/* 8028EFEC 0028BF4C F3 81 02 28 */ psq_st f28, 552(r1), 0, qr0 +/* 8028EFF0 0028BF50 DB 61 02 10 */ stfd f27, 0x210(r1) +/* 8028EFF4 0028BF54 F3 61 02 18 */ psq_st f27, 536(r1), 0, qr0 +/* 8028EFF8 0028BF58 DB 41 02 00 */ stfd f26, 0x200(r1) +/* 8028EFFC 0028BF5C F3 41 02 08 */ psq_st f26, 520(r1), 0, qr0 +/* 8028F000 0028BF60 DB 21 01 F0 */ stfd f25, 0x1f0(r1) +/* 8028F004 0028BF64 F3 21 01 F8 */ psq_st f25, 504(r1), 0, qr0 +/* 8028F008 0028BF68 DB 01 01 E0 */ stfd f24, 0x1e0(r1) +/* 8028F00C 0028BF6C F3 01 01 E8 */ psq_st f24, 488(r1), 0, qr0 +/* 8028F010 0028BF70 DA E1 01 D0 */ stfd f23, 0x1d0(r1) +/* 8028F014 0028BF74 F2 E1 01 D8 */ psq_st f23, 472(r1), 0, qr0 +/* 8028F018 0028BF78 DA C1 01 C0 */ stfd f22, 0x1c0(r1) +/* 8028F01C 0028BF7C F2 C1 01 C8 */ psq_st f22, 456(r1), 0, qr0 +/* 8028F020 0028BF80 BF 21 01 A4 */ stmw r25, 0x1a4(r1) +/* 8028F024 0028BF84 7C 9F 23 78 */ mr r31, r4 +/* 8028F028 0028BF88 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8028F02C 0028BF8C 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8028F030 0028BF90 7C 7E 1B 78 */ mr r30, r3 +/* 8028F034 0028BF94 C7 24 66 A0 */ lfsu f25, skZero3f@l(r4) +/* 8028F038 0028BF98 3B 80 00 00 */ li r28, 0 +/* 8028F03C 0028BF9C C2 C2 BE 9C */ lfs f22, lbl_805ADBBC@sda21(r2) +/* 8028F040 0028BFA0 3B 40 00 00 */ li r26, 0 +/* 8028F044 0028BFA4 C3 C5 00 50 */ lfs f30, 0x50(r5) +/* 8028F048 0028BFA8 3B A0 00 00 */ li r29, 0 +/* 8028F04C 0028BFAC C3 E5 00 40 */ lfs f31, 0x40(r5) +/* 8028F050 0028BFB0 C3 45 00 60 */ lfs f26, 0x60(r5) +/* 8028F054 0028BFB4 C3 04 00 04 */ lfs f24, 4(r4) +/* 8028F058 0028BFB8 C2 E4 00 08 */ lfs f23, 8(r4) +/* 8028F05C 0028BFBC 83 63 09 A8 */ lwz r27, 0x9a8(r3) +/* 8028F060 0028BFC0 48 00 00 A0 */ b lbl_8028F100 +lbl_8028F064: +/* 8028F064 0028BFC4 80 BE 09 B0 */ lwz r5, 0x9b0(r30) +/* 8028F068 0028BFC8 7F E3 FB 78 */ mr r3, r31 +/* 8028F06C 0028BFCC 38 81 00 0C */ addi r4, r1, 0xc +/* 8028F070 0028BFD0 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028F074 0028BFD4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028F078 0028BFD8 4B DB D5 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8028F07C 0028BFDC 7C 64 1B 78 */ mr r4, r3 +/* 8028F080 0028BFE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028F084 0028BFE4 4B E1 74 C9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8028F088 0028BFE8 83 23 00 04 */ lwz r25, 4(r3) +/* 8028F08C 0028BFEC 28 19 00 00 */ cmplwi r25, 0 +/* 8028F090 0028BFF0 41 82 00 68 */ beq lbl_8028F0F8 +/* 8028F094 0028BFF4 C3 79 00 60 */ lfs f27, 0x60(r25) +/* 8028F098 0028BFF8 38 61 00 BC */ addi r3, r1, 0xbc +/* 8028F09C 0028BFFC C3 99 00 50 */ lfs f28, 0x50(r25) +/* 8028F0A0 0028C000 C3 B9 00 40 */ lfs f29, 0x40(r25) +/* 8028F0A4 0028C004 EC 1A D8 28 */ fsubs f0, f26, f27 +/* 8028F0A8 0028C008 EC 3E E0 28 */ fsubs f1, f30, f28 +/* 8028F0AC 0028C00C EC 5F E8 28 */ fsubs f2, f31, f29 +/* 8028F0B0 0028C010 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8028F0B4 0028C014 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 8028F0B8 0028C018 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8028F0BC 0028C01C D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 8028F0C0 0028C020 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 8028F0C4 0028C024 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8028F0C8 0028C028 48 08 57 F1 */ bl Magnitude__9CVector3fCFv +/* 8028F0CC 0028C02C FC 01 B0 40 */ fcmpo cr0, f1, f22 +/* 8028F0D0 0028C030 40 81 00 28 */ ble lbl_8028F0F8 +/* 8028F0D4 0028C034 A0 79 00 08 */ lhz r3, 8(r25) +/* 8028F0D8 0028C038 A0 1E 0A DA */ lhz r0, 0xada(r30) +/* 8028F0DC 0028C03C 7C 03 00 40 */ cmplw r3, r0 +/* 8028F0E0 0028C040 41 82 00 18 */ beq lbl_8028F0F8 +/* 8028F0E4 0028C044 FE C0 08 90 */ fmr f22, f1 +/* 8028F0E8 0028C048 7F 5C D3 78 */ mr r28, r26 +/* 8028F0EC 0028C04C FF 20 E8 90 */ fmr f25, f29 +/* 8028F0F0 0028C050 FF 00 E0 90 */ fmr f24, f28 +/* 8028F0F4 0028C054 FE E0 D8 90 */ fmr f23, f27 +lbl_8028F0F8: +/* 8028F0F8 0028C058 3B 5A 00 01 */ addi r26, r26, 1 +/* 8028F0FC 0028C05C 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028F100: +/* 8028F100 0028C060 7C 1A D8 40 */ cmplw r26, r27 +/* 8028F104 0028C064 41 80 FF 60 */ blt lbl_8028F064 +/* 8028F108 0028C068 D3 21 00 98 */ stfs f25, 0x98(r1) +/* 8028F10C 0028C06C 7F E5 FB 78 */ mr r5, r31 +/* 8028F110 0028C070 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8028F114 0028C074 38 81 00 98 */ addi r4, r1, 0x98 +/* 8028F118 0028C078 D3 01 00 9C */ stfs f24, 0x9c(r1) +/* 8028F11C 0028C07C D2 E1 00 A0 */ stfs f23, 0xa0(r1) +/* 8028F120 0028C080 48 00 02 29 */ bl sub_8028f348 +/* 8028F124 0028C084 7F C3 F3 78 */ mr r3, r30 +/* 8028F128 0028C088 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 8028F12C 0028C08C 4B DC 3D 61 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8028F130 0028C090 1C DC 00 14 */ mulli r6, r28, 0x14 +/* 8028F134 0028C094 80 BE 09 B0 */ lwz r5, 0x9b0(r30) +/* 8028F138 0028C098 7F E3 FB 78 */ mr r3, r31 +/* 8028F13C 0028C09C 38 81 00 08 */ addi r4, r1, 8 +/* 8028F140 0028C0A0 7C 05 32 2E */ lhzx r0, r5, r6 +/* 8028F144 0028C0A4 B0 1E 0A DA */ sth r0, 0xada(r30) +/* 8028F148 0028C0A8 80 BE 09 B0 */ lwz r5, 0x9b0(r30) +/* 8028F14C 0028C0AC 7C 05 32 2E */ lhzx r0, r5, r6 +/* 8028F150 0028C0B0 B0 01 00 08 */ sth r0, 8(r1) +/* 8028F154 0028C0B4 4B DB D4 21 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F158 0028C0B8 7C 64 1B 78 */ mr r4, r3 +/* 8028F15C 0028C0BC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8028F160 0028C0C0 4B E1 73 ED */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8028F164 0028C0C4 80 63 00 04 */ lwz r3, 4(r3) +/* 8028F168 0028C0C8 28 03 00 00 */ cmplwi r3, 0 +/* 8028F16C 0028C0CC 41 82 00 14 */ beq lbl_8028F180 +/* 8028F170 0028C0D0 7F E5 FB 78 */ mr r5, r31 +/* 8028F174 0028C0D4 38 80 00 01 */ li r4, 1 +/* 8028F178 0028C0D8 38 C0 FF FF */ li r6, -1 +/* 8028F17C 0028C0DC 4B DC 1F 45 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8028F180: +/* 8028F180 0028C0E0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8028F184 0028C0E4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028F188 0028C0E8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8028F18C 0028C0EC 48 08 50 75 */ bl __ct__9CVector2fFff +/* 8028F190 0028C0F0 FC 20 F8 90 */ fmr f1, f31 +/* 8028F194 0028C0F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8028F198 0028C0F8 FC 40 F0 90 */ fmr f2, f30 +/* 8028F19C 0028C0FC 48 08 50 65 */ bl __ct__9CVector2fFff +/* 8028F1A0 0028C100 38 61 00 38 */ addi r3, r1, 0x38 +/* 8028F1A4 0028C104 38 81 00 30 */ addi r4, r1, 0x30 +/* 8028F1A8 0028C108 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8028F1AC 0028C10C 48 08 4D 8D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8028F1B0 0028C110 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8028F1B4 0028C114 38 61 00 48 */ addi r3, r1, 0x48 +/* 8028F1B8 0028C118 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8028F1BC 0028C11C 38 81 00 40 */ addi r4, r1, 0x40 +/* 8028F1C0 0028C120 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8028F1C4 0028C124 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8028F1C8 0028C128 48 08 4E B9 */ bl AsNormalized__9CVector2fCFv +/* 8028F1CC 0028C12C C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 8028F1D0 0028C130 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028F1D4 0028C134 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 8028F1D8 0028C138 C0 1E 00 58 */ lfs f0, 0x58(r30) +/* 8028F1DC 0028C13C D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 8028F1E0 0028C140 C2 E1 00 48 */ lfs f23, 0x48(r1) +/* 8028F1E4 0028C144 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8028F1E8 0028C148 C3 01 00 4C */ lfs f24, 0x4c(r1) +/* 8028F1EC 0028C14C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8028F1F0 0028C150 48 08 50 11 */ bl __ct__9CVector2fFff +/* 8028F1F4 0028C154 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028F1F8 0028C158 38 81 00 18 */ addi r4, r1, 0x18 +/* 8028F1FC 0028C15C 48 08 4E 85 */ bl AsNormalized__9CVector2fCFv +/* 8028F200 0028C160 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) +/* 8028F204 0028C164 38 61 00 7C */ addi r3, r1, 0x7c +/* 8028F208 0028C168 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8028F20C 0028C16C 38 81 00 70 */ addi r4, r1, 0x70 +/* 8028F210 0028C170 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8028F214 0028C174 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8028F218 0028C178 D2 E1 00 64 */ stfs f23, 0x64(r1) +/* 8028F21C 0028C17C D3 01 00 68 */ stfs f24, 0x68(r1) +/* 8028F220 0028C180 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8028F224 0028C184 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8028F228 0028C188 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8028F22C 0028C18C D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8028F230 0028C190 48 08 28 89 */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +/* 8028F234 0028C194 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 8028F238 0028C198 38 61 01 08 */ addi r3, r1, 0x108 +/* 8028F23C 0028C19C C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8028F240 0028C1A0 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8028F244 0028C1A4 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 8028F248 0028C1A8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8028F24C 0028C1AC D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 8028F250 0028C1B0 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8028F254 0028C1B4 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8028F258 0028C1B8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8028F25C 0028C1BC 48 08 2E 31 */ bl BuildTransform__11CQuaternionCFv +/* 8028F260 0028C1C0 38 61 01 2C */ addi r3, r1, 0x12c +/* 8028F264 0028C1C4 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8028F268 0028C1C8 48 08 3E 8D */ bl BuildMatrix3f__12CTransform4fCFv +/* 8028F26C 0028C1CC 38 61 01 50 */ addi r3, r1, 0x150 +/* 8028F270 0028C1D0 38 81 01 2C */ addi r4, r1, 0x12c +/* 8028F274 0028C1D4 38 A1 01 08 */ addi r5, r1, 0x108 +/* 8028F278 0028C1D8 48 08 0E B9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 8028F27C 0028C1DC 38 61 01 74 */ addi r3, r1, 0x174 +/* 8028F280 0028C1E0 38 81 01 50 */ addi r4, r1, 0x150 +/* 8028F284 0028C1E4 48 08 0D A1 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8028F288 0028C1E8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8028F28C 0028C1EC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8028F290 0028C1F0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8028F294 0028C1F4 38 81 01 74 */ addi r4, r1, 0x174 +/* 8028F298 0028C1F8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8028F29C 0028C1FC 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8028F2A0 0028C200 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8028F2A4 0028C204 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 8028F2A8 0028C208 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8028F2AC 0028C20C 48 08 3F CD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 8028F2B0 0028C210 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8028F2B4 0028C214 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8028F2B8 0028C218 48 08 38 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8028F2BC 0028C21C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8028F2C0 0028C220 38 60 00 01 */ li r3, 1 +/* 8028F2C4 0028C224 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8028F2C8 0028C228 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8028F2CC 0028C22C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8028F2D0 0028C230 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8028F2D4 0028C234 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8028F2D8 0028C238 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8028F2DC 0028C23C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8028F2E0 0028C240 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8028F2E4 0028C244 E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0 +/* 8028F2E8 0028C248 CB E1 02 50 */ lfd f31, 0x250(r1) +/* 8028F2EC 0028C24C E3 C1 02 48 */ psq_l f30, 584(r1), 0, qr0 +/* 8028F2F0 0028C250 CB C1 02 40 */ lfd f30, 0x240(r1) +/* 8028F2F4 0028C254 E3 A1 02 38 */ psq_l f29, 568(r1), 0, qr0 +/* 8028F2F8 0028C258 CB A1 02 30 */ lfd f29, 0x230(r1) +/* 8028F2FC 0028C25C E3 81 02 28 */ psq_l f28, 552(r1), 0, qr0 +/* 8028F300 0028C260 CB 81 02 20 */ lfd f28, 0x220(r1) +/* 8028F304 0028C264 E3 61 02 18 */ psq_l f27, 536(r1), 0, qr0 +/* 8028F308 0028C268 CB 61 02 10 */ lfd f27, 0x210(r1) +/* 8028F30C 0028C26C E3 41 02 08 */ psq_l f26, 520(r1), 0, qr0 +/* 8028F310 0028C270 CB 41 02 00 */ lfd f26, 0x200(r1) +/* 8028F314 0028C274 E3 21 01 F8 */ psq_l f25, 504(r1), 0, qr0 +/* 8028F318 0028C278 CB 21 01 F0 */ lfd f25, 0x1f0(r1) +/* 8028F31C 0028C27C E3 01 01 E8 */ psq_l f24, 488(r1), 0, qr0 +/* 8028F320 0028C280 CB 01 01 E0 */ lfd f24, 0x1e0(r1) +/* 8028F324 0028C284 E2 E1 01 D8 */ psq_l f23, 472(r1), 0, qr0 +/* 8028F328 0028C288 CA E1 01 D0 */ lfd f23, 0x1d0(r1) +/* 8028F32C 0028C28C E2 C1 01 C8 */ psq_l f22, 456(r1), 0, qr0 +/* 8028F330 0028C290 CA C1 01 C0 */ lfd f22, 0x1c0(r1) +/* 8028F334 0028C294 BB 21 01 A4 */ lmw r25, 0x1a4(r1) +/* 8028F338 0028C298 80 01 02 64 */ lwz r0, 0x264(r1) +/* 8028F33C 0028C29C 7C 08 03 A6 */ mtlr r0 +/* 8028F340 0028C2A0 38 21 02 60 */ addi r1, r1, 0x260 +/* 8028F344 0028C2A4 4E 80 00 20 */ blr + +.global sub_8028f348 +sub_8028f348: +/* 8028F348 0028C2A8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028F34C 0028C2AC 7C 08 02 A6 */ mflr r0 +/* 8028F350 0028C2B0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028F354 0028C2B4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8028F358 0028C2B8 7C BF 2B 78 */ mr r31, r5 +/* 8028F35C 0028C2BC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028F360 0028C2C0 7C 9E 23 78 */ mr r30, r4 +/* 8028F364 0028C2C4 38 80 00 01 */ li r4, 1 +/* 8028F368 0028C2C8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8028F36C 0028C2CC 7C 7D 1B 78 */ mr r29, r3 +/* 8028F370 0028C2D0 38 60 00 00 */ li r3, 0 +/* 8028F374 0028C2D4 80 0D 99 9C */ lwz r0, lbl_805A855C@sda21(r13) +/* 8028F378 0028C2D8 7C 05 03 78 */ mr r5, r0 +/* 8028F37C 0028C2DC 48 0F AB 79 */ bl __shl2i +/* 8028F380 0028C2E0 39 00 00 00 */ li r8, 0 +/* 8028F384 0028C2E4 38 00 00 01 */ li r0, 1 +/* 8028F388 0028C2E8 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 8028F38C 0028C2EC 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028F390 0028C2F0 38 C5 67 00 */ addi r6, r5, lbl_805A6700@l +/* 8028F394 0028C2F4 C0 22 BE F4 */ lfs f1, lbl_805ADC14@sda21(r2) +/* 8028F398 0028C2F8 90 61 00 08 */ stw r3, 8(r1) +/* 8028F39C 0028C2FC 7F E4 FB 78 */ mr r4, r31 +/* 8028F3A0 0028C300 7F C5 F3 78 */ mr r5, r30 +/* 8028F3A4 0028C304 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028F3A8 0028C308 91 01 00 14 */ stw r8, 0x14(r1) +/* 8028F3AC 0028C30C 38 E1 00 08 */ addi r7, r1, 8 +/* 8028F3B0 0028C310 91 01 00 10 */ stw r8, 0x10(r1) +/* 8028F3B4 0028C314 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028F3B8 0028C318 4B EF 54 51 */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8028F3BC 0028C31C 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8028F3C0 0028C320 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8028F3C4 0028C324 28 00 00 00 */ cmplwi r0, 0 +/* 8028F3C8 0028C328 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8028F3CC 0028C32C C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8028F3D0 0028C330 40 82 00 20 */ bne lbl_8028F3F0 +/* 8028F3D4 0028C334 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8028F3D8 0028C338 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8028F3DC 0028C33C C0 1E 00 04 */ lfs f0, 4(r30) +/* 8028F3E0 0028C340 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8028F3E4 0028C344 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8028F3E8 0028C348 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8028F3EC 0028C34C 48 00 00 10 */ b lbl_8028F3FC +lbl_8028F3F0: +/* 8028F3F0 0028C350 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8028F3F4 0028C354 D0 3D 00 04 */ stfs f1, 4(r29) +/* 8028F3F8 0028C358 D0 5D 00 08 */ stfs f2, 8(r29) +lbl_8028F3FC: +/* 8028F3FC 0028C35C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028F400 0028C360 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8028F404 0028C364 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8028F408 0028C368 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028F40C 0028C36C 7C 08 03 A6 */ mtlr r0 +/* 8028F410 0028C370 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028F414 0028C374 4E 80 00 20 */ blr + +.global Render__12COmegaPirateCFRC13CStateManager +Render__12COmegaPirateCFRC13CStateManager: +/* 8028F418 0028C378 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8028F41C 0028C37C 7C 08 02 A6 */ mflr r0 +/* 8028F420 0028C380 90 01 01 84 */ stw r0, 0x184(r1) +/* 8028F424 0028C384 93 E1 01 7C */ stw r31, 0x17c(r1) +/* 8028F428 0028C388 7C 9F 23 78 */ mr r31, r4 +/* 8028F42C 0028C38C 38 81 00 38 */ addi r4, r1, 0x38 +/* 8028F430 0028C390 93 C1 01 78 */ stw r30, 0x178(r1) +/* 8028F434 0028C394 7C 7E 1B 78 */ mr r30, r3 +/* 8028F438 0028C398 93 A1 01 74 */ stw r29, 0x174(r1) +/* 8028F43C 0028C39C 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 8028F440 0028C3A0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028F444 0028C3A4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8028F448 0028C3A8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8028F44C 0028C3AC C0 05 00 04 */ lfs f0, 4(r5) +/* 8028F450 0028C3B0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8028F454 0028C3B4 C0 05 00 08 */ lfs f0, 8(r5) +/* 8028F458 0028C3B8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8028F45C 0028C3BC 48 08 3D 69 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8028F460 0028C3C0 38 61 00 74 */ addi r3, r1, 0x74 +/* 8028F464 0028C3C4 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8028F468 0028C3C8 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8028F46C 0028C3CC 48 08 34 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8028F470 0028C3D0 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8028F474 0028C3D4 38 81 00 74 */ addi r4, r1, 0x74 +/* 8028F478 0028C3D8 48 08 36 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8028F47C 0028C3DC 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8028F480 0028C3E0 48 07 D1 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8028F484 0028C3E4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F488 0028C3E8 7F E4 FB 78 */ mr r4, r31 +/* 8028F48C 0028C3EC 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F490 0028C3F0 4B E0 20 C9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F494 0028C3F4 2C 03 00 01 */ cmpwi r3, 1 +/* 8028F498 0028C3F8 41 82 00 90 */ beq lbl_8028F528 +/* 8028F49C 0028C3FC C0 9E 0A 2C */ lfs f4, 0xa2c(r30) +/* 8028F4A0 0028C400 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F4A4 0028C404 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8028F4A8 0028C408 40 81 00 80 */ ble lbl_8028F528 +/* 8028F4AC 0028C40C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F4B0 0028C410 38 00 00 00 */ li r0, 0 +/* 8028F4B4 0028C414 98 01 01 68 */ stb r0, 0x168(r1) +/* 8028F4B8 0028C418 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028F4BC 0028C41C FC 40 08 90 */ fmr f2, f1 +/* 8028F4C0 0028C420 FC 60 08 90 */ fmr f3, f1 +/* 8028F4C4 0028C424 48 0D 3F 29 */ bl __ct__6CColorFffff +/* 8028F4C8 0028C428 39 20 00 03 */ li r9, 3 +/* 8028F4CC 0028C42C 81 01 00 14 */ lwz r8, 0x14(r1) +/* 8028F4D0 0028C430 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d +/* 8028F4D4 0028C434 39 60 00 05 */ li r11, 5 +/* 8028F4D8 0028C438 39 40 00 00 */ li r10, 0 +/* 8028F4DC 0028C43C 99 61 00 30 */ stb r11, 0x30(r1) +/* 8028F4E0 0028C440 60 00 00 03 */ ori r0, r0, 3 +/* 8028F4E4 0028C444 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8028F4E8 0028C448 99 41 00 31 */ stb r10, 0x31(r1) +/* 8028F4EC 0028C44C 38 9E 09 F0 */ addi r4, r30, 0x9f0 +/* 8028F4F0 0028C450 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8028F4F4 0028C454 38 C1 01 20 */ addi r6, r1, 0x120 +/* 8028F4F8 0028C458 B0 01 00 32 */ sth r0, 0x32(r1) +/* 8028F4FC 0028C45C 38 E0 00 00 */ li r7, 0 +/* 8028F500 0028C460 91 01 00 34 */ stw r8, 0x34(r1) +/* 8028F504 0028C464 99 61 00 28 */ stb r11, 0x28(r1) +/* 8028F508 0028C468 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8028F50C 0028C46C 99 41 00 29 */ stb r10, 0x29(r1) +/* 8028F510 0028C470 B1 21 00 2A */ sth r9, 0x2a(r1) +/* 8028F514 0028C474 91 01 00 2C */ stw r8, 0x2c(r1) +/* 8028F518 0028C478 4B D9 D4 05 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8028F51C 0028C47C 38 61 01 20 */ addi r3, r1, 0x120 +/* 8028F520 0028C480 38 80 FF FF */ li r4, -1 +/* 8028F524 0028C484 4B DE 87 69 */ bl sub_80077c8c +lbl_8028F528: +/* 8028F528 0028C488 88 1E 09 A0 */ lbz r0, 0x9a0(r30) +/* 8028F52C 0028C48C 28 00 00 00 */ cmplwi r0, 0 +/* 8028F530 0028C490 41 82 01 04 */ beq lbl_8028F634 +/* 8028F534 0028C494 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F538 0028C498 7F E4 FB 78 */ mr r4, r31 +/* 8028F53C 0028C49C 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F540 0028C4A0 4B E0 20 19 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F544 0028C4A4 20 03 00 01 */ subfic r0, r3, 1 +/* 8028F548 0028C4A8 7C 03 00 34 */ cntlzw r3, r0 +/* 8028F54C 0028C4AC 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 8028F550 0028C4B0 54 7D D9 7E */ srwi r29, r3, 5 +/* 8028F554 0028C4B4 41 82 00 2C */ beq lbl_8028F580 +/* 8028F558 0028C4B8 48 0B AA 5D */ bl Black__6CColorFv +/* 8028F55C 0028C4BC 7C 65 1B 78 */ mr r5, r3 +/* 8028F560 0028C4C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8028F564 0028C4C4 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028F568 0028C4C8 38 80 00 00 */ li r4, 0 +/* 8028F56C 0028C4CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8028F570 0028C4D0 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028F574 0028C4D4 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 8028F578 0028C4D8 7D 89 03 A6 */ mtctr r12 +/* 8028F57C 0028C4DC 4E 80 04 21 */ bctrl +lbl_8028F580: +/* 8028F580 0028C4E0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8028F584 0028C4E4 41 82 00 84 */ beq lbl_8028F608 +/* 8028F588 0028C4E8 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F58C 0028C4EC 38 00 00 00 */ li r0, 0 +/* 8028F590 0028C4F0 98 01 01 1C */ stb r0, 0x11c(r1) +/* 8028F594 0028C4F4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028F598 0028C4F8 FC 40 08 90 */ fmr f2, f1 +/* 8028F59C 0028C4FC C0 82 BE F8 */ lfs f4, lbl_805ADC18@sda21(r2) +/* 8028F5A0 0028C500 FC 60 08 90 */ fmr f3, f1 +/* 8028F5A4 0028C504 48 0D 3E 49 */ bl __ct__6CColorFffff +/* 8028F5A8 0028C508 39 20 00 03 */ li r9, 3 +/* 8028F5AC 0028C50C 81 01 00 10 */ lwz r8, 0x10(r1) +/* 8028F5B0 0028C510 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d +/* 8028F5B4 0028C514 38 80 00 05 */ li r4, 5 +/* 8028F5B8 0028C518 39 40 00 00 */ li r10, 0 +/* 8028F5BC 0028C51C 98 81 00 20 */ stb r4, 0x20(r1) +/* 8028F5C0 0028C520 60 00 00 01 */ ori r0, r0, 1 +/* 8028F5C4 0028C524 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8028F5C8 0028C528 99 41 00 21 */ stb r10, 0x21(r1) +/* 8028F5CC 0028C52C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8028F5D0 0028C530 38 C1 00 D4 */ addi r6, r1, 0xd4 +/* 8028F5D4 0028C534 38 E0 00 00 */ li r7, 0 +/* 8028F5D8 0028C538 B0 01 00 22 */ sth r0, 0x22(r1) +/* 8028F5DC 0028C53C 91 01 00 24 */ stw r8, 0x24(r1) +/* 8028F5E0 0028C540 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8028F5E4 0028C544 98 81 00 18 */ stb r4, 0x18(r1) +/* 8028F5E8 0028C548 80 83 00 E0 */ lwz r4, 0xe0(r3) +/* 8028F5EC 0028C54C 99 41 00 19 */ stb r10, 0x19(r1) +/* 8028F5F0 0028C550 B1 21 00 1A */ sth r9, 0x1a(r1) +/* 8028F5F4 0028C554 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8028F5F8 0028C558 4B D9 D3 25 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8028F5FC 0028C55C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8028F600 0028C560 38 80 FF FF */ li r4, -1 +/* 8028F604 0028C564 4B DE 86 89 */ bl sub_80077c8c +lbl_8028F608: +/* 8028F608 0028C568 7F C3 F3 78 */ mr r3, r30 +/* 8028F60C 0028C56C 7F E4 FB 78 */ mr r4, r31 +/* 8028F610 0028C570 4B DE 8A 1D */ bl Render__10CPatternedCFRC13CStateManager +/* 8028F614 0028C574 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8028F618 0028C578 41 82 00 1C */ beq lbl_8028F634 +/* 8028F61C 0028C57C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8028F620 0028C580 7F E3 FB 78 */ mr r3, r31 +/* 8028F624 0028C584 38 81 00 0C */ addi r4, r1, 0xc +/* 8028F628 0028C588 90 01 00 08 */ stw r0, 8(r1) +/* 8028F62C 0028C58C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028F630 0028C590 4B DB 77 51 */ bl SetupFogForArea__13CStateManagerCF7TAreaId +lbl_8028F634: +/* 8028F634 0028C594 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8028F638 0028C598 83 E1 01 7C */ lwz r31, 0x17c(r1) +/* 8028F63C 0028C59C 83 C1 01 78 */ lwz r30, 0x178(r1) +/* 8028F640 0028C5A0 83 A1 01 74 */ lwz r29, 0x174(r1) +/* 8028F644 0028C5A4 7C 08 03 A6 */ mtlr r0 +/* 8028F648 0028C5A8 38 21 01 80 */ addi r1, r1, 0x180 +/* 8028F64C 0028C5AC 4E 80 00 20 */ blr + +.global PreRender__12COmegaPirateFR13CStateManagerRC14CFrustumPlanes +PreRender__12COmegaPirateFR13CStateManagerRC14CFrustumPlanes: +/* 8028F650 0028C5B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028F654 0028C5B4 7C 08 02 A6 */ mflr r0 +/* 8028F658 0028C5B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028F65C 0028C5BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028F660 0028C5C0 7C 9F 23 78 */ mr r31, r4 +/* 8028F664 0028C5C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028F668 0028C5C8 7C 7E 1B 78 */ mr r30, r3 +/* 8028F66C 0028C5CC 4B F9 D4 BD */ bl PreRender__12CElitePirateFR13CStateManagerRC14CFrustumPlanes +/* 8028F670 0028C5D0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F674 0028C5D4 7F E4 FB 78 */ mr r4, r31 +/* 8028F678 0028C5D8 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F67C 0028C5DC 4B E0 1E DD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F680 0028C5E0 2C 03 00 01 */ cmpwi r3, 1 +/* 8028F684 0028C5E4 40 82 00 54 */ bne lbl_8028F6D8 +/* 8028F688 0028C5E8 C0 3E 0A 80 */ lfs f1, 0xa80(r30) +/* 8028F68C 0028C5EC 38 61 00 08 */ addi r3, r1, 8 +/* 8028F690 0028C5F0 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028F694 0028C5F4 FC 40 08 90 */ fmr f2, f1 +/* 8028F698 0028C5F8 FC 60 08 90 */ fmr f3, f1 +/* 8028F69C 0028C5FC 48 0D 3D 51 */ bl __ct__6CColorFffff +/* 8028F6A0 0028C600 80 61 00 08 */ lwz r3, 8(r1) +/* 8028F6A4 0028C604 38 C0 00 01 */ li r6, 1 +/* 8028F6A8 0028C608 38 80 00 03 */ li r4, 3 +/* 8028F6AC 0028C60C 38 A0 00 00 */ li r5, 0 +/* 8028F6B0 0028C610 98 DE 00 B4 */ stb r6, 0xb4(r30) +/* 8028F6B4 0028C614 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028F6B8 0028C618 60 00 00 03 */ ori r0, r0, 3 +/* 8028F6BC 0028C61C 98 BE 00 B5 */ stb r5, 0xb5(r30) +/* 8028F6C0 0028C620 B0 1E 00 B6 */ sth r0, 0xb6(r30) +/* 8028F6C4 0028C624 98 C1 00 0C */ stb r6, 0xc(r1) +/* 8028F6C8 0028C628 98 A1 00 0D */ stb r5, 0xd(r1) +/* 8028F6CC 0028C62C B0 81 00 0E */ sth r4, 0xe(r1) +/* 8028F6D0 0028C630 90 61 00 10 */ stw r3, 0x10(r1) +/* 8028F6D4 0028C634 90 7E 00 B8 */ stw r3, 0xb8(r30) +lbl_8028F6D8: +/* 8028F6D8 0028C638 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028F6DC 0028C63C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028F6E0 0028C640 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028F6E4 0028C644 7C 08 03 A6 */ mtlr r0 +/* 8028F6E8 0028C648 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028F6EC 0028C64C 4E 80 00 20 */ blr + +.global sub_8028f6f0 +sub_8028f6f0: +/* 8028F6F0 0028C650 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8028F6F4 0028C654 7C 08 02 A6 */ mflr r0 +/* 8028F6F8 0028C658 90 01 00 74 */ stw r0, 0x74(r1) +/* 8028F6FC 0028C65C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8028F700 0028C660 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8028F704 0028C664 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8028F708 0028C668 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8028F70C 0028C66C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8028F710 0028C670 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8028F714 0028C674 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8028F718 0028C678 7C 7E 1B 78 */ mr r30, r3 +/* 8028F71C 0028C67C FF C0 08 90 */ fmr f30, f1 +/* 8028F720 0028C680 80 03 09 94 */ lwz r0, 0x994(r3) +/* 8028F724 0028C684 7C 9F 23 78 */ mr r31, r4 +/* 8028F728 0028C688 2C 00 00 02 */ cmpwi r0, 2 +/* 8028F72C 0028C68C 41 82 01 0C */ beq lbl_8028F838 +/* 8028F730 0028C690 40 80 00 10 */ bge lbl_8028F740 +/* 8028F734 0028C694 2C 00 00 01 */ cmpwi r0, 1 +/* 8028F738 0028C698 40 80 00 14 */ bge lbl_8028F74C +/* 8028F73C 0028C69C 48 00 01 4C */ b lbl_8028F888 +lbl_8028F740: +/* 8028F740 0028C6A0 2C 00 00 04 */ cmpwi r0, 4 +/* 8028F744 0028C6A4 40 80 01 44 */ bge lbl_8028F888 +/* 8028F748 0028C6A8 48 00 00 8C */ b lbl_8028F7D4 +lbl_8028F74C: +/* 8028F74C 0028C6AC C0 22 BE 74 */ lfs f1, lbl_805ADB94@sda21(r2) +/* 8028F750 0028C6B0 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F754 0028C6B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028F758 0028C6B8 40 80 00 0C */ bge lbl_8028F764 +/* 8028F75C 0028C6BC 38 62 BE 74 */ addi r3, r2, lbl_805ADB94@sda21 +/* 8028F760 0028C6C0 48 00 00 08 */ b lbl_8028F768 +lbl_8028F764: +/* 8028F764 0028C6C4 38 7E 09 98 */ addi r3, r30, 0x998 +lbl_8028F768: +/* 8028F768 0028C6C8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028F76C 0028C6CC C0 42 BE FC */ lfs f2, lbl_805ADC1C@sda21(r2) +/* 8028F770 0028C6D0 C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028F774 0028C6D4 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8028F778 0028C6D8 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) +/* 8028F77C 0028C6DC EC 03 00 28 */ fsubs f0, f3, f0 +/* 8028F780 0028C6E0 D0 1E 09 9C */ stfs f0, 0x99c(r30) +/* 8028F784 0028C6E4 C0 1E 09 9C */ lfs f0, 0x99c(r30) +/* 8028F788 0028C6E8 EC 81 00 32 */ fmuls f4, f1, f0 +/* 8028F78C 0028C6EC F0 81 A0 09 */ psq_st f4, 9(r1), 1, qr2 +/* 8028F790 0028C6F0 88 01 00 09 */ lbz r0, 9(r1) +/* 8028F794 0028C6F4 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8028F798 0028C6F8 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F79C 0028C6FC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8028F7A0 0028C700 40 81 00 1C */ ble lbl_8028F7BC +/* 8028F7A4 0028C704 38 60 00 02 */ li r3, 2 +/* 8028F7A8 0028C708 38 00 00 00 */ li r0, 0 +/* 8028F7AC 0028C70C 90 7E 09 94 */ stw r3, 0x994(r30) +/* 8028F7B0 0028C710 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F7B4 0028C714 98 1E 09 A1 */ stb r0, 0x9a1(r30) +/* 8028F7B8 0028C718 D0 1E 09 98 */ stfs f0, 0x998(r30) +lbl_8028F7BC: +/* 8028F7BC 0028C71C C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F7C0 0028C720 38 00 00 01 */ li r0, 1 +/* 8028F7C4 0028C724 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8028F7C8 0028C728 D0 1E 09 98 */ stfs f0, 0x998(r30) +/* 8028F7CC 0028C72C 98 1E 09 A0 */ stb r0, 0x9a0(r30) +/* 8028F7D0 0028C730 48 00 00 C8 */ b lbl_8028F898 +lbl_8028F7D4: +/* 8028F7D4 0028C734 C0 22 BE 78 */ lfs f1, lbl_805ADB98@sda21(r2) +/* 8028F7D8 0028C738 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F7DC 0028C73C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028F7E0 0028C740 40 80 00 0C */ bge lbl_8028F7EC +/* 8028F7E4 0028C744 38 62 BE 78 */ addi r3, r2, lbl_805ADB98@sda21 +/* 8028F7E8 0028C748 48 00 00 08 */ b lbl_8028F7F0 +lbl_8028F7EC: +/* 8028F7EC 0028C74C 38 7E 09 98 */ addi r3, r30, 0x998 +lbl_8028F7F0: +/* 8028F7F0 0028C750 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028F7F4 0028C754 C0 22 BE FC */ lfs f1, lbl_805ADC1C@sda21(r2) +/* 8028F7F8 0028C758 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F7FC 0028C75C EC 22 08 24 */ fdivs f1, f2, f1 +/* 8028F800 0028C760 D0 3E 09 9C */ stfs f1, 0x99c(r30) +/* 8028F804 0028C764 C0 3E 09 98 */ lfs f1, 0x998(r30) +/* 8028F808 0028C768 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028F80C 0028C76C 40 81 00 14 */ ble lbl_8028F820 +/* 8028F810 0028C770 38 00 00 00 */ li r0, 0 +/* 8028F814 0028C774 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F818 0028C778 90 1E 09 94 */ stw r0, 0x994(r30) +/* 8028F81C 0028C77C D0 1E 09 98 */ stfs f0, 0x998(r30) +lbl_8028F820: +/* 8028F820 0028C780 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F824 0028C784 38 00 00 01 */ li r0, 1 +/* 8028F828 0028C788 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8028F82C 0028C78C D0 1E 09 98 */ stfs f0, 0x998(r30) +/* 8028F830 0028C790 98 1E 09 A0 */ stb r0, 0x9a0(r30) +/* 8028F834 0028C794 48 00 00 64 */ b lbl_8028F898 +lbl_8028F838: +/* 8028F838 0028C798 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028F83C 0028C79C C0 02 BE C4 */ lfs f0, lbl_805ADBE4@sda21(r2) +/* 8028F840 0028C7A0 D0 3E 09 9C */ stfs f1, 0x99c(r30) +/* 8028F844 0028C7A4 C0 5E 09 98 */ lfs f2, 0x998(r30) +/* 8028F848 0028C7A8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028F84C 0028C7AC 40 81 00 24 */ ble lbl_8028F870 +/* 8028F850 0028C7B0 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 8028F854 0028C7B4 28 00 00 00 */ cmplwi r0, 0 +/* 8028F858 0028C7B8 41 82 00 18 */ beq lbl_8028F870 +/* 8028F85C 0028C7BC 4B FF C5 D5 */ bl CreateFlash__12COmegaPirateFR13CStateManagerf +/* 8028F860 0028C7C0 38 00 00 03 */ li r0, 3 +/* 8028F864 0028C7C4 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F868 0028C7C8 90 1E 09 94 */ stw r0, 0x994(r30) +/* 8028F86C 0028C7CC D0 1E 09 98 */ stfs f0, 0x998(r30) +lbl_8028F870: +/* 8028F870 0028C7D0 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F874 0028C7D4 38 00 00 00 */ li r0, 0 +/* 8028F878 0028C7D8 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8028F87C 0028C7DC D0 1E 09 98 */ stfs f0, 0x998(r30) +/* 8028F880 0028C7E0 98 1E 09 A0 */ stb r0, 0x9a0(r30) +/* 8028F884 0028C7E4 48 00 00 14 */ b lbl_8028F898 +lbl_8028F888: +/* 8028F888 0028C7E8 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F88C 0028C7EC 38 00 00 01 */ li r0, 1 +/* 8028F890 0028C7F0 D0 1E 09 9C */ stfs f0, 0x99c(r30) +/* 8028F894 0028C7F4 98 1E 09 A0 */ stb r0, 0x9a0(r30) +lbl_8028F898: +/* 8028F898 0028C7F8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F89C 0028C7FC 7F E4 FB 78 */ mr r4, r31 +/* 8028F8A0 0028C800 C3 DE 09 9C */ lfs f30, 0x99c(r30) +/* 8028F8A4 0028C804 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F8A8 0028C808 4B E0 1C B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F8AC 0028C80C 2C 03 00 01 */ cmpwi r3, 1 +/* 8028F8B0 0028C810 40 82 00 18 */ bne lbl_8028F8C8 +/* 8028F8B4 0028C814 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F8B8 0028C818 38 00 00 01 */ li r0, 1 +/* 8028F8BC 0028C81C C3 C2 BE 9C */ lfs f30, lbl_805ADBBC@sda21(r2) +/* 8028F8C0 0028C820 D0 1E 09 9C */ stfs f0, 0x99c(r30) +/* 8028F8C4 0028C824 98 1E 09 A0 */ stb r0, 0x9a0(r30) +lbl_8028F8C8: +/* 8028F8C8 0028C828 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) +/* 8028F8CC 0028C82C C0 1E 09 9C */ lfs f0, 0x99c(r30) +/* 8028F8D0 0028C830 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8028F8D4 0028C834 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 8028F8D8 0028C838 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F8DC 0028C83C 88 01 00 08 */ lbz r0, 8(r1) +/* 8028F8E0 0028C840 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8028F8E4 0028C844 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8028F8E8 0028C848 40 80 00 C4 */ bge lbl_8028F9AC +/* 8028F8EC 0028C84C A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028F8F0 0028C850 7F E3 FB 78 */ mr r3, r31 +/* 8028F8F4 0028C854 38 81 00 20 */ addi r4, r1, 0x20 +/* 8028F8F8 0028C858 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8028F8FC 0028C85C B0 01 00 20 */ sth r0, 0x20(r1) +/* 8028F900 0028C860 4B DB CC 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F904 0028C864 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028F908 0028C868 41 82 00 44 */ beq lbl_8028F94C +/* 8028F90C 0028C86C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F910 0028C870 FC 80 F0 90 */ fmr f4, f30 +/* 8028F914 0028C874 38 61 00 30 */ addi r3, r1, 0x30 +/* 8028F918 0028C878 FC 40 08 90 */ fmr f2, f1 +/* 8028F91C 0028C87C FC 60 08 90 */ fmr f3, f1 +/* 8028F920 0028C880 48 0D 3A CD */ bl __ct__6CColorFffff +/* 8028F924 0028C884 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F928 0028C888 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8028F92C 0028C88C FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 8028F930 0028C890 90 1D 03 F4 */ stw r0, 0x3f4(r29) +/* 8028F934 0028C894 40 82 00 10 */ bne lbl_8028F944 +/* 8028F938 0028C898 38 00 00 00 */ li r0, 0 +/* 8028F93C 0028C89C 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F940 0028C8A0 48 00 00 0C */ b lbl_8028F94C +lbl_8028F944: +/* 8028F944 0028C8A4 38 00 00 01 */ li r0, 1 +/* 8028F948 0028C8A8 98 1D 03 FD */ stb r0, 0x3fd(r29) +lbl_8028F94C: +/* 8028F94C 0028C8AC A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028F950 0028C8B0 7F E3 FB 78 */ mr r3, r31 +/* 8028F954 0028C8B4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8028F958 0028C8B8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8028F95C 0028C8BC 4B DB CC 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F960 0028C8C0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028F964 0028C8C4 41 82 00 D4 */ beq lbl_8028FA38 +/* 8028F968 0028C8C8 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F96C 0028C8CC FC 80 F0 90 */ fmr f4, f30 +/* 8028F970 0028C8D0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028F974 0028C8D4 FC 40 08 90 */ fmr f2, f1 +/* 8028F978 0028C8D8 FC 60 08 90 */ fmr f3, f1 +/* 8028F97C 0028C8DC 48 0D 3A 71 */ bl __ct__6CColorFffff +/* 8028F980 0028C8E0 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F984 0028C8E4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8028F988 0028C8E8 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 8028F98C 0028C8EC 90 1D 03 F4 */ stw r0, 0x3f4(r29) +/* 8028F990 0028C8F0 40 82 00 10 */ bne lbl_8028F9A0 +/* 8028F994 0028C8F4 38 00 00 00 */ li r0, 0 +/* 8028F998 0028C8F8 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F99C 0028C8FC 48 00 00 9C */ b lbl_8028FA38 +lbl_8028F9A0: +/* 8028F9A0 0028C900 38 00 00 01 */ li r0, 1 +/* 8028F9A4 0028C904 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F9A8 0028C908 48 00 00 90 */ b lbl_8028FA38 +lbl_8028F9AC: +/* 8028F9AC 0028C90C A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028F9B0 0028C910 7F E3 FB 78 */ mr r3, r31 +/* 8028F9B4 0028C914 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028F9B8 0028C918 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028F9BC 0028C91C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028F9C0 0028C920 4B DB CB B5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F9C4 0028C924 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028F9C8 0028C928 41 82 00 2C */ beq lbl_8028F9F4 +/* 8028F9CC 0028C92C C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028F9D0 0028C930 38 00 00 01 */ li r0, 1 +/* 8028F9D4 0028C934 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F9D8 0028C938 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028F9DC 0028C93C FC 40 08 90 */ fmr f2, f1 +/* 8028F9E0 0028C940 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028F9E4 0028C944 FC 60 08 90 */ fmr f3, f1 +/* 8028F9E8 0028C948 48 0D 3A 05 */ bl __ct__6CColorFffff +/* 8028F9EC 0028C94C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8028F9F0 0028C950 90 1D 03 F4 */ stw r0, 0x3f4(r29) +lbl_8028F9F4: +/* 8028F9F4 0028C954 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028F9F8 0028C958 7F E3 FB 78 */ mr r3, r31 +/* 8028F9FC 0028C95C 38 81 00 0C */ addi r4, r1, 0xc +/* 8028FA00 0028C960 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028FA04 0028C964 4B DB CB 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FA08 0028C968 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028FA0C 0028C96C 41 82 00 2C */ beq lbl_8028FA38 +/* 8028FA10 0028C970 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028FA14 0028C974 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028FA18 0028C978 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028FA1C 0028C97C FC 40 08 90 */ fmr f2, f1 +/* 8028FA20 0028C980 FC 60 08 90 */ fmr f3, f1 +/* 8028FA24 0028C984 48 0D 39 C9 */ bl __ct__6CColorFffff +/* 8028FA28 0028C988 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028FA2C 0028C98C 38 00 00 01 */ li r0, 1 +/* 8028FA30 0028C990 90 7E 03 F4 */ stw r3, 0x3f4(r30) +/* 8028FA34 0028C994 98 1E 03 FD */ stb r0, 0x3fd(r30) +lbl_8028FA38: +/* 8028FA38 0028C998 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8028FA3C 0028C99C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8028FA40 0028C9A0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8028FA44 0028C9A4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8028FA48 0028C9A8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8028FA4C 0028C9AC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8028FA50 0028C9B0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8028FA54 0028C9B4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8028FA58 0028C9B8 7C 08 03 A6 */ mtlr r0 +/* 8028FA5C 0028C9BC 38 21 00 70 */ addi r1, r1, 0x70 +/* 8028FA60 0028C9C0 4E 80 00 20 */ blr + +.global sub_8028fa64 +sub_8028fa64: +/* 8028FA64 0028C9C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028FA68 0028C9C8 7C 08 02 A6 */ mflr r0 +/* 8028FA6C 0028C9CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028FA70 0028C9D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028FA74 0028C9D4 7C BF 2B 78 */ mr r31, r5 +/* 8028FA78 0028C9D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028FA7C 0028C9DC 7C 9E 23 78 */ mr r30, r4 +/* 8028FA80 0028C9E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8028FA84 0028C9E4 7C 7D 1B 78 */ mr r29, r3 +/* 8028FA88 0028C9E8 4B F9 8F 29 */ bl sub_802289b0 +/* 8028FA8C 0028C9EC A0 1D 09 90 */ lhz r0, 0x990(r29) +/* 8028FA90 0028C9F0 7F A3 EB 78 */ mr r3, r29 +/* 8028FA94 0028C9F4 7F C4 F3 78 */ mr r4, r30 +/* 8028FA98 0028C9F8 7F E5 FB 78 */ mr r5, r31 +/* 8028FA9C 0028C9FC B0 01 00 08 */ sth r0, 8(r1) +/* 8028FAA0 0028CA00 38 C1 00 08 */ addi r6, r1, 8 +/* 8028FAA4 0028CA04 4B F9 8E 7D */ bl sub_80228920 +/* 8028FAA8 0028CA08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028FAAC 0028CA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028FAB0 0028CA10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028FAB4 0028CA14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8028FAB8 0028CA18 7C 08 03 A6 */ mtlr r0 +/* 8028FABC 0028CA1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028FAC0 0028CA20 4E 80 00 20 */ blr + +.global Think__12COmegaPirateFfR13CStateManager +Think__12COmegaPirateFfR13CStateManager: +/* 8028FAC4 0028CA24 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 8028FAC8 0028CA28 7C 08 02 A6 */ mflr r0 +/* 8028FACC 0028CA2C 90 01 01 74 */ stw r0, 0x174(r1) +/* 8028FAD0 0028CA30 DB E1 01 60 */ stfd f31, 0x160(r1) +/* 8028FAD4 0028CA34 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 +/* 8028FAD8 0028CA38 DB C1 01 50 */ stfd f30, 0x150(r1) +/* 8028FADC 0028CA3C F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 +/* 8028FAE0 0028CA40 DB A1 01 40 */ stfd f29, 0x140(r1) +/* 8028FAE4 0028CA44 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 +/* 8028FAE8 0028CA48 BF 41 01 28 */ stmw r26, 0x128(r1) +/* 8028FAEC 0028CA4C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8028FAF0 0028CA50 FF E0 08 90 */ fmr f31, f1 +/* 8028FAF4 0028CA54 7C 7E 1B 78 */ mr r30, r3 +/* 8028FAF8 0028CA58 7C 9F 23 78 */ mr r31, r4 +/* 8028FAFC 0028CA5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8028FB00 0028CA60 41 82 09 08 */ beq lbl_80290408 +/* 8028FB04 0028CA64 88 1E 09 88 */ lbz r0, 0x988(r30) +/* 8028FB08 0028CA68 38 A0 00 01 */ li r5, 1 +/* 8028FB0C 0028CA6C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8028FB10 0028CA70 98 1E 09 88 */ stb r0, 0x988(r30) +/* 8028FB14 0028CA74 4B F9 D8 71 */ bl Think__12CElitePirateFfR13CStateManager +/* 8028FB18 0028CA78 7F C3 F3 78 */ mr r3, r30 +/* 8028FB1C 0028CA7C C0 02 BF 00 */ lfs f0, lbl_805ADC20@sda21(r2) +/* 8028FB20 0028CA80 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FB24 0028CA84 7F E4 FB 78 */ mr r4, r31 +/* 8028FB28 0028CA88 C3 DE 0A 98 */ lfs f30, 0xa98(r30) +/* 8028FB2C 0028CA8C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FB30 0028CA90 EF A0 07 B2 */ fmuls f29, f0, f30 +/* 8028FB34 0028CA94 7D 89 03 A6 */ mtctr r12 +/* 8028FB38 0028CA98 4E 80 04 21 */ bctrl +/* 8028FB3C 0028CA9C C0 02 BE F8 */ lfs f0, lbl_805ADC18@sda21(r2) +/* 8028FB40 0028CAA0 C0 23 00 00 */ lfs f1, 0(r3) +/* 8028FB44 0028CAA4 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8028FB48 0028CAA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FB4C 0028CAAC 4C 40 13 82 */ cror 2, 0, 2 +/* 8028FB50 0028CAB0 40 82 00 10 */ bne lbl_8028FB60 +/* 8028FB54 0028CAB4 38 00 00 03 */ li r0, 3 +/* 8028FB58 0028CAB8 90 1E 0A C4 */ stw r0, 0xac4(r30) +/* 8028FB5C 0028CABC 48 00 00 4C */ b lbl_8028FBA8 +lbl_8028FB60: +/* 8028FB60 0028CAC0 7F C3 F3 78 */ mr r3, r30 +/* 8028FB64 0028CAC4 7F E4 FB 78 */ mr r4, r31 +/* 8028FB68 0028CAC8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FB6C 0028CACC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FB70 0028CAD0 7D 89 03 A6 */ mtctr r12 +/* 8028FB74 0028CAD4 4E 80 04 21 */ bctrl +/* 8028FB78 0028CAD8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028FB7C 0028CADC FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 8028FB80 0028CAE0 4C 40 13 82 */ cror 2, 0, 2 +/* 8028FB84 0028CAE4 40 82 00 10 */ bne lbl_8028FB94 +/* 8028FB88 0028CAE8 38 00 00 02 */ li r0, 2 +/* 8028FB8C 0028CAEC 90 1E 0A C4 */ stw r0, 0xac4(r30) +/* 8028FB90 0028CAF0 48 00 00 18 */ b lbl_8028FBA8 +lbl_8028FB94: +/* 8028FB94 0028CAF4 80 1E 0A CC */ lwz r0, 0xacc(r30) +/* 8028FB98 0028CAF8 28 00 00 04 */ cmplwi r0, 4 +/* 8028FB9C 0028CAFC 40 81 00 0C */ ble lbl_8028FBA8 +/* 8028FBA0 0028CB00 38 00 00 01 */ li r0, 1 +/* 8028FBA4 0028CB04 90 1E 0A C4 */ stw r0, 0xac4(r30) +lbl_8028FBA8: +/* 8028FBA8 0028CB08 80 82 BE 70 */ lwz r4, lbl_805ADB90@sda21(r2) +/* 8028FBAC 0028CB0C 38 61 00 98 */ addi r3, r1, 0x98 +/* 8028FBB0 0028CB10 4B D7 51 09 */ bl string_l__4rstlFPCc +/* 8028FBB4 0028CB14 7F C3 F3 78 */ mr r3, r30 +/* 8028FBB8 0028CB18 7F E4 FB 78 */ mr r4, r31 +/* 8028FBBC 0028CB1C 38 BE 09 90 */ addi r5, r30, 0x990 +/* 8028FBC0 0028CB20 38 C1 00 98 */ addi r6, r1, 0x98 +/* 8028FBC4 0028CB24 4B F9 8E 19 */ bl sub_802289dc +/* 8028FBC8 0028CB28 38 61 00 98 */ addi r3, r1, 0x98 +/* 8028FBCC 0028CB2C 48 0A DF 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028FBD0 0028CB30 FC 20 F8 90 */ fmr f1, f31 +/* 8028FBD4 0028CB34 7F C3 F3 78 */ mr r3, r30 +/* 8028FBD8 0028CB38 7F E4 FB 78 */ mr r4, r31 +/* 8028FBDC 0028CB3C 4B FF FB 15 */ bl sub_8028f6f0 +/* 8028FBE0 0028CB40 FC 20 F8 90 */ fmr f1, f31 +/* 8028FBE4 0028CB44 7F C3 F3 78 */ mr r3, r30 +/* 8028FBE8 0028CB48 7F E4 FB 78 */ mr r4, r31 +/* 8028FBEC 0028CB4C 4B FF DA A5 */ bl sub_8028d690 +/* 8028FBF0 0028CB50 FC 20 F8 90 */ fmr f1, f31 +/* 8028FBF4 0028CB54 7F C3 F3 78 */ mr r3, r30 +/* 8028FBF8 0028CB58 7F E4 FB 78 */ mr r4, r31 +/* 8028FBFC 0028CB5C 4B FF D1 09 */ bl sub_8028cd04 +/* 8028FC00 0028CB60 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 8028FC04 0028CB64 28 00 00 00 */ cmplwi r0, 0 +/* 8028FC08 0028CB68 41 82 00 10 */ beq lbl_8028FC18 +/* 8028FC0C 0028CB6C 88 1E 0A 4A */ lbz r0, 0xa4a(r30) +/* 8028FC10 0028CB70 28 00 00 00 */ cmplwi r0, 0 +/* 8028FC14 0028CB74 41 82 00 CC */ beq lbl_8028FCE0 +lbl_8028FC18: +/* 8028FC18 0028CB78 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028FC1C 0028CB7C 7F E4 FB 78 */ mr r4, r31 +/* 8028FC20 0028CB80 80 63 00 00 */ lwz r3, 0(r3) +/* 8028FC24 0028CB84 4B E0 19 35 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028FC28 0028CB88 2C 03 00 01 */ cmpwi r3, 1 +/* 8028FC2C 0028CB8C 40 82 00 B4 */ bne lbl_8028FCE0 +/* 8028FC30 0028CB90 88 1E 0A 44 */ lbz r0, 0xa44(r30) +/* 8028FC34 0028CB94 28 00 00 00 */ cmplwi r0, 0 +/* 8028FC38 0028CB98 41 82 00 A8 */ beq lbl_8028FCE0 +/* 8028FC3C 0028CB9C 7F C3 F3 78 */ mr r3, r30 +/* 8028FC40 0028CBA0 7F E5 FB 78 */ mr r5, r31 +/* 8028FC44 0028CBA4 38 80 00 28 */ li r4, 0x28 +/* 8028FC48 0028CBA8 4B DC 47 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FC4C 0028CBAC 7F C3 F3 78 */ mr r3, r30 +/* 8028FC50 0028CBB0 7F E5 FB 78 */ mr r5, r31 +/* 8028FC54 0028CBB4 38 80 00 29 */ li r4, 0x29 +/* 8028FC58 0028CBB8 4B DC 46 F9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FC5C 0028CBBC 80 1E 09 C8 */ lwz r0, 0x9c8(r30) +/* 8028FC60 0028CBC0 2C 00 00 04 */ cmpwi r0, 4 +/* 8028FC64 0028CBC4 40 82 00 28 */ bne lbl_8028FC8C +/* 8028FC68 0028CBC8 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FC6C 0028CBCC 7F E4 FB 78 */ mr r4, r31 +/* 8028FC70 0028CBD0 38 A0 00 00 */ li r5, 0 +/* 8028FC74 0028CBD4 4B F1 76 85 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FC78 0028CBD8 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FC7C 0028CBDC 7F E4 FB 78 */ mr r4, r31 +/* 8028FC80 0028CBE0 38 A0 00 00 */ li r5, 0 +/* 8028FC84 0028CBE4 4B F1 76 75 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FC88 0028CBE8 48 00 01 18 */ b lbl_8028FDA0 +lbl_8028FC8C: +/* 8028FC8C 0028CBEC 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FC90 0028CBF0 7F E4 FB 78 */ mr r4, r31 +/* 8028FC94 0028CBF4 38 A0 00 01 */ li r5, 1 +/* 8028FC98 0028CBF8 4B F1 76 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FC9C 0028CBFC 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FCA0 0028CC00 7F E4 FB 78 */ mr r4, r31 +/* 8028FCA4 0028CC04 38 A0 00 01 */ li r5, 1 +/* 8028FCA8 0028CC08 4B F1 76 51 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FCAC 0028CC0C A0 1E 0A 48 */ lhz r0, 0xa48(r30) +/* 8028FCB0 0028CC10 7F E3 FB 78 */ mr r3, r31 +/* 8028FCB4 0028CC14 38 81 00 5C */ addi r4, r1, 0x5c +/* 8028FCB8 0028CC18 B0 01 00 5C */ sth r0, 0x5c(r1) +/* 8028FCBC 0028CC1C 4B DB C8 B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FCC0 0028CC20 28 03 00 00 */ cmplwi r3, 0 +/* 8028FCC4 0028CC24 41 82 00 DC */ beq lbl_8028FDA0 +/* 8028FCC8 0028CC28 81 83 00 00 */ lwz r12, 0(r3) +/* 8028FCCC 0028CC2C 38 80 00 00 */ li r4, 0 +/* 8028FCD0 0028CC30 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028FCD4 0028CC34 7D 89 03 A6 */ mtctr r12 +/* 8028FCD8 0028CC38 4E 80 04 21 */ bctrl +/* 8028FCDC 0028CC3C 48 00 00 C4 */ b lbl_8028FDA0 +lbl_8028FCE0: +/* 8028FCE0 0028CC40 7F C3 F3 78 */ mr r3, r30 +/* 8028FCE4 0028CC44 7F E5 FB 78 */ mr r5, r31 +/* 8028FCE8 0028CC48 38 80 00 28 */ li r4, 0x28 +/* 8028FCEC 0028CC4C 4B DC 42 95 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FCF0 0028CC50 7F C3 F3 78 */ mr r3, r30 +/* 8028FCF4 0028CC54 7F E5 FB 78 */ mr r5, r31 +/* 8028FCF8 0028CC58 38 80 00 29 */ li r4, 0x29 +/* 8028FCFC 0028CC5C 4B DC 42 85 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FD00 0028CC60 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FD04 0028CC64 7F E4 FB 78 */ mr r4, r31 +/* 8028FD08 0028CC68 38 A0 00 00 */ li r5, 0 +/* 8028FD0C 0028CC6C 4B F1 75 ED */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FD10 0028CC70 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 8028FD14 0028CC74 28 00 00 00 */ cmplwi r0, 0 +/* 8028FD18 0028CC78 41 82 00 48 */ beq lbl_8028FD60 +/* 8028FD1C 0028CC7C 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FD20 0028CC80 7F E4 FB 78 */ mr r4, r31 +/* 8028FD24 0028CC84 38 A0 00 01 */ li r5, 1 +/* 8028FD28 0028CC88 4B F1 75 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FD2C 0028CC8C A0 1E 0A 48 */ lhz r0, 0xa48(r30) +/* 8028FD30 0028CC90 7F E3 FB 78 */ mr r3, r31 +/* 8028FD34 0028CC94 38 81 00 58 */ addi r4, r1, 0x58 +/* 8028FD38 0028CC98 B0 01 00 58 */ sth r0, 0x58(r1) +/* 8028FD3C 0028CC9C 4B DB C8 39 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FD40 0028CCA0 28 03 00 00 */ cmplwi r3, 0 +/* 8028FD44 0028CCA4 41 82 00 5C */ beq lbl_8028FDA0 +/* 8028FD48 0028CCA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8028FD4C 0028CCAC 38 80 00 01 */ li r4, 1 +/* 8028FD50 0028CCB0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028FD54 0028CCB4 7D 89 03 A6 */ mtctr r12 +/* 8028FD58 0028CCB8 4E 80 04 21 */ bctrl +/* 8028FD5C 0028CCBC 48 00 00 44 */ b lbl_8028FDA0 +lbl_8028FD60: +/* 8028FD60 0028CCC0 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FD64 0028CCC4 7F E4 FB 78 */ mr r4, r31 +/* 8028FD68 0028CCC8 38 A0 00 00 */ li r5, 0 +/* 8028FD6C 0028CCCC 4B F1 75 8D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FD70 0028CCD0 A0 1E 0A 48 */ lhz r0, 0xa48(r30) +/* 8028FD74 0028CCD4 7F E3 FB 78 */ mr r3, r31 +/* 8028FD78 0028CCD8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8028FD7C 0028CCDC B0 01 00 54 */ sth r0, 0x54(r1) +/* 8028FD80 0028CCE0 4B DB C7 F5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FD84 0028CCE4 28 03 00 00 */ cmplwi r3, 0 +/* 8028FD88 0028CCE8 41 82 00 18 */ beq lbl_8028FDA0 +/* 8028FD8C 0028CCEC 81 83 00 00 */ lwz r12, 0(r3) +/* 8028FD90 0028CCF0 38 80 00 00 */ li r4, 0 +/* 8028FD94 0028CCF4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028FD98 0028CCF8 7D 89 03 A6 */ mtctr r12 +/* 8028FD9C 0028CCFC 4E 80 04 21 */ bctrl +lbl_8028FDA0: +/* 8028FDA0 0028CD00 FC 20 F8 90 */ fmr f1, f31 +/* 8028FDA4 0028CD04 7F C3 F3 78 */ mr r3, r30 +/* 8028FDA8 0028CD08 7F E4 FB 78 */ mr r4, r31 +/* 8028FDAC 0028CD0C 4B FF DA 39 */ bl sub_8028d7e4 +/* 8028FDB0 0028CD10 FC 20 F8 90 */ fmr f1, f31 +/* 8028FDB4 0028CD14 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FDB8 0028CD18 7F E4 FB 78 */ mr r4, r31 +/* 8028FDBC 0028CD1C 38 A0 00 00 */ li r5, 0 +/* 8028FDC0 0028CD20 4B F1 76 91 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 8028FDC4 0028CD24 FC 20 F8 90 */ fmr f1, f31 +/* 8028FDC8 0028CD28 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FDCC 0028CD2C 7F E4 FB 78 */ mr r4, r31 +/* 8028FDD0 0028CD30 38 A0 00 00 */ li r5, 0 +/* 8028FDD4 0028CD34 4B F1 76 7D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 8028FDD8 0028CD38 A0 1E 0A 46 */ lhz r0, 0xa46(r30) +/* 8028FDDC 0028CD3C 7F E3 FB 78 */ mr r3, r31 +/* 8028FDE0 0028CD40 38 81 00 50 */ addi r4, r1, 0x50 +/* 8028FDE4 0028CD44 B0 01 00 50 */ sth r0, 0x50(r1) +/* 8028FDE8 0028CD48 4B DB C7 8D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FDEC 0028CD4C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028FDF0 0028CD50 41 82 00 9C */ beq lbl_8028FE8C +/* 8028FDF4 0028CD54 7F C3 F3 78 */ mr r3, r30 +/* 8028FDF8 0028CD58 7F E4 FB 78 */ mr r4, r31 +/* 8028FDFC 0028CD5C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE00 0028CD60 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE04 0028CD64 7D 89 03 A6 */ mtctr r12 +/* 8028FE08 0028CD68 4E 80 04 21 */ bctrl +/* 8028FE0C 0028CD6C C3 C3 00 00 */ lfs f30, 0(r3) +/* 8028FE10 0028CD70 7F A3 EB 78 */ mr r3, r29 +/* 8028FE14 0028CD74 81 9D 00 00 */ lwz r12, 0(r29) +/* 8028FE18 0028CD78 7F E4 FB 78 */ mr r4, r31 +/* 8028FE1C 0028CD7C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE20 0028CD80 7D 89 03 A6 */ mtctr r12 +/* 8028FE24 0028CD84 4E 80 04 21 */ bctrl +/* 8028FE28 0028CD88 7C 7D 1B 78 */ mr r29, r3 +/* 8028FE2C 0028CD8C 7F C3 F3 78 */ mr r3, r30 +/* 8028FE30 0028CD90 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE34 0028CD94 7F E4 FB 78 */ mr r4, r31 +/* 8028FE38 0028CD98 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE3C 0028CD9C 7D 89 03 A6 */ mtctr r12 +/* 8028FE40 0028CDA0 4E 80 04 21 */ bctrl +/* 8028FE44 0028CDA4 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8028FE48 0028CDA8 7F E4 FB 78 */ mr r4, r31 +/* 8028FE4C 0028CDAC D0 03 00 00 */ stfs f0, 0(r3) +/* 8028FE50 0028CDB0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028FE54 0028CDB4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8028FE58 0028CDB8 7F C3 F3 78 */ mr r3, r30 +/* 8028FE5C 0028CDBC 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE60 0028CDC0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE64 0028CDC4 7D 89 03 A6 */ mtctr r12 +/* 8028FE68 0028CDC8 4E 80 04 21 */ bctrl +/* 8028FE6C 0028CDCC C0 23 00 00 */ lfs f1, 0(r3) +/* 8028FE70 0028CDD0 C0 1E 0B 5C */ lfs f0, 0xb5c(r30) +/* 8028FE74 0028CDD4 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 8028FE78 0028CDD8 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028FE7C 0028CDDC D0 1E 0B 5C */ stfs f0, 0xb5c(r30) +/* 8028FE80 0028CDE0 C0 1E 0B 60 */ lfs f0, 0xb60(r30) +/* 8028FE84 0028CDE4 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028FE88 0028CDE8 D0 1E 0B 60 */ stfs f0, 0xb60(r30) +lbl_8028FE8C: +/* 8028FE8C 0028CDEC 7F C3 F3 78 */ mr r3, r30 +/* 8028FE90 0028CDF0 7F E4 FB 78 */ mr r4, r31 +/* 8028FE94 0028CDF4 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE98 0028CDF8 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE9C 0028CDFC 7D 89 03 A6 */ mtctr r12 +/* 8028FEA0 0028CE00 4E 80 04 21 */ bctrl +/* 8028FEA4 0028CE04 C0 23 00 00 */ lfs f1, 0(r3) +/* 8028FEA8 0028CE08 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028FEAC 0028CE0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FEB0 0028CE10 4C 40 13 82 */ cror 2, 0, 2 +/* 8028FEB4 0028CE14 40 82 00 14 */ bne lbl_8028FEC8 +/* 8028FEB8 0028CE18 7F C3 F3 78 */ mr r3, r30 +/* 8028FEBC 0028CE1C 7F E4 FB 78 */ mr r4, r31 +/* 8028FEC0 0028CE20 4B FF B6 59 */ bl sub_8028b518 +/* 8028FEC4 0028CE24 48 00 00 BC */ b lbl_8028FF80 +lbl_8028FEC8: +/* 8028FEC8 0028CE28 C0 3E 0B 5C */ lfs f1, 0xb5c(r30) +/* 8028FECC 0028CE2C C0 02 BF 04 */ lfs f0, lbl_805ADC24@sda21(r2) +/* 8028FED0 0028CE30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FED4 0028CE34 40 81 00 10 */ ble lbl_8028FEE4 +/* 8028FED8 0028CE38 38 00 00 01 */ li r0, 1 +/* 8028FEDC 0028CE3C 98 1E 09 B4 */ stb r0, 0x9b4(r30) +/* 8028FEE0 0028CE40 48 00 00 A0 */ b lbl_8028FF80 +lbl_8028FEE4: +/* 8028FEE4 0028CE44 C0 3E 0B 60 */ lfs f1, 0xb60(r30) +/* 8028FEE8 0028CE48 C0 02 BF 08 */ lfs f0, lbl_805ADC28@sda21(r2) +/* 8028FEEC 0028CE4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FEF0 0028CE50 40 81 00 90 */ ble lbl_8028FF80 +/* 8028FEF4 0028CE54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028FEF8 0028CE58 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028FEFC 0028CE5C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028FF00 0028CE60 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028FF04 0028CE64 3C 80 80 3E */ lis r4, lbl_803E10C8@ha +/* 8028FF08 0028CE68 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8028FF0C 0028CE6C 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l +/* 8028FF10 0028CE70 38 80 00 1A */ li r4, 0x1a +/* 8028FF14 0028CE74 38 A0 00 01 */ li r5, 1 +/* 8028FF18 0028CE78 38 00 00 00 */ li r0, 0 +/* 8028FF1C 0028CE7C 3B A3 00 04 */ addi r29, r3, 4 +/* 8028FF20 0028CE80 90 81 00 C4 */ stw r4, 0xc4(r1) +/* 8028FF24 0028CE84 7F A3 EB 78 */ mr r3, r29 +/* 8028FF28 0028CE88 38 80 00 1A */ li r4, 0x1a +/* 8028FF2C 0028CE8C 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 8028FF30 0028CE90 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8028FF34 0028CE94 90 A1 00 CC */ stw r5, 0xcc(r1) +/* 8028FF38 0028CE98 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 8028FF3C 0028CE9C 4B EA 14 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028FF40 0028CEA0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8028FF44 0028CEA4 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 8028FF48 0028CEA8 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l +/* 8028FF4C 0028CEAC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028FF50 0028CEB0 90 1D 02 88 */ stw r0, 0x288(r29) +/* 8028FF54 0028CEB4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028FF58 0028CEB8 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 8028FF5C 0028CEBC 80 A1 00 CC */ lwz r5, 0xcc(r1) +/* 8028FF60 0028CEC0 D0 1D 02 8C */ stfs f0, 0x28c(r29) +/* 8028FF64 0028CEC4 88 61 00 D0 */ lbz r3, 0xd0(r1) +/* 8028FF68 0028CEC8 90 BD 02 90 */ stw r5, 0x290(r29) +/* 8028FF6C 0028CECC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028FF70 0028CED0 98 7D 02 94 */ stb r3, 0x294(r29) +/* 8028FF74 0028CED4 90 81 00 C0 */ stw r4, 0xc0(r1) +/* 8028FF78 0028CED8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8028FF7C 0028CEDC D0 1E 0B 60 */ stfs f0, 0xb60(r30) +lbl_8028FF80: +/* 8028FF80 0028CEE0 FC 20 F8 90 */ fmr f1, f31 +/* 8028FF84 0028CEE4 7F C3 F3 78 */ mr r3, r30 +/* 8028FF88 0028CEE8 7F E4 FB 78 */ mr r4, r31 +/* 8028FF8C 0028CEEC 4B FF C7 79 */ bl sub_8028c704 +/* 8028FF90 0028CEF0 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028FF94 0028CEF4 3B 60 00 00 */ li r27, 0 +/* 8028FF98 0028CEF8 3B A0 00 00 */ li r29, 0 +/* 8028FF9C 0028CEFC 48 00 00 90 */ b lbl_8029002C +lbl_8028FFA0: +/* 8028FFA0 0028CF00 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028FFA4 0028CF04 7F E3 FB 78 */ mr r3, r31 +/* 8028FFA8 0028CF08 38 81 00 4C */ addi r4, r1, 0x4c +/* 8028FFAC 0028CF0C 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028FFB0 0028CF10 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 8028FFB4 0028CF14 4B DB C5 C1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FFB8 0028CF18 88 1E 0B 78 */ lbz r0, 0xb78(r30) +/* 8028FFBC 0028CF1C 7C 7A 1B 78 */ mr r26, r3 +/* 8028FFC0 0028CF20 28 00 00 00 */ cmplwi r0, 0 +/* 8028FFC4 0028CF24 40 82 00 10 */ bne lbl_8028FFD4 +/* 8028FFC8 0028CF28 88 1E 0B 79 */ lbz r0, 0xb79(r30) +/* 8028FFCC 0028CF2C 28 00 00 00 */ cmplwi r0, 0 +/* 8028FFD0 0028CF30 41 82 00 34 */ beq lbl_80290004 +lbl_8028FFD4: +/* 8028FFD4 0028CF34 88 1E 0A 4A */ lbz r0, 0xa4a(r30) +/* 8028FFD8 0028CF38 28 00 00 00 */ cmplwi r0, 0 +/* 8028FFDC 0028CF3C 40 82 00 28 */ bne lbl_80290004 +/* 8028FFE0 0028CF40 7F 43 D3 78 */ mr r3, r26 +/* 8028FFE4 0028CF44 7F E5 FB 78 */ mr r5, r31 +/* 8028FFE8 0028CF48 38 80 00 28 */ li r4, 0x28 +/* 8028FFEC 0028CF4C 4B DC 43 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FFF0 0028CF50 7F 43 D3 78 */ mr r3, r26 +/* 8028FFF4 0028CF54 7F E5 FB 78 */ mr r5, r31 +/* 8028FFF8 0028CF58 38 80 00 29 */ li r4, 0x29 +/* 8028FFFC 0028CF5C 4B DC 43 55 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290000 0028CF60 48 00 00 24 */ b lbl_80290024 +lbl_80290004: +/* 80290004 0028CF64 7F 43 D3 78 */ mr r3, r26 +/* 80290008 0028CF68 7F E5 FB 78 */ mr r5, r31 +/* 8029000C 0028CF6C 38 80 00 28 */ li r4, 0x28 +/* 80290010 0028CF70 4B DC 3F 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290014 0028CF74 7F 43 D3 78 */ mr r3, r26 +/* 80290018 0028CF78 7F E5 FB 78 */ mr r5, r31 +/* 8029001C 0028CF7C 38 80 00 29 */ li r4, 0x29 +/* 80290020 0028CF80 4B DC 3F 61 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_80290024: +/* 80290024 0028CF84 3B 7B 00 01 */ addi r27, r27, 1 +/* 80290028 0028CF88 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8029002C: +/* 8029002C 0028CF8C 7C 1B E0 40 */ cmplw r27, r28 +/* 80290030 0028CF90 41 80 FF 70 */ blt lbl_8028FFA0 +/* 80290034 0028CF94 80 9F 08 B8 */ lwz r4, 0x8b8(r31) +/* 80290038 0028CF98 80 7E 05 D4 */ lwz r3, 0x5d4(r30) +/* 8029003C 0028CF9C 83 A4 00 00 */ lwz r29, 0(r4) +/* 80290040 0028CFA0 4B F1 73 7D */ bl GetActive__22CCollisionActorManagerCFv +/* 80290044 0028CFA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80290048 0028CFA8 41 82 00 C4 */ beq lbl_8029010C +/* 8029004C 0028CFAC 88 1D 00 00 */ lbz r0, 0(r29) +/* 80290050 0028CFB0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80290054 0028CFB4 41 82 00 B8 */ beq lbl_8029010C +/* 80290058 0028CFB8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029005C 0028CFBC 2C 00 00 02 */ cmpwi r0, 2 +/* 80290060 0028CFC0 40 82 00 AC */ bne lbl_8029010C +/* 80290064 0028CFC4 88 1E 0A D8 */ lbz r0, 0xad8(r30) +/* 80290068 0028CFC8 28 00 00 00 */ cmplwi r0, 0 +/* 8029006C 0028CFCC 41 82 00 A0 */ beq lbl_8029010C +/* 80290070 0028CFD0 7F C3 F3 78 */ mr r3, r30 +/* 80290074 0028CFD4 7F E5 FB 78 */ mr r5, r31 +/* 80290078 0028CFD8 38 80 00 28 */ li r4, 0x28 +/* 8029007C 0028CFDC 4B DC 42 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290080 0028CFE0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80290084 0028CFE4 38 81 00 48 */ addi r4, r1, 0x48 +/* 80290088 0028CFE8 B0 01 00 48 */ sth r0, 0x48(r1) +/* 8029008C 0028CFEC B0 01 00 44 */ sth r0, 0x44(r1) +/* 80290090 0028CFF0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80290094 0028CFF4 4B D8 9D 11 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId +/* 80290098 0028CFF8 83 5E 09 E0 */ lwz r26, 0x9e0(r30) +/* 8029009C 0028CFFC 3B 60 00 00 */ li r27, 0 +/* 802900A0 0028D000 3B A0 00 00 */ li r29, 0 +/* 802900A4 0028D004 48 00 00 38 */ b lbl_802900DC +lbl_802900A8: +/* 802900A8 0028D008 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 802900AC 0028D00C 7F E3 FB 78 */ mr r3, r31 +/* 802900B0 0028D010 38 81 00 40 */ addi r4, r1, 0x40 +/* 802900B4 0028D014 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 802900B8 0028D018 B0 01 00 40 */ sth r0, 0x40(r1) +/* 802900BC 0028D01C 4B DB C4 B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802900C0 0028D020 28 03 00 00 */ cmplwi r3, 0 +/* 802900C4 0028D024 41 82 00 10 */ beq lbl_802900D4 +/* 802900C8 0028D028 7F E5 FB 78 */ mr r5, r31 +/* 802900CC 0028D02C 38 80 00 28 */ li r4, 0x28 +/* 802900D0 0028D030 4B DC 3E B1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802900D4: +/* 802900D4 0028D034 3B 7B 00 01 */ addi r27, r27, 1 +/* 802900D8 0028D038 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_802900DC: +/* 802900DC 0028D03C 7C 1B D0 40 */ cmplw r27, r26 +/* 802900E0 0028D040 41 80 FF C8 */ blt lbl_802900A8 +/* 802900E4 0028D044 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802900E8 0028D048 7F E5 FB 78 */ mr r5, r31 +/* 802900EC 0028D04C 38 81 00 3C */ addi r4, r1, 0x3c +/* 802900F0 0028D050 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 802900F4 0028D054 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802900F8 0028D058 B0 01 00 38 */ sth r0, 0x38(r1) +/* 802900FC 0028D05C 80 63 04 90 */ lwz r3, 0x490(r3) +/* 80290100 0028D060 80 63 07 44 */ lwz r3, 0x744(r3) +/* 80290104 0028D064 4B F2 98 1D */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager +/* 80290108 0028D068 48 00 01 1C */ b lbl_80290224 +lbl_8029010C: +/* 8029010C 0028D06C 88 1E 0A 4A */ lbz r0, 0xa4a(r30) +/* 80290110 0028D070 28 00 00 00 */ cmplwi r0, 0 +/* 80290114 0028D074 40 82 01 10 */ bne lbl_80290224 +/* 80290118 0028D078 7F C3 F3 78 */ mr r3, r30 +/* 8029011C 0028D07C 7F E5 FB 78 */ mr r5, r31 +/* 80290120 0028D080 38 80 00 28 */ li r4, 0x28 +/* 80290124 0028D084 4B DC 3E 5D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290128 0028D088 83 5E 09 E0 */ lwz r26, 0x9e0(r30) +/* 8029012C 0028D08C 3B 60 00 00 */ li r27, 0 +/* 80290130 0028D090 3B A0 00 00 */ li r29, 0 +/* 80290134 0028D094 48 00 00 50 */ b lbl_80290184 +lbl_80290138: +/* 80290138 0028D098 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8029013C 0028D09C 7F E3 FB 78 */ mr r3, r31 +/* 80290140 0028D0A0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80290144 0028D0A4 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 80290148 0028D0A8 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8029014C 0028D0AC 4B DB C4 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290150 0028D0B0 28 03 00 00 */ cmplwi r3, 0 +/* 80290154 0028D0B4 41 82 00 28 */ beq lbl_8029017C +/* 80290158 0028D0B8 88 1E 0B 78 */ lbz r0, 0xb78(r30) +/* 8029015C 0028D0BC 28 00 00 00 */ cmplwi r0, 0 +/* 80290160 0028D0C0 40 82 00 10 */ bne lbl_80290170 +/* 80290164 0028D0C4 88 1E 0B 79 */ lbz r0, 0xb79(r30) +/* 80290168 0028D0C8 28 00 00 00 */ cmplwi r0, 0 +/* 8029016C 0028D0CC 41 82 00 10 */ beq lbl_8029017C +lbl_80290170: +/* 80290170 0028D0D0 7F E5 FB 78 */ mr r5, r31 +/* 80290174 0028D0D4 38 80 00 28 */ li r4, 0x28 +/* 80290178 0028D0D8 4B DC 41 D9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8029017C: +/* 8029017C 0028D0DC 3B 7B 00 01 */ addi r27, r27, 1 +/* 80290180 0028D0E0 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_80290184: +/* 80290184 0028D0E4 7C 1B D0 40 */ cmplw r27, r26 +/* 80290188 0028D0E8 41 80 FF B0 */ blt lbl_80290138 +/* 8029018C 0028D0EC 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80290190 0028D0F0 7F E5 FB 78 */ mr r5, r31 +/* 80290194 0028D0F4 A3 BE 00 08 */ lhz r29, 8(r30) +/* 80290198 0028D0F8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029019C 0028D0FC 80 84 04 90 */ lwz r4, 0x490(r4) +/* 802901A0 0028D100 80 84 07 44 */ lwz r4, 0x744(r4) +/* 802901A4 0028D104 4B F2 97 15 */ bl HasTarget__10CAuxWeaponCFRC13CStateManager +/* 802901A8 0028D108 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 802901AC 0028D10C 7C 00 E8 40 */ cmplw r0, r29 +/* 802901B0 0028D110 40 82 00 74 */ bne lbl_80290224 +/* 802901B4 0028D114 83 BF 08 4C */ lwz r29, 0x84c(r31) +/* 802901B8 0028D118 7F E5 FB 78 */ mr r5, r31 +/* 802901BC 0028D11C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802901C0 0028D120 A0 1D 03 10 */ lhz r0, 0x310(r29) +/* 802901C4 0028D124 7F A3 EB 78 */ mr r3, r29 +/* 802901C8 0028D128 B0 01 00 28 */ sth r0, 0x28(r1) +/* 802901CC 0028D12C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 802901D0 0028D130 4B EE EE AD */ bl ValidateOrbitTargetId__7CPlayerCF9TUniqueIdR13CStateManager +/* 802901D4 0028D134 2C 03 00 00 */ cmpwi r3, 0 +/* 802901D8 0028D138 40 82 00 2C */ bne lbl_80290204 +/* 802901DC 0028D13C A0 1D 03 10 */ lhz r0, 0x310(r29) +/* 802901E0 0028D140 7F E5 FB 78 */ mr r5, r31 +/* 802901E4 0028D144 38 81 00 24 */ addi r4, r1, 0x24 +/* 802901E8 0028D148 B0 01 00 24 */ sth r0, 0x24(r1) +/* 802901EC 0028D14C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802901F0 0028D150 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802901F4 0028D154 80 63 04 90 */ lwz r3, 0x490(r3) +/* 802901F8 0028D158 80 63 07 44 */ lwz r3, 0x744(r3) +/* 802901FC 0028D15C 4B F2 97 25 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager +/* 80290200 0028D160 48 00 00 24 */ b lbl_80290224 +lbl_80290204: +/* 80290204 0028D164 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80290208 0028D168 7F E5 FB 78 */ mr r5, r31 +/* 8029020C 0028D16C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80290210 0028D170 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80290214 0028D174 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80290218 0028D178 80 63 04 90 */ lwz r3, 0x490(r3) +/* 8029021C 0028D17C 80 63 07 44 */ lwz r3, 0x744(r3) +/* 80290220 0028D180 4B F2 97 01 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager +lbl_80290224: +/* 80290224 0028D184 A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 80290228 0028D188 7F E3 FB 78 */ mr r3, r31 +/* 8029022C 0028D18C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80290230 0028D190 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80290234 0028D194 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80290238 0028D198 4B DB C3 3D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8029023C 0028D19C 28 03 00 00 */ cmplwi r3, 0 +/* 80290240 0028D1A0 41 82 00 0C */ beq lbl_8029024C +/* 80290244 0028D1A4 88 1E 0A DF */ lbz r0, 0xadf(r30) +/* 80290248 0028D1A8 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_8029024C: +/* 8029024C 0028D1AC A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 80290250 0028D1B0 7F E3 FB 78 */ mr r3, r31 +/* 80290254 0028D1B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80290258 0028D1B8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8029025C 0028D1BC 4B DB C3 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290260 0028D1C0 28 03 00 00 */ cmplwi r3, 0 +/* 80290264 0028D1C4 41 82 00 0C */ beq lbl_80290270 +/* 80290268 0028D1C8 88 1E 0A E0 */ lbz r0, 0xae0(r30) +/* 8029026C 0028D1CC 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_80290270: +/* 80290270 0028D1D0 88 1E 09 EC */ lbz r0, 0x9ec(r30) +/* 80290274 0028D1D4 28 00 00 00 */ cmplwi r0, 0 +/* 80290278 0028D1D8 41 82 00 48 */ beq lbl_802902C0 +/* 8029027C 0028D1DC 38 00 00 00 */ li r0, 0 +/* 80290280 0028D1E0 3C 60 80 3D */ lis r3, lbl_803D5A74@ha +/* 80290284 0028D1E4 38 83 5A 74 */ addi r4, r3, lbl_803D5A74@l +/* 80290288 0028D1E8 98 1E 09 EC */ stb r0, 0x9ec(r30) +/* 8029028C 0028D1EC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80290290 0028D1F0 38 84 00 E2 */ addi r4, r4, 0xe2 +/* 80290294 0028D1F4 4B D7 4A 25 */ bl string_l__4rstlFPCc +/* 80290298 0028D1F8 7F C3 F3 78 */ mr r3, r30 +/* 8029029C 0028D1FC 4B E1 26 5D */ bl GetStateMachine__3CAiFv +/* 802902A0 0028D200 7C 66 1B 78 */ mr r6, r3 +/* 802902A4 0028D204 7F E4 FB 78 */ mr r4, r31 +/* 802902A8 0028D208 7F C5 F3 78 */ mr r5, r30 +/* 802902AC 0028D20C 38 7E 03 30 */ addi r3, r30, 0x330 +/* 802902B0 0028D210 38 E1 00 88 */ addi r7, r1, 0x88 +/* 802902B4 0028D214 4B DE F9 51 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802902B8 0028D218 38 61 00 88 */ addi r3, r1, 0x88 +/* 802902BC 0028D21C 48 0A D8 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802902C0: +/* 802902C0 0028D220 80 1E 0B 68 */ lwz r0, 0xb68(r30) +/* 802902C4 0028D224 28 00 00 02 */ cmplwi r0, 2 +/* 802902C8 0028D228 41 80 00 DC */ blt lbl_802903A4 +/* 802902CC 0028D22C 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 802902D0 0028D230 38 61 00 78 */ addi r3, r1, 0x78 +/* 802902D4 0028D234 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 802902D8 0028D238 38 84 00 EB */ addi r4, r4, 0xeb +/* 802902DC 0028D23C 4B D7 49 DD */ bl string_l__4rstlFPCc +/* 802902E0 0028D240 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 802902E4 0028D244 38 61 00 68 */ addi r3, r1, 0x68 +/* 802902E8 0028D248 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 802902EC 0028D24C 38 84 00 EC */ addi r4, r4, 0xec +/* 802902F0 0028D250 4B D7 49 C9 */ bl string_l__4rstlFPCc +/* 802902F4 0028D254 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 802902F8 0028D258 38 61 00 60 */ addi r3, r1, 0x60 +/* 802902FC 0028D25C 48 0B 8A F1 */ bl __ct__13CCharAnimTimeFf +/* 80290300 0028D260 38 00 00 00 */ li r0, 0 +/* 80290304 0028D264 7C 66 1B 78 */ mr r6, r3 +/* 80290308 0028D268 90 01 00 08 */ stw r0, 8(r1) +/* 8029030C 0028D26C 38 01 00 68 */ addi r0, r1, 0x68 +/* 80290310 0028D270 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 80290314 0028D274 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80290318 0028D278 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029031C 0028D27C 38 81 00 78 */ addi r4, r1, 0x78 +/* 80290320 0028D280 38 A0 00 02 */ li r5, 2 +/* 80290324 0028D284 38 E0 FF FF */ li r7, -1 +/* 80290328 0028D288 39 00 00 00 */ li r8, 0 +/* 8029032C 0028D28C 39 20 FF FF */ li r9, -1 +/* 80290330 0028D290 39 40 00 00 */ li r10, 0 +/* 80290334 0028D294 4B D9 B0 59 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290338 0028D298 7F C3 F3 78 */ mr r3, r30 +/* 8029033C 0028D29C FC 20 F8 90 */ fmr f1, f31 +/* 80290340 0028D2A0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80290344 0028D2A4 7F E4 FB 78 */ mr r4, r31 +/* 80290348 0028D2A8 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 8029034C 0028D2AC 38 C0 00 19 */ li r6, 0x19 +/* 80290350 0028D2B0 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80290354 0028D2B4 7D 89 03 A6 */ mtctr r12 +/* 80290358 0028D2B8 4E 80 04 21 */ bctrl +/* 8029035C 0028D2BC 3C 80 80 3E */ lis r4, lbl_803D9B98@ha +/* 80290360 0028D2C0 34 61 01 10 */ addic. r3, r1, 0x110 +/* 80290364 0028D2C4 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l +/* 80290368 0028D2C8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8029036C 0028D2CC 41 82 00 08 */ beq lbl_80290374 +/* 80290370 0028D2D0 48 0A D7 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80290374: +/* 80290374 0028D2D4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 80290378 0028D2D8 34 61 00 DC */ addic. r3, r1, 0xdc +/* 8029037C 0028D2DC 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 80290380 0028D2E0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80290384 0028D2E4 41 82 00 08 */ beq lbl_8029038C +/* 80290388 0028D2E8 48 0A D7 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029038C: +/* 8029038C 0028D2EC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80290390 0028D2F0 48 0A D7 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80290394 0028D2F4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80290398 0028D2F8 48 0A D7 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029039C 0028D2FC 38 00 00 00 */ li r0, 0 +/* 802903A0 0028D300 90 1E 0B 68 */ stw r0, 0xb68(r30) +lbl_802903A4: +/* 802903A4 0028D304 C0 3E 0B 8C */ lfs f1, 0xb8c(r30) +/* 802903A8 0028D308 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 802903AC 0028D30C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802903B0 0028D310 40 81 00 4C */ ble lbl_802903FC +/* 802903B4 0028D314 7F C4 F3 78 */ mr r4, r30 +/* 802903B8 0028D318 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802903BC 0028D31C 4B E8 A5 71 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 802903C0 0028D320 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 802903C4 0028D324 FC 20 F8 90 */ fmr f1, f31 +/* 802903C8 0028D328 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802903CC 0028D32C 7F E3 FB 78 */ mr r3, r31 +/* 802903D0 0028D330 C0 62 BE C4 */ lfs f3, lbl_805ADBE4@sda21(r2) +/* 802903D4 0028D334 7F C4 F3 78 */ mr r4, r30 +/* 802903D8 0028D338 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802903DC 0028D33C C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 802903E0 0028D340 38 A0 00 08 */ li r5, 8 +/* 802903E4 0028D344 C0 82 BF 0C */ lfs f4, lbl_805ADC2C@sda21(r2) +/* 802903E8 0028D348 EC 63 00 32 */ fmuls f3, f3, f0 +/* 802903EC 0028D34C C0 A2 BE A8 */ lfs f5, lbl_805ADBC8@sda21(r2) +/* 802903F0 0028D350 4B EE F7 95 */ bl sub_8017fb84 +/* 802903F4 0028D354 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 802903F8 0028D358 D0 1E 0B 8C */ stfs f0, 0xb8c(r30) +lbl_802903FC: +/* 802903FC 0028D35C C0 1E 0B 8C */ lfs f0, 0xb8c(r30) +/* 80290400 0028D360 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80290404 0028D364 D0 1E 0B 8C */ stfs f0, 0xb8c(r30) +lbl_80290408: +/* 80290408 0028D368 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 +/* 8029040C 0028D36C CB E1 01 60 */ lfd f31, 0x160(r1) +/* 80290410 0028D370 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 +/* 80290414 0028D374 CB C1 01 50 */ lfd f30, 0x150(r1) +/* 80290418 0028D378 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 +/* 8029041C 0028D37C CB A1 01 40 */ lfd f29, 0x140(r1) +/* 80290420 0028D380 BB 41 01 28 */ lmw r26, 0x128(r1) +/* 80290424 0028D384 80 01 01 74 */ lwz r0, 0x174(r1) +/* 80290428 0028D388 7C 08 03 A6 */ mtlr r0 +/* 8029042C 0028D38C 38 21 01 70 */ addi r1, r1, 0x170 +/* 80290430 0028D390 4E 80 00 20 */ blr + +.global sub_80290434 +sub_80290434: +/* 80290434 0028D394 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80290438 0028D398 7C 08 02 A6 */ mflr r0 +/* 8029043C 0028D39C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80290440 0028D3A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80290444 0028D3A4 7C 9F 23 78 */ mr r31, r4 +/* 80290448 0028D3A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029044C 0028D3AC 7C 7E 1B 78 */ mr r30, r3 +/* 80290450 0028D3B0 4B F9 8C C5 */ bl sub_80229114 +/* 80290454 0028D3B4 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 80290458 0028D3B8 7F C3 F3 78 */ mr r3, r30 +/* 8029045C 0028D3BC 7F E4 FB 78 */ mr r4, r31 +/* 80290460 0028D3C0 38 A1 00 08 */ addi r5, r1, 8 +/* 80290464 0028D3C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80290468 0028D3C8 4B F9 8B C5 */ bl sub_8022902c +/* 8029046C 0028D3CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80290470 0028D3D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80290474 0028D3D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80290478 0028D3D8 7C 08 03 A6 */ mtlr r0 +/* 8029047C 0028D3DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80290480 0028D3E0 4E 80 00 20 */ blr + +.global AggressionCheck__12COmegaPirateFR13CStateManagerf +AggressionCheck__12COmegaPirateFR13CStateManagerf: +/* 80290484 0028D3E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80290488 0028D3E8 7C 08 02 A6 */ mflr r0 +/* 8029048C 0028D3EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80290490 0028D3F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80290494 0028D3F4 3B E0 00 00 */ li r31, 0 +/* 80290498 0028D3F8 A0 A3 09 90 */ lhz r5, 0x990(r3) +/* 8029049C 0028D3FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802904A0 0028D400 7C 05 00 40 */ cmplw r5, r0 +/* 802904A4 0028D404 40 82 00 14 */ bne lbl_802904B8 +/* 802904A8 0028D408 4B F9 B8 2D */ bl AggressionCheck__12CElitePirateFR13CStateManagerf +/* 802904AC 0028D40C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802904B0 0028D410 41 82 00 08 */ beq lbl_802904B8 +/* 802904B4 0028D414 3B E0 00 01 */ li r31, 1 +lbl_802904B8: +/* 802904B8 0028D418 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802904BC 0028D41C 7F E3 FB 78 */ mr r3, r31 +/* 802904C0 0028D420 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802904C4 0028D424 7C 08 03 A6 */ mtlr r0 +/* 802904C8 0028D428 38 21 00 10 */ addi r1, r1, 0x10 +/* 802904CC 0028D42C 4E 80 00 20 */ blr + +.global ShotAt__12COmegaPirateFR13CStateManagerf +ShotAt__12COmegaPirateFR13CStateManagerf: +/* 802904D0 0028D430 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802904D4 0028D434 7C 08 02 A6 */ mflr r0 +/* 802904D8 0028D438 90 01 00 14 */ stw r0, 0x14(r1) +/* 802904DC 0028D43C 4B F9 B9 51 */ bl ShotAt__12CElitePirateFR13CStateManagerf +/* 802904E0 0028D440 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802904E4 0028D444 7C 08 03 A6 */ mtlr r0 +/* 802904E8 0028D448 38 21 00 10 */ addi r1, r1, 0x10 +/* 802904EC 0028D44C 4E 80 00 20 */ blr + +.global ShouldCallForBackup__12COmegaPirateFR13CStateManagerf +ShouldCallForBackup__12COmegaPirateFR13CStateManagerf: +/* 802904F0 0028D450 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802904F4 0028D454 7C 08 02 A6 */ mflr r0 +/* 802904F8 0028D458 90 01 00 34 */ stw r0, 0x34(r1) +/* 802904FC 0028D45C DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80290500 0028D460 FF E0 08 90 */ fmr f31, f1 +/* 80290504 0028D464 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80290508 0028D468 3B E0 00 00 */ li r31, 0 +/* 8029050C 0028D46C 93 C1 00 20 */ stw r30, 0x20(r1) +/* 80290510 0028D470 7C 9E 23 78 */ mr r30, r4 +/* 80290514 0028D474 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 80290518 0028D478 7C 7D 1B 78 */ mr r29, r3 +/* 8029051C 0028D47C 4B F9 B9 69 */ bl ShouldCallForBackup__12CElitePirateFR13CStateManagerf +/* 80290520 0028D480 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80290524 0028D484 41 82 00 2C */ beq lbl_80290550 +/* 80290528 0028D488 A0 1D 09 90 */ lhz r0, 0x990(r29) +/* 8029052C 0028D48C FC 20 F8 90 */ fmr f1, f31 +/* 80290530 0028D490 7F A3 EB 78 */ mr r3, r29 +/* 80290534 0028D494 7F C4 F3 78 */ mr r4, r30 +/* 80290538 0028D498 B0 01 00 08 */ sth r0, 8(r1) +/* 8029053C 0028D49C 38 A1 00 08 */ addi r5, r1, 8 +/* 80290540 0028D4A0 4B F9 B8 F9 */ bl sub_8022be38 +/* 80290544 0028D4A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80290548 0028D4A8 41 82 00 08 */ beq lbl_80290550 +/* 8029054C 0028D4AC 3B E0 00 01 */ li r31, 1 +lbl_80290550: +/* 80290550 0028D4B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80290554 0028D4B4 7F E3 FB 78 */ mr r3, r31 +/* 80290558 0028D4B8 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8029055C 0028D4BC 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80290560 0028D4C0 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80290564 0028D4C4 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 80290568 0028D4C8 7C 08 03 A6 */ mtlr r0 +/* 8029056C 0028D4CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80290570 0028D4D0 4E 80 00 20 */ blr + +.global ShouldFire__12COmegaPirateFR13CStateManagerf +ShouldFire__12COmegaPirateFR13CStateManagerf: +/* 80290574 0028D4D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80290578 0028D4D8 7C 08 02 A6 */ mflr r0 +/* 8029057C 0028D4DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80290580 0028D4E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80290584 0028D4E4 3B E0 00 01 */ li r31, 1 +/* 80290588 0028D4E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029058C 0028D4EC 7C 9E 23 78 */ mr r30, r4 +/* 80290590 0028D4F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80290594 0028D4F4 7C 7D 1B 78 */ mr r29, r3 +/* 80290598 0028D4F8 4B F9 BC ED */ bl ShouldFire__12CElitePirateFR13CStateManagerf +/* 8029059C 0028D4FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802905A0 0028D500 40 82 00 28 */ bne lbl_802905C8 +/* 802905A4 0028D504 A0 1D 09 90 */ lhz r0, 0x990(r29) +/* 802905A8 0028D508 7F A3 EB 78 */ mr r3, r29 +/* 802905AC 0028D50C 7F C4 F3 78 */ mr r4, r30 +/* 802905B0 0028D510 38 A1 00 08 */ addi r5, r1, 8 +/* 802905B4 0028D514 B0 01 00 08 */ sth r0, 8(r1) +/* 802905B8 0028D518 4B F9 BA 65 */ bl sub_8022c01c +/* 802905BC 0028D51C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802905C0 0028D520 40 82 00 08 */ bne lbl_802905C8 +/* 802905C4 0028D524 3B E0 00 00 */ li r31, 0 +lbl_802905C8: +/* 802905C8 0028D528 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802905CC 0028D52C 7F E3 FB 78 */ mr r3, r31 +/* 802905D0 0028D530 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802905D4 0028D534 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802905D8 0028D538 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802905DC 0028D53C 7C 08 03 A6 */ mtlr r0 +/* 802905E0 0028D540 38 21 00 20 */ addi r1, r1, 0x20 +/* 802905E4 0028D544 4E 80 00 20 */ blr + +.global DoUserAnimEvent__12COmegaPirateFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__12COmegaPirateFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 802905E8 0028D548 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802905EC 0028D54C 7C 08 02 A6 */ mflr r0 +/* 802905F0 0028D550 28 06 00 19 */ cmplwi r6, 0x19 +/* 802905F4 0028D554 90 01 00 34 */ stw r0, 0x34(r1) +/* 802905F8 0028D558 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802905FC 0028D55C 7C 9F 23 78 */ mr r31, r4 +/* 80290600 0028D560 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80290604 0028D564 7C 7E 1B 78 */ mr r30, r3 +/* 80290608 0028D568 41 81 01 E8 */ bgt lbl_802907F0 +/* 8029060C 0028D56C 3C E0 80 3F */ lis r7, lbl_803EB754@ha +/* 80290610 0028D570 54 C0 10 3A */ slwi r0, r6, 2 +/* 80290614 0028D574 38 E7 B7 54 */ addi r7, r7, lbl_803EB754@l +/* 80290618 0028D578 7C 07 00 2E */ lwzx r0, r7, r0 +/* 8029061C 0028D57C 7C 09 03 A6 */ mtctr r0 +/* 80290620 0028D580 4E 80 04 20 */ bctr +/* 80290624 0028D584 4B F9 BD DD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290628 0028D588 48 00 01 D4 */ b lbl_802907FC +/* 8029062C 0028D58C 4B F9 BD D5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290630 0028D590 48 00 01 CC */ b lbl_802907FC +/* 80290634 0028D594 4B F9 BD CD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290638 0028D598 48 00 01 C4 */ b lbl_802907FC +/* 8029063C 0028D59C 4B F9 BD C5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290640 0028D5A0 48 00 01 BC */ b lbl_802907FC +/* 80290644 0028D5A4 4B F9 BD BD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290648 0028D5A8 48 00 01 B4 */ b lbl_802907FC +/* 8029064C 0028D5AC 4B F9 BD B5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290650 0028D5B0 48 00 01 AC */ b lbl_802907FC +/* 80290654 0028D5B4 A0 7E 09 90 */ lhz r3, 0x990(r30) +/* 80290658 0028D5B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029065C 0028D5BC 7C 03 00 40 */ cmplw r3, r0 +/* 80290660 0028D5C0 41 82 01 9C */ beq lbl_802907FC +/* 80290664 0028D5C4 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 80290668 0028D5C8 7F E3 FB 78 */ mr r3, r31 +/* 8029066C 0028D5CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80290670 0028D5D0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80290674 0028D5D4 4B DB BF 01 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290678 0028D5D8 7C 64 1B 79 */ or. r4, r3, r3 +/* 8029067C 0028D5DC 41 82 01 80 */ beq lbl_802907FC +/* 80290680 0028D5E0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80290684 0028D5E4 7F E3 FB 78 */ mr r3, r31 +/* 80290688 0028D5E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029068C 0028D5EC 38 C0 00 13 */ li r6, 0x13 +/* 80290690 0028D5F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80290694 0028D5F4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80290698 0028D5F8 4B DB 38 39 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8029069C 0028D5FC 48 00 01 60 */ b lbl_802907FC +/* 802906A0 0028D600 80 1E 09 94 */ lwz r0, 0x994(r30) +/* 802906A4 0028D604 2C 00 00 02 */ cmpwi r0, 2 +/* 802906A8 0028D608 41 82 01 54 */ beq lbl_802907FC +/* 802906AC 0028D60C 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 802906B0 0028D610 28 00 00 00 */ cmplwi r0, 0 +/* 802906B4 0028D614 41 82 01 48 */ beq lbl_802907FC +/* 802906B8 0028D618 38 60 00 01 */ li r3, 1 +/* 802906BC 0028D61C 38 00 00 03 */ li r0, 3 +/* 802906C0 0028D620 90 7E 09 94 */ stw r3, 0x994(r30) +/* 802906C4 0028D624 90 1E 0A 30 */ stw r0, 0xa30(r30) +/* 802906C8 0028D628 48 00 01 34 */ b lbl_802907FC +/* 802906CC 0028D62C 38 00 00 01 */ li r0, 1 +/* 802906D0 0028D630 98 1E 09 A1 */ stb r0, 0x9a1(r30) +/* 802906D4 0028D634 48 00 01 28 */ b lbl_802907FC +/* 802906D8 0028D638 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 802906DC 0028D63C 80 7E 0A C0 */ lwz r3, 0xac0(r30) +/* 802906E0 0028D640 54 00 10 3A */ slwi r0, r0, 2 +/* 802906E4 0028D644 7C 03 02 14 */ add r0, r3, r0 +/* 802906E8 0028D648 90 61 00 18 */ stw r3, 0x18(r1) +/* 802906EC 0028D64C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802906F0 0028D650 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802906F4 0028D654 90 61 00 14 */ stw r3, 0x14(r1) +/* 802906F8 0028D658 48 00 00 08 */ b lbl_80290700 +lbl_802906FC: +/* 802906FC 0028D65C 38 63 00 04 */ addi r3, r3, 4 +lbl_80290700: +/* 80290700 0028D660 7C 03 00 40 */ cmplw r3, r0 +/* 80290704 0028D664 40 82 FF F8 */ bne lbl_802906FC +/* 80290708 0028D668 38 00 00 00 */ li r0, 0 +/* 8029070C 0028D66C 90 1E 0A B8 */ stw r0, 0xab8(r30) +/* 80290710 0028D670 90 1E 0A C8 */ stw r0, 0xac8(r30) +/* 80290714 0028D674 80 7E 0A CC */ lwz r3, 0xacc(r30) +/* 80290718 0028D678 38 03 00 01 */ addi r0, r3, 1 +/* 8029071C 0028D67C 90 1E 0A CC */ stw r0, 0xacc(r30) +/* 80290720 0028D680 80 1E 0A C4 */ lwz r0, 0xac4(r30) +/* 80290724 0028D684 2C 00 00 02 */ cmpwi r0, 2 +/* 80290728 0028D688 41 82 00 5C */ beq lbl_80290784 +/* 8029072C 0028D68C 40 80 00 14 */ bge lbl_80290740 +/* 80290730 0028D690 2C 00 00 00 */ cmpwi r0, 0 +/* 80290734 0028D694 41 82 00 18 */ beq lbl_8029074C +/* 80290738 0028D698 40 80 00 28 */ bge lbl_80290760 +/* 8029073C 0028D69C 48 00 00 9C */ b lbl_802907D8 +lbl_80290740: +/* 80290740 0028D6A0 2C 00 00 04 */ cmpwi r0, 4 +/* 80290744 0028D6A4 40 80 00 94 */ bge lbl_802907D8 +/* 80290748 0028D6A8 48 00 00 60 */ b lbl_802907A8 +lbl_8029074C: +/* 8029074C 0028D6AC 7F C3 F3 78 */ mr r3, r30 +/* 80290750 0028D6B0 7F E5 FB 78 */ mr r5, r31 +/* 80290754 0028D6B4 38 80 00 02 */ li r4, 2 +/* 80290758 0028D6B8 4B FF C4 95 */ bl sub_8028cbec +/* 8029075C 0028D6BC 48 00 00 7C */ b lbl_802907D8 +lbl_80290760: +/* 80290760 0028D6C0 7F C3 F3 78 */ mr r3, r30 +/* 80290764 0028D6C4 7F E5 FB 78 */ mr r5, r31 +/* 80290768 0028D6C8 38 80 00 01 */ li r4, 1 +/* 8029076C 0028D6CC 4B FF C4 81 */ bl sub_8028cbec +/* 80290770 0028D6D0 7F C3 F3 78 */ mr r3, r30 +/* 80290774 0028D6D4 7F E5 FB 78 */ mr r5, r31 +/* 80290778 0028D6D8 38 80 00 01 */ li r4, 1 +/* 8029077C 0028D6DC 4B FF C4 71 */ bl sub_8028cbec +/* 80290780 0028D6E0 48 00 00 58 */ b lbl_802907D8 +lbl_80290784: +/* 80290784 0028D6E4 7F C3 F3 78 */ mr r3, r30 +/* 80290788 0028D6E8 7F E5 FB 78 */ mr r5, r31 +/* 8029078C 0028D6EC 38 80 00 02 */ li r4, 2 +/* 80290790 0028D6F0 4B FF C4 5D */ bl sub_8028cbec +/* 80290794 0028D6F4 7F C3 F3 78 */ mr r3, r30 +/* 80290798 0028D6F8 7F E5 FB 78 */ mr r5, r31 +/* 8029079C 0028D6FC 38 80 00 01 */ li r4, 1 +/* 802907A0 0028D700 4B FF C4 4D */ bl sub_8028cbec +/* 802907A4 0028D704 48 00 00 34 */ b lbl_802907D8 +lbl_802907A8: +/* 802907A8 0028D708 7F C3 F3 78 */ mr r3, r30 +/* 802907AC 0028D70C 7F E5 FB 78 */ mr r5, r31 +/* 802907B0 0028D710 38 80 00 01 */ li r4, 1 +/* 802907B4 0028D714 4B FF C4 39 */ bl sub_8028cbec +/* 802907B8 0028D718 7F C3 F3 78 */ mr r3, r30 +/* 802907BC 0028D71C 7F E5 FB 78 */ mr r5, r31 +/* 802907C0 0028D720 38 80 00 01 */ li r4, 1 +/* 802907C4 0028D724 4B FF C4 29 */ bl sub_8028cbec +/* 802907C8 0028D728 7F C3 F3 78 */ mr r3, r30 +/* 802907CC 0028D72C 7F E5 FB 78 */ mr r5, r31 +/* 802907D0 0028D730 38 80 00 01 */ li r4, 1 +/* 802907D4 0028D734 4B FF C4 19 */ bl sub_8028cbec +lbl_802907D8: +/* 802907D8 0028D738 7F C3 F3 78 */ mr r3, r30 +/* 802907DC 0028D73C 7F E5 FB 78 */ mr r5, r31 +/* 802907E0 0028D740 38 80 00 01 */ li r4, 1 +/* 802907E4 0028D744 38 C0 FF FF */ li r6, -1 +/* 802907E8 0028D748 4B DC 08 D9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 802907EC 0028D74C 48 00 00 10 */ b lbl_802907FC +lbl_802907F0: +/* 802907F0 0028D750 7F C3 F3 78 */ mr r3, r30 +/* 802907F4 0028D754 7F E4 FB 78 */ mr r4, r31 +/* 802907F8 0028D758 4B F9 BC 09 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_802907FC: +/* 802907FC 0028D75C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80290800 0028D760 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80290804 0028D764 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80290808 0028D768 7C 08 03 A6 */ mtlr r0 +/* 8029080C 0028D76C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80290810 0028D770 4E 80 00 20 */ blr + +.global GetOrbitPosition__12COmegaPirateCFRC13CStateManager +GetOrbitPosition__12COmegaPirateCFRC13CStateManager: +/* 80290814 0028D774 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80290818 0028D778 7C 08 02 A6 */ mflr r0 +/* 8029081C 0028D77C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80290820 0028D780 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80290824 0028D784 7C BF 2B 78 */ mr r31, r5 +/* 80290828 0028D788 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029082C 0028D78C 7C 9E 23 78 */ mr r30, r4 +/* 80290830 0028D790 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80290834 0028D794 7C 7D 1B 78 */ mr r29, r3 +/* 80290838 0028D798 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029083C 0028D79C A0 84 09 90 */ lhz r4, 0x990(r4) +/* 80290840 0028D7A0 7C 04 00 40 */ cmplw r4, r0 +/* 80290844 0028D7A4 41 82 00 40 */ beq lbl_80290884 +/* 80290848 0028D7A8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8029084C 0028D7AC 80 63 00 00 */ lwz r3, 0(r3) +/* 80290850 0028D7B0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80290854 0028D7B4 2C 00 00 03 */ cmpwi r0, 3 +/* 80290858 0028D7B8 40 82 00 2C */ bne lbl_80290884 +/* 8029085C 0028D7BC B0 81 00 08 */ sth r4, 8(r1) +/* 80290860 0028D7C0 7F E3 FB 78 */ mr r3, r31 +/* 80290864 0028D7C4 38 81 00 08 */ addi r4, r1, 8 +/* 80290868 0028D7C8 4B DB BD 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8029086C 0028D7CC 7C 65 1B 79 */ or. r5, r3, r3 +/* 80290870 0028D7D0 41 82 00 14 */ beq lbl_80290884 +/* 80290874 0028D7D4 7F A3 EB 78 */ mr r3, r29 +/* 80290878 0028D7D8 7F C4 F3 78 */ mr r4, r30 +/* 8029087C 0028D7DC 4B F9 7F E9 */ bl sub_80228864 +/* 80290880 0028D7E0 48 00 00 14 */ b lbl_80290894 +lbl_80290884: +/* 80290884 0028D7E4 7F A3 EB 78 */ mr r3, r29 +/* 80290888 0028D7E8 7F C4 F3 78 */ mr r4, r30 +/* 8029088C 0028D7EC 7F E5 FB 78 */ mr r5, r31 +/* 80290890 0028D7F0 4B F9 BF 81 */ bl GetOrbitPosition__12CElitePirateCFRC13CStateManager +lbl_80290894: +/* 80290894 0028D7F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80290898 0028D7F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029089C 0028D7FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802908A0 0028D800 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802908A4 0028D804 7C 08 03 A6 */ mtlr r0 +/* 802908A8 0028D808 38 21 00 20 */ addi r1, r1, 0x20 +/* 802908AC 0028D80C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12COmegaPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12COmegaPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802908B0 0028D810 94 21 FD A0 */ stwu r1, -0x260(r1) +/* 802908B4 0028D814 7C 08 02 A6 */ mflr r0 +/* 802908B8 0028D818 90 01 02 64 */ stw r0, 0x264(r1) +/* 802908BC 0028D81C BE 41 02 28 */ stmw r18, 0x228(r1) +/* 802908C0 0028D820 7C 95 23 78 */ mr r21, r4 +/* 802908C4 0028D824 28 15 00 2A */ cmplwi r21, 0x2a +/* 802908C8 0028D828 7C 7F 1B 78 */ mr r31, r3 +/* 802908CC 0028D82C 7C B4 2B 78 */ mr r20, r5 +/* 802908D0 0028D830 7C DE 33 78 */ mr r30, r6 +/* 802908D4 0028D834 41 81 0E 70 */ bgt lbl_80291744 +/* 802908D8 0028D838 3C A0 80 3F */ lis r5, lbl_803EB7BC@ha +/* 802908DC 0028D83C 56 A0 10 3A */ slwi r0, r21, 2 +/* 802908E0 0028D840 38 A5 B7 BC */ addi r5, r5, lbl_803EB7BC@l +/* 802908E4 0028D844 7C 05 00 2E */ lwzx r0, r5, r0 +/* 802908E8 0028D848 7C 09 03 A6 */ mtctr r0 +/* 802908EC 0028D84C 4E 80 04 20 */ bctr +/* 802908F0 0028D850 A0 14 00 00 */ lhz r0, 0(r20) +/* 802908F4 0028D854 38 A1 00 9C */ addi r5, r1, 0x9c +/* 802908F8 0028D858 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 802908FC 0028D85C 4B F9 C2 D1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290900 0028D860 7F C4 F3 78 */ mr r4, r30 +/* 80290904 0028D864 38 61 00 98 */ addi r3, r1, 0x98 +/* 80290908 0028D868 4B DB C7 D5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8029090C 0028D86C A0 01 00 98 */ lhz r0, 0x98(r1) +/* 80290910 0028D870 7F E3 FB 78 */ mr r3, r31 +/* 80290914 0028D874 7F C4 F3 78 */ mr r4, r30 +/* 80290918 0028D878 38 A1 00 94 */ addi r5, r1, 0x94 +/* 8029091C 0028D87C B0 1F 09 90 */ sth r0, 0x990(r31) +/* 80290920 0028D880 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290924 0028D884 B0 01 00 94 */ sth r0, 0x94(r1) +/* 80290928 0028D888 4B F9 81 85 */ bl sub_80228aac +/* 8029092C 0028D88C 7F E3 FB 78 */ mr r3, r31 +/* 80290930 0028D890 7F C4 F3 78 */ mr r4, r30 +/* 80290934 0028D894 4B FF CB 2D */ bl sub_8028d460 +/* 80290938 0028D898 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8029093C 0028D89C 38 80 00 08 */ li r4, 8 +/* 80290940 0028D8A0 4B EA A0 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80290944 0028D8A4 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80290948 0028D8A8 38 60 00 00 */ li r3, 0 +/* 8029094C 0028D8AC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80290950 0028D8B0 38 7F 0A 4C */ addi r3, r31, 0xa4c +/* 80290954 0028D8B4 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80290958 0028D8B8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8029095C 0028D8BC 48 08 21 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80290960 0028D8C0 7F E3 FB 78 */ mr r3, r31 +/* 80290964 0028D8C4 7F C4 F3 78 */ mr r4, r30 +/* 80290968 0028D8C8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8029096C 0028D8CC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80290970 0028D8D0 7D 89 03 A6 */ mtctr r12 +/* 80290974 0028D8D4 4E 80 04 21 */ bctrl +/* 80290978 0028D8D8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029097C 0028D8DC 7F C3 F3 78 */ mr r3, r30 +/* 80290980 0028D8E0 38 81 00 90 */ addi r4, r1, 0x90 +/* 80290984 0028D8E4 D0 1F 0A 98 */ stfs f0, 0xa98(r31) +/* 80290988 0028D8E8 A0 1F 07 72 */ lhz r0, 0x772(r31) +/* 8029098C 0028D8EC B0 01 00 8C */ sth r0, 0x8c(r1) +/* 80290990 0028D8F0 B0 01 00 90 */ sth r0, 0x90(r1) +/* 80290994 0028D8F4 4B DB BB E1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290998 0028D8F8 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 8029099C 0028D8FC 7C 72 1B 78 */ mr r18, r3 +/* 802909A0 0028D900 7F C3 F3 78 */ mr r3, r30 +/* 802909A4 0028D904 38 81 00 88 */ addi r4, r1, 0x88 +/* 802909A8 0028D908 B0 01 00 88 */ sth r0, 0x88(r1) +/* 802909AC 0028D90C 4B DB BB C9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802909B0 0028D910 28 12 00 00 */ cmplwi r18, 0 +/* 802909B4 0028D914 7C 73 1B 78 */ mr r19, r3 +/* 802909B8 0028D918 41 82 00 14 */ beq lbl_802909CC +/* 802909BC 0028D91C 7E 43 93 78 */ mr r3, r18 +/* 802909C0 0028D920 7F C5 F3 78 */ mr r5, r30 +/* 802909C4 0028D924 38 80 00 27 */ li r4, 0x27 +/* 802909C8 0028D928 4B DC 35 B9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802909CC: +/* 802909CC 0028D92C 28 13 00 00 */ cmplwi r19, 0 +/* 802909D0 0028D930 41 82 00 14 */ beq lbl_802909E4 +/* 802909D4 0028D934 7E 63 9B 78 */ mr r3, r19 +/* 802909D8 0028D938 7F C5 F3 78 */ mr r5, r30 +/* 802909DC 0028D93C 38 80 00 27 */ li r4, 0x27 +/* 802909E0 0028D940 4B DC 35 A1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802909E4: +/* 802909E4 0028D944 38 7F 04 60 */ addi r3, r31, 0x460 +/* 802909E8 0028D948 38 80 00 00 */ li r4, 0 +/* 802909EC 0028D94C 4B FA 33 79 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 802909F0 0028D950 7F E3 FB 78 */ mr r3, r31 +/* 802909F4 0028D954 4B F9 88 55 */ bl sub_80229248 +/* 802909F8 0028D958 48 00 0D 68 */ b lbl_80291760 +/* 802909FC 0028D95C A0 14 00 00 */ lhz r0, 0(r20) +/* 80290A00 0028D960 38 A1 00 84 */ addi r5, r1, 0x84 +/* 80290A04 0028D964 B0 01 00 84 */ sth r0, 0x84(r1) +/* 80290A08 0028D968 4B F9 C1 C5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290A0C 0028D96C 80 7F 0A 38 */ lwz r3, 0xa38(r31) +/* 80290A10 0028D970 7F C4 F3 78 */ mr r4, r30 +/* 80290A14 0028D974 38 A0 00 01 */ li r5, 1 +/* 80290A18 0028D978 4B F1 68 E1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A1C 0028D97C 80 7F 0A 9C */ lwz r3, 0xa9c(r31) +/* 80290A20 0028D980 7F C4 F3 78 */ mr r4, r30 +/* 80290A24 0028D984 38 A0 00 01 */ li r5, 1 +/* 80290A28 0028D988 4B F1 68 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A2C 0028D98C 38 7F 04 60 */ addi r3, r31, 0x460 +/* 80290A30 0028D990 38 80 00 00 */ li r4, 0 +/* 80290A34 0028D994 4B FA 33 31 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80290A38 0028D998 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290A3C 0028D99C 7F C3 F3 78 */ mr r3, r30 +/* 80290A40 0028D9A0 38 81 00 80 */ addi r4, r1, 0x80 +/* 80290A44 0028D9A4 B0 01 00 80 */ sth r0, 0x80(r1) +/* 80290A48 0028D9A8 4B DB BB 2D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290A4C 0028D9AC 28 03 00 00 */ cmplwi r3, 0 +/* 80290A50 0028D9B0 41 82 0D 10 */ beq lbl_80291760 +/* 80290A54 0028D9B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80290A58 0028D9B8 38 80 00 01 */ li r4, 1 +/* 80290A5C 0028D9BC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80290A60 0028D9C0 7D 89 03 A6 */ mtctr r12 +/* 80290A64 0028D9C4 4E 80 04 21 */ bctrl +/* 80290A68 0028D9C8 48 00 0C F8 */ b lbl_80291760 +/* 80290A6C 0028D9CC A0 14 00 00 */ lhz r0, 0(r20) +/* 80290A70 0028D9D0 38 A1 00 7C */ addi r5, r1, 0x7c +/* 80290A74 0028D9D4 B0 01 00 7C */ sth r0, 0x7c(r1) +/* 80290A78 0028D9D8 4B F9 C1 55 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290A7C 0028D9DC 80 7F 0A 38 */ lwz r3, 0xa38(r31) +/* 80290A80 0028D9E0 7F C4 F3 78 */ mr r4, r30 +/* 80290A84 0028D9E4 38 A0 00 00 */ li r5, 0 +/* 80290A88 0028D9E8 4B F1 68 71 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A8C 0028D9EC 80 7F 0A 9C */ lwz r3, 0xa9c(r31) +/* 80290A90 0028D9F0 7F C4 F3 78 */ mr r4, r30 +/* 80290A94 0028D9F4 38 A0 00 00 */ li r5, 0 +/* 80290A98 0028D9F8 4B F1 68 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A9C 0028D9FC A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290AA0 0028DA00 7F C3 F3 78 */ mr r3, r30 +/* 80290AA4 0028DA04 38 81 00 78 */ addi r4, r1, 0x78 +/* 80290AA8 0028DA08 B0 01 00 78 */ sth r0, 0x78(r1) +/* 80290AAC 0028DA0C 4B DB BA C9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290AB0 0028DA10 28 03 00 00 */ cmplwi r3, 0 +/* 80290AB4 0028DA14 41 82 0C AC */ beq lbl_80291760 +/* 80290AB8 0028DA18 81 83 00 00 */ lwz r12, 0(r3) +/* 80290ABC 0028DA1C 38 80 00 00 */ li r4, 0 +/* 80290AC0 0028DA20 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80290AC4 0028DA24 7D 89 03 A6 */ mtctr r12 +/* 80290AC8 0028DA28 4E 80 04 21 */ bctrl +/* 80290ACC 0028DA2C 48 00 0C 94 */ b lbl_80291760 +/* 80290AD0 0028DA30 A0 14 00 00 */ lhz r0, 0(r20) +/* 80290AD4 0028DA34 38 A1 00 74 */ addi r5, r1, 0x74 +/* 80290AD8 0028DA38 B0 01 00 74 */ sth r0, 0x74(r1) +/* 80290ADC 0028DA3C 4B F9 C0 F1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290AE0 0028DA40 80 7F 0A 38 */ lwz r3, 0xa38(r31) +/* 80290AE4 0028DA44 7F C4 F3 78 */ mr r4, r30 +/* 80290AE8 0028DA48 4B F1 68 DD */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80290AEC 0028DA4C 80 7F 0A 9C */ lwz r3, 0xa9c(r31) +/* 80290AF0 0028DA50 7F C4 F3 78 */ mr r4, r30 +/* 80290AF4 0028DA54 4B F1 68 D1 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80290AF8 0028DA58 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290AFC 0028DA5C 7F C3 F3 78 */ mr r3, r30 +/* 80290B00 0028DA60 38 81 00 70 */ addi r4, r1, 0x70 +/* 80290B04 0028DA64 B0 01 00 70 */ sth r0, 0x70(r1) +/* 80290B08 0028DA68 4B DB B7 65 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80290B0C 0028DA6C 48 00 0C 54 */ b lbl_80291760 +/* 80290B10 0028DA70 A0 14 00 00 */ lhz r0, 0(r20) +/* 80290B14 0028DA74 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80290B18 0028DA78 B0 01 00 6C */ sth r0, 0x6c(r1) +/* 80290B1C 0028DA7C 4B F9 C0 B1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290B20 0028DA80 48 00 0C 40 */ b lbl_80291760 +/* 80290B24 0028DA84 A0 14 00 00 */ lhz r0, 0(r20) +/* 80290B28 0028DA88 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80290B2C 0028DA8C B0 01 00 68 */ sth r0, 0x68(r1) +/* 80290B30 0028DA90 4B F9 C0 9D */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290B34 0028DA94 83 1F 00 24 */ lwz r24, 0x24(r31) +/* 80290B38 0028DA98 3B 21 02 18 */ addi r25, r1, 0x218 +/* 80290B3C 0028DA9C 3B 41 02 04 */ addi r26, r1, 0x204 +/* 80290B40 0028DAA0 3B 61 01 D4 */ addi r27, r1, 0x1d4 +/* 80290B44 0028DAA4 3A E1 01 C0 */ addi r23, r1, 0x1c0 +/* 80290B48 0028DAA8 3B A0 00 00 */ li r29, 0 +/* 80290B4C 0028DAAC 3B 80 00 00 */ li r28, 0 +/* 80290B50 0028DAB0 48 00 06 80 */ b lbl_802911D0 +lbl_80290B54: +/* 80290B54 0028DAB4 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80290B58 0028DAB8 7F C4 F3 78 */ mr r4, r30 +/* 80290B5C 0028DABC 38 61 00 64 */ addi r3, r1, 0x64 +/* 80290B60 0028DAC0 38 A1 00 D0 */ addi r5, r1, 0xd0 +/* 80290B64 0028DAC4 7E 60 E2 14 */ add r19, r0, r28 +/* 80290B68 0028DAC8 80 13 00 08 */ lwz r0, 8(r19) +/* 80290B6C 0028DACC 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 80290B70 0028DAD0 4B DB 73 AD */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80290B74 0028DAD4 80 13 00 00 */ lwz r0, 0(r19) +/* 80290B78 0028DAD8 A0 81 00 64 */ lhz r4, 0x64(r1) +/* 80290B7C 0028DADC 2C 00 00 0A */ cmpwi r0, 0xa +/* 80290B80 0028DAE0 B0 81 00 A8 */ sth r4, 0xa8(r1) +/* 80290B84 0028DAE4 40 82 06 44 */ bne lbl_802911C8 +/* 80290B88 0028DAE8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80290B8C 0028DAEC 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 80290B90 0028DAF0 7C 03 00 40 */ cmplw r3, r0 +/* 80290B94 0028DAF4 41 82 06 34 */ beq lbl_802911C8 +/* 80290B98 0028DAF8 80 13 00 04 */ lwz r0, 4(r19) +/* 80290B9C 0028DAFC 2C 00 00 01 */ cmpwi r0, 1 +/* 80290BA0 0028DB00 40 82 03 D0 */ bne lbl_80290F70 +/* 80290BA4 0028DB04 B0 81 00 60 */ sth r4, 0x60(r1) +/* 80290BA8 0028DB08 7F C3 F3 78 */ mr r3, r30 +/* 80290BAC 0028DB0C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80290BB0 0028DB10 4B DB B9 C5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290BB4 0028DB14 7C 64 1B 78 */ mr r4, r3 +/* 80290BB8 0028DB18 38 61 01 0C */ addi r3, r1, 0x10c +/* 80290BBC 0028DB1C 4B E1 92 21 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" +/* 80290BC0 0028DB20 80 83 00 04 */ lwz r4, 4(r3) +/* 80290BC4 0028DB24 28 04 00 00 */ cmplwi r4, 0 +/* 80290BC8 0028DB28 41 82 00 88 */ beq lbl_80290C50 +/* 80290BCC 0028DB2C A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290BD0 0028DB30 7F 23 CB 78 */ mr r3, r25 +/* 80290BD4 0028DB34 38 84 00 10 */ addi r4, r4, 0x10 +/* 80290BD8 0028DB38 B0 01 02 14 */ sth r0, 0x214(r1) +/* 80290BDC 0028DB3C 48 0A D5 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290BE0 0028DB40 80 1F 09 BC */ lwz r0, 0x9bc(r31) +/* 80290BE4 0028DB44 80 BF 09 C0 */ lwz r5, 0x9c0(r31) +/* 80290BE8 0028DB48 7C 00 28 00 */ cmpw r0, r5 +/* 80290BEC 0028DB4C 41 80 00 1C */ blt lbl_80290C08 +/* 80290BF0 0028DB50 2C 05 00 00 */ cmpwi r5, 0 +/* 80290BF4 0028DB54 38 7F 09 B8 */ addi r3, r31, 0x9b8 +/* 80290BF8 0028DB58 38 80 00 04 */ li r4, 4 +/* 80290BFC 0028DB5C 41 82 00 08 */ beq lbl_80290C04 +/* 80290C00 0028DB60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80290C04: +/* 80290C04 0028DB64 48 00 17 E5 */ bl sub_802923e8 +lbl_80290C08: +/* 80290C08 0028DB68 80 1F 09 BC */ lwz r0, 0x9bc(r31) +/* 80290C0C 0028DB6C 80 7F 09 C4 */ lwz r3, 0x9c4(r31) +/* 80290C10 0028DB70 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80290C14 0028DB74 7C A3 02 15 */ add. r5, r3, r0 +/* 80290C18 0028DB78 41 82 00 18 */ beq lbl_80290C30 +/* 80290C1C 0028DB7C A0 01 02 14 */ lhz r0, 0x214(r1) +/* 80290C20 0028DB80 7F 24 CB 78 */ mr r4, r25 +/* 80290C24 0028DB84 38 65 00 04 */ addi r3, r5, 4 +/* 80290C28 0028DB88 B0 05 00 00 */ sth r0, 0(r5) +/* 80290C2C 0028DB8C 48 0A D5 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80290C30: +/* 80290C30 0028DB90 80 7F 09 BC */ lwz r3, 0x9bc(r31) +/* 80290C34 0028DB94 28 19 00 00 */ cmplwi r25, 0 +/* 80290C38 0028DB98 38 03 00 01 */ addi r0, r3, 1 +/* 80290C3C 0028DB9C 90 1F 09 BC */ stw r0, 0x9bc(r31) +/* 80290C40 0028DBA0 41 82 05 88 */ beq lbl_802911C8 +/* 80290C44 0028DBA4 7F 23 CB 78 */ mr r3, r25 +/* 80290C48 0028DBA8 48 0A CE 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80290C4C 0028DBAC 48 00 05 7C */ b lbl_802911C8 +lbl_80290C50: +/* 80290C50 0028DBB0 A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290C54 0028DBB4 7F C3 F3 78 */ mr r3, r30 +/* 80290C58 0028DBB8 38 81 00 5C */ addi r4, r1, 0x5c +/* 80290C5C 0028DBBC B0 01 00 5C */ sth r0, 0x5c(r1) +/* 80290C60 0028DBC0 4B DB B9 15 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290C64 0028DBC4 7C 64 1B 78 */ mr r4, r3 +/* 80290C68 0028DBC8 38 61 01 04 */ addi r3, r1, 0x104 +/* 80290C6C 0028DBCC 4B E1 81 A9 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 80290C70 0028DBD0 82 C3 00 04 */ lwz r22, 4(r3) +/* 80290C74 0028DBD4 28 16 00 00 */ cmplwi r22, 0 +/* 80290C78 0028DBD8 41 82 02 48 */ beq lbl_80290EC0 +/* 80290C7C 0028DBDC A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290C80 0028DBE0 7F 43 D3 78 */ mr r3, r26 +/* 80290C84 0028DBE4 38 96 00 10 */ addi r4, r22, 0x10 +/* 80290C88 0028DBE8 B0 01 02 00 */ sth r0, 0x200(r1) +/* 80290C8C 0028DBEC 48 0A D4 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290C90 0028DBF0 80 1F 09 E0 */ lwz r0, 0x9e0(r31) +/* 80290C94 0028DBF4 80 BF 09 E4 */ lwz r5, 0x9e4(r31) +/* 80290C98 0028DBF8 7C 00 28 00 */ cmpw r0, r5 +/* 80290C9C 0028DBFC 41 80 00 1C */ blt lbl_80290CB8 +/* 80290CA0 0028DC00 2C 05 00 00 */ cmpwi r5, 0 +/* 80290CA4 0028DC04 38 7F 09 DC */ addi r3, r31, 0x9dc +/* 80290CA8 0028DC08 38 80 00 04 */ li r4, 4 +/* 80290CAC 0028DC0C 41 82 00 08 */ beq lbl_80290CB4 +/* 80290CB0 0028DC10 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80290CB4: +/* 80290CB4 0028DC14 48 00 17 35 */ bl sub_802923e8 +lbl_80290CB8: +/* 80290CB8 0028DC18 80 1F 09 E0 */ lwz r0, 0x9e0(r31) +/* 80290CBC 0028DC1C 80 7F 09 E8 */ lwz r3, 0x9e8(r31) +/* 80290CC0 0028DC20 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80290CC4 0028DC24 7C A3 02 15 */ add. r5, r3, r0 +/* 80290CC8 0028DC28 41 82 00 18 */ beq lbl_80290CE0 +/* 80290CCC 0028DC2C A0 01 02 00 */ lhz r0, 0x200(r1) +/* 80290CD0 0028DC30 7F 44 D3 78 */ mr r4, r26 +/* 80290CD4 0028DC34 38 65 00 04 */ addi r3, r5, 4 +/* 80290CD8 0028DC38 B0 05 00 00 */ sth r0, 0(r5) +/* 80290CDC 0028DC3C 48 0A D4 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80290CE0: +/* 80290CE0 0028DC40 80 7F 09 E0 */ lwz r3, 0x9e0(r31) +/* 80290CE4 0028DC44 28 1A 00 00 */ cmplwi r26, 0 +/* 80290CE8 0028DC48 38 03 00 01 */ addi r0, r3, 1 +/* 80290CEC 0028DC4C 90 1F 09 E0 */ stw r0, 0x9e0(r31) +/* 80290CF0 0028DC50 41 82 00 0C */ beq lbl_80290CFC +/* 80290CF4 0028DC54 7F 43 D3 78 */ mr r3, r26 +/* 80290CF8 0028DC58 48 0A CD E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80290CFC: +/* 80290CFC 0028DC5C 7E C3 B3 78 */ mr r3, r22 +/* 80290D00 0028DC60 7F C5 F3 78 */ mr r5, r30 +/* 80290D04 0028DC64 38 80 00 28 */ li r4, 0x28 +/* 80290D08 0028DC68 4B DC 36 49 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D0C 0028DC6C 7E C3 B3 78 */ mr r3, r22 +/* 80290D10 0028DC70 7F C5 F3 78 */ mr r5, r30 +/* 80290D14 0028DC74 38 80 00 29 */ li r4, 0x29 +/* 80290D18 0028DC78 4B DC 36 39 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D1C 0028DC7C 7E C3 B3 78 */ mr r3, r22 +/* 80290D20 0028DC80 7F C5 F3 78 */ mr r5, r30 +/* 80290D24 0028DC84 38 80 00 21 */ li r4, 0x21 +/* 80290D28 0028DC88 4B DC 36 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D2C 0028DC8C 7E C3 B3 78 */ mr r3, r22 +/* 80290D30 0028DC90 7F C5 F3 78 */ mr r5, r30 +/* 80290D34 0028DC94 38 80 00 27 */ li r4, 0x27 +/* 80290D38 0028DC98 4B DC 32 49 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D3C 0028DC9C 7E C3 B3 78 */ mr r3, r22 +/* 80290D40 0028DCA0 4B DC 2B 7D */ bl GetMaterialFilter__6CActorCFv +/* 80290D44 0028DCA4 80 AD 99 8C */ lwz r5, lbl_805A854C@sda21(r13) +/* 80290D48 0028DCA8 38 80 00 01 */ li r4, 1 +/* 80290D4C 0028DCAC 82 A3 00 08 */ lwz r21, 8(r3) +/* 80290D50 0028DCB0 82 83 00 0C */ lwz r20, 0xc(r3) +/* 80290D54 0028DCB4 38 60 00 00 */ li r3, 0 +/* 80290D58 0028DCB8 48 0F 91 9D */ bl __shl2i +/* 80290D5C 0028DCBC 80 AD 99 90 */ lwz r5, lbl_805A8550@sda21(r13) +/* 80290D60 0028DCC0 7C 93 23 78 */ mr r19, r4 +/* 80290D64 0028DCC4 7C 72 1B 78 */ mr r18, r3 +/* 80290D68 0028DCC8 38 60 00 00 */ li r3, 0 +/* 80290D6C 0028DCCC 38 80 00 01 */ li r4, 1 +/* 80290D70 0028DCD0 48 0F 91 85 */ bl __shl2i +/* 80290D74 0028DCD4 80 AD 99 94 */ lwz r5, lbl_805A8554@sda21(r13) +/* 80290D78 0028DCD8 7E 73 23 78 */ or r19, r19, r4 +/* 80290D7C 0028DCDC 7E 52 1B 78 */ or r18, r18, r3 +/* 80290D80 0028DCE0 38 60 00 00 */ li r3, 0 +/* 80290D84 0028DCE4 38 80 00 01 */ li r4, 1 +/* 80290D88 0028DCE8 48 0F 91 6D */ bl __shl2i +/* 80290D8C 0028DCEC 7E 52 1B 78 */ or r18, r18, r3 +/* 80290D90 0028DCF0 7E 73 23 78 */ or r19, r19, r4 +/* 80290D94 0028DCF4 7F E3 FB 78 */ mr r3, r31 +/* 80290D98 0028DCF8 7E 94 9B 78 */ or r20, r20, r19 +/* 80290D9C 0028DCFC 7E B5 93 78 */ or r21, r21, r18 +/* 80290DA0 0028DD00 4B DC 2B 1D */ bl GetMaterialFilter__6CActorCFv +/* 80290DA4 0028DD04 80 A3 00 00 */ lwz r5, 0(r3) +/* 80290DA8 0028DD08 38 00 00 03 */ li r0, 3 +/* 80290DAC 0028DD0C 80 C3 00 04 */ lwz r6, 4(r3) +/* 80290DB0 0028DD10 7E C3 B3 78 */ mr r3, r22 +/* 80290DB4 0028DD14 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 80290DB8 0028DD18 90 C1 01 EC */ stw r6, 0x1ec(r1) +/* 80290DBC 0028DD1C 90 A1 01 E8 */ stw r5, 0x1e8(r1) +/* 80290DC0 0028DD20 92 81 01 F4 */ stw r20, 0x1f4(r1) +/* 80290DC4 0028DD24 92 A1 01 F0 */ stw r21, 0x1f0(r1) +/* 80290DC8 0028DD28 90 01 01 F8 */ stw r0, 0x1f8(r1) +/* 80290DCC 0028DD2C 4B DC 2A D5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80290DD0 0028DD30 7E C3 B3 78 */ mr r3, r22 +/* 80290DD4 0028DD34 81 96 00 00 */ lwz r12, 0(r22) +/* 80290DD8 0028DD38 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80290DDC 0028DD3C 7D 89 03 A6 */ mtctr r12 +/* 80290DE0 0028DD40 4E 80 04 21 */ bctrl +/* 80290DE4 0028DD44 80 83 00 00 */ lwz r4, 0(r3) +/* 80290DE8 0028DD48 80 03 00 04 */ lwz r0, 4(r3) +/* 80290DEC 0028DD4C 90 9F 0A E4 */ stw r4, 0xae4(r31) +/* 80290DF0 0028DD50 90 1F 0A E8 */ stw r0, 0xae8(r31) +/* 80290DF4 0028DD54 80 83 00 08 */ lwz r4, 8(r3) +/* 80290DF8 0028DD58 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80290DFC 0028DD5C 90 9F 0A EC */ stw r4, 0xaec(r31) +/* 80290E00 0028DD60 90 1F 0A F0 */ stw r0, 0xaf0(r31) +/* 80290E04 0028DD64 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80290E08 0028DD68 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80290E0C 0028DD6C 90 9F 0A F4 */ stw r4, 0xaf4(r31) +/* 80290E10 0028DD70 90 1F 0A F8 */ stw r0, 0xaf8(r31) +/* 80290E14 0028DD74 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80290E18 0028DD78 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80290E1C 0028DD7C 90 9F 0A FC */ stw r4, 0xafc(r31) +/* 80290E20 0028DD80 90 1F 0B 00 */ stw r0, 0xb00(r31) +/* 80290E24 0028DD84 80 83 00 20 */ lwz r4, 0x20(r3) +/* 80290E28 0028DD88 80 03 00 24 */ lwz r0, 0x24(r3) +/* 80290E2C 0028DD8C 90 9F 0B 04 */ stw r4, 0xb04(r31) +/* 80290E30 0028DD90 90 1F 0B 08 */ stw r0, 0xb08(r31) +/* 80290E34 0028DD94 80 83 00 28 */ lwz r4, 0x28(r3) +/* 80290E38 0028DD98 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80290E3C 0028DD9C 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 80290E40 0028DDA0 90 1F 0B 10 */ stw r0, 0xb10(r31) +/* 80290E44 0028DDA4 80 83 00 30 */ lwz r4, 0x30(r3) +/* 80290E48 0028DDA8 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80290E4C 0028DDAC 90 9F 0B 14 */ stw r4, 0xb14(r31) +/* 80290E50 0028DDB0 90 1F 0B 18 */ stw r0, 0xb18(r31) +/* 80290E54 0028DDB4 80 03 00 38 */ lwz r0, 0x38(r3) +/* 80290E58 0028DDB8 90 1F 0B 1C */ stw r0, 0xb1c(r31) +/* 80290E5C 0028DDBC 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 80290E60 0028DDC0 80 03 00 40 */ lwz r0, 0x40(r3) +/* 80290E64 0028DDC4 90 9F 0B 20 */ stw r4, 0xb20(r31) +/* 80290E68 0028DDC8 90 1F 0B 24 */ stw r0, 0xb24(r31) +/* 80290E6C 0028DDCC 80 83 00 44 */ lwz r4, 0x44(r3) +/* 80290E70 0028DDD0 80 03 00 48 */ lwz r0, 0x48(r3) +/* 80290E74 0028DDD4 90 9F 0B 28 */ stw r4, 0xb28(r31) +/* 80290E78 0028DDD8 90 1F 0B 2C */ stw r0, 0xb2c(r31) +/* 80290E7C 0028DDDC 80 83 00 4C */ lwz r4, 0x4c(r3) +/* 80290E80 0028DDE0 80 03 00 50 */ lwz r0, 0x50(r3) +/* 80290E84 0028DDE4 90 9F 0B 30 */ stw r4, 0xb30(r31) +/* 80290E88 0028DDE8 90 1F 0B 34 */ stw r0, 0xb34(r31) +/* 80290E8C 0028DDEC 80 83 00 54 */ lwz r4, 0x54(r3) +/* 80290E90 0028DDF0 80 03 00 58 */ lwz r0, 0x58(r3) +/* 80290E94 0028DDF4 90 9F 0B 38 */ stw r4, 0xb38(r31) +/* 80290E98 0028DDF8 90 1F 0B 3C */ stw r0, 0xb3c(r31) +/* 80290E9C 0028DDFC 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80290EA0 0028DE00 90 1F 0B 40 */ stw r0, 0xb40(r31) +/* 80290EA4 0028DE04 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80290EA8 0028DE08 90 1F 0B 44 */ stw r0, 0xb44(r31) +/* 80290EAC 0028DE0C 80 03 00 64 */ lwz r0, 0x64(r3) +/* 80290EB0 0028DE10 90 1F 0B 48 */ stw r0, 0xb48(r31) +/* 80290EB4 0028DE14 80 16 00 B8 */ lwz r0, 0xb8(r22) +/* 80290EB8 0028DE18 90 1F 0B 54 */ stw r0, 0xb54(r31) +/* 80290EBC 0028DE1C 48 00 03 0C */ b lbl_802911C8 +lbl_80290EC0: +/* 80290EC0 0028DE20 A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290EC4 0028DE24 7F C3 F3 78 */ mr r3, r30 +/* 80290EC8 0028DE28 38 81 00 58 */ addi r4, r1, 0x58 +/* 80290ECC 0028DE2C B0 01 00 58 */ sth r0, 0x58(r1) +/* 80290ED0 0028DE30 4B DB B6 A5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290ED4 0028DE34 7C 64 1B 78 */ mr r4, r3 +/* 80290ED8 0028DE38 38 61 00 FC */ addi r3, r1, 0xfc +/* 80290EDC 0028DE3C 4B E1 75 FD */ bl "__ct__26TCastToPtr<12CScriptSound>FP7CEntity" +/* 80290EE0 0028DE40 80 83 00 04 */ lwz r4, 4(r3) +/* 80290EE4 0028DE44 28 04 00 00 */ cmplwi r4, 0 +/* 80290EE8 0028DE48 41 82 02 E0 */ beq lbl_802911C8 +/* 80290EEC 0028DE4C A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290EF0 0028DE50 7F 63 DB 78 */ mr r3, r27 +/* 80290EF4 0028DE54 38 84 00 10 */ addi r4, r4, 0x10 +/* 80290EF8 0028DE58 B0 01 01 D0 */ sth r0, 0x1d0(r1) +/* 80290EFC 0028DE5C 48 0A D2 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290F00 0028DE60 80 1F 0A A4 */ lwz r0, 0xaa4(r31) +/* 80290F04 0028DE64 80 BF 0A A8 */ lwz r5, 0xaa8(r31) +/* 80290F08 0028DE68 7C 00 28 00 */ cmpw r0, r5 +/* 80290F0C 0028DE6C 41 80 00 1C */ blt lbl_80290F28 +/* 80290F10 0028DE70 2C 05 00 00 */ cmpwi r5, 0 +/* 80290F14 0028DE74 38 7F 0A A0 */ addi r3, r31, 0xaa0 +/* 80290F18 0028DE78 38 80 00 04 */ li r4, 4 +/* 80290F1C 0028DE7C 41 82 00 08 */ beq lbl_80290F24 +/* 80290F20 0028DE80 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80290F24: +/* 80290F24 0028DE84 48 00 14 C5 */ bl sub_802923e8 +lbl_80290F28: +/* 80290F28 0028DE88 80 1F 0A A4 */ lwz r0, 0xaa4(r31) +/* 80290F2C 0028DE8C 80 7F 0A AC */ lwz r3, 0xaac(r31) +/* 80290F30 0028DE90 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80290F34 0028DE94 7C A3 02 15 */ add. r5, r3, r0 +/* 80290F38 0028DE98 41 82 00 18 */ beq lbl_80290F50 +/* 80290F3C 0028DE9C A0 01 01 D0 */ lhz r0, 0x1d0(r1) +/* 80290F40 0028DEA0 7F 64 DB 78 */ mr r4, r27 +/* 80290F44 0028DEA4 38 65 00 04 */ addi r3, r5, 4 +/* 80290F48 0028DEA8 B0 05 00 00 */ sth r0, 0(r5) +/* 80290F4C 0028DEAC 48 0A D2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80290F50: +/* 80290F50 0028DEB0 80 7F 0A A4 */ lwz r3, 0xaa4(r31) +/* 80290F54 0028DEB4 28 1B 00 00 */ cmplwi r27, 0 +/* 80290F58 0028DEB8 38 03 00 01 */ addi r0, r3, 1 +/* 80290F5C 0028DEBC 90 1F 0A A4 */ stw r0, 0xaa4(r31) +/* 80290F60 0028DEC0 41 82 02 68 */ beq lbl_802911C8 +/* 80290F64 0028DEC4 7F 63 DB 78 */ mr r3, r27 +/* 80290F68 0028DEC8 48 0A CB 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80290F6C 0028DECC 48 00 02 5C */ b lbl_802911C8 +lbl_80290F70: +/* 80290F70 0028DED0 2C 00 00 06 */ cmpwi r0, 6 +/* 80290F74 0028DED4 40 82 02 54 */ bne lbl_802911C8 +/* 80290F78 0028DED8 B0 81 00 54 */ sth r4, 0x54(r1) +/* 80290F7C 0028DEDC 7F C3 F3 78 */ mr r3, r30 +/* 80290F80 0028DEE0 38 81 00 54 */ addi r4, r1, 0x54 +/* 80290F84 0028DEE4 4B DB B5 F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290F88 0028DEE8 7C 64 1B 78 */ mr r4, r3 +/* 80290F8C 0028DEEC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 80290F90 0028DEF0 4B E1 55 BD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80290F94 0028DEF4 82 C3 00 04 */ lwz r22, 4(r3) +/* 80290F98 0028DEF8 28 16 00 00 */ cmplwi r22, 0 +/* 80290F9C 0028DEFC 41 82 02 2C */ beq lbl_802911C8 +/* 80290FA0 0028DF00 82 96 00 24 */ lwz r20, 0x24(r22) +/* 80290FA4 0028DF04 38 00 00 00 */ li r0, 0 +/* 80290FA8 0028DF08 38 61 01 14 */ addi r3, r1, 0x114 +/* 80290FAC 0028DF0C 38 80 00 03 */ li r4, 3 +/* 80290FB0 0028DF10 90 01 01 18 */ stw r0, 0x118(r1) +/* 80290FB4 0028DF14 90 01 01 1C */ stw r0, 0x11c(r1) +/* 80290FB8 0028DF18 90 01 01 20 */ stw r0, 0x120(r1) +/* 80290FBC 0028DF1C 4B D7 B4 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80290FC0 0028DF20 3A A0 00 00 */ li r21, 0 +/* 80290FC4 0028DF24 3A 60 00 00 */ li r19, 0 +/* 80290FC8 0028DF28 48 00 00 CC */ b lbl_80291094 +lbl_80290FCC: +/* 80290FCC 0028DF2C 80 B6 00 2C */ lwz r5, 0x2c(r22) +/* 80290FD0 0028DF30 38 13 00 08 */ addi r0, r19, 8 +/* 80290FD4 0028DF34 7F C4 F3 78 */ mr r4, r30 +/* 80290FD8 0028DF38 38 61 00 50 */ addi r3, r1, 0x50 +/* 80290FDC 0028DF3C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80290FE0 0028DF40 38 A1 00 CC */ addi r5, r1, 0xcc +/* 80290FE4 0028DF44 90 01 00 CC */ stw r0, 0xcc(r1) +/* 80290FE8 0028DF48 4B DB 6F 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80290FEC 0028DF4C A0 01 00 50 */ lhz r0, 0x50(r1) +/* 80290FF0 0028DF50 7F C3 F3 78 */ mr r3, r30 +/* 80290FF4 0028DF54 38 81 00 4C */ addi r4, r1, 0x4c +/* 80290FF8 0028DF58 B0 01 00 A4 */ sth r0, 0xa4(r1) +/* 80290FFC 0028DF5C B0 01 00 4C */ sth r0, 0x4c(r1) +/* 80291000 0028DF60 4B DB B5 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80291004 0028DF64 7C 64 1B 78 */ mr r4, r3 +/* 80291008 0028DF68 38 61 00 EC */ addi r3, r1, 0xec +/* 8029100C 0028DF6C 4B E1 7E 09 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 80291010 0028DF70 82 43 00 04 */ lwz r18, 4(r3) +/* 80291014 0028DF74 28 12 00 00 */ cmplwi r18, 0 +/* 80291018 0028DF78 41 82 00 74 */ beq lbl_8029108C +/* 8029101C 0028DF7C 7E 43 93 78 */ mr r3, r18 +/* 80291020 0028DF80 7F C5 F3 78 */ mr r5, r30 +/* 80291024 0028DF84 38 80 00 28 */ li r4, 0x28 +/* 80291028 0028DF88 4B DC 33 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8029102C 0028DF8C 7E 43 93 78 */ mr r3, r18 +/* 80291030 0028DF90 7F C5 F3 78 */ mr r5, r30 +/* 80291034 0028DF94 38 80 00 29 */ li r4, 0x29 +/* 80291038 0028DF98 4B DC 33 19 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8029103C 0028DF9C 80 01 01 18 */ lwz r0, 0x118(r1) +/* 80291040 0028DFA0 80 A1 01 1C */ lwz r5, 0x11c(r1) +/* 80291044 0028DFA4 7C 00 28 00 */ cmpw r0, r5 +/* 80291048 0028DFA8 41 80 00 1C */ blt lbl_80291064 +/* 8029104C 0028DFAC 2C 05 00 00 */ cmpwi r5, 0 +/* 80291050 0028DFB0 38 61 01 14 */ addi r3, r1, 0x114 +/* 80291054 0028DFB4 38 80 00 04 */ li r4, 4 +/* 80291058 0028DFB8 41 82 00 08 */ beq lbl_80291060 +/* 8029105C 0028DFBC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80291060: +/* 80291060 0028DFC0 4B D7 B3 A9 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80291064: +/* 80291064 0028DFC4 80 01 01 18 */ lwz r0, 0x118(r1) +/* 80291068 0028DFC8 80 61 01 20 */ lwz r3, 0x120(r1) +/* 8029106C 0028DFCC 54 00 08 3C */ slwi r0, r0, 1 +/* 80291070 0028DFD0 7C 63 02 15 */ add. r3, r3, r0 +/* 80291074 0028DFD4 41 82 00 0C */ beq lbl_80291080 +/* 80291078 0028DFD8 A0 01 00 A4 */ lhz r0, 0xa4(r1) +/* 8029107C 0028DFDC B0 03 00 00 */ sth r0, 0(r3) +lbl_80291080: +/* 80291080 0028DFE0 80 61 01 18 */ lwz r3, 0x118(r1) +/* 80291084 0028DFE4 38 03 00 01 */ addi r0, r3, 1 +/* 80291088 0028DFE8 90 01 01 18 */ stw r0, 0x118(r1) +lbl_8029108C: +/* 8029108C 0028DFEC 3A B5 00 01 */ addi r21, r21, 1 +/* 80291090 0028DFF0 3A 73 00 0C */ addi r19, r19, 0xc +lbl_80291094: +/* 80291094 0028DFF4 7C 15 A0 40 */ cmplw r21, r20 +/* 80291098 0028DFF8 41 80 FF 34 */ blt lbl_80290FCC +/* 8029109C 0028DFFC 80 61 01 18 */ lwz r3, 0x118(r1) +/* 802910A0 0028E000 A0 81 00 A8 */ lhz r4, 0xa8(r1) +/* 802910A4 0028E004 80 01 01 1C */ lwz r0, 0x11c(r1) +/* 802910A8 0028E008 2C 03 00 00 */ cmpwi r3, 0 +/* 802910AC 0028E00C B0 81 01 BC */ sth r4, 0x1bc(r1) +/* 802910B0 0028E010 90 61 01 C4 */ stw r3, 0x1c4(r1) +/* 802910B4 0028E014 90 01 01 C8 */ stw r0, 0x1c8(r1) +/* 802910B8 0028E018 40 82 00 18 */ bne lbl_802910D0 +/* 802910BC 0028E01C 2C 00 00 00 */ cmpwi r0, 0 +/* 802910C0 0028E020 40 82 00 10 */ bne lbl_802910D0 +/* 802910C4 0028E024 38 00 00 00 */ li r0, 0 +/* 802910C8 0028E028 90 01 01 CC */ stw r0, 0x1cc(r1) +/* 802910CC 0028E02C 48 00 00 68 */ b lbl_80291134 +lbl_802910D0: +/* 802910D0 0028E030 80 01 01 C8 */ lwz r0, 0x1c8(r1) +/* 802910D4 0028E034 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 802910D8 0028E038 40 82 00 10 */ bne lbl_802910E8 +/* 802910DC 0028E03C 38 00 00 00 */ li r0, 0 +/* 802910E0 0028E040 90 01 01 CC */ stw r0, 0x1cc(r1) +/* 802910E4 0028E044 48 00 00 1C */ b lbl_80291100 +lbl_802910E8: +/* 802910E8 0028E048 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 802910EC 0028E04C 38 A0 00 00 */ li r5, 0 +/* 802910F0 0028E050 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 802910F4 0028E054 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 802910F8 0028E058 48 08 47 21 */ bl __nwa__FUlPCcPCc +/* 802910FC 0028E05C 90 61 01 CC */ stw r3, 0x1cc(r1) +lbl_80291100: +/* 80291100 0028E060 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 80291104 0028E064 80 81 01 20 */ lwz r4, 0x120(r1) +/* 80291108 0028E068 80 61 01 CC */ lwz r3, 0x1cc(r1) +/* 8029110C 0028E06C 7C 09 03 A6 */ mtctr r0 +/* 80291110 0028E070 2C 00 00 00 */ cmpwi r0, 0 +/* 80291114 0028E074 40 81 00 20 */ ble lbl_80291134 +lbl_80291118: +/* 80291118 0028E078 28 03 00 00 */ cmplwi r3, 0 +/* 8029111C 0028E07C 41 82 00 0C */ beq lbl_80291128 +/* 80291120 0028E080 A0 04 00 00 */ lhz r0, 0(r4) +/* 80291124 0028E084 B0 03 00 00 */ sth r0, 0(r3) +lbl_80291128: +/* 80291128 0028E088 38 63 00 02 */ addi r3, r3, 2 +/* 8029112C 0028E08C 38 84 00 02 */ addi r4, r4, 2 +/* 80291130 0028E090 42 00 FF E8 */ bdnz lbl_80291118 +lbl_80291134: +/* 80291134 0028E094 38 7F 09 A4 */ addi r3, r31, 0x9a4 +/* 80291138 0028E098 38 81 01 BC */ addi r4, r1, 0x1bc +/* 8029113C 0028E09C 48 00 06 39 */ bl sub_80291774 +/* 80291140 0028E0A0 28 17 00 00 */ cmplwi r23, 0 +/* 80291144 0028E0A4 41 82 00 44 */ beq lbl_80291188 +/* 80291148 0028E0A8 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 8029114C 0028E0AC 80 61 01 CC */ lwz r3, 0x1cc(r1) +/* 80291150 0028E0B0 54 00 08 3C */ slwi r0, r0, 1 +/* 80291154 0028E0B4 7C 03 02 14 */ add r0, r3, r0 +/* 80291158 0028E0B8 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8029115C 0028E0BC 7C 64 1B 78 */ mr r4, r3 +/* 80291160 0028E0C0 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80291164 0028E0C4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80291168 0028E0C8 90 61 00 AC */ stw r3, 0xac(r1) +/* 8029116C 0028E0CC 48 00 00 08 */ b lbl_80291174 +lbl_80291170: +/* 80291170 0028E0D0 38 84 00 02 */ addi r4, r4, 2 +lbl_80291174: +/* 80291174 0028E0D4 7C 04 00 40 */ cmplw r4, r0 +/* 80291178 0028E0D8 40 82 FF F8 */ bne lbl_80291170 +/* 8029117C 0028E0DC 28 03 00 00 */ cmplwi r3, 0 +/* 80291180 0028E0E0 41 82 00 08 */ beq lbl_80291188 +/* 80291184 0028E0E4 48 08 47 AD */ bl Free__7CMemoryFPCv +lbl_80291188: +/* 80291188 0028E0E8 80 01 01 18 */ lwz r0, 0x118(r1) +/* 8029118C 0028E0EC 80 61 01 20 */ lwz r3, 0x120(r1) +/* 80291190 0028E0F0 54 00 08 3C */ slwi r0, r0, 1 +/* 80291194 0028E0F4 7C 03 02 14 */ add r0, r3, r0 +/* 80291198 0028E0F8 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 8029119C 0028E0FC 7C 64 1B 78 */ mr r4, r3 +/* 802911A0 0028E100 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802911A4 0028E104 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802911A8 0028E108 90 61 00 BC */ stw r3, 0xbc(r1) +/* 802911AC 0028E10C 48 00 00 08 */ b lbl_802911B4 +lbl_802911B0: +/* 802911B0 0028E110 38 84 00 02 */ addi r4, r4, 2 +lbl_802911B4: +/* 802911B4 0028E114 7C 04 00 40 */ cmplw r4, r0 +/* 802911B8 0028E118 40 82 FF F8 */ bne lbl_802911B0 +/* 802911BC 0028E11C 28 03 00 00 */ cmplwi r3, 0 +/* 802911C0 0028E120 41 82 00 08 */ beq lbl_802911C8 +/* 802911C4 0028E124 48 08 47 6D */ bl Free__7CMemoryFPCv +lbl_802911C8: +/* 802911C8 0028E128 3B BD 00 01 */ addi r29, r29, 1 +/* 802911CC 0028E12C 3B 9C 00 0C */ addi r28, r28, 0xc +lbl_802911D0: +/* 802911D0 0028E130 7C 1D C0 40 */ cmplw r29, r24 +/* 802911D4 0028E134 41 80 F9 80 */ blt lbl_80290B54 +/* 802911D8 0028E138 48 00 05 88 */ b lbl_80291760 +/* 802911DC 0028E13C A0 14 00 00 */ lhz r0, 0(r20) +/* 802911E0 0028E140 38 A1 00 48 */ addi r5, r1, 0x48 +/* 802911E4 0028E144 B0 01 00 48 */ sth r0, 0x48(r1) +/* 802911E8 0028E148 4B F9 B9 E5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 802911EC 0028E14C A0 14 00 00 */ lhz r0, 0(r20) +/* 802911F0 0028E150 A0 7F 09 90 */ lhz r3, 0x990(r31) +/* 802911F4 0028E154 7C 00 18 40 */ cmplw r0, r3 +/* 802911F8 0028E158 40 82 00 20 */ bne lbl_80291218 +/* 802911FC 0028E15C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291200 0028E160 7C 03 00 40 */ cmplw r3, r0 +/* 80291204 0028E164 41 82 00 14 */ beq lbl_80291218 +/* 80291208 0028E168 7F E3 FB 78 */ mr r3, r31 +/* 8029120C 0028E16C 7F C5 F3 78 */ mr r5, r30 +/* 80291210 0028E170 38 80 00 01 */ li r4, 1 +/* 80291214 0028E174 4B F9 63 89 */ bl sub_8022759c +lbl_80291218: +/* 80291218 0028E178 A0 14 00 00 */ lhz r0, 0(r20) +/* 8029121C 0028E17C 7F C3 F3 78 */ mr r3, r30 +/* 80291220 0028E180 38 81 00 44 */ addi r4, r1, 0x44 +/* 80291224 0028E184 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80291228 0028E188 4B DB B3 4D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8029122C 0028E18C 7C 60 1B 78 */ mr r0, r3 +/* 80291230 0028E190 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 80291234 0028E194 7C 04 03 78 */ mr r4, r0 +/* 80291238 0028E198 4B E1 E1 15 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8029123C 0028E19C 80 83 00 04 */ lwz r4, 4(r3) +/* 80291240 0028E1A0 28 04 00 00 */ cmplwi r4, 0 +/* 80291244 0028E1A4 41 82 05 1C */ beq lbl_80291760 +/* 80291248 0028E1A8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8029124C 0028E1AC 4B F1 79 41 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80291250 0028E1B0 A0 01 00 40 */ lhz r0, 0x40(r1) +/* 80291254 0028E1B4 7F C3 F3 78 */ mr r3, r30 +/* 80291258 0028E1B8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8029125C 0028E1BC B0 01 00 A0 */ sth r0, 0xa0(r1) +/* 80291260 0028E1C0 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 80291264 0028E1C4 4B DB B3 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80291268 0028E1C8 7C 60 1B 78 */ mr r0, r3 +/* 8029126C 0028E1CC 38 61 00 DC */ addi r3, r1, 0xdc +/* 80291270 0028E1D0 7C 04 03 78 */ mr r4, r0 +/* 80291274 0028E1D4 4B E1 B1 21 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 80291278 0028E1D8 82 43 00 04 */ lwz r18, 4(r3) +/* 8029127C 0028E1DC 28 12 00 00 */ cmplwi r18, 0 +/* 80291280 0028E1E0 41 82 04 E0 */ beq lbl_80291760 +/* 80291284 0028E1E4 C0 3F 04 20 */ lfs f1, 0x420(r31) +/* 80291288 0028E1E8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8029128C 0028E1EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80291290 0028E1F0 4C 40 13 82 */ cror 2, 0, 2 +/* 80291294 0028E1F4 40 82 04 CC */ bne lbl_80291760 +/* 80291298 0028E1F8 80 AD 99 98 */ lwz r5, lbl_805A8558@sda21(r13) +/* 8029129C 0028E1FC 38 60 00 00 */ li r3, 0 +/* 802912A0 0028E200 38 80 00 01 */ li r4, 1 +/* 802912A4 0028E204 48 0F 8C 51 */ bl __shl2i +/* 802912A8 0028E208 38 A0 00 00 */ li r5, 0 +/* 802912AC 0028E20C 38 00 00 03 */ li r0, 3 +/* 802912B0 0028E210 90 81 01 8C */ stw r4, 0x18c(r1) +/* 802912B4 0028E214 7F E4 FB 78 */ mr r4, r31 +/* 802912B8 0028E218 90 61 01 88 */ stw r3, 0x188(r1) +/* 802912BC 0028E21C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802912C0 0028E220 90 A1 01 94 */ stw r5, 0x194(r1) +/* 802912C4 0028E224 90 A1 01 90 */ stw r5, 0x190(r1) +/* 802912C8 0028E228 90 01 01 98 */ stw r0, 0x198(r1) +/* 802912CC 0028E22C A0 1F 00 08 */ lhz r0, 8(r31) +/* 802912D0 0028E230 B0 01 00 28 */ sth r0, 0x28(r1) +/* 802912D4 0028E234 A0 B2 00 08 */ lhz r5, 8(r18) +/* 802912D8 0028E238 B0 01 00 24 */ sth r0, 0x24(r1) +/* 802912DC 0028E23C B0 A1 00 30 */ sth r5, 0x30(r1) +/* 802912E0 0028E240 A0 1F 00 08 */ lhz r0, 8(r31) +/* 802912E4 0028E244 B0 A1 00 2C */ sth r5, 0x2c(r1) +/* 802912E8 0028E248 B0 01 00 38 */ sth r0, 0x38(r1) +/* 802912EC 0028E24C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802912F0 0028E250 B0 01 00 34 */ sth r0, 0x34(r1) +/* 802912F4 0028E254 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 802912F8 0028E258 7D 89 03 A6 */ mtctr r12 +/* 802912FC 0028E25C 4E 80 04 21 */ bctrl +/* 80291300 0028E260 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80291304 0028E264 7F C3 F3 78 */ mr r3, r30 +/* 80291308 0028E268 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8029130C 0028E26C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80291310 0028E270 38 81 00 38 */ addi r4, r1, 0x38 +/* 80291314 0028E274 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80291318 0028E278 38 E1 01 A0 */ addi r7, r1, 0x1a0 +/* 8029131C 0028E27C 39 01 01 88 */ addi r8, r1, 0x188 +/* 80291320 0028E280 4B DB 8D 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80291324 0028E284 C0 1F 04 24 */ lfs f0, 0x424(r31) +/* 80291328 0028E288 D0 1F 04 20 */ stfs f0, 0x420(r31) +/* 8029132C 0028E28C 48 00 04 34 */ b lbl_80291760 +/* 80291330 0028E290 A0 14 00 00 */ lhz r0, 0(r20) +/* 80291334 0028E294 A0 7F 09 90 */ lhz r3, 0x990(r31) +/* 80291338 0028E298 7C 00 18 40 */ cmplw r0, r3 +/* 8029133C 0028E29C 40 82 00 A4 */ bne lbl_802913E0 +/* 80291340 0028E2A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291344 0028E2A4 7C 03 00 40 */ cmplw r3, r0 +/* 80291348 0028E2A8 41 82 00 98 */ beq lbl_802913E0 +/* 8029134C 0028E2AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80291350 0028E2B0 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80291354 0028E2B4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80291358 0028E2B8 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 8029135C 0028E2BC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80291360 0028E2C0 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 80291364 0028E2C4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80291368 0028E2C8 38 C0 00 04 */ li r6, 4 +/* 8029136C 0028E2CC 38 00 00 08 */ li r0, 8 +/* 80291370 0028E2D0 90 A1 01 70 */ stw r5, 0x170(r1) +/* 80291374 0028E2D4 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 80291378 0028E2D8 3A 43 00 04 */ addi r18, r3, 4 +/* 8029137C 0028E2DC 90 C1 01 74 */ stw r6, 0x174(r1) +/* 80291380 0028E2E0 7E 43 93 78 */ mr r3, r18 +/* 80291384 0028E2E4 38 80 00 04 */ li r4, 4 +/* 80291388 0028E2E8 90 A1 01 70 */ stw r5, 0x170(r1) +/* 8029138C 0028E2EC D0 01 01 78 */ stfs f0, 0x178(r1) +/* 80291390 0028E2F0 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80291394 0028E2F4 D0 41 01 80 */ stfs f2, 0x180(r1) +/* 80291398 0028E2F8 90 01 01 84 */ stw r0, 0x184(r1) +/* 8029139C 0028E2FC 4B EA 00 9D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 802913A0 0028E300 80 01 01 74 */ lwz r0, 0x174(r1) +/* 802913A4 0028E304 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 802913A8 0028E308 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802913AC 0028E30C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802913B0 0028E310 90 12 00 F8 */ stw r0, 0xf8(r18) +/* 802913B4 0028E314 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802913B8 0028E318 80 A1 01 78 */ lwz r5, 0x178(r1) +/* 802913BC 0028E31C 80 61 01 7C */ lwz r3, 0x17c(r1) +/* 802913C0 0028E320 90 B2 00 FC */ stw r5, 0xfc(r18) +/* 802913C4 0028E324 80 A1 01 80 */ lwz r5, 0x180(r1) +/* 802913C8 0028E328 90 72 01 00 */ stw r3, 0x100(r18) +/* 802913CC 0028E32C 80 61 01 84 */ lwz r3, 0x184(r1) +/* 802913D0 0028E330 90 B2 01 04 */ stw r5, 0x104(r18) +/* 802913D4 0028E334 90 81 01 70 */ stw r4, 0x170(r1) +/* 802913D8 0028E338 90 72 01 08 */ stw r3, 0x108(r18) +/* 802913DC 0028E33C 90 01 01 70 */ stw r0, 0x170(r1) +lbl_802913E0: +/* 802913E0 0028E340 A0 14 00 00 */ lhz r0, 0(r20) +/* 802913E4 0028E344 7F E3 FB 78 */ mr r3, r31 +/* 802913E8 0028E348 7E A4 AB 78 */ mr r4, r21 +/* 802913EC 0028E34C 7F C6 F3 78 */ mr r6, r30 +/* 802913F0 0028E350 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802913F4 0028E354 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802913F8 0028E358 4B F9 B7 D5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 802913FC 0028E35C A0 74 00 00 */ lhz r3, 0(r20) +/* 80291400 0028E360 A0 1F 0A 46 */ lhz r0, 0xa46(r31) +/* 80291404 0028E364 7C 03 00 40 */ cmplw r3, r0 +/* 80291408 0028E368 40 82 03 58 */ bne lbl_80291760 +/* 8029140C 0028E36C 80 1F 0A 7C */ lwz r0, 0xa7c(r31) +/* 80291410 0028E370 2C 00 00 02 */ cmpwi r0, 2 +/* 80291414 0028E374 40 82 03 4C */ bne lbl_80291760 +/* 80291418 0028E378 38 00 00 03 */ li r0, 3 +/* 8029141C 0028E37C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 80291420 0028E380 90 1F 0A 7C */ stw r0, 0xa7c(r31) +/* 80291424 0028E384 D0 1F 0A 84 */ stfs f0, 0xa84(r31) +/* 80291428 0028E388 48 00 03 38 */ b lbl_80291760 +/* 8029142C 0028E38C A0 14 00 00 */ lhz r0, 0(r20) +/* 80291430 0028E390 7F C3 F3 78 */ mr r3, r30 +/* 80291434 0028E394 38 81 00 1C */ addi r4, r1, 0x1c +/* 80291438 0028E398 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8029143C 0028E39C 4B DB B1 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80291440 0028E3A0 7C 64 1B 78 */ mr r4, r3 +/* 80291444 0028E3A4 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80291448 0028E3A8 4B E1 C2 C5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8029144C 0028E3AC 82 43 00 04 */ lwz r18, 4(r3) +/* 80291450 0028E3B0 28 12 00 00 */ cmplwi r18, 0 +/* 80291454 0028E3B4 41 82 00 7C */ beq lbl_802914D0 +/* 80291458 0028E3B8 88 1F 0A 4A */ lbz r0, 0xa4a(r31) +/* 8029145C 0028E3BC 28 00 00 00 */ cmplwi r0, 0 +/* 80291460 0028E3C0 41 82 00 70 */ beq lbl_802914D0 +/* 80291464 0028E3C4 80 AD 99 78 */ lwz r5, lbl_805A8538@sda21(r13) +/* 80291468 0028E3C8 38 60 00 00 */ li r3, 0 +/* 8029146C 0028E3CC 38 80 00 01 */ li r4, 1 +/* 80291470 0028E3D0 48 0F 8A 85 */ bl __shl2i +/* 80291474 0028E3D4 39 00 00 00 */ li r8, 0 +/* 80291478 0028E3D8 39 40 00 03 */ li r10, 3 +/* 8029147C 0028E3DC 90 81 01 5C */ stw r4, 0x15c(r1) +/* 80291480 0028E3E0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80291484 0028E3E4 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80291488 0028E3E8 A0 14 00 00 */ lhz r0, 0(r20) +/* 8029148C 0028E3EC 90 61 01 58 */ stw r3, 0x158(r1) +/* 80291490 0028E3F0 7F C3 F3 78 */ mr r3, r30 +/* 80291494 0028E3F4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80291498 0028E3F8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8029149C 0028E3FC 91 01 01 64 */ stw r8, 0x164(r1) +/* 802914A0 0028E400 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802914A4 0028E404 38 F2 01 2C */ addi r7, r18, 0x12c +/* 802914A8 0028E408 91 01 01 60 */ stw r8, 0x160(r1) +/* 802914AC 0028E40C 39 01 01 58 */ addi r8, r1, 0x158 +/* 802914B0 0028E410 91 41 01 68 */ stw r10, 0x168(r1) +/* 802914B4 0028E414 A1 72 00 EC */ lhz r11, 0xec(r18) +/* 802914B8 0028E418 B1 61 00 10 */ sth r11, 0x10(r1) +/* 802914BC 0028E41C A1 5F 0A 46 */ lhz r10, 0xa46(r31) +/* 802914C0 0028E420 B1 61 00 0C */ sth r11, 0xc(r1) +/* 802914C4 0028E424 B1 41 00 14 */ sth r10, 0x14(r1) +/* 802914C8 0028E428 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802914CC 0028E42C 4B DB 8B D5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_802914D0: +/* 802914D0 0028E430 7F E3 FB 78 */ mr r3, r31 +/* 802914D4 0028E434 7F C5 F3 78 */ mr r5, r30 +/* 802914D8 0028E438 38 80 00 01 */ li r4, 1 +/* 802914DC 0028E43C 4B F9 60 C1 */ bl sub_8022759c +/* 802914E0 0028E440 48 00 02 80 */ b lbl_80291760 +/* 802914E4 0028E444 38 00 00 01 */ li r0, 1 +/* 802914E8 0028E448 98 1F 09 EC */ stb r0, 0x9ec(r31) +/* 802914EC 0028E44C 48 00 02 74 */ b lbl_80291760 +/* 802914F0 0028E450 7F C5 F3 78 */ mr r5, r30 +/* 802914F4 0028E454 38 80 00 01 */ li r4, 1 +/* 802914F8 0028E458 4B F9 60 A5 */ bl sub_8022759c +/* 802914FC 0028E45C 48 00 02 64 */ b lbl_80291760 +/* 80291500 0028E460 38 00 00 01 */ li r0, 1 +/* 80291504 0028E464 98 1F 0A 3C */ stb r0, 0xa3c(r31) +/* 80291508 0028E468 48 00 02 58 */ b lbl_80291760 +/* 8029150C 0028E46C 7F C4 F3 78 */ mr r4, r30 +/* 80291510 0028E470 4B FF A0 09 */ bl sub_8028b518 +/* 80291514 0028E474 48 00 02 4C */ b lbl_80291760 +/* 80291518 0028E478 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8029151C 0028E47C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 80291520 0028E480 88 7F 0A DE */ lbz r3, 0xade(r31) +/* 80291524 0028E484 38 03 00 01 */ addi r0, r3, 1 +/* 80291528 0028E488 98 1F 0A DE */ stb r0, 0xade(r31) +/* 8029152C 0028E48C 88 1F 0A DE */ lbz r0, 0xade(r31) +/* 80291530 0028E490 28 00 00 04 */ cmplwi r0, 4 +/* 80291534 0028E494 40 80 02 2C */ bge lbl_80291760 +/* 80291538 0028E498 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 8029153C 0028E49C 3C 60 80 5A */ lis r3, lbl_805A670C@ha +/* 80291540 0028E4A0 38 83 67 0C */ addi r4, r3, lbl_805A670C@l +/* 80291544 0028E4A4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80291548 0028E4A8 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l +/* 8029154C 0028E4AC C0 44 00 00 */ lfs f2, 0(r4) +/* 80291550 0028E4B0 C0 24 00 04 */ lfs f1, 4(r4) +/* 80291554 0028E4B4 3C A0 80 3E */ lis r5, lbl_803DAA44@ha +/* 80291558 0028E4B8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8029155C 0028E4BC 38 C0 00 04 */ li r6, 4 +/* 80291560 0028E4C0 38 00 00 01 */ li r0, 1 +/* 80291564 0028E4C4 3A 43 00 04 */ addi r18, r3, 4 +/* 80291568 0028E4C8 90 E1 01 3C */ stw r7, 0x13c(r1) +/* 8029156C 0028E4CC 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l +/* 80291570 0028E4D0 7E 43 93 78 */ mr r3, r18 +/* 80291574 0028E4D4 38 80 00 04 */ li r4, 4 +/* 80291578 0028E4D8 90 C1 01 40 */ stw r6, 0x140(r1) +/* 8029157C 0028E4DC 90 A1 01 3C */ stw r5, 0x13c(r1) +/* 80291580 0028E4E0 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 80291584 0028E4E4 D0 21 01 48 */ stfs f1, 0x148(r1) +/* 80291588 0028E4E8 D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 8029158C 0028E4EC 90 01 01 50 */ stw r0, 0x150(r1) +/* 80291590 0028E4F0 4B E9 FE A9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80291594 0028E4F4 80 01 01 40 */ lwz r0, 0x140(r1) +/* 80291598 0028E4F8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8029159C 0028E4FC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802915A0 0028E500 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802915A4 0028E504 90 12 00 F8 */ stw r0, 0xf8(r18) +/* 802915A8 0028E508 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802915AC 0028E50C 80 A1 01 44 */ lwz r5, 0x144(r1) +/* 802915B0 0028E510 80 61 01 48 */ lwz r3, 0x148(r1) +/* 802915B4 0028E514 90 B2 00 FC */ stw r5, 0xfc(r18) +/* 802915B8 0028E518 80 A1 01 4C */ lwz r5, 0x14c(r1) +/* 802915BC 0028E51C 90 72 01 00 */ stw r3, 0x100(r18) +/* 802915C0 0028E520 80 61 01 50 */ lwz r3, 0x150(r1) +/* 802915C4 0028E524 90 B2 01 04 */ stw r5, 0x104(r18) +/* 802915C8 0028E528 90 81 01 3C */ stw r4, 0x13c(r1) +/* 802915CC 0028E52C 90 72 01 08 */ stw r3, 0x108(r18) +/* 802915D0 0028E530 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802915D4 0028E534 48 00 01 8C */ b lbl_80291760 +/* 802915D8 0028E538 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 802915DC 0028E53C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 802915E0 0028E540 88 7F 0A DE */ lbz r3, 0xade(r31) +/* 802915E4 0028E544 38 03 00 01 */ addi r0, r3, 1 +/* 802915E8 0028E548 98 1F 0A DE */ stb r0, 0xade(r31) +/* 802915EC 0028E54C 88 1F 0A DE */ lbz r0, 0xade(r31) +/* 802915F0 0028E550 28 00 00 04 */ cmplwi r0, 4 +/* 802915F4 0028E554 40 80 01 6C */ bge lbl_80291760 +/* 802915F8 0028E558 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 802915FC 0028E55C 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 80291600 0028E560 38 83 67 18 */ addi r4, r3, lbl_805A6718@l +/* 80291604 0028E564 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80291608 0028E568 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l +/* 8029160C 0028E56C C0 44 00 00 */ lfs f2, 0(r4) +/* 80291610 0028E570 C0 24 00 04 */ lfs f1, 4(r4) +/* 80291614 0028E574 3C A0 80 3E */ lis r5, lbl_803DAA44@ha +/* 80291618 0028E578 C0 04 00 08 */ lfs f0, 8(r4) +/* 8029161C 0028E57C 38 C0 00 04 */ li r6, 4 +/* 80291620 0028E580 38 00 00 01 */ li r0, 1 +/* 80291624 0028E584 3A 43 00 04 */ addi r18, r3, 4 +/* 80291628 0028E588 90 E1 01 24 */ stw r7, 0x124(r1) +/* 8029162C 0028E58C 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l +/* 80291630 0028E590 7E 43 93 78 */ mr r3, r18 +/* 80291634 0028E594 38 80 00 04 */ li r4, 4 +/* 80291638 0028E598 90 C1 01 28 */ stw r6, 0x128(r1) +/* 8029163C 0028E59C 90 A1 01 24 */ stw r5, 0x124(r1) +/* 80291640 0028E5A0 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 80291644 0028E5A4 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 80291648 0028E5A8 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8029164C 0028E5AC 90 01 01 38 */ stw r0, 0x138(r1) +/* 80291650 0028E5B0 4B E9 FD E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80291654 0028E5B4 80 01 01 28 */ lwz r0, 0x128(r1) +/* 80291658 0028E5B8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8029165C 0028E5BC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 80291660 0028E5C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80291664 0028E5C4 90 12 00 F8 */ stw r0, 0xf8(r18) +/* 80291668 0028E5C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8029166C 0028E5CC 80 A1 01 2C */ lwz r5, 0x12c(r1) +/* 80291670 0028E5D0 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80291674 0028E5D4 90 B2 00 FC */ stw r5, 0xfc(r18) +/* 80291678 0028E5D8 80 A1 01 34 */ lwz r5, 0x134(r1) +/* 8029167C 0028E5DC 90 72 01 00 */ stw r3, 0x100(r18) +/* 80291680 0028E5E0 80 61 01 38 */ lwz r3, 0x138(r1) +/* 80291684 0028E5E4 90 B2 01 04 */ stw r5, 0x104(r18) +/* 80291688 0028E5E8 90 81 01 24 */ stw r4, 0x124(r1) +/* 8029168C 0028E5EC 90 72 01 08 */ stw r3, 0x108(r18) +/* 80291690 0028E5F0 90 01 01 24 */ stw r0, 0x124(r1) +/* 80291694 0028E5F4 48 00 00 CC */ b lbl_80291760 +/* 80291698 0028E5F8 38 00 00 01 */ li r0, 1 +/* 8029169C 0028E5FC 98 1F 0B 78 */ stb r0, 0xb78(r31) +/* 802916A0 0028E600 48 00 00 C0 */ b lbl_80291760 +/* 802916A4 0028E604 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 802916A8 0028E608 88 64 00 03 */ lbz r3, 3(r4) +/* 802916AC 0028E60C 28 03 00 00 */ cmplwi r3, 0 +/* 802916B0 0028E610 41 82 00 10 */ beq lbl_802916C0 +/* 802916B4 0028E614 38 03 FF FF */ addi r0, r3, -1 +/* 802916B8 0028E618 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 802916BC 0028E61C 48 00 00 08 */ b lbl_802916C4 +lbl_802916C0: +/* 802916C0 0028E620 38 00 00 00 */ li r0, 0 +lbl_802916C4: +/* 802916C4 0028E624 98 04 00 03 */ stb r0, 3(r4) +/* 802916C8 0028E628 48 00 00 98 */ b lbl_80291760 +/* 802916CC 0028E62C 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 802916D0 0028E630 88 64 00 02 */ lbz r3, 2(r4) +/* 802916D4 0028E634 28 03 00 00 */ cmplwi r3, 0 +/* 802916D8 0028E638 41 82 00 10 */ beq lbl_802916E8 +/* 802916DC 0028E63C 38 03 FF FF */ addi r0, r3, -1 +/* 802916E0 0028E640 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 802916E4 0028E644 48 00 00 08 */ b lbl_802916EC +lbl_802916E8: +/* 802916E8 0028E648 38 00 00 00 */ li r0, 0 +lbl_802916EC: +/* 802916EC 0028E64C 98 04 00 02 */ stb r0, 2(r4) +/* 802916F0 0028E650 48 00 00 70 */ b lbl_80291760 +/* 802916F4 0028E654 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 802916F8 0028E658 88 64 00 01 */ lbz r3, 1(r4) +/* 802916FC 0028E65C 28 03 00 00 */ cmplwi r3, 0 +/* 80291700 0028E660 41 82 00 10 */ beq lbl_80291710 +/* 80291704 0028E664 38 03 FF FF */ addi r0, r3, -1 +/* 80291708 0028E668 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8029170C 0028E66C 48 00 00 08 */ b lbl_80291714 +lbl_80291710: +/* 80291710 0028E670 38 00 00 00 */ li r0, 0 +lbl_80291714: +/* 80291714 0028E674 98 04 00 01 */ stb r0, 1(r4) +/* 80291718 0028E678 48 00 00 48 */ b lbl_80291760 +/* 8029171C 0028E67C 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 80291720 0028E680 88 64 00 00 */ lbz r3, 0(r4) +/* 80291724 0028E684 28 03 00 00 */ cmplwi r3, 0 +/* 80291728 0028E688 41 82 00 10 */ beq lbl_80291738 +/* 8029172C 0028E68C 38 03 FF FF */ addi r0, r3, -1 +/* 80291730 0028E690 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80291734 0028E694 48 00 00 08 */ b lbl_8029173C +lbl_80291738: +/* 80291738 0028E698 38 00 00 00 */ li r0, 0 +lbl_8029173C: +/* 8029173C 0028E69C 98 04 00 00 */ stb r0, 0(r4) +/* 80291740 0028E6A0 48 00 00 20 */ b lbl_80291760 +lbl_80291744: +/* 80291744 0028E6A4 A0 14 00 00 */ lhz r0, 0(r20) +/* 80291748 0028E6A8 7F E3 FB 78 */ mr r3, r31 +/* 8029174C 0028E6AC 7E A4 AB 78 */ mr r4, r21 +/* 80291750 0028E6B0 7F C6 F3 78 */ mr r6, r30 +/* 80291754 0028E6B4 B0 01 00 08 */ sth r0, 8(r1) +/* 80291758 0028E6B8 38 A1 00 08 */ addi r5, r1, 8 +/* 8029175C 0028E6BC 4B F9 B4 71 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_80291760: +/* 80291760 0028E6C0 BA 41 02 28 */ lmw r18, 0x228(r1) +/* 80291764 0028E6C4 80 01 02 64 */ lwz r0, 0x264(r1) +/* 80291768 0028E6C8 7C 08 03 A6 */ mtlr r0 +/* 8029176C 0028E6CC 38 21 02 60 */ addi r1, r1, 0x260 +/* 80291770 0028E6D0 4E 80 00 20 */ blr + +.global sub_80291774 +sub_80291774: +/* 80291774 0028E6D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80291778 0028E6D8 7C 08 02 A6 */ mflr r0 +/* 8029177C 0028E6DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291780 0028E6E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80291784 0028E6E4 7C 9F 23 78 */ mr r31, r4 +/* 80291788 0028E6E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029178C 0028E6EC 7C 7E 1B 78 */ mr r30, r3 +/* 80291790 0028E6F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80291794 0028E6F4 80 03 00 04 */ lwz r0, 4(r3) +/* 80291798 0028E6F8 80 A3 00 08 */ lwz r5, 8(r3) +/* 8029179C 0028E6FC 7C 00 28 00 */ cmpw r0, r5 +/* 802917A0 0028E700 41 80 00 18 */ blt lbl_802917B8 +/* 802917A4 0028E704 2C 05 00 00 */ cmpwi r5, 0 +/* 802917A8 0028E708 38 80 00 04 */ li r4, 4 +/* 802917AC 0028E70C 41 82 00 08 */ beq lbl_802917B4 +/* 802917B0 0028E710 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802917B4: +/* 802917B4 0028E714 48 00 0A 11 */ bl sub_802921c4 +lbl_802917B8: +/* 802917B8 0028E718 80 1E 00 04 */ lwz r0, 4(r30) +/* 802917BC 0028E71C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802917C0 0028E720 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802917C4 0028E724 7F A3 02 15 */ add. r29, r3, r0 +/* 802917C8 0028E728 41 82 00 A4 */ beq lbl_8029186C +/* 802917CC 0028E72C A0 1F 00 00 */ lhz r0, 0(r31) +/* 802917D0 0028E730 B0 1D 00 00 */ sth r0, 0(r29) +/* 802917D4 0028E734 80 1F 00 08 */ lwz r0, 8(r31) +/* 802917D8 0028E738 90 1D 00 08 */ stw r0, 8(r29) +/* 802917DC 0028E73C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802917E0 0028E740 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802917E4 0028E744 80 1F 00 08 */ lwz r0, 8(r31) +/* 802917E8 0028E748 2C 00 00 00 */ cmpwi r0, 0 +/* 802917EC 0028E74C 40 82 00 1C */ bne lbl_80291808 +/* 802917F0 0028E750 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802917F4 0028E754 2C 00 00 00 */ cmpwi r0, 0 +/* 802917F8 0028E758 40 82 00 10 */ bne lbl_80291808 +/* 802917FC 0028E75C 38 00 00 00 */ li r0, 0 +/* 80291800 0028E760 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80291804 0028E764 48 00 00 68 */ b lbl_8029186C +lbl_80291808: +/* 80291808 0028E768 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029180C 0028E76C 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 80291810 0028E770 40 82 00 10 */ bne lbl_80291820 +/* 80291814 0028E774 38 00 00 00 */ li r0, 0 +/* 80291818 0028E778 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8029181C 0028E77C 48 00 00 1C */ b lbl_80291838 +lbl_80291820: +/* 80291820 0028E780 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80291824 0028E784 38 A0 00 00 */ li r5, 0 +/* 80291828 0028E788 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8029182C 0028E78C 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80291830 0028E790 48 08 3F E9 */ bl __nwa__FUlPCcPCc +/* 80291834 0028E794 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_80291838: +/* 80291838 0028E798 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029183C 0028E79C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80291840 0028E7A0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80291844 0028E7A4 7C 09 03 A6 */ mtctr r0 +/* 80291848 0028E7A8 2C 00 00 00 */ cmpwi r0, 0 +/* 8029184C 0028E7AC 40 81 00 20 */ ble lbl_8029186C +lbl_80291850: +/* 80291850 0028E7B0 28 03 00 00 */ cmplwi r3, 0 +/* 80291854 0028E7B4 41 82 00 0C */ beq lbl_80291860 +/* 80291858 0028E7B8 A0 04 00 00 */ lhz r0, 0(r4) +/* 8029185C 0028E7BC B0 03 00 00 */ sth r0, 0(r3) +lbl_80291860: +/* 80291860 0028E7C0 38 63 00 02 */ addi r3, r3, 2 +/* 80291864 0028E7C4 38 84 00 02 */ addi r4, r4, 2 +/* 80291868 0028E7C8 42 00 FF E8 */ bdnz lbl_80291850 +lbl_8029186C: +/* 8029186C 0028E7CC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80291870 0028E7D0 38 03 00 01 */ addi r0, r3, 1 +/* 80291874 0028E7D4 90 1E 00 04 */ stw r0, 4(r30) +/* 80291878 0028E7D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029187C 0028E7DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80291880 0028E7E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80291884 0028E7E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80291888 0028E7E8 7C 08 03 A6 */ mtlr r0 +/* 8029188C 0028E7EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80291890 0028E7F0 4E 80 00 20 */ blr + +.global "__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii" +"__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii": +/* 80291894 0028E7F4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80291898 0028E7F8 7C 08 02 A6 */ mflr r0 +/* 8029189C 0028E7FC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802918A0 0028E800 81 61 00 A8 */ lwz r11, 0xa8(r1) +/* 802918A4 0028E804 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 802918A8 0028E808 7C 7F 1B 78 */ mr r31, r3 +/* 802918AC 0028E80C 83 A1 00 AC */ lwz r29, 0xac(r1) +/* 802918B0 0028E810 7D 1E 43 78 */ mr r30, r8 +/* 802918B4 0028E814 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 802918B8 0028E818 83 61 00 B4 */ lwz r27, 0xb4(r1) +/* 802918BC 0028E81C A0 04 00 00 */ lhz r0, 0(r4) +/* 802918C0 0028E820 38 81 00 10 */ addi r4, r1, 0x10 +/* 802918C4 0028E824 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802918C8 0028E828 91 61 00 08 */ stw r11, 8(r1) +/* 802918CC 0028E82C 4B F9 BE C5 */ bl "__ct__12CElitePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateData" +/* 802918D0 0028E830 3C 80 80 3F */ lis r4, lbl_803EB868@ha +/* 802918D4 0028E834 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 802918D8 0028E838 38 04 B8 68 */ addi r0, r4, lbl_803EB868@l +/* 802918DC 0028E83C 38 C0 00 00 */ li r6, 0 +/* 802918E0 0028E840 90 1F 00 00 */ stw r0, 0(r31) +/* 802918E4 0028E844 38 80 00 01 */ li r4, 1 +/* 802918E8 0028E848 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 802918EC 0028E84C 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 802918F0 0028E850 A0 ED A3 8C */ lhz r7, lbl_805A8F4C@sda21(r13) +/* 802918F4 0028E854 38 61 00 3C */ addi r3, r1, 0x3c +/* 802918F8 0028E858 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 802918FC 0028E85C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80291900 0028E860 B0 FF 09 90 */ sth r7, 0x990(r31) +/* 80291904 0028E864 90 DF 09 94 */ stw r6, 0x994(r31) +/* 80291908 0028E868 D0 3F 09 98 */ stfs f1, 0x998(r31) +/* 8029190C 0028E86C D0 1F 09 9C */ stfs f0, 0x99c(r31) +/* 80291910 0028E870 98 9F 09 A0 */ stb r4, 0x9a0(r31) +/* 80291914 0028E874 98 9F 09 A1 */ stb r4, 0x9a1(r31) +/* 80291918 0028E878 90 DF 09 A8 */ stw r6, 0x9a8(r31) +/* 8029191C 0028E87C 90 DF 09 AC */ stw r6, 0x9ac(r31) +/* 80291920 0028E880 90 DF 09 B0 */ stw r6, 0x9b0(r31) +/* 80291924 0028E884 98 DF 09 B4 */ stb r6, 0x9b4(r31) +/* 80291928 0028E888 90 DF 09 BC */ stw r6, 0x9bc(r31) +/* 8029192C 0028E88C 90 DF 09 C0 */ stw r6, 0x9c0(r31) +/* 80291930 0028E890 90 DF 09 C4 */ stw r6, 0x9c4(r31) +/* 80291934 0028E894 90 DF 09 C8 */ stw r6, 0x9c8(r31) +/* 80291938 0028E898 D0 3F 09 CC */ stfs f1, 0x9cc(r31) +/* 8029193C 0028E89C C0 3E 00 04 */ lfs f1, 4(r30) +/* 80291940 0028E8A0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 80291944 0028E8A4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80291948 0028E8A8 D0 1F 09 D0 */ stfs f0, 0x9d0(r31) +/* 8029194C 0028E8AC D0 3F 09 D4 */ stfs f1, 0x9d4(r31) +/* 80291950 0028E8B0 D0 5F 09 D8 */ stfs f2, 0x9d8(r31) +/* 80291954 0028E8B4 90 DF 09 E0 */ stw r6, 0x9e0(r31) +/* 80291958 0028E8B8 90 DF 09 E4 */ stw r6, 0x9e4(r31) +/* 8029195C 0028E8BC 90 DF 09 E8 */ stw r6, 0x9e8(r31) +/* 80291960 0028E8C0 98 DF 09 EC */ stb r6, 0x9ec(r31) +/* 80291964 0028E8C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80291968 0028E8C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029196C 0028E8CC 93 A1 00 48 */ stw r29, 0x48(r1) +/* 80291970 0028E8D0 81 84 00 00 */ lwz r12, 0(r4) +/* 80291974 0028E8D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80291978 0028E8D8 7D 89 03 A6 */ mtctr r12 +/* 8029197C 0028E8DC 4E 80 04 21 */ bctrl +/* 80291980 0028E8E0 3B A1 00 64 */ addi r29, r1, 0x64 +/* 80291984 0028E8E4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80291988 0028E8E8 7F A3 EB 78 */ mr r3, r29 +/* 8029198C 0028E8EC 48 0A F5 1D */ bl __ct__6CTokenFRC6CToken +/* 80291990 0028E8F0 7F A3 EB 78 */ mr r3, r29 +/* 80291994 0028E8F4 48 0A F4 79 */ bl GetObj__6CTokenFv +/* 80291998 0028E8F8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8029199C 0028E8FC 3C 60 43 53 */ lis r3, 0x43534B52@ha +/* 802919A0 0028E900 38 03 4B 52 */ addi r0, r3, 0x43534B52@l +/* 802919A4 0028E904 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802919A8 0028E908 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 802919AC 0028E90C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802919B0 0028E910 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802919B4 0028E914 90 01 00 34 */ stw r0, 0x34(r1) +/* 802919B8 0028E918 93 81 00 38 */ stw r28, 0x38(r1) +/* 802919BC 0028E91C 81 84 00 00 */ lwz r12, 0(r4) +/* 802919C0 0028E920 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802919C4 0028E924 7D 89 03 A6 */ mtctr r12 +/* 802919C8 0028E928 4E 80 04 21 */ bctrl +/* 802919CC 0028E92C 3B 81 00 58 */ addi r28, r1, 0x58 +/* 802919D0 0028E930 38 81 00 2C */ addi r4, r1, 0x2c +/* 802919D4 0028E934 7F 83 E3 78 */ mr r3, r28 +/* 802919D8 0028E938 48 0A F4 D1 */ bl __ct__6CTokenFRC6CToken +/* 802919DC 0028E93C 7F 83 E3 78 */ mr r3, r28 +/* 802919E0 0028E940 48 0A F4 2D */ bl GetObj__6CTokenFv +/* 802919E4 0028E944 80 A3 00 04 */ lwz r5, 4(r3) +/* 802919E8 0028E948 3C 60 43 49 */ lis r3, 0x43494E46@ha +/* 802919EC 0028E94C 38 03 4E 46 */ addi r0, r3, 0x43494E46@l +/* 802919F0 0028E950 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802919F4 0028E954 90 A1 00 60 */ stw r5, 0x60(r1) +/* 802919F8 0028E958 38 61 00 1C */ addi r3, r1, 0x1c +/* 802919FC 0028E95C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80291A00 0028E960 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291A04 0028E964 93 61 00 28 */ stw r27, 0x28(r1) +/* 80291A08 0028E968 81 84 00 00 */ lwz r12, 0(r4) +/* 80291A0C 0028E96C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80291A10 0028E970 7D 89 03 A6 */ mtctr r12 +/* 80291A14 0028E974 4E 80 04 21 */ bctrl +/* 80291A18 0028E978 3B 61 00 4C */ addi r27, r1, 0x4c +/* 80291A1C 0028E97C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80291A20 0028E980 7F 63 DB 78 */ mr r3, r27 +/* 80291A24 0028E984 48 0A F4 85 */ bl __ct__6CTokenFRC6CToken +/* 80291A28 0028E988 7F 63 DB 78 */ mr r3, r27 +/* 80291A2C 0028E98C 48 0A F3 E1 */ bl GetObj__6CTokenFv +/* 80291A30 0028E990 80 03 00 04 */ lwz r0, 4(r3) +/* 80291A34 0028E994 38 7F 09 F0 */ addi r3, r31, 0x9f0 +/* 80291A38 0028E998 7F A4 EB 78 */ mr r4, r29 +/* 80291A3C 0028E99C 7F 85 E3 78 */ mr r5, r28 +/* 80291A40 0028E9A0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80291A44 0028E9A4 7F 66 DB 78 */ mr r6, r27 +/* 80291A48 0028E9A8 38 E0 00 01 */ li r7, 1 +/* 80291A4C 0028E9AC 48 0C 19 ED */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +/* 80291A50 0028E9B0 7F 63 DB 78 */ mr r3, r27 +/* 80291A54 0028E9B4 38 80 00 00 */ li r4, 0 +/* 80291A58 0028E9B8 48 0A F3 E9 */ bl __dt__6CTokenFv +/* 80291A5C 0028E9BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80291A60 0028E9C0 38 80 FF FF */ li r4, -1 +/* 80291A64 0028E9C4 48 0A F3 DD */ bl __dt__6CTokenFv +/* 80291A68 0028E9C8 7F 83 E3 78 */ mr r3, r28 +/* 80291A6C 0028E9CC 38 80 00 00 */ li r4, 0 +/* 80291A70 0028E9D0 48 0A F3 D1 */ bl __dt__6CTokenFv +/* 80291A74 0028E9D4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80291A78 0028E9D8 38 80 FF FF */ li r4, -1 +/* 80291A7C 0028E9DC 48 0A F3 C5 */ bl __dt__6CTokenFv +/* 80291A80 0028E9E0 7F A3 EB 78 */ mr r3, r29 +/* 80291A84 0028E9E4 38 80 00 00 */ li r4, 0 +/* 80291A88 0028E9E8 48 0A F3 B9 */ bl __dt__6CTokenFv +/* 80291A8C 0028E9EC 38 61 00 3C */ addi r3, r1, 0x3c +/* 80291A90 0028E9F0 38 80 FF FF */ li r4, -1 +/* 80291A94 0028E9F4 48 0A F3 AD */ bl __dt__6CTokenFv +/* 80291A98 0028E9F8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 80291A9C 0028E9FC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80291AA0 0028EA00 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80291AA4 0028EA04 38 A0 00 00 */ li r5, 0 +/* 80291AA8 0028EA08 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) +/* 80291AAC 0028EA0C 38 00 00 01 */ li r0, 1 +/* 80291AB0 0028EA10 38 7F 0A 4C */ addi r3, r31, 0xa4c +/* 80291AB4 0028EA14 90 BF 0A 30 */ stw r5, 0xa30(r31) +/* 80291AB8 0028EA18 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 80291ABC 0028EA1C 90 BF 0A 38 */ stw r5, 0xa38(r31) +/* 80291AC0 0028EA20 98 BF 0A 3C */ stb r5, 0xa3c(r31) +/* 80291AC4 0028EA24 90 1F 0A 40 */ stw r0, 0xa40(r31) +/* 80291AC8 0028EA28 98 BF 0A 44 */ stb r5, 0xa44(r31) +/* 80291ACC 0028EA2C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291AD0 0028EA30 B0 1F 0A 46 */ sth r0, 0xa46(r31) +/* 80291AD4 0028EA34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291AD8 0028EA38 B0 1F 0A 48 */ sth r0, 0xa48(r31) +/* 80291ADC 0028EA3C 98 BF 0A 4A */ stb r5, 0xa4a(r31) +/* 80291AE0 0028EA40 48 08 10 95 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80291AE4 0028EA44 38 00 00 00 */ li r0, 0 +/* 80291AE8 0028EA48 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 80291AEC 0028EA4C 90 1F 0A 7C */ stw r0, 0xa7c(r31) +/* 80291AF0 0028EA50 38 80 00 01 */ li r4, 1 +/* 80291AF4 0028EA54 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 80291AF8 0028EA58 3C 60 80 57 */ lis r3, lbl_80570004@ha +/* 80291AFC 0028EA5C D0 5F 0A 80 */ stfs f2, 0xa80(r31) +/* 80291B00 0028EA60 C0 02 BE D8 */ lfs f0, lbl_805ADBF8@sda21(r2) +/* 80291B04 0028EA64 D0 3F 0A 84 */ stfs f1, 0xa84(r31) +/* 80291B08 0028EA68 98 1F 0A 88 */ stb r0, 0xa88(r31) +/* 80291B0C 0028EA6C D0 1F 0A 8C */ stfs f0, 0xa8c(r31) +/* 80291B10 0028EA70 D0 5F 0A 90 */ stfs f2, 0xa90(r31) +/* 80291B14 0028EA74 D0 5F 0A 94 */ stfs f2, 0xa94(r31) +/* 80291B18 0028EA78 D0 3F 0A 98 */ stfs f1, 0xa98(r31) +/* 80291B1C 0028EA7C 90 1F 0A 9C */ stw r0, 0xa9c(r31) +/* 80291B20 0028EA80 90 1F 0A A4 */ stw r0, 0xaa4(r31) +/* 80291B24 0028EA84 90 1F 0A A8 */ stw r0, 0xaa8(r31) +/* 80291B28 0028EA88 90 1F 0A AC */ stw r0, 0xaac(r31) +/* 80291B2C 0028EA8C D0 3F 0A B0 */ stfs f1, 0xab0(r31) +/* 80291B30 0028EA90 90 1F 0A B8 */ stw r0, 0xab8(r31) +/* 80291B34 0028EA94 90 1F 0A BC */ stw r0, 0xabc(r31) +/* 80291B38 0028EA98 90 1F 0A C0 */ stw r0, 0xac0(r31) +/* 80291B3C 0028EA9C 90 1F 0A C4 */ stw r0, 0xac4(r31) +/* 80291B40 0028EAA0 90 1F 0A C8 */ stw r0, 0xac8(r31) +/* 80291B44 0028EAA4 90 1F 0A CC */ stw r0, 0xacc(r31) +/* 80291B48 0028EAA8 98 1F 0A D0 */ stb r0, 0xad0(r31) +/* 80291B4C 0028EAAC D0 5F 0A D4 */ stfs f2, 0xad4(r31) +/* 80291B50 0028EAB0 98 1F 0A D8 */ stb r0, 0xad8(r31) +/* 80291B54 0028EAB4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80291B58 0028EAB8 B0 BF 0A DA */ sth r5, 0xada(r31) +/* 80291B5C 0028EABC 98 1F 0A DC */ stb r0, 0xadc(r31) +/* 80291B60 0028EAC0 98 1F 0A DD */ stb r0, 0xadd(r31) +/* 80291B64 0028EAC4 98 1F 0A DE */ stb r0, 0xade(r31) +/* 80291B68 0028EAC8 98 9F 0A DF */ stb r4, 0xadf(r31) +/* 80291B6C 0028EACC 98 9F 0A E0 */ stb r4, 0xae0(r31) +/* 80291B70 0028EAD0 84 A3 D5 78 */ lwzu r5, -0x2a88(r3) +/* 80291B74 0028EAD4 80 83 00 04 */ lwz r4, lbl_80570004@l(r3) +/* 80291B78 0028EAD8 90 BF 0A E4 */ stw r5, 0xae4(r31) +/* 80291B7C 0028EADC 90 9F 0A E8 */ stw r4, 0xae8(r31) +/* 80291B80 0028EAE0 80 A3 00 08 */ lwz r5, 8(r3) +/* 80291B84 0028EAE4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 80291B88 0028EAE8 90 BF 0A EC */ stw r5, 0xaec(r31) +/* 80291B8C 0028EAEC 90 9F 0A F0 */ stw r4, 0xaf0(r31) +/* 80291B90 0028EAF0 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 80291B94 0028EAF4 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80291B98 0028EAF8 90 BF 0A F4 */ stw r5, 0xaf4(r31) +/* 80291B9C 0028EAFC 90 9F 0A F8 */ stw r4, 0xaf8(r31) +/* 80291BA0 0028EB00 80 A3 00 18 */ lwz r5, 0x18(r3) +/* 80291BA4 0028EB04 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 80291BA8 0028EB08 90 BF 0A FC */ stw r5, 0xafc(r31) +/* 80291BAC 0028EB0C 90 9F 0B 00 */ stw r4, 0xb00(r31) +/* 80291BB0 0028EB10 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 80291BB4 0028EB14 80 83 00 24 */ lwz r4, 0x24(r3) +/* 80291BB8 0028EB18 90 BF 0B 04 */ stw r5, 0xb04(r31) +/* 80291BBC 0028EB1C 90 9F 0B 08 */ stw r4, 0xb08(r31) +/* 80291BC0 0028EB20 80 A3 00 28 */ lwz r5, 0x28(r3) +/* 80291BC4 0028EB24 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80291BC8 0028EB28 90 BF 0B 0C */ stw r5, 0xb0c(r31) +/* 80291BCC 0028EB2C 90 9F 0B 10 */ stw r4, 0xb10(r31) +/* 80291BD0 0028EB30 80 A3 00 30 */ lwz r5, 0x30(r3) +/* 80291BD4 0028EB34 80 83 00 34 */ lwz r4, 0x34(r3) +/* 80291BD8 0028EB38 90 BF 0B 14 */ stw r5, 0xb14(r31) +/* 80291BDC 0028EB3C 90 9F 0B 18 */ stw r4, 0xb18(r31) +/* 80291BE0 0028EB40 80 83 00 38 */ lwz r4, 0x38(r3) +/* 80291BE4 0028EB44 90 9F 0B 1C */ stw r4, 0xb1c(r31) +/* 80291BE8 0028EB48 80 A3 00 3C */ lwz r5, 0x3c(r3) +/* 80291BEC 0028EB4C 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80291BF0 0028EB50 90 BF 0B 20 */ stw r5, 0xb20(r31) +/* 80291BF4 0028EB54 90 9F 0B 24 */ stw r4, 0xb24(r31) +/* 80291BF8 0028EB58 80 A3 00 44 */ lwz r5, 0x44(r3) +/* 80291BFC 0028EB5C 80 83 00 48 */ lwz r4, 0x48(r3) +/* 80291C00 0028EB60 90 BF 0B 28 */ stw r5, 0xb28(r31) +/* 80291C04 0028EB64 90 9F 0B 2C */ stw r4, 0xb2c(r31) +/* 80291C08 0028EB68 80 A3 00 4C */ lwz r5, 0x4c(r3) +/* 80291C0C 0028EB6C 80 83 00 50 */ lwz r4, 0x50(r3) +/* 80291C10 0028EB70 90 BF 0B 30 */ stw r5, 0xb30(r31) +/* 80291C14 0028EB74 90 9F 0B 34 */ stw r4, 0xb34(r31) +/* 80291C18 0028EB78 80 A3 00 54 */ lwz r5, 0x54(r3) +/* 80291C1C 0028EB7C 80 83 00 58 */ lwz r4, 0x58(r3) +/* 80291C20 0028EB80 90 BF 0B 38 */ stw r5, 0xb38(r31) +/* 80291C24 0028EB84 90 9F 0B 3C */ stw r4, 0xb3c(r31) +/* 80291C28 0028EB88 80 83 00 5C */ lwz r4, 0x5c(r3) +/* 80291C2C 0028EB8C 90 9F 0B 40 */ stw r4, 0xb40(r31) +/* 80291C30 0028EB90 80 83 00 60 */ lwz r4, 0x60(r3) +/* 80291C34 0028EB94 90 9F 0B 44 */ stw r4, 0xb44(r31) +/* 80291C38 0028EB98 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80291C3C 0028EB9C 90 7F 0B 48 */ stw r3, 0xb48(r31) +/* 80291C40 0028EBA0 90 1F 0B 4C */ stw r0, 0xb4c(r31) +/* 80291C44 0028EBA4 D0 3F 0B 50 */ stfs f1, 0xb50(r31) +/* 80291C48 0028EBA8 48 0B 83 65 */ bl White__6CColorFv +/* 80291C4C 0028EBAC 80 03 00 00 */ lwz r0, 0(r3) +/* 80291C50 0028EBB0 3C 60 80 3D */ lis r3, lbl_803D5A74@ha +/* 80291C54 0028EBB4 38 83 5A 74 */ addi r4, r3, lbl_803D5A74@l +/* 80291C58 0028EBB8 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 80291C5C 0028EBBC 90 1F 0B 54 */ stw r0, 0xb54(r31) +/* 80291C60 0028EBC0 38 00 00 00 */ li r0, 0 +/* 80291C64 0028EBC4 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 80291C68 0028EBC8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80291C6C 0028EBCC D0 1F 0B 58 */ stfs f0, 0xb58(r31) +/* 80291C70 0028EBD0 38 A4 00 F1 */ addi r5, r4, 0xf1 +/* 80291C74 0028EBD4 C0 02 BE DC */ lfs f0, lbl_805ADBFC@sda21(r2) +/* 80291C78 0028EBD8 D0 3F 0B 5C */ stfs f1, 0xb5c(r31) +/* 80291C7C 0028EBDC D0 3F 0B 60 */ stfs f1, 0xb60(r31) +/* 80291C80 0028EBE0 D0 1F 0B 64 */ stfs f0, 0xb64(r31) +/* 80291C84 0028EBE4 90 1F 0B 68 */ stw r0, 0xb68(r31) +/* 80291C88 0028EBE8 98 1F 0B 6C */ stb r0, 0xb6c(r31) +/* 80291C8C 0028EBEC 98 1F 0B 6D */ stb r0, 0xb6d(r31) +/* 80291C90 0028EBF0 98 1F 0B 6E */ stb r0, 0xb6e(r31) +/* 80291C94 0028EBF4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80291C98 0028EBF8 81 84 00 00 */ lwz r12, 0(r4) +/* 80291C9C 0028EBFC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80291CA0 0028EC00 7D 89 03 A6 */ mtctr r12 +/* 80291CA4 0028EC04 4E 80 04 21 */ bctrl +/* 80291CA8 0028EC08 38 7F 0B 70 */ addi r3, r31, 0xb70 +/* 80291CAC 0028EC0C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80291CB0 0028EC10 48 0A F1 F9 */ bl __ct__6CTokenFRC6CToken +/* 80291CB4 0028EC14 38 61 00 14 */ addi r3, r1, 0x14 +/* 80291CB8 0028EC18 38 80 FF FF */ li r4, -1 +/* 80291CBC 0028EC1C 48 0A F1 85 */ bl __dt__6CTokenFv +/* 80291CC0 0028EC20 38 00 00 00 */ li r0, 0 +/* 80291CC4 0028EC24 38 7F 09 A4 */ addi r3, r31, 0x9a4 +/* 80291CC8 0028EC28 98 1F 0B 78 */ stb r0, 0xb78(r31) +/* 80291CCC 0028EC2C 38 80 00 03 */ li r4, 3 +/* 80291CD0 0028EC30 98 1F 0B 79 */ stb r0, 0xb79(r31) +/* 80291CD4 0028EC34 90 1F 0B 80 */ stw r0, 0xb80(r31) +/* 80291CD8 0028EC38 90 1F 0B 84 */ stw r0, 0xb84(r31) +/* 80291CDC 0028EC3C 90 1F 0B 88 */ stw r0, 0xb88(r31) +/* 80291CE0 0028EC40 48 00 04 E5 */ bl sub_802921c4 +/* 80291CE4 0028EC44 38 7F 09 B8 */ addi r3, r31, 0x9b8 +/* 80291CE8 0028EC48 38 80 00 18 */ li r4, 0x18 +/* 80291CEC 0028EC4C 48 00 06 FD */ bl sub_802923e8 +/* 80291CF0 0028EC50 38 7F 09 DC */ addi r3, r31, 0x9dc +/* 80291CF4 0028EC54 38 80 00 04 */ li r4, 4 +/* 80291CF8 0028EC58 48 00 06 F1 */ bl sub_802923e8 +/* 80291CFC 0028EC5C 38 7F 0A A0 */ addi r3, r31, 0xaa0 +/* 80291D00 0028EC60 38 80 00 04 */ li r4, 4 +/* 80291D04 0028EC64 48 00 06 E5 */ bl sub_802923e8 +/* 80291D08 0028EC68 38 7F 0A B4 */ addi r3, r31, 0xab4 +/* 80291D0C 0028EC6C 38 80 00 03 */ li r4, 3 +/* 80291D10 0028EC70 48 00 07 E1 */ bl sub_802924f0 +/* 80291D14 0028EC74 38 7F 0B 70 */ addi r3, r31, 0xb70 +/* 80291D18 0028EC78 48 0A F0 6D */ bl Lock__6CTokenFv +/* 80291D1C 0028EC7C C0 22 BF 10 */ lfs f1, lbl_805ADC30@sda21(r2) +/* 80291D20 0028EC80 7F E3 FB 78 */ mr r3, r31 +/* 80291D24 0028EC84 4B E8 8D 65 */ bl SetMass__13CPhysicsActorFf +/* 80291D28 0028EC88 38 7F 0B 7C */ addi r3, r31, 0xb7c +/* 80291D2C 0028EC8C 38 80 00 04 */ li r4, 4 +/* 80291D30 0028EC90 4B F4 44 CD */ bl "reserve__Q24rstl37vectorFi" +/* 80291D34 0028EC94 3B 60 00 00 */ li r27, 0 +lbl_80291D38: +/* 80291D38 0028EC98 80 1F 0B 80 */ lwz r0, 0xb80(r31) +/* 80291D3C 0028EC9C 80 BF 0B 84 */ lwz r5, 0xb84(r31) +/* 80291D40 0028ECA0 7C 00 28 00 */ cmpw r0, r5 +/* 80291D44 0028ECA4 41 80 00 1C */ blt lbl_80291D60 +/* 80291D48 0028ECA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80291D4C 0028ECAC 38 7F 0B 7C */ addi r3, r31, 0xb7c +/* 80291D50 0028ECB0 38 80 00 04 */ li r4, 4 +/* 80291D54 0028ECB4 41 82 00 08 */ beq lbl_80291D5C +/* 80291D58 0028ECB8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80291D5C: +/* 80291D5C 0028ECBC 4B F4 44 A1 */ bl "reserve__Q24rstl37vectorFi" +lbl_80291D60: +/* 80291D60 0028ECC0 80 7F 0B 88 */ lwz r3, 0xb88(r31) +/* 80291D64 0028ECC4 80 1F 0B 80 */ lwz r0, 0xb80(r31) +/* 80291D68 0028ECC8 7C 63 02 15 */ add. r3, r3, r0 +/* 80291D6C 0028ECCC 41 82 00 0C */ beq lbl_80291D78 +/* 80291D70 0028ECD0 88 0D 99 7C */ lbz r0, lbl_805A853C@sda21(r13) +/* 80291D74 0028ECD4 98 03 00 00 */ stb r0, 0(r3) +lbl_80291D78: +/* 80291D78 0028ECD8 80 7F 0B 80 */ lwz r3, 0xb80(r31) +/* 80291D7C 0028ECDC 3B 7B 00 01 */ addi r27, r27, 1 +/* 80291D80 0028ECE0 28 1B 00 04 */ cmplwi r27, 4 +/* 80291D84 0028ECE4 38 03 00 01 */ addi r0, r3, 1 +/* 80291D88 0028ECE8 90 1F 0B 80 */ stw r0, 0xb80(r31) +/* 80291D8C 0028ECEC 41 80 FF AC */ blt lbl_80291D38 +/* 80291D90 0028ECF0 7F E3 FB 78 */ mr r3, r31 +/* 80291D94 0028ECF4 4B DC 1B 29 */ bl GetMaterialFilter__6CActorCFv +/* 80291D98 0028ECF8 80 AD 99 80 */ lwz r5, lbl_805A8540@sda21(r13) +/* 80291D9C 0028ECFC 38 80 00 01 */ li r4, 1 +/* 80291DA0 0028ED00 83 C3 00 08 */ lwz r30, 8(r3) +/* 80291DA4 0028ED04 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 80291DA8 0028ED08 38 60 00 00 */ li r3, 0 +/* 80291DAC 0028ED0C 48 0F 81 49 */ bl __shl2i +/* 80291DB0 0028ED10 80 AD 99 84 */ lwz r5, lbl_805A8544@sda21(r13) +/* 80291DB4 0028ED14 7C 9B 23 78 */ mr r27, r4 +/* 80291DB8 0028ED18 7C 7C 1B 78 */ mr r28, r3 +/* 80291DBC 0028ED1C 38 60 00 00 */ li r3, 0 +/* 80291DC0 0028ED20 38 80 00 01 */ li r4, 1 +/* 80291DC4 0028ED24 48 0F 81 31 */ bl __shl2i +/* 80291DC8 0028ED28 80 AD 99 88 */ lwz r5, lbl_805A8548@sda21(r13) +/* 80291DCC 0028ED2C 7F 7B 23 78 */ or r27, r27, r4 +/* 80291DD0 0028ED30 7F 9C 1B 78 */ or r28, r28, r3 +/* 80291DD4 0028ED34 38 60 00 00 */ li r3, 0 +/* 80291DD8 0028ED38 38 80 00 01 */ li r4, 1 +/* 80291DDC 0028ED3C 48 0F 81 19 */ bl __shl2i +/* 80291DE0 0028ED40 7F 9C 1B 78 */ or r28, r28, r3 +/* 80291DE4 0028ED44 7F 7B 23 78 */ or r27, r27, r4 +/* 80291DE8 0028ED48 7F E3 FB 78 */ mr r3, r31 +/* 80291DEC 0028ED4C 7F BD DB 78 */ or r29, r29, r27 +/* 80291DF0 0028ED50 7F DE E3 78 */ or r30, r30, r28 +/* 80291DF4 0028ED54 4B DC 1A C9 */ bl GetMaterialFilter__6CActorCFv +/* 80291DF8 0028ED58 80 A3 00 00 */ lwz r5, 0(r3) +/* 80291DFC 0028ED5C 38 00 00 03 */ li r0, 3 +/* 80291E00 0028ED60 80 C3 00 04 */ lwz r6, 4(r3) +/* 80291E04 0028ED64 7F E3 FB 78 */ mr r3, r31 +/* 80291E08 0028ED68 38 81 00 70 */ addi r4, r1, 0x70 +/* 80291E0C 0028ED6C 90 C1 00 74 */ stw r6, 0x74(r1) +/* 80291E10 0028ED70 90 A1 00 70 */ stw r5, 0x70(r1) +/* 80291E14 0028ED74 93 A1 00 7C */ stw r29, 0x7c(r1) +/* 80291E18 0028ED78 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80291E1C 0028ED7C 90 01 00 80 */ stw r0, 0x80(r1) +/* 80291E20 0028ED80 4B DC 1A 81 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80291E24 0028ED84 7F E3 FB 78 */ mr r3, r31 +/* 80291E28 0028ED88 81 9F 00 00 */ lwz r12, 0(r31) +/* 80291E2C 0028ED8C 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80291E30 0028ED90 7D 89 03 A6 */ mtctr r12 +/* 80291E34 0028ED94 4E 80 04 21 */ bctrl +/* 80291E38 0028ED98 C0 02 BF 08 */ lfs f0, lbl_805ADC28@sda21(r2) +/* 80291E3C 0028ED9C D0 03 00 D8 */ stfs f0, 0xd8(r3) +/* 80291E40 0028EDA0 7F E3 FB 78 */ mr r3, r31 +/* 80291E44 0028EDA4 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80291E48 0028EDA8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80291E4C 0028EDAC 7C 08 03 A6 */ mtlr r0 +/* 80291E50 0028EDB0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80291E54 0028EDB4 4E 80 00 20 */ blr + +.global sub_80291e58 +sub_80291e58: +/* 80291E58 0028EDB8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80291E5C 0028EDBC 7C 08 02 A6 */ mflr r0 +/* 80291E60 0028EDC0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80291E64 0028EDC4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80291E68 0028EDC8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80291E6C 0028EDCC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80291E70 0028EDD0 7C 9D 23 78 */ mr r29, r4 +/* 80291E74 0028EDD4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80291E78 0028EDD8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80291E7C 0028EDDC 41 82 00 6C */ beq lbl_80291EE8 +/* 80291E80 0028EDE0 80 1C 00 04 */ lwz r0, 4(r28) +/* 80291E84 0028EDE4 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 80291E88 0028EDE8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80291E8C 0028EDEC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80291E90 0028EDF0 7F FE 02 14 */ add r31, r30, r0 +/* 80291E94 0028EDF4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80291E98 0028EDF8 93 E1 00 08 */ stw r31, 8(r1) +/* 80291E9C 0028EDFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80291EA0 0028EE00 48 00 00 20 */ b lbl_80291EC0 +lbl_80291EA4: +/* 80291EA4 0028EE04 28 1E 00 00 */ cmplwi r30, 0 +/* 80291EA8 0028EE08 41 82 00 14 */ beq lbl_80291EBC +/* 80291EAC 0028EE0C 34 1E 00 04 */ addic. r0, r30, 4 +/* 80291EB0 0028EE10 41 82 00 0C */ beq lbl_80291EBC +/* 80291EB4 0028EE14 38 7E 00 04 */ addi r3, r30, 4 +/* 80291EB8 0028EE18 48 0A BC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80291EBC: +/* 80291EBC 0028EE1C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_80291EC0: +/* 80291EC0 0028EE20 7C 1E F8 40 */ cmplw r30, r31 +/* 80291EC4 0028EE24 40 82 FF E0 */ bne lbl_80291EA4 +/* 80291EC8 0028EE28 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80291ECC 0028EE2C 28 03 00 00 */ cmplwi r3, 0 +/* 80291ED0 0028EE30 41 82 00 08 */ beq lbl_80291ED8 +/* 80291ED4 0028EE34 48 08 3A 5D */ bl Free__7CMemoryFPCv +lbl_80291ED8: +/* 80291ED8 0028EE38 7F A0 07 35 */ extsh. r0, r29 +/* 80291EDC 0028EE3C 40 81 00 0C */ ble lbl_80291EE8 +/* 80291EE0 0028EE40 7F 83 E3 78 */ mr r3, r28 +/* 80291EE4 0028EE44 48 08 3A 4D */ bl Free__7CMemoryFPCv +lbl_80291EE8: +/* 80291EE8 0028EE48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80291EEC 0028EE4C 7F 83 E3 78 */ mr r3, r28 +/* 80291EF0 0028EE50 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80291EF4 0028EE54 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80291EF8 0028EE58 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80291EFC 0028EE5C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80291F00 0028EE60 7C 08 03 A6 */ mtlr r0 +/* 80291F04 0028EE64 38 21 00 30 */ addi r1, r1, 0x30 +/* 80291F08 0028EE68 4E 80 00 20 */ blr + +.global sub_80291f0c +sub_80291f0c: +/* 80291F0C 0028EE6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80291F10 0028EE70 7C 08 02 A6 */ mflr r0 +/* 80291F14 0028EE74 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291F18 0028EE78 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80291F1C 0028EE7C 7C 9F 23 78 */ mr r31, r4 +/* 80291F20 0028EE80 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80291F24 0028EE84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80291F28 0028EE88 41 82 00 54 */ beq lbl_80291F7C +/* 80291F2C 0028EE8C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80291F30 0028EE90 38 61 00 14 */ addi r3, r1, 0x14 +/* 80291F34 0028EE94 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80291F38 0028EE98 38 81 00 0C */ addi r4, r1, 0xc +/* 80291F3C 0028EE9C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80291F40 0028EEA0 7C A5 02 14 */ add r5, r5, r0 +/* 80291F44 0028EEA4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80291F48 0028EEA8 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80291F4C 0028EEAC 90 A1 00 08 */ stw r5, 8(r1) +/* 80291F50 0028EEB0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80291F54 0028EEB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80291F58 0028EEB8 48 00 00 41 */ bl sub_80291f98 +/* 80291F5C 0028EEBC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80291F60 0028EEC0 28 03 00 00 */ cmplwi r3, 0 +/* 80291F64 0028EEC4 41 82 00 08 */ beq lbl_80291F6C +/* 80291F68 0028EEC8 48 08 39 C9 */ bl Free__7CMemoryFPCv +lbl_80291F6C: +/* 80291F6C 0028EECC 7F E0 07 35 */ extsh. r0, r31 +/* 80291F70 0028EED0 40 81 00 0C */ ble lbl_80291F7C +/* 80291F74 0028EED4 7F C3 F3 78 */ mr r3, r30 +/* 80291F78 0028EED8 48 08 39 B9 */ bl Free__7CMemoryFPCv +lbl_80291F7C: +/* 80291F7C 0028EEDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80291F80 0028EEE0 7F C3 F3 78 */ mr r3, r30 +/* 80291F84 0028EEE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80291F88 0028EEE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80291F8C 0028EEEC 7C 08 03 A6 */ mtlr r0 +/* 80291F90 0028EEF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80291F94 0028EEF4 4E 80 00 20 */ blr + +.global sub_80291f98 +sub_80291f98: +/* 80291F98 0028EEF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80291F9C 0028EEFC 7C 08 02 A6 */ mflr r0 +/* 80291FA0 0028EF00 90 01 00 14 */ stw r0, 0x14(r1) +/* 80291FA4 0028EF04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80291FA8 0028EF08 93 C1 00 08 */ stw r30, 8(r1) +/* 80291FAC 0028EF0C 7C 9E 23 78 */ mr r30, r4 +/* 80291FB0 0028EF10 83 E3 00 00 */ lwz r31, 0(r3) +/* 80291FB4 0028EF14 48 00 00 10 */ b lbl_80291FC4 +lbl_80291FB8: +/* 80291FB8 0028EF18 7F E3 FB 78 */ mr r3, r31 +/* 80291FBC 0028EF1C 48 00 00 2D */ bl sub_80291fe8 +/* 80291FC0 0028EF20 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80291FC4: +/* 80291FC4 0028EF24 80 1E 00 00 */ lwz r0, 0(r30) +/* 80291FC8 0028EF28 7C 1F 00 40 */ cmplw r31, r0 +/* 80291FCC 0028EF2C 40 82 FF EC */ bne lbl_80291FB8 +/* 80291FD0 0028EF30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80291FD4 0028EF34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80291FD8 0028EF38 83 C1 00 08 */ lwz r30, 8(r1) +/* 80291FDC 0028EF3C 7C 08 03 A6 */ mtlr r0 +/* 80291FE0 0028EF40 38 21 00 10 */ addi r1, r1, 0x10 +/* 80291FE4 0028EF44 4E 80 00 20 */ blr + +.global sub_80291fe8 +sub_80291fe8: +/* 80291FE8 0028EF48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80291FEC 0028EF4C 7C 08 02 A6 */ mflr r0 +/* 80291FF0 0028EF50 28 03 00 00 */ cmplwi r3, 0 +/* 80291FF4 0028EF54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291FF8 0028EF58 41 82 00 4C */ beq lbl_80292044 +/* 80291FFC 0028EF5C 34 03 00 04 */ addic. r0, r3, 4 +/* 80292000 0028EF60 41 82 00 44 */ beq lbl_80292044 +/* 80292004 0028EF64 80 03 00 08 */ lwz r0, 8(r3) +/* 80292008 0028EF68 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8029200C 0028EF6C 54 00 08 3C */ slwi r0, r0, 1 +/* 80292010 0028EF70 7C 03 02 14 */ add r0, r3, r0 +/* 80292014 0028EF74 90 61 00 0C */ stw r3, 0xc(r1) +/* 80292018 0028EF78 7C 64 1B 78 */ mr r4, r3 +/* 8029201C 0028EF7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80292020 0028EF80 90 01 00 10 */ stw r0, 0x10(r1) +/* 80292024 0028EF84 90 61 00 08 */ stw r3, 8(r1) +/* 80292028 0028EF88 48 00 00 08 */ b lbl_80292030 +lbl_8029202C: +/* 8029202C 0028EF8C 38 84 00 02 */ addi r4, r4, 2 +lbl_80292030: +/* 80292030 0028EF90 7C 04 00 40 */ cmplw r4, r0 +/* 80292034 0028EF94 40 82 FF F8 */ bne lbl_8029202C +/* 80292038 0028EF98 28 03 00 00 */ cmplwi r3, 0 +/* 8029203C 0028EF9C 41 82 00 08 */ beq lbl_80292044 +/* 80292040 0028EFA0 48 08 38 F1 */ bl Free__7CMemoryFPCv +lbl_80292044: +/* 80292044 0028EFA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80292048 0028EFA8 7C 08 03 A6 */ mtlr r0 +/* 8029204C 0028EFAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80292050 0028EFB0 4E 80 00 20 */ blr + +.global __dt__12COmegaPirateFv +__dt__12COmegaPirateFv: +/* 80292054 0028EFB4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80292058 0028EFB8 7C 08 02 A6 */ mflr r0 +/* 8029205C 0028EFBC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80292060 0028EFC0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80292064 0028EFC4 7C 9F 23 78 */ mr r31, r4 +/* 80292068 0028EFC8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029206C 0028EFCC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80292070 0028EFD0 41 82 01 30 */ beq lbl_802921A0 +/* 80292074 0028EFD4 3C 60 80 3F */ lis r3, lbl_803EB868@ha +/* 80292078 0028EFD8 34 1E 0B 7C */ addic. r0, r30, 0xb7c +/* 8029207C 0028EFDC 38 03 B8 68 */ addi r0, r3, lbl_803EB868@l +/* 80292080 0028EFE0 90 1E 00 00 */ stw r0, 0(r30) +/* 80292084 0028EFE4 41 82 00 40 */ beq lbl_802920C4 +/* 80292088 0028EFE8 80 7E 0B 88 */ lwz r3, 0xb88(r30) +/* 8029208C 0028EFEC 80 1E 0B 80 */ lwz r0, 0xb80(r30) +/* 80292090 0028EFF0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80292094 0028EFF4 7C 83 02 14 */ add r4, r3, r0 +/* 80292098 0028EFF8 7C 03 20 50 */ subf r0, r3, r4 +/* 8029209C 0028EFFC 90 81 00 24 */ stw r4, 0x24(r1) +/* 802920A0 0028F000 90 81 00 20 */ stw r4, 0x20(r1) +/* 802920A4 0028F004 90 61 00 18 */ stw r3, 0x18(r1) +/* 802920A8 0028F008 7C 09 03 A6 */ mtctr r0 +/* 802920AC 0028F00C 7C 03 20 40 */ cmplw r3, r4 +/* 802920B0 0028F010 41 82 00 08 */ beq lbl_802920B8 +lbl_802920B4: +/* 802920B4 0028F014 42 00 00 00 */ bdnz lbl_802920B4 +lbl_802920B8: +/* 802920B8 0028F018 28 03 00 00 */ cmplwi r3, 0 +/* 802920BC 0028F01C 41 82 00 08 */ beq lbl_802920C4 +/* 802920C0 0028F020 48 08 38 71 */ bl Free__7CMemoryFPCv +lbl_802920C4: +/* 802920C4 0028F024 34 1E 0B 70 */ addic. r0, r30, 0xb70 +/* 802920C8 0028F028 41 82 00 10 */ beq lbl_802920D8 +/* 802920CC 0028F02C 38 7E 0B 70 */ addi r3, r30, 0xb70 +/* 802920D0 0028F030 38 80 00 00 */ li r4, 0 +/* 802920D4 0028F034 48 0A ED 6D */ bl __dt__6CTokenFv +lbl_802920D8: +/* 802920D8 0028F038 34 1E 0A B4 */ addic. r0, r30, 0xab4 +/* 802920DC 0028F03C 41 82 00 44 */ beq lbl_80292120 +/* 802920E0 0028F040 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 802920E4 0028F044 80 7E 0A C0 */ lwz r3, 0xac0(r30) +/* 802920E8 0028F048 54 00 10 3A */ slwi r0, r0, 2 +/* 802920EC 0028F04C 7C 03 02 14 */ add r0, r3, r0 +/* 802920F0 0028F050 90 61 00 0C */ stw r3, 0xc(r1) +/* 802920F4 0028F054 7C 64 1B 78 */ mr r4, r3 +/* 802920F8 0028F058 90 01 00 14 */ stw r0, 0x14(r1) +/* 802920FC 0028F05C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80292100 0028F060 90 61 00 08 */ stw r3, 8(r1) +/* 80292104 0028F064 48 00 00 08 */ b lbl_8029210C +lbl_80292108: +/* 80292108 0028F068 38 84 00 04 */ addi r4, r4, 4 +lbl_8029210C: +/* 8029210C 0028F06C 7C 04 00 40 */ cmplw r4, r0 +/* 80292110 0028F070 40 82 FF F8 */ bne lbl_80292108 +/* 80292114 0028F074 28 03 00 00 */ cmplwi r3, 0 +/* 80292118 0028F078 41 82 00 08 */ beq lbl_80292120 +/* 8029211C 0028F07C 48 08 38 15 */ bl Free__7CMemoryFPCv +lbl_80292120: +/* 80292120 0028F080 38 7E 0A A0 */ addi r3, r30, 0xaa0 +/* 80292124 0028F084 38 80 FF FF */ li r4, -1 +/* 80292128 0028F088 4B FF FD 31 */ bl sub_80291e58 +/* 8029212C 0028F08C 34 1E 0A 9C */ addic. r0, r30, 0xa9c +/* 80292130 0028F090 41 82 00 10 */ beq lbl_80292140 +/* 80292134 0028F094 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 80292138 0028F098 38 80 00 01 */ li r4, 1 +/* 8029213C 0028F09C 4B F1 57 A1 */ bl sub_801a78dc +lbl_80292140: +/* 80292140 0028F0A0 34 1E 0A 38 */ addic. r0, r30, 0xa38 +/* 80292144 0028F0A4 41 82 00 10 */ beq lbl_80292154 +/* 80292148 0028F0A8 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8029214C 0028F0AC 38 80 00 01 */ li r4, 1 +/* 80292150 0028F0B0 4B F1 57 8D */ bl sub_801a78dc +lbl_80292154: +/* 80292154 0028F0B4 38 7E 09 F0 */ addi r3, r30, 0x9f0 +/* 80292158 0028F0B8 38 80 FF FF */ li r4, -1 +/* 8029215C 0028F0BC 48 0C 11 21 */ bl __dt__13CSkinnedModelFv +/* 80292160 0028F0C0 38 7E 09 DC */ addi r3, r30, 0x9dc +/* 80292164 0028F0C4 38 80 FF FF */ li r4, -1 +/* 80292168 0028F0C8 4B FF FC F1 */ bl sub_80291e58 +/* 8029216C 0028F0CC 38 7E 09 B8 */ addi r3, r30, 0x9b8 +/* 80292170 0028F0D0 38 80 FF FF */ li r4, -1 +/* 80292174 0028F0D4 4B FF FC E5 */ bl sub_80291e58 +/* 80292178 0028F0D8 38 7E 09 A4 */ addi r3, r30, 0x9a4 +/* 8029217C 0028F0DC 38 80 FF FF */ li r4, -1 +/* 80292180 0028F0E0 4B FF FD 8D */ bl sub_80291f0c +/* 80292184 0028F0E4 7F C3 F3 78 */ mr r3, r30 +/* 80292188 0028F0E8 38 80 00 00 */ li r4, 0 +/* 8029218C 0028F0EC 4B F9 B3 6D */ bl __dt__12CElitePirateFv +/* 80292190 0028F0F0 7F E0 07 35 */ extsh. r0, r31 +/* 80292194 0028F0F4 40 81 00 0C */ ble lbl_802921A0 +/* 80292198 0028F0F8 7F C3 F3 78 */ mr r3, r30 +/* 8029219C 0028F0FC 48 08 37 95 */ bl Free__7CMemoryFPCv +lbl_802921A0: +/* 802921A0 0028F100 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802921A4 0028F104 7F C3 F3 78 */ mr r3, r30 +/* 802921A8 0028F108 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802921AC 0028F10C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802921B0 0028F110 7C 08 03 A6 */ mtlr r0 +/* 802921B4 0028F114 38 21 00 30 */ addi r1, r1, 0x30 +/* 802921B8 0028F118 4E 80 00 20 */ blr + +.global sub_802921bc +sub_802921bc: +/* 802921BC 0028F11C 38 60 00 00 */ li r3, 0 +/* 802921C0 0028F120 4E 80 00 20 */ blr + +.global sub_802921c4 +sub_802921c4: +/* 802921C4 0028F124 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802921C8 0028F128 7C 08 02 A6 */ mflr r0 +/* 802921CC 0028F12C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802921D0 0028F130 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802921D4 0028F134 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802921D8 0028F138 7C 9E 23 78 */ mr r30, r4 +/* 802921DC 0028F13C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802921E0 0028F140 7C 7D 1B 78 */ mr r29, r3 +/* 802921E4 0028F144 80 03 00 08 */ lwz r0, 8(r3) +/* 802921E8 0028F148 7C 1E 00 00 */ cmpw r30, r0 +/* 802921EC 0028F14C 40 81 00 90 */ ble lbl_8029227C +/* 802921F0 0028F150 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 802921F4 0028F154 2C 03 00 00 */ cmpwi r3, 0 +/* 802921F8 0028F158 40 82 00 0C */ bne lbl_80292204 +/* 802921FC 0028F15C 3B E0 00 00 */ li r31, 0 +/* 80292200 0028F160 48 00 00 1C */ b lbl_8029221C +lbl_80292204: +/* 80292204 0028F164 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80292208 0028F168 38 A0 00 00 */ li r5, 0 +/* 8029220C 0028F16C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 80292210 0028F170 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80292214 0028F174 48 08 36 05 */ bl __nwa__FUlPCcPCc +/* 80292218 0028F178 7C 7F 1B 78 */ mr r31, r3 +lbl_8029221C: +/* 8029221C 0028F17C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80292220 0028F180 7F E5 FB 78 */ mr r5, r31 +/* 80292224 0028F184 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80292228 0028F188 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029222C 0028F18C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80292230 0028F190 38 81 00 0C */ addi r4, r1, 0xc +/* 80292234 0028F194 7C C6 02 14 */ add r6, r6, r0 +/* 80292238 0028F198 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8029223C 0028F19C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80292240 0028F1A0 90 C1 00 08 */ stw r6, 8(r1) +/* 80292244 0028F1A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80292248 0028F1A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029224C 0028F1AC 48 00 00 99 */ bl sub_802922e4 +/* 80292250 0028F1B0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80292254 0028F1B4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80292258 0028F1B8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029225C 0028F1BC 7C 83 02 14 */ add r4, r3, r0 +/* 80292260 0028F1C0 48 00 00 39 */ bl sub_80292298 +/* 80292264 0028F1C4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80292268 0028F1C8 28 03 00 00 */ cmplwi r3, 0 +/* 8029226C 0028F1CC 41 82 00 08 */ beq lbl_80292274 +/* 80292270 0028F1D0 48 08 36 C1 */ bl Free__7CMemoryFPCv +lbl_80292274: +/* 80292274 0028F1D4 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80292278 0028F1D8 93 DD 00 08 */ stw r30, 8(r29) +lbl_8029227C: +/* 8029227C 0028F1DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80292280 0028F1E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80292284 0028F1E4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80292288 0028F1E8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8029228C 0028F1EC 7C 08 03 A6 */ mtlr r0 +/* 80292290 0028F1F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80292294 0028F1F4 4E 80 00 20 */ blr + +.global sub_80292298 +sub_80292298: +/* 80292298 0028F1F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029229C 0028F1FC 7C 08 02 A6 */ mflr r0 +/* 802922A0 0028F200 90 01 00 14 */ stw r0, 0x14(r1) +/* 802922A4 0028F204 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802922A8 0028F208 7C 7F 1B 78 */ mr r31, r3 +/* 802922AC 0028F20C 93 C1 00 08 */ stw r30, 8(r1) +/* 802922B0 0028F210 7C 9E 23 78 */ mr r30, r4 +/* 802922B4 0028F214 48 00 00 10 */ b lbl_802922C4 +lbl_802922B8: +/* 802922B8 0028F218 7F E3 FB 78 */ mr r3, r31 +/* 802922BC 0028F21C 4B FF FD 2D */ bl sub_80291fe8 +/* 802922C0 0028F220 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_802922C4: +/* 802922C4 0028F224 7C 1F F0 40 */ cmplw r31, r30 +/* 802922C8 0028F228 40 82 FF F0 */ bne lbl_802922B8 +/* 802922CC 0028F22C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802922D0 0028F230 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802922D4 0028F234 83 C1 00 08 */ lwz r30, 8(r1) +/* 802922D8 0028F238 7C 08 03 A6 */ mtlr r0 +/* 802922DC 0028F23C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802922E0 0028F240 4E 80 00 20 */ blr + +.global sub_802922e4 +sub_802922e4: +/* 802922E4 0028F244 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802922E8 0028F248 7C 08 02 A6 */ mflr r0 +/* 802922EC 0028F24C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802922F0 0028F250 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802922F4 0028F254 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802922F8 0028F258 7C BE 2B 78 */ mr r30, r5 +/* 802922FC 0028F25C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80292300 0028F260 7C 9D 23 78 */ mr r29, r4 +/* 80292304 0028F264 83 E3 00 00 */ lwz r31, 0(r3) +/* 80292308 0028F268 48 00 00 B4 */ b lbl_802923BC +lbl_8029230C: +/* 8029230C 0028F26C 28 1E 00 00 */ cmplwi r30, 0 +/* 80292310 0028F270 41 82 00 A4 */ beq lbl_802923B4 +/* 80292314 0028F274 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80292318 0028F278 B0 1E 00 00 */ sth r0, 0(r30) +/* 8029231C 0028F27C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80292320 0028F280 90 1E 00 08 */ stw r0, 8(r30) +/* 80292324 0028F284 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80292328 0028F288 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8029232C 0028F28C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80292330 0028F290 2C 00 00 00 */ cmpwi r0, 0 +/* 80292334 0028F294 40 82 00 1C */ bne lbl_80292350 +/* 80292338 0028F298 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029233C 0028F29C 2C 00 00 00 */ cmpwi r0, 0 +/* 80292340 0028F2A0 40 82 00 10 */ bne lbl_80292350 +/* 80292344 0028F2A4 38 00 00 00 */ li r0, 0 +/* 80292348 0028F2A8 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8029234C 0028F2AC 48 00 00 68 */ b lbl_802923B4 +lbl_80292350: +/* 80292350 0028F2B0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80292354 0028F2B4 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 80292358 0028F2B8 40 82 00 10 */ bne lbl_80292368 +/* 8029235C 0028F2BC 38 00 00 00 */ li r0, 0 +/* 80292360 0028F2C0 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80292364 0028F2C4 48 00 00 1C */ b lbl_80292380 +lbl_80292368: +/* 80292368 0028F2C8 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8029236C 0028F2CC 38 A0 00 00 */ li r5, 0 +/* 80292370 0028F2D0 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 80292374 0028F2D4 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80292378 0028F2D8 48 08 34 A1 */ bl __nwa__FUlPCcPCc +/* 8029237C 0028F2DC 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_80292380: +/* 80292380 0028F2E0 80 1E 00 08 */ lwz r0, 8(r30) +/* 80292384 0028F2E4 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80292388 0028F2E8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8029238C 0028F2EC 7C 09 03 A6 */ mtctr r0 +/* 80292390 0028F2F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80292394 0028F2F4 40 81 00 20 */ ble lbl_802923B4 +lbl_80292398: +/* 80292398 0028F2F8 28 03 00 00 */ cmplwi r3, 0 +/* 8029239C 0028F2FC 41 82 00 0C */ beq lbl_802923A8 +/* 802923A0 0028F300 A0 04 00 00 */ lhz r0, 0(r4) +/* 802923A4 0028F304 B0 03 00 00 */ sth r0, 0(r3) +lbl_802923A8: +/* 802923A8 0028F308 38 63 00 02 */ addi r3, r3, 2 +/* 802923AC 0028F30C 38 84 00 02 */ addi r4, r4, 2 +/* 802923B0 0028F310 42 00 FF E8 */ bdnz lbl_80292398 +lbl_802923B4: +/* 802923B4 0028F314 3B DE 00 14 */ addi r30, r30, 0x14 +/* 802923B8 0028F318 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_802923BC: +/* 802923BC 0028F31C 80 1D 00 00 */ lwz r0, 0(r29) +/* 802923C0 0028F320 7C 1F 00 40 */ cmplw r31, r0 +/* 802923C4 0028F324 40 82 FF 48 */ bne lbl_8029230C +/* 802923C8 0028F328 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802923CC 0028F32C 7F C3 F3 78 */ mr r3, r30 +/* 802923D0 0028F330 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802923D4 0028F334 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802923D8 0028F338 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802923DC 0028F33C 7C 08 03 A6 */ mtlr r0 +/* 802923E0 0028F340 38 21 00 20 */ addi r1, r1, 0x20 +/* 802923E4 0028F344 4E 80 00 20 */ blr + +.global sub_802923e8 +sub_802923e8: +/* 802923E8 0028F348 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802923EC 0028F34C 7C 08 02 A6 */ mflr r0 +/* 802923F0 0028F350 90 01 00 34 */ stw r0, 0x34(r1) +/* 802923F4 0028F354 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802923F8 0028F358 7C 9F 23 78 */ mr r31, r4 +/* 802923FC 0028F35C 7C 7E 1B 78 */ mr r30, r3 +/* 80292400 0028F360 80 03 00 08 */ lwz r0, 8(r3) +/* 80292404 0028F364 7C 1F 00 00 */ cmpw r31, r0 +/* 80292408 0028F368 40 81 00 D4 */ ble lbl_802924DC +/* 8029240C 0028F36C 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 80292410 0028F370 2C 03 00 00 */ cmpwi r3, 0 +/* 80292414 0028F374 40 82 00 0C */ bne lbl_80292420 +/* 80292418 0028F378 3B 80 00 00 */ li r28, 0 +/* 8029241C 0028F37C 48 00 00 1C */ b lbl_80292438 +lbl_80292420: +/* 80292420 0028F380 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80292424 0028F384 38 A0 00 00 */ li r5, 0 +/* 80292428 0028F388 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8029242C 0028F38C 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80292430 0028F390 48 08 33 E9 */ bl __nwa__FUlPCcPCc +/* 80292434 0028F394 7C 7C 1B 78 */ mr r28, r3 +lbl_80292438: +/* 80292438 0028F398 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029243C 0028F39C 7F 9B E3 78 */ mr r27, r28 +/* 80292440 0028F3A0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80292444 0028F3A4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80292448 0028F3A8 93 41 00 10 */ stw r26, 0x10(r1) +/* 8029244C 0028F3AC 7F BA 02 14 */ add r29, r26, r0 +/* 80292450 0028F3B0 93 41 00 14 */ stw r26, 0x14(r1) +/* 80292454 0028F3B4 93 A1 00 08 */ stw r29, 8(r1) +/* 80292458 0028F3B8 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8029245C 0028F3BC 48 00 00 28 */ b lbl_80292484 +lbl_80292460: +/* 80292460 0028F3C0 28 1B 00 00 */ cmplwi r27, 0 +/* 80292464 0028F3C4 41 82 00 18 */ beq lbl_8029247C +/* 80292468 0028F3C8 A0 1A 00 00 */ lhz r0, 0(r26) +/* 8029246C 0028F3CC 38 7B 00 04 */ addi r3, r27, 4 +/* 80292470 0028F3D0 38 9A 00 04 */ addi r4, r26, 4 +/* 80292474 0028F3D4 B0 1B 00 00 */ sth r0, 0(r27) +/* 80292478 0028F3D8 48 0A BC E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8029247C: +/* 8029247C 0028F3DC 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 80292480 0028F3E0 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_80292484: +/* 80292484 0028F3E4 7C 1A E8 40 */ cmplw r26, r29 +/* 80292488 0028F3E8 40 82 FF D8 */ bne lbl_80292460 +/* 8029248C 0028F3EC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80292490 0028F3F0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80292494 0028F3F4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80292498 0028F3F8 7F 7A 02 14 */ add r27, r26, r0 +/* 8029249C 0028F3FC 48 00 00 20 */ b lbl_802924BC +lbl_802924A0: +/* 802924A0 0028F400 28 1A 00 00 */ cmplwi r26, 0 +/* 802924A4 0028F404 41 82 00 14 */ beq lbl_802924B8 +/* 802924A8 0028F408 34 1A 00 04 */ addic. r0, r26, 4 +/* 802924AC 0028F40C 41 82 00 0C */ beq lbl_802924B8 +/* 802924B0 0028F410 38 7A 00 04 */ addi r3, r26, 4 +/* 802924B4 0028F414 48 0A B6 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802924B8: +/* 802924B8 0028F418 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802924BC: +/* 802924BC 0028F41C 7C 1A D8 40 */ cmplw r26, r27 +/* 802924C0 0028F420 40 82 FF E0 */ bne lbl_802924A0 +/* 802924C4 0028F424 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802924C8 0028F428 28 03 00 00 */ cmplwi r3, 0 +/* 802924CC 0028F42C 41 82 00 08 */ beq lbl_802924D4 +/* 802924D0 0028F430 48 08 34 61 */ bl Free__7CMemoryFPCv +lbl_802924D4: +/* 802924D4 0028F434 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802924D8 0028F438 93 FE 00 08 */ stw r31, 8(r30) +lbl_802924DC: +/* 802924DC 0028F43C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802924E0 0028F440 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802924E4 0028F444 7C 08 03 A6 */ mtlr r0 +/* 802924E8 0028F448 38 21 00 30 */ addi r1, r1, 0x30 +/* 802924EC 0028F44C 4E 80 00 20 */ blr + +.global sub_802924f0 +sub_802924f0: +/* 802924F0 0028F450 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802924F4 0028F454 7C 08 02 A6 */ mflr r0 +/* 802924F8 0028F458 90 01 00 34 */ stw r0, 0x34(r1) +/* 802924FC 0028F45C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80292500 0028F460 7C 9F 23 78 */ mr r31, r4 +/* 80292504 0028F464 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80292508 0028F468 7C 7E 1B 78 */ mr r30, r3 +/* 8029250C 0028F46C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80292510 0028F470 80 03 00 08 */ lwz r0, 8(r3) +/* 80292514 0028F474 7C 1F 00 00 */ cmpw r31, r0 +/* 80292518 0028F478 40 81 00 AC */ ble lbl_802925C4 +/* 8029251C 0028F47C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80292520 0028F480 40 82 00 0C */ bne lbl_8029252C +/* 80292524 0028F484 3B A0 00 00 */ li r29, 0 +/* 80292528 0028F488 48 00 00 1C */ b lbl_80292544 +lbl_8029252C: +/* 8029252C 0028F48C 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80292530 0028F490 38 A0 00 00 */ li r5, 0 +/* 80292534 0028F494 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 80292538 0028F498 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8029253C 0028F49C 48 08 32 DD */ bl __nwa__FUlPCcPCc +/* 80292540 0028F4A0 7C 7D 1B 78 */ mr r29, r3 +lbl_80292544: +/* 80292544 0028F4A4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80292548 0028F4A8 7F A4 EB 78 */ mr r4, r29 +/* 8029254C 0028F4AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80292550 0028F4B0 54 00 10 3A */ slwi r0, r0, 2 +/* 80292554 0028F4B4 7C 65 02 14 */ add r3, r5, r0 +/* 80292558 0028F4B8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8029255C 0028F4BC 90 61 00 08 */ stw r3, 8(r1) +/* 80292560 0028F4C0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80292564 0028F4C4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80292568 0028F4C8 48 00 00 1C */ b lbl_80292584 +lbl_8029256C: +/* 8029256C 0028F4CC 28 04 00 00 */ cmplwi r4, 0 +/* 80292570 0028F4D0 41 82 00 0C */ beq lbl_8029257C +/* 80292574 0028F4D4 80 05 00 00 */ lwz r0, 0(r5) +/* 80292578 0028F4D8 90 04 00 00 */ stw r0, 0(r4) +lbl_8029257C: +/* 8029257C 0028F4DC 38 84 00 04 */ addi r4, r4, 4 +/* 80292580 0028F4E0 38 A5 00 04 */ addi r5, r5, 4 +lbl_80292584: +/* 80292584 0028F4E4 7C 05 18 40 */ cmplw r5, r3 +/* 80292588 0028F4E8 40 82 FF E4 */ bne lbl_8029256C +/* 8029258C 0028F4EC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80292590 0028F4F0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80292594 0028F4F4 54 00 10 3A */ slwi r0, r0, 2 +/* 80292598 0028F4F8 7C 64 1B 78 */ mr r4, r3 +/* 8029259C 0028F4FC 7C 03 02 14 */ add r0, r3, r0 +/* 802925A0 0028F500 48 00 00 08 */ b lbl_802925A8 +lbl_802925A4: +/* 802925A4 0028F504 38 84 00 04 */ addi r4, r4, 4 +lbl_802925A8: +/* 802925A8 0028F508 7C 04 00 40 */ cmplw r4, r0 +/* 802925AC 0028F50C 40 82 FF F8 */ bne lbl_802925A4 +/* 802925B0 0028F510 28 03 00 00 */ cmplwi r3, 0 +/* 802925B4 0028F514 41 82 00 08 */ beq lbl_802925BC +/* 802925B8 0028F518 48 08 33 79 */ bl Free__7CMemoryFPCv +lbl_802925BC: +/* 802925BC 0028F51C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802925C0 0028F520 93 FE 00 08 */ stw r31, 8(r30) +lbl_802925C4: +/* 802925C4 0028F524 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802925C8 0028F528 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802925CC 0028F52C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802925D0 0028F530 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802925D4 0028F534 7C 08 03 A6 */ mtlr r0 +/* 802925D8 0028F538 38 21 00 30 */ addi r1, r1, 0x30 +/* 802925DC 0028F53C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s b/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s new file mode 100644 index 00000000..a80c527b --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s @@ -0,0 +1,1003 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__20CPhazonHealingNoduleFv +__dt__20CPhazonHealingNoduleFv: +/* 80294D50 00291CB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294D54 00291CB4 7C 08 02 A6 */ mflr r0 +/* 80294D58 00291CB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294D5C 00291CBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80294D60 00291CC0 7C 9F 23 78 */ mr r31, r4 +/* 80294D64 00291CC4 93 C1 00 08 */ stw r30, 8(r1) +/* 80294D68 00291CC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80294D6C 00291CCC 41 82 00 70 */ beq lbl_80294DDC +/* 80294D70 00291CD0 3C 60 80 3F */ lis r3, lbl_803EBC70@ha +/* 80294D74 00291CD4 34 1E 05 8C */ addic. r0, r30, 0x58c +/* 80294D78 00291CD8 38 03 BC 70 */ addi r0, r3, lbl_803EBC70@l +/* 80294D7C 00291CDC 90 1E 00 00 */ stw r0, 0(r30) +/* 80294D80 00291CE0 41 82 00 0C */ beq lbl_80294D8C +/* 80294D84 00291CE4 38 7E 05 8C */ addi r3, r30, 0x58c +/* 80294D88 00291CE8 48 0A 8D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80294D8C: +/* 80294D8C 00291CEC 34 1E 05 7C */ addic. r0, r30, 0x57c +/* 80294D90 00291CF0 41 82 00 14 */ beq lbl_80294DA4 +/* 80294D94 00291CF4 34 1E 05 7C */ addic. r0, r30, 0x57c +/* 80294D98 00291CF8 41 82 00 0C */ beq lbl_80294DA4 +/* 80294D9C 00291CFC 38 7E 05 7C */ addi r3, r30, 0x57c +/* 80294DA0 00291D00 48 00 0D 31 */ bl sub_80295ad0 +lbl_80294DA4: +/* 80294DA4 00291D04 34 1E 05 70 */ addic. r0, r30, 0x570 +/* 80294DA8 00291D08 41 82 00 18 */ beq lbl_80294DC0 +/* 80294DAC 00291D0C 34 1E 05 70 */ addic. r0, r30, 0x570 +/* 80294DB0 00291D10 41 82 00 10 */ beq lbl_80294DC0 +/* 80294DB4 00291D14 38 7E 05 70 */ addi r3, r30, 0x570 +/* 80294DB8 00291D18 38 80 00 00 */ li r4, 0 +/* 80294DBC 00291D1C 48 0A C0 85 */ bl __dt__6CTokenFv +lbl_80294DC0: +/* 80294DC0 00291D20 7F C3 F3 78 */ mr r3, r30 +/* 80294DC4 00291D24 38 80 00 00 */ li r4, 0 +/* 80294DC8 00291D28 4B DE 27 A9 */ bl __dt__10CPatternedFv +/* 80294DCC 00291D2C 7F E0 07 35 */ extsh. r0, r31 +/* 80294DD0 00291D30 40 81 00 0C */ ble lbl_80294DDC +/* 80294DD4 00291D34 7F C3 F3 78 */ mr r3, r30 +/* 80294DD8 00291D38 48 08 0B 59 */ bl Free__7CMemoryFPCv +lbl_80294DDC: +/* 80294DDC 00291D3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294DE0 00291D40 7F C3 F3 78 */ mr r3, r30 +/* 80294DE4 00291D44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80294DE8 00291D48 83 C1 00 08 */ lwz r30, 8(r1) +/* 80294DEC 00291D4C 7C 08 03 A6 */ mtlr r0 +/* 80294DF0 00291D50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294DF4 00291D54 4E 80 00 20 */ blr + +.global KnockBack__20CPhazonHealingNoduleFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +KnockBack__20CPhazonHealingNoduleFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: +/* 80294DF8 00291D58 4E 80 00 20 */ blr + +.global sub_80294dfc +sub_80294dfc: +/* 80294DFC 00291D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294E00 00291D60 7C 08 02 A6 */ mflr r0 +/* 80294E04 00291D64 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80294E08 00291D68 38 C0 00 0E */ li r6, 0xe +/* 80294E0C 00291D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294E10 00291D70 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 80294E14 00291D74 81 83 00 00 */ lwz r12, 0(r3) +/* 80294E18 00291D78 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 80294E1C 00291D7C 7D 89 03 A6 */ mtctr r12 +/* 80294E20 00291D80 4E 80 04 21 */ bctrl +/* 80294E24 00291D84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294E28 00291D88 7C 08 03 A6 */ mtlr r0 +/* 80294E2C 00291D8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294E30 00291D90 4E 80 00 20 */ blr + +.global sub_80294e34 +sub_80294e34: +/* 80294E34 00291D94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294E38 00291D98 7C 08 02 A6 */ mflr r0 +/* 80294E3C 00291D9C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80294E40 00291DA0 38 C0 00 0E */ li r6, 0xe +/* 80294E44 00291DA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294E48 00291DA8 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 80294E4C 00291DAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80294E50 00291DB0 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 80294E54 00291DB4 7D 89 03 A6 */ mtctr r12 +/* 80294E58 00291DB8 4E 80 04 21 */ bctrl +/* 80294E5C 00291DBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294E60 00291DC0 7C 08 03 A6 */ mtlr r0 +/* 80294E64 00291DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294E68 00291DC8 4E 80 00 20 */ blr + +.global sub_80294e6c +sub_80294e6c: +/* 80294E6C 00291DCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294E70 00291DD0 7C 08 02 A6 */ mflr r0 +/* 80294E74 00291DD4 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80294E78 00291DD8 38 C0 00 0E */ li r6, 0xe +/* 80294E7C 00291DDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294E80 00291DE0 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 80294E84 00291DE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80294E88 00291DE8 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 80294E8C 00291DEC 7D 89 03 A6 */ mtctr r12 +/* 80294E90 00291DF0 4E 80 04 21 */ bctrl +/* 80294E94 00291DF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294E98 00291DF8 7C 08 03 A6 */ mtlr r0 +/* 80294E9C 00291DFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294EA0 00291E00 4E 80 00 20 */ blr + +.global Death__20CPhazonHealingNoduleFRC9CVector3fR13CStateManager +Death__20CPhazonHealingNoduleFRC9CVector3fR13CStateManager: +/* 80294EA4 00291E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294EA8 00291E08 7C 08 02 A6 */ mflr r0 +/* 80294EAC 00291E0C 38 C0 FF FF */ li r6, -1 +/* 80294EB0 00291E10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294EB4 00291E14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80294EB8 00291E18 7C 9F 23 78 */ mr r31, r4 +/* 80294EBC 00291E1C 7F E5 FB 78 */ mr r5, r31 +/* 80294EC0 00291E20 38 80 00 0E */ li r4, 0xe +/* 80294EC4 00291E24 93 C1 00 08 */ stw r30, 8(r1) +/* 80294EC8 00291E28 7C 7E 1B 78 */ mr r30, r3 +/* 80294ECC 00291E2C 4B DB C1 F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80294ED0 00291E30 7F C3 F3 78 */ mr r3, r30 +/* 80294ED4 00291E34 7F E5 FB 78 */ mr r5, r31 +/* 80294ED8 00291E38 38 80 00 14 */ li r4, 0x14 +/* 80294EDC 00291E3C 38 C0 FF FF */ li r6, -1 +/* 80294EE0 00291E40 4B DB C1 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80294EE4 00291E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294EE8 00291E48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80294EEC 00291E4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80294EF0 00291E50 7C 08 03 A6 */ mtlr r0 +/* 80294EF4 00291E54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294EF8 00291E58 4E 80 00 20 */ blr + +.global sub_80294efc +sub_80294efc: +/* 80294EFC 00291E5C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80294F00 00291E60 7C 08 02 A6 */ mflr r0 +/* 80294F04 00291E64 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80294F08 00291E68 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80294F0C 00291E6C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80294F10 00291E70 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80294F14 00291E74 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80294F18 00291E78 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80294F1C 00291E7C F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80294F20 00291E80 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80294F24 00291E84 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80294F28 00291E88 7C 7E 1B 78 */ mr r30, r3 +/* 80294F2C 00291E8C 80 63 05 7C */ lwz r3, 0x57c(r3) +/* 80294F30 00291E90 80 03 00 00 */ lwz r0, 0(r3) +/* 80294F34 00291E94 28 00 00 00 */ cmplwi r0, 0 +/* 80294F38 00291E98 41 82 00 F0 */ beq lbl_80295028 +/* 80294F3C 00291E9C A0 1E 05 6E */ lhz r0, 0x56e(r30) +/* 80294F40 00291EA0 7C 83 23 78 */ mr r3, r4 +/* 80294F44 00291EA4 38 81 00 08 */ addi r4, r1, 8 +/* 80294F48 00291EA8 B0 01 00 08 */ sth r0, 8(r1) +/* 80294F4C 00291EAC 4B DB 76 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80294F50 00291EB0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80294F54 00291EB4 41 82 00 D4 */ beq lbl_80295028 +/* 80294F58 00291EB8 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha +/* 80294F5C 00291EBC 38 61 00 0C */ addi r3, r1, 0xc +/* 80294F60 00291EC0 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l +/* 80294F64 00291EC4 4B D6 FD 55 */ bl string_l__4rstlFPCc +/* 80294F68 00291EC8 7F C4 F3 78 */ mr r4, r30 +/* 80294F6C 00291ECC 38 61 00 4C */ addi r3, r1, 0x4c +/* 80294F70 00291ED0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80294F74 00291ED4 4B DE 3A 05 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80294F78 00291ED8 C3 A1 00 78 */ lfs f29, 0x78(r1) +/* 80294F7C 00291EDC 38 61 00 0C */ addi r3, r1, 0xc +/* 80294F80 00291EE0 C3 C1 00 68 */ lfs f30, 0x68(r1) +/* 80294F84 00291EE4 C3 E1 00 58 */ lfs f31, 0x58(r1) +/* 80294F88 00291EE8 48 0A 8B 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80294F8C 00291EEC 7F E4 FB 78 */ mr r4, r31 +/* 80294F90 00291EF0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80294F94 00291EF4 38 BE 05 8C */ addi r5, r30, 0x58c +/* 80294F98 00291EF8 4B DE 39 E1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80294F9C 00291EFC 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 80294FA0 00291F00 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80294FA4 00291F04 80 63 00 00 */ lwz r3, 0(r3) +/* 80294FA8 00291F08 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80294FAC 00291F0C 88 03 01 84 */ lbz r0, 0x184(r3) +/* 80294FB0 00291F10 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80294FB4 00291F14 28 00 00 00 */ cmplwi r0, 0 +/* 80294FB8 00291F18 40 82 00 24 */ bne lbl_80294FDC +/* 80294FBC 00291F1C 34 83 01 78 */ addic. r4, r3, 0x178 +/* 80294FC0 00291F20 41 82 00 10 */ beq lbl_80294FD0 +/* 80294FC4 00291F24 D3 E4 00 00 */ stfs f31, 0(r4) +/* 80294FC8 00291F28 D3 C4 00 04 */ stfs f30, 4(r4) +/* 80294FCC 00291F2C D3 A4 00 08 */ stfs f29, 8(r4) +lbl_80294FD0: +/* 80294FD0 00291F30 38 00 00 01 */ li r0, 1 +/* 80294FD4 00291F34 98 03 01 84 */ stb r0, 0x184(r3) +/* 80294FD8 00291F38 48 00 00 10 */ b lbl_80294FE8 +lbl_80294FDC: +/* 80294FDC 00291F3C D3 E3 01 78 */ stfs f31, 0x178(r3) +/* 80294FE0 00291F40 D3 C3 01 7C */ stfs f30, 0x17c(r3) +/* 80294FE4 00291F44 D3 A3 01 80 */ stfs f29, 0x180(r3) +lbl_80294FE8: +/* 80294FE8 00291F48 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 80294FEC 00291F4C 80 63 00 00 */ lwz r3, 0(r3) +/* 80294FF0 00291F50 88 03 01 A4 */ lbz r0, 0x1a4(r3) +/* 80294FF4 00291F54 28 00 00 00 */ cmplwi r0, 0 +/* 80294FF8 00291F58 40 82 00 24 */ bne lbl_8029501C +/* 80294FFC 00291F5C 34 83 01 98 */ addic. r4, r3, 0x198 +/* 80295000 00291F60 41 82 00 10 */ beq lbl_80295010 +/* 80295004 00291F64 D0 04 00 00 */ stfs f0, 0(r4) +/* 80295008 00291F68 D0 24 00 04 */ stfs f1, 4(r4) +/* 8029500C 00291F6C D0 44 00 08 */ stfs f2, 8(r4) +lbl_80295010: +/* 80295010 00291F70 38 00 00 01 */ li r0, 1 +/* 80295014 00291F74 98 03 01 A4 */ stb r0, 0x1a4(r3) +/* 80295018 00291F78 48 00 00 10 */ b lbl_80295028 +lbl_8029501C: +/* 8029501C 00291F7C D0 03 01 98 */ stfs f0, 0x198(r3) +/* 80295020 00291F80 D0 23 01 9C */ stfs f1, 0x19c(r3) +/* 80295024 00291F84 D0 43 01 A0 */ stfs f2, 0x1a0(r3) +lbl_80295028: +/* 80295028 00291F88 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8029502C 00291F8C CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80295030 00291F90 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80295034 00291F94 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80295038 00291F98 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8029503C 00291F9C CB A1 00 90 */ lfd f29, 0x90(r1) +/* 80295040 00291FA0 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80295044 00291FA4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80295048 00291FA8 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8029504C 00291FAC 7C 08 03 A6 */ mtlr r0 +/* 80295050 00291FB0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80295054 00291FB4 4E 80 00 20 */ blr + +.global sub_80295058 +sub_80295058: +/* 80295058 00291FB8 80 03 05 88 */ lwz r0, 0x588(r3) +/* 8029505C 00291FBC 20 00 00 03 */ subfic r0, r0, 3 +/* 80295060 00291FC0 7C 00 00 34 */ cntlzw r0, r0 +/* 80295064 00291FC4 54 03 D9 7E */ srwi r3, r0, 5 +/* 80295068 00291FC8 4E 80 00 20 */ blr + +.global Faint__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Faint__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 8029506C 00291FCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80295070 00291FD0 7C 08 02 A6 */ mflr r0 +/* 80295074 00291FD4 2C 05 00 01 */ cmpwi r5, 1 +/* 80295078 00291FD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029507C 00291FDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80295080 00291FE0 41 82 00 24 */ beq lbl_802950A4 +/* 80295084 00291FE4 40 80 00 F8 */ bge lbl_8029517C +/* 80295088 00291FE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8029508C 00291FEC 40 80 00 0C */ bge lbl_80295098 +/* 80295090 00291FF0 48 00 00 EC */ b lbl_8029517C +/* 80295094 00291FF4 48 00 00 E8 */ b lbl_8029517C +lbl_80295098: +/* 80295098 00291FF8 38 00 00 00 */ li r0, 0 +/* 8029509C 00291FFC 90 03 05 88 */ stw r0, 0x588(r3) +/* 802950A0 00292000 48 00 00 DC */ b lbl_8029517C +lbl_802950A4: +/* 802950A4 00292004 80 03 05 88 */ lwz r0, 0x588(r3) +/* 802950A8 00292008 2C 00 00 01 */ cmpwi r0, 1 +/* 802950AC 0029200C 41 82 00 D0 */ beq lbl_8029517C +/* 802950B0 00292010 40 80 00 10 */ bge lbl_802950C0 +/* 802950B4 00292014 2C 00 00 00 */ cmpwi r0, 0 +/* 802950B8 00292018 40 80 00 14 */ bge lbl_802950CC +/* 802950BC 0029201C 48 00 00 C0 */ b lbl_8029517C +lbl_802950C0: +/* 802950C0 00292020 2C 00 00 03 */ cmpwi r0, 3 +/* 802950C4 00292024 40 80 00 B8 */ bge lbl_8029517C +/* 802950C8 00292028 48 00 00 9C */ b lbl_80295164 +lbl_802950CC: +/* 802950CC 0029202C 80 83 04 50 */ lwz r4, 0x450(r3) +/* 802950D0 00292030 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 802950D4 00292034 2C 00 00 03 */ cmpwi r0, 3 +/* 802950D8 00292038 40 82 00 1C */ bne lbl_802950F4 +/* 802950DC 0029203C 38 00 00 02 */ li r0, 2 +/* 802950E0 00292040 38 80 00 01 */ li r4, 1 +/* 802950E4 00292044 90 03 05 88 */ stw r0, 0x588(r3) +/* 802950E8 00292048 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802950EC 0029204C 4B EA 58 ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802950F0 00292050 48 00 00 8C */ b lbl_8029517C +lbl_802950F4: +/* 802950F4 00292054 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802950F8 00292058 38 C0 00 01 */ li r6, 1 +/* 802950FC 0029205C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80295100 00292060 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80295104 00292064 90 01 00 08 */ stw r0, 8(r1) +/* 80295108 00292068 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8029510C 0029206C 38 00 00 00 */ li r0, 0 +/* 80295110 00292070 3B E4 00 04 */ addi r31, r4, 4 +/* 80295114 00292074 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80295118 00292078 7F E3 FB 78 */ mr r3, r31 +/* 8029511C 0029207C 38 80 00 01 */ li r4, 1 +/* 80295120 00292080 90 A1 00 08 */ stw r5, 8(r1) +/* 80295124 00292084 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80295128 00292088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029512C 0029208C 4B E9 C3 0D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80295130 00292090 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80295134 00292094 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80295138 00292098 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8029513C 0029209C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80295140 002920A0 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 80295144 002920A4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80295148 002920A8 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8029514C 002920AC 90 81 00 08 */ stw r4, 8(r1) +/* 80295150 002920B0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80295154 002920B4 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 80295158 002920B8 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8029515C 002920BC 90 01 00 08 */ stw r0, 8(r1) +/* 80295160 002920C0 48 00 00 1C */ b lbl_8029517C +lbl_80295164: +/* 80295164 002920C4 80 83 04 50 */ lwz r4, 0x450(r3) +/* 80295168 002920C8 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8029516C 002920CC 2C 00 00 03 */ cmpwi r0, 3 +/* 80295170 002920D0 41 82 00 0C */ beq lbl_8029517C +/* 80295174 002920D4 38 00 00 03 */ li r0, 3 +/* 80295178 002920D8 90 03 05 88 */ stw r0, 0x588(r3) +lbl_8029517C: +/* 8029517C 002920DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80295180 002920E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80295184 002920E4 7C 08 03 A6 */ mtlr r0 +/* 80295188 002920E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029518C 002920EC 4E 80 00 20 */ blr + +.global Growth__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Growth__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 80295190 002920F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80295194 002920F4 7C 08 02 A6 */ mflr r0 +/* 80295198 002920F8 2C 05 00 01 */ cmpwi r5, 1 +/* 8029519C 002920FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802951A0 00292100 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802951A4 00292104 41 82 00 30 */ beq lbl_802951D4 +/* 802951A8 00292108 40 80 00 F8 */ bge lbl_802952A0 +/* 802951AC 0029210C 2C 05 00 00 */ cmpwi r5, 0 +/* 802951B0 00292110 40 80 00 0C */ bge lbl_802951BC +/* 802951B4 00292114 48 00 00 EC */ b lbl_802952A0 +/* 802951B8 00292118 48 00 00 E8 */ b lbl_802952A0 +lbl_802951BC: +/* 802951BC 0029211C 38 00 00 00 */ li r0, 0 +/* 802951C0 00292120 38 80 00 02 */ li r4, 2 +/* 802951C4 00292124 90 03 05 88 */ stw r0, 0x588(r3) +/* 802951C8 00292128 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802951CC 0029212C 4B EA 58 0D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802951D0 00292130 48 00 00 D0 */ b lbl_802952A0 +lbl_802951D4: +/* 802951D4 00292134 80 03 05 88 */ lwz r0, 0x588(r3) +/* 802951D8 00292138 2C 00 00 01 */ cmpwi r0, 1 +/* 802951DC 0029213C 41 82 00 C4 */ beq lbl_802952A0 +/* 802951E0 00292140 40 80 00 10 */ bge lbl_802951F0 +/* 802951E4 00292144 2C 00 00 00 */ cmpwi r0, 0 +/* 802951E8 00292148 40 80 00 14 */ bge lbl_802951FC +/* 802951EC 0029214C 48 00 00 B4 */ b lbl_802952A0 +lbl_802951F0: +/* 802951F0 00292150 2C 00 00 03 */ cmpwi r0, 3 +/* 802951F4 00292154 40 80 00 AC */ bge lbl_802952A0 +/* 802951F8 00292158 48 00 00 90 */ b lbl_80295288 +lbl_802951FC: +/* 802951FC 0029215C 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 80295200 00292160 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 80295204 00292164 2C 00 00 03 */ cmpwi r0, 3 +/* 80295208 00292168 40 82 00 10 */ bne lbl_80295218 +/* 8029520C 0029216C 38 00 00 02 */ li r0, 2 +/* 80295210 00292170 90 03 05 88 */ stw r0, 0x588(r3) +/* 80295214 00292174 48 00 00 8C */ b lbl_802952A0 +lbl_80295218: +/* 80295218 00292178 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8029521C 0029217C 38 00 00 00 */ li r0, 0 +/* 80295220 00292180 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 80295224 00292184 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80295228 00292188 90 81 00 08 */ stw r4, 8(r1) +/* 8029522C 0029218C 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 80295230 00292190 38 60 00 01 */ li r3, 1 +/* 80295234 00292194 3B E6 00 04 */ addi r31, r6, 4 +/* 80295238 00292198 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029523C 0029219C 7F E3 FB 78 */ mr r3, r31 +/* 80295240 002921A0 38 80 00 01 */ li r4, 1 +/* 80295244 002921A4 90 A1 00 08 */ stw r5, 8(r1) +/* 80295248 002921A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029524C 002921AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295250 002921B0 4B E9 C1 E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80295254 002921B4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80295258 002921B8 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8029525C 002921BC 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 80295260 002921C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80295264 002921C4 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 80295268 002921C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8029526C 002921CC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80295270 002921D0 90 81 00 08 */ stw r4, 8(r1) +/* 80295274 002921D4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80295278 002921D8 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8029527C 002921DC 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 80295280 002921E0 90 01 00 08 */ stw r0, 8(r1) +/* 80295284 002921E4 48 00 00 1C */ b lbl_802952A0 +lbl_80295288: +/* 80295288 002921E8 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8029528C 002921EC 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 80295290 002921F0 2C 00 00 03 */ cmpwi r0, 3 +/* 80295294 002921F4 41 82 00 0C */ beq lbl_802952A0 +/* 80295298 002921F8 38 00 00 03 */ li r0, 3 +/* 8029529C 002921FC 90 03 05 88 */ stw r0, 0x588(r3) +lbl_802952A0: +/* 802952A0 00292200 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802952A4 00292204 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802952A8 00292208 7C 08 03 A6 */ mtlr r0 +/* 802952AC 0029220C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802952B0 00292210 4E 80 00 20 */ blr + +.global Render__20CPhazonHealingNoduleCFRC13CStateManager +Render__20CPhazonHealingNoduleCFRC13CStateManager: +/* 802952B4 00292214 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802952B8 00292218 7C 08 02 A6 */ mflr r0 +/* 802952BC 0029221C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802952C0 00292220 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802952C4 00292224 7C 9F 23 78 */ mr r31, r4 +/* 802952C8 00292228 93 C1 00 08 */ stw r30, 8(r1) +/* 802952CC 0029222C 7C 7E 1B 78 */ mr r30, r3 +/* 802952D0 00292230 80 63 05 7C */ lwz r3, 0x57c(r3) +/* 802952D4 00292234 80 63 00 00 */ lwz r3, 0(r3) +/* 802952D8 00292238 28 03 00 00 */ cmplwi r3, 0 +/* 802952DC 0029223C 41 82 00 14 */ beq lbl_802952F0 +/* 802952E0 00292240 81 83 00 00 */ lwz r12, 0(r3) +/* 802952E4 00292244 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802952E8 00292248 7D 89 03 A6 */ mtctr r12 +/* 802952EC 0029224C 4E 80 04 21 */ bctrl +lbl_802952F0: +/* 802952F0 00292250 7F C3 F3 78 */ mr r3, r30 +/* 802952F4 00292254 7F E4 FB 78 */ mr r4, r31 +/* 802952F8 00292258 4B DE 2D 35 */ bl Render__10CPatternedCFRC13CStateManager +/* 802952FC 0029225C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80295300 00292260 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80295304 00292264 83 C1 00 08 */ lwz r30, 8(r1) +/* 80295308 00292268 7C 08 03 A6 */ mtlr r0 +/* 8029530C 0029226C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80295310 00292270 4E 80 00 20 */ blr + +.global sub_80295314 +sub_80295314: +/* 80295314 00292274 80 03 05 68 */ lwz r0, 0x568(r3) +/* 80295318 00292278 7C 00 00 34 */ cntlzw r0, r0 +/* 8029531C 0029227C 54 03 D9 7E */ srwi r3, r0, 5 +/* 80295320 00292280 4E 80 00 20 */ blr + +.global sub_80295324 +sub_80295324: +/* 80295324 00292284 80 03 05 68 */ lwz r0, 0x568(r3) +/* 80295328 00292288 20 00 00 01 */ subfic r0, r0, 1 +/* 8029532C 0029228C 7C 00 00 34 */ cntlzw r0, r0 +/* 80295330 00292290 54 03 D9 7E */ srwi r3, r0, 5 +/* 80295334 00292294 4E 80 00 20 */ blr + +.global Lurk__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Lurk__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 80295338 00292298 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029533C 0029229C 7C 08 02 A6 */ mflr r0 +/* 80295340 002922A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80295344 002922A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295348 002922A8 41 82 00 0C */ beq lbl_80295354 +/* 8029534C 002922AC 41 80 00 14 */ blt lbl_80295360 +/* 80295350 002922B0 48 00 00 10 */ b lbl_80295360 +lbl_80295354: +/* 80295354 002922B4 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80295358 002922B8 38 80 00 02 */ li r4, 2 +/* 8029535C 002922BC 4B EA 56 7D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80295360: +/* 80295360 002922C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80295364 002922C4 7C 08 03 A6 */ mtlr r0 +/* 80295368 002922C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029536C 002922CC 4E 80 00 20 */ blr + +.global Patrol__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Patrol__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 80295370 002922D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80295374 002922D4 7C 08 02 A6 */ mflr r0 +/* 80295378 002922D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8029537C 002922DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295380 002922E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80295384 002922E4 7C 9F 23 78 */ mr r31, r4 +/* 80295388 002922E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8029538C 002922EC 7C 7E 1B 78 */ mr r30, r3 +/* 80295390 002922F0 41 82 00 0C */ beq lbl_8029539C +/* 80295394 002922F4 41 80 00 34 */ blt lbl_802953C8 +/* 80295398 002922F8 48 00 00 30 */ b lbl_802953C8 +lbl_8029539C: +/* 8029539C 002922FC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802953A0 00292300 38 80 00 01 */ li r4, 1 +/* 802953A4 00292304 4B EA 56 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802953A8 00292308 7F C3 F3 78 */ mr r3, r30 +/* 802953AC 0029230C 7F E5 FB 78 */ mr r5, r31 +/* 802953B0 00292310 38 80 00 28 */ li r4, 0x28 +/* 802953B4 00292314 4B DB EB CD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802953B8 00292318 7F C3 F3 78 */ mr r3, r30 +/* 802953BC 0029231C 7F E5 FB 78 */ mr r5, r31 +/* 802953C0 00292320 38 80 00 29 */ li r4, 0x29 +/* 802953C4 00292324 4B DB EB BD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802953C8: +/* 802953C8 00292328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802953CC 0029232C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802953D0 00292330 83 C1 00 08 */ lwz r30, 8(r1) +/* 802953D4 00292334 7C 08 03 A6 */ mtlr r0 +/* 802953D8 00292338 38 21 00 10 */ addi r1, r1, 0x10 +/* 802953DC 0029233C 4E 80 00 20 */ blr + +.global Think__20CPhazonHealingNoduleFfR13CStateManager +Think__20CPhazonHealingNoduleFfR13CStateManager: +/* 802953E0 00292340 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802953E4 00292344 7C 08 02 A6 */ mflr r0 +/* 802953E8 00292348 90 01 00 34 */ stw r0, 0x34(r1) +/* 802953EC 0029234C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802953F0 00292350 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802953F4 00292354 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802953F8 00292358 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802953FC 0029235C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80295400 00292360 FF E0 08 90 */ fmr f31, f1 +/* 80295404 00292364 7C 7E 1B 78 */ mr r30, r3 +/* 80295408 00292368 7C 9F 23 78 */ mr r31, r4 +/* 8029540C 0029236C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80295410 00292370 41 82 00 D8 */ beq lbl_802954E8 +/* 80295414 00292374 4B DE 47 05 */ bl Think__10CPatternedFfR13CStateManager +/* 80295418 00292378 7F C3 F3 78 */ mr r3, r30 +/* 8029541C 0029237C 7F E4 FB 78 */ mr r4, r31 +/* 80295420 00292380 81 9E 00 00 */ lwz r12, 0(r30) +/* 80295424 00292384 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80295428 00292388 7D 89 03 A6 */ mtctr r12 +/* 8029542C 0029238C 4E 80 04 21 */ bctrl +/* 80295430 00292390 C0 23 00 00 */ lfs f1, 0(r3) +/* 80295434 00292394 C0 02 BF 90 */ lfs f0, lbl_805ADCB0@sda21(r2) +/* 80295438 00292398 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029543C 0029239C 4C 40 13 82 */ cror 2, 0, 2 +/* 80295440 002923A0 40 82 00 70 */ bne lbl_802954B0 +/* 80295444 002923A4 38 7E 05 7C */ addi r3, r30, 0x57c +/* 80295448 002923A8 48 00 06 89 */ bl sub_80295ad0 +/* 8029544C 002923AC 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 80295450 002923B0 3C 60 80 3D */ lis r3, lbl_803D5BB0@ha +/* 80295454 002923B4 90 1E 05 7C */ stw r0, 0x57c(r30) +/* 80295458 002923B8 38 83 5B B0 */ addi r4, r3, lbl_803D5BB0@l +/* 8029545C 002923BC 38 00 00 00 */ li r0, 0 +/* 80295460 002923C0 38 61 00 08 */ addi r3, r1, 8 +/* 80295464 002923C4 80 DE 05 7C */ lwz r6, 0x57c(r30) +/* 80295468 002923C8 38 84 00 11 */ addi r4, r4, 0x11 +/* 8029546C 002923CC 80 A6 00 04 */ lwz r5, 4(r6) +/* 80295470 002923D0 38 A5 00 01 */ addi r5, r5, 1 +/* 80295474 002923D4 90 A6 00 04 */ stw r5, 4(r6) +/* 80295478 002923D8 98 1E 05 6C */ stb r0, 0x56c(r30) +/* 8029547C 002923DC 4B D6 F8 3D */ bl string_l__4rstlFPCc +/* 80295480 002923E0 7F C3 F3 78 */ mr r3, r30 +/* 80295484 002923E4 4B E0 D4 75 */ bl GetStateMachine__3CAiFv +/* 80295488 002923E8 7C 66 1B 78 */ mr r6, r3 +/* 8029548C 002923EC 7F E4 FB 78 */ mr r4, r31 +/* 80295490 002923F0 7F C5 F3 78 */ mr r5, r30 +/* 80295494 002923F4 38 7E 03 30 */ addi r3, r30, 0x330 +/* 80295498 002923F8 38 E1 00 08 */ addi r7, r1, 8 +/* 8029549C 002923FC 4B DE A7 69 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802954A0 00292400 38 61 00 08 */ addi r3, r1, 8 +/* 802954A4 00292404 48 0A 86 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802954A8 00292408 38 00 00 00 */ li r0, 0 +/* 802954AC 0029240C 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_802954B0: +/* 802954B0 00292410 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 802954B4 00292414 80 03 00 00 */ lwz r0, 0(r3) +/* 802954B8 00292418 28 00 00 00 */ cmplwi r0, 0 +/* 802954BC 0029241C 41 82 00 2C */ beq lbl_802954E8 +/* 802954C0 00292420 7F C3 F3 78 */ mr r3, r30 +/* 802954C4 00292424 7F E4 FB 78 */ mr r4, r31 +/* 802954C8 00292428 4B FF FA 35 */ bl sub_80294efc +/* 802954CC 0029242C 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 802954D0 00292430 FC 20 F8 90 */ fmr f1, f31 +/* 802954D4 00292434 80 63 00 00 */ lwz r3, 0(r3) +/* 802954D8 00292438 81 83 00 00 */ lwz r12, 0(r3) +/* 802954DC 0029243C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802954E0 00292440 7D 89 03 A6 */ mtctr r12 +/* 802954E4 00292444 4E 80 04 21 */ bctrl +lbl_802954E8: +/* 802954E8 00292448 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802954EC 0029244C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802954F0 00292450 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802954F4 00292454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802954F8 00292458 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802954FC 0029245C 7C 08 03 A6 */ mtlr r0 +/* 80295500 00292460 38 21 00 30 */ addi r1, r1, 0x30 +/* 80295504 00292464 4E 80 00 20 */ blr + +.global DoUserAnimEvent__20CPhazonHealingNoduleFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__20CPhazonHealingNoduleFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80295508 00292468 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029550C 0029246C 7C 08 02 A6 */ mflr r0 +/* 80295510 00292470 2C 06 00 12 */ cmpwi r6, 0x12 +/* 80295514 00292474 90 01 00 34 */ stw r0, 0x34(r1) +/* 80295518 00292478 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8029551C 0029247C 7C 7F 1B 78 */ mr r31, r3 +/* 80295520 00292480 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80295524 00292484 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80295528 00292488 41 82 00 F8 */ beq lbl_80295620 +/* 8029552C 0029248C 40 80 01 20 */ bge lbl_8029564C +/* 80295530 00292490 2C 06 00 11 */ cmpwi r6, 0x11 +/* 80295534 00292494 40 80 00 08 */ bge lbl_8029553C +/* 80295538 00292498 48 00 01 14 */ b lbl_8029564C +lbl_8029553C: +/* 8029553C 0029249C 38 00 00 01 */ li r0, 1 +/* 80295540 002924A0 3C 60 80 3D */ lis r3, lbl_803D5BB0@ha +/* 80295544 002924A4 38 63 5B B0 */ addi r3, r3, lbl_803D5BB0@l +/* 80295548 002924A8 98 1F 05 6C */ stb r0, 0x56c(r31) +/* 8029554C 002924AC 38 83 00 18 */ addi r4, r3, 0x18 +/* 80295550 002924B0 3B A0 00 00 */ li r29, 0 +/* 80295554 002924B4 38 60 04 58 */ li r3, 0x458 +/* 80295558 002924B8 38 A0 00 00 */ li r5, 0 +/* 8029555C 002924BC 48 08 03 11 */ bl __nw__FUlPCcPCc +/* 80295560 002924C0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80295564 002924C4 41 82 00 24 */ beq lbl_80295588 +/* 80295568 002924C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8029556C 002924CC 38 9F 05 70 */ addi r4, r31, 0x570 +/* 80295570 002924D0 48 0A B9 39 */ bl __ct__6CTokenFRC6CToken +/* 80295574 002924D4 7F C3 F3 78 */ mr r3, r30 +/* 80295578 002924D8 38 81 00 0C */ addi r4, r1, 0xc +/* 8029557C 002924DC 3B A0 00 01 */ li r29, 1 +/* 80295580 002924E0 48 0C CB F1 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 80295584 002924E4 7C 7E 1B 78 */ mr r30, r3 +lbl_80295588: +/* 80295588 002924E8 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha +/* 8029558C 002924EC 38 60 00 08 */ li r3, 8 +/* 80295590 002924F0 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l +/* 80295594 002924F4 38 A0 00 00 */ li r5, 0 +/* 80295598 002924F8 38 84 00 18 */ addi r4, r4, 0x18 +/* 8029559C 002924FC 48 08 02 D1 */ bl __nw__FUlPCcPCc +/* 802955A0 00292500 28 03 00 00 */ cmplwi r3, 0 +/* 802955A4 00292504 41 82 00 10 */ beq lbl_802955B4 +/* 802955A8 00292508 93 C3 00 00 */ stw r30, 0(r3) +/* 802955AC 0029250C 38 00 00 01 */ li r0, 1 +/* 802955B0 00292510 90 03 00 04 */ stw r0, 4(r3) +lbl_802955B4: +/* 802955B4 00292514 90 61 00 08 */ stw r3, 8(r1) +/* 802955B8 00292518 80 1F 05 7C */ lwz r0, 0x57c(r31) +/* 802955BC 0029251C 7C 00 18 40 */ cmplw r0, r3 +/* 802955C0 00292520 41 82 00 24 */ beq lbl_802955E4 +/* 802955C4 00292524 38 7F 05 7C */ addi r3, r31, 0x57c +/* 802955C8 00292528 48 00 05 09 */ bl sub_80295ad0 +/* 802955CC 0029252C 80 01 00 08 */ lwz r0, 8(r1) +/* 802955D0 00292530 90 1F 05 7C */ stw r0, 0x57c(r31) +/* 802955D4 00292534 80 9F 05 7C */ lwz r4, 0x57c(r31) +/* 802955D8 00292538 80 64 00 04 */ lwz r3, 4(r4) +/* 802955DC 0029253C 38 03 00 01 */ addi r0, r3, 1 +/* 802955E0 00292540 90 04 00 04 */ stw r0, 4(r4) +lbl_802955E4: +/* 802955E4 00292544 38 61 00 08 */ addi r3, r1, 8 +/* 802955E8 00292548 48 00 04 E9 */ bl sub_80295ad0 +/* 802955EC 0029254C 7F A0 07 75 */ extsb. r0, r29 +/* 802955F0 00292550 41 82 00 10 */ beq lbl_80295600 +/* 802955F4 00292554 38 61 00 0C */ addi r3, r1, 0xc +/* 802955F8 00292558 38 80 00 00 */ li r4, 0 +/* 802955FC 0029255C 48 0A B8 45 */ bl __dt__6CTokenFv +lbl_80295600: +/* 80295600 00292560 80 7F 05 7C */ lwz r3, 0x57c(r31) +/* 80295604 00292564 38 80 00 01 */ li r4, 1 +/* 80295608 00292568 80 63 00 00 */ lwz r3, 0(r3) +/* 8029560C 0029256C 81 83 00 00 */ lwz r12, 0(r3) +/* 80295610 00292570 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80295614 00292574 7D 89 03 A6 */ mtctr r12 +/* 80295618 00292578 4E 80 04 21 */ bctrl +/* 8029561C 0029257C 48 00 00 38 */ b lbl_80295654 +lbl_80295620: +/* 80295620 00292580 38 00 00 00 */ li r0, 0 +/* 80295624 00292584 38 7F 05 7C */ addi r3, r31, 0x57c +/* 80295628 00292588 98 1F 05 6C */ stb r0, 0x56c(r31) +/* 8029562C 0029258C 48 00 04 A5 */ bl sub_80295ad0 +/* 80295630 00292590 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 80295634 00292594 90 1F 05 7C */ stw r0, 0x57c(r31) +/* 80295638 00292598 80 9F 05 7C */ lwz r4, 0x57c(r31) +/* 8029563C 0029259C 80 64 00 04 */ lwz r3, 4(r4) +/* 80295640 002925A0 38 03 00 01 */ addi r0, r3, 1 +/* 80295644 002925A4 90 04 00 04 */ stw r0, 4(r4) +/* 80295648 002925A8 48 00 00 0C */ b lbl_80295654 +lbl_8029564C: +/* 8029564C 002925AC 7F E3 FB 78 */ mr r3, r31 +/* 80295650 002925B0 4B DE 38 61 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80295654: +/* 80295654 002925B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80295658 002925B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8029565C 002925BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80295660 002925C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80295664 002925C4 7C 08 03 A6 */ mtlr r0 +/* 80295668 002925C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029566C 002925CC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__20CPhazonHealingNoduleF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__20CPhazonHealingNoduleF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80295670 002925D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80295674 002925D4 7C 08 02 A6 */ mflr r0 +/* 80295678 002925D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029567C 002925DC 38 04 FF FB */ addi r0, r4, -5 +/* 80295680 002925E0 28 00 00 1E */ cmplwi r0, 0x1e +/* 80295684 002925E4 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80295688 002925E8 7C 7E 1B 78 */ mr r30, r3 +/* 8029568C 002925EC 7C DF 33 78 */ mr r31, r6 +/* 80295690 002925F0 41 81 02 50 */ bgt lbl_802958E0 +/* 80295694 002925F4 3C E0 80 3F */ lis r7, lbl_803EBF3C@ha +/* 80295698 002925F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8029569C 002925FC 38 E7 BF 3C */ addi r7, r7, lbl_803EBF3C@l +/* 802956A0 00292600 7C 07 00 2E */ lwzx r0, r7, r0 +/* 802956A4 00292604 7C 09 03 A6 */ mtctr r0 +/* 802956A8 00292608 4E 80 04 20 */ bctr +/* 802956AC 0029260C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802956B0 00292610 88 03 03 00 */ lbz r0, 0x300(r3) +/* 802956B4 00292614 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802956B8 00292618 40 82 00 0C */ bne lbl_802956C4 +/* 802956BC 0029261C 7F E4 FB 78 */ mr r4, r31 +/* 802956C0 00292620 4B EA 56 31 */ bl Activate__15CBodyControllerFR13CStateManager +lbl_802956C4: +/* 802956C4 00292624 7F C3 F3 78 */ mr r3, r30 +/* 802956C8 00292628 81 9E 00 00 */ lwz r12, 0(r30) +/* 802956CC 0029262C 81 8C 00 8C */ lwz r12, 0x8c(r12) +/* 802956D0 00292630 7D 89 03 A6 */ mtctr r12 +/* 802956D4 00292634 4E 80 04 21 */ bctrl +/* 802956D8 00292638 3C A0 80 57 */ lis r5, lbl_80570004@ha +/* 802956DC 0029263C 84 C5 D7 18 */ lwzu r6, -0x28e8(r5) +/* 802956E0 00292640 38 80 00 00 */ li r4, 0 +/* 802956E4 00292644 80 05 00 04 */ lwz r0, lbl_80570004@l(r5) +/* 802956E8 00292648 90 C3 00 00 */ stw r6, 0(r3) +/* 802956EC 0029264C 90 03 00 04 */ stw r0, 4(r3) +/* 802956F0 00292650 80 C5 00 08 */ lwz r6, 8(r5) +/* 802956F4 00292654 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802956F8 00292658 90 C3 00 08 */ stw r6, 8(r3) +/* 802956FC 0029265C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80295700 00292660 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80295704 00292664 80 05 00 14 */ lwz r0, 0x14(r5) +/* 80295708 00292668 90 C3 00 10 */ stw r6, 0x10(r3) +/* 8029570C 0029266C 90 03 00 14 */ stw r0, 0x14(r3) +/* 80295710 00292670 80 C5 00 18 */ lwz r6, 0x18(r5) +/* 80295714 00292674 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80295718 00292678 90 C3 00 18 */ stw r6, 0x18(r3) +/* 8029571C 0029267C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80295720 00292680 80 C5 00 20 */ lwz r6, 0x20(r5) +/* 80295724 00292684 80 05 00 24 */ lwz r0, 0x24(r5) +/* 80295728 00292688 90 C3 00 20 */ stw r6, 0x20(r3) +/* 8029572C 0029268C 90 03 00 24 */ stw r0, 0x24(r3) +/* 80295730 00292690 80 C5 00 28 */ lwz r6, 0x28(r5) +/* 80295734 00292694 80 05 00 2C */ lwz r0, 0x2c(r5) +/* 80295738 00292698 90 C3 00 28 */ stw r6, 0x28(r3) +/* 8029573C 0029269C 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80295740 002926A0 80 C5 00 30 */ lwz r6, 0x30(r5) +/* 80295744 002926A4 80 05 00 34 */ lwz r0, 0x34(r5) +/* 80295748 002926A8 90 C3 00 30 */ stw r6, 0x30(r3) +/* 8029574C 002926AC 90 03 00 34 */ stw r0, 0x34(r3) +/* 80295750 002926B0 80 05 00 38 */ lwz r0, 0x38(r5) +/* 80295754 002926B4 90 03 00 38 */ stw r0, 0x38(r3) +/* 80295758 002926B8 80 C5 00 3C */ lwz r6, 0x3c(r5) +/* 8029575C 002926BC 80 05 00 40 */ lwz r0, 0x40(r5) +/* 80295760 002926C0 90 C3 00 3C */ stw r6, 0x3c(r3) +/* 80295764 002926C4 90 03 00 40 */ stw r0, 0x40(r3) +/* 80295768 002926C8 80 C5 00 44 */ lwz r6, 0x44(r5) +/* 8029576C 002926CC 80 05 00 48 */ lwz r0, 0x48(r5) +/* 80295770 002926D0 90 C3 00 44 */ stw r6, 0x44(r3) +/* 80295774 002926D4 90 03 00 48 */ stw r0, 0x48(r3) +/* 80295778 002926D8 80 C5 00 4C */ lwz r6, 0x4c(r5) +/* 8029577C 002926DC 80 05 00 50 */ lwz r0, 0x50(r5) +/* 80295780 002926E0 90 C3 00 4C */ stw r6, 0x4c(r3) +/* 80295784 002926E4 90 03 00 50 */ stw r0, 0x50(r3) +/* 80295788 002926E8 80 C5 00 54 */ lwz r6, 0x54(r5) +/* 8029578C 002926EC 80 05 00 58 */ lwz r0, 0x58(r5) +/* 80295790 002926F0 90 C3 00 54 */ stw r6, 0x54(r3) +/* 80295794 002926F4 90 03 00 58 */ stw r0, 0x58(r3) +/* 80295798 002926F8 80 05 00 5C */ lwz r0, 0x5c(r5) +/* 8029579C 002926FC 90 03 00 5C */ stw r0, 0x5c(r3) +/* 802957A0 00292700 80 05 00 60 */ lwz r0, 0x60(r5) +/* 802957A4 00292704 90 03 00 60 */ stw r0, 0x60(r3) +/* 802957A8 00292708 80 05 00 64 */ lwz r0, 0x64(r5) +/* 802957AC 0029270C 90 03 00 64 */ stw r0, 0x64(r3) +/* 802957B0 00292710 38 7E 04 60 */ addi r3, r30, 0x460 +/* 802957B4 00292714 4B F9 E5 B1 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 802957B8 00292718 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802957BC 0029271C 38 80 00 01 */ li r4, 1 +/* 802957C0 00292720 4B EA 52 19 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802957C4 00292724 7F C3 F3 78 */ mr r3, r30 +/* 802957C8 00292728 7F E5 FB 78 */ mr r5, r31 +/* 802957CC 0029272C 38 80 00 28 */ li r4, 0x28 +/* 802957D0 00292730 4B DB E7 B1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802957D4 00292734 7F C3 F3 78 */ mr r3, r30 +/* 802957D8 00292738 7F E5 FB 78 */ mr r5, r31 +/* 802957DC 0029273C 38 80 00 29 */ li r4, 0x29 +/* 802957E0 00292740 4B DB E7 A1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802957E4 00292744 7F C3 F3 78 */ mr r3, r30 +/* 802957E8 00292748 7F E5 FB 78 */ mr r5, r31 +/* 802957EC 0029274C 38 80 00 2B */ li r4, 0x2b +/* 802957F0 00292750 4B DB EB 61 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802957F4 00292754 48 00 01 04 */ b lbl_802958F8 +/* 802957F8 00292758 A0 05 00 00 */ lhz r0, 0(r5) +/* 802957FC 0029275C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80295800 00292760 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80295804 00292764 4B DE 73 75 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80295808 00292768 83 7E 00 24 */ lwz r27, 0x24(r30) +/* 8029580C 0029276C 3B 40 00 00 */ li r26, 0 +/* 80295810 00292770 3B A0 00 00 */ li r29, 0 +/* 80295814 00292774 48 00 00 58 */ b lbl_8029586C +lbl_80295818: +/* 80295818 00292778 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 8029581C 0029277C 7F E4 FB 78 */ mr r4, r31 +/* 80295820 00292780 38 61 00 0C */ addi r3, r1, 0xc +/* 80295824 00292784 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80295828 00292788 7F 80 EA 14 */ add r28, r0, r29 +/* 8029582C 0029278C 80 1C 00 08 */ lwz r0, 8(r28) +/* 80295830 00292790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295834 00292794 4B DB 26 E9 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80295838 00292798 80 1C 00 00 */ lwz r0, 0(r28) +/* 8029583C 0029279C A0 61 00 0C */ lhz r3, 0xc(r1) +/* 80295840 002927A0 2C 00 00 0D */ cmpwi r0, 0xd +/* 80295844 002927A4 40 82 00 20 */ bne lbl_80295864 +/* 80295848 002927A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029584C 002927AC 7C 03 00 40 */ cmplw r3, r0 +/* 80295850 002927B0 41 82 00 14 */ beq lbl_80295864 +/* 80295854 002927B4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80295858 002927B8 2C 00 00 01 */ cmpwi r0, 1 +/* 8029585C 002927BC 40 82 00 08 */ bne lbl_80295864 +/* 80295860 002927C0 B0 7E 05 6E */ sth r3, 0x56e(r30) +lbl_80295864: +/* 80295864 002927C4 3B 5A 00 01 */ addi r26, r26, 1 +/* 80295868 002927C8 3B BD 00 0C */ addi r29, r29, 0xc +lbl_8029586C: +/* 8029586C 002927CC 7C 1A D8 40 */ cmplw r26, r27 +/* 80295870 002927D0 41 80 FF A8 */ blt lbl_80295818 +/* 80295874 002927D4 48 00 00 84 */ b lbl_802958F8 +/* 80295878 002927D8 38 00 00 01 */ li r0, 1 +/* 8029587C 002927DC 90 1E 05 68 */ stw r0, 0x568(r30) +/* 80295880 002927E0 48 00 00 78 */ b lbl_802958F8 +/* 80295884 002927E4 38 00 00 00 */ li r0, 0 +/* 80295888 002927E8 38 7E 05 7C */ addi r3, r30, 0x57c +/* 8029588C 002927EC 90 1E 05 68 */ stw r0, 0x568(r30) +/* 80295890 002927F0 48 00 02 41 */ bl sub_80295ad0 +/* 80295894 002927F4 38 6D A9 28 */ addi r3, r13, lbl_805A94E8@sda21 +/* 80295898 002927F8 38 00 00 00 */ li r0, 0 +/* 8029589C 002927FC 90 7E 05 7C */ stw r3, 0x57c(r30) +/* 802958A0 00292800 80 9E 05 7C */ lwz r4, 0x57c(r30) +/* 802958A4 00292804 80 64 00 04 */ lwz r3, 4(r4) +/* 802958A8 00292808 38 63 00 01 */ addi r3, r3, 1 +/* 802958AC 0029280C 90 64 00 04 */ stw r3, 4(r4) +/* 802958B0 00292810 98 1E 05 6C */ stb r0, 0x56c(r30) +/* 802958B4 00292814 48 00 00 44 */ b lbl_802958F8 +/* 802958B8 00292818 81 83 00 00 */ lwz r12, 0(r3) +/* 802958BC 0029281C 7F E4 FB 78 */ mr r4, r31 +/* 802958C0 00292820 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802958C4 00292824 7D 89 03 A6 */ mtctr r12 +/* 802958C8 00292828 4E 80 04 21 */ bctrl +/* 802958CC 0029282C C0 1E 05 80 */ lfs f0, 0x580(r30) +/* 802958D0 00292830 D0 03 00 00 */ stfs f0, 0(r3) +/* 802958D4 00292834 C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802958D8 00292838 D0 03 00 04 */ stfs f0, 4(r3) +/* 802958DC 0029283C 48 00 00 1C */ b lbl_802958F8 +lbl_802958E0: +/* 802958E0 00292840 A0 05 00 00 */ lhz r0, 0(r5) +/* 802958E4 00292844 7F C3 F3 78 */ mr r3, r30 +/* 802958E8 00292848 7F E6 FB 78 */ mr r6, r31 +/* 802958EC 0029284C 38 A1 00 08 */ addi r5, r1, 8 +/* 802958F0 00292850 B0 01 00 08 */ sth r0, 8(r1) +/* 802958F4 00292854 4B DE 72 85 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_802958F8: +/* 802958F8 00292858 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802958FC 0029285C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80295900 00292860 7C 08 03 A6 */ mtlr r0 +/* 80295904 00292864 38 21 00 30 */ addi r1, r1, 0x30 +/* 80295908 00292868 4E 80 00 20 */ blr + +.global "__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" +"__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo": +/* 8029590C 0029286C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80295910 00292870 7C 08 02 A6 */ mflr r0 +/* 80295914 00292874 7C EC 3B 78 */ mr r12, r7 +/* 80295918 00292878 39 60 00 01 */ li r11, 1 +/* 8029591C 0029287C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80295920 00292880 38 E0 00 00 */ li r7, 0 +/* 80295924 00292884 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80295928 00292888 7D 5F 53 78 */ mr r31, r10 +/* 8029592C 0029288C 7D 0A 43 78 */ mr r10, r8 +/* 80295930 00292890 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80295934 00292894 7C 7E 1B 78 */ mr r30, r3 +/* 80295938 00292898 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8029593C 0029289C 83 A1 00 6C */ lwz r29, 0x6c(r1) +/* 80295940 002928A0 93 81 00 50 */ stw r28, 0x50(r1) +/* 80295944 002928A4 83 81 00 68 */ lwz r28, 0x68(r1) +/* 80295948 002928A8 A0 04 00 00 */ lhz r0, 0(r4) +/* 8029594C 002928AC 7C C4 33 78 */ mr r4, r6 +/* 80295950 002928B0 7C A6 2B 78 */ mr r6, r5 +/* 80295954 002928B4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80295958 002928B8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8029595C 002928BC 7C 88 23 78 */ mr r8, r4 +/* 80295960 002928C0 38 00 00 02 */ li r0, 2 +/* 80295964 002928C4 38 80 00 23 */ li r4, 0x23 +/* 80295968 002928C8 93 E1 00 08 */ stw r31, 8(r1) +/* 8029596C 002928CC 91 61 00 0C */ stw r11, 0xc(r1) +/* 80295970 002928D0 91 61 00 10 */ stw r11, 0x10(r1) +/* 80295974 002928D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295978 002928D8 91 21 00 18 */ stw r9, 0x18(r1) +/* 8029597C 002928DC 7D 89 63 78 */ mr r9, r12 +/* 80295980 002928E0 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80295984 002928E4 4B DE 7A CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80295988 002928E8 3C 80 80 3F */ lis r4, lbl_803EBC70@ha +/* 8029598C 002928EC 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 80295990 002928F0 38 04 BC 70 */ addi r0, r4, lbl_803EBC70@l +/* 80295994 002928F4 38 80 00 00 */ li r4, 0 +/* 80295998 002928F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8029599C 002928FC 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 802959A0 00292900 38 61 00 24 */ addi r3, r1, 0x24 +/* 802959A4 00292904 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802959A8 00292908 90 9E 05 68 */ stw r4, 0x568(r30) +/* 802959AC 0029290C 98 9E 05 6C */ stb r4, 0x56c(r30) +/* 802959B0 00292910 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 802959B4 00292914 B0 9E 05 6E */ sth r4, 0x56e(r30) +/* 802959B8 00292918 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802959BC 0029291C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802959C0 00292920 93 81 00 30 */ stw r28, 0x30(r1) +/* 802959C4 00292924 81 84 00 00 */ lwz r12, 0(r4) +/* 802959C8 00292928 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802959CC 0029292C 7D 89 03 A6 */ mtctr r12 +/* 802959D0 00292930 4E 80 04 21 */ bctrl +/* 802959D4 00292934 3B 9E 05 70 */ addi r28, r30, 0x570 +/* 802959D8 00292938 38 81 00 24 */ addi r4, r1, 0x24 +/* 802959DC 0029293C 7F 83 E3 78 */ mr r3, r28 +/* 802959E0 00292940 48 0A B4 C9 */ bl __ct__6CTokenFRC6CToken +/* 802959E4 00292944 7F 83 E3 78 */ mr r3, r28 +/* 802959E8 00292948 48 0A B4 25 */ bl GetObj__6CTokenFv +/* 802959EC 0029294C 80 03 00 04 */ lwz r0, 4(r3) +/* 802959F0 00292950 38 61 00 24 */ addi r3, r1, 0x24 +/* 802959F4 00292954 38 80 FF FF */ li r4, -1 +/* 802959F8 00292958 90 1C 00 08 */ stw r0, 8(r28) +/* 802959FC 0029295C 48 0A B4 45 */ bl __dt__6CTokenFv +/* 80295A00 00292960 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha +/* 80295A04 00292964 38 60 00 08 */ li r3, 8 +/* 80295A08 00292968 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l +/* 80295A0C 0029296C 38 A0 00 00 */ li r5, 0 +/* 80295A10 00292970 38 84 00 18 */ addi r4, r4, 0x18 +/* 80295A14 00292974 48 07 FE 59 */ bl __nw__FUlPCcPCc +/* 80295A18 00292978 28 03 00 00 */ cmplwi r3, 0 +/* 80295A1C 0029297C 41 82 00 14 */ beq lbl_80295A30 +/* 80295A20 00292980 38 80 00 00 */ li r4, 0 +/* 80295A24 00292984 38 00 00 01 */ li r0, 1 +/* 80295A28 00292988 90 83 00 00 */ stw r4, 0(r3) +/* 80295A2C 0029298C 90 03 00 04 */ stw r0, 4(r3) +lbl_80295A30: +/* 80295A30 00292990 90 7E 05 7C */ stw r3, 0x57c(r30) +/* 80295A34 00292994 7F A4 EB 78 */ mr r4, r29 +/* 80295A38 00292998 38 7E 05 8C */ addi r3, r30, 0x58c +/* 80295A3C 0029299C C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 80295A40 002929A0 D0 1E 05 80 */ stfs f0, 0x580(r30) +/* 80295A44 002929A4 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 80295A48 002929A8 D0 1E 05 84 */ stfs f0, 0x584(r30) +/* 80295A4C 002929AC 48 0A 87 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80295A50 002929B0 7F C3 F3 78 */ mr r3, r30 +/* 80295A54 002929B4 4B DB DE 69 */ bl GetMaterialFilter__6CActorCFv +/* 80295A58 002929B8 80 AD 99 C8 */ lwz r5, lbl_805A8588@sda21(r13) +/* 80295A5C 002929BC 38 80 00 01 */ li r4, 1 +/* 80295A60 002929C0 83 E3 00 08 */ lwz r31, 8(r3) +/* 80295A64 002929C4 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 80295A68 002929C8 38 60 00 00 */ li r3, 0 +/* 80295A6C 002929CC 48 0F 44 89 */ bl __shl2i +/* 80295A70 002929D0 7F FF 1B 78 */ or r31, r31, r3 +/* 80295A74 002929D4 7F C3 F3 78 */ mr r3, r30 +/* 80295A78 002929D8 7F BD 23 78 */ or r29, r29, r4 +/* 80295A7C 002929DC 4B DB DE 41 */ bl GetMaterialFilter__6CActorCFv +/* 80295A80 002929E0 80 A3 00 00 */ lwz r5, 0(r3) +/* 80295A84 002929E4 38 00 00 03 */ li r0, 3 +/* 80295A88 002929E8 80 C3 00 04 */ lwz r6, 4(r3) +/* 80295A8C 002929EC 7F C3 F3 78 */ mr r3, r30 +/* 80295A90 002929F0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80295A94 002929F4 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80295A98 002929F8 90 A1 00 38 */ stw r5, 0x38(r1) +/* 80295A9C 002929FC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80295AA0 00292A00 93 E1 00 40 */ stw r31, 0x40(r1) +/* 80295AA4 00292A04 90 01 00 48 */ stw r0, 0x48(r1) +/* 80295AA8 00292A08 4B DB DD F9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80295AAC 00292A0C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80295AB0 00292A10 7F C3 F3 78 */ mr r3, r30 +/* 80295AB4 00292A14 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80295AB8 00292A18 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80295ABC 00292A1C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80295AC0 00292A20 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80295AC4 00292A24 7C 08 03 A6 */ mtlr r0 +/* 80295AC8 00292A28 38 21 00 60 */ addi r1, r1, 0x60 +/* 80295ACC 00292A2C 4E 80 00 20 */ blr + +.global sub_80295ad0 +sub_80295ad0: +/* 80295AD0 00292A30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80295AD4 00292A34 7C 08 02 A6 */ mflr r0 +/* 80295AD8 00292A38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295ADC 00292A3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80295AE0 00292A40 7C 7F 1B 78 */ mr r31, r3 +/* 80295AE4 00292A44 80 83 00 00 */ lwz r4, 0(r3) +/* 80295AE8 00292A48 80 64 00 04 */ lwz r3, 4(r4) +/* 80295AEC 00292A4C 34 03 FF FF */ addic. r0, r3, -1 +/* 80295AF0 00292A50 90 04 00 04 */ stw r0, 4(r4) +/* 80295AF4 00292A54 41 81 00 38 */ bgt lbl_80295B2C +/* 80295AF8 00292A58 80 7F 00 00 */ lwz r3, 0(r31) +/* 80295AFC 00292A5C 80 63 00 00 */ lwz r3, 0(r3) +/* 80295B00 00292A60 28 03 00 00 */ cmplwi r3, 0 +/* 80295B04 00292A64 41 82 00 18 */ beq lbl_80295B1C +/* 80295B08 00292A68 81 83 00 00 */ lwz r12, 0(r3) +/* 80295B0C 00292A6C 38 80 00 01 */ li r4, 1 +/* 80295B10 00292A70 81 8C 00 08 */ lwz r12, 8(r12) +/* 80295B14 00292A74 7D 89 03 A6 */ mtctr r12 +/* 80295B18 00292A78 4E 80 04 21 */ bctrl +lbl_80295B1C: +/* 80295B1C 00292A7C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80295B20 00292A80 28 03 00 00 */ cmplwi r3, 0 +/* 80295B24 00292A84 41 82 00 08 */ beq lbl_80295B2C +/* 80295B28 00292A88 48 07 FE 09 */ bl Free__7CMemoryFPCv +lbl_80295B2C: +/* 80295B2C 00292A8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80295B30 00292A90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80295B34 00292A94 7C 08 03 A6 */ mtlr r0 +/* 80295B38 00292A98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80295B3C 00292A9C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPhazonPool.s b/asm/Kyoto_CWD/Enemies/CPhazonPool.s new file mode 100644 index 00000000..0ac85901 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPhazonPool.s @@ -0,0 +1,1460 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_802925e0 +sub_802925e0: +/* 802925E0 0028F540 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802925E4 0028F544 7C 08 02 A6 */ mflr r0 +/* 802925E8 0028F548 90 01 00 14 */ stw r0, 0x14(r1) +/* 802925EC 0028F54C 80 63 01 70 */ lwz r3, 0x170(r3) +/* 802925F0 0028F550 28 03 00 00 */ cmplwi r3, 0 +/* 802925F4 0028F554 41 82 00 14 */ beq lbl_80292608 +/* 802925F8 0028F558 81 83 00 00 */ lwz r12, 0(r3) +/* 802925FC 0028F55C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80292600 0028F560 7D 89 03 A6 */ mtctr r12 +/* 80292604 0028F564 4E 80 04 21 */ bctrl +lbl_80292608: +/* 80292608 0028F568 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029260C 0028F56C 7C 08 03 A6 */ mtlr r0 +/* 80292610 0028F570 38 21 00 10 */ addi r1, r1, 0x10 +/* 80292614 0028F574 4E 80 00 20 */ blr + +.global sub_80292618 +sub_80292618: +/* 80292618 0028F578 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029261C 0028F57C 7C 08 02 A6 */ mflr r0 +/* 80292620 0028F580 90 01 00 44 */ stw r0, 0x44(r1) +/* 80292624 0028F584 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80292628 0028F588 7C 7B 1B 78 */ mr r27, r3 +/* 8029262C 0028F58C 7C 9C 23 78 */ mr r28, r4 +/* 80292630 0028F590 83 E3 01 54 */ lwz r31, 0x154(r3) +/* 80292634 0028F594 48 00 00 64 */ b lbl_80292698 +lbl_80292638: +/* 80292638 0028F598 83 DF 00 04 */ lwz r30, 4(r31) +/* 8029263C 0028F59C 7F 83 E3 78 */ mr r3, r28 +/* 80292640 0028F5A0 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80292644 0028F5A4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80292648 0028F5A8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8029264C 0028F5AC 4B DB 9F 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80292650 0028F5B0 7C 64 1B 78 */ mr r4, r3 +/* 80292654 0028F5B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80292658 0028F5B8 4B E1 D6 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8029265C 0028F5BC 83 A3 00 04 */ lwz r29, 4(r3) +/* 80292660 0028F5C0 28 1D 00 00 */ cmplwi r29, 0 +/* 80292664 0028F5C4 41 82 00 30 */ beq lbl_80292694 +/* 80292668 0028F5C8 7F E4 FB 78 */ mr r4, r31 +/* 8029266C 0028F5CC 38 7B 01 50 */ addi r3, r27, 0x150 +/* 80292670 0028F5D0 4B E6 F7 9D */ bl sub_80101e0c +/* 80292674 0028F5D4 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80292678 0028F5D8 7F 83 E3 78 */ mr r3, r28 +/* 8029267C 0028F5DC 7F A4 EB 78 */ mr r4, r29 +/* 80292680 0028F5E0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80292684 0028F5E4 B0 01 00 08 */ sth r0, 8(r1) +/* 80292688 0028F5E8 38 C0 00 2F */ li r6, 0x2f +/* 8029268C 0028F5EC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80292690 0028F5F0 4B DB 18 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80292694: +/* 80292694 0028F5F4 7F DF F3 78 */ mr r31, r30 +lbl_80292698: +/* 80292698 0028F5F8 80 1B 01 58 */ lwz r0, 0x158(r27) +/* 8029269C 0028F5FC 7C 1F 00 40 */ cmplw r31, r0 +/* 802926A0 0028F600 40 82 FF 98 */ bne lbl_80292638 +/* 802926A4 0028F604 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802926A8 0028F608 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802926AC 0028F60C 7C 08 03 A6 */ mtlr r0 +/* 802926B0 0028F610 38 21 00 40 */ addi r1, r1, 0x40 +/* 802926B4 0028F614 4E 80 00 20 */ blr + +.global UpdateInhabitants__11CPhazonPoolFR13CStateManager +UpdateInhabitants__11CPhazonPoolFR13CStateManager: +/* 802926B8 0028F618 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802926BC 0028F61C 7C 08 02 A6 */ mflr r0 +/* 802926C0 0028F620 90 01 00 94 */ stw r0, 0x94(r1) +/* 802926C4 0028F624 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802926C8 0028F628 7C 7B 1B 78 */ mr r27, r3 +/* 802926CC 0028F62C 7C 9C 23 78 */ mr r28, r4 +/* 802926D0 0028F630 83 E3 01 54 */ lwz r31, 0x154(r3) +/* 802926D4 0028F634 48 00 01 34 */ b lbl_80292808 +lbl_802926D8: +/* 802926D8 0028F638 83 DF 00 04 */ lwz r30, 4(r31) +/* 802926DC 0028F63C 7F 83 E3 78 */ mr r3, r28 +/* 802926E0 0028F640 A0 1F 00 08 */ lhz r0, 8(r31) +/* 802926E4 0028F644 38 81 00 18 */ addi r4, r1, 0x18 +/* 802926E8 0028F648 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802926EC 0028F64C 4B DB 9E 89 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802926F0 0028F650 7C 64 1B 78 */ mr r4, r3 +/* 802926F4 0028F654 38 61 00 1C */ addi r3, r1, 0x1c +/* 802926F8 0028F658 4B E1 D5 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802926FC 0028F65C 83 A3 00 04 */ lwz r29, 4(r3) +/* 80292700 0028F660 28 1D 00 00 */ cmplwi r29, 0 +/* 80292704 0028F664 41 82 00 8C */ beq lbl_80292790 +/* 80292708 0028F668 7F A4 EB 78 */ mr r4, r29 +/* 8029270C 0028F66C 38 61 00 3C */ addi r3, r1, 0x3c +/* 80292710 0028F670 81 9D 00 00 */ lwz r12, 0(r29) +/* 80292714 0028F674 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80292718 0028F678 7D 89 03 A6 */ mtctr r12 +/* 8029271C 0028F67C 4E 80 04 21 */ bctrl +/* 80292720 0028F680 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80292724 0028F684 28 00 00 00 */ cmplwi r0, 0 +/* 80292728 0028F688 98 01 00 70 */ stb r0, 0x70(r1) +/* 8029272C 0028F68C 41 82 00 3C */ beq lbl_80292768 +/* 80292730 0028F690 34 61 00 58 */ addic. r3, r1, 0x58 +/* 80292734 0028F694 41 82 00 34 */ beq lbl_80292768 +/* 80292738 0028F698 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8029273C 0028F69C D0 03 00 00 */ stfs f0, 0(r3) +/* 80292740 0028F6A0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80292744 0028F6A4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80292748 0028F6A8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8029274C 0028F6AC D0 03 00 08 */ stfs f0, 8(r3) +/* 80292750 0028F6B0 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80292754 0028F6B4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80292758 0028F6B8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8029275C 0028F6BC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80292760 0028F6C0 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80292764 0028F6C4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80292768: +/* 80292768 0028F6C8 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8029276C 0028F6CC 38 60 00 00 */ li r3, 0 +/* 80292770 0028F6D0 98 61 00 54 */ stb r3, 0x54(r1) +/* 80292774 0028F6D4 28 00 00 00 */ cmplwi r0, 0 +/* 80292778 0028F6D8 41 82 00 10 */ beq lbl_80292788 +/* 8029277C 0028F6DC 7F 64 DB 78 */ mr r4, r27 +/* 80292780 0028F6E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80292784 0028F6E4 4B DE 3F 49 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +lbl_80292788: +/* 80292788 0028F6E8 38 00 00 00 */ li r0, 0 +/* 8029278C 0028F6EC 98 01 00 70 */ stb r0, 0x70(r1) +lbl_80292790: +/* 80292790 0028F6F0 28 1D 00 00 */ cmplwi r29, 0 +/* 80292794 0028F6F4 41 82 00 3C */ beq lbl_802927D0 +/* 80292798 0028F6F8 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8029279C 0028F6FC 28 00 00 00 */ cmplwi r0, 0 +/* 802927A0 0028F700 41 82 00 30 */ beq lbl_802927D0 +/* 802927A4 0028F704 A0 1B 00 08 */ lhz r0, 8(r27) +/* 802927A8 0028F708 7F 83 E3 78 */ mr r3, r28 +/* 802927AC 0028F70C 7F A4 EB 78 */ mr r4, r29 +/* 802927B0 0028F710 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802927B4 0028F714 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802927B8 0028F718 38 C0 00 2E */ li r6, 0x2e +/* 802927BC 0028F71C B0 01 00 14 */ sth r0, 0x14(r1) +/* 802927C0 0028F720 4B DB 17 11 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 802927C4 0028F724 38 00 00 00 */ li r0, 0 +/* 802927C8 0028F728 98 1F 00 0A */ stb r0, 0xa(r31) +/* 802927CC 0028F72C 48 00 00 38 */ b lbl_80292804 +lbl_802927D0: +/* 802927D0 0028F730 7F E4 FB 78 */ mr r4, r31 +/* 802927D4 0028F734 38 7B 01 50 */ addi r3, r27, 0x150 +/* 802927D8 0028F738 4B E6 F6 35 */ bl sub_80101e0c +/* 802927DC 0028F73C 28 1D 00 00 */ cmplwi r29, 0 +/* 802927E0 0028F740 41 82 00 24 */ beq lbl_80292804 +/* 802927E4 0028F744 A0 1B 00 08 */ lhz r0, 8(r27) +/* 802927E8 0028F748 7F 83 E3 78 */ mr r3, r28 +/* 802927EC 0028F74C 7F A4 EB 78 */ mr r4, r29 +/* 802927F0 0028F750 38 A1 00 0C */ addi r5, r1, 0xc +/* 802927F4 0028F754 B0 01 00 08 */ sth r0, 8(r1) +/* 802927F8 0028F758 38 C0 00 2F */ li r6, 0x2f +/* 802927FC 0028F75C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80292800 0028F760 4B DB 16 D1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80292804: +/* 80292804 0028F764 7F DF F3 78 */ mr r31, r30 +lbl_80292808: +/* 80292808 0028F768 80 1B 01 58 */ lwz r0, 0x158(r27) +/* 8029280C 0028F76C 7C 1F 00 40 */ cmplw r31, r0 +/* 80292810 0028F770 40 82 FE C8 */ bne lbl_802926D8 +/* 80292814 0028F774 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 80292818 0028F778 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8029281C 0028F77C 7C 08 03 A6 */ mtlr r0 +/* 80292820 0028F780 38 21 00 90 */ addi r1, r1, 0x90 +/* 80292824 0028F784 4E 80 00 20 */ blr + +.global AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager: +/* 80292828 0028F788 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029282C 0028F78C 7C 08 02 A6 */ mflr r0 +/* 80292830 0028F790 90 01 00 24 */ stw r0, 0x24(r1) +/* 80292834 0028F794 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80292838 0028F798 7C BF 2B 78 */ mr r31, r5 +/* 8029283C 0028F79C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80292840 0028F7A0 7C 9E 23 78 */ mr r30, r4 +/* 80292844 0028F7A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80292848 0028F7A8 7C 7D 1B 78 */ mr r29, r3 +/* 8029284C 0028F7AC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80292850 0028F7B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80292854 0028F7B4 41 82 00 44 */ beq lbl_80292898 +/* 80292858 0028F7B8 80 9D 01 70 */ lwz r4, 0x170(r29) +/* 8029285C 0028F7BC 28 04 00 00 */ cmplwi r4, 0 +/* 80292860 0028F7C0 41 82 00 18 */ beq lbl_80292878 +/* 80292864 0028F7C4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80292868 0028F7C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8029286C 0028F7CC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80292870 0028F7D0 7D 89 03 A6 */ mtctr r12 +/* 80292874 0028F7D4 4E 80 04 21 */ bctrl +lbl_80292878: +/* 80292878 0028F7D8 80 9D 01 74 */ lwz r4, 0x174(r29) +/* 8029287C 0028F7DC 28 04 00 00 */ cmplwi r4, 0 +/* 80292880 0028F7E0 41 82 00 18 */ beq lbl_80292898 +/* 80292884 0028F7E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80292888 0028F7E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8029288C 0028F7EC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80292890 0028F7F0 7D 89 03 A6 */ mtctr r12 +/* 80292894 0028F7F4 4E 80 04 21 */ bctrl +lbl_80292898: +/* 80292898 0028F7F8 7F A3 EB 78 */ mr r3, r29 +/* 8029289C 0028F7FC 7F C4 F3 78 */ mr r4, r30 +/* 802928A0 0028F800 7F E5 FB 78 */ mr r5, r31 +/* 802928A4 0028F804 4B DC 22 95 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager +/* 802928A8 0028F808 7F A3 EB 78 */ mr r3, r29 +/* 802928AC 0028F80C 7F E4 FB 78 */ mr r4, r31 +/* 802928B0 0028F810 4B DC 21 1D */ bl EnsureRendered__6CActorCFRC13CStateManager +/* 802928B4 0028F814 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802928B8 0028F818 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802928BC 0028F81C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802928C0 0028F820 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802928C4 0028F824 7C 08 03 A6 */ mtlr r0 +/* 802928C8 0028F828 38 21 00 20 */ addi r1, r1, 0x20 +/* 802928CC 0028F82C 4E 80 00 20 */ blr + +.global Accept__11CPhazonPoolFR8IVisitor +Accept__11CPhazonPoolFR8IVisitor: +/* 802928D0 0028F830 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802928D4 0028F834 7C 08 02 A6 */ mflr r0 +/* 802928D8 0028F838 90 01 00 14 */ stw r0, 0x14(r1) +/* 802928DC 0028F83C 7C 60 1B 78 */ mr r0, r3 +/* 802928E0 0028F840 7C 83 23 78 */ mr r3, r4 +/* 802928E4 0028F844 81 84 00 00 */ lwz r12, 0(r4) +/* 802928E8 0028F848 7C 04 03 78 */ mr r4, r0 +/* 802928EC 0028F84C 81 8C 00 CC */ lwz r12, 0xcc(r12) +/* 802928F0 0028F850 7D 89 03 A6 */ mtctr r12 +/* 802928F4 0028F854 4E 80 04 21 */ bctrl +/* 802928F8 0028F858 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802928FC 0028F85C 7C 08 03 A6 */ mtlr r0 +/* 80292900 0028F860 38 21 00 10 */ addi r1, r1, 0x10 +/* 80292904 0028F864 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80292908 0028F868 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8029290C 0028F86C 7C 08 02 A6 */ mflr r0 +/* 80292910 0028F870 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80292914 0028F874 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 80292918 0028F878 7C DF 33 78 */ mr r31, r6 +/* 8029291C 0028F87C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 80292920 0028F880 7C BE 2B 78 */ mr r30, r5 +/* 80292924 0028F884 93 A1 00 94 */ stw r29, 0x94(r1) +/* 80292928 0028F888 7C 9D 23 78 */ mr r29, r4 +/* 8029292C 0028F88C 28 1D 00 22 */ cmplwi r29, 0x22 +/* 80292930 0028F890 93 81 00 90 */ stw r28, 0x90(r1) +/* 80292934 0028F894 7C 7C 1B 78 */ mr r28, r3 +/* 80292938 0028F898 41 81 02 00 */ bgt lbl_80292B38 +/* 8029293C 0028F89C 3C 80 80 3F */ lis r4, lbl_803EBBC4@ha +/* 80292940 0028F8A0 57 A0 10 3A */ slwi r0, r29, 2 +/* 80292944 0028F8A4 38 84 BB C4 */ addi r4, r4, lbl_803EBBC4@l +/* 80292948 0028F8A8 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8029294C 0028F8AC 7C 09 03 A6 */ mtctr r0 +/* 80292950 0028F8B0 4E 80 04 20 */ bctr +/* 80292954 0028F8B4 80 7C 01 70 */ lwz r3, 0x170(r28) +/* 80292958 0028F8B8 28 03 00 00 */ cmplwi r3, 0 +/* 8029295C 0028F8BC 41 82 00 30 */ beq lbl_8029298C +/* 80292960 0028F8C0 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 80292964 0028F8C4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80292968 0028F8C8 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8029296C 0028F8CC C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80292970 0028F8D0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80292974 0028F8D4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80292978 0028F8D8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8029297C 0028F8DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80292980 0028F8E0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80292984 0028F8E4 7D 89 03 A6 */ mtctr r12 +/* 80292988 0028F8E8 4E 80 04 21 */ bctrl +lbl_8029298C: +/* 8029298C 0028F8EC 80 9C 01 68 */ lwz r4, 0x168(r28) +/* 80292990 0028F8F0 28 04 00 00 */ cmplwi r4, 0 +/* 80292994 0028F8F4 41 82 00 14 */ beq lbl_802929A8 +/* 80292998 0028F8F8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8029299C 0028F8FC 4B E8 2C 29 */ bl GetBounds__10CModelDataCFv +/* 802929A0 0028F900 38 E1 00 78 */ addi r7, r1, 0x78 +/* 802929A4 0028F904 48 00 00 64 */ b lbl_80292A08 +lbl_802929A8: +/* 802929A8 0028F908 C0 BC 01 94 */ lfs f5, 0x194(r28) +/* 802929AC 0028F90C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802929B0 0028F910 C0 9C 01 98 */ lfs f4, 0x198(r28) +/* 802929B4 0028F914 38 81 00 24 */ addi r4, r1, 0x24 +/* 802929B8 0028F918 C0 7C 01 90 */ lfs f3, 0x190(r28) +/* 802929BC 0028F91C FC 40 28 50 */ fneg f2, f5 +/* 802929C0 0028F920 C0 C2 BF 18 */ lfs f6, lbl_805ADC38@sda21(r2) +/* 802929C4 0028F924 FC 20 20 50 */ fneg f1, f4 +/* 802929C8 0028F928 FC 00 18 50 */ fneg f0, f3 +/* 802929CC 0028F92C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802929D0 0028F930 EC A6 01 72 */ fmuls f5, f6, f5 +/* 802929D4 0028F934 EC 86 01 32 */ fmuls f4, f6, f4 +/* 802929D8 0028F938 EC 66 00 F2 */ fmuls f3, f6, f3 +/* 802929DC 0028F93C EC 46 00 B2 */ fmuls f2, f6, f2 +/* 802929E0 0028F940 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802929E4 0028F944 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802929E8 0028F948 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802929EC 0028F94C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802929F0 0028F950 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802929F4 0028F954 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802929F8 0028F958 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802929FC 0028F95C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80292A00 0028F960 48 0A 5B 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80292A04 0028F964 7C 67 1B 78 */ mr r7, r3 +lbl_80292A08: +/* 80292A08 0028F968 80 C7 00 00 */ lwz r6, 0(r7) +/* 80292A0C 0028F96C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80292A10 0028F970 80 07 00 04 */ lwz r0, 4(r7) +/* 80292A14 0028F974 38 81 00 18 */ addi r4, r1, 0x18 +/* 80292A18 0028F978 38 A1 00 0C */ addi r5, r1, 0xc +/* 80292A1C 0028F97C 90 DC 01 78 */ stw r6, 0x178(r28) +/* 80292A20 0028F980 90 1C 01 7C */ stw r0, 0x17c(r28) +/* 80292A24 0028F984 80 07 00 08 */ lwz r0, 8(r7) +/* 80292A28 0028F988 90 1C 01 80 */ stw r0, 0x180(r28) +/* 80292A2C 0028F98C 80 C7 00 0C */ lwz r6, 0xc(r7) +/* 80292A30 0028F990 80 07 00 10 */ lwz r0, 0x10(r7) +/* 80292A34 0028F994 90 DC 01 84 */ stw r6, 0x184(r28) +/* 80292A38 0028F998 90 1C 01 88 */ stw r0, 0x188(r28) +/* 80292A3C 0028F99C 80 07 00 14 */ lwz r0, 0x14(r7) +/* 80292A40 0028F9A0 90 1C 01 8C */ stw r0, 0x18c(r28) +/* 80292A44 0028F9A4 C0 1C 01 8C */ lfs f0, 0x18c(r28) +/* 80292A48 0028F9A8 C0 BC 01 98 */ lfs f5, 0x198(r28) +/* 80292A4C 0028F9AC C0 3C 01 88 */ lfs f1, 0x188(r28) +/* 80292A50 0028F9B0 C0 9C 01 94 */ lfs f4, 0x194(r28) +/* 80292A54 0028F9B4 EC 40 01 72 */ fmuls f2, f0, f5 +/* 80292A58 0028F9B8 C0 1C 01 84 */ lfs f0, 0x184(r28) +/* 80292A5C 0028F9BC C0 7C 01 90 */ lfs f3, 0x190(r28) +/* 80292A60 0028F9C0 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80292A64 0028F9C4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80292A68 0028F9C8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80292A6C 0028F9CC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80292A70 0028F9D0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80292A74 0028F9D4 C0 5C 01 80 */ lfs f2, 0x180(r28) +/* 80292A78 0028F9D8 C0 3C 01 7C */ lfs f1, 0x17c(r28) +/* 80292A7C 0028F9DC C0 1C 01 78 */ lfs f0, 0x178(r28) +/* 80292A80 0028F9E0 EC 42 01 72 */ fmuls f2, f2, f5 +/* 80292A84 0028F9E4 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80292A88 0028F9E8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80292A8C 0028F9EC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80292A90 0028F9F0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80292A94 0028F9F4 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80292A98 0028F9F8 48 0A 5A 71 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80292A9C 0028F9FC 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80292AA0 0028FA00 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80292AA4 0028FA04 90 7C 01 30 */ stw r3, 0x130(r28) +/* 80292AA8 0028FA08 90 1C 01 34 */ stw r0, 0x134(r28) +/* 80292AAC 0028FA0C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 80292AB0 0028FA10 90 1C 01 38 */ stw r0, 0x138(r28) +/* 80292AB4 0028FA14 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80292AB8 0028FA18 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80292ABC 0028FA1C 90 7C 01 3C */ stw r3, 0x13c(r28) +/* 80292AC0 0028FA20 90 1C 01 40 */ stw r0, 0x140(r28) +/* 80292AC4 0028FA24 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80292AC8 0028FA28 90 1C 01 44 */ stw r0, 0x144(r28) +/* 80292ACC 0028FA2C 48 00 00 6C */ b lbl_80292B38 +/* 80292AD0 0028FA30 80 1C 01 DC */ lwz r0, 0x1dc(r28) +/* 80292AD4 0028FA34 2C 00 00 02 */ cmpwi r0, 2 +/* 80292AD8 0028FA38 40 82 00 60 */ bne lbl_80292B38 +/* 80292ADC 0028FA3C C0 3C 01 CC */ lfs f1, 0x1cc(r28) +/* 80292AE0 0028FA40 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 80292AE4 0028FA44 EC 01 00 2A */ fadds f0, f1, f0 +/* 80292AE8 0028FA48 D0 1C 01 CC */ stfs f0, 0x1cc(r28) +/* 80292AEC 0028FA4C 48 00 00 4C */ b lbl_80292B38 +/* 80292AF0 0028FA50 7F 83 E3 78 */ mr r3, r28 +/* 80292AF4 0028FA54 7F E4 FB 78 */ mr r4, r31 +/* 80292AF8 0028FA58 48 00 07 15 */ bl sub_8029320c +/* 80292AFC 0028FA5C 48 00 00 3C */ b lbl_80292B38 +/* 80292B00 0028FA60 88 9C 01 E0 */ lbz r4, 0x1e0(r28) +/* 80292B04 0028FA64 54 80 D7 FE */ rlwinm r0, r4, 0x1a, 0x1f, 0x1f +/* 80292B08 0028FA68 28 00 00 01 */ cmplwi r0, 1 +/* 80292B0C 0028FA6C 41 82 00 2C */ beq lbl_80292B38 +/* 80292B10 0028FA70 38 00 00 01 */ li r0, 1 +/* 80292B14 0028FA74 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292B18 0028FA78 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 80292B1C 0028FA7C 98 9C 01 E0 */ stb r4, 0x1e0(r28) +/* 80292B20 0028FA80 38 80 00 00 */ li r4, 0 +/* 80292B24 0028FA84 D0 1C 01 C4 */ stfs f0, 0x1c4(r28) +/* 80292B28 0028FA88 4B FF FA B9 */ bl sub_802925e0 +/* 80292B2C 0028FA8C 48 00 00 0C */ b lbl_80292B38 +/* 80292B30 0028FA90 7F E4 FB 78 */ mr r4, r31 +/* 80292B34 0028FA94 4B FF FA E5 */ bl sub_80292618 +lbl_80292B38: +/* 80292B38 0028FA98 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80292B3C 0028FA9C 7F 83 E3 78 */ mr r3, r28 +/* 80292B40 0028FAA0 7F A4 EB 78 */ mr r4, r29 +/* 80292B44 0028FAA4 7F E6 FB 78 */ mr r6, r31 +/* 80292B48 0028FAA8 B0 01 00 08 */ sth r0, 8(r1) +/* 80292B4C 0028FAAC 38 A1 00 08 */ addi r5, r1, 8 +/* 80292B50 0028FAB0 4B DE 39 A9 */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80292B54 0028FAB4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80292B58 0028FAB8 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80292B5C 0028FABC 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80292B60 0028FAC0 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 80292B64 0028FAC4 83 81 00 90 */ lwz r28, 0x90(r1) +/* 80292B68 0028FAC8 7C 08 03 A6 */ mtlr r0 +/* 80292B6C 0028FACC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80292B70 0028FAD0 4E 80 00 20 */ blr + +.global GetTouchBounds__11CPhazonPoolCFv +GetTouchBounds__11CPhazonPoolCFv: +/* 80292B74 0028FAD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80292B78 0028FAD8 7C 08 02 A6 */ mflr r0 +/* 80292B7C 0028FADC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80292B80 0028FAE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80292B84 0028FAE4 7C 7F 1B 78 */ mr r31, r3 +/* 80292B88 0028FAE8 4B DE 3A BD */ bl GetTouchBounds__14CScriptTriggerCFv +/* 80292B8C 0028FAEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80292B90 0028FAF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80292B94 0028FAF4 7C 08 03 A6 */ mtlr r0 +/* 80292B98 0028FAF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80292B9C 0028FAFC 4E 80 00 20 */ blr + +.global Touch__11CPhazonPoolFR6CActorR13CStateManager +Touch__11CPhazonPoolFR6CActorR13CStateManager: +/* 80292BA0 0028FB00 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80292BA4 0028FB04 7C 08 02 A6 */ mflr r0 +/* 80292BA8 0028FB08 90 01 00 74 */ stw r0, 0x74(r1) +/* 80292BAC 0028FB0C BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80292BB0 0028FB10 7C 7D 1B 78 */ mr r29, r3 +/* 80292BB4 0028FB14 7C 9E 23 78 */ mr r30, r4 +/* 80292BB8 0028FB18 7C BF 2B 78 */ mr r31, r5 +/* 80292BBC 0028FB1C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80292BC0 0028FB20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80292BC4 0028FB24 41 82 01 88 */ beq lbl_80292D4C +/* 80292BC8 0028FB28 80 1D 01 DC */ lwz r0, 0x1dc(r29) +/* 80292BCC 0028FB2C 2C 00 00 02 */ cmpwi r0, 2 +/* 80292BD0 0028FB30 41 82 00 08 */ beq lbl_80292BD8 +/* 80292BD4 0028FB34 48 00 01 78 */ b lbl_80292D4C +lbl_80292BD8: +/* 80292BD8 0028FB38 4B DE 3B 71 */ bl Touch__14CScriptTriggerFR6CActorR13CStateManager +/* 80292BDC 0028FB3C 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 80292BE0 0028FB40 38 00 00 04 */ li r0, 4 +/* 80292BE4 0028FB44 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 80292BE8 0028FB48 38 80 00 00 */ li r4, 0 +/* 80292BEC 0028FB4C 7C 60 00 38 */ and r0, r3, r0 +/* 80292BF0 0028FB50 7C A3 20 38 */ and r3, r5, r4 +/* 80292BF4 0028FB54 7C 63 22 78 */ xor r3, r3, r4 +/* 80292BF8 0028FB58 7C 00 22 78 */ xor r0, r0, r4 +/* 80292BFC 0028FB5C 7C 60 03 79 */ or. r0, r3, r0 +/* 80292C00 0028FB60 40 82 01 4C */ bne lbl_80292D4C +/* 80292C04 0028FB64 80 9D 01 54 */ lwz r4, 0x154(r29) +/* 80292C08 0028FB68 80 BD 01 58 */ lwz r5, 0x158(r29) +/* 80292C0C 0028FB6C 48 00 00 24 */ b lbl_80292C30 +lbl_80292C10: +/* 80292C10 0028FB70 A0 64 00 08 */ lhz r3, 8(r4) +/* 80292C14 0028FB74 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80292C18 0028FB78 7C 03 00 40 */ cmplw r3, r0 +/* 80292C1C 0028FB7C 40 82 00 10 */ bne lbl_80292C2C +/* 80292C20 0028FB80 38 00 00 01 */ li r0, 1 +/* 80292C24 0028FB84 98 04 00 0A */ stb r0, 0xa(r4) +/* 80292C28 0028FB88 48 00 01 24 */ b lbl_80292D4C +lbl_80292C2C: +/* 80292C2C 0028FB8C 80 84 00 04 */ lwz r4, 4(r4) +lbl_80292C30: +/* 80292C30 0028FB90 7C 04 28 40 */ cmplw r4, r5 +/* 80292C34 0028FB94 40 82 FF DC */ bne lbl_80292C10 +/* 80292C38 0028FB98 7F C4 F3 78 */ mr r4, r30 +/* 80292C3C 0028FB9C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80292C40 0028FBA0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80292C44 0028FBA4 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80292C48 0028FBA8 7D 89 03 A6 */ mtctr r12 +/* 80292C4C 0028FBAC 4E 80 04 21 */ bctrl +/* 80292C50 0028FBB0 88 01 00 28 */ lbz r0, 0x28(r1) +/* 80292C54 0028FBB4 28 00 00 00 */ cmplwi r0, 0 +/* 80292C58 0028FBB8 98 01 00 44 */ stb r0, 0x44(r1) +/* 80292C5C 0028FBBC 41 82 00 3C */ beq lbl_80292C98 +/* 80292C60 0028FBC0 34 61 00 2C */ addic. r3, r1, 0x2c +/* 80292C64 0028FBC4 41 82 00 34 */ beq lbl_80292C98 +/* 80292C68 0028FBC8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80292C6C 0028FBCC D0 03 00 00 */ stfs f0, 0(r3) +/* 80292C70 0028FBD0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80292C74 0028FBD4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80292C78 0028FBD8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80292C7C 0028FBDC D0 03 00 08 */ stfs f0, 8(r3) +/* 80292C80 0028FBE0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80292C84 0028FBE4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80292C88 0028FBE8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80292C8C 0028FBEC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80292C90 0028FBF0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80292C94 0028FBF4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80292C98: +/* 80292C98 0028FBF8 88 01 00 44 */ lbz r0, 0x44(r1) +/* 80292C9C 0028FBFC 38 60 00 00 */ li r3, 0 +/* 80292CA0 0028FC00 98 61 00 28 */ stb r3, 0x28(r1) +/* 80292CA4 0028FC04 28 00 00 00 */ cmplwi r0, 0 +/* 80292CA8 0028FC08 40 82 00 0C */ bne lbl_80292CB4 +/* 80292CAC 0028FC0C 98 61 00 44 */ stb r3, 0x44(r1) +/* 80292CB0 0028FC10 48 00 00 9C */ b lbl_80292D4C +lbl_80292CB4: +/* 80292CB4 0028FC14 83 7D 01 58 */ lwz r27, 0x158(r29) +/* 80292CB8 0028FC18 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 80292CBC 0028FC1C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 80292CC0 0028FC20 A3 3E 00 08 */ lhz r25, 8(r30) +/* 80292CC4 0028FC24 8B 8D 99 C0 */ lbz r28, lbl_805A8580@sda21(r13) +/* 80292CC8 0028FC28 38 60 00 0C */ li r3, 0xc +/* 80292CCC 0028FC2C 83 5B 00 00 */ lwz r26, 0(r27) +/* 80292CD0 0028FC30 38 A0 00 00 */ li r5, 0 +/* 80292CD4 0028FC34 48 08 2B 45 */ bl __nwa__FUlPCcPCc +/* 80292CD8 0028FC38 28 03 00 00 */ cmplwi r3, 0 +/* 80292CDC 0028FC3C 41 82 00 0C */ beq lbl_80292CE8 +/* 80292CE0 0028FC40 93 43 00 00 */ stw r26, 0(r3) +/* 80292CE4 0028FC44 93 63 00 04 */ stw r27, 4(r3) +lbl_80292CE8: +/* 80292CE8 0028FC48 34 83 00 08 */ addic. r4, r3, 8 +/* 80292CEC 0028FC4C 41 82 00 0C */ beq lbl_80292CF8 +/* 80292CF0 0028FC50 B3 24 00 00 */ sth r25, 0(r4) +/* 80292CF4 0028FC54 9B 84 00 02 */ stb r28, 2(r4) +lbl_80292CF8: +/* 80292CF8 0028FC58 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80292CFC 0028FC5C 7C 1B 00 40 */ cmplw r27, r0 +/* 80292D00 0028FC60 40 82 00 08 */ bne lbl_80292D08 +/* 80292D04 0028FC64 90 7D 01 54 */ stw r3, 0x154(r29) +lbl_80292D08: +/* 80292D08 0028FC68 80 E3 00 00 */ lwz r7, 0(r3) +/* 80292D0C 0028FC6C 7F C4 F3 78 */ mr r4, r30 +/* 80292D10 0028FC70 38 A1 00 0C */ addi r5, r1, 0xc +/* 80292D14 0028FC74 38 C0 00 2D */ li r6, 0x2d +/* 80292D18 0028FC78 90 67 00 04 */ stw r3, 4(r7) +/* 80292D1C 0028FC7C 80 E3 00 04 */ lwz r7, 4(r3) +/* 80292D20 0028FC80 90 67 00 00 */ stw r3, 0(r7) +/* 80292D24 0028FC84 7F E3 FB 78 */ mr r3, r31 +/* 80292D28 0028FC88 80 FD 01 64 */ lwz r7, 0x164(r29) +/* 80292D2C 0028FC8C 38 07 00 01 */ addi r0, r7, 1 +/* 80292D30 0028FC90 90 1D 01 64 */ stw r0, 0x164(r29) +/* 80292D34 0028FC94 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80292D38 0028FC98 B0 01 00 08 */ sth r0, 8(r1) +/* 80292D3C 0028FC9C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80292D40 0028FCA0 4B DB 11 91 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80292D44 0028FCA4 38 00 00 00 */ li r0, 0 +/* 80292D48 0028FCA8 98 01 00 44 */ stb r0, 0x44(r1) +lbl_80292D4C: +/* 80292D4C 0028FCAC BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80292D50 0028FCB0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80292D54 0028FCB4 7C 08 03 A6 */ mtlr r0 +/* 80292D58 0028FCB8 38 21 00 70 */ addi r1, r1, 0x70 +/* 80292D5C 0028FCBC 4E 80 00 20 */ blr + +.global Think__11CPhazonPoolFfR13CStateManager +Think__11CPhazonPoolFfR13CStateManager: +/* 80292D60 0028FCC0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80292D64 0028FCC4 7C 08 02 A6 */ mflr r0 +/* 80292D68 0028FCC8 90 01 01 04 */ stw r0, 0x104(r1) +/* 80292D6C 0028FCCC DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 80292D70 0028FCD0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 80292D74 0028FCD4 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 80292D78 0028FCD8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 80292D7C 0028FCDC DB A1 00 D0 */ stfd f29, 0xd0(r1) +/* 80292D80 0028FCE0 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 +/* 80292D84 0028FCE4 DB 81 00 C0 */ stfd f28, 0xc0(r1) +/* 80292D88 0028FCE8 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 +/* 80292D8C 0028FCEC 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 80292D90 0028FCF0 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 80292D94 0028FCF4 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 80292D98 0028FCF8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80292D9C 0028FCFC FF C0 08 90 */ fmr f30, f1 +/* 80292DA0 0028FD00 7C 7E 1B 78 */ mr r30, r3 +/* 80292DA4 0028FD04 7C 9F 23 78 */ mr r31, r4 +/* 80292DA8 0028FD08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80292DAC 0028FD0C 41 82 04 24 */ beq lbl_802931D0 +/* 80292DB0 0028FD10 4B DE 37 1D */ bl Think__14CScriptTriggerFfR13CStateManager +/* 80292DB4 0028FD14 7F C3 F3 78 */ mr r3, r30 +/* 80292DB8 0028FD18 7F E4 FB 78 */ mr r4, r31 +/* 80292DBC 0028FD1C 4B FF F8 FD */ bl UpdateInhabitants__11CPhazonPoolFR13CStateManager +/* 80292DC0 0028FD20 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80292DC4 0028FD24 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80292DC8 0028FD28 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80292DCC 0028FD2C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80292DD0 0028FD30 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80292DD4 0028FD34 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80292DD8 0028FD38 80 1E 01 DC */ lwz r0, 0x1dc(r30) +/* 80292DDC 0028FD3C 2C 00 00 01 */ cmpwi r0, 1 +/* 80292DE0 0028FD40 40 82 00 0C */ bne lbl_80292DEC +/* 80292DE4 0028FD44 C0 7E 01 A4 */ lfs f3, 0x1a4(r30) +/* 80292DE8 0028FD48 48 00 00 08 */ b lbl_80292DF0 +lbl_80292DEC: +/* 80292DEC 0028FD4C C0 62 BF 1C */ lfs f3, lbl_805ADC3C@sda21(r2) +lbl_80292DF0: +/* 80292DF0 0028FD50 C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 80292DF4 0028FD54 38 61 00 80 */ addi r3, r1, 0x80 +/* 80292DF8 0028FD58 C0 5E 01 94 */ lfs f2, 0x194(r30) +/* 80292DFC 0028FD5C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80292E00 0028FD60 C0 3E 01 98 */ lfs f1, 0x198(r30) +/* 80292E04 0028FD64 EF E3 00 32 */ fmuls f31, f3, f0 +/* 80292E08 0028FD68 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292E0C 0028FD6C EF 83 00 B2 */ fmuls f28, f3, f2 +/* 80292E10 0028FD70 EF A3 00 72 */ fmuls f29, f3, f1 +/* 80292E14 0028FD74 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80292E18 0028FD78 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80292E1C 0028FD7C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80292E20 0028FD80 38 E1 00 5C */ addi r7, r1, 0x5c +/* 80292E24 0028FD84 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80292E28 0028FD88 D3 A1 00 40 */ stfs f29, 0x40(r1) +/* 80292E2C 0028FD8C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80292E30 0028FD90 D3 81 00 48 */ stfs f28, 0x48(r1) +/* 80292E34 0028FD94 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80292E38 0028FD98 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 80292E3C 0028FD9C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80292E40 0028FDA0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80292E44 0028FDA4 48 07 FF B5 */ bl FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 80292E48 0028FDA8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80292E4C 0028FDAC 38 81 00 80 */ addi r4, r1, 0x80 +/* 80292E50 0028FDB0 48 07 FC F1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80292E54 0028FDB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80292E58 0028FDB8 38 C0 00 01 */ li r6, 1 +/* 80292E5C 0028FDBC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80292E60 0028FDC0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80292E64 0028FDC4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80292E68 0028FDC8 38 81 00 2C */ addi r4, r1, 0x2c +/* 80292E6C 0028FDCC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80292E70 0028FDD0 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80292E74 0028FDD4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 80292E78 0028FDD8 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80292E7C 0028FDDC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80292E80 0028FDE0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80292E84 0028FDE4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80292E88 0028FDE8 C0 5E 01 8C */ lfs f2, 0x18c(r30) +/* 80292E8C 0028FDEC C0 3E 01 88 */ lfs f1, 0x188(r30) +/* 80292E90 0028FDF0 C0 1E 01 84 */ lfs f0, 0x184(r30) +/* 80292E94 0028FDF4 EC 42 07 72 */ fmuls f2, f2, f29 +/* 80292E98 0028FDF8 EC 21 07 32 */ fmuls f1, f1, f28 +/* 80292E9C 0028FDFC EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80292EA0 0028FE00 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80292EA4 0028FE04 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80292EA8 0028FE08 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80292EAC 0028FE0C C0 5E 01 80 */ lfs f2, 0x180(r30) +/* 80292EB0 0028FE10 C0 3E 01 7C */ lfs f1, 0x17c(r30) +/* 80292EB4 0028FE14 C0 1E 01 78 */ lfs f0, 0x178(r30) +/* 80292EB8 0028FE18 EC 42 07 72 */ fmuls f2, f2, f29 +/* 80292EBC 0028FE1C EC 21 07 32 */ fmuls f1, f1, f28 +/* 80292EC0 0028FE20 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80292EC4 0028FE24 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80292EC8 0028FE28 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80292ECC 0028FE2C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80292ED0 0028FE30 48 0A 56 39 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80292ED4 0028FE34 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80292ED8 0028FE38 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80292EDC 0028FE3C C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2) +/* 80292EE0 0028FE40 90 7E 01 30 */ stw r3, 0x130(r30) +/* 80292EE4 0028FE44 90 1E 01 34 */ stw r0, 0x134(r30) +/* 80292EE8 0028FE48 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80292EEC 0028FE4C 90 1E 01 38 */ stw r0, 0x138(r30) +/* 80292EF0 0028FE50 80 61 00 74 */ lwz r3, 0x74(r1) +/* 80292EF4 0028FE54 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80292EF8 0028FE58 90 7E 01 3C */ stw r3, 0x13c(r30) +/* 80292EFC 0028FE5C 90 1E 01 40 */ stw r0, 0x140(r30) +/* 80292F00 0028FE60 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80292F04 0028FE64 90 1E 01 44 */ stw r0, 0x144(r30) +/* 80292F08 0028FE68 C0 5E 01 B0 */ lfs f2, 0x1b0(r30) +/* 80292F0C 0028FE6C C0 3E 01 A8 */ lfs f1, 0x1a8(r30) +/* 80292F10 0028FE70 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80292F14 0028FE74 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) +/* 80292F18 0028FE78 C0 5E 01 B4 */ lfs f2, 0x1b4(r30) +/* 80292F1C 0028FE7C C0 3E 01 AC */ lfs f1, 0x1ac(r30) +/* 80292F20 0028FE80 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80292F24 0028FE84 D0 3E 01 AC */ stfs f1, 0x1ac(r30) +/* 80292F28 0028FE88 C0 3E 01 A8 */ lfs f1, 0x1a8(r30) +/* 80292F2C 0028FE8C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80292F30 0028FE90 40 81 00 0C */ ble lbl_80292F3C +/* 80292F34 0028FE94 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292F38 0028FE98 D0 1E 01 A8 */ stfs f0, 0x1a8(r30) +lbl_80292F3C: +/* 80292F3C 0028FE9C C0 3E 01 AC */ lfs f1, 0x1ac(r30) +/* 80292F40 0028FEA0 C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2) +/* 80292F44 0028FEA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80292F48 0028FEA8 40 81 00 0C */ ble lbl_80292F54 +/* 80292F4C 0028FEAC C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292F50 0028FEB0 D0 1E 01 AC */ stfs f0, 0x1ac(r30) +lbl_80292F54: +/* 80292F54 0028FEB4 83 BE 01 70 */ lwz r29, 0x170(r30) +/* 80292F58 0028FEB8 28 1D 00 00 */ cmplwi r29, 0 +/* 80292F5C 0028FEBC 41 82 00 70 */ beq lbl_80292FCC +/* 80292F60 0028FEC0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 80292F64 0028FEC4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80292F68 0028FEC8 FC 40 08 90 */ fmr f2, f1 +/* 80292F6C 0028FECC FC 60 08 90 */ fmr f3, f1 +/* 80292F70 0028FED0 FC 80 08 90 */ fmr f4, f1 +/* 80292F74 0028FED4 48 0D 04 79 */ bl __ct__6CColorFffff +/* 80292F78 0028FED8 81 9D 00 00 */ lwz r12, 0(r29) +/* 80292F7C 0028FEDC 7C 64 1B 78 */ mr r4, r3 +/* 80292F80 0028FEE0 7F A3 EB 78 */ mr r3, r29 +/* 80292F84 0028FEE4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80292F88 0028FEE8 7D 89 03 A6 */ mtctr r12 +/* 80292F8C 0028FEEC 4E 80 04 21 */ bctrl +/* 80292F90 0028FEF0 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 80292F94 0028FEF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80292F98 0028FEF8 D3 E1 00 18 */ stfs f31, 0x18(r1) +/* 80292F9C 0028FEFC D3 E1 00 1C */ stfs f31, 0x1c(r1) +/* 80292FA0 0028FF00 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 80292FA4 0028FF04 81 83 00 00 */ lwz r12, 0(r3) +/* 80292FA8 0028FF08 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80292FAC 0028FF0C 7D 89 03 A6 */ mtctr r12 +/* 80292FB0 0028FF10 4E 80 04 21 */ bctrl +/* 80292FB4 0028FF14 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 80292FB8 0028FF18 FC 20 F0 90 */ fmr f1, f30 +/* 80292FBC 0028FF1C 81 83 00 00 */ lwz r12, 0(r3) +/* 80292FC0 0028FF20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80292FC4 0028FF24 7D 89 03 A6 */ mtctr r12 +/* 80292FC8 0028FF28 4E 80 04 21 */ bctrl +lbl_80292FCC: +/* 80292FCC 0028FF2C 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80292FD0 0028FF30 28 03 00 00 */ cmplwi r3, 0 +/* 80292FD4 0028FF34 41 82 00 18 */ beq lbl_80292FEC +/* 80292FD8 0028FF38 81 83 00 00 */ lwz r12, 0(r3) +/* 80292FDC 0028FF3C FC 20 F0 90 */ fmr f1, f30 +/* 80292FE0 0028FF40 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80292FE4 0028FF44 7D 89 03 A6 */ mtctr r12 +/* 80292FE8 0028FF48 4E 80 04 21 */ bctrl +lbl_80292FEC: +/* 80292FEC 0028FF4C 80 1E 01 DC */ lwz r0, 0x1dc(r30) +/* 80292FF0 0028FF50 3B A0 00 00 */ li r29, 0 +/* 80292FF4 0028FF54 2C 00 00 02 */ cmpwi r0, 2 +/* 80292FF8 0028FF58 41 82 00 9C */ beq lbl_80293094 +/* 80292FFC 0028FF5C 40 80 00 10 */ bge lbl_8029300C +/* 80293000 0028FF60 2C 00 00 01 */ cmpwi r0, 1 +/* 80293004 0028FF64 40 80 00 14 */ bge lbl_80293018 +/* 80293008 0028FF68 48 00 01 A8 */ b lbl_802931B0 +lbl_8029300C: +/* 8029300C 0028FF6C 2C 00 00 04 */ cmpwi r0, 4 +/* 80293010 0028FF70 40 80 01 A0 */ bge lbl_802931B0 +/* 80293014 0028FF74 48 00 01 6C */ b lbl_80293180 +lbl_80293018: +/* 80293018 0028FF78 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 8029301C 0028FF7C C0 02 BF 28 */ lfs f0, lbl_805ADC48@sda21(r2) +/* 80293020 0028FF80 EC 21 F0 2A */ fadds f1, f1, f30 +/* 80293024 0028FF84 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) +/* 80293028 0028FF88 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 8029302C 0028FF8C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293030 0028FF90 40 81 01 80 */ ble lbl_802931B0 +/* 80293034 0028FF94 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 80293038 0028FF98 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 8029303C 0028FF9C C0 5E 01 B8 */ lfs f2, 0x1b8(r30) +/* 80293040 0028FFA0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 80293044 0028FFA4 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80293048 0028FFA8 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) +/* 8029304C 0028FFAC C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 80293050 0028FFB0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293054 0028FFB4 40 81 01 5C */ ble lbl_802931B0 +/* 80293058 0028FFB8 D0 1E 01 A4 */ stfs f0, 0x1a4(r30) +/* 8029305C 0028FFBC 38 00 00 02 */ li r0, 2 +/* 80293060 0028FFC0 7F C3 F3 78 */ mr r3, r30 +/* 80293064 0028FFC4 38 80 00 01 */ li r4, 1 +/* 80293068 0028FFC8 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 8029306C 0028FFCC 4B FF F5 75 */ bl sub_802925e0 +/* 80293070 0028FFD0 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80293074 0028FFD4 28 03 00 00 */ cmplwi r3, 0 +/* 80293078 0028FFD8 41 82 01 38 */ beq lbl_802931B0 +/* 8029307C 0028FFDC 81 83 00 00 */ lwz r12, 0(r3) +/* 80293080 0028FFE0 38 80 00 00 */ li r4, 0 +/* 80293084 0028FFE4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80293088 0028FFE8 7D 89 03 A6 */ mtctr r12 +/* 8029308C 0028FFEC 4E 80 04 21 */ bctrl +/* 80293090 0028FFF0 48 00 01 20 */ b lbl_802931B0 +lbl_80293094: +/* 80293094 0028FFF4 88 7E 01 E0 */ lbz r3, 0x1e0(r30) +/* 80293098 0028FFF8 C0 82 BF 20 */ lfs f4, lbl_805ADC40@sda21(r2) +/* 8029309C 0028FFFC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802930A0 00290000 40 82 00 0C */ bne lbl_802930AC +/* 802930A4 00290004 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 802930A8 00290008 41 82 00 2C */ beq lbl_802930D4 +lbl_802930AC: +/* 802930AC 0029000C C0 3E 01 C4 */ lfs f1, 0x1c4(r30) +/* 802930B0 00290010 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 802930B4 00290014 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 802930B8 00290018 D0 3E 01 C4 */ stfs f1, 0x1c4(r30) +/* 802930BC 0029001C C0 3E 01 C4 */ lfs f1, 0x1c4(r30) +/* 802930C0 00290020 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802930C4 00290024 4C 40 13 82 */ cror 2, 0, 2 +/* 802930C8 00290028 40 82 00 0C */ bne lbl_802930D4 +/* 802930CC 0029002C D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 802930D0 00290030 FC 80 F0 90 */ fmr f4, f30 +lbl_802930D4: +/* 802930D4 00290034 C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 802930D8 00290038 C0 5E 01 BC */ lfs f2, 0x1bc(r30) +/* 802930DC 0029003C EC 3E 00 32 */ fmuls f1, f30, f0 +/* 802930E0 00290040 C0 7E 01 A0 */ lfs f3, 0x1a0(r30) +/* 802930E4 00290044 C0 02 BF 2C */ lfs f0, lbl_805ADC4C@sda21(r2) +/* 802930E8 00290048 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802930EC 0029004C EC 21 20 2A */ fadds f1, f1, f4 +/* 802930F0 00290050 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802930F4 00290054 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) +/* 802930F8 00290058 C0 5E 01 A0 */ lfs f2, 0x1a0(r30) +/* 802930FC 0029005C C0 3E 01 9C */ lfs f1, 0x19c(r30) +/* 80293100 00290060 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80293104 00290064 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) +/* 80293108 00290068 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 8029310C 0029006C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293110 00290070 40 80 00 64 */ bge lbl_80293174 +/* 80293114 00290074 88 1E 01 E0 */ lbz r0, 0x1e0(r30) +/* 80293118 00290078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029311C 0029007C 41 82 00 0C */ beq lbl_80293128 +/* 80293120 00290080 3B A0 00 01 */ li r29, 1 +/* 80293124 00290084 48 00 00 44 */ b lbl_80293168 +lbl_80293128: +/* 80293128 00290088 7F C3 F3 78 */ mr r3, r30 +/* 8029312C 0029008C 38 80 00 00 */ li r4, 0 +/* 80293130 00290090 4B DC 12 89 */ bl SetCallTouch__6CActorFb +/* 80293134 00290094 88 1E 01 E0 */ lbz r0, 0x1e0(r30) +/* 80293138 00290098 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029313C 0029009C 40 82 00 18 */ bne lbl_80293154 +/* 80293140 002900A0 38 00 00 03 */ li r0, 3 +/* 80293144 002900A4 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 80293148 002900A8 C0 1E 01 C8 */ lfs f0, 0x1c8(r30) +/* 8029314C 002900AC D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 80293150 002900B0 48 00 00 18 */ b lbl_80293168 +lbl_80293154: +/* 80293154 002900B4 38 00 00 00 */ li r0, 0 +/* 80293158 002900B8 7F C3 F3 78 */ mr r3, r30 +/* 8029315C 002900BC 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 80293160 002900C0 38 80 00 00 */ li r4, 0 +/* 80293164 002900C4 4B DC 06 E9 */ bl SetActive__6CActorFb +lbl_80293168: +/* 80293168 002900C8 7F C3 F3 78 */ mr r3, r30 +/* 8029316C 002900CC 38 80 00 00 */ li r4, 0 +/* 80293170 002900D0 4B FF F4 71 */ bl sub_802925e0 +lbl_80293174: +/* 80293174 002900D4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80293178 002900D8 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 8029317C 002900DC 48 00 00 34 */ b lbl_802931B0 +lbl_80293180: +/* 80293180 002900E0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) +/* 80293184 002900E4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80293188 002900E8 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 8029318C 002900EC D0 3E 01 D0 */ stfs f1, 0x1d0(r30) +/* 80293190 002900F0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) +/* 80293194 002900F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293198 002900F8 4C 40 13 82 */ cror 2, 0, 2 +/* 8029319C 002900FC 40 82 00 14 */ bne lbl_802931B0 +/* 802931A0 00290100 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 802931A4 00290104 7F C3 F3 78 */ mr r3, r30 +/* 802931A8 00290108 7F E4 FB 78 */ mr r4, r31 +/* 802931AC 0029010C 48 00 00 61 */ bl sub_8029320c +lbl_802931B0: +/* 802931B0 00290110 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802931B4 00290114 41 82 00 1C */ beq lbl_802931D0 +/* 802931B8 00290118 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802931BC 0029011C 7F E3 FB 78 */ mr r3, r31 +/* 802931C0 00290120 38 81 00 0C */ addi r4, r1, 0xc +/* 802931C4 00290124 B0 01 00 08 */ sth r0, 8(r1) +/* 802931C8 00290128 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802931CC 0029012C 4B DB 90 A1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_802931D0: +/* 802931D0 00290130 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802931D4 00290134 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802931D8 00290138 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 802931DC 0029013C CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 802931E0 00290140 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 +/* 802931E4 00290144 CB A1 00 D0 */ lfd f29, 0xd0(r1) +/* 802931E8 00290148 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 +/* 802931EC 0029014C CB 81 00 C0 */ lfd f28, 0xc0(r1) +/* 802931F0 00290150 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 802931F4 00290154 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 802931F8 00290158 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802931FC 0029015C 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80293200 00290160 7C 08 03 A6 */ mtlr r0 +/* 80293204 00290164 38 21 01 00 */ addi r1, r1, 0x100 +/* 80293208 00290168 4E 80 00 20 */ blr + +.global sub_8029320c +sub_8029320c: +/* 8029320C 0029016C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80293210 00290170 7C 08 02 A6 */ mflr r0 +/* 80293214 00290174 C0 22 BF 30 */ lfs f1, lbl_805ADC50@sda21(r2) +/* 80293218 00290178 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029321C 0029017C C0 42 BF 18 */ lfs f2, lbl_805ADC38@sda21(r2) +/* 80293220 00290180 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80293224 00290184 7C 9F 23 78 */ mr r31, r4 +/* 80293228 00290188 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029322C 0029018C 7C 7E 1B 78 */ mr r30, r3 +/* 80293230 00290190 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80293234 00290194 48 07 F3 11 */ bl Range__9CRandom16Fff +/* 80293238 00290198 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) +/* 8029323C 0029019C C0 22 BF 34 */ lfs f1, lbl_805ADC54@sda21(r2) +/* 80293240 002901A0 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80293244 002901A4 C0 42 BF 1C */ lfs f2, lbl_805ADC3C@sda21(r2) +/* 80293248 002901A8 48 07 F2 FD */ bl Range__9CRandom16Fff +/* 8029324C 002901AC D0 3E 01 B4 */ stfs f1, 0x1b4(r30) +/* 80293250 002901B0 C0 22 BF 38 */ lfs f1, lbl_805ADC58@sda21(r2) +/* 80293254 002901B4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80293258 002901B8 C0 42 BF 28 */ lfs f2, lbl_805ADC48@sda21(r2) +/* 8029325C 002901BC 48 07 F2 E9 */ bl Range__9CRandom16Fff +/* 80293260 002901C0 D0 3E 01 B8 */ stfs f1, 0x1b8(r30) +/* 80293264 002901C4 38 00 00 01 */ li r0, 1 +/* 80293268 002901C8 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 8029326C 002901CC 38 60 00 00 */ li r3, 0 +/* 80293270 002901D0 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 80293274 002901D4 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 80293278 002901D8 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) +/* 8029327C 002901DC D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 80293280 002901E0 C0 1E 01 9C */ lfs f0, 0x19c(r30) +/* 80293284 002901E4 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) +/* 80293288 002901E8 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 8029328C 002901EC 88 1E 01 E0 */ lbz r0, 0x1e0(r30) +/* 80293290 002901F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80293294 002901F4 98 1E 01 E0 */ stb r0, 0x1e0(r30) +/* 80293298 002901F8 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 8029329C 002901FC 28 03 00 00 */ cmplwi r3, 0 +/* 802932A0 00290200 41 82 00 48 */ beq lbl_802932E8 +/* 802932A4 00290204 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802932A8 00290208 38 81 00 14 */ addi r4, r1, 0x14 +/* 802932AC 0029020C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802932B0 00290210 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802932B4 00290214 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802932B8 00290218 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802932BC 0029021C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802932C0 00290220 81 83 00 00 */ lwz r12, 0(r3) +/* 802932C4 00290224 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802932C8 00290228 7D 89 03 A6 */ mtctr r12 +/* 802932CC 0029022C 4E 80 04 21 */ bctrl +/* 802932D0 00290230 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 802932D4 00290234 38 80 00 00 */ li r4, 0 +/* 802932D8 00290238 81 83 00 00 */ lwz r12, 0(r3) +/* 802932DC 0029023C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802932E0 00290240 7D 89 03 A6 */ mtctr r12 +/* 802932E4 00290244 4E 80 04 21 */ bctrl +lbl_802932E8: +/* 802932E8 00290248 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 802932EC 0029024C 28 03 00 00 */ cmplwi r3, 0 +/* 802932F0 00290250 41 82 00 48 */ beq lbl_80293338 +/* 802932F4 00290254 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802932F8 00290258 38 81 00 08 */ addi r4, r1, 8 +/* 802932FC 0029025C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80293300 00290260 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80293304 00290264 D0 01 00 08 */ stfs f0, 8(r1) +/* 80293308 00290268 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8029330C 0029026C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80293310 00290270 81 83 00 00 */ lwz r12, 0(r3) +/* 80293314 00290274 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80293318 00290278 7D 89 03 A6 */ mtctr r12 +/* 8029331C 0029027C 4E 80 04 21 */ bctrl +/* 80293320 00290280 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80293324 00290284 38 80 00 01 */ li r4, 1 +/* 80293328 00290288 81 83 00 00 */ lwz r12, 0(r3) +/* 8029332C 0029028C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80293330 00290290 7D 89 03 A6 */ mtctr r12 +/* 80293334 00290294 4E 80 04 21 */ bctrl +lbl_80293338: +/* 80293338 00290298 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029333C 0029029C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80293340 002902A0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80293344 002902A4 7C 08 03 A6 */ mtlr r0 +/* 80293348 002902A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029334C 002902AC 4E 80 00 20 */ blr + +.global Render__11CPhazonPoolCFRC13CStateManager +Render__11CPhazonPoolCFRC13CStateManager: +/* 80293350 002902B0 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80293354 002902B4 7C 08 02 A6 */ mflr r0 +/* 80293358 002902B8 90 01 01 64 */ stw r0, 0x164(r1) +/* 8029335C 002902BC BF 61 01 4C */ stmw r27, 0x14c(r1) +/* 80293360 002902C0 7C 7D 1B 78 */ mr r29, r3 +/* 80293364 002902C4 7C 9E 23 78 */ mr r30, r4 +/* 80293368 002902C8 4B DC 14 3D */ bl Render__6CActorCFRC13CStateManager +/* 8029336C 002902CC C0 9D 01 A4 */ lfs f4, 0x1a4(r29) +/* 80293370 002902D0 3B FD 00 34 */ addi r31, r29, 0x34 +/* 80293374 002902D4 C0 02 BF 38 */ lfs f0, lbl_805ADC58@sda21(r2) +/* 80293378 002902D8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8029337C 002902DC 7C C0 00 26 */ mfcr r6 +/* 80293380 002902E0 C0 22 BF 1C */ lfs f1, lbl_805ADC3C@sda21(r2) +/* 80293384 002902E4 38 A0 00 05 */ li r5, 5 +/* 80293388 002902E8 38 80 00 00 */ li r4, 0 +/* 8029338C 002902EC 38 00 00 03 */ li r0, 3 +/* 80293390 002902F0 FC 40 08 90 */ fmr f2, f1 +/* 80293394 002902F4 FC 60 08 90 */ fmr f3, f1 +/* 80293398 002902F8 98 A1 00 18 */ stb r5, 0x18(r1) +/* 8029339C 002902FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 802933A0 00290300 54 DB 17 FE */ rlwinm r27, r6, 2, 0x1f, 0x1f +/* 802933A4 00290304 98 81 00 19 */ stb r4, 0x19(r1) +/* 802933A8 00290308 B0 01 00 1A */ sth r0, 0x1a(r1) +/* 802933AC 0029030C 48 0D 00 41 */ bl __ct__6CColorFffff +/* 802933B0 00290310 A0 61 00 1A */ lhz r3, 0x1a(r1) +/* 802933B4 00290314 57 60 08 3C */ slwi r0, r27, 1 +/* 802933B8 00290318 83 9D 01 68 */ lwz r28, 0x168(r29) +/* 802933BC 0029031C 7F 60 03 78 */ or r0, r27, r0 +/* 802933C0 00290320 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 802933C4 00290324 88 A1 00 18 */ lbz r5, 0x18(r1) +/* 802933C8 00290328 7C 63 03 78 */ or r3, r3, r0 +/* 802933CC 0029032C 88 81 00 19 */ lbz r4, 0x19(r1) +/* 802933D0 00290330 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802933D4 00290334 28 1C 00 00 */ cmplwi r28, 0 +/* 802933D8 00290338 98 A1 00 20 */ stb r5, 0x20(r1) +/* 802933DC 0029033C 98 81 00 21 */ stb r4, 0x21(r1) +/* 802933E0 00290340 B0 61 00 22 */ sth r3, 0x22(r1) +/* 802933E4 00290344 90 01 00 24 */ stw r0, 0x24(r1) +/* 802933E8 00290348 41 82 00 40 */ beq lbl_80293428 +/* 802933EC 0029034C C0 1D 01 AC */ lfs f0, 0x1ac(r29) +/* 802933F0 00290350 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802933F4 00290354 38 81 00 14 */ addi r4, r1, 0x14 +/* 802933F8 00290358 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802933FC 0029035C 48 08 04 15 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 80293400 00290360 7F E4 FB 78 */ mr r4, r31 +/* 80293404 00290364 38 61 01 18 */ addi r3, r1, 0x118 +/* 80293408 00290368 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 8029340C 0029036C 48 07 F5 45 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80293410 00290370 7F 83 E3 78 */ mr r3, r28 +/* 80293414 00290374 7F C4 F3 78 */ mr r4, r30 +/* 80293418 00290378 38 A1 01 18 */ addi r5, r1, 0x118 +/* 8029341C 0029037C 38 E1 00 20 */ addi r7, r1, 0x20 +/* 80293420 00290380 38 C0 00 00 */ li r6, 0 +/* 80293424 00290384 4B E8 19 99 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_80293428: +/* 80293428 00290388 80 1D 01 6C */ lwz r0, 0x16c(r29) +/* 8029342C 0029038C 28 00 00 00 */ cmplwi r0, 0 +/* 80293430 00290390 41 82 00 B4 */ beq lbl_802934E4 +/* 80293434 00290394 C0 3D 01 AC */ lfs f1, 0x1ac(r29) +/* 80293438 00290398 38 61 00 58 */ addi r3, r1, 0x58 +/* 8029343C 0029039C C0 1D 01 A8 */ lfs f0, 0x1a8(r29) +/* 80293440 002903A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80293444 002903A4 D0 21 00 08 */ stfs f1, 8(r1) +/* 80293448 002903A8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8029344C 002903AC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80293450 002903B0 48 07 DC E1 */ bl YRotation__11CQuaternionFRC9CRelAngle +/* 80293454 002903B4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80293458 002903B8 38 81 00 0C */ addi r4, r1, 0xc +/* 8029345C 002903BC 48 07 DD 0D */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 80293460 002903C0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80293464 002903C4 38 81 00 08 */ addi r4, r1, 8 +/* 80293468 002903C8 48 07 DC 91 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8029346C 002903CC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80293470 002903D0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80293474 002903D4 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80293478 002903D8 48 07 DD 29 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8029347C 002903DC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80293480 002903E0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80293484 002903E4 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80293488 002903E8 48 07 DD 19 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8029348C 002903EC C0 61 00 68 */ lfs f3, 0x68(r1) +/* 80293490 002903F0 38 61 00 88 */ addi r3, r1, 0x88 +/* 80293494 002903F4 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80293498 002903F8 38 81 00 78 */ addi r4, r1, 0x78 +/* 8029349C 002903FC C0 21 00 70 */ lfs f1, 0x70(r1) +/* 802934A0 00290400 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802934A4 00290404 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802934A8 00290408 83 9D 01 6C */ lwz r28, 0x16c(r29) +/* 802934AC 0029040C D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802934B0 00290410 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802934B4 00290414 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802934B8 00290418 48 07 EB 01 */ bl BuildTransform4f__11CQuaternionCFv +/* 802934BC 0029041C 7F E4 FB 78 */ mr r4, r31 +/* 802934C0 00290420 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802934C4 00290424 38 A1 00 88 */ addi r5, r1, 0x88 +/* 802934C8 00290428 48 07 F4 89 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802934CC 0029042C 7F 83 E3 78 */ mr r3, r28 +/* 802934D0 00290430 7F C4 F3 78 */ mr r4, r30 +/* 802934D4 00290434 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 802934D8 00290438 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802934DC 0029043C 38 C0 00 00 */ li r6, 0 +/* 802934E0 00290440 4B E8 18 DD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_802934E4: +/* 802934E4 00290444 BB 61 01 4C */ lmw r27, 0x14c(r1) +/* 802934E8 00290448 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802934EC 0029044C 7C 08 03 A6 */ mtlr r0 +/* 802934F0 00290450 38 21 01 60 */ addi r1, r1, 0x160 +/* 802934F4 00290454 4E 80 00 20 */ blr + +.global __dt__11CPhazonPoolFv +__dt__11CPhazonPoolFv: +/* 802934F8 00290458 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802934FC 0029045C 7C 08 02 A6 */ mflr r0 +/* 80293500 00290460 90 01 00 14 */ stw r0, 0x14(r1) +/* 80293504 00290464 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80293508 00290468 7C 9F 23 78 */ mr r31, r4 +/* 8029350C 0029046C 93 C1 00 08 */ stw r30, 8(r1) +/* 80293510 00290470 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80293514 00290474 41 82 00 B0 */ beq lbl_802935C4 +/* 80293518 00290478 3C 60 80 3F */ lis r3, lbl_803EBB48@ha +/* 8029351C 0029047C 34 1E 01 74 */ addic. r0, r30, 0x174 +/* 80293520 00290480 38 03 BB 48 */ addi r0, r3, lbl_803EBB48@l +/* 80293524 00290484 90 1E 00 00 */ stw r0, 0(r30) +/* 80293528 00290488 41 82 00 24 */ beq lbl_8029354C +/* 8029352C 0029048C 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80293530 00290490 28 03 00 00 */ cmplwi r3, 0 +/* 80293534 00290494 41 82 00 18 */ beq lbl_8029354C +/* 80293538 00290498 81 83 00 00 */ lwz r12, 0(r3) +/* 8029353C 0029049C 38 80 00 01 */ li r4, 1 +/* 80293540 002904A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80293544 002904A4 7D 89 03 A6 */ mtctr r12 +/* 80293548 002904A8 4E 80 04 21 */ bctrl +lbl_8029354C: +/* 8029354C 002904AC 34 1E 01 70 */ addic. r0, r30, 0x170 +/* 80293550 002904B0 41 82 00 24 */ beq lbl_80293574 +/* 80293554 002904B4 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 80293558 002904B8 28 03 00 00 */ cmplwi r3, 0 +/* 8029355C 002904BC 41 82 00 18 */ beq lbl_80293574 +/* 80293560 002904C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80293564 002904C4 38 80 00 01 */ li r4, 1 +/* 80293568 002904C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8029356C 002904CC 7D 89 03 A6 */ mtctr r12 +/* 80293570 002904D0 4E 80 04 21 */ bctrl +lbl_80293574: +/* 80293574 002904D4 34 1E 01 6C */ addic. r0, r30, 0x16c +/* 80293578 002904D8 41 82 00 10 */ beq lbl_80293588 +/* 8029357C 002904DC 80 7E 01 6C */ lwz r3, 0x16c(r30) +/* 80293580 002904E0 38 80 00 01 */ li r4, 1 +/* 80293584 002904E4 4B E8 34 C9 */ bl __dt__10CModelDataFv +lbl_80293588: +/* 80293588 002904E8 34 1E 01 68 */ addic. r0, r30, 0x168 +/* 8029358C 002904EC 41 82 00 10 */ beq lbl_8029359C +/* 80293590 002904F0 80 7E 01 68 */ lwz r3, 0x168(r30) +/* 80293594 002904F4 38 80 00 01 */ li r4, 1 +/* 80293598 002904F8 4B E8 34 B5 */ bl __dt__10CModelDataFv +lbl_8029359C: +/* 8029359C 002904FC 38 7E 01 50 */ addi r3, r30, 0x150 +/* 802935A0 00290500 38 80 FF FF */ li r4, -1 +/* 802935A4 00290504 4B E6 E8 E5 */ bl sub_80101e88 +/* 802935A8 00290508 7F C3 F3 78 */ mr r3, r30 +/* 802935AC 0029050C 38 80 00 00 */ li r4, 0 +/* 802935B0 00290510 4B DE 36 D1 */ bl __dt__14CScriptTriggerFv +/* 802935B4 00290514 7F E0 07 35 */ extsh. r0, r31 +/* 802935B8 00290518 40 81 00 0C */ ble lbl_802935C4 +/* 802935BC 0029051C 7F C3 F3 78 */ mr r3, r30 +/* 802935C0 00290520 48 08 23 71 */ bl Free__7CMemoryFPCv +lbl_802935C4: +/* 802935C4 00290524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802935C8 00290528 7F C3 F3 78 */ mr r3, r30 +/* 802935CC 0029052C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802935D0 00290530 83 C1 00 08 */ lwz r30, 8(r1) +/* 802935D4 00290534 7C 08 03 A6 */ mtlr r0 +/* 802935D8 00290538 38 21 00 10 */ addi r1, r1, 0x10 +/* 802935DC 0029053C 4E 80 00 20 */ blr + +.global __ct__11CPhazonPoolFv +__ct__11CPhazonPoolFv: +/* 802935E0 00290540 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 802935E4 00290544 7C 08 02 A6 */ mflr r0 +/* 802935E8 00290548 90 01 01 24 */ stw r0, 0x124(r1) +/* 802935EC 0029054C DB E1 01 10 */ stfd f31, 0x110(r1) +/* 802935F0 00290550 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 802935F4 00290554 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 802935F8 00290558 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 802935FC 0029055C DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 80293600 00290560 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 80293604 00290564 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 80293608 00290568 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 8029360C 0029056C BF 01 00 C0 */ stmw r24, 0xc0(r1) +/* 80293610 00290570 A1 84 00 00 */ lhz r12, 0(r4) +/* 80293614 00290574 3C 80 80 5A */ lis r4, lbl_805A6784@ha +/* 80293618 00290578 C0 C7 00 2C */ lfs f6, 0x2c(r7) +/* 8029361C 0029057C 39 60 00 00 */ li r11, 0 +/* 80293620 00290580 C0 A7 00 1C */ lfs f5, 0x1c(r7) +/* 80293624 00290584 FF A0 08 90 */ fmr f29, f1 +/* 80293628 00290588 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 8029362C 0029058C FF C0 10 90 */ fmr f30, f2 +/* 80293630 00290590 D0 A1 00 94 */ stfs f5, 0x94(r1) +/* 80293634 00290594 FF E0 18 90 */ fmr f31, f3 +/* 80293638 00290598 80 E1 01 40 */ lwz r7, 0x140(r1) +/* 8029363C 0029059C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80293640 002905A0 FF 80 20 90 */ fmr f28, f4 +/* 80293644 002905A4 83 81 01 38 */ lwz r28, 0x138(r1) +/* 80293648 002905A8 38 04 67 84 */ addi r0, r4, lbl_805A6784@l +/* 8029364C 002905AC D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 80293650 002905B0 7D 18 43 78 */ mr r24, r8 +/* 80293654 002905B4 80 81 01 3C */ lwz r4, 0x13c(r1) +/* 80293658 002905B8 B1 81 00 18 */ sth r12, 0x18(r1) +/* 8029365C 002905BC 7D 59 53 78 */ mr r25, r10 +/* 80293660 002905C0 83 41 01 28 */ lwz r26, 0x128(r1) +/* 80293664 002905C4 7C 7F 1B 78 */ mr r31, r3 +/* 80293668 002905C8 90 E1 00 08 */ stw r7, 8(r1) +/* 8029366C 002905CC 7C 08 03 78 */ mr r8, r0 +/* 80293670 002905D0 83 61 01 2C */ lwz r27, 0x12c(r1) +/* 80293674 002905D4 7C 8A 23 78 */ mr r10, r4 +/* 80293678 002905D8 91 21 00 0C */ stw r9, 0xc(r1) +/* 8029367C 002905DC 7F 89 E3 78 */ mr r9, r28 +/* 80293680 002905E0 83 81 01 30 */ lwz r28, 0x130(r1) +/* 80293684 002905E4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80293688 002905E8 91 61 00 10 */ stw r11, 0x10(r1) +/* 8029368C 002905EC 38 E1 00 90 */ addi r7, r1, 0x90 +/* 80293690 002905F0 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 80293694 002905F4 91 61 00 14 */ stw r11, 0x14(r1) +/* 80293698 002905F8 8B C1 01 47 */ lbz r30, 0x147(r1) +/* 8029369C 002905FC 4B DE 36 BD */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" +/* 802936A0 00290600 3C 80 80 3F */ lis r4, lbl_803EBB48@ha +/* 802936A4 00290604 38 DF 01 5C */ addi r6, r31, 0x15c +/* 802936A8 00290608 38 04 BB 48 */ addi r0, r4, lbl_803EBB48@l +/* 802936AC 0029060C 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 802936B0 00290610 90 1F 00 00 */ stw r0, 0(r31) +/* 802936B4 00290614 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 802936B8 00290618 38 00 00 00 */ li r0, 0 +/* 802936BC 0029061C 38 60 00 4C */ li r3, 0x4c +/* 802936C0 00290620 90 DF 01 54 */ stw r6, 0x154(r31) +/* 802936C4 00290624 38 A0 00 00 */ li r5, 0 +/* 802936C8 00290628 90 DF 01 58 */ stw r6, 0x158(r31) +/* 802936CC 0029062C 90 DF 01 5C */ stw r6, 0x15c(r31) +/* 802936D0 00290630 90 DF 01 60 */ stw r6, 0x160(r31) +/* 802936D4 00290634 90 1F 01 64 */ stw r0, 0x164(r31) +/* 802936D8 00290638 48 08 21 95 */ bl __nw__FUlPCcPCc +/* 802936DC 0029063C 7C 60 1B 79 */ or. r0, r3, r3 +/* 802936E0 00290640 41 82 00 28 */ beq lbl_80293708 +/* 802936E4 00290644 80 1A 00 00 */ lwz r0, 0(r26) +/* 802936E8 00290648 38 81 00 80 */ addi r4, r1, 0x80 +/* 802936EC 0029064C C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 802936F0 00290650 90 01 00 80 */ stw r0, 0x80(r1) +/* 802936F4 00290654 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802936F8 00290658 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802936FC 0029065C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80293700 00290660 4B E8 36 5D */ bl __ct__10CModelDataFRC10CStaticRes +/* 80293704 00290664 7C 60 1B 78 */ mr r0, r3 +lbl_80293708: +/* 80293708 00290668 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 8029370C 0029066C 90 1F 01 68 */ stw r0, 0x168(r31) +/* 80293710 00290670 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 80293714 00290674 38 A0 00 00 */ li r5, 0 +/* 80293718 00290678 38 60 00 4C */ li r3, 0x4c +/* 8029371C 0029067C 48 08 21 51 */ bl __nw__FUlPCcPCc +/* 80293720 00290680 7C 60 1B 79 */ or. r0, r3, r3 +/* 80293724 00290684 41 82 00 28 */ beq lbl_8029374C +/* 80293728 00290688 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 8029372C 0029068C 38 81 00 70 */ addi r4, r1, 0x70 +/* 80293730 00290690 80 19 00 00 */ lwz r0, 0(r25) +/* 80293734 00290694 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80293738 00290698 90 01 00 70 */ stw r0, 0x70(r1) +/* 8029373C 0029069C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80293740 002906A0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80293744 002906A4 4B E8 36 19 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80293748 002906A8 7C 60 1B 78 */ mr r0, r3 +lbl_8029374C: +/* 8029374C 002906AC 90 1F 01 6C */ stw r0, 0x16c(r31) +/* 80293750 002906B0 38 A0 00 00 */ li r5, 0 +/* 80293754 002906B4 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 80293758 002906B8 C0 22 BF 2C */ lfs f1, lbl_805ADC4C@sda21(r2) +/* 8029375C 002906BC 90 BF 01 70 */ stw r5, 0x170(r31) +/* 80293760 002906C0 38 83 67 84 */ addi r4, r3, lbl_805A6784@l +/* 80293764 002906C4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80293768 002906C8 38 60 00 02 */ li r3, 2 +/* 8029376C 002906CC 90 BF 01 74 */ stw r5, 0x174(r31) +/* 80293770 002906D0 C0 44 00 00 */ lfs f2, 0(r4) +/* 80293774 002906D4 D0 5F 01 78 */ stfs f2, 0x178(r31) +/* 80293778 002906D8 C0 44 00 04 */ lfs f2, 4(r4) +/* 8029377C 002906DC D0 5F 01 7C */ stfs f2, 0x17c(r31) +/* 80293780 002906E0 C0 44 00 08 */ lfs f2, 8(r4) +/* 80293784 002906E4 D0 5F 01 80 */ stfs f2, 0x180(r31) +/* 80293788 002906E8 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 8029378C 002906EC D0 5F 01 84 */ stfs f2, 0x184(r31) +/* 80293790 002906F0 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80293794 002906F4 D0 5F 01 88 */ stfs f2, 0x188(r31) +/* 80293798 002906F8 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8029379C 002906FC D0 5F 01 8C */ stfs f2, 0x18c(r31) +/* 802937A0 00290700 C0 58 00 00 */ lfs f2, 0(r24) +/* 802937A4 00290704 D0 5F 01 90 */ stfs f2, 0x190(r31) +/* 802937A8 00290708 C0 58 00 04 */ lfs f2, 4(r24) +/* 802937AC 0029070C D0 5F 01 94 */ stfs f2, 0x194(r31) +/* 802937B0 00290710 C0 58 00 08 */ lfs f2, 8(r24) +/* 802937B4 00290714 D0 5F 01 98 */ stfs f2, 0x198(r31) +/* 802937B8 00290718 D3 BF 01 9C */ stfs f29, 0x19c(r31) +/* 802937BC 0029071C D3 BF 01 A0 */ stfs f29, 0x1a0(r31) +/* 802937C0 00290720 D0 3F 01 A4 */ stfs f1, 0x1a4(r31) +/* 802937C4 00290724 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) +/* 802937C8 00290728 D0 1F 01 AC */ stfs f0, 0x1ac(r31) +/* 802937CC 0029072C D0 1F 01 B0 */ stfs f0, 0x1b0(r31) +/* 802937D0 00290730 D0 1F 01 B4 */ stfs f0, 0x1b4(r31) +/* 802937D4 00290734 D0 1F 01 B8 */ stfs f0, 0x1b8(r31) +/* 802937D8 00290738 D3 DF 01 BC */ stfs f30, 0x1bc(r31) +/* 802937DC 0029073C D3 9F 01 C0 */ stfs f28, 0x1c0(r31) +/* 802937E0 00290740 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) +/* 802937E4 00290744 D3 FF 01 C8 */ stfs f31, 0x1c8(r31) +/* 802937E8 00290748 D0 1F 01 CC */ stfs f0, 0x1cc(r31) +/* 802937EC 0029074C D0 1F 01 D0 */ stfs f0, 0x1d0(r31) +/* 802937F0 00290750 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) +/* 802937F4 00290754 93 BF 01 D8 */ stw r29, 0x1d8(r31) +/* 802937F8 00290758 90 BF 01 DC */ stw r5, 0x1dc(r31) +/* 802937FC 0029075C 88 1F 01 E0 */ lbz r0, 0x1e0(r31) +/* 80293800 00290760 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 80293804 00290764 98 1F 01 E0 */ stb r0, 0x1e0(r31) +/* 80293808 00290768 88 1F 01 E0 */ lbz r0, 0x1e0(r31) +/* 8029380C 0029076C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80293810 00290770 98 1F 01 E0 */ stb r0, 0x1e0(r31) +/* 80293814 00290774 88 1F 00 E6 */ lbz r0, 0xe6(r31) +/* 80293818 00290778 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c +/* 8029381C 0029077C 98 1F 00 E6 */ stb r0, 0xe6(r31) +/* 80293820 00290780 80 9B 00 00 */ lwz r4, 0(r27) +/* 80293824 00290784 3C 04 00 01 */ addis r0, r4, 1 +/* 80293828 00290788 28 00 FF FF */ cmplwi r0, 0xffff +/* 8029382C 0029078C 41 82 01 34 */ beq lbl_80293960 +/* 80293830 00290790 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80293834 00290794 90 81 00 48 */ stw r4, 0x48(r1) +/* 80293838 00290798 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8029383C 0029079C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80293840 002907A0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80293844 002907A4 38 61 00 3C */ addi r3, r1, 0x3c +/* 80293848 002907A8 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8029384C 002907AC 81 84 00 00 */ lwz r12, 0(r4) +/* 80293850 002907B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80293854 002907B4 7D 89 03 A6 */ mtctr r12 +/* 80293858 002907B8 4E 80 04 21 */ bctrl +/* 8029385C 002907BC 3B 01 00 64 */ addi r24, r1, 0x64 +/* 80293860 002907C0 38 81 00 3C */ addi r4, r1, 0x3c +/* 80293864 002907C4 7F 03 C3 78 */ mr r3, r24 +/* 80293868 002907C8 48 0A D6 41 */ bl __ct__6CTokenFRC6CToken +/* 8029386C 002907CC 7F 03 C3 78 */ mr r3, r24 +/* 80293870 002907D0 48 0A D5 9D */ bl GetObj__6CTokenFv +/* 80293874 002907D4 80 03 00 04 */ lwz r0, 4(r3) +/* 80293878 002907D8 3B 01 00 A8 */ addi r24, r1, 0xa8 +/* 8029387C 002907DC 7F 03 C3 78 */ mr r3, r24 +/* 80293880 002907E0 38 81 00 64 */ addi r4, r1, 0x64 +/* 80293884 002907E4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80293888 002907E8 48 0A D6 21 */ bl __ct__6CTokenFRC6CToken +/* 8029388C 002907EC 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80293890 002907F0 7F 03 C3 78 */ mr r3, r24 +/* 80293894 002907F4 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80293898 002907F8 48 0A D4 ED */ bl Lock__6CTokenFv +/* 8029389C 002907FC 38 61 00 64 */ addi r3, r1, 0x64 +/* 802938A0 00290800 38 80 00 00 */ li r4, 0 +/* 802938A4 00290804 48 0A D5 9D */ bl __dt__6CTokenFv +/* 802938A8 00290808 38 61 00 3C */ addi r3, r1, 0x3c +/* 802938AC 0029080C 38 80 FF FF */ li r4, -1 +/* 802938B0 00290810 48 0A D5 91 */ bl __dt__6CTokenFv +/* 802938B4 00290814 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 802938B8 00290818 3B 20 00 00 */ li r25, 0 +/* 802938BC 0029081C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 802938C0 00290820 38 A0 00 00 */ li r5, 0 +/* 802938C4 00290824 38 60 03 40 */ li r3, 0x340 +/* 802938C8 00290828 48 08 1F A5 */ bl __nw__FUlPCcPCc +/* 802938CC 0029082C 7C 78 1B 79 */ or. r24, r3, r3 +/* 802938D0 00290830 41 82 00 2C */ beq lbl_802938FC +/* 802938D4 00290834 38 61 00 34 */ addi r3, r1, 0x34 +/* 802938D8 00290838 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802938DC 0029083C 48 0A D5 CD */ bl __ct__6CTokenFRC6CToken +/* 802938E0 00290840 7F 03 C3 78 */ mr r3, r24 +/* 802938E4 00290844 38 81 00 34 */ addi r4, r1, 0x34 +/* 802938E8 00290848 3B 20 00 01 */ li r25, 1 +/* 802938EC 0029084C 38 A0 00 00 */ li r5, 0 +/* 802938F0 00290850 38 C0 00 01 */ li r6, 1 +/* 802938F4 00290854 48 08 BA ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802938F8 00290858 7C 78 1B 78 */ mr r24, r3 +lbl_802938FC: +/* 802938FC 0029085C 80 7F 01 70 */ lwz r3, 0x170(r31) +/* 80293900 00290860 28 03 00 00 */ cmplwi r3, 0 +/* 80293904 00290864 41 82 00 18 */ beq lbl_8029391C +/* 80293908 00290868 81 83 00 00 */ lwz r12, 0(r3) +/* 8029390C 0029086C 38 80 00 01 */ li r4, 1 +/* 80293910 00290870 81 8C 00 08 */ lwz r12, 8(r12) +/* 80293914 00290874 7D 89 03 A6 */ mtctr r12 +/* 80293918 00290878 4E 80 04 21 */ bctrl +lbl_8029391C: +/* 8029391C 0029087C 7F 20 07 75 */ extsb. r0, r25 +/* 80293920 00290880 93 1F 01 70 */ stw r24, 0x170(r31) +/* 80293924 00290884 41 82 00 10 */ beq lbl_80293934 +/* 80293928 00290888 38 61 00 34 */ addi r3, r1, 0x34 +/* 8029392C 0029088C 38 80 00 00 */ li r4, 0 +/* 80293930 00290890 48 0A D5 11 */ bl __dt__6CTokenFv +lbl_80293934: +/* 80293934 00290894 80 7F 01 70 */ lwz r3, 0x170(r31) +/* 80293938 00290898 28 03 00 00 */ cmplwi r3, 0 +/* 8029393C 0029089C 41 82 00 18 */ beq lbl_80293954 +/* 80293940 002908A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80293944 002908A4 38 80 00 00 */ li r4, 0 +/* 80293948 002908A8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8029394C 002908AC 7D 89 03 A6 */ mtctr r12 +/* 80293950 002908B0 4E 80 04 21 */ bctrl +lbl_80293954: +/* 80293954 002908B4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80293958 002908B8 38 80 00 00 */ li r4, 0 +/* 8029395C 002908BC 48 0A D4 E5 */ bl __dt__6CTokenFv +lbl_80293960: +/* 80293960 002908C0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80293964 002908C4 3C 04 00 01 */ addis r0, r4, 1 +/* 80293968 002908C8 28 00 FF FF */ cmplwi r0, 0xffff +/* 8029396C 002908CC 41 82 01 5C */ beq lbl_80293AC8 +/* 80293970 002908D0 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80293974 002908D4 90 81 00 30 */ stw r4, 0x30(r1) +/* 80293978 002908D8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8029397C 002908DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80293980 002908E0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80293984 002908E4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80293988 002908E8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8029398C 002908EC 81 84 00 00 */ lwz r12, 0(r4) +/* 80293990 002908F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80293994 002908F4 7D 89 03 A6 */ mtctr r12 +/* 80293998 002908F8 4E 80 04 21 */ bctrl +/* 8029399C 002908FC 3B 01 00 58 */ addi r24, r1, 0x58 +/* 802939A0 00290900 38 81 00 24 */ addi r4, r1, 0x24 +/* 802939A4 00290904 7F 03 C3 78 */ mr r3, r24 +/* 802939A8 00290908 48 0A D5 01 */ bl __ct__6CTokenFRC6CToken +/* 802939AC 0029090C 7F 03 C3 78 */ mr r3, r24 +/* 802939B0 00290910 48 0A D4 5D */ bl GetObj__6CTokenFv +/* 802939B4 00290914 80 03 00 04 */ lwz r0, 4(r3) +/* 802939B8 00290918 3B 01 00 9C */ addi r24, r1, 0x9c +/* 802939BC 0029091C 7F 03 C3 78 */ mr r3, r24 +/* 802939C0 00290920 38 81 00 58 */ addi r4, r1, 0x58 +/* 802939C4 00290924 90 01 00 60 */ stw r0, 0x60(r1) +/* 802939C8 00290928 48 0A D4 E1 */ bl __ct__6CTokenFRC6CToken +/* 802939CC 0029092C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802939D0 00290930 7F 03 C3 78 */ mr r3, r24 +/* 802939D4 00290934 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802939D8 00290938 48 0A D3 AD */ bl Lock__6CTokenFv +/* 802939DC 0029093C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802939E0 00290940 38 80 00 00 */ li r4, 0 +/* 802939E4 00290944 48 0A D4 5D */ bl __dt__6CTokenFv +/* 802939E8 00290948 38 61 00 24 */ addi r3, r1, 0x24 +/* 802939EC 0029094C 38 80 FF FF */ li r4, -1 +/* 802939F0 00290950 48 0A D4 51 */ bl __dt__6CTokenFv +/* 802939F4 00290954 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 802939F8 00290958 3B 20 00 00 */ li r25, 0 +/* 802939FC 0029095C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 80293A00 00290960 38 A0 00 00 */ li r5, 0 +/* 80293A04 00290964 38 60 03 40 */ li r3, 0x340 +/* 80293A08 00290968 48 08 1E 65 */ bl __nw__FUlPCcPCc +/* 80293A0C 0029096C 7C 78 1B 79 */ or. r24, r3, r3 +/* 80293A10 00290970 41 82 00 2C */ beq lbl_80293A3C +/* 80293A14 00290974 38 61 00 1C */ addi r3, r1, 0x1c +/* 80293A18 00290978 38 81 00 9C */ addi r4, r1, 0x9c +/* 80293A1C 0029097C 48 0A D4 8D */ bl __ct__6CTokenFRC6CToken +/* 80293A20 00290980 7F 03 C3 78 */ mr r3, r24 +/* 80293A24 00290984 38 81 00 1C */ addi r4, r1, 0x1c +/* 80293A28 00290988 3B 20 00 01 */ li r25, 1 +/* 80293A2C 0029098C 38 A0 00 00 */ li r5, 0 +/* 80293A30 00290990 38 C0 00 01 */ li r6, 1 +/* 80293A34 00290994 48 08 B9 AD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80293A38 00290998 7C 78 1B 78 */ mr r24, r3 +lbl_80293A3C: +/* 80293A3C 0029099C 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80293A40 002909A0 28 03 00 00 */ cmplwi r3, 0 +/* 80293A44 002909A4 41 82 00 18 */ beq lbl_80293A5C +/* 80293A48 002909A8 81 83 00 00 */ lwz r12, 0(r3) +/* 80293A4C 002909AC 38 80 00 01 */ li r4, 1 +/* 80293A50 002909B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80293A54 002909B4 7D 89 03 A6 */ mtctr r12 +/* 80293A58 002909B8 4E 80 04 21 */ bctrl +lbl_80293A5C: +/* 80293A5C 002909BC 7F 20 07 75 */ extsb. r0, r25 +/* 80293A60 002909C0 93 1F 01 74 */ stw r24, 0x174(r31) +/* 80293A64 002909C4 41 82 00 10 */ beq lbl_80293A74 +/* 80293A68 002909C8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80293A6C 002909CC 38 80 00 00 */ li r4, 0 +/* 80293A70 002909D0 48 0A D3 D1 */ bl __dt__6CTokenFv +lbl_80293A74: +/* 80293A74 002909D4 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80293A78 002909D8 28 03 00 00 */ cmplwi r3, 0 +/* 80293A7C 002909DC 41 82 00 40 */ beq lbl_80293ABC +/* 80293A80 002909E0 C0 1F 01 90 */ lfs f0, 0x190(r31) +/* 80293A84 002909E4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80293A88 002909E8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80293A8C 002909EC D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80293A90 002909F0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80293A94 002909F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80293A98 002909F8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80293A9C 002909FC 7D 89 03 A6 */ mtctr r12 +/* 80293AA0 00290A00 4E 80 04 21 */ bctrl +/* 80293AA4 00290A04 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80293AA8 00290A08 38 80 00 00 */ li r4, 0 +/* 80293AAC 00290A0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80293AB0 00290A10 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80293AB4 00290A14 7D 89 03 A6 */ mtctr r12 +/* 80293AB8 00290A18 4E 80 04 21 */ bctrl +lbl_80293ABC: +/* 80293ABC 00290A1C 38 61 00 9C */ addi r3, r1, 0x9c +/* 80293AC0 00290A20 38 80 00 00 */ li r4, 0 +/* 80293AC4 00290A24 48 0A D3 7D */ bl __dt__6CTokenFv +lbl_80293AC8: +/* 80293AC8 00290A28 7F E3 FB 78 */ mr r3, r31 +/* 80293ACC 00290A2C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80293AD0 00290A30 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80293AD4 00290A34 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80293AD8 00290A38 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 80293ADC 00290A3C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 80293AE0 00290A40 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 80293AE4 00290A44 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 80293AE8 00290A48 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 80293AEC 00290A4C BB 01 00 C0 */ lmw r24, 0xc0(r1) +/* 80293AF0 00290A50 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80293AF4 00290A54 7C 08 03 A6 */ mtlr r0 +/* 80293AF8 00290A58 38 21 01 20 */ addi r1, r1, 0x120 +/* 80293AFC 00290A5C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPuffer.s b/asm/Kyoto_CWD/Enemies/CPuffer.s new file mode 100644 index 00000000..7c88bd98 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPuffer.s @@ -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,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 diff --git a/asm/Kyoto_CWD/Enemies/CRidley.s b/asm/Kyoto_CWD/Enemies/CRidley.s new file mode 100644 index 00000000..5b4c83f1 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CRidley.s @@ -0,0 +1,10657 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__7CRidleyFv +__dt__7CRidleyFv: +/* 80252598 0024F4F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025259C 0024F4FC 7C 08 02 A6 */ mflr r0 +/* 802525A0 0024F500 90 01 00 14 */ stw r0, 0x14(r1) +/* 802525A4 0024F504 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802525A8 0024F508 7C 9F 23 78 */ mr r31, r4 +/* 802525AC 0024F50C 93 C1 00 08 */ stw r30, 8(r1) +/* 802525B0 0024F510 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802525B4 0024F514 41 82 01 E4 */ beq lbl_80252798 +/* 802525B8 0024F518 3C 60 80 3F */ lis r3, lbl_803E9258@ha +/* 802525BC 0024F51C 34 1E 0D 10 */ addic. r0, r30, 0xd10 +/* 802525C0 0024F520 38 03 92 58 */ addi r0, r3, lbl_803E9258@l +/* 802525C4 0024F524 90 1E 00 00 */ stw r0, 0(r30) +/* 802525C8 0024F528 41 82 00 10 */ beq lbl_802525D8 +/* 802525CC 0024F52C 80 7E 0D 10 */ lwz r3, 0xd10(r30) +/* 802525D0 0024F530 38 80 00 01 */ li r4, 1 +/* 802525D4 0024F534 48 04 BD AD */ bl __dt__16CProjectedShadowFv +lbl_802525D8: +/* 802525D8 0024F538 34 1E 0C E4 */ addic. r0, r30, 0xce4 +/* 802525DC 0024F53C 41 82 00 58 */ beq lbl_80252634 +/* 802525E0 0024F540 80 BE 0C E4 */ lwz r5, 0xce4(r30) +/* 802525E4 0024F544 38 60 00 00 */ li r3, 0 +/* 802525E8 0024F548 2C 05 00 00 */ cmpwi r5, 0 +/* 802525EC 0024F54C 40 81 00 40 */ ble lbl_8025262C +/* 802525F0 0024F550 2C 05 00 08 */ cmpwi r5, 8 +/* 802525F4 0024F554 38 85 FF F8 */ addi r4, r5, -8 +/* 802525F8 0024F558 40 81 00 20 */ ble lbl_80252618 +/* 802525FC 0024F55C 38 04 00 07 */ addi r0, r4, 7 +/* 80252600 0024F560 54 00 E8 FE */ srwi r0, r0, 3 +/* 80252604 0024F564 7C 09 03 A6 */ mtctr r0 +/* 80252608 0024F568 2C 04 00 00 */ cmpwi r4, 0 +/* 8025260C 0024F56C 40 81 00 0C */ ble lbl_80252618 +lbl_80252610: +/* 80252610 0024F570 38 63 00 08 */ addi r3, r3, 8 +/* 80252614 0024F574 42 00 FF FC */ bdnz lbl_80252610 +lbl_80252618: +/* 80252618 0024F578 7C 03 28 50 */ subf r0, r3, r5 +/* 8025261C 0024F57C 7C 09 03 A6 */ mtctr r0 +/* 80252620 0024F580 7C 03 28 00 */ cmpw r3, r5 +/* 80252624 0024F584 40 80 00 08 */ bge lbl_8025262C +lbl_80252628: +/* 80252628 0024F588 42 00 00 00 */ bdnz lbl_80252628 +lbl_8025262C: +/* 8025262C 0024F58C 38 00 00 00 */ li r0, 0 +/* 80252630 0024F590 90 1E 0C E4 */ stw r0, 0xce4(r30) +lbl_80252634: +/* 80252634 0024F594 34 1E 0C DC */ addic. r0, r30, 0xcdc +/* 80252638 0024F598 41 82 00 30 */ beq lbl_80252668 +/* 8025263C 0024F59C 88 1E 0C DC */ lbz r0, 0xcdc(r30) +/* 80252640 0024F5A0 28 00 00 00 */ cmplwi r0, 0 +/* 80252644 0024F5A4 41 82 00 24 */ beq lbl_80252668 +/* 80252648 0024F5A8 80 7E 0C E0 */ lwz r3, 0xce0(r30) +/* 8025264C 0024F5AC 28 03 00 00 */ cmplwi r3, 0 +/* 80252650 0024F5B0 41 82 00 18 */ beq lbl_80252668 +/* 80252654 0024F5B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80252658 0024F5B8 38 80 00 01 */ li r4, 1 +/* 8025265C 0024F5BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80252660 0024F5C0 7D 89 03 A6 */ mtctr r12 +/* 80252664 0024F5C4 4E 80 04 21 */ bctrl +lbl_80252668: +/* 80252668 0024F5C8 34 1E 0C D0 */ addic. r0, r30, 0xcd0 +/* 8025266C 0024F5CC 41 82 00 18 */ beq lbl_80252684 +/* 80252670 0024F5D0 34 1E 0C D0 */ addic. r0, r30, 0xcd0 +/* 80252674 0024F5D4 41 82 00 10 */ beq lbl_80252684 +/* 80252678 0024F5D8 38 7E 0C D0 */ addi r3, r30, 0xcd0 +/* 8025267C 0024F5DC 38 80 00 00 */ li r4, 0 +/* 80252680 0024F5E0 48 0E E7 C1 */ bl __dt__6CTokenFv +lbl_80252684: +/* 80252684 0024F5E4 34 1E 0C 3C */ addic. r0, r30, 0xc3c +/* 80252688 0024F5E8 41 82 00 20 */ beq lbl_802526A8 +/* 8025268C 0024F5EC 34 1E 0C 3C */ addic. r0, r30, 0xc3c +/* 80252690 0024F5F0 41 82 00 18 */ beq lbl_802526A8 +/* 80252694 0024F5F4 34 1E 0C 3C */ addic. r0, r30, 0xc3c +/* 80252698 0024F5F8 41 82 00 10 */ beq lbl_802526A8 +/* 8025269C 0024F5FC 38 7E 0C 3C */ addi r3, r30, 0xc3c +/* 802526A0 0024F600 38 80 00 00 */ li r4, 0 +/* 802526A4 0024F604 48 0E E7 9D */ bl __dt__6CTokenFv +lbl_802526A8: +/* 802526A8 0024F608 34 1E 0C 14 */ addic. r0, r30, 0xc14 +/* 802526AC 0024F60C 41 82 00 20 */ beq lbl_802526CC +/* 802526B0 0024F610 34 1E 0C 14 */ addic. r0, r30, 0xc14 +/* 802526B4 0024F614 41 82 00 18 */ beq lbl_802526CC +/* 802526B8 0024F618 34 1E 0C 14 */ addic. r0, r30, 0xc14 +/* 802526BC 0024F61C 41 82 00 10 */ beq lbl_802526CC +/* 802526C0 0024F620 38 7E 0C 14 */ addi r3, r30, 0xc14 +/* 802526C4 0024F624 38 80 00 00 */ li r4, 0 +/* 802526C8 0024F628 48 0E E7 79 */ bl __dt__6CTokenFv +lbl_802526CC: +/* 802526CC 0024F62C 34 1E 0B 68 */ addic. r0, r30, 0xb68 +/* 802526D0 0024F630 41 82 00 20 */ beq lbl_802526F0 +/* 802526D4 0024F634 34 1E 0B 68 */ addic. r0, r30, 0xb68 +/* 802526D8 0024F638 41 82 00 18 */ beq lbl_802526F0 +/* 802526DC 0024F63C 34 1E 0B 68 */ addic. r0, r30, 0xb68 +/* 802526E0 0024F640 41 82 00 10 */ beq lbl_802526F0 +/* 802526E4 0024F644 38 7E 0B 68 */ addi r3, r30, 0xb68 +/* 802526E8 0024F648 38 80 00 00 */ li r4, 0 +/* 802526EC 0024F64C 48 0E E7 55 */ bl __dt__6CTokenFv +lbl_802526F0: +/* 802526F0 0024F650 34 1E 0B 2C */ addic. r0, r30, 0xb2c +/* 802526F4 0024F654 41 82 00 14 */ beq lbl_80252708 +/* 802526F8 0024F658 34 1E 0B 50 */ addic. r0, r30, 0xb50 +/* 802526FC 0024F65C 41 82 00 0C */ beq lbl_80252708 +/* 80252700 0024F660 38 00 00 00 */ li r0, 0 +/* 80252704 0024F664 98 1E 0B 5C */ stb r0, 0xb5c(r30) +lbl_80252708: +/* 80252708 0024F668 38 7E 0A 38 */ addi r3, r30, 0xa38 +/* 8025270C 0024F66C 38 80 FF FF */ li r4, -1 +/* 80252710 0024F670 4B EC 43 3D */ bl __dt__10CModelDataFv +/* 80252714 0024F674 38 7E 09 E4 */ addi r3, r30, 0x9e4 +/* 80252718 0024F678 38 80 FF FF */ li r4, -1 +/* 8025271C 0024F67C 4B EC 43 31 */ bl __dt__10CModelDataFv +/* 80252720 0024F680 38 7E 09 98 */ addi r3, r30, 0x998 +/* 80252724 0024F684 38 80 FF FF */ li r4, -1 +/* 80252728 0024F688 4B EC 43 25 */ bl __dt__10CModelDataFv +/* 8025272C 0024F68C 34 1E 09 8C */ addic. r0, r30, 0x98c +/* 80252730 0024F690 41 82 00 18 */ beq lbl_80252748 +/* 80252734 0024F694 34 1E 09 8C */ addic. r0, r30, 0x98c +/* 80252738 0024F698 41 82 00 10 */ beq lbl_80252748 +/* 8025273C 0024F69C 38 7E 09 8C */ addi r3, r30, 0x98c +/* 80252740 0024F6A0 38 80 00 00 */ li r4, 0 +/* 80252744 0024F6A4 48 0E E6 FD */ bl __dt__6CTokenFv +lbl_80252748: +/* 80252748 0024F6A8 34 1E 09 84 */ addic. r0, r30, 0x984 +/* 8025274C 0024F6AC 41 82 00 10 */ beq lbl_8025275C +/* 80252750 0024F6B0 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80252754 0024F6B4 38 80 00 01 */ li r4, 1 +/* 80252758 0024F6B8 4B F5 51 85 */ bl sub_801a78dc +lbl_8025275C: +/* 8025275C 0024F6BC 34 1E 09 80 */ addic. r0, r30, 0x980 +/* 80252760 0024F6C0 41 82 00 10 */ beq lbl_80252770 +/* 80252764 0024F6C4 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80252768 0024F6C8 38 80 00 01 */ li r4, 1 +/* 8025276C 0024F6CC 4B F5 51 71 */ bl sub_801a78dc +lbl_80252770: +/* 80252770 0024F6D0 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80252774 0024F6D4 38 80 FF FF */ li r4, -1 +/* 80252778 0024F6D8 48 00 00 3D */ bl sub_802527b4 +/* 8025277C 0024F6DC 7F C3 F3 78 */ mr r3, r30 +/* 80252780 0024F6E0 38 80 00 00 */ li r4, 0 +/* 80252784 0024F6E4 4B E2 4D ED */ bl __dt__10CPatternedFv +/* 80252788 0024F6E8 7F E0 07 35 */ extsh. r0, r31 +/* 8025278C 0024F6EC 40 81 00 0C */ ble lbl_80252798 +/* 80252790 0024F6F0 7F C3 F3 78 */ mr r3, r30 +/* 80252794 0024F6F4 48 0C 31 9D */ bl Free__7CMemoryFPCv +lbl_80252798: +/* 80252798 0024F6F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025279C 0024F6FC 7F C3 F3 78 */ mr r3, r30 +/* 802527A0 0024F700 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802527A4 0024F704 83 C1 00 08 */ lwz r30, 8(r1) +/* 802527A8 0024F708 7C 08 03 A6 */ mtlr r0 +/* 802527AC 0024F70C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802527B0 0024F710 4E 80 00 20 */ blr + +.global sub_802527b4 +sub_802527b4: +/* 802527B4 0024F714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802527B8 0024F718 7C 08 02 A6 */ mflr r0 +/* 802527BC 0024F71C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802527C0 0024F720 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802527C4 0024F724 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802527C8 0024F728 41 82 00 E0 */ beq lbl_802528A8 +/* 802527CC 0024F72C 34 1F 02 B4 */ addic. r0, r31, 0x2b4 +/* 802527D0 0024F730 41 82 00 40 */ beq lbl_80252810 +/* 802527D4 0024F734 34 1F 03 34 */ addic. r0, r31, 0x334 +/* 802527D8 0024F738 41 82 00 10 */ beq lbl_802527E8 +/* 802527DC 0024F73C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802527E0 0024F740 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802527E4 0024F744 90 1F 03 34 */ stw r0, 0x334(r31) +lbl_802527E8: +/* 802527E8 0024F748 34 1F 02 F8 */ addic. r0, r31, 0x2f8 +/* 802527EC 0024F74C 41 82 00 10 */ beq lbl_802527FC +/* 802527F0 0024F750 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802527F4 0024F754 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802527F8 0024F758 90 1F 02 F8 */ stw r0, 0x2f8(r31) +lbl_802527FC: +/* 802527FC 0024F75C 34 1F 02 BC */ addic. r0, r31, 0x2bc +/* 80252800 0024F760 41 82 00 10 */ beq lbl_80252810 +/* 80252804 0024F764 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252808 0024F768 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025280C 0024F76C 90 1F 02 BC */ stw r0, 0x2bc(r31) +lbl_80252810: +/* 80252810 0024F770 34 1F 01 C0 */ addic. r0, r31, 0x1c0 +/* 80252814 0024F774 41 82 00 40 */ beq lbl_80252854 +/* 80252818 0024F778 34 1F 02 40 */ addic. r0, r31, 0x240 +/* 8025281C 0024F77C 41 82 00 10 */ beq lbl_8025282C +/* 80252820 0024F780 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252824 0024F784 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252828 0024F788 90 1F 02 40 */ stw r0, 0x240(r31) +lbl_8025282C: +/* 8025282C 0024F78C 34 1F 02 04 */ addic. r0, r31, 0x204 +/* 80252830 0024F790 41 82 00 10 */ beq lbl_80252840 +/* 80252834 0024F794 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252838 0024F798 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025283C 0024F79C 90 1F 02 04 */ stw r0, 0x204(r31) +lbl_80252840: +/* 80252840 0024F7A0 34 1F 01 C8 */ addic. r0, r31, 0x1c8 +/* 80252844 0024F7A4 41 82 00 10 */ beq lbl_80252854 +/* 80252848 0024F7A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025284C 0024F7AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252850 0024F7B0 90 1F 01 C8 */ stw r0, 0x1c8(r31) +lbl_80252854: +/* 80252854 0024F7B4 34 1F 00 CC */ addic. r0, r31, 0xcc +/* 80252858 0024F7B8 41 82 00 40 */ beq lbl_80252898 +/* 8025285C 0024F7BC 34 1F 01 4C */ addic. r0, r31, 0x14c +/* 80252860 0024F7C0 41 82 00 10 */ beq lbl_80252870 +/* 80252864 0024F7C4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252868 0024F7C8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025286C 0024F7CC 90 1F 01 4C */ stw r0, 0x14c(r31) +lbl_80252870: +/* 80252870 0024F7D0 34 1F 01 10 */ addic. r0, r31, 0x110 +/* 80252874 0024F7D4 41 82 00 10 */ beq lbl_80252884 +/* 80252878 0024F7D8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025287C 0024F7DC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252880 0024F7E0 90 1F 01 10 */ stw r0, 0x110(r31) +lbl_80252884: +/* 80252884 0024F7E4 34 1F 00 D4 */ addic. r0, r31, 0xd4 +/* 80252888 0024F7E8 41 82 00 10 */ beq lbl_80252898 +/* 8025288C 0024F7EC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252890 0024F7F0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252894 0024F7F4 90 1F 00 D4 */ stw r0, 0xd4(r31) +lbl_80252898: +/* 80252898 0024F7F8 7C 80 07 35 */ extsh. r0, r4 +/* 8025289C 0024F7FC 40 81 00 0C */ ble lbl_802528A8 +/* 802528A0 0024F800 7F E3 FB 78 */ mr r3, r31 +/* 802528A4 0024F804 48 0C 30 8D */ bl Free__7CMemoryFPCv +lbl_802528A8: +/* 802528A8 0024F808 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802528AC 0024F80C 7F E3 FB 78 */ mr r3, r31 +/* 802528B0 0024F810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802528B4 0024F814 7C 08 03 A6 */ mtlr r0 +/* 802528B8 0024F818 38 21 00 10 */ addi r1, r1, 0x10 +/* 802528BC 0024F81C 4E 80 00 20 */ blr + +.global GetGravityConstant__7CRidleyCFv +GetGravityConstant__7CRidleyCFv: +/* 802528C0 0024F820 C0 22 B9 0C */ lfs f1, lbl_805AD62C@sda21(r2) +/* 802528C4 0024F824 4E 80 00 20 */ blr + +.global GetCollisionResponseType__7CRidleyCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__7CRidleyCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 802528C8 0024F828 38 60 00 10 */ li r3, 0x10 +/* 802528CC 0024F82C 4E 80 00 20 */ blr + +.global SetAIStage__7CRidleyFR13CStateManagerf +SetAIStage__7CRidleyFR13CStateManagerf: +/* 802528D0 0024F830 FC 00 08 1E */ fctiwz f0, f1 +/* 802528D4 0024F834 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802528D8 0024F838 D8 01 00 08 */ stfd f0, 8(r1) +/* 802528DC 0024F83C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802528E0 0024F840 90 03 0C 64 */ stw r0, 0xc64(r3) +/* 802528E4 0024F844 38 60 00 01 */ li r3, 1 +/* 802528E8 0024F848 38 21 00 10 */ addi r1, r1, 0x10 +/* 802528EC 0024F84C 4E 80 00 20 */ blr + +.global HitSomething__7CRidleyFR13CStateManagerf +HitSomething__7CRidleyFR13CStateManagerf: +/* 802528F0 0024F850 88 03 0A 32 */ lbz r0, 0xa32(r3) +/* 802528F4 0024F854 38 80 00 00 */ li r4, 0 +/* 802528F8 0024F858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802528FC 0024F85C 40 82 00 10 */ bne lbl_8025290C +/* 80252900 0024F860 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252904 0024F864 2C 00 00 03 */ cmpwi r0, 3 +/* 80252908 0024F868 40 82 00 08 */ bne lbl_80252910 +lbl_8025290C: +/* 8025290C 0024F86C 38 80 00 01 */ li r4, 1 +lbl_80252910: +/* 80252910 0024F870 7C 83 23 78 */ mr r3, r4 +/* 80252914 0024F874 4E 80 00 20 */ blr + +.global Attacked__7CRidleyFR13CStateManagerf +Attacked__7CRidleyFR13CStateManagerf: +/* 80252918 0024F878 88 83 0A 31 */ lbz r4, 0xa31(r3) +/* 8025291C 0024F87C 38 60 00 00 */ li r3, 0 +/* 80252920 0024F880 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80252924 0024F884 4D 82 00 20 */ beqlr +/* 80252928 0024F888 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8025292C 0024F88C 4D 82 00 20 */ beqlr +/* 80252930 0024F890 38 60 00 01 */ li r3, 1 +/* 80252934 0024F894 4E 80 00 20 */ blr + +.global ShotAt__7CRidleyFR13CStateManagerf +ShotAt__7CRidleyFR13CStateManagerf: +/* 80252938 0024F898 88 03 0A 32 */ lbz r0, 0xa32(r3) +/* 8025293C 0024F89C 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 80252940 0024F8A0 4E 80 00 20 */ blr + +.global IsDizzy__7CRidleyFR13CStateManagerf +IsDizzy__7CRidleyFR13CStateManagerf: +/* 80252944 0024F8A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80252948 0024F8A8 7C 08 02 A6 */ mflr r0 +/* 8025294C 0024F8AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80252950 0024F8B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80252954 0024F8B4 7C 7F 1B 78 */ mr r31, r3 +/* 80252958 0024F8B8 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 8025295C 0024F8BC 2C 00 00 03 */ cmpwi r0, 3 +/* 80252960 0024F8C0 40 82 00 0C */ bne lbl_8025296C +/* 80252964 0024F8C4 38 60 00 01 */ li r3, 1 +/* 80252968 0024F8C8 48 00 00 A8 */ b lbl_80252A10 +lbl_8025296C: +/* 8025296C 0024F8CC 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80252970 0024F8D0 2C 00 00 03 */ cmpwi r0, 3 +/* 80252974 0024F8D4 41 82 00 98 */ beq lbl_80252A0C +/* 80252978 0024F8D8 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8025297C 0024F8DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252980 0024F8E0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80252984 0024F8E4 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80252988 0024F8E8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8025298C 0024F8EC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80252990 0024F8F0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80252994 0024F8F4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80252998 0024F8F8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025299C 0024F8FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 802529A0 0024F900 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802529A4 0024F904 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802529A8 0024F908 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802529AC 0024F90C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802529B0 0024F910 48 0C 1F 09 */ bl Magnitude__9CVector3fCFv +/* 802529B4 0024F914 C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 802529B8 0024F918 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802529BC 0024F91C 40 80 00 50 */ bge lbl_80252A0C +/* 802529C0 0024F920 C0 9F 00 48 */ lfs f4, 0x48(r31) +/* 802529C4 0024F924 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802529C8 0024F928 C0 7F 00 38 */ lfs f3, 0x38(r31) +/* 802529CC 0024F92C EC 00 01 32 */ fmuls f0, f0, f4 +/* 802529D0 0024F930 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802529D4 0024F934 C0 BF 00 58 */ lfs f5, 0x58(r31) +/* 802529D8 0024F938 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802529DC 0024F93C EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 802529E0 0024F940 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802529E4 0024F944 D0 61 00 08 */ stfs f3, 8(r1) +/* 802529E8 0024F948 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802529EC 0024F94C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802529F0 0024F950 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802529F4 0024F954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802529F8 0024F958 40 80 00 14 */ bge lbl_80252A0C +/* 802529FC 0024F95C 38 00 00 03 */ li r0, 3 +/* 80252A00 0024F960 38 60 00 01 */ li r3, 1 +/* 80252A04 0024F964 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 80252A08 0024F968 48 00 00 08 */ b lbl_80252A10 +lbl_80252A0C: +/* 80252A0C 0024F96C 38 60 00 00 */ li r3, 0 +lbl_80252A10: +/* 80252A10 0024F970 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80252A14 0024F974 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80252A18 0024F978 7C 08 03 A6 */ mtlr r0 +/* 80252A1C 0024F97C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80252A20 0024F980 4E 80 00 20 */ blr + +.global ShouldMove__7CRidleyFR13CStateManagerf +ShouldMove__7CRidleyFR13CStateManagerf: +/* 80252A24 0024F984 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80252A28 0024F988 7C 08 02 A6 */ mflr r0 +/* 80252A2C 0024F98C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80252A30 0024F990 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80252A34 0024F994 7C 7F 1B 78 */ mr r31, r3 +/* 80252A38 0024F998 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252A3C 0024F99C 2C 00 00 05 */ cmpwi r0, 5 +/* 80252A40 0024F9A0 40 82 00 1C */ bne lbl_80252A5C +/* 80252A44 0024F9A4 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80252A48 0024F9A8 38 60 00 01 */ li r3, 1 +/* 80252A4C 0024F9AC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80252A50 0024F9B0 38 60 00 01 */ li r3, 1 +/* 80252A54 0024F9B4 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80252A58 0024F9B8 48 00 00 CC */ b lbl_80252B24 +lbl_80252A5C: +/* 80252A5C 0024F9BC 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80252A60 0024F9C0 2C 00 00 05 */ cmpwi r0, 5 +/* 80252A64 0024F9C4 41 82 00 BC */ beq lbl_80252B20 +/* 80252A68 0024F9C8 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80252A6C 0024F9CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252A70 0024F9D0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80252A74 0024F9D4 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80252A78 0024F9D8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80252A7C 0024F9DC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80252A80 0024F9E0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80252A84 0024F9E4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80252A88 0024F9E8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80252A8C 0024F9EC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80252A90 0024F9F0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80252A94 0024F9F4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80252A98 0024F9F8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80252A9C 0024F9FC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80252AA0 0024FA00 48 0C 1E 19 */ bl Magnitude__9CVector3fCFv +/* 80252AA4 0024FA04 C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 80252AA8 0024FA08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252AAC 0024FA0C 40 81 00 74 */ ble lbl_80252B20 +/* 80252AB0 0024FA10 C0 BF 00 48 */ lfs f5, 0x48(r31) +/* 80252AB4 0024FA14 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80252AB8 0024FA18 C0 9F 00 38 */ lfs f4, 0x38(r31) +/* 80252ABC 0024FA1C EC 40 01 72 */ fmuls f2, f0, f5 +/* 80252AC0 0024FA20 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80252AC4 0024FA24 C0 DF 00 58 */ lfs f6, 0x58(r31) +/* 80252AC8 0024FA28 C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) +/* 80252ACC 0024FA2C EC 43 11 3A */ fmadds f2, f3, f4, f2 +/* 80252AD0 0024FA30 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80252AD4 0024FA34 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80252AD8 0024FA38 D0 81 00 08 */ stfs f4, 8(r1) +/* 80252ADC 0024FA3C EC 23 11 BA */ fmadds f1, f3, f6, f2 +/* 80252AE0 0024FA40 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80252AE4 0024FA44 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80252AE8 0024FA48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252AEC 0024FA4C 40 81 00 34 */ ble lbl_80252B20 +/* 80252AF0 0024FA50 7F E3 FB 78 */ mr r3, r31 +/* 80252AF4 0024FA54 48 00 0E 6D */ bl sub_80253960 +/* 80252AF8 0024FA58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80252AFC 0024FA5C 41 82 00 24 */ beq lbl_80252B20 +/* 80252B00 0024FA60 88 7F 0A 34 */ lbz r3, 0xa34(r31) +/* 80252B04 0024FA64 38 00 00 01 */ li r0, 1 +/* 80252B08 0024FA68 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 80252B0C 0024FA6C 38 00 00 05 */ li r0, 5 +/* 80252B10 0024FA70 98 7F 0A 34 */ stb r3, 0xa34(r31) +/* 80252B14 0024FA74 38 60 00 01 */ li r3, 1 +/* 80252B18 0024FA78 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 80252B1C 0024FA7C 48 00 00 08 */ b lbl_80252B24 +lbl_80252B20: +/* 80252B20 0024FA80 38 60 00 00 */ li r3, 0 +lbl_80252B24: +/* 80252B24 0024FA84 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80252B28 0024FA88 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80252B2C 0024FA8C 7C 08 03 A6 */ mtlr r0 +/* 80252B30 0024FA90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80252B34 0024FA94 4E 80 00 20 */ blr + +.global TooClose__7CRidleyFR13CStateManagerf +TooClose__7CRidleyFR13CStateManagerf: +/* 80252B38 0024FA98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80252B3C 0024FA9C 7C 08 02 A6 */ mflr r0 +/* 80252B40 0024FAA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80252B44 0024FAA4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80252B48 0024FAA8 7C 7F 1B 78 */ mr r31, r3 +/* 80252B4C 0024FAAC 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252B50 0024FAB0 2C 00 00 04 */ cmpwi r0, 4 +/* 80252B54 0024FAB4 40 82 00 0C */ bne lbl_80252B60 +/* 80252B58 0024FAB8 38 60 00 01 */ li r3, 1 +/* 80252B5C 0024FABC 48 00 00 AC */ b lbl_80252C08 +lbl_80252B60: +/* 80252B60 0024FAC0 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80252B64 0024FAC4 2C 00 00 04 */ cmpwi r0, 4 +/* 80252B68 0024FAC8 41 82 00 9C */ beq lbl_80252C04 +/* 80252B6C 0024FACC 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80252B70 0024FAD0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252B74 0024FAD4 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80252B78 0024FAD8 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80252B7C 0024FADC C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80252B80 0024FAE0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80252B84 0024FAE4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80252B88 0024FAE8 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80252B8C 0024FAEC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80252B90 0024FAF0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80252B94 0024FAF4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80252B98 0024FAF8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80252B9C 0024FAFC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80252BA0 0024FB00 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80252BA4 0024FB04 48 0C 1D 15 */ bl Magnitude__9CVector3fCFv +/* 80252BA8 0024FB08 C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 80252BAC 0024FB0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252BB0 0024FB10 40 80 00 54 */ bge lbl_80252C04 +/* 80252BB4 0024FB14 C0 BF 00 48 */ lfs f5, 0x48(r31) +/* 80252BB8 0024FB18 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80252BBC 0024FB1C C0 9F 00 38 */ lfs f4, 0x38(r31) +/* 80252BC0 0024FB20 EC 40 01 72 */ fmuls f2, f0, f5 +/* 80252BC4 0024FB24 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80252BC8 0024FB28 C0 DF 00 58 */ lfs f6, 0x58(r31) +/* 80252BCC 0024FB2C C0 02 B9 20 */ lfs f0, lbl_805AD640@sda21(r2) +/* 80252BD0 0024FB30 EC 43 11 3A */ fmadds f2, f3, f4, f2 +/* 80252BD4 0024FB34 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80252BD8 0024FB38 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80252BDC 0024FB3C D0 81 00 08 */ stfs f4, 8(r1) +/* 80252BE0 0024FB40 EC 23 11 BA */ fmadds f1, f3, f6, f2 +/* 80252BE4 0024FB44 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80252BE8 0024FB48 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80252BEC 0024FB4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252BF0 0024FB50 40 81 00 14 */ ble lbl_80252C04 +/* 80252BF4 0024FB54 38 00 00 04 */ li r0, 4 +/* 80252BF8 0024FB58 38 60 00 01 */ li r3, 1 +/* 80252BFC 0024FB5C 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 80252C00 0024FB60 48 00 00 08 */ b lbl_80252C08 +lbl_80252C04: +/* 80252C04 0024FB64 38 60 00 00 */ li r3, 0 +lbl_80252C08: +/* 80252C08 0024FB68 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80252C0C 0024FB6C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80252C10 0024FB70 7C 08 03 A6 */ mtlr r0 +/* 80252C14 0024FB74 38 21 00 30 */ addi r1, r1, 0x30 +/* 80252C18 0024FB78 4E 80 00 20 */ blr + +.global AttackOver__7CRidleyFR13CStateManagerf +AttackOver__7CRidleyFR13CStateManagerf: +/* 80252C1C 0024FB7C 80 03 0C C4 */ lwz r0, 0xcc4(r3) +/* 80252C20 0024FB80 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C24 0024FB84 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C28 0024FB88 4E 80 00 20 */ blr + +.global ShouldTurn__7CRidleyFR13CStateManagerf +ShouldTurn__7CRidleyFR13CStateManagerf: +/* 80252C2C 0024FB8C 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252C30 0024FB90 20 00 00 05 */ subfic r0, r0, 5 +/* 80252C34 0024FB94 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C38 0024FB98 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C3C 0024FB9C 4E 80 00 20 */ blr + +.global ShouldDodge__7CRidleyFR13CStateManagerf +ShouldDodge__7CRidleyFR13CStateManagerf: +/* 80252C40 0024FBA0 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252C44 0024FBA4 20 00 00 03 */ subfic r0, r0, 3 +/* 80252C48 0024FBA8 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C4C 0024FBAC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C50 0024FBB0 4E 80 00 20 */ blr + +.global ShouldRetreat__7CRidleyFR13CStateManagerf +ShouldRetreat__7CRidleyFR13CStateManagerf: +/* 80252C54 0024FBB4 88 03 0A 34 */ lbz r0, 0xa34(r3) +/* 80252C58 0024FBB8 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f +/* 80252C5C 0024FBBC 4E 80 00 20 */ blr + +.global ShouldCrouch__7CRidleyFR13CStateManagerf +ShouldCrouch__7CRidleyFR13CStateManagerf: +/* 80252C60 0024FBC0 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252C64 0024FBC4 20 00 00 01 */ subfic r0, r0, 1 +/* 80252C68 0024FBC8 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C6C 0024FBCC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C70 0024FBD0 4E 80 00 20 */ blr + +.global InRange__7CRidleyFR13CStateManagerf +InRange__7CRidleyFR13CStateManagerf: +/* 80252C74 0024FBD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80252C78 0024FBD8 7C 08 02 A6 */ mflr r0 +/* 80252C7C 0024FBDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80252C80 0024FBE0 C0 A3 00 60 */ lfs f5, 0x60(r3) +/* 80252C84 0024FBE4 C0 83 00 50 */ lfs f4, 0x50(r3) +/* 80252C88 0024FBE8 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80252C8C 0024FBEC C0 43 02 E4 */ lfs f2, 0x2e4(r3) +/* 80252C90 0024FBF0 C0 23 02 E8 */ lfs f1, 0x2e8(r3) +/* 80252C94 0024FBF4 C0 03 02 E0 */ lfs f0, 0x2e0(r3) +/* 80252C98 0024FBF8 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80252C9C 0024FBFC EC 25 08 28 */ fsubs f1, f5, f1 +/* 80252CA0 0024FC00 D0 61 00 08 */ stfs f3, 8(r1) +/* 80252CA4 0024FC04 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80252CA8 0024FC08 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252CAC 0024FC0C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80252CB0 0024FC10 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80252CB4 0024FC14 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80252CB8 0024FC18 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80252CBC 0024FC1C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80252CC0 0024FC20 48 0C 1B F9 */ bl Magnitude__9CVector3fCFv +/* 80252CC4 0024FC24 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) +/* 80252CC8 0024FC28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252CCC 0024FC2C 7C 00 00 26 */ mfcr r0 +/* 80252CD0 0024FC30 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80252CD4 0024FC34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80252CD8 0024FC38 7C 08 03 A6 */ mtlr r0 +/* 80252CDC 0024FC3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80252CE0 0024FC40 4E 80 00 20 */ blr + +.global AIStage__7CRidleyFR13CStateManagerf +AIStage__7CRidleyFR13CStateManagerf: +/* 80252CE4 0024FC44 FC 00 08 1E */ fctiwz f0, f1 +/* 80252CE8 0024FC48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80252CEC 0024FC4C 80 A3 0C 64 */ lwz r5, 0xc64(r3) +/* 80252CF0 0024FC50 D8 01 00 08 */ stfd f0, 8(r1) +/* 80252CF4 0024FC54 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 80252CF8 0024FC58 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80252CFC 0024FC5C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80252D00 0024FC60 7C 00 28 10 */ subfc r0, r0, r5 +/* 80252D04 0024FC64 7C 64 19 14 */ adde r3, r4, r3 +/* 80252D08 0024FC68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80252D0C 0024FC6C 4E 80 00 20 */ blr + +.global ShouldAttack__7CRidleyFR13CStateManagerf +ShouldAttack__7CRidleyFR13CStateManagerf: +/* 80252D10 0024FC70 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252D14 0024FC74 38 80 00 00 */ li r4, 0 +/* 80252D18 0024FC78 2C 00 00 03 */ cmpwi r0, 3 +/* 80252D1C 0024FC7C 41 82 00 24 */ beq lbl_80252D40 +/* 80252D20 0024FC80 40 80 00 30 */ bge lbl_80252D50 +/* 80252D24 0024FC84 2C 00 00 02 */ cmpwi r0, 2 +/* 80252D28 0024FC88 40 80 00 08 */ bge lbl_80252D30 +/* 80252D2C 0024FC8C 48 00 00 24 */ b lbl_80252D50 +lbl_80252D30: +/* 80252D30 0024FC90 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252D34 0024FC94 7C 00 00 34 */ cntlzw r0, r0 +/* 80252D38 0024FC98 54 04 D9 7E */ srwi r4, r0, 5 +/* 80252D3C 0024FC9C 48 00 00 14 */ b lbl_80252D50 +lbl_80252D40: +/* 80252D40 0024FCA0 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252D44 0024FCA4 20 00 00 02 */ subfic r0, r0, 2 +/* 80252D48 0024FCA8 7C 00 00 34 */ cntlzw r0, r0 +/* 80252D4C 0024FCAC 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80252D50: +/* 80252D50 0024FCB0 7C 83 23 78 */ mr r3, r4 +/* 80252D54 0024FCB4 4E 80 00 20 */ blr + +.global ShouldFire__7CRidleyFR13CStateManagerf +ShouldFire__7CRidleyFR13CStateManagerf: +/* 80252D58 0024FCB8 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252D5C 0024FCBC 38 80 00 00 */ li r4, 0 +/* 80252D60 0024FCC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80252D64 0024FCC4 41 82 00 08 */ beq lbl_80252D6C +/* 80252D68 0024FCC8 48 00 00 14 */ b lbl_80252D7C +lbl_80252D6C: +/* 80252D6C 0024FCCC 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252D70 0024FCD0 20 00 00 02 */ subfic r0, r0, 2 +/* 80252D74 0024FCD4 7C 00 00 34 */ cntlzw r0, r0 +/* 80252D78 0024FCD8 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80252D7C: +/* 80252D7C 0024FCDC 7C 83 23 78 */ mr r3, r4 +/* 80252D80 0024FCE0 4E 80 00 20 */ blr + +.global ShouldTaunt__7CRidleyFR13CStateManagerf +ShouldTaunt__7CRidleyFR13CStateManagerf: +/* 80252D84 0024FCE4 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252D88 0024FCE8 38 80 00 00 */ li r4, 0 +/* 80252D8C 0024FCEC 2C 00 00 03 */ cmpwi r0, 3 +/* 80252D90 0024FCF0 41 82 00 28 */ beq lbl_80252DB8 +/* 80252D94 0024FCF4 40 80 00 34 */ bge lbl_80252DC8 +/* 80252D98 0024FCF8 2C 00 00 02 */ cmpwi r0, 2 +/* 80252D9C 0024FCFC 40 80 00 08 */ bge lbl_80252DA4 +/* 80252DA0 0024FD00 48 00 00 28 */ b lbl_80252DC8 +lbl_80252DA4: +/* 80252DA4 0024FD04 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252DA8 0024FD08 20 00 00 04 */ subfic r0, r0, 4 +/* 80252DAC 0024FD0C 7C 00 00 34 */ cntlzw r0, r0 +/* 80252DB0 0024FD10 54 04 D9 7E */ srwi r4, r0, 5 +/* 80252DB4 0024FD14 48 00 00 14 */ b lbl_80252DC8 +lbl_80252DB8: +/* 80252DB8 0024FD18 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252DBC 0024FD1C 20 00 00 01 */ subfic r0, r0, 1 +/* 80252DC0 0024FD20 7C 00 00 34 */ cntlzw r0, r0 +/* 80252DC4 0024FD24 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80252DC8: +/* 80252DC8 0024FD28 7C 83 23 78 */ mr r3, r4 +/* 80252DCC 0024FD2C 4E 80 00 20 */ blr + +.global Dead__7CRidleyFR13CStateManager9EStateMsgf +Dead__7CRidleyFR13CStateManager9EStateMsgf: +/* 80252DD0 0024FD30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80252DD4 0024FD34 7C 08 02 A6 */ mflr r0 +/* 80252DD8 0024FD38 2C 05 00 00 */ cmpwi r5, 0 +/* 80252DDC 0024FD3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80252DE0 0024FD40 41 82 00 0C */ beq lbl_80252DEC +/* 80252DE4 0024FD44 41 80 00 24 */ blt lbl_80252E08 +/* 80252DE8 0024FD48 48 00 00 20 */ b lbl_80252E08 +lbl_80252DEC: +/* 80252DEC 0024FD4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80252DF0 0024FD50 7C 83 23 78 */ mr r3, r4 +/* 80252DF4 0024FD54 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80252DF8 0024FD58 38 81 00 08 */ addi r4, r1, 8 +/* 80252DFC 0024FD5C B0 01 00 08 */ sth r0, 8(r1) +/* 80252E00 0024FD60 38 A0 00 00 */ li r5, 0 +/* 80252E04 0024FD64 4B DF 11 41 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +lbl_80252E08: +/* 80252E08 0024FD68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80252E0C 0024FD6C 7C 08 03 A6 */ mtlr r0 +/* 80252E10 0024FD70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80252E14 0024FD74 4E 80 00 20 */ blr + +.global CoverAttack__7CRidleyFR13CStateManager9EStateMsgf +CoverAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80252E18 0024FD78 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80252E1C 0024FD7C 7C 08 02 A6 */ mflr r0 +/* 80252E20 0024FD80 2C 05 00 01 */ cmpwi r5, 1 +/* 80252E24 0024FD84 90 01 00 44 */ stw r0, 0x44(r1) +/* 80252E28 0024FD88 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80252E2C 0024FD8C 7C 7F 1B 78 */ mr r31, r3 +/* 80252E30 0024FD90 41 82 00 88 */ beq lbl_80252EB8 +/* 80252E34 0024FD94 40 80 00 10 */ bge lbl_80252E44 +/* 80252E38 0024FD98 2C 05 00 00 */ cmpwi r5, 0 +/* 80252E3C 0024FD9C 40 80 00 14 */ bge lbl_80252E50 +/* 80252E40 0024FDA0 48 00 01 20 */ b lbl_80252F60 +lbl_80252E44: +/* 80252E44 0024FDA4 2C 05 00 03 */ cmpwi r5, 3 +/* 80252E48 0024FDA8 40 80 01 18 */ bge lbl_80252F60 +/* 80252E4C 0024FDAC 48 00 00 A0 */ b lbl_80252EEC +lbl_80252E50: +/* 80252E50 0024FDB0 38 00 00 01 */ li r0, 1 +/* 80252E54 0024FDB4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80252E58 0024FDB8 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80252E5C 0024FDBC C0 3F 09 54 */ lfs f1, 0x954(r31) +/* 80252E60 0024FDC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252E64 0024FDC4 7C A0 00 26 */ mfcr r5 +/* 80252E68 0024FDC8 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80252E6C 0024FDCC 50 A0 2F 38 */ rlwimi r0, r5, 5, 0x1c, 0x1c +/* 80252E70 0024FDD0 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80252E74 0024FDD4 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 80252E78 0024FDD8 80 BF 09 38 */ lwz r5, 0x938(r31) +/* 80252E7C 0024FDDC 80 1F 09 3C */ lwz r0, 0x93c(r31) +/* 80252E80 0024FDE0 90 BF 0C 8C */ stw r5, 0xc8c(r31) +/* 80252E84 0024FDE4 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80252E88 0024FDE8 C0 1F 09 40 */ lfs f0, 0x940(r31) +/* 80252E8C 0024FDEC D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80252E90 0024FDF0 C0 1F 09 44 */ lfs f0, 0x944(r31) +/* 80252E94 0024FDF4 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80252E98 0024FDF8 C0 1F 09 48 */ lfs f0, 0x948(r31) +/* 80252E9C 0024FDFC D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80252EA0 0024FE00 C0 1F 09 4C */ lfs f0, 0x94c(r31) +/* 80252EA4 0024FE04 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80252EA8 0024FE08 88 1F 09 50 */ lbz r0, 0x950(r31) +/* 80252EAC 0024FE0C 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80252EB0 0024FE10 48 00 36 D1 */ bl sub_80256580 +/* 80252EB4 0024FE14 48 00 00 AC */ b lbl_80252F60 +lbl_80252EB8: +/* 80252EB8 0024FE18 3C A0 80 3F */ lis r5, lbl_803E924C@ha +/* 80252EBC 0024FE1C 38 C1 00 08 */ addi r6, r1, 8 +/* 80252EC0 0024FE20 39 45 92 4C */ addi r10, r5, lbl_803E924C@l +/* 80252EC4 0024FE24 38 A0 00 07 */ li r5, 7 +/* 80252EC8 0024FE28 81 2A 00 00 */ lwz r9, 0(r10) +/* 80252ECC 0024FE2C 38 E0 00 01 */ li r7, 1 +/* 80252ED0 0024FE30 81 0A 00 04 */ lwz r8, 4(r10) +/* 80252ED4 0024FE34 80 0A 00 08 */ lwz r0, 8(r10) +/* 80252ED8 0024FE38 91 21 00 08 */ stw r9, 8(r1) +/* 80252EDC 0024FE3C 91 01 00 0C */ stw r8, 0xc(r1) +/* 80252EE0 0024FE40 90 01 00 10 */ stw r0, 0x10(r1) +/* 80252EE4 0024FE44 4B E2 98 D1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80252EE8 0024FE48 48 00 00 78 */ b lbl_80252F60 +lbl_80252EEC: +/* 80252EEC 0024FE4C 38 A0 00 00 */ li r5, 0 +/* 80252EF0 0024FE50 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80252EF4 0024FE54 90 BF 03 2C */ stw r5, 0x32c(r31) +/* 80252EF8 0024FE58 7F E4 FB 78 */ mr r4, r31 +/* 80252EFC 0024FE5C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252F00 0024FE60 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80252F04 0024FE64 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80252F08 0024FE68 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80252F0C 0024FE6C D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 80252F10 0024FE70 81 9F 00 00 */ lwz r12, 0(r31) +/* 80252F14 0024FE74 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80252F18 0024FE78 7D 89 03 A6 */ mtctr r12 +/* 80252F1C 0024FE7C 4E 80 04 21 */ bctrl +/* 80252F20 0024FE80 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80252F24 0024FE84 7F E3 FB 78 */ mr r3, r31 +/* 80252F28 0024FE88 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80252F2C 0024FE8C 90 9F 0C 8C */ stw r4, 0xc8c(r31) +/* 80252F30 0024FE90 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80252F34 0024FE94 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80252F38 0024FE98 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80252F3C 0024FE9C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80252F40 0024FEA0 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80252F44 0024FEA4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80252F48 0024FEA8 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80252F4C 0024FEAC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80252F50 0024FEB0 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80252F54 0024FEB4 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 80252F58 0024FEB8 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80252F5C 0024FEBC 48 00 36 21 */ bl nullsub_53 +lbl_80252F60: +/* 80252F60 0024FEC0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80252F64 0024FEC4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80252F68 0024FEC8 7C 08 03 A6 */ mtlr r0 +/* 80252F6C 0024FECC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80252F70 0024FED0 4E 80 00 20 */ blr + +.global Dodge__7CRidleyFR13CStateManager9EStateMsgf +Dodge__7CRidleyFR13CStateManager9EStateMsgf: +/* 80252F74 0024FED4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80252F78 0024FED8 7C 08 02 A6 */ mflr r0 +/* 80252F7C 0024FEDC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80252F80 0024FEE0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80252F84 0024FEE4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80252F88 0024FEE8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80252F8C 0024FEEC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80252F90 0024FEF0 FF E0 08 90 */ fmr f31, f1 +/* 80252F94 0024FEF4 2C 05 00 01 */ cmpwi r5, 1 +/* 80252F98 0024FEF8 7C 7E 1B 78 */ mr r30, r3 +/* 80252F9C 0024FEFC 7C 9F 23 78 */ mr r31, r4 +/* 80252FA0 0024FF00 41 82 00 E0 */ beq lbl_80253080 +/* 80252FA4 0024FF04 40 80 00 10 */ bge lbl_80252FB4 +/* 80252FA8 0024FF08 2C 05 00 00 */ cmpwi r5, 0 +/* 80252FAC 0024FF0C 40 80 00 14 */ bge lbl_80252FC0 +/* 80252FB0 0024FF10 48 00 02 3C */ b lbl_802531EC +lbl_80252FB4: +/* 80252FB4 0024FF14 2C 05 00 03 */ cmpwi r5, 3 +/* 80252FB8 0024FF18 40 80 02 34 */ bge lbl_802531EC +/* 80252FBC 0024FF1C 48 00 02 28 */ b lbl_802531E4 +lbl_80252FC0: +/* 80252FC0 0024FF20 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80252FC4 0024FF24 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252FC8 0024FF28 C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 80252FCC 0024FF2C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80252FD0 0024FF30 C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80252FD4 0024FF34 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80252FD8 0024FF38 EC 42 00 28 */ fsubs f2, f2, f0 +/* 80252FDC 0024FF3C 48 0C 12 25 */ bl __ct__9CVector2fFff +/* 80252FE0 0024FF40 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80252FE4 0024FF44 38 61 00 70 */ addi r3, r1, 0x70 +/* 80252FE8 0024FF48 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80252FEC 0024FF4C 38 81 00 64 */ addi r4, r1, 0x64 +/* 80252FF0 0024FF50 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80252FF4 0024FF54 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80252FF8 0024FF58 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80252FFC 0024FF5C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80253000 0024FF60 48 0C 18 51 */ bl AsNormalized__9CVector3fCFv +/* 80253004 0024FF64 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80253008 0024FF68 38 81 00 08 */ addi r4, r1, 8 +/* 8025300C 0024FF6C C0 1E 0A 94 */ lfs f0, 0xa94(r30) +/* 80253010 0024FF70 38 6D 97 B4 */ addi r3, r13, lbl_805A8374@sda21 +/* 80253014 0024FF74 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80253018 0024FF78 38 AD 97 B8 */ addi r5, r13, lbl_805A8378@sda21 +/* 8025301C 0024FF7C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80253020 0024FF80 C0 3E 0A 84 */ lfs f1, 0xa84(r30) +/* 80253024 0024FF84 C0 81 00 78 */ lfs f4, 0x78(r1) +/* 80253028 0024FF88 C0 7E 0A A4 */ lfs f3, 0xaa4(r30) +/* 8025302C 0024FF8C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80253030 0024FF90 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) +/* 80253034 0024FF94 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253038 0024FF98 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8025303C 0024FF9C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80253040 0024FFA0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80253044 0024FFA4 4B DB 92 71 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80253048 0024FFA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8025304C 0024FFAC 38 00 00 02 */ li r0, 2 +/* 80253050 0024FFB0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80253054 0024FFB4 90 1E 0C 84 */ stw r0, 0xc84(r30) +/* 80253058 0024FFB8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8025305C 0024FFBC 48 0B F4 81 */ bl Float__9CRandom16Fv +/* 80253060 0024FFC0 C0 01 00 08 */ lfs f0, 8(r1) +/* 80253064 0024FFC4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253068 0024FFC8 40 80 00 0C */ bge lbl_80253074 +/* 8025306C 0024FFCC 38 00 00 03 */ li r0, 3 +/* 80253070 0024FFD0 90 1E 0C 84 */ stw r0, 0xc84(r30) +lbl_80253074: +/* 80253074 0024FFD4 38 00 00 01 */ li r0, 1 +/* 80253078 0024FFD8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025307C 0024FFDC 48 00 01 70 */ b lbl_802531EC +lbl_80253080: +/* 80253080 0024FFE0 3C A0 80 3F */ lis r5, lbl_803E9240@ha +/* 80253084 0024FFE4 38 C1 00 58 */ addi r6, r1, 0x58 +/* 80253088 0024FFE8 39 25 92 40 */ addi r9, r5, lbl_803E9240@l +/* 8025308C 0024FFEC 38 A0 00 03 */ li r5, 3 +/* 80253090 0024FFF0 81 09 00 00 */ lwz r8, 0(r9) +/* 80253094 0024FFF4 80 E9 00 04 */ lwz r7, 4(r9) +/* 80253098 0024FFF8 80 09 00 08 */ lwz r0, 8(r9) +/* 8025309C 0024FFFC 91 01 00 58 */ stw r8, 0x58(r1) +/* 802530A0 00250000 90 E1 00 5C */ stw r7, 0x5c(r1) +/* 802530A4 00250004 90 01 00 60 */ stw r0, 0x60(r1) +/* 802530A8 00250008 80 FE 0C 84 */ lwz r7, 0xc84(r30) +/* 802530AC 0025000C 4B E2 97 09 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802530B0 00250010 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 802530B4 00250014 2C 00 00 03 */ cmpwi r0, 3 +/* 802530B8 00250018 40 82 00 CC */ bne lbl_80253184 +/* 802530BC 0025001C C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 802530C0 00250020 38 61 00 0C */ addi r3, r1, 0xc +/* 802530C4 00250024 C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 802530C8 00250028 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 802530CC 0025002C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 802530D0 00250030 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802530D4 00250034 EC 42 00 28 */ fsubs f2, f2, f0 +/* 802530D8 00250038 48 0C 11 29 */ bl __ct__9CVector2fFff +/* 802530DC 0025003C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802530E0 00250040 38 61 00 4C */ addi r3, r1, 0x4c +/* 802530E4 00250044 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802530E8 00250048 38 81 00 40 */ addi r4, r1, 0x40 +/* 802530EC 0025004C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802530F0 00250050 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802530F4 00250054 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802530F8 00250058 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802530FC 0025005C 48 0C 17 55 */ bl AsNormalized__9CVector3fCFv +/* 80253100 00250060 C0 5E 0A BC */ lfs f2, 0xabc(r30) +/* 80253104 00250064 38 61 00 7C */ addi r3, r1, 0x7c +/* 80253108 00250068 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8025310C 0025006C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80253110 00250070 EC 82 00 72 */ fmuls f4, f2, f1 +/* 80253114 00250074 C0 BE 0A A0 */ lfs f5, 0xaa0(r30) +/* 80253118 00250078 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8025311C 0025007C C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 80253120 00250080 C0 7E 0A B0 */ lfs f3, 0xab0(r30) +/* 80253124 00250084 C0 5E 0A C0 */ lfs f2, 0xac0(r30) +/* 80253128 00250088 EC A5 20 2A */ fadds f5, f5, f4 +/* 8025312C 0025008C C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80253130 00250090 EC 63 10 2A */ fadds f3, f3, f2 +/* 80253134 00250094 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80253138 00250098 EC 21 00 2A */ fadds f1, f1, f0 +/* 8025313C 0025009C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80253140 002500A0 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80253144 002500A4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80253148 002500A8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025314C 002500AC D0 81 00 80 */ stfs f4, 0x80(r1) +/* 80253150 002500B0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80253154 002500B4 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 80253158 002500B8 48 0C 17 61 */ bl Magnitude__9CVector3fCFv +/* 8025315C 002500BC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253160 002500C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253164 002500C4 40 81 00 0C */ ble lbl_80253170 +/* 80253168 002500C8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025316C 002500CC 48 0C 17 8D */ bl Normalize__9CVector3fFv +lbl_80253170: +/* 80253170 002500D0 FC 40 F8 90 */ fmr f2, f31 +/* 80253174 002500D4 C0 22 B9 2C */ lfs f1, lbl_805AD64C@sda21(r2) +/* 80253178 002500D8 7F C3 F3 78 */ mr r3, r30 +/* 8025317C 002500DC 38 81 00 7C */ addi r4, r1, 0x7c +/* 80253180 002500E0 48 00 2E 69 */ bl sub_80255fe8 +lbl_80253184: +/* 80253184 002500E4 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 80253188 002500E8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8025318C 002500EC C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80253190 002500F0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80253194 002500F4 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 80253198 002500F8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8025319C 002500FC EC 24 00 28 */ fsubs f1, f4, f0 +/* 802531A0 00250100 C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 802531A4 00250104 C0 BE 00 40 */ lfs f5, 0x40(r30) +/* 802531A8 00250108 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802531AC 0025010C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802531B0 00250110 EC 00 28 28 */ fsubs f0, f0, f5 +/* 802531B4 00250114 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802531B8 00250118 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802531BC 0025011C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802531C0 00250120 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 802531C4 00250124 83 FE 04 50 */ lwz r31, 0x450(r30) +/* 802531C8 00250128 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802531CC 0025012C 48 0C 16 85 */ bl AsNormalized__9CVector3fCFv +/* 802531D0 00250130 FC 20 F8 90 */ fmr f1, f31 +/* 802531D4 00250134 7F E3 FB 78 */ mr r3, r31 +/* 802531D8 00250138 38 81 00 34 */ addi r4, r1, 0x34 +/* 802531DC 0025013C 4B EE 74 C9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 802531E0 00250140 48 00 00 0C */ b lbl_802531EC +lbl_802531E4: +/* 802531E4 00250144 38 00 00 00 */ li r0, 0 +/* 802531E8 00250148 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_802531EC: +/* 802531EC 0025014C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802531F0 00250150 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802531F4 00250154 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802531F8 00250158 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802531FC 0025015C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80253200 00250160 7C 08 03 A6 */ mtlr r0 +/* 80253204 00250164 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80253208 00250168 4E 80 00 20 */ blr + +.global Hurled__7CRidleyFR13CStateManager9EStateMsgf +Hurled__7CRidleyFR13CStateManager9EStateMsgf: +/* 8025320C 0025016C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253210 00250170 7C 08 02 A6 */ mflr r0 +/* 80253214 00250174 2C 05 00 00 */ cmpwi r5, 0 +/* 80253218 00250178 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025321C 0025017C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80253220 00250180 7C 7F 1B 78 */ mr r31, r3 +/* 80253224 00250184 41 82 00 0C */ beq lbl_80253230 +/* 80253228 00250188 41 80 00 9C */ blt lbl_802532C4 +/* 8025322C 0025018C 48 00 00 98 */ b lbl_802532C4 +lbl_80253230: +/* 80253230 00250190 48 00 44 21 */ bl sub_80257650 +/* 80253234 00250194 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80253238 00250198 38 A0 00 04 */ li r5, 4 +/* 8025323C 0025019C 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 80253240 002501A0 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80253244 002501A4 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80253248 002501A8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8025324C 002501AC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80253250 002501B0 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l +/* 80253254 002501B4 90 81 00 08 */ stw r4, 8(r1) +/* 80253258 002501B8 38 80 00 04 */ li r4, 4 +/* 8025325C 002501BC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80253260 002501C0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80253264 002501C4 3B E3 00 04 */ addi r31, r3, 4 +/* 80253268 002501C8 90 01 00 08 */ stw r0, 8(r1) +/* 8025326C 002501CC 7F E3 FB 78 */ mr r3, r31 +/* 80253270 002501D0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80253274 002501D4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80253278 002501D8 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8025327C 002501DC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80253280 002501E0 4B ED E1 B9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80253284 002501E4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80253288 002501E8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8025328C 002501EC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 80253290 002501F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80253294 002501F4 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 80253298 002501F8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8025329C 002501FC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 802532A0 00250200 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802532A4 00250204 90 BF 00 FC */ stw r5, 0xfc(r31) +/* 802532A8 00250208 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 802532AC 0025020C 90 7F 01 00 */ stw r3, 0x100(r31) +/* 802532B0 00250210 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802532B4 00250214 90 BF 01 04 */ stw r5, 0x104(r31) +/* 802532B8 00250218 90 81 00 08 */ stw r4, 8(r1) +/* 802532BC 0025021C 90 7F 01 08 */ stw r3, 0x108(r31) +/* 802532C0 00250220 90 01 00 08 */ stw r0, 8(r1) +lbl_802532C4: +/* 802532C4 00250224 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802532C8 00250228 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802532CC 0025022C 7C 08 03 A6 */ mtlr r0 +/* 802532D0 00250230 38 21 00 30 */ addi r1, r1, 0x30 +/* 802532D4 00250234 4E 80 00 20 */ blr + +.global Flinch__7CRidleyFR13CStateManager9EStateMsgf +Flinch__7CRidleyFR13CStateManager9EStateMsgf: +/* 802532D8 00250238 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802532DC 0025023C 7C 08 02 A6 */ mflr r0 +/* 802532E0 00250240 2C 05 00 01 */ cmpwi r5, 1 +/* 802532E4 00250244 90 01 00 24 */ stw r0, 0x24(r1) +/* 802532E8 00250248 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802532EC 0025024C 7C 7F 1B 78 */ mr r31, r3 +/* 802532F0 00250250 41 82 00 30 */ beq lbl_80253320 +/* 802532F4 00250254 40 80 00 10 */ bge lbl_80253304 +/* 802532F8 00250258 2C 05 00 00 */ cmpwi r5, 0 +/* 802532FC 0025025C 40 80 00 14 */ bge lbl_80253310 +/* 80253300 00250260 48 00 00 70 */ b lbl_80253370 +lbl_80253304: +/* 80253304 00250264 2C 05 00 03 */ cmpwi r5, 3 +/* 80253308 00250268 40 80 00 68 */ bge lbl_80253370 +/* 8025330C 0025026C 48 00 00 48 */ b lbl_80253354 +lbl_80253310: +/* 80253310 00250270 48 00 44 35 */ bl sub_80257744 +/* 80253314 00250274 38 00 00 01 */ li r0, 1 +/* 80253318 00250278 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025331C 0025027C 48 00 00 54 */ b lbl_80253370 +lbl_80253320: +/* 80253320 00250280 3C A0 80 3F */ lis r5, lbl_803E9234@ha +/* 80253324 00250284 38 C1 00 08 */ addi r6, r1, 8 +/* 80253328 00250288 39 45 92 34 */ addi r10, r5, lbl_803E9234@l +/* 8025332C 0025028C 38 A0 00 06 */ li r5, 6 +/* 80253330 00250290 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253334 00250294 38 E0 00 03 */ li r7, 3 +/* 80253338 00250298 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025333C 0025029C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253340 002502A0 91 21 00 08 */ stw r9, 8(r1) +/* 80253344 002502A4 91 01 00 0C */ stw r8, 0xc(r1) +/* 80253348 002502A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025334C 002502AC 4B E2 94 69 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253350 002502B0 48 00 00 20 */ b lbl_80253370 +lbl_80253354: +/* 80253354 002502B4 38 00 00 00 */ li r0, 0 +/* 80253358 002502B8 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025335C 002502BC 48 00 42 F5 */ bl sub_80257650 +/* 80253360 002502C0 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80253364 002502C4 38 60 00 00 */ li r3, 0 +/* 80253368 002502C8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025336C 002502CC 98 1F 0A 32 */ stb r0, 0xa32(r31) +lbl_80253370: +/* 80253370 002502D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80253374 002502D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80253378 002502D8 7C 08 03 A6 */ mtlr r0 +/* 8025337C 002502DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80253380 002502E0 4E 80 00 20 */ blr + +.global Jump__7CRidleyFR13CStateManager9EStateMsgf +Jump__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253384 002502E4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80253388 002502E8 7C 08 02 A6 */ mflr r0 +/* 8025338C 002502EC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80253390 002502F0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80253394 002502F4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80253398 002502F8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8025339C 002502FC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802533A0 00250300 FF E0 08 90 */ fmr f31, f1 +/* 802533A4 00250304 2C 05 00 01 */ cmpwi r5, 1 +/* 802533A8 00250308 7C 7F 1B 78 */ mr r31, r3 +/* 802533AC 0025030C 7C 9E 23 78 */ mr r30, r4 +/* 802533B0 00250310 41 82 00 F0 */ beq lbl_802534A0 +/* 802533B4 00250314 40 80 00 10 */ bge lbl_802533C4 +/* 802533B8 00250318 2C 05 00 00 */ cmpwi r5, 0 +/* 802533BC 0025031C 40 80 00 14 */ bge lbl_802533D0 +/* 802533C0 00250320 48 00 01 C8 */ b lbl_80253588 +lbl_802533C4: +/* 802533C4 00250324 2C 05 00 03 */ cmpwi r5, 3 +/* 802533C8 00250328 40 80 01 C0 */ bge lbl_80253588 +/* 802533CC 0025032C 48 00 01 28 */ b lbl_802534F4 +lbl_802533D0: +/* 802533D0 00250330 38 00 00 01 */ li r0, 1 +/* 802533D4 00250334 38 61 00 14 */ addi r3, r1, 0x14 +/* 802533D8 00250338 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 802533DC 0025033C 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 802533E0 00250340 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 802533E4 00250344 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802533E8 00250348 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 802533EC 0025034C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802533F0 00250350 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802533F4 00250354 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 802533F8 00250358 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802533FC 0025035C EC 43 10 28 */ fsubs f2, f3, f2 +/* 80253400 00250360 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80253404 00250364 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253408 00250368 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025340C 0025036C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80253410 00250370 48 0C 14 A9 */ bl Magnitude__9CVector3fCFv +/* 80253414 00250374 C0 1F 0A E4 */ lfs f0, 0xae4(r31) +/* 80253418 00250378 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025341C 0025037C 40 81 00 10 */ ble lbl_8025342C +/* 80253420 00250380 38 00 00 05 */ li r0, 5 +/* 80253424 00250384 90 1F 0C 88 */ stw r0, 0xc88(r31) +/* 80253428 00250388 48 00 00 0C */ b lbl_80253434 +lbl_8025342C: +/* 8025342C 0025038C 38 00 00 04 */ li r0, 4 +/* 80253430 00250390 90 1F 0C 88 */ stw r0, 0xc88(r31) +lbl_80253434: +/* 80253434 00250394 C0 3F 09 14 */ lfs f1, 0x914(r31) +/* 80253438 00250398 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025343C 0025039C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253440 002503A0 7C 60 00 26 */ mfcr r3 +/* 80253444 002503A4 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80253448 002503A8 54 64 17 FE */ rlwinm r4, r3, 2, 0x1f, 0x1f +/* 8025344C 002503AC 7F E3 FB 78 */ mr r3, r31 +/* 80253450 002503B0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80253454 002503B4 7F C4 F3 78 */ mr r4, r30 +/* 80253458 002503B8 98 1F 04 02 */ stb r0, 0x402(r31) +/* 8025345C 002503BC D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 80253460 002503C0 80 BF 08 F8 */ lwz r5, 0x8f8(r31) +/* 80253464 002503C4 80 1F 08 FC */ lwz r0, 0x8fc(r31) +/* 80253468 002503C8 90 BF 0C 8C */ stw r5, 0xc8c(r31) +/* 8025346C 002503CC 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80253470 002503D0 C0 1F 09 00 */ lfs f0, 0x900(r31) +/* 80253474 002503D4 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80253478 002503D8 C0 1F 09 04 */ lfs f0, 0x904(r31) +/* 8025347C 002503DC D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80253480 002503E0 C0 1F 09 08 */ lfs f0, 0x908(r31) +/* 80253484 002503E4 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80253488 002503E8 C0 1F 09 0C */ lfs f0, 0x90c(r31) +/* 8025348C 002503EC D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80253490 002503F0 88 1F 09 10 */ lbz r0, 0x910(r31) +/* 80253494 002503F4 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80253498 002503F8 48 00 30 E9 */ bl sub_80256580 +/* 8025349C 002503FC 48 00 00 EC */ b lbl_80253588 +lbl_802534A0: +/* 802534A0 00250400 3C A0 80 3F */ lis r5, lbl_803E9228@ha +/* 802534A4 00250404 38 C1 00 08 */ addi r6, r1, 8 +/* 802534A8 00250408 39 25 92 28 */ addi r9, r5, lbl_803E9228@l +/* 802534AC 0025040C 38 A0 00 07 */ li r5, 7 +/* 802534B0 00250410 81 09 00 00 */ lwz r8, 0(r9) +/* 802534B4 00250414 80 E9 00 04 */ lwz r7, 4(r9) +/* 802534B8 00250418 80 09 00 08 */ lwz r0, 8(r9) +/* 802534BC 0025041C 91 01 00 08 */ stw r8, 8(r1) +/* 802534C0 00250420 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802534C4 00250424 90 01 00 10 */ stw r0, 0x10(r1) +/* 802534C8 00250428 80 FF 0C 88 */ lwz r7, 0xc88(r31) +/* 802534CC 0025042C 4B E2 92 E9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802534D0 00250430 C0 3F 03 38 */ lfs f1, 0x338(r31) +/* 802534D4 00250434 C0 02 B9 30 */ lfs f0, lbl_805AD650@sda21(r2) +/* 802534D8 00250438 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802534DC 0025043C 40 80 00 AC */ bge lbl_80253588 +/* 802534E0 00250440 FC 20 F8 90 */ fmr f1, f31 +/* 802534E4 00250444 7F E3 FB 78 */ mr r3, r31 +/* 802534E8 00250448 7F C4 F3 78 */ mr r4, r30 +/* 802534EC 0025044C 48 00 2A 65 */ bl sub_80255f50 +/* 802534F0 00250450 48 00 00 98 */ b lbl_80253588 +lbl_802534F4: +/* 802534F4 00250454 7F C6 F3 78 */ mr r6, r30 +/* 802534F8 00250458 38 80 00 29 */ li r4, 0x29 +/* 802534FC 0025045C 38 A0 00 28 */ li r5, 0x28 +/* 80253500 00250460 4B E0 0D B5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80253504 00250464 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80253508 00250468 38 60 00 00 */ li r3, 0 +/* 8025350C 0025046C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80253510 00250470 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253514 00250474 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80253518 00250478 7F E4 FB 78 */ mr r4, r31 +/* 8025351C 0025047C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80253520 00250480 D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 80253524 00250484 81 9F 00 00 */ lwz r12, 0(r31) +/* 80253528 00250488 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8025352C 0025048C 7D 89 03 A6 */ mtctr r12 +/* 80253530 00250490 4E 80 04 21 */ bctrl +/* 80253534 00250494 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80253538 00250498 38 80 00 00 */ li r4, 0 +/* 8025353C 0025049C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80253540 002504A0 7F E3 FB 78 */ mr r3, r31 +/* 80253544 002504A4 90 BF 0C 8C */ stw r5, 0xc8c(r31) +/* 80253548 002504A8 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 8025354C 002504AC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80253550 002504B0 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80253554 002504B4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80253558 002504B8 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 8025355C 002504BC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80253560 002504C0 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80253564 002504C4 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80253568 002504C8 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 8025356C 002504CC 88 01 00 38 */ lbz r0, 0x38(r1) +/* 80253570 002504D0 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80253574 002504D4 90 9F 03 2C */ stw r4, 0x32c(r31) +/* 80253578 002504D8 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 8025357C 002504DC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80253580 002504E0 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80253584 002504E4 48 00 2F F9 */ bl nullsub_53 +lbl_80253588: +/* 80253588 002504E8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8025358C 002504EC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80253590 002504F0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80253594 002504F4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80253598 002504F8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8025359C 002504FC 7C 08 03 A6 */ mtlr r0 +/* 802535A0 00250500 38 21 00 60 */ addi r1, r1, 0x60 +/* 802535A4 00250504 4E 80 00 20 */ blr + +.global DoubleSnap__7CRidleyFR13CStateManager9EStateMsgf +DoubleSnap__7CRidleyFR13CStateManager9EStateMsgf: +/* 802535A8 00250508 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802535AC 0025050C 7C 08 02 A6 */ mflr r0 +/* 802535B0 00250510 2C 05 00 01 */ cmpwi r5, 1 +/* 802535B4 00250514 90 01 00 44 */ stw r0, 0x44(r1) +/* 802535B8 00250518 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802535BC 0025051C 7C 7F 1B 78 */ mr r31, r3 +/* 802535C0 00250520 41 82 00 84 */ beq lbl_80253644 +/* 802535C4 00250524 40 80 00 10 */ bge lbl_802535D4 +/* 802535C8 00250528 2C 05 00 00 */ cmpwi r5, 0 +/* 802535CC 0025052C 40 80 00 14 */ bge lbl_802535E0 +/* 802535D0 00250530 48 00 01 14 */ b lbl_802536E4 +lbl_802535D4: +/* 802535D4 00250534 2C 05 00 03 */ cmpwi r5, 3 +/* 802535D8 00250538 40 80 01 0C */ bge lbl_802536E4 +/* 802535DC 0025053C 48 00 00 9C */ b lbl_80253678 +lbl_802535E0: +/* 802535E0 00250540 38 00 00 01 */ li r0, 1 +/* 802535E4 00250544 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802535E8 00250548 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 802535EC 0025054C C0 3F 09 34 */ lfs f1, 0x934(r31) +/* 802535F0 00250550 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802535F4 00250554 7C 60 00 26 */ mfcr r3 +/* 802535F8 00250558 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 802535FC 0025055C 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c +/* 80253600 00250560 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80253604 00250564 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 80253608 00250568 80 7F 09 18 */ lwz r3, 0x918(r31) +/* 8025360C 0025056C 80 1F 09 1C */ lwz r0, 0x91c(r31) +/* 80253610 00250570 90 7F 0C 8C */ stw r3, 0xc8c(r31) +/* 80253614 00250574 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80253618 00250578 C0 1F 09 20 */ lfs f0, 0x920(r31) +/* 8025361C 0025057C D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80253620 00250580 C0 1F 09 24 */ lfs f0, 0x924(r31) +/* 80253624 00250584 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80253628 00250588 C0 1F 09 28 */ lfs f0, 0x928(r31) +/* 8025362C 0025058C D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80253630 00250590 C0 1F 09 2C */ lfs f0, 0x92c(r31) +/* 80253634 00250594 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80253638 00250598 88 1F 09 30 */ lbz r0, 0x930(r31) +/* 8025363C 0025059C 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80253640 002505A0 48 00 00 A4 */ b lbl_802536E4 +lbl_80253644: +/* 80253644 002505A4 3C A0 80 3F */ lis r5, lbl_803E921C@ha +/* 80253648 002505A8 38 C1 00 08 */ addi r6, r1, 8 +/* 8025364C 002505AC 39 45 92 1C */ addi r10, r5, lbl_803E921C@l +/* 80253650 002505B0 38 A0 00 07 */ li r5, 7 +/* 80253654 002505B4 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253658 002505B8 38 E0 00 02 */ li r7, 2 +/* 8025365C 002505BC 81 0A 00 04 */ lwz r8, 4(r10) +/* 80253660 002505C0 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253664 002505C4 91 21 00 08 */ stw r9, 8(r1) +/* 80253668 002505C8 91 01 00 0C */ stw r8, 0xc(r1) +/* 8025366C 002505CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80253670 002505D0 4B E2 91 45 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253674 002505D4 48 00 00 70 */ b lbl_802536E4 +lbl_80253678: +/* 80253678 002505D8 38 A0 00 00 */ li r5, 0 +/* 8025367C 002505DC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253680 002505E0 90 BF 03 2C */ stw r5, 0x32c(r31) +/* 80253684 002505E4 7F E4 FB 78 */ mr r4, r31 +/* 80253688 002505E8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025368C 002505EC 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80253690 002505F0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80253694 002505F4 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80253698 002505F8 D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 8025369C 002505FC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802536A0 00250600 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 802536A4 00250604 7D 89 03 A6 */ mtctr r12 +/* 802536A8 00250608 4E 80 04 21 */ bctrl +/* 802536AC 0025060C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802536B0 00250610 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802536B4 00250614 90 7F 0C 8C */ stw r3, 0xc8c(r31) +/* 802536B8 00250618 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 802536BC 0025061C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802536C0 00250620 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 802536C4 00250624 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802536C8 00250628 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 802536CC 0025062C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802536D0 00250630 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 802536D4 00250634 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802536D8 00250638 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 802536DC 0025063C 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 802536E0 00250640 98 1F 0C A4 */ stb r0, 0xca4(r31) +lbl_802536E4: +/* 802536E4 00250644 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802536E8 00250648 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802536EC 0025064C 7C 08 03 A6 */ mtlr r0 +/* 802536F0 00250650 38 21 00 40 */ addi r1, r1, 0x40 +/* 802536F4 00250654 4E 80 00 20 */ blr + +.global ShouldDoubleSnap__7CRidleyFR13CStateManagerf +ShouldDoubleSnap__7CRidleyFR13CStateManagerf: +/* 802536F8 00250658 88 03 0A 33 */ lbz r0, 0xa33(r3) +/* 802536FC 0025065C 54 03 FF FE */ rlwinm r3, r0, 0x1f, 0x1f, 0x1f +/* 80253700 00250660 4E 80 00 20 */ blr + +.global ShouldStrafe__7CRidleyFR13CStateManagerf +ShouldStrafe__7CRidleyFR13CStateManagerf: +/* 80253704 00250664 88 03 0A 33 */ lbz r0, 0xa33(r3) +/* 80253708 00250668 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f +/* 8025370C 0025066C 4E 80 00 20 */ blr + +.global sub_80253710 +sub_80253710: +/* 80253710 00250670 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253714 00250674 7C 08 02 A6 */ mflr r0 +/* 80253718 00250678 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025371C 0025067C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80253720 00250680 7C 7F 1B 78 */ mr r31, r3 +/* 80253724 00250684 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80253728 00250688 7C 9E 23 78 */ mr r30, r4 +/* 8025372C 0025068C 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80253730 00250690 90 03 0B 08 */ stw r0, 0xb08(r3) +/* 80253734 00250694 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80253738 00250698 48 0B ED A5 */ bl Float__9CRandom16Fv +/* 8025373C 0025069C 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80253740 002506A0 3C 60 80 3D */ lis r3, lbl_803D4CCC@ha +/* 80253744 002506A4 C0 02 B9 34 */ lfs f0, lbl_805AD654@sda21(r2) +/* 80253748 002506A8 38 63 4C CC */ addi r3, r3, lbl_803D4CCC@l +/* 8025374C 002506AC 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80253750 002506B0 C0 42 B9 18 */ lfs f2, lbl_805AD638@sda21(r2) +/* 80253754 002506B4 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80253758 002506B8 38 80 00 00 */ li r4, 0 +/* 8025375C 002506BC 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80253760 002506C0 EC 42 00 2A */ fadds f2, f2, f0 +/* 80253764 002506C4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80253768 002506C8 40 80 00 0C */ bge lbl_80253774 +/* 8025376C 002506CC 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 80253770 002506D0 48 00 00 90 */ b lbl_80253800 +lbl_80253774: +/* 80253774 002506D4 7C 63 02 14 */ add r3, r3, r0 +/* 80253778 002506D8 38 80 00 01 */ li r4, 1 +/* 8025377C 002506DC C0 03 00 04 */ lfs f0, 4(r3) +/* 80253780 002506E0 EC 42 00 2A */ fadds f2, f2, f0 +/* 80253784 002506E4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80253788 002506E8 40 80 00 0C */ bge lbl_80253794 +/* 8025378C 002506EC 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 80253790 002506F0 48 00 00 70 */ b lbl_80253800 +lbl_80253794: +/* 80253794 002506F4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80253798 002506F8 38 80 00 02 */ li r4, 2 +/* 8025379C 002506FC EC 42 00 2A */ fadds f2, f2, f0 +/* 802537A0 00250700 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537A4 00250704 40 80 00 0C */ bge lbl_802537B0 +/* 802537A8 00250708 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 802537AC 0025070C 48 00 00 54 */ b lbl_80253800 +lbl_802537B0: +/* 802537B0 00250710 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802537B4 00250714 38 80 00 03 */ li r4, 3 +/* 802537B8 00250718 EC 42 00 2A */ fadds f2, f2, f0 +/* 802537BC 0025071C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537C0 00250720 40 80 00 0C */ bge lbl_802537CC +/* 802537C4 00250724 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 802537C8 00250728 48 00 00 38 */ b lbl_80253800 +lbl_802537CC: +/* 802537CC 0025072C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802537D0 00250730 38 80 00 04 */ li r4, 4 +/* 802537D4 00250734 EC 42 00 2A */ fadds f2, f2, f0 +/* 802537D8 00250738 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537DC 0025073C 40 80 00 0C */ bge lbl_802537E8 +/* 802537E0 00250740 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 802537E4 00250744 48 00 00 1C */ b lbl_80253800 +lbl_802537E8: +/* 802537E8 00250748 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802537EC 0025074C 38 80 00 05 */ li r4, 5 +/* 802537F0 00250750 EC 42 00 2A */ fadds f2, f2, f0 +/* 802537F4 00250754 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537F8 00250758 40 80 00 08 */ bge lbl_80253800 +/* 802537FC 0025075C 90 9F 0B 0C */ stw r4, 0xb0c(r31) +lbl_80253800: +/* 80253800 00250760 80 1F 0B 0C */ lwz r0, 0xb0c(r31) +/* 80253804 00250764 2C 00 00 05 */ cmpwi r0, 5 +/* 80253808 00250768 40 82 00 1C */ bne lbl_80253824 +/* 8025380C 0025076C 7F E3 FB 78 */ mr r3, r31 +/* 80253810 00250770 48 00 01 51 */ bl sub_80253960 +/* 80253814 00250774 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80253818 00250778 40 82 00 0C */ bne lbl_80253824 +/* 8025381C 0025077C 38 00 00 02 */ li r0, 2 +/* 80253820 00250780 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_80253824: +/* 80253824 00250784 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80253828 00250788 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025382C 0025078C C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80253830 00250790 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80253834 00250794 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80253838 00250798 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8025383C 0025079C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80253840 002507A0 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80253844 002507A4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80253848 002507A8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025384C 002507AC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80253850 002507B0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253854 002507B4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80253858 002507B8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025385C 002507BC 48 0C 10 5D */ bl Magnitude__9CVector3fCFv +/* 80253860 002507C0 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253864 002507C4 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80253868 002507C8 EC C0 08 24 */ fdivs f6, f0, f1 +/* 8025386C 002507CC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80253870 002507D0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80253874 002507D4 EC A3 01 B2 */ fmuls f5, f3, f6 +/* 80253878 002507D8 EC 82 01 B2 */ fmuls f4, f2, f6 +/* 8025387C 002507DC EC 60 01 B2 */ fmuls f3, f0, f6 +/* 80253880 002507E0 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80253884 002507E4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253888 002507E8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8025388C 002507EC C0 DF 00 48 */ lfs f6, 0x48(r31) +/* 80253890 002507F0 C0 5F 00 38 */ lfs f2, 0x38(r31) +/* 80253894 002507F4 EC 04 01 B2 */ fmuls f0, f4, f6 +/* 80253898 002507F8 C0 9F 00 58 */ lfs f4, 0x58(r31) +/* 8025389C 002507FC 80 1F 0B 0C */ lwz r0, 0xb0c(r31) +/* 802538A0 00250800 D0 41 00 08 */ stfs f2, 8(r1) +/* 802538A4 00250804 EC 05 00 BA */ fmadds f0, f5, f2, f0 +/* 802538A8 00250808 2C 00 00 02 */ cmpwi r0, 2 +/* 802538AC 0025080C D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 802538B0 00250810 EC 43 01 3A */ fmadds f2, f3, f4, f0 +/* 802538B4 00250814 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802538B8 00250818 40 82 00 18 */ bne lbl_802538D0 +/* 802538BC 0025081C C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) +/* 802538C0 00250820 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802538C4 00250824 40 80 00 0C */ bge lbl_802538D0 +/* 802538C8 00250828 38 00 00 00 */ li r0, 0 +/* 802538CC 0025082C 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_802538D0: +/* 802538D0 00250830 80 1F 0B 0C */ lwz r0, 0xb0c(r31) +/* 802538D4 00250834 2C 00 00 05 */ cmpwi r0, 5 +/* 802538D8 00250838 40 82 00 18 */ bne lbl_802538F0 +/* 802538DC 0025083C C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) +/* 802538E0 00250840 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802538E4 00250844 40 80 00 0C */ bge lbl_802538F0 +/* 802538E8 00250848 38 00 00 00 */ li r0, 0 +/* 802538EC 0025084C 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_802538F0: +/* 802538F0 00250850 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802538F4 00250854 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802538F8 00250858 40 80 00 24 */ bge lbl_8025391C +/* 802538FC 0025085C C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 80253900 00250860 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253904 00250864 40 80 00 18 */ bge lbl_8025391C +/* 80253908 00250868 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 8025390C 0025086C 2C 00 00 03 */ cmpwi r0, 3 +/* 80253910 00250870 41 82 00 0C */ beq lbl_8025391C +/* 80253914 00250874 38 00 00 03 */ li r0, 3 +/* 80253918 00250878 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_8025391C: +/* 8025391C 0025087C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253920 00250880 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80253924 00250884 40 81 00 24 */ ble lbl_80253948 +/* 80253928 00250888 C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 8025392C 0025088C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253930 00250890 40 80 00 18 */ bge lbl_80253948 +/* 80253934 00250894 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80253938 00250898 2C 00 00 04 */ cmpwi r0, 4 +/* 8025393C 0025089C 41 82 00 0C */ beq lbl_80253948 +/* 80253940 002508A0 38 00 00 04 */ li r0, 4 +/* 80253944 002508A4 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_80253948: +/* 80253948 002508A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025394C 002508AC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80253950 002508B0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80253954 002508B4 7C 08 03 A6 */ mtlr r0 +/* 80253958 002508B8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025395C 002508BC 4E 80 00 20 */ blr + +.global sub_80253960 +sub_80253960: +/* 80253960 002508C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80253964 002508C4 7C 08 02 A6 */ mflr r0 +/* 80253968 002508C8 C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) +/* 8025396C 002508CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80253970 002508D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80253974 002508D4 7C 7F 1B 78 */ mr r31, r3 +/* 80253978 002508D8 C0 03 0A E4 */ lfs f0, 0xae4(r3) +/* 8025397C 002508DC 38 61 00 08 */ addi r3, r1, 8 +/* 80253980 002508E0 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80253984 002508E4 EC C1 00 32 */ fmuls f6, f1, f0 +/* 80253988 002508E8 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 8025398C 002508EC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80253990 002508F0 C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 80253994 002508F4 EC 66 00 B2 */ fmuls f3, f6, f2 +/* 80253998 002508F8 C0 BF 00 60 */ lfs f5, 0x60(r31) +/* 8025399C 002508FC EC 86 00 72 */ fmuls f4, f6, f1 +/* 802539A0 00250900 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 802539A4 00250904 EC 26 00 32 */ fmuls f1, f6, f0 +/* 802539A8 00250908 C0 DF 0A A0 */ lfs f6, 0xaa0(r31) +/* 802539AC 0025090C EC E7 18 2A */ fadds f7, f7, f3 +/* 802539B0 00250910 C0 7F 0A B0 */ lfs f3, 0xab0(r31) +/* 802539B4 00250914 EC 85 20 2A */ fadds f4, f5, f4 +/* 802539B8 00250918 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 802539BC 0025091C EC 22 08 2A */ fadds f1, f2, f1 +/* 802539C0 00250920 EC A7 30 28 */ fsubs f5, f7, f6 +/* 802539C4 00250924 EC 44 18 28 */ fsubs f2, f4, f3 +/* 802539C8 00250928 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802539CC 0025092C D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802539D0 00250930 D0 01 00 08 */ stfs f0, 8(r1) +/* 802539D4 00250934 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802539D8 00250938 48 0C 0E E1 */ bl Magnitude__9CVector3fCFv +/* 802539DC 0025093C C0 5F 0A B4 */ lfs f2, 0xab4(r31) +/* 802539E0 00250940 C0 1F 0A BC */ lfs f0, 0xabc(r31) +/* 802539E4 00250944 C0 62 B9 38 */ lfs f3, lbl_805AD658@sda21(r2) +/* 802539E8 00250948 EC 02 00 2A */ fadds f0, f2, f0 +/* 802539EC 0025094C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802539F0 00250950 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802539F4 00250954 7C 00 00 26 */ mfcr r0 +/* 802539F8 00250958 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802539FC 0025095C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80253A00 00250960 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80253A04 00250964 7C 08 03 A6 */ mtlr r0 +/* 80253A08 00250968 38 21 00 20 */ addi r1, r1, 0x20 +/* 80253A0C 0025096C 4E 80 00 20 */ blr + +.global FadeOut__7CRidleyFR13CStateManager9EStateMsgf +FadeOut__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253A10 00250970 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253A14 00250974 7C 08 02 A6 */ mflr r0 +/* 80253A18 00250978 2C 05 00 01 */ cmpwi r5, 1 +/* 80253A1C 0025097C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80253A20 00250980 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80253A24 00250984 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80253A28 00250988 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80253A2C 0025098C 7C 9D 23 78 */ mr r29, r4 +/* 80253A30 00250990 93 81 00 20 */ stw r28, 0x20(r1) +/* 80253A34 00250994 7C 7C 1B 78 */ mr r28, r3 +/* 80253A38 00250998 41 82 00 B0 */ beq lbl_80253AE8 +/* 80253A3C 0025099C 40 80 00 10 */ bge lbl_80253A4C +/* 80253A40 002509A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80253A44 002509A4 40 80 00 14 */ bge lbl_80253A58 +/* 80253A48 002509A8 48 00 00 EC */ b lbl_80253B34 +lbl_80253A4C: +/* 80253A4C 002509AC 2C 05 00 03 */ cmpwi r5, 3 +/* 80253A50 002509B0 40 80 00 E4 */ bge lbl_80253B34 +/* 80253A54 002509B4 48 00 00 C8 */ b lbl_80253B1C +lbl_80253A58: +/* 80253A58 002509B8 38 00 00 01 */ li r0, 1 +/* 80253A5C 002509BC 3C 60 80 47 */ lis r3, lbl_8046D4F8@ha +/* 80253A60 002509C0 90 1C 03 2C */ stw r0, 0x32c(r28) +/* 80253A64 002509C4 3B E3 D4 F8 */ addi r31, r3, lbl_8046D4F8@l +/* 80253A68 002509C8 3B C0 00 00 */ li r30, 0 +lbl_80253A6C: +/* 80253A6C 002509CC 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80253A70 002509D0 7F E4 FB 78 */ mr r4, r31 +/* 80253A74 002509D4 7F A6 EB 78 */ mr r6, r29 +/* 80253A78 002509D8 38 A0 00 00 */ li r5, 0 +/* 80253A7C 002509DC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80253A80 002509E0 4B DD 73 41 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80253A84 002509E4 3B DE 00 01 */ addi r30, r30, 1 +/* 80253A88 002509E8 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80253A8C 002509EC 28 1E 00 18 */ cmplwi r30, 0x18 +/* 80253A90 002509F0 41 80 FF DC */ blt lbl_80253A6C +/* 80253A94 002509F4 88 7C 0A 34 */ lbz r3, 0xa34(r28) +/* 80253A98 002509F8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80253A9C 002509FC 40 82 00 10 */ bne lbl_80253AAC +/* 80253AA0 00250A00 38 00 00 01 */ li r0, 1 +/* 80253AA4 00250A04 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80253AA8 00250A08 98 7C 0A 34 */ stb r3, 0xa34(r28) +lbl_80253AAC: +/* 80253AAC 00250A0C 80 7C 09 64 */ lwz r3, 0x964(r28) +/* 80253AB0 00250A10 80 1C 09 68 */ lwz r0, 0x968(r28) +/* 80253AB4 00250A14 90 7C 0B 74 */ stw r3, 0xb74(r28) +/* 80253AB8 00250A18 90 1C 0B 78 */ stw r0, 0xb78(r28) +/* 80253ABC 00250A1C C0 1C 09 6C */ lfs f0, 0x96c(r28) +/* 80253AC0 00250A20 D0 1C 0B 7C */ stfs f0, 0xb7c(r28) +/* 80253AC4 00250A24 C0 1C 09 70 */ lfs f0, 0x970(r28) +/* 80253AC8 00250A28 D0 1C 0B 80 */ stfs f0, 0xb80(r28) +/* 80253ACC 00250A2C C0 1C 09 74 */ lfs f0, 0x974(r28) +/* 80253AD0 00250A30 D0 1C 0B 84 */ stfs f0, 0xb84(r28) +/* 80253AD4 00250A34 C0 1C 09 78 */ lfs f0, 0x978(r28) +/* 80253AD8 00250A38 D0 1C 0B 88 */ stfs f0, 0xb88(r28) +/* 80253ADC 00250A3C 88 1C 09 7C */ lbz r0, 0x97c(r28) +/* 80253AE0 00250A40 98 1C 0B 8C */ stb r0, 0xb8c(r28) +/* 80253AE4 00250A44 48 00 00 50 */ b lbl_80253B34 +lbl_80253AE8: +/* 80253AE8 00250A48 3C A0 80 3F */ lis r5, lbl_803E9210@ha +/* 80253AEC 00250A4C 38 C1 00 08 */ addi r6, r1, 8 +/* 80253AF0 00250A50 39 45 92 10 */ addi r10, r5, lbl_803E9210@l +/* 80253AF4 00250A54 38 A0 00 06 */ li r5, 6 +/* 80253AF8 00250A58 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253AFC 00250A5C 38 E0 00 05 */ li r7, 5 +/* 80253B00 00250A60 81 0A 00 04 */ lwz r8, 4(r10) +/* 80253B04 00250A64 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253B08 00250A68 91 21 00 08 */ stw r9, 8(r1) +/* 80253B0C 00250A6C 91 01 00 0C */ stw r8, 0xc(r1) +/* 80253B10 00250A70 90 01 00 10 */ stw r0, 0x10(r1) +/* 80253B14 00250A74 4B E2 8C A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253B18 00250A78 48 00 00 1C */ b lbl_80253B34 +lbl_80253B1C: +/* 80253B1C 00250A7C 38 00 00 00 */ li r0, 0 +/* 80253B20 00250A80 C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) +/* 80253B24 00250A84 90 1C 03 2C */ stw r0, 0x32c(r28) +/* 80253B28 00250A88 C0 1C 05 A4 */ lfs f0, 0x5a4(r28) +/* 80253B2C 00250A8C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80253B30 00250A90 D0 1C 0C BC */ stfs f0, 0xcbc(r28) +lbl_80253B34: +/* 80253B34 00250A94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80253B38 00250A98 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80253B3C 00250A9C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80253B40 00250AA0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80253B44 00250AA4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80253B48 00250AA8 7C 08 03 A6 */ mtlr r0 +/* 80253B4C 00250AAC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80253B50 00250AB0 4E 80 00 20 */ blr + +.global ProjectileAttack__7CRidleyFR13CStateManager9EStateMsgf +ProjectileAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253B54 00250AB4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253B58 00250AB8 7C 08 02 A6 */ mflr r0 +/* 80253B5C 00250ABC 2C 05 00 01 */ cmpwi r5, 1 +/* 80253B60 00250AC0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80253B64 00250AC4 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80253B68 00250AC8 FF E0 08 90 */ fmr f31, f1 +/* 80253B6C 00250ACC 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80253B70 00250AD0 7C 9F 23 78 */ mr r31, r4 +/* 80253B74 00250AD4 93 C1 00 20 */ stw r30, 0x20(r1) +/* 80253B78 00250AD8 7C 7E 1B 78 */ mr r30, r3 +/* 80253B7C 00250ADC 41 82 00 44 */ beq lbl_80253BC0 +/* 80253B80 00250AE0 40 80 00 10 */ bge lbl_80253B90 +/* 80253B84 00250AE4 2C 05 00 00 */ cmpwi r5, 0 +/* 80253B88 00250AE8 40 80 00 14 */ bge lbl_80253B9C +/* 80253B8C 00250AEC 48 00 00 98 */ b lbl_80253C24 +lbl_80253B90: +/* 80253B90 00250AF0 2C 05 00 03 */ cmpwi r5, 3 +/* 80253B94 00250AF4 40 80 00 90 */ bge lbl_80253C24 +/* 80253B98 00250AF8 48 00 00 6C */ b lbl_80253C04 +lbl_80253B9C: +/* 80253B9C 00250AFC 38 80 00 01 */ li r4, 1 +/* 80253BA0 00250B00 90 9E 03 2C */ stw r4, 0x32c(r30) +/* 80253BA4 00250B04 80 7E 0C C4 */ lwz r3, 0xcc4(r30) +/* 80253BA8 00250B08 38 03 FF FF */ addi r0, r3, -1 +/* 80253BAC 00250B0C 90 1E 0C C4 */ stw r0, 0xcc4(r30) +/* 80253BB0 00250B10 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80253BB4 00250B14 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80253BB8 00250B18 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80253BBC 00250B1C 48 00 00 68 */ b lbl_80253C24 +lbl_80253BC0: +/* 80253BC0 00250B20 3C A0 80 3F */ lis r5, lbl_803E9204@ha +/* 80253BC4 00250B24 38 C1 00 08 */ addi r6, r1, 8 +/* 80253BC8 00250B28 39 45 92 04 */ addi r10, r5, lbl_803E9204@l +/* 80253BCC 00250B2C 38 A0 00 12 */ li r5, 0x12 +/* 80253BD0 00250B30 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253BD4 00250B34 38 E0 00 02 */ li r7, 2 +/* 80253BD8 00250B38 81 0A 00 04 */ lwz r8, 4(r10) +/* 80253BDC 00250B3C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253BE0 00250B40 91 21 00 08 */ stw r9, 8(r1) +/* 80253BE4 00250B44 91 01 00 0C */ stw r8, 0xc(r1) +/* 80253BE8 00250B48 90 01 00 10 */ stw r0, 0x10(r1) +/* 80253BEC 00250B4C 4B E2 8B C9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253BF0 00250B50 FC 20 F8 90 */ fmr f1, f31 +/* 80253BF4 00250B54 7F C3 F3 78 */ mr r3, r30 +/* 80253BF8 00250B58 7F E4 FB 78 */ mr r4, r31 +/* 80253BFC 00250B5C 48 00 23 55 */ bl sub_80255f50 +/* 80253C00 00250B60 48 00 00 24 */ b lbl_80253C24 +lbl_80253C04: +/* 80253C04 00250B64 38 60 00 00 */ li r3, 0 +/* 80253C08 00250B68 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80253C0C 00250B6C 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80253C10 00250B70 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80253C14 00250B74 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80253C18 00250B78 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80253C1C 00250B7C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80253C20 00250B80 98 1E 0A 33 */ stb r0, 0xa33(r30) +lbl_80253C24: +/* 80253C24 00250B84 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80253C28 00250B88 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80253C2C 00250B8C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80253C30 00250B90 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80253C34 00250B94 7C 08 03 A6 */ mtlr r0 +/* 80253C38 00250B98 38 21 00 30 */ addi r1, r1, 0x30 +/* 80253C3C 00250B9C 4E 80 00 20 */ blr + +.global Crouch__7CRidleyFR13CStateManager9EStateMsgf +Crouch__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253C40 00250BA0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80253C44 00250BA4 7C 08 02 A6 */ mflr r0 +/* 80253C48 00250BA8 2C 05 00 01 */ cmpwi r5, 1 +/* 80253C4C 00250BAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80253C50 00250BB0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80253C54 00250BB4 7C 9F 23 78 */ mr r31, r4 +/* 80253C58 00250BB8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80253C5C 00250BBC 7C 7E 1B 78 */ mr r30, r3 +/* 80253C60 00250BC0 41 82 00 6C */ beq lbl_80253CCC +/* 80253C64 00250BC4 40 80 01 40 */ bge lbl_80253DA4 +/* 80253C68 00250BC8 2C 05 00 00 */ cmpwi r5, 0 +/* 80253C6C 00250BCC 40 80 00 0C */ bge lbl_80253C78 +/* 80253C70 00250BD0 48 00 01 34 */ b lbl_80253DA4 +/* 80253C74 00250BD4 48 00 01 30 */ b lbl_80253DA4 +lbl_80253C78: +/* 80253C78 00250BD8 81 83 00 00 */ lwz r12, 0(r3) +/* 80253C7C 00250BDC 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 80253C80 00250BE0 7D 89 03 A6 */ mtctr r12 +/* 80253C84 00250BE4 4E 80 04 21 */ bctrl +/* 80253C88 00250BE8 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80253C8C 00250BEC C4 03 67 00 */ lfsu f0, lbl_805A6700@l(r3) +/* 80253C90 00250BF0 C0 63 00 04 */ lfs f3, 4(r3) +/* 80253C94 00250BF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80253C98 00250BF8 C0 43 00 08 */ lfs f2, 8(r3) +/* 80253C9C 00250BFC EC 61 00 F2 */ fmuls f3, f1, f3 +/* 80253CA0 00250C00 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80253CA4 00250C04 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80253CA8 00250C08 D0 7E 01 54 */ stfs f3, 0x154(r30) +/* 80253CAC 00250C0C D0 3E 01 58 */ stfs f1, 0x158(r30) +/* 80253CB0 00250C10 80 1E 0C 64 */ lwz r0, 0xc64(r30) +/* 80253CB4 00250C14 2C 00 00 03 */ cmpwi r0, 3 +/* 80253CB8 00250C18 40 82 00 EC */ bne lbl_80253DA4 +/* 80253CBC 00250C1C 7F C3 F3 78 */ mr r3, r30 +/* 80253CC0 00250C20 7F E4 FB 78 */ mr r4, r31 +/* 80253CC4 00250C24 4B FF FA 4D */ bl sub_80253710 +/* 80253CC8 00250C28 48 00 00 DC */ b lbl_80253DA4 +lbl_80253CCC: +/* 80253CCC 00250C2C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80253CD0 00250C30 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80253CD4 00250C34 2C 00 00 08 */ cmpwi r0, 8 +/* 80253CD8 00250C38 41 82 00 CC */ beq lbl_80253DA4 +/* 80253CDC 00250C3C 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80253CE0 00250C40 38 61 00 2C */ addi r3, r1, 0x2c +/* 80253CE4 00250C44 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80253CE8 00250C48 38 81 00 20 */ addi r4, r1, 0x20 +/* 80253CEC 00250C4C C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 80253CF0 00250C50 C0 85 00 50 */ lfs f4, 0x50(r5) +/* 80253CF4 00250C54 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80253CF8 00250C58 EC 25 00 28 */ fsubs f1, f5, f0 +/* 80253CFC 00250C5C C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80253D00 00250C60 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80253D04 00250C64 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80253D08 00250C68 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80253D0C 00250C6C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80253D10 00250C70 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253D14 00250C74 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80253D18 00250C78 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80253D1C 00250C7C D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80253D20 00250C80 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80253D24 00250C84 48 0C 0B 2D */ bl AsNormalized__9CVector3fCFv +/* 80253D28 00250C88 C0 7E 00 48 */ lfs f3, 0x48(r30) +/* 80253D2C 00250C8C C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80253D30 00250C90 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 80253D34 00250C94 EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80253D38 00250C98 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 80253D3C 00250C9C C0 9E 00 58 */ lfs f4, 0x58(r30) +/* 80253D40 00250CA0 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80253D44 00250CA4 EC 27 00 BA */ fmadds f1, f7, f2, f0 +/* 80253D48 00250CA8 C0 02 B9 40 */ lfs f0, lbl_805AD660@sda21(r2) +/* 80253D4C 00250CAC D0 41 00 08 */ stfs f2, 8(r1) +/* 80253D50 00250CB0 EC 26 09 3A */ fmadds f1, f6, f4, f1 +/* 80253D54 00250CB4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80253D58 00250CB8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80253D5C 00250CBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253D60 00250CC0 40 80 00 44 */ bge lbl_80253DA4 +/* 80253D64 00250CC4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80253D68 00250CC8 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80253D6C 00250CCC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253D70 00250CD0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80253D74 00250CD4 C0 43 00 04 */ lfs f2, 4(r3) +/* 80253D78 00250CD8 C0 23 00 08 */ lfs f1, 8(r3) +/* 80253D7C 00250CDC D0 E1 00 44 */ stfs f7, 0x44(r1) +/* 80253D80 00250CE0 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80253D84 00250CE4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80253D88 00250CE8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80253D8C 00250CEC D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 80253D90 00250CF0 D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 80253D94 00250CF4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80253D98 00250CF8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80253D9C 00250CFC 38 63 00 04 */ addi r3, r3, 4 +/* 80253DA0 00250D00 4B ED D9 79 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_80253DA4: +/* 80253DA4 00250D04 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80253DA8 00250D08 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80253DAC 00250D0C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80253DB0 00250D10 7C 08 03 A6 */ mtlr r0 +/* 80253DB4 00250D14 38 21 00 60 */ addi r1, r1, 0x60 +/* 80253DB8 00250D18 4E 80 00 20 */ blr + +.global JumpBack__7CRidleyFR13CStateManager9EStateMsgf +JumpBack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253DBC 00250D1C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80253DC0 00250D20 7C 08 02 A6 */ mflr r0 +/* 80253DC4 00250D24 90 01 01 34 */ stw r0, 0x134(r1) +/* 80253DC8 00250D28 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80253DCC 00250D2C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80253DD0 00250D30 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 80253DD4 00250D34 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 80253DD8 00250D38 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 80253DDC 00250D3C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 80253DE0 00250D40 BF 61 00 EC */ stmw r27, 0xec(r1) +/* 80253DE4 00250D44 FF A0 08 90 */ fmr f29, f1 +/* 80253DE8 00250D48 2C 05 00 01 */ cmpwi r5, 1 +/* 80253DEC 00250D4C 7C 7F 1B 78 */ mr r31, r3 +/* 80253DF0 00250D50 7C 9B 23 78 */ mr r27, r4 +/* 80253DF4 00250D54 41 82 02 18 */ beq lbl_8025400C +/* 80253DF8 00250D58 40 80 00 10 */ bge lbl_80253E08 +/* 80253DFC 00250D5C 2C 05 00 00 */ cmpwi r5, 0 +/* 80253E00 00250D60 40 80 00 14 */ bge lbl_80253E14 +/* 80253E04 00250D64 48 00 03 94 */ b lbl_80254198 +lbl_80253E08: +/* 80253E08 00250D68 2C 05 00 03 */ cmpwi r5, 3 +/* 80253E0C 00250D6C 40 80 03 8C */ bge lbl_80254198 +/* 80253E10 00250D70 48 00 03 80 */ b lbl_80254190 +lbl_80253E14: +/* 80253E14 00250D74 38 C0 00 01 */ li r6, 1 +/* 80253E18 00250D78 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80253E1C 00250D7C 90 DF 03 2C */ stw r6, 0x32c(r31) +/* 80253E20 00250D80 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80253E24 00250D84 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253E28 00250D88 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80253E2C 00250D8C C0 25 00 00 */ lfs f1, 0(r5) +/* 80253E30 00250D90 D0 3F 01 50 */ stfs f1, 0x150(r31) +/* 80253E34 00250D94 C0 25 00 04 */ lfs f1, 4(r5) +/* 80253E38 00250D98 D0 3F 01 54 */ stfs f1, 0x154(r31) +/* 80253E3C 00250D9C C0 25 00 08 */ lfs f1, 8(r5) +/* 80253E40 00250DA0 D0 3F 01 58 */ stfs f1, 0x158(r31) +/* 80253E44 00250DA4 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 80253E48 00250DA8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80253E4C 00250DAC 98 1F 03 28 */ stb r0, 0x328(r31) +/* 80253E50 00250DB0 C0 BF 0A BC */ lfs f5, 0xabc(r31) +/* 80253E54 00250DB4 C0 7F 0A 98 */ lfs f3, 0xa98(r31) +/* 80253E58 00250DB8 C0 5F 0A A8 */ lfs f2, 0xaa8(r31) +/* 80253E5C 00250DBC C0 3F 0A 88 */ lfs f1, 0xa88(r31) +/* 80253E60 00250DC0 EC 85 00 F2 */ fmuls f4, f5, f3 +/* 80253E64 00250DC4 C1 3F 0A A0 */ lfs f9, 0xaa0(r31) +/* 80253E68 00250DC8 EC 65 00 B2 */ fmuls f3, f5, f2 +/* 80253E6C 00250DCC C1 5F 0A B0 */ lfs f10, 0xab0(r31) +/* 80253E70 00250DD0 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80253E74 00250DD4 C0 5F 0A 90 */ lfs f2, 0xa90(r31) +/* 80253E78 00250DD8 EC C9 20 2A */ fadds f6, f9, f4 +/* 80253E7C 00250DDC C0 FF 0A C0 */ lfs f7, 0xac0(r31) +/* 80253E80 00250DE0 EC AA 18 2A */ fadds f5, f10, f3 +/* 80253E84 00250DE4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80253E88 00250DE8 EC 22 08 2A */ fadds f1, f2, f1 +/* 80253E8C 00250DEC ED 06 00 2A */ fadds f8, f6, f0 +/* 80253E90 00250DF0 EC E5 38 2A */ fadds f7, f5, f7 +/* 80253E94 00250DF4 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 80253E98 00250DF8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80253E9C 00250DFC D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80253EA0 00250E00 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80253EA4 00250E04 D1 21 00 A0 */ stfs f9, 0xa0(r1) +/* 80253EA8 00250E08 D1 41 00 A4 */ stfs f10, 0xa4(r1) +/* 80253EAC 00250E0C D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80253EB0 00250E10 D0 C1 00 AC */ stfs f6, 0xac(r1) +/* 80253EB4 00250E14 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 80253EB8 00250E18 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80253EBC 00250E1C D1 01 00 B8 */ stfs f8, 0xb8(r1) +/* 80253EC0 00250E20 D0 E1 00 BC */ stfs f7, 0xbc(r1) +/* 80253EC4 00250E24 4B E2 8C 99 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80253EC8 00250E28 7F E3 FB 78 */ mr r3, r31 +/* 80253ECC 00250E2C 7F 65 DB 78 */ mr r5, r27 +/* 80253ED0 00250E30 38 80 00 13 */ li r4, 0x13 +/* 80253ED4 00250E34 4B E0 00 AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80253ED8 00250E38 7F E3 FB 78 */ mr r3, r31 +/* 80253EDC 00250E3C 4B DF F9 E1 */ bl GetMaterialFilter__6CActorCFv +/* 80253EE0 00250E40 80 AD 97 B0 */ lwz r5, lbl_805A8370@sda21(r13) +/* 80253EE4 00250E44 38 80 00 01 */ li r4, 1 +/* 80253EE8 00250E48 83 C3 00 00 */ lwz r30, 0(r3) +/* 80253EEC 00250E4C 83 A3 00 04 */ lwz r29, 4(r3) +/* 80253EF0 00250E50 38 60 00 00 */ li r3, 0 +/* 80253EF4 00250E54 48 13 60 01 */ bl __shl2i +/* 80253EF8 00250E58 7C 7C 1B 78 */ mr r28, r3 +/* 80253EFC 00250E5C 7C 9B 23 78 */ mr r27, r4 +/* 80253F00 00250E60 7F E3 FB 78 */ mr r3, r31 +/* 80253F04 00250E64 4B DF F9 B9 */ bl GetMaterialFilter__6CActorCFv +/* 80253F08 00250E68 80 A3 00 08 */ lwz r5, 8(r3) +/* 80253F0C 00250E6C 3C 80 FF F8 */ lis r4, 0xFFF7FFFF@ha +/* 80253F10 00250E70 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80253F14 00250E74 38 64 FF FF */ addi r3, r4, 0xFFF7FFFF@l +/* 80253F18 00250E78 38 00 FF FF */ li r0, -1 +/* 80253F1C 00250E7C 7C A7 E3 78 */ or r7, r5, r28 +/* 80253F20 00250E80 7C C6 DB 78 */ or r6, r6, r27 +/* 80253F24 00250E84 7F A3 18 38 */ and r3, r29, r3 +/* 80253F28 00250E88 7F C5 00 38 */ and r5, r30, r0 +/* 80253F2C 00250E8C 38 00 00 03 */ li r0, 3 +/* 80253F30 00250E90 90 61 00 D4 */ stw r3, 0xd4(r1) +/* 80253F34 00250E94 7F E3 FB 78 */ mr r3, r31 +/* 80253F38 00250E98 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80253F3C 00250E9C 90 A1 00 D0 */ stw r5, 0xd0(r1) +/* 80253F40 00250EA0 90 C1 00 DC */ stw r6, 0xdc(r1) +/* 80253F44 00250EA4 90 E1 00 D8 */ stw r7, 0xd8(r1) +/* 80253F48 00250EA8 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80253F4C 00250EAC 4B DF F9 55 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80253F50 00250EB0 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80253F54 00250EB4 38 60 00 00 */ li r3, 0 +/* 80253F58 00250EB8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80253F5C 00250EBC 38 61 00 3C */ addi r3, r1, 0x3c +/* 80253F60 00250EC0 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80253F64 00250EC4 C0 7F 02 E0 */ lfs f3, 0x2e0(r31) +/* 80253F68 00250EC8 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80253F6C 00250ECC C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 80253F70 00250ED0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80253F74 00250ED4 EF A3 10 28 */ fsubs f29, f3, f2 +/* 80253F78 00250ED8 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) +/* 80253F7C 00250EDC EF C1 00 28 */ fsubs f30, f1, f0 +/* 80253F80 00250EE0 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 80253F84 00250EE4 FC 20 E8 90 */ fmr f1, f29 +/* 80253F88 00250EE8 EF E2 00 28 */ fsubs f31, f2, f0 +/* 80253F8C 00250EEC FC 40 F0 90 */ fmr f2, f30 +/* 80253F90 00250EF0 48 0C 02 71 */ bl __ct__9CVector2fFff +/* 80253F94 00250EF4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80253F98 00250EF8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80253F9C 00250EFC C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80253FA0 00250F00 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 80253FA4 00250F04 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80253FA8 00250F08 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80253FAC 00250F0C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80253FB0 00250F10 48 0C 02 51 */ bl __ct__9CVector2fFff +/* 80253FB4 00250F14 38 61 00 44 */ addi r3, r1, 0x44 +/* 80253FB8 00250F18 38 81 00 3C */ addi r4, r1, 0x3c +/* 80253FBC 00250F1C 48 0C 00 09 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f +/* 80253FC0 00250F20 D0 3F 0C 7C */ stfs f1, 0xc7c(r31) +/* 80253FC4 00250F24 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253FC8 00250F28 C0 7F 00 44 */ lfs f3, 0x44(r31) +/* 80253FCC 00250F2C C0 5F 00 34 */ lfs f2, 0x34(r31) +/* 80253FD0 00250F30 EC 23 07 B2 */ fmuls f1, f3, f30 +/* 80253FD4 00250F34 C0 9F 00 54 */ lfs f4, 0x54(r31) +/* 80253FD8 00250F38 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80253FDC 00250F3C EC 22 0F 7A */ fmadds f1, f2, f29, f1 +/* 80253FE0 00250F40 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 80253FE4 00250F44 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 80253FE8 00250F48 EC 24 0F FA */ fmadds f1, f4, f31, f1 +/* 80253FEC 00250F4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253FF0 00250F50 40 81 00 10 */ ble lbl_80254000 +/* 80253FF4 00250F54 C0 1F 0C 7C */ lfs f0, 0xc7c(r31) +/* 80253FF8 00250F58 FC 00 00 50 */ fneg f0, f0 +/* 80253FFC 00250F5C D0 1F 0C 7C */ stfs f0, 0xc7c(r31) +lbl_80254000: +/* 80254000 00250F60 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254004 00250F64 D0 1F 0C 78 */ stfs f0, 0xc78(r31) +/* 80254008 00250F68 48 00 01 90 */ b lbl_80254198 +lbl_8025400C: +/* 8025400C 00250F6C 3C A0 80 3F */ lis r5, lbl_803E91F8@ha +/* 80254010 00250F70 38 C1 00 6C */ addi r6, r1, 0x6c +/* 80254014 00250F74 39 45 91 F8 */ addi r10, r5, lbl_803E91F8@l +/* 80254018 00250F78 38 A0 00 0C */ li r5, 0xc +/* 8025401C 00250F7C 81 2A 00 00 */ lwz r9, 0(r10) +/* 80254020 00250F80 38 E0 00 04 */ li r7, 4 +/* 80254024 00250F84 81 0A 00 04 */ lwz r8, 4(r10) +/* 80254028 00250F88 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025402C 00250F8C 91 21 00 6C */ stw r9, 0x6c(r1) +/* 80254030 00250F90 91 01 00 70 */ stw r8, 0x70(r1) +/* 80254034 00250F94 90 01 00 74 */ stw r0, 0x74(r1) +/* 80254038 00250F98 4B E2 87 7D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025403C 00250F9C 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 80254040 00250FA0 2C 00 00 02 */ cmpwi r0, 2 +/* 80254044 00250FA4 41 82 00 08 */ beq lbl_8025404C +/* 80254048 00250FA8 48 00 01 50 */ b lbl_80254198 +lbl_8025404C: +/* 8025404C 00250FAC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80254050 00250FB0 38 80 00 01 */ li r4, 1 +/* 80254054 00250FB4 4B EE 69 85 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80254058 00250FB8 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025405C 00250FBC C0 1F 0C 78 */ lfs f0, 0xc78(r31) +/* 80254060 00250FC0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80254064 00250FC4 40 82 00 CC */ bne lbl_80254130 +/* 80254068 00250FC8 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 8025406C 00250FCC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80254070 00250FD0 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 80254074 00250FD4 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80254078 00250FD8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8025407C 00250FDC 38 A0 00 14 */ li r5, 0x14 +/* 80254080 00250FE0 90 01 00 30 */ stw r0, 0x30(r1) +/* 80254084 00250FE4 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80254088 00250FE8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025408C 00250FEC 4B DD 6F 4D */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime +/* 80254090 00250FF0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80254094 00250FF4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80254098 00250FF8 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8025409C 00250FFC 38 C1 00 1C */ addi r6, r1, 0x1c +/* 802540A0 00251000 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 802540A4 00251004 38 A0 00 15 */ li r5, 0x15 +/* 802540A8 00251008 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 802540AC 0025100C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802540B0 00251010 90 81 00 58 */ stw r4, 0x58(r1) +/* 802540B4 00251014 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802540B8 00251018 90 01 00 20 */ stw r0, 0x20(r1) +/* 802540BC 0025101C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 802540C0 00251020 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802540C4 00251024 4B DD 6F 15 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime +/* 802540C8 00251028 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802540CC 0025102C 38 61 00 54 */ addi r3, r1, 0x54 +/* 802540D0 00251030 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 802540D4 00251034 38 81 00 14 */ addi r4, r1, 0x14 +/* 802540D8 00251038 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 802540DC 0025103C 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 802540E0 00251040 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802540E4 00251044 90 A1 00 50 */ stw r5, 0x50(r1) +/* 802540E8 00251048 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802540EC 0025104C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802540F0 00251050 48 0F 49 E5 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 802540F4 00251054 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802540F8 00251058 41 82 00 38 */ beq lbl_80254130 +/* 802540FC 0025105C C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 80254100 00251060 38 61 00 4C */ addi r3, r1, 0x4c +/* 80254104 00251064 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 80254108 00251068 38 81 00 0C */ addi r4, r1, 0xc +/* 8025410C 0025106C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80254110 00251070 90 01 00 10 */ stw r0, 0x10(r1) +/* 80254114 00251074 48 0F 49 C1 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 80254118 00251078 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025411C 0025107C 41 82 00 14 */ beq lbl_80254130 +/* 80254120 00251080 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80254124 00251084 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80254128 00251088 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025412C 0025108C D0 1F 0C 78 */ stfs f0, 0xc78(r31) +lbl_80254130: +/* 80254130 00251090 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80254134 00251094 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80254138 00251098 41 82 00 60 */ beq lbl_80254198 +/* 8025413C 0025109C C0 3F 0C 7C */ lfs f1, 0xc7c(r31) +/* 80254140 002510A0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80254144 002510A4 C0 1F 0C 78 */ lfs f0, 0xc78(r31) +/* 80254148 002510A8 38 81 00 08 */ addi r4, r1, 8 +/* 8025414C 002510AC EC 21 07 72 */ fmuls f1, f1, f29 +/* 80254150 002510B0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80254154 002510B4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80254158 002510B8 48 0B CF A1 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8025415C 002510BC C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 80254160 002510C0 FC 20 E8 90 */ fmr f1, f29 +/* 80254164 002510C4 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 80254168 002510C8 7F E3 FB 78 */ mr r3, r31 +/* 8025416C 002510CC C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80254170 002510D0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 80254174 002510D4 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80254178 002510D8 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 8025417C 002510DC D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 80254180 002510E0 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 80254184 002510E4 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80254188 002510E8 4B EC 6B D5 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +/* 8025418C 002510EC 48 00 00 0C */ b lbl_80254198 +lbl_80254190: +/* 80254190 002510F0 38 00 00 00 */ li r0, 0 +/* 80254194 002510F4 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_80254198: +/* 80254198 002510F8 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8025419C 002510FC CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802541A0 00251100 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 802541A4 00251104 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 802541A8 00251108 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 802541AC 0025110C CB A1 01 00 */ lfd f29, 0x100(r1) +/* 802541B0 00251110 BB 61 00 EC */ lmw r27, 0xec(r1) +/* 802541B4 00251114 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802541B8 00251118 7C 08 03 A6 */ mtlr r0 +/* 802541BC 0025111C 38 21 01 30 */ addi r1, r1, 0x130 +/* 802541C0 00251120 4E 80 00 20 */ blr + +.global Land__7CRidleyFR13CStateManager9EStateMsgf +Land__7CRidleyFR13CStateManager9EStateMsgf: +/* 802541C4 00251124 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802541C8 00251128 7C 08 02 A6 */ mflr r0 +/* 802541CC 0025112C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802541D0 00251130 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802541D4 00251134 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802541D8 00251138 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 802541DC 0025113C 2C 05 00 01 */ cmpwi r5, 1 +/* 802541E0 00251140 7C 7E 1B 78 */ mr r30, r3 +/* 802541E4 00251144 7C 9F 23 78 */ mr r31, r4 +/* 802541E8 00251148 41 82 01 C4 */ beq lbl_802543AC +/* 802541EC 0025114C 40 80 00 10 */ bge lbl_802541FC +/* 802541F0 00251150 2C 05 00 00 */ cmpwi r5, 0 +/* 802541F4 00251154 40 80 00 14 */ bge lbl_80254208 +/* 802541F8 00251158 48 00 02 EC */ b lbl_802544E4 +lbl_802541FC: +/* 802541FC 0025115C 2C 05 00 03 */ cmpwi r5, 3 +/* 80254200 00251160 40 80 02 E4 */ bge lbl_802544E4 +/* 80254204 00251164 48 00 02 00 */ b lbl_80254404 +lbl_80254208: +/* 80254208 00251168 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8025420C 0025116C 38 61 00 64 */ addi r3, r1, 0x64 +/* 80254210 00251170 C0 1E 0A B0 */ lfs f0, 0xab0(r30) +/* 80254214 00251174 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 80254218 00251178 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 8025421C 0025117C C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 80254220 00251180 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80254224 00251184 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 80254228 00251188 C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 8025422C 0025118C EC 64 18 28 */ fsubs f3, f4, f3 +/* 80254230 00251190 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254234 00251194 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80254238 00251198 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 8025423C 0025119C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 80254240 002511A0 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80254244 002511A4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80254248 002511A8 48 0C 06 71 */ bl Magnitude__9CVector3fCFv +/* 8025424C 002511AC D0 21 00 08 */ stfs f1, 8(r1) +/* 80254250 002511B0 38 61 00 0C */ addi r3, r1, 0xc +/* 80254254 002511B4 C0 22 B9 44 */ lfs f1, lbl_805AD664@sda21(r2) +/* 80254258 002511B8 38 81 00 08 */ addi r4, r1, 8 +/* 8025425C 002511BC C0 1E 0A B4 */ lfs f0, 0xab4(r30) +/* 80254260 002511C0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80254264 002511C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80254268 002511C8 4B E2 9B 79 */ bl "Min__5CMathFRCfRCf" +/* 8025426C 002511CC C3 E3 00 00 */ lfs f31, 0(r3) +/* 80254270 002511D0 38 61 00 64 */ addi r3, r1, 0x64 +/* 80254274 002511D4 48 0C 06 85 */ bl Normalize__9CVector3fFv +/* 80254278 002511D8 C0 43 00 04 */ lfs f2, 4(r3) +/* 8025427C 002511DC 38 81 00 58 */ addi r4, r1, 0x58 +/* 80254280 002511E0 C0 23 00 08 */ lfs f1, 8(r3) +/* 80254284 002511E4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80254288 002511E8 EC 9F 00 B2 */ fmuls f4, f31, f2 +/* 8025428C 002511EC C0 DE 0A A0 */ lfs f6, 0xaa0(r30) +/* 80254290 002511F0 EC 7F 00 72 */ fmuls f3, f31, f1 +/* 80254294 002511F4 C0 FE 0A B0 */ lfs f7, 0xab0(r30) +/* 80254298 002511F8 EC 5F 00 32 */ fmuls f2, f31, f0 +/* 8025429C 002511FC C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 802542A0 00251200 EC A6 20 2A */ fadds f5, f6, f4 +/* 802542A4 00251204 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 802542A8 00251208 EC 87 18 2A */ fadds f4, f7, f3 +/* 802542AC 0025120C 7F C3 F3 78 */ mr r3, r30 +/* 802542B0 00251210 EC 01 10 2A */ fadds f0, f1, f2 +/* 802542B4 00251214 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802542B8 00251218 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 802542BC 0025121C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802542C0 00251220 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802542C4 00251224 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802542C8 00251228 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802542CC 0025122C D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802542D0 00251230 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802542D4 00251234 4B E2 88 89 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 802542D8 00251238 38 00 00 01 */ li r0, 1 +/* 802542DC 0025123C 7F C3 F3 78 */ mr r3, r30 +/* 802542E0 00251240 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802542E4 00251244 7F E5 FB 78 */ mr r5, r31 +/* 802542E8 00251248 38 80 00 13 */ li r4, 0x13 +/* 802542EC 0025124C 4B E0 00 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802542F0 00251250 7F C3 F3 78 */ mr r3, r30 +/* 802542F4 00251254 4B DF F5 C9 */ bl GetMaterialFilter__6CActorCFv +/* 802542F8 00251258 80 AD 97 AC */ lwz r5, lbl_805A836C@sda21(r13) +/* 802542FC 0025125C 38 80 00 01 */ li r4, 1 +/* 80254300 00251260 83 A3 00 08 */ lwz r29, 8(r3) +/* 80254304 00251264 83 83 00 0C */ lwz r28, 0xc(r3) +/* 80254308 00251268 38 60 00 00 */ li r3, 0 +/* 8025430C 0025126C 48 13 5B E9 */ bl __shl2i +/* 80254310 00251270 7C 7B 1B 78 */ mr r27, r3 +/* 80254314 00251274 7C 9A 23 78 */ mr r26, r4 +/* 80254318 00251278 7F C3 F3 78 */ mr r3, r30 +/* 8025431C 0025127C 4B DF F5 A1 */ bl GetMaterialFilter__6CActorCFv +/* 80254320 00251280 80 A3 00 00 */ lwz r5, 0(r3) +/* 80254324 00251284 3C 80 FF F8 */ lis r4, 0xFFF7FFFF@ha +/* 80254328 00251288 80 C3 00 04 */ lwz r6, 4(r3) +/* 8025432C 0025128C 38 64 FF FF */ addi r3, r4, 0xFFF7FFFF@l +/* 80254330 00251290 38 00 FF FF */ li r0, -1 +/* 80254334 00251294 7C A7 DB 78 */ or r7, r5, r27 +/* 80254338 00251298 7C C4 D3 78 */ or r4, r6, r26 +/* 8025433C 0025129C 7F 86 18 38 */ and r6, r28, r3 +/* 80254340 002512A0 7F A5 00 38 */ and r5, r29, r0 +/* 80254344 002512A4 38 00 00 03 */ li r0, 3 +/* 80254348 002512A8 90 81 00 74 */ stw r4, 0x74(r1) +/* 8025434C 002512AC 7F C3 F3 78 */ mr r3, r30 +/* 80254350 002512B0 38 81 00 70 */ addi r4, r1, 0x70 +/* 80254354 002512B4 90 E1 00 70 */ stw r7, 0x70(r1) +/* 80254358 002512B8 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8025435C 002512BC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 80254360 002512C0 90 01 00 80 */ stw r0, 0x80(r1) +/* 80254364 002512C4 4B DF F5 3D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80254368 002512C8 80 1E 0C 64 */ lwz r0, 0xc64(r30) +/* 8025436C 002512CC 2C 00 00 03 */ cmpwi r0, 3 +/* 80254370 002512D0 40 82 00 18 */ bne lbl_80254388 +/* 80254374 002512D4 7F C3 F3 78 */ mr r3, r30 +/* 80254378 002512D8 7F E6 FB 78 */ mr r6, r31 +/* 8025437C 002512DC 38 80 00 25 */ li r4, 0x25 +/* 80254380 002512E0 38 A0 00 13 */ li r5, 0x13 +/* 80254384 002512E4 4B DF FF 31 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_80254388: +/* 80254388 002512E8 C0 3E 08 F4 */ lfs f1, 0x8f4(r30) +/* 8025438C 002512EC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254390 002512F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80254394 002512F4 7C 60 00 26 */ mfcr r3 +/* 80254398 002512F8 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 8025439C 002512FC 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c +/* 802543A0 00251300 98 1E 04 02 */ stb r0, 0x402(r30) +/* 802543A4 00251304 D0 3E 05 04 */ stfs f1, 0x504(r30) +/* 802543A8 00251308 48 00 01 3C */ b lbl_802544E4 +lbl_802543AC: +/* 802543AC 0025130C 3C A0 80 3F */ lis r5, lbl_803E91EC@ha +/* 802543B0 00251310 38 C1 00 34 */ addi r6, r1, 0x34 +/* 802543B4 00251314 39 45 91 EC */ addi r10, r5, lbl_803E91EC@l +/* 802543B8 00251318 38 A0 00 07 */ li r5, 7 +/* 802543BC 0025131C 81 2A 00 00 */ lwz r9, 0(r10) +/* 802543C0 00251320 38 E0 00 08 */ li r7, 8 +/* 802543C4 00251324 81 0A 00 04 */ lwz r8, 4(r10) +/* 802543C8 00251328 80 0A 00 08 */ lwz r0, 8(r10) +/* 802543CC 0025132C 91 21 00 34 */ stw r9, 0x34(r1) +/* 802543D0 00251330 91 01 00 38 */ stw r8, 0x38(r1) +/* 802543D4 00251334 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802543D8 00251338 4B E2 83 DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802543DC 0025133C 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 802543E0 00251340 2C 00 00 02 */ cmpwi r0, 2 +/* 802543E4 00251344 40 82 00 10 */ bne lbl_802543F4 +/* 802543E8 00251348 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802543EC 0025134C 38 80 00 03 */ li r4, 3 +/* 802543F0 00251350 4B EE 65 E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_802543F4: +/* 802543F4 00251354 7F C3 F3 78 */ mr r3, r30 +/* 802543F8 00251358 7F E4 FB 78 */ mr r4, r31 +/* 802543FC 0025135C 48 00 1A 61 */ bl sub_80255e5c +/* 80254400 00251360 48 00 00 E4 */ b lbl_802544E4 +lbl_80254404: +/* 80254404 00251364 38 60 00 00 */ li r3, 0 +/* 80254408 00251368 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025440C 0025136C 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80254410 00251370 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) +/* 80254414 00251374 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 80254418 00251378 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025441C 0025137C 98 1E 04 02 */ stb r0, 0x402(r30) +/* 80254420 00251380 D0 3E 05 04 */ stfs f1, 0x504(r30) +/* 80254424 00251384 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80254428 00251388 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8025442C 0025138C 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80254430 00251390 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80254434 00251394 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80254438 00251398 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 8025443C 0025139C 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80254440 002513A0 48 0B E1 05 */ bl Range__9CRandom16Fff +/* 80254444 002513A4 C0 02 B9 48 */ lfs f0, lbl_805AD668@sda21(r2) +/* 80254448 002513A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025444C 002513AC 40 80 00 98 */ bge lbl_802544E4 +/* 80254450 002513B0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80254454 002513B4 C0 FE 00 48 */ lfs f7, 0x48(r30) +/* 80254458 002513B8 C1 23 00 50 */ lfs f9, 0x50(r3) +/* 8025445C 002513BC C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80254460 002513C0 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80254464 002513C4 EC C9 00 28 */ fsubs f6, f9, f0 +/* 80254468 002513C8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025446C 002513CC C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 80254470 002513D0 EC 43 00 28 */ fsubs f2, f3, f0 +/* 80254474 002513D4 C1 43 00 60 */ lfs f10, 0x60(r3) +/* 80254478 002513D8 EC 26 01 F2 */ fmuls f1, f6, f7 +/* 8025447C 002513DC C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80254480 002513E0 C1 1E 00 58 */ lfs f8, 0x58(r30) +/* 80254484 002513E4 EC AA 00 28 */ fsubs f5, f10, f0 +/* 80254488 002513E8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025448C 002513EC EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 80254490 002513F0 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80254494 002513F4 D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 80254498 002513F8 EC 25 0A 3A */ fmadds f1, f5, f8, f1 +/* 8025449C 002513FC D1 01 00 18 */ stfs f8, 0x18(r1) +/* 802544A0 00251400 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802544A4 00251404 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802544A8 00251408 D1 21 00 20 */ stfs f9, 0x20(r1) +/* 802544AC 0025140C D1 41 00 24 */ stfs f10, 0x24(r1) +/* 802544B0 00251410 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802544B4 00251414 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802544B8 00251418 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802544BC 0025141C 40 81 00 18 */ ble lbl_802544D4 +/* 802544C0 00251420 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802544C4 00251424 38 60 00 01 */ li r3, 1 +/* 802544C8 00251428 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 802544CC 0025142C 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 802544D0 00251430 48 00 00 14 */ b lbl_802544E4 +lbl_802544D4: +/* 802544D4 00251434 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802544D8 00251438 38 60 00 01 */ li r3, 1 +/* 802544DC 0025143C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802544E0 00251440 98 1E 0A 33 */ stb r0, 0xa33(r30) +lbl_802544E4: +/* 802544E4 00251444 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802544E8 00251448 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802544EC 0025144C BB 41 00 88 */ lmw r26, 0x88(r1) +/* 802544F0 00251450 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802544F4 00251454 7C 08 03 A6 */ mtlr r0 +/* 802544F8 00251458 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802544FC 0025145C 4E 80 00 20 */ blr + +.global Approach__7CRidleyFR13CStateManager9EStateMsgf +Approach__7CRidleyFR13CStateManager9EStateMsgf: +/* 80254500 00251460 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80254504 00251464 7C 08 02 A6 */ mflr r0 +/* 80254508 00251468 90 01 00 74 */ stw r0, 0x74(r1) +/* 8025450C 0025146C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80254510 00251470 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80254514 00251474 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80254518 00251478 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8025451C 0025147C FF E0 08 90 */ fmr f31, f1 +/* 80254520 00251480 2C 05 00 01 */ cmpwi r5, 1 +/* 80254524 00251484 7C 7E 1B 78 */ mr r30, r3 +/* 80254528 00251488 7C 9F 23 78 */ mr r31, r4 +/* 8025452C 0025148C 41 82 01 0C */ beq lbl_80254638 +/* 80254530 00251490 40 80 01 68 */ bge lbl_80254698 +/* 80254534 00251494 2C 05 00 00 */ cmpwi r5, 0 +/* 80254538 00251498 40 80 00 0C */ bge lbl_80254544 +/* 8025453C 0025149C 48 00 01 5C */ b lbl_80254698 +/* 80254540 002514A0 48 00 01 58 */ b lbl_80254698 +lbl_80254544: +/* 80254544 002514A4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80254548 002514A8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025454C 002514AC C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80254550 002514B0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80254554 002514B4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80254558 002514B8 C0 5E 0A B0 */ lfs f2, 0xab0(r30) +/* 8025455C 002514BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254560 002514C0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80254564 002514C4 C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254568 002514C8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025456C 002514CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254570 002514D0 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80254574 002514D4 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80254578 002514D8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8025457C 002514DC 48 0C 02 D5 */ bl AsNormalized__9CVector3fCFv +/* 80254580 002514E0 C0 FE 0A B4 */ lfs f7, 0xab4(r30) +/* 80254584 002514E4 7F C3 F3 78 */ mr r3, r30 +/* 80254588 002514E8 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8025458C 002514EC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80254590 002514F0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80254594 002514F4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80254598 002514F8 EC A7 00 B2 */ fmuls f5, f7, f2 +/* 8025459C 002514FC C0 DE 0A A0 */ lfs f6, 0xaa0(r30) +/* 802545A0 00251500 EC 67 00 72 */ fmuls f3, f7, f1 +/* 802545A4 00251504 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 802545A8 00251508 EC 27 00 32 */ fmuls f1, f7, f0 +/* 802545AC 0025150C C0 5E 0A 90 */ lfs f2, 0xa90(r30) +/* 802545B0 00251510 EC A6 28 2A */ fadds f5, f6, f5 +/* 802545B4 00251514 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 802545B8 00251518 EC 64 18 2A */ fadds f3, f4, f3 +/* 802545BC 0025151C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802545C0 00251520 EC 22 08 2A */ fadds f1, f2, f1 +/* 802545C4 00251524 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802545C8 00251528 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802545CC 0025152C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802545D0 00251530 C0 3E 0A E8 */ lfs f1, 0xae8(r30) +/* 802545D4 00251534 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 802545D8 00251538 EC 21 20 2A */ fadds f1, f1, f4 +/* 802545DC 0025153C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802545E0 00251540 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802545E4 00251544 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802545E8 00251548 4B E2 85 75 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 802545EC 0025154C 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802545F0 00251550 38 60 00 00 */ li r3, 0 +/* 802545F4 00251554 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802545F8 00251558 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 802545FC 0025155C 80 1E 0C 64 */ lwz r0, 0xc64(r30) +/* 80254600 00251560 2C 00 00 03 */ cmpwi r0, 3 +/* 80254604 00251564 40 82 00 94 */ bne lbl_80254698 +/* 80254608 00251568 88 9E 0A 34 */ lbz r4, 0xa34(r30) +/* 8025460C 0025156C 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80254610 00251570 40 82 00 88 */ bne lbl_80254698 +/* 80254614 00251574 38 00 00 01 */ li r0, 1 +/* 80254618 00251578 7F C3 F3 78 */ mr r3, r30 +/* 8025461C 0025157C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 80254620 00251580 7F E5 FB 78 */ mr r5, r31 +/* 80254624 00251584 98 9E 0A 34 */ stb r4, 0xa34(r30) +/* 80254628 00251588 38 80 00 0F */ li r4, 0xf +/* 8025462C 0025158C 38 C0 FF FF */ li r6, -1 +/* 80254630 00251590 4B DF CA 91 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80254634 00251594 48 00 00 64 */ b lbl_80254698 +lbl_80254638: +/* 80254638 00251598 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 8025463C 0025159C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80254640 002515A0 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80254644 002515A4 38 81 00 08 */ addi r4, r1, 8 +/* 80254648 002515A8 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 8025464C 002515AC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80254650 002515B0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254654 002515B4 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 80254658 002515B8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025465C 002515BC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80254660 002515C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254664 002515C4 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80254668 002515C8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025466C 002515CC D0 01 00 08 */ stfs f0, 8(r1) +/* 80254670 002515D0 48 0C 01 E1 */ bl AsNormalized__9CVector3fCFv +/* 80254674 002515D4 FC 40 F8 90 */ fmr f2, f31 +/* 80254678 002515D8 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) +/* 8025467C 002515DC 7F C3 F3 78 */ mr r3, r30 +/* 80254680 002515E0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80254684 002515E4 48 00 19 65 */ bl sub_80255fe8 +/* 80254688 002515E8 FC 20 F8 90 */ fmr f1, f31 +/* 8025468C 002515EC 7F C3 F3 78 */ mr r3, r30 +/* 80254690 002515F0 7F E4 FB 78 */ mr r4, r31 +/* 80254694 002515F4 48 00 18 BD */ bl sub_80255f50 +lbl_80254698: +/* 80254698 002515F8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8025469C 002515FC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802546A0 00251600 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802546A4 00251604 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802546A8 00251608 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802546AC 0025160C 7C 08 03 A6 */ mtlr r0 +/* 802546B0 00251610 38 21 00 70 */ addi r1, r1, 0x70 +/* 802546B4 00251614 4E 80 00 20 */ blr + +.global Explode__7CRidleyFR13CStateManager9EStateMsgf +Explode__7CRidleyFR13CStateManager9EStateMsgf: +/* 802546B8 00251618 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802546BC 0025161C 7C 08 02 A6 */ mflr r0 +/* 802546C0 00251620 2C 05 00 01 */ cmpwi r5, 1 +/* 802546C4 00251624 90 01 00 24 */ stw r0, 0x24(r1) +/* 802546C8 00251628 41 82 00 3C */ beq lbl_80254704 +/* 802546CC 0025162C 40 80 00 10 */ bge lbl_802546DC +/* 802546D0 00251630 2C 05 00 00 */ cmpwi r5, 0 +/* 802546D4 00251634 40 80 00 14 */ bge lbl_802546E8 +/* 802546D8 00251638 48 00 00 68 */ b lbl_80254740 +lbl_802546DC: +/* 802546DC 0025163C 2C 05 00 03 */ cmpwi r5, 3 +/* 802546E0 00251640 40 80 00 60 */ bge lbl_80254740 +/* 802546E4 00251644 48 00 00 54 */ b lbl_80254738 +lbl_802546E8: +/* 802546E8 00251648 88 83 0A 32 */ lbz r4, 0xa32(r3) +/* 802546EC 0025164C 38 00 00 00 */ li r0, 0 +/* 802546F0 00251650 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b +/* 802546F4 00251654 38 00 00 01 */ li r0, 1 +/* 802546F8 00251658 98 83 0A 32 */ stb r4, 0xa32(r3) +/* 802546FC 0025165C 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80254700 00251660 48 00 00 40 */ b lbl_80254740 +lbl_80254704: +/* 80254704 00251664 3C A0 80 3F */ lis r5, lbl_803E91E0@ha +/* 80254708 00251668 38 C1 00 08 */ addi r6, r1, 8 +/* 8025470C 0025166C 39 45 91 E0 */ addi r10, r5, lbl_803E91E0@l +/* 80254710 00251670 38 A0 00 06 */ li r5, 6 +/* 80254714 00251674 81 2A 00 00 */ lwz r9, 0(r10) +/* 80254718 00251678 38 E0 00 02 */ li r7, 2 +/* 8025471C 0025167C 81 0A 00 04 */ lwz r8, 4(r10) +/* 80254720 00251680 80 0A 00 08 */ lwz r0, 8(r10) +/* 80254724 00251684 91 21 00 08 */ stw r9, 8(r1) +/* 80254728 00251688 91 01 00 0C */ stw r8, 0xc(r1) +/* 8025472C 0025168C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80254730 00251690 4B E2 80 85 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80254734 00251694 48 00 00 0C */ b lbl_80254740 +lbl_80254738: +/* 80254738 00251698 38 00 00 00 */ li r0, 0 +/* 8025473C 0025169C 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80254740: +/* 80254740 002516A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80254744 002516A4 7C 08 03 A6 */ mtlr r0 +/* 80254748 002516A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025474C 002516AC 4E 80 00 20 */ blr + +.global LoopedAttack__7CRidleyFR13CStateManager9EStateMsgf +LoopedAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80254750 002516B0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80254754 002516B4 7C 08 02 A6 */ mflr r0 +/* 80254758 002516B8 90 01 01 04 */ stw r0, 0x104(r1) +/* 8025475C 002516BC DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 80254760 002516C0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 80254764 002516C4 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 80254768 002516C8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 8025476C 002516CC 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80254770 002516D0 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80254774 002516D4 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80254778 002516D8 FF C0 08 90 */ fmr f30, f1 +/* 8025477C 002516DC 2C 05 00 01 */ cmpwi r5, 1 +/* 80254780 002516E0 7C 7E 1B 78 */ mr r30, r3 +/* 80254784 002516E4 7C 9F 23 78 */ mr r31, r4 +/* 80254788 002516E8 41 82 02 E8 */ beq lbl_80254A70 +/* 8025478C 002516EC 40 80 00 10 */ bge lbl_8025479C +/* 80254790 002516F0 2C 05 00 00 */ cmpwi r5, 0 +/* 80254794 002516F4 40 80 00 14 */ bge lbl_802547A8 +/* 80254798 002516F8 48 00 07 D4 */ b lbl_80254F6C +lbl_8025479C: +/* 8025479C 002516FC 2C 05 00 03 */ cmpwi r5, 3 +/* 802547A0 00251700 40 80 07 CC */ bge lbl_80254F6C +/* 802547A4 00251704 48 00 06 F4 */ b lbl_80254E98 +lbl_802547A8: +/* 802547A8 00251708 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 802547AC 0025170C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802547B0 00251710 41 82 00 48 */ beq lbl_802547F8 +/* 802547B4 00251714 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802547B8 00251718 38 60 00 00 */ li r3, 0 +/* 802547BC 0025171C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802547C0 00251720 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 802547C4 00251724 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802547C8 00251728 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802547CC 0025172C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802547D0 00251730 D0 1E 0B C4 */ stfs f0, 0xbc4(r30) +/* 802547D4 00251734 D0 3E 0B C8 */ stfs f1, 0xbc8(r30) +/* 802547D8 00251738 D0 5E 0B CC */ stfs f2, 0xbcc(r30) +/* 802547DC 0025173C C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 802547E0 00251740 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 802547E4 00251744 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 802547E8 00251748 D0 1E 0B D0 */ stfs f0, 0xbd0(r30) +/* 802547EC 0025174C D0 3E 0B D4 */ stfs f1, 0xbd4(r30) +/* 802547F0 00251750 D0 5E 0B D8 */ stfs f2, 0xbd8(r30) +/* 802547F4 00251754 48 00 01 EC */ b lbl_802549E0 +lbl_802547F8: +/* 802547F8 00251758 C1 3E 00 50 */ lfs f9, 0x50(r30) +/* 802547FC 0025175C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80254800 00251760 C0 9E 00 40 */ lfs f4, 0x40(r30) +/* 80254804 00251764 EC C9 00 28 */ fsubs f6, f9, f0 +/* 80254808 00251768 C0 FE 0A 94 */ lfs f7, 0xa94(r30) +/* 8025480C 0025176C C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254810 00251770 C1 5E 00 60 */ lfs f10, 0x60(r30) +/* 80254814 00251774 EC 64 00 28 */ fsubs f3, f4, f0 +/* 80254818 00251778 C0 3E 0A B0 */ lfs f1, 0xab0(r30) +/* 8025481C 0025177C C0 5E 0A 84 */ lfs f2, 0xa84(r30) +/* 80254820 00251780 EC 07 01 B2 */ fmuls f0, f7, f6 +/* 80254824 00251784 EC AA 08 28 */ fsubs f5, f10, f1 +/* 80254828 00251788 C1 1E 0A A4 */ lfs f8, 0xaa4(r30) +/* 8025482C 0025178C EC 22 00 FA */ fmadds f1, f2, f3, f0 +/* 80254830 00251790 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254834 00251794 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 80254838 00251798 EC 28 09 7A */ fmadds f1, f8, f5, f1 +/* 8025483C 0025179C D1 21 00 8C */ stfs f9, 0x8c(r1) +/* 80254840 002517A0 D1 41 00 90 */ stfs f10, 0x90(r1) +/* 80254844 002517A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80254848 002517A8 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 8025484C 002517AC D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 80254850 002517B0 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 80254854 002517B4 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 80254858 002517B8 D0 E1 00 A4 */ stfs f7, 0xa4(r1) +/* 8025485C 002517BC D1 01 00 A8 */ stfs f8, 0xa8(r1) +/* 80254860 002517C0 7C 00 00 26 */ mfcr r0 +/* 80254864 002517C4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80254868 002517C8 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 8025486C 002517CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80254870 002517D0 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80254874 002517D4 83 BE 00 2C */ lwz r29, 0x2c(r30) +/* 80254878 002517D8 48 00 01 50 */ b lbl_802549C8 +lbl_8025487C: +/* 8025487C 002517DC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80254880 002517E0 2C 00 00 0A */ cmpwi r0, 0xa +/* 80254884 002517E4 40 82 01 40 */ bne lbl_802549C4 +/* 80254888 002517E8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8025488C 002517EC 2C 00 00 06 */ cmpwi r0, 6 +/* 80254890 002517F0 40 82 01 34 */ bne lbl_802549C4 +/* 80254894 002517F4 80 1D 00 08 */ lwz r0, 8(r29) +/* 80254898 002517F8 7F E4 FB 78 */ mr r4, r31 +/* 8025489C 002517FC 38 61 00 0C */ addi r3, r1, 0xc +/* 802548A0 00251800 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802548A4 00251804 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802548A8 00251808 4B DF 36 75 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 802548AC 0025180C A0 61 00 0C */ lhz r3, 0xc(r1) +/* 802548B0 00251810 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802548B4 00251814 B0 61 00 10 */ sth r3, 0x10(r1) +/* 802548B8 00251818 7C 03 00 40 */ cmplw r3, r0 +/* 802548BC 0025181C 41 82 01 08 */ beq lbl_802549C4 +/* 802548C0 00251820 B0 61 00 08 */ sth r3, 8(r1) +/* 802548C4 00251824 7F E3 FB 78 */ mr r3, r31 +/* 802548C8 00251828 38 81 00 08 */ addi r4, r1, 8 +/* 802548CC 0025182C 4B DF 7C D9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802548D0 00251830 7C 64 1B 78 */ mr r4, r3 +/* 802548D4 00251834 38 61 00 34 */ addi r3, r1, 0x34 +/* 802548D8 00251838 4B E5 1C 75 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 802548DC 0025183C 80 63 00 04 */ lwz r3, 4(r3) +/* 802548E0 00251840 28 03 00 00 */ cmplwi r3, 0 +/* 802548E4 00251844 41 82 00 E0 */ beq lbl_802549C4 +/* 802548E8 00251848 C1 03 00 50 */ lfs f8, 0x50(r3) +/* 802548EC 0025184C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 802548F0 00251850 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 802548F4 00251854 EC A8 00 28 */ fsubs f5, f8, f0 +/* 802548F8 00251858 C0 DE 0A 94 */ lfs f6, 0xa94(r30) +/* 802548FC 0025185C C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254900 00251860 C1 23 00 60 */ lfs f9, 0x60(r3) +/* 80254904 00251864 EC 43 00 28 */ fsubs f2, f3, f0 +/* 80254908 00251868 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 8025490C 0025186C C0 3E 0A 84 */ lfs f1, 0xa84(r30) +/* 80254910 00251870 EC 06 01 72 */ fmuls f0, f6, f5 +/* 80254914 00251874 EC 89 20 28 */ fsubs f4, f9, f4 +/* 80254918 00251878 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 8025491C 0025187C C0 FE 0A A4 */ lfs f7, 0xaa4(r30) +/* 80254920 00251880 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 80254924 00251884 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 80254928 00251888 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025492C 0025188C EC 67 01 3A */ fmadds f3, f7, f4, f0 +/* 80254930 00251890 D1 01 00 68 */ stfs f8, 0x68(r1) +/* 80254934 00251894 D1 21 00 6C */ stfs f9, 0x6c(r1) +/* 80254938 00251898 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8025493C 0025189C D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 80254940 002518A0 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 80254944 002518A4 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 80254948 002518A8 D0 C1 00 80 */ stfs f6, 0x80(r1) +/* 8025494C 002518AC D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 80254950 002518B0 41 82 00 10 */ beq lbl_80254960 +/* 80254954 002518B4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254958 002518B8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8025495C 002518BC 41 81 00 1C */ bgt lbl_80254978 +lbl_80254960: +/* 80254960 002518C0 28 00 00 00 */ cmplwi r0, 0 +/* 80254964 002518C4 40 82 00 60 */ bne lbl_802549C4 +/* 80254968 002518C8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025496C 002518CC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80254970 002518D0 4C 40 13 82 */ cror 2, 0, 2 +/* 80254974 002518D4 40 82 00 50 */ bne lbl_802549C4 +lbl_80254978: +/* 80254978 002518D8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8025497C 002518DC C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80254980 002518E0 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80254984 002518E4 D0 1E 0B C4 */ stfs f0, 0xbc4(r30) +/* 80254988 002518E8 D0 3E 0B C8 */ stfs f1, 0xbc8(r30) +/* 8025498C 002518EC D0 5E 0B CC */ stfs f2, 0xbcc(r30) +/* 80254990 002518F0 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 80254994 002518F4 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 80254998 002518F8 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8025499C 002518FC D0 1E 0B D0 */ stfs f0, 0xbd0(r30) +/* 802549A0 00251900 D0 3E 0B D4 */ stfs f1, 0xbd4(r30) +/* 802549A4 00251904 D0 5E 0B D8 */ stfs f2, 0xbd8(r30) +/* 802549A8 00251908 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802549AC 0025190C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802549B0 00251910 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802549B4 00251914 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 802549B8 00251918 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 802549BC 0025191C D0 5E 02 F4 */ stfs f2, 0x2f4(r30) +/* 802549C0 00251920 48 00 00 20 */ b lbl_802549E0 +lbl_802549C4: +/* 802549C4 00251924 3B BD 00 0C */ addi r29, r29, 0xc +lbl_802549C8: +/* 802549C8 00251928 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802549CC 0025192C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802549D0 00251930 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802549D4 00251934 7C 03 02 14 */ add r0, r3, r0 +/* 802549D8 00251938 7C 1D 00 40 */ cmplw r29, r0 +/* 802549DC 0025193C 40 82 FE A0 */ bne lbl_8025487C +lbl_802549E0: +/* 802549E0 00251940 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802549E4 00251944 3C 60 80 3D */ lis r3, lbl_803D4C18@ha +/* 802549E8 00251948 C0 22 B9 50 */ lfs f1, lbl_805AD670@sda21(r2) +/* 802549EC 0025194C 38 E0 00 00 */ li r7, 0 +/* 802549F0 00251950 D0 1E 0B DC */ stfs f0, 0xbdc(r30) +/* 802549F4 00251954 38 C0 00 01 */ li r6, 1 +/* 802549F8 00251958 C0 02 B9 54 */ lfs f0, lbl_805AD674@sda21(r2) +/* 802549FC 0025195C 38 A3 4C 18 */ addi r5, r3, lbl_803D4C18@l +/* 80254A00 00251960 D0 3E 0B E0 */ stfs f1, 0xbe0(r30) +/* 80254A04 00251964 7F C3 F3 78 */ mr r3, r30 +/* 80254A08 00251968 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) +/* 80254A0C 0025196C 7F E4 FB 78 */ mr r4, r31 +/* 80254A10 00251970 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254A14 00251974 50 E0 0F BC */ rlwimi r0, r7, 1, 0x1e, 0x1e +/* 80254A18 00251978 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254A1C 0025197C 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254A20 00251980 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 80254A24 00251984 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254A28 00251988 D0 1E 0C 10 */ stfs f0, 0xc10(r30) +/* 80254A2C 0025198C 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254A30 00251990 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80254A34 00251994 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80254A38 00251998 80 1E 0C B0 */ lwz r0, 0xcb0(r30) +/* 80254A3C 0025199C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80254A40 002519A0 7C A5 02 14 */ add r5, r5, r0 +/* 80254A44 002519A4 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80254A48 002519A8 90 1E 0C C0 */ stw r0, 0xcc0(r30) +/* 80254A4C 002519AC 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 80254A50 002519B0 C0 45 00 04 */ lfs f2, 4(r5) +/* 80254A54 002519B4 C0 65 00 08 */ lfs f3, 8(r5) +/* 80254A58 002519B8 C0 05 00 00 */ lfs f0, 0(r5) +/* 80254A5C 002519BC D0 1E 0C 68 */ stfs f0, 0xc68(r30) +/* 80254A60 002519C0 D0 5E 0C 6C */ stfs f2, 0xc6c(r30) +/* 80254A64 002519C4 D0 7E 0C 70 */ stfs f3, 0xc70(r30) +/* 80254A68 002519C8 48 00 2B 25 */ bl sub_8025758c +/* 80254A6C 002519CC 48 00 05 00 */ b lbl_80254F6C +lbl_80254A70: +/* 80254A70 002519D0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80254A74 002519D4 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80254A78 002519D8 C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80254A7C 002519DC C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80254A80 002519E0 C0 5E 0A B0 */ lfs f2, 0xab0(r30) +/* 80254A84 002519E4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254A88 002519E8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80254A8C 002519EC C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254A90 002519F0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80254A94 002519F4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254A98 002519F8 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 80254A9C 002519FC D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 80254AA0 00251A00 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80254AA4 00251A04 48 0B FE 15 */ bl Magnitude__9CVector3fCFv +/* 80254AA8 00251A08 C0 02 B9 34 */ lfs f0, lbl_805AD654@sda21(r2) +/* 80254AAC 00251A0C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80254AB0 00251A10 38 6D 97 9C */ addi r3, r13, lbl_805A835C@sda21 +/* 80254AB4 00251A14 38 A2 B9 4C */ addi r5, r2, lbl_805AD66C@sda21 +/* 80254AB8 00251A18 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254ABC 00251A1C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80254AC0 00251A20 4B DB 77 F5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254AC4 00251A24 C0 23 00 00 */ lfs f1, 0(r3) +/* 80254AC8 00251A28 38 81 00 30 */ addi r4, r1, 0x30 +/* 80254ACC 00251A2C C0 02 B9 58 */ lfs f0, lbl_805AD678@sda21(r2) +/* 80254AD0 00251A30 38 62 B9 10 */ addi r3, r2, lbl_805AD630@sda21 +/* 80254AD4 00251A34 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) +/* 80254AD8 00251A38 38 AD 97 A0 */ addi r5, r13, lbl_805A8360@sda21 +/* 80254ADC 00251A3C EC 81 00 24 */ fdivs f4, f1, f0 +/* 80254AE0 00251A40 C0 22 B9 5C */ lfs f1, lbl_805AD67C@sda21(r2) +/* 80254AE4 00251A44 C0 62 B9 20 */ lfs f3, lbl_805AD640@sda21(r2) +/* 80254AE8 00251A48 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80254AEC 00251A4C EC 42 09 3C */ fnmsubs f2, f2, f4, f1 +/* 80254AF0 00251A50 EC 24 01 32 */ fmuls f1, f4, f4 +/* 80254AF4 00251A54 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80254AF8 00251A58 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 80254AFC 00251A5C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80254B00 00251A60 4B DB 77 B5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254B04 00251A64 C0 83 00 00 */ lfs f4, 0(r3) +/* 80254B08 00251A68 C0 62 B9 28 */ lfs f3, lbl_805AD648@sda21(r2) +/* 80254B0C 00251A6C D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80254B10 00251A70 EC A3 20 24 */ fdivs f5, f3, f4 +/* 80254B14 00251A74 C0 5E 0C 68 */ lfs f2, 0xc68(r30) +/* 80254B18 00251A78 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) +/* 80254B1C 00251A7C C0 1E 0C 70 */ lfs f0, 0xc70(r30) +/* 80254B20 00251A80 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80254B24 00251A84 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80254B28 00251A88 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80254B2C 00251A8C EC 04 00 32 */ fmuls f0, f4, f0 +/* 80254B30 00251A90 D0 43 00 00 */ stfs f2, 0(r3) +/* 80254B34 00251A94 D0 23 00 04 */ stfs f1, 4(r3) +/* 80254B38 00251A98 D0 03 00 08 */ stfs f0, 8(r3) +/* 80254B3C 00251A9C D0 BE 05 5C */ stfs f5, 0x55c(r30) +/* 80254B40 00251AA0 D0 BE 05 60 */ stfs f5, 0x560(r30) +/* 80254B44 00251AA4 D0 BE 05 64 */ stfs f5, 0x564(r30) +/* 80254B48 00251AA8 D0 5E 09 E4 */ stfs f2, 0x9e4(r30) +/* 80254B4C 00251AAC D0 3E 09 E8 */ stfs f1, 0x9e8(r30) +/* 80254B50 00251AB0 D0 1E 09 EC */ stfs f0, 0x9ec(r30) +/* 80254B54 00251AB4 C0 1E 03 38 */ lfs f0, 0x338(r30) +/* 80254B58 00251AB8 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80254B5C 00251ABC 40 81 00 34 */ ble lbl_80254B90 +/* 80254B60 00251AC0 80 1E 0C B0 */ lwz r0, 0xcb0(r30) +/* 80254B64 00251AC4 3C 60 80 3D */ lis r3, lbl_803D4C18@ha +/* 80254B68 00251AC8 38 63 4C 18 */ addi r3, r3, lbl_803D4C18@l +/* 80254B6C 00251ACC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80254B70 00251AD0 7C 63 02 14 */ add r3, r3, r0 +/* 80254B74 00251AD4 88 03 00 20 */ lbz r0, 0x20(r3) +/* 80254B78 00251AD8 28 00 00 00 */ cmplwi r0, 0 +/* 80254B7C 00251ADC 41 82 00 14 */ beq lbl_80254B90 +/* 80254B80 00251AE0 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254B84 00251AE4 38 60 00 01 */ li r3, 1 +/* 80254B88 00251AE8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80254B8C 00251AEC 98 1E 0A 32 */ stb r0, 0xa32(r30) +lbl_80254B90: +/* 80254B90 00251AF0 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254B94 00251AF4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80254B98 00251AF8 41 82 00 54 */ beq lbl_80254BEC +/* 80254B9C 00251AFC 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254BA0 00251B00 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80254BA4 00251B04 41 82 00 48 */ beq lbl_80254BEC +/* 80254BA8 00251B08 C0 02 B9 60 */ lfs f0, lbl_805AD680@sda21(r2) +/* 80254BAC 00251B0C C0 7E 0B F0 */ lfs f3, 0xbf0(r30) +/* 80254BB0 00251B10 EC 80 07 B2 */ fmuls f4, f0, f30 +/* 80254BB4 00251B14 C0 5E 0B F4 */ lfs f2, 0xbf4(r30) +/* 80254BB8 00251B18 C0 3E 0B F8 */ lfs f1, 0xbf8(r30) +/* 80254BBC 00251B1C C0 1E 0B E4 */ lfs f0, 0xbe4(r30) +/* 80254BC0 00251B20 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80254BC4 00251B24 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80254BC8 00251B28 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80254BCC 00251B2C EC 00 18 2A */ fadds f0, f0, f3 +/* 80254BD0 00251B30 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) +/* 80254BD4 00251B34 C0 1E 0B E8 */ lfs f0, 0xbe8(r30) +/* 80254BD8 00251B38 EC 00 10 2A */ fadds f0, f0, f2 +/* 80254BDC 00251B3C D0 1E 0B E8 */ stfs f0, 0xbe8(r30) +/* 80254BE0 00251B40 C0 1E 0B EC */ lfs f0, 0xbec(r30) +/* 80254BE4 00251B44 EC 00 08 2A */ fadds f0, f0, f1 +/* 80254BE8 00251B48 D0 1E 0B EC */ stfs f0, 0xbec(r30) +lbl_80254BEC: +/* 80254BEC 00251B4C 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254BF0 00251B50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80254BF4 00251B54 41 82 00 48 */ beq lbl_80254C3C +/* 80254BF8 00251B58 80 1E 0C AC */ lwz r0, 0xcac(r30) +/* 80254BFC 00251B5C 28 00 00 00 */ cmplwi r0, 0 +/* 80254C00 00251B60 41 82 00 3C */ beq lbl_80254C3C +/* 80254C04 00251B64 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80254C08 00251B68 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80254C0C 00251B6C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80254C10 00251B70 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80254C14 00251B74 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80254C18 00251B78 38 61 00 24 */ addi r3, r1, 0x24 +/* 80254C1C 00251B7C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80254C20 00251B80 38 C0 00 7F */ li r6, 0x7f +/* 80254C24 00251B84 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80254C28 00251B88 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80254C2C 00251B8C D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80254C30 00251B90 80 1E 0C A8 */ lwz r0, 0xca8(r30) +/* 80254C34 00251B94 90 01 00 24 */ stw r0, 0x24(r1) +/* 80254C38 00251B98 48 09 52 79 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80254C3C: +/* 80254C3C 00251B9C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254C40 00251BA0 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80254C44 00251BA4 2C 00 00 03 */ cmpwi r0, 3 +/* 80254C48 00251BA8 41 82 03 24 */ beq lbl_80254F6C +/* 80254C4C 00251BAC 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254C50 00251BB0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80254C54 00251BB4 40 82 02 30 */ bne lbl_80254E84 +/* 80254C58 00251BB8 C0 3E 0B C8 */ lfs f1, 0xbc8(r30) +/* 80254C5C 00251BBC 38 61 00 AC */ addi r3, r1, 0xac +/* 80254C60 00251BC0 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80254C64 00251BC4 C0 7E 0B CC */ lfs f3, 0xbcc(r30) +/* 80254C68 00251BC8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80254C6C 00251BCC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254C70 00251BD0 C0 3E 0B C4 */ lfs f1, 0xbc4(r30) +/* 80254C74 00251BD4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80254C78 00251BD8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80254C7C 00251BDC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254C80 00251BE0 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 80254C84 00251BE4 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80254C88 00251BE8 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80254C8C 00251BEC 48 0B FC 2D */ bl Magnitude__9CVector3fCFv +/* 80254C90 00251BF0 FF E0 08 90 */ fmr f31, f1 +/* 80254C94 00251BF4 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) +/* 80254C98 00251BF8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80254C9C 00251BFC 40 81 01 14 */ ble lbl_80254DB0 +/* 80254CA0 00251C00 C0 3E 0B C8 */ lfs f1, 0xbc8(r30) +/* 80254CA4 00251C04 C0 1E 02 F0 */ lfs f0, 0x2f0(r30) +/* 80254CA8 00251C08 C0 5E 0B C4 */ lfs f2, 0xbc4(r30) +/* 80254CAC 00251C0C EC A1 00 28 */ fsubs f5, f1, f0 +/* 80254CB0 00251C10 C0 3E 02 EC */ lfs f1, 0x2ec(r30) +/* 80254CB4 00251C14 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 80254CB8 00251C18 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80254CBC 00251C1C C0 9E 0B CC */ lfs f4, 0xbcc(r30) +/* 80254CC0 00251C20 C0 5E 02 F4 */ lfs f2, 0x2f4(r30) +/* 80254CC4 00251C24 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80254CC8 00251C28 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 80254CCC 00251C2C EC 84 10 28 */ fsubs f4, f4, f2 +/* 80254CD0 00251C30 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 80254CD4 00251C34 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 80254CD8 00251C38 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254CDC 00251C3C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80254CE0 00251C40 EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 80254CE4 00251C44 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 80254CE8 00251C48 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80254CEC 00251C4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80254CF0 00251C50 40 81 00 C0 */ ble lbl_80254DB0 +/* 80254CF4 00251C54 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80254CF8 00251C58 38 61 00 20 */ addi r3, r1, 0x20 +/* 80254CFC 00251C5C C0 22 B9 34 */ lfs f1, lbl_805AD654@sda21(r2) +/* 80254D00 00251C60 38 81 00 1C */ addi r4, r1, 0x1c +/* 80254D04 00251C64 EC A0 F8 24 */ fdivs f5, f0, f31 +/* 80254D08 00251C68 C0 81 00 AC */ lfs f4, 0xac(r1) +/* 80254D0C 00251C6C C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80254D10 00251C70 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80254D14 00251C74 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 80254D18 00251C78 C0 02 B9 64 */ lfs f0, lbl_805AD684@sda21(r2) +/* 80254D1C 00251C7C EC 84 01 72 */ fmuls f4, f4, f5 +/* 80254D20 00251C80 EC 63 01 72 */ fmuls f3, f3, f5 +/* 80254D24 00251C84 EC 42 01 72 */ fmuls f2, f2, f5 +/* 80254D28 00251C88 EC 21 07 B2 */ fmuls f1, f1, f30 +/* 80254D2C 00251C8C D0 81 00 AC */ stfs f4, 0xac(r1) +/* 80254D30 00251C90 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80254D34 00251C94 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 80254D38 00251C98 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80254D3C 00251C9C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80254D40 00251CA0 C0 5E 0B E0 */ lfs f2, 0xbe0(r30) +/* 80254D44 00251CA4 C0 3E 0B DC */ lfs f1, 0xbdc(r30) +/* 80254D48 00251CA8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80254D4C 00251CAC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80254D50 00251CB0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80254D54 00251CB4 4B DB 75 61 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254D58 00251CB8 C0 23 00 00 */ lfs f1, 0(r3) +/* 80254D5C 00251CBC FC 40 F0 90 */ fmr f2, f30 +/* 80254D60 00251CC0 C0 1E 0B DC */ lfs f0, 0xbdc(r30) +/* 80254D64 00251CC4 7F C3 F3 78 */ mr r3, r30 +/* 80254D68 00251CC8 38 81 00 AC */ addi r4, r1, 0xac +/* 80254D6C 00251CCC EC 00 08 2A */ fadds f0, f0, f1 +/* 80254D70 00251CD0 D0 1E 0B DC */ stfs f0, 0xbdc(r30) +/* 80254D74 00251CD4 C0 3E 0B DC */ lfs f1, 0xbdc(r30) +/* 80254D78 00251CD8 48 00 12 71 */ bl sub_80255fe8 +/* 80254D7C 00251CDC C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 80254D80 00251CE0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80254D84 00251CE4 38 6D 97 A4 */ addi r3, r13, lbl_805A8364@sda21 +/* 80254D88 00251CE8 38 AD 97 A8 */ addi r5, r13, lbl_805A8368@sda21 +/* 80254D8C 00251CEC EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80254D90 00251CF0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80254D94 00251CF4 4B DB 75 21 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254D98 00251CF8 C0 03 00 00 */ lfs f0, 0(r3) +/* 80254D9C 00251CFC 38 9E 0B D0 */ addi r4, r30, 0xbd0 +/* 80254DA0 00251D00 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254DA4 00251D04 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 80254DA8 00251D08 4B EE 58 FD */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 80254DAC 00251D0C 48 00 01 C0 */ b lbl_80254F6C +lbl_80254DB0: +/* 80254DB0 00251D10 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254DB4 00251D14 38 60 00 03 */ li r3, 3 +/* 80254DB8 00251D18 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80254DBC 00251D1C 41 82 00 08 */ beq lbl_80254DC4 +/* 80254DC0 00251D20 38 60 00 02 */ li r3, 2 +lbl_80254DC4: +/* 80254DC4 00251D24 80 1E 0C C0 */ lwz r0, 0xcc0(r30) +/* 80254DC8 00251D28 7C 66 1B 78 */ mr r6, r3 +/* 80254DCC 00251D2C 2C 00 00 03 */ cmpwi r0, 3 +/* 80254DD0 00251D30 41 82 00 1C */ beq lbl_80254DEC +/* 80254DD4 00251D34 40 80 00 1C */ bge lbl_80254DF0 +/* 80254DD8 00251D38 2C 00 00 02 */ cmpwi r0, 2 +/* 80254DDC 00251D3C 40 80 00 08 */ bge lbl_80254DE4 +/* 80254DE0 00251D40 48 00 00 10 */ b lbl_80254DF0 +lbl_80254DE4: +/* 80254DE4 00251D44 38 C0 00 00 */ li r6, 0 +/* 80254DE8 00251D48 48 00 00 08 */ b lbl_80254DF0 +lbl_80254DEC: +/* 80254DEC 00251D4C 38 C0 00 04 */ li r6, 4 +lbl_80254DF0: +/* 80254DF0 00251D50 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80254DF4 00251D54 38 A0 00 00 */ li r5, 0 +/* 80254DF8 00251D58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80254DFC 00251D5C 41 82 00 08 */ beq lbl_80254E04 +/* 80254E00 00251D60 38 A0 00 02 */ li r5, 2 +lbl_80254E04: +/* 80254E04 00251D64 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80254E08 00251D68 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254E0C 00251D6C 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 80254E10 00251D70 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 80254E14 00251D74 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80254E18 00251D78 38 04 A9 E4 */ addi r0, r4, lbl_803DA9E4@l +/* 80254E1C 00251D7C 38 80 00 01 */ li r4, 1 +/* 80254E20 00251D80 3B E3 00 04 */ addi r31, r3, 4 +/* 80254E24 00251D84 90 81 00 40 */ stw r4, 0x40(r1) +/* 80254E28 00251D88 7F E3 FB 78 */ mr r3, r31 +/* 80254E2C 00251D8C 38 80 00 01 */ li r4, 1 +/* 80254E30 00251D90 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80254E34 00251D94 90 C1 00 44 */ stw r6, 0x44(r1) +/* 80254E38 00251D98 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80254E3C 00251D9C 4B ED C5 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80254E40 00251DA0 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 80254E44 00251DA4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80254E48 00251DA8 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l +/* 80254E4C 00251DAC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80254E50 00251DB0 90 BF 00 C8 */ stw r5, 0xc8(r31) +/* 80254E54 00251DB4 38 60 00 01 */ li r3, 1 +/* 80254E58 00251DB8 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 80254E5C 00251DBC 38 84 AA 68 */ addi r4, r4, lbl_803DAA68@l +/* 80254E60 00251DC0 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 80254E64 00251DC4 90 DF 00 CC */ stw r6, 0xcc(r31) +/* 80254E68 00251DC8 90 BF 00 D0 */ stw r5, 0xd0(r31) +/* 80254E6C 00251DCC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80254E70 00251DD0 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254E74 00251DD4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80254E78 00251DD8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80254E7C 00251DDC 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254E80 00251DE0 48 00 00 EC */ b lbl_80254F6C +lbl_80254E84: +/* 80254E84 00251DE4 88 1E 03 48 */ lbz r0, 0x348(r30) +/* 80254E88 00251DE8 38 60 00 01 */ li r3, 1 +/* 80254E8C 00251DEC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80254E90 00251DF0 98 1E 03 48 */ stb r0, 0x348(r30) +/* 80254E94 00251DF4 48 00 00 D8 */ b lbl_80254F6C +lbl_80254E98: +/* 80254E98 00251DF8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254E9C 00251DFC 38 80 00 01 */ li r4, 1 +/* 80254EA0 00251E00 4B EE 5B 39 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80254EA4 00251E04 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254EA8 00251E08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80254EAC 00251E0C 41 82 00 14 */ beq lbl_80254EC0 +/* 80254EB0 00251E10 7F C3 F3 78 */ mr r3, r30 +/* 80254EB4 00251E14 7F E4 FB 78 */ mr r4, r31 +/* 80254EB8 00251E18 38 A0 00 01 */ li r5, 1 +/* 80254EBC 00251E1C 48 00 1B B1 */ bl sub_80256a6c +lbl_80254EC0: +/* 80254EC0 00251E20 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254EC4 00251E24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80254EC8 00251E28 41 82 00 0C */ beq lbl_80254ED4 +/* 80254ECC 00251E2C 38 00 00 00 */ li r0, 0 +/* 80254ED0 00251E30 90 1E 0C AC */ stw r0, 0xcac(r30) +lbl_80254ED4: +/* 80254ED4 00251E34 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254ED8 00251E38 38 A0 00 00 */ li r5, 0 +/* 80254EDC 00251E3C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80254EE0 00251E40 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80254EE4 00251E44 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80254EE8 00251E48 7F C3 F3 78 */ mr r3, r30 +/* 80254EEC 00251E4C 7F E4 FB 78 */ mr r4, r31 +/* 80254EF0 00251E50 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254EF4 00251E54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80254EF8 00251E58 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80254EFC 00251E5C 80 DE 00 64 */ lwz r6, 0x64(r30) +/* 80254F00 00251E60 C0 3E 0C 68 */ lfs f1, 0xc68(r30) +/* 80254F04 00251E64 D0 26 00 00 */ stfs f1, 0(r6) +/* 80254F08 00251E68 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) +/* 80254F0C 00251E6C D0 26 00 04 */ stfs f1, 4(r6) +/* 80254F10 00251E70 C0 3E 0C 70 */ lfs f1, 0xc70(r30) +/* 80254F14 00251E74 D0 26 00 08 */ stfs f1, 8(r6) +/* 80254F18 00251E78 C0 3E 0C 68 */ lfs f1, 0xc68(r30) +/* 80254F1C 00251E7C D0 3E 09 E4 */ stfs f1, 0x9e4(r30) +/* 80254F20 00251E80 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) +/* 80254F24 00251E84 D0 3E 09 E8 */ stfs f1, 0x9e8(r30) +/* 80254F28 00251E88 C0 3E 0C 70 */ lfs f1, 0xc70(r30) +/* 80254F2C 00251E8C D0 3E 09 EC */ stfs f1, 0x9ec(r30) +/* 80254F30 00251E90 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254F34 00251E94 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80254F38 00251E98 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254F3C 00251E9C D0 1E 05 5C */ stfs f0, 0x55c(r30) +/* 80254F40 00251EA0 D0 1E 05 60 */ stfs f0, 0x560(r30) +/* 80254F44 00251EA4 D0 1E 05 64 */ stfs f0, 0x564(r30) +/* 80254F48 00251EA8 48 00 2A 0D */ bl sub_80257954 +/* 80254F4C 00251EAC C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) +/* 80254F50 00251EB0 7F C3 F3 78 */ mr r3, r30 +/* 80254F54 00251EB4 7F E4 FB 78 */ mr r4, r31 +/* 80254F58 00251EB8 48 00 26 35 */ bl sub_8025758c +/* 80254F5C 00251EBC 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254F60 00251EC0 38 60 00 00 */ li r3, 0 +/* 80254F64 00251EC4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80254F68 00251EC8 98 1E 0A 32 */ stb r0, 0xa32(r30) +lbl_80254F6C: +/* 80254F6C 00251ECC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 80254F70 00251ED0 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 80254F74 00251ED4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 80254F78 00251ED8 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 80254F7C 00251EDC 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80254F80 00251EE0 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80254F84 00251EE4 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80254F88 00251EE8 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80254F8C 00251EEC 7C 08 03 A6 */ mtlr r0 +/* 80254F90 00251EF0 38 21 01 00 */ addi r1, r1, 0x100 +/* 80254F94 00251EF4 4E 80 00 20 */ blr + +.global Enraged__7CRidleyFR13CStateManager9EStateMsgf +Enraged__7CRidleyFR13CStateManager9EStateMsgf: +/* 80254F98 00251EF8 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80254F9C 00251EFC 7C 08 02 A6 */ mflr r0 +/* 80254FA0 00251F00 90 01 01 34 */ stw r0, 0x134(r1) +/* 80254FA4 00251F04 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80254FA8 00251F08 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80254FAC 00251F0C BF 41 01 08 */ stmw r26, 0x108(r1) +/* 80254FB0 00251F10 FF E0 08 90 */ fmr f31, f1 +/* 80254FB4 00251F14 2C 05 00 01 */ cmpwi r5, 1 +/* 80254FB8 00251F18 7C 7E 1B 78 */ mr r30, r3 +/* 80254FBC 00251F1C 7C 9F 23 78 */ mr r31, r4 +/* 80254FC0 00251F20 41 82 02 8C */ beq lbl_8025524C +/* 80254FC4 00251F24 40 80 00 10 */ bge lbl_80254FD4 +/* 80254FC8 00251F28 2C 05 00 00 */ cmpwi r5, 0 +/* 80254FCC 00251F2C 40 80 00 14 */ bge lbl_80254FE0 +/* 80254FD0 00251F30 48 00 02 D8 */ b lbl_802552A8 +lbl_80254FD4: +/* 80254FD4 00251F34 2C 05 00 03 */ cmpwi r5, 3 +/* 80254FD8 00251F38 40 80 02 D0 */ bge lbl_802552A8 +/* 80254FDC 00251F3C 48 00 02 B4 */ b lbl_80255290 +lbl_80254FE0: +/* 80254FE0 00251F40 38 00 00 01 */ li r0, 1 +/* 80254FE4 00251F44 7F E6 FB 78 */ mr r6, r31 +/* 80254FE8 00251F48 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80254FEC 00251F4C 38 80 00 29 */ li r4, 0x29 +/* 80254FF0 00251F50 38 A0 00 28 */ li r5, 0x28 +/* 80254FF4 00251F54 4B DF F2 C1 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80254FF8 00251F58 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80254FFC 00251F5C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80255000 00251F60 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80255004 00251F64 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80255008 00251F68 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8025500C 00251F6C EC 44 08 28 */ fsubs f2, f4, f1 +/* 80255010 00251F70 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80255014 00251F74 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 80255018 00251F78 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8025501C 00251F7C EC 20 08 28 */ fsubs f1, f0, f1 +/* 80255020 00251F80 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80255024 00251F84 EC 65 18 28 */ fsubs f3, f5, f3 +/* 80255028 00251F88 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 8025502C 00251F8C D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 80255030 00251F90 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80255034 00251F94 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80255038 00251F98 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 8025503C 00251F9C 48 0B F1 C5 */ bl __ct__9CVector2fFff +/* 80255040 00251FA0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80255044 00251FA4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80255048 00251FA8 48 0B F0 39 */ bl AsNormalized__9CVector2fCFv +/* 8025504C 00251FAC C0 C1 00 3C */ lfs f6, 0x3c(r1) +/* 80255050 00251FB0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80255054 00251FB4 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 80255058 00251FB8 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l +/* 8025505C 00251FBC C0 62 B9 18 */ lfs f3, lbl_805AD638@sda21(r2) +/* 80255060 00251FC0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80255064 00251FC4 C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) +/* 80255068 00251FC8 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 8025506C 00251FCC D0 C1 00 A8 */ stfs f6, 0xa8(r1) +/* 80255070 00251FD0 38 83 00 85 */ addi r4, r3, 0x85 +/* 80255074 00251FD4 ED 20 01 B2 */ fmuls f9, f0, f6 +/* 80255078 00251FD8 C1 45 00 04 */ lfs f10, 4(r5) +/* 8025507C 00251FDC D0 81 00 AC */ stfs f4, 0xac(r1) +/* 80255080 00251FE0 ED 00 01 32 */ fmuls f8, f0, f4 +/* 80255084 00251FE4 C1 65 00 08 */ lfs f11, 8(r5) +/* 80255088 00251FE8 EC E0 00 F2 */ fmuls f7, f0, f3 +/* 8025508C 00251FEC D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 80255090 00251FF0 EC 2A 00 F2 */ fmuls f1, f10, f3 +/* 80255094 00251FF4 C1 85 00 00 */ lfs f12, 0(r5) +/* 80255098 00251FF8 EC 0B 01 B2 */ fmuls f0, f11, f6 +/* 8025509C 00251FFC 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802550A0 00252000 3B A0 00 00 */ li r29, 0 +/* 802550A4 00252004 EC 4C 01 32 */ fmuls f2, f12, f4 +/* 802550A8 00252008 C0 A3 00 50 */ lfs f5, 0x50(r3) +/* 802550AC 0025200C EC 24 0A F8 */ fmsubs f1, f4, f11, f1 +/* 802550B0 00252010 C0 83 00 60 */ lfs f4, 0x60(r3) +/* 802550B4 00252014 EC 03 03 38 */ fmsubs f0, f3, f12, f0 +/* 802550B8 00252018 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 802550BC 0025201C EC A5 40 28 */ fsubs f5, f5, f8 +/* 802550C0 00252020 3B 40 00 00 */ li r26, 0 +/* 802550C4 00252024 EC 84 38 28 */ fsubs f4, f4, f7 +/* 802550C8 00252028 38 60 01 00 */ li r3, 0x100 +/* 802550CC 0025202C EC 63 48 28 */ fsubs f3, f3, f9 +/* 802550D0 00252030 38 A0 00 00 */ li r5, 0 +/* 802550D4 00252034 D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 802550D8 00252038 EC A6 12 B8 */ fmsubs f5, f6, f10, f2 +/* 802550DC 0025203C D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 802550E0 00252040 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 802550E4 00252044 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 802550E8 00252048 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 802550EC 0025204C C0 5E 0A 90 */ lfs f2, 0xa90(r30) +/* 802550F0 00252050 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802550F4 00252054 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802550F8 00252058 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802550FC 0025205C D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 80255100 00252060 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80255104 00252064 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80255108 00252068 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 8025510C 0025206C 48 0C 07 61 */ bl __nw__FUlPCcPCc +/* 80255110 00252070 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80255114 00252074 41 82 00 C8 */ beq lbl_802551DC +/* 80255118 00252078 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025511C 0025207C 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80255120 00252080 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 80255124 00252084 38 61 00 50 */ addi r3, r1, 0x50 +/* 80255128 00252088 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8025512C 0025208C 38 84 00 8C */ addi r4, r4, 0x8c +/* 80255130 00252090 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80255134 00252094 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80255138 00252098 4B DA FB 81 */ bl string_l__4rstlFPCc +/* 8025513C 0025209C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80255140 002520A0 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80255144 002520A4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 80255148 002520A8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8025514C 002520AC 90 01 00 30 */ stw r0, 0x30(r1) +/* 80255150 002520B0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80255154 002520B4 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80255158 002520B8 3B A0 00 01 */ li r29, 1 +/* 8025515C 002520BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80255160 002520C0 90 01 00 28 */ stw r0, 0x28(r1) +/* 80255164 002520C4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80255168 002520C8 4B DF C3 1D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8025516C 002520CC 7F E4 FB 78 */ mr r4, r31 +/* 80255170 002520D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80255174 002520D4 3B 40 00 01 */ li r26, 1 +/* 80255178 002520D8 4B DF 7F 65 */ bl AllocateUniqueId__13CStateManagerFv +/* 8025517C 002520DC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80255180 002520E0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80255184 002520E4 48 0F 4E 29 */ bl White__6CColorFv +/* 80255188 002520E8 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8025518C 002520EC 7C 7C 1B 78 */ mr r28, r3 +/* 80255190 002520F0 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 80255194 002520F4 38 61 00 CC */ addi r3, r1, 0xcc +/* 80255198 002520F8 38 81 00 90 */ addi r4, r1, 0x90 +/* 8025519C 002520FC 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 802551A0 00252100 38 E1 00 9C */ addi r7, r1, 0x9c +/* 802551A4 00252104 48 0B DC B9 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 802551A8 00252108 38 01 00 60 */ addi r0, r1, 0x60 +/* 802551AC 0025210C 7F 63 DB 78 */ mr r3, r27 +/* 802551B0 00252110 90 01 00 08 */ stw r0, 8(r1) +/* 802551B4 00252114 38 9E 09 8C */ addi r4, r30, 0x98c +/* 802551B8 00252118 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802551BC 0025211C 38 E1 00 B4 */ addi r7, r1, 0xb4 +/* 802551C0 00252120 93 81 00 0C */ stw r28, 0xc(r1) +/* 802551C4 00252124 39 01 00 50 */ addi r8, r1, 0x50 +/* 802551C8 00252128 39 21 00 CC */ addi r9, r1, 0xcc +/* 802551CC 0025212C 38 C0 00 01 */ li r6, 1 +/* 802551D0 00252130 39 40 00 00 */ li r10, 0 +/* 802551D4 00252134 4B E0 59 25 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 802551D8 00252138 7C 7B 1B 78 */ mr r27, r3 +lbl_802551DC: +/* 802551DC 0025213C 7F 40 07 75 */ extsb. r0, r26 +/* 802551E0 00252140 41 82 00 44 */ beq lbl_80255224 +/* 802551E4 00252144 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 802551E8 00252148 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802551EC 0025214C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802551F0 00252150 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802551F4 00252154 7C 64 1B 78 */ mr r4, r3 +/* 802551F8 00252158 7C 03 02 14 */ add r0, r3, r0 +/* 802551FC 0025215C 90 61 00 18 */ stw r3, 0x18(r1) +/* 80255200 00252160 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255204 00252164 90 01 00 20 */ stw r0, 0x20(r1) +/* 80255208 00252168 48 00 00 08 */ b lbl_80255210 +lbl_8025520C: +/* 8025520C 0025216C 38 84 00 0C */ addi r4, r4, 0xc +lbl_80255210: +/* 80255210 00252170 7C 04 00 40 */ cmplw r4, r0 +/* 80255214 00252174 40 82 FF F8 */ bne lbl_8025520C +/* 80255218 00252178 28 03 00 00 */ cmplwi r3, 0 +/* 8025521C 0025217C 41 82 00 08 */ beq lbl_80255224 +/* 80255220 00252180 48 0C 07 11 */ bl Free__7CMemoryFPCv +lbl_80255224: +/* 80255224 00252184 7F A0 07 75 */ extsb. r0, r29 +/* 80255228 00252188 41 82 00 0C */ beq lbl_80255234 +/* 8025522C 0025218C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80255230 00252190 48 0E 88 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80255234: +/* 80255234 00252194 28 1B 00 00 */ cmplwi r27, 0 +/* 80255238 00252198 41 82 00 70 */ beq lbl_802552A8 +/* 8025523C 0025219C 7F E3 FB 78 */ mr r3, r31 +/* 80255240 002521A0 7F 64 DB 78 */ mr r4, r27 +/* 80255244 002521A4 4B DF 78 D1 */ bl AddObject__13CStateManagerFR7CEntity +/* 80255248 002521A8 48 00 00 60 */ b lbl_802552A8 +lbl_8025524C: +/* 8025524C 002521AC 3C A0 80 3F */ lis r5, lbl_803E91D4@ha +/* 80255250 002521B0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80255254 002521B4 39 45 91 D4 */ addi r10, r5, lbl_803E91D4@l +/* 80255258 002521B8 38 A0 00 03 */ li r5, 3 +/* 8025525C 002521BC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80255260 002521C0 38 E0 00 04 */ li r7, 4 +/* 80255264 002521C4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255268 002521C8 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025526C 002521CC 91 21 00 44 */ stw r9, 0x44(r1) +/* 80255270 002521D0 91 01 00 48 */ stw r8, 0x48(r1) +/* 80255274 002521D4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80255278 002521D8 4B E2 75 3D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025527C 002521DC FC 20 F8 90 */ fmr f1, f31 +/* 80255280 002521E0 7F C3 F3 78 */ mr r3, r30 +/* 80255284 002521E4 7F E4 FB 78 */ mr r4, r31 +/* 80255288 002521E8 48 00 0C C9 */ bl sub_80255f50 +/* 8025528C 002521EC 48 00 00 1C */ b lbl_802552A8 +lbl_80255290: +/* 80255290 002521F0 38 00 00 00 */ li r0, 0 +/* 80255294 002521F4 38 60 00 01 */ li r3, 1 +/* 80255298 002521F8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025529C 002521FC 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802552A0 00252200 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802552A4 00252204 98 1E 0A 33 */ stb r0, 0xa33(r30) +lbl_802552A8: +/* 802552A8 00252208 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 802552AC 0025220C CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802552B0 00252210 BB 41 01 08 */ lmw r26, 0x108(r1) +/* 802552B4 00252214 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802552B8 00252218 7C 08 03 A6 */ mtlr r0 +/* 802552BC 0025221C 38 21 01 30 */ addi r1, r1, 0x130 +/* 802552C0 00252220 4E 80 00 20 */ blr + +.global Lurk__7CRidleyFR13CStateManager9EStateMsgf +Lurk__7CRidleyFR13CStateManager9EStateMsgf: +/* 802552C4 00252224 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802552C8 00252228 7C 08 02 A6 */ mflr r0 +/* 802552CC 0025222C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802552D0 00252230 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 802552D4 00252234 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 802552D8 00252238 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 802552DC 0025223C F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 802552E0 00252240 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802552E4 00252244 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802552E8 00252248 FF C0 08 90 */ fmr f30, f1 +/* 802552EC 0025224C 2C 05 00 01 */ cmpwi r5, 1 +/* 802552F0 00252250 7C 7E 1B 78 */ mr r30, r3 +/* 802552F4 00252254 7C 9F 23 78 */ mr r31, r4 +/* 802552F8 00252258 41 82 02 78 */ beq lbl_80255570 +/* 802552FC 0025225C 40 80 02 D8 */ bge lbl_802555D4 +/* 80255300 00252260 2C 05 00 00 */ cmpwi r5, 0 +/* 80255304 00252264 40 80 00 0C */ bge lbl_80255310 +/* 80255308 00252268 48 00 02 CC */ b lbl_802555D4 +/* 8025530C 0025226C 48 00 02 C8 */ b lbl_802555D4 +lbl_80255310: +/* 80255310 00252270 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80255314 00252274 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80255318 00252278 40 82 00 C4 */ bne lbl_802553DC +/* 8025531C 0025227C C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80255320 00252280 38 61 00 64 */ addi r3, r1, 0x64 +/* 80255324 00252284 C0 1E 0A B0 */ lfs f0, 0xab0(r30) +/* 80255328 00252288 38 81 00 94 */ addi r4, r1, 0x94 +/* 8025532C 0025228C C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80255330 00252290 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 80255334 00252294 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80255338 00252298 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8025533C 0025229C C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 80255340 002522A0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80255344 002522A4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255348 002522A8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8025534C 002522AC D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 80255350 002522B0 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80255354 002522B4 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 80255358 002522B8 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8025535C 002522BC C0 5E 0A A8 */ lfs f2, 0xaa8(r30) +/* 80255360 002522C0 C0 3E 0A 98 */ lfs f1, 0xa98(r30) +/* 80255364 002522C4 C0 1E 0A 88 */ lfs f0, 0xa88(r30) +/* 80255368 002522C8 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8025536C 002522CC D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80255370 002522D0 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80255374 002522D4 48 0B F2 BD */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 80255378 002522D8 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 8025537C 002522DC FF C0 08 90 */ fmr f30, f1 +/* 80255380 002522E0 C0 1E 0A 94 */ lfs f0, 0xa94(r30) +/* 80255384 002522E4 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 80255388 002522E8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8025538C 002522EC C0 5E 0A 84 */ lfs f2, 0xa84(r30) +/* 80255390 002522F0 C0 A1 00 9C */ lfs f5, 0x9c(r1) +/* 80255394 002522F4 C0 9E 0A A4 */ lfs f4, 0xaa4(r30) +/* 80255398 002522F8 EC 23 00 BA */ fmadds f1, f3, f2, f0 +/* 8025539C 002522FC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802553A0 00252300 EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 802553A4 00252304 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802553A8 00252308 40 80 00 08 */ bge lbl_802553B0 +/* 802553AC 0025230C FF C0 F0 50 */ fneg f30, f30 +lbl_802553B0: +/* 802553B0 00252310 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 802553B4 00252314 C0 22 B9 6C */ lfs f1, lbl_805AD68C@sda21(r2) +/* 802553B8 00252318 C0 42 B9 70 */ lfs f2, lbl_805AD690@sda21(r2) +/* 802553BC 0025231C 48 0B D1 89 */ bl Range__9CRandom16Fff +/* 802553C0 00252320 EC 41 F0 28 */ fsubs f2, f1, f30 +/* 802553C4 00252324 C0 02 B9 74 */ lfs f0, lbl_805AD694@sda21(r2) +/* 802553C8 00252328 FC 40 12 10 */ fabs f2, f2 +/* 802553CC 0025232C FC 40 10 18 */ frsp f2, f2 +/* 802553D0 00252330 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802553D4 00252334 40 80 00 24 */ bge lbl_802553F8 +/* 802553D8 00252338 48 00 00 20 */ b lbl_802553F8 +lbl_802553DC: +/* 802553DC 0025233C 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 802553E0 00252340 38 A0 00 01 */ li r5, 1 +/* 802553E4 00252344 4B F5 1F 15 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 802553E8 00252348 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 802553EC 0025234C 7F E4 FB 78 */ mr r4, r31 +/* 802553F0 00252350 38 A0 00 01 */ li r5, 1 +/* 802553F4 00252354 4B F5 1F 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +lbl_802553F8: +/* 802553F8 00252358 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802553FC 0025235C 38 60 00 00 */ li r3, 0 +/* 80255400 00252360 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80255404 00252364 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255408 00252368 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 8025540C 0025236C C0 5E 0A C0 */ lfs f2, 0xac0(r30) +/* 80255410 00252370 C0 1E 0A DC */ lfs f0, 0xadc(r30) +/* 80255414 00252374 EF C2 00 28 */ fsubs f30, f2, f0 +/* 80255418 00252378 48 0B F9 2D */ bl FastCosR__5CMathFf +/* 8025541C 0025237C C0 1E 0A BC */ lfs f0, 0xabc(r30) +/* 80255420 00252380 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80255424 00252384 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255428 00252388 48 0B F9 C9 */ bl FastSinR__5CMathFf +/* 8025542C 0025238C C0 1E 0A BC */ lfs f0, 0xabc(r30) +/* 80255430 00252390 38 61 00 58 */ addi r3, r1, 0x58 +/* 80255434 00252394 38 9E 0A 84 */ addi r4, r30, 0xa84 +/* 80255438 00252398 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8025543C 0025239C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80255440 002523A0 D3 E1 00 8C */ stfs f31, 0x8c(r1) +/* 80255444 002523A4 D3 C1 00 90 */ stfs f30, 0x90(r1) +/* 80255448 002523A8 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8025544C 002523AC 48 0B D6 9D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80255450 002523B0 7F C3 F3 78 */ mr r3, r30 +/* 80255454 002523B4 38 81 00 58 */ addi r4, r1, 0x58 +/* 80255458 002523B8 4B E2 77 05 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8025545C 002523BC C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 80255460 002523C0 38 61 00 08 */ addi r3, r1, 8 +/* 80255464 002523C4 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 80255468 002523C8 C0 1E 00 58 */ lfs f0, 0x58(r30) +/* 8025546C 002523CC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80255470 002523D0 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80255474 002523D4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80255478 002523D8 48 0B ED 89 */ bl __ct__9CVector2fFff +/* 8025547C 002523DC C0 41 00 08 */ lfs f2, 8(r1) +/* 80255480 002523E0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80255484 002523E4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80255488 002523E8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8025548C 002523EC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255490 002523F0 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80255494 002523F4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80255498 002523F8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8025549C 002523FC 48 0B F3 B5 */ bl AsNormalized__9CVector3fCFv +/* 802554A0 00252400 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802554A4 00252404 C0 A1 00 4C */ lfs f5, 0x4c(r1) +/* 802554A8 00252408 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802554AC 0025240C C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802554B0 00252410 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802554B4 00252414 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802554B8 00252418 C0 C6 00 04 */ lfs f6, 4(r6) +/* 802554BC 0025241C 38 81 00 70 */ addi r4, r1, 0x70 +/* 802554C0 00252420 C0 E6 00 08 */ lfs f7, 8(r6) +/* 802554C4 00252424 38 A1 00 7C */ addi r5, r1, 0x7c +/* 802554C8 00252428 C1 06 00 00 */ lfs f8, 0(r6) +/* 802554CC 0025242C EC 26 00 F2 */ fmuls f1, f6, f3 +/* 802554D0 00252430 EC 07 01 72 */ fmuls f0, f7, f5 +/* 802554D4 00252434 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 802554D8 00252438 EC 48 01 32 */ fmuls f2, f8, f4 +/* 802554DC 0025243C 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802554E0 00252440 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 +/* 802554E4 00252444 EC 03 02 38 */ fmsubs f0, f3, f8, f0 +/* 802554E8 00252448 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 802554EC 0025244C D0 81 00 80 */ stfs f4, 0x80(r1) +/* 802554F0 00252450 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802554F4 00252454 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802554F8 00252458 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802554FC 0025245C D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80255500 00252460 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80255504 00252464 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80255508 00252468 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025550C 0025246C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80255510 00252470 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80255514 00252474 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80255518 00252478 48 0B D9 45 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 8025551C 0025247C 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80255520 00252480 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80255524 00252484 48 0B D6 1D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80255528 00252488 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8025552C 0025248C 38 80 00 01 */ li r4, 1 +/* 80255530 00252490 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80255534 00252494 38 60 00 00 */ li r3, 0 +/* 80255538 00252498 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8025553C 0025249C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80255540 002524A0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80255544 002524A4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80255548 002524A8 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8025554C 002524AC 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80255550 002524B0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80255554 002524B4 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80255558 002524B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025555C 002524BC 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80255560 002524C0 88 1E 0A 34 */ lbz r0, 0xa34(r30) +/* 80255564 002524C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80255568 002524C8 98 1E 0A 34 */ stb r0, 0xa34(r30) +/* 8025556C 002524CC 48 00 00 68 */ b lbl_802555D4 +lbl_80255570: +/* 80255570 002524D0 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 80255574 002524D4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80255578 002524D8 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8025557C 002524DC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80255580 002524E0 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 80255584 002524E4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80255588 002524E8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8025558C 002524EC C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 80255590 002524F0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80255594 002524F4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80255598 002524F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025559C 002524FC D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802555A0 00252500 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802555A4 00252504 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802555A8 00252508 48 0B F2 A9 */ bl AsNormalized__9CVector3fCFv +/* 802555AC 0025250C FC 40 F0 90 */ fmr f2, f30 +/* 802555B0 00252510 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) +/* 802555B4 00252514 7F C3 F3 78 */ mr r3, r30 +/* 802555B8 00252518 38 81 00 1C */ addi r4, r1, 0x1c +/* 802555BC 0025251C 48 00 0A 2D */ bl sub_80255fe8 +/* 802555C0 00252520 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802555C4 00252524 7F C3 F3 78 */ mr r3, r30 +/* 802555C8 00252528 7F E4 FB 78 */ mr r4, r31 +/* 802555CC 0025252C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 802555D0 00252530 48 00 09 81 */ bl sub_80255f50 +lbl_802555D4: +/* 802555D4 00252534 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802555D8 00252538 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802555DC 0025253C E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 802555E0 00252540 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 802555E4 00252544 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 802555E8 00252548 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802555EC 0025254C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 802555F0 00252550 7C 08 03 A6 */ mtlr r0 +/* 802555F4 00252554 38 21 01 00 */ addi r1, r1, 0x100 +/* 802555F8 00252558 4E 80 00 20 */ blr + +.global Retreat__7CRidleyFR13CStateManager9EStateMsgf +Retreat__7CRidleyFR13CStateManager9EStateMsgf: +/* 802555FC 0025255C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255600 00252560 7C 08 02 A6 */ mflr r0 +/* 80255604 00252564 2C 05 00 01 */ cmpwi r5, 1 +/* 80255608 00252568 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025560C 0025256C 41 82 00 2C */ beq lbl_80255638 +/* 80255610 00252570 40 80 00 10 */ bge lbl_80255620 +/* 80255614 00252574 2C 05 00 00 */ cmpwi r5, 0 +/* 80255618 00252578 40 80 00 14 */ bge lbl_8025562C +/* 8025561C 0025257C 48 00 00 58 */ b lbl_80255674 +lbl_80255620: +/* 80255620 00252580 2C 05 00 03 */ cmpwi r5, 3 +/* 80255624 00252584 40 80 00 50 */ bge lbl_80255674 +/* 80255628 00252588 48 00 00 44 */ b lbl_8025566C +lbl_8025562C: +/* 8025562C 0025258C 38 00 00 01 */ li r0, 1 +/* 80255630 00252590 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80255634 00252594 48 00 00 40 */ b lbl_80255674 +lbl_80255638: +/* 80255638 00252598 3C A0 80 3F */ lis r5, lbl_803E91C8@ha +/* 8025563C 0025259C 38 C1 00 08 */ addi r6, r1, 8 +/* 80255640 002525A0 39 45 91 C8 */ addi r10, r5, lbl_803E91C8@l +/* 80255644 002525A4 38 A0 00 03 */ li r5, 3 +/* 80255648 002525A8 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025564C 002525AC 38 E0 00 05 */ li r7, 5 +/* 80255650 002525B0 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255654 002525B4 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255658 002525B8 91 21 00 08 */ stw r9, 8(r1) +/* 8025565C 002525BC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255660 002525C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255664 002525C4 4B E2 71 51 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255668 002525C8 48 00 00 0C */ b lbl_80255674 +lbl_8025566C: +/* 8025566C 002525CC 38 00 00 00 */ li r0, 0 +/* 80255670 002525D0 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80255674: +/* 80255674 002525D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80255678 002525D8 7C 08 03 A6 */ mtlr r0 +/* 8025567C 002525DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80255680 002525E0 4E 80 00 20 */ blr + +.global Flee__7CRidleyFR13CStateManager9EStateMsgf +Flee__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255684 002525E4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80255688 002525E8 7C 08 02 A6 */ mflr r0 +/* 8025568C 002525EC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80255690 002525F0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80255694 002525F4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80255698 002525F8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8025569C 002525FC FF E0 08 90 */ fmr f31, f1 +/* 802556A0 00252600 2C 05 00 01 */ cmpwi r5, 1 +/* 802556A4 00252604 7C 7F 1B 78 */ mr r31, r3 +/* 802556A8 00252608 41 82 00 C4 */ beq lbl_8025576C +/* 802556AC 0025260C 40 80 01 38 */ bge lbl_802557E4 +/* 802556B0 00252610 2C 05 00 00 */ cmpwi r5, 0 +/* 802556B4 00252614 40 80 00 0C */ bge lbl_802556C0 +/* 802556B8 00252618 48 00 01 2C */ b lbl_802557E4 +/* 802556BC 0025261C 48 00 01 28 */ b lbl_802557E4 +lbl_802556C0: +/* 802556C0 00252620 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802556C4 00252624 38 61 00 2C */ addi r3, r1, 0x2c +/* 802556C8 00252628 C0 1F 0A A0 */ lfs f0, 0xaa0(r31) +/* 802556CC 0025262C 38 81 00 50 */ addi r4, r1, 0x50 +/* 802556D0 00252630 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 802556D4 00252634 C0 5F 0A B0 */ lfs f2, 0xab0(r31) +/* 802556D8 00252638 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802556DC 0025263C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 802556E0 00252640 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 802556E4 00252644 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802556E8 00252648 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802556EC 0025264C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802556F0 00252650 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802556F4 00252654 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802556F8 00252658 48 0B F1 59 */ bl AsNormalized__9CVector3fCFv +/* 802556FC 0025265C C0 22 B9 78 */ lfs f1, lbl_805AD698@sda21(r2) +/* 80255700 00252660 7F E3 FB 78 */ mr r3, r31 +/* 80255704 00252664 C0 1F 0A BC */ lfs f0, 0xabc(r31) +/* 80255708 00252668 38 81 00 44 */ addi r4, r1, 0x44 +/* 8025570C 0025266C C0 BF 0A A0 */ lfs f5, 0xaa0(r31) +/* 80255710 00252670 EC C1 00 2A */ fadds f6, f1, f0 +/* 80255714 00252674 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80255718 00252678 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8025571C 0025267C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80255720 00252680 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 80255724 00252684 C0 7F 0A B0 */ lfs f3, 0xab0(r31) +/* 80255728 00252688 EC 46 00 72 */ fmuls f2, f6, f1 +/* 8025572C 0025268C C0 3F 0A 90 */ lfs f1, 0xa90(r31) +/* 80255730 00252690 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80255734 00252694 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80255738 00252698 EC 85 20 2A */ fadds f4, f5, f4 +/* 8025573C 0025269C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80255740 002526A0 EC 43 10 2A */ fadds f2, f3, f2 +/* 80255744 002526A4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80255748 002526A8 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8025574C 002526AC D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80255750 002526B0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80255754 002526B4 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80255758 002526B8 C0 1F 0A C0 */ lfs f0, 0xac0(r31) +/* 8025575C 002526BC EC 00 18 2A */ fadds f0, f0, f3 +/* 80255760 002526C0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80255764 002526C4 4B E2 73 F9 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80255768 002526C8 48 00 00 7C */ b lbl_802557E4 +lbl_8025576C: +/* 8025576C 002526CC C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 80255770 002526D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80255774 002526D4 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80255778 002526D8 38 81 00 08 */ addi r4, r1, 8 +/* 8025577C 002526DC C0 7F 02 E8 */ lfs f3, 0x2e8(r31) +/* 80255780 002526E0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80255784 002526E4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80255788 002526E8 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 8025578C 002526EC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80255790 002526F0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80255794 002526F4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80255798 002526F8 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8025579C 002526FC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802557A0 00252700 D0 01 00 08 */ stfs f0, 8(r1) +/* 802557A4 00252704 48 0B F0 AD */ bl AsNormalized__9CVector3fCFv +/* 802557A8 00252708 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802557AC 0025270C FC 40 F8 90 */ fmr f2, f31 +/* 802557B0 00252710 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802557B4 00252714 7F E3 FB 78 */ mr r3, r31 +/* 802557B8 00252718 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802557BC 0025271C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802557C0 00252720 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802557C4 00252724 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) +/* 802557C8 00252728 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802557CC 0025272C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802557D0 00252730 48 00 08 19 */ bl sub_80255fe8 +/* 802557D4 00252734 FC 20 F8 90 */ fmr f1, f31 +/* 802557D8 00252738 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802557DC 0025273C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802557E0 00252740 4B EE 4E C5 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_802557E4: +/* 802557E4 00252744 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802557E8 00252748 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802557EC 0025274C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802557F0 00252750 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802557F4 00252754 7C 08 03 A6 */ mtlr r0 +/* 802557F8 00252758 38 21 00 80 */ addi r1, r1, 0x80 +/* 802557FC 0025275C 4E 80 00 20 */ blr + +.global TelegraphAttack__7CRidleyFR13CStateManager9EStateMsgf +TelegraphAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255800 00252760 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255804 00252764 7C 08 02 A6 */ mflr r0 +/* 80255808 00252768 2C 05 00 01 */ cmpwi r5, 1 +/* 8025580C 0025276C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255810 00252770 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80255814 00252774 7C 9F 23 78 */ mr r31, r4 +/* 80255818 00252778 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025581C 0025277C 7C 7E 1B 78 */ mr r30, r3 +/* 80255820 00252780 41 82 00 48 */ beq lbl_80255868 +/* 80255824 00252784 40 80 00 10 */ bge lbl_80255834 +/* 80255828 00252788 2C 05 00 00 */ cmpwi r5, 0 +/* 8025582C 0025278C 40 80 00 14 */ bge lbl_80255840 +/* 80255830 00252790 48 00 00 A0 */ b lbl_802558D0 +lbl_80255834: +/* 80255834 00252794 2C 05 00 03 */ cmpwi r5, 3 +/* 80255838 00252798 40 80 00 98 */ bge lbl_802558D0 +/* 8025583C 0025279C 48 00 00 60 */ b lbl_8025589C +lbl_80255840: +/* 80255840 002527A0 48 00 20 0D */ bl sub_8025784c +/* 80255844 002527A4 38 A0 00 01 */ li r5, 1 +/* 80255848 002527A8 7F C3 F3 78 */ mr r3, r30 +/* 8025584C 002527AC 90 BE 03 2C */ stw r5, 0x32c(r30) +/* 80255850 002527B0 7F E4 FB 78 */ mr r4, r31 +/* 80255854 002527B4 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80255858 002527B8 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8025585C 002527BC 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80255860 002527C0 48 00 0D 21 */ bl sub_80256580 +/* 80255864 002527C4 48 00 00 6C */ b lbl_802558D0 +lbl_80255868: +/* 80255868 002527C8 3C A0 80 3F */ lis r5, lbl_803E91BC@ha +/* 8025586C 002527CC 38 C1 00 08 */ addi r6, r1, 8 +/* 80255870 002527D0 39 45 91 BC */ addi r10, r5, lbl_803E91BC@l +/* 80255874 002527D4 38 A0 00 12 */ li r5, 0x12 +/* 80255878 002527D8 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025587C 002527DC 38 E0 00 00 */ li r7, 0 +/* 80255880 002527E0 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255884 002527E4 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255888 002527E8 91 21 00 08 */ stw r9, 8(r1) +/* 8025588C 002527EC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255890 002527F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255894 002527F4 4B E2 6F 21 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255898 002527F8 48 00 00 38 */ b lbl_802558D0 +lbl_8025589C: +/* 8025589C 002527FC 38 00 00 00 */ li r0, 0 +/* 802558A0 00252800 38 A0 00 01 */ li r5, 1 +/* 802558A4 00252804 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802558A8 00252808 48 00 11 C5 */ bl sub_80256a6c +/* 802558AC 0025280C 7F C3 F3 78 */ mr r3, r30 +/* 802558B0 00252810 7F E4 FB 78 */ mr r4, r31 +/* 802558B4 00252814 48 00 1D 9D */ bl sub_80257650 +/* 802558B8 00252818 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 802558BC 0025281C 38 60 00 00 */ li r3, 0 +/* 802558C0 00252820 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802558C4 00252824 7F C3 F3 78 */ mr r3, r30 +/* 802558C8 00252828 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 802558CC 0025282C 48 00 0C B1 */ bl nullsub_53 +lbl_802558D0: +/* 802558D0 00252830 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802558D4 00252834 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802558D8 00252838 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802558DC 0025283C 7C 08 03 A6 */ mtlr r0 +/* 802558E0 00252840 38 21 00 20 */ addi r1, r1, 0x20 +/* 802558E4 00252844 4E 80 00 20 */ blr + +.global Attack__7CRidleyFR13CStateManager9EStateMsgf +Attack__7CRidleyFR13CStateManager9EStateMsgf: +/* 802558E8 00252848 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802558EC 0025284C 7C 08 02 A6 */ mflr r0 +/* 802558F0 00252850 90 01 00 34 */ stw r0, 0x34(r1) +/* 802558F4 00252854 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802558F8 00252858 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802558FC 0025285C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80255900 00252860 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80255904 00252864 FF E0 08 90 */ fmr f31, f1 +/* 80255908 00252868 2C 05 00 01 */ cmpwi r5, 1 +/* 8025590C 0025286C 7C 7E 1B 78 */ mr r30, r3 +/* 80255910 00252870 7C 9F 23 78 */ mr r31, r4 +/* 80255914 00252874 41 82 00 EC */ beq lbl_80255A00 +/* 80255918 00252878 40 80 00 10 */ bge lbl_80255928 +/* 8025591C 0025287C 2C 05 00 00 */ cmpwi r5, 0 +/* 80255920 00252880 40 80 00 14 */ bge lbl_80255934 +/* 80255924 00252884 48 00 01 C0 */ b lbl_80255AE4 +lbl_80255928: +/* 80255928 00252888 2C 05 00 03 */ cmpwi r5, 3 +/* 8025592C 0025288C 40 80 01 B8 */ bge lbl_80255AE4 +/* 80255930 00252890 48 00 01 94 */ b lbl_80255AC4 +lbl_80255934: +/* 80255934 00252894 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80255938 00252898 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8025593C 0025289C 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l +/* 80255940 002528A0 C0 82 B9 7C */ lfs f4, lbl_805AD69C@sda21(r2) +/* 80255944 002528A4 C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 80255948 002528A8 38 60 00 01 */ li r3, 1 +/* 8025594C 002528AC C0 45 00 40 */ lfs f2, 0x40(r5) +/* 80255950 002528B0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80255954 002528B4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80255958 002528B8 C0 7E 00 44 */ lfs f3, 0x44(r30) +/* 8025595C 002528BC EC 22 08 2A */ fadds f1, f2, f1 +/* 80255960 002528C0 C0 5E 00 54 */ lfs f2, 0x54(r30) +/* 80255964 002528C4 C0 C5 00 50 */ lfs f6, 0x50(r5) +/* 80255968 002528C8 EC A4 00 F2 */ fmuls f5, f4, f3 +/* 8025596C 002528CC C0 64 00 04 */ lfs f3, 4(r4) +/* 80255970 002528D0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80255974 002528D4 EC C6 18 2A */ fadds f6, f6, f3 +/* 80255978 002528D8 C0 85 00 60 */ lfs f4, 0x60(r5) +/* 8025597C 002528DC C0 64 00 08 */ lfs f3, 8(r4) +/* 80255980 002528E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80255984 002528E4 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255988 002528E8 EC 64 18 2A */ fadds f3, f4, f3 +/* 8025598C 002528EC EC 86 28 28 */ fsubs f4, f6, f5 +/* 80255990 002528F0 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) +/* 80255994 002528F4 C0 02 B9 80 */ lfs f0, lbl_805AD6A0@sda21(r2) +/* 80255998 002528F8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025599C 002528FC D0 9E 0B E8 */ stfs f4, 0xbe8(r30) +/* 802559A0 00252900 D0 5E 0B EC */ stfs f2, 0xbec(r30) +/* 802559A4 00252904 C0 9E 00 54 */ lfs f4, 0x54(r30) +/* 802559A8 00252908 C0 7E 00 44 */ lfs f3, 0x44(r30) +/* 802559AC 0025290C C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 802559B0 00252910 D0 5E 0B F0 */ stfs f2, 0xbf0(r30) +/* 802559B4 00252914 D0 7E 0B F4 */ stfs f3, 0xbf4(r30) +/* 802559B8 00252918 D0 9E 0B F8 */ stfs f4, 0xbf8(r30) +/* 802559BC 0025291C C0 5E 0B F0 */ lfs f2, 0xbf0(r30) +/* 802559C0 00252920 D0 5E 0B FC */ stfs f2, 0xbfc(r30) +/* 802559C4 00252924 C0 5E 0B F4 */ lfs f2, 0xbf4(r30) +/* 802559C8 00252928 D0 5E 0C 00 */ stfs f2, 0xc00(r30) +/* 802559CC 0025292C C0 5E 0B F8 */ lfs f2, 0xbf8(r30) +/* 802559D0 00252930 D0 5E 0C 04 */ stfs f2, 0xc04(r30) +/* 802559D4 00252934 D0 3E 0C 08 */ stfs f1, 0xc08(r30) +/* 802559D8 00252938 D0 3E 0C 0C */ stfs f1, 0xc0c(r30) +/* 802559DC 0025293C D0 1E 0C 10 */ stfs f0, 0xc10(r30) +/* 802559E0 00252940 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 802559E4 00252944 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 802559E8 00252948 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802559EC 0025294C 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 802559F0 00252950 80 7E 0C C4 */ lwz r3, 0xcc4(r30) +/* 802559F4 00252954 38 03 FF FF */ addi r0, r3, -1 +/* 802559F8 00252958 90 1E 0C C4 */ stw r0, 0xcc4(r30) +/* 802559FC 0025295C 48 00 00 E8 */ b lbl_80255AE4 +lbl_80255A00: +/* 80255A00 00252960 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80255A04 00252964 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80255A08 00252968 41 82 00 7C */ beq lbl_80255A84 +/* 80255A0C 0025296C C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) +/* 80255A10 00252970 38 81 00 08 */ addi r4, r1, 8 +/* 80255A14 00252974 C0 1E 0C 0C */ lfs f0, 0xc0c(r30) +/* 80255A18 00252978 38 62 B9 14 */ addi r3, r2, lbl_805AD634@sda21 +/* 80255A1C 0025297C EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80255A20 00252980 D0 01 00 08 */ stfs f0, 8(r1) +/* 80255A24 00252984 4B E2 83 BD */ bl "Min__5CMathFRCfRCf" +/* 80255A28 00252988 C0 03 00 00 */ lfs f0, 0(r3) +/* 80255A2C 0025298C D0 1E 0C 0C */ stfs f0, 0xc0c(r30) +/* 80255A30 00252990 C0 3E 0C 0C */ lfs f1, 0xc0c(r30) +/* 80255A34 00252994 C0 1E 0C 08 */ lfs f0, 0xc08(r30) +/* 80255A38 00252998 EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 80255A3C 0025299C D0 1E 0C 08 */ stfs f0, 0xc08(r30) +/* 80255A40 002529A0 C0 9E 0C 08 */ lfs f4, 0xc08(r30) +/* 80255A44 002529A4 C0 1E 0B F0 */ lfs f0, 0xbf0(r30) +/* 80255A48 002529A8 C0 3E 0B E4 */ lfs f1, 0xbe4(r30) +/* 80255A4C 002529AC EC 04 00 32 */ fmuls f0, f4, f0 +/* 80255A50 002529B0 C0 7E 0B F4 */ lfs f3, 0xbf4(r30) +/* 80255A54 002529B4 C0 5E 0B F8 */ lfs f2, 0xbf8(r30) +/* 80255A58 002529B8 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80255A5C 002529BC EC 01 00 2A */ fadds f0, f1, f0 +/* 80255A60 002529C0 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 80255A64 002529C4 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) +/* 80255A68 002529C8 C0 1E 0B E8 */ lfs f0, 0xbe8(r30) +/* 80255A6C 002529CC EC 00 18 2A */ fadds f0, f0, f3 +/* 80255A70 002529D0 D0 1E 0B E8 */ stfs f0, 0xbe8(r30) +/* 80255A74 002529D4 C0 1E 0B EC */ lfs f0, 0xbec(r30) +/* 80255A78 002529D8 EC 00 08 2A */ fadds f0, f0, f1 +/* 80255A7C 002529DC D0 1E 0B EC */ stfs f0, 0xbec(r30) +/* 80255A80 002529E0 48 00 00 08 */ b lbl_80255A88 +lbl_80255A84: +/* 80255A84 002529E4 48 00 04 CD */ bl sub_80255f50 +lbl_80255A88: +/* 80255A88 002529E8 3C 80 80 3F */ lis r4, lbl_803E91B0@ha +/* 80255A8C 002529EC 7F C3 F3 78 */ mr r3, r30 +/* 80255A90 002529F0 38 E4 91 B0 */ addi r7, r4, lbl_803E91B0@l +/* 80255A94 002529F4 7F E4 FB 78 */ mr r4, r31 +/* 80255A98 002529F8 81 27 00 00 */ lwz r9, 0(r7) +/* 80255A9C 002529FC 38 C1 00 0C */ addi r6, r1, 0xc +/* 80255AA0 00252A00 81 07 00 04 */ lwz r8, 4(r7) +/* 80255AA4 00252A04 38 A0 00 12 */ li r5, 0x12 +/* 80255AA8 00252A08 80 07 00 08 */ lwz r0, 8(r7) +/* 80255AAC 00252A0C 38 E0 00 00 */ li r7, 0 +/* 80255AB0 00252A10 91 21 00 0C */ stw r9, 0xc(r1) +/* 80255AB4 00252A14 91 01 00 10 */ stw r8, 0x10(r1) +/* 80255AB8 00252A18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80255ABC 00252A1C 4B E2 6C F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255AC0 00252A20 48 00 00 24 */ b lbl_80255AE4 +lbl_80255AC4: +/* 80255AC4 00252A24 38 00 00 00 */ li r0, 0 +/* 80255AC8 00252A28 38 A0 00 01 */ li r5, 1 +/* 80255ACC 00252A2C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80255AD0 00252A30 48 00 0F 9D */ bl sub_80256a6c +/* 80255AD4 00252A34 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80255AD8 00252A38 38 60 00 00 */ li r3, 0 +/* 80255ADC 00252A3C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80255AE0 00252A40 98 1E 0A 32 */ stb r0, 0xa32(r30) +lbl_80255AE4: +/* 80255AE4 00252A44 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80255AE8 00252A48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80255AEC 00252A4C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80255AF0 00252A50 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80255AF4 00252A54 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80255AF8 00252A58 7C 08 03 A6 */ mtlr r0 +/* 80255AFC 00252A5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80255B00 00252A60 4E 80 00 20 */ blr + +.global SpecialAttack__7CRidleyFR13CStateManager9EStateMsgf +SpecialAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255B04 00252A64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255B08 00252A68 7C 08 02 A6 */ mflr r0 +/* 80255B0C 00252A6C 2C 05 00 01 */ cmpwi r5, 1 +/* 80255B10 00252A70 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255B14 00252A74 41 82 00 2C */ beq lbl_80255B40 +/* 80255B18 00252A78 40 80 00 10 */ bge lbl_80255B28 +/* 80255B1C 00252A7C 2C 05 00 00 */ cmpwi r5, 0 +/* 80255B20 00252A80 40 80 00 14 */ bge lbl_80255B34 +/* 80255B24 00252A84 48 00 00 58 */ b lbl_80255B7C +lbl_80255B28: +/* 80255B28 00252A88 2C 05 00 03 */ cmpwi r5, 3 +/* 80255B2C 00252A8C 40 80 00 50 */ bge lbl_80255B7C +/* 80255B30 00252A90 48 00 00 44 */ b lbl_80255B74 +lbl_80255B34: +/* 80255B34 00252A94 38 00 00 01 */ li r0, 1 +/* 80255B38 00252A98 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80255B3C 00252A9C 48 00 00 40 */ b lbl_80255B7C +lbl_80255B40: +/* 80255B40 00252AA0 3C A0 80 3F */ lis r5, lbl_803E91A4@ha +/* 80255B44 00252AA4 38 C1 00 08 */ addi r6, r1, 8 +/* 80255B48 00252AA8 39 45 91 A4 */ addi r10, r5, lbl_803E91A4@l +/* 80255B4C 00252AAC 38 A0 00 10 */ li r5, 0x10 +/* 80255B50 00252AB0 81 2A 00 00 */ lwz r9, 0(r10) +/* 80255B54 00252AB4 38 E0 00 00 */ li r7, 0 +/* 80255B58 00252AB8 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255B5C 00252ABC 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255B60 00252AC0 91 21 00 08 */ stw r9, 8(r1) +/* 80255B64 00252AC4 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255B68 00252AC8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255B6C 00252ACC 4B E2 6C 49 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255B70 00252AD0 48 00 00 0C */ b lbl_80255B7C +lbl_80255B74: +/* 80255B74 00252AD4 38 00 00 00 */ li r0, 0 +/* 80255B78 00252AD8 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80255B7C: +/* 80255B7C 00252ADC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80255B80 00252AE0 7C 08 03 A6 */ mtlr r0 +/* 80255B84 00252AE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80255B88 00252AE8 4E 80 00 20 */ blr + +.global Generate__7CRidleyFR13CStateManager9EStateMsgf +Generate__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255B8C 00252AEC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80255B90 00252AF0 7C 08 02 A6 */ mflr r0 +/* 80255B94 00252AF4 2C 05 00 00 */ cmpwi r5, 0 +/* 80255B98 00252AF8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80255B9C 00252AFC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80255BA0 00252B00 7C 7F 1B 78 */ mr r31, r3 +/* 80255BA4 00252B04 41 82 00 0C */ beq lbl_80255BB0 +/* 80255BA8 00252B08 41 80 00 84 */ blt lbl_80255C2C +/* 80255BAC 00252B0C 48 00 00 80 */ b lbl_80255C2C +lbl_80255BB0: +/* 80255BB0 00252B10 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80255BB4 00252B14 38 60 00 00 */ li r3, 0 +/* 80255BB8 00252B18 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80255BBC 00252B1C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255BC0 00252B20 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80255BC4 00252B24 38 61 00 1C */ addi r3, r1, 0x1c +/* 80255BC8 00252B28 38 9F 0A 84 */ addi r4, r31, 0xa84 +/* 80255BCC 00252B2C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80255BD0 00252B30 C0 5F 0A C0 */ lfs f2, 0xac0(r31) +/* 80255BD4 00252B34 C0 3F 0A DC */ lfs f1, 0xadc(r31) +/* 80255BD8 00252B38 C0 7F 0A BC */ lfs f3, 0xabc(r31) +/* 80255BDC 00252B3C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80255BE0 00252B40 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80255BE4 00252B44 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80255BE8 00252B48 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80255BEC 00252B4C 48 0B CE FD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80255BF0 00252B50 7F E3 FB 78 */ mr r3, r31 +/* 80255BF4 00252B54 38 81 00 1C */ addi r4, r1, 0x1c +/* 80255BF8 00252B58 4B DF D2 95 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80255BFC 00252B5C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80255C00 00252B60 38 00 00 0C */ li r0, 0xc +/* 80255C04 00252B64 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 80255C08 00252B68 90 01 00 0C */ stw r0, 0xc(r1) +/* 80255C0C 00252B6C 38 81 00 08 */ addi r4, r1, 8 +/* 80255C10 00252B70 90 61 00 08 */ stw r3, 8(r1) +/* 80255C14 00252B74 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80255C18 00252B78 38 63 00 04 */ addi r3, r3, 4 +/* 80255C1C 00252B7C 4B ED BB 9D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80255C20 00252B80 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80255C24 00252B84 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80255C28 00252B88 90 01 00 08 */ stw r0, 8(r1) +lbl_80255C2C: +/* 80255C2C 00252B8C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80255C30 00252B90 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80255C34 00252B94 7C 08 03 A6 */ mtlr r0 +/* 80255C38 00252B98 38 21 00 30 */ addi r1, r1, 0x30 +/* 80255C3C 00252B9C 4E 80 00 20 */ blr + +.global Taunt__7CRidleyFR13CStateManager9EStateMsgf +Taunt__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255C40 00252BA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80255C44 00252BA4 7C 08 02 A6 */ mflr r0 +/* 80255C48 00252BA8 2C 05 00 01 */ cmpwi r5, 1 +/* 80255C4C 00252BAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80255C50 00252BB0 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80255C54 00252BB4 FF E0 08 90 */ fmr f31, f1 +/* 80255C58 00252BB8 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80255C5C 00252BBC 7C 9F 23 78 */ mr r31, r4 +/* 80255C60 00252BC0 93 C1 00 20 */ stw r30, 0x20(r1) +/* 80255C64 00252BC4 7C 7E 1B 78 */ mr r30, r3 +/* 80255C68 00252BC8 41 82 00 2C */ beq lbl_80255C94 +/* 80255C6C 00252BCC 40 80 00 10 */ bge lbl_80255C7C +/* 80255C70 00252BD0 2C 05 00 00 */ cmpwi r5, 0 +/* 80255C74 00252BD4 40 80 00 14 */ bge lbl_80255C88 +/* 80255C78 00252BD8 48 00 00 68 */ b lbl_80255CE0 +lbl_80255C7C: +/* 80255C7C 00252BDC 2C 05 00 03 */ cmpwi r5, 3 +/* 80255C80 00252BE0 40 80 00 60 */ bge lbl_80255CE0 +/* 80255C84 00252BE4 48 00 00 54 */ b lbl_80255CD8 +lbl_80255C88: +/* 80255C88 00252BE8 38 00 00 01 */ li r0, 1 +/* 80255C8C 00252BEC 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80255C90 00252BF0 48 00 00 50 */ b lbl_80255CE0 +lbl_80255C94: +/* 80255C94 00252BF4 3C A0 80 3F */ lis r5, lbl_803E9198@ha +/* 80255C98 00252BF8 38 C1 00 08 */ addi r6, r1, 8 +/* 80255C9C 00252BFC 39 45 91 98 */ addi r10, r5, lbl_803E9198@l +/* 80255CA0 00252C00 38 A0 00 10 */ li r5, 0x10 +/* 80255CA4 00252C04 81 2A 00 00 */ lwz r9, 0(r10) +/* 80255CA8 00252C08 38 E0 00 03 */ li r7, 3 +/* 80255CAC 00252C0C 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255CB0 00252C10 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255CB4 00252C14 91 21 00 08 */ stw r9, 8(r1) +/* 80255CB8 00252C18 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255CBC 00252C1C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255CC0 00252C20 4B E2 6A F5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255CC4 00252C24 FC 20 F8 90 */ fmr f1, f31 +/* 80255CC8 00252C28 7F C3 F3 78 */ mr r3, r30 +/* 80255CCC 00252C2C 7F E4 FB 78 */ mr r4, r31 +/* 80255CD0 00252C30 48 00 02 81 */ bl sub_80255f50 +/* 80255CD4 00252C34 48 00 00 0C */ b lbl_80255CE0 +lbl_80255CD8: +/* 80255CD8 00252C38 38 00 00 00 */ li r0, 0 +/* 80255CDC 00252C3C 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80255CE0: +/* 80255CE0 00252C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80255CE4 00252C44 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80255CE8 00252C48 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80255CEC 00252C4C 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80255CF0 00252C50 7C 08 03 A6 */ mtlr r0 +/* 80255CF4 00252C54 38 21 00 30 */ addi r1, r1, 0x30 +/* 80255CF8 00252C58 4E 80 00 20 */ blr + +.global Patrol__7CRidleyFR13CStateManager9EStateMsgf +Patrol__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255CFC 00252C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80255D00 00252C60 7C 08 02 A6 */ mflr r0 +/* 80255D04 00252C64 2C 05 00 00 */ cmpwi r5, 0 +/* 80255D08 00252C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80255D0C 00252C6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80255D10 00252C70 7C 7F 1B 78 */ mr r31, r3 +/* 80255D14 00252C74 41 82 00 0C */ beq lbl_80255D20 +/* 80255D18 00252C78 41 80 00 2C */ blt lbl_80255D44 +/* 80255D1C 00252C7C 48 00 00 28 */ b lbl_80255D44 +lbl_80255D20: +/* 80255D20 00252C80 48 00 00 39 */ bl sub_80255d58 +/* 80255D24 00252C84 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80255D28 00252C88 38 60 00 00 */ li r3, 0 +/* 80255D2C 00252C8C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80255D30 00252C90 38 60 00 01 */ li r3, 1 +/* 80255D34 00252C94 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80255D38 00252C98 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80255D3C 00252C9C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80255D40 00252CA0 98 1F 0A 33 */ stb r0, 0xa33(r31) +lbl_80255D44: +/* 80255D44 00252CA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80255D48 00252CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80255D4C 00252CAC 7C 08 03 A6 */ mtlr r0 +/* 80255D50 00252CB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80255D54 00252CB4 4E 80 00 20 */ blr + +.global sub_80255d58 +sub_80255d58: +/* 80255D58 00252CB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255D5C 00252CBC 7C 08 02 A6 */ mflr r0 +/* 80255D60 00252CC0 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255D64 00252CC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255D68 00252CC8 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) +/* 80255D6C 00252CCC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80255D70 00252CD0 7C 7F 1B 78 */ mr r31, r3 +/* 80255D74 00252CD4 3C 60 80 47 */ lis r3, lbl_8046D9C0@ha +/* 80255D78 00252CD8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80255D7C 00252CDC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80255D80 00252CE0 7C 9D 23 78 */ mr r29, r4 +/* 80255D84 00252CE4 38 83 D9 C0 */ addi r4, r3, lbl_8046D9C0@l +/* 80255D88 00252CE8 80 BF 0C B0 */ lwz r5, 0xcb0(r31) +/* 80255D8C 00252CEC 80 1F 0C B4 */ lwz r0, 0xcb4(r31) +/* 80255D90 00252CF0 1C A5 00 90 */ mulli r5, r5, 0x90 +/* 80255D94 00252CF4 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80255D98 00252CF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80255D9C 00252CFC 7C 84 2A 14 */ add r4, r4, r5 +/* 80255DA0 00252D00 7F C4 02 14 */ add r30, r4, r0 +/* 80255DA4 00252D04 48 0B C7 A1 */ bl Range__9CRandom16Fff +/* 80255DA8 00252D08 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80255DAC 00252D0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80255DB0 00252D10 4C 40 13 82 */ cror 2, 0, 2 +/* 80255DB4 00252D14 40 82 00 0C */ bne lbl_80255DC0 +/* 80255DB8 00252D18 80 1E 00 00 */ lwz r0, 0(r30) +/* 80255DBC 00252D1C 48 00 00 08 */ b lbl_80255DC4 +lbl_80255DC0: +/* 80255DC0 00252D20 80 1E 00 08 */ lwz r0, 8(r30) +lbl_80255DC4: +/* 80255DC4 00252D24 90 1F 0B 04 */ stw r0, 0xb04(r31) +/* 80255DC8 00252D28 80 1F 0B 04 */ lwz r0, 0xb04(r31) +/* 80255DCC 00252D2C 2C 00 FF FF */ cmpwi r0, -1 +/* 80255DD0 00252D30 40 82 00 5C */ bne lbl_80255E2C +/* 80255DD4 00252D34 38 00 00 00 */ li r0, 0 +/* 80255DD8 00252D38 3C 60 80 47 */ lis r3, lbl_8046D9C0@ha +/* 80255DDC 00252D3C 90 1F 0C B4 */ stw r0, 0xcb4(r31) +/* 80255DE0 00252D40 38 83 D9 C0 */ addi r4, r3, lbl_8046D9C0@l +/* 80255DE4 00252D44 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255DE8 00252D48 80 7F 0C B0 */ lwz r3, 0xcb0(r31) +/* 80255DEC 00252D4C 80 1F 0C B4 */ lwz r0, 0xcb4(r31) +/* 80255DF0 00252D50 1C A3 00 90 */ mulli r5, r3, 0x90 +/* 80255DF4 00252D54 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80255DF8 00252D58 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) +/* 80255DFC 00252D5C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80255E00 00252D60 7C 84 2A 14 */ add r4, r4, r5 +/* 80255E04 00252D64 7F C4 02 14 */ add r30, r4, r0 +/* 80255E08 00252D68 48 0B C7 3D */ bl Range__9CRandom16Fff +/* 80255E0C 00252D6C C0 1E 00 04 */ lfs f0, 4(r30) +/* 80255E10 00252D70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80255E14 00252D74 4C 40 13 82 */ cror 2, 0, 2 +/* 80255E18 00252D78 40 82 00 0C */ bne lbl_80255E24 +/* 80255E1C 00252D7C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80255E20 00252D80 48 00 00 08 */ b lbl_80255E28 +lbl_80255E24: +/* 80255E24 00252D84 80 1E 00 08 */ lwz r0, 8(r30) +lbl_80255E28: +/* 80255E28 00252D88 90 1F 0B 04 */ stw r0, 0xb04(r31) +lbl_80255E2C: +/* 80255E2C 00252D8C 80 7F 0C B4 */ lwz r3, 0xcb4(r31) +/* 80255E30 00252D90 38 00 00 01 */ li r0, 1 +/* 80255E34 00252D94 38 63 00 01 */ addi r3, r3, 1 +/* 80255E38 00252D98 90 7F 0C B4 */ stw r3, 0xcb4(r31) +/* 80255E3C 00252D9C 90 1F 0C C4 */ stw r0, 0xcc4(r31) +/* 80255E40 00252DA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80255E44 00252DA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80255E48 00252DA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80255E4C 00252DAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80255E50 00252DB0 7C 08 03 A6 */ mtlr r0 +/* 80255E54 00252DB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80255E58 00252DB8 4E 80 00 20 */ blr + +.global sub_80255e5c +sub_80255e5c: +/* 80255E5C 00252DBC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80255E60 00252DC0 7C 08 02 A6 */ mflr r0 +/* 80255E64 00252DC4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80255E68 00252DC8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80255E6C 00252DCC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80255E70 00252DD0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80255E74 00252DD4 7C 9F 23 78 */ mr r31, r4 +/* 80255E78 00252DD8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80255E7C 00252DDC 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80255E80 00252DE0 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80255E84 00252DE4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80255E88 00252DE8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80255E8C 00252DEC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80255E90 00252DF0 EC 84 08 28 */ fsubs f4, f4, f1 +/* 80255E94 00252DF4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80255E98 00252DF8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80255E9C 00252DFC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80255EA0 00252E00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80255EA4 00252E04 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80255EA8 00252E08 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80255EAC 00252E0C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80255EB0 00252E10 48 0B EA 09 */ bl Magnitude__9CVector3fCFv +/* 80255EB4 00252E14 C0 02 B9 7C */ lfs f0, lbl_805AD69C@sda21(r2) +/* 80255EB8 00252E18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80255EBC 00252E1C 40 80 00 78 */ bge lbl_80255F34 +/* 80255EC0 00252E20 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80255EC4 00252E24 38 61 00 24 */ addi r3, r1, 0x24 +/* 80255EC8 00252E28 C3 E4 00 E8 */ lfs f31, 0xe8(r4) +/* 80255ECC 00252E2C 48 0B E9 ED */ bl Magnitude__9CVector3fCFv +/* 80255ED0 00252E30 C0 02 B9 7C */ lfs f0, lbl_805AD69C@sda21(r2) +/* 80255ED4 00252E34 38 61 00 08 */ addi r3, r1, 8 +/* 80255ED8 00252E38 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80255EDC 00252E3C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80255EE0 00252E40 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80255EE4 00252E44 EF FF 00 32 */ fmuls f31, f31, f0 +/* 80255EE8 00252E48 48 0B E3 19 */ bl __ct__9CVector2fFff +/* 80255EEC 00252E4C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80255EF0 00252E50 38 81 00 08 */ addi r4, r1, 8 +/* 80255EF4 00252E54 48 0B E1 8D */ bl AsNormalized__9CVector2fCFv +/* 80255EF8 00252E58 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80255EFC 00252E5C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80255F00 00252E60 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255F04 00252E64 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80255F08 00252E68 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80255F0C 00252E6C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80255F10 00252E70 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80255F14 00252E74 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80255F18 00252E78 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80255F1C 00252E7C 83 FF 08 4C */ lwz r31, 0x84c(r31) +/* 80255F20 00252E80 4B DC 56 15 */ bl Identity__10CAxisAngleFv +/* 80255F24 00252E84 7C 65 1B 78 */ mr r5, r3 +/* 80255F28 00252E88 7F E3 FB 78 */ mr r3, r31 +/* 80255F2C 00252E8C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80255F30 00252E90 4B EC 64 69 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_80255F34: +/* 80255F34 00252E94 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80255F38 00252E98 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80255F3C 00252E9C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80255F40 00252EA0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80255F44 00252EA4 7C 08 03 A6 */ mtlr r0 +/* 80255F48 00252EA8 38 21 00 50 */ addi r1, r1, 0x50 +/* 80255F4C 00252EAC 4E 80 00 20 */ blr + +.global sub_80255f50 +sub_80255f50: +/* 80255F50 00252EB0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80255F54 00252EB4 7C 08 02 A6 */ mflr r0 +/* 80255F58 00252EB8 90 01 00 54 */ stw r0, 0x54(r1) +/* 80255F5C 00252EBC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80255F60 00252EC0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80255F64 00252EC4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80255F68 00252EC8 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 80255F6C 00252ECC FF E0 08 90 */ fmr f31, f1 +/* 80255F70 00252ED0 C0 03 00 60 */ lfs f0, 0x60(r3) +/* 80255F74 00252ED4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80255F78 00252ED8 C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 80255F7C 00252EDC C0 85 00 50 */ lfs f4, 0x50(r5) +/* 80255F80 00252EE0 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 80255F84 00252EE4 EC 25 00 28 */ fsubs f1, f5, f0 +/* 80255F88 00252EE8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80255F8C 00252EEC C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80255F90 00252EF0 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80255F94 00252EF4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80255F98 00252EF8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80255F9C 00252EFC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80255FA0 00252F00 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80255FA4 00252F04 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80255FA8 00252F08 83 E3 04 50 */ lwz r31, 0x450(r3) +/* 80255FAC 00252F0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80255FB0 00252F10 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80255FB4 00252F14 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80255FB8 00252F18 48 0B E8 99 */ bl AsNormalized__9CVector3fCFv +/* 80255FBC 00252F1C FC 20 F8 90 */ fmr f1, f31 +/* 80255FC0 00252F20 7F E3 FB 78 */ mr r3, r31 +/* 80255FC4 00252F24 38 81 00 20 */ addi r4, r1, 0x20 +/* 80255FC8 00252F28 4B EE 46 DD */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 80255FCC 00252F2C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80255FD0 00252F30 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80255FD4 00252F34 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80255FD8 00252F38 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80255FDC 00252F3C 7C 08 03 A6 */ mtlr r0 +/* 80255FE0 00252F40 38 21 00 50 */ addi r1, r1, 0x50 +/* 80255FE4 00252F44 4E 80 00 20 */ blr + +.global sub_80255fe8 +sub_80255fe8: +/* 80255FE8 00252F48 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80255FEC 00252F4C 7C 08 02 A6 */ mflr r0 +/* 80255FF0 00252F50 90 01 00 34 */ stw r0, 0x34(r1) +/* 80255FF4 00252F54 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80255FF8 00252F58 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80255FFC 00252F5C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256000 00252F60 FF E0 08 90 */ fmr f31, f1 +/* 80256004 00252F64 C0 02 B9 84 */ lfs f0, lbl_805AD6A4@sda21(r2) +/* 80256008 00252F68 7C 7F 1B 78 */ mr r31, r3 +/* 8025600C 00252F6C C0 64 00 00 */ lfs f3, 0(r4) +/* 80256010 00252F70 C0 24 00 04 */ lfs f1, 4(r4) +/* 80256014 00252F74 38 7F 0A EC */ addi r3, r31, 0xaec +/* 80256018 00252F78 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 8025601C 00252F7C C0 04 00 08 */ lfs f0, 8(r4) +/* 80256020 00252F80 EC 9F 01 32 */ fmuls f4, f31, f4 +/* 80256024 00252F84 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80256028 00252F88 EC 24 00 72 */ fmuls f1, f4, f1 +/* 8025602C 00252F8C EC 04 00 32 */ fmuls f0, f4, f0 +/* 80256030 00252F90 D0 7F 0A F8 */ stfs f3, 0xaf8(r31) +/* 80256034 00252F94 D0 3F 0A FC */ stfs f1, 0xafc(r31) +/* 80256038 00252F98 D0 1F 0B 00 */ stfs f0, 0xb00(r31) +/* 8025603C 00252F9C C0 1F 0A F8 */ lfs f0, 0xaf8(r31) +/* 80256040 00252FA0 C0 9F 0A FC */ lfs f4, 0xafc(r31) +/* 80256044 00252FA4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80256048 00252FA8 C0 3F 0A EC */ lfs f1, 0xaec(r31) +/* 8025604C 00252FAC C0 7F 0B 00 */ lfs f3, 0xb00(r31) +/* 80256050 00252FB0 EC 82 01 32 */ fmuls f4, f2, f4 +/* 80256054 00252FB4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80256058 00252FB8 EC 22 00 F2 */ fmuls f1, f2, f3 +/* 8025605C 00252FBC D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 80256060 00252FC0 C0 1F 0A F0 */ lfs f0, 0xaf0(r31) +/* 80256064 00252FC4 EC 00 20 2A */ fadds f0, f0, f4 +/* 80256068 00252FC8 D0 1F 0A F0 */ stfs f0, 0xaf0(r31) +/* 8025606C 00252FCC C0 1F 0A F4 */ lfs f0, 0xaf4(r31) +/* 80256070 00252FD0 EC 00 08 2A */ fadds f0, f0, f1 +/* 80256074 00252FD4 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +/* 80256078 00252FD8 48 0B E8 41 */ bl Magnitude__9CVector3fCFv +/* 8025607C 00252FDC FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80256080 00252FE0 40 81 00 34 */ ble lbl_802560B4 +/* 80256084 00252FE4 38 61 00 08 */ addi r3, r1, 8 +/* 80256088 00252FE8 38 9F 0A EC */ addi r4, r31, 0xaec +/* 8025608C 00252FEC 48 0B E7 C5 */ bl AsNormalized__9CVector3fCFv +/* 80256090 00252FF0 C0 01 00 08 */ lfs f0, 8(r1) +/* 80256094 00252FF4 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80256098 00252FF8 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8025609C 00252FFC C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802560A0 00253000 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 802560A4 00253004 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802560A8 00253008 D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 802560AC 0025300C D0 5F 0A F0 */ stfs f2, 0xaf0(r31) +/* 802560B0 00253010 D0 3F 0A F4 */ stfs f1, 0xaf4(r31) +lbl_802560B4: +/* 802560B4 00253014 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802560B8 00253018 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802560BC 0025301C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802560C0 00253020 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802560C4 00253024 7C 08 03 A6 */ mtlr r0 +/* 802560C8 00253028 38 21 00 30 */ addi r1, r1, 0x30 +/* 802560CC 0025302C 4E 80 00 20 */ blr + +.global sub_802560d0 +sub_802560d0: +/* 802560D0 00253030 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802560D4 00253034 7C 08 02 A6 */ mflr r0 +/* 802560D8 00253038 90 01 00 74 */ stw r0, 0x74(r1) +/* 802560DC 0025303C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802560E0 00253040 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802560E4 00253044 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802560E8 00253048 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802560EC 0025304C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802560F0 00253050 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802560F4 00253054 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802560F8 00253058 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802560FC 0025305C DB 61 00 20 */ stfd f27, 0x20(r1) +/* 80256100 00253060 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 +/* 80256104 00253064 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256108 00253068 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8025610C 0025306C FF E0 08 90 */ fmr f31, f1 +/* 80256110 00253070 7C 7F 1B 78 */ mr r31, r3 +/* 80256114 00253074 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80256118 00253078 41 82 00 F4 */ beq lbl_8025620C +/* 8025611C 0025307C 38 7F 0A EC */ addi r3, r31, 0xaec +/* 80256120 00253080 48 0B E6 6D */ bl IsMagnitudeSafe__9CVector3fCFv +/* 80256124 00253084 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80256128 00253088 41 82 01 00 */ beq lbl_80256228 +/* 8025612C 0025308C 38 7F 0A EC */ addi r3, r31, 0xaec +/* 80256130 00253090 48 0B E7 89 */ bl Magnitude__9CVector3fCFv +/* 80256134 00253094 FF C0 08 90 */ fmr f30, f1 +/* 80256138 00253098 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025613C 0025309C C0 3F 0A F8 */ lfs f1, 0xaf8(r31) +/* 80256140 002530A0 C0 5F 0A FC */ lfs f2, 0xafc(r31) +/* 80256144 002530A4 EC E0 F0 24 */ fdivs f7, f0, f30 +/* 80256148 002530A8 C1 1F 0B 00 */ lfs f8, 0xb00(r31) +/* 8025614C 002530AC C0 DF 0A EC */ lfs f6, 0xaec(r31) +/* 80256150 002530B0 C0 BF 0A F0 */ lfs f5, 0xaf0(r31) +/* 80256154 002530B4 C0 9F 0A F4 */ lfs f4, 0xaf4(r31) +/* 80256158 002530B8 C0 62 B9 18 */ lfs f3, lbl_805AD638@sda21(r2) +/* 8025615C 002530BC EC 21 00 72 */ fmuls f1, f1, f1 +/* 80256160 002530C0 C1 22 B9 84 */ lfs f9, lbl_805AD6A4@sda21(r2) +/* 80256164 002530C4 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80256168 002530C8 EC 48 02 32 */ fmuls f2, f8, f8 +/* 8025616C 002530CC EF 67 01 B2 */ fmuls f27, f7, f6 +/* 80256170 002530D0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80256174 002530D4 EF 87 01 72 */ fmuls f28, f7, f5 +/* 80256178 002530D8 EF A7 01 32 */ fmuls f29, f7, f4 +/* 8025617C 002530DC EC 02 00 2A */ fadds f0, f2, f0 +/* 80256180 002530E0 FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 80256184 002530E4 40 82 00 0C */ bne lbl_80256190 +/* 80256188 002530E8 C0 02 B9 5C */ lfs f0, lbl_805AD67C@sda21(r2) +/* 8025618C 002530EC ED 29 00 32 */ fmuls f9, f9, f0 +lbl_80256190: +/* 80256190 002530F0 EC 09 07 B2 */ fmuls f0, f9, f30 +/* 80256194 002530F4 38 81 00 08 */ addi r4, r1, 8 +/* 80256198 002530F8 38 6D 97 94 */ addi r3, r13, lbl_805A8354@sda21 +/* 8025619C 002530FC 38 AD 97 98 */ addi r5, r13, lbl_805A8358@sda21 +/* 802561A0 00253100 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802561A4 00253104 D0 01 00 08 */ stfs f0, 8(r1) +/* 802561A8 00253108 4B DB 61 0D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802561AC 0025310C C0 03 00 00 */ lfs f0, 0(r3) +/* 802561B0 00253110 EC 00 F7 BC */ fnmsubs f0, f0, f30, f30 +/* 802561B4 00253114 EC 40 06 F2 */ fmuls f2, f0, f27 +/* 802561B8 00253118 EC 20 07 32 */ fmuls f1, f0, f28 +/* 802561BC 0025311C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802561C0 00253120 D0 5F 0A EC */ stfs f2, 0xaec(r31) +/* 802561C4 00253124 D0 3F 0A F0 */ stfs f1, 0xaf0(r31) +/* 802561C8 00253128 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +/* 802561CC 0025312C C0 7F 00 E8 */ lfs f3, 0xe8(r31) +/* 802561D0 00253130 C0 5F 0A F0 */ lfs f2, 0xaf0(r31) +/* 802561D4 00253134 C0 3F 0A F4 */ lfs f1, 0xaf4(r31) +/* 802561D8 00253138 C0 1F 0A EC */ lfs f0, 0xaec(r31) +/* 802561DC 0025313C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802561E0 00253140 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802561E4 00253144 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802561E8 00253148 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802561EC 0025314C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802561F0 00253150 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802561F4 00253154 4B DC 53 41 */ bl Identity__10CAxisAngleFv +/* 802561F8 00253158 7C 65 1B 78 */ mr r5, r3 +/* 802561FC 0025315C 7F E3 FB 78 */ mr r3, r31 +/* 80256200 00253160 38 81 00 0C */ addi r4, r1, 0xc +/* 80256204 00253164 4B EC 61 95 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80256208 00253168 48 00 00 20 */ b lbl_80256228 +lbl_8025620C: +/* 8025620C 0025316C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80256210 00253170 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80256214 00253174 D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 80256218 00253178 C0 03 00 04 */ lfs f0, 4(r3) +/* 8025621C 0025317C D0 1F 0A F0 */ stfs f0, 0xaf0(r31) +/* 80256220 00253180 C0 03 00 08 */ lfs f0, 8(r3) +/* 80256224 00253184 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +lbl_80256228: +/* 80256228 00253188 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025622C 0025318C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80256230 00253190 D0 1F 0A F8 */ stfs f0, 0xaf8(r31) +/* 80256234 00253194 C0 03 00 04 */ lfs f0, 4(r3) +/* 80256238 00253198 D0 1F 0A FC */ stfs f0, 0xafc(r31) +/* 8025623C 0025319C C0 03 00 08 */ lfs f0, 8(r3) +/* 80256240 002531A0 D0 1F 0B 00 */ stfs f0, 0xb00(r31) +/* 80256244 002531A4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80256248 002531A8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8025624C 002531AC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80256250 002531B0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80256254 002531B4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80256258 002531B8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8025625C 002531BC E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 80256260 002531C0 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 80256264 002531C4 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 +/* 80256268 002531C8 CB 61 00 20 */ lfd f27, 0x20(r1) +/* 8025626C 002531CC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80256270 002531D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80256274 002531D4 7C 08 03 A6 */ mtlr r0 +/* 80256278 002531D8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8025627C 002531DC 4E 80 00 20 */ blr + +.global Think__7CRidleyR13CStateManager +Think__7CRidleyR13CStateManager: +/* 80256280 002531E0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80256284 002531E4 7C 08 02 A6 */ mflr r0 +/* 80256288 002531E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025628C 002531EC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80256290 002531F0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80256294 002531F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256298 002531F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025629C 002531FC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802562A0 00253200 FF E0 08 90 */ fmr f31, f1 +/* 802562A4 00253204 7C 7E 1B 78 */ mr r30, r3 +/* 802562A8 00253208 7C 9F 23 78 */ mr r31, r4 +/* 802562AC 0025320C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802562B0 00253210 41 82 00 D8 */ beq lbl_80256388 +/* 802562B4 00253214 4B FF FE 1D */ bl sub_802560d0 +/* 802562B8 00253218 FC 20 F8 90 */ fmr f1, f31 +/* 802562BC 0025321C 7F C3 F3 78 */ mr r3, r30 +/* 802562C0 00253220 7F E4 FB 78 */ mr r4, r31 +/* 802562C4 00253224 4B E2 38 55 */ bl Think__10CPatternedFfR13CStateManager +/* 802562C8 00253228 FC 20 F8 90 */ fmr f1, f31 +/* 802562CC 0025322C 7F C3 F3 78 */ mr r3, r30 +/* 802562D0 00253230 48 00 00 D9 */ bl sub_802563a8 +/* 802562D4 00253234 FC 20 F8 90 */ fmr f1, f31 +/* 802562D8 00253238 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 802562DC 0025323C 7F E4 FB 78 */ mr r4, r31 +/* 802562E0 00253240 38 A0 00 00 */ li r5, 0 +/* 802562E4 00253244 4B F5 11 6D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 802562E8 00253248 FC 20 F8 90 */ fmr f1, f31 +/* 802562EC 0025324C 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 802562F0 00253250 7F E4 FB 78 */ mr r4, r31 +/* 802562F4 00253254 38 A0 00 00 */ li r5, 0 +/* 802562F8 00253258 4B F5 11 59 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 802562FC 0025325C C0 1E 0B 20 */ lfs f0, 0xb20(r30) +/* 80256300 00253260 38 81 00 10 */ addi r4, r1, 0x10 +/* 80256304 00253264 38 6D 97 88 */ addi r3, r13, lbl_805A8348@sda21 +/* 80256308 00253268 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025630C 0025326C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80256310 00253270 4B DF 94 21 */ bl "Max__5CMathFRCfRCf" +/* 80256314 00253274 C0 03 00 00 */ lfs f0, 0(r3) +/* 80256318 00253278 38 81 00 0C */ addi r4, r1, 0xc +/* 8025631C 0025327C 38 6D 97 8C */ addi r3, r13, lbl_805A834C@sda21 +/* 80256320 00253280 D0 1E 0B 20 */ stfs f0, 0xb20(r30) +/* 80256324 00253284 C0 1E 0B 24 */ lfs f0, 0xb24(r30) +/* 80256328 00253288 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025632C 0025328C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80256330 00253290 4B DF 94 01 */ bl "Max__5CMathFRCfRCf" +/* 80256334 00253294 C0 03 00 00 */ lfs f0, 0(r3) +/* 80256338 00253298 38 81 00 08 */ addi r4, r1, 8 +/* 8025633C 0025329C 38 6D 97 90 */ addi r3, r13, lbl_805A8350@sda21 +/* 80256340 002532A0 D0 1E 0B 24 */ stfs f0, 0xb24(r30) +/* 80256344 002532A4 C0 1E 0C C8 */ lfs f0, 0xcc8(r30) +/* 80256348 002532A8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025634C 002532AC D0 01 00 08 */ stfs f0, 8(r1) +/* 80256350 002532B0 4B DF 93 E1 */ bl "Max__5CMathFRCfRCf" +/* 80256354 002532B4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80256358 002532B8 FC 20 F8 90 */ fmr f1, f31 +/* 8025635C 002532BC 7F C3 F3 78 */ mr r3, r30 +/* 80256360 002532C0 7F E4 FB 78 */ mr r4, r31 +/* 80256364 002532C4 D0 1E 0C C8 */ stfs f0, 0xcc8(r30) +/* 80256368 002532C8 48 00 07 AD */ bl sub_80256b14 +/* 8025636C 002532CC FC 20 F8 90 */ fmr f1, f31 +/* 80256370 002532D0 7F C3 F3 78 */ mr r3, r30 +/* 80256374 002532D4 7F E4 FB 78 */ mr r4, r31 +/* 80256378 002532D8 48 00 02 AD */ bl sub_80256624 +/* 8025637C 002532DC FC 20 F8 90 */ fmr f1, f31 +/* 80256380 002532E0 38 7E 0B 2C */ addi r3, r30, 0xb2c +/* 80256384 002532E4 4B F1 F6 25 */ bl Update__13CBoneTrackingFf +lbl_80256388: +/* 80256388 002532E8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8025638C 002532EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80256390 002532F0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80256394 002532F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80256398 002532F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025639C 002532FC 7C 08 03 A6 */ mtlr r0 +/* 802563A0 00253300 38 21 00 30 */ addi r1, r1, 0x30 +/* 802563A4 00253304 4E 80 00 20 */ blr + +.global sub_802563a8 +sub_802563a8: +/* 802563A8 00253308 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802563AC 0025330C 7C 08 02 A6 */ mflr r0 +/* 802563B0 00253310 90 01 00 74 */ stw r0, 0x74(r1) +/* 802563B4 00253314 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802563B8 00253318 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802563BC 0025331C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802563C0 00253320 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802563C4 00253324 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802563C8 00253328 7C 7F 1B 78 */ mr r31, r3 +/* 802563CC 0025332C FF C0 08 90 */ fmr f30, f1 +/* 802563D0 00253330 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 802563D4 00253334 2C 00 00 03 */ cmpwi r0, 3 +/* 802563D8 00253338 40 82 01 80 */ bne lbl_80256558 +/* 802563DC 0025333C 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 802563E0 00253340 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802563E4 00253344 40 82 01 74 */ bne lbl_80256558 +/* 802563E8 00253348 C0 5F 0A B0 */ lfs f2, 0xab0(r31) +/* 802563EC 0025334C 38 81 00 30 */ addi r4, r1, 0x30 +/* 802563F0 00253350 C0 3F 0A A0 */ lfs f1, 0xaa0(r31) +/* 802563F4 00253354 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 802563F8 00253358 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 802563FC 0025335C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 80256400 00253360 C0 BF 00 40 */ lfs f5, 0x40(r31) +/* 80256404 00253364 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80256408 00253368 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8025640C 0025336C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80256410 00253370 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80256414 00253374 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80256418 00253378 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8025641C 0025337C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80256420 00253380 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80256424 00253384 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80256428 00253388 4B DF CA 65 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8025642C 0025338C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80256430 00253390 38 61 00 3C */ addi r3, r1, 0x3c +/* 80256434 00253394 C0 1F 0A A0 */ lfs f0, 0xaa0(r31) +/* 80256438 00253398 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8025643C 0025339C C0 5F 0A B0 */ lfs f2, 0xab0(r31) +/* 80256440 002533A0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80256444 002533A4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80256448 002533A8 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 8025644C 002533AC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80256450 002533B0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80256454 002533B4 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80256458 002533B8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8025645C 002533BC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80256460 002533C0 48 0B E4 59 */ bl Magnitude__9CVector3fCFv +/* 80256464 002533C4 FF E0 08 90 */ fmr f31, f1 +/* 80256468 002533C8 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025646C 002533CC C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 80256470 002533D0 38 81 00 08 */ addi r4, r1, 8 +/* 80256474 002533D4 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80256478 002533D8 38 6D 97 80 */ addi r3, r13, lbl_805A8340@sda21 +/* 8025647C 002533DC EC 60 F8 24 */ fdivs f3, f0, f31 +/* 80256480 002533E0 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80256484 002533E4 38 AD 97 84 */ addi r5, r13, lbl_805A8344@sda21 +/* 80256488 002533E8 EC 82 00 F2 */ fmuls f4, f2, f3 +/* 8025648C 002533EC EC 41 00 F2 */ fmuls f2, f1, f3 +/* 80256490 002533F0 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 80256494 002533F4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80256498 002533F8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8025649C 002533FC D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802564A0 00253400 C0 1F 0A 98 */ lfs f0, 0xa98(r31) +/* 802564A4 00253404 C0 3F 0A 88 */ lfs f1, 0xa88(r31) +/* 802564A8 00253408 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802564AC 0025340C C0 5F 0A A8 */ lfs f2, 0xaa8(r31) +/* 802564B0 00253410 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802564B4 00253414 EC 02 00 FA */ fmadds f0, f2, f3, f0 +/* 802564B8 00253418 D0 01 00 08 */ stfs f0, 8(r1) +/* 802564BC 0025341C 4B DB 5D F9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802564C0 00253420 C0 23 00 00 */ lfs f1, 0(r3) +/* 802564C4 00253424 C0 02 B9 88 */ lfs f0, lbl_805AD6A8@sda21(r2) +/* 802564C8 00253428 D0 21 00 08 */ stfs f1, 8(r1) +/* 802564CC 0025342C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802564D0 00253430 C0 3F 0A B4 */ lfs f1, 0xab4(r31) +/* 802564D4 00253434 EC 01 00 2A */ fadds f0, f1, f0 +/* 802564D8 00253438 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802564DC 0025343C 40 81 00 7C */ ble lbl_80256558 +/* 802564E0 00253440 C0 3F 01 3C */ lfs f1, 0x13c(r31) +/* 802564E4 00253444 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802564E8 00253448 C0 5F 01 38 */ lfs f2, 0x138(r31) +/* 802564EC 0025344C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802564F0 00253450 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802564F4 00253454 C0 9F 01 40 */ lfs f4, 0x140(r31) +/* 802564F8 00253458 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 802564FC 0025345C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80256500 00253460 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80256504 00253464 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80256508 00253468 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025650C 0025346C 40 81 00 0C */ ble lbl_80256518 +/* 80256510 00253470 7F E3 FB 78 */ mr r3, r31 +/* 80256514 00253474 4B EC 4E 65 */ bl Stop__13CPhysicsActorFv +lbl_80256518: +/* 80256518 00253478 C0 BF 00 50 */ lfs f5, 0x50(r31) +/* 8025651C 0025347C FC 20 F0 90 */ fmr f1, f30 +/* 80256520 00253480 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80256524 00253484 7F E3 FB 78 */ mr r3, r31 +/* 80256528 00253488 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8025652C 0025348C 38 81 00 0C */ addi r4, r1, 0xc +/* 80256530 00253490 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80256534 00253494 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80256538 00253498 EC A5 00 28 */ fsubs f5, f5, f0 +/* 8025653C 0025349C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80256540 002534A0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80256544 002534A4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80256548 002534A8 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 8025654C 002534AC D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80256550 002534B0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80256554 002534B4 4B EC 4B 45 */ bl MoveToInOneFrameWR__13CPhysicsActorFRC9CVector3ff +lbl_80256558: +/* 80256558 002534B8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8025655C 002534BC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80256560 002534C0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80256564 002534C4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80256568 002534C8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8025656C 002534CC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80256570 002534D0 7C 08 03 A6 */ mtlr r0 +/* 80256574 002534D4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80256578 002534D8 4E 80 00 20 */ blr + +.global nullsub_53 +nullsub_53: +/* 8025657C 002534DC 4E 80 00 20 */ blr + +.global sub_80256580 +sub_80256580: +/* 80256580 002534E0 88 03 0A 31 */ lbz r0, 0xa31(r3) +/* 80256584 002534E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80256588 002534E8 4C 82 00 20 */ bnelr +/* 8025658C 002534EC C0 02 B9 8C */ lfs f0, lbl_805AD6AC@sda21(r2) +/* 80256590 002534F0 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 80256594 002534F4 4E 80 00 20 */ blr + +.global GetAimPosition__7CRidleyCFRC13CStateManagerf +GetAimPosition__7CRidleyCFRC13CStateManagerf: +/* 80256598 002534F8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8025659C 002534FC 7C 08 02 A6 */ mflr r0 +/* 802565A0 00253500 90 01 00 74 */ stw r0, 0x74(r1) +/* 802565A4 00253504 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802565A8 00253508 7C 7F 1B 78 */ mr r31, r3 +/* 802565AC 0025350C 80 04 0C 64 */ lwz r0, 0xc64(r4) +/* 802565B0 00253510 2C 00 00 03 */ cmpwi r0, 3 +/* 802565B4 00253514 40 82 00 38 */ bne lbl_802565EC +/* 802565B8 00253518 88 04 0A 32 */ lbz r0, 0xa32(r4) +/* 802565BC 0025351C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802565C0 00253520 40 82 00 2C */ bne lbl_802565EC +/* 802565C4 00253524 38 61 00 38 */ addi r3, r1, 0x38 +/* 802565C8 00253528 38 A4 0B 90 */ addi r5, r4, 0xb90 +/* 802565CC 0025352C 4B E2 22 ED */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 802565D0 00253530 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802565D4 00253534 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802565D8 00253538 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802565DC 0025353C D0 1F 00 00 */ stfs f0, 0(r31) +/* 802565E0 00253540 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802565E4 00253544 D0 5F 00 08 */ stfs f2, 8(r31) +/* 802565E8 00253548 48 00 00 28 */ b lbl_80256610 +lbl_802565EC: +/* 802565EC 0025354C 38 61 00 08 */ addi r3, r1, 8 +/* 802565F0 00253550 38 A4 0A 30 */ addi r5, r4, 0xa30 +/* 802565F4 00253554 4B E2 22 C5 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 802565F8 00253558 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802565FC 0025355C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80256600 00253560 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80256604 00253564 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80256608 00253568 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8025660C 0025356C D0 5F 00 08 */ stfs f2, 8(r31) +lbl_80256610: +/* 80256610 00253570 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80256614 00253574 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80256618 00253578 7C 08 03 A6 */ mtlr r0 +/* 8025661C 0025357C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80256620 00253580 4E 80 00 20 */ blr + +.global sub_80256624 +sub_80256624: +/* 80256624 00253584 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80256628 00253588 7C 08 02 A6 */ mflr r0 +/* 8025662C 0025358C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80256630 00253590 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 80256634 00253594 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 80256638 00253598 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8025663C 0025359C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80256640 002535A0 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80256644 002535A4 7C 7F 1B 78 */ mr r31, r3 +/* 80256648 002535A8 FF E0 08 90 */ fmr f31, f1 +/* 8025664C 002535AC 83 C3 0C E0 */ lwz r30, 0xce0(r3) +/* 80256650 002535B0 7C 9D 23 78 */ mr r29, r4 +/* 80256654 002535B4 28 1E 00 00 */ cmplwi r30, 0 +/* 80256658 002535B8 41 82 02 30 */ beq lbl_80256888 +/* 8025665C 002535BC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80256660 002535C0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80256664 002535C4 48 0B C5 DD */ bl GetRotation__12CTransform4fCFv +/* 80256668 002535C8 7F C3 F3 78 */ mr r3, r30 +/* 8025666C 002535CC 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80256670 002535D0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80256674 002535D4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80256678 002535D8 7D 89 03 A6 */ mtctr r12 +/* 8025667C 002535DC 4E 80 04 21 */ bctrl +/* 80256680 002535E0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80256684 002535E4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80256688 002535E8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025668C 002535EC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80256690 002535F0 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80256694 002535F4 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80256698 002535F8 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8025669C 002535FC 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 802566A0 00253600 81 83 00 00 */ lwz r12, 0(r3) +/* 802566A4 00253604 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802566A8 00253608 7D 89 03 A6 */ mtctr r12 +/* 802566AC 0025360C 4E 80 04 21 */ bctrl +/* 802566B0 00253610 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802566B4 00253614 38 81 00 28 */ addi r4, r1, 0x28 +/* 802566B8 00253618 C0 03 00 00 */ lfs f0, 0(r3) +/* 802566BC 0025361C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802566C0 00253620 C0 03 00 04 */ lfs f0, 4(r3) +/* 802566C4 00253624 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802566C8 00253628 C0 03 00 08 */ lfs f0, 8(r3) +/* 802566CC 0025362C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802566D0 00253630 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 802566D4 00253634 81 83 00 00 */ lwz r12, 0(r3) +/* 802566D8 00253638 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802566DC 0025363C 7D 89 03 A6 */ mtctr r12 +/* 802566E0 00253640 4E 80 04 21 */ bctrl +/* 802566E4 00253644 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 802566E8 00253648 81 83 00 00 */ lwz r12, 0(r3) +/* 802566EC 0025364C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 802566F0 00253650 7D 89 03 A6 */ mtctr r12 +/* 802566F4 00253654 4E 80 04 21 */ bctrl +/* 802566F8 00253658 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802566FC 0025365C 41 82 01 70 */ beq lbl_8025686C +/* 80256700 00253660 C0 3F 0D 08 */ lfs f1, 0xd08(r31) +/* 80256704 00253664 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80256708 00253668 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8025670C 0025366C D0 3F 0D 08 */ stfs f1, 0xd08(r31) +/* 80256710 00253670 C0 3F 0D 08 */ lfs f1, 0xd08(r31) +/* 80256714 00253674 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80256718 00253678 4C 40 13 82 */ cror 2, 0, 2 +/* 8025671C 0025367C 40 82 00 44 */ bne lbl_80256760 +/* 80256720 00253680 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256724 00253684 38 80 00 00 */ li r4, 0 +/* 80256728 00253688 81 83 00 00 */ lwz r12, 0(r3) +/* 8025672C 0025368C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80256730 00253690 7D 89 03 A6 */ mtctr r12 +/* 80256734 00253694 4E 80 04 21 */ bctrl +/* 80256738 00253698 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 8025673C 0025369C 28 00 00 00 */ cmplwi r0, 0 +/* 80256740 002536A0 41 82 01 2C */ beq lbl_8025686C +/* 80256744 002536A4 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 80256748 002536A8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025674C 002536AC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80256750 002536B0 48 09 37 35 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80256754 002536B4 38 00 00 00 */ li r0, 0 +/* 80256758 002536B8 90 1F 0D 0C */ stw r0, 0xd0c(r31) +/* 8025675C 002536BC 48 00 01 10 */ b lbl_8025686C +lbl_80256760: +/* 80256760 002536C0 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80256764 002536C4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80256768 002536C8 88 1F 0A 30 */ lbz r0, 0xa30(r31) +/* 8025676C 002536CC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80256770 002536D0 83 C4 00 10 */ lwz r30, 0x10(r4) +/* 80256774 002536D4 38 C0 00 00 */ li r6, 0 +/* 80256778 002536D8 98 01 00 0C */ stb r0, 0xc(r1) +/* 8025677C 002536DC 7F C4 F3 78 */ mr r4, r30 +/* 80256780 002536E0 4B DD 5A F5 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80256784 002536E4 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256788 002536E8 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 8025678C 002536EC 88 03 01 84 */ lbz r0, 0x184(r3) +/* 80256790 002536F0 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80256794 002536F4 28 00 00 00 */ cmplwi r0, 0 +/* 80256798 002536F8 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8025679C 002536FC 40 82 00 24 */ bne lbl_802567C0 +/* 802567A0 00253700 34 83 01 78 */ addic. r4, r3, 0x178 +/* 802567A4 00253704 41 82 00 10 */ beq lbl_802567B4 +/* 802567A8 00253708 D0 04 00 00 */ stfs f0, 0(r4) +/* 802567AC 0025370C D0 24 00 04 */ stfs f1, 4(r4) +/* 802567B0 00253710 D0 44 00 08 */ stfs f2, 8(r4) +lbl_802567B4: +/* 802567B4 00253714 38 00 00 01 */ li r0, 1 +/* 802567B8 00253718 98 03 01 84 */ stb r0, 0x184(r3) +/* 802567BC 0025371C 48 00 00 10 */ b lbl_802567CC +lbl_802567C0: +/* 802567C0 00253720 D0 03 01 78 */ stfs f0, 0x178(r3) +/* 802567C4 00253724 D0 23 01 7C */ stfs f1, 0x17c(r3) +/* 802567C8 00253728 D0 43 01 80 */ stfs f2, 0x180(r3) +lbl_802567CC: +/* 802567CC 0025372C 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 802567D0 00253730 38 80 00 00 */ li r4, 0 +/* 802567D4 00253734 80 7F 0C E4 */ lwz r3, 0xce4(r31) +/* 802567D8 00253738 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 802567DC 0025373C 38 A3 FF FF */ addi r5, r3, -1 +/* 802567E0 00253740 40 82 00 0C */ bne lbl_802567EC +/* 802567E4 00253744 38 A5 FF FA */ addi r5, r5, -6 +/* 802567E8 00253748 48 00 00 08 */ b lbl_802567F0 +lbl_802567EC: +/* 802567EC 0025374C 38 85 FF F4 */ addi r4, r5, -12 +lbl_802567F0: +/* 802567F0 00253750 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 802567F4 00253754 48 0B BD A1 */ bl Range__9CRandom16Fii +/* 802567F8 00253758 7C 7F 1A 14 */ add r3, r31, r3 +/* 802567FC 0025375C 7F C4 F3 78 */ mr r4, r30 +/* 80256800 00253760 88 03 0C E8 */ lbz r0, 0xce8(r3) +/* 80256804 00253764 38 61 00 40 */ addi r3, r1, 0x40 +/* 80256808 00253768 38 A1 00 08 */ addi r5, r1, 8 +/* 8025680C 0025376C 38 C0 00 00 */ li r6, 0 +/* 80256810 00253770 98 01 00 08 */ stb r0, 8(r1) +/* 80256814 00253774 4B DD 5A 61 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80256818 00253778 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 8025681C 0025377C C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80256820 00253780 88 03 01 A4 */ lbz r0, 0x1a4(r3) +/* 80256824 00253784 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 80256828 00253788 28 00 00 00 */ cmplwi r0, 0 +/* 8025682C 0025378C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80256830 00253790 40 82 00 24 */ bne lbl_80256854 +/* 80256834 00253794 34 83 01 98 */ addic. r4, r3, 0x198 +/* 80256838 00253798 41 82 00 10 */ beq lbl_80256848 +/* 8025683C 0025379C D0 04 00 00 */ stfs f0, 0(r4) +/* 80256840 002537A0 D0 24 00 04 */ stfs f1, 4(r4) +/* 80256844 002537A4 D0 44 00 08 */ stfs f2, 8(r4) +lbl_80256848: +/* 80256848 002537A8 38 00 00 01 */ li r0, 1 +/* 8025684C 002537AC 98 03 01 A4 */ stb r0, 0x1a4(r3) +/* 80256850 002537B0 48 00 00 10 */ b lbl_80256860 +lbl_80256854: +/* 80256854 002537B4 D0 03 01 98 */ stfs f0, 0x198(r3) +/* 80256858 002537B8 D0 23 01 9C */ stfs f1, 0x19c(r3) +/* 8025685C 002537BC D0 43 01 A0 */ stfs f2, 0x1a0(r3) +lbl_80256860: +/* 80256860 002537C0 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256864 002537C4 38 80 00 01 */ li r4, 1 +/* 80256868 002537C8 48 10 86 D5 */ bl ForceParticleCreation__17CParticleElectricFi +lbl_8025686C: +/* 8025686C 002537CC 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256870 002537D0 FC 20 F8 90 */ fmr f1, f31 +/* 80256874 002537D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80256878 002537D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8025687C 002537DC 7D 89 03 A6 */ mtctr r12 +/* 80256880 002537E0 4E 80 04 21 */ bctrl +/* 80256884 002537E4 48 00 00 28 */ b lbl_802568AC +lbl_80256888: +/* 80256888 002537E8 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 8025688C 002537EC 28 00 00 00 */ cmplwi r0, 0 +/* 80256890 002537F0 41 82 00 1C */ beq lbl_802568AC +/* 80256894 002537F4 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 80256898 002537F8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025689C 002537FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802568A0 00253800 48 09 35 E5 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 802568A4 00253804 38 00 00 00 */ li r0, 0 +/* 802568A8 00253808 90 1F 0D 0C */ stw r0, 0xd0c(r31) +lbl_802568AC: +/* 802568AC 0025380C 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 802568B0 00253810 28 00 00 00 */ cmplwi r0, 0 +/* 802568B4 00253814 41 82 00 3C */ beq lbl_802568F0 +/* 802568B8 00253818 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802568BC 0025381C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802568C0 00253820 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802568C4 00253824 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802568C8 00253828 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802568CC 0025382C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802568D0 00253830 38 81 00 1C */ addi r4, r1, 0x1c +/* 802568D4 00253834 38 C0 00 7F */ li r6, 0x7f +/* 802568D8 00253838 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802568DC 0025383C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802568E0 00253840 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802568E4 00253844 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 802568E8 00253848 90 01 00 10 */ stw r0, 0x10(r1) +/* 802568EC 0025384C 48 09 35 C5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_802568F0: +/* 802568F0 00253850 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802568F4 00253854 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802568F8 00253858 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802568FC 0025385C 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80256900 00253860 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80256904 00253864 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80256908 00253868 7C 08 03 A6 */ mtlr r0 +/* 8025690C 0025386C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80256910 00253870 4E 80 00 20 */ blr + +.global sub_80256914 +sub_80256914: +/* 80256914 00253874 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80256918 00253878 7C 08 02 A6 */ mflr r0 +/* 8025691C 0025387C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80256920 00253880 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80256924 00253884 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80256928 00253888 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025692C 0025388C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80256930 00253890 7C 7E 1B 78 */ mr r30, r3 +/* 80256934 00253894 FF E0 08 90 */ fmr f31, f1 +/* 80256938 00253898 80 63 0C E0 */ lwz r3, 0xce0(r3) +/* 8025693C 0025389C 7C 9F 23 78 */ mr r31, r4 +/* 80256940 002538A0 28 03 00 00 */ cmplwi r3, 0 +/* 80256944 002538A4 41 82 00 18 */ beq lbl_8025695C +/* 80256948 002538A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8025694C 002538AC 38 80 00 01 */ li r4, 1 +/* 80256950 002538B0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80256954 002538B4 7D 89 03 A6 */ mtctr r12 +/* 80256958 002538B8 4E 80 04 21 */ bctrl +lbl_8025695C: +/* 8025695C 002538BC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80256960 002538C0 41 82 00 10 */ beq lbl_80256970 +/* 80256964 002538C4 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) +/* 80256968 002538C8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8025696C 002538CC 48 00 00 08 */ b lbl_80256974 +lbl_80256970: +/* 80256970 002538D0 FC 00 F8 90 */ fmr f0, f31 +lbl_80256974: +/* 80256974 002538D4 D0 1E 0D 08 */ stfs f0, 0xd08(r30) +/* 80256978 002538D8 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 8025697C 002538DC 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e +/* 80256980 002538E0 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80256984 002538E4 80 1E 0D 0C */ lwz r0, 0xd0c(r30) +/* 80256988 002538E8 28 00 00 00 */ cmplwi r0, 0 +/* 8025698C 002538EC 40 82 00 C0 */ bne lbl_80256A4C +/* 80256990 002538F0 C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) +/* 80256994 002538F4 39 60 00 00 */ li r11, 0 +/* 80256998 002538F8 C0 82 B9 90 */ lfs f4, lbl_805AD6B0@sda21(r2) +/* 8025699C 002538FC 39 80 00 01 */ li r12, 1 +/* 802569A0 00253900 C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) +/* 802569A4 00253904 39 40 00 7F */ li r10, 0x7f +/* 802569A8 00253908 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 802569AC 0025390C 39 20 00 3F */ li r9, 0x3f +/* 802569B0 00253910 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802569B4 00253914 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802569B8 00253918 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 802569BC 0025391C A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 802569C0 00253920 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802569C4 00253924 38 61 00 08 */ addi r3, r1, 8 +/* 802569C8 00253928 C0 48 00 00 */ lfs f2, 0(r8) +/* 802569CC 0025392C 38 81 00 0C */ addi r4, r1, 0xc +/* 802569D0 00253930 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 802569D4 00253934 38 A0 00 01 */ li r5, 1 +/* 802569D8 00253938 C0 28 00 04 */ lfs f1, 4(r8) +/* 802569DC 0025393C 38 E0 00 01 */ li r7, 1 +/* 802569E0 00253940 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802569E4 00253944 C0 08 00 08 */ lfs f0, 8(r8) +/* 802569E8 00253948 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 802569EC 0025394C 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) +/* 802569F0 00253950 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 802569F4 00253954 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802569F8 00253958 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802569FC 0025395C 91 81 00 2C */ stw r12, 0x2c(r1) +/* 80256A00 00253960 B1 61 00 30 */ sth r11, 0x30(r1) +/* 80256A04 00253964 99 41 00 32 */ stb r10, 0x32(r1) +/* 80256A08 00253968 99 21 00 33 */ stb r9, 0x33(r1) +/* 80256A0C 0025396C 99 61 00 34 */ stb r11, 0x34(r1) +/* 80256A10 00253970 98 01 00 35 */ stb r0, 0x35(r1) +/* 80256A14 00253974 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 80256A18 00253978 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80256A1C 0025397C C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80256A20 00253980 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80256A24 00253984 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80256A28 00253988 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80256A2C 0025398C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80256A30 00253990 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80256A34 00253994 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80256A38 00253998 A0 1E 09 60 */ lhz r0, 0x960(r30) +/* 80256A3C 0025399C B0 01 00 30 */ sth r0, 0x30(r1) +/* 80256A40 002539A0 48 09 35 A1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 80256A44 002539A4 80 01 00 08 */ lwz r0, 8(r1) +/* 80256A48 002539A8 90 1E 0D 0C */ stw r0, 0xd0c(r30) +lbl_80256A4C: +/* 80256A4C 002539AC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80256A50 002539B0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80256A54 002539B4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80256A58 002539B8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80256A5C 002539BC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80256A60 002539C0 7C 08 03 A6 */ mtlr r0 +/* 80256A64 002539C4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80256A68 002539C8 4E 80 00 20 */ blr + +.global sub_80256a6c +sub_80256a6c: +/* 80256A6C 002539CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80256A70 002539D0 7C 08 02 A6 */ mflr r0 +/* 80256A74 002539D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80256A78 002539D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256A7C 002539DC 7C BF 2B 78 */ mr r31, r5 +/* 80256A80 002539E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80256A84 002539E4 7C 9E 23 78 */ mr r30, r4 +/* 80256A88 002539E8 38 81 00 08 */ addi r4, r1, 8 +/* 80256A8C 002539EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80256A90 002539F0 7C 7D 1B 78 */ mr r29, r3 +/* 80256A94 002539F4 A0 03 0B 64 */ lhz r0, 0xb64(r3) +/* 80256A98 002539F8 7F C3 F3 78 */ mr r3, r30 +/* 80256A9C 002539FC B0 01 00 08 */ sth r0, 8(r1) +/* 80256AA0 00253A00 4B DF 5A D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80256AA4 00253A04 28 03 00 00 */ cmplwi r3, 0 +/* 80256AA8 00253A08 41 82 00 2C */ beq lbl_80256AD4 +/* 80256AAC 00253A0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80256AB0 00253A10 7F C4 F3 78 */ mr r4, r30 +/* 80256AB4 00253A14 7F E5 FB 78 */ mr r5, r31 +/* 80256AB8 00253A18 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80256ABC 00253A1C 7D 89 03 A6 */ mtctr r12 +/* 80256AC0 00253A20 4E 80 04 21 */ bctrl +/* 80256AC4 00253A24 88 1D 0A 31 */ lbz r0, 0xa31(r29) +/* 80256AC8 00253A28 38 60 00 00 */ li r3, 0 +/* 80256ACC 00253A2C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80256AD0 00253A30 98 1D 0A 31 */ stb r0, 0xa31(r29) +lbl_80256AD4: +/* 80256AD4 00253A34 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256AD8 00253A38 28 00 00 00 */ cmplwi r0, 0 +/* 80256ADC 00253A3C 41 82 00 1C */ beq lbl_80256AF8 +/* 80256AE0 00253A40 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256AE4 00253A44 38 61 00 0C */ addi r3, r1, 0xc +/* 80256AE8 00253A48 90 01 00 0C */ stw r0, 0xc(r1) +/* 80256AEC 00253A4C 48 09 33 99 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80256AF0 00253A50 38 00 00 00 */ li r0, 0 +/* 80256AF4 00253A54 90 1D 0C A8 */ stw r0, 0xca8(r29) +lbl_80256AF8: +/* 80256AF8 00253A58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80256AFC 00253A5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80256B00 00253A60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80256B04 00253A64 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80256B08 00253A68 7C 08 03 A6 */ mtlr r0 +/* 80256B0C 00253A6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80256B10 00253A70 4E 80 00 20 */ blr + +.global sub_80256b14 +sub_80256b14: +/* 80256B14 00253A74 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 80256B18 00253A78 7C 08 02 A6 */ mflr r0 +/* 80256B1C 00253A7C 90 01 01 44 */ stw r0, 0x144(r1) +/* 80256B20 00253A80 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 80256B24 00253A84 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 80256B28 00253A88 93 E1 01 2C */ stw r31, 0x12c(r1) +/* 80256B2C 00253A8C 93 C1 01 28 */ stw r30, 0x128(r1) +/* 80256B30 00253A90 93 A1 01 24 */ stw r29, 0x124(r1) +/* 80256B34 00253A94 7C 7D 1B 78 */ mr r29, r3 +/* 80256B38 00253A98 7C 9E 23 78 */ mr r30, r4 +/* 80256B3C 00253A9C A0 03 0B 64 */ lhz r0, 0xb64(r3) +/* 80256B40 00253AA0 FF E0 08 90 */ fmr f31, f1 +/* 80256B44 00253AA4 7F C3 F3 78 */ mr r3, r30 +/* 80256B48 00253AA8 38 81 00 08 */ addi r4, r1, 8 +/* 80256B4C 00253AAC B0 01 00 08 */ sth r0, 8(r1) +/* 80256B50 00253AB0 4B DF 5A 25 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80256B54 00253AB4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80256B58 00253AB8 41 82 01 F4 */ beq lbl_80256D4C +/* 80256B5C 00253ABC 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80256B60 00253AC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80256B64 00253AC4 41 82 01 E8 */ beq lbl_80256D4C +/* 80256B68 00253AC8 7F A4 EB 78 */ mr r4, r29 +/* 80256B6C 00253ACC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80256B70 00253AD0 38 BD 0B 91 */ addi r5, r29, 0xb91 +/* 80256B74 00253AD4 4B E2 1D 45 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80256B78 00253AD8 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80256B7C 00253ADC 38 81 00 88 */ addi r4, r1, 0x88 +/* 80256B80 00253AE0 48 0B BF F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80256B84 00253AE4 80 1D 0C 64 */ lwz r0, 0xc64(r29) +/* 80256B88 00253AE8 2C 00 00 03 */ cmpwi r0, 3 +/* 80256B8C 00253AEC 40 82 00 28 */ bne lbl_80256BB4 +/* 80256B90 00253AF0 7F E3 FB 78 */ mr r3, r31 +/* 80256B94 00253AF4 FC 20 F8 90 */ fmr f1, f31 +/* 80256B98 00253AF8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80256B9C 00253AFC 7F C5 F3 78 */ mr r5, r30 +/* 80256BA0 00253B00 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80256BA4 00253B04 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80256BA8 00253B08 7D 89 03 A6 */ mtctr r12 +/* 80256BAC 00253B0C 4E 80 04 21 */ bctrl +/* 80256BB0 00253B10 48 00 01 9C */ b lbl_80256D4C +lbl_80256BB4: +/* 80256BB4 00253B14 C0 41 00 F4 */ lfs f2, 0xf4(r1) +/* 80256BB8 00253B18 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80256BBC 00253B1C C0 21 01 04 */ lfs f1, 0x104(r1) +/* 80256BC0 00253B20 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80256BC4 00253B24 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 80256BC8 00253B28 38 61 00 58 */ addi r3, r1, 0x58 +/* 80256BCC 00253B2C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80256BD0 00253B30 38 81 00 3C */ addi r4, r1, 0x3c +/* 80256BD4 00253B34 38 BD 0B E4 */ addi r5, r29, 0xbe4 +/* 80256BD8 00253B38 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80256BDC 00253B3C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80256BE0 00253B40 48 0B CF 31 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80256BE4 00253B44 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80256BE8 00253B48 38 81 00 58 */ addi r4, r1, 0x58 +/* 80256BEC 00253B4C 48 0B BF 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80256BF0 00253B50 7F E3 FB 78 */ mr r3, r31 +/* 80256BF4 00253B54 FC 20 F8 90 */ fmr f1, f31 +/* 80256BF8 00253B58 81 9F 00 00 */ lwz r12, 0(r31) +/* 80256BFC 00253B5C 7F C5 F3 78 */ mr r5, r30 +/* 80256C00 00253B60 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80256C04 00253B64 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80256C08 00253B68 7D 89 03 A6 */ mtctr r12 +/* 80256C0C 00253B6C 4E 80 04 21 */ bctrl +/* 80256C10 00253B70 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80256C14 00253B74 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80256C18 00253B78 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l +/* 80256C1C 00253B7C C1 3D 0B F0 */ lfs f9, 0xbf0(r29) +/* 80256C20 00253B80 C1 83 00 08 */ lfs f12, 8(r3) +/* 80256C24 00253B84 C1 63 00 04 */ lfs f11, 4(r3) +/* 80256C28 00253B88 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 80256C2C 00253B8C EC 4C 02 72 */ fmuls f2, f12, f9 +/* 80256C30 00253B90 C0 BD 0B F8 */ lfs f5, 0xbf8(r29) +/* 80256C34 00253B94 C1 43 00 00 */ lfs f10, 0(r3) +/* 80256C38 00253B98 EC 20 58 2A */ fadds f1, f0, f11 +/* 80256C3C 00253B9C C0 64 00 40 */ lfs f3, 0x40(r4) +/* 80256C40 00253BA0 EC 8B 01 72 */ fmuls f4, f11, f5 +/* 80256C44 00253BA4 C0 FD 0B F4 */ lfs f7, 0xbf4(r29) +/* 80256C48 00253BA8 EC 45 12 B8 */ fmsubs f2, f5, f10, f2 +/* 80256C4C 00253BAC C0 1D 0B E8 */ lfs f0, 0xbe8(r29) +/* 80256C50 00253BB0 C0 C4 00 60 */ lfs f6, 0x60(r4) +/* 80256C54 00253BB4 ED 0A 01 F2 */ fmuls f8, f10, f7 +/* 80256C58 00253BB8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80256C5C 00253BBC C0 1D 0B E4 */ lfs f0, 0xbe4(r29) +/* 80256C60 00253BC0 EC 63 50 2A */ fadds f3, f3, f10 +/* 80256C64 00253BC4 C0 BD 0B EC */ lfs f5, 0xbec(r29) +/* 80256C68 00253BC8 EC C6 60 2A */ fadds f6, f6, f12 +/* 80256C6C 00253BCC EC 87 23 38 */ fmsubs f4, f7, f12, f4 +/* 80256C70 00253BD0 EC 63 00 28 */ fsubs f3, f3, f0 +/* 80256C74 00253BD4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80256C78 00253BD8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80256C7C 00253BDC C0 E2 B9 98 */ lfs f7, lbl_805AD6B8@sda21(r2) +/* 80256C80 00253BE0 ED 09 42 F8 */ fmsubs f8, f9, f11, f8 +/* 80256C84 00253BE4 EC 46 28 28 */ fsubs f2, f6, f5 +/* 80256C88 00253BE8 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80256C8C 00253BEC EC 28 08 BA */ fmadds f1, f8, f2, f1 +/* 80256C90 00253BF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80256C94 00253BF4 40 81 00 10 */ ble lbl_80256CA4 +/* 80256C98 00253BF8 C0 1D 0C 10 */ lfs f0, 0xc10(r29) +/* 80256C9C 00253BFC FC 00 00 50 */ fneg f0, f0 +/* 80256CA0 00253C00 48 00 00 08 */ b lbl_80256CA8 +lbl_80256CA4: +/* 80256CA4 00253C04 C0 1D 0C 10 */ lfs f0, 0xc10(r29) +lbl_80256CA8: +/* 80256CA8 00253C08 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80256CAC 00253C0C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80256CB0 00253C10 38 81 00 10 */ addi r4, r1, 0x10 +/* 80256CB4 00253C14 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80256CB8 00253C18 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80256CBC 00253C1C 48 0B A4 3D */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80256CC0 00253C20 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 80256CC4 00253C24 38 61 00 20 */ addi r3, r1, 0x20 +/* 80256CC8 00253C28 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80256CCC 00253C2C 38 81 00 48 */ addi r4, r1, 0x48 +/* 80256CD0 00253C30 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80256CD4 00253C34 38 BD 0B F0 */ addi r5, r29, 0xbf0 +/* 80256CD8 00253C38 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80256CDC 00253C3C D0 61 00 48 */ stfs f3, 0x48(r1) +/* 80256CE0 00253C40 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80256CE4 00253C44 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80256CE8 00253C48 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80256CEC 00253C4C 48 0B A5 79 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80256CF0 00253C50 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 80256CF4 00253C54 C0 5D 0C 00 */ lfs f2, 0xc00(r29) +/* 80256CF8 00253C58 C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 80256CFC 00253C5C EC 02 01 32 */ fmuls f0, f2, f4 +/* 80256D00 00253C60 C0 FD 0B FC */ lfs f7, 0xbfc(r29) +/* 80256D04 00253C64 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 80256D08 00253C68 C1 1D 0C 04 */ lfs f8, 0xc04(r29) +/* 80256D0C 00253C6C EC 27 01 BA */ fmadds f1, f7, f6, f0 +/* 80256D10 00253C70 C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) +/* 80256D14 00253C74 EC 68 09 7A */ fmadds f3, f8, f5, f1 +/* 80256D18 00253C78 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80256D1C 00253C7C 41 81 00 24 */ bgt lbl_80256D40 +/* 80256D20 00253C80 C0 1D 0B F4 */ lfs f0, 0xbf4(r29) +/* 80256D24 00253C84 C0 3D 0B F0 */ lfs f1, 0xbf0(r29) +/* 80256D28 00253C88 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80256D2C 00253C8C C0 5D 0B F8 */ lfs f2, 0xbf8(r29) +/* 80256D30 00253C90 EC 07 00 7A */ fmadds f0, f7, f1, f0 +/* 80256D34 00253C94 EC 08 00 BA */ fmadds f0, f8, f2, f0 +/* 80256D38 00253C98 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80256D3C 00253C9C 40 81 00 10 */ ble lbl_80256D4C +lbl_80256D40: +/* 80256D40 00253CA0 D0 DD 0B F0 */ stfs f6, 0xbf0(r29) +/* 80256D44 00253CA4 D0 9D 0B F4 */ stfs f4, 0xbf4(r29) +/* 80256D48 00253CA8 D0 BD 0B F8 */ stfs f5, 0xbf8(r29) +lbl_80256D4C: +/* 80256D4C 00253CAC 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256D50 00253CB0 28 00 00 00 */ cmplwi r0, 0 +/* 80256D54 00253CB4 41 82 00 3C */ beq lbl_80256D90 +/* 80256D58 00253CB8 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80256D5C 00253CBC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80256D60 00253CC0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80256D64 00253CC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80256D68 00253CC8 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80256D6C 00253CCC 38 61 00 0C */ addi r3, r1, 0xc +/* 80256D70 00253CD0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80256D74 00253CD4 38 C0 00 7F */ li r6, 0x7f +/* 80256D78 00253CD8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80256D7C 00253CDC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80256D80 00253CE0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80256D84 00253CE4 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256D88 00253CE8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80256D8C 00253CEC 48 09 31 25 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80256D90: +/* 80256D90 00253CF0 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 80256D94 00253CF4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 80256D98 00253CF8 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 80256D9C 00253CFC 83 E1 01 2C */ lwz r31, 0x12c(r1) +/* 80256DA0 00253D00 83 C1 01 28 */ lwz r30, 0x128(r1) +/* 80256DA4 00253D04 83 A1 01 24 */ lwz r29, 0x124(r1) +/* 80256DA8 00253D08 7C 08 03 A6 */ mtlr r0 +/* 80256DAC 00253D0C 38 21 01 40 */ addi r1, r1, 0x140 +/* 80256DB0 00253D10 4E 80 00 20 */ blr + +.global sub_80256db4 +sub_80256db4: +/* 80256DB4 00253D14 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80256DB8 00253D18 7C 08 02 A6 */ mflr r0 +/* 80256DBC 00253D1C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80256DC0 00253D20 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80256DC4 00253D24 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80256DC8 00253D28 7C 9E 23 78 */ mr r30, r4 +/* 80256DCC 00253D2C 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80256DD0 00253D30 7C 7D 1B 78 */ mr r29, r3 +/* 80256DD4 00253D34 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 80256DD8 00253D38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80256DDC 00253D3C A0 63 0B 64 */ lhz r3, 0xb64(r3) +/* 80256DE0 00253D40 7C 03 00 40 */ cmplw r3, r0 +/* 80256DE4 00253D44 40 82 01 20 */ bne lbl_80256F04 +/* 80256DE8 00253D48 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80256DEC 00253D4C 3B 80 00 00 */ li r28, 0 +/* 80256DF0 00253D50 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 80256DF4 00253D54 38 60 05 50 */ li r3, 0x550 +/* 80256DF8 00253D58 38 84 00 85 */ addi r4, r4, 0x85 +/* 80256DFC 00253D5C 38 A0 00 00 */ li r5, 0 +/* 80256E00 00253D60 48 0B EA 6D */ bl __nw__FUlPCcPCc +/* 80256E04 00253D64 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80256E08 00253D68 41 82 00 D0 */ beq lbl_80256ED8 +/* 80256E0C 00253D6C 38 00 FF FF */ li r0, -1 +/* 80256E10 00253D70 38 60 00 08 */ li r3, 8 +/* 80256E14 00253D74 90 61 00 80 */ stw r3, 0x80(r1) +/* 80256E18 00253D78 7F C4 F3 78 */ mr r4, r30 +/* 80256E1C 00253D7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80256E20 00253D80 90 01 00 84 */ stw r0, 0x84(r1) +/* 80256E24 00253D84 90 01 00 88 */ stw r0, 0x88(r1) +/* 80256E28 00253D88 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80256E2C 00253D8C 90 01 00 90 */ stw r0, 0x90(r1) +/* 80256E30 00253D90 90 01 00 94 */ stw r0, 0x94(r1) +/* 80256E34 00253D94 90 01 00 98 */ stw r0, 0x98(r1) +/* 80256E38 00253D98 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80256E3C 00253D9C 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80256E40 00253DA0 A0 BD 00 08 */ lhz r5, 8(r29) +/* 80256E44 00253DA4 B0 A1 00 30 */ sth r5, 0x30(r1) +/* 80256E48 00253DA8 80 1D 00 04 */ lwz r0, 4(r29) +/* 80256E4C 00253DAC B0 A1 00 2C */ sth r5, 0x2c(r1) +/* 80256E50 00253DB0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80256E54 00253DB4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80256E58 00253DB8 4B DF 62 85 */ bl AllocateUniqueId__13CStateManagerFv +/* 80256E5C 00253DBC A0 01 00 24 */ lhz r0, 0x24(r1) +/* 80256E60 00253DC0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80256E64 00253DC4 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 80256E68 00253DC8 38 61 00 40 */ addi r3, r1, 0x40 +/* 80256E6C 00253DCC B0 01 00 28 */ sth r0, 0x28(r1) +/* 80256E70 00253DD0 38 84 00 8C */ addi r4, r4, 0x8c +/* 80256E74 00253DD4 4B DA DE 45 */ bl string_l__4rstlFPCc +/* 80256E78 00253DD8 38 01 00 28 */ addi r0, r1, 0x28 +/* 80256E7C 00253DDC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80256E80 00253DE0 90 01 00 08 */ stw r0, 8(r1) +/* 80256E84 00253DE4 38 01 00 3C */ addi r0, r1, 0x3c +/* 80256E88 00253DE8 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80256E8C 00253DEC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80256E90 00253DF0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80256E94 00253DF4 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80256E98 00253DF8 38 C0 00 00 */ li r6, 0 +/* 80256E9C 00253DFC 3C 00 00 02 */ lis r0, 2 +/* 80256EA0 00253E00 90 61 00 10 */ stw r3, 0x10(r1) +/* 80256EA4 00253E04 7F E3 FB 78 */ mr r3, r31 +/* 80256EA8 00253E08 38 9D 0B 68 */ addi r4, r29, 0xb68 +/* 80256EAC 00253E0C 38 FD 05 CC */ addi r7, r29, 0x5cc +/* 80256EB0 00253E10 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80256EB4 00253E14 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80256EB8 00253E18 39 5D 0B 74 */ addi r10, r29, 0xb74 +/* 80256EBC 00253E1C 3B 80 00 01 */ li r28, 1 +/* 80256EC0 00253E20 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80256EC4 00253E24 38 C0 00 09 */ li r6, 9 +/* 80256EC8 00253E28 39 20 00 21 */ li r9, 0x21 +/* 80256ECC 00253E2C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80256ED0 00253E30 4B F2 1D 59 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" +/* 80256ED4 00253E34 7C 7F 1B 78 */ mr r31, r3 +lbl_80256ED8: +/* 80256ED8 00253E38 7F 80 07 75 */ extsb. r0, r28 +/* 80256EDC 00253E3C 41 82 00 0C */ beq lbl_80256EE8 +/* 80256EE0 00253E40 38 61 00 40 */ addi r3, r1, 0x40 +/* 80256EE4 00253E44 48 0E 6B FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80256EE8: +/* 80256EE8 00253E48 28 1F 00 00 */ cmplwi r31, 0 +/* 80256EEC 00253E4C 41 82 00 18 */ beq lbl_80256F04 +/* 80256EF0 00253E50 7F C3 F3 78 */ mr r3, r30 +/* 80256EF4 00253E54 7F E4 FB 78 */ mr r4, r31 +/* 80256EF8 00253E58 4B DF 5C 1D */ bl AddObject__13CStateManagerFR7CEntity +/* 80256EFC 00253E5C A0 1F 00 08 */ lhz r0, 8(r31) +/* 80256F00 00253E60 B0 1D 0B 64 */ sth r0, 0xb64(r29) +lbl_80256F04: +/* 80256F04 00253E64 A0 1D 0B 64 */ lhz r0, 0xb64(r29) +/* 80256F08 00253E68 7F C3 F3 78 */ mr r3, r30 +/* 80256F0C 00253E6C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80256F10 00253E70 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80256F14 00253E74 4B DF 56 61 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80256F18 00253E78 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80256F1C 00253E7C 41 82 01 08 */ beq lbl_80257024 +/* 80256F20 00253E80 7F A4 EB 78 */ mr r4, r29 +/* 80256F24 00253E84 38 61 00 50 */ addi r3, r1, 0x50 +/* 80256F28 00253E88 38 BD 0B 91 */ addi r5, r29, 0xb91 +/* 80256F2C 00253E8C 4B E2 19 8D */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80256F30 00253E90 7F E3 FB 78 */ mr r3, r31 +/* 80256F34 00253E94 7F C5 F3 78 */ mr r5, r30 +/* 80256F38 00253E98 81 9F 00 00 */ lwz r12, 0(r31) +/* 80256F3C 00253E9C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80256F40 00253EA0 38 C0 00 00 */ li r6, 0 +/* 80256F44 00253EA4 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 80256F48 00253EA8 7D 89 03 A6 */ mtctr r12 +/* 80256F4C 00253EAC 4E 80 04 21 */ bctrl +/* 80256F50 00253EB0 88 1D 0A 31 */ lbz r0, 0xa31(r29) +/* 80256F54 00253EB4 39 80 00 01 */ li r12, 1 +/* 80256F58 00253EB8 51 80 17 7A */ rlwimi r0, r12, 2, 0x1d, 0x1d +/* 80256F5C 00253EBC 98 1D 0A 31 */ stb r0, 0xa31(r29) +/* 80256F60 00253EC0 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256F64 00253EC4 28 00 00 00 */ cmplwi r0, 0 +/* 80256F68 00253EC8 40 82 00 BC */ bne lbl_80257024 +/* 80256F6C 00253ECC C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) +/* 80256F70 00253ED0 39 60 00 00 */ li r11, 0 +/* 80256F74 00253ED4 C0 82 B9 9C */ lfs f4, lbl_805AD6BC@sda21(r2) +/* 80256F78 00253ED8 39 40 00 7F */ li r10, 0x7f +/* 80256F7C 00253EDC C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) +/* 80256F80 00253EE0 39 20 00 3F */ li r9, 0x3f +/* 80256F84 00253EE4 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 80256F88 00253EE8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80256F8C 00253EEC 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80256F90 00253EF0 D0 A1 00 A4 */ stfs f5, 0xa4(r1) +/* 80256F94 00253EF4 C0 46 00 00 */ lfs f2, 0(r6) +/* 80256F98 00253EF8 38 61 00 34 */ addi r3, r1, 0x34 +/* 80256F9C 00253EFC D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 80256FA0 00253F00 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80256FA4 00253F04 C0 26 00 04 */ lfs f1, 4(r6) +/* 80256FA8 00253F08 38 A0 00 01 */ li r5, 1 +/* 80256FAC 00253F0C D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 80256FB0 00253F10 38 E0 00 01 */ li r7, 1 +/* 80256FB4 00253F14 C0 06 00 08 */ lfs f0, 8(r6) +/* 80256FB8 00253F18 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 80256FBC 00253F1C A8 C2 C5 F8 */ lha r6, lbl_805AE318@sda21(r2) +/* 80256FC0 00253F20 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 80256FC4 00253F24 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) +/* 80256FC8 00253F28 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 80256FCC 00253F2C D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 80256FD0 00253F30 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 80256FD4 00253F34 91 81 00 C4 */ stw r12, 0xc4(r1) +/* 80256FD8 00253F38 B1 61 00 C8 */ sth r11, 0xc8(r1) +/* 80256FDC 00253F3C 99 41 00 CA */ stb r10, 0xca(r1) +/* 80256FE0 00253F40 99 21 00 CB */ stb r9, 0xcb(r1) +/* 80256FE4 00253F44 99 61 00 CC */ stb r11, 0xcc(r1) +/* 80256FE8 00253F48 98 01 00 CD */ stb r0, 0xcd(r1) +/* 80256FEC 00253F4C C0 BD 00 60 */ lfs f5, 0x60(r29) +/* 80256FF0 00253F50 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 80256FF4 00253F54 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 80256FF8 00253F58 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 80256FFC 00253F5C D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 80257000 00253F60 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 80257004 00253F64 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80257008 00253F68 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8025700C 00253F6C D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80257010 00253F70 A0 1D 06 10 */ lhz r0, 0x610(r29) +/* 80257014 00253F74 B0 01 00 C8 */ sth r0, 0xc8(r1) +/* 80257018 00253F78 48 09 2F C9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8025701C 00253F7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257020 00253F80 90 1D 0C A8 */ stw r0, 0xca8(r29) +lbl_80257024: +/* 80257024 00253F84 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80257028 00253F88 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8025702C 00253F8C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80257030 00253F90 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80257034 00253F94 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 80257038 00253F98 7C 08 03 A6 */ mtlr r0 +/* 8025703C 00253F9C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80257040 00253FA0 4E 80 00 20 */ blr + +.global sub_80257044 +sub_80257044: +/* 80257044 00253FA4 94 21 FD E0 */ stwu r1, -0x220(r1) +/* 80257048 00253FA8 7C 08 02 A6 */ mflr r0 +/* 8025704C 00253FAC 90 01 02 24 */ stw r0, 0x224(r1) +/* 80257050 00253FB0 DB E1 02 10 */ stfd f31, 0x210(r1) +/* 80257054 00253FB4 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 +/* 80257058 00253FB8 BF 01 01 F0 */ stmw r24, 0x1f0(r1) +/* 8025705C 00253FBC 38 A0 00 00 */ li r5, 0 +/* 80257060 00253FC0 7C 7D 1B 78 */ mr r29, r3 +/* 80257064 00253FC4 90 A1 01 38 */ stw r5, 0x138(r1) +/* 80257068 00253FC8 7C 9E 23 78 */ mr r30, r4 +/* 8025706C 00253FCC 80 6D 97 64 */ lwz r3, lbl_805A8324@sda21(r13) +/* 80257070 00253FD0 38 8D 97 64 */ addi r4, r13, lbl_805A8324@sda21 +/* 80257074 00253FD4 80 0D 97 68 */ lwz r0, lbl_805A8328@sda21(r13) +/* 80257078 00253FD8 90 A1 01 3C */ stw r5, 0x13c(r1) +/* 8025707C 00253FDC 7C 03 00 40 */ cmplw r3, r0 +/* 80257080 00253FE0 90 A1 01 40 */ stw r5, 0x140(r1) +/* 80257084 00253FE4 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80257088 00253FE8 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8025708C 00253FEC 40 80 00 08 */ bge lbl_80257094 +/* 80257090 00253FF0 38 8D 97 68 */ addi r4, r13, lbl_805A8328@sda21 +lbl_80257094: +/* 80257094 00253FF4 80 84 00 00 */ lwz r4, 0(r4) +/* 80257098 00253FF8 38 61 01 34 */ addi r3, r1, 0x134 +/* 8025709C 00253FFC 4B EF F7 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 802570A0 00254000 80 01 01 38 */ lwz r0, 0x138(r1) +/* 802570A4 00254004 83 01 01 40 */ lwz r24, 0x140(r1) +/* 802570A8 00254008 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802570AC 0025400C 93 01 00 44 */ stw r24, 0x44(r1) +/* 802570B0 00254010 7F 98 02 14 */ add r28, r24, r0 +/* 802570B4 00254014 93 01 00 40 */ stw r24, 0x40(r1) +/* 802570B8 00254018 93 81 00 4C */ stw r28, 0x4c(r1) +/* 802570BC 0025401C 93 81 00 48 */ stw r28, 0x48(r1) +/* 802570C0 00254020 48 00 00 20 */ b lbl_802570E0 +lbl_802570C4: +/* 802570C4 00254024 28 18 00 00 */ cmplwi r24, 0 +/* 802570C8 00254028 41 82 00 14 */ beq lbl_802570DC +/* 802570CC 0025402C 34 18 00 2C */ addic. r0, r24, 0x2c +/* 802570D0 00254030 41 82 00 0C */ beq lbl_802570DC +/* 802570D4 00254034 38 78 00 2C */ addi r3, r24, 0x2c +/* 802570D8 00254038 48 0E 6A 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802570DC: +/* 802570DC 0025403C 3B 18 00 44 */ addi r24, r24, 0x44 +lbl_802570E0: +/* 802570E0 00254040 7C 18 E0 40 */ cmplw r24, r28 +/* 802570E4 00254044 40 82 FF E0 */ bne lbl_802570C4 +/* 802570E8 00254048 38 00 00 00 */ li r0, 0 +/* 802570EC 0025404C 3C 60 80 3D */ lis r3, lbl_803D4B98@ha +/* 802570F0 00254050 3B 03 4B 98 */ addi r24, r3, lbl_803D4B98@l +/* 802570F4 00254054 90 01 01 38 */ stw r0, 0x138(r1) +/* 802570F8 00254058 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 802570FC 0025405C 3B 21 01 D0 */ addi r25, r1, 0x1d0 +/* 80257100 00254060 3B 83 4D 5C */ addi r28, r3, lbl_803D4D5C@l +/* 80257104 00254064 3B 40 00 00 */ li r26, 0 +lbl_80257108: +/* 80257108 00254068 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 8025710C 0025406C 38 61 01 18 */ addi r3, r1, 0x118 +/* 80257110 00254070 C0 18 00 08 */ lfs f0, 8(r24) +/* 80257114 00254074 C0 24 00 08 */ lfs f1, 8(r4) +/* 80257118 00254078 C0 64 00 00 */ lfs f3, 0(r4) +/* 8025711C 0025407C C0 44 00 04 */ lfs f2, 4(r4) +/* 80257120 00254080 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80257124 00254084 D0 61 01 28 */ stfs f3, 0x128(r1) +/* 80257128 00254088 80 98 00 00 */ lwz r4, 0(r24) +/* 8025712C 0025408C D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 80257130 00254090 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 80257134 00254094 4B DA DB 85 */ bl string_l__4rstlFPCc +/* 80257138 00254098 80 98 00 04 */ lwz r4, 4(r24) +/* 8025713C 0025409C 38 61 01 08 */ addi r3, r1, 0x108 +/* 80257140 002540A0 4B DA DB 79 */ bl string_l__4rstlFPCc +/* 80257144 002540A4 38 61 00 EC */ addi r3, r1, 0xec +/* 80257148 002540A8 38 9C 00 8D */ addi r4, r28, 0x8d +/* 8025714C 002540AC 4B DA DB 6D */ bl string_l__4rstlFPCc +/* 80257150 002540B0 38 61 00 DC */ addi r3, r1, 0xdc +/* 80257154 002540B4 38 9D 00 10 */ addi r4, r29, 0x10 +/* 80257158 002540B8 38 A1 00 EC */ addi r5, r1, 0xec +/* 8025715C 002540BC 4B DA DB 01 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257160 002540C0 80 98 00 00 */ lwz r4, 0(r24) +/* 80257164 002540C4 38 61 00 CC */ addi r3, r1, 0xcc +/* 80257168 002540C8 4B DA DB 51 */ bl string_l__4rstlFPCc +/* 8025716C 002540CC 38 61 00 BC */ addi r3, r1, 0xbc +/* 80257170 002540D0 38 81 00 DC */ addi r4, r1, 0xdc +/* 80257174 002540D4 38 A1 00 CC */ addi r5, r1, 0xcc +/* 80257178 002540D8 4B DA DA E5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025717C 002540DC D3 E1 00 FC */ stfs f31, 0xfc(r1) +/* 80257180 002540E0 7F E4 FB 78 */ mr r4, r31 +/* 80257184 002540E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80257188 002540E8 38 A1 01 08 */ addi r5, r1, 0x108 +/* 8025718C 002540EC D3 E1 01 00 */ stfs f31, 0x100(r1) +/* 80257190 002540F0 D3 E1 01 04 */ stfs f31, 0x104(r1) +/* 80257194 002540F4 4B DD 76 A5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257198 002540F8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8025719C 002540FC 7F E4 FB 78 */ mr r4, r31 +/* 802571A0 00254100 38 61 00 18 */ addi r3, r1, 0x18 +/* 802571A4 00254104 38 A1 01 18 */ addi r5, r1, 0x118 +/* 802571A8 00254108 98 01 00 14 */ stb r0, 0x14(r1) +/* 802571AC 0025410C 4B DD 76 8D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802571B0 00254110 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802571B4 00254114 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 802571B8 00254118 C0 22 B9 2C */ lfs f1, lbl_805AD64C@sda21(r2) +/* 802571BC 0025411C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802571C0 00254120 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802571C4 00254124 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802571C8 00254128 38 C1 00 FC */ addi r6, r1, 0xfc +/* 802571CC 0025412C 39 01 00 BC */ addi r8, r1, 0xbc +/* 802571D0 00254130 38 E0 00 01 */ li r7, 1 +/* 802571D4 00254134 4B F5 14 01 */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 802571D8 00254138 38 61 01 34 */ addi r3, r1, 0x134 +/* 802571DC 0025413C 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 802571E0 00254140 4B EF F0 51 */ bl sub_80156230 +/* 802571E4 00254144 28 19 00 00 */ cmplwi r25, 0 +/* 802571E8 00254148 41 82 00 0C */ beq lbl_802571F4 +/* 802571EC 0025414C 7F 23 CB 78 */ mr r3, r25 +/* 802571F0 00254150 48 0E 68 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802571F4: +/* 802571F4 00254154 38 61 00 BC */ addi r3, r1, 0xbc +/* 802571F8 00254158 48 0E 68 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802571FC 0025415C 38 61 00 CC */ addi r3, r1, 0xcc +/* 80257200 00254160 48 0E 68 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80257204 00254164 38 61 00 DC */ addi r3, r1, 0xdc +/* 80257208 00254168 48 0E 68 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025720C 0025416C 38 61 00 EC */ addi r3, r1, 0xec +/* 80257210 00254170 48 0E 68 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80257214 00254174 38 61 01 08 */ addi r3, r1, 0x108 +/* 80257218 00254178 48 0E 68 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025721C 0025417C 38 61 01 18 */ addi r3, r1, 0x118 +/* 80257220 00254180 48 0E 68 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80257224 00254184 3B 5A 00 01 */ addi r26, r26, 1 +/* 80257228 00254188 3B 18 00 0C */ addi r24, r24, 0xc +/* 8025722C 0025418C 28 1A 00 04 */ cmplwi r26, 4 +/* 80257230 00254190 41 80 FE D8 */ blt lbl_80257108 +/* 80257234 00254194 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 80257238 00254198 38 60 00 18 */ li r3, 0x18 +/* 8025723C 0025419C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 80257240 002541A0 38 A0 00 00 */ li r5, 0 +/* 80257244 002541A4 38 84 00 85 */ addi r4, r4, 0x85 +/* 80257248 002541A8 48 0B E6 25 */ bl __nw__FUlPCcPCc +/* 8025724C 002541AC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80257250 002541B0 41 82 00 38 */ beq lbl_80257288 +/* 80257254 002541B4 81 3D 00 04 */ lwz r9, 4(r29) +/* 80257258 002541B8 7F C4 F3 78 */ mr r4, r30 +/* 8025725C 002541BC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80257260 002541C0 38 C1 00 5C */ addi r6, r1, 0x5c +/* 80257264 002541C4 91 21 00 5C */ stw r9, 0x5c(r1) +/* 80257268 002541C8 38 E1 01 34 */ addi r7, r1, 0x134 +/* 8025726C 002541CC 39 00 00 00 */ li r8, 0 +/* 80257270 002541D0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80257274 002541D4 91 21 00 58 */ stw r9, 0x58(r1) +/* 80257278 002541D8 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8025727C 002541DC B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80257280 002541E0 4B F5 06 B1 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 80257284 002541E4 7C 7C 1B 78 */ mr r28, r3 +lbl_80257288: +/* 80257288 002541E8 80 7D 09 80 */ lwz r3, 0x980(r29) +/* 8025728C 002541EC 38 80 00 01 */ li r4, 1 +/* 80257290 002541F0 4B F5 06 4D */ bl sub_801a78dc +/* 80257294 002541F4 93 9D 09 80 */ stw r28, 0x980(r29) +/* 80257298 002541F8 80 01 01 38 */ lwz r0, 0x138(r1) +/* 8025729C 002541FC 83 01 01 40 */ lwz r24, 0x140(r1) +/* 802572A0 00254200 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802572A4 00254204 93 01 00 34 */ stw r24, 0x34(r1) +/* 802572A8 00254208 7F 98 02 14 */ add r28, r24, r0 +/* 802572AC 0025420C 93 01 00 30 */ stw r24, 0x30(r1) +/* 802572B0 00254210 93 81 00 3C */ stw r28, 0x3c(r1) +/* 802572B4 00254214 93 81 00 38 */ stw r28, 0x38(r1) +/* 802572B8 00254218 48 00 00 20 */ b lbl_802572D8 +lbl_802572BC: +/* 802572BC 0025421C 28 18 00 00 */ cmplwi r24, 0 +/* 802572C0 00254220 41 82 00 14 */ beq lbl_802572D4 +/* 802572C4 00254224 34 18 00 2C */ addic. r0, r24, 0x2c +/* 802572C8 00254228 41 82 00 0C */ beq lbl_802572D4 +/* 802572CC 0025422C 38 78 00 2C */ addi r3, r24, 0x2c +/* 802572D0 00254230 48 0E 68 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802572D4: +/* 802572D4 00254234 3B 18 00 44 */ addi r24, r24, 0x44 +lbl_802572D8: +/* 802572D8 00254238 7C 18 E0 40 */ cmplw r24, r28 +/* 802572DC 0025423C 40 82 FF E0 */ bne lbl_802572BC +/* 802572E0 00254240 3B 40 00 00 */ li r26, 0 +/* 802572E4 00254244 3C 60 80 3D */ lis r3, lbl_803D4BC8@ha +/* 802572E8 00254248 3B 03 4B C8 */ addi r24, r3, lbl_803D4BC8@l +/* 802572EC 0025424C 93 41 01 38 */ stw r26, 0x138(r1) +/* 802572F0 00254250 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 802572F4 00254254 3B 21 01 8C */ addi r25, r1, 0x18c +/* 802572F8 00254258 3B 83 4D 5C */ addi r28, r3, lbl_803D4D5C@l +lbl_802572FC: +/* 802572FC 0025425C 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80257300 00254260 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80257304 00254264 C0 18 00 04 */ lfs f0, 4(r24) +/* 80257308 00254268 C0 24 00 08 */ lfs f1, 8(r4) +/* 8025730C 0025426C C0 64 00 00 */ lfs f3, 0(r4) +/* 80257310 00254270 C0 44 00 04 */ lfs f2, 4(r4) +/* 80257314 00254274 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80257318 00254278 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 8025731C 0025427C 80 98 00 00 */ lwz r4, 0(r24) +/* 80257320 00254280 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80257324 00254284 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80257328 00254288 4B DA D9 91 */ bl string_l__4rstlFPCc +/* 8025732C 0025428C 38 61 00 90 */ addi r3, r1, 0x90 +/* 80257330 00254290 38 9C 00 8D */ addi r4, r28, 0x8d +/* 80257334 00254294 4B DA D9 85 */ bl string_l__4rstlFPCc +/* 80257338 00254298 38 61 00 80 */ addi r3, r1, 0x80 +/* 8025733C 0025429C 38 9D 00 10 */ addi r4, r29, 0x10 +/* 80257340 002542A0 38 A1 00 90 */ addi r5, r1, 0x90 +/* 80257344 002542A4 4B DA D9 19 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257348 002542A8 80 98 00 00 */ lwz r4, 0(r24) +/* 8025734C 002542AC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80257350 002542B0 4B DA D9 69 */ bl string_l__4rstlFPCc +/* 80257354 002542B4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80257358 002542B8 38 81 00 80 */ addi r4, r1, 0x80 +/* 8025735C 002542BC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80257360 002542C0 4B DA D8 FD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257364 002542C4 7F E4 FB 78 */ mr r4, r31 +/* 80257368 002542C8 38 61 00 08 */ addi r3, r1, 8 +/* 8025736C 002542CC 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80257370 002542D0 4B DD 74 C9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257374 002542D4 88 01 00 08 */ lbz r0, 8(r1) +/* 80257378 002542D8 FC 20 F8 90 */ fmr f1, f31 +/* 8025737C 002542DC C0 42 B9 2C */ lfs f2, lbl_805AD64C@sda21(r2) +/* 80257380 002542E0 38 61 01 60 */ addi r3, r1, 0x160 +/* 80257384 002542E4 98 01 00 0C */ stb r0, 0xc(r1) +/* 80257388 002542E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025738C 002542EC 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80257390 002542F0 4B F5 14 7D */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 80257394 002542F4 38 61 01 34 */ addi r3, r1, 0x134 +/* 80257398 002542F8 38 81 01 60 */ addi r4, r1, 0x160 +/* 8025739C 002542FC 4B EF EE 95 */ bl sub_80156230 +/* 802573A0 00254300 28 19 00 00 */ cmplwi r25, 0 +/* 802573A4 00254304 41 82 00 0C */ beq lbl_802573B0 +/* 802573A8 00254308 7F 23 CB 78 */ mr r3, r25 +/* 802573AC 0025430C 48 0E 67 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802573B0: +/* 802573B0 00254310 38 61 00 60 */ addi r3, r1, 0x60 +/* 802573B4 00254314 48 0E 67 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573B8 00254318 38 61 00 70 */ addi r3, r1, 0x70 +/* 802573BC 0025431C 48 0E 67 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573C0 00254320 38 61 00 80 */ addi r3, r1, 0x80 +/* 802573C4 00254324 48 0E 67 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573C8 00254328 38 61 00 90 */ addi r3, r1, 0x90 +/* 802573CC 0025432C 48 0E 67 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573D0 00254330 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802573D4 00254334 48 0E 67 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573D8 00254338 3B 5A 00 01 */ addi r26, r26, 1 +/* 802573DC 0025433C 3B 18 00 08 */ addi r24, r24, 8 +/* 802573E0 00254340 28 1A 00 0A */ cmplwi r26, 0xa +/* 802573E4 00254344 41 80 FF 18 */ blt lbl_802572FC +/* 802573E8 00254348 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 802573EC 0025434C 38 60 00 18 */ li r3, 0x18 +/* 802573F0 00254350 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 802573F4 00254354 38 A0 00 00 */ li r5, 0 +/* 802573F8 00254358 38 84 00 85 */ addi r4, r4, 0x85 +/* 802573FC 0025435C 48 0B E4 71 */ bl __nw__FUlPCcPCc +/* 80257400 00254360 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80257404 00254364 41 82 00 38 */ beq lbl_8025743C +/* 80257408 00254368 81 3D 00 04 */ lwz r9, 4(r29) +/* 8025740C 0025436C 7F C4 F3 78 */ mr r4, r30 +/* 80257410 00254370 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80257414 00254374 38 C1 00 54 */ addi r6, r1, 0x54 +/* 80257418 00254378 91 21 00 54 */ stw r9, 0x54(r1) +/* 8025741C 0025437C 38 E1 01 34 */ addi r7, r1, 0x134 +/* 80257420 00254380 39 00 00 00 */ li r8, 0 +/* 80257424 00254384 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80257428 00254388 91 21 00 50 */ stw r9, 0x50(r1) +/* 8025742C 0025438C B0 01 00 20 */ sth r0, 0x20(r1) +/* 80257430 00254390 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80257434 00254394 4B F5 04 FD */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 80257438 00254398 7C 7C 1B 78 */ mr r28, r3 +lbl_8025743C: +/* 8025743C 0025439C 80 7D 09 84 */ lwz r3, 0x984(r29) +/* 80257440 002543A0 38 80 00 01 */ li r4, 1 +/* 80257444 002543A4 4B F5 04 99 */ bl sub_801a78dc +/* 80257448 002543A8 93 9D 09 84 */ stw r28, 0x984(r29) +/* 8025744C 002543AC 38 80 00 03 */ li r4, 3 +/* 80257450 002543B0 80 7D 09 84 */ lwz r3, 0x984(r29) +/* 80257454 002543B4 4B F4 FD E5 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257458 002543B8 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8025745C 002543BC 38 80 00 02 */ li r4, 2 +/* 80257460 002543C0 B0 1D 09 88 */ sth r0, 0x988(r29) +/* 80257464 002543C4 80 7D 09 84 */ lwz r3, 0x984(r29) +/* 80257468 002543C8 4B F4 FD D1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8025746C 002543CC A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257470 002543D0 7F A3 EB 78 */ mr r3, r29 +/* 80257474 002543D4 7F C4 F3 78 */ mr r4, r30 +/* 80257478 002543D8 B0 1D 09 8A */ sth r0, 0x98a(r29) +/* 8025747C 002543DC 48 00 04 D9 */ bl sub_80257954 +/* 80257480 002543E0 7F A3 EB 78 */ mr r3, r29 +/* 80257484 002543E4 4B DF C4 39 */ bl GetMaterialFilter__6CActorCFv +/* 80257488 002543E8 83 83 00 00 */ lwz r28, 0(r3) +/* 8025748C 002543EC 83 E3 00 04 */ lwz r31, 4(r3) +/* 80257490 002543F0 7F A3 EB 78 */ mr r3, r29 +/* 80257494 002543F4 4B DF C4 29 */ bl GetMaterialFilter__6CActorCFv +/* 80257498 002543F8 80 AD 97 6C */ lwz r5, lbl_805A832C@sda21(r13) +/* 8025749C 002543FC 38 80 00 01 */ li r4, 1 +/* 802574A0 00254400 83 63 00 08 */ lwz r27, 8(r3) +/* 802574A4 00254404 83 43 00 0C */ lwz r26, 0xc(r3) +/* 802574A8 00254408 38 60 00 00 */ li r3, 0 +/* 802574AC 0025440C 48 13 2A 49 */ bl __shl2i +/* 802574B0 00254410 80 AD 97 70 */ lwz r5, lbl_805A8330@sda21(r13) +/* 802574B4 00254414 7C 98 23 78 */ mr r24, r4 +/* 802574B8 00254418 7C 79 1B 78 */ mr r25, r3 +/* 802574BC 0025441C 38 60 00 00 */ li r3, 0 +/* 802574C0 00254420 38 80 00 01 */ li r4, 1 +/* 802574C4 00254424 48 13 2A 31 */ bl __shl2i +/* 802574C8 00254428 80 AD 97 74 */ lwz r5, lbl_805A8334@sda21(r13) +/* 802574CC 0025442C 7F 18 23 78 */ or r24, r24, r4 +/* 802574D0 00254430 7F 39 1B 78 */ or r25, r25, r3 +/* 802574D4 00254434 38 60 00 00 */ li r3, 0 +/* 802574D8 00254438 38 80 00 01 */ li r4, 1 +/* 802574DC 0025443C 48 13 2A 19 */ bl __shl2i +/* 802574E0 00254440 80 AD 97 78 */ lwz r5, lbl_805A8338@sda21(r13) +/* 802574E4 00254444 7F 18 23 78 */ or r24, r24, r4 +/* 802574E8 00254448 7F 39 1B 78 */ or r25, r25, r3 +/* 802574EC 0025444C 38 60 00 00 */ li r3, 0 +/* 802574F0 00254450 38 80 00 01 */ li r4, 1 +/* 802574F4 00254454 48 13 2A 01 */ bl __shl2i +/* 802574F8 00254458 80 AD 97 7C */ lwz r5, lbl_805A833C@sda21(r13) +/* 802574FC 0025445C 7F 18 23 78 */ or r24, r24, r4 +/* 80257500 00254460 7F 39 1B 78 */ or r25, r25, r3 +/* 80257504 00254464 38 60 00 00 */ li r3, 0 +/* 80257508 00254468 38 80 00 01 */ li r4, 1 +/* 8025750C 0025446C 48 13 29 E9 */ bl __shl2i +/* 80257510 00254470 7F 18 23 78 */ or r24, r24, r4 +/* 80257514 00254474 7F 39 1B 78 */ or r25, r25, r3 +/* 80257518 00254478 7F 04 C0 F8 */ nor r4, r24, r24 +/* 8025751C 0025447C 38 00 00 03 */ li r0, 3 +/* 80257520 00254480 7F 23 C8 F8 */ nor r3, r25, r25 +/* 80257524 00254484 7F 5A C3 78 */ or r26, r26, r24 +/* 80257528 00254488 7F FF 20 38 */ and r31, r31, r4 +/* 8025752C 0025448C 7F 7B CB 78 */ or r27, r27, r25 +/* 80257530 00254490 7F 9C 18 38 */ and r28, r28, r3 +/* 80257534 00254494 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 80257538 00254498 7F A3 EB 78 */ mr r3, r29 +/* 8025753C 0025449C 38 81 01 48 */ addi r4, r1, 0x148 +/* 80257540 002544A0 93 81 01 48 */ stw r28, 0x148(r1) +/* 80257544 002544A4 93 41 01 54 */ stw r26, 0x154(r1) +/* 80257548 002544A8 93 61 01 50 */ stw r27, 0x150(r1) +/* 8025754C 002544AC 90 01 01 58 */ stw r0, 0x158(r1) +/* 80257550 002544B0 4B DF C3 51 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80257554 002544B4 7F A3 EB 78 */ mr r3, r29 +/* 80257558 002544B8 7F C5 F3 78 */ mr r5, r30 +/* 8025755C 002544BC 38 80 00 12 */ li r4, 0x12 +/* 80257560 002544C0 4B DF CD F1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80257564 002544C4 38 61 01 34 */ addi r3, r1, 0x134 +/* 80257568 002544C8 38 80 FF FF */ li r4, -1 +/* 8025756C 002544CC 4B EF ED C1 */ bl sub_8015632c +/* 80257570 002544D0 E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 +/* 80257574 002544D4 CB E1 02 10 */ lfd f31, 0x210(r1) +/* 80257578 002544D8 BB 01 01 F0 */ lmw r24, 0x1f0(r1) +/* 8025757C 002544DC 80 01 02 24 */ lwz r0, 0x224(r1) +/* 80257580 002544E0 7C 08 03 A6 */ mtlr r0 +/* 80257584 002544E4 38 21 02 20 */ addi r1, r1, 0x220 +/* 80257588 002544E8 4E 80 00 20 */ blr + +.global sub_8025758c +sub_8025758c: +/* 8025758C 002544EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80257590 002544F0 7C 08 02 A6 */ mflr r0 +/* 80257594 002544F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80257598 002544F8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8025759C 002544FC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802575A0 00254500 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802575A4 00254504 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802575A8 00254508 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802575AC 0025450C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802575B0 00254510 FF E0 08 90 */ fmr f31, f1 +/* 802575B4 00254514 7C 7C 1B 78 */ mr r28, r3 +/* 802575B8 00254518 7C 9D 23 78 */ mr r29, r4 +/* 802575BC 0025451C 3B C0 00 00 */ li r30, 0 +/* 802575C0 00254520 48 00 00 58 */ b lbl_80257618 +lbl_802575C4: +/* 802575C4 00254524 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 802575C8 00254528 7F C4 F3 78 */ mr r4, r30 +/* 802575CC 0025452C 4B F4 FC 6D */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 802575D0 00254530 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 802575D4 00254534 7F A3 EB 78 */ mr r3, r29 +/* 802575D8 00254538 38 81 00 08 */ addi r4, r1, 8 +/* 802575DC 0025453C B0 01 00 0C */ sth r0, 0xc(r1) +/* 802575E0 00254540 B0 01 00 08 */ sth r0, 8(r1) +/* 802575E4 00254544 4B DF 4F 91 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802575E8 00254548 7C 64 1B 78 */ mr r4, r3 +/* 802575EC 0025454C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802575F0 00254550 4B E5 7D 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802575F4 00254554 83 E3 00 04 */ lwz r31, 4(r3) +/* 802575F8 00254558 28 1F 00 00 */ cmplwi r31, 0 +/* 802575FC 0025455C 41 82 00 18 */ beq lbl_80257614 +/* 80257600 00254560 7F E3 FB 78 */ mr r3, r31 +/* 80257604 00254564 4B F5 15 79 */ bl GetSphereRadius__15CCollisionActorCFv +/* 80257608 00254568 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8025760C 0025456C 7F E3 FB 78 */ mr r3, r31 +/* 80257610 00254570 4B F5 15 11 */ bl sub_801a8b20 +lbl_80257614: +/* 80257614 00254574 3B DE 00 01 */ addi r30, r30, 1 +lbl_80257618: +/* 80257618 00254578 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 8025761C 0025457C 4B F4 FC 2D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257620 00254580 7C 1E 18 40 */ cmplw r30, r3 +/* 80257624 00254584 41 80 FF A0 */ blt lbl_802575C4 +/* 80257628 00254588 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8025762C 0025458C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80257630 00254590 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80257634 00254594 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257638 00254598 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025763C 0025459C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257640 002545A0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80257644 002545A4 7C 08 03 A6 */ mtlr r0 +/* 80257648 002545A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8025764C 002545AC 4E 80 00 20 */ blr + +.global sub_80257650 +sub_80257650: +/* 80257650 002545B0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80257654 002545B4 7C 08 02 A6 */ mflr r0 +/* 80257658 002545B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025765C 002545BC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80257660 002545C0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80257664 002545C4 3B C0 00 00 */ li r30, 0 +/* 80257668 002545C8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8025766C 002545CC 7C 9D 23 78 */ mr r29, r4 +/* 80257670 002545D0 93 81 00 20 */ stw r28, 0x20(r1) +/* 80257674 002545D4 7C 7C 1B 78 */ mr r28, r3 +/* 80257678 002545D8 48 00 00 80 */ b lbl_802576F8 +lbl_8025767C: +/* 8025767C 002545DC 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257680 002545E0 7F C4 F3 78 */ mr r4, r30 +/* 80257684 002545E4 4B F4 FB B5 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257688 002545E8 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8025768C 002545EC 7F A3 EB 78 */ mr r3, r29 +/* 80257690 002545F0 38 81 00 08 */ addi r4, r1, 8 +/* 80257694 002545F4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80257698 002545F8 B0 01 00 08 */ sth r0, 8(r1) +/* 8025769C 002545FC 4B DF 4E D9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802576A0 00254600 7C 64 1B 78 */ mr r4, r3 +/* 802576A4 00254604 38 61 00 10 */ addi r3, r1, 0x10 +/* 802576A8 00254608 4B E5 7C A5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802576AC 0025460C 83 E3 00 04 */ lwz r31, 4(r3) +/* 802576B0 00254610 28 1F 00 00 */ cmplwi r31, 0 +/* 802576B4 00254614 41 82 00 40 */ beq lbl_802576F4 +/* 802576B8 00254618 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 802576BC 0025461C 7F E3 FB 78 */ mr r3, r31 +/* 802576C0 00254620 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 802576C4 00254624 4B F5 14 D5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802576C8 00254628 7F E3 FB 78 */ mr r3, r31 +/* 802576CC 0025462C 7F A4 EB 78 */ mr r4, r29 +/* 802576D0 00254630 81 9F 00 00 */ lwz r12, 0(r31) +/* 802576D4 00254634 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802576D8 00254638 7D 89 03 A6 */ mtctr r12 +/* 802576DC 0025463C 4E 80 04 21 */ bctrl +/* 802576E0 00254640 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802576E4 00254644 38 80 00 01 */ li r4, 1 +/* 802576E8 00254648 D0 03 00 00 */ stfs f0, 0(r3) +/* 802576EC 0025464C 7F E3 FB 78 */ mr r3, r31 +/* 802576F0 00254650 4B DF B6 7D */ bl CreateShadow__6CActorFb +lbl_802576F4: +/* 802576F4 00254654 3B DE 00 01 */ addi r30, r30, 1 +lbl_802576F8: +/* 802576F8 00254658 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 802576FC 0025465C 4B F4 FB 4D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257700 00254660 7C 1E 18 40 */ cmplw r30, r3 +/* 80257704 00254664 41 80 FF 78 */ blt lbl_8025767C +/* 80257708 00254668 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 8025770C 0025466C 38 60 00 00 */ li r3, 0 +/* 80257710 00254670 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80257714 00254674 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80257718 00254678 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 8025771C 0025467C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80257720 00254680 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 80257724 00254684 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257728 00254688 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025772C 0025468C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257730 00254690 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80257734 00254694 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257738 00254698 7C 08 03 A6 */ mtlr r0 +/* 8025773C 0025469C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80257740 002546A0 4E 80 00 20 */ blr + +.global sub_80257744 +sub_80257744: +/* 80257744 002546A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80257748 002546A8 7C 08 02 A6 */ mflr r0 +/* 8025774C 002546AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80257750 002546B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80257754 002546B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80257758 002546B8 3B C0 00 00 */ li r30, 0 +/* 8025775C 002546BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80257760 002546C0 7C 9D 23 78 */ mr r29, r4 +/* 80257764 002546C4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80257768 002546C8 7C 7C 1B 78 */ mr r28, r3 +/* 8025776C 002546CC 48 00 00 90 */ b lbl_802577FC +lbl_80257770: +/* 80257770 002546D0 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257774 002546D4 7F C4 F3 78 */ mr r4, r30 +/* 80257778 002546D8 4B F4 FA C1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8025777C 002546DC A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257780 002546E0 7F A3 EB 78 */ mr r3, r29 +/* 80257784 002546E4 38 81 00 08 */ addi r4, r1, 8 +/* 80257788 002546E8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025778C 002546EC B0 01 00 08 */ sth r0, 8(r1) +/* 80257790 002546F0 4B DF 4D E5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80257794 002546F4 7C 64 1B 78 */ mr r4, r3 +/* 80257798 002546F8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025779C 002546FC 4B E5 7B B1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802577A0 00254700 83 E3 00 04 */ lwz r31, 4(r3) +/* 802577A4 00254704 28 1F 00 00 */ cmplwi r31, 0 +/* 802577A8 00254708 41 82 00 50 */ beq lbl_802577F8 +/* 802577AC 0025470C 28 1E 00 02 */ cmplwi r30, 2 +/* 802577B0 00254710 3C 60 80 57 */ lis r3, lbl_8056D718@ha +/* 802577B4 00254714 38 83 D7 18 */ addi r4, r3, lbl_8056D718@l +/* 802577B8 00254718 7F E3 FB 78 */ mr r3, r31 +/* 802577BC 0025471C 40 82 00 0C */ bne lbl_802577C8 +/* 802577C0 00254720 3C 80 80 57 */ lis r4, lbl_80572544@ha +/* 802577C4 00254724 38 84 25 44 */ addi r4, r4, lbl_80572544@l +lbl_802577C8: +/* 802577C8 00254728 4B F5 13 D1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802577CC 0025472C 7F E3 FB 78 */ mr r3, r31 +/* 802577D0 00254730 7F A4 EB 78 */ mr r4, r29 +/* 802577D4 00254734 81 9F 00 00 */ lwz r12, 0(r31) +/* 802577D8 00254738 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802577DC 0025473C 7D 89 03 A6 */ mtctr r12 +/* 802577E0 00254740 4E 80 04 21 */ bctrl +/* 802577E4 00254744 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802577E8 00254748 38 80 00 01 */ li r4, 1 +/* 802577EC 0025474C D0 03 00 00 */ stfs f0, 0(r3) +/* 802577F0 00254750 7F E3 FB 78 */ mr r3, r31 +/* 802577F4 00254754 4B DF B5 79 */ bl CreateShadow__6CActorFb +lbl_802577F8: +/* 802577F8 00254758 3B DE 00 01 */ addi r30, r30, 1 +lbl_802577FC: +/* 802577FC 0025475C 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257800 00254760 4B F4 FA 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257804 00254764 7C 1E 18 40 */ cmplw r30, r3 +/* 80257808 00254768 41 80 FF 68 */ blt lbl_80257770 +/* 8025780C 0025476C 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80257810 00254770 38 60 00 00 */ li r3, 0 +/* 80257814 00254774 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80257818 00254778 38 60 00 01 */ li r3, 1 +/* 8025781C 0025477C 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80257820 00254780 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80257824 00254784 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80257828 00254788 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 8025782C 0025478C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257830 00254790 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80257834 00254794 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257838 00254798 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8025783C 0025479C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257840 002547A0 7C 08 03 A6 */ mtlr r0 +/* 80257844 002547A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80257848 002547A8 4E 80 00 20 */ blr + +.global sub_8025784c +sub_8025784c: +/* 8025784C 002547AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80257850 002547B0 7C 08 02 A6 */ mflr r0 +/* 80257854 002547B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80257858 002547B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025785C 002547BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80257860 002547C0 3B C0 00 00 */ li r30, 0 +/* 80257864 002547C4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80257868 002547C8 7C 9D 23 78 */ mr r29, r4 +/* 8025786C 002547CC 93 81 00 20 */ stw r28, 0x20(r1) +/* 80257870 002547D0 7C 7C 1B 78 */ mr r28, r3 +/* 80257874 002547D4 48 00 00 90 */ b lbl_80257904 +lbl_80257878: +/* 80257878 002547D8 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 8025787C 002547DC 7F C4 F3 78 */ mr r4, r30 +/* 80257880 002547E0 4B F4 F9 B9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257884 002547E4 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257888 002547E8 7F A3 EB 78 */ mr r3, r29 +/* 8025788C 002547EC 38 81 00 08 */ addi r4, r1, 8 +/* 80257890 002547F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80257894 002547F4 B0 01 00 08 */ sth r0, 8(r1) +/* 80257898 002547F8 4B DF 4C DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025789C 002547FC 7C 64 1B 78 */ mr r4, r3 +/* 802578A0 00254800 38 61 00 10 */ addi r3, r1, 0x10 +/* 802578A4 00254804 4B E5 7A A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802578A8 00254808 83 E3 00 04 */ lwz r31, 4(r3) +/* 802578AC 0025480C 28 1F 00 00 */ cmplwi r31, 0 +/* 802578B0 00254810 41 82 00 50 */ beq lbl_80257900 +/* 802578B4 00254814 28 1E 00 03 */ cmplwi r30, 3 +/* 802578B8 00254818 3C 60 80 57 */ lis r3, lbl_8056D718@ha +/* 802578BC 0025481C 38 83 D7 18 */ addi r4, r3, lbl_8056D718@l +/* 802578C0 00254820 7F E3 FB 78 */ mr r3, r31 +/* 802578C4 00254824 40 82 00 0C */ bne lbl_802578D0 +/* 802578C8 00254828 3C 80 80 57 */ lis r4, lbl_805725AC@ha +/* 802578CC 0025482C 38 84 25 AC */ addi r4, r4, lbl_805725AC@l +lbl_802578D0: +/* 802578D0 00254830 4B F5 12 C9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802578D4 00254834 7F E3 FB 78 */ mr r3, r31 +/* 802578D8 00254838 7F A4 EB 78 */ mr r4, r29 +/* 802578DC 0025483C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802578E0 00254840 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802578E4 00254844 7D 89 03 A6 */ mtctr r12 +/* 802578E8 00254848 4E 80 04 21 */ bctrl +/* 802578EC 0025484C C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802578F0 00254850 38 80 00 01 */ li r4, 1 +/* 802578F4 00254854 D0 03 00 00 */ stfs f0, 0(r3) +/* 802578F8 00254858 7F E3 FB 78 */ mr r3, r31 +/* 802578FC 0025485C 4B DF B4 71 */ bl CreateShadow__6CActorFb +lbl_80257900: +/* 80257900 00254860 3B DE 00 01 */ addi r30, r30, 1 +lbl_80257904: +/* 80257904 00254864 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257908 00254868 4B F4 F9 41 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8025790C 0025486C 7C 1E 18 40 */ cmplw r30, r3 +/* 80257910 00254870 41 80 FF 68 */ blt lbl_80257878 +/* 80257914 00254874 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80257918 00254878 38 60 00 01 */ li r3, 1 +/* 8025791C 0025487C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80257920 00254880 38 60 00 00 */ li r3, 0 +/* 80257924 00254884 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80257928 00254888 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 8025792C 0025488C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80257930 00254890 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 80257934 00254894 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257938 00254898 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025793C 0025489C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257940 002548A0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80257944 002548A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257948 002548A8 7C 08 03 A6 */ mtlr r0 +/* 8025794C 002548AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80257950 002548B0 4E 80 00 20 */ blr + +.global sub_80257954 +sub_80257954: +/* 80257954 002548B4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80257958 002548B8 7C 08 02 A6 */ mflr r0 +/* 8025795C 002548BC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80257960 002548C0 BF 41 00 68 */ stmw r26, 0x68(r1) +/* 80257964 002548C4 7C 7E 1B 78 */ mr r30, r3 +/* 80257968 002548C8 7C 9F 23 78 */ mr r31, r4 +/* 8025796C 002548CC 3B 40 00 00 */ li r26, 0 +/* 80257970 002548D0 48 00 00 D4 */ b lbl_80257A44 +lbl_80257974: +/* 80257974 002548D4 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80257978 002548D8 7F 44 D3 78 */ mr r4, r26 +/* 8025797C 002548DC 4B F4 F8 BD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257980 002548E0 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257984 002548E4 7F E3 FB 78 */ mr r3, r31 +/* 80257988 002548E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025798C 002548EC B0 01 00 14 */ sth r0, 0x14(r1) +/* 80257990 002548F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80257994 002548F4 4B DF 4B E1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80257998 002548F8 7C 64 1B 78 */ mr r4, r3 +/* 8025799C 002548FC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802579A0 00254900 4B E5 79 AD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802579A4 00254904 83 A3 00 04 */ lwz r29, 4(r3) +/* 802579A8 00254908 28 1D 00 00 */ cmplwi r29, 0 +/* 802579AC 0025490C 41 82 00 94 */ beq lbl_80257A40 +/* 802579B0 00254910 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 802579B4 00254914 7F A3 EB 78 */ mr r3, r29 +/* 802579B8 00254918 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 802579BC 0025491C 4B F5 11 DD */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802579C0 00254920 7F A3 EB 78 */ mr r3, r29 +/* 802579C4 00254924 7F E4 FB 78 */ mr r4, r31 +/* 802579C8 00254928 81 9D 00 00 */ lwz r12, 0(r29) +/* 802579CC 0025492C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802579D0 00254930 7D 89 03 A6 */ mtctr r12 +/* 802579D4 00254934 4E 80 04 21 */ bctrl +/* 802579D8 00254938 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802579DC 0025493C 38 80 00 01 */ li r4, 1 +/* 802579E0 00254940 D0 03 00 00 */ stfs f0, 0(r3) +/* 802579E4 00254944 38 60 00 00 */ li r3, 0 +/* 802579E8 00254948 80 AD 97 4C */ lwz r5, lbl_805A830C@sda21(r13) +/* 802579EC 0025494C 48 13 25 09 */ bl __shl2i +/* 802579F0 00254950 80 AD 97 50 */ lwz r5, lbl_805A8310@sda21(r13) +/* 802579F4 00254954 7C 9B 23 78 */ mr r27, r4 +/* 802579F8 00254958 7C 7C 1B 78 */ mr r28, r3 +/* 802579FC 0025495C 38 60 00 00 */ li r3, 0 +/* 80257A00 00254960 38 80 00 01 */ li r4, 1 +/* 80257A04 00254964 48 13 24 F1 */ bl __shl2i +/* 80257A08 00254968 7F 7B 23 78 */ or r27, r27, r4 +/* 80257A0C 0025496C 7F 9C 1B 78 */ or r28, r28, r3 +/* 80257A10 00254970 38 A0 00 00 */ li r5, 0 +/* 80257A14 00254974 38 00 00 01 */ li r0, 1 +/* 80257A18 00254978 93 61 00 54 */ stw r27, 0x54(r1) +/* 80257A1C 0025497C 7F A3 EB 78 */ mr r3, r29 +/* 80257A20 00254980 38 81 00 50 */ addi r4, r1, 0x50 +/* 80257A24 00254984 93 81 00 50 */ stw r28, 0x50(r1) +/* 80257A28 00254988 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 80257A2C 0025498C 90 A1 00 58 */ stw r5, 0x58(r1) +/* 80257A30 00254990 90 01 00 60 */ stw r0, 0x60(r1) +/* 80257A34 00254994 4B DF BE 6D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80257A38 00254998 38 00 00 10 */ li r0, 0x10 +/* 80257A3C 0025499C 90 1D 03 00 */ stw r0, 0x300(r29) +lbl_80257A40: +/* 80257A40 002549A0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80257A44: +/* 80257A44 002549A4 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80257A48 002549A8 4B F4 F8 01 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257A4C 002549AC 7C 1A 18 40 */ cmplw r26, r3 +/* 80257A50 002549B0 41 80 FF 24 */ blt lbl_80257974 +/* 80257A54 002549B4 38 00 00 00 */ li r0, 0 +/* 80257A58 002549B8 80 AD 97 54 */ lwz r5, lbl_805A8314@sda21(r13) +/* 80257A5C 002549BC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80257A60 002549C0 38 60 00 00 */ li r3, 0 +/* 80257A64 002549C4 38 80 00 01 */ li r4, 1 +/* 80257A68 002549C8 90 01 00 28 */ stw r0, 0x28(r1) +/* 80257A6C 002549CC 48 13 24 89 */ bl __shl2i +/* 80257A70 002549D0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80257A74 002549D4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80257A78 002549D8 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80257A7C 002549DC 7C 00 1B 78 */ or r0, r0, r3 +/* 80257A80 002549E0 7C C3 23 78 */ or r3, r6, r4 +/* 80257A84 002549E4 90 01 00 28 */ stw r0, 0x28(r1) +/* 80257A88 002549E8 7F E4 FB 78 */ mr r4, r31 +/* 80257A8C 002549EC 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80257A90 002549F0 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80257A94 002549F4 4B F4 F7 BD */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList +/* 80257A98 002549F8 3B 40 00 00 */ li r26, 0 +/* 80257A9C 002549FC 48 00 00 D4 */ b lbl_80257B70 +lbl_80257AA0: +/* 80257AA0 00254A00 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80257AA4 00254A04 7F 44 D3 78 */ mr r4, r26 +/* 80257AA8 00254A08 4B F4 F7 91 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257AAC 00254A0C A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257AB0 00254A10 7F E3 FB 78 */ mr r3, r31 +/* 80257AB4 00254A14 38 81 00 08 */ addi r4, r1, 8 +/* 80257AB8 00254A18 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80257ABC 00254A1C B0 01 00 08 */ sth r0, 8(r1) +/* 80257AC0 00254A20 4B DF 4A B5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80257AC4 00254A24 7C 64 1B 78 */ mr r4, r3 +/* 80257AC8 00254A28 38 61 00 20 */ addi r3, r1, 0x20 +/* 80257ACC 00254A2C 4B E5 78 81 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80257AD0 00254A30 83 A3 00 04 */ lwz r29, 4(r3) +/* 80257AD4 00254A34 28 1D 00 00 */ cmplwi r29, 0 +/* 80257AD8 00254A38 41 82 00 94 */ beq lbl_80257B6C +/* 80257ADC 00254A3C 3C 80 80 57 */ lis r4, lbl_80572544@ha +/* 80257AE0 00254A40 7F A3 EB 78 */ mr r3, r29 +/* 80257AE4 00254A44 38 84 25 44 */ addi r4, r4, lbl_80572544@l +/* 80257AE8 00254A48 4B F5 10 B1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 80257AEC 00254A4C 7F A3 EB 78 */ mr r3, r29 +/* 80257AF0 00254A50 7F E4 FB 78 */ mr r4, r31 +/* 80257AF4 00254A54 81 9D 00 00 */ lwz r12, 0(r29) +/* 80257AF8 00254A58 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80257AFC 00254A5C 7D 89 03 A6 */ mtctr r12 +/* 80257B00 00254A60 4E 80 04 21 */ bctrl +/* 80257B04 00254A64 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 80257B08 00254A68 38 80 00 01 */ li r4, 1 +/* 80257B0C 00254A6C D0 03 00 00 */ stfs f0, 0(r3) +/* 80257B10 00254A70 38 60 00 00 */ li r3, 0 +/* 80257B14 00254A74 80 AD 97 58 */ lwz r5, lbl_805A8318@sda21(r13) +/* 80257B18 00254A78 48 13 23 DD */ bl __shl2i +/* 80257B1C 00254A7C 80 AD 97 5C */ lwz r5, lbl_805A831C@sda21(r13) +/* 80257B20 00254A80 7C 9C 23 78 */ mr r28, r4 +/* 80257B24 00254A84 7C 7B 1B 78 */ mr r27, r3 +/* 80257B28 00254A88 38 60 00 00 */ li r3, 0 +/* 80257B2C 00254A8C 38 80 00 01 */ li r4, 1 +/* 80257B30 00254A90 48 13 23 C5 */ bl __shl2i +/* 80257B34 00254A94 7F 9C 23 78 */ or r28, r28, r4 +/* 80257B38 00254A98 7F 7B 1B 78 */ or r27, r27, r3 +/* 80257B3C 00254A9C 38 A0 00 00 */ li r5, 0 +/* 80257B40 00254AA0 38 00 00 01 */ li r0, 1 +/* 80257B44 00254AA4 93 81 00 3C */ stw r28, 0x3c(r1) +/* 80257B48 00254AA8 7F A3 EB 78 */ mr r3, r29 +/* 80257B4C 00254AAC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80257B50 00254AB0 93 61 00 38 */ stw r27, 0x38(r1) +/* 80257B54 00254AB4 90 A1 00 44 */ stw r5, 0x44(r1) +/* 80257B58 00254AB8 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80257B5C 00254ABC 90 01 00 48 */ stw r0, 0x48(r1) +/* 80257B60 00254AC0 4B DF BD 41 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80257B64 00254AC4 38 00 00 10 */ li r0, 0x10 +/* 80257B68 00254AC8 90 1D 03 00 */ stw r0, 0x300(r29) +lbl_80257B6C: +/* 80257B6C 00254ACC 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80257B70: +/* 80257B70 00254AD0 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80257B74 00254AD4 4B F4 F6 D5 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257B78 00254AD8 7C 1A 18 40 */ cmplw r26, r3 +/* 80257B7C 00254ADC 41 80 FF 24 */ blt lbl_80257AA0 +/* 80257B80 00254AE0 38 00 00 00 */ li r0, 0 +/* 80257B84 00254AE4 80 AD 97 60 */ lwz r5, lbl_805A8320@sda21(r13) +/* 80257B88 00254AE8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80257B8C 00254AEC 38 60 00 00 */ li r3, 0 +/* 80257B90 00254AF0 38 80 00 01 */ li r4, 1 +/* 80257B94 00254AF4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80257B98 00254AF8 48 13 23 5D */ bl __shl2i +/* 80257B9C 00254AFC 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80257BA0 00254B00 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80257BA4 00254B04 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80257BA8 00254B08 7C 00 1B 78 */ or r0, r0, r3 +/* 80257BAC 00254B0C 7C C3 23 78 */ or r3, r6, r4 +/* 80257BB0 00254B10 90 01 00 18 */ stw r0, 0x18(r1) +/* 80257BB4 00254B14 7F E4 FB 78 */ mr r4, r31 +/* 80257BB8 00254B18 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80257BBC 00254B1C 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80257BC0 00254B20 4B F4 F6 91 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList +/* 80257BC4 00254B24 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 80257BC8 00254B28 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80257BCC 00254B2C 7C 08 03 A6 */ mtlr r0 +/* 80257BD0 00254B30 38 21 00 80 */ addi r1, r1, 0x80 +/* 80257BD4 00254B34 4E 80 00 20 */ blr + +.global Render__7CRidleyCFRC13CStateManager +Render__7CRidleyCFRC13CStateManager: +/* 80257BD8 00254B38 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80257BDC 00254B3C 7C 08 02 A6 */ mflr r0 +/* 80257BE0 00254B40 90 01 01 24 */ stw r0, 0x124(r1) +/* 80257BE4 00254B44 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80257BE8 00254B48 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80257BEC 00254B4C DB C1 01 00 */ stfd f30, 0x100(r1) +/* 80257BF0 00254B50 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 80257BF4 00254B54 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80257BF8 00254B58 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80257BFC 00254B5C 7C 7E 1B 78 */ mr r30, r3 +/* 80257C00 00254B60 7C 9F 23 78 */ mr r31, r4 +/* 80257C04 00254B64 48 0F 23 B1 */ bl Black__6CColorFv +/* 80257C08 00254B68 C3 DE 0B 20 */ lfs f30, 0xb20(r30) +/* 80257C0C 00254B6C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257C10 00254B70 80 A3 00 00 */ lwz r5, 0(r3) +/* 80257C14 00254B74 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80257C18 00254B78 40 81 00 24 */ ble lbl_80257C3C +/* 80257C1C 00254B7C C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) +/* 80257C20 00254B80 48 0F 23 95 */ bl Black__6CColorFv +/* 80257C24 00254B84 EC 3E F8 24 */ fdivs f1, f30, f31 +/* 80257C28 00254B88 7C 64 1B 78 */ mr r4, r3 +/* 80257C2C 00254B8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80257C30 00254B90 38 BE 04 30 */ addi r5, r30, 0x430 +/* 80257C34 00254B94 48 10 B6 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80257C38 00254B98 80 A1 00 10 */ lwz r5, 0x10(r1) +lbl_80257C3C: +/* 80257C3C 00254B9C 38 80 00 02 */ li r4, 2 +/* 80257C40 00254BA0 38 60 00 00 */ li r3, 0 +/* 80257C44 00254BA4 38 00 00 03 */ li r0, 3 +/* 80257C48 00254BA8 98 81 00 30 */ stb r4, 0x30(r1) +/* 80257C4C 00254BAC 98 61 00 31 */ stb r3, 0x31(r1) +/* 80257C50 00254BB0 B0 01 00 32 */ sth r0, 0x32(r1) +/* 80257C54 00254BB4 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80257C58 00254BB8 48 0F 23 55 */ bl White__6CColorFv +/* 80257C5C 00254BBC C3 DE 0B 24 */ lfs f30, 0xb24(r30) +/* 80257C60 00254BC0 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257C64 00254BC4 80 03 00 00 */ lwz r0, 0(r3) +/* 80257C68 00254BC8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80257C6C 00254BCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80257C70 00254BD0 40 81 00 28 */ ble lbl_80257C98 +/* 80257C74 00254BD4 C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) +/* 80257C78 00254BD8 48 0F 23 35 */ bl White__6CColorFv +/* 80257C7C 00254BDC EC 3E F8 24 */ fdivs f1, f30, f31 +/* 80257C80 00254BE0 7C 64 1B 78 */ mr r4, r3 +/* 80257C84 00254BE4 38 61 00 0C */ addi r3, r1, 0xc +/* 80257C88 00254BE8 38 BE 04 30 */ addi r5, r30, 0x430 +/* 80257C8C 00254BEC 48 10 B6 21 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80257C90 00254BF0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80257C94 00254BF4 90 01 00 14 */ stw r0, 0x14(r1) +lbl_80257C98: +/* 80257C98 00254BF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80257C9C 00254BFC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80257CA0 00254C00 81 83 00 00 */ lwz r12, 0(r3) +/* 80257CA4 00254C04 81 8C 00 FC */ lwz r12, 0xfc(r12) +/* 80257CA8 00254C08 7D 89 03 A6 */ mtctr r12 +/* 80257CAC 00254C0C 4E 80 04 21 */ bctrl +/* 80257CB0 00254C10 88 7E 0A 31 */ lbz r3, 0xa31(r30) +/* 80257CB4 00254C14 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80257CB8 00254C18 41 82 00 D0 */ beq lbl_80257D88 +/* 80257CBC 00254C1C 7F C4 F3 78 */ mr r4, r30 +/* 80257CC0 00254C20 38 61 00 68 */ addi r3, r1, 0x68 +/* 80257CC4 00254C24 38 BE 0A 30 */ addi r5, r30, 0xa30 +/* 80257CC8 00254C28 4B E2 0B F1 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80257CCC 00254C2C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80257CD0 00254C30 38 81 00 68 */ addi r4, r1, 0x68 +/* 80257CD4 00254C34 48 0B AE A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80257CD8 00254C38 C3 DE 0B 24 */ lfs f30, 0xb24(r30) +/* 80257CDC 00254C3C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257CE0 00254C40 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80257CE4 00254C44 40 81 00 5C */ ble lbl_80257D40 +/* 80257CE8 00254C48 C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) +/* 80257CEC 00254C4C 48 0F 22 C9 */ bl Black__6CColorFv +/* 80257CF0 00254C50 EC 3E F8 24 */ fdivs f1, f30, f31 +/* 80257CF4 00254C54 7C 64 1B 78 */ mr r4, r3 +/* 80257CF8 00254C58 38 61 00 08 */ addi r3, r1, 8 +/* 80257CFC 00254C5C 38 BE 04 30 */ addi r5, r30, 0x430 +/* 80257D00 00254C60 48 10 B5 AD */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80257D04 00254C64 80 01 00 08 */ lwz r0, 8(r1) +/* 80257D08 00254C68 38 60 00 02 */ li r3, 2 +/* 80257D0C 00254C6C 38 A0 00 00 */ li r5, 0 +/* 80257D10 00254C70 39 00 00 03 */ li r8, 3 +/* 80257D14 00254C74 98 61 00 28 */ stb r3, 0x28(r1) +/* 80257D18 00254C78 7F E4 FB 78 */ mr r4, r31 +/* 80257D1C 00254C7C 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257D20 00254C80 38 7E 09 E4 */ addi r3, r30, 0x9e4 +/* 80257D24 00254C84 98 A1 00 29 */ stb r5, 0x29(r1) +/* 80257D28 00254C88 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80257D2C 00254C8C 38 E1 00 28 */ addi r7, r1, 0x28 +/* 80257D30 00254C90 B1 01 00 2A */ sth r8, 0x2a(r1) +/* 80257D34 00254C94 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80257D38 00254C98 4B EB D0 85 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80257D3C 00254C9C 48 00 00 E0 */ b lbl_80257E1C +lbl_80257D40: +/* 80257D40 00254CA0 C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) +/* 80257D44 00254CA4 38 80 00 00 */ li r4, 0 +/* 80257D48 00254CA8 38 00 00 03 */ li r0, 3 +/* 80257D4C 00254CAC 98 81 00 20 */ stb r4, 0x20(r1) +/* 80257D50 00254CB0 FC 40 08 90 */ fmr f2, f1 +/* 80257D54 00254CB4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80257D58 00254CB8 FC 60 08 90 */ fmr f3, f1 +/* 80257D5C 00254CBC 98 81 00 21 */ stb r4, 0x21(r1) +/* 80257D60 00254CC0 FC 80 08 90 */ fmr f4, f1 +/* 80257D64 00254CC4 B0 01 00 22 */ sth r0, 0x22(r1) +/* 80257D68 00254CC8 48 10 B6 85 */ bl __ct__6CColorFffff +/* 80257D6C 00254CCC 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257D70 00254CD0 7F E4 FB 78 */ mr r4, r31 +/* 80257D74 00254CD4 38 7E 09 E4 */ addi r3, r30, 0x9e4 +/* 80257D78 00254CD8 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80257D7C 00254CDC 38 E1 00 20 */ addi r7, r1, 0x20 +/* 80257D80 00254CE0 4B EB D0 3D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80257D84 00254CE4 48 00 00 98 */ b lbl_80257E1C +lbl_80257D88: +/* 80257D88 00254CE8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80257D8C 00254CEC 41 82 00 90 */ beq lbl_80257E1C +/* 80257D90 00254CF0 7F C4 F3 78 */ mr r4, r30 +/* 80257D94 00254CF4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80257D98 00254CF8 38 BE 0A 30 */ addi r5, r30, 0xa30 +/* 80257D9C 00254CFC 4B E2 0B 1D */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80257DA0 00254D00 38 61 00 98 */ addi r3, r1, 0x98 +/* 80257DA4 00254D04 38 81 00 38 */ addi r4, r1, 0x38 +/* 80257DA8 00254D08 48 0B AD CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80257DAC 00254D0C C0 3E 0B 20 */ lfs f1, 0xb20(r30) +/* 80257DB0 00254D10 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257DB4 00254D14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80257DB8 00254D18 40 81 00 20 */ ble lbl_80257DD8 +/* 80257DBC 00254D1C 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257DC0 00254D20 7F E4 FB 78 */ mr r4, r31 +/* 80257DC4 00254D24 38 7E 09 98 */ addi r3, r30, 0x998 +/* 80257DC8 00254D28 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80257DCC 00254D2C 38 E1 00 30 */ addi r7, r1, 0x30 +/* 80257DD0 00254D30 4B EB CF ED */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80257DD4 00254D34 48 00 00 48 */ b lbl_80257E1C +lbl_80257DD8: +/* 80257DD8 00254D38 C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) +/* 80257DDC 00254D3C 38 80 00 00 */ li r4, 0 +/* 80257DE0 00254D40 38 00 00 03 */ li r0, 3 +/* 80257DE4 00254D44 98 81 00 18 */ stb r4, 0x18(r1) +/* 80257DE8 00254D48 FC 40 08 90 */ fmr f2, f1 +/* 80257DEC 00254D4C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80257DF0 00254D50 FC 60 08 90 */ fmr f3, f1 +/* 80257DF4 00254D54 98 81 00 19 */ stb r4, 0x19(r1) +/* 80257DF8 00254D58 FC 80 08 90 */ fmr f4, f1 +/* 80257DFC 00254D5C B0 01 00 1A */ sth r0, 0x1a(r1) +/* 80257E00 00254D60 48 10 B5 ED */ bl __ct__6CColorFffff +/* 80257E04 00254D64 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257E08 00254D68 7F E4 FB 78 */ mr r4, r31 +/* 80257E0C 00254D6C 38 7E 09 98 */ addi r3, r30, 0x998 +/* 80257E10 00254D70 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80257E14 00254D74 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80257E18 00254D78 4B EB CF A5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_80257E1C: +/* 80257E1C 00254D7C 7F C3 F3 78 */ mr r3, r30 +/* 80257E20 00254D80 7F E4 FB 78 */ mr r4, r31 +/* 80257E24 00254D84 4B E2 02 09 */ bl Render__10CPatternedCFRC13CStateManager +/* 80257E28 00254D88 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80257E2C 00254D8C CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80257E30 00254D90 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80257E34 00254D94 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 80257E38 00254D98 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80257E3C 00254D9C 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80257E40 00254DA0 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80257E44 00254DA4 7C 08 03 A6 */ mtlr r0 +/* 80257E48 00254DA8 38 21 01 20 */ addi r1, r1, 0x120 +/* 80257E4C 00254DAC 4E 80 00 20 */ blr + +.global PreRender__7CRidleyFR13CStateManagerRC14CFrustumPlanes +PreRender__7CRidleyFR13CStateManagerRC14CFrustumPlanes: +/* 80257E50 00254DB0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80257E54 00254DB4 7C 08 02 A6 */ mflr r0 +/* 80257E58 00254DB8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80257E5C 00254DBC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80257E60 00254DC0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80257E64 00254DC4 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 80257E68 00254DC8 7C 7D 1B 78 */ mr r29, r3 +/* 80257E6C 00254DCC 7C 9E 23 78 */ mr r30, r4 +/* 80257E70 00254DD0 4B E2 04 6D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +/* 80257E74 00254DD4 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80257E78 00254DD8 7F C4 F3 78 */ mr r4, r30 +/* 80257E7C 00254DDC 81 1D 04 50 */ lwz r8, 0x450(r29) +/* 80257E80 00254DE0 38 7D 0B 2C */ addi r3, r29, 0xb2c +/* 80257E84 00254DE4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80257E88 00254DE8 38 DD 00 34 */ addi r6, r29, 0x34 +/* 80257E8C 00254DEC 38 E1 00 48 */ addi r7, r1, 0x48 +/* 80257E90 00254DF0 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80257E94 00254DF4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80257E98 00254DF8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80257E9C 00254DFC C0 05 00 08 */ lfs f0, 8(r5) +/* 80257EA0 00254E00 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80257EA4 00254E04 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80257EA8 00254E08 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80257EAC 00254E0C 4B F1 DA 65 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController +/* 80257EB0 00254E10 C0 3D 0C C8 */ lfs f1, 0xcc8(r29) +/* 80257EB4 00254E14 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257EB8 00254E18 83 7D 0C 74 */ lwz r27, 0xc74(r29) +/* 80257EBC 00254E1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80257EC0 00254E20 40 81 00 30 */ ble lbl_80257EF0 +/* 80257EC4 00254E24 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80257EC8 00254E28 4B EB CD 81 */ bl GetNumMaterialSets__10CModelDataCFv +/* 80257ECC 00254E2C C0 22 B9 A0 */ lfs f1, lbl_805AD6C0@sda21(r2) +/* 80257ED0 00254E30 C0 1D 0C C8 */ lfs f0, 0xcc8(r29) +/* 80257ED4 00254E34 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80257ED8 00254E38 FC 00 00 1E */ fctiwz f0, f0 +/* 80257EDC 00254E3C D8 01 00 70 */ stfd f0, 0x70(r1) +/* 80257EE0 00254E40 80 81 00 74 */ lwz r4, 0x74(r1) +/* 80257EE4 00254E44 7C 04 1B D6 */ divw r0, r4, r3 +/* 80257EE8 00254E48 7C 00 19 D6 */ mullw r0, r0, r3 +/* 80257EEC 00254E4C 7F 60 20 50 */ subf r27, r0, r4 +lbl_80257EF0: +/* 80257EF0 00254E50 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80257EF4 00254E54 7F C4 F3 78 */ mr r4, r30 +/* 80257EF8 00254E58 80 63 00 00 */ lwz r3, 0(r3) +/* 80257EFC 00254E5C 4B E3 96 5D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80257F00 00254E60 7C 7C 1B 78 */ mr r28, r3 +/* 80257F04 00254E64 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80257F08 00254E68 4B EB CD 41 */ bl GetNumMaterialSets__10CModelDataCFv +/* 80257F0C 00254E6C 38 1B 00 01 */ addi r0, r27, 1 +/* 80257F10 00254E70 2C 1C 00 03 */ cmpwi r28, 3 +/* 80257F14 00254E74 7C 00 18 50 */ subf r0, r0, r3 +/* 80257F18 00254E78 38 60 00 00 */ li r3, 0 +/* 80257F1C 00254E7C 7C 00 00 34 */ cntlzw r0, r0 +/* 80257F20 00254E80 54 1F D9 7E */ srwi r31, r0, 5 +/* 80257F24 00254E84 40 82 00 10 */ bne lbl_80257F34 +/* 80257F28 00254E88 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80257F2C 00254E8C 41 82 00 08 */ beq lbl_80257F34 +/* 80257F30 00254E90 38 60 00 01 */ li r3, 1 +lbl_80257F34: +/* 80257F34 00254E94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80257F38 00254E98 88 9D 00 B4 */ lbz r4, 0xb4(r29) +/* 80257F3C 00254E9C A0 7D 00 B6 */ lhz r3, 0xb6(r29) +/* 80257F40 00254EA0 80 1D 00 B8 */ lwz r0, 0xb8(r29) +/* 80257F44 00254EA4 98 81 00 10 */ stb r4, 0x10(r1) +/* 80257F48 00254EA8 9B 61 00 11 */ stb r27, 0x11(r1) +/* 80257F4C 00254EAC B0 61 00 12 */ sth r3, 0x12(r1) +/* 80257F50 00254EB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80257F54 00254EB4 41 82 00 0C */ beq lbl_80257F60 +/* 80257F58 00254EB8 60 63 00 40 */ ori r3, r3, 0x40 +/* 80257F5C 00254EBC 48 00 00 08 */ b lbl_80257F64 +lbl_80257F60: +/* 80257F60 00254EC0 54 63 06 B0 */ rlwinm r3, r3, 0, 0x1a, 0x18 +lbl_80257F64: +/* 80257F64 00254EC4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80257F68 00254EC8 88 81 00 11 */ lbz r4, 0x11(r1) +/* 80257F6C 00254ECC 98 1D 00 B4 */ stb r0, 0xb4(r29) +/* 80257F70 00254ED0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80257F74 00254ED4 98 9D 00 B5 */ stb r4, 0xb5(r29) +/* 80257F78 00254ED8 B0 7D 00 B6 */ sth r3, 0xb6(r29) +/* 80257F7C 00254EDC 90 1D 00 B8 */ stw r0, 0xb8(r29) +/* 80257F80 00254EE0 88 1D 0A 33 */ lbz r0, 0xa33(r29) +/* 80257F84 00254EE4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80257F88 00254EE8 41 82 01 A0 */ beq lbl_80258128 +/* 80257F8C 00254EEC C0 FD 0A B0 */ lfs f7, 0xab0(r29) +/* 80257F90 00254EF0 C0 BD 00 60 */ lfs f5, 0x60(r29) +/* 80257F94 00254EF4 C0 DD 0A A0 */ lfs f6, 0xaa0(r29) +/* 80257F98 00254EF8 EC 25 38 28 */ fsubs f1, f5, f7 +/* 80257F9C 00254EFC C0 0D 97 40 */ lfs f0, lbl_805A8300@sda21(r13) +/* 80257FA0 00254F00 C0 7D 0A 90 */ lfs f3, 0xa90(r29) +/* 80257FA4 00254F04 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 80257FA8 00254F08 C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 80257FAC 00254F0C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80257FB0 00254F10 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80257FB4 00254F14 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 80257FB8 00254F18 D0 E1 00 38 */ stfs f7, 0x38(r1) +/* 80257FBC 00254F1C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80257FC0 00254F20 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80257FC4 00254F24 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 80257FC8 00254F28 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80257FCC 00254F2C 40 80 00 0C */ bge lbl_80257FD8 +/* 80257FD0 00254F30 38 61 00 0C */ addi r3, r1, 0xc +/* 80257FD4 00254F34 48 00 00 08 */ b lbl_80257FDC +lbl_80257FD8: +/* 80257FD8 00254F38 38 6D 97 40 */ addi r3, r13, lbl_805A8300@sda21 +lbl_80257FDC: +/* 80257FDC 00254F3C C3 E3 00 00 */ lfs f31, 0(r3) +/* 80257FE0 00254F40 38 81 00 08 */ addi r4, r1, 8 +/* 80257FE4 00254F44 C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) +/* 80257FE8 00254F48 38 6D 97 44 */ addi r3, r13, lbl_805A8304@sda21 +/* 80257FEC 00254F4C C0 22 B9 A4 */ lfs f1, lbl_805AD6C4@sda21(r2) +/* 80257FF0 00254F50 38 AD 97 48 */ addi r5, r13, lbl_805A8308@sda21 +/* 80257FF4 00254F54 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 80257FF8 00254F58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80257FFC 00254F5C D0 01 00 08 */ stfs f0, 8(r1) +/* 80258000 00254F60 4B DB 42 B5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80258004 00254F64 C0 23 00 00 */ lfs f1, 0(r3) +/* 80258008 00254F68 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025800C 00254F6C C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80258010 00254F70 38 81 00 24 */ addi r4, r1, 0x24 +/* 80258014 00254F74 C0 82 B9 38 */ lfs f4, lbl_805AD658@sda21(r2) +/* 80258018 00254F78 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8025801C 00254F7C EC 00 08 2A */ fadds f0, f0, f1 +/* 80258020 00254F80 D0 1D 0C CC */ stfs f0, 0xccc(r29) +/* 80258024 00254F84 C1 5D 00 A8 */ lfs f10, 0xa8(r29) +/* 80258028 00254F88 C1 3D 00 9C */ lfs f9, 0x9c(r29) +/* 8025802C 00254F8C C1 1D 00 AC */ lfs f8, 0xac(r29) +/* 80258030 00254F90 C0 FD 00 A0 */ lfs f7, 0xa0(r29) +/* 80258034 00254F94 EC 6A 48 28 */ fsubs f3, f10, f9 +/* 80258038 00254F98 C1 9D 0C CC */ lfs f12, 0xccc(r29) +/* 8025803C 00254F9C EC 48 38 28 */ fsubs f2, f8, f7 +/* 80258040 00254FA0 C0 DD 00 B0 */ lfs f6, 0xb0(r29) +/* 80258044 00254FA4 C0 BD 00 A4 */ lfs f5, 0xa4(r29) +/* 80258048 00254FA8 EC 0C 00 F2 */ fmuls f0, f12, f3 +/* 8025804C 00254FAC ED 66 28 28 */ fsubs f11, f6, f5 +/* 80258050 00254FB0 EC 2C 00 B2 */ fmuls f1, f12, f2 +/* 80258054 00254FB4 EC 60 18 28 */ fsubs f3, f0, f3 +/* 80258058 00254FB8 EC 0C 02 F2 */ fmuls f0, f12, f11 +/* 8025805C 00254FBC EC 41 10 28 */ fsubs f2, f1, f2 +/* 80258060 00254FC0 ED 84 00 F2 */ fmuls f12, f4, f3 +/* 80258064 00254FC4 EC 20 58 28 */ fsubs f1, f0, f11 +/* 80258068 00254FC8 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8025806C 00254FCC EC 0A 60 2A */ fadds f0, f10, f12 +/* 80258070 00254FD0 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80258074 00254FD4 EC 88 10 2A */ fadds f4, f8, f2 +/* 80258078 00254FD8 EC 47 10 28 */ fsubs f2, f7, f2 +/* 8025807C 00254FDC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80258080 00254FE0 EC 66 08 2A */ fadds f3, f6, f1 +/* 80258084 00254FE4 EC 25 08 28 */ fsubs f1, f5, f1 +/* 80258088 00254FE8 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8025808C 00254FEC EC 09 60 28 */ fsubs f0, f9, f12 +/* 80258090 00254FF0 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80258094 00254FF4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80258098 00254FF8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8025809C 00254FFC D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802580A0 00255000 48 0E 04 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802580A4 00255004 2C 1C 00 00 */ cmpwi r28, 0 +/* 802580A8 00255008 41 82 00 0C */ beq lbl_802580B4 +/* 802580AC 0025500C 2C 1C 00 02 */ cmpwi r28, 2 +/* 802580B0 00255010 40 82 00 6C */ bne lbl_8025811C +lbl_802580B4: +/* 802580B4 00255014 38 7D 0A C4 */ addi r3, r29, 0xac4 +/* 802580B8 00255018 38 81 00 54 */ addi r4, r1, 0x54 +/* 802580BC 0025501C 48 0D FA C9 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802580C0 00255020 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802580C4 00255024 41 82 00 58 */ beq lbl_8025811C +/* 802580C8 00255028 C0 02 B9 A8 */ lfs f0, lbl_805AD6C8@sda21(r2) +/* 802580CC 0025502C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802580D0 00255030 40 81 00 4C */ ble lbl_8025811C +/* 802580D4 00255034 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802580D8 00255038 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 802580DC 0025503C 7C 04 00 D0 */ neg r0, r4 +/* 802580E0 00255040 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802580E4 00255044 EC 40 F8 2A */ fadds f2, f0, f31 +/* 802580E8 00255048 7C 00 23 78 */ or r0, r0, r4 +/* 802580EC 0025504C 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 802580F0 00255050 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 802580F4 00255054 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 802580F8 00255058 7F C4 F3 78 */ mr r4, r30 +/* 802580FC 0025505C C0 3D 0C CC */ lfs f1, 0xccc(r29) +/* 80258100 00255060 38 DD 00 34 */ addi r6, r29, 0x34 +/* 80258104 00255064 54 07 0F FE */ srwi r7, r0, 0x1f +/* 80258108 00255068 48 04 5C 81 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff +/* 8025810C 0025506C C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) +/* 80258110 00255070 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 80258114 00255074 D0 03 00 98 */ stfs f0, 0x98(r3) +/* 80258118 00255078 48 00 00 18 */ b lbl_80258130 +lbl_8025811C: +/* 8025811C 0025507C 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 80258120 00255080 48 04 55 A9 */ bl sub_8029d6c8 +/* 80258124 00255084 48 00 00 0C */ b lbl_80258130 +lbl_80258128: +/* 80258128 00255088 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 8025812C 0025508C 48 04 55 9D */ bl sub_8029d6c8 +lbl_80258130: +/* 80258130 00255090 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80258134 00255094 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80258138 00255098 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 8025813C 0025509C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80258140 002550A0 7C 08 03 A6 */ mtlr r0 +/* 80258144 002550A4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80258148 002550A8 4E 80 00 20 */ blr + +.global AddToRenderer__7CRidleyCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__7CRidleyCFRC14CFrustumPlanesRC13CStateManager: +/* 8025814C 002550AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80258150 002550B0 7C 08 02 A6 */ mflr r0 +/* 80258154 002550B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80258158 002550B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025815C 002550BC 7C 9F 23 78 */ mr r31, r4 +/* 80258160 002550C0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80258164 002550C4 7C 7E 1B 78 */ mr r30, r3 +/* 80258168 002550C8 4B E1 F7 51 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 8025816C 002550CC 80 9E 0C E0 */ lwz r4, 0xce0(r30) +/* 80258170 002550D0 28 04 00 00 */ cmplwi r4, 0 +/* 80258174 002550D4 41 82 00 4C */ beq lbl_802581C0 +/* 80258178 002550D8 81 84 00 00 */ lwz r12, 0(r4) +/* 8025817C 002550DC 38 61 00 08 */ addi r3, r1, 8 +/* 80258180 002550E0 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80258184 002550E4 7D 89 03 A6 */ mtctr r12 +/* 80258188 002550E8 4E 80 04 21 */ bctrl +/* 8025818C 002550EC 7F E3 FB 78 */ mr r3, r31 +/* 80258190 002550F0 38 81 00 08 */ addi r4, r1, 8 +/* 80258194 002550F4 48 0E CF F5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80258198 002550F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025819C 002550FC 38 60 00 00 */ li r3, 0 +/* 802581A0 00255100 98 61 00 20 */ stb r3, 0x20(r1) +/* 802581A4 00255104 41 82 00 1C */ beq lbl_802581C0 +/* 802581A8 00255108 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802581AC 0025510C 80 9E 0C E0 */ lwz r4, 0xce0(r30) +/* 802581B0 00255110 81 83 00 00 */ lwz r12, 0(r3) +/* 802581B4 00255114 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802581B8 00255118 7D 89 03 A6 */ mtctr r12 +/* 802581BC 0025511C 4E 80 04 21 */ bctrl +lbl_802581C0: +/* 802581C0 00255120 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802581C4 00255124 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802581C8 00255128 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802581CC 0025512C 7C 08 03 A6 */ mtlr r0 +/* 802581D0 00255130 38 21 00 30 */ addi r1, r1, 0x30 +/* 802581D4 00255134 4E 80 00 20 */ blr + +.global GetSortingBounds__7CRidleyCFRC12CTransform4f +GetSortingBounds__7CRidleyCFRC12CTransform4f: +/* 802581D8 00255138 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802581DC 0025513C 7C 08 02 A6 */ mflr r0 +/* 802581E0 00255140 90 01 00 14 */ stw r0, 0x14(r1) +/* 802581E4 00255144 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802581E8 00255148 7C 7F 1B 78 */ mr r31, r3 +/* 802581EC 0025514C 4B EC 27 41 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 802581F0 00255150 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802581F4 00255154 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802581F8 00255158 7C 08 03 A6 */ mtlr r0 +/* 802581FC 0025515C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80258200 00255160 4E 80 00 20 */ blr + +.global GetDamageVulnerability__7CRidleyCFv +GetDamageVulnerability__7CRidleyCFv: +/* 80258204 00255164 3C 60 80 57 */ lis r3, lbl_8056D718@ha +/* 80258208 00255168 38 63 D7 18 */ addi r3, r3, lbl_8056D718@l +/* 8025820C 0025516C 4E 80 00 20 */ blr + +.global DoUserAnimEvent__7CRidleyFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__7CRidleyFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80258210 00255170 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 80258214 00255174 7C 08 02 A6 */ mflr r0 +/* 80258218 00255178 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 8025821C 0025517C DB E1 03 A0 */ stfd f31, 0x3a0(r1) +/* 80258220 00255180 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 +/* 80258224 00255184 DB C1 03 90 */ stfd f30, 0x390(r1) +/* 80258228 00255188 F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 +/* 8025822C 0025518C DB A1 03 80 */ stfd f29, 0x380(r1) +/* 80258230 00255190 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 +/* 80258234 00255194 BF 01 03 60 */ stmw r24, 0x360(r1) +/* 80258238 00255198 7C DF 33 78 */ mr r31, r6 +/* 8025823C 0025519C FF E0 08 90 */ fmr f31, f1 +/* 80258240 002551A0 28 1F 00 1F */ cmplwi r31, 0x1f +/* 80258244 002551A4 7C 7C 1B 78 */ mr r28, r3 +/* 80258248 002551A8 7C 9D 23 78 */ mr r29, r4 +/* 8025824C 002551AC 7C BE 2B 78 */ mr r30, r5 +/* 80258250 002551B0 3B 40 00 00 */ li r26, 0 +/* 80258254 002551B4 41 81 0A 4C */ bgt lbl_80258CA0 +/* 80258258 002551B8 3C A0 80 3F */ lis r5, lbl_803E9524@ha +/* 8025825C 002551BC 57 E0 10 3A */ slwi r0, r31, 2 +/* 80258260 002551C0 38 A5 95 24 */ addi r5, r5, lbl_803E9524@l +/* 80258264 002551C4 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80258268 002551C8 7C 09 03 A6 */ mtctr r0 +/* 8025826C 002551CC 4E 80 04 20 */ bctr +/* 80258270 002551D0 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80258274 002551D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80258278 002551D8 41 82 00 14 */ beq lbl_8025828C +/* 8025827C 002551DC 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258280 002551E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80258284 002551E4 40 82 00 08 */ bne lbl_8025828C +/* 80258288 002551E8 4B FF EB 2D */ bl sub_80256db4 +lbl_8025828C: +/* 8025828C 002551EC 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258290 002551F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80258294 002551F4 41 82 0A 0C */ beq lbl_80258CA0 +/* 80258298 002551F8 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 8025829C 002551FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802582A0 00255200 41 82 0A 00 */ beq lbl_80258CA0 +/* 802582A4 00255204 C0 7C 0A A4 */ lfs f3, 0xaa4(r28) +/* 802582A8 00255208 C0 5C 0A 94 */ lfs f2, 0xa94(r28) +/* 802582AC 0025520C C0 3C 0A 84 */ lfs f1, 0xa84(r28) +/* 802582B0 00255210 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802582B4 00255214 D0 3C 0B F0 */ stfs f1, 0xbf0(r28) +/* 802582B8 00255218 D0 5C 0B F4 */ stfs f2, 0xbf4(r28) +/* 802582BC 0025521C D0 7C 0B F8 */ stfs f3, 0xbf8(r28) +/* 802582C0 00255220 C1 1C 00 50 */ lfs f8, 0x50(r28) +/* 802582C4 00255224 C0 3C 0A A0 */ lfs f1, 0xaa0(r28) +/* 802582C8 00255228 C0 BC 00 40 */ lfs f5, 0x40(r28) +/* 802582CC 0025522C EC E8 08 28 */ fsubs f7, f8, f1 +/* 802582D0 00255230 C0 5C 0A 90 */ lfs f2, 0xa90(r28) +/* 802582D4 00255234 C0 3C 0B F4 */ lfs f1, 0xbf4(r28) +/* 802582D8 00255238 EC 85 10 28 */ fsubs f4, f5, f2 +/* 802582DC 0025523C C1 3C 00 60 */ lfs f9, 0x60(r28) +/* 802582E0 00255240 C0 7C 0A B0 */ lfs f3, 0xab0(r28) +/* 802582E4 00255244 EC 27 00 72 */ fmuls f1, f7, f1 +/* 802582E8 00255248 C0 5C 0B F0 */ lfs f2, 0xbf0(r28) +/* 802582EC 0025524C EC C9 18 28 */ fsubs f6, f9, f3 +/* 802582F0 00255250 C0 7C 0B F8 */ lfs f3, 0xbf8(r28) +/* 802582F4 00255254 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802582F8 00255258 D0 A1 01 28 */ stfs f5, 0x128(r1) +/* 802582FC 0025525C D1 01 01 2C */ stfs f8, 0x12c(r1) +/* 80258300 00255260 EC 26 08 FA */ fmadds f1, f6, f3, f1 +/* 80258304 00255264 D1 21 01 30 */ stfs f9, 0x130(r1) +/* 80258308 00255268 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025830C 0025526C D0 81 01 34 */ stfs f4, 0x134(r1) +/* 80258310 00255270 D0 E1 01 38 */ stfs f7, 0x138(r1) +/* 80258314 00255274 D0 C1 01 3C */ stfs f6, 0x13c(r1) +/* 80258318 00255278 40 81 00 2C */ ble lbl_80258344 +/* 8025831C 0025527C C0 1C 0B F0 */ lfs f0, 0xbf0(r28) +/* 80258320 00255280 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 80258324 00255284 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80258328 00255288 D0 1C 0B F0 */ stfs f0, 0xbf0(r28) +/* 8025832C 0025528C C0 1C 0B F4 */ lfs f0, 0xbf4(r28) +/* 80258330 00255290 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80258334 00255294 D0 1C 0B F4 */ stfs f0, 0xbf4(r28) +/* 80258338 00255298 C0 1C 0B F8 */ lfs f0, 0xbf8(r28) +/* 8025833C 0025529C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80258340 002552A0 D0 1C 0B F8 */ stfs f0, 0xbf8(r28) +lbl_80258344: +/* 80258344 002552A4 C0 1C 0B F0 */ lfs f0, 0xbf0(r28) +/* 80258348 002552A8 D0 1C 0B FC */ stfs f0, 0xbfc(r28) +/* 8025834C 002552AC C0 1C 0B F4 */ lfs f0, 0xbf4(r28) +/* 80258350 002552B0 D0 1C 0C 00 */ stfs f0, 0xc00(r28) +/* 80258354 002552B4 C0 1C 0B F8 */ lfs f0, 0xbf8(r28) +/* 80258358 002552B8 D0 1C 0C 04 */ stfs f0, 0xc04(r28) +/* 8025835C 002552BC C0 DC 0A BC */ lfs f6, 0xabc(r28) +/* 80258360 002552C0 C0 1C 0B F0 */ lfs f0, 0xbf0(r28) +/* 80258364 002552C4 C0 7C 0B F4 */ lfs f3, 0xbf4(r28) +/* 80258368 002552C8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8025836C 002552CC C0 3C 0A 90 */ lfs f1, 0xa90(r28) +/* 80258370 002552D0 C0 5C 0B F8 */ lfs f2, 0xbf8(r28) +/* 80258374 002552D4 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 80258378 002552D8 C0 BC 0A A0 */ lfs f5, 0xaa0(r28) +/* 8025837C 002552DC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80258380 002552E0 C0 7C 0A B0 */ lfs f3, 0xab0(r28) +/* 80258384 002552E4 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 80258388 002552E8 EC 45 20 28 */ fsubs f2, f5, f4 +/* 8025838C 002552EC D0 1C 0B E4 */ stfs f0, 0xbe4(r28) +/* 80258390 002552F0 EC 03 08 28 */ fsubs f0, f3, f1 +/* 80258394 002552F4 D0 5C 0B E8 */ stfs f2, 0xbe8(r28) +/* 80258398 002552F8 D0 1C 0B EC */ stfs f0, 0xbec(r28) +/* 8025839C 002552FC 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 802583A0 00255300 C0 1C 0A A0 */ lfs f0, 0xaa0(r28) +/* 802583A4 00255304 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 802583A8 00255308 C0 BC 0A 98 */ lfs f5, 0xa98(r28) +/* 802583AC 0025530C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802583B0 00255310 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 802583B4 00255314 C0 3C 0A 90 */ lfs f1, 0xa90(r28) +/* 802583B8 00255318 C0 DC 0A 88 */ lfs f6, 0xa88(r28) +/* 802583BC 0025531C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802583C0 00255320 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 802583C4 00255324 EC 00 01 72 */ fmuls f0, f0, f5 +/* 802583C8 00255328 C0 5C 0A B0 */ lfs f2, 0xab0(r28) +/* 802583CC 0025532C C0 9C 0A A8 */ lfs f4, 0xaa8(r28) +/* 802583D0 00255330 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802583D4 00255334 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 802583D8 00255338 C0 7C 0B E4 */ lfs f3, 0xbe4(r28) +/* 802583DC 0025533C EC 02 01 3A */ fmadds f0, f2, f4, f0 +/* 802583E0 00255340 EC 40 01 B2 */ fmuls f2, f0, f6 +/* 802583E4 00255344 EC 20 01 72 */ fmuls f1, f0, f5 +/* 802583E8 00255348 EC 00 01 32 */ fmuls f0, f0, f4 +/* 802583EC 0025534C EC 43 10 2A */ fadds f2, f3, f2 +/* 802583F0 00255350 D0 5C 0B E4 */ stfs f2, 0xbe4(r28) +/* 802583F4 00255354 C0 5C 0B E8 */ lfs f2, 0xbe8(r28) +/* 802583F8 00255358 EC 22 08 2A */ fadds f1, f2, f1 +/* 802583FC 0025535C D0 3C 0B E8 */ stfs f1, 0xbe8(r28) +/* 80258400 00255360 C0 3C 0B EC */ lfs f1, 0xbec(r28) +/* 80258404 00255364 EC 01 00 2A */ fadds f0, f1, f0 +/* 80258408 00255368 D0 1C 0B EC */ stfs f0, 0xbec(r28) +/* 8025840C 0025536C 48 00 08 94 */ b lbl_80258CA0 +/* 80258410 00255370 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258414 00255374 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80258418 00255378 41 82 08 88 */ beq lbl_80258CA0 +/* 8025841C 0025537C 38 A0 00 00 */ li r5, 0 +/* 80258420 00255380 4B FF E6 4D */ bl sub_80256a6c +/* 80258424 00255384 48 00 08 7C */ b lbl_80258CA0 +/* 80258428 00255388 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 8025842C 0025538C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80258430 00255390 40 82 08 70 */ bne lbl_80258CA0 +/* 80258434 00255394 C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) +/* 80258438 00255398 39 60 00 00 */ li r11, 0 +/* 8025843C 0025539C C0 82 B9 9C */ lfs f4, lbl_805AD6BC@sda21(r2) +/* 80258440 002553A0 39 80 00 01 */ li r12, 1 +/* 80258444 002553A4 C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) +/* 80258448 002553A8 39 40 00 7F */ li r10, 0x7f +/* 8025844C 002553AC 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 80258450 002553B0 39 20 00 3F */ li r9, 0x3f +/* 80258454 002553B4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80258458 002553B8 D0 A1 03 30 */ stfs f5, 0x330(r1) +/* 8025845C 002553BC 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 80258460 002553C0 A8 C2 C5 F8 */ lha r6, lbl_805AE318@sda21(r2) +/* 80258464 002553C4 D0 A1 03 34 */ stfs f5, 0x334(r1) +/* 80258468 002553C8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8025846C 002553CC C0 48 00 00 */ lfs f2, 0(r8) +/* 80258470 002553D0 38 81 03 30 */ addi r4, r1, 0x330 +/* 80258474 002553D4 D0 A1 03 38 */ stfs f5, 0x338(r1) +/* 80258478 002553D8 38 A0 00 01 */ li r5, 1 +/* 8025847C 002553DC C0 28 00 04 */ lfs f1, 4(r8) +/* 80258480 002553E0 38 E0 00 00 */ li r7, 0 +/* 80258484 002553E4 D0 A1 03 3C */ stfs f5, 0x33c(r1) +/* 80258488 002553E8 C0 08 00 08 */ lfs f0, 8(r8) +/* 8025848C 002553EC D0 A1 03 40 */ stfs f5, 0x340(r1) +/* 80258490 002553F0 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) +/* 80258494 002553F4 D0 A1 03 44 */ stfs f5, 0x344(r1) +/* 80258498 002553F8 D0 81 03 48 */ stfs f4, 0x348(r1) +/* 8025849C 002553FC D0 61 03 4C */ stfs f3, 0x34c(r1) +/* 802584A0 00255400 91 81 03 50 */ stw r12, 0x350(r1) +/* 802584A4 00255404 B1 61 03 54 */ sth r11, 0x354(r1) +/* 802584A8 00255408 99 41 03 56 */ stb r10, 0x356(r1) +/* 802584AC 0025540C 99 21 03 57 */ stb r9, 0x357(r1) +/* 802584B0 00255410 99 61 03 58 */ stb r11, 0x358(r1) +/* 802584B4 00255414 98 01 03 59 */ stb r0, 0x359(r1) +/* 802584B8 00255418 C0 BC 00 60 */ lfs f5, 0x60(r28) +/* 802584BC 0025541C C0 9C 00 50 */ lfs f4, 0x50(r28) +/* 802584C0 00255420 C0 7C 00 40 */ lfs f3, 0x40(r28) +/* 802584C4 00255424 D0 61 03 30 */ stfs f3, 0x330(r1) +/* 802584C8 00255428 D0 81 03 34 */ stfs f4, 0x334(r1) +/* 802584CC 0025542C D0 A1 03 38 */ stfs f5, 0x338(r1) +/* 802584D0 00255430 D0 41 03 3C */ stfs f2, 0x33c(r1) +/* 802584D4 00255434 D0 21 03 40 */ stfs f1, 0x340(r1) +/* 802584D8 00255438 D0 01 03 44 */ stfs f0, 0x344(r1) +/* 802584DC 0025543C A0 1C 07 FC */ lhz r0, 0x7fc(r28) +/* 802584E0 00255440 B0 01 03 54 */ sth r0, 0x354(r1) +/* 802584E4 00255444 48 09 1A FD */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 802584E8 00255448 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802584EC 0025544C 90 1C 0C AC */ stw r0, 0xcac(r28) +/* 802584F0 00255450 48 00 07 B0 */ b lbl_80258CA0 +/* 802584F4 00255454 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 802584F8 00255458 4B EB C7 51 */ bl GetNumMaterialSets__10CModelDataCFv +/* 802584FC 0025545C 80 9C 0C 74 */ lwz r4, 0xc74(r28) +/* 80258500 00255460 38 04 00 01 */ addi r0, r4, 1 +/* 80258504 00255464 7C 00 18 00 */ cmpw r0, r3 +/* 80258508 00255468 40 80 00 08 */ bge lbl_80258510 +/* 8025850C 0025546C 90 1C 0C 74 */ stw r0, 0xc74(r28) +lbl_80258510: +/* 80258510 00255470 3B 40 00 01 */ li r26, 1 +/* 80258514 00255474 48 00 07 8C */ b lbl_80258CA0 +/* 80258518 00255478 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 8025851C 0025547C 2C 00 00 02 */ cmpwi r0, 2 +/* 80258520 00255480 41 82 00 08 */ beq lbl_80258528 +/* 80258524 00255484 48 00 02 A0 */ b lbl_802587C4 +lbl_80258528: +/* 80258528 00255488 3B 1C 0C 14 */ addi r24, r28, 0xc14 +/* 8025852C 0025548C 80 1C 0C 1C */ lwz r0, 0xc1c(r28) +/* 80258530 00255490 28 00 00 00 */ cmplwi r0, 0 +/* 80258534 00255494 41 82 00 0C */ beq lbl_80258540 +/* 80258538 00255498 38 60 00 01 */ li r3, 1 +/* 8025853C 0025549C 48 00 00 3C */ b lbl_80258578 +lbl_80258540: +/* 80258540 002554A0 88 18 00 04 */ lbz r0, 4(r24) +/* 80258544 002554A4 28 00 00 00 */ cmplwi r0, 0 +/* 80258548 002554A8 41 82 00 2C */ beq lbl_80258574 +/* 8025854C 002554AC 80 78 00 00 */ lwz r3, 0(r24) +/* 80258550 002554B0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80258554 002554B4 28 00 00 00 */ cmplwi r0, 0 +/* 80258558 002554B8 41 82 00 1C */ beq lbl_80258574 +/* 8025855C 002554BC 7F 03 C3 78 */ mr r3, r24 +/* 80258560 002554C0 48 0E 88 AD */ bl GetObj__6CTokenFv +/* 80258564 002554C4 80 03 00 04 */ lwz r0, 4(r3) +/* 80258568 002554C8 38 60 00 01 */ li r3, 1 +/* 8025856C 002554CC 90 18 00 08 */ stw r0, 8(r24) +/* 80258570 002554D0 48 00 00 08 */ b lbl_80258578 +lbl_80258574: +/* 80258574 002554D4 38 60 00 00 */ li r3, 0 +lbl_80258578: +/* 80258578 002554D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025857C 002554DC 41 82 02 48 */ beq lbl_802587C4 +/* 80258580 002554E0 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258584 002554E4 7F A3 EB 78 */ mr r3, r29 +/* 80258588 002554E8 38 81 00 88 */ addi r4, r1, 0x88 +/* 8025858C 002554EC 38 A0 00 09 */ li r5, 9 +/* 80258590 002554F0 B0 01 00 84 */ sth r0, 0x84(r1) +/* 80258594 002554F4 38 C0 00 09 */ li r6, 9 +/* 80258598 002554F8 B0 01 00 88 */ sth r0, 0x88(r1) +/* 8025859C 002554FC 4B DE D1 95 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 802585A0 00255500 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802585A4 00255504 41 82 02 20 */ beq lbl_802587C4 +/* 802585A8 00255508 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 802585AC 0025550C C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 802585B0 00255510 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 802585B4 00255514 48 0B 9F 91 */ bl Range__9CRandom16Fff +/* 802585B8 00255518 FC 00 08 90 */ fmr f0, f1 +/* 802585BC 0025551C 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 802585C0 00255520 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 802585C4 00255524 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 802585C8 00255528 FF A0 00 90 */ fmr f29, f0 +/* 802585CC 0025552C 48 0B 9F 79 */ bl Range__9CRandom16Fff +/* 802585D0 00255530 FC 40 E8 90 */ fmr f2, f29 +/* 802585D4 00255534 48 13 C6 99 */ bl atan2 +/* 802585D8 00255538 C0 02 B9 B0 */ lfs f0, lbl_805AD6D0@sda21(r2) +/* 802585DC 0025553C FF A0 08 18 */ frsp f29, f1 +/* 802585E0 00255540 38 61 02 40 */ addi r3, r1, 0x240 +/* 802585E4 00255544 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802585E8 00255548 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802585EC 0025554C 48 0B B3 55 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 802585F0 00255550 7F 84 E3 78 */ mr r4, r28 +/* 802585F4 00255554 38 61 02 70 */ addi r3, r1, 0x270 +/* 802585F8 00255558 38 BC 0A 30 */ addi r5, r28, 0xa30 +/* 802585FC 0025555C 4B E2 02 BD */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80258600 00255560 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 80258604 00255564 38 81 02 70 */ addi r4, r1, 0x270 +/* 80258608 00255568 38 A1 02 40 */ addi r5, r1, 0x240 +/* 8025860C 0025556C 48 0B A3 45 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80258610 00255570 38 61 03 00 */ addi r3, r1, 0x300 +/* 80258614 00255574 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 80258618 00255578 48 0B A5 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025861C 0025557C D3 A1 00 9C */ stfs f29, 0x9c(r1) +/* 80258620 00255580 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80258624 00255584 38 81 00 9C */ addi r4, r1, 0x9c +/* 80258628 00255588 48 0B B2 81 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 8025862C 0025558C 38 61 02 10 */ addi r3, r1, 0x210 +/* 80258630 00255590 38 81 03 00 */ addi r4, r1, 0x300 +/* 80258634 00255594 38 A1 01 E0 */ addi r5, r1, 0x1e0 +/* 80258638 00255598 48 0B A3 19 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8025863C 0025559C 38 61 03 00 */ addi r3, r1, 0x300 +/* 80258640 002555A0 38 81 02 10 */ addi r4, r1, 0x210 +/* 80258644 002555A4 48 0B A4 FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80258648 002555A8 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025864C 002555AC 38 61 01 1C */ addi r3, r1, 0x11c +/* 80258650 002555B0 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80258654 002555B4 38 81 03 00 */ addi r4, r1, 0x300 +/* 80258658 002555B8 D0 01 01 5C */ stfs f0, 0x15c(r1) +/* 8025865C 002555BC 38 A1 01 58 */ addi r5, r1, 0x158 +/* 80258660 002555C0 D0 21 01 58 */ stfs f1, 0x158(r1) +/* 80258664 002555C4 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 80258668 002555C8 48 0B A4 81 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8025866C 002555CC C0 41 01 1C */ lfs f2, 0x11c(r1) +/* 80258670 002555D0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80258674 002555D4 C0 21 01 20 */ lfs f1, 0x120(r1) +/* 80258678 002555D8 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 8025867C 002555DC C0 01 01 24 */ lfs f0, 0x124(r1) +/* 80258680 002555E0 38 83 00 85 */ addi r4, r3, 0x85 +/* 80258684 002555E4 D0 41 03 0C */ stfs f2, 0x30c(r1) +/* 80258688 002555E8 3B 40 00 00 */ li r26, 0 +/* 8025868C 002555EC 38 60 03 D8 */ li r3, 0x3d8 +/* 80258690 002555F0 38 A0 00 00 */ li r5, 0 +/* 80258694 002555F4 D0 21 03 1C */ stfs f1, 0x31c(r1) +/* 80258698 002555F8 D0 01 03 2C */ stfs f0, 0x32c(r1) +/* 8025869C 002555FC 48 0B D1 D1 */ bl __nw__FUlPCcPCc +/* 802586A0 00255600 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802586A4 00255604 41 82 00 C4 */ beq lbl_80258768 +/* 802586A8 00255608 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 802586AC 0025560C 38 00 00 00 */ li r0, 0 +/* 802586B0 00255610 98 01 01 18 */ stb r0, 0x118(r1) +/* 802586B4 00255614 7F A4 EB 78 */ mr r4, r29 +/* 802586B8 00255618 38 61 00 6C */ addi r3, r1, 0x6c +/* 802586BC 0025561C 3B 40 00 01 */ li r26, 1 +/* 802586C0 00255620 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 802586C4 00255624 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802586C8 00255628 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 802586CC 0025562C 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 802586D0 00255630 A0 05 00 08 */ lhz r0, 8(r5) +/* 802586D4 00255634 B0 01 00 80 */ sth r0, 0x80(r1) +/* 802586D8 00255638 A0 BC 00 08 */ lhz r5, 8(r28) +/* 802586DC 0025563C B0 01 00 7C */ sth r0, 0x7c(r1) +/* 802586E0 00255640 B0 A1 00 78 */ sth r5, 0x78(r1) +/* 802586E4 00255644 80 1C 00 04 */ lwz r0, 4(r28) +/* 802586E8 00255648 B0 A1 00 74 */ sth r5, 0x74(r1) +/* 802586EC 0025564C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802586F0 00255650 90 01 00 98 */ stw r0, 0x98(r1) +/* 802586F4 00255654 4B DF 49 E9 */ bl AllocateUniqueId__13CStateManagerFv +/* 802586F8 00255658 A0 61 00 6C */ lhz r3, 0x6c(r1) +/* 802586FC 0025565C 38 01 00 98 */ addi r0, r1, 0x98 +/* 80258700 00255660 38 C1 00 78 */ addi r6, r1, 0x78 +/* 80258704 00255664 38 81 00 80 */ addi r4, r1, 0x80 +/* 80258708 00255668 B0 61 00 70 */ sth r3, 0x70(r1) +/* 8025870C 0025566C 3B 00 00 00 */ li r24, 0 +/* 80258710 00255670 39 81 01 00 */ addi r12, r1, 0x100 +/* 80258714 00255674 39 61 01 0C */ addi r11, r1, 0x10c +/* 80258718 00255678 90 01 00 08 */ stw r0, 8(r1) +/* 8025871C 0025567C 7F 63 DB 78 */ mr r3, r27 +/* 80258720 00255680 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 80258724 00255684 38 BC 0C 14 */ addi r5, r28, 0xc14 +/* 80258728 00255688 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8025872C 0025568C 38 E1 03 00 */ addi r7, r1, 0x300 +/* 80258730 00255690 39 3C 0C 20 */ addi r9, r28, 0xc20 +/* 80258734 00255694 39 41 00 70 */ addi r10, r1, 0x70 +/* 80258738 00255698 90 81 00 10 */ stw r4, 0x10(r1) +/* 8025873C 0025569C 38 80 00 01 */ li r4, 1 +/* 80258740 002556A0 38 C0 00 09 */ li r6, 9 +/* 80258744 002556A4 39 00 00 21 */ li r8, 0x21 +/* 80258748 002556A8 93 01 00 14 */ stw r24, 0x14(r1) +/* 8025874C 002556AC 93 01 00 18 */ stw r24, 0x18(r1) +/* 80258750 002556B0 91 81 00 1C */ stw r12, 0x1c(r1) +/* 80258754 002556B4 91 61 00 20 */ stw r11, 0x20(r1) +/* 80258758 002556B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025875C 002556BC 93 01 00 28 */ stw r24, 0x28(r1) +/* 80258760 002556C0 4B FB CF 39 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80258764 002556C4 7C 7B 1B 78 */ mr r27, r3 +lbl_80258768: +/* 80258768 002556C8 7F 40 07 75 */ extsb. r0, r26 +/* 8025876C 002556CC 41 82 00 30 */ beq lbl_8025879C +/* 80258770 002556D0 88 01 01 18 */ lbz r0, 0x118(r1) +/* 80258774 002556D4 28 00 00 00 */ cmplwi r0, 0 +/* 80258778 002556D8 41 82 00 1C */ beq lbl_80258794 +/* 8025877C 002556DC 34 61 01 0C */ addic. r3, r1, 0x10c +/* 80258780 002556E0 41 82 00 14 */ beq lbl_80258794 +/* 80258784 002556E4 28 03 00 00 */ cmplwi r3, 0 +/* 80258788 002556E8 41 82 00 0C */ beq lbl_80258794 +/* 8025878C 002556EC 38 80 00 00 */ li r4, 0 +/* 80258790 002556F0 48 0E 86 B1 */ bl __dt__6CTokenFv +lbl_80258794: +/* 80258794 002556F4 38 00 00 00 */ li r0, 0 +/* 80258798 002556F8 98 01 01 18 */ stb r0, 0x118(r1) +lbl_8025879C: +/* 8025879C 002556FC 28 1B 00 00 */ cmplwi r27, 0 +/* 802587A0 00255700 41 82 00 24 */ beq lbl_802587C4 +/* 802587A4 00255704 7F A3 EB 78 */ mr r3, r29 +/* 802587A8 00255708 7F 64 DB 78 */ mr r4, r27 +/* 802587AC 0025570C 4B DF 45 49 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 802587B0 00255710 7F 63 DB 78 */ mr r3, r27 +/* 802587B4 00255714 38 9C 06 34 */ addi r4, r28, 0x634 +/* 802587B8 00255718 4B FB B3 15 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 802587BC 0025571C C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) +/* 802587C0 00255720 D0 1B 02 E0 */ stfs f0, 0x2e0(r27) +lbl_802587C4: +/* 802587C4 00255724 3B 40 00 01 */ li r26, 1 +/* 802587C8 00255728 48 00 04 D8 */ b lbl_80258CA0 +/* 802587CC 0025572C 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 802587D0 00255730 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802587D4 00255734 41 82 02 A8 */ beq lbl_80258A7C +/* 802587D8 00255738 3B 1C 0C 3C */ addi r24, r28, 0xc3c +/* 802587DC 0025573C 80 1C 0C 44 */ lwz r0, 0xc44(r28) +/* 802587E0 00255740 28 00 00 00 */ cmplwi r0, 0 +/* 802587E4 00255744 41 82 00 0C */ beq lbl_802587F0 +/* 802587E8 00255748 38 60 00 01 */ li r3, 1 +/* 802587EC 0025574C 48 00 00 3C */ b lbl_80258828 +lbl_802587F0: +/* 802587F0 00255750 88 18 00 04 */ lbz r0, 4(r24) +/* 802587F4 00255754 28 00 00 00 */ cmplwi r0, 0 +/* 802587F8 00255758 41 82 00 2C */ beq lbl_80258824 +/* 802587FC 0025575C 80 78 00 00 */ lwz r3, 0(r24) +/* 80258800 00255760 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80258804 00255764 28 00 00 00 */ cmplwi r0, 0 +/* 80258808 00255768 41 82 00 1C */ beq lbl_80258824 +/* 8025880C 0025576C 7F 03 C3 78 */ mr r3, r24 +/* 80258810 00255770 48 0E 85 FD */ bl GetObj__6CTokenFv +/* 80258814 00255774 80 03 00 04 */ lwz r0, 4(r3) +/* 80258818 00255778 38 60 00 01 */ li r3, 1 +/* 8025881C 0025577C 90 18 00 08 */ stw r0, 8(r24) +/* 80258820 00255780 48 00 00 08 */ b lbl_80258828 +lbl_80258824: +/* 80258824 00255784 38 60 00 00 */ li r3, 0 +lbl_80258828: +/* 80258828 00255788 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025882C 0025578C 41 82 04 74 */ beq lbl_80258CA0 +/* 80258830 00255790 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258834 00255794 7F A3 EB 78 */ mr r3, r29 +/* 80258838 00255798 38 81 00 68 */ addi r4, r1, 0x68 +/* 8025883C 0025579C 38 A0 00 09 */ li r5, 9 +/* 80258840 002557A0 B0 01 00 64 */ sth r0, 0x64(r1) +/* 80258844 002557A4 38 C0 00 08 */ li r6, 8 +/* 80258848 002557A8 B0 01 00 68 */ sth r0, 0x68(r1) +/* 8025884C 002557AC 4B DE CE E5 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 80258850 002557B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80258854 002557B4 41 82 04 4C */ beq lbl_80258CA0 +/* 80258858 002557B8 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8025885C 002557BC C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 80258860 002557C0 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 80258864 002557C4 48 0B 9C E1 */ bl Range__9CRandom16Fff +/* 80258868 002557C8 FF A0 08 90 */ fmr f29, f1 +/* 8025886C 002557CC 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80258870 002557D0 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 80258874 002557D4 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 80258878 002557D8 48 0B 9C CD */ bl Range__9CRandom16Fff +/* 8025887C 002557DC FF C0 08 90 */ fmr f30, f1 +/* 80258880 002557E0 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80258884 002557E4 D3 A1 01 4C */ stfs f29, 0x14c(r1) +/* 80258888 002557E8 7F 84 E3 78 */ mr r4, r28 +/* 8025888C 002557EC 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80258890 002557F0 38 BC 0A 30 */ addi r5, r28, 0xa30 +/* 80258894 002557F4 D0 01 01 50 */ stfs f0, 0x150(r1) +/* 80258898 002557F8 D3 C1 01 54 */ stfs f30, 0x154(r1) +/* 8025889C 002557FC 4B E2 00 1D */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 802588A0 00255800 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802588A4 00255804 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 802588A8 00255808 38 A1 01 4C */ addi r5, r1, 0x14c +/* 802588AC 0025580C 48 0B A2 3D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802588B0 00255810 C0 21 00 F4 */ lfs f1, 0xf4(r1) +/* 802588B4 00255814 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802588B8 00255818 C0 81 00 F8 */ lfs f4, 0xf8(r1) +/* 802588BC 0025581C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802588C0 00255820 C0 61 00 FC */ lfs f3, 0xfc(r1) +/* 802588C4 00255824 38 61 01 80 */ addi r3, r1, 0x180 +/* 802588C8 00255828 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802588CC 0025582C 38 81 01 40 */ addi r4, r1, 0x140 +/* 802588D0 00255830 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802588D4 00255834 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 802588D8 00255838 D0 81 01 44 */ stfs f4, 0x144(r1) +/* 802588DC 0025583C EC 40 07 B2 */ fmuls f2, f0, f30 +/* 802588E0 00255840 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 802588E4 00255844 D0 61 01 48 */ stfs f3, 0x148(r1) +/* 802588E8 00255848 EC 00 07 72 */ fmuls f0, f0, f29 +/* 802588EC 0025584C 80 FD 08 4C */ lwz r7, 0x84c(r29) +/* 802588F0 00255850 C0 A7 00 60 */ lfs f5, 0x60(r7) +/* 802588F4 00255854 C0 87 00 50 */ lfs f4, 0x50(r7) +/* 802588F8 00255858 C0 67 00 40 */ lfs f3, 0x40(r7) +/* 802588FC 0025585C EC 25 08 2A */ fadds f1, f5, f1 +/* 80258900 00255860 EC 44 10 2A */ fadds f2, f4, f2 +/* 80258904 00255864 D0 81 00 E0 */ stfs f4, 0xe0(r1) +/* 80258908 00255868 EC 03 00 2A */ fadds f0, f3, f0 +/* 8025890C 0025586C D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 80258910 00255870 D0 A1 00 E4 */ stfs f5, 0xe4(r1) +/* 80258914 00255874 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 80258918 00255878 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 8025891C 0025587C D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 80258920 00255880 48 0B B1 F1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80258924 00255884 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 80258928 00255888 38 81 01 80 */ addi r4, r1, 0x180 +/* 8025892C 0025588C 48 0B A2 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80258930 00255890 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 80258934 00255894 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80258938 00255898 C0 21 01 44 */ lfs f1, 0x144(r1) +/* 8025893C 0025589C 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 80258940 002558A0 C0 01 01 48 */ lfs f0, 0x148(r1) +/* 80258944 002558A4 38 83 00 85 */ addi r4, r3, 0x85 +/* 80258948 002558A8 D0 41 02 DC */ stfs f2, 0x2dc(r1) +/* 8025894C 002558AC 3B 20 00 00 */ li r25, 0 +/* 80258950 002558B0 38 60 03 D8 */ li r3, 0x3d8 +/* 80258954 002558B4 38 A0 00 00 */ li r5, 0 +/* 80258958 002558B8 D0 21 02 EC */ stfs f1, 0x2ec(r1) +/* 8025895C 002558BC D0 01 02 FC */ stfs f0, 0x2fc(r1) +/* 80258960 002558C0 48 0B CF 0D */ bl __nw__FUlPCcPCc +/* 80258964 002558C4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80258968 002558C8 41 82 00 BC */ beq lbl_80258A24 +/* 8025896C 002558CC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80258970 002558D0 38 60 00 00 */ li r3, 0 +/* 80258974 002558D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258978 002558D8 7F A4 EB 78 */ mr r4, r29 +/* 8025897C 002558DC 98 61 00 D8 */ stb r3, 0xd8(r1) +/* 80258980 002558E0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80258984 002558E4 3B 20 00 01 */ li r25, 1 +/* 80258988 002558E8 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8025898C 002558EC D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 80258990 002558F0 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80258994 002558F4 B0 01 00 60 */ sth r0, 0x60(r1) +/* 80258998 002558F8 A0 BC 00 08 */ lhz r5, 8(r28) +/* 8025899C 002558FC B0 A1 00 5C */ sth r5, 0x5c(r1) +/* 802589A0 00255900 80 1C 00 04 */ lwz r0, 4(r28) +/* 802589A4 00255904 B0 A1 00 58 */ sth r5, 0x58(r1) +/* 802589A8 00255908 90 01 00 8C */ stw r0, 0x8c(r1) +/* 802589AC 0025590C 90 01 00 90 */ stw r0, 0x90(r1) +/* 802589B0 00255910 4B DF 47 2D */ bl AllocateUniqueId__13CStateManagerFv +/* 802589B4 00255914 A0 61 00 50 */ lhz r3, 0x50(r1) +/* 802589B8 00255918 38 01 00 90 */ addi r0, r1, 0x90 +/* 802589BC 0025591C 38 C1 00 5C */ addi r6, r1, 0x5c +/* 802589C0 00255920 38 81 00 60 */ addi r4, r1, 0x60 +/* 802589C4 00255924 B0 61 00 54 */ sth r3, 0x54(r1) +/* 802589C8 00255928 3B 00 00 00 */ li r24, 0 +/* 802589CC 0025592C 39 81 00 C0 */ addi r12, r1, 0xc0 +/* 802589D0 00255930 39 61 00 CC */ addi r11, r1, 0xcc +/* 802589D4 00255934 90 01 00 08 */ stw r0, 8(r1) +/* 802589D8 00255938 7F 63 DB 78 */ mr r3, r27 +/* 802589DC 0025593C A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 802589E0 00255940 38 BC 0C 3C */ addi r5, r28, 0xc3c +/* 802589E4 00255944 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802589E8 00255948 38 E1 02 D0 */ addi r7, r1, 0x2d0 +/* 802589EC 0025594C 39 3C 0C 48 */ addi r9, r28, 0xc48 +/* 802589F0 00255950 39 41 00 54 */ addi r10, r1, 0x54 +/* 802589F4 00255954 90 81 00 10 */ stw r4, 0x10(r1) +/* 802589F8 00255958 38 80 00 01 */ li r4, 1 +/* 802589FC 0025595C 38 C0 00 09 */ li r6, 9 +/* 80258A00 00255960 39 00 00 21 */ li r8, 0x21 +/* 80258A04 00255964 93 01 00 14 */ stw r24, 0x14(r1) +/* 80258A08 00255968 93 01 00 18 */ stw r24, 0x18(r1) +/* 80258A0C 0025596C 91 81 00 1C */ stw r12, 0x1c(r1) +/* 80258A10 00255970 91 61 00 20 */ stw r11, 0x20(r1) +/* 80258A14 00255974 90 01 00 24 */ stw r0, 0x24(r1) +/* 80258A18 00255978 93 01 00 28 */ stw r24, 0x28(r1) +/* 80258A1C 0025597C 4B FB CC 7D */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80258A20 00255980 7C 7B 1B 78 */ mr r27, r3 +lbl_80258A24: +/* 80258A24 00255984 7F 20 07 75 */ extsb. r0, r25 +/* 80258A28 00255988 41 82 00 30 */ beq lbl_80258A58 +/* 80258A2C 0025598C 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 80258A30 00255990 28 00 00 00 */ cmplwi r0, 0 +/* 80258A34 00255994 41 82 00 1C */ beq lbl_80258A50 +/* 80258A38 00255998 34 61 00 CC */ addic. r3, r1, 0xcc +/* 80258A3C 0025599C 41 82 00 14 */ beq lbl_80258A50 +/* 80258A40 002559A0 28 03 00 00 */ cmplwi r3, 0 +/* 80258A44 002559A4 41 82 00 0C */ beq lbl_80258A50 +/* 80258A48 002559A8 38 80 00 00 */ li r4, 0 +/* 80258A4C 002559AC 48 0E 83 F5 */ bl __dt__6CTokenFv +lbl_80258A50: +/* 80258A50 002559B0 38 00 00 00 */ li r0, 0 +/* 80258A54 002559B4 98 01 00 D8 */ stb r0, 0xd8(r1) +lbl_80258A58: +/* 80258A58 002559B8 28 1B 00 00 */ cmplwi r27, 0 +/* 80258A5C 002559BC 41 82 02 44 */ beq lbl_80258CA0 +/* 80258A60 002559C0 7F A3 EB 78 */ mr r3, r29 +/* 80258A64 002559C4 7F 64 DB 78 */ mr r4, r27 +/* 80258A68 002559C8 4B DF 42 8D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80258A6C 002559CC 7F 63 DB 78 */ mr r3, r27 +/* 80258A70 002559D0 38 9C 07 28 */ addi r4, r28, 0x728 +/* 80258A74 002559D4 4B FB B0 59 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 80258A78 002559D8 48 00 02 28 */ b lbl_80258CA0 +lbl_80258A7C: +/* 80258A7C 002559DC 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 80258A80 002559E0 2C 00 00 03 */ cmpwi r0, 3 +/* 80258A84 002559E4 40 82 02 1C */ bne lbl_80258CA0 +/* 80258A88 002559E8 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258A8C 002559EC 38 60 00 00 */ li r3, 0 +/* 80258A90 002559F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80258A94 002559F4 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 80258A98 002559F8 48 00 02 08 */ b lbl_80258CA0 +/* 80258A9C 002559FC 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 80258AA0 00255A00 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80258AA4 00255A04 41 82 01 FC */ beq lbl_80258CA0 +/* 80258AA8 00255A08 7F A6 EB 78 */ mr r6, r29 +/* 80258AAC 00255A0C 38 80 00 28 */ li r4, 0x28 +/* 80258AB0 00255A10 38 A0 00 29 */ li r5, 0x29 +/* 80258AB4 00255A14 4B DF B4 21 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80258AB8 00255A18 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258ABC 00255A1C 7F A6 EB 78 */ mr r6, r29 +/* 80258AC0 00255A20 38 81 00 4C */ addi r4, r1, 0x4c +/* 80258AC4 00255A24 38 A0 00 08 */ li r5, 8 +/* 80258AC8 00255A28 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 80258ACC 00255A2C B0 01 00 48 */ sth r0, 0x48(r1) +/* 80258AD0 00255A30 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80258AD4 00255A34 4B F2 27 81 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 80258AD8 00255A38 3B 40 00 01 */ li r26, 1 +/* 80258ADC 00255A3C 48 00 01 C4 */ b lbl_80258CA0 +/* 80258AE0 00255A40 3C 80 80 5A */ lis r4, lbl_805A6700@ha +/* 80258AE4 00255A44 38 84 67 00 */ addi r4, r4, lbl_805A6700@l +/* 80258AE8 00255A48 4B EC 21 B9 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80258AEC 00255A4C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80258AF0 00255A50 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80258AF4 00255A54 D0 1C 0A EC */ stfs f0, 0xaec(r28) +/* 80258AF8 00255A58 C0 03 00 04 */ lfs f0, 4(r3) +/* 80258AFC 00255A5C D0 1C 0A F0 */ stfs f0, 0xaf0(r28) +/* 80258B00 00255A60 C0 03 00 08 */ lfs f0, 8(r3) +/* 80258B04 00255A64 D0 1C 0A F4 */ stfs f0, 0xaf4(r28) +/* 80258B08 00255A68 C0 03 00 00 */ lfs f0, 0(r3) +/* 80258B0C 00255A6C D0 1C 0A F8 */ stfs f0, 0xaf8(r28) +/* 80258B10 00255A70 C0 03 00 04 */ lfs f0, 4(r3) +/* 80258B14 00255A74 D0 1C 0A FC */ stfs f0, 0xafc(r28) +/* 80258B18 00255A78 C0 03 00 08 */ lfs f0, 8(r3) +/* 80258B1C 00255A7C D0 1C 0B 00 */ stfs f0, 0xb00(r28) +/* 80258B20 00255A80 48 00 01 80 */ b lbl_80258CA0 +/* 80258B24 00255A84 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 80258B28 00255A88 38 60 00 00 */ li r3, 0 +/* 80258B2C 00255A8C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80258B30 00255A90 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80258B34 00255A94 98 1C 03 28 */ stb r0, 0x328(r28) +/* 80258B38 00255A98 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 80258B3C 00255A9C C0 1C 00 60 */ lfs f0, 0x60(r28) +/* 80258B40 00255AA0 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 80258B44 00255AA4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80258B48 00255AA8 C0 5C 00 50 */ lfs f2, 0x50(r28) +/* 80258B4C 00255AAC EC 25 00 28 */ fsubs f1, f5, f0 +/* 80258B50 00255AB0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80258B54 00255AB4 C0 7C 00 40 */ lfs f3, 0x40(r28) +/* 80258B58 00255AB8 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80258B5C 00255ABC D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80258B60 00255AC0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80258B64 00255AC4 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 80258B68 00255AC8 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 80258B6C 00255ACC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80258B70 00255AD0 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 80258B74 00255AD4 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 80258B78 00255AD8 48 0B BD 41 */ bl Magnitude__9CVector3fCFv +/* 80258B7C 00255ADC C0 1C 08 F0 */ lfs f0, 0x8f0(r28) +/* 80258B80 00255AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80258B84 00255AE4 40 80 01 1C */ bge lbl_80258CA0 +/* 80258B88 00255AE8 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 80258B8C 00255AEC 38 60 00 00 */ li r3, 0 +/* 80258B90 00255AF0 38 80 00 01 */ li r4, 1 +/* 80258B94 00255AF4 48 13 13 61 */ bl __shl2i +/* 80258B98 00255AF8 39 40 00 00 */ li r10, 0 +/* 80258B9C 00255AFC 38 00 00 03 */ li r0, 3 +/* 80258BA0 00255B00 90 81 01 6C */ stw r4, 0x16c(r1) +/* 80258BA4 00255B04 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80258BA8 00255B08 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80258BAC 00255B0C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80258BB0 00255B10 90 61 01 68 */ stw r3, 0x168(r1) +/* 80258BB4 00255B14 38 81 00 44 */ addi r4, r1, 0x44 +/* 80258BB8 00255B18 7F A3 EB 78 */ mr r3, r29 +/* 80258BBC 00255B1C 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80258BC0 00255B20 91 41 01 74 */ stw r10, 0x174(r1) +/* 80258BC4 00255B24 38 FC 08 00 */ addi r7, r28, 0x800 +/* 80258BC8 00255B28 39 01 01 68 */ addi r8, r1, 0x168 +/* 80258BCC 00255B2C 91 41 01 70 */ stw r10, 0x170(r1) +/* 80258BD0 00255B30 90 01 01 78 */ stw r0, 0x178(r1) +/* 80258BD4 00255B34 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258BD8 00255B38 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80258BDC 00255B3C 81 5D 08 4C */ lwz r10, 0x84c(r29) +/* 80258BE0 00255B40 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80258BE4 00255B44 A1 4A 00 08 */ lhz r10, 8(r10) +/* 80258BE8 00255B48 B1 41 00 3C */ sth r10, 0x3c(r1) +/* 80258BEC 00255B4C A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258BF0 00255B50 B1 41 00 38 */ sth r10, 0x38(r1) +/* 80258BF4 00255B54 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80258BF8 00255B58 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80258BFC 00255B5C 4B DF 14 A5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80258C00 00255B60 48 00 00 A0 */ b lbl_80258CA0 +/* 80258C04 00255B64 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80258C08 00255B68 38 60 00 01 */ li r3, 1 +/* 80258C0C 00255B6C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80258C10 00255B70 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80258C14 00255B74 48 00 00 8C */ b lbl_80258CA0 +/* 80258C18 00255B78 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80258C1C 00255B7C 38 60 00 00 */ li r3, 0 +/* 80258C20 00255B80 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80258C24 00255B84 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80258C28 00255B88 48 00 00 78 */ b lbl_80258CA0 +/* 80258C2C 00255B8C 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 80258C30 00255B90 2C 00 00 03 */ cmpwi r0, 3 +/* 80258C34 00255B94 41 82 00 28 */ beq lbl_80258C5C +/* 80258C38 00255B98 40 80 00 68 */ bge lbl_80258CA0 +/* 80258C3C 00255B9C 2C 00 00 02 */ cmpwi r0, 2 +/* 80258C40 00255BA0 40 80 00 08 */ bge lbl_80258C48 +/* 80258C44 00255BA4 48 00 00 5C */ b lbl_80258CA0 +lbl_80258C48: +/* 80258C48 00255BA8 88 1C 0A 33 */ lbz r0, 0xa33(r28) +/* 80258C4C 00255BAC 38 60 00 00 */ li r3, 0 +/* 80258C50 00255BB0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80258C54 00255BB4 98 1C 0A 33 */ stb r0, 0xa33(r28) +/* 80258C58 00255BB8 48 00 00 48 */ b lbl_80258CA0 +lbl_80258C5C: +/* 80258C5C 00255BBC 4B FF EB F1 */ bl sub_8025784c +/* 80258C60 00255BC0 48 00 00 40 */ b lbl_80258CA0 +/* 80258C64 00255BC4 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 80258C68 00255BC8 2C 00 00 03 */ cmpwi r0, 3 +/* 80258C6C 00255BCC 41 82 00 30 */ beq lbl_80258C9C +/* 80258C70 00255BD0 40 80 00 30 */ bge lbl_80258CA0 +/* 80258C74 00255BD4 2C 00 00 02 */ cmpwi r0, 2 +/* 80258C78 00255BD8 40 80 00 08 */ bge lbl_80258C80 +/* 80258C7C 00255BDC 48 00 00 24 */ b lbl_80258CA0 +lbl_80258C80: +/* 80258C80 00255BE0 88 7C 0A 33 */ lbz r3, 0xa33(r28) +/* 80258C84 00255BE4 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 80258C88 00255BE8 41 82 00 18 */ beq lbl_80258CA0 +/* 80258C8C 00255BEC 38 00 00 01 */ li r0, 1 +/* 80258C90 00255BF0 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 80258C94 00255BF4 98 7C 0A 33 */ stb r3, 0xa33(r28) +/* 80258C98 00255BF8 48 00 00 08 */ b lbl_80258CA0 +lbl_80258C9C: +/* 80258C9C 00255BFC 4B FF E9 B5 */ bl sub_80257650 +lbl_80258CA0: +/* 80258CA0 00255C00 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80258CA4 00255C04 40 82 00 1C */ bne lbl_80258CC0 +/* 80258CA8 00255C08 FC 20 F8 90 */ fmr f1, f31 +/* 80258CAC 00255C0C 7F 83 E3 78 */ mr r3, r28 +/* 80258CB0 00255C10 7F A4 EB 78 */ mr r4, r29 +/* 80258CB4 00255C14 7F C5 F3 78 */ mr r5, r30 +/* 80258CB8 00255C18 7F E6 FB 78 */ mr r6, r31 +/* 80258CBC 00255C1C 4B E2 01 F5 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80258CC0: +/* 80258CC0 00255C20 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 +/* 80258CC4 00255C24 CB E1 03 A0 */ lfd f31, 0x3a0(r1) +/* 80258CC8 00255C28 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 +/* 80258CCC 00255C2C CB C1 03 90 */ lfd f30, 0x390(r1) +/* 80258CD0 00255C30 E3 A1 03 88 */ psq_l f29, 904(r1), 0, qr0 +/* 80258CD4 00255C34 CB A1 03 80 */ lfd f29, 0x380(r1) +/* 80258CD8 00255C38 BB 01 03 60 */ lmw r24, 0x360(r1) +/* 80258CDC 00255C3C 80 01 03 B4 */ lwz r0, 0x3b4(r1) +/* 80258CE0 00255C40 7C 08 03 A6 */ mtlr r0 +/* 80258CE4 00255C44 38 21 03 B0 */ addi r1, r1, 0x3b0 +/* 80258CE8 00255C48 4E 80 00 20 */ blr + +.global AcceptScriptMsg__7CRidleyF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__7CRidleyF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80258CEC 00255C4C 94 21 FC B0 */ stwu r1, -0x350(r1) +/* 80258CF0 00255C50 7C 08 02 A6 */ mflr r0 +/* 80258CF4 00255C54 90 01 03 54 */ stw r0, 0x354(r1) +/* 80258CF8 00255C58 DB E1 03 40 */ stfd f31, 0x340(r1) +/* 80258CFC 00255C5C F3 E1 03 48 */ psq_st f31, 840(r1), 0, qr0 +/* 80258D00 00255C60 DB C1 03 30 */ stfd f30, 0x330(r1) +/* 80258D04 00255C64 F3 C1 03 38 */ psq_st f30, 824(r1), 0, qr0 +/* 80258D08 00255C68 BF 41 03 18 */ stmw r26, 0x318(r1) +/* 80258D0C 00255C6C 7C BA 2B 78 */ mr r26, r5 +/* 80258D10 00255C70 7C 7F 1B 78 */ mr r31, r3 +/* 80258D14 00255C74 A0 05 00 00 */ lhz r0, 0(r5) +/* 80258D18 00255C78 7C 9B 23 78 */ mr r27, r4 +/* 80258D1C 00255C7C 7C DE 33 78 */ mr r30, r6 +/* 80258D20 00255C80 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80258D24 00255C84 B0 01 00 98 */ sth r0, 0x98(r1) +/* 80258D28 00255C88 4B E2 3E 51 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80258D2C 00255C8C 28 1B 00 2A */ cmplwi r27, 0x2a +/* 80258D30 00255C90 41 81 0F 7C */ bgt lbl_80259CAC +/* 80258D34 00255C94 3C 60 80 3F */ lis r3, lbl_803E95A4@ha +/* 80258D38 00255C98 57 60 10 3A */ slwi r0, r27, 2 +/* 80258D3C 00255C9C 38 63 95 A4 */ addi r3, r3, lbl_803E95A4@l +/* 80258D40 00255CA0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80258D44 00255CA4 7C 09 03 A6 */ mtctr r0 +/* 80258D48 00255CA8 4E 80 04 20 */ bctr +/* 80258D4C 00255CAC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80258D50 00255CB0 7F C4 F3 78 */ mr r4, r30 +/* 80258D54 00255CB4 4B EE 1F 9D */ bl Activate__15CBodyControllerFR13CStateManager +/* 80258D58 00255CB8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80258D5C 00255CBC 38 80 00 01 */ li r4, 1 +/* 80258D60 00255CC0 4B EE 1C 79 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80258D64 00255CC4 7F E3 FB 78 */ mr r3, r31 +/* 80258D68 00255CC8 7F C4 F3 78 */ mr r4, r30 +/* 80258D6C 00255CCC 4B FF E2 D9 */ bl sub_80257044 +/* 80258D70 00255CD0 7F E3 FB 78 */ mr r3, r31 +/* 80258D74 00255CD4 7F C4 F3 78 */ mr r4, r30 +/* 80258D78 00255CD8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80258D7C 00255CDC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80258D80 00255CE0 7D 89 03 A6 */ mtctr r12 +/* 80258D84 00255CE4 4E 80 04 21 */ bctrl +/* 80258D88 00255CE8 C0 03 00 00 */ lfs f0, 0(r3) +/* 80258D8C 00255CEC C0 22 B9 1C */ lfs f1, lbl_805AD63C@sda21(r2) +/* 80258D90 00255CF0 D0 1F 0C B8 */ stfs f0, 0xcb8(r31) +/* 80258D94 00255CF4 C0 1F 0C B8 */ lfs f0, 0xcb8(r31) +/* 80258D98 00255CF8 D0 1F 0B 10 */ stfs f0, 0xb10(r31) +/* 80258D9C 00255CFC C0 1F 0C B8 */ lfs f0, 0xcb8(r31) +/* 80258DA0 00255D00 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80258DA4 00255D04 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 80258DA8 00255D08 48 00 0F 04 */ b lbl_80259CAC +/* 80258DAC 00255D0C 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80258DB0 00255D10 38 60 00 01 */ li r3, 1 +/* 80258DB4 00255D14 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80258DB8 00255D18 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80258DBC 00255D1C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80258DC0 00255D20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80258DC4 00255D24 40 82 0E E8 */ bne lbl_80259CAC +/* 80258DC8 00255D28 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80258DCC 00255D2C 7F E3 FB 78 */ mr r3, r31 +/* 80258DD0 00255D30 7F C6 F3 78 */ mr r6, r30 +/* 80258DD4 00255D34 38 A1 00 94 */ addi r5, r1, 0x94 +/* 80258DD8 00255D38 B0 01 00 94 */ sth r0, 0x94(r1) +/* 80258DDC 00255D3C 38 80 00 01 */ li r4, 1 +/* 80258DE0 00255D40 4B E2 3D 99 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80258DE4 00255D44 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80258DE8 00255D48 7F C3 F3 78 */ mr r3, r30 +/* 80258DEC 00255D4C 38 81 00 90 */ addi r4, r1, 0x90 +/* 80258DF0 00255D50 38 A0 00 5A */ li r5, 0x5a +/* 80258DF4 00255D54 B0 01 00 90 */ sth r0, 0x90(r1) +/* 80258DF8 00255D58 C0 3F 0C B8 */ lfs f1, 0xcb8(r31) +/* 80258DFC 00255D5C C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80258E00 00255D60 C0 5F 0B 1C */ lfs f2, 0xb1c(r31) +/* 80258E04 00255D64 EC 01 00 2A */ fadds f0, f1, f0 +/* 80258E08 00255D68 B0 01 00 8C */ sth r0, 0x8c(r1) +/* 80258E0C 00255D6C EC 22 00 2A */ fadds f1, f2, f0 +/* 80258E10 00255D70 4B DE B1 35 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 80258E14 00255D74 C0 3F 0B 10 */ lfs f1, 0xb10(r31) +/* 80258E18 00255D78 7F E3 FB 78 */ mr r3, r31 +/* 80258E1C 00255D7C C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80258E20 00255D80 7F C4 F3 78 */ mr r4, r30 +/* 80258E24 00255D84 81 9F 00 00 */ lwz r12, 0(r31) +/* 80258E28 00255D88 EC 01 00 2A */ fadds f0, f1, f0 +/* 80258E2C 00255D8C C0 3F 0B 1C */ lfs f1, 0xb1c(r31) +/* 80258E30 00255D90 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80258E34 00255D94 EF E1 00 2A */ fadds f31, f1, f0 +/* 80258E38 00255D98 7D 89 03 A6 */ mtctr r12 +/* 80258E3C 00255D9C 4E 80 04 21 */ bctrl +/* 80258E40 00255DA0 D3 E3 00 00 */ stfs f31, 0(r3) +/* 80258E44 00255DA4 38 60 00 01 */ li r3, 1 +/* 80258E48 00255DA8 C0 22 B9 B4 */ lfs f1, lbl_805AD6D4@sda21(r2) +/* 80258E4C 00255DAC 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80258E50 00255DB0 C0 02 B9 B8 */ lfs f0, lbl_805AD6D8@sda21(r2) +/* 80258E54 00255DB4 88 04 09 C6 */ lbz r0, 0x9c6(r4) +/* 80258E58 00255DB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80258E5C 00255DBC 98 04 09 C6 */ stb r0, 0x9c6(r4) +/* 80258E60 00255DC0 D0 24 0A 20 */ stfs f1, 0xa20(r4) +/* 80258E64 00255DC4 D0 04 0A 24 */ stfs f0, 0xa24(r4) +/* 80258E68 00255DC8 48 00 0E 44 */ b lbl_80259CAC +/* 80258E6C 00255DCC 80 7F 09 84 */ lwz r3, 0x984(r31) +/* 80258E70 00255DD0 7F C4 F3 78 */ mr r4, r30 +/* 80258E74 00255DD4 38 A0 00 00 */ li r5, 0 +/* 80258E78 00255DD8 4B F4 E4 81 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80258E7C 00255DDC 80 7F 09 80 */ lwz r3, 0x980(r31) +/* 80258E80 00255DE0 7F C4 F3 78 */ mr r4, r30 +/* 80258E84 00255DE4 38 A0 00 00 */ li r5, 0 +/* 80258E88 00255DE8 4B F4 E4 71 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80258E8C 00255DEC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80258E90 00255DF0 38 80 00 00 */ li r4, 0 +/* 80258E94 00255DF4 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80258E98 00255DF8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80258E9C 00255DFC 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80258EA0 00255E00 48 00 0E 0C */ b lbl_80259CAC +/* 80258EA4 00255E04 80 7F 09 84 */ lwz r3, 0x984(r31) +/* 80258EA8 00255E08 7F C4 F3 78 */ mr r4, r30 +/* 80258EAC 00255E0C 4B F4 E5 19 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80258EB0 00255E10 80 7F 09 80 */ lwz r3, 0x980(r31) +/* 80258EB4 00255E14 7F C4 F3 78 */ mr r4, r30 +/* 80258EB8 00255E18 4B F4 E5 0D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80258EBC 00255E1C A0 7F 0B 64 */ lhz r3, 0xb64(r31) +/* 80258EC0 00255E20 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258EC4 00255E24 7C 03 00 40 */ cmplw r3, r0 +/* 80258EC8 00255E28 41 82 0D E4 */ beq lbl_80259CAC +/* 80258ECC 00255E2C A0 1F 0B 64 */ lhz r0, 0xb64(r31) +/* 80258ED0 00255E30 7F C3 F3 78 */ mr r3, r30 +/* 80258ED4 00255E34 38 81 00 88 */ addi r4, r1, 0x88 +/* 80258ED8 00255E38 B0 01 00 88 */ sth r0, 0x88(r1) +/* 80258EDC 00255E3C 4B DF 33 91 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80258EE0 00255E40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258EE4 00255E44 B0 1F 0B 64 */ sth r0, 0xb64(r31) +/* 80258EE8 00255E48 48 00 0D C4 */ b lbl_80259CAC +/* 80258EEC 00255E4C 7F E4 FB 78 */ mr r4, r31 +/* 80258EF0 00255E50 7F C5 F3 78 */ mr r5, r30 +/* 80258EF4 00255E54 38 61 00 84 */ addi r3, r1, 0x84 +/* 80258EF8 00255E58 38 C0 00 0D */ li r6, 0xd +/* 80258EFC 00255E5C 38 E0 00 06 */ li r7, 6 +/* 80258F00 00255E60 4B F9 C0 99 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80258F04 00255E64 A0 61 00 84 */ lhz r3, 0x84(r1) +/* 80258F08 00255E68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258F0C 00255E6C B0 61 00 A4 */ sth r3, 0xa4(r1) +/* 80258F10 00255E70 7C 03 00 40 */ cmplw r3, r0 +/* 80258F14 00255E74 41 82 0D 98 */ beq lbl_80259CAC +/* 80258F18 00255E78 B0 61 00 80 */ sth r3, 0x80(r1) +/* 80258F1C 00255E7C 7F C3 F3 78 */ mr r3, r30 +/* 80258F20 00255E80 38 81 00 80 */ addi r4, r1, 0x80 +/* 80258F24 00255E84 4B DF 36 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80258F28 00255E88 7C 64 1B 78 */ mr r4, r3 +/* 80258F2C 00255E8C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80258F30 00255E90 4B E4 D6 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80258F34 00255E94 83 43 00 04 */ lwz r26, 4(r3) +/* 80258F38 00255E98 28 1A 00 00 */ cmplwi r26, 0 +/* 80258F3C 00255E9C 41 82 0D 70 */ beq lbl_80259CAC +/* 80258F40 00255EA0 38 7F 0A 84 */ addi r3, r31, 0xa84 +/* 80258F44 00255EA4 38 9A 00 34 */ addi r4, r26, 0x34 +/* 80258F48 00255EA8 48 0B 9B F9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80258F4C 00255EAC 7F 44 D3 78 */ mr r4, r26 +/* 80258F50 00255EB0 7F C5 F3 78 */ mr r5, r30 +/* 80258F54 00255EB4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80258F58 00255EB8 4B E1 E1 DD */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80258F5C 00255EBC A0 01 00 78 */ lhz r0, 0x78(r1) +/* 80258F60 00255EC0 7F C3 F3 78 */ mr r3, r30 +/* 80258F64 00255EC4 38 81 00 7C */ addi r4, r1, 0x7c +/* 80258F68 00255EC8 B0 01 00 7C */ sth r0, 0x7c(r1) +/* 80258F6C 00255ECC 4B DF 36 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80258F70 00255ED0 7C 64 1B 78 */ mr r4, r3 +/* 80258F74 00255ED4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80258F78 00255ED8 4B E4 D5 D5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80258F7C 00255EDC 83 63 00 04 */ lwz r27, 4(r3) +/* 80258F80 00255EE0 28 1B 00 00 */ cmplwi r27, 0 +/* 80258F84 00255EE4 41 82 0D 28 */ beq lbl_80259CAC +/* 80258F88 00255EE8 C0 9B 00 50 */ lfs f4, 0x50(r27) +/* 80258F8C 00255EEC 38 61 01 08 */ addi r3, r1, 0x108 +/* 80258F90 00255EF0 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80258F94 00255EF4 C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 80258F98 00255EF8 EC 44 08 28 */ fsubs f2, f4, f1 +/* 80258F9C 00255EFC C0 3A 00 40 */ lfs f1, 0x40(r26) +/* 80258FA0 00255F00 C0 BB 00 60 */ lfs f5, 0x60(r27) +/* 80258FA4 00255F04 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 80258FA8 00255F08 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80258FAC 00255F0C D0 01 01 AC */ stfs f0, 0x1ac(r1) +/* 80258FB0 00255F10 EC 65 18 28 */ fsubs f3, f5, f3 +/* 80258FB4 00255F14 D0 81 01 B0 */ stfs f4, 0x1b0(r1) +/* 80258FB8 00255F18 D0 A1 01 B4 */ stfs f5, 0x1b4(r1) +/* 80258FBC 00255F1C D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 80258FC0 00255F20 D0 41 01 BC */ stfs f2, 0x1bc(r1) +/* 80258FC4 00255F24 D0 61 01 C0 */ stfs f3, 0x1c0(r1) +/* 80258FC8 00255F28 48 0B B2 39 */ bl __ct__9CVector2fFff +/* 80258FCC 00255F2C 38 61 01 08 */ addi r3, r1, 0x108 +/* 80258FD0 00255F30 48 0B B1 25 */ bl Magnitude__9CVector2fCFv +/* 80258FD4 00255F34 D0 3F 0A B4 */ stfs f1, 0xab4(r31) +/* 80258FD8 00255F38 7F 64 DB 78 */ mr r4, r27 +/* 80258FDC 00255F3C 7F C5 F3 78 */ mr r5, r30 +/* 80258FE0 00255F40 38 61 00 70 */ addi r3, r1, 0x70 +/* 80258FE4 00255F44 C0 9F 0A B0 */ lfs f4, 0xab0(r31) +/* 80258FE8 00255F48 C0 DB 00 60 */ lfs f6, 0x60(r27) +/* 80258FEC 00255F4C C0 7F 0A A0 */ lfs f3, 0xaa0(r31) +/* 80258FF0 00255F50 C0 5F 0A 90 */ lfs f2, 0xa90(r31) +/* 80258FF4 00255F54 EC 06 20 28 */ fsubs f0, f6, f4 +/* 80258FF8 00255F58 C0 BB 00 50 */ lfs f5, 0x50(r27) +/* 80258FFC 00255F5C C0 3B 00 40 */ lfs f1, 0x40(r27) +/* 80259000 00255F60 D0 41 01 94 */ stfs f2, 0x194(r1) +/* 80259004 00255F64 D0 61 01 98 */ stfs f3, 0x198(r1) +/* 80259008 00255F68 D0 81 01 9C */ stfs f4, 0x19c(r1) +/* 8025900C 00255F6C D0 21 01 A0 */ stfs f1, 0x1a0(r1) +/* 80259010 00255F70 D0 A1 01 A4 */ stfs f5, 0x1a4(r1) +/* 80259014 00255F74 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) +/* 80259018 00255F78 D0 1F 0A B8 */ stfs f0, 0xab8(r31) +/* 8025901C 00255F7C 4B E1 E1 19 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80259020 00255F80 A0 01 00 70 */ lhz r0, 0x70(r1) +/* 80259024 00255F84 7F C3 F3 78 */ mr r3, r30 +/* 80259028 00255F88 38 81 00 74 */ addi r4, r1, 0x74 +/* 8025902C 00255F8C B0 01 00 74 */ sth r0, 0x74(r1) +/* 80259030 00255F90 4B DF 35 75 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259034 00255F94 7C 64 1B 78 */ mr r4, r3 +/* 80259038 00255F98 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8025903C 00255F9C 4B E4 D5 11 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80259040 00255FA0 83 43 00 04 */ lwz r26, 4(r3) +/* 80259044 00255FA4 28 1A 00 00 */ cmplwi r26, 0 +/* 80259048 00255FA8 41 82 0C 64 */ beq lbl_80259CAC +/* 8025904C 00255FAC C0 9A 00 50 */ lfs f4, 0x50(r26) +/* 80259050 00255FB0 38 61 01 00 */ addi r3, r1, 0x100 +/* 80259054 00255FB4 C0 3F 0A A0 */ lfs f1, 0xaa0(r31) +/* 80259058 00255FB8 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 8025905C 00255FBC EC 44 08 28 */ fsubs f2, f4, f1 +/* 80259060 00255FC0 C0 3F 0A 90 */ lfs f1, 0xa90(r31) +/* 80259064 00255FC4 C0 BA 00 60 */ lfs f5, 0x60(r26) +/* 80259068 00255FC8 C0 7F 0A B0 */ lfs f3, 0xab0(r31) +/* 8025906C 00255FCC EC 20 08 28 */ fsubs f1, f0, f1 +/* 80259070 00255FD0 D0 01 01 7C */ stfs f0, 0x17c(r1) +/* 80259074 00255FD4 EC 65 18 28 */ fsubs f3, f5, f3 +/* 80259078 00255FD8 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 8025907C 00255FDC D0 A1 01 84 */ stfs f5, 0x184(r1) +/* 80259080 00255FE0 D0 21 01 88 */ stfs f1, 0x188(r1) +/* 80259084 00255FE4 D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 80259088 00255FE8 D0 61 01 90 */ stfs f3, 0x190(r1) +/* 8025908C 00255FEC 48 0B B1 75 */ bl __ct__9CVector2fFff +/* 80259090 00255FF0 38 61 01 00 */ addi r3, r1, 0x100 +/* 80259094 00255FF4 48 0B B0 61 */ bl Magnitude__9CVector2fCFv +/* 80259098 00255FF8 D0 3F 0A BC */ stfs f1, 0xabc(r31) +/* 8025909C 00255FFC 38 61 02 78 */ addi r3, r1, 0x278 +/* 802590A0 00256000 C0 C2 B9 18 */ lfs f6, lbl_805AD638@sda21(r2) +/* 802590A4 00256004 38 81 01 58 */ addi r4, r1, 0x158 +/* 802590A8 00256008 C1 7F 0A B0 */ lfs f11, 0xab0(r31) +/* 802590AC 0025600C 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802590B0 00256010 C3 FA 00 60 */ lfs f31, 0x60(r26) +/* 802590B4 00256014 C1 5F 0A A0 */ lfs f10, 0xaa0(r31) +/* 802590B8 00256018 C0 5F 0A 90 */ lfs f2, 0xa90(r31) +/* 802590BC 0025601C EC 1F 58 28 */ fsubs f0, f31, f11 +/* 802590C0 00256020 C1 BA 00 50 */ lfs f13, 0x50(r26) +/* 802590C4 00256024 C1 3A 00 40 */ lfs f9, 0x40(r26) +/* 802590C8 00256028 C0 82 B9 34 */ lfs f4, lbl_805AD654@sda21(r2) +/* 802590CC 0025602C D0 1F 0A C0 */ stfs f0, 0xac0(r31) +/* 802590D0 00256030 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802590D4 00256034 C0 3F 0A B0 */ lfs f1, 0xab0(r31) +/* 802590D8 00256038 C1 9F 0A A0 */ lfs f12, 0xaa0(r31) +/* 802590DC 0025603C C3 DF 0A BC */ lfs f30, 0xabc(r31) +/* 802590E0 00256040 EC A1 30 2A */ fadds f5, f1, f6 +/* 802590E4 00256044 C0 7F 0A 90 */ lfs f3, 0xa90(r31) +/* 802590E8 00256048 EC 21 30 28 */ fsubs f1, f1, f6 +/* 802590EC 0025604C EC EC F0 2A */ fadds f7, f12, f30 +/* 802590F0 00256050 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 802590F4 00256054 ED 03 F0 2A */ fadds f8, f3, f30 +/* 802590F8 00256058 EC 63 F0 28 */ fsubs f3, f3, f30 +/* 802590FC 0025605C D1 41 01 68 */ stfs f10, 0x168(r1) +/* 80259100 00256060 EC 4C F0 28 */ fsubs f2, f12, f30 +/* 80259104 00256064 ED 87 30 2A */ fadds f12, f7, f6 +/* 80259108 00256068 D1 61 01 6C */ stfs f11, 0x16c(r1) +/* 8025910C 0025606C ED 65 20 2A */ fadds f11, f5, f4 +/* 80259110 00256070 EC 88 30 2A */ fadds f4, f8, f6 +/* 80259114 00256074 D1 21 01 70 */ stfs f9, 0x170(r1) +/* 80259118 00256078 ED 42 30 28 */ fsubs f10, f2, f6 +/* 8025911C 0025607C ED 21 00 28 */ fsubs f9, f1, f0 +/* 80259120 00256080 D1 A1 01 74 */ stfs f13, 0x174(r1) +/* 80259124 00256084 EC 03 30 28 */ fsubs f0, f3, f6 +/* 80259128 00256088 D3 E1 01 78 */ stfs f31, 0x178(r1) +/* 8025912C 0025608C D1 01 01 34 */ stfs f8, 0x134(r1) +/* 80259130 00256090 D0 E1 01 38 */ stfs f7, 0x138(r1) +/* 80259134 00256094 D0 A1 01 3C */ stfs f5, 0x13c(r1) +/* 80259138 00256098 D0 81 01 40 */ stfs f4, 0x140(r1) +/* 8025913C 0025609C D1 81 01 44 */ stfs f12, 0x144(r1) +/* 80259140 002560A0 D1 61 01 48 */ stfs f11, 0x148(r1) +/* 80259144 002560A4 D0 61 01 4C */ stfs f3, 0x14c(r1) +/* 80259148 002560A8 D0 41 01 50 */ stfs f2, 0x150(r1) +/* 8025914C 002560AC D0 21 01 54 */ stfs f1, 0x154(r1) +/* 80259150 002560B0 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 80259154 002560B4 D1 41 01 5C */ stfs f10, 0x15c(r1) +/* 80259158 002560B8 D1 21 01 60 */ stfs f9, 0x160(r1) +/* 8025915C 002560BC 48 0D F3 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80259160 002560C0 80 61 02 78 */ lwz r3, 0x278(r1) +/* 80259164 002560C4 80 01 02 7C */ lwz r0, 0x27c(r1) +/* 80259168 002560C8 90 7F 0A C4 */ stw r3, 0xac4(r31) +/* 8025916C 002560CC 90 1F 0A C8 */ stw r0, 0xac8(r31) +/* 80259170 002560D0 80 01 02 80 */ lwz r0, 0x280(r1) +/* 80259174 002560D4 90 1F 0A CC */ stw r0, 0xacc(r31) +/* 80259178 002560D8 80 61 02 84 */ lwz r3, 0x284(r1) +/* 8025917C 002560DC 80 01 02 88 */ lwz r0, 0x288(r1) +/* 80259180 002560E0 90 7F 0A D0 */ stw r3, 0xad0(r31) +/* 80259184 002560E4 90 1F 0A D4 */ stw r0, 0xad4(r31) +/* 80259188 002560E8 80 01 02 8C */ lwz r0, 0x28c(r1) +/* 8025918C 002560EC 90 1F 0A D8 */ stw r0, 0xad8(r31) +/* 80259190 002560F0 48 00 0B 1C */ b lbl_80259CAC +/* 80259194 002560F4 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259198 002560F8 7F C3 F3 78 */ mr r3, r30 +/* 8025919C 002560FC 38 81 00 6C */ addi r4, r1, 0x6c +/* 802591A0 00256100 B0 01 00 6C */ sth r0, 0x6c(r1) +/* 802591A4 00256104 4B DF 33 D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802591A8 00256108 7C 64 1B 78 */ mr r4, r3 +/* 802591AC 0025610C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802591B0 00256110 4B E5 61 9D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802591B4 00256114 83 A3 00 04 */ lwz r29, 4(r3) +/* 802591B8 00256118 28 1D 00 00 */ cmplwi r29, 0 +/* 802591BC 0025611C 41 82 0A F0 */ beq lbl_80259CAC +/* 802591C0 00256120 7F A3 EB 78 */ mr r3, r29 +/* 802591C4 00256124 7F C4 F3 78 */ mr r4, r30 +/* 802591C8 00256128 81 9D 00 00 */ lwz r12, 0(r29) +/* 802591CC 0025612C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802591D0 00256130 7D 89 03 A6 */ mtctr r12 +/* 802591D4 00256134 4E 80 04 21 */ bctrl +/* 802591D8 00256138 C0 03 00 00 */ lfs f0, 0(r3) +/* 802591DC 0025613C 7F A3 EB 78 */ mr r3, r29 +/* 802591E0 00256140 81 9D 00 00 */ lwz r12, 0(r29) +/* 802591E4 00256144 7F C4 F3 78 */ mr r4, r30 +/* 802591E8 00256148 C0 22 B9 9C */ lfs f1, lbl_805AD6BC@sda21(r2) +/* 802591EC 0025614C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802591F0 00256150 EF E1 00 28 */ fsubs f31, f1, f0 +/* 802591F4 00256154 7D 89 03 A6 */ mtctr r12 +/* 802591F8 00256158 4E 80 04 21 */ bctrl +/* 802591FC 0025615C C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 80259200 00256160 3B 60 00 00 */ li r27, 0 +/* 80259204 00256164 D0 03 00 00 */ stfs f0, 0(r3) +/* 80259208 00256168 80 1F 0C 64 */ lwz r0, 0xc64(r31) +/* 8025920C 0025616C 2C 00 00 03 */ cmpwi r0, 3 +/* 80259210 00256170 41 82 02 6C */ beq lbl_8025947C +/* 80259214 00256174 40 80 06 14 */ bge lbl_80259828 +/* 80259218 00256178 2C 00 00 02 */ cmpwi r0, 2 +/* 8025921C 0025617C 40 80 00 08 */ bge lbl_80259224 +/* 80259220 00256180 48 00 06 08 */ b lbl_80259828 +lbl_80259224: +/* 80259224 00256184 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259228 00256188 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8025922C 0025618C 41 82 00 0C */ beq lbl_80259238 +/* 80259230 00256190 3B 60 00 01 */ li r27, 1 +/* 80259234 00256194 48 00 05 F4 */ b lbl_80259828 +lbl_80259238: +/* 80259238 00256198 C0 1F 0B 10 */ lfs f0, 0xb10(r31) +/* 8025923C 0025619C 3B 40 00 00 */ li r26, 0 +/* 80259240 002561A0 C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) +/* 80259244 002561A4 EC 40 F8 28 */ fsubs f2, f0, f31 +/* 80259248 002561A8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025924C 002561AC D0 5F 0B 10 */ stfs f2, 0xb10(r31) +/* 80259250 002561B0 D0 3F 0B 24 */ stfs f1, 0xb24(r31) +/* 80259254 002561B4 80 0D A2 50 */ lwz r0, lbl_805A8E10@sda21(r13) +/* 80259258 002561B8 90 1F 04 30 */ stw r0, 0x430(r31) +/* 8025925C 002561BC C0 3F 0B 10 */ lfs f1, 0xb10(r31) +/* 80259260 002561C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259264 002561C4 4C 40 13 82 */ cror 2, 0, 2 +/* 80259268 002561C8 40 82 00 9C */ bne lbl_80259304 +/* 8025926C 002561CC 38 00 00 03 */ li r0, 3 +/* 80259270 002561D0 38 A0 00 00 */ li r5, 0 +/* 80259274 002561D4 90 1F 0C 64 */ stw r0, 0xc64(r31) +/* 80259278 002561D8 7F E3 FB 78 */ mr r3, r31 +/* 8025927C 002561DC 7F C4 F3 78 */ mr r4, r30 +/* 80259280 002561E0 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259284 002561E4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80259288 002561E8 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 8025928C 002561EC 4B FF E3 C5 */ bl sub_80257650 +/* 80259290 002561F0 C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) +/* 80259294 002561F4 C0 1F 05 A4 */ lfs f0, 0x5a4(r31) +/* 80259298 002561F8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8025929C 002561FC D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 802592A0 00256200 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802592A4 00256204 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 802592A8 00256208 2C 00 00 03 */ cmpwi r0, 3 +/* 802592AC 0025620C 41 82 00 38 */ beq lbl_802592E4 +/* 802592B0 00256210 3C 60 80 47 */ lis r3, lbl_8046D4F8@ha +/* 802592B4 00256214 3B 80 00 00 */ li r28, 0 +/* 802592B8 00256218 3B 43 D4 F8 */ addi r26, r3, lbl_8046D4F8@l +lbl_802592BC: +/* 802592BC 0025621C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802592C0 00256220 7F 44 D3 78 */ mr r4, r26 +/* 802592C4 00256224 7F C6 F3 78 */ mr r6, r30 +/* 802592C8 00256228 38 A0 00 01 */ li r5, 1 +/* 802592CC 0025622C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802592D0 00256230 4B DD 1A F1 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 802592D4 00256234 3B 9C 00 01 */ addi r28, r28, 1 +/* 802592D8 00256238 3B 5A 00 10 */ addi r26, r26, 0x10 +/* 802592DC 0025623C 28 1C 00 18 */ cmplwi r28, 0x18 +/* 802592E0 00256240 41 80 FF DC */ blt lbl_802592BC +lbl_802592E4: +/* 802592E4 00256244 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) +/* 802592E8 00256248 3B 40 00 01 */ li r26, 1 +/* 802592EC 0025624C C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) +/* 802592F0 00256250 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802592F4 00256254 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802592F8 00256258 D0 3F 0C C8 */ stfs f1, 0xcc8(r31) +/* 802592FC 0025625C D0 1F 0B 10 */ stfs f0, 0xb10(r31) +/* 80259300 00256260 48 00 01 60 */ b lbl_80259460 +lbl_80259304: +/* 80259304 00256264 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259308 00256268 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025930C 0025626C 40 80 00 98 */ bge lbl_802593A4 +/* 80259310 00256270 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259314 00256274 38 60 00 01 */ li r3, 1 +/* 80259318 00256278 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025931C 0025627C 3B 60 00 01 */ li r27, 1 +/* 80259320 00256280 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259324 00256284 38 00 00 04 */ li r0, 4 +/* 80259328 00256288 80 7F 0C B0 */ lwz r3, 0xcb0(r31) +/* 8025932C 0025628C 38 63 00 01 */ addi r3, r3, 1 +/* 80259330 00256290 90 7F 0C B0 */ stw r3, 0xcb0(r31) +/* 80259334 00256294 80 7F 0C B0 */ lwz r3, 0xcb0(r31) +/* 80259338 00256298 2C 03 00 05 */ cmpwi r3, 5 +/* 8025933C 0025629C 40 80 00 08 */ bge lbl_80259344 +/* 80259340 002562A0 7C 60 1B 78 */ mr r0, r3 +lbl_80259344: +/* 80259344 002562A4 90 1F 0C B0 */ stw r0, 0xcb0(r31) +/* 80259348 002562A8 3C 60 43 30 */ lis r3, 0x4330 +/* 8025934C 002562AC C8 82 B9 C0 */ lfd f4, lbl_805AD6E0@sda21(r2) +/* 80259350 002562B0 38 00 00 00 */ li r0, 0 +/* 80259354 002562B4 80 9F 0C B0 */ lwz r4, 0xcb0(r31) +/* 80259358 002562B8 3B 40 00 01 */ li r26, 1 +/* 8025935C 002562BC 90 61 03 10 */ stw r3, 0x310(r1) +/* 80259360 002562C0 38 64 00 01 */ addi r3, r4, 1 +/* 80259364 002562C4 C0 A2 B9 84 */ lfs f5, lbl_805AD6A4@sda21(r2) +/* 80259368 002562C8 20 63 00 05 */ subfic r3, r3, 5 +/* 8025936C 002562CC C0 5F 0C B8 */ lfs f2, 0xcb8(r31) +/* 80259370 002562D0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80259374 002562D4 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) +/* 80259378 002562D8 90 61 03 14 */ stw r3, 0x314(r1) +/* 8025937C 002562DC C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 80259380 002562E0 C8 61 03 10 */ lfd f3, 0x310(r1) +/* 80259384 002562E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80259388 002562E8 EC 23 20 28 */ fsubs f1, f3, f4 +/* 8025938C 002562EC EC 25 00 72 */ fmuls f1, f5, f1 +/* 80259390 002562F0 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80259394 002562F4 D0 3F 0C BC */ stfs f1, 0xcbc(r31) +/* 80259398 002562F8 90 1F 0C B4 */ stw r0, 0xcb4(r31) +/* 8025939C 002562FC D0 1F 0C C8 */ stfs f0, 0xcc8(r31) +/* 802593A0 00256300 48 00 00 C0 */ b lbl_80259460 +lbl_802593A4: +/* 802593A4 00256304 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 802593A8 00256308 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802593AC 0025630C 41 82 00 B4 */ beq lbl_80259460 +/* 802593B0 00256310 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 802593B4 00256314 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802593B8 00256318 40 82 00 A8 */ bne lbl_80259460 +/* 802593BC 0025631C C0 1F 09 5C */ lfs f0, 0x95c(r31) +/* 802593C0 00256320 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802593C4 00256324 40 81 00 9C */ ble lbl_80259460 +/* 802593C8 00256328 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802593CC 0025632C C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 802593D0 00256330 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 802593D4 00256334 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 802593D8 00256338 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 802593DC 0025633C 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 802593E0 00256340 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802593E4 00256344 38 C0 00 04 */ li r6, 4 +/* 802593E8 00256348 38 00 00 00 */ li r0, 0 +/* 802593EC 0025634C 90 A1 02 60 */ stw r5, 0x260(r1) +/* 802593F0 00256350 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 802593F4 00256354 3B 83 00 04 */ addi r28, r3, 4 +/* 802593F8 00256358 90 C1 02 64 */ stw r6, 0x264(r1) +/* 802593FC 0025635C 7F 83 E3 78 */ mr r3, r28 +/* 80259400 00256360 3B 60 00 01 */ li r27, 1 +/* 80259404 00256364 38 80 00 04 */ li r4, 4 +/* 80259408 00256368 90 A1 02 60 */ stw r5, 0x260(r1) +/* 8025940C 0025636C D0 01 02 68 */ stfs f0, 0x268(r1) +/* 80259410 00256370 D0 21 02 6C */ stfs f1, 0x26c(r1) +/* 80259414 00256374 D0 41 02 70 */ stfs f2, 0x270(r1) +/* 80259418 00256378 90 01 02 74 */ stw r0, 0x274(r1) +/* 8025941C 0025637C 4B ED 80 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80259420 00256380 80 01 02 64 */ lwz r0, 0x264(r1) +/* 80259424 00256384 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 80259428 00256388 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 8025942C 0025638C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80259430 00256390 90 1C 00 F8 */ stw r0, 0xf8(r28) +/* 80259434 00256394 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80259438 00256398 80 A1 02 68 */ lwz r5, 0x268(r1) +/* 8025943C 0025639C 80 61 02 6C */ lwz r3, 0x26c(r1) +/* 80259440 002563A0 90 BC 00 FC */ stw r5, 0xfc(r28) +/* 80259444 002563A4 80 A1 02 70 */ lwz r5, 0x270(r1) +/* 80259448 002563A8 90 7C 01 00 */ stw r3, 0x100(r28) +/* 8025944C 002563AC 80 61 02 74 */ lwz r3, 0x274(r1) +/* 80259450 002563B0 90 BC 01 04 */ stw r5, 0x104(r28) +/* 80259454 002563B4 90 81 02 60 */ stw r4, 0x260(r1) +/* 80259458 002563B8 90 7C 01 08 */ stw r3, 0x108(r28) +/* 8025945C 002563BC 90 01 02 60 */ stw r0, 0x260(r1) +lbl_80259460: +/* 80259460 002563C0 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) +/* 80259464 002563C4 7F E3 FB 78 */ mr r3, r31 +/* 80259468 002563C8 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 8025946C 002563CC 57 44 06 3E */ clrlwi r4, r26, 0x18 +/* 80259470 002563D0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80259474 002563D4 4B FF D4 A1 */ bl sub_80256914 +/* 80259478 002563D8 48 00 03 B0 */ b lbl_80259828 +lbl_8025947C: +/* 8025947C 002563DC 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259480 002563E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80259484 002563E4 41 82 00 8C */ beq lbl_80259510 +/* 80259488 002563E8 7F E4 FB 78 */ mr r4, r31 +/* 8025948C 002563EC 38 61 02 AC */ addi r3, r1, 0x2ac +/* 80259490 002563F0 38 BF 0B 90 */ addi r5, r31, 0xb90 +/* 80259494 002563F4 4B E1 F4 25 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80259498 002563F8 38 61 02 DC */ addi r3, r1, 0x2dc +/* 8025949C 002563FC 38 81 02 AC */ addi r4, r1, 0x2ac +/* 802594A0 00256400 48 0B 96 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802594A4 00256404 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 802594A8 00256408 C0 01 02 F8 */ lfs f0, 0x2f8(r1) +/* 802594AC 0025640C C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 802594B0 00256410 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 802594B4 00256414 EC A7 00 28 */ fsubs f5, f7, f0 +/* 802594B8 00256418 C0 01 02 F0 */ lfs f0, 0x2f0(r1) +/* 802594BC 0025641C C0 21 02 E8 */ lfs f1, 0x2e8(r1) +/* 802594C0 00256420 C1 03 00 60 */ lfs f8, 0x60(r3) +/* 802594C4 00256424 EC 43 08 28 */ fsubs f2, f3, f1 +/* 802594C8 00256428 C0 81 03 08 */ lfs f4, 0x308(r1) +/* 802594CC 0025642C EC 05 00 32 */ fmuls f0, f5, f0 +/* 802594D0 00256430 C0 21 02 E0 */ lfs f1, 0x2e0(r1) +/* 802594D4 00256434 EC 88 20 28 */ fsubs f4, f8, f4 +/* 802594D8 00256438 C0 C1 03 00 */ lfs f6, 0x300(r1) +/* 802594DC 0025643C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802594E0 00256440 C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) +/* 802594E4 00256444 D0 61 01 1C */ stfs f3, 0x11c(r1) +/* 802594E8 00256448 EC 24 09 BA */ fmadds f1, f4, f6, f1 +/* 802594EC 0025644C D0 E1 01 20 */ stfs f7, 0x120(r1) +/* 802594F0 00256450 D1 01 01 24 */ stfs f8, 0x124(r1) +/* 802594F4 00256454 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802594F8 00256458 D0 41 01 28 */ stfs f2, 0x128(r1) +/* 802594FC 0025645C D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 80259500 00256460 D0 81 01 30 */ stfs f4, 0x130(r1) +/* 80259504 00256464 40 80 00 0C */ bge lbl_80259510 +/* 80259508 00256468 3B 60 00 01 */ li r27, 1 +/* 8025950C 0025646C 48 00 03 1C */ b lbl_80259828 +lbl_80259510: +/* 80259510 00256470 81 9F 00 00 */ lwz r12, 0(r31) +/* 80259514 00256474 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 80259518 00256478 7F E3 FB 78 */ mr r3, r31 +/* 8025951C 0025647C C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) +/* 80259520 00256480 81 8C 00 90 */ lwz r12, 0x90(r12) +/* 80259524 00256484 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 80259528 00256488 7D 89 03 A6 */ mtctr r12 +/* 8025952C 0025648C 4E 80 04 21 */ bctrl +/* 80259530 00256490 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 80259534 00256494 D0 1F 0B 20 */ stfs f0, 0xb20(r31) +/* 80259538 00256498 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 8025953C 0025649C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80259540 002564A0 41 82 00 C4 */ beq lbl_80259604 +/* 80259544 002564A4 7F A4 EB 78 */ mr r4, r29 +/* 80259548 002564A8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8025954C 002564AC 4B F4 F6 41 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80259550 002564B0 A0 01 00 64 */ lhz r0, 0x64(r1) +/* 80259554 002564B4 7F C3 F3 78 */ mr r3, r30 +/* 80259558 002564B8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8025955C 002564BC B0 01 00 68 */ sth r0, 0x68(r1) +/* 80259560 002564C0 4B DF 30 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259564 002564C4 28 03 00 00 */ cmplwi r3, 0 +/* 80259568 002564C8 41 82 00 44 */ beq lbl_802595AC +/* 8025956C 002564CC 7C 64 1B 78 */ mr r4, r3 +/* 80259570 002564D0 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80259574 002564D4 4B E5 41 99 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 80259578 002564D8 80 83 00 04 */ lwz r4, 4(r3) +/* 8025957C 002564DC 28 04 00 00 */ cmplwi r4, 0 +/* 80259580 002564E0 41 82 00 2C */ beq lbl_802595AC +/* 80259584 002564E4 88 64 01 30 */ lbz r3, 0x130(r4) +/* 80259588 002564E8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8025958C 002564EC 40 82 00 18 */ bne lbl_802595A4 +/* 80259590 002564F0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80259594 002564F4 40 82 00 10 */ bne lbl_802595A4 +/* 80259598 002564F8 80 04 01 2C */ lwz r0, 0x12c(r4) +/* 8025959C 002564FC 2C 00 00 06 */ cmpwi r0, 6 +/* 802595A0 00256500 40 82 00 0C */ bne lbl_802595AC +lbl_802595A4: +/* 802595A4 00256504 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802595A8 00256508 D0 1F 0B 14 */ stfs f0, 0xb14(r31) +lbl_802595AC: +/* 802595AC 0025650C C0 3F 0B 14 */ lfs f1, 0xb14(r31) +/* 802595B0 00256510 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802595B4 00256514 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 802595B8 00256518 D0 3F 0B 14 */ stfs f1, 0xb14(r31) +/* 802595BC 0025651C 80 0D A2 54 */ lwz r0, lbl_805A8E14@sda21(r13) +/* 802595C0 00256520 90 1F 04 30 */ stw r0, 0x430(r31) +/* 802595C4 00256524 C0 3F 0B 14 */ lfs f1, 0xb14(r31) +/* 802595C8 00256528 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802595CC 0025652C 4C 40 13 82 */ cror 2, 0, 2 +/* 802595D0 00256530 40 82 02 58 */ bne lbl_80259828 +/* 802595D4 00256534 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 802595D8 00256538 38 60 00 00 */ li r3, 0 +/* 802595DC 0025653C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802595E0 00256540 38 60 00 01 */ li r3, 1 +/* 802595E4 00256544 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 802595E8 00256548 3B 60 00 01 */ li r27, 1 +/* 802595EC 0025654C 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 802595F0 00256550 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 802595F4 00256554 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 802595F8 00256558 C0 1F 05 A0 */ lfs f0, 0x5a0(r31) +/* 802595FC 0025655C D0 1F 0B 14 */ stfs f0, 0xb14(r31) +/* 80259600 00256560 48 00 02 28 */ b lbl_80259828 +lbl_80259604: +/* 80259604 00256564 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259608 00256568 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8025960C 0025656C 41 82 02 1C */ beq lbl_80259828 +/* 80259610 00256570 80 0D A2 50 */ lwz r0, lbl_805A8E10@sda21(r13) +/* 80259614 00256574 C0 42 B9 18 */ lfs f2, lbl_805AD638@sda21(r2) +/* 80259618 00256578 90 1F 04 30 */ stw r0, 0x430(r31) +/* 8025961C 0025657C C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80259620 00256580 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80259624 00256584 40 81 01 04 */ ble lbl_80259728 +/* 80259628 00256588 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025962C 0025658C D0 1F 0B 18 */ stfs f0, 0xb18(r31) +/* 80259630 00256590 C0 3F 0B 18 */ lfs f1, 0xb18(r31) +/* 80259634 00256594 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80259638 00256598 4C 40 13 82 */ cror 2, 0, 2 +/* 8025963C 0025659C 40 82 00 30 */ bne lbl_8025966C +/* 80259640 002565A0 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259644 002565A4 38 60 00 01 */ li r3, 1 +/* 80259648 002565A8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025964C 002565AC C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) +/* 80259650 002565B0 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259654 002565B4 3B 60 00 01 */ li r27, 1 +/* 80259658 002565B8 D0 5F 0B 18 */ stfs f2, 0xb18(r31) +/* 8025965C 002565BC C0 1F 05 A8 */ lfs f0, 0x5a8(r31) +/* 80259660 002565C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80259664 002565C4 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 80259668 002565C8 48 00 01 C0 */ b lbl_80259828 +lbl_8025966C: +/* 8025966C 002565CC C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259670 002565D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259674 002565D4 40 80 01 B4 */ bge lbl_80259828 +/* 80259678 002565D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8025967C 002565DC C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80259680 002565E0 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80259684 002565E4 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80259688 002565E8 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8025968C 002565EC 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 80259690 002565F0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80259694 002565F4 38 C0 00 04 */ li r6, 4 +/* 80259698 002565F8 38 00 00 06 */ li r0, 6 +/* 8025969C 002565FC 90 A1 02 48 */ stw r5, 0x248(r1) +/* 802596A0 00256600 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 802596A4 00256604 3B 43 00 04 */ addi r26, r3, 4 +/* 802596A8 00256608 90 C1 02 4C */ stw r6, 0x24c(r1) +/* 802596AC 0025660C 7F 43 D3 78 */ mr r3, r26 +/* 802596B0 00256610 3B 60 00 01 */ li r27, 1 +/* 802596B4 00256614 38 80 00 04 */ li r4, 4 +/* 802596B8 00256618 90 A1 02 48 */ stw r5, 0x248(r1) +/* 802596BC 0025661C D0 01 02 50 */ stfs f0, 0x250(r1) +/* 802596C0 00256620 D0 21 02 54 */ stfs f1, 0x254(r1) +/* 802596C4 00256624 D0 41 02 58 */ stfs f2, 0x258(r1) +/* 802596C8 00256628 90 01 02 5C */ stw r0, 0x25c(r1) +/* 802596CC 0025662C 4B ED 7D 6D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 802596D0 00256630 80 01 02 4C */ lwz r0, 0x24c(r1) +/* 802596D4 00256634 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 802596D8 00256638 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802596DC 0025663C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802596E0 00256640 90 1A 00 F8 */ stw r0, 0xf8(r26) +/* 802596E4 00256644 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802596E8 00256648 80 A1 02 50 */ lwz r5, 0x250(r1) +/* 802596EC 0025664C 80 61 02 54 */ lwz r3, 0x254(r1) +/* 802596F0 00256650 90 BA 00 FC */ stw r5, 0xfc(r26) +/* 802596F4 00256654 80 A1 02 58 */ lwz r5, 0x258(r1) +/* 802596F8 00256658 90 7A 01 00 */ stw r3, 0x100(r26) +/* 802596FC 0025665C 80 61 02 5C */ lwz r3, 0x25c(r1) +/* 80259700 00256660 90 BA 01 04 */ stw r5, 0x104(r26) +/* 80259704 00256664 C0 42 B9 BC */ lfs f2, lbl_805AD6DC@sda21(r2) +/* 80259708 00256668 90 7A 01 08 */ stw r3, 0x108(r26) +/* 8025970C 0025666C C0 3F 05 A4 */ lfs f1, 0x5a4(r31) +/* 80259710 00256670 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259714 00256674 90 81 02 48 */ stw r4, 0x248(r1) +/* 80259718 00256678 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 8025971C 0025667C 90 01 02 48 */ stw r0, 0x248(r1) +/* 80259720 00256680 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 80259724 00256684 48 00 01 04 */ b lbl_80259828 +lbl_80259728: +/* 80259728 00256688 C0 1F 0B 1C */ lfs f0, 0xb1c(r31) +/* 8025972C 0025668C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80259730 00256690 D0 1F 0B 1C */ stfs f0, 0xb1c(r31) +/* 80259734 00256694 C0 3F 0B 1C */ lfs f1, 0xb1c(r31) +/* 80259738 00256698 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8025973C 0025669C 4C 40 13 82 */ cror 2, 0, 2 +/* 80259740 002566A0 40 82 00 30 */ bne lbl_80259770 +/* 80259744 002566A4 88 1F 04 01 */ lbz r0, 0x401(r31) +/* 80259748 002566A8 38 60 00 01 */ li r3, 1 +/* 8025974C 002566AC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80259750 002566B0 38 80 00 00 */ li r4, 0 +/* 80259754 002566B4 98 1F 04 01 */ stb r0, 0x401(r31) +/* 80259758 002566B8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025975C 002566BC 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80259760 002566C0 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80259764 002566C4 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80259768 002566C8 D0 5F 0B 1C */ stfs f2, 0xb1c(r31) +/* 8025976C 002566CC 48 00 00 BC */ b lbl_80259828 +lbl_80259770: +/* 80259770 002566D0 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259774 002566D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259778 002566D8 40 80 00 B0 */ bge lbl_80259828 +/* 8025977C 002566DC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80259780 002566E0 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80259784 002566E4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80259788 002566E8 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 8025978C 002566EC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80259790 002566F0 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 80259794 002566F4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80259798 002566F8 38 C0 00 04 */ li r6, 4 +/* 8025979C 002566FC 38 00 00 06 */ li r0, 6 +/* 802597A0 00256700 90 A1 02 30 */ stw r5, 0x230(r1) +/* 802597A4 00256704 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 802597A8 00256708 3B 43 00 04 */ addi r26, r3, 4 +/* 802597AC 0025670C 90 C1 02 34 */ stw r6, 0x234(r1) +/* 802597B0 00256710 7F 43 D3 78 */ mr r3, r26 +/* 802597B4 00256714 3B 60 00 01 */ li r27, 1 +/* 802597B8 00256718 38 80 00 04 */ li r4, 4 +/* 802597BC 0025671C 90 A1 02 30 */ stw r5, 0x230(r1) +/* 802597C0 00256720 D0 01 02 38 */ stfs f0, 0x238(r1) +/* 802597C4 00256724 D0 21 02 3C */ stfs f1, 0x23c(r1) +/* 802597C8 00256728 D0 41 02 40 */ stfs f2, 0x240(r1) +/* 802597CC 0025672C 90 01 02 44 */ stw r0, 0x244(r1) +/* 802597D0 00256730 4B ED 7C 69 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 802597D4 00256734 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802597D8 00256738 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 802597DC 0025673C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802597E0 00256740 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802597E4 00256744 90 1A 00 F8 */ stw r0, 0xf8(r26) +/* 802597E8 00256748 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802597EC 0025674C 80 A1 02 38 */ lwz r5, 0x238(r1) +/* 802597F0 00256750 80 61 02 3C */ lwz r3, 0x23c(r1) +/* 802597F4 00256754 90 BA 00 FC */ stw r5, 0xfc(r26) +/* 802597F8 00256758 80 A1 02 40 */ lwz r5, 0x240(r1) +/* 802597FC 0025675C 90 7A 01 00 */ stw r3, 0x100(r26) +/* 80259800 00256760 80 61 02 44 */ lwz r3, 0x244(r1) +/* 80259804 00256764 90 BA 01 04 */ stw r5, 0x104(r26) +/* 80259808 00256768 C0 42 B9 BC */ lfs f2, lbl_805AD6DC@sda21(r2) +/* 8025980C 0025676C 90 7A 01 08 */ stw r3, 0x108(r26) +/* 80259810 00256770 C0 3F 05 A8 */ lfs f1, 0x5a8(r31) +/* 80259814 00256774 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259818 00256778 90 81 02 30 */ stw r4, 0x230(r1) +/* 8025981C 0025677C EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 80259820 00256780 90 01 02 30 */ stw r0, 0x230(r1) +/* 80259824 00256784 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +lbl_80259828: +/* 80259828 00256788 C0 3F 0B 10 */ lfs f1, 0xb10(r31) +/* 8025982C 0025678C 7F E3 FB 78 */ mr r3, r31 +/* 80259830 00256790 C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80259834 00256794 7F C4 F3 78 */ mr r4, r30 +/* 80259838 00256798 81 9F 00 00 */ lwz r12, 0(r31) +/* 8025983C 0025679C EC 01 00 2A */ fadds f0, f1, f0 +/* 80259840 002567A0 C0 3F 0B 1C */ lfs f1, 0xb1c(r31) +/* 80259844 002567A4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80259848 002567A8 EF E1 00 2A */ fadds f31, f1, f0 +/* 8025984C 002567AC 7D 89 03 A6 */ mtctr r12 +/* 80259850 002567B0 4E 80 04 21 */ bctrl +/* 80259854 002567B4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80259858 002567B8 D3 E3 00 00 */ stfs f31, 0(r3) +/* 8025985C 002567BC 40 82 04 50 */ bne lbl_80259CAC +/* 80259860 002567C0 7F A4 EB 78 */ mr r4, r29 +/* 80259864 002567C4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80259868 002567C8 4B F4 F3 25 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 8025986C 002567CC A0 01 00 60 */ lhz r0, 0x60(r1) +/* 80259870 002567D0 7F C3 F3 78 */ mr r3, r30 +/* 80259874 002567D4 38 81 00 5C */ addi r4, r1, 0x5c +/* 80259878 002567D8 B0 01 00 A0 */ sth r0, 0xa0(r1) +/* 8025987C 002567DC B0 01 00 5C */ sth r0, 0x5c(r1) +/* 80259880 002567E0 4B DF 2D 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259884 002567E4 7C 64 1B 78 */ mr r4, r3 +/* 80259888 002567E8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8025988C 002567EC 4B E5 3E 81 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 80259890 002567F0 80 E3 00 04 */ lwz r7, 4(r3) +/* 80259894 002567F4 28 07 00 00 */ cmplwi r7, 0 +/* 80259898 002567F8 41 82 04 14 */ beq lbl_80259CAC +/* 8025989C 002567FC C0 47 00 50 */ lfs f2, 0x50(r7) +/* 802598A0 00256800 7F E3 FB 78 */ mr r3, r31 +/* 802598A4 00256804 C0 27 02 9C */ lfs f1, 0x29c(r7) +/* 802598A8 00256808 7F C5 F3 78 */ mr r5, r30 +/* 802598AC 0025680C C0 67 00 60 */ lfs f3, 0x60(r7) +/* 802598B0 00256810 38 81 01 10 */ addi r4, r1, 0x110 +/* 802598B4 00256814 EC 82 08 28 */ fsubs f4, f2, f1 +/* 802598B8 00256818 C0 07 02 A0 */ lfs f0, 0x2a0(r7) +/* 802598BC 0025681C C0 47 00 40 */ lfs f2, 0x40(r7) +/* 802598C0 00256820 38 C7 01 2C */ addi r6, r7, 0x12c +/* 802598C4 00256824 EC 63 00 28 */ fsubs f3, f3, f0 +/* 802598C8 00256828 C0 07 02 98 */ lfs f0, 0x298(r7) +/* 802598CC 0025682C C0 27 01 40 */ lfs f1, 0x140(r7) +/* 802598D0 00256830 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802598D4 00256834 38 E0 00 01 */ li r7, 1 +/* 802598D8 00256838 39 00 00 00 */ li r8, 0 +/* 802598DC 0025683C D0 81 01 14 */ stfs f4, 0x114(r1) +/* 802598E0 00256840 D0 61 01 18 */ stfs f3, 0x118(r1) +/* 802598E4 00256844 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 802598E8 00256848 81 9F 00 00 */ lwz r12, 0(r31) +/* 802598EC 0025684C 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 802598F0 00256850 7D 89 03 A6 */ mtctr r12 +/* 802598F4 00256854 4E 80 04 21 */ bctrl +/* 802598F8 00256858 48 00 03 B4 */ b lbl_80259CAC +/* 802598FC 0025685C A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259900 00256860 7F C3 F3 78 */ mr r3, r30 +/* 80259904 00256864 38 81 00 58 */ addi r4, r1, 0x58 +/* 80259908 00256868 B0 01 00 58 */ sth r0, 0x58(r1) +/* 8025990C 0025686C 4B DF 2C 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259910 00256870 7C 64 1B 78 */ mr r4, r3 +/* 80259914 00256874 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80259918 00256878 4B E5 3D F5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8025991C 0025687C 83 83 00 04 */ lwz r28, 4(r3) +/* 80259920 00256880 28 1C 00 00 */ cmplwi r28, 0 +/* 80259924 00256884 41 82 03 88 */ beq lbl_80259CAC +/* 80259928 00256888 80 1F 0C 64 */ lwz r0, 0xc64(r31) +/* 8025992C 0025688C 38 80 00 00 */ li r4, 0 +/* 80259930 00256890 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 80259934 00256894 2C 00 00 03 */ cmpwi r0, 3 +/* 80259938 00256898 B0 61 00 9C */ sth r3, 0x9c(r1) +/* 8025993C 0025689C 41 82 00 30 */ beq lbl_8025996C +/* 80259940 002568A0 40 80 00 60 */ bge lbl_802599A0 +/* 80259944 002568A4 2C 00 00 02 */ cmpwi r0, 2 +/* 80259948 002568A8 40 80 00 08 */ bge lbl_80259950 +/* 8025994C 002568AC 48 00 00 54 */ b lbl_802599A0 +lbl_80259950: +/* 80259950 002568B0 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259954 002568B4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80259958 002568B8 40 82 00 48 */ bne lbl_802599A0 +/* 8025995C 002568BC A0 1F 09 8A */ lhz r0, 0x98a(r31) +/* 80259960 002568C0 38 80 00 01 */ li r4, 1 +/* 80259964 002568C4 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 80259968 002568C8 48 00 00 38 */ b lbl_802599A0 +lbl_8025996C: +/* 8025996C 002568CC 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259970 002568D0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80259974 002568D4 41 82 00 14 */ beq lbl_80259988 +/* 80259978 002568D8 A0 1F 09 88 */ lhz r0, 0x988(r31) +/* 8025997C 002568DC 38 80 00 01 */ li r4, 1 +/* 80259980 002568E0 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 80259984 002568E4 48 00 00 1C */ b lbl_802599A0 +lbl_80259988: +/* 80259988 002568E8 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 8025998C 002568EC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80259990 002568F0 41 82 00 10 */ beq lbl_802599A0 +/* 80259994 002568F4 A0 1F 09 8A */ lhz r0, 0x98a(r31) +/* 80259998 002568F8 38 80 00 01 */ li r4, 1 +/* 8025999C 002568FC B0 01 00 9C */ sth r0, 0x9c(r1) +lbl_802599A0: +/* 802599A0 00256900 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802599A4 00256904 41 82 03 08 */ beq lbl_80259CAC +/* 802599A8 00256908 80 1C 01 2C */ lwz r0, 0x12c(r28) +/* 802599AC 0025690C 38 60 00 00 */ li r3, 0 +/* 802599B0 00256910 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802599B4 00256914 38 80 00 01 */ li r4, 1 +/* 802599B8 00256918 90 01 02 90 */ stw r0, 0x290(r1) +/* 802599BC 0025691C 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 802599C0 00256920 88 1C 01 30 */ lbz r0, 0x130(r28) +/* 802599C4 00256924 98 01 02 94 */ stb r0, 0x294(r1) +/* 802599C8 00256928 C0 3C 01 34 */ lfs f1, 0x134(r28) +/* 802599CC 0025692C D0 21 02 98 */ stfs f1, 0x298(r1) +/* 802599D0 00256930 C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 802599D4 00256934 D0 21 02 9C */ stfs f1, 0x29c(r1) +/* 802599D8 00256938 C0 3C 01 3C */ lfs f1, 0x13c(r28) +/* 802599DC 0025693C D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 802599E0 00256940 C0 3C 01 40 */ lfs f1, 0x140(r28) +/* 802599E4 00256944 D0 21 02 A4 */ stfs f1, 0x2a4(r1) +/* 802599E8 00256948 88 1C 01 44 */ lbz r0, 0x144(r28) +/* 802599EC 0025694C 98 01 02 A8 */ stb r0, 0x2a8(r1) +/* 802599F0 00256950 D0 01 02 A0 */ stfs f0, 0x2a0(r1) +/* 802599F4 00256954 48 13 05 01 */ bl __shl2i +/* 802599F8 00256958 38 E0 00 00 */ li r7, 0 +/* 802599FC 0025695C 39 60 00 03 */ li r11, 3 +/* 80259A00 00256960 90 81 02 1C */ stw r4, 0x21c(r1) +/* 80259A04 00256964 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80259A08 00256968 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80259A0C 0025696C A1 41 00 9C */ lhz r10, 0x9c(r1) +/* 80259A10 00256970 90 61 02 18 */ stw r3, 0x218(r1) +/* 80259A14 00256974 7F C3 F3 78 */ mr r3, r30 +/* 80259A18 00256978 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259A1C 0025697C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80259A20 00256980 90 E1 02 24 */ stw r7, 0x224(r1) +/* 80259A24 00256984 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80259A28 00256988 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80259A2C 0025698C 39 01 02 18 */ addi r8, r1, 0x218 +/* 80259A30 00256990 90 E1 02 20 */ stw r7, 0x220(r1) +/* 80259A34 00256994 38 E1 02 90 */ addi r7, r1, 0x290 +/* 80259A38 00256998 91 61 02 28 */ stw r11, 0x228(r1) +/* 80259A3C 0025699C A1 7C 00 EC */ lhz r11, 0xec(r28) +/* 80259A40 002569A0 B1 61 00 48 */ sth r11, 0x48(r1) +/* 80259A44 002569A4 B1 61 00 4C */ sth r11, 0x4c(r1) +/* 80259A48 002569A8 B1 41 00 50 */ sth r10, 0x50(r1) +/* 80259A4C 002569AC B0 01 00 54 */ sth r0, 0x54(r1) +/* 80259A50 002569B0 4B DF 06 51 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80259A54 002569B4 48 00 02 58 */ b lbl_80259CAC +/* 80259A58 002569B8 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259A5C 002569BC 7F C3 F3 78 */ mr r3, r30 +/* 80259A60 002569C0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80259A64 002569C4 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80259A68 002569C8 4B DF 2B 0D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80259A6C 002569CC 7C 64 1B 78 */ mr r4, r3 +/* 80259A70 002569D0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80259A74 002569D4 4B E5 58 D9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80259A78 002569D8 83 83 00 04 */ lwz r28, 4(r3) +/* 80259A7C 002569DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80259A80 002569E0 41 82 02 2C */ beq lbl_80259CAC +/* 80259A84 002569E4 38 00 00 00 */ li r0, 0 +/* 80259A88 002569E8 80 AD 97 3C */ lwz r5, lbl_805A82FC@sda21(r13) +/* 80259A8C 002569EC 90 01 00 EC */ stw r0, 0xec(r1) +/* 80259A90 002569F0 38 60 00 00 */ li r3, 0 +/* 80259A94 002569F4 38 80 00 01 */ li r4, 1 +/* 80259A98 002569F8 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 80259A9C 002569FC 48 13 04 59 */ bl __shl2i +/* 80259AA0 00256A00 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 80259AA4 00256A04 80 A1 00 EC */ lwz r5, 0xec(r1) +/* 80259AA8 00256A08 7C 00 1B 78 */ or r0, r0, r3 +/* 80259AAC 00256A0C 7F 83 E3 78 */ mr r3, r28 +/* 80259AB0 00256A10 7C A4 23 78 */ or r4, r5, r4 +/* 80259AB4 00256A14 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 80259AB8 00256A18 90 81 00 EC */ stw r4, 0xec(r1) +/* 80259ABC 00256A1C 4B DF 9E 01 */ bl GetMaterialFilter__6CActorCFv +/* 80259AC0 00256A20 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80259AC4 00256A24 48 07 B8 89 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 80259AC8 00256A28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80259ACC 00256A2C 41 82 01 2C */ beq lbl_80259BF8 +/* 80259AD0 00256A30 7F 84 E3 78 */ mr r4, r28 +/* 80259AD4 00256A34 38 61 00 3C */ addi r3, r1, 0x3c +/* 80259AD8 00256A38 4B F4 F0 B5 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80259ADC 00256A3C A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 80259AE0 00256A40 7F C3 F3 78 */ mr r3, r30 +/* 80259AE4 00256A44 38 81 00 40 */ addi r4, r1, 0x40 +/* 80259AE8 00256A48 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80259AEC 00256A4C 4B DF 2A B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259AF0 00256A50 7C 64 1B 78 */ mr r4, r3 +/* 80259AF4 00256A54 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80259AF8 00256A58 4B E4 F3 1D */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 80259AFC 00256A5C 83 63 00 04 */ lwz r27, 4(r3) +/* 80259B00 00256A60 28 1B 00 00 */ cmplwi r27, 0 +/* 80259B04 00256A64 41 82 00 F4 */ beq lbl_80259BF8 +/* 80259B08 00256A68 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 80259B0C 00256A6C 38 60 00 00 */ li r3, 0 +/* 80259B10 00256A70 38 80 00 01 */ li r4, 1 +/* 80259B14 00256A74 48 13 03 E1 */ bl __shl2i +/* 80259B18 00256A78 38 A0 00 00 */ li r5, 0 +/* 80259B1C 00256A7C 38 00 00 03 */ li r0, 3 +/* 80259B20 00256A80 90 81 01 E4 */ stw r4, 0x1e4(r1) +/* 80259B24 00256A84 7F C4 F3 78 */ mr r4, r30 +/* 80259B28 00256A88 90 61 01 E0 */ stw r3, 0x1e0(r1) +/* 80259B2C 00256A8C 7F 63 DB 78 */ mr r3, r27 +/* 80259B30 00256A90 90 A1 01 EC */ stw r5, 0x1ec(r1) +/* 80259B34 00256A94 90 A1 01 E8 */ stw r5, 0x1e8(r1) +/* 80259B38 00256A98 90 01 01 F0 */ stw r0, 0x1f0(r1) +/* 80259B3C 00256A9C 81 9B 00 00 */ lwz r12, 0(r27) +/* 80259B40 00256AA0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80259B44 00256AA4 7D 89 03 A6 */ mtctr r12 +/* 80259B48 00256AA8 4E 80 04 21 */ bctrl +/* 80259B4C 00256AAC C0 03 00 00 */ lfs f0, 0(r3) +/* 80259B50 00256AB0 3B 40 00 09 */ li r26, 9 +/* 80259B54 00256AB4 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 80259B58 00256AB8 38 60 00 00 */ li r3, 0 +/* 80259B5C 00256ABC 88 C1 00 E4 */ lbz r6, 0xe4(r1) +/* 80259B60 00256AC0 50 66 3E 30 */ rlwimi r6, r3, 7, 0x18, 0x18 +/* 80259B64 00256AC4 EC 22 00 2A */ fadds f1, f2, f0 +/* 80259B68 00256AC8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80259B6C 00256ACC 54 CA 06 3E */ clrlwi r10, r6, 0x18 +/* 80259B70 00256AD0 88 01 02 10 */ lbz r0, 0x210(r1) +/* 80259B74 00256AD4 50 6A 36 72 */ rlwimi r10, r3, 6, 0x19, 0x19 +/* 80259B78 00256AD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80259B7C 00256ADC 55 4C 06 3E */ clrlwi r12, r10, 0x18 +/* 80259B80 00256AE0 93 41 01 F8 */ stw r26, 0x1f8(r1) +/* 80259B84 00256AE4 50 6C 2E B4 */ rlwimi r12, r3, 5, 0x1a, 0x1a +/* 80259B88 00256AE8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80259B8C 00256AEC 98 C1 00 E4 */ stb r6, 0xe4(r1) +/* 80259B90 00256AF0 39 23 66 A0 */ addi r9, r3, skZero3f@l +/* 80259B94 00256AF4 7F C3 F3 78 */ mr r3, r30 +/* 80259B98 00256AF8 38 81 00 38 */ addi r4, r1, 0x38 +/* 80259B9C 00256AFC 99 41 00 E4 */ stb r10, 0xe4(r1) +/* 80259BA0 00256B00 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80259BA4 00256B04 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80259BA8 00256B08 38 E1 01 F8 */ addi r7, r1, 0x1f8 +/* 80259BAC 00256B0C 99 81 01 FC */ stb r12, 0x1fc(r1) +/* 80259BB0 00256B10 39 01 01 E0 */ addi r8, r1, 0x1e0 +/* 80259BB4 00256B14 D0 21 02 00 */ stfs f1, 0x200(r1) +/* 80259BB8 00256B18 D0 21 02 04 */ stfs f1, 0x204(r1) +/* 80259BBC 00256B1C D0 01 02 08 */ stfs f0, 0x208(r1) +/* 80259BC0 00256B20 D0 41 02 0C */ stfs f2, 0x20c(r1) +/* 80259BC4 00256B24 98 01 02 10 */ stb r0, 0x210(r1) +/* 80259BC8 00256B28 A1 7F 00 08 */ lhz r11, 8(r31) +/* 80259BCC 00256B2C 93 41 00 E0 */ stw r26, 0xe0(r1) +/* 80259BD0 00256B30 B1 61 00 28 */ sth r11, 0x28(r1) +/* 80259BD4 00256B34 A1 5B 00 08 */ lhz r10, 8(r27) +/* 80259BD8 00256B38 99 81 00 E4 */ stb r12, 0xe4(r1) +/* 80259BDC 00256B3C B1 41 00 30 */ sth r10, 0x30(r1) +/* 80259BE0 00256B40 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80259BE4 00256B44 B1 61 00 24 */ sth r11, 0x24(r1) +/* 80259BE8 00256B48 B1 41 00 2C */ sth r10, 0x2c(r1) +/* 80259BEC 00256B4C B0 01 00 34 */ sth r0, 0x34(r1) +/* 80259BF0 00256B50 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80259BF4 00256B54 4B DF 04 AD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80259BF8: +/* 80259BF8 00256B58 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80259BFC 00256B5C 7F 84 E3 78 */ mr r4, r28 +/* 80259C00 00256B60 38 61 00 20 */ addi r3, r1, 0x20 +/* 80259C04 00256B64 A3 45 00 08 */ lhz r26, 8(r5) +/* 80259C08 00256B68 4B F4 EF 85 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80259C0C 00256B6C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 80259C10 00256B70 7C 00 D0 40 */ cmplw r0, r26 +/* 80259C14 00256B74 40 82 00 98 */ bne lbl_80259CAC +/* 80259C18 00256B78 C0 3F 04 20 */ lfs f1, 0x420(r31) +/* 80259C1C 00256B7C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80259C20 00256B80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259C24 00256B84 4C 40 13 82 */ cror 2, 0, 2 +/* 80259C28 00256B88 40 82 00 84 */ bne lbl_80259CAC +/* 80259C2C 00256B8C 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 80259C30 00256B90 38 60 00 00 */ li r3, 0 +/* 80259C34 00256B94 38 80 00 01 */ li r4, 1 +/* 80259C38 00256B98 48 13 02 BD */ bl __shl2i +/* 80259C3C 00256B9C 39 40 00 00 */ li r10, 0 +/* 80259C40 00256BA0 38 00 00 03 */ li r0, 3 +/* 80259C44 00256BA4 90 81 01 CC */ stw r4, 0x1cc(r1) +/* 80259C48 00256BA8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80259C4C 00256BAC 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80259C50 00256BB0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80259C54 00256BB4 90 61 01 C8 */ stw r3, 0x1c8(r1) +/* 80259C58 00256BB8 38 81 00 1C */ addi r4, r1, 0x1c +/* 80259C5C 00256BBC 7F C3 F3 78 */ mr r3, r30 +/* 80259C60 00256BC0 38 C1 00 0C */ addi r6, r1, 0xc +/* 80259C64 00256BC4 91 41 01 D4 */ stw r10, 0x1d4(r1) +/* 80259C68 00256BC8 38 FF 0C 8C */ addi r7, r31, 0xc8c +/* 80259C6C 00256BCC 39 01 01 C8 */ addi r8, r1, 0x1c8 +/* 80259C70 00256BD0 91 41 01 D0 */ stw r10, 0x1d0(r1) +/* 80259C74 00256BD4 90 01 01 D8 */ stw r0, 0x1d8(r1) +/* 80259C78 00256BD8 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80259C7C 00256BDC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80259C80 00256BE0 81 5E 08 4C */ lwz r10, 0x84c(r30) +/* 80259C84 00256BE4 B0 01 00 08 */ sth r0, 8(r1) +/* 80259C88 00256BE8 A1 4A 00 08 */ lhz r10, 8(r10) +/* 80259C8C 00256BEC B1 41 00 14 */ sth r10, 0x14(r1) +/* 80259C90 00256BF0 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80259C94 00256BF4 B1 41 00 10 */ sth r10, 0x10(r1) +/* 80259C98 00256BF8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80259C9C 00256BFC B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80259CA0 00256C00 4B DF 04 01 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80259CA4 00256C04 C0 1F 04 24 */ lfs f0, 0x424(r31) +/* 80259CA8 00256C08 D0 1F 04 20 */ stfs f0, 0x420(r31) +lbl_80259CAC: +/* 80259CAC 00256C0C E3 E1 03 48 */ psq_l f31, 840(r1), 0, qr0 +/* 80259CB0 00256C10 CB E1 03 40 */ lfd f31, 0x340(r1) +/* 80259CB4 00256C14 E3 C1 03 38 */ psq_l f30, 824(r1), 0, qr0 +/* 80259CB8 00256C18 CB C1 03 30 */ lfd f30, 0x330(r1) +/* 80259CBC 00256C1C BB 41 03 18 */ lmw r26, 0x318(r1) +/* 80259CC0 00256C20 80 01 03 54 */ lwz r0, 0x354(r1) +/* 80259CC4 00256C24 7C 08 03 A6 */ mtlr r0 +/* 80259CC8 00256C28 38 21 03 50 */ addi r1, r1, 0x350 +/* 80259CCC 00256C2C 4E 80 00 20 */ blr + +.global Touch__7CRidleyFR6CActorR13CStateManager +Touch__7CRidleyFR6CActorR13CStateManager: +/* 80259CD0 00256C30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80259CD4 00256C34 7C 08 02 A6 */ mflr r0 +/* 80259CD8 00256C38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80259CDC 00256C3C 4B E1 FD C5 */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 80259CE0 00256C40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80259CE4 00256C44 7C 08 03 A6 */ mtlr r0 +/* 80259CE8 00256C48 38 21 00 10 */ addi r1, r1, 0x10 +/* 80259CEC 00256C4C 4E 80 00 20 */ blr + +.global Accept__7CRidleyFR8IVisitor +Accept__7CRidleyFR8IVisitor: +/* 80259CF0 00256C50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80259CF4 00256C54 7C 08 02 A6 */ mflr r0 +/* 80259CF8 00256C58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80259CFC 00256C5C 7C 60 1B 78 */ mr r0, r3 +/* 80259D00 00256C60 7C 83 23 78 */ mr r3, r4 +/* 80259D04 00256C64 81 84 00 00 */ lwz r12, 0(r4) +/* 80259D08 00256C68 7C 04 03 78 */ mr r4, r0 +/* 80259D0C 00256C6C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80259D10 00256C70 7D 89 03 A6 */ mtctr r12 +/* 80259D14 00256C74 4E 80 04 21 */ bctrl +/* 80259D18 00256C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80259D1C 00256C7C 7C 08 03 A6 */ mtlr r0 +/* 80259D20 00256C80 38 21 00 10 */ addi r1, r1, 0x10 +/* 80259D24 00256C84 4E 80 00 20 */ blr + +.global "__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi" +"__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi": +/* 80259D28 00256C88 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80259D2C 00256C8C 7C 08 02 A6 */ mflr r0 +/* 80259D30 00256C90 7C CC 33 78 */ mr r12, r6 +/* 80259D34 00256C94 7C A6 2B 78 */ mr r6, r5 +/* 80259D38 00256C98 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80259D3C 00256C9C 39 60 00 03 */ li r11, 3 +/* 80259D40 00256CA0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80259D44 00256CA4 93 E1 01 CC */ stw r31, 0x1cc(r1) +/* 80259D48 00256CA8 7C 7F 1B 78 */ mr r31, r3 +/* 80259D4C 00256CAC 93 C1 01 C8 */ stw r30, 0x1c8(r1) +/* 80259D50 00256CB0 7D 1E 43 78 */ mr r30, r8 +/* 80259D54 00256CB4 7D 88 63 78 */ mr r8, r12 +/* 80259D58 00256CB8 93 A1 01 C4 */ stw r29, 0x1c4(r1) +/* 80259D5C 00256CBC 83 A1 01 D8 */ lwz r29, 0x1d8(r1) +/* 80259D60 00256CC0 93 81 01 C0 */ stw r28, 0x1c0(r1) +/* 80259D64 00256CC4 83 81 01 DC */ lwz r28, 0x1dc(r1) +/* 80259D68 00256CC8 A0 04 00 00 */ lhz r0, 0(r4) +/* 80259D6C 00256CCC 38 80 00 01 */ li r4, 1 +/* 80259D70 00256CD0 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80259D74 00256CD4 38 00 00 02 */ li r0, 2 +/* 80259D78 00256CD8 91 21 00 08 */ stw r9, 8(r1) +/* 80259D7C 00256CDC 7C E9 3B 78 */ mr r9, r7 +/* 80259D80 00256CE0 38 E0 00 00 */ li r7, 0 +/* 80259D84 00256CE4 90 81 00 0C */ stw r4, 0xc(r1) +/* 80259D88 00256CE8 90 81 00 10 */ stw r4, 0x10(r1) +/* 80259D8C 00256CEC 38 80 00 1E */ li r4, 0x1e +/* 80259D90 00256CF0 91 61 00 14 */ stw r11, 0x14(r1) +/* 80259D94 00256CF4 91 41 00 18 */ stw r10, 0x18(r1) +/* 80259D98 00256CF8 7F CA F3 78 */ mr r10, r30 +/* 80259D9C 00256CFC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80259DA0 00256D00 4B E2 36 B1 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80259DA4 00256D04 3C 60 80 3F */ lis r3, lbl_803E9258@ha +/* 80259DA8 00256D08 7F A4 EB 78 */ mr r4, r29 +/* 80259DAC 00256D0C 38 03 92 58 */ addi r0, r3, lbl_803E9258@l +/* 80259DB0 00256D10 7F 85 E3 78 */ mr r5, r28 +/* 80259DB4 00256D14 90 1F 00 00 */ stw r0, 0(r31) +/* 80259DB8 00256D18 38 7F 05 68 */ addi r3, r31, 0x568 +/* 80259DBC 00256D1C 48 00 09 39 */ bl sub_8025a6f4 +/* 80259DC0 00256D20 38 80 00 00 */ li r4, 0 +/* 80259DC4 00256D24 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80259DC8 00256D28 90 9F 09 80 */ stw r4, 0x980(r31) +/* 80259DCC 00256D2C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80259DD0 00256D30 38 61 00 94 */ addi r3, r1, 0x94 +/* 80259DD4 00256D34 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80259DD8 00256D38 90 9F 09 84 */ stw r4, 0x984(r31) +/* 80259DDC 00256D3C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80259DE0 00256D40 B0 9F 09 88 */ sth r4, 0x988(r31) +/* 80259DE4 00256D44 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80259DE8 00256D48 B0 9F 09 8A */ sth r4, 0x98a(r31) +/* 80259DEC 00256D4C 80 DF 05 98 */ lwz r6, 0x598(r31) +/* 80259DF0 00256D50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80259DF4 00256D54 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80259DF8 00256D58 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 80259DFC 00256D5C 81 84 00 00 */ lwz r12, 0(r4) +/* 80259E00 00256D60 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80259E04 00256D64 7D 89 03 A6 */ mtctr r12 +/* 80259E08 00256D68 4E 80 04 21 */ bctrl +/* 80259E0C 00256D6C 3B 9F 09 8C */ addi r28, r31, 0x98c +/* 80259E10 00256D70 38 81 00 94 */ addi r4, r1, 0x94 +/* 80259E14 00256D74 7F 83 E3 78 */ mr r3, r28 +/* 80259E18 00256D78 48 0E 70 91 */ bl __ct__6CTokenFRC6CToken +/* 80259E1C 00256D7C 7F 83 E3 78 */ mr r3, r28 +/* 80259E20 00256D80 48 0E 6F ED */ bl GetObj__6CTokenFv +/* 80259E24 00256D84 80 03 00 04 */ lwz r0, 4(r3) +/* 80259E28 00256D88 38 61 00 94 */ addi r3, r1, 0x94 +/* 80259E2C 00256D8C 38 80 FF FF */ li r4, -1 +/* 80259E30 00256D90 90 1C 00 08 */ stw r0, 8(r28) +/* 80259E34 00256D94 48 0E 70 0D */ bl __dt__6CTokenFv +/* 80259E38 00256D98 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80259E3C 00256D9C 38 7F 09 98 */ addi r3, r31, 0x998 +/* 80259E40 00256DA0 80 1F 05 90 */ lwz r0, 0x590(r31) +/* 80259E44 00256DA4 38 81 01 18 */ addi r4, r1, 0x118 +/* 80259E48 00256DA8 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80259E4C 00256DAC C0 1E 00 08 */ lfs f0, 8(r30) +/* 80259E50 00256DB0 D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 80259E54 00256DB4 D0 21 01 10 */ stfs f1, 0x110(r1) +/* 80259E58 00256DB8 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 80259E5C 00256DBC 90 01 01 18 */ stw r0, 0x118(r1) +/* 80259E60 00256DC0 D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 80259E64 00256DC4 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 80259E68 00256DC8 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80259E6C 00256DCC 4B EB CE F1 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80259E70 00256DD0 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80259E74 00256DD4 38 7F 09 E4 */ addi r3, r31, 0x9e4 +/* 80259E78 00256DD8 80 1F 05 94 */ lwz r0, 0x594(r31) +/* 80259E7C 00256DDC 38 81 00 FC */ addi r4, r1, 0xfc +/* 80259E80 00256DE0 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80259E84 00256DE4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80259E88 00256DE8 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 80259E8C 00256DEC D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 80259E90 00256DF0 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 80259E94 00256DF4 90 01 00 FC */ stw r0, 0xfc(r1) +/* 80259E98 00256DF8 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 80259E9C 00256DFC D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80259EA0 00256E00 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 80259EA4 00256E04 4B EB CE B9 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80259EA8 00256E08 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80259EAC 00256E0C 3C 60 80 57 */ lis r3, lbl_80572404@ha +/* 80259EB0 00256E10 38 A3 24 04 */ addi r5, r3, lbl_80572404@l +/* 80259EB4 00256E14 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80259EB8 00256E18 38 61 00 30 */ addi r3, r1, 0x30 +/* 80259EBC 00256E1C 4B DD 49 7D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80259EC0 00256E20 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80259EC4 00256E24 38 C0 00 01 */ li r6, 1 +/* 80259EC8 00256E28 38 A0 00 00 */ li r5, 0 +/* 80259ECC 00256E2C C0 22 B9 C8 */ lfs f1, lbl_805AD6E8@sda21(r2) +/* 80259ED0 00256E30 98 1F 0A 30 */ stb r0, 0xa30(r31) +/* 80259ED4 00256E34 38 7F 0A 38 */ addi r3, r31, 0xa38 +/* 80259ED8 00256E38 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80259EDC 00256E3C 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259EE0 00256E40 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80259EE4 00256E44 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259EE8 00256E48 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259EEC 00256E4C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80259EF0 00256E50 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259EF4 00256E54 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259EF8 00256E58 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80259EFC 00256E5C 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F00 00256E60 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F04 00256E64 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80259F08 00256E68 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F0C 00256E6C 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F10 00256E70 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80259F14 00256E74 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F18 00256E78 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F1C 00256E7C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80259F20 00256E80 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F24 00256E84 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F28 00256E88 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80259F2C 00256E8C 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F30 00256E90 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F34 00256E94 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80259F38 00256E98 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F3C 00256E9C 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F40 00256EA0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80259F44 00256EA4 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F48 00256EA8 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F4C 00256EAC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80259F50 00256EB0 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F54 00256EB4 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F58 00256EB8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80259F5C 00256EBC 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F60 00256EC0 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F64 00256EC4 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80259F68 00256EC8 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F6C 00256ECC 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F70 00256ED0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80259F74 00256ED4 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F78 00256ED8 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F7C 00256EDC 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 80259F80 00256EE0 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F84 00256EE4 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259F88 00256EE8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80259F8C 00256EEC 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259F90 00256EF0 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259F94 00256EF4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80259F98 00256EF8 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259F9C 00256EFC 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FA0 00256F00 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80259FA4 00256F04 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FA8 00256F08 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FAC 00256F0C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80259FB0 00256F10 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FB4 00256F14 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FB8 00256F18 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80259FBC 00256F1C 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FC0 00256F20 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FC4 00256F24 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80259FC8 00256F28 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FCC 00256F2C 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FD0 00256F30 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80259FD4 00256F34 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FD8 00256F38 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FDC 00256F3C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80259FE0 00256F40 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FE4 00256F44 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80259FE8 00256F48 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80259FEC 00256F4C 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80259FF0 00256F50 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80259FF4 00256F54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80259FF8 00256F58 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80259FFC 00256F5C 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 8025A000 00256F60 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 8025A004 00256F64 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 8025A008 00256F68 C0 9E 00 00 */ lfs f4, 0(r30) +/* 8025A00C 00256F6C C0 7E 00 04 */ lfs f3, 4(r30) +/* 8025A010 00256F70 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A014 00256F74 EC 01 01 32 */ fmuls f0, f1, f4 +/* 8025A018 00256F78 80 1F 05 8C */ lwz r0, 0x58c(r31) +/* 8025A01C 00256F7C EC A1 00 F2 */ fmuls f5, f1, f3 +/* 8025A020 00256F80 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8025A024 00256F84 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 8025A028 00256F88 D0 61 00 CC */ stfs f3, 0xcc(r1) +/* 8025A02C 00256F8C D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 8025A030 00256F90 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8025A034 00256F94 D0 A1 00 D8 */ stfs f5, 0xd8(r1) +/* 8025A038 00256F98 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 8025A03C 00256F9C 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 8025A040 00256FA0 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 8025A044 00256FA4 D0 A1 00 E8 */ stfs f5, 0xe8(r1) +/* 8025A048 00256FA8 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 8025A04C 00256FAC 4B EB CD 11 */ bl __ct__10CModelDataFRC10CStaticRes +/* 8025A050 00256FB0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8025A054 00256FB4 38 7F 0A 84 */ addi r3, r31, 0xa84 +/* 8025A058 00256FB8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8025A05C 00256FBC 48 0B 8B 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025A060 00256FC0 C0 C2 B9 68 */ lfs f6, lbl_805AD688@sda21(r2) +/* 8025A064 00256FC4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025A068 00256FC8 3B C4 66 A0 */ addi r30, r4, skZero3f@l +/* 8025A06C 00256FCC 3C 60 80 57 */ lis r3, lbl_80572534@ha +/* 8025A070 00256FD0 D0 DF 0A B4 */ stfs f6, 0xab4(r31) +/* 8025A074 00256FD4 38 A3 25 34 */ addi r5, r3, lbl_80572534@l +/* 8025A078 00256FD8 C0 02 B9 CC */ lfs f0, lbl_805AD6EC@sda21(r2) +/* 8025A07C 00256FDC 3C C0 80 5A */ lis r6, lbl_805A6754@ha +/* 8025A080 00256FE0 C0 22 B9 78 */ lfs f1, lbl_805AD698@sda21(r2) +/* 8025A084 00256FE4 38 80 00 02 */ li r4, 2 +/* 8025A088 00256FE8 D0 1F 0A B8 */ stfs f0, 0xab8(r31) +/* 8025A08C 00256FEC 38 00 00 00 */ li r0, 0 +/* 8025A090 00256FF0 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 8025A094 00256FF4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025A098 00256FF8 D0 3F 0A BC */ stfs f1, 0xabc(r31) +/* 8025A09C 00256FFC C0 42 B9 D0 */ lfs f2, lbl_805AD6F0@sda21(r2) +/* 8025A0A0 00257000 D0 1F 0A C0 */ stfs f0, 0xac0(r31) +/* 8025A0A4 00257004 C0 02 B9 D4 */ lfs f0, lbl_805AD6F4@sda21(r2) +/* 8025A0A8 00257008 C4 66 67 54 */ lfsu f3, lbl_805A6754@l(r6) +/* 8025A0AC 0025700C C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025A0B0 00257010 D0 7F 0A C4 */ stfs f3, 0xac4(r31) +/* 8025A0B4 00257014 C0 66 00 04 */ lfs f3, 4(r6) +/* 8025A0B8 00257018 D0 7F 0A C8 */ stfs f3, 0xac8(r31) +/* 8025A0BC 0025701C C0 66 00 08 */ lfs f3, 8(r6) +/* 8025A0C0 00257020 D0 7F 0A CC */ stfs f3, 0xacc(r31) +/* 8025A0C4 00257024 C0 66 00 0C */ lfs f3, 0xc(r6) +/* 8025A0C8 00257028 D0 7F 0A D0 */ stfs f3, 0xad0(r31) +/* 8025A0CC 0025702C C0 66 00 10 */ lfs f3, 0x10(r6) +/* 8025A0D0 00257030 D0 7F 0A D4 */ stfs f3, 0xad4(r31) +/* 8025A0D4 00257034 C0 66 00 14 */ lfs f3, 0x14(r6) +/* 8025A0D8 00257038 D0 7F 0A D8 */ stfs f3, 0xad8(r31) +/* 8025A0DC 0025703C 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 8025A0E0 00257040 C0 66 00 08 */ lfs f3, 8(r6) +/* 8025A0E4 00257044 C0 A6 00 00 */ lfs f5, 0(r6) +/* 8025A0E8 00257048 C0 86 00 04 */ lfs f4, 4(r6) +/* 8025A0EC 0025704C EC 42 00 F2 */ fmuls f2, f2, f3 +/* 8025A0F0 00257050 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 8025A0F4 00257054 D0 5F 0A DC */ stfs f2, 0xadc(r31) +/* 8025A0F8 00257058 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 8025A0FC 0025705C D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 8025A100 00257060 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A104 00257064 D0 A1 00 BC */ stfs f5, 0xbc(r1) +/* 8025A108 00257068 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 8025A10C 0025706C D0 5F 0A E0 */ stfs f2, 0xae0(r31) +/* 8025A110 00257070 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 8025A114 00257074 C0 46 00 08 */ lfs f2, 8(r6) +/* 8025A118 00257078 C0 86 00 00 */ lfs f4, 0(r6) +/* 8025A11C 0025707C C0 66 00 04 */ lfs f3, 4(r6) +/* 8025A120 00257080 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8025A124 00257084 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8025A128 00257088 D0 1F 0A E8 */ stfs f0, 0xae8(r31) +/* 8025A12C 0025708C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8025A130 00257090 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 8025A134 00257094 D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 8025A138 00257098 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8025A13C 0025709C D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 8025A140 002570A0 D0 1F 0A F0 */ stfs f0, 0xaf0(r31) +/* 8025A144 002570A4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8025A148 002570A8 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +/* 8025A14C 002570AC C0 1E 00 00 */ lfs f0, 0(r30) +/* 8025A150 002570B0 D0 1F 0A F8 */ stfs f0, 0xaf8(r31) +/* 8025A154 002570B4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8025A158 002570B8 D0 1F 0A FC */ stfs f0, 0xafc(r31) +/* 8025A15C 002570BC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8025A160 002570C0 D0 1F 0B 00 */ stfs f0, 0xb00(r31) +/* 8025A164 002570C4 90 9F 0B 04 */ stw r4, 0xb04(r31) +/* 8025A168 002570C8 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 8025A16C 002570CC D0 3F 0B 10 */ stfs f1, 0xb10(r31) +/* 8025A170 002570D0 C0 1F 05 A0 */ lfs f0, 0x5a0(r31) +/* 8025A174 002570D4 D0 1F 0B 14 */ stfs f0, 0xb14(r31) +/* 8025A178 002570D8 C0 1F 05 A4 */ lfs f0, 0x5a4(r31) +/* 8025A17C 002570DC D0 1F 0B 18 */ stfs f0, 0xb18(r31) +/* 8025A180 002570E0 C0 1F 05 A8 */ lfs f0, 0x5a8(r31) +/* 8025A184 002570E4 D0 1F 0B 1C */ stfs f0, 0xb1c(r31) +/* 8025A188 002570E8 D0 3F 0B 20 */ stfs f1, 0xb20(r31) +/* 8025A18C 002570EC D0 3F 0B 24 */ stfs f1, 0xb24(r31) +/* 8025A190 002570F0 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A194 002570F4 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A198 002570F8 4B DD 46 A1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A19C 002570FC 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 8025A1A0 00257100 3C 60 80 57 */ lis r3, lbl_80572524@ha +/* 8025A1A4 00257104 38 A3 25 24 */ addi r5, r3, lbl_80572524@l +/* 8025A1A8 00257108 C0 22 B9 D8 */ lfs f1, lbl_805AD6F8@sda21(r2) +/* 8025A1AC 0025710C 98 1F 0B 28 */ stb r0, 0xb28(r31) +/* 8025A1B0 00257110 38 7F 0B 2C */ addi r3, r31, 0xb2c +/* 8025A1B4 00257114 C0 42 B9 DC */ lfs f2, lbl_805AD6FC@sda21(r2) +/* 8025A1B8 00257118 38 C0 00 0A */ li r6, 0xa +/* 8025A1BC 0025711C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A1C0 00257120 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A1C4 00257124 4B F1 B7 F5 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" +/* 8025A1C8 00257128 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025A1CC 0025712C 38 7F 0B 68 */ addi r3, r31, 0xb68 +/* 8025A1D0 00257130 38 BF 05 B0 */ addi r5, r31, 0x5b0 +/* 8025A1D4 00257134 B0 1F 0B 64 */ sth r0, 0xb64(r31) +/* 8025A1D8 00257138 80 9F 05 AC */ lwz r4, 0x5ac(r31) +/* 8025A1DC 0025713C 4B FC 1E CD */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8025A1E0 00257140 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A1E4 00257144 3C 60 80 57 */ lis r3, lbl_80572524@ha +/* 8025A1E8 00257148 38 A3 25 24 */ addi r5, r3, lbl_80572524@l +/* 8025A1EC 0025714C 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A1F0 00257150 38 61 00 28 */ addi r3, r1, 0x28 +/* 8025A1F4 00257154 4B DD 46 45 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A1F8 00257158 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8025A1FC 0025715C 3C 60 80 57 */ lis r3, lbl_80572514@ha +/* 8025A200 00257160 38 A3 25 14 */ addi r5, r3, lbl_80572514@l +/* 8025A204 00257164 98 1F 0B 90 */ stb r0, 0xb90(r31) +/* 8025A208 00257168 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025A20C 0025716C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A210 00257170 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A214 00257174 4B DD 46 25 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A218 00257178 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8025A21C 0025717C 38 61 01 44 */ addi r3, r1, 0x144 +/* 8025A220 00257180 C0 02 B9 E0 */ lfs f0, lbl_805AD700@sda21(r2) +/* 8025A224 00257184 38 81 00 38 */ addi r4, r1, 0x38 +/* 8025A228 00257188 98 1F 0B 91 */ stb r0, 0xb91(r31) +/* 8025A22C 0025718C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8025A230 00257190 48 0B 97 11 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8025A234 00257194 38 7F 0B 94 */ addi r3, r31, 0xb94 +/* 8025A238 00257198 38 81 01 44 */ addi r4, r1, 0x144 +/* 8025A23C 0025719C 48 0B 89 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025A240 002571A0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025A244 002571A4 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8025A248 002571A8 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 8025A24C 002571AC C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025A250 002571B0 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A254 002571B4 38 83 67 24 */ addi r4, r3, lbl_805A6724@l +/* 8025A258 002571B8 C0 02 B9 54 */ lfs f0, lbl_805AD674@sda21(r2) +/* 8025A25C 002571BC 38 7F 0C 14 */ addi r3, r31, 0xc14 +/* 8025A260 002571C0 D0 5F 0B C4 */ stfs f2, 0xbc4(r31) +/* 8025A264 002571C4 38 BF 06 18 */ addi r5, r31, 0x618 +/* 8025A268 002571C8 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025A26C 002571CC D0 5F 0B C8 */ stfs f2, 0xbc8(r31) +/* 8025A270 002571D0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A274 002571D4 D0 5F 0B CC */ stfs f2, 0xbcc(r31) +/* 8025A278 002571D8 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A27C 002571DC D0 5F 0B D0 */ stfs f2, 0xbd0(r31) +/* 8025A280 002571E0 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025A284 002571E4 D0 5F 0B D4 */ stfs f2, 0xbd4(r31) +/* 8025A288 002571E8 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A28C 002571EC D0 5F 0B D8 */ stfs f2, 0xbd8(r31) +/* 8025A290 002571F0 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A294 002571F4 D0 5F 0B E4 */ stfs f2, 0xbe4(r31) +/* 8025A298 002571F8 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025A29C 002571FC D0 5F 0B E8 */ stfs f2, 0xbe8(r31) +/* 8025A2A0 00257200 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A2A4 00257204 D0 5F 0B EC */ stfs f2, 0xbec(r31) +/* 8025A2A8 00257208 C0 44 00 00 */ lfs f2, 0(r4) +/* 8025A2AC 0025720C D0 5F 0B F0 */ stfs f2, 0xbf0(r31) +/* 8025A2B0 00257210 C0 44 00 04 */ lfs f2, 4(r4) +/* 8025A2B4 00257214 D0 5F 0B F4 */ stfs f2, 0xbf4(r31) +/* 8025A2B8 00257218 C0 44 00 08 */ lfs f2, 8(r4) +/* 8025A2BC 0025721C D0 5F 0B F8 */ stfs f2, 0xbf8(r31) +/* 8025A2C0 00257220 C0 44 00 00 */ lfs f2, 0(r4) +/* 8025A2C4 00257224 D0 5F 0B FC */ stfs f2, 0xbfc(r31) +/* 8025A2C8 00257228 C0 44 00 04 */ lfs f2, 4(r4) +/* 8025A2CC 0025722C D0 5F 0C 00 */ stfs f2, 0xc00(r31) +/* 8025A2D0 00257230 C0 44 00 08 */ lfs f2, 8(r4) +/* 8025A2D4 00257234 D0 5F 0C 04 */ stfs f2, 0xc04(r31) +/* 8025A2D8 00257238 D0 3F 0C 08 */ stfs f1, 0xc08(r31) +/* 8025A2DC 0025723C D0 3F 0C 0C */ stfs f1, 0xc0c(r31) +/* 8025A2E0 00257240 D0 1F 0C 10 */ stfs f0, 0xc10(r31) +/* 8025A2E4 00257244 80 9F 06 14 */ lwz r4, 0x614(r31) +/* 8025A2E8 00257248 4B FC 1D C1 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8025A2EC 0025724C 80 9F 07 08 */ lwz r4, 0x708(r31) +/* 8025A2F0 00257250 38 7F 0C 3C */ addi r3, r31, 0xc3c +/* 8025A2F4 00257254 38 BF 07 0C */ addi r5, r31, 0x70c +/* 8025A2F8 00257258 4B FC 1D B1 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8025A2FC 0025725C 38 00 00 02 */ li r0, 2 +/* 8025A300 00257260 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025A304 00257264 90 1F 0C 64 */ stw r0, 0xc64(r31) +/* 8025A308 00257268 38 A0 00 00 */ li r5, 0 +/* 8025A30C 0025726C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025A310 00257270 38 00 00 04 */ li r0, 4 +/* 8025A314 00257274 C0 23 66 A0 */ lfs f1, skZero3f@l(r3) +/* 8025A318 00257278 7F E4 FB 78 */ mr r4, r31 +/* 8025A31C 0025727C 38 61 01 28 */ addi r3, r1, 0x128 +/* 8025A320 00257280 D0 3F 0C 68 */ stfs f1, 0xc68(r31) +/* 8025A324 00257284 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8025A328 00257288 D0 3F 0C 6C */ stfs f1, 0xc6c(r31) +/* 8025A32C 0025728C C0 3E 00 08 */ lfs f1, 8(r30) +/* 8025A330 00257290 D0 3F 0C 70 */ stfs f1, 0xc70(r31) +/* 8025A334 00257294 90 BF 0C 74 */ stw r5, 0xc74(r31) +/* 8025A338 00257298 D0 1F 0C 78 */ stfs f0, 0xc78(r31) +/* 8025A33C 0025729C D0 1F 0C 7C */ stfs f0, 0xc7c(r31) +/* 8025A340 002572A0 D0 1F 0C 80 */ stfs f0, 0xc80(r31) +/* 8025A344 002572A4 90 1F 0C 88 */ stw r0, 0xc88(r31) +/* 8025A348 002572A8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8025A34C 002572AC 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8025A350 002572B0 7D 89 03 A6 */ mtctr r12 +/* 8025A354 002572B4 4E 80 04 21 */ bctrl +/* 8025A358 002572B8 80 01 01 28 */ lwz r0, 0x128(r1) +/* 8025A35C 002572BC 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8025A360 002572C0 38 C0 00 00 */ li r6, 0 +/* 8025A364 002572C4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025A368 002572C8 90 1F 0C 8C */ stw r0, 0xc8c(r31) +/* 8025A36C 002572CC 38 80 00 01 */ li r4, 1 +/* 8025A370 002572D0 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 8025A374 002572D4 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025A378 002572D8 88 E1 01 2C */ lbz r7, 0x12c(r1) +/* 8025A37C 002572DC 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8025A380 002572E0 98 FF 0C 90 */ stb r7, 0xc90(r31) +/* 8025A384 002572E4 C0 21 01 30 */ lfs f1, 0x130(r1) +/* 8025A388 002572E8 D0 3F 0C 94 */ stfs f1, 0xc94(r31) +/* 8025A38C 002572EC C0 21 01 34 */ lfs f1, 0x134(r1) +/* 8025A390 002572F0 D0 3F 0C 98 */ stfs f1, 0xc98(r31) +/* 8025A394 002572F4 C0 21 01 38 */ lfs f1, 0x138(r1) +/* 8025A398 002572F8 D0 3F 0C 9C */ stfs f1, 0xc9c(r31) +/* 8025A39C 002572FC C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 8025A3A0 00257300 D0 3F 0C A0 */ stfs f1, 0xca0(r31) +/* 8025A3A4 00257304 88 E1 01 40 */ lbz r7, 0x140(r1) +/* 8025A3A8 00257308 98 FF 0C A4 */ stb r7, 0xca4(r31) +/* 8025A3AC 0025730C 90 DF 0C A8 */ stw r6, 0xca8(r31) +/* 8025A3B0 00257310 90 DF 0C AC */ stw r6, 0xcac(r31) +/* 8025A3B4 00257314 90 DF 0C B0 */ stw r6, 0xcb0(r31) +/* 8025A3B8 00257318 90 DF 0C B4 */ stw r6, 0xcb4(r31) +/* 8025A3BC 0025731C D0 1F 0C B8 */ stfs f0, 0xcb8(r31) +/* 8025A3C0 00257320 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 8025A3C4 00257324 90 9F 0C C0 */ stw r4, 0xcc0(r31) +/* 8025A3C8 00257328 90 9F 0C C4 */ stw r4, 0xcc4(r31) +/* 8025A3CC 0025732C D0 1F 0C C8 */ stfs f0, 0xcc8(r31) +/* 8025A3D0 00257330 80 DF 09 58 */ lwz r6, 0x958(r31) +/* 8025A3D4 00257334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8025A3D8 00257338 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8025A3DC 0025733C 90 C1 00 90 */ stw r6, 0x90(r1) +/* 8025A3E0 00257340 81 84 00 00 */ lwz r12, 0(r4) +/* 8025A3E4 00257344 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8025A3E8 00257348 7D 89 03 A6 */ mtctr r12 +/* 8025A3EC 0025734C 4E 80 04 21 */ bctrl +/* 8025A3F0 00257350 3B 9F 0C D0 */ addi r28, r31, 0xcd0 +/* 8025A3F4 00257354 38 81 00 84 */ addi r4, r1, 0x84 +/* 8025A3F8 00257358 7F 83 E3 78 */ mr r3, r28 +/* 8025A3FC 0025735C 48 0E 6A AD */ bl __ct__6CTokenFRC6CToken +/* 8025A400 00257360 7F 83 E3 78 */ mr r3, r28 +/* 8025A404 00257364 48 0E 6A 09 */ bl GetObj__6CTokenFv +/* 8025A408 00257368 80 03 00 04 */ lwz r0, 4(r3) +/* 8025A40C 0025736C 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025A410 00257370 38 80 FF FF */ li r4, -1 +/* 8025A414 00257374 90 1C 00 08 */ stw r0, 8(r28) +/* 8025A418 00257378 48 0E 6A 29 */ bl __dt__6CTokenFv +/* 8025A41C 0025737C 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 8025A420 00257380 3B 80 00 00 */ li r28, 0 +/* 8025A424 00257384 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 8025A428 00257388 38 60 04 58 */ li r3, 0x458 +/* 8025A42C 0025738C 38 84 00 85 */ addi r4, r4, 0x85 +/* 8025A430 00257390 38 A0 00 00 */ li r5, 0 +/* 8025A434 00257394 48 0B B4 39 */ bl __nw__FUlPCcPCc +/* 8025A438 00257398 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8025A43C 0025739C 41 82 00 24 */ beq lbl_8025A460 +/* 8025A440 002573A0 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025A444 002573A4 38 9F 0C D0 */ addi r4, r31, 0xcd0 +/* 8025A448 002573A8 48 0E 6A 61 */ bl __ct__6CTokenFRC6CToken +/* 8025A44C 002573AC 7F C3 F3 78 */ mr r3, r30 +/* 8025A450 002573B0 38 81 00 7C */ addi r4, r1, 0x7c +/* 8025A454 002573B4 3B 80 00 01 */ li r28, 1 +/* 8025A458 002573B8 48 10 7D 19 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8025A45C 002573BC 7C 7E 1B 78 */ mr r30, r3 +lbl_8025A460: +/* 8025A460 002573C0 7C 7E 00 D0 */ neg r3, r30 +/* 8025A464 002573C4 7F 80 07 75 */ extsb. r0, r28 +/* 8025A468 002573C8 7C 60 F3 78 */ or r0, r3, r30 +/* 8025A46C 002573CC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8025A470 002573D0 98 1F 0C DC */ stb r0, 0xcdc(r31) +/* 8025A474 002573D4 93 DF 0C E0 */ stw r30, 0xce0(r31) +/* 8025A478 002573D8 41 82 00 10 */ beq lbl_8025A488 +/* 8025A47C 002573DC 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025A480 002573E0 38 80 00 00 */ li r4, 0 +/* 8025A484 002573E4 48 0E 69 BD */ bl __dt__6CTokenFv +lbl_8025A488: +/* 8025A488 002573E8 38 00 00 00 */ li r0, 0 +/* 8025A48C 002573EC 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 8025A490 002573F0 90 1F 0C E4 */ stw r0, 0xce4(r31) +/* 8025A494 002573F4 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 8025A498 002573F8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025A49C 002573FC 38 83 00 85 */ addi r4, r3, 0x85 +/* 8025A4A0 00257400 38 60 00 9C */ li r3, 0x9c +/* 8025A4A4 00257404 38 A0 00 00 */ li r5, 0 +/* 8025A4A8 00257408 D0 1F 0D 08 */ stfs f0, 0xd08(r31) +/* 8025A4AC 0025740C 90 1F 0D 0C */ stw r0, 0xd0c(r31) +/* 8025A4B0 00257410 48 0B B3 BD */ bl __nw__FUlPCcPCc +/* 8025A4B4 00257414 7C 60 1B 79 */ or. r0, r3, r3 +/* 8025A4B8 00257418 41 82 00 18 */ beq lbl_8025A4D0 +/* 8025A4BC 0025741C 38 80 00 80 */ li r4, 0x80 +/* 8025A4C0 00257420 38 A0 00 80 */ li r5, 0x80 +/* 8025A4C4 00257424 38 C0 00 01 */ li r6, 1 +/* 8025A4C8 00257428 48 04 3F 15 */ bl __ct__16CProjectedShadowFv +/* 8025A4CC 0025742C 7C 60 1B 78 */ mr r0, r3 +lbl_8025A4D0: +/* 8025A4D0 00257430 90 1F 0D 10 */ stw r0, 0xd10(r31) +/* 8025A4D4 00257434 38 80 00 00 */ li r4, 0 +/* 8025A4D8 00257438 38 7F 0B 68 */ addi r3, r31, 0xb68 +/* 8025A4DC 0025743C 88 1F 00 E7 */ lbz r0, 0xe7(r31) +/* 8025A4E0 00257440 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8025A4E4 00257444 98 1F 00 E7 */ stb r0, 0xe7(r31) +/* 8025A4E8 00257448 48 0E 68 9D */ bl Lock__6CTokenFv +/* 8025A4EC 0025744C 38 7F 0C 14 */ addi r3, r31, 0xc14 +/* 8025A4F0 00257450 48 0E 68 95 */ bl Lock__6CTokenFv +/* 8025A4F4 00257454 38 7F 0C 3C */ addi r3, r31, 0xc3c +/* 8025A4F8 00257458 48 0E 68 8D */ bl Lock__6CTokenFv +/* 8025A4FC 0025745C 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 8025A500 00257460 28 03 00 00 */ cmplwi r3, 0 +/* 8025A504 00257464 41 82 00 18 */ beq lbl_8025A51C +/* 8025A508 00257468 81 83 00 00 */ lwz r12, 0(r3) +/* 8025A50C 0025746C 38 80 00 00 */ li r4, 0 +/* 8025A510 00257470 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8025A514 00257474 7D 89 03 A6 */ mtctr r12 +/* 8025A518 00257478 4E 80 04 21 */ bctrl +lbl_8025A51C: +/* 8025A51C 0025747C 3C 60 80 47 */ lis r3, lbl_8046D7E0@ha +/* 8025A520 00257480 3B BF 0C E4 */ addi r29, r31, 0xce4 +/* 8025A524 00257484 3B C3 D7 E0 */ addi r30, r3, lbl_8046D7E0@l +/* 8025A528 00257488 3B 80 00 00 */ li r28, 0 +lbl_8025A52C: +/* 8025A52C 0025748C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A530 00257490 7F C5 F3 78 */ mr r5, r30 +/* 8025A534 00257494 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025A538 00257498 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A53C 0025749C 4B DD 42 FD */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A540 002574A0 80 1D 00 00 */ lwz r0, 0(r29) +/* 8025A544 002574A4 7C 7D 02 14 */ add r3, r29, r0 +/* 8025A548 002574A8 34 63 00 04 */ addic. r3, r3, 4 +/* 8025A54C 002574AC 41 82 00 0C */ beq lbl_8025A558 +/* 8025A550 002574B0 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8025A554 002574B4 98 03 00 00 */ stb r0, 0(r3) +lbl_8025A558: +/* 8025A558 002574B8 80 7F 0C E4 */ lwz r3, 0xce4(r31) +/* 8025A55C 002574BC 3B 9C 00 01 */ addi r28, r28, 1 +/* 8025A560 002574C0 28 1C 00 1E */ cmplwi r28, 0x1e +/* 8025A564 002574C4 3B DE 00 10 */ addi r30, r30, 0x10 +/* 8025A568 002574C8 38 03 00 01 */ addi r0, r3, 1 +/* 8025A56C 002574CC 90 1F 0C E4 */ stw r0, 0xce4(r31) +/* 8025A570 002574D0 41 80 FF BC */ blt lbl_8025A52C +/* 8025A574 002574D4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025A578 002574D8 48 08 8B 05 */ bl NoParameter__12CPASAnimParmFv +/* 8025A57C 002574DC 38 61 00 44 */ addi r3, r1, 0x44 +/* 8025A580 002574E0 48 08 8A FD */ bl NoParameter__12CPASAnimParmFv +/* 8025A584 002574E4 38 61 00 4C */ addi r3, r1, 0x4c +/* 8025A588 002574E8 48 08 8A F5 */ bl NoParameter__12CPASAnimParmFv +/* 8025A58C 002574EC 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025A590 002574F0 48 08 8A ED */ bl NoParameter__12CPASAnimParmFv +/* 8025A594 002574F4 38 61 00 5C */ addi r3, r1, 0x5c +/* 8025A598 002574F8 48 08 8A E5 */ bl NoParameter__12CPASAnimParmFv +/* 8025A59C 002574FC 38 61 00 64 */ addi r3, r1, 0x64 +/* 8025A5A0 00257500 48 08 8A DD */ bl NoParameter__12CPASAnimParmFv +/* 8025A5A4 00257504 38 61 00 6C */ addi r3, r1, 0x6c +/* 8025A5A8 00257508 38 80 00 03 */ li r4, 3 +/* 8025A5AC 0025750C 48 08 89 D9 */ bl FromEnum__12CPASAnimParmFi +/* 8025A5B0 00257510 38 61 00 74 */ addi r3, r1, 0x74 +/* 8025A5B4 00257514 38 80 00 04 */ li r4, 4 +/* 8025A5B8 00257518 48 08 89 CD */ bl FromEnum__12CPASAnimParmFi +/* 8025A5BC 0025751C 38 61 00 44 */ addi r3, r1, 0x44 +/* 8025A5C0 00257520 38 01 00 3C */ addi r0, r1, 0x3c +/* 8025A5C4 00257524 90 61 00 08 */ stw r3, 8(r1) +/* 8025A5C8 00257528 38 61 01 74 */ addi r3, r1, 0x174 +/* 8025A5CC 0025752C 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8025A5D0 00257530 38 C1 00 6C */ addi r6, r1, 0x6c +/* 8025A5D4 00257534 90 01 00 0C */ stw r0, 0xc(r1) +/* 8025A5D8 00257538 38 E1 00 64 */ addi r7, r1, 0x64 +/* 8025A5DC 0025753C 39 01 00 5C */ addi r8, r1, 0x5c +/* 8025A5E0 00257540 39 21 00 54 */ addi r9, r1, 0x54 +/* 8025A5E4 00257544 39 41 00 4C */ addi r10, r1, 0x4c +/* 8025A5E8 00257548 38 80 00 07 */ li r4, 7 +/* 8025A5EC 0025754C 4B E2 2C D9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8025A5F0 00257550 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 8025A5F4 00257554 7F E3 FB 78 */ mr r3, r31 +/* 8025A5F8 00257558 38 81 01 74 */ addi r4, r1, 0x174 +/* 8025A5FC 0025755C C0 45 00 00 */ lfs f2, 0(r5) +/* 8025A600 00257560 C0 25 00 04 */ lfs f1, 4(r5) +/* 8025A604 00257564 C0 05 00 08 */ lfs f0, 8(r5) +/* 8025A608 00257568 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8025A60C 0025756C D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8025A610 00257570 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8025A614 00257574 4B E2 23 ED */ bl func_8007CA00 +/* 8025A618 00257578 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8025A61C 0025757C 34 A1 01 78 */ addic. r5, r1, 0x178 +/* 8025A620 00257580 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8025A624 00257584 D0 1F 0A E4 */ stfs f0, 0xae4(r31) +/* 8025A628 00257588 41 82 00 58 */ beq lbl_8025A680 +/* 8025A62C 0025758C 80 C5 00 00 */ lwz r6, 0(r5) +/* 8025A630 00257590 38 60 00 00 */ li r3, 0 +/* 8025A634 00257594 2C 06 00 00 */ cmpwi r6, 0 +/* 8025A638 00257598 40 81 00 40 */ ble lbl_8025A678 +/* 8025A63C 0025759C 2C 06 00 08 */ cmpwi r6, 8 +/* 8025A640 002575A0 38 86 FF F8 */ addi r4, r6, -8 +/* 8025A644 002575A4 40 81 00 20 */ ble lbl_8025A664 +/* 8025A648 002575A8 38 04 00 07 */ addi r0, r4, 7 +/* 8025A64C 002575AC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025A650 002575B0 7C 09 03 A6 */ mtctr r0 +/* 8025A654 002575B4 2C 04 00 00 */ cmpwi r4, 0 +/* 8025A658 002575B8 40 81 00 0C */ ble lbl_8025A664 +lbl_8025A65C: +/* 8025A65C 002575BC 38 63 00 08 */ addi r3, r3, 8 +/* 8025A660 002575C0 42 00 FF FC */ bdnz lbl_8025A65C +lbl_8025A664: +/* 8025A664 002575C4 7C 03 30 50 */ subf r0, r3, r6 +/* 8025A668 002575C8 7C 09 03 A6 */ mtctr r0 +/* 8025A66C 002575CC 7C 03 30 00 */ cmpw r3, r6 +/* 8025A670 002575D0 40 80 00 08 */ bge lbl_8025A678 +lbl_8025A674: +/* 8025A674 002575D4 42 00 00 00 */ bdnz lbl_8025A674 +lbl_8025A678: +/* 8025A678 002575D8 38 00 00 00 */ li r0, 0 +/* 8025A67C 002575DC 90 05 00 00 */ stw r0, 0(r5) +lbl_8025A680: +/* 8025A680 002575E0 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8025A684 002575E4 38 80 00 01 */ li r4, 1 +/* 8025A688 002575E8 38 A0 00 01 */ li r5, 1 +/* 8025A68C 002575EC 4B FD 97 09 */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState +/* 8025A690 002575F0 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A694 002575F4 38 A0 00 00 */ li r5, 0 +/* 8025A698 002575F8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8025A69C 002575FC 7F E3 FB 78 */ mr r3, r31 +/* 8025A6A0 00257600 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6A4 00257604 38 80 00 00 */ li r4, 0 +/* 8025A6A8 00257608 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A6AC 0025760C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8025A6B0 00257610 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6B4 00257614 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A6B8 00257618 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 8025A6BC 0025761C 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6C0 00257620 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A6C4 00257624 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 8025A6C8 00257628 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6CC 0025762C 4B DF 86 A1 */ bl CreateShadow__6CActorFb +/* 8025A6D0 00257630 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 8025A6D4 00257634 7F E3 FB 78 */ mr r3, r31 +/* 8025A6D8 00257638 83 E1 01 CC */ lwz r31, 0x1cc(r1) +/* 8025A6DC 0025763C 83 C1 01 C8 */ lwz r30, 0x1c8(r1) +/* 8025A6E0 00257640 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 8025A6E4 00257644 83 81 01 C0 */ lwz r28, 0x1c0(r1) +/* 8025A6E8 00257648 7C 08 03 A6 */ mtlr r0 +/* 8025A6EC 0025764C 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 8025A6F0 00257650 4E 80 00 20 */ blr + +.global sub_8025a6f4 +sub_8025a6f4: +/* 8025A6F4 00257654 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 8025A6F8 00257658 7C 08 02 A6 */ mflr r0 +/* 8025A6FC 0025765C 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8025A700 00257660 93 E1 02 AC */ stw r31, 0x2ac(r1) +/* 8025A704 00257664 7C BF 2B 78 */ mr r31, r5 +/* 8025A708 00257668 93 C1 02 A8 */ stw r30, 0x2a8(r1) +/* 8025A70C 0025766C 7C 9E 23 78 */ mr r30, r4 +/* 8025A710 00257670 93 A1 02 A4 */ stw r29, 0x2a4(r1) +/* 8025A714 00257674 7C 7D 1B 78 */ mr r29, r3 +/* 8025A718 00257678 7F C3 F3 78 */ mr r3, r30 +/* 8025A71C 0025767C 48 0E 45 69 */ bl ReadLong__12CInputStreamFv +/* 8025A720 00257680 90 7D 00 00 */ stw r3, 0(r29) +/* 8025A724 00257684 7F C3 F3 78 */ mr r3, r30 +/* 8025A728 00257688 48 0E 45 5D */ bl ReadLong__12CInputStreamFv +/* 8025A72C 0025768C 90 7D 00 04 */ stw r3, 4(r29) +/* 8025A730 00257690 7F C3 F3 78 */ mr r3, r30 +/* 8025A734 00257694 48 0E 45 51 */ bl ReadLong__12CInputStreamFv +/* 8025A738 00257698 90 7D 00 08 */ stw r3, 8(r29) +/* 8025A73C 0025769C 7F C3 F3 78 */ mr r3, r30 +/* 8025A740 002576A0 48 0E 45 45 */ bl ReadLong__12CInputStreamFv +/* 8025A744 002576A4 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8025A748 002576A8 7F C3 F3 78 */ mr r3, r30 +/* 8025A74C 002576AC 48 0E 45 39 */ bl ReadLong__12CInputStreamFv +/* 8025A750 002576B0 90 7D 00 10 */ stw r3, 0x10(r29) +/* 8025A754 002576B4 7F C3 F3 78 */ mr r3, r30 +/* 8025A758 002576B8 48 0E 45 2D */ bl ReadLong__12CInputStreamFv +/* 8025A75C 002576BC 90 7D 00 14 */ stw r3, 0x14(r29) +/* 8025A760 002576C0 7F C3 F3 78 */ mr r3, r30 +/* 8025A764 002576C4 48 0E 45 21 */ bl ReadLong__12CInputStreamFv +/* 8025A768 002576C8 90 7D 00 18 */ stw r3, 0x18(r29) +/* 8025A76C 002576CC 7F C3 F3 78 */ mr r3, r30 +/* 8025A770 002576D0 48 0E 45 15 */ bl ReadLong__12CInputStreamFv +/* 8025A774 002576D4 90 7D 00 1C */ stw r3, 0x1c(r29) +/* 8025A778 002576D8 7F C3 F3 78 */ mr r3, r30 +/* 8025A77C 002576DC 48 0E 45 09 */ bl ReadLong__12CInputStreamFv +/* 8025A780 002576E0 90 7D 00 20 */ stw r3, 0x20(r29) +/* 8025A784 002576E4 7F C3 F3 78 */ mr r3, r30 +/* 8025A788 002576E8 48 0E 44 FD */ bl ReadLong__12CInputStreamFv +/* 8025A78C 002576EC 90 7D 00 24 */ stw r3, 0x24(r29) +/* 8025A790 002576F0 7F C3 F3 78 */ mr r3, r30 +/* 8025A794 002576F4 48 0E 44 F1 */ bl ReadLong__12CInputStreamFv +/* 8025A798 002576F8 90 7D 00 28 */ stw r3, 0x28(r29) +/* 8025A79C 002576FC 7F C3 F3 78 */ mr r3, r30 +/* 8025A7A0 00257700 48 0E 44 E5 */ bl ReadLong__12CInputStreamFv +/* 8025A7A4 00257704 90 7D 00 2C */ stw r3, 0x2c(r29) +/* 8025A7A8 00257708 7F C3 F3 78 */ mr r3, r30 +/* 8025A7AC 0025770C 48 0E 44 D9 */ bl ReadLong__12CInputStreamFv +/* 8025A7B0 00257710 90 7D 00 30 */ stw r3, 0x30(r29) +/* 8025A7B4 00257714 7F C3 F3 78 */ mr r3, r30 +/* 8025A7B8 00257718 48 0E 44 71 */ bl ReadFloat__12CInputStreamFv +/* 8025A7BC 0025771C D0 3D 00 34 */ stfs f1, 0x34(r29) +/* 8025A7C0 00257720 7F C3 F3 78 */ mr r3, r30 +/* 8025A7C4 00257724 48 0E 44 65 */ bl ReadFloat__12CInputStreamFv +/* 8025A7C8 00257728 D0 3D 00 38 */ stfs f1, 0x38(r29) +/* 8025A7CC 0025772C 7F C3 F3 78 */ mr r3, r30 +/* 8025A7D0 00257730 48 0E 44 59 */ bl ReadFloat__12CInputStreamFv +/* 8025A7D4 00257734 D0 3D 00 3C */ stfs f1, 0x3c(r29) +/* 8025A7D8 00257738 7F C3 F3 78 */ mr r3, r30 +/* 8025A7DC 0025773C 48 0E 44 4D */ bl ReadFloat__12CInputStreamFv +/* 8025A7E0 00257740 D0 3D 00 40 */ stfs f1, 0x40(r29) +/* 8025A7E4 00257744 7F C3 F3 78 */ mr r3, r30 +/* 8025A7E8 00257748 48 0E 44 9D */ bl ReadLong__12CInputStreamFv +/* 8025A7EC 0025774C 90 7D 00 44 */ stw r3, 0x44(r29) +/* 8025A7F0 00257750 7F C4 F3 78 */ mr r4, r30 +/* 8025A7F4 00257754 38 7D 00 48 */ addi r3, r29, 0x48 +/* 8025A7F8 00257758 4B E6 8D 69 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A7FC 0025775C 7F C4 F3 78 */ mr r4, r30 +/* 8025A800 00257760 38 7D 00 64 */ addi r3, r29, 0x64 +/* 8025A804 00257764 4B E6 BD 4D */ bl __ct__9CBeamInfoFR12CInputStream +/* 8025A808 00257768 7F C3 F3 78 */ mr r3, r30 +/* 8025A80C 0025776C 48 0E 44 79 */ bl ReadLong__12CInputStreamFv +/* 8025A810 00257770 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8025A814 00257774 48 08 E1 9D */ bl TranslateSFXID__11CSfxManagerFUs +/* 8025A818 00257778 B0 7D 00 A8 */ sth r3, 0xa8(r29) +/* 8025A81C 0025777C 7F C3 F3 78 */ mr r3, r30 +/* 8025A820 00257780 48 0E 44 65 */ bl ReadLong__12CInputStreamFv +/* 8025A824 00257784 90 7D 00 AC */ stw r3, 0xac(r29) +/* 8025A828 00257788 7F C4 F3 78 */ mr r4, r30 +/* 8025A82C 0025778C 38 7D 00 B0 */ addi r3, r29, 0xb0 +/* 8025A830 00257790 4B E6 8D 31 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A834 00257794 7F C4 F3 78 */ mr r4, r30 +/* 8025A838 00257798 38 61 01 CC */ addi r3, r1, 0x1cc +/* 8025A83C 0025779C 4B F0 21 F5 */ bl __ct__16CCameraShakeDataFR12CInputStream +/* 8025A840 002577A0 38 7D 00 CC */ addi r3, r29, 0xcc +/* 8025A844 002577A4 38 81 01 CC */ addi r4, r1, 0x1cc +/* 8025A848 002577A8 4B DB 05 61 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8025A84C 002577AC 34 81 02 4C */ addic. r4, r1, 0x24c +/* 8025A850 002577B0 41 82 00 10 */ beq lbl_8025A860 +/* 8025A854 002577B4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A858 002577B8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A85C 002577BC 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A860: +/* 8025A860 002577C0 34 81 02 10 */ addic. r4, r1, 0x210 +/* 8025A864 002577C4 41 82 00 10 */ beq lbl_8025A874 +/* 8025A868 002577C8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A86C 002577CC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A870 002577D0 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A874: +/* 8025A874 002577D4 34 81 01 D4 */ addic. r4, r1, 0x1d4 +/* 8025A878 002577D8 41 82 00 10 */ beq lbl_8025A888 +/* 8025A87C 002577DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A880 002577E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A884 002577E4 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A888: +/* 8025A888 002577E8 7F C3 F3 78 */ mr r3, r30 +/* 8025A88C 002577EC 48 0E 43 F9 */ bl ReadLong__12CInputStreamFv +/* 8025A890 002577F0 90 7D 01 A0 */ stw r3, 0x1a0(r29) +/* 8025A894 002577F4 7F C4 F3 78 */ mr r4, r30 +/* 8025A898 002577F8 38 7D 01 A4 */ addi r3, r29, 0x1a4 +/* 8025A89C 002577FC 4B E6 8C C5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A8A0 00257800 7F C4 F3 78 */ mr r4, r30 +/* 8025A8A4 00257804 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8025A8A8 00257808 4B F0 21 89 */ bl __ct__16CCameraShakeDataFR12CInputStream +/* 8025A8AC 0025780C 38 7D 01 C0 */ addi r3, r29, 0x1c0 +/* 8025A8B0 00257810 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8025A8B4 00257814 4B DB 04 F5 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8025A8B8 00257818 34 81 01 78 */ addic. r4, r1, 0x178 +/* 8025A8BC 0025781C 41 82 00 10 */ beq lbl_8025A8CC +/* 8025A8C0 00257820 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A8C4 00257824 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A8C8 00257828 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A8CC: +/* 8025A8CC 0025782C 34 81 01 3C */ addic. r4, r1, 0x13c +/* 8025A8D0 00257830 41 82 00 10 */ beq lbl_8025A8E0 +/* 8025A8D4 00257834 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A8D8 00257838 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A8DC 0025783C 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A8E0: +/* 8025A8E0 00257840 34 81 01 00 */ addic. r4, r1, 0x100 +/* 8025A8E4 00257844 41 82 00 10 */ beq lbl_8025A8F4 +/* 8025A8E8 00257848 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A8EC 0025784C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A8F0 00257850 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A8F4: +/* 8025A8F4 00257854 7F C3 F3 78 */ mr r3, r30 +/* 8025A8F8 00257858 48 0E 43 8D */ bl ReadLong__12CInputStreamFv +/* 8025A8FC 0025785C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8025A900 00257860 48 08 E0 B1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8025A904 00257864 B0 7D 02 94 */ sth r3, 0x294(r29) +/* 8025A908 00257868 7F C4 F3 78 */ mr r4, r30 +/* 8025A90C 0025786C 38 7D 02 98 */ addi r3, r29, 0x298 +/* 8025A910 00257870 4B E6 8C 51 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A914 00257874 7F C4 F3 78 */ mr r4, r30 +/* 8025A918 00257878 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025A91C 0025787C 4B F0 21 15 */ bl __ct__16CCameraShakeDataFR12CInputStream +/* 8025A920 00257880 38 7D 02 B4 */ addi r3, r29, 0x2b4 +/* 8025A924 00257884 38 81 00 24 */ addi r4, r1, 0x24 +/* 8025A928 00257888 4B DB 04 81 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8025A92C 0025788C 34 81 00 A4 */ addic. r4, r1, 0xa4 +/* 8025A930 00257890 41 82 00 10 */ beq lbl_8025A940 +/* 8025A934 00257894 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A938 00257898 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A93C 0025789C 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A940: +/* 8025A940 002578A0 34 81 00 68 */ addic. r4, r1, 0x68 +/* 8025A944 002578A4 41 82 00 10 */ beq lbl_8025A954 +/* 8025A948 002578A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A94C 002578AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A950 002578B0 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A954: +/* 8025A954 002578B4 34 81 00 2C */ addic. r4, r1, 0x2c +/* 8025A958 002578B8 41 82 00 10 */ beq lbl_8025A968 +/* 8025A95C 002578BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A960 002578C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A964 002578C4 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A968: +/* 8025A968 002578C8 7F C3 F3 78 */ mr r3, r30 +/* 8025A96C 002578CC 48 0E 42 BD */ bl ReadFloat__12CInputStreamFv +/* 8025A970 002578D0 D0 3D 03 88 */ stfs f1, 0x388(r29) +/* 8025A974 002578D4 7F C3 F3 78 */ mr r3, r30 +/* 8025A978 002578D8 48 0E 42 B1 */ bl ReadFloat__12CInputStreamFv +/* 8025A97C 002578DC D0 3D 03 8C */ stfs f1, 0x38c(r29) +/* 8025A980 002578E0 7F C4 F3 78 */ mr r4, r30 +/* 8025A984 002578E4 38 7D 03 90 */ addi r3, r29, 0x390 +/* 8025A988 002578E8 4B E6 8B D9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A98C 002578EC 7F C3 F3 78 */ mr r3, r30 +/* 8025A990 002578F0 48 0E 42 99 */ bl ReadFloat__12CInputStreamFv +/* 8025A994 002578F4 D0 3D 03 AC */ stfs f1, 0x3ac(r29) +/* 8025A998 002578F8 7F C4 F3 78 */ mr r4, r30 +/* 8025A99C 002578FC 38 7D 03 B0 */ addi r3, r29, 0x3b0 +/* 8025A9A0 00257900 4B E6 8B C1 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A9A4 00257904 7F C3 F3 78 */ mr r3, r30 +/* 8025A9A8 00257908 48 0E 42 81 */ bl ReadFloat__12CInputStreamFv +/* 8025A9AC 0025790C D0 3D 03 CC */ stfs f1, 0x3cc(r29) +/* 8025A9B0 00257910 7F C4 F3 78 */ mr r4, r30 +/* 8025A9B4 00257914 38 7D 03 D0 */ addi r3, r29, 0x3d0 +/* 8025A9B8 00257918 4B E6 8B A9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A9BC 0025791C 7F C3 F3 78 */ mr r3, r30 +/* 8025A9C0 00257920 48 0E 42 69 */ bl ReadFloat__12CInputStreamFv +/* 8025A9C4 00257924 D0 3D 03 EC */ stfs f1, 0x3ec(r29) +/* 8025A9C8 00257928 7F C3 F3 78 */ mr r3, r30 +/* 8025A9CC 0025792C 48 0E 42 B9 */ bl ReadLong__12CInputStreamFv +/* 8025A9D0 00257930 90 7D 03 F0 */ stw r3, 0x3f0(r29) +/* 8025A9D4 00257934 7F C3 F3 78 */ mr r3, r30 +/* 8025A9D8 00257938 48 0E 42 51 */ bl ReadFloat__12CInputStreamFv +/* 8025A9DC 0025793C D0 3D 03 F4 */ stfs f1, 0x3f4(r29) +/* 8025A9E0 00257940 7F C3 F3 78 */ mr r3, r30 +/* 8025A9E4 00257944 48 0E 42 A1 */ bl ReadLong__12CInputStreamFv +/* 8025A9E8 00257948 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8025A9EC 0025794C 48 08 DF C5 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8025A9F0 00257950 2C 1F 00 2F */ cmpwi r31, 0x2f +/* 8025A9F4 00257954 B0 7D 03 F8 */ sth r3, 0x3f8(r29) +/* 8025A9F8 00257958 40 81 00 18 */ ble lbl_8025AA10 +/* 8025A9FC 0025795C 7F C4 F3 78 */ mr r4, r30 +/* 8025AA00 00257960 38 61 00 08 */ addi r3, r1, 8 +/* 8025AA04 00257964 4B E6 8B 5D */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025AA08 00257968 7C 64 1B 78 */ mr r4, r3 +/* 8025AA0C 0025796C 48 00 00 08 */ b lbl_8025AA14 +lbl_8025AA10: +/* 8025AA10 00257970 38 9D 00 48 */ addi r4, r29, 0x48 +lbl_8025AA14: +/* 8025AA14 00257974 80 04 00 00 */ lwz r0, 0(r4) +/* 8025AA18 00257978 7F A3 EB 78 */ mr r3, r29 +/* 8025AA1C 0025797C 90 1D 03 FC */ stw r0, 0x3fc(r29) +/* 8025AA20 00257980 88 04 00 04 */ lbz r0, 4(r4) +/* 8025AA24 00257984 98 1D 04 00 */ stb r0, 0x400(r29) +/* 8025AA28 00257988 C0 04 00 08 */ lfs f0, 8(r4) +/* 8025AA2C 0025798C D0 1D 04 04 */ stfs f0, 0x404(r29) +/* 8025AA30 00257990 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8025AA34 00257994 D0 1D 04 08 */ stfs f0, 0x408(r29) +/* 8025AA38 00257998 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8025AA3C 0025799C D0 1D 04 0C */ stfs f0, 0x40c(r29) +/* 8025AA40 002579A0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8025AA44 002579A4 D0 1D 04 10 */ stfs f0, 0x410(r29) +/* 8025AA48 002579A8 88 04 00 18 */ lbz r0, 0x18(r4) +/* 8025AA4C 002579AC 98 1D 04 14 */ stb r0, 0x414(r29) +/* 8025AA50 002579B0 83 E1 02 AC */ lwz r31, 0x2ac(r1) +/* 8025AA54 002579B4 83 C1 02 A8 */ lwz r30, 0x2a8(r1) +/* 8025AA58 002579B8 83 A1 02 A4 */ lwz r29, 0x2a4(r1) +/* 8025AA5C 002579BC 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 8025AA60 002579C0 7C 08 03 A6 */ mtlr r0 +/* 8025AA64 002579C4 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 8025AA68 002579C8 4E 80 00 20 */ blr + +.global __sinit_CRidley_cpp +__sinit_CRidley_cpp: +/* 8025AA6C 002579CC 94 21 F9 00 */ stwu r1, -0x700(r1) +/* 8025AA70 002579D0 7C 08 02 A6 */ mflr r0 +/* 8025AA74 002579D4 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 8025AA78 002579D8 3C A0 80 47 */ lis r5, lbl_8046D3A8@ha +/* 8025AA7C 002579DC 90 01 07 04 */ stw r0, 0x704(r1) +/* 8025AA80 002579E0 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 8025AA84 002579E4 38 61 05 B8 */ addi r3, r1, 0x5b8 +/* 8025AA88 002579E8 BD C1 06 B8 */ stmw r14, 0x6b8(r1) +/* 8025AA8C 002579EC 39 C5 D3 A8 */ addi r14, r5, lbl_8046D3A8@l +/* 8025AA90 002579F0 38 84 00 39 */ addi r4, r4, 0x39 +/* 8025AA94 002579F4 4B DA A2 25 */ bl string_l__4rstlFPCc +/* 8025AA98 002579F8 3C 60 80 57 */ lis r3, lbl_80572404@ha +/* 8025AA9C 002579FC 38 81 05 B8 */ addi r4, r1, 0x5b8 +/* 8025AAA0 00257A00 38 63 24 04 */ addi r3, r3, lbl_80572404@l +/* 8025AAA4 00257A04 48 0E 36 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AAA8 00257A08 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AAAC 00257A0C 38 AE 00 00 */ addi r5, r14, 0 +/* 8025AAB0 00257A10 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AAB4 00257A14 48 12 EB D9 */ bl __register_global_object +/* 8025AAB8 00257A18 38 61 05 B8 */ addi r3, r1, 0x5b8 +/* 8025AABC 00257A1C 48 0E 30 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AAC0 00257A20 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AAC4 00257A24 38 61 05 A8 */ addi r3, r1, 0x5a8 +/* 8025AAC8 00257A28 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AACC 00257A2C 38 84 00 A1 */ addi r4, r4, 0xa1 +/* 8025AAD0 00257A30 4B DA A1 E9 */ bl string_l__4rstlFPCc +/* 8025AAD4 00257A34 3C 60 80 57 */ lis r3, lbl_80572514@ha +/* 8025AAD8 00257A38 38 81 05 A8 */ addi r4, r1, 0x5a8 +/* 8025AADC 00257A3C 38 63 25 14 */ addi r3, r3, lbl_80572514@l +/* 8025AAE0 00257A40 48 0E 36 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AAE4 00257A44 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AAE8 00257A48 38 AE 00 0C */ addi r5, r14, 0xc +/* 8025AAEC 00257A4C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AAF0 00257A50 48 12 EB 9D */ bl __register_global_object +/* 8025AAF4 00257A54 38 61 05 A8 */ addi r3, r1, 0x5a8 +/* 8025AAF8 00257A58 48 0E 2F E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AAFC 00257A5C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AB00 00257A60 38 61 05 98 */ addi r3, r1, 0x598 +/* 8025AB04 00257A64 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AB08 00257A68 38 84 00 4A */ addi r4, r4, 0x4a +/* 8025AB0C 00257A6C 4B DA A1 AD */ bl string_l__4rstlFPCc +/* 8025AB10 00257A70 3C 60 80 57 */ lis r3, lbl_80572524@ha +/* 8025AB14 00257A74 38 81 05 98 */ addi r4, r1, 0x598 +/* 8025AB18 00257A78 38 63 25 24 */ addi r3, r3, lbl_80572524@l +/* 8025AB1C 00257A7C 48 0E 36 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AB20 00257A80 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AB24 00257A84 38 AE 00 18 */ addi r5, r14, 0x18 +/* 8025AB28 00257A88 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AB2C 00257A8C 48 12 EB 61 */ bl __register_global_object +/* 8025AB30 00257A90 38 61 05 98 */ addi r3, r1, 0x598 +/* 8025AB34 00257A94 48 0E 2F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AB38 00257A98 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AB3C 00257A9C 38 61 05 88 */ addi r3, r1, 0x588 +/* 8025AB40 00257AA0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AB44 00257AA4 38 84 00 23 */ addi r4, r4, 0x23 +/* 8025AB48 00257AA8 4B DA A1 71 */ bl string_l__4rstlFPCc +/* 8025AB4C 00257AAC 3C 60 80 57 */ lis r3, lbl_80572534@ha +/* 8025AB50 00257AB0 38 81 05 88 */ addi r4, r1, 0x588 +/* 8025AB54 00257AB4 38 63 25 34 */ addi r3, r3, lbl_80572534@l +/* 8025AB58 00257AB8 48 0E 36 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AB5C 00257ABC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AB60 00257AC0 38 AE 00 24 */ addi r5, r14, 0x24 +/* 8025AB64 00257AC4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AB68 00257AC8 48 12 EB 25 */ bl __register_global_object +/* 8025AB6C 00257ACC 38 61 05 88 */ addi r3, r1, 0x588 +/* 8025AB70 00257AD0 48 0E 2F 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AB74 00257AD4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AB78 00257AD8 38 61 05 78 */ addi r3, r1, 0x578 +/* 8025AB7C 00257ADC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AB80 00257AE0 38 84 00 AC */ addi r4, r4, 0xac +/* 8025AB84 00257AE4 4B DA A1 35 */ bl string_l__4rstlFPCc +/* 8025AB88 00257AE8 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AB8C 00257AEC 38 81 05 78 */ addi r4, r1, 0x578 +/* 8025AB90 00257AF0 48 0E 35 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AB94 00257AF4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AB98 00257AF8 38 AE 00 30 */ addi r5, r14, 0x30 +/* 8025AB9C 00257AFC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ABA0 00257B00 48 12 EA ED */ bl __register_global_object +/* 8025ABA4 00257B04 38 61 05 78 */ addi r3, r1, 0x578 +/* 8025ABA8 00257B08 48 0E 2F 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ABAC 00257B0C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ABB0 00257B10 38 61 05 68 */ addi r3, r1, 0x568 +/* 8025ABB4 00257B14 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ABB8 00257B18 38 84 00 BC */ addi r4, r4, 0xbc +/* 8025ABBC 00257B1C 4B DA A0 FD */ bl string_l__4rstlFPCc +/* 8025ABC0 00257B20 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ABC4 00257B24 38 81 05 68 */ addi r4, r1, 0x568 +/* 8025ABC8 00257B28 38 63 00 10 */ addi r3, r3, 0x10 +/* 8025ABCC 00257B2C 48 0E 35 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ABD0 00257B30 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ABD4 00257B34 38 AE 00 3C */ addi r5, r14, 0x3c +/* 8025ABD8 00257B38 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ABDC 00257B3C 48 12 EA B1 */ bl __register_global_object +/* 8025ABE0 00257B40 38 61 05 68 */ addi r3, r1, 0x568 +/* 8025ABE4 00257B44 48 0E 2E FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ABE8 00257B48 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ABEC 00257B4C 38 61 05 58 */ addi r3, r1, 0x558 +/* 8025ABF0 00257B50 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ABF4 00257B54 38 84 00 CC */ addi r4, r4, 0xcc +/* 8025ABF8 00257B58 4B DA A0 C1 */ bl string_l__4rstlFPCc +/* 8025ABFC 00257B5C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AC00 00257B60 38 81 05 58 */ addi r4, r1, 0x558 +/* 8025AC04 00257B64 38 63 00 20 */ addi r3, r3, 0x20 +/* 8025AC08 00257B68 48 0E 35 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AC0C 00257B6C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AC10 00257B70 38 AE 00 48 */ addi r5, r14, 0x48 +/* 8025AC14 00257B74 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AC18 00257B78 48 12 EA 75 */ bl __register_global_object +/* 8025AC1C 00257B7C 38 61 05 58 */ addi r3, r1, 0x558 +/* 8025AC20 00257B80 48 0E 2E C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AC24 00257B84 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AC28 00257B88 38 61 05 48 */ addi r3, r1, 0x548 +/* 8025AC2C 00257B8C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AC30 00257B90 38 84 00 DC */ addi r4, r4, 0xdc +/* 8025AC34 00257B94 4B DA A0 85 */ bl string_l__4rstlFPCc +/* 8025AC38 00257B98 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AC3C 00257B9C 38 81 05 48 */ addi r4, r1, 0x548 +/* 8025AC40 00257BA0 38 63 00 30 */ addi r3, r3, 0x30 +/* 8025AC44 00257BA4 48 0E 35 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AC48 00257BA8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AC4C 00257BAC 38 AE 00 54 */ addi r5, r14, 0x54 +/* 8025AC50 00257BB0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AC54 00257BB4 48 12 EA 39 */ bl __register_global_object +/* 8025AC58 00257BB8 38 61 05 48 */ addi r3, r1, 0x548 +/* 8025AC5C 00257BBC 48 0E 2E 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AC60 00257BC0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AC64 00257BC4 38 61 05 38 */ addi r3, r1, 0x538 +/* 8025AC68 00257BC8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AC6C 00257BCC 38 84 00 EC */ addi r4, r4, 0xec +/* 8025AC70 00257BD0 4B DA A0 49 */ bl string_l__4rstlFPCc +/* 8025AC74 00257BD4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AC78 00257BD8 38 81 05 38 */ addi r4, r1, 0x538 +/* 8025AC7C 00257BDC 38 63 00 40 */ addi r3, r3, 0x40 +/* 8025AC80 00257BE0 48 0E 34 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AC84 00257BE4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AC88 00257BE8 38 AE 00 60 */ addi r5, r14, 0x60 +/* 8025AC8C 00257BEC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AC90 00257BF0 48 12 E9 FD */ bl __register_global_object +/* 8025AC94 00257BF4 38 61 05 38 */ addi r3, r1, 0x538 +/* 8025AC98 00257BF8 48 0E 2E 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AC9C 00257BFC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ACA0 00257C00 38 61 05 28 */ addi r3, r1, 0x528 +/* 8025ACA4 00257C04 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ACA8 00257C08 38 84 00 FC */ addi r4, r4, 0xfc +/* 8025ACAC 00257C0C 4B DA A0 0D */ bl string_l__4rstlFPCc +/* 8025ACB0 00257C10 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ACB4 00257C14 38 81 05 28 */ addi r4, r1, 0x528 +/* 8025ACB8 00257C18 38 63 00 50 */ addi r3, r3, 0x50 +/* 8025ACBC 00257C1C 48 0E 34 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ACC0 00257C20 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ACC4 00257C24 38 AE 00 6C */ addi r5, r14, 0x6c +/* 8025ACC8 00257C28 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ACCC 00257C2C 48 12 E9 C1 */ bl __register_global_object +/* 8025ACD0 00257C30 38 61 05 28 */ addi r3, r1, 0x528 +/* 8025ACD4 00257C34 48 0E 2E 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ACD8 00257C38 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ACDC 00257C3C 38 61 05 18 */ addi r3, r1, 0x518 +/* 8025ACE0 00257C40 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ACE4 00257C44 38 84 01 0C */ addi r4, r4, 0x10c +/* 8025ACE8 00257C48 4B DA 9F D1 */ bl string_l__4rstlFPCc +/* 8025ACEC 00257C4C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ACF0 00257C50 38 81 05 18 */ addi r4, r1, 0x518 +/* 8025ACF4 00257C54 38 63 00 60 */ addi r3, r3, 0x60 +/* 8025ACF8 00257C58 48 0E 34 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ACFC 00257C5C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AD00 00257C60 38 AE 00 78 */ addi r5, r14, 0x78 +/* 8025AD04 00257C64 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AD08 00257C68 48 12 E9 85 */ bl __register_global_object +/* 8025AD0C 00257C6C 38 61 05 18 */ addi r3, r1, 0x518 +/* 8025AD10 00257C70 48 0E 2D D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AD14 00257C74 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AD18 00257C78 38 61 05 08 */ addi r3, r1, 0x508 +/* 8025AD1C 00257C7C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AD20 00257C80 38 84 01 1C */ addi r4, r4, 0x11c +/* 8025AD24 00257C84 4B DA 9F 95 */ bl string_l__4rstlFPCc +/* 8025AD28 00257C88 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AD2C 00257C8C 38 81 05 08 */ addi r4, r1, 0x508 +/* 8025AD30 00257C90 38 63 00 70 */ addi r3, r3, 0x70 +/* 8025AD34 00257C94 48 0E 34 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AD38 00257C98 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AD3C 00257C9C 38 AE 00 84 */ addi r5, r14, 0x84 +/* 8025AD40 00257CA0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AD44 00257CA4 48 12 E9 49 */ bl __register_global_object +/* 8025AD48 00257CA8 38 61 05 08 */ addi r3, r1, 0x508 +/* 8025AD4C 00257CAC 48 0E 2D 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AD50 00257CB0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AD54 00257CB4 38 61 04 F8 */ addi r3, r1, 0x4f8 +/* 8025AD58 00257CB8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AD5C 00257CBC 38 84 01 2C */ addi r4, r4, 0x12c +/* 8025AD60 00257CC0 4B DA 9F 59 */ bl string_l__4rstlFPCc +/* 8025AD64 00257CC4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AD68 00257CC8 38 81 04 F8 */ addi r4, r1, 0x4f8 +/* 8025AD6C 00257CCC 38 63 00 80 */ addi r3, r3, 0x80 +/* 8025AD70 00257CD0 48 0E 33 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AD74 00257CD4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AD78 00257CD8 38 AE 00 90 */ addi r5, r14, 0x90 +/* 8025AD7C 00257CDC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AD80 00257CE0 48 12 E9 0D */ bl __register_global_object +/* 8025AD84 00257CE4 38 61 04 F8 */ addi r3, r1, 0x4f8 +/* 8025AD88 00257CE8 48 0E 2D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AD8C 00257CEC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AD90 00257CF0 38 61 04 E8 */ addi r3, r1, 0x4e8 +/* 8025AD94 00257CF4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AD98 00257CF8 38 84 01 36 */ addi r4, r4, 0x136 +/* 8025AD9C 00257CFC 4B DA 9F 1D */ bl string_l__4rstlFPCc +/* 8025ADA0 00257D00 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ADA4 00257D04 38 81 04 E8 */ addi r4, r1, 0x4e8 +/* 8025ADA8 00257D08 38 63 00 90 */ addi r3, r3, 0x90 +/* 8025ADAC 00257D0C 48 0E 33 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ADB0 00257D10 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ADB4 00257D14 38 AE 00 9C */ addi r5, r14, 0x9c +/* 8025ADB8 00257D18 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ADBC 00257D1C 48 12 E8 D1 */ bl __register_global_object +/* 8025ADC0 00257D20 38 61 04 E8 */ addi r3, r1, 0x4e8 +/* 8025ADC4 00257D24 48 0E 2D 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ADC8 00257D28 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ADCC 00257D2C 38 61 04 D8 */ addi r3, r1, 0x4d8 +/* 8025ADD0 00257D30 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ADD4 00257D34 38 84 01 40 */ addi r4, r4, 0x140 +/* 8025ADD8 00257D38 4B DA 9E E1 */ bl string_l__4rstlFPCc +/* 8025ADDC 00257D3C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ADE0 00257D40 38 81 04 D8 */ addi r4, r1, 0x4d8 +/* 8025ADE4 00257D44 38 63 00 A0 */ addi r3, r3, 0xa0 +/* 8025ADE8 00257D48 48 0E 33 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ADEC 00257D4C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ADF0 00257D50 38 AE 00 A8 */ addi r5, r14, 0xa8 +/* 8025ADF4 00257D54 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ADF8 00257D58 48 12 E8 95 */ bl __register_global_object +/* 8025ADFC 00257D5C 38 61 04 D8 */ addi r3, r1, 0x4d8 +/* 8025AE00 00257D60 48 0E 2C E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AE04 00257D64 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AE08 00257D68 38 61 04 C8 */ addi r3, r1, 0x4c8 +/* 8025AE0C 00257D6C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AE10 00257D70 38 84 01 4A */ addi r4, r4, 0x14a +/* 8025AE14 00257D74 4B DA 9E A5 */ bl string_l__4rstlFPCc +/* 8025AE18 00257D78 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AE1C 00257D7C 38 81 04 C8 */ addi r4, r1, 0x4c8 +/* 8025AE20 00257D80 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8025AE24 00257D84 48 0E 33 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AE28 00257D88 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AE2C 00257D8C 38 AE 00 B4 */ addi r5, r14, 0xb4 +/* 8025AE30 00257D90 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AE34 00257D94 48 12 E8 59 */ bl __register_global_object +/* 8025AE38 00257D98 38 61 04 C8 */ addi r3, r1, 0x4c8 +/* 8025AE3C 00257D9C 48 0E 2C A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AE40 00257DA0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AE44 00257DA4 38 61 04 B8 */ addi r3, r1, 0x4b8 +/* 8025AE48 00257DA8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AE4C 00257DAC 38 84 01 54 */ addi r4, r4, 0x154 +/* 8025AE50 00257DB0 4B DA 9E 69 */ bl string_l__4rstlFPCc +/* 8025AE54 00257DB4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AE58 00257DB8 38 81 04 B8 */ addi r4, r1, 0x4b8 +/* 8025AE5C 00257DBC 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 8025AE60 00257DC0 48 0E 33 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AE64 00257DC4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AE68 00257DC8 38 AE 00 C0 */ addi r5, r14, 0xc0 +/* 8025AE6C 00257DCC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AE70 00257DD0 48 12 E8 1D */ bl __register_global_object +/* 8025AE74 00257DD4 38 61 04 B8 */ addi r3, r1, 0x4b8 +/* 8025AE78 00257DD8 48 0E 2C 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AE7C 00257DDC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AE80 00257DE0 38 61 04 A8 */ addi r3, r1, 0x4a8 +/* 8025AE84 00257DE4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AE88 00257DE8 38 84 01 5E */ addi r4, r4, 0x15e +/* 8025AE8C 00257DEC 4B DA 9E 2D */ bl string_l__4rstlFPCc +/* 8025AE90 00257DF0 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AE94 00257DF4 38 81 04 A8 */ addi r4, r1, 0x4a8 +/* 8025AE98 00257DF8 38 63 00 D0 */ addi r3, r3, 0xd0 +/* 8025AE9C 00257DFC 48 0E 32 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AEA0 00257E00 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AEA4 00257E04 38 AE 00 CC */ addi r5, r14, 0xcc +/* 8025AEA8 00257E08 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AEAC 00257E0C 48 12 E7 E1 */ bl __register_global_object +/* 8025AEB0 00257E10 38 61 04 A8 */ addi r3, r1, 0x4a8 +/* 8025AEB4 00257E14 48 0E 2C 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AEB8 00257E18 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AEBC 00257E1C 38 61 04 98 */ addi r3, r1, 0x498 +/* 8025AEC0 00257E20 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AEC4 00257E24 38 84 01 68 */ addi r4, r4, 0x168 +/* 8025AEC8 00257E28 4B DA 9D F1 */ bl string_l__4rstlFPCc +/* 8025AECC 00257E2C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AED0 00257E30 38 81 04 98 */ addi r4, r1, 0x498 +/* 8025AED4 00257E34 38 63 00 E0 */ addi r3, r3, 0xe0 +/* 8025AED8 00257E38 48 0E 32 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AEDC 00257E3C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AEE0 00257E40 38 AE 00 D8 */ addi r5, r14, 0xd8 +/* 8025AEE4 00257E44 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AEE8 00257E48 48 12 E7 A5 */ bl __register_global_object +/* 8025AEEC 00257E4C 38 61 04 98 */ addi r3, r1, 0x498 +/* 8025AEF0 00257E50 48 0E 2B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AEF4 00257E54 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AEF8 00257E58 38 61 04 88 */ addi r3, r1, 0x488 +/* 8025AEFC 00257E5C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AF00 00257E60 38 84 01 72 */ addi r4, r4, 0x172 +/* 8025AF04 00257E64 4B DA 9D B5 */ bl string_l__4rstlFPCc +/* 8025AF08 00257E68 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AF0C 00257E6C 38 81 04 88 */ addi r4, r1, 0x488 +/* 8025AF10 00257E70 38 63 00 F0 */ addi r3, r3, 0xf0 +/* 8025AF14 00257E74 48 0E 32 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AF18 00257E78 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AF1C 00257E7C 38 AE 00 E4 */ addi r5, r14, 0xe4 +/* 8025AF20 00257E80 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AF24 00257E84 48 12 E7 69 */ bl __register_global_object +/* 8025AF28 00257E88 38 61 04 88 */ addi r3, r1, 0x488 +/* 8025AF2C 00257E8C 48 0E 2B B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AF30 00257E90 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AF34 00257E94 38 61 04 78 */ addi r3, r1, 0x478 +/* 8025AF38 00257E98 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AF3C 00257E9C 38 84 01 7C */ addi r4, r4, 0x17c +/* 8025AF40 00257EA0 4B DA 9D 79 */ bl string_l__4rstlFPCc +/* 8025AF44 00257EA4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AF48 00257EA8 38 81 04 78 */ addi r4, r1, 0x478 +/* 8025AF4C 00257EAC 38 63 01 00 */ addi r3, r3, 0x100 +/* 8025AF50 00257EB0 48 0E 32 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AF54 00257EB4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AF58 00257EB8 38 AE 00 F0 */ addi r5, r14, 0xf0 +/* 8025AF5C 00257EBC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AF60 00257EC0 48 12 E7 2D */ bl __register_global_object +/* 8025AF64 00257EC4 38 61 04 78 */ addi r3, r1, 0x478 +/* 8025AF68 00257EC8 48 0E 2B 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AF6C 00257ECC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AF70 00257ED0 38 61 04 68 */ addi r3, r1, 0x468 +/* 8025AF74 00257ED4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AF78 00257ED8 38 84 01 88 */ addi r4, r4, 0x188 +/* 8025AF7C 00257EDC 4B DA 9D 3D */ bl string_l__4rstlFPCc +/* 8025AF80 00257EE0 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AF84 00257EE4 38 81 04 68 */ addi r4, r1, 0x468 +/* 8025AF88 00257EE8 38 63 01 10 */ addi r3, r3, 0x110 +/* 8025AF8C 00257EEC 48 0E 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AF90 00257EF0 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AF94 00257EF4 38 AE 00 FC */ addi r5, r14, 0xfc +/* 8025AF98 00257EF8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AF9C 00257EFC 48 12 E6 F1 */ bl __register_global_object +/* 8025AFA0 00257F00 38 61 04 68 */ addi r3, r1, 0x468 +/* 8025AFA4 00257F04 48 0E 2B 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AFA8 00257F08 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AFAC 00257F0C 38 61 04 58 */ addi r3, r1, 0x458 +/* 8025AFB0 00257F10 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AFB4 00257F14 38 84 01 94 */ addi r4, r4, 0x194 +/* 8025AFB8 00257F18 4B DA 9D 01 */ bl string_l__4rstlFPCc +/* 8025AFBC 00257F1C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AFC0 00257F20 38 81 04 58 */ addi r4, r1, 0x458 +/* 8025AFC4 00257F24 38 63 01 20 */ addi r3, r3, 0x120 +/* 8025AFC8 00257F28 48 0E 31 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AFCC 00257F2C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AFD0 00257F30 38 AE 01 08 */ addi r5, r14, 0x108 +/* 8025AFD4 00257F34 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AFD8 00257F38 48 12 E6 B5 */ bl __register_global_object +/* 8025AFDC 00257F3C 38 61 04 58 */ addi r3, r1, 0x458 +/* 8025AFE0 00257F40 48 0E 2B 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AFE4 00257F44 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AFE8 00257F48 38 61 04 48 */ addi r3, r1, 0x448 +/* 8025AFEC 00257F4C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AFF0 00257F50 38 84 01 A0 */ addi r4, r4, 0x1a0 +/* 8025AFF4 00257F54 4B DA 9C C5 */ bl string_l__4rstlFPCc +/* 8025AFF8 00257F58 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AFFC 00257F5C 38 81 04 48 */ addi r4, r1, 0x448 +/* 8025B000 00257F60 38 63 01 30 */ addi r3, r3, 0x130 +/* 8025B004 00257F64 48 0E 31 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B008 00257F68 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B00C 00257F6C 38 AE 01 14 */ addi r5, r14, 0x114 +/* 8025B010 00257F70 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B014 00257F74 48 12 E6 79 */ bl __register_global_object +/* 8025B018 00257F78 38 61 04 48 */ addi r3, r1, 0x448 +/* 8025B01C 00257F7C 48 0E 2A C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B020 00257F80 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B024 00257F84 38 61 04 38 */ addi r3, r1, 0x438 +/* 8025B028 00257F88 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B02C 00257F8C 38 84 01 AC */ addi r4, r4, 0x1ac +/* 8025B030 00257F90 4B DA 9C 89 */ bl string_l__4rstlFPCc +/* 8025B034 00257F94 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B038 00257F98 38 81 04 38 */ addi r4, r1, 0x438 +/* 8025B03C 00257F9C 38 63 01 40 */ addi r3, r3, 0x140 +/* 8025B040 00257FA0 48 0E 31 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B044 00257FA4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B048 00257FA8 38 AE 01 20 */ addi r5, r14, 0x120 +/* 8025B04C 00257FAC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B050 00257FB0 48 12 E6 3D */ bl __register_global_object +/* 8025B054 00257FB4 38 61 04 38 */ addi r3, r1, 0x438 +/* 8025B058 00257FB8 48 0E 2A 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B05C 00257FBC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B060 00257FC0 38 61 04 28 */ addi r3, r1, 0x428 +/* 8025B064 00257FC4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B068 00257FC8 38 84 01 B8 */ addi r4, r4, 0x1b8 +/* 8025B06C 00257FCC 4B DA 9C 4D */ bl string_l__4rstlFPCc +/* 8025B070 00257FD0 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B074 00257FD4 38 81 04 28 */ addi r4, r1, 0x428 +/* 8025B078 00257FD8 38 63 01 50 */ addi r3, r3, 0x150 +/* 8025B07C 00257FDC 48 0E 30 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B080 00257FE0 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B084 00257FE4 38 AE 01 2C */ addi r5, r14, 0x12c +/* 8025B088 00257FE8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B08C 00257FEC 48 12 E6 01 */ bl __register_global_object +/* 8025B090 00257FF0 38 61 04 28 */ addi r3, r1, 0x428 +/* 8025B094 00257FF4 48 0E 2A 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B098 00257FF8 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B09C 00257FFC 38 61 04 18 */ addi r3, r1, 0x418 +/* 8025B0A0 00258000 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B0A4 00258004 38 84 01 C4 */ addi r4, r4, 0x1c4 +/* 8025B0A8 00258008 4B DA 9C 11 */ bl string_l__4rstlFPCc +/* 8025B0AC 0025800C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B0B0 00258010 38 81 04 18 */ addi r4, r1, 0x418 +/* 8025B0B4 00258014 38 63 01 60 */ addi r3, r3, 0x160 +/* 8025B0B8 00258018 48 0E 30 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B0BC 0025801C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B0C0 00258020 38 AE 01 38 */ addi r5, r14, 0x138 +/* 8025B0C4 00258024 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B0C8 00258028 48 12 E5 C5 */ bl __register_global_object +/* 8025B0CC 0025802C 38 61 04 18 */ addi r3, r1, 0x418 +/* 8025B0D0 00258030 48 0E 2A 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B0D4 00258034 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B0D8 00258038 38 61 04 08 */ addi r3, r1, 0x408 +/* 8025B0DC 0025803C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B0E0 00258040 38 84 01 D0 */ addi r4, r4, 0x1d0 +/* 8025B0E4 00258044 4B DA 9B D5 */ bl string_l__4rstlFPCc +/* 8025B0E8 00258048 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B0EC 0025804C 38 81 04 08 */ addi r4, r1, 0x408 +/* 8025B0F0 00258050 38 63 01 70 */ addi r3, r3, 0x170 +/* 8025B0F4 00258054 48 0E 30 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B0F8 00258058 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B0FC 0025805C 38 AE 01 44 */ addi r5, r14, 0x144 +/* 8025B100 00258060 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B104 00258064 48 12 E5 89 */ bl __register_global_object +/* 8025B108 00258068 38 61 04 08 */ addi r3, r1, 0x408 +/* 8025B10C 0025806C 48 0E 29 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B110 00258070 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B114 00258074 38 61 03 F8 */ addi r3, r1, 0x3f8 +/* 8025B118 00258078 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B11C 0025807C 38 84 01 DC */ addi r4, r4, 0x1dc +/* 8025B120 00258080 4B DA 9B 99 */ bl string_l__4rstlFPCc +/* 8025B124 00258084 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B128 00258088 38 81 03 F8 */ addi r4, r1, 0x3f8 +/* 8025B12C 0025808C 48 0E 30 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B130 00258090 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B134 00258094 38 AE 02 D0 */ addi r5, r14, 0x2d0 +/* 8025B138 00258098 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B13C 0025809C 48 12 E5 51 */ bl __register_global_object +/* 8025B140 002580A0 38 61 03 F8 */ addi r3, r1, 0x3f8 +/* 8025B144 002580A4 48 0E 29 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B148 002580A8 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B14C 002580AC 38 61 03 E8 */ addi r3, r1, 0x3e8 +/* 8025B150 002580B0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B154 002580B4 38 84 01 EA */ addi r4, r4, 0x1ea +/* 8025B158 002580B8 4B DA 9B 61 */ bl string_l__4rstlFPCc +/* 8025B15C 002580BC 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B160 002580C0 38 81 03 E8 */ addi r4, r1, 0x3e8 +/* 8025B164 002580C4 38 63 00 10 */ addi r3, r3, 0x10 +/* 8025B168 002580C8 48 0E 2F F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B16C 002580CC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B170 002580D0 38 AE 02 DC */ addi r5, r14, 0x2dc +/* 8025B174 002580D4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B178 002580D8 48 12 E5 15 */ bl __register_global_object +/* 8025B17C 002580DC 38 61 03 E8 */ addi r3, r1, 0x3e8 +/* 8025B180 002580E0 48 0E 29 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B184 002580E4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B188 002580E8 38 61 03 D8 */ addi r3, r1, 0x3d8 +/* 8025B18C 002580EC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B190 002580F0 38 84 01 F8 */ addi r4, r4, 0x1f8 +/* 8025B194 002580F4 4B DA 9B 25 */ bl string_l__4rstlFPCc +/* 8025B198 002580F8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B19C 002580FC 38 81 03 D8 */ addi r4, r1, 0x3d8 +/* 8025B1A0 00258100 38 63 00 20 */ addi r3, r3, 0x20 +/* 8025B1A4 00258104 48 0E 2F BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B1A8 00258108 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B1AC 0025810C 38 AE 02 E8 */ addi r5, r14, 0x2e8 +/* 8025B1B0 00258110 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B1B4 00258114 48 12 E4 D9 */ bl __register_global_object +/* 8025B1B8 00258118 38 61 03 D8 */ addi r3, r1, 0x3d8 +/* 8025B1BC 0025811C 48 0E 29 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B1C0 00258120 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B1C4 00258124 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 8025B1C8 00258128 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B1CC 0025812C 38 84 02 06 */ addi r4, r4, 0x206 +/* 8025B1D0 00258130 4B DA 9A E9 */ bl string_l__4rstlFPCc +/* 8025B1D4 00258134 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B1D8 00258138 38 81 03 C8 */ addi r4, r1, 0x3c8 +/* 8025B1DC 0025813C 38 63 00 30 */ addi r3, r3, 0x30 +/* 8025B1E0 00258140 48 0E 2F 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B1E4 00258144 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B1E8 00258148 38 AE 02 F4 */ addi r5, r14, 0x2f4 +/* 8025B1EC 0025814C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B1F0 00258150 48 12 E4 9D */ bl __register_global_object +/* 8025B1F4 00258154 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 8025B1F8 00258158 48 0E 28 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B1FC 0025815C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B200 00258160 38 61 03 B8 */ addi r3, r1, 0x3b8 +/* 8025B204 00258164 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B208 00258168 38 84 02 14 */ addi r4, r4, 0x214 +/* 8025B20C 0025816C 4B DA 9A AD */ bl string_l__4rstlFPCc +/* 8025B210 00258170 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B214 00258174 38 81 03 B8 */ addi r4, r1, 0x3b8 +/* 8025B218 00258178 38 63 00 40 */ addi r3, r3, 0x40 +/* 8025B21C 0025817C 48 0E 2F 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B220 00258180 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B224 00258184 38 AE 03 00 */ addi r5, r14, 0x300 +/* 8025B228 00258188 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B22C 0025818C 48 12 E4 61 */ bl __register_global_object +/* 8025B230 00258190 38 61 03 B8 */ addi r3, r1, 0x3b8 +/* 8025B234 00258194 48 0E 28 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B238 00258198 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B23C 0025819C 38 61 03 A8 */ addi r3, r1, 0x3a8 +/* 8025B240 002581A0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B244 002581A4 38 84 02 22 */ addi r4, r4, 0x222 +/* 8025B248 002581A8 4B DA 9A 71 */ bl string_l__4rstlFPCc +/* 8025B24C 002581AC 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B250 002581B0 38 81 03 A8 */ addi r4, r1, 0x3a8 +/* 8025B254 002581B4 38 63 00 50 */ addi r3, r3, 0x50 +/* 8025B258 002581B8 48 0E 2F 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B25C 002581BC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B260 002581C0 38 AE 03 0C */ addi r5, r14, 0x30c +/* 8025B264 002581C4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B268 002581C8 48 12 E4 25 */ bl __register_global_object +/* 8025B26C 002581CC 38 61 03 A8 */ addi r3, r1, 0x3a8 +/* 8025B270 002581D0 48 0E 28 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B274 002581D4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B278 002581D8 38 61 03 98 */ addi r3, r1, 0x398 +/* 8025B27C 002581DC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B280 002581E0 38 84 02 30 */ addi r4, r4, 0x230 +/* 8025B284 002581E4 4B DA 9A 35 */ bl string_l__4rstlFPCc +/* 8025B288 002581E8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B28C 002581EC 38 81 03 98 */ addi r4, r1, 0x398 +/* 8025B290 002581F0 38 63 00 60 */ addi r3, r3, 0x60 +/* 8025B294 002581F4 48 0E 2E CD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B298 002581F8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B29C 002581FC 38 AE 03 18 */ addi r5, r14, 0x318 +/* 8025B2A0 00258200 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B2A4 00258204 48 12 E3 E9 */ bl __register_global_object +/* 8025B2A8 00258208 38 61 03 98 */ addi r3, r1, 0x398 +/* 8025B2AC 0025820C 48 0E 28 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B2B0 00258210 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B2B4 00258214 38 61 03 88 */ addi r3, r1, 0x388 +/* 8025B2B8 00258218 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B2BC 0025821C 38 84 02 3F */ addi r4, r4, 0x23f +/* 8025B2C0 00258220 4B DA 99 F9 */ bl string_l__4rstlFPCc +/* 8025B2C4 00258224 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B2C8 00258228 38 81 03 88 */ addi r4, r1, 0x388 +/* 8025B2CC 0025822C 38 63 00 70 */ addi r3, r3, 0x70 +/* 8025B2D0 00258230 48 0E 2E 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B2D4 00258234 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B2D8 00258238 38 AE 03 24 */ addi r5, r14, 0x324 +/* 8025B2DC 0025823C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B2E0 00258240 48 12 E3 AD */ bl __register_global_object +/* 8025B2E4 00258244 38 61 03 88 */ addi r3, r1, 0x388 +/* 8025B2E8 00258248 48 0E 27 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B2EC 0025824C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B2F0 00258250 38 61 03 78 */ addi r3, r1, 0x378 +/* 8025B2F4 00258254 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B2F8 00258258 38 84 02 4E */ addi r4, r4, 0x24e +/* 8025B2FC 0025825C 4B DA 99 BD */ bl string_l__4rstlFPCc +/* 8025B300 00258260 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B304 00258264 38 81 03 78 */ addi r4, r1, 0x378 +/* 8025B308 00258268 38 63 00 80 */ addi r3, r3, 0x80 +/* 8025B30C 0025826C 48 0E 2E 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B310 00258270 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B314 00258274 38 AE 03 30 */ addi r5, r14, 0x330 +/* 8025B318 00258278 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B31C 0025827C 48 12 E3 71 */ bl __register_global_object +/* 8025B320 00258280 38 61 03 78 */ addi r3, r1, 0x378 +/* 8025B324 00258284 48 0E 27 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B328 00258288 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B32C 0025828C 38 61 03 68 */ addi r3, r1, 0x368 +/* 8025B330 00258290 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B334 00258294 38 84 02 5D */ addi r4, r4, 0x25d +/* 8025B338 00258298 4B DA 99 81 */ bl string_l__4rstlFPCc +/* 8025B33C 0025829C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B340 002582A0 38 81 03 68 */ addi r4, r1, 0x368 +/* 8025B344 002582A4 38 63 00 90 */ addi r3, r3, 0x90 +/* 8025B348 002582A8 48 0E 2E 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B34C 002582AC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B350 002582B0 38 AE 03 3C */ addi r5, r14, 0x33c +/* 8025B354 002582B4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B358 002582B8 48 12 E3 35 */ bl __register_global_object +/* 8025B35C 002582BC 38 61 03 68 */ addi r3, r1, 0x368 +/* 8025B360 002582C0 48 0E 27 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B364 002582C4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B368 002582C8 38 61 03 58 */ addi r3, r1, 0x358 +/* 8025B36C 002582CC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B370 002582D0 38 84 02 6C */ addi r4, r4, 0x26c +/* 8025B374 002582D4 4B DA 99 45 */ bl string_l__4rstlFPCc +/* 8025B378 002582D8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B37C 002582DC 38 81 03 58 */ addi r4, r1, 0x358 +/* 8025B380 002582E0 38 63 00 A0 */ addi r3, r3, 0xa0 +/* 8025B384 002582E4 48 0E 2D DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B388 002582E8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B38C 002582EC 38 AE 03 48 */ addi r5, r14, 0x348 +/* 8025B390 002582F0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B394 002582F4 48 12 E2 F9 */ bl __register_global_object +/* 8025B398 002582F8 38 61 03 58 */ addi r3, r1, 0x358 +/* 8025B39C 002582FC 48 0E 27 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B3A0 00258300 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B3A4 00258304 38 61 03 48 */ addi r3, r1, 0x348 +/* 8025B3A8 00258308 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B3AC 0025830C 38 84 02 7B */ addi r4, r4, 0x27b +/* 8025B3B0 00258310 4B DA 99 09 */ bl string_l__4rstlFPCc +/* 8025B3B4 00258314 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B3B8 00258318 38 81 03 48 */ addi r4, r1, 0x348 +/* 8025B3BC 0025831C 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8025B3C0 00258320 48 0E 2D A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B3C4 00258324 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B3C8 00258328 38 AE 03 54 */ addi r5, r14, 0x354 +/* 8025B3CC 0025832C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B3D0 00258330 48 12 E2 BD */ bl __register_global_object +/* 8025B3D4 00258334 38 61 03 48 */ addi r3, r1, 0x348 +/* 8025B3D8 00258338 48 0E 27 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B3DC 0025833C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B3E0 00258340 38 61 03 38 */ addi r3, r1, 0x338 +/* 8025B3E4 00258344 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B3E8 00258348 38 84 02 8A */ addi r4, r4, 0x28a +/* 8025B3EC 0025834C 4B DA 98 CD */ bl string_l__4rstlFPCc +/* 8025B3F0 00258350 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B3F4 00258354 38 81 03 38 */ addi r4, r1, 0x338 +/* 8025B3F8 00258358 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 8025B3FC 0025835C 48 0E 2D 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B400 00258360 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B404 00258364 38 AE 03 60 */ addi r5, r14, 0x360 +/* 8025B408 00258368 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B40C 0025836C 48 12 E2 81 */ bl __register_global_object +/* 8025B410 00258370 38 61 03 38 */ addi r3, r1, 0x338 +/* 8025B414 00258374 48 0E 26 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B418 00258378 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B41C 0025837C 38 61 03 28 */ addi r3, r1, 0x328 +/* 8025B420 00258380 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B424 00258384 38 84 02 98 */ addi r4, r4, 0x298 +/* 8025B428 00258388 4B DA 98 91 */ bl string_l__4rstlFPCc +/* 8025B42C 0025838C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B430 00258390 38 81 03 28 */ addi r4, r1, 0x328 +/* 8025B434 00258394 38 63 00 D0 */ addi r3, r3, 0xd0 +/* 8025B438 00258398 48 0E 2D 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B43C 0025839C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B440 002583A0 38 AE 03 6C */ addi r5, r14, 0x36c +/* 8025B444 002583A4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B448 002583A8 48 12 E2 45 */ bl __register_global_object +/* 8025B44C 002583AC 38 61 03 28 */ addi r3, r1, 0x328 +/* 8025B450 002583B0 48 0E 26 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B454 002583B4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B458 002583B8 38 61 03 18 */ addi r3, r1, 0x318 +/* 8025B45C 002583BC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B460 002583C0 38 84 02 A6 */ addi r4, r4, 0x2a6 +/* 8025B464 002583C4 4B DA 98 55 */ bl string_l__4rstlFPCc +/* 8025B468 002583C8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B46C 002583CC 38 81 03 18 */ addi r4, r1, 0x318 +/* 8025B470 002583D0 38 63 00 E0 */ addi r3, r3, 0xe0 +/* 8025B474 002583D4 48 0E 2C ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B478 002583D8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B47C 002583DC 38 AE 03 78 */ addi r5, r14, 0x378 +/* 8025B480 002583E0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B484 002583E4 48 12 E2 09 */ bl __register_global_object +/* 8025B488 002583E8 38 61 03 18 */ addi r3, r1, 0x318 +/* 8025B48C 002583EC 48 0E 26 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B490 002583F0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B494 002583F4 38 61 03 08 */ addi r3, r1, 0x308 +/* 8025B498 002583F8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B49C 002583FC 38 84 02 B4 */ addi r4, r4, 0x2b4 +/* 8025B4A0 00258400 4B DA 98 19 */ bl string_l__4rstlFPCc +/* 8025B4A4 00258404 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B4A8 00258408 38 81 03 08 */ addi r4, r1, 0x308 +/* 8025B4AC 0025840C 38 63 00 F0 */ addi r3, r3, 0xf0 +/* 8025B4B0 00258410 48 0E 2C B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B4B4 00258414 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B4B8 00258418 38 AE 03 84 */ addi r5, r14, 0x384 +/* 8025B4BC 0025841C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B4C0 00258420 48 12 E1 CD */ bl __register_global_object +/* 8025B4C4 00258424 38 61 03 08 */ addi r3, r1, 0x308 +/* 8025B4C8 00258428 48 0E 26 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B4CC 0025842C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B4D0 00258430 38 61 02 F8 */ addi r3, r1, 0x2f8 +/* 8025B4D4 00258434 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B4D8 00258438 38 84 02 C2 */ addi r4, r4, 0x2c2 +/* 8025B4DC 0025843C 4B DA 97 DD */ bl string_l__4rstlFPCc +/* 8025B4E0 00258440 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B4E4 00258444 38 81 02 F8 */ addi r4, r1, 0x2f8 +/* 8025B4E8 00258448 38 63 01 00 */ addi r3, r3, 0x100 +/* 8025B4EC 0025844C 48 0E 2C 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B4F0 00258450 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B4F4 00258454 38 AE 03 90 */ addi r5, r14, 0x390 +/* 8025B4F8 00258458 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B4FC 0025845C 48 12 E1 91 */ bl __register_global_object +/* 8025B500 00258460 38 61 02 F8 */ addi r3, r1, 0x2f8 +/* 8025B504 00258464 48 0E 25 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B508 00258468 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B50C 0025846C 38 61 02 E8 */ addi r3, r1, 0x2e8 +/* 8025B510 00258470 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B514 00258474 38 84 02 D0 */ addi r4, r4, 0x2d0 +/* 8025B518 00258478 4B DA 97 A1 */ bl string_l__4rstlFPCc +/* 8025B51C 0025847C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B520 00258480 38 81 02 E8 */ addi r4, r1, 0x2e8 +/* 8025B524 00258484 38 63 01 10 */ addi r3, r3, 0x110 +/* 8025B528 00258488 48 0E 2C 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B52C 0025848C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B530 00258490 38 AE 03 9C */ addi r5, r14, 0x39c +/* 8025B534 00258494 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B538 00258498 48 12 E1 55 */ bl __register_global_object +/* 8025B53C 0025849C 38 61 02 E8 */ addi r3, r1, 0x2e8 +/* 8025B540 002584A0 48 0E 25 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B544 002584A4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B548 002584A8 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 8025B54C 002584AC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B550 002584B0 38 84 02 DE */ addi r4, r4, 0x2de +/* 8025B554 002584B4 4B DA 97 65 */ bl string_l__4rstlFPCc +/* 8025B558 002584B8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B55C 002584BC 38 81 02 D8 */ addi r4, r1, 0x2d8 +/* 8025B560 002584C0 38 63 01 20 */ addi r3, r3, 0x120 +/* 8025B564 002584C4 48 0E 2B FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B568 002584C8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B56C 002584CC 38 AE 03 A8 */ addi r5, r14, 0x3a8 +/* 8025B570 002584D0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B574 002584D4 48 12 E1 19 */ bl __register_global_object +/* 8025B578 002584D8 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 8025B57C 002584DC 48 0E 25 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B580 002584E0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B584 002584E4 38 61 02 C8 */ addi r3, r1, 0x2c8 +/* 8025B588 002584E8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B58C 002584EC 38 84 02 ED */ addi r4, r4, 0x2ed +/* 8025B590 002584F0 4B DA 97 29 */ bl string_l__4rstlFPCc +/* 8025B594 002584F4 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B598 002584F8 38 81 02 C8 */ addi r4, r1, 0x2c8 +/* 8025B59C 002584FC 38 63 01 30 */ addi r3, r3, 0x130 +/* 8025B5A0 00258500 48 0E 2B C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B5A4 00258504 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B5A8 00258508 38 AE 03 B4 */ addi r5, r14, 0x3b4 +/* 8025B5AC 0025850C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B5B0 00258510 48 12 E0 DD */ bl __register_global_object +/* 8025B5B4 00258514 38 61 02 C8 */ addi r3, r1, 0x2c8 +/* 8025B5B8 00258518 48 0E 25 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B5BC 0025851C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B5C0 00258520 38 61 02 B8 */ addi r3, r1, 0x2b8 +/* 8025B5C4 00258524 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B5C8 00258528 38 84 02 FC */ addi r4, r4, 0x2fc +/* 8025B5CC 0025852C 4B DA 96 ED */ bl string_l__4rstlFPCc +/* 8025B5D0 00258530 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B5D4 00258534 38 81 02 B8 */ addi r4, r1, 0x2b8 +/* 8025B5D8 00258538 38 63 01 40 */ addi r3, r3, 0x140 +/* 8025B5DC 0025853C 48 0E 2B 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B5E0 00258540 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B5E4 00258544 38 AE 03 C0 */ addi r5, r14, 0x3c0 +/* 8025B5E8 00258548 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B5EC 0025854C 48 12 E0 A1 */ bl __register_global_object +/* 8025B5F0 00258550 38 61 02 B8 */ addi r3, r1, 0x2b8 +/* 8025B5F4 00258554 48 0E 24 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B5F8 00258558 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B5FC 0025855C 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 8025B600 00258560 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B604 00258564 38 84 03 0B */ addi r4, r4, 0x30b +/* 8025B608 00258568 4B DA 96 B1 */ bl string_l__4rstlFPCc +/* 8025B60C 0025856C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B610 00258570 38 81 02 A8 */ addi r4, r1, 0x2a8 +/* 8025B614 00258574 38 63 01 50 */ addi r3, r3, 0x150 +/* 8025B618 00258578 48 0E 2B 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B61C 0025857C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B620 00258580 38 AE 03 CC */ addi r5, r14, 0x3cc +/* 8025B624 00258584 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B628 00258588 48 12 E0 65 */ bl __register_global_object +/* 8025B62C 0025858C 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 8025B630 00258590 48 0E 24 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B634 00258594 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B638 00258598 38 61 02 98 */ addi r3, r1, 0x298 +/* 8025B63C 0025859C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B640 002585A0 38 84 03 1A */ addi r4, r4, 0x31a +/* 8025B644 002585A4 4B DA 96 75 */ bl string_l__4rstlFPCc +/* 8025B648 002585A8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B64C 002585AC 38 81 02 98 */ addi r4, r1, 0x298 +/* 8025B650 002585B0 38 63 01 60 */ addi r3, r3, 0x160 +/* 8025B654 002585B4 48 0E 2B 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B658 002585B8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B65C 002585BC 38 AE 03 D8 */ addi r5, r14, 0x3d8 +/* 8025B660 002585C0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B664 002585C4 48 12 E0 29 */ bl __register_global_object +/* 8025B668 002585C8 38 61 02 98 */ addi r3, r1, 0x298 +/* 8025B66C 002585CC 48 0E 24 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B670 002585D0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B674 002585D4 38 61 02 88 */ addi r3, r1, 0x288 +/* 8025B678 002585D8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B67C 002585DC 38 84 03 29 */ addi r4, r4, 0x329 +/* 8025B680 002585E0 4B DA 96 39 */ bl string_l__4rstlFPCc +/* 8025B684 002585E4 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B688 002585E8 38 81 02 88 */ addi r4, r1, 0x288 +/* 8025B68C 002585EC 38 63 01 70 */ addi r3, r3, 0x170 +/* 8025B690 002585F0 48 0E 2A D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B694 002585F4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B698 002585F8 38 AE 03 E4 */ addi r5, r14, 0x3e4 +/* 8025B69C 002585FC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B6A0 00258600 48 12 DF ED */ bl __register_global_object +/* 8025B6A4 00258604 38 61 02 88 */ addi r3, r1, 0x288 +/* 8025B6A8 00258608 48 0E 24 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B6AC 0025860C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B6B0 00258610 38 61 02 78 */ addi r3, r1, 0x278 +/* 8025B6B4 00258614 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B6B8 00258618 38 84 03 38 */ addi r4, r4, 0x338 +/* 8025B6BC 0025861C 4B DA 95 FD */ bl string_l__4rstlFPCc +/* 8025B6C0 00258620 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B6C4 00258624 38 81 02 78 */ addi r4, r1, 0x278 +/* 8025B6C8 00258628 38 63 01 80 */ addi r3, r3, 0x180 +/* 8025B6CC 0025862C 48 0E 2A 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B6D0 00258630 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B6D4 00258634 38 AE 03 F0 */ addi r5, r14, 0x3f0 +/* 8025B6D8 00258638 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B6DC 0025863C 48 12 DF B1 */ bl __register_global_object +/* 8025B6E0 00258640 38 61 02 78 */ addi r3, r1, 0x278 +/* 8025B6E4 00258644 48 0E 23 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B6E8 00258648 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B6EC 0025864C 38 61 02 68 */ addi r3, r1, 0x268 +/* 8025B6F0 00258650 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B6F4 00258654 38 84 03 49 */ addi r4, r4, 0x349 +/* 8025B6F8 00258658 4B DA 95 C1 */ bl string_l__4rstlFPCc +/* 8025B6FC 0025865C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B700 00258660 38 81 02 68 */ addi r4, r1, 0x268 +/* 8025B704 00258664 38 63 01 90 */ addi r3, r3, 0x190 +/* 8025B708 00258668 48 0E 2A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B70C 0025866C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B710 00258670 38 AE 03 FC */ addi r5, r14, 0x3fc +/* 8025B714 00258674 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B718 00258678 48 12 DF 75 */ bl __register_global_object +/* 8025B71C 0025867C 38 61 02 68 */ addi r3, r1, 0x268 +/* 8025B720 00258680 48 0E 23 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B724 00258684 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B728 00258688 38 61 02 58 */ addi r3, r1, 0x258 +/* 8025B72C 0025868C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B730 00258690 38 84 03 5A */ addi r4, r4, 0x35a +/* 8025B734 00258694 4B DA 95 85 */ bl string_l__4rstlFPCc +/* 8025B738 00258698 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B73C 0025869C 38 81 02 58 */ addi r4, r1, 0x258 +/* 8025B740 002586A0 38 63 01 A0 */ addi r3, r3, 0x1a0 +/* 8025B744 002586A4 48 0E 2A 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B748 002586A8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B74C 002586AC 38 AE 04 08 */ addi r5, r14, 0x408 +/* 8025B750 002586B0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B754 002586B4 48 12 DF 39 */ bl __register_global_object +/* 8025B758 002586B8 38 61 02 58 */ addi r3, r1, 0x258 +/* 8025B75C 002586BC 48 0E 23 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B760 002586C0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B764 002586C4 38 61 02 48 */ addi r3, r1, 0x248 +/* 8025B768 002586C8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B76C 002586CC 38 84 03 6B */ addi r4, r4, 0x36b +/* 8025B770 002586D0 4B DA 95 49 */ bl string_l__4rstlFPCc +/* 8025B774 002586D4 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B778 002586D8 38 81 02 48 */ addi r4, r1, 0x248 +/* 8025B77C 002586DC 38 63 01 B0 */ addi r3, r3, 0x1b0 +/* 8025B780 002586E0 48 0E 29 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B784 002586E4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B788 002586E8 38 AE 04 14 */ addi r5, r14, 0x414 +/* 8025B78C 002586EC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B790 002586F0 48 12 DE FD */ bl __register_global_object +/* 8025B794 002586F4 38 61 02 48 */ addi r3, r1, 0x248 +/* 8025B798 002586F8 48 0E 23 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B79C 002586FC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B7A0 00258700 38 61 02 38 */ addi r3, r1, 0x238 +/* 8025B7A4 00258704 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B7A8 00258708 38 84 03 7C */ addi r4, r4, 0x37c +/* 8025B7AC 0025870C 4B DA 95 0D */ bl string_l__4rstlFPCc +/* 8025B7B0 00258710 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B7B4 00258714 38 81 02 38 */ addi r4, r1, 0x238 +/* 8025B7B8 00258718 38 63 01 C0 */ addi r3, r3, 0x1c0 +/* 8025B7BC 0025871C 48 0E 29 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B7C0 00258720 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B7C4 00258724 38 AE 04 20 */ addi r5, r14, 0x420 +/* 8025B7C8 00258728 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B7CC 0025872C 48 12 DE C1 */ bl __register_global_object +/* 8025B7D0 00258730 38 61 02 38 */ addi r3, r1, 0x238 +/* 8025B7D4 00258734 48 0E 23 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B7D8 00258738 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B7DC 0025873C 38 61 02 28 */ addi r3, r1, 0x228 +/* 8025B7E0 00258740 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B7E4 00258744 38 84 03 8D */ addi r4, r4, 0x38d +/* 8025B7E8 00258748 4B DA 94 D1 */ bl string_l__4rstlFPCc +/* 8025B7EC 0025874C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B7F0 00258750 38 81 02 28 */ addi r4, r1, 0x228 +/* 8025B7F4 00258754 38 63 01 D0 */ addi r3, r3, 0x1d0 +/* 8025B7F8 00258758 48 0E 29 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B7FC 0025875C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B800 00258760 38 AE 04 2C */ addi r5, r14, 0x42c +/* 8025B804 00258764 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B808 00258768 48 12 DE 85 */ bl __register_global_object +/* 8025B80C 0025876C 38 61 02 28 */ addi r3, r1, 0x228 +/* 8025B810 00258770 48 0E 22 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B814 00258774 C0 22 B9 34 */ lfs f1, lbl_805AD654@sda21(r2) +/* 8025B818 00258778 39 6E 06 18 */ addi r11, r14, 0x618 +/* 8025B81C 0025877C 39 80 FF FF */ li r12, -1 +/* 8025B820 00258780 38 C0 00 03 */ li r6, 3 +/* 8025B824 00258784 C0 02 B9 48 */ lfs f0, lbl_805AD668@sda21(r2) +/* 8025B828 00258788 39 E0 00 00 */ li r15, 0 +/* 8025B82C 0025878C 38 A0 00 02 */ li r5, 2 +/* 8025B830 00258790 38 80 00 04 */ li r4, 4 +/* 8025B834 00258794 38 60 00 05 */ li r3, 5 +/* 8025B838 00258798 91 E1 02 1C */ stw r15, 0x21c(r1) +/* 8025B83C 0025879C D0 21 02 20 */ stfs f1, 0x220(r1) +/* 8025B840 002587A0 91 81 02 24 */ stw r12, 0x224(r1) +/* 8025B844 002587A4 91 EE 06 18 */ stw r15, 0x618(r14) +/* 8025B848 002587A8 D0 2B 00 04 */ stfs f1, 4(r11) +/* 8025B84C 002587AC 91 8B 00 08 */ stw r12, 8(r11) +/* 8025B850 002587B0 90 C1 02 10 */ stw r6, 0x210(r1) +/* 8025B854 002587B4 D0 21 02 14 */ stfs f1, 0x214(r1) +/* 8025B858 002587B8 91 81 02 18 */ stw r12, 0x218(r1) +/* 8025B85C 002587BC 90 CB 00 0C */ stw r6, 0xc(r11) +/* 8025B860 002587C0 D0 2B 00 10 */ stfs f1, 0x10(r11) +/* 8025B864 002587C4 91 8B 00 14 */ stw r12, 0x14(r11) +/* 8025B868 002587C8 90 A1 02 04 */ stw r5, 0x204(r1) +/* 8025B86C 002587CC D0 21 02 08 */ stfs f1, 0x208(r1) +/* 8025B870 002587D0 91 81 02 0C */ stw r12, 0x20c(r1) +/* 8025B874 002587D4 90 AB 00 18 */ stw r5, 0x18(r11) +/* 8025B878 002587D8 D0 2B 00 1C */ stfs f1, 0x1c(r11) +/* 8025B87C 002587DC 91 8B 00 20 */ stw r12, 0x20(r11) +/* 8025B880 002587E0 90 C1 01 F8 */ stw r6, 0x1f8(r1) +/* 8025B884 002587E4 D0 01 01 FC */ stfs f0, 0x1fc(r1) +/* 8025B888 002587E8 90 81 02 00 */ stw r4, 0x200(r1) +/* 8025B88C 002587EC 90 CB 00 24 */ stw r6, 0x24(r11) +/* 8025B890 002587F0 D0 0B 00 28 */ stfs f0, 0x28(r11) +/* 8025B894 002587F4 90 8B 00 2C */ stw r4, 0x2c(r11) +/* 8025B898 002587F8 91 E1 01 EC */ stw r15, 0x1ec(r1) +/* 8025B89C 002587FC D0 21 01 F0 */ stfs f1, 0x1f0(r1) +/* 8025B8A0 00258800 91 81 01 F4 */ stw r12, 0x1f4(r1) +/* 8025B8A4 00258804 91 EB 00 30 */ stw r15, 0x30(r11) +/* 8025B8A8 00258808 D0 2B 00 34 */ stfs f1, 0x34(r11) +/* 8025B8AC 0025880C 91 8B 00 38 */ stw r12, 0x38(r11) +/* 8025B8B0 00258810 90 C1 01 E0 */ stw r6, 0x1e0(r1) +/* 8025B8B4 00258814 D0 21 01 E4 */ stfs f1, 0x1e4(r1) +/* 8025B8B8 00258818 91 81 01 E8 */ stw r12, 0x1e8(r1) +/* 8025B8BC 0025881C 90 CB 00 3C */ stw r6, 0x3c(r11) +/* 8025B8C0 00258820 D0 2B 00 40 */ stfs f1, 0x40(r11) +/* 8025B8C4 00258824 91 8B 00 44 */ stw r12, 0x44(r11) +/* 8025B8C8 00258828 90 A1 01 D4 */ stw r5, 0x1d4(r1) +/* 8025B8CC 0025882C D0 21 01 D8 */ stfs f1, 0x1d8(r1) +/* 8025B8D0 00258830 91 81 01 DC */ stw r12, 0x1dc(r1) +/* 8025B8D4 00258834 90 AB 00 48 */ stw r5, 0x48(r11) +/* 8025B8D8 00258838 D0 2B 00 4C */ stfs f1, 0x4c(r11) +/* 8025B8DC 0025883C 91 8B 00 50 */ stw r12, 0x50(r11) +/* 8025B8E0 00258840 90 C1 01 C8 */ stw r6, 0x1c8(r1) +/* 8025B8E4 00258844 D0 01 01 CC */ stfs f0, 0x1cc(r1) +/* 8025B8E8 00258848 90 81 01 D0 */ stw r4, 0x1d0(r1) +/* 8025B8EC 0025884C 90 CB 00 54 */ stw r6, 0x54(r11) +/* 8025B8F0 00258850 D0 0B 00 58 */ stfs f0, 0x58(r11) +/* 8025B8F4 00258854 90 8B 00 5C */ stw r4, 0x5c(r11) +/* 8025B8F8 00258858 90 61 01 BC */ stw r3, 0x1bc(r1) +/* 8025B8FC 0025885C D0 21 01 C0 */ stfs f1, 0x1c0(r1) +/* 8025B900 00258860 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 8025B904 00258864 90 6B 00 60 */ stw r3, 0x60(r11) +/* 8025B908 00258868 D0 2B 00 64 */ stfs f1, 0x64(r11) +/* 8025B90C 0025886C 91 8B 00 68 */ stw r12, 0x68(r11) +/* 8025B910 00258870 91 81 01 B0 */ stw r12, 0x1b0(r1) +/* 8025B914 00258874 D0 21 01 B4 */ stfs f1, 0x1b4(r1) +/* 8025B918 00258878 91 81 01 B8 */ stw r12, 0x1b8(r1) +/* 8025B91C 0025887C 91 8B 00 6C */ stw r12, 0x6c(r11) +/* 8025B920 00258880 D0 2B 00 70 */ stfs f1, 0x70(r11) +/* 8025B924 00258884 91 8B 00 74 */ stw r12, 0x74(r11) +/* 8025B928 00258888 91 8B 00 78 */ stw r12, 0x78(r11) +/* 8025B92C 0025888C D0 2B 00 7C */ stfs f1, 0x7c(r11) +/* 8025B930 00258890 91 8B 00 80 */ stw r12, 0x80(r11) +/* 8025B934 00258894 91 8B 00 84 */ stw r12, 0x84(r11) +/* 8025B938 00258898 D0 2B 00 88 */ stfs f1, 0x88(r11) +/* 8025B93C 0025889C 91 8B 00 8C */ stw r12, 0x8c(r11) +/* 8025B940 002588A0 90 61 01 A4 */ stw r3, 0x1a4(r1) +/* 8025B944 002588A4 D0 21 01 A8 */ stfs f1, 0x1a8(r1) +/* 8025B948 002588A8 91 81 01 AC */ stw r12, 0x1ac(r1) +/* 8025B94C 002588AC 90 6B 00 90 */ stw r3, 0x90(r11) +/* 8025B950 002588B0 D0 2B 00 94 */ stfs f1, 0x94(r11) +/* 8025B954 002588B4 91 8B 00 98 */ stw r12, 0x98(r11) +/* 8025B958 002588B8 38 00 00 01 */ li r0, 1 +/* 8025B95C 002588BC D0 21 01 9C */ stfs f1, 0x19c(r1) +/* 8025B960 002588C0 90 01 01 98 */ stw r0, 0x198(r1) +/* 8025B964 002588C4 91 81 01 A0 */ stw r12, 0x1a0(r1) +/* 8025B968 002588C8 90 0B 00 9C */ stw r0, 0x9c(r11) +/* 8025B96C 002588CC D0 2B 00 A0 */ stfs f1, 0xa0(r11) +/* 8025B970 002588D0 91 8B 00 A4 */ stw r12, 0xa4(r11) +/* 8025B974 002588D4 90 01 01 8C */ stw r0, 0x18c(r1) +/* 8025B978 002588D8 D0 21 01 90 */ stfs f1, 0x190(r1) +/* 8025B97C 002588DC 91 81 01 94 */ stw r12, 0x194(r1) +/* 8025B980 002588E0 90 0B 00 A8 */ stw r0, 0xa8(r11) +/* 8025B984 002588E4 D0 2B 00 AC */ stfs f1, 0xac(r11) +/* 8025B988 002588E8 91 8B 00 B0 */ stw r12, 0xb0(r11) +/* 8025B98C 002588EC 90 01 01 80 */ stw r0, 0x180(r1) +/* 8025B990 002588F0 D0 21 01 84 */ stfs f1, 0x184(r1) +/* 8025B994 002588F4 91 81 01 88 */ stw r12, 0x188(r1) +/* 8025B998 002588F8 90 0B 00 B4 */ stw r0, 0xb4(r11) +/* 8025B99C 002588FC D0 2B 00 B8 */ stfs f1, 0xb8(r11) +/* 8025B9A0 00258900 91 8B 00 BC */ stw r12, 0xbc(r11) +/* 8025B9A4 00258904 90 01 01 74 */ stw r0, 0x174(r1) +/* 8025B9A8 00258908 D0 21 01 78 */ stfs f1, 0x178(r1) +/* 8025B9AC 0025890C 91 81 01 7C */ stw r12, 0x17c(r1) +/* 8025B9B0 00258910 90 0B 00 C0 */ stw r0, 0xc0(r11) +/* 8025B9B4 00258914 D0 2B 00 C4 */ stfs f1, 0xc4(r11) +/* 8025B9B8 00258918 91 8B 00 C8 */ stw r12, 0xc8(r11) +/* 8025B9BC 0025891C 91 81 01 68 */ stw r12, 0x168(r1) +/* 8025B9C0 00258920 D0 21 01 6C */ stfs f1, 0x16c(r1) +/* 8025B9C4 00258924 91 81 01 70 */ stw r12, 0x170(r1) +/* 8025B9C8 00258928 91 8B 00 CC */ stw r12, 0xcc(r11) +/* 8025B9CC 0025892C D0 2B 00 D0 */ stfs f1, 0xd0(r11) +/* 8025B9D0 00258930 91 8B 00 D4 */ stw r12, 0xd4(r11) +/* 8025B9D4 00258934 91 8B 00 D8 */ stw r12, 0xd8(r11) +/* 8025B9D8 00258938 D0 2B 00 DC */ stfs f1, 0xdc(r11) +/* 8025B9DC 0025893C 91 8B 00 E0 */ stw r12, 0xe0(r11) +/* 8025B9E0 00258940 91 8B 00 E4 */ stw r12, 0xe4(r11) +/* 8025B9E4 00258944 D0 2B 00 E8 */ stfs f1, 0xe8(r11) +/* 8025B9E8 00258948 91 8B 00 EC */ stw r12, 0xec(r11) +/* 8025B9EC 0025894C 91 8B 00 F0 */ stw r12, 0xf0(r11) +/* 8025B9F0 00258950 D0 2B 00 F4 */ stfs f1, 0xf4(r11) +/* 8025B9F4 00258954 91 8B 00 F8 */ stw r12, 0xf8(r11) +/* 8025B9F8 00258958 91 8B 00 FC */ stw r12, 0xfc(r11) +/* 8025B9FC 0025895C D0 2B 01 00 */ stfs f1, 0x100(r11) +/* 8025BA00 00258960 91 8B 01 04 */ stw r12, 0x104(r11) +/* 8025BA04 00258964 91 8B 01 08 */ stw r12, 0x108(r11) +/* 8025BA08 00258968 D0 2B 01 0C */ stfs f1, 0x10c(r11) +/* 8025BA0C 0025896C 91 8B 01 10 */ stw r12, 0x110(r11) +/* 8025BA10 00258970 91 8B 01 14 */ stw r12, 0x114(r11) +/* 8025BA14 00258974 D0 2B 01 18 */ stfs f1, 0x118(r11) +/* 8025BA18 00258978 91 8B 01 1C */ stw r12, 0x11c(r11) +/* 8025BA1C 0025897C 90 61 01 5C */ stw r3, 0x15c(r1) +/* 8025BA20 00258980 D0 21 01 60 */ stfs f1, 0x160(r1) +/* 8025BA24 00258984 91 81 01 64 */ stw r12, 0x164(r1) +/* 8025BA28 00258988 90 6B 01 20 */ stw r3, 0x120(r11) +/* 8025BA2C 0025898C D0 2B 01 24 */ stfs f1, 0x124(r11) +/* 8025BA30 00258990 91 8B 01 28 */ stw r12, 0x128(r11) +/* 8025BA34 00258994 91 E1 01 50 */ stw r15, 0x150(r1) +/* 8025BA38 00258998 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 8025BA3C 0025899C 91 81 01 58 */ stw r12, 0x158(r1) +/* 8025BA40 002589A0 91 EB 01 2C */ stw r15, 0x12c(r11) +/* 8025BA44 002589A4 D0 2B 01 30 */ stfs f1, 0x130(r11) +/* 8025BA48 002589A8 91 8B 01 34 */ stw r12, 0x134(r11) +/* 8025BA4C 002589AC 91 E1 01 44 */ stw r15, 0x144(r1) +/* 8025BA50 002589B0 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 8025BA54 002589B4 90 81 01 4C */ stw r4, 0x14c(r1) +/* 8025BA58 002589B8 91 EB 01 38 */ stw r15, 0x138(r11) +/* 8025BA5C 002589BC D0 0B 01 3C */ stfs f0, 0x13c(r11) +/* 8025BA60 002589C0 90 8B 01 40 */ stw r4, 0x140(r11) +/* 8025BA64 002589C4 90 A1 01 38 */ stw r5, 0x138(r1) +/* 8025BA68 002589C8 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 8025BA6C 002589CC 91 81 01 40 */ stw r12, 0x140(r1) +/* 8025BA70 002589D0 90 AB 01 44 */ stw r5, 0x144(r11) +/* 8025BA74 002589D4 D0 2B 01 48 */ stfs f1, 0x148(r11) +/* 8025BA78 002589D8 91 8B 01 4C */ stw r12, 0x14c(r11) +/* 8025BA7C 002589DC 90 C1 01 2C */ stw r6, 0x12c(r1) +/* 8025BA80 002589E0 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 8025BA84 002589E4 90 81 01 34 */ stw r4, 0x134(r1) +/* 8025BA88 002589E8 90 CB 01 50 */ stw r6, 0x150(r11) +/* 8025BA8C 002589EC D0 0B 01 54 */ stfs f0, 0x154(r11) +/* 8025BA90 002589F0 90 8B 01 58 */ stw r4, 0x158(r11) +/* 8025BA94 002589F4 90 A1 01 20 */ stw r5, 0x120(r1) +/* 8025BA98 002589F8 D0 21 01 24 */ stfs f1, 0x124(r1) +/* 8025BA9C 002589FC 91 81 01 28 */ stw r12, 0x128(r1) +/* 8025BAA0 00258A00 90 AB 01 5C */ stw r5, 0x15c(r11) +/* 8025BAA4 00258A04 D0 2B 01 60 */ stfs f1, 0x160(r11) +/* 8025BAA8 00258A08 91 8B 01 64 */ stw r12, 0x164(r11) +/* 8025BAAC 00258A0C 90 C1 01 14 */ stw r6, 0x114(r1) +/* 8025BAB0 00258A10 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 8025BAB4 00258A14 90 81 01 1C */ stw r4, 0x11c(r1) +/* 8025BAB8 00258A18 90 CB 01 68 */ stw r6, 0x168(r11) +/* 8025BABC 00258A1C D0 0B 01 6C */ stfs f0, 0x16c(r11) +/* 8025BAC0 00258A20 90 8B 01 70 */ stw r4, 0x170(r11) +/* 8025BAC4 00258A24 91 E1 01 08 */ stw r15, 0x108(r1) +/* 8025BAC8 00258A28 D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 8025BACC 00258A2C 91 81 01 10 */ stw r12, 0x110(r1) +/* 8025BAD0 00258A30 91 EB 01 74 */ stw r15, 0x174(r11) +/* 8025BAD4 00258A34 D0 2B 01 78 */ stfs f1, 0x178(r11) +/* 8025BAD8 00258A38 91 8B 01 7C */ stw r12, 0x17c(r11) +/* 8025BADC 00258A3C 90 A1 00 FC */ stw r5, 0xfc(r1) +/* 8025BAE0 00258A40 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 8025BAE4 00258A44 90 C1 01 04 */ stw r6, 0x104(r1) +/* 8025BAE8 00258A48 90 AB 01 80 */ stw r5, 0x180(r11) +/* 8025BAEC 00258A4C D0 0B 01 84 */ stfs f0, 0x184(r11) +/* 8025BAF0 00258A50 90 CB 01 88 */ stw r6, 0x188(r11) +/* 8025BAF4 00258A54 90 A1 00 F0 */ stw r5, 0xf0(r1) +/* 8025BAF8 00258A58 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 8025BAFC 00258A5C 91 81 00 F8 */ stw r12, 0xf8(r1) +/* 8025BB00 00258A60 90 AB 01 8C */ stw r5, 0x18c(r11) +/* 8025BB04 00258A64 D0 2B 01 90 */ stfs f1, 0x190(r11) +/* 8025BB08 00258A68 91 8B 01 94 */ stw r12, 0x194(r11) +/* 8025BB0C 00258A6C 91 81 00 E4 */ stw r12, 0xe4(r1) +/* 8025BB10 00258A70 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 8025BB14 00258A74 91 81 00 EC */ stw r12, 0xec(r1) +/* 8025BB18 00258A78 91 8B 01 98 */ stw r12, 0x198(r11) +/* 8025BB1C 00258A7C D0 2B 01 9C */ stfs f1, 0x19c(r11) +/* 8025BB20 00258A80 91 8B 01 A0 */ stw r12, 0x1a0(r11) +/* 8025BB24 00258A84 91 8B 01 A4 */ stw r12, 0x1a4(r11) +/* 8025BB28 00258A88 D0 2B 01 A8 */ stfs f1, 0x1a8(r11) +/* 8025BB2C 00258A8C 91 8B 01 AC */ stw r12, 0x1ac(r11) +/* 8025BB30 00258A90 90 61 00 D8 */ stw r3, 0xd8(r1) +/* 8025BB34 00258A94 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 8025BB38 00258A98 91 81 00 E0 */ stw r12, 0xe0(r1) +/* 8025BB3C 00258A9C 90 6B 01 B0 */ stw r3, 0x1b0(r11) +/* 8025BB40 00258AA0 D0 2B 01 B4 */ stfs f1, 0x1b4(r11) +/* 8025BB44 00258AA4 91 8B 01 B8 */ stw r12, 0x1b8(r11) +/* 8025BB48 00258AA8 90 01 00 CC */ stw r0, 0xcc(r1) +/* 8025BB4C 00258AAC D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8025BB50 00258AB0 91 81 00 D4 */ stw r12, 0xd4(r1) +/* 8025BB54 00258AB4 90 0B 01 BC */ stw r0, 0x1bc(r11) +/* 8025BB58 00258AB8 D0 2B 01 C0 */ stfs f1, 0x1c0(r11) +/* 8025BB5C 00258ABC 91 8B 01 C4 */ stw r12, 0x1c4(r11) +/* 8025BB60 00258AC0 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8025BB64 00258AC4 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 8025BB68 00258AC8 91 81 00 C8 */ stw r12, 0xc8(r1) +/* 8025BB6C 00258ACC 90 0B 01 C8 */ stw r0, 0x1c8(r11) +/* 8025BB70 00258AD0 D0 2B 01 CC */ stfs f1, 0x1cc(r11) +/* 8025BB74 00258AD4 91 8B 01 D0 */ stw r12, 0x1d0(r11) +/* 8025BB78 00258AD8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8025BB7C 00258ADC D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8025BB80 00258AE0 91 81 00 BC */ stw r12, 0xbc(r1) +/* 8025BB84 00258AE4 90 0B 01 D4 */ stw r0, 0x1d4(r11) +/* 8025BB88 00258AE8 D0 2B 01 D8 */ stfs f1, 0x1d8(r11) +/* 8025BB8C 00258AEC 91 8B 01 DC */ stw r12, 0x1dc(r11) +/* 8025BB90 00258AF0 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8025BB94 00258AF4 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8025BB98 00258AF8 91 81 00 B0 */ stw r12, 0xb0(r1) +/* 8025BB9C 00258AFC 90 0B 01 E0 */ stw r0, 0x1e0(r11) +/* 8025BBA0 00258B00 D0 2B 01 E4 */ stfs f1, 0x1e4(r11) +/* 8025BBA4 00258B04 91 8B 01 E8 */ stw r12, 0x1e8(r11) +/* 8025BBA8 00258B08 91 81 00 9C */ stw r12, 0x9c(r1) +/* 8025BBAC 00258B0C D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8025BBB0 00258B10 91 81 00 A4 */ stw r12, 0xa4(r1) +/* 8025BBB4 00258B14 91 8B 01 EC */ stw r12, 0x1ec(r11) +/* 8025BBB8 00258B18 D0 2B 01 F0 */ stfs f1, 0x1f0(r11) +/* 8025BBBC 00258B1C 91 8B 01 F4 */ stw r12, 0x1f4(r11) +/* 8025BBC0 00258B20 91 8B 01 F8 */ stw r12, 0x1f8(r11) +/* 8025BBC4 00258B24 D0 2B 01 FC */ stfs f1, 0x1fc(r11) +/* 8025BBC8 00258B28 91 8B 02 00 */ stw r12, 0x200(r11) +/* 8025BBCC 00258B2C 91 8B 02 04 */ stw r12, 0x204(r11) +/* 8025BBD0 00258B30 D0 2B 02 08 */ stfs f1, 0x208(r11) +/* 8025BBD4 00258B34 91 8B 02 0C */ stw r12, 0x20c(r11) +/* 8025BBD8 00258B38 91 8B 02 10 */ stw r12, 0x210(r11) +/* 8025BBDC 00258B3C D0 2B 02 14 */ stfs f1, 0x214(r11) +/* 8025BBE0 00258B40 91 8B 02 18 */ stw r12, 0x218(r11) +/* 8025BBE4 00258B44 91 8B 02 1C */ stw r12, 0x21c(r11) +/* 8025BBE8 00258B48 D0 2B 02 20 */ stfs f1, 0x220(r11) +/* 8025BBEC 00258B4C 91 8B 02 24 */ stw r12, 0x224(r11) +/* 8025BBF0 00258B50 91 8B 02 28 */ stw r12, 0x228(r11) +/* 8025BBF4 00258B54 D0 2B 02 2C */ stfs f1, 0x22c(r11) +/* 8025BBF8 00258B58 91 8B 02 30 */ stw r12, 0x230(r11) +/* 8025BBFC 00258B5C 91 8B 02 34 */ stw r12, 0x234(r11) +/* 8025BC00 00258B60 D0 2B 02 38 */ stfs f1, 0x238(r11) +/* 8025BC04 00258B64 91 8B 02 3C */ stw r12, 0x23c(r11) +/* 8025BC08 00258B68 90 61 00 90 */ stw r3, 0x90(r1) +/* 8025BC0C 00258B6C D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8025BC10 00258B70 91 81 00 98 */ stw r12, 0x98(r1) +/* 8025BC14 00258B74 90 6B 02 40 */ stw r3, 0x240(r11) +/* 8025BC18 00258B78 D0 2B 02 44 */ stfs f1, 0x244(r11) +/* 8025BC1C 00258B7C 91 8B 02 48 */ stw r12, 0x248(r11) +/* 8025BC20 00258B80 91 E1 00 84 */ stw r15, 0x84(r1) +/* 8025BC24 00258B84 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8025BC28 00258B88 91 81 00 8C */ stw r12, 0x8c(r1) +/* 8025BC2C 00258B8C 91 EB 02 4C */ stw r15, 0x24c(r11) +/* 8025BC30 00258B90 D0 2B 02 50 */ stfs f1, 0x250(r11) +/* 8025BC34 00258B94 91 8B 02 54 */ stw r12, 0x254(r11) +/* 8025BC38 00258B98 91 E1 00 78 */ stw r15, 0x78(r1) +/* 8025BC3C 00258B9C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8025BC40 00258BA0 90 C1 00 80 */ stw r6, 0x80(r1) +/* 8025BC44 00258BA4 91 EB 02 58 */ stw r15, 0x258(r11) +/* 8025BC48 00258BA8 D0 0B 02 5C */ stfs f0, 0x25c(r11) +/* 8025BC4C 00258BAC 90 CB 02 60 */ stw r6, 0x260(r11) +/* 8025BC50 00258BB0 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8025BC54 00258BB4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8025BC58 00258BB8 91 81 00 74 */ stw r12, 0x74(r1) +/* 8025BC5C 00258BBC 90 CB 02 64 */ stw r6, 0x264(r11) +/* 8025BC60 00258BC0 D0 2B 02 68 */ stfs f1, 0x268(r11) +/* 8025BC64 00258BC4 91 8B 02 6C */ stw r12, 0x26c(r11) +/* 8025BC68 00258BC8 91 E1 00 60 */ stw r15, 0x60(r1) +/* 8025BC6C 00258BCC D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8025BC70 00258BD0 90 C1 00 68 */ stw r6, 0x68(r1) +/* 8025BC74 00258BD4 91 EB 02 70 */ stw r15, 0x270(r11) +/* 8025BC78 00258BD8 D0 0B 02 74 */ stfs f0, 0x274(r11) +/* 8025BC7C 00258BDC 90 CB 02 78 */ stw r6, 0x278(r11) +/* 8025BC80 00258BE0 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8025BC84 00258BE4 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8025BC88 00258BE8 91 81 00 5C */ stw r12, 0x5c(r1) +/* 8025BC8C 00258BEC 90 AB 02 7C */ stw r5, 0x27c(r11) +/* 8025BC90 00258BF0 D0 2B 02 80 */ stfs f1, 0x280(r11) +/* 8025BC94 00258BF4 91 8B 02 84 */ stw r12, 0x284(r11) +/* 8025BC98 00258BF8 90 A1 00 48 */ stw r5, 0x48(r1) +/* 8025BC9C 00258BFC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8025BCA0 00258C00 90 81 00 50 */ stw r4, 0x50(r1) +/* 8025BCA4 00258C04 90 AB 02 88 */ stw r5, 0x288(r11) +/* 8025BCA8 00258C08 D0 0B 02 8C */ stfs f0, 0x28c(r11) +/* 8025BCAC 00258C0C 90 8B 02 90 */ stw r4, 0x290(r11) +/* 8025BCB0 00258C10 91 E1 00 3C */ stw r15, 0x3c(r1) +/* 8025BCB4 00258C14 91 EB 02 94 */ stw r15, 0x294(r11) +/* 8025BCB8 00258C18 38 00 00 06 */ li r0, 6 +/* 8025BCBC 00258C1C 38 61 06 30 */ addi r3, r1, 0x630 +/* 8025BCC0 00258C20 38 80 00 06 */ li r4, 6 +/* 8025BCC4 00258C24 D0 2B 02 98 */ stfs f1, 0x298(r11) +/* 8025BCC8 00258C28 38 A0 00 06 */ li r5, 6 +/* 8025BCCC 00258C2C 38 C0 00 06 */ li r6, 6 +/* 8025BCD0 00258C30 38 E0 00 06 */ li r7, 6 +/* 8025BCD4 00258C34 91 8B 02 9C */ stw r12, 0x29c(r11) +/* 8025BCD8 00258C38 39 00 00 06 */ li r8, 6 +/* 8025BCDC 00258C3C 39 20 00 06 */ li r9, 6 +/* 8025BCE0 00258C40 39 40 00 06 */ li r10, 6 +/* 8025BCE4 00258C44 91 8B 02 A0 */ stw r12, 0x2a0(r11) +/* 8025BCE8 00258C48 D0 2B 02 A4 */ stfs f1, 0x2a4(r11) +/* 8025BCEC 00258C4C 91 8B 02 A8 */ stw r12, 0x2a8(r11) +/* 8025BCF0 00258C50 91 8B 02 AC */ stw r12, 0x2ac(r11) +/* 8025BCF4 00258C54 D0 2B 02 B0 */ stfs f1, 0x2b0(r11) +/* 8025BCF8 00258C58 91 8B 02 B4 */ stw r12, 0x2b4(r11) +/* 8025BCFC 00258C5C 91 8B 02 B8 */ stw r12, 0x2b8(r11) +/* 8025BD00 00258C60 D0 2B 02 BC */ stfs f1, 0x2bc(r11) +/* 8025BD04 00258C64 91 8B 02 C0 */ stw r12, 0x2c0(r11) +/* 8025BD08 00258C68 91 8B 02 C4 */ stw r12, 0x2c4(r11) +/* 8025BD0C 00258C6C D0 2B 02 C8 */ stfs f1, 0x2c8(r11) +/* 8025BD10 00258C70 91 8B 02 CC */ stw r12, 0x2cc(r11) +/* 8025BD14 00258C74 90 01 00 08 */ stw r0, 8(r1) +/* 8025BD18 00258C78 90 01 00 0C */ stw r0, 0xc(r1) +/* 8025BD1C 00258C7C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025BD20 00258C80 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025BD24 00258C84 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025BD28 00258C88 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025BD2C 00258C8C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8025BD30 00258C90 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025BD34 00258C94 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8025BD38 00258C98 91 81 00 44 */ stw r12, 0x44(r1) +/* 8025BD3C 00258C9C 91 81 00 30 */ stw r12, 0x30(r1) +/* 8025BD40 00258CA0 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8025BD44 00258CA4 91 81 00 38 */ stw r12, 0x38(r1) +/* 8025BD48 00258CA8 91 E1 00 28 */ stw r15, 0x28(r1) +/* 8025BD4C 00258CAC 4B EA 6B E9 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 8025BD50 00258CB0 81 E1 06 78 */ lwz r15, 0x678(r1) +/* 8025BD54 00258CB4 3C 60 80 57 */ lis r3, lbl_80572544@ha +/* 8025BD58 00258CB8 3A 03 25 44 */ addi r16, r3, lbl_80572544@l +/* 8025BD5C 00258CBC 81 61 06 70 */ lwz r11, 0x670(r1) +/* 8025BD60 00258CC0 91 E1 06 B4 */ stw r15, 0x6b4(r1) +/* 8025BD64 00258CC4 38 00 00 06 */ li r0, 6 +/* 8025BD68 00258CC8 81 E1 06 7C */ lwz r15, 0x67c(r1) +/* 8025BD6C 00258CCC 38 61 05 C8 */ addi r3, r1, 0x5c8 +/* 8025BD70 00258CD0 91 70 00 40 */ stw r11, 0x40(r16) +/* 8025BD74 00258CD4 38 80 00 06 */ li r4, 6 +/* 8025BD78 00258CD8 81 61 06 B4 */ lwz r11, 0x6b4(r1) +/* 8025BD7C 00258CDC 38 A0 00 05 */ li r5, 5 +/* 8025BD80 00258CE0 91 E1 06 98 */ stw r15, 0x698(r1) +/* 8025BD84 00258CE4 38 C0 00 06 */ li r6, 6 +/* 8025BD88 00258CE8 81 E1 06 80 */ lwz r15, 0x680(r1) +/* 8025BD8C 00258CEC 38 E0 00 06 */ li r7, 6 +/* 8025BD90 00258CF0 91 70 00 48 */ stw r11, 0x48(r16) +/* 8025BD94 00258CF4 39 00 00 06 */ li r8, 6 +/* 8025BD98 00258CF8 81 61 06 98 */ lwz r11, 0x698(r1) +/* 8025BD9C 00258CFC 39 20 00 06 */ li r9, 6 +/* 8025BDA0 00258D00 91 E1 06 9C */ stw r15, 0x69c(r1) +/* 8025BDA4 00258D04 39 40 00 06 */ li r10, 6 +/* 8025BDA8 00258D08 81 E1 06 84 */ lwz r15, 0x684(r1) +/* 8025BDAC 00258D0C 91 70 00 4C */ stw r11, 0x4c(r16) +/* 8025BDB0 00258D10 81 61 06 9C */ lwz r11, 0x69c(r1) +/* 8025BDB4 00258D14 91 E1 06 A0 */ stw r15, 0x6a0(r1) +/* 8025BDB8 00258D18 81 E1 06 88 */ lwz r15, 0x688(r1) +/* 8025BDBC 00258D1C 91 70 00 50 */ stw r11, 0x50(r16) +/* 8025BDC0 00258D20 81 61 06 A0 */ lwz r11, 0x6a0(r1) +/* 8025BDC4 00258D24 91 E1 06 A4 */ stw r15, 0x6a4(r1) +/* 8025BDC8 00258D28 81 E1 06 8C */ lwz r15, 0x68c(r1) +/* 8025BDCC 00258D2C 91 70 00 54 */ stw r11, 0x54(r16) +/* 8025BDD0 00258D30 81 61 06 A4 */ lwz r11, 0x6a4(r1) +/* 8025BDD4 00258D34 91 E1 06 A8 */ stw r15, 0x6a8(r1) +/* 8025BDD8 00258D38 81 E1 06 90 */ lwz r15, 0x690(r1) +/* 8025BDDC 00258D3C 91 70 00 58 */ stw r11, 0x58(r16) +/* 8025BDE0 00258D40 81 61 06 A8 */ lwz r11, 0x6a8(r1) +/* 8025BDE4 00258D44 91 E1 06 AC */ stw r15, 0x6ac(r1) +/* 8025BDE8 00258D48 81 E1 06 94 */ lwz r15, 0x694(r1) +/* 8025BDEC 00258D4C 91 70 00 5C */ stw r11, 0x5c(r16) +/* 8025BDF0 00258D50 81 61 06 AC */ lwz r11, 0x6ac(r1) +/* 8025BDF4 00258D54 82 21 06 30 */ lwz r17, 0x630(r1) +/* 8025BDF8 00258D58 82 41 06 34 */ lwz r18, 0x634(r1) +/* 8025BDFC 00258D5C 82 61 06 38 */ lwz r19, 0x638(r1) +/* 8025BE00 00258D60 82 81 06 3C */ lwz r20, 0x63c(r1) +/* 8025BE04 00258D64 82 A1 06 40 */ lwz r21, 0x640(r1) +/* 8025BE08 00258D68 82 C1 06 44 */ lwz r22, 0x644(r1) +/* 8025BE0C 00258D6C 82 E1 06 48 */ lwz r23, 0x648(r1) +/* 8025BE10 00258D70 83 01 06 4C */ lwz r24, 0x64c(r1) +/* 8025BE14 00258D74 83 21 06 50 */ lwz r25, 0x650(r1) +/* 8025BE18 00258D78 83 41 06 54 */ lwz r26, 0x654(r1) +/* 8025BE1C 00258D7C 83 61 06 58 */ lwz r27, 0x658(r1) +/* 8025BE20 00258D80 83 81 06 5C */ lwz r28, 0x65c(r1) +/* 8025BE24 00258D84 83 A1 06 60 */ lwz r29, 0x660(r1) +/* 8025BE28 00258D88 83 C1 06 64 */ lwz r30, 0x664(r1) +/* 8025BE2C 00258D8C 83 E1 06 68 */ lwz r31, 0x668(r1) +/* 8025BE30 00258D90 81 81 06 6C */ lwz r12, 0x66c(r1) +/* 8025BE34 00258D94 81 C1 06 74 */ lwz r14, 0x674(r1) +/* 8025BE38 00258D98 91 70 00 60 */ stw r11, 0x60(r16) +/* 8025BE3C 00258D9C 7D EB 7B 78 */ mr r11, r15 +/* 8025BE40 00258DA0 92 30 00 00 */ stw r17, 0(r16) +/* 8025BE44 00258DA4 92 50 00 04 */ stw r18, 4(r16) +/* 8025BE48 00258DA8 92 70 00 08 */ stw r19, 8(r16) +/* 8025BE4C 00258DAC 92 90 00 0C */ stw r20, 0xc(r16) +/* 8025BE50 00258DB0 92 B0 00 10 */ stw r21, 0x10(r16) +/* 8025BE54 00258DB4 92 D0 00 14 */ stw r22, 0x14(r16) +/* 8025BE58 00258DB8 92 F0 00 18 */ stw r23, 0x18(r16) +/* 8025BE5C 00258DBC 93 10 00 1C */ stw r24, 0x1c(r16) +/* 8025BE60 00258DC0 93 30 00 20 */ stw r25, 0x20(r16) +/* 8025BE64 00258DC4 93 50 00 24 */ stw r26, 0x24(r16) +/* 8025BE68 00258DC8 93 70 00 28 */ stw r27, 0x28(r16) +/* 8025BE6C 00258DCC 93 90 00 2C */ stw r28, 0x2c(r16) +/* 8025BE70 00258DD0 93 B0 00 30 */ stw r29, 0x30(r16) +/* 8025BE74 00258DD4 93 D0 00 34 */ stw r30, 0x34(r16) +/* 8025BE78 00258DD8 93 F0 00 38 */ stw r31, 0x38(r16) +/* 8025BE7C 00258DDC 91 90 00 3C */ stw r12, 0x3c(r16) +/* 8025BE80 00258DE0 91 D0 00 44 */ stw r14, 0x44(r16) +/* 8025BE84 00258DE4 91 70 00 64 */ stw r11, 0x64(r16) +/* 8025BE88 00258DE8 90 01 00 08 */ stw r0, 8(r1) +/* 8025BE8C 00258DEC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8025BE90 00258DF0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025BE94 00258DF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025BE98 00258DF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025BE9C 00258DFC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025BEA0 00258E00 90 01 00 20 */ stw r0, 0x20(r1) +/* 8025BEA4 00258E04 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025BEA8 00258E08 38 00 00 00 */ li r0, 0 +/* 8025BEAC 00258E0C 91 E1 06 B0 */ stw r15, 0x6b0(r1) +/* 8025BEB0 00258E10 90 01 00 28 */ stw r0, 0x28(r1) +/* 8025BEB4 00258E14 4B EA 6A 81 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 8025BEB8 00258E18 3C 60 80 57 */ lis r3, lbl_805725AC@ha +/* 8025BEBC 00258E1C 83 81 05 C8 */ lwz r28, 0x5c8(r1) +/* 8025BEC0 00258E20 3B A3 25 AC */ addi r29, r3, lbl_805725AC@l +/* 8025BEC4 00258E24 83 61 05 CC */ lwz r27, 0x5cc(r1) +/* 8025BEC8 00258E28 83 41 05 D0 */ lwz r26, 0x5d0(r1) +/* 8025BECC 00258E2C 83 21 05 D4 */ lwz r25, 0x5d4(r1) +/* 8025BED0 00258E30 83 01 05 D8 */ lwz r24, 0x5d8(r1) +/* 8025BED4 00258E34 82 E1 05 DC */ lwz r23, 0x5dc(r1) +/* 8025BED8 00258E38 82 C1 05 E0 */ lwz r22, 0x5e0(r1) +/* 8025BEDC 00258E3C 82 A1 05 E4 */ lwz r21, 0x5e4(r1) +/* 8025BEE0 00258E40 82 81 05 E8 */ lwz r20, 0x5e8(r1) +/* 8025BEE4 00258E44 82 61 05 EC */ lwz r19, 0x5ec(r1) +/* 8025BEE8 00258E48 82 41 05 F0 */ lwz r18, 0x5f0(r1) +/* 8025BEEC 00258E4C 82 21 05 F4 */ lwz r17, 0x5f4(r1) +/* 8025BEF0 00258E50 82 01 05 F8 */ lwz r16, 0x5f8(r1) +/* 8025BEF4 00258E54 81 E1 05 FC */ lwz r15, 0x5fc(r1) +/* 8025BEF8 00258E58 81 C1 06 00 */ lwz r14, 0x600(r1) +/* 8025BEFC 00258E5C 81 81 06 04 */ lwz r12, 0x604(r1) +/* 8025BF00 00258E60 81 61 06 08 */ lwz r11, 0x608(r1) +/* 8025BF04 00258E64 81 41 06 0C */ lwz r10, 0x60c(r1) +/* 8025BF08 00258E68 81 21 06 10 */ lwz r9, 0x610(r1) +/* 8025BF0C 00258E6C 81 01 06 14 */ lwz r8, 0x614(r1) +/* 8025BF10 00258E70 80 E1 06 18 */ lwz r7, 0x618(r1) +/* 8025BF14 00258E74 80 C1 06 1C */ lwz r6, 0x61c(r1) +/* 8025BF18 00258E78 80 A1 06 20 */ lwz r5, 0x620(r1) +/* 8025BF1C 00258E7C 80 81 06 24 */ lwz r4, 0x624(r1) +/* 8025BF20 00258E80 80 61 06 28 */ lwz r3, 0x628(r1) +/* 8025BF24 00258E84 80 01 06 2C */ lwz r0, 0x62c(r1) +/* 8025BF28 00258E88 93 9D 00 00 */ stw r28, 0(r29) +/* 8025BF2C 00258E8C 93 7D 00 04 */ stw r27, 4(r29) +/* 8025BF30 00258E90 93 5D 00 08 */ stw r26, 8(r29) +/* 8025BF34 00258E94 93 3D 00 0C */ stw r25, 0xc(r29) +/* 8025BF38 00258E98 93 1D 00 10 */ stw r24, 0x10(r29) +/* 8025BF3C 00258E9C 92 FD 00 14 */ stw r23, 0x14(r29) +/* 8025BF40 00258EA0 92 DD 00 18 */ stw r22, 0x18(r29) +/* 8025BF44 00258EA4 92 BD 00 1C */ stw r21, 0x1c(r29) +/* 8025BF48 00258EA8 92 9D 00 20 */ stw r20, 0x20(r29) +/* 8025BF4C 00258EAC 92 7D 00 24 */ stw r19, 0x24(r29) +/* 8025BF50 00258EB0 92 5D 00 28 */ stw r18, 0x28(r29) +/* 8025BF54 00258EB4 92 3D 00 2C */ stw r17, 0x2c(r29) +/* 8025BF58 00258EB8 92 1D 00 30 */ stw r16, 0x30(r29) +/* 8025BF5C 00258EBC 91 FD 00 34 */ stw r15, 0x34(r29) +/* 8025BF60 00258EC0 91 DD 00 38 */ stw r14, 0x38(r29) +/* 8025BF64 00258EC4 91 9D 00 3C */ stw r12, 0x3c(r29) +/* 8025BF68 00258EC8 91 7D 00 40 */ stw r11, 0x40(r29) +/* 8025BF6C 00258ECC 91 5D 00 44 */ stw r10, 0x44(r29) +/* 8025BF70 00258ED0 91 3D 00 48 */ stw r9, 0x48(r29) +/* 8025BF74 00258ED4 91 1D 00 4C */ stw r8, 0x4c(r29) +/* 8025BF78 00258ED8 90 FD 00 50 */ stw r7, 0x50(r29) +/* 8025BF7C 00258EDC 90 DD 00 54 */ stw r6, 0x54(r29) +/* 8025BF80 00258EE0 90 BD 00 58 */ stw r5, 0x58(r29) +/* 8025BF84 00258EE4 90 9D 00 5C */ stw r4, 0x5c(r29) +/* 8025BF88 00258EE8 90 7D 00 60 */ stw r3, 0x60(r29) +/* 8025BF8C 00258EEC 90 1D 00 64 */ stw r0, 0x64(r29) +/* 8025BF90 00258EF0 B9 C1 06 B8 */ lmw r14, 0x6b8(r1) +/* 8025BF94 00258EF4 80 01 07 04 */ lwz r0, 0x704(r1) +/* 8025BF98 00258EF8 7C 08 03 A6 */ mtlr r0 +/* 8025BF9C 00258EFC 38 21 07 00 */ addi r1, r1, 0x700 +/* 8025BFA0 00258F00 4E 80 00 20 */ blr + +.global sub_8025bfa4 +sub_8025bfa4: +/* 8025BFA4 00258F04 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8025BFA8 00258F08 7C 08 02 A6 */ mflr r0 +/* 8025BFAC 00258F0C 90 01 01 14 */ stw r0, 0x114(r1) +/* 8025BFB0 00258F10 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 8025BFB4 00258F14 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 8025BFB8 00258F18 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 8025BFBC 00258F1C F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 8025BFC0 00258F20 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 8025BFC4 00258F24 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 8025BFC8 00258F28 DB 81 00 D0 */ stfd f28, 0xd0(r1) +/* 8025BFCC 00258F2C F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 +/* 8025BFD0 00258F30 DB 61 00 C0 */ stfd f27, 0xc0(r1) +/* 8025BFD4 00258F34 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 +/* 8025BFD8 00258F38 DB 41 00 B0 */ stfd f26, 0xb0(r1) +/* 8025BFDC 00258F3C F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 +/* 8025BFE0 00258F40 BF 21 00 94 */ stmw r25, 0x94(r1) +/* 8025BFE4 00258F44 7C 7D 1B 78 */ mr r29, r3 +/* 8025BFE8 00258F48 7C 9E 23 78 */ mr r30, r4 +/* 8025BFEC 00258F4C 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8025BFF0 00258F50 C0 03 00 04 */ lfs f0, 4(r3) +/* 8025BFF4 00258F54 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8025BFF8 00258F58 C0 03 00 08 */ lfs f0, 8(r3) +/* 8025BFFC 00258F5C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8025C000 00258F60 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8025C004 00258F64 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8025C008 00258F68 80 1D 05 D4 */ lwz r0, 0x5d4(r29) +/* 8025C00C 00258F6C 2C 00 00 00 */ cmpwi r0, 0 +/* 8025C010 00258F70 40 82 00 7C */ bne lbl_8025C08C +/* 8025C014 00258F74 3C 60 80 3F */ lis r3, lbl_803E9688@ha +/* 8025C018 00258F78 3B 9D 05 D8 */ addi r28, r29, 0x5d8 +/* 8025C01C 00258F7C 3B E3 96 88 */ addi r31, r3, lbl_803E9688@l +/* 8025C020 00258F80 3B 40 00 00 */ li r26, 0 +lbl_8025C024: +/* 8025C024 00258F84 80 9F 00 00 */ lwz r4, 0(r31) +/* 8025C028 00258F88 38 61 00 40 */ addi r3, r1, 0x40 +/* 8025C02C 00258F8C 4B DA 8C 8D */ bl string_l__4rstlFPCc +/* 8025C030 00258F90 7F A4 EB 78 */ mr r4, r29 +/* 8025C034 00258F94 38 61 00 5C */ addi r3, r1, 0x5c +/* 8025C038 00258F98 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8025C03C 00258F9C 4B DF 6E 95 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025C040 00258FA0 80 1D 05 D4 */ lwz r0, 0x5d4(r29) +/* 8025C044 00258FA4 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8025C048 00258FA8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8025C04C 00258FAC C0 21 00 70 */ lfs f1, 0x70(r1) +/* 8025C050 00258FB0 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8025C054 00258FB4 7C 7C 02 15 */ add. r3, r28, r0 +/* 8025C058 00258FB8 41 82 00 10 */ beq lbl_8025C068 +/* 8025C05C 00258FBC D0 03 00 00 */ stfs f0, 0(r3) +/* 8025C060 00258FC0 D0 23 00 04 */ stfs f1, 4(r3) +/* 8025C064 00258FC4 D0 43 00 08 */ stfs f2, 8(r3) +lbl_8025C068: +/* 8025C068 00258FC8 80 9D 05 D4 */ lwz r4, 0x5d4(r29) +/* 8025C06C 00258FCC 38 61 00 40 */ addi r3, r1, 0x40 +/* 8025C070 00258FD0 38 04 00 01 */ addi r0, r4, 1 +/* 8025C074 00258FD4 90 1D 05 D4 */ stw r0, 0x5d4(r29) +/* 8025C078 00258FD8 48 0E 1A 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025C07C 00258FDC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8025C080 00258FE0 3B FF 00 04 */ addi r31, r31, 4 +/* 8025C084 00258FE4 2C 1A 00 0E */ cmpwi r26, 0xe +/* 8025C088 00258FE8 41 80 FF 9C */ blt lbl_8025C024 +lbl_8025C08C: +/* 8025C08C 00258FEC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8025C090 00258FF0 48 0B 86 69 */ bl CanBeNormalized__9CVector3fCFv +/* 8025C094 00258FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025C098 00258FF8 41 82 00 FC */ beq lbl_8025C194 +/* 8025C09C 00258FFC 38 61 00 34 */ addi r3, r1, 0x34 +/* 8025C0A0 00259000 38 81 00 50 */ addi r4, r1, 0x50 +/* 8025C0A4 00259004 48 0B 87 AD */ bl AsNormalized__9CVector3fCFv +/* 8025C0A8 00259008 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 8025C0AC 0025900C 3C 60 80 3F */ lis r3, lbl_803E9650@ha +/* 8025C0B0 00259010 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8025C0B4 00259014 3B 63 96 50 */ addi r27, r3, lbl_803E9650@l +/* 8025C0B8 00259018 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8025C0BC 0025901C FF E0 10 50 */ fneg f31, f2 +/* 8025C0C0 00259020 FF C0 08 50 */ fneg f30, f1 +/* 8025C0C4 00259024 3B 9D 05 D8 */ addi r28, r29, 0x5d8 +/* 8025C0C8 00259028 FF A0 00 50 */ fneg f29, f0 +/* 8025C0CC 0025902C 3B E0 00 00 */ li r31, 0 +lbl_8025C0D0: +/* 8025C0D0 00259030 7F 85 E3 78 */ mr r5, r28 +/* 8025C0D4 00259034 38 61 00 28 */ addi r3, r1, 0x28 +/* 8025C0D8 00259038 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8025C0DC 0025903C 48 0B 69 A5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8025C0E0 00259040 C3 81 00 28 */ lfs f28, 0x28(r1) +/* 8025C0E4 00259044 C3 61 00 2C */ lfs f27, 0x2c(r1) +/* 8025C0E8 00259048 C3 41 00 30 */ lfs f26, 0x30(r1) +/* 8025C0EC 0025904C C0 22 B9 E8 */ lfs f1, lbl_805AD708@sda21(r2) +/* 8025C0F0 00259050 48 0B 8C 55 */ bl FastCosR__5CMathFf +/* 8025C0F4 00259054 EC 1E 06 F2 */ fmuls f0, f30, f27 +/* 8025C0F8 00259058 EC 1F 07 3A */ fmadds f0, f31, f28, f0 +/* 8025C0FC 0025905C EC 1D 06 BA */ fmadds f0, f29, f26, f0 +/* 8025C100 00259060 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8025C104 00259064 7C 80 00 26 */ mfcr r4 +/* 8025C108 00259068 38 00 00 01 */ li r0, 1 +/* 8025C10C 0025906C 80 7D 05 D0 */ lwz r3, 0x5d0(r29) +/* 8025C110 00259070 7C 1A F8 30 */ slw r26, r0, r31 +/* 8025C114 00259074 54 99 17 FE */ rlwinm r25, r4, 2, 0x1f, 0x1f +/* 8025C118 00259078 7C 63 D0 38 */ and r3, r3, r26 +/* 8025C11C 0025907C 7C 03 00 D0 */ neg r0, r3 +/* 8025C120 00259080 7C 00 1B 78 */ or r0, r0, r3 +/* 8025C124 00259084 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8025C128 00259088 7C 00 C8 40 */ cmplw r0, r25 +/* 8025C12C 0025908C 41 82 00 30 */ beq lbl_8025C15C +/* 8025C130 00259090 80 9B 00 00 */ lwz r4, 0(r27) +/* 8025C134 00259094 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025C138 00259098 4B DA 8B 81 */ bl string_l__4rstlFPCc +/* 8025C13C 0025909C 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8025C140 002590A0 7F 25 CB 78 */ mr r5, r25 +/* 8025C144 002590A4 7F C6 F3 78 */ mr r6, r30 +/* 8025C148 002590A8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8025C14C 002590AC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8025C150 002590B0 4B DC EC 71 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8025C154 002590B4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025C158 002590B8 48 0E 19 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8025C15C: +/* 8025C15C 002590BC 28 19 00 00 */ cmplwi r25, 0 +/* 8025C160 002590C0 41 82 00 10 */ beq lbl_8025C170 +/* 8025C164 002590C4 80 1D 05 D0 */ lwz r0, 0x5d0(r29) +/* 8025C168 002590C8 7C 00 D3 78 */ or r0, r0, r26 +/* 8025C16C 002590CC 48 00 00 0C */ b lbl_8025C178 +lbl_8025C170: +/* 8025C170 002590D0 80 7D 05 D0 */ lwz r3, 0x5d0(r29) +/* 8025C174 002590D4 7C 60 D0 78 */ andc r0, r3, r26 +lbl_8025C178: +/* 8025C178 002590D8 3B FF 00 01 */ addi r31, r31, 1 +/* 8025C17C 002590DC 90 1D 05 D0 */ stw r0, 0x5d0(r29) +/* 8025C180 002590E0 2C 1F 00 0E */ cmpwi r31, 0xe +/* 8025C184 002590E4 3B 9C 00 0C */ addi r28, r28, 0xc +/* 8025C188 002590E8 3B 7B 00 04 */ addi r27, r27, 4 +/* 8025C18C 002590EC 41 80 FF 44 */ blt lbl_8025C0D0 +/* 8025C190 002590F0 48 00 00 68 */ b lbl_8025C1F8 +lbl_8025C194: +/* 8025C194 002590F4 3C 60 80 3F */ lis r3, lbl_803E9650@ha +/* 8025C198 002590F8 3B 20 00 00 */ li r25, 0 +/* 8025C19C 002590FC 3B 63 96 50 */ addi r27, r3, lbl_803E9650@l +/* 8025C1A0 00259100 3B E0 00 01 */ li r31, 1 +lbl_8025C1A4: +/* 8025C1A4 00259104 80 7D 05 D0 */ lwz r3, 0x5d0(r29) +/* 8025C1A8 00259108 7F E0 C8 30 */ slw r0, r31, r25 +/* 8025C1AC 0025910C 7C 60 00 39 */ and. r0, r3, r0 +/* 8025C1B0 00259110 41 82 00 30 */ beq lbl_8025C1E0 +/* 8025C1B4 00259114 80 9B 00 00 */ lwz r4, 0(r27) +/* 8025C1B8 00259118 38 61 00 08 */ addi r3, r1, 8 +/* 8025C1BC 0025911C 4B DA 8A FD */ bl string_l__4rstlFPCc +/* 8025C1C0 00259120 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8025C1C4 00259124 7F C6 F3 78 */ mr r6, r30 +/* 8025C1C8 00259128 38 81 00 08 */ addi r4, r1, 8 +/* 8025C1CC 0025912C 38 A0 00 00 */ li r5, 0 +/* 8025C1D0 00259130 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8025C1D4 00259134 4B DC EB ED */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8025C1D8 00259138 38 61 00 08 */ addi r3, r1, 8 +/* 8025C1DC 0025913C 48 0E 19 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8025C1E0: +/* 8025C1E0 00259140 3B 39 00 01 */ addi r25, r25, 1 +/* 8025C1E4 00259144 3B 7B 00 04 */ addi r27, r27, 4 +/* 8025C1E8 00259148 2C 19 00 0E */ cmpwi r25, 0xe +/* 8025C1EC 0025914C 41 80 FF B8 */ blt lbl_8025C1A4 +/* 8025C1F0 00259150 38 00 00 00 */ li r0, 0 +/* 8025C1F4 00259154 90 1D 05 D0 */ stw r0, 0x5d0(r29) +lbl_8025C1F8: +/* 8025C1F8 00259158 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 8025C1FC 0025915C CB E1 01 00 */ lfd f31, 0x100(r1) +/* 8025C200 00259160 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 8025C204 00259164 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 8025C208 00259168 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 8025C20C 0025916C CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 8025C210 00259170 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 +/* 8025C214 00259174 CB 81 00 D0 */ lfd f28, 0xd0(r1) +/* 8025C218 00259178 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 +/* 8025C21C 0025917C CB 61 00 C0 */ lfd f27, 0xc0(r1) +/* 8025C220 00259180 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 +/* 8025C224 00259184 CB 41 00 B0 */ lfd f26, 0xb0(r1) +/* 8025C228 00259188 BB 21 00 94 */ lmw r25, 0x94(r1) +/* 8025C22C 0025918C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8025C230 00259190 7C 08 03 A6 */ mtlr r0 +/* 8025C234 00259194 38 21 01 10 */ addi r1, r1, 0x110 +/* 8025C238 00259198 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CSeedling.s b/asm/Kyoto_CWD/Enemies/CSeedling.s new file mode 100644 index 00000000..4339769a --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CSeedling.s @@ -0,0 +1,1203 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSearchPath__9CSeedlingFv +GetSearchPath__9CSeedlingFv: +/* 80266040 00262FA0 38 63 05 D8 */ addi r3, r3, 0x5d8 +/* 80266044 00262FA4 4E 80 00 20 */ blr + +.global sub_80266048 +sub_80266048: +/* 80266048 00262FA8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026604C 00262FAC 7C 08 02 A6 */ mflr r0 +/* 80266050 00262FB0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80266054 00262FB4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80266058 00262FB8 7C 9F 23 78 */ mr r31, r4 +/* 8026605C 00262FBC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80266060 00262FC0 7C 7E 1B 78 */ mr r30, r3 +/* 80266064 00262FC4 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80266068 00262FC8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026606C 00262FCC 41 82 00 7C */ beq lbl_802660E8 +/* 80266070 00262FD0 80 AD 98 38 */ lwz r5, lbl_805A83F8@sda21(r13) +/* 80266074 00262FD4 38 60 00 00 */ li r3, 0 +/* 80266078 00262FD8 38 80 00 01 */ li r4, 1 +/* 8026607C 00262FDC 48 12 3E 79 */ bl __shl2i +/* 80266080 00262FE0 39 20 00 00 */ li r9, 0 +/* 80266084 00262FE4 38 00 00 03 */ li r0, 3 +/* 80266088 00262FE8 90 81 00 24 */ stw r4, 0x24(r1) +/* 8026608C 00262FEC 7F C5 F3 78 */ mr r5, r30 +/* 80266090 00262FF0 38 81 00 0C */ addi r4, r1, 0xc +/* 80266094 00262FF4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80266098 00262FF8 90 61 00 20 */ stw r3, 0x20(r1) +/* 8026609C 00262FFC 7F E3 FB 78 */ mr r3, r31 +/* 802660A0 00263000 38 FE 06 E8 */ addi r7, r30, 0x6e8 +/* 802660A4 00263004 39 01 00 20 */ addi r8, r1, 0x20 +/* 802660A8 00263008 91 21 00 2C */ stw r9, 0x2c(r1) +/* 802660AC 0026300C 91 21 00 28 */ stw r9, 0x28(r1) +/* 802660B0 00263010 90 01 00 30 */ stw r0, 0x30(r1) +/* 802660B4 00263014 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802660B8 00263018 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802660BC 0026301C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802660C0 00263020 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802660C4 00263024 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802660C8 00263028 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802660CC 0026302C A0 1E 00 08 */ lhz r0, 8(r30) +/* 802660D0 00263030 B0 01 00 08 */ sth r0, 8(r1) +/* 802660D4 00263034 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802660D8 00263038 4B DE 2B D5 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 802660DC 0026303C 7F C3 F3 78 */ mr r3, r30 +/* 802660E0 00263040 7F E4 FB 78 */ mr r4, r31 +/* 802660E4 00263044 48 00 01 99 */ bl sub_8026627c +lbl_802660E8: +/* 802660E8 00263048 7F C3 F3 78 */ mr r3, r30 +/* 802660EC 0026304C 7F E4 FB 78 */ mr r4, r31 +/* 802660F0 00263050 4B E1 4B F9 */ bl MassiveDeath__10CPatternedFR13CStateManager +/* 802660F4 00263054 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802660F8 00263058 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802660FC 0026305C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80266100 00263060 7C 08 03 A6 */ mtlr r0 +/* 80266104 00263064 38 21 00 40 */ addi r1, r1, 0x40 +/* 80266108 00263068 4E 80 00 20 */ blr + +.global Touch__9CSeedlingFR6CActorR13CStateManager +Touch__9CSeedlingFR6CActorR13CStateManager: +/* 8026610C 0026306C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80266110 00263070 7C 08 02 A6 */ mflr r0 +/* 80266114 00263074 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266118 00263078 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026611C 0026307C 7C BF 2B 78 */ mr r31, r5 +/* 80266120 00263080 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80266124 00263084 7C 9E 23 78 */ mr r30, r4 +/* 80266128 00263088 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026612C 0026308C 7C 7D 1B 78 */ mr r29, r3 +/* 80266130 00263090 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80266134 00263094 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80266138 00263098 41 82 00 30 */ beq lbl_80266168 +/* 8026613C 0026309C 38 61 00 08 */ addi r3, r1, 8 +/* 80266140 002630A0 4B E4 62 C1 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 80266144 002630A4 80 03 00 04 */ lwz r0, 4(r3) +/* 80266148 002630A8 28 00 00 00 */ cmplwi r0, 0 +/* 8026614C 002630AC 41 82 00 1C */ beq lbl_80266168 +/* 80266150 002630B0 7F A3 EB 78 */ mr r3, r29 +/* 80266154 002630B4 7F E4 FB 78 */ mr r4, r31 +/* 80266158 002630B8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8026615C 002630BC 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 80266160 002630C0 7D 89 03 A6 */ mtctr r12 +/* 80266164 002630C4 4E 80 04 21 */ bctrl +lbl_80266168: +/* 80266168 002630C8 7F A3 EB 78 */ mr r3, r29 +/* 8026616C 002630CC 7F C4 F3 78 */ mr r4, r30 +/* 80266170 002630D0 7F E5 FB 78 */ mr r5, r31 +/* 80266174 002630D4 4B E1 39 2D */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 80266178 002630D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026617C 002630DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80266180 002630E0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80266184 002630E4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80266188 002630E8 7C 08 03 A6 */ mtlr r0 +/* 8026618C 002630EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266190 002630F0 4E 80 00 20 */ blr + +.global GetTouchBounds__9CSeedlingCFv +GetTouchBounds__9CSeedlingCFv: +/* 80266194 002630F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80266198 002630F8 7C 08 02 A6 */ mflr r0 +/* 8026619C 002630FC 7C 85 23 78 */ mr r5, r4 +/* 802661A0 00263100 90 01 00 34 */ stw r0, 0x34(r1) +/* 802661A4 00263104 38 85 07 04 */ addi r4, r5, 0x704 +/* 802661A8 00263108 38 A5 00 34 */ addi r5, r5, 0x34 +/* 802661AC 0026310C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802661B0 00263110 7C 7F 1B 78 */ mr r31, r3 +/* 802661B4 00263114 38 61 00 08 */ addi r3, r1, 8 +/* 802661B8 00263118 48 0D 17 45 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802661BC 0026311C 38 00 00 01 */ li r0, 1 +/* 802661C0 00263120 28 1F 00 00 */ cmplwi r31, 0 +/* 802661C4 00263124 98 1F 00 18 */ stb r0, 0x18(r31) +/* 802661C8 00263128 41 82 00 34 */ beq lbl_802661FC +/* 802661CC 0026312C C0 01 00 08 */ lfs f0, 8(r1) +/* 802661D0 00263130 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802661D4 00263134 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802661D8 00263138 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802661DC 0026313C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802661E0 00263140 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802661E4 00263144 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802661E8 00263148 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802661EC 0026314C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802661F0 00263150 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802661F4 00263154 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802661F8 00263158 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_802661FC: +/* 802661FC 0026315C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80266200 00263160 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80266204 00263164 7C 08 03 A6 */ mtlr r0 +/* 80266208 00263168 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026620C 0026316C 4E 80 00 20 */ blr + +.global ShouldAttack__9CSeedlingFR13CStateManagerf +ShouldAttack__9CSeedlingFR13CStateManagerf: +/* 80266210 00263170 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80266214 00263174 7C 08 02 A6 */ mflr r0 +/* 80266218 00263178 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 8026621C 0026317C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266220 00263180 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80266224 00263184 3B E0 00 00 */ li r31, 0 +/* 80266228 00263188 C0 23 07 1C */ lfs f1, 0x71c(r3) +/* 8026622C 0026318C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80266230 00263190 4C 40 13 82 */ cror 2, 0, 2 +/* 80266234 00263194 40 82 00 30 */ bne lbl_80266264 +/* 80266238 00263198 A0 03 00 08 */ lhz r0, 8(r3) +/* 8026623C 0026319C 7C 83 23 78 */ mr r3, r4 +/* 80266240 002631A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80266244 002631A4 38 A0 00 09 */ li r5, 9 +/* 80266248 002631A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8026624C 002631AC 38 C0 00 06 */ li r6, 6 +/* 80266250 002631B0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80266254 002631B4 4B DD F4 DD */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 80266258 002631B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026625C 002631BC 41 82 00 08 */ beq lbl_80266264 +/* 80266260 002631C0 3B E0 00 01 */ li r31, 1 +lbl_80266264: +/* 80266264 002631C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266268 002631C8 7F E3 FB 78 */ mr r3, r31 +/* 8026626C 002631CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80266270 002631D0 7C 08 03 A6 */ mtlr r0 +/* 80266274 002631D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266278 002631D8 4E 80 00 20 */ blr + +.global sub_8026627c +sub_8026627c: +/* 8026627C 002631DC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80266280 002631E0 7C 08 02 A6 */ mflr r0 +/* 80266284 002631E4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80266288 002631E8 38 00 00 06 */ li r0, 6 +/* 8026628C 002631EC BF 41 00 A8 */ stmw r26, 0xa8(r1) +/* 80266290 002631F0 7C 7D 1B 78 */ mr r29, r3 +/* 80266294 002631F4 3C 60 80 3D */ lis r3, lbl_803D52B0@ha +/* 80266298 002631F8 7C 9E 23 78 */ mr r30, r4 +/* 8026629C 002631FC 3B 63 52 B0 */ addi r27, r3, lbl_803D52B0@l +/* 802662A0 00263200 3B 81 00 10 */ addi r28, r1, 0x10 +/* 802662A4 00263204 3B E0 00 00 */ li r31, 0 +/* 802662A8 00263208 88 BD 07 22 */ lbz r5, 0x722(r29) +/* 802662AC 0026320C 54 A4 D7 FE */ rlwinm r4, r5, 0x1a, 0x1f, 0x1f +/* 802662B0 00263210 7C 64 00 D0 */ neg r3, r4 +/* 802662B4 00263214 7C 63 23 78 */ or r3, r3, r4 +/* 802662B8 00263218 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 802662BC 0026321C 7C 1A 18 78 */ andc r26, r0, r3 +lbl_802662C0: +/* 802662C0 00263220 7C 1F D2 14 */ add r0, r31, r26 +/* 802662C4 00263224 38 61 00 2C */ addi r3, r1, 0x2c +/* 802662C8 00263228 54 00 10 3A */ slwi r0, r0, 2 +/* 802662CC 0026322C 7C 9B 00 2E */ lwzx r4, r27, r0 +/* 802662D0 00263230 4B D9 E9 E9 */ bl string_l__4rstlFPCc +/* 802662D4 00263234 7F A4 EB 78 */ mr r4, r29 +/* 802662D8 00263238 38 61 00 3C */ addi r3, r1, 0x3c +/* 802662DC 0026323C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802662E0 00263240 4B E1 26 99 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802662E4 00263244 38 61 00 6C */ addi r3, r1, 0x6c +/* 802662E8 00263248 38 81 00 3C */ addi r4, r1, 0x3c +/* 802662EC 0026324C 48 0A C8 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802662F0 00263250 38 61 00 2C */ addi r3, r1, 0x2c +/* 802662F4 00263254 48 0D 77 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802662F8 00263258 38 00 00 00 */ li r0, 0 +/* 802662FC 0026325C A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) +/* 80266300 00263260 98 01 00 28 */ stb r0, 0x28(r1) +/* 80266304 00263264 7F A3 EB 78 */ mr r3, r29 +/* 80266308 00263268 7F C5 F3 78 */ mr r5, r30 +/* 8026630C 0026326C 38 81 00 6C */ addi r4, r1, 0x6c +/* 80266310 00263270 81 7D 00 64 */ lwz r11, 0x64(r29) +/* 80266314 00263274 39 21 00 1C */ addi r9, r1, 0x1c +/* 80266318 00263278 38 C0 00 06 */ li r6, 6 +/* 8026631C 0026327C 38 E0 00 00 */ li r7, 0 +/* 80266320 00263280 C0 0B 00 00 */ lfs f0, 0(r11) +/* 80266324 00263284 39 00 00 01 */ li r8, 1 +/* 80266328 00263288 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8026632C 0026328C C0 0B 00 04 */ lfs f0, 4(r11) +/* 80266330 00263290 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80266334 00263294 C0 0B 00 08 */ lfs f0, 8(r11) +/* 80266338 00263298 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8026633C 0026329C 90 01 00 08 */ stw r0, 8(r1) +/* 80266340 002632A0 93 81 00 0C */ stw r28, 0xc(r1) +/* 80266344 002632A4 4B E1 16 B5 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 80266348 002632A8 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8026634C 002632AC 28 00 00 00 */ cmplwi r0, 0 +/* 80266350 002632B0 41 82 00 1C */ beq lbl_8026636C +/* 80266354 002632B4 34 61 00 1C */ addic. r3, r1, 0x1c +/* 80266358 002632B8 41 82 00 14 */ beq lbl_8026636C +/* 8026635C 002632BC 28 03 00 00 */ cmplwi r3, 0 +/* 80266360 002632C0 41 82 00 0C */ beq lbl_8026636C +/* 80266364 002632C4 38 80 00 00 */ li r4, 0 +/* 80266368 002632C8 48 0D AA D9 */ bl __dt__6CTokenFv +lbl_8026636C: +/* 8026636C 002632CC 3B FF 00 01 */ addi r31, r31, 1 +/* 80266370 002632D0 38 80 00 00 */ li r4, 0 +/* 80266374 002632D4 2C 1F 00 06 */ cmpwi r31, 6 +/* 80266378 002632D8 98 81 00 28 */ stb r4, 0x28(r1) +/* 8026637C 002632DC 41 80 FF 44 */ blt lbl_802662C0 +/* 80266380 002632E0 88 7D 07 22 */ lbz r3, 0x722(r29) +/* 80266384 002632E4 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 80266388 002632E8 7C 00 00 34 */ cntlzw r0, r0 +/* 8026638C 002632EC 50 03 0E 72 */ rlwimi r3, r0, 1, 0x19, 0x19 +/* 80266390 002632F0 98 7D 07 22 */ stb r3, 0x722(r29) +/* 80266394 002632F4 88 1D 07 22 */ lbz r0, 0x722(r29) +/* 80266398 002632F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8026639C 002632FC 98 1D 07 22 */ stb r0, 0x722(r29) +/* 802663A0 00263300 BB 41 00 A8 */ lmw r26, 0xa8(r1) +/* 802663A4 00263304 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802663A8 00263308 7C 08 03 A6 */ mtlr r0 +/* 802663AC 0026330C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802663B0 00263310 4E 80 00 20 */ blr + +.global DoUserAnimEvent__9CSeedlingFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__9CSeedlingFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 802663B4 00263314 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802663B8 00263318 7C 08 02 A6 */ mflr r0 +/* 802663BC 0026331C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802663C0 00263320 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802663C4 00263324 FF E0 08 90 */ fmr f31, f1 +/* 802663C8 00263328 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802663CC 0026332C 7C DF 33 78 */ mr r31, r6 +/* 802663D0 00263330 2C 1F 00 11 */ cmpwi r31, 0x11 +/* 802663D4 00263334 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802663D8 00263338 7C BE 2B 78 */ mr r30, r5 +/* 802663DC 0026333C 38 A0 00 00 */ li r5, 0 +/* 802663E0 00263340 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802663E4 00263344 7C 9D 23 78 */ mr r29, r4 +/* 802663E8 00263348 93 81 00 08 */ stw r28, 8(r1) +/* 802663EC 0026334C 7C 7C 1B 78 */ mr r28, r3 +/* 802663F0 00263350 41 82 00 14 */ beq lbl_80266404 +/* 802663F4 00263354 40 80 00 30 */ bge lbl_80266424 +/* 802663F8 00263358 2C 1F 00 00 */ cmpwi r31, 0 +/* 802663FC 0026335C 41 82 00 20 */ beq lbl_8026641C +/* 80266400 00263360 48 00 00 24 */ b lbl_80266424 +lbl_80266404: +/* 80266404 00263364 88 1C 07 22 */ lbz r0, 0x722(r28) +/* 80266408 00263368 38 60 00 01 */ li r3, 1 +/* 8026640C 0026336C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80266410 00263370 38 A0 00 01 */ li r5, 1 +/* 80266414 00263374 98 1C 07 22 */ stb r0, 0x722(r28) +/* 80266418 00263378 48 00 00 0C */ b lbl_80266424 +lbl_8026641C: +/* 8026641C 0026337C 4B FF FE 61 */ bl sub_8026627c +/* 80266420 00263380 38 A0 00 01 */ li r5, 1 +lbl_80266424: +/* 80266424 00263384 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80266428 00263388 40 82 00 1C */ bne lbl_80266444 +/* 8026642C 0026338C FC 20 F8 90 */ fmr f1, f31 +/* 80266430 00263390 7F 83 E3 78 */ mr r3, r28 +/* 80266434 00263394 7F A4 EB 78 */ mr r4, r29 +/* 80266438 00263398 7F C5 F3 78 */ mr r5, r30 +/* 8026643C 0026339C 7F E6 FB 78 */ mr r6, r31 +/* 80266440 002633A0 4B E1 2A 71 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80266444: +/* 80266444 002633A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266448 002633A8 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8026644C 002633AC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80266450 002633B0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80266454 002633B4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80266458 002633B8 83 81 00 08 */ lwz r28, 8(r1) +/* 8026645C 002633BC 7C 08 03 A6 */ mtlr r0 +/* 80266460 002633C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266464 002633C4 4E 80 00 20 */ blr + +.global GetProjectileInfo__9CSeedlingCF +GetProjectileInfo__9CSeedlingCF: +/* 80266468 002633C8 38 63 06 C0 */ addi r3, r3, 0x6c0 +/* 8026646C 002633CC 4E 80 00 20 */ blr + +.global Generate__9CSeedlingFR13CStateManager9EStateMsgf +Generate__9CSeedlingFR13CStateManager9EStateMsgf: +/* 80266470 002633D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80266474 002633D4 7C 08 02 A6 */ mflr r0 +/* 80266478 002633D8 2C 05 00 01 */ cmpwi r5, 1 +/* 8026647C 002633DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266480 002633E0 41 82 00 2C */ beq lbl_802664AC +/* 80266484 002633E4 40 80 00 10 */ bge lbl_80266494 +/* 80266488 002633E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8026648C 002633EC 40 80 00 14 */ bge lbl_802664A0 +/* 80266490 002633F0 48 00 00 58 */ b lbl_802664E8 +lbl_80266494: +/* 80266494 002633F4 2C 05 00 03 */ cmpwi r5, 3 +/* 80266498 002633F8 40 80 00 50 */ bge lbl_802664E8 +/* 8026649C 002633FC 48 00 00 44 */ b lbl_802664E0 +lbl_802664A0: +/* 802664A0 00263400 38 00 00 01 */ li r0, 1 +/* 802664A4 00263404 90 03 03 2C */ stw r0, 0x32c(r3) +/* 802664A8 00263408 48 00 00 40 */ b lbl_802664E8 +lbl_802664AC: +/* 802664AC 0026340C 3C A0 80 3F */ lis r5, lbl_803E9E04@ha +/* 802664B0 00263410 38 C1 00 08 */ addi r6, r1, 8 +/* 802664B4 00263414 39 45 9E 04 */ addi r10, r5, lbl_803E9E04@l +/* 802664B8 00263418 38 A0 00 0C */ li r5, 0xc +/* 802664BC 0026341C 81 2A 00 00 */ lwz r9, 0(r10) +/* 802664C0 00263420 38 E0 00 00 */ li r7, 0 +/* 802664C4 00263424 81 0A 00 04 */ lwz r8, 4(r10) +/* 802664C8 00263428 80 0A 00 08 */ lwz r0, 8(r10) +/* 802664CC 0026342C 91 21 00 08 */ stw r9, 8(r1) +/* 802664D0 00263430 91 01 00 0C */ stw r8, 0xc(r1) +/* 802664D4 00263434 90 01 00 10 */ stw r0, 0x10(r1) +/* 802664D8 00263438 4B E1 62 DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802664DC 0026343C 48 00 00 0C */ b lbl_802664E8 +lbl_802664E0: +/* 802664E0 00263440 38 00 00 00 */ li r0, 0 +/* 802664E4 00263444 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_802664E8: +/* 802664E8 00263448 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802664EC 0026344C 7C 08 03 A6 */ mtlr r0 +/* 802664F0 00263450 38 21 00 20 */ addi r1, r1, 0x20 +/* 802664F4 00263454 4E 80 00 20 */ blr + +.global ProjectileAttack__9CSeedlingFR13CStateManager9EStateMsgf +ProjectileAttack__9CSeedlingFR13CStateManager9EStateMsgf: +/* 802664F8 00263458 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802664FC 0026345C 7C 08 02 A6 */ mflr r0 +/* 80266500 00263460 2C 05 00 01 */ cmpwi r5, 1 +/* 80266504 00263464 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266508 00263468 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026650C 0026346C 7C 7F 1B 78 */ mr r31, r3 +/* 80266510 00263470 41 82 00 2C */ beq lbl_8026653C +/* 80266514 00263474 40 80 00 10 */ bge lbl_80266524 +/* 80266518 00263478 2C 05 00 00 */ cmpwi r5, 0 +/* 8026651C 0026347C 40 80 00 14 */ bge lbl_80266530 +/* 80266520 00263480 48 00 00 70 */ b lbl_80266590 +lbl_80266524: +/* 80266524 00263484 2C 05 00 03 */ cmpwi r5, 3 +/* 80266528 00263488 40 80 00 68 */ bge lbl_80266590 +/* 8026652C 0026348C 48 00 00 44 */ b lbl_80266570 +lbl_80266530: +/* 80266530 00263490 38 00 00 01 */ li r0, 1 +/* 80266534 00263494 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80266538 00263498 48 00 00 58 */ b lbl_80266590 +lbl_8026653C: +/* 8026653C 0026349C 3C A0 80 3F */ lis r5, lbl_803E9DF8@ha +/* 80266540 002634A0 38 C1 00 08 */ addi r6, r1, 8 +/* 80266544 002634A4 39 45 9D F8 */ addi r10, r5, lbl_803E9DF8@l +/* 80266548 002634A8 38 A0 00 12 */ li r5, 0x12 +/* 8026654C 002634AC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80266550 002634B0 38 E0 00 00 */ li r7, 0 +/* 80266554 002634B4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80266558 002634B8 80 0A 00 08 */ lwz r0, 8(r10) +/* 8026655C 002634BC 91 21 00 08 */ stw r9, 8(r1) +/* 80266560 002634C0 91 01 00 0C */ stw r8, 0xc(r1) +/* 80266564 002634C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80266568 002634C8 4B E1 62 4D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8026656C 002634CC 48 00 00 24 */ b lbl_80266590 +lbl_80266570: +/* 80266570 002634D0 38 00 00 00 */ li r0, 0 +/* 80266574 002634D4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80266578 002634D8 80 64 09 00 */ lwz r3, 0x900(r4) +/* 8026657C 002634DC 48 0A BF 61 */ bl Float__9CRandom16Fv +/* 80266580 002634E0 C0 5F 03 08 */ lfs f2, 0x308(r31) +/* 80266584 002634E4 C0 1F 03 04 */ lfs f0, 0x304(r31) +/* 80266588 002634E8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8026658C 002634EC D0 1F 07 1C */ stfs f0, 0x71c(r31) +lbl_80266590: +/* 80266590 002634F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266594 002634F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80266598 002634F8 7C 08 03 A6 */ mtlr r0 +/* 8026659C 002634FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802665A0 00263500 4E 80 00 20 */ blr + +.global Enraged__9CSeedlingFR13CStateManager9EStateMsgf +Enraged__9CSeedlingFR13CStateManager9EStateMsgf: +/* 802665A4 00263504 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802665A8 00263508 7C 08 02 A6 */ mflr r0 +/* 802665AC 0026350C 2C 05 00 00 */ cmpwi r5, 0 +/* 802665B0 00263510 90 01 00 14 */ stw r0, 0x14(r1) +/* 802665B4 00263514 41 82 00 0C */ beq lbl_802665C0 +/* 802665B8 00263518 41 80 00 14 */ blt lbl_802665CC +/* 802665BC 0026351C 48 00 00 10 */ b lbl_802665CC +lbl_802665C0: +/* 802665C0 00263520 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802665C4 00263524 38 80 00 08 */ li r4, 8 +/* 802665C8 00263528 4B ED 44 11 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_802665CC: +/* 802665CC 0026352C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802665D0 00263530 7C 08 03 A6 */ mtlr r0 +/* 802665D4 00263534 38 21 00 10 */ addi r1, r1, 0x10 +/* 802665D8 00263538 4E 80 00 20 */ blr + +.global Active__9CSeedlingFR13CStateManager9EStateMsgf +Active__9CSeedlingFR13CStateManager9EStateMsgf: +/* 802665DC 0026353C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802665E0 00263540 7C 08 02 A6 */ mflr r0 +/* 802665E4 00263544 90 01 00 24 */ stw r0, 0x24(r1) +/* 802665E8 00263548 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802665EC 0026354C FF E0 08 90 */ fmr f31, f1 +/* 802665F0 00263550 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802665F4 00263554 7C BF 2B 79 */ or. r31, r5, r5 +/* 802665F8 00263558 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802665FC 0026355C 7C 9E 23 78 */ mr r30, r4 +/* 80266600 00263560 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80266604 00263564 7C 7D 1B 78 */ mr r29, r3 +/* 80266608 00263568 41 82 00 0C */ beq lbl_80266614 +/* 8026660C 0026356C 41 80 00 14 */ blt lbl_80266620 +/* 80266610 00263570 48 00 00 10 */ b lbl_80266620 +lbl_80266614: +/* 80266614 00263574 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80266618 00263578 38 80 00 02 */ li r4, 2 +/* 8026661C 0026357C 4B ED 43 BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80266620: +/* 80266620 00263580 FC 20 F8 90 */ fmr f1, f31 +/* 80266624 00263584 7F A3 EB 78 */ mr r3, r29 +/* 80266628 00263588 7F C4 F3 78 */ mr r4, r30 +/* 8026662C 0026358C 7F E5 FB 78 */ mr r5, r31 +/* 80266630 00263590 4B F9 08 45 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 80266634 00263594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266638 00263598 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8026663C 0026359C 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80266640 002635A0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80266644 002635A4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80266648 002635A8 7C 08 03 A6 */ mtlr r0 +/* 8026664C 002635AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266650 002635B0 4E 80 00 20 */ blr + +.global Patrol__9CSeedlingFR13CStateManager9EStateMsgf +Patrol__9CSeedlingFR13CStateManager9EStateMsgf: +/* 80266654 002635B4 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80266658 002635B8 7C 08 02 A6 */ mflr r0 +/* 8026665C 002635BC 2C 05 00 01 */ cmpwi r5, 1 +/* 80266660 002635C0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80266664 002635C4 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80266668 002635C8 7C 7F 1B 78 */ mr r31, r3 +/* 8026666C 002635CC 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80266670 002635D0 7C 9E 23 78 */ mr r30, r4 +/* 80266674 002635D4 41 82 00 C4 */ beq lbl_80266738 +/* 80266678 002635D8 40 80 00 10 */ bge lbl_80266688 +/* 8026667C 002635DC 2C 05 00 00 */ cmpwi r5, 0 +/* 80266680 002635E0 40 80 00 14 */ bge lbl_80266694 +/* 80266684 002635E4 48 00 02 90 */ b lbl_80266914 +lbl_80266688: +/* 80266688 002635E8 2C 05 00 03 */ cmpwi r5, 3 +/* 8026668C 002635EC 40 80 02 88 */ bge lbl_80266914 +/* 80266690 002635F0 48 00 02 7C */ b lbl_8026690C +lbl_80266694: +/* 80266694 002635F4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80266698 002635F8 38 80 00 01 */ li r4, 1 +/* 8026669C 002635FC 4B ED 43 3D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802666A0 00263600 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802666A4 00263604 38 60 00 01 */ li r3, 1 +/* 802666A8 00263608 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802666AC 0026360C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802666B0 00263610 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 802666B4 00263614 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802666B8 00263618 38 60 00 00 */ li r3, 0 +/* 802666BC 0026361C C0 04 00 00 */ lfs f0, 0(r4) +/* 802666C0 00263620 D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 802666C4 00263624 C0 04 00 04 */ lfs f0, 4(r4) +/* 802666C8 00263628 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 802666CC 0026362C C0 04 00 08 */ lfs f0, 8(r4) +/* 802666D0 00263630 D0 1F 01 58 */ stfs f0, 0x158(r31) +/* 802666D4 00263634 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802666D8 00263638 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802666DC 0026363C 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 802666E0 00263640 88 1F 00 F8 */ lbz r0, 0xf8(r31) +/* 802666E4 00263644 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802666E8 00263648 98 1F 00 F8 */ stb r0, 0xf8(r31) +/* 802666EC 0026364C A0 7F 07 20 */ lhz r3, 0x720(r31) +/* 802666F0 00263650 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802666F4 00263654 7C 03 00 40 */ cmplw r3, r0 +/* 802666F8 00263658 41 82 00 0C */ beq lbl_80266704 +/* 802666FC 0026365C 38 7F 07 20 */ addi r3, r31, 0x720 +/* 80266700 00263660 48 00 00 20 */ b lbl_80266720 +lbl_80266704: +/* 80266704 00263664 7F E4 FB 78 */ mr r4, r31 +/* 80266708 00263668 7F C5 F3 78 */ mr r5, r30 +/* 8026670C 0026366C 38 61 00 08 */ addi r3, r1, 8 +/* 80266710 00263670 38 C0 00 0D */ li r6, 0xd +/* 80266714 00263674 38 E0 00 06 */ li r7, 6 +/* 80266718 00263678 4B F8 E8 81 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8026671C 0026367C 38 61 00 08 */ addi r3, r1, 8 +lbl_80266720: +/* 80266720 00263680 A0 63 00 00 */ lhz r3, 0(r3) +/* 80266724 00263684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80266728 00263688 7C 03 00 40 */ cmplw r3, r0 +/* 8026672C 0026368C 41 82 01 E8 */ beq lbl_80266914 +/* 80266730 00263690 B0 7F 02 DC */ sth r3, 0x2dc(r31) +/* 80266734 00263694 48 00 01 E0 */ b lbl_80266914 +lbl_80266738: +/* 80266738 00263698 48 00 1F B5 */ bl GotoNextWaypoint__11CWallWalkerFR13CStateManager +/* 8026673C 0026369C C0 5F 00 5C */ lfs f2, 0x5c(r31) +/* 80266740 002636A0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80266744 002636A4 C0 3F 00 4C */ lfs f1, 0x4c(r31) +/* 80266748 002636A8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8026674C 002636AC D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80266750 002636B0 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80266754 002636B4 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80266758 002636B8 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 8026675C 002636BC C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80266760 002636C0 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) +/* 80266764 002636C4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80266768 002636C8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8026676C 002636CC C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 80266770 002636D0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80266774 002636D4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80266778 002636D8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8026677C 002636DC D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80266780 002636E0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80266784 002636E4 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80266788 002636E8 48 0A E1 71 */ bl Normalize__9CVector3fFv +/* 8026678C 002636EC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80266790 002636F0 38 81 00 60 */ addi r4, r1, 0x60 +/* 80266794 002636F4 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80266798 002636F8 48 00 2A 05 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +/* 8026679C 002636FC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802667A0 00263700 C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 802667A4 00263704 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 802667A8 00263708 C0 A1 00 4C */ lfs f5, 0x4c(r1) +/* 802667AC 0026370C C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802667B0 00263710 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802667B4 00263714 C0 7E 00 00 */ lfs f3, 0(r30) +/* 802667B8 00263718 C0 5E 00 04 */ lfs f2, 4(r30) +/* 802667BC 0026371C C0 3E 00 08 */ lfs f1, 8(r30) +/* 802667C0 00263720 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 802667C4 00263724 D0 C1 00 B0 */ stfs f6, 0xb0(r1) +/* 802667C8 00263728 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 802667CC 0026372C D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 802667D0 00263730 D0 61 00 BC */ stfs f3, 0xbc(r1) +/* 802667D4 00263734 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 802667D8 00263738 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 802667DC 0026373C D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802667E0 00263740 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802667E4 00263744 38 63 00 04 */ addi r3, r3, 4 +/* 802667E8 00263748 4B EC AF 31 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 802667EC 0026374C 7F E5 FB 78 */ mr r5, r31 +/* 802667F0 00263750 38 61 00 30 */ addi r3, r1, 0x30 +/* 802667F4 00263754 38 9F 04 5C */ addi r4, r31, 0x45c +/* 802667F8 00263758 38 DF 02 E0 */ addi r6, r31, 0x2e0 +/* 802667FC 0026375C 4B ED 84 25 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 80266800 00263760 38 61 00 3C */ addi r3, r1, 0x3c +/* 80266804 00263764 38 81 00 30 */ addi r4, r1, 0x30 +/* 80266808 00263768 38 A1 00 6C */ addi r5, r1, 0x6c +/* 8026680C 0026376C 48 00 29 91 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +/* 80266810 00263770 C0 62 BA CC */ lfs f3, lbl_805AD7EC@sda21(r2) +/* 80266814 00263774 38 61 00 24 */ addi r3, r1, 0x24 +/* 80266818 00263778 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8026681C 0026377C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80266820 00263780 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80266824 00263784 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80266828 00263788 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8026682C 0026378C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80266830 00263790 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80266834 00263794 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80266838 00263798 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8026683C 0026379C D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80266840 002637A0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80266844 002637A4 48 00 29 59 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +/* 80266848 002637A8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8026684C 002637AC C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 80266850 002637B0 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 80266854 002637B4 38 81 00 94 */ addi r4, r1, 0x94 +/* 80266858 002637B8 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 8026685C 002637BC C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 80266860 002637C0 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80266864 002637C4 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80266868 002637C8 C0 02 BA CC */ lfs f0, lbl_805AD7EC@sda21(r2) +/* 8026686C 002637CC D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 80266870 002637D0 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 80266874 002637D4 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 80266878 002637D8 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 8026687C 002637DC D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 80266880 002637E0 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80266884 002637E4 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80266888 002637E8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8026688C 002637EC 38 63 00 04 */ addi r3, r3, 4 +/* 80266890 002637F0 4B EC AE 89 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80266894 002637F4 C1 3F 00 58 */ lfs f9, 0x58(r31) +/* 80266898 002637F8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8026689C 002637FC C1 1F 00 48 */ lfs f8, 0x48(r31) +/* 802668A0 00263800 38 81 00 78 */ addi r4, r1, 0x78 +/* 802668A4 00263804 C0 02 BA CC */ lfs f0, lbl_805AD7EC@sda21(r2) +/* 802668A8 00263808 C0 BF 00 38 */ lfs f5, 0x38(r31) +/* 802668AC 0026380C EC E0 02 32 */ fmuls f7, f0, f8 +/* 802668B0 00263810 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 802668B4 00263814 EC C0 02 72 */ fmuls f6, f0, f9 +/* 802668B8 00263818 C0 5E 00 04 */ lfs f2, 4(r30) +/* 802668BC 0026381C EC 80 01 72 */ fmuls f4, f0, f5 +/* 802668C0 00263820 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802668C4 00263824 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 802668C8 00263828 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 802668CC 0026382C D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 802668D0 00263830 D0 C1 00 80 */ stfs f6, 0x80(r1) +/* 802668D4 00263834 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802668D8 00263838 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802668DC 0026383C D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802668E0 00263840 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802668E4 00263844 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802668E8 00263848 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802668EC 0026384C 38 63 00 04 */ addi r3, r3, 4 +/* 802668F0 00263850 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 802668F4 00263854 D1 21 00 14 */ stfs f9, 0x14(r1) +/* 802668F8 00263858 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802668FC 0026385C D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 80266900 00263860 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 80266904 00263864 4B EC AE 15 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80266908 00263868 48 00 00 0C */ b lbl_80266914 +lbl_8026690C: +/* 8026690C 0026386C A0 1F 02 DC */ lhz r0, 0x2dc(r31) +/* 80266910 00263870 B0 1F 07 20 */ sth r0, 0x720(r31) +lbl_80266914: +/* 80266914 00263874 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80266918 00263878 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8026691C 0026387C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80266920 00263880 7C 08 03 A6 */ mtlr r0 +/* 80266924 00263884 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80266928 00263888 4E 80 00 20 */ blr + +.global Think__9CSeedlingFfR13CStateManager +Think__9CSeedlingFfR13CStateManager: +/* 8026692C 0026388C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80266930 00263890 7C 08 02 A6 */ mflr r0 +/* 80266934 00263894 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80266938 00263898 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8026693C 0026389C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80266940 002638A0 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80266944 002638A4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80266948 002638A8 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8026694C 002638AC 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80266950 002638B0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80266954 002638B4 FF E0 08 90 */ fmr f31, f1 +/* 80266958 002638B8 7C 7E 1B 78 */ mr r30, r3 +/* 8026695C 002638BC 7C 9F 23 78 */ mr r31, r4 +/* 80266960 002638C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80266964 002638C4 41 82 02 68 */ beq lbl_80266BCC +/* 80266968 002638C8 A8 7E 05 D4 */ lha r3, 0x5d4(r30) +/* 8026696C 002638CC 38 C0 00 00 */ li r6, 0 +/* 80266970 002638D0 38 03 00 01 */ addi r0, r3, 1 +/* 80266974 002638D4 B0 1E 05 D4 */ sth r0, 0x5d4(r30) +/* 80266978 002638D8 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 8026697C 002638DC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 80266980 002638E0 98 1E 05 D6 */ stb r0, 0x5d6(r30) +/* 80266984 002638E4 80 BE 00 04 */ lwz r5, 4(r30) +/* 80266988 002638E8 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 8026698C 002638EC 54 A3 18 38 */ slwi r3, r5, 3 +/* 80266990 002638F0 90 A1 00 08 */ stw r5, 8(r1) +/* 80266994 002638F4 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80266998 002638F8 38 03 00 04 */ addi r0, r3, 4 +/* 8026699C 002638FC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802669A0 00263900 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802669A4 00263904 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 802669A8 00263908 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802669AC 0026390C 41 82 00 0C */ beq lbl_802669B8 +/* 802669B0 00263910 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 802669B4 00263914 80 C3 10 DC */ lwz r6, 0x10dc(r3) +lbl_802669B8: +/* 802669B8 00263918 2C 06 00 01 */ cmpwi r6, 1 +/* 802669BC 0026391C 41 82 00 14 */ beq lbl_802669D0 +/* 802669C0 00263920 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 802669C4 00263924 38 60 00 01 */ li r3, 1 +/* 802669C8 00263928 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802669CC 0026392C 98 1E 05 D6 */ stb r0, 0x5d6(r30) +lbl_802669D0: +/* 802669D0 00263930 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 802669D4 00263934 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802669D8 00263938 40 82 00 D4 */ bne lbl_80266AAC +/* 802669DC 0026393C 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 802669E0 00263940 38 61 00 58 */ addi r3, r1, 0x58 +/* 802669E4 00263944 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 802669E8 00263948 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 802669EC 0026394C C0 64 00 40 */ lfs f3, 0x40(r4) +/* 802669F0 00263950 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802669F4 00263954 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802669F8 00263958 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 802669FC 0026395C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80266A00 00263960 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80266A04 00263964 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80266A08 00263968 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80266A0C 0026396C EC 25 08 28 */ fsubs f1, f5, f1 +/* 80266A10 00263970 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80266A14 00263974 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80266A18 00263978 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80266A1C 0026397C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80266A20 00263980 48 0A DE 99 */ bl Magnitude__9CVector3fCFv +/* 80266A24 00263984 FF C0 08 90 */ fmr f30, f1 +/* 80266A28 00263988 C0 1E 05 C4 */ lfs f0, 0x5c4(r30) +/* 80266A2C 0026398C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80266A30 00263990 40 81 00 7C */ ble lbl_80266AAC +/* 80266A34 00263994 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80266A38 00263998 38 61 00 4C */ addi r3, r1, 0x4c +/* 80266A3C 0026399C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80266A40 002639A0 38 81 00 40 */ addi r4, r1, 0x40 +/* 80266A44 002639A4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80266A48 002639A8 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80266A4C 002639AC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80266A50 002639B0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80266A54 002639B4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80266A58 002639B8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80266A5C 002639BC D0 81 00 44 */ stfs f4, 0x44(r1) +/* 80266A60 002639C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80266A64 002639C4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80266A68 002639C8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80266A6C 002639CC 48 0A DD E5 */ bl AsNormalized__9CVector3fCFv +/* 80266A70 002639D0 FC 20 F0 90 */ fmr f1, f30 +/* 80266A74 002639D4 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 80266A78 002639D8 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l +/* 80266A7C 002639DC 7F E4 FB 78 */ mr r4, r31 +/* 80266A80 002639E0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80266A84 002639E4 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80266A88 002639E8 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80266A8C 002639EC 4B DE 65 0D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80266A90 002639F0 88 01 00 90 */ lbz r0, 0x90(r1) +/* 80266A94 002639F4 28 00 00 00 */ cmplwi r0, 0 +/* 80266A98 002639F8 41 82 00 14 */ beq lbl_80266AAC +/* 80266A9C 002639FC 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 80266AA0 00263A00 38 60 00 01 */ li r3, 1 +/* 80266AA4 00263A04 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80266AA8 00263A08 98 1E 05 D6 */ stb r0, 0x5d6(r30) +lbl_80266AAC: +/* 80266AAC 00263A0C 88 7E 05 D6 */ lbz r3, 0x5d6(r30) +/* 80266AB0 00263A10 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80266AB4 00263A14 41 82 00 18 */ beq lbl_80266ACC +/* 80266AB8 00263A18 88 1E 00 F8 */ lbz r0, 0xf8(r30) +/* 80266ABC 00263A1C 38 60 00 00 */ li r3, 0 +/* 80266AC0 00263A20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80266AC4 00263A24 98 1E 00 F8 */ stb r0, 0xf8(r30) +/* 80266AC8 00263A28 48 00 01 04 */ b lbl_80266BCC +lbl_80266ACC: +/* 80266ACC 00263A2C 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f +/* 80266AD0 00263A30 88 1E 00 F8 */ lbz r0, 0xf8(r30) +/* 80266AD4 00263A34 7C 63 00 34 */ cntlzw r3, r3 +/* 80266AD8 00263A38 FC 20 F8 90 */ fmr f1, f31 +/* 80266ADC 00263A3C 54 64 DE 3E */ rlwinm r4, r3, 0x1b, 0x18, 0x1f +/* 80266AE0 00263A40 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80266AE4 00263A44 7F C3 F3 78 */ mr r3, r30 +/* 80266AE8 00263A48 98 1E 00 F8 */ stb r0, 0xf8(r30) +/* 80266AEC 00263A4C 7F E4 FB 78 */ mr r4, r31 +/* 80266AF0 00263A50 48 00 1A 7D */ bl Think__11CWallWalkerFfR13CStateManager +/* 80266AF4 00263A54 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 80266AF8 00263A58 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80266AFC 00263A5C 40 82 00 B8 */ bne lbl_80266BB4 +/* 80266B00 00263A60 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80266B04 00263A64 4B ED 35 C9 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80266B08 00263A68 C0 42 BA C8 */ lfs f2, lbl_805AD7E8@sda21(r2) +/* 80266B0C 00263A6C C0 02 BA D0 */ lfs f0, lbl_805AD7F0@sda21(r2) +/* 80266B10 00263A70 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80266B14 00263A74 FC 20 0A 10 */ fabs f1, f1 +/* 80266B18 00263A78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80266B1C 00263A7C 40 80 00 98 */ bge lbl_80266BB4 +/* 80266B20 00263A80 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 80266B24 00263A84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80266B28 00263A88 41 82 00 8C */ beq lbl_80266BB4 +/* 80266B2C 00263A8C C0 7E 01 3C */ lfs f3, 0x13c(r30) +/* 80266B30 00263A90 FC 40 F8 90 */ fmr f2, f31 +/* 80266B34 00263A94 C0 1E 01 40 */ lfs f0, 0x140(r30) +/* 80266B38 00263A98 7F C3 F3 78 */ mr r3, r30 +/* 80266B3C 00263A9C C0 3E 01 38 */ lfs f1, 0x138(r30) +/* 80266B40 00263AA0 EC DF 00 F2 */ fmuls f6, f31, f3 +/* 80266B44 00263AA4 EC BF 00 32 */ fmuls f5, f31, f0 +/* 80266B48 00263AA8 C0 02 BA D4 */ lfs f0, lbl_805AD7F4@sda21(r2) +/* 80266B4C 00263AAC EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80266B50 00263AB0 C1 9E 00 60 */ lfs f12, 0x60(r30) +/* 80266B54 00263AB4 7F E4 FB 78 */ mr r4, r31 +/* 80266B58 00263AB8 EC E0 01 72 */ fmuls f7, f0, f5 +/* 80266B5C 00263ABC ED 00 01 B2 */ fmuls f8, f0, f6 +/* 80266B60 00263AC0 C1 7E 00 50 */ lfs f11, 0x50(r30) +/* 80266B64 00263AC4 EC 80 00 72 */ fmuls f4, f0, f1 +/* 80266B68 00263AC8 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80266B6C 00263ACC ED 2C 38 2A */ fadds f9, f12, f7 +/* 80266B70 00263AD0 ED 4B 40 2A */ fadds f10, f11, f8 +/* 80266B74 00263AD4 EC 03 20 2A */ fadds f0, f3, f4 +/* 80266B78 00263AD8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80266B7C 00263ADC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80266B80 00263AE0 D1 41 00 38 */ stfs f10, 0x38(r1) +/* 80266B84 00263AE4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80266B88 00263AE8 D1 21 00 3C */ stfs f9, 0x3c(r1) +/* 80266B8C 00263AEC D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 80266B90 00263AF0 C0 3E 05 AC */ lfs f1, 0x5ac(r30) +/* 80266B94 00263AF4 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80266B98 00263AF8 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80266B9C 00263AFC D1 01 00 20 */ stfs f8, 0x20(r1) +/* 80266BA0 00263B00 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80266BA4 00263B04 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80266BA8 00263B08 D1 61 00 2C */ stfs f11, 0x2c(r1) +/* 80266BAC 00263B0C D1 81 00 30 */ stfs f12, 0x30(r1) +/* 80266BB0 00263B10 48 00 1E 99 */ bl AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff +lbl_80266BB4: +/* 80266BB4 00263B14 C0 3E 07 1C */ lfs f1, 0x71c(r30) +/* 80266BB8 00263B18 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 80266BBC 00263B1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80266BC0 00263B20 40 81 00 0C */ ble lbl_80266BCC +/* 80266BC4 00263B24 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80266BC8 00263B28 D0 1E 07 1C */ stfs f0, 0x71c(r30) +lbl_80266BCC: +/* 80266BCC 00263B2C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80266BD0 00263B30 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80266BD4 00263B34 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80266BD8 00263B38 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80266BDC 00263B3C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80266BE0 00263B40 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80266BE4 00263B44 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80266BE8 00263B48 7C 08 03 A6 */ mtlr r0 +/* 80266BEC 00263B4C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80266BF0 00263B50 4E 80 00 20 */ blr + +.global Render__9CSeedlingCFRC13CStateManager +Render__9CSeedlingCFRC13CStateManager: +/* 80266BF4 00263B54 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80266BF8 00263B58 7C 08 02 A6 */ mflr r0 +/* 80266BFC 00263B5C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80266C00 00263B60 BF 21 00 84 */ stmw r25, 0x84(r1) +/* 80266C04 00263B64 7C 7E 1B 78 */ mr r30, r3 +/* 80266C08 00263B68 7C 9F 23 78 */ mr r31, r4 +/* 80266C0C 00263B6C 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80266C10 00263B70 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80266C14 00263B74 41 82 00 E8 */ beq lbl_80266CFC +/* 80266C18 00263B78 80 1E 06 BC */ lwz r0, 0x6bc(r30) +/* 80266C1C 00263B7C 28 00 00 00 */ cmplwi r0, 0 +/* 80266C20 00263B80 41 82 00 DC */ beq lbl_80266CFC +/* 80266C24 00263B84 88 1E 07 22 */ lbz r0, 0x722(r30) +/* 80266C28 00263B88 54 05 CF FF */ rlwinm. r5, r0, 0x19, 0x1f, 0x1f +/* 80266C2C 00263B8C 41 82 00 0C */ beq lbl_80266C38 +/* 80266C30 00263B90 3B 60 00 00 */ li r27, 0 +/* 80266C34 00263B94 48 00 00 1C */ b lbl_80266C50 +lbl_80266C38: +/* 80266C38 00263B98 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 80266C3C 00263B9C 38 00 00 06 */ li r0, 6 +/* 80266C40 00263BA0 7C 64 00 D0 */ neg r3, r4 +/* 80266C44 00263BA4 7C 63 23 78 */ or r3, r3, r4 +/* 80266C48 00263BA8 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 80266C4C 00263BAC 7C 1B 18 38 */ and r27, r0, r3 +lbl_80266C50: +/* 80266C50 00263BB0 28 05 00 00 */ cmplwi r5, 0 +/* 80266C54 00263BB4 3B 80 00 06 */ li r28, 6 +/* 80266C58 00263BB8 41 82 00 08 */ beq lbl_80266C60 +/* 80266C5C 00263BBC 3B 80 00 0C */ li r28, 0xc +lbl_80266C60: +/* 80266C60 00263BC0 3C 60 80 3D */ lis r3, lbl_803D52B0@ha +/* 80266C64 00263BC4 3B 41 00 0C */ addi r26, r1, 0xc +/* 80266C68 00263BC8 3B A3 52 B0 */ addi r29, r3, lbl_803D52B0@l +/* 80266C6C 00263BCC 3B 20 00 00 */ li r25, 0 +/* 80266C70 00263BD0 48 00 00 84 */ b lbl_80266CF4 +lbl_80266C74: +/* 80266C74 00263BD4 7C 19 DA 14 */ add r0, r25, r27 +/* 80266C78 00263BD8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80266C7C 00263BDC 54 00 10 3A */ slwi r0, r0, 2 +/* 80266C80 00263BE0 7C 9D 00 2E */ lwzx r4, r29, r0 +/* 80266C84 00263BE4 4B D9 E0 35 */ bl string_l__4rstlFPCc +/* 80266C88 00263BE8 7F C4 F3 78 */ mr r4, r30 +/* 80266C8C 00263BEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80266C90 00263BF0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80266C94 00263BF4 4B E1 1C E5 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80266C98 00263BF8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80266C9C 00263BFC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80266CA0 00263C00 48 0A BE D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80266CA4 00263C04 38 61 00 10 */ addi r3, r1, 0x10 +/* 80266CA8 00263C08 48 0D 6E 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80266CAC 00263C0C C0 22 BA CC */ lfs f1, lbl_805AD7EC@sda21(r2) +/* 80266CB0 00263C10 38 80 00 00 */ li r4, 0 +/* 80266CB4 00263C14 38 00 00 03 */ li r0, 3 +/* 80266CB8 00263C18 98 81 00 08 */ stb r4, 8(r1) +/* 80266CBC 00263C1C FC 40 08 90 */ fmr f2, f1 +/* 80266CC0 00263C20 7F 43 D3 78 */ mr r3, r26 +/* 80266CC4 00263C24 FC 60 08 90 */ fmr f3, f1 +/* 80266CC8 00263C28 98 81 00 09 */ stb r4, 9(r1) +/* 80266CCC 00263C2C FC 80 08 90 */ fmr f4, f1 +/* 80266CD0 00263C30 B0 01 00 0A */ sth r0, 0xa(r1) +/* 80266CD4 00263C34 48 0F C7 19 */ bl __ct__6CColorFffff +/* 80266CD8 00263C38 80 7E 06 BC */ lwz r3, 0x6bc(r30) +/* 80266CDC 00263C3C 7F E4 FB 78 */ mr r4, r31 +/* 80266CE0 00263C40 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80266CE4 00263C44 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80266CE8 00263C48 38 E1 00 08 */ addi r7, r1, 8 +/* 80266CEC 00263C4C 4B EA E0 D1 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80266CF0 00263C50 3B 39 00 01 */ addi r25, r25, 1 +lbl_80266CF4: +/* 80266CF4 00263C54 7C 19 E0 00 */ cmpw r25, r28 +/* 80266CF8 00263C58 41 80 FF 7C */ blt lbl_80266C74 +lbl_80266CFC: +/* 80266CFC 00263C5C 7F C3 F3 78 */ mr r3, r30 +/* 80266D00 00263C60 7F E4 FB 78 */ mr r4, r31 +/* 80266D04 00263C64 48 00 19 C9 */ bl Render__11CWallWalkerCFRC13CStateManager +/* 80266D08 00263C68 BB 21 00 84 */ lmw r25, 0x84(r1) +/* 80266D0C 00263C6C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80266D10 00263C70 7C 08 03 A6 */ mtlr r0 +/* 80266D14 00263C74 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80266D18 00263C78 4E 80 00 20 */ blr + +.global AcceptScriptMsg__9CSeedlingF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__9CSeedlingF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80266D1C 00263C7C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80266D20 00263C80 7C 08 02 A6 */ mflr r0 +/* 80266D24 00263C84 90 01 00 44 */ stw r0, 0x44(r1) +/* 80266D28 00263C88 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80266D2C 00263C8C 7C 7F 1B 78 */ mr r31, r3 +/* 80266D30 00263C90 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80266D34 00263C94 7C DE 33 78 */ mr r30, r6 +/* 80266D38 00263C98 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80266D3C 00263C9C 7C 9D 23 78 */ mr r29, r4 +/* 80266D40 00263CA0 A0 05 00 00 */ lhz r0, 0(r5) +/* 80266D44 00263CA4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80266D48 00263CA8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80266D4C 00263CAC 4B E1 5E 2D */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80266D50 00263CB0 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 80266D54 00263CB4 41 82 00 20 */ beq lbl_80266D74 +/* 80266D58 00263CB8 40 80 00 10 */ bge lbl_80266D68 +/* 80266D5C 00263CBC 2C 1D 00 01 */ cmpwi r29, 1 +/* 80266D60 00263CC0 41 82 00 90 */ beq lbl_80266DF0 +/* 80266D64 00263CC4 48 00 00 C8 */ b lbl_80266E2C +lbl_80266D68: +/* 80266D68 00263CC8 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 80266D6C 00263CCC 41 82 00 54 */ beq lbl_80266DC0 +/* 80266D70 00263CD0 48 00 00 BC */ b lbl_80266E2C +lbl_80266D74: +/* 80266D74 00263CD4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80266D78 00263CD8 7F C4 F3 78 */ mr r4, r30 +/* 80266D7C 00263CDC 4B ED 3F 75 */ bl Activate__15CBodyControllerFR13CStateManager +/* 80266D80 00263CE0 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80266D84 00263CE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80266D88 00263CE8 4B EA E8 3D */ bl GetBounds__10CModelDataCFv +/* 80266D8C 00263CEC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80266D90 00263CF0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80266D94 00263CF4 90 7F 07 04 */ stw r3, 0x704(r31) +/* 80266D98 00263CF8 90 1F 07 08 */ stw r0, 0x708(r31) +/* 80266D9C 00263CFC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80266DA0 00263D00 90 1F 07 0C */ stw r0, 0x70c(r31) +/* 80266DA4 00263D04 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80266DA8 00263D08 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80266DAC 00263D0C 90 7F 07 10 */ stw r3, 0x710(r31) +/* 80266DB0 00263D10 90 1F 07 14 */ stw r0, 0x714(r31) +/* 80266DB4 00263D14 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80266DB8 00263D18 90 1F 07 18 */ stw r0, 0x718(r31) +/* 80266DBC 00263D1C 48 00 00 70 */ b lbl_80266E2C +lbl_80266DC0: +/* 80266DC0 00263D20 80 BF 00 04 */ lwz r5, 4(r31) +/* 80266DC4 00263D24 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 80266DC8 00263D28 54 A3 18 38 */ slwi r3, r5, 3 +/* 80266DCC 00263D2C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80266DD0 00263D30 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80266DD4 00263D34 38 03 00 04 */ addi r0, r3, 4 +/* 80266DD8 00263D38 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80266DDC 00263D3C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80266DE0 00263D40 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80266DE4 00263D44 80 03 10 BC */ lwz r0, 0x10bc(r3) +/* 80266DE8 00263D48 90 1F 05 D8 */ stw r0, 0x5d8(r31) +/* 80266DEC 00263D4C 48 00 00 40 */ b lbl_80266E2C +lbl_80266DF0: +/* 80266DF0 00263D50 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 80266DF4 00263D54 38 60 00 00 */ li r3, 0 +/* 80266DF8 00263D58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80266DFC 00263D5C 7F E4 FB 78 */ mr r4, r31 +/* 80266E00 00263D60 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 80266E04 00263D64 7F C5 F3 78 */ mr r5, r30 +/* 80266E08 00263D68 38 61 00 08 */ addi r3, r1, 8 +/* 80266E0C 00263D6C 38 C0 00 0D */ li r6, 0xd +/* 80266E10 00263D70 38 E0 00 06 */ li r7, 6 +/* 80266E14 00263D74 4B F8 E1 85 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80266E18 00263D78 A0 61 00 08 */ lhz r3, 8(r1) +/* 80266E1C 00263D7C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80266E20 00263D80 7C 03 00 40 */ cmplw r3, r0 +/* 80266E24 00263D84 41 82 00 08 */ beq lbl_80266E2C +/* 80266E28 00263D88 B0 7F 02 DC */ sth r3, 0x2dc(r31) +lbl_80266E2C: +/* 80266E2C 00263D8C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80266E30 00263D90 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80266E34 00263D94 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80266E38 00263D98 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80266E3C 00263D9C 7C 08 03 A6 */ mtlr r0 +/* 80266E40 00263DA0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80266E44 00263DA4 4E 80 00 20 */ blr + +.global __dt__9CSeedlingFv +__dt__9CSeedlingFv: +/* 80266E48 00263DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80266E4C 00263DAC 7C 08 02 A6 */ mflr r0 +/* 80266E50 00263DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80266E54 00263DB4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80266E58 00263DB8 7C 9F 23 78 */ mr r31, r4 +/* 80266E5C 00263DBC 93 C1 00 08 */ stw r30, 8(r1) +/* 80266E60 00263DC0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80266E64 00263DC4 41 82 00 C8 */ beq lbl_80266F2C +/* 80266E68 00263DC8 3C 60 80 3F */ lis r3, lbl_803E9E10@ha +/* 80266E6C 00263DCC 34 1E 06 C0 */ addic. r0, r30, 0x6c0 +/* 80266E70 00263DD0 38 03 9E 10 */ addi r0, r3, lbl_803E9E10@l +/* 80266E74 00263DD4 90 1E 00 00 */ stw r0, 0(r30) +/* 80266E78 00263DD8 41 82 00 20 */ beq lbl_80266E98 +/* 80266E7C 00263DDC 34 1E 06 C0 */ addic. r0, r30, 0x6c0 +/* 80266E80 00263DE0 41 82 00 18 */ beq lbl_80266E98 +/* 80266E84 00263DE4 34 1E 06 C0 */ addic. r0, r30, 0x6c0 +/* 80266E88 00263DE8 41 82 00 10 */ beq lbl_80266E98 +/* 80266E8C 00263DEC 38 7E 06 C0 */ addi r3, r30, 0x6c0 +/* 80266E90 00263DF0 38 80 00 00 */ li r4, 0 +/* 80266E94 00263DF4 48 0D 9F AD */ bl __dt__6CTokenFv +lbl_80266E98: +/* 80266E98 00263DF8 34 1E 06 BC */ addic. r0, r30, 0x6bc +/* 80266E9C 00263DFC 41 82 00 10 */ beq lbl_80266EAC +/* 80266EA0 00263E00 80 7E 06 BC */ lwz r3, 0x6bc(r30) +/* 80266EA4 00263E04 38 80 00 01 */ li r4, 1 +/* 80266EA8 00263E08 4B EA FB A5 */ bl __dt__10CModelDataFv +lbl_80266EAC: +/* 80266EAC 00263E0C 34 1E 05 D8 */ addic. r0, r30, 0x5d8 +/* 80266EB0 00263E10 41 82 00 60 */ beq lbl_80266F10 +/* 80266EB4 00263E14 34 1E 05 DC */ addic. r0, r30, 0x5dc +/* 80266EB8 00263E18 41 82 00 58 */ beq lbl_80266F10 +/* 80266EBC 00263E1C 80 BE 05 DC */ lwz r5, 0x5dc(r30) +/* 80266EC0 00263E20 38 60 00 00 */ li r3, 0 +/* 80266EC4 00263E24 2C 05 00 00 */ cmpwi r5, 0 +/* 80266EC8 00263E28 40 81 00 40 */ ble lbl_80266F08 +/* 80266ECC 00263E2C 2C 05 00 08 */ cmpwi r5, 8 +/* 80266ED0 00263E30 38 85 FF F8 */ addi r4, r5, -8 +/* 80266ED4 00263E34 40 81 00 20 */ ble lbl_80266EF4 +/* 80266ED8 00263E38 38 04 00 07 */ addi r0, r4, 7 +/* 80266EDC 00263E3C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80266EE0 00263E40 7C 09 03 A6 */ mtctr r0 +/* 80266EE4 00263E44 2C 04 00 00 */ cmpwi r4, 0 +/* 80266EE8 00263E48 40 81 00 0C */ ble lbl_80266EF4 +lbl_80266EEC: +/* 80266EEC 00263E4C 38 63 00 08 */ addi r3, r3, 8 +/* 80266EF0 00263E50 42 00 FF FC */ bdnz lbl_80266EEC +lbl_80266EF4: +/* 80266EF4 00263E54 7C 03 28 50 */ subf r0, r3, r5 +/* 80266EF8 00263E58 7C 09 03 A6 */ mtctr r0 +/* 80266EFC 00263E5C 7C 03 28 00 */ cmpw r3, r5 +/* 80266F00 00263E60 40 80 00 08 */ bge lbl_80266F08 +lbl_80266F04: +/* 80266F04 00263E64 42 00 00 00 */ bdnz lbl_80266F04 +lbl_80266F08: +/* 80266F08 00263E68 38 00 00 00 */ li r0, 0 +/* 80266F0C 00263E6C 90 1E 05 DC */ stw r0, 0x5dc(r30) +lbl_80266F10: +/* 80266F10 00263E70 7F C3 F3 78 */ mr r3, r30 +/* 80266F14 00263E74 38 80 00 00 */ li r4, 0 +/* 80266F18 00263E78 4B EE FB 5D */ bl __dt__11CWallWalkerFv +/* 80266F1C 00263E7C 7F E0 07 35 */ extsh. r0, r31 +/* 80266F20 00263E80 40 81 00 0C */ ble lbl_80266F2C +/* 80266F24 00263E84 7F C3 F3 78 */ mr r3, r30 +/* 80266F28 00263E88 48 0A EA 09 */ bl Free__7CMemoryFPCv +lbl_80266F2C: +/* 80266F2C 00263E8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80266F30 00263E90 7F C3 F3 78 */ mr r3, r30 +/* 80266F34 00263E94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80266F38 00263E98 83 C1 00 08 */ lwz r30, 8(r1) +/* 80266F3C 00263E9C 7C 08 03 A6 */ mtlr r0 +/* 80266F40 00263EA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80266F44 00263EA4 4E 80 00 20 */ blr + +.global __ct__9CSeedlingF +__ct__9CSeedlingF: +/* 80266F48 00263EA8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80266F4C 00263EAC 7C 08 02 A6 */ mflr r0 +/* 80266F50 00263EB0 FC 00 08 90 */ fmr f0, f1 +/* 80266F54 00263EB4 7C CC 33 78 */ mr r12, r6 +/* 80266F58 00263EB8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80266F5C 00263EBC FC 20 18 90 */ fmr f1, f3 +/* 80266F60 00263EC0 7C A6 2B 78 */ mr r6, r5 +/* 80266F64 00263EC4 39 60 00 00 */ li r11, 0 +/* 80266F68 00263EC8 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80266F6C 00263ECC 7D 39 4B 78 */ mr r25, r9 +/* 80266F70 00263ED0 7D 1B 43 78 */ mr r27, r8 +/* 80266F74 00263ED4 7C E9 3B 78 */ mr r9, r7 +/* 80266F78 00263ED8 FC 60 00 90 */ fmr f3, f0 +/* 80266F7C 00263EDC 83 81 00 78 */ lwz r28, 0x78(r1) +/* 80266F80 00263EE0 83 A1 00 7C */ lwz r29, 0x7c(r1) +/* 80266F84 00263EE4 7C 7A 1B 78 */ mr r26, r3 +/* 80266F88 00263EE8 83 C1 00 80 */ lwz r30, 0x80(r1) +/* 80266F8C 00263EEC 7D 88 63 78 */ mr r8, r12 +/* 80266F90 00263EF0 83 E1 00 84 */ lwz r31, 0x84(r1) +/* 80266F94 00263EF4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80266F98 00263EF8 38 E0 00 00 */ li r7, 0 +/* 80266F9C 00263EFC A0 04 00 00 */ lhz r0, 0(r4) +/* 80266FA0 00263F00 38 80 00 06 */ li r4, 6 +/* 80266FA4 00263F04 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80266FA8 00263F08 38 00 00 01 */ li r0, 1 +/* 80266FAC 00263F0C 93 21 00 08 */ stw r25, 8(r1) +/* 80266FB0 00263F10 90 01 00 0C */ stw r0, 0xc(r1) +/* 80266FB4 00263F14 38 00 00 04 */ li r0, 4 +/* 80266FB8 00263F18 91 61 00 10 */ stw r11, 0x10(r1) +/* 80266FBC 00263F1C 90 81 00 14 */ stw r4, 0x14(r1) +/* 80266FC0 00263F20 38 80 00 20 */ li r4, 0x20 +/* 80266FC4 00263F24 91 41 00 18 */ stw r10, 0x18(r1) +/* 80266FC8 00263F28 7F 6A DB 78 */ mr r10, r27 +/* 80266FCC 00263F2C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80266FD0 00263F30 90 01 00 20 */ stw r0, 0x20(r1) +/* 80266FD4 00263F34 91 61 00 24 */ stw r11, 0x24(r1) +/* 80266FD8 00263F38 48 00 22 89 */ bl "__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi" +/* 80266FDC 00263F3C 3C 60 80 3F */ lis r3, lbl_803E9E10@ha +/* 80266FE0 00263F40 C0 22 BA CC */ lfs f1, lbl_805AD7EC@sda21(r2) +/* 80266FE4 00263F44 38 03 9E 10 */ addi r0, r3, lbl_803E9E10@l +/* 80266FE8 00263F48 38 7A 05 D8 */ addi r3, r26, 0x5d8 +/* 80266FEC 00263F4C 90 1A 00 00 */ stw r0, 0(r26) +/* 80266FF0 00263F50 FC 40 08 90 */ fmr f2, f1 +/* 80266FF4 00263F54 38 80 00 00 */ li r4, 0 +/* 80266FF8 00263F58 38 A0 00 01 */ li r5, 1 +/* 80266FFC 00263F5C 80 D9 01 0C */ lwz r6, 0x10c(r25) +/* 80267000 00263F60 4B F6 1D 95 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80267004 00263F64 3C 80 80 3D */ lis r4, lbl_803D52E0@ha +/* 80267008 00263F68 38 60 00 4C */ li r3, 0x4c +/* 8026700C 00263F6C 38 84 52 E0 */ addi r4, r4, lbl_803D52E0@l +/* 80267010 00263F70 38 A0 00 00 */ li r5, 0 +/* 80267014 00263F74 38 84 00 D8 */ addi r4, r4, 0xd8 +/* 80267018 00263F78 48 0A E8 55 */ bl __nw__FUlPCcPCc +/* 8026701C 00263F7C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80267020 00263F80 41 82 00 3C */ beq lbl_8026705C +/* 80267024 00263F84 C0 5B 00 00 */ lfs f2, 0(r27) +/* 80267028 00263F88 38 81 00 2C */ addi r4, r1, 0x2c +/* 8026702C 00263F8C 80 1C 00 00 */ lwz r0, 0(r28) +/* 80267030 00263F90 C0 3B 00 04 */ lfs f1, 4(r27) +/* 80267034 00263F94 C0 1B 00 08 */ lfs f0, 8(r27) +/* 80267038 00263F98 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8026703C 00263F9C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80267040 00263FA0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80267044 00263FA4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80267048 00263FA8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8026704C 00263FAC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80267050 00263FB0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80267054 00263FB4 4B EA FD 09 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80267058 00263FB8 7C 60 1B 78 */ mr r0, r3 +lbl_8026705C: +/* 8026705C 00263FBC 90 1A 06 BC */ stw r0, 0x6bc(r26) +/* 80267060 00263FC0 7F C5 F3 78 */ mr r5, r30 +/* 80267064 00263FC4 38 7A 06 C0 */ addi r3, r26, 0x6c0 +/* 80267068 00263FC8 80 9D 00 00 */ lwz r4, 0(r29) +/* 8026706C 00263FCC 4B FB 50 3D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 80267070 00263FD0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80267074 00263FD4 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 80267078 00263FD8 38 C3 67 84 */ addi r6, r3, lbl_805A6784@l +/* 8026707C 00263FDC C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 80267080 00263FE0 90 1A 06 E8 */ stw r0, 0x6e8(r26) +/* 80267084 00263FE4 38 A0 00 01 */ li r5, 1 +/* 80267088 00263FE8 38 80 00 00 */ li r4, 0 +/* 8026708C 00263FEC 38 7A 06 C0 */ addi r3, r26, 0x6c0 +/* 80267090 00263FF0 88 1F 00 04 */ lbz r0, 4(r31) +/* 80267094 00263FF4 98 1A 06 EC */ stb r0, 0x6ec(r26) +/* 80267098 00263FF8 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8026709C 00263FFC D0 3A 06 F0 */ stfs f1, 0x6f0(r26) +/* 802670A0 00264000 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802670A4 00264004 D0 3A 06 F4 */ stfs f1, 0x6f4(r26) +/* 802670A8 00264008 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802670AC 0026400C D0 3A 06 F8 */ stfs f1, 0x6f8(r26) +/* 802670B0 00264010 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802670B4 00264014 D0 3A 06 FC */ stfs f1, 0x6fc(r26) +/* 802670B8 00264018 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 802670BC 0026401C 98 1A 07 00 */ stb r0, 0x700(r26) +/* 802670C0 00264020 C0 26 00 00 */ lfs f1, 0(r6) +/* 802670C4 00264024 D0 3A 07 04 */ stfs f1, 0x704(r26) +/* 802670C8 00264028 C0 26 00 04 */ lfs f1, 4(r6) +/* 802670CC 0026402C D0 3A 07 08 */ stfs f1, 0x708(r26) +/* 802670D0 00264030 C0 26 00 08 */ lfs f1, 8(r6) +/* 802670D4 00264034 D0 3A 07 0C */ stfs f1, 0x70c(r26) +/* 802670D8 00264038 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 802670DC 0026403C D0 3A 07 10 */ stfs f1, 0x710(r26) +/* 802670E0 00264040 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 802670E4 00264044 D0 3A 07 14 */ stfs f1, 0x714(r26) +/* 802670E8 00264048 C0 26 00 14 */ lfs f1, 0x14(r6) +/* 802670EC 0026404C D0 3A 07 18 */ stfs f1, 0x718(r26) +/* 802670F0 00264050 D0 1A 07 1C */ stfs f0, 0x71c(r26) +/* 802670F4 00264054 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802670F8 00264058 B0 1A 07 20 */ sth r0, 0x720(r26) +/* 802670FC 0026405C 88 1A 07 22 */ lbz r0, 0x722(r26) +/* 80267100 00264060 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80267104 00264064 98 1A 07 22 */ stb r0, 0x722(r26) +/* 80267108 00264068 88 1A 07 22 */ lbz r0, 0x722(r26) +/* 8026710C 0026406C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80267110 00264070 98 1A 07 22 */ stb r0, 0x722(r26) +/* 80267114 00264074 48 0D 9C 71 */ bl Lock__6CTokenFv +/* 80267118 00264078 7F 43 D3 78 */ mr r3, r26 +/* 8026711C 0026407C 38 80 00 00 */ li r4, 0 +/* 80267120 00264080 4B DE BC 4D */ bl CreateShadow__6CActorFb +/* 80267124 00264084 7F 43 D3 78 */ mr r3, r26 +/* 80267128 00264088 4B E1 07 6D */ bl MakeThermalColdAndHot__10CPatternedFv +/* 8026712C 0026408C 7F 43 D3 78 */ mr r3, r26 +/* 80267130 00264090 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80267134 00264094 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80267138 00264098 7C 08 03 A6 */ mtlr r0 +/* 8026713C 0026409C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80267140 002640A0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CTryclops.s b/asm/Kyoto_CWD/Enemies/CTryclops.s new file mode 100644 index 00000000..0dc5ee9a --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CTryclops.s @@ -0,0 +1,3690 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8025dbc0 +sub_8025dbc0: +/* 8025DBC0 0025AB20 38 63 05 68 */ addi r3, r3, 0x568 +/* 8025DBC4 0025AB24 4E 80 00 20 */ blr + +.global sub_8025dbc8 +sub_8025dbc8: +/* 8025DBC8 0025AB28 38 60 00 01 */ li r3, 1 +/* 8025DBCC 0025AB2C 4E 80 00 20 */ blr + +.global sub_8025dbd0 +sub_8025dbd0: +/* 8025DBD0 0025AB30 94 21 F5 E0 */ stwu r1, -0xa20(r1) +/* 8025DBD4 0025AB34 7C 08 02 A6 */ mflr r0 +/* 8025DBD8 0025AB38 90 01 0A 24 */ stw r0, 0xa24(r1) +/* 8025DBDC 0025AB3C DB E1 0A 10 */ stfd f31, 0xa10(r1) +/* 8025DBE0 0025AB40 F3 E1 0A 18 */ psq_st f31, -1512(r1), 0, qr0 +/* 8025DBE4 0025AB44 DB C1 0A 00 */ stfd f30, 0xa00(r1) +/* 8025DBE8 0025AB48 F3 C1 0A 08 */ psq_st f30, -1528(r1), 0, qr0 +/* 8025DBEC 0025AB4C DB A1 09 F0 */ stfd f29, 0x9f0(r1) +/* 8025DBF0 0025AB50 F3 A1 09 F8 */ psq_st f29, -1544(r1), 0, qr0 +/* 8025DBF4 0025AB54 DB 81 09 E0 */ stfd f28, 0x9e0(r1) +/* 8025DBF8 0025AB58 F3 81 09 E8 */ psq_st f28, -1560(r1), 0, qr0 +/* 8025DBFC 0025AB5C BF 21 09 C4 */ stmw r25, 0x9c4(r1) +/* 8025DC00 0025AB60 7C 9B 23 78 */ mr r27, r4 +/* 8025DC04 0025AB64 80 82 BA 2C */ lwz r4, lbl_805AD74C@sda21(r2) +/* 8025DC08 0025AB68 7C 7A 1B 78 */ mr r26, r3 +/* 8025DC0C 0025AB6C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025DC10 0025AB70 4B DA 70 A9 */ bl string_l__4rstlFPCc +/* 8025DC14 0025AB74 7F 44 D3 78 */ mr r4, r26 +/* 8025DC18 0025AB78 38 61 01 80 */ addi r3, r1, 0x180 +/* 8025DC1C 0025AB7C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8025DC20 0025AB80 4B E1 AD 59 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025DC24 0025AB84 C0 41 01 AC */ lfs f2, 0x1ac(r1) +/* 8025DC28 0025AB88 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025DC2C 0025AB8C C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 8025DC30 0025AB90 C0 01 01 8C */ lfs f0, 0x18c(r1) +/* 8025DC34 0025AB94 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8025DC38 0025AB98 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8025DC3C 0025AB9C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8025DC40 0025ABA0 48 0D FE A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025DC44 0025ABA4 C0 5A 00 58 */ lfs f2, 0x58(r26) +/* 8025DC48 0025ABA8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8025DC4C 0025ABAC C0 3A 00 48 */ lfs f1, 0x48(r26) +/* 8025DC50 0025ABB0 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l +/* 8025DC54 0025ABB4 C0 1A 00 38 */ lfs f0, 0x38(r26) +/* 8025DC58 0025ABB8 7F 64 DB 78 */ mr r4, r27 +/* 8025DC5C 0025ABBC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8025DC60 0025ABC0 38 61 01 50 */ addi r3, r1, 0x150 +/* 8025DC64 0025ABC4 C0 22 BA 30 */ lfs f1, lbl_805AD750@sda21(r2) +/* 8025DC68 0025ABC8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8025DC6C 0025ABCC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8025DC70 0025ABD0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8025DC74 0025ABD4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8025DC78 0025ABD8 4B DE F3 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8025DC7C 0025ABDC 88 01 01 70 */ lbz r0, 0x170(r1) +/* 8025DC80 0025ABE0 28 00 00 00 */ cmplwi r0, 0 +/* 8025DC84 0025ABE4 41 82 00 0C */ beq lbl_8025DC90 +/* 8025DC88 0025ABE8 38 60 00 01 */ li r3, 1 +/* 8025DC8C 0025ABEC 48 00 03 74 */ b lbl_8025E000 +lbl_8025DC90: +/* 8025DC90 0025ABF0 83 FB 08 4C */ lwz r31, 0x84c(r27) +/* 8025DC94 0025ABF4 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 8025DC98 0025ABF8 4B E9 B1 6D */ bl GetBallRadius__10CMorphBallCFv +/* 8025DC9C 0025ABFC FF E0 08 90 */ fmr f31, f1 +/* 8025DCA0 0025AC00 80 AD 97 FC */ lwz r5, lbl_805A83BC@sda21(r13) +/* 8025DCA4 0025AC04 38 60 00 00 */ li r3, 0 +/* 8025DCA8 0025AC08 38 80 00 01 */ li r4, 1 +/* 8025DCAC 0025AC0C 48 12 C2 49 */ bl __shl2i +/* 8025DCB0 0025AC10 80 AD 97 F8 */ lwz r5, lbl_805A83B8@sda21(r13) +/* 8025DCB4 0025AC14 7C 9D 23 78 */ mr r29, r4 +/* 8025DCB8 0025AC18 7C 7C 1B 78 */ mr r28, r3 +/* 8025DCBC 0025AC1C 38 60 00 00 */ li r3, 0 +/* 8025DCC0 0025AC20 38 80 00 01 */ li r4, 1 +/* 8025DCC4 0025AC24 48 12 C2 31 */ bl __shl2i +/* 8025DCC8 0025AC28 38 C0 00 03 */ li r6, 3 +/* 8025DCCC 0025AC2C 38 00 00 00 */ li r0, 0 +/* 8025DCD0 0025AC30 90 81 00 9C */ stw r4, 0x9c(r1) +/* 8025DCD4 0025AC34 38 80 00 01 */ li r4, 1 +/* 8025DCD8 0025AC38 80 AD 98 00 */ lwz r5, lbl_805A83C0@sda21(r13) +/* 8025DCDC 0025AC3C 90 61 00 98 */ stw r3, 0x98(r1) +/* 8025DCE0 0025AC40 38 60 00 00 */ li r3, 0 +/* 8025DCE4 0025AC44 90 C1 00 70 */ stw r6, 0x70(r1) +/* 8025DCE8 0025AC48 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8025DCEC 0025AC4C 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8025DCF0 0025AC50 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 8025DCF4 0025AC54 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025DCF8 0025AC58 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025DCFC 0025AC5C 48 12 C1 F9 */ bl __shl2i +/* 8025DD00 0025AC60 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8025DD04 0025AC64 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8025DD08 0025AC68 7C 00 1B 78 */ or r0, r0, r3 +/* 8025DD0C 0025AC6C 80 AD 98 04 */ lwz r5, lbl_805A83C4@sda21(r13) +/* 8025DD10 0025AC70 7C C4 23 78 */ or r4, r6, r4 +/* 8025DD14 0025AC74 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025DD18 0025AC78 38 60 00 00 */ li r3, 0 +/* 8025DD1C 0025AC7C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8025DD20 0025AC80 38 80 00 01 */ li r4, 1 +/* 8025DD24 0025AC84 48 12 C1 D1 */ bl __shl2i +/* 8025DD28 0025AC88 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8025DD2C 0025AC8C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8025DD30 0025AC90 7C 00 1B 78 */ or r0, r0, r3 +/* 8025DD34 0025AC94 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) +/* 8025DD38 0025AC98 7C A5 23 78 */ or r5, r5, r4 +/* 8025DD3C 0025AC9C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025DD40 0025ACA0 38 61 00 78 */ addi r3, r1, 0x78 +/* 8025DD44 0025ACA4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8025DD48 0025ACA8 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8025DD4C 0025ACAC C0 7F 00 40 */ lfs f3, 0x40(r31) +/* 8025DD50 0025ACB0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025DD54 0025ACB4 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8025DD58 0025ACB8 EF 83 10 2A */ fadds f28, f3, f2 +/* 8025DD5C 0025ACBC EF A1 10 2A */ fadds f29, f1, f2 +/* 8025DD60 0025ACC0 EF C0 F8 2A */ fadds f30, f0, f31 +/* 8025DD64 0025ACC4 48 07 1B 51 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8025DD68 0025ACC8 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8025DD6C 0025ACCC 38 00 00 00 */ li r0, 0 +/* 8025DD70 0025ACD0 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l +/* 8025DD74 0025ACD4 D3 81 00 88 */ stfs f28, 0x88(r1) +/* 8025DD78 0025ACD8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8025DD7C 0025ACDC 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025DD80 0025ACE0 90 A1 00 78 */ stw r5, 0x78(r1) +/* 8025DD84 0025ACE4 D3 A1 00 8C */ stfs f29, 0x8c(r1) +/* 8025DD88 0025ACE8 D3 C1 00 90 */ stfs f30, 0x90(r1) +/* 8025DD8C 0025ACEC D3 E1 00 94 */ stfs f31, 0x94(r1) +/* 8025DD90 0025ACF0 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 8025DD94 0025ACF4 48 07 66 39 */ bl CalculateLocalAABox__17CCollidableSphereCFv +/* 8025DD98 0025ACF8 7F 63 DB 78 */ mr r3, r27 +/* 8025DD9C 0025ACFC 7F E5 FB 78 */ mr r5, r31 +/* 8025DDA0 0025AD00 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 8025DDA4 0025AD04 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8025DDA8 0025AD08 4B DE E9 55 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +/* 8025DDAC 0025AD0C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8025DDB0 0025AD10 7F 63 DB 78 */ mr r3, r27 +/* 8025DDB4 0025AD14 38 A4 66 70 */ addi r5, r4, skIdentity4f@l +/* 8025DDB8 0025AD18 38 C1 00 98 */ addi r6, r1, 0x98 +/* 8025DDBC 0025AD1C 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025DDC0 0025AD20 4B F2 55 E1 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter +/* 8025DDC4 0025AD24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025DDC8 0025AD28 41 82 00 78 */ beq lbl_8025DE40 +/* 8025DDCC 0025AD2C 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 8025DDD0 0025AD30 38 60 00 00 */ li r3, 0 +/* 8025DDD4 0025AD34 2C 05 00 00 */ cmpwi r5, 0 +/* 8025DDD8 0025AD38 40 81 00 40 */ ble lbl_8025DE18 +/* 8025DDDC 0025AD3C 2C 05 00 08 */ cmpwi r5, 8 +/* 8025DDE0 0025AD40 38 85 FF F8 */ addi r4, r5, -8 +/* 8025DDE4 0025AD44 40 81 00 20 */ ble lbl_8025DE04 +/* 8025DDE8 0025AD48 38 04 00 07 */ addi r0, r4, 7 +/* 8025DDEC 0025AD4C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025DDF0 0025AD50 7C 09 03 A6 */ mtctr r0 +/* 8025DDF4 0025AD54 2C 04 00 00 */ cmpwi r4, 0 +/* 8025DDF8 0025AD58 40 81 00 0C */ ble lbl_8025DE04 +lbl_8025DDFC: +/* 8025DDFC 0025AD5C 38 63 00 08 */ addi r3, r3, 8 +/* 8025DE00 0025AD60 42 00 FF FC */ bdnz lbl_8025DDFC +lbl_8025DE04: +/* 8025DE04 0025AD64 7C 03 28 50 */ subf r0, r3, r5 +/* 8025DE08 0025AD68 7C 09 03 A6 */ mtctr r0 +/* 8025DE0C 0025AD6C 7C 03 28 00 */ cmpw r3, r5 +/* 8025DE10 0025AD70 40 80 00 08 */ bge lbl_8025DE18 +lbl_8025DE14: +/* 8025DE14 0025AD74 42 00 00 00 */ bdnz lbl_8025DE14 +lbl_8025DE18: +/* 8025DE18 0025AD78 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8025DE1C 0025AD7C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8025DE20 0025AD80 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8025DE24 0025AD84 38 80 00 00 */ li r4, 0 +/* 8025DE28 0025AD88 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DE2C 0025AD8C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8025DE30 0025AD90 38 60 00 01 */ li r3, 1 +/* 8025DE34 0025AD94 90 81 01 B0 */ stw r4, 0x1b0(r1) +/* 8025DE38 0025AD98 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DE3C 0025AD9C 48 00 01 C4 */ b lbl_8025E000 +lbl_8025DE40: +/* 8025DE40 0025ADA0 3B A1 01 B4 */ addi r29, r1, 0x1b4 +/* 8025DE44 0025ADA4 3B E1 00 E8 */ addi r31, r1, 0xe8 +/* 8025DE48 0025ADA8 7F BC EB 78 */ mr r28, r29 +/* 8025DE4C 0025ADAC 3B C1 01 20 */ addi r30, r1, 0x120 +/* 8025DE50 0025ADB0 48 00 01 30 */ b lbl_8025DF80 +lbl_8025DE54: +/* 8025DE54 0025ADB4 A0 7C 00 00 */ lhz r3, 0(r28) +/* 8025DE58 0025ADB8 A0 1A 00 08 */ lhz r0, 8(r26) +/* 8025DE5C 0025ADBC 7C 03 00 40 */ cmplw r3, r0 +/* 8025DE60 0025ADC0 41 82 01 1C */ beq lbl_8025DF7C +/* 8025DE64 0025ADC4 B0 61 00 08 */ sth r3, 8(r1) +/* 8025DE68 0025ADC8 7F 63 DB 78 */ mr r3, r27 +/* 8025DE6C 0025ADCC 38 81 00 08 */ addi r4, r1, 8 +/* 8025DE70 0025ADD0 4B DE E7 35 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025DE74 0025ADD4 7C 64 1B 78 */ mr r4, r3 +/* 8025DE78 0025ADD8 38 61 00 0C */ addi r3, r1, 0xc +/* 8025DE7C 0025ADDC 4B E4 E8 69 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 8025DE80 0025ADE0 83 23 00 04 */ lwz r25, 4(r3) +/* 8025DE84 0025ADE4 28 19 00 00 */ cmplwi r25, 0 +/* 8025DE88 0025ADE8 41 82 00 F4 */ beq lbl_8025DF7C +/* 8025DE8C 0025ADEC 7F 24 CB 78 */ mr r4, r25 +/* 8025DE90 0025ADF0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8025DE94 0025ADF4 81 99 00 00 */ lwz r12, 0(r25) +/* 8025DE98 0025ADF8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8025DE9C 0025ADFC 7D 89 03 A6 */ mtctr r12 +/* 8025DEA0 0025AE00 4E 80 04 21 */ bctrl +/* 8025DEA4 0025AE04 7F 23 CB 78 */ mr r3, r25 +/* 8025DEA8 0025AE08 81 99 00 00 */ lwz r12, 0(r25) +/* 8025DEAC 0025AE0C 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 8025DEB0 0025AE10 7D 89 03 A6 */ mtctr r12 +/* 8025DEB4 0025AE14 4E 80 04 21 */ bctrl +/* 8025DEB8 0025AE18 3C 80 80 5A */ lis r4, lbl_8059FD18@ha +/* 8025DEBC 0025AE1C 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 8025DEC0 0025AE20 38 04 FD 18 */ addi r0, r4, lbl_8059FD18@l +/* 8025DEC4 0025AE24 7F E3 FB 78 */ mr r3, r31 +/* 8025DEC8 0025AE28 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8025DECC 0025AE2C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8025DED0 0025AE30 48 0B 4C A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025DED4 0025AE34 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025DED8 0025AE38 38 01 00 98 */ addi r0, r1, 0x98 +/* 8025DEDC 0025AE3C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8025DEE0 0025AE40 90 81 01 18 */ stw r4, 0x118(r1) +/* 8025DEE4 0025AE44 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8025DEE8 0025AE48 90 01 01 1C */ stw r0, 0x11c(r1) +/* 8025DEEC 0025AE4C 7F C3 F3 78 */ mr r3, r30 +/* 8025DEF0 0025AE50 48 0B 4C 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025DEF4 0025AE54 38 61 01 18 */ addi r3, r1, 0x118 +/* 8025DEF8 0025AE58 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 8025DEFC 0025AE5C 48 07 09 31 */ bl CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc +/* 8025DF00 0025AE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025DF04 0025AE64 41 82 00 78 */ beq lbl_8025DF7C +/* 8025DF08 0025AE68 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 8025DF0C 0025AE6C 38 60 00 00 */ li r3, 0 +/* 8025DF10 0025AE70 2C 05 00 00 */ cmpwi r5, 0 +/* 8025DF14 0025AE74 40 81 00 40 */ ble lbl_8025DF54 +/* 8025DF18 0025AE78 2C 05 00 08 */ cmpwi r5, 8 +/* 8025DF1C 0025AE7C 38 85 FF F8 */ addi r4, r5, -8 +/* 8025DF20 0025AE80 40 81 00 20 */ ble lbl_8025DF40 +/* 8025DF24 0025AE84 38 04 00 07 */ addi r0, r4, 7 +/* 8025DF28 0025AE88 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025DF2C 0025AE8C 7C 09 03 A6 */ mtctr r0 +/* 8025DF30 0025AE90 2C 04 00 00 */ cmpwi r4, 0 +/* 8025DF34 0025AE94 40 81 00 0C */ ble lbl_8025DF40 +lbl_8025DF38: +/* 8025DF38 0025AE98 38 63 00 08 */ addi r3, r3, 8 +/* 8025DF3C 0025AE9C 42 00 FF FC */ bdnz lbl_8025DF38 +lbl_8025DF40: +/* 8025DF40 0025AEA0 7C 03 28 50 */ subf r0, r3, r5 +/* 8025DF44 0025AEA4 7C 09 03 A6 */ mtctr r0 +/* 8025DF48 0025AEA8 7C 03 28 00 */ cmpw r3, r5 +/* 8025DF4C 0025AEAC 40 80 00 08 */ bge lbl_8025DF54 +lbl_8025DF50: +/* 8025DF50 0025AEB0 42 00 00 00 */ bdnz lbl_8025DF50 +lbl_8025DF54: +/* 8025DF54 0025AEB4 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8025DF58 0025AEB8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8025DF5C 0025AEBC 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8025DF60 0025AEC0 38 80 00 00 */ li r4, 0 +/* 8025DF64 0025AEC4 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DF68 0025AEC8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8025DF6C 0025AECC 38 60 00 01 */ li r3, 1 +/* 8025DF70 0025AED0 90 81 01 B0 */ stw r4, 0x1b0(r1) +/* 8025DF74 0025AED4 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DF78 0025AED8 48 00 00 88 */ b lbl_8025E000 +lbl_8025DF7C: +/* 8025DF7C 0025AEDC 3B 9C 00 02 */ addi r28, r28, 2 +lbl_8025DF80: +/* 8025DF80 0025AEE0 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 8025DF84 0025AEE4 54 A0 08 3C */ slwi r0, r5, 1 +/* 8025DF88 0025AEE8 7C 1D 02 14 */ add r0, r29, r0 +/* 8025DF8C 0025AEEC 7C 1C 00 40 */ cmplw r28, r0 +/* 8025DF90 0025AEF0 40 82 FE C4 */ bne lbl_8025DE54 +/* 8025DF94 0025AEF4 2C 05 00 00 */ cmpwi r5, 0 +/* 8025DF98 0025AEF8 38 60 00 00 */ li r3, 0 +/* 8025DF9C 0025AEFC 40 81 00 40 */ ble lbl_8025DFDC +/* 8025DFA0 0025AF00 2C 05 00 08 */ cmpwi r5, 8 +/* 8025DFA4 0025AF04 38 85 FF F8 */ addi r4, r5, -8 +/* 8025DFA8 0025AF08 40 81 00 20 */ ble lbl_8025DFC8 +/* 8025DFAC 0025AF0C 38 04 00 07 */ addi r0, r4, 7 +/* 8025DFB0 0025AF10 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025DFB4 0025AF14 7C 09 03 A6 */ mtctr r0 +/* 8025DFB8 0025AF18 2C 04 00 00 */ cmpwi r4, 0 +/* 8025DFBC 0025AF1C 40 81 00 0C */ ble lbl_8025DFC8 +lbl_8025DFC0: +/* 8025DFC0 0025AF20 38 63 00 08 */ addi r3, r3, 8 +/* 8025DFC4 0025AF24 42 00 FF FC */ bdnz lbl_8025DFC0 +lbl_8025DFC8: +/* 8025DFC8 0025AF28 7C 03 28 50 */ subf r0, r3, r5 +/* 8025DFCC 0025AF2C 7C 09 03 A6 */ mtctr r0 +/* 8025DFD0 0025AF30 7C 03 28 00 */ cmpw r3, r5 +/* 8025DFD4 0025AF34 40 80 00 08 */ bge lbl_8025DFDC +lbl_8025DFD8: +/* 8025DFD8 0025AF38 42 00 00 00 */ bdnz lbl_8025DFD8 +lbl_8025DFDC: +/* 8025DFDC 0025AF3C 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8025DFE0 0025AF40 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8025DFE4 0025AF44 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8025DFE8 0025AF48 38 80 00 00 */ li r4, 0 +/* 8025DFEC 0025AF4C 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DFF0 0025AF50 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8025DFF4 0025AF54 38 60 00 00 */ li r3, 0 +/* 8025DFF8 0025AF58 90 81 01 B0 */ stw r4, 0x1b0(r1) +/* 8025DFFC 0025AF5C 90 01 00 78 */ stw r0, 0x78(r1) +lbl_8025E000: +/* 8025E000 0025AF60 E3 E1 0A 18 */ psq_l f31, -1512(r1), 0, qr0 +/* 8025E004 0025AF64 CB E1 0A 10 */ lfd f31, 0xa10(r1) +/* 8025E008 0025AF68 E3 C1 0A 08 */ psq_l f30, -1528(r1), 0, qr0 +/* 8025E00C 0025AF6C CB C1 0A 00 */ lfd f30, 0xa00(r1) +/* 8025E010 0025AF70 E3 A1 09 F8 */ psq_l f29, -1544(r1), 0, qr0 +/* 8025E014 0025AF74 CB A1 09 F0 */ lfd f29, 0x9f0(r1) +/* 8025E018 0025AF78 E3 81 09 E8 */ psq_l f28, -1560(r1), 0, qr0 +/* 8025E01C 0025AF7C CB 81 09 E0 */ lfd f28, 0x9e0(r1) +/* 8025E020 0025AF80 BB 21 09 C4 */ lmw r25, 0x9c4(r1) +/* 8025E024 0025AF84 80 01 0A 24 */ lwz r0, 0xa24(r1) +/* 8025E028 0025AF88 7C 08 03 A6 */ mtlr r0 +/* 8025E02C 0025AF8C 38 21 0A 20 */ addi r1, r1, 0xa20 +/* 8025E030 0025AF90 4E 80 00 20 */ blr + +.global sub_8025e034 +sub_8025e034: +/* 8025E034 0025AF94 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025E038 0025AF98 7C 08 02 A6 */ mflr r0 +/* 8025E03C 0025AF9C 2C 05 00 01 */ cmpwi r5, 1 +/* 8025E040 0025AFA0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025E044 0025AFA4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8025E048 0025AFA8 7C 7F 1B 78 */ mr r31, r3 +/* 8025E04C 0025AFAC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8025E050 0025AFB0 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8025E054 0025AFB4 7C 9D 23 78 */ mr r29, r4 +/* 8025E058 0025AFB8 83 C4 08 4C */ lwz r30, 0x84c(r4) +/* 8025E05C 0025AFBC 41 82 00 5C */ beq lbl_8025E0B8 +/* 8025E060 0025AFC0 40 80 00 10 */ bge lbl_8025E070 +/* 8025E064 0025AFC4 2C 05 00 00 */ cmpwi r5, 0 +/* 8025E068 0025AFC8 40 80 00 14 */ bge lbl_8025E07C +/* 8025E06C 0025AFCC 48 00 01 2C */ b lbl_8025E198 +lbl_8025E070: +/* 8025E070 0025AFD0 2C 05 00 03 */ cmpwi r5, 3 +/* 8025E074 0025AFD4 40 80 01 24 */ bge lbl_8025E198 +/* 8025E078 0025AFD8 48 00 00 D8 */ b lbl_8025E150 +lbl_8025E07C: +/* 8025E07C 0025AFDC 7F C3 F3 78 */ mr r3, r30 +/* 8025E080 0025AFE0 4B EB D2 F9 */ bl Stop__13CPhysicsActorFv +/* 8025E084 0025AFE4 7F C3 F3 78 */ mr r3, r30 +/* 8025E088 0025AFE8 7F A5 EB 78 */ mr r5, r29 +/* 8025E08C 0025AFEC 38 80 00 13 */ li r4, 0x13 +/* 8025E090 0025AFF0 4B DF 5E F1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E094 0025AFF4 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025E098 0025AFF8 38 80 00 00 */ li r4, 0 +/* 8025E09C 0025AFFC 38 00 00 01 */ li r0, 1 +/* 8025E0A0 0025B000 98 83 05 90 */ stb r4, 0x590(r3) +/* 8025E0A4 0025B004 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025E0A8 0025B008 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025E0AC 0025B00C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8025E0B0 0025B010 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025E0B4 0025B014 48 00 00 E4 */ b lbl_8025E198 +lbl_8025E0B8: +/* 8025E0B8 0025B018 3C A0 80 3F */ lis r5, lbl_803E9A34@ha +/* 8025E0BC 0025B01C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8025E0C0 0025B020 39 45 9A 34 */ addi r10, r5, lbl_803E9A34@l +/* 8025E0C4 0025B024 38 A0 00 07 */ li r5, 7 +/* 8025E0C8 0025B028 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025E0CC 0025B02C 38 E0 00 00 */ li r7, 0 +/* 8025E0D0 0025B030 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025E0D4 0025B034 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025E0D8 0025B038 91 21 00 24 */ stw r9, 0x24(r1) +/* 8025E0DC 0025B03C 91 01 00 28 */ stw r8, 0x28(r1) +/* 8025E0E0 0025B040 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8025E0E4 0025B044 4B E1 E6 D1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025E0E8 0025B048 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025E0EC 0025B04C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025E0F0 0025B050 40 82 00 A8 */ bne lbl_8025E198 +/* 8025E0F4 0025B054 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025E0F8 0025B058 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025E0FC 0025B05C 4B DA 6B BD */ bl string_l__4rstlFPCc +/* 8025E100 0025B060 7F E4 FB 78 */ mr r4, r31 +/* 8025E104 0025B064 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025E108 0025B068 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025E10C 0025B06C 4B E1 A8 6D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025E110 0025B070 38 61 00 60 */ addi r3, r1, 0x60 +/* 8025E114 0025B074 38 81 00 30 */ addi r4, r1, 0x30 +/* 8025E118 0025B078 48 0B 4A 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025E11C 0025B07C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025E120 0025B080 48 0D F9 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025E124 0025B084 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8025E128 0025B088 7F E3 FB 78 */ mr r3, r31 +/* 8025E12C 0025B08C C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 8025E130 0025B090 7F A4 EB 78 */ mr r4, r29 +/* 8025E134 0025B094 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8025E138 0025B098 38 A1 00 08 */ addi r5, r1, 8 +/* 8025E13C 0025B09C D0 41 00 08 */ stfs f2, 8(r1) +/* 8025E140 0025B0A0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8025E144 0025B0A4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025E148 0025B0A8 48 00 12 55 */ bl sub_8025f39c +/* 8025E14C 0025B0AC 48 00 00 4C */ b lbl_8025E198 +lbl_8025E150: +/* 8025E150 0025B0B0 38 00 00 00 */ li r0, 0 +/* 8025E154 0025B0B4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025E158 0025B0B8 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025E15C 0025B0BC A0 1F 00 08 */ lhz r0, 8(r31) +/* 8025E160 0025B0C0 A0 83 02 6C */ lhz r4, 0x26c(r3) +/* 8025E164 0025B0C4 7C 04 00 40 */ cmplw r4, r0 +/* 8025E168 0025B0C8 40 82 00 30 */ bne lbl_8025E198 +/* 8025E16C 0025B0CC 38 00 00 01 */ li r0, 1 +/* 8025E170 0025B0D0 7F A5 EB 78 */ mr r5, r29 +/* 8025E174 0025B0D4 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025E178 0025B0D8 38 80 00 13 */ li r4, 0x13 +/* 8025E17C 0025B0DC 4B DF 61 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E180 0025B0E0 7F C3 F3 78 */ mr r3, r30 +/* 8025E184 0025B0E4 4B DB 68 21 */ bl DetachActorFromPlayer__7CPlayerFv +/* 8025E188 0025B0E8 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025E18C 0025B0EC 38 60 00 00 */ li r3, 0 +/* 8025E190 0025B0F0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025E194 0025B0F4 98 1F 06 98 */ stb r0, 0x698(r31) +lbl_8025E198: +/* 8025E198 0025B0F8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025E19C 0025B0FC 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8025E1A0 0025B100 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8025E1A4 0025B104 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8025E1A8 0025B108 7C 08 03 A6 */ mtlr r0 +/* 8025E1AC 0025B10C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025E1B0 0025B110 4E 80 00 20 */ blr + +.global sub_8025e1b4 +sub_8025e1b4: +/* 8025E1B4 0025B114 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8025E1B8 0025B118 7C 08 02 A6 */ mflr r0 +/* 8025E1BC 0025B11C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025E1C0 0025B120 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025E1C4 0025B124 7C BF 2B 78 */ mr r31, r5 +/* 8025E1C8 0025B128 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8025E1CC 0025B12C 7C 9E 23 78 */ mr r30, r4 +/* 8025E1D0 0025B130 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8025E1D4 0025B134 7C 7D 1B 78 */ mr r29, r3 +/* 8025E1D8 0025B138 4B F9 89 05 */ bl TargetPlayer__10CPatternedFR13CStateManager9EStateMsgf +/* 8025E1DC 0025B13C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8025E1E0 0025B140 41 82 00 08 */ beq lbl_8025E1E8 +/* 8025E1E4 0025B144 48 00 00 64 */ b lbl_8025E248 +lbl_8025E1E8: +/* 8025E1E8 0025B148 A0 7D 06 94 */ lhz r3, 0x694(r29) +/* 8025E1EC 0025B14C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E1F0 0025B150 7C 03 00 40 */ cmplw r3, r0 +/* 8025E1F4 0025B154 41 82 00 54 */ beq lbl_8025E248 +/* 8025E1F8 0025B158 A0 1D 06 94 */ lhz r0, 0x694(r29) +/* 8025E1FC 0025B15C 7F C3 F3 78 */ mr r3, r30 +/* 8025E200 0025B160 38 81 00 08 */ addi r4, r1, 8 +/* 8025E204 0025B164 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E208 0025B168 4B DE E3 6D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025E20C 0025B16C 7C 64 1B 78 */ mr r4, r3 +/* 8025E210 0025B170 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E214 0025B174 4B E5 18 29 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025E218 0025B178 80 83 00 04 */ lwz r4, 4(r3) +/* 8025E21C 0025B17C 28 04 00 00 */ cmplwi r4, 0 +/* 8025E220 0025B180 41 82 00 28 */ beq lbl_8025E248 +/* 8025E224 0025B184 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E228 0025B188 38 60 00 00 */ li r3, 0 +/* 8025E22C 0025B18C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025E230 0025B190 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025E234 0025B194 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E238 0025B198 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8025E23C 0025B19C 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025E240 0025B1A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E244 0025B1A4 B0 1D 06 94 */ sth r0, 0x694(r29) +lbl_8025E248: +/* 8025E248 0025B1A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025E24C 0025B1AC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8025E250 0025B1B0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025E254 0025B1B4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8025E258 0025B1B8 7C 08 03 A6 */ mtlr r0 +/* 8025E25C 0025B1BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025E260 0025B1C0 4E 80 00 20 */ blr + +.global sub_8025e264 +sub_8025e264: +/* 8025E264 0025B1C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025E268 0025B1C8 7C 08 02 A6 */ mflr r0 +/* 8025E26C 0025B1CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025E270 0025B1D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025E274 0025B1D4 7C BF 2B 78 */ mr r31, r5 +/* 8025E278 0025B1D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025E27C 0025B1DC 7C 9E 23 78 */ mr r30, r4 +/* 8025E280 0025B1E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025E284 0025B1E4 7C 7D 1B 78 */ mr r29, r3 +/* 8025E288 0025B1E8 4B F9 8B ED */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 8025E28C 0025B1EC 2C 1F 00 01 */ cmpwi r31, 1 +/* 8025E290 0025B1F0 41 82 00 28 */ beq lbl_8025E2B8 +/* 8025E294 0025B1F4 40 80 00 30 */ bge lbl_8025E2C4 +/* 8025E298 0025B1F8 2C 1F 00 00 */ cmpwi r31, 0 +/* 8025E29C 0025B1FC 40 80 00 0C */ bge lbl_8025E2A8 +/* 8025E2A0 0025B200 48 00 00 24 */ b lbl_8025E2C4 +/* 8025E2A4 0025B204 48 00 00 20 */ b lbl_8025E2C4 +lbl_8025E2A8: +/* 8025E2A8 0025B208 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8025E2AC 0025B20C 38 80 00 01 */ li r4, 1 +/* 8025E2B0 0025B210 4B ED C7 29 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025E2B4 0025B214 48 00 00 10 */ b lbl_8025E2C4 +lbl_8025E2B8: +/* 8025E2B8 0025B218 7F A3 EB 78 */ mr r3, r29 +/* 8025E2BC 0025B21C 7F C4 F3 78 */ mr r4, r30 +/* 8025E2C0 0025B220 48 00 00 21 */ bl sub_8025e2e0 +lbl_8025E2C4: +/* 8025E2C4 0025B224 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025E2C8 0025B228 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025E2CC 0025B22C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025E2D0 0025B230 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025E2D4 0025B234 7C 08 03 A6 */ mtlr r0 +/* 8025E2D8 0025B238 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025E2DC 0025B23C 4E 80 00 20 */ blr + +.global sub_8025e2e0 +sub_8025e2e0: +/* 8025E2E0 0025B240 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8025E2E4 0025B244 7C 08 02 A6 */ mflr r0 +/* 8025E2E8 0025B248 90 01 00 64 */ stw r0, 0x64(r1) +/* 8025E2EC 0025B24C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8025E2F0 0025B250 7C 7F 1B 78 */ mr r31, r3 +/* 8025E2F4 0025B254 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8025E2F8 0025B258 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8025E2FC 0025B25C 93 81 00 50 */ stw r28, 0x50(r1) +/* 8025E300 0025B260 83 A4 08 38 */ lwz r29, 0x838(r4) +/* 8025E304 0025B264 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025E308 0025B268 3B C4 66 A0 */ addi r30, r4, skZero3f@l +/* 8025E30C 0025B26C AB 9D 20 08 */ lha r28, 0x2008(r29) +/* 8025E310 0025B270 48 00 01 04 */ b lbl_8025E414 +lbl_8025E314: +/* 8025E314 0025B274 7F A3 EB 78 */ mr r3, r29 +/* 8025E318 0025B278 7F 84 E3 78 */ mr r4, r28 +/* 8025E31C 0025B27C 4B DB 19 C1 */ bl __vc__11CObjectListCFi +/* 8025E320 0025B280 7C 64 1B 78 */ mr r4, r3 +/* 8025E324 0025B284 38 61 00 08 */ addi r3, r1, 8 +/* 8025E328 0025B288 4B E4 E7 35 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8025E32C 0025B28C 80 83 00 04 */ lwz r4, 4(r3) +/* 8025E330 0025B290 28 04 00 00 */ cmplwi r4, 0 +/* 8025E334 0025B294 41 82 00 C4 */ beq lbl_8025E3F8 +/* 8025E338 0025B298 7C 04 F8 40 */ cmplw r4, r31 +/* 8025E33C 0025B29C 41 82 00 BC */ beq lbl_8025E3F8 +/* 8025E340 0025B2A0 80 64 00 04 */ lwz r3, 4(r4) +/* 8025E344 0025B2A4 80 1F 00 04 */ lwz r0, 4(r31) +/* 8025E348 0025B2A8 7C 03 00 00 */ cmpw r3, r0 +/* 8025E34C 0025B2AC 40 82 00 AC */ bne lbl_8025E3F8 +/* 8025E350 0025B2B0 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8025E354 0025B2B4 7F E5 FB 78 */ mr r5, r31 +/* 8025E358 0025B2B8 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8025E35C 0025B2BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025E360 0025B2C0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8025E364 0025B2C4 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8025E368 0025B2C8 C0 22 BA 38 */ lfs f1, lbl_805AD758@sda21(r2) +/* 8025E36C 0025B2CC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8025E370 0025B2D0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025E374 0025B2D4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8025E378 0025B2D8 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8025E37C 0025B2DC 4B EE 05 75 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8025E380 0025B2E0 C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 8025E384 0025B2E4 38 00 00 00 */ li r0, 0 +/* 8025E388 0025B2E8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 8025E38C 0025B2EC C0 81 00 20 */ lfs f4, 0x20(r1) +/* 8025E390 0025B2F0 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 8025E394 0025B2F4 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 8025E398 0025B2F8 40 82 00 14 */ bne lbl_8025E3AC +/* 8025E39C 0025B2FC FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 8025E3A0 0025B300 40 82 00 0C */ bne lbl_8025E3AC +/* 8025E3A4 0025B304 FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 8025E3A8 0025B308 41 82 00 08 */ beq lbl_8025E3B0 +lbl_8025E3AC: +/* 8025E3AC 0025B30C 38 00 00 01 */ li r0, 1 +lbl_8025E3B0: +/* 8025E3B0 0025B310 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8025E3B4 0025B314 41 82 00 44 */ beq lbl_8025E3F8 +/* 8025E3B8 0025B318 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025E3BC 0025B31C C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025E3C0 0025B320 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8025E3C4 0025B324 38 81 00 28 */ addi r4, r1, 0x28 +/* 8025E3C8 0025B328 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 8025E3CC 0025B32C C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 8025E3D0 0025B330 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 8025E3D4 0025B334 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8025E3D8 0025B338 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 8025E3DC 0025B33C D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8025E3E0 0025B340 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8025E3E4 0025B344 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8025E3E8 0025B348 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8025E3EC 0025B34C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8025E3F0 0025B350 38 63 00 04 */ addi r3, r3, 4 +/* 8025E3F4 0025B354 4B ED 33 25 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8025E3F8: +/* 8025E3F8 0025B358 2C 1C FF FF */ cmpwi r28, -1 +/* 8025E3FC 0025B35C 41 82 00 14 */ beq lbl_8025E410 +/* 8025E400 0025B360 57 83 18 38 */ slwi r3, r28, 3 +/* 8025E404 0025B364 38 03 00 08 */ addi r0, r3, 8 +/* 8025E408 0025B368 7F 9D 02 AE */ lhax r28, r29, r0 +/* 8025E40C 0025B36C 48 00 00 08 */ b lbl_8025E414 +lbl_8025E410: +/* 8025E410 0025B370 3B 80 FF FF */ li r28, -1 +lbl_8025E414: +/* 8025E414 0025B374 2C 1C FF FF */ cmpwi r28, -1 +/* 8025E418 0025B378 40 82 FE FC */ bne lbl_8025E314 +/* 8025E41C 0025B37C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8025E420 0025B380 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8025E424 0025B384 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8025E428 0025B388 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8025E42C 0025B38C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8025E430 0025B390 7C 08 03 A6 */ mtlr r0 +/* 8025E434 0025B394 38 21 00 60 */ addi r1, r1, 0x60 +/* 8025E438 0025B398 4E 80 00 20 */ blr + +.global sub_8025e43c +sub_8025e43c: +/* 8025E43C 0025B39C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8025E440 0025B3A0 7C 08 02 A6 */ mflr r0 +/* 8025E444 0025B3A4 38 C0 00 19 */ li r6, 0x19 +/* 8025E448 0025B3A8 38 E0 00 08 */ li r7, 8 +/* 8025E44C 0025B3AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025E450 0025B3B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025E454 0025B3B4 7C 9F 23 78 */ mr r31, r4 +/* 8025E458 0025B3B8 7F E5 FB 78 */ mr r5, r31 +/* 8025E45C 0025B3BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8025E460 0025B3C0 7C 7E 1B 78 */ mr r30, r3 +/* 8025E464 0025B3C4 7F C4 F3 78 */ mr r4, r30 +/* 8025E468 0025B3C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E46C 0025B3CC 4B F9 6B 2D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025E470 0025B3D0 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8025E474 0025B3D4 7F E3 FB 78 */ mr r3, r31 +/* 8025E478 0025B3D8 38 81 00 08 */ addi r4, r1, 8 +/* 8025E47C 0025B3DC B0 01 00 10 */ sth r0, 0x10(r1) +/* 8025E480 0025B3E0 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E484 0025B3E4 4B DE E1 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025E488 0025B3E8 7C 64 1B 78 */ mr r4, r3 +/* 8025E48C 0025B3EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025E490 0025B3F0 4B E5 18 01 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025E494 0025B3F4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025E498 0025B3F8 28 05 00 00 */ cmplwi r5, 0 +/* 8025E49C 0025B3FC 41 82 00 30 */ beq lbl_8025E4CC +/* 8025E4A0 0025B400 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025E4A4 0025B404 7F C3 F3 78 */ mr r3, r30 +/* 8025E4A8 0025B408 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025E4AC 0025B40C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8025E4B0 0025B410 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025E4B4 0025B414 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8025E4B8 0025B418 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8025E4BC 0025B41C D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8025E4C0 0025B420 4B E1 E6 9D */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8025E4C4 0025B424 38 60 00 01 */ li r3, 1 +/* 8025E4C8 0025B428 48 00 00 08 */ b lbl_8025E4D0 +lbl_8025E4CC: +/* 8025E4CC 0025B42C 38 60 00 00 */ li r3, 0 +lbl_8025E4D0: +/* 8025E4D0 0025B430 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025E4D4 0025B434 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8025E4D8 0025B438 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025E4DC 0025B43C 7C 08 03 A6 */ mtlr r0 +/* 8025E4E0 0025B440 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025E4E4 0025B444 4E 80 00 20 */ blr + +.global sub_8025e4e8 +sub_8025e4e8: +/* 8025E4E8 0025B448 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E4EC 0025B44C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 8025E4F0 0025B450 4E 80 00 20 */ blr + +.global sub_8025e4f4 +sub_8025e4f4: +/* 8025E4F4 0025B454 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025E4F8 0025B458 7C 08 02 A6 */ mflr r0 +/* 8025E4FC 0025B45C 7C 65 1B 78 */ mr r5, r3 +/* 8025E500 0025B460 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025E504 0025B464 38 81 00 08 */ addi r4, r1, 8 +/* 8025E508 0025B468 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8025E50C 0025B46C 38 65 05 68 */ addi r3, r5, 0x568 +/* 8025E510 0025B470 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025E514 0025B474 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025E518 0025B478 D0 01 00 08 */ stfs f0, 8(r1) +/* 8025E51C 0025B47C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8025E520 0025B480 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025E524 0025B484 4B F6 86 11 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 8025E528 0025B488 2C 03 00 01 */ cmpwi r3, 1 +/* 8025E52C 0025B48C 41 82 00 08 */ beq lbl_8025E534 +/* 8025E530 0025B490 48 00 00 0C */ b lbl_8025E53C +lbl_8025E534: +/* 8025E534 0025B494 38 60 00 00 */ li r3, 0 +/* 8025E538 0025B498 48 00 00 08 */ b lbl_8025E540 +lbl_8025E53C: +/* 8025E53C 0025B49C 38 60 00 01 */ li r3, 1 +lbl_8025E540: +/* 8025E540 0025B4A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025E544 0025B4A4 7C 08 03 A6 */ mtlr r0 +/* 8025E548 0025B4A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025E54C 0025B4AC 4E 80 00 20 */ blr + +.global sub_8025e550 +sub_8025e550: +/* 8025E550 0025B4B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025E554 0025B4B4 7C 08 02 A6 */ mflr r0 +/* 8025E558 0025B4B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8025E55C 0025B4BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025E560 0025B4C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025E564 0025B4C4 41 82 00 08 */ beq lbl_8025E56C +/* 8025E568 0025B4C8 48 00 00 4C */ b lbl_8025E5B4 +lbl_8025E56C: +/* 8025E56C 0025B4CC 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E570 0025B4D0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8025E574 0025B4D4 40 82 00 0C */ bne lbl_8025E580 +/* 8025E578 0025B4D8 C0 02 BA 40 */ lfs f0, lbl_805AD760@sda21(r2) +/* 8025E57C 0025B4DC D0 03 06 8C */ stfs f0, 0x68c(r3) +lbl_8025E580: +/* 8025E580 0025B4E0 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025E584 0025B4E4 A0 03 00 08 */ lhz r0, 8(r3) +/* 8025E588 0025B4E8 A0 7F 02 6C */ lhz r3, 0x26c(r31) +/* 8025E58C 0025B4EC 7C 03 00 40 */ cmplw r3, r0 +/* 8025E590 0025B4F0 40 82 00 24 */ bne lbl_8025E5B4 +/* 8025E594 0025B4F4 38 00 00 01 */ li r0, 1 +/* 8025E598 0025B4F8 7F E3 FB 78 */ mr r3, r31 +/* 8025E59C 0025B4FC 98 1F 05 90 */ stb r0, 0x590(r31) +/* 8025E5A0 0025B500 7C 85 23 78 */ mr r5, r4 +/* 8025E5A4 0025B504 38 80 00 13 */ li r4, 0x13 +/* 8025E5A8 0025B508 4B DF 5D A9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E5AC 0025B50C 7F E3 FB 78 */ mr r3, r31 +/* 8025E5B0 0025B510 4B DB 63 F5 */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025E5B4: +/* 8025E5B4 0025B514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025E5B8 0025B518 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025E5BC 0025B51C 7C 08 03 A6 */ mtlr r0 +/* 8025E5C0 0025B520 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025E5C4 0025B524 4E 80 00 20 */ blr + +.global sub_8025e5c8 +sub_8025e5c8: +/* 8025E5C8 0025B528 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025E5CC 0025B52C 7C 08 02 A6 */ mflr r0 +/* 8025E5D0 0025B530 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025E5D4 0025B534 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 8025E5D8 0025B538 FF E0 08 90 */ fmr f31, f1 +/* 8025E5DC 0025B53C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8025E5E0 0025B540 7C BF 2B 79 */ or. r31, r5, r5 +/* 8025E5E4 0025B544 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8025E5E8 0025B548 7C 9E 23 78 */ mr r30, r4 +/* 8025E5EC 0025B54C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8025E5F0 0025B550 7C 7D 1B 78 */ mr r29, r3 +/* 8025E5F4 0025B554 41 82 00 0C */ beq lbl_8025E600 +/* 8025E5F8 0025B558 41 80 00 14 */ blt lbl_8025E60C +/* 8025E5FC 0025B55C 48 00 00 10 */ b lbl_8025E60C +lbl_8025E600: +/* 8025E600 0025B560 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8025E604 0025B564 38 80 00 01 */ li r4, 1 +/* 8025E608 0025B568 4B ED C3 D1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_8025E60C: +/* 8025E60C 0025B56C FC 20 F8 90 */ fmr f1, f31 +/* 8025E610 0025B570 7F A3 EB 78 */ mr r3, r29 +/* 8025E614 0025B574 7F C4 F3 78 */ mr r4, r30 +/* 8025E618 0025B578 7F E5 FB 78 */ mr r5, r31 +/* 8025E61C 0025B57C 4B F9 85 4D */ bl TargetPatrol__10CPatternedFR13CStateManager9EStateMsgf +/* 8025E620 0025B580 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025E624 0025B584 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8025E628 0025B588 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 8025E62C 0025B58C 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 8025E630 0025B590 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 8025E634 0025B594 7C 08 03 A6 */ mtlr r0 +/* 8025E638 0025B598 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025E63C 0025B59C 4E 80 00 20 */ blr + +.global sub_8025e640 +sub_8025e640: +/* 8025E640 0025B5A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8025E644 0025B5A4 7C 08 02 A6 */ mflr r0 +/* 8025E648 0025B5A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025E64C 0025B5AC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8025E650 0025B5B0 7C 7C 1B 78 */ mr r28, r3 +/* 8025E654 0025B5B4 7C 9D 23 78 */ mr r29, r4 +/* 8025E658 0025B5B8 7C BE 2B 78 */ mr r30, r5 +/* 8025E65C 0025B5BC 7C DF 33 78 */ mr r31, r6 +/* 8025E660 0025B5C0 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8025E664 0025B5C4 83 64 08 4C */ lwz r27, 0x84c(r4) +/* 8025E668 0025B5C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8025E66C 0025B5CC 41 82 00 98 */ beq lbl_8025E704 +/* 8025E670 0025B5D0 A0 7B 02 6C */ lhz r3, 0x26c(r27) +/* 8025E674 0025B5D4 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025E678 0025B5D8 7C 03 00 40 */ cmplw r3, r0 +/* 8025E67C 0025B5DC 40 82 00 28 */ bne lbl_8025E6A4 +/* 8025E680 0025B5E0 38 00 00 01 */ li r0, 1 +/* 8025E684 0025B5E4 7F 63 DB 78 */ mr r3, r27 +/* 8025E688 0025B5E8 98 1B 05 90 */ stb r0, 0x590(r27) +/* 8025E68C 0025B5EC 7F A5 EB 78 */ mr r5, r29 +/* 8025E690 0025B5F0 38 80 00 13 */ li r4, 0x13 +/* 8025E694 0025B5F4 4B DF 5C BD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E698 0025B5F8 7F 63 DB 78 */ mr r3, r27 +/* 8025E69C 0025B5FC 4B DB 63 09 */ bl DetachActorFromPlayer__7CPlayerFv +/* 8025E6A0 0025B600 48 00 00 64 */ b lbl_8025E704 +lbl_8025E6A4: +/* 8025E6A4 0025B604 A0 7C 06 94 */ lhz r3, 0x694(r28) +/* 8025E6A8 0025B608 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E6AC 0025B60C 7C 03 00 40 */ cmplw r3, r0 +/* 8025E6B0 0025B610 41 82 00 54 */ beq lbl_8025E704 +/* 8025E6B4 0025B614 A0 1C 06 94 */ lhz r0, 0x694(r28) +/* 8025E6B8 0025B618 7F A3 EB 78 */ mr r3, r29 +/* 8025E6BC 0025B61C 38 81 00 08 */ addi r4, r1, 8 +/* 8025E6C0 0025B620 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E6C4 0025B624 4B DE DE B1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025E6C8 0025B628 7C 64 1B 78 */ mr r4, r3 +/* 8025E6CC 0025B62C 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E6D0 0025B630 4B E5 13 6D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025E6D4 0025B634 80 83 00 04 */ lwz r4, 4(r3) +/* 8025E6D8 0025B638 28 04 00 00 */ cmplwi r4, 0 +/* 8025E6DC 0025B63C 41 82 00 20 */ beq lbl_8025E6FC +/* 8025E6E0 0025B640 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E6E4 0025B644 38 60 00 00 */ li r3, 0 +/* 8025E6E8 0025B648 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025E6EC 0025B64C 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025E6F0 0025B650 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E6F4 0025B654 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8025E6F8 0025B658 98 04 01 90 */ stb r0, 0x190(r4) +lbl_8025E6FC: +/* 8025E6FC 0025B65C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E700 0025B660 B0 1C 06 94 */ sth r0, 0x694(r28) +lbl_8025E704: +/* 8025E704 0025B664 7F 83 E3 78 */ mr r3, r28 +/* 8025E708 0025B668 7F A4 EB 78 */ mr r4, r29 +/* 8025E70C 0025B66C 7F C5 F3 78 */ mr r5, r30 +/* 8025E710 0025B670 7F E6 FB 78 */ mr r6, r31 +/* 8025E714 0025B674 4B E1 CC 91 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8025E718 0025B678 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8025E71C 0025B67C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025E720 0025B680 7C 08 03 A6 */ mtlr r0 +/* 8025E724 0025B684 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025E728 0025B688 4E 80 00 20 */ blr + +.global sub_8025e72c +sub_8025e72c: +/* 8025E72C 0025B68C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025E730 0025B690 7C 08 02 A6 */ mflr r0 +/* 8025E734 0025B694 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025E738 0025B698 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E73C 0025B69C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8025E740 0025B6A0 41 82 00 0C */ beq lbl_8025E74C +/* 8025E744 0025B6A4 4B E4 46 2D */ bl GetDamageVulnerability__3CAiCFv +/* 8025E748 0025B6A8 48 00 00 0C */ b lbl_8025E754 +lbl_8025E74C: +/* 8025E74C 0025B6AC 3C 60 80 57 */ lis r3, lbl_80572614@ha +/* 8025E750 0025B6B0 38 63 26 14 */ addi r3, r3, lbl_80572614@l +lbl_8025E754: +/* 8025E754 0025B6B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025E758 0025B6B8 7C 08 03 A6 */ mtlr r0 +/* 8025E75C 0025B6BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025E760 0025B6C0 4E 80 00 20 */ blr + +.global sub_8025e764 +sub_8025e764: +/* 8025E764 0025B6C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025E768 0025B6C8 7C 08 02 A6 */ mflr r0 +/* 8025E76C 0025B6CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025E770 0025B6D0 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E774 0025B6D4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8025E778 0025B6D8 41 82 00 0C */ beq lbl_8025E784 +/* 8025E77C 0025B6DC 4B E4 45 F5 */ bl GetDamageVulnerability__3CAiCFv +/* 8025E780 0025B6E0 48 00 00 0C */ b lbl_8025E78C +lbl_8025E784: +/* 8025E784 0025B6E4 3C 60 80 57 */ lis r3, lbl_80572614@ha +/* 8025E788 0025B6E8 38 63 26 14 */ addi r3, r3, lbl_80572614@l +lbl_8025E78C: +/* 8025E78C 0025B6EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025E790 0025B6F0 7C 08 03 A6 */ mtlr r0 +/* 8025E794 0025B6F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025E798 0025B6F8 4E 80 00 20 */ blr + +.global sub_8025e79c +sub_8025e79c: +/* 8025E79C 0025B6FC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025E7A0 0025B700 7C 08 02 A6 */ mflr r0 +/* 8025E7A4 0025B704 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025E7A8 0025B708 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8025E7AC 0025B70C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8025E7B0 0025B710 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8025E7B4 0025B714 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8025E7B8 0025B718 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8025E7BC 0025B71C 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8025E7C0 0025B720 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8025E7C4 0025B724 93 81 00 70 */ stw r28, 0x70(r1) +/* 8025E7C8 0025B728 7C DF 33 79 */ or. r31, r6, r6 +/* 8025E7CC 0025B72C FF C0 08 90 */ fmr f30, f1 +/* 8025E7D0 0025B730 7C 7C 1B 78 */ mr r28, r3 +/* 8025E7D4 0025B734 7C 9D 23 78 */ mr r29, r4 +/* 8025E7D8 0025B738 7C BE 2B 78 */ mr r30, r5 +/* 8025E7DC 0025B73C 38 00 00 00 */ li r0, 0 +/* 8025E7E0 0025B740 41 82 00 08 */ beq lbl_8025E7E8 +/* 8025E7E4 0025B744 48 00 00 78 */ b lbl_8025E85C +lbl_8025E7E8: +/* 8025E7E8 0025B748 A0 7C 06 94 */ lhz r3, 0x694(r28) +/* 8025E7EC 0025B74C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E7F0 0025B750 7C 03 00 40 */ cmplw r3, r0 +/* 8025E7F4 0025B754 40 82 00 44 */ bne lbl_8025E838 +/* 8025E7F8 0025B758 88 1C 06 98 */ lbz r0, 0x698(r28) +/* 8025E7FC 0025B75C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8025E800 0025B760 41 82 00 0C */ beq lbl_8025E80C +/* 8025E804 0025B764 C3 E2 BA 44 */ lfs f31, lbl_805AD764@sda21(r2) +/* 8025E808 0025B768 48 00 00 08 */ b lbl_8025E810 +lbl_8025E80C: +/* 8025E80C 0025B76C C3 FC 06 88 */ lfs f31, 0x688(r28) +lbl_8025E810: +/* 8025E810 0025B770 7F 84 E3 78 */ mr r4, r28 +/* 8025E814 0025B774 38 61 00 38 */ addi r3, r1, 0x38 +/* 8025E818 0025B778 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8025E81C 0025B77C 4B E1 A1 5D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025E820 0025B780 FC 20 F8 90 */ fmr f1, f31 +/* 8025E824 0025B784 7F 83 E3 78 */ mr r3, r28 +/* 8025E828 0025B788 7F A4 EB 78 */ mr r4, r29 +/* 8025E82C 0025B78C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8025E830 0025B790 48 00 05 F9 */ bl sub_8025ee28 +/* 8025E834 0025B794 48 00 00 24 */ b lbl_8025E858 +lbl_8025E838: +/* 8025E838 0025B798 7F 84 E3 78 */ mr r4, r28 +/* 8025E83C 0025B79C 38 61 00 08 */ addi r3, r1, 8 +/* 8025E840 0025B7A0 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8025E844 0025B7A4 4B E1 A1 35 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025E848 0025B7A8 7F 83 E3 78 */ mr r3, r28 +/* 8025E84C 0025B7AC 7F A4 EB 78 */ mr r4, r29 +/* 8025E850 0025B7B0 38 A1 00 08 */ addi r5, r1, 8 +/* 8025E854 0025B7B4 48 00 04 91 */ bl sub_8025ece4 +lbl_8025E858: +/* 8025E858 0025B7B8 38 00 00 01 */ li r0, 1 +lbl_8025E85C: +/* 8025E85C 0025B7BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8025E860 0025B7C0 40 82 00 1C */ bne lbl_8025E87C +/* 8025E864 0025B7C4 FC 20 F0 90 */ fmr f1, f30 +/* 8025E868 0025B7C8 7F 83 E3 78 */ mr r3, r28 +/* 8025E86C 0025B7CC 7F A4 EB 78 */ mr r4, r29 +/* 8025E870 0025B7D0 7F C5 F3 78 */ mr r5, r30 +/* 8025E874 0025B7D4 7F E6 FB 78 */ mr r6, r31 +/* 8025E878 0025B7D8 4B E1 A6 39 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8025E87C: +/* 8025E87C 0025B7DC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8025E880 0025B7E0 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8025E884 0025B7E4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8025E888 0025B7E8 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8025E88C 0025B7EC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8025E890 0025B7F0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8025E894 0025B7F4 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8025E898 0025B7F8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025E89C 0025B7FC 83 81 00 70 */ lwz r28, 0x70(r1) +/* 8025E8A0 0025B800 7C 08 03 A6 */ mtlr r0 +/* 8025E8A4 0025B804 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025E8A8 0025B808 4E 80 00 20 */ blr + +.global sub_8025e8ac +sub_8025e8ac: +/* 8025E8AC 0025B80C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8025E8B0 0025B810 7C 08 02 A6 */ mflr r0 +/* 8025E8B4 0025B814 90 01 01 24 */ stw r0, 0x124(r1) +/* 8025E8B8 0025B818 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8025E8BC 0025B81C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8025E8C0 0025B820 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8025E8C4 0025B824 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8025E8C8 0025B828 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8025E8CC 0025B82C 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8025E8D0 0025B830 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8025E8D4 0025B834 2C 05 00 01 */ cmpwi r5, 1 +/* 8025E8D8 0025B838 83 A4 08 4C */ lwz r29, 0x84c(r4) +/* 8025E8DC 0025B83C 7C 9F 23 78 */ mr r31, r4 +/* 8025E8E0 0025B840 7C 7E 1B 78 */ mr r30, r3 +/* 8025E8E4 0025B844 41 82 01 E0 */ beq lbl_8025EAC4 +/* 8025E8E8 0025B848 40 80 00 10 */ bge lbl_8025E8F8 +/* 8025E8EC 0025B84C 2C 05 00 00 */ cmpwi r5, 0 +/* 8025E8F0 0025B850 40 80 00 14 */ bge lbl_8025E904 +/* 8025E8F4 0025B854 48 00 02 B8 */ b lbl_8025EBAC +lbl_8025E8F8: +/* 8025E8F8 0025B858 2C 05 00 03 */ cmpwi r5, 3 +/* 8025E8FC 0025B85C 40 80 02 B0 */ bge lbl_8025EBAC +/* 8025E900 0025B860 48 00 02 70 */ b lbl_8025EB70 +lbl_8025E904: +/* 8025E904 0025B864 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 8025E908 0025B868 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E90C 0025B86C 7C 03 00 40 */ cmplw r3, r0 +/* 8025E910 0025B870 40 82 00 28 */ bne lbl_8025E938 +/* 8025E914 0025B874 7F A3 EB 78 */ mr r3, r29 +/* 8025E918 0025B878 4B EB CA 61 */ bl Stop__13CPhysicsActorFv +/* 8025E91C 0025B87C 7F A3 EB 78 */ mr r3, r29 +/* 8025E920 0025B880 7F E5 FB 78 */ mr r5, r31 +/* 8025E924 0025B884 38 80 00 13 */ li r4, 0x13 +/* 8025E928 0025B888 4B DF 56 59 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E92C 0025B88C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025E930 0025B890 38 00 00 00 */ li r0, 0 +/* 8025E934 0025B894 98 03 05 90 */ stb r0, 0x590(r3) +lbl_8025E938: +/* 8025E938 0025B898 7F C4 F3 78 */ mr r4, r30 +/* 8025E93C 0025B89C 7F E5 FB 78 */ mr r5, r31 +/* 8025E940 0025B8A0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025E944 0025B8A4 38 C0 00 19 */ li r6, 0x19 +/* 8025E948 0025B8A8 38 E0 00 06 */ li r7, 6 +/* 8025E94C 0025B8AC 4B F9 66 4D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025E950 0025B8B0 A0 61 00 10 */ lhz r3, 0x10(r1) +/* 8025E954 0025B8B4 3B A0 00 00 */ li r29, 0 +/* 8025E958 0025B8B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E95C 0025B8BC B0 61 00 14 */ sth r3, 0x14(r1) +/* 8025E960 0025B8C0 7C 03 00 40 */ cmplw r3, r0 +/* 8025E964 0025B8C4 40 82 00 28 */ bne lbl_8025E98C +/* 8025E968 0025B8C8 7F C4 F3 78 */ mr r4, r30 +/* 8025E96C 0025B8CC 7F E5 FB 78 */ mr r5, r31 +/* 8025E970 0025B8D0 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E974 0025B8D4 38 C0 00 0C */ li r6, 0xc +/* 8025E978 0025B8D8 38 E0 00 06 */ li r7, 6 +/* 8025E97C 0025B8DC 4B F9 66 1D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025E980 0025B8E0 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8025E984 0025B8E4 3B A0 00 01 */ li r29, 1 +/* 8025E988 0025B8E8 B0 01 00 14 */ sth r0, 0x14(r1) +lbl_8025E98C: +/* 8025E98C 0025B8EC A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8025E990 0025B8F0 7F E3 FB 78 */ mr r3, r31 +/* 8025E994 0025B8F4 38 81 00 08 */ addi r4, r1, 8 +/* 8025E998 0025B8F8 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E99C 0025B8FC 4B DE DC 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025E9A0 0025B900 7C 64 1B 78 */ mr r4, r3 +/* 8025E9A4 0025B904 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025E9A8 0025B908 4B E5 12 E9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025E9AC 0025B90C 80 63 00 04 */ lwz r3, 4(r3) +/* 8025E9B0 0025B910 28 03 00 00 */ cmplwi r3, 0 +/* 8025E9B4 0025B914 41 82 01 F8 */ beq lbl_8025EBAC +/* 8025E9B8 0025B918 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8025E9BC 0025B91C 41 82 00 24 */ beq lbl_8025E9E0 +/* 8025E9C0 0025B920 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 8025E9C4 0025B924 38 81 00 6C */ addi r4, r1, 0x6c +/* 8025E9C8 0025B928 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8025E9CC 0025B92C C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8025E9D0 0025B930 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8025E9D4 0025B934 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8025E9D8 0025B938 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8025E9DC 0025B93C 48 00 00 44 */ b lbl_8025EA20 +lbl_8025E9E0: +/* 8025E9E0 0025B940 C0 A3 00 60 */ lfs f5, 0x60(r3) +/* 8025E9E4 0025B944 38 81 00 54 */ addi r4, r1, 0x54 +/* 8025E9E8 0025B948 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8025E9EC 0025B94C C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8025E9F0 0025B950 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8025E9F4 0025B954 EC 25 00 28 */ fsubs f1, f5, f0 +/* 8025E9F8 0025B958 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8025E9FC 0025B95C C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 8025EA00 0025B960 EC 44 10 28 */ fsubs f2, f4, f2 +/* 8025EA04 0025B964 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8025EA08 0025B968 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8025EA0C 0025B96C D0 81 00 64 */ stfs f4, 0x64(r1) +/* 8025EA10 0025B970 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 8025EA14 0025B974 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8025EA18 0025B978 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8025EA1C 0025B97C D0 21 00 5C */ stfs f1, 0x5c(r1) +lbl_8025EA20: +/* 8025EA20 0025B980 C0 04 00 00 */ lfs f0, 0(r4) +/* 8025EA24 0025B984 38 61 00 78 */ addi r3, r1, 0x78 +/* 8025EA28 0025B988 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8025EA2C 0025B98C C0 04 00 04 */ lfs f0, 4(r4) +/* 8025EA30 0025B990 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8025EA34 0025B994 C0 04 00 08 */ lfs f0, 8(r4) +/* 8025EA38 0025B998 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8025EA3C 0025B99C C3 DE 00 48 */ lfs f30, 0x48(r30) +/* 8025EA40 0025B9A0 C3 FE 00 38 */ lfs f31, 0x38(r30) +/* 8025EA44 0025B9A4 48 0B 5E B5 */ bl Normalize__9CVector3fFv +/* 8025EA48 0025B9A8 C0 A2 BA 34 */ lfs f5, lbl_805AD754@sda21(r2) +/* 8025EA4C 0025B9AC 7F C3 F3 78 */ mr r3, r30 +/* 8025EA50 0025B9B0 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 8025EA54 0025B9B4 38 81 00 48 */ addi r4, r1, 0x48 +/* 8025EA58 0025B9B8 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 8025EA5C 0025B9BC C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8025EA60 0025B9C0 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 8025EA64 0025B9C4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8025EA68 0025B9C8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8025EA6C 0025B9CC EC 64 18 2A */ fadds f3, f4, f3 +/* 8025EA70 0025B9D0 EC 42 28 2A */ fadds f2, f2, f5 +/* 8025EA74 0025B9D4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8025EA78 0025B9D8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8025EA7C 0025B9DC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8025EA80 0025B9E0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8025EA84 0025B9E4 4B E1 E0 D9 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8025EA88 0025B9E8 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8025EA8C 0025B9EC C0 41 00 78 */ lfs f2, 0x78(r1) +/* 8025EA90 0025B9F0 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8025EA94 0025B9F4 C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) +/* 8025EA98 0025B9F8 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 8025EA9C 0025B9FC C0 02 BA 48 */ lfs f0, lbl_805AD768@sda21(r2) +/* 8025EAA0 0025BA00 EC 3F 08 BA */ fmadds f1, f31, f2, f1 +/* 8025EAA4 0025BA04 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8025EAA8 0025BA08 FC 20 0A 10 */ fabs f1, f1 +/* 8025EAAC 0025BA0C FC 20 08 18 */ frsp f1, f1 +/* 8025EAB0 0025BA10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025EAB4 0025BA14 40 80 00 F8 */ bge lbl_8025EBAC +/* 8025EAB8 0025BA18 38 00 00 01 */ li r0, 1 +/* 8025EABC 0025BA1C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025EAC0 0025BA20 48 00 00 EC */ b lbl_8025EBAC +lbl_8025EAC4: +/* 8025EAC4 0025BA24 3C A0 80 3F */ lis r5, lbl_803E9A28@ha +/* 8025EAC8 0025BA28 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8025EACC 0025BA2C 39 45 9A 28 */ addi r10, r5, lbl_803E9A28@l +/* 8025EAD0 0025BA30 38 A0 00 08 */ li r5, 8 +/* 8025EAD4 0025BA34 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025EAD8 0025BA38 38 E0 00 00 */ li r7, 0 +/* 8025EADC 0025BA3C 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025EAE0 0025BA40 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025EAE4 0025BA44 91 21 00 3C */ stw r9, 0x3c(r1) +/* 8025EAE8 0025BA48 91 01 00 40 */ stw r8, 0x40(r1) +/* 8025EAEC 0025BA4C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025EAF0 0025BA50 4B E1 DC C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025EAF4 0025BA54 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 8025EAF8 0025BA58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025EAFC 0025BA5C 7C 03 00 40 */ cmplw r3, r0 +/* 8025EB00 0025BA60 40 82 00 60 */ bne lbl_8025EB60 +/* 8025EB04 0025BA64 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025EB08 0025BA68 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025EB0C 0025BA6C 4B DA 61 AD */ bl string_l__4rstlFPCc +/* 8025EB10 0025BA70 7F C4 F3 78 */ mr r4, r30 +/* 8025EB14 0025BA74 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025EB18 0025BA78 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8025EB1C 0025BA7C 4B E1 9E 5D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025EB20 0025BA80 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8025EB24 0025BA84 38 81 00 84 */ addi r4, r1, 0x84 +/* 8025EB28 0025BA88 48 0B 40 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025EB2C 0025BA8C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025EB30 0025BA90 48 0D EF B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025EB34 0025BA94 C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 8025EB38 0025BA98 7F C3 F3 78 */ mr r3, r30 +/* 8025EB3C 0025BA9C C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 8025EB40 0025BAA0 7F E4 FB 78 */ mr r4, r31 +/* 8025EB44 0025BAA4 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 8025EB48 0025BAA8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8025EB4C 0025BAAC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8025EB50 0025BAB0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8025EB54 0025BAB4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8025EB58 0025BAB8 48 00 08 45 */ bl sub_8025f39c +/* 8025EB5C 0025BABC 48 00 00 50 */ b lbl_8025EBAC +lbl_8025EB60: +/* 8025EB60 0025BAC0 7F C3 F3 78 */ mr r3, r30 +/* 8025EB64 0025BAC4 7F E4 FB 78 */ mr r4, r31 +/* 8025EB68 0025BAC8 48 00 07 3D */ bl sub_8025f2a4 +/* 8025EB6C 0025BACC 48 00 00 40 */ b lbl_8025EBAC +lbl_8025EB70: +/* 8025EB70 0025BAD0 38 60 00 00 */ li r3, 0 +/* 8025EB74 0025BAD4 38 00 00 01 */ li r0, 1 +/* 8025EB78 0025BAD8 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 8025EB7C 0025BADC 7F E5 FB 78 */ mr r5, r31 +/* 8025EB80 0025BAE0 38 80 00 13 */ li r4, 0x13 +/* 8025EB84 0025BAE4 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025EB88 0025BAE8 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025EB8C 0025BAEC 4B DF 57 C5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025EB90 0025BAF0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025EB94 0025BAF4 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8025EB98 0025BAF8 A0 63 02 6C */ lhz r3, 0x26c(r3) +/* 8025EB9C 0025BAFC 7C 03 00 40 */ cmplw r3, r0 +/* 8025EBA0 0025BB00 40 82 00 0C */ bne lbl_8025EBAC +/* 8025EBA4 0025BB04 7F A3 EB 78 */ mr r3, r29 +/* 8025EBA8 0025BB08 4B DB 5D FD */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025EBAC: +/* 8025EBAC 0025BB0C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8025EBB0 0025BB10 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8025EBB4 0025BB14 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8025EBB8 0025BB18 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8025EBBC 0025BB1C 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8025EBC0 0025BB20 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8025EBC4 0025BB24 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8025EBC8 0025BB28 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 8025EBCC 0025BB2C 7C 08 03 A6 */ mtlr r0 +/* 8025EBD0 0025BB30 38 21 01 20 */ addi r1, r1, 0x120 +/* 8025EBD4 0025BB34 4E 80 00 20 */ blr + +.global sub_8025ebd8 +sub_8025ebd8: +/* 8025EBD8 0025BB38 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025EBDC 0025BB3C 7C 08 02 A6 */ mflr r0 +/* 8025EBE0 0025BB40 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025EBE4 0025BB44 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025EBE8 0025BB48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025EBEC 0025BB4C 7C 7E 1B 78 */ mr r30, r3 +/* 8025EBF0 0025BB50 A0 63 06 94 */ lhz r3, 0x694(r3) +/* 8025EBF4 0025BB54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025EBF8 0025BB58 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025EBFC 0025BB5C 7C 03 00 40 */ cmplw r3, r0 +/* 8025EC00 0025BB60 41 82 00 C8 */ beq lbl_8025ECC8 +/* 8025EC04 0025BB64 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 8025EC08 0025BB68 7C 83 23 78 */ mr r3, r4 +/* 8025EC0C 0025BB6C 38 81 00 08 */ addi r4, r1, 8 +/* 8025EC10 0025BB70 B0 01 00 08 */ sth r0, 8(r1) +/* 8025EC14 0025BB74 4B DE D9 61 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025EC18 0025BB78 7C 64 1B 78 */ mr r4, r3 +/* 8025EC1C 0025BB7C 38 61 00 0C */ addi r3, r1, 0xc +/* 8025EC20 0025BB80 4B E5 0E 1D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025EC24 0025BB84 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025EC28 0025BB88 28 05 00 00 */ cmplwi r5, 0 +/* 8025EC2C 0025BB8C 41 82 00 9C */ beq lbl_8025ECC8 +/* 8025EC30 0025BB90 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8025EC34 0025BB94 2C 00 00 01 */ cmpwi r0, 1 +/* 8025EC38 0025BB98 40 82 00 90 */ bne lbl_8025ECC8 +/* 8025EC3C 0025BB9C C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8025EC40 0025BBA0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025EC44 0025BBA4 C0 05 00 50 */ lfs f0, 0x50(r5) +/* 8025EC48 0025BBA8 EC 41 18 28 */ fsubs f2, f1, f3 +/* 8025EC4C 0025BBAC C0 DE 00 40 */ lfs f6, 0x40(r30) +/* 8025EC50 0025BBB0 EC A0 18 28 */ fsubs f5, f0, f3 +/* 8025EC54 0025BBB4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8025EC58 0025BBB8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025EC5C 0025BBBC EC 81 30 28 */ fsubs f4, f1, f6 +/* 8025EC60 0025BBC0 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8025EC64 0025BBC4 C0 FE 00 60 */ lfs f7, 0x60(r30) +/* 8025EC68 0025BBC8 EC C0 30 28 */ fsubs f6, f0, f6 +/* 8025EC6C 0025BBCC C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8025EC70 0025BBD0 EC 05 01 72 */ fmuls f0, f5, f5 +/* 8025EC74 0025BBD4 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025EC78 0025BBD8 EC 63 38 28 */ fsubs f3, f3, f7 +/* 8025EC7C 0025BBDC EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 8025EC80 0025BBE0 EC 42 38 28 */ fsubs f2, f2, f7 +/* 8025EC84 0025BBE4 EC 06 01 BA */ fmadds f0, f6, f6, f0 +/* 8025EC88 0025BBE8 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8025EC8C 0025BBEC EC 02 00 BA */ fmadds f0, f2, f2, f0 +/* 8025EC90 0025BBF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025EC94 0025BBF4 7C 00 00 26 */ mfcr r0 +/* 8025EC98 0025BBF8 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f +/* 8025EC9C 0025BBFC 41 82 00 30 */ beq lbl_8025ECCC +/* 8025ECA0 0025BC00 88 05 01 90 */ lbz r0, 0x190(r5) +/* 8025ECA4 0025BC04 38 80 00 00 */ li r4, 0 +/* 8025ECA8 0025BC08 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8025ECAC 0025BC0C 98 05 01 90 */ stb r0, 0x190(r5) +/* 8025ECB0 0025BC10 88 05 01 90 */ lbz r0, 0x190(r5) +/* 8025ECB4 0025BC14 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8025ECB8 0025BC18 98 05 01 90 */ stb r0, 0x190(r5) +/* 8025ECBC 0025BC1C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025ECC0 0025BC20 B0 1E 06 94 */ sth r0, 0x694(r30) +/* 8025ECC4 0025BC24 48 00 00 08 */ b lbl_8025ECCC +lbl_8025ECC8: +/* 8025ECC8 0025BC28 38 60 00 01 */ li r3, 1 +lbl_8025ECCC: +/* 8025ECCC 0025BC2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025ECD0 0025BC30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025ECD4 0025BC34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025ECD8 0025BC38 7C 08 03 A6 */ mtlr r0 +/* 8025ECDC 0025BC3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025ECE0 0025BC40 4E 80 00 20 */ blr + +.global sub_8025ece4 +sub_8025ece4: +/* 8025ECE4 0025BC44 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8025ECE8 0025BC48 7C 08 02 A6 */ mflr r0 +/* 8025ECEC 0025BC4C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8025ECF0 0025BC50 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8025ECF4 0025BC54 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8025ECF8 0025BC58 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8025ECFC 0025BC5C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8025ED00 0025BC60 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8025ED04 0025BC64 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8025ED08 0025BC68 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025ED0C 0025BC6C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8025ED10 0025BC70 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8025ED14 0025BC74 7C 7D 1B 78 */ mr r29, r3 +/* 8025ED18 0025BC78 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025ED1C 0025BC7C A0 63 06 94 */ lhz r3, 0x694(r3) +/* 8025ED20 0025BC80 7C 9E 23 78 */ mr r30, r4 +/* 8025ED24 0025BC84 7C 03 00 40 */ cmplw r3, r0 +/* 8025ED28 0025BC88 41 82 00 A4 */ beq lbl_8025EDCC +/* 8025ED2C 0025BC8C C0 45 00 24 */ lfs f2, 0x24(r5) +/* 8025ED30 0025BC90 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025ED34 0025BC94 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8025ED38 0025BC98 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025ED3C 0025BC9C C0 05 00 04 */ lfs f0, 4(r5) +/* 8025ED40 0025BCA0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8025ED44 0025BCA4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025ED48 0025BCA8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025ED4C 0025BCAC 48 0B 5B 05 */ bl AsNormalized__9CVector3fCFv +/* 8025ED50 0025BCB0 A0 1D 06 94 */ lhz r0, 0x694(r29) +/* 8025ED54 0025BCB4 7F C3 F3 78 */ mr r3, r30 +/* 8025ED58 0025BCB8 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 8025ED5C 0025BCBC 38 81 00 08 */ addi r4, r1, 8 +/* 8025ED60 0025BCC0 B0 01 00 08 */ sth r0, 8(r1) +/* 8025ED64 0025BCC4 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 8025ED68 0025BCC8 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 8025ED6C 0025BCCC 4B DE D8 09 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025ED70 0025BCD0 7C 64 1B 78 */ mr r4, r3 +/* 8025ED74 0025BCD4 38 61 00 0C */ addi r3, r1, 0xc +/* 8025ED78 0025BCD8 4B E5 0C C5 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025ED7C 0025BCDC 83 E3 00 04 */ lwz r31, 4(r3) +/* 8025ED80 0025BCE0 28 1F 00 00 */ cmplwi r31, 0 +/* 8025ED84 0025BCE4 41 82 00 48 */ beq lbl_8025EDCC +/* 8025ED88 0025BCE8 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8025ED8C 0025BCEC 48 0B 37 51 */ bl Float__9CRandom16Fv +/* 8025ED90 0025BCF0 C0 62 BA 44 */ lfs f3, lbl_805AD764@sda21(r2) +/* 8025ED94 0025BCF4 C0 02 BA 4C */ lfs f0, lbl_805AD76C@sda21(r2) +/* 8025ED98 0025BCF8 C0 42 96 A0 */ lfs f2, lbl_805AB3C0@sda21(r2) +/* 8025ED9C 0025BCFC EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 8025EDA0 0025BD00 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 8025EDA4 0025BD04 FC 80 10 50 */ fneg f4, f2 +/* 8025EDA8 0025BD08 EC 61 07 F2 */ fmuls f3, f1, f31 +/* 8025EDAC 0025BD0C EC 41 07 B2 */ fmuls f2, f1, f30 +/* 8025EDB0 0025BD10 EC 21 07 72 */ fmuls f1, f1, f29 +/* 8025EDB4 0025BD14 D0 7F 01 58 */ stfs f3, 0x158(r31) +/* 8025EDB8 0025BD18 D0 5F 01 5C */ stfs f2, 0x15c(r31) +/* 8025EDBC 0025BD1C D0 3F 01 60 */ stfs f1, 0x160(r31) +/* 8025EDC0 0025BD20 D0 1F 01 64 */ stfs f0, 0x164(r31) +/* 8025EDC4 0025BD24 D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 8025EDC8 0025BD28 D0 9F 01 6C */ stfs f4, 0x16c(r31) +lbl_8025EDCC: +/* 8025EDCC 0025BD2C 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025EDD0 0025BD30 38 60 00 00 */ li r3, 0 +/* 8025EDD4 0025BD34 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025EDD8 0025BD38 38 60 00 01 */ li r3, 1 +/* 8025EDDC 0025BD3C 98 1D 06 98 */ stb r0, 0x698(r29) +/* 8025EDE0 0025BD40 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025EDE4 0025BD44 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025EDE8 0025BD48 98 1D 06 98 */ stb r0, 0x698(r29) +/* 8025EDEC 0025BD4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025EDF0 0025BD50 B0 1D 06 94 */ sth r0, 0x694(r29) +/* 8025EDF4 0025BD54 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8025EDF8 0025BD58 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8025EDFC 0025BD5C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8025EE00 0025BD60 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8025EE04 0025BD64 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8025EE08 0025BD68 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8025EE0C 0025BD6C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8025EE10 0025BD70 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8025EE14 0025BD74 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8025EE18 0025BD78 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8025EE1C 0025BD7C 7C 08 03 A6 */ mtlr r0 +/* 8025EE20 0025BD80 38 21 00 70 */ addi r1, r1, 0x70 +/* 8025EE24 0025BD84 4E 80 00 20 */ blr + +.global sub_8025ee28 +sub_8025ee28: +/* 8025EE28 0025BD88 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8025EE2C 0025BD8C 7C 08 02 A6 */ mflr r0 +/* 8025EE30 0025BD90 90 01 01 44 */ stw r0, 0x144(r1) +/* 8025EE34 0025BD94 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8025EE38 0025BD98 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8025EE3C 0025BD9C DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8025EE40 0025BDA0 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8025EE44 0025BDA4 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8025EE48 0025BDA8 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8025EE4C 0025BDAC DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8025EE50 0025BDB0 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8025EE54 0025BDB4 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8025EE58 0025BDB8 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8025EE5C 0025BDBC 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8025EE60 0025BDC0 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 8025EE64 0025BDC4 7C BE 2B 78 */ mr r30, r5 +/* 8025EE68 0025BDC8 7C 9D 23 78 */ mr r29, r4 +/* 8025EE6C 0025BDCC 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025EE70 0025BDD0 7C 7C 1B 78 */ mr r28, r3 +/* 8025EE74 0025BDD4 C0 45 00 24 */ lfs f2, 0x24(r5) +/* 8025EE78 0025BDD8 FF E0 08 90 */ fmr f31, f1 +/* 8025EE7C 0025BDDC C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8025EE80 0025BDE0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8025EE84 0025BDE4 C0 05 00 04 */ lfs f0, 4(r5) +/* 8025EE88 0025BDE8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8025EE8C 0025BDEC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8025EE90 0025BDF0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8025EE94 0025BDF4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8025EE98 0025BDF8 48 0B 59 B9 */ bl AsNormalized__9CVector3fCFv +/* 8025EE9C 0025BDFC C3 C1 00 44 */ lfs f30, 0x44(r1) +/* 8025EEA0 0025BE00 38 60 00 01 */ li r3, 1 +/* 8025EEA4 0025BE04 C3 A1 00 48 */ lfs f29, 0x48(r1) +/* 8025EEA8 0025BE08 C3 81 00 4C */ lfs f28, 0x4c(r1) +/* 8025EEAC 0025BE0C 98 7F 05 90 */ stb r3, 0x590(r31) +/* 8025EEB0 0025BE10 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8025EEB4 0025BE14 2C 00 00 01 */ cmpwi r0, 1 +/* 8025EEB8 0025BE18 40 82 01 70 */ bne lbl_8025F028 +/* 8025EEBC 0025BE1C 88 1C 06 98 */ lbz r0, 0x698(r28) +/* 8025EEC0 0025BE20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025EEC4 0025BE24 C0 02 BA 40 */ lfs f0, lbl_805AD760@sda21(r2) +/* 8025EEC8 0025BE28 7F E3 FB 78 */ mr r3, r31 +/* 8025EECC 0025BE2C 98 1C 06 98 */ stb r0, 0x698(r28) +/* 8025EED0 0025BE30 D0 1C 06 8C */ stfs f0, 0x68c(r28) +/* 8025EED4 0025BE34 4B EB C4 A5 */ bl Stop__13CPhysicsActorFv +/* 8025EED8 0025BE38 7F C4 F3 78 */ mr r4, r30 +/* 8025EEDC 0025BE3C 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025EEE0 0025BE40 38 BC 06 4C */ addi r5, r28, 0x64c +/* 8025EEE4 0025BE44 48 0B 3A 6D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8025EEE8 0025BE48 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8025EEEC 0025BE4C 38 81 00 84 */ addi r4, r1, 0x84 +/* 8025EEF0 0025BE50 48 0B 3C 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025EEF4 0025BE54 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8025EEF8 0025BE58 7F E3 FB 78 */ mr r3, r31 +/* 8025EEFC 0025BE5C C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) +/* 8025EF00 0025BE60 7F A5 EB 78 */ mr r5, r29 +/* 8025EF04 0025BE64 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 8025EF08 0025BE68 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8025EF0C 0025BE6C EC 60 20 2A */ fadds f3, f0, f4 +/* 8025EF10 0025BE70 C0 21 00 E0 */ lfs f1, 0xe0(r1) +/* 8025EF14 0025BE74 C0 02 BA 50 */ lfs f0, lbl_805AD770@sda21(r2) +/* 8025EF18 0025BE78 EC 42 20 2A */ fadds f2, f2, f4 +/* 8025EF1C 0025BE7C 38 C0 00 00 */ li r6, 0 +/* 8025EF20 0025BE80 EC 01 00 2A */ fadds f0, f1, f0 +/* 8025EF24 0025BE84 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 8025EF28 0025BE88 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 8025EF2C 0025BE8C D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 8025EF30 0025BE90 48 02 61 6D */ bl Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb +/* 8025EF34 0025BE94 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 8025EF38 0025BE98 EC 60 07 B2 */ fmuls f3, f0, f30 +/* 8025EF3C 0025BE9C EC 40 07 72 */ fmuls f2, f0, f29 +/* 8025EF40 0025BEA0 EC 20 07 32 */ fmuls f1, f0, f28 +/* 8025EF44 0025BEA4 EC 1F 00 F2 */ fmuls f0, f31, f3 +/* 8025EF48 0025BEA8 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8025EF4C 0025BEAC EC 9F 00 B2 */ fmuls f4, f31, f2 +/* 8025EF50 0025BEB0 EC 7F 00 72 */ fmuls f3, f31, f1 +/* 8025EF54 0025BEB4 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8025EF58 0025BEB8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8025EF5C 0025BEBC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8025EF60 0025BEC0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8025EF64 0025BEC4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8025EF68 0025BEC8 4B DB C5 CD */ bl Identity__10CAxisAngleFv +/* 8025EF6C 0025BECC 7C 65 1B 78 */ mr r5, r3 +/* 8025EF70 0025BED0 7F E3 FB 78 */ mr r3, r31 +/* 8025EF74 0025BED4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8025EF78 0025BED8 4B EB D4 21 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 8025EF7C 0025BEDC 7F E3 FB 78 */ mr r3, r31 +/* 8025EF80 0025BEE0 7F A5 EB 78 */ mr r5, r29 +/* 8025EF84 0025BEE4 38 80 00 02 */ li r4, 2 +/* 8025EF88 0025BEE8 48 02 74 65 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 8025EF8C 0025BEEC 7F E3 FB 78 */ mr r3, r31 +/* 8025EF90 0025BEF0 7F A5 EB 78 */ mr r5, r29 +/* 8025EF94 0025BEF4 38 80 00 13 */ li r4, 0x13 +/* 8025EF98 0025BEF8 4B DF 53 B9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025EF9C 0025BEFC 80 AD 97 E0 */ lwz r5, lbl_805A83A0@sda21(r13) +/* 8025EFA0 0025BF00 38 60 00 00 */ li r3, 0 +/* 8025EFA4 0025BF04 38 80 00 01 */ li r4, 1 +/* 8025EFA8 0025BF08 48 12 AF 4D */ bl __shl2i +/* 8025EFAC 0025BF0C 38 A0 00 00 */ li r5, 0 +/* 8025EFB0 0025BF10 38 00 00 03 */ li r0, 3 +/* 8025EFB4 0025BF14 90 81 00 54 */ stw r4, 0x54(r1) +/* 8025EFB8 0025BF18 7F 84 E3 78 */ mr r4, r28 +/* 8025EFBC 0025BF1C 90 61 00 50 */ stw r3, 0x50(r1) +/* 8025EFC0 0025BF20 38 61 00 68 */ addi r3, r1, 0x68 +/* 8025EFC4 0025BF24 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 8025EFC8 0025BF28 90 A1 00 58 */ stw r5, 0x58(r1) +/* 8025EFCC 0025BF2C 90 01 00 60 */ stw r0, 0x60(r1) +/* 8025EFD0 0025BF30 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025EFD4 0025BF34 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025EFD8 0025BF38 A0 BF 00 08 */ lhz r5, 8(r31) +/* 8025EFDC 0025BF3C B0 01 00 08 */ sth r0, 8(r1) +/* 8025EFE0 0025BF40 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 8025EFE4 0025BF44 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025EFE8 0025BF48 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 8025EFEC 0025BF4C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8025EFF0 0025BF50 81 9C 00 00 */ lwz r12, 0(r28) +/* 8025EFF4 0025BF54 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8025EFF8 0025BF58 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8025EFFC 0025BF5C 7D 89 03 A6 */ mtctr r12 +/* 8025F000 0025BF60 4E 80 04 21 */ bctrl +/* 8025F004 0025BF64 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025F008 0025BF68 7F A3 EB 78 */ mr r3, r29 +/* 8025F00C 0025BF6C 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8025F010 0025BF70 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025F014 0025BF74 38 81 00 1C */ addi r4, r1, 0x1c +/* 8025F018 0025BF78 38 C1 00 0C */ addi r6, r1, 0xc +/* 8025F01C 0025BF7C 38 E1 00 68 */ addi r7, r1, 0x68 +/* 8025F020 0025BF80 39 01 00 50 */ addi r8, r1, 0x50 +/* 8025F024 0025BF84 4B DE B0 7D */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_8025F028: +/* 8025F028 0025BF88 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8025F02C 0025BF8C CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8025F030 0025BF90 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8025F034 0025BF94 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8025F038 0025BF98 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8025F03C 0025BF9C CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8025F040 0025BFA0 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8025F044 0025BFA4 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8025F048 0025BFA8 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8025F04C 0025BFAC 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8025F050 0025BFB0 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 8025F054 0025BFB4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8025F058 0025BFB8 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 8025F05C 0025BFBC 7C 08 03 A6 */ mtlr r0 +/* 8025F060 0025BFC0 38 21 01 40 */ addi r1, r1, 0x140 +/* 8025F064 0025BFC4 4E 80 00 20 */ blr + +.global sub_8025f068 +sub_8025f068: +/* 8025F068 0025BFC8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025F06C 0025BFCC 7C 08 02 A6 */ mflr r0 +/* 8025F070 0025BFD0 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F074 0025BFD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025F078 0025BFD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025F07C 0025BFDC 7C 9F 23 78 */ mr r31, r4 +/* 8025F080 0025BFE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025F084 0025BFE4 7C 7E 1B 78 */ mr r30, r3 +/* 8025F088 0025BFE8 41 82 00 3C */ beq lbl_8025F0C4 +/* 8025F08C 0025BFEC 40 80 00 10 */ bge lbl_8025F09C +/* 8025F090 0025BFF0 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F094 0025BFF4 40 80 00 14 */ bge lbl_8025F0A8 +/* 8025F098 0025BFF8 48 00 00 80 */ b lbl_8025F118 +lbl_8025F09C: +/* 8025F09C 0025BFFC 2C 05 00 03 */ cmpwi r5, 3 +/* 8025F0A0 0025C000 40 80 00 78 */ bge lbl_8025F118 +/* 8025F0A4 0025C004 48 00 00 6C */ b lbl_8025F110 +lbl_8025F0A8: +/* 8025F0A8 0025C008 38 00 00 01 */ li r0, 1 +/* 8025F0AC 0025C00C 38 60 00 00 */ li r3, 0 +/* 8025F0B0 0025C010 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025F0B4 0025C014 88 1E 06 98 */ lbz r0, 0x698(r30) +/* 8025F0B8 0025C018 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025F0BC 0025C01C 98 1E 06 98 */ stb r0, 0x698(r30) +/* 8025F0C0 0025C020 48 00 00 58 */ b lbl_8025F118 +lbl_8025F0C4: +/* 8025F0C4 0025C024 3C A0 80 3F */ lis r5, lbl_803E9A1C@ha +/* 8025F0C8 0025C028 38 C1 00 08 */ addi r6, r1, 8 +/* 8025F0CC 0025C02C 39 45 9A 1C */ addi r10, r5, lbl_803E9A1C@l +/* 8025F0D0 0025C030 38 A0 00 07 */ li r5, 7 +/* 8025F0D4 0025C034 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025F0D8 0025C038 38 E0 00 01 */ li r7, 1 +/* 8025F0DC 0025C03C 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025F0E0 0025C040 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025F0E4 0025C044 91 21 00 08 */ stw r9, 8(r1) +/* 8025F0E8 0025C048 91 01 00 0C */ stw r8, 0xc(r1) +/* 8025F0EC 0025C04C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025F0F0 0025C050 4B E1 D6 C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025F0F4 0025C054 88 1E 06 98 */ lbz r0, 0x698(r30) +/* 8025F0F8 0025C058 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025F0FC 0025C05C 40 82 00 1C */ bne lbl_8025F118 +/* 8025F100 0025C060 7F C3 F3 78 */ mr r3, r30 +/* 8025F104 0025C064 7F E4 FB 78 */ mr r4, r31 +/* 8025F108 0025C068 48 00 01 9D */ bl sub_8025f2a4 +/* 8025F10C 0025C06C 48 00 00 0C */ b lbl_8025F118 +lbl_8025F110: +/* 8025F110 0025C070 38 00 00 00 */ li r0, 0 +/* 8025F114 0025C074 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8025F118: +/* 8025F118 0025C078 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025F11C 0025C07C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025F120 0025C080 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025F124 0025C084 7C 08 03 A6 */ mtlr r0 +/* 8025F128 0025C088 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025F12C 0025C08C 4E 80 00 20 */ blr + +.global sub_8025f130 +sub_8025f130: +/* 8025F130 0025C090 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025F134 0025C094 7C 08 02 A6 */ mflr r0 +/* 8025F138 0025C098 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F13C 0025C09C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025F140 0025C0A0 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8025F144 0025C0A4 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8025F148 0025C0A8 7C 9E 23 78 */ mr r30, r4 +/* 8025F14C 0025C0AC 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8025F150 0025C0B0 7C 7D 1B 78 */ mr r29, r3 +/* 8025F154 0025C0B4 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025F158 0025C0B8 41 82 00 5C */ beq lbl_8025F1B4 +/* 8025F15C 0025C0BC 40 80 00 10 */ bge lbl_8025F16C +/* 8025F160 0025C0C0 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F164 0025C0C4 40 80 00 14 */ bge lbl_8025F178 +/* 8025F168 0025C0C8 48 00 01 20 */ b lbl_8025F288 +lbl_8025F16C: +/* 8025F16C 0025C0CC 2C 05 00 03 */ cmpwi r5, 3 +/* 8025F170 0025C0D0 40 80 01 18 */ bge lbl_8025F288 +/* 8025F174 0025C0D4 48 00 00 D8 */ b lbl_8025F24C +lbl_8025F178: +/* 8025F178 0025C0D8 7F E3 FB 78 */ mr r3, r31 +/* 8025F17C 0025C0DC 4B EB C1 FD */ bl Stop__13CPhysicsActorFv +/* 8025F180 0025C0E0 7F E3 FB 78 */ mr r3, r31 +/* 8025F184 0025C0E4 7F C5 F3 78 */ mr r5, r30 +/* 8025F188 0025C0E8 38 80 00 13 */ li r4, 0x13 +/* 8025F18C 0025C0EC 4B DF 4D F5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F190 0025C0F0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025F194 0025C0F4 38 80 00 00 */ li r4, 0 +/* 8025F198 0025C0F8 38 00 00 01 */ li r0, 1 +/* 8025F19C 0025C0FC 98 83 05 90 */ stb r4, 0x590(r3) +/* 8025F1A0 0025C100 90 1D 03 2C */ stw r0, 0x32c(r29) +/* 8025F1A4 0025C104 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025F1A8 0025C108 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8025F1AC 0025C10C 98 1D 06 98 */ stb r0, 0x698(r29) +/* 8025F1B0 0025C110 48 00 00 D8 */ b lbl_8025F288 +lbl_8025F1B4: +/* 8025F1B4 0025C114 3C A0 80 3F */ lis r5, lbl_803E9A10@ha +/* 8025F1B8 0025C118 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8025F1BC 0025C11C 39 45 9A 10 */ addi r10, r5, lbl_803E9A10@l +/* 8025F1C0 0025C120 38 A0 00 07 */ li r5, 7 +/* 8025F1C4 0025C124 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025F1C8 0025C128 38 E0 00 01 */ li r7, 1 +/* 8025F1CC 0025C12C 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025F1D0 0025C130 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025F1D4 0025C134 91 21 00 24 */ stw r9, 0x24(r1) +/* 8025F1D8 0025C138 91 01 00 28 */ stw r8, 0x28(r1) +/* 8025F1DC 0025C13C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8025F1E0 0025C140 4B E1 D5 D5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025F1E4 0025C144 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025F1E8 0025C148 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025F1EC 0025C14C 40 82 00 9C */ bne lbl_8025F288 +/* 8025F1F0 0025C150 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F1F4 0025C154 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F1F8 0025C158 4B DA 5A C1 */ bl string_l__4rstlFPCc +/* 8025F1FC 0025C15C 7F A4 EB 78 */ mr r4, r29 +/* 8025F200 0025C160 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025F204 0025C164 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025F208 0025C168 4B E1 97 71 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F20C 0025C16C 38 61 00 60 */ addi r3, r1, 0x60 +/* 8025F210 0025C170 38 81 00 30 */ addi r4, r1, 0x30 +/* 8025F214 0025C174 48 0B 39 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F218 0025C178 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F21C 0025C17C 48 0D E8 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F220 0025C180 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8025F224 0025C184 7F A3 EB 78 */ mr r3, r29 +/* 8025F228 0025C188 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 8025F22C 0025C18C 7F C4 F3 78 */ mr r4, r30 +/* 8025F230 0025C190 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8025F234 0025C194 38 A1 00 08 */ addi r5, r1, 8 +/* 8025F238 0025C198 D0 41 00 08 */ stfs f2, 8(r1) +/* 8025F23C 0025C19C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8025F240 0025C1A0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025F244 0025C1A4 48 00 01 59 */ bl sub_8025f39c +/* 8025F248 0025C1A8 48 00 00 40 */ b lbl_8025F288 +lbl_8025F24C: +/* 8025F24C 0025C1AC 38 00 00 00 */ li r0, 0 +/* 8025F250 0025C1B0 90 1D 03 2C */ stw r0, 0x32c(r29) +/* 8025F254 0025C1B4 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025F258 0025C1B8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8025F25C 0025C1BC A0 63 02 6C */ lhz r3, 0x26c(r3) +/* 8025F260 0025C1C0 7C 03 00 40 */ cmplw r3, r0 +/* 8025F264 0025C1C4 40 82 00 0C */ bne lbl_8025F270 +/* 8025F268 0025C1C8 7F E3 FB 78 */ mr r3, r31 +/* 8025F26C 0025C1CC 4B DB 57 39 */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025F270: +/* 8025F270 0025C1D0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025F274 0025C1D4 38 00 00 01 */ li r0, 1 +/* 8025F278 0025C1D8 7F C5 F3 78 */ mr r5, r30 +/* 8025F27C 0025C1DC 38 80 00 13 */ li r4, 0x13 +/* 8025F280 0025C1E0 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025F284 0025C1E4 4B DF 50 CD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8025F288: +/* 8025F288 0025C1E8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025F28C 0025C1EC 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8025F290 0025C1F0 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8025F294 0025C1F4 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8025F298 0025C1F8 7C 08 03 A6 */ mtlr r0 +/* 8025F29C 0025C1FC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025F2A0 0025C200 4E 80 00 20 */ blr + +.global sub_8025f2a4 +sub_8025f2a4: +/* 8025F2A4 0025C204 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8025F2A8 0025C208 7C 08 02 A6 */ mflr r0 +/* 8025F2AC 0025C20C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8025F2B0 0025C210 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8025F2B4 0025C214 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8025F2B8 0025C218 7C 7E 1B 78 */ mr r30, r3 +/* 8025F2BC 0025C21C A0 03 06 94 */ lhz r0, 0x694(r3) +/* 8025F2C0 0025C220 7C 83 23 78 */ mr r3, r4 +/* 8025F2C4 0025C224 38 81 00 08 */ addi r4, r1, 8 +/* 8025F2C8 0025C228 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F2CC 0025C22C 4B DE D2 A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025F2D0 0025C230 7C 64 1B 78 */ mr r4, r3 +/* 8025F2D4 0025C234 38 61 00 0C */ addi r3, r1, 0xc +/* 8025F2D8 0025C238 4B E5 07 65 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025F2DC 0025C23C 83 E3 00 04 */ lwz r31, 4(r3) +/* 8025F2E0 0025C240 28 1F 00 00 */ cmplwi r31, 0 +/* 8025F2E4 0025C244 41 82 00 A0 */ beq lbl_8025F384 +/* 8025F2E8 0025C248 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F2EC 0025C24C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F2F0 0025C250 4B DA 59 C9 */ bl string_l__4rstlFPCc +/* 8025F2F4 0025C254 7F C4 F3 78 */ mr r4, r30 +/* 8025F2F8 0025C258 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025F2FC 0025C25C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025F300 0025C260 4B E1 96 79 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F304 0025C264 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025F308 0025C268 38 81 00 24 */ addi r4, r1, 0x24 +/* 8025F30C 0025C26C 48 0B 38 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F310 0025C270 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F314 0025C274 48 0D E7 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F318 0025C278 3C 60 80 57 */ lis r3, lbl_80572688@ha +/* 8025F31C 0025C27C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8025F320 0025C280 38 A3 26 88 */ addi r5, r3, lbl_80572688@l +/* 8025F324 0025C284 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 8025F328 0025C288 C0 05 00 00 */ lfs f0, 0(r5) +/* 8025F32C 0025C28C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8025F330 0025C290 C0 45 00 04 */ lfs f2, 4(r5) +/* 8025F334 0025C294 38 81 00 54 */ addi r4, r1, 0x54 +/* 8025F338 0025C298 EC 81 00 2A */ fadds f4, f1, f0 +/* 8025F33C 0025C29C C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8025F340 0025C2A0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8025F344 0025C2A4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8025F348 0025C2A8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8025F34C 0025C2AC D0 81 00 60 */ stfs f4, 0x60(r1) +/* 8025F350 0025C2B0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8025F354 0025C2B4 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8025F358 0025C2B8 48 0B 37 E9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8025F35C 0025C2BC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F360 0025C2C0 38 60 00 01 */ li r3, 1 +/* 8025F364 0025C2C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025F368 0025C2C8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F36C 0025C2CC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F370 0025C2D0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025F374 0025C2D4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F378 0025C2D8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F37C 0025C2DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8025F380 0025C2E0 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_8025F384: +/* 8025F384 0025C2E4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8025F388 0025C2E8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8025F38C 0025C2EC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8025F390 0025C2F0 7C 08 03 A6 */ mtlr r0 +/* 8025F394 0025C2F4 38 21 00 90 */ addi r1, r1, 0x90 +/* 8025F398 0025C2F8 4E 80 00 20 */ blr + +.global sub_8025f39c +sub_8025f39c: +/* 8025F39C 0025C2FC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025F3A0 0025C300 7C 08 02 A6 */ mflr r0 +/* 8025F3A4 0025C304 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025F3A8 0025C308 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8025F3AC 0025C30C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8025F3B0 0025C310 7C 9E 23 78 */ mr r30, r4 +/* 8025F3B4 0025C314 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8025F3B8 0025C318 7C 7D 1B 78 */ mr r29, r3 +/* 8025F3BC 0025C31C 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025F3C0 0025C320 7F E3 FB 78 */ mr r3, r31 +/* 8025F3C4 0025C324 4B EB BF B5 */ bl Stop__13CPhysicsActorFv +/* 8025F3C8 0025C328 7F E3 FB 78 */ mr r3, r31 +/* 8025F3CC 0025C32C 7F C5 F3 78 */ mr r5, r30 +/* 8025F3D0 0025C330 38 80 00 13 */ li r4, 0x13 +/* 8025F3D4 0025C334 4B DF 4B AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F3D8 0025C338 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F3DC 0025C33C 38 61 00 08 */ addi r3, r1, 8 +/* 8025F3E0 0025C340 4B DA 58 D9 */ bl string_l__4rstlFPCc +/* 8025F3E4 0025C344 7F A4 EB 78 */ mr r4, r29 +/* 8025F3E8 0025C348 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025F3EC 0025C34C 38 A1 00 08 */ addi r5, r1, 8 +/* 8025F3F0 0025C350 4B E1 95 89 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F3F4 0025C354 38 61 00 48 */ addi r3, r1, 0x48 +/* 8025F3F8 0025C358 38 81 00 18 */ addi r4, r1, 0x18 +/* 8025F3FC 0025C35C 38 BD 06 4C */ addi r5, r29, 0x64c +/* 8025F400 0025C360 48 0B 35 51 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8025F404 0025C364 38 61 00 78 */ addi r3, r1, 0x78 +/* 8025F408 0025C368 38 81 00 48 */ addi r4, r1, 0x48 +/* 8025F40C 0025C36C 48 0B 37 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F410 0025C370 38 61 00 08 */ addi r3, r1, 8 +/* 8025F414 0025C374 48 0D E6 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F418 0025C378 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8025F41C 0025C37C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8025F420 0025C380 C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) +/* 8025F424 0025C384 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025F428 0025C388 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 8025F42C 0025C38C EC 60 20 2A */ fadds f3, f0, f4 +/* 8025F430 0025C390 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8025F434 0025C394 C0 02 BA 50 */ lfs f0, lbl_805AD770@sda21(r2) +/* 8025F438 0025C398 EC 42 20 2A */ fadds f2, f2, f4 +/* 8025F43C 0025C39C EC 01 00 2A */ fadds f0, f1, f0 +/* 8025F440 0025C3A0 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 8025F444 0025C3A4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8025F448 0025C3A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8025F44C 0025C3AC 48 0B 36 F5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8025F450 0025C3B0 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F454 0025C3B4 38 60 00 01 */ li r3, 1 +/* 8025F458 0025C3B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025F45C 0025C3BC 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F460 0025C3C0 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F464 0025C3C4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025F468 0025C3C8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F46C 0025C3CC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F470 0025C3D0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8025F474 0025C3D4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F478 0025C3D8 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8025F47C 0025C3DC 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8025F480 0025C3E0 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8025F484 0025C3E4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025F488 0025C3E8 7C 08 03 A6 */ mtlr r0 +/* 8025F48C 0025C3EC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025F490 0025C3F0 4E 80 00 20 */ blr + +.global sub_8025f494 +sub_8025f494: +/* 8025F494 0025C3F4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025F498 0025C3F8 7C 08 02 A6 */ mflr r0 +/* 8025F49C 0025C3FC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025F4A0 0025C400 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8025F4A4 0025C404 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8025F4A8 0025C408 7C BE 2B 78 */ mr r30, r5 +/* 8025F4AC 0025C40C 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8025F4B0 0025C410 7C 9D 23 78 */ mr r29, r4 +/* 8025F4B4 0025C414 93 81 00 90 */ stw r28, 0x90(r1) +/* 8025F4B8 0025C418 7C 7C 1B 78 */ mr r28, r3 +/* 8025F4BC 0025C41C 4B F9 72 11 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8025F4C0 0025C420 7F 83 E3 78 */ mr r3, r28 +/* 8025F4C4 0025C424 7F A4 EB 78 */ mr r4, r29 +/* 8025F4C8 0025C428 4B FF EE 19 */ bl sub_8025e2e0 +/* 8025F4CC 0025C42C 2C 1E 00 01 */ cmpwi r30, 1 +/* 8025F4D0 0025C430 83 FD 08 4C */ lwz r31, 0x84c(r29) +/* 8025F4D4 0025C434 41 82 00 60 */ beq lbl_8025F534 +/* 8025F4D8 0025C438 40 80 00 B4 */ bge lbl_8025F58C +/* 8025F4DC 0025C43C 2C 1E 00 00 */ cmpwi r30, 0 +/* 8025F4E0 0025C440 40 80 00 0C */ bge lbl_8025F4EC +/* 8025F4E4 0025C444 48 00 00 A8 */ b lbl_8025F58C +/* 8025F4E8 0025C448 48 00 00 A4 */ b lbl_8025F58C +lbl_8025F4EC: +/* 8025F4EC 0025C44C 7F E3 FB 78 */ mr r3, r31 +/* 8025F4F0 0025C450 4B EB BE 89 */ bl Stop__13CPhysicsActorFv +/* 8025F4F4 0025C454 7F E3 FB 78 */ mr r3, r31 +/* 8025F4F8 0025C458 7F A5 EB 78 */ mr r5, r29 +/* 8025F4FC 0025C45C 38 80 00 13 */ li r4, 0x13 +/* 8025F500 0025C460 4B DF 4A 81 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F504 0025C464 38 00 00 00 */ li r0, 0 +/* 8025F508 0025C468 98 1F 05 90 */ stb r0, 0x590(r31) +/* 8025F50C 0025C46C 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 8025F510 0025C470 4B E9 23 E5 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 8025F514 0025C474 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025F518 0025C478 38 81 00 0C */ addi r4, r1, 0xc +/* 8025F51C 0025C47C 38 A0 00 01 */ li r5, 1 +/* 8025F520 0025C480 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025F524 0025C484 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F528 0025C488 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025F52C 0025C48C 4B DB 54 A5 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId +/* 8025F530 0025C490 48 00 00 5C */ b lbl_8025F58C +lbl_8025F534: +/* 8025F534 0025C494 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F538 0025C498 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025F53C 0025C49C 4B DA 57 7D */ bl string_l__4rstlFPCc +/* 8025F540 0025C4A0 7F 84 E3 78 */ mr r4, r28 +/* 8025F544 0025C4A4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025F548 0025C4A8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8025F54C 0025C4AC 4B E1 94 2D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F550 0025C4B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8025F554 0025C4B4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8025F558 0025C4B8 48 0B 36 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F55C 0025C4BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025F560 0025C4C0 48 0D E5 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F564 0025C4C4 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 8025F568 0025C4C8 7F 83 E3 78 */ mr r3, r28 +/* 8025F56C 0025C4CC C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8025F570 0025C4D0 7F A4 EB 78 */ mr r4, r29 +/* 8025F574 0025C4D4 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8025F578 0025C4D8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8025F57C 0025C4DC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025F580 0025C4E0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8025F584 0025C4E4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8025F588 0025C4E8 4B FF FE 15 */ bl sub_8025f39c +lbl_8025F58C: +/* 8025F58C 0025C4EC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025F590 0025C4F0 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8025F594 0025C4F4 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8025F598 0025C4F8 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8025F59C 0025C4FC 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8025F5A0 0025C500 7C 08 03 A6 */ mtlr r0 +/* 8025F5A4 0025C504 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025F5A8 0025C508 4E 80 00 20 */ blr + +.global sub_8025f5ac +sub_8025f5ac: +/* 8025F5AC 0025C50C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025F5B0 0025C510 7C 08 02 A6 */ mflr r0 +/* 8025F5B4 0025C514 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025F5B8 0025C518 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025F5BC 0025C51C 7C BF 2B 78 */ mr r31, r5 +/* 8025F5C0 0025C520 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025F5C4 0025C524 7C 9E 23 78 */ mr r30, r4 +/* 8025F5C8 0025C528 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025F5CC 0025C52C 7C 7D 1B 78 */ mr r29, r3 +/* 8025F5D0 0025C530 4B F9 70 FD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8025F5D4 0025C534 7F A3 EB 78 */ mr r3, r29 +/* 8025F5D8 0025C538 7F C4 F3 78 */ mr r4, r30 +/* 8025F5DC 0025C53C 4B FF ED 05 */ bl sub_8025e2e0 +/* 8025F5E0 0025C540 2C 1F 00 01 */ cmpwi r31, 1 +/* 8025F5E4 0025C544 41 82 00 10 */ beq lbl_8025F5F4 +/* 8025F5E8 0025C548 40 80 00 18 */ bge lbl_8025F600 +/* 8025F5EC 0025C54C 48 00 00 14 */ b lbl_8025F600 +/* 8025F5F0 0025C550 48 00 00 10 */ b lbl_8025F600 +lbl_8025F5F4: +/* 8025F5F4 0025C554 7F A3 EB 78 */ mr r3, r29 +/* 8025F5F8 0025C558 7F C4 F3 78 */ mr r4, r30 +/* 8025F5FC 0025C55C 4B FF FC A9 */ bl sub_8025f2a4 +lbl_8025F600: +/* 8025F600 0025C560 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025F604 0025C564 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025F608 0025C568 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025F60C 0025C56C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025F610 0025C570 7C 08 03 A6 */ mtlr r0 +/* 8025F614 0025C574 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025F618 0025C578 4E 80 00 20 */ blr + +.global sub_8025f61c +sub_8025f61c: +/* 8025F61C 0025C57C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025F620 0025C580 7C 08 02 A6 */ mflr r0 +/* 8025F624 0025C584 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025F628 0025C588 81 83 00 00 */ lwz r12, 0(r3) +/* 8025F62C 0025C58C 81 8C 00 B0 */ lwz r12, 0xb0(r12) +/* 8025F630 0025C590 7D 89 03 A6 */ mtctr r12 +/* 8025F634 0025C594 4E 80 04 21 */ bctrl +/* 8025F638 0025C598 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025F63C 0025C59C 7C 08 03 A6 */ mtlr r0 +/* 8025F640 0025C5A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025F644 0025C5A4 4E 80 00 20 */ blr + +.global sub_8025f648 +sub_8025f648: +/* 8025F648 0025C5A8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8025F64C 0025C5AC 7C 08 02 A6 */ mflr r0 +/* 8025F650 0025C5B0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8025F654 0025C5B4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8025F658 0025C5B8 7C 9F 23 78 */ mr r31, r4 +/* 8025F65C 0025C5BC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8025F660 0025C5C0 7C 7E 1B 78 */ mr r30, r3 +/* 8025F664 0025C5C4 4B F9 70 69 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8025F668 0025C5C8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F66C 0025C5CC C0 BE 00 58 */ lfs f5, 0x58(r30) +/* 8025F670 0025C5D0 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8025F674 0025C5D4 C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 8025F678 0025C5D8 C0 63 00 04 */ lfs f3, 4(r3) +/* 8025F67C 0025C5DC C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 8025F680 0025C5E0 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 8025F684 0025C5E4 C0 43 00 08 */ lfs f2, 8(r3) +/* 8025F688 0025C5E8 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8025F68C 0025C5EC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8025F690 0025C5F0 C0 43 00 0C */ lfs f2, 0xc(r3) +/* 8025F694 0025C5F4 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8025F698 0025C5F8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025F69C 0025C5FC EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 8025F6A0 0025C600 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025F6A4 0025C604 40 80 00 78 */ bge lbl_8025F71C +/* 8025F6A8 0025C608 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F6AC 0025C60C 48 0B 50 4D */ bl CanBeNormalized__9CVector3fCFv +/* 8025F6B0 0025C610 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025F6B4 0025C614 41 82 00 68 */ beq lbl_8025F71C +/* 8025F6B8 0025C618 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F6BC 0025C61C 38 63 00 04 */ addi r3, r3, 4 +/* 8025F6C0 0025C620 4B ED 1D E9 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 8025F6C4 0025C624 38 61 00 08 */ addi r3, r1, 8 +/* 8025F6C8 0025C628 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025F6CC 0025C62C 48 0B 51 85 */ bl AsNormalized__9CVector3fCFv +/* 8025F6D0 0025C630 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025F6D4 0025C634 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) +/* 8025F6D8 0025C638 C0 61 00 08 */ lfs f3, 8(r1) +/* 8025F6DC 0025C63C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8025F6E0 0025C640 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8025F6E4 0025C644 C0 A3 00 04 */ lfs f5, 4(r3) +/* 8025F6E8 0025C648 C0 83 00 08 */ lfs f4, 8(r3) +/* 8025F6EC 0025C64C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8025F6F0 0025C650 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 8025F6F4 0025C654 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 8025F6F8 0025C658 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 8025F6FC 0025C65C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8025F700 0025C660 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8025F704 0025C664 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8025F708 0025C668 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8025F70C 0025C66C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8025F710 0025C670 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F714 0025C674 38 63 00 04 */ addi r3, r3, 4 +/* 8025F718 0025C678 4B ED 20 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8025F71C: +/* 8025F71C 0025C67C 7F C3 F3 78 */ mr r3, r30 +/* 8025F720 0025C680 7F E4 FB 78 */ mr r4, r31 +/* 8025F724 0025C684 4B FF EB BD */ bl sub_8025e2e0 +/* 8025F728 0025C688 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8025F72C 0025C68C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8025F730 0025C690 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8025F734 0025C694 7C 08 03 A6 */ mtlr r0 +/* 8025F738 0025C698 38 21 00 50 */ addi r1, r1, 0x50 +/* 8025F73C 0025C69C 4E 80 00 20 */ blr + +.global sub_8025f740 +sub_8025f740: +/* 8025F740 0025C6A0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8025F744 0025C6A4 7C 08 02 A6 */ mflr r0 +/* 8025F748 0025C6A8 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F74C 0025C6AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025F750 0025C6B0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025F754 0025C6B4 7C 9F 23 78 */ mr r31, r4 +/* 8025F758 0025C6B8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8025F75C 0025C6BC 7C 7E 1B 78 */ mr r30, r3 +/* 8025F760 0025C6C0 41 82 01 00 */ beq lbl_8025F860 +/* 8025F764 0025C6C4 40 80 01 00 */ bge lbl_8025F864 +/* 8025F768 0025C6C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F76C 0025C6CC 40 80 00 0C */ bge lbl_8025F778 +/* 8025F770 0025C6D0 48 00 00 F4 */ b lbl_8025F864 +/* 8025F774 0025C6D4 48 00 00 F0 */ b lbl_8025F864 +lbl_8025F778: +/* 8025F778 0025C6D8 7F C4 F3 78 */ mr r4, r30 +/* 8025F77C 0025C6DC 7F E5 FB 78 */ mr r5, r31 +/* 8025F780 0025C6E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025F784 0025C6E4 38 C0 00 0C */ li r6, 0xc +/* 8025F788 0025C6E8 38 E0 00 06 */ li r7, 6 +/* 8025F78C 0025C6EC 4B F9 58 0D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025F790 0025C6F0 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8025F794 0025C6F4 7F E3 FB 78 */ mr r3, r31 +/* 8025F798 0025C6F8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025F79C 0025C6FC B0 01 00 14 */ sth r0, 0x14(r1) +/* 8025F7A0 0025C700 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025F7A4 0025C704 4B DE CE 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025F7A8 0025C708 7C 64 1B 78 */ mr r4, r3 +/* 8025F7AC 0025C70C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025F7B0 0025C710 4B E5 04 E1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025F7B4 0025C714 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025F7B8 0025C718 28 05 00 00 */ cmplwi r5, 0 +/* 8025F7BC 0025C71C 41 82 00 28 */ beq lbl_8025F7E4 +/* 8025F7C0 0025C720 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025F7C4 0025C724 7F C3 F3 78 */ mr r3, r30 +/* 8025F7C8 0025C728 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025F7CC 0025C72C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8025F7D0 0025C730 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025F7D4 0025C734 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8025F7D8 0025C738 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8025F7DC 0025C73C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8025F7E0 0025C740 4B E1 D3 7D */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_8025F7E4: +/* 8025F7E4 0025C744 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 8025F7E8 0025C748 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025F7EC 0025C74C 7C 03 00 40 */ cmplw r3, r0 +/* 8025F7F0 0025C750 41 82 00 4C */ beq lbl_8025F83C +/* 8025F7F4 0025C754 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 8025F7F8 0025C758 7F E3 FB 78 */ mr r3, r31 +/* 8025F7FC 0025C75C 38 81 00 08 */ addi r4, r1, 8 +/* 8025F800 0025C760 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F804 0025C764 4B DE CD 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025F808 0025C768 7C 64 1B 78 */ mr r4, r3 +/* 8025F80C 0025C76C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025F810 0025C770 4B E5 02 2D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025F814 0025C774 80 83 00 04 */ lwz r4, 4(r3) +/* 8025F818 0025C778 28 04 00 00 */ cmplwi r4, 0 +/* 8025F81C 0025C77C 41 82 00 18 */ beq lbl_8025F834 +/* 8025F820 0025C780 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025F824 0025C784 38 60 00 00 */ li r3, 0 +/* 8025F828 0025C788 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025F82C 0025C78C 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025F830 0025C790 48 00 00 0C */ b lbl_8025F83C +lbl_8025F834: +/* 8025F834 0025C794 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025F838 0025C798 B0 1E 06 94 */ sth r0, 0x694(r30) +lbl_8025F83C: +/* 8025F83C 0025C79C 7F C3 F3 78 */ mr r3, r30 +/* 8025F840 0025C7A0 7F E5 FB 78 */ mr r5, r31 +/* 8025F844 0025C7A4 38 80 00 06 */ li r4, 6 +/* 8025F848 0025C7A8 38 C0 FF FF */ li r6, -1 +/* 8025F84C 0025C7AC 4B DF 18 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8025F850 0025C7B0 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F854 0025C7B4 38 80 00 03 */ li r4, 3 +/* 8025F858 0025C7B8 4B ED B1 81 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025F85C 0025C7BC 48 00 00 08 */ b lbl_8025F864 +lbl_8025F860: +/* 8025F860 0025C7C0 4B FF FA 45 */ bl sub_8025f2a4 +lbl_8025F864: +/* 8025F864 0025C7C4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8025F868 0025C7C8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8025F86C 0025C7CC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8025F870 0025C7D0 7C 08 03 A6 */ mtlr r0 +/* 8025F874 0025C7D4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8025F878 0025C7D8 4E 80 00 20 */ blr + +.global sub_8025f87c +sub_8025f87c: +/* 8025F87C 0025C7DC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025F880 0025C7E0 7C 08 02 A6 */ mflr r0 +/* 8025F884 0025C7E4 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F888 0025C7E8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025F88C 0025C7EC 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8025F890 0025C7F0 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8025F894 0025C7F4 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8025F898 0025C7F8 7C 9D 23 78 */ mr r29, r4 +/* 8025F89C 0025C7FC 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 8025F8A0 0025C800 7C 7C 1B 78 */ mr r28, r3 +/* 8025F8A4 0025C804 83 C4 08 4C */ lwz r30, 0x84c(r4) +/* 8025F8A8 0025C808 41 82 00 F8 */ beq lbl_8025F9A0 +/* 8025F8AC 0025C80C 40 80 00 10 */ bge lbl_8025F8BC +/* 8025F8B0 0025C810 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F8B4 0025C814 40 80 00 14 */ bge lbl_8025F8C8 +/* 8025F8B8 0025C818 48 00 01 74 */ b lbl_8025FA2C +lbl_8025F8BC: +/* 8025F8BC 0025C81C 2C 05 00 03 */ cmpwi r5, 3 +/* 8025F8C0 0025C820 40 80 01 6C */ bge lbl_8025FA2C +/* 8025F8C4 0025C824 48 00 01 38 */ b lbl_8025F9FC +lbl_8025F8C8: +/* 8025F8C8 0025C828 7F 84 E3 78 */ mr r4, r28 +/* 8025F8CC 0025C82C 7F A5 EB 78 */ mr r5, r29 +/* 8025F8D0 0025C830 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F8D4 0025C834 38 C0 00 0C */ li r6, 0xc +/* 8025F8D8 0025C838 38 E0 00 06 */ li r7, 6 +/* 8025F8DC 0025C83C 4B F9 56 BD */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025F8E0 0025C840 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8025F8E4 0025C844 7F A3 EB 78 */ mr r3, r29 +/* 8025F8E8 0025C848 38 81 00 10 */ addi r4, r1, 0x10 +/* 8025F8EC 0025C84C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8025F8F0 0025C850 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8025F8F4 0025C854 4B DE CC B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025F8F8 0025C858 7C 64 1B 78 */ mr r4, r3 +/* 8025F8FC 0025C85C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025F900 0025C860 4B E5 03 91 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025F904 0025C864 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025F908 0025C868 28 05 00 00 */ cmplwi r5, 0 +/* 8025F90C 0025C86C 41 82 00 28 */ beq lbl_8025F934 +/* 8025F910 0025C870 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025F914 0025C874 7F 83 E3 78 */ mr r3, r28 +/* 8025F918 0025C878 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025F91C 0025C87C 38 81 00 40 */ addi r4, r1, 0x40 +/* 8025F920 0025C880 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025F924 0025C884 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8025F928 0025C888 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8025F92C 0025C88C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8025F930 0025C890 4B E1 D2 2D */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_8025F934: +/* 8025F934 0025C894 83 FD 08 4C */ lwz r31, 0x84c(r29) +/* 8025F938 0025C898 7F E3 FB 78 */ mr r3, r31 +/* 8025F93C 0025C89C 4B EB BA 3D */ bl Stop__13CPhysicsActorFv +/* 8025F940 0025C8A0 7F E3 FB 78 */ mr r3, r31 +/* 8025F944 0025C8A4 7F A5 EB 78 */ mr r5, r29 +/* 8025F948 0025C8A8 38 80 00 13 */ li r4, 0x13 +/* 8025F94C 0025C8AC 4B DF 46 35 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F950 0025C8B0 7F 83 E3 78 */ mr r3, r28 +/* 8025F954 0025C8B4 7F A5 EB 78 */ mr r5, r29 +/* 8025F958 0025C8B8 38 80 00 06 */ li r4, 6 +/* 8025F95C 0025C8BC 38 C0 FF FF */ li r6, -1 +/* 8025F960 0025C8C0 4B DF 17 61 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8025F964 0025C8C4 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025F968 0025C8C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025F96C 0025C8CC 38 A0 00 01 */ li r5, 1 +/* 8025F970 0025C8D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025F974 0025C8D4 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F978 0025C8D8 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025F97C 0025C8DC 4B DB 50 55 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId +/* 8025F980 0025C8E0 38 00 00 00 */ li r0, 0 +/* 8025F984 0025C8E4 98 1E 05 90 */ stb r0, 0x590(r30) +/* 8025F988 0025C8E8 80 7E 07 68 */ lwz r3, 0x768(r30) +/* 8025F98C 0025C8EC 4B E9 1F 69 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 8025F990 0025C8F0 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8025F994 0025C8F4 38 80 00 03 */ li r4, 3 +/* 8025F998 0025C8F8 4B ED B0 41 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025F99C 0025C8FC 48 00 00 90 */ b lbl_8025FA2C +lbl_8025F9A0: +/* 8025F9A0 0025C900 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F9A4 0025C904 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025F9A8 0025C908 4B DA 53 11 */ bl string_l__4rstlFPCc +/* 8025F9AC 0025C90C 7F 84 E3 78 */ mr r4, r28 +/* 8025F9B0 0025C910 38 61 00 4C */ addi r3, r1, 0x4c +/* 8025F9B4 0025C914 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8025F9B8 0025C918 4B E1 8F C1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F9BC 0025C91C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025F9C0 0025C920 38 81 00 4C */ addi r4, r1, 0x4c +/* 8025F9C4 0025C924 48 0B 31 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F9C8 0025C928 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025F9CC 0025C92C 48 0D E1 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F9D0 0025C930 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8025F9D4 0025C934 7F 83 E3 78 */ mr r3, r28 +/* 8025F9D8 0025C938 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 8025F9DC 0025C93C 7F A4 EB 78 */ mr r4, r29 +/* 8025F9E0 0025C940 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8025F9E4 0025C944 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8025F9E8 0025C948 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8025F9EC 0025C94C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8025F9F0 0025C950 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8025F9F4 0025C954 4B FF F9 A9 */ bl sub_8025f39c +/* 8025F9F8 0025C958 48 00 00 34 */ b lbl_8025FA2C +lbl_8025F9FC: +/* 8025F9FC 0025C95C A0 7E 02 6C */ lhz r3, 0x26c(r30) +/* 8025FA00 0025C960 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025FA04 0025C964 7C 03 00 40 */ cmplw r3, r0 +/* 8025FA08 0025C968 40 82 00 0C */ bne lbl_8025FA14 +/* 8025FA0C 0025C96C 7F C3 F3 78 */ mr r3, r30 +/* 8025FA10 0025C970 4B DB 4F 95 */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025FA14: +/* 8025FA14 0025C974 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025FA18 0025C978 38 00 00 01 */ li r0, 1 +/* 8025FA1C 0025C97C 7F A5 EB 78 */ mr r5, r29 +/* 8025FA20 0025C980 38 80 00 13 */ li r4, 0x13 +/* 8025FA24 0025C984 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025FA28 0025C988 4B DF 49 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8025FA2C: +/* 8025FA2C 0025C98C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025FA30 0025C990 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8025FA34 0025C994 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8025FA38 0025C998 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8025FA3C 0025C99C 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 8025FA40 0025C9A0 7C 08 03 A6 */ mtlr r0 +/* 8025FA44 0025C9A4 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025FA48 0025C9A8 4E 80 00 20 */ blr + +.global sub_8025fa4c +sub_8025fa4c: +/* 8025FA4C 0025C9AC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8025FA50 0025C9B0 7C 08 02 A6 */ mflr r0 +/* 8025FA54 0025C9B4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8025FA58 0025C9B8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8025FA5C 0025C9BC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8025FA60 0025C9C0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025FA64 0025C9C4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8025FA68 0025C9C8 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025FA6C 0025C9CC FF E0 08 90 */ fmr f31, f1 +/* 8025FA70 0025C9D0 7C BE 2B 78 */ mr r30, r5 +/* 8025FA74 0025C9D4 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 8025FA78 0025C9D8 4B E9 93 8D */ bl GetBallRadius__10CMorphBallCFv +/* 8025FA7C 0025C9DC C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8025FA80 0025C9E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025FA84 0025C9E4 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 8025FA88 0025C9E8 38 81 00 08 */ addi r4, r1, 8 +/* 8025FA8C 0025C9EC C0 A2 BA 34 */ lfs f5, lbl_805AD754@sda21(r2) +/* 8025FA90 0025C9F0 EC 40 08 2A */ fadds f2, f0, f1 +/* 8025FA94 0025C9F4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025FA98 0025C9F8 C0 7E 00 08 */ lfs f3, 8(r30) +/* 8025FA9C 0025C9FC EC 84 28 2A */ fadds f4, f4, f5 +/* 8025FAA0 0025CA00 C0 DE 00 04 */ lfs f6, 4(r30) +/* 8025FAA4 0025CA04 EC 00 28 2A */ fadds f0, f0, f5 +/* 8025FAA8 0025CA08 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8025FAAC 0025CA0C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025FAB0 0025CA10 EC 66 20 28 */ fsubs f3, f6, f4 +/* 8025FAB4 0025CA14 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025FAB8 0025CA18 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025FABC 0025CA1C D0 01 00 08 */ stfs f0, 8(r1) +/* 8025FAC0 0025CA20 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8025FAC4 0025CA24 48 0B 4D 8D */ bl AsNormalized__9CVector3fCFv +/* 8025FAC8 0025CA28 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) +/* 8025FACC 0025CA2C 7F E3 FB 78 */ mr r3, r31 +/* 8025FAD0 0025CA30 C0 82 BA 3C */ lfs f4, lbl_805AD75C@sda21(r2) +/* 8025FAD4 0025CA34 38 81 00 20 */ addi r4, r1, 0x20 +/* 8025FAD8 0025CA38 EC 60 07 F2 */ fmuls f3, f0, f31 +/* 8025FADC 0025CA3C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8025FAE0 0025CA40 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8025FAE4 0025CA44 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8025FAE8 0025CA48 EC 64 18 24 */ fdivs f3, f4, f3 +/* 8025FAEC 0025CA4C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8025FAF0 0025CA50 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8025FAF4 0025CA54 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8025FAF8 0025CA58 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8025FAFC 0025CA5C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8025FB00 0025CA60 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8025FB04 0025CA64 4B EB B1 9D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 8025FB08 0025CA68 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8025FB0C 0025CA6C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8025FB10 0025CA70 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8025FB14 0025CA74 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8025FB18 0025CA78 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8025FB1C 0025CA7C 7C 08 03 A6 */ mtlr r0 +/* 8025FB20 0025CA80 38 21 00 50 */ addi r1, r1, 0x50 +/* 8025FB24 0025CA84 4E 80 00 20 */ blr + +.global sub_8025fb28 +sub_8025fb28: +/* 8025FB28 0025CA88 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025FB2C 0025CA8C 7C 08 02 A6 */ mflr r0 +/* 8025FB30 0025CA90 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025FB34 0025CA94 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8025FB38 0025CA98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8025FB3C 0025CA9C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8025FB40 0025CAA0 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8025FB44 0025CAA4 A0 03 06 94 */ lhz r0, 0x694(r3) +/* 8025FB48 0025CAA8 7C 7E 1B 78 */ mr r30, r3 +/* 8025FB4C 0025CAAC FF E0 08 90 */ fmr f31, f1 +/* 8025FB50 0025CAB0 7C 83 23 78 */ mr r3, r4 +/* 8025FB54 0025CAB4 B0 01 00 08 */ sth r0, 8(r1) +/* 8025FB58 0025CAB8 38 81 00 08 */ addi r4, r1, 8 +/* 8025FB5C 0025CABC 4B DE CA 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025FB60 0025CAC0 7C 64 1B 78 */ mr r4, r3 +/* 8025FB64 0025CAC4 38 61 00 0C */ addi r3, r1, 0xc +/* 8025FB68 0025CAC8 4B E4 FE D5 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025FB6C 0025CACC 83 E3 00 04 */ lwz r31, 4(r3) +/* 8025FB70 0025CAD0 28 1F 00 00 */ cmplwi r31, 0 +/* 8025FB74 0025CAD4 41 82 00 C4 */ beq lbl_8025FC38 +/* 8025FB78 0025CAD8 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025FB7C 0025CADC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025FB80 0025CAE0 4B DA 51 39 */ bl string_l__4rstlFPCc +/* 8025FB84 0025CAE4 7F C4 F3 78 */ mr r4, r30 +/* 8025FB88 0025CAE8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025FB8C 0025CAEC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8025FB90 0025CAF0 4B E1 8D E9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025FB94 0025CAF4 38 61 00 6C */ addi r3, r1, 0x6c +/* 8025FB98 0025CAF8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025FB9C 0025CAFC 48 0B 2F D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025FBA0 0025CB00 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025FBA4 0025CB04 48 0D DF 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025FBA8 0025CB08 3C 60 80 57 */ lis r3, lbl_80572688@ha +/* 8025FBAC 0025CB0C C0 81 00 88 */ lfs f4, 0x88(r1) +/* 8025FBB0 0025CB10 38 A3 26 88 */ addi r5, r3, lbl_80572688@l +/* 8025FBB4 0025CB14 C0 61 00 98 */ lfs f3, 0x98(r1) +/* 8025FBB8 0025CB18 C0 05 00 04 */ lfs f0, 4(r5) +/* 8025FBBC 0025CB1C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025FBC0 0025CB20 C0 45 00 08 */ lfs f2, 8(r5) +/* 8025FBC4 0025CB24 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025FBC8 0025CB28 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8025FBCC 0025CB2C EC A4 00 2A */ fadds f5, f4, f0 +/* 8025FBD0 0025CB30 C0 05 00 00 */ lfs f0, 0(r5) +/* 8025FBD4 0025CB34 EC 63 10 2A */ fadds f3, f3, f2 +/* 8025FBD8 0025CB38 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 8025FBDC 0025CB3C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8025FBE0 0025CB40 EC 21 00 2A */ fadds f1, f1, f0 +/* 8025FBE4 0025CB44 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025FBE8 0025CB48 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8025FBEC 0025CB4C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025FBF0 0025CB50 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025FBF4 0025CB54 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8025FBF8 0025CB58 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025FBFC 0025CB5C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025FC00 0025CB60 48 0B 4C 51 */ bl AsNormalized__9CVector3fCFv +/* 8025FC04 0025CB64 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) +/* 8025FC08 0025CB68 C0 82 BA 3C */ lfs f4, lbl_805AD75C@sda21(r2) +/* 8025FC0C 0025CB6C EC 60 07 F2 */ fmuls f3, f0, f31 +/* 8025FC10 0025CB70 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8025FC14 0025CB74 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8025FC18 0025CB78 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8025FC1C 0025CB7C EC 64 18 24 */ fdivs f3, f4, f3 +/* 8025FC20 0025CB80 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8025FC24 0025CB84 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8025FC28 0025CB88 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8025FC2C 0025CB8C D0 5F 01 58 */ stfs f2, 0x158(r31) +/* 8025FC30 0025CB90 D0 3F 01 5C */ stfs f1, 0x15c(r31) +/* 8025FC34 0025CB94 D0 1F 01 60 */ stfs f0, 0x160(r31) +lbl_8025FC38: +/* 8025FC38 0025CB98 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8025FC3C 0025CB9C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025FC40 0025CBA0 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8025FC44 0025CBA4 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8025FC48 0025CBA8 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8025FC4C 0025CBAC 7C 08 03 A6 */ mtlr r0 +/* 8025FC50 0025CBB0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025FC54 0025CBB4 4E 80 00 20 */ blr + +.global sub_8025fc58 +sub_8025fc58: +/* 8025FC58 0025CBB8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025FC5C 0025CBBC 7C 08 02 A6 */ mflr r0 +/* 8025FC60 0025CBC0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025FC64 0025CBC4 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8025FC68 0025CBC8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8025FC6C 0025CBCC 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8025FC70 0025CBD0 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8025FC74 0025CBD4 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8025FC78 0025CBD8 7C 9E 23 78 */ mr r30, r4 +/* 8025FC7C 0025CBDC FF E0 08 90 */ fmr f31, f1 +/* 8025FC80 0025CBE0 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025FC84 0025CBE4 7C 7D 1B 78 */ mr r29, r3 +/* 8025FC88 0025CBE8 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025FC8C 0025CBEC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025FC90 0025CBF0 4B DA 50 29 */ bl string_l__4rstlFPCc +/* 8025FC94 0025CBF4 7F A4 EB 78 */ mr r4, r29 +/* 8025FC98 0025CBF8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025FC9C 0025CBFC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025FCA0 0025CC00 4B E1 8C D9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025FCA4 0025CC04 38 61 00 6C */ addi r3, r1, 0x6c +/* 8025FCA8 0025CC08 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025FCAC 0025CC0C 48 0B 2E C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025FCB0 0025CC10 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025FCB4 0025CC14 48 0D DE 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025FCB8 0025CC18 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 8025FCBC 0025CC1C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8025FCC0 0025CC20 C0 81 00 88 */ lfs f4, 0x88(r1) +/* 8025FCC4 0025CC24 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025FCC8 0025CC28 EC 40 10 28 */ fsubs f2, f0, f2 +/* 8025FCCC 0025CC2C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025FCD0 0025CC30 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 8025FCD4 0025CC34 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8025FCD8 0025CC38 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8025FCDC 0025CC3C EC 00 18 28 */ fsubs f0, f0, f3 +/* 8025FCE0 0025CC40 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8025FCE4 0025CC44 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8025FCE8 0025CC48 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8025FCEC 0025CC4C 2C 00 00 01 */ cmpwi r0, 1 +/* 8025FCF0 0025CC50 40 82 00 B8 */ bne lbl_8025FDA8 +/* 8025FCF4 0025CC54 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025FCF8 0025CC58 48 0B 4B C1 */ bl Magnitude__9CVector3fCFv +/* 8025FCFC 0025CC5C C0 02 BA 30 */ lfs f0, lbl_805AD750@sda21(r2) +/* 8025FD00 0025CC60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025FD04 0025CC64 40 80 00 3C */ bge lbl_8025FD40 +/* 8025FD08 0025CC68 7F E3 FB 78 */ mr r3, r31 +/* 8025FD0C 0025CC6C 4B EB B6 6D */ bl Stop__13CPhysicsActorFv +/* 8025FD10 0025CC70 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 8025FD14 0025CC74 FC 20 F8 90 */ fmr f1, f31 +/* 8025FD18 0025CC78 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8025FD1C 0025CC7C 7F A3 EB 78 */ mr r3, r29 +/* 8025FD20 0025CC80 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8025FD24 0025CC84 7F C4 F3 78 */ mr r4, r30 +/* 8025FD28 0025CC88 D0 61 00 08 */ stfs f3, 8(r1) +/* 8025FD2C 0025CC8C 38 A1 00 08 */ addi r5, r1, 8 +/* 8025FD30 0025CC90 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8025FD34 0025CC94 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025FD38 0025CC98 4B FF FD 15 */ bl sub_8025fa4c +/* 8025FD3C 0025CC9C 48 00 00 6C */ b lbl_8025FDA8 +lbl_8025FD40: +/* 8025FD40 0025CCA0 EC 01 00 72 */ fmuls f0, f1, f1 +/* 8025FD44 0025CCA4 C0 7D 06 84 */ lfs f3, 0x684(r29) +/* 8025FD48 0025CCA8 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 8025FD4C 0025CCAC C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8025FD50 0025CCB0 EC 63 00 24 */ fdivs f3, f3, f0 +/* 8025FD54 0025CCB4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8025FD58 0025CCB8 C0 9D 06 7C */ lfs f4, 0x67c(r29) +/* 8025FD5C 0025CCBC C0 BF 00 E8 */ lfs f5, 0xe8(r31) +/* 8025FD60 0025CCC0 FC 40 10 50 */ fneg f2, f2 +/* 8025FD64 0025CCC4 FC 20 08 50 */ fneg f1, f1 +/* 8025FD68 0025CCC8 FC 00 00 50 */ fneg f0, f0 +/* 8025FD6C 0025CCCC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8025FD70 0025CCD0 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 8025FD74 0025CCD4 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8025FD78 0025CCD8 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8025FD7C 0025CCDC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8025FD80 0025CCE0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8025FD84 0025CCE4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8025FD88 0025CCE8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8025FD8C 0025CCEC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8025FD90 0025CCF0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8025FD94 0025CCF4 4B DB B7 A1 */ bl Identity__10CAxisAngleFv +/* 8025FD98 0025CCF8 7C 65 1B 78 */ mr r5, r3 +/* 8025FD9C 0025CCFC 7F E3 FB 78 */ mr r3, r31 +/* 8025FDA0 0025CD00 38 81 00 24 */ addi r4, r1, 0x24 +/* 8025FDA4 0025CD04 4B EB C5 21 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_8025FDA8: +/* 8025FDA8 0025CD08 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8025FDAC 0025CD0C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025FDB0 0025CD10 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8025FDB4 0025CD14 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8025FDB8 0025CD18 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8025FDBC 0025CD1C 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8025FDC0 0025CD20 7C 08 03 A6 */ mtlr r0 +/* 8025FDC4 0025CD24 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025FDC8 0025CD28 4E 80 00 20 */ blr + +.global sub_8025fdcc +sub_8025fdcc: +/* 8025FDCC 0025CD2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025FDD0 0025CD30 7C 08 02 A6 */ mflr r0 +/* 8025FDD4 0025CD34 2C 05 00 01 */ cmpwi r5, 1 +/* 8025FDD8 0025CD38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025FDDC 0025CD3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025FDE0 0025CD40 7C 7F 1B 78 */ mr r31, r3 +/* 8025FDE4 0025CD44 41 82 00 50 */ beq lbl_8025FE34 +/* 8025FDE8 0025CD48 40 80 00 50 */ bge lbl_8025FE38 +/* 8025FDEC 0025CD4C 2C 05 00 00 */ cmpwi r5, 0 +/* 8025FDF0 0025CD50 40 80 00 0C */ bge lbl_8025FDFC +/* 8025FDF4 0025CD54 48 00 00 44 */ b lbl_8025FE38 +/* 8025FDF8 0025CD58 48 00 00 40 */ b lbl_8025FE38 +lbl_8025FDFC: +/* 8025FDFC 0025CD5C 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8025FE00 0025CD60 38 00 00 01 */ li r0, 1 +/* 8025FE04 0025CD64 7C 85 23 78 */ mr r5, r4 +/* 8025FE08 0025CD68 38 80 00 13 */ li r4, 0x13 +/* 8025FE0C 0025CD6C 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025FE10 0025CD70 4B DF 45 41 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025FE14 0025CD74 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025FE18 0025CD78 38 60 00 01 */ li r3, 1 +/* 8025FE1C 0025CD7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8025FE20 0025CD80 38 80 00 06 */ li r4, 6 +/* 8025FE24 0025CD84 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025FE28 0025CD88 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8025FE2C 0025CD8C 4B ED AB AD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025FE30 0025CD90 48 00 00 08 */ b lbl_8025FE38 +lbl_8025FE34: +/* 8025FE34 0025CD94 4B FF FC F5 */ bl sub_8025fb28 +lbl_8025FE38: +/* 8025FE38 0025CD98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025FE3C 0025CD9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025FE40 0025CDA0 7C 08 03 A6 */ mtlr r0 +/* 8025FE44 0025CDA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025FE48 0025CDA8 4E 80 00 20 */ blr + +.global sub_8025fe4c +sub_8025fe4c: +/* 8025FE4C 0025CDAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025FE50 0025CDB0 7C 08 02 A6 */ mflr r0 +/* 8025FE54 0025CDB4 2C 05 00 01 */ cmpwi r5, 1 +/* 8025FE58 0025CDB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025FE5C 0025CDBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025FE60 0025CDC0 7C 7F 1B 78 */ mr r31, r3 +/* 8025FE64 0025CDC4 80 C4 08 4C */ lwz r6, 0x84c(r4) +/* 8025FE68 0025CDC8 41 82 00 40 */ beq lbl_8025FEA8 +/* 8025FE6C 0025CDCC 40 80 00 10 */ bge lbl_8025FE7C +/* 8025FE70 0025CDD0 2C 05 00 00 */ cmpwi r5, 0 +/* 8025FE74 0025CDD4 40 80 00 14 */ bge lbl_8025FE88 +/* 8025FE78 0025CDD8 48 00 00 50 */ b lbl_8025FEC8 +lbl_8025FE7C: +/* 8025FE7C 0025CDDC 2C 05 00 03 */ cmpwi r5, 3 +/* 8025FE80 0025CDE0 40 80 00 48 */ bge lbl_8025FEC8 +/* 8025FE84 0025CDE4 48 00 00 2C */ b lbl_8025FEB0 +lbl_8025FE88: +/* 8025FE88 0025CDE8 38 00 00 00 */ li r0, 0 +/* 8025FE8C 0025CDEC 98 06 05 90 */ stb r0, 0x590(r6) +/* 8025FE90 0025CDF0 80 66 07 68 */ lwz r3, 0x768(r6) +/* 8025FE94 0025CDF4 4B E9 1A 61 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 8025FE98 0025CDF8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8025FE9C 0025CDFC 38 80 00 06 */ li r4, 6 +/* 8025FEA0 0025CE00 4B ED AB 39 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025FEA4 0025CE04 48 00 00 24 */ b lbl_8025FEC8 +lbl_8025FEA8: +/* 8025FEA8 0025CE08 4B FF FD B1 */ bl sub_8025fc58 +/* 8025FEAC 0025CE0C 48 00 00 1C */ b lbl_8025FEC8 +lbl_8025FEB0: +/* 8025FEB0 0025CE10 38 00 00 01 */ li r0, 1 +/* 8025FEB4 0025CE14 7C C3 33 78 */ mr r3, r6 +/* 8025FEB8 0025CE18 98 06 05 90 */ stb r0, 0x590(r6) +/* 8025FEBC 0025CE1C 7C 85 23 78 */ mr r5, r4 +/* 8025FEC0 0025CE20 38 80 00 13 */ li r4, 0x13 +/* 8025FEC4 0025CE24 4B DF 44 8D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8025FEC8: +/* 8025FEC8 0025CE28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025FECC 0025CE2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025FED0 0025CE30 7C 08 03 A6 */ mtlr r0 +/* 8025FED4 0025CE34 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025FED8 0025CE38 4E 80 00 20 */ blr + +.global sub_8025fedc +sub_8025fedc: +/* 8025FEDC 0025CE3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025FEE0 0025CE40 7C 08 02 A6 */ mflr r0 +/* 8025FEE4 0025CE44 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025FEE8 0025CE48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025FEEC 0025CE4C 7C 7F 1B 78 */ mr r31, r3 +/* 8025FEF0 0025CE50 38 60 00 00 */ li r3, 0 +/* 8025FEF4 0025CE54 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025FEF8 0025CE58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025FEFC 0025CE5C 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025FF00 0025CE60 A0 7F 06 94 */ lhz r3, 0x694(r31) +/* 8025FF04 0025CE64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025FF08 0025CE68 7C 03 00 40 */ cmplw r3, r0 +/* 8025FF0C 0025CE6C 41 82 00 58 */ beq lbl_8025FF64 +/* 8025FF10 0025CE70 A0 1F 06 94 */ lhz r0, 0x694(r31) +/* 8025FF14 0025CE74 7C 83 23 78 */ mr r3, r4 +/* 8025FF18 0025CE78 38 81 00 08 */ addi r4, r1, 8 +/* 8025FF1C 0025CE7C B0 01 00 08 */ sth r0, 8(r1) +/* 8025FF20 0025CE80 4B DE C6 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025FF24 0025CE84 7C 64 1B 78 */ mr r4, r3 +/* 8025FF28 0025CE88 38 61 00 0C */ addi r3, r1, 0xc +/* 8025FF2C 0025CE8C 4B E4 FB 11 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025FF30 0025CE90 80 03 00 04 */ lwz r0, 4(r3) +/* 8025FF34 0025CE94 28 00 00 00 */ cmplwi r0, 0 +/* 8025FF38 0025CE98 41 82 00 1C */ beq lbl_8025FF54 +/* 8025FF3C 0025CE9C 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025FF40 0025CEA0 38 60 00 01 */ li r3, 1 +/* 8025FF44 0025CEA4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025FF48 0025CEA8 38 60 00 00 */ li r3, 0 +/* 8025FF4C 0025CEAC 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025FF50 0025CEB0 48 00 00 18 */ b lbl_8025FF68 +lbl_8025FF54: +/* 8025FF54 0025CEB4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025FF58 0025CEB8 38 60 00 01 */ li r3, 1 +/* 8025FF5C 0025CEBC B0 1F 06 94 */ sth r0, 0x694(r31) +/* 8025FF60 0025CEC0 48 00 00 08 */ b lbl_8025FF68 +lbl_8025FF64: +/* 8025FF64 0025CEC4 38 60 00 01 */ li r3, 1 +lbl_8025FF68: +/* 8025FF68 0025CEC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025FF6C 0025CECC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025FF70 0025CED0 7C 08 03 A6 */ mtlr r0 +/* 8025FF74 0025CED4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025FF78 0025CED8 4E 80 00 20 */ blr + +.global sub_8025ff7c +sub_8025ff7c: +/* 8025FF7C 0025CEDC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8025FF80 0025CEE0 7C 08 02 A6 */ mflr r0 +/* 8025FF84 0025CEE4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025FF88 0025CEE8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8025FF8C 0025CEEC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8025FF90 0025CEF0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025FF94 0025CEF4 7C 7F 1B 78 */ mr r31, r3 +/* 8025FF98 0025CEF8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025FF9C 0025CEFC A0 63 06 94 */ lhz r3, 0x694(r3) +/* 8025FFA0 0025CF00 FF E0 08 90 */ fmr f31, f1 +/* 8025FFA4 0025CF04 7C 03 00 40 */ cmplw r3, r0 +/* 8025FFA8 0025CF08 41 82 00 5C */ beq lbl_80260004 +/* 8025FFAC 0025CF0C A0 1F 06 94 */ lhz r0, 0x694(r31) +/* 8025FFB0 0025CF10 7C 83 23 78 */ mr r3, r4 +/* 8025FFB4 0025CF14 38 81 00 08 */ addi r4, r1, 8 +/* 8025FFB8 0025CF18 B0 01 00 08 */ sth r0, 8(r1) +/* 8025FFBC 0025CF1C 4B DE C5 E9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025FFC0 0025CF20 7C 64 1B 78 */ mr r4, r3 +/* 8025FFC4 0025CF24 38 61 00 0C */ addi r3, r1, 0xc +/* 8025FFC8 0025CF28 4B E4 FA 75 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025FFCC 0025CF2C 80 83 00 04 */ lwz r4, 4(r3) +/* 8025FFD0 0025CF30 28 04 00 00 */ cmplwi r4, 0 +/* 8025FFD4 0025CF34 41 82 00 30 */ beq lbl_80260004 +/* 8025FFD8 0025CF38 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8025FFDC 0025CF3C FC 20 F8 90 */ fmr f1, f31 +/* 8025FFE0 0025CF40 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8025FFE4 0025CF44 7F E3 FB 78 */ mr r3, r31 +/* 8025FFE8 0025CF48 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8025FFEC 0025CF4C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025FFF0 0025CF50 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025FFF4 0025CF54 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8025FFF8 0025CF58 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8025FFFC 0025CF5C 48 00 00 CD */ bl sub_802600c8 +/* 80260000 0025CF60 48 00 00 08 */ b lbl_80260008 +lbl_80260004: +/* 80260004 0025CF64 38 60 00 00 */ li r3, 0 +lbl_80260008: +/* 80260008 0025CF68 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026000C 0025CF6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80260010 0025CF70 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80260014 0025CF74 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80260018 0025CF78 7C 08 03 A6 */ mtlr r0 +/* 8026001C 0025CF7C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80260020 0025CF80 4E 80 00 20 */ blr + +.global sub_80260024 +sub_80260024: +/* 80260024 0025CF84 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80260028 0025CF88 7C 08 02 A6 */ mflr r0 +/* 8026002C 0025CF8C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80260030 0025CF90 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80260034 0025CF94 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80260038 0025CF98 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8026003C 0025CF9C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80260040 0025CFA0 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80260044 0025CFA4 7C 7E 1B 78 */ mr r30, r3 +/* 80260048 0025CFA8 FF E0 08 90 */ fmr f31, f1 +/* 8026004C 0025CFAC 80 64 07 68 */ lwz r3, 0x768(r4) +/* 80260050 0025CFB0 3B E4 00 34 */ addi r31, r4, 0x34 +/* 80260054 0025CFB4 4B E9 8D B1 */ bl GetBallRadius__10CMorphBallCFv +/* 80260058 0025CFB8 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8026005C 0025CFBC 7F E4 FB 78 */ mr r4, r31 +/* 80260060 0025CFC0 C0 7F 00 1C */ lfs f3, 0x1c(r31) +/* 80260064 0025CFC4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80260068 0025CFC8 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) +/* 8026006C 0025CFCC EC 20 08 2A */ fadds f1, f0, f1 +/* 80260070 0025CFD0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80260074 0025CFD4 EC 63 10 2A */ fadds f3, f3, f2 +/* 80260078 0025CFD8 EC 00 10 2A */ fadds f0, f0, f2 +/* 8026007C 0025CFDC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80260080 0025CFE0 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80260084 0025CFE4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80260088 0025CFE8 48 0B 2B B9 */ bl GetRotation__12CTransform4fCFv +/* 8026008C 0025CFEC 38 7E 06 4C */ addi r3, r30, 0x64c +/* 80260090 0025CFF0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80260094 0025CFF4 48 0B 2A AD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80260098 0025CFF8 FC 20 F8 90 */ fmr f1, f31 +/* 8026009C 0025CFFC 7F C3 F3 78 */ mr r3, r30 +/* 802600A0 0025D000 38 81 00 08 */ addi r4, r1, 8 +/* 802600A4 0025D004 48 00 00 25 */ bl sub_802600c8 +/* 802600A8 0025D008 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802600AC 0025D00C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802600B0 0025D010 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802600B4 0025D014 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802600B8 0025D018 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802600BC 0025D01C 7C 08 03 A6 */ mtlr r0 +/* 802600C0 0025D020 38 21 00 60 */ addi r1, r1, 0x60 +/* 802600C4 0025D024 4E 80 00 20 */ blr + +.global sub_802600c8 +sub_802600c8: +/* 802600C8 0025D028 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802600CC 0025D02C 7C 08 02 A6 */ mflr r0 +/* 802600D0 0025D030 90 01 00 94 */ stw r0, 0x94(r1) +/* 802600D4 0025D034 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802600D8 0025D038 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802600DC 0025D03C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802600E0 0025D040 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802600E4 0025D044 FF E0 08 90 */ fmr f31, f1 +/* 802600E8 0025D048 7C 9F 23 78 */ mr r31, r4 +/* 802600EC 0025D04C 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 802600F0 0025D050 7C 7E 1B 78 */ mr r30, r3 +/* 802600F4 0025D054 38 61 00 08 */ addi r3, r1, 8 +/* 802600F8 0025D058 4B DA 4B C1 */ bl string_l__4rstlFPCc +/* 802600FC 0025D05C 7F C4 F3 78 */ mr r4, r30 +/* 80260100 0025D060 38 61 00 18 */ addi r3, r1, 0x18 +/* 80260104 0025D064 38 A1 00 08 */ addi r5, r1, 8 +/* 80260108 0025D068 4B E1 88 71 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8026010C 0025D06C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80260110 0025D070 38 81 00 18 */ addi r4, r1, 0x18 +/* 80260114 0025D074 48 0B 2A 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80260118 0025D078 38 61 00 08 */ addi r3, r1, 8 +/* 8026011C 0025D07C 48 0D D9 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80260120 0025D080 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80260124 0025D084 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80260128 0025D088 C0 7F 00 00 */ lfs f3, 0(r31) +/* 8026012C 0025D08C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80260130 0025D090 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80260134 0025D094 C0 5F 00 08 */ lfs f2, 8(r31) +/* 80260138 0025D098 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026013C 0025D09C C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80260140 0025D0A0 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80260144 0025D0A4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80260148 0025D0A8 EC 03 00 FA */ fmadds f0, f3, f3, f0 +/* 8026014C 0025D0AC EC 01 00 7A */ fmadds f0, f1, f1, f0 +/* 80260150 0025D0B0 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80260154 0025D0B4 4C 40 13 82 */ cror 2, 0, 2 +/* 80260158 0025D0B8 7C 00 00 26 */ mfcr r0 +/* 8026015C 0025D0BC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 80260160 0025D0C0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80260164 0025D0C4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80260168 0025D0C8 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8026016C 0025D0CC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80260170 0025D0D0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80260174 0025D0D4 7C 08 03 A6 */ mtlr r0 +/* 80260178 0025D0D8 38 21 00 90 */ addi r1, r1, 0x90 +/* 8026017C 0025D0DC 4E 80 00 20 */ blr + +.global sub_80260180 +sub_80260180: +/* 80260180 0025D0E0 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 80260184 0025D0E4 7C 08 02 A6 */ mflr r0 +/* 80260188 0025D0E8 90 01 01 94 */ stw r0, 0x194(r1) +/* 8026018C 0025D0EC DB E1 01 80 */ stfd f31, 0x180(r1) +/* 80260190 0025D0F0 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 80260194 0025D0F4 DB C1 01 70 */ stfd f30, 0x170(r1) +/* 80260198 0025D0F8 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 8026019C 0025D0FC DB A1 01 60 */ stfd f29, 0x160(r1) +/* 802601A0 0025D100 F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 +/* 802601A4 0025D104 DB 81 01 50 */ stfd f28, 0x150(r1) +/* 802601A8 0025D108 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 +/* 802601AC 0025D10C BF 61 01 3C */ stmw r27, 0x13c(r1) +/* 802601B0 0025D110 7C 7E 1B 78 */ mr r30, r3 +/* 802601B4 0025D114 7C 9B 23 78 */ mr r27, r4 +/* 802601B8 0025D118 7C BD 2B 78 */ mr r29, r5 +/* 802601BC 0025D11C 7C DC 33 78 */ mr r28, r6 +/* 802601C0 0025D120 7C FF 3B 78 */ mr r31, r7 +/* 802601C4 0025D124 7F C4 F3 78 */ mr r4, r30 +/* 802601C8 0025D128 38 61 00 78 */ addi r3, r1, 0x78 +/* 802601CC 0025D12C 4B EB A7 61 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 802601D0 0025D130 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 802601D4 0025D134 7F 83 E3 78 */ mr r3, r28 +/* 802601D8 0025D138 C0 81 00 7C */ lfs f4, 0x7c(r1) +/* 802601DC 0025D13C 38 81 00 90 */ addi r4, r1, 0x90 +/* 802601E0 0025D140 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 802601E4 0025D144 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802601E8 0025D148 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802601EC 0025D14C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802601F0 0025D150 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802601F4 0025D154 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 802601F8 0025D158 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 802601FC 0025D15C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80260200 0025D160 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80260204 0025D164 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80260208 0025D168 48 0D 79 7D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 8026020C 0025D16C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80260210 0025D170 41 82 00 0C */ beq lbl_8026021C +/* 80260214 0025D174 38 60 00 01 */ li r3, 1 +/* 80260218 0025D178 48 00 02 74 */ b lbl_8026048C +lbl_8026021C: +/* 8026021C 0025D17C 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 80260220 0025D180 38 61 00 38 */ addi r3, r1, 0x38 +/* 80260224 0025D184 4B DA 4A 95 */ bl string_l__4rstlFPCc +/* 80260228 0025D188 7F C4 F3 78 */ mr r4, r30 +/* 8026022C 0025D18C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80260230 0025D190 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80260234 0025D194 4B E1 87 45 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80260238 0025D198 38 61 01 08 */ addi r3, r1, 0x108 +/* 8026023C 0025D19C 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80260240 0025D1A0 48 0B 29 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80260244 0025D1A4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80260248 0025D1A8 48 0D D8 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8026024C 0025D1AC C3 BE 00 58 */ lfs f29, 0x58(r30) +/* 80260250 0025D1B0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80260254 0025D1B4 C0 62 BA 3C */ lfs f3, lbl_805AD75C@sda21(r2) +/* 80260258 0025D1B8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8026025C 0025D1BC C3 DE 00 48 */ lfs f30, 0x48(r30) +/* 80260260 0025D1C0 C0 02 BA 58 */ lfs f0, lbl_805AD778@sda21(r2) +/* 80260264 0025D1C4 EC 83 07 72 */ fmuls f4, f3, f29 +/* 80260268 0025D1C8 C3 FE 00 38 */ lfs f31, 0x38(r30) +/* 8026026C 0025D1CC EC A3 07 B2 */ fmuls f5, f3, f30 +/* 80260270 0025D1D0 C1 81 01 34 */ lfs f12, 0x134(r1) +/* 80260274 0025D1D4 EC 40 07 72 */ fmuls f2, f0, f29 +/* 80260278 0025D1D8 C1 A1 01 24 */ lfs f13, 0x124(r1) +/* 8026027C 0025D1DC EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80260280 0025D1E0 C3 81 01 14 */ lfs f28, 0x114(r1) +/* 80260284 0025D1E4 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 80260288 0025D1E8 C1 7D 00 04 */ lfs f11, 4(r29) +/* 8026028C 0025D1EC EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80260290 0025D1F0 C1 3D 00 08 */ lfs f9, 8(r29) +/* 80260294 0025D1F4 ED 4D 28 28 */ fsubs f10, f13, f5 +/* 80260298 0025D1F8 C0 FD 00 00 */ lfs f7, 0(r29) +/* 8026029C 0025D1FC ED 0C 20 28 */ fsubs f8, f12, f4 +/* 802602A0 0025D200 C0 BB 00 04 */ lfs f5, 4(r27) +/* 802602A4 0025D204 EC DC 18 28 */ fsubs f6, f28, f3 +/* 802602A8 0025D208 C0 7B 00 08 */ lfs f3, 8(r27) +/* 802602AC 0025D20C EC 8D 08 28 */ fsubs f4, f13, f1 +/* 802602B0 0025D210 C0 3B 00 00 */ lfs f1, 0(r27) +/* 802602B4 0025D214 EC 4C 10 28 */ fsubs f2, f12, f2 +/* 802602B8 0025D218 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 802602BC 0025D21C ED 4B 50 28 */ fsubs f10, f11, f10 +/* 802602C0 0025D220 ED 09 40 28 */ fsubs f8, f9, f8 +/* 802602C4 0025D224 EC C7 30 28 */ fsubs f6, f7, f6 +/* 802602C8 0025D228 EC 85 20 28 */ fsubs f4, f5, f4 +/* 802602CC 0025D22C D1 41 00 58 */ stfs f10, 0x58(r1) +/* 802602D0 0025D230 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802602D4 0025D234 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802602D8 0025D238 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 802602DC 0025D23C D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 802602E0 0025D240 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802602E4 0025D244 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802602E8 0025D248 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802602EC 0025D24C 48 0B 45 65 */ bl AsNormalized__9CVector3fCFv +/* 802602F0 0025D250 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802602F4 0025D254 38 61 00 20 */ addi r3, r1, 0x20 +/* 802602F8 0025D258 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802602FC 0025D25C 38 81 00 48 */ addi r4, r1, 0x48 +/* 80260300 0025D260 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80260304 0025D264 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80260308 0025D268 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 8026030C 0025D26C EF 82 07 7A */ fmadds f28, f2, f29, f0 +/* 80260310 0025D270 48 0B 45 41 */ bl AsNormalized__9CVector3fCFv +/* 80260314 0025D274 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80260318 0025D278 38 61 00 54 */ addi r3, r1, 0x54 +/* 8026031C 0025D27C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80260320 0025D280 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80260324 0025D284 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80260328 0025D288 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 8026032C 0025D28C EF C2 07 7A */ fmadds f30, f2, f29, f0 +/* 80260330 0025D290 48 0B 45 89 */ bl Magnitude__9CVector3fCFv +/* 80260334 0025D294 88 0D A5 60 */ lbz r0, lbl_805A9120@sda21(r13) +/* 80260338 0025D298 FF A0 08 90 */ fmr f29, f1 +/* 8026033C 0025D29C 7C 00 07 75 */ extsb. r0, r0 +/* 80260340 0025D2A0 40 82 00 88 */ bne lbl_802603C8 +/* 80260344 0025D2A4 80 AD 97 EC */ lwz r5, lbl_805A83AC@sda21(r13) +/* 80260348 0025D2A8 38 60 00 00 */ li r3, 0 +/* 8026034C 0025D2AC 38 80 00 01 */ li r4, 1 +/* 80260350 0025D2B0 48 12 9B A5 */ bl __shl2i +/* 80260354 0025D2B4 80 AD 97 F0 */ lwz r5, lbl_805A83B0@sda21(r13) +/* 80260358 0025D2B8 7C 9C 23 78 */ mr r28, r4 +/* 8026035C 0025D2BC 7C 7D 1B 78 */ mr r29, r3 +/* 80260360 0025D2C0 38 60 00 00 */ li r3, 0 +/* 80260364 0025D2C4 38 80 00 01 */ li r4, 1 +/* 80260368 0025D2C8 48 12 9B 8D */ bl __shl2i +/* 8026036C 0025D2CC 80 AD 97 F4 */ lwz r5, lbl_805A83B4@sda21(r13) +/* 80260370 0025D2D0 7F 9C 23 78 */ or r28, r28, r4 +/* 80260374 0025D2D4 7F BD 1B 78 */ or r29, r29, r3 +/* 80260378 0025D2D8 38 60 00 00 */ li r3, 0 +/* 8026037C 0025D2DC 38 80 00 01 */ li r4, 1 +/* 80260380 0025D2E0 48 12 9B 75 */ bl __shl2i +/* 80260384 0025D2E4 80 AD 97 E8 */ lwz r5, lbl_805A83A8@sda21(r13) +/* 80260388 0025D2E8 7F 9C 23 78 */ or r28, r28, r4 +/* 8026038C 0025D2EC 7F BD 1B 78 */ or r29, r29, r3 +/* 80260390 0025D2F0 38 60 00 00 */ li r3, 0 +/* 80260394 0025D2F4 38 80 00 01 */ li r4, 1 +/* 80260398 0025D2F8 48 12 9B 5D */ bl __shl2i +/* 8026039C 0025D2FC 3C A0 80 47 */ lis r5, lbl_8046DC90@ha +/* 802603A0 0025D300 38 C0 00 03 */ li r6, 3 +/* 802603A4 0025D304 38 A5 DC 90 */ addi r5, r5, lbl_8046DC90@l +/* 802603A8 0025D308 38 00 00 01 */ li r0, 1 +/* 802603AC 0025D30C 90 C1 00 70 */ stw r6, 0x70(r1) +/* 802603B0 0025D310 90 85 00 04 */ stw r4, 4(r5) +/* 802603B4 0025D314 90 65 00 00 */ stw r3, 0(r5) +/* 802603B8 0025D318 93 85 00 0C */ stw r28, 0xc(r5) +/* 802603BC 0025D31C 93 A5 00 08 */ stw r29, 8(r5) +/* 802603C0 0025D320 90 C5 00 10 */ stw r6, 0x10(r5) +/* 802603C4 0025D324 98 0D A5 60 */ stb r0, lbl_805A9120@sda21(r13) +lbl_802603C8: +/* 802603C8 0025D328 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) +/* 802603CC 0025D32C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802603D0 0025D330 40 81 00 88 */ ble lbl_80260458 +/* 802603D4 0025D334 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 802603D8 0025D338 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802603DC 0025D33C EC C0 E8 24 */ fdivs f6, f0, f29 +/* 802603E0 0025D340 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802603E4 0025D344 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802603E8 0025D348 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802603EC 0025D34C 80 63 07 68 */ lwz r3, 0x768(r3) +/* 802603F0 0025D350 C0 41 01 14 */ lfs f2, 0x114(r1) +/* 802603F4 0025D354 EC A6 00 72 */ fmuls f5, f6, f1 +/* 802603F8 0025D358 C0 21 01 24 */ lfs f1, 0x124(r1) +/* 802603FC 0025D35C EC 86 00 32 */ fmuls f4, f6, f0 +/* 80260400 0025D360 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 80260404 0025D364 EC 66 00 F2 */ fmuls f3, f6, f3 +/* 80260408 0025D368 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8026040C 0025D36C D0 A1 00 08 */ stfs f5, 8(r1) +/* 80260410 0025D370 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80260414 0025D374 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80260418 0025D378 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8026041C 0025D37C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80260420 0025D380 4B E9 89 E5 */ bl GetBallRadius__10CMorphBallCFv +/* 80260424 0025D384 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 80260428 0025D388 3C 60 80 47 */ lis r3, lbl_8046DC90@ha +/* 8026042C 0025D38C 38 E3 DC 90 */ addi r7, r3, lbl_8046DC90@l +/* 80260430 0025D390 7F E4 FB 78 */ mr r4, r31 +/* 80260434 0025D394 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80260438 0025D398 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8026043C 0025D39C 38 C1 00 08 */ addi r6, r1, 8 +/* 80260440 0025D3A0 4B DE CB 59 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80260444 0025D3A4 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 80260448 0025D3A8 28 00 00 00 */ cmplwi r0, 0 +/* 8026044C 0025D3AC 41 82 00 0C */ beq lbl_80260458 +/* 80260450 0025D3B0 38 60 00 00 */ li r3, 0 +/* 80260454 0025D3B4 48 00 00 38 */ b lbl_8026048C +lbl_80260458: +/* 80260458 0025D3B8 C0 1E 06 84 */ lfs f0, 0x684(r30) +/* 8026045C 0025D3BC FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80260460 0025D3C0 40 80 00 28 */ bge lbl_80260488 +/* 80260464 0025D3C4 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260468 0025D3C8 38 60 00 00 */ li r3, 0 +/* 8026046C 0025D3CC FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80260470 0025D3D0 40 81 00 1C */ ble lbl_8026048C +/* 80260474 0025D3D4 C0 1E 06 80 */ lfs f0, 0x680(r30) +/* 80260478 0025D3D8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8026047C 0025D3DC 40 81 00 10 */ ble lbl_8026048C +/* 80260480 0025D3E0 38 60 00 01 */ li r3, 1 +/* 80260484 0025D3E4 48 00 00 08 */ b lbl_8026048C +lbl_80260488: +/* 80260488 0025D3E8 38 60 00 00 */ li r3, 0 +lbl_8026048C: +/* 8026048C 0025D3EC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 80260490 0025D3F0 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 80260494 0025D3F4 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 80260498 0025D3F8 CB C1 01 70 */ lfd f30, 0x170(r1) +/* 8026049C 0025D3FC E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 +/* 802604A0 0025D400 CB A1 01 60 */ lfd f29, 0x160(r1) +/* 802604A4 0025D404 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 +/* 802604A8 0025D408 CB 81 01 50 */ lfd f28, 0x150(r1) +/* 802604AC 0025D40C BB 61 01 3C */ lmw r27, 0x13c(r1) +/* 802604B0 0025D410 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802604B4 0025D414 7C 08 03 A6 */ mtlr r0 +/* 802604B8 0025D418 38 21 01 90 */ addi r1, r1, 0x190 +/* 802604BC 0025D41C 4E 80 00 20 */ blr + +.global sub_802604c0 +sub_802604c0: +/* 802604C0 0025D420 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802604C4 0025D424 7C 08 02 A6 */ mflr r0 +/* 802604C8 0025D428 90 01 00 54 */ stw r0, 0x54(r1) +/* 802604CC 0025D42C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802604D0 0025D430 7C 9F 23 78 */ mr r31, r4 +/* 802604D4 0025D434 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802604D8 0025D438 7C 7E 1B 78 */ mr r30, r3 +/* 802604DC 0025D43C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802604E0 0025D440 A0 63 06 94 */ lhz r3, 0x694(r3) +/* 802604E4 0025D444 7C 03 00 40 */ cmplw r3, r0 +/* 802604E8 0025D448 41 82 00 80 */ beq lbl_80260568 +/* 802604EC 0025D44C A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 802604F0 0025D450 7F E3 FB 78 */ mr r3, r31 +/* 802604F4 0025D454 38 81 00 08 */ addi r4, r1, 8 +/* 802604F8 0025D458 B0 01 00 08 */ sth r0, 8(r1) +/* 802604FC 0025D45C 4B DE C0 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80260500 0025D460 7C 64 1B 78 */ mr r4, r3 +/* 80260504 0025D464 38 61 00 0C */ addi r3, r1, 0xc +/* 80260508 0025D468 4B E4 F5 35 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8026050C 0025D46C 80 83 00 04 */ lwz r4, 4(r3) +/* 80260510 0025D470 28 04 00 00 */ cmplwi r4, 0 +/* 80260514 0025D474 41 82 00 54 */ beq lbl_80260568 +/* 80260518 0025D478 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8026051C 0025D47C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80260520 0025D480 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80260524 0025D484 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80260528 0025D488 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8026052C 0025D48C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80260530 0025D490 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80260534 0025D494 81 84 00 00 */ lwz r12, 0(r4) +/* 80260538 0025D498 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8026053C 0025D49C 7D 89 03 A6 */ mtctr r12 +/* 80260540 0025D4A0 4E 80 04 21 */ bctrl +/* 80260544 0025D4A4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80260548 0025D4A8 7F C3 F3 78 */ mr r3, r30 +/* 8026054C 0025D4AC 7C 85 23 78 */ mr r5, r4 +/* 80260550 0025D4B0 7F E7 FB 78 */ mr r7, r31 +/* 80260554 0025D4B4 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80260558 0025D4B8 4B FF FC 29 */ bl sub_80260180 +/* 8026055C 0025D4BC 38 00 00 00 */ li r0, 0 +/* 80260560 0025D4C0 98 01 00 38 */ stb r0, 0x38(r1) +/* 80260564 0025D4C4 48 00 00 08 */ b lbl_8026056C +lbl_80260568: +/* 80260568 0025D4C8 38 60 00 00 */ li r3, 0 +lbl_8026056C: +/* 8026056C 0025D4CC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80260570 0025D4D0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80260574 0025D4D4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80260578 0025D4D8 7C 08 03 A6 */ mtlr r0 +/* 8026057C 0025D4DC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80260580 0025D4E0 4E 80 00 20 */ blr + +.global sub_80260584 +sub_80260584: +/* 80260584 0025D4E4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80260588 0025D4E8 7C 08 02 A6 */ mflr r0 +/* 8026058C 0025D4EC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80260590 0025D4F0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80260594 0025D4F4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80260598 0025D4F8 7C 9E 23 78 */ mr r30, r4 +/* 8026059C 0025D4FC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802605A0 0025D500 7C 7D 1B 78 */ mr r29, r3 +/* 802605A4 0025D504 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 802605A8 0025D508 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 802605AC 0025D50C 2C 00 00 01 */ cmpwi r0, 1 +/* 802605B0 0025D510 40 82 00 A4 */ bne lbl_80260654 +/* 802605B4 0025D514 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802605B8 0025D518 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802605BC 0025D51C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802605C0 0025D520 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802605C4 0025D524 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802605C8 0025D528 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802605CC 0025D52C 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 802605D0 0025D530 4B E9 88 35 */ bl GetBallRadius__10CMorphBallCFv +/* 802605D4 0025D534 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 802605D8 0025D538 7F E4 FB 78 */ mr r4, r31 +/* 802605DC 0025D53C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 802605E0 0025D540 38 61 00 20 */ addi r3, r1, 0x20 +/* 802605E4 0025D544 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) +/* 802605E8 0025D548 EC 20 08 2A */ fadds f1, f0, f1 +/* 802605EC 0025D54C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802605F0 0025D550 EC 63 10 2A */ fadds f3, f3, f2 +/* 802605F4 0025D554 EC 00 10 2A */ fadds f0, f0, f2 +/* 802605F8 0025D558 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802605FC 0025D55C D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80260600 0025D560 D0 01 00 08 */ stfs f0, 8(r1) +/* 80260604 0025D564 4B EB A3 29 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80260608 0025D568 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 8026060C 0025D56C 7F A3 EB 78 */ mr r3, r29 +/* 80260610 0025D570 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 80260614 0025D574 7F C7 F3 78 */ mr r7, r30 +/* 80260618 0025D578 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8026061C 0025D57C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80260620 0025D580 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80260624 0025D584 38 A1 00 08 */ addi r5, r1, 8 +/* 80260628 0025D588 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8026062C 0025D58C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80260630 0025D590 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80260634 0025D594 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 80260638 0025D598 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8026063C 0025D59C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80260640 0025D5A0 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80260644 0025D5A4 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80260648 0025D5A8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8026064C 0025D5AC 4B FF FB 35 */ bl sub_80260180 +/* 80260650 0025D5B0 48 00 00 08 */ b lbl_80260658 +lbl_80260654: +/* 80260654 0025D5B4 38 60 00 00 */ li r3, 0 +lbl_80260658: +/* 80260658 0025D5B8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8026065C 0025D5BC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80260660 0025D5C0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80260664 0025D5C4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80260668 0025D5C8 7C 08 03 A6 */ mtlr r0 +/* 8026066C 0025D5CC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80260670 0025D5D0 4E 80 00 20 */ blr + +.global sub_80260674 +sub_80260674: +/* 80260674 0025D5D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80260678 0025D5D8 7C 08 02 A6 */ mflr r0 +/* 8026067C 0025D5DC 2C 05 00 00 */ cmpwi r5, 0 +/* 80260680 0025D5E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80260684 0025D5E4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80260688 0025D5E8 7C 9F 23 78 */ mr r31, r4 +/* 8026068C 0025D5EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80260690 0025D5F0 7C 7E 1B 78 */ mr r30, r3 +/* 80260694 0025D5F4 41 82 00 08 */ beq lbl_8026069C +/* 80260698 0025D5F8 48 00 00 7C */ b lbl_80260714 +lbl_8026069C: +/* 8026069C 0025D5FC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802606A0 0025D600 38 80 00 01 */ li r4, 1 +/* 802606A4 0025D604 4B ED A3 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802606A8 0025D608 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 802606AC 0025D60C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802606B0 0025D610 7C 03 00 40 */ cmplw r3, r0 +/* 802606B4 0025D614 41 82 00 60 */ beq lbl_80260714 +/* 802606B8 0025D618 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 802606BC 0025D61C 7F E3 FB 78 */ mr r3, r31 +/* 802606C0 0025D620 38 81 00 08 */ addi r4, r1, 8 +/* 802606C4 0025D624 B0 01 00 08 */ sth r0, 8(r1) +/* 802606C8 0025D628 4B DE BE DD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802606CC 0025D62C 7C 64 1B 78 */ mr r4, r3 +/* 802606D0 0025D630 38 61 00 0C */ addi r3, r1, 0xc +/* 802606D4 0025D634 4B E4 F3 69 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 802606D8 0025D638 80 A3 00 04 */ lwz r5, 4(r3) +/* 802606DC 0025D63C 28 05 00 00 */ cmplwi r5, 0 +/* 802606E0 0025D640 41 82 00 2C */ beq lbl_8026070C +/* 802606E4 0025D644 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 802606E8 0025D648 7F C3 F3 78 */ mr r3, r30 +/* 802606EC 0025D64C C0 25 00 50 */ lfs f1, 0x50(r5) +/* 802606F0 0025D650 38 81 00 14 */ addi r4, r1, 0x14 +/* 802606F4 0025D654 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 802606F8 0025D658 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802606FC 0025D65C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80260700 0025D660 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80260704 0025D664 4B E1 C4 59 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80260708 0025D668 48 00 00 0C */ b lbl_80260714 +lbl_8026070C: +/* 8026070C 0025D66C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260710 0025D670 B0 1E 06 94 */ sth r0, 0x694(r30) +lbl_80260714: +/* 80260714 0025D674 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80260718 0025D678 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026071C 0025D67C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80260720 0025D680 7C 08 03 A6 */ mtlr r0 +/* 80260724 0025D684 38 21 00 30 */ addi r1, r1, 0x30 +/* 80260728 0025D688 4E 80 00 20 */ blr + +.global Think__9CTryclopsFfR13CStateManager +Think__9CTryclopsFfR13CStateManager: +/* 8026072C 0025D68C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80260730 0025D690 7C 08 02 A6 */ mflr r0 +/* 80260734 0025D694 90 01 00 34 */ stw r0, 0x34(r1) +/* 80260738 0025D698 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8026073C 0025D69C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80260740 0025D6A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80260744 0025D6A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80260748 0025D6A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026074C 0025D6AC FF E0 08 90 */ fmr f31, f1 +/* 80260750 0025D6B0 7C 7D 1B 78 */ mr r29, r3 +/* 80260754 0025D6B4 7C 9E 23 78 */ mr r30, r4 +/* 80260758 0025D6B8 4B E1 93 C1 */ bl Think__10CPatternedFfR13CStateManager +/* 8026075C 0025D6BC 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80260760 0025D6C0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80260764 0025D6C4 41 82 00 1C */ beq lbl_80260780 +/* 80260768 0025D6C8 C0 3D 06 8C */ lfs f1, 0x68c(r29) +/* 8026076C 0025D6CC C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260770 0025D6D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80260774 0025D6D4 40 81 00 0C */ ble lbl_80260780 +/* 80260778 0025D6D8 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 8026077C 0025D6DC D0 1D 06 8C */ stfs f0, 0x68c(r29) +lbl_80260780: +/* 80260780 0025D6E0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80260784 0025D6E4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80260788 0025D6E8 A0 83 02 6C */ lhz r4, 0x26c(r3) +/* 8026078C 0025D6EC 7C 04 00 40 */ cmplw r4, r0 +/* 80260790 0025D6F0 40 82 00 48 */ bne lbl_802607D8 +/* 80260794 0025D6F4 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 80260798 0025D6F8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8026079C 0025D6FC 40 82 00 3C */ bne lbl_802607D8 +/* 802607A0 0025D700 3B E0 00 00 */ li r31, 0 +/* 802607A4 0025D704 4B DB 04 B5 */ bl GetAttachedActorStruggle__7CPlayerCFv +/* 802607A8 0025D708 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 802607AC 0025D70C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802607B0 0025D710 40 82 00 1C */ bne lbl_802607CC +/* 802607B4 0025D714 7F A3 EB 78 */ mr r3, r29 +/* 802607B8 0025D718 7F C4 F3 78 */ mr r4, r30 +/* 802607BC 0025D71C 4B FF D4 15 */ bl sub_8025dbd0 +/* 802607C0 0025D720 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802607C4 0025D724 40 82 00 08 */ bne lbl_802607CC +/* 802607C8 0025D728 3B E0 00 01 */ li r31, 1 +lbl_802607CC: +/* 802607CC 0025D72C 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 802607D0 0025D730 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b +/* 802607D4 0025D734 98 1D 06 98 */ stb r0, 0x698(r29) +lbl_802607D8: +/* 802607D8 0025D738 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802607DC 0025D73C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802607E0 0025D740 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802607E4 0025D744 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802607E8 0025D748 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802607EC 0025D74C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802607F0 0025D750 7C 08 03 A6 */ mtlr r0 +/* 802607F4 0025D754 38 21 00 30 */ addi r1, r1, 0x30 +/* 802607F8 0025D758 4E 80 00 20 */ blr + +.global sub_802607fc +sub_802607fc: +/* 802607FC 0025D75C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80260800 0025D760 7C 08 02 A6 */ mflr r0 +/* 80260804 0025D764 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260808 0025D768 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026080C 0025D76C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80260810 0025D770 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80260814 0025D774 7C 7E 1B 78 */ mr r30, r3 +/* 80260818 0025D778 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8026081C 0025D77C C0 43 06 8C */ lfs f2, 0x68c(r3) +/* 80260820 0025D780 A0 BF 02 6C */ lhz r5, 0x26c(r31) +/* 80260824 0025D784 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260828 0025D788 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8026082C 0025D78C 7C 05 00 50 */ subf r0, r5, r0 +/* 80260830 0025D790 7C 00 00 34 */ cntlzw r0, r0 +/* 80260834 0025D794 54 06 D9 7E */ srwi r6, r0, 5 +/* 80260838 0025D798 7C A0 00 26 */ mfcr r5 +/* 8026083C 0025D79C 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80260840 0025D7A0 54 A5 17 FE */ rlwinm r5, r5, 2, 0x1f, 0x1f +/* 80260844 0025D7A4 2C 00 00 01 */ cmpwi r0, 1 +/* 80260848 0025D7A8 40 82 00 44 */ bne lbl_8026088C +/* 8026084C 0025D7AC 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80260850 0025D7B0 41 82 00 3C */ beq lbl_8026088C +/* 80260854 0025D7B4 28 05 00 00 */ cmplwi r5, 0 +/* 80260858 0025D7B8 40 82 00 34 */ bne lbl_8026088C +/* 8026085C 0025D7BC 4B F9 5B 11 */ bl InDetectionRange__10CPatternedFR13CStateManagerf +/* 80260860 0025D7C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80260864 0025D7C4 41 82 00 28 */ beq lbl_8026088C +/* 80260868 0025D7C8 7F E4 FB 78 */ mr r4, r31 +/* 8026086C 0025D7CC 38 61 00 08 */ addi r3, r1, 8 +/* 80260870 0025D7D0 48 02 44 D9 */ bl GetBallPosition__7CPlayerCFv +/* 80260874 0025D7D4 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80260878 0025D7D8 38 81 00 08 */ addi r4, r1, 8 +/* 8026087C 0025D7DC 4B F6 62 B9 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 80260880 0025D7E0 7C 60 00 34 */ cntlzw r0, r3 +/* 80260884 0025D7E4 54 03 D9 7E */ srwi r3, r0, 5 +/* 80260888 0025D7E8 48 00 00 08 */ b lbl_80260890 +lbl_8026088C: +/* 8026088C 0025D7EC 38 60 00 00 */ li r3, 0 +lbl_80260890: +/* 80260890 0025D7F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80260894 0025D7F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80260898 0025D7F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026089C 0025D7FC 7C 08 03 A6 */ mtlr r0 +/* 802608A0 0025D800 38 21 00 20 */ addi r1, r1, 0x20 +/* 802608A4 0025D804 4E 80 00 20 */ blr + +.global sub_802608a8 +sub_802608a8: +/* 802608A8 0025D808 94 21 F7 10 */ stwu r1, -0x8f0(r1) +/* 802608AC 0025D80C 7C 08 02 A6 */ mflr r0 +/* 802608B0 0025D810 90 01 08 F4 */ stw r0, 0x8f4(r1) +/* 802608B4 0025D814 DB E1 08 E0 */ stfd f31, 0x8e0(r1) +/* 802608B8 0025D818 F3 E1 08 E8 */ psq_st f31, -1816(r1), 0, qr0 +/* 802608BC 0025D81C DB C1 08 D0 */ stfd f30, 0x8d0(r1) +/* 802608C0 0025D820 F3 C1 08 D8 */ psq_st f30, -1832(r1), 0, qr0 +/* 802608C4 0025D824 DB A1 08 C0 */ stfd f29, 0x8c0(r1) +/* 802608C8 0025D828 F3 A1 08 C8 */ psq_st f29, -1848(r1), 0, qr0 +/* 802608CC 0025D82C DB 81 08 B0 */ stfd f28, 0x8b0(r1) +/* 802608D0 0025D830 F3 81 08 B8 */ psq_st f28, -1864(r1), 0, qr0 +/* 802608D4 0025D834 BF 61 08 9C */ stmw r27, 0x89c(r1) +/* 802608D8 0025D838 7C 7E 1B 78 */ mr r30, r3 +/* 802608DC 0025D83C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802608E0 0025D840 A0 63 06 94 */ lhz r3, 0x694(r3) +/* 802608E4 0025D844 7C 9F 23 78 */ mr r31, r4 +/* 802608E8 0025D848 7C 03 00 40 */ cmplw r3, r0 +/* 802608EC 0025D84C 41 82 00 0C */ beq lbl_802608F8 +/* 802608F0 0025D850 38 60 00 01 */ li r3, 1 +/* 802608F4 0025D854 48 00 02 C8 */ b lbl_80260BBC +lbl_802608F8: +/* 802608F8 0025D858 C1 3E 03 BC */ lfs f9, 0x3bc(r30) +/* 802608FC 0025D85C 38 61 00 78 */ addi r3, r1, 0x78 +/* 80260900 0025D860 C0 FE 00 50 */ lfs f7, 0x50(r30) +/* 80260904 0025D864 38 81 00 50 */ addi r4, r1, 0x50 +/* 80260908 0025D868 FD 40 48 50 */ fneg f10, f9 +/* 8026090C 0025D86C C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80260910 0025D870 C1 1E 00 60 */ lfs f8, 0x60(r30) +/* 80260914 0025D874 EC C7 48 2A */ fadds f6, f7, f9 +/* 80260918 0025D878 C3 FE 03 C0 */ lfs f31, 0x3c0(r30) +/* 8026091C 0025D87C EC 22 48 2A */ fadds f1, f2, f9 +/* 80260920 0025D880 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260924 0025D884 EC A8 F8 2A */ fadds f5, f8, f31 +/* 80260928 0025D888 EC 87 50 2A */ fadds f4, f7, f10 +/* 8026092C 0025D88C D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80260930 0025D890 EC 68 00 2A */ fadds f3, f8, f0 +/* 80260934 0025D894 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80260938 0025D898 EC 02 50 2A */ fadds f0, f2, f10 +/* 8026093C 0025D89C EF C9 02 72 */ fmuls f30, f9, f9 +/* 80260940 0025D8A0 EF BF 07 F2 */ fmuls f29, f31, f31 +/* 80260944 0025D8A4 D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 80260948 0025D8A8 D1 01 00 34 */ stfs f8, 0x34(r1) +/* 8026094C 0025D8AC D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80260950 0025D8B0 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 80260954 0025D8B4 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 80260958 0025D8B8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8026095C 0025D8BC D0 E1 00 48 */ stfs f7, 0x48(r1) +/* 80260960 0025D8C0 D1 01 00 4C */ stfs f8, 0x4c(r1) +/* 80260964 0025D8C4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80260968 0025D8C8 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 8026096C 0025D8CC D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80260970 0025D8D0 48 0D 7B 99 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80260974 0025D8D4 38 00 00 00 */ li r0, 0 +/* 80260978 0025D8D8 80 AD 97 E4 */ lwz r5, lbl_805A83A4@sda21(r13) +/* 8026097C 0025D8DC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80260980 0025D8E0 38 60 00 00 */ li r3, 0 +/* 80260984 0025D8E4 38 80 00 01 */ li r4, 1 +/* 80260988 0025D8E8 48 12 95 6D */ bl __shl2i +/* 8026098C 0025D8EC 39 00 00 00 */ li r8, 0 +/* 80260990 0025D8F0 38 00 00 01 */ li r0, 1 +/* 80260994 0025D8F4 90 81 00 64 */ stw r4, 0x64(r1) +/* 80260998 0025D8F8 7F C7 F3 78 */ mr r7, r30 +/* 8026099C 0025D8FC 38 81 00 90 */ addi r4, r1, 0x90 +/* 802609A0 0025D900 38 A1 00 78 */ addi r5, r1, 0x78 +/* 802609A4 0025D904 90 61 00 60 */ stw r3, 0x60(r1) +/* 802609A8 0025D908 7F E3 FB 78 */ mr r3, r31 +/* 802609AC 0025D90C 38 C1 00 60 */ addi r6, r1, 0x60 +/* 802609B0 0025D910 91 01 00 6C */ stw r8, 0x6c(r1) +/* 802609B4 0025D914 91 01 00 68 */ stw r8, 0x68(r1) +/* 802609B8 0025D918 90 01 00 70 */ stw r0, 0x70(r1) +/* 802609BC 0025D91C 4B DE BD 65 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 802609C0 0025D920 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802609C4 0025D924 3B A1 00 94 */ addi r29, r1, 0x94 +/* 802609C8 0025D928 7F BC EB 78 */ mr r28, r29 +/* 802609CC 0025D92C B0 1E 06 94 */ sth r0, 0x694(r30) +/* 802609D0 0025D930 48 00 00 CC */ b lbl_80260A9C +lbl_802609D4: +/* 802609D4 0025D934 A0 1C 00 00 */ lhz r0, 0(r28) +/* 802609D8 0025D938 7F E3 FB 78 */ mr r3, r31 +/* 802609DC 0025D93C 38 81 00 0C */ addi r4, r1, 0xc +/* 802609E0 0025D940 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802609E4 0025D944 4B DE BB C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802609E8 0025D948 7C 64 1B 78 */ mr r4, r3 +/* 802609EC 0025D94C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802609F0 0025D950 4B E4 F0 4D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 802609F4 0025D954 83 63 00 04 */ lwz r27, 4(r3) +/* 802609F8 0025D958 28 1B 00 00 */ cmplwi r27, 0 +/* 802609FC 0025D95C 41 82 00 9C */ beq lbl_80260A98 +/* 80260A00 0025D960 88 1B 01 90 */ lbz r0, 0x190(r27) +/* 80260A04 0025D964 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80260A08 0025D968 40 82 00 90 */ bne lbl_80260A98 +/* 80260A0C 0025D96C C0 BB 00 50 */ lfs f5, 0x50(r27) +/* 80260A10 0025D970 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80260A14 0025D974 C0 9B 00 60 */ lfs f4, 0x60(r27) +/* 80260A18 0025D978 EC 65 00 28 */ fsubs f3, f5, f0 +/* 80260A1C 0025D97C C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80260A20 0025D980 C0 DB 00 40 */ lfs f6, 0x40(r27) +/* 80260A24 0025D984 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80260A28 0025D988 EC 44 00 28 */ fsubs f2, f4, f0 +/* 80260A2C 0025D98C EC 03 00 F2 */ fmuls f0, f3, f3 +/* 80260A30 0025D990 EC 26 08 28 */ fsubs f1, f6, f1 +/* 80260A34 0025D994 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80260A38 0025D998 EC 01 00 7A */ fmadds f0, f1, f1, f0 +/* 80260A3C 0025D99C EF 82 00 2A */ fadds f28, f2, f0 +/* 80260A40 0025D9A0 FC 1C F0 40 */ fcmpo cr0, f28, f30 +/* 80260A44 0025D9A4 40 80 00 54 */ bge lbl_80260A98 +/* 80260A48 0025D9A8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260A4C 0025D9AC 38 00 00 01 */ li r0, 1 +/* 80260A50 0025D9B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80260A54 0025D9B4 40 81 00 10 */ ble lbl_80260A64 +/* 80260A58 0025D9B8 FC 02 E8 40 */ fcmpo cr0, f2, f29 +/* 80260A5C 0025D9BC 7C 00 00 26 */ mfcr r0 +/* 80260A60 0025D9C0 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_80260A64: +/* 80260A64 0025D9C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80260A68 0025D9C8 41 82 00 30 */ beq lbl_80260A98 +/* 80260A6C 0025D9CC D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 80260A70 0025D9D0 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80260A74 0025D9D4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80260A78 0025D9D8 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80260A7C 0025D9DC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80260A80 0025D9E0 4B F6 60 B5 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 80260A84 0025D9E4 2C 03 00 00 */ cmpwi r3, 0 +/* 80260A88 0025D9E8 40 82 00 10 */ bne lbl_80260A98 +/* 80260A8C 0025D9EC A0 1B 00 08 */ lhz r0, 8(r27) +/* 80260A90 0025D9F0 FF C0 E0 90 */ fmr f30, f28 +/* 80260A94 0025D9F4 B0 1E 06 94 */ sth r0, 0x694(r30) +lbl_80260A98: +/* 80260A98 0025D9F8 3B 9C 00 02 */ addi r28, r28, 2 +lbl_80260A9C: +/* 80260A9C 0025D9FC 80 01 00 90 */ lwz r0, 0x90(r1) +/* 80260AA0 0025DA00 54 00 08 3C */ slwi r0, r0, 1 +/* 80260AA4 0025DA04 7C 1D 02 14 */ add r0, r29, r0 +/* 80260AA8 0025DA08 7C 1C 00 40 */ cmplw r28, r0 +/* 80260AAC 0025DA0C 40 82 FF 28 */ bne lbl_802609D4 +/* 80260AB0 0025DA10 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 80260AB4 0025DA14 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260AB8 0025DA18 7C 03 00 40 */ cmplw r3, r0 +/* 80260ABC 0025DA1C 41 82 00 A8 */ beq lbl_80260B64 +/* 80260AC0 0025DA20 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 80260AC4 0025DA24 7F E3 FB 78 */ mr r3, r31 +/* 80260AC8 0025DA28 38 81 00 08 */ addi r4, r1, 8 +/* 80260ACC 0025DA2C B0 01 00 08 */ sth r0, 8(r1) +/* 80260AD0 0025DA30 4B DE BA A5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80260AD4 0025DA34 7C 64 1B 78 */ mr r4, r3 +/* 80260AD8 0025DA38 38 61 00 18 */ addi r3, r1, 0x18 +/* 80260ADC 0025DA3C 4B E4 EF 61 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 80260AE0 0025DA40 80 A3 00 04 */ lwz r5, 4(r3) +/* 80260AE4 0025DA44 28 05 00 00 */ cmplwi r5, 0 +/* 80260AE8 0025DA48 41 82 00 7C */ beq lbl_80260B64 +/* 80260AEC 0025DA4C 88 05 01 90 */ lbz r0, 0x190(r5) +/* 80260AF0 0025DA50 38 60 00 01 */ li r3, 1 +/* 80260AF4 0025DA54 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80260AF8 0025DA58 38 80 00 00 */ li r4, 0 +/* 80260AFC 0025DA5C 98 05 01 90 */ stb r0, 0x190(r5) +/* 80260B00 0025DA60 88 05 01 90 */ lbz r0, 0x190(r5) +/* 80260B04 0025DA64 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80260B08 0025DA68 98 05 01 90 */ stb r0, 0x190(r5) +/* 80260B0C 0025DA6C 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 80260B10 0025DA70 2C 05 00 00 */ cmpwi r5, 0 +/* 80260B14 0025DA74 40 81 00 40 */ ble lbl_80260B54 +/* 80260B18 0025DA78 2C 05 00 08 */ cmpwi r5, 8 +/* 80260B1C 0025DA7C 38 65 FF F8 */ addi r3, r5, -8 +/* 80260B20 0025DA80 40 81 00 20 */ ble lbl_80260B40 +/* 80260B24 0025DA84 38 03 00 07 */ addi r0, r3, 7 +/* 80260B28 0025DA88 54 00 E8 FE */ srwi r0, r0, 3 +/* 80260B2C 0025DA8C 7C 09 03 A6 */ mtctr r0 +/* 80260B30 0025DA90 2C 03 00 00 */ cmpwi r3, 0 +/* 80260B34 0025DA94 40 81 00 0C */ ble lbl_80260B40 +lbl_80260B38: +/* 80260B38 0025DA98 38 84 00 08 */ addi r4, r4, 8 +/* 80260B3C 0025DA9C 42 00 FF FC */ bdnz lbl_80260B38 +lbl_80260B40: +/* 80260B40 0025DAA0 7C 04 28 50 */ subf r0, r4, r5 +/* 80260B44 0025DAA4 7C 09 03 A6 */ mtctr r0 +/* 80260B48 0025DAA8 7C 04 28 00 */ cmpw r4, r5 +/* 80260B4C 0025DAAC 40 80 00 08 */ bge lbl_80260B54 +lbl_80260B50: +/* 80260B50 0025DAB0 42 00 00 00 */ bdnz lbl_80260B50 +lbl_80260B54: +/* 80260B54 0025DAB4 38 00 00 00 */ li r0, 0 +/* 80260B58 0025DAB8 38 60 00 01 */ li r3, 1 +/* 80260B5C 0025DABC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80260B60 0025DAC0 48 00 00 5C */ b lbl_80260BBC +lbl_80260B64: +/* 80260B64 0025DAC4 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 80260B68 0025DAC8 38 60 00 00 */ li r3, 0 +/* 80260B6C 0025DACC 2C 05 00 00 */ cmpwi r5, 0 +/* 80260B70 0025DAD0 40 81 00 40 */ ble lbl_80260BB0 +/* 80260B74 0025DAD4 2C 05 00 08 */ cmpwi r5, 8 +/* 80260B78 0025DAD8 38 85 FF F8 */ addi r4, r5, -8 +/* 80260B7C 0025DADC 40 81 00 20 */ ble lbl_80260B9C +/* 80260B80 0025DAE0 38 04 00 07 */ addi r0, r4, 7 +/* 80260B84 0025DAE4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80260B88 0025DAE8 7C 09 03 A6 */ mtctr r0 +/* 80260B8C 0025DAEC 2C 04 00 00 */ cmpwi r4, 0 +/* 80260B90 0025DAF0 40 81 00 0C */ ble lbl_80260B9C +lbl_80260B94: +/* 80260B94 0025DAF4 38 63 00 08 */ addi r3, r3, 8 +/* 80260B98 0025DAF8 42 00 FF FC */ bdnz lbl_80260B94 +lbl_80260B9C: +/* 80260B9C 0025DAFC 7C 03 28 50 */ subf r0, r3, r5 +/* 80260BA0 0025DB00 7C 09 03 A6 */ mtctr r0 +/* 80260BA4 0025DB04 7C 03 28 00 */ cmpw r3, r5 +/* 80260BA8 0025DB08 40 80 00 08 */ bge lbl_80260BB0 +lbl_80260BAC: +/* 80260BAC 0025DB0C 42 00 00 00 */ bdnz lbl_80260BAC +lbl_80260BB0: +/* 80260BB0 0025DB10 38 00 00 00 */ li r0, 0 +/* 80260BB4 0025DB14 38 60 00 00 */ li r3, 0 +/* 80260BB8 0025DB18 90 01 00 90 */ stw r0, 0x90(r1) +lbl_80260BBC: +/* 80260BBC 0025DB1C E3 E1 08 E8 */ psq_l f31, -1816(r1), 0, qr0 +/* 80260BC0 0025DB20 CB E1 08 E0 */ lfd f31, 0x8e0(r1) +/* 80260BC4 0025DB24 E3 C1 08 D8 */ psq_l f30, -1832(r1), 0, qr0 +/* 80260BC8 0025DB28 CB C1 08 D0 */ lfd f30, 0x8d0(r1) +/* 80260BCC 0025DB2C E3 A1 08 C8 */ psq_l f29, -1848(r1), 0, qr0 +/* 80260BD0 0025DB30 CB A1 08 C0 */ lfd f29, 0x8c0(r1) +/* 80260BD4 0025DB34 E3 81 08 B8 */ psq_l f28, -1864(r1), 0, qr0 +/* 80260BD8 0025DB38 CB 81 08 B0 */ lfd f28, 0x8b0(r1) +/* 80260BDC 0025DB3C BB 61 08 9C */ lmw r27, 0x89c(r1) +/* 80260BE0 0025DB40 80 01 08 F4 */ lwz r0, 0x8f4(r1) +/* 80260BE4 0025DB44 7C 08 03 A6 */ mtlr r0 +/* 80260BE8 0025DB48 38 21 08 F0 */ addi r1, r1, 0x8f0 +/* 80260BEC 0025DB4C 4E 80 00 20 */ blr + +.global sub_80260bf0 +sub_80260bf0: +/* 80260BF0 0025DB50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80260BF4 0025DB54 7C 08 02 A6 */ mflr r0 +/* 80260BF8 0025DB58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80260BFC 0025DB5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80260C00 0025DB60 7C DF 33 78 */ mr r31, r6 +/* 80260C04 0025DB64 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80260C08 0025DB68 7C 9E 23 78 */ mr r30, r4 +/* 80260C0C 0025DB6C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80260C10 0025DB70 7C 7D 1B 78 */ mr r29, r3 +/* 80260C14 0025DB74 A0 05 00 00 */ lhz r0, 0(r5) +/* 80260C18 0025DB78 38 A1 00 08 */ addi r5, r1, 8 +/* 80260C1C 0025DB7C B0 01 00 08 */ sth r0, 8(r1) +/* 80260C20 0025DB80 4B E1 BF 59 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80260C24 0025DB84 2C 1E 00 22 */ cmpwi r30, 0x22 +/* 80260C28 0025DB88 41 82 00 5C */ beq lbl_80260C84 +/* 80260C2C 0025DB8C 40 80 00 10 */ bge lbl_80260C3C +/* 80260C30 0025DB90 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 80260C34 0025DB94 40 80 00 14 */ bge lbl_80260C48 +/* 80260C38 0025DB98 48 00 00 4C */ b lbl_80260C84 +lbl_80260C3C: +/* 80260C3C 0025DB9C 2C 1E 00 24 */ cmpwi r30, 0x24 +/* 80260C40 0025DBA0 40 80 00 44 */ bge lbl_80260C84 +/* 80260C44 0025DBA4 48 00 00 14 */ b lbl_80260C58 +lbl_80260C48: +/* 80260C48 0025DBA8 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80260C4C 0025DBAC 7F E4 FB 78 */ mr r4, r31 +/* 80260C50 0025DBB0 4B ED A0 A1 */ bl Activate__15CBodyControllerFR13CStateManager +/* 80260C54 0025DBB4 48 00 00 30 */ b lbl_80260C84 +lbl_80260C58: +/* 80260C58 0025DBB8 80 BD 00 04 */ lwz r5, 4(r29) +/* 80260C5C 0025DBBC 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 80260C60 0025DBC0 54 A3 18 38 */ slwi r3, r5, 3 +/* 80260C64 0025DBC4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80260C68 0025DBC8 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80260C6C 0025DBCC 38 03 00 04 */ addi r0, r3, 4 +/* 80260C70 0025DBD0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80260C74 0025DBD4 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80260C78 0025DBD8 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80260C7C 0025DBDC 80 03 10 BC */ lwz r0, 0x10bc(r3) +/* 80260C80 0025DBE0 90 1D 05 68 */ stw r0, 0x568(r29) +lbl_80260C84: +/* 80260C84 0025DBE4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80260C88 0025DBE8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80260C8C 0025DBEC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80260C90 0025DBF0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80260C94 0025DBF4 7C 08 03 A6 */ mtlr r0 +/* 80260C98 0025DBF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80260C9C 0025DBFC 4E 80 00 20 */ blr + +.global __dt__9CTryclopsFv +__dt__9CTryclopsFv: +/* 80260CA0 0025DC00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80260CA4 0025DC04 7C 08 02 A6 */ mflr r0 +/* 80260CA8 0025DC08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80260CAC 0025DC0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80260CB0 0025DC10 7C 9F 23 78 */ mr r31, r4 +/* 80260CB4 0025DC14 93 C1 00 08 */ stw r30, 8(r1) +/* 80260CB8 0025DC18 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80260CBC 0025DC1C 41 82 00 90 */ beq lbl_80260D4C +/* 80260CC0 0025DC20 3C 60 80 3F */ lis r3, lbl_803E9A40@ha +/* 80260CC4 0025DC24 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80260CC8 0025DC28 38 03 9A 40 */ addi r0, r3, lbl_803E9A40@l +/* 80260CCC 0025DC2C 90 1E 00 00 */ stw r0, 0(r30) +/* 80260CD0 0025DC30 41 82 00 60 */ beq lbl_80260D30 +/* 80260CD4 0025DC34 34 1E 05 6C */ addic. r0, r30, 0x56c +/* 80260CD8 0025DC38 41 82 00 58 */ beq lbl_80260D30 +/* 80260CDC 0025DC3C 80 BE 05 6C */ lwz r5, 0x56c(r30) +/* 80260CE0 0025DC40 38 60 00 00 */ li r3, 0 +/* 80260CE4 0025DC44 2C 05 00 00 */ cmpwi r5, 0 +/* 80260CE8 0025DC48 40 81 00 40 */ ble lbl_80260D28 +/* 80260CEC 0025DC4C 2C 05 00 08 */ cmpwi r5, 8 +/* 80260CF0 0025DC50 38 85 FF F8 */ addi r4, r5, -8 +/* 80260CF4 0025DC54 40 81 00 20 */ ble lbl_80260D14 +/* 80260CF8 0025DC58 38 04 00 07 */ addi r0, r4, 7 +/* 80260CFC 0025DC5C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80260D00 0025DC60 7C 09 03 A6 */ mtctr r0 +/* 80260D04 0025DC64 2C 04 00 00 */ cmpwi r4, 0 +/* 80260D08 0025DC68 40 81 00 0C */ ble lbl_80260D14 +lbl_80260D0C: +/* 80260D0C 0025DC6C 38 63 00 08 */ addi r3, r3, 8 +/* 80260D10 0025DC70 42 00 FF FC */ bdnz lbl_80260D0C +lbl_80260D14: +/* 80260D14 0025DC74 7C 03 28 50 */ subf r0, r3, r5 +/* 80260D18 0025DC78 7C 09 03 A6 */ mtctr r0 +/* 80260D1C 0025DC7C 7C 03 28 00 */ cmpw r3, r5 +/* 80260D20 0025DC80 40 80 00 08 */ bge lbl_80260D28 +lbl_80260D24: +/* 80260D24 0025DC84 42 00 00 00 */ bdnz lbl_80260D24 +lbl_80260D28: +/* 80260D28 0025DC88 38 00 00 00 */ li r0, 0 +/* 80260D2C 0025DC8C 90 1E 05 6C */ stw r0, 0x56c(r30) +lbl_80260D30: +/* 80260D30 0025DC90 7F C3 F3 78 */ mr r3, r30 +/* 80260D34 0025DC94 38 80 00 00 */ li r4, 0 +/* 80260D38 0025DC98 4B E1 68 39 */ bl __dt__10CPatternedFv +/* 80260D3C 0025DC9C 7F E0 07 35 */ extsh. r0, r31 +/* 80260D40 0025DCA0 40 81 00 0C */ ble lbl_80260D4C +/* 80260D44 0025DCA4 7F C3 F3 78 */ mr r3, r30 +/* 80260D48 0025DCA8 48 0B 4B E9 */ bl Free__7CMemoryFPCv +lbl_80260D4C: +/* 80260D4C 0025DCAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80260D50 0025DCB0 7F C3 F3 78 */ mr r3, r30 +/* 80260D54 0025DCB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80260D58 0025DCB8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80260D5C 0025DCBC 7C 08 03 A6 */ mtlr r0 +/* 80260D60 0025DCC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80260D64 0025DCC4 4E 80 00 20 */ blr + +.global __ct__9CTryclops +__ct__9CTryclops: +/* 80260D68 0025DCC8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80260D6C 0025DCCC 7C 08 02 A6 */ mflr r0 +/* 80260D70 0025DCD0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80260D74 0025DCD4 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80260D78 0025DCD8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80260D7C 0025DCDC DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80260D80 0025DCE0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80260D84 0025DCE4 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80260D88 0025DCE8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80260D8C 0025DCEC DB 81 00 30 */ stfd f28, 0x30(r1) +/* 80260D90 0025DCF0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 80260D94 0025DCF4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80260D98 0025DCF8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80260D9C 0025DCFC A0 04 00 00 */ lhz r0, 0(r4) +/* 80260DA0 0025DD00 7D 3E 4B 78 */ mr r30, r9 +/* 80260DA4 0025DD04 7C C4 33 78 */ mr r4, r6 +/* 80260DA8 0025DD08 7D 0C 43 78 */ mr r12, r8 +/* 80260DAC 0025DD0C B0 01 00 20 */ sth r0, 0x20(r1) +/* 80260DB0 0025DD10 7C A6 2B 78 */ mr r6, r5 +/* 80260DB4 0025DD14 7C 88 23 78 */ mr r8, r4 +/* 80260DB8 0025DD18 7C E9 3B 78 */ mr r9, r7 +/* 80260DBC 0025DD1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80260DC0 0025DD20 39 60 00 00 */ li r11, 0 +/* 80260DC4 0025DD24 38 00 00 01 */ li r0, 1 +/* 80260DC8 0025DD28 FF 80 08 90 */ fmr f28, f1 +/* 80260DCC 0025DD2C 91 61 00 0C */ stw r11, 0xc(r1) +/* 80260DD0 0025DD30 FF A0 10 90 */ fmr f29, f2 +/* 80260DD4 0025DD34 FF C0 18 90 */ fmr f30, f3 +/* 80260DD8 0025DD38 7C 7F 1B 78 */ mr r31, r3 +/* 80260DDC 0025DD3C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80260DE0 0025DD40 FF E0 20 90 */ fmr f31, f4 +/* 80260DE4 0025DD44 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80260DE8 0025DD48 90 01 00 14 */ stw r0, 0x14(r1) +/* 80260DEC 0025DD4C 38 80 00 26 */ li r4, 0x26 +/* 80260DF0 0025DD50 38 E0 00 00 */ li r7, 0 +/* 80260DF4 0025DD54 91 41 00 18 */ stw r10, 0x18(r1) +/* 80260DF8 0025DD58 7D 8A 63 78 */ mr r10, r12 +/* 80260DFC 0025DD5C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80260E00 0025DD60 4B E1 C6 51 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80260E04 0025DD64 3C 60 80 3F */ lis r3, lbl_803E9A40@ha +/* 80260E08 0025DD68 C0 22 BA 3C */ lfs f1, lbl_805AD75C@sda21(r2) +/* 80260E0C 0025DD6C 38 03 9A 40 */ addi r0, r3, lbl_803E9A40@l +/* 80260E10 0025DD70 38 7F 05 68 */ addi r3, r31, 0x568 +/* 80260E14 0025DD74 90 1F 00 00 */ stw r0, 0(r31) +/* 80260E18 0025DD78 FC 40 08 90 */ fmr f2, f1 +/* 80260E1C 0025DD7C 38 80 00 00 */ li r4, 0 +/* 80260E20 0025DD80 38 A0 00 01 */ li r5, 1 +/* 80260E24 0025DD84 80 DE 01 0C */ lwz r6, 0x10c(r30) +/* 80260E28 0025DD88 4B F6 7F 6D */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80260E2C 0025DD8C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80260E30 0025DD90 38 7F 06 4C */ addi r3, r31, 0x64c +/* 80260E34 0025DD94 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80260E38 0025DD98 48 0B 1D 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80260E3C 0025DD9C C0 02 BA 60 */ lfs f0, lbl_805AD780@sda21(r2) +/* 80260E40 0025DDA0 C0 22 BA 5C */ lfs f1, lbl_805AD77C@sda21(r2) +/* 80260E44 0025DDA4 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80260E48 0025DDA8 D3 9F 06 7C */ stfs f28, 0x67c(r31) +/* 80260E4C 0025DDAC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80260E50 0025DDB0 48 13 35 A1 */ bl cos +/* 80260E54 0025DDB4 FC 20 08 18 */ frsp f1, f1 +/* 80260E58 0025DDB8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260E5C 0025DDBC 38 A0 00 00 */ li r5, 0 +/* 80260E60 0025DDC0 7F E3 FB 78 */ mr r3, r31 +/* 80260E64 0025DDC4 38 80 00 00 */ li r4, 0 +/* 80260E68 0025DDC8 D0 3F 06 80 */ stfs f1, 0x680(r31) +/* 80260E6C 0025DDCC D3 DF 06 84 */ stfs f30, 0x684(r31) +/* 80260E70 0025DDD0 D3 FF 06 88 */ stfs f31, 0x688(r31) +/* 80260E74 0025DDD4 D0 1F 06 8C */ stfs f0, 0x68c(r31) +/* 80260E78 0025DDD8 90 BF 06 90 */ stw r5, 0x690(r31) +/* 80260E7C 0025DDDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260E80 0025DDE0 B0 1F 06 94 */ sth r0, 0x694(r31) +/* 80260E84 0025DDE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260E88 0025DDE8 B0 1F 06 96 */ sth r0, 0x696(r31) +/* 80260E8C 0025DDEC 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260E90 0025DDF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80260E94 0025DDF4 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260E98 0025DDF8 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260E9C 0025DDFC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80260EA0 0025DE00 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260EA4 0025DE04 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260EA8 0025DE08 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80260EAC 0025DE0C 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260EB0 0025DE10 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260EB4 0025DE14 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80260EB8 0025DE18 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260EBC 0025DE1C 4B DF 1E B1 */ bl CreateShadow__6CActorFb +/* 80260EC0 0025DE20 7F E3 FB 78 */ mr r3, r31 +/* 80260EC4 0025DE24 4B E1 69 D1 */ bl MakeThermalColdAndHot__10CPatternedFv +/* 80260EC8 0025DE28 38 7F 04 60 */ addi r3, r31, 0x460 +/* 80260ECC 0025DE2C 38 80 00 00 */ li r4, 0 +/* 80260ED0 0025DE30 4B FD 2E 95 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80260ED4 0025DE34 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 80260ED8 0025DE38 38 60 00 00 */ li r3, 0 +/* 80260EDC 0025DE3C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80260EE0 0025DE40 7F E3 FB 78 */ mr r3, r31 +/* 80260EE4 0025DE44 98 1F 03 28 */ stb r0, 0x328(r31) +/* 80260EE8 0025DE48 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80260EEC 0025DE4C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80260EF0 0025DE50 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80260EF4 0025DE54 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80260EF8 0025DE58 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80260EFC 0025DE5C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80260F00 0025DE60 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 80260F04 0025DE64 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 80260F08 0025DE68 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80260F0C 0025DE6C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80260F10 0025DE70 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80260F14 0025DE74 7C 08 03 A6 */ mtlr r0 +/* 80260F18 0025DE78 38 21 00 70 */ addi r1, r1, 0x70 +/* 80260F1C 0025DE7C 4E 80 00 20 */ blr + +.global __sinit_CTryclops_cpp +__sinit_CTryclops_cpp: +/* 80260F20 0025DE80 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80260F24 0025DE84 7C 08 02 A6 */ mflr r0 +/* 80260F28 0025DE88 39 60 00 02 */ li r11, 2 +/* 80260F2C 0025DE8C 38 80 00 02 */ li r4, 2 +/* 80260F30 0025DE90 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80260F34 0025DE94 38 00 00 00 */ li r0, 0 +/* 80260F38 0025DE98 38 61 00 30 */ addi r3, r1, 0x30 +/* 80260F3C 0025DE9C 38 A0 00 02 */ li r5, 2 +/* 80260F40 0025DEA0 BD E1 00 9C */ stmw r15, 0x9c(r1) +/* 80260F44 0025DEA4 38 C0 00 02 */ li r6, 2 +/* 80260F48 0025DEA8 38 E0 00 02 */ li r7, 2 +/* 80260F4C 0025DEAC 39 00 00 02 */ li r8, 2 +/* 80260F50 0025DEB0 39 20 00 01 */ li r9, 1 +/* 80260F54 0025DEB4 39 40 00 02 */ li r10, 2 +/* 80260F58 0025DEB8 91 61 00 08 */ stw r11, 8(r1) +/* 80260F5C 0025DEBC 91 61 00 0C */ stw r11, 0xc(r1) +/* 80260F60 0025DEC0 91 61 00 10 */ stw r11, 0x10(r1) +/* 80260F64 0025DEC4 91 61 00 14 */ stw r11, 0x14(r1) +/* 80260F68 0025DEC8 91 61 00 18 */ stw r11, 0x18(r1) +/* 80260F6C 0025DECC 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80260F70 0025DED0 91 61 00 20 */ stw r11, 0x20(r1) +/* 80260F74 0025DED4 91 61 00 24 */ stw r11, 0x24(r1) +/* 80260F78 0025DED8 90 01 00 28 */ stw r0, 0x28(r1) +/* 80260F7C 0025DEDC 4B EA 19 B9 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 80260F80 0025DEE0 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80260F84 0025DEE4 3C 80 80 57 */ lis r4, lbl_80572614@ha +/* 80260F88 0025DEE8 C0 22 BA 34 */ lfs f1, lbl_805AD754@sda21(r2) +/* 80260F8C 0025DEEC 3C A0 80 57 */ lis r5, lbl_80572688@ha +/* 80260F90 0025DEF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80260F94 0025DEF4 94 64 26 14 */ stwu r3, lbl_80572614@l(r4) +/* 80260F98 0025DEF8 81 E1 00 38 */ lwz r15, 0x38(r1) +/* 80260F9C 0025DEFC 82 01 00 3C */ lwz r16, 0x3c(r1) +/* 80260FA0 0025DF00 82 21 00 40 */ lwz r17, 0x40(r1) +/* 80260FA4 0025DF04 82 41 00 44 */ lwz r18, 0x44(r1) +/* 80260FA8 0025DF08 82 61 00 48 */ lwz r19, 0x48(r1) +/* 80260FAC 0025DF0C 82 81 00 4C */ lwz r20, 0x4c(r1) +/* 80260FB0 0025DF10 82 A1 00 50 */ lwz r21, 0x50(r1) +/* 80260FB4 0025DF14 82 C1 00 54 */ lwz r22, 0x54(r1) +/* 80260FB8 0025DF18 82 E1 00 58 */ lwz r23, 0x58(r1) +/* 80260FBC 0025DF1C 83 01 00 5C */ lwz r24, 0x5c(r1) +/* 80260FC0 0025DF20 83 21 00 60 */ lwz r25, 0x60(r1) +/* 80260FC4 0025DF24 83 41 00 64 */ lwz r26, 0x64(r1) +/* 80260FC8 0025DF28 83 61 00 68 */ lwz r27, 0x68(r1) +/* 80260FCC 0025DF2C 83 81 00 6C */ lwz r28, 0x6c(r1) +/* 80260FD0 0025DF30 83 A1 00 70 */ lwz r29, 0x70(r1) +/* 80260FD4 0025DF34 83 C1 00 74 */ lwz r30, 0x74(r1) +/* 80260FD8 0025DF38 83 E1 00 78 */ lwz r31, 0x78(r1) +/* 80260FDC 0025DF3C 81 81 00 7C */ lwz r12, 0x7c(r1) +/* 80260FE0 0025DF40 81 61 00 80 */ lwz r11, 0x80(r1) +/* 80260FE4 0025DF44 81 41 00 84 */ lwz r10, 0x84(r1) +/* 80260FE8 0025DF48 81 21 00 88 */ lwz r9, 0x88(r1) +/* 80260FEC 0025DF4C 81 01 00 8C */ lwz r8, 0x8c(r1) +/* 80260FF0 0025DF50 80 E1 00 90 */ lwz r7, 0x90(r1) +/* 80260FF4 0025DF54 80 C1 00 94 */ lwz r6, 0x94(r1) +/* 80260FF8 0025DF58 D4 25 26 88 */ stfsu f1, lbl_80572688@l(r5) +/* 80260FFC 0025DF5C C0 02 BA 64 */ lfs f0, lbl_805AD784@sda21(r2) +/* 80261000 0025DF60 90 04 00 04 */ stw r0, 4(r4) +/* 80261004 0025DF64 91 E4 00 08 */ stw r15, 8(r4) +/* 80261008 0025DF68 92 04 00 0C */ stw r16, 0xc(r4) +/* 8026100C 0025DF6C 92 24 00 10 */ stw r17, 0x10(r4) +/* 80261010 0025DF70 92 44 00 14 */ stw r18, 0x14(r4) +/* 80261014 0025DF74 92 64 00 18 */ stw r19, 0x18(r4) +/* 80261018 0025DF78 92 84 00 1C */ stw r20, 0x1c(r4) +/* 8026101C 0025DF7C 92 A4 00 20 */ stw r21, 0x20(r4) +/* 80261020 0025DF80 92 C4 00 24 */ stw r22, 0x24(r4) +/* 80261024 0025DF84 92 E4 00 28 */ stw r23, 0x28(r4) +/* 80261028 0025DF88 93 04 00 2C */ stw r24, 0x2c(r4) +/* 8026102C 0025DF8C 93 24 00 30 */ stw r25, 0x30(r4) +/* 80261030 0025DF90 93 44 00 34 */ stw r26, 0x34(r4) +/* 80261034 0025DF94 93 64 00 38 */ stw r27, 0x38(r4) +/* 80261038 0025DF98 93 84 00 3C */ stw r28, 0x3c(r4) +/* 8026103C 0025DF9C 93 A4 00 40 */ stw r29, 0x40(r4) +/* 80261040 0025DFA0 93 C4 00 44 */ stw r30, 0x44(r4) +/* 80261044 0025DFA4 93 E4 00 48 */ stw r31, 0x48(r4) +/* 80261048 0025DFA8 91 84 00 4C */ stw r12, 0x4c(r4) +/* 8026104C 0025DFAC 91 64 00 50 */ stw r11, 0x50(r4) +/* 80261050 0025DFB0 91 44 00 54 */ stw r10, 0x54(r4) +/* 80261054 0025DFB4 91 24 00 58 */ stw r9, 0x58(r4) +/* 80261058 0025DFB8 91 04 00 5C */ stw r8, 0x5c(r4) +/* 8026105C 0025DFBC 90 E4 00 60 */ stw r7, 0x60(r4) +/* 80261060 0025DFC0 90 C4 00 64 */ stw r6, 0x64(r4) +/* 80261064 0025DFC4 D0 25 00 04 */ stfs f1, 4(r5) +/* 80261068 0025DFC8 D0 05 00 08 */ stfs f0, 8(r5) +/* 8026106C 0025DFCC B9 E1 00 9C */ lmw r15, 0x9c(r1) +/* 80261070 0025DFD0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80261074 0025DFD4 7C 08 03 A6 */ mtlr r0 +/* 80261078 0025DFD8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8026107C 0025DFDC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CWallWalker.s b/asm/Kyoto_CWD/Enemies/CWallWalker.s new file mode 100644 index 00000000..6876dab7 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CWallWalker.s @@ -0,0 +1,1035 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Think__11CWallWalkerFfR13CStateManager +Think__11CWallWalkerFfR13CStateManager: +/* 8026856C 002654CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80268570 002654D0 7C 08 02 A6 */ mflr r0 +/* 80268574 002654D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80268578 002654D8 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8026857C 002654DC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80268580 002654E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80268584 002654E4 7C 7F 1B 78 */ mr r31, r3 +/* 80268588 002654E8 FF E0 08 90 */ fmr f31, f1 +/* 8026858C 002654EC 4B E1 15 8D */ bl Think__10CPatternedFfR13CStateManager +/* 80268590 002654F0 80 1F 05 CC */ lwz r0, 0x5cc(r31) +/* 80268594 002654F4 2C 00 FF FF */ cmpwi r0, -1 +/* 80268598 002654F8 41 82 01 18 */ beq lbl_802686B0 +/* 8026859C 002654FC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802685A0 00265500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802685A4 00265504 41 82 00 50 */ beq lbl_802685F4 +/* 802685A8 00265508 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 802685AC 0026550C C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) +/* 802685B0 00265510 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802685B4 00265514 40 80 00 88 */ bge lbl_8026863C +/* 802685B8 00265518 38 7F 01 38 */ addi r3, r31, 0x138 +/* 802685BC 0026551C 48 0A C2 FD */ bl Magnitude__9CVector3fCFv +/* 802685C0 00265520 EC 5F 00 72 */ fmuls f2, f31, f1 +/* 802685C4 00265524 C0 22 BB 00 */ lfs f1, lbl_805AD820@sda21(r2) +/* 802685C8 00265528 C0 7F 05 C8 */ lfs f3, 0x5c8(r31) +/* 802685CC 0026552C C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) +/* 802685D0 00265530 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802685D4 00265534 EC 23 08 2A */ fadds f1, f3, f1 +/* 802685D8 00265538 D0 3F 05 C8 */ stfs f1, 0x5c8(r31) +/* 802685DC 0026553C C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 802685E0 00265540 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802685E4 00265544 4C 41 13 82 */ cror 2, 1, 2 +/* 802685E8 00265548 40 82 00 54 */ bne lbl_8026863C +/* 802685EC 0026554C D0 1F 05 C8 */ stfs f0, 0x5c8(r31) +/* 802685F0 00265550 48 00 00 4C */ b lbl_8026863C +lbl_802685F4: +/* 802685F4 00265554 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 802685F8 00265558 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 802685FC 0026555C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268600 00265560 40 81 00 3C */ ble lbl_8026863C +/* 80268604 00265564 38 7F 01 38 */ addi r3, r31, 0x138 +/* 80268608 00265568 48 0A C2 B1 */ bl Magnitude__9CVector3fCFv +/* 8026860C 0026556C EC 5F 00 72 */ fmuls f2, f31, f1 +/* 80268610 00265570 C0 22 BB 08 */ lfs f1, lbl_805AD828@sda21(r2) +/* 80268614 00265574 C0 7F 05 C8 */ lfs f3, 0x5c8(r31) +/* 80268618 00265578 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 8026861C 0026557C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80268620 00265580 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80268624 00265584 D0 3F 05 C8 */ stfs f1, 0x5c8(r31) +/* 80268628 00265588 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 8026862C 0026558C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268630 00265590 4C 40 13 82 */ cror 2, 0, 2 +/* 80268634 00265594 40 82 00 08 */ bne lbl_8026863C +/* 80268638 00265598 D0 1F 05 C8 */ stfs f0, 0x5c8(r31) +lbl_8026863C: +/* 8026863C 0026559C C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 80268640 002655A0 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 80268644 002655A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268648 002655A8 41 81 00 10 */ bgt lbl_80268658 +/* 8026864C 002655AC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 80268650 002655B0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80268654 002655B4 41 82 00 5C */ beq lbl_802686B0 +lbl_80268658: +/* 80268658 002655B8 C0 02 BB 0C */ lfs f0, lbl_805AD82C@sda21(r2) +/* 8026865C 002655BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268660 002655C0 40 81 00 30 */ ble lbl_80268690 +/* 80268664 002655C4 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80268668 002655C8 38 A0 00 01 */ li r5, 1 +/* 8026866C 002655CC 80 9F 05 CC */ lwz r4, 0x5cc(r31) +/* 80268670 002655D0 38 C0 00 00 */ li r6, 0 +/* 80268674 002655D4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80268678 002655D8 4B DC 1B 59 */ bl AddAdditiveAnimation__9CAnimDataFUifbb +/* 8026867C 002655DC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 80268680 002655E0 38 60 00 01 */ li r3, 1 +/* 80268684 002655E4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80268688 002655E8 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 8026868C 002655EC 48 00 00 24 */ b lbl_802686B0 +lbl_80268690: +/* 80268690 002655F0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80268694 002655F4 80 9F 05 CC */ lwz r4, 0x5cc(r31) +/* 80268698 002655F8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8026869C 002655FC 4B DC 1A BD */ bl DelAdditiveAnimation__9CAnimDataFUi +/* 802686A0 00265600 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802686A4 00265604 38 60 00 00 */ li r3, 0 +/* 802686A8 00265608 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802686AC 0026560C 98 1F 05 D6 */ stb r0, 0x5d6(r31) +lbl_802686B0: +/* 802686B0 00265610 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802686B4 00265614 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802686B8 00265618 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802686BC 0026561C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802686C0 00265620 7C 08 03 A6 */ mtlr r0 +/* 802686C4 00265624 38 21 00 20 */ addi r1, r1, 0x20 +/* 802686C8 00265628 4E 80 00 20 */ blr + +.global Render__11CWallWalkerCFRC13CStateManager +Render__11CWallWalkerCFRC13CStateManager: +/* 802686CC 0026562C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802686D0 00265630 7C 08 02 A6 */ mflr r0 +/* 802686D4 00265634 90 01 00 14 */ stw r0, 0x14(r1) +/* 802686D8 00265638 4B E0 F9 55 */ bl Render__10CPatternedCFRC13CStateManager +/* 802686DC 0026563C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802686E0 00265640 7C 08 03 A6 */ mtlr r0 +/* 802686E4 00265644 38 21 00 10 */ addi r1, r1, 0x10 +/* 802686E8 00265648 4E 80 00 20 */ blr + +.global GotoNextWaypoint__11CWallWalkerFR13CStateManager +GotoNextWaypoint__11CWallWalkerFR13CStateManager: +/* 802686EC 0026564C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802686F0 00265650 7C 08 02 A6 */ mflr r0 +/* 802686F4 00265654 90 01 00 54 */ stw r0, 0x54(r1) +/* 802686F8 00265658 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802686FC 0026565C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80268700 00265660 7C 9E 23 78 */ mr r30, r4 +/* 80268704 00265664 38 81 00 14 */ addi r4, r1, 0x14 +/* 80268708 00265668 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8026870C 0026566C 7C 7D 1B 78 */ mr r29, r3 +/* 80268710 00265670 A0 03 02 DC */ lhz r0, 0x2dc(r3) +/* 80268714 00265674 7F C3 F3 78 */ mr r3, r30 +/* 80268718 00265678 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8026871C 0026567C 4B DE 3E 59 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80268720 00265680 7C 64 1B 78 */ mr r4, r3 +/* 80268724 00265684 38 61 00 18 */ addi r3, r1, 0x18 +/* 80268728 00265688 4B E3 DE 25 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8026872C 0026568C 83 E3 00 04 */ lwz r31, 4(r3) +/* 80268730 00265690 28 1F 00 00 */ cmplwi r31, 0 +/* 80268734 00265694 41 82 00 E0 */ beq lbl_80268814 +/* 80268738 00265698 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8026873C 0026569C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 80268740 002656A0 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80268744 002656A4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80268748 002656A8 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8026874C 002656AC D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80268750 002656B0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80268754 002656B4 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80268758 002656B8 EC A3 08 28 */ fsubs f5, f3, f1 +/* 8026875C 002656BC C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 80268760 002656C0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80268764 002656C4 C0 DD 05 C0 */ lfs f6, 0x5c0(r29) +/* 80268768 002656C8 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8026876C 002656CC EC 25 01 72 */ fmuls f1, f5, f5 +/* 80268770 002656D0 EC 40 00 32 */ fmuls f2, f0, f0 +/* 80268774 002656D4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80268778 002656D8 EC 64 01 32 */ fmuls f3, f4, f4 +/* 8026877C 002656DC EC 06 01 B2 */ fmuls f0, f6, f6 +/* 80268780 002656E0 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80268784 002656E4 EC 22 08 2A */ fadds f1, f2, f1 +/* 80268788 002656E8 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8026878C 002656EC EC 23 08 2A */ fadds f1, f3, f1 +/* 80268790 002656F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268794 002656F4 40 80 00 74 */ bge lbl_80268808 +/* 80268798 002656F8 7F E4 FB 78 */ mr r4, r31 +/* 8026879C 002656FC 7F C5 F3 78 */ mr r5, r30 +/* 802687A0 00265700 38 61 00 10 */ addi r3, r1, 0x10 +/* 802687A4 00265704 4B E0 E9 91 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 802687A8 00265708 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802687AC 0026570C C0 22 BB 04 */ lfs f1, lbl_805AD824@sda21(r2) +/* 802687B0 00265710 B0 1D 02 DC */ sth r0, 0x2dc(r29) +/* 802687B4 00265714 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) +/* 802687B8 00265718 C0 5F 00 F0 */ lfs f2, 0xf0(r31) +/* 802687BC 0026571C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802687C0 00265720 FC 20 0A 10 */ fabs f1, f1 +/* 802687C4 00265724 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802687C8 00265728 41 80 00 20 */ blt lbl_802687E8 +/* 802687CC 0026572C D0 5D 05 BC */ stfs f2, 0x5bc(r29) +/* 802687D0 00265730 80 1D 05 D0 */ lwz r0, 0x5d0(r29) +/* 802687D4 00265734 2C 00 00 00 */ cmpwi r0, 0 +/* 802687D8 00265738 40 82 00 10 */ bne lbl_802687E8 +/* 802687DC 0026573C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 802687E0 00265740 38 80 00 01 */ li r4, 1 +/* 802687E4 00265744 4B ED 21 F5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_802687E8: +/* 802687E8 00265748 A0 1D 00 08 */ lhz r0, 8(r29) +/* 802687EC 0026574C 7F C3 F3 78 */ mr r3, r30 +/* 802687F0 00265750 7F E4 FB 78 */ mr r4, r31 +/* 802687F4 00265754 38 A1 00 0C */ addi r5, r1, 0xc +/* 802687F8 00265758 B0 01 00 08 */ sth r0, 8(r1) +/* 802687FC 0026575C 38 C0 00 02 */ li r6, 2 +/* 80268800 00265760 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80268804 00265764 4B DD B6 CD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80268808: +/* 80268808 00265768 7F A3 EB 78 */ mr r3, r29 +/* 8026880C 0026576C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80268810 00265770 4B E1 43 4D */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_80268814: +/* 80268814 00265774 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80268818 00265778 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8026881C 0026577C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80268820 00265780 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80268824 00265784 7C 08 03 A6 */ mtlr r0 +/* 80268828 00265788 38 21 00 50 */ addi r1, r1, 0x50 +/* 8026882C 0026578C 4E 80 00 20 */ blr + +.global PreThink__11CWallWalkerFfR13CStateManager +PreThink__11CWallWalkerFfR13CStateManager: +/* 80268830 00265790 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80268834 00265794 7C 08 02 A6 */ mflr r0 +/* 80268838 00265798 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8026883C 0026579C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80268840 002657A0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80268844 002657A4 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 80268848 002657A8 7C 7F 1B 78 */ mr r31, r3 +/* 8026884C 002657AC FF E0 08 90 */ fmr f31, f1 +/* 80268850 002657B0 4B E0 F1 41 */ bl PreThink__10CPatternedFfR13CStateManager +/* 80268854 002657B4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80268858 002657B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8026885C 002657BC 41 82 01 C8 */ beq lbl_80268A24 +/* 80268860 002657C0 88 7F 05 D6 */ lbz r3, 0x5d6(r31) +/* 80268864 002657C4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80268868 002657C8 40 82 01 BC */ bne lbl_80268A24 +/* 8026886C 002657CC C0 3F 05 BC */ lfs f1, 0x5bc(r31) +/* 80268870 002657D0 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 80268874 002657D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268878 002657D8 4C 40 13 82 */ cror 2, 0, 2 +/* 8026887C 002657DC 40 82 01 A8 */ bne lbl_80268A24 +/* 80268880 002657E0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80268884 002657E4 40 82 01 A0 */ bne lbl_80268A24 +/* 80268888 002657E8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8026888C 002657EC 4B ED 18 41 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80268890 002657F0 C0 42 BB 04 */ lfs f2, lbl_805AD824@sda21(r2) +/* 80268894 002657F4 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) +/* 80268898 002657F8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026889C 002657FC FC 20 0A 10 */ fabs f1, f1 +/* 802688A0 00265800 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802688A4 00265804 40 80 01 80 */ bge lbl_80268A24 +/* 802688A8 00265808 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802688AC 0026580C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802688B0 00265810 41 82 01 74 */ beq lbl_80268A24 +/* 802688B4 00265814 38 61 00 34 */ addi r3, r1, 0x34 +/* 802688B8 00265818 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802688BC 0026581C 48 0A 98 6D */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 802688C0 00265820 FC 20 F8 90 */ fmr f1, f31 +/* 802688C4 00265824 7F E4 FB 78 */ mr r4, r31 +/* 802688C8 00265828 38 61 00 54 */ addi r3, r1, 0x54 +/* 802688CC 0026582C 4B EB 33 E5 */ bl PredictMotion__13CPhysicsActorCFf +/* 802688D0 00265830 C1 81 00 54 */ lfs f12, 0x54(r1) +/* 802688D4 00265834 7F E3 FB 78 */ mr r3, r31 +/* 802688D8 00265838 C1 61 00 58 */ lfs f11, 0x58(r1) +/* 802688DC 0026583C 38 81 00 88 */ addi r4, r1, 0x88 +/* 802688E0 00265840 C1 41 00 5C */ lfs f10, 0x5c(r1) +/* 802688E4 00265844 C1 21 00 60 */ lfs f9, 0x60(r1) +/* 802688E8 00265848 C1 01 00 64 */ lfs f8, 0x64(r1) +/* 802688EC 0026584C C0 E1 00 68 */ lfs f7, 0x68(r1) +/* 802688F0 00265850 C0 C1 00 6C */ lfs f6, 0x6c(r1) +/* 802688F4 00265854 C0 A1 00 70 */ lfs f5, 0x70(r1) +/* 802688F8 00265858 C0 81 00 74 */ lfs f4, 0x74(r1) +/* 802688FC 0026585C C0 61 00 78 */ lfs f3, 0x78(r1) +/* 80268900 00265860 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 80268904 00265864 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 80268908 00265868 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8026890C 0026586C D1 81 00 88 */ stfs f12, 0x88(r1) +/* 80268910 00265870 D1 61 00 8C */ stfs f11, 0x8c(r1) +/* 80268914 00265874 D1 41 00 90 */ stfs f10, 0x90(r1) +/* 80268918 00265878 D1 21 00 94 */ stfs f9, 0x94(r1) +/* 8026891C 0026587C D1 01 00 98 */ stfs f8, 0x98(r1) +/* 80268920 00265880 D0 E1 00 9C */ stfs f7, 0x9c(r1) +/* 80268924 00265884 D0 C1 00 A0 */ stfs f6, 0xa0(r1) +/* 80268928 00265888 D0 A1 00 A4 */ stfs f5, 0xa4(r1) +/* 8026892C 0026588C D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 80268930 00265890 D0 61 00 AC */ stfs f3, 0xac(r1) +/* 80268934 00265894 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80268938 00265898 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8026893C 0026589C D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80268940 002658A0 4B EB 2B D5 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState +/* 80268944 002658A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80268948 002658A8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8026894C 002658AC 48 0A 97 DD */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80268950 002658B0 7F E3 FB 78 */ mr r3, r31 +/* 80268954 002658B4 4B EB 29 61 */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 80268958 002658B8 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 8026895C 002658BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268960 002658C0 41 82 00 B4 */ beq lbl_80268A14 +/* 80268964 002658C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80268968 002658C8 38 9F 05 68 */ addi r4, r31, 0x568 +/* 8026896C 002658CC 48 03 9C C9 */ bl GetPlane__17CCollisionSurfaceCFv +/* 80268970 002658D0 C0 C1 00 18 */ lfs f6, 0x18(r1) +/* 80268974 002658D4 7F E3 FB 78 */ mr r3, r31 +/* 80268978 002658D8 C1 5F 00 50 */ lfs f10, 0x50(r31) +/* 8026897C 002658DC 38 81 00 08 */ addi r4, r1, 8 +/* 80268980 002658E0 C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 80268984 002658E4 EC 06 02 B2 */ fmuls f0, f6, f10 +/* 80268988 002658E8 C1 7F 00 40 */ lfs f11, 0x40(r31) +/* 8026898C 002658EC C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80268990 002658F0 C0 81 00 20 */ lfs f4, 0x20(r1) +/* 80268994 002658F4 EC 27 02 FA */ fmadds f1, f7, f11, f0 +/* 80268998 002658F8 C1 3F 00 60 */ lfs f9, 0x60(r31) +/* 8026899C 002658FC C0 02 BB 18 */ lfs f0, lbl_805AD838@sda21(r2) +/* 802689A0 00265900 C0 5F 05 AC */ lfs f2, 0x5ac(r31) +/* 802689A4 00265904 EC 65 0A 7A */ fmadds f3, f5, f9, f1 +/* 802689A8 00265908 C0 22 BB 14 */ lfs f1, lbl_805AD834@sda21(r2) +/* 802689AC 0026590C ED 80 07 F2 */ fmuls f12, f0, f31 +/* 802689B0 00265910 C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) +/* 802689B4 00265914 D0 E1 00 44 */ stfs f7, 0x44(r1) +/* 802689B8 00265918 ED 03 20 28 */ fsubs f8, f3, f4 +/* 802689BC 0026591C EC 60 60 28 */ fsubs f3, f0, f12 +/* 802689C0 00265920 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802689C4 00265924 EC 08 10 28 */ fsubs f0, f8, f2 +/* 802689C8 00265928 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 802689CC 0026592C D0 81 00 50 */ stfs f4, 0x50(r1) +/* 802689D0 00265930 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802689D4 00265934 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 802689D8 00265938 EC 20 01 B2 */ fmuls f1, f0, f6 +/* 802689DC 0026593C EC 00 01 72 */ fmuls f0, f0, f5 +/* 802689E0 00265940 EC 4B 10 28 */ fsubs f2, f11, f2 +/* 802689E4 00265944 EC 2A 08 28 */ fsubs f1, f10, f1 +/* 802689E8 00265948 EC 09 00 28 */ fsubs f0, f9, f0 +/* 802689EC 0026594C EC 42 03 32 */ fmuls f2, f2, f12 +/* 802689F0 00265950 EC 21 03 32 */ fmuls f1, f1, f12 +/* 802689F4 00265954 EC 00 03 32 */ fmuls f0, f0, f12 +/* 802689F8 00265958 EC 4B 10 FA */ fmadds f2, f11, f3, f2 +/* 802689FC 0026595C EC 2A 08 FA */ fmadds f1, f10, f3, f1 +/* 80268A00 00265960 EC 09 00 FA */ fmadds f0, f9, f3, f0 +/* 80268A04 00265964 D0 41 00 08 */ stfs f2, 8(r1) +/* 80268A08 00265968 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80268A0C 0026596C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80268A10 00265970 4B DE A4 7D */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80268A14: +/* 80268A14 00265974 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80268A18 00265978 7F E3 FB 78 */ mr r3, r31 +/* 80268A1C 0026597C 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80268A20 00265980 4B EB 20 19 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +lbl_80268A24: +/* 80268A24 00265984 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80268A28 00265988 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80268A2C 0026598C CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80268A30 00265990 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 80268A34 00265994 7C 08 03 A6 */ mtlr r0 +/* 80268A38 00265998 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80268A3C 0026599C 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__11CWallWalkerCFv +GetCollisionPrimitive__11CWallWalkerCFv: +/* 80268A40 002659A0 38 63 05 90 */ addi r3, r3, 0x590 +/* 80268A44 002659A4 4E 80 00 20 */ blr + +.global AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff +AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff: +/* 80268A48 002659A8 94 21 E3 90 */ stwu r1, -0x1c70(r1) +/* 80268A4C 002659AC 7C 08 02 A6 */ mflr r0 +/* 80268A50 002659B0 90 01 1C 74 */ stw r0, 0x1c74(r1) +/* 80268A54 002659B4 38 00 1C 68 */ li r0, 0x1c68 +/* 80268A58 002659B8 DB E1 1C 60 */ stfd f31, 0x1c60(r1) +/* 80268A5C 002659BC 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 80268A60 002659C0 38 00 1C 58 */ li r0, 0x1c58 +/* 80268A64 002659C4 DB C1 1C 50 */ stfd f30, 0x1c50(r1) +/* 80268A68 002659C8 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 80268A6C 002659CC 38 00 1C 48 */ li r0, 0x1c48 +/* 80268A70 002659D0 DB A1 1C 40 */ stfd f29, 0x1c40(r1) +/* 80268A74 002659D4 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 80268A78 002659D8 BE 81 1C 10 */ stmw r20, 0x1c10(r1) +/* 80268A7C 002659DC 7C 74 1B 78 */ mr r20, r3 +/* 80268A80 002659E0 FF A0 08 90 */ fmr f29, f1 +/* 80268A84 002659E4 C0 03 05 B0 */ lfs f0, 0x5b0(r3) +/* 80268A88 002659E8 7C B5 2B 78 */ mr r21, r5 +/* 80268A8C 002659EC 7C 96 23 78 */ mr r22, r4 +/* 80268A90 002659F0 C0 85 00 04 */ lfs f4, 4(r5) +/* 80268A94 002659F4 EC FD 00 2A */ fadds f7, f29, f0 +/* 80268A98 002659F8 C0 65 00 08 */ lfs f3, 8(r5) +/* 80268A9C 002659FC FF E0 10 90 */ fmr f31, f2 +/* 80268AA0 00265A00 C0 05 00 00 */ lfs f0, 0(r5) +/* 80268AA4 00265A04 38 61 00 80 */ addi r3, r1, 0x80 +/* 80268AA8 00265A08 EC C4 38 2A */ fadds f6, f4, f7 +/* 80268AAC 00265A0C EC A3 38 2A */ fadds f5, f3, f7 +/* 80268AB0 00265A10 38 81 00 74 */ addi r4, r1, 0x74 +/* 80268AB4 00265A14 EC 20 38 2A */ fadds f1, f0, f7 +/* 80268AB8 00265A18 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80268ABC 00265A1C EC 84 38 28 */ fsubs f4, f4, f7 +/* 80268AC0 00265A20 EC 43 38 28 */ fsubs f2, f3, f7 +/* 80268AC4 00265A24 EC 00 38 28 */ fsubs f0, f0, f7 +/* 80268AC8 00265A28 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80268ACC 00265A2C 3B 60 00 00 */ li r27, 0 +/* 80268AD0 00265A30 D0 C1 00 6C */ stfs f6, 0x6c(r1) +/* 80268AD4 00265A34 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80268AD8 00265A38 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80268ADC 00265A3C D0 81 00 78 */ stfs f4, 0x78(r1) +/* 80268AE0 00265A40 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80268AE4 00265A44 48 0C FA 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80268AE8 00265A48 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80268AEC 00265A4C 38 81 00 80 */ addi r4, r1, 0x80 +/* 80268AF0 00265A50 48 03 AF A1 */ bl __ct__19CAreaCollisionCacheFRC6CAABox +/* 80268AF4 00265A54 7E C3 B3 78 */ mr r3, r22 +/* 80268AF8 00265A58 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 80268AFC 00265A5C 4B F1 BB C9 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache +/* 80268B00 00265A60 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268B04 00265A64 C0 14 05 B0 */ lfs f0, 0x5b0(r20) +/* 80268B08 00265A68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268B0C 00265A6C EF BD 00 2A */ fadds f29, f29, f0 +/* 80268B10 00265A70 41 82 00 1C */ beq lbl_80268B2C +/* 80268B14 00265A74 7E A4 AB 78 */ mr r4, r21 +/* 80268B18 00265A78 38 74 05 68 */ addi r3, r20, 0x568 +/* 80268B1C 00265A7C 48 00 05 29 */ bl PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f +/* 80268B20 00265A80 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268B24 00265A84 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80268B28 00265A88 98 14 05 D6 */ stb r0, 0x5d6(r20) +lbl_80268B2C: +/* 80268B2C 00265A8C 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268B30 00265A90 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268B34 00265A94 41 82 00 10 */ beq lbl_80268B44 +/* 80268B38 00265A98 A8 14 05 D4 */ lha r0, 0x5d4(r20) +/* 80268B3C 00265A9C 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80268B40 00265AA0 40 82 01 54 */ bne lbl_80268C94 +lbl_80268B44: +/* 80268B44 00265AA4 3B A1 00 DC */ addi r29, r1, 0xdc +/* 80268B48 00265AA8 3A C1 00 98 */ addi r22, r1, 0x98 +/* 80268B4C 00265AAC 3B 40 00 00 */ li r26, 0 +/* 80268B50 00265AB0 48 00 01 2C */ b lbl_80268C7C +lbl_80268B54: +/* 80268B54 00265AB4 3B DD 00 08 */ addi r30, r29, 8 +/* 80268B58 00265AB8 3B 20 00 00 */ li r25, 0 +/* 80268B5C 00265ABC 48 00 01 0C */ b lbl_80268C68 +lbl_80268B60: +/* 80268B60 00265AC0 7F C4 F3 78 */ mr r4, r30 +/* 80268B64 00265AC4 38 61 00 08 */ addi r3, r1, 8 +/* 80268B68 00265AC8 48 03 A1 D5 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 80268B6C 00265ACC 83 81 00 08 */ lwz r28, 8(r1) +/* 80268B70 00265AD0 3A E0 00 00 */ li r23, 0 +/* 80268B74 00265AD4 83 FE 00 1C */ lwz r31, 0x1c(r30) +/* 80268B78 00265AD8 A3 1C 00 18 */ lhz r24, 0x18(r28) +/* 80268B7C 00265ADC 48 00 00 DC */ b lbl_80268C58 +lbl_80268B80: +/* 80268B80 00265AE0 A0 BC 00 1A */ lhz r5, 0x1a(r28) +/* 80268B84 00265AE4 7F E4 FB 78 */ mr r4, r31 +/* 80268B88 00265AE8 38 61 00 98 */ addi r3, r1, 0x98 +/* 80268B8C 00265AEC 48 03 9E A9 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 80268B90 00265AF0 7E C4 B3 78 */ mr r4, r22 +/* 80268B94 00265AF4 38 61 00 4C */ addi r3, r1, 0x4c +/* 80268B98 00265AF8 48 03 9A 9D */ bl GetPlane__17CCollisionSurfaceCFv +/* 80268B9C 00265AFC C3 C1 00 58 */ lfs f30, 0x58(r1) +/* 80268BA0 00265B00 7E C4 B3 78 */ mr r4, r22 +/* 80268BA4 00265B04 38 61 00 5C */ addi r3, r1, 0x5c +/* 80268BA8 00265B08 48 03 9A FD */ bl GetNormal__17CCollisionSurfaceCFv +/* 80268BAC 00265B0C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80268BB0 00265B10 C0 15 00 04 */ lfs f0, 4(r21) +/* 80268BB4 00265B14 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80268BB8 00265B18 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80268BBC 00265B1C C0 35 00 00 */ lfs f1, 0(r21) +/* 80268BC0 00265B20 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 80268BC4 00265B24 C0 75 00 08 */ lfs f3, 8(r21) +/* 80268BC8 00265B28 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80268BCC 00265B2C EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80268BD0 00265B30 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80268BD4 00265B34 FC 00 02 10 */ fabs f0, f0 +/* 80268BD8 00265B38 FF C0 00 18 */ frsp f30, f0 +/* 80268BDC 00265B3C FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 80268BE0 00265B40 40 80 00 70 */ bge lbl_80268C50 +/* 80268BE4 00265B44 7E C3 B3 78 */ mr r3, r22 +/* 80268BE8 00265B48 7E A4 AB 78 */ mr r4, r21 +/* 80268BEC 00265B4C 48 00 04 59 */ bl PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f +/* 80268BF0 00265B50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80268BF4 00265B54 41 82 00 5C */ beq lbl_80268C50 +/* 80268BF8 00265B58 80 61 00 98 */ lwz r3, 0x98(r1) +/* 80268BFC 00265B5C FF A0 F0 90 */ fmr f29, f30 +/* 80268C00 00265B60 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 80268C04 00265B64 3B 60 00 01 */ li r27, 1 +/* 80268C08 00265B68 90 74 05 68 */ stw r3, 0x568(r20) +/* 80268C0C 00265B6C 90 14 05 6C */ stw r0, 0x56c(r20) +/* 80268C10 00265B70 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 80268C14 00265B74 90 14 05 70 */ stw r0, 0x570(r20) +/* 80268C18 00265B78 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80268C1C 00265B7C 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 80268C20 00265B80 90 74 05 74 */ stw r3, 0x574(r20) +/* 80268C24 00265B84 90 14 05 78 */ stw r0, 0x578(r20) +/* 80268C28 00265B88 80 01 00 AC */ lwz r0, 0xac(r1) +/* 80268C2C 00265B8C 90 14 05 7C */ stw r0, 0x57c(r20) +/* 80268C30 00265B90 80 61 00 B0 */ lwz r3, 0xb0(r1) +/* 80268C34 00265B94 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80268C38 00265B98 90 74 05 80 */ stw r3, 0x580(r20) +/* 80268C3C 00265B9C 90 14 05 84 */ stw r0, 0x584(r20) +/* 80268C40 00265BA0 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 80268C44 00265BA4 90 14 05 88 */ stw r0, 0x588(r20) +/* 80268C48 00265BA8 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 80268C4C 00265BAC 90 14 05 8C */ stw r0, 0x58c(r20) +lbl_80268C50: +/* 80268C50 00265BB0 3B 9C 00 02 */ addi r28, r28, 2 +/* 80268C54 00265BB4 3A F7 00 01 */ addi r23, r23, 1 +lbl_80268C58: +/* 80268C58 00265BB8 7C 17 C0 00 */ cmpw r23, r24 +/* 80268C5C 00265BBC 41 80 FF 24 */ blt lbl_80268B80 +/* 80268C60 00265BC0 3B DE 00 24 */ addi r30, r30, 0x24 +/* 80268C64 00265BC4 3B 39 00 01 */ addi r25, r25, 1 +lbl_80268C68: +/* 80268C68 00265BC8 80 1D 00 04 */ lwz r0, 4(r29) +/* 80268C6C 00265BCC 7C 19 00 00 */ cmpw r25, r0 +/* 80268C70 00265BD0 41 80 FE F0 */ blt lbl_80268B60 +/* 80268C74 00265BD4 3B BD 09 0C */ addi r29, r29, 0x90c +/* 80268C78 00265BD8 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80268C7C: +/* 80268C7C 00265BDC 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 80268C80 00265BE0 7C 1A 00 00 */ cmpw r26, r0 +/* 80268C84 00265BE4 41 80 FE D0 */ blt lbl_80268B54 +/* 80268C88 00265BE8 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268C8C 00265BEC 53 60 36 72 */ rlwimi r0, r27, 6, 0x19, 0x19 +/* 80268C90 00265BF0 98 14 05 D6 */ stb r0, 0x5d6(r20) +lbl_80268C94: +/* 80268C94 00265BF4 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268C98 00265BF8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268C9C 00265BFC 41 82 00 58 */ beq lbl_80268CF4 +/* 80268CA0 00265C00 38 61 00 34 */ addi r3, r1, 0x34 +/* 80268CA4 00265C04 38 94 05 68 */ addi r4, r20, 0x568 +/* 80268CA8 00265C08 48 03 99 FD */ bl GetNormal__17CCollisionSurfaceCFv +/* 80268CAC 00265C0C C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80268CB0 00265C10 7E 83 A3 78 */ mr r3, r20 +/* 80268CB4 00265C14 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80268CB8 00265C18 38 81 00 40 */ addi r4, r1, 0x40 +/* 80268CBC 00265C1C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80268CC0 00265C20 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80268CC4 00265C24 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80268CC8 00265C28 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80268CCC 00265C2C C0 14 05 B4 */ lfs f0, 0x5b4(r20) +/* 80268CD0 00265C30 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 80268CD4 00265C34 48 00 01 E9 */ bl OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff +/* 80268CD8 00265C38 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 80268CDC 00265C3C 38 60 00 00 */ li r3, 0 +/* 80268CE0 00265C40 D0 14 05 B8 */ stfs f0, 0x5b8(r20) +/* 80268CE4 00265C44 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268CE8 00265C48 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80268CEC 00265C4C 98 14 05 D6 */ stb r0, 0x5d6(r20) +/* 80268CF0 00265C50 48 00 00 FC */ b lbl_80268DEC +lbl_80268CF4: +/* 80268CF4 00265C54 38 74 01 38 */ addi r3, r20, 0x138 +/* 80268CF8 00265C58 48 0A BB C1 */ bl Magnitude__9CVector3fCFv +/* 80268CFC 00265C5C C0 02 BB 1C */ lfs f0, lbl_805AD83C@sda21(r2) +/* 80268D00 00265C60 7E 83 A3 78 */ mr r3, r20 +/* 80268D04 00265C64 C0 94 00 58 */ lfs f4, 0x58(r20) +/* 80268D08 00265C68 38 81 00 28 */ addi r4, r1, 0x28 +/* 80268D0C 00265C6C EC 40 00 72 */ fmuls f2, f0, f1 +/* 80268D10 00265C70 C0 34 05 AC */ lfs f1, 0x5ac(r20) +/* 80268D14 00265C74 C0 74 00 48 */ lfs f3, 0x48(r20) +/* 80268D18 00265C78 C0 14 00 38 */ lfs f0, 0x38(r20) +/* 80268D1C 00265C7C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80268D20 00265C80 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80268D24 00265C84 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80268D28 00265C88 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80268D2C 00265C8C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80268D30 00265C90 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80268D34 00265C94 EF C1 07 F2 */ fmuls f30, f1, f31 +/* 80268D38 00265C98 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80268D3C 00265C9C FC 20 F0 90 */ fmr f1, f30 +/* 80268D40 00265CA0 48 00 01 7D */ bl OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff +/* 80268D44 00265CA4 80 74 04 50 */ lwz r3, 0x450(r20) +/* 80268D48 00265CA8 38 80 00 03 */ li r4, 3 +/* 80268D4C 00265CAC 4B ED 1E 69 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +/* 80268D50 00265CB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80268D54 00265CB4 41 82 00 7C */ beq lbl_80268DD0 +/* 80268D58 00265CB8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80268D5C 00265CBC 80 74 04 50 */ lwz r3, 0x450(r20) +/* 80268D60 00265CC0 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 80268D64 00265CC4 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 80268D68 00265CC8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80268D6C 00265CCC 38 C4 A9 E4 */ addi r6, r4, lbl_803DA9E4@l +/* 80268D70 00265CD0 38 80 00 01 */ li r4, 1 +/* 80268D74 00265CD4 38 A0 00 05 */ li r5, 5 +/* 80268D78 00265CD8 38 00 00 00 */ li r0, 0 +/* 80268D7C 00265CDC 3A A3 00 04 */ addi r21, r3, 4 +/* 80268D80 00265CE0 90 81 00 10 */ stw r4, 0x10(r1) +/* 80268D84 00265CE4 7E A3 AB 78 */ mr r3, r21 +/* 80268D88 00265CE8 38 80 00 01 */ li r4, 1 +/* 80268D8C 00265CEC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80268D90 00265CF0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80268D94 00265CF4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80268D98 00265CF8 4B EC 86 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80268D9C 00265CFC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80268DA0 00265D00 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80268DA4 00265D04 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 80268DA8 00265D08 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80268DAC 00265D0C 90 15 00 C8 */ stw r0, 0xc8(r21) +/* 80268DB0 00265D10 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80268DB4 00265D14 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80268DB8 00265D18 90 81 00 0C */ stw r4, 0xc(r1) +/* 80268DBC 00265D1C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80268DC0 00265D20 90 B5 00 CC */ stw r5, 0xcc(r21) +/* 80268DC4 00265D24 90 75 00 D0 */ stw r3, 0xd0(r21) +/* 80268DC8 00265D28 90 01 00 0C */ stw r0, 0xc(r1) +/* 80268DCC 00265D2C 48 00 00 14 */ b lbl_80268DE0 +lbl_80268DD0: +/* 80268DD0 00265D30 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268DD4 00265D34 38 60 00 01 */ li r3, 1 +/* 80268DD8 00265D38 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80268DDC 00265D3C 98 14 05 D6 */ stb r0, 0x5d6(r20) +lbl_80268DE0: +/* 80268DE0 00265D40 C0 14 05 B8 */ lfs f0, 0x5b8(r20) +/* 80268DE4 00265D44 EC 00 F0 2A */ fadds f0, f0, f30 +/* 80268DE8 00265D48 D0 14 05 B8 */ stfs f0, 0x5b8(r20) +lbl_80268DEC: +/* 80268DEC 00265D4C 34 E1 00 D8 */ addic. r7, r1, 0xd8 +/* 80268DF0 00265D50 41 82 00 94 */ beq lbl_80268E84 +/* 80268DF4 00265D54 38 C7 00 04 */ addi r6, r7, 4 +/* 80268DF8 00265D58 38 60 00 00 */ li r3, 0 +/* 80268DFC 00265D5C 48 00 00 74 */ b lbl_80268E70 +lbl_80268E00: +/* 80268E00 00265D60 28 06 00 00 */ cmplwi r6, 0 +/* 80268E04 00265D64 41 82 00 64 */ beq lbl_80268E68 +/* 80268E08 00265D68 34 06 00 04 */ addic. r0, r6, 4 +/* 80268E0C 00265D6C 41 82 00 5C */ beq lbl_80268E68 +/* 80268E10 00265D70 81 06 00 04 */ lwz r8, 4(r6) +/* 80268E14 00265D74 38 80 00 00 */ li r4, 0 +/* 80268E18 00265D78 2C 08 00 00 */ cmpwi r8, 0 +/* 80268E1C 00265D7C 40 81 00 44 */ ble lbl_80268E60 +/* 80268E20 00265D80 2C 08 00 08 */ cmpwi r8, 8 +/* 80268E24 00265D84 38 A8 FF F8 */ addi r5, r8, -8 +/* 80268E28 00265D88 40 81 00 20 */ ble lbl_80268E48 +/* 80268E2C 00265D8C 38 05 00 07 */ addi r0, r5, 7 +/* 80268E30 00265D90 54 00 E8 FE */ srwi r0, r0, 3 +/* 80268E34 00265D94 7C 09 03 A6 */ mtctr r0 +/* 80268E38 00265D98 2C 05 00 00 */ cmpwi r5, 0 +/* 80268E3C 00265D9C 40 81 00 0C */ ble lbl_80268E48 +lbl_80268E40: +/* 80268E40 00265DA0 38 84 00 08 */ addi r4, r4, 8 +/* 80268E44 00265DA4 42 00 FF FC */ bdnz lbl_80268E40 +lbl_80268E48: +/* 80268E48 00265DA8 7C 04 40 50 */ subf r0, r4, r8 +/* 80268E4C 00265DAC 7C 09 03 A6 */ mtctr r0 +/* 80268E50 00265DB0 7C 04 40 00 */ cmpw r4, r8 +/* 80268E54 00265DB4 40 80 00 0C */ bge lbl_80268E60 +lbl_80268E58: +/* 80268E58 00265DB8 38 84 00 01 */ addi r4, r4, 1 +/* 80268E5C 00265DBC 42 00 FF FC */ bdnz lbl_80268E58 +lbl_80268E60: +/* 80268E60 00265DC0 38 00 00 00 */ li r0, 0 +/* 80268E64 00265DC4 90 06 00 04 */ stw r0, 4(r6) +lbl_80268E68: +/* 80268E68 00265DC8 38 C6 09 0C */ addi r6, r6, 0x90c +/* 80268E6C 00265DCC 38 63 00 01 */ addi r3, r3, 1 +lbl_80268E70: +/* 80268E70 00265DD0 80 07 00 00 */ lwz r0, 0(r7) +/* 80268E74 00265DD4 7C 03 00 00 */ cmpw r3, r0 +/* 80268E78 00265DD8 41 80 FF 88 */ blt lbl_80268E00 +/* 80268E7C 00265DDC 38 00 00 00 */ li r0, 0 +/* 80268E80 00265DE0 90 07 00 00 */ stw r0, 0(r7) +lbl_80268E84: +/* 80268E84 00265DE4 38 00 1C 68 */ li r0, 0x1c68 +/* 80268E88 00265DE8 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 80268E8C 00265DEC CB E1 1C 60 */ lfd f31, 0x1c60(r1) +/* 80268E90 00265DF0 38 00 1C 58 */ li r0, 0x1c58 +/* 80268E94 00265DF4 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 80268E98 00265DF8 CB C1 1C 50 */ lfd f30, 0x1c50(r1) +/* 80268E9C 00265DFC 38 00 1C 48 */ li r0, 0x1c48 +/* 80268EA0 00265E00 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 80268EA4 00265E04 CB A1 1C 40 */ lfd f29, 0x1c40(r1) +/* 80268EA8 00265E08 BA 81 1C 10 */ lmw r20, 0x1c10(r1) +/* 80268EAC 00265E0C 80 01 1C 74 */ lwz r0, 0x1c74(r1) +/* 80268EB0 00265E10 7C 08 03 A6 */ mtlr r0 +/* 80268EB4 00265E14 38 21 1C 70 */ addi r1, r1, 0x1c70 +/* 80268EB8 00265E18 4E 80 00 20 */ blr + +.global OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff +OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff: +/* 80268EBC 00265E1C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80268EC0 00265E20 7C 08 02 A6 */ mflr r0 +/* 80268EC4 00265E24 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80268EC8 00265E28 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80268ECC 00265E2C 7C 7F 1B 78 */ mr r31, r3 +/* 80268ED0 00265E30 C0 C3 00 4C */ lfs f6, 0x4c(r3) +/* 80268ED4 00265E34 C0 04 00 04 */ lfs f0, 4(r4) +/* 80268ED8 00265E38 C0 A3 00 3C */ lfs f5, 0x3c(r3) +/* 80268EDC 00265E3C EC 06 00 32 */ fmuls f0, f6, f0 +/* 80268EE0 00265E40 C0 44 00 00 */ lfs f2, 0(r4) +/* 80268EE4 00265E44 C0 E3 00 5C */ lfs f7, 0x5c(r3) +/* 80268EE8 00265E48 C0 84 00 08 */ lfs f4, 8(r4) +/* 80268EEC 00265E4C EC 65 00 BA */ fmadds f3, f5, f2, f0 +/* 80268EF0 00265E50 C0 42 BA FC */ lfs f2, lbl_805AD81C@sda21(r2) +/* 80268EF4 00265E54 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) +/* 80268EF8 00265E58 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80268EFC 00265E5C EC 67 19 3A */ fmadds f3, f7, f4, f3 +/* 80268F00 00265E60 D0 C1 00 74 */ stfs f6, 0x74(r1) +/* 80268F04 00265E64 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80268F08 00265E68 D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 80268F0C 00265E6C FC 40 12 10 */ fabs f2, f2 +/* 80268F10 00265E70 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80268F14 00265E74 41 80 01 1C */ blt lbl_80269030 +/* 80268F18 00265E78 C0 02 BB 20 */ lfs f0, lbl_805AD840@sda21(r2) +/* 80268F1C 00265E7C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80268F20 00265E80 41 80 01 10 */ blt lbl_80269030 +/* 80268F24 00265E84 C0 02 BB 24 */ lfs f0, lbl_805AD844@sda21(r2) +/* 80268F28 00265E88 7C 85 23 78 */ mr r5, r4 +/* 80268F2C 00265E8C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80268F30 00265E90 38 81 00 54 */ addi r4, r1, 0x54 +/* 80268F34 00265E94 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80268F38 00265E98 38 C1 00 08 */ addi r6, r1, 8 +/* 80268F3C 00265E9C D0 01 00 08 */ stfs f0, 8(r1) +/* 80268F40 00265EA0 C0 5F 00 5C */ lfs f2, 0x5c(r31) +/* 80268F44 00265EA4 C0 3F 00 4C */ lfs f1, 0x4c(r31) +/* 80268F48 00265EA8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80268F4C 00265EAC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80268F50 00265EB0 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80268F54 00265EB4 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80268F58 00265EB8 48 0A 80 C9 */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle +/* 80268F5C 00265EBC C0 61 00 60 */ lfs f3, 0x60(r1) +/* 80268F60 00265EC0 38 A1 00 90 */ addi r5, r1, 0x90 +/* 80268F64 00265EC4 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80268F68 00265EC8 38 61 00 48 */ addi r3, r1, 0x48 +/* 80268F6C 00265ECC C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80268F70 00265ED0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80268F74 00265ED4 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80268F78 00265ED8 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80268F7C 00265EDC D0 41 00 90 */ stfs f2, 0x90(r1) +/* 80268F80 00265EE0 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 80268F84 00265EE4 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80268F88 00265EE8 48 0A 9A 9D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80268F8C 00265EEC C0 61 00 8C */ lfs f3, 0x8c(r1) +/* 80268F90 00265EF0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80268F94 00265EF4 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80268F98 00265EF8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80268F9C 00265EFC C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80268FA0 00265F00 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80268FA4 00265F04 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 80268FA8 00265F08 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80268FAC 00265F0C D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80268FB0 00265F10 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80268FB4 00265F14 48 0A 91 75 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80268FB8 00265F18 38 61 00 28 */ addi r3, r1, 0x28 +/* 80268FBC 00265F1C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80268FC0 00265F20 38 A1 00 7C */ addi r5, r1, 0x7c +/* 80268FC4 00265F24 48 0A 81 DD */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80268FC8 00265F28 38 61 00 38 */ addi r3, r1, 0x38 +/* 80268FCC 00265F2C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80268FD0 00265F30 48 0A 83 CD */ bl BuildNormalized__11CQuaternionCFv +/* 80268FD4 00265F34 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80268FD8 00265F38 38 61 00 9C */ addi r3, r1, 0x9c +/* 80268FDC 00265F3C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80268FE0 00265F40 38 81 00 38 */ addi r4, r1, 0x38 +/* 80268FE4 00265F44 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80268FE8 00265F48 38 A1 00 0C */ addi r5, r1, 0xc +/* 80268FEC 00265F4C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80268FF0 00265F50 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80268FF4 00265F54 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80268FF8 00265F58 48 0A 8E C5 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 80268FFC 00265F5C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80269000 00265F60 38 81 00 9C */ addi r4, r1, 0x9c +/* 80269004 00265F64 48 0A 9B 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80269008 00265F68 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8026900C 00265F6C 38 60 00 01 */ li r3, 1 +/* 80269010 00265F70 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80269014 00265F74 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80269018 00265F78 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8026901C 00265F7C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80269020 00265F80 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80269024 00265F84 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80269028 00265F88 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8026902C 00265F8C 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_80269030: +/* 80269030 00265F90 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80269034 00265F94 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80269038 00265F98 7C 08 03 A6 */ mtlr r0 +/* 8026903C 00265F9C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80269040 00265FA0 4E 80 00 20 */ blr + +.global PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f +PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f: +/* 80269044 00265FA4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80269048 00265FA8 7C 08 02 A6 */ mflr r0 +/* 8026904C 00265FAC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80269050 00265FB0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80269054 00265FB4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80269058 00265FB8 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8026905C 00265FBC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80269060 00265FC0 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80269064 00265FC4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80269068 00265FC8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8026906C 00265FCC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80269070 00265FD0 7C 7E 1B 78 */ mr r30, r3 +/* 80269074 00265FD4 7C 9F 23 78 */ mr r31, r4 +/* 80269078 00265FD8 7F C4 F3 78 */ mr r4, r30 +/* 8026907C 00265FDC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80269080 00265FE0 48 03 96 25 */ bl GetNormal__17CCollisionSurfaceCFv +/* 80269084 00265FE4 7F E4 FB 78 */ mr r4, r31 +/* 80269088 00265FE8 7F C5 F3 78 */ mr r5, r30 +/* 8026908C 00265FEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80269090 00265FF0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80269094 00265FF4 48 00 01 55 */ bl ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80269098 00265FF8 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 8026909C 00265FFC 7F C4 F3 78 */ mr r4, r30 +/* 802690A0 00266000 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 802690A4 00266004 38 61 00 08 */ addi r3, r1, 8 +/* 802690A8 00266008 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 802690AC 0026600C 48 03 95 F9 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802690B0 00266010 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802690B4 00266014 38 00 00 03 */ li r0, 3 +/* 802690B8 00266018 7F C6 F3 78 */ mr r6, r30 +/* 802690BC 0026601C C1 41 00 08 */ lfs f10, 8(r1) +/* 802690C0 00266020 38 63 55 56 */ addi r3, r3, 0x55555556@l +/* 802690C4 00266024 C1 61 00 0C */ lfs f11, 0xc(r1) +/* 802690C8 00266028 C1 81 00 10 */ lfs f12, 0x10(r1) +/* 802690CC 0026602C 38 E0 00 00 */ li r7, 0 +/* 802690D0 00266030 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 802690D4 00266034 7C 09 03 A6 */ mtctr r0 +lbl_802690D8: +/* 802690D8 00266038 38 A7 00 02 */ addi r5, r7, 2 +/* 802690DC 0026603C C0 66 00 00 */ lfs f3, 0(r6) +/* 802690E0 00266040 7C 83 28 96 */ mulhw r4, r3, r5 +/* 802690E4 00266044 C0 86 00 08 */ lfs f4, 8(r6) +/* 802690E8 00266048 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802690EC 0026604C ED 3F 18 28 */ fsubs f9, f31, f3 +/* 802690F0 00266050 EC FD 20 28 */ fsubs f7, f29, f4 +/* 802690F4 00266054 ED 1E 28 28 */ fsubs f8, f30, f5 +/* 802690F8 00266058 54 80 0F FE */ srwi r0, r4, 0x1f +/* 802690FC 0026605C 7C 04 02 14 */ add r0, r4, r0 +/* 80269100 00266060 1C 00 00 03 */ mulli r0, r0, 3 +/* 80269104 00266064 7C 00 28 50 */ subf r0, r0, r5 +/* 80269108 00266068 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8026910C 0026606C 7C 9E 02 14 */ add r4, r30, r0 +/* 80269110 00266070 C0 24 00 08 */ lfs f1, 8(r4) +/* 80269114 00266074 C0 44 00 00 */ lfs f2, 0(r4) +/* 80269118 00266078 EC 81 20 28 */ fsubs f4, f1, f4 +/* 8026911C 0026607C C0 24 00 04 */ lfs f1, 4(r4) +/* 80269120 00266080 EC C2 18 28 */ fsubs f6, f2, f3 +/* 80269124 00266084 EC A1 28 28 */ fsubs f5, f1, f5 +/* 80269128 00266088 EC 24 02 72 */ fmuls f1, f4, f9 +/* 8026912C 0026608C EC 66 02 32 */ fmuls f3, f6, f8 +/* 80269130 00266090 EC 45 01 F2 */ fmuls f2, f5, f7 +/* 80269134 00266094 EC 27 09 B8 */ fmsubs f1, f7, f6, f1 +/* 80269138 00266098 EC 69 19 78 */ fmsubs f3, f9, f5, f3 +/* 8026913C 0026609C EC 48 11 38 */ fmsubs f2, f8, f4, f2 +/* 80269140 002660A0 EC 2B 00 72 */ fmuls f1, f11, f1 +/* 80269144 002660A4 EC 2A 08 BA */ fmadds f1, f10, f2, f1 +/* 80269148 002660A8 EC 2C 08 FA */ fmadds f1, f12, f3, f1 +/* 8026914C 002660AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80269150 002660B0 40 80 00 0C */ bge lbl_8026915C +/* 80269154 002660B4 38 60 00 00 */ li r3, 0 +/* 80269158 002660B8 48 00 00 14 */ b lbl_8026916C +lbl_8026915C: +/* 8026915C 002660BC 38 C6 00 0C */ addi r6, r6, 0xc +/* 80269160 002660C0 38 E7 00 01 */ addi r7, r7, 1 +/* 80269164 002660C4 42 00 FF 74 */ bdnz lbl_802690D8 +/* 80269168 002660C8 38 60 00 01 */ li r3, 1 +lbl_8026916C: +/* 8026916C 002660CC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80269170 002660D0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80269174 002660D4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80269178 002660D8 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8026917C 002660DC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80269180 002660E0 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80269184 002660E4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80269188 002660E8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8026918C 002660EC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80269190 002660F0 7C 08 03 A6 */ mtlr r0 +/* 80269194 002660F4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80269198 002660F8 4E 80 00 20 */ blr + +.global ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f: +/* 8026919C 002660FC C0 C4 00 04 */ lfs f6, 4(r4) +/* 802691A0 00266100 C0 65 00 04 */ lfs f3, 4(r5) +/* 802691A4 00266104 C0 A4 00 00 */ lfs f5, 0(r4) +/* 802691A8 00266108 EC 06 00 F2 */ fmuls f0, f6, f3 +/* 802691AC 0026610C C0 25 00 00 */ lfs f1, 0(r5) +/* 802691B0 00266110 C0 E4 00 08 */ lfs f7, 8(r4) +/* 802691B4 00266114 C0 85 00 08 */ lfs f4, 8(r5) +/* 802691B8 00266118 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802691BC 0026611C EC 07 01 3A */ fmadds f0, f7, f4, f0 +/* 802691C0 00266120 EC 40 00 72 */ fmuls f2, f0, f1 +/* 802691C4 00266124 EC 20 00 F2 */ fmuls f1, f0, f3 +/* 802691C8 00266128 EC 00 01 32 */ fmuls f0, f0, f4 +/* 802691CC 0026612C EC 45 10 28 */ fsubs f2, f5, f2 +/* 802691D0 00266130 EC 26 08 28 */ fsubs f1, f6, f1 +/* 802691D4 00266134 EC 07 00 28 */ fsubs f0, f7, f0 +/* 802691D8 00266138 D0 43 00 00 */ stfs f2, 0(r3) +/* 802691DC 0026613C D0 23 00 04 */ stfs f1, 4(r3) +/* 802691E0 00266140 D0 03 00 08 */ stfs f0, 8(r3) +/* 802691E4 00266144 4E 80 00 20 */ blr + +.global ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f +ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802691E8 00266148 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802691EC 0026614C C1 04 00 04 */ lfs f8, 4(r4) +/* 802691F0 00266150 C0 05 00 04 */ lfs f0, 4(r5) +/* 802691F4 00266154 C0 E4 00 00 */ lfs f7, 0(r4) +/* 802691F8 00266158 EC 48 00 28 */ fsubs f2, f8, f0 +/* 802691FC 0026615C C0 05 00 00 */ lfs f0, 0(r5) +/* 80269200 00266160 C0 A6 00 04 */ lfs f5, 4(r6) +/* 80269204 00266164 EC 67 00 28 */ fsubs f3, f7, f0 +/* 80269208 00266168 C1 24 00 08 */ lfs f9, 8(r4) +/* 8026920C 0026616C C0 25 00 08 */ lfs f1, 8(r5) +/* 80269210 00266170 EC 02 01 72 */ fmuls f0, f2, f5 +/* 80269214 00266174 C0 86 00 00 */ lfs f4, 0(r6) +/* 80269218 00266178 EC 29 08 28 */ fsubs f1, f9, f1 +/* 8026921C 0026617C C0 C6 00 08 */ lfs f6, 8(r6) +/* 80269220 00266180 EC 03 01 3A */ fmadds f0, f3, f4, f0 +/* 80269224 00266184 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80269228 00266188 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8026922C 0026618C EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 80269230 00266190 D0 61 00 08 */ stfs f3, 8(r1) +/* 80269234 00266194 EC 40 01 32 */ fmuls f2, f0, f4 +/* 80269238 00266198 EC 20 01 72 */ fmuls f1, f0, f5 +/* 8026923C 0026619C EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80269240 002661A0 EC 47 10 28 */ fsubs f2, f7, f2 +/* 80269244 002661A4 EC 28 08 28 */ fsubs f1, f8, f1 +/* 80269248 002661A8 EC 09 00 28 */ fsubs f0, f9, f0 +/* 8026924C 002661AC D0 43 00 00 */ stfs f2, 0(r3) +/* 80269250 002661B0 D0 23 00 04 */ stfs f1, 4(r3) +/* 80269254 002661B4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80269258 002661B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026925C 002661BC 4E 80 00 20 */ blr + +.global "__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi" +"__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi": +/* 80269260 002661C0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80269264 002661C4 7C 08 02 A6 */ mflr r0 +/* 80269268 002661C8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8026926C 002661CC DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80269270 002661D0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80269274 002661D4 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80269278 002661D8 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8026927C 002661DC DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 80269280 002661E0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80269284 002661E4 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 80269288 002661E8 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 8026928C 002661EC DB 61 00 80 */ stfd f27, 0x80(r1) +/* 80269290 002661F0 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 80269294 002661F4 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 80269298 002661F8 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 8026929C 002661FC DB 21 00 60 */ stfd f25, 0x60(r1) +/* 802692A0 00266200 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 802692A4 00266204 DB 01 00 50 */ stfd f24, 0x50(r1) +/* 802692A8 00266208 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 +/* 802692AC 0026620C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802692B0 00266210 A0 05 00 00 */ lhz r0, 0(r5) +/* 802692B4 00266214 FF 00 08 90 */ fmr f24, f1 +/* 802692B8 00266218 83 A1 00 D8 */ lwz r29, 0xd8(r1) +/* 802692BC 0026621C FF 20 10 90 */ fmr f25, f2 +/* 802692C0 00266220 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802692C4 00266224 FF 40 18 90 */ fmr f26, f3 +/* 802692C8 00266228 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 802692CC 0026622C 93 A1 00 08 */ stw r29, 8(r1) +/* 802692D0 00266230 FF 60 20 90 */ fmr f27, f4 +/* 802692D4 00266234 81 61 00 E0 */ lwz r11, 0xe0(r1) +/* 802692D8 00266238 7C 7C 1B 78 */ mr r28, r3 +/* 802692DC 0026623C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802692E0 00266240 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802692E4 00266244 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802692E8 00266248 91 61 00 10 */ stw r11, 0x10(r1) +/* 802692EC 0026624C 81 61 00 E8 */ lwz r11, 0xe8(r1) +/* 802692F0 00266250 90 01 00 14 */ stw r0, 0x14(r1) +/* 802692F4 00266254 80 01 00 EC */ lwz r0, 0xec(r1) +/* 802692F8 00266258 91 61 00 18 */ stw r11, 0x18(r1) +/* 802692FC 0026625C 83 C1 00 F0 */ lwz r30, 0xf0(r1) +/* 80269300 00266260 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80269304 00266264 8B E1 00 F7 */ lbz r31, 0xf7(r1) +/* 80269308 00266268 4B E1 41 49 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8026930C 0026626C 3C 60 80 3F */ lis r3, lbl_803EA0F0@ha +/* 80269310 00266270 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80269314 00266274 38 03 A0 F0 */ addi r0, r3, lbl_803EA0F0@l +/* 80269318 00266278 3C A0 80 5A */ lis r5, lbl_805A6718@ha +/* 8026931C 0026627C 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 80269320 00266280 90 1C 00 00 */ stw r0, 0(r28) +/* 80269324 00266284 38 C3 67 24 */ addi r6, r3, lbl_805A6724@l +/* 80269328 00266288 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8026932C 0026628C 38 A5 67 18 */ addi r5, r5, lbl_805A6718@l +/* 80269330 00266290 38 7C 05 68 */ addi r3, r28, 0x568 +/* 80269334 00266294 38 E0 FF FF */ li r7, -1 +/* 80269338 00266298 48 03 93 F1 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 8026933C 0026629C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80269340 002662A0 3B 7C 05 90 */ addi r27, r28, 0x590 +/* 80269344 002662A4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80269348 002662A8 C3 9D 00 C4 */ lfs f28, 0xc4(r29) +/* 8026934C 002662AC C3 E5 00 00 */ lfs f31, 0(r5) +/* 80269350 002662B0 38 9C 00 68 */ addi r4, r28, 0x68 +/* 80269354 002662B4 C3 C5 00 04 */ lfs f30, 4(r5) +/* 80269358 002662B8 7F 63 DB 78 */ mr r3, r27 +/* 8026935C 002662BC C3 A5 00 08 */ lfs f29, 8(r5) +/* 80269360 002662C0 48 06 65 55 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 80269364 002662C4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80269368 002662C8 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 8026936C 002662CC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 80269370 002662D0 80 82 BA F8 */ lwz r4, lbl_805AD818@sda21(r2) +/* 80269374 002662D4 90 1B 00 00 */ stw r0, 0(r27) +/* 80269378 002662D8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8026937C 002662DC D3 FB 00 10 */ stfs f31, 0x10(r27) +/* 80269380 002662E0 D3 DB 00 14 */ stfs f30, 0x14(r27) +/* 80269384 002662E4 D3 BB 00 18 */ stfs f29, 0x18(r27) +/* 80269388 002662E8 D3 9B 00 1C */ stfs f28, 0x1c(r27) +/* 8026938C 002662EC D3 1C 05 B0 */ stfs f24, 0x5b0(r28) +/* 80269390 002662F0 D3 3C 05 B4 */ stfs f25, 0x5b4(r28) +/* 80269394 002662F4 D0 1C 05 B8 */ stfs f0, 0x5b8(r28) +/* 80269398 002662F8 D0 1C 05 BC */ stfs f0, 0x5bc(r28) +/* 8026939C 002662FC D3 5C 05 C0 */ stfs f26, 0x5c0(r28) +/* 802693A0 00266300 D3 7C 05 C4 */ stfs f27, 0x5c4(r28) +/* 802693A4 00266304 D0 1C 05 C8 */ stfs f0, 0x5c8(r28) +/* 802693A8 00266308 4B D9 B9 11 */ bl string_l__4rstlFPCc +/* 802693AC 0026630C 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 802693B0 00266310 38 81 00 24 */ addi r4, r1, 0x24 +/* 802693B4 00266314 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802693B8 00266318 38 63 00 0C */ addi r3, r3, 0xc +/* 802693BC 0026631C 48 07 44 E1 */ bl sub_802dd89c +/* 802693C0 00266320 90 7C 05 CC */ stw r3, 0x5cc(r28) +/* 802693C4 00266324 38 61 00 24 */ addi r3, r1, 0x24 +/* 802693C8 00266328 48 0D 47 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802693CC 0026632C 93 DC 05 D0 */ stw r30, 0x5d0(r28) +/* 802693D0 00266330 38 80 00 00 */ li r4, 0 +/* 802693D4 00266334 7F 83 E3 78 */ mr r3, r28 +/* 802693D8 00266338 B0 9C 05 D4 */ sth r4, 0x5d4(r28) +/* 802693DC 0026633C 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 802693E0 00266340 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802693E4 00266344 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 802693E8 00266348 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 802693EC 0026634C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802693F0 00266350 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 802693F4 00266354 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 802693F8 00266358 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802693FC 0026635C 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 80269400 00266360 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 80269404 00266364 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b +/* 80269408 00266368 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 8026940C 0026636C 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 80269410 00266370 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80269414 00266374 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 80269418 00266378 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 8026941C 0026637C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80269420 00266380 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 80269424 00266384 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80269428 00266388 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8026942C 0026638C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80269430 00266390 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80269434 00266394 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 80269438 00266398 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8026943C 0026639C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 80269440 002663A0 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 80269444 002663A4 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 80269448 002663A8 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8026944C 002663AC E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 80269450 002663B0 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 80269454 002663B4 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 80269458 002663B8 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8026945C 002663BC E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 +/* 80269460 002663C0 CB 01 00 50 */ lfd f24, 0x50(r1) +/* 80269464 002663C4 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80269468 002663C8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8026946C 002663CC 7C 08 03 A6 */ mtlr r0 +/* 80269470 002663D0 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80269474 002663D4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/SPositionHistory.s b/asm/Kyoto_CWD/Enemies/SPositionHistory.s new file mode 100644 index 00000000..956a1a83 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/SPositionHistory.s @@ -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 diff --git a/asm/Kyoto_CWD/Factories/CSaveWorldFactory.s b/asm/Kyoto_CWD/Factories/CSaveWorldFactory.s new file mode 100644 index 00000000..4ae4e367 --- /dev/null +++ b/asm/Kyoto_CWD/Factories/CSaveWorldFactory.s @@ -0,0 +1,1082 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8026AD60 00267CC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026AD64 00267CC4 7C 08 02 A6 */ mflr r0 +/* 8026AD68 00267CC8 3C 80 80 3D */ lis r4, lbl_803D5418@ha +/* 8026AD6C 00267CCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026AD70 00267CD0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l +/* 8026AD74 00267CD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026AD78 00267CD8 7C BF 2B 78 */ mr r31, r5 +/* 8026AD7C 00267CDC 38 A0 00 00 */ li r5, 0 +/* 8026AD80 00267CE0 93 C1 00 08 */ stw r30, 8(r1) +/* 8026AD84 00267CE4 7C 7E 1B 78 */ mr r30, r3 +/* 8026AD88 00267CE8 38 60 00 54 */ li r3, 0x54 +/* 8026AD8C 00267CEC 48 0A AA E1 */ bl __nw__FUlPCcPCc +/* 8026AD90 00267CF0 7C 64 1B 79 */ or. r4, r3, r3 +/* 8026AD94 00267CF4 41 82 00 10 */ beq lbl_8026ADA4 +/* 8026AD98 00267CF8 7F E4 FB 78 */ mr r4, r31 +/* 8026AD9C 00267CFC 48 00 04 8D */ bl __ct__10CSaveWorldFR12CinputStream +/* 8026ADA0 00267D00 7C 64 1B 78 */ mr r4, r3 +lbl_8026ADA4: +/* 8026ADA4 00267D04 7F C3 F3 78 */ mr r3, r30 +/* 8026ADA8 00267D08 48 00 00 1D */ bl sub_8026adc4 +/* 8026ADAC 00267D0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026ADB0 00267D10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026ADB4 00267D14 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026ADB8 00267D18 7C 08 03 A6 */ mtlr r0 +/* 8026ADBC 00267D1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026ADC0 00267D20 4E 80 00 20 */ blr + +.global sub_8026adc4 +sub_8026adc4: +/* 8026ADC4 00267D24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026ADC8 00267D28 7C 08 02 A6 */ mflr r0 +/* 8026ADCC 00267D2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026ADD0 00267D30 7C 04 00 D0 */ neg r0, r4 +/* 8026ADD4 00267D34 7C 00 23 78 */ or r0, r0, r4 +/* 8026ADD8 00267D38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026ADDC 00267D3C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026ADE0 00267D40 7C 7F 1B 78 */ mr r31, r3 +/* 8026ADE4 00267D44 38 61 00 08 */ addi r3, r1, 8 +/* 8026ADE8 00267D48 90 81 00 14 */ stw r4, 0x14(r1) +/* 8026ADEC 00267D4C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8026ADF0 00267D50 98 01 00 10 */ stb r0, 0x10(r1) +/* 8026ADF4 00267D54 48 00 02 B9 */ bl sub_8026b0ac +/* 8026ADF8 00267D58 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8026ADFC 00267D5C 38 00 00 00 */ li r0, 0 +/* 8026AE00 00267D60 98 01 00 08 */ stb r0, 8(r1) +/* 8026AE04 00267D64 7C 03 00 D0 */ neg r0, r3 +/* 8026AE08 00267D68 7C 00 1B 78 */ or r0, r0, r3 +/* 8026AE0C 00267D6C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026AE10 00267D70 98 1F 00 00 */ stb r0, 0(r31) +/* 8026AE14 00267D74 90 7F 00 04 */ stw r3, 4(r31) +/* 8026AE18 00267D78 88 01 00 08 */ lbz r0, 8(r1) +/* 8026AE1C 00267D7C 28 00 00 00 */ cmplwi r0, 0 +/* 8026AE20 00267D80 41 82 00 24 */ beq lbl_8026AE44 +/* 8026AE24 00267D84 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8026AE28 00267D88 28 03 00 00 */ cmplwi r3, 0 +/* 8026AE2C 00267D8C 41 82 00 18 */ beq lbl_8026AE44 +/* 8026AE30 00267D90 81 83 00 00 */ lwz r12, 0(r3) +/* 8026AE34 00267D94 38 80 00 01 */ li r4, 1 +/* 8026AE38 00267D98 81 8C 00 08 */ lwz r12, 8(r12) +/* 8026AE3C 00267D9C 7D 89 03 A6 */ mtctr r12 +/* 8026AE40 00267DA0 4E 80 04 21 */ bctrl +lbl_8026AE44: +/* 8026AE44 00267DA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8026AE48 00267DA8 38 80 FF FF */ li r4, -1 +/* 8026AE4C 00267DAC 48 00 03 29 */ bl sub_8026b174 +/* 8026AE50 00267DB0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026AE54 00267DB4 7F E3 FB 78 */ mr r3, r31 +/* 8026AE58 00267DB8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026AE5C 00267DBC 7C 08 03 A6 */ mtlr r0 +/* 8026AE60 00267DC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026AE64 00267DC4 4E 80 00 20 */ blr + +.global sub_8026ae68 +sub_8026ae68: +/* 8026AE68 00267DC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026AE6C 00267DCC 7C 08 02 A6 */ mflr r0 +/* 8026AE70 00267DD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026AE74 00267DD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026AE78 00267DD8 7C 9F 23 78 */ mr r31, r4 +/* 8026AE7C 00267DDC 93 C1 00 08 */ stw r30, 8(r1) +/* 8026AE80 00267DE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026AE84 00267DE4 41 82 00 58 */ beq lbl_8026AEDC +/* 8026AE88 00267DE8 3C 60 80 3F */ lis r3, lbl_803EA790@ha +/* 8026AE8C 00267DEC 38 03 A7 90 */ addi r0, r3, lbl_803EA790@l +/* 8026AE90 00267DF0 90 1E 00 00 */ stw r0, 0(r30) +/* 8026AE94 00267DF4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026AE98 00267DF8 28 03 00 00 */ cmplwi r3, 0 +/* 8026AE9C 00267DFC 41 82 00 0C */ beq lbl_8026AEA8 +/* 8026AEA0 00267E00 38 80 00 01 */ li r4, 1 +/* 8026AEA4 00267E04 48 00 00 55 */ bl sub_8026aef8 +lbl_8026AEA8: +/* 8026AEA8 00267E08 28 1E 00 00 */ cmplwi r30, 0 +/* 8026AEAC 00267E0C 41 82 00 20 */ beq lbl_8026AECC +/* 8026AEB0 00267E10 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8026AEB4 00267E14 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8026AEB8 00267E18 90 1E 00 00 */ stw r0, 0(r30) +/* 8026AEBC 00267E1C 41 82 00 10 */ beq lbl_8026AECC +/* 8026AEC0 00267E20 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8026AEC4 00267E24 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8026AEC8 00267E28 90 1E 00 00 */ stw r0, 0(r30) +lbl_8026AECC: +/* 8026AECC 00267E2C 7F E0 07 35 */ extsh. r0, r31 +/* 8026AED0 00267E30 40 81 00 0C */ ble lbl_8026AEDC +/* 8026AED4 00267E34 7F C3 F3 78 */ mr r3, r30 +/* 8026AED8 00267E38 48 0A AA 59 */ bl Free__7CMemoryFPCv +lbl_8026AEDC: +/* 8026AEDC 00267E3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026AEE0 00267E40 7F C3 F3 78 */ mr r3, r30 +/* 8026AEE4 00267E44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026AEE8 00267E48 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026AEEC 00267E4C 7C 08 03 A6 */ mtlr r0 +/* 8026AEF0 00267E50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026AEF4 00267E54 4E 80 00 20 */ blr + +.global sub_8026aef8 +sub_8026aef8: +/* 8026AEF8 00267E58 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8026AEFC 00267E5C 7C 08 02 A6 */ mflr r0 +/* 8026AF00 00267E60 90 01 00 64 */ stw r0, 0x64(r1) +/* 8026AF04 00267E64 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8026AF08 00267E68 7C 9F 23 78 */ mr r31, r4 +/* 8026AF0C 00267E6C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8026AF10 00267E70 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026AF14 00267E74 41 82 01 7C */ beq lbl_8026B090 +/* 8026AF18 00267E78 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 8026AF1C 00267E7C 41 82 00 44 */ beq lbl_8026AF60 +/* 8026AF20 00267E80 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 8026AF24 00267E84 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 8026AF28 00267E88 54 00 18 38 */ slwi r0, r0, 3 +/* 8026AF2C 00267E8C 7C 03 02 14 */ add r0, r3, r0 +/* 8026AF30 00267E90 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8026AF34 00267E94 7C 64 1B 78 */ mr r4, r3 +/* 8026AF38 00267E98 90 01 00 54 */ stw r0, 0x54(r1) +/* 8026AF3C 00267E9C 90 01 00 50 */ stw r0, 0x50(r1) +/* 8026AF40 00267EA0 90 61 00 48 */ stw r3, 0x48(r1) +/* 8026AF44 00267EA4 48 00 00 08 */ b lbl_8026AF4C +lbl_8026AF48: +/* 8026AF48 00267EA8 38 84 00 08 */ addi r4, r4, 8 +lbl_8026AF4C: +/* 8026AF4C 00267EAC 7C 04 00 40 */ cmplw r4, r0 +/* 8026AF50 00267EB0 40 82 FF F8 */ bne lbl_8026AF48 +/* 8026AF54 00267EB4 28 03 00 00 */ cmplwi r3, 0 +/* 8026AF58 00267EB8 41 82 00 08 */ beq lbl_8026AF60 +/* 8026AF5C 00267EBC 48 0A A9 D5 */ bl Free__7CMemoryFPCv +lbl_8026AF60: +/* 8026AF60 00267EC0 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 8026AF64 00267EC4 41 82 00 44 */ beq lbl_8026AFA8 +/* 8026AF68 00267EC8 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 8026AF6C 00267ECC 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 8026AF70 00267ED0 54 00 10 3A */ slwi r0, r0, 2 +/* 8026AF74 00267ED4 7C 03 02 14 */ add r0, r3, r0 +/* 8026AF78 00267ED8 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8026AF7C 00267EDC 7C 64 1B 78 */ mr r4, r3 +/* 8026AF80 00267EE0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026AF84 00267EE4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8026AF88 00267EE8 90 61 00 38 */ stw r3, 0x38(r1) +/* 8026AF8C 00267EEC 48 00 00 08 */ b lbl_8026AF94 +lbl_8026AF90: +/* 8026AF90 00267EF0 38 84 00 04 */ addi r4, r4, 4 +lbl_8026AF94: +/* 8026AF94 00267EF4 7C 04 00 40 */ cmplw r4, r0 +/* 8026AF98 00267EF8 40 82 FF F8 */ bne lbl_8026AF90 +/* 8026AF9C 00267EFC 28 03 00 00 */ cmplwi r3, 0 +/* 8026AFA0 00267F00 41 82 00 08 */ beq lbl_8026AFA8 +/* 8026AFA4 00267F04 48 0A A9 8D */ bl Free__7CMemoryFPCv +lbl_8026AFA8: +/* 8026AFA8 00267F08 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 8026AFAC 00267F0C 41 82 00 44 */ beq lbl_8026AFF0 +/* 8026AFB0 00267F10 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8026AFB4 00267F14 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8026AFB8 00267F18 54 00 18 38 */ slwi r0, r0, 3 +/* 8026AFBC 00267F1C 7C 03 02 14 */ add r0, r3, r0 +/* 8026AFC0 00267F20 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8026AFC4 00267F24 7C 64 1B 78 */ mr r4, r3 +/* 8026AFC8 00267F28 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026AFCC 00267F2C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8026AFD0 00267F30 90 61 00 28 */ stw r3, 0x28(r1) +/* 8026AFD4 00267F34 48 00 00 08 */ b lbl_8026AFDC +lbl_8026AFD8: +/* 8026AFD8 00267F38 38 84 00 08 */ addi r4, r4, 8 +lbl_8026AFDC: +/* 8026AFDC 00267F3C 7C 04 00 40 */ cmplw r4, r0 +/* 8026AFE0 00267F40 40 82 FF F8 */ bne lbl_8026AFD8 +/* 8026AFE4 00267F44 28 03 00 00 */ cmplwi r3, 0 +/* 8026AFE8 00267F48 41 82 00 08 */ beq lbl_8026AFF0 +/* 8026AFEC 00267F4C 48 0A A9 45 */ bl Free__7CMemoryFPCv +lbl_8026AFF0: +/* 8026AFF0 00267F50 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8026AFF4 00267F54 41 82 00 44 */ beq lbl_8026B038 +/* 8026AFF8 00267F58 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8026AFFC 00267F5C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 8026B000 00267F60 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B004 00267F64 7C 03 02 14 */ add r0, r3, r0 +/* 8026B008 00267F68 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8026B00C 00267F6C 7C 64 1B 78 */ mr r4, r3 +/* 8026B010 00267F70 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026B014 00267F74 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026B018 00267F78 90 61 00 18 */ stw r3, 0x18(r1) +/* 8026B01C 00267F7C 48 00 00 08 */ b lbl_8026B024 +lbl_8026B020: +/* 8026B020 00267F80 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B024: +/* 8026B024 00267F84 7C 04 00 40 */ cmplw r4, r0 +/* 8026B028 00267F88 40 82 FF F8 */ bne lbl_8026B020 +/* 8026B02C 00267F8C 28 03 00 00 */ cmplwi r3, 0 +/* 8026B030 00267F90 41 82 00 08 */ beq lbl_8026B038 +/* 8026B034 00267F94 48 0A A8 FD */ bl Free__7CMemoryFPCv +lbl_8026B038: +/* 8026B038 00267F98 34 1E 00 04 */ addic. r0, r30, 4 +/* 8026B03C 00267F9C 41 82 00 44 */ beq lbl_8026B080 +/* 8026B040 00267FA0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8026B044 00267FA4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8026B048 00267FA8 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B04C 00267FAC 7C 03 02 14 */ add r0, r3, r0 +/* 8026B050 00267FB0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026B054 00267FB4 7C 64 1B 78 */ mr r4, r3 +/* 8026B058 00267FB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B05C 00267FBC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026B060 00267FC0 90 61 00 08 */ stw r3, 8(r1) +/* 8026B064 00267FC4 48 00 00 08 */ b lbl_8026B06C +lbl_8026B068: +/* 8026B068 00267FC8 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B06C: +/* 8026B06C 00267FCC 7C 04 00 40 */ cmplw r4, r0 +/* 8026B070 00267FD0 40 82 FF F8 */ bne lbl_8026B068 +/* 8026B074 00267FD4 28 03 00 00 */ cmplwi r3, 0 +/* 8026B078 00267FD8 41 82 00 08 */ beq lbl_8026B080 +/* 8026B07C 00267FDC 48 0A A8 B5 */ bl Free__7CMemoryFPCv +lbl_8026B080: +/* 8026B080 00267FE0 7F E0 07 35 */ extsh. r0, r31 +/* 8026B084 00267FE4 40 81 00 0C */ ble lbl_8026B090 +/* 8026B088 00267FE8 7F C3 F3 78 */ mr r3, r30 +/* 8026B08C 00267FEC 48 0A A8 A5 */ bl Free__7CMemoryFPCv +lbl_8026B090: +/* 8026B090 00267FF0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8026B094 00267FF4 7F C3 F3 78 */ mr r3, r30 +/* 8026B098 00267FF8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8026B09C 00267FFC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8026B0A0 00268000 7C 08 03 A6 */ mtlr r0 +/* 8026B0A4 00268004 38 21 00 60 */ addi r1, r1, 0x60 +/* 8026B0A8 00268008 4E 80 00 20 */ blr + +.global sub_8026b0ac +sub_8026b0ac: +/* 8026B0AC 0026800C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026B0B0 00268010 7C 08 02 A6 */ mflr r0 +/* 8026B0B4 00268014 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B0B8 00268018 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026B0BC 0026801C 7C 7F 1B 78 */ mr r31, r3 +/* 8026B0C0 00268020 48 00 00 19 */ bl sub_8026b0d8 +/* 8026B0C4 00268024 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026B0C8 00268028 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026B0CC 0026802C 7C 08 03 A6 */ mtlr r0 +/* 8026B0D0 00268030 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026B0D4 00268034 4E 80 00 20 */ blr + +.global sub_8026b0d8 +sub_8026b0d8: +/* 8026B0D8 00268038 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026B0DC 0026803C 7C 08 02 A6 */ mflr r0 +/* 8026B0E0 00268040 3C A0 80 3D */ lis r5, lbl_803D5418@ha +/* 8026B0E4 00268044 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B0E8 00268048 38 05 54 18 */ addi r0, r5, lbl_803D5418@l +/* 8026B0EC 0026804C 38 A0 00 00 */ li r5, 0 +/* 8026B0F0 00268050 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026B0F4 00268054 7C 9F 23 78 */ mr r31, r4 +/* 8026B0F8 00268058 7C 04 03 78 */ mr r4, r0 +/* 8026B0FC 0026805C 93 C1 00 08 */ stw r30, 8(r1) +/* 8026B100 00268060 7C 7E 1B 78 */ mr r30, r3 +/* 8026B104 00268064 38 60 00 08 */ li r3, 8 +/* 8026B108 00268068 48 0A A7 65 */ bl __nw__FUlPCcPCc +/* 8026B10C 0026806C 28 03 00 00 */ cmplwi r3, 0 +/* 8026B110 00268070 41 82 00 38 */ beq lbl_8026B148 +/* 8026B114 00268074 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8026B118 00268078 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8026B11C 0026807C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8026B120 00268080 3C 80 80 3F */ lis r4, lbl_803EA790@ha +/* 8026B124 00268084 90 03 00 00 */ stw r0, 0(r3) +/* 8026B128 00268088 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8026B12C 0026808C 38 A0 00 00 */ li r5, 0 +/* 8026B130 00268090 38 04 A7 90 */ addi r0, r4, lbl_803EA790@l +/* 8026B134 00268094 90 C3 00 00 */ stw r6, 0(r3) +/* 8026B138 00268098 98 BF 00 00 */ stb r5, 0(r31) +/* 8026B13C 0026809C 80 9F 00 04 */ lwz r4, 4(r31) +/* 8026B140 002680A0 90 83 00 04 */ stw r4, 4(r3) +/* 8026B144 002680A4 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B148: +/* 8026B148 002680A8 7C 03 00 D0 */ neg r0, r3 +/* 8026B14C 002680AC 7C 00 1B 78 */ or r0, r0, r3 +/* 8026B150 002680B0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026B154 002680B4 98 1E 00 00 */ stb r0, 0(r30) +/* 8026B158 002680B8 90 7E 00 04 */ stw r3, 4(r30) +/* 8026B15C 002680BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026B160 002680C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026B164 002680C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026B168 002680C8 7C 08 03 A6 */ mtlr r0 +/* 8026B16C 002680CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026B170 002680D0 4E 80 00 20 */ blr + +.global sub_8026b174 +sub_8026b174: +/* 8026B174 002680D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026B178 002680D8 7C 08 02 A6 */ mflr r0 +/* 8026B17C 002680DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B180 002680E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026B184 002680E4 7C 9F 23 78 */ mr r31, r4 +/* 8026B188 002680E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8026B18C 002680EC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026B190 002680F0 41 82 00 2C */ beq lbl_8026B1BC +/* 8026B194 002680F4 88 1E 00 00 */ lbz r0, 0(r30) +/* 8026B198 002680F8 28 00 00 00 */ cmplwi r0, 0 +/* 8026B19C 002680FC 41 82 00 10 */ beq lbl_8026B1AC +/* 8026B1A0 00268100 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026B1A4 00268104 38 80 00 01 */ li r4, 1 +/* 8026B1A8 00268108 4B FF FD 51 */ bl sub_8026aef8 +lbl_8026B1AC: +/* 8026B1AC 0026810C 7F E0 07 35 */ extsh. r0, r31 +/* 8026B1B0 00268110 40 81 00 0C */ ble lbl_8026B1BC +/* 8026B1B4 00268114 7F C3 F3 78 */ mr r3, r30 +/* 8026B1B8 00268118 48 0A A7 79 */ bl Free__7CMemoryFPCv +lbl_8026B1BC: +/* 8026B1BC 0026811C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026B1C0 00268120 7F C3 F3 78 */ mr r3, r30 +/* 8026B1C4 00268124 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026B1C8 00268128 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026B1CC 0026812C 7C 08 03 A6 */ mtlr r0 +/* 8026B1D0 00268130 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026B1D4 00268134 4E 80 00 20 */ blr + +.global GetRelayIndex__10CSaveWorldCFRC9TEditorId +GetRelayIndex__10CSaveWorldCFRC9TEditorId: +/* 8026B1D8 00268138 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8026B1DC 0026813C 38 E0 00 00 */ li r7, 0 +/* 8026B1E0 00268140 38 C0 00 00 */ li r6, 0 +/* 8026B1E4 00268144 7C 09 03 A6 */ mtctr r0 +/* 8026B1E8 00268148 2C 00 00 00 */ cmpwi r0, 0 +/* 8026B1EC 0026814C 40 81 00 34 */ ble lbl_8026B220 +lbl_8026B1F0: +/* 8026B1F0 00268150 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 8026B1F4 00268154 80 04 00 00 */ lwz r0, 0(r4) +/* 8026B1F8 00268158 7C A5 30 2E */ lwzx r5, r5, r6 +/* 8026B1FC 0026815C 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8026B200 00268160 54 A5 01 BE */ clrlwi r5, r5, 6 +/* 8026B204 00268164 7C 05 00 40 */ cmplw r5, r0 +/* 8026B208 00268168 40 82 00 0C */ bne lbl_8026B214 +/* 8026B20C 0026816C 7C E3 3B 78 */ mr r3, r7 +/* 8026B210 00268170 4E 80 00 20 */ blr +lbl_8026B214: +/* 8026B214 00268174 38 C6 00 04 */ addi r6, r6, 4 +/* 8026B218 00268178 38 E7 00 01 */ addi r7, r7, 1 +/* 8026B21C 0026817C 42 00 FF D4 */ bdnz lbl_8026B1F0 +lbl_8026B220: +/* 8026B220 00268180 38 60 FF FF */ li r3, -1 +/* 8026B224 00268184 4E 80 00 20 */ blr + +.global __ct__10CSaveWorldFR12CinputStream +__ct__10CSaveWorldFR12CinputStream: +/* 8026B228 00268188 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8026B22C 0026818C 7C 08 02 A6 */ mflr r0 +/* 8026B230 00268190 90 01 01 34 */ stw r0, 0x134(r1) +/* 8026B234 00268194 38 00 00 00 */ li r0, 0 +/* 8026B238 00268198 BF 21 01 14 */ stmw r25, 0x114(r1) +/* 8026B23C 0026819C 7C 7F 1B 78 */ mr r31, r3 +/* 8026B240 002681A0 7C 9E 23 78 */ mr r30, r4 +/* 8026B244 002681A4 90 03 00 00 */ stw r0, 0(r3) +/* 8026B248 002681A8 7F C3 F3 78 */ mr r3, r30 +/* 8026B24C 002681AC 90 1F 00 08 */ stw r0, 8(r31) +/* 8026B250 002681B0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8026B254 002681B4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8026B258 002681B8 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8026B25C 002681BC 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8026B260 002681C0 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8026B264 002681C4 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026B268 002681C8 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8026B26C 002681CC 90 1F 00 30 */ stw r0, 0x30(r31) +/* 8026B270 002681D0 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026B274 002681D4 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 8026B278 002681D8 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8026B27C 002681DC 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8026B280 002681E0 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8026B284 002681E4 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8026B288 002681E8 48 0D 39 FD */ bl ReadLong__12CInputStreamFv +/* 8026B28C 002681EC 7F C3 F3 78 */ mr r3, r30 +/* 8026B290 002681F0 48 0D 39 F5 */ bl ReadLong__12CInputStreamFv +/* 8026B294 002681F4 7C 7D 1B 78 */ mr r29, r3 +/* 8026B298 002681F8 28 1D 00 01 */ cmplwi r29, 1 +/* 8026B29C 002681FC 40 81 00 10 */ ble lbl_8026B2AC +/* 8026B2A0 00268200 7F C3 F3 78 */ mr r3, r30 +/* 8026B2A4 00268204 48 0D 39 E1 */ bl ReadLong__12CInputStreamFv +/* 8026B2A8 00268208 90 7F 00 00 */ stw r3, 0(r31) +lbl_8026B2AC: +/* 8026B2AC 0026820C 28 1D 00 02 */ cmplwi r29, 2 +/* 8026B2B0 00268210 40 81 01 9C */ ble lbl_8026B44C +/* 8026B2B4 00268214 38 00 00 00 */ li r0, 0 +/* 8026B2B8 00268218 7F C3 F3 78 */ mr r3, r30 +/* 8026B2BC 0026821C 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 8026B2C0 00268220 90 01 00 FC */ stw r0, 0xfc(r1) +/* 8026B2C4 00268224 90 01 01 00 */ stw r0, 0x100(r1) +/* 8026B2C8 00268228 48 0D 39 BD */ bl ReadLong__12CInputStreamFv +/* 8026B2CC 0026822C 7C 7A 1B 78 */ mr r26, r3 +/* 8026B2D0 00268230 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8026B2D4 00268234 7F 44 D3 78 */ mr r4, r26 +/* 8026B2D8 00268238 4B DE 50 71 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B2DC 0026823C 3B 60 00 00 */ li r27, 0 +/* 8026B2E0 00268240 48 00 00 64 */ b lbl_8026B344 +lbl_8026B2E4: +/* 8026B2E4 00268244 7F C4 F3 78 */ mr r4, r30 +/* 8026B2E8 00268248 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8026B2EC 0026824C 4B EA F1 75 */ bl __ct__9TEditorIdFR12CInputStream +/* 8026B2F0 00268250 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B2F4 00268254 80 A1 00 FC */ lwz r5, 0xfc(r1) +/* 8026B2F8 00268258 7C 00 28 00 */ cmpw r0, r5 +/* 8026B2FC 0026825C 41 80 00 1C */ blt lbl_8026B318 +/* 8026B300 00268260 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B304 00268264 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8026B308 00268268 38 80 00 04 */ li r4, 4 +/* 8026B30C 0026826C 41 82 00 08 */ beq lbl_8026B314 +/* 8026B310 00268270 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B314: +/* 8026B314 00268274 4B DE 50 35 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +lbl_8026B318: +/* 8026B318 00268278 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B31C 0026827C 80 61 01 00 */ lwz r3, 0x100(r1) +/* 8026B320 00268280 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B324 00268284 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B328 00268288 41 82 00 0C */ beq lbl_8026B334 +/* 8026B32C 0026828C 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 8026B330 00268290 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B334: +/* 8026B334 00268294 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 8026B338 00268298 3B 7B 00 01 */ addi r27, r27, 1 +/* 8026B33C 0026829C 38 03 00 01 */ addi r0, r3, 1 +/* 8026B340 002682A0 90 01 00 F8 */ stw r0, 0xf8(r1) +lbl_8026B344: +/* 8026B344 002682A4 7C 1B D0 00 */ cmpw r27, r26 +/* 8026B348 002682A8 41 80 FF 9C */ blt lbl_8026B2E4 +/* 8026B34C 002682AC 38 7F 00 04 */ addi r3, r31, 4 +/* 8026B350 002682B0 38 01 00 F4 */ addi r0, r1, 0xf4 +/* 8026B354 002682B4 7C 03 00 40 */ cmplw r3, r0 +/* 8026B358 002682B8 41 82 00 B4 */ beq lbl_8026B40C +/* 8026B35C 002682BC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8026B360 002682C0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8026B364 002682C4 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B368 002682C8 7C 03 02 14 */ add r0, r3, r0 +/* 8026B36C 002682CC 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8026B370 002682D0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8026B374 002682D4 90 01 00 50 */ stw r0, 0x50(r1) +/* 8026B378 002682D8 90 61 00 48 */ stw r3, 0x48(r1) +/* 8026B37C 002682DC 48 00 00 08 */ b lbl_8026B384 +lbl_8026B380: +/* 8026B380 002682E0 38 63 00 04 */ addi r3, r3, 4 +lbl_8026B384: +/* 8026B384 002682E4 7C 03 00 40 */ cmplw r3, r0 +/* 8026B388 002682E8 40 82 FF F8 */ bne lbl_8026B380 +/* 8026B38C 002682EC 38 00 00 00 */ li r0, 0 +/* 8026B390 002682F0 90 1F 00 08 */ stw r0, 8(r31) +/* 8026B394 002682F4 80 81 00 F8 */ lwz r4, 0xf8(r1) +/* 8026B398 002682F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B39C 002682FC 40 82 00 28 */ bne lbl_8026B3C4 +/* 8026B3A0 00268300 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8026B3A4 00268304 28 03 00 00 */ cmplwi r3, 0 +/* 8026B3A8 00268308 41 82 00 08 */ beq lbl_8026B3B0 +/* 8026B3AC 0026830C 48 0A A5 85 */ bl Free__7CMemoryFPCv +lbl_8026B3B0: +/* 8026B3B0 00268310 38 00 00 00 */ li r0, 0 +/* 8026B3B4 00268314 90 1F 00 08 */ stw r0, 8(r31) +/* 8026B3B8 00268318 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8026B3BC 0026831C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8026B3C0 00268320 48 00 00 4C */ b lbl_8026B40C +lbl_8026B3C4: +/* 8026B3C4 00268324 38 7F 00 04 */ addi r3, r31, 4 +/* 8026B3C8 00268328 4B DE 4F 81 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B3CC 0026832C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B3D0 00268330 80 A1 01 00 */ lwz r5, 0x100(r1) +/* 8026B3D4 00268334 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B3D8 00268338 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8026B3DC 0026833C 7C 85 02 14 */ add r4, r5, r0 +/* 8026B3E0 00268340 48 00 00 1C */ b lbl_8026B3FC +lbl_8026B3E4: +/* 8026B3E4 00268344 28 03 00 00 */ cmplwi r3, 0 +/* 8026B3E8 00268348 41 82 00 0C */ beq lbl_8026B3F4 +/* 8026B3EC 0026834C 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B3F0 00268350 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B3F4: +/* 8026B3F4 00268354 38 63 00 04 */ addi r3, r3, 4 +/* 8026B3F8 00268358 38 A5 00 04 */ addi r5, r5, 4 +lbl_8026B3FC: +/* 8026B3FC 0026835C 7C 05 20 40 */ cmplw r5, r4 +/* 8026B400 00268360 40 82 FF E4 */ bne lbl_8026B3E4 +/* 8026B404 00268364 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B408 00268368 90 1F 00 08 */ stw r0, 8(r31) +lbl_8026B40C: +/* 8026B40C 0026836C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B410 00268370 80 61 01 00 */ lwz r3, 0x100(r1) +/* 8026B414 00268374 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B418 00268378 7C 03 02 14 */ add r0, r3, r0 +/* 8026B41C 0026837C 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 8026B420 00268380 7C 64 1B 78 */ mr r4, r3 +/* 8026B424 00268384 90 01 00 AC */ stw r0, 0xac(r1) +/* 8026B428 00268388 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8026B42C 0026838C 90 61 00 A0 */ stw r3, 0xa0(r1) +/* 8026B430 00268390 48 00 00 08 */ b lbl_8026B438 +lbl_8026B434: +/* 8026B434 00268394 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B438: +/* 8026B438 00268398 7C 04 00 40 */ cmplw r4, r0 +/* 8026B43C 0026839C 40 82 FF F8 */ bne lbl_8026B434 +/* 8026B440 002683A0 28 03 00 00 */ cmplwi r3, 0 +/* 8026B444 002683A4 41 82 00 08 */ beq lbl_8026B44C +/* 8026B448 002683A8 48 0A A4 E9 */ bl Free__7CMemoryFPCv +lbl_8026B44C: +/* 8026B44C 002683AC 28 1D 00 02 */ cmplwi r29, 2 +/* 8026B450 002683B0 40 81 01 9C */ ble lbl_8026B5EC +/* 8026B454 002683B4 38 00 00 00 */ li r0, 0 +/* 8026B458 002683B8 7F C3 F3 78 */ mr r3, r30 +/* 8026B45C 002683BC 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 8026B460 002683C0 90 01 00 EC */ stw r0, 0xec(r1) +/* 8026B464 002683C4 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 8026B468 002683C8 48 0D 38 1D */ bl ReadLong__12CInputStreamFv +/* 8026B46C 002683CC 7C 7A 1B 78 */ mr r26, r3 +/* 8026B470 002683D0 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8026B474 002683D4 7F 44 D3 78 */ mr r4, r26 +/* 8026B478 002683D8 4B DE 4E D1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B47C 002683DC 3B 60 00 00 */ li r27, 0 +/* 8026B480 002683E0 48 00 00 64 */ b lbl_8026B4E4 +lbl_8026B484: +/* 8026B484 002683E4 7F C4 F3 78 */ mr r4, r30 +/* 8026B488 002683E8 38 61 00 9C */ addi r3, r1, 0x9c +/* 8026B48C 002683EC 4B EA EF D5 */ bl __ct__9TEditorIdFR12CInputStream +/* 8026B490 002683F0 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B494 002683F4 80 A1 00 EC */ lwz r5, 0xec(r1) +/* 8026B498 002683F8 7C 00 28 00 */ cmpw r0, r5 +/* 8026B49C 002683FC 41 80 00 1C */ blt lbl_8026B4B8 +/* 8026B4A0 00268400 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B4A4 00268404 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8026B4A8 00268408 38 80 00 04 */ li r4, 4 +/* 8026B4AC 0026840C 41 82 00 08 */ beq lbl_8026B4B4 +/* 8026B4B0 00268410 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B4B4: +/* 8026B4B4 00268414 4B DE 4E 95 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +lbl_8026B4B8: +/* 8026B4B8 00268418 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B4BC 0026841C 80 61 00 F0 */ lwz r3, 0xf0(r1) +/* 8026B4C0 00268420 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B4C4 00268424 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B4C8 00268428 41 82 00 0C */ beq lbl_8026B4D4 +/* 8026B4CC 0026842C 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 8026B4D0 00268430 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B4D4: +/* 8026B4D4 00268434 80 61 00 E8 */ lwz r3, 0xe8(r1) +/* 8026B4D8 00268438 3B 7B 00 01 */ addi r27, r27, 1 +/* 8026B4DC 0026843C 38 03 00 01 */ addi r0, r3, 1 +/* 8026B4E0 00268440 90 01 00 E8 */ stw r0, 0xe8(r1) +lbl_8026B4E4: +/* 8026B4E4 00268444 7C 1B D0 00 */ cmpw r27, r26 +/* 8026B4E8 00268448 41 80 FF 9C */ blt lbl_8026B484 +/* 8026B4EC 0026844C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8026B4F0 00268450 38 01 00 E4 */ addi r0, r1, 0xe4 +/* 8026B4F4 00268454 7C 03 00 40 */ cmplw r3, r0 +/* 8026B4F8 00268458 41 82 00 B4 */ beq lbl_8026B5AC +/* 8026B4FC 0026845C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8026B500 00268460 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8026B504 00268464 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B508 00268468 7C 03 02 14 */ add r0, r3, r0 +/* 8026B50C 0026846C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8026B510 00268470 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026B514 00268474 90 01 00 40 */ stw r0, 0x40(r1) +/* 8026B518 00268478 90 61 00 38 */ stw r3, 0x38(r1) +/* 8026B51C 0026847C 48 00 00 08 */ b lbl_8026B524 +lbl_8026B520: +/* 8026B520 00268480 38 63 00 04 */ addi r3, r3, 4 +lbl_8026B524: +/* 8026B524 00268484 7C 03 00 40 */ cmplw r3, r0 +/* 8026B528 00268488 40 82 FF F8 */ bne lbl_8026B520 +/* 8026B52C 0026848C 38 00 00 00 */ li r0, 0 +/* 8026B530 00268490 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8026B534 00268494 80 81 00 E8 */ lwz r4, 0xe8(r1) +/* 8026B538 00268498 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B53C 0026849C 40 82 00 28 */ bne lbl_8026B564 +/* 8026B540 002684A0 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8026B544 002684A4 28 03 00 00 */ cmplwi r3, 0 +/* 8026B548 002684A8 41 82 00 08 */ beq lbl_8026B550 +/* 8026B54C 002684AC 48 0A A3 E5 */ bl Free__7CMemoryFPCv +lbl_8026B550: +/* 8026B550 002684B0 38 00 00 00 */ li r0, 0 +/* 8026B554 002684B4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8026B558 002684B8 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8026B55C 002684BC 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8026B560 002684C0 48 00 00 4C */ b lbl_8026B5AC +lbl_8026B564: +/* 8026B564 002684C4 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8026B568 002684C8 4B DE 4D E1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B56C 002684CC 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B570 002684D0 80 A1 00 F0 */ lwz r5, 0xf0(r1) +/* 8026B574 002684D4 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B578 002684D8 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8026B57C 002684DC 7C 85 02 14 */ add r4, r5, r0 +/* 8026B580 002684E0 48 00 00 1C */ b lbl_8026B59C +lbl_8026B584: +/* 8026B584 002684E4 28 03 00 00 */ cmplwi r3, 0 +/* 8026B588 002684E8 41 82 00 0C */ beq lbl_8026B594 +/* 8026B58C 002684EC 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B590 002684F0 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B594: +/* 8026B594 002684F4 38 63 00 04 */ addi r3, r3, 4 +/* 8026B598 002684F8 38 A5 00 04 */ addi r5, r5, 4 +lbl_8026B59C: +/* 8026B59C 002684FC 7C 05 20 40 */ cmplw r5, r4 +/* 8026B5A0 00268500 40 82 FF E4 */ bne lbl_8026B584 +/* 8026B5A4 00268504 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B5A8 00268508 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_8026B5AC: +/* 8026B5AC 0026850C 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B5B0 00268510 80 61 00 F0 */ lwz r3, 0xf0(r1) +/* 8026B5B4 00268514 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B5B8 00268518 7C 03 02 14 */ add r0, r3, r0 +/* 8026B5BC 0026851C 90 61 00 90 */ stw r3, 0x90(r1) +/* 8026B5C0 00268520 7C 64 1B 78 */ mr r4, r3 +/* 8026B5C4 00268524 90 01 00 98 */ stw r0, 0x98(r1) +/* 8026B5C8 00268528 90 01 00 94 */ stw r0, 0x94(r1) +/* 8026B5CC 0026852C 90 61 00 8C */ stw r3, 0x8c(r1) +/* 8026B5D0 00268530 48 00 00 08 */ b lbl_8026B5D8 +lbl_8026B5D4: +/* 8026B5D4 00268534 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B5D8: +/* 8026B5D8 00268538 7C 04 00 40 */ cmplw r4, r0 +/* 8026B5DC 0026853C 40 82 FF F8 */ bne lbl_8026B5D4 +/* 8026B5E0 00268540 28 03 00 00 */ cmplwi r3, 0 +/* 8026B5E4 00268544 41 82 00 08 */ beq lbl_8026B5EC +/* 8026B5E8 00268548 48 0A A3 49 */ bl Free__7CMemoryFPCv +lbl_8026B5EC: +/* 8026B5EC 0026854C 38 00 00 00 */ li r0, 0 +/* 8026B5F0 00268550 7F C3 F3 78 */ mr r3, r30 +/* 8026B5F4 00268554 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8026B5F8 00268558 90 01 00 DC */ stw r0, 0xdc(r1) +/* 8026B5FC 0026855C 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 8026B600 00268560 48 0D 36 85 */ bl ReadLong__12CInputStreamFv +/* 8026B604 00268564 7C 79 1B 78 */ mr r25, r3 +/* 8026B608 00268568 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8026B60C 0026856C 7F 24 CB 78 */ mr r4, r25 +/* 8026B610 00268570 48 00 04 ED */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +/* 8026B614 00268574 3B 40 00 00 */ li r26, 0 +/* 8026B618 00268578 48 00 00 70 */ b lbl_8026B688 +lbl_8026B61C: +/* 8026B61C 0026857C 7F C3 F3 78 */ mr r3, r30 +/* 8026B620 00268580 48 0D 36 65 */ bl ReadLong__12CInputStreamFv +/* 8026B624 00268584 7C 7B 1B 78 */ mr r27, r3 +/* 8026B628 00268588 7F C3 F3 78 */ mr r3, r30 +/* 8026B62C 0026858C 48 0D 36 59 */ bl ReadLong__12CInputStreamFv +/* 8026B630 00268590 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B634 00268594 7C 7C 1B 78 */ mr r28, r3 +/* 8026B638 00268598 80 A1 00 DC */ lwz r5, 0xdc(r1) +/* 8026B63C 0026859C 7C 00 28 00 */ cmpw r0, r5 +/* 8026B640 002685A0 41 80 00 1C */ blt lbl_8026B65C +/* 8026B644 002685A4 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B648 002685A8 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8026B64C 002685AC 38 80 00 04 */ li r4, 4 +/* 8026B650 002685B0 41 82 00 08 */ beq lbl_8026B658 +/* 8026B654 002685B4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B658: +/* 8026B658 002685B8 48 00 04 A5 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +lbl_8026B65C: +/* 8026B65C 002685BC 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B660 002685C0 80 61 00 E0 */ lwz r3, 0xe0(r1) +/* 8026B664 002685C4 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B668 002685C8 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B66C 002685CC 41 82 00 0C */ beq lbl_8026B678 +/* 8026B670 002685D0 93 63 00 00 */ stw r27, 0(r3) +/* 8026B674 002685D4 93 83 00 04 */ stw r28, 4(r3) +lbl_8026B678: +/* 8026B678 002685D8 80 61 00 D8 */ lwz r3, 0xd8(r1) +/* 8026B67C 002685DC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026B680 002685E0 38 03 00 01 */ addi r0, r3, 1 +/* 8026B684 002685E4 90 01 00 D8 */ stw r0, 0xd8(r1) +lbl_8026B688: +/* 8026B688 002685E8 7C 1A C8 00 */ cmpw r26, r25 +/* 8026B68C 002685EC 41 80 FF 90 */ blt lbl_8026B61C +/* 8026B690 002685F0 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8026B694 002685F4 38 01 00 D4 */ addi r0, r1, 0xd4 +/* 8026B698 002685F8 7C 03 00 40 */ cmplw r3, r0 +/* 8026B69C 002685FC 41 82 00 BC */ beq lbl_8026B758 +/* 8026B6A0 00268600 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8026B6A4 00268604 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8026B6A8 00268608 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B6AC 0026860C 7C 03 02 14 */ add r0, r3, r0 +/* 8026B6B0 00268610 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8026B6B4 00268614 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026B6B8 00268618 90 01 00 30 */ stw r0, 0x30(r1) +/* 8026B6BC 0026861C 90 61 00 28 */ stw r3, 0x28(r1) +/* 8026B6C0 00268620 48 00 00 08 */ b lbl_8026B6C8 +lbl_8026B6C4: +/* 8026B6C4 00268624 38 63 00 08 */ addi r3, r3, 8 +lbl_8026B6C8: +/* 8026B6C8 00268628 7C 03 00 40 */ cmplw r3, r0 +/* 8026B6CC 0026862C 40 82 FF F8 */ bne lbl_8026B6C4 +/* 8026B6D0 00268630 38 00 00 00 */ li r0, 0 +/* 8026B6D4 00268634 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026B6D8 00268638 80 81 00 D8 */ lwz r4, 0xd8(r1) +/* 8026B6DC 0026863C 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B6E0 00268640 40 82 00 28 */ bne lbl_8026B708 +/* 8026B6E4 00268644 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8026B6E8 00268648 28 03 00 00 */ cmplwi r3, 0 +/* 8026B6EC 0026864C 41 82 00 08 */ beq lbl_8026B6F4 +/* 8026B6F0 00268650 48 0A A2 41 */ bl Free__7CMemoryFPCv +lbl_8026B6F4: +/* 8026B6F4 00268654 38 00 00 00 */ li r0, 0 +/* 8026B6F8 00268658 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026B6FC 0026865C 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8026B700 00268660 90 1F 00 30 */ stw r0, 0x30(r31) +/* 8026B704 00268664 48 00 00 54 */ b lbl_8026B758 +lbl_8026B708: +/* 8026B708 00268668 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8026B70C 0026866C 48 00 03 F1 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +/* 8026B710 00268670 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B714 00268674 80 A1 00 E0 */ lwz r5, 0xe0(r1) +/* 8026B718 00268678 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B71C 0026867C 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8026B720 00268680 7C 85 02 14 */ add r4, r5, r0 +/* 8026B724 00268684 48 00 00 24 */ b lbl_8026B748 +lbl_8026B728: +/* 8026B728 00268688 28 03 00 00 */ cmplwi r3, 0 +/* 8026B72C 0026868C 41 82 00 14 */ beq lbl_8026B740 +/* 8026B730 00268690 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B734 00268694 90 03 00 00 */ stw r0, 0(r3) +/* 8026B738 00268698 80 05 00 04 */ lwz r0, 4(r5) +/* 8026B73C 0026869C 90 03 00 04 */ stw r0, 4(r3) +lbl_8026B740: +/* 8026B740 002686A0 38 63 00 08 */ addi r3, r3, 8 +/* 8026B744 002686A4 38 A5 00 08 */ addi r5, r5, 8 +lbl_8026B748: +/* 8026B748 002686A8 7C 05 20 40 */ cmplw r5, r4 +/* 8026B74C 002686AC 40 82 FF DC */ bne lbl_8026B728 +/* 8026B750 002686B0 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B754 002686B4 90 1F 00 28 */ stw r0, 0x28(r31) +lbl_8026B758: +/* 8026B758 002686B8 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B75C 002686BC 80 61 00 E0 */ lwz r3, 0xe0(r1) +/* 8026B760 002686C0 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B764 002686C4 7C 03 02 14 */ add r0, r3, r0 +/* 8026B768 002686C8 90 61 00 80 */ stw r3, 0x80(r1) +/* 8026B76C 002686CC 7C 64 1B 78 */ mr r4, r3 +/* 8026B770 002686D0 90 01 00 88 */ stw r0, 0x88(r1) +/* 8026B774 002686D4 90 01 00 84 */ stw r0, 0x84(r1) +/* 8026B778 002686D8 90 61 00 7C */ stw r3, 0x7c(r1) +/* 8026B77C 002686DC 48 00 00 08 */ b lbl_8026B784 +lbl_8026B780: +/* 8026B780 002686E0 38 84 00 08 */ addi r4, r4, 8 +lbl_8026B784: +/* 8026B784 002686E4 7C 04 00 40 */ cmplw r4, r0 +/* 8026B788 002686E8 40 82 FF F8 */ bne lbl_8026B780 +/* 8026B78C 002686EC 28 03 00 00 */ cmplwi r3, 0 +/* 8026B790 002686F0 41 82 00 08 */ beq lbl_8026B798 +/* 8026B794 002686F4 48 0A A1 9D */ bl Free__7CMemoryFPCv +lbl_8026B798: +/* 8026B798 002686F8 38 00 00 00 */ li r0, 0 +/* 8026B79C 002686FC 7F C3 F3 78 */ mr r3, r30 +/* 8026B7A0 00268700 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 8026B7A4 00268704 90 01 00 CC */ stw r0, 0xcc(r1) +/* 8026B7A8 00268708 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 8026B7AC 0026870C 48 0D 34 D9 */ bl ReadLong__12CInputStreamFv +/* 8026B7B0 00268710 7C 79 1B 78 */ mr r25, r3 +/* 8026B7B4 00268714 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8026B7B8 00268718 7F 24 CB 78 */ mr r4, r25 +/* 8026B7BC 0026871C 4B DE 4B 8D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B7C0 00268720 3B 40 00 00 */ li r26, 0 +/* 8026B7C4 00268724 48 00 00 64 */ b lbl_8026B828 +lbl_8026B7C8: +/* 8026B7C8 00268728 7F C4 F3 78 */ mr r4, r30 +/* 8026B7CC 0026872C 38 61 00 78 */ addi r3, r1, 0x78 +/* 8026B7D0 00268730 4B EA EC 91 */ bl __ct__9TEditorIdFR12CInputStream +/* 8026B7D4 00268734 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B7D8 00268738 80 A1 00 CC */ lwz r5, 0xcc(r1) +/* 8026B7DC 0026873C 7C 00 28 00 */ cmpw r0, r5 +/* 8026B7E0 00268740 41 80 00 1C */ blt lbl_8026B7FC +/* 8026B7E4 00268744 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B7E8 00268748 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8026B7EC 0026874C 38 80 00 04 */ li r4, 4 +/* 8026B7F0 00268750 41 82 00 08 */ beq lbl_8026B7F8 +/* 8026B7F4 00268754 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B7F8: +/* 8026B7F8 00268758 4B DE 4B 51 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +lbl_8026B7FC: +/* 8026B7FC 0026875C 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B800 00268760 80 61 00 D0 */ lwz r3, 0xd0(r1) +/* 8026B804 00268764 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B808 00268768 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B80C 0026876C 41 82 00 0C */ beq lbl_8026B818 +/* 8026B810 00268770 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8026B814 00268774 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B818: +/* 8026B818 00268778 80 61 00 C8 */ lwz r3, 0xc8(r1) +/* 8026B81C 0026877C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026B820 00268780 38 03 00 01 */ addi r0, r3, 1 +/* 8026B824 00268784 90 01 00 C8 */ stw r0, 0xc8(r1) +lbl_8026B828: +/* 8026B828 00268788 7C 1A C8 00 */ cmpw r26, r25 +/* 8026B82C 0026878C 41 80 FF 9C */ blt lbl_8026B7C8 +/* 8026B830 00268790 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8026B834 00268794 38 01 00 C4 */ addi r0, r1, 0xc4 +/* 8026B838 00268798 7C 03 00 40 */ cmplw r3, r0 +/* 8026B83C 0026879C 41 82 00 B4 */ beq lbl_8026B8F0 +/* 8026B840 002687A0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026B844 002687A4 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026B848 002687A8 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B84C 002687AC 7C 03 02 14 */ add r0, r3, r0 +/* 8026B850 002687B0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8026B854 002687B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026B858 002687B8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026B85C 002687BC 90 61 00 18 */ stw r3, 0x18(r1) +/* 8026B860 002687C0 48 00 00 08 */ b lbl_8026B868 +lbl_8026B864: +/* 8026B864 002687C4 38 63 00 04 */ addi r3, r3, 4 +lbl_8026B868: +/* 8026B868 002687C8 7C 03 00 40 */ cmplw r3, r0 +/* 8026B86C 002687CC 40 82 FF F8 */ bne lbl_8026B864 +/* 8026B870 002687D0 38 00 00 00 */ li r0, 0 +/* 8026B874 002687D4 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026B878 002687D8 80 81 00 C8 */ lwz r4, 0xc8(r1) +/* 8026B87C 002687DC 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B880 002687E0 40 82 00 28 */ bne lbl_8026B8A8 +/* 8026B884 002687E4 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026B888 002687E8 28 03 00 00 */ cmplwi r3, 0 +/* 8026B88C 002687EC 41 82 00 08 */ beq lbl_8026B894 +/* 8026B890 002687F0 48 0A A0 A1 */ bl Free__7CMemoryFPCv +lbl_8026B894: +/* 8026B894 002687F4 38 00 00 00 */ li r0, 0 +/* 8026B898 002687F8 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026B89C 002687FC 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 8026B8A0 00268800 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8026B8A4 00268804 48 00 00 4C */ b lbl_8026B8F0 +lbl_8026B8A8: +/* 8026B8A8 00268808 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8026B8AC 0026880C 4B DE 4A 9D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B8B0 00268810 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B8B4 00268814 80 A1 00 D0 */ lwz r5, 0xd0(r1) +/* 8026B8B8 00268818 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B8BC 0026881C 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026B8C0 00268820 7C 85 02 14 */ add r4, r5, r0 +/* 8026B8C4 00268824 48 00 00 1C */ b lbl_8026B8E0 +lbl_8026B8C8: +/* 8026B8C8 00268828 28 03 00 00 */ cmplwi r3, 0 +/* 8026B8CC 0026882C 41 82 00 0C */ beq lbl_8026B8D8 +/* 8026B8D0 00268830 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B8D4 00268834 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B8D8: +/* 8026B8D8 00268838 38 63 00 04 */ addi r3, r3, 4 +/* 8026B8DC 0026883C 38 A5 00 04 */ addi r5, r5, 4 +lbl_8026B8E0: +/* 8026B8E0 00268840 7C 05 20 40 */ cmplw r5, r4 +/* 8026B8E4 00268844 40 82 FF E4 */ bne lbl_8026B8C8 +/* 8026B8E8 00268848 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B8EC 0026884C 90 1F 00 38 */ stw r0, 0x38(r31) +lbl_8026B8F0: +/* 8026B8F0 00268850 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B8F4 00268854 80 61 00 D0 */ lwz r3, 0xd0(r1) +/* 8026B8F8 00268858 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B8FC 0026885C 7C 03 02 14 */ add r0, r3, r0 +/* 8026B900 00268860 90 61 00 6C */ stw r3, 0x6c(r1) +/* 8026B904 00268864 7C 64 1B 78 */ mr r4, r3 +/* 8026B908 00268868 90 01 00 74 */ stw r0, 0x74(r1) +/* 8026B90C 0026886C 90 01 00 70 */ stw r0, 0x70(r1) +/* 8026B910 00268870 90 61 00 68 */ stw r3, 0x68(r1) +/* 8026B914 00268874 48 00 00 08 */ b lbl_8026B91C +lbl_8026B918: +/* 8026B918 00268878 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B91C: +/* 8026B91C 0026887C 7C 04 00 40 */ cmplw r4, r0 +/* 8026B920 00268880 40 82 FF F8 */ bne lbl_8026B918 +/* 8026B924 00268884 28 03 00 00 */ cmplwi r3, 0 +/* 8026B928 00268888 41 82 00 08 */ beq lbl_8026B930 +/* 8026B92C 0026888C 48 0A A0 05 */ bl Free__7CMemoryFPCv +lbl_8026B930: +/* 8026B930 00268890 28 1D 00 00 */ cmplwi r29, 0 +/* 8026B934 00268894 41 82 01 B0 */ beq lbl_8026BAE4 +/* 8026B938 00268898 38 00 00 00 */ li r0, 0 +/* 8026B93C 0026889C 7F C3 F3 78 */ mr r3, r30 +/* 8026B940 002688A0 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8026B944 002688A4 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8026B948 002688A8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8026B94C 002688AC 48 0D 33 39 */ bl ReadLong__12CInputStreamFv +/* 8026B950 002688B0 7C 79 1B 78 */ mr r25, r3 +/* 8026B954 002688B4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8026B958 002688B8 7F 24 CB 78 */ mr r4, r25 +/* 8026B95C 002688BC 4B D9 D0 F1 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +/* 8026B960 002688C0 3B 40 00 00 */ li r26, 0 +/* 8026B964 002688C4 48 00 00 70 */ b lbl_8026B9D4 +lbl_8026B968: +/* 8026B968 002688C8 7F C3 F3 78 */ mr r3, r30 +/* 8026B96C 002688CC 48 0D 33 19 */ bl ReadLong__12CInputStreamFv +/* 8026B970 002688D0 7C 7C 1B 78 */ mr r28, r3 +/* 8026B974 002688D4 7F C3 F3 78 */ mr r3, r30 +/* 8026B978 002688D8 48 0D 33 0D */ bl ReadLong__12CInputStreamFv +/* 8026B97C 002688DC 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026B980 002688E0 7C 7D 1B 78 */ mr r29, r3 +/* 8026B984 002688E4 80 A1 00 BC */ lwz r5, 0xbc(r1) +/* 8026B988 002688E8 7C 00 28 00 */ cmpw r0, r5 +/* 8026B98C 002688EC 41 80 00 1C */ blt lbl_8026B9A8 +/* 8026B990 002688F0 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B994 002688F4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8026B998 002688F8 38 80 00 04 */ li r4, 4 +/* 8026B99C 002688FC 41 82 00 08 */ beq lbl_8026B9A4 +/* 8026B9A0 00268900 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B9A4: +/* 8026B9A4 00268904 4B D9 D0 A9 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +lbl_8026B9A8: +/* 8026B9A8 00268908 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026B9AC 0026890C 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 8026B9B0 00268910 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B9B4 00268914 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B9B8 00268918 41 82 00 0C */ beq lbl_8026B9C4 +/* 8026B9BC 0026891C 93 83 00 00 */ stw r28, 0(r3) +/* 8026B9C0 00268920 93 A3 00 04 */ stw r29, 4(r3) +lbl_8026B9C4: +/* 8026B9C4 00268924 80 61 00 B8 */ lwz r3, 0xb8(r1) +/* 8026B9C8 00268928 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026B9CC 0026892C 38 03 00 01 */ addi r0, r3, 1 +/* 8026B9D0 00268930 90 01 00 B8 */ stw r0, 0xb8(r1) +lbl_8026B9D4: +/* 8026B9D4 00268934 7C 1A C8 00 */ cmpw r26, r25 +/* 8026B9D8 00268938 41 80 FF 90 */ blt lbl_8026B968 +/* 8026B9DC 0026893C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8026B9E0 00268940 38 01 00 B4 */ addi r0, r1, 0xb4 +/* 8026B9E4 00268944 7C 03 00 40 */ cmplw r3, r0 +/* 8026B9E8 00268948 41 82 00 BC */ beq lbl_8026BAA4 +/* 8026B9EC 0026894C 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8026B9F0 00268950 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8026B9F4 00268954 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B9F8 00268958 7C 03 02 14 */ add r0, r3, r0 +/* 8026B9FC 0026895C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026BA00 00268960 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026BA04 00268964 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026BA08 00268968 90 61 00 08 */ stw r3, 8(r1) +/* 8026BA0C 0026896C 48 00 00 08 */ b lbl_8026BA14 +lbl_8026BA10: +/* 8026BA10 00268970 38 63 00 08 */ addi r3, r3, 8 +lbl_8026BA14: +/* 8026BA14 00268974 7C 03 00 40 */ cmplw r3, r0 +/* 8026BA18 00268978 40 82 FF F8 */ bne lbl_8026BA10 +/* 8026BA1C 0026897C 38 00 00 00 */ li r0, 0 +/* 8026BA20 00268980 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8026BA24 00268984 80 81 00 B8 */ lwz r4, 0xb8(r1) +/* 8026BA28 00268988 2C 04 00 00 */ cmpwi r4, 0 +/* 8026BA2C 0026898C 40 82 00 28 */ bne lbl_8026BA54 +/* 8026BA30 00268990 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8026BA34 00268994 28 03 00 00 */ cmplwi r3, 0 +/* 8026BA38 00268998 41 82 00 08 */ beq lbl_8026BA40 +/* 8026BA3C 0026899C 48 0A 9E F5 */ bl Free__7CMemoryFPCv +lbl_8026BA40: +/* 8026BA40 002689A0 38 00 00 00 */ li r0, 0 +/* 8026BA44 002689A4 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8026BA48 002689A8 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8026BA4C 002689AC 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8026BA50 002689B0 48 00 00 54 */ b lbl_8026BAA4 +lbl_8026BA54: +/* 8026BA54 002689B4 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8026BA58 002689B8 4B D9 CF F5 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +/* 8026BA5C 002689BC 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026BA60 002689C0 80 A1 00 C0 */ lwz r5, 0xc0(r1) +/* 8026BA64 002689C4 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BA68 002689C8 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8026BA6C 002689CC 7C 85 02 14 */ add r4, r5, r0 +/* 8026BA70 002689D0 48 00 00 24 */ b lbl_8026BA94 +lbl_8026BA74: +/* 8026BA74 002689D4 28 03 00 00 */ cmplwi r3, 0 +/* 8026BA78 002689D8 41 82 00 14 */ beq lbl_8026BA8C +/* 8026BA7C 002689DC 80 05 00 00 */ lwz r0, 0(r5) +/* 8026BA80 002689E0 90 03 00 00 */ stw r0, 0(r3) +/* 8026BA84 002689E4 80 05 00 04 */ lwz r0, 4(r5) +/* 8026BA88 002689E8 90 03 00 04 */ stw r0, 4(r3) +lbl_8026BA8C: +/* 8026BA8C 002689EC 38 63 00 08 */ addi r3, r3, 8 +/* 8026BA90 002689F0 38 A5 00 08 */ addi r5, r5, 8 +lbl_8026BA94: +/* 8026BA94 002689F4 7C 05 20 40 */ cmplw r5, r4 +/* 8026BA98 002689F8 40 82 FF DC */ bne lbl_8026BA74 +/* 8026BA9C 002689FC 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026BAA0 00268A00 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_8026BAA4: +/* 8026BAA4 00268A04 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026BAA8 00268A08 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 8026BAAC 00268A0C 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BAB0 00268A10 7C 03 02 14 */ add r0, r3, r0 +/* 8026BAB4 00268A14 90 61 00 5C */ stw r3, 0x5c(r1) +/* 8026BAB8 00268A18 7C 64 1B 78 */ mr r4, r3 +/* 8026BABC 00268A1C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8026BAC0 00268A20 90 01 00 60 */ stw r0, 0x60(r1) +/* 8026BAC4 00268A24 90 61 00 58 */ stw r3, 0x58(r1) +/* 8026BAC8 00268A28 48 00 00 08 */ b lbl_8026BAD0 +lbl_8026BACC: +/* 8026BACC 00268A2C 38 84 00 08 */ addi r4, r4, 8 +lbl_8026BAD0: +/* 8026BAD0 00268A30 7C 04 00 40 */ cmplw r4, r0 +/* 8026BAD4 00268A34 40 82 FF F8 */ bne lbl_8026BACC +/* 8026BAD8 00268A38 28 03 00 00 */ cmplwi r3, 0 +/* 8026BADC 00268A3C 41 82 00 08 */ beq lbl_8026BAE4 +/* 8026BAE0 00268A40 48 0A 9E 51 */ bl Free__7CMemoryFPCv +lbl_8026BAE4: +/* 8026BAE4 00268A44 7F E3 FB 78 */ mr r3, r31 +/* 8026BAE8 00268A48 BB 21 01 14 */ lmw r25, 0x114(r1) +/* 8026BAEC 00268A4C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8026BAF0 00268A50 7C 08 03 A6 */ mtlr r0 +/* 8026BAF4 00268A54 38 21 01 30 */ addi r1, r1, 0x130 +/* 8026BAF8 00268A58 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi": +/* 8026BAFC 00268A5C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026BB00 00268A60 7C 08 02 A6 */ mflr r0 +/* 8026BB04 00268A64 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026BB08 00268A68 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8026BB0C 00268A6C 7C 9F 23 78 */ mr r31, r4 +/* 8026BB10 00268A70 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8026BB14 00268A74 7C 7E 1B 78 */ mr r30, r3 +/* 8026BB18 00268A78 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8026BB1C 00268A7C 80 03 00 08 */ lwz r0, 8(r3) +/* 8026BB20 00268A80 7C 1F 00 00 */ cmpw r31, r0 +/* 8026BB24 00268A84 40 81 00 B0 */ ble lbl_8026BBD4 +/* 8026BB28 00268A88 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8026BB2C 00268A8C 40 82 00 0C */ bne lbl_8026BB38 +/* 8026BB30 00268A90 3B A0 00 00 */ li r29, 0 +/* 8026BB34 00268A94 48 00 00 18 */ b lbl_8026BB4C +lbl_8026BB38: +/* 8026BB38 00268A98 3C 80 80 3D */ lis r4, lbl_803D5418@ha +/* 8026BB3C 00268A9C 38 A0 00 00 */ li r5, 0 +/* 8026BB40 00268AA0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l +/* 8026BB44 00268AA4 48 0A 9C D5 */ bl __nwa__FUlPCcPCc +/* 8026BB48 00268AA8 7C 7D 1B 78 */ mr r29, r3 +lbl_8026BB4C: +/* 8026BB4C 00268AAC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026BB50 00268AB0 7F A4 EB 78 */ mr r4, r29 +/* 8026BB54 00268AB4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8026BB58 00268AB8 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BB5C 00268ABC 7C 65 02 14 */ add r3, r5, r0 +/* 8026BB60 00268AC0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8026BB64 00268AC4 90 61 00 08 */ stw r3, 8(r1) +/* 8026BB68 00268AC8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026BB6C 00268ACC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8026BB70 00268AD0 48 00 00 24 */ b lbl_8026BB94 +lbl_8026BB74: +/* 8026BB74 00268AD4 28 04 00 00 */ cmplwi r4, 0 +/* 8026BB78 00268AD8 41 82 00 14 */ beq lbl_8026BB8C +/* 8026BB7C 00268ADC 80 05 00 00 */ lwz r0, 0(r5) +/* 8026BB80 00268AE0 90 04 00 00 */ stw r0, 0(r4) +/* 8026BB84 00268AE4 80 05 00 04 */ lwz r0, 4(r5) +/* 8026BB88 00268AE8 90 04 00 04 */ stw r0, 4(r4) +lbl_8026BB8C: +/* 8026BB8C 00268AEC 38 84 00 08 */ addi r4, r4, 8 +/* 8026BB90 00268AF0 38 A5 00 08 */ addi r5, r5, 8 +lbl_8026BB94: +/* 8026BB94 00268AF4 7C 05 18 40 */ cmplw r5, r3 +/* 8026BB98 00268AF8 40 82 FF DC */ bne lbl_8026BB74 +/* 8026BB9C 00268AFC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026BBA0 00268B00 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026BBA4 00268B04 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BBA8 00268B08 7C 64 1B 78 */ mr r4, r3 +/* 8026BBAC 00268B0C 7C 03 02 14 */ add r0, r3, r0 +/* 8026BBB0 00268B10 48 00 00 08 */ b lbl_8026BBB8 +lbl_8026BBB4: +/* 8026BBB4 00268B14 38 84 00 08 */ addi r4, r4, 8 +lbl_8026BBB8: +/* 8026BBB8 00268B18 7C 04 00 40 */ cmplw r4, r0 +/* 8026BBBC 00268B1C 40 82 FF F8 */ bne lbl_8026BBB4 +/* 8026BBC0 00268B20 28 03 00 00 */ cmplwi r3, 0 +/* 8026BBC4 00268B24 41 82 00 08 */ beq lbl_8026BBCC +/* 8026BBC8 00268B28 48 0A 9D 69 */ bl Free__7CMemoryFPCv +lbl_8026BBCC: +/* 8026BBCC 00268B2C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8026BBD0 00268B30 93 FE 00 08 */ stw r31, 8(r30) +lbl_8026BBD4: +/* 8026BBD4 00268B34 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026BBD8 00268B38 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026BBDC 00268B3C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8026BBE0 00268B40 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8026BBE4 00268B44 7C 08 03 A6 */ mtlr r0 +/* 8026BBE8 00268B48 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026BBEC 00268B4C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CGameHintInfo.s b/asm/Kyoto_CWD/Player/CGameHintInfo.s new file mode 100644 index 00000000..4900bc6e --- /dev/null +++ b/asm/Kyoto_CWD/Player/CGameHintInfo.s @@ -0,0 +1,1511 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FHintFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FHintFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80267144 002640A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267148 002640A8 7C 08 02 A6 */ mflr r0 +/* 8026714C 002640AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80267150 002640B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267154 002640B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267158 002640B8 7C BE 2B 78 */ mr r30, r5 +/* 8026715C 002640BC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80267160 002640C0 7C 7D 1B 78 */ mr r29, r3 +/* 80267164 002640C4 7F C3 F3 78 */ mr r3, r30 +/* 80267168 002640C8 48 0D 7B 1D */ bl ReadLong__12CInputStreamFv +/* 8026716C 002640CC 7F C3 F3 78 */ mr r3, r30 +/* 80267170 002640D0 48 0D 7B 15 */ bl ReadLong__12CInputStreamFv +/* 80267174 002640D4 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 80267178 002640D8 7C 7F 1B 78 */ mr r31, r3 +/* 8026717C 002640DC 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 80267180 002640E0 38 60 00 10 */ li r3, 0x10 +/* 80267184 002640E4 38 A0 00 00 */ li r5, 0 +/* 80267188 002640E8 48 0A E6 E5 */ bl __nw__FUlPCcPCc +/* 8026718C 002640EC 7C 64 1B 79 */ or. r4, r3, r3 +/* 80267190 002640F0 41 82 00 14 */ beq lbl_802671A4 +/* 80267194 002640F4 7F C4 F3 78 */ mr r4, r30 +/* 80267198 002640F8 7F E5 FB 78 */ mr r5, r31 +/* 8026719C 002640FC 48 00 0C FD */ bl __ct__13CGameHintInfoFR12CInputStreamUi +/* 802671A0 00264100 7C 64 1B 78 */ mr r4, r3 +lbl_802671A4: +/* 802671A4 00264104 7F A3 EB 78 */ mr r3, r29 +/* 802671A8 00264108 48 00 00 21 */ bl sub_802671c8 +/* 802671AC 0026410C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802671B0 00264110 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802671B4 00264114 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802671B8 00264118 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802671BC 0026411C 7C 08 03 A6 */ mtlr r0 +/* 802671C0 00264120 38 21 00 20 */ addi r1, r1, 0x20 +/* 802671C4 00264124 4E 80 00 20 */ blr + +.global sub_802671c8 +sub_802671c8: +/* 802671C8 00264128 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802671CC 0026412C 7C 08 02 A6 */ mflr r0 +/* 802671D0 00264130 90 01 00 24 */ stw r0, 0x24(r1) +/* 802671D4 00264134 7C 04 00 D0 */ neg r0, r4 +/* 802671D8 00264138 7C 00 23 78 */ or r0, r0, r4 +/* 802671DC 0026413C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802671E0 00264140 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802671E4 00264144 7C 7F 1B 78 */ mr r31, r3 +/* 802671E8 00264148 38 61 00 08 */ addi r3, r1, 8 +/* 802671EC 0026414C 90 81 00 14 */ stw r4, 0x14(r1) +/* 802671F0 00264150 38 81 00 10 */ addi r4, r1, 0x10 +/* 802671F4 00264154 98 01 00 10 */ stb r0, 0x10(r1) +/* 802671F8 00264158 48 00 02 FD */ bl sub_802674f4 +/* 802671FC 0026415C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80267200 00264160 38 00 00 00 */ li r0, 0 +/* 80267204 00264164 98 01 00 08 */ stb r0, 8(r1) +/* 80267208 00264168 7C 03 00 D0 */ neg r0, r3 +/* 8026720C 0026416C 7C 00 1B 78 */ or r0, r0, r3 +/* 80267210 00264170 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80267214 00264174 98 1F 00 00 */ stb r0, 0(r31) +/* 80267218 00264178 90 7F 00 04 */ stw r3, 4(r31) +/* 8026721C 0026417C 88 01 00 08 */ lbz r0, 8(r1) +/* 80267220 00264180 28 00 00 00 */ cmplwi r0, 0 +/* 80267224 00264184 41 82 00 24 */ beq lbl_80267248 +/* 80267228 00264188 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8026722C 0026418C 28 03 00 00 */ cmplwi r3, 0 +/* 80267230 00264190 41 82 00 18 */ beq lbl_80267248 +/* 80267234 00264194 81 83 00 00 */ lwz r12, 0(r3) +/* 80267238 00264198 38 80 00 01 */ li r4, 1 +/* 8026723C 0026419C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80267240 002641A0 7D 89 03 A6 */ mtctr r12 +/* 80267244 002641A4 4E 80 04 21 */ bctrl +lbl_80267248: +/* 80267248 002641A8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8026724C 002641AC 38 80 FF FF */ li r4, -1 +/* 80267250 002641B0 48 00 03 6D */ bl sub_802675bc +/* 80267254 002641B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80267258 002641B8 7F E3 FB 78 */ mr r3, r31 +/* 8026725C 002641BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80267260 002641C0 7C 08 03 A6 */ mtlr r0 +/* 80267264 002641C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80267268 002641C8 4E 80 00 20 */ blr + +.global sub_8026726c +sub_8026726c: +/* 8026726C 002641CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267270 002641D0 7C 08 02 A6 */ mflr r0 +/* 80267274 002641D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267278 002641D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026727C 002641DC 7C 9F 23 78 */ mr r31, r4 +/* 80267280 002641E0 93 C1 00 08 */ stw r30, 8(r1) +/* 80267284 002641E4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80267288 002641E8 41 82 00 58 */ beq lbl_802672E0 +/* 8026728C 002641EC 3C 60 80 3F */ lis r3, lbl_803EA0E0@ha +/* 80267290 002641F0 38 03 A0 E0 */ addi r0, r3, lbl_803EA0E0@l +/* 80267294 002641F4 90 1E 00 00 */ stw r0, 0(r30) +/* 80267298 002641F8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026729C 002641FC 28 03 00 00 */ cmplwi r3, 0 +/* 802672A0 00264200 41 82 00 0C */ beq lbl_802672AC +/* 802672A4 00264204 38 80 00 01 */ li r4, 1 +/* 802672A8 00264208 48 00 00 55 */ bl sub_802672fc +lbl_802672AC: +/* 802672AC 0026420C 28 1E 00 00 */ cmplwi r30, 0 +/* 802672B0 00264210 41 82 00 20 */ beq lbl_802672D0 +/* 802672B4 00264214 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802672B8 00264218 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802672BC 0026421C 90 1E 00 00 */ stw r0, 0(r30) +/* 802672C0 00264220 41 82 00 10 */ beq lbl_802672D0 +/* 802672C4 00264224 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802672C8 00264228 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802672CC 0026422C 90 1E 00 00 */ stw r0, 0(r30) +lbl_802672D0: +/* 802672D0 00264230 7F E0 07 35 */ extsh. r0, r31 +/* 802672D4 00264234 40 81 00 0C */ ble lbl_802672E0 +/* 802672D8 00264238 7F C3 F3 78 */ mr r3, r30 +/* 802672DC 0026423C 48 0A E6 55 */ bl Free__7CMemoryFPCv +lbl_802672E0: +/* 802672E0 00264240 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802672E4 00264244 7F C3 F3 78 */ mr r3, r30 +/* 802672E8 00264248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802672EC 0026424C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802672F0 00264250 7C 08 03 A6 */ mtlr r0 +/* 802672F4 00264254 38 21 00 10 */ addi r1, r1, 0x10 +/* 802672F8 00264258 4E 80 00 20 */ blr + +.global sub_802672fc +sub_802672fc: +/* 802672FC 0026425C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267300 00264260 7C 08 02 A6 */ mflr r0 +/* 80267304 00264264 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267308 00264268 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026730C 0026426C 7C 9F 23 78 */ mr r31, r4 +/* 80267310 00264270 93 C1 00 08 */ stw r30, 8(r1) +/* 80267314 00264274 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80267318 00264278 41 82 00 1C */ beq lbl_80267334 +/* 8026731C 0026427C 38 80 FF FF */ li r4, -1 +/* 80267320 00264280 48 00 00 31 */ bl sub_80267350 +/* 80267324 00264284 7F E0 07 35 */ extsh. r0, r31 +/* 80267328 00264288 40 81 00 0C */ ble lbl_80267334 +/* 8026732C 0026428C 7F C3 F3 78 */ mr r3, r30 +/* 80267330 00264290 48 0A E6 01 */ bl Free__7CMemoryFPCv +lbl_80267334: +/* 80267334 00264294 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267338 00264298 7F C3 F3 78 */ mr r3, r30 +/* 8026733C 0026429C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267340 002642A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267344 002642A4 7C 08 03 A6 */ mtlr r0 +/* 80267348 002642A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026734C 002642AC 4E 80 00 20 */ blr + +.global sub_80267350 +sub_80267350: +/* 80267350 002642B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267354 002642B4 7C 08 02 A6 */ mflr r0 +/* 80267358 002642B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026735C 002642BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267360 002642C0 7C 9F 23 78 */ mr r31, r4 +/* 80267364 002642C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267368 002642C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026736C 002642CC 41 82 00 54 */ beq lbl_802673C0 +/* 80267370 002642D0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80267374 002642D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80267378 002642D8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8026737C 002642DC 38 81 00 0C */ addi r4, r1, 0xc +/* 80267380 002642E0 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80267384 002642E4 7C A5 02 14 */ add r5, r5, r0 +/* 80267388 002642E8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8026738C 002642EC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80267390 002642F0 90 A1 00 08 */ stw r5, 8(r1) +/* 80267394 002642F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80267398 002642F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026739C 002642FC 48 00 00 41 */ bl sub_802673dc +/* 802673A0 00264300 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802673A4 00264304 28 03 00 00 */ cmplwi r3, 0 +/* 802673A8 00264308 41 82 00 08 */ beq lbl_802673B0 +/* 802673AC 0026430C 48 0A E5 85 */ bl Free__7CMemoryFPCv +lbl_802673B0: +/* 802673B0 00264310 7F E0 07 35 */ extsh. r0, r31 +/* 802673B4 00264314 40 81 00 0C */ ble lbl_802673C0 +/* 802673B8 00264318 7F C3 F3 78 */ mr r3, r30 +/* 802673BC 0026431C 48 0A E5 75 */ bl Free__7CMemoryFPCv +lbl_802673C0: +/* 802673C0 00264320 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802673C4 00264324 7F C3 F3 78 */ mr r3, r30 +/* 802673C8 00264328 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802673CC 0026432C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802673D0 00264330 7C 08 03 A6 */ mtlr r0 +/* 802673D4 00264334 38 21 00 20 */ addi r1, r1, 0x20 +/* 802673D8 00264338 4E 80 00 20 */ blr + +.global sub_802673dc +sub_802673dc: +/* 802673DC 0026433C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802673E0 00264340 7C 08 02 A6 */ mflr r0 +/* 802673E4 00264344 90 01 00 14 */ stw r0, 0x14(r1) +/* 802673E8 00264348 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802673EC 0026434C 93 C1 00 08 */ stw r30, 8(r1) +/* 802673F0 00264350 7C 9E 23 78 */ mr r30, r4 +/* 802673F4 00264354 83 E3 00 00 */ lwz r31, 0(r3) +/* 802673F8 00264358 48 00 00 10 */ b lbl_80267408 +lbl_802673FC: +/* 802673FC 0026435C 7F E3 FB 78 */ mr r3, r31 +/* 80267400 00264360 48 00 00 2D */ bl sub_8026742c +/* 80267404 00264364 3B FF 00 30 */ addi r31, r31, 0x30 +lbl_80267408: +/* 80267408 00264368 80 1E 00 00 */ lwz r0, 0(r30) +/* 8026740C 0026436C 7C 1F 00 40 */ cmplw r31, r0 +/* 80267410 00264370 40 82 FF EC */ bne lbl_802673FC +/* 80267414 00264374 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267418 00264378 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026741C 0026437C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267420 00264380 7C 08 03 A6 */ mtlr r0 +/* 80267424 00264384 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267428 00264388 4E 80 00 20 */ blr + +.global sub_8026742c +sub_8026742c: +/* 8026742C 0026438C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267430 00264390 7C 08 02 A6 */ mflr r0 +/* 80267434 00264394 38 80 FF FF */ li r4, -1 +/* 80267438 00264398 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026743C 0026439C 48 00 00 15 */ bl __dt__Q213CGameHintInfo9CGameHintFv +/* 80267440 002643A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267444 002643A4 7C 08 03 A6 */ mtlr r0 +/* 80267448 002643A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026744C 002643AC 4E 80 00 20 */ blr + +.global __dt__Q213CGameHintInfo9CGameHintFv +__dt__Q213CGameHintInfo9CGameHintFv: +/* 80267450 002643B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267454 002643B4 7C 08 02 A6 */ mflr r0 +/* 80267458 002643B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026745C 002643BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267460 002643C0 7C 9F 23 78 */ mr r31, r4 +/* 80267464 002643C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267468 002643C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026746C 002643CC 41 82 00 6C */ beq lbl_802674D8 +/* 80267470 002643D0 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 80267474 002643D4 41 82 00 44 */ beq lbl_802674B8 +/* 80267478 002643D8 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 8026747C 002643DC 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 80267480 002643E0 54 00 20 36 */ slwi r0, r0, 4 +/* 80267484 002643E4 7C 03 02 14 */ add r0, r3, r0 +/* 80267488 002643E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026748C 002643EC 7C 64 1B 78 */ mr r4, r3 +/* 80267490 002643F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267494 002643F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80267498 002643F8 90 61 00 08 */ stw r3, 8(r1) +/* 8026749C 002643FC 48 00 00 08 */ b lbl_802674A4 +lbl_802674A0: +/* 802674A0 00264400 38 84 00 10 */ addi r4, r4, 0x10 +lbl_802674A4: +/* 802674A4 00264404 7C 04 00 40 */ cmplw r4, r0 +/* 802674A8 00264408 40 82 FF F8 */ bne lbl_802674A0 +/* 802674AC 0026440C 28 03 00 00 */ cmplwi r3, 0 +/* 802674B0 00264410 41 82 00 08 */ beq lbl_802674B8 +/* 802674B4 00264414 48 0A E4 7D */ bl Free__7CMemoryFPCv +lbl_802674B8: +/* 802674B8 00264418 28 1E 00 00 */ cmplwi r30, 0 +/* 802674BC 0026441C 41 82 00 0C */ beq lbl_802674C8 +/* 802674C0 00264420 7F C3 F3 78 */ mr r3, r30 +/* 802674C4 00264424 48 0D 66 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802674C8: +/* 802674C8 00264428 7F E0 07 35 */ extsh. r0, r31 +/* 802674CC 0026442C 40 81 00 0C */ ble lbl_802674D8 +/* 802674D0 00264430 7F C3 F3 78 */ mr r3, r30 +/* 802674D4 00264434 48 0A E4 5D */ bl Free__7CMemoryFPCv +lbl_802674D8: +/* 802674D8 00264438 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802674DC 0026443C 7F C3 F3 78 */ mr r3, r30 +/* 802674E0 00264440 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802674E4 00264444 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802674E8 00264448 7C 08 03 A6 */ mtlr r0 +/* 802674EC 0026444C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802674F0 00264450 4E 80 00 20 */ blr + +.global sub_802674f4 +sub_802674f4: +/* 802674F4 00264454 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802674F8 00264458 7C 08 02 A6 */ mflr r0 +/* 802674FC 0026445C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267500 00264460 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267504 00264464 7C 7F 1B 78 */ mr r31, r3 +/* 80267508 00264468 48 00 00 19 */ bl sub_80267520 +/* 8026750C 0026446C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267510 00264470 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267514 00264474 7C 08 03 A6 */ mtlr r0 +/* 80267518 00264478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026751C 0026447C 4E 80 00 20 */ blr + +.global sub_80267520 +sub_80267520: +/* 80267520 00264480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267524 00264484 7C 08 02 A6 */ mflr r0 +/* 80267528 00264488 3C A0 80 3D */ lis r5, lbl_803D53C0@ha +/* 8026752C 0026448C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267530 00264490 38 05 53 C0 */ addi r0, r5, lbl_803D53C0@l +/* 80267534 00264494 38 A0 00 00 */ li r5, 0 +/* 80267538 00264498 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026753C 0026449C 7C 9F 23 78 */ mr r31, r4 +/* 80267540 002644A0 7C 04 03 78 */ mr r4, r0 +/* 80267544 002644A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80267548 002644A8 7C 7E 1B 78 */ mr r30, r3 +/* 8026754C 002644AC 38 60 00 08 */ li r3, 8 +/* 80267550 002644B0 48 0A E3 1D */ bl __nw__FUlPCcPCc +/* 80267554 002644B4 28 03 00 00 */ cmplwi r3, 0 +/* 80267558 002644B8 41 82 00 38 */ beq lbl_80267590 +/* 8026755C 002644BC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80267560 002644C0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80267564 002644C4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80267568 002644C8 3C 80 80 3F */ lis r4, lbl_803EA0E0@ha +/* 8026756C 002644CC 90 03 00 00 */ stw r0, 0(r3) +/* 80267570 002644D0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80267574 002644D4 38 A0 00 00 */ li r5, 0 +/* 80267578 002644D8 38 04 A0 E0 */ addi r0, r4, lbl_803EA0E0@l +/* 8026757C 002644DC 90 C3 00 00 */ stw r6, 0(r3) +/* 80267580 002644E0 98 BF 00 00 */ stb r5, 0(r31) +/* 80267584 002644E4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80267588 002644E8 90 83 00 04 */ stw r4, 4(r3) +/* 8026758C 002644EC 90 03 00 00 */ stw r0, 0(r3) +lbl_80267590: +/* 80267590 002644F0 7C 03 00 D0 */ neg r0, r3 +/* 80267594 002644F4 7C 00 1B 78 */ or r0, r0, r3 +/* 80267598 002644F8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026759C 002644FC 98 1E 00 00 */ stb r0, 0(r30) +/* 802675A0 00264500 90 7E 00 04 */ stw r3, 4(r30) +/* 802675A4 00264504 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802675A8 00264508 83 C1 00 08 */ lwz r30, 8(r1) +/* 802675AC 0026450C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802675B0 00264510 7C 08 03 A6 */ mtlr r0 +/* 802675B4 00264514 38 21 00 10 */ addi r1, r1, 0x10 +/* 802675B8 00264518 4E 80 00 20 */ blr + +.global sub_802675bc +sub_802675bc: +/* 802675BC 0026451C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802675C0 00264520 7C 08 02 A6 */ mflr r0 +/* 802675C4 00264524 90 01 00 14 */ stw r0, 0x14(r1) +/* 802675C8 00264528 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802675CC 0026452C 7C 9F 23 78 */ mr r31, r4 +/* 802675D0 00264530 93 C1 00 08 */ stw r30, 8(r1) +/* 802675D4 00264534 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802675D8 00264538 41 82 00 2C */ beq lbl_80267604 +/* 802675DC 0026453C 88 1E 00 00 */ lbz r0, 0(r30) +/* 802675E0 00264540 28 00 00 00 */ cmplwi r0, 0 +/* 802675E4 00264544 41 82 00 10 */ beq lbl_802675F4 +/* 802675E8 00264548 80 7E 00 04 */ lwz r3, 4(r30) +/* 802675EC 0026454C 38 80 00 01 */ li r4, 1 +/* 802675F0 00264550 4B FF FD 0D */ bl sub_802672fc +lbl_802675F4: +/* 802675F4 00264554 7F E0 07 35 */ extsh. r0, r31 +/* 802675F8 00264558 40 81 00 0C */ ble lbl_80267604 +/* 802675FC 0026455C 7F C3 F3 78 */ mr r3, r30 +/* 80267600 00264560 48 0A E3 31 */ bl Free__7CMemoryFPCv +lbl_80267604: +/* 80267604 00264564 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267608 00264568 7F C3 F3 78 */ mr r3, r30 +/* 8026760C 0026456C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267610 00264570 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267614 00264574 7C 08 03 A6 */ mtlr r0 +/* 80267618 00264578 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026761C 0026457C 4E 80 00 20 */ blr + +.global DismissDisplayedHint__12CHintOptionsFv +DismissDisplayedHint__12CHintOptionsFv: +/* 80267620 00264580 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80267624 00264584 2C 00 FF FF */ cmpwi r0, -1 +/* 80267628 00264588 4D 82 00 20 */ beqlr +/* 8026762C 0026458C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80267630 00264590 1C A0 00 0C */ mulli r5, r0, 0xc +/* 80267634 00264594 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80267638 00264598 80 64 00 08 */ lwz r3, 8(r4) +/* 8026763C 0026459C 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80267640 002645A0 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80267644 002645A4 7C 86 2A 14 */ add r4, r6, r5 +/* 80267648 002645A8 C0 24 00 04 */ lfs f1, 4(r4) +/* 8026764C 002645AC 7C 63 02 14 */ add r3, r3, r0 +/* 80267650 002645B0 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80267654 002645B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267658 002645B8 4C 80 00 20 */ bgelr +/* 8026765C 002645BC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80267660 002645C0 38 00 00 01 */ li r0, 1 +/* 80267664 002645C4 D0 04 00 04 */ stfs f0, 4(r4) +/* 80267668 002645C8 98 04 00 08 */ stb r0, 8(r4) +/* 8026766C 002645CC 4E 80 00 20 */ blr + +.global FindHintIndex__13CGameHintInfoFPCc +FindHintIndex__13CGameHintInfoFPCc: +/* 80267670 002645D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267674 002645D4 7C 08 02 A6 */ mflr r0 +/* 80267678 002645D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026767C 002645DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267680 002645E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267684 002645E4 3B C0 00 00 */ li r30, 0 +/* 80267688 002645E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026768C 002645EC 3B A0 00 00 */ li r29, 0 +/* 80267690 002645F0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80267694 002645F4 7C 7C 1B 78 */ mr r28, r3 +/* 80267698 002645F8 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 8026769C 002645FC 83 E4 00 08 */ lwz r31, 8(r4) +/* 802676A0 00264600 48 00 00 2C */ b lbl_802676CC +lbl_802676A4: +/* 802676A4 00264604 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802676A8 00264608 7F 84 E3 78 */ mr r4, r28 +/* 802676AC 0026460C 7C 60 F2 14 */ add r3, r0, r30 +/* 802676B0 00264610 4B DE AF 31 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 802676B4 00264614 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802676B8 00264618 41 82 00 0C */ beq lbl_802676C4 +/* 802676BC 0026461C 7F A3 EB 78 */ mr r3, r29 +/* 802676C0 00264620 48 00 00 1C */ b lbl_802676DC +lbl_802676C4: +/* 802676C4 00264624 3B DE 00 30 */ addi r30, r30, 0x30 +/* 802676C8 00264628 3B BD 00 01 */ addi r29, r29, 1 +lbl_802676CC: +/* 802676CC 0026462C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802676D0 00264630 7C 1D 00 00 */ cmpw r29, r0 +/* 802676D4 00264634 41 80 FF D0 */ blt lbl_802676A4 +/* 802676D8 00264638 38 60 FF FF */ li r3, -1 +lbl_802676DC: +/* 802676DC 0026463C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802676E0 00264640 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802676E4 00264644 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802676E8 00264648 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802676EC 0026464C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802676F0 00264650 7C 08 03 A6 */ mtlr r0 +/* 802676F4 00264654 38 21 00 20 */ addi r1, r1, 0x20 +/* 802676F8 00264658 4E 80 00 20 */ blr + +.global GetNextHintIdx__12CHintOptionsFv +GetNextHintIdx__12CHintOptionsFv: +/* 802676FC 0026465C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80267700 00264660 88 04 01 E4 */ lbz r0, 0x1e4(r4) +/* 80267704 00264664 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80267708 00264668 41 82 00 0C */ beq lbl_80267714 +/* 8026770C 0026466C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80267710 00264670 4E 80 00 20 */ blr +lbl_80267714: +/* 80267714 00264674 38 60 FF FF */ li r3, -1 +/* 80267718 00264678 4E 80 00 20 */ blr + +.global GetCurrentDisplayedHint__12CHintOptionsCFv +GetCurrentDisplayedHint__12CHintOptionsCFv: +/* 8026771C 0026467C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80267720 00264680 88 04 01 E4 */ lbz r0, 0x1e4(r4) +/* 80267724 00264684 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80267728 00264688 41 82 00 7C */ beq lbl_802677A4 +/* 8026772C 0026468C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80267730 00264690 2C 00 FF FF */ cmpwi r0, -1 +/* 80267734 00264694 40 82 00 0C */ bne lbl_80267740 +/* 80267738 00264698 38 60 00 00 */ li r3, 0 +/* 8026773C 0026469C 4E 80 00 20 */ blr +lbl_80267740: +/* 80267740 002646A0 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 80267744 002646A4 1C 80 00 30 */ mulli r4, r0, 0x30 +/* 80267748 002646A8 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 8026774C 002646AC 80 65 00 08 */ lwz r3, 8(r5) +/* 80267750 002646B0 1C C0 00 0C */ mulli r6, r0, 0xc +/* 80267754 002646B4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 80267758 002646B8 38 04 00 1C */ addi r0, r4, 0x1c +/* 8026775C 002646BC 7C 67 32 14 */ add r3, r7, r6 +/* 80267760 002646C0 7C 05 04 2E */ lfsx f0, r5, r0 +/* 80267764 002646C4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80267768 002646C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026776C 002646CC 4C 41 13 82 */ cror 2, 1, 2 +/* 80267770 002646D0 40 82 00 0C */ bne lbl_8026777C +/* 80267774 002646D4 38 60 00 00 */ li r3, 0 +/* 80267778 002646D8 4E 80 00 20 */ blr +lbl_8026777C: +/* 8026777C 002646DC C0 02 BA DC */ lfs f0, lbl_805AD7FC@sda21(r2) +/* 80267780 002646E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267784 002646E4 4C 41 13 82 */ cror 2, 1, 2 +/* 80267788 002646E8 4C 82 00 20 */ bnelr +/* 8026778C 002646EC 88 03 00 08 */ lbz r0, 8(r3) +/* 80267790 002646F0 28 00 00 00 */ cmplwi r0, 0 +/* 80267794 002646F4 4D 82 00 20 */ beqlr +/* 80267798 002646F8 38 60 00 00 */ li r3, 0 +/* 8026779C 002646FC 4E 80 00 20 */ blr + +.global sub_802677a0 +sub_802677a0: +/* 802677A0 00264700 4E 80 00 20 */ blr +lbl_802677A4: +/* 802677A4 00264704 38 60 00 00 */ li r3, 0 +/* 802677A8 00264708 4E 80 00 20 */ blr + +.global ActivateContinueDelayHintTimer__12CHintOptionsFPCc +ActivateContinueDelayHintTimer__12CHintOptionsFPCc: +/* 802677AC 0026470C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802677B0 00264710 7C 08 02 A6 */ mflr r0 +/* 802677B4 00264714 90 01 00 14 */ stw r0, 0x14(r1) +/* 802677B8 00264718 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802677BC 0026471C 7C 7F 1B 78 */ mr r31, r3 +/* 802677C0 00264720 80 04 00 08 */ lwz r0, 8(r4) +/* 802677C4 00264724 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802677C8 00264728 2C 00 00 00 */ cmpwi r0, 0 +/* 802677CC 0026472C 41 82 00 0C */ beq lbl_802677D8 +/* 802677D0 00264730 7C 83 23 78 */ mr r3, r4 +/* 802677D4 00264734 4B FF FE 9D */ bl FindHintIndex__13CGameHintInfoFPCc +lbl_802677D8: +/* 802677D8 00264738 2C 03 FF FF */ cmpwi r3, -1 +/* 802677DC 0026473C 41 82 00 38 */ beq lbl_80267814 +/* 802677E0 00264740 1C 03 00 0C */ mulli r0, r3, 0xc +/* 802677E4 00264744 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802677E8 00264748 7C A4 02 14 */ add r5, r4, r0 +/* 802677EC 0026474C 80 05 00 00 */ lwz r0, 0(r5) +/* 802677F0 00264750 2C 00 00 02 */ cmpwi r0, 2 +/* 802677F4 00264754 40 82 00 20 */ bne lbl_80267814 +/* 802677F8 00264758 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 802677FC 0026475C 1C 63 00 30 */ mulli r3, r3, 0x30 +/* 80267800 00264760 80 84 00 08 */ lwz r4, 8(r4) +/* 80267804 00264764 38 03 00 1C */ addi r0, r3, 0x1c +/* 80267808 00264768 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8026780C 0026476C 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80267810 00264770 D0 05 00 04 */ stfs f0, 4(r5) +lbl_80267814: +/* 80267814 00264774 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267818 00264778 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026781C 0026477C 7C 08 03 A6 */ mtlr r0 +/* 80267820 00264780 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267824 00264784 4E 80 00 20 */ blr + +.global DelayHint__12CHintOptionsFPCc +DelayHint__12CHintOptionsFPCc: +/* 80267828 00264788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026782C 0026478C 7C 08 02 A6 */ mflr r0 +/* 80267830 00264790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267834 00264794 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267838 00264798 7C 7F 1B 78 */ mr r31, r3 +/* 8026783C 0026479C 7C 83 23 78 */ mr r3, r4 +/* 80267840 002647A0 4B FF FE 31 */ bl FindHintIndex__13CGameHintInfoFPCc +/* 80267844 002647A4 2C 03 FF FF */ cmpwi r3, -1 +/* 80267848 002647A8 41 82 00 54 */ beq lbl_8026789C +/* 8026784C 002647AC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80267850 002647B0 1C 83 00 0C */ mulli r4, r3, 0xc +/* 80267854 002647B4 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80267858 002647B8 7C 03 00 00 */ cmpw r3, r0 +/* 8026785C 002647BC 40 82 00 38 */ bne lbl_80267894 +/* 80267860 002647C0 C0 22 BA E0 */ lfs f1, lbl_805AD800@sda21(r2) +/* 80267864 002647C4 7C C5 33 78 */ mr r5, r6 +/* 80267868 002647C8 48 00 00 14 */ b lbl_8026787C +lbl_8026786C: +/* 8026786C 002647CC C0 05 00 04 */ lfs f0, 4(r5) +/* 80267870 002647D0 EC 00 08 2A */ fadds f0, f0, f1 +/* 80267874 002647D4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80267878 002647D8 38 A5 00 0C */ addi r5, r5, 0xc +lbl_8026787C: +/* 8026787C 002647DC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80267880 002647E0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80267884 002647E4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267888 002647E8 7C 03 02 14 */ add r0, r3, r0 +/* 8026788C 002647EC 7C 05 00 40 */ cmplw r5, r0 +/* 80267890 002647F0 40 82 FF DC */ bne lbl_8026786C +lbl_80267894: +/* 80267894 002647F4 38 00 00 03 */ li r0, 3 +/* 80267898 002647F8 7C 06 21 2E */ stwx r0, r6, r4 +lbl_8026789C: +/* 8026789C 002647FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802678A0 00264800 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802678A4 00264804 7C 08 03 A6 */ mtlr r0 +/* 802678A8 00264808 38 21 00 10 */ addi r1, r1, 0x10 +/* 802678AC 0026480C 4E 80 00 20 */ blr + +.global ActivateImmediateHintTimer__12CHintOptionsFPCc +ActivateImmediateHintTimer__12CHintOptionsFPCc: +/* 802678B0 00264810 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802678B4 00264814 7C 08 02 A6 */ mflr r0 +/* 802678B8 00264818 90 01 00 14 */ stw r0, 0x14(r1) +/* 802678BC 0026481C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802678C0 00264820 7C 7F 1B 78 */ mr r31, r3 +/* 802678C4 00264824 7C 83 23 78 */ mr r3, r4 +/* 802678C8 00264828 4B FF FD A9 */ bl FindHintIndex__13CGameHintInfoFPCc +/* 802678CC 0026482C 2C 03 FF FF */ cmpwi r3, -1 +/* 802678D0 00264830 41 82 00 40 */ beq lbl_80267910 +/* 802678D4 00264834 1C 03 00 0C */ mulli r0, r3, 0xc +/* 802678D8 00264838 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802678DC 0026483C 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 802678E0 00264840 7C C4 02 14 */ add r6, r4, r0 +/* 802678E4 00264844 80 85 00 08 */ lwz r4, 8(r5) +/* 802678E8 00264848 80 06 00 00 */ lwz r0, 0(r6) +/* 802678EC 0026484C 1C 63 00 30 */ mulli r3, r3, 0x30 +/* 802678F0 00264850 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802678F4 00264854 2C 00 00 00 */ cmpwi r0, 0 +/* 802678F8 00264858 7C 64 1A 14 */ add r3, r4, r3 +/* 802678FC 0026485C 40 82 00 14 */ bne lbl_80267910 +/* 80267900 00264860 38 00 00 01 */ li r0, 1 +/* 80267904 00264864 90 06 00 00 */ stw r0, 0(r6) +/* 80267908 00264868 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8026790C 0026486C D0 06 00 04 */ stfs f0, 4(r6) +lbl_80267910: +/* 80267910 00264870 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267914 00264874 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267918 00264878 7C 08 03 A6 */ mtlr r0 +/* 8026791C 0026487C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267920 00264880 4E 80 00 20 */ blr + +.global Update__12CHintOptionsfRC13CStateManager +Update__12CHintOptionsfRC13CStateManager: +/* 80267924 00264884 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267928 00264888 38 00 FF FF */ li r0, -1 +/* 8026792C 0026488C 38 E0 00 00 */ li r7, 0 +/* 80267930 00264890 39 20 00 00 */ li r9, 0 +/* 80267934 00264894 90 03 00 10 */ stw r0, 0x10(r3) +/* 80267938 00264898 7C E8 3B 78 */ mr r8, r7 +/* 8026793C 0026489C 48 00 00 90 */ b lbl_802679CC +lbl_80267940: +/* 80267940 002648A0 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80267944 002648A4 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 80267948 002648A8 7C C0 3A 14 */ add r6, r0, r7 +/* 8026794C 002648AC 80 A5 00 08 */ lwz r5, 8(r5) +/* 80267950 002648B0 80 06 00 00 */ lwz r0, 0(r6) +/* 80267954 002648B4 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80267958 002648B8 2C 00 00 02 */ cmpwi r0, 2 +/* 8026795C 002648BC 7C A5 42 14 */ add r5, r5, r8 +/* 80267960 002648C0 41 82 00 50 */ beq lbl_802679B0 +/* 80267964 002648C4 40 80 00 5C */ bge lbl_802679C0 +/* 80267968 002648C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8026796C 002648CC 41 82 00 54 */ beq lbl_802679C0 +/* 80267970 002648D0 40 80 00 0C */ bge lbl_8026797C +/* 80267974 002648D4 48 00 00 4C */ b lbl_802679C0 +/* 80267978 002648D8 48 00 00 48 */ b lbl_802679C0 +lbl_8026797C: +/* 8026797C 002648DC C0 46 00 04 */ lfs f2, 4(r6) +/* 80267980 002648E0 C0 02 BA E4 */ lfs f0, lbl_805AD804@sda21(r2) +/* 80267984 002648E4 EC 42 08 28 */ fsubs f2, f2, f1 +/* 80267988 002648E8 D0 46 00 04 */ stfs f2, 4(r6) +/* 8026798C 002648EC C0 46 00 04 */ lfs f2, 4(r6) +/* 80267990 002648F0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80267994 002648F4 4C 40 13 82 */ cror 2, 0, 2 +/* 80267998 002648F8 40 82 00 28 */ bne lbl_802679C0 +/* 8026799C 002648FC 38 00 00 02 */ li r0, 2 +/* 802679A0 00264900 90 06 00 00 */ stw r0, 0(r6) +/* 802679A4 00264904 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 802679A8 00264908 D0 06 00 04 */ stfs f0, 4(r6) +/* 802679AC 0026490C 48 00 00 14 */ b lbl_802679C0 +lbl_802679B0: +/* 802679B0 00264910 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802679B4 00264914 2C 00 FF FF */ cmpwi r0, -1 +/* 802679B8 00264918 40 82 00 08 */ bne lbl_802679C0 +/* 802679BC 0026491C 91 23 00 10 */ stw r9, 0x10(r3) +lbl_802679C0: +/* 802679C0 00264920 38 E7 00 0C */ addi r7, r7, 0xc +/* 802679C4 00264924 39 08 00 30 */ addi r8, r8, 0x30 +/* 802679C8 00264928 39 29 00 01 */ addi r9, r9, 1 +lbl_802679CC: +/* 802679CC 0026492C 80 03 00 04 */ lwz r0, 4(r3) +/* 802679D0 00264930 7C 09 00 00 */ cmpw r9, r0 +/* 802679D4 00264934 41 80 FF 6C */ blt lbl_80267940 +/* 802679D8 00264938 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 802679DC 0026493C 2C 07 FF FF */ cmpwi r7, -1 +/* 802679E0 00264940 41 82 00 BC */ beq lbl_80267A9C +/* 802679E4 00264944 1C 07 00 0C */ mulli r0, r7, 0xc +/* 802679E8 00264948 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802679EC 0026494C 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13) +/* 802679F0 00264950 C0 0D 98 40 */ lfs f0, lbl_805A8400@sda21(r13) +/* 802679F4 00264954 7C C5 02 14 */ add r6, r5, r0 +/* 802679F8 00264958 80 63 00 08 */ lwz r3, 8(r3) +/* 802679FC 0026495C C0 46 00 04 */ lfs f2, 4(r6) +/* 80267A00 00264960 1C 07 00 30 */ mulli r0, r7, 0x30 +/* 80267A04 00264964 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80267A08 00264968 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80267A0C 0026496C 7C E3 02 14 */ add r7, r3, r0 +/* 80267A10 00264970 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80267A14 00264974 D0 21 00 08 */ stfs f1, 8(r1) +/* 80267A18 00264978 40 80 00 0C */ bge lbl_80267A24 +/* 80267A1C 0026497C 38 61 00 08 */ addi r3, r1, 8 +/* 80267A20 00264980 48 00 00 08 */ b lbl_80267A28 +lbl_80267A24: +/* 80267A24 00264984 38 6D 98 40 */ addi r3, r13, lbl_805A8400@sda21 +lbl_80267A28: +/* 80267A28 00264988 C0 03 00 00 */ lfs f0, 0(r3) +/* 80267A2C 0026498C D0 06 00 04 */ stfs f0, 4(r6) +/* 80267A30 00264990 C0 26 00 04 */ lfs f1, 4(r6) +/* 80267A34 00264994 C0 07 00 1C */ lfs f0, 0x1c(r7) +/* 80267A38 00264998 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267A3C 0026499C 40 80 00 60 */ bge lbl_80267A9C +/* 80267A40 002649A0 80 07 00 24 */ lwz r0, 0x24(r7) +/* 80267A44 002649A4 39 20 00 00 */ li r9, 0 +/* 80267A48 002649A8 7C 09 03 A6 */ mtctr r0 +/* 80267A4C 002649AC 2C 00 00 00 */ cmpwi r0, 0 +/* 80267A50 002649B0 40 81 00 4C */ ble lbl_80267A9C +lbl_80267A54: +/* 80267A54 002649B4 80 07 00 2C */ lwz r0, 0x2c(r7) +/* 80267A58 002649B8 80 64 08 50 */ lwz r3, 0x850(r4) +/* 80267A5C 002649BC 7D 00 4A 14 */ add r8, r0, r9 +/* 80267A60 002649C0 80 A8 00 00 */ lwz r5, 0(r8) +/* 80267A64 002649C4 80 03 00 08 */ lwz r0, 8(r3) +/* 80267A68 002649C8 7C 05 00 40 */ cmplw r5, r0 +/* 80267A6C 002649CC 40 82 00 28 */ bne lbl_80267A94 +/* 80267A70 002649D0 80 68 00 08 */ lwz r3, 8(r8) +/* 80267A74 002649D4 80 04 08 CC */ lwz r0, 0x8cc(r4) +/* 80267A78 002649D8 7C 03 00 00 */ cmpw r3, r0 +/* 80267A7C 002649DC 40 82 00 18 */ bne lbl_80267A94 +/* 80267A80 002649E0 C0 07 00 14 */ lfs f0, 0x14(r7) +/* 80267A84 002649E4 38 00 00 01 */ li r0, 1 +/* 80267A88 002649E8 D0 06 00 04 */ stfs f0, 4(r6) +/* 80267A8C 002649EC 98 06 00 08 */ stb r0, 8(r6) +/* 80267A90 002649F0 48 00 00 0C */ b lbl_80267A9C +lbl_80267A94: +/* 80267A94 002649F4 39 29 00 10 */ addi r9, r9, 0x10 +/* 80267A98 002649F8 42 00 FF BC */ bdnz lbl_80267A54 +lbl_80267A9C: +/* 80267A9C 002649FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267AA0 00264A00 4E 80 00 20 */ blr + +.global InitializeMemoryState__12CHintOptionsFv +InitializeMemoryState__12CHintOptionsFv: +/* 80267AA4 00264A04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267AA8 00264A08 7C 08 02 A6 */ mflr r0 +/* 80267AAC 00264A0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80267AB0 00264A10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267AB4 00264A14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267AB8 00264A18 7C 7E 1B 78 */ mr r30, r3 +/* 80267ABC 00264A1C 38 61 00 08 */ addi r3, r1, 8 +/* 80267AC0 00264A20 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80267AC4 00264A24 80 84 00 08 */ lwz r4, 8(r4) +/* 80267AC8 00264A28 83 E4 00 04 */ lwz r31, 4(r4) +/* 80267ACC 00264A2C 48 00 03 B5 */ bl sub_80267e80 +/* 80267AD0 00264A30 7C 65 1B 78 */ mr r5, r3 +/* 80267AD4 00264A34 7F C3 F3 78 */ mr r3, r30 +/* 80267AD8 00264A38 7F E4 FB 78 */ mr r4, r31 +/* 80267ADC 00264A3C 48 00 00 1D */ bl sub_80267af8 +/* 80267AE0 00264A40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80267AE4 00264A44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80267AE8 00264A48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80267AEC 00264A4C 7C 08 03 A6 */ mtlr r0 +/* 80267AF0 00264A50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80267AF4 00264A54 4E 80 00 20 */ blr + +.global sub_80267af8 +sub_80267af8: +/* 80267AF8 00264A58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80267AFC 00264A5C 7C 08 02 A6 */ mflr r0 +/* 80267B00 00264A60 90 01 00 34 */ stw r0, 0x34(r1) +/* 80267B04 00264A64 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80267B08 00264A68 7C BF 2B 78 */ mr r31, r5 +/* 80267B0C 00264A6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80267B10 00264A70 7C 9E 23 78 */ mr r30, r4 +/* 80267B14 00264A74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80267B18 00264A78 7C 7D 1B 78 */ mr r29, r3 +/* 80267B1C 00264A7C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80267B20 00264A80 80 03 00 04 */ lwz r0, 4(r3) +/* 80267B24 00264A84 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80267B28 00264A88 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267B2C 00264A8C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80267B30 00264A90 7C 03 02 14 */ add r0, r3, r0 +/* 80267B34 00264A94 90 61 00 08 */ stw r3, 8(r1) +/* 80267B38 00264A98 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267B3C 00264A9C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80267B40 00264AA0 48 00 00 08 */ b lbl_80267B48 +lbl_80267B44: +/* 80267B44 00264AA4 38 63 00 0C */ addi r3, r3, 0xc +lbl_80267B48: +/* 80267B48 00264AA8 7C 03 00 40 */ cmplw r3, r0 +/* 80267B4C 00264AAC 40 82 FF F8 */ bne lbl_80267B44 +/* 80267B50 00264AB0 38 00 00 00 */ li r0, 0 +/* 80267B54 00264AB4 7F A3 EB 78 */ mr r3, r29 +/* 80267B58 00264AB8 90 1D 00 04 */ stw r0, 4(r29) +/* 80267B5C 00264ABC 7F C4 F3 78 */ mr r4, r30 +/* 80267B60 00264AC0 4B F6 E5 9D */ bl sub_801d60fc +/* 80267B64 00264AC4 3B 80 00 00 */ li r28, 0 +/* 80267B68 00264AC8 48 00 00 68 */ b lbl_80267BD0 +lbl_80267B6C: +/* 80267B6C 00264ACC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80267B70 00264AD0 80 BD 00 08 */ lwz r5, 8(r29) +/* 80267B74 00264AD4 7C 00 28 00 */ cmpw r0, r5 +/* 80267B78 00264AD8 41 80 00 1C */ blt lbl_80267B94 +/* 80267B7C 00264ADC 2C 05 00 00 */ cmpwi r5, 0 +/* 80267B80 00264AE0 7F A3 EB 78 */ mr r3, r29 +/* 80267B84 00264AE4 38 80 00 04 */ li r4, 4 +/* 80267B88 00264AE8 41 82 00 08 */ beq lbl_80267B90 +/* 80267B8C 00264AEC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80267B90: +/* 80267B90 00264AF0 4B F6 E5 6D */ bl sub_801d60fc +lbl_80267B94: +/* 80267B94 00264AF4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80267B98 00264AF8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80267B9C 00264AFC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267BA0 00264B00 7C 63 02 15 */ add. r3, r3, r0 +/* 80267BA4 00264B04 41 82 00 1C */ beq lbl_80267BC0 +/* 80267BA8 00264B08 80 1F 00 00 */ lwz r0, 0(r31) +/* 80267BAC 00264B0C 90 03 00 00 */ stw r0, 0(r3) +/* 80267BB0 00264B10 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80267BB4 00264B14 D0 03 00 04 */ stfs f0, 4(r3) +/* 80267BB8 00264B18 88 1F 00 08 */ lbz r0, 8(r31) +/* 80267BBC 00264B1C 98 03 00 08 */ stb r0, 8(r3) +lbl_80267BC0: +/* 80267BC0 00264B20 80 7D 00 04 */ lwz r3, 4(r29) +/* 80267BC4 00264B24 3B 9C 00 01 */ addi r28, r28, 1 +/* 80267BC8 00264B28 38 03 00 01 */ addi r0, r3, 1 +/* 80267BCC 00264B2C 90 1D 00 04 */ stw r0, 4(r29) +lbl_80267BD0: +/* 80267BD0 00264B30 7C 1C F0 00 */ cmpw r28, r30 +/* 80267BD4 00264B34 41 80 FF 98 */ blt lbl_80267B6C +/* 80267BD8 00264B38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80267BDC 00264B3C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80267BE0 00264B40 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80267BE4 00264B44 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80267BE8 00264B48 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80267BEC 00264B4C 7C 08 03 A6 */ mtlr r0 +/* 80267BF0 00264B50 38 21 00 30 */ addi r1, r1, 0x30 +/* 80267BF4 00264B54 4E 80 00 20 */ blr + +.global PutTo__16CGameHintManagerFR16CMemoryStreamOut +PutTo__16CGameHintManagerFR16CMemoryStreamOut: +/* 80267BF8 00264B58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267BFC 00264B5C 7C 08 02 A6 */ mflr r0 +/* 80267C00 00264B60 90 01 00 24 */ stw r0, 0x24(r1) +/* 80267C04 00264B64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267C08 00264B68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267C0C 00264B6C 7C 9E 23 78 */ mr r30, r4 +/* 80267C10 00264B70 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80267C14 00264B74 7C 7D 1B 78 */ mr r29, r3 +/* 80267C18 00264B78 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 80267C1C 00264B7C 48 00 00 30 */ b lbl_80267C4C +lbl_80267C20: +/* 80267C20 00264B80 38 60 00 03 */ li r3, 3 +/* 80267C24 00264B84 48 00 06 A1 */ bl GetBitCount__16CGameHintManagerFi +/* 80267C28 00264B88 80 9F 00 00 */ lwz r4, 0(r31) +/* 80267C2C 00264B8C 7C 65 1B 78 */ mr r5, r3 +/* 80267C30 00264B90 7F C3 F3 78 */ mr r3, r30 +/* 80267C34 00264B94 48 0D 77 89 */ bl WriteBits__13COutputStreamFii +/* 80267C38 00264B98 80 9F 00 04 */ lwz r4, 4(r31) +/* 80267C3C 00264B9C 7F C3 F3 78 */ mr r3, r30 +/* 80267C40 00264BA0 38 A0 00 20 */ li r5, 0x20 +/* 80267C44 00264BA4 48 0D 77 79 */ bl WriteBits__13COutputStreamFii +/* 80267C48 00264BA8 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80267C4C: +/* 80267C4C 00264BAC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80267C50 00264BB0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80267C54 00264BB4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267C58 00264BB8 7C 03 02 14 */ add r0, r3, r0 +/* 80267C5C 00264BBC 7C 1F 00 40 */ cmplw r31, r0 +/* 80267C60 00264BC0 40 82 FF C0 */ bne lbl_80267C20 +/* 80267C64 00264BC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80267C68 00264BC8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80267C6C 00264BCC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80267C70 00264BD0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80267C74 00264BD4 7C 08 03 A6 */ mtlr r0 +/* 80267C78 00264BD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80267C7C 00264BDC 4E 80 00 20 */ blr + +.global SetHintNextTime__12CHintOptionsFv +SetHintNextTime__12CHintOptionsFv: +/* 80267C80 00264BE0 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 80267C84 00264BE4 2C 07 FF FF */ cmpwi r7, -1 +/* 80267C88 00264BE8 4D 82 00 20 */ beqlr +/* 80267C8C 00264BEC 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 80267C90 00264BF0 1C 87 00 30 */ mulli r4, r7, 0x30 +/* 80267C94 00264BF4 C0 22 BA E8 */ lfs f1, lbl_805AD808@sda21(r2) +/* 80267C98 00264BF8 80 A5 00 08 */ lwz r5, 8(r5) +/* 80267C9C 00264BFC 38 04 00 1C */ addi r0, r4, 0x1c +/* 80267CA0 00264C00 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80267CA4 00264C04 80 65 00 0C */ lwz r3, 0xc(r5) +/* 80267CA8 00264C08 1C 87 00 0C */ mulli r4, r7, 0xc +/* 80267CAC 00264C0C 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80267CB0 00264C10 7C 66 22 14 */ add r3, r6, r4 +/* 80267CB4 00264C14 EC 01 00 2A */ fadds f0, f1, f0 +/* 80267CB8 00264C18 D0 03 00 04 */ stfs f0, 4(r3) +/* 80267CBC 00264C1C 4E 80 00 20 */ blr + +.global __ct__12CHintOptionsFR12CInputStream +__ct__12CHintOptionsFR12CInputStream: +/* 80267CC0 00264C20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80267CC4 00264C24 7C 08 02 A6 */ mflr r0 +/* 80267CC8 00264C28 38 A0 00 00 */ li r5, 0 +/* 80267CCC 00264C2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80267CD0 00264C30 38 00 FF FF */ li r0, -1 +/* 80267CD4 00264C34 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80267CD8 00264C38 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80267CDC 00264C3C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80267CE0 00264C40 7C 9D 23 78 */ mr r29, r4 +/* 80267CE4 00264C44 93 81 00 20 */ stw r28, 0x20(r1) +/* 80267CE8 00264C48 7C 7C 1B 78 */ mr r28, r3 +/* 80267CEC 00264C4C 90 A3 00 04 */ stw r5, 4(r3) +/* 80267CF0 00264C50 90 A3 00 08 */ stw r5, 8(r3) +/* 80267CF4 00264C54 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80267CF8 00264C58 90 03 00 10 */ stw r0, 0x10(r3) +/* 80267CFC 00264C5C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80267D00 00264C60 80 84 00 08 */ lwz r4, 8(r4) +/* 80267D04 00264C64 80 84 00 04 */ lwz r4, 4(r4) +/* 80267D08 00264C68 4B F6 E3 F5 */ bl sub_801d60fc +/* 80267D0C 00264C6C 3B E0 00 00 */ li r31, 0 +/* 80267D10 00264C70 48 00 00 F0 */ b lbl_80267E00 +lbl_80267D14: +/* 80267D14 00264C74 38 60 00 03 */ li r3, 3 +/* 80267D18 00264C78 48 00 05 AD */ bl GetBitCount__16CGameHintManagerFi +/* 80267D1C 00264C7C 7C 64 1B 78 */ mr r4, r3 +/* 80267D20 00264C80 7F A3 EB 78 */ mr r3, r29 +/* 80267D24 00264C84 48 0D 70 15 */ bl ReadBits__12CInputStreamFi +/* 80267D28 00264C88 7C 60 1B 78 */ mr r0, r3 +/* 80267D2C 00264C8C 7F A3 EB 78 */ mr r3, r29 +/* 80267D30 00264C90 7C 1E 03 78 */ mr r30, r0 +/* 80267D34 00264C94 38 80 00 20 */ li r4, 0x20 +/* 80267D38 00264C98 48 0D 70 01 */ bl ReadBits__12CInputStreamFi +/* 80267D3C 00264C9C 38 9E FF FF */ addi r4, r30, -1 +/* 80267D40 00264CA0 90 61 00 08 */ stw r3, 8(r1) +/* 80267D44 00264CA4 38 A0 00 01 */ li r5, 1 +/* 80267D48 00264CA8 20 04 00 01 */ subfic r0, r4, 1 +/* 80267D4C 00264CAC C0 21 00 08 */ lfs f1, 8(r1) +/* 80267D50 00264CB0 7C A3 23 38 */ orc r3, r5, r4 +/* 80267D54 00264CB4 54 00 F8 7E */ srwi r0, r0, 1 +/* 80267D58 00264CB8 7C 00 18 50 */ subf r0, r0, r3 +/* 80267D5C 00264CBC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80267D60 00264CC0 40 82 00 08 */ bne lbl_80267D68 +/* 80267D64 00264CC4 38 A0 00 00 */ li r5, 0 +lbl_80267D68: +/* 80267D68 00264CC8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80267D6C 00264CCC 7F C4 F3 78 */ mr r4, r30 +/* 80267D70 00264CD0 38 61 00 0C */ addi r3, r1, 0xc +/* 80267D74 00264CD4 41 82 00 08 */ beq lbl_80267D7C +/* 80267D78 00264CD8 48 00 00 08 */ b lbl_80267D80 +lbl_80267D7C: +/* 80267D7C 00264CDC C0 22 BA E4 */ lfs f1, lbl_805AD804@sda21(r2) +lbl_80267D80: +/* 80267D80 00264CE0 48 00 00 ED */ bl sub_80267e6c +/* 80267D84 00264CE4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80267D88 00264CE8 80 BC 00 08 */ lwz r5, 8(r28) +/* 80267D8C 00264CEC 7C 00 28 00 */ cmpw r0, r5 +/* 80267D90 00264CF0 41 80 00 1C */ blt lbl_80267DAC +/* 80267D94 00264CF4 2C 05 00 00 */ cmpwi r5, 0 +/* 80267D98 00264CF8 7F 83 E3 78 */ mr r3, r28 +/* 80267D9C 00264CFC 38 80 00 04 */ li r4, 4 +/* 80267DA0 00264D00 41 82 00 08 */ beq lbl_80267DA8 +/* 80267DA4 00264D04 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80267DA8: +/* 80267DA8 00264D08 4B F6 E3 55 */ bl sub_801d60fc +lbl_80267DAC: +/* 80267DAC 00264D0C 80 1C 00 04 */ lwz r0, 4(r28) +/* 80267DB0 00264D10 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80267DB4 00264D14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267DB8 00264D18 7C 63 02 15 */ add. r3, r3, r0 +/* 80267DBC 00264D1C 41 82 00 1C */ beq lbl_80267DD8 +/* 80267DC0 00264D20 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80267DC4 00264D24 90 03 00 00 */ stw r0, 0(r3) +/* 80267DC8 00264D28 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80267DCC 00264D2C D0 03 00 04 */ stfs f0, 4(r3) +/* 80267DD0 00264D30 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80267DD4 00264D34 98 03 00 08 */ stb r0, 8(r3) +lbl_80267DD8: +/* 80267DD8 00264D38 80 7C 00 04 */ lwz r3, 4(r28) +/* 80267DDC 00264D3C 38 03 00 01 */ addi r0, r3, 1 +/* 80267DE0 00264D40 90 1C 00 04 */ stw r0, 4(r28) +/* 80267DE4 00264D44 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80267DE8 00264D48 2C 00 FF FF */ cmpwi r0, -1 +/* 80267DEC 00264D4C 40 82 00 10 */ bne lbl_80267DFC +/* 80267DF0 00264D50 2C 1E 00 02 */ cmpwi r30, 2 +/* 80267DF4 00264D54 40 82 00 08 */ bne lbl_80267DFC +/* 80267DF8 00264D58 93 FC 00 10 */ stw r31, 0x10(r28) +lbl_80267DFC: +/* 80267DFC 00264D5C 3B FF 00 01 */ addi r31, r31, 1 +lbl_80267E00: +/* 80267E00 00264D60 80 1C 00 08 */ lwz r0, 8(r28) +/* 80267E04 00264D64 7C 1F 00 00 */ cmpw r31, r0 +/* 80267E08 00264D68 41 80 FF 0C */ blt lbl_80267D14 +/* 80267E0C 00264D6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80267E10 00264D70 7F 83 E3 78 */ mr r3, r28 +/* 80267E14 00264D74 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80267E18 00264D78 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80267E1C 00264D7C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80267E20 00264D80 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80267E24 00264D84 7C 08 03 A6 */ mtlr r0 +/* 80267E28 00264D88 38 21 00 30 */ addi r1, r1, 0x30 +/* 80267E2C 00264D8C 4E 80 00 20 */ blr + +.global __ct__12CHintOptionsFv +__ct__12CHintOptionsFv: +/* 80267E30 00264D90 38 80 00 00 */ li r4, 0 +/* 80267E34 00264D94 38 00 FF FF */ li r0, -1 +/* 80267E38 00264D98 90 83 00 04 */ stw r4, 4(r3) +/* 80267E3C 00264D9C 90 83 00 08 */ stw r4, 8(r3) +/* 80267E40 00264DA0 90 83 00 0C */ stw r4, 0xc(r3) +/* 80267E44 00264DA4 90 03 00 10 */ stw r0, 0x10(r3) +/* 80267E48 00264DA8 4E 80 00 20 */ blr + +.global CanContinue__Q212CHintOptions10SHintStateFv +CanContinue__Q212CHintOptions10SHintStateFv: +/* 80267E4C 00264DAC C0 43 00 04 */ lfs f2, 4(r3) +/* 80267E50 00264DB0 C0 22 BA DC */ lfs f1, lbl_805AD7FC@sda21(r2) +/* 80267E54 00264DB4 C0 02 BA EC */ lfs f0, lbl_805AD80C@sda21(r2) +/* 80267E58 00264DB8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80267E5C 00264DBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267E60 00264DC0 7C 00 00 26 */ mfcr r0 +/* 80267E64 00264DC4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80267E68 00264DC8 4E 80 00 20 */ blr + +.global sub_80267e6c +sub_80267e6c: +/* 80267E6C 00264DCC 90 83 00 00 */ stw r4, 0(r3) +/* 80267E70 00264DD0 38 00 00 00 */ li r0, 0 +/* 80267E74 00264DD4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80267E78 00264DD8 98 03 00 08 */ stb r0, 8(r3) +/* 80267E7C 00264DDC 4E 80 00 20 */ blr + +.global sub_80267e80 +sub_80267e80: +/* 80267E80 00264DE0 38 00 00 00 */ li r0, 0 +/* 80267E84 00264DE4 C0 02 BA E4 */ lfs f0, lbl_805AD804@sda21(r2) +/* 80267E88 00264DE8 90 03 00 00 */ stw r0, 0(r3) +/* 80267E8C 00264DEC D0 03 00 04 */ stfs f0, 4(r3) +/* 80267E90 00264DF0 98 03 00 08 */ stb r0, 8(r3) +/* 80267E94 00264DF4 4E 80 00 20 */ blr + +.global __ct__13CGameHintInfoFR12CInputStreamUi +__ct__13CGameHintInfoFR12CInputStreamUi: +/* 80267E98 00264DF8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80267E9C 00264DFC 7C 08 02 A6 */ mflr r0 +/* 80267EA0 00264E00 90 01 00 54 */ stw r0, 0x54(r1) +/* 80267EA4 00264E04 38 00 00 00 */ li r0, 0 +/* 80267EA8 00264E08 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80267EAC 00264E0C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80267EB0 00264E10 7C BE 2B 78 */ mr r30, r5 +/* 80267EB4 00264E14 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80267EB8 00264E18 7C 9D 23 78 */ mr r29, r4 +/* 80267EBC 00264E1C 93 81 00 40 */ stw r28, 0x40(r1) +/* 80267EC0 00264E20 7C 7C 1B 78 */ mr r28, r3 +/* 80267EC4 00264E24 90 03 00 04 */ stw r0, 4(r3) +/* 80267EC8 00264E28 90 03 00 08 */ stw r0, 8(r3) +/* 80267ECC 00264E2C 7F A3 EB 78 */ mr r3, r29 +/* 80267ED0 00264E30 90 1C 00 0C */ stw r0, 0xc(r28) +/* 80267ED4 00264E34 48 0D 6D B1 */ bl ReadLong__12CInputStreamFv +/* 80267ED8 00264E38 7C 64 1B 78 */ mr r4, r3 +/* 80267EDC 00264E3C 7F 83 E3 78 */ mr r3, r28 +/* 80267EE0 00264E40 48 00 05 09 */ bl "reserve__Q24rstl62vectorFi" +/* 80267EE4 00264E44 3B E0 00 00 */ li r31, 0 +/* 80267EE8 00264E48 48 00 00 30 */ b lbl_80267F18 +lbl_80267EEC: +/* 80267EEC 00264E4C 7F A4 EB 78 */ mr r4, r29 +/* 80267EF0 00264E50 7F C5 F3 78 */ mr r5, r30 +/* 80267EF4 00264E54 38 61 00 08 */ addi r3, r1, 8 +/* 80267EF8 00264E58 48 00 01 FD */ bl __ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi +/* 80267EFC 00264E5C 7F 83 E3 78 */ mr r3, r28 +/* 80267F00 00264E60 38 81 00 08 */ addi r4, r1, 8 +/* 80267F04 00264E64 48 00 00 45 */ bl "push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint" +/* 80267F08 00264E68 38 61 00 08 */ addi r3, r1, 8 +/* 80267F0C 00264E6C 38 80 FF FF */ li r4, -1 +/* 80267F10 00264E70 4B FF F5 41 */ bl __dt__Q213CGameHintInfo9CGameHintFv +/* 80267F14 00264E74 3B FF 00 01 */ addi r31, r31, 1 +lbl_80267F18: +/* 80267F18 00264E78 80 1C 00 08 */ lwz r0, 8(r28) +/* 80267F1C 00264E7C 7C 1F 00 00 */ cmpw r31, r0 +/* 80267F20 00264E80 41 80 FF CC */ blt lbl_80267EEC +/* 80267F24 00264E84 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80267F28 00264E88 7F 83 E3 78 */ mr r3, r28 +/* 80267F2C 00264E8C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80267F30 00264E90 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80267F34 00264E94 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80267F38 00264E98 83 81 00 40 */ lwz r28, 0x40(r1) +/* 80267F3C 00264E9C 7C 08 03 A6 */ mtlr r0 +/* 80267F40 00264EA0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80267F44 00264EA4 4E 80 00 20 */ blr + +.global "push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint" +"push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint": +/* 80267F48 00264EA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267F4C 00264EAC 7C 08 02 A6 */ mflr r0 +/* 80267F50 00264EB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267F54 00264EB4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267F58 00264EB8 7C 9F 23 78 */ mr r31, r4 +/* 80267F5C 00264EBC 93 C1 00 08 */ stw r30, 8(r1) +/* 80267F60 00264EC0 7C 7E 1B 78 */ mr r30, r3 +/* 80267F64 00264EC4 80 03 00 04 */ lwz r0, 4(r3) +/* 80267F68 00264EC8 80 A3 00 08 */ lwz r5, 8(r3) +/* 80267F6C 00264ECC 7C 00 28 00 */ cmpw r0, r5 +/* 80267F70 00264ED0 41 80 00 18 */ blt lbl_80267F88 +/* 80267F74 00264ED4 2C 05 00 00 */ cmpwi r5, 0 +/* 80267F78 00264ED8 38 80 00 04 */ li r4, 4 +/* 80267F7C 00264EDC 41 82 00 08 */ beq lbl_80267F84 +/* 80267F80 00264EE0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80267F84: +/* 80267F84 00264EE4 48 00 04 65 */ bl "reserve__Q24rstl62vectorFi" +lbl_80267F88: +/* 80267F88 00264EE8 80 1E 00 04 */ lwz r0, 4(r30) +/* 80267F8C 00264EEC 7F E4 FB 78 */ mr r4, r31 +/* 80267F90 00264EF0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80267F94 00264EF4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80267F98 00264EF8 7C 63 02 14 */ add r3, r3, r0 +/* 80267F9C 00264EFC 48 00 00 29 */ bl "construct__4rstlFRCQ213CGameHintInfo9CGameHint" +/* 80267FA0 00264F00 80 7E 00 04 */ lwz r3, 4(r30) +/* 80267FA4 00264F04 38 03 00 01 */ addi r0, r3, 1 +/* 80267FA8 00264F08 90 1E 00 04 */ stw r0, 4(r30) +/* 80267FAC 00264F0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267FB0 00264F10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267FB4 00264F14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267FB8 00264F18 7C 08 03 A6 */ mtlr r0 +/* 80267FBC 00264F1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267FC0 00264F20 4E 80 00 20 */ blr + +.global "construct__4rstlFRCQ213CGameHintInfo9CGameHint" +"construct__4rstlFRCQ213CGameHintInfo9CGameHint": +/* 80267FC4 00264F24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267FC8 00264F28 7C 08 02 A6 */ mflr r0 +/* 80267FCC 00264F2C 28 03 00 00 */ cmplwi r3, 0 +/* 80267FD0 00264F30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267FD4 00264F34 41 82 00 08 */ beq lbl_80267FDC +/* 80267FD8 00264F38 48 00 00 15 */ bl __ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint +lbl_80267FDC: +/* 80267FDC 00264F3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267FE0 00264F40 7C 08 03 A6 */ mtlr r0 +/* 80267FE4 00264F44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267FE8 00264F48 4E 80 00 20 */ blr + +.global __ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint +__ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint: +/* 80267FEC 00264F4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267FF0 00264F50 7C 08 02 A6 */ mflr r0 +/* 80267FF4 00264F54 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267FF8 00264F58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267FFC 00264F5C 7C 7F 1B 78 */ mr r31, r3 +/* 80268000 00264F60 93 C1 00 08 */ stw r30, 8(r1) +/* 80268004 00264F64 7C 9E 23 78 */ mr r30, r4 +/* 80268008 00264F68 48 0D 61 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8026800C 00264F6C C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80268010 00264F70 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80268014 00264F74 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80268018 00264F78 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8026801C 00264F7C 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80268020 00264F80 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80268024 00264F84 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80268028 00264F88 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8026802C 00264F8C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80268030 00264F90 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80268034 00264F94 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80268038 00264F98 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026803C 00264F9C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80268040 00264FA0 2C 00 00 00 */ cmpwi r0, 0 +/* 80268044 00264FA4 40 82 00 1C */ bne lbl_80268060 +/* 80268048 00264FA8 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8026804C 00264FAC 2C 00 00 00 */ cmpwi r0, 0 +/* 80268050 00264FB0 40 82 00 10 */ bne lbl_80268060 +/* 80268054 00264FB4 38 00 00 00 */ li r0, 0 +/* 80268058 00264FB8 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8026805C 00264FBC 48 00 00 7C */ b lbl_802680D8 +lbl_80268060: +/* 80268060 00264FC0 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80268064 00264FC4 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b +/* 80268068 00264FC8 40 82 00 10 */ bne lbl_80268078 +/* 8026806C 00264FCC 38 00 00 00 */ li r0, 0 +/* 80268070 00264FD0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80268074 00264FD4 48 00 00 18 */ b lbl_8026808C +lbl_80268078: +/* 80268078 00264FD8 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 8026807C 00264FDC 38 A0 00 00 */ li r5, 0 +/* 80268080 00264FE0 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 80268084 00264FE4 48 0A D7 95 */ bl __nwa__FUlPCcPCc +/* 80268088 00264FE8 90 7F 00 2C */ stw r3, 0x2c(r31) +lbl_8026808C: +/* 8026808C 00264FEC 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80268090 00264FF0 80 9E 00 2C */ lwz r4, 0x2c(r30) +/* 80268094 00264FF4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80268098 00264FF8 7C 09 03 A6 */ mtctr r0 +/* 8026809C 00264FFC 2C 00 00 00 */ cmpwi r0, 0 +/* 802680A0 00265000 40 81 00 38 */ ble lbl_802680D8 +lbl_802680A4: +/* 802680A4 00265004 28 03 00 00 */ cmplwi r3, 0 +/* 802680A8 00265008 41 82 00 24 */ beq lbl_802680CC +/* 802680AC 0026500C 80 04 00 00 */ lwz r0, 0(r4) +/* 802680B0 00265010 90 03 00 00 */ stw r0, 0(r3) +/* 802680B4 00265014 80 04 00 04 */ lwz r0, 4(r4) +/* 802680B8 00265018 90 03 00 04 */ stw r0, 4(r3) +/* 802680BC 0026501C 80 04 00 08 */ lwz r0, 8(r4) +/* 802680C0 00265020 90 03 00 08 */ stw r0, 8(r3) +/* 802680C4 00265024 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802680C8 00265028 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802680CC: +/* 802680CC 0026502C 38 63 00 10 */ addi r3, r3, 0x10 +/* 802680D0 00265030 38 84 00 10 */ addi r4, r4, 0x10 +/* 802680D4 00265034 42 00 FF D0 */ bdnz lbl_802680A4 +lbl_802680D8: +/* 802680D8 00265038 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802680DC 0026503C 7F E3 FB 78 */ mr r3, r31 +/* 802680E0 00265040 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802680E4 00265044 83 C1 00 08 */ lwz r30, 8(r1) +/* 802680E8 00265048 7C 08 03 A6 */ mtlr r0 +/* 802680EC 0026504C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802680F0 00265050 4E 80 00 20 */ blr + +.global __ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi +__ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi: +/* 802680F4 00265054 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802680F8 00265058 7C 08 02 A6 */ mflr r0 +/* 802680FC 0026505C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80268100 00265060 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80268104 00265064 7C 9F 23 78 */ mr r31, r4 +/* 80268108 00265068 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8026810C 0026506C 7C 7E 1B 78 */ mr r30, r3 +/* 80268110 00265070 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80268114 00265074 93 81 00 30 */ stw r28, 0x30(r1) +/* 80268118 00265078 7C BC 2B 78 */ mr r28, r5 +/* 8026811C 0026507C 38 A1 00 08 */ addi r5, r1, 8 +/* 80268120 00265080 48 0D 61 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80268124 00265084 7F E3 FB 78 */ mr r3, r31 +/* 80268128 00265088 48 0D 6B 01 */ bl ReadFloat__12CInputStreamFv +/* 8026812C 0026508C D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80268130 00265090 7F E3 FB 78 */ mr r3, r31 +/* 80268134 00265094 48 0D 6A F5 */ bl ReadFloat__12CInputStreamFv +/* 80268138 00265098 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 8026813C 0026509C 7F E3 FB 78 */ mr r3, r31 +/* 80268140 002650A0 48 0D 6B 45 */ bl ReadLong__12CInputStreamFv +/* 80268144 002650A4 2C 1C 00 00 */ cmpwi r28, 0 +/* 80268148 002650A8 90 7E 00 18 */ stw r3, 0x18(r30) +/* 8026814C 002650AC 40 81 00 10 */ ble lbl_8026815C +/* 80268150 002650B0 7F E3 FB 78 */ mr r3, r31 +/* 80268154 002650B4 48 0D 6B 31 */ bl ReadLong__12CInputStreamFv +/* 80268158 002650B8 48 00 00 08 */ b lbl_80268160 +lbl_8026815C: +/* 8026815C 002650BC 38 60 00 01 */ li r3, 1 +lbl_80268160: +/* 80268160 002650C0 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 80268164 002650C4 3C 80 43 30 */ lis r4, 0x4330 +/* 80268168 002650C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026816C 002650CC 38 00 00 00 */ li r0, 0 +/* 80268170 002650D0 C8 22 BA F0 */ lfd f1, lbl_805AD810@sda21(r2) +/* 80268174 002650D4 7F E3 FB 78 */ mr r3, r31 +/* 80268178 002650D8 90 81 00 20 */ stw r4, 0x20(r1) +/* 8026817C 002650DC C0 42 BA DC */ lfs f2, lbl_805AD7FC@sda21(r2) +/* 80268180 002650E0 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 80268184 002650E4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80268188 002650E8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8026818C 002650EC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80268190 002650F0 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80268194 002650F4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 80268198 002650F8 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 8026819C 002650FC 48 0D 6A E9 */ bl ReadLong__12CInputStreamFv +/* 802681A0 00265100 7C 7C 1B 78 */ mr r28, r3 +/* 802681A4 00265104 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802681A8 00265108 7F 84 E3 78 */ mr r4, r28 +/* 802681AC 0026510C 48 00 01 39 */ bl "reserve__Q24rstl67vectorFi" +/* 802681B0 00265110 3B A0 00 00 */ li r29, 0 +/* 802681B4 00265114 48 00 00 7C */ b lbl_80268230 +lbl_802681B8: +/* 802681B8 00265118 7F E4 FB 78 */ mr r4, r31 +/* 802681BC 0026511C 38 61 00 0C */ addi r3, r1, 0xc +/* 802681C0 00265120 48 00 00 9D */ bl __ct__Q213CGameHintInfo13SHintLocationFR12CInputStream +/* 802681C4 00265124 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802681C8 00265128 80 BE 00 28 */ lwz r5, 0x28(r30) +/* 802681CC 0026512C 7C 00 28 00 */ cmpw r0, r5 +/* 802681D0 00265130 41 80 00 1C */ blt lbl_802681EC +/* 802681D4 00265134 2C 05 00 00 */ cmpwi r5, 0 +/* 802681D8 00265138 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802681DC 0026513C 38 80 00 04 */ li r4, 4 +/* 802681E0 00265140 41 82 00 08 */ beq lbl_802681E8 +/* 802681E4 00265144 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802681E8: +/* 802681E8 00265148 48 00 00 FD */ bl "reserve__Q24rstl67vectorFi" +lbl_802681EC: +/* 802681EC 0026514C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802681F0 00265150 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802681F4 00265154 54 00 20 36 */ slwi r0, r0, 4 +/* 802681F8 00265158 7C 63 02 15 */ add. r3, r3, r0 +/* 802681FC 0026515C 41 82 00 24 */ beq lbl_80268220 +/* 80268200 00265160 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80268204 00265164 90 03 00 00 */ stw r0, 0(r3) +/* 80268208 00265168 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026820C 0026516C 90 03 00 04 */ stw r0, 4(r3) +/* 80268210 00265170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80268214 00265174 90 03 00 08 */ stw r0, 8(r3) +/* 80268218 00265178 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8026821C 0026517C 90 03 00 0C */ stw r0, 0xc(r3) +lbl_80268220: +/* 80268220 00265180 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80268224 00265184 3B BD 00 01 */ addi r29, r29, 1 +/* 80268228 00265188 38 03 00 01 */ addi r0, r3, 1 +/* 8026822C 0026518C 90 1E 00 24 */ stw r0, 0x24(r30) +lbl_80268230: +/* 80268230 00265190 7C 1D E0 00 */ cmpw r29, r28 +/* 80268234 00265194 41 80 FF 84 */ blt lbl_802681B8 +/* 80268238 00265198 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026823C 0026519C 7F C3 F3 78 */ mr r3, r30 +/* 80268240 002651A0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80268244 002651A4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80268248 002651A8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8026824C 002651AC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80268250 002651B0 7C 08 03 A6 */ mtlr r0 +/* 80268254 002651B4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80268258 002651B8 4E 80 00 20 */ blr + +.global __ct__Q213CGameHintInfo13SHintLocationFR12CInputStream +__ct__Q213CGameHintInfo13SHintLocationFR12CInputStream: +/* 8026825C 002651BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80268260 002651C0 7C 08 02 A6 */ mflr r0 +/* 80268264 002651C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80268268 002651C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026826C 002651CC 7C 9F 23 78 */ mr r31, r4 +/* 80268270 002651D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80268274 002651D4 7C 7E 1B 78 */ mr r30, r3 +/* 80268278 002651D8 7F E3 FB 78 */ mr r3, r31 +/* 8026827C 002651DC 48 0D 6A 09 */ bl ReadLong__12CInputStreamFv +/* 80268280 002651E0 90 7E 00 00 */ stw r3, 0(r30) +/* 80268284 002651E4 7F E3 FB 78 */ mr r3, r31 +/* 80268288 002651E8 48 0D 69 FD */ bl ReadLong__12CInputStreamFv +/* 8026828C 002651EC 90 7E 00 04 */ stw r3, 4(r30) +/* 80268290 002651F0 7F E3 FB 78 */ mr r3, r31 +/* 80268294 002651F4 48 0D 69 F1 */ bl ReadLong__12CInputStreamFv +/* 80268298 002651F8 90 7E 00 08 */ stw r3, 8(r30) +/* 8026829C 002651FC 7F E3 FB 78 */ mr r3, r31 +/* 802682A0 00265200 48 0D 69 E5 */ bl ReadLong__12CInputStreamFv +/* 802682A4 00265204 90 7E 00 0C */ stw r3, 0xc(r30) +/* 802682A8 00265208 7F C3 F3 78 */ mr r3, r30 +/* 802682AC 0026520C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802682B0 00265210 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802682B4 00265214 83 C1 00 08 */ lwz r30, 8(r1) +/* 802682B8 00265218 7C 08 03 A6 */ mtlr r0 +/* 802682BC 0026521C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802682C0 00265220 4E 80 00 20 */ blr + +.global GetBitCount__16CGameHintManagerFi +GetBitCount__16CGameHintManagerFi: +/* 802682C4 00265224 38 80 00 00 */ li r4, 0 +/* 802682C8 00265228 48 00 00 0C */ b lbl_802682D4 +lbl_802682CC: +/* 802682CC 0026522C 54 63 F8 7E */ srwi r3, r3, 1 +/* 802682D0 00265230 38 84 00 01 */ addi r4, r4, 1 +lbl_802682D4: +/* 802682D4 00265234 28 03 00 00 */ cmplwi r3, 0 +/* 802682D8 00265238 40 82 FF F4 */ bne lbl_802682CC +/* 802682DC 0026523C 7C 83 23 78 */ mr r3, r4 +/* 802682E0 00265240 4E 80 00 20 */ blr + +.global "reserve__Q24rstl67vectorFi" +"reserve__Q24rstl67vectorFi": +/* 802682E4 00265244 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802682E8 00265248 7C 08 02 A6 */ mflr r0 +/* 802682EC 0026524C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802682F0 00265250 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802682F4 00265254 7C 9F 23 78 */ mr r31, r4 +/* 802682F8 00265258 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802682FC 0026525C 7C 7E 1B 78 */ mr r30, r3 +/* 80268300 00265260 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80268304 00265264 80 03 00 08 */ lwz r0, 8(r3) +/* 80268308 00265268 7C 1F 00 00 */ cmpw r31, r0 +/* 8026830C 0026526C 40 81 00 C0 */ ble lbl_802683CC +/* 80268310 00265270 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 80268314 00265274 40 82 00 0C */ bne lbl_80268320 +/* 80268318 00265278 3B A0 00 00 */ li r29, 0 +/* 8026831C 0026527C 48 00 00 18 */ b lbl_80268334 +lbl_80268320: +/* 80268320 00265280 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 80268324 00265284 38 A0 00 00 */ li r5, 0 +/* 80268328 00265288 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 8026832C 0026528C 48 0A D4 ED */ bl __nwa__FUlPCcPCc +/* 80268330 00265290 7C 7D 1B 78 */ mr r29, r3 +lbl_80268334: +/* 80268334 00265294 80 1E 00 04 */ lwz r0, 4(r30) +/* 80268338 00265298 7F A4 EB 78 */ mr r4, r29 +/* 8026833C 0026529C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80268340 002652A0 54 00 20 36 */ slwi r0, r0, 4 +/* 80268344 002652A4 7C 65 02 14 */ add r3, r5, r0 +/* 80268348 002652A8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8026834C 002652AC 90 61 00 08 */ stw r3, 8(r1) +/* 80268350 002652B0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80268354 002652B4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80268358 002652B8 48 00 00 34 */ b lbl_8026838C +lbl_8026835C: +/* 8026835C 002652BC 28 04 00 00 */ cmplwi r4, 0 +/* 80268360 002652C0 41 82 00 24 */ beq lbl_80268384 +/* 80268364 002652C4 80 05 00 00 */ lwz r0, 0(r5) +/* 80268368 002652C8 90 04 00 00 */ stw r0, 0(r4) +/* 8026836C 002652CC 80 05 00 04 */ lwz r0, 4(r5) +/* 80268370 002652D0 90 04 00 04 */ stw r0, 4(r4) +/* 80268374 002652D4 80 05 00 08 */ lwz r0, 8(r5) +/* 80268378 002652D8 90 04 00 08 */ stw r0, 8(r4) +/* 8026837C 002652DC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80268380 002652E0 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80268384: +/* 80268384 002652E4 38 84 00 10 */ addi r4, r4, 0x10 +/* 80268388 002652E8 38 A5 00 10 */ addi r5, r5, 0x10 +lbl_8026838C: +/* 8026838C 002652EC 7C 05 18 40 */ cmplw r5, r3 +/* 80268390 002652F0 40 82 FF CC */ bne lbl_8026835C +/* 80268394 002652F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80268398 002652F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026839C 002652FC 54 00 20 36 */ slwi r0, r0, 4 +/* 802683A0 00265300 7C 64 1B 78 */ mr r4, r3 +/* 802683A4 00265304 7C 03 02 14 */ add r0, r3, r0 +/* 802683A8 00265308 48 00 00 08 */ b lbl_802683B0 +lbl_802683AC: +/* 802683AC 0026530C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_802683B0: +/* 802683B0 00265310 7C 04 00 40 */ cmplw r4, r0 +/* 802683B4 00265314 40 82 FF F8 */ bne lbl_802683AC +/* 802683B8 00265318 28 03 00 00 */ cmplwi r3, 0 +/* 802683BC 0026531C 41 82 00 08 */ beq lbl_802683C4 +/* 802683C0 00265320 48 0A D5 71 */ bl Free__7CMemoryFPCv +lbl_802683C4: +/* 802683C4 00265324 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802683C8 00265328 93 FE 00 08 */ stw r31, 8(r30) +lbl_802683CC: +/* 802683CC 0026532C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802683D0 00265330 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802683D4 00265334 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802683D8 00265338 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802683DC 0026533C 7C 08 03 A6 */ mtlr r0 +/* 802683E0 00265340 38 21 00 30 */ addi r1, r1, 0x30 +/* 802683E4 00265344 4E 80 00 20 */ blr + +.global "reserve__Q24rstl62vectorFi" +"reserve__Q24rstl62vectorFi": +/* 802683E8 00265348 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802683EC 0026534C 7C 08 02 A6 */ mflr r0 +/* 802683F0 00265350 90 01 00 34 */ stw r0, 0x34(r1) +/* 802683F4 00265354 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802683F8 00265358 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802683FC 0026535C 7C 9E 23 78 */ mr r30, r4 +/* 80268400 00265360 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80268404 00265364 7C 7D 1B 78 */ mr r29, r3 +/* 80268408 00265368 80 03 00 08 */ lwz r0, 8(r3) +/* 8026840C 0026536C 7C 1E 00 00 */ cmpw r30, r0 +/* 80268410 00265370 40 81 00 8C */ ble lbl_8026849C +/* 80268414 00265374 1C 7E 00 30 */ mulli r3, r30, 0x30 +/* 80268418 00265378 2C 03 00 00 */ cmpwi r3, 0 +/* 8026841C 0026537C 40 82 00 0C */ bne lbl_80268428 +/* 80268420 00265380 3B E0 00 00 */ li r31, 0 +/* 80268424 00265384 48 00 00 18 */ b lbl_8026843C +lbl_80268428: +/* 80268428 00265388 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 8026842C 0026538C 38 A0 00 00 */ li r5, 0 +/* 80268430 00265390 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 80268434 00265394 48 0A D3 E5 */ bl __nwa__FUlPCcPCc +/* 80268438 00265398 7C 7F 1B 78 */ mr r31, r3 +lbl_8026843C: +/* 8026843C 0026539C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80268440 002653A0 7F E5 FB 78 */ mr r5, r31 +/* 80268444 002653A4 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80268448 002653A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8026844C 002653AC 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80268450 002653B0 38 81 00 0C */ addi r4, r1, 0xc +/* 80268454 002653B4 7C C6 02 14 */ add r6, r6, r0 +/* 80268458 002653B8 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026845C 002653BC 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80268460 002653C0 90 C1 00 08 */ stw r6, 8(r1) +/* 80268464 002653C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80268468 002653C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026846C 002653CC 48 00 00 99 */ bl sub_80268504 +/* 80268470 002653D0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80268474 002653D4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80268478 002653D8 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8026847C 002653DC 7C 83 02 14 */ add r4, r3, r0 +/* 80268480 002653E0 48 00 00 39 */ bl sub_802684b8 +/* 80268484 002653E4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80268488 002653E8 28 03 00 00 */ cmplwi r3, 0 +/* 8026848C 002653EC 41 82 00 08 */ beq lbl_80268494 +/* 80268490 002653F0 48 0A D4 A1 */ bl Free__7CMemoryFPCv +lbl_80268494: +/* 80268494 002653F4 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80268498 002653F8 93 DD 00 08 */ stw r30, 8(r29) +lbl_8026849C: +/* 8026849C 002653FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802684A0 00265400 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802684A4 00265404 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802684A8 00265408 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802684AC 0026540C 7C 08 03 A6 */ mtlr r0 +/* 802684B0 00265410 38 21 00 30 */ addi r1, r1, 0x30 +/* 802684B4 00265414 4E 80 00 20 */ blr + +.global sub_802684b8 +sub_802684b8: +/* 802684B8 00265418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802684BC 0026541C 7C 08 02 A6 */ mflr r0 +/* 802684C0 00265420 90 01 00 14 */ stw r0, 0x14(r1) +/* 802684C4 00265424 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802684C8 00265428 7C 7F 1B 78 */ mr r31, r3 +/* 802684CC 0026542C 93 C1 00 08 */ stw r30, 8(r1) +/* 802684D0 00265430 7C 9E 23 78 */ mr r30, r4 +/* 802684D4 00265434 48 00 00 10 */ b lbl_802684E4 +lbl_802684D8: +/* 802684D8 00265438 7F E3 FB 78 */ mr r3, r31 +/* 802684DC 0026543C 4B FF EF 51 */ bl sub_8026742c +/* 802684E0 00265440 3B FF 00 30 */ addi r31, r31, 0x30 +lbl_802684E4: +/* 802684E4 00265444 7C 1F F0 40 */ cmplw r31, r30 +/* 802684E8 00265448 40 82 FF F0 */ bne lbl_802684D8 +/* 802684EC 0026544C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802684F0 00265450 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802684F4 00265454 83 C1 00 08 */ lwz r30, 8(r1) +/* 802684F8 00265458 7C 08 03 A6 */ mtlr r0 +/* 802684FC 0026545C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80268500 00265460 4E 80 00 20 */ blr + +.global sub_80268504 +sub_80268504: +/* 80268504 00265464 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80268508 00265468 7C 08 02 A6 */ mflr r0 +/* 8026850C 0026546C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80268510 00265470 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80268514 00265474 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80268518 00265478 7C BE 2B 78 */ mr r30, r5 +/* 8026851C 0026547C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80268520 00265480 7C 9D 23 78 */ mr r29, r4 +/* 80268524 00265484 83 E3 00 00 */ lwz r31, 0(r3) +/* 80268528 00265488 48 00 00 18 */ b lbl_80268540 +lbl_8026852C: +/* 8026852C 0026548C 7F C3 F3 78 */ mr r3, r30 +/* 80268530 00265490 7F E4 FB 78 */ mr r4, r31 +/* 80268534 00265494 4B FF FA 91 */ bl "construct__4rstlFRCQ213CGameHintInfo9CGameHint" +/* 80268538 00265498 3B DE 00 30 */ addi r30, r30, 0x30 +/* 8026853C 0026549C 3B FF 00 30 */ addi r31, r31, 0x30 +lbl_80268540: +/* 80268540 002654A0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80268544 002654A4 7C 1F 00 40 */ cmplw r31, r0 +/* 80268548 002654A8 40 82 FF E4 */ bne lbl_8026852C +/* 8026854C 002654AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80268550 002654B0 7F C3 F3 78 */ mr r3, r30 +/* 80268554 002654B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80268558 002654B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026855C 002654BC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80268560 002654C0 7C 08 03 A6 */ mtlr r0 +/* 80268564 002654C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80268568 002654C8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CMorphBallShadow.s b/asm/Kyoto_CWD/Player/CMorphBallShadow.s new file mode 100644 index 00000000..9c8bfedf --- /dev/null +++ b/asm/Kyoto_CWD/Player/CMorphBallShadow.s @@ -0,0 +1,1302 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AreasValid__16CMorphBallShadowCFRC13CStateManager +AreasValid__16CMorphBallShadowCFRC13CStateManager: +/* 80295B40 00292AA0 80 84 08 50 */ lwz r4, 0x850(r4) +/* 80295B44 00292AA4 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 80295B48 00292AA8 80 C4 00 58 */ lwz r6, 0x58(r4) +/* 80295B4C 00292AAC 80 ED A2 18 */ lwz r7, lbl_805A8DD8@sda21(r13) +/* 80295B50 00292AB0 48 00 00 5C */ b lbl_80295BAC +lbl_80295B54: +/* 80295B54 00292AB4 88 06 00 F0 */ lbz r0, 0xf0(r6) +/* 80295B58 00292AB8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80295B5C 00292ABC 41 82 00 10 */ beq lbl_80295B6C +/* 80295B60 00292AC0 80 86 01 2C */ lwz r4, 0x12c(r6) +/* 80295B64 00292AC4 80 04 10 DC */ lwz r0, 0x10dc(r4) +/* 80295B68 00292AC8 48 00 00 08 */ b lbl_80295B70 +lbl_80295B6C: +/* 80295B6C 00292ACC 38 00 00 00 */ li r0, 0 +lbl_80295B70: +/* 80295B70 00292AD0 2C 00 00 01 */ cmpwi r0, 1 +/* 80295B74 00292AD4 40 82 00 34 */ bne lbl_80295BA8 +/* 80295B78 00292AD8 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80295B7C 00292ADC 7C 05 00 40 */ cmplw r5, r0 +/* 80295B80 00292AE0 40 82 00 0C */ bne lbl_80295B8C +/* 80295B84 00292AE4 38 60 00 00 */ li r3, 0 +/* 80295B88 00292AE8 4E 80 00 20 */ blr +lbl_80295B8C: +/* 80295B8C 00292AEC 80 85 00 08 */ lwz r4, 8(r5) +/* 80295B90 00292AF0 80 06 00 04 */ lwz r0, 4(r6) +/* 80295B94 00292AF4 7C 04 00 00 */ cmpw r4, r0 +/* 80295B98 00292AF8 41 82 00 0C */ beq lbl_80295BA4 +/* 80295B9C 00292AFC 38 60 00 00 */ li r3, 0 +/* 80295BA0 00292B00 4E 80 00 20 */ blr +lbl_80295BA4: +/* 80295BA4 00292B04 80 A5 00 04 */ lwz r5, 4(r5) +lbl_80295BA8: +/* 80295BA8 00292B08 80 C6 01 30 */ lwz r6, 0x130(r6) +lbl_80295BAC: +/* 80295BAC 00292B0C 7C 06 38 40 */ cmplw r6, r7 +/* 80295BB0 00292B10 40 82 FF A4 */ bne lbl_80295B54 +/* 80295BB4 00292B14 38 60 00 01 */ li r3, 1 +/* 80295BB8 00292B18 4E 80 00 20 */ blr + +.global GatherAreas__16CMorphBallShadowFR13CStateManager +GatherAreas__16CMorphBallShadowFR13CStateManager: +/* 80295BBC 00292B1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80295BC0 00292B20 7C 08 02 A6 */ mflr r0 +/* 80295BC4 00292B24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80295BC8 00292B28 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80295BCC 00292B2C 7C 9B 23 78 */ mr r27, r4 +/* 80295BD0 00292B30 7C 7F 1B 78 */ mr r31, r3 +/* 80295BD4 00292B34 83 A3 00 20 */ lwz r29, 0x20(r3) +/* 80295BD8 00292B38 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 80295BDC 00292B3C 48 00 00 10 */ b lbl_80295BEC +lbl_80295BE0: +/* 80295BE0 00292B40 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80295BE4 00292B44 48 00 11 4D */ bl sub_80296d30 +/* 80295BE8 00292B48 7C 64 1B 78 */ mr r4, r3 +lbl_80295BEC: +/* 80295BEC 00292B4C 7C 04 E8 40 */ cmplw r4, r29 +/* 80295BF0 00292B50 40 82 FF F0 */ bne lbl_80295BE0 +/* 80295BF4 00292B54 80 7B 08 50 */ lwz r3, 0x850(r27) +/* 80295BF8 00292B58 83 83 00 58 */ lwz r28, 0x58(r3) +/* 80295BFC 00292B5C 48 00 00 94 */ b lbl_80295C90 +lbl_80295C00: +/* 80295C00 00292B60 88 1C 00 F0 */ lbz r0, 0xf0(r28) +/* 80295C04 00292B64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80295C08 00292B68 41 82 00 10 */ beq lbl_80295C18 +/* 80295C0C 00292B6C 80 7C 01 2C */ lwz r3, 0x12c(r28) +/* 80295C10 00292B70 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 80295C14 00292B74 48 00 00 08 */ b lbl_80295C1C +lbl_80295C18: +/* 80295C18 00292B78 38 00 00 00 */ li r0, 0 +lbl_80295C1C: +/* 80295C1C 00292B7C 2C 00 00 01 */ cmpwi r0, 1 +/* 80295C20 00292B80 40 82 00 6C */ bne lbl_80295C8C +/* 80295C24 00292B84 83 DF 00 20 */ lwz r30, 0x20(r31) +/* 80295C28 00292B88 3C 60 80 3D */ lis r3, lbl_803D5C30@ha +/* 80295C2C 00292B8C 38 83 5C 30 */ addi r4, r3, lbl_803D5C30@l +/* 80295C30 00292B90 83 7C 00 04 */ lwz r27, 4(r28) +/* 80295C34 00292B94 83 BE 00 00 */ lwz r29, 0(r30) +/* 80295C38 00292B98 38 60 00 0C */ li r3, 0xc +/* 80295C3C 00292B9C 38 A0 00 00 */ li r5, 0 +/* 80295C40 00292BA0 48 07 FB D9 */ bl __nwa__FUlPCcPCc +/* 80295C44 00292BA4 28 03 00 00 */ cmplwi r3, 0 +/* 80295C48 00292BA8 41 82 00 0C */ beq lbl_80295C54 +/* 80295C4C 00292BAC 93 A3 00 00 */ stw r29, 0(r3) +/* 80295C50 00292BB0 93 C3 00 04 */ stw r30, 4(r3) +lbl_80295C54: +/* 80295C54 00292BB4 34 83 00 08 */ addic. r4, r3, 8 +/* 80295C58 00292BB8 41 82 00 08 */ beq lbl_80295C60 +/* 80295C5C 00292BBC 93 64 00 00 */ stw r27, 0(r4) +lbl_80295C60: +/* 80295C60 00292BC0 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80295C64 00292BC4 7C 1E 00 40 */ cmplw r30, r0 +/* 80295C68 00292BC8 40 82 00 08 */ bne lbl_80295C70 +/* 80295C6C 00292BCC 90 7F 00 1C */ stw r3, 0x1c(r31) +lbl_80295C70: +/* 80295C70 00292BD0 80 83 00 00 */ lwz r4, 0(r3) +/* 80295C74 00292BD4 90 64 00 04 */ stw r3, 4(r4) +/* 80295C78 00292BD8 80 83 00 04 */ lwz r4, 4(r3) +/* 80295C7C 00292BDC 90 64 00 00 */ stw r3, 0(r4) +/* 80295C80 00292BE0 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80295C84 00292BE4 38 03 00 01 */ addi r0, r3, 1 +/* 80295C88 00292BE8 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_80295C8C: +/* 80295C8C 00292BEC 83 9C 01 30 */ lwz r28, 0x130(r28) +lbl_80295C90: +/* 80295C90 00292BF0 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) +/* 80295C94 00292BF4 7C 1C 00 40 */ cmplw r28, r0 +/* 80295C98 00292BF8 40 82 FF 68 */ bne lbl_80295C00 +/* 80295C9C 00292BFC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80295CA0 00292C00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80295CA4 00292C04 7C 08 03 A6 */ mtlr r0 +/* 80295CA8 00292C08 38 21 00 20 */ addi r1, r1, 0x20 +/* 80295CAC 00292C0C 4E 80 00 20 */ blr + +.global Render__16CMorphBallShadowFR13CStateManagerf +Render__16CMorphBallShadowFR13CStateManagerf: +/* 80295CB0 00292C10 94 21 FD 30 */ stwu r1, -0x2d0(r1) +/* 80295CB4 00292C14 7C 08 02 A6 */ mflr r0 +/* 80295CB8 00292C18 90 01 02 D4 */ stw r0, 0x2d4(r1) +/* 80295CBC 00292C1C DB E1 02 C0 */ stfd f31, 0x2c0(r1) +/* 80295CC0 00292C20 F3 E1 02 C8 */ psq_st f31, 712(r1), 0, qr0 +/* 80295CC4 00292C24 BF 21 02 A4 */ stmw r25, 0x2a4(r1) +/* 80295CC8 00292C28 7C 7E 1B 78 */ mr r30, r3 +/* 80295CCC 00292C2C FF E0 08 90 */ fmr f31, f1 +/* 80295CD0 00292C30 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 80295CD4 00292C34 83 ED A0 68 */ lwz r31, gpRender@sda21(r13) +/* 80295CD8 00292C38 28 00 00 00 */ cmplwi r0, 0 +/* 80295CDC 00292C3C 41 82 05 68 */ beq lbl_80296244 +/* 80295CE0 00292C40 4B FF FE 61 */ bl AreasValid__16CMorphBallShadowCFRC13CStateManager +/* 80295CE4 00292C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80295CE8 00292C48 40 82 00 08 */ bne lbl_80295CF0 +/* 80295CEC 00292C4C 48 00 05 58 */ b lbl_80296244 +lbl_80295CF0: +/* 80295CF0 00292C50 80 BE 00 A8 */ lwz r5, 0xa8(r30) +/* 80295CF4 00292C54 38 7E 00 40 */ addi r3, r30, 0x40 +/* 80295CF8 00292C58 AB 9E 00 46 */ lha r28, 0x46(r30) +/* 80295CFC 00292C5C 38 80 00 00 */ li r4, 0 +/* 80295D00 00292C60 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80295D04 00292C64 AB 7E 00 44 */ lha r27, 0x44(r30) +/* 80295D08 00292C68 7C 05 00 D0 */ neg r0, r5 +/* 80295D0C 00292C6C 7C 00 2B 78 */ or r0, r0, r5 +/* 80295D10 00292C70 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 80295D14 00292C74 48 07 88 E1 */ bl GetConstBitMapData__8CTextureCFi +/* 80295D18 00292C78 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 80295D1C 00292C7C 7C 66 1B 78 */ mr r6, r3 +/* 80295D20 00292C80 7F 63 DB 78 */ mr r3, r27 +/* 80295D24 00292C84 7F 84 E3 78 */ mr r4, r28 +/* 80295D28 00292C88 38 A0 00 01 */ li r5, 1 +/* 80295D2C 00292C8C 48 07 42 F5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 80295D30 00292C90 38 7F 02 20 */ addi r3, r31, 0x220 +/* 80295D34 00292C94 38 80 00 01 */ li r4, 1 +/* 80295D38 00292C98 38 A0 00 00 */ li r5, 0 +/* 80295D3C 00292C9C 48 07 9A 01 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80295D40 00292CA0 28 1D 00 00 */ cmplwi r29, 0 +/* 80295D44 00292CA4 41 82 00 34 */ beq lbl_80295D78 +/* 80295D48 00292CA8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80295D4C 00292CAC 38 9E 00 A8 */ addi r4, r30, 0xa8 +/* 80295D50 00292CB0 48 0A B1 59 */ bl __ct__6CTokenFRC6CToken +/* 80295D54 00292CB4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80295D58 00292CB8 48 0A B0 B5 */ bl GetObj__6CTokenFv +/* 80295D5C 00292CBC 80 63 00 04 */ lwz r3, 4(r3) +/* 80295D60 00292CC0 38 80 00 02 */ li r4, 2 +/* 80295D64 00292CC4 38 A0 00 00 */ li r5, 0 +/* 80295D68 00292CC8 48 07 99 D5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80295D6C 00292CCC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80295D70 00292CD0 38 80 00 00 */ li r4, 0 +/* 80295D74 00292CD4 48 0A B0 CD */ bl __dt__6CTokenFv +lbl_80295D78: +/* 80295D78 00292CD8 48 07 6C 05 */ bl DisableAllLights__9CGraphicsFv +/* 80295D7C 00292CDC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80295D80 00292CE0 38 9E 00 B8 */ addi r4, r30, 0xb8 +/* 80295D84 00292CE4 48 0A 18 89 */ bl GetCenterPoint__6CAABoxCFv +/* 80295D88 00292CE8 C0 22 BF 9C */ lfs f1, lbl_805ADCBC@sda21(r2) +/* 80295D8C 00292CEC FC 80 F8 90 */ fmr f4, f31 +/* 80295D90 00292CF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80295D94 00292CF4 FC 40 08 90 */ fmr f2, f1 +/* 80295D98 00292CF8 FC 60 08 90 */ fmr f3, f1 +/* 80295D9C 00292CFC 48 0C D6 51 */ bl __ct__6CColorFffff +/* 80295DA0 00292D00 3C 80 80 5A */ lis r4, lbl_805A6700@ha +/* 80295DA4 00292D04 7C 65 1B 78 */ mr r5, r3 +/* 80295DA8 00292D08 38 84 67 00 */ addi r4, r4, lbl_805A6700@l +/* 80295DAC 00292D0C 38 61 02 00 */ addi r3, r1, 0x200 +/* 80295DB0 00292D10 48 07 06 BD */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 80295DB4 00292D14 38 61 02 50 */ addi r3, r1, 0x250 +/* 80295DB8 00292D18 38 81 02 00 */ addi r4, r1, 0x200 +/* 80295DBC 00292D1C 4B DA 57 B5 */ bl __ct__6CLightFCR6CLight +/* 80295DC0 00292D20 38 81 02 50 */ addi r4, r1, 0x250 +/* 80295DC4 00292D24 38 60 00 00 */ li r3, 0 +/* 80295DC8 00292D28 48 07 6B FD */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 80295DCC 00292D2C 80 02 D7 50 */ lwz r0, lbl_805AF470@sda21(r2) +/* 80295DD0 00292D30 38 81 00 0C */ addi r4, r1, 0xc +/* 80295DD4 00292D34 38 60 00 00 */ li r3, 0 +/* 80295DD8 00292D38 90 01 00 0C */ stw r0, 0xc(r1) +/* 80295DDC 00292D3C 48 07 2F E9 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 80295DE0 00292D40 80 02 BF 98 */ lwz r0, lbl_805ADCB8@sda21(r2) +/* 80295DE4 00292D44 38 81 00 08 */ addi r4, r1, 8 +/* 80295DE8 00292D48 38 60 00 00 */ li r3, 0 +/* 80295DEC 00292D4C 90 01 00 08 */ stw r0, 8(r1) +/* 80295DF0 00292D50 48 07 2F 6D */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 80295DF4 00292D54 38 60 00 00 */ li r3, 0 +/* 80295DF8 00292D58 48 07 30 59 */ bl SetNumChans__3CGXFUc +/* 80295DFC 00292D5C 48 07 21 E9 */ bl FlushState__3CGXFv +/* 80295E00 00292D60 38 60 00 02 */ li r3, 2 +/* 80295E04 00292D64 38 80 00 01 */ li r4, 1 +/* 80295E08 00292D68 38 A0 00 00 */ li r5, 0 +/* 80295E0C 00292D6C 38 C0 00 00 */ li r6, 0 +/* 80295E10 00292D70 38 E0 00 01 */ li r7, 1 +/* 80295E14 00292D74 39 00 00 02 */ li r8, 2 +/* 80295E18 00292D78 39 20 00 01 */ li r9, 1 +/* 80295E1C 00292D7C 48 0E 3D 59 */ bl GXSetChanCtrl +/* 80295E20 00292D80 38 60 00 01 */ li r3, 1 +/* 80295E24 00292D84 48 0E 3D 0D */ bl GXSetNumChans +/* 80295E28 00292D88 38 60 00 00 */ li r3, 0 +/* 80295E2C 00292D8C 48 07 28 65 */ bl SetNumIndStages__3CGXFUc +/* 80295E30 00292D90 38 60 00 00 */ li r3, 0 +/* 80295E34 00292D94 48 07 29 11 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80295E38 00292D98 38 60 00 00 */ li r3, 0 +/* 80295E3C 00292D9C 38 80 00 0F */ li r4, 0xf +/* 80295E40 00292DA0 38 A0 00 0F */ li r5, 0xf +/* 80295E44 00292DA4 38 C0 00 0F */ li r6, 0xf +/* 80295E48 00292DA8 38 E0 00 0F */ li r7, 0xf +/* 80295E4C 00292DAC 48 07 2D A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80295E50 00292DB0 38 60 00 00 */ li r3, 0 +/* 80295E54 00292DB4 38 80 00 04 */ li r4, 4 +/* 80295E58 00292DB8 38 A0 00 06 */ li r5, 6 +/* 80295E5C 00292DBC 38 C0 00 05 */ li r6, 5 +/* 80295E60 00292DC0 38 E0 00 07 */ li r7, 7 +/* 80295E64 00292DC4 48 07 2D 31 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80295E68 00292DC8 38 60 00 00 */ li r3, 0 +/* 80295E6C 00292DCC 38 80 00 00 */ li r4, 0 +/* 80295E70 00292DD0 38 A0 00 00 */ li r5, 0 +/* 80295E74 00292DD4 38 C0 00 00 */ li r6, 0 +/* 80295E78 00292DD8 38 E0 00 01 */ li r7, 1 +/* 80295E7C 00292DDC 39 00 00 00 */ li r8, 0 +/* 80295E80 00292DE0 48 07 2C B9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80295E84 00292DE4 38 60 00 00 */ li r3, 0 +/* 80295E88 00292DE8 38 80 00 0F */ li r4, 0xf +/* 80295E8C 00292DEC 38 A0 00 00 */ li r5, 0 +/* 80295E90 00292DF0 38 C0 00 01 */ li r6, 1 +/* 80295E94 00292DF4 38 E0 00 01 */ li r7, 1 +/* 80295E98 00292DF8 39 00 00 00 */ li r8, 0 +/* 80295E9C 00292DFC 48 07 2B E5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80295EA0 00292E00 38 60 00 00 */ li r3, 0 +/* 80295EA4 00292E04 38 80 00 01 */ li r4, 1 +/* 80295EA8 00292E08 38 A0 00 07 */ li r5, 7 +/* 80295EAC 00292E0C 38 C0 00 04 */ li r6, 4 +/* 80295EB0 00292E10 48 07 2A 9D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80295EB4 00292E14 38 60 00 00 */ li r3, 0 +/* 80295EB8 00292E18 38 80 00 1C */ li r4, 0x1c +/* 80295EBC 00292E1C 48 07 2A E1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80295EC0 00292E20 38 60 00 01 */ li r3, 1 +/* 80295EC4 00292E24 38 80 00 0F */ li r4, 0xf +/* 80295EC8 00292E28 38 A0 00 0F */ li r5, 0xf +/* 80295ECC 00292E2C 38 C0 00 0F */ li r6, 0xf +/* 80295ED0 00292E30 38 E0 00 00 */ li r7, 0 +/* 80295ED4 00292E34 48 07 2D 19 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80295ED8 00292E38 38 60 00 01 */ li r3, 1 +/* 80295EDC 00292E3C 38 80 00 07 */ li r4, 7 +/* 80295EE0 00292E40 38 A0 00 04 */ li r5, 4 +/* 80295EE4 00292E44 38 C0 00 00 */ li r6, 0 +/* 80295EE8 00292E48 38 E0 00 07 */ li r7, 7 +/* 80295EEC 00292E4C 48 07 2C A9 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80295EF0 00292E50 38 60 00 01 */ li r3, 1 +/* 80295EF4 00292E54 48 07 1D 5D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80295EF8 00292E58 38 60 00 01 */ li r3, 1 +/* 80295EFC 00292E5C 38 80 00 00 */ li r4, 0 +/* 80295F00 00292E60 38 A0 00 01 */ li r5, 1 +/* 80295F04 00292E64 38 C0 00 FF */ li r6, 0xff +/* 80295F08 00292E68 48 07 2A 45 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80295F0C 00292E6C 28 1D 00 00 */ cmplwi r29, 0 +/* 80295F10 00292E70 41 82 00 64 */ beq lbl_80295F74 +/* 80295F14 00292E74 38 60 00 02 */ li r3, 2 +/* 80295F18 00292E78 38 80 00 0F */ li r4, 0xf +/* 80295F1C 00292E7C 38 A0 00 0F */ li r5, 0xf +/* 80295F20 00292E80 38 C0 00 0F */ li r6, 0xf +/* 80295F24 00292E84 38 E0 00 00 */ li r7, 0 +/* 80295F28 00292E88 48 07 2C C5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80295F2C 00292E8C 38 60 00 02 */ li r3, 2 +/* 80295F30 00292E90 38 80 00 07 */ li r4, 7 +/* 80295F34 00292E94 38 A0 00 00 */ li r5, 0 +/* 80295F38 00292E98 38 C0 00 04 */ li r6, 4 +/* 80295F3C 00292E9C 38 E0 00 07 */ li r7, 7 +/* 80295F40 00292EA0 48 07 2C 55 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80295F44 00292EA4 38 60 00 02 */ li r3, 2 +/* 80295F48 00292EA8 48 07 1D 09 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80295F4C 00292EAC 38 60 00 02 */ li r3, 2 +/* 80295F50 00292EB0 38 80 00 02 */ li r4, 2 +/* 80295F54 00292EB4 38 A0 00 02 */ li r5, 2 +/* 80295F58 00292EB8 38 C0 00 FF */ li r6, 0xff +/* 80295F5C 00292EBC 48 07 29 F1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80295F60 00292EC0 38 60 00 03 */ li r3, 3 +/* 80295F64 00292EC4 48 07 2D 2D */ bl SetNumTevStages__3CGXFUc +/* 80295F68 00292EC8 38 60 00 03 */ li r3, 3 +/* 80295F6C 00292ECC 48 07 2E A9 */ bl SetNumTexGens__3CGXFUc +/* 80295F70 00292ED0 48 00 00 14 */ b lbl_80295F84 +lbl_80295F74: +/* 80295F74 00292ED4 38 60 00 02 */ li r3, 2 +/* 80295F78 00292ED8 48 07 2D 19 */ bl SetNumTevStages__3CGXFUc +/* 80295F7C 00292EDC 38 60 00 02 */ li r3, 2 +/* 80295F80 00292EE0 48 07 2E 95 */ bl SetNumTexGens__3CGXFUc +lbl_80295F84: +/* 80295F84 00292EE4 80 02 D7 54 */ lwz r0, lbl_805AF474@sda21(r2) +/* 80295F88 00292EE8 3B 40 00 01 */ li r26, 1 +/* 80295F8C 00292EEC 38 60 00 01 */ li r3, 1 +/* 80295F90 00292EF0 38 80 00 02 */ li r4, 2 +/* 80295F94 00292EF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295F98 00292EF8 38 A0 00 00 */ li r5, 0 +/* 80295F9C 00292EFC 48 07 28 E1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 80295FA0 00292F00 38 60 00 01 */ li r3, 1 +/* 80295FA4 00292F04 38 80 00 04 */ li r4, 4 +/* 80295FA8 00292F08 38 A0 00 05 */ li r5, 5 +/* 80295FAC 00292F0C 38 C0 00 00 */ li r6, 0 +/* 80295FB0 00292F10 48 07 29 21 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 80295FB4 00292F14 38 60 00 04 */ li r3, 4 +/* 80295FB8 00292F18 38 80 00 00 */ li r4, 0 +/* 80295FBC 00292F1C 38 A0 00 00 */ li r5, 0 +/* 80295FC0 00292F20 38 C0 00 07 */ li r6, 7 +/* 80295FC4 00292F24 38 E0 00 00 */ li r7, 0 +/* 80295FC8 00292F28 48 07 28 4D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 80295FCC 00292F2C 3C 60 80 3D */ lis r3, lbl_803D5BD0@ha +/* 80295FD0 00292F30 38 80 00 40 */ li r4, 0x40 +/* 80295FD4 00292F34 38 63 5B D0 */ addi r3, r3, lbl_803D5BD0@l +/* 80295FD8 00292F38 38 A0 00 00 */ li r5, 0 +/* 80295FDC 00292F3C 48 0E 64 B5 */ bl GXLoadTexMtxImm +/* 80295FE0 00292F40 C0 1E 00 BC */ lfs f0, 0xbc(r30) +/* 80295FE4 00292F44 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80295FE8 00292F48 C0 7E 00 C8 */ lfs f3, 0xc8(r30) +/* 80295FEC 00292F4C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80295FF0 00292F50 C0 3E 00 C0 */ lfs f1, 0xc0(r30) +/* 80295FF4 00292F54 FC C0 00 50 */ fneg f6, f0 +/* 80295FF8 00292F58 C0 5E 00 CC */ lfs f2, 0xcc(r30) +/* 80295FFC 00292F5C EC A3 00 28 */ fsubs f5, f3, f0 +/* 80296000 00292F60 C0 7E 00 B8 */ lfs f3, 0xb8(r30) +/* 80296004 00292F64 FC E0 08 50 */ fneg f7, f1 +/* 80296008 00292F68 C0 1E 00 C4 */ lfs f0, 0xc4(r30) +/* 8029600C 00292F6C EC 82 08 28 */ fsubs f4, f2, f1 +/* 80296010 00292F70 C0 22 BF A0 */ lfs f1, lbl_805ADCC0@sda21(r2) +/* 80296014 00292F74 EC 40 18 28 */ fsubs f2, f0, f3 +/* 80296018 00292F78 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8029601C 00292F7C EC 01 28 24 */ fdivs f0, f1, f5 +/* 80296020 00292F80 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 80296024 00292F84 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80296028 00292F88 D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 8029602C 00292F8C D0 E1 00 34 */ stfs f7, 0x34(r1) +/* 80296030 00292F90 EC 41 10 24 */ fdivs f2, f1, f2 +/* 80296034 00292F94 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80296038 00292F98 EC 21 20 24 */ fdivs f1, f1, f4 +/* 8029603C 00292F9C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80296040 00292FA0 FC 00 18 50 */ fneg f0, f3 +/* 80296044 00292FA4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80296048 00292FA8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8029604C 00292FAC 48 07 D0 F5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80296050 00292FB0 38 61 01 10 */ addi r3, r1, 0x110 +/* 80296054 00292FB4 38 81 00 44 */ addi r4, r1, 0x44 +/* 80296058 00292FB8 48 07 D1 6D */ bl Scale__12CTransform4fFRC9CVector3f +/* 8029605C 00292FBC 38 61 01 40 */ addi r3, r1, 0x140 +/* 80296060 00292FC0 38 81 01 10 */ addi r4, r1, 0x110 +/* 80296064 00292FC4 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 80296068 00292FC8 48 07 C8 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029606C 00292FCC 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80296070 00292FD0 38 81 01 40 */ addi r4, r1, 0x140 +/* 80296074 00292FD4 48 07 CB 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80296078 00292FD8 38 60 00 00 */ li r3, 0 +/* 8029607C 00292FDC 38 80 00 00 */ li r4, 0 +/* 80296080 00292FE0 38 A0 00 00 */ li r5, 0 +/* 80296084 00292FE4 38 C0 00 1E */ li r6, 0x1e +/* 80296088 00292FE8 38 E0 00 00 */ li r7, 0 +/* 8029608C 00292FEC 39 00 00 40 */ li r8, 0x40 +/* 80296090 00292FF0 48 07 26 3D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80296094 00292FF4 38 60 00 01 */ li r3, 1 +/* 80296098 00292FF8 38 80 00 00 */ li r4, 0 +/* 8029609C 00292FFC 38 A0 00 00 */ li r5, 0 +/* 802960A0 00293000 38 C0 00 1E */ li r6, 0x1e +/* 802960A4 00293004 38 E0 00 00 */ li r7, 0 +/* 802960A8 00293008 39 00 00 40 */ li r8, 0x40 +/* 802960AC 0029300C 48 07 26 21 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802960B0 00293010 28 1D 00 00 */ cmplwi r29, 0 +/* 802960B4 00293014 41 82 00 34 */ beq lbl_802960E8 +/* 802960B8 00293018 3C 60 80 3D */ lis r3, lbl_803D5C00@ha +/* 802960BC 0029301C 38 80 00 43 */ li r4, 0x43 +/* 802960C0 00293020 38 63 5C 00 */ addi r3, r3, lbl_803D5C00@l +/* 802960C4 00293024 38 A0 00 00 */ li r5, 0 +/* 802960C8 00293028 48 0E 63 C9 */ bl GXLoadTexMtxImm +/* 802960CC 0029302C 38 60 00 02 */ li r3, 2 +/* 802960D0 00293030 38 80 00 00 */ li r4, 0 +/* 802960D4 00293034 38 A0 00 00 */ li r5, 0 +/* 802960D8 00293038 38 C0 00 1E */ li r6, 0x1e +/* 802960DC 0029303C 38 E0 00 00 */ li r7, 0 +/* 802960E0 00293040 39 00 00 43 */ li r8, 0x43 +/* 802960E4 00293044 48 07 25 E9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +lbl_802960E8: +/* 802960E8 00293048 83 9E 00 04 */ lwz r28, 4(r30) +/* 802960EC 0029304C 3B A0 00 04 */ li r29, 4 +/* 802960F0 00293050 48 00 00 D8 */ b lbl_802961C8 +lbl_802960F4: +/* 802960F4 00293054 9B A1 00 17 */ stb r29, 0x17(r1) +/* 802960F8 00293058 38 81 00 14 */ addi r4, r1, 0x14 +/* 802960FC 0029305C 38 60 00 00 */ li r3, 0 +/* 80296100 00293060 83 3C 00 08 */ lwz r25, 8(r28) +/* 80296104 00293064 48 07 2B 41 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 80296108 00293068 83 79 00 64 */ lwz r27, 0x64(r25) +/* 8029610C 0029306C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80296110 00293070 38 81 00 20 */ addi r4, r1, 0x20 +/* 80296114 00293074 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80296118 00293078 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029611C 0029307C C0 1B 00 04 */ lfs f0, 4(r27) +/* 80296120 00293080 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80296124 00293084 C0 1B 00 08 */ lfs f0, 8(r27) +/* 80296128 00293088 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8029612C 0029308C 48 07 D0 99 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80296130 00293090 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80296134 00293094 38 99 00 34 */ addi r4, r25, 0x34 +/* 80296138 00293098 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8029613C 0029309C 48 07 C8 15 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80296140 002930A0 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80296144 002930A4 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80296148 002930A8 48 07 CA 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8029614C 002930AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296150 002930B0 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80296154 002930B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80296158 002930B8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8029615C 002930BC 7D 89 03 A6 */ mtctr r12 +/* 80296160 002930C0 4E 80 04 21 */ bctrl +/* 80296164 002930C4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80296168 002930C8 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8029616C 002930CC 38 A1 01 A0 */ addi r5, r1, 0x1a0 +/* 80296170 002930D0 48 07 C7 E1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80296174 002930D4 38 61 01 70 */ addi r3, r1, 0x170 +/* 80296178 002930D8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8029617C 002930DC 48 07 C9 F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80296180 002930E0 38 61 01 70 */ addi r3, r1, 0x170 +/* 80296184 002930E4 38 80 00 1E */ li r4, 0x1e +/* 80296188 002930E8 38 A0 00 00 */ li r5, 0 +/* 8029618C 002930EC 48 0E 63 05 */ bl GXLoadTexMtxImm +/* 80296190 002930F0 7F 63 DB 78 */ mr r3, r27 +/* 80296194 002930F4 38 80 00 00 */ li r4, 0 +/* 80296198 002930F8 4B E7 EE 15 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 8029619C 002930FC 83 63 00 08 */ lwz r27, 8(r3) +/* 802961A0 00293100 7F 63 DB 78 */ mr r3, r27 +/* 802961A4 00293104 48 0B EF 7D */ bl UpdateLastFrame__6CModelFv +/* 802961A8 00293108 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 802961AC 0029310C 38 80 00 00 */ li r4, 0 +/* 802961B0 00293110 38 A0 00 00 */ li r5, 0 +/* 802961B4 00293114 38 C0 00 00 */ li r6, 0 +/* 802961B8 00293118 48 07 08 39 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802961BC 0029311C 83 9C 00 04 */ lwz r28, 4(r28) +/* 802961C0 00293120 3B BD 00 04 */ addi r29, r29, 4 +/* 802961C4 00293124 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802961C8: +/* 802961C8 00293128 80 1E 00 08 */ lwz r0, 8(r30) +/* 802961CC 0029312C 7C 1C 00 40 */ cmplw r28, r0 +/* 802961D0 00293130 40 82 FF 24 */ bne lbl_802960F4 +/* 802961D4 00293134 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 802961D8 00293138 38 80 00 1E */ li r4, 0x1e +/* 802961DC 0029313C 38 A0 00 00 */ li r5, 0 +/* 802961E0 00293140 48 0E 62 B1 */ bl GXLoadTexMtxImm +/* 802961E4 00293144 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802961E8 00293148 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802961EC 0029314C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802961F0 00293150 81 83 00 00 */ lwz r12, 0(r3) +/* 802961F4 00293154 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802961F8 00293158 7D 89 03 A6 */ mtctr r12 +/* 802961FC 0029315C 4E 80 04 21 */ bctrl +/* 80296200 00293160 7F E3 FB 78 */ mr r3, r31 +/* 80296204 00293164 7F 44 D3 78 */ mr r4, r26 +/* 80296208 00293168 38 BE 00 30 */ addi r5, r30, 0x30 +/* 8029620C 0029316C 38 DE 00 B8 */ addi r6, r30, 0xb8 +/* 80296210 00293170 38 E0 00 00 */ li r7, 0 +/* 80296214 00293174 39 00 00 00 */ li r8, 0 +/* 80296218 00293178 48 02 12 55 */ bl "DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +/* 8029621C 0029317C 38 60 00 02 */ li r3, 2 +/* 80296220 00293180 38 80 00 00 */ li r4, 0 +/* 80296224 00293184 38 A0 00 00 */ li r5, 0 +/* 80296228 00293188 38 C0 00 01 */ li r6, 1 +/* 8029622C 0029318C 38 E0 00 00 */ li r7, 0 +/* 80296230 00293190 39 00 00 00 */ li r8, 0 +/* 80296234 00293194 39 20 00 02 */ li r9, 2 +/* 80296238 00293198 48 0E 39 3D */ bl GXSetChanCtrl +/* 8029623C 0029319C 38 60 00 00 */ li r3, 0 +/* 80296240 002931A0 48 0E 38 F1 */ bl GXSetNumChans +lbl_80296244: +/* 80296244 002931A4 E3 E1 02 C8 */ psq_l f31, 712(r1), 0, qr0 +/* 80296248 002931A8 CB E1 02 C0 */ lfd f31, 0x2c0(r1) +/* 8029624C 002931AC BB 21 02 A4 */ lmw r25, 0x2a4(r1) +/* 80296250 002931B0 80 01 02 D4 */ lwz r0, 0x2d4(r1) +/* 80296254 002931B4 7C 08 03 A6 */ mtlr r0 +/* 80296258 002931B8 38 21 02 D0 */ addi r1, r1, 0x2d0 +/* 8029625C 002931BC 4E 80 00 20 */ blr + +.global RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer +RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer: +/* 80296260 002931C0 94 21 F5 80 */ stwu r1, -0xa80(r1) +/* 80296264 002931C4 7C 08 02 A6 */ mflr r0 +/* 80296268 002931C8 90 01 0A 84 */ stw r0, 0xa84(r1) +/* 8029626C 002931CC DB E1 0A 70 */ stfd f31, 0xa70(r1) +/* 80296270 002931D0 F3 E1 0A 78 */ psq_st f31, -1416(r1), 0, qr0 +/* 80296274 002931D4 DB C1 0A 60 */ stfd f30, 0xa60(r1) +/* 80296278 002931D8 F3 C1 0A 68 */ psq_st f30, -1432(r1), 0, qr0 +/* 8029627C 002931DC DB A1 0A 50 */ stfd f29, 0xa50(r1) +/* 80296280 002931E0 F3 A1 0A 58 */ psq_st f29, -1448(r1), 0, qr0 +/* 80296284 002931E4 DB 81 0A 40 */ stfd f28, 0xa40(r1) +/* 80296288 002931E8 F3 81 0A 48 */ psq_st f28, -1464(r1), 0, qr0 +/* 8029628C 002931EC DB 61 0A 30 */ stfd f27, 0xa30(r1) +/* 80296290 002931F0 F3 61 0A 38 */ psq_st f27, -1480(r1), 0, qr0 +/* 80296294 002931F4 DB 41 0A 20 */ stfd f26, 0xa20(r1) +/* 80296298 002931F8 F3 41 0A 28 */ psq_st f26, -1496(r1), 0, qr0 +/* 8029629C 002931FC DB 21 0A 10 */ stfd f25, 0xa10(r1) +/* 802962A0 00293200 F3 21 0A 18 */ psq_st f25, -1512(r1), 0, qr0 +/* 802962A4 00293204 BE 81 09 E0 */ stmw r20, 0x9e0(r1) +/* 802962A8 00293208 7C 9E 23 78 */ mr r30, r4 +/* 802962AC 0029320C 7C 7F 1B 78 */ mr r31, r3 +/* 802962B0 00293210 80 64 00 00 */ lwz r3, 0(r4) +/* 802962B4 00293214 7C BD 2B 78 */ mr r29, r5 +/* 802962B8 00293218 80 04 00 04 */ lwz r0, 4(r4) +/* 802962BC 0029321C 7C DC 33 78 */ mr r28, r6 +/* 802962C0 00293220 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 802962C4 00293224 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 802962C8 00293228 80 04 00 08 */ lwz r0, 8(r4) +/* 802962CC 0029322C 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 802962D0 00293230 80 64 00 0C */ lwz r3, 0xc(r4) +/* 802962D4 00293234 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802962D8 00293238 90 7F 00 C4 */ stw r3, 0xc4(r31) +/* 802962DC 0029323C 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 802962E0 00293240 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802962E4 00293244 90 1F 00 CC */ stw r0, 0xcc(r31) +/* 802962E8 00293248 82 9F 00 08 */ lwz r20, 8(r31) +/* 802962EC 0029324C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802962F0 00293250 48 00 00 10 */ b lbl_80296300 +lbl_802962F4: +/* 802962F4 00293254 7F E3 FB 78 */ mr r3, r31 +/* 802962F8 00293258 48 00 09 45 */ bl sub_80296c3c +/* 802962FC 0029325C 7C 64 1B 78 */ mr r4, r3 +lbl_80296300: +/* 80296300 00293260 7C 04 A0 40 */ cmplw r4, r20 +/* 80296304 00293264 40 82 FF F0 */ bne lbl_802962F4 +/* 80296308 00293268 82 9F 00 20 */ lwz r20, 0x20(r31) +/* 8029630C 0029326C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80296310 00293270 48 00 00 10 */ b lbl_80296320 +lbl_80296314: +/* 80296314 00293274 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80296318 00293278 48 00 0A 19 */ bl sub_80296d30 +/* 8029631C 0029327C 7C 64 1B 78 */ mr r4, r3 +lbl_80296320: +/* 80296320 00293280 7C 04 A0 40 */ cmplw r4, r20 +/* 80296324 00293284 40 82 FF F0 */ bne lbl_80296314 +/* 80296328 00293288 38 00 00 00 */ li r0, 0 +/* 8029632C 0029328C 38 7F 00 30 */ addi r3, r31, 0x30 +/* 80296330 00293290 90 01 00 70 */ stw r0, 0x70(r1) +/* 80296334 00293294 38 81 00 6C */ addi r4, r1, 0x6c +/* 80296338 00293298 90 01 00 74 */ stw r0, 0x74(r1) +/* 8029633C 0029329C 90 01 00 78 */ stw r0, 0x78(r1) +/* 80296340 002932A0 4B DC D3 BD */ bl "clear__Q24rstl37vectorFv" +/* 80296344 002932A4 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80296348 002932A8 80 61 00 78 */ lwz r3, 0x78(r1) +/* 8029634C 002932AC 54 00 10 3A */ slwi r0, r0, 2 +/* 80296350 002932B0 7C 03 02 14 */ add r0, r3, r0 +/* 80296354 002932B4 90 61 00 10 */ stw r3, 0x10(r1) +/* 80296358 002932B8 7C 64 1B 78 */ mr r4, r3 +/* 8029635C 002932BC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80296360 002932C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296364 002932C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80296368 002932C8 48 00 00 08 */ b lbl_80296370 +lbl_8029636C: +/* 8029636C 002932CC 38 84 00 04 */ addi r4, r4, 4 +lbl_80296370: +/* 80296370 002932D0 7C 04 00 40 */ cmplw r4, r0 +/* 80296374 002932D4 40 82 FF F8 */ bne lbl_8029636C +/* 80296378 002932D8 28 03 00 00 */ cmplwi r3, 0 +/* 8029637C 002932DC 41 82 00 08 */ beq lbl_80296384 +/* 80296380 002932E0 48 07 F5 B1 */ bl Free__7CMemoryFPCv +lbl_80296384: +/* 80296384 002932E4 83 6D A0 68 */ lwz r27, gpRender@sda21(r13) +/* 80296388 002932E8 38 60 00 01 */ li r3, 1 +/* 8029638C 002932EC 88 1B 03 18 */ lbz r0, 0x318(r27) +/* 80296390 002932F0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80296394 002932F4 98 1B 03 18 */ stb r0, 0x318(r27) +/* 80296398 002932F8 88 1B 03 18 */ lbz r0, 0x318(r27) +/* 8029639C 002932FC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802963A0 00293300 40 82 00 10 */ bne lbl_802963B0 +/* 802963A4 00293304 38 00 00 00 */ li r0, 0 +/* 802963A8 00293308 98 1F 00 D0 */ stb r0, 0xd0(r31) +/* 802963AC 0029330C 48 00 06 6C */ b lbl_80296A18 +lbl_802963B0: +/* 802963B0 00293310 7F E3 FB 78 */ mr r3, r31 +/* 802963B4 00293314 7F A4 EB 78 */ mr r4, r29 +/* 802963B8 00293318 4B FF F8 05 */ bl GatherAreas__16CMorphBallShadowFR13CStateManager +/* 802963BC 0029331C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802963C0 00293320 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802963C4 00293324 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802963C8 00293328 48 07 C7 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802963CC 0029332C C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13) +/* 802963D0 00293330 C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13) +/* 802963D4 00293334 48 07 3A 89 */ bl GetProjectionState__9CGraphicsFv +/* 802963D8 00293338 88 03 00 00 */ lbz r0, 0(r3) +/* 802963DC 0029333C 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802963E0 00293340 3A C4 D9 10 */ addi r22, r4, lbl_803ED910@l +/* 802963E4 00293344 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 802963E8 00293348 98 01 00 94 */ stb r0, 0x94(r1) +/* 802963EC 0029334C 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 802963F0 00293350 81 96 00 00 */ lwz r12, 0(r22) +/* 802963F4 00293354 3C C0 80 5A */ lis r6, lbl_805A6724@ha +/* 802963F8 00293358 C0 03 00 04 */ lfs f0, 4(r3) +/* 802963FC 0029335C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l +/* 80296400 00293360 81 76 00 04 */ lwz r11, 4(r22) +/* 80296404 00293364 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l +/* 80296408 00293368 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8029640C 0029336C 38 C6 67 24 */ addi r6, r6, lbl_805A6724@l +/* 80296410 00293370 81 56 00 08 */ lwz r10, 8(r22) +/* 80296414 00293374 38 E1 00 60 */ addi r7, r1, 0x60 +/* 80296418 00293378 C0 03 00 08 */ lfs f0, 8(r3) +/* 8029641C 0029337C 81 36 00 0C */ lwz r9, 0xc(r22) +/* 80296420 00293380 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80296424 00293384 81 16 00 10 */ lwz r8, 0x10(r22) +/* 80296428 00293388 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8029642C 0029338C 80 16 00 14 */ lwz r0, 0x14(r22) +/* 80296430 00293390 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80296434 00293394 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80296438 00293398 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8029643C 0029339C C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80296440 002933A0 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80296444 002933A4 EC 42 00 2A */ fadds f2, f2, f0 +/* 80296448 002933A8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8029644C 002933AC C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80296450 002933B0 C0 83 00 14 */ lfs f4, 0x14(r3) +/* 80296454 002933B4 C0 62 BF A4 */ lfs f3, lbl_805ADCC4@sda21(r2) +/* 80296458 002933B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8029645C 002933BC D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 80296460 002933C0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80296464 002933C4 C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 80296468 002933C8 C0 23 00 18 */ lfs f1, 0x18(r3) +/* 8029646C 002933CC EC 03 00 32 */ fmuls f0, f3, f0 +/* 80296470 002933D0 91 81 00 7C */ stw r12, 0x7c(r1) +/* 80296474 002933D4 38 61 01 10 */ addi r3, r1, 0x110 +/* 80296478 002933D8 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8029647C 002933DC 91 61 00 80 */ stw r11, 0x80(r1) +/* 80296480 002933E0 91 41 00 84 */ stw r10, 0x84(r1) +/* 80296484 002933E4 91 21 00 88 */ stw r9, 0x88(r1) +/* 80296488 002933E8 91 01 00 8C */ stw r8, 0x8c(r1) +/* 8029648C 002933EC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80296490 002933F0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80296494 002933F4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80296498 002933F8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 8029649C 002933FC 48 07 C9 C1 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 802964A0 00293400 38 61 01 70 */ addi r3, r1, 0x170 +/* 802964A4 00293404 38 81 01 10 */ addi r4, r1, 0x110 +/* 802964A8 00293408 48 07 C6 CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802964AC 0029340C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802964B0 00293410 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802964B4 00293414 48 07 61 2D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802964B8 00293418 C0 22 BF 9C */ lfs f1, lbl_805ADCBC@sda21(r2) +/* 802964BC 0029341C C0 42 BF A0 */ lfs f2, lbl_805ADCC0@sda21(r2) +/* 802964C0 00293420 48 07 3F 21 */ bl SetDepthRange__9CGraphicsFff +/* 802964C4 00293424 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 802964C8 00293428 C0 5E 00 00 */ lfs f2, 0(r30) +/* 802964CC 0029342C C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 802964D0 00293430 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802964D4 00293434 EC 83 10 28 */ fsubs f4, f3, f2 +/* 802964D8 00293438 C0 A2 BF A4 */ lfs f5, lbl_805ADCC4@sda21(r2) +/* 802964DC 0029343C EC 61 00 28 */ fsubs f3, f1, f0 +/* 802964E0 00293440 C0 5E 00 14 */ lfs f2, 0x14(r30) +/* 802964E4 00293444 EF 45 01 32 */ fmuls f26, f5, f4 +/* 802964E8 00293448 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802964EC 0029344C C0 02 BF A8 */ lfs f0, lbl_805ADCC8@sda21(r2) +/* 802964F0 00293450 EF 25 00 F2 */ fmuls f25, f5, f3 +/* 802964F4 00293454 EF A2 08 28 */ fsubs f29, f2, f1 +/* 802964F8 00293458 C0 A2 BF 9C */ lfs f5, lbl_805ADCBC@sda21(r2) +/* 802964FC 0029345C FF 80 D0 50 */ fneg f28, f26 +/* 80296500 00293460 FF 60 C8 50 */ fneg f27, f25 +/* 80296504 00293464 FC 40 D0 90 */ fmr f2, f26 +/* 80296508 00293468 FC 20 E0 90 */ fmr f1, f28 +/* 8029650C 0029346C FC 60 C8 90 */ fmr f3, f25 +/* 80296510 00293470 FC 80 D8 90 */ fmr f4, f27 +/* 80296514 00293474 EC C0 E8 2A */ fadds f6, f0, f29 +/* 80296518 00293478 48 07 60 3D */ bl SetOrtho__9CGraphicsFffffff +/* 8029651C 0029347C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296520 00293480 3C 80 80 5A */ lis r4, lbl_805A6500@ha +/* 80296524 00293484 38 A4 65 00 */ addi r5, r4, lbl_805A6500@l +/* 80296528 00293488 80 FF 00 B4 */ lwz r7, 0xb4(r31) +/* 8029652C 0029348C 81 83 00 00 */ lwz r12, 0(r3) +/* 80296530 00293490 38 80 00 00 */ li r4, 0 +/* 80296534 00293494 A0 05 00 06 */ lhz r0, 6(r5) +/* 80296538 00293498 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8029653C 0029349C 7C A7 00 50 */ subf r5, r7, r0 +/* 80296540 002934A0 80 DF 00 B0 */ lwz r6, 0xb0(r31) +/* 80296544 002934A4 7D 89 03 A6 */ mtctr r12 +/* 80296548 002934A8 4E 80 04 21 */ bctrl +/* 8029654C 002934AC 38 00 00 00 */ li r0, 0 +/* 80296550 002934B0 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 80296554 002934B4 90 01 01 D0 */ stw r0, 0x1d0(r1) +/* 80296558 002934B8 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l +/* 8029655C 002934BC 7F A3 EB 78 */ mr r3, r29 +/* 80296560 002934C0 7F C5 F3 78 */ mr r5, r30 +/* 80296564 002934C4 7F 87 E3 78 */ mr r7, r28 +/* 80296568 002934C8 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8029656C 002934CC 4B DB 61 B5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80296570 002934D0 38 60 00 01 */ li r3, 1 +/* 80296574 002934D4 48 0E 59 B9 */ bl GXSetAlphaUpdate +/* 80296578 002934D8 38 60 00 01 */ li r3, 1 +/* 8029657C 002934DC 38 80 00 00 */ li r4, 0 +/* 80296580 002934E0 48 0E 5B 61 */ bl GXSetDstAlpha +/* 80296584 002934E4 38 60 00 00 */ li r3, 0 +/* 80296588 002934E8 48 0E 59 79 */ bl GXSetColorUpdate +/* 8029658C 002934EC 38 60 00 01 */ li r3, 1 +/* 80296590 002934F0 38 80 00 07 */ li r4, 7 +/* 80296594 002934F4 38 A0 00 01 */ li r5, 1 +/* 80296598 002934F8 48 07 22 E5 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8029659C 002934FC 38 60 00 00 */ li r3, 0 +/* 802965A0 00293500 48 07 54 D1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802965A4 00293504 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802965A8 00293508 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802965AC 0029350C 48 07 61 A1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802965B0 00293510 38 60 00 07 */ li r3, 7 +/* 802965B4 00293514 38 80 00 00 */ li r4, 0 +/* 802965B8 00293518 38 A0 00 00 */ li r5, 0 +/* 802965BC 0029351C 38 C0 00 07 */ li r6, 7 +/* 802965C0 00293520 38 E0 00 00 */ li r7, 0 +/* 802965C4 00293524 48 07 54 65 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 802965C8 00293528 38 60 00 01 */ li r3, 1 +/* 802965CC 0029352C 38 80 00 01 */ li r4, 1 +/* 802965D0 00293530 38 A0 00 00 */ li r5, 0 +/* 802965D4 00293534 38 C0 00 00 */ li r6, 0 +/* 802965D8 00293538 48 07 54 79 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802965DC 0029353C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802965E0 00293540 38 60 00 00 */ li r3, 0 +/* 802965E4 00293544 48 07 3C D5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802965E8 00293548 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802965EC 0029354C 38 60 00 01 */ li r3, 1 +/* 802965F0 00293550 48 07 3C C9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802965F4 00293554 38 60 00 00 */ li r3, 0 +/* 802965F8 00293558 48 07 28 59 */ bl SetNumChans__3CGXFUc +/* 802965FC 0029355C 38 60 00 01 */ li r3, 1 +/* 80296600 00293560 48 07 28 15 */ bl SetNumTexGens__3CGXFUc +/* 80296604 00293564 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296608 00293568 38 80 00 04 */ li r4, 4 +/* 8029660C 0029356C 81 83 00 00 */ lwz r12, 0(r3) +/* 80296610 00293570 81 8C 00 A4 */ lwz r12, 0xa4(r12) +/* 80296614 00293574 7D 89 03 A6 */ mtctr r12 +/* 80296618 00293578 4E 80 04 21 */ bctrl +/* 8029661C 0029357C 48 0B 39 81 */ bl Red__6CColorFv +/* 80296620 00293580 7C 64 1B 78 */ mr r4, r3 +/* 80296624 00293584 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296628 00293588 81 83 00 00 */ lwz r12, 0(r3) +/* 8029662C 0029358C 81 8C 00 B4 */ lwz r12, 0xb4(r12) +/* 80296630 00293590 7D 89 03 A6 */ mtctr r12 +/* 80296634 00293594 4E 80 04 21 */ bctrl +/* 80296638 00293598 C0 02 BF AC */ lfs f0, lbl_805ADCCC@sda21(r2) +/* 8029663C 0029359C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80296640 002935A0 D3 81 00 54 */ stfs f28, 0x54(r1) +/* 80296644 002935A4 EF A0 07 72 */ fmuls f29, f0, f29 +/* 80296648 002935A8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029664C 002935AC D3 61 00 5C */ stfs f27, 0x5c(r1) +/* 80296650 002935B0 D3 A1 00 58 */ stfs f29, 0x58(r1) +/* 80296654 002935B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80296658 002935B8 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 8029665C 002935BC 7D 89 03 A6 */ mtctr r12 +/* 80296660 002935C0 4E 80 04 21 */ bctrl +/* 80296664 002935C4 D3 81 00 48 */ stfs f28, 0x48(r1) +/* 80296668 002935C8 38 81 00 48 */ addi r4, r1, 0x48 +/* 8029666C 002935CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296670 002935D0 D3 A1 00 4C */ stfs f29, 0x4c(r1) +/* 80296674 002935D4 D3 21 00 50 */ stfs f25, 0x50(r1) +/* 80296678 002935D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8029667C 002935DC 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 80296680 002935E0 7D 89 03 A6 */ mtctr r12 +/* 80296684 002935E4 4E 80 04 21 */ bctrl +/* 80296688 002935E8 D3 41 00 3C */ stfs f26, 0x3c(r1) +/* 8029668C 002935EC 38 81 00 3C */ addi r4, r1, 0x3c +/* 80296690 002935F0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296694 002935F4 D3 A1 00 40 */ stfs f29, 0x40(r1) +/* 80296698 002935F8 D3 21 00 44 */ stfs f25, 0x44(r1) +/* 8029669C 002935FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802966A0 00293600 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 802966A4 00293604 7D 89 03 A6 */ mtctr r12 +/* 802966A8 00293608 4E 80 04 21 */ bctrl +/* 802966AC 0029360C D3 41 00 30 */ stfs f26, 0x30(r1) +/* 802966B0 00293610 38 81 00 30 */ addi r4, r1, 0x30 +/* 802966B4 00293614 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802966B8 00293618 D3 A1 00 34 */ stfs f29, 0x34(r1) +/* 802966BC 0029361C D3 61 00 38 */ stfs f27, 0x38(r1) +/* 802966C0 00293620 81 83 00 00 */ lwz r12, 0(r3) +/* 802966C4 00293624 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 802966C8 00293628 7D 89 03 A6 */ mtctr r12 +/* 802966CC 0029362C 4E 80 04 21 */ bctrl +/* 802966D0 00293630 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802966D4 00293634 81 83 00 00 */ lwz r12, 0(r3) +/* 802966D8 00293638 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 802966DC 0029363C 7D 89 03 A6 */ mtctr r12 +/* 802966E0 00293640 4E 80 04 21 */ bctrl +/* 802966E4 00293644 38 60 00 01 */ li r3, 1 +/* 802966E8 00293648 48 07 53 89 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802966EC 0029364C 38 61 01 70 */ addi r3, r1, 0x170 +/* 802966F0 00293650 48 07 60 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802966F4 00293654 38 60 00 01 */ li r3, 1 +/* 802966F8 00293658 38 80 00 03 */ li r4, 3 +/* 802966FC 0029365C 38 A0 00 01 */ li r5, 1 +/* 80296700 00293660 48 07 21 7D */ bl SetZMode__3CGXFb10_GXCompareb +/* 80296704 00293664 48 07 62 79 */ bl DisableAllLights__9CGraphicsFv +/* 80296708 00293668 38 60 00 01 */ li r3, 1 +/* 8029670C 0029366C 48 0A F0 DD */ bl SetRenderModelBlack__10CCubeModelFb +/* 80296710 00293670 3B 01 01 D4 */ addi r24, r1, 0x1d4 +/* 80296714 00293674 3B 21 00 20 */ addi r25, r1, 0x20 +/* 80296718 00293678 7F 16 C3 78 */ mr r22, r24 +/* 8029671C 0029367C 3A E0 00 01 */ li r23, 1 +/* 80296720 00293680 3B 40 00 04 */ li r26, 4 +/* 80296724 00293684 48 00 01 48 */ b lbl_8029686C +lbl_80296728: +/* 80296728 00293688 A0 16 00 00 */ lhz r0, 0(r22) +/* 8029672C 0029368C 7F A3 EB 78 */ mr r3, r29 +/* 80296730 00293690 38 81 00 08 */ addi r4, r1, 8 +/* 80296734 00293694 B0 01 00 08 */ sth r0, 8(r1) +/* 80296738 00293698 4B DB 5E 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8029673C 0029369C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80296740 002936A0 41 82 01 28 */ beq lbl_80296868 +/* 80296744 002936A4 4B DB C5 91 */ bl CanDrawStatic__6CActorCFv +/* 80296748 002936A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029674C 002936AC 41 82 01 1C */ beq lbl_80296868 +/* 80296750 002936B0 82 BF 00 08 */ lwz r21, 8(r31) +/* 80296754 002936B4 3C 60 80 3D */ lis r3, lbl_803D5C30@ha +/* 80296758 002936B8 38 83 5C 30 */ addi r4, r3, lbl_803D5C30@l +/* 8029675C 002936BC 38 A0 00 00 */ li r5, 0 +/* 80296760 002936C0 82 95 00 00 */ lwz r20, 0(r21) +/* 80296764 002936C4 38 60 00 0C */ li r3, 0xc +/* 80296768 002936C8 48 07 F0 B1 */ bl __nwa__FUlPCcPCc +/* 8029676C 002936CC 28 03 00 00 */ cmplwi r3, 0 +/* 80296770 002936D0 41 82 00 0C */ beq lbl_8029677C +/* 80296774 002936D4 92 83 00 00 */ stw r20, 0(r3) +/* 80296778 002936D8 92 A3 00 04 */ stw r21, 4(r3) +lbl_8029677C: +/* 8029677C 002936DC 34 83 00 08 */ addic. r4, r3, 8 +/* 80296780 002936E0 41 82 00 08 */ beq lbl_80296788 +/* 80296784 002936E4 93 84 00 00 */ stw r28, 0(r4) +lbl_80296788: +/* 80296788 002936E8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8029678C 002936EC 7C 15 00 40 */ cmplw r21, r0 +/* 80296790 002936F0 40 82 00 08 */ bne lbl_80296798 +/* 80296794 002936F4 90 7F 00 04 */ stw r3, 4(r31) +lbl_80296798: +/* 80296798 002936F8 80 A3 00 00 */ lwz r5, 0(r3) +/* 8029679C 002936FC 57 44 06 3E */ clrlwi r4, r26, 0x18 +/* 802967A0 00293700 90 65 00 04 */ stw r3, 4(r5) +/* 802967A4 00293704 80 A3 00 04 */ lwz r5, 4(r3) +/* 802967A8 00293708 90 65 00 00 */ stw r3, 0(r5) +/* 802967AC 0029370C 38 60 00 01 */ li r3, 1 +/* 802967B0 00293710 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802967B4 00293714 38 05 00 01 */ addi r0, r5, 1 +/* 802967B8 00293718 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802967BC 0029371C 48 0E 59 25 */ bl GXSetDstAlpha +/* 802967C0 00293720 82 9C 00 64 */ lwz r20, 0x64(r28) +/* 802967C4 00293724 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802967C8 00293728 38 81 00 24 */ addi r4, r1, 0x24 +/* 802967CC 0029372C C0 14 00 00 */ lfs f0, 0(r20) +/* 802967D0 00293730 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802967D4 00293734 C0 14 00 04 */ lfs f0, 4(r20) +/* 802967D8 00293738 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802967DC 0029373C C0 14 00 08 */ lfs f0, 8(r20) +/* 802967E0 00293740 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802967E4 00293744 48 07 C9 E1 */ bl Scale__12CTransform4fFRC9CVector3f +/* 802967E8 00293748 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802967EC 0029374C 38 9C 00 34 */ addi r4, r28, 0x34 +/* 802967F0 00293750 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 802967F4 00293754 48 07 C1 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802967F8 00293758 38 61 01 40 */ addi r3, r1, 0x140 +/* 802967FC 0029375C 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80296800 00293760 48 07 C3 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80296804 00293764 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296808 00293768 38 81 01 40 */ addi r4, r1, 0x140 +/* 8029680C 0029376C 81 83 00 00 */ lwz r12, 0(r3) +/* 80296810 00293770 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80296814 00293774 7D 89 03 A6 */ mtctr r12 +/* 80296818 00293778 4E 80 04 21 */ bctrl +/* 8029681C 0029377C C0 22 BF A0 */ lfs f1, lbl_805ADCC0@sda21(r2) +/* 80296820 00293780 38 80 00 00 */ li r4, 0 +/* 80296824 00293784 38 00 00 03 */ li r0, 3 +/* 80296828 00293788 98 81 00 1C */ stb r4, 0x1c(r1) +/* 8029682C 0029378C FC 40 08 90 */ fmr f2, f1 +/* 80296830 00293790 7F 23 CB 78 */ mr r3, r25 +/* 80296834 00293794 FC 60 08 90 */ fmr f3, f1 +/* 80296838 00293798 98 81 00 1D */ stb r4, 0x1d(r1) +/* 8029683C 0029379C FC 80 08 90 */ fmr f4, f1 +/* 80296840 002937A0 B0 01 00 1E */ sth r0, 0x1e(r1) +/* 80296844 002937A4 48 0C CB A9 */ bl __ct__6CColorFffff +/* 80296848 002937A8 7E 83 A3 78 */ mr r3, r20 +/* 8029684C 002937AC 38 80 00 00 */ li r4, 0 +/* 80296850 002937B0 4B E7 E7 5D */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80296854 002937B4 80 63 00 08 */ lwz r3, 8(r3) +/* 80296858 002937B8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8029685C 002937BC 48 0B F2 FD */ bl DrawUnsortedParts__6CModelCFRC11CModelFlags +/* 80296860 002937C0 3B 5A 00 04 */ addi r26, r26, 4 +/* 80296864 002937C4 3A F7 00 01 */ addi r23, r23, 1 +lbl_80296868: +/* 80296868 002937C8 3A D6 00 02 */ addi r22, r22, 2 +lbl_8029686C: +/* 8029686C 002937CC 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 80296870 002937D0 54 00 08 3C */ slwi r0, r0, 1 +/* 80296874 002937D4 7C 18 02 14 */ add r0, r24, r0 +/* 80296878 002937D8 7C 16 00 40 */ cmplw r22, r0 +/* 8029687C 002937DC 41 82 00 0C */ beq lbl_80296888 +/* 80296880 002937E0 2C 17 00 40 */ cmpwi r23, 0x40 +/* 80296884 002937E4 41 80 FE A4 */ blt lbl_80296728 +lbl_80296888: +/* 80296888 002937E8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8029688C 002937EC 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80296890 002937F0 48 07 5D 51 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80296894 002937F4 7F 63 DB 78 */ mr r3, r27 +/* 80296898 002937F8 7F C5 F3 78 */ mr r5, r30 +/* 8029689C 002937FC 38 9F 00 30 */ addi r4, r31, 0x30 +/* 802968A0 00293800 48 02 0F 45 */ bl "FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox" +/* 802968A4 00293804 7F 63 DB 78 */ mr r3, r27 +/* 802968A8 00293808 7E E4 BB 78 */ mr r4, r23 +/* 802968AC 0029380C 7F C6 F3 78 */ mr r6, r30 +/* 802968B0 00293810 38 BF 00 30 */ addi r5, r31, 0x30 +/* 802968B4 00293814 38 E0 00 00 */ li r7, 0 +/* 802968B8 00293818 39 00 00 00 */ li r8, 0 +/* 802968BC 0029381C 48 02 0D 55 */ bl "DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +/* 802968C0 00293820 7C 76 1B 78 */ mr r22, r3 +/* 802968C4 00293824 38 60 00 00 */ li r3, 0 +/* 802968C8 00293828 48 0A EF 21 */ bl SetRenderModelBlack__10CCubeModelFb +/* 802968CC 0029382C 20 76 00 01 */ subfic r3, r22, 1 +/* 802968D0 00293830 38 16 FF FF */ addi r0, r22, -1 +/* 802968D4 00293834 7C 60 03 78 */ or r0, r3, r0 +/* 802968D8 00293838 38 60 00 01 */ li r3, 1 +/* 802968DC 0029383C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802968E0 00293840 98 1F 00 D0 */ stb r0, 0xd0(r31) +/* 802968E4 00293844 48 0E 56 1D */ bl GXSetColorUpdate +/* 802968E8 00293848 38 60 00 01 */ li r3, 1 +/* 802968EC 0029384C 38 80 00 00 */ li r4, 0 +/* 802968F0 00293850 48 0E 57 F1 */ bl GXSetDstAlpha +/* 802968F4 00293854 48 07 2F 11 */ bl GetUseVideoFilter__9CGraphicsFv +/* 802968F8 00293858 7C 76 1B 78 */ mr r22, r3 +/* 802968FC 0029385C 38 60 00 00 */ li r3, 0 +/* 80296900 00293860 48 07 2F 0D */ bl SetUseVideoFilter__9CGraphicsFb +/* 80296904 00293864 80 BF 00 B0 */ lwz r5, 0xb0(r31) +/* 80296908 00293868 38 60 00 00 */ li r3, 0 +/* 8029690C 0029386C 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 80296910 00293870 38 80 00 00 */ li r4, 0 +/* 80296914 00293874 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 80296918 00293878 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8029691C 0029387C 48 0E 24 99 */ bl GXSetTexCopySrc +/* 80296920 00293880 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 80296924 00293884 38 A0 00 27 */ li r5, 0x27 +/* 80296928 00293888 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 8029692C 0029388C 38 C0 00 00 */ li r6, 0 +/* 80296930 00293890 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80296934 00293894 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 80296938 00293898 48 0E 25 49 */ bl GXSetTexCopyDst +/* 8029693C 0029389C 88 1F 00 4A */ lbz r0, 0x4a(r31) +/* 80296940 002938A0 38 60 00 01 */ li r3, 1 +/* 80296944 002938A4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80296948 002938A8 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8029694C 002938AC 98 1F 00 4A */ stb r0, 0x4a(r31) +/* 80296950 002938B0 38 80 00 00 */ li r4, 0 +/* 80296954 002938B4 48 07 7C 81 */ bl GetBitMapData__8CTextureFi +/* 80296958 002938B8 38 80 00 01 */ li r4, 1 +/* 8029695C 002938BC 48 0E 2B D9 */ bl GXCopyTex +/* 80296960 002938C0 38 7F 00 40 */ addi r3, r31, 0x40 +/* 80296964 002938C4 48 07 7F B9 */ bl UnLock__8CTextureFv +/* 80296968 002938C8 48 0E 1B FD */ bl GXPixModeSync +/* 8029696C 002938CC 56 C3 06 3E */ clrlwi r3, r22, 0x18 +/* 80296970 002938D0 48 07 2E 9D */ bl SetUseVideoFilter__9CGraphicsFb +/* 80296974 002938D4 38 60 00 01 */ li r3, 1 +/* 80296978 002938D8 38 80 00 03 */ li r4, 3 +/* 8029697C 002938DC 38 A0 00 01 */ li r5, 1 +/* 80296980 002938E0 48 07 1E FD */ bl SetZMode__3CGXFb10_GXCompareb +/* 80296984 002938E4 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80296988 002938E8 48 07 5D C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029698C 002938EC 38 61 00 94 */ addi r3, r1, 0x94 +/* 80296990 002938F0 48 07 34 71 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 80296994 002938F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296998 002938F8 80 81 00 7C */ lwz r4, 0x7c(r1) +/* 8029699C 002938FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802969A0 00293900 80 A1 00 80 */ lwz r5, 0x80(r1) +/* 802969A4 00293904 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802969A8 00293908 80 C1 00 84 */ lwz r6, 0x84(r1) +/* 802969AC 0029390C 80 E1 00 88 */ lwz r7, 0x88(r1) +/* 802969B0 00293910 7D 89 03 A6 */ mtctr r12 +/* 802969B4 00293914 4E 80 04 21 */ bctrl +/* 802969B8 00293918 FC 20 F8 90 */ fmr f1, f31 +/* 802969BC 0029391C FC 40 F0 90 */ fmr f2, f30 +/* 802969C0 00293920 48 07 3A 21 */ bl SetDepthRange__9CGraphicsFff +/* 802969C4 00293924 80 A1 01 D0 */ lwz r5, 0x1d0(r1) +/* 802969C8 00293928 38 60 00 00 */ li r3, 0 +/* 802969CC 0029392C 2C 05 00 00 */ cmpwi r5, 0 +/* 802969D0 00293930 40 81 00 40 */ ble lbl_80296A10 +/* 802969D4 00293934 2C 05 00 08 */ cmpwi r5, 8 +/* 802969D8 00293938 38 85 FF F8 */ addi r4, r5, -8 +/* 802969DC 0029393C 40 81 00 20 */ ble lbl_802969FC +/* 802969E0 00293940 38 04 00 07 */ addi r0, r4, 7 +/* 802969E4 00293944 54 00 E8 FE */ srwi r0, r0, 3 +/* 802969E8 00293948 7C 09 03 A6 */ mtctr r0 +/* 802969EC 0029394C 2C 04 00 00 */ cmpwi r4, 0 +/* 802969F0 00293950 40 81 00 0C */ ble lbl_802969FC +lbl_802969F4: +/* 802969F4 00293954 38 63 00 08 */ addi r3, r3, 8 +/* 802969F8 00293958 42 00 FF FC */ bdnz lbl_802969F4 +lbl_802969FC: +/* 802969FC 0029395C 7C 03 28 50 */ subf r0, r3, r5 +/* 80296A00 00293960 7C 09 03 A6 */ mtctr r0 +/* 80296A04 00293964 7C 03 28 00 */ cmpw r3, r5 +/* 80296A08 00293968 40 80 00 08 */ bge lbl_80296A10 +lbl_80296A0C: +/* 80296A0C 0029396C 42 00 00 00 */ bdnz lbl_80296A0C +lbl_80296A10: +/* 80296A10 00293970 38 00 00 00 */ li r0, 0 +/* 80296A14 00293974 90 01 01 D0 */ stw r0, 0x1d0(r1) +lbl_80296A18: +/* 80296A18 00293978 E3 E1 0A 78 */ psq_l f31, -1416(r1), 0, qr0 +/* 80296A1C 0029397C CB E1 0A 70 */ lfd f31, 0xa70(r1) +/* 80296A20 00293980 E3 C1 0A 68 */ psq_l f30, -1432(r1), 0, qr0 +/* 80296A24 00293984 CB C1 0A 60 */ lfd f30, 0xa60(r1) +/* 80296A28 00293988 E3 A1 0A 58 */ psq_l f29, -1448(r1), 0, qr0 +/* 80296A2C 0029398C CB A1 0A 50 */ lfd f29, 0xa50(r1) +/* 80296A30 00293990 E3 81 0A 48 */ psq_l f28, -1464(r1), 0, qr0 +/* 80296A34 00293994 CB 81 0A 40 */ lfd f28, 0xa40(r1) +/* 80296A38 00293998 E3 61 0A 38 */ psq_l f27, -1480(r1), 0, qr0 +/* 80296A3C 0029399C CB 61 0A 30 */ lfd f27, 0xa30(r1) +/* 80296A40 002939A0 E3 41 0A 28 */ psq_l f26, -1496(r1), 0, qr0 +/* 80296A44 002939A4 CB 41 0A 20 */ lfd f26, 0xa20(r1) +/* 80296A48 002939A8 E3 21 0A 18 */ psq_l f25, -1512(r1), 0, qr0 +/* 80296A4C 002939AC CB 21 0A 10 */ lfd f25, 0xa10(r1) +/* 80296A50 002939B0 BA 81 09 E0 */ lmw r20, 0x9e0(r1) +/* 80296A54 002939B4 80 01 0A 84 */ lwz r0, 0xa84(r1) +/* 80296A58 002939B8 7C 08 03 A6 */ mtlr r0 +/* 80296A5C 002939BC 38 21 0A 80 */ addi r1, r1, 0xa80 +/* 80296A60 002939C0 4E 80 00 20 */ blr + +.global __dt__16CMorphBallShadowFv +__dt__16CMorphBallShadowFv: +/* 80296A64 002939C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296A68 002939C8 7C 08 02 A6 */ mflr r0 +/* 80296A6C 002939CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296A70 002939D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296A74 002939D4 7C 9F 23 78 */ mr r31, r4 +/* 80296A78 002939D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296A7C 002939DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80296A80 002939E0 41 82 00 9C */ beq lbl_80296B1C +/* 80296A84 002939E4 38 7E 00 40 */ addi r3, r30, 0x40 +/* 80296A88 002939E8 48 07 76 85 */ bl sub_8030e10c +/* 80296A8C 002939EC 34 1E 00 A8 */ addic. r0, r30, 0xa8 +/* 80296A90 002939F0 41 82 00 10 */ beq lbl_80296AA0 +/* 80296A94 002939F4 38 7E 00 A8 */ addi r3, r30, 0xa8 +/* 80296A98 002939F8 38 80 00 00 */ li r4, 0 +/* 80296A9C 002939FC 48 0A A3 A5 */ bl __dt__6CTokenFv +lbl_80296AA0: +/* 80296AA0 00293A00 38 7E 00 40 */ addi r3, r30, 0x40 +/* 80296AA4 00293A04 38 80 FF FF */ li r4, -1 +/* 80296AA8 00293A08 48 07 8F 51 */ bl __dt__8CTextureFv +/* 80296AAC 00293A0C 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 80296AB0 00293A10 41 82 00 44 */ beq lbl_80296AF4 +/* 80296AB4 00293A14 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 80296AB8 00293A18 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 80296ABC 00293A1C 54 00 10 3A */ slwi r0, r0, 2 +/* 80296AC0 00293A20 7C 03 02 14 */ add r0, r3, r0 +/* 80296AC4 00293A24 90 61 00 0C */ stw r3, 0xc(r1) +/* 80296AC8 00293A28 7C 64 1B 78 */ mr r4, r3 +/* 80296ACC 00293A2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296AD0 00293A30 90 01 00 10 */ stw r0, 0x10(r1) +/* 80296AD4 00293A34 90 61 00 08 */ stw r3, 8(r1) +/* 80296AD8 00293A38 48 00 00 08 */ b lbl_80296AE0 +lbl_80296ADC: +/* 80296ADC 00293A3C 38 84 00 04 */ addi r4, r4, 4 +lbl_80296AE0: +/* 80296AE0 00293A40 7C 04 00 40 */ cmplw r4, r0 +/* 80296AE4 00293A44 40 82 FF F8 */ bne lbl_80296ADC +/* 80296AE8 00293A48 28 03 00 00 */ cmplwi r3, 0 +/* 80296AEC 00293A4C 41 82 00 08 */ beq lbl_80296AF4 +/* 80296AF0 00293A50 48 07 EE 41 */ bl Free__7CMemoryFPCv +lbl_80296AF4: +/* 80296AF4 00293A54 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80296AF8 00293A58 38 80 FF FF */ li r4, -1 +/* 80296AFC 00293A5C 48 00 02 B1 */ bl sub_80296dac +/* 80296B00 00293A60 7F C3 F3 78 */ mr r3, r30 +/* 80296B04 00293A64 38 80 FF FF */ li r4, -1 +/* 80296B08 00293A68 48 00 01 B1 */ bl sub_80296cb8 +/* 80296B0C 00293A6C 7F E0 07 35 */ extsh. r0, r31 +/* 80296B10 00293A70 40 81 00 0C */ ble lbl_80296B1C +/* 80296B14 00293A74 7F C3 F3 78 */ mr r3, r30 +/* 80296B18 00293A78 48 07 EE 19 */ bl Free__7CMemoryFPCv +lbl_80296B1C: +/* 80296B1C 00293A7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296B20 00293A80 7F C3 F3 78 */ mr r3, r30 +/* 80296B24 00293A84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296B28 00293A88 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296B2C 00293A8C 7C 08 03 A6 */ mtlr r0 +/* 80296B30 00293A90 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296B34 00293A94 4E 80 00 20 */ blr + +.global "__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>" +"__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>": +/* 80296B38 00293A98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296B3C 00293A9C 7C 08 02 A6 */ mflr r0 +/* 80296B40 00293AA0 39 00 00 00 */ li r8, 0 +/* 80296B44 00293AA4 38 E0 00 01 */ li r7, 1 +/* 80296B48 00293AA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296B4C 00293AAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296B50 00293AB0 7C DF 33 78 */ mr r31, r6 +/* 80296B54 00293AB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296B58 00293AB8 7C BE 2B 78 */ mr r30, r5 +/* 80296B5C 00293ABC 7F C6 07 34 */ extsh r6, r30 +/* 80296B60 00293AC0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80296B64 00293AC4 7C 9D 23 78 */ mr r29, r4 +/* 80296B68 00293AC8 7F A5 07 34 */ extsh r5, r29 +/* 80296B6C 00293ACC 38 80 00 01 */ li r4, 1 +/* 80296B70 00293AD0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80296B74 00293AD4 7C 7C 1B 78 */ mr r28, r3 +/* 80296B78 00293AD8 39 3C 00 0C */ addi r9, r28, 0xc +/* 80296B7C 00293ADC 91 23 00 04 */ stw r9, 4(r3) +/* 80296B80 00293AE0 38 1C 00 24 */ addi r0, r28, 0x24 +/* 80296B84 00293AE4 91 23 00 08 */ stw r9, 8(r3) +/* 80296B88 00293AE8 38 7C 00 40 */ addi r3, r28, 0x40 +/* 80296B8C 00293AEC 91 29 00 00 */ stw r9, 0(r9) +/* 80296B90 00293AF0 91 3C 00 10 */ stw r9, 0x10(r28) +/* 80296B94 00293AF4 91 1C 00 14 */ stw r8, 0x14(r28) +/* 80296B98 00293AF8 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 80296B9C 00293AFC 90 1C 00 20 */ stw r0, 0x20(r28) +/* 80296BA0 00293B00 90 1C 00 24 */ stw r0, 0x24(r28) +/* 80296BA4 00293B04 90 1C 00 28 */ stw r0, 0x28(r28) +/* 80296BA8 00293B08 91 1C 00 2C */ stw r8, 0x2c(r28) +/* 80296BAC 00293B0C 91 1C 00 34 */ stw r8, 0x34(r28) +/* 80296BB0 00293B10 91 1C 00 38 */ stw r8, 0x38(r28) +/* 80296BB4 00293B14 91 1C 00 3C */ stw r8, 0x3c(r28) +/* 80296BB8 00293B18 48 07 92 75 */ bl __ct__8CTextureF12ETexelFormatssi +/* 80296BBC 00293B1C 7F E4 FB 78 */ mr r4, r31 +/* 80296BC0 00293B20 38 7C 00 A8 */ addi r3, r28, 0xa8 +/* 80296BC4 00293B24 48 0A A2 E5 */ bl __ct__6CTokenFRC6CToken +/* 80296BC8 00293B28 93 BC 00 B0 */ stw r29, 0xb0(r28) +/* 80296BCC 00293B2C 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80296BD0 00293B30 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 80296BD4 00293B34 38 00 00 00 */ li r0, 0 +/* 80296BD8 00293B38 93 DC 00 B4 */ stw r30, 0xb4(r28) +/* 80296BDC 00293B3C 38 7C 00 A8 */ addi r3, r28, 0xa8 +/* 80296BE0 00293B40 C0 04 00 00 */ lfs f0, 0(r4) +/* 80296BE4 00293B44 D0 1C 00 B8 */ stfs f0, 0xb8(r28) +/* 80296BE8 00293B48 C0 04 00 04 */ lfs f0, 4(r4) +/* 80296BEC 00293B4C D0 1C 00 BC */ stfs f0, 0xbc(r28) +/* 80296BF0 00293B50 C0 04 00 08 */ lfs f0, 8(r4) +/* 80296BF4 00293B54 D0 1C 00 C0 */ stfs f0, 0xc0(r28) +/* 80296BF8 00293B58 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80296BFC 00293B5C D0 1C 00 C4 */ stfs f0, 0xc4(r28) +/* 80296C00 00293B60 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80296C04 00293B64 D0 1C 00 C8 */ stfs f0, 0xc8(r28) +/* 80296C08 00293B68 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80296C0C 00293B6C D0 1C 00 CC */ stfs f0, 0xcc(r28) +/* 80296C10 00293B70 98 1C 00 D0 */ stb r0, 0xd0(r28) +/* 80296C14 00293B74 48 0A A1 71 */ bl Lock__6CTokenFv +/* 80296C18 00293B78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296C1C 00293B7C 7F 83 E3 78 */ mr r3, r28 +/* 80296C20 00293B80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296C24 00293B84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296C28 00293B88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80296C2C 00293B8C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80296C30 00293B90 7C 08 03 A6 */ mtlr r0 +/* 80296C34 00293B94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296C38 00293B98 4E 80 00 20 */ blr + +.global sub_80296c3c +sub_80296c3c: +/* 80296C3C 00293B9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80296C40 00293BA0 7C 08 02 A6 */ mflr r0 +/* 80296C44 00293BA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296C48 00293BA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80296C4C 00293BAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80296C50 00293BB0 7C 7E 1B 78 */ mr r30, r3 +/* 80296C54 00293BB4 80 03 00 04 */ lwz r0, 4(r3) +/* 80296C58 00293BB8 83 E4 00 04 */ lwz r31, 4(r4) +/* 80296C5C 00293BBC 7C 04 00 40 */ cmplw r4, r0 +/* 80296C60 00293BC0 40 82 00 08 */ bne lbl_80296C68 +/* 80296C64 00293BC4 93 FE 00 04 */ stw r31, 4(r30) +lbl_80296C68: +/* 80296C68 00293BC8 80 04 00 04 */ lwz r0, 4(r4) +/* 80296C6C 00293BCC 28 04 00 00 */ cmplwi r4, 0 +/* 80296C70 00293BD0 80 64 00 00 */ lwz r3, 0(r4) +/* 80296C74 00293BD4 90 03 00 04 */ stw r0, 4(r3) +/* 80296C78 00293BD8 80 04 00 00 */ lwz r0, 0(r4) +/* 80296C7C 00293BDC 80 64 00 04 */ lwz r3, 4(r4) +/* 80296C80 00293BE0 90 03 00 00 */ stw r0, 0(r3) +/* 80296C84 00293BE4 41 82 00 0C */ beq lbl_80296C90 +/* 80296C88 00293BE8 7C 83 23 78 */ mr r3, r4 +/* 80296C8C 00293BEC 48 07 EC A5 */ bl Free__7CMemoryFPCv +lbl_80296C90: +/* 80296C90 00293BF0 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80296C94 00293BF4 7F E3 FB 78 */ mr r3, r31 +/* 80296C98 00293BF8 38 04 FF FF */ addi r0, r4, -1 +/* 80296C9C 00293BFC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80296CA0 00293C00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80296CA4 00293C04 83 C1 00 08 */ lwz r30, 8(r1) +/* 80296CA8 00293C08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80296CAC 00293C0C 7C 08 03 A6 */ mtlr r0 +/* 80296CB0 00293C10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80296CB4 00293C14 4E 80 00 20 */ blr + +.global sub_80296cb8 +sub_80296cb8: +/* 80296CB8 00293C18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296CBC 00293C1C 7C 08 02 A6 */ mflr r0 +/* 80296CC0 00293C20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296CC4 00293C24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296CC8 00293C28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296CCC 00293C2C 7C 9E 23 78 */ mr r30, r4 +/* 80296CD0 00293C30 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80296CD4 00293C34 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80296CD8 00293C38 41 82 00 38 */ beq lbl_80296D10 +/* 80296CDC 00293C3C 83 FD 00 04 */ lwz r31, 4(r29) +/* 80296CE0 00293C40 48 00 00 14 */ b lbl_80296CF4 +lbl_80296CE4: +/* 80296CE4 00293C44 7F E3 FB 79 */ or. r3, r31, r31 +/* 80296CE8 00293C48 83 FF 00 04 */ lwz r31, 4(r31) +/* 80296CEC 00293C4C 41 82 00 08 */ beq lbl_80296CF4 +/* 80296CF0 00293C50 48 07 EC 41 */ bl Free__7CMemoryFPCv +lbl_80296CF4: +/* 80296CF4 00293C54 80 1D 00 08 */ lwz r0, 8(r29) +/* 80296CF8 00293C58 7C 1F 00 40 */ cmplw r31, r0 +/* 80296CFC 00293C5C 40 82 FF E8 */ bne lbl_80296CE4 +/* 80296D00 00293C60 7F C0 07 35 */ extsh. r0, r30 +/* 80296D04 00293C64 40 81 00 0C */ ble lbl_80296D10 +/* 80296D08 00293C68 7F A3 EB 78 */ mr r3, r29 +/* 80296D0C 00293C6C 48 07 EC 25 */ bl Free__7CMemoryFPCv +lbl_80296D10: +/* 80296D10 00293C70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296D14 00293C74 7F A3 EB 78 */ mr r3, r29 +/* 80296D18 00293C78 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296D1C 00293C7C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296D20 00293C80 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80296D24 00293C84 7C 08 03 A6 */ mtlr r0 +/* 80296D28 00293C88 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296D2C 00293C8C 4E 80 00 20 */ blr + +.global sub_80296d30 +sub_80296d30: +/* 80296D30 00293C90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80296D34 00293C94 7C 08 02 A6 */ mflr r0 +/* 80296D38 00293C98 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296D3C 00293C9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80296D40 00293CA0 93 C1 00 08 */ stw r30, 8(r1) +/* 80296D44 00293CA4 7C 7E 1B 78 */ mr r30, r3 +/* 80296D48 00293CA8 80 03 00 04 */ lwz r0, 4(r3) +/* 80296D4C 00293CAC 83 E4 00 04 */ lwz r31, 4(r4) +/* 80296D50 00293CB0 7C 04 00 40 */ cmplw r4, r0 +/* 80296D54 00293CB4 40 82 00 08 */ bne lbl_80296D5C +/* 80296D58 00293CB8 93 FE 00 04 */ stw r31, 4(r30) +lbl_80296D5C: +/* 80296D5C 00293CBC 80 04 00 04 */ lwz r0, 4(r4) +/* 80296D60 00293CC0 28 04 00 00 */ cmplwi r4, 0 +/* 80296D64 00293CC4 80 64 00 00 */ lwz r3, 0(r4) +/* 80296D68 00293CC8 90 03 00 04 */ stw r0, 4(r3) +/* 80296D6C 00293CCC 80 04 00 00 */ lwz r0, 0(r4) +/* 80296D70 00293CD0 80 64 00 04 */ lwz r3, 4(r4) +/* 80296D74 00293CD4 90 03 00 00 */ stw r0, 0(r3) +/* 80296D78 00293CD8 41 82 00 0C */ beq lbl_80296D84 +/* 80296D7C 00293CDC 7C 83 23 78 */ mr r3, r4 +/* 80296D80 00293CE0 48 07 EB B1 */ bl Free__7CMemoryFPCv +lbl_80296D84: +/* 80296D84 00293CE4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80296D88 00293CE8 7F E3 FB 78 */ mr r3, r31 +/* 80296D8C 00293CEC 38 04 FF FF */ addi r0, r4, -1 +/* 80296D90 00293CF0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80296D94 00293CF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80296D98 00293CF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80296D9C 00293CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80296DA0 00293D00 7C 08 03 A6 */ mtlr r0 +/* 80296DA4 00293D04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80296DA8 00293D08 4E 80 00 20 */ blr + +.global sub_80296dac +sub_80296dac: +/* 80296DAC 00293D0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296DB0 00293D10 7C 08 02 A6 */ mflr r0 +/* 80296DB4 00293D14 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296DB8 00293D18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296DBC 00293D1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296DC0 00293D20 7C 9E 23 78 */ mr r30, r4 +/* 80296DC4 00293D24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80296DC8 00293D28 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80296DCC 00293D2C 41 82 00 38 */ beq lbl_80296E04 +/* 80296DD0 00293D30 83 FD 00 04 */ lwz r31, 4(r29) +/* 80296DD4 00293D34 48 00 00 14 */ b lbl_80296DE8 +lbl_80296DD8: +/* 80296DD8 00293D38 7F E3 FB 79 */ or. r3, r31, r31 +/* 80296DDC 00293D3C 83 FF 00 04 */ lwz r31, 4(r31) +/* 80296DE0 00293D40 41 82 00 08 */ beq lbl_80296DE8 +/* 80296DE4 00293D44 48 07 EB 4D */ bl Free__7CMemoryFPCv +lbl_80296DE8: +/* 80296DE8 00293D48 80 1D 00 08 */ lwz r0, 8(r29) +/* 80296DEC 00293D4C 7C 1F 00 40 */ cmplw r31, r0 +/* 80296DF0 00293D50 40 82 FF E8 */ bne lbl_80296DD8 +/* 80296DF4 00293D54 7F C0 07 35 */ extsh. r0, r30 +/* 80296DF8 00293D58 40 81 00 0C */ ble lbl_80296E04 +/* 80296DFC 00293D5C 7F A3 EB 78 */ mr r3, r29 +/* 80296E00 00293D60 48 07 EB 31 */ bl Free__7CMemoryFPCv +lbl_80296E04: +/* 80296E04 00293D64 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296E08 00293D68 7F A3 EB 78 */ mr r3, r29 +/* 80296E0C 00293D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296E10 00293D70 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296E14 00293D74 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80296E18 00293D78 7C 08 03 A6 */ mtlr r0 +/* 80296E1C 00293D7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296E20 00293D80 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CPlayerDynamics.s b/asm/Kyoto_CWD/Player/CPlayerDynamics.s new file mode 100644 index 00000000..a08d80ff --- /dev/null +++ b/asm/Kyoto_CWD/Player/CPlayerDynamics.s @@ -0,0 +1,7483 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global UpdateMorphBallTransition__7CPlayerFfR13CStateManager +UpdateMorphBallTransition__7CPlayerFfR13CStateManager: +/* 80281D68 0027ECC8 94 21 FD 90 */ stwu r1, -0x270(r1) +/* 80281D6C 0027ECCC 7C 08 02 A6 */ mflr r0 +/* 80281D70 0027ECD0 90 01 02 74 */ stw r0, 0x274(r1) +/* 80281D74 0027ECD4 DB E1 02 60 */ stfd f31, 0x260(r1) +/* 80281D78 0027ECD8 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 +/* 80281D7C 0027ECDC DB C1 02 50 */ stfd f30, 0x250(r1) +/* 80281D80 0027ECE0 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 +/* 80281D84 0027ECE4 DB A1 02 40 */ stfd f29, 0x240(r1) +/* 80281D88 0027ECE8 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 +/* 80281D8C 0027ECEC BF 21 02 24 */ stmw r25, 0x224(r1) +/* 80281D90 0027ECF0 7C 7C 1B 78 */ mr r28, r3 +/* 80281D94 0027ECF4 FF E0 08 90 */ fmr f31, f1 +/* 80281D98 0027ECF8 83 C3 02 F8 */ lwz r30, 0x2f8(r3) +/* 80281D9C 0027ECFC 7C 9D 23 78 */ mr r29, r4 +/* 80281DA0 0027ED00 2C 1E 00 02 */ cmpwi r30, 2 +/* 80281DA4 0027ED04 41 82 00 A4 */ beq lbl_80281E48 +/* 80281DA8 0027ED08 2C 1E 00 03 */ cmpwi r30, 3 +/* 80281DAC 0027ED0C 41 82 00 9C */ beq lbl_80281E48 +/* 80281DB0 0027ED10 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80281DB4 0027ED14 80 63 00 00 */ lwz r3, 0(r3) +/* 80281DB8 0027ED18 83 23 00 20 */ lwz r25, 0x20(r3) +/* 80281DBC 0027ED1C 4B E0 F7 09 */ bl GetIsFusionEnabled__12CPlayerStateFv +/* 80281DC0 0027ED20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80281DC4 0027ED24 41 82 00 08 */ beq lbl_80281DCC +/* 80281DC8 0027ED28 3B 39 00 04 */ addi r25, r25, 4 +lbl_80281DCC: +/* 80281DCC 0027ED2C 80 1C 07 CC */ lwz r0, 0x7cc(r28) +/* 80281DD0 0027ED30 7C 00 C8 00 */ cmpw r0, r25 +/* 80281DD4 0027ED34 41 82 0B 88 */ beq lbl_8028295C +/* 80281DD8 0027ED38 93 3C 07 CC */ stw r25, 0x7cc(r28) +/* 80281DDC 0027ED3C 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80281DE0 0027ED40 38 81 01 2C */ addi r4, r1, 0x12c +/* 80281DE4 0027ED44 88 DC 07 E4 */ lbz r6, 0x7e4(r28) +/* 80281DE8 0027ED48 80 FC 07 E8 */ lwz r7, 0x7e8(r28) +/* 80281DEC 0027ED4C 80 BC 07 CC */ lwz r5, 0x7cc(r28) +/* 80281DF0 0027ED50 80 1C 07 D0 */ lwz r0, 0x7d0(r28) +/* 80281DF4 0027ED54 90 01 01 2C */ stw r0, 0x12c(r1) +/* 80281DF8 0027ED58 90 A1 01 30 */ stw r5, 0x130(r1) +/* 80281DFC 0027ED5C C0 1C 07 D8 */ lfs f0, 0x7d8(r28) +/* 80281E00 0027ED60 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 80281E04 0027ED64 C0 1C 07 DC */ lfs f0, 0x7dc(r28) +/* 80281E08 0027ED68 D0 01 01 38 */ stfs f0, 0x138(r1) +/* 80281E0C 0027ED6C C0 1C 07 E0 */ lfs f0, 0x7e0(r28) +/* 80281E10 0027ED70 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80281E14 0027ED74 98 C1 01 40 */ stb r6, 0x140(r1) +/* 80281E18 0027ED78 90 E1 01 44 */ stw r7, 0x144(r1) +/* 80281E1C 0027ED7C 4B E9 4D 39 */ bl __ct__10CModelDataFRC8CAnimRes +/* 80281E20 0027ED80 7F 83 E3 78 */ mr r3, r28 +/* 80281E24 0027ED84 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 80281E28 0027ED88 4B DD 32 09 */ bl SetModelData__6CActorFRC10CModelData +/* 80281E2C 0027ED8C 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80281E30 0027ED90 38 80 FF FF */ li r4, -1 +/* 80281E34 0027ED94 4B E9 4C 19 */ bl __dt__10CModelDataFv +/* 80281E38 0027ED98 7F 83 E3 78 */ mr r3, r28 +/* 80281E3C 0027ED9C 7F A4 EB 78 */ mr r4, r29 +/* 80281E40 0027EDA0 48 00 20 E9 */ bl SetIntoBallReadyAnimation__7CPlayerFR13CStateManager +/* 80281E44 0027EDA4 48 00 0B 18 */ b lbl_8028295C +lbl_80281E48: +/* 80281E48 0027EDA8 2C 1E 00 03 */ cmpwi r30, 3 +/* 80281E4C 0027EDAC 41 82 00 08 */ beq lbl_80281E54 +/* 80281E50 0027EDB0 48 00 02 54 */ b lbl_802820A4 +lbl_80281E54: +/* 80281E54 0027EDB4 80 1C 05 84 */ lwz r0, 0x584(r28) +/* 80281E58 0027EDB8 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80281E5C 0027EDBC 28 00 00 0E */ cmplwi r0, 0xe +/* 80281E60 0027EDC0 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 80281E64 0027EDC4 40 82 01 0C */ bne lbl_80281F70 +/* 80281E68 0027EDC8 3C 80 80 3D */ lis r4, lbl_803D5968@ha +/* 80281E6C 0027EDCC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80281E70 0027EDD0 38 84 59 68 */ addi r4, r4, lbl_803D5968@l +/* 80281E74 0027EDD4 4B D8 2E 45 */ bl string_l__4rstlFPCc +/* 80281E78 0027EDD8 80 9C 05 84 */ lwz r4, 0x584(r28) +/* 80281E7C 0027EDDC 7F E3 FB 78 */ mr r3, r31 +/* 80281E80 0027EDE0 4B DA A6 49 */ bl GetAnimationDuration__9CAnimDataCFi +/* 80281E84 0027EDE4 FF A0 08 90 */ fmr f29, f1 +/* 80281E88 0027EDE8 7F E3 FB 78 */ mr r3, r31 +/* 80281E8C 0027EDEC 38 81 00 8C */ addi r4, r1, 0x8c +/* 80281E90 0027EDF0 4B DA A5 DD */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80281E94 0027EDF4 EC 21 E8 24 */ fdivs f1, f1, f29 +/* 80281E98 0027EDF8 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80281E9C 0027EDFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80281EA0 0027EE00 7C 00 00 26 */ mfcr r0 +/* 80281EA4 0027EE04 38 61 00 8C */ addi r3, r1, 0x8c +/* 80281EA8 0027EE08 54 1B 0F FE */ srwi r27, r0, 0x1f +/* 80281EAC 0027EE0C 48 0B BC 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80281EB0 0027EE10 28 1B 00 00 */ cmplwi r27, 0 +/* 80281EB4 0027EE14 41 82 01 F0 */ beq lbl_802820A4 +/* 80281EB8 0027EE18 38 00 00 00 */ li r0, 0 +/* 80281EBC 0027EE1C FC 20 F8 90 */ fmr f1, f31 +/* 80281EC0 0027EE20 98 01 00 09 */ stb r0, 9(r1) +/* 80281EC4 0027EE24 7F 83 E3 78 */ mr r3, r28 +/* 80281EC8 0027EE28 7F A5 EB 78 */ mr r5, r29 +/* 80281ECC 0027EE2C 38 81 00 09 */ addi r4, r1, 9 +/* 80281ED0 0027EE30 48 00 1D 75 */ bl GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager +/* 80281ED4 0027EE34 90 7C 05 84 */ stw r3, 0x584(r28) +/* 80281ED8 0027EE38 38 60 00 00 */ li r3, 0 +/* 80281EDC 0027EE3C 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 80281EE0 0027EE40 28 04 00 00 */ cmplwi r4, 0 +/* 80281EE4 0027EE44 41 82 00 14 */ beq lbl_80281EF8 +/* 80281EE8 0027EE48 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80281EEC 0027EE4C 28 00 00 00 */ cmplwi r0, 0 +/* 80281EF0 0027EE50 41 82 00 08 */ beq lbl_80281EF8 +/* 80281EF4 0027EE54 38 60 00 01 */ li r3, 1 +lbl_80281EF8: +/* 80281EF8 0027EE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80281EFC 0027EE5C 41 82 01 A8 */ beq lbl_802820A4 +/* 80281F00 0027EE60 80 7C 05 84 */ lwz r3, 0x584(r28) +/* 80281F04 0027EE64 38 00 00 00 */ li r0, 0 +/* 80281F08 0027EE68 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80281F0C 0027EE6C 38 A0 FF FF */ li r5, -1 +/* 80281F10 0027EE70 38 C0 00 01 */ li r6, 1 +/* 80281F14 0027EE74 90 61 01 A0 */ stw r3, 0x1a0(r1) +/* 80281F18 0027EE78 7F E3 FB 78 */ mr r3, r31 +/* 80281F1C 0027EE7C 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80281F20 0027EE80 90 A1 01 A4 */ stw r5, 0x1a4(r1) +/* 80281F24 0027EE84 38 A0 00 00 */ li r5, 0 +/* 80281F28 0027EE88 D0 01 01 A8 */ stfs f0, 0x1a8(r1) +/* 80281F2C 0027EE8C 98 C1 01 AC */ stb r6, 0x1ac(r1) +/* 80281F30 0027EE90 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 80281F34 0027EE94 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 80281F38 0027EE98 98 01 01 B8 */ stb r0, 0x1b8(r1) +/* 80281F3C 0027EE9C 90 01 01 BC */ stw r0, 0x1bc(r1) +/* 80281F40 0027EEA0 90 01 01 C0 */ stw r0, 0x1c0(r1) +/* 80281F44 0027EEA4 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80281F48 0027EEA8 4B DA AE 35 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80281F4C 0027EEAC 88 81 00 09 */ lbz r4, 9(r1) +/* 80281F50 0027EEB0 38 60 00 01 */ li r3, 1 +/* 80281F54 0027EEB4 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80281F58 0027EEB8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80281F5C 0027EEBC 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80281F60 0027EEC0 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80281F64 0027EEC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80281F68 0027EEC8 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80281F6C 0027EECC 48 00 01 38 */ b lbl_802820A4 +lbl_80281F70: +/* 80281F70 0027EED0 28 00 00 05 */ cmplwi r0, 5 +/* 80281F74 0027EED4 41 82 01 30 */ beq lbl_802820A4 +/* 80281F78 0027EED8 28 00 00 07 */ cmplwi r0, 7 +/* 80281F7C 0027EEDC 41 82 01 28 */ beq lbl_802820A4 +/* 80281F80 0027EEE0 FC 20 F8 90 */ fmr f1, f31 +/* 80281F84 0027EEE4 7F 83 E3 78 */ mr r3, r28 +/* 80281F88 0027EEE8 48 00 39 81 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80281F8C 0027EEEC FF A0 08 90 */ fmr f29, f1 +/* 80281F90 0027EEF0 C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 80281F94 0027EEF4 C0 5C 01 3C */ lfs f2, 0x13c(r28) +/* 80281F98 0027EEF8 38 61 00 60 */ addi r3, r1, 0x60 +/* 80281F9C 0027EEFC 48 09 22 65 */ bl __ct__9CVector2fFff +/* 80281FA0 0027EF00 38 61 00 60 */ addi r3, r1, 0x60 +/* 80281FA4 0027EF04 48 09 21 51 */ bl Magnitude__9CVector2fCFv +/* 80281FA8 0027EF08 FF C0 08 90 */ fmr f30, f1 +/* 80281FAC 0027EF0C C0 3C 05 8C */ lfs f1, 0x58c(r28) +/* 80281FB0 0027EF10 C0 02 BD 84 */ lfs f0, lbl_805ADAA4@sda21(r2) +/* 80281FB4 0027EF14 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80281FB8 0027EF18 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80281FBC 0027EF1C FC 20 0A 10 */ fabs f1, f1 +/* 80281FC0 0027EF20 FC 20 08 18 */ frsp f1, f1 +/* 80281FC4 0027EF24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80281FC8 0027EF28 41 81 00 10 */ bgt lbl_80281FD8 +/* 80281FCC 0027EF2C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80281FD0 0027EF30 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80281FD4 0027EF34 40 80 00 D0 */ bge lbl_802820A4 +lbl_80281FD8: +/* 80281FD8 0027EF38 38 00 00 00 */ li r0, 0 +/* 80281FDC 0027EF3C FC 20 F8 90 */ fmr f1, f31 +/* 80281FE0 0027EF40 98 01 00 08 */ stb r0, 8(r1) +/* 80281FE4 0027EF44 7F 83 E3 78 */ mr r3, r28 +/* 80281FE8 0027EF48 7F A5 EB 78 */ mr r5, r29 +/* 80281FEC 0027EF4C 38 81 00 08 */ addi r4, r1, 8 +/* 80281FF0 0027EF50 48 00 1C 55 */ bl GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager +/* 80281FF4 0027EF54 80 BC 00 64 */ lwz r5, 0x64(r28) +/* 80281FF8 0027EF58 38 80 00 00 */ li r4, 0 +/* 80281FFC 0027EF5C 28 05 00 00 */ cmplwi r5, 0 +/* 80282000 0027EF60 41 82 00 14 */ beq lbl_80282014 +/* 80282004 0027EF64 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80282008 0027EF68 28 00 00 00 */ cmplwi r0, 0 +/* 8028200C 0027EF6C 41 82 00 08 */ beq lbl_80282014 +/* 80282010 0027EF70 38 80 00 01 */ li r4, 1 +lbl_80282014: +/* 80282014 0027EF74 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80282018 0027EF78 41 82 00 8C */ beq lbl_802820A4 +/* 8028201C 0027EF7C 80 1C 05 84 */ lwz r0, 0x584(r28) +/* 80282020 0027EF80 7C 00 18 40 */ cmplw r0, r3 +/* 80282024 0027EF84 41 82 00 80 */ beq lbl_802820A4 +/* 80282028 0027EF88 28 00 00 07 */ cmplwi r0, 7 +/* 8028202C 0027EF8C 41 82 00 78 */ beq lbl_802820A4 +/* 80282030 0027EF90 90 7C 05 84 */ stw r3, 0x584(r28) +/* 80282034 0027EF94 38 E0 FF FF */ li r7, -1 +/* 80282038 0027EF98 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 8028203C 0027EF9C 38 C0 00 01 */ li r6, 1 +/* 80282040 0027EFA0 80 BC 05 84 */ lwz r5, 0x584(r28) +/* 80282044 0027EFA4 38 00 00 00 */ li r0, 0 +/* 80282048 0027EFA8 7F E3 FB 78 */ mr r3, r31 +/* 8028204C 0027EFAC 38 81 01 78 */ addi r4, r1, 0x178 +/* 80282050 0027EFB0 90 A1 01 78 */ stw r5, 0x178(r1) +/* 80282054 0027EFB4 38 A0 00 00 */ li r5, 0 +/* 80282058 0027EFB8 90 E1 01 7C */ stw r7, 0x17c(r1) +/* 8028205C 0027EFBC D0 01 01 80 */ stfs f0, 0x180(r1) +/* 80282060 0027EFC0 98 C1 01 84 */ stb r6, 0x184(r1) +/* 80282064 0027EFC4 90 01 01 88 */ stw r0, 0x188(r1) +/* 80282068 0027EFC8 90 01 01 8C */ stw r0, 0x18c(r1) +/* 8028206C 0027EFCC 98 01 01 90 */ stb r0, 0x190(r1) +/* 80282070 0027EFD0 90 01 01 94 */ stw r0, 0x194(r1) +/* 80282074 0027EFD4 90 01 01 98 */ stw r0, 0x198(r1) +/* 80282078 0027EFD8 90 01 01 9C */ stw r0, 0x19c(r1) +/* 8028207C 0027EFDC 4B DA AD 01 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80282080 0027EFE0 88 81 00 08 */ lbz r4, 8(r1) +/* 80282084 0027EFE4 38 60 00 01 */ li r3, 1 +/* 80282088 0027EFE8 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8028208C 0027EFEC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80282090 0027EFF0 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80282094 0027EFF4 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80282098 0027EFF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8028209C 0027EFFC 98 1F 02 20 */ stb r0, 0x220(r31) +/* 802820A0 0027F000 D3 DC 05 8C */ stfs f30, 0x58c(r28) +lbl_802820A4: +/* 802820A4 0027F004 FC 20 F8 90 */ fmr f1, f31 +/* 802820A8 0027F008 7F 84 E3 78 */ mr r4, r28 +/* 802820AC 0027F00C 7F A5 EB 78 */ mr r5, r29 +/* 802820B0 0027F010 38 61 00 DC */ addi r3, r1, 0xdc +/* 802820B4 0027F014 38 C0 00 01 */ li r6, 1 +/* 802820B8 0027F018 4B DD 31 E5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb +/* 802820BC 0027F01C C0 E1 00 DC */ lfs f7, 0xdc(r1) +/* 802820C0 0027F020 FC 20 F8 90 */ fmr f1, f31 +/* 802820C4 0027F024 C0 C1 00 E0 */ lfs f6, 0xe0(r1) +/* 802820C8 0027F028 7F 83 E3 78 */ mr r3, r28 +/* 802820CC 0027F02C C0 A1 00 E4 */ lfs f5, 0xe4(r1) +/* 802820D0 0027F030 3B 41 01 1C */ addi r26, r1, 0x11c +/* 802820D4 0027F034 C0 81 00 E8 */ lfs f4, 0xe8(r1) +/* 802820D8 0027F038 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 802820DC 0027F03C 38 81 01 10 */ addi r4, r1, 0x110 +/* 802820E0 0027F040 C0 41 00 F0 */ lfs f2, 0xf0(r1) +/* 802820E4 0027F044 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802820E8 0027F048 D0 E1 01 10 */ stfs f7, 0x110(r1) +/* 802820EC 0027F04C D0 C1 01 14 */ stfs f6, 0x114(r1) +/* 802820F0 0027F050 D0 A1 01 18 */ stfs f5, 0x118(r1) +/* 802820F4 0027F054 D0 81 01 1C */ stfs f4, 0x11c(r1) +/* 802820F8 0027F058 D0 61 01 20 */ stfs f3, 0x120(r1) +/* 802820FC 0027F05C D0 41 01 24 */ stfs f2, 0x124(r1) +/* 80282100 0027F060 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 80282104 0027F064 4B E9 8C A9 */ bl MoveInOneFrameOR__13CPhysicsActorFRC9CVector3ff +/* 80282108 0027F068 FC 20 F8 90 */ fmr f1, f31 +/* 8028210C 0027F06C 7F 83 E3 78 */ mr r3, r28 +/* 80282110 0027F070 7F 44 D3 78 */ mr r4, r26 +/* 80282114 0027F074 4B E9 8C 49 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +/* 80282118 0027F078 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 8028211C 0027F07C EC 20 F8 2A */ fadds f1, f0, f31 +/* 80282120 0027F080 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80282124 0027F084 C0 1C 05 78 */ lfs f0, 0x578(r28) +/* 80282128 0027F088 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028212C 0027F08C 40 80 00 0C */ bge lbl_80282138 +/* 80282130 0027F090 38 61 00 24 */ addi r3, r1, 0x24 +/* 80282134 0027F094 48 00 00 08 */ b lbl_8028213C +lbl_80282138: +/* 80282138 0027F098 38 7C 05 78 */ addi r3, r28, 0x578 +lbl_8028213C: +/* 8028213C 0027F09C C0 23 00 00 */ lfs f1, 0(r3) +/* 80282140 0027F0A0 C0 02 BD 88 */ lfs f0, lbl_805ADAA8@sda21(r2) +/* 80282144 0027F0A4 D0 3C 05 74 */ stfs f1, 0x574(r28) +/* 80282148 0027F0A8 C0 5C 05 74 */ lfs f2, 0x574(r28) +/* 8028214C 0027F0AC C0 3C 05 78 */ lfs f1, 0x578(r28) +/* 80282150 0027F0B0 EF A2 08 24 */ fdivs f29, f2, f1 +/* 80282154 0027F0B4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80282158 0027F0B8 40 80 00 14 */ bge lbl_8028216C +/* 8028215C 0027F0BC C0 02 BD 8C */ lfs f0, lbl_805ADAAC@sda21(r2) +/* 80282160 0027F0C0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80282164 0027F0C4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80282168 0027F0C8 41 81 00 2C */ bgt lbl_80282194 +lbl_8028216C: +/* 8028216C 0027F0CC 80 1C 07 34 */ lwz r0, 0x734(r28) +/* 80282170 0027F0D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80282174 0027F0D4 41 82 00 20 */ beq lbl_80282194 +/* 80282178 0027F0D8 80 1C 07 3C */ lwz r0, 0x73c(r28) +/* 8028217C 0027F0DC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80282180 0027F0E0 38 9C 07 30 */ addi r4, r28, 0x730 +/* 80282184 0027F0E4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80282188 0027F0E8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028218C 0027F0EC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80282190 0027F0F0 48 00 07 F9 */ bl sub_80282988 +lbl_80282194: +/* 80282194 0027F0F4 3B 20 00 00 */ li r25, 0 +/* 80282198 0027F0F8 3B 60 00 00 */ li r27, 0 +/* 8028219C 0027F0FC 48 00 00 38 */ b lbl_802821D4 +lbl_802821A0: +/* 802821A0 0027F100 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) +/* 802821A4 0027F104 FC 20 F8 90 */ fmr f1, f31 +/* 802821A8 0027F108 38 1B 00 04 */ addi r0, r27, 4 +/* 802821AC 0027F10C 7F A5 EB 78 */ mr r5, r29 +/* 802821B0 0027F110 90 61 00 14 */ stw r3, 0x14(r1) +/* 802821B4 0027F114 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802821B8 0027F118 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802821BC 0027F11C 80 9C 07 3C */ lwz r4, 0x73c(r28) +/* 802821C0 0027F120 38 E0 00 01 */ li r7, 1 +/* 802821C4 0027F124 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802821C8 0027F128 4B E9 39 6D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +/* 802821CC 0027F12C 3B 7B 00 08 */ addi r27, r27, 8 +/* 802821D0 0027F130 3B 39 00 01 */ addi r25, r25, 1 +lbl_802821D4: +/* 802821D4 0027F134 80 1C 07 34 */ lwz r0, 0x734(r28) +/* 802821D8 0027F138 7C 19 00 00 */ cmpw r25, r0 +/* 802821DC 0027F13C 41 80 FF C4 */ blt lbl_802821A0 +/* 802821E0 0027F140 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 802821E4 0027F144 7F A4 EB 78 */ mr r4, r29 +/* 802821E8 0027F148 4B D8 99 31 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 802821EC 0027F14C C0 23 01 60 */ lfs f1, 0x160(r3) +/* 802821F0 0027F150 38 81 00 80 */ addi r4, r1, 0x80 +/* 802821F4 0027F154 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 802821F8 0027F158 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 802821FC 0027F15C C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80282200 0027F160 7F 83 E3 78 */ mr r3, r28 +/* 80282204 0027F164 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80282208 0027F168 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8028220C 0027F16C D0 61 00 88 */ stfs f3, 0x88(r1) +/* 80282210 0027F170 4B D9 06 F1 */ bl GetTransitionAlpha__7CPlayerCFRC9CVector3ff +/* 80282214 0027F174 2C 1E 00 02 */ cmpwi r30, 2 +/* 80282218 0027F178 D0 3C 05 88 */ stfs f1, 0x588(r28) +/* 8028221C 0027F17C 40 82 00 B4 */ bne lbl_802822D0 +/* 80282220 0027F180 C0 02 BD 90 */ lfs f0, lbl_805ADAB0@sda21(r2) +/* 80282224 0027F184 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80282228 0027F188 40 81 00 A8 */ ble lbl_802822D0 +/* 8028222C 0027F18C EC 3D 00 28 */ fsubs f1, f29, f0 +/* 80282230 0027F190 C0 02 BD 98 */ lfs f0, lbl_805ADAB8@sda21(r2) +/* 80282234 0027F194 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 80282238 0027F198 C0 62 BD 94 */ lfs f3, lbl_805ADAB4@sda21(r2) +/* 8028223C 0027F19C EC 21 00 24 */ fdivs f1, f1, f0 +/* 80282240 0027F1A0 C0 0D 99 70 */ lfs f0, lbl_805A8530@sda21(r13) +/* 80282244 0027F1A4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80282248 0027F1A8 EC 23 08 2A */ fadds f1, f3, f1 +/* 8028224C 0027F1AC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80282250 0027F1B0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80282254 0027F1B4 40 80 00 0C */ bge lbl_80282260 +/* 80282258 0027F1B8 38 8D 99 70 */ addi r4, r13, lbl_805A8530@sda21 +/* 8028225C 0027F1BC 48 00 00 08 */ b lbl_80282264 +lbl_80282260: +/* 80282260 0027F1C0 38 81 00 10 */ addi r4, r1, 0x10 +lbl_80282264: +/* 80282264 0027F1C4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80282268 0027F1C8 38 A0 00 05 */ li r5, 5 +/* 8028226C 0027F1CC C0 5C 05 88 */ lfs f2, 0x588(r28) +/* 80282270 0027F1D0 38 80 00 00 */ li r4, 0 +/* 80282274 0027F1D4 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282278 0027F1D8 38 00 00 03 */ li r0, 3 +/* 8028227C 0027F1DC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80282280 0027F1E0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80282284 0027F1E4 FC 40 08 90 */ fmr f2, f1 +/* 80282288 0027F1E8 FC 60 08 90 */ fmr f3, f1 +/* 8028228C 0027F1EC D0 1C 05 88 */ stfs f0, 0x588(r28) +/* 80282290 0027F1F0 C0 9C 05 88 */ lfs f4, 0x588(r28) +/* 80282294 0027F1F4 98 A1 00 58 */ stb r5, 0x58(r1) +/* 80282298 0027F1F8 98 81 00 59 */ stb r4, 0x59(r1) +/* 8028229C 0027F1FC B0 01 00 5A */ sth r0, 0x5a(r1) +/* 802822A0 0027F200 48 0E 11 4D */ bl __ct__6CColorFffff +/* 802822A4 0027F204 A0 01 00 5A */ lhz r0, 0x5a(r1) +/* 802822A8 0027F208 88 81 00 59 */ lbz r4, 0x59(r1) +/* 802822AC 0027F20C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 802822B0 0027F210 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 802822B4 0027F214 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802822B8 0027F218 60 63 00 01 */ ori r3, r3, 1 +/* 802822BC 0027F21C 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802822C0 0027F220 98 9C 00 B5 */ stb r4, 0xb5(r28) +/* 802822C4 0027F224 B0 7C 00 B6 */ sth r3, 0xb6(r28) +/* 802822C8 0027F228 90 BC 00 B8 */ stw r5, 0xb8(r28) +/* 802822CC 0027F22C 48 00 01 40 */ b lbl_8028240C +lbl_802822D0: +/* 802822D0 0027F230 2C 1E 00 03 */ cmpwi r30, 3 +/* 802822D4 0027F234 40 82 00 E0 */ bne lbl_802823B4 +/* 802822D8 0027F238 C0 9C 05 88 */ lfs f4, 0x588(r28) +/* 802822DC 0027F23C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802822E0 0027F240 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 802822E4 0027F244 40 80 00 D0 */ bge lbl_802823B4 +/* 802822E8 0027F248 C0 02 BD 9C */ lfs f0, lbl_805ADABC@sda21(r2) +/* 802822EC 0027F24C FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802822F0 0027F250 40 81 00 70 */ ble lbl_80282360 +/* 802822F4 0027F254 38 A0 00 05 */ li r5, 5 +/* 802822F8 0027F258 38 80 00 00 */ li r4, 0 +/* 802822FC 0027F25C 38 00 00 03 */ li r0, 3 +/* 80282300 0027F260 FC 40 08 90 */ fmr f2, f1 +/* 80282304 0027F264 FC 60 08 90 */ fmr f3, f1 +/* 80282308 0027F268 98 A1 00 48 */ stb r5, 0x48(r1) +/* 8028230C 0027F26C 38 61 00 4C */ addi r3, r1, 0x4c +/* 80282310 0027F270 98 81 00 49 */ stb r4, 0x49(r1) +/* 80282314 0027F274 B0 01 00 4A */ sth r0, 0x4a(r1) +/* 80282318 0027F278 48 0E 10 D5 */ bl __ct__6CColorFffff +/* 8028231C 0027F27C 88 C1 00 48 */ lbz r6, 0x48(r1) +/* 80282320 0027F280 88 A1 00 49 */ lbz r5, 0x49(r1) +/* 80282324 0027F284 A0 01 00 4A */ lhz r0, 0x4a(r1) +/* 80282328 0027F288 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8028232C 0027F28C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80282330 0027F290 98 C1 00 50 */ stb r6, 0x50(r1) +/* 80282334 0027F294 60 04 00 01 */ ori r4, r0, 1 +/* 80282338 0027F298 98 DC 00 B4 */ stb r6, 0xb4(r28) +/* 8028233C 0027F29C 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 80282340 0027F2A0 60 00 00 20 */ ori r0, r0, 0x20 +/* 80282344 0027F2A4 98 BC 00 B5 */ stb r5, 0xb5(r28) +/* 80282348 0027F2A8 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 8028234C 0027F2AC 98 A1 00 51 */ stb r5, 0x51(r1) +/* 80282350 0027F2B0 B0 81 00 52 */ sth r4, 0x52(r1) +/* 80282354 0027F2B4 90 61 00 54 */ stw r3, 0x54(r1) +/* 80282358 0027F2B8 90 7C 00 B8 */ stw r3, 0xb8(r28) +/* 8028235C 0027F2BC 48 00 00 B0 */ b lbl_8028240C +lbl_80282360: +/* 80282360 0027F2C0 38 A0 00 05 */ li r5, 5 +/* 80282364 0027F2C4 38 80 00 00 */ li r4, 0 +/* 80282368 0027F2C8 38 00 00 03 */ li r0, 3 +/* 8028236C 0027F2CC FC 40 08 90 */ fmr f2, f1 +/* 80282370 0027F2D0 FC 60 08 90 */ fmr f3, f1 +/* 80282374 0027F2D4 98 A1 00 40 */ stb r5, 0x40(r1) +/* 80282378 0027F2D8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028237C 0027F2DC 98 81 00 41 */ stb r4, 0x41(r1) +/* 80282380 0027F2E0 B0 01 00 42 */ sth r0, 0x42(r1) +/* 80282384 0027F2E4 48 0E 10 69 */ bl __ct__6CColorFffff +/* 80282388 0027F2E8 A0 01 00 42 */ lhz r0, 0x42(r1) +/* 8028238C 0027F2EC 88 81 00 41 */ lbz r4, 0x41(r1) +/* 80282390 0027F2F0 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 80282394 0027F2F4 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 80282398 0027F2F8 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8028239C 0027F2FC 60 63 00 01 */ ori r3, r3, 1 +/* 802823A0 0027F300 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802823A4 0027F304 98 9C 00 B5 */ stb r4, 0xb5(r28) +/* 802823A8 0027F308 B0 7C 00 B6 */ sth r3, 0xb6(r28) +/* 802823AC 0027F30C 90 BC 00 B8 */ stw r5, 0xb8(r28) +/* 802823B0 0027F310 48 00 00 5C */ b lbl_8028240C +lbl_802823B4: +/* 802823B4 0027F314 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802823B8 0027F318 38 A0 00 05 */ li r5, 5 +/* 802823BC 0027F31C C0 9C 05 88 */ lfs f4, 0x588(r28) +/* 802823C0 0027F320 38 80 00 00 */ li r4, 0 +/* 802823C4 0027F324 38 00 00 03 */ li r0, 3 +/* 802823C8 0027F328 FC 40 08 90 */ fmr f2, f1 +/* 802823CC 0027F32C FC 60 08 90 */ fmr f3, f1 +/* 802823D0 0027F330 98 A1 00 38 */ stb r5, 0x38(r1) +/* 802823D4 0027F334 38 61 00 3C */ addi r3, r1, 0x3c +/* 802823D8 0027F338 98 81 00 39 */ stb r4, 0x39(r1) +/* 802823DC 0027F33C B0 01 00 3A */ sth r0, 0x3a(r1) +/* 802823E0 0027F340 48 0E 10 0D */ bl __ct__6CColorFffff +/* 802823E4 0027F344 A0 01 00 3A */ lhz r0, 0x3a(r1) +/* 802823E8 0027F348 88 81 00 39 */ lbz r4, 0x39(r1) +/* 802823EC 0027F34C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 802823F0 0027F350 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802823F4 0027F354 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802823F8 0027F358 60 63 00 03 */ ori r3, r3, 3 +/* 802823FC 0027F35C 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 80282400 0027F360 98 9C 00 B5 */ stb r4, 0xb5(r28) +/* 80282404 0027F364 B0 7C 00 B6 */ sth r3, 0xb6(r28) +/* 80282408 0027F368 90 BC 00 B8 */ stw r5, 0xb8(r28) +lbl_8028240C: +/* 8028240C 0027F36C 80 1C 05 94 */ lwz r0, 0x594(r28) +/* 80282410 0027F370 2C 00 00 04 */ cmpwi r0, 4 +/* 80282414 0027F374 40 80 00 28 */ bge lbl_8028243C +/* 80282418 0027F378 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8028241C 0027F37C 7C 7C 02 14 */ add r3, r28, r0 +/* 80282420 0027F380 34 63 05 98 */ addic. r3, r3, 0x598 +/* 80282424 0027F384 41 82 00 0C */ beq lbl_80282430 +/* 80282428 0027F388 38 9C 07 F4 */ addi r4, r28, 0x7f4 +/* 8028242C 0027F38C 48 09 07 49 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_80282430: +/* 80282430 0027F390 80 7C 05 94 */ lwz r3, 0x594(r28) +/* 80282434 0027F394 38 03 00 01 */ addi r0, r3, 1 +/* 80282438 0027F398 90 1C 05 94 */ stw r0, 0x594(r28) +lbl_8028243C: +/* 8028243C 0027F39C 80 7C 05 94 */ lwz r3, 0x594(r28) +/* 80282440 0027F3A0 3B 5C 05 98 */ addi r26, r28, 0x598 +/* 80282444 0027F3A4 3B 63 FF FF */ addi r27, r3, -1 +/* 80282448 0027F3A8 1C 1B 00 30 */ mulli r0, r27, 0x30 +/* 8028244C 0027F3AC 7F FA 02 14 */ add r31, r26, r0 +/* 80282450 0027F3B0 48 00 00 20 */ b lbl_80282470 +lbl_80282454: +/* 80282454 0027F3B4 38 1B FF FF */ addi r0, r27, -1 +/* 80282458 0027F3B8 7F E3 FB 78 */ mr r3, r31 +/* 8028245C 0027F3BC 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80282460 0027F3C0 7C 9A 02 14 */ add r4, r26, r0 +/* 80282464 0027F3C4 48 09 06 DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80282468 0027F3C8 3B FF FF D0 */ addi r31, r31, -48 +/* 8028246C 0027F3CC 3B 7B FF FF */ addi r27, r27, -1 +lbl_80282470: +/* 80282470 0027F3D0 2C 1B 00 00 */ cmpwi r27, 0 +/* 80282474 0027F3D4 41 81 FF E0 */ bgt lbl_80282454 +/* 80282478 0027F3D8 7F 43 D3 78 */ mr r3, r26 +/* 8028247C 0027F3DC 38 9C 07 F4 */ addi r4, r28, 0x7f4 +/* 80282480 0027F3E0 48 09 06 C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80282484 0027F3E4 80 1C 06 58 */ lwz r0, 0x658(r28) +/* 80282488 0027F3E8 3B FC 00 34 */ addi r31, r28, 0x34 +/* 8028248C 0027F3EC 2C 00 00 04 */ cmpwi r0, 4 +/* 80282490 0027F3F0 40 80 00 28 */ bge lbl_802824B8 +/* 80282494 0027F3F4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80282498 0027F3F8 7C 7C 02 14 */ add r3, r28, r0 +/* 8028249C 0027F3FC 34 63 06 5C */ addic. r3, r3, 0x65c +/* 802824A0 0027F400 41 82 00 0C */ beq lbl_802824AC +/* 802824A4 0027F404 7F E4 FB 78 */ mr r4, r31 +/* 802824A8 0027F408 48 09 06 CD */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_802824AC: +/* 802824AC 0027F40C 80 7C 06 58 */ lwz r3, 0x658(r28) +/* 802824B0 0027F410 38 03 00 01 */ addi r0, r3, 1 +/* 802824B4 0027F414 90 1C 06 58 */ stw r0, 0x658(r28) +lbl_802824B8: +/* 802824B8 0027F418 80 7C 06 58 */ lwz r3, 0x658(r28) +/* 802824BC 0027F41C 3B 3C 06 5C */ addi r25, r28, 0x65c +/* 802824C0 0027F420 3B 63 FF FF */ addi r27, r3, -1 +/* 802824C4 0027F424 1C 1B 00 30 */ mulli r0, r27, 0x30 +/* 802824C8 0027F428 7F 59 02 14 */ add r26, r25, r0 +/* 802824CC 0027F42C 48 00 00 20 */ b lbl_802824EC +lbl_802824D0: +/* 802824D0 0027F430 38 1B FF FF */ addi r0, r27, -1 +/* 802824D4 0027F434 7F 43 D3 78 */ mr r3, r26 +/* 802824D8 0027F438 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 802824DC 0027F43C 7C 99 02 14 */ add r4, r25, r0 +/* 802824E0 0027F440 48 09 06 61 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802824E4 0027F444 3B 5A FF D0 */ addi r26, r26, -48 +/* 802824E8 0027F448 3B 7B FF FF */ addi r27, r27, -1 +lbl_802824EC: +/* 802824EC 0027F44C 2C 1B 00 00 */ cmpwi r27, 0 +/* 802824F0 0027F450 41 81 FF E0 */ bgt lbl_802824D0 +/* 802824F4 0027F454 7F 23 CB 78 */ mr r3, r25 +/* 802824F8 0027F458 7F E4 FB 78 */ mr r4, r31 +/* 802824FC 0027F45C 48 09 06 45 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80282500 0027F460 80 1C 07 1C */ lwz r0, 0x71c(r28) +/* 80282504 0027F464 2C 00 00 04 */ cmpwi r0, 4 +/* 80282508 0027F468 40 80 00 28 */ bge lbl_80282530 +/* 8028250C 0027F46C 54 00 10 3A */ slwi r0, r0, 2 +/* 80282510 0027F470 7C 7C 02 14 */ add r3, r28, r0 +/* 80282514 0027F474 34 63 07 20 */ addic. r3, r3, 0x720 +/* 80282518 0027F478 41 82 00 0C */ beq lbl_80282524 +/* 8028251C 0027F47C C0 1C 05 88 */ lfs f0, 0x588(r28) +/* 80282520 0027F480 D0 03 00 00 */ stfs f0, 0(r3) +lbl_80282524: +/* 80282524 0027F484 80 7C 07 1C */ lwz r3, 0x71c(r28) +/* 80282528 0027F488 38 03 00 01 */ addi r0, r3, 1 +/* 8028252C 0027F48C 90 1C 07 1C */ stw r0, 0x71c(r28) +lbl_80282530: +/* 80282530 0027F490 80 7C 07 1C */ lwz r3, 0x71c(r28) +/* 80282534 0027F494 38 FC 07 20 */ addi r7, r28, 0x720 +/* 80282538 0027F498 34 A3 FF FF */ addic. r5, r3, -1 +/* 8028253C 0027F49C 54 A0 10 3A */ slwi r0, r5, 2 +/* 80282540 0027F4A0 7C A3 2B 78 */ mr r3, r5 +/* 80282544 0027F4A4 7C C7 02 14 */ add r6, r7, r0 +/* 80282548 0027F4A8 40 81 00 C4 */ ble lbl_8028260C +/* 8028254C 0027F4AC 54 A0 E8 FF */ rlwinm. r0, r5, 0x1d, 3, 0x1f +/* 80282550 0027F4B0 7C 09 03 A6 */ mtctr r0 +/* 80282554 0027F4B4 41 82 00 98 */ beq lbl_802825EC +lbl_80282558: +/* 80282558 0027F4B8 38 85 FF FF */ addi r4, r5, -1 +/* 8028255C 0027F4BC 54 80 10 3A */ slwi r0, r4, 2 +/* 80282560 0027F4C0 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282564 0027F4C4 38 85 FF FE */ addi r4, r5, -2 +/* 80282568 0027F4C8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028256C 0027F4CC D0 06 00 00 */ stfs f0, 0(r6) +/* 80282570 0027F4D0 38 85 FF FD */ addi r4, r5, -3 +/* 80282574 0027F4D4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282578 0027F4D8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028257C 0027F4DC 38 85 FF FC */ addi r4, r5, -4 +/* 80282580 0027F4E0 D0 06 FF FC */ stfs f0, -4(r6) +/* 80282584 0027F4E4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282588 0027F4E8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028258C 0027F4EC 38 85 FF FB */ addi r4, r5, -5 +/* 80282590 0027F4F0 D0 06 FF F8 */ stfs f0, -8(r6) +/* 80282594 0027F4F4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282598 0027F4F8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028259C 0027F4FC 38 85 FF FA */ addi r4, r5, -6 +/* 802825A0 0027F500 D0 06 FF F4 */ stfs f0, -0xc(r6) +/* 802825A4 0027F504 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825A8 0027F508 54 80 10 3A */ slwi r0, r4, 2 +/* 802825AC 0027F50C 38 85 FF F9 */ addi r4, r5, -7 +/* 802825B0 0027F510 D0 06 FF F0 */ stfs f0, -0x10(r6) +/* 802825B4 0027F514 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825B8 0027F518 54 80 10 3A */ slwi r0, r4, 2 +/* 802825BC 0027F51C 38 85 FF F8 */ addi r4, r5, -8 +/* 802825C0 0027F520 38 A5 FF F8 */ addi r5, r5, -8 +/* 802825C4 0027F524 D0 06 FF EC */ stfs f0, -0x14(r6) +/* 802825C8 0027F528 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825CC 0027F52C 54 80 10 3A */ slwi r0, r4, 2 +/* 802825D0 0027F530 D0 06 FF E8 */ stfs f0, -0x18(r6) +/* 802825D4 0027F534 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825D8 0027F538 D0 06 FF E4 */ stfs f0, -0x1c(r6) +/* 802825DC 0027F53C 38 C6 FF E0 */ addi r6, r6, -32 +/* 802825E0 0027F540 42 00 FF 78 */ bdnz lbl_80282558 +/* 802825E4 0027F544 70 63 00 07 */ andi. r3, r3, 7 +/* 802825E8 0027F548 41 82 00 24 */ beq lbl_8028260C +lbl_802825EC: +/* 802825EC 0027F54C 7C 69 03 A6 */ mtctr r3 +lbl_802825F0: +/* 802825F0 0027F550 38 85 FF FF */ addi r4, r5, -1 +/* 802825F4 0027F554 38 A5 FF FF */ addi r5, r5, -1 +/* 802825F8 0027F558 54 80 10 3A */ slwi r0, r4, 2 +/* 802825FC 0027F55C 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282600 0027F560 D0 06 00 00 */ stfs f0, 0(r6) +/* 80282604 0027F564 38 C6 FF FC */ addi r6, r6, -4 +/* 80282608 0027F568 42 00 FF E8 */ bdnz lbl_802825F0 +lbl_8028260C: +/* 8028260C 0027F56C C0 1C 05 88 */ lfs f0, 0x588(r28) +/* 80282610 0027F570 2C 1E 00 03 */ cmpwi r30, 3 +/* 80282614 0027F574 D0 07 00 00 */ stfs f0, 0(r7) +/* 80282618 0027F578 41 82 00 14 */ beq lbl_8028262C +/* 8028261C 0027F57C 40 80 03 40 */ bge lbl_8028295C +/* 80282620 0027F580 2C 1E 00 02 */ cmpwi r30, 2 +/* 80282624 0027F584 40 80 01 F0 */ bge lbl_80282814 +/* 80282628 0027F588 48 00 03 34 */ b lbl_8028295C +lbl_8028262C: +/* 8028262C 0027F58C 7F 84 E3 78 */ mr r4, r28 +/* 80282630 0027F590 38 61 01 48 */ addi r3, r1, 0x148 +/* 80282634 0027F594 81 9C 00 00 */ lwz r12, 0(r28) +/* 80282638 0027F598 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8028263C 0027F59C 7D 89 03 A6 */ mtctr r12 +/* 80282640 0027F5A0 4E 80 04 21 */ bctrl +/* 80282644 0027F5A4 7F 83 E3 78 */ mr r3, r28 +/* 80282648 0027F5A8 81 9C 00 00 */ lwz r12, 0(r28) +/* 8028264C 0027F5AC 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 80282650 0027F5B0 7D 89 03 A6 */ mtctr r12 +/* 80282654 0027F5B4 4E 80 04 21 */ bctrl +/* 80282658 0027F5B8 7C 64 1B 78 */ mr r4, r3 +/* 8028265C 0027F5BC 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80282660 0027F5C0 81 84 00 00 */ lwz r12, 0(r4) +/* 80282664 0027F5C4 38 A1 01 48 */ addi r5, r1, 0x148 +/* 80282668 0027F5C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8028266C 0027F5CC 7D 89 03 A6 */ mtctr r12 +/* 80282670 0027F5D0 4E 80 04 21 */ bctrl +/* 80282674 0027F5D4 C0 A1 00 A8 */ lfs f5, 0xa8(r1) +/* 80282678 0027F5D8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8028267C 0027F5DC C0 81 00 AC */ lfs f4, 0xac(r1) +/* 80282680 0027F5E0 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80282684 0027F5E4 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80282688 0027F5E8 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 8028268C 0027F5EC C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 80282690 0027F5F0 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80282694 0027F5F4 D0 A1 00 F8 */ stfs f5, 0xf8(r1) +/* 80282698 0027F5F8 D0 81 00 FC */ stfs f4, 0xfc(r1) +/* 8028269C 0027F5FC D0 61 01 00 */ stfs f3, 0x100(r1) +/* 802826A0 0027F600 D0 41 01 04 */ stfs f2, 0x104(r1) +/* 802826A4 0027F604 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 802826A8 0027F608 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 802826AC 0027F60C 48 0B 4F 61 */ bl GetCenterPoint__6CAABoxCFv +/* 802826B0 0027F610 7F 83 E3 78 */ mr r3, r28 +/* 802826B4 0027F614 4B E9 8C 01 */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 802826B8 0027F618 4B D9 8E 7D */ bl Identity__10CAxisAngleFv +/* 802826BC 0027F61C 7C 64 1B 78 */ mr r4, r3 +/* 802826C0 0027F620 7F 83 E3 78 */ mr r3, r28 +/* 802826C4 0027F624 4B E9 85 39 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 802826C8 0027F628 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 802826CC 0027F62C 3B 20 00 00 */ li r25, 0 +/* 802826D0 0027F630 4B D8 82 31 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 802826D4 0027F634 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802826D8 0027F638 41 82 00 08 */ beq lbl_802826E0 +/* 802826DC 0027F63C 3B 20 00 01 */ li r25, 1 +lbl_802826E0: +/* 802826E0 0027F640 C0 3C 05 74 */ lfs f1, 0x574(r28) +/* 802826E4 0027F644 C0 1C 05 78 */ lfs f0, 0x578(r28) +/* 802826E8 0027F648 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802826EC 0027F64C 4C 41 13 82 */ cror 2, 1, 2 +/* 802826F0 0027F650 41 82 00 0C */ beq lbl_802826FC +/* 802826F4 0027F654 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802826F8 0027F658 41 82 02 64 */ beq lbl_8028295C +lbl_802826FC: +/* 802826FC 0027F65C C0 3C 08 24 */ lfs f1, 0x824(r28) +/* 80282700 0027F660 C0 02 BD 78 */ lfs f0, lbl_805ADA98@sda21(r2) +/* 80282704 0027F664 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282708 0027F668 40 80 00 0C */ bge lbl_80282714 +/* 8028270C 0027F66C 38 62 BD 78 */ addi r3, r2, lbl_805ADA98@sda21 +/* 80282710 0027F670 48 00 00 08 */ b lbl_80282718 +lbl_80282714: +/* 80282714 0027F674 38 7C 08 24 */ addi r3, r28, 0x824 +lbl_80282718: +/* 80282718 0027F678 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028271C 0027F67C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80282720 0027F680 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80282724 0027F684 7F 83 E3 78 */ mr r3, r28 +/* 80282728 0027F688 D0 1C 08 24 */ stfs f0, 0x824(r28) +/* 8028272C 0027F68C 7F A4 EB 78 */ mr r4, r29 +/* 80282730 0027F690 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80282734 0027F694 C0 46 00 00 */ lfs f2, 0(r6) +/* 80282738 0027F698 C0 26 00 04 */ lfs f1, 4(r6) +/* 8028273C 0027F69C C0 06 00 08 */ lfs f0, 8(r6) +/* 80282740 0027F6A0 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80282744 0027F6A4 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80282748 0027F6A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8028274C 0027F6AC 4B D9 03 49 */ bl CanLeaveMorphBallState__7CPlayerCFR13CStateManagerR9CVector3f +/* 80282750 0027F6B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80282754 0027F6B4 41 82 00 9C */ beq lbl_802827F0 +/* 80282758 0027F6B8 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8028275C 0027F6BC 7F 83 E3 78 */ mr r3, r28 +/* 80282760 0027F6C0 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80282764 0027F6C4 38 81 00 68 */ addi r4, r1, 0x68 +/* 80282768 0027F6C8 C0 7C 00 60 */ lfs f3, 0x60(r28) +/* 8028276C 0027F6CC C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 80282770 0027F6D0 EC 81 00 2A */ fadds f4, f1, f0 +/* 80282774 0027F6D4 C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 80282778 0027F6D8 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 8028277C 0027F6DC EC 43 10 2A */ fadds f2, f3, f2 +/* 80282780 0027F6E0 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80282784 0027F6E4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80282788 0027F6E8 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8028278C 0027F6EC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80282790 0027F6F0 4B DD 06 FD */ bl SetTranslation__6CActorFRC9CVector3f +/* 80282794 0027F6F4 7F 83 E3 78 */ mr r3, r28 +/* 80282798 0027F6F8 7F A4 EB 78 */ mr r4, r29 +/* 8028279C 0027F6FC 48 00 05 81 */ bl LeaveMorphBallState__7CPlayerFR13CStateManager +/* 802827A0 0027F700 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802827A4 0027F704 38 80 00 00 */ li r4, 0 +/* 802827A8 0027F708 38 00 00 03 */ li r0, 3 +/* 802827AC 0027F70C 98 81 00 30 */ stb r4, 0x30(r1) +/* 802827B0 0027F710 FC 40 08 90 */ fmr f2, f1 +/* 802827B4 0027F714 38 61 00 34 */ addi r3, r1, 0x34 +/* 802827B8 0027F718 FC 60 08 90 */ fmr f3, f1 +/* 802827BC 0027F71C 98 81 00 31 */ stb r4, 0x31(r1) +/* 802827C0 0027F720 FC 80 08 90 */ fmr f4, f1 +/* 802827C4 0027F724 B0 01 00 32 */ sth r0, 0x32(r1) +/* 802827C8 0027F728 48 0E 0C 25 */ bl __ct__6CColorFffff +/* 802827CC 0027F72C 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802827D0 0027F730 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802827D4 0027F734 88 01 00 31 */ lbz r0, 0x31(r1) +/* 802827D8 0027F738 98 1C 00 B5 */ stb r0, 0xb5(r28) +/* 802827DC 0027F73C A0 01 00 32 */ lhz r0, 0x32(r1) +/* 802827E0 0027F740 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 802827E4 0027F744 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802827E8 0027F748 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 802827EC 0027F74C 48 00 01 70 */ b lbl_8028295C +lbl_802827F0: +/* 802827F0 0027F750 C0 5C 05 78 */ lfs f2, 0x578(r28) +/* 802827F4 0027F754 FC 20 F8 90 */ fmr f1, f31 +/* 802827F8 0027F758 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 802827FC 0027F75C 7F 83 E3 78 */ mr r3, r28 +/* 80282800 0027F760 7F A4 EB 78 */ mr r4, r29 +/* 80282804 0027F764 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80282808 0027F768 D0 1C 05 74 */ stfs f0, 0x574(r28) +/* 8028280C 0027F76C 48 00 11 41 */ bl TransitionToMorphBallState__7CPlayerFfR13CStateManager +/* 80282810 0027F770 48 00 01 4C */ b lbl_8028295C +lbl_80282814: +/* 80282814 0027F774 7F 83 E3 78 */ mr r3, r28 +/* 80282818 0027F778 4B E9 8A 9D */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 8028281C 0027F77C 4B D9 8D 19 */ bl Identity__10CAxisAngleFv +/* 80282820 0027F780 7C 64 1B 78 */ mr r4, r3 +/* 80282824 0027F784 7F 83 E3 78 */ mr r3, r28 +/* 80282828 0027F788 4B E9 83 D5 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 8028282C 0027F78C 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80282830 0027F790 3B 20 00 00 */ li r25, 0 +/* 80282834 0027F794 4B D8 80 CD */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80282838 0027F798 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028283C 0027F79C 41 82 00 08 */ beq lbl_80282844 +/* 80282840 0027F7A0 3B 20 00 01 */ li r25, 1 +lbl_80282844: +/* 80282844 0027F7A4 C0 3C 05 74 */ lfs f1, 0x574(r28) +/* 80282848 0027F7A8 C0 1C 05 78 */ lfs f0, 0x578(r28) +/* 8028284C 0027F7AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282850 0027F7B0 4C 41 13 82 */ cror 2, 1, 2 +/* 80282854 0027F7B4 41 82 00 0C */ beq lbl_80282860 +/* 80282858 0027F7B8 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8028285C 0027F7BC 41 82 00 A4 */ beq lbl_80282900 +lbl_80282860: +/* 80282860 0027F7C0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282864 0027F7C4 7F 83 E3 78 */ mr r3, r28 +/* 80282868 0027F7C8 7F A4 EB 78 */ mr r4, r29 +/* 8028286C 0027F7CC 4B D9 06 91 */ bl CanEnterMorphBallState__7CPlayerCFR13CStateManagerf +/* 80282870 0027F7D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80282874 0027F7D4 41 82 00 6C */ beq lbl_802828E0 +/* 80282878 0027F7D8 7F 83 E3 78 */ mr r3, r28 +/* 8028287C 0027F7DC 7F A4 EB 78 */ mr r4, r29 +/* 80282880 0027F7E0 48 00 07 AD */ bl ActivateMorphBallCamera__7CPlayerFR13CStateManager +/* 80282884 0027F7E4 7F 83 E3 78 */ mr r3, r28 +/* 80282888 0027F7E8 7F A4 EB 78 */ mr r4, r29 +/* 8028288C 0027F7EC 48 00 06 65 */ bl EnterMorphBallState__7CPlayerFR13CStateManager +/* 80282890 0027F7F0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282894 0027F7F4 38 80 00 00 */ li r4, 0 +/* 80282898 0027F7F8 38 00 00 03 */ li r0, 3 +/* 8028289C 0027F7FC 98 81 00 28 */ stb r4, 0x28(r1) +/* 802828A0 0027F800 FC 40 08 90 */ fmr f2, f1 +/* 802828A4 0027F804 38 61 00 2C */ addi r3, r1, 0x2c +/* 802828A8 0027F808 FC 60 08 90 */ fmr f3, f1 +/* 802828AC 0027F80C 98 81 00 29 */ stb r4, 0x29(r1) +/* 802828B0 0027F810 FC 80 08 90 */ fmr f4, f1 +/* 802828B4 0027F814 B0 01 00 2A */ sth r0, 0x2a(r1) +/* 802828B8 0027F818 48 0E 0B 35 */ bl __ct__6CColorFffff +/* 802828BC 0027F81C 88 01 00 28 */ lbz r0, 0x28(r1) +/* 802828C0 0027F820 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802828C4 0027F824 88 01 00 29 */ lbz r0, 0x29(r1) +/* 802828C8 0027F828 98 1C 00 B5 */ stb r0, 0xb5(r28) +/* 802828CC 0027F82C A0 01 00 2A */ lhz r0, 0x2a(r1) +/* 802828D0 0027F830 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 802828D4 0027F834 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802828D8 0027F838 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 802828DC 0027F83C 48 00 00 24 */ b lbl_80282900 +lbl_802828E0: +/* 802828E0 0027F840 C0 5C 05 78 */ lfs f2, 0x578(r28) +/* 802828E4 0027F844 FC 20 F8 90 */ fmr f1, f31 +/* 802828E8 0027F848 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 802828EC 0027F84C 7F 83 E3 78 */ mr r3, r28 +/* 802828F0 0027F850 7F A4 EB 78 */ mr r4, r29 +/* 802828F4 0027F854 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802828F8 0027F858 D0 1C 05 74 */ stfs f0, 0x574(r28) +/* 802828FC 0027F85C 48 00 07 79 */ bl TransitionFromMorphBallState__7CPlayerFR13CStateManager +lbl_80282900: +/* 80282900 0027F860 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282904 0027F864 C0 5C 05 78 */ lfs f2, 0x578(r28) +/* 80282908 0027F868 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 8028290C 0027F86C 40 82 00 08 */ bne lbl_80282914 +/* 80282910 0027F870 48 00 00 24 */ b lbl_80282934 +lbl_80282914: +/* 80282914 0027F874 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 80282918 0027F878 38 81 00 0C */ addi r4, r1, 0xc +/* 8028291C 0027F87C 38 6D 99 28 */ addi r3, r13, lbl_805A84E8@sda21 +/* 80282920 0027F880 38 AD 99 2C */ addi r5, r13, lbl_805A84EC@sda21 +/* 80282924 0027F884 EC 00 10 24 */ fdivs f0, f0, f2 +/* 80282928 0027F888 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8028292C 0027F88C 4B D8 99 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80282930 0027F890 C0 23 00 00 */ lfs f1, 0(r3) +lbl_80282934: +/* 80282934 0027F894 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80282938 0027F898 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028293C 0027F89C 4C 41 13 82 */ cror 2, 1, 2 +/* 80282940 0027F8A0 40 82 00 1C */ bne lbl_8028295C +/* 80282944 0027F8A4 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282948 0027F8A8 4B E6 F6 65 */ bl IsMorphBallTransitionFlashValid__10CMorphBallCFv +/* 8028294C 0027F8AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80282950 0027F8B0 40 82 00 0C */ bne lbl_8028295C +/* 80282954 0027F8B4 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282958 0027F8B8 4B E6 F8 C9 */ bl ResetMorphBallTransitionFlash__10CMorphBallFv +lbl_8028295C: +/* 8028295C 0027F8BC E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 +/* 80282960 0027F8C0 CB E1 02 60 */ lfd f31, 0x260(r1) +/* 80282964 0027F8C4 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 +/* 80282968 0027F8C8 CB C1 02 50 */ lfd f30, 0x250(r1) +/* 8028296C 0027F8CC E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 +/* 80282970 0027F8D0 CB A1 02 40 */ lfd f29, 0x240(r1) +/* 80282974 0027F8D4 BB 21 02 24 */ lmw r25, 0x224(r1) +/* 80282978 0027F8D8 80 01 02 74 */ lwz r0, 0x274(r1) +/* 8028297C 0027F8DC 7C 08 03 A6 */ mtlr r0 +/* 80282980 0027F8E0 38 21 02 70 */ addi r1, r1, 0x270 +/* 80282984 0027F8E4 4E 80 00 20 */ blr + +.global sub_80282988 +sub_80282988: +/* 80282988 0027F8E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028298C 0027F8EC 7C 08 02 A6 */ mflr r0 +/* 80282990 0027F8F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80282994 0027F8F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80282998 0027F8F8 7C 7F 1B 78 */ mr r31, r3 +/* 8028299C 0027F8FC 80 C5 00 00 */ lwz r6, 0(r5) +/* 802829A0 0027F900 80 05 00 00 */ lwz r0, 0(r5) +/* 802829A4 0027F904 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802829A8 0027F908 38 E6 00 08 */ addi r7, r6, 8 +/* 802829AC 0027F90C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802829B0 0027F910 90 E1 00 08 */ stw r7, 8(r1) +/* 802829B4 0027F914 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802829B8 0027F918 90 01 00 10 */ stw r0, 0x10(r1) +/* 802829BC 0027F91C 48 00 00 19 */ bl "erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 802829C0 0027F920 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802829C4 0027F924 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802829C8 0027F928 7C 08 03 A6 */ mtlr r0 +/* 802829CC 0027F92C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802829D0 0027F930 4E 80 00 20 */ blr + +.global "erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 802829D4 0027F934 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802829D8 0027F938 7C 08 02 A6 */ mflr r0 +/* 802829DC 0027F93C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802829E0 0027F940 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802829E4 0027F944 7C BF 2B 78 */ mr r31, r5 +/* 802829E8 0027F948 7C D9 33 78 */ mr r25, r6 +/* 802829EC 0027F94C 7C 7D 1B 78 */ mr r29, r3 +/* 802829F0 0027F950 7C 9E 23 78 */ mr r30, r4 +/* 802829F4 0027F954 83 65 00 00 */ lwz r27, 0(r5) +/* 802829F8 0027F958 83 86 00 00 */ lwz r28, 0(r6) +/* 802829FC 0027F95C 93 61 00 0C */ stw r27, 0xc(r1) +/* 80282A00 0027F960 93 81 00 08 */ stw r28, 8(r1) +/* 80282A04 0027F964 48 00 00 28 */ b lbl_80282A2C +lbl_80282A08: +/* 80282A08 0027F968 28 1B 00 00 */ cmplwi r27, 0 +/* 80282A0C 0027F96C 41 82 00 1C */ beq lbl_80282A28 +/* 80282A10 0027F970 88 1B 00 00 */ lbz r0, 0(r27) +/* 80282A14 0027F974 28 00 00 00 */ cmplwi r0, 0 +/* 80282A18 0027F978 41 82 00 10 */ beq lbl_80282A28 +/* 80282A1C 0027F97C 80 7B 00 04 */ lwz r3, 4(r27) +/* 80282A20 0027F980 38 80 00 01 */ li r4, 1 +/* 80282A24 0027F984 4B E9 40 29 */ bl __dt__10CModelDataFv +lbl_80282A28: +/* 80282A28 0027F988 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80282A2C: +/* 80282A2C 0027F98C 7C 1B E0 40 */ cmplw r27, r28 +/* 80282A30 0027F990 40 82 FF D8 */ bne lbl_80282A08 +/* 80282A34 0027F994 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80282A38 0027F998 3B 80 00 00 */ li r28, 0 +/* 80282A3C 0027F99C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80282A40 0027F9A0 83 79 00 00 */ lwz r27, 0(r25) +/* 80282A44 0027F9A4 7C 04 00 50 */ subf r0, r4, r0 +/* 80282A48 0027F9A8 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80282A4C 0027F9AC 7C 60 01 94 */ addze r3, r0 +/* 80282A50 0027F9B0 54 60 18 38 */ slwi r0, r3, 3 +/* 80282A54 0027F9B4 7C 79 1B 78 */ mr r25, r3 +/* 80282A58 0027F9B8 7F 44 02 14 */ add r26, r4, r0 +/* 80282A5C 0027F9BC 48 00 00 4C */ b lbl_80282AA8 +lbl_80282A60: +/* 80282A60 0027F9C0 28 1A 00 00 */ cmplwi r26, 0 +/* 80282A64 0027F9C4 41 82 00 18 */ beq lbl_80282A7C +/* 80282A68 0027F9C8 88 1B 00 00 */ lbz r0, 0(r27) +/* 80282A6C 0027F9CC 98 1A 00 00 */ stb r0, 0(r26) +/* 80282A70 0027F9D0 80 1B 00 04 */ lwz r0, 4(r27) +/* 80282A74 0027F9D4 90 1A 00 04 */ stw r0, 4(r26) +/* 80282A78 0027F9D8 9B 9B 00 00 */ stb r28, 0(r27) +lbl_80282A7C: +/* 80282A7C 0027F9DC 28 1B 00 00 */ cmplwi r27, 0 +/* 80282A80 0027F9E0 41 82 00 1C */ beq lbl_80282A9C +/* 80282A84 0027F9E4 88 1B 00 00 */ lbz r0, 0(r27) +/* 80282A88 0027F9E8 28 00 00 00 */ cmplwi r0, 0 +/* 80282A8C 0027F9EC 41 82 00 10 */ beq lbl_80282A9C +/* 80282A90 0027F9F0 80 7B 00 04 */ lwz r3, 4(r27) +/* 80282A94 0027F9F4 38 80 00 01 */ li r4, 1 +/* 80282A98 0027F9F8 4B E9 3F B5 */ bl __dt__10CModelDataFv +lbl_80282A9C: +/* 80282A9C 0027F9FC 3B 5A 00 08 */ addi r26, r26, 8 +/* 80282AA0 0027FA00 3B 39 00 01 */ addi r25, r25, 1 +/* 80282AA4 0027FA04 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80282AA8: +/* 80282AA8 0027FA08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80282AAC 0027FA0C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80282AB0 0027FA10 54 00 18 38 */ slwi r0, r0, 3 +/* 80282AB4 0027FA14 7C 03 02 14 */ add r0, r3, r0 +/* 80282AB8 0027FA18 7C 1B 00 40 */ cmplw r27, r0 +/* 80282ABC 0027FA1C 40 82 FF A4 */ bne lbl_80282A60 +/* 80282AC0 0027FA20 93 3E 00 04 */ stw r25, 4(r30) +/* 80282AC4 0027FA24 80 1F 00 00 */ lwz r0, 0(r31) +/* 80282AC8 0027FA28 90 1D 00 00 */ stw r0, 0(r29) +/* 80282ACC 0027FA2C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80282AD0 0027FA30 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80282AD4 0027FA34 7C 08 03 A6 */ mtlr r0 +/* 80282AD8 0027FA38 38 21 00 30 */ addi r1, r1, 0x30 +/* 80282ADC 0027FA3C 4E 80 00 20 */ blr + +.global Clone__11IAnimReaderCFv +Clone__11IAnimReaderCFv: +/* 80282AE0 0027FA40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80282AE4 0027FA44 7C 08 02 A6 */ mflr r0 +/* 80282AE8 0027FA48 90 01 00 14 */ stw r0, 0x14(r1) +/* 80282AEC 0027FA4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80282AF0 0027FA50 7C 7F 1B 78 */ mr r31, r3 +/* 80282AF4 0027FA54 81 84 00 00 */ lwz r12, 0(r4) +/* 80282AF8 0027FA58 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80282AFC 0027FA5C 7D 89 03 A6 */ mtctr r12 +/* 80282B00 0027FA60 4E 80 04 21 */ bctrl +/* 80282B04 0027FA64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80282B08 0027FA68 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80282B0C 0027FA6C 7C 08 03 A6 */ mtlr r0 +/* 80282B10 0027FA70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80282B14 0027FA74 4E 80 00 20 */ blr + +.global UpdateTransitionFilter__7CPlayerFfR13CStateManager +UpdateTransitionFilter__7CPlayerFfR13CStateManager: +/* 80282B18 0027FA78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80282B1C 0027FA7C 7C 08 02 A6 */ mflr r0 +/* 80282B20 0027FA80 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80282B24 0027FA84 38 A4 0C E8 */ addi r5, r4, 0xce8 +/* 80282B28 0027FA88 90 01 00 14 */ stw r0, 0x14(r1) +/* 80282B2C 0027FA8C C0 03 08 24 */ lfs f0, 0x824(r3) +/* 80282B30 0027FA90 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80282B34 0027FA94 4C 40 13 82 */ cror 2, 0, 2 +/* 80282B38 0027FA98 40 82 00 14 */ bne lbl_80282B4C +/* 80282B3C 0027FA9C FC 20 10 90 */ fmr f1, f2 +/* 80282B40 0027FAA0 7C A3 2B 78 */ mr r3, r5 +/* 80282B44 0027FAA4 4B E6 A8 25 */ bl DisableFilter__17CCameraFilterPassFf +/* 80282B48 0027FAA8 48 00 01 30 */ b lbl_80282C78 +lbl_80282B4C: +/* 80282B4C 0027FAAC EC 20 08 2A */ fadds f1, f0, f1 +/* 80282B50 0027FAB0 C0 02 BD A4 */ lfs f0, lbl_805ADAC4@sda21(r2) +/* 80282B54 0027FAB4 D0 23 08 24 */ stfs f1, 0x824(r3) +/* 80282B58 0027FAB8 C0 23 08 24 */ lfs f1, 0x824(r3) +/* 80282B5C 0027FABC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282B60 0027FAC0 40 81 00 18 */ ble lbl_80282B78 +/* 80282B64 0027FAC4 FC 20 10 90 */ fmr f1, f2 +/* 80282B68 0027FAC8 D0 43 08 24 */ stfs f2, 0x824(r3) +/* 80282B6C 0027FACC 7C A3 2B 78 */ mr r3, r5 +/* 80282B70 0027FAD0 4B E6 A7 F9 */ bl DisableFilter__17CCameraFilterPassFf +/* 80282B74 0027FAD4 48 00 01 04 */ b lbl_80282C78 +lbl_80282B78: +/* 80282B78 0027FAD8 C0 02 BD A8 */ lfs f0, lbl_805ADAC8@sda21(r2) +/* 80282B7C 0027FADC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282B80 0027FAE0 41 80 00 F8 */ blt lbl_80282C78 +/* 80282B84 0027FAE4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80282B88 0027FAE8 38 80 00 FF */ li r4, 0xff +/* 80282B8C 0027FAEC C0 42 BD AC */ lfs f2, lbl_805ADACC@sda21(r2) +/* 80282B90 0027FAF0 38 60 00 DF */ li r3, 0xdf +/* 80282B94 0027FAF4 38 00 00 89 */ li r0, 0x89 +/* 80282B98 0027FAF8 98 81 00 0C */ stb r4, 0xc(r1) +/* 80282B9C 0027FAFC FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 80282BA0 0027FB00 98 61 00 0D */ stb r3, 0xd(r1) +/* 80282BA4 0027FB04 98 01 00 0E */ stb r0, 0xe(r1) +/* 80282BA8 0027FB08 98 81 00 0F */ stb r4, 0xf(r1) +/* 80282BAC 0027FB0C 40 80 00 30 */ bge lbl_80282BDC +/* 80282BB0 0027FB10 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) +/* 80282BB4 0027FB14 C0 22 BD B0 */ lfs f1, lbl_805ADAD0@sda21(r2) +/* 80282BB8 0027FB18 EC 00 01 32 */ fmuls f0, f0, f4 +/* 80282BBC 0027FB1C EC 00 10 24 */ fdivs f0, f0, f2 +/* 80282BC0 0027FB20 EC 61 00 32 */ fmuls f3, f1, f0 +/* 80282BC4 0027FB24 F0 61 A0 0A */ psq_st f3, 10(r1), 1, qr2 +/* 80282BC8 0027FB28 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80282BCC 0027FB2C 88 01 00 0A */ lbz r0, 0xa(r1) +/* 80282BD0 0027FB30 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80282BD4 0027FB34 90 01 00 0C */ stw r0, 0xc(r1) +/* 80282BD8 0027FB38 48 00 00 84 */ b lbl_80282C5C +lbl_80282BDC: +/* 80282BDC 0027FB3C C0 42 BD B8 */ lfs f2, lbl_805ADAD8@sda21(r2) +/* 80282BE0 0027FB40 FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 80282BE4 0027FB44 4C 41 13 82 */ cror 2, 1, 2 +/* 80282BE8 0027FB48 40 82 00 5C */ bne lbl_80282C44 +/* 80282BEC 0027FB4C EC 24 10 28 */ fsubs f1, f4, f2 +/* 80282BF0 0027FB50 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80282BF4 0027FB54 EC 41 10 24 */ fdivs f2, f1, f2 +/* 80282BF8 0027FB58 FC 20 12 10 */ fabs f1, f2 +/* 80282BFC 0027FB5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282C00 0027FB60 40 81 00 14 */ ble lbl_80282C14 +/* 80282C04 0027FB64 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80282C08 0027FB68 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282C0C 0027FB6C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80282C10 0027FB70 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80282C14: +/* 80282C14 0027FB74 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80282C18 0027FB78 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) +/* 80282C1C 0027FB7C EC 00 10 28 */ fsubs f0, f0, f2 +/* 80282C20 0027FB80 C0 42 BD B0 */ lfs f2, lbl_805ADAD0@sda21(r2) +/* 80282C24 0027FB84 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80282C28 0027FB88 EC 62 00 32 */ fmuls f3, f2, f0 +/* 80282C2C 0027FB8C F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 +/* 80282C30 0027FB90 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80282C34 0027FB94 88 01 00 09 */ lbz r0, 9(r1) +/* 80282C38 0027FB98 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80282C3C 0027FB9C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80282C40 0027FBA0 48 00 00 1C */ b lbl_80282C5C +lbl_80282C44: +/* 80282C44 0027FBA4 C0 62 BD CC */ lfs f3, lbl_805ADAEC@sda21(r2) +/* 80282C48 0027FBA8 F0 61 A0 08 */ psq_st f3, 8(r1), 1, qr2 +/* 80282C4C 0027FBAC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80282C50 0027FBB0 88 01 00 08 */ lbz r0, 8(r1) +/* 80282C54 0027FBB4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80282C58 0027FBB8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80282C5C: +/* 80282C5C 0027FBBC C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282C60 0027FBC0 7C A3 2B 78 */ mr r3, r5 +/* 80282C64 0027FBC4 38 C1 00 0C */ addi r6, r1, 0xc +/* 80282C68 0027FBC8 38 80 00 03 */ li r4, 3 +/* 80282C6C 0027FBCC 38 A0 00 05 */ li r5, 5 +/* 80282C70 0027FBD0 38 E0 FF FF */ li r7, -1 +/* 80282C74 0027FBD4 4B E6 A7 2D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +lbl_80282C78: +/* 80282C78 0027FBD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80282C7C 0027FBDC 7C 08 03 A6 */ mtlr r0 +/* 80282C80 0027FBE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80282C84 0027FBE4 4E 80 00 20 */ blr + +.global InitializeBallTransition__7CPlayerFv +InitializeBallTransition__7CPlayerFv: +/* 80282C88 0027FBE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80282C8C 0027FBEC 7C 08 02 A6 */ mflr r0 +/* 80282C90 0027FBF0 38 80 00 00 */ li r4, 0 +/* 80282C94 0027FBF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80282C98 0027FBF8 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 80282C9C 0027FBFC 28 05 00 00 */ cmplwi r5, 0 +/* 80282CA0 0027FC00 41 82 00 14 */ beq lbl_80282CB4 +/* 80282CA4 0027FC04 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80282CA8 0027FC08 28 00 00 00 */ cmplwi r0, 0 +/* 80282CAC 0027FC0C 41 82 00 08 */ beq lbl_80282CB4 +/* 80282CB0 0027FC10 38 80 00 01 */ li r4, 1 +lbl_80282CB4: +/* 80282CB4 0027FC14 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80282CB8 0027FC18 41 82 00 54 */ beq lbl_80282D0C +/* 80282CBC 0027FC1C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80282CC0 0027FC20 38 00 00 00 */ li r0, 0 +/* 80282CC4 0027FC24 38 80 00 02 */ li r4, 2 +/* 80282CC8 0027FC28 38 E0 FF FF */ li r7, -1 +/* 80282CCC 0027FC2C 38 C0 00 01 */ li r6, 1 +/* 80282CD0 0027FC30 90 81 00 08 */ stw r4, 8(r1) +/* 80282CD4 0027FC34 38 81 00 08 */ addi r4, r1, 8 +/* 80282CD8 0027FC38 38 A0 00 00 */ li r5, 0 +/* 80282CDC 0027FC3C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80282CE0 0027FC40 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80282CE4 0027FC44 98 C1 00 14 */ stb r6, 0x14(r1) +/* 80282CE8 0027FC48 90 01 00 18 */ stw r0, 0x18(r1) +/* 80282CEC 0027FC4C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80282CF0 0027FC50 98 01 00 20 */ stb r0, 0x20(r1) +/* 80282CF4 0027FC54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80282CF8 0027FC58 90 01 00 28 */ stw r0, 0x28(r1) +/* 80282CFC 0027FC5C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80282D00 0027FC60 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80282D04 0027FC64 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80282D08 0027FC68 4B DA A0 75 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +lbl_80282D0C: +/* 80282D0C 0027FC6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80282D10 0027FC70 7C 08 03 A6 */ mtlr r0 +/* 80282D14 0027FC74 38 21 00 30 */ addi r1, r1, 0x30 +/* 80282D18 0027FC78 4E 80 00 20 */ blr + +.global LeaveMorphBallState__7CPlayerFR13CStateManager +LeaveMorphBallState__7CPlayerFR13CStateManager: +/* 80282D1C 0027FC7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80282D20 0027FC80 7C 08 02 A6 */ mflr r0 +/* 80282D24 0027FC84 90 01 00 34 */ stw r0, 0x34(r1) +/* 80282D28 0027FC88 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80282D2C 0027FC8C 7C 9F 23 78 */ mr r31, r4 +/* 80282D30 0027FC90 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80282D34 0027FC94 7C 7E 1B 78 */ mr r30, r3 +/* 80282D38 0027FC98 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80282D3C 0027FC9C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80282D40 0027FCA0 80 03 07 34 */ lwz r0, 0x734(r3) +/* 80282D44 0027FCA4 83 83 07 3C */ lwz r28, 0x73c(r3) +/* 80282D48 0027FCA8 54 00 18 38 */ slwi r0, r0, 3 +/* 80282D4C 0027FCAC 7F BC 02 14 */ add r29, r28, r0 +/* 80282D50 0027FCB0 93 81 00 14 */ stw r28, 0x14(r1) +/* 80282D54 0027FCB4 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 80282D58 0027FCB8 93 A1 00 18 */ stw r29, 0x18(r1) +/* 80282D5C 0027FCBC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80282D60 0027FCC0 48 00 00 28 */ b lbl_80282D88 +lbl_80282D64: +/* 80282D64 0027FCC4 28 1C 00 00 */ cmplwi r28, 0 +/* 80282D68 0027FCC8 41 82 00 1C */ beq lbl_80282D84 +/* 80282D6C 0027FCCC 88 1C 00 00 */ lbz r0, 0(r28) +/* 80282D70 0027FCD0 28 00 00 00 */ cmplwi r0, 0 +/* 80282D74 0027FCD4 41 82 00 10 */ beq lbl_80282D84 +/* 80282D78 0027FCD8 80 7C 00 04 */ lwz r3, 4(r28) +/* 80282D7C 0027FCDC 38 80 00 01 */ li r4, 1 +/* 80282D80 0027FCE0 4B E9 3C CD */ bl __dt__10CModelDataFv +lbl_80282D84: +/* 80282D84 0027FCE4 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80282D88: +/* 80282D88 0027FCE8 7C 1C E8 40 */ cmplw r28, r29 +/* 80282D8C 0027FCEC 40 82 FF D8 */ bne lbl_80282D64 +/* 80282D90 0027FCF0 38 00 00 00 */ li r0, 0 +/* 80282D94 0027FCF4 7F C3 F3 78 */ mr r3, r30 +/* 80282D98 0027FCF8 90 1E 07 34 */ stw r0, 0x734(r30) +/* 80282D9C 0027FCFC 7F E5 FB 78 */ mr r5, r31 +/* 80282DA0 0027FD00 38 80 00 25 */ li r4, 0x25 +/* 80282DA4 0027FD04 4B DD 15 AD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80282DA8 0027FD08 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80282DAC 0027FD0C 7F C3 F3 78 */ mr r3, r30 +/* 80282DB0 0027FD10 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 80282DB4 0027FD14 7F E5 FB 78 */ mr r5, r31 +/* 80282DB8 0027FD18 C0 06 00 00 */ lfs f0, 0(r6) +/* 80282DBC 0027FD1C 38 80 00 00 */ li r4, 0 +/* 80282DC0 0027FD20 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80282DC4 0027FD24 C0 06 00 04 */ lfs f0, 4(r6) +/* 80282DC8 0027FD28 D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 80282DCC 0027FD2C C0 06 00 08 */ lfs f0, 8(r6) +/* 80282DD0 0027FD30 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 80282DD4 0027FD34 4B D9 4A 11 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80282DD8 0027FD38 C0 22 BD D0 */ lfs f1, lbl_805ADAF0@sda21(r2) +/* 80282DDC 0027FD3C 7F C3 F3 78 */ mr r3, r30 +/* 80282DE0 0027FD40 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80282DE4 0027FD44 C0 62 BD 8C */ lfs f3, lbl_805ADAAC@sda21(r2) +/* 80282DE8 0027FD48 4B D9 02 85 */ bl SetHudDisable__7CPlayerFfff +/* 80282DEC 0027FD4C C0 22 BD D0 */ lfs f1, lbl_805ADAF0@sda21(r2) +/* 80282DF0 0027FD50 7F C3 F3 78 */ mr r3, r30 +/* 80282DF4 0027FD54 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80282DF8 0027FD58 C0 62 BD 8C */ lfs f3, lbl_805ADAAC@sda21(r2) +/* 80282DFC 0027FD5C 4B D9 02 71 */ bl SetHudDisable__7CPlayerFfff +/* 80282E00 0027FD60 7F C3 F3 78 */ mr r3, r30 +/* 80282E04 0027FD64 7F E4 FB 78 */ mr r4, r31 +/* 80282E08 0027FD68 48 00 11 21 */ bl SetIntoBallReadyAnimation__7CPlayerFR13CStateManager +/* 80282E0C 0027FD6C 7F C3 F3 78 */ mr r3, r30 +/* 80282E10 0027FD70 4B E9 85 69 */ bl Stop__13CPhysicsActorFv +/* 80282E14 0027FD74 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80282E18 0027FD78 7F E4 FB 78 */ mr r4, r31 +/* 80282E1C 0027FD7C D0 1E 03 E4 */ stfs f0, 0x3e4(r30) +/* 80282E20 0027FD80 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) +/* 80282E24 0027FD84 D0 1E 03 EC */ stfs f0, 0x3ec(r30) +/* 80282E28 0027FD88 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) +/* 80282E2C 0027FD8C 80 7E 07 68 */ lwz r3, 0x768(r30) +/* 80282E30 0027FD90 4B E7 28 0D */ bl LeaveMorphBallState__10CMorphBallFR13CStateManager +/* 80282E34 0027FD94 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E38 0027FD98 7F E4 FB 78 */ mr r4, r31 +/* 80282E3C 0027FD9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80282E40 0027FDA0 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80282E44 0027FDA4 A0 03 00 08 */ lhz r0, 8(r3) +/* 80282E48 0027FDA8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80282E4C 0027FDAC B0 01 00 08 */ sth r0, 8(r1) +/* 80282E50 0027FDB0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E54 0027FDB4 4B D8 79 F5 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 80282E58 0027FDB8 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E5C 0027FDBC 7F E5 FB 78 */ mr r5, r31 +/* 80282E60 0027FDC0 38 80 00 00 */ li r4, 0 +/* 80282E64 0027FDC4 80 63 00 80 */ lwz r3, 0x80(r3) +/* 80282E68 0027FDC8 4B DF FE 35 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80282E6C 0027FDCC 7F C3 F3 78 */ mr r3, r30 +/* 80282E70 0027FDD0 7F E5 FB 78 */ mr r5, r31 +/* 80282E74 0027FDD4 38 80 00 00 */ li r4, 0 +/* 80282E78 0027FDD8 4B D9 44 25 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 80282E7C 0027FDDC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E80 0027FDE0 38 A0 00 01 */ li r5, 1 +/* 80282E84 0027FDE4 7F E4 FB 78 */ mr r4, r31 +/* 80282E88 0027FDE8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282E8C 0027FDEC 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80282E90 0027FDF0 88 03 01 C6 */ lbz r0, 0x1c6(r3) +/* 80282E94 0027FDF4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80282E98 0027FDF8 98 03 01 C6 */ stb r0, 0x1c6(r3) +/* 80282E9C 0027FDFC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282EA0 0027FE00 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80282EA4 0027FE04 81 83 00 00 */ lwz r12, 0(r3) +/* 80282EA8 0027FE08 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80282EAC 0027FE0C 7D 89 03 A6 */ mtctr r12 +/* 80282EB0 0027FE10 4E 80 04 21 */ bctrl +/* 80282EB4 0027FE14 7F C3 F3 78 */ mr r3, r30 +/* 80282EB8 0027FE18 7F E5 FB 78 */ mr r5, r31 +/* 80282EBC 0027FE1C 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80282EC0 0027FE20 4B D9 60 09 */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager +/* 80282EC4 0027FE24 7F C3 F3 78 */ mr r3, r30 +/* 80282EC8 0027FE28 7F E4 FB 78 */ mr r4, r31 +/* 80282ECC 0027FE2C 4B D9 71 E1 */ bl DrawGun__7CPlayerFR13CStateManager +/* 80282ED0 0027FE30 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80282ED4 0027FE34 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80282ED8 0027FE38 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80282EDC 0027FE3C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80282EE0 0027FE40 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80282EE4 0027FE44 7C 08 03 A6 */ mtlr r0 +/* 80282EE8 0027FE48 38 21 00 30 */ addi r1, r1, 0x30 +/* 80282EEC 0027FE4C 4E 80 00 20 */ blr + +.global EnterMorphBallState__7CPlayerFR13CStateManager +EnterMorphBallState__7CPlayerFR13CStateManager: +/* 80282EF0 0027FE50 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80282EF4 0027FE54 7C 08 02 A6 */ mflr r0 +/* 80282EF8 0027FE58 90 01 00 54 */ stw r0, 0x54(r1) +/* 80282EFC 0027FE5C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80282F00 0027FE60 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80282F04 0027FE64 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80282F08 0027FE68 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80282F0C 0027FE6C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80282F10 0027FE70 93 81 00 30 */ stw r28, 0x30(r1) +/* 80282F14 0027FE74 7C 9D 23 78 */ mr r29, r4 +/* 80282F18 0027FE78 7C 7C 1B 78 */ mr r28, r3 +/* 80282F1C 0027FE7C 7F A5 EB 78 */ mr r5, r29 +/* 80282F20 0027FE80 38 80 00 01 */ li r4, 1 +/* 80282F24 0027FE84 4B D9 48 C1 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80282F28 0027FE88 7F 83 E3 78 */ mr r3, r28 +/* 80282F2C 0027FE8C 7F A5 EB 78 */ mr r5, r29 +/* 80282F30 0027FE90 38 80 00 25 */ li r4, 0x25 +/* 80282F34 0027FE94 4B DD 10 4D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80282F38 0027FE98 80 1C 07 34 */ lwz r0, 0x734(r28) +/* 80282F3C 0027FE9C 83 DC 07 3C */ lwz r30, 0x73c(r28) +/* 80282F40 0027FEA0 54 00 18 38 */ slwi r0, r0, 3 +/* 80282F44 0027FEA4 7F FE 02 14 */ add r31, r30, r0 +/* 80282F48 0027FEA8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80282F4C 0027FEAC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80282F50 0027FEB0 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80282F54 0027FEB4 93 C1 00 08 */ stw r30, 8(r1) +/* 80282F58 0027FEB8 48 00 00 28 */ b lbl_80282F80 +lbl_80282F5C: +/* 80282F5C 0027FEBC 28 1E 00 00 */ cmplwi r30, 0 +/* 80282F60 0027FEC0 41 82 00 1C */ beq lbl_80282F7C +/* 80282F64 0027FEC4 88 1E 00 00 */ lbz r0, 0(r30) +/* 80282F68 0027FEC8 28 00 00 00 */ cmplwi r0, 0 +/* 80282F6C 0027FECC 41 82 00 10 */ beq lbl_80282F7C +/* 80282F70 0027FED0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80282F74 0027FED4 38 80 00 01 */ li r4, 1 +/* 80282F78 0027FED8 4B E9 3A D5 */ bl __dt__10CModelDataFv +lbl_80282F7C: +/* 80282F7C 0027FEDC 3B DE 00 08 */ addi r30, r30, 8 +lbl_80282F80: +/* 80282F80 0027FEE0 7C 1E F8 40 */ cmplw r30, r31 +/* 80282F84 0027FEE4 40 82 FF D8 */ bne lbl_80282F5C +/* 80282F88 0027FEE8 38 00 00 00 */ li r0, 0 +/* 80282F8C 0027FEEC 38 7C 01 38 */ addi r3, r28, 0x138 +/* 80282F90 0027FEF0 90 1C 07 34 */ stw r0, 0x734(r28) +/* 80282F94 0027FEF4 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80282F98 0027FEF8 C3 E4 02 7C */ lfs f31, 0x27c(r4) +/* 80282F9C 0027FEFC 48 09 19 1D */ bl Magnitude__9CVector3fCFv +/* 80282FA0 0027FF00 FC 20 08 50 */ fneg f1, f1 +/* 80282FA4 0027FF04 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80282FA8 0027FF08 38 61 00 24 */ addi r3, r1, 0x24 +/* 80282FAC 0027FF0C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80282FB0 0027FF10 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80282FB4 0027FF14 EC 21 F8 24 */ fdivs f1, f1, f31 +/* 80282FB8 0027FF18 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80282FBC 0027FF1C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80282FC0 0027FF20 4B D9 85 81 */ bl FromVector__10CAxisAngleFRC9CVector3f +/* 80282FC4 0027FF24 7F 83 E3 78 */ mr r3, r28 +/* 80282FC8 0027FF28 38 81 00 24 */ addi r4, r1, 0x24 +/* 80282FCC 0027FF2C 4B E9 7B 11 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +/* 80282FD0 0027FF30 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282FD4 0027FF34 7F A4 EB 78 */ mr r4, r29 +/* 80282FD8 0027FF38 4B E7 26 B1 */ bl EnterMorphBallState__10CMorphBallFR13CStateManager +/* 80282FDC 0027FF3C 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282FE0 0027FF40 C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) +/* 80282FE4 0027FF44 4B E6 BC F9 */ bl TakeDamage__10CMorphBallFf +/* 80282FE8 0027FF48 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282FEC 0027FF4C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282FF0 0027FF50 4B E7 5C A1 */ bl SetDamageTimer__10CMorphBallFf +/* 80282FF4 0027FF54 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80282FF8 0027FF58 38 80 00 00 */ li r4, 0 +/* 80282FFC 0027FF5C 80 63 00 00 */ lwz r3, 0(r3) +/* 80283000 0027FF60 4B E0 E9 55 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +/* 80283004 0027FF64 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80283008 0027FF68 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8028300C 0027FF6C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80283010 0027FF70 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80283014 0027FF74 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80283018 0027FF78 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8028301C 0027FF7C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80283020 0027FF80 7C 08 03 A6 */ mtlr r0 +/* 80283024 0027FF84 38 21 00 50 */ addi r1, r1, 0x50 +/* 80283028 0027FF88 4E 80 00 20 */ blr + +.global ActivateMorphBallCamera__7CPlayerFR13CStateManager +ActivateMorphBallCamera__7CPlayerFR13CStateManager: +/* 8028302C 0027FF8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80283030 0027FF90 7C 08 02 A6 */ mflr r0 +/* 80283034 0027FF94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80283038 0027FF98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028303C 0027FF9C 7C 9F 23 78 */ mr r31, r4 +/* 80283040 0027FFA0 38 80 00 01 */ li r4, 1 +/* 80283044 0027FFA4 7F E5 FB 78 */ mr r5, r31 +/* 80283048 0027FFA8 4B D9 42 55 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 8028304C 0027FFAC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283050 0027FFB0 7F E5 FB 78 */ mr r5, r31 +/* 80283054 0027FFB4 38 80 00 00 */ li r4, 0 +/* 80283058 0027FFB8 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8028305C 0027FFBC 4B DF FC 41 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283060 0027FFC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80283064 0027FFC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80283068 0027FFC8 7C 08 03 A6 */ mtlr r0 +/* 8028306C 0027FFCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80283070 0027FFD0 4E 80 00 20 */ blr + +.global TransitionFromMorphBallState__7CPlayerFR13CStateManager +TransitionFromMorphBallState__7CPlayerFR13CStateManager: +/* 80283074 0027FFD4 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 80283078 0027FFD8 7C 08 02 A6 */ mflr r0 +/* 8028307C 0027FFDC 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 80283080 0027FFE0 DB E1 02 A0 */ stfd f31, 0x2a0(r1) +/* 80283084 0027FFE4 F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 +/* 80283088 0027FFE8 DB C1 02 90 */ stfd f30, 0x290(r1) +/* 8028308C 0027FFEC F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 +/* 80283090 0027FFF0 DB A1 02 80 */ stfd f29, 0x280(r1) +/* 80283094 0027FFF4 F3 A1 02 88 */ psq_st f29, 648(r1), 0, qr0 +/* 80283098 0027FFF8 DB 81 02 70 */ stfd f28, 0x270(r1) +/* 8028309C 0027FFFC F3 81 02 78 */ psq_st f28, 632(r1), 0, qr0 +/* 802830A0 00280000 DB 61 02 60 */ stfd f27, 0x260(r1) +/* 802830A4 00280004 F3 61 02 68 */ psq_st f27, 616(r1), 0, qr0 +/* 802830A8 00280008 DB 41 02 50 */ stfd f26, 0x250(r1) +/* 802830AC 0028000C F3 41 02 58 */ psq_st f26, 600(r1), 0, qr0 +/* 802830B0 00280010 93 E1 02 4C */ stw r31, 0x24c(r1) +/* 802830B4 00280014 93 C1 02 48 */ stw r30, 0x248(r1) +/* 802830B8 00280018 93 A1 02 44 */ stw r29, 0x244(r1) +/* 802830BC 0028001C 7C 7D 1B 78 */ mr r29, r3 +/* 802830C0 00280020 38 00 00 0E */ li r0, 0xe +/* 802830C4 00280024 90 03 05 84 */ stw r0, 0x584(r3) +/* 802830C8 00280028 7C 9E 23 78 */ mr r30, r4 +/* 802830CC 0028002C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802830D0 00280030 C0 3D 01 38 */ lfs f1, 0x138(r29) +/* 802830D4 00280034 C0 5D 01 3C */ lfs f2, 0x13c(r29) +/* 802830D8 00280038 48 09 11 29 */ bl __ct__9CVector2fFff +/* 802830DC 0028003C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802830E0 00280040 48 09 10 15 */ bl Magnitude__9CVector2fCFv +/* 802830E4 00280044 D0 3D 05 8C */ stfs f1, 0x58c(r29) +/* 802830E8 00280048 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802830EC 0028004C C0 3D 05 8C */ lfs f1, 0x58c(r29) +/* 802830F0 00280050 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802830F4 00280054 40 80 00 0C */ bge lbl_80283100 +/* 802830F8 00280058 38 00 00 05 */ li r0, 5 +/* 802830FC 0028005C 90 1D 05 84 */ stw r0, 0x584(r29) +lbl_80283100: +/* 80283100 00280060 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80283104 00280064 2C 00 00 00 */ cmpwi r0, 0 +/* 80283108 00280068 41 82 00 74 */ beq lbl_8028317C +/* 8028310C 0028006C 7F A4 EB 78 */ mr r4, r29 +/* 80283110 00280070 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80283114 00280074 48 00 1C 35 */ bl GetBallPosition__7CPlayerCFv +/* 80283118 00280078 C0 81 00 E0 */ lfs f4, 0xe0(r1) +/* 8028311C 0028007C 3C 60 80 47 */ lis r3, lbl_8046E0D8@ha +/* 80283120 00280080 C0 61 00 E4 */ lfs f3, 0xe4(r1) +/* 80283124 00280084 38 C3 E0 D8 */ addi r6, r3, lbl_8046E0D8@l +/* 80283128 00280088 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028312C 0028008C 7F C3 F3 78 */ mr r3, r30 +/* 80283130 00280090 C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 80283134 00280094 7F A7 EB 78 */ mr r7, r29 +/* 80283138 00280098 EC A3 00 2A */ fadds f5, f3, f0 +/* 8028313C 0028009C C0 22 BD D4 */ lfs f1, lbl_805ADAF4@sda21(r2) +/* 80283140 002800A0 EC 04 00 2A */ fadds f0, f4, f0 +/* 80283144 002800A4 D0 81 01 40 */ stfs f4, 0x140(r1) +/* 80283148 002800A8 EC 22 08 2A */ fadds f1, f2, f1 +/* 8028314C 002800AC 38 81 01 40 */ addi r4, r1, 0x140 +/* 80283150 002800B0 D0 61 01 44 */ stfs f3, 0x144(r1) +/* 80283154 002800B4 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 80283158 002800B8 D0 41 01 48 */ stfs f2, 0x148(r1) +/* 8028315C 002800BC D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 80283160 002800C0 D0 A1 00 D8 */ stfs f5, 0xd8(r1) +/* 80283164 002800C4 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 80283168 002800C8 4B DC 9C D5 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 8028316C 002800CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283170 002800D0 41 82 00 0C */ beq lbl_8028317C +/* 80283174 002800D4 38 00 00 07 */ li r0, 7 +/* 80283178 002800D8 90 1D 05 84 */ stw r0, 0x584(r29) +lbl_8028317C: +/* 8028317C 002800DC 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80283180 002800E0 38 60 00 00 */ li r3, 0 +/* 80283184 002800E4 28 04 00 00 */ cmplwi r4, 0 +/* 80283188 002800E8 41 82 00 14 */ beq lbl_8028319C +/* 8028318C 002800EC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80283190 002800F0 28 00 00 00 */ cmplwi r0, 0 +/* 80283194 002800F4 41 82 00 08 */ beq lbl_8028319C +/* 80283198 002800F8 38 60 00 01 */ li r3, 1 +lbl_8028319C: +/* 8028319C 002800FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802831A0 00280100 41 82 00 5C */ beq lbl_802831FC +/* 802831A4 00280104 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 802831A8 00280108 38 E0 FF FF */ li r7, -1 +/* 802831AC 0028010C 80 7D 05 84 */ lwz r3, 0x584(r29) +/* 802831B0 00280110 38 00 00 00 */ li r0, 0 +/* 802831B4 00280114 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802831B8 00280118 38 C0 00 01 */ li r6, 1 +/* 802831BC 0028011C 90 61 02 0C */ stw r3, 0x20c(r1) +/* 802831C0 00280120 7F E3 FB 78 */ mr r3, r31 +/* 802831C4 00280124 38 81 02 0C */ addi r4, r1, 0x20c +/* 802831C8 00280128 38 A0 00 00 */ li r5, 0 +/* 802831CC 0028012C 90 E1 02 10 */ stw r7, 0x210(r1) +/* 802831D0 00280130 D0 01 02 14 */ stfs f0, 0x214(r1) +/* 802831D4 00280134 98 C1 02 18 */ stb r6, 0x218(r1) +/* 802831D8 00280138 90 01 02 1C */ stw r0, 0x21c(r1) +/* 802831DC 0028013C 90 01 02 20 */ stw r0, 0x220(r1) +/* 802831E0 00280140 98 01 02 24 */ stb r0, 0x224(r1) +/* 802831E4 00280144 90 01 02 28 */ stw r0, 0x228(r1) +/* 802831E8 00280148 90 01 02 2C */ stw r0, 0x22c(r1) +/* 802831EC 0028014C 90 01 02 30 */ stw r0, 0x230(r1) +/* 802831F0 00280150 4B DA 9B 8D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 802831F4 00280154 38 00 00 00 */ li r0, 0 +/* 802831F8 00280158 90 1F 01 04 */ stw r0, 0x104(r31) +lbl_802831FC: +/* 802831FC 0028015C 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80283200 00280160 38 80 00 00 */ li r4, 0 +/* 80283204 00280164 4B E9 23 5D */ bl EnableLooping__10CModelDataFb +/* 80283208 00280168 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8028320C 0028016C 7F C4 F3 78 */ mr r4, r30 +/* 80283210 00280170 38 A0 00 00 */ li r5, 0 +/* 80283214 00280174 4B E9 2A FD */ bl Touch__10CModelDataCFRC13CStateManageri +/* 80283218 00280178 7F A3 EB 78 */ mr r3, r29 +/* 8028321C 0028017C 7F C5 F3 78 */ mr r5, r30 +/* 80283220 00280180 38 80 00 03 */ li r4, 3 +/* 80283224 00280184 4B D9 45 C1 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80283228 00280188 80 7D 07 68 */ lwz r3, 0x768(r29) +/* 8028322C 0028018C 7F C4 F3 78 */ mr r4, r30 +/* 80283230 00280190 4B E7 24 0D */ bl LeaveMorphBallState__10CMorphBallFR13CStateManager +/* 80283234 00280194 80 DE 08 70 */ lwz r6, 0x870(r30) +/* 80283238 00280198 7F C4 F3 78 */ mr r4, r30 +/* 8028323C 0028019C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80283240 002801A0 80 66 00 7C */ lwz r3, 0x7c(r6) +/* 80283244 002801A4 83 E6 00 80 */ lwz r31, 0x80(r6) +/* 80283248 002801A8 A0 03 00 08 */ lhz r0, 8(r3) +/* 8028324C 002801AC B0 01 00 20 */ sth r0, 0x20(r1) +/* 80283250 002801B0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80283254 002801B4 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80283258 002801B8 4B D8 75 F1 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 8028325C 002801BC C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 80283260 002801C0 38 61 01 34 */ addi r3, r1, 0x134 +/* 80283264 002801C4 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 80283268 002801C8 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 8028326C 002801CC C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 80283270 002801D0 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80283274 002801D4 C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 80283278 002801D8 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8028327C 002801DC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80283280 002801E0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283284 002801E4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80283288 002801E8 D0 A1 01 3C */ stfs f5, 0x13c(r1) +/* 8028328C 002801EC D0 61 01 38 */ stfs f3, 0x138(r1) +/* 80283290 002801F0 D0 21 01 34 */ stfs f1, 0x134(r1) +/* 80283294 002801F4 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80283298 002801F8 48 09 14 61 */ bl CanBeNormalized__9CVector3fCFv +/* 8028329C 002801FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802832A0 00280200 41 82 03 6C */ beq lbl_8028360C +/* 802832A4 00280204 38 61 01 34 */ addi r3, r1, 0x134 +/* 802832A8 00280208 48 09 16 51 */ bl Normalize__9CVector3fFv +/* 802832AC 0028020C C3 FD 05 18 */ lfs f31, 0x518(r29) +/* 802832B0 00280210 38 61 01 28 */ addi r3, r1, 0x128 +/* 802832B4 00280214 C3 DD 05 1C */ lfs f30, 0x51c(r29) +/* 802832B8 00280218 C3 BD 05 20 */ lfs f29, 0x520(r29) +/* 802832BC 0028021C C0 3D 05 00 */ lfs f1, 0x500(r29) +/* 802832C0 00280220 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802832C4 00280224 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 802832C8 00280228 C0 3D 05 04 */ lfs f1, 0x504(r29) +/* 802832CC 0028022C D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 802832D0 00280230 C0 3D 05 08 */ lfs f1, 0x508(r29) +/* 802832D4 00280234 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802832D8 00280238 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 802832DC 0028023C 48 09 14 1D */ bl CanBeNormalized__9CVector3fCFv +/* 802832E0 00280240 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802832E4 00280244 41 82 00 18 */ beq lbl_802832FC +/* 802832E8 00280248 38 61 01 28 */ addi r3, r1, 0x128 +/* 802832EC 0028024C 48 09 15 CD */ bl Magnitude__9CVector3fCFv +/* 802832F0 00280250 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 802832F4 00280254 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802832F8 00280258 40 80 00 10 */ bge lbl_80283308 +lbl_802832FC: +/* 802832FC 0028025C C3 E1 01 34 */ lfs f31, 0x134(r1) +/* 80283300 00280260 C3 C1 01 38 */ lfs f30, 0x138(r1) +/* 80283304 00280264 C3 A1 01 3C */ lfs f29, 0x13c(r1) +lbl_80283308: +/* 80283308 00280268 88 1D 09 C6 */ lbz r0, 0x9c6(r29) +/* 8028330C 0028026C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80283310 00280270 41 82 00 90 */ beq lbl_802833A0 +/* 80283314 00280274 A0 1D 08 30 */ lhz r0, 0x830(r29) +/* 80283318 00280278 7F C3 F3 78 */ mr r3, r30 +/* 8028331C 0028027C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80283320 00280280 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80283324 00280284 4B DC 92 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80283328 00280288 7C 64 1B 78 */ mr r4, r3 +/* 8028332C 0028028C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80283330 00280290 4B E2 57 D1 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80283334 00280294 80 83 00 04 */ lwz r4, 4(r3) +/* 80283338 00280298 28 04 00 00 */ cmplwi r4, 0 +/* 8028333C 0028029C 41 82 00 64 */ beq lbl_802833A0 +/* 80283340 002802A0 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 80283344 002802A4 38 61 01 1C */ addi r3, r1, 0x11c +/* 80283348 002802A8 C0 1D 00 60 */ lfs f0, 0x60(r29) +/* 8028334C 002802AC C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80283350 002802B0 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 80283354 002802B4 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80283358 002802B8 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8028335C 002802BC C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80283360 002802C0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80283364 002802C4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283368 002802C8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8028336C 002802CC D0 A1 01 24 */ stfs f5, 0x124(r1) +/* 80283370 002802D0 D0 61 01 20 */ stfs f3, 0x120(r1) +/* 80283374 002802D4 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 80283378 002802D8 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 8028337C 002802DC 48 09 13 7D */ bl CanBeNormalized__9CVector3fCFv +/* 80283380 002802E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283384 002802E4 41 82 00 1C */ beq lbl_802833A0 +/* 80283388 002802E8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8028338C 002802EC 38 81 01 1C */ addi r4, r1, 0x11c +/* 80283390 002802F0 48 09 14 C1 */ bl AsNormalized__9CVector3fCFv +/* 80283394 002802F4 C3 E1 00 C8 */ lfs f31, 0xc8(r1) +/* 80283398 002802F8 C3 C1 00 CC */ lfs f30, 0xcc(r1) +/* 8028339C 002802FC C3 A1 00 D0 */ lfs f29, 0xd0(r1) +lbl_802833A0: +/* 802833A0 00280300 88 1D 09 C7 */ lbz r0, 0x9c7(r29) +/* 802833A4 00280304 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802833A8 00280308 41 82 00 D8 */ beq lbl_80283480 +/* 802833AC 0028030C A0 1D 08 30 */ lhz r0, 0x830(r29) +/* 802833B0 00280310 7F C3 F3 78 */ mr r3, r30 +/* 802833B4 00280314 38 81 00 14 */ addi r4, r1, 0x14 +/* 802833B8 00280318 B0 01 00 14 */ sth r0, 0x14(r1) +/* 802833BC 0028031C 4B DC 91 E9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802833C0 00280320 7C 64 1B 78 */ mr r4, r3 +/* 802833C4 00280324 38 61 00 38 */ addi r3, r1, 0x38 +/* 802833C8 00280328 4B E2 57 39 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802833CC 0028032C 80 63 00 04 */ lwz r3, 4(r3) +/* 802833D0 00280330 28 03 00 00 */ cmplwi r3, 0 +/* 802833D4 00280334 41 82 00 AC */ beq lbl_80283480 +/* 802833D8 00280338 A0 03 01 08 */ lhz r0, 0x108(r3) +/* 802833DC 0028033C 7F C3 F3 78 */ mr r3, r30 +/* 802833E0 00280340 38 81 00 10 */ addi r4, r1, 0x10 +/* 802833E4 00280344 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802833E8 00280348 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802833EC 0028034C 4B DC 91 B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802833F0 00280350 7C 64 1B 78 */ mr r4, r3 +/* 802833F4 00280354 38 61 00 30 */ addi r3, r1, 0x30 +/* 802833F8 00280358 4B E2 C8 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802833FC 0028035C 80 83 00 04 */ lwz r4, 4(r3) +/* 80283400 00280360 28 04 00 00 */ cmplwi r4, 0 +/* 80283404 00280364 41 82 00 7C */ beq lbl_80283480 +/* 80283408 00280368 81 84 00 00 */ lwz r12, 0(r4) +/* 8028340C 0028036C 7F C5 F3 78 */ mr r5, r30 +/* 80283410 00280370 38 61 00 BC */ addi r3, r1, 0xbc +/* 80283414 00280374 C3 5D 00 60 */ lfs f26, 0x60(r29) +/* 80283418 00280378 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 8028341C 0028037C C3 7D 00 50 */ lfs f27, 0x50(r29) +/* 80283420 00280380 C3 9D 00 40 */ lfs f28, 0x40(r29) +/* 80283424 00280384 7D 89 03 A6 */ mtctr r12 +/* 80283428 00280388 4E 80 04 21 */ bctrl +/* 8028342C 0028038C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80283430 00280390 38 61 01 10 */ addi r3, r1, 0x110 +/* 80283434 00280394 C0 61 00 BC */ lfs f3, 0xbc(r1) +/* 80283438 00280398 EC 20 D0 28 */ fsubs f1, f0, f26 +/* 8028343C 0028039C C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 80283440 002803A0 EC 63 E0 28 */ fsubs f3, f3, f28 +/* 80283444 002803A4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283448 002803A8 EC 42 D8 28 */ fsubs f2, f2, f27 +/* 8028344C 002803AC D0 21 01 18 */ stfs f1, 0x118(r1) +/* 80283450 002803B0 D0 61 01 10 */ stfs f3, 0x110(r1) +/* 80283454 002803B4 D0 41 01 14 */ stfs f2, 0x114(r1) +/* 80283458 002803B8 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 8028345C 002803BC 48 09 12 9D */ bl CanBeNormalized__9CVector3fCFv +/* 80283460 002803C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283464 002803C4 41 82 00 1C */ beq lbl_80283480 +/* 80283468 002803C8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8028346C 002803CC 38 81 01 10 */ addi r4, r1, 0x110 +/* 80283470 002803D0 48 09 13 E1 */ bl AsNormalized__9CVector3fCFv +/* 80283474 002803D4 C3 E1 00 B0 */ lfs f31, 0xb0(r1) +/* 80283478 002803D8 C3 C1 00 B4 */ lfs f30, 0xb4(r1) +/* 8028347C 002803DC C3 A1 00 B8 */ lfs f29, 0xb8(r1) +lbl_80283480: +/* 80283480 002803E0 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 80283484 002803E4 C0 41 01 34 */ lfs f2, 0x134(r1) +/* 80283488 002803E8 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 8028348C 002803EC C0 61 01 3C */ lfs f3, 0x13c(r1) +/* 80283490 002803F0 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80283494 002803F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 80283498 002803F8 EC 23 0F 7A */ fmadds f1, f3, f29, f1 +/* 8028349C 002803FC FC 40 0A 10 */ fabs f2, f1 +/* 802834A0 00280400 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802834A4 00280404 40 81 00 14 */ ble lbl_802834B8 +/* 802834A8 00280408 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 802834AC 0028040C C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 802834B0 00280410 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 802834B4 00280414 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_802834B8: +/* 802834B8 00280418 48 11 17 75 */ bl acos +/* 802834BC 0028041C FC 20 08 18 */ frsp f1, f1 +/* 802834C0 00280420 C0 02 BD D8 */ lfs f0, lbl_805ADAF8@sda21(r2) +/* 802834C4 00280424 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802834C8 00280428 41 80 00 10 */ blt lbl_802834D8 +/* 802834CC 0028042C 88 1D 09 C7 */ lbz r0, 0x9c7(r29) +/* 802834D0 00280430 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802834D4 00280434 41 82 00 90 */ beq lbl_80283564 +lbl_802834D8: +/* 802834D8 00280438 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 802834DC 0028043C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802834E0 00280440 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 802834E4 00280444 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802834E8 00280448 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 802834EC 0028044C EC A3 F0 2A */ fadds f5, f3, f30 +/* 802834F0 00280450 EC 82 E8 2A */ fadds f4, f2, f29 +/* 802834F4 00280454 38 61 01 DC */ addi r3, r1, 0x1dc +/* 802834F8 00280458 EC 01 F8 2A */ fadds f0, f1, f31 +/* 802834FC 0028045C D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80283500 00280460 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80283504 00280464 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 80283508 00280468 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8028350C 0028046C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80283510 00280470 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 80283514 00280474 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80283518 00280478 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 8028351C 0028047C D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 80283520 00280480 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 80283524 00280484 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80283528 00280488 48 09 05 E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8028352C 0028048C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80283530 00280490 38 81 01 DC */ addi r4, r1, 0x1dc +/* 80283534 00280494 48 08 F6 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283538 00280498 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028353C 0028049C 38 60 00 01 */ li r3, 1 +/* 80283540 002804A0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80283544 002804A4 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283548 002804A8 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028354C 002804AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80283550 002804B0 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283554 002804B4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283558 002804B8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8028355C 002804BC 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283560 002804C0 48 00 00 EC */ b lbl_8028364C +lbl_80283564: +/* 80283564 002804C4 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 80283568 002804C8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8028356C 002804CC C0 01 01 38 */ lfs f0, 0x138(r1) +/* 80283570 002804D0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80283574 002804D4 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80283578 002804D8 38 61 01 AC */ addi r3, r1, 0x1ac +/* 8028357C 002804DC C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80283580 002804E0 EC A4 00 2A */ fadds f5, f4, f0 +/* 80283584 002804E4 C0 41 01 3C */ lfs f2, 0x13c(r1) +/* 80283588 002804E8 38 81 00 80 */ addi r4, r1, 0x80 +/* 8028358C 002804EC C0 01 01 34 */ lfs f0, 0x134(r1) +/* 80283590 002804F0 38 A1 00 74 */ addi r5, r1, 0x74 +/* 80283594 002804F4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80283598 002804F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8028359C 002804FC D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 802835A0 00280500 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802835A4 00280504 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802835A8 00280508 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802835AC 0028050C D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802835B0 00280510 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802835B4 00280514 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802835B8 00280518 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 802835BC 0028051C D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802835C0 00280520 48 09 05 51 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802835C4 00280524 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802835C8 00280528 38 81 01 AC */ addi r4, r1, 0x1ac +/* 802835CC 0028052C 48 08 F5 75 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802835D0 00280530 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 802835D4 00280534 38 A0 00 01 */ li r5, 1 +/* 802835D8 00280538 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 802835DC 0028053C C0 22 BD DC */ lfs f1, lbl_805ADAFC@sda21(r2) +/* 802835E0 00280540 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 802835E4 00280544 7F A3 EB 78 */ mr r3, r29 +/* 802835E8 00280548 7F C4 F3 78 */ mr r4, r30 +/* 802835EC 0028054C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 802835F0 00280550 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 802835F4 00280554 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 802835F8 00280558 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 802835FC 0028055C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80283600 00280560 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283604 00280564 4B D9 59 51 */ bl UpdateArmAndGunTransforms__7CPlayerFfR13CStateManager +/* 80283608 00280568 48 00 00 44 */ b lbl_8028364C +lbl_8028360C: +/* 8028360C 0028056C 7F A4 EB 78 */ mr r4, r29 +/* 80283610 00280570 38 61 01 7C */ addi r3, r1, 0x17c +/* 80283614 00280574 48 00 20 D5 */ bl CreateTransformFromMovementDirection__7CPlayerCFv +/* 80283618 00280578 38 7D 00 34 */ addi r3, r29, 0x34 +/* 8028361C 0028057C 38 81 01 7C */ addi r4, r1, 0x17c +/* 80283620 00280580 48 08 F5 21 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283624 00280584 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283628 00280588 38 60 00 01 */ li r3, 1 +/* 8028362C 0028058C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80283630 00280590 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283634 00280594 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283638 00280598 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8028363C 0028059C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283640 002805A0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283644 002805A4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80283648 002805A8 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_8028364C: +/* 8028364C 002805AC 80 BE 08 70 */ lwz r5, 0x870(r30) +/* 80283650 002805B0 7F C3 F3 78 */ mr r3, r30 +/* 80283654 002805B4 38 81 00 08 */ addi r4, r1, 8 +/* 80283658 002805B8 80 A5 00 80 */ lwz r5, 0x80(r5) +/* 8028365C 002805BC A0 05 03 DC */ lhz r0, 0x3dc(r5) +/* 80283660 002805C0 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80283664 002805C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80283668 002805C8 4B DC 8F 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8028366C 002805CC 7C 64 1B 78 */ mr r4, r3 +/* 80283670 002805D0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80283674 002805D4 4B E2 C6 1D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80283678 002805D8 80 83 00 04 */ lwz r4, 4(r3) +/* 8028367C 002805DC 28 04 00 00 */ cmplwi r4, 0 +/* 80283680 002805E0 41 82 01 B0 */ beq lbl_80283830 +/* 80283684 002805E4 C0 3F 03 E0 */ lfs f1, 0x3e0(r31) +/* 80283688 002805E8 C0 02 BD E0 */ lfs f0, lbl_805ADB00@sda21(r2) +/* 8028368C 002805EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80283690 002805F0 40 80 01 A0 */ bge lbl_80283830 +/* 80283694 002805F4 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283698 002805F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028369C 002805FC 40 81 01 94 */ ble lbl_80283830 +/* 802836A0 00280600 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 802836A4 00280604 38 61 01 04 */ addi r3, r1, 0x104 +/* 802836A8 00280608 C0 1D 00 60 */ lfs f0, 0x60(r29) +/* 802836AC 0028060C C0 C4 00 50 */ lfs f6, 0x50(r4) +/* 802836B0 00280610 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 802836B4 00280614 EC 45 00 28 */ fsubs f2, f5, f0 +/* 802836B8 00280618 C0 84 00 40 */ lfs f4, 0x40(r4) +/* 802836BC 0028061C C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 802836C0 00280620 EC 26 08 28 */ fsubs f1, f6, f1 +/* 802836C4 00280624 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) +/* 802836C8 00280628 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802836CC 0028062C D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 802836D0 00280630 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 802836D4 00280634 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802836D8 00280638 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 802836DC 0028063C C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 802836E0 00280640 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 802836E4 00280644 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802836E8 00280648 EC 25 08 28 */ fsubs f1, f5, f1 +/* 802836EC 0028064C EC 46 10 28 */ fsubs f2, f6, f2 +/* 802836F0 00280650 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802836F4 00280654 D0 21 01 00 */ stfs f1, 0x100(r1) +/* 802836F8 00280658 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 802836FC 0028065C D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 80283700 00280660 D0 61 01 00 */ stfs f3, 0x100(r1) +/* 80283704 00280664 48 09 0F F5 */ bl CanBeNormalized__9CVector3fCFv +/* 80283708 00280668 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028370C 0028066C 41 82 01 24 */ beq lbl_80283830 +/* 80283710 00280670 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80283714 00280674 48 09 0F E5 */ bl CanBeNormalized__9CVector3fCFv +/* 80283718 00280678 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028371C 0028067C 41 82 01 14 */ beq lbl_80283830 +/* 80283720 00280680 38 61 01 04 */ addi r3, r1, 0x104 +/* 80283724 00280684 48 09 11 D5 */ bl Normalize__9CVector3fFv +/* 80283728 00280688 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 8028372C 0028068C 38 61 00 EC */ addi r3, r1, 0xec +/* 80283730 00280690 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80283734 00280694 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80283738 00280698 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028373C 0028069C D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 80283740 002806A0 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 80283744 002806A4 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 80283748 002806A8 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 8028374C 002806AC 48 09 11 AD */ bl Normalize__9CVector3fFv +/* 80283750 002806B0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80283754 002806B4 48 09 11 A5 */ bl Normalize__9CVector3fFv +/* 80283758 002806B8 C0 E1 01 08 */ lfs f7, 0x108(r1) +/* 8028375C 002806BC C0 61 00 FC */ lfs f3, 0xfc(r1) +/* 80283760 002806C0 C0 C1 01 04 */ lfs f6, 0x104(r1) +/* 80283764 002806C4 EC 07 00 F2 */ fmuls f0, f7, f3 +/* 80283768 002806C8 C0 81 00 F8 */ lfs f4, 0xf8(r1) +/* 8028376C 002806CC C1 01 01 0C */ lfs f8, 0x10c(r1) +/* 80283770 002806D0 C0 A1 01 00 */ lfs f5, 0x100(r1) +/* 80283774 002806D4 EC 26 01 3A */ fmadds f1, f6, f4, f0 +/* 80283778 002806D8 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) +/* 8028377C 002806DC EC 28 09 7A */ fmadds f1, f8, f5, f1 +/* 80283780 002806E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80283784 002806E4 4C 41 13 82 */ cror 2, 1, 2 +/* 80283788 002806E8 40 82 00 A8 */ bne lbl_80283830 +/* 8028378C 002806EC C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 80283790 002806F0 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 80283794 002806F4 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80283798 002806F8 C0 61 00 F4 */ lfs f3, 0xf4(r1) +/* 8028379C 002806FC C0 02 BD 88 */ lfs f0, lbl_805ADAA8@sda21(r2) +/* 802837A0 00280700 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802837A4 00280704 EC 25 08 FA */ fmadds f1, f5, f3, f1 +/* 802837A8 00280708 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802837AC 0028070C 4C 41 13 82 */ cror 2, 1, 2 +/* 802837B0 00280710 40 82 00 80 */ bne lbl_80283830 +/* 802837B4 00280714 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 802837B8 00280718 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802837BC 0028071C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 802837C0 00280720 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802837C4 00280724 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 802837C8 00280728 EC A3 38 2A */ fadds f5, f3, f7 +/* 802837CC 0028072C EC 82 40 2A */ fadds f4, f2, f8 +/* 802837D0 00280730 38 61 01 4C */ addi r3, r1, 0x14c +/* 802837D4 00280734 EC 01 30 2A */ fadds f0, f1, f6 +/* 802837D8 00280738 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802837DC 0028073C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802837E0 00280740 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 802837E4 00280744 38 A1 00 50 */ addi r5, r1, 0x50 +/* 802837E8 00280748 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802837EC 0028074C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 802837F0 00280750 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802837F4 00280754 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802837F8 00280758 48 09 03 19 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802837FC 0028075C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80283800 00280760 38 81 01 4C */ addi r4, r1, 0x14c +/* 80283804 00280764 48 08 F3 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283808 00280768 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028380C 0028076C 38 60 00 01 */ li r3, 1 +/* 80283810 00280770 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80283814 00280774 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283818 00280778 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028381C 0028077C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80283820 00280780 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283824 00280784 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283828 00280788 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8028382C 0028078C 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_80283830: +/* 80283830 00280790 7F A3 EB 78 */ mr r3, r29 +/* 80283834 00280794 7F C5 F3 78 */ mr r5, r30 +/* 80283838 00280798 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8028383C 0028079C 4B D9 56 8D */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager +/* 80283840 002807A0 7F A3 EB 78 */ mr r3, r29 +/* 80283844 002807A4 7F C4 F3 78 */ mr r4, r30 +/* 80283848 002807A8 4B D9 68 65 */ bl DrawGun__7CPlayerFR13CStateManager +/* 8028384C 002807AC 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80283850 002807B0 7F C5 F3 78 */ mr r5, r30 +/* 80283854 002807B4 38 80 00 05 */ li r4, 5 +/* 80283858 002807B8 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8028385C 002807BC 4B DF F4 41 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283860 002807C0 7F A3 EB 78 */ mr r3, r29 +/* 80283864 002807C4 4B E9 7A 51 */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 80283868 002807C8 4B D9 7C CD */ bl Identity__10CAxisAngleFv +/* 8028386C 002807CC 7C 64 1B 78 */ mr r4, r3 +/* 80283870 002807D0 7F A3 EB 78 */ mr r3, r29 +/* 80283874 002807D4 4B E9 73 89 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 80283878 002807D8 7F A3 EB 78 */ mr r3, r29 +/* 8028387C 002807DC 7F C5 F3 78 */ mr r5, r30 +/* 80283880 002807E0 38 80 00 25 */ li r4, 0x25 +/* 80283884 002807E4 4B DD 0A CD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80283888 002807E8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8028388C 002807EC 7F A3 EB 78 */ mr r3, r29 +/* 80283890 002807F0 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 80283894 002807F4 7F C5 F3 78 */ mr r5, r30 +/* 80283898 002807F8 C0 06 00 00 */ lfs f0, 0(r6) +/* 8028389C 002807FC 38 80 00 03 */ li r4, 3 +/* 802838A0 00280800 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 802838A4 00280804 C0 06 00 04 */ lfs f0, 4(r6) +/* 802838A8 00280808 D0 1D 01 54 */ stfs f0, 0x154(r29) +/* 802838AC 0028080C C0 06 00 08 */ lfs f0, 8(r6) +/* 802838B0 00280810 D0 1D 01 58 */ stfs f0, 0x158(r29) +/* 802838B4 00280814 4B D9 39 E9 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 802838B8 00280818 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802838BC 0028081C 38 00 00 00 */ li r0, 0 +/* 802838C0 00280820 7F C4 F3 78 */ mr r4, r30 +/* 802838C4 00280824 D0 1D 08 24 */ stfs f0, 0x824(r29) +/* 802838C8 00280828 90 1D 05 7C */ stw r0, 0x57c(r29) +/* 802838CC 0028082C 90 1D 05 80 */ stw r0, 0x580(r29) +/* 802838D0 00280830 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 802838D4 00280834 80 63 00 80 */ lwz r3, 0x80(r3) +/* 802838D8 00280838 4B FB B0 E9 */ bl TransitionFromMorphBallState__11CBallCameraFR13CStateManager +/* 802838DC 0028083C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802838E0 00280840 7C 00 00 34 */ cntlzw r0, r0 +/* 802838E4 00280844 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 802838E8 00280848 41 82 00 18 */ beq lbl_80283900 +/* 802838EC 0028084C C0 02 BD A8 */ lfs f0, lbl_805ADAC8@sda21(r2) +/* 802838F0 00280850 7F A3 EB 78 */ mr r3, r29 +/* 802838F4 00280854 7F C4 F3 78 */ mr r4, r30 +/* 802838F8 00280858 D0 1D 08 24 */ stfs f0, 0x824(r29) +/* 802838FC 0028085C 4B FF F4 21 */ bl LeaveMorphBallState__7CPlayerFR13CStateManager +lbl_80283900: +/* 80283900 00280860 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 +/* 80283904 00280864 CB E1 02 A0 */ lfd f31, 0x2a0(r1) +/* 80283908 00280868 E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 +/* 8028390C 0028086C CB C1 02 90 */ lfd f30, 0x290(r1) +/* 80283910 00280870 E3 A1 02 88 */ psq_l f29, 648(r1), 0, qr0 +/* 80283914 00280874 CB A1 02 80 */ lfd f29, 0x280(r1) +/* 80283918 00280878 E3 81 02 78 */ psq_l f28, 632(r1), 0, qr0 +/* 8028391C 0028087C CB 81 02 70 */ lfd f28, 0x270(r1) +/* 80283920 00280880 E3 61 02 68 */ psq_l f27, 616(r1), 0, qr0 +/* 80283924 00280884 CB 61 02 60 */ lfd f27, 0x260(r1) +/* 80283928 00280888 E3 41 02 58 */ psq_l f26, 600(r1), 0, qr0 +/* 8028392C 0028088C CB 41 02 50 */ lfd f26, 0x250(r1) +/* 80283930 00280890 83 E1 02 4C */ lwz r31, 0x24c(r1) +/* 80283934 00280894 83 C1 02 48 */ lwz r30, 0x248(r1) +/* 80283938 00280898 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 8028393C 0028089C 83 A1 02 44 */ lwz r29, 0x244(r1) +/* 80283940 002808A0 7C 08 03 A6 */ mtlr r0 +/* 80283944 002808A4 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 80283948 002808A8 4E 80 00 20 */ blr + +.global TransitionToMorphBallState__7CPlayerFfR13CStateManager +TransitionToMorphBallState__7CPlayerFfR13CStateManager: +/* 8028394C 002808AC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80283950 002808B0 7C 08 02 A6 */ mflr r0 +/* 80283954 002808B4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80283958 002808B8 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8028395C 002808BC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80283960 002808C0 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80283964 002808C4 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80283968 002808C8 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8028396C 002808CC 7C 7E 1B 78 */ mr r30, r3 +/* 80283970 002808D0 7C 9F 23 78 */ mr r31, r4 +/* 80283974 002808D4 48 00 04 11 */ bl ChoseTransitionToAnimation__7CPlayerCFR13CStateManager +/* 80283978 002808D8 90 7E 05 84 */ stw r3, 0x584(r30) +/* 8028397C 002808DC 38 7E 01 38 */ addi r3, r30, 0x138 +/* 80283980 002808E0 48 09 0F 39 */ bl Magnitude__9CVector3fCFv +/* 80283984 002808E4 D0 3E 05 8C */ stfs f1, 0x58c(r30) +/* 80283988 002808E8 38 60 00 00 */ li r3, 0 +/* 8028398C 002808EC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80283990 002808F0 28 04 00 00 */ cmplwi r4, 0 +/* 80283994 002808F4 41 82 00 14 */ beq lbl_802839A8 +/* 80283998 002808F8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8028399C 002808FC 28 00 00 00 */ cmplwi r0, 0 +/* 802839A0 00280900 41 82 00 08 */ beq lbl_802839A8 +/* 802839A4 00280904 38 60 00 01 */ li r3, 1 +lbl_802839A8: +/* 802839A8 00280908 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802839AC 0028090C 41 82 00 5C */ beq lbl_80283A08 +/* 802839B0 00280910 83 A4 00 10 */ lwz r29, 0x10(r4) +/* 802839B4 00280914 38 E0 FF FF */ li r7, -1 +/* 802839B8 00280918 80 7E 05 84 */ lwz r3, 0x584(r30) +/* 802839BC 0028091C 38 00 00 00 */ li r0, 0 +/* 802839C0 00280920 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802839C4 00280924 38 C0 00 01 */ li r6, 1 +/* 802839C8 00280928 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802839CC 0028092C 7F A3 EB 78 */ mr r3, r29 +/* 802839D0 00280930 38 81 00 1C */ addi r4, r1, 0x1c +/* 802839D4 00280934 38 A0 00 00 */ li r5, 0 +/* 802839D8 00280938 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802839DC 0028093C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802839E0 00280940 98 C1 00 28 */ stb r6, 0x28(r1) +/* 802839E4 00280944 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802839E8 00280948 90 01 00 30 */ stw r0, 0x30(r1) +/* 802839EC 0028094C 98 01 00 34 */ stb r0, 0x34(r1) +/* 802839F0 00280950 90 01 00 38 */ stw r0, 0x38(r1) +/* 802839F4 00280954 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802839F8 00280958 90 01 00 40 */ stw r0, 0x40(r1) +/* 802839FC 0028095C 4B DA 93 81 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80283A00 00280960 38 00 00 00 */ li r0, 0 +/* 80283A04 00280964 90 1D 01 04 */ stw r0, 0x104(r29) +lbl_80283A08: +/* 80283A08 00280968 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283A0C 0028096C 38 80 00 00 */ li r4, 0 +/* 80283A10 00280970 4B E9 1B 51 */ bl EnableLooping__10CModelDataFb +/* 80283A14 00280974 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283A18 00280978 7F E4 FB 78 */ mr r4, r31 +/* 80283A1C 0028097C 38 A0 00 00 */ li r5, 0 +/* 80283A20 00280980 4B E9 22 F1 */ bl Touch__10CModelDataCFRC13CStateManageri +/* 80283A24 00280984 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80283A28 00280988 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 80283A2C 0028098C 7F C3 F3 78 */ mr r3, r30 +/* 80283A30 00280990 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80283A34 00280994 C0 04 00 04 */ lfs f0, 4(r4) +/* 80283A38 00280998 D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 80283A3C 0028099C C0 04 00 08 */ lfs f0, 8(r4) +/* 80283A40 002809A0 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 80283A44 002809A4 4B E9 79 35 */ bl Stop__13CPhysicsActorFv +/* 80283A48 002809A8 7F C3 F3 78 */ mr r3, r30 +/* 80283A4C 002809AC 7F E5 FB 78 */ mr r5, r31 +/* 80283A50 002809B0 38 80 00 02 */ li r4, 2 +/* 80283A54 002809B4 4B D9 3D 91 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80283A58 002809B8 7F C3 F3 78 */ mr r3, r30 +/* 80283A5C 002809BC 7F E5 FB 78 */ mr r5, r31 +/* 80283A60 002809C0 38 80 00 03 */ li r4, 3 +/* 80283A64 002809C4 4B D9 38 39 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 80283A68 002809C8 C0 7E 00 58 */ lfs f3, 0x58(r30) +/* 80283A6C 002809CC 38 7E 05 0C */ addi r3, r30, 0x50c +/* 80283A70 002809D0 C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 80283A74 002809D4 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 80283A78 002809D8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283A7C 002809DC D0 3E 05 00 */ stfs f1, 0x500(r30) +/* 80283A80 002809E0 D0 5E 05 04 */ stfs f2, 0x504(r30) +/* 80283A84 002809E4 D0 7E 05 08 */ stfs f3, 0x508(r30) +/* 80283A88 002809E8 C0 3E 05 00 */ lfs f1, 0x500(r30) +/* 80283A8C 002809EC D0 3E 05 0C */ stfs f1, 0x50c(r30) +/* 80283A90 002809F0 C0 3E 05 04 */ lfs f1, 0x504(r30) +/* 80283A94 002809F4 D0 3E 05 10 */ stfs f1, 0x510(r30) +/* 80283A98 002809F8 C0 3E 05 08 */ lfs f1, 0x508(r30) +/* 80283A9C 002809FC D0 3E 05 14 */ stfs f1, 0x514(r30) +/* 80283AA0 00280A00 D0 1E 05 14 */ stfs f0, 0x514(r30) +/* 80283AA4 00280A04 48 09 0C 55 */ bl CanBeNormalized__9CVector3fCFv +/* 80283AA8 00280A08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283AAC 00280A0C 41 82 00 10 */ beq lbl_80283ABC +/* 80283AB0 00280A10 38 7E 05 0C */ addi r3, r30, 0x50c +/* 80283AB4 00280A14 48 09 0E 45 */ bl Normalize__9CVector3fFv +/* 80283AB8 00280A18 48 00 00 24 */ b lbl_80283ADC +lbl_80283ABC: +/* 80283ABC 00280A1C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80283AC0 00280A20 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283AC4 00280A24 D0 3E 05 00 */ stfs f1, 0x500(r30) +/* 80283AC8 00280A28 D0 1E 05 04 */ stfs f0, 0x504(r30) +/* 80283ACC 00280A2C D0 3E 05 08 */ stfs f1, 0x508(r30) +/* 80283AD0 00280A30 D0 3E 05 0C */ stfs f1, 0x50c(r30) +/* 80283AD4 00280A34 D0 1E 05 10 */ stfs f0, 0x510(r30) +/* 80283AD8 00280A38 D0 3E 05 14 */ stfs f1, 0x514(r30) +lbl_80283ADC: +/* 80283ADC 00280A3C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283AE0 00280A40 7F E4 FB 78 */ mr r4, r31 +/* 80283AE4 00280A44 38 A1 00 0C */ addi r5, r1, 0xc +/* 80283AE8 00280A48 83 A3 00 80 */ lwz r29, 0x80(r3) +/* 80283AEC 00280A4C A0 1D 00 08 */ lhz r0, 8(r29) +/* 80283AF0 00280A50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80283AF4 00280A54 B0 01 00 08 */ sth r0, 8(r1) +/* 80283AF8 00280A58 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283AFC 00280A5C 4B D8 6D 4D */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 80283B00 00280A60 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283B04 00280A64 7F E4 FB 78 */ mr r4, r31 +/* 80283B08 00280A68 4B D8 5C 29 */ bl HasBallCameraInitialPositionHint__14CCameraManagerCFR13CStateManager +/* 80283B0C 00280A6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283B10 00280A70 40 82 00 24 */ bne lbl_80283B34 +/* 80283B14 00280A74 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283B18 00280A78 7F E4 FB 78 */ mr r4, r31 +/* 80283B1C 00280A7C 4B D8 58 F5 */ bl SetupBallCamera__14CCameraManagerFR13CStateManager +/* 80283B20 00280A80 7F A3 EB 78 */ mr r3, r29 +/* 80283B24 00280A84 7F E5 FB 78 */ mr r5, r31 +/* 80283B28 00280A88 38 80 00 04 */ li r4, 4 +/* 80283B2C 00280A8C 4B DF F1 71 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283B30 00280A90 48 00 00 C8 */ b lbl_80283BF8 +lbl_80283B34: +/* 80283B34 00280A94 7F A3 EB 78 */ mr r3, r29 +/* 80283B38 00280A98 7F E5 FB 78 */ mr r5, r31 +/* 80283B3C 00280A9C 38 80 00 00 */ li r4, 0 +/* 80283B40 00280AA0 4B DF F1 5D */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283B44 00280AA4 7F C3 F3 78 */ mr r3, r30 +/* 80283B48 00280AA8 7F E5 FB 78 */ mr r5, r31 +/* 80283B4C 00280AAC 38 80 00 01 */ li r4, 1 +/* 80283B50 00280AB0 4B D9 37 4D */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 80283B54 00280AB4 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 80283B58 00280AB8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80283B5C 00280ABC 80 84 00 7C */ lwz r4, 0x7c(r4) +/* 80283B60 00280AC0 38 84 00 34 */ addi r4, r4, 0x34 +/* 80283B64 00280AC4 48 08 F0 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80283B68 00280AC8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80283B6C 00280ACC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80283B70 00280AD0 48 08 EF D1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283B74 00280AD4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283B78 00280AD8 38 C0 00 01 */ li r6, 1 +/* 80283B7C 00280ADC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80283B80 00280AE0 7F A3 EB 78 */ mr r3, r29 +/* 80283B84 00280AE4 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283B88 00280AE8 7F E5 FB 78 */ mr r5, r31 +/* 80283B8C 00280AEC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80283B90 00280AF0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283B94 00280AF4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 80283B98 00280AF8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283B9C 00280AFC 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283BA0 00280B00 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80283BA4 00280B04 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283BA8 00280B08 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80283BAC 00280B0C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80283BB0 00280B10 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80283BB4 00280B14 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80283BB8 00280B18 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80283BBC 00280B1C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80283BC0 00280B20 4B E0 8F 5D */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +/* 80283BC4 00280B24 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283BC8 00280B28 7F E4 FB 78 */ mr r4, r31 +/* 80283BCC 00280B2C 4B D8 58 45 */ bl SetupBallCamera__14CCameraManagerFR13CStateManager +/* 80283BD0 00280B30 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283BD4 00280B34 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80283BD8 00280B38 C3 E3 01 5C */ lfs f31, 0x15c(r3) +/* 80283BDC 00280B3C 4B D8 84 FD */ bl DefaultThirdPersonFov__14CCameraManagerFv +/* 80283BE0 00280B40 FC 40 08 90 */ fmr f2, f1 +/* 80283BE4 00280B44 C0 62 BD 80 */ lfs f3, lbl_805ADAA0@sda21(r2) +/* 80283BE8 00280B48 FC 20 F8 90 */ fmr f1, f31 +/* 80283BEC 00280B4C C0 82 BD A0 */ lfs f4, lbl_805ADAC0@sda21(r2) +/* 80283BF0 00280B50 7F A3 EB 78 */ mr r3, r29 +/* 80283BF4 00280B54 4B DD 73 25 */ bl SetFovInterpolation__11CGameCameraFffff +lbl_80283BF8: +/* 80283BF8 00280B58 7F C3 F3 78 */ mr r3, r30 +/* 80283BFC 00280B5C 7F E5 FB 78 */ mr r5, r31 +/* 80283C00 00280B60 38 80 00 02 */ li r4, 2 +/* 80283C04 00280B64 4B EF 75 99 */ bl SetOrbitRequest__7CPlayerF19EPlayerOrbitRequestR13CStateManager +/* 80283C08 00280B68 80 7E 04 90 */ lwz r3, 0x490(r30) +/* 80283C0C 00280B6C 7F E4 FB 78 */ mr r4, r31 +/* 80283C10 00280B70 4B DB 8E 49 */ bl CancelFiring__10CPlayerGunFR13CStateManager +/* 80283C14 00280B74 7F C3 F3 78 */ mr r3, r30 +/* 80283C18 00280B78 7F E4 FB 78 */ mr r4, r31 +/* 80283C1C 00280B7C 4B D9 65 51 */ bl HolsterGun__7CPlayerFR13CStateManager +/* 80283C20 00280B80 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80283C24 00280B84 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80283C28 00280B88 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80283C2C 00280B8C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80283C30 00280B90 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80283C34 00280B94 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80283C38 00280B98 7C 08 03 A6 */ mtlr r0 +/* 80283C3C 00280B9C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80283C40 00280BA0 4E 80 00 20 */ blr + +.global GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager +GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager: +/* 80283C44 00280BA4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80283C48 00280BA8 7C 08 02 A6 */ mflr r0 +/* 80283C4C 00280BAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80283C50 00280BB0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80283C54 00280BB4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80283C58 00280BB8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80283C5C 00280BBC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80283C60 00280BC0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80283C64 00280BC4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80283C68 00280BC8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80283C6C 00280BCC 93 81 00 30 */ stw r28, 0x30(r1) +/* 80283C70 00280BD0 7C 7C 1B 78 */ mr r28, r3 +/* 80283C74 00280BD4 FF C0 08 90 */ fmr f30, f1 +/* 80283C78 00280BD8 C0 23 01 38 */ lfs f1, 0x138(r3) +/* 80283C7C 00280BDC 7C 9D 23 78 */ mr r29, r4 +/* 80283C80 00280BE0 C0 43 01 3C */ lfs f2, 0x13c(r3) +/* 80283C84 00280BE4 7C BE 2B 78 */ mr r30, r5 +/* 80283C88 00280BE8 38 61 00 08 */ addi r3, r1, 8 +/* 80283C8C 00280BEC 3B E0 00 0C */ li r31, 0xc +/* 80283C90 00280BF0 48 09 05 71 */ bl __ct__9CVector2fFff +/* 80283C94 00280BF4 C0 41 00 08 */ lfs f2, 8(r1) +/* 80283C98 00280BF8 38 00 00 00 */ li r0, 0 +/* 80283C9C 00280BFC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80283CA0 00280C00 38 61 00 1C */ addi r3, r1, 0x1c +/* 80283CA4 00280C04 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283CA8 00280C08 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80283CAC 00280C0C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80283CB0 00280C10 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80283CB4 00280C14 98 1D 00 00 */ stb r0, 0(r29) +/* 80283CB8 00280C18 48 09 0A 41 */ bl CanBeNormalized__9CVector3fCFv +/* 80283CBC 00280C1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283CC0 00280C20 41 82 00 90 */ beq lbl_80283D50 +/* 80283CC4 00280C24 38 61 00 1C */ addi r3, r1, 0x1c +/* 80283CC8 00280C28 48 09 0B F1 */ bl Magnitude__9CVector3fCFv +/* 80283CCC 00280C2C FF E0 08 90 */ fmr f31, f1 +/* 80283CD0 00280C30 7F 83 E3 78 */ mr r3, r28 +/* 80283CD4 00280C34 FC 20 F0 90 */ fmr f1, f30 +/* 80283CD8 00280C38 48 00 1C 31 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80283CDC 00280C3C C0 02 BD 94 */ lfs f0, lbl_805ADAB4@sda21(r2) +/* 80283CE0 00280C40 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80283CE4 00280C44 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80283CE8 00280C48 40 81 00 68 */ ble lbl_80283D50 +/* 80283CEC 00280C4C FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80283CF0 00280C50 38 00 00 01 */ li r0, 1 +/* 80283CF4 00280C54 98 1D 00 00 */ stb r0, 0(r29) +/* 80283CF8 00280C58 3B E0 00 0F */ li r31, 0xf +/* 80283CFC 00280C5C 4C 41 13 82 */ cror 2, 1, 2 +/* 80283D00 00280C60 40 82 00 08 */ bne lbl_80283D08 +/* 80283D04 00280C64 3B E0 00 0D */ li r31, 0xd +lbl_80283D08: +/* 80283D08 00280C68 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80283D0C 00280C6C C0 1C 05 10 */ lfs f0, 0x510(r28) +/* 80283D10 00280C70 80 63 00 80 */ lwz r3, 0x80(r3) +/* 80283D14 00280C74 C0 5C 05 0C */ lfs f2, 0x50c(r28) +/* 80283D18 00280C78 C0 A3 00 48 */ lfs f5, 0x48(r3) +/* 80283D1C 00280C7C C0 83 00 38 */ lfs f4, 0x38(r3) +/* 80283D20 00280C80 EC 20 01 72 */ fmuls f1, f0, f5 +/* 80283D24 00280C84 C0 C3 00 58 */ lfs f6, 0x58(r3) +/* 80283D28 00280C88 C0 7C 05 14 */ lfs f3, 0x514(r28) +/* 80283D2C 00280C8C C0 02 BD E4 */ lfs f0, lbl_805ADB04@sda21(r2) +/* 80283D30 00280C90 EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 80283D34 00280C94 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80283D38 00280C98 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80283D3C 00280C9C EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 80283D40 00280CA0 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80283D44 00280CA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80283D48 00280CA8 40 80 00 08 */ bge lbl_80283D50 +/* 80283D4C 00280CAC 3B E0 00 0C */ li r31, 0xc +lbl_80283D50: +/* 80283D50 00280CB0 7F E3 FB 78 */ mr r3, r31 +/* 80283D54 00280CB4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80283D58 00280CB8 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80283D5C 00280CBC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80283D60 00280CC0 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80283D64 00280CC4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80283D68 00280CC8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80283D6C 00280CCC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80283D70 00280CD0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80283D74 00280CD4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80283D78 00280CD8 7C 08 03 A6 */ mtlr r0 +/* 80283D7C 00280CDC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80283D80 00280CE0 4E 80 00 20 */ blr + +.global ChoseTransitionToAnimation__7CPlayerCFR13CStateManager +ChoseTransitionToAnimation__7CPlayerCFR13CStateManager: +/* 80283D84 00280CE4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80283D88 00280CE8 7C 08 02 A6 */ mflr r0 +/* 80283D8C 00280CEC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80283D90 00280CF0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80283D94 00280CF4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80283D98 00280CF8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80283D9C 00280CFC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80283DA0 00280D00 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80283DA4 00280D04 7C 7F 1B 78 */ mr r31, r3 +/* 80283DA8 00280D08 FF C0 08 90 */ fmr f30, f1 +/* 80283DAC 00280D0C 80 03 02 58 */ lwz r0, 0x258(r3) +/* 80283DB0 00280D10 2C 00 00 02 */ cmpwi r0, 2 +/* 80283DB4 00280D14 40 82 00 0C */ bne lbl_80283DC0 +/* 80283DB8 00280D18 38 60 00 03 */ li r3, 3 +/* 80283DBC 00280D1C 48 00 01 48 */ b lbl_80283F04 +lbl_80283DC0: +/* 80283DC0 00280D20 38 61 00 10 */ addi r3, r1, 0x10 +/* 80283DC4 00280D24 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80283DC8 00280D28 38 BF 01 38 */ addi r5, r31, 0x138 +/* 80283DCC 00280D2C 48 08 EC 59 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80283DD0 00280D30 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80283DD4 00280D34 38 61 00 08 */ addi r3, r1, 8 +/* 80283DD8 00280D38 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80283DDC 00280D3C 48 09 04 25 */ bl __ct__9CVector2fFff +/* 80283DE0 00280D40 C0 41 00 08 */ lfs f2, 8(r1) +/* 80283DE4 00280D44 38 61 00 1C */ addi r3, r1, 0x1c +/* 80283DE8 00280D48 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80283DEC 00280D4C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283DF0 00280D50 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80283DF4 00280D54 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80283DF8 00280D58 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80283DFC 00280D5C 48 09 0A BD */ bl Magnitude__9CVector3fCFv +/* 80283E00 00280D60 FF E0 08 90 */ fmr f31, f1 +/* 80283E04 00280D64 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283E08 00280D68 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80283E0C 00280D6C 40 81 00 F4 */ ble lbl_80283F00 +/* 80283E10 00280D70 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80283E14 00280D74 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80283E18 00280D78 FC 20 00 50 */ fneg f1, f0 +/* 80283E1C 00280D7C 48 11 0E 51 */ bl atan2 +/* 80283E20 00280D80 FC 60 08 18 */ frsp f3, f1 +/* 80283E24 00280D84 C0 42 BD E8 */ lfs f2, lbl_805ADB08@sda21(r2) +/* 80283E28 00280D88 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80283E2C 00280D8C 40 81 00 3C */ ble lbl_80283E68 +/* 80283E30 00280D90 C0 02 BD EC */ lfs f0, lbl_805ADB0C@sda21(r2) +/* 80283E34 00280D94 3C 00 43 30 */ lis r0, 0x4330 +/* 80283E38 00280D98 90 01 00 30 */ stw r0, 0x30(r1) +/* 80283E3C 00280D9C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80283E40 00280DA0 C8 22 BE 00 */ lfd f1, lbl_805ADB20@sda21(r2) +/* 80283E44 00280DA4 FC 00 00 1E */ fctiwz f0, f0 +/* 80283E48 00280DA8 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 80283E4C 00280DAC 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80283E50 00280DB0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80283E54 00280DB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80283E58 00280DB8 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 80283E5C 00280DBC EC 00 08 28 */ fsubs f0, f0, f1 +/* 80283E60 00280DC0 EC 60 18 BC */ fnmsubs f3, f0, f2, f3 +/* 80283E64 00280DC4 48 00 00 48 */ b lbl_80283EAC +lbl_80283E68: +/* 80283E68 00280DC8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283E6C 00280DCC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80283E70 00280DD0 40 80 00 3C */ bge lbl_80283EAC +/* 80283E74 00280DD4 C0 02 BD EC */ lfs f0, lbl_805ADB0C@sda21(r2) +/* 80283E78 00280DD8 3C 00 43 30 */ lis r0, 0x4330 +/* 80283E7C 00280DDC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80283E80 00280DE0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80283E84 00280DE4 C8 22 BE 00 */ lfd f1, lbl_805ADB20@sda21(r2) +/* 80283E88 00280DE8 FC 00 00 1E */ fctiwz f0, f0 +/* 80283E8C 00280DEC D8 01 00 30 */ stfd f0, 0x30(r1) +/* 80283E90 00280DF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80283E94 00280DF4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80283E98 00280DF8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80283E9C 00280DFC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80283EA0 00280E00 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80283EA4 00280E04 EC 00 18 BC */ fnmsubs f0, f0, f2, f3 +/* 80283EA8 00280E08 EC 62 00 2A */ fadds f3, f2, f0 +lbl_80283EAC: +/* 80283EAC 00280E0C C0 02 BD F0 */ lfs f0, lbl_805ADB10@sda21(r2) +/* 80283EB0 00280E10 FC 20 F0 90 */ fmr f1, f30 +/* 80283EB4 00280E14 7F E3 FB 78 */ mr r3, r31 +/* 80283EB8 00280E18 EF C0 00 F2 */ fmuls f30, f0, f3 +/* 80283EBC 00280E1C 48 00 1A 4D */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80283EC0 00280E20 C0 02 BD F4 */ lfs f0, lbl_805ADB14@sda21(r2) +/* 80283EC4 00280E24 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80283EC8 00280E28 41 80 00 10 */ blt lbl_80283ED8 +/* 80283ECC 00280E2C C0 02 BD F8 */ lfs f0, lbl_805ADB18@sda21(r2) +/* 80283ED0 00280E30 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80283ED4 00280E34 40 81 00 24 */ ble lbl_80283EF8 +lbl_80283ED8: +/* 80283ED8 00280E38 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80283EDC 00280E3C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80283EE0 00280E40 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80283EE4 00280E44 40 80 00 0C */ bge lbl_80283EF0 +/* 80283EE8 00280E48 38 60 00 00 */ li r3, 0 +/* 80283EEC 00280E4C 48 00 00 18 */ b lbl_80283F04 +lbl_80283EF0: +/* 80283EF0 00280E50 38 60 00 04 */ li r3, 4 +/* 80283EF4 00280E54 48 00 00 10 */ b lbl_80283F04 +lbl_80283EF8: +/* 80283EF8 00280E58 38 60 00 01 */ li r3, 1 +/* 80283EFC 00280E5C 48 00 00 08 */ b lbl_80283F04 +lbl_80283F00: +/* 80283F00 00280E60 38 60 00 02 */ li r3, 2 +lbl_80283F04: +/* 80283F04 00280E64 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80283F08 00280E68 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80283F0C 00280E6C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80283F10 00280E70 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80283F14 00280E74 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80283F18 00280E78 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80283F1C 00280E7C 7C 08 03 A6 */ mtlr r0 +/* 80283F20 00280E80 38 21 00 60 */ addi r1, r1, 0x60 +/* 80283F24 00280E84 4E 80 00 20 */ blr + +.global SetIntoBallReadyAnimation__7CPlayerFR13CStateManager +SetIntoBallReadyAnimation__7CPlayerFR13CStateManager: +/* 80283F28 00280E88 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80283F2C 00280E8C 7C 08 02 A6 */ mflr r0 +/* 80283F30 00280E90 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283F34 00280E94 38 E0 00 02 */ li r7, 2 +/* 80283F38 00280E98 90 01 00 64 */ stw r0, 0x64(r1) +/* 80283F3C 00280E9C 38 00 00 00 */ li r0, 0 +/* 80283F40 00280EA0 38 A0 FF FF */ li r5, -1 +/* 80283F44 00280EA4 38 C0 00 01 */ li r6, 1 +/* 80283F48 00280EA8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80283F4C 00280EAC 7C 9F 23 78 */ mr r31, r4 +/* 80283F50 00280EB0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80283F54 00280EB4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80283F58 00280EB8 7C 7E 1B 78 */ mr r30, r3 +/* 80283F5C 00280EBC 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80283F60 00280EC0 38 A0 00 00 */ li r5, 0 +/* 80283F64 00280EC4 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80283F68 00280EC8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80283F6C 00280ECC 98 C1 00 34 */ stb r6, 0x34(r1) +/* 80283F70 00280ED0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80283F74 00280ED4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80283F78 00280ED8 98 01 00 40 */ stb r0, 0x40(r1) +/* 80283F7C 00280EDC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80283F80 00280EE0 90 01 00 48 */ stw r0, 0x48(r1) +/* 80283F84 00280EE4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80283F88 00280EE8 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80283F8C 00280EEC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80283F90 00280EF0 4B DA 8D ED */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80283F94 00280EF4 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283F98 00280EF8 38 C0 00 00 */ li r6, 0 +/* 80283F9C 00280EFC 38 80 00 01 */ li r4, 1 +/* 80283FA0 00280F00 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80283FA4 00280F04 81 03 00 10 */ lwz r8, 0x10(r3) +/* 80283FA8 00280F08 7F E5 FB 78 */ mr r5, r31 +/* 80283FAC 00280F0C 38 61 00 0C */ addi r3, r1, 0xc +/* 80283FB0 00280F10 38 E0 00 01 */ li r7, 1 +/* 80283FB4 00280F14 88 08 02 20 */ lbz r0, 0x220(r8) +/* 80283FB8 00280F18 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80283FBC 00280F1C 38 C1 00 08 */ addi r6, r1, 8 +/* 80283FC0 00280F20 98 08 02 20 */ stb r0, 0x220(r8) +/* 80283FC4 00280F24 88 08 02 20 */ lbz r0, 0x220(r8) +/* 80283FC8 00280F28 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80283FCC 00280F2C 98 08 02 20 */ stb r0, 0x220(r8) +/* 80283FD0 00280F30 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80283FD4 00280F34 90 01 00 08 */ stw r0, 8(r1) +/* 80283FD8 00280F38 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80283FDC 00280F3C 4B E9 1B 59 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +/* 80283FE0 00280F40 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283FE4 00280F44 38 80 00 00 */ li r4, 0 +/* 80283FE8 00280F48 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80283FEC 00280F4C 88 03 02 20 */ lbz r0, 0x220(r3) +/* 80283FF0 00280F50 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80283FF4 00280F54 98 03 02 20 */ stb r0, 0x220(r3) +/* 80283FF8 00280F58 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80283FFC 00280F5C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80284000 00280F60 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80284004 00280F64 7C 08 03 A6 */ mtlr r0 +/* 80284008 00280F68 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028400C 00280F6C 4E 80 00 20 */ blr + +.global UpdateCameraBob__7CPlayerFfR13CStateManager +UpdateCameraBob__7CPlayerFfR13CStateManager: +/* 80284010 00280F70 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80284014 00280F74 7C 08 02 A6 */ mflr r0 +/* 80284018 00280F78 90 01 00 94 */ stw r0, 0x94(r1) +/* 8028401C 00280F7C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80284020 00280F80 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80284024 00280F84 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80284028 00280F88 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8028402C 00280F8C DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80284030 00280F90 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80284034 00280F94 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80284038 00280F98 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028403C 00280F9C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80284040 00280FA0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284044 00280FA4 7C 7D 1B 78 */ mr r29, r3 +/* 80284048 00280FA8 FF E0 08 90 */ fmr f31, f1 +/* 8028404C 00280FAC 7C 9E 23 78 */ mr r30, r4 +/* 80284050 00280FB0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80284054 00280FB4 C0 C3 01 38 */ lfs f6, 0x138(r3) +/* 80284058 00280FB8 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 8028405C 00280FBC C0 03 01 3C */ lfs f0, 0x13c(r3) +/* 80284060 00280FC0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80284064 00280FC4 C0 A3 01 40 */ lfs f5, 0x140(r3) +/* 80284068 00280FC8 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8028406C 00280FCC 80 03 03 04 */ lwz r0, 0x304(r3) +/* 80284070 00280FD0 2C 00 00 00 */ cmpwi r0, 0 +/* 80284074 00280FD4 40 82 00 5C */ bne lbl_802840D0 +/* 80284078 00280FD8 C0 7D 00 48 */ lfs f3, 0x48(r29) +/* 8028407C 00280FDC 3B E0 00 00 */ li r31, 0 +/* 80284080 00280FE0 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 80284084 00280FE4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80284088 00280FE8 C0 9D 00 58 */ lfs f4, 0x58(r29) +/* 8028408C 00280FEC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80284090 00280FF0 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 80284094 00280FF4 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80284098 00280FF8 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8028409C 00280FFC EF C5 01 3A */ fmadds f30, f5, f4, f0 +/* 802840A0 00281000 48 00 18 69 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 802840A4 00281004 EC 3E 08 24 */ fdivs f1, f30, f1 +/* 802840A8 00281008 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802840AC 0028100C FC 20 0A 10 */ fabs f1, f1 +/* 802840B0 00281010 FC 20 08 18 */ frsp f1, f1 +/* 802840B4 00281014 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802840B8 00281018 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802840BC 0028101C 40 80 00 F4 */ bge lbl_802841B0 +/* 802840C0 00281020 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802840C4 00281024 3B E0 00 03 */ li r31, 3 +/* 802840C8 00281028 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802840CC 0028102C 48 00 00 E4 */ b lbl_802841B0 +lbl_802840D0: +/* 802840D0 00281030 C0 FD 00 44 */ lfs f7, 0x44(r29) +/* 802840D4 00281034 3B E0 00 01 */ li r31, 1 +/* 802840D8 00281038 C1 3D 00 48 */ lfs f9, 0x48(r29) +/* 802840DC 0028103C EC 60 01 F2 */ fmuls f3, f0, f7 +/* 802840E0 00281040 C0 9D 00 34 */ lfs f4, 0x34(r29) +/* 802840E4 00281044 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 802840E8 00281048 EC 00 02 72 */ fmuls f0, f0, f9 +/* 802840EC 0028104C C1 1D 00 54 */ lfs f8, 0x54(r29) +/* 802840F0 00281050 EC 66 19 3A */ fmadds f3, f6, f4, f3 +/* 802840F4 00281054 C1 5D 00 58 */ lfs f10, 0x58(r29) +/* 802840F8 00281058 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 802840FC 0028105C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80284100 00281060 EF A5 1A 3A */ fmadds f29, f5, f8, f3 +/* 80284104 00281064 EF C5 02 BA */ fmadds f30, f5, f10, f0 +/* 80284108 00281068 D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 8028410C 0028106C D1 01 00 30 */ stfs f8, 0x30(r1) +/* 80284110 00281070 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80284114 00281074 D1 21 00 20 */ stfs f9, 0x20(r1) +/* 80284118 00281078 D1 41 00 24 */ stfs f10, 0x24(r1) +/* 8028411C 0028107C 48 00 17 ED */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80284120 00281080 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80284124 00281084 2C 00 00 02 */ cmpwi r0, 2 +/* 80284128 00281088 40 82 00 0C */ bne lbl_80284134 +/* 8028412C 0028108C 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80284130 00281090 48 00 00 08 */ b lbl_80284138 +lbl_80284134: +/* 80284134 00281094 38 00 00 04 */ li r0, 4 +lbl_80284138: +/* 80284138 00281098 3C 60 80 3D */ lis r3, lbl_803D5908@ha +/* 8028413C 0028109C 54 00 10 3A */ slwi r0, r0, 2 +/* 80284140 002810A0 38 63 59 08 */ addi r3, r3, lbl_803D5908@l +/* 80284144 002810A4 EC 01 00 72 */ fmuls f0, f1, f1 +/* 80284148 002810A8 7C 23 04 2E */ lfsx f1, r3, r0 +/* 8028414C 002810AC EC 21 00 7A */ fmadds f1, f1, f1, f0 +/* 80284150 002810B0 48 09 13 B1 */ bl SqrtF__5CMathFf +/* 80284154 002810B4 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 80284158 002810B8 FF C0 08 90 */ fmr f30, f1 +/* 8028415C 002810BC EC 3D 07 7A */ fmadds f1, f29, f29, f0 +/* 80284160 002810C0 48 09 13 A1 */ bl SqrtF__5CMathFf +/* 80284164 002810C4 EC 21 F0 24 */ fdivs f1, f1, f30 +/* 80284168 002810C8 C0 0D 87 C4 */ lfs f0, lbl_805A7384@sda21(r13) +/* 8028416C 002810CC C0 4D 87 C8 */ lfs f2, lbl_805A7388@sda21(r13) +/* 80284170 002810D0 D0 41 00 08 */ stfs f2, 8(r1) +/* 80284174 002810D4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80284178 002810D8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8028417C 002810DC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80284180 002810E0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80284184 002810E4 40 80 00 0C */ bge lbl_80284190 +/* 80284188 002810E8 38 61 00 0C */ addi r3, r1, 0xc +/* 8028418C 002810EC 48 00 00 08 */ b lbl_80284194 +lbl_80284190: +/* 80284190 002810F0 38 61 00 08 */ addi r3, r1, 8 +lbl_80284194: +/* 80284194 002810F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80284198 002810F8 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 8028419C 002810FC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802841A0 00281100 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802841A4 00281104 40 80 00 0C */ bge lbl_802841B0 +/* 802841A8 00281108 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802841AC 0028110C D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_802841B0: +/* 802841B0 00281110 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 802841B4 00281114 2C 00 00 00 */ cmpwi r0, 0 +/* 802841B8 00281118 41 82 00 14 */ beq lbl_802841CC +/* 802841BC 0028111C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802841C0 00281120 3B E0 00 02 */ li r31, 2 +/* 802841C4 00281124 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802841C8 00281128 48 00 00 68 */ b lbl_80284230 +lbl_802841CC: +/* 802841CC 0028112C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802841D0 00281130 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802841D4 00281134 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802841D8 00281138 40 80 00 58 */ bge lbl_80284230 +/* 802841DC 0028113C 80 7D 04 90 */ lwz r3, 0x490(r29) +/* 802841E0 00281140 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 802841E4 00281144 2C 00 00 00 */ cmpwi r0, 0 +/* 802841E8 00281148 41 82 00 14 */ beq lbl_802841FC +/* 802841EC 0028114C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802841F0 00281150 3B E0 00 04 */ li r31, 4 +/* 802841F4 00281154 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802841F8 00281158 48 00 00 38 */ b lbl_80284230 +lbl_802841FC: +/* 802841FC 0028115C 7F A4 EB 78 */ mr r4, r29 +/* 80284200 00281160 38 61 00 10 */ addi r3, r1, 0x10 +/* 80284204 00281164 4B E9 69 A1 */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 80284208 00281168 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028420C 0028116C 4B D9 73 05 */ bl GetAngle__10CAxisAngleCFv +/* 80284210 00281170 FC 20 0A 10 */ fabs f1, f1 +/* 80284214 00281174 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 80284218 00281178 FC 20 08 18 */ frsp f1, f1 +/* 8028421C 0028117C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80284220 00281180 40 81 00 10 */ ble lbl_80284230 +/* 80284224 00281184 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284228 00281188 3B E0 00 05 */ li r31, 5 +/* 8028422C 0028118C D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_80284230: +/* 80284230 00281190 88 1D 03 DC */ lbz r0, 0x3dc(r29) +/* 80284234 00281194 28 00 00 00 */ cmplwi r0, 0 +/* 80284238 00281198 40 82 00 10 */ bne lbl_80284248 +/* 8028423C 0028119C 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80284240 002811A0 28 00 00 00 */ cmplwi r0, 0 +/* 80284244 002811A4 41 82 00 10 */ beq lbl_80284254 +lbl_80284248: +/* 80284248 002811A8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028424C 002811AC 3B E0 00 06 */ li r31, 6 +/* 80284250 002811B0 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_80284254: +/* 80284254 002811B4 80 1D 03 04 */ lwz r0, 0x304(r29) +/* 80284258 002811B8 2C 00 00 05 */ cmpwi r0, 5 +/* 8028425C 002811BC 40 82 00 10 */ bne lbl_8028426C +/* 80284260 002811C0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284264 002811C4 3B E0 00 07 */ li r31, 7 +/* 80284268 002811C8 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_8028426C: +/* 8028426C 002811CC 80 1D 03 A8 */ lwz r0, 0x3a8(r29) +/* 80284270 002811D0 2C 00 00 02 */ cmpwi r0, 2 +/* 80284274 002811D4 40 82 00 0C */ bne lbl_80284280 +/* 80284278 002811D8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028427C 002811DC D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_80284280: +/* 80284280 002811E0 88 1D 03 8C */ lbz r0, 0x38c(r29) +/* 80284284 002811E4 28 00 00 00 */ cmplwi r0, 0 +/* 80284288 002811E8 41 82 00 2C */ beq lbl_802842B4 +/* 8028428C 002811EC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80284290 002811F0 3B E0 00 06 */ li r31, 6 +/* 80284294 002811F4 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 80284298 002811F8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028429C 002811FC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802842A0 00281200 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 802842A4 00281204 2C 00 00 00 */ cmpwi r0, 0 +/* 802842A8 00281208 40 82 00 0C */ bne lbl_802842B4 +/* 802842AC 0028120C 38 00 00 00 */ li r0, 0 +/* 802842B0 00281210 98 1D 03 8C */ stb r0, 0x38c(r29) +lbl_802842B4: +/* 802842B4 00281214 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 802842B8 00281218 4B D8 66 49 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 802842BC 0028121C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802842C0 00281220 41 82 00 0C */ beq lbl_802842CC +/* 802842C4 00281224 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802842C8 00281228 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_802842CC: +/* 802842CC 0028122C 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 802842D0 00281230 4B D8 4E 79 */ bl GetCameraBobMagnitude__14CCameraManagerCFv +/* 802842D4 00281234 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802842D8 00281238 38 81 00 40 */ addi r4, r1, 0x40 +/* 802842DC 0028123C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802842E0 00281240 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802842E4 00281244 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 802842E8 00281248 4B E6 57 31 */ bl SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f +/* 802842EC 0028124C 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 802842F0 00281250 7F E4 FB 78 */ mr r4, r31 +/* 802842F4 00281254 7F C5 F3 78 */ mr r5, r30 +/* 802842F8 00281258 4B E6 57 5D */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager +/* 802842FC 0028125C 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 80284300 00281260 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80284304 00281264 4B E6 5B 49 */ bl SetBobMagnitude__16CPlayerCameraBobFf +/* 80284308 00281268 C0 4D 87 CC */ lfs f2, lbl_805A738C@sda21(r13) +/* 8028430C 0028126C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80284310 00281270 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80284314 00281274 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80284318 00281278 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 8028431C 0028127C EC 21 10 3A */ fmadds f1, f1, f0, f2 +/* 80284320 00281280 4B E6 5B 7D */ bl SetBobTimeScale__16CPlayerCameraBobFf +/* 80284324 00281284 FC 20 F8 90 */ fmr f1, f31 +/* 80284328 00281288 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 8028432C 0028128C 7F C4 F3 78 */ mr r4, r30 +/* 80284330 00281290 4B E6 5B BD */ bl Update__16CPlayerCameraBobFfR13CStateManager +/* 80284334 00281294 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80284338 00281298 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8028433C 0028129C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80284340 002812A0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80284344 002812A4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80284348 002812A8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8028434C 002812AC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80284350 002812B0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80284354 002812B4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80284358 002812B8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8028435C 002812BC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80284360 002812C0 7C 08 03 A6 */ mtlr r0 +/* 80284364 002812C4 38 21 00 90 */ addi r1, r1, 0x90 +/* 80284368 002812C8 4E 80 00 20 */ blr + +.global SetEyeZBias__7CPlayerFf +SetEyeZBias__7CPlayerFf: +/* 8028436C 002812CC D0 23 09 C8 */ stfs f1, 0x9c8(r3) +/* 80284370 002812D0 4E 80 00 20 */ blr + +.global AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager +AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager: +/* 80284374 002812D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284378 002812D8 7C 08 02 A6 */ mflr r0 +/* 8028437C 002812DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80284380 002812E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80284384 002812E4 7C 9F 23 78 */ mr r31, r4 +/* 80284388 002812E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028438C 002812EC 7C 7E 1B 78 */ mr r30, r3 +/* 80284390 002812F0 7C A3 2B 78 */ mr r3, r5 +/* 80284394 002812F4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80284398 002812F8 38 81 00 08 */ addi r4, r1, 8 +/* 8028439C 002812FC B0 01 00 08 */ sth r0, 8(r1) +/* 802843A0 00281300 4B DC 81 D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802843A4 00281304 7C 64 1B 78 */ mr r4, r3 +/* 802843A8 00281308 38 61 00 0C */ addi r3, r1, 0xc +/* 802843AC 0028130C 4B E2 47 55 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802843B0 00281310 80 03 00 04 */ lwz r0, 4(r3) +/* 802843B4 00281314 28 00 00 00 */ cmplwi r0, 0 +/* 802843B8 00281318 41 82 00 60 */ beq lbl_80284418 +/* 802843BC 0028131C 80 DE 09 3C */ lwz r6, 0x93c(r30) +/* 802843C0 00281320 38 9E 09 40 */ addi r4, r30, 0x940 +/* 802843C4 00281324 54 C0 08 3C */ slwi r0, r6, 1 +/* 802843C8 00281328 7C A4 02 14 */ add r5, r4, r0 +/* 802843CC 0028132C 48 00 00 08 */ b lbl_802843D4 +lbl_802843D0: +/* 802843D0 00281330 38 84 00 02 */ addi r4, r4, 2 +lbl_802843D4: +/* 802843D4 00281334 7C 04 28 40 */ cmplw r4, r5 +/* 802843D8 00281338 41 82 00 14 */ beq lbl_802843EC +/* 802843DC 0028133C A0 64 00 00 */ lhz r3, 0(r4) +/* 802843E0 00281340 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802843E4 00281344 7C 03 00 40 */ cmplw r3, r0 +/* 802843E8 00281348 40 82 FF E8 */ bne lbl_802843D0 +lbl_802843EC: +/* 802843EC 0028134C 7C 04 28 40 */ cmplw r4, r5 +/* 802843F0 00281350 40 82 00 28 */ bne lbl_80284418 +/* 802843F4 00281354 2C 06 00 20 */ cmpwi r6, 0x20 +/* 802843F8 00281358 41 82 00 20 */ beq lbl_80284418 +/* 802843FC 0028135C 28 05 00 00 */ cmplwi r5, 0 +/* 80284400 00281360 41 82 00 0C */ beq lbl_8028440C +/* 80284404 00281364 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80284408 00281368 B0 05 00 00 */ sth r0, 0(r5) +lbl_8028440C: +/* 8028440C 0028136C 80 7E 09 3C */ lwz r3, 0x93c(r30) +/* 80284410 00281370 38 03 00 01 */ addi r0, r3, 1 +/* 80284414 00281374 90 1E 09 3C */ stw r0, 0x93c(r30) +lbl_80284418: +/* 80284418 00281378 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028441C 0028137C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80284420 00281380 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80284424 00281384 7C 08 03 A6 */ mtlr r0 +/* 80284428 00281388 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028442C 0028138C 4E 80 00 20 */ blr + +.global DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager +DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager: +/* 80284430 00281390 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80284434 00281394 7C 08 02 A6 */ mflr r0 +/* 80284438 00281398 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028443C 0028139C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80284440 002813A0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80284444 002813A4 7C 9E 23 78 */ mr r30, r4 +/* 80284448 002813A8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8028444C 002813AC 7C 7D 1B 78 */ mr r29, r3 +/* 80284450 002813B0 7C A3 2B 78 */ mr r3, r5 +/* 80284454 002813B4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80284458 002813B8 38 81 00 08 */ addi r4, r1, 8 +/* 8028445C 002813BC B0 01 00 08 */ sth r0, 8(r1) +/* 80284460 002813C0 4B DC 81 15 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80284464 002813C4 7C 64 1B 78 */ mr r4, r3 +/* 80284468 002813C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8028446C 002813CC 4B E2 46 95 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80284470 002813D0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80284474 002813D4 28 1F 00 00 */ cmplwi r31, 0 +/* 80284478 002813D8 41 82 00 70 */ beq lbl_802844E8 +/* 8028447C 002813DC 80 DD 09 3C */ lwz r6, 0x93c(r29) +/* 80284480 002813E0 38 9D 09 40 */ addi r4, r29, 0x940 +/* 80284484 002813E4 54 C0 08 3C */ slwi r0, r6, 1 +/* 80284488 002813E8 7C A4 02 14 */ add r5, r4, r0 +/* 8028448C 002813EC 48 00 00 08 */ b lbl_80284494 +lbl_80284490: +/* 80284490 002813F0 38 84 00 02 */ addi r4, r4, 2 +lbl_80284494: +/* 80284494 002813F4 7C 04 28 40 */ cmplw r4, r5 +/* 80284498 002813F8 41 82 00 14 */ beq lbl_802844AC +/* 8028449C 002813FC A0 64 00 00 */ lhz r3, 0(r4) +/* 802844A0 00281400 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802844A4 00281404 7C 03 00 40 */ cmplw r3, r0 +/* 802844A8 00281408 40 82 FF E8 */ bne lbl_80284490 +lbl_802844AC: +/* 802844AC 0028140C 7C 04 28 40 */ cmplw r4, r5 +/* 802844B0 00281410 40 82 00 38 */ bne lbl_802844E8 +/* 802844B4 00281414 2C 06 00 20 */ cmpwi r6, 0x20 +/* 802844B8 00281418 41 82 00 30 */ beq lbl_802844E8 +/* 802844BC 0028141C 28 05 00 00 */ cmplwi r5, 0 +/* 802844C0 00281420 41 82 00 0C */ beq lbl_802844CC +/* 802844C4 00281424 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802844C8 00281428 B0 05 00 00 */ sth r0, 0(r5) +lbl_802844CC: +/* 802844CC 0028142C 80 9D 09 3C */ lwz r4, 0x93c(r29) +/* 802844D0 00281430 7F E3 FB 78 */ mr r3, r31 +/* 802844D4 00281434 38 04 00 01 */ addi r0, r4, 1 +/* 802844D8 00281438 90 1D 09 3C */ stw r0, 0x93c(r29) +/* 802844DC 0028143C 4B ED 77 89 */ bl ClearObjectList__17CScriptPlayerHintFv +/* 802844E0 00281440 38 00 00 01 */ li r0, 1 +/* 802844E4 00281444 98 1F 00 FC */ stb r0, 0xfc(r31) +lbl_802844E8: +/* 802844E8 00281448 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802844EC 0028144C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802844F0 00281450 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802844F4 00281454 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802844F8 00281458 7C 08 03 A6 */ mtlr r0 +/* 802844FC 0028145C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80284500 00281460 4E 80 00 20 */ blr + +.global AddToPlayerHintAddList__7CPlayerF9TUniqueIdR13CStateManager +AddToPlayerHintAddList__7CPlayerF9TUniqueIdR13CStateManager: +/* 80284504 00281464 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284508 00281468 7C 08 02 A6 */ mflr r0 +/* 8028450C 0028146C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80284510 00281470 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80284514 00281474 7C 9F 23 78 */ mr r31, r4 +/* 80284518 00281478 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028451C 0028147C 7C 7E 1B 78 */ mr r30, r3 +/* 80284520 00281480 7C A3 2B 78 */ mr r3, r5 +/* 80284524 00281484 A0 04 00 00 */ lhz r0, 0(r4) +/* 80284528 00281488 38 81 00 08 */ addi r4, r1, 8 +/* 8028452C 0028148C B0 01 00 08 */ sth r0, 8(r1) +/* 80284530 00281490 4B DC 80 45 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80284534 00281494 7C 64 1B 78 */ mr r4, r3 +/* 80284538 00281498 38 61 00 0C */ addi r3, r1, 0xc +/* 8028453C 0028149C 4B E2 45 C5 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80284540 002814A0 80 03 00 04 */ lwz r0, 4(r3) +/* 80284544 002814A4 28 00 00 00 */ cmplwi r0, 0 +/* 80284548 002814A8 41 82 00 6C */ beq lbl_802845B4 +/* 8028454C 002814AC 80 9E 09 80 */ lwz r4, 0x980(r30) +/* 80284550 002814B0 38 7E 09 84 */ addi r3, r30, 0x984 +/* 80284554 002814B4 7C 66 1B 78 */ mr r6, r3 +/* 80284558 002814B8 54 80 08 3C */ slwi r0, r4, 1 +/* 8028455C 002814BC 7C A3 02 14 */ add r5, r3, r0 +/* 80284560 002814C0 48 00 00 18 */ b lbl_80284578 +lbl_80284564: +/* 80284564 002814C4 A0 66 00 00 */ lhz r3, 0(r6) +/* 80284568 002814C8 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8028456C 002814CC 7C 03 00 40 */ cmplw r3, r0 +/* 80284570 002814D0 41 82 00 44 */ beq lbl_802845B4 +/* 80284574 002814D4 38 C6 00 02 */ addi r6, r6, 2 +lbl_80284578: +/* 80284578 002814D8 7C 06 28 40 */ cmplw r6, r5 +/* 8028457C 002814DC 40 82 FF E8 */ bne lbl_80284564 +/* 80284580 002814E0 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284584 002814E4 2C 00 00 20 */ cmpwi r0, 0x20 +/* 80284588 002814E8 41 82 00 2C */ beq lbl_802845B4 +/* 8028458C 002814EC 2C 04 00 20 */ cmpwi r4, 0x20 +/* 80284590 002814F0 40 82 00 08 */ bne lbl_80284598 +/* 80284594 002814F4 48 00 00 20 */ b lbl_802845B4 +lbl_80284598: +/* 80284598 002814F8 28 05 00 00 */ cmplwi r5, 0 +/* 8028459C 002814FC 41 82 00 0C */ beq lbl_802845A8 +/* 802845A0 00281500 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802845A4 00281504 B0 05 00 00 */ sth r0, 0(r5) +lbl_802845A8: +/* 802845A8 00281508 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 802845AC 0028150C 38 03 00 01 */ addi r0, r3, 1 +/* 802845B0 00281510 90 1E 09 80 */ stw r0, 0x980(r30) +lbl_802845B4: +/* 802845B4 00281514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802845B8 00281518 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802845BC 0028151C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802845C0 00281520 7C 08 03 A6 */ mtlr r0 +/* 802845C4 00281524 38 21 00 20 */ addi r1, r1, 0x20 +/* 802845C8 00281528 4E 80 00 20 */ blr + +.global UpdatePlayerHints__7CPlayerFRC13CStateManager +UpdatePlayerHints__7CPlayerFRC13CStateManager: +/* 802845CC 0028152C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802845D0 00281530 7C 08 02 A6 */ mflr r0 +/* 802845D4 00281534 90 01 00 74 */ stw r0, 0x74(r1) +/* 802845D8 00281538 BF 01 00 50 */ stmw r24, 0x50(r1) +/* 802845DC 0028153C 7C 7E 1B 78 */ mr r30, r3 +/* 802845E0 00281540 3B BE 08 3C */ addi r29, r30, 0x83c +/* 802845E4 00281544 7C 9F 23 78 */ mr r31, r4 +/* 802845E8 00281548 3B 60 00 00 */ li r27, 0 +/* 802845EC 0028154C 7F BC EB 78 */ mr r28, r29 +/* 802845F0 00281550 48 00 00 AC */ b lbl_8028469C +lbl_802845F4: +/* 802845F4 00281554 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802845F8 00281558 7F E3 FB 78 */ mr r3, r31 +/* 802845FC 0028155C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80284600 00281560 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80284604 00281564 4B DC 7F 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80284608 00281568 7C 64 1B 78 */ mr r4, r3 +/* 8028460C 0028156C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80284610 00281570 4B E2 44 F1 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80284614 00281574 80 03 00 04 */ lwz r0, 4(r3) +/* 80284618 00281578 28 00 00 00 */ cmplwi r0, 0 +/* 8028461C 0028157C 40 82 00 7C */ bne lbl_80284698 +/* 80284620 00281580 7C 1C E8 40 */ cmplw r28, r29 +/* 80284624 00281584 41 80 00 5C */ blt lbl_80284680 +/* 80284628 00281588 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 8028462C 0028158C 54 00 18 38 */ slwi r0, r0, 3 +/* 80284630 00281590 7C 1D 02 14 */ add r0, r29, r0 +/* 80284634 00281594 7C 1C 00 40 */ cmplw r28, r0 +/* 80284638 00281598 40 80 00 48 */ bge lbl_80284680 +/* 8028463C 0028159C 7F 85 E3 78 */ mr r5, r28 +/* 80284640 002815A0 48 00 00 18 */ b lbl_80284658 +lbl_80284644: +/* 80284644 002815A4 80 05 00 08 */ lwz r0, 8(r5) +/* 80284648 002815A8 90 05 00 00 */ stw r0, 0(r5) +/* 8028464C 002815AC A0 05 00 0C */ lhz r0, 0xc(r5) +/* 80284650 002815B0 B0 05 00 04 */ sth r0, 4(r5) +/* 80284654 002815B4 38 A5 00 08 */ addi r5, r5, 8 +lbl_80284658: +/* 80284658 002815B8 80 9E 08 38 */ lwz r4, 0x838(r30) +/* 8028465C 002815BC 54 83 18 38 */ slwi r3, r4, 3 +/* 80284660 002815C0 38 03 FF F8 */ addi r0, r3, -8 +/* 80284664 002815C4 7C 1D 02 14 */ add r0, r29, r0 +/* 80284668 002815C8 7C 05 00 40 */ cmplw r5, r0 +/* 8028466C 002815CC 41 80 FF D8 */ blt lbl_80284644 +/* 80284670 002815D0 38 04 FF FF */ addi r0, r4, -1 +/* 80284674 002815D4 7F 83 E3 78 */ mr r3, r28 +/* 80284678 002815D8 90 1E 08 38 */ stw r0, 0x838(r30) +/* 8028467C 002815DC 48 00 00 10 */ b lbl_8028468C +lbl_80284680: +/* 80284680 002815E0 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284684 002815E4 54 00 18 38 */ slwi r0, r0, 3 +/* 80284688 002815E8 7C 7D 02 14 */ add r3, r29, r0 +lbl_8028468C: +/* 8028468C 002815EC 7C 7C 1B 78 */ mr r28, r3 +/* 80284690 002815F0 3B 60 00 01 */ li r27, 1 +/* 80284694 002815F4 48 00 00 08 */ b lbl_8028469C +lbl_80284698: +/* 80284698 002815F8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8028469C: +/* 8028469C 002815FC 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 802846A0 00281600 54 00 18 38 */ slwi r0, r0, 3 +/* 802846A4 00281604 7C 1D 02 14 */ add r0, r29, r0 +/* 802846A8 00281608 7C 1C 00 40 */ cmplw r28, r0 +/* 802846AC 0028160C 40 82 FF 48 */ bne lbl_802845F4 +/* 802846B0 00281610 80 1E 09 3C */ lwz r0, 0x93c(r30) +/* 802846B4 00281614 3B 40 00 00 */ li r26, 0 +/* 802846B8 00281618 2C 00 00 00 */ cmpwi r0, 0 +/* 802846BC 0028161C 41 82 01 50 */ beq lbl_8028480C +/* 802846C0 00281620 3B 9E 09 40 */ addi r28, r30, 0x940 +/* 802846C4 00281624 7F 99 E3 78 */ mr r25, r28 +/* 802846C8 00281628 48 00 00 E0 */ b lbl_802847A8 +lbl_802846CC: +/* 802846CC 0028162C A0 19 00 00 */ lhz r0, 0(r25) +/* 802846D0 00281630 7F E3 FB 78 */ mr r3, r31 +/* 802846D4 00281634 38 81 00 20 */ addi r4, r1, 0x20 +/* 802846D8 00281638 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 802846DC 0028163C B0 01 00 20 */ sth r0, 0x20(r1) +/* 802846E0 00281640 4B DC 7E C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802846E4 00281644 7C 64 1B 78 */ mr r4, r3 +/* 802846E8 00281648 38 61 00 38 */ addi r3, r1, 0x38 +/* 802846EC 0028164C 4B E2 44 15 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802846F0 00281650 80 63 00 04 */ lwz r3, 4(r3) +/* 802846F4 00281654 28 03 00 00 */ cmplwi r3, 0 +/* 802846F8 00281658 41 82 00 AC */ beq lbl_802847A4 +/* 802846FC 0028165C 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 80284700 00281660 28 00 00 00 */ cmplwi r0, 0 +/* 80284704 00281664 41 82 00 10 */ beq lbl_80284714 +/* 80284708 00281668 88 03 00 FC */ lbz r0, 0xfc(r3) +/* 8028470C 0028166C 28 00 00 00 */ cmplwi r0, 0 +/* 80284710 00281670 41 82 00 94 */ beq lbl_802847A4 +lbl_80284714: +/* 80284714 00281674 80 7E 08 38 */ lwz r3, 0x838(r30) +/* 80284718 00281678 7F A5 EB 78 */ mr r5, r29 +/* 8028471C 0028167C A0 01 00 2C */ lhz r0, 0x2c(r1) +/* 80284720 00281680 54 63 18 38 */ slwi r3, r3, 3 +/* 80284724 00281684 7C 9D 1A 14 */ add r4, r29, r3 +/* 80284728 00281688 48 00 00 74 */ b lbl_8028479C +lbl_8028472C: +/* 8028472C 0028168C A0 65 00 04 */ lhz r3, 4(r5) +/* 80284730 00281690 7C 03 00 40 */ cmplw r3, r0 +/* 80284734 00281694 40 82 00 64 */ bne lbl_80284798 +/* 80284738 00281698 7C 05 E8 40 */ cmplw r5, r29 +/* 8028473C 0028169C 41 80 00 44 */ blt lbl_80284780 +/* 80284740 002816A0 7C 05 20 40 */ cmplw r5, r4 +/* 80284744 002816A4 40 80 00 3C */ bge lbl_80284780 +/* 80284748 002816A8 48 00 00 18 */ b lbl_80284760 +lbl_8028474C: +/* 8028474C 002816AC 80 05 00 08 */ lwz r0, 8(r5) +/* 80284750 002816B0 90 05 00 00 */ stw r0, 0(r5) +/* 80284754 002816B4 A0 05 00 0C */ lhz r0, 0xc(r5) +/* 80284758 002816B8 B0 05 00 04 */ sth r0, 4(r5) +/* 8028475C 002816BC 38 A5 00 08 */ addi r5, r5, 8 +lbl_80284760: +/* 80284760 002816C0 80 9E 08 38 */ lwz r4, 0x838(r30) +/* 80284764 002816C4 54 83 18 38 */ slwi r3, r4, 3 +/* 80284768 002816C8 38 03 FF F8 */ addi r0, r3, -8 +/* 8028476C 002816CC 7C 1D 02 14 */ add r0, r29, r0 +/* 80284770 002816D0 7C 05 00 40 */ cmplw r5, r0 +/* 80284774 002816D4 41 80 FF D8 */ blt lbl_8028474C +/* 80284778 002816D8 38 04 FF FF */ addi r0, r4, -1 +/* 8028477C 002816DC 90 1E 08 38 */ stw r0, 0x838(r30) +lbl_80284780: +/* 80284780 002816E0 A0 61 00 2C */ lhz r3, 0x2c(r1) +/* 80284784 002816E4 A0 1E 08 30 */ lhz r0, 0x830(r30) +/* 80284788 002816E8 7C 03 00 40 */ cmplw r3, r0 +/* 8028478C 002816EC 40 82 00 18 */ bne lbl_802847A4 +/* 80284790 002816F0 3B 40 00 01 */ li r26, 1 +/* 80284794 002816F4 48 00 00 10 */ b lbl_802847A4 +lbl_80284798: +/* 80284798 002816F8 38 A5 00 08 */ addi r5, r5, 8 +lbl_8028479C: +/* 8028479C 002816FC 7C 05 20 40 */ cmplw r5, r4 +/* 802847A0 00281700 40 82 FF 8C */ bne lbl_8028472C +lbl_802847A4: +/* 802847A4 00281704 3B 39 00 02 */ addi r25, r25, 2 +lbl_802847A8: +/* 802847A8 00281708 80 BE 09 3C */ lwz r5, 0x93c(r30) +/* 802847AC 0028170C 54 A0 08 3C */ slwi r0, r5, 1 +/* 802847B0 00281710 7C 1C 02 14 */ add r0, r28, r0 +/* 802847B4 00281714 7C 19 00 40 */ cmplw r25, r0 +/* 802847B8 00281718 40 82 FF 14 */ bne lbl_802846CC +/* 802847BC 0028171C 2C 05 00 00 */ cmpwi r5, 0 +/* 802847C0 00281720 38 60 00 00 */ li r3, 0 +/* 802847C4 00281724 40 81 00 40 */ ble lbl_80284804 +/* 802847C8 00281728 2C 05 00 08 */ cmpwi r5, 8 +/* 802847CC 0028172C 38 85 FF F8 */ addi r4, r5, -8 +/* 802847D0 00281730 40 81 00 20 */ ble lbl_802847F0 +/* 802847D4 00281734 38 04 00 07 */ addi r0, r4, 7 +/* 802847D8 00281738 54 00 E8 FE */ srwi r0, r0, 3 +/* 802847DC 0028173C 7C 09 03 A6 */ mtctr r0 +/* 802847E0 00281740 2C 04 00 00 */ cmpwi r4, 0 +/* 802847E4 00281744 40 81 00 0C */ ble lbl_802847F0 +lbl_802847E8: +/* 802847E8 00281748 38 63 00 08 */ addi r3, r3, 8 +/* 802847EC 0028174C 42 00 FF FC */ bdnz lbl_802847E8 +lbl_802847F0: +/* 802847F0 00281750 7C 03 28 50 */ subf r0, r3, r5 +/* 802847F4 00281754 7C 09 03 A6 */ mtctr r0 +/* 802847F8 00281758 7C 03 28 00 */ cmpw r3, r5 +/* 802847FC 0028175C 40 80 00 08 */ bge lbl_80284804 +lbl_80284800: +/* 80284800 00281760 42 00 00 00 */ bdnz lbl_80284800 +lbl_80284804: +/* 80284804 00281764 38 00 00 00 */ li r0, 0 +/* 80284808 00281768 90 1E 09 3C */ stw r0, 0x93c(r30) +lbl_8028480C: +/* 8028480C 0028176C 80 1E 09 80 */ lwz r0, 0x980(r30) +/* 80284810 00281770 3B 20 00 00 */ li r25, 0 +/* 80284814 00281774 2C 00 00 00 */ cmpwi r0, 0 +/* 80284818 00281778 41 82 01 14 */ beq lbl_8028492C +/* 8028481C 0028177C 3B 9E 09 84 */ addi r28, r30, 0x984 +/* 80284820 00281780 7F 98 E3 78 */ mr r24, r28 +/* 80284824 00281784 48 00 00 A4 */ b lbl_802848C8 +lbl_80284828: +/* 80284828 00281788 A0 18 00 00 */ lhz r0, 0(r24) +/* 8028482C 0028178C 7F E3 FB 78 */ mr r3, r31 +/* 80284830 00281790 38 81 00 1C */ addi r4, r1, 0x1c +/* 80284834 00281794 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80284838 00281798 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8028483C 0028179C 4B DC 7D 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80284840 002817A0 7C 64 1B 78 */ mr r4, r3 +/* 80284844 002817A4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80284848 002817A8 4B E2 42 B9 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 8028484C 002817AC 80 A3 00 04 */ lwz r5, 4(r3) +/* 80284850 002817B0 28 05 00 00 */ cmplwi r5, 0 +/* 80284854 002817B4 41 82 00 70 */ beq lbl_802848C4 +/* 80284858 002817B8 80 7E 08 38 */ lwz r3, 0x838(r30) +/* 8028485C 002817BC 7F A7 EB 78 */ mr r7, r29 +/* 80284860 002817C0 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 80284864 002817C4 38 C0 00 00 */ li r6, 0 +/* 80284868 002817C8 54 63 18 38 */ slwi r3, r3, 3 +/* 8028486C 002817CC 7C 9D 1A 14 */ add r4, r29, r3 +/* 80284870 002817D0 48 00 00 1C */ b lbl_8028488C +lbl_80284874: +/* 80284874 002817D4 A0 67 00 04 */ lhz r3, 4(r7) +/* 80284878 002817D8 7C 03 00 40 */ cmplw r3, r0 +/* 8028487C 002817DC 40 82 00 0C */ bne lbl_80284888 +/* 80284880 002817E0 38 C0 00 01 */ li r6, 1 +/* 80284884 002817E4 48 00 00 10 */ b lbl_80284894 +lbl_80284888: +/* 80284888 002817E8 38 E7 00 08 */ addi r7, r7, 8 +lbl_8028488C: +/* 8028488C 002817EC 7C 07 20 40 */ cmplw r7, r4 +/* 80284890 002817F0 40 82 FF E4 */ bne lbl_80284874 +lbl_80284894: +/* 80284894 002817F4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80284898 002817F8 40 82 00 2C */ bne lbl_802848C4 +/* 8028489C 002817FC 28 04 00 00 */ cmplwi r4, 0 +/* 802848A0 00281800 80 05 01 00 */ lwz r0, 0x100(r5) +/* 802848A4 00281804 41 82 00 10 */ beq lbl_802848B4 +/* 802848A8 00281808 90 04 00 00 */ stw r0, 0(r4) +/* 802848AC 0028180C A0 01 00 28 */ lhz r0, 0x28(r1) +/* 802848B0 00281810 B0 04 00 04 */ sth r0, 4(r4) +lbl_802848B4: +/* 802848B4 00281814 80 7E 08 38 */ lwz r3, 0x838(r30) +/* 802848B8 00281818 3B 20 00 01 */ li r25, 1 +/* 802848BC 0028181C 38 03 00 01 */ addi r0, r3, 1 +/* 802848C0 00281820 90 1E 08 38 */ stw r0, 0x838(r30) +lbl_802848C4: +/* 802848C4 00281824 3B 18 00 02 */ addi r24, r24, 2 +lbl_802848C8: +/* 802848C8 00281828 80 BE 09 80 */ lwz r5, 0x980(r30) +/* 802848CC 0028182C 54 A0 08 3C */ slwi r0, r5, 1 +/* 802848D0 00281830 7C 1C 02 14 */ add r0, r28, r0 +/* 802848D4 00281834 7C 18 00 40 */ cmplw r24, r0 +/* 802848D8 00281838 40 82 FF 50 */ bne lbl_80284828 +/* 802848DC 0028183C 2C 05 00 00 */ cmpwi r5, 0 +/* 802848E0 00281840 38 60 00 00 */ li r3, 0 +/* 802848E4 00281844 40 81 00 40 */ ble lbl_80284924 +/* 802848E8 00281848 2C 05 00 08 */ cmpwi r5, 8 +/* 802848EC 0028184C 38 85 FF F8 */ addi r4, r5, -8 +/* 802848F0 00281850 40 81 00 20 */ ble lbl_80284910 +/* 802848F4 00281854 38 04 00 07 */ addi r0, r4, 7 +/* 802848F8 00281858 54 00 E8 FE */ srwi r0, r0, 3 +/* 802848FC 0028185C 7C 09 03 A6 */ mtctr r0 +/* 80284900 00281860 2C 04 00 00 */ cmpwi r4, 0 +/* 80284904 00281864 40 81 00 0C */ ble lbl_80284910 +lbl_80284908: +/* 80284908 00281868 38 63 00 08 */ addi r3, r3, 8 +/* 8028490C 0028186C 42 00 FF FC */ bdnz lbl_80284908 +lbl_80284910: +/* 80284910 00281870 7C 03 28 50 */ subf r0, r3, r5 +/* 80284914 00281874 7C 09 03 A6 */ mtctr r0 +/* 80284918 00281878 7C 03 28 00 */ cmpw r3, r5 +/* 8028491C 0028187C 40 80 00 08 */ bge lbl_80284924 +lbl_80284920: +/* 80284920 00281880 42 00 00 00 */ bdnz lbl_80284920 +lbl_80284924: +/* 80284924 00281884 38 00 00 00 */ li r0, 0 +/* 80284928 00281888 90 1E 09 80 */ stw r0, 0x980(r30) +lbl_8028492C: +/* 8028492C 0028188C 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80284930 00281890 40 82 00 14 */ bne lbl_80284944 +/* 80284934 00281894 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80284938 00281898 40 82 00 0C */ bne lbl_80284944 +/* 8028493C 0028189C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80284940 002818A0 41 82 01 54 */ beq lbl_80284A94 +lbl_80284944: +/* 80284944 002818A4 88 81 00 10 */ lbz r4, 0x10(r1) +/* 80284948 002818A8 7F A3 EB 78 */ mr r3, r29 +/* 8028494C 002818AC 38 A1 00 08 */ addi r5, r1, 8 +/* 80284950 002818B0 98 81 00 08 */ stb r4, 8(r1) +/* 80284954 002818B4 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284958 002818B8 98 81 00 0C */ stb r4, 0xc(r1) +/* 8028495C 002818BC 54 00 18 38 */ slwi r0, r0, 3 +/* 80284960 002818C0 7C 9D 02 14 */ add r4, r29, r0 +/* 80284964 002818C4 4B D8 79 7D */ bl sub_8000c2e0 +/* 80284968 002818C8 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8028496C 002818CC 40 82 00 0C */ bne lbl_80284978 +/* 80284970 002818D0 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80284974 002818D4 41 82 00 30 */ beq lbl_802849A4 +lbl_80284978: +/* 80284978 002818D8 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 8028497C 002818DC 2C 00 00 00 */ cmpwi r0, 0 +/* 80284980 002818E0 40 82 00 24 */ bne lbl_802849A4 +/* 80284984 002818E4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80284988 002818E8 38 00 03 E8 */ li r0, 0x3e8 +/* 8028498C 002818EC 7F C3 F3 78 */ mr r3, r30 +/* 80284990 002818F0 7F E4 FB 78 */ mr r4, r31 +/* 80284994 002818F4 B0 BE 08 30 */ sth r5, 0x830(r30) +/* 80284998 002818F8 90 1E 08 34 */ stw r0, 0x834(r30) +/* 8028499C 002818FC 48 00 03 09 */ bl ResetPlayerHintState__7CPlayerFv +/* 802849A0 00281900 48 00 00 F4 */ b lbl_80284A94 +lbl_802849A4: +/* 802849A4 00281904 7F BA EB 78 */ mr r26, r29 +/* 802849A8 00281908 3B 00 00 00 */ li r24, 0 +/* 802849AC 0028190C 3B 20 00 00 */ li r25, 0 +/* 802849B0 00281910 48 00 00 50 */ b lbl_80284A00 +lbl_802849B4: +/* 802849B4 00281914 A0 1A 00 04 */ lhz r0, 4(r26) +/* 802849B8 00281918 7F E3 FB 78 */ mr r3, r31 +/* 802849BC 0028191C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802849C0 00281920 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802849C4 00281924 4B DC 7B B1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802849C8 00281928 7C 64 1B 78 */ mr r4, r3 +/* 802849CC 0028192C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802849D0 00281930 4B E2 41 31 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802849D4 00281934 80 63 00 04 */ lwz r3, 4(r3) +/* 802849D8 00281938 28 03 00 00 */ cmplwi r3, 0 +/* 802849DC 0028193C 7C 78 1B 78 */ mr r24, r3 +/* 802849E0 00281940 41 82 00 1C */ beq lbl_802849FC +/* 802849E4 00281944 80 63 00 04 */ lwz r3, 4(r3) +/* 802849E8 00281948 80 1F 08 CC */ lwz r0, 0x8cc(r31) +/* 802849EC 0028194C 7C 03 00 00 */ cmpw r3, r0 +/* 802849F0 00281950 40 82 00 0C */ bne lbl_802849FC +/* 802849F4 00281954 3B 20 00 01 */ li r25, 1 +/* 802849F8 00281958 48 00 00 1C */ b lbl_80284A14 +lbl_802849FC: +/* 802849FC 0028195C 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80284A00: +/* 80284A00 00281960 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284A04 00281964 54 00 18 38 */ slwi r0, r0, 3 +/* 80284A08 00281968 7C 1D 02 14 */ add r0, r29, r0 +/* 80284A0C 0028196C 7C 1A 00 40 */ cmplw r26, r0 +/* 80284A10 00281970 40 82 FF A4 */ bne lbl_802849B4 +lbl_80284A14: +/* 80284A14 00281974 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80284A18 00281978 40 82 00 20 */ bne lbl_80284A38 +/* 80284A1C 0028197C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80284A20 00281980 38 00 03 E8 */ li r0, 0x3e8 +/* 80284A24 00281984 7F C3 F3 78 */ mr r3, r30 +/* 80284A28 00281988 7F E4 FB 78 */ mr r4, r31 +/* 80284A2C 0028198C B0 BE 08 30 */ sth r5, 0x830(r30) +/* 80284A30 00281990 90 1E 08 34 */ stw r0, 0x834(r30) +/* 80284A34 00281994 48 00 02 71 */ bl ResetPlayerHintState__7CPlayerFv +lbl_80284A38: +/* 80284A38 00281998 28 18 00 00 */ cmplwi r24, 0 +/* 80284A3C 0028199C 41 82 00 58 */ beq lbl_80284A94 +/* 80284A40 002819A0 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80284A44 002819A4 41 82 00 50 */ beq lbl_80284A94 +/* 80284A48 002819A8 A0 1E 08 30 */ lhz r0, 0x830(r30) +/* 80284A4C 002819AC A0 78 00 08 */ lhz r3, 8(r24) +/* 80284A50 002819B0 7C 00 18 40 */ cmplw r0, r3 +/* 80284A54 002819B4 41 82 00 40 */ beq lbl_80284A94 +/* 80284A58 002819B8 B0 7E 08 30 */ sth r3, 0x830(r30) +/* 80284A5C 002819BC 7F C3 F3 78 */ mr r3, r30 +/* 80284A60 002819C0 7F 04 C3 78 */ mr r4, r24 +/* 80284A64 002819C4 7F E5 FB 78 */ mr r5, r31 +/* 80284A68 002819C8 80 18 01 00 */ lwz r0, 0x100(r24) +/* 80284A6C 002819CC 90 1E 08 34 */ stw r0, 0x834(r30) +/* 80284A70 002819D0 48 00 00 39 */ bl SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager +/* 80284A74 002819D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284A78 002819D8 41 82 00 1C */ beq lbl_80284A94 +/* 80284A7C 002819DC A0 1E 08 30 */ lhz r0, 0x830(r30) +/* 80284A80 002819E0 7F C3 F3 78 */ mr r3, r30 +/* 80284A84 002819E4 7F E5 FB 78 */ mr r5, r31 +/* 80284A88 002819E8 38 81 00 14 */ addi r4, r1, 0x14 +/* 80284A8C 002819EC B0 01 00 14 */ sth r0, 0x14(r1) +/* 80284A90 002819F0 4B FF F9 A1 */ bl DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager +lbl_80284A94: +/* 80284A94 002819F4 BB 01 00 50 */ lmw r24, 0x50(r1) +/* 80284A98 002819F8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80284A9C 002819FC 7C 08 03 A6 */ mtlr r0 +/* 80284AA0 00281A00 38 21 00 70 */ addi r1, r1, 0x70 +/* 80284AA4 00281A04 4E 80 00 20 */ blr + +.global SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager +SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager: +/* 80284AA8 00281A08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284AAC 00281A0C 7C 08 02 A6 */ mflr r0 +/* 80284AB0 00281A10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284AB4 00281A14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80284AB8 00281A18 7C BF 2B 78 */ mr r31, r5 +/* 80284ABC 00281A1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80284AC0 00281A20 7C 9E 23 78 */ mr r30, r4 +/* 80284AC4 00281A24 80 84 01 04 */ lwz r4, 0x104(r4) +/* 80284AC8 00281A28 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284ACC 00281A2C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80284AD0 00281A30 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284AD4 00281A34 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 80284AD8 00281A38 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284ADC 00281A3C 54 84 06 72 */ rlwinm r4, r4, 0, 0x19, 0x19 +/* 80284AE0 00281A40 7C 84 00 34 */ cntlzw r4, r4 +/* 80284AE4 00281A44 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b +/* 80284AE8 00281A48 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284AEC 00281A4C 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 80284AF0 00281A50 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284AF4 00281A54 54 84 06 B4 */ rlwinm r4, r4, 0, 0x1a, 0x1a +/* 80284AF8 00281A58 7C 84 00 34 */ cntlzw r4, r4 +/* 80284AFC 00281A5C 50 80 F7 38 */ rlwimi r0, r4, 0x1e, 0x1c, 0x1c +/* 80284B00 00281A60 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284B04 00281A64 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 80284B08 00281A68 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284B0C 00281A6C 50 80 07 BC */ rlwimi r0, r4, 0, 0x1e, 0x1e +/* 80284B10 00281A70 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284B14 00281A74 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284B18 00281A78 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80284B1C 00281A7C 41 82 00 1C */ beq lbl_80284B38 +/* 80284B20 00281A80 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 80284B24 00281A84 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 80284B28 00281A88 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 80284B2C 00281A8C D0 03 09 D8 */ stfs f0, 0x9d8(r3) +/* 80284B30 00281A90 D0 23 09 DC */ stfs f1, 0x9dc(r3) +/* 80284B34 00281A94 D0 43 09 E0 */ stfs f2, 0x9e0(r3) +lbl_80284B38: +/* 80284B38 00281A98 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B3C 00281A9C 38 00 00 00 */ li r0, 0 +/* 80284B40 00281AA0 88 83 09 C6 */ lbz r4, 0x9c6(r3) +/* 80284B44 00281AA4 50 A4 2E 30 */ rlwimi r4, r5, 5, 0x18, 0x18 +/* 80284B48 00281AA8 98 83 09 C6 */ stb r4, 0x9c6(r3) +/* 80284B4C 00281AAC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B50 00281AB0 88 83 09 C6 */ lbz r4, 0x9c6(r3) +/* 80284B54 00281AB4 50 A4 16 B4 */ rlwimi r4, r5, 2, 0x1a, 0x1a +/* 80284B58 00281AB8 98 83 09 C6 */ stb r4, 0x9c6(r3) +/* 80284B5C 00281ABC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B60 00281AC0 88 83 09 C4 */ lbz r4, 0x9c4(r3) +/* 80284B64 00281AC4 50 A4 F7 7A */ rlwimi r4, r5, 0x1e, 0x1d, 0x1d +/* 80284B68 00281AC8 98 83 09 C4 */ stb r4, 0x9c4(r3) +/* 80284B6C 00281ACC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B70 00281AD0 88 83 09 C6 */ lbz r4, 0x9c6(r3) +/* 80284B74 00281AD4 50 A4 DF 7A */ rlwimi r4, r5, 0x1b, 0x1d, 0x1d +/* 80284B78 00281AD8 98 83 09 C6 */ stb r4, 0x9c6(r3) +/* 80284B7C 00281ADC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B80 00281AE0 88 83 09 C7 */ lbz r4, 0x9c7(r3) +/* 80284B84 00281AE4 50 A4 C6 72 */ rlwimi r4, r5, 0x18, 0x19, 0x19 +/* 80284B88 00281AE8 98 83 09 C7 */ stb r4, 0x9c7(r3) +/* 80284B8C 00281AEC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B90 00281AF0 80 83 07 68 */ lwz r4, 0x768(r3) +/* 80284B94 00281AF4 54 A3 05 EE */ rlwinm r3, r5, 0, 0x17, 0x17 +/* 80284B98 00281AF8 7C 65 00 34 */ cntlzw r5, r3 +/* 80284B9C 00281AFC 88 64 1D E4 */ lbz r3, 0x1de4(r4) +/* 80284BA0 00281B00 50 A3 0E 72 */ rlwimi r3, r5, 1, 0x19, 0x19 +/* 80284BA4 00281B04 98 64 1D E4 */ stb r3, 0x1de4(r4) +/* 80284BA8 00281B08 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284BAC 00281B0C 54 63 05 AD */ rlwinm. r3, r3, 0, 0x16, 0x16 +/* 80284BB0 00281B10 41 82 00 30 */ beq lbl_80284BE0 +/* 80284BB4 00281B14 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284BB8 00281B18 38 80 00 11 */ li r4, 0x11 +/* 80284BBC 00281B1C 80 63 00 00 */ lwz r3, 0(r3) +/* 80284BC0 00281B20 4B E0 CF 01 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284BC4 00281B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284BC8 00281B28 41 82 00 14 */ beq lbl_80284BDC +/* 80284BCC 00281B2C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284BD0 00281B30 38 80 00 00 */ li r4, 0 +/* 80284BD4 00281B34 80 63 00 00 */ lwz r3, 0(r3) +/* 80284BD8 00281B38 4B E0 CD 7D */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284BDC: +/* 80284BDC 00281B3C 38 00 00 01 */ li r0, 1 +lbl_80284BE0: +/* 80284BE0 00281B40 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284BE4 00281B44 54 63 05 6B */ rlwinm. r3, r3, 0, 0x15, 0x15 +/* 80284BE8 00281B48 41 82 00 30 */ beq lbl_80284C18 +/* 80284BEC 00281B4C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284BF0 00281B50 38 80 00 05 */ li r4, 5 +/* 80284BF4 00281B54 80 63 00 00 */ lwz r3, 0(r3) +/* 80284BF8 00281B58 4B E0 CE C9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284BFC 00281B5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284C00 00281B60 41 82 00 14 */ beq lbl_80284C14 +/* 80284C04 00281B64 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C08 00281B68 38 80 00 02 */ li r4, 2 +/* 80284C0C 00281B6C 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C10 00281B70 4B E0 CD 45 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284C14: +/* 80284C14 00281B74 38 00 00 01 */ li r0, 1 +lbl_80284C18: +/* 80284C18 00281B78 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284C1C 00281B7C 54 63 05 29 */ rlwinm. r3, r3, 0, 0x14, 0x14 +/* 80284C20 00281B80 41 82 00 30 */ beq lbl_80284C50 +/* 80284C24 00281B84 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C28 00281B88 38 80 00 09 */ li r4, 9 +/* 80284C2C 00281B8C 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C30 00281B90 4B E0 CE 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284C34 00281B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284C38 00281B98 41 82 00 14 */ beq lbl_80284C4C +/* 80284C3C 00281B9C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C40 00281BA0 38 80 00 03 */ li r4, 3 +/* 80284C44 00281BA4 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C48 00281BA8 4B E0 CD 0D */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284C4C: +/* 80284C4C 00281BAC 38 00 00 01 */ li r0, 1 +lbl_80284C50: +/* 80284C50 00281BB0 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284C54 00281BB4 54 63 04 E7 */ rlwinm. r3, r3, 0, 0x13, 0x13 +/* 80284C58 00281BB8 41 82 00 30 */ beq lbl_80284C88 +/* 80284C5C 00281BBC 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C60 00281BC0 38 80 00 0D */ li r4, 0xd +/* 80284C64 00281BC4 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C68 00281BC8 4B E0 CE 59 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284C6C 00281BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284C70 00281BD0 41 82 00 14 */ beq lbl_80284C84 +/* 80284C74 00281BD4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C78 00281BD8 38 80 00 01 */ li r4, 1 +/* 80284C7C 00281BDC 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C80 00281BE0 4B E0 CC D5 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284C84: +/* 80284C84 00281BE4 38 00 00 01 */ li r0, 1 +lbl_80284C88: +/* 80284C88 00281BE8 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80284C8C 00281BEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284C90 00281BF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80284C94 00281BF4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80284C98 00281BF8 7C 08 03 A6 */ mtlr r0 +/* 80284C9C 00281BFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284CA0 00281C00 4E 80 00 20 */ blr + +.global ResetPlayerHintState__7CPlayerFv +ResetPlayerHintState__7CPlayerFv: +/* 80284CA4 00281C04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284CA8 00281C08 7C 08 02 A6 */ mflr r0 +/* 80284CAC 00281C0C 38 A0 00 01 */ li r5, 1 +/* 80284CB0 00281C10 38 80 00 00 */ li r4, 0 +/* 80284CB4 00281C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284CB8 00281C18 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CBC 00281C1C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80284CC0 00281C20 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CC4 00281C24 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CC8 00281C28 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80284CCC 00281C2C 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CD0 00281C30 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CD4 00281C34 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80284CD8 00281C38 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CDC 00281C3C 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CE0 00281C40 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80284CE4 00281C44 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CE8 00281C48 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80284CEC 00281C4C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80284CF0 00281C50 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80284CF4 00281C54 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80284CF8 00281C58 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80284CFC 00281C5C 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80284D00 00281C60 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284D04 00281C64 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80284D08 00281C68 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284D0C 00281C6C 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80284D10 00281C70 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80284D14 00281C74 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80284D18 00281C78 88 03 09 C7 */ lbz r0, 0x9c7(r3) +/* 80284D1C 00281C7C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80284D20 00281C80 98 03 09 C7 */ stb r0, 0x9c7(r3) +/* 80284D24 00281C84 80 83 07 68 */ lwz r4, 0x768(r3) +/* 80284D28 00281C88 88 04 1D E4 */ lbz r0, 0x1de4(r4) +/* 80284D2C 00281C8C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80284D30 00281C90 98 04 1D E4 */ stb r0, 0x1de4(r4) +/* 80284D34 00281C94 4B D8 CD 55 */ bl ResetControlDirectionInterpolation__7CPlayerFv +/* 80284D38 00281C98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284D3C 00281C9C 7C 08 03 A6 */ mtlr r0 +/* 80284D40 00281CA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284D44 00281CA4 4E 80 00 20 */ blr + +.global GetBallPosition__7CPlayerCFv +GetBallPosition__7CPlayerCFv: +/* 80284D48 00281CA8 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) +/* 80284D4C 00281CAC C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80284D50 00281CB0 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80284D54 00281CB4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80284D58 00281CB8 EC 00 18 2A */ fadds f0, f0, f3 +/* 80284D5C 00281CBC C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80284D60 00281CC0 C0 25 02 7C */ lfs f1, 0x27c(r5) +/* 80284D64 00281CC4 EC 64 18 2A */ fadds f3, f4, f3 +/* 80284D68 00281CC8 D0 03 00 00 */ stfs f0, 0(r3) +/* 80284D6C 00281CCC EC 02 08 2A */ fadds f0, f2, f1 +/* 80284D70 00281CD0 D0 63 00 04 */ stfs f3, 4(r3) +/* 80284D74 00281CD4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80284D78 00281CD8 4E 80 00 20 */ blr + +.global GetEyePosition__7CPlayerCFv +GetEyePosition__7CPlayerCFv: +/* 80284D7C 00281CDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284D80 00281CE0 7C 08 02 A6 */ mflr r0 +/* 80284D84 00281CE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284D88 00281CE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80284D8C 00281CEC 7C 9F 23 78 */ mr r31, r4 +/* 80284D90 00281CF0 93 C1 00 08 */ stw r30, 8(r1) +/* 80284D94 00281CF4 7C 7E 1B 78 */ mr r30, r3 +/* 80284D98 00281CF8 7F E3 FB 78 */ mr r3, r31 +/* 80284D9C 00281CFC 48 00 00 45 */ bl GetEyeHeight__7CPlayerCFv +/* 80284DA0 00281D00 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) +/* 80284DA4 00281D04 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80284DA8 00281D08 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 80284DAC 00281D0C EC 00 18 2A */ fadds f0, f0, f3 +/* 80284DB0 00281D10 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80284DB4 00281D14 EC 64 18 2A */ fadds f3, f4, f3 +/* 80284DB8 00281D18 EC 22 08 2A */ fadds f1, f2, f1 +/* 80284DBC 00281D1C D0 1E 00 00 */ stfs f0, 0(r30) +/* 80284DC0 00281D20 D0 7E 00 04 */ stfs f3, 4(r30) +/* 80284DC4 00281D24 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80284DC8 00281D28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284DCC 00281D2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80284DD0 00281D30 83 C1 00 08 */ lwz r30, 8(r1) +/* 80284DD4 00281D34 7C 08 03 A6 */ mtlr r0 +/* 80284DD8 00281D38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284DDC 00281D3C 4E 80 00 20 */ blr + +.global GetEyeHeight__7CPlayerCFv +GetEyeHeight__7CPlayerCFv: +/* 80284DE0 00281D40 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284DE4 00281D44 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80284DE8 00281D48 C0 63 02 EC */ lfs f3, 0x2ec(r3) +/* 80284DEC 00281D4C C0 04 01 24 */ lfs f0, 0x124(r4) +/* 80284DF0 00281D50 C0 83 02 DC */ lfs f4, 0x2dc(r3) +/* 80284DF4 00281D54 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80284DF8 00281D58 C0 23 09 C8 */ lfs f1, 0x9c8(r3) +/* 80284DFC 00281D5C C0 43 02 D8 */ lfs f2, 0x2d8(r3) +/* 80284E00 00281D60 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80284E04 00281D64 EC 21 00 2A */ fadds f1, f1, f0 +/* 80284E08 00281D68 D0 41 00 08 */ stfs f2, 8(r1) +/* 80284E0C 00281D6C D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80284E10 00281D70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80284E14 00281D74 4E 80 00 20 */ blr + +.global GetUnbiasedEyeHeight__7CPlayerCFv +GetUnbiasedEyeHeight__7CPlayerCFv: +/* 80284E18 00281D78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284E1C 00281D7C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80284E20 00281D80 C0 63 02 EC */ lfs f3, 0x2ec(r3) +/* 80284E24 00281D84 C0 04 01 24 */ lfs f0, 0x124(r4) +/* 80284E28 00281D88 C0 83 02 DC */ lfs f4, 0x2dc(r3) +/* 80284E2C 00281D8C C0 43 02 D8 */ lfs f2, 0x2d8(r3) +/* 80284E30 00281D90 EC 23 00 28 */ fsubs f1, f3, f0 +/* 80284E34 00281D94 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80284E38 00281D98 D0 41 00 08 */ stfs f2, 8(r1) +/* 80284E3C 00281D9C D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80284E40 00281DA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80284E44 00281DA4 4E 80 00 20 */ blr + +.global GetStepUpHeight__7CPlayerCFv +GetStepUpHeight__7CPlayerCFv: +/* 80284E48 00281DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284E4C 00281DAC 7C 08 02 A6 */ mflr r0 +/* 80284E50 00281DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284E54 00281DB4 80 03 02 58 */ lwz r0, 0x258(r3) +/* 80284E58 00281DB8 2C 00 00 01 */ cmpwi r0, 1 +/* 80284E5C 00281DBC 41 82 00 0C */ beq lbl_80284E68 +/* 80284E60 00281DC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80284E64 00281DC4 40 82 00 0C */ bne lbl_80284E70 +lbl_80284E68: +/* 80284E68 00281DC8 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) +/* 80284E6C 00281DCC 48 00 00 08 */ b lbl_80284E74 +lbl_80284E70: +/* 80284E70 00281DD0 4B E9 57 AD */ bl GetStepUpHeight__13CPhysicsActorCFv +lbl_80284E74: +/* 80284E74 00281DD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284E78 00281DD8 7C 08 03 A6 */ mtlr r0 +/* 80284E7C 00281DDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284E80 00281DE0 4E 80 00 20 */ blr + +.global GetStepDownHeight__7CPlayerCFv +GetStepDownHeight__7CPlayerCFv: +/* 80284E84 00281DE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284E88 00281DE8 7C 08 02 A6 */ mflr r0 +/* 80284E8C 00281DEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284E90 00281DF0 80 03 02 58 */ lwz r0, 0x258(r3) +/* 80284E94 00281DF4 2C 00 00 01 */ cmpwi r0, 1 +/* 80284E98 00281DF8 40 82 00 0C */ bne lbl_80284EA4 +/* 80284E9C 00281DFC C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) +/* 80284EA0 00281E00 48 00 00 18 */ b lbl_80284EB8 +lbl_80284EA4: +/* 80284EA4 00281E04 2C 00 00 02 */ cmpwi r0, 2 +/* 80284EA8 00281E08 40 82 00 0C */ bne lbl_80284EB4 +/* 80284EAC 00281E0C C0 22 BD AC */ lfs f1, lbl_805ADACC@sda21(r2) +/* 80284EB0 00281E10 48 00 00 08 */ b lbl_80284EB8 +lbl_80284EB4: +/* 80284EB4 00281E14 4B E9 57 71 */ bl GetStepDownHeight__13CPhysicsActorCFv +lbl_80284EB8: +/* 80284EB8 00281E18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284EBC 00281E1C 7C 08 03 A6 */ mtlr r0 +/* 80284EC0 00281E20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284EC4 00281E24 4E 80 00 20 */ blr + +.global UpdateSubmerged__7CPlayerFRC13CStateManager +UpdateSubmerged__7CPlayerFRC13CStateManager: +/* 80284EC8 00281E28 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80284ECC 00281E2C 7C 08 02 A6 */ mflr r0 +/* 80284ED0 00281E30 90 01 00 94 */ stw r0, 0x94(r1) +/* 80284ED4 00281E34 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80284ED8 00281E38 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80284EDC 00281E3C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80284EE0 00281E40 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80284EE4 00281E44 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80284EE8 00281E48 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80284EEC 00281E4C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80284EF0 00281E50 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80284EF4 00281E54 38 00 00 00 */ li r0, 0 +/* 80284EF8 00281E58 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284EFC 00281E5C 98 03 08 2C */ stb r0, 0x82c(r3) +/* 80284F00 00281E60 7C 7E 1B 78 */ mr r30, r3 +/* 80284F04 00281E64 D0 03 08 28 */ stfs f0, 0x828(r3) +/* 80284F08 00281E68 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80284F0C 00281E6C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f +/* 80284F10 00281E70 41 82 00 CC */ beq lbl_80284FDC +/* 80284F14 00281E74 A0 1E 00 C4 */ lhz r0, 0xc4(r30) +/* 80284F18 00281E78 7C 83 23 78 */ mr r3, r4 +/* 80284F1C 00281E7C 38 81 00 0C */ addi r4, r1, 0xc +/* 80284F20 00281E80 B0 01 00 08 */ sth r0, 8(r1) +/* 80284F24 00281E84 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80284F28 00281E88 4B DC 76 7D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80284F2C 00281E8C 7C 64 1B 78 */ mr r4, r3 +/* 80284F30 00281E90 38 61 00 10 */ addi r3, r1, 0x10 +/* 80284F34 00281E94 4B E2 19 2D */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +/* 80284F38 00281E98 83 E3 00 04 */ lwz r31, 4(r3) +/* 80284F3C 00281E9C 28 1F 00 00 */ cmplwi r31, 0 +/* 80284F40 00281EA0 41 82 00 9C */ beq lbl_80284FDC +/* 80284F44 00281EA4 C3 BE 00 60 */ lfs f29, 0x60(r30) +/* 80284F48 00281EA8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80284F4C 00281EAC C3 DE 00 50 */ lfs f30, 0x50(r30) +/* 80284F50 00281EB0 C3 FE 00 40 */ lfs f31, 0x40(r30) +/* 80284F54 00281EB4 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80284F58 00281EB8 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80284F5C 00281EBC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80284F60 00281EC0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80284F64 00281EC4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80284F68 00281EC8 48 08 F9 91 */ bl Normalize__9CVector3fFv +/* 80284F6C 00281ECC 7F E4 FB 78 */ mr r4, r31 +/* 80284F70 00281ED0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80284F74 00281ED4 4B DF 17 59 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80284F78 00281ED8 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80284F7C 00281EDC 38 00 00 01 */ li r0, 1 +/* 80284F80 00281EE0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80284F84 00281EE4 EC 02 07 B2 */ fmuls f0, f2, f30 +/* 80284F88 00281EE8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80284F8C 00281EEC C0 81 00 48 */ lfs f4, 0x48(r1) +/* 80284F90 00281EF0 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80284F94 00281EF4 EC 03 07 FA */ fmadds f0, f3, f31, f0 +/* 80284F98 00281EF8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80284F9C 00281EFC EC 01 07 7A */ fmadds f0, f1, f29, f0 +/* 80284FA0 00281F00 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80284FA4 00281F04 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80284FA8 00281F08 EC 00 20 28 */ fsubs f0, f0, f4 +/* 80284FAC 00281F0C FC 00 00 50 */ fneg f0, f0 +/* 80284FB0 00281F10 D0 1E 08 28 */ stfs f0, 0x828(r30) +/* 80284FB4 00281F14 80 7F 01 B4 */ lwz r3, 0x1b4(r31) +/* 80284FB8 00281F18 80 63 00 44 */ lwz r3, 0x44(r3) +/* 80284FBC 00281F1C 2C 03 00 02 */ cmpwi r3, 2 +/* 80284FC0 00281F20 41 82 00 10 */ beq lbl_80284FD0 +/* 80284FC4 00281F24 2C 03 00 05 */ cmpwi r3, 5 +/* 80284FC8 00281F28 41 82 00 08 */ beq lbl_80284FD0 +/* 80284FCC 00281F2C 38 00 00 00 */ li r0, 0 +lbl_80284FD0: +/* 80284FD0 00281F30 98 1E 08 2C */ stb r0, 0x82c(r30) +/* 80284FD4 00281F34 7F C3 F3 78 */ mr r3, r30 +/* 80284FD8 00281F38 48 00 00 35 */ bl CheckSubmerged__7CPlayerCFv +lbl_80284FDC: +/* 80284FDC 00281F3C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80284FE0 00281F40 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80284FE4 00281F44 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80284FE8 00281F48 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80284FEC 00281F4C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80284FF0 00281F50 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80284FF4 00281F54 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80284FF8 00281F58 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80284FFC 00281F5C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80285000 00281F60 7C 08 03 A6 */ mtlr r0 +/* 80285004 00281F64 38 21 00 90 */ addi r1, r1, 0x90 +/* 80285008 00281F68 4E 80 00 20 */ blr + +.global CheckSubmerged__7CPlayerCFv +CheckSubmerged__7CPlayerCFv: +/* 8028500C 00281F6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80285010 00281F70 7C 08 02 A6 */ mflr r0 +/* 80285014 00281F74 90 01 00 24 */ stw r0, 0x24(r1) +/* 80285018 00281F78 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8028501C 00281F7C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80285020 00281F80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285024 00281F84 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80285028 00281F88 7C 7F 1B 78 */ mr r31, r3 +/* 8028502C 00281F8C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f +/* 80285030 00281F90 40 82 00 0C */ bne lbl_8028503C +/* 80285034 00281F94 38 60 00 00 */ li r3, 0 +/* 80285038 00281F98 48 00 00 48 */ b lbl_80285080 +lbl_8028503C: +/* 8028503C 00281F9C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80285040 00281FA0 C0 22 BD 8C */ lfs f1, lbl_805ADAAC@sda21(r2) +/* 80285044 00281FA4 C0 04 02 7C */ lfs f0, 0x27c(r4) +/* 80285048 00281FA8 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8028504C 00281FAC 4B FF FD 95 */ bl GetEyeHeight__7CPlayerCFv +/* 80285050 00281FB0 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80285054 00281FB4 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285058 00281FB8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8028505C 00281FBC 2C 00 00 01 */ cmpwi r0, 1 +/* 80285060 00281FC0 FC 20 00 90 */ fmr f1, f0 +/* 80285064 00281FC4 40 82 00 08 */ bne lbl_8028506C +/* 80285068 00281FC8 FC 20 F8 90 */ fmr f1, f31 +lbl_8028506C: +/* 8028506C 00281FCC C0 1F 08 28 */ lfs f0, 0x828(r31) +/* 80285070 00281FD0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80285074 00281FD4 4C 41 13 82 */ cror 2, 1, 2 +/* 80285078 00281FD8 7C 00 00 26 */ mfcr r0 +/* 8028507C 00281FDC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +lbl_80285080: +/* 80285080 00281FE0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80285084 00281FE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80285088 00281FE8 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8028508C 00281FEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80285090 00281FF0 7C 08 03 A6 */ mtlr r0 +/* 80285094 00281FF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80285098 00281FF8 4E 80 00 20 */ blr + +.global Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb +Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb: +/* 8028509C 00281FFC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802850A0 00282000 7C 08 02 A6 */ mflr r0 +/* 802850A4 00282004 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802850A8 00282008 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802850AC 0028200C 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802850B0 00282010 7C DF 33 78 */ mr r31, r6 +/* 802850B4 00282014 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802850B8 00282018 7C BE 2B 78 */ mr r30, r5 +/* 802850BC 0028201C 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 802850C0 00282020 7C 7D 1B 78 */ mr r29, r3 +/* 802850C4 00282024 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 802850C8 00282028 7C 9C 23 78 */ mr r28, r4 +/* 802850CC 0028202C C0 24 00 24 */ lfs f1, 0x24(r4) +/* 802850D0 00282030 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802850D4 00282034 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 802850D8 00282038 C0 24 00 04 */ lfs f1, 4(r4) +/* 802850DC 0028203C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802850E0 00282040 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802850E4 00282044 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802850E8 00282048 4B E9 62 91 */ bl Stop__13CPhysicsActorFv +/* 802850EC 0028204C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802850F0 00282050 48 08 F6 09 */ bl CanBeNormalized__9CVector3fCFv +/* 802850F4 00282054 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802850F8 00282058 41 82 01 78 */ beq lbl_80285270 +/* 802850FC 0028205C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80285100 00282060 48 08 F7 F9 */ bl Normalize__9CVector3fFv +/* 80285104 00282064 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80285108 00282068 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 8028510C 0028206C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80285110 00282070 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 80285114 00282074 38 61 00 6C */ addi r3, r1, 0x6c +/* 80285118 00282078 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8028511C 0028207C 48 08 E9 F5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80285120 00282080 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80285124 00282084 38 81 00 6C */ addi r4, r1, 0x6c +/* 80285128 00282088 48 08 DA 19 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8028512C 0028208C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80285130 00282090 38 A0 00 01 */ li r5, 1 +/* 80285134 00282094 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80285138 00282098 7F A3 EB 78 */ mr r3, r29 +/* 8028513C 0028209C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80285140 002820A0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80285144 002820A4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80285148 002820A8 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8028514C 002820AC 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80285150 002820B0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80285154 002820B4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80285158 002820B8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8028515C 002820BC C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 80285160 002820C0 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 80285164 002820C4 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80285168 002820C8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8028516C 002820CC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80285170 002820D0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80285174 002820D4 4B DC DD 19 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80285178 002820D8 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8028517C 002820DC 38 60 00 00 */ li r3, 0 +/* 80285180 002820E0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285184 002820E4 D0 3D 05 00 */ stfs f1, 0x500(r29) +/* 80285188 002820E8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8028518C 002820EC D0 3D 05 04 */ stfs f1, 0x504(r29) +/* 80285190 002820F0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80285194 002820F4 D0 3D 05 08 */ stfs f1, 0x508(r29) +/* 80285198 002820F8 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8028519C 002820FC D0 3D 05 0C */ stfs f1, 0x50c(r29) +/* 802851A0 00282100 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802851A4 00282104 D0 3D 05 10 */ stfs f1, 0x510(r29) +/* 802851A8 00282108 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802851AC 0028210C D0 3D 05 14 */ stfs f1, 0x514(r29) +/* 802851B0 00282110 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802851B4 00282114 D0 3D 05 30 */ stfs f1, 0x530(r29) +/* 802851B8 00282118 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802851BC 0028211C D0 3D 05 34 */ stfs f1, 0x534(r29) +/* 802851C0 00282120 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802851C4 00282124 D0 3D 05 38 */ stfs f1, 0x538(r29) +/* 802851C8 00282128 C0 7C 00 2C */ lfs f3, 0x2c(r28) +/* 802851CC 0028212C C0 5C 00 1C */ lfs f2, 0x1c(r28) +/* 802851D0 00282130 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 802851D4 00282134 D0 3D 05 24 */ stfs f1, 0x524(r29) +/* 802851D8 00282138 D0 5D 05 28 */ stfs f2, 0x528(r29) +/* 802851DC 0028213C D0 7D 05 2C */ stfs f3, 0x52c(r29) +/* 802851E0 00282140 D0 1D 04 F8 */ stfs f0, 0x4f8(r29) +/* 802851E4 00282144 D0 1D 04 FC */ stfs f0, 0x4fc(r29) +/* 802851E8 00282148 D0 1D 05 3C */ stfs f0, 0x53c(r29) +/* 802851EC 0028214C 80 BD 04 A4 */ lwz r5, 0x4a4(r29) +/* 802851F0 00282150 2C 05 00 00 */ cmpwi r5, 0 +/* 802851F4 00282154 40 81 00 40 */ ble lbl_80285234 +/* 802851F8 00282158 2C 05 00 08 */ cmpwi r5, 8 +/* 802851FC 0028215C 38 85 FF F8 */ addi r4, r5, -8 +/* 80285200 00282160 40 81 00 20 */ ble lbl_80285220 +/* 80285204 00282164 38 04 00 07 */ addi r0, r4, 7 +/* 80285208 00282168 54 00 E8 FE */ srwi r0, r0, 3 +/* 8028520C 0028216C 7C 09 03 A6 */ mtctr r0 +/* 80285210 00282170 2C 04 00 00 */ cmpwi r4, 0 +/* 80285214 00282174 40 81 00 0C */ ble lbl_80285220 +lbl_80285218: +/* 80285218 00282178 38 63 00 08 */ addi r3, r3, 8 +/* 8028521C 0028217C 42 00 FF FC */ bdnz lbl_80285218 +lbl_80285220: +/* 80285220 00282180 7C 03 28 50 */ subf r0, r3, r5 +/* 80285224 00282184 7C 09 03 A6 */ mtctr r0 +/* 80285228 00282188 7C 03 28 00 */ cmpw r3, r5 +/* 8028522C 0028218C 40 80 00 08 */ bge lbl_80285234 +lbl_80285230: +/* 80285230 00282190 42 00 00 00 */ bdnz lbl_80285230 +lbl_80285234: +/* 80285234 00282194 38 00 00 00 */ li r0, 0 +/* 80285238 00282198 90 1D 04 A4 */ stw r0, 0x4a4(r29) +/* 8028523C 0028219C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80285240 002821A0 D0 1D 05 40 */ stfs f0, 0x540(r29) +/* 80285244 002821A4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80285248 002821A8 D0 1D 05 44 */ stfs f0, 0x544(r29) +/* 8028524C 002821AC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285250 002821B0 D0 1D 05 48 */ stfs f0, 0x548(r29) +/* 80285254 002821B4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80285258 002821B8 D0 1D 05 4C */ stfs f0, 0x54c(r29) +/* 8028525C 002821BC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80285260 002821C0 D0 1D 05 50 */ stfs f0, 0x550(r29) +/* 80285264 002821C4 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285268 002821C8 D0 1D 05 54 */ stfs f0, 0x554(r29) +/* 8028526C 002821CC 48 00 00 28 */ b lbl_80285294 +lbl_80285270: +/* 80285270 002821D0 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 80285274 002821D4 7F A3 EB 78 */ mr r3, r29 +/* 80285278 002821D8 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 8028527C 002821DC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80285280 002821E0 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80285284 002821E4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80285288 002821E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8028528C 002821EC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80285290 002821F0 4B DC DB FD */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80285294: +/* 80285294 002821F4 88 1D 09 C5 */ lbz r0, 0x9c5(r29) +/* 80285298 002821F8 38 60 00 01 */ li r3, 1 +/* 8028529C 002821FC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 802852A0 00282200 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802852A4 00282204 98 1D 09 C5 */ stb r0, 0x9c5(r29) +/* 802852A8 00282208 7F A3 EB 78 */ mr r3, r29 +/* 802852AC 0028220C 4B FF F0 C1 */ bl SetEyeZBias__7CPlayerFf +/* 802852B0 00282210 7F A4 EB 78 */ mr r4, r29 +/* 802852B4 00282214 38 61 00 38 */ addi r3, r1, 0x38 +/* 802852B8 00282218 4B E9 63 BD */ bl GetMotionState__13CPhysicsActorCFv +/* 802852BC 0028221C 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 802852C0 00282220 7F A3 EB 78 */ mr r3, r29 +/* 802852C4 00282224 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802852C8 00282228 7F C5 F3 78 */ mr r5, r30 +/* 802852CC 0028222C 38 80 00 00 */ li r4, 0 +/* 802852D0 00282230 90 DD 01 F4 */ stw r6, 0x1f4(r29) +/* 802852D4 00282234 90 1D 01 F8 */ stw r0, 0x1f8(r29) +/* 802852D8 00282238 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802852DC 0028223C 90 1D 01 FC */ stw r0, 0x1fc(r29) +/* 802852E0 00282240 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 802852E4 00282244 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802852E8 00282248 90 DD 02 00 */ stw r6, 0x200(r29) +/* 802852EC 0028224C 90 1D 02 04 */ stw r0, 0x204(r29) +/* 802852F0 00282250 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 802852F4 00282254 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802852F8 00282258 90 DD 02 08 */ stw r6, 0x208(r29) +/* 802852FC 0028225C 90 1D 02 0C */ stw r0, 0x20c(r29) +/* 80285300 00282260 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 80285304 00282264 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80285308 00282268 90 DD 02 10 */ stw r6, 0x210(r29) +/* 8028530C 0028226C 90 1D 02 14 */ stw r0, 0x214(r29) +/* 80285310 00282270 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80285314 00282274 90 1D 02 18 */ stw r0, 0x218(r29) +/* 80285318 00282278 80 C1 00 60 */ lwz r6, 0x60(r1) +/* 8028531C 0028227C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80285320 00282280 90 DD 02 1C */ stw r6, 0x21c(r29) +/* 80285324 00282284 90 1D 02 20 */ stw r0, 0x220(r29) +/* 80285328 00282288 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8028532C 0028228C 90 1D 02 24 */ stw r0, 0x224(r29) +/* 80285330 00282290 48 00 10 BD */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 80285334 00282294 38 61 00 9C */ addi r3, r1, 0x9c +/* 80285338 00282298 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8028533C 0028229C 48 08 D8 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80285340 002822A0 7F A4 EB 78 */ mr r4, r29 +/* 80285344 002822A4 38 61 00 08 */ addi r3, r1, 8 +/* 80285348 002822A8 4B FF FA 35 */ bl GetEyePosition__7CPlayerCFv +/* 8028534C 002822AC C0 41 00 08 */ lfs f2, 8(r1) +/* 80285350 002822B0 7F C5 F3 78 */ mr r5, r30 +/* 80285354 002822B4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80285358 002822B8 38 81 00 9C */ addi r4, r1, 0x9c +/* 8028535C 002822BC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80285360 002822C0 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 80285364 002822C4 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80285368 002822C8 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8028536C 002822CC 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80285370 002822D0 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80285374 002822D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80285378 002822D8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8028537C 002822DC 7D 89 03 A6 */ mtctr r12 +/* 80285380 002822E0 4E 80 04 21 */ bctrl +/* 80285384 002822E4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80285388 002822E8 41 82 00 24 */ beq lbl_802853AC +/* 8028538C 002822EC 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80285390 002822F0 7F C5 F3 78 */ mr r5, r30 +/* 80285394 002822F4 38 81 00 9C */ addi r4, r1, 0x9c +/* 80285398 002822F8 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8028539C 002822FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802853A0 00282300 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 802853A4 00282304 7D 89 03 A6 */ mtctr r12 +/* 802853A8 00282308 4E 80 04 21 */ bctrl +lbl_802853AC: +/* 802853AC 0028230C 7F A3 EB 78 */ mr r3, r29 +/* 802853B0 00282310 7F C5 F3 78 */ mr r5, r30 +/* 802853B4 00282314 38 9D 00 34 */ addi r4, r29, 0x34 +/* 802853B8 00282318 4B D9 3B 11 */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager +/* 802853BC 0028231C 7F A3 EB 78 */ mr r3, r29 +/* 802853C0 00282320 7F C5 F3 78 */ mr r5, r30 +/* 802853C4 00282324 38 80 00 01 */ li r4, 1 +/* 802853C8 00282328 4B EF 5D D5 */ bl SetOrbitRequest__7CPlayerF19EPlayerOrbitRequestR13CStateManager +/* 802853CC 0028232C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802853D0 00282330 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 802853D4 00282334 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 802853D8 00282338 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 802853DC 0028233C 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 802853E0 00282340 7C 08 03 A6 */ mtlr r0 +/* 802853E4 00282344 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802853E8 00282348 4E 80 00 20 */ blr + +.global BombJump__7CPlayerFRC9CVector3fR13CStateManager +BombJump__7CPlayerFRC9CVector3fR13CStateManager: +/* 802853EC 0028234C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802853F0 00282350 7C 08 02 A6 */ mflr r0 +/* 802853F4 00282354 90 01 00 54 */ stw r0, 0x54(r1) +/* 802853F8 00282358 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802853FC 0028235C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80285400 00282360 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80285404 00282364 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80285408 00282368 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8028540C 0028236C 7C 7F 1B 78 */ mr r31, r3 +/* 80285410 00282370 7C 9D 23 78 */ mr r29, r4 +/* 80285414 00282374 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80285418 00282378 7C BE 2B 78 */ mr r30, r5 +/* 8028541C 0028237C 2C 00 00 01 */ cmpwi r0, 1 +/* 80285420 00282380 40 82 02 A4 */ bne lbl_802856C4 +/* 80285424 00282384 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 80285428 00282388 4B E6 9B 71 */ bl GetBombJumpState__10CMorphBallCFv +/* 8028542C 0028238C 2C 03 00 01 */ cmpwi r3, 1 +/* 80285430 00282390 41 82 02 94 */ beq lbl_802856C4 +/* 80285434 00282394 C0 82 BD A0 */ lfs f4, lbl_805ADAC0@sda21(r2) +/* 80285438 00282398 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8028543C 0028239C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80285440 002823A0 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80285444 002823A4 EC 20 20 2A */ fadds f1, f0, f4 +/* 80285448 002823A8 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028544C 002823AC EC 62 20 2A */ fadds f3, f2, f4 +/* 80285450 002823B0 C0 5D 00 00 */ lfs f2, 0(r29) +/* 80285454 002823B4 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80285458 002823B8 C0 E3 02 7C */ lfs f7, 0x27c(r3) +/* 8028545C 002823BC C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 80285460 002823C0 EC C3 10 28 */ fsubs f6, f3, f2 +/* 80285464 002823C4 EC 05 01 72 */ fmuls f0, f5, f5 +/* 80285468 002823C8 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8028546C 002823CC EC 61 38 2A */ fadds f3, f1, f7 +/* 80285470 002823D0 C1 03 01 20 */ lfs f8, 0x120(r3) +/* 80285474 002823D4 EC 26 01 BA */ fmadds f1, f6, f6, f0 +/* 80285478 002823D8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8028547C 002823DC EC 08 02 32 */ fmuls f0, f8, f8 +/* 80285480 002823E0 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 80285484 002823E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285488 002823E8 40 80 02 3C */ bge lbl_802856C4 +/* 8028548C 002823EC EC 24 01 72 */ fmuls f1, f4, f5 +/* 80285490 002823F0 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 80285494 002823F4 FC 00 38 50 */ fneg f0, f7 +/* 80285498 002823F8 EC 24 09 BA */ fmadds f1, f4, f6, f1 +/* 8028549C 002823FC EC 22 08 FA */ fmadds f1, f2, f3, f1 +/* 802854A0 00282400 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802854A4 00282404 4C 41 13 82 */ cror 2, 1, 2 +/* 802854A8 00282408 40 82 02 1C */ bne lbl_802856C4 +/* 802854AC 0028240C C0 03 00 C4 */ lfs f0, 0xc4(r3) +/* 802854B0 00282410 C8 22 BE 08 */ lfd f1, lbl_805ADB28@sda21(r2) +/* 802854B4 00282414 FC 40 02 10 */ fabs f2, f0 +/* 802854B8 00282418 C0 03 01 1C */ lfs f0, 0x11c(r3) +/* 802854BC 0028241C C8 62 BE 10 */ lfd f3, lbl_805ADB30@sda21(r2) +/* 802854C0 00282420 FC 21 00 B2 */ fmul f1, f1, f2 +/* 802854C4 00282424 FC 81 00 32 */ fmul f4, f1, f0 +/* 802854C8 00282428 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802854CC 0028242C 40 81 00 58 */ ble lbl_80285524 +/* 802854D0 00282430 FC 20 20 34 */ frsqrte f1, f4 +/* 802854D4 00282434 C8 62 BE 18 */ lfd f3, lbl_805ADB38@sda21(r2) +/* 802854D8 00282438 C8 42 BE 20 */ lfd f2, lbl_805ADB40@sda21(r2) +/* 802854DC 0028243C FC 01 00 72 */ fmul f0, f1, f1 +/* 802854E0 00282440 FC 23 00 72 */ fmul f1, f3, f1 +/* 802854E4 00282444 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 802854E8 00282448 FC 21 00 32 */ fmul f1, f1, f0 +/* 802854EC 0028244C FC 01 00 72 */ fmul f0, f1, f1 +/* 802854F0 00282450 FC 23 00 72 */ fmul f1, f3, f1 +/* 802854F4 00282454 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 802854F8 00282458 FC 21 00 32 */ fmul f1, f1, f0 +/* 802854FC 0028245C FC 01 00 72 */ fmul f0, f1, f1 +/* 80285500 00282460 FC 23 00 72 */ fmul f1, f3, f1 +/* 80285504 00282464 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80285508 00282468 FC 21 00 32 */ fmul f1, f1, f0 +/* 8028550C 0028246C FC 01 00 72 */ fmul f0, f1, f1 +/* 80285510 00282470 FC 23 00 72 */ fmul f1, f3, f1 +/* 80285514 00282474 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80285518 00282478 FC 01 00 32 */ fmul f0, f1, f0 +/* 8028551C 0028247C FC 64 00 32 */ fmul f3, f4, f0 +/* 80285520 00282480 48 00 00 2C */ b lbl_8028554C +lbl_80285524: +/* 80285524 00282484 FC 03 20 00 */ fcmpu cr0, f3, f4 +/* 80285528 00282488 40 82 00 08 */ bne lbl_80285530 +/* 8028552C 0028248C 48 00 00 20 */ b lbl_8028554C +lbl_80285530: +/* 80285530 00282490 FC 04 18 00 */ fcmpu cr0, f4, f3 +/* 80285534 00282494 41 82 00 10 */ beq lbl_80285544 +/* 80285538 00282498 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 8028553C 0028249C C0 63 8B A0 */ lfs f3, lbl_805A8BA0@l(r3) +/* 80285540 002824A0 48 00 00 0C */ b lbl_8028554C +lbl_80285544: +/* 80285544 002824A4 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 80285548 002824A8 C0 63 8B A4 */ lfs f3, lbl_805A8BA4@l(r3) +lbl_8028554C: +/* 8028554C 002824AC FF E0 18 18 */ frsp f31, f3 +/* 80285550 002824B0 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 80285554 002824B4 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) +/* 80285558 002824B8 7F C4 F3 78 */ mr r4, r30 +/* 8028555C 002824BC 38 A0 00 0B */ li r5, 0xb +/* 80285560 002824C0 38 C0 00 01 */ li r6, 1 +/* 80285564 002824C4 4B FA 8C E1 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +/* 80285568 002824C8 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 8028556C 002824CC D0 1F 02 A0 */ stfs f0, 0x2a0(r31) +/* 80285570 002824D0 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 80285574 002824D4 2C 00 00 02 */ cmpwi r0, 2 +/* 80285578 002824D8 40 82 00 0C */ bne lbl_80285584 +/* 8028557C 002824DC 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 80285580 002824E0 48 00 00 08 */ b lbl_80285588 +lbl_80285584: +/* 80285584 002824E4 38 00 00 04 */ li r0, 4 +lbl_80285588: +/* 80285588 002824E8 2C 00 00 05 */ cmpwi r0, 5 +/* 8028558C 002824EC 41 82 00 30 */ beq lbl_802855BC +/* 80285590 002824F0 40 80 00 10 */ bge lbl_802855A0 +/* 80285594 002824F4 2C 00 00 04 */ cmpwi r0, 4 +/* 80285598 002824F8 40 80 00 14 */ bge lbl_802855AC +/* 8028559C 002824FC 48 00 00 3C */ b lbl_802855D8 +lbl_802855A0: +/* 802855A0 00282500 2C 00 00 07 */ cmpwi r0, 7 +/* 802855A4 00282504 40 80 00 34 */ bge lbl_802855D8 +/* 802855A8 00282508 48 00 00 24 */ b lbl_802855CC +lbl_802855AC: +/* 802855AC 0028250C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802855B0 00282510 C0 03 00 E0 */ lfs f0, 0xe0(r3) +/* 802855B4 00282514 EF FF 00 32 */ fmuls f31, f31, f0 +/* 802855B8 00282518 48 00 00 20 */ b lbl_802855D8 +lbl_802855BC: +/* 802855BC 0028251C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802855C0 00282520 C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 802855C4 00282524 EF FF 00 32 */ fmuls f31, f31, f0 +/* 802855C8 00282528 48 00 00 10 */ b lbl_802855D8 +lbl_802855CC: +/* 802855CC 0028252C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802855D0 00282530 C0 03 00 F0 */ lfs f0, 0xf0(r3) +/* 802855D4 00282534 EF FF 00 32 */ fmuls f31, f31, f0 +lbl_802855D8: +/* 802855D8 00282538 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802855DC 0028253C 7F E3 FB 78 */ mr r3, r31 +/* 802855E0 00282540 D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 802855E4 00282544 38 81 00 1C */ addi r4, r1, 0x1c +/* 802855E8 00282548 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802855EC 0028254C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802855F0 00282550 4B E9 56 B1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 802855F4 00282554 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 802855F8 00282558 C0 22 BD AC */ lfs f1, lbl_805ADACC@sda21(r2) +/* 802855FC 0028255C 4B E7 36 95 */ bl SetDamageTimer__10CMorphBallFf +/* 80285600 00282560 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 80285604 00282564 4B E6 E8 1D */ bl CancelBoosting__10CMorphBallFv +/* 80285608 00282568 80 7F 09 D0 */ lwz r3, 0x9d0(r31) +/* 8028560C 0028256C 2C 03 00 00 */ cmpwi r3, 0 +/* 80285610 00282570 40 81 00 28 */ ble lbl_80285638 +/* 80285614 00282574 2C 03 00 02 */ cmpwi r3, 2 +/* 80285618 00282578 40 81 00 14 */ ble lbl_8028562C +/* 8028561C 0028257C 38 00 00 00 */ li r0, 0 +/* 80285620 00282580 90 1F 09 D0 */ stw r0, 0x9d0(r31) +/* 80285624 00282584 90 1F 09 D4 */ stw r0, 0x9d4(r31) +/* 80285628 00282588 48 00 00 48 */ b lbl_80285670 +lbl_8028562C: +/* 8028562C 0028258C 38 03 00 01 */ addi r0, r3, 1 +/* 80285630 00282590 90 1F 09 D0 */ stw r0, 0x9d0(r31) +/* 80285634 00282594 48 00 00 3C */ b lbl_80285670 +lbl_80285638: +/* 80285638 00282598 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8028563C 0028259C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80285640 002825A0 80 83 00 80 */ lwz r4, 0x80(r3) +/* 80285644 002825A4 A0 64 03 DC */ lhz r3, 0x3dc(r4) +/* 80285648 002825A8 7C 03 00 40 */ cmplw r3, r0 +/* 8028564C 002825AC 41 82 00 24 */ beq lbl_80285670 +/* 80285650 002825B0 C0 24 03 E0 */ lfs f1, 0x3e0(r4) +/* 80285654 002825B4 C0 02 BE 28 */ lfs f0, lbl_805ADB48@sda21(r2) +/* 80285658 002825B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028565C 002825BC 40 80 00 14 */ bge lbl_80285670 +/* 80285660 002825C0 38 60 00 01 */ li r3, 1 +/* 80285664 002825C4 38 00 00 02 */ li r0, 2 +/* 80285668 002825C8 90 7F 09 D0 */ stw r3, 0x9d0(r31) +/* 8028566C 002825CC 90 1F 09 D4 */ stw r0, 0x9d4(r31) +lbl_80285670: +/* 80285670 002825D0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80285674 002825D4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80285678 002825D8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8028567C 002825DC 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80285680 002825E0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80285684 002825E4 38 61 00 08 */ addi r3, r1, 8 +/* 80285688 002825E8 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8028568C 002825EC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80285690 002825F0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80285694 002825F4 38 80 05 BC */ li r4, 0x5bc +/* 80285698 002825F8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8028569C 002825FC 38 E0 00 00 */ li r7, 0 +/* 802856A0 00282600 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802856A4 00282604 39 00 00 00 */ li r8, 0 +/* 802856A8 00282608 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802856AC 0028260C 48 06 4C 05 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 802856B0 00282610 80 01 00 08 */ lwz r0, 8(r1) +/* 802856B4 00282614 7F E3 FB 78 */ mr r3, r31 +/* 802856B8 00282618 38 81 00 0C */ addi r4, r1, 0xc +/* 802856BC 0028261C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802856C0 00282620 4B D8 BA CD */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +lbl_802856C4: +/* 802856C4 00282624 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802856C8 00282628 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802856CC 0028262C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802856D0 00282630 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802856D4 00282634 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802856D8 00282638 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802856DC 0028263C 7C 08 03 A6 */ mtlr r0 +/* 802856E0 00282640 38 21 00 50 */ addi r1, r1, 0x50 +/* 802856E4 00282644 4E 80 00 20 */ blr + +.global CreateTransformFromMovementDirection__7CPlayerCFv +CreateTransformFromMovementDirection__7CPlayerCFv: +/* 802856E8 00282648 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802856EC 0028264C 7C 08 02 A6 */ mflr r0 +/* 802856F0 00282650 90 01 00 44 */ stw r0, 0x44(r1) +/* 802856F4 00282654 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802856F8 00282658 7C 9F 23 78 */ mr r31, r4 +/* 802856FC 0028265C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80285700 00282660 7C 7E 1B 78 */ mr r30, r3 +/* 80285704 00282664 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285708 00282668 C0 44 05 0C */ lfs f2, 0x50c(r4) +/* 8028570C 0028266C C0 24 05 10 */ lfs f1, 0x510(r4) +/* 80285710 00282670 C0 04 05 14 */ lfs f0, 0x514(r4) +/* 80285714 00282674 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80285718 00282678 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8028571C 0028267C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80285720 00282680 48 08 EF D9 */ bl CanBeNormalized__9CVector3fCFv +/* 80285724 00282684 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285728 00282688 41 82 00 10 */ beq lbl_80285738 +/* 8028572C 0028268C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285730 00282690 48 08 F1 C9 */ bl Normalize__9CVector3fFv +/* 80285734 00282694 48 00 00 18 */ b lbl_8028574C +lbl_80285738: +/* 80285738 00282698 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028573C 0028269C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285740 002826A0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80285744 002826A4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80285748 002826A8 D0 21 00 28 */ stfs f1, 0x28(r1) +lbl_8028574C: +/* 8028574C 002826AC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80285750 002826B0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80285754 002826B4 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80285758 002826B8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8028575C 002826BC FC 40 00 50 */ fneg f2, f0 +/* 80285760 002826C0 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285764 002826C4 C0 BF 00 60 */ lfs f5, 0x60(r31) +/* 80285768 002826C8 7F C3 F3 78 */ mr r3, r30 +/* 8028576C 002826CC C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 80285770 002826D0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80285774 002826D4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80285778 002826D8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8028577C 002826DC D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80285780 002826E0 38 E1 00 08 */ addi r7, r1, 8 +/* 80285784 002826E4 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80285788 002826E8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8028578C 002826EC D0 01 00 08 */ stfs f0, 8(r1) +/* 80285790 002826F0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80285794 002826F4 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80285798 002826F8 48 08 D6 C5 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 8028579C 002826FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802857A0 00282700 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802857A4 00282704 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802857A8 00282708 7C 08 03 A6 */ mtlr r0 +/* 802857AC 0028270C 38 21 00 40 */ addi r1, r1, 0x40 +/* 802857B0 00282710 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__7CPlayerCFv +GetCollisionPrimitive__7CPlayerCFv: +/* 802857B4 00282714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802857B8 00282718 7C 08 02 A6 */ mflr r0 +/* 802857BC 0028271C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802857C0 00282720 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 802857C4 00282724 2C 00 00 01 */ cmpwi r0, 1 +/* 802857C8 00282728 41 82 00 20 */ beq lbl_802857E8 +/* 802857CC 0028272C 40 80 00 10 */ bge lbl_802857DC +/* 802857D0 00282730 2C 00 00 00 */ cmpwi r0, 0 +/* 802857D4 00282734 40 80 00 1C */ bge lbl_802857F0 +/* 802857D8 00282738 48 00 00 28 */ b lbl_80285800 +lbl_802857DC: +/* 802857DC 0028273C 2C 00 00 04 */ cmpwi r0, 4 +/* 802857E0 00282740 40 80 00 20 */ bge lbl_80285800 +/* 802857E4 00282744 48 00 00 14 */ b lbl_802857F8 +lbl_802857E8: +/* 802857E8 00282748 48 00 00 2D */ bl sub_80285814 +/* 802857EC 0028274C 48 00 00 18 */ b lbl_80285804 +lbl_802857F0: +/* 802857F0 00282750 4B E9 52 65 */ bl GetCollisionPrimitive__13CPhysicsActorCFv +/* 802857F4 00282754 48 00 00 10 */ b lbl_80285804 +lbl_802857F8: +/* 802857F8 00282758 4B E9 52 5D */ bl GetCollisionPrimitive__13CPhysicsActorCFv +/* 802857FC 0028275C 48 00 00 08 */ b lbl_80285804 +lbl_80285800: +/* 80285800 00282760 4B E9 52 55 */ bl GetCollisionPrimitive__13CPhysicsActorCFv +lbl_80285804: +/* 80285804 00282764 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80285808 00282768 7C 08 03 A6 */ mtlr r0 +/* 8028580C 0028276C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80285810 00282770 4E 80 00 20 */ blr + +.global sub_80285814 +sub_80285814: +/* 80285814 00282774 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80285818 00282778 38 63 00 38 */ addi r3, r3, 0x38 +/* 8028581C 0028277C 4E 80 00 20 */ blr + +.global GetPrimitiveTransform__7CPlayerCFv +GetPrimitiveTransform__7CPlayerCFv: +/* 80285820 00282780 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80285824 00282784 7C 08 02 A6 */ mflr r0 +/* 80285828 00282788 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028582C 0028278C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285830 00282790 7C 7F 1B 78 */ mr r31, r3 +/* 80285834 00282794 4B E9 51 99 */ bl GetPrimitiveTransform__13CPhysicsActorCFv +/* 80285838 00282798 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028583C 0028279C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80285840 002827A0 7C 08 03 A6 */ mtlr r0 +/* 80285844 002827A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80285848 002827A8 4E 80 00 20 */ blr + +.global CollidedWith__7CPlayerFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +CollidedWith__7CPlayerFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: +/* 8028584C 002827AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80285850 002827B0 7C 08 02 A6 */ mflr r0 +/* 80285854 002827B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80285858 002827B8 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8028585C 002827BC 2C 00 00 00 */ cmpwi r0, 0 +/* 80285860 002827C0 41 82 00 0C */ beq lbl_8028586C +/* 80285864 002827C4 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80285868 002827C8 4B E6 B0 A5 */ bl CollidedWith__10CMorphBallFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +lbl_8028586C: +/* 8028586C 002827CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80285870 002827D0 7C 08 03 A6 */ mtlr r0 +/* 80285874 002827D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80285878 002827D8 4E 80 00 20 */ blr + +.global GetActualBallMaxVelocity__7CPlayerCFf +GetActualBallMaxVelocity__7CPlayerCFf: +/* 8028587C 002827DC 80 A3 02 B0 */ lwz r5, 0x2b0(r3) +/* 80285880 002827E0 2C 05 00 02 */ cmpwi r5, 2 +/* 80285884 002827E4 40 82 00 0C */ bne lbl_80285890 +/* 80285888 002827E8 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 8028588C 002827EC 48 00 00 08 */ b lbl_80285894 +lbl_80285890: +/* 80285890 002827F0 38 00 00 04 */ li r0, 4 +lbl_80285894: +/* 80285894 002827F4 80 CD A1 1C */ lwz r6, gpTweakBall@sda21(r13) +/* 80285898 002827F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028589C 002827FC C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 802858A0 00282800 2C 05 00 02 */ cmpwi r5, 2 +/* 802858A4 00282804 7C 86 02 14 */ add r4, r6, r0 +/* 802858A8 00282808 C0 64 00 24 */ lfs f3, 0x24(r4) +/* 802858AC 0028280C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802858B0 00282810 40 82 00 0C */ bne lbl_802858BC +/* 802858B4 00282814 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 802858B8 00282818 48 00 00 08 */ b lbl_802858C0 +lbl_802858BC: +/* 802858BC 0028281C 38 00 00 04 */ li r0, 4 +lbl_802858C0: +/* 802858C0 00282820 54 00 10 3A */ slwi r0, r0, 2 +/* 802858C4 00282824 2C 05 00 02 */ cmpwi r5, 2 +/* 802858C8 00282828 7C 86 02 14 */ add r4, r6, r0 +/* 802858CC 0028282C C0 84 00 44 */ lfs f4, 0x44(r4) +/* 802858D0 00282830 40 82 00 0C */ bne lbl_802858DC +/* 802858D4 00282834 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 802858D8 00282838 48 00 00 08 */ b lbl_802858E0 +lbl_802858DC: +/* 802858DC 0028283C 38 00 00 04 */ li r0, 4 +lbl_802858E0: +/* 802858E0 00282840 54 00 10 3A */ slwi r0, r0, 2 +/* 802858E4 00282844 EC 40 01 32 */ fmuls f2, f0, f4 +/* 802858E8 00282848 7C 66 02 14 */ add r3, r6, r0 +/* 802858EC 0028284C C0 03 00 04 */ lfs f0, 4(r3) +/* 802858F0 00282850 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802858F4 00282854 EC 02 00 24 */ fdivs f0, f2, f0 +/* 802858F8 00282858 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802858FC 0028285C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80285900 00282860 FC 20 00 50 */ fneg f1, f0 +/* 80285904 00282864 4E 80 00 20 */ blr + +.global GetActualFirstPersonMaxVelocity__7CPlayerCFv +GetActualFirstPersonMaxVelocity__7CPlayerCFv: +/* 80285908 00282868 80 A3 02 B0 */ lwz r5, 0x2b0(r3) +/* 8028590C 0028286C 2C 05 00 02 */ cmpwi r5, 2 +/* 80285910 00282870 40 82 00 0C */ bne lbl_8028591C +/* 80285914 00282874 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 80285918 00282878 48 00 00 08 */ b lbl_80285920 +lbl_8028591C: +/* 8028591C 0028287C 38 00 00 04 */ li r0, 4 +lbl_80285920: +/* 80285920 00282880 2C 00 00 00 */ cmpwi r0, 0 +/* 80285924 00282884 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) +/* 80285928 00282888 41 80 00 0C */ blt lbl_80285934 +/* 8028592C 0028288C 2C 00 00 07 */ cmpwi r0, 7 +/* 80285930 00282890 40 81 00 08 */ ble lbl_80285938 +lbl_80285934: +/* 80285934 00282894 38 00 00 00 */ li r0, 0 +lbl_80285938: +/* 80285938 00282898 54 00 10 3A */ slwi r0, r0, 2 +/* 8028593C 0028289C C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 80285940 002828A0 7C 86 02 14 */ add r4, r6, r0 +/* 80285944 002828A4 2C 05 00 02 */ cmpwi r5, 2 +/* 80285948 002828A8 C0 64 00 44 */ lfs f3, 0x44(r4) +/* 8028594C 002828AC EC 03 00 32 */ fmuls f0, f3, f0 +/* 80285950 002828B0 40 82 00 0C */ bne lbl_8028595C +/* 80285954 002828B4 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 80285958 002828B8 48 00 00 08 */ b lbl_80285960 +lbl_8028595C: +/* 8028595C 002828BC 38 00 00 04 */ li r0, 4 +lbl_80285960: +/* 80285960 002828C0 2C 00 00 00 */ cmpwi r0, 0 +/* 80285964 002828C4 41 80 00 0C */ blt lbl_80285970 +/* 80285968 002828C8 2C 00 00 07 */ cmpwi r0, 7 +/* 8028596C 002828CC 40 81 00 08 */ ble lbl_80285974 +lbl_80285970: +/* 80285970 002828D0 38 00 00 00 */ li r0, 0 +lbl_80285974: +/* 80285974 002828D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80285978 002828D8 2C 05 00 02 */ cmpwi r5, 2 +/* 8028597C 002828DC 7C 86 02 14 */ add r4, r6, r0 +/* 80285980 002828E0 C0 84 00 A4 */ lfs f4, 0xa4(r4) +/* 80285984 002828E4 40 82 00 0C */ bne lbl_80285990 +/* 80285988 002828E8 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 8028598C 002828EC 48 00 00 08 */ b lbl_80285994 +lbl_80285990: +/* 80285990 002828F0 38 00 00 04 */ li r0, 4 +lbl_80285994: +/* 80285994 002828F4 2C 00 00 00 */ cmpwi r0, 0 +/* 80285998 002828F8 41 80 00 0C */ blt lbl_802859A4 +/* 8028599C 002828FC 2C 00 00 07 */ cmpwi r0, 7 +/* 802859A0 00282900 40 81 00 08 */ ble lbl_802859A8 +lbl_802859A4: +/* 802859A4 00282904 38 00 00 00 */ li r0, 0 +lbl_802859A8: +/* 802859A8 00282908 54 00 10 3A */ slwi r0, r0, 2 +/* 802859AC 0028290C EC 40 01 32 */ fmuls f2, f0, f4 +/* 802859B0 00282910 7C 66 02 14 */ add r3, r6, r0 +/* 802859B4 00282914 C0 03 00 04 */ lfs f0, 4(r3) +/* 802859B8 00282918 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802859BC 0028291C EC 02 00 24 */ fdivs f0, f2, f0 +/* 802859C0 00282920 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802859C4 00282924 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802859C8 00282928 FC 20 00 50 */ fneg f1, f0 +/* 802859CC 0028292C 4E 80 00 20 */ blr + +.global GetBallMaxVelocity__7CPlayerCFv +GetBallMaxVelocity__7CPlayerCFv: +/* 802859D0 00282930 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 802859D4 00282934 2C 00 00 02 */ cmpwi r0, 2 +/* 802859D8 00282938 40 82 00 0C */ bne lbl_802859E4 +/* 802859DC 0028293C 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 802859E0 00282940 48 00 00 08 */ b lbl_802859E8 +lbl_802859E4: +/* 802859E4 00282944 38 00 00 04 */ li r0, 4 +lbl_802859E8: +/* 802859E8 00282948 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 802859EC 0028294C 54 00 10 3A */ slwi r0, r0, 2 +/* 802859F0 00282950 7C 63 02 14 */ add r3, r3, r0 +/* 802859F4 00282954 C0 23 00 44 */ lfs f1, 0x44(r3) +/* 802859F8 00282958 4E 80 00 20 */ blr + +.global CalculateLeaveMorphBallDirection__7CPlayerFRC11CFinalInput +CalculateLeaveMorphBallDirection__7CPlayerFRC11CFinalInput: +/* 802859FC 0028295C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80285A00 00282960 7C 08 02 A6 */ mflr r0 +/* 80285A04 00282964 90 01 00 44 */ stw r0, 0x44(r1) +/* 80285A08 00282968 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80285A0C 0028296C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80285A10 00282970 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80285A14 00282974 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80285A18 00282978 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 80285A1C 0028297C F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 80285A20 00282980 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285A24 00282984 93 C1 00 08 */ stw r30, 8(r1) +/* 80285A28 00282988 7C 7E 1B 78 */ mr r30, r3 +/* 80285A2C 0028298C 7C 9F 23 78 */ mr r31, r4 +/* 80285A30 00282990 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80285A34 00282994 2C 00 00 01 */ cmpwi r0, 1 +/* 80285A38 00282998 41 82 00 20 */ beq lbl_80285A58 +/* 80285A3C 0028299C C0 1E 05 0C */ lfs f0, 0x50c(r30) +/* 80285A40 002829A0 D0 1E 05 18 */ stfs f0, 0x518(r30) +/* 80285A44 002829A4 C0 1E 05 10 */ lfs f0, 0x510(r30) +/* 80285A48 002829A8 D0 1E 05 1C */ stfs f0, 0x51c(r30) +/* 80285A4C 002829AC C0 1E 05 14 */ lfs f0, 0x514(r30) +/* 80285A50 002829B0 D0 1E 05 20 */ stfs f0, 0x520(r30) +/* 80285A54 002829B4 48 00 00 8C */ b lbl_80285AE0 +lbl_80285A58: +/* 80285A58 002829B8 38 60 00 00 */ li r3, 0 +/* 80285A5C 002829BC 4B D8 6E BD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A60 002829C0 FF A0 08 90 */ fmr f29, f1 +/* 80285A64 002829C4 7F E4 FB 78 */ mr r4, r31 +/* 80285A68 002829C8 38 60 00 01 */ li r3, 1 +/* 80285A6C 002829CC 4B D8 6E AD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A70 002829D0 FF C0 08 90 */ fmr f30, f1 +/* 80285A74 002829D4 7F E4 FB 78 */ mr r4, r31 +/* 80285A78 002829D8 38 60 00 02 */ li r3, 2 +/* 80285A7C 002829DC 4B D8 6E 9D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A80 002829E0 FF E0 08 90 */ fmr f31, f1 +/* 80285A84 002829E4 7F E4 FB 78 */ mr r4, r31 +/* 80285A88 002829E8 38 60 00 03 */ li r3, 3 +/* 80285A8C 002829EC 4B D8 6E 8D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A90 002829F0 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) +/* 80285A94 002829F4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80285A98 002829F8 41 81 00 1C */ bgt lbl_80285AB4 +/* 80285A9C 002829FC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80285AA0 00282A00 41 81 00 14 */ bgt lbl_80285AB4 +/* 80285AA4 00282A04 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80285AA8 00282A08 41 81 00 0C */ bgt lbl_80285AB4 +/* 80285AAC 00282A0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285AB0 00282A10 40 81 00 30 */ ble lbl_80285AE0 +lbl_80285AB4: +/* 80285AB4 00282A14 38 7E 01 38 */ addi r3, r30, 0x138 +/* 80285AB8 00282A18 48 08 EE 01 */ bl Magnitude__9CVector3fCFv +/* 80285ABC 00282A1C C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80285AC0 00282A20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285AC4 00282A24 40 81 00 1C */ ble lbl_80285AE0 +/* 80285AC8 00282A28 C0 1E 05 0C */ lfs f0, 0x50c(r30) +/* 80285ACC 00282A2C D0 1E 05 18 */ stfs f0, 0x518(r30) +/* 80285AD0 00282A30 C0 1E 05 10 */ lfs f0, 0x510(r30) +/* 80285AD4 00282A34 D0 1E 05 1C */ stfs f0, 0x51c(r30) +/* 80285AD8 00282A38 C0 1E 05 14 */ lfs f0, 0x514(r30) +/* 80285ADC 00282A3C D0 1E 05 20 */ stfs f0, 0x520(r30) +lbl_80285AE0: +/* 80285AE0 00282A40 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80285AE4 00282A44 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80285AE8 00282A48 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80285AEC 00282A4C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80285AF0 00282A50 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 80285AF4 00282A54 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 80285AF8 00282A58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80285AFC 00282A5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80285B00 00282A60 83 C1 00 08 */ lwz r30, 8(r1) +/* 80285B04 00282A64 7C 08 03 A6 */ mtlr r0 +/* 80285B08 00282A68 38 21 00 40 */ addi r1, r1, 0x40 +/* 80285B0C 00282A6C 4E 80 00 20 */ blr + +.global CalculatePlayerControlDirection__7CPlayerFR13CStateManager +CalculatePlayerControlDirection__7CPlayerFR13CStateManager: +/* 80285B10 00282A70 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80285B14 00282A74 7C 08 02 A6 */ mflr r0 +/* 80285B18 00282A78 90 01 00 54 */ stw r0, 0x54(r1) +/* 80285B1C 00282A7C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80285B20 00282A80 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80285B24 00282A84 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80285B28 00282A88 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80285B2C 00282A8C 7C 7F 1B 78 */ mr r31, r3 +/* 80285B30 00282A90 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80285B34 00282A94 41 82 00 C0 */ beq lbl_80285BF4 +/* 80285B38 00282A98 38 7F 09 D8 */ addi r3, r31, 0x9d8 +/* 80285B3C 00282A9C 48 08 EB BD */ bl CanBeNormalized__9CVector3fCFv +/* 80285B40 00282AA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285B44 00282AA4 41 82 00 8C */ beq lbl_80285BD0 +/* 80285B48 00282AA8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80285B4C 00282AAC 38 9F 09 D8 */ addi r4, r31, 0x9d8 +/* 80285B50 00282AB0 48 08 ED 01 */ bl AsNormalized__9CVector3fCFv +/* 80285B54 00282AB4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80285B58 00282AB8 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285B5C 00282ABC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285B60 00282AC0 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285B64 00282AC4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80285B68 00282AC8 D0 3F 05 44 */ stfs f1, 0x544(r31) +/* 80285B6C 00282ACC C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80285B70 00282AD0 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285B74 00282AD4 C0 3F 09 D8 */ lfs f1, 0x9d8(r31) +/* 80285B78 00282AD8 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285B7C 00282ADC C0 3F 09 DC */ lfs f1, 0x9dc(r31) +/* 80285B80 00282AE0 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285B84 00282AE4 C0 3F 09 E0 */ lfs f1, 0x9e0(r31) +/* 80285B88 00282AE8 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285B8C 00282AEC D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285B90 00282AF0 48 08 EB 69 */ bl CanBeNormalized__9CVector3fCFv +/* 80285B94 00282AF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285B98 00282AF8 41 82 00 10 */ beq lbl_80285BA8 +/* 80285B9C 00282AFC 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285BA0 00282B00 48 08 ED 59 */ bl Normalize__9CVector3fFv +/* 80285BA4 00282B04 48 00 02 D8 */ b lbl_80285E7C +lbl_80285BA8: +/* 80285BA8 00282B08 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285BAC 00282B0C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285BB0 00282B10 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285BB4 00282B14 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285BB8 00282B18 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285BBC 00282B1C D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285BC0 00282B20 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285BC4 00282B24 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285BC8 00282B28 48 00 02 B4 */ b lbl_80285E7C +/* 80285BCC 00282B2C 48 00 02 B0 */ b lbl_80285E7C +lbl_80285BD0: +/* 80285BD0 00282B30 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285BD4 00282B34 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285BD8 00282B38 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285BDC 00282B3C D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285BE0 00282B40 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285BE4 00282B44 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285BE8 00282B48 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285BEC 00282B4C D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285BF0 00282B50 48 00 02 8C */ b lbl_80285E7C +lbl_80285BF4: +/* 80285BF4 00282B54 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80285BF8 00282B58 4B D8 5F 21 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80285BFC 00282B5C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80285C00 00282B60 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 80285C04 00282B64 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80285C08 00282B68 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80285C0C 00282B6C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80285C10 00282B70 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80285C14 00282B74 38 61 00 2C */ addi r3, r1, 0x2c +/* 80285C18 00282B78 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80285C1C 00282B7C EC 43 10 28 */ fsubs f2, f3, f2 +/* 80285C20 00282B80 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80285C24 00282B84 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80285C28 00282B88 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80285C2C 00282B8C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80285C30 00282B90 48 08 EA C9 */ bl CanBeNormalized__9CVector3fCFv +/* 80285C34 00282B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285C38 00282B98 40 82 00 28 */ bne lbl_80285C60 +/* 80285C3C 00282B9C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285C40 00282BA0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285C44 00282BA4 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285C48 00282BA8 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285C4C 00282BAC D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285C50 00282BB0 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285C54 00282BB4 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285C58 00282BB8 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285C5C 00282BBC 48 00 02 20 */ b lbl_80285E7C +lbl_80285C60: +/* 80285C60 00282BC0 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285C64 00282BC4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285C68 00282BC8 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80285C6C 00282BCC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80285C70 00282BD0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80285C74 00282BD4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285C78 00282BD8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80285C7C 00282BDC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80285C80 00282BE0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80285C84 00282BE4 48 08 EA 75 */ bl CanBeNormalized__9CVector3fCFv +/* 80285C88 00282BE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285C8C 00282BEC 41 82 01 F0 */ beq lbl_80285E7C +/* 80285C90 00282BF0 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 80285C94 00282BF4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285C98 00282BF8 C3 E4 01 D0 */ lfs f31, 0x1d0(r4) +/* 80285C9C 00282BFC 48 08 EC 1D */ bl Magnitude__9CVector3fCFv +/* 80285CA0 00282C00 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80285CA4 00282C04 40 81 01 38 */ ble lbl_80285DDC +/* 80285CA8 00282C08 38 61 00 08 */ addi r3, r1, 8 +/* 80285CAC 00282C0C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80285CB0 00282C10 48 08 EB A1 */ bl AsNormalized__9CVector3fCFv +/* 80285CB4 00282C14 C0 01 00 08 */ lfs f0, 8(r1) +/* 80285CB8 00282C18 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285CBC 00282C1C D0 1F 05 40 */ stfs f0, 0x540(r31) +/* 80285CC0 00282C20 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80285CC4 00282C24 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285CC8 00282C28 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80285CCC 00282C2C D0 1F 05 48 */ stfs f0, 0x548(r31) +/* 80285CD0 00282C30 48 08 EA 29 */ bl CanBeNormalized__9CVector3fCFv +/* 80285CD4 00282C34 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285CD8 00282C38 41 82 00 A4 */ beq lbl_80285D7C +/* 80285CDC 00282C3C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285CE0 00282C40 48 08 EC 19 */ bl Normalize__9CVector3fFv +/* 80285CE4 00282C44 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285CE8 00282C48 2C 00 00 01 */ cmpwi r0, 1 +/* 80285CEC 00282C4C 41 82 00 20 */ beq lbl_80285D0C +/* 80285CF0 00282C50 40 80 00 10 */ bge lbl_80285D00 +/* 80285CF4 00282C54 2C 00 00 00 */ cmpwi r0, 0 +/* 80285CF8 00282C58 40 80 00 30 */ bge lbl_80285D28 +/* 80285CFC 00282C5C 48 00 01 80 */ b lbl_80285E7C +lbl_80285D00: +/* 80285D00 00282C60 2C 00 00 04 */ cmpwi r0, 4 +/* 80285D04 00282C64 40 80 01 78 */ bge lbl_80285E7C +/* 80285D08 00282C68 48 00 00 20 */ b lbl_80285D28 +lbl_80285D0C: +/* 80285D0C 00282C6C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80285D10 00282C70 D0 1F 05 4C */ stfs f0, 0x54c(r31) +/* 80285D14 00282C74 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80285D18 00282C78 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285D1C 00282C7C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80285D20 00282C80 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285D24 00282C84 48 00 01 58 */ b lbl_80285E7C +lbl_80285D28: +/* 80285D28 00282C88 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80285D2C 00282C8C 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285D30 00282C90 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80285D34 00282C94 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80285D38 00282C98 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285D3C 00282C9C D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285D40 00282CA0 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285D44 00282CA4 D0 7F 05 48 */ stfs f3, 0x548(r31) +/* 80285D48 00282CA8 C0 3F 05 40 */ lfs f1, 0x540(r31) +/* 80285D4C 00282CAC D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285D50 00282CB0 C0 3F 05 44 */ lfs f1, 0x544(r31) +/* 80285D54 00282CB4 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285D58 00282CB8 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285D5C 00282CBC D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285D60 00282CC0 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285D64 00282CC4 48 08 E9 95 */ bl CanBeNormalized__9CVector3fCFv +/* 80285D68 00282CC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285D6C 00282CCC 41 82 01 10 */ beq lbl_80285E7C +/* 80285D70 00282CD0 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285D74 00282CD4 48 08 EB 85 */ bl Normalize__9CVector3fFv +/* 80285D78 00282CD8 48 00 01 04 */ b lbl_80285E7C +lbl_80285D7C: +/* 80285D7C 00282CDC 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285D80 00282CE0 2C 00 00 01 */ cmpwi r0, 1 +/* 80285D84 00282CE4 41 82 00 F8 */ beq lbl_80285E7C +/* 80285D88 00282CE8 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80285D8C 00282CEC 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285D90 00282CF0 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80285D94 00282CF4 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80285D98 00282CF8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285D9C 00282CFC D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285DA0 00282D00 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285DA4 00282D04 D0 7F 05 48 */ stfs f3, 0x548(r31) +/* 80285DA8 00282D08 C0 3F 05 40 */ lfs f1, 0x540(r31) +/* 80285DAC 00282D0C D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285DB0 00282D10 C0 3F 05 44 */ lfs f1, 0x544(r31) +/* 80285DB4 00282D14 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285DB8 00282D18 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285DBC 00282D1C D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285DC0 00282D20 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285DC4 00282D24 48 08 E9 35 */ bl CanBeNormalized__9CVector3fCFv +/* 80285DC8 00282D28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285DCC 00282D2C 41 82 00 B0 */ beq lbl_80285E7C +/* 80285DD0 00282D30 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285DD4 00282D34 48 08 EB 25 */ bl Normalize__9CVector3fFv +/* 80285DD8 00282D38 48 00 00 A4 */ b lbl_80285E7C +lbl_80285DDC: +/* 80285DDC 00282D3C C0 3F 04 FC */ lfs f1, 0x4fc(r31) +/* 80285DE0 00282D40 C0 02 BE 2C */ lfs f0, lbl_805ADB4C@sda21(r2) +/* 80285DE4 00282D44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285DE8 00282D48 40 80 00 38 */ bge lbl_80285E20 +/* 80285DEC 00282D4C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80285DF0 00282D50 D0 1F 05 40 */ stfs f0, 0x540(r31) +/* 80285DF4 00282D54 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80285DF8 00282D58 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285DFC 00282D5C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285E00 00282D60 D0 1F 05 48 */ stfs f0, 0x548(r31) +/* 80285E04 00282D64 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80285E08 00282D68 D0 1F 05 4C */ stfs f0, 0x54c(r31) +/* 80285E0C 00282D6C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80285E10 00282D70 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285E14 00282D74 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80285E18 00282D78 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285E1C 00282D7C 48 00 00 60 */ b lbl_80285E7C +lbl_80285E20: +/* 80285E20 00282D80 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285E24 00282D84 2C 00 00 01 */ cmpwi r0, 1 +/* 80285E28 00282D88 41 82 00 54 */ beq lbl_80285E7C +/* 80285E2C 00282D8C C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80285E30 00282D90 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285E34 00282D94 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80285E38 00282D98 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80285E3C 00282D9C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285E40 00282DA0 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285E44 00282DA4 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285E48 00282DA8 D0 7F 05 48 */ stfs f3, 0x548(r31) +/* 80285E4C 00282DAC C0 3F 05 40 */ lfs f1, 0x540(r31) +/* 80285E50 00282DB0 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285E54 00282DB4 C0 3F 05 44 */ lfs f1, 0x544(r31) +/* 80285E58 00282DB8 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285E5C 00282DBC C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285E60 00282DC0 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285E64 00282DC4 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285E68 00282DC8 48 08 E8 91 */ bl CanBeNormalized__9CVector3fCFv +/* 80285E6C 00282DCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285E70 00282DD0 41 82 00 0C */ beq lbl_80285E7C +/* 80285E74 00282DD4 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285E78 00282DD8 48 08 EA 81 */ bl Normalize__9CVector3fFv +lbl_80285E7C: +/* 80285E7C 00282DDC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80285E80 00282DE0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80285E84 00282DE4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80285E88 00282DE8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80285E8C 00282DEC 7C 08 03 A6 */ mtlr r0 +/* 80285E90 00282DF0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80285E94 00282DF4 4E 80 00 20 */ blr + +.global UpdatePlayerControlDirection__7CPlayerFfR13CStateManager +UpdatePlayerControlDirection__7CPlayerFfR13CStateManager: +/* 80285E98 00282DF8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80285E9C 00282DFC 7C 08 02 A6 */ mflr r0 +/* 80285EA0 00282E00 90 01 00 84 */ stw r0, 0x84(r1) +/* 80285EA4 00282E04 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80285EA8 00282E08 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80285EAC 00282E0C DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80285EB0 00282E10 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80285EB4 00282E14 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80285EB8 00282E18 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80285EBC 00282E1C DB 81 00 40 */ stfd f28, 0x40(r1) +/* 80285EC0 00282E20 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 80285EC4 00282E24 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 80285EC8 00282E28 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 80285ECC 00282E2C DB 41 00 20 */ stfd f26, 0x20(r1) +/* 80285ED0 00282E30 F3 41 00 28 */ psq_st f26, 40(r1), 0, qr0 +/* 80285ED4 00282E34 DB 21 00 10 */ stfd f25, 0x10(r1) +/* 80285ED8 00282E38 F3 21 00 18 */ psq_st f25, 24(r1), 0, qr0 +/* 80285EDC 00282E3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285EE0 00282E40 7C 7F 1B 78 */ mr r31, r3 +/* 80285EE4 00282E44 FF 20 08 90 */ fmr f25, f1 +/* 80285EE8 00282E48 C3 E3 05 40 */ lfs f31, 0x540(r3) +/* 80285EEC 00282E4C C3 C3 05 44 */ lfs f30, 0x544(r3) +/* 80285EF0 00282E50 C3 A3 05 48 */ lfs f29, 0x548(r3) +/* 80285EF4 00282E54 C3 83 05 4C */ lfs f28, 0x54c(r3) +/* 80285EF8 00282E58 C3 63 05 50 */ lfs f27, 0x550(r3) +/* 80285EFC 00282E5C C3 43 05 54 */ lfs f26, 0x554(r3) +/* 80285F00 00282E60 4B FF FC 11 */ bl CalculatePlayerControlDirection__7CPlayerFR13CStateManager +/* 80285F04 00282E64 88 1F 09 C6 */ lbz r0, 0x9c6(r31) +/* 80285F08 00282E68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80285F0C 00282E6C 41 82 00 CC */ beq lbl_80285FD8 +/* 80285F10 00282E70 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285F14 00282E74 2C 00 00 01 */ cmpwi r0, 1 +/* 80285F18 00282E78 40 82 00 C0 */ bne lbl_80285FD8 +/* 80285F1C 00282E7C C0 1F 09 F8 */ lfs f0, 0x9f8(r31) +/* 80285F20 00282E80 EC 00 C8 2A */ fadds f0, f0, f25 +/* 80285F24 00282E84 D0 1F 09 F8 */ stfs f0, 0x9f8(r31) +/* 80285F28 00282E88 C0 1F 09 F8 */ lfs f0, 0x9f8(r31) +/* 80285F2C 00282E8C C0 3F 09 FC */ lfs f1, 0x9fc(r31) +/* 80285F30 00282E90 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80285F34 00282E94 40 81 00 10 */ ble lbl_80285F44 +/* 80285F38 00282E98 D0 3F 09 F8 */ stfs f1, 0x9f8(r31) +/* 80285F3C 00282E9C 7F E3 FB 78 */ mr r3, r31 +/* 80285F40 00282EA0 4B D8 BB 49 */ bl ResetControlDirectionInterpolation__7CPlayerFv +lbl_80285F44: +/* 80285F44 00282EA4 C0 5F 09 F8 */ lfs f2, 0x9f8(r31) +/* 80285F48 00282EA8 C0 3F 09 FC */ lfs f1, 0x9fc(r31) +/* 80285F4C 00282EAC C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80285F50 00282EB0 EC 62 08 24 */ fdivs f3, f2, f1 +/* 80285F54 00282EB4 FC 20 1A 10 */ fabs f1, f3 +/* 80285F58 00282EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285F5C 00282EBC 40 81 00 14 */ ble lbl_80285F70 +/* 80285F60 00282EC0 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80285F64 00282EC4 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80285F68 00282EC8 FC 03 00 6E */ fsel f0, f3, f1, f0 +/* 80285F6C 00282ECC EC 61 00 32 */ fmuls f3, f1, f0 +lbl_80285F70: +/* 80285F70 00282ED0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80285F74 00282ED4 C0 1F 05 40 */ lfs f0, 0x540(r31) +/* 80285F78 00282ED8 C0 5F 05 44 */ lfs f2, 0x544(r31) +/* 80285F7C 00282EDC EC 81 18 28 */ fsubs f4, f1, f3 +/* 80285F80 00282EE0 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80285F84 00282EE4 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285F88 00282EE8 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80285F8C 00282EEC EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80285F90 00282EF0 EC 1F 01 3A */ fmadds f0, f31, f4, f0 +/* 80285F94 00282EF4 EC 5E 11 3A */ fmadds f2, f30, f4, f2 +/* 80285F98 00282EF8 EC 3D 09 3A */ fmadds f1, f29, f4, f1 +/* 80285F9C 00282EFC D0 1F 05 40 */ stfs f0, 0x540(r31) +/* 80285FA0 00282F00 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285FA4 00282F04 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285FA8 00282F08 C0 1F 05 40 */ lfs f0, 0x540(r31) +/* 80285FAC 00282F0C C0 5F 05 44 */ lfs f2, 0x544(r31) +/* 80285FB0 00282F10 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80285FB4 00282F14 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285FB8 00282F18 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80285FBC 00282F1C EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80285FC0 00282F20 EC 1C 01 3A */ fmadds f0, f28, f4, f0 +/* 80285FC4 00282F24 EC 5B 11 3A */ fmadds f2, f27, f4, f2 +/* 80285FC8 00282F28 EC 3A 09 3A */ fmadds f1, f26, f4, f1 +/* 80285FCC 00282F2C D0 1F 05 4C */ stfs f0, 0x54c(r31) +/* 80285FD0 00282F30 D0 5F 05 50 */ stfs f2, 0x550(r31) +/* 80285FD4 00282F34 D0 3F 05 54 */ stfs f1, 0x554(r31) +lbl_80285FD8: +/* 80285FD8 00282F38 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80285FDC 00282F3C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80285FE0 00282F40 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80285FE4 00282F44 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80285FE8 00282F48 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80285FEC 00282F4C CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80285FF0 00282F50 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 80285FF4 00282F54 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 80285FF8 00282F58 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 80285FFC 00282F5C CB 61 00 30 */ lfd f27, 0x30(r1) +/* 80286000 00282F60 E3 41 00 28 */ psq_l f26, 40(r1), 0, qr0 +/* 80286004 00282F64 CB 41 00 20 */ lfd f26, 0x20(r1) +/* 80286008 00282F68 E3 21 00 18 */ psq_l f25, 24(r1), 0, qr0 +/* 8028600C 00282F6C CB 21 00 10 */ lfd f25, 0x10(r1) +/* 80286010 00282F70 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80286014 00282F74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80286018 00282F78 7C 08 03 A6 */ mtlr r0 +/* 8028601C 00282F7C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80286020 00282F80 4E 80 00 20 */ blr + +.global CalculatePlayerMovementDirection__7CPlayerFf +CalculatePlayerMovementDirection__7CPlayerFf: +/* 80286024 00282F84 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80286028 00282F88 7C 08 02 A6 */ mflr r0 +/* 8028602C 00282F8C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80286030 00282F90 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80286034 00282F94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80286038 00282F98 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8028603C 00282F9C 7C 7F 1B 78 */ mr r31, r3 +/* 80286040 00282FA0 FF E0 08 90 */ fmr f31, f1 +/* 80286044 00282FA4 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80286048 00282FA8 2C 00 00 02 */ cmpwi r0, 2 +/* 8028604C 00282FAC 41 82 03 84 */ beq lbl_802863D0 +/* 80286050 00282FB0 2C 00 00 03 */ cmpwi r0, 3 +/* 80286054 00282FB4 40 82 00 08 */ bne lbl_8028605C +/* 80286058 00282FB8 48 00 03 78 */ b lbl_802863D0 +lbl_8028605C: +/* 8028605C 00282FBC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80286060 00282FC0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80286064 00282FC4 C0 1F 05 28 */ lfs f0, 0x528(r31) +/* 80286068 00282FC8 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8028606C 00282FCC C0 5F 05 2C */ lfs f2, 0x52c(r31) +/* 80286070 00282FD0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80286074 00282FD4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80286078 00282FD8 C0 1F 05 24 */ lfs f0, 0x524(r31) +/* 8028607C 00282FDC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80286080 00282FE0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80286084 00282FE4 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80286088 00282FE8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8028608C 00282FEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80286090 00282FF0 48 08 E6 69 */ bl CanBeNormalized__9CVector3fCFv +/* 80286094 00282FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286098 00282FF8 41 82 02 50 */ beq lbl_802862E8 +/* 8028609C 00282FFC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802860A0 00283000 48 08 E8 19 */ bl Magnitude__9CVector3fCFv +/* 802860A4 00283004 C0 02 BE 30 */ lfs f0, lbl_805ADB50@sda21(r2) +/* 802860A8 00283008 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802860AC 0028300C 40 81 02 3C */ ble lbl_802862E8 +/* 802860B0 00283010 C0 1F 05 3C */ lfs f0, 0x53c(r31) +/* 802860B4 00283014 38 61 00 20 */ addi r3, r1, 0x20 +/* 802860B8 00283018 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802860BC 0028301C D0 1F 05 3C */ stfs f0, 0x53c(r31) +/* 802860C0 00283020 48 08 E7 F9 */ bl Magnitude__9CVector3fCFv +/* 802860C4 00283024 EC 01 F8 24 */ fdivs f0, f1, f31 +/* 802860C8 00283028 38 61 00 08 */ addi r3, r1, 8 +/* 802860CC 0028302C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802860D0 00283030 FC 00 02 10 */ fabs f0, f0 +/* 802860D4 00283034 FC 00 00 18 */ frsp f0, f0 +/* 802860D8 00283038 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) +/* 802860DC 0028303C 48 08 E7 75 */ bl AsNormalized__9CVector3fCFv +/* 802860E0 00283040 C0 21 00 08 */ lfs f1, 8(r1) +/* 802860E4 00283044 38 61 00 14 */ addi r3, r1, 0x14 +/* 802860E8 00283048 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802860EC 0028304C D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 802860F0 00283050 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802860F4 00283054 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 802860F8 00283058 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802860FC 0028305C D0 3F 05 08 */ stfs f1, 0x508(r31) +/* 80286100 00283060 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80286104 00283064 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80286108 00283068 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8028610C 0028306C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80286110 00283070 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80286114 00283074 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80286118 00283078 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8028611C 0028307C 48 08 E5 DD */ bl CanBeNormalized__9CVector3fCFv +/* 80286120 00283080 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286124 00283084 41 82 01 2C */ beq lbl_80286250 +/* 80286128 00283088 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028612C 0028308C 48 08 E7 8D */ bl Magnitude__9CVector3fCFv +/* 80286130 00283090 EC 01 F8 24 */ fdivs f0, f1, f31 +/* 80286134 00283094 38 61 00 14 */ addi r3, r1, 0x14 +/* 80286138 00283098 FC 00 02 10 */ fabs f0, f0 +/* 8028613C 0028309C FC 00 00 18 */ frsp f0, f0 +/* 80286140 002830A0 D0 1F 04 FC */ stfs f0, 0x4fc(r31) +/* 80286144 002830A4 48 08 E7 B5 */ bl Normalize__9CVector3fFv +/* 80286148 002830A8 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8028614C 002830AC 2C 00 00 01 */ cmpwi r0, 1 +/* 80286150 002830B0 41 82 00 20 */ beq lbl_80286170 +/* 80286154 002830B4 40 80 00 10 */ bge lbl_80286164 +/* 80286158 002830B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028615C 002830BC 40 80 00 70 */ bge lbl_802861CC +/* 80286160 002830C0 48 00 02 50 */ b lbl_802863B0 +lbl_80286164: +/* 80286164 002830C4 2C 00 00 04 */ cmpwi r0, 4 +/* 80286168 002830C8 40 80 02 48 */ bge lbl_802863B0 +/* 8028616C 002830CC 48 00 00 60 */ b lbl_802861CC +lbl_80286170: +/* 80286170 002830D0 C0 3F 04 FC */ lfs f1, 0x4fc(r31) +/* 80286174 002830D4 C0 02 BE 2C */ lfs f0, lbl_805ADB4C@sda21(r2) +/* 80286178 002830D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028617C 002830DC 40 81 00 1C */ ble lbl_80286198 +/* 80286180 002830E0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80286184 002830E4 D0 1F 05 0C */ stfs f0, 0x50c(r31) +/* 80286188 002830E8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8028618C 002830EC D0 1F 05 10 */ stfs f0, 0x510(r31) +/* 80286190 002830F0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80286194 002830F4 D0 1F 05 14 */ stfs f0, 0x514(r31) +lbl_80286198: +/* 80286198 002830F8 C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 8028619C 002830FC D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 802861A0 00283100 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 802861A4 00283104 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 802861A8 00283108 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 802861AC 0028310C D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 802861B0 00283110 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802861B4 00283114 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802861B8 00283118 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802861BC 0028311C D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 802861C0 00283120 D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 802861C4 00283124 D0 5F 05 2C */ stfs f2, 0x52c(r31) +/* 802861C8 00283128 48 00 01 E8 */ b lbl_802863B0 +lbl_802861CC: +/* 802861CC 0028312C C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 802861D0 00283130 38 7F 05 0C */ addi r3, r31, 0x50c +/* 802861D4 00283134 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 802861D8 00283138 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 802861DC 0028313C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802861E0 00283140 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 802861E4 00283144 D0 5F 05 04 */ stfs f2, 0x504(r31) +/* 802861E8 00283148 D0 7F 05 08 */ stfs f3, 0x508(r31) +/* 802861EC 0028314C C0 3F 05 00 */ lfs f1, 0x500(r31) +/* 802861F0 00283150 D0 3F 05 0C */ stfs f1, 0x50c(r31) +/* 802861F4 00283154 C0 3F 05 04 */ lfs f1, 0x504(r31) +/* 802861F8 00283158 D0 3F 05 10 */ stfs f1, 0x510(r31) +/* 802861FC 0028315C C0 3F 05 08 */ lfs f1, 0x508(r31) +/* 80286200 00283160 D0 3F 05 14 */ stfs f1, 0x514(r31) +/* 80286204 00283164 D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 80286208 00283168 48 08 E4 F1 */ bl CanBeNormalized__9CVector3fCFv +/* 8028620C 0028316C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286210 00283170 41 82 00 0C */ beq lbl_8028621C +/* 80286214 00283174 38 7F 05 0C */ addi r3, r31, 0x50c +/* 80286218 00283178 48 08 E6 E1 */ bl Normalize__9CVector3fFv +lbl_8028621C: +/* 8028621C 0028317C C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 80286220 00283180 D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 80286224 00283184 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 80286228 00283188 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 8028622C 0028318C C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 80286230 00283190 D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 80286234 00283194 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80286238 00283198 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8028623C 0028319C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80286240 002831A0 D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 80286244 002831A4 D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 80286248 002831A8 D0 5F 05 2C */ stfs f2, 0x52c(r31) +/* 8028624C 002831AC 48 00 01 64 */ b lbl_802863B0 +lbl_80286250: +/* 80286250 002831B0 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80286254 002831B4 2C 00 00 01 */ cmpwi r0, 1 +/* 80286258 002831B8 41 82 00 84 */ beq lbl_802862DC +/* 8028625C 002831BC C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80286260 002831C0 38 7F 05 0C */ addi r3, r31, 0x50c +/* 80286264 002831C4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80286268 002831C8 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8028626C 002831CC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286270 002831D0 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 80286274 002831D4 D0 5F 05 04 */ stfs f2, 0x504(r31) +/* 80286278 002831D8 D0 7F 05 08 */ stfs f3, 0x508(r31) +/* 8028627C 002831DC C0 3F 05 00 */ lfs f1, 0x500(r31) +/* 80286280 002831E0 D0 3F 05 0C */ stfs f1, 0x50c(r31) +/* 80286284 002831E4 C0 3F 05 04 */ lfs f1, 0x504(r31) +/* 80286288 002831E8 D0 3F 05 10 */ stfs f1, 0x510(r31) +/* 8028628C 002831EC C0 3F 05 08 */ lfs f1, 0x508(r31) +/* 80286290 002831F0 D0 3F 05 14 */ stfs f1, 0x514(r31) +/* 80286294 002831F4 D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 80286298 002831F8 48 08 E4 61 */ bl CanBeNormalized__9CVector3fCFv +/* 8028629C 002831FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802862A0 00283200 41 82 00 0C */ beq lbl_802862AC +/* 802862A4 00283204 38 7F 05 0C */ addi r3, r31, 0x50c +/* 802862A8 00283208 48 08 E6 51 */ bl Normalize__9CVector3fFv +lbl_802862AC: +/* 802862AC 0028320C C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 802862B0 00283210 D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 802862B4 00283214 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 802862B8 00283218 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 802862BC 0028321C C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 802862C0 00283220 D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 802862C4 00283224 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802862C8 00283228 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802862CC 0028322C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802862D0 00283230 D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 802862D4 00283234 D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 802862D8 00283238 D0 5F 05 2C */ stfs f2, 0x52c(r31) +lbl_802862DC: +/* 802862DC 0028323C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802862E0 00283240 D0 1F 04 FC */ stfs f0, 0x4fc(r31) +/* 802862E4 00283244 48 00 00 CC */ b lbl_802863B0 +lbl_802862E8: +/* 802862E8 00283248 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802862EC 0028324C D0 1F 05 3C */ stfs f0, 0x53c(r31) +/* 802862F0 00283250 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 802862F4 00283254 2C 00 00 04 */ cmpwi r0, 4 +/* 802862F8 00283258 40 80 00 2C */ bge lbl_80286324 +/* 802862FC 0028325C 2C 00 00 01 */ cmpwi r0, 1 +/* 80286300 00283260 40 80 00 08 */ bge lbl_80286308 +/* 80286304 00283264 48 00 00 20 */ b lbl_80286324 +lbl_80286308: +/* 80286308 00283268 C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 8028630C 0028326C D0 1F 05 00 */ stfs f0, 0x500(r31) +/* 80286310 00283270 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 80286314 00283274 D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 80286318 00283278 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 8028631C 0028327C D0 1F 05 08 */ stfs f0, 0x508(r31) +/* 80286320 00283280 48 00 00 84 */ b lbl_802863A4 +lbl_80286324: +/* 80286324 00283284 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80286328 00283288 38 7F 05 0C */ addi r3, r31, 0x50c +/* 8028632C 0028328C C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80286330 00283290 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80286334 00283294 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286338 00283298 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 8028633C 0028329C D0 5F 05 04 */ stfs f2, 0x504(r31) +/* 80286340 002832A0 D0 7F 05 08 */ stfs f3, 0x508(r31) +/* 80286344 002832A4 C0 3F 05 00 */ lfs f1, 0x500(r31) +/* 80286348 002832A8 D0 3F 05 0C */ stfs f1, 0x50c(r31) +/* 8028634C 002832AC C0 3F 05 04 */ lfs f1, 0x504(r31) +/* 80286350 002832B0 D0 3F 05 10 */ stfs f1, 0x510(r31) +/* 80286354 002832B4 C0 3F 05 08 */ lfs f1, 0x508(r31) +/* 80286358 002832B8 D0 3F 05 14 */ stfs f1, 0x514(r31) +/* 8028635C 002832BC D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 80286360 002832C0 48 08 E3 99 */ bl CanBeNormalized__9CVector3fCFv +/* 80286364 002832C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286368 002832C8 41 82 00 0C */ beq lbl_80286374 +/* 8028636C 002832CC 38 7F 05 0C */ addi r3, r31, 0x50c +/* 80286370 002832D0 48 08 E5 89 */ bl Normalize__9CVector3fFv +lbl_80286374: +/* 80286374 002832D4 C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 80286378 002832D8 D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 8028637C 002832DC C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 80286380 002832E0 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 80286384 002832E4 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 80286388 002832E8 D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 8028638C 002832EC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80286390 002832F0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80286394 002832F4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80286398 002832F8 D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 8028639C 002832FC D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 802863A0 00283300 D0 5F 05 2C */ stfs f2, 0x52c(r31) +lbl_802863A4: +/* 802863A4 00283304 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802863A8 00283308 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) +/* 802863AC 0028330C D0 1F 04 FC */ stfs f0, 0x4fc(r31) +lbl_802863B0: +/* 802863B0 00283310 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802863B4 00283314 38 7F 05 0C */ addi r3, r31, 0x50c +/* 802863B8 00283318 D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 802863BC 0028331C 48 08 E3 3D */ bl CanBeNormalized__9CVector3fCFv +/* 802863C0 00283320 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802863C4 00283324 41 82 00 0C */ beq lbl_802863D0 +/* 802863C8 00283328 38 7F 05 00 */ addi r3, r31, 0x500 +/* 802863CC 0028332C 48 08 E5 2D */ bl Normalize__9CVector3fFv +lbl_802863D0: +/* 802863D0 00283330 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802863D4 00283334 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802863D8 00283338 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802863DC 0028333C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802863E0 00283340 7C 08 03 A6 */ mtlr r0 +/* 802863E4 00283344 38 21 00 50 */ addi r1, r1, 0x50 +/* 802863E8 00283348 4E 80 00 20 */ blr + +.global SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager: +/* 802863EC 0028334C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802863F0 00283350 7C 08 02 A6 */ mflr r0 +/* 802863F4 00283354 2C 04 00 02 */ cmpwi r4, 2 +/* 802863F8 00283358 90 01 00 24 */ stw r0, 0x24(r1) +/* 802863FC 0028335C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80286400 00283360 7C 7F 1B 78 */ mr r31, r3 +/* 80286404 00283364 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80286408 00283368 7C BE 2B 78 */ mr r30, r5 +/* 8028640C 0028336C 41 82 02 5C */ beq lbl_80286668 +/* 80286410 00283370 40 80 00 14 */ bge lbl_80286424 +/* 80286414 00283374 2C 04 00 00 */ cmpwi r4, 0 +/* 80286418 00283378 41 82 02 04 */ beq lbl_8028661C +/* 8028641C 0028337C 40 80 00 18 */ bge lbl_80286434 +/* 80286420 00283380 48 00 02 B4 */ b lbl_802866D4 +lbl_80286424: +/* 80286424 00283384 2C 04 00 04 */ cmpwi r4, 4 +/* 80286428 00283388 41 82 01 E0 */ beq lbl_80286608 +/* 8028642C 0028338C 40 80 02 A8 */ bge lbl_802866D4 +/* 80286430 00283390 48 00 01 88 */ b lbl_802865B8 +lbl_80286434: +/* 80286434 00283394 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80286438 00283398 2C 00 00 02 */ cmpwi r0, 2 +/* 8028643C 0028339C 40 82 00 80 */ bne lbl_802864BC +/* 80286440 002833A0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80286444 002833A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80286448 002833A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8028644C 002833AC 38 80 05 BE */ li r4, 0x5be +/* 80286450 002833B0 38 A0 00 7F */ li r5, 0x7f +/* 80286454 002833B4 38 C0 00 40 */ li r6, 0x40 +/* 80286458 002833B8 38 E0 00 01 */ li r7, 1 +/* 8028645C 002833BC 39 20 00 00 */ li r9, 0 +/* 80286460 002833C0 48 06 39 15 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80286464 002833C4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80286468 002833C8 7F E3 FB 78 */ mr r3, r31 +/* 8028646C 002833CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80286470 002833D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80286474 002833D4 4B D8 AD 19 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +/* 80286478 002833D8 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 8028647C 002833DC 7F C4 F3 78 */ mr r4, r30 +/* 80286480 002833E0 C0 22 BE 34 */ lfs f1, lbl_805ADB54@sda21(r2) +/* 80286484 002833E4 38 A0 00 0B */ li r5, 0xb +/* 80286488 002833E8 38 C0 00 01 */ li r6, 1 +/* 8028648C 002833EC 4B FA 7D B9 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +/* 80286490 002833F0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286494 002833F4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286498 002833F8 C0 23 00 F8 */ lfs f1, 0xf8(r3) +/* 8028649C 002833FC D0 3F 02 88 */ stfs f1, 0x288(r31) +/* 802864A0 00283400 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802864A4 00283404 C0 43 01 0C */ lfs f2, 0x10c(r3) +/* 802864A8 00283408 C0 23 00 F8 */ lfs f1, 0xf8(r3) +/* 802864AC 0028340C EC 21 10 28 */ fsubs f1, f1, f2 +/* 802864B0 00283410 D0 3F 02 90 */ stfs f1, 0x290(r31) +/* 802864B4 00283414 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 802864B8 00283418 48 00 00 E8 */ b lbl_802865A0 +lbl_802864BC: +/* 802864BC 0028341C 2C 00 00 01 */ cmpwi r0, 1 +/* 802864C0 00283420 41 82 00 E0 */ beq lbl_802865A0 +/* 802864C4 00283424 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 802864C8 00283428 38 61 00 08 */ addi r3, r1, 8 +/* 802864CC 0028342C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 802864D0 00283430 38 80 05 BF */ li r4, 0x5bf +/* 802864D4 00283434 38 A0 00 7F */ li r5, 0x7f +/* 802864D8 00283438 38 C0 00 40 */ li r6, 0x40 +/* 802864DC 0028343C 38 E0 00 01 */ li r7, 1 +/* 802864E0 00283440 39 20 00 00 */ li r9, 0 +/* 802864E4 00283444 48 06 38 91 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 802864E8 00283448 80 01 00 08 */ lwz r0, 8(r1) +/* 802864EC 0028344C 7F E3 FB 78 */ mr r3, r31 +/* 802864F0 00283450 38 81 00 0C */ addi r4, r1, 0xc +/* 802864F4 00283454 90 01 00 0C */ stw r0, 0xc(r1) +/* 802864F8 00283458 4B D8 AC 95 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +/* 802864FC 0028345C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286500 00283460 38 80 00 0F */ li r4, 0xf +/* 80286504 00283464 D0 1F 02 A0 */ stfs f0, 0x2a0(r31) +/* 80286508 00283468 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028650C 0028346C C0 03 00 F4 */ lfs f0, 0xf4(r3) +/* 80286510 00283470 D0 1F 02 88 */ stfs f0, 0x288(r31) +/* 80286514 00283474 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286518 00283478 C0 23 01 08 */ lfs f1, 0x108(r3) +/* 8028651C 0028347C C0 03 00 F4 */ lfs f0, 0xf4(r3) +/* 80286520 00283480 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80286524 00283484 D0 1F 02 90 */ stfs f0, 0x290(r31) +/* 80286528 00283488 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8028652C 0028348C 80 63 00 00 */ lwz r3, 0(r3) +/* 80286530 00283490 4B E0 B5 ED */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80286534 00283494 2C 03 00 00 */ cmpwi r3, 0 +/* 80286538 00283498 41 82 00 14 */ beq lbl_8028654C +/* 8028653C 0028349C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286540 002834A0 C0 03 01 00 */ lfs f0, 0x100(r3) +/* 80286544 002834A4 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80286548 002834A8 48 00 00 0C */ b lbl_80286554 +lbl_8028654C: +/* 8028654C 002834AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286550 002834B0 D0 1F 02 8C */ stfs f0, 0x28c(r31) +lbl_80286554: +/* 80286554 002834B4 C0 1F 02 94 */ lfs f0, 0x294(r31) +/* 80286558 002834B8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028655C 002834BC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80286560 002834C0 4C 40 13 82 */ cror 2, 0, 2 +/* 80286564 002834C4 40 82 00 3C */ bne lbl_802865A0 +/* 80286568 002834C8 C0 1F 02 9C */ lfs f0, 0x29c(r31) +/* 8028656C 002834CC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80286570 002834D0 4C 40 13 82 */ cror 2, 0, 2 +/* 80286574 002834D4 40 82 00 2C */ bne lbl_802865A0 +/* 80286578 002834D8 88 1F 03 DC */ lbz r0, 0x3dc(r31) +/* 8028657C 002834DC 28 00 00 00 */ cmplwi r0, 0 +/* 80286580 002834E0 40 82 00 20 */ bne lbl_802865A0 +/* 80286584 002834E4 88 1F 03 DD */ lbz r0, 0x3dd(r31) +/* 80286588 002834E8 28 00 00 00 */ cmplwi r0, 0 +/* 8028658C 002834EC 40 82 00 14 */ bne lbl_802865A0 +/* 80286590 002834F0 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286594 002834F4 38 00 00 00 */ li r0, 0 +/* 80286598 002834F8 D0 1F 02 94 */ stfs f0, 0x294(r31) +/* 8028659C 002834FC 98 1F 02 A4 */ stb r0, 0x2a4(r31) +lbl_802865A0: +/* 802865A0 00283500 38 00 00 01 */ li r0, 1 +/* 802865A4 00283504 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802865A8 00283508 90 1F 02 58 */ stw r0, 0x258(r31) +/* 802865AC 0028350C 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 802865B0 00283510 D0 1F 02 A8 */ stfs f0, 0x2a8(r31) +/* 802865B4 00283514 48 00 01 20 */ b lbl_802866D4 +lbl_802865B8: +/* 802865B8 00283518 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 802865BC 0028351C 2C 00 00 00 */ cmpwi r0, 0 +/* 802865C0 00283520 40 82 01 14 */ bne lbl_802866D4 +/* 802865C4 00283524 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802865C8 00283528 38 00 00 03 */ li r0, 3 +/* 802865CC 0028352C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802865D0 00283530 C0 23 01 10 */ lfs f1, 0x110(r3) +/* 802865D4 00283534 D0 3F 02 88 */ stfs f1, 0x288(r31) +/* 802865D8 00283538 90 1F 02 58 */ stw r0, 0x258(r31) +/* 802865DC 0028353C D0 1F 02 A0 */ stfs f0, 0x2a0(r31) +/* 802865E0 00283540 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802865E4 00283544 88 03 02 2A */ lbz r0, 0x22a(r3) +/* 802865E8 00283548 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802865EC 0028354C 41 82 00 10 */ beq lbl_802865FC +/* 802865F0 00283550 C0 03 01 00 */ lfs f0, 0x100(r3) +/* 802865F4 00283554 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 802865F8 00283558 48 00 00 DC */ b lbl_802866D4 +lbl_802865FC: +/* 802865FC 0028355C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286600 00283560 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80286604 00283564 48 00 00 D0 */ b lbl_802866D4 +lbl_80286608: +/* 80286608 00283568 38 60 00 04 */ li r3, 4 +/* 8028660C 0028356C 38 00 00 00 */ li r0, 0 +/* 80286610 00283570 90 7F 02 58 */ stw r3, 0x258(r31) +/* 80286614 00283574 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 80286618 00283578 48 00 00 BC */ b lbl_802866D4 +lbl_8028661C: +/* 8028661C 0028357C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286620 00283580 38 00 00 00 */ li r0, 0 +/* 80286624 00283584 D0 1F 03 00 */ stfs f0, 0x300(r31) +/* 80286628 00283588 90 1F 02 58 */ stw r0, 0x258(r31) +/* 8028662C 0028358C D0 1F 02 88 */ stfs f0, 0x288(r31) +/* 80286630 00283590 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80286634 00283594 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 80286638 00283598 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8028663C 0028359C 2C 00 00 01 */ cmpwi r0, 1 +/* 80286640 002835A0 41 82 00 0C */ beq lbl_8028664C +/* 80286644 002835A4 38 80 00 25 */ li r4, 0x25 +/* 80286648 002835A8 4B DC DD 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8028664C: +/* 8028664C 002835AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286650 002835B0 38 00 00 00 */ li r0, 0 +/* 80286654 002835B4 D0 1F 02 94 */ stfs f0, 0x294(r31) +/* 80286658 002835B8 D0 1F 02 9C */ stfs f0, 0x29c(r31) +/* 8028665C 002835BC 98 1F 02 A4 */ stb r0, 0x2a4(r31) +/* 80286660 002835C0 90 1F 02 98 */ stw r0, 0x298(r31) +/* 80286664 002835C4 48 00 00 70 */ b lbl_802866D4 +lbl_80286668: +/* 80286668 002835C8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028666C 002835CC D0 3F 02 88 */ stfs f1, 0x288(r31) +/* 80286670 002835D0 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80286674 002835D4 2C 00 00 02 */ cmpwi r0, 2 +/* 80286678 002835D8 41 82 00 54 */ beq lbl_802866CC +/* 8028667C 002835DC 38 00 00 02 */ li r0, 2 +/* 80286680 002835E0 90 1F 02 58 */ stw r0, 0x258(r31) +/* 80286684 002835E4 C0 1F 02 94 */ lfs f0, 0x294(r31) +/* 80286688 002835E8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028668C 002835EC 4C 40 13 82 */ cror 2, 0, 2 +/* 80286690 002835F0 40 82 00 3C */ bne lbl_802866CC +/* 80286694 002835F4 C0 1F 02 9C */ lfs f0, 0x29c(r31) +/* 80286698 002835F8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028669C 002835FC 4C 40 13 82 */ cror 2, 0, 2 +/* 802866A0 00283600 40 82 00 2C */ bne lbl_802866CC +/* 802866A4 00283604 88 1F 03 DC */ lbz r0, 0x3dc(r31) +/* 802866A8 00283608 28 00 00 00 */ cmplwi r0, 0 +/* 802866AC 0028360C 40 82 00 20 */ bne lbl_802866CC +/* 802866B0 00283610 88 1F 03 DD */ lbz r0, 0x3dd(r31) +/* 802866B4 00283614 28 00 00 00 */ cmplwi r0, 0 +/* 802866B8 00283618 40 82 00 14 */ bne lbl_802866CC +/* 802866BC 0028361C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802866C0 00283620 38 00 00 00 */ li r0, 0 +/* 802866C4 00283624 D0 1F 02 9C */ stfs f0, 0x29c(r31) +/* 802866C8 00283628 98 1F 02 A4 */ stb r0, 0x2a4(r31) +lbl_802866CC: +/* 802866CC 0028362C 38 00 00 01 */ li r0, 1 +/* 802866D0 00283630 90 1F 02 AC */ stw r0, 0x2ac(r31) +lbl_802866D4: +/* 802866D4 00283634 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802866D8 00283638 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802866DC 0028363C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802866E0 00283640 7C 08 03 A6 */ mtlr r0 +/* 802866E4 00283644 38 21 00 20 */ addi r1, r1, 0x20 +/* 802866E8 00283648 4E 80 00 20 */ blr + +.global JumpInput__7CPlayerFRC11CFinalInputR13CStateManager +JumpInput__7CPlayerFRC11CFinalInputR13CStateManager: +/* 802866EC 0028364C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802866F0 00283650 7C 08 02 A6 */ mflr r0 +/* 802866F4 00283654 90 01 00 94 */ stw r0, 0x94(r1) +/* 802866F8 00283658 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802866FC 0028365C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80286700 00283660 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80286704 00283664 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80286708 00283668 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8028670C 0028366C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80286710 00283670 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80286714 00283674 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80286718 00283678 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 8028671C 0028367C F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 80286720 00283680 DB 41 00 30 */ stfd f26, 0x30(r1) +/* 80286724 00283684 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 80286728 00283688 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028672C 0028368C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80286730 00283690 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80286734 00283694 7C 7D 1B 78 */ mr r29, r3 +/* 80286738 00283698 7C 9E 23 78 */ mr r30, r4 +/* 8028673C 0028369C 7C BF 2B 78 */ mr r31, r5 +/* 80286740 002836A0 4B D9 3A D5 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80286744 002836A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286748 002836A8 41 82 00 18 */ beq lbl_80286760 +/* 8028674C 002836AC C3 BD 00 E8 */ lfs f29, 0xe8(r29) +/* 80286750 002836B0 7F A3 EB 78 */ mr r3, r29 +/* 80286754 002836B4 48 00 1C 09 */ bl GetGravity__7CPlayerCFv +/* 80286758 002836B8 EC 21 07 72 */ fmuls f1, f1, f29 +/* 8028675C 002836BC 48 00 02 D4 */ b lbl_80286A30 +lbl_80286760: +/* 80286760 002836C0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80286764 002836C4 38 80 00 15 */ li r4, 0x15 +/* 80286768 002836C8 C3 E2 BD 80 */ lfs f31, lbl_805ADAA0@sda21(r2) +/* 8028676C 002836CC 80 63 00 00 */ lwz r3, 0(r3) +/* 80286770 002836D0 4B E0 B3 51 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80286774 002836D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286778 002836D8 40 82 00 60 */ bne lbl_802867D8 +/* 8028677C 002836DC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80286780 002836E0 2C 00 00 02 */ cmpwi r0, 2 +/* 80286784 002836E4 40 82 00 0C */ bne lbl_80286790 +/* 80286788 002836E8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028678C 002836EC 48 00 00 08 */ b lbl_80286794 +lbl_80286790: +/* 80286790 002836F0 38 00 00 04 */ li r0, 4 +lbl_80286794: +/* 80286794 002836F4 2C 00 00 05 */ cmpwi r0, 5 +/* 80286798 002836F8 41 82 00 2C */ beq lbl_802867C4 +/* 8028679C 002836FC 40 80 00 10 */ bge lbl_802867AC +/* 802867A0 00283700 2C 00 00 04 */ cmpwi r0, 4 +/* 802867A4 00283704 40 80 00 14 */ bge lbl_802867B8 +/* 802867A8 00283708 48 00 00 30 */ b lbl_802867D8 +lbl_802867AC: +/* 802867AC 0028370C 2C 00 00 07 */ cmpwi r0, 7 +/* 802867B0 00283710 40 80 00 28 */ bge lbl_802867D8 +/* 802867B4 00283714 48 00 00 1C */ b lbl_802867D0 +lbl_802867B8: +/* 802867B8 00283718 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867BC 0028371C C3 E3 00 DC */ lfs f31, 0xdc(r3) +/* 802867C0 00283720 48 00 00 18 */ b lbl_802867D8 +lbl_802867C4: +/* 802867C4 00283724 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867C8 00283728 C3 E3 00 E4 */ lfs f31, 0xe4(r3) +/* 802867CC 0028372C 48 00 00 0C */ b lbl_802867D8 +lbl_802867D0: +/* 802867D0 00283730 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867D4 00283734 C3 E3 00 EC */ lfs f31, 0xec(r3) +lbl_802867D8: +/* 802867D8 00283738 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 802867DC 0028373C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867E0 00283740 28 00 00 00 */ cmplwi r0, 0 +/* 802867E4 00283744 C3 83 00 CC */ lfs f28, 0xcc(r3) +/* 802867E8 00283748 C3 63 00 D0 */ lfs f27, 0xd0(r3) +/* 802867EC 0028374C C3 43 01 14 */ lfs f26, 0x114(r3) +/* 802867F0 00283750 C3 C3 00 D4 */ lfs f30, 0xd4(r3) +/* 802867F4 00283754 C3 A3 00 D8 */ lfs f29, 0xd8(r3) +/* 802867F8 00283758 41 82 00 10 */ beq lbl_80286808 +/* 802867FC 0028375C C3 43 02 0C */ lfs f26, 0x20c(r3) +/* 80286800 00283760 C3 C3 02 10 */ lfs f30, 0x210(r3) +/* 80286804 00283764 C3 A3 02 14 */ lfs f29, 0x214(r3) +lbl_80286808: +/* 80286808 00283768 7F A3 EB 78 */ mr r3, r29 +/* 8028680C 0028376C 4B FF E5 D5 */ bl GetEyeHeight__7CPlayerCFv +/* 80286810 00283770 C0 42 BE 38 */ lfs f2, lbl_805ADB58@sda21(r2) +/* 80286814 00283774 C0 1D 08 28 */ lfs f0, 0x828(r29) +/* 80286818 00283778 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8028681C 0028377C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80286820 00283780 4C 41 13 82 */ cror 2, 1, 2 +/* 80286824 00283784 7C 00 00 26 */ mfcr r0 +/* 80286828 00283788 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f +/* 8028682C 0028378C 41 82 00 08 */ beq lbl_80286834 +/* 80286830 00283790 EF 5A 07 F2 */ fmuls f26, f26, f31 +lbl_80286834: +/* 80286834 00283794 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80286838 00283798 2C 00 00 02 */ cmpwi r0, 2 +/* 8028683C 0028379C 40 82 01 10 */ bne lbl_8028694C +/* 80286840 002837A0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286844 002837A4 C0 5D 02 8C */ lfs f2, 0x28c(r29) +/* 80286848 002837A8 C0 23 00 FC */ lfs f1, 0xfc(r3) +/* 8028684C 002837AC C0 03 01 00 */ lfs f0, 0x100(r3) +/* 80286850 002837B0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80286854 002837B4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80286858 002837B8 4C 41 13 82 */ cror 2, 1, 2 +/* 8028685C 002837BC 40 82 00 DC */ bne lbl_80286938 +/* 80286860 002837C0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286864 002837C4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80286868 002837C8 40 80 00 D0 */ bge lbl_80286938 +/* 8028686C 002837CC 7F C4 F3 78 */ mr r4, r30 +/* 80286870 002837D0 38 60 00 0A */ li r3, 0xa +/* 80286874 002837D4 4B D8 5F 5D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286878 002837D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028687C 002837DC 41 82 00 BC */ beq lbl_80286938 +/* 80286880 002837E0 7F A3 EB 78 */ mr r3, r29 +/* 80286884 002837E4 7F E5 FB 78 */ mr r5, r31 +/* 80286888 002837E8 38 80 00 01 */ li r4, 1 +/* 8028688C 002837EC 4B FF FB 61 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 80286890 002837F0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286894 002837F4 7F A3 EB 78 */ mr r3, r29 +/* 80286898 002837F8 7F C4 F3 78 */ mr r4, r30 +/* 8028689C 002837FC D0 1D 03 84 */ stfs f0, 0x384(r29) +/* 802868A0 00283800 48 00 03 B1 */ bl StrafeInput__7CPlayerCFRC11CFinalInput +/* 802868A4 00283804 D0 3D 03 80 */ stfs f1, 0x380(r29) +/* 802868A8 00283808 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802868AC 0028380C 88 03 02 2A */ lbz r0, 0x22a(r3) +/* 802868B0 00283810 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802868B4 00283814 41 82 00 38 */ beq lbl_802868EC +/* 802868B8 00283818 C0 1D 01 40 */ lfs f0, 0x140(r29) +/* 802868BC 0028381C C0 3D 00 E8 */ lfs f1, 0xe8(r29) +/* 802868C0 00283820 EC 5A 00 28 */ fsubs f2, f26, f0 +/* 802868C4 00283824 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802868C8 00283828 D0 01 00 08 */ stfs f0, 8(r1) +/* 802868CC 0028382C EC 22 00 72 */ fmuls f1, f2, f1 +/* 802868D0 00283830 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802868D4 00283834 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802868D8 00283838 4B D9 4C 5D */ bl Identity__10CAxisAngleFv +/* 802868DC 0028383C 7C 65 1B 78 */ mr r5, r3 +/* 802868E0 00283840 7F A3 EB 78 */ mr r3, r29 +/* 802868E4 00283844 38 81 00 08 */ addi r4, r1, 8 +/* 802868E8 00283848 4B E9 5A B1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_802868EC: +/* 802868EC 0028384C 7F C4 F3 78 */ mr r4, r30 +/* 802868F0 00283850 38 60 00 00 */ li r3, 0 +/* 802868F4 00283854 4B D8 60 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802868F8 00283858 FF 40 08 90 */ fmr f26, f1 +/* 802868FC 0028385C 7F C4 F3 78 */ mr r4, r30 +/* 80286900 00283860 38 60 00 01 */ li r3, 1 +/* 80286904 00283864 4B D8 60 15 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286908 00283868 FC 1A 08 40 */ fcmpo cr0, f26, f1 +/* 8028690C 0028386C 40 80 00 14 */ bge lbl_80286920 +/* 80286910 00283870 7F C4 F3 78 */ mr r4, r30 +/* 80286914 00283874 38 60 00 01 */ li r3, 1 +/* 80286918 00283878 4B D8 60 01 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8028691C 0028387C FF 40 08 90 */ fmr f26, f1 +lbl_80286920: +/* 80286920 00283880 EC 3E E8 28 */ fsubs f1, f30, f29 +/* 80286924 00283884 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 80286928 00283888 EC 3A F0 7C */ fnmsubs f1, f26, f1, f30 +/* 8028692C 0028388C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80286930 00283890 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80286934 00283894 48 00 00 FC */ b lbl_80286A30 +lbl_80286938: +/* 80286938 00283898 C3 7D 00 E8 */ lfs f27, 0xe8(r29) +/* 8028693C 0028389C 7F A3 EB 78 */ mr r3, r29 +/* 80286940 002838A0 48 00 1A 1D */ bl GetGravity__7CPlayerCFv +/* 80286944 002838A4 EC 21 06 F2 */ fmuls f1, f1, f27 +/* 80286948 002838A8 48 00 00 E8 */ b lbl_80286A30 +lbl_8028694C: +/* 8028694C 002838AC 7F C4 F3 78 */ mr r4, r30 +/* 80286950 002838B0 38 60 00 0A */ li r3, 0xa +/* 80286954 002838B4 4B D8 5F 21 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286958 002838B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028695C 002838BC 40 82 00 24 */ bne lbl_80286980 +/* 80286960 002838C0 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80286964 002838C4 2C 00 00 01 */ cmpwi r0, 1 +/* 80286968 002838C8 40 82 00 AC */ bne lbl_80286A14 +/* 8028696C 002838CC C0 3D 02 90 */ lfs f1, 0x290(r29) +/* 80286970 002838D0 C0 1D 02 88 */ lfs f0, 0x288(r29) +/* 80286974 002838D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286978 002838D8 4C 40 13 82 */ cror 2, 0, 2 +/* 8028697C 002838DC 40 82 00 98 */ bne lbl_80286A14 +lbl_80286980: +/* 80286980 002838E0 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80286984 002838E4 2C 00 00 01 */ cmpwi r0, 1 +/* 80286988 002838E8 41 82 00 40 */ beq lbl_802869C8 +/* 8028698C 002838EC 7F C4 F3 78 */ mr r4, r30 +/* 80286990 002838F0 38 60 00 0A */ li r3, 0xa +/* 80286994 002838F4 4B D8 5E 3D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286998 002838F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028699C 002838FC 41 82 00 24 */ beq lbl_802869C0 +/* 802869A0 00283900 7F A3 EB 78 */ mr r3, r29 +/* 802869A4 00283904 7F E5 FB 78 */ mr r5, r31 +/* 802869A8 00283908 38 80 00 01 */ li r4, 1 +/* 802869AC 0028390C 4B FF FA 41 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 802869B0 00283910 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 802869B4 00283914 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 802869B8 00283918 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 802869BC 0028391C 48 00 00 74 */ b lbl_80286A30 +lbl_802869C0: +/* 802869C0 00283920 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802869C4 00283924 48 00 00 6C */ b lbl_80286A30 +lbl_802869C8: +/* 802869C8 00283928 7F C4 F3 78 */ mr r4, r30 +/* 802869CC 0028392C 38 60 00 00 */ li r3, 0 +/* 802869D0 00283930 4B D8 5F 49 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802869D4 00283934 FF 40 08 90 */ fmr f26, f1 +/* 802869D8 00283938 7F C4 F3 78 */ mr r4, r30 +/* 802869DC 0028393C 38 60 00 01 */ li r3, 1 +/* 802869E0 00283940 4B D8 5F 39 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802869E4 00283944 FC 1A 08 40 */ fcmpo cr0, f26, f1 +/* 802869E8 00283948 40 80 00 14 */ bge lbl_802869FC +/* 802869EC 0028394C 7F C4 F3 78 */ mr r4, r30 +/* 802869F0 00283950 38 60 00 01 */ li r3, 1 +/* 802869F4 00283954 4B D8 5F 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802869F8 00283958 FF 40 08 90 */ fmr f26, f1 +lbl_802869FC: +/* 802869FC 0028395C EC 3C D8 28 */ fsubs f1, f28, f27 +/* 80286A00 00283960 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 80286A04 00283964 EC 3A E0 7C */ fnmsubs f1, f26, f1, f28 +/* 80286A08 00283968 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80286A0C 0028396C EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80286A10 00283970 48 00 00 20 */ b lbl_80286A30 +lbl_80286A14: +/* 80286A14 00283974 2C 00 00 01 */ cmpwi r0, 1 +/* 80286A18 00283978 40 82 00 14 */ bne lbl_80286A2C +/* 80286A1C 0028397C 7F A3 EB 78 */ mr r3, r29 +/* 80286A20 00283980 7F E5 FB 78 */ mr r5, r31 +/* 80286A24 00283984 38 80 00 02 */ li r4, 2 +/* 80286A28 00283988 4B FF F9 C5 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +lbl_80286A2C: +/* 80286A2C 0028398C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +lbl_80286A30: +/* 80286A30 00283990 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80286A34 00283994 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80286A38 00283998 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80286A3C 0028399C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80286A40 002839A0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80286A44 002839A4 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80286A48 002839A8 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80286A4C 002839AC CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80286A50 002839B0 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 80286A54 002839B4 CB 61 00 40 */ lfd f27, 0x40(r1) +/* 80286A58 002839B8 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 80286A5C 002839BC CB 41 00 30 */ lfd f26, 0x30(r1) +/* 80286A60 002839C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80286A64 002839C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80286A68 002839C8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80286A6C 002839CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80286A70 002839D0 7C 08 03 A6 */ mtlr r0 +/* 80286A74 002839D4 38 21 00 90 */ addi r1, r1, 0x90 +/* 80286A78 002839D8 4E 80 00 20 */ blr + +.global TurnInput__7CPlayerCFRC11CFinalInput +TurnInput__7CPlayerCFRC11CFinalInput: +/* 80286A7C 002839DC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80286A80 002839E0 7C 08 02 A6 */ mflr r0 +/* 80286A84 002839E4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80286A88 002839E8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80286A8C 002839EC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80286A90 002839F0 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80286A94 002839F4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80286A98 002839F8 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80286A9C 002839FC F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80286AA0 00283A00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80286AA4 00283A04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80286AA8 00283A08 7C 7E 1B 78 */ mr r30, r3 +/* 80286AAC 00283A0C 7C 9F 23 78 */ mr r31, r4 +/* 80286AB0 00283A10 80 03 03 04 */ lwz r0, 0x304(r3) +/* 80286AB4 00283A14 2C 00 00 01 */ cmpwi r0, 1 +/* 80286AB8 00283A18 41 82 00 0C */ beq lbl_80286AC4 +/* 80286ABC 00283A1C 2C 00 00 05 */ cmpwi r0, 5 +/* 80286AC0 00283A20 40 82 00 0C */ bne lbl_80286ACC +lbl_80286AC4: +/* 80286AC4 00283A24 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286AC8 00283A28 48 00 01 58 */ b lbl_80286C20 +lbl_80286ACC: +/* 80286ACC 00283A2C 4B D9 37 49 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80286AD0 00283A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286AD4 00283A34 41 82 00 0C */ beq lbl_80286AE0 +/* 80286AD8 00283A38 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286ADC 00283A3C 48 00 01 44 */ b lbl_80286C20 +lbl_80286AE0: +/* 80286AE0 00283A40 7F E4 FB 78 */ mr r4, r31 +/* 80286AE4 00283A44 38 60 00 02 */ li r3, 2 +/* 80286AE8 00283A48 4B D8 5E 31 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286AEC 00283A4C FF C0 08 90 */ fmr f30, f1 +/* 80286AF0 00283A50 7F E4 FB 78 */ mr r4, r31 +/* 80286AF4 00283A54 38 60 00 03 */ li r3, 3 +/* 80286AF8 00283A58 4B D8 5E 21 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286AFC 00283A5C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286B00 00283A60 FF A0 08 90 */ fmr f29, f1 +/* 80286B04 00283A64 88 63 02 28 */ lbz r3, 0x228(r3) +/* 80286B08 00283A68 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80286B0C 00283A6C 41 82 00 54 */ beq lbl_80286B60 +/* 80286B10 00283A70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80286B14 00283A74 41 82 00 14 */ beq lbl_80286B28 +/* 80286B18 00283A78 41 82 00 98 */ beq lbl_80286BB0 +/* 80286B1C 00283A7C 88 1E 03 DD */ lbz r0, 0x3dd(r30) +/* 80286B20 00283A80 28 00 00 00 */ cmplwi r0, 0 +/* 80286B24 00283A84 41 82 00 8C */ beq lbl_80286BB0 +lbl_80286B28: +/* 80286B28 00283A88 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286B2C 00283A8C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80286B30 00283A90 40 80 00 80 */ bge lbl_80286BB0 +/* 80286B34 00283A94 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80286B38 00283A98 40 80 00 78 */ bge lbl_80286BB0 +/* 80286B3C 00283A9C 7F E4 FB 78 */ mr r4, r31 +/* 80286B40 00283AA0 38 60 00 06 */ li r3, 6 +/* 80286B44 00283AA4 4B D8 5D D5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B48 00283AA8 FF C0 08 90 */ fmr f30, f1 +/* 80286B4C 00283AAC 7F E4 FB 78 */ mr r4, r31 +/* 80286B50 00283AB0 38 60 00 07 */ li r3, 7 +/* 80286B54 00283AB4 4B D8 5D C5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B58 00283AB8 FF A0 08 90 */ fmr f29, f1 +/* 80286B5C 00283ABC 48 00 00 54 */ b lbl_80286BB0 +lbl_80286B60: +/* 80286B60 00283AC0 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80286B64 00283AC4 41 82 00 14 */ beq lbl_80286B78 +/* 80286B68 00283AC8 41 82 00 48 */ beq lbl_80286BB0 +/* 80286B6C 00283ACC 88 1E 03 DD */ lbz r0, 0x3dd(r30) +/* 80286B70 00283AD0 28 00 00 00 */ cmplwi r0, 0 +/* 80286B74 00283AD4 41 82 00 3C */ beq lbl_80286BB0 +lbl_80286B78: +/* 80286B78 00283AD8 7F E4 FB 78 */ mr r4, r31 +/* 80286B7C 00283ADC 38 60 00 06 */ li r3, 6 +/* 80286B80 00283AE0 4B D8 5D 99 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B84 00283AE4 FF E0 08 90 */ fmr f31, f1 +/* 80286B88 00283AE8 7F E4 FB 78 */ mr r4, r31 +/* 80286B8C 00283AEC 38 60 00 07 */ li r3, 7 +/* 80286B90 00283AF0 4B D8 5D 89 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B94 00283AF4 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286B98 00283AF8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80286B9C 00283AFC 41 81 00 0C */ bgt lbl_80286BA8 +/* 80286BA0 00283B00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286BA4 00283B04 40 81 00 0C */ ble lbl_80286BB0 +lbl_80286BA8: +/* 80286BA8 00283B08 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286BAC 00283B0C 48 00 00 74 */ b lbl_80286C20 +lbl_80286BB0: +/* 80286BB0 00283B10 C0 3E 03 2C */ lfs f1, 0x32c(r30) +/* 80286BB4 00283B14 EF BE E8 28 */ fsubs f29, f30, f29 +/* 80286BB8 00283B18 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286BBC 00283B1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286BC0 00283B20 40 81 00 38 */ ble lbl_80286BF8 +/* 80286BC4 00283B24 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) +/* 80286BC8 00283B28 38 81 00 08 */ addi r4, r1, 8 +/* 80286BCC 00283B2C 38 6D 99 68 */ addi r3, r13, lbl_805A8528@sda21 +/* 80286BD0 00283B30 38 AD 99 6C */ addi r5, r13, lbl_805A852C@sda21 +/* 80286BD4 00283B34 C0 06 01 80 */ lfs f0, 0x180(r6) +/* 80286BD8 00283B38 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80286BDC 00283B3C D0 01 00 08 */ stfs f0, 8(r1) +/* 80286BE0 00283B40 4B D8 56 D5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80286BE4 00283B44 C0 43 00 00 */ lfs f2, 0(r3) +/* 80286BE8 00283B48 C0 22 BD 7C */ lfs f1, lbl_805ADA9C@sda21(r2) +/* 80286BEC 00283B4C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80286BF0 00283B50 EC 01 00 BC */ fnmsubs f0, f1, f2, f0 +/* 80286BF4 00283B54 EF BD 00 32 */ fmuls f29, f29, f0 +lbl_80286BF8: +/* 80286BF8 00283B58 FC 20 EA 10 */ fabs f1, f29 +/* 80286BFC 00283B5C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286C00 00283B60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286C04 00283B64 40 81 00 18 */ ble lbl_80286C1C +/* 80286C08 00283B68 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286C0C 00283B6C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80286C10 00283B70 FC 1D 00 6E */ fsel f0, f29, f1, f0 +/* 80286C14 00283B74 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80286C18 00283B78 48 00 00 08 */ b lbl_80286C20 +lbl_80286C1C: +/* 80286C1C 00283B7C FC 20 E8 90 */ fmr f1, f29 +lbl_80286C20: +/* 80286C20 00283B80 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80286C24 00283B84 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80286C28 00283B88 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80286C2C 00283B8C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80286C30 00283B90 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80286C34 00283B94 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 80286C38 00283B98 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80286C3C 00283B9C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80286C40 00283BA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80286C44 00283BA4 7C 08 03 A6 */ mtlr r0 +/* 80286C48 00283BA8 38 21 00 50 */ addi r1, r1, 0x50 +/* 80286C4C 00283BAC 4E 80 00 20 */ blr + +.global StrafeInput__7CPlayerCFRC11CFinalInput +StrafeInput__7CPlayerCFRC11CFinalInput: +/* 80286C50 00283BB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80286C54 00283BB4 7C 08 02 A6 */ mflr r0 +/* 80286C58 00283BB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80286C5C 00283BBC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80286C60 00283BC0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80286C64 00283BC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80286C68 00283BC8 93 C1 00 08 */ stw r30, 8(r1) +/* 80286C6C 00283BCC 7C 7E 1B 78 */ mr r30, r3 +/* 80286C70 00283BD0 7C 9F 23 78 */ mr r31, r4 +/* 80286C74 00283BD4 4B D9 35 A1 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80286C78 00283BD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286C7C 00283BDC 40 82 00 10 */ bne lbl_80286C8C +/* 80286C80 00283BE0 80 1E 03 04 */ lwz r0, 0x304(r30) +/* 80286C84 00283BE4 2C 00 00 00 */ cmpwi r0, 0 +/* 80286C88 00283BE8 40 82 00 0C */ bne lbl_80286C94 +lbl_80286C8C: +/* 80286C8C 00283BEC C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286C90 00283BF0 48 00 00 24 */ b lbl_80286CB4 +lbl_80286C94: +/* 80286C94 00283BF4 7F E4 FB 78 */ mr r4, r31 +/* 80286C98 00283BF8 38 60 00 04 */ li r3, 4 +/* 80286C9C 00283BFC 4B D8 5C 7D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286CA0 00283C00 FF E0 08 90 */ fmr f31, f1 +/* 80286CA4 00283C04 7F E4 FB 78 */ mr r4, r31 +/* 80286CA8 00283C08 38 60 00 05 */ li r3, 5 +/* 80286CAC 00283C0C 4B D8 5C 6D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286CB0 00283C10 EC 21 F8 28 */ fsubs f1, f1, f31 +lbl_80286CB4: +/* 80286CB4 00283C14 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80286CB8 00283C18 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80286CBC 00283C1C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80286CC0 00283C20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80286CC4 00283C24 83 C1 00 08 */ lwz r30, 8(r1) +/* 80286CC8 00283C28 7C 08 03 A6 */ mtlr r0 +/* 80286CCC 00283C2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80286CD0 00283C30 4E 80 00 20 */ blr + +.global ForwardInput__7CPlayerCFRC11CFinalInputf +ForwardInput__7CPlayerCFRC11CFinalInputf: +/* 80286CD4 00283C34 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80286CD8 00283C38 7C 08 02 A6 */ mflr r0 +/* 80286CDC 00283C3C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80286CE0 00283C40 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80286CE4 00283C44 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80286CE8 00283C48 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80286CEC 00283C4C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80286CF0 00283C50 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80286CF4 00283C54 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80286CF8 00283C58 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80286CFC 00283C5C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80286D00 00283C60 FF A0 08 90 */ fmr f29, f1 +/* 80286D04 00283C64 7C 7E 1B 78 */ mr r30, r3 +/* 80286D08 00283C68 7C 9F 23 78 */ mr r31, r4 +/* 80286D0C 00283C6C 38 60 00 00 */ li r3, 0 +/* 80286D10 00283C70 4B D8 5C 09 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286D14 00283C74 FF E0 08 90 */ fmr f31, f1 +/* 80286D18 00283C78 7F E4 FB 78 */ mr r4, r31 +/* 80286D1C 00283C7C 38 60 00 01 */ li r3, 1 +/* 80286D20 00283C80 4B D8 5B F9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286D24 00283C84 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 80286D28 00283C88 FF C0 08 90 */ fmr f30, f1 +/* 80286D2C 00283C8C 2C 00 00 00 */ cmpwi r0, 0 +/* 80286D30 00283C90 40 82 00 14 */ bne lbl_80286D44 +/* 80286D34 00283C94 7F C3 F3 78 */ mr r3, r30 +/* 80286D38 00283C98 4B EF 45 71 */ bl InGrappleJumpCooldown__7CPlayerCFv +/* 80286D3C 00283C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286D40 00283CA0 41 82 00 08 */ beq lbl_80286D48 +lbl_80286D44: +/* 80286D44 00283CA4 C3 C2 BD A0 */ lfs f30, lbl_805ADAC0@sda21(r2) +lbl_80286D48: +/* 80286D48 00283CA8 80 7E 02 F8 */ lwz r3, 0x2f8(r30) +/* 80286D4C 00283CAC 2C 03 00 02 */ cmpwi r3, 2 +/* 80286D50 00283CB0 40 82 00 14 */ bne lbl_80286D64 +/* 80286D54 00283CB4 80 1E 05 84 */ lwz r0, 0x584(r30) +/* 80286D58 00283CB8 28 00 00 02 */ cmplwi r0, 2 +/* 80286D5C 00283CBC 40 82 00 08 */ bne lbl_80286D64 +/* 80286D60 00283CC0 C3 E2 BD A0 */ lfs f31, lbl_805ADAC0@sda21(r2) +lbl_80286D64: +/* 80286D64 00283CC4 2C 03 00 03 */ cmpwi r3, 3 +/* 80286D68 00283CC8 40 82 00 14 */ bne lbl_80286D7C +/* 80286D6C 00283CCC 80 1E 05 84 */ lwz r0, 0x584(r30) +/* 80286D70 00283CD0 28 00 00 05 */ cmplwi r0, 5 +/* 80286D74 00283CD4 40 82 00 08 */ bne lbl_80286D7C +/* 80286D78 00283CD8 C3 E2 BD A0 */ lfs f31, lbl_805ADAC0@sda21(r2) +lbl_80286D7C: +/* 80286D7C 00283CDC C0 02 BE 3C */ lfs f0, lbl_805ADB5C@sda21(r2) +/* 80286D80 00283CE0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80286D84 00283CE4 41 80 00 88 */ blt lbl_80286E0C +/* 80286D88 00283CE8 C0 22 BE 38 */ lfs f1, lbl_805ADB58@sda21(r2) +/* 80286D8C 00283CEC C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286D90 00283CF0 EF FF 08 24 */ fdivs f31, f31, f1 +/* 80286D94 00283CF4 FC 20 FA 10 */ fabs f1, f31 +/* 80286D98 00283CF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286D9C 00283CFC 40 81 00 14 */ ble lbl_80286DB0 +/* 80286DA0 00283D00 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286DA4 00283D04 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80286DA8 00283D08 FC 1F 00 6E */ fsel f0, f31, f1, f0 +/* 80286DAC 00283D0C EF E1 00 32 */ fmuls f31, f1, f0 +lbl_80286DB0: +/* 80286DB0 00283D10 FC 00 EA 10 */ fabs f0, f29 +/* 80286DB4 00283D14 FC 40 F8 90 */ fmr f2, f31 +/* 80286DB8 00283D18 FC 20 00 18 */ frsp f1, f0 +/* 80286DBC 00283D1C 48 10 DE B1 */ bl atan2 +/* 80286DC0 00283D20 FC 20 08 18 */ frsp f1, f1 +/* 80286DC4 00283D24 C0 02 BE 40 */ lfs f0, lbl_805ADB60@sda21(r2) +/* 80286DC8 00283D28 FC 20 0A 10 */ fabs f1, f1 +/* 80286DCC 00283D2C FC 20 08 18 */ frsp f1, f1 +/* 80286DD0 00283D30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286DD4 00283D34 40 80 00 38 */ bge lbl_80286E0C +/* 80286DD8 00283D38 FC 20 EA 10 */ fabs f1, f29 +/* 80286DDC 00283D3C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286DE0 00283D40 D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 80286DE4 00283D44 38 61 00 20 */ addi r3, r1, 0x20 +/* 80286DE8 00283D48 FC 20 08 18 */ frsp f1, f1 +/* 80286DEC 00283D4C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80286DF0 00283D50 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80286DF4 00283D54 48 08 D9 05 */ bl CanBeNormalized__9CVector3fCFv +/* 80286DF8 00283D58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286DFC 00283D5C 41 82 00 10 */ beq lbl_80286E0C +/* 80286E00 00283D60 38 61 00 20 */ addi r3, r1, 0x20 +/* 80286E04 00283D64 48 08 DA B5 */ bl Magnitude__9CVector3fCFv +/* 80286E08 00283D68 FF E0 08 90 */ fmr f31, f1 +lbl_80286E0C: +/* 80286E0C 00283D6C C0 02 BE 3C */ lfs f0, lbl_805ADB5C@sda21(r2) +/* 80286E10 00283D70 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80286E14 00283D74 41 80 00 88 */ blt lbl_80286E9C +/* 80286E18 00283D78 C0 22 BE 38 */ lfs f1, lbl_805ADB58@sda21(r2) +/* 80286E1C 00283D7C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286E20 00283D80 EF DE 08 24 */ fdivs f30, f30, f1 +/* 80286E24 00283D84 FC 20 F2 10 */ fabs f1, f30 +/* 80286E28 00283D88 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286E2C 00283D8C 40 81 00 14 */ ble lbl_80286E40 +/* 80286E30 00283D90 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286E34 00283D94 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80286E38 00283D98 FC 1E 00 6E */ fsel f0, f30, f1, f0 +/* 80286E3C 00283D9C EF C1 00 32 */ fmuls f30, f1, f0 +lbl_80286E40: +/* 80286E40 00283DA0 FC 00 EA 10 */ fabs f0, f29 +/* 80286E44 00283DA4 FC 40 F0 90 */ fmr f2, f30 +/* 80286E48 00283DA8 FC 20 00 18 */ frsp f1, f0 +/* 80286E4C 00283DAC 48 10 DE 21 */ bl atan2 +/* 80286E50 00283DB0 FC 20 08 18 */ frsp f1, f1 +/* 80286E54 00283DB4 C0 02 BE 40 */ lfs f0, lbl_805ADB60@sda21(r2) +/* 80286E58 00283DB8 FC 20 0A 10 */ fabs f1, f1 +/* 80286E5C 00283DBC FC 20 08 18 */ frsp f1, f1 +/* 80286E60 00283DC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286E64 00283DC4 40 80 00 38 */ bge lbl_80286E9C +/* 80286E68 00283DC8 FC 20 EA 10 */ fabs f1, f29 +/* 80286E6C 00283DCC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286E70 00283DD0 D3 C1 00 18 */ stfs f30, 0x18(r1) +/* 80286E74 00283DD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80286E78 00283DD8 FC 20 08 18 */ frsp f1, f1 +/* 80286E7C 00283DDC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80286E80 00283DE0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80286E84 00283DE4 48 08 D8 75 */ bl CanBeNormalized__9CVector3fCFv +/* 80286E88 00283DE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286E8C 00283DEC 41 82 00 10 */ beq lbl_80286E9C +/* 80286E90 00283DF0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80286E94 00283DF4 48 08 DA 25 */ bl Magnitude__9CVector3fCFv +/* 80286E98 00283DF8 FF C0 08 90 */ fmr f30, f1 +lbl_80286E9C: +/* 80286E9C 00283DFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286EA0 00283E00 88 03 02 28 */ lbz r0, 0x228(r3) +/* 80286EA4 00283E04 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80286EA8 00283E08 40 82 00 70 */ bne lbl_80286F18 +/* 80286EAC 00283E0C C0 1E 01 40 */ lfs f0, 0x140(r30) +/* 80286EB0 00283E10 88 1E 03 DC */ lbz r0, 0x3dc(r30) +/* 80286EB4 00283E14 C0 5E 01 38 */ lfs f2, 0x138(r30) +/* 80286EB8 00283E18 C0 3E 01 3C */ lfs f1, 0x13c(r30) +/* 80286EBC 00283E1C 28 00 00 00 */ cmplwi r0, 0 +/* 80286EC0 00283E20 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80286EC4 00283E24 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286EC8 00283E28 D0 41 00 08 */ stfs f2, 8(r1) +/* 80286ECC 00283E2C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80286ED0 00283E30 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80286ED4 00283E34 40 82 00 10 */ bne lbl_80286EE4 +/* 80286ED8 00283E38 88 1E 03 DD */ lbz r0, 0x3dd(r30) +/* 80286EDC 00283E3C 28 00 00 00 */ cmplwi r0, 0 +/* 80286EE0 00283E40 41 82 00 38 */ beq lbl_80286F18 +lbl_80286EE4: +/* 80286EE4 00283E44 80 1E 02 58 */ lwz r0, 0x258(r30) +/* 80286EE8 00283E48 2C 00 00 00 */ cmpwi r0, 0 +/* 80286EEC 00283E4C 41 82 00 24 */ beq lbl_80286F10 +/* 80286EF0 00283E50 38 61 00 08 */ addi r3, r1, 8 +/* 80286EF4 00283E54 48 08 D9 C5 */ bl Magnitude__9CVector3fCFv +/* 80286EF8 00283E58 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80286EFC 00283E5C C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) +/* 80286F00 00283E60 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80286F04 00283E64 FC 20 0A 10 */ fabs f1, f1 +/* 80286F08 00283E68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286F0C 00283E6C 40 80 00 0C */ bge lbl_80286F18 +lbl_80286F10: +/* 80286F10 00283E70 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286F14 00283E74 48 00 00 30 */ b lbl_80286F44 +lbl_80286F18: +/* 80286F18 00283E78 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286F1C 00283E7C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286F20 00283E80 C0 23 01 18 */ lfs f1, 0x118(r3) +/* 80286F24 00283E84 EC 3E F8 7C */ fnmsubs f1, f30, f1, f31 +/* 80286F28 00283E88 FC 40 0A 10 */ fabs f2, f1 +/* 80286F2C 00283E8C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80286F30 00283E90 40 81 00 14 */ ble lbl_80286F44 +/* 80286F34 00283E94 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286F38 00283E98 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 80286F3C 00283E9C FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 80286F40 00283EA0 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80286F44: +/* 80286F44 00283EA4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80286F48 00283EA8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80286F4C 00283EAC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80286F50 00283EB0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80286F54 00283EB4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80286F58 00283EB8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80286F5C 00283EBC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80286F60 00283EC0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80286F64 00283EC4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80286F68 00283EC8 7C 08 03 A6 */ mtlr r0 +/* 80286F6C 00283ECC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80286F70 00283ED0 4E 80 00 20 */ blr + +.global ComputeMovement__7CPlayerFRC11CFinalInputR13CStateManagerf +ComputeMovement__7CPlayerFRC11CFinalInputR13CStateManagerf: +/* 80286F74 00283ED4 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80286F78 00283ED8 7C 08 02 A6 */ mflr r0 +/* 80286F7C 00283EDC 90 01 01 64 */ stw r0, 0x164(r1) +/* 80286F80 00283EE0 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 80286F84 00283EE4 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 80286F88 00283EE8 DB C1 01 40 */ stfd f30, 0x140(r1) +/* 80286F8C 00283EEC F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 80286F90 00283EF0 DB A1 01 30 */ stfd f29, 0x130(r1) +/* 80286F94 00283EF4 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 +/* 80286F98 00283EF8 DB 81 01 20 */ stfd f28, 0x120(r1) +/* 80286F9C 00283EFC F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 +/* 80286FA0 00283F00 DB 61 01 10 */ stfd f27, 0x110(r1) +/* 80286FA4 00283F04 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 +/* 80286FA8 00283F08 DB 41 01 00 */ stfd f26, 0x100(r1) +/* 80286FAC 00283F0C F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0 +/* 80286FB0 00283F10 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80286FB4 00283F14 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80286FB8 00283F18 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 80286FBC 00283F1C 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 80286FC0 00283F20 FF 60 08 90 */ fmr f27, f1 +/* 80286FC4 00283F24 7C 7D 1B 78 */ mr r29, r3 +/* 80286FC8 00283F28 7C 9E 23 78 */ mr r30, r4 +/* 80286FCC 00283F2C 7C BF 2B 78 */ mr r31, r5 +/* 80286FD0 00283F30 4B FF F7 1D */ bl JumpInput__7CPlayerFRC11CFinalInputR13CStateManager +/* 80286FD4 00283F34 FF A0 08 90 */ fmr f29, f1 +/* 80286FD8 00283F38 7F A3 EB 78 */ mr r3, r29 +/* 80286FDC 00283F3C 7F C4 F3 78 */ mr r4, r30 +/* 80286FE0 00283F40 4B FF FA 9D */ bl TurnInput__7CPlayerCFRC11CFinalInput +/* 80286FE4 00283F44 FF C0 08 90 */ fmr f30, f1 +/* 80286FE8 00283F48 7F A3 EB 78 */ mr r3, r29 +/* 80286FEC 00283F4C 7F C4 F3 78 */ mr r4, r30 +/* 80286FF0 00283F50 4B FF FC E5 */ bl ForwardInput__7CPlayerCFRC11CFinalInputf +/* 80286FF4 00283F54 FF E0 08 90 */ fmr f31, f1 +/* 80286FF8 00283F58 7F A4 EB 78 */ mr r4, r29 +/* 80286FFC 00283F5C 38 61 00 AC */ addi r3, r1, 0xac +/* 80287000 00283F60 48 00 14 F1 */ bl GetDampedClampedVelocityWR__7CPlayerCFv +/* 80287004 00283F64 7F A3 EB 78 */ mr r3, r29 +/* 80287008 00283F68 38 81 00 AC */ addi r4, r1, 0xac +/* 8028700C 00283F6C 4B E9 3C 95 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80287010 00283F70 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80287014 00283F74 88 64 02 28 */ lbz r3, 0x228(r4) +/* 80287018 00283F78 C3 84 01 28 */ lfs f28, 0x128(r4) +/* 8028701C 00283F7C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80287020 00283F80 41 82 00 20 */ beq lbl_80287040 +/* 80287024 00283F84 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80287028 00283F88 41 82 00 14 */ beq lbl_8028703C +/* 8028702C 00283F8C 41 82 00 14 */ beq lbl_80287040 +/* 80287030 00283F90 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287034 00283F94 28 00 00 00 */ cmplwi r0, 0 +/* 80287038 00283F98 41 82 00 08 */ beq lbl_80287040 +lbl_8028703C: +/* 8028703C 00283F9C C3 84 01 2C */ lfs f28, 0x12c(r4) +lbl_80287040: +/* 80287040 00283FA0 80 7D 03 04 */ lwz r3, 0x304(r29) +/* 80287044 00283FA4 2C 03 00 00 */ cmpwi r3, 0 +/* 80287048 00283FA8 41 82 00 20 */ beq lbl_80287068 +/* 8028704C 00283FAC 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287050 00283FB0 28 00 00 00 */ cmplwi r0, 0 +/* 80287054 00283FB4 41 82 02 38 */ beq lbl_8028728C +/* 80287058 00283FB8 2C 03 00 01 */ cmpwi r3, 1 +/* 8028705C 00283FBC 41 82 02 30 */ beq lbl_8028728C +/* 80287060 00283FC0 2C 03 00 05 */ cmpwi r3, 5 +/* 80287064 00283FC4 41 82 02 28 */ beq lbl_8028728C +lbl_80287068: +/* 80287068 00283FC8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028706C 00283FCC C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) +/* 80287070 00283FD0 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 80287074 00283FD4 FC 20 0A 10 */ fabs f1, f1 +/* 80287078 00283FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028707C 00283FDC 40 80 00 84 */ bge lbl_80287100 +/* 80287080 00283FE0 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80287084 00283FE4 2C 00 00 02 */ cmpwi r0, 2 +/* 80287088 00283FE8 40 82 00 0C */ bne lbl_80287094 +/* 8028708C 00283FEC 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287090 00283FF0 48 00 00 08 */ b lbl_80287098 +lbl_80287094: +/* 80287094 00283FF4 38 00 00 04 */ li r0, 4 +lbl_80287098: +/* 80287098 00283FF8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028709C 00283FFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802870A0 00284000 41 80 00 0C */ blt lbl_802870AC +/* 802870A4 00284004 2C 00 00 07 */ cmpwi r0, 7 +/* 802870A8 00284008 40 81 00 08 */ ble lbl_802870B0 +lbl_802870AC: +/* 802870AC 0028400C 38 00 00 00 */ li r0, 0 +lbl_802870B0: +/* 802870B0 00284010 54 00 10 3A */ slwi r0, r0, 2 +/* 802870B4 00284014 7F A4 EB 78 */ mr r4, r29 +/* 802870B8 00284018 7C A3 02 14 */ add r5, r3, r0 +/* 802870BC 0028401C 38 61 00 88 */ addi r3, r1, 0x88 +/* 802870C0 00284020 C3 45 00 64 */ lfs f26, 0x64(r5) +/* 802870C4 00284024 4B E9 3A E1 */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 802870C8 00284028 38 61 00 88 */ addi r3, r1, 0x88 +/* 802870CC 0028402C 4B D9 44 65 */ bl GetVector__10CAxisAngleCFv +/* 802870D0 00284030 C0 03 00 08 */ lfs f0, 8(r3) +/* 802870D4 00284034 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802870D8 00284038 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802870DC 0028403C 38 81 00 94 */ addi r4, r1, 0x94 +/* 802870E0 00284040 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 802870E4 00284044 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 802870E8 00284048 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 802870EC 0028404C D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 802870F0 00284050 4B D9 44 95 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 802870F4 00284054 7F A3 EB 78 */ mr r3, r29 +/* 802870F8 00284058 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802870FC 0028405C 4B E9 39 E1 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +lbl_80287100: +/* 80287100 00284060 7F A4 EB 78 */ mr r4, r29 +/* 80287104 00284064 38 61 00 7C */ addi r3, r1, 0x7c +/* 80287108 00284068 4B E9 3A 9D */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 8028710C 0028406C 38 61 00 7C */ addi r3, r1, 0x7c +/* 80287110 00284070 4B D9 44 21 */ bl GetVector__10CAxisAngleCFv +/* 80287114 00284074 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 80287118 00284078 C0 23 00 08 */ lfs f1, 8(r3) +/* 8028711C 0028407C 2C 04 00 02 */ cmpwi r4, 2 +/* 80287120 00284080 40 82 00 0C */ bne lbl_8028712C +/* 80287124 00284084 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287128 00284088 48 00 00 08 */ b lbl_80287130 +lbl_8028712C: +/* 8028712C 0028408C 38 00 00 04 */ li r0, 4 +lbl_80287130: +/* 80287130 00284090 2C 00 00 00 */ cmpwi r0, 0 +/* 80287134 00284094 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80287138 00284098 41 80 00 0C */ blt lbl_80287144 +/* 8028713C 0028409C 2C 00 00 07 */ cmpwi r0, 7 +/* 80287140 002840A0 40 81 00 08 */ ble lbl_80287148 +lbl_80287144: +/* 80287144 002840A4 38 00 00 00 */ li r0, 0 +lbl_80287148: +/* 80287148 002840A8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028714C 002840AC 7C 65 02 14 */ add r3, r5, r0 +/* 80287150 002840B0 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 80287154 002840B4 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80287158 002840B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028715C 002840BC 40 81 00 68 */ ble lbl_802871C4 +/* 80287160 002840C0 2C 04 00 02 */ cmpwi r4, 2 +/* 80287164 002840C4 40 82 00 0C */ bne lbl_80287170 +/* 80287168 002840C8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028716C 002840CC 48 00 00 08 */ b lbl_80287174 +lbl_80287170: +/* 80287170 002840D0 38 00 00 04 */ li r0, 4 +lbl_80287174: +/* 80287174 002840D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80287178 002840D8 41 80 00 0C */ blt lbl_80287184 +/* 8028717C 002840DC 2C 00 00 07 */ cmpwi r0, 7 +/* 80287180 002840E0 40 81 00 08 */ ble lbl_80287188 +lbl_80287184: +/* 80287184 002840E4 38 00 00 00 */ li r0, 0 +lbl_80287188: +/* 80287188 002840E8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028718C 002840EC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287190 002840F0 7C 85 02 14 */ add r4, r5, r0 +/* 80287194 002840F4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80287198 002840F8 C0 24 00 84 */ lfs f1, 0x84(r4) +/* 8028719C 002840FC 38 81 00 64 */ addi r4, r1, 0x64 +/* 802871A0 00284100 EC 3C 00 72 */ fmuls f1, f28, f1 +/* 802871A4 00284104 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802871A8 00284108 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802871AC 0028410C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802871B0 00284110 4B D9 43 D5 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 802871B4 00284114 7F A3 EB 78 */ mr r3, r29 +/* 802871B8 00284118 38 81 00 70 */ addi r4, r1, 0x70 +/* 802871BC 0028411C 4B E9 39 21 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +/* 802871C0 00284120 48 00 00 CC */ b lbl_8028728C +lbl_802871C4: +/* 802871C4 00284124 7F A4 EB 78 */ mr r4, r29 +/* 802871C8 00284128 38 61 00 58 */ addi r3, r1, 0x58 +/* 802871CC 0028412C 4B E9 39 D9 */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 802871D0 00284130 38 61 00 58 */ addi r3, r1, 0x58 +/* 802871D4 00284134 4B D9 43 5D */ bl GetVector__10CAxisAngleCFv +/* 802871D8 00284138 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 802871DC 0028413C C0 03 00 08 */ lfs f0, 8(r3) +/* 802871E0 00284140 2C 04 00 02 */ cmpwi r4, 2 +/* 802871E4 00284144 40 82 00 0C */ bne lbl_802871F0 +/* 802871E8 00284148 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 802871EC 0028414C 48 00 00 08 */ b lbl_802871F4 +lbl_802871F0: +/* 802871F0 00284150 38 00 00 04 */ li r0, 4 +lbl_802871F4: +/* 802871F4 00284154 2C 00 00 00 */ cmpwi r0, 0 +/* 802871F8 00284158 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 802871FC 0028415C 41 80 00 0C */ blt lbl_80287208 +/* 80287200 00284160 2C 00 00 07 */ cmpwi r0, 7 +/* 80287204 00284164 40 81 00 08 */ ble lbl_8028720C +lbl_80287208: +/* 80287208 00284168 38 00 00 00 */ li r0, 0 +lbl_8028720C: +/* 8028720C 0028416C 54 00 10 3A */ slwi r0, r0, 2 +/* 80287210 00284170 FC 20 00 50 */ fneg f1, f0 +/* 80287214 00284174 7C 65 02 14 */ add r3, r5, r0 +/* 80287218 00284178 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 8028721C 0028417C EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80287220 00284180 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287224 00284184 40 81 00 68 */ ble lbl_8028728C +/* 80287228 00284188 2C 04 00 02 */ cmpwi r4, 2 +/* 8028722C 0028418C 40 82 00 0C */ bne lbl_80287238 +/* 80287230 00284190 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287234 00284194 48 00 00 08 */ b lbl_8028723C +lbl_80287238: +/* 80287238 00284198 38 00 00 04 */ li r0, 4 +lbl_8028723C: +/* 8028723C 0028419C 2C 00 00 00 */ cmpwi r0, 0 +/* 80287240 002841A0 41 80 00 0C */ blt lbl_8028724C +/* 80287244 002841A4 2C 00 00 07 */ cmpwi r0, 7 +/* 80287248 002841A8 40 81 00 08 */ ble lbl_80287250 +lbl_8028724C: +/* 8028724C 002841AC 38 00 00 00 */ li r0, 0 +lbl_80287250: +/* 80287250 002841B0 54 00 10 3A */ slwi r0, r0, 2 +/* 80287254 002841B4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287258 002841B8 7C 85 02 14 */ add r4, r5, r0 +/* 8028725C 002841BC 38 61 00 4C */ addi r3, r1, 0x4c +/* 80287260 002841C0 C0 24 00 84 */ lfs f1, 0x84(r4) +/* 80287264 002841C4 38 81 00 40 */ addi r4, r1, 0x40 +/* 80287268 002841C8 FC 20 08 50 */ fneg f1, f1 +/* 8028726C 002841CC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80287270 002841D0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80287274 002841D4 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 80287278 002841D8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8028727C 002841DC 4B D9 43 09 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 80287280 002841E0 7F A3 EB 78 */ mr r3, r29 +/* 80287284 002841E4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80287288 002841E8 4B E9 38 55 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +lbl_8028728C: +/* 8028728C 002841EC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80287290 002841F0 2C 00 00 02 */ cmpwi r0, 2 +/* 80287294 002841F4 40 82 00 0C */ bne lbl_802872A0 +/* 80287298 002841F8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028729C 002841FC 48 00 00 08 */ b lbl_802872A4 +lbl_802872A0: +/* 802872A0 00284200 38 00 00 04 */ li r0, 4 +lbl_802872A4: +/* 802872A4 00284204 2C 00 00 00 */ cmpwi r0, 0 +/* 802872A8 00284208 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802872AC 0028420C 41 80 00 0C */ blt lbl_802872B8 +/* 802872B0 00284210 2C 00 00 07 */ cmpwi r0, 7 +/* 802872B4 00284214 40 81 00 08 */ ble lbl_802872BC +lbl_802872B8: +/* 802872B8 00284218 38 00 00 00 */ li r0, 0 +lbl_802872BC: +/* 802872BC 0028421C 54 00 10 3A */ slwi r0, r0, 2 +/* 802872C0 00284220 7F A4 EB 78 */ mr r4, r29 +/* 802872C4 00284224 7C A3 02 14 */ add r5, r3, r0 +/* 802872C8 00284228 38 61 00 34 */ addi r3, r1, 0x34 +/* 802872CC 0028422C C0 05 00 84 */ lfs f0, 0x84(r5) +/* 802872D0 00284230 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 802872D4 00284234 EF 5C 00 32 */ fmuls f26, f28, f0 +/* 802872D8 00284238 4B E9 38 CD */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 802872DC 0028423C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802872E0 00284240 4B D9 42 51 */ bl GetVector__10CAxisAngleCFv +/* 802872E4 00284244 C0 03 00 08 */ lfs f0, 8(r3) +/* 802872E8 00284248 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 802872EC 0028424C EF 5A 00 28 */ fsubs f26, f26, f0 +/* 802872F0 00284250 2C 00 00 02 */ cmpwi r0, 2 +/* 802872F4 00284254 FC 00 D2 10 */ fabs f0, f26 +/* 802872F8 00284258 FC 20 00 18 */ frsp f1, f0 +/* 802872FC 0028425C 40 82 00 0C */ bne lbl_80287308 +/* 80287300 00284260 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287304 00284264 48 00 00 08 */ b lbl_8028730C +lbl_80287308: +/* 80287308 00284268 38 00 00 04 */ li r0, 4 +lbl_8028730C: +/* 8028730C 0028426C 2C 00 00 00 */ cmpwi r0, 0 +/* 80287310 00284270 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80287314 00284274 41 80 00 0C */ blt lbl_80287320 +/* 80287318 00284278 2C 00 00 07 */ cmpwi r0, 7 +/* 8028731C 0028427C 40 81 00 08 */ ble lbl_80287324 +lbl_80287320: +/* 80287320 00284280 38 00 00 00 */ li r0, 0 +lbl_80287324: +/* 80287324 00284284 54 00 10 3A */ slwi r0, r0, 2 +/* 80287328 00284288 38 81 00 0C */ addi r4, r1, 0xc +/* 8028732C 0028428C 7C A3 02 14 */ add r5, r3, r0 +/* 80287330 00284290 38 6D 99 54 */ addi r3, r13, lbl_805A8514@sda21 +/* 80287334 00284294 C0 05 00 84 */ lfs f0, 0x84(r5) +/* 80287338 00284298 38 AD 99 58 */ addi r5, r13, lbl_805A8518@sda21 +/* 8028733C 0028429C EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80287340 002842A0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80287344 002842A4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80287348 002842A8 4B D8 4F 6D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8028734C 002842AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287350 002842B0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80287354 002842B4 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 80287358 002842B8 40 80 00 4C */ bge lbl_802873A4 +/* 8028735C 002842BC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80287360 002842C0 2C 00 00 02 */ cmpwi r0, 2 +/* 80287364 002842C4 40 82 00 0C */ bne lbl_80287370 +/* 80287368 002842C8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028736C 002842CC 48 00 00 08 */ b lbl_80287374 +lbl_80287370: +/* 80287370 002842D0 38 00 00 04 */ li r0, 4 +lbl_80287374: +/* 80287374 002842D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80287378 002842D8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028737C 002842DC 41 80 00 0C */ blt lbl_80287388 +/* 80287380 002842E0 2C 00 00 07 */ cmpwi r0, 7 +/* 80287384 002842E4 40 81 00 08 */ ble lbl_8028738C +lbl_80287388: +/* 80287388 002842E8 38 00 00 00 */ li r0, 0 +lbl_8028738C: +/* 8028738C 002842EC 54 00 10 3A */ slwi r0, r0, 2 +/* 80287390 002842F0 7C 63 02 14 */ add r3, r3, r0 +/* 80287394 002842F4 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80287398 002842F8 FC 00 00 50 */ fneg f0, f0 +/* 8028739C 002842FC EF C1 00 32 */ fmuls f30, f1, f0 +/* 802873A0 00284300 48 00 00 44 */ b lbl_802873E4 +lbl_802873A4: +/* 802873A4 00284304 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 802873A8 00284308 2C 00 00 02 */ cmpwi r0, 2 +/* 802873AC 0028430C 40 82 00 0C */ bne lbl_802873B8 +/* 802873B0 00284310 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 802873B4 00284314 48 00 00 08 */ b lbl_802873BC +lbl_802873B8: +/* 802873B8 00284318 38 00 00 04 */ li r0, 4 +lbl_802873BC: +/* 802873BC 0028431C 2C 00 00 00 */ cmpwi r0, 0 +/* 802873C0 00284320 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802873C4 00284324 41 80 00 0C */ blt lbl_802873D0 +/* 802873C8 00284328 2C 00 00 07 */ cmpwi r0, 7 +/* 802873CC 0028432C 40 81 00 08 */ ble lbl_802873D4 +lbl_802873D0: +/* 802873D0 00284330 38 00 00 00 */ li r0, 0 +lbl_802873D4: +/* 802873D4 00284334 54 00 10 3A */ slwi r0, r0, 2 +/* 802873D8 00284338 7C 63 02 14 */ add r3, r3, r0 +/* 802873DC 0028433C C0 03 00 24 */ lfs f0, 0x24(r3) +/* 802873E0 00284340 EF C1 00 32 */ fmuls f30, f1, f0 +lbl_802873E4: +/* 802873E4 00284344 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 802873E8 00284348 C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) +/* 802873EC 0028434C EC 22 F8 28 */ fsubs f1, f2, f31 +/* 802873F0 00284350 FC 20 0A 10 */ fabs f1, f1 +/* 802873F4 00284354 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802873F8 00284358 41 80 01 58 */ blt lbl_80287550 +/* 802873FC 0028435C 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 80287400 00284360 2C 04 00 02 */ cmpwi r4, 2 +/* 80287404 00284364 40 82 00 0C */ bne lbl_80287410 +/* 80287408 00284368 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028740C 0028436C 48 00 00 08 */ b lbl_80287414 +lbl_80287410: +/* 80287410 00284370 38 00 00 04 */ li r0, 4 +lbl_80287414: +/* 80287414 00284374 2C 00 00 00 */ cmpwi r0, 0 +/* 80287418 00284378 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 8028741C 0028437C 41 80 00 0C */ blt lbl_80287428 +/* 80287420 00284380 2C 00 00 07 */ cmpwi r0, 7 +/* 80287424 00284384 40 81 00 08 */ ble lbl_8028742C +lbl_80287428: +/* 80287428 00284388 38 00 00 00 */ li r0, 0 +lbl_8028742C: +/* 8028742C 0028438C 54 00 10 3A */ slwi r0, r0, 2 +/* 80287430 00284390 2C 04 00 02 */ cmpwi r4, 2 +/* 80287434 00284394 7C 65 02 14 */ add r3, r5, r0 +/* 80287438 00284398 C3 43 00 A4 */ lfs f26, 0xa4(r3) +/* 8028743C 0028439C 40 82 00 0C */ bne lbl_80287448 +/* 80287440 002843A0 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287444 002843A4 48 00 00 08 */ b lbl_8028744C +lbl_80287448: +/* 80287448 002843A8 38 00 00 04 */ li r0, 4 +lbl_8028744C: +/* 8028744C 002843AC 2C 00 00 00 */ cmpwi r0, 0 +/* 80287450 002843B0 41 80 00 0C */ blt lbl_8028745C +/* 80287454 002843B4 2C 00 00 07 */ cmpwi r0, 7 +/* 80287458 002843B8 40 81 00 08 */ ble lbl_80287460 +lbl_8028745C: +/* 8028745C 002843BC 38 00 00 00 */ li r0, 0 +lbl_80287460: +/* 80287460 002843C0 54 00 10 3A */ slwi r0, r0, 2 +/* 80287464 002843C4 2C 04 00 02 */ cmpwi r4, 2 +/* 80287468 002843C8 7C 65 02 14 */ add r3, r5, r0 +/* 8028746C 002843CC C0 5D 00 E8 */ lfs f2, 0xe8(r29) +/* 80287470 002843D0 C0 23 00 44 */ lfs f1, 0x44(r3) +/* 80287474 002843D4 40 82 00 0C */ bne lbl_80287480 +/* 80287478 002843D8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028747C 002843DC 48 00 00 08 */ b lbl_80287484 +lbl_80287480: +/* 80287480 002843E0 38 00 00 04 */ li r0, 4 +lbl_80287484: +/* 80287484 002843E4 2C 00 00 00 */ cmpwi r0, 0 +/* 80287488 002843E8 41 80 00 0C */ blt lbl_80287494 +/* 8028748C 002843EC 2C 00 00 07 */ cmpwi r0, 7 +/* 80287490 002843F0 40 81 00 08 */ ble lbl_80287498 +lbl_80287494: +/* 80287494 002843F4 38 00 00 00 */ li r0, 0 +lbl_80287498: +/* 80287498 002843F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028749C 002843FC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802874A0 00284400 7C 65 02 14 */ add r3, r5, r0 +/* 802874A4 00284404 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 802874A8 00284408 C0 23 00 04 */ lfs f1, 4(r3) +/* 802874AC 0028440C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802874B0 00284410 EC 1B 00 72 */ fmuls f0, f27, f1 +/* 802874B4 00284414 EC 22 00 24 */ fdivs f1, f2, f0 +/* 802874B8 00284418 EC 21 06 B2 */ fmuls f1, f1, f26 +/* 802874BC 0028441C EC 1A 08 28 */ fsubs f0, f26, f1 +/* 802874C0 00284420 EF 9F 00 32 */ fmuls f28, f31, f0 +/* 802874C4 00284424 40 81 00 0C */ ble lbl_802874D0 +/* 802874C8 00284428 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802874CC 0028442C 48 00 00 08 */ b lbl_802874D4 +lbl_802874D0: +/* 802874D0 00284430 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +lbl_802874D4: +/* 802874D4 00284434 EF 81 E0 3A */ fmadds f28, f1, f0, f28 +/* 802874D8 00284438 38 61 00 28 */ addi r3, r1, 0x28 +/* 802874DC 0028443C 38 9D 00 34 */ addi r4, r29, 0x34 +/* 802874E0 00284440 38 BD 01 38 */ addi r5, r29, 0x138 +/* 802874E4 00284444 48 08 B5 41 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802874E8 00284448 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802874EC 0028444C 38 81 00 08 */ addi r4, r1, 8 +/* 802874F0 00284450 38 6D 99 5C */ addi r3, r13, lbl_805A851C@sda21 +/* 802874F4 00284454 38 AD 99 60 */ addi r5, r13, lbl_805A8520@sda21 +/* 802874F8 00284458 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 802874FC 0028445C EC 00 D0 24 */ fdivs f0, f0, f26 +/* 80287500 00284460 D0 01 00 08 */ stfs f0, 8(r1) +/* 80287504 00284464 4B D8 4D B1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80287508 00284468 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 8028750C 0028446C C0 23 00 00 */ lfs f1, 0(r3) +/* 80287510 00284470 2C 00 00 02 */ cmpwi r0, 2 +/* 80287514 00284474 40 82 00 0C */ bne lbl_80287520 +/* 80287518 00284478 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028751C 0028447C 48 00 00 08 */ b lbl_80287524 +lbl_80287520: +/* 80287520 00284480 38 00 00 04 */ li r0, 4 +lbl_80287524: +/* 80287524 00284484 2C 00 00 00 */ cmpwi r0, 0 +/* 80287528 00284488 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028752C 0028448C 41 80 00 0C */ blt lbl_80287538 +/* 80287530 00284490 2C 00 00 07 */ cmpwi r0, 7 +/* 80287534 00284494 40 81 00 08 */ ble lbl_8028753C +lbl_80287538: +/* 80287538 00284498 38 00 00 00 */ li r0, 0 +lbl_8028753C: +/* 8028753C 0028449C 54 00 10 3A */ slwi r0, r0, 2 +/* 80287540 002844A0 7C 63 02 14 */ add r3, r3, r0 +/* 80287544 002844A4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80287548 002844A8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8028754C 002844AC 48 00 00 08 */ b lbl_80287554 +lbl_80287550: +/* 80287550 002844B0 FC 20 10 90 */ fmr f1, f2 +lbl_80287554: +/* 80287554 002844B4 80 7D 03 04 */ lwz r3, 0x304(r29) +/* 80287558 002844B8 2C 03 00 00 */ cmpwi r3, 0 +/* 8028755C 002844BC 41 82 00 20 */ beq lbl_8028757C +/* 80287560 002844C0 88 02 80 E2 */ lbz r0, lbl_805A9E02@sda21(r2) +/* 80287564 002844C4 28 00 00 00 */ cmplwi r0, 0 +/* 80287568 002844C8 41 82 00 14 */ beq lbl_8028757C +/* 8028756C 002844CC 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287570 002844D0 28 00 00 00 */ cmplwi r0, 0 +/* 80287574 002844D4 41 82 00 08 */ beq lbl_8028757C +/* 80287578 002844D8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +lbl_8028757C: +/* 8028757C 002844DC 2C 03 00 00 */ cmpwi r3, 0 +/* 80287580 002844E0 41 82 00 10 */ beq lbl_80287590 +/* 80287584 002844E4 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287588 002844E8 28 00 00 00 */ cmplwi r0, 0 +/* 8028758C 002844EC 41 82 00 A4 */ beq lbl_80287630 +lbl_80287590: +/* 80287590 002844F0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287594 002844F4 EC 21 00 2A */ fadds f1, f1, f0 +/* 80287598 002844F8 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 8028759C 002844FC EC 00 E8 2A */ fadds f0, f0, f29 +/* 802875A0 00284500 D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 802875A4 00284504 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802875A8 00284508 4B D9 3F 8D */ bl Identity__10CAxisAngleFv +/* 802875AC 0028450C 7C 65 1B 78 */ mr r5, r3 +/* 802875B0 00284510 7F A3 EB 78 */ mr r3, r29 +/* 802875B4 00284514 38 81 00 DC */ addi r4, r1, 0xdc +/* 802875B8 00284518 4B E9 4B 8D */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 802875BC 0028451C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802875C0 00284520 FC 01 F0 00 */ fcmpu cr0, f1, f30 +/* 802875C4 00284524 41 82 00 40 */ beq lbl_80287604 +/* 802875C8 00284528 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802875CC 0028452C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802875D0 00284530 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802875D4 00284534 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802875D8 00284538 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802875DC 0028453C 48 08 D3 1D */ bl Normalize__9CVector3fFv +/* 802875E0 00284540 FC 20 F0 90 */ fmr f1, f30 +/* 802875E4 00284544 38 61 00 1C */ addi r3, r1, 0x1c +/* 802875E8 00284548 38 81 00 10 */ addi r4, r1, 0x10 +/* 802875EC 0028454C 4B D9 3F 71 */ bl __ct__10CAxisAngleFRC13CUnitVector3ff +/* 802875F0 00284550 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802875F4 00284554 7C 65 1B 78 */ mr r5, r3 +/* 802875F8 00284558 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802875FC 0028455C 7F A3 EB 78 */ mr r3, r29 +/* 80287600 00284560 4B E9 4B 45 */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_80287604: +/* 80287604 00284564 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80287608 00284568 28 00 00 00 */ cmplwi r0, 0 +/* 8028760C 0028456C 41 82 00 0C */ beq lbl_80287618 +/* 80287610 00284570 38 00 00 01 */ li r0, 1 +/* 80287614 00284574 98 1D 03 8C */ stb r0, 0x38c(r29) +lbl_80287618: +/* 80287618 00284578 38 00 00 00 */ li r0, 0 +/* 8028761C 0028457C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287620 00284580 98 1D 03 7C */ stb r0, 0x37c(r29) +/* 80287624 00284584 D0 1D 03 80 */ stfs f0, 0x380(r29) +/* 80287628 00284588 D0 1D 03 84 */ stfs f0, 0x384(r29) +/* 8028762C 0028458C 48 00 00 74 */ b lbl_802876A0 +lbl_80287630: +/* 80287630 00284590 2C 03 00 05 */ cmpwi r3, 5 +/* 80287634 00284594 41 82 00 48 */ beq lbl_8028767C +/* 80287638 00284598 40 80 00 44 */ bge lbl_8028767C +/* 8028763C 0028459C 2C 03 00 01 */ cmpwi r3, 1 +/* 80287640 002845A0 40 80 00 08 */ bge lbl_80287648 +/* 80287644 002845A4 48 00 00 38 */ b lbl_8028767C +lbl_80287648: +/* 80287648 002845A8 7F A3 EB 78 */ mr r3, r29 +/* 8028764C 002845AC 3B 80 00 01 */ li r28, 1 +/* 80287650 002845B0 4B EF 3C 59 */ bl InGrappleJumpCooldown__7CPlayerCFv +/* 80287654 002845B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287658 002845B8 41 82 00 08 */ beq lbl_80287660 +/* 8028765C 002845BC 3B 80 00 00 */ li r28, 0 +lbl_80287660: +/* 80287660 002845C0 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80287664 002845C4 41 82 00 18 */ beq lbl_8028767C +/* 80287668 002845C8 FC 20 D8 90 */ fmr f1, f27 +/* 8028766C 002845CC 7F A3 EB 78 */ mr r3, r29 +/* 80287670 002845D0 7F C4 F3 78 */ mr r4, r30 +/* 80287674 002845D4 7F E5 FB 78 */ mr r5, r31 +/* 80287678 002845D8 48 00 01 FD */ bl ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager +lbl_8028767C: +/* 8028767C 002845DC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287680 002845E0 D3 A1 00 D8 */ stfs f29, 0xd8(r1) +/* 80287684 002845E4 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 80287688 002845E8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8028768C 002845EC 4B D9 3E A9 */ bl Identity__10CAxisAngleFv +/* 80287690 002845F0 7C 65 1B 78 */ mr r5, r3 +/* 80287694 002845F4 7F A3 EB 78 */ mr r3, r29 +/* 80287698 002845F8 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8028769C 002845FC 4B E9 4A A9 */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_802876A0: +/* 802876A0 00284600 88 1D 03 DC */ lbz r0, 0x3dc(r29) +/* 802876A4 00284604 28 00 00 00 */ cmplwi r0, 0 +/* 802876A8 00284608 40 82 00 10 */ bne lbl_802876B8 +/* 802876AC 0028460C 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 802876B0 00284610 28 00 00 00 */ cmplwi r0, 0 +/* 802876B4 00284614 41 82 01 0C */ beq lbl_802877C0 +lbl_802876B8: +/* 802876B8 00284618 88 1D 09 C5 */ lbz r0, 0x9c5(r29) +/* 802876BC 0028461C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802876C0 00284620 40 82 01 00 */ bne lbl_802877C0 +/* 802876C4 00284624 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 802876C8 00284628 2C 00 00 00 */ cmpwi r0, 0 +/* 802876CC 0028462C 40 82 00 F4 */ bne lbl_802877C0 +/* 802876D0 00284630 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802876D4 00284634 C0 1D 01 3C */ lfs f0, 0x13c(r29) +/* 802876D8 00284638 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802876DC 0028463C C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 802876E0 00284640 C0 84 00 04 */ lfs f4, 4(r4) +/* 802876E4 00284644 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802876E8 00284648 C0 64 00 08 */ lfs f3, 8(r4) +/* 802876EC 0028464C C0 24 00 00 */ lfs f1, 0(r4) +/* 802876F0 00284650 EC 84 00 28 */ fsubs f4, f4, f0 +/* 802876F4 00284654 C0 1D 01 38 */ lfs f0, 0x138(r29) +/* 802876F8 00284658 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802876FC 0028465C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80287700 00284660 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 80287704 00284664 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 80287708 00284668 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8028770C 0028466C 48 08 D1 AD */ bl Magnitude__9CVector3fCFv +/* 80287710 00284670 FF 80 08 90 */ fmr f28, f1 +/* 80287714 00284674 C0 02 BD D0 */ lfs f0, lbl_805ADAF0@sda21(r2) +/* 80287718 00284678 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8028771C 0028467C 40 81 00 A4 */ ble lbl_802877C0 +/* 80287720 00284680 7F A3 EB 78 */ mr r3, r29 +/* 80287724 00284684 48 00 0C D1 */ bl GetAcceleration__7CPlayerCFv +/* 80287728 00284688 EC 5B 00 72 */ fmuls f2, f27, f1 +/* 8028772C 0028468C C0 22 BD 94 */ lfs f1, lbl_805ADAB4@sda21(r2) +/* 80287730 00284690 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80287734 00284694 ED 01 00 B2 */ fmuls f8, f1, f2 +/* 80287738 00284698 EC FC 40 24 */ fdivs f7, f28, f8 +/* 8028773C 0028469C FC 20 3A 10 */ fabs f1, f7 +/* 80287740 002846A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287744 002846A4 40 81 00 14 */ ble lbl_80287758 +/* 80287748 002846A8 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 8028774C 002846AC C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80287750 002846B0 FC 07 00 6E */ fsel f0, f7, f1, f0 +/* 80287754 002846B4 EC E1 00 32 */ fmuls f7, f1, f0 +lbl_80287758: +/* 80287758 002846B8 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 8028775C 002846BC 7F A3 EB 78 */ mr r3, r29 +/* 80287760 002846C0 C0 81 00 C8 */ lfs f4, 0xc8(r1) +/* 80287764 002846C4 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80287768 002846C8 EC C0 E0 24 */ fdivs f6, f0, f28 +/* 8028776C 002846CC C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80287770 002846D0 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80287774 002846D4 C0 BD 01 3C */ lfs f5, 0x13c(r29) +/* 80287778 002846D8 C0 7D 01 40 */ lfs f3, 0x140(r29) +/* 8028777C 002846DC C0 3D 01 38 */ lfs f1, 0x138(r29) +/* 80287780 002846E0 EC 86 01 32 */ fmuls f4, f6, f4 +/* 80287784 002846E4 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80287788 002846E8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8028778C 002846EC EC 88 01 32 */ fmuls f4, f8, f4 +/* 80287790 002846F0 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 80287794 002846F4 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80287798 002846F8 EC 87 01 32 */ fmuls f4, f7, f4 +/* 8028779C 002846FC EC 47 00 B2 */ fmuls f2, f7, f2 +/* 802877A0 00284700 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802877A4 00284704 EC 85 20 2A */ fadds f4, f5, f4 +/* 802877A8 00284708 EC 43 10 2A */ fadds f2, f3, f2 +/* 802877AC 0028470C EC 01 00 2A */ fadds f0, f1, f0 +/* 802877B0 00284710 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 802877B4 00284714 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802877B8 00284718 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 802877BC 0028471C 4B E9 34 E5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_802877C0: +/* 802877C0 00284720 88 1D 09 C5 */ lbz r0, 0x9c5(r29) +/* 802877C4 00284724 38 60 00 00 */ li r3, 0 +/* 802877C8 00284728 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802877CC 0028472C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802877D0 00284730 98 1D 09 C5 */ stb r0, 0x9c5(r29) +/* 802877D4 00284734 C0 3D 02 D4 */ lfs f1, 0x2d4(r29) +/* 802877D8 00284738 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802877DC 0028473C 40 81 00 0C */ ble lbl_802877E8 +/* 802877E0 00284740 90 7D 02 D0 */ stw r3, 0x2d0(r29) +/* 802877E4 00284744 48 00 00 10 */ b lbl_802877F4 +lbl_802877E8: +/* 802877E8 00284748 80 7D 02 D0 */ lwz r3, 0x2d0(r29) +/* 802877EC 0028474C 38 03 00 01 */ addi r0, r3, 1 +/* 802877F0 00284750 90 1D 02 D0 */ stw r0, 0x2d0(r29) +lbl_802877F4: +/* 802877F4 00284754 C0 1D 02 D4 */ lfs f0, 0x2d4(r29) +/* 802877F8 00284758 EC 00 D8 28 */ fsubs f0, f0, f27 +/* 802877FC 0028475C D0 1D 02 D4 */ stfs f0, 0x2d4(r29) +/* 80287800 00284760 C0 2D 99 64 */ lfs f1, lbl_805A8524@sda21(r13) +/* 80287804 00284764 C0 1D 02 D4 */ lfs f0, 0x2d4(r29) +/* 80287808 00284768 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028780C 0028476C 40 80 00 0C */ bge lbl_80287818 +/* 80287810 00284770 38 7D 02 D4 */ addi r3, r29, 0x2d4 +/* 80287814 00284774 48 00 00 08 */ b lbl_8028781C +lbl_80287818: +/* 80287818 00284778 38 6D 99 64 */ addi r3, r13, lbl_805A8524@sda21 +lbl_8028781C: +/* 8028781C 0028477C C0 03 00 00 */ lfs f0, 0(r3) +/* 80287820 00284780 D0 1D 02 D4 */ stfs f0, 0x2d4(r29) +/* 80287824 00284784 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 80287828 00284788 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 8028782C 0028478C E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 80287830 00284790 CB C1 01 40 */ lfd f30, 0x140(r1) +/* 80287834 00284794 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 +/* 80287838 00284798 CB A1 01 30 */ lfd f29, 0x130(r1) +/* 8028783C 0028479C E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 +/* 80287840 002847A0 CB 81 01 20 */ lfd f28, 0x120(r1) +/* 80287844 002847A4 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 +/* 80287848 002847A8 CB 61 01 10 */ lfd f27, 0x110(r1) +/* 8028784C 002847AC E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 +/* 80287850 002847B0 CB 41 01 00 */ lfd f26, 0x100(r1) +/* 80287854 002847B4 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80287858 002847B8 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8028785C 002847BC 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 80287860 002847C0 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80287864 002847C4 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 80287868 002847C8 7C 08 03 A6 */ mtlr r0 +/* 8028786C 002847CC 38 21 01 60 */ addi r1, r1, 0x160 +/* 80287870 002847D0 4E 80 00 20 */ blr + +.global ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager +ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager: +/* 80287874 002847D4 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80287878 002847D8 7C 08 02 A6 */ mflr r0 +/* 8028787C 002847DC 90 01 01 34 */ stw r0, 0x134(r1) +/* 80287880 002847E0 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80287884 002847E4 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80287888 002847E8 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8028788C 002847EC F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 80287890 002847F0 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 80287894 002847F4 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 80287898 002847F8 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8028789C 002847FC F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 802878A0 00284800 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 802878A4 00284804 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 802878A8 00284808 DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 802878AC 0028480C F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 802878B0 00284810 DB 21 00 C0 */ stfd f25, 0xc0(r1) +/* 802878B4 00284814 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 +/* 802878B8 00284818 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 802878BC 0028481C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 802878C0 00284820 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 802878C4 00284824 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 802878C8 00284828 FF 20 08 90 */ fmr f25, f1 +/* 802878CC 0028482C 3C C0 80 3D */ lis r6, lbl_803D5908@ha +/* 802878D0 00284830 7C 7C 1B 78 */ mr r28, r3 +/* 802878D4 00284834 7C 9D 23 78 */ mr r29, r4 +/* 802878D8 00284838 7C BE 2B 78 */ mr r30, r5 +/* 802878DC 0028483C 3B E6 59 08 */ addi r31, r6, lbl_803D5908@l +/* 802878E0 00284840 4B FF F3 71 */ bl StrafeInput__7CPlayerCFRC11CFinalInput +/* 802878E4 00284844 FF 80 08 90 */ fmr f28, f1 +/* 802878E8 00284848 7F 83 E3 78 */ mr r3, r28 +/* 802878EC 0028484C 7F A4 EB 78 */ mr r4, r29 +/* 802878F0 00284850 4B FF F1 8D */ bl TurnInput__7CPlayerCFRC11CFinalInput +/* 802878F4 00284854 7F 83 E3 78 */ mr r3, r28 +/* 802878F8 00284858 7F A4 EB 78 */ mr r4, r29 +/* 802878FC 0028485C 4B FF F3 D9 */ bl ForwardInput__7CPlayerCFRC11CFinalInputf +/* 80287900 00284860 C3 BC 00 60 */ lfs f29, 0x60(r28) +/* 80287904 00284864 FF 60 08 90 */ fmr f27, f1 +/* 80287908 00284868 C0 7C 00 50 */ lfs f3, 0x50(r28) +/* 8028790C 0028486C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80287910 00284870 C3 DC 03 18 */ lfs f30, 0x318(r28) +/* 80287914 00284874 EC 1D E8 28 */ fsubs f0, f29, f29 +/* 80287918 00284878 C0 9C 00 40 */ lfs f4, 0x40(r28) +/* 8028791C 0028487C C3 FC 03 14 */ lfs f31, 0x314(r28) +/* 80287920 00284880 EC 43 F0 28 */ fsubs f2, f3, f30 +/* 80287924 00284884 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80287928 00284888 EC 24 F8 28 */ fsubs f1, f4, f31 +/* 8028792C 0028488C D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80287930 00284890 D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 80287934 00284894 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80287938 00284898 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8028793C 0028489C D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80287940 002848A0 48 08 CD B9 */ bl CanBeNormalized__9CVector3fCFv +/* 80287944 002848A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287948 002848A8 41 82 05 3C */ beq lbl_80287E84 +/* 8028794C 002848AC C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 80287950 002848B0 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 80287954 002848B4 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80287958 002848B8 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8028795C 002848BC D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80287960 002848C0 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80287964 002848C4 80 1C 02 B0 */ lwz r0, 0x2b0(r28) +/* 80287968 002848C8 2C 00 00 02 */ cmpwi r0, 2 +/* 8028796C 002848CC 40 82 00 0C */ bne lbl_80287978 +/* 80287970 002848D0 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287974 002848D4 48 00 00 08 */ b lbl_8028797C +lbl_80287978: +/* 80287978 002848D8 38 00 00 04 */ li r0, 4 +lbl_8028797C: +/* 8028797C 002848DC 54 00 10 3A */ slwi r0, r0, 2 +/* 80287980 002848E0 38 7F 00 00 */ addi r3, r31, 0 +/* 80287984 002848E4 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287988 002848E8 7F A4 EB 78 */ mr r4, r29 +/* 8028798C 002848EC 38 60 00 0A */ li r3, 0xa +/* 80287990 002848F0 EF 59 00 32 */ fmuls f26, f25, f0 +/* 80287994 002848F4 4B D8 4E E1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287998 002848F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028799C 002848FC 41 82 00 10 */ beq lbl_802879AC +/* 802879A0 00284900 C0 1C 03 88 */ lfs f0, 0x388(r28) +/* 802879A4 00284904 EC 00 C8 2A */ fadds f0, f0, f25 +/* 802879A8 00284908 D0 1C 03 88 */ stfs f0, 0x388(r28) +lbl_802879AC: +/* 802879AC 0028490C 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 802879B0 00284910 28 00 00 00 */ cmplwi r0, 0 +/* 802879B4 00284914 40 82 00 E0 */ bne lbl_80287A94 +/* 802879B8 00284918 FC 20 E0 90 */ fmr f1, f28 +/* 802879BC 0028491C 7F 83 E3 78 */ mr r3, r28 +/* 802879C0 00284920 FC 40 D8 90 */ fmr f2, f27 +/* 802879C4 00284924 7F A4 EB 78 */ mr r4, r29 +/* 802879C8 00284928 7F C5 F3 78 */ mr r5, r30 +/* 802879CC 0028492C 48 00 05 3D */ bl SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager +/* 802879D0 00284930 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802879D4 00284934 41 82 00 B8 */ beq lbl_80287A8C +/* 802879D8 00284938 38 00 00 01 */ li r0, 1 +/* 802879DC 0028493C C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 802879E0 00284940 98 1C 03 7C */ stb r0, 0x37c(r28) +/* 802879E4 00284944 D3 9C 03 80 */ stfs f28, 0x380(r28) +/* 802879E8 00284948 98 1C 03 8C */ stb r0, 0x38c(r28) +/* 802879EC 0028494C D0 5C 03 84 */ stfs f2, 0x384(r28) +/* 802879F0 00284950 C0 1C 01 38 */ lfs f0, 0x138(r28) +/* 802879F4 00284954 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802879F8 00284958 C0 1C 01 3C */ lfs f0, 0x13c(r28) +/* 802879FC 0028495C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80287A00 00284960 C0 3C 01 40 */ lfs f1, 0x140(r28) +/* 80287A04 00284964 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80287A08 00284968 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80287A0C 0028496C 40 81 00 80 */ ble lbl_80287A8C +/* 80287A10 00284970 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 80287A14 00284974 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80287A18 00284978 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80287A1C 0028497C 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287A20 00284980 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80287A24 00284984 40 82 00 68 */ bne lbl_80287A8C +/* 80287A28 00284988 7F 83 E3 78 */ mr r3, r28 +/* 80287A2C 0028498C 38 81 00 88 */ addi r4, r1, 0x88 +/* 80287A30 00284990 4B E9 32 71 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80287A34 00284994 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80287A38 00284998 38 61 00 14 */ addi r3, r1, 0x14 +/* 80287A3C 0028499C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80287A40 002849A0 38 80 06 18 */ li r4, 0x618 +/* 80287A44 002849A4 38 A0 00 7F */ li r5, 0x7f +/* 80287A48 002849A8 38 C0 00 40 */ li r6, 0x40 +/* 80287A4C 002849AC 38 E0 00 01 */ li r7, 1 +/* 80287A50 002849B0 39 20 00 00 */ li r9, 0 +/* 80287A54 002849B4 48 06 23 21 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80287A58 002849B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80287A5C 002849BC 7F 83 E3 78 */ mr r3, r28 +/* 80287A60 002849C0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80287A64 002849C4 90 1C 07 78 */ stw r0, 0x778(r28) +/* 80287A68 002849C8 80 1C 07 78 */ lwz r0, 0x778(r28) +/* 80287A6C 002849CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80287A70 002849D0 4B D8 97 1D */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +/* 80287A74 002849D4 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 80287A78 002849D8 7F C4 F3 78 */ mr r4, r30 +/* 80287A7C 002849DC C0 22 BE 48 */ lfs f1, lbl_805ADB68@sda21(r2) +/* 80287A80 002849E0 38 A0 00 0B */ li r5, 0xb +/* 80287A84 002849E4 38 C0 00 01 */ li r6, 1 +/* 80287A88 002849E8 4B FA 67 BD */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +lbl_80287A8C: +/* 80287A8C 002849EC EF 5A 07 32 */ fmuls f26, f26, f28 +/* 80287A90 002849F0 48 00 01 70 */ b lbl_80287C00 +lbl_80287A94: +/* 80287A94 002849F4 C0 1C 03 84 */ lfs f0, 0x384(r28) +/* 80287A98 002849F8 EC 00 C8 2A */ fadds f0, f0, f25 +/* 80287A9C 002849FC D0 1C 03 84 */ stfs f0, 0x384(r28) +/* 80287AA0 00284A00 80 1C 02 58 */ lwz r0, 0x258(r28) +/* 80287AA4 00284A04 2C 00 00 00 */ cmpwi r0, 0 +/* 80287AA8 00284A08 41 82 00 3C */ beq lbl_80287AE4 +/* 80287AAC 00284A0C C0 5C 03 84 */ lfs f2, 0x384(r28) +/* 80287AB0 00284A10 C0 1C 03 A0 */ lfs f0, 0x3a0(r28) +/* 80287AB4 00284A14 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80287AB8 00284A18 4C 41 13 82 */ cror 2, 1, 2 +/* 80287ABC 00284A1C 41 82 00 28 */ beq lbl_80287AE4 +/* 80287AC0 00284A20 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287AC4 00284A24 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80287AC8 00284A28 40 82 00 1C */ bne lbl_80287AE4 +/* 80287ACC 00284A2C 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287AD0 00284A30 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80287AD4 00284A34 40 82 00 10 */ bne lbl_80287AE4 +/* 80287AD8 00284A38 80 1C 03 04 */ lwz r0, 0x304(r28) +/* 80287ADC 00284A3C 2C 00 00 01 */ cmpwi r0, 1 +/* 80287AE0 00284A40 41 82 00 24 */ beq lbl_80287B04 +lbl_80287AE4: +/* 80287AE4 00284A44 7F 83 E3 78 */ mr r3, r28 +/* 80287AE8 00284A48 48 00 03 F5 */ bl FinishSidewaysDash__7CPlayerFv +/* 80287AEC 00284A4C 80 1C 07 78 */ lwz r0, 0x778(r28) +/* 80287AF0 00284A50 EF 5A 07 32 */ fmuls f26, f26, f28 +/* 80287AF4 00284A54 38 61 00 0C */ addi r3, r1, 0xc +/* 80287AF8 00284A58 90 01 00 0C */ stw r0, 0xc(r1) +/* 80287AFC 00284A5C 48 06 23 89 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80287B00 00284A60 48 00 01 00 */ b lbl_80287C00 +lbl_80287B04: +/* 80287B04 00284A64 88 1C 03 9C */ lbz r0, 0x39c(r28) +/* 80287B08 00284A68 80 7C 02 B0 */ lwz r3, 0x2b0(r28) +/* 80287B0C 00284A6C 28 00 00 00 */ cmplwi r0, 0 +/* 80287B10 00284A70 41 82 00 34 */ beq lbl_80287B44 +/* 80287B14 00284A74 2C 03 00 02 */ cmpwi r3, 2 +/* 80287B18 00284A78 40 82 00 0C */ bne lbl_80287B24 +/* 80287B1C 00284A7C 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287B20 00284A80 48 00 00 08 */ b lbl_80287B28 +lbl_80287B24: +/* 80287B24 00284A84 38 00 00 04 */ li r0, 4 +lbl_80287B28: +/* 80287B28 00284A88 54 00 10 3A */ slwi r0, r0, 2 +/* 80287B2C 00284A8C 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80287B30 00284A90 C0 3C 03 98 */ lfs f1, 0x398(r28) +/* 80287B34 00284A94 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287B38 00284A98 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80287B3C 00284A9C EF 59 00 32 */ fmuls f26, f25, f0 +/* 80287B40 00284AA0 48 00 00 AC */ b lbl_80287BEC +lbl_80287B44: +/* 80287B44 00284AA4 C0 3C 03 A4 */ lfs f1, 0x3a4(r28) +/* 80287B48 00284AA8 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80287B4C 00284AAC EC 42 08 24 */ fdivs f2, f2, f1 +/* 80287B50 00284AB0 FC 20 12 10 */ fabs f1, f2 +/* 80287B54 00284AB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287B58 00284AB8 40 81 00 14 */ ble lbl_80287B6C +/* 80287B5C 00284ABC C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80287B60 00284AC0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80287B64 00284AC4 FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80287B68 00284AC8 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80287B6C: +/* 80287B6C 00284ACC C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287B70 00284AD0 80 DC 02 B0 */ lwz r6, 0x2b0(r28) +/* 80287B74 00284AD4 EC 40 10 28 */ fsubs f2, f0, f2 +/* 80287B78 00284AD8 2C 06 00 02 */ cmpwi r6, 2 +/* 80287B7C 00284ADC 40 82 00 0C */ bne lbl_80287B88 +/* 80287B80 00284AE0 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287B84 00284AE4 48 00 00 08 */ b lbl_80287B8C +lbl_80287B88: +/* 80287B88 00284AE8 38 00 00 04 */ li r0, 4 +lbl_80287B8C: +/* 80287B8C 00284AEC 2C 06 00 02 */ cmpwi r6, 2 +/* 80287B90 00284AF0 40 82 00 0C */ bne lbl_80287B9C +/* 80287B94 00284AF4 80 7C 02 AC */ lwz r3, 0x2ac(r28) +/* 80287B98 00284AF8 48 00 00 08 */ b lbl_80287BA0 +lbl_80287B9C: +/* 80287B9C 00284AFC 38 60 00 04 */ li r3, 4 +lbl_80287BA0: +/* 80287BA0 00284B00 54 65 10 3A */ slwi r5, r3, 2 +/* 80287BA4 00284B04 38 9F 00 20 */ addi r4, r31, 0x20 +/* 80287BA8 00284B08 54 00 10 3A */ slwi r0, r0, 2 +/* 80287BAC 00284B0C 38 7F 00 00 */ addi r3, r31, 0 +/* 80287BB0 00284B10 7C 24 2C 2E */ lfsx f1, r4, r5 +/* 80287BB4 00284B14 2C 06 00 02 */ cmpwi r6, 2 +/* 80287BB8 00284B18 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287BBC 00284B1C EC 61 00 28 */ fsubs f3, f1, f0 +/* 80287BC0 00284B20 40 82 00 0C */ bne lbl_80287BCC +/* 80287BC4 00284B24 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287BC8 00284B28 48 00 00 08 */ b lbl_80287BD0 +lbl_80287BCC: +/* 80287BCC 00284B2C 38 00 00 04 */ li r0, 4 +lbl_80287BD0: +/* 80287BD0 00284B30 54 00 10 3A */ slwi r0, r0, 2 +/* 80287BD4 00284B34 38 7F 00 00 */ addi r3, r31, 0 +/* 80287BD8 00284B38 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287BDC 00284B3C C0 3C 03 98 */ lfs f1, 0x398(r28) +/* 80287BE0 00284B40 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80287BE4 00284B44 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80287BE8 00284B48 EF 59 00 32 */ fmuls f26, f25, f0 +lbl_80287BEC: +/* 80287BEC 00284B4C C0 3C 03 80 */ lfs f1, 0x380(r28) +/* 80287BF0 00284B50 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287BF4 00284B54 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287BF8 00284B58 40 80 00 08 */ bge lbl_80287C00 +/* 80287BFC 00284B5C FF 40 D0 50 */ fneg f26, f26 +lbl_80287C00: +/* 80287C00 00284B60 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80287C04 00284B64 48 08 CC B5 */ bl Magnitude__9CVector3fCFv +/* 80287C08 00284B68 EC 7A 08 24 */ fdivs f3, f26, f1 +/* 80287C0C 00284B6C 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80287C10 00284B70 C0 22 BE 4C */ lfs f1, lbl_805ADB6C@sda21(r2) +/* 80287C14 00284B74 28 00 00 00 */ cmplwi r0, 0 +/* 80287C18 00284B78 41 82 00 08 */ beq lbl_80287C20 +/* 80287C1C 00284B7C C0 22 BE 50 */ lfs f1, lbl_805ADB70@sda21(r2) +lbl_80287C20: +/* 80287C20 00284B80 FC 00 1A 10 */ fabs f0, f3 +/* 80287C24 00284B84 EC 41 06 72 */ fmuls f2, f1, f25 +/* 80287C28 00284B88 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80287C2C 00284B8C 40 81 00 18 */ ble lbl_80287C44 +/* 80287C30 00284B90 C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) +/* 80287C34 00284B94 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287C38 00284B98 FC 03 08 2E */ fsel f0, f3, f0, f1 +/* 80287C3C 00284B9C EC 42 00 32 */ fmuls f2, f2, f0 +/* 80287C40 00284BA0 48 00 00 08 */ b lbl_80287C48 +lbl_80287C44: +/* 80287C44 00284BA4 FC 40 18 90 */ fmr f2, f3 +lbl_80287C48: +/* 80287C48 00284BA8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80287C4C 00284BAC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80287C50 00284BB0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287C54 00284BB4 D0 41 00 08 */ stfs f2, 8(r1) +/* 80287C58 00284BB8 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80287C5C 00284BBC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80287C60 00284BC0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80287C64 00284BC4 48 08 CC 95 */ bl Normalize__9CVector3fFv +/* 80287C68 00284BC8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80287C6C 00284BCC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80287C70 00284BD0 38 A1 00 08 */ addi r5, r1, 8 +/* 80287C74 00284BD4 48 08 96 81 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80287C78 00284BD8 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80287C7C 00284BDC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80287C80 00284BE0 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80287C84 00284BE4 38 81 00 78 */ addi r4, r1, 0x78 +/* 80287C88 00284BE8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80287C8C 00284BEC 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80287C90 00284BF0 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80287C94 00284BF4 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80287C98 00284BF8 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80287C9C 00284BFC D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80287CA0 00284C00 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 80287CA4 00284C04 48 08 95 C1 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80287CA8 00284C08 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80287CAC 00284C0C 7F A4 EB 78 */ mr r4, r29 +/* 80287CB0 00284C10 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80287CB4 00284C14 38 60 00 0A */ li r3, 0xa +/* 80287CB8 00284C18 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80287CBC 00284C1C EF FF 10 2A */ fadds f31, f31, f2 +/* 80287CC0 00284C20 EF DE 08 2A */ fadds f30, f30, f1 +/* 80287CC4 00284C24 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 80287CC8 00284C28 EF BD 00 2A */ fadds f29, f29, f0 +/* 80287CCC 00284C2C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80287CD0 00284C30 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80287CD4 00284C34 4B D8 4B A1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287CD8 00284C38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287CDC 00284C3C 40 82 00 0C */ bne lbl_80287CE8 +/* 80287CE0 00284C40 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287CE4 00284C44 D0 1C 03 88 */ stfs f0, 0x388(r28) +lbl_80287CE8: +/* 80287CE8 00284C48 80 1C 02 B0 */ lwz r0, 0x2b0(r28) +/* 80287CEC 00284C4C 2C 00 00 02 */ cmpwi r0, 2 +/* 80287CF0 00284C50 40 82 00 0C */ bne lbl_80287CFC +/* 80287CF4 00284C54 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287CF8 00284C58 48 00 00 08 */ b lbl_80287D00 +lbl_80287CFC: +/* 80287CFC 00284C5C 38 00 00 04 */ li r0, 4 +lbl_80287D00: +/* 80287D00 00284C60 54 00 10 3A */ slwi r0, r0, 2 +/* 80287D04 00284C64 38 7F 00 40 */ addi r3, r31, 0x40 +/* 80287D08 00284C68 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287D0C 00284C6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80287D10 00284C70 38 81 00 94 */ addi r4, r1, 0x94 +/* 80287D14 00284C74 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 80287D18 00284C78 EF 59 00 32 */ fmuls f26, f25, f0 +/* 80287D1C 00284C7C 48 08 CB 35 */ bl AsNormalized__9CVector3fCFv +/* 80287D20 00284C80 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80287D24 00284C84 38 61 00 18 */ addi r3, r1, 0x18 +/* 80287D28 00284C88 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80287D2C 00284C8C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80287D30 00284C90 FC 80 10 50 */ fneg f4, f2 +/* 80287D34 00284C94 FC 60 08 50 */ fneg f3, f1 +/* 80287D38 00284C98 C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 80287D3C 00284C9C FC 00 00 50 */ fneg f0, f0 +/* 80287D40 00284CA0 C0 5C 01 3C */ lfs f2, 0x13c(r28) +/* 80287D44 00284CA4 EC 9A 01 32 */ fmuls f4, f26, f4 +/* 80287D48 00284CA8 EC 7A 00 F2 */ fmuls f3, f26, f3 +/* 80287D4C 00284CAC EC 1A 00 32 */ fmuls f0, f26, f0 +/* 80287D50 00284CB0 EF FF 20 2A */ fadds f31, f31, f4 +/* 80287D54 00284CB4 EF DE 18 2A */ fadds f30, f30, f3 +/* 80287D58 00284CB8 EF BD 00 2A */ fadds f29, f29, f0 +/* 80287D5C 00284CBC 48 08 C4 A5 */ bl __ct__9CVector2fFff +/* 80287D60 00284CC0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287D64 00284CC4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80287D68 00284CC8 C0 9C 00 50 */ lfs f4, 0x50(r28) +/* 80287D6C 00284CCC EC A0 C8 24 */ fdivs f5, f0, f25 +/* 80287D70 00284CD0 C0 7C 00 60 */ lfs f3, 0x60(r28) +/* 80287D74 00284CD4 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 80287D78 00284CD8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80287D7C 00284CDC C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 80287D80 00284CE0 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80287D84 00284CE4 EC 9E 20 28 */ fsubs f4, f30, f4 +/* 80287D88 00284CE8 EC 7D 18 28 */ fsubs f3, f29, f3 +/* 80287D8C 00284CEC EC 5F 10 28 */ fsubs f2, f31, f2 +/* 80287D90 00284CF0 EC 85 01 32 */ fmuls f4, f5, f4 +/* 80287D94 00284CF4 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80287D98 00284CF8 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80287D9C 00284CFC D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80287DA0 00284D00 EC 84 30 28 */ fsubs f4, f4, f6 +/* 80287DA4 00284D04 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80287DA8 00284D08 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80287DAC 00284D0C D0 61 00 74 */ stfs f3, 0x74(r1) +/* 80287DB0 00284D10 C0 5C 01 40 */ lfs f2, 0x140(r28) +/* 80287DB4 00284D14 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80287DB8 00284D18 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80287DBC 00284D1C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80287DC0 00284D20 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 80287DC4 00284D24 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80287DC8 00284D28 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80287DCC 00284D2C 48 08 CA ED */ bl Magnitude__9CVector3fCFv +/* 80287DD0 00284D30 FF 40 08 90 */ fmr f26, f1 +/* 80287DD4 00284D34 C0 02 BD D0 */ lfs f0, lbl_805ADAF0@sda21(r2) +/* 80287DD8 00284D38 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 80287DDC 00284D3C 40 81 00 A8 */ ble lbl_80287E84 +/* 80287DE0 00284D40 7F 83 E3 78 */ mr r3, r28 +/* 80287DE4 00284D44 48 00 06 11 */ bl GetAcceleration__7CPlayerCFv +/* 80287DE8 00284D48 ED 19 00 72 */ fmuls f8, f25, f1 +/* 80287DEC 00284D4C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80287DF0 00284D50 EC FA 40 24 */ fdivs f7, f26, f8 +/* 80287DF4 00284D54 FC 20 3A 10 */ fabs f1, f7 +/* 80287DF8 00284D58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287DFC 00284D5C 40 81 00 14 */ ble lbl_80287E10 +/* 80287E00 00284D60 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80287E04 00284D64 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80287E08 00284D68 FC 07 00 6E */ fsel f0, f7, f1, f0 +/* 80287E0C 00284D6C EC E1 00 32 */ fmuls f7, f1, f0 +lbl_80287E10: +/* 80287E10 00284D70 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287E14 00284D74 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 80287E18 00284D78 EC C0 D0 24 */ fdivs f6, f0, f26 +/* 80287E1C 00284D7C C0 41 00 68 */ lfs f2, 0x68(r1) +/* 80287E20 00284D80 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80287E24 00284D84 C0 BC 01 3C */ lfs f5, 0x13c(r28) +/* 80287E28 00284D88 C0 7C 01 40 */ lfs f3, 0x140(r28) +/* 80287E2C 00284D8C C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 80287E30 00284D90 EC 86 01 32 */ fmuls f4, f6, f4 +/* 80287E34 00284D94 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80287E38 00284D98 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80287E3C 00284D9C EC 88 01 32 */ fmuls f4, f8, f4 +/* 80287E40 00284DA0 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 80287E44 00284DA4 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80287E48 00284DA8 EC 87 01 32 */ fmuls f4, f7, f4 +/* 80287E4C 00284DAC EC 47 00 B2 */ fmuls f2, f7, f2 +/* 80287E50 00284DB0 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80287E54 00284DB4 EC 85 20 2A */ fadds f4, f5, f4 +/* 80287E58 00284DB8 EC 43 10 2A */ fadds f2, f3, f2 +/* 80287E5C 00284DBC EC 01 00 2A */ fadds f0, f1, f0 +/* 80287E60 00284DC0 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80287E64 00284DC4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80287E68 00284DC8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80287E6C 00284DCC 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287E70 00284DD0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80287E74 00284DD4 40 82 00 10 */ bne lbl_80287E84 +/* 80287E78 00284DD8 7F 83 E3 78 */ mr r3, r28 +/* 80287E7C 00284DDC 38 81 00 6C */ addi r4, r1, 0x6c +/* 80287E80 00284DE0 4B E9 2E 21 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_80287E84: +/* 80287E84 00284DE4 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 80287E88 00284DE8 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 80287E8C 00284DEC E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 80287E90 00284DF0 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 80287E94 00284DF4 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 80287E98 00284DF8 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 80287E9C 00284DFC E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 80287EA0 00284E00 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 80287EA4 00284E04 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 80287EA8 00284E08 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 80287EAC 00284E0C E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 80287EB0 00284E10 CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 80287EB4 00284E14 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 +/* 80287EB8 00284E18 CB 21 00 C0 */ lfd f25, 0xc0(r1) +/* 80287EBC 00284E1C 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80287EC0 00284E20 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 80287EC4 00284E24 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80287EC8 00284E28 80 01 01 34 */ lwz r0, 0x134(r1) +/* 80287ECC 00284E2C 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 80287ED0 00284E30 7C 08 03 A6 */ mtlr r0 +/* 80287ED4 00284E34 38 21 01 30 */ addi r1, r1, 0x130 +/* 80287ED8 00284E38 4E 80 00 20 */ blr + +.global FinishSidewaysDash__7CPlayerFv +FinishSidewaysDash__7CPlayerFv: +/* 80287EDC 00284E3C 88 03 03 7C */ lbz r0, 0x37c(r3) +/* 80287EE0 00284E40 28 00 00 00 */ cmplwi r0, 0 +/* 80287EE4 00284E44 41 82 00 0C */ beq lbl_80287EF0 +/* 80287EE8 00284E48 38 00 00 01 */ li r0, 1 +/* 80287EEC 00284E4C 98 03 03 8C */ stb r0, 0x38c(r3) +lbl_80287EF0: +/* 80287EF0 00284E50 38 00 00 00 */ li r0, 0 +/* 80287EF4 00284E54 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287EF8 00284E58 98 03 03 7C */ stb r0, 0x37c(r3) +/* 80287EFC 00284E5C D0 03 03 80 */ stfs f0, 0x380(r3) +/* 80287F00 00284E60 D0 03 03 84 */ stfs f0, 0x384(r3) +/* 80287F04 00284E64 4E 80 00 20 */ blr + +.global SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager +SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager: +/* 80287F08 00284E68 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80287F0C 00284E6C 7C 08 02 A6 */ mflr r0 +/* 80287F10 00284E70 90 01 00 54 */ stw r0, 0x54(r1) +/* 80287F14 00284E74 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80287F18 00284E78 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80287F1C 00284E7C DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80287F20 00284E80 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80287F24 00284E84 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80287F28 00284E88 7C 7F 1B 78 */ mr r31, r3 +/* 80287F2C 00284E8C 88 63 09 C5 */ lbz r3, 0x9c5(r3) +/* 80287F30 00284E90 FF C0 08 90 */ fmr f30, f1 +/* 80287F34 00284E94 FF E0 10 90 */ fmr f31, f2 +/* 80287F38 00284E98 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80287F3C 00284E9C 40 82 00 18 */ bne lbl_80287F54 +/* 80287F40 00284EA0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80287F44 00284EA4 40 82 00 10 */ bne lbl_80287F54 +/* 80287F48 00284EA8 80 BF 03 04 */ lwz r5, 0x304(r31) +/* 80287F4C 00284EAC 2C 05 00 01 */ cmpwi r5, 1 +/* 80287F50 00284EB0 41 82 00 0C */ beq lbl_80287F5C +lbl_80287F54: +/* 80287F54 00284EB4 38 60 00 00 */ li r3, 0 +/* 80287F58 00284EB8 48 00 01 48 */ b lbl_802880A0 +lbl_80287F5C: +/* 80287F5C 00284EBC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80287F60 00284EC0 88 63 02 00 */ lbz r3, 0x200(r3) +/* 80287F64 00284EC4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80287F68 00284EC8 41 82 00 78 */ beq lbl_80287FE0 +/* 80287F6C 00284ECC 2C 05 00 00 */ cmpwi r5, 0 +/* 80287F70 00284ED0 41 82 01 2C */ beq lbl_8028809C +/* 80287F74 00284ED4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80287F78 00284ED8 41 82 01 24 */ beq lbl_8028809C +/* 80287F7C 00284EDC C0 3F 02 88 */ lfs f1, 0x288(r31) +/* 80287F80 00284EE0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287F84 00284EE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287F88 00284EE8 40 81 01 14 */ ble lbl_8028809C +/* 80287F8C 00284EEC 38 60 00 0A */ li r3, 0xa +/* 80287F90 00284EF0 4B D8 48 E5 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287F94 00284EF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287F98 00284EF8 40 82 01 04 */ bne lbl_8028809C +/* 80287F9C 00284EFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80287FA0 00284F00 C0 3F 03 88 */ lfs f1, 0x388(r31) +/* 80287FA4 00284F04 C0 03 02 04 */ lfs f0, 0x204(r3) +/* 80287FA8 00284F08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287FAC 00284F0C 40 80 00 F0 */ bge lbl_8028809C +/* 80287FB0 00284F10 FC 00 FA 10 */ fabs f0, f31 +/* 80287FB4 00284F14 FC 20 F2 10 */ fabs f1, f30 +/* 80287FB8 00284F18 FC 00 00 18 */ frsp f0, f0 +/* 80287FBC 00284F1C FC 20 08 18 */ frsp f1, f1 +/* 80287FC0 00284F20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287FC4 00284F24 4C 41 13 82 */ cror 2, 1, 2 +/* 80287FC8 00284F28 40 82 00 D4 */ bne lbl_8028809C +/* 80287FCC 00284F2C C0 03 02 08 */ lfs f0, 0x208(r3) +/* 80287FD0 00284F30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287FD4 00284F34 40 81 00 C8 */ ble lbl_8028809C +/* 80287FD8 00284F38 38 60 00 01 */ li r3, 1 +/* 80287FDC 00284F3C 48 00 00 C4 */ b lbl_802880A0 +lbl_80287FE0: +/* 80287FE0 00284F40 2C 05 00 00 */ cmpwi r5, 0 +/* 80287FE4 00284F44 41 82 00 B8 */ beq lbl_8028809C +/* 80287FE8 00284F48 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80287FEC 00284F4C 41 82 00 B0 */ beq lbl_8028809C +/* 80287FF0 00284F50 38 60 00 0A */ li r3, 0xa +/* 80287FF4 00284F54 4B D8 47 DD */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287FF8 00284F58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287FFC 00284F5C 41 82 00 A0 */ beq lbl_8028809C +/* 80288000 00284F60 C0 3F 02 88 */ lfs f1, 0x288(r31) +/* 80288004 00284F64 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80288008 00284F68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028800C 00284F6C 40 81 00 90 */ ble lbl_8028809C +/* 80288010 00284F70 FC 00 FA 10 */ fabs f0, f31 +/* 80288014 00284F74 FC 20 F2 10 */ fabs f1, f30 +/* 80288018 00284F78 FC 00 00 18 */ frsp f0, f0 +/* 8028801C 00284F7C FC 20 08 18 */ frsp f1, f1 +/* 80288020 00284F80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288024 00284F84 4C 41 13 82 */ cror 2, 1, 2 +/* 80288028 00284F88 40 82 00 74 */ bne lbl_8028809C +/* 8028802C 00284F8C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80288030 00284F90 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288034 00284F94 40 81 00 68 */ ble lbl_8028809C +/* 80288038 00284F98 FC 20 F0 90 */ fmr f1, f30 +/* 8028803C 00284F9C 7F E4 FB 78 */ mr r4, r31 +/* 80288040 00284FA0 FC 40 F8 90 */ fmr f2, f31 +/* 80288044 00284FA4 38 61 00 08 */ addi r3, r1, 8 +/* 80288048 00284FA8 4B D8 C9 F9 */ bl CalculateLeftStickEdgePosition__7CPlayerCFff +/* 8028804C 00284FAC EC 1F 07 F2 */ fmuls f0, f31, f31 +/* 80288050 00284FB0 C0 81 00 08 */ lfs f4, 8(r1) +/* 80288054 00284FB4 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80288058 00284FB8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8028805C 00284FBC EC 3E 07 BA */ fmadds f1, f30, f30, f0 +/* 80288060 00284FC0 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80288064 00284FC4 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80288068 00284FC8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8028806C 00284FCC 48 08 D4 95 */ bl SqrtF__5CMathFf +/* 80288070 00284FD0 FF E0 08 90 */ fmr f31, f1 +/* 80288074 00284FD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80288078 00284FD8 48 08 C8 41 */ bl Magnitude__9CVector3fCFv +/* 8028807C 00284FDC EC 3F 08 24 */ fdivs f1, f31, f1 +/* 80288080 00284FE0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80288084 00284FE4 C0 03 02 08 */ lfs f0, 0x208(r3) +/* 80288088 00284FE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028808C 00284FEC 4C 41 13 82 */ cror 2, 1, 2 +/* 80288090 00284FF0 40 82 00 0C */ bne lbl_8028809C +/* 80288094 00284FF4 38 60 00 01 */ li r3, 1 +/* 80288098 00284FF8 48 00 00 08 */ b lbl_802880A0 +lbl_8028809C: +/* 8028809C 00284FFC 38 60 00 00 */ li r3, 0 +lbl_802880A0: +/* 802880A0 00285000 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802880A4 00285004 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802880A8 00285008 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 802880AC 0028500C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 802880B0 00285010 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802880B4 00285014 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802880B8 00285018 7C 08 03 A6 */ mtlr r0 +/* 802880BC 0028501C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802880C0 00285020 4E 80 00 20 */ blr + +.global UpdateStepCameraZBias__7CPlayerFf +UpdateStepCameraZBias__7CPlayerFf: +/* 802880C4 00285024 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802880C8 00285028 7C 08 02 A6 */ mflr r0 +/* 802880CC 0028502C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802880D0 00285030 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802880D4 00285034 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802880D8 00285038 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802880DC 0028503C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802880E0 00285040 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802880E4 00285044 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802880E8 00285048 DB 81 00 20 */ stfd f28, 0x20(r1) +/* 802880EC 0028504C F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 802880F0 00285050 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802880F4 00285054 7C 7F 1B 78 */ mr r31, r3 +/* 802880F8 00285058 FF 80 08 90 */ fmr f28, f1 +/* 802880FC 0028505C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80288100 00285060 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80288104 00285064 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80288108 00285068 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8028810C 0028506C D0 01 00 08 */ stfs f0, 8(r1) +/* 80288110 00285070 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80288114 00285074 4B FF CD 05 */ bl GetUnbiasedEyeHeight__7CPlayerCFv +/* 80288118 00285078 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8028811C 0028507C 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80288120 00285080 EF E0 08 2A */ fadds f31, f0, f1 +/* 80288124 00285084 2C 00 00 00 */ cmpwi r0, 0 +/* 80288128 00285088 40 82 01 08 */ bne lbl_80288230 +/* 8028812C 0028508C 7F E3 FB 78 */ mr r3, r31 +/* 80288130 00285090 4B D9 20 E5 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80288134 00285094 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80288138 00285098 40 82 00 F8 */ bne lbl_80288230 +/* 8028813C 0028509C 88 1F 09 C5 */ lbz r0, 0x9c5(r31) +/* 80288140 002850A0 FF C0 F8 90 */ fmr f30, f31 +/* 80288144 002850A4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80288148 002850A8 40 82 00 D8 */ bne lbl_80288220 +/* 8028814C 002850AC C0 1F 09 CC */ lfs f0, 0x9cc(r31) +/* 80288150 002850B0 C0 5F 01 40 */ lfs f2, 0x140(r31) +/* 80288154 002850B4 EF BF 00 28 */ fsubs f29, f31, f0 +/* 80288158 002850B8 C0 22 BE 28 */ lfs f1, lbl_805ADB48@sda21(r2) +/* 8028815C 002850BC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80288160 002850C0 EC 5C 00 B2 */ fmuls f2, f28, f2 +/* 80288164 002850C4 EF 81 07 32 */ fmuls f28, f1, f28 +/* 80288168 002850C8 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8028816C 002850CC 40 81 00 58 */ ble lbl_802881C4 +/* 80288170 002850D0 FC 1D 10 40 */ fcmpo cr0, f29, f2 +/* 80288174 002850D4 40 81 00 AC */ ble lbl_80288220 +/* 80288178 002850D8 FC 1D E0 40 */ fcmpo cr0, f29, f28 +/* 8028817C 002850DC 40 81 00 A4 */ ble lbl_80288220 +/* 80288180 002850E0 7F E3 FB 78 */ mr r3, r31 +/* 80288184 002850E4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80288188 002850E8 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 8028818C 002850EC 7D 89 03 A6 */ mtctr r12 +/* 80288190 002850F0 4E 80 04 21 */ bctrl +/* 80288194 002850F4 FC 1D 08 40 */ fcmpo cr0, f29, f1 +/* 80288198 002850F8 40 81 00 20 */ ble lbl_802881B8 +/* 8028819C 002850FC 7F E3 FB 78 */ mr r3, r31 +/* 802881A0 00285100 81 9F 00 00 */ lwz r12, 0(r31) +/* 802881A4 00285104 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 802881A8 00285108 7D 89 03 A6 */ mtctr r12 +/* 802881AC 0028510C 4E 80 04 21 */ bctrl +/* 802881B0 00285110 EC 1D 08 28 */ fsubs f0, f29, f1 +/* 802881B4 00285114 EF 9C 00 2A */ fadds f28, f28, f0 +lbl_802881B8: +/* 802881B8 00285118 C0 1F 09 CC */ lfs f0, 0x9cc(r31) +/* 802881BC 0028511C EF E0 E0 2A */ fadds f31, f0, f28 +/* 802881C0 00285120 48 00 00 60 */ b lbl_80288220 +lbl_802881C4: +/* 802881C4 00285124 FC 1D 10 40 */ fcmpo cr0, f29, f2 +/* 802881C8 00285128 40 80 00 58 */ bge lbl_80288220 +/* 802881CC 0028512C FC 00 E0 50 */ fneg f0, f28 +/* 802881D0 00285130 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802881D4 00285134 40 80 00 4C */ bge lbl_80288220 +/* 802881D8 00285138 7F E3 FB 78 */ mr r3, r31 +/* 802881DC 0028513C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802881E0 00285140 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 802881E4 00285144 7D 89 03 A6 */ mtctr r12 +/* 802881E8 00285148 4E 80 04 21 */ bctrl +/* 802881EC 0028514C FC 00 08 50 */ fneg f0, f1 +/* 802881F0 00285150 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802881F4 00285154 40 80 00 24 */ bge lbl_80288218 +/* 802881F8 00285158 7F E3 FB 78 */ mr r3, r31 +/* 802881FC 0028515C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80288200 00285160 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 80288204 00285164 7D 89 03 A6 */ mtctr r12 +/* 80288208 00285168 4E 80 04 21 */ bctrl +/* 8028820C 0028516C FC 00 E8 50 */ fneg f0, f29 +/* 80288210 00285170 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80288214 00285174 EF 9C 00 2A */ fadds f28, f28, f0 +lbl_80288218: +/* 80288218 00285178 C0 1F 09 CC */ lfs f0, 0x9cc(r31) +/* 8028821C 0028517C EF E0 E0 28 */ fsubs f31, f0, f28 +lbl_80288220: +/* 80288220 00285180 EC 3F F0 28 */ fsubs f1, f31, f30 +/* 80288224 00285184 7F E3 FB 78 */ mr r3, r31 +/* 80288228 00285188 4B FF C1 45 */ bl SetEyeZBias__7CPlayerFf +/* 8028822C 0028518C 48 00 00 10 */ b lbl_8028823C +lbl_80288230: +/* 80288230 00285190 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80288234 00285194 7F E3 FB 78 */ mr r3, r31 +/* 80288238 00285198 4B FF C1 35 */ bl SetEyeZBias__7CPlayerFf +lbl_8028823C: +/* 8028823C 0028519C D3 FF 09 CC */ stfs f31, 0x9cc(r31) +/* 80288240 002851A0 38 60 00 00 */ li r3, 0 +/* 80288244 002851A4 88 1F 09 C5 */ lbz r0, 0x9c5(r31) +/* 80288248 002851A8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8028824C 002851AC 98 1F 09 C5 */ stb r0, 0x9c5(r31) +/* 80288250 002851B0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80288254 002851B4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80288258 002851B8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 8028825C 002851BC CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80288260 002851C0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80288264 002851C4 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80288268 002851C8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 8028826C 002851CC CB 81 00 20 */ lfd f28, 0x20(r1) +/* 80288270 002851D0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80288274 002851D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288278 002851D8 7C 08 03 A6 */ mtlr r0 +/* 8028827C 002851DC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80288280 002851E0 4E 80 00 20 */ blr + +.global UpdateBombJumpStuff__7CPlayerFv +UpdateBombJumpStuff__7CPlayerFv: +/* 80288284 002851E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288288 002851E8 7C 08 02 A6 */ mflr r0 +/* 8028828C 002851EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288290 002851F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80288294 002851F4 7C 7F 1B 78 */ mr r31, r3 +/* 80288298 002851F8 80 03 09 D0 */ lwz r0, 0x9d0(r3) +/* 8028829C 002851FC 2C 00 00 00 */ cmpwi r0, 0 +/* 802882A0 00285200 41 82 00 6C */ beq lbl_8028830C +/* 802882A4 00285204 80 7F 09 D4 */ lwz r3, 0x9d4(r31) +/* 802882A8 00285208 34 03 FF FF */ addic. r0, r3, -1 +/* 802882AC 0028520C 90 1F 09 D4 */ stw r0, 0x9d4(r31) +/* 802882B0 00285210 41 81 00 5C */ bgt lbl_8028830C +/* 802882B4 00285214 C0 3F 01 38 */ lfs f1, 0x138(r31) +/* 802882B8 00285218 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802882BC 0028521C D0 21 00 08 */ stfs f1, 8(r1) +/* 802882C0 00285220 C0 3F 01 3C */ lfs f1, 0x13c(r31) +/* 802882C4 00285224 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802882C8 00285228 C0 3F 01 40 */ lfs f1, 0x140(r31) +/* 802882CC 0028522C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802882D0 00285230 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802882D4 00285234 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 802882D8 00285238 2C 00 00 00 */ cmpwi r0, 0 +/* 802882DC 0028523C 41 82 00 28 */ beq lbl_80288304 +/* 802882E0 00285240 38 61 00 08 */ addi r3, r1, 8 +/* 802882E4 00285244 48 08 C4 15 */ bl CanBeNormalized__9CVector3fCFv +/* 802882E8 00285248 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802882EC 0028524C 41 82 00 20 */ beq lbl_8028830C +/* 802882F0 00285250 38 61 00 08 */ addi r3, r1, 8 +/* 802882F4 00285254 48 08 C5 C5 */ bl Magnitude__9CVector3fCFv +/* 802882F8 00285258 C0 02 BE 54 */ lfs f0, lbl_805ADB74@sda21(r2) +/* 802882FC 0028525C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288300 00285260 40 81 00 0C */ ble lbl_8028830C +lbl_80288304: +/* 80288304 00285264 38 00 00 00 */ li r0, 0 +/* 80288308 00285268 90 1F 09 D0 */ stw r0, 0x9d0(r31) +lbl_8028830C: +/* 8028830C 0028526C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80288310 00285270 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288314 00285274 7C 08 03 A6 */ mtlr r0 +/* 80288318 00285278 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028831C 0028527C 4E 80 00 20 */ blr + +.global GetWeight__7CPlayerCFv +GetWeight__7CPlayerCFv: +/* 80288320 00285280 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288324 00285284 7C 08 02 A6 */ mflr r0 +/* 80288328 00285288 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028832C 0028528C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80288330 00285290 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80288334 00285294 C3 E3 00 E8 */ lfs f31, 0xe8(r3) +/* 80288338 00285298 48 00 00 25 */ bl GetGravity__7CPlayerCFv +/* 8028833C 0028529C FC 00 08 50 */ fneg f0, f1 +/* 80288340 002852A0 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80288344 002852A4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80288348 002852A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028834C 002852AC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80288350 002852B0 7C 08 03 A6 */ mtlr r0 +/* 80288354 002852B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80288358 002852B8 4E 80 00 20 */ blr + +.global GetGravity__7CPlayerCFv +GetGravity__7CPlayerCFv: +/* 8028835C 002852BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288360 002852C0 7C 08 02 A6 */ mflr r0 +/* 80288364 002852C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288368 002852C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028836C 002852CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80288370 002852D0 7C 7E 1B 78 */ mr r30, r3 +/* 80288374 002852D4 38 61 00 08 */ addi r3, r1, 8 +/* 80288378 002852D8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 8028837C 002852DC 4B F4 B5 A5 */ bl GetPlayerState__10CGameStateCFv +/* 80288380 002852E0 80 61 00 08 */ lwz r3, 8(r1) +/* 80288384 002852E4 38 80 00 15 */ li r4, 0x15 +/* 80288388 002852E8 80 63 00 00 */ lwz r3, 0(r3) +/* 8028838C 002852EC 4B E0 97 35 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80288390 002852F0 7C 7F 1B 78 */ mr r31, r3 +/* 80288394 002852F4 38 61 00 08 */ addi r3, r1, 8 +/* 80288398 002852F8 4B D8 0B 75 */ bl sub_80008f0c +/* 8028839C 002852FC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802883A0 00285300 40 82 00 20 */ bne lbl_802883C0 +/* 802883A4 00285304 7F C3 F3 78 */ mr r3, r30 +/* 802883A8 00285308 4B FF CC 65 */ bl CheckSubmerged__7CPlayerCFv +/* 802883AC 0028530C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802883B0 00285310 41 82 00 10 */ beq lbl_802883C0 +/* 802883B4 00285314 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802883B8 00285318 C0 23 00 C8 */ lfs f1, 0xc8(r3) +/* 802883BC 0028531C 48 00 00 20 */ b lbl_802883DC +lbl_802883C0: +/* 802883C0 00285320 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 802883C4 00285324 28 00 00 00 */ cmplwi r0, 0 +/* 802883C8 00285328 41 82 00 0C */ beq lbl_802883D4 +/* 802883CC 0028532C C0 22 BE 58 */ lfs f1, lbl_805ADB78@sda21(r2) +/* 802883D0 00285330 48 00 00 0C */ b lbl_802883DC +lbl_802883D4: +/* 802883D4 00285334 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802883D8 00285338 C0 23 00 C4 */ lfs f1, 0xc4(r3) +lbl_802883DC: +/* 802883DC 0028533C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802883E0 00285340 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802883E4 00285344 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802883E8 00285348 7C 08 03 A6 */ mtlr r0 +/* 802883EC 0028534C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802883F0 00285350 4E 80 00 20 */ blr + +.global GetAcceleration__7CPlayerCFv +GetAcceleration__7CPlayerCFv: +/* 802883F4 00285354 80 03 02 D0 */ lwz r0, 0x2d0(r3) +/* 802883F8 00285358 80 83 02 B4 */ lwz r4, 0x2b4(r3) +/* 802883FC 0028535C 7C 00 20 00 */ cmpw r0, r4 +/* 80288400 00285360 41 80 00 18 */ blt lbl_80288418 +/* 80288404 00285364 38 04 FF FF */ addi r0, r4, -1 +/* 80288408 00285368 54 00 10 3A */ slwi r0, r0, 2 +/* 8028840C 0028536C 7C 63 02 14 */ add r3, r3, r0 +/* 80288410 00285370 C0 23 02 B8 */ lfs f1, 0x2b8(r3) +/* 80288414 00285374 4E 80 00 20 */ blr +lbl_80288418: +/* 80288418 00285378 54 00 10 3A */ slwi r0, r0, 2 +/* 8028841C 0028537C 7C 63 02 14 */ add r3, r3, r0 +/* 80288420 00285380 C0 23 02 B8 */ lfs f1, 0x2b8(r3) +/* 80288424 00285384 4E 80 00 20 */ blr + +.global GetAverageSpeed__7CPlayerCFv +GetAverageSpeed__7CPlayerCFv: +/* 80288428 00285388 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028842C 0028538C 7C 08 02 A6 */ mflr r0 +/* 80288430 00285390 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288434 00285394 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80288438 00285398 7C 7F 1B 78 */ mr r31, r3 +/* 8028843C 0028539C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80288440 002853A0 38 9F 04 A4 */ addi r4, r31, 0x4a4 +/* 80288444 002853A4 48 00 00 4D */ bl sub_80288490 +/* 80288448 002853A8 88 61 00 14 */ lbz r3, 0x14(r1) +/* 8028844C 002853AC 38 00 00 00 */ li r0, 0 +/* 80288450 002853B0 28 03 00 00 */ cmplwi r3, 0 +/* 80288454 002853B4 98 01 00 14 */ stb r0, 0x14(r1) +/* 80288458 002853B8 41 82 00 20 */ beq lbl_80288478 +/* 8028845C 002853BC 38 61 00 08 */ addi r3, r1, 8 +/* 80288460 002853C0 38 9F 04 A4 */ addi r4, r31, 0x4a4 +/* 80288464 002853C4 48 00 00 2D */ bl sub_80288490 +/* 80288468 002853C8 38 00 00 00 */ li r0, 0 +/* 8028846C 002853CC C0 21 00 08 */ lfs f1, 8(r1) +/* 80288470 002853D0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80288474 002853D4 48 00 00 08 */ b lbl_8028847C +lbl_80288478: +/* 80288478 002853D8 C0 3F 04 F8 */ lfs f1, 0x4f8(r31) +lbl_8028847C: +/* 8028847C 002853DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80288480 002853E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288484 002853E4 7C 08 03 A6 */ mtlr r0 +/* 80288488 002853E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028848C 002853EC 4E 80 00 20 */ blr + +.global sub_80288490 +sub_80288490: +/* 80288490 002853F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80288494 002853F4 7C 08 02 A6 */ mflr r0 +/* 80288498 002853F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028849C 002853FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802884A0 00285400 7C 7F 1B 78 */ mr r31, r3 +/* 802884A4 00285404 80 04 00 00 */ lwz r0, 0(r4) +/* 802884A8 00285408 2C 00 00 00 */ cmpwi r0, 0 +/* 802884AC 0028540C 40 82 00 10 */ bne lbl_802884BC +/* 802884B0 00285410 38 00 00 00 */ li r0, 0 +/* 802884B4 00285414 98 1F 00 04 */ stb r0, 4(r31) +/* 802884B8 00285418 48 00 00 24 */ b lbl_802884DC +lbl_802884BC: +/* 802884BC 0028541C 38 64 00 04 */ addi r3, r4, 4 +/* 802884C0 00285420 7C 04 03 78 */ mr r4, r0 +/* 802884C4 00285424 4B D8 03 D1 */ bl "GetAverageValue__FPCfi" +/* 802884C8 00285428 38 00 00 01 */ li r0, 1 +/* 802884CC 0028542C 28 1F 00 00 */ cmplwi r31, 0 +/* 802884D0 00285430 98 1F 00 04 */ stb r0, 4(r31) +/* 802884D4 00285434 41 82 00 08 */ beq lbl_802884DC +/* 802884D8 00285438 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_802884DC: +/* 802884DC 0028543C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802884E0 00285440 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802884E4 00285444 7C 08 03 A6 */ mtlr r0 +/* 802884E8 00285448 38 21 00 10 */ addi r1, r1, 0x10 +/* 802884EC 0028544C 4E 80 00 20 */ blr + +.global GetDampedClampedVelocityWR__7CPlayerCFv +GetDampedClampedVelocityWR__7CPlayerCFv: +/* 802884F0 00285450 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802884F4 00285454 7C 08 02 A6 */ mflr r0 +/* 802884F8 00285458 90 01 00 54 */ stw r0, 0x54(r1) +/* 802884FC 0028545C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80288500 00285460 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80288504 00285464 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80288508 00285468 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8028850C 0028546C 7C 9F 23 78 */ mr r31, r4 +/* 80288510 00285470 7C 7E 1B 78 */ mr r30, r3 +/* 80288514 00285474 38 61 00 18 */ addi r3, r1, 0x18 +/* 80288518 00285478 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8028851C 0028547C 38 BF 01 38 */ addi r5, r31, 0x138 +/* 80288520 00285480 48 08 A5 05 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80288524 00285484 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80288528 00285488 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8028852C 0028548C C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80288530 00285490 2C 00 00 02 */ cmpwi r0, 2 +/* 80288534 00285494 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80288538 00285498 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028853C 0028549C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80288540 002854A0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80288544 002854A4 40 82 00 28 */ bne lbl_8028856C +/* 80288548 002854A8 40 82 01 04 */ bne lbl_8028864C +/* 8028854C 002854AC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 80288550 002854B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80288554 002854B4 40 82 00 0C */ bne lbl_80288560 +/* 80288558 002854B8 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8028855C 002854BC 48 00 00 08 */ b lbl_80288564 +lbl_80288560: +/* 80288560 002854C0 38 00 00 04 */ li r0, 4 +lbl_80288564: +/* 80288564 002854C4 2C 00 00 01 */ cmpwi r0, 1 +/* 80288568 002854C8 41 82 00 E4 */ beq lbl_8028864C +lbl_8028856C: +/* 8028856C 002854CC 80 1F 03 04 */ lwz r0, 0x304(r31) +/* 80288570 002854D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80288574 002854D4 40 82 00 D8 */ bne lbl_8028864C +/* 80288578 002854D8 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 8028857C 002854DC 2C 00 00 02 */ cmpwi r0, 2 +/* 80288580 002854E0 40 82 00 0C */ bne lbl_8028858C +/* 80288584 002854E4 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 80288588 002854E8 48 00 00 08 */ b lbl_80288590 +lbl_8028858C: +/* 8028858C 002854EC 38 00 00 04 */ li r0, 4 +lbl_80288590: +/* 80288590 002854F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80288594 002854F4 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80288598 002854F8 41 80 00 0C */ blt lbl_802885A4 +/* 8028859C 002854FC 2C 00 00 07 */ cmpwi r0, 7 +/* 802885A0 00285500 40 81 00 08 */ ble lbl_802885A8 +lbl_802885A4: +/* 802885A4 00285504 38 00 00 00 */ li r0, 0 +lbl_802885A8: +/* 802885A8 00285508 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802885AC 0028550C 54 00 10 3A */ slwi r0, r0, 2 +/* 802885B0 00285510 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802885B4 00285514 7C 63 02 14 */ add r3, r3, r0 +/* 802885B8 00285518 C3 E3 00 44 */ lfs f31, 0x44(r3) +/* 802885BC 0028551C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802885C0 00285520 40 81 00 24 */ ble lbl_802885E4 +/* 802885C4 00285524 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 802885C8 00285528 38 81 00 14 */ addi r4, r1, 0x14 +/* 802885CC 0028552C 38 6D 99 44 */ addi r3, r13, lbl_805A8504@sda21 +/* 802885D0 00285530 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802885D4 00285534 4B DC 71 5D */ bl "Max__5CMathFRCfRCf" +/* 802885D8 00285538 C0 03 00 00 */ lfs f0, 0(r3) +/* 802885DC 0028553C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802885E0 00285540 48 00 00 20 */ b lbl_80288600 +lbl_802885E4: +/* 802885E4 00285544 EC 1F 08 2A */ fadds f0, f31, f1 +/* 802885E8 00285548 38 81 00 10 */ addi r4, r1, 0x10 +/* 802885EC 0028554C 38 6D 99 48 */ addi r3, r13, lbl_805A8508@sda21 +/* 802885F0 00285550 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802885F4 00285554 4B DF 57 ED */ bl "Min__5CMathFRCfRCf" +/* 802885F8 00285558 C0 03 00 00 */ lfs f0, 0(r3) +/* 802885FC 0028555C D0 01 00 28 */ stfs f0, 0x28(r1) +lbl_80288600: +/* 80288600 00285560 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80288604 00285564 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80288608 00285568 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028860C 0028556C 40 81 00 24 */ ble lbl_80288630 +/* 80288610 00285570 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80288614 00285574 38 81 00 0C */ addi r4, r1, 0xc +/* 80288618 00285578 38 6D 99 4C */ addi r3, r13, lbl_805A850C@sda21 +/* 8028861C 0028557C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80288620 00285580 4B DC 71 11 */ bl "Max__5CMathFRCfRCf" +/* 80288624 00285584 C0 03 00 00 */ lfs f0, 0(r3) +/* 80288628 00285588 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8028862C 0028558C 48 00 00 20 */ b lbl_8028864C +lbl_80288630: +/* 80288630 00285590 EC 1F 08 2A */ fadds f0, f31, f1 +/* 80288634 00285594 38 81 00 08 */ addi r4, r1, 8 +/* 80288638 00285598 38 6D 99 50 */ addi r3, r13, lbl_805A8510@sda21 +/* 8028863C 0028559C D0 01 00 08 */ stfs f0, 8(r1) +/* 80288640 002855A0 4B DF 57 A1 */ bl "Min__5CMathFRCfRCf" +/* 80288644 002855A4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80288648 002855A8 D0 01 00 24 */ stfs f0, 0x24(r1) +lbl_8028864C: +/* 8028864C 002855AC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 80288650 002855B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80288654 002855B4 40 82 00 0C */ bne lbl_80288660 +/* 80288658 002855B8 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8028865C 002855BC 48 00 00 08 */ b lbl_80288664 +lbl_80288660: +/* 80288660 002855C0 38 00 00 04 */ li r0, 4 +lbl_80288664: +/* 80288664 002855C4 2C 00 00 00 */ cmpwi r0, 0 +/* 80288668 002855C8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028866C 002855CC 41 80 00 0C */ blt lbl_80288678 +/* 80288670 002855D0 2C 00 00 07 */ cmpwi r0, 7 +/* 80288674 002855D4 40 81 00 08 */ ble lbl_8028867C +lbl_80288678: +/* 80288678 002855D8 38 00 00 00 */ li r0, 0 +lbl_8028867C: +/* 8028867C 002855DC C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80288680 002855E0 54 00 10 3A */ slwi r0, r0, 2 +/* 80288684 002855E4 7C 63 02 14 */ add r3, r3, r0 +/* 80288688 002855E8 FC 20 12 10 */ fabs f1, f2 +/* 8028868C 002855EC C0 03 00 A4 */ lfs f0, 0xa4(r3) +/* 80288690 002855F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288694 002855F4 40 81 00 14 */ ble lbl_802886A8 +/* 80288698 002855F8 C0 62 BD C8 */ lfs f3, lbl_805ADAE8@sda21(r2) +/* 8028869C 002855FC C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802886A0 00285600 FC 22 18 6E */ fsel f1, f2, f1, f3 +/* 802886A4 00285604 EC 40 00 72 */ fmuls f2, f0, f1 +lbl_802886A8: +/* 802886A8 00285608 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 802886AC 0028560C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802886B0 00285610 2C 00 00 00 */ cmpwi r0, 0 +/* 802886B4 00285614 40 82 00 0C */ bne lbl_802886C0 +/* 802886B8 00285618 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802886BC 0028561C D0 01 00 2C */ stfs f0, 0x2c(r1) +lbl_802886C0: +/* 802886C0 00285620 7F C3 F3 78 */ mr r3, r30 +/* 802886C4 00285624 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802886C8 00285628 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802886CC 0028562C 48 08 A3 B5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802886D0 00285630 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802886D4 00285634 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802886D8 00285638 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802886DC 0028563C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802886E0 00285640 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802886E4 00285644 7C 08 03 A6 */ mtlr r0 +/* 802886E8 00285648 38 21 00 50 */ addi r1, r1, 0x50 +/* 802886EC 0028564C 4E 80 00 20 */ blr + +.global __sinit_CPlayerDynamics_cpp +__sinit_CPlayerDynamics_cpp: +/* 802886F0 00285650 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802886F4 00285654 7C 08 02 A6 */ mflr r0 +/* 802886F8 00285658 38 60 00 00 */ li r3, 0 +/* 802886FC 0028565C 38 80 00 01 */ li r4, 1 +/* 80288700 00285660 90 01 00 34 */ stw r0, 0x34(r1) +/* 80288704 00285664 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80288708 00285668 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028870C 0028566C 80 AD 99 30 */ lwz r5, lbl_805A84F0@sda21(r13) +/* 80288710 00285670 48 10 17 E5 */ bl __shl2i +/* 80288714 00285674 90 8D A5 94 */ stw r4, lbl_805A9154@sda21(r13) +/* 80288718 00285678 38 80 00 01 */ li r4, 1 +/* 8028871C 0028567C 80 AD 99 34 */ lwz r5, lbl_805A84F4@sda21(r13) +/* 80288720 00285680 90 6D A5 90 */ stw r3, lbl_805A9150@sda21(r13) +/* 80288724 00285684 38 60 00 00 */ li r3, 0 +/* 80288728 00285688 48 10 17 CD */ bl __shl2i +/* 8028872C 0028568C 80 AD 99 38 */ lwz r5, lbl_805A84F8@sda21(r13) +/* 80288730 00285690 7C 9E 23 78 */ mr r30, r4 +/* 80288734 00285694 7C 7F 1B 78 */ mr r31, r3 +/* 80288738 00285698 38 60 00 00 */ li r3, 0 +/* 8028873C 0028569C 38 80 00 01 */ li r4, 1 +/* 80288740 002856A0 48 10 17 B5 */ bl __shl2i +/* 80288744 002856A4 80 AD 99 3C */ lwz r5, lbl_805A84FC@sda21(r13) +/* 80288748 002856A8 7F DE 23 78 */ or r30, r30, r4 +/* 8028874C 002856AC 7F FF 1B 78 */ or r31, r31, r3 +/* 80288750 002856B0 38 60 00 00 */ li r3, 0 +/* 80288754 002856B4 38 80 00 01 */ li r4, 1 +/* 80288758 002856B8 48 10 17 9D */ bl __shl2i +/* 8028875C 002856BC 80 AD 99 40 */ lwz r5, lbl_805A8500@sda21(r13) +/* 80288760 002856C0 7F DE 23 78 */ or r30, r30, r4 +/* 80288764 002856C4 7F FF 1B 78 */ or r31, r31, r3 +/* 80288768 002856C8 38 60 00 00 */ li r3, 0 +/* 8028876C 002856CC 38 80 00 01 */ li r4, 1 +/* 80288770 002856D0 48 10 17 85 */ bl __shl2i +/* 80288774 002856D4 3C A0 80 47 */ lis r5, lbl_8046E0D8@ha +/* 80288778 002856D8 80 0D A5 90 */ lwz r0, lbl_805A9150@sda21(r13) +/* 8028877C 002856DC 7F DE 23 78 */ or r30, r30, r4 +/* 80288780 002856E0 7F FF 1B 78 */ or r31, r31, r3 +/* 80288784 002856E4 38 65 E0 D8 */ addi r3, r5, lbl_8046E0D8@l +/* 80288788 002856E8 38 A0 00 03 */ li r5, 3 +/* 8028878C 002856EC 80 8D A5 94 */ lwz r4, lbl_805A9154@sda21(r13) +/* 80288790 002856F0 93 CD A5 9C */ stw r30, lbl_805A915C@sda21(r13) +/* 80288794 002856F4 93 ED A5 98 */ stw r31, lbl_805A9158@sda21(r13) +/* 80288798 002856F8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028879C 002856FC 90 83 00 04 */ stw r4, 4(r3) +/* 802887A0 00285700 90 03 00 00 */ stw r0, 0(r3) +/* 802887A4 00285704 93 C3 00 0C */ stw r30, 0xc(r3) +/* 802887A8 00285708 93 E3 00 08 */ stw r31, 8(r3) +/* 802887AC 0028570C 90 A3 00 10 */ stw r5, 0x10(r3) +/* 802887B0 00285710 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802887B4 00285714 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802887B8 00285718 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802887BC 0028571C 7C 08 03 A6 */ mtlr r0 +/* 802887C0 00285720 38 21 00 30 */ addi r1, r1, 0x30 +/* 802887C4 00285724 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CPlayerInputFilter.s b/asm/Kyoto_CWD/Player/CPlayerInputFilter.s new file mode 100644 index 00000000..3188cdd2 --- /dev/null +++ b/asm/Kyoto_CWD/Player/CPlayerInputFilter.s @@ -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>__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>__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>__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>__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>__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>__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>__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>__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>__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>__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>__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>__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>__FRCQ24rstl18reserved_vectori" +/* 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>__FRCQ24rstl18reserved_vectori" +/* 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>__FRCQ24rstl18reserved_vectori" +/* 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>__FRCQ24rstl18reserved_vectori" +"_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori": +/* 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>__FRCQ24rstl27reserved_vector<9CVector2f>i" +"_getElementBoundsCheck>__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>__FRCQ24rstl27reserved_vector<9CVector3f>i" +"_getElementBoundsCheck>__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 diff --git a/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s b/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s new file mode 100644 index 00000000..affe998f --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s @@ -0,0 +1,1133 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8029f318 +sub_8029f318: +/* 8029F318 0029C278 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8029F31C 0029C27C 7C 08 02 A6 */ mflr r0 +/* 8029F320 0029C280 3C E0 80 3D */ lis r7, lbl_803D5EB8@ha +/* 8029F324 0029C284 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029F328 0029C288 38 07 5E B8 */ addi r0, r7, lbl_803D5EB8@l +/* 8029F32C 0029C28C BF 21 00 44 */ stmw r25, 0x44(r1) +/* 8029F330 0029C290 7C 79 1B 78 */ mr r25, r3 +/* 8029F334 0029C294 7C 9A 23 78 */ mr r26, r4 +/* 8029F338 0029C298 7C BB 2B 78 */ mr r27, r5 +/* 8029F33C 0029C29C 7C DC 33 78 */ mr r28, r6 +/* 8029F340 0029C2A0 7C 04 03 78 */ mr r4, r0 +/* 8029F344 0029C2A4 38 60 01 10 */ li r3, 0x110 +/* 8029F348 0029C2A8 38 A0 00 00 */ li r5, 0 +/* 8029F34C 0029C2AC 48 07 65 21 */ bl __nw__FUlPCcPCc +/* 8029F350 0029C2B0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8029F354 0029C2B4 41 82 00 A0 */ beq lbl_8029F3F4 +/* 8029F358 0029C2B8 C0 22 C0 F8 */ lfs f1, lbl_805ADE18@sda21(r2) +/* 8029F35C 0029C2BC 7F 84 E3 78 */ mr r4, r28 +/* 8029F360 0029C2C0 C0 02 C0 FC */ lfs f0, lbl_805ADE1C@sda21(r2) +/* 8029F364 0029C2C4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029F368 0029C2C8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8029F36C 0029C2CC D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8029F370 0029C2D0 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8029F374 0029C2D4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8029F378 0029C2D8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029F37C 0029C2DC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8029F380 0029C2E0 4B DA DD 5D */ bl AllocateUniqueId__13CStateManagerFv +/* 8029F384 0029C2E4 C0 22 C0 FC */ lfs f1, lbl_805ADE1C@sda21(r2) +/* 8029F388 0029C2E8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029F38C 0029C2EC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8029F390 0029C2F0 FC 40 08 90 */ fmr f2, f1 +/* 8029F394 0029C2F4 FC 60 08 90 */ fmr f3, f1 +/* 8029F398 0029C2F8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8029F39C 0029C2FC FC 80 08 90 */ fmr f4, f1 +/* 8029F3A0 0029C300 48 0C 40 4D */ bl __ct__6CColorFffff +/* 8029F3A4 0029C304 7C 7E 1B 78 */ mr r30, r3 +/* 8029F3A8 0029C308 7F 83 E3 78 */ mr r3, r28 +/* 8029F3AC 0029C30C 4B E9 0E 81 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager +/* 8029F3B0 0029C310 7C 7F 1B 78 */ mr r31, r3 +/* 8029F3B4 0029C314 7F 83 E3 78 */ mr r3, r28 +/* 8029F3B8 0029C318 4B E9 0E 41 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager +/* 8029F3BC 0029C31C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8029F3C0 0029C320 38 01 00 28 */ addi r0, r1, 0x28 +/* 8029F3C4 0029C324 90 61 00 08 */ stw r3, 8(r1) +/* 8029F3C8 0029C328 7F A3 EB 78 */ mr r3, r29 +/* 8029F3CC 0029C32C 7F 24 CB 78 */ mr r4, r25 +/* 8029F3D0 0029C330 7F 45 D3 78 */ mr r5, r26 +/* 8029F3D4 0029C334 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029F3D8 0029C338 7F 68 DB 78 */ mr r8, r27 +/* 8029F3DC 0029C33C 7F E9 FB 78 */ mr r9, r31 +/* 8029F3E0 0029C340 7F CA F3 78 */ mr r10, r30 +/* 8029F3E4 0029C344 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8029F3E8 0029C348 38 E0 00 01 */ li r7, 1 +/* 8029F3EC 0029C34C 4B E9 0B 0D */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" +/* 8029F3F0 0029C350 7C 7D 1B 78 */ mr r29, r3 +lbl_8029F3F4: +/* 8029F3F4 0029C354 7F 83 E3 78 */ mr r3, r28 +/* 8029F3F8 0029C358 7F A4 EB 78 */ mr r4, r29 +/* 8029F3FC 0029C35C 4B DA D8 F9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8029F400 0029C360 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 8029F404 0029C364 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029F408 0029C368 7C 08 03 A6 */ mtlr r0 +/* 8029F40C 0029C36C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8029F410 0029C370 4E 80 00 20 */ blr + +.global Death__11CEnergyBallFRC9CVector3fR13CStateManager +Death__11CEnergyBallFRC9CVector3fR13CStateManager: +/* 8029F414 0029C374 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029F418 0029C378 7C 08 02 A6 */ mflr r0 +/* 8029F41C 0029C37C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029F420 0029C380 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029F424 0029C384 7C BF 2B 78 */ mr r31, r5 +/* 8029F428 0029C388 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029F42C 0029C38C 7C 9E 23 78 */ mr r30, r4 +/* 8029F430 0029C390 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029F434 0029C394 7C 7D 1B 78 */ mr r29, r3 +/* 8029F438 0029C398 81 83 00 00 */ lwz r12, 0(r3) +/* 8029F43C 0029C39C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8029F440 0029C3A0 7D 89 03 A6 */ mtctr r12 +/* 8029F444 0029C3A4 4E 80 04 21 */ bctrl +/* 8029F448 0029C3A8 28 03 00 00 */ cmplwi r3, 0 +/* 8029F44C 0029C3AC 41 82 00 2C */ beq lbl_8029F478 +/* 8029F450 0029C3B0 C0 23 00 00 */ lfs f1, 0(r3) +/* 8029F454 0029C3B4 C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) +/* 8029F458 0029C3B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F45C 0029C3BC 40 81 00 1C */ ble lbl_8029F478 +/* 8029F460 0029C3C0 7F A3 EB 78 */ mr r3, r29 +/* 8029F464 0029C3C4 7F C4 F3 78 */ mr r4, r30 +/* 8029F468 0029C3C8 7F E5 FB 78 */ mr r5, r31 +/* 8029F46C 0029C3CC 38 C0 FF FF */ li r6, -1 +/* 8029F470 0029C3D0 4B DD BF 35 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8029F474 0029C3D4 48 00 00 18 */ b lbl_8029F48C +lbl_8029F478: +/* 8029F478 0029C3D8 7F A3 EB 78 */ mr r3, r29 +/* 8029F47C 0029C3DC 7F C4 F3 78 */ mr r4, r30 +/* 8029F480 0029C3E0 7F E5 FB 78 */ mr r5, r31 +/* 8029F484 0029C3E4 38 C0 00 14 */ li r6, 0x14 +/* 8029F488 0029C3E8 4B DD BF 1D */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +lbl_8029F48C: +/* 8029F48C 0029C3EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029F490 0029C3F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029F494 0029C3F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029F498 0029C3F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029F49C 0029C3FC 7C 08 03 A6 */ mtlr r0 +/* 8029F4A0 0029C400 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029F4A4 0029C404 4E 80 00 20 */ blr + +.global sub_8029f4a8 +sub_8029f4a8: +/* 8029F4A8 0029C408 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8029F4AC 0029C40C 7C 08 02 A6 */ mflr r0 +/* 8029F4B0 0029C410 90 01 01 04 */ stw r0, 0x104(r1) +/* 8029F4B4 0029C414 BF 41 00 E8 */ stmw r26, 0xe8(r1) +/* 8029F4B8 0029C418 7C 7D 1B 78 */ mr r29, r3 +/* 8029F4BC 0029C41C 7C 9E 23 78 */ mr r30, r4 +/* 8029F4C0 0029C420 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8029F4C4 0029C424 C0 1D 05 88 */ lfs f0, 0x588(r29) +/* 8029F4C8 0029C428 C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 8029F4CC 0029C42C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8029F4D0 0029C430 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8029F4D4 0029C434 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 8029F4D8 0029C438 EC C7 08 28 */ fsubs f6, f7, f1 +/* 8029F4DC 0029C43C C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 8029F4E0 0029C440 C1 03 00 60 */ lfs f8, 0x60(r3) +/* 8029F4E4 0029C444 EC 82 08 28 */ fsubs f4, f2, f1 +/* 8029F4E8 0029C448 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 8029F4EC 0029C44C D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8029F4F0 0029C450 EC A8 18 28 */ fsubs f5, f8, f3 +/* 8029F4F4 0029C454 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 8029F4F8 0029C458 D0 E1 00 98 */ stfs f7, 0x98(r1) +/* 8029F4FC 0029C45C EC 44 01 32 */ fmuls f2, f4, f4 +/* 8029F500 0029C460 EC 65 01 72 */ fmuls f3, f5, f5 +/* 8029F504 0029C464 D1 01 00 9C */ stfs f8, 0x9c(r1) +/* 8029F508 0029C468 EC 22 08 2A */ fadds f1, f2, f1 +/* 8029F50C 0029C46C D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 8029F510 0029C470 D0 C1 00 A4 */ stfs f6, 0xa4(r1) +/* 8029F514 0029C474 EC 23 08 2A */ fadds f1, f3, f1 +/* 8029F518 0029C478 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 8029F51C 0029C47C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F520 0029C480 4C 40 13 82 */ cror 2, 0, 2 +/* 8029F524 0029C484 40 82 02 A4 */ bne lbl_8029F7C8 +/* 8029F528 0029C488 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 8029F52C 0029C48C 3B E0 00 01 */ li r31, 1 +/* 8029F530 0029C490 2C 00 00 02 */ cmpwi r0, 2 +/* 8029F534 0029C494 41 82 00 60 */ beq lbl_8029F594 +/* 8029F538 0029C498 40 80 00 14 */ bge lbl_8029F54C +/* 8029F53C 0029C49C 2C 00 00 00 */ cmpwi r0, 0 +/* 8029F540 0029C4A0 41 82 00 18 */ beq lbl_8029F558 +/* 8029F544 0029C4A4 40 80 00 38 */ bge lbl_8029F57C +/* 8029F548 0029C4A8 48 00 02 5C */ b lbl_8029F7A4 +lbl_8029F54C: +/* 8029F54C 0029C4AC 2C 00 00 04 */ cmpwi r0, 4 +/* 8029F550 0029C4B0 40 80 02 54 */ bge lbl_8029F7A4 +/* 8029F554 0029C4B4 48 00 00 EC */ b lbl_8029F640 +lbl_8029F558: +/* 8029F558 0029C4B8 C0 3D 05 98 */ lfs f1, 0x598(r29) +/* 8029F55C 0029C4BC C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) +/* 8029F560 0029C4C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F564 0029C4C4 7C 60 00 26 */ mfcr r3 +/* 8029F568 0029C4C8 88 1D 04 02 */ lbz r0, 0x402(r29) +/* 8029F56C 0029C4CC 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c +/* 8029F570 0029C4D0 98 1D 04 02 */ stb r0, 0x402(r29) +/* 8029F574 0029C4D4 D0 3D 05 04 */ stfs f1, 0x504(r29) +/* 8029F578 0029C4D8 48 00 02 2C */ b lbl_8029F7A4 +lbl_8029F57C: +/* 8029F57C 0029C4DC A0 DD 05 A0 */ lhz r6, 0x5a0(r29) +/* 8029F580 0029C4E0 80 BD 05 9C */ lwz r5, 0x59c(r29) +/* 8029F584 0029C4E4 80 FD 05 A4 */ lwz r7, 0x5a4(r29) +/* 8029F588 0029C4E8 4B D7 67 8D */ bl Freeze__7CPlayerFR13CStateManagerUiUsUi +/* 8029F58C 0029C4EC 3B E0 00 00 */ li r31, 0 +/* 8029F590 0029C4F0 48 00 02 14 */ b lbl_8029F7A4 +lbl_8029F594: +/* 8029F594 0029C4F4 38 00 00 00 */ li r0, 0 +/* 8029F598 0029C4F8 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha +/* 8029F59C 0029C4FC 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l +/* 8029F5A0 0029C500 98 01 00 90 */ stb r0, 0x90(r1) +/* 8029F5A4 0029C504 38 61 00 78 */ addi r3, r1, 0x78 +/* 8029F5A8 0029C508 38 84 00 07 */ addi r4, r4, 7 +/* 8029F5AC 0029C50C 4B D6 57 0D */ bl string_l__4rstlFPCc +/* 8029F5B0 0029C510 7F C6 F3 78 */ mr r6, r30 +/* 8029F5B4 0029C514 38 61 00 88 */ addi r3, r1, 0x88 +/* 8029F5B8 0029C518 38 9D 05 A8 */ addi r4, r29, 0x5a8 +/* 8029F5BC 0029C51C 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8029F5C0 0029C520 4B FF FD 59 */ bl sub_8029f318 +/* 8029F5C4 0029C524 38 61 00 78 */ addi r3, r1, 0x78 +/* 8029F5C8 0029C528 48 09 E5 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029F5CC 0029C52C 88 01 00 90 */ lbz r0, 0x90(r1) +/* 8029F5D0 0029C530 28 00 00 00 */ cmplwi r0, 0 +/* 8029F5D4 0029C534 41 82 00 14 */ beq lbl_8029F5E8 +/* 8029F5D8 0029C538 34 61 00 88 */ addic. r3, r1, 0x88 +/* 8029F5DC 0029C53C 41 82 00 0C */ beq lbl_8029F5E8 +/* 8029F5E0 0029C540 38 80 00 00 */ li r4, 0 +/* 8029F5E4 0029C544 48 0A 18 5D */ bl __dt__6CTokenFv +lbl_8029F5E8: +/* 8029F5E8 0029C548 38 00 00 00 */ li r0, 0 +/* 8029F5EC 0029C54C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8029F5F0 0029C550 98 01 00 90 */ stb r0, 0x90(r1) +/* 8029F5F4 0029C554 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029F5F8 0029C558 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8029F5FC 0029C55C 38 A0 00 7F */ li r5, 0x7f +/* 8029F600 0029C560 A0 9D 05 B4 */ lhz r4, 0x5b4(r29) +/* 8029F604 0029C564 38 C0 00 40 */ li r6, 0x40 +/* 8029F608 0029C568 38 E0 00 00 */ li r7, 0 +/* 8029F60C 0029C56C 39 20 00 00 */ li r9, 0 +/* 8029F610 0029C570 48 04 A7 65 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8029F614 0029C574 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8029F618 0029C578 38 81 00 1C */ addi r4, r1, 0x1c +/* 8029F61C 0029C57C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8029F620 0029C580 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8029F624 0029C584 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8029F628 0029C588 80 63 00 00 */ lwz r3, 0(r3) +/* 8029F62C 0029C58C C0 3D 05 B8 */ lfs f1, 0x5b8(r29) +/* 8029F630 0029C590 C0 5D 05 BC */ lfs f2, 0x5bc(r29) +/* 8029F634 0029C594 38 63 01 88 */ addi r3, r3, 0x188 +/* 8029F638 0029C598 4B F2 15 01 */ bl AddSource__19CStaticInterferenceF9TUniqueId +/* 8029F63C 0029C59C 48 00 01 68 */ b lbl_8029F7A4 +lbl_8029F640: +/* 8029F640 0029C5A0 38 00 00 00 */ li r0, 0 +/* 8029F644 0029C5A4 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha +/* 8029F648 0029C5A8 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l +/* 8029F64C 0029C5AC 98 01 00 74 */ stb r0, 0x74(r1) +/* 8029F650 0029C5B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029F654 0029C5B4 38 84 00 18 */ addi r4, r4, 0x18 +/* 8029F658 0029C5B8 4B D6 56 61 */ bl string_l__4rstlFPCc +/* 8029F65C 0029C5BC 7F C6 F3 78 */ mr r6, r30 +/* 8029F660 0029C5C0 38 7D 05 C0 */ addi r3, r29, 0x5c0 +/* 8029F664 0029C5C4 38 81 00 6C */ addi r4, r1, 0x6c +/* 8029F668 0029C5C8 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8029F66C 0029C5CC 4B FF FC AD */ bl sub_8029f318 +/* 8029F670 0029C5D0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029F674 0029C5D4 48 09 E4 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029F678 0029C5D8 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8029F67C 0029C5DC 28 00 00 00 */ cmplwi r0, 0 +/* 8029F680 0029C5E0 41 82 00 14 */ beq lbl_8029F694 +/* 8029F684 0029C5E4 34 61 00 6C */ addic. r3, r1, 0x6c +/* 8029F688 0029C5E8 41 82 00 0C */ beq lbl_8029F694 +/* 8029F68C 0029C5EC 38 80 00 00 */ li r4, 0 +/* 8029F690 0029C5F0 48 0A 17 B1 */ bl __dt__6CTokenFv +lbl_8029F694: +/* 8029F694 0029C5F4 38 00 00 00 */ li r0, 0 +/* 8029F698 0029C5F8 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha +/* 8029F69C 0029C5FC 98 01 00 74 */ stb r0, 0x74(r1) +/* 8029F6A0 0029C600 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l +/* 8029F6A4 0029C604 3B 60 00 00 */ li r27, 0 +/* 8029F6A8 0029C608 3B 40 00 00 */ li r26, 0 +/* 8029F6AC 0029C60C 38 60 00 5C */ li r3, 0x5c +/* 8029F6B0 0029C610 38 A0 00 00 */ li r5, 0 +/* 8029F6B4 0029C614 48 07 61 B9 */ bl __nw__FUlPCcPCc +/* 8029F6B8 0029C618 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8029F6BC 0029C61C 41 82 00 84 */ beq lbl_8029F740 +/* 8029F6C0 0029C620 3C 80 80 3D */ lis r4, lbl_803D5EB8@ha +/* 8029F6C4 0029C624 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029F6C8 0029C628 38 84 5E B8 */ addi r4, r4, lbl_803D5EB8@l +/* 8029F6CC 0029C62C 38 84 00 26 */ addi r4, r4, 0x26 +/* 8029F6D0 0029C630 4B D6 55 E9 */ bl string_l__4rstlFPCc +/* 8029F6D4 0029C634 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8029F6D8 0029C638 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8029F6DC 0029C63C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8029F6E0 0029C640 38 81 00 34 */ addi r4, r1, 0x34 +/* 8029F6E4 0029C644 90 01 00 38 */ stw r0, 0x38(r1) +/* 8029F6E8 0029C648 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8029F6EC 0029C64C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8029F6F0 0029C650 3B 60 00 01 */ li r27, 1 +/* 8029F6F4 0029C654 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029F6F8 0029C658 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029F6FC 0029C65C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029F700 0029C660 4B DB 1D 85 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8029F704 0029C664 7F C4 F3 78 */ mr r4, r30 +/* 8029F708 0029C668 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029F70C 0029C66C 3B 40 00 01 */ li r26, 1 +/* 8029F710 0029C670 4B DA D9 CD */ bl AllocateUniqueId__13CStateManagerFv +/* 8029F714 0029C674 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8029F718 0029C678 7F 83 E3 78 */ mr r3, r28 +/* 8029F71C 0029C67C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029F720 0029C680 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 8029F724 0029C684 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8029F728 0029C688 38 E1 00 4C */ addi r7, r1, 0x4c +/* 8029F72C 0029C68C 39 1D 05 CC */ addi r8, r29, 0x5cc +/* 8029F730 0029C690 38 C0 00 01 */ li r6, 1 +/* 8029F734 0029C694 C0 3D 05 E8 */ lfs f1, 0x5e8(r29) +/* 8029F738 0029C698 48 00 0B 45 */ bl sub_802a027c +/* 8029F73C 0029C69C 7C 7C 1B 78 */ mr r28, r3 +lbl_8029F740: +/* 8029F740 0029C6A0 7F C3 F3 78 */ mr r3, r30 +/* 8029F744 0029C6A4 7F 84 E3 78 */ mr r4, r28 +/* 8029F748 0029C6A8 4B DA D5 AD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8029F74C 0029C6AC 7F 40 07 75 */ extsb. r0, r26 +/* 8029F750 0029C6B0 41 82 00 44 */ beq lbl_8029F794 +/* 8029F754 0029C6B4 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 8029F758 0029C6B8 80 61 00 D8 */ lwz r3, 0xd8(r1) +/* 8029F75C 0029C6BC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8029F760 0029C6C0 90 61 00 24 */ stw r3, 0x24(r1) +/* 8029F764 0029C6C4 7C 64 1B 78 */ mr r4, r3 +/* 8029F768 0029C6C8 7C 03 02 14 */ add r0, r3, r0 +/* 8029F76C 0029C6CC 90 61 00 20 */ stw r3, 0x20(r1) +/* 8029F770 0029C6D0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8029F774 0029C6D4 90 01 00 28 */ stw r0, 0x28(r1) +/* 8029F778 0029C6D8 48 00 00 08 */ b lbl_8029F780 +lbl_8029F77C: +/* 8029F77C 0029C6DC 38 84 00 0C */ addi r4, r4, 0xc +lbl_8029F780: +/* 8029F780 0029C6E0 7C 04 00 40 */ cmplw r4, r0 +/* 8029F784 0029C6E4 40 82 FF F8 */ bne lbl_8029F77C +/* 8029F788 0029C6E8 28 03 00 00 */ cmplwi r3, 0 +/* 8029F78C 0029C6EC 41 82 00 08 */ beq lbl_8029F794 +/* 8029F790 0029C6F0 48 07 61 A1 */ bl Free__7CMemoryFPCv +lbl_8029F794: +/* 8029F794 0029C6F4 7F 60 07 75 */ extsb. r0, r27 +/* 8029F798 0029C6F8 41 82 00 0C */ beq lbl_8029F7A4 +/* 8029F79C 0029C6FC 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029F7A0 0029C700 48 09 E3 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029F7A4: +/* 8029F7A4 0029C704 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8029F7A8 0029C708 41 82 00 20 */ beq lbl_8029F7C8 +/* 8029F7AC 0029C70C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8029F7B0 0029C710 4B D7 65 4D */ bl GetFrozenState__7CPlayerCFv +/* 8029F7B4 0029C714 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029F7B8 0029C718 41 82 00 10 */ beq lbl_8029F7C8 +/* 8029F7BC 0029C71C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8029F7C0 0029C720 7F C4 F3 78 */ mr r4, r30 +/* 8029F7C4 0029C724 4B D7 62 69 */ bl UnFreeze__7CPlayerFR13CStateManager +lbl_8029F7C8: +/* 8029F7C8 0029C728 80 AD 9A 30 */ lwz r5, lbl_805A85F0@sda21(r13) +/* 8029F7CC 0029C72C 38 60 00 00 */ li r3, 0 +/* 8029F7D0 0029C730 38 80 00 01 */ li r4, 1 +/* 8029F7D4 0029C734 48 0E A7 21 */ bl __shl2i +/* 8029F7D8 0029C738 39 20 00 00 */ li r9, 0 +/* 8029F7DC 0029C73C 38 00 00 03 */ li r0, 3 +/* 8029F7E0 0029C740 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8029F7E4 0029C744 7F A5 EB 78 */ mr r5, r29 +/* 8029F7E8 0029C748 38 81 00 0C */ addi r4, r1, 0xc +/* 8029F7EC 0029C74C 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8029F7F0 0029C750 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8029F7F4 0029C754 7F C3 F3 78 */ mr r3, r30 +/* 8029F7F8 0029C758 38 FD 05 78 */ addi r7, r29, 0x578 +/* 8029F7FC 0029C75C 39 01 00 B0 */ addi r8, r1, 0xb0 +/* 8029F800 0029C760 91 21 00 BC */ stw r9, 0xbc(r1) +/* 8029F804 0029C764 91 21 00 B8 */ stw r9, 0xb8(r1) +/* 8029F808 0029C768 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8029F80C 0029C76C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 8029F810 0029C770 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8029F814 0029C774 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8029F818 0029C778 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8029F81C 0029C77C D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8029F820 0029C780 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8029F824 0029C784 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8029F828 0029C788 B0 01 00 08 */ sth r0, 8(r1) +/* 8029F82C 0029C78C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8029F830 0029C790 4B DA 94 7D */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 8029F834 0029C794 7F A3 EB 78 */ mr r3, r29 +/* 8029F838 0029C798 7F C4 F3 78 */ mr r4, r30 +/* 8029F83C 0029C79C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8029F840 0029C7A0 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 8029F844 0029C7A4 7D 89 03 A6 */ mtctr r12 +/* 8029F848 0029C7A8 4E 80 04 21 */ bctrl +/* 8029F84C 0029C7AC BB 41 00 E8 */ lmw r26, 0xe8(r1) +/* 8029F850 0029C7B0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8029F854 0029C7B4 7C 08 03 A6 */ mtlr r0 +/* 8029F858 0029C7B8 38 21 01 00 */ addi r1, r1, 0x100 +/* 8029F85C 0029C7BC 4E 80 00 20 */ blr + +.global Think__11CEnergyBallFfR13CStateManager +Think__11CEnergyBallFfR13CStateManager: +/* 8029F860 0029C7C0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029F864 0029C7C4 7C 08 02 A6 */ mflr r0 +/* 8029F868 0029C7C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8029F86C 0029C7CC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8029F870 0029C7D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8029F874 0029C7D4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8029F878 0029C7D8 7C 7E 1B 78 */ mr r30, r3 +/* 8029F87C 0029C7DC C0 02 C1 00 */ lfs f0, lbl_805ADE20@sda21(r2) +/* 8029F880 0029C7E0 C0 43 05 6C */ lfs f2, 0x56c(r3) +/* 8029F884 0029C7E4 FF E0 08 90 */ fmr f31, f1 +/* 8029F888 0029C7E8 C0 22 C1 04 */ lfs f1, lbl_805ADE24@sda21(r2) +/* 8029F88C 0029C7EC 7C 9F 23 78 */ mr r31, r4 +/* 8029F890 0029C7F0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8029F894 0029C7F4 C0 0D 9A 38 */ lfs f0, lbl_805A85F8@sda21(r13) +/* 8029F898 0029C7F8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8029F89C 0029C7FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F8A0 0029C800 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8029F8A4 0029C804 40 80 00 0C */ bge lbl_8029F8B0 +/* 8029F8A8 0029C808 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029F8AC 0029C80C 48 00 00 08 */ b lbl_8029F8B4 +lbl_8029F8B0: +/* 8029F8B0 0029C810 38 6D 9A 38 */ addi r3, r13, lbl_805A85F8@sda21 +lbl_8029F8B4: +/* 8029F8B4 0029C814 C0 2D 9A 3C */ lfs f1, lbl_805A85FC@sda21(r13) +/* 8029F8B8 0029C818 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029F8BC 0029C81C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F8C0 0029C820 40 80 00 08 */ bge lbl_8029F8C8 +/* 8029F8C4 0029C824 48 00 00 08 */ b lbl_8029F8CC +lbl_8029F8C8: +/* 8029F8C8 0029C828 38 6D 9A 3C */ addi r3, r13, lbl_805A85FC@sda21 +lbl_8029F8CC: +/* 8029F8CC 0029C82C C0 3E 05 94 */ lfs f1, 0x594(r30) +/* 8029F8D0 0029C830 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029F8D4 0029C834 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8029F8D8 0029C838 D0 3E 03 B8 */ stfs f1, 0x3b8(r30) +/* 8029F8DC 0029C83C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8029F8E0 0029C840 4B E9 B0 C5 */ bl SetTurnSpeed__15CBodyControllerFf +/* 8029F8E4 0029C844 FC 20 F8 90 */ fmr f1, f31 +/* 8029F8E8 0029C848 7F C3 F3 78 */ mr r3, r30 +/* 8029F8EC 0029C84C 7F E4 FB 78 */ mr r4, r31 +/* 8029F8F0 0029C850 4B DD A2 29 */ bl Think__10CPatternedFfR13CStateManager +/* 8029F8F4 0029C854 C0 5E 04 28 */ lfs f2, 0x428(r30) +/* 8029F8F8 0029C858 C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) +/* 8029F8FC 0029C85C C0 0D 9A 40 */ lfs f0, lbl_805A8600@sda21(r13) +/* 8029F900 0029C860 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8029F904 0029C864 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F908 0029C868 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8029F90C 0029C86C 40 80 00 0C */ bge lbl_8029F918 +/* 8029F910 0029C870 3B 81 00 0C */ addi r28, r1, 0xc +/* 8029F914 0029C874 48 00 00 08 */ b lbl_8029F91C +lbl_8029F918: +/* 8029F918 0029C878 3B 8D 9A 40 */ addi r28, r13, lbl_805A8600@sda21 +lbl_8029F91C: +/* 8029F91C 0029C87C C0 2D 9A 44 */ lfs f1, lbl_805A8604@sda21(r13) +/* 8029F920 0029C880 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8029F924 0029C884 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F928 0029C888 40 80 00 08 */ bge lbl_8029F930 +/* 8029F92C 0029C88C 48 00 00 08 */ b lbl_8029F934 +lbl_8029F930: +/* 8029F930 0029C890 3B 8D 9A 44 */ addi r28, r13, lbl_805A8604@sda21 +lbl_8029F934: +/* 8029F934 0029C894 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8029F938 0029C898 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8029F93C 0029C89C 3B 63 01 20 */ addi r27, r3, 0x120 +/* 8029F940 0029C8A0 48 0A A6 5D */ bl Red__6CColorFv +/* 8029F944 0029C8A4 7C 7D 1B 78 */ mr r29, r3 +/* 8029F948 0029C8A8 48 0A A6 65 */ bl White__6CColorFv +/* 8029F94C 0029C8AC C0 3C 00 00 */ lfs f1, 0(r28) +/* 8029F950 0029C8B0 7C 64 1B 78 */ mr r4, r3 +/* 8029F954 0029C8B4 7F A5 EB 78 */ mr r5, r29 +/* 8029F958 0029C8B8 38 61 00 08 */ addi r3, r1, 8 +/* 8029F95C 0029C8BC 48 0C 39 51 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8029F960 0029C8C0 7F 63 DB 78 */ mr r3, r27 +/* 8029F964 0029C8C4 38 81 00 08 */ addi r4, r1, 8 +/* 8029F968 0029C8C8 4B E1 81 B1 */ bl SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor +/* 8029F96C 0029C8CC 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8029F970 0029C8D0 3B 60 00 00 */ li r27, 0 +/* 8029F974 0029C8D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029F978 0029C8D8 41 82 00 58 */ beq lbl_8029F9D0 +/* 8029F97C 0029C8DC 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8029F980 0029C8E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029F984 0029C8E4 41 82 00 4C */ beq lbl_8029F9D0 +/* 8029F988 0029C8E8 C0 1E 05 6C */ lfs f0, 0x56c(r30) +/* 8029F98C 0029C8EC EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029F990 0029C8F0 D0 1E 05 6C */ stfs f0, 0x56c(r30) +/* 8029F994 0029C8F4 C0 3E 05 6C */ lfs f1, 0x56c(r30) +/* 8029F998 0029C8F8 C0 1E 05 74 */ lfs f0, 0x574(r30) +/* 8029F99C 0029C8FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F9A0 0029C900 40 81 00 08 */ ble lbl_8029F9A8 +/* 8029F9A4 0029C904 3B 60 00 01 */ li r27, 1 +lbl_8029F9A8: +/* 8029F9A8 0029C908 7F C3 F3 78 */ mr r3, r30 +/* 8029F9AC 0029C90C FC 20 F8 90 */ fmr f1, f31 +/* 8029F9B0 0029C910 81 9E 00 00 */ lwz r12, 0(r30) +/* 8029F9B4 0029C914 7F E4 FB 78 */ mr r4, r31 +/* 8029F9B8 0029C918 81 8C 01 A4 */ lwz r12, 0x1a4(r12) +/* 8029F9BC 0029C91C 7D 89 03 A6 */ mtctr r12 +/* 8029F9C0 0029C920 4E 80 04 21 */ bctrl +/* 8029F9C4 0029C924 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029F9C8 0029C928 41 82 00 08 */ beq lbl_8029F9D0 +/* 8029F9CC 0029C92C 3B 60 00 01 */ li r27, 1 +lbl_8029F9D0: +/* 8029F9D0 0029C930 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8029F9D4 0029C934 41 82 00 10 */ beq lbl_8029F9E4 +/* 8029F9D8 0029C938 7F C3 F3 78 */ mr r3, r30 +/* 8029F9DC 0029C93C 7F E4 FB 78 */ mr r4, r31 +/* 8029F9E0 0029C940 4B FF FA C9 */ bl sub_8029f4a8 +lbl_8029F9E4: +/* 8029F9E4 0029C944 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8029F9E8 0029C948 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8029F9EC 0029C94C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8029F9F0 0029C950 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029F9F4 0029C954 7C 08 03 A6 */ mtlr r0 +/* 8029F9F8 0029C958 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029F9FC 0029C95C 4E 80 00 20 */ blr + +.global Attack__11CEnergyBallFR13CStateManager9EStateMsgf +Attack__11CEnergyBallFR13CStateManager9EStateMsgf: +/* 8029FA00 0029C960 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8029FA04 0029C964 7C 08 02 A6 */ mflr r0 +/* 8029FA08 0029C968 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029FA0C 0029C96C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8029FA10 0029C970 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8029FA14 0029C974 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8029FA18 0029C978 FF E0 08 90 */ fmr f31, f1 +/* 8029FA1C 0029C97C 2C 05 00 01 */ cmpwi r5, 1 +/* 8029FA20 0029C980 7C 7F 1B 78 */ mr r31, r3 +/* 8029FA24 0029C984 41 82 00 10 */ beq lbl_8029FA34 +/* 8029FA28 0029C988 40 80 00 88 */ bge lbl_8029FAB0 +/* 8029FA2C 0029C98C 48 00 00 84 */ b lbl_8029FAB0 +/* 8029FA30 0029C990 48 00 00 80 */ b lbl_8029FAB0 +lbl_8029FA34: +/* 8029FA34 0029C994 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8029FA38 0029C998 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029FA3C 0029C99C 4B FE 53 41 */ bl GetEyePosition__7CPlayerCFv +/* 8029FA40 0029C9A0 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8029FA44 0029C9A4 7F E5 FB 78 */ mr r5, r31 +/* 8029FA48 0029C9A8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8029FA4C 0029C9AC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029FA50 0029C9B0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8029FA54 0029C9B4 38 9F 05 68 */ addi r4, r31, 0x568 +/* 8029FA58 0029C9B8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8029FA5C 0029C9BC 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8029FA60 0029C9C0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8029FA64 0029C9C4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8029FA68 0029C9C8 4B E9 F1 B9 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 8029FA6C 0029C9CC C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8029FA70 0029C9D0 FC 20 F8 90 */ fmr f1, f31 +/* 8029FA74 0029C9D4 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8029FA78 0029C9D8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8029FA7C 0029C9DC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8029FA80 0029C9E0 38 A1 00 08 */ addi r5, r1, 8 +/* 8029FA84 0029C9E4 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8029FA88 0029C9E8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8029FA8C 0029C9EC D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8029FA90 0029C9F0 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 8029FA94 0029C9F4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 8029FA98 0029C9F8 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8029FA9C 0029C9FC D0 01 00 08 */ stfs f0, 8(r1) +/* 8029FAA0 0029CA00 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8029FAA4 0029CA04 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8029FAA8 0029CA08 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8029FAAC 0029CA0C 4B E9 A9 BD */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff +lbl_8029FAB0: +/* 8029FAB0 0029CA10 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8029FAB4 0029CA14 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029FAB8 0029CA18 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8029FABC 0029CA1C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8029FAC0 0029CA20 7C 08 03 A6 */ mtlr r0 +/* 8029FAC4 0029CA24 38 21 00 60 */ addi r1, r1, 0x60 +/* 8029FAC8 0029CA28 4E 80 00 20 */ blr + +.global Generate__11CEnergyBallFR13CStateManager9EStateMsgf +Generate__11CEnergyBallFR13CStateManager9EStateMsgf: +/* 8029FACC 0029CA2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029FAD0 0029CA30 7C 08 02 A6 */ mflr r0 +/* 8029FAD4 0029CA34 2C 05 00 01 */ cmpwi r5, 1 +/* 8029FAD8 0029CA38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FADC 0029CA3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029FAE0 0029CA40 7C 9F 23 78 */ mr r31, r4 +/* 8029FAE4 0029CA44 93 C1 00 08 */ stw r30, 8(r1) +/* 8029FAE8 0029CA48 7C 7E 1B 78 */ mr r30, r3 +/* 8029FAEC 0029CA4C 41 82 00 28 */ beq lbl_8029FB14 +/* 8029FAF0 0029CA50 40 80 00 10 */ bge lbl_8029FB00 +/* 8029FAF4 0029CA54 2C 05 00 00 */ cmpwi r5, 0 +/* 8029FAF8 0029CA58 40 80 00 14 */ bge lbl_8029FB0C +/* 8029FAFC 0029CA5C 48 00 00 4C */ b lbl_8029FB48 +lbl_8029FB00: +/* 8029FB00 0029CA60 2C 05 00 03 */ cmpwi r5, 3 +/* 8029FB04 0029CA64 40 80 00 44 */ bge lbl_8029FB48 +/* 8029FB08 0029CA68 48 00 00 38 */ b lbl_8029FB40 +lbl_8029FB0C: +/* 8029FB0C 0029CA6C 38 00 00 01 */ li r0, 1 +/* 8029FB10 0029CA70 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8029FB14: +/* 8029FB14 0029CA74 7F C3 F3 78 */ mr r3, r30 +/* 8029FB18 0029CA78 7F E4 FB 78 */ mr r4, r31 +/* 8029FB1C 0029CA7C 38 A0 00 00 */ li r5, 0 +/* 8029FB20 0029CA80 4B DD C6 89 */ bl sub_8007c1a8 +/* 8029FB24 0029CA84 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8029FB28 0029CA88 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8029FB2C 0029CA8C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029FB30 0029CA90 40 82 00 18 */ bne lbl_8029FB48 +/* 8029FB34 0029CA94 7F E4 FB 78 */ mr r4, r31 +/* 8029FB38 0029CA98 4B E9 B1 B9 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8029FB3C 0029CA9C 48 00 00 0C */ b lbl_8029FB48 +lbl_8029FB40: +/* 8029FB40 0029CAA0 38 00 00 00 */ li r0, 0 +/* 8029FB44 0029CAA4 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8029FB48: +/* 8029FB48 0029CAA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029FB4C 0029CAAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029FB50 0029CAB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029FB54 0029CAB4 7C 08 03 A6 */ mtlr r0 +/* 8029FB58 0029CAB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029FB5C 0029CABC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CEnergyBallF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CEnergyBallF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8029FB60 0029CAC0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029FB64 0029CAC4 7C 08 02 A6 */ mflr r0 +/* 8029FB68 0029CAC8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8029FB6C 0029CACC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8029FB70 0029CAD0 7C DF 33 78 */ mr r31, r6 +/* 8029FB74 0029CAD4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8029FB78 0029CAD8 7C BE 2B 78 */ mr r30, r5 +/* 8029FB7C 0029CADC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8029FB80 0029CAE0 7C 9D 23 78 */ mr r29, r4 +/* 8029FB84 0029CAE4 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 8029FB88 0029CAE8 93 81 00 30 */ stw r28, 0x30(r1) +/* 8029FB8C 0029CAEC 7C 7C 1B 78 */ mr r28, r3 +/* 8029FB90 0029CAF0 40 82 00 4C */ bne lbl_8029FBDC +/* 8029FB94 0029CAF4 80 AD 9A 34 */ lwz r5, lbl_805A85F4@sda21(r13) +/* 8029FB98 0029CAF8 38 60 00 00 */ li r3, 0 +/* 8029FB9C 0029CAFC 38 80 00 01 */ li r4, 1 +/* 8029FBA0 0029CB00 48 0E A3 55 */ bl __shl2i +/* 8029FBA4 0029CB04 38 A0 00 00 */ li r5, 0 +/* 8029FBA8 0029CB08 38 00 00 01 */ li r0, 1 +/* 8029FBAC 0029CB0C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8029FBB0 0029CB10 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029FBB4 0029CB14 90 61 00 10 */ stw r3, 0x10(r1) +/* 8029FBB8 0029CB18 7F 83 E3 78 */ mr r3, r28 +/* 8029FBBC 0029CB1C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8029FBC0 0029CB20 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8029FBC4 0029CB24 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029FBC8 0029CB28 4B DB 3C D9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8029FBCC 0029CB2C 7F 83 E3 78 */ mr r3, r28 +/* 8029FBD0 0029CB30 7F E5 FB 78 */ mr r5, r31 +/* 8029FBD4 0029CB34 38 80 00 13 */ li r4, 0x13 +/* 8029FBD8 0029CB38 4B DB 43 A9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8029FBDC: +/* 8029FBDC 0029CB3C A0 1E 00 00 */ lhz r0, 0(r30) +/* 8029FBE0 0029CB40 7F 83 E3 78 */ mr r3, r28 +/* 8029FBE4 0029CB44 7F A4 EB 78 */ mr r4, r29 +/* 8029FBE8 0029CB48 7F E6 FB 78 */ mr r6, r31 +/* 8029FBEC 0029CB4C B0 01 00 08 */ sth r0, 8(r1) +/* 8029FBF0 0029CB50 38 A1 00 08 */ addi r5, r1, 8 +/* 8029FBF4 0029CB54 4B DD CF 85 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8029FBF8 0029CB58 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029FBFC 0029CB5C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8029FC00 0029CB60 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8029FC04 0029CB64 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8029FC08 0029CB68 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8029FC0C 0029CB6C 7C 08 03 A6 */ mtlr r0 +/* 8029FC10 0029CB70 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029FC14 0029CB74 4E 80 00 20 */ blr + +.global Accept__11CEnergyBallFR8IVisitor +Accept__11CEnergyBallFR8IVisitor: +/* 8029FC18 0029CB78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029FC1C 0029CB7C 7C 08 02 A6 */ mflr r0 +/* 8029FC20 0029CB80 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FC24 0029CB84 7C 60 1B 78 */ mr r0, r3 +/* 8029FC28 0029CB88 7C 83 23 78 */ mr r3, r4 +/* 8029FC2C 0029CB8C 81 84 00 00 */ lwz r12, 0(r4) +/* 8029FC30 0029CB90 7C 04 03 78 */ mr r4, r0 +/* 8029FC34 0029CB94 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8029FC38 0029CB98 7D 89 03 A6 */ mtctr r12 +/* 8029FC3C 0029CB9C 4E 80 04 21 */ bctrl +/* 8029FC40 0029CBA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029FC44 0029CBA4 7C 08 03 A6 */ mtlr r0 +/* 8029FC48 0029CBA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029FC4C 0029CBAC 4E 80 00 20 */ blr + +.global __dt__11CEnergyBall +__dt__11CEnergyBall: +/* 8029FC50 0029CBB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029FC54 0029CBB4 7C 08 02 A6 */ mflr r0 +/* 8029FC58 0029CBB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FC5C 0029CBBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029FC60 0029CBC0 7C 9F 23 78 */ mr r31, r4 +/* 8029FC64 0029CBC4 93 C1 00 08 */ stw r30, 8(r1) +/* 8029FC68 0029CBC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029FC6C 0029CBCC 41 82 00 84 */ beq lbl_8029FCF0 +/* 8029FC70 0029CBD0 3C 60 80 3F */ lis r3, lbl_803EC0A0@ha +/* 8029FC74 0029CBD4 34 1E 05 C0 */ addic. r0, r30, 0x5c0 +/* 8029FC78 0029CBD8 38 03 C0 A0 */ addi r0, r3, lbl_803EC0A0@l +/* 8029FC7C 0029CBDC 90 1E 00 00 */ stw r0, 0(r30) +/* 8029FC80 0029CBE0 41 82 00 28 */ beq lbl_8029FCA8 +/* 8029FC84 0029CBE4 88 1E 05 C8 */ lbz r0, 0x5c8(r30) +/* 8029FC88 0029CBE8 28 00 00 00 */ cmplwi r0, 0 +/* 8029FC8C 0029CBEC 41 82 00 14 */ beq lbl_8029FCA0 +/* 8029FC90 0029CBF0 34 7E 05 C0 */ addic. r3, r30, 0x5c0 +/* 8029FC94 0029CBF4 41 82 00 0C */ beq lbl_8029FCA0 +/* 8029FC98 0029CBF8 38 80 00 00 */ li r4, 0 +/* 8029FC9C 0029CBFC 48 0A 11 A5 */ bl __dt__6CTokenFv +lbl_8029FCA0: +/* 8029FCA0 0029CC00 38 00 00 00 */ li r0, 0 +/* 8029FCA4 0029CC04 98 1E 05 C8 */ stb r0, 0x5c8(r30) +lbl_8029FCA8: +/* 8029FCA8 0029CC08 34 1E 05 A8 */ addic. r0, r30, 0x5a8 +/* 8029FCAC 0029CC0C 41 82 00 28 */ beq lbl_8029FCD4 +/* 8029FCB0 0029CC10 88 1E 05 B0 */ lbz r0, 0x5b0(r30) +/* 8029FCB4 0029CC14 28 00 00 00 */ cmplwi r0, 0 +/* 8029FCB8 0029CC18 41 82 00 14 */ beq lbl_8029FCCC +/* 8029FCBC 0029CC1C 34 7E 05 A8 */ addic. r3, r30, 0x5a8 +/* 8029FCC0 0029CC20 41 82 00 0C */ beq lbl_8029FCCC +/* 8029FCC4 0029CC24 38 80 00 00 */ li r4, 0 +/* 8029FCC8 0029CC28 48 0A 11 79 */ bl __dt__6CTokenFv +lbl_8029FCCC: +/* 8029FCCC 0029CC2C 38 00 00 00 */ li r0, 0 +/* 8029FCD0 0029CC30 98 1E 05 B0 */ stb r0, 0x5b0(r30) +lbl_8029FCD4: +/* 8029FCD4 0029CC34 7F C3 F3 78 */ mr r3, r30 +/* 8029FCD8 0029CC38 38 80 00 00 */ li r4, 0 +/* 8029FCDC 0029CC3C 4B DD 78 95 */ bl __dt__10CPatternedFv +/* 8029FCE0 0029CC40 7F E0 07 35 */ extsh. r0, r31 +/* 8029FCE4 0029CC44 40 81 00 0C */ ble lbl_8029FCF0 +/* 8029FCE8 0029CC48 7F C3 F3 78 */ mr r3, r30 +/* 8029FCEC 0029CC4C 48 07 5C 45 */ bl Free__7CMemoryFPCv +lbl_8029FCF0: +/* 8029FCF0 0029CC50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029FCF4 0029CC54 7F C3 F3 78 */ mr r3, r30 +/* 8029FCF8 0029CC58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029FCFC 0029CC5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029FD00 0029CC60 7C 08 03 A6 */ mtlr r0 +/* 8029FD04 0029CC64 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029FD08 0029CC68 4E 80 00 20 */ blr + +.global __ct__11CEnergyBall +__ct__11CEnergyBall: +/* 8029FD0C 0029CC6C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8029FD10 0029CC70 7C 08 02 A6 */ mflr r0 +/* 8029FD14 0029CC74 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8029FD18 0029CC78 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8029FD1C 0029CC7C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8029FD20 0029CC80 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8029FD24 0029CC84 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8029FD28 0029CC88 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8029FD2C 0029CC8C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8029FD30 0029CC90 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 8029FD34 0029CC94 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 8029FD38 0029CC98 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 8029FD3C 0029CC9C F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 8029FD40 0029CCA0 BE A1 00 64 */ stmw r21, 0x64(r1) +/* 8029FD44 0029CCA4 A0 04 00 00 */ lhz r0, 0(r4) +/* 8029FD48 0029CCA8 7D 56 53 78 */ mr r22, r10 +/* 8029FD4C 0029CCAC 7C CB 33 78 */ mr r11, r6 +/* 8029FD50 0029CCB0 7D 0A 43 78 */ mr r10, r8 +/* 8029FD54 0029CCB4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8029FD58 0029CCB8 7C A6 2B 78 */ mr r6, r5 +/* 8029FD5C 0029CCBC 38 80 00 01 */ li r4, 1 +/* 8029FD60 0029CCC0 38 00 00 07 */ li r0, 7 +/* 8029FD64 0029CCC4 92 C1 00 08 */ stw r22, 8(r1) +/* 8029FD68 0029CCC8 FF 60 08 90 */ fmr f27, f1 +/* 8029FD6C 0029CCCC FF 80 10 90 */ fmr f28, f2 +/* 8029FD70 0029CCD0 82 E1 00 E8 */ lwz r23, 0xe8(r1) +/* 8029FD74 0029CCD4 90 81 00 0C */ stw r4, 0xc(r1) +/* 8029FD78 0029CCD8 FF A0 18 90 */ fmr f29, f3 +/* 8029FD7C 0029CCDC FF C0 20 90 */ fmr f30, f4 +/* 8029FD80 0029CCE0 90 81 00 10 */ stw r4, 0x10(r1) +/* 8029FD84 0029CCE4 FF E0 28 90 */ fmr f31, f5 +/* 8029FD88 0029CCE8 83 01 00 EC */ lwz r24, 0xec(r1) +/* 8029FD8C 0029CCEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FD90 0029CCF0 7C 75 1B 78 */ mr r21, r3 +/* 8029FD94 0029CCF4 83 21 00 F0 */ lwz r25, 0xf0(r1) +/* 8029FD98 0029CCF8 7D 68 5B 78 */ mr r8, r11 +/* 8029FD9C 0029CCFC 91 21 00 18 */ stw r9, 0x18(r1) +/* 8029FDA0 0029CD00 7C E9 3B 78 */ mr r9, r7 +/* 8029FDA4 0029CD04 A3 41 00 F6 */ lhz r26, 0xf6(r1) +/* 8029FDA8 0029CD08 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8029FDAC 0029CD0C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8029FDB0 0029CD10 38 80 00 28 */ li r4, 0x28 +/* 8029FDB4 0029CD14 83 61 00 F8 */ lwz r27, 0xf8(r1) +/* 8029FDB8 0029CD18 38 E0 00 00 */ li r7, 0 +/* 8029FDBC 0029CD1C 83 81 00 FC */ lwz r28, 0xfc(r1) +/* 8029FDC0 0029CD20 A3 A1 01 02 */ lhz r29, 0x102(r1) +/* 8029FDC4 0029CD24 83 C1 01 04 */ lwz r30, 0x104(r1) +/* 8029FDC8 0029CD28 83 E1 01 08 */ lwz r31, 0x108(r1) +/* 8029FDCC 0029CD2C 4B DD D6 85 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8029FDD0 0029CD30 3C 80 80 3F */ lis r4, lbl_803EC0A0@ha +/* 8029FDD4 0029CD34 38 75 05 68 */ addi r3, r21, 0x568 +/* 8029FDD8 0029CD38 38 04 C0 A0 */ addi r0, r4, lbl_803EC0A0@l +/* 8029FDDC 0029CD3C 90 15 00 00 */ stw r0, 0(r21) +/* 8029FDE0 0029CD40 4B E9 EF 71 */ bl __ct__18CSteeringBehaviorsFv +/* 8029FDE4 0029CD44 C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) +/* 8029FDE8 0029CD48 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8029FDEC 0029CD4C 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 8029FDF0 0029CD50 38 61 00 44 */ addi r3, r1, 0x44 +/* 8029FDF4 0029CD54 D0 15 05 6C */ stfs f0, 0x56c(r21) +/* 8029FDF8 0029CD58 38 A1 00 4C */ addi r5, r1, 0x4c +/* 8029FDFC 0029CD5C 92 F5 05 70 */ stw r23, 0x570(r21) +/* 8029FE00 0029CD60 D3 75 05 74 */ stfs f27, 0x574(r21) +/* 8029FE04 0029CD64 80 98 00 00 */ lwz r4, 0(r24) +/* 8029FE08 0029CD68 90 95 05 78 */ stw r4, 0x578(r21) +/* 8029FE0C 0029CD6C 88 98 00 04 */ lbz r4, 4(r24) +/* 8029FE10 0029CD70 98 95 05 7C */ stb r4, 0x57c(r21) +/* 8029FE14 0029CD74 C0 18 00 08 */ lfs f0, 8(r24) +/* 8029FE18 0029CD78 D0 15 05 80 */ stfs f0, 0x580(r21) +/* 8029FE1C 0029CD7C C0 18 00 0C */ lfs f0, 0xc(r24) +/* 8029FE20 0029CD80 D0 15 05 84 */ stfs f0, 0x584(r21) +/* 8029FE24 0029CD84 C0 18 00 10 */ lfs f0, 0x10(r24) +/* 8029FE28 0029CD88 D0 15 05 88 */ stfs f0, 0x588(r21) +/* 8029FE2C 0029CD8C C0 18 00 14 */ lfs f0, 0x14(r24) +/* 8029FE30 0029CD90 D0 15 05 8C */ stfs f0, 0x58c(r21) +/* 8029FE34 0029CD94 88 98 00 18 */ lbz r4, 0x18(r24) +/* 8029FE38 0029CD98 98 95 05 90 */ stb r4, 0x590(r21) +/* 8029FE3C 0029CD9C C0 16 00 08 */ lfs f0, 8(r22) +/* 8029FE40 0029CDA0 D0 15 05 94 */ stfs f0, 0x594(r21) +/* 8029FE44 0029CDA4 D3 95 05 98 */ stfs f28, 0x598(r21) +/* 8029FE48 0029CDA8 93 35 05 9C */ stw r25, 0x59c(r21) +/* 8029FE4C 0029CDAC B3 55 05 A0 */ sth r26, 0x5a0(r21) +/* 8029FE50 0029CDB0 93 75 05 A4 */ stw r27, 0x5a4(r21) +/* 8029FE54 0029CDB4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8029FE58 0029CDB8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029FE5C 0029CDBC 93 81 00 50 */ stw r28, 0x50(r1) +/* 8029FE60 0029CDC0 81 84 00 00 */ lwz r12, 0(r4) +/* 8029FE64 0029CDC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029FE68 0029CDC8 7D 89 03 A6 */ mtctr r12 +/* 8029FE6C 0029CDCC 4E 80 04 21 */ bctrl +/* 8029FE70 0029CDD0 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029FE74 0029CDD4 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029FE78 0029CDD8 48 0A 10 31 */ bl __ct__6CTokenFRC6CToken +/* 8029FE7C 0029CDDC 38 00 00 01 */ li r0, 1 +/* 8029FE80 0029CDE0 34 75 05 A8 */ addic. r3, r21, 0x5a8 +/* 8029FE84 0029CDE4 98 15 05 B0 */ stb r0, 0x5b0(r21) +/* 8029FE88 0029CDE8 41 82 00 0C */ beq lbl_8029FE94 +/* 8029FE8C 0029CDEC 38 81 00 3C */ addi r4, r1, 0x3c +/* 8029FE90 0029CDF0 48 0A 10 19 */ bl __ct__6CTokenFRC6CToken +lbl_8029FE94: +/* 8029FE94 0029CDF4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029FE98 0029CDF8 38 80 00 00 */ li r4, 0 +/* 8029FE9C 0029CDFC 48 0A 0F A5 */ bl __dt__6CTokenFv +/* 8029FEA0 0029CE00 38 61 00 44 */ addi r3, r1, 0x44 +/* 8029FEA4 0029CE04 38 80 FF FF */ li r4, -1 +/* 8029FEA8 0029CE08 48 0A 0F 99 */ bl __dt__6CTokenFv +/* 8029FEAC 0029CE0C B3 B5 05 B4 */ sth r29, 0x5b4(r21) +/* 8029FEB0 0029CE10 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8029FEB4 0029CE14 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8029FEB8 0029CE18 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029FEBC 0029CE1C D3 B5 05 B8 */ stfs f29, 0x5b8(r21) +/* 8029FEC0 0029CE20 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8029FEC4 0029CE24 D3 D5 05 BC */ stfs f30, 0x5bc(r21) +/* 8029FEC8 0029CE28 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029FECC 0029CE2C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029FED0 0029CE30 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8029FED4 0029CE34 81 84 00 00 */ lwz r12, 0(r4) +/* 8029FED8 0029CE38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029FEDC 0029CE3C 7D 89 03 A6 */ mtctr r12 +/* 8029FEE0 0029CE40 4E 80 04 21 */ bctrl +/* 8029FEE4 0029CE44 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029FEE8 0029CE48 38 81 00 2C */ addi r4, r1, 0x2c +/* 8029FEEC 0029CE4C 48 0A 0F BD */ bl __ct__6CTokenFRC6CToken +/* 8029FEF0 0029CE50 38 00 00 01 */ li r0, 1 +/* 8029FEF4 0029CE54 34 75 05 C0 */ addic. r3, r21, 0x5c0 +/* 8029FEF8 0029CE58 98 15 05 C8 */ stb r0, 0x5c8(r21) +/* 8029FEFC 0029CE5C 41 82 00 0C */ beq lbl_8029FF08 +/* 8029FF00 0029CE60 38 81 00 24 */ addi r4, r1, 0x24 +/* 8029FF04 0029CE64 48 0A 0F A5 */ bl __ct__6CTokenFRC6CToken +lbl_8029FF08: +/* 8029FF08 0029CE68 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029FF0C 0029CE6C 38 80 00 00 */ li r4, 0 +/* 8029FF10 0029CE70 48 0A 0F 31 */ bl __dt__6CTokenFv +/* 8029FF14 0029CE74 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029FF18 0029CE78 38 80 FF FF */ li r4, -1 +/* 8029FF1C 0029CE7C 48 0A 0F 25 */ bl __dt__6CTokenFv +/* 8029FF20 0029CE80 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029FF24 0029CE84 7E A3 AB 78 */ mr r3, r21 +/* 8029FF28 0029CE88 38 80 00 00 */ li r4, 0 +/* 8029FF2C 0029CE8C 90 15 05 CC */ stw r0, 0x5cc(r21) +/* 8029FF30 0029CE90 88 1F 00 04 */ lbz r0, 4(r31) +/* 8029FF34 0029CE94 98 15 05 D0 */ stb r0, 0x5d0(r21) +/* 8029FF38 0029CE98 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8029FF3C 0029CE9C D0 15 05 D4 */ stfs f0, 0x5d4(r21) +/* 8029FF40 0029CEA0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8029FF44 0029CEA4 D0 15 05 D8 */ stfs f0, 0x5d8(r21) +/* 8029FF48 0029CEA8 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8029FF4C 0029CEAC D0 15 05 DC */ stfs f0, 0x5dc(r21) +/* 8029FF50 0029CEB0 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8029FF54 0029CEB4 D0 15 05 E0 */ stfs f0, 0x5e0(r21) +/* 8029FF58 0029CEB8 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 8029FF5C 0029CEBC 98 15 05 E4 */ stb r0, 0x5e4(r21) +/* 8029FF60 0029CEC0 D3 F5 05 E8 */ stfs f31, 0x5e8(r21) +/* 8029FF64 0029CEC4 4B DB 2E 09 */ bl CreateShadow__6CActorFb +/* 8029FF68 0029CEC8 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FF6C 0029CECC 38 60 00 00 */ li r3, 0 +/* 8029FF70 0029CED0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8029FF74 0029CED4 38 75 04 60 */ addi r3, r21, 0x460 +/* 8029FF78 0029CED8 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FF7C 0029CEDC 38 80 00 00 */ li r4, 0 +/* 8029FF80 0029CEE0 4B F9 3D E5 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 8029FF84 0029CEE4 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FF88 0029CEE8 38 80 00 00 */ li r4, 0 +/* 8029FF8C 0029CEEC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8029FF90 0029CEF0 7E A3 AB 78 */ mr r3, r21 +/* 8029FF94 0029CEF4 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FF98 0029CEF8 88 15 04 E2 */ lbz r0, 0x4e2(r21) +/* 8029FF9C 0029CEFC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8029FFA0 0029CF00 98 15 04 E2 */ stb r0, 0x4e2(r21) +/* 8029FFA4 0029CF04 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFA8 0029CF08 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8029FFAC 0029CF0C 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFB0 0029CF10 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFB4 0029CF14 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8029FFB8 0029CF18 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFBC 0029CF1C 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFC0 0029CF20 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8029FFC4 0029CF24 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFC8 0029CF28 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFCC 0029CF2C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8029FFD0 0029CF30 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFD4 0029CF34 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFD8 0029CF38 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8029FFDC 0029CF3C 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFE0 0029CF40 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8029FFE4 0029CF44 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8029FFE8 0029CF48 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8029FFEC 0029CF4C CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8029FFF0 0029CF50 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8029FFF4 0029CF54 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8029FFF8 0029CF58 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 8029FFFC 0029CF5C CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 802A0000 0029CF60 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802A0004 0029CF64 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802A0008 0029CF68 BA A1 00 64 */ lmw r21, 0x64(r1) +/* 802A000C 0029CF6C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802A0010 0029CF70 7C 08 03 A6 */ mtlr r0 +/* 802A0014 0029CF74 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802A0018 0029CF78 4E 80 00 20 */ blr + +.global sub_802a001c +sub_802a001c: +/* 802A001C 0029CF7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A0020 0029CF80 7C 08 02 A6 */ mflr r0 +/* 802A0024 0029CF84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0028 0029CF88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A002C 0029CF8C 7C 9F 23 78 */ mr r31, r4 +/* 802A0030 0029CF90 93 C1 00 08 */ stw r30, 8(r1) +/* 802A0034 0029CF94 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A0038 0029CF98 41 82 00 28 */ beq lbl_802A0060 +/* 802A003C 0029CF9C 3C A0 80 3F */ lis r5, lbl_803EC370@ha +/* 802A0040 0029CFA0 38 80 00 00 */ li r4, 0 +/* 802A0044 0029CFA4 38 05 C3 70 */ addi r0, r5, lbl_803EC370@l +/* 802A0048 0029CFA8 90 1E 00 00 */ stw r0, 0(r30) +/* 802A004C 0029CFAC 4B DB 12 29 */ bl __dt__7CEntityFv +/* 802A0050 0029CFB0 7F E0 07 35 */ extsh. r0, r31 +/* 802A0054 0029CFB4 40 81 00 0C */ ble lbl_802A0060 +/* 802A0058 0029CFB8 7F C3 F3 78 */ mr r3, r30 +/* 802A005C 0029CFBC 48 07 58 D5 */ bl Free__7CMemoryFPCv +lbl_802A0060: +/* 802A0060 0029CFC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A0064 0029CFC4 7F C3 F3 78 */ mr r3, r30 +/* 802A0068 0029CFC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A006C 0029CFCC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A0070 0029CFD0 7C 08 03 A6 */ mtlr r0 +/* 802A0074 0029CFD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A0078 0029CFD8 4E 80 00 20 */ blr + +.global sub_802a007c +sub_802a007c: +/* 802A007C 0029CFDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A0080 0029CFE0 7C 08 02 A6 */ mflr r0 +/* 802A0084 0029CFE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0088 0029CFE8 7C 60 1B 78 */ mr r0, r3 +/* 802A008C 0029CFEC 7C 83 23 78 */ mr r3, r4 +/* 802A0090 0029CFF0 81 84 00 00 */ lwz r12, 0(r4) +/* 802A0094 0029CFF4 7C 04 03 78 */ mr r4, r0 +/* 802A0098 0029CFF8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802A009C 0029CFFC 7D 89 03 A6 */ mtctr r12 +/* 802A00A0 0029D000 4E 80 04 21 */ bctrl +/* 802A00A4 0029D004 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A00A8 0029D008 7C 08 03 A6 */ mtlr r0 +/* 802A00AC 0029D00C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A00B0 0029D010 4E 80 00 20 */ blr + +.global sub_802a00b4 +sub_802a00b4: +/* 802A00B4 0029D014 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A00B8 0029D018 7C 08 02 A6 */ mflr r0 +/* 802A00BC 0029D01C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A00C0 0029D020 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A00C4 0029D024 7C 7F 1B 78 */ mr r31, r3 +/* 802A00C8 0029D028 88 03 00 58 */ lbz r0, 0x58(r3) +/* 802A00CC 0029D02C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802A00D0 0029D030 41 82 00 1C */ beq lbl_802A00EC +/* 802A00D4 0029D034 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 802A00D8 0029D038 4B D7 18 6D */ bl DecrementPhazon__7CPlayerFv +/* 802A00DC 0029D03C 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802A00E0 0029D040 38 60 00 00 */ li r3, 0 +/* 802A00E4 0029D044 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802A00E8 0029D048 98 1F 00 58 */ stb r0, 0x58(r31) +lbl_802A00EC: +/* 802A00EC 0029D04C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A00F0 0029D050 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A00F4 0029D054 7C 08 03 A6 */ mtlr r0 +/* 802A00F8 0029D058 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A00FC 0029D05C 4E 80 00 20 */ blr + +.global sub_802a0100 +sub_802a0100: +/* 802A0100 0029D060 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A0104 0029D064 7C 08 02 A6 */ mflr r0 +/* 802A0108 0029D068 2C 04 00 22 */ cmpwi r4, 0x22 +/* 802A010C 0029D06C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0110 0029D070 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A0114 0029D074 7C 7F 1B 78 */ mr r31, r3 +/* 802A0118 0029D078 41 82 00 30 */ beq lbl_802A0148 +/* 802A011C 0029D07C 40 80 00 34 */ bge lbl_802A0150 +/* 802A0120 0029D080 2C 04 00 21 */ cmpwi r4, 0x21 +/* 802A0124 0029D084 40 80 00 08 */ bge lbl_802A012C +/* 802A0128 0029D088 48 00 00 28 */ b lbl_802A0150 +lbl_802A012C: +/* 802A012C 0029D08C 80 66 08 4C */ lwz r3, 0x84c(r6) +/* 802A0130 0029D090 4B D7 18 2D */ bl IncrementPhazon__7CPlayerFv +/* 802A0134 0029D094 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802A0138 0029D098 38 60 00 01 */ li r3, 1 +/* 802A013C 0029D09C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802A0140 0029D0A0 98 1F 00 58 */ stb r0, 0x58(r31) +/* 802A0144 0029D0A4 48 00 00 0C */ b lbl_802A0150 +lbl_802A0148: +/* 802A0148 0029D0A8 7C C4 33 78 */ mr r4, r6 +/* 802A014C 0029D0AC 4B FF FF 69 */ bl sub_802a00b4 +lbl_802A0150: +/* 802A0150 0029D0B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A0154 0029D0B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A0158 0029D0B8 7C 08 03 A6 */ mtlr r0 +/* 802A015C 0029D0BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A0160 0029D0C0 4E 80 00 20 */ blr + +.global sub_802a0164 +sub_802a0164: +/* 802A0164 0029D0C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802A0168 0029D0C8 7C 08 02 A6 */ mflr r0 +/* 802A016C 0029D0CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A0170 0029D0D0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802A0174 0029D0D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802A0178 0029D0D8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802A017C 0029D0DC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802A0180 0029D0E0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802A0184 0029D0E4 FF E0 08 90 */ fmr f31, f1 +/* 802A0188 0029D0E8 7C 7E 1B 78 */ mr r30, r3 +/* 802A018C 0029D0EC 7C 9F 23 78 */ mr r31, r4 +/* 802A0190 0029D0F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802A0194 0029D0F4 41 82 00 C8 */ beq lbl_802A025C +/* 802A0198 0029D0F8 C0 3E 00 54 */ lfs f1, 0x54(r30) +/* 802A019C 0029D0FC C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 802A01A0 0029D100 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A01A4 0029D104 40 81 00 24 */ ble lbl_802A01C8 +/* 802A01A8 0029D108 4B FF FF 0D */ bl sub_802a00b4 +/* 802A01AC 0029D10C A0 1E 00 08 */ lhz r0, 8(r30) +/* 802A01B0 0029D110 7F E3 FB 78 */ mr r3, r31 +/* 802A01B4 0029D114 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A01B8 0029D118 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802A01BC 0029D11C B0 01 00 24 */ sth r0, 0x24(r1) +/* 802A01C0 0029D120 4B DA C0 AD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 802A01C4 0029D124 48 00 00 8C */ b lbl_802A0250 +lbl_802A01C8: +/* 802A01C8 0029D128 80 AD 9A 48 */ lwz r5, lbl_805A8608@sda21(r13) +/* 802A01CC 0029D12C 38 60 00 00 */ li r3, 0 +/* 802A01D0 0029D130 38 80 00 01 */ li r4, 1 +/* 802A01D4 0029D134 48 0E 9D 21 */ bl __shl2i +/* 802A01D8 0029D138 38 A0 00 00 */ li r5, 0 +/* 802A01DC 0029D13C 38 00 00 03 */ li r0, 3 +/* 802A01E0 0029D140 90 81 00 2C */ stw r4, 0x2c(r1) +/* 802A01E4 0029D144 FC 20 F8 90 */ fmr f1, f31 +/* 802A01E8 0029D148 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802A01EC 0029D14C 90 61 00 28 */ stw r3, 0x28(r1) +/* 802A01F0 0029D150 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A01F4 0029D154 90 A1 00 34 */ stw r5, 0x34(r1) +/* 802A01F8 0029D158 90 A1 00 30 */ stw r5, 0x30(r1) +/* 802A01FC 0029D15C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A0200 0029D160 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802A0204 0029D164 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802A0208 0029D168 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 802A020C 0029D16C B0 01 00 08 */ sth r0, 8(r1) +/* 802A0210 0029D170 A0 A5 00 08 */ lhz r5, 8(r5) +/* 802A0214 0029D174 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 802A0218 0029D178 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802A021C 0029D17C B0 A1 00 10 */ sth r5, 0x10(r1) +/* 802A0220 0029D180 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802A0224 0029D184 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 802A0228 0029D188 4B E2 32 21 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 802A022C 0029D18C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802A0230 0029D190 7F E3 FB 78 */ mr r3, r31 +/* 802A0234 0029D194 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 802A0238 0029D198 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802A023C 0029D19C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802A0240 0029D1A0 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A0244 0029D1A4 38 E1 00 40 */ addi r7, r1, 0x40 +/* 802A0248 0029D1A8 39 01 00 28 */ addi r8, r1, 0x28 +/* 802A024C 0029D1AC 4B DA 9E 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_802A0250: +/* 802A0250 0029D1B0 C0 1E 00 54 */ lfs f0, 0x54(r30) +/* 802A0254 0029D1B4 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A0258 0029D1B8 D0 1E 00 54 */ stfs f0, 0x54(r30) +lbl_802A025C: +/* 802A025C 0029D1BC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802A0260 0029D1C0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802A0264 0029D1C4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802A0268 0029D1C8 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802A026C 0029D1CC 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802A0270 0029D1D0 7C 08 03 A6 */ mtlr r0 +/* 802A0274 0029D1D4 38 21 00 80 */ addi r1, r1, 0x80 +/* 802A0278 0029D1D8 4E 80 00 20 */ blr + +.global sub_802a027c +sub_802a027c: +/* 802A027C 0029D1DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A0280 0029D1E0 7C 08 02 A6 */ mflr r0 +/* 802A0284 0029D1E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A0288 0029D1E8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802A028C 0029D1EC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802A0290 0029D1F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A0294 0029D1F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A0298 0029D1F8 A0 04 00 00 */ lhz r0, 0(r4) +/* 802A029C 0029D1FC FF E0 08 90 */ fmr f31, f1 +/* 802A02A0 0029D200 7C 7E 1B 78 */ mr r30, r3 +/* 802A02A4 0029D204 7D 1F 43 78 */ mr r31, r8 +/* 802A02A8 0029D208 B0 01 00 08 */ sth r0, 8(r1) +/* 802A02AC 0029D20C 38 81 00 08 */ addi r4, r1, 8 +/* 802A02B0 0029D210 4B DB 10 75 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802A02B4 0029D214 3C 60 80 3F */ lis r3, lbl_803EC370@ha +/* 802A02B8 0029D218 C0 02 C1 08 */ lfs f0, lbl_805ADE28@sda21(r2) +/* 802A02BC 0029D21C 38 03 C3 70 */ addi r0, r3, lbl_803EC370@l +/* 802A02C0 0029D220 38 80 00 00 */ li r4, 0 +/* 802A02C4 0029D224 90 1E 00 00 */ stw r0, 0(r30) +/* 802A02C8 0029D228 7F C3 F3 78 */ mr r3, r30 +/* 802A02CC 0029D22C 80 1F 00 00 */ lwz r0, 0(r31) +/* 802A02D0 0029D230 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802A02D4 0029D234 88 1F 00 04 */ lbz r0, 4(r31) +/* 802A02D8 0029D238 98 1E 00 38 */ stb r0, 0x38(r30) +/* 802A02DC 0029D23C C0 3F 00 08 */ lfs f1, 8(r31) +/* 802A02E0 0029D240 D0 3E 00 3C */ stfs f1, 0x3c(r30) +/* 802A02E4 0029D244 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802A02E8 0029D248 D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 802A02EC 0029D24C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A02F0 0029D250 D0 3E 00 44 */ stfs f1, 0x44(r30) +/* 802A02F4 0029D254 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802A02F8 0029D258 D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 802A02FC 0029D25C 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 802A0300 0029D260 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802A0304 0029D264 D3 FE 00 50 */ stfs f31, 0x50(r30) +/* 802A0308 0029D268 D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 802A030C 0029D26C 88 1E 00 58 */ lbz r0, 0x58(r30) +/* 802A0310 0029D270 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A0314 0029D274 98 1E 00 58 */ stb r0, 0x58(r30) +/* 802A0318 0029D278 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802A031C 0029D27C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A0320 0029D280 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802A0324 0029D284 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A0328 0029D288 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A032C 0029D28C 7C 08 03 A6 */ mtlr r0 +/* 802A0330 0029D290 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A0334 0029D294 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CFire.s b/asm/Kyoto_CWD/ScriptObjects/CFire.s new file mode 100644 index 00000000..b2e2f5a2 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CFire.s @@ -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,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,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,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 diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s b/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s new file mode 100644 index 00000000..604c0e9a --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s @@ -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,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,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,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,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,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,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo" +"__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string,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,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 diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s b/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s new file mode 100644 index 00000000..e7f28999 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s @@ -0,0 +1,2340 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CScriptMazeNodeFv +__dt__15CScriptMazeNodeFv: +/* 802887C8 00285728 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802887CC 0028572C 7C 08 02 A6 */ mflr r0 +/* 802887D0 00285730 90 01 00 24 */ stw r0, 0x24(r1) +/* 802887D4 00285734 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802887D8 00285738 7C 9F 23 78 */ mr r31, r4 +/* 802887DC 0028573C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802887E0 00285740 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802887E4 00285744 41 82 00 74 */ beq lbl_80288858 +/* 802887E8 00285748 3C 60 80 3F */ lis r3, lbl_803EB658@ha +/* 802887EC 0028574C 34 1E 01 2C */ addic. r0, r30, 0x12c +/* 802887F0 00285750 38 03 B6 58 */ addi r0, r3, lbl_803EB658@l +/* 802887F4 00285754 90 1E 00 00 */ stw r0, 0(r30) +/* 802887F8 00285758 41 82 00 44 */ beq lbl_8028883C +/* 802887FC 0028575C 80 1E 01 30 */ lwz r0, 0x130(r30) +/* 80288800 00285760 80 7E 01 38 */ lwz r3, 0x138(r30) +/* 80288804 00285764 54 00 08 3C */ slwi r0, r0, 1 +/* 80288808 00285768 7C 03 02 14 */ add r0, r3, r0 +/* 8028880C 0028576C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80288810 00285770 7C 64 1B 78 */ mr r4, r3 +/* 80288814 00285774 90 01 00 14 */ stw r0, 0x14(r1) +/* 80288818 00285778 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028881C 0028577C 90 61 00 08 */ stw r3, 8(r1) +/* 80288820 00285780 48 00 00 08 */ b lbl_80288828 +lbl_80288824: +/* 80288824 00285784 38 84 00 02 */ addi r4, r4, 2 +lbl_80288828: +/* 80288828 00285788 7C 04 00 40 */ cmplw r4, r0 +/* 8028882C 0028578C 40 82 FF F8 */ bne lbl_80288824 +/* 80288830 00285790 28 03 00 00 */ cmplwi r3, 0 +/* 80288834 00285794 41 82 00 08 */ beq lbl_8028883C +/* 80288838 00285798 48 08 D0 F9 */ bl Free__7CMemoryFPCv +lbl_8028883C: +/* 8028883C 0028579C 7F C3 F3 78 */ mr r3, r30 +/* 80288840 002857A0 38 80 00 00 */ li r4, 0 +/* 80288844 002857A4 4B DC CE AD */ bl __dt__6CActorFv +/* 80288848 002857A8 7F E0 07 35 */ extsh. r0, r31 +/* 8028884C 002857AC 40 81 00 0C */ ble lbl_80288858 +/* 80288850 002857B0 7F C3 F3 78 */ mr r3, r30 +/* 80288854 002857B4 48 08 D0 DD */ bl Free__7CMemoryFPCv +lbl_80288858: +/* 80288858 002857B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028885C 002857BC 7F C3 F3 78 */ mr r3, r30 +/* 80288860 002857C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288864 002857C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80288868 002857C8 7C 08 03 A6 */ mtlr r0 +/* 8028886C 002857CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80288870 002857D0 4E 80 00 20 */ blr + +.global LoadMazeSeeds__15CScriptMazeNodeFv +LoadMazeSeeds__15CScriptMazeNodeFv: +/* 80288874 002857D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288878 002857D8 7C 08 02 A6 */ mflr r0 +/* 8028887C 002857DC 3C 80 80 3D */ lis r4, lbl_803D5980@ha +/* 80288880 002857E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288884 002857E4 38 84 59 80 */ addi r4, r4, lbl_803D5980@l +/* 80288888 002857E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028888C 002857EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80288890 002857F0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80288894 002857F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80288898 002857F8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028889C 002857FC 7D 89 03 A6 */ mtctr r12 +/* 802888A0 00285800 4E 80 04 21 */ bctrl +/* 802888A4 00285804 80 CD A0 60 */ lwz r6, gpResourceFactory@sda21(r13) +/* 802888A8 00285808 7C 64 1B 78 */ mr r4, r3 +/* 802888AC 0028580C 38 A0 00 00 */ li r5, 0 +/* 802888B0 00285810 38 66 00 04 */ addi r3, r6, 4 +/* 802888B4 00285814 48 0B 30 B5 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 802888B8 00285818 7C 03 00 D0 */ neg r0, r3 +/* 802888BC 0028581C 3C 80 80 57 */ lis r4, lbl_805726FC@ha +/* 802888C0 00285820 7C 00 1B 78 */ or r0, r0, r3 +/* 802888C4 00285824 90 61 00 0C */ stw r3, 0xc(r1) +/* 802888C8 00285828 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802888CC 0028582C 3B E4 26 FC */ addi r31, r4, lbl_805726FC@l +/* 802888D0 00285830 98 01 00 08 */ stb r0, 8(r1) +/* 802888D4 00285834 3B C0 00 00 */ li r30, 0 +lbl_802888D8: +/* 802888D8 00285838 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802888DC 0028583C 48 0B 63 A9 */ bl ReadLong__12CInputStreamFv +/* 802888E0 00285840 3B DE 00 01 */ addi r30, r30, 1 +/* 802888E4 00285844 90 7F 00 00 */ stw r3, 0(r31) +/* 802888E8 00285848 2C 1E 01 2C */ cmpwi r30, 0x12c +/* 802888EC 0028584C 3B FF 00 04 */ addi r31, r31, 4 +/* 802888F0 00285850 41 80 FF E8 */ blt lbl_802888D8 +/* 802888F4 00285854 88 01 00 08 */ lbz r0, 8(r1) +/* 802888F8 00285858 28 00 00 00 */ cmplwi r0, 0 +/* 802888FC 0028585C 41 82 00 24 */ beq lbl_80288920 +/* 80288900 00285860 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80288904 00285864 28 03 00 00 */ cmplwi r3, 0 +/* 80288908 00285868 41 82 00 18 */ beq lbl_80288920 +/* 8028890C 0028586C 81 83 00 00 */ lwz r12, 0(r3) +/* 80288910 00285870 38 80 00 01 */ li r4, 1 +/* 80288914 00285874 81 8C 00 08 */ lwz r12, 8(r12) +/* 80288918 00285878 7D 89 03 A6 */ mtctr r12 +/* 8028891C 0028587C 4E 80 04 21 */ bctrl +lbl_80288920: +/* 80288920 00285880 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80288924 00285884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288928 00285888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028892C 0028588C 7C 08 03 A6 */ mtlr r0 +/* 80288930 00285890 38 21 00 20 */ addi r1, r1, 0x20 +/* 80288934 00285894 4E 80 00 20 */ blr + +.global Think__15CScriptMazeNodeFfR13CStateManager +Think__15CScriptMazeNodeFfR13CStateManager: +/* 80288938 00285898 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028893C 0028589C 7C 08 02 A6 */ mflr r0 +/* 80288940 002858A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80288944 002858A4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80288948 002858A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8028894C 002858AC 41 82 00 70 */ beq lbl_802889BC +/* 80288950 002858B0 88 03 01 3C */ lbz r0, 0x13c(r3) +/* 80288954 002858B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80288958 002858B8 41 82 00 64 */ beq lbl_802889BC +/* 8028895C 002858BC C0 43 00 F8 */ lfs f2, 0xf8(r3) +/* 80288960 002858C0 C0 02 BE 60 */ lfs f0, lbl_805ADB80@sda21(r2) +/* 80288964 002858C4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80288968 002858C8 D0 23 00 F8 */ stfs f1, 0xf8(r3) +/* 8028896C 002858CC C0 23 00 F8 */ lfs f1, 0xf8(r3) +/* 80288970 002858D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288974 002858D4 4C 40 13 82 */ cror 2, 0, 2 +/* 80288978 002858D8 40 82 00 44 */ bne lbl_802889BC +/* 8028897C 002858DC C0 02 BE 64 */ lfs f0, lbl_805ADB84@sda21(r2) +/* 80288980 002858E0 D0 03 00 F8 */ stfs f0, 0xf8(r3) +/* 80288984 002858E4 88 C3 01 3C */ lbz r6, 0x13c(r3) +/* 80288988 002858E8 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f +/* 8028898C 002858EC 41 82 00 1C */ beq lbl_802889A8 +/* 80288990 002858F0 38 00 00 00 */ li r0, 0 +/* 80288994 002858F4 38 A0 00 04 */ li r5, 4 +/* 80288998 002858F8 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a +/* 8028899C 002858FC 98 C3 01 3C */ stb r6, 0x13c(r3) +/* 802889A0 00285900 48 00 08 81 */ bl sub_80289220 +/* 802889A4 00285904 48 00 00 18 */ b lbl_802889BC +lbl_802889A8: +/* 802889A8 00285908 38 00 00 01 */ li r0, 1 +/* 802889AC 0028590C 38 A0 00 01 */ li r5, 1 +/* 802889B0 00285910 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a +/* 802889B4 00285914 98 C3 01 3C */ stb r6, 0x13c(r3) +/* 802889B8 00285918 48 00 08 69 */ bl sub_80289220 +lbl_802889BC: +/* 802889BC 0028591C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802889C0 00285920 7C 08 03 A6 */ mtlr r0 +/* 802889C4 00285924 38 21 00 10 */ addi r1, r1, 0x10 +/* 802889C8 00285928 4E 80 00 20 */ blr + +.global AcceptScriptMsg__15CScriptMazeNodeF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__15CScriptMazeNodeF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802889CC 0028592C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802889D0 00285930 7C 08 02 A6 */ mflr r0 +/* 802889D4 00285934 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802889D8 00285938 BF 01 00 D0 */ stmw r24, 0xd0(r1) +/* 802889DC 0028593C 7C 7F 1B 78 */ mr r31, r3 +/* 802889E0 00285940 7C 98 23 78 */ mr r24, r4 +/* 802889E4 00285944 7C B9 2B 78 */ mr r25, r5 +/* 802889E8 00285948 7C DE 33 78 */ mr r30, r6 +/* 802889EC 0028594C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802889F0 00285950 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802889F4 00285954 41 82 07 FC */ beq lbl_802891F0 +/* 802889F8 00285958 2C 18 00 13 */ cmpwi r24, 0x13 +/* 802889FC 0028595C 41 82 01 04 */ beq lbl_80288B00 +/* 80288A00 00285960 40 80 00 1C */ bge lbl_80288A1C +/* 80288A04 00285964 2C 18 00 0D */ cmpwi r24, 0xd +/* 80288A08 00285968 41 82 04 A4 */ beq lbl_80288EAC +/* 80288A0C 0028596C 40 80 07 E4 */ bge lbl_802891F0 +/* 80288A10 00285970 2C 18 00 04 */ cmpwi r24, 4 +/* 80288A14 00285974 41 82 07 D4 */ beq lbl_802891E8 +/* 80288A18 00285978 48 00 07 D8 */ b lbl_802891F0 +lbl_80288A1C: +/* 80288A1C 0028597C 2C 18 00 23 */ cmpwi r24, 0x23 +/* 80288A20 00285980 41 82 00 14 */ beq lbl_80288A34 +/* 80288A24 00285984 40 80 07 CC */ bge lbl_802891F0 +/* 80288A28 00285988 2C 18 00 22 */ cmpwi r24, 0x22 +/* 80288A2C 0028598C 40 80 07 80 */ bge lbl_802891AC +/* 80288A30 00285990 48 00 07 C0 */ b lbl_802891F0 +lbl_80288A34: +/* 80288A34 00285994 7F C3 F3 78 */ mr r3, r30 +/* 80288A38 00285998 4B DB B6 51 */ bl sub_80044088 +/* 80288A3C 0028599C 28 03 00 00 */ cmplwi r3, 0 +/* 80288A40 002859A0 40 82 07 B0 */ bne lbl_802891F0 +/* 80288A44 002859A4 3C 80 80 3D */ lis r4, lbl_803D5980@ha +/* 80288A48 002859A8 38 60 00 98 */ li r3, 0x98 +/* 80288A4C 002859AC 38 84 59 80 */ addi r4, r4, lbl_803D5980@l +/* 80288A50 002859B0 38 A0 00 00 */ li r5, 0 +/* 80288A54 002859B4 38 84 00 0F */ addi r4, r4, 0xf +/* 80288A58 002859B8 48 08 CE 15 */ bl __nw__FUlPCcPCc +/* 80288A5C 002859BC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80288A60 002859C0 41 82 00 1C */ beq lbl_80288A7C +/* 80288A64 002859C4 38 80 00 04 */ li r4, 4 +/* 80288A68 002859C8 38 A0 00 04 */ li r5, 4 +/* 80288A6C 002859CC 38 C0 00 05 */ li r6, 5 +/* 80288A70 002859D0 38 E0 00 03 */ li r7, 3 +/* 80288A74 002859D4 48 00 1E 25 */ bl sub_8028a898 +/* 80288A78 002859D8 7C 7A 1B 78 */ mr r26, r3 +lbl_80288A7C: +/* 80288A7C 002859DC 93 41 00 5C */ stw r26, 0x5c(r1) +/* 80288A80 002859E0 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80288A84 002859E4 48 08 9A 9D */ bl Next__9CRandom16Fv +/* 80288A88 002859E8 3C A0 1B 4F */ lis r5, 0x1B4E81B5@ha +/* 80288A8C 002859EC 3C 80 80 57 */ lis r4, lbl_805726FC@ha +/* 80288A90 002859F0 38 05 81 B5 */ addi r0, r5, 0x1B4E81B5@l +/* 80288A94 002859F4 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80288A98 002859F8 38 84 26 FC */ addi r4, r4, lbl_805726FC@l +/* 80288A9C 002859FC 7C 00 2E 70 */ srawi r0, r0, 5 +/* 80288AA0 00285A00 54 05 0F FE */ srwi r5, r0, 0x1f +/* 80288AA4 00285A04 7C 00 2A 14 */ add r0, r0, r5 +/* 80288AA8 00285A08 1C 00 01 2C */ mulli r0, r0, 0x12c +/* 80288AAC 00285A0C 7C 00 18 50 */ subf r0, r0, r3 +/* 80288AB0 00285A10 7F 43 D3 78 */ mr r3, r26 +/* 80288AB4 00285A14 54 00 10 3A */ slwi r0, r0, 2 +/* 80288AB8 00285A18 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80288ABC 00285A1C 48 00 14 75 */ bl sub_80289f30 +/* 80288AC0 00285A20 7F 43 D3 78 */ mr r3, r26 +/* 80288AC4 00285A24 48 00 0D 39 */ bl sub_802897fc +/* 80288AC8 00285A28 7F 43 D3 78 */ mr r3, r26 +/* 80288ACC 00285A2C 48 00 0E FD */ bl sub_802899c8 +/* 80288AD0 00285A30 7F 45 D3 78 */ mr r5, r26 +/* 80288AD4 00285A34 38 00 00 00 */ li r0, 0 +/* 80288AD8 00285A38 90 A1 00 58 */ stw r5, 0x58(r1) +/* 80288ADC 00285A3C 7F C3 F3 78 */ mr r3, r30 +/* 80288AE0 00285A40 38 81 00 58 */ addi r4, r1, 0x58 +/* 80288AE4 00285A44 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80288AE8 00285A48 4B DB B5 49 */ bl sub_80044030 +/* 80288AEC 00285A4C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 80288AF0 00285A50 48 08 CE 41 */ bl Free__7CMemoryFPCv +/* 80288AF4 00285A54 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80288AF8 00285A58 48 08 CE 39 */ bl Free__7CMemoryFPCv +/* 80288AFC 00285A5C 48 00 06 F4 */ b lbl_802891F0 +lbl_80288B00: +/* 80288B00 00285A60 7F C3 F3 78 */ mr r3, r30 +/* 80288B04 00285A64 3B 60 00 00 */ li r27, 0 +/* 80288B08 00285A68 4B DB B5 81 */ bl sub_80044088 +/* 80288B0C 00285A6C 28 03 00 00 */ cmplwi r3, 0 +/* 80288B10 00285A70 41 82 06 E0 */ beq lbl_802891F0 +/* 80288B14 00285A74 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 80288B18 00285A78 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 80288B1C 00285A7C 48 00 13 F9 */ bl sub_80289f14 +/* 80288B20 00285A80 80 9F 00 F0 */ lwz r4, 0xf0(r31) +/* 80288B24 00285A84 7C 7A 1B 78 */ mr r26, r3 +/* 80288B28 00285A88 2C 04 00 00 */ cmpwi r4, 0 +/* 80288B2C 00285A8C 40 82 00 30 */ bne lbl_80288B5C +/* 80288B30 00285A90 88 7A 00 00 */ lbz r3, 0(r26) +/* 80288B34 00285A94 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80288B38 00285A98 41 82 00 24 */ beq lbl_80288B5C +/* 80288B3C 00285A9C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80288B40 00285AA0 41 82 00 54 */ beq lbl_80288B94 +/* 80288B44 00285AA4 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288B48 00285AA8 38 60 00 01 */ li r3, 1 +/* 80288B4C 00285AAC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80288B50 00285AB0 3B 60 00 01 */ li r27, 1 +/* 80288B54 00285AB4 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 80288B58 00285AB8 48 00 00 3C */ b lbl_80288B94 +lbl_80288B5C: +/* 80288B5C 00285ABC 2C 04 00 01 */ cmpwi r4, 1 +/* 80288B60 00285AC0 40 82 00 30 */ bne lbl_80288B90 +/* 80288B64 00285AC4 88 7A 00 00 */ lbz r3, 0(r26) +/* 80288B68 00285AC8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80288B6C 00285ACC 41 82 00 24 */ beq lbl_80288B90 +/* 80288B70 00285AD0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80288B74 00285AD4 41 82 00 20 */ beq lbl_80288B94 +/* 80288B78 00285AD8 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288B7C 00285ADC 38 60 00 01 */ li r3, 1 +/* 80288B80 00285AE0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80288B84 00285AE4 3B 60 00 01 */ li r27, 1 +/* 80288B88 00285AE8 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 80288B8C 00285AEC 48 00 00 08 */ b lbl_80288B94 +lbl_80288B90: +/* 80288B90 00285AF0 3B 60 00 01 */ li r27, 1 +lbl_80288B94: +/* 80288B94 00285AF4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80288B98 00285AF8 41 82 00 10 */ beq lbl_80288BA8 +/* 80288B9C 00285AFC 7F E3 FB 78 */ mr r3, r31 +/* 80288BA0 00285B00 7F C4 F3 78 */ mr r4, r30 +/* 80288BA4 00285B04 48 00 08 41 */ bl sub_802893e4 +lbl_80288BA8: +/* 80288BA8 00285B08 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80288BAC 00285B0C 2C 00 00 01 */ cmpwi r0, 1 +/* 80288BB0 00285B10 40 82 00 20 */ bne lbl_80288BD0 +/* 80288BB4 00285B14 88 1A 00 01 */ lbz r0, 1(r26) +/* 80288BB8 00285B18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288BBC 00285B1C 41 82 00 14 */ beq lbl_80288BD0 +/* 80288BC0 00285B20 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288BC4 00285B24 38 60 00 01 */ li r3, 1 +/* 80288BC8 00285B28 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80288BCC 00285B2C 98 1F 01 3C */ stb r0, 0x13c(r31) +lbl_80288BD0: +/* 80288BD0 00285B30 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288BD4 00285B34 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80288BD8 00285B38 41 82 01 14 */ beq lbl_80288CEC +/* 80288BDC 00285B3C 38 61 00 94 */ addi r3, r1, 0x94 +/* 80288BE0 00285B40 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80288BE4 00285B44 48 08 9F 91 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80288BE8 00285B48 80 DF 00 2C */ lwz r6, 0x2c(r31) +/* 80288BEC 00285B4C 48 00 00 E8 */ b lbl_80288CD4 +lbl_80288BF0: +/* 80288BF0 00285B50 80 06 00 00 */ lwz r0, 0(r6) +/* 80288BF4 00285B54 2C 00 00 19 */ cmpwi r0, 0x19 +/* 80288BF8 00285B58 40 82 00 D8 */ bne lbl_80288CD0 +/* 80288BFC 00285B5C 80 06 00 04 */ lwz r0, 4(r6) +/* 80288C00 00285B60 2C 00 00 01 */ cmpwi r0, 1 +/* 80288C04 00285B64 40 82 00 CC */ bne lbl_80288CD0 +/* 80288C08 00285B68 88 BE 0F 94 */ lbz r5, 0xf94(r30) +/* 80288C0C 00285B6C 38 60 00 01 */ li r3, 1 +/* 80288C10 00285B70 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288C14 00285B74 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80288C18 00285B78 7F C4 F3 78 */ mr r4, r30 +/* 80288C1C 00285B7C 54 BA DF FE */ rlwinm r26, r5, 0x1b, 0x1f, 0x1f +/* 80288C20 00285B80 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288C24 00285B84 38 61 00 80 */ addi r3, r1, 0x80 +/* 80288C28 00285B88 38 A6 00 08 */ addi r5, r6, 8 +/* 80288C2C 00285B8C 4B DB F6 BD */ bl GenerateObject__13CStateManagerF9TEditorId +/* 80288C30 00285B90 A0 A1 00 84 */ lhz r5, 0x84(r1) +/* 80288C34 00285B94 7F C3 F3 78 */ mr r3, r30 +/* 80288C38 00285B98 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288C3C 00285B9C 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a +/* 80288C40 00285BA0 B0 A1 00 3C */ sth r5, 0x3c(r1) +/* 80288C44 00285BA4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80288C48 00285BA8 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288C4C 00285BAC B0 BF 00 F4 */ sth r5, 0xf4(r31) +/* 80288C50 00285BB0 B0 A1 00 34 */ sth r5, 0x34(r1) +/* 80288C54 00285BB4 4B DC 39 21 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80288C58 00285BB8 7C 64 1B 78 */ mr r4, r3 +/* 80288C5C 00285BBC 38 61 00 78 */ addi r3, r1, 0x78 +/* 80288C60 00285BC0 4B E2 70 31 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80288C64 00285BC4 83 43 00 04 */ lwz r26, 4(r3) +/* 80288C68 00285BC8 28 1A 00 00 */ cmplwi r26, 0 +/* 80288C6C 00285BCC 41 82 00 80 */ beq lbl_80288CEC +/* 80288C70 00285BD0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80288C74 00285BD4 7F 43 D3 78 */ mr r3, r26 +/* 80288C78 00285BD8 C0 1F 01 24 */ lfs f0, 0x124(r31) +/* 80288C7C 00285BDC 38 81 00 88 */ addi r4, r1, 0x88 +/* 80288C80 00285BE0 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80288C84 00285BE4 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 80288C88 00285BE8 EC 81 00 2A */ fadds f4, f1, f0 +/* 80288C8C 00285BEC C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80288C90 00285BF0 C0 1F 01 20 */ lfs f0, 0x120(r31) +/* 80288C94 00285BF4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80288C98 00285BF8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80288C9C 00285BFC D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 80288CA0 00285C00 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 80288CA4 00285C04 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80288CA8 00285C08 4B DC A1 E5 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80288CAC 00285C0C A0 1F 00 08 */ lhz r0, 8(r31) +/* 80288CB0 00285C10 7F C3 F3 78 */ mr r3, r30 +/* 80288CB4 00285C14 7F 44 D3 78 */ mr r4, r26 +/* 80288CB8 00285C18 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80288CBC 00285C1C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80288CC0 00285C20 38 C0 00 01 */ li r6, 1 +/* 80288CC4 00285C24 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80288CC8 00285C28 4B DB B2 09 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80288CCC 00285C2C 48 00 00 20 */ b lbl_80288CEC +lbl_80288CD0: +/* 80288CD0 00285C30 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80288CD4: +/* 80288CD4 00285C34 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80288CD8 00285C38 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80288CDC 00285C3C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80288CE0 00285C40 7C 03 02 14 */ add r0, r3, r0 +/* 80288CE4 00285C44 7C 06 00 40 */ cmplw r6, r0 +/* 80288CE8 00285C48 40 82 FF 08 */ bne lbl_80288BF0 +lbl_80288CEC: +/* 80288CEC 00285C4C 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288CF0 00285C50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288CF4 00285C54 41 82 04 FC */ beq lbl_802891F0 +/* 80288CF8 00285C58 80 BF 00 2C */ lwz r5, 0x2c(r31) +/* 80288CFC 00285C5C 38 80 00 00 */ li r4, 0 +/* 80288D00 00285C60 48 00 00 2C */ b lbl_80288D2C +lbl_80288D04: +/* 80288D04 00285C64 80 05 00 00 */ lwz r0, 0(r5) +/* 80288D08 00285C68 2C 00 00 02 */ cmpwi r0, 2 +/* 80288D0C 00285C6C 41 82 00 0C */ beq lbl_80288D18 +/* 80288D10 00285C70 2C 00 00 11 */ cmpwi r0, 0x11 +/* 80288D14 00285C74 40 82 00 14 */ bne lbl_80288D28 +lbl_80288D18: +/* 80288D18 00285C78 80 05 00 04 */ lwz r0, 4(r5) +/* 80288D1C 00285C7C 2C 00 00 01 */ cmpwi r0, 1 +/* 80288D20 00285C80 40 82 00 08 */ bne lbl_80288D28 +/* 80288D24 00285C84 38 84 00 01 */ addi r4, r4, 1 +lbl_80288D28: +/* 80288D28 00285C88 38 A5 00 0C */ addi r5, r5, 0xc +lbl_80288D2C: +/* 80288D2C 00285C8C 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80288D30 00285C90 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80288D34 00285C94 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80288D38 00285C98 7C 03 02 14 */ add r0, r3, r0 +/* 80288D3C 00285C9C 7C 05 00 40 */ cmplw r5, r0 +/* 80288D40 00285CA0 40 82 FF C4 */ bne lbl_80288D04 +/* 80288D44 00285CA4 38 7F 01 2C */ addi r3, r31, 0x12c +/* 80288D48 00285CA8 4B D8 36 C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80288D4C 00285CAC 83 5F 00 2C */ lwz r26, 0x2c(r31) +/* 80288D50 00285CB0 48 00 01 40 */ b lbl_80288E90 +lbl_80288D54: +/* 80288D54 00285CB4 80 1A 00 00 */ lwz r0, 0(r26) +/* 80288D58 00285CB8 2C 00 00 02 */ cmpwi r0, 2 +/* 80288D5C 00285CBC 41 82 00 0C */ beq lbl_80288D68 +/* 80288D60 00285CC0 2C 00 00 11 */ cmpwi r0, 0x11 +/* 80288D64 00285CC4 40 82 01 28 */ bne lbl_80288E8C +lbl_80288D68: +/* 80288D68 00285CC8 80 1A 00 04 */ lwz r0, 4(r26) +/* 80288D6C 00285CCC 2C 00 00 01 */ cmpwi r0, 1 +/* 80288D70 00285CD0 40 82 01 1C */ bne lbl_80288E8C +/* 80288D74 00285CD4 88 BE 0F 94 */ lbz r5, 0xf94(r30) +/* 80288D78 00285CD8 38 60 00 01 */ li r3, 1 +/* 80288D7C 00285CDC 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288D80 00285CE0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80288D84 00285CE4 7F C4 F3 78 */ mr r4, r30 +/* 80288D88 00285CE8 54 BB DF FE */ rlwinm r27, r5, 0x1b, 0x1f, 0x1f +/* 80288D8C 00285CEC 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288D90 00285CF0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80288D94 00285CF4 38 BA 00 08 */ addi r5, r26, 8 +/* 80288D98 00285CF8 4B DB F5 51 */ bl GenerateObject__13CStateManagerF9TEditorId +/* 80288D9C 00285CFC A0 61 00 74 */ lhz r3, 0x74(r1) +/* 80288DA0 00285D00 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288DA4 00285D04 53 60 2E B4 */ rlwimi r0, r27, 5, 0x1a, 0x1a +/* 80288DA8 00285D08 B0 61 00 38 */ sth r3, 0x38(r1) +/* 80288DAC 00285D0C 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288DB0 00285D10 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288DB4 00285D14 80 BF 01 34 */ lwz r5, 0x134(r31) +/* 80288DB8 00285D18 7C 00 28 00 */ cmpw r0, r5 +/* 80288DBC 00285D1C 41 80 00 1C */ blt lbl_80288DD8 +/* 80288DC0 00285D20 2C 05 00 00 */ cmpwi r5, 0 +/* 80288DC4 00285D24 38 7F 01 2C */ addi r3, r31, 0x12c +/* 80288DC8 00285D28 38 80 00 04 */ li r4, 4 +/* 80288DCC 00285D2C 41 82 00 08 */ beq lbl_80288DD4 +/* 80288DD0 00285D30 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80288DD4: +/* 80288DD4 00285D34 4B D8 36 35 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80288DD8: +/* 80288DD8 00285D38 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288DDC 00285D3C 80 7F 01 38 */ lwz r3, 0x138(r31) +/* 80288DE0 00285D40 54 00 08 3C */ slwi r0, r0, 1 +/* 80288DE4 00285D44 7C 63 02 15 */ add. r3, r3, r0 +/* 80288DE8 00285D48 41 82 00 0C */ beq lbl_80288DF4 +/* 80288DEC 00285D4C A0 01 00 38 */ lhz r0, 0x38(r1) +/* 80288DF0 00285D50 B0 03 00 00 */ sth r0, 0(r3) +lbl_80288DF4: +/* 80288DF4 00285D54 80 BF 01 30 */ lwz r5, 0x130(r31) +/* 80288DF8 00285D58 7F C3 F3 78 */ mr r3, r30 +/* 80288DFC 00285D5C A0 01 00 38 */ lhz r0, 0x38(r1) +/* 80288E00 00285D60 38 81 00 28 */ addi r4, r1, 0x28 +/* 80288E04 00285D64 38 A5 00 01 */ addi r5, r5, 1 +/* 80288E08 00285D68 90 BF 01 30 */ stw r5, 0x130(r31) +/* 80288E0C 00285D6C B0 01 00 28 */ sth r0, 0x28(r1) +/* 80288E10 00285D70 4B DC 37 65 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80288E14 00285D74 7C 64 1B 78 */ mr r4, r3 +/* 80288E18 00285D78 38 61 00 68 */ addi r3, r1, 0x68 +/* 80288E1C 00285D7C 4B E2 6E 75 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80288E20 00285D80 83 63 00 04 */ lwz r27, 4(r3) +/* 80288E24 00285D84 28 1B 00 00 */ cmplwi r27, 0 +/* 80288E28 00285D88 41 82 00 64 */ beq lbl_80288E8C +/* 80288E2C 00285D8C 38 7B 00 34 */ addi r3, r27, 0x34 +/* 80288E30 00285D90 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80288E34 00285D94 48 08 9D 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80288E38 00285D98 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 80288E3C 00285D9C 38 60 00 01 */ li r3, 1 +/* 80288E40 00285DA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80288E44 00285DA4 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 80288E48 00285DA8 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 80288E4C 00285DAC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80288E50 00285DB0 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 80288E54 00285DB4 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 80288E58 00285DB8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80288E5C 00285DBC 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 80288E60 00285DC0 80 1A 00 00 */ lwz r0, 0(r26) +/* 80288E64 00285DC4 2C 00 00 02 */ cmpwi r0, 2 +/* 80288E68 00285DC8 40 82 00 24 */ bne lbl_80288E8C +/* 80288E6C 00285DCC A0 1F 00 08 */ lhz r0, 8(r31) +/* 80288E70 00285DD0 7F C3 F3 78 */ mr r3, r30 +/* 80288E74 00285DD4 7F 64 DB 78 */ mr r4, r27 +/* 80288E78 00285DD8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80288E7C 00285DDC B0 01 00 20 */ sth r0, 0x20(r1) +/* 80288E80 00285DE0 38 C0 00 01 */ li r6, 1 +/* 80288E84 00285DE4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80288E88 00285DE8 4B DB B0 49 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80288E8C: +/* 80288E8C 00285DEC 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_80288E90: +/* 80288E90 00285DF0 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80288E94 00285DF4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80288E98 00285DF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80288E9C 00285DFC 7C 03 02 14 */ add r0, r3, r0 +/* 80288EA0 00285E00 7C 1A 00 40 */ cmplw r26, r0 +/* 80288EA4 00285E04 40 82 FE B0 */ bne lbl_80288D54 +/* 80288EA8 00285E08 48 00 03 48 */ b lbl_802891F0 +lbl_80288EAC: +/* 80288EAC 00285E0C 7F C3 F3 78 */ mr r3, r30 +/* 80288EB0 00285E10 4B DB B1 D9 */ bl sub_80044088 +/* 80288EB4 00285E14 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288EB8 00285E18 7C 7C 1B 78 */ mr r28, r3 +/* 80288EBC 00285E1C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288EC0 00285E20 41 82 03 30 */ beq lbl_802891F0 +/* 80288EC4 00285E24 28 1C 00 00 */ cmplwi r28, 0 +/* 80288EC8 00285E28 41 82 03 28 */ beq lbl_802891F0 +/* 80288ECC 00285E2C 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288ED0 00285E30 83 5F 01 38 */ lwz r26, 0x138(r31) +/* 80288ED4 00285E34 54 00 08 3C */ slwi r0, r0, 1 +/* 80288ED8 00285E38 7C 9A 02 14 */ add r4, r26, r0 +/* 80288EDC 00285E3C 93 41 00 50 */ stw r26, 0x50(r1) +/* 80288EE0 00285E40 90 81 00 44 */ stw r4, 0x44(r1) +/* 80288EE4 00285E44 93 41 00 54 */ stw r26, 0x54(r1) +/* 80288EE8 00285E48 90 81 00 48 */ stw r4, 0x48(r1) +/* 80288EEC 00285E4C 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80288EF0 00285E50 48 00 00 10 */ b lbl_80288F00 +lbl_80288EF4: +/* 80288EF4 00285E54 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80288EF8 00285E58 38 03 00 02 */ addi r0, r3, 2 +/* 80288EFC 00285E5C 90 01 00 54 */ stw r0, 0x54(r1) +lbl_80288F00: +/* 80288F00 00285E60 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80288F04 00285E64 7C 03 20 40 */ cmplw r3, r4 +/* 80288F08 00285E68 41 82 00 14 */ beq lbl_80288F1C +/* 80288F0C 00285E6C A0 63 00 00 */ lhz r3, 0(r3) +/* 80288F10 00285E70 A0 19 00 00 */ lhz r0, 0(r25) +/* 80288F14 00285E74 7C 03 00 40 */ cmplw r3, r0 +/* 80288F18 00285E78 40 82 FF DC */ bne lbl_80288EF4 +lbl_80288F1C: +/* 80288F1C 00285E7C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80288F20 00285E80 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80288F24 00285E84 7C 03 00 40 */ cmplw r3, r0 +/* 80288F28 00285E88 41 82 02 C8 */ beq lbl_802891F0 +/* 80288F2C 00285E8C 48 00 00 68 */ b lbl_80288F94 +lbl_80288F30: +/* 80288F30 00285E90 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80288F34 00285E94 7F C3 F3 78 */ mr r3, r30 +/* 80288F38 00285E98 38 81 00 1C */ addi r4, r1, 0x1c +/* 80288F3C 00285E9C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80288F40 00285EA0 4B DC 36 35 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80288F44 00285EA4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80288F48 00285EA8 41 82 00 48 */ beq lbl_80288F90 +/* 80288F4C 00285EAC 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80288F50 00285EB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288F54 00285EB4 40 82 00 24 */ bne lbl_80288F78 +/* 80288F58 00285EB8 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80288F5C 00285EBC 7F C3 F3 78 */ mr r3, r30 +/* 80288F60 00285EC0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80288F64 00285EC4 38 C0 00 01 */ li r6, 1 +/* 80288F68 00285EC8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80288F6C 00285ECC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80288F70 00285ED0 4B DB AF 61 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80288F74 00285ED4 48 00 00 1C */ b lbl_80288F90 +lbl_80288F78: +/* 80288F78 00285ED8 A0 04 00 08 */ lhz r0, 8(r4) +/* 80288F7C 00285EDC 7F C3 F3 78 */ mr r3, r30 +/* 80288F80 00285EE0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80288F84 00285EE4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80288F88 00285EE8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80288F8C 00285EEC 4B DC 32 E1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_80288F90: +/* 80288F90 00285EF0 3B 5A 00 02 */ addi r26, r26, 2 +lbl_80288F94: +/* 80288F94 00285EF4 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288F98 00285EF8 80 7F 01 38 */ lwz r3, 0x138(r31) +/* 80288F9C 00285EFC 54 00 08 3C */ slwi r0, r0, 1 +/* 80288FA0 00285F00 7C 03 02 14 */ add r0, r3, r0 +/* 80288FA4 00285F04 7C 1A 00 40 */ cmplw r26, r0 +/* 80288FA8 00285F08 40 82 FF 88 */ bne lbl_80288F30 +/* 80288FAC 00285F0C 83 5E 08 10 */ lwz r26, 0x810(r30) +/* 80288FB0 00285F10 AB BA 20 08 */ lha r29, 0x2008(r26) +/* 80288FB4 00285F14 48 00 01 EC */ b lbl_802891A0 +lbl_80288FB8: +/* 80288FB8 00285F18 7F 43 D3 78 */ mr r3, r26 +/* 80288FBC 00285F1C 7F A4 EB 78 */ mr r4, r29 +/* 80288FC0 00285F20 4B D8 6D 55 */ bl __vc__11CObjectListFi +/* 80288FC4 00285F24 7C 64 1B 78 */ mr r4, r3 +/* 80288FC8 00285F28 38 61 00 60 */ addi r3, r1, 0x60 +/* 80288FCC 00285F2C 4B E2 04 D5 */ bl "__ct__29TCastToPtr<15CScriptMazeNode>FP7CEntity" +/* 80288FD0 00285F30 83 63 00 04 */ lwz r27, 4(r3) +/* 80288FD4 00285F34 28 1B 00 00 */ cmplwi r27, 0 +/* 80288FD8 00285F38 41 82 01 AC */ beq lbl_80289184 +/* 80288FDC 00285F3C 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 80288FE0 00285F40 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 80288FE4 00285F44 38 83 FF FF */ addi r4, r3, -1 +/* 80288FE8 00285F48 7C 00 20 00 */ cmpw r0, r4 +/* 80288FEC 00285F4C 40 82 00 5C */ bne lbl_80289048 +/* 80288FF0 00285F50 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 80288FF4 00285F54 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 80288FF8 00285F58 7C 00 28 00 */ cmpw r0, r5 +/* 80288FFC 00285F5C 40 82 00 4C */ bne lbl_80289048 +/* 80289000 00285F60 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 80289004 00285F64 2C 00 00 01 */ cmpwi r0, 1 +/* 80289008 00285F68 40 82 00 40 */ bne lbl_80289048 +/* 8028900C 00285F6C 7F 83 E3 78 */ mr r3, r28 +/* 80289010 00285F70 48 00 0E E9 */ bl sub_80289ef8 +/* 80289014 00285F74 88 A3 00 00 */ lbz r5, 0(r3) +/* 80289018 00285F78 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 8028901C 00285F7C 40 82 00 2C */ bne lbl_80289048 +/* 80289020 00285F80 38 00 00 01 */ li r0, 1 +/* 80289024 00285F84 7F C4 F3 78 */ mr r4, r30 +/* 80289028 00285F88 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 +/* 8028902C 00285F8C 98 A3 00 00 */ stb r5, 0(r3) +/* 80289030 00285F90 7F 63 DB 78 */ mr r3, r27 +/* 80289034 00285F94 48 00 03 0D */ bl sub_80289340 +/* 80289038 00285F98 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 8028903C 00285F9C 38 60 00 00 */ li r3, 0 +/* 80289040 00285FA0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80289044 00285FA4 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_80289048: +/* 80289048 00285FA8 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 8028904C 00285FAC 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 80289050 00285FB0 7C 00 20 00 */ cmpw r0, r4 +/* 80289054 00285FB4 40 82 00 5C */ bne lbl_802890B0 +/* 80289058 00285FB8 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 8028905C 00285FBC 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 80289060 00285FC0 7C 00 28 00 */ cmpw r0, r5 +/* 80289064 00285FC4 40 82 00 4C */ bne lbl_802890B0 +/* 80289068 00285FC8 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 8028906C 00285FCC 2C 00 00 01 */ cmpwi r0, 1 +/* 80289070 00285FD0 40 82 00 40 */ bne lbl_802890B0 +/* 80289074 00285FD4 7F 83 E3 78 */ mr r3, r28 +/* 80289078 00285FD8 48 00 0E 81 */ bl sub_80289ef8 +/* 8028907C 00285FDC 88 A3 00 00 */ lbz r5, 0(r3) +/* 80289080 00285FE0 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 80289084 00285FE4 40 82 00 2C */ bne lbl_802890B0 +/* 80289088 00285FE8 38 00 00 01 */ li r0, 1 +/* 8028908C 00285FEC 7F C4 F3 78 */ mr r4, r30 +/* 80289090 00285FF0 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 +/* 80289094 00285FF4 98 A3 00 00 */ stb r5, 0(r3) +/* 80289098 00285FF8 7F 63 DB 78 */ mr r3, r27 +/* 8028909C 00285FFC 48 00 02 A5 */ bl sub_80289340 +/* 802890A0 00286000 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 802890A4 00286004 38 60 00 00 */ li r3, 0 +/* 802890A8 00286008 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802890AC 0028600C 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_802890B0: +/* 802890B0 00286010 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 802890B4 00286014 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 802890B8 00286018 7C 00 20 00 */ cmpw r0, r4 +/* 802890BC 0028601C 40 82 00 5C */ bne lbl_80289118 +/* 802890C0 00286020 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 802890C4 00286024 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 802890C8 00286028 7C 00 28 00 */ cmpw r0, r5 +/* 802890CC 0028602C 40 82 00 4C */ bne lbl_80289118 +/* 802890D0 00286030 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 802890D4 00286034 2C 00 00 00 */ cmpwi r0, 0 +/* 802890D8 00286038 40 82 00 40 */ bne lbl_80289118 +/* 802890DC 0028603C 7F 83 E3 78 */ mr r3, r28 +/* 802890E0 00286040 48 00 0E 19 */ bl sub_80289ef8 +/* 802890E4 00286044 88 A3 00 00 */ lbz r5, 0(r3) +/* 802890E8 00286048 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f +/* 802890EC 0028604C 40 82 00 2C */ bne lbl_80289118 +/* 802890F0 00286050 38 00 00 01 */ li r0, 1 +/* 802890F4 00286054 7F C4 F3 78 */ mr r4, r30 +/* 802890F8 00286058 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 +/* 802890FC 0028605C 98 A3 00 00 */ stb r5, 0(r3) +/* 80289100 00286060 7F 63 DB 78 */ mr r3, r27 +/* 80289104 00286064 48 00 02 3D */ bl sub_80289340 +/* 80289108 00286068 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 8028910C 0028606C 38 60 00 00 */ li r3, 0 +/* 80289110 00286070 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80289114 00286074 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_80289118: +/* 80289118 00286078 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 8028911C 0028607C 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 80289120 00286080 7C 00 20 00 */ cmpw r0, r4 +/* 80289124 00286084 40 82 00 60 */ bne lbl_80289184 +/* 80289128 00286088 80 7F 00 EC */ lwz r3, 0xec(r31) +/* 8028912C 0028608C 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 80289130 00286090 38 A3 00 01 */ addi r5, r3, 1 +/* 80289134 00286094 7C 00 28 00 */ cmpw r0, r5 +/* 80289138 00286098 40 82 00 4C */ bne lbl_80289184 +/* 8028913C 0028609C 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 80289140 002860A0 2C 00 00 00 */ cmpwi r0, 0 +/* 80289144 002860A4 40 82 00 40 */ bne lbl_80289184 +/* 80289148 002860A8 7F 83 E3 78 */ mr r3, r28 +/* 8028914C 002860AC 48 00 0D AD */ bl sub_80289ef8 +/* 80289150 002860B0 88 A3 00 00 */ lbz r5, 0(r3) +/* 80289154 002860B4 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f +/* 80289158 002860B8 40 82 00 2C */ bne lbl_80289184 +/* 8028915C 002860BC 38 00 00 01 */ li r0, 1 +/* 80289160 002860C0 7F C4 F3 78 */ mr r4, r30 +/* 80289164 002860C4 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 +/* 80289168 002860C8 98 A3 00 00 */ stb r5, 0(r3) +/* 8028916C 002860CC 7F 63 DB 78 */ mr r3, r27 +/* 80289170 002860D0 48 00 01 D1 */ bl sub_80289340 +/* 80289174 002860D4 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 80289178 002860D8 38 60 00 00 */ li r3, 0 +/* 8028917C 002860DC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80289180 002860E0 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_80289184: +/* 80289184 002860E4 2C 1D FF FF */ cmpwi r29, -1 +/* 80289188 002860E8 41 82 00 14 */ beq lbl_8028919C +/* 8028918C 002860EC 57 A3 18 38 */ slwi r3, r29, 3 +/* 80289190 002860F0 38 03 00 08 */ addi r0, r3, 8 +/* 80289194 002860F4 7F BA 02 AE */ lhax r29, r26, r0 +/* 80289198 002860F8 48 00 00 08 */ b lbl_802891A0 +lbl_8028919C: +/* 8028919C 002860FC 3B A0 FF FF */ li r29, -1 +lbl_802891A0: +/* 802891A0 00286100 2C 1D FF FF */ cmpwi r29, -1 +/* 802891A4 00286104 40 82 FE 14 */ bne lbl_80288FB8 +/* 802891A8 00286108 48 00 00 48 */ b lbl_802891F0 +lbl_802891AC: +/* 802891AC 0028610C 7F C3 F3 78 */ mr r3, r30 +/* 802891B0 00286110 4B DB AE E1 */ bl sub_80044090 +/* 802891B4 00286114 28 03 00 00 */ cmplwi r3, 0 +/* 802891B8 00286118 41 82 00 20 */ beq lbl_802891D8 +/* 802891BC 0028611C 38 00 00 00 */ li r0, 0 +/* 802891C0 00286120 7F C3 F3 78 */ mr r3, r30 +/* 802891C4 00286124 90 01 00 40 */ stw r0, 0x40(r1) +/* 802891C8 00286128 38 81 00 40 */ addi r4, r1, 0x40 +/* 802891CC 0028612C 4B DB AE 65 */ bl sub_80044030 +/* 802891D0 00286130 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802891D4 00286134 48 08 C7 5D */ bl Free__7CMemoryFPCv +lbl_802891D8: +/* 802891D8 00286138 7F E3 FB 78 */ mr r3, r31 +/* 802891DC 0028613C 7F C4 F3 78 */ mr r4, r30 +/* 802891E0 00286140 48 00 01 61 */ bl sub_80289340 +/* 802891E4 00286144 48 00 00 0C */ b lbl_802891F0 +lbl_802891E8: +/* 802891E8 00286148 7F C4 F3 78 */ mr r4, r30 +/* 802891EC 0028614C 48 00 01 55 */ bl sub_80289340 +lbl_802891F0: +/* 802891F0 00286150 A0 19 00 00 */ lhz r0, 0(r25) +/* 802891F4 00286154 7F E3 FB 78 */ mr r3, r31 +/* 802891F8 00286158 7F 04 C3 78 */ mr r4, r24 +/* 802891FC 0028615C 7F C6 F3 78 */ mr r6, r30 +/* 80289200 00286160 B0 01 00 08 */ sth r0, 8(r1) +/* 80289204 00286164 38 A1 00 08 */ addi r5, r1, 8 +/* 80289208 00286168 4B DC 7F 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8028920C 0028616C BB 01 00 D0 */ lmw r24, 0xd0(r1) +/* 80289210 00286170 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80289214 00286174 7C 08 03 A6 */ mtlr r0 +/* 80289218 00286178 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8028921C 0028617C 4E 80 00 20 */ blr + +.global sub_80289220 +sub_80289220: +/* 80289220 00286180 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80289224 00286184 7C 08 02 A6 */ mflr r0 +/* 80289228 00286188 90 01 00 54 */ stw r0, 0x54(r1) +/* 8028922C 0028618C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80289230 00286190 7C BF 2B 78 */ mr r31, r5 +/* 80289234 00286194 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80289238 00286198 7C 9E 23 78 */ mr r30, r4 +/* 8028923C 0028619C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80289240 002861A0 7C 7D 1B 78 */ mr r29, r3 +/* 80289244 002861A4 A0 83 00 08 */ lhz r4, 8(r3) +/* 80289248 002861A8 A0 03 01 1C */ lhz r0, 0x11c(r3) +/* 8028924C 002861AC 7F C3 F3 78 */ mr r3, r30 +/* 80289250 002861B0 B0 81 00 30 */ sth r4, 0x30(r1) +/* 80289254 002861B4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80289258 002861B8 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8028925C 002861BC 4B DC 33 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289260 002861C0 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80289264 002861C4 7C 64 1B 78 */ mr r4, r3 +/* 80289268 002861C8 7F C3 F3 78 */ mr r3, r30 +/* 8028926C 002861CC 7F E6 FB 78 */ mr r6, r31 +/* 80289270 002861D0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80289274 002861D4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80289278 002861D8 4B DB AC 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8028927C 002861DC A0 BD 00 08 */ lhz r5, 8(r29) +/* 80289280 002861E0 7F C3 F3 78 */ mr r3, r30 +/* 80289284 002861E4 A0 1D 00 FC */ lhz r0, 0xfc(r29) +/* 80289288 002861E8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8028928C 002861EC B0 A1 00 28 */ sth r5, 0x28(r1) +/* 80289290 002861F0 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80289294 002861F4 4B DC 32 E1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289298 002861F8 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 8028929C 002861FC 7C 64 1B 78 */ mr r4, r3 +/* 802892A0 00286200 7F C3 F3 78 */ mr r3, r30 +/* 802892A4 00286204 7F E6 FB 78 */ mr r6, r31 +/* 802892A8 00286208 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802892AC 0028620C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802892B0 00286210 4B DB AC 21 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 802892B4 00286214 A0 BD 00 08 */ lhz r5, 8(r29) +/* 802892B8 00286218 7F C3 F3 78 */ mr r3, r30 +/* 802892BC 0028621C A0 1D 01 0C */ lhz r0, 0x10c(r29) +/* 802892C0 00286220 38 81 00 24 */ addi r4, r1, 0x24 +/* 802892C4 00286224 B0 A1 00 20 */ sth r5, 0x20(r1) +/* 802892C8 00286228 B0 01 00 24 */ sth r0, 0x24(r1) +/* 802892CC 0028622C 4B DC 32 A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802892D0 00286230 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 802892D4 00286234 7C 64 1B 78 */ mr r4, r3 +/* 802892D8 00286238 7F C3 F3 78 */ mr r3, r30 +/* 802892DC 0028623C 7F E6 FB 78 */ mr r6, r31 +/* 802892E0 00286240 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802892E4 00286244 38 A1 00 0C */ addi r5, r1, 0xc +/* 802892E8 00286248 4B DB AB E9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 802892EC 0028624C A0 BD 00 08 */ lhz r5, 8(r29) +/* 802892F0 00286250 7F C3 F3 78 */ mr r3, r30 +/* 802892F4 00286254 A0 1D 00 F4 */ lhz r0, 0xf4(r29) +/* 802892F8 00286258 38 81 00 1C */ addi r4, r1, 0x1c +/* 802892FC 0028625C B0 A1 00 18 */ sth r5, 0x18(r1) +/* 80289300 00286260 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80289304 00286264 4B DC 32 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289308 00286268 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 8028930C 0028626C 7C 64 1B 78 */ mr r4, r3 +/* 80289310 00286270 7F C3 F3 78 */ mr r3, r30 +/* 80289314 00286274 7F E6 FB 78 */ mr r6, r31 +/* 80289318 00286278 B0 01 00 08 */ sth r0, 8(r1) +/* 8028931C 0028627C 38 A1 00 08 */ addi r5, r1, 8 +/* 80289320 00286280 4B DB AB B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80289324 00286284 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80289328 00286288 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8028932C 0028628C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80289330 00286290 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80289334 00286294 7C 08 03 A6 */ mtlr r0 +/* 80289338 00286298 38 21 00 50 */ addi r1, r1, 0x50 +/* 8028933C 0028629C 4E 80 00 20 */ blr + +.global sub_80289340 +sub_80289340: +/* 80289340 002862A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80289344 002862A4 7C 08 02 A6 */ mflr r0 +/* 80289348 002862A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028934C 002862AC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80289350 002862B0 7C 9F 23 78 */ mr r31, r4 +/* 80289354 002862B4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80289358 002862B8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028935C 002862BC 7C 7E 1B 78 */ mr r30, r3 +/* 80289360 002862C0 A0 03 01 1C */ lhz r0, 0x11c(r3) +/* 80289364 002862C4 7F E3 FB 78 */ mr r3, r31 +/* 80289368 002862C8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028936C 002862CC 4B DC 2F 01 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80289370 002862D0 A0 1E 00 FC */ lhz r0, 0xfc(r30) +/* 80289374 002862D4 7F E3 FB 78 */ mr r3, r31 +/* 80289378 002862D8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028937C 002862DC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80289380 002862E0 4B DC 2E ED */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80289384 002862E4 A0 1E 01 0C */ lhz r0, 0x10c(r30) +/* 80289388 002862E8 7F E3 FB 78 */ mr r3, r31 +/* 8028938C 002862EC 38 81 00 0C */ addi r4, r1, 0xc +/* 80289390 002862F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80289394 002862F4 4B DC 2E D9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80289398 002862F8 A0 1E 00 F4 */ lhz r0, 0xf4(r30) +/* 8028939C 002862FC 7F E3 FB 78 */ mr r3, r31 +/* 802893A0 00286300 38 81 00 08 */ addi r4, r1, 8 +/* 802893A4 00286304 B0 01 00 08 */ sth r0, 8(r1) +/* 802893A8 00286308 4B DC 2E C5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 802893AC 0028630C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802893B0 00286310 B0 1E 00 F4 */ sth r0, 0xf4(r30) +/* 802893B4 00286314 A0 1E 00 F4 */ lhz r0, 0xf4(r30) +/* 802893B8 00286318 B0 1E 01 0C */ sth r0, 0x10c(r30) +/* 802893BC 0028631C A0 1E 01 0C */ lhz r0, 0x10c(r30) +/* 802893C0 00286320 B0 1E 00 FC */ sth r0, 0xfc(r30) +/* 802893C4 00286324 A0 1E 00 FC */ lhz r0, 0xfc(r30) +/* 802893C8 00286328 B0 1E 01 1C */ sth r0, 0x11c(r30) +/* 802893CC 0028632C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802893D0 00286330 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802893D4 00286334 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802893D8 00286338 7C 08 03 A6 */ mtlr r0 +/* 802893DC 0028633C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802893E0 00286340 4E 80 00 20 */ blr + +.global sub_802893e4 +sub_802893e4: +/* 802893E4 00286344 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802893E8 00286348 7C 08 02 A6 */ mflr r0 +/* 802893EC 0028634C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802893F0 00286350 BF 21 00 74 */ stmw r25, 0x74(r1) +/* 802893F4 00286354 7C 7D 1B 78 */ mr r29, r3 +/* 802893F8 00286358 7C 9E 23 78 */ mr r30, r4 +/* 802893FC 0028635C 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80289400 00286360 48 00 02 08 */ b lbl_80289608 +lbl_80289404: +/* 80289404 00286364 80 1F 00 00 */ lwz r0, 0(r31) +/* 80289408 00286368 2C 00 00 07 */ cmpwi r0, 7 +/* 8028940C 0028636C 40 82 01 F8 */ bne lbl_80289604 +/* 80289410 00286370 80 1F 00 04 */ lwz r0, 4(r31) +/* 80289414 00286374 2C 00 00 01 */ cmpwi r0, 1 +/* 80289418 00286378 40 82 01 EC */ bne lbl_80289604 +/* 8028941C 0028637C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80289420 00286380 7F C4 F3 78 */ mr r4, r30 +/* 80289424 00286384 38 61 00 14 */ addi r3, r1, 0x14 +/* 80289428 00286388 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8028942C 0028638C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80289430 00286390 4B DB EA ED */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80289434 00286394 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80289438 00286398 7F C3 F3 78 */ mr r3, r30 +/* 8028943C 0028639C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80289440 002863A0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80289444 002863A4 4B DC 31 31 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289448 002863A8 7C 60 1B 78 */ mr r0, r3 +/* 8028944C 002863AC 38 61 00 3C */ addi r3, r1, 0x3c +/* 80289450 002863B0 7C 19 03 78 */ mr r25, r0 +/* 80289454 002863B4 7F 24 CB 78 */ mr r4, r25 +/* 80289458 002863B8 4B E2 09 85 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" +/* 8028945C 002863BC 83 83 00 04 */ lwz r28, 4(r3) +/* 80289460 002863C0 7F 24 CB 78 */ mr r4, r25 +/* 80289464 002863C4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80289468 002863C8 4B E2 29 05 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 8028946C 002863CC 83 63 00 04 */ lwz r27, 4(r3) +/* 80289470 002863D0 7F 24 CB 78 */ mr r4, r25 +/* 80289474 002863D4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80289478 002863D8 4B E1 DA 71 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 8028947C 002863DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80289480 002863E0 83 43 00 04 */ lwz r26, 4(r3) +/* 80289484 002863E4 40 82 00 14 */ bne lbl_80289498 +/* 80289488 002863E8 28 1B 00 00 */ cmplwi r27, 0 +/* 8028948C 002863EC 40 82 00 0C */ bne lbl_80289498 +/* 80289490 002863F0 28 1A 00 00 */ cmplwi r26, 0 +/* 80289494 002863F4 41 82 01 70 */ beq lbl_80289604 +lbl_80289498: +/* 80289498 002863F8 28 1C 00 00 */ cmplwi r28, 0 +/* 8028949C 002863FC 41 82 00 10 */ beq lbl_802894AC +/* 802894A0 00286400 88 1D 01 3C */ lbz r0, 0x13c(r29) +/* 802894A4 00286404 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802894A8 00286408 40 82 01 5C */ bne lbl_80289604 +lbl_802894AC: +/* 802894AC 0028640C 88 BE 0F 94 */ lbz r5, 0xf94(r30) +/* 802894B0 00286410 38 60 00 01 */ li r3, 1 +/* 802894B4 00286414 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 802894B8 00286418 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802894BC 0028641C 7F C4 F3 78 */ mr r4, r30 +/* 802894C0 00286420 54 B9 DF FE */ rlwinm r25, r5, 0x1b, 0x1f, 0x1f +/* 802894C4 00286424 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 802894C8 00286428 38 61 00 24 */ addi r3, r1, 0x24 +/* 802894CC 0028642C 38 BF 00 08 */ addi r5, r31, 8 +/* 802894D0 00286430 4B DB EE 19 */ bl GenerateObject__13CStateManagerF9TEditorId +/* 802894D4 00286434 A0 A1 00 28 */ lhz r5, 0x28(r1) +/* 802894D8 00286438 7F C3 F3 78 */ mr r3, r30 +/* 802894DC 0028643C 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 802894E0 00286440 53 20 2E B4 */ rlwimi r0, r25, 5, 0x1a, 0x1a +/* 802894E4 00286444 B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 802894E8 00286448 38 81 00 10 */ addi r4, r1, 0x10 +/* 802894EC 0028644C 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 802894F0 00286450 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 802894F4 00286454 4B DC 30 81 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802894F8 00286458 7C 79 1B 79 */ or. r25, r3, r3 +/* 802894FC 0028645C 41 82 01 08 */ beq lbl_80289604 +/* 80289500 00286460 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80289504 00286464 7F C3 F3 78 */ mr r3, r30 +/* 80289508 00286468 7F 24 CB 78 */ mr r4, r25 +/* 8028950C 0028646C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80289510 00286470 B0 01 00 08 */ sth r0, 8(r1) +/* 80289514 00286474 38 C0 00 01 */ li r6, 1 +/* 80289518 00286478 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028951C 0028647C 4B DB A9 B5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80289520 00286480 28 1C 00 00 */ cmplwi r28, 0 +/* 80289524 00286484 41 82 00 48 */ beq lbl_8028956C +/* 80289528 00286488 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8028952C 0028648C 7F 23 CB 78 */ mr r3, r25 +/* 80289530 00286490 C0 1D 01 24 */ lfs f0, 0x124(r29) +/* 80289534 00286494 38 81 00 5C */ addi r4, r1, 0x5c +/* 80289538 00286498 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 8028953C 0028649C C0 5D 01 28 */ lfs f2, 0x128(r29) +/* 80289540 002864A0 EC 81 00 2A */ fadds f4, f1, f0 +/* 80289544 002864A4 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80289548 002864A8 C0 1D 01 20 */ lfs f0, 0x120(r29) +/* 8028954C 002864AC EC 43 10 2A */ fadds f2, f3, f2 +/* 80289550 002864B0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80289554 002864B4 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 80289558 002864B8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8028955C 002864BC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80289560 002864C0 4B DC 99 2D */ bl SetTranslation__6CActorFRC9CVector3f +/* 80289564 002864C4 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80289568 002864C8 B0 1D 01 1C */ sth r0, 0x11c(r29) +lbl_8028956C: +/* 8028956C 002864CC 28 1B 00 00 */ cmplwi r27, 0 +/* 80289570 002864D0 41 82 00 48 */ beq lbl_802895B8 +/* 80289574 002864D4 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80289578 002864D8 7F 23 CB 78 */ mr r3, r25 +/* 8028957C 002864DC C0 1D 01 04 */ lfs f0, 0x104(r29) +/* 80289580 002864E0 38 81 00 50 */ addi r4, r1, 0x50 +/* 80289584 002864E4 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80289588 002864E8 C0 5D 01 08 */ lfs f2, 0x108(r29) +/* 8028958C 002864EC EC 81 00 2A */ fadds f4, f1, f0 +/* 80289590 002864F0 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80289594 002864F4 C0 1D 01 00 */ lfs f0, 0x100(r29) +/* 80289598 002864F8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8028959C 002864FC EC 01 00 2A */ fadds f0, f1, f0 +/* 802895A0 00286500 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802895A4 00286504 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802895A8 00286508 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802895AC 0028650C 4B DC 98 E1 */ bl SetTranslation__6CActorFRC9CVector3f +/* 802895B0 00286510 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 802895B4 00286514 B0 1D 00 FC */ sth r0, 0xfc(r29) +lbl_802895B8: +/* 802895B8 00286518 28 1A 00 00 */ cmplwi r26, 0 +/* 802895BC 0028651C 41 82 00 48 */ beq lbl_80289604 +/* 802895C0 00286520 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 802895C4 00286524 7F 23 CB 78 */ mr r3, r25 +/* 802895C8 00286528 C0 1D 01 14 */ lfs f0, 0x114(r29) +/* 802895CC 0028652C 38 81 00 44 */ addi r4, r1, 0x44 +/* 802895D0 00286530 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 802895D4 00286534 C0 5D 01 18 */ lfs f2, 0x118(r29) +/* 802895D8 00286538 EC 81 00 2A */ fadds f4, f1, f0 +/* 802895DC 0028653C C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 802895E0 00286540 C0 1D 01 10 */ lfs f0, 0x110(r29) +/* 802895E4 00286544 EC 43 10 2A */ fadds f2, f3, f2 +/* 802895E8 00286548 EC 01 00 2A */ fadds f0, f1, f0 +/* 802895EC 0028654C D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802895F0 00286550 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802895F4 00286554 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802895F8 00286558 4B DC 98 95 */ bl SetTranslation__6CActorFRC9CVector3f +/* 802895FC 0028655C A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80289600 00286560 B0 1D 01 0C */ sth r0, 0x10c(r29) +lbl_80289604: +/* 80289604 00286564 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80289608: +/* 80289608 00286568 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8028960C 0028656C 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80289610 00286570 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80289614 00286574 7C 03 02 14 */ add r0, r3, r0 +/* 80289618 00286578 7C 1F 00 40 */ cmplw r31, r0 +/* 8028961C 0028657C 40 82 FD E8 */ bne lbl_80289404 +/* 80289620 00286580 BB 21 00 74 */ lmw r25, 0x74(r1) +/* 80289624 00286584 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80289628 00286588 7C 08 03 A6 */ mtlr r0 +/* 8028962C 0028658C 38 21 00 90 */ addi r1, r1, 0x90 +/* 80289630 00286590 4E 80 00 20 */ blr + +.global Accept__15CScriptMazeNodeFR8IVisitor +Accept__15CScriptMazeNodeFR8IVisitor: +/* 80289634 00286594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80289638 00286598 7C 08 02 A6 */ mflr r0 +/* 8028963C 0028659C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80289640 002865A0 7C 60 1B 78 */ mr r0, r3 +/* 80289644 002865A4 7C 83 23 78 */ mr r3, r4 +/* 80289648 002865A8 81 84 00 00 */ lwz r12, 0(r4) +/* 8028964C 002865AC 7C 04 03 78 */ mr r4, r0 +/* 80289650 002865B0 81 8C 00 94 */ lwz r12, 0x94(r12) +/* 80289654 002865B4 7D 89 03 A6 */ mtctr r12 +/* 80289658 002865B8 4E 80 04 21 */ bctrl +/* 8028965C 002865BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80289660 002865C0 7C 08 03 A6 */ mtlr r0 +/* 80289664 002865C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80289668 002865C8 4E 80 00 20 */ blr + +.global "__ct__15CScriptMazeNodeF9TUniqueIdQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUiUiUiRC9CVector3fRC9CVector3fRC9CVector3f" +"__ct__15CScriptMazeNodeF9TUniqueIdQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUiUiUiRC9CVector3fRC9CVector3fRC9CVector3f": +/* 8028966C 002865CC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80289670 002865D0 7C 08 02 A6 */ mflr r0 +/* 80289674 002865D4 90 01 01 14 */ stw r0, 0x114(r1) +/* 80289678 002865D8 BE 81 00 E0 */ stmw r20, 0xe0(r1) +/* 8028967C 002865DC 7C 7F 1B 78 */ mr r31, r3 +/* 80289680 002865E0 83 61 01 18 */ lwz r27, 0x118(r1) +/* 80289684 002865E4 7C 94 23 78 */ mr r20, r4 +/* 80289688 002865E8 83 81 01 1C */ lwz r28, 0x11c(r1) +/* 8028968C 002865EC 7C B5 2B 78 */ mr r21, r5 +/* 80289690 002865F0 83 A1 01 20 */ lwz r29, 0x120(r1) +/* 80289694 002865F4 7C D6 33 78 */ mr r22, r6 +/* 80289698 002865F8 83 C1 01 24 */ lwz r30, 0x124(r1) +/* 8028969C 002865FC 7C F7 3B 78 */ mr r23, r7 +/* 802896A0 00286600 7D 18 43 78 */ mr r24, r8 +/* 802896A4 00286604 7D 39 4B 78 */ mr r25, r9 +/* 802896A8 00286608 7D 5A 53 78 */ mr r26, r10 +/* 802896AC 0028660C 38 61 00 88 */ addi r3, r1, 0x88 +/* 802896B0 00286610 4B DB 10 F5 */ bl CModelDataNull__10CModelDataFv +/* 802896B4 00286614 38 61 00 20 */ addi r3, r1, 0x20 +/* 802896B8 00286618 4B D9 17 81 */ bl None__16CActorParametersFv +/* 802896BC 0028661C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802896C0 00286620 38 80 00 00 */ li r4, 0 +/* 802896C4 00286624 A1 94 00 00 */ lhz r12, 0(r20) +/* 802896C8 00286628 39 61 00 20 */ addi r11, r1, 0x20 +/* 802896CC 0028662C B0 01 00 10 */ sth r0, 0x10(r1) +/* 802896D0 00286630 38 01 00 10 */ addi r0, r1, 0x10 +/* 802896D4 00286634 7F E3 FB 78 */ mr r3, r31 +/* 802896D8 00286638 7F 05 C3 78 */ mr r5, r24 +/* 802896DC 0028663C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802896E0 00286640 7E A6 AB 78 */ mr r6, r21 +/* 802896E4 00286644 7E C7 B3 78 */ mr r7, r22 +/* 802896E8 00286648 7E E8 BB 78 */ mr r8, r23 +/* 802896EC 0028664C 90 81 00 18 */ stw r4, 0x18(r1) +/* 802896F0 00286650 38 81 00 14 */ addi r4, r1, 0x14 +/* 802896F4 00286654 39 21 00 88 */ addi r9, r1, 0x88 +/* 802896F8 00286658 39 41 00 18 */ addi r10, r1, 0x18 +/* 802896FC 0028665C B1 81 00 14 */ sth r12, 0x14(r1) +/* 80289700 00286660 91 61 00 08 */ stw r11, 8(r1) +/* 80289704 00286664 90 01 00 0C */ stw r0, 0xc(r1) +/* 80289708 00286668 4B DC C1 19 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8028970C 0028666C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80289710 00286670 38 80 FF FF */ li r4, -1 +/* 80289714 00286674 4B E7 CE F5 */ bl __dt__16CActorParametersFv +/* 80289718 00286678 38 61 00 88 */ addi r3, r1, 0x88 +/* 8028971C 0028667C 38 80 FF FF */ li r4, -1 +/* 80289720 00286680 4B E8 D3 2D */ bl __dt__10CModelDataFv +/* 80289724 00286684 3C 60 80 3F */ lis r3, lbl_803EB658@ha +/* 80289728 00286688 C0 02 BE 64 */ lfs f0, lbl_805ADB84@sda21(r2) +/* 8028972C 0028668C 38 03 B6 58 */ addi r0, r3, lbl_803EB658@l +/* 80289730 00286690 38 A0 00 00 */ li r5, 0 +/* 80289734 00286694 90 1F 00 00 */ stw r0, 0(r31) +/* 80289738 00286698 38 80 00 01 */ li r4, 1 +/* 8028973C 0028669C 7F E3 FB 78 */ mr r3, r31 +/* 80289740 002866A0 93 3F 00 E8 */ stw r25, 0xe8(r31) +/* 80289744 002866A4 93 5F 00 EC */ stw r26, 0xec(r31) +/* 80289748 002866A8 93 7F 00 F0 */ stw r27, 0xf0(r31) +/* 8028974C 002866AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80289750 002866B0 B0 1F 00 F4 */ sth r0, 0xf4(r31) +/* 80289754 002866B4 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 80289758 002866B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028975C 002866BC B0 1F 00 FC */ sth r0, 0xfc(r31) +/* 80289760 002866C0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 80289764 002866C4 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 80289768 002866C8 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8028976C 002866CC D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 80289770 002866D0 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80289774 002866D4 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 80289778 002866D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028977C 002866DC B0 1F 01 0C */ sth r0, 0x10c(r31) +/* 80289780 002866E0 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80289784 002866E4 D0 1F 01 10 */ stfs f0, 0x110(r31) +/* 80289788 002866E8 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028978C 002866EC D0 1F 01 14 */ stfs f0, 0x114(r31) +/* 80289790 002866F0 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80289794 002866F4 D0 1F 01 18 */ stfs f0, 0x118(r31) +/* 80289798 002866F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028979C 002866FC B0 1F 01 1C */ sth r0, 0x11c(r31) +/* 802897A0 00286700 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802897A4 00286704 D0 1F 01 20 */ stfs f0, 0x120(r31) +/* 802897A8 00286708 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802897AC 0028670C D0 1F 01 24 */ stfs f0, 0x124(r31) +/* 802897B0 00286710 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802897B4 00286714 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 802897B8 00286718 90 BF 01 30 */ stw r5, 0x130(r31) +/* 802897BC 0028671C 90 BF 01 34 */ stw r5, 0x134(r31) +/* 802897C0 00286720 90 BF 01 38 */ stw r5, 0x138(r31) +/* 802897C4 00286724 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 802897C8 00286728 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802897CC 0028672C 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 802897D0 00286730 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 802897D4 00286734 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802897D8 00286738 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 802897DC 0028673C 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 802897E0 00286740 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802897E4 00286744 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 802897E8 00286748 BA 81 00 E0 */ lmw r20, 0xe0(r1) +/* 802897EC 0028674C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802897F0 00286750 7C 08 03 A6 */ mtlr r0 +/* 802897F4 00286754 38 21 01 10 */ addi r1, r1, 0x110 +/* 802897F8 00286758 4E 80 00 20 */ blr + +.global sub_802897fc +sub_802897fc: +/* 802897FC 0028675C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80289800 00286760 38 A0 00 00 */ li r5, 0 +/* 80289804 00286764 54 A0 10 3A */ slwi r0, r5, 2 +/* 80289808 00286768 39 00 00 01 */ li r8, 1 +/* 8028980C 0028676C 80 83 00 88 */ lwz r4, 0x88(r3) +/* 80289810 00286770 81 23 00 90 */ lwz r9, 0x90(r3) +/* 80289814 00286774 1C A4 00 09 */ mulli r5, r4, 9 +/* 80289818 00286778 80 C3 00 84 */ lwz r6, 0x84(r3) +/* 8028981C 0028677C 38 81 00 08 */ addi r4, r1, 8 +/* 80289820 00286780 81 43 00 8C */ lwz r10, 0x8c(r3) +/* 80289824 00286784 7C C6 2A 14 */ add r6, r6, r5 +/* 80289828 00286788 54 C5 08 3C */ slwi r5, r6, 1 +/* 8028982C 0028678C 7C C4 01 2E */ stwx r6, r4, r0 +/* 80289830 00286790 38 E5 00 05 */ addi r7, r5, 5 +/* 80289834 00286794 7C 03 38 AE */ lbzx r0, r3, r7 +/* 80289838 00286798 1D 29 00 09 */ mulli r9, r9, 9 +/* 8028983C 0028679C 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a +/* 80289840 002867A0 7C 03 39 AE */ stbx r0, r3, r7 +/* 80289844 002867A4 38 A0 00 01 */ li r5, 1 +/* 80289848 002867A8 7C EA 4A 14 */ add r7, r10, r9 +/* 8028984C 002867AC 48 00 01 18 */ b lbl_80289964 +lbl_80289850: +/* 80289850 002867B0 54 C8 08 3C */ slwi r8, r6, 1 +/* 80289854 002867B4 38 08 00 04 */ addi r0, r8, 4 +/* 80289858 002867B8 7D 03 00 AE */ lbzx r8, r3, r0 +/* 8028985C 002867BC 55 08 CF FF */ rlwinm. r8, r8, 0x19, 0x1f, 0x1f +/* 80289860 002867C0 41 82 00 2C */ beq lbl_8028988C +/* 80289864 002867C4 39 46 FF F7 */ addi r10, r6, -9 +/* 80289868 002867C8 55 48 08 3C */ slwi r8, r10, 1 +/* 8028986C 002867CC 39 08 00 05 */ addi r8, r8, 5 +/* 80289870 002867D0 7D 03 40 AE */ lbzx r8, r3, r8 +/* 80289874 002867D4 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 80289878 002867D8 40 82 00 14 */ bne lbl_8028988C +/* 8028987C 002867DC 54 A9 10 3A */ slwi r9, r5, 2 +/* 80289880 002867E0 39 01 00 08 */ addi r8, r1, 8 +/* 80289884 002867E4 7D 48 49 2E */ stwx r10, r8, r9 +/* 80289888 002867E8 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028988C: +/* 8028988C 002867EC 7D 03 00 AE */ lbzx r8, r3, r0 +/* 80289890 002867F0 55 08 D7 FF */ rlwinm. r8, r8, 0x1a, 0x1f, 0x1f +/* 80289894 002867F4 41 82 00 2C */ beq lbl_802898C0 +/* 80289898 002867F8 39 46 00 01 */ addi r10, r6, 1 +/* 8028989C 002867FC 55 48 08 3C */ slwi r8, r10, 1 +/* 802898A0 00286800 39 08 00 05 */ addi r8, r8, 5 +/* 802898A4 00286804 7D 03 40 AE */ lbzx r8, r3, r8 +/* 802898A8 00286808 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 802898AC 0028680C 40 82 00 14 */ bne lbl_802898C0 +/* 802898B0 00286810 54 A9 10 3A */ slwi r9, r5, 2 +/* 802898B4 00286814 39 01 00 08 */ addi r8, r1, 8 +/* 802898B8 00286818 7D 48 49 2E */ stwx r10, r8, r9 +/* 802898BC 0028681C 38 A5 00 01 */ addi r5, r5, 1 +lbl_802898C0: +/* 802898C0 00286820 7D 03 00 AE */ lbzx r8, r3, r0 +/* 802898C4 00286824 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 802898C8 00286828 41 82 00 2C */ beq lbl_802898F4 +/* 802898CC 0028682C 39 46 00 09 */ addi r10, r6, 9 +/* 802898D0 00286830 55 48 08 3C */ slwi r8, r10, 1 +/* 802898D4 00286834 39 08 00 05 */ addi r8, r8, 5 +/* 802898D8 00286838 7D 03 40 AE */ lbzx r8, r3, r8 +/* 802898DC 0028683C 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 802898E0 00286840 40 82 00 14 */ bne lbl_802898F4 +/* 802898E4 00286844 54 A9 10 3A */ slwi r9, r5, 2 +/* 802898E8 00286848 39 01 00 08 */ addi r8, r1, 8 +/* 802898EC 0028684C 7D 48 49 2E */ stwx r10, r8, r9 +/* 802898F0 00286850 38 A5 00 01 */ addi r5, r5, 1 +lbl_802898F4: +/* 802898F4 00286854 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802898F8 00286858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802898FC 0028685C 41 82 00 2C */ beq lbl_80289928 +/* 80289900 00286860 39 26 FF FF */ addi r9, r6, -1 +/* 80289904 00286864 55 28 08 3C */ slwi r8, r9, 1 +/* 80289908 00286868 38 08 00 05 */ addi r0, r8, 5 +/* 8028990C 0028686C 7C 03 00 AE */ lbzx r0, r3, r0 +/* 80289910 00286870 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80289914 00286874 40 82 00 14 */ bne lbl_80289928 +/* 80289918 00286878 54 A0 10 3A */ slwi r0, r5, 2 +/* 8028991C 0028687C 39 01 00 08 */ addi r8, r1, 8 +/* 80289920 00286880 7D 28 01 2E */ stwx r9, r8, r0 +/* 80289924 00286884 38 A5 00 01 */ addi r5, r5, 1 +lbl_80289928: +/* 80289928 00286888 54 A8 10 3A */ slwi r8, r5, 2 +/* 8028992C 0028688C 38 08 FF FC */ addi r0, r8, -4 +/* 80289930 00286890 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80289934 00286894 7C 06 00 00 */ cmpw r6, r0 +/* 80289938 00286898 40 82 00 08 */ bne lbl_80289940 +/* 8028993C 0028689C 38 A5 FF FF */ addi r5, r5, -1 +lbl_80289940: +/* 80289940 002868A0 54 A6 10 3A */ slwi r6, r5, 2 +/* 80289944 002868A4 39 20 00 01 */ li r9, 1 +/* 80289948 002868A8 38 06 FF FC */ addi r0, r6, -4 +/* 8028994C 002868AC 7C C4 00 2E */ lwzx r6, r4, r0 +/* 80289950 002868B0 54 C8 08 3C */ slwi r8, r6, 1 +/* 80289954 002868B4 39 08 00 05 */ addi r8, r8, 5 +/* 80289958 002868B8 7C 03 40 AE */ lbzx r0, r3, r8 +/* 8028995C 002868BC 51 20 2E B4 */ rlwimi r0, r9, 5, 0x1a, 0x1a +/* 80289960 002868C0 7C 03 41 AE */ stbx r0, r3, r8 +lbl_80289964: +/* 80289964 002868C4 7C 06 38 00 */ cmpw r6, r7 +/* 80289968 002868C8 40 82 FE E8 */ bne lbl_80289850 +/* 8028996C 002868CC 54 A0 10 3A */ slwi r0, r5, 2 +/* 80289970 002868D0 38 E1 00 08 */ addi r7, r1, 8 +/* 80289974 002868D4 7C E7 02 14 */ add r7, r7, r0 +/* 80289978 002868D8 38 00 00 01 */ li r0, 1 +/* 8028997C 002868DC 48 00 00 24 */ b lbl_802899A0 +lbl_80289980: +/* 80289980 002868E0 80 87 00 00 */ lwz r4, 0(r7) +/* 80289984 002868E4 54 84 08 3C */ slwi r4, r4, 1 +/* 80289988 002868E8 39 04 00 05 */ addi r8, r4, 5 +/* 8028998C 002868EC 7C C3 40 AE */ lbzx r6, r3, r8 +/* 80289990 002868F0 54 C4 DF FF */ rlwinm. r4, r6, 0x1b, 0x1f, 0x1f +/* 80289994 002868F4 41 82 00 0C */ beq lbl_802899A0 +/* 80289998 002868F8 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 +/* 8028999C 002868FC 7C C3 41 AE */ stbx r6, r3, r8 +lbl_802899A0: +/* 802899A0 00286900 2C 05 00 00 */ cmpwi r5, 0 +/* 802899A4 00286904 38 A5 FF FF */ addi r5, r5, -1 +/* 802899A8 00286908 38 E7 FF FC */ addi r7, r7, -4 +/* 802899AC 0028690C 40 82 FF D4 */ bne lbl_80289980 +/* 802899B0 00286910 88 03 00 94 */ lbz r0, 0x94(r3) +/* 802899B4 00286914 38 80 00 01 */ li r4, 1 +/* 802899B8 00286918 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802899BC 0028691C 98 03 00 94 */ stb r0, 0x94(r3) +/* 802899C0 00286920 38 21 01 10 */ addi r1, r1, 0x110 +/* 802899C4 00286924 4E 80 00 20 */ blr + +.global sub_802899c8 +sub_802899c8: +/* 802899C8 00286928 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802899CC 0028692C 7C 08 02 A6 */ mflr r0 +/* 802899D0 00286930 90 01 00 24 */ stw r0, 0x24(r1) +/* 802899D4 00286934 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802899D8 00286938 7C 7B 1B 78 */ mr r27, r3 +/* 802899DC 0028693C 88 03 00 94 */ lbz r0, 0x94(r3) +/* 802899E0 00286940 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802899E4 00286944 40 82 00 08 */ bne lbl_802899EC +/* 802899E8 00286948 4B FF FE 15 */ bl sub_802897fc +lbl_802899EC: +/* 802899EC 0028694C 7F 63 DB 78 */ mr r3, r27 +/* 802899F0 00286950 48 08 8B 31 */ bl Next__9CRandom16Fv +/* 802899F4 00286954 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 802899F8 00286958 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 802899FC 0028695C 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A00 00286960 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A04 00286964 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A08 00286968 7C 00 22 14 */ add r0, r0, r4 +/* 80289A0C 0028696C 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A10 00286970 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A14 00286974 7F 63 DB 78 */ mr r3, r27 +/* 80289A18 00286978 3B E4 00 09 */ addi r31, r4, 9 +/* 80289A1C 0028697C 48 08 8B 05 */ bl Next__9CRandom16Fv +/* 80289A20 00286980 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289A24 00286984 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 80289A28 00286988 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A2C 0028698C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A30 00286990 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A34 00286994 7C 00 22 14 */ add r0, r0, r4 +/* 80289A38 00286998 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A3C 0028699C 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A40 002869A0 7F 63 DB 78 */ mr r3, r27 +/* 80289A44 002869A4 3B C4 00 15 */ addi r30, r4, 0x15 +/* 80289A48 002869A8 48 08 8A D9 */ bl Next__9CRandom16Fv +/* 80289A4C 002869AC 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289A50 002869B0 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 80289A54 002869B4 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A58 002869B8 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A5C 002869BC 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A60 002869C0 7C 00 22 14 */ add r0, r0, r4 +/* 80289A64 002869C4 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A68 002869C8 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A6C 002869CC 7F 63 DB 78 */ mr r3, r27 +/* 80289A70 002869D0 3B A4 00 21 */ addi r29, r4, 0x21 +/* 80289A74 002869D4 48 08 8A AD */ bl Next__9CRandom16Fv +/* 80289A78 002869D8 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289A7C 002869DC 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 80289A80 002869E0 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A84 002869E4 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A88 002869E8 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A8C 002869EC 7C 00 22 14 */ add r0, r0, r4 +/* 80289A90 002869F0 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A94 002869F4 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A98 002869F8 7F 63 DB 78 */ mr r3, r27 +/* 80289A9C 002869FC 3B 84 00 0D */ addi r28, r4, 0xd +/* 80289AA0 00286A00 48 08 8A 81 */ bl Next__9CRandom16Fv +/* 80289AA4 00286A04 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289AA8 00286A08 80 1B 00 84 */ lwz r0, 0x84(r27) +/* 80289AAC 00286A0C 38 84 66 67 */ addi r4, r4, 0x66666667@l +/* 80289AB0 00286A10 80 BB 00 88 */ lwz r5, 0x88(r27) +/* 80289AB4 00286A14 7C 84 18 96 */ mulhw r4, r4, r3 +/* 80289AB8 00286A18 7C 08 03 78 */ mr r8, r0 +/* 80289ABC 00286A1C 7C A9 2B 78 */ mr r9, r5 +/* 80289AC0 00286A20 38 C0 FF FF */ li r6, -1 +/* 80289AC4 00286A24 38 E0 00 00 */ li r7, 0 +/* 80289AC8 00286A28 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80289ACC 00286A2C 54 8A 0F FE */ srwi r10, r4, 0x1f +/* 80289AD0 00286A30 7C 84 52 14 */ add r4, r4, r10 +/* 80289AD4 00286A34 1C 84 00 05 */ mulli r4, r4, 5 +/* 80289AD8 00286A38 7C 64 18 50 */ subf r3, r4, r3 +/* 80289ADC 00286A3C 38 83 00 1D */ addi r4, r3, 0x1d +/* 80289AE0 00286A40 48 00 03 EC */ b lbl_80289ECC +lbl_80289AE4: +/* 80289AE4 00286A44 7C 07 F8 00 */ cmpw r7, r31 +/* 80289AE8 00286A48 41 82 00 14 */ beq lbl_80289AFC +/* 80289AEC 00286A4C 7C 07 F0 00 */ cmpw r7, r30 +/* 80289AF0 00286A50 41 82 00 0C */ beq lbl_80289AFC +/* 80289AF4 00286A54 7C 07 E8 00 */ cmpw r7, r29 +/* 80289AF8 00286A58 40 82 01 28 */ bne lbl_80289C20 +lbl_80289AFC: +/* 80289AFC 00286A5C 2C 06 00 02 */ cmpwi r6, 2 +/* 80289B00 00286A60 41 82 00 A4 */ beq lbl_80289BA4 +/* 80289B04 00286A64 40 80 00 14 */ bge lbl_80289B18 +/* 80289B08 00286A68 2C 06 00 00 */ cmpwi r6, 0 +/* 80289B0C 00286A6C 41 82 00 18 */ beq lbl_80289B24 +/* 80289B10 00286A70 40 80 00 54 */ bge lbl_80289B64 +/* 80289B14 00286A74 48 00 01 0C */ b lbl_80289C20 +lbl_80289B18: +/* 80289B18 00286A78 2C 06 00 04 */ cmpwi r6, 4 +/* 80289B1C 00286A7C 40 80 01 04 */ bge lbl_80289C20 +/* 80289B20 00286A80 48 00 00 C4 */ b lbl_80289BE4 +lbl_80289B24: +/* 80289B24 00286A84 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289B28 00286A88 39 60 00 01 */ li r11, 1 +/* 80289B2C 00286A8C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289B30 00286A90 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289B34 00286A94 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289B38 00286A98 39 4A 00 04 */ addi r10, r10, 4 +/* 80289B3C 00286A9C 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289B40 00286AA0 51 65 0F BC */ rlwimi r5, r11, 1, 0x1e, 0x1e +/* 80289B44 00286AA4 7C 00 1A 14 */ add r0, r0, r3 +/* 80289B48 00286AA8 54 03 08 3C */ slwi r3, r0, 1 +/* 80289B4C 00286AAC 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289B50 00286AB0 38 63 00 04 */ addi r3, r3, 4 +/* 80289B54 00286AB4 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289B58 00286AB8 51 60 1F 38 */ rlwimi r0, r11, 3, 0x1c, 0x1c +/* 80289B5C 00286ABC 7C 1B 19 AE */ stbx r0, r27, r3 +/* 80289B60 00286AC0 48 00 00 C0 */ b lbl_80289C20 +lbl_80289B64: +/* 80289B64 00286AC4 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289B68 00286AC8 39 60 00 01 */ li r11, 1 +/* 80289B6C 00286ACC 7C 68 1A 14 */ add r3, r8, r3 +/* 80289B70 00286AD0 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289B74 00286AD4 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289B78 00286AD8 39 4A 00 04 */ addi r10, r10, 4 +/* 80289B7C 00286ADC 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289B80 00286AE0 51 65 07 FE */ rlwimi r5, r11, 0, 0x1f, 0x1f +/* 80289B84 00286AE4 7C 00 1A 14 */ add r0, r0, r3 +/* 80289B88 00286AE8 54 03 08 3C */ slwi r3, r0, 1 +/* 80289B8C 00286AEC 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289B90 00286AF0 38 63 00 04 */ addi r3, r3, 4 +/* 80289B94 00286AF4 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289B98 00286AF8 51 60 17 7A */ rlwimi r0, r11, 2, 0x1d, 0x1d +/* 80289B9C 00286AFC 7C 1B 19 AE */ stbx r0, r27, r3 +/* 80289BA0 00286B00 48 00 00 80 */ b lbl_80289C20 +lbl_80289BA4: +/* 80289BA4 00286B04 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289BA8 00286B08 39 60 00 01 */ li r11, 1 +/* 80289BAC 00286B0C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289BB0 00286B10 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289BB4 00286B14 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289BB8 00286B18 39 4A 00 04 */ addi r10, r10, 4 +/* 80289BBC 00286B1C 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289BC0 00286B20 51 65 1F 38 */ rlwimi r5, r11, 3, 0x1c, 0x1c +/* 80289BC4 00286B24 7C 00 1A 14 */ add r0, r0, r3 +/* 80289BC8 00286B28 54 03 08 3C */ slwi r3, r0, 1 +/* 80289BCC 00286B2C 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289BD0 00286B30 38 63 00 04 */ addi r3, r3, 4 +/* 80289BD4 00286B34 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289BD8 00286B38 51 60 0F BC */ rlwimi r0, r11, 1, 0x1e, 0x1e +/* 80289BDC 00286B3C 7C 1B 19 AE */ stbx r0, r27, r3 +/* 80289BE0 00286B40 48 00 00 40 */ b lbl_80289C20 +lbl_80289BE4: +/* 80289BE4 00286B44 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289BE8 00286B48 39 60 00 01 */ li r11, 1 +/* 80289BEC 00286B4C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289BF0 00286B50 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289BF4 00286B54 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289BF8 00286B58 39 4A 00 04 */ addi r10, r10, 4 +/* 80289BFC 00286B5C 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289C00 00286B60 51 65 17 7A */ rlwimi r5, r11, 2, 0x1d, 0x1d +/* 80289C04 00286B64 7C 00 1A 14 */ add r0, r0, r3 +/* 80289C08 00286B68 54 03 08 3C */ slwi r3, r0, 1 +/* 80289C0C 00286B6C 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289C10 00286B70 38 63 00 04 */ addi r3, r3, 4 +/* 80289C14 00286B74 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289C18 00286B78 51 60 07 FE */ rlwimi r0, r11, 0, 0x1f, 0x1f +/* 80289C1C 00286B7C 7C 1B 19 AE */ stbx r0, r27, r3 +lbl_80289C20: +/* 80289C20 00286B80 2C 09 00 00 */ cmpwi r9, 0 +/* 80289C24 00286B84 7D 00 43 78 */ mr r0, r8 +/* 80289C28 00286B88 7D 25 4B 78 */ mr r5, r9 +/* 80289C2C 00286B8C 40 81 00 54 */ ble lbl_80289C80 +/* 80289C30 00286B90 2C 06 00 02 */ cmpwi r6, 2 +/* 80289C34 00286B94 41 82 00 4C */ beq lbl_80289C80 +/* 80289C38 00286B98 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289C3C 00286B9C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289C40 00286BA0 54 63 08 3C */ slwi r3, r3, 1 +/* 80289C44 00286BA4 38 63 00 04 */ addi r3, r3, 4 +/* 80289C48 00286BA8 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289C4C 00286BAC 54 63 CF FF */ rlwinm. r3, r3, 0x19, 0x1f, 0x1f +/* 80289C50 00286BB0 41 82 00 30 */ beq lbl_80289C80 +/* 80289C54 00286BB4 38 69 FF FF */ addi r3, r9, -1 +/* 80289C58 00286BB8 1C 63 00 09 */ mulli r3, r3, 9 +/* 80289C5C 00286BBC 7C 68 1A 14 */ add r3, r8, r3 +/* 80289C60 00286BC0 54 63 08 3C */ slwi r3, r3, 1 +/* 80289C64 00286BC4 38 63 00 05 */ addi r3, r3, 5 +/* 80289C68 00286BC8 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289C6C 00286BCC 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289C70 00286BD0 41 82 00 10 */ beq lbl_80289C80 +/* 80289C74 00286BD4 38 C0 00 00 */ li r6, 0 +/* 80289C78 00286BD8 39 29 FF FF */ addi r9, r9, -1 +/* 80289C7C 00286BDC 48 00 01 00 */ b lbl_80289D7C +lbl_80289C80: +/* 80289C80 00286BE0 2C 09 00 06 */ cmpwi r9, 6 +/* 80289C84 00286BE4 40 80 00 54 */ bge lbl_80289CD8 +/* 80289C88 00286BE8 2C 06 00 00 */ cmpwi r6, 0 +/* 80289C8C 00286BEC 41 82 00 4C */ beq lbl_80289CD8 +/* 80289C90 00286BF0 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289C94 00286BF4 7C 68 1A 14 */ add r3, r8, r3 +/* 80289C98 00286BF8 54 63 08 3C */ slwi r3, r3, 1 +/* 80289C9C 00286BFC 38 63 00 04 */ addi r3, r3, 4 +/* 80289CA0 00286C00 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289CA4 00286C04 54 63 DF FF */ rlwinm. r3, r3, 0x1b, 0x1f, 0x1f +/* 80289CA8 00286C08 41 82 00 30 */ beq lbl_80289CD8 +/* 80289CAC 00286C0C 38 69 00 01 */ addi r3, r9, 1 +/* 80289CB0 00286C10 1C 63 00 09 */ mulli r3, r3, 9 +/* 80289CB4 00286C14 7C 68 1A 14 */ add r3, r8, r3 +/* 80289CB8 00286C18 54 63 08 3C */ slwi r3, r3, 1 +/* 80289CBC 00286C1C 38 63 00 05 */ addi r3, r3, 5 +/* 80289CC0 00286C20 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289CC4 00286C24 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289CC8 00286C28 41 82 00 10 */ beq lbl_80289CD8 +/* 80289CCC 00286C2C 38 C0 00 02 */ li r6, 2 +/* 80289CD0 00286C30 39 29 00 01 */ addi r9, r9, 1 +/* 80289CD4 00286C34 48 00 00 A8 */ b lbl_80289D7C +lbl_80289CD8: +/* 80289CD8 00286C38 2C 08 00 00 */ cmpwi r8, 0 +/* 80289CDC 00286C3C 40 81 00 4C */ ble lbl_80289D28 +/* 80289CE0 00286C40 2C 06 00 01 */ cmpwi r6, 1 +/* 80289CE4 00286C44 41 82 00 44 */ beq lbl_80289D28 +/* 80289CE8 00286C48 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289CEC 00286C4C 7D 48 1A 14 */ add r10, r8, r3 +/* 80289CF0 00286C50 55 43 08 3C */ slwi r3, r10, 1 +/* 80289CF4 00286C54 38 63 00 04 */ addi r3, r3, 4 +/* 80289CF8 00286C58 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289CFC 00286C5C 54 63 E7 FF */ rlwinm. r3, r3, 0x1c, 0x1f, 0x1f +/* 80289D00 00286C60 41 82 00 28 */ beq lbl_80289D28 +/* 80289D04 00286C64 38 6A FF FF */ addi r3, r10, -1 +/* 80289D08 00286C68 54 63 08 3C */ slwi r3, r3, 1 +/* 80289D0C 00286C6C 38 63 00 05 */ addi r3, r3, 5 +/* 80289D10 00286C70 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289D14 00286C74 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289D18 00286C78 41 82 00 10 */ beq lbl_80289D28 +/* 80289D1C 00286C7C 38 C0 00 03 */ li r6, 3 +/* 80289D20 00286C80 39 08 FF FF */ addi r8, r8, -1 +/* 80289D24 00286C84 48 00 00 58 */ b lbl_80289D7C +lbl_80289D28: +/* 80289D28 00286C88 2C 08 00 08 */ cmpwi r8, 8 +/* 80289D2C 00286C8C 40 80 01 B8 */ bge lbl_80289EE4 +/* 80289D30 00286C90 2C 06 00 03 */ cmpwi r6, 3 +/* 80289D34 00286C94 41 82 01 B0 */ beq lbl_80289EE4 +/* 80289D38 00286C98 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289D3C 00286C9C 7C C8 1A 14 */ add r6, r8, r3 +/* 80289D40 00286CA0 54 C3 08 3C */ slwi r3, r6, 1 +/* 80289D44 00286CA4 38 63 00 04 */ addi r3, r3, 4 +/* 80289D48 00286CA8 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289D4C 00286CAC 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289D50 00286CB0 41 82 01 94 */ beq lbl_80289EE4 +/* 80289D54 00286CB4 38 66 00 01 */ addi r3, r6, 1 +/* 80289D58 00286CB8 54 63 08 3C */ slwi r3, r3, 1 +/* 80289D5C 00286CBC 38 63 00 05 */ addi r3, r3, 5 +/* 80289D60 00286CC0 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289D64 00286CC4 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289D68 00286CC8 41 82 01 7C */ beq lbl_80289EE4 +/* 80289D6C 00286CCC 38 C0 00 01 */ li r6, 1 +/* 80289D70 00286CD0 39 08 00 01 */ addi r8, r8, 1 +/* 80289D74 00286CD4 48 00 00 08 */ b lbl_80289D7C +/* 80289D78 00286CD8 48 00 01 6C */ b lbl_80289EE4 +lbl_80289D7C: +/* 80289D7C 00286CDC 7C 07 E0 00 */ cmpw r7, r28 +/* 80289D80 00286CE0 41 82 00 0C */ beq lbl_80289D8C +/* 80289D84 00286CE4 7C 07 20 00 */ cmpw r7, r4 +/* 80289D88 00286CE8 40 82 01 40 */ bne lbl_80289EC8 +lbl_80289D8C: +/* 80289D8C 00286CEC 2C 00 00 00 */ cmpwi r0, 0 +/* 80289D90 00286CF0 41 82 00 1C */ beq lbl_80289DAC +/* 80289D94 00286CF4 2C 05 00 00 */ cmpwi r5, 0 +/* 80289D98 00286CF8 41 82 00 14 */ beq lbl_80289DAC +/* 80289D9C 00286CFC 2C 00 00 08 */ cmpwi r0, 8 +/* 80289DA0 00286D00 41 82 00 0C */ beq lbl_80289DAC +/* 80289DA4 00286D04 2C 05 00 06 */ cmpwi r5, 6 +/* 80289DA8 00286D08 40 82 00 1C */ bne lbl_80289DC4 +lbl_80289DAC: +/* 80289DAC 00286D0C 7C 07 E0 00 */ cmpw r7, r28 +/* 80289DB0 00286D10 40 82 00 0C */ bne lbl_80289DBC +/* 80289DB4 00286D14 3B 9C 00 01 */ addi r28, r28, 1 +/* 80289DB8 00286D18 48 00 01 10 */ b lbl_80289EC8 +lbl_80289DBC: +/* 80289DBC 00286D1C 38 84 00 01 */ addi r4, r4, 1 +/* 80289DC0 00286D20 48 00 01 08 */ b lbl_80289EC8 +lbl_80289DC4: +/* 80289DC4 00286D24 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289DC8 00286D28 39 60 00 01 */ li r11, 1 +/* 80289DCC 00286D2C 2C 06 00 02 */ cmpwi r6, 2 +/* 80289DD0 00286D30 7C 60 1A 14 */ add r3, r0, r3 +/* 80289DD4 00286D34 54 63 08 3C */ slwi r3, r3, 1 +/* 80289DD8 00286D38 7C 7B 1A 14 */ add r3, r27, r3 +/* 80289DDC 00286D3C 89 43 00 05 */ lbz r10, 5(r3) +/* 80289DE0 00286D40 51 6A 3E 30 */ rlwimi r10, r11, 7, 0x18, 0x18 +/* 80289DE4 00286D44 99 43 00 05 */ stb r10, 5(r3) +/* 80289DE8 00286D48 41 82 00 84 */ beq lbl_80289E6C +/* 80289DEC 00286D4C 40 80 00 14 */ bge lbl_80289E00 +/* 80289DF0 00286D50 2C 06 00 00 */ cmpwi r6, 0 +/* 80289DF4 00286D54 41 82 00 18 */ beq lbl_80289E0C +/* 80289DF8 00286D58 40 80 00 44 */ bge lbl_80289E3C +/* 80289DFC 00286D5C 48 00 00 CC */ b lbl_80289EC8 +lbl_80289E00: +/* 80289E00 00286D60 2C 06 00 04 */ cmpwi r6, 4 +/* 80289E04 00286D64 40 80 00 C4 */ bge lbl_80289EC8 +/* 80289E08 00286D68 48 00 00 94 */ b lbl_80289E9C +lbl_80289E0C: +/* 80289E0C 00286D6C 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289E10 00286D70 39 80 00 00 */ li r12, 0 +/* 80289E14 00286D74 7D 48 52 14 */ add r10, r8, r10 +/* 80289E18 00286D78 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289E1C 00286D7C 39 6A 00 04 */ addi r11, r10, 4 +/* 80289E20 00286D80 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289E24 00286D84 51 8A 2E B4 */ rlwimi r10, r12, 5, 0x1a, 0x1a +/* 80289E28 00286D88 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289E2C 00286D8C 89 43 00 04 */ lbz r10, 4(r3) +/* 80289E30 00286D90 51 8A 3E 30 */ rlwimi r10, r12, 7, 0x18, 0x18 +/* 80289E34 00286D94 99 43 00 04 */ stb r10, 4(r3) +/* 80289E38 00286D98 48 00 00 90 */ b lbl_80289EC8 +lbl_80289E3C: +/* 80289E3C 00286D9C 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289E40 00286DA0 39 80 00 00 */ li r12, 0 +/* 80289E44 00286DA4 7D 48 52 14 */ add r10, r8, r10 +/* 80289E48 00286DA8 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289E4C 00286DAC 39 6A 00 04 */ addi r11, r10, 4 +/* 80289E50 00286DB0 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289E54 00286DB4 51 8A 26 F6 */ rlwimi r10, r12, 4, 0x1b, 0x1b +/* 80289E58 00286DB8 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289E5C 00286DBC 89 43 00 04 */ lbz r10, 4(r3) +/* 80289E60 00286DC0 51 8A 36 72 */ rlwimi r10, r12, 6, 0x19, 0x19 +/* 80289E64 00286DC4 99 43 00 04 */ stb r10, 4(r3) +/* 80289E68 00286DC8 48 00 00 60 */ b lbl_80289EC8 +lbl_80289E6C: +/* 80289E6C 00286DCC 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289E70 00286DD0 39 80 00 00 */ li r12, 0 +/* 80289E74 00286DD4 7D 48 52 14 */ add r10, r8, r10 +/* 80289E78 00286DD8 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289E7C 00286DDC 39 6A 00 04 */ addi r11, r10, 4 +/* 80289E80 00286DE0 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289E84 00286DE4 51 8A 3E 30 */ rlwimi r10, r12, 7, 0x18, 0x18 +/* 80289E88 00286DE8 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289E8C 00286DEC 89 43 00 04 */ lbz r10, 4(r3) +/* 80289E90 00286DF0 51 8A 2E B4 */ rlwimi r10, r12, 5, 0x1a, 0x1a +/* 80289E94 00286DF4 99 43 00 04 */ stb r10, 4(r3) +/* 80289E98 00286DF8 48 00 00 30 */ b lbl_80289EC8 +lbl_80289E9C: +/* 80289E9C 00286DFC 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289EA0 00286E00 39 80 00 00 */ li r12, 0 +/* 80289EA4 00286E04 7D 48 52 14 */ add r10, r8, r10 +/* 80289EA8 00286E08 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289EAC 00286E0C 39 6A 00 04 */ addi r11, r10, 4 +/* 80289EB0 00286E10 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289EB4 00286E14 51 8A 36 72 */ rlwimi r10, r12, 6, 0x19, 0x19 +/* 80289EB8 00286E18 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289EBC 00286E1C 89 43 00 04 */ lbz r10, 4(r3) +/* 80289EC0 00286E20 51 8A 26 F6 */ rlwimi r10, r12, 4, 0x1b, 0x1b +/* 80289EC4 00286E24 99 43 00 04 */ stb r10, 4(r3) +lbl_80289EC8: +/* 80289EC8 00286E28 38 E7 00 01 */ addi r7, r7, 1 +lbl_80289ECC: +/* 80289ECC 00286E2C 80 7B 00 8C */ lwz r3, 0x8c(r27) +/* 80289ED0 00286E30 7C 08 18 00 */ cmpw r8, r3 +/* 80289ED4 00286E34 40 82 FC 10 */ bne lbl_80289AE4 +/* 80289ED8 00286E38 80 7B 00 90 */ lwz r3, 0x90(r27) +/* 80289EDC 00286E3C 7C 09 18 00 */ cmpw r9, r3 +/* 80289EE0 00286E40 40 82 FC 04 */ bne lbl_80289AE4 +lbl_80289EE4: +/* 80289EE4 00286E44 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80289EE8 00286E48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80289EEC 00286E4C 7C 08 03 A6 */ mtlr r0 +/* 80289EF0 00286E50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80289EF4 00286E54 4E 80 00 20 */ blr + +.global sub_80289ef8 +sub_80289ef8: +/* 80289EF8 00286E58 1C 05 00 09 */ mulli r0, r5, 9 +/* 80289EFC 00286E5C 7C 65 1B 78 */ mr r5, r3 +/* 80289F00 00286E60 7C 04 02 14 */ add r0, r4, r0 +/* 80289F04 00286E64 54 03 08 3C */ slwi r3, r0, 1 +/* 80289F08 00286E68 38 63 00 04 */ addi r3, r3, 4 +/* 80289F0C 00286E6C 7C 65 1A 14 */ add r3, r5, r3 +/* 80289F10 00286E70 4E 80 00 20 */ blr + +.global sub_80289f14 +sub_80289f14: +/* 80289F14 00286E74 1C 05 00 09 */ mulli r0, r5, 9 +/* 80289F18 00286E78 7C 65 1B 78 */ mr r5, r3 +/* 80289F1C 00286E7C 7C 04 02 14 */ add r0, r4, r0 +/* 80289F20 00286E80 54 03 08 3C */ slwi r3, r0, 1 +/* 80289F24 00286E84 38 63 00 04 */ addi r3, r3, 4 +/* 80289F28 00286E88 7C 65 1A 14 */ add r3, r5, r3 +/* 80289F2C 00286E8C 4E 80 00 20 */ blr + +.global sub_80289f30 +sub_80289f30: +/* 80289F30 00286E90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80289F34 00286E94 7C 08 02 A6 */ mflr r0 +/* 80289F38 00286E98 90 01 00 34 */ stw r0, 0x34(r1) +/* 80289F3C 00286E9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80289F40 00286EA0 3B E0 00 3E */ li r31, 0x3e +/* 80289F44 00286EA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80289F48 00286EA8 3B C0 00 00 */ li r30, 0 +/* 80289F4C 00286EAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80289F50 00286EB0 7C 7D 1B 78 */ mr r29, r3 +/* 80289F54 00286EB4 38 61 00 0C */ addi r3, r1, 0xc +/* 80289F58 00286EB8 93 81 00 20 */ stw r28, 0x20(r1) +/* 80289F5C 00286EBC 48 08 86 91 */ bl __ct__9CRandom16FUi +/* 80289F60 00286EC0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80289F64 00286EC4 38 C0 00 00 */ li r6, 0 +/* 80289F68 00286EC8 38 00 00 07 */ li r0, 7 +/* 80289F6C 00286ECC 7F A3 EB 78 */ mr r3, r29 +/* 80289F70 00286ED0 90 9D 00 00 */ stw r4, 0(r29) +/* 80289F74 00286ED4 38 80 00 00 */ li r4, 0 +/* 80289F78 00286ED8 88 BD 00 94 */ lbz r5, 0x94(r29) +/* 80289F7C 00286EDC 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 +/* 80289F80 00286EE0 98 BD 00 94 */ stb r5, 0x94(r29) +/* 80289F84 00286EE4 7C 09 03 A6 */ mtctr r0 +lbl_80289F88: +/* 80289F88 00286EE8 88 01 00 09 */ lbz r0, 9(r1) +/* 80289F8C 00286EEC 39 40 00 00 */ li r10, 0 +/* 80289F90 00286EF0 51 40 2E B4 */ rlwimi r0, r10, 5, 0x1a, 0x1a +/* 80289F94 00286EF4 88 E1 00 08 */ lbz r7, 8(r1) +/* 80289F98 00286EF8 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 80289F9C 00286EFC 98 01 00 09 */ stb r0, 9(r1) +/* 80289FA0 00286F00 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 80289FA4 00286F04 39 60 00 00 */ li r11, 0 +/* 80289FA8 00286F08 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 80289FAC 00286F0C 98 A1 00 09 */ stb r5, 9(r1) +/* 80289FB0 00286F10 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 +/* 80289FB4 00286F14 38 C0 00 00 */ li r6, 0 +/* 80289FB8 00286F18 50 07 CF FE */ rlwimi r7, r0, 0x19, 0x1f, 0x1f +/* 80289FBC 00286F1C 98 01 00 09 */ stb r0, 9(r1) +/* 80289FC0 00286F20 54 EA 07 FE */ clrlwi r10, r7, 0x1f +/* 80289FC4 00286F24 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 80289FC8 00286F28 98 E1 00 08 */ stb r7, 8(r1) +/* 80289FCC 00286F2C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 80289FD0 00286F30 51 47 0F BC */ rlwimi r7, r10, 1, 0x1e, 0x1e +/* 80289FD4 00286F34 51 65 2E B4 */ rlwimi r5, r11, 5, 0x1a, 0x1a +/* 80289FD8 00286F38 54 E8 06 3E */ clrlwi r8, r7, 0x18 +/* 80289FDC 00286F3C 98 E1 00 08 */ stb r7, 8(r1) +/* 80289FE0 00286F40 50 E8 0F 7A */ rlwimi r8, r7, 1, 0x1d, 0x1d +/* 80289FE4 00286F44 54 AB DF FE */ rlwinm r11, r5, 0x1b, 0x1f, 0x1f +/* 80289FE8 00286F48 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 80289FEC 00286F4C 99 01 00 08 */ stb r8, 8(r1) +/* 80289FF0 00286F50 51 07 0F 38 */ rlwimi r7, r8, 1, 0x1c, 0x1c +/* 80289FF4 00286F54 98 A1 00 09 */ stb r5, 9(r1) +/* 80289FF8 00286F58 54 EA EF FE */ rlwinm r10, r7, 0x1d, 0x1f, 0x1f +/* 80289FFC 00286F5C 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8028A000 00286F60 51 65 36 72 */ rlwimi r5, r11, 6, 0x19, 0x19 +/* 8028A004 00286F64 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A008 00286F68 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A00C 00286F6C 51 47 26 F6 */ rlwimi r7, r10, 4, 0x1b, 0x1b +/* 8028A010 00286F70 54 A9 06 3E */ clrlwi r9, r5, 0x18 +/* 8028A014 00286F74 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A018 00286F78 54 EA E7 FE */ rlwinm r10, r7, 0x1c, 0x1f, 0x1f +/* 8028A01C 00286F7C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A020 00286F80 50 A9 0E 30 */ rlwimi r9, r5, 1, 0x18, 0x18 +/* 8028A024 00286F84 51 47 2E B4 */ rlwimi r7, r10, 5, 0x1a, 0x1a +/* 8028A028 00286F88 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A02C 00286F8C 54 EA DF FE */ rlwinm r10, r7, 0x1b, 0x1f, 0x1f +/* 8028A030 00286F90 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A034 00286F94 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A038 00286F98 51 45 36 72 */ rlwimi r5, r10, 6, 0x19, 0x19 +/* 8028A03C 00286F9C 55 27 06 3E */ clrlwi r7, r9, 0x18 +/* 8028A040 00286FA0 54 AC 06 3E */ clrlwi r12, r5, 0x18 +/* 8028A044 00286FA4 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A048 00286FA8 50 AC 0E 30 */ rlwimi r12, r5, 1, 0x18, 0x18 +/* 8028A04C 00286FAC 50 C7 2E B4 */ rlwimi r7, r6, 5, 0x1a, 0x1a +/* 8028A050 00286FB0 55 88 06 3E */ clrlwi r8, r12, 0x18 +/* 8028A054 00286FB4 99 21 00 09 */ stb r9, 9(r1) +/* 8028A058 00286FB8 51 28 CF FE */ rlwimi r8, r9, 0x19, 0x1f, 0x1f +/* 8028A05C 00286FBC 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A060 00286FC0 99 81 00 08 */ stb r12, 8(r1) +/* 8028A064 00286FC4 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 +/* 8028A068 00286FC8 55 0B 07 FE */ clrlwi r11, r8, 0x1f +/* 8028A06C 00286FCC 99 01 00 08 */ stb r8, 8(r1) +/* 8028A070 00286FD0 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A074 00286FD4 51 68 0F BC */ rlwimi r8, r11, 1, 0x1e, 0x1e +/* 8028A078 00286FD8 54 AA 06 3E */ clrlwi r10, r5, 0x18 +/* 8028A07C 00286FDC 98 E1 00 09 */ stb r7, 9(r1) +/* 8028A080 00286FE0 55 0B FF FE */ rlwinm r11, r8, 0x1f, 0x1f, 0x1f +/* 8028A084 00286FE4 50 AA 0E 30 */ rlwimi r10, r5, 1, 0x18, 0x18 +/* 8028A088 00286FE8 99 01 00 08 */ stb r8, 8(r1) +/* 8028A08C 00286FEC 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A090 00286FF0 51 68 17 7A */ rlwimi r8, r11, 2, 0x1d, 0x1d +/* 8028A094 00286FF4 99 83 00 04 */ stb r12, 4(r3) +/* 8028A098 00286FF8 55 0B F7 FE */ rlwinm r11, r8, 0x1e, 0x1f, 0x1f +/* 8028A09C 00286FFC 99 01 00 08 */ stb r8, 8(r1) +/* 8028A0A0 00287000 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A0A4 00287004 51 68 1F 38 */ rlwimi r8, r11, 3, 0x1c, 0x1c +/* 8028A0A8 00287008 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 8028A0AC 0028700C 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A0B0 00287010 51 07 0E F6 */ rlwimi r7, r8, 1, 0x1b, 0x1b +/* 8028A0B4 00287014 99 01 00 08 */ stb r8, 8(r1) +/* 8028A0B8 00287018 54 EB E7 FE */ rlwinm r11, r7, 0x1c, 0x1f, 0x1f +/* 8028A0BC 0028701C 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A0C0 00287020 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A0C4 00287024 51 67 2E B4 */ rlwimi r7, r11, 5, 0x1a, 0x1a +/* 8028A0C8 00287028 98 03 00 05 */ stb r0, 5(r3) +/* 8028A0CC 0028702C 54 E0 06 3E */ clrlwi r0, r7, 0x18 +/* 8028A0D0 00287030 50 E0 0E 72 */ rlwimi r0, r7, 1, 0x19, 0x19 +/* 8028A0D4 00287034 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A0D8 00287038 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A0DC 0028703C 50 05 0E 30 */ rlwimi r5, r0, 1, 0x18, 0x18 +/* 8028A0E0 00287040 98 01 00 08 */ stb r0, 8(r1) +/* 8028A0E4 00287044 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A0E8 00287048 51 40 CF FE */ rlwimi r0, r10, 0x19, 0x1f, 0x1f +/* 8028A0EC 0028704C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A0F0 00287050 98 A3 00 06 */ stb r5, 6(r3) +/* 8028A0F4 00287054 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A0F8 00287058 50 05 0F BC */ rlwimi r5, r0, 1, 0x1e, 0x1e +/* 8028A0FC 0028705C 98 01 00 08 */ stb r0, 8(r1) +/* 8028A100 00287060 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A104 00287064 50 A0 0F 7A */ rlwimi r0, r5, 1, 0x1d, 0x1d +/* 8028A108 00287068 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A10C 0028706C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A110 00287070 50 05 0F 38 */ rlwimi r5, r0, 1, 0x1c, 0x1c +/* 8028A114 00287074 98 01 00 08 */ stb r0, 8(r1) +/* 8028A118 00287078 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A11C 0028707C 50 A0 0E F6 */ rlwimi r0, r5, 1, 0x1b, 0x1b +/* 8028A120 00287080 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A124 00287084 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A128 00287088 50 05 0E B4 */ rlwimi r5, r0, 1, 0x1a, 0x1a +/* 8028A12C 0028708C 98 01 00 08 */ stb r0, 8(r1) +/* 8028A130 00287090 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A134 00287094 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 +/* 8028A138 00287098 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A13C 0028709C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A140 002870A0 50 05 0E 30 */ rlwimi r5, r0, 1, 0x18, 0x18 +/* 8028A144 002870A4 98 01 00 08 */ stb r0, 8(r1) +/* 8028A148 002870A8 99 23 00 07 */ stb r9, 7(r3) +/* 8028A14C 002870AC 99 41 00 09 */ stb r10, 9(r1) +/* 8028A150 002870B0 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A154 002870B4 39 20 00 00 */ li r9, 0 +/* 8028A158 002870B8 55 40 06 3E */ clrlwi r0, r10, 0x18 +/* 8028A15C 002870BC 51 20 2E B4 */ rlwimi r0, r9, 5, 0x1a, 0x1a +/* 8028A160 002870C0 98 A3 00 08 */ stb r5, 8(r3) +/* 8028A164 002870C4 54 A8 06 3E */ clrlwi r8, r5, 0x18 +/* 8028A168 002870C8 39 80 00 00 */ li r12, 0 +/* 8028A16C 002870CC 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A170 002870D0 98 01 00 09 */ stb r0, 9(r1) +/* 8028A174 002870D4 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 8028A178 002870D8 38 C0 00 00 */ li r6, 0 +/* 8028A17C 002870DC 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A180 002870E0 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A184 002870E4 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 +/* 8028A188 002870E8 50 08 CF FE */ rlwimi r8, r0, 0x19, 0x1f, 0x1f +/* 8028A18C 002870EC 98 01 00 09 */ stb r0, 9(r1) +/* 8028A190 002870F0 55 09 07 FE */ clrlwi r9, r8, 0x1f +/* 8028A194 002870F4 54 07 06 3E */ clrlwi r7, r0, 0x18 +/* 8028A198 002870F8 99 01 00 08 */ stb r8, 8(r1) +/* 8028A19C 002870FC 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A1A0 00287100 51 28 0F BC */ rlwimi r8, r9, 1, 0x1e, 0x1e +/* 8028A1A4 00287104 51 87 2E B4 */ rlwimi r7, r12, 5, 0x1a, 0x1a +/* 8028A1A8 00287108 55 05 06 3E */ clrlwi r5, r8, 0x18 +/* 8028A1AC 0028710C 99 01 00 08 */ stb r8, 8(r1) +/* 8028A1B0 00287110 51 05 0F 7A */ rlwimi r5, r8, 1, 0x1d, 0x1d +/* 8028A1B4 00287114 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A1B8 00287118 54 A9 F7 FE */ rlwinm r9, r5, 0x1e, 0x1f, 0x1f +/* 8028A1BC 0028711C 54 A8 06 3E */ clrlwi r8, r5, 0x18 +/* 8028A1C0 00287120 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A1C4 00287124 51 28 1F 38 */ rlwimi r8, r9, 3, 0x1c, 0x1c +/* 8028A1C8 00287128 98 E1 00 09 */ stb r7, 9(r1) +/* 8028A1CC 0028712C 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 +/* 8028A1D0 00287130 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 8028A1D4 00287134 99 01 00 08 */ stb r8, 8(r1) +/* 8028A1D8 00287138 51 07 0E F6 */ rlwimi r7, r8, 1, 0x1b, 0x1b +/* 8028A1DC 0028713C 54 AB 06 3E */ clrlwi r11, r5, 0x18 +/* 8028A1E0 00287140 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A1E4 00287144 54 E9 E7 FE */ rlwinm r9, r7, 0x1c, 0x1f, 0x1f +/* 8028A1E8 00287148 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A1EC 0028714C 50 AB 0E 30 */ rlwimi r11, r5, 1, 0x18, 0x18 +/* 8028A1F0 00287150 51 27 2E B4 */ rlwimi r7, r9, 5, 0x1a, 0x1a +/* 8028A1F4 00287154 99 43 00 09 */ stb r10, 9(r3) +/* 8028A1F8 00287158 54 E9 DF FE */ rlwinm r9, r7, 0x1b, 0x1f, 0x1f +/* 8028A1FC 0028715C 54 E8 06 3E */ clrlwi r8, r7, 0x18 +/* 8028A200 00287160 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A204 00287164 51 28 36 72 */ rlwimi r8, r9, 6, 0x19, 0x19 +/* 8028A208 00287168 55 67 06 3E */ clrlwi r7, r11, 0x18 +/* 8028A20C 0028716C 55 0A 06 3E */ clrlwi r10, r8, 0x18 +/* 8028A210 00287170 99 01 00 08 */ stb r8, 8(r1) +/* 8028A214 00287174 51 0A 0E 30 */ rlwimi r10, r8, 1, 0x18, 0x18 +/* 8028A218 00287178 50 C7 2E B4 */ rlwimi r7, r6, 5, 0x1a, 0x1a +/* 8028A21C 0028717C 55 48 06 3E */ clrlwi r8, r10, 0x18 +/* 8028A220 00287180 99 43 00 0A */ stb r10, 0xa(r3) +/* 8028A224 00287184 51 68 CF FE */ rlwimi r8, r11, 0x19, 0x1f, 0x1f +/* 8028A228 00287188 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A22C 0028718C 55 09 06 3E */ clrlwi r9, r8, 0x18 +/* 8028A230 00287190 51 09 0F BC */ rlwimi r9, r8, 1, 0x1e, 0x1e +/* 8028A234 00287194 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A238 00287198 99 41 00 08 */ stb r10, 8(r1) +/* 8028A23C 0028719C 55 2C FF FE */ rlwinm r12, r9, 0x1f, 0x1f, 0x1f +/* 8028A240 002871A0 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 +/* 8028A244 002871A4 99 01 00 08 */ stb r8, 8(r1) +/* 8028A248 002871A8 54 A8 06 3E */ clrlwi r8, r5, 0x18 +/* 8028A24C 002871AC 50 A8 0E 30 */ rlwimi r8, r5, 1, 0x18, 0x18 +/* 8028A250 002871B0 99 21 00 08 */ stb r9, 8(r1) +/* 8028A254 002871B4 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 8028A258 002871B8 51 89 17 7A */ rlwimi r9, r12, 2, 0x1d, 0x1d +/* 8028A25C 002871BC 55 2A 06 3E */ clrlwi r10, r9, 0x18 +/* 8028A260 002871C0 99 61 00 09 */ stb r11, 9(r1) +/* 8028A264 002871C4 51 2A 0F 38 */ rlwimi r10, r9, 1, 0x1c, 0x1c +/* 8028A268 002871C8 99 21 00 08 */ stb r9, 8(r1) +/* 8028A26C 002871CC 55 49 06 3E */ clrlwi r9, r10, 0x18 +/* 8028A270 002871D0 51 49 0E F6 */ rlwimi r9, r10, 1, 0x1b, 0x1b +/* 8028A274 002871D4 99 41 00 08 */ stb r10, 8(r1) +/* 8028A278 002871D8 55 2C E7 FE */ rlwinm r12, r9, 0x1c, 0x1f, 0x1f +/* 8028A27C 002871DC 99 21 00 08 */ stb r9, 8(r1) +/* 8028A280 002871E0 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 8028A284 002871E4 51 89 2E B4 */ rlwimi r9, r12, 5, 0x1a, 0x1a +/* 8028A288 002871E8 98 E1 00 09 */ stb r7, 9(r1) +/* 8028A28C 002871EC 55 27 06 3E */ clrlwi r7, r9, 0x18 +/* 8028A290 002871F0 51 27 0E 72 */ rlwimi r7, r9, 1, 0x19, 0x19 +/* 8028A294 002871F4 99 21 00 08 */ stb r9, 8(r1) +/* 8028A298 002871F8 54 E9 06 3E */ clrlwi r9, r7, 0x18 +/* 8028A29C 002871FC 50 E9 0E 30 */ rlwimi r9, r7, 1, 0x18, 0x18 +/* 8028A2A0 00287200 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A2A4 00287204 55 27 06 3E */ clrlwi r7, r9, 0x18 +/* 8028A2A8 00287208 51 07 CF FE */ rlwimi r7, r8, 0x19, 0x1f, 0x1f +/* 8028A2AC 0028720C 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A2B0 00287210 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A2B4 00287214 50 E5 0F BC */ rlwimi r5, r7, 1, 0x1e, 0x1e +/* 8028A2B8 00287218 98 03 00 0B */ stb r0, 0xb(r3) +/* 8028A2BC 0028721C 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A2C0 00287220 50 A0 0F 7A */ rlwimi r0, r5, 1, 0x1d, 0x1d +/* 8028A2C4 00287224 99 21 00 08 */ stb r9, 8(r1) +/* 8028A2C8 00287228 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A2CC 0028722C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A2D0 00287230 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A2D4 00287234 50 05 0F 38 */ rlwimi r5, r0, 1, 0x1c, 0x1c +/* 8028A2D8 00287238 98 01 00 08 */ stb r0, 8(r1) +/* 8028A2DC 0028723C 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A2E0 00287240 50 A0 0E F6 */ rlwimi r0, r5, 1, 0x1b, 0x1b +/* 8028A2E4 00287244 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A2E8 00287248 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A2EC 0028724C 50 05 0E B4 */ rlwimi r5, r0, 1, 0x1a, 0x1a +/* 8028A2F0 00287250 98 01 00 08 */ stb r0, 8(r1) +/* 8028A2F4 00287254 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A2F8 00287258 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 +/* 8028A2FC 0028725C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A300 00287260 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f +/* 8028A304 00287264 99 23 00 0C */ stb r9, 0xc(r3) +/* 8028A308 00287268 98 01 00 08 */ stb r0, 8(r1) +/* 8028A30C 0028726C 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A310 00287270 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8028A314 00287274 99 63 00 0D */ stb r11, 0xd(r3) +/* 8028A318 00287278 99 01 00 09 */ stb r8, 9(r1) +/* 8028A31C 0028727C 98 01 00 08 */ stb r0, 8(r1) +/* 8028A320 00287280 39 40 00 00 */ li r10, 0 +/* 8028A324 00287284 55 05 06 3E */ clrlwi r5, r8, 0x18 +/* 8028A328 00287288 51 45 2E B4 */ rlwimi r5, r10, 5, 0x1a, 0x1a +/* 8028A32C 0028728C 98 03 00 0E */ stb r0, 0xe(r3) +/* 8028A330 00287290 54 06 06 3E */ clrlwi r6, r0, 0x18 +/* 8028A334 00287294 38 E0 00 00 */ li r7, 0 +/* 8028A338 00287298 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A33C 0028729C 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A340 002872A0 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 +/* 8028A344 002872A4 38 84 00 08 */ addi r4, r4, 8 +/* 8028A348 002872A8 54 09 06 3E */ clrlwi r9, r0, 0x18 +/* 8028A34C 002872AC 98 01 00 09 */ stb r0, 9(r1) +/* 8028A350 002872B0 50 09 0E 30 */ rlwimi r9, r0, 1, 0x18, 0x18 +/* 8028A354 002872B4 51 26 CF FE */ rlwimi r6, r9, 0x19, 0x1f, 0x1f +/* 8028A358 002872B8 99 03 00 0F */ stb r8, 0xf(r3) +/* 8028A35C 002872BC 54 CA 07 FE */ clrlwi r10, r6, 0x1f +/* 8028A360 002872C0 55 20 06 3E */ clrlwi r0, r9, 0x18 +/* 8028A364 002872C4 98 C1 00 08 */ stb r6, 8(r1) +/* 8028A368 002872C8 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8028A36C 002872CC 51 46 0F BC */ rlwimi r6, r10, 1, 0x1e, 0x1e +/* 8028A370 002872D0 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 8028A374 002872D4 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 8028A378 002872D8 98 C1 00 08 */ stb r6, 8(r1) +/* 8028A37C 002872DC 50 C5 0F 7A */ rlwimi r5, r6, 1, 0x1d, 0x1d +/* 8028A380 002872E0 99 21 00 09 */ stb r9, 9(r1) +/* 8028A384 002872E4 54 AA F7 FE */ rlwinm r10, r5, 0x1e, 0x1f, 0x1f +/* 8028A388 002872E8 54 A6 06 3E */ clrlwi r6, r5, 0x18 +/* 8028A38C 002872EC 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A390 002872F0 51 46 1F 38 */ rlwimi r6, r10, 3, 0x1c, 0x1c +/* 8028A394 002872F4 54 C8 06 3E */ clrlwi r8, r6, 0x18 +/* 8028A398 002872F8 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A39C 002872FC 98 C1 00 08 */ stb r6, 8(r1) +/* 8028A3A0 00287300 50 C8 0E F6 */ rlwimi r8, r6, 1, 0x1b, 0x1b +/* 8028A3A4 00287304 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 8028A3A8 00287308 98 01 00 09 */ stb r0, 9(r1) +/* 8028A3AC 0028730C 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8028A3B0 00287310 54 A6 06 3E */ clrlwi r6, r5, 0x18 +/* 8028A3B4 00287314 99 01 00 08 */ stb r8, 8(r1) +/* 8028A3B8 00287318 51 00 0E B4 */ rlwimi r0, r8, 1, 0x1a, 0x1a +/* 8028A3BC 0028731C 54 08 06 3E */ clrlwi r8, r0, 0x18 +/* 8028A3C0 00287320 50 A6 0E 30 */ rlwimi r6, r5, 1, 0x18, 0x18 +/* 8028A3C4 00287324 98 01 00 08 */ stb r0, 8(r1) +/* 8028A3C8 00287328 50 08 0E 72 */ rlwimi r8, r0, 1, 0x19, 0x19 +/* 8028A3CC 0028732C 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8028A3D0 00287330 51 00 0E 30 */ rlwimi r0, r8, 1, 0x18, 0x18 +/* 8028A3D4 00287334 99 01 00 08 */ stb r8, 8(r1) +/* 8028A3D8 00287338 54 08 06 3E */ clrlwi r8, r0, 0x18 +/* 8028A3DC 0028733C 98 03 00 10 */ stb r0, 0x10(r3) +/* 8028A3E0 00287340 50 C8 CF FE */ rlwimi r8, r6, 0x19, 0x1f, 0x1f +/* 8028A3E4 00287344 98 01 00 08 */ stb r0, 8(r1) +/* 8028A3E8 00287348 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8028A3EC 0028734C 51 00 0F BC */ rlwimi r0, r8, 1, 0x1e, 0x1e +/* 8028A3F0 00287350 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A3F4 00287354 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A3F8 00287358 50 05 0F 7A */ rlwimi r5, r0, 1, 0x1d, 0x1d +/* 8028A3FC 0028735C 99 01 00 08 */ stb r8, 8(r1) +/* 8028A400 00287360 98 01 00 08 */ stb r0, 8(r1) +/* 8028A404 00287364 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A408 00287368 50 A0 0F 38 */ rlwimi r0, r5, 1, 0x1c, 0x1c +/* 8028A40C 0028736C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A410 00287370 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A414 00287374 50 05 0E F6 */ rlwimi r5, r0, 1, 0x1b, 0x1b +/* 8028A418 00287378 98 01 00 08 */ stb r0, 8(r1) +/* 8028A41C 0028737C 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A420 00287380 50 A0 0E B4 */ rlwimi r0, r5, 1, 0x1a, 0x1a +/* 8028A424 00287384 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A428 00287388 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A42C 0028738C 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 8028A430 00287390 98 01 00 08 */ stb r0, 8(r1) +/* 8028A434 00287394 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A438 00287398 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 +/* 8028A43C 0028739C 99 23 00 11 */ stb r9, 0x11(r3) +/* 8028A440 002873A0 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A444 002873A4 98 03 00 12 */ stb r0, 0x12(r3) +/* 8028A448 002873A8 98 C3 00 13 */ stb r6, 0x13(r3) +/* 8028A44C 002873AC 38 63 00 10 */ addi r3, r3, 0x10 +/* 8028A450 002873B0 98 C1 00 09 */ stb r6, 9(r1) +/* 8028A454 002873B4 98 01 00 08 */ stb r0, 8(r1) +/* 8028A458 002873B8 42 00 FB 30 */ bdnz lbl_80289F88 +/* 8028A45C 002873BC 54 83 08 3C */ slwi r3, r4, 1 +/* 8028A460 002873C0 20 04 00 3F */ subfic r0, r4, 0x3f +/* 8028A464 002873C4 7C BD 1A 14 */ add r5, r29, r3 +/* 8028A468 002873C8 7C 09 03 A6 */ mtctr r0 +/* 8028A46C 002873CC 2C 04 00 3F */ cmpwi r4, 0x3f +/* 8028A470 002873D0 40 80 04 00 */ bge lbl_8028A870 +lbl_8028A474: +/* 8028A474 002873D4 88 61 00 09 */ lbz r3, 9(r1) +/* 8028A478 002873D8 38 80 00 00 */ li r4, 0 +/* 8028A47C 002873DC 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a +/* 8028A480 002873E0 88 01 00 08 */ lbz r0, 8(r1) +/* 8028A484 002873E4 54 64 DF FE */ rlwinm r4, r3, 0x1b, 0x1f, 0x1f +/* 8028A488 002873E8 98 61 00 09 */ stb r3, 9(r1) +/* 8028A48C 002873EC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8028A490 002873F0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 8028A494 002873F4 54 64 D7 FE */ rlwinm r4, r3, 0x1a, 0x1f, 0x1f +/* 8028A498 002873F8 98 61 00 09 */ stb r3, 9(r1) +/* 8028A49C 002873FC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8028A4A0 00287400 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 8028A4A4 00287404 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f +/* 8028A4A8 00287408 98 61 00 09 */ stb r3, 9(r1) +/* 8028A4AC 0028740C 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 8028A4B0 00287410 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4B4 00287414 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4B8 00287418 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8028A4BC 0028741C 54 04 FF FE */ rlwinm r4, r0, 0x1f, 0x1f, 0x1f +/* 8028A4C0 00287420 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4C4 00287424 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4C8 00287428 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8028A4CC 0028742C 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f +/* 8028A4D0 00287430 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4D4 00287434 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4D8 00287438 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8028A4DC 0028743C 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f +/* 8028A4E0 00287440 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4E4 00287444 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4E8 00287448 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8028A4EC 0028744C 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f +/* 8028A4F0 00287450 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4F4 00287454 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4F8 00287458 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8028A4FC 0028745C 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8028A500 00287460 98 01 00 08 */ stb r0, 8(r1) +/* 8028A504 00287464 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A508 00287468 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8028A50C 0028746C 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8028A510 00287470 98 01 00 08 */ stb r0, 8(r1) +/* 8028A514 00287474 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A518 00287478 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A51C 0028747C 98 05 00 04 */ stb r0, 4(r5) +/* 8028A520 00287480 98 65 00 05 */ stb r3, 5(r5) +/* 8028A524 00287484 38 A5 00 02 */ addi r5, r5, 2 +/* 8028A528 00287488 98 01 00 08 */ stb r0, 8(r1) +/* 8028A52C 0028748C 42 00 FF 48 */ bdnz lbl_8028A474 +/* 8028A530 00287490 48 00 03 40 */ b lbl_8028A870 +lbl_8028A534: +/* 8028A534 00287494 34 1E FF F7 */ addic. r0, r30, -9 +/* 8028A538 00287498 3B 80 00 00 */ li r28, 0 +/* 8028A53C 0028749C 40 81 00 58 */ ble lbl_8028A594 +/* 8028A540 002874A0 38 1E FF F7 */ addi r0, r30, -9 +/* 8028A544 002874A4 38 80 00 00 */ li r4, 0 +/* 8028A548 002874A8 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A54C 002874AC 38 03 00 04 */ addi r0, r3, 4 +/* 8028A550 002874B0 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A554 002874B4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A558 002874B8 40 82 00 20 */ bne lbl_8028A578 +/* 8028A55C 002874BC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A560 002874C0 40 82 00 18 */ bne lbl_8028A578 +/* 8028A564 002874C4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A568 002874C8 40 82 00 10 */ bne lbl_8028A578 +/* 8028A56C 002874CC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A570 002874D0 40 82 00 08 */ bne lbl_8028A578 +/* 8028A574 002874D4 38 80 00 01 */ li r4, 1 +lbl_8028A578: +/* 8028A578 002874D8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A57C 002874DC 41 82 00 18 */ beq lbl_8028A594 +/* 8028A580 002874E0 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A584 002874E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A588 002874E8 38 80 00 00 */ li r4, 0 +/* 8028A58C 002874EC 3B 80 00 01 */ li r28, 1 +/* 8028A590 002874F0 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A594: +/* 8028A594 002874F4 2C 1E 00 3D */ cmpwi r30, 0x3d +/* 8028A598 002874F8 40 80 00 7C */ bge lbl_8028A614 +/* 8028A59C 002874FC 3C 60 38 E4 */ lis r3, 0x38E38E39@ha +/* 8028A5A0 00287500 38 9E 00 01 */ addi r4, r30, 1 +/* 8028A5A4 00287504 38 03 8E 39 */ addi r0, r3, 0x38E38E39@l +/* 8028A5A8 00287508 7C 00 20 96 */ mulhw r0, r0, r4 +/* 8028A5AC 0028750C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8028A5B0 00287510 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8028A5B4 00287514 7C 00 1A 14 */ add r0, r0, r3 +/* 8028A5B8 00287518 1C 00 00 09 */ mulli r0, r0, 9 +/* 8028A5BC 0028751C 7C 00 20 51 */ subf. r0, r0, r4 +/* 8028A5C0 00287520 41 82 00 54 */ beq lbl_8028A614 +/* 8028A5C4 00287524 54 83 08 3C */ slwi r3, r4, 1 +/* 8028A5C8 00287528 38 80 00 00 */ li r4, 0 +/* 8028A5CC 0028752C 38 03 00 04 */ addi r0, r3, 4 +/* 8028A5D0 00287530 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A5D4 00287534 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A5D8 00287538 40 82 00 20 */ bne lbl_8028A5F8 +/* 8028A5DC 0028753C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A5E0 00287540 40 82 00 18 */ bne lbl_8028A5F8 +/* 8028A5E4 00287544 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A5E8 00287548 40 82 00 10 */ bne lbl_8028A5F8 +/* 8028A5EC 0028754C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A5F0 00287550 40 82 00 08 */ bne lbl_8028A5F8 +/* 8028A5F4 00287554 38 80 00 01 */ li r4, 1 +lbl_8028A5F8: +/* 8028A5F8 00287558 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A5FC 0028755C 41 82 00 18 */ beq lbl_8028A614 +/* 8028A600 00287560 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A604 00287564 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A608 00287568 38 80 00 01 */ li r4, 1 +/* 8028A60C 0028756C 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028A610 00287570 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A614: +/* 8028A614 00287574 38 1E 00 09 */ addi r0, r30, 9 +/* 8028A618 00287578 2C 00 00 3E */ cmpwi r0, 0x3e +/* 8028A61C 0028757C 41 81 00 54 */ bgt lbl_8028A670 +/* 8028A620 00287580 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A624 00287584 38 80 00 00 */ li r4, 0 +/* 8028A628 00287588 38 03 00 04 */ addi r0, r3, 4 +/* 8028A62C 0028758C 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A630 00287590 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A634 00287594 40 82 00 20 */ bne lbl_8028A654 +/* 8028A638 00287598 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A63C 0028759C 40 82 00 18 */ bne lbl_8028A654 +/* 8028A640 002875A0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A644 002875A4 40 82 00 10 */ bne lbl_8028A654 +/* 8028A648 002875A8 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A64C 002875AC 40 82 00 08 */ bne lbl_8028A654 +/* 8028A650 002875B0 38 80 00 01 */ li r4, 1 +lbl_8028A654: +/* 8028A654 002875B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A658 002875B8 41 82 00 18 */ beq lbl_8028A670 +/* 8028A65C 002875BC 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A660 002875C0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A664 002875C4 38 80 00 02 */ li r4, 2 +/* 8028A668 002875C8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028A66C 002875CC 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A670: +/* 8028A670 002875D0 2C 1E 00 00 */ cmpwi r30, 0 +/* 8028A674 002875D4 40 81 00 7C */ ble lbl_8028A6F0 +/* 8028A678 002875D8 3C 60 38 E4 */ lis r3, 0x38E38E39@ha +/* 8028A67C 002875DC 38 03 8E 39 */ addi r0, r3, 0x38E38E39@l +/* 8028A680 002875E0 7C 00 F0 96 */ mulhw r0, r0, r30 +/* 8028A684 002875E4 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8028A688 002875E8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8028A68C 002875EC 7C 00 1A 14 */ add r0, r0, r3 +/* 8028A690 002875F0 1C 00 00 09 */ mulli r0, r0, 9 +/* 8028A694 002875F4 7C 00 F0 51 */ subf. r0, r0, r30 +/* 8028A698 002875F8 41 82 00 58 */ beq lbl_8028A6F0 +/* 8028A69C 002875FC 38 1E FF FF */ addi r0, r30, -1 +/* 8028A6A0 00287600 38 80 00 00 */ li r4, 0 +/* 8028A6A4 00287604 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A6A8 00287608 38 03 00 04 */ addi r0, r3, 4 +/* 8028A6AC 0028760C 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A6B0 00287610 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A6B4 00287614 40 82 00 20 */ bne lbl_8028A6D4 +/* 8028A6B8 00287618 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A6BC 0028761C 40 82 00 18 */ bne lbl_8028A6D4 +/* 8028A6C0 00287620 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A6C4 00287624 40 82 00 10 */ bne lbl_8028A6D4 +/* 8028A6C8 00287628 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A6CC 0028762C 40 82 00 08 */ bne lbl_8028A6D4 +/* 8028A6D0 00287630 38 80 00 01 */ li r4, 1 +lbl_8028A6D4: +/* 8028A6D4 00287634 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A6D8 00287638 41 82 00 18 */ beq lbl_8028A6F0 +/* 8028A6DC 0028763C 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A6E0 00287640 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A6E4 00287644 38 80 00 03 */ li r4, 3 +/* 8028A6E8 00287648 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028A6EC 0028764C 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A6F0: +/* 8028A6F0 00287650 2C 1C 00 00 */ cmpwi r28, 0 +/* 8028A6F4 00287654 41 82 01 30 */ beq lbl_8028A824 +/* 8028A6F8 00287658 7F A3 EB 78 */ mr r3, r29 +/* 8028A6FC 0028765C 3B FF FF FF */ addi r31, r31, -1 +/* 8028A700 00287660 48 08 7E 21 */ bl Next__9CRandom16Fv +/* 8028A704 00287664 7C 03 E3 96 */ divwu r0, r3, r28 +/* 8028A708 00287668 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028A70C 0028766C 7C 00 E1 D6 */ mullw r0, r0, r28 +/* 8028A710 00287670 7C 00 18 50 */ subf r0, r0, r3 +/* 8028A714 00287674 54 00 10 3A */ slwi r0, r0, 2 +/* 8028A718 00287678 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8028A71C 0028767C 2C 00 00 02 */ cmpwi r0, 2 +/* 8028A720 00287680 41 82 00 94 */ beq lbl_8028A7B4 +/* 8028A724 00287684 40 80 00 14 */ bge lbl_8028A738 +/* 8028A728 00287688 2C 00 00 00 */ cmpwi r0, 0 +/* 8028A72C 0028768C 41 82 00 18 */ beq lbl_8028A744 +/* 8028A730 00287690 40 80 00 4C */ bge lbl_8028A77C +/* 8028A734 00287694 48 00 01 3C */ b lbl_8028A870 +lbl_8028A738: +/* 8028A738 00287698 2C 00 00 04 */ cmpwi r0, 4 +/* 8028A73C 0028769C 40 80 01 34 */ bge lbl_8028A870 +/* 8028A740 002876A0 48 00 00 AC */ b lbl_8028A7EC +lbl_8028A744: +/* 8028A744 002876A4 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A748 002876A8 38 1E FF F7 */ addi r0, r30, -9 +/* 8028A74C 002876AC 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A750 002876B0 38 C0 00 01 */ li r6, 1 +/* 8028A754 002876B4 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A758 002876B8 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 +/* 8028A75C 002876BC 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A760 002876C0 3B DE FF F7 */ addi r30, r30, -9 +/* 8028A764 002876C4 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A768 002876C8 38 63 00 04 */ addi r3, r3, 4 +/* 8028A76C 002876CC 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A770 002876D0 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8028A774 002876D4 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A778 002876D8 48 00 00 F8 */ b lbl_8028A870 +lbl_8028A77C: +/* 8028A77C 002876DC 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A780 002876E0 38 1E 00 01 */ addi r0, r30, 1 +/* 8028A784 002876E4 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A788 002876E8 38 C0 00 01 */ li r6, 1 +/* 8028A78C 002876EC 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A790 002876F0 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 +/* 8028A794 002876F4 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A798 002876F8 3B DE 00 01 */ addi r30, r30, 1 +/* 8028A79C 002876FC 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A7A0 00287700 38 63 00 04 */ addi r3, r3, 4 +/* 8028A7A4 00287704 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A7A8 00287708 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8028A7AC 0028770C 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A7B0 00287710 48 00 00 C0 */ b lbl_8028A870 +lbl_8028A7B4: +/* 8028A7B4 00287714 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A7B8 00287718 38 1E 00 09 */ addi r0, r30, 9 +/* 8028A7BC 0028771C 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A7C0 00287720 38 C0 00 01 */ li r6, 1 +/* 8028A7C4 00287724 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A7C8 00287728 50 C4 2E B4 */ rlwimi r4, r6, 5, 0x1a, 0x1a +/* 8028A7CC 0028772C 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A7D0 00287730 3B DE 00 09 */ addi r30, r30, 9 +/* 8028A7D4 00287734 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A7D8 00287738 38 63 00 04 */ addi r3, r3, 4 +/* 8028A7DC 0028773C 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A7E0 00287740 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8028A7E4 00287744 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A7E8 00287748 48 00 00 88 */ b lbl_8028A870 +lbl_8028A7EC: +/* 8028A7EC 0028774C 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A7F0 00287750 38 1E FF FF */ addi r0, r30, -1 +/* 8028A7F4 00287754 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A7F8 00287758 38 C0 00 01 */ li r6, 1 +/* 8028A7FC 0028775C 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A800 00287760 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b +/* 8028A804 00287764 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A808 00287768 3B DE FF FF */ addi r30, r30, -1 +/* 8028A80C 0028776C 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A810 00287770 38 63 00 04 */ addi r3, r3, 4 +/* 8028A814 00287774 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A818 00287778 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8028A81C 0028777C 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A820 00287780 48 00 00 50 */ b lbl_8028A870 +lbl_8028A824: +/* 8028A824 00287784 3B DE 00 01 */ addi r30, r30, 1 +/* 8028A828 00287788 2C 1E 00 3E */ cmpwi r30, 0x3e +/* 8028A82C 0028778C 40 81 00 08 */ ble lbl_8028A834 +/* 8028A830 00287790 3B C0 00 00 */ li r30, 0 +lbl_8028A834: +/* 8028A834 00287794 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A838 00287798 38 80 00 00 */ li r4, 0 +/* 8028A83C 0028779C 38 03 00 04 */ addi r0, r3, 4 +/* 8028A840 002877A0 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A844 002877A4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A848 002877A8 40 82 00 20 */ bne lbl_8028A868 +/* 8028A84C 002877AC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A850 002877B0 40 82 00 18 */ bne lbl_8028A868 +/* 8028A854 002877B4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A858 002877B8 40 82 00 10 */ bne lbl_8028A868 +/* 8028A85C 002877BC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A860 002877C0 40 82 00 08 */ bne lbl_8028A868 +/* 8028A864 002877C4 38 80 00 01 */ li r4, 1 +lbl_8028A868: +/* 8028A868 002877C8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A86C 002877CC 40 82 FF B8 */ bne lbl_8028A824 +lbl_8028A870: +/* 8028A870 002877D0 2C 1F 00 00 */ cmpwi r31, 0 +/* 8028A874 002877D4 40 82 FC C0 */ bne lbl_8028A534 +/* 8028A878 002877D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028A87C 002877DC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028A880 002877E0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028A884 002877E4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8028A888 002877E8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8028A88C 002877EC 7C 08 03 A6 */ mtlr r0 +/* 8028A890 002877F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028A894 002877F4 4E 80 00 20 */ blr + +.global sub_8028a898 +sub_8028a898: +/* 8028A898 002877F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028A89C 002877FC 7C 08 02 A6 */ mflr r0 +/* 8028A8A0 00287800 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028A8A4 00287804 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8028A8A8 00287808 7C 9C 23 78 */ mr r28, r4 +/* 8028A8AC 0028780C 7C 7B 1B 78 */ mr r27, r3 +/* 8028A8B0 00287810 7C BD 2B 78 */ mr r29, r5 +/* 8028A8B4 00287814 7C DE 33 78 */ mr r30, r6 +/* 8028A8B8 00287818 7C FF 3B 78 */ mr r31, r7 +/* 8028A8BC 0028781C 38 80 00 00 */ li r4, 0 +/* 8028A8C0 00287820 48 08 7D 2D */ bl __ct__9CRandom16FUi +/* 8028A8C4 00287824 3C 80 80 29 */ lis r4, sub_8028a918@ha +/* 8028A8C8 00287828 38 7B 00 04 */ addi r3, r27, 4 +/* 8028A8CC 0028782C 38 84 A9 18 */ addi r4, r4, sub_8028a918@l +/* 8028A8D0 00287830 38 A0 00 00 */ li r5, 0 +/* 8028A8D4 00287834 38 C0 00 02 */ li r6, 2 +/* 8028A8D8 00287838 38 E0 00 3F */ li r7, 0x3f +/* 8028A8DC 0028783C 48 0F EE 71 */ bl __construct_array +/* 8028A8E0 00287840 93 9B 00 84 */ stw r28, 0x84(r27) +/* 8028A8E4 00287844 38 80 00 00 */ li r4, 0 +/* 8028A8E8 00287848 7F 63 DB 78 */ mr r3, r27 +/* 8028A8EC 0028784C 93 BB 00 88 */ stw r29, 0x88(r27) +/* 8028A8F0 00287850 93 DB 00 8C */ stw r30, 0x8c(r27) +/* 8028A8F4 00287854 93 FB 00 90 */ stw r31, 0x90(r27) +/* 8028A8F8 00287858 88 1B 00 94 */ lbz r0, 0x94(r27) +/* 8028A8FC 0028785C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A900 00287860 98 1B 00 94 */ stb r0, 0x94(r27) +/* 8028A904 00287864 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8028A908 00287868 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028A90C 0028786C 7C 08 03 A6 */ mtlr r0 +/* 8028A910 00287870 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028A914 00287874 4E 80 00 20 */ blr + +.global sub_8028a918 +sub_8028a918: +/* 8028A918 00287878 88 03 00 01 */ lbz r0, 1(r3) +/* 8028A91C 0028787C 38 80 00 00 */ li r4, 0 +/* 8028A920 00287880 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8028A924 00287884 98 03 00 01 */ stb r0, 1(r3) +/* 8028A928 00287888 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8028A92C 0028788C 88 03 00 01 */ lbz r0, 1(r3) +/* 8028A930 00287890 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8028A934 00287894 98 03 00 01 */ stb r0, 1(r3) +/* 8028A938 00287898 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8028A93C 0028789C 88 03 00 01 */ lbz r0, 1(r3) +/* 8028A940 002878A0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A944 002878A4 98 03 00 01 */ stb r0, 1(r3) +/* 8028A948 002878A8 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f +/* 8028A94C 002878AC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A950 002878B0 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8028A954 002878B4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A958 002878B8 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 8028A95C 002878BC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A960 002878C0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8028A964 002878C4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A968 002878C8 54 04 FF FE */ rlwinm r4, r0, 0x1f, 0x1f, 0x1f +/* 8028A96C 002878CC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A970 002878D0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8028A974 002878D4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A978 002878D8 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f +/* 8028A97C 002878DC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A980 002878E0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8028A984 002878E4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A988 002878E8 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f +/* 8028A98C 002878EC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A990 002878F0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8028A994 002878F4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A998 002878F8 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f +/* 8028A99C 002878FC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A9A0 00287900 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8028A9A4 00287904 98 03 00 00 */ stb r0, 0(r3) +/* 8028A9A8 00287908 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8028A9AC 0028790C 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A9B0 00287910 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8028A9B4 00287914 98 03 00 00 */ stb r0, 0(r3) +/* 8028A9B8 00287918 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8028A9BC 0028791C 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A9C0 00287920 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A9C4 00287924 98 03 00 00 */ stb r0, 0(r3) +/* 8028A9C8 00287928 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.s b/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.s new file mode 100644 index 00000000..559efbf4 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.s @@ -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,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi" +"__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string,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,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 diff --git a/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s b/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s new file mode 100644 index 00000000..6f1420c6 --- /dev/null +++ b/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s @@ -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,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,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,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029C6C4 00299624 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029C6C8 00299628 48 0A 14 19 */ bl "internal_dereference__Q24rstl66basic_string,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,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,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029C6E8 00299648 38 61 00 1C */ addi r3, r1, 0x1c +/* 8029C6EC 0029964C 48 0A 13 F5 */ bl "internal_dereference__Q24rstl66basic_string,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,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,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 diff --git a/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.s b/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.s new file mode 100644 index 00000000..7d185e02 --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.s @@ -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,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4fiff14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUib" +/* 80252400 0024F360 38 61 00 4C */ addi r3, r1, 0x4c +/* 80252404 0024F364 48 0E B6 DD */ bl "internal_dereference__Q24rstl66basic_string,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 diff --git a/asm/Kyoto_CWD/Weapons/CNewFlameThrower.s b/asm/Kyoto_CWD/Weapons/CNewFlameThrower.s new file mode 100644 index 00000000..6da652ba --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/CNewFlameThrower.s @@ -0,0 +1,4475 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__16CNewFlameThrowerFv +__dt__16CNewFlameThrowerFv: +/* 80261080 0025DFE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80261084 0025DFE4 7C 08 02 A6 */ mflr r0 +/* 80261088 0025DFE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026108C 0025DFEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80261090 0025DFF0 7C 9F 23 78 */ mr r31, r4 +/* 80261094 0025DFF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80261098 0025DFF8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026109C 0025DFFC 41 82 02 80 */ beq lbl_8026131C +/* 802610A0 0025E000 3C 60 80 3F */ lis r3, lbl_803E9D10@ha +/* 802610A4 0025E004 34 1E 03 B8 */ addic. r0, r30, 0x3b8 +/* 802610A8 0025E008 38 03 9D 10 */ addi r0, r3, lbl_803E9D10@l +/* 802610AC 0025E00C 90 1E 00 00 */ stw r0, 0(r30) +/* 802610B0 0025E010 41 82 00 58 */ beq lbl_80261108 +/* 802610B4 0025E014 80 BE 03 B8 */ lwz r5, 0x3b8(r30) +/* 802610B8 0025E018 38 60 00 00 */ li r3, 0 +/* 802610BC 0025E01C 2C 05 00 00 */ cmpwi r5, 0 +/* 802610C0 0025E020 40 81 00 40 */ ble lbl_80261100 +/* 802610C4 0025E024 2C 05 00 08 */ cmpwi r5, 8 +/* 802610C8 0025E028 38 85 FF F8 */ addi r4, r5, -8 +/* 802610CC 0025E02C 40 81 00 20 */ ble lbl_802610EC +/* 802610D0 0025E030 38 04 00 07 */ addi r0, r4, 7 +/* 802610D4 0025E034 54 00 E8 FE */ srwi r0, r0, 3 +/* 802610D8 0025E038 7C 09 03 A6 */ mtctr r0 +/* 802610DC 0025E03C 2C 04 00 00 */ cmpwi r4, 0 +/* 802610E0 0025E040 40 81 00 0C */ ble lbl_802610EC +lbl_802610E4: +/* 802610E4 0025E044 38 63 00 08 */ addi r3, r3, 8 +/* 802610E8 0025E048 42 00 FF FC */ bdnz lbl_802610E4 +lbl_802610EC: +/* 802610EC 0025E04C 7C 03 28 50 */ subf r0, r3, r5 +/* 802610F0 0025E050 7C 09 03 A6 */ mtctr r0 +/* 802610F4 0025E054 7C 03 28 00 */ cmpw r3, r5 +/* 802610F8 0025E058 40 80 00 08 */ bge lbl_80261100 +lbl_802610FC: +/* 802610FC 0025E05C 42 00 00 00 */ bdnz lbl_802610FC +lbl_80261100: +/* 80261100 0025E060 38 00 00 00 */ li r0, 0 +/* 80261104 0025E064 90 1E 03 B8 */ stw r0, 0x3b8(r30) +lbl_80261108: +/* 80261108 0025E068 38 7E 03 80 */ addi r3, r30, 0x380 +/* 8026110C 0025E06C 38 80 FF FF */ li r4, -1 +/* 80261110 0025E070 48 00 02 29 */ bl sub_80261338 +/* 80261114 0025E074 34 1E 03 70 */ addic. r0, r30, 0x370 +/* 80261118 0025E078 41 82 00 24 */ beq lbl_8026113C +/* 8026111C 0025E07C 80 7E 03 70 */ lwz r3, 0x370(r30) +/* 80261120 0025E080 28 03 00 00 */ cmplwi r3, 0 +/* 80261124 0025E084 41 82 00 18 */ beq lbl_8026113C +/* 80261128 0025E088 81 83 00 00 */ lwz r12, 0(r3) +/* 8026112C 0025E08C 38 80 00 01 */ li r4, 1 +/* 80261130 0025E090 81 8C 00 08 */ lwz r12, 8(r12) +/* 80261134 0025E094 7D 89 03 A6 */ mtctr r12 +/* 80261138 0025E098 4E 80 04 21 */ bctrl +lbl_8026113C: +/* 8026113C 0025E09C 34 1E 03 6C */ addic. r0, r30, 0x36c +/* 80261140 0025E0A0 41 82 00 24 */ beq lbl_80261164 +/* 80261144 0025E0A4 80 7E 03 6C */ lwz r3, 0x36c(r30) +/* 80261148 0025E0A8 28 03 00 00 */ cmplwi r3, 0 +/* 8026114C 0025E0AC 41 82 00 18 */ beq lbl_80261164 +/* 80261150 0025E0B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80261154 0025E0B4 38 80 00 01 */ li r4, 1 +/* 80261158 0025E0B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8026115C 0025E0BC 7D 89 03 A6 */ mtctr r12 +/* 80261160 0025E0C0 4E 80 04 21 */ bctrl +lbl_80261164: +/* 80261164 0025E0C4 34 1E 03 68 */ addic. r0, r30, 0x368 +/* 80261168 0025E0C8 41 82 00 24 */ beq lbl_8026118C +/* 8026116C 0025E0CC 80 7E 03 68 */ lwz r3, 0x368(r30) +/* 80261170 0025E0D0 28 03 00 00 */ cmplwi r3, 0 +/* 80261174 0025E0D4 41 82 00 18 */ beq lbl_8026118C +/* 80261178 0025E0D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8026117C 0025E0DC 38 80 00 01 */ li r4, 1 +/* 80261180 0025E0E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80261184 0025E0E4 7D 89 03 A6 */ mtctr r12 +/* 80261188 0025E0E8 4E 80 04 21 */ bctrl +lbl_8026118C: +/* 8026118C 0025E0EC 34 1E 03 64 */ addic. r0, r30, 0x364 +/* 80261190 0025E0F0 41 82 00 24 */ beq lbl_802611B4 +/* 80261194 0025E0F4 80 7E 03 64 */ lwz r3, 0x364(r30) +/* 80261198 0025E0F8 28 03 00 00 */ cmplwi r3, 0 +/* 8026119C 0025E0FC 41 82 00 18 */ beq lbl_802611B4 +/* 802611A0 0025E100 81 83 00 00 */ lwz r12, 0(r3) +/* 802611A4 0025E104 38 80 00 01 */ li r4, 1 +/* 802611A8 0025E108 81 8C 00 08 */ lwz r12, 8(r12) +/* 802611AC 0025E10C 7D 89 03 A6 */ mtctr r12 +/* 802611B0 0025E110 4E 80 04 21 */ bctrl +lbl_802611B4: +/* 802611B4 0025E114 34 1E 03 60 */ addic. r0, r30, 0x360 +/* 802611B8 0025E118 41 82 00 24 */ beq lbl_802611DC +/* 802611BC 0025E11C 80 7E 03 60 */ lwz r3, 0x360(r30) +/* 802611C0 0025E120 28 03 00 00 */ cmplwi r3, 0 +/* 802611C4 0025E124 41 82 00 18 */ beq lbl_802611DC +/* 802611C8 0025E128 81 83 00 00 */ lwz r12, 0(r3) +/* 802611CC 0025E12C 38 80 00 01 */ li r4, 1 +/* 802611D0 0025E130 81 8C 00 08 */ lwz r12, 8(r12) +/* 802611D4 0025E134 7D 89 03 A6 */ mtctr r12 +/* 802611D8 0025E138 4E 80 04 21 */ bctrl +lbl_802611DC: +/* 802611DC 0025E13C 34 1E 03 5C */ addic. r0, r30, 0x35c +/* 802611E0 0025E140 41 82 00 24 */ beq lbl_80261204 +/* 802611E4 0025E144 80 7E 03 5C */ lwz r3, 0x35c(r30) +/* 802611E8 0025E148 28 03 00 00 */ cmplwi r3, 0 +/* 802611EC 0025E14C 41 82 00 18 */ beq lbl_80261204 +/* 802611F0 0025E150 81 83 00 00 */ lwz r12, 0(r3) +/* 802611F4 0025E154 38 80 00 01 */ li r4, 1 +/* 802611F8 0025E158 81 8C 00 08 */ lwz r12, 8(r12) +/* 802611FC 0025E15C 7D 89 03 A6 */ mtctr r12 +/* 80261200 0025E160 4E 80 04 21 */ bctrl +lbl_80261204: +/* 80261204 0025E164 34 1E 03 58 */ addic. r0, r30, 0x358 +/* 80261208 0025E168 41 82 00 24 */ beq lbl_8026122C +/* 8026120C 0025E16C 80 7E 03 58 */ lwz r3, 0x358(r30) +/* 80261210 0025E170 28 03 00 00 */ cmplwi r3, 0 +/* 80261214 0025E174 41 82 00 18 */ beq lbl_8026122C +/* 80261218 0025E178 81 83 00 00 */ lwz r12, 0(r3) +/* 8026121C 0025E17C 38 80 00 01 */ li r4, 1 +/* 80261220 0025E180 81 8C 00 08 */ lwz r12, 8(r12) +/* 80261224 0025E184 7D 89 03 A6 */ mtctr r12 +/* 80261228 0025E188 4E 80 04 21 */ bctrl +lbl_8026122C: +/* 8026122C 0025E18C 34 1E 03 4C */ addic. r0, r30, 0x34c +/* 80261230 0025E190 41 82 00 18 */ beq lbl_80261248 +/* 80261234 0025E194 34 1E 03 4C */ addic. r0, r30, 0x34c +/* 80261238 0025E198 41 82 00 10 */ beq lbl_80261248 +/* 8026123C 0025E19C 38 7E 03 4C */ addi r3, r30, 0x34c +/* 80261240 0025E1A0 38 80 00 00 */ li r4, 0 +/* 80261244 0025E1A4 48 0D FB FD */ bl __dt__6CTokenFv +lbl_80261248: +/* 80261248 0025E1A8 34 1E 03 40 */ addic. r0, r30, 0x340 +/* 8026124C 0025E1AC 41 82 00 18 */ beq lbl_80261264 +/* 80261250 0025E1B0 34 1E 03 40 */ addic. r0, r30, 0x340 +/* 80261254 0025E1B4 41 82 00 10 */ beq lbl_80261264 +/* 80261258 0025E1B8 38 7E 03 40 */ addi r3, r30, 0x340 +/* 8026125C 0025E1BC 38 80 00 00 */ li r4, 0 +/* 80261260 0025E1C0 48 0D FB E1 */ bl __dt__6CTokenFv +lbl_80261264: +/* 80261264 0025E1C4 34 1E 03 34 */ addic. r0, r30, 0x334 +/* 80261268 0025E1C8 41 82 00 18 */ beq lbl_80261280 +/* 8026126C 0025E1CC 34 1E 03 34 */ addic. r0, r30, 0x334 +/* 80261270 0025E1D0 41 82 00 10 */ beq lbl_80261280 +/* 80261274 0025E1D4 38 7E 03 34 */ addi r3, r30, 0x334 +/* 80261278 0025E1D8 38 80 00 00 */ li r4, 0 +/* 8026127C 0025E1DC 48 0D FB C5 */ bl __dt__6CTokenFv +lbl_80261280: +/* 80261280 0025E1E0 34 1E 03 28 */ addic. r0, r30, 0x328 +/* 80261284 0025E1E4 41 82 00 18 */ beq lbl_8026129C +/* 80261288 0025E1E8 34 1E 03 28 */ addic. r0, r30, 0x328 +/* 8026128C 0025E1EC 41 82 00 10 */ beq lbl_8026129C +/* 80261290 0025E1F0 38 7E 03 28 */ addi r3, r30, 0x328 +/* 80261294 0025E1F4 38 80 00 00 */ li r4, 0 +/* 80261298 0025E1F8 48 0D FB A9 */ bl __dt__6CTokenFv +lbl_8026129C: +/* 8026129C 0025E1FC 34 1E 03 1C */ addic. r0, r30, 0x31c +/* 802612A0 0025E200 41 82 00 18 */ beq lbl_802612B8 +/* 802612A4 0025E204 34 1E 03 1C */ addic. r0, r30, 0x31c +/* 802612A8 0025E208 41 82 00 10 */ beq lbl_802612B8 +/* 802612AC 0025E20C 38 7E 03 1C */ addi r3, r30, 0x31c +/* 802612B0 0025E210 38 80 00 00 */ li r4, 0 +/* 802612B4 0025E214 48 0D FB 8D */ bl __dt__6CTokenFv +lbl_802612B8: +/* 802612B8 0025E218 34 1E 03 10 */ addic. r0, r30, 0x310 +/* 802612BC 0025E21C 41 82 00 18 */ beq lbl_802612D4 +/* 802612C0 0025E220 34 1E 03 10 */ addic. r0, r30, 0x310 +/* 802612C4 0025E224 41 82 00 10 */ beq lbl_802612D4 +/* 802612C8 0025E228 38 7E 03 10 */ addi r3, r30, 0x310 +/* 802612CC 0025E22C 38 80 00 00 */ li r4, 0 +/* 802612D0 0025E230 48 0D FB 71 */ bl __dt__6CTokenFv +lbl_802612D4: +/* 802612D4 0025E234 34 1E 03 04 */ addic. r0, r30, 0x304 +/* 802612D8 0025E238 41 82 00 18 */ beq lbl_802612F0 +/* 802612DC 0025E23C 34 1E 03 04 */ addic. r0, r30, 0x304 +/* 802612E0 0025E240 41 82 00 10 */ beq lbl_802612F0 +/* 802612E4 0025E244 38 7E 03 04 */ addi r3, r30, 0x304 +/* 802612E8 0025E248 38 80 00 00 */ li r4, 0 +/* 802612EC 0025E24C 48 0D FB 55 */ bl __dt__6CTokenFv +lbl_802612F0: +/* 802612F0 0025E250 34 1E 02 F4 */ addic. r0, r30, 0x2f4 +/* 802612F4 0025E254 41 82 00 0C */ beq lbl_80261300 +/* 802612F8 0025E258 38 00 00 00 */ li r0, 0 +/* 802612FC 0025E25C 98 1E 03 00 */ stb r0, 0x300(r30) +lbl_80261300: +/* 80261300 0025E260 7F C3 F3 78 */ mr r3, r30 +/* 80261304 0025E264 38 80 00 00 */ li r4, 0 +/* 80261308 0025E268 4B DD 60 F9 */ bl __dt__15CGameProjectileFv +/* 8026130C 0025E26C 7F E0 07 35 */ extsh. r0, r31 +/* 80261310 0025E270 40 81 00 0C */ ble lbl_8026131C +/* 80261314 0025E274 7F C3 F3 78 */ mr r3, r30 +/* 80261318 0025E278 48 0B 46 19 */ bl Free__7CMemoryFPCv +lbl_8026131C: +/* 8026131C 0025E27C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80261320 0025E280 7F C3 F3 78 */ mr r3, r30 +/* 80261324 0025E284 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80261328 0025E288 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026132C 0025E28C 7C 08 03 A6 */ mtlr r0 +/* 80261330 0025E290 38 21 00 10 */ addi r1, r1, 0x10 +/* 80261334 0025E294 4E 80 00 20 */ blr + +.global sub_80261338 +sub_80261338: +/* 80261338 0025E298 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026133C 0025E29C 7C 08 02 A6 */ mflr r0 +/* 80261340 0025E2A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261344 0025E2A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80261348 0025E2A8 7C 9F 23 78 */ mr r31, r4 +/* 8026134C 0025E2AC 93 C1 00 08 */ stw r30, 8(r1) +/* 80261350 0025E2B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80261354 0025E2B4 41 82 00 18 */ beq lbl_8026136C +/* 80261358 0025E2B8 48 00 00 31 */ bl sub_80261388 +/* 8026135C 0025E2BC 7F E0 07 35 */ extsh. r0, r31 +/* 80261360 0025E2C0 40 81 00 0C */ ble lbl_8026136C +/* 80261364 0025E2C4 7F C3 F3 78 */ mr r3, r30 +/* 80261368 0025E2C8 48 0B 45 C9 */ bl Free__7CMemoryFPCv +lbl_8026136C: +/* 8026136C 0025E2CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80261370 0025E2D0 7F C3 F3 78 */ mr r3, r30 +/* 80261374 0025E2D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80261378 0025E2D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026137C 0025E2DC 7C 08 03 A6 */ mtlr r0 +/* 80261380 0025E2E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80261384 0025E2E4 4E 80 00 20 */ blr + +.global sub_80261388 +sub_80261388: +/* 80261388 0025E2E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026138C 0025E2EC 7C 08 02 A6 */ mflr r0 +/* 80261390 0025E2F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80261394 0025E2F4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80261398 0025E2F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8026139C 0025E2FC 3B C0 00 00 */ li r30, 0 +/* 802613A0 0025E300 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802613A4 0025E304 7C 7D 1B 78 */ mr r29, r3 +/* 802613A8 0025E308 3B FD 00 04 */ addi r31, r29, 4 +/* 802613AC 0025E30C 48 00 00 54 */ b lbl_80261400 +lbl_802613B0: +/* 802613B0 0025E310 28 1F 00 00 */ cmplwi r31, 0 +/* 802613B4 0025E314 41 82 00 44 */ beq lbl_802613F8 +/* 802613B8 0025E318 80 1F 00 04 */ lwz r0, 4(r31) +/* 802613BC 0025E31C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802613C0 0025E320 54 00 18 38 */ slwi r0, r0, 3 +/* 802613C4 0025E324 7C 03 02 14 */ add r0, r3, r0 +/* 802613C8 0025E328 90 61 00 0C */ stw r3, 0xc(r1) +/* 802613CC 0025E32C 7C 64 1B 78 */ mr r4, r3 +/* 802613D0 0025E330 90 01 00 14 */ stw r0, 0x14(r1) +/* 802613D4 0025E334 90 01 00 10 */ stw r0, 0x10(r1) +/* 802613D8 0025E338 90 61 00 08 */ stw r3, 8(r1) +/* 802613DC 0025E33C 48 00 00 08 */ b lbl_802613E4 +lbl_802613E0: +/* 802613E0 0025E340 38 84 00 08 */ addi r4, r4, 8 +lbl_802613E4: +/* 802613E4 0025E344 7C 04 00 40 */ cmplw r4, r0 +/* 802613E8 0025E348 40 82 FF F8 */ bne lbl_802613E0 +/* 802613EC 0025E34C 28 03 00 00 */ cmplwi r3, 0 +/* 802613F0 0025E350 41 82 00 08 */ beq lbl_802613F8 +/* 802613F4 0025E354 48 0B 45 3D */ bl Free__7CMemoryFPCv +lbl_802613F8: +/* 802613F8 0025E358 3B FF 00 10 */ addi r31, r31, 0x10 +/* 802613FC 0025E35C 3B DE 00 01 */ addi r30, r30, 1 +lbl_80261400: +/* 80261400 0025E360 80 1D 00 00 */ lwz r0, 0(r29) +/* 80261404 0025E364 7C 1E 00 00 */ cmpw r30, r0 +/* 80261408 0025E368 41 80 FF A8 */ blt lbl_802613B0 +/* 8026140C 0025E36C 38 00 00 00 */ li r0, 0 +/* 80261410 0025E370 90 1D 00 00 */ stw r0, 0(r29) +/* 80261414 0025E374 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80261418 0025E378 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026141C 0025E37C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80261420 0025E380 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80261424 0025E384 7C 08 03 A6 */ mtlr r0 +/* 80261428 0025E388 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026142C 0025E38C 4E 80 00 20 */ blr + +.global sub_80261430 +sub_80261430: +/* 80261430 0025E390 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80261434 0025E394 7C 08 02 A6 */ mflr r0 +/* 80261438 0025E398 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8026143C 0025E39C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80261440 0025E3A0 7C BF 2B 78 */ mr r31, r5 +/* 80261444 0025E3A4 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80261448 0025E3A8 7C 9E 23 78 */ mr r30, r4 +/* 8026144C 0025E3AC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80261450 0025E3B0 7C 7D 1B 78 */ mr r29, r3 +/* 80261454 0025E3B4 7F C3 F3 78 */ mr r3, r30 +/* 80261458 0025E3B8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8026145C 0025E3BC 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80261460 0025E3C0 7D 89 03 A6 */ mtctr r12 +/* 80261464 0025E3C4 4E 80 04 21 */ bctrl +/* 80261468 0025E3C8 38 9D 01 2C */ addi r4, r29, 0x12c +/* 8026146C 0025E3CC 38 A0 00 00 */ li r5, 0 +/* 80261470 0025E3D0 4B EA 10 4D */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80261474 0025E3D4 2C 03 00 04 */ cmpwi r3, 4 +/* 80261478 0025E3D8 40 82 00 0C */ bne lbl_80261484 +/* 8026147C 0025E3DC 38 60 00 00 */ li r3, 0 +/* 80261480 0025E3E0 48 00 00 D8 */ b lbl_80261558 +lbl_80261484: +/* 80261484 0025E3E4 7F C4 F3 78 */ mr r4, r30 +/* 80261488 0025E3E8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8026148C 0025E3EC 4B E4 5A C9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" +/* 80261490 0025E3F0 80 03 00 04 */ lwz r0, 4(r3) +/* 80261494 0025E3F4 28 00 00 00 */ cmplwi r0, 0 +/* 80261498 0025E3F8 41 82 00 3C */ beq lbl_802614D4 +/* 8026149C 0025E3FC 7F A4 EB 78 */ mr r4, r29 +/* 802614A0 0025E400 7F C5 F3 78 */ mr r5, r30 +/* 802614A4 0025E404 7F E6 FB 78 */ mr r6, r31 +/* 802614A8 0025E408 38 61 00 5C */ addi r3, r1, 0x5c +/* 802614AC 0025E40C 4B DD 8B 75 */ bl CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager +/* 802614B0 0025E410 A0 A1 00 5C */ lhz r5, 0x5c(r1) +/* 802614B4 0025E414 38 00 00 00 */ li r0, 0 +/* 802614B8 0025E418 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 802614BC 0025E41C 98 01 00 90 */ stb r0, 0x90(r1) +/* 802614C0 0025E420 7C 65 20 50 */ subf r3, r5, r4 +/* 802614C4 0025E424 7C 04 28 50 */ subf r0, r4, r5 +/* 802614C8 0025E428 7C 60 03 78 */ or r0, r3, r0 +/* 802614CC 0025E42C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802614D0 0025E430 48 00 00 88 */ b lbl_80261558 +lbl_802614D4: +/* 802614D4 0025E434 7F C4 F3 78 */ mr r4, r30 +/* 802614D8 0025E438 38 61 00 14 */ addi r3, r1, 0x14 +/* 802614DC 0025E43C 4B E4 79 A5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" +/* 802614E0 0025E440 80 03 00 04 */ lwz r0, 4(r3) +/* 802614E4 0025E444 28 00 00 00 */ cmplwi r0, 0 +/* 802614E8 0025E448 40 82 00 34 */ bne lbl_8026151C +/* 802614EC 0025E44C 7F C4 F3 78 */ mr r4, r30 +/* 802614F0 0025E450 38 61 00 0C */ addi r3, r1, 0xc +/* 802614F4 0025E454 4B E4 DE C5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" +/* 802614F8 0025E458 80 03 00 04 */ lwz r0, 4(r3) +/* 802614FC 0025E45C 28 00 00 00 */ cmplwi r0, 0 +/* 80261500 0025E460 40 82 00 1C */ bne lbl_8026151C +/* 80261504 0025E464 7F C4 F3 78 */ mr r4, r30 +/* 80261508 0025E468 38 61 00 08 */ addi r3, r1, 8 +/* 8026150C 0025E46C 4B E4 3E F9 */ bl sub_800a5404 +/* 80261510 0025E470 4B E4 3E C9 */ bl "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" +/* 80261514 0025E474 28 03 00 00 */ cmplwi r3, 0 +/* 80261518 0025E478 41 82 00 0C */ beq lbl_80261524 +lbl_8026151C: +/* 8026151C 0025E47C 38 60 00 01 */ li r3, 1 +/* 80261520 0025E480 48 00 00 38 */ b lbl_80261558 +lbl_80261524: +/* 80261524 0025E484 7F A4 EB 78 */ mr r4, r29 +/* 80261528 0025E488 7F C5 F3 78 */ mr r5, r30 +/* 8026152C 0025E48C 7F E6 FB 78 */ mr r6, r31 +/* 80261530 0025E490 38 61 00 24 */ addi r3, r1, 0x24 +/* 80261534 0025E494 4B DD 85 69 */ bl CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager +/* 80261538 0025E498 A0 A1 00 24 */ lhz r5, 0x24(r1) +/* 8026153C 0025E49C 38 00 00 00 */ li r0, 0 +/* 80261540 0025E4A0 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80261544 0025E4A4 98 01 00 58 */ stb r0, 0x58(r1) +/* 80261548 0025E4A8 7C 65 20 50 */ subf r3, r5, r4 +/* 8026154C 0025E4AC 7C 04 28 50 */ subf r0, r4, r5 +/* 80261550 0025E4B0 7C 60 03 78 */ or r0, r3, r0 +/* 80261554 0025E4B4 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_80261558: +/* 80261558 0025E4B8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8026155C 0025E4BC 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80261560 0025E4C0 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80261564 0025E4C4 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80261568 0025E4C8 7C 08 03 A6 */ mtlr r0 +/* 8026156C 0025E4CC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80261570 0025E4D0 4E 80 00 20 */ blr + +.global SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff: +/* 80261574 0025E4D4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80261578 0025E4D8 7C 08 02 A6 */ mflr r0 +/* 8026157C 0025E4DC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80261580 0025E4E0 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80261584 0025E4E4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80261588 0025E4E8 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026158C 0025E4EC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80261590 0025E4F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80261594 0025E4F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80261598 0025E4F8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026159C 0025E4FC 88 03 03 7C */ lbz r0, 0x37c(r3) +/* 802615A0 0025E500 FF C0 08 90 */ fmr f30, f1 +/* 802615A4 0025E504 FF E0 10 90 */ fmr f31, f2 +/* 802615A8 0025E508 7C 7E 1B 78 */ mr r30, r3 +/* 802615AC 0025E50C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802615B0 0025E510 7C 9F 23 78 */ mr r31, r4 +/* 802615B4 0025E514 7C BD 2B 78 */ mr r29, r5 +/* 802615B8 0025E518 41 82 00 54 */ beq lbl_8026160C +/* 802615BC 0025E51C 80 7E 03 78 */ lwz r3, 0x378(r30) +/* 802615C0 0025E520 80 1D 00 00 */ lwz r0, 0(r29) +/* 802615C4 0025E524 7C 03 00 00 */ cmpw r3, r0 +/* 802615C8 0025E528 41 82 00 44 */ beq lbl_8026160C +/* 802615CC 0025E52C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 802615D0 0025E530 7C 03 00 00 */ cmpw r3, r0 +/* 802615D4 0025E534 41 82 00 38 */ beq lbl_8026160C +/* 802615D8 0025E538 80 1E 03 78 */ lwz r0, 0x378(r30) +/* 802615DC 0025E53C 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 802615E0 0025E540 54 03 18 38 */ slwi r3, r0, 3 +/* 802615E4 0025E544 90 01 00 0C */ stw r0, 0xc(r1) +/* 802615E8 0025E548 80 84 00 20 */ lwz r4, 0x20(r4) +/* 802615EC 0025E54C 38 03 00 04 */ addi r0, r3, 4 +/* 802615F0 0025E550 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802615F4 0025E554 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 802615F8 0025E558 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802615FC 0025E55C 41 82 00 10 */ beq lbl_8026160C +/* 80261600 0025E560 C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) +/* 80261604 0025E564 FC 40 08 90 */ fmr f2, f1 +/* 80261608 0025E568 4B DF CB CD */ bl SetWeaponWorldLighting__9CGameAreaFff +lbl_8026160C: +/* 8026160C 0025E56C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80261610 0025E570 80 1D 00 00 */ lwz r0, 0(r29) +/* 80261614 0025E574 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80261618 0025E578 90 1E 03 78 */ stw r0, 0x378(r30) +/* 8026161C 0025E57C 7C 60 00 26 */ mfcr r3 +/* 80261620 0025E580 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80261624 0025E584 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f +/* 80261628 0025E588 68 63 00 01 */ xori r3, r3, 1 +/* 8026162C 0025E58C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80261630 0025E590 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80261634 0025E594 80 7E 03 78 */ lwz r3, 0x378(r30) +/* 80261638 0025E598 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8026163C 0025E59C 7C 03 00 00 */ cmpw r3, r0 +/* 80261640 0025E5A0 41 82 00 38 */ beq lbl_80261678 +/* 80261644 0025E5A4 80 1E 03 78 */ lwz r0, 0x378(r30) +/* 80261648 0025E5A8 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 8026164C 0025E5AC 54 03 18 38 */ slwi r3, r0, 3 +/* 80261650 0025E5B0 90 01 00 08 */ stw r0, 8(r1) +/* 80261654 0025E5B4 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80261658 0025E5B8 38 03 00 04 */ addi r0, r3, 4 +/* 8026165C 0025E5BC 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80261660 0025E5C0 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80261664 0025E5C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80261668 0025E5C8 41 82 00 10 */ beq lbl_80261678 +/* 8026166C 0025E5CC FC 20 F0 90 */ fmr f1, f30 +/* 80261670 0025E5D0 FC 40 F8 90 */ fmr f2, f31 +/* 80261674 0025E5D4 4B DF CB 61 */ bl SetWeaponWorldLighting__9CGameAreaFff +lbl_80261678: +/* 80261678 0025E5D8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026167C 0025E5DC CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80261680 0025E5E0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80261684 0025E5E4 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80261688 0025E5E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026168C 0025E5EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80261690 0025E5F0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80261694 0025E5F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80261698 0025E5F8 7C 08 03 A6 */ mtlr r0 +/* 8026169C 0025E5FC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802616A0 0025E600 4E 80 00 20 */ blr + +.global sub_802616a4 +sub_802616a4: +/* 802616A4 0025E604 38 00 00 03 */ li r0, 3 +/* 802616A8 0025E608 39 03 03 84 */ addi r8, r3, 0x384 +/* 802616AC 0025E60C 7C 09 03 A6 */ mtctr r0 +lbl_802616B0: +/* 802616B0 0025E610 80 68 00 04 */ lwz r3, 4(r8) +/* 802616B4 0025E614 39 20 00 00 */ li r9, 0 +/* 802616B8 0025E618 38 C0 00 00 */ li r6, 0 +/* 802616BC 0025E61C 38 03 FF FF */ addi r0, r3, -1 +/* 802616C0 0025E620 54 07 18 38 */ slwi r7, r0, 3 +/* 802616C4 0025E624 48 00 00 58 */ b lbl_8026171C +lbl_802616C8: +/* 802616C8 0025E628 80 A8 00 0C */ lwz r5, 0xc(r8) +/* 802616CC 0025E62C 38 86 00 04 */ addi r4, r6, 4 +/* 802616D0 0025E630 7C 65 20 2E */ lwzx r3, r5, r4 +/* 802616D4 0025E634 38 03 FF FF */ addi r0, r3, -1 +/* 802616D8 0025E638 7C 05 21 2E */ stwx r0, r5, r4 +/* 802616DC 0025E63C 80 68 00 0C */ lwz r3, 0xc(r8) +/* 802616E0 0025E640 7C 83 32 14 */ add r4, r3, r6 +/* 802616E4 0025E644 80 04 00 04 */ lwz r0, 4(r4) +/* 802616E8 0025E648 2C 00 00 00 */ cmpwi r0, 0 +/* 802616EC 0025E64C 40 82 00 28 */ bne lbl_80261714 +/* 802616F0 0025E650 7C 63 3A 14 */ add r3, r3, r7 +/* 802616F4 0025E654 38 E7 FF F8 */ addi r7, r7, -8 +/* 802616F8 0025E658 C0 03 00 00 */ lfs f0, 0(r3) +/* 802616FC 0025E65C D0 04 00 00 */ stfs f0, 0(r4) +/* 80261700 0025E660 80 03 00 04 */ lwz r0, 4(r3) +/* 80261704 0025E664 90 04 00 04 */ stw r0, 4(r4) +/* 80261708 0025E668 80 68 00 04 */ lwz r3, 4(r8) +/* 8026170C 0025E66C 38 03 FF FF */ addi r0, r3, -1 +/* 80261710 0025E670 90 08 00 04 */ stw r0, 4(r8) +lbl_80261714: +/* 80261714 0025E674 38 C6 00 08 */ addi r6, r6, 8 +/* 80261718 0025E678 39 29 00 01 */ addi r9, r9, 1 +lbl_8026171C: +/* 8026171C 0025E67C 80 08 00 04 */ lwz r0, 4(r8) +/* 80261720 0025E680 7C 09 00 00 */ cmpw r9, r0 +/* 80261724 0025E684 41 80 FF A4 */ blt lbl_802616C8 +/* 80261728 0025E688 39 08 00 10 */ addi r8, r8, 0x10 +/* 8026172C 0025E68C 42 00 FF 84 */ bdnz lbl_802616B0 + +.global sub_80261730 +sub_80261730: +/* 80261730 0025E690 4E 80 00 20 */ blr + +.global sub_80261734 +sub_80261734: +/* 80261734 0025E694 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80261738 0025E698 7C 08 02 A6 */ mflr r0 +/* 8026173C 0025E69C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80261740 0025E6A0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80261744 0025E6A4 7C 7F 1B 78 */ mr r31, r3 +/* 80261748 0025E6A8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8026174C 0025E6AC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80261750 0025E6B0 93 81 00 60 */ stw r28, 0x60(r1) +/* 80261754 0025E6B4 7C 9C 23 78 */ mr r28, r4 +/* 80261758 0025E6B8 88 03 03 7C */ lbz r0, 0x37c(r3) +/* 8026175C 0025E6BC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80261760 0025E6C0 41 82 00 4C */ beq lbl_802617AC +/* 80261764 0025E6C4 3B C0 00 00 */ li r30, 0 +/* 80261768 0025E6C8 3B BF 03 84 */ addi r29, r31, 0x384 +lbl_8026176C: +/* 8026176C 0025E6CC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80261770 0025E6D0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80261774 0025E6D4 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 80261778 0025E6D8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8026177C 0025E6DC 54 00 18 38 */ slwi r0, r0, 3 +/* 80261780 0025E6E0 7C A5 02 14 */ add r5, r5, r0 +/* 80261784 0025E6E4 90 A1 00 38 */ stw r5, 0x38(r1) +/* 80261788 0025E6E8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8026178C 0025E6EC 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80261790 0025E6F0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80261794 0025E6F4 90 01 00 40 */ stw r0, 0x40(r1) +/* 80261798 0025E6F8 48 00 32 51 */ bl sub_802649e8 +/* 8026179C 0025E6FC 3B DE 00 01 */ addi r30, r30, 1 +/* 802617A0 0025E700 3B BD 00 10 */ addi r29, r29, 0x10 +/* 802617A4 0025E704 2C 1E 00 03 */ cmpwi r30, 3 +/* 802617A8 0025E708 41 80 FF C4 */ blt lbl_8026176C +lbl_802617AC: +/* 802617AC 0025E70C 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha +/* 802617B0 0025E710 7F 9E E3 78 */ mr r30, r28 +/* 802617B4 0025E714 38 03 FF FF */ addi r0, r3, 0x7FFFFFFF@l +/* 802617B8 0025E718 3B FF 03 84 */ addi r31, r31, 0x384 +/* 802617BC 0025E71C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802617C0 0025E720 3B A0 00 00 */ li r29, 0 +lbl_802617C4: +/* 802617C4 0025E724 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802617C8 0025E728 38 00 00 00 */ li r0, 0 +/* 802617CC 0025E72C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 802617D0 0025E730 38 61 00 18 */ addi r3, r1, 0x18 +/* 802617D4 0025E734 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802617D8 0025E738 38 81 00 14 */ addi r4, r1, 0x14 +/* 802617DC 0025E73C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802617E0 0025E740 38 A1 00 0C */ addi r5, r1, 0xc +/* 802617E4 0025E744 38 C1 00 48 */ addi r6, r1, 0x48 +/* 802617E8 0025E748 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802617EC 0025E74C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802617F0 0025E750 80 FF 00 0C */ lwz r7, 0xc(r31) +/* 802617F4 0025E754 54 00 18 38 */ slwi r0, r0, 3 +/* 802617F8 0025E758 7C E7 02 14 */ add r7, r7, r0 +/* 802617FC 0025E75C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80261800 0025E760 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80261804 0025E764 90 E1 00 08 */ stw r7, 8(r1) +/* 80261808 0025E768 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026180C 0025E76C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261810 0025E770 48 00 33 61 */ bl sub_80264b70 +/* 80261814 0025E774 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80261818 0025E778 38 00 00 00 */ li r0, 0 +/* 8026181C 0025E77C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80261820 0025E780 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261824 0025E784 90 01 00 54 */ stw r0, 0x54(r1) +/* 80261828 0025E788 38 81 00 28 */ addi r4, r1, 0x28 +/* 8026182C 0025E78C EC 01 00 2A */ fadds f0, f1, f0 +/* 80261830 0025E790 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80261834 0025E794 38 C1 00 50 */ addi r6, r1, 0x50 +/* 80261838 0025E798 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8026183C 0025E79C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80261840 0025E7A0 80 FF 00 0C */ lwz r7, 0xc(r31) +/* 80261844 0025E7A4 54 00 18 38 */ slwi r0, r0, 3 +/* 80261848 0025E7A8 7C E7 02 14 */ add r7, r7, r0 +/* 8026184C 0025E7AC 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80261850 0025E7B0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80261854 0025E7B4 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 80261858 0025E7B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026185C 0025E7BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80261860 0025E7C0 48 00 33 D1 */ bl sub_80264c30 +/* 80261864 0025E7C4 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80261868 0025E7C8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8026186C 0025E7CC 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80261870 0025E7D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80261874 0025E7D4 7C 85 20 50 */ subf r4, r5, r4 +/* 80261878 0025E7D8 7C 84 1E 70 */ srawi r4, r4, 3 +/* 8026187C 0025E7DC 7C 84 01 94 */ addze r4, r4 +/* 80261880 0025E7E0 7C 04 00 00 */ cmpw r4, r0 +/* 80261884 0025E7E4 90 81 00 30 */ stw r4, 0x30(r1) +/* 80261888 0025E7E8 40 80 00 08 */ bge lbl_80261890 +/* 8026188C 0025E7EC 38 61 00 30 */ addi r3, r1, 0x30 +lbl_80261890: +/* 80261890 0025E7F0 80 63 00 00 */ lwz r3, 0(r3) +/* 80261894 0025E7F4 2C 03 00 00 */ cmpwi r3, 0 +/* 80261898 0025E7F8 90 61 00 44 */ stw r3, 0x44(r1) +/* 8026189C 0025E7FC 40 82 00 08 */ bne lbl_802618A4 +/* 802618A0 0025E800 48 00 00 18 */ b lbl_802618B8 +lbl_802618A4: +/* 802618A4 0025E804 3B BD 00 01 */ addi r29, r29, 1 +/* 802618A8 0025E808 3B DE 00 04 */ addi r30, r30, 4 +/* 802618AC 0025E80C 2C 1D 00 03 */ cmpwi r29, 3 +/* 802618B0 0025E810 3B FF 00 10 */ addi r31, r31, 0x10 +/* 802618B4 0025E814 41 80 FF 10 */ blt lbl_802617C4 +lbl_802618B8: +/* 802618B8 0025E818 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802618BC 0025E81C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802618C0 0025E820 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802618C4 0025E824 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802618C8 0025E828 83 81 00 60 */ lwz r28, 0x60(r1) +/* 802618CC 0025E82C 7C 08 03 A6 */ mtlr r0 +/* 802618D0 0025E830 38 21 00 70 */ addi r1, r1, 0x70 +/* 802618D4 0025E834 4E 80 00 20 */ blr + +.global sub_802618d8 +sub_802618d8: +/* 802618D8 0025E838 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802618DC 0025E83C 7C 08 02 A6 */ mflr r0 +/* 802618E0 0025E840 90 01 00 34 */ stw r0, 0x34(r1) +/* 802618E4 0025E844 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802618E8 0025E848 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802618EC 0025E84C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802618F0 0025E850 7C 7F 1B 78 */ mr r31, r3 +/* 802618F4 0025E854 7C BB 2B 78 */ mr r27, r5 +/* 802618F8 0025E858 3B 80 00 00 */ li r28, 0 +/* 802618FC 0025E85C 7C 9D 23 78 */ mr r29, r4 +/* 80261900 0025E860 3B DF 03 84 */ addi r30, r31, 0x384 +lbl_80261904: +/* 80261904 0025E864 80 1E 00 04 */ lwz r0, 4(r30) +/* 80261908 0025E868 80 BE 00 08 */ lwz r5, 8(r30) +/* 8026190C 0025E86C 7C 00 28 00 */ cmpw r0, r5 +/* 80261910 0025E870 40 82 00 1C */ bne lbl_8026192C +/* 80261914 0025E874 2C 05 00 00 */ cmpwi r5, 0 +/* 80261918 0025E878 7F C3 F3 78 */ mr r3, r30 +/* 8026191C 0025E87C 38 80 00 0A */ li r4, 0xa +/* 80261920 0025E880 40 81 00 08 */ ble lbl_80261928 +/* 80261924 0025E884 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80261928: +/* 80261928 0025E888 48 00 33 C9 */ bl sub_80264cf0 +lbl_8026192C: +/* 8026192C 0025E88C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80261930 0025E890 80 BE 00 08 */ lwz r5, 8(r30) +/* 80261934 0025E894 C3 FD 00 00 */ lfs f31, 0(r29) +/* 80261938 0025E898 7C 00 28 00 */ cmpw r0, r5 +/* 8026193C 0025E89C 41 80 00 1C */ blt lbl_80261958 +/* 80261940 0025E8A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80261944 0025E8A4 7F C3 F3 78 */ mr r3, r30 +/* 80261948 0025E8A8 38 80 00 04 */ li r4, 4 +/* 8026194C 0025E8AC 41 82 00 08 */ beq lbl_80261954 +/* 80261950 0025E8B0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80261954: +/* 80261954 0025E8B4 48 00 33 9D */ bl sub_80264cf0 +lbl_80261958: +/* 80261958 0025E8B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026195C 0025E8BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80261960 0025E8C0 54 00 18 38 */ slwi r0, r0, 3 +/* 80261964 0025E8C4 7C 63 02 15 */ add. r3, r3, r0 +/* 80261968 0025E8C8 41 82 00 0C */ beq lbl_80261974 +/* 8026196C 0025E8CC D3 E3 00 00 */ stfs f31, 0(r3) +/* 80261970 0025E8D0 93 63 00 04 */ stw r27, 4(r3) +lbl_80261974: +/* 80261974 0025E8D4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80261978 0025E8D8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8026197C 0025E8DC 2C 1C 00 03 */ cmpwi r28, 3 +/* 80261980 0025E8E0 3B BD 00 04 */ addi r29, r29, 4 +/* 80261984 0025E8E4 38 03 00 01 */ addi r0, r3, 1 +/* 80261988 0025E8E8 90 1E 00 04 */ stw r0, 4(r30) +/* 8026198C 0025E8EC 3B DE 00 10 */ addi r30, r30, 0x10 +/* 80261990 0025E8F0 41 80 FF 74 */ blt lbl_80261904 +/* 80261994 0025E8F4 88 1F 03 7C */ lbz r0, 0x37c(r31) +/* 80261998 0025E8F8 38 60 00 01 */ li r3, 1 +/* 8026199C 0025E8FC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802619A0 0025E900 98 1F 03 7C */ stb r0, 0x37c(r31) +/* 802619A4 0025E904 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802619A8 0025E908 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802619AC 0025E90C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802619B0 0025E910 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802619B4 0025E914 7C 08 03 A6 */ mtlr r0 +/* 802619B8 0025E918 38 21 00 30 */ addi r1, r1, 0x30 +/* 802619BC 0025E91C 4E 80 00 20 */ blr + +.global sub_802619c0 +sub_802619c0: +/* 802619C0 0025E920 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802619C4 0025E924 7C 08 02 A6 */ mflr r0 +/* 802619C8 0025E928 90 01 00 34 */ stw r0, 0x34(r1) +/* 802619CC 0025E92C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802619D0 0025E930 7C 7B 1B 78 */ mr r27, r3 +/* 802619D4 0025E934 7C 9C 23 78 */ mr r28, r4 +/* 802619D8 0025E938 54 BE 06 3E */ clrlwi r30, r5, 0x18 +/* 802619DC 0025E93C 3B FB 03 BC */ addi r31, r27, 0x3bc +/* 802619E0 0025E940 3B A0 00 00 */ li r29, 0 +/* 802619E4 0025E944 48 00 00 4C */ b lbl_80261A30 +lbl_802619E8: +/* 802619E8 0025E948 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802619EC 0025E94C 7F 83 E3 78 */ mr r3, r28 +/* 802619F0 0025E950 38 81 00 08 */ addi r4, r1, 8 +/* 802619F4 0025E954 B0 01 00 08 */ sth r0, 8(r1) +/* 802619F8 0025E958 4B DE AB 7D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802619FC 0025E95C 7C 64 1B 78 */ mr r4, r3 +/* 80261A00 0025E960 38 61 00 0C */ addi r3, r1, 0xc +/* 80261A04 0025E964 4B E4 C0 81 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 80261A08 0025E968 80 63 00 04 */ lwz r3, 4(r3) +/* 80261A0C 0025E96C 28 03 00 00 */ cmplwi r3, 0 +/* 80261A10 0025E970 41 82 00 18 */ beq lbl_80261A28 +/* 80261A14 0025E974 81 83 00 00 */ lwz r12, 0(r3) +/* 80261A18 0025E978 7F C4 F3 78 */ mr r4, r30 +/* 80261A1C 0025E97C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80261A20 0025E980 7D 89 03 A6 */ mtctr r12 +/* 80261A24 0025E984 4E 80 04 21 */ bctrl +lbl_80261A28: +/* 80261A28 0025E988 3B FF 00 02 */ addi r31, r31, 2 +/* 80261A2C 0025E98C 3B BD 00 01 */ addi r29, r29, 1 +lbl_80261A30: +/* 80261A30 0025E990 80 1B 03 B8 */ lwz r0, 0x3b8(r27) +/* 80261A34 0025E994 7C 1D 00 00 */ cmpw r29, r0 +/* 80261A38 0025E998 41 80 FF B0 */ blt lbl_802619E8 +/* 80261A3C 0025E99C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80261A40 0025E9A0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80261A44 0025E9A4 7C 08 03 A6 */ mtlr r0 +/* 80261A48 0025E9A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80261A4C 0025E9AC 4E 80 00 20 */ blr + +.global DeleteLightObjects__16CNewFlameThrowerFR13CStateManager +DeleteLightObjects__16CNewFlameThrowerFR13CStateManager: +/* 80261A50 0025E9B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80261A54 0025E9B4 7C 08 02 A6 */ mflr r0 +/* 80261A58 0025E9B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80261A5C 0025E9BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80261A60 0025E9C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80261A64 0025E9C4 3B C0 00 00 */ li r30, 0 +/* 80261A68 0025E9C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80261A6C 0025E9CC 7C 9D 23 78 */ mr r29, r4 +/* 80261A70 0025E9D0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80261A74 0025E9D4 7C 7C 1B 78 */ mr r28, r3 +/* 80261A78 0025E9D8 3B FC 03 BC */ addi r31, r28, 0x3bc +/* 80261A7C 0025E9DC 48 00 00 20 */ b lbl_80261A9C +lbl_80261A80: +/* 80261A80 0025E9E0 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80261A84 0025E9E4 7F A3 EB 78 */ mr r3, r29 +/* 80261A88 0025E9E8 38 81 00 08 */ addi r4, r1, 8 +/* 80261A8C 0025E9EC B0 01 00 08 */ sth r0, 8(r1) +/* 80261A90 0025E9F0 4B DE A7 DD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80261A94 0025E9F4 3B FF 00 02 */ addi r31, r31, 2 +/* 80261A98 0025E9F8 3B DE 00 01 */ addi r30, r30, 1 +lbl_80261A9C: +/* 80261A9C 0025E9FC 80 BC 03 B8 */ lwz r5, 0x3b8(r28) +/* 80261AA0 0025EA00 7C 1E 28 00 */ cmpw r30, r5 +/* 80261AA4 0025EA04 41 80 FF DC */ blt lbl_80261A80 +/* 80261AA8 0025EA08 2C 05 00 00 */ cmpwi r5, 0 +/* 80261AAC 0025EA0C 38 60 00 00 */ li r3, 0 +/* 80261AB0 0025EA10 40 81 00 40 */ ble lbl_80261AF0 +/* 80261AB4 0025EA14 2C 05 00 08 */ cmpwi r5, 8 +/* 80261AB8 0025EA18 38 85 FF F8 */ addi r4, r5, -8 +/* 80261ABC 0025EA1C 40 81 00 20 */ ble lbl_80261ADC +/* 80261AC0 0025EA20 38 04 00 07 */ addi r0, r4, 7 +/* 80261AC4 0025EA24 54 00 E8 FE */ srwi r0, r0, 3 +/* 80261AC8 0025EA28 7C 09 03 A6 */ mtctr r0 +/* 80261ACC 0025EA2C 2C 04 00 00 */ cmpwi r4, 0 +/* 80261AD0 0025EA30 40 81 00 0C */ ble lbl_80261ADC +lbl_80261AD4: +/* 80261AD4 0025EA34 38 63 00 08 */ addi r3, r3, 8 +/* 80261AD8 0025EA38 42 00 FF FC */ bdnz lbl_80261AD4 +lbl_80261ADC: +/* 80261ADC 0025EA3C 7C 03 28 50 */ subf r0, r3, r5 +/* 80261AE0 0025EA40 7C 09 03 A6 */ mtctr r0 +/* 80261AE4 0025EA44 7C 03 28 00 */ cmpw r3, r5 +/* 80261AE8 0025EA48 40 80 00 08 */ bge lbl_80261AF0 +lbl_80261AEC: +/* 80261AEC 0025EA4C 42 00 00 00 */ bdnz lbl_80261AEC +lbl_80261AF0: +/* 80261AF0 0025EA50 38 00 00 00 */ li r0, 0 +/* 80261AF4 0025EA54 90 1C 03 B8 */ stw r0, 0x3b8(r28) +/* 80261AF8 0025EA58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80261AFC 0025EA5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80261B00 0025EA60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80261B04 0025EA64 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80261B08 0025EA68 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80261B0C 0025EA6C 7C 08 03 A6 */ mtlr r0 +/* 80261B10 0025EA70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80261B14 0025EA74 4E 80 00 20 */ blr + +.global sub_80261b18 +sub_80261b18: +/* 80261B18 0025EA78 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80261B1C 0025EA7C 7C 08 02 A6 */ mflr r0 +/* 80261B20 0025EA80 90 01 01 04 */ stw r0, 0x104(r1) +/* 80261B24 0025EA84 BE 81 00 D0 */ stmw r20, 0xd0(r1) +/* 80261B28 0025EA88 7C 75 1B 78 */ mr r21, r3 +/* 80261B2C 0025EA8C 7C 96 23 78 */ mr r22, r4 +/* 80261B30 0025EA90 38 61 00 20 */ addi r3, r1, 0x20 +/* 80261B34 0025EA94 38 95 02 E8 */ addi r4, r21, 0x2e8 +/* 80261B38 0025EA98 48 0B 0B 49 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 80261B3C 0025EA9C 83 95 03 70 */ lwz r28, 0x370(r21) +/* 80261B40 0025EAA0 38 6D 98 30 */ addi r3, r13, lbl_805A83F0@sda21 +/* 80261B44 0025EAA4 80 0D 98 30 */ lwz r0, lbl_805A83F0@sda21(r13) +/* 80261B48 0025EAA8 80 FC 01 60 */ lwz r7, 0x160(r28) +/* 80261B4C 0025EAAC 80 BC 01 58 */ lwz r5, 0x158(r28) +/* 80261B50 0025EAB0 7C E4 16 70 */ srawi r4, r7, 2 +/* 80261B54 0025EAB4 7C A7 2A 14 */ add r5, r7, r5 +/* 80261B58 0025EAB8 38 C5 FF FF */ addi r6, r5, -1 +/* 80261B5C 0025EABC 7C 84 01 94 */ addze r4, r4 +/* 80261B60 0025EAC0 7C A6 3B D6 */ divw r5, r6, r7 +/* 80261B64 0025EAC4 90 81 00 0C */ stw r4, 0xc(r1) +/* 80261B68 0025EAC8 7C 00 20 00 */ cmpw r0, r4 +/* 80261B6C 0025EACC 7C 05 39 D6 */ mullw r0, r5, r7 +/* 80261B70 0025EAD0 7F 60 30 50 */ subf r27, r0, r6 +/* 80261B74 0025EAD4 40 80 00 08 */ bge lbl_80261B7C +/* 80261B78 0025EAD8 38 61 00 0C */ addi r3, r1, 0xc +lbl_80261B7C: +/* 80261B7C 0025EADC 83 43 00 00 */ lwz r26, 0(r3) +/* 80261B80 0025EAE0 3B B5 03 BC */ addi r29, r21, 0x3bc +/* 80261B84 0025EAE4 3B 20 00 00 */ li r25, 0 +/* 80261B88 0025EAE8 3B C0 00 00 */ li r30, 0 +/* 80261B8C 0025EAEC 48 00 01 94 */ b lbl_80261D20 +lbl_80261B90: +/* 80261B90 0025EAF0 A0 1D 00 00 */ lhz r0, 0(r29) +/* 80261B94 0025EAF4 7E C3 B3 78 */ mr r3, r22 +/* 80261B98 0025EAF8 38 81 00 08 */ addi r4, r1, 8 +/* 80261B9C 0025EAFC B0 01 00 08 */ sth r0, 8(r1) +/* 80261BA0 0025EB00 4B DE A9 D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80261BA4 0025EB04 7C 64 1B 78 */ mr r4, r3 +/* 80261BA8 0025EB08 38 61 00 18 */ addi r3, r1, 0x18 +/* 80261BAC 0025EB0C 4B E4 BE D9 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 80261BB0 0025EB10 83 03 00 04 */ lwz r24, 4(r3) +/* 80261BB4 0025EB14 28 18 00 00 */ cmplwi r24, 0 +/* 80261BB8 0025EB18 41 82 01 5C */ beq lbl_80261D14 +/* 80261BBC 0025EB1C 80 BC 01 60 */ lwz r5, 0x160(r28) +/* 80261BC0 0025EB20 3A E0 00 01 */ li r23, 1 +/* 80261BC4 0025EB24 7C 1E 28 00 */ cmpw r30, r5 +/* 80261BC8 0025EB28 41 80 00 08 */ blt lbl_80261BD0 +/* 80261BCC 0025EB2C 3A E0 00 00 */ li r23, 0 +lbl_80261BD0: +/* 80261BD0 0025EB30 7C 7E DA 14 */ add r3, r30, r27 +/* 80261BD4 0025EB34 80 9C 01 68 */ lwz r4, 0x168(r28) +/* 80261BD8 0025EB38 7C 03 2B D6 */ divw r0, r3, r5 +/* 80261BDC 0025EB3C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80261BE0 0025EB40 7C 00 18 50 */ subf r0, r0, r3 +/* 80261BE4 0025EB44 54 00 38 30 */ slwi r0, r0, 7 +/* 80261BE8 0025EB48 7F E4 02 14 */ add r31, r4, r0 +/* 80261BEC 0025EB4C 88 1F 00 00 */ lbz r0, 0(r31) +/* 80261BF0 0025EB50 28 00 00 00 */ cmplwi r0, 0 +/* 80261BF4 0025EB54 40 82 00 08 */ bne lbl_80261BFC +/* 80261BF8 0025EB58 3A E0 00 00 */ li r23, 0 +lbl_80261BFC: +/* 80261BFC 0025EB5C 7F 03 C3 78 */ mr r3, r24 +/* 80261C00 0025EB60 7E E4 BB 78 */ mr r4, r23 +/* 80261C04 0025EB64 81 98 00 00 */ lwz r12, 0(r24) +/* 80261C08 0025EB68 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80261C0C 0025EB6C 7D 89 03 A6 */ mtctr r12 +/* 80261C10 0025EB70 4E 80 04 21 */ bctrl +/* 80261C14 0025EB74 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80261C18 0025EB78 41 82 00 FC */ beq lbl_80261D14 +/* 80261C1C 0025EB7C 80 95 03 58 */ lwz r4, 0x358(r21) +/* 80261C20 0025EB80 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261C24 0025EB84 81 84 00 00 */ lwz r12, 0(r4) +/* 80261C28 0025EB88 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80261C2C 0025EB8C 7D 89 03 A6 */ mtctr r12 +/* 80261C30 0025EB90 4E 80 04 21 */ bctrl +/* 80261C34 0025EB94 38 61 00 7C */ addi r3, r1, 0x7c +/* 80261C38 0025EB98 38 81 00 2C */ addi r4, r1, 0x2c +/* 80261C3C 0025EB9C 4B DD 99 35 */ bl __ct__6CLightFCR6CLight +/* 80261C40 0025EBA0 80 75 03 0C */ lwz r3, 0x30c(r21) +/* 80261C44 0025EBA4 82 E3 00 F0 */ lwz r23, 0xf0(r3) +/* 80261C48 0025EBA8 28 17 00 00 */ cmplwi r23, 0 +/* 80261C4C 0025EBAC 41 82 00 50 */ beq lbl_80261C9C +/* 80261C50 0025EBB0 38 75 02 E8 */ addi r3, r21, 0x2e8 +/* 80261C54 0025EBB4 38 80 00 00 */ li r4, 0 +/* 80261C58 0025EBB8 38 A0 00 10 */ li r5, 0x10 +/* 80261C5C 0025EBBC 48 0B 09 39 */ bl Range__9CRandom16Fii +/* 80261C60 0025EBC0 7C 74 1B 78 */ mr r20, r3 +/* 80261C64 0025EBC4 48 0C 8A E5 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 80261C68 0025EBC8 48 0E 83 25 */ bl Yellow__6CColorFv +/* 80261C6C 0025EBCC 80 03 00 00 */ lwz r0, 0(r3) +/* 80261C70 0025EBD0 7E E3 BB 78 */ mr r3, r23 +/* 80261C74 0025EBD4 7E 84 A3 78 */ mr r4, r20 +/* 80261C78 0025EBD8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80261C7C 0025EBDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261C80 0025EBE0 81 97 00 00 */ lwz r12, 0(r23) +/* 80261C84 0025EBE4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80261C88 0025EBE8 7D 89 03 A6 */ mtctr r12 +/* 80261C8C 0025EBEC 4E 80 04 21 */ bctrl +/* 80261C90 0025EBF0 38 61 00 7C */ addi r3, r1, 0x7c +/* 80261C94 0025EBF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80261C98 0025EBF8 48 0A 46 C5 */ bl SetColor__6CLightFRC6CColor +lbl_80261C9C: +/* 80261C9C 0025EBFC 80 75 03 0C */ lwz r3, 0x30c(r21) +/* 80261CA0 0025EC00 82 83 00 F4 */ lwz r20, 0xf4(r3) +/* 80261CA4 0025EC04 28 14 00 00 */ cmplwi r20, 0 +/* 80261CA8 0025EC08 41 82 00 54 */ beq lbl_80261CFC +/* 80261CAC 0025EC0C 38 75 02 E8 */ addi r3, r21, 0x2e8 +/* 80261CB0 0025EC10 38 80 00 00 */ li r4, 0 +/* 80261CB4 0025EC14 38 A0 00 10 */ li r5, 0x10 +/* 80261CB8 0025EC18 48 0B 08 DD */ bl Range__9CRandom16Fii +/* 80261CBC 0025EC1C 7C 77 1B 78 */ mr r23, r3 +/* 80261CC0 0025EC20 48 0C 8A 89 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 80261CC4 0025EC24 C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80261CC8 0025EC28 7E 83 A3 78 */ mr r3, r20 +/* 80261CCC 0025EC2C 7E E4 BB 78 */ mr r4, r23 +/* 80261CD0 0025EC30 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80261CD4 0025EC34 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80261CD8 0025EC38 81 94 00 00 */ lwz r12, 0(r20) +/* 80261CDC 0025EC3C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80261CE0 0025EC40 7D 89 03 A6 */ mtctr r12 +/* 80261CE4 0025EC44 4E 80 04 21 */ bctrl +/* 80261CE8 0025EC48 C0 42 BA 6C */ lfs f2, lbl_805AD78C@sda21(r2) +/* 80261CEC 0025EC4C 38 61 00 7C */ addi r3, r1, 0x7c +/* 80261CF0 0025EC50 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80261CF4 0025EC54 FC 60 10 90 */ fmr f3, f2 +/* 80261CF8 0025EC58 48 0A 46 8D */ bl SetAngleAttenuation__6CLightFfff +lbl_80261CFC: +/* 80261CFC 0025EC5C 7F 03 C3 78 */ mr r3, r24 +/* 80261D00 0025EC60 38 81 00 7C */ addi r4, r1, 0x7c +/* 80261D04 0025EC64 4B E5 3A 41 */ bl SetLight__10CGameLightFRC6CLight +/* 80261D08 0025EC68 7F 03 C3 78 */ mr r3, r24 +/* 80261D0C 0025EC6C 38 9F 00 0C */ addi r4, r31, 0xc +/* 80261D10 0025EC70 4B DF 11 7D */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80261D14: +/* 80261D14 0025EC74 7F DE D2 14 */ add r30, r30, r26 +/* 80261D18 0025EC78 3B BD 00 02 */ addi r29, r29, 2 +/* 80261D1C 0025EC7C 3B 39 00 01 */ addi r25, r25, 1 +lbl_80261D20: +/* 80261D20 0025EC80 80 15 03 B8 */ lwz r0, 0x3b8(r21) +/* 80261D24 0025EC84 7C 19 00 00 */ cmpw r25, r0 +/* 80261D28 0025EC88 41 80 FE 68 */ blt lbl_80261B90 +/* 80261D2C 0025EC8C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80261D30 0025EC90 38 80 FF FF */ li r4, -1 +/* 80261D34 0025EC94 48 0B 08 D1 */ bl __dt__13CGlobalRandomFv +/* 80261D38 0025EC98 BA 81 00 D0 */ lmw r20, 0xd0(r1) +/* 80261D3C 0025EC9C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80261D40 0025ECA0 7C 08 03 A6 */ mtlr r0 +/* 80261D44 0025ECA4 38 21 01 00 */ addi r1, r1, 0x100 +/* 80261D48 0025ECA8 4E 80 00 20 */ blr + +.global CreateLightObjects__16CNewFlameThrowerFR13CStateManager +CreateLightObjects__16CNewFlameThrowerFR13CStateManager: +/* 80261D4C 0025ECAC 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80261D50 0025ECB0 7C 08 02 A6 */ mflr r0 +/* 80261D54 0025ECB4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80261D58 0025ECB8 BF 01 00 90 */ stmw r24, 0x90(r1) +/* 80261D5C 0025ECBC 7C 7C 1B 78 */ mr r28, r3 +/* 80261D60 0025ECC0 7C 9D 23 78 */ mr r29, r4 +/* 80261D64 0025ECC4 4B FF FC ED */ bl DeleteLightObjects__16CNewFlameThrowerFR13CStateManager +/* 80261D68 0025ECC8 3B C0 00 00 */ li r30, 0 +/* 80261D6C 0025ECCC 3B FC 03 BC */ addi r31, r28, 0x3bc +lbl_80261D70: +/* 80261D70 0025ECD0 7F A4 EB 78 */ mr r4, r29 +/* 80261D74 0025ECD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80261D78 0025ECD8 4B DE B3 65 */ bl AllocateUniqueId__13CStateManagerFv +/* 80261D7C 0025ECDC A0 61 00 1C */ lhz r3, 0x1c(r1) +/* 80261D80 0025ECE0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80261D84 0025ECE4 B0 61 00 20 */ sth r3, 0x20(r1) +/* 80261D88 0025ECE8 7C 03 00 40 */ cmplw r3, r0 +/* 80261D8C 0025ECEC 41 82 01 08 */ beq lbl_80261E94 +/* 80261D90 0025ECF0 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80261D94 0025ECF4 57 C0 07 FE */ clrlwi r0, r30, 0x1f +/* 80261D98 0025ECF8 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80261D9C 0025ECFC 3B 00 00 00 */ li r24, 0 +/* 80261DA0 0025ED00 7F 3C 02 14 */ add r25, r28, r0 +/* 80261DA4 0025ED04 38 60 01 48 */ li r3, 0x148 +/* 80261DA8 0025ED08 38 A0 00 00 */ li r5, 0 +/* 80261DAC 0025ED0C 48 0B 3A C1 */ bl __nw__FUlPCcPCc +/* 80261DB0 0025ED10 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80261DB4 0025ED14 41 82 00 9C */ beq lbl_80261E50 +/* 80261DB8 0025ED18 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80261DBC 0025ED1C 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80261DC0 0025ED20 83 5C 03 58 */ lwz r26, 0x358(r28) +/* 80261DC4 0025ED24 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80261DC8 0025ED28 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80261DCC 0025ED2C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261DD0 0025ED30 38 84 00 07 */ addi r4, r4, 7 +/* 80261DD4 0025ED34 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80261DD8 0025ED38 4B DA 2E E1 */ bl string_l__4rstlFPCc +/* 80261DDC 0025ED3C 7F 84 E3 78 */ mr r4, r28 +/* 80261DE0 0025ED40 38 61 00 24 */ addi r3, r1, 0x24 +/* 80261DE4 0025ED44 3B 00 00 01 */ li r24, 1 +/* 80261DE8 0025ED48 4B DE F2 9D */ bl GetAreaId__7CEntityCFv +/* 80261DEC 0025ED4C 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80261DF0 0025ED50 7F 44 D3 78 */ mr r4, r26 +/* 80261DF4 0025ED54 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 80261DF8 0025ED58 38 61 00 3C */ addi r3, r1, 0x3c +/* 80261DFC 0025ED5C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80261E00 0025ED60 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80261E04 0025ED64 81 9A 00 00 */ lwz r12, 0(r26) +/* 80261E08 0025ED68 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80261E0C 0025ED6C 7D 89 03 A6 */ mtctr r12 +/* 80261E10 0025ED70 4E 80 04 21 */ bctrl +/* 80261E14 0025ED74 93 21 00 08 */ stw r25, 8(r1) +/* 80261E18 0025ED78 38 00 00 00 */ li r0, 0 +/* 80261E1C 0025ED7C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80261E20 0025ED80 C0 22 BA 6C */ lfs f1, lbl_805AD78C@sda21(r2) +/* 80261E24 0025ED84 90 01 00 0C */ stw r0, 0xc(r1) +/* 80261E28 0025ED88 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80261E2C 0025ED8C 7F 63 DB 78 */ mr r3, r27 +/* 80261E30 0025ED90 38 81 00 10 */ addi r4, r1, 0x10 +/* 80261E34 0025ED94 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80261E38 0025ED98 38 E1 00 2C */ addi r7, r1, 0x2c +/* 80261E3C 0025ED9C 39 21 00 18 */ addi r9, r1, 0x18 +/* 80261E40 0025EDA0 39 41 00 3C */ addi r10, r1, 0x3c +/* 80261E44 0025EDA4 38 C0 00 00 */ li r6, 0 +/* 80261E48 0025EDA8 4B E5 39 DD */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 80261E4C 0025EDAC 7C 7B 1B 78 */ mr r27, r3 +lbl_80261E50: +/* 80261E50 0025EDB0 7F 00 07 75 */ extsb. r0, r24 +/* 80261E54 0025EDB4 7F 79 DB 78 */ mr r25, r27 +/* 80261E58 0025EDB8 41 82 00 0C */ beq lbl_80261E64 +/* 80261E5C 0025EDBC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261E60 0025EDC0 48 0D BC 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80261E64: +/* 80261E64 0025EDC4 7F A3 EB 78 */ mr r3, r29 +/* 80261E68 0025EDC8 7F 24 CB 78 */ mr r4, r25 +/* 80261E6C 0025EDCC 4B DE AE 89 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80261E70 0025EDD0 80 1C 03 B8 */ lwz r0, 0x3b8(r28) +/* 80261E74 0025EDD4 54 00 08 3C */ slwi r0, r0, 1 +/* 80261E78 0025EDD8 7C 7F 02 15 */ add. r3, r31, r0 +/* 80261E7C 0025EDDC 41 82 00 0C */ beq lbl_80261E88 +/* 80261E80 0025EDE0 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 80261E84 0025EDE4 B0 03 00 00 */ sth r0, 0(r3) +lbl_80261E88: +/* 80261E88 0025EDE8 80 7C 03 B8 */ lwz r3, 0x3b8(r28) +/* 80261E8C 0025EDEC 38 03 00 01 */ addi r0, r3, 1 +/* 80261E90 0025EDF0 90 1C 03 B8 */ stw r0, 0x3b8(r28) +lbl_80261E94: +/* 80261E94 0025EDF4 3B DE 00 01 */ addi r30, r30, 1 +/* 80261E98 0025EDF8 2C 1E 00 04 */ cmpwi r30, 4 +/* 80261E9C 0025EDFC 41 80 FE D4 */ blt lbl_80261D70 +/* 80261EA0 0025EE00 BB 01 00 90 */ lmw r24, 0x90(r1) +/* 80261EA4 0025EE04 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80261EA8 0025EE08 7C 08 03 A6 */ mtlr r0 +/* 80261EAC 0025EE0C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80261EB0 0025EE10 4E 80 00 20 */ blr + +.global AreParticlesDoneEmitting__16CNewFlameThrowerCFv +AreParticlesDoneEmitting__16CNewFlameThrowerCFv: +/* 80261EB4 0025EE14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80261EB8 0025EE18 7C 08 02 A6 */ mflr r0 +/* 80261EBC 0025EE1C 38 80 00 00 */ li r4, 0 +/* 80261EC0 0025EE20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261EC4 0025EE24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80261EC8 0025EE28 7C 7F 1B 78 */ mr r31, r3 +/* 80261ECC 0025EE2C 80 63 03 58 */ lwz r3, 0x358(r3) +/* 80261ED0 0025EE30 28 03 00 00 */ cmplwi r3, 0 +/* 80261ED4 0025EE34 41 82 00 1C */ beq lbl_80261EF0 +/* 80261ED8 0025EE38 81 83 00 00 */ lwz r12, 0(r3) +/* 80261EDC 0025EE3C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261EE0 0025EE40 7D 89 03 A6 */ mtctr r12 +/* 80261EE4 0025EE44 4E 80 04 21 */ bctrl +/* 80261EE8 0025EE48 7C 60 00 34 */ cntlzw r0, r3 +/* 80261EEC 0025EE4C 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261EF0: +/* 80261EF0 0025EE50 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261EF4 0025EE54 41 82 00 28 */ beq lbl_80261F1C +/* 80261EF8 0025EE58 80 7F 03 5C */ lwz r3, 0x35c(r31) +/* 80261EFC 0025EE5C 28 03 00 00 */ cmplwi r3, 0 +/* 80261F00 0025EE60 41 82 00 1C */ beq lbl_80261F1C +/* 80261F04 0025EE64 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F08 0025EE68 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F0C 0025EE6C 7D 89 03 A6 */ mtctr r12 +/* 80261F10 0025EE70 4E 80 04 21 */ bctrl +/* 80261F14 0025EE74 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F18 0025EE78 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261F1C: +/* 80261F1C 0025EE7C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261F20 0025EE80 41 82 00 28 */ beq lbl_80261F48 +/* 80261F24 0025EE84 80 7F 03 60 */ lwz r3, 0x360(r31) +/* 80261F28 0025EE88 28 03 00 00 */ cmplwi r3, 0 +/* 80261F2C 0025EE8C 41 82 00 1C */ beq lbl_80261F48 +/* 80261F30 0025EE90 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F34 0025EE94 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F38 0025EE98 7D 89 03 A6 */ mtctr r12 +/* 80261F3C 0025EE9C 4E 80 04 21 */ bctrl +/* 80261F40 0025EEA0 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F44 0025EEA4 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261F48: +/* 80261F48 0025EEA8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261F4C 0025EEAC 41 82 00 28 */ beq lbl_80261F74 +/* 80261F50 0025EEB0 80 7F 03 64 */ lwz r3, 0x364(r31) +/* 80261F54 0025EEB4 28 03 00 00 */ cmplwi r3, 0 +/* 80261F58 0025EEB8 41 82 00 1C */ beq lbl_80261F74 +/* 80261F5C 0025EEBC 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F60 0025EEC0 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F64 0025EEC4 7D 89 03 A6 */ mtctr r12 +/* 80261F68 0025EEC8 4E 80 04 21 */ bctrl +/* 80261F6C 0025EECC 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F70 0025EED0 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261F74: +/* 80261F74 0025EED4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261F78 0025EED8 41 82 00 28 */ beq lbl_80261FA0 +/* 80261F7C 0025EEDC 80 7F 03 68 */ lwz r3, 0x368(r31) +/* 80261F80 0025EEE0 28 03 00 00 */ cmplwi r3, 0 +/* 80261F84 0025EEE4 41 82 00 1C */ beq lbl_80261FA0 +/* 80261F88 0025EEE8 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F8C 0025EEEC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F90 0025EEF0 7D 89 03 A6 */ mtctr r12 +/* 80261F94 0025EEF4 4E 80 04 21 */ bctrl +/* 80261F98 0025EEF8 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F9C 0025EEFC 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261FA0: +/* 80261FA0 0025EF00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80261FA4 0025EF04 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 80261FA8 0025EF08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80261FAC 0025EF0C 7C 08 03 A6 */ mtlr r0 +/* 80261FB0 0025EF10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80261FB4 0025EF14 4E 80 00 20 */ blr + +.global sub_80261fb8 +sub_80261fb8: +/* 80261FB8 0025EF18 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80261FBC 0025EF1C 7C 08 02 A6 */ mflr r0 +/* 80261FC0 0025EF20 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80261FC4 0025EF24 BE 81 01 A0 */ stmw r20, 0x1a0(r1) +/* 80261FC8 0025EF28 7C B7 2B 78 */ mr r23, r5 +/* 80261FCC 0025EF2C 7C 96 23 78 */ mr r22, r4 +/* 80261FD0 0025EF30 7C D8 33 78 */ mr r24, r6 +/* 80261FD4 0025EF34 7C F9 3B 78 */ mr r25, r7 +/* 80261FD8 0025EF38 7D 1A 43 78 */ mr r26, r8 +/* 80261FDC 0025EF3C 3B 77 00 04 */ addi r27, r23, 4 +/* 80261FE0 0025EF40 3B E1 01 30 */ addi r31, r1, 0x130 +/* 80261FE4 0025EF44 3B C1 01 68 */ addi r30, r1, 0x168 +/* 80261FE8 0025EF48 3B A1 00 90 */ addi r29, r1, 0x90 +/* 80261FEC 0025EF4C 3B 81 00 C8 */ addi r28, r1, 0xc8 +/* 80261FF0 0025EF50 48 00 02 60 */ b lbl_80262250 +lbl_80261FF4: +/* 80261FF4 0025EF54 A0 1B 00 00 */ lhz r0, 0(r27) +/* 80261FF8 0025EF58 7E C3 B3 78 */ mr r3, r22 +/* 80261FFC 0025EF5C 38 81 00 08 */ addi r4, r1, 8 +/* 80262000 0025EF60 B0 01 00 08 */ sth r0, 8(r1) +/* 80262004 0025EF64 4B DE A5 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80262008 0025EF68 7C 64 1B 78 */ mr r4, r3 +/* 8026200C 0025EF6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80262010 0025EF70 4B E4 DC 81 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80262014 0025EF74 82 A3 00 04 */ lwz r21, 4(r3) +/* 80262018 0025EF78 28 15 00 00 */ cmplwi r21, 0 +/* 8026201C 0025EF7C 41 82 02 30 */ beq lbl_8026224C +/* 80262020 0025EF80 7E A4 AB 78 */ mr r4, r21 +/* 80262024 0025EF84 38 61 00 18 */ addi r3, r1, 0x18 +/* 80262028 0025EF88 4B E4 A6 BD */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 8026202C 0025EF8C 82 83 00 04 */ lwz r20, 4(r3) +/* 80262030 0025EF90 28 14 00 00 */ cmplwi r20, 0 +/* 80262034 0025EF94 41 82 00 98 */ beq lbl_802620CC +/* 80262038 0025EF98 7E 84 A3 78 */ mr r4, r20 +/* 8026203C 0025EF9C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80262040 0025EFA0 81 94 00 00 */ lwz r12, 0(r20) +/* 80262044 0025EFA4 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80262048 0025EFA8 7D 89 03 A6 */ mtctr r12 +/* 8026204C 0025EFAC 4E 80 04 21 */ bctrl +/* 80262050 0025EFB0 7E 83 A3 78 */ mr r3, r20 +/* 80262054 0025EFB4 4B DF 18 69 */ bl GetMaterialFilter__6CActorCFv +/* 80262058 0025EFB8 7C 75 1B 78 */ mr r21, r3 +/* 8026205C 0025EFBC 7E 83 A3 78 */ mr r3, r20 +/* 80262060 0025EFC0 81 94 00 00 */ lwz r12, 0(r20) +/* 80262064 0025EFC4 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 80262068 0025EFC8 7D 89 03 A6 */ mtctr r12 +/* 8026206C 0025EFCC 4E 80 04 21 */ bctrl +/* 80262070 0025EFD0 90 61 01 28 */ stw r3, 0x128(r1) +/* 80262074 0025EFD4 7F E3 FB 78 */ mr r3, r31 +/* 80262078 0025EFD8 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8026207C 0025EFDC 92 A1 01 2C */ stw r21, 0x12c(r1) +/* 80262080 0025EFE0 48 0B 0A F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80262084 0025EFE4 3C 80 80 47 */ lis r4, lbl_8046DCA8@ha +/* 80262088 0025EFE8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8026208C 0025EFEC 38 04 DC A8 */ addi r0, r4, lbl_8046DCA8@l +/* 80262090 0025EFF0 93 01 01 60 */ stw r24, 0x160(r1) +/* 80262094 0025EFF4 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80262098 0025EFF8 7F C3 F3 78 */ mr r3, r30 +/* 8026209C 0025EFFC 90 01 01 64 */ stw r0, 0x164(r1) +/* 802620A0 0025F000 48 0B 0A D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802620A4 0025F004 7F 45 D3 78 */ mr r5, r26 +/* 802620A8 0025F008 38 61 01 60 */ addi r3, r1, 0x160 +/* 802620AC 0025F00C 38 81 01 28 */ addi r4, r1, 0x128 +/* 802620B0 0025F010 48 06 C7 01 */ bl Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList +/* 802620B4 0025F014 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802620B8 0025F018 41 82 01 94 */ beq lbl_8026224C +/* 802620BC 0025F01C A0 1B 00 00 */ lhz r0, 0(r27) +/* 802620C0 0025F020 38 60 00 01 */ li r3, 1 +/* 802620C4 0025F024 B0 19 00 00 */ sth r0, 0(r25) +/* 802620C8 0025F028 48 00 01 A4 */ b lbl_8026226C +lbl_802620CC: +/* 802620CC 0025F02C 7E A4 AB 78 */ mr r4, r21 +/* 802620D0 0025F030 38 61 00 28 */ addi r3, r1, 0x28 +/* 802620D4 0025F034 81 95 00 00 */ lwz r12, 0(r21) +/* 802620D8 0025F038 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 802620DC 0025F03C 7D 89 03 A6 */ mtctr r12 +/* 802620E0 0025F040 4E 80 04 21 */ bctrl +/* 802620E4 0025F044 88 01 00 40 */ lbz r0, 0x40(r1) +/* 802620E8 0025F048 28 00 00 00 */ cmplwi r0, 0 +/* 802620EC 0025F04C 98 01 00 5C */ stb r0, 0x5c(r1) +/* 802620F0 0025F050 41 82 00 3C */ beq lbl_8026212C +/* 802620F4 0025F054 34 61 00 44 */ addic. r3, r1, 0x44 +/* 802620F8 0025F058 41 82 00 34 */ beq lbl_8026212C +/* 802620FC 0025F05C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80262100 0025F060 D0 03 00 00 */ stfs f0, 0(r3) +/* 80262104 0025F064 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80262108 0025F068 D0 03 00 04 */ stfs f0, 4(r3) +/* 8026210C 0025F06C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80262110 0025F070 D0 03 00 08 */ stfs f0, 8(r3) +/* 80262114 0025F074 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80262118 0025F078 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8026211C 0025F07C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80262120 0025F080 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80262124 0025F084 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80262128 0025F088 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8026212C: +/* 8026212C 0025F08C 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80262130 0025F090 38 C0 00 00 */ li r6, 0 +/* 80262134 0025F094 98 C1 00 40 */ stb r6, 0x40(r1) +/* 80262138 0025F098 28 00 00 00 */ cmplwi r0, 0 +/* 8026213C 0025F09C 41 82 01 08 */ beq lbl_80262244 +/* 80262140 0025F0A0 80 AD 98 2C */ lwz r5, lbl_805A83EC@sda21(r13) +/* 80262144 0025F0A4 38 60 00 00 */ li r3, 0 +/* 80262148 0025F0A8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8026214C 0025F0AC 38 80 00 01 */ li r4, 1 +/* 80262150 0025F0B0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80262154 0025F0B4 48 12 7D A1 */ bl __shl2i +/* 80262158 0025F0B8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026215C 0025F0BC 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80262160 0025F0C0 7C 00 1B 78 */ or r0, r0, r3 +/* 80262164 0025F0C4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80262168 0025F0C8 7C A5 23 78 */ or r5, r5, r4 +/* 8026216C 0025F0CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80262170 0025F0D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80262174 0025F0D4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80262178 0025F0D8 48 06 D7 3D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8026217C 0025F0DC C0 A1 00 44 */ lfs f5, 0x44(r1) +/* 80262180 0025F0E0 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 80262184 0025F0E4 C0 81 00 48 */ lfs f4, 0x48(r1) +/* 80262188 0025F0E8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8026218C 0025F0EC 38 03 FD 18 */ addi r0, r3, lbl_8059FD18@l +/* 80262190 0025F0F0 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 80262194 0025F0F4 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80262198 0025F0F8 38 C4 CA D0 */ addi r6, r4, lbl_803ECAD0@l +/* 8026219C 0025F0FC C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802621A0 0025F100 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802621A4 0025F104 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802621A8 0025F108 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802621AC 0025F10C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802621B0 0025F110 90 C1 00 60 */ stw r6, 0x60(r1) +/* 802621B4 0025F114 7F A3 EB 78 */ mr r3, r29 +/* 802621B8 0025F118 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 802621BC 0025F11C D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802621C0 0025F120 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802621C4 0025F124 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802621C8 0025F128 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802621CC 0025F12C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802621D0 0025F130 90 A1 00 88 */ stw r5, 0x88(r1) +/* 802621D4 0025F134 90 01 00 8C */ stw r0, 0x8c(r1) +/* 802621D8 0025F138 48 0B 09 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802621DC 0025F13C 3C 80 80 47 */ lis r4, lbl_8046DCA8@ha +/* 802621E0 0025F140 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802621E4 0025F144 38 04 DC A8 */ addi r0, r4, lbl_8046DCA8@l +/* 802621E8 0025F148 93 01 00 C0 */ stw r24, 0xc0(r1) +/* 802621EC 0025F14C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802621F0 0025F150 7F 83 E3 78 */ mr r3, r28 +/* 802621F4 0025F154 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802621F8 0025F158 48 0B 09 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802621FC 0025F15C 7F 45 D3 78 */ mr r5, r26 +/* 80262200 0025F160 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80262204 0025F164 38 81 00 88 */ addi r4, r1, 0x88 +/* 80262208 0025F168 48 06 C5 A9 */ bl Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList +/* 8026220C 0025F16C 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 80262210 0025F170 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80262214 0025F174 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l +/* 80262218 0025F178 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8026221C 0025F17C 90 81 00 60 */ stw r4, 0x60(r1) +/* 80262220 0025F180 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 80262224 0025F184 90 61 00 60 */ stw r3, 0x60(r1) +/* 80262228 0025F188 41 82 00 1C */ beq lbl_80262244 +/* 8026222C 0025F18C A0 9B 00 00 */ lhz r4, 0(r27) +/* 80262230 0025F190 38 00 00 00 */ li r0, 0 +/* 80262234 0025F194 98 01 00 5C */ stb r0, 0x5c(r1) +/* 80262238 0025F198 38 60 00 01 */ li r3, 1 +/* 8026223C 0025F19C B0 99 00 00 */ sth r4, 0(r25) +/* 80262240 0025F1A0 48 00 00 2C */ b lbl_8026226C +lbl_80262244: +/* 80262244 0025F1A4 38 00 00 00 */ li r0, 0 +/* 80262248 0025F1A8 98 01 00 5C */ stb r0, 0x5c(r1) +lbl_8026224C: +/* 8026224C 0025F1AC 3B 7B 00 02 */ addi r27, r27, 2 +lbl_80262250: +/* 80262250 0025F1B0 80 17 00 00 */ lwz r0, 0(r23) +/* 80262254 0025F1B4 54 00 08 3C */ slwi r0, r0, 1 +/* 80262258 0025F1B8 7C 77 02 14 */ add r3, r23, r0 +/* 8026225C 0025F1BC 38 03 00 04 */ addi r0, r3, 4 +/* 80262260 0025F1C0 7C 1B 00 40 */ cmplw r27, r0 +/* 80262264 0025F1C4 40 82 FD 90 */ bne lbl_80261FF4 +/* 80262268 0025F1C8 38 60 00 00 */ li r3, 0 +lbl_8026226C: +/* 8026226C 0025F1CC BA 81 01 A0 */ lmw r20, 0x1a0(r1) +/* 80262270 0025F1D0 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 80262274 0025F1D4 7C 08 03 A6 */ mtlr r0 +/* 80262278 0025F1D8 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 8026227C 0025F1DC 4E 80 00 20 */ blr + +.global sub_80262280 +sub_80262280: +/* 80262280 0025F1E0 94 21 B5 10 */ stwu r1, -0x4af0(r1) +/* 80262284 0025F1E4 7C 08 02 A6 */ mflr r0 +/* 80262288 0025F1E8 90 01 4A F4 */ stw r0, 0x4af4(r1) +/* 8026228C 0025F1EC 38 00 4A E8 */ li r0, 0x4ae8 +/* 80262290 0025F1F0 DB E1 4A E0 */ stfd f31, 0x4ae0(r1) +/* 80262294 0025F1F4 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 80262298 0025F1F8 38 00 4A D8 */ li r0, 0x4ad8 +/* 8026229C 0025F1FC DB C1 4A D0 */ stfd f30, 0x4ad0(r1) +/* 802622A0 0025F200 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 802622A4 0025F204 38 00 4A C8 */ li r0, 0x4ac8 +/* 802622A8 0025F208 DB A1 4A C0 */ stfd f29, 0x4ac0(r1) +/* 802622AC 0025F20C 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 802622B0 0025F210 38 00 4A B8 */ li r0, 0x4ab8 +/* 802622B4 0025F214 DB 81 4A B0 */ stfd f28, 0x4ab0(r1) +/* 802622B8 0025F218 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 802622BC 0025F21C 38 00 4A A8 */ li r0, 0x4aa8 +/* 802622C0 0025F220 DB 61 4A A0 */ stfd f27, 0x4aa0(r1) +/* 802622C4 0025F224 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 802622C8 0025F228 38 00 4A 98 */ li r0, 0x4a98 +/* 802622CC 0025F22C DB 41 4A 90 */ stfd f26, 0x4a90(r1) +/* 802622D0 0025F230 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 +/* 802622D4 0025F234 38 00 4A 88 */ li r0, 0x4a88 +/* 802622D8 0025F238 DB 21 4A 80 */ stfd f25, 0x4a80(r1) +/* 802622DC 0025F23C 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0 +/* 802622E0 0025F240 38 00 4A 78 */ li r0, 0x4a78 +/* 802622E4 0025F244 DB 01 4A 70 */ stfd f24, 0x4a70(r1) +/* 802622E8 0025F248 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0 +/* 802622EC 0025F24C 38 00 4A 68 */ li r0, 0x4a68 +/* 802622F0 0025F250 DA E1 4A 60 */ stfd f23, 0x4a60(r1) +/* 802622F4 0025F254 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0 +/* 802622F8 0025F258 38 00 4A 58 */ li r0, 0x4a58 +/* 802622FC 0025F25C DA C1 4A 50 */ stfd f22, 0x4a50(r1) +/* 80262300 0025F260 12 C1 00 0E */ psq_stx f22, r1, r0, 0, qr0 +/* 80262304 0025F264 BD C1 4A 08 */ stmw r14, 0x4a08(r1) +/* 80262308 0025F268 7C 7D 1B 78 */ mr r29, r3 +/* 8026230C 0025F26C 38 C0 00 00 */ li r6, 0 +/* 80262310 0025F270 38 7D 02 F4 */ addi r3, r29, 0x2f4 +/* 80262314 0025F274 38 01 00 D4 */ addi r0, r1, 0xd4 +/* 80262318 0025F278 FE C0 08 90 */ fmr f22, f1 +/* 8026231C 0025F27C 7C 03 00 40 */ cmplw r3, r0 +/* 80262320 0025F280 98 C1 00 E0 */ stb r6, 0xe0(r1) +/* 80262324 0025F284 7C 9E 23 78 */ mr r30, r4 +/* 80262328 0025F288 7C BF 2B 78 */ mr r31, r5 +/* 8026232C 0025F28C 3A 60 00 00 */ li r19, 0 +/* 80262330 0025F290 41 82 00 64 */ beq lbl_80262394 +/* 80262334 0025F294 28 06 00 00 */ cmplwi r6, 0 +/* 80262338 0025F298 41 82 00 58 */ beq lbl_80262390 +/* 8026233C 0025F29C 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80262340 0025F2A0 28 00 00 00 */ cmplwi r0, 0 +/* 80262344 0025F2A4 40 82 00 30 */ bne lbl_80262374 +/* 80262348 0025F2A8 34 7D 02 F4 */ addic. r3, r29, 0x2f4 +/* 8026234C 0025F2AC 41 82 00 1C */ beq lbl_80262368 +/* 80262350 0025F2B0 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80262354 0025F2B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80262358 0025F2B8 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 8026235C 0025F2BC D0 03 00 04 */ stfs f0, 4(r3) +/* 80262360 0025F2C0 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80262364 0025F2C4 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80262368: +/* 80262368 0025F2C8 38 00 00 01 */ li r0, 1 +/* 8026236C 0025F2CC 98 1D 03 00 */ stb r0, 0x300(r29) +/* 80262370 0025F2D0 48 00 00 24 */ b lbl_80262394 +lbl_80262374: +/* 80262374 0025F2D4 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80262378 0025F2D8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8026237C 0025F2DC C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80262380 0025F2E0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80262384 0025F2E4 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80262388 0025F2E8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8026238C 0025F2EC 48 00 00 08 */ b lbl_80262394 +lbl_80262390: +/* 80262390 0025F2F0 98 DD 03 00 */ stb r6, 0x300(r29) +lbl_80262394: +/* 80262394 0025F2F4 38 60 00 00 */ li r3, 0 +/* 80262398 0025F2F8 80 0D 98 10 */ lwz r0, lbl_805A83D0@sda21(r13) +/* 8026239C 0025F2FC 98 61 00 E0 */ stb r3, 0xe0(r1) +/* 802623A0 0025F300 38 A1 00 64 */ addi r5, r1, 0x64 +/* 802623A4 0025F304 83 7D 03 70 */ lwz r27, 0x370(r29) +/* 802623A8 0025F308 90 61 41 F4 */ stw r3, 0x41f4(r1) +/* 802623AC 0025F30C 80 7B 01 60 */ lwz r3, 0x160(r27) +/* 802623B0 0025F310 7C 63 16 70 */ srawi r3, r3, 2 +/* 802623B4 0025F314 7C 63 01 94 */ addze r3, r3 +/* 802623B8 0025F318 7C 03 00 00 */ cmpw r3, r0 +/* 802623BC 0025F31C 90 61 00 64 */ stw r3, 0x64(r1) +/* 802623C0 0025F320 40 80 00 08 */ bge lbl_802623C8 +/* 802623C4 0025F324 38 AD 98 10 */ addi r5, r13, lbl_805A83D0@sda21 +lbl_802623C8: +/* 802623C8 0025F328 80 9D 03 70 */ lwz r4, 0x370(r29) +/* 802623CC 0025F32C 38 61 26 C8 */ addi r3, r1, 0x26c8 +/* 802623D0 0025F330 3A 83 00 04 */ addi r20, r3, 4 +/* 802623D4 0025F334 80 05 00 00 */ lwz r0, 0(r5) +/* 802623D8 0025F338 80 C4 01 60 */ lwz r6, 0x160(r4) +/* 802623DC 0025F33C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802623E0 0025F340 80 84 01 58 */ lwz r4, 0x158(r4) +/* 802623E4 0025F344 3B 83 66 A0 */ addi r28, r3, skZero3f@l +/* 802623E8 0025F348 90 01 49 F8 */ stw r0, 0x49f8(r1) +/* 802623EC 0025F34C 3A C1 41 F8 */ addi r22, r1, 0x41f8 +/* 802623F0 0025F350 7C 66 22 14 */ add r3, r6, r4 +/* 802623F4 0025F354 C3 C2 BA 6C */ lfs f30, lbl_805AD78C@sda21(r2) +/* 802623F8 0025F358 38 63 FF FF */ addi r3, r3, -1 +/* 802623FC 0025F35C C3 E2 BA 70 */ lfs f31, lbl_805AD790@sda21(r2) +/* 80262400 0025F360 7C 03 33 D6 */ divw r0, r3, r6 +/* 80262404 0025F364 39 C1 0E AC */ addi r14, r1, 0xeac +/* 80262408 0025F368 3A 40 00 00 */ li r18, 0 +/* 8026240C 0025F36C 7C 00 31 D6 */ mullw r0, r0, r6 +/* 80262410 0025F370 7F 40 18 50 */ subf r26, r0, r3 +/* 80262414 0025F374 48 00 0E 98 */ b lbl_802632AC +lbl_80262418: +/* 80262418 0025F378 38 60 00 00 */ li r3, 0 +/* 8026241C 0025F37C 80 01 49 F8 */ lwz r0, 0x49f8(r1) +/* 80262420 0025F380 98 61 02 40 */ stb r3, 0x240(r1) +/* 80262424 0025F384 38 61 00 60 */ addi r3, r1, 0x60 +/* 80262428 0025F388 7C 12 02 14 */ add r0, r18, r0 +/* 8026242C 0025F38C 80 9B 01 60 */ lwz r4, 0x160(r27) +/* 80262430 0025F390 7C 04 00 00 */ cmpw r4, r0 +/* 80262434 0025F394 90 81 00 5C */ stw r4, 0x5c(r1) +/* 80262438 0025F398 90 01 00 60 */ stw r0, 0x60(r1) +/* 8026243C 0025F39C 40 80 00 08 */ bge lbl_80262444 +/* 80262440 0025F3A0 38 61 00 5C */ addi r3, r1, 0x5c +lbl_80262444: +/* 80262444 0025F3A4 82 23 00 00 */ lwz r17, 0(r3) +/* 80262448 0025F3A8 56 55 38 30 */ slwi r21, r18, 7 +/* 8026244C 0025F3AC 7E 57 93 78 */ mr r23, r18 +/* 80262450 0025F3B0 D3 C1 00 68 */ stfs f30, 0x68(r1) +/* 80262454 0025F3B4 7E B0 AB 78 */ mr r16, r21 +/* 80262458 0025F3B8 48 00 00 FC */ b lbl_80262554 +lbl_8026245C: +/* 8026245C 0025F3BC 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 80262460 0025F3C0 7D E0 82 14 */ add r15, r0, r16 +/* 80262464 0025F3C4 88 0F 00 00 */ lbz r0, 0(r15) +/* 80262468 0025F3C8 28 00 00 00 */ cmplwi r0, 0 +/* 8026246C 0025F3CC 41 82 00 E0 */ beq lbl_8026254C +/* 80262470 0025F3D0 88 01 02 40 */ lbz r0, 0x240(r1) +/* 80262474 0025F3D4 28 00 00 00 */ cmplwi r0, 0 +/* 80262478 0025F3D8 40 82 00 84 */ bne lbl_802624FC +/* 8026247C 0025F3DC 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80262480 0025F3E0 39 03 67 54 */ addi r8, r3, lbl_805A6754@l +/* 80262484 0025F3E4 40 82 00 48 */ bne lbl_802624CC +/* 80262488 0025F3E8 34 61 02 28 */ addic. r3, r1, 0x228 +/* 8026248C 0025F3EC 41 82 00 34 */ beq lbl_802624C0 +/* 80262490 0025F3F0 C0 08 00 00 */ lfs f0, 0(r8) +/* 80262494 0025F3F4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80262498 0025F3F8 C0 08 00 04 */ lfs f0, 4(r8) +/* 8026249C 0025F3FC D0 03 00 04 */ stfs f0, 4(r3) +/* 802624A0 0025F400 C0 08 00 08 */ lfs f0, 8(r8) +/* 802624A4 0025F404 D0 03 00 08 */ stfs f0, 8(r3) +/* 802624A8 0025F408 C0 08 00 0C */ lfs f0, 0xc(r8) +/* 802624AC 0025F40C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802624B0 0025F410 C0 08 00 10 */ lfs f0, 0x10(r8) +/* 802624B4 0025F414 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802624B8 0025F418 C0 08 00 14 */ lfs f0, 0x14(r8) +/* 802624BC 0025F41C D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802624C0: +/* 802624C0 0025F420 38 00 00 01 */ li r0, 1 +/* 802624C4 0025F424 98 01 02 40 */ stb r0, 0x240(r1) +/* 802624C8 0025F428 48 00 00 34 */ b lbl_802624FC +lbl_802624CC: +/* 802624CC 0025F42C 80 E8 00 00 */ lwz r7, 0(r8) +/* 802624D0 0025F430 80 C8 00 04 */ lwz r6, 4(r8) +/* 802624D4 0025F434 80 A8 00 08 */ lwz r5, 8(r8) +/* 802624D8 0025F438 80 88 00 0C */ lwz r4, 0xc(r8) +/* 802624DC 0025F43C 80 68 00 10 */ lwz r3, 0x10(r8) +/* 802624E0 0025F440 80 08 00 14 */ lwz r0, 0x14(r8) +/* 802624E4 0025F444 90 E1 02 28 */ stw r7, 0x228(r1) +/* 802624E8 0025F448 90 C1 02 2C */ stw r6, 0x22c(r1) +/* 802624EC 0025F44C 90 A1 02 30 */ stw r5, 0x230(r1) +/* 802624F0 0025F450 90 81 02 34 */ stw r4, 0x234(r1) +/* 802624F4 0025F454 90 61 02 38 */ stw r3, 0x238(r1) +/* 802624F8 0025F458 90 01 02 3C */ stw r0, 0x23c(r1) +lbl_802624FC: +/* 802624FC 0025F45C 38 61 02 28 */ addi r3, r1, 0x228 +/* 80262500 0025F460 38 8F 00 0C */ addi r4, r15, 0xc +/* 80262504 0025F464 48 0D 56 05 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80262508 0025F468 C0 2F 00 74 */ lfs f1, 0x74(r15) +/* 8026250C 0025F46C C0 0F 00 78 */ lfs f0, 0x78(r15) +/* 80262510 0025F470 EC 41 00 72 */ fmuls f2, f1, f1 +/* 80262514 0025F474 C0 6F 00 7C */ lfs f3, 0x7c(r15) +/* 80262518 0025F478 EC 20 00 32 */ fmuls f1, f0, f0 +/* 8026251C 0025F47C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80262520 0025F480 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80262524 0025F484 EC 22 08 2A */ fadds f1, f2, f1 +/* 80262528 0025F488 EC 23 08 2A */ fadds f1, f3, f1 +/* 8026252C 0025F48C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80262530 0025F490 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80262534 0025F494 40 80 00 0C */ bge lbl_80262540 +/* 80262538 0025F498 38 61 00 58 */ addi r3, r1, 0x58 +/* 8026253C 0025F49C 48 00 00 08 */ b lbl_80262544 +lbl_80262540: +/* 80262540 0025F4A0 38 61 00 68 */ addi r3, r1, 0x68 +lbl_80262544: +/* 80262544 0025F4A4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80262548 0025F4A8 D0 01 00 68 */ stfs f0, 0x68(r1) +lbl_8026254C: +/* 8026254C 0025F4AC 3A 10 00 80 */ addi r16, r16, 0x80 +/* 80262550 0025F4B0 3A F7 00 01 */ addi r23, r23, 1 +lbl_80262554: +/* 80262554 0025F4B4 7C 17 88 00 */ cmpw r23, r17 +/* 80262558 0025F4B8 41 80 FF 04 */ blt lbl_8026245C +/* 8026255C 0025F4BC C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80262560 0025F4C0 48 0B 2F A1 */ bl SqrtF__5CMathFf +/* 80262564 0025F4C4 EE FF 08 2A */ fadds f23, f31, f1 +/* 80262568 0025F4C8 88 01 02 40 */ lbz r0, 0x240(r1) +/* 8026256C 0025F4CC 28 00 00 00 */ cmplwi r0, 0 +/* 80262570 0025F4D0 D2 E1 00 68 */ stfs f23, 0x68(r1) +/* 80262574 0025F4D4 41 82 0D 28 */ beq lbl_8026329C +/* 80262578 0025F4D8 C0 41 02 2C */ lfs f2, 0x22c(r1) +/* 8026257C 0025F4DC 38 61 02 28 */ addi r3, r1, 0x228 +/* 80262580 0025F4E0 C0 21 02 30 */ lfs f1, 0x230(r1) +/* 80262584 0025F4E4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80262588 0025F4E8 C0 01 02 28 */ lfs f0, 0x228(r1) +/* 8026258C 0025F4EC EC 42 B8 28 */ fsubs f2, f2, f23 +/* 80262590 0025F4F0 EC 21 B8 28 */ fsubs f1, f1, f23 +/* 80262594 0025F4F4 EC 00 B8 28 */ fsubs f0, f0, f23 +/* 80262598 0025F4F8 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8026259C 0025F4FC D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802625A0 0025F500 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 802625A4 0025F504 48 0D 55 65 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802625A8 0025F508 C0 41 02 38 */ lfs f2, 0x238(r1) +/* 802625AC 0025F50C 38 61 02 28 */ addi r3, r1, 0x228 +/* 802625B0 0025F510 C0 21 02 3C */ lfs f1, 0x23c(r1) +/* 802625B4 0025F514 38 81 00 BC */ addi r4, r1, 0xbc +/* 802625B8 0025F518 C0 01 02 34 */ lfs f0, 0x234(r1) +/* 802625BC 0025F51C EC 42 B8 2A */ fadds f2, f2, f23 +/* 802625C0 0025F520 EC 21 B8 2A */ fadds f1, f1, f23 +/* 802625C4 0025F524 EC 00 B8 2A */ fadds f0, f0, f23 +/* 802625C8 0025F528 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 802625CC 0025F52C D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802625D0 0025F530 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 802625D4 0025F534 48 0D 55 35 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802625D8 0025F538 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 802625DC 0025F53C 38 60 00 00 */ li r3, 0 +/* 802625E0 0025F540 2C 05 00 00 */ cmpwi r5, 0 +/* 802625E4 0025F544 40 81 00 44 */ ble lbl_80262628 +/* 802625E8 0025F548 2C 05 00 08 */ cmpwi r5, 8 +/* 802625EC 0025F54C 38 85 FF F8 */ addi r4, r5, -8 +/* 802625F0 0025F550 40 81 00 20 */ ble lbl_80262610 +/* 802625F4 0025F554 38 04 00 07 */ addi r0, r4, 7 +/* 802625F8 0025F558 54 00 E8 FE */ srwi r0, r0, 3 +/* 802625FC 0025F55C 7C 09 03 A6 */ mtctr r0 +/* 80262600 0025F560 2C 04 00 00 */ cmpwi r4, 0 +/* 80262604 0025F564 40 81 00 0C */ ble lbl_80262610 +lbl_80262608: +/* 80262608 0025F568 38 63 00 08 */ addi r3, r3, 8 +/* 8026260C 0025F56C 42 00 FF FC */ bdnz lbl_80262608 +lbl_80262610: +/* 80262610 0025F570 7C 03 28 50 */ subf r0, r3, r5 +/* 80262614 0025F574 7C 09 03 A6 */ mtctr r0 +/* 80262618 0025F578 7C 03 28 00 */ cmpw r3, r5 +/* 8026261C 0025F57C 40 80 00 0C */ bge lbl_80262628 +lbl_80262620: +/* 80262620 0025F580 38 63 00 01 */ addi r3, r3, 1 +/* 80262624 0025F584 42 00 FF FC */ bdnz lbl_80262620 +lbl_80262628: +/* 80262628 0025F588 38 00 00 00 */ li r0, 0 +/* 8026262C 0025F58C 80 AD 98 18 */ lwz r5, lbl_805A83D8@sda21(r13) +/* 80262630 0025F590 90 01 41 F4 */ stw r0, 0x41f4(r1) +/* 80262634 0025F594 38 60 00 00 */ li r3, 0 +/* 80262638 0025F598 38 80 00 01 */ li r4, 1 +/* 8026263C 0025F59C 81 FE 08 4C */ lwz r15, 0x84c(r30) +/* 80262640 0025F5A0 48 12 78 B5 */ bl __shl2i +/* 80262644 0025F5A4 80 AD 98 14 */ lwz r5, lbl_805A83D4@sda21(r13) +/* 80262648 0025F5A8 7C 97 23 78 */ mr r23, r4 +/* 8026264C 0025F5AC 7C 70 1B 78 */ mr r16, r3 +/* 80262650 0025F5B0 38 60 00 00 */ li r3, 0 +/* 80262654 0025F5B4 38 80 00 01 */ li r4, 1 +/* 80262658 0025F5B8 48 12 78 9D */ bl __shl2i +/* 8026265C 0025F5BC 38 00 00 03 */ li r0, 3 +/* 80262660 0025F5C0 90 81 01 D4 */ stw r4, 0x1d4(r1) +/* 80262664 0025F5C4 7D E7 7B 78 */ mr r7, r15 +/* 80262668 0025F5C8 38 81 41 F4 */ addi r4, r1, 0x41f4 +/* 8026266C 0025F5CC 90 61 01 D0 */ stw r3, 0x1d0(r1) +/* 80262670 0025F5D0 7F C3 F3 78 */ mr r3, r30 +/* 80262674 0025F5D4 38 A1 02 28 */ addi r5, r1, 0x228 +/* 80262678 0025F5D8 38 C1 01 D0 */ addi r6, r1, 0x1d0 +/* 8026267C 0025F5DC 92 E1 01 DC */ stw r23, 0x1dc(r1) +/* 80262680 0025F5E0 92 01 01 D8 */ stw r16, 0x1d8(r1) +/* 80262684 0025F5E4 90 01 01 E0 */ stw r0, 0x1e0(r1) +/* 80262688 0025F5E8 4B DE A0 99 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8026268C 0025F5EC 38 61 26 B0 */ addi r3, r1, 0x26b0 +/* 80262690 0025F5F0 38 81 02 28 */ addi r4, r1, 0x228 +/* 80262694 0025F5F4 48 04 13 FD */ bl __ct__19CAreaCollisionCacheFRC6CAABox +/* 80262698 0025F5F8 7F C3 F3 78 */ mr r3, r30 +/* 8026269C 0025F5FC 38 81 26 B0 */ addi r4, r1, 0x26b0 +/* 802626A0 0025F600 4B F2 20 25 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache +/* 802626A4 0025F604 7E 50 93 78 */ mr r16, r18 +/* 802626A8 0025F608 7E B7 AB 78 */ mr r23, r21 +/* 802626AC 0025F60C 48 00 07 C0 */ b lbl_80262E6C +lbl_802626B0: +/* 802626B0 0025F610 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 802626B4 0025F614 7C 1A 80 00 */ cmpw r26, r16 +/* 802626B8 0025F618 7F 20 BA 14 */ add r25, r0, r23 +/* 802626BC 0025F61C 41 82 07 A8 */ beq lbl_80262E64 +/* 802626C0 0025F620 88 19 00 00 */ lbz r0, 0(r25) +/* 802626C4 0025F624 28 00 00 00 */ cmplwi r0, 0 +/* 802626C8 0025F628 41 82 07 9C */ beq lbl_80262E64 +/* 802626CC 0025F62C C3 B9 00 0C */ lfs f29, 0xc(r25) +/* 802626D0 0025F630 38 00 00 00 */ li r0, 0 +/* 802626D4 0025F634 C3 99 00 10 */ lfs f28, 0x10(r25) +/* 802626D8 0025F638 38 60 00 00 */ li r3, 0 +/* 802626DC 0025F63C C3 79 00 14 */ lfs f27, 0x14(r25) +/* 802626E0 0025F640 38 80 00 01 */ li r4, 1 +/* 802626E4 0025F644 80 AD 98 1C */ lwz r5, lbl_805A83DC@sda21(r13) +/* 802626E8 0025F648 C3 41 00 68 */ lfs f26, 0x68(r1) +/* 802626EC 0025F64C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802626F0 0025F650 90 01 00 90 */ stw r0, 0x90(r1) +/* 802626F4 0025F654 48 12 78 01 */ bl __shl2i +/* 802626F8 0025F658 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802626FC 0025F65C 80 A1 00 94 */ lwz r5, 0x94(r1) +/* 80262700 0025F660 7C 00 1B 78 */ or r0, r0, r3 +/* 80262704 0025F664 38 61 02 08 */ addi r3, r1, 0x208 +/* 80262708 0025F668 7C A5 23 78 */ or r5, r5, r4 +/* 8026270C 0025F66C 90 01 00 90 */ stw r0, 0x90(r1) +/* 80262710 0025F670 38 81 00 90 */ addi r4, r1, 0x90 +/* 80262714 0025F674 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80262718 0025F678 48 06 D1 9D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8026271C 0025F67C A1 2D A3 8C */ lhz r9, lbl_805A8F4C@sda21(r13) +/* 80262720 0025F680 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80262724 0025F684 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l +/* 80262728 0025F688 38 00 00 00 */ li r0, 0 +/* 8026272C 0025F68C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80262730 0025F690 3C 60 80 47 */ lis r3, lbl_8046DCA8@ha +/* 80262734 0025F694 90 A1 02 08 */ stw r5, 0x208(r1) +/* 80262738 0025F698 38 C4 66 70 */ addi r6, r4, skIdentity4f@l +/* 8026273C 0025F69C 38 E3 DC A8 */ addi r7, r3, lbl_8046DCA8@l +/* 80262740 0025F6A0 7F C3 F3 78 */ mr r3, r30 +/* 80262744 0025F6A4 D3 A1 02 18 */ stfs f29, 0x218(r1) +/* 80262748 0025F6A8 38 81 26 B0 */ addi r4, r1, 0x26b0 +/* 8026274C 0025F6AC 38 A1 02 08 */ addi r5, r1, 0x208 +/* 80262750 0025F6B0 39 01 1A AC */ addi r8, r1, 0x1aac +/* 80262754 0025F6B4 D3 81 02 1C */ stfs f28, 0x21c(r1) +/* 80262758 0025F6B8 D3 61 02 20 */ stfs f27, 0x220(r1) +/* 8026275C 0025F6BC D3 41 02 24 */ stfs f26, 0x224(r1) +/* 80262760 0025F6C0 B1 21 00 50 */ sth r9, 0x50(r1) +/* 80262764 0025F6C4 90 01 1A AC */ stw r0, 0x1aac(r1) +/* 80262768 0025F6C8 4B F2 14 11 */ bl DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList +/* 8026276C 0025F6CC 7C 6F 1B 78 */ mr r15, r3 +/* 80262770 0025F6D0 7F A3 EB 78 */ mr r3, r29 +/* 80262774 0025F6D4 7F C4 F3 78 */ mr r4, r30 +/* 80262778 0025F6D8 38 A1 41 F4 */ addi r5, r1, 0x41f4 +/* 8026277C 0025F6DC 38 C1 02 08 */ addi r6, r1, 0x208 +/* 80262780 0025F6E0 38 E1 00 50 */ addi r7, r1, 0x50 +/* 80262784 0025F6E4 39 01 1A AC */ addi r8, r1, 0x1aac +/* 80262788 0025F6E8 4B FF F8 31 */ bl sub_80261fb8 +/* 8026278C 0025F6EC 7D E0 1B 78 */ or r0, r15, r3 +/* 80262790 0025F6F0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80262794 0025F6F4 41 82 06 60 */ beq lbl_80262DF4 +/* 80262798 0025F6F8 80 01 1A AC */ lwz r0, 0x1aac(r1) +/* 8026279C 0025F6FC 2C 00 00 00 */ cmpwi r0, 0 +/* 802627A0 0025F700 41 82 06 54 */ beq lbl_80262DF4 +/* 802627A4 0025F704 38 00 00 00 */ li r0, 0 +/* 802627A8 0025F708 38 61 1A AC */ addi r3, r1, 0x1aac +/* 802627AC 0025F70C 98 19 00 00 */ stb r0, 0(r25) +/* 802627B0 0025F710 38 81 0E A8 */ addi r4, r1, 0xea8 +/* 802627B4 0025F714 3A 60 00 01 */ li r19, 1 +/* 802627B8 0025F718 90 01 0E A8 */ stw r0, 0xea8(r1) +/* 802627BC 0025F71C 4B F2 2C 81 */ bl sub_8018543c +/* 802627C0 0025F720 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802627C4 0025F724 C3 1C 00 04 */ lfs f24, 4(r28) +/* 802627C8 0025F728 C2 FC 00 08 */ lfs f23, 8(r28) +/* 802627CC 0025F72C 7D D8 73 78 */ mr r24, r14 +/* 802627D0 0025F730 C3 23 66 A0 */ lfs f25, skZero3f@l(r3) +/* 802627D4 0025F734 39 E0 00 00 */ li r15, 0 +/* 802627D8 0025F738 48 00 01 9C */ b lbl_80262974 +lbl_802627DC: +/* 802627DC 0025F73C 2C 0F 00 03 */ cmpwi r15, 3 +/* 802627E0 0025F740 41 81 01 A0 */ bgt lbl_80262980 +/* 802627E4 0025F744 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 802627E8 0025F748 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802627EC 0025F74C 41 82 00 0C */ beq lbl_802627F8 +/* 802627F0 0025F750 C0 62 BA 68 */ lfs f3, lbl_805AD788@sda21(r2) +/* 802627F4 0025F754 48 00 00 08 */ b lbl_802627FC +lbl_802627F8: +/* 802627F8 0025F758 C0 62 BA 74 */ lfs f3, lbl_805AD794@sda21(r2) +lbl_802627FC: +/* 802627FC 0025F75C C0 58 00 00 */ lfs f2, 0(r24) +/* 80262800 0025F760 7F A3 EB 78 */ mr r3, r29 +/* 80262804 0025F764 C0 38 00 04 */ lfs f1, 4(r24) +/* 80262808 0025F768 38 81 01 00 */ addi r4, r1, 0x100 +/* 8026280C 0025F76C C0 18 00 08 */ lfs f0, 8(r24) +/* 80262810 0025F770 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 80262814 0025F774 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80262818 0025F778 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 8026281C 0025F77C D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 80262820 0025F780 4B FF EF 15 */ bl sub_80261734 +/* 80262824 0025F784 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80262828 0025F788 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8026282C 0025F78C 7C 04 00 D0 */ neg r0, r4 +/* 80262830 0025F790 7C 00 23 78 */ or r0, r0, r4 +/* 80262834 0025F794 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 80262838 0025F798 38 04 00 03 */ addi r0, r4, 3 +/* 8026283C 0025F79C 7C 03 00 00 */ cmpw r3, r0 +/* 80262840 0025F7A0 40 80 01 2C */ bge lbl_8026296C +/* 80262844 0025F7A4 7F A3 EB 78 */ mr r3, r29 +/* 80262848 0025F7A8 7F 04 C3 78 */ mr r4, r24 +/* 8026284C 0025F7AC 38 A0 00 0A */ li r5, 0xa +/* 80262850 0025F7B0 4B FF F0 89 */ bl sub_802618d8 +/* 80262854 0025F7B4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80262858 0025F7B8 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 8026285C 0025F7BC 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80262860 0025F7C0 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 80262864 0025F7C4 38 61 02 44 */ addi r3, r1, 0x244 +/* 80262868 0025F7C8 38 B8 00 48 */ addi r5, r24, 0x48 +/* 8026286C 0025F7CC 48 0B 12 A5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80262870 0025F7D0 38 61 02 74 */ addi r3, r1, 0x274 +/* 80262874 0025F7D4 38 81 02 44 */ addi r4, r1, 0x244 +/* 80262878 0025F7D8 48 0B 02 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8026287C 0025F7DC 80 7D 03 60 */ lwz r3, 0x360(r29) +/* 80262880 0025F7E0 38 81 02 74 */ addi r4, r1, 0x274 +/* 80262884 0025F7E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80262888 0025F7E8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8026288C 0025F7EC 7D 89 03 A6 */ mtctr r12 +/* 80262890 0025F7F0 4E 80 04 21 */ bctrl +/* 80262894 0025F7F4 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262898 0025F7F8 38 81 02 74 */ addi r4, r1, 0x274 +/* 8026289C 0025F7FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802628A0 0025F800 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802628A4 0025F804 7D 89 03 A6 */ mtctr r12 +/* 802628A8 0025F808 4E 80 04 21 */ bctrl +/* 802628AC 0025F80C 80 7D 03 68 */ lwz r3, 0x368(r29) +/* 802628B0 0025F810 38 81 02 74 */ addi r4, r1, 0x274 +/* 802628B4 0025F814 81 83 00 00 */ lwz r12, 0(r3) +/* 802628B8 0025F818 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802628BC 0025F81C 7D 89 03 A6 */ mtctr r12 +/* 802628C0 0025F820 4E 80 04 21 */ bctrl +/* 802628C4 0025F824 80 7D 03 60 */ lwz r3, 0x360(r29) +/* 802628C8 0025F828 7F 04 C3 78 */ mr r4, r24 +/* 802628CC 0025F82C 81 83 00 00 */ lwz r12, 0(r3) +/* 802628D0 0025F830 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802628D4 0025F834 7D 89 03 A6 */ mtctr r12 +/* 802628D8 0025F838 4E 80 04 21 */ bctrl +/* 802628DC 0025F83C 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 802628E0 0025F840 7F 04 C3 78 */ mr r4, r24 +/* 802628E4 0025F844 81 83 00 00 */ lwz r12, 0(r3) +/* 802628E8 0025F848 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802628EC 0025F84C 7D 89 03 A6 */ mtctr r12 +/* 802628F0 0025F850 4E 80 04 21 */ bctrl +/* 802628F4 0025F854 80 7D 03 68 */ lwz r3, 0x368(r29) +/* 802628F8 0025F858 7F 04 C3 78 */ mr r4, r24 +/* 802628FC 0025F85C 81 83 00 00 */ lwz r12, 0(r3) +/* 80262900 0025F860 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80262904 0025F864 7D 89 03 A6 */ mtctr r12 +/* 80262908 0025F868 4E 80 04 21 */ bctrl +/* 8026290C 0025F86C 80 7D 03 60 */ lwz r3, 0x360(r29) +/* 80262910 0025F870 38 80 00 01 */ li r4, 1 +/* 80262914 0025F874 48 0B 9F AD */ bl ForceParticleCreation__11CElementGenFi +/* 80262918 0025F878 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 8026291C 0025F87C 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262920 0025F880 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 80262924 0025F884 7C 04 00 D0 */ neg r0, r4 +/* 80262928 0025F888 7C 00 23 78 */ or r0, r0, r4 +/* 8026292C 0025F88C 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 80262930 0025F890 38 84 00 03 */ addi r4, r4, 3 +/* 80262934 0025F894 48 0B 9F 8D */ bl ForceParticleCreation__11CElementGenFi +/* 80262938 0025F898 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 8026293C 0025F89C 38 80 00 05 */ li r4, 5 +/* 80262940 0025F8A0 80 7D 03 68 */ lwz r3, 0x368(r29) +/* 80262944 0025F8A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80262948 0025F8A8 41 82 00 08 */ beq lbl_80262950 +/* 8026294C 0025F8AC 38 80 00 03 */ li r4, 3 +lbl_80262950: +/* 80262950 0025F8B0 48 0B 9F 71 */ bl ForceParticleCreation__11CElementGenFi +/* 80262954 0025F8B4 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80262958 0025F8B8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8026295C 0025F8BC 40 82 00 24 */ bne lbl_80262980 +/* 80262960 0025F8C0 C3 38 00 00 */ lfs f25, 0(r24) +/* 80262964 0025F8C4 C3 18 00 04 */ lfs f24, 4(r24) +/* 80262968 0025F8C8 C2 F8 00 08 */ lfs f23, 8(r24) +lbl_8026296C: +/* 8026296C 0025F8CC 3B 18 00 60 */ addi r24, r24, 0x60 +/* 80262970 0025F8D0 39 EF 00 01 */ addi r15, r15, 1 +lbl_80262974: +/* 80262974 0025F8D4 80 01 0E A8 */ lwz r0, 0xea8(r1) +/* 80262978 0025F8D8 7C 0F 00 00 */ cmpw r15, r0 +/* 8026297C 0025F8DC 41 80 FE 60 */ blt lbl_802627DC +lbl_80262980: +/* 80262980 0025F8E0 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80262984 0025F8E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80262988 0025F8E8 40 82 00 B8 */ bne lbl_80262A40 +/* 8026298C 0025F8EC 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80262990 0025F8F0 28 00 00 00 */ cmplwi r0, 0 +/* 80262994 0025F8F4 41 82 00 AC */ beq lbl_80262A40 +/* 80262998 0025F8F8 80 01 0E A8 */ lwz r0, 0xea8(r1) +/* 8026299C 0025F8FC 2C 00 00 03 */ cmpwi r0, 3 +/* 802629A0 0025F900 41 80 00 48 */ blt lbl_802629E8 +/* 802629A4 0025F904 C0 3D 02 F8 */ lfs f1, 0x2f8(r29) +/* 802629A8 0025F908 C0 1D 02 F4 */ lfs f0, 0x2f4(r29) +/* 802629AC 0025F90C EC A1 C0 28 */ fsubs f5, f1, f24 +/* 802629B0 0025F910 C0 3D 02 FC */ lfs f1, 0x2fc(r29) +/* 802629B4 0025F914 EC 60 C8 28 */ fsubs f3, f0, f25 +/* 802629B8 0025F918 C0 02 BA 78 */ lfs f0, lbl_805AD798@sda21(r2) +/* 802629BC 0025F91C EC 81 B8 28 */ fsubs f4, f1, f23 +/* 802629C0 0025F920 EC 25 01 72 */ fmuls f1, f5, f5 +/* 802629C4 0025F924 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 802629C8 0025F928 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 802629CC 0025F92C EC 64 01 32 */ fmuls f3, f4, f4 +/* 802629D0 0025F930 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 802629D4 0025F934 EC 22 08 2A */ fadds f1, f2, f1 +/* 802629D8 0025F938 D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 802629DC 0025F93C EC 23 08 2A */ fadds f1, f3, f1 +/* 802629E0 0025F940 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802629E4 0025F944 40 81 00 5C */ ble lbl_80262A40 +lbl_802629E8: +/* 802629E8 0025F948 C0 62 BA 7C */ lfs f3, lbl_805AD79C@sda21(r2) +/* 802629EC 0025F94C 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802629F0 0025F950 C0 5D 02 F8 */ lfs f2, 0x2f8(r29) +/* 802629F4 0025F954 C0 3D 02 FC */ lfs f1, 0x2fc(r29) +/* 802629F8 0025F958 C0 1D 02 F4 */ lfs f0, 0x2f4(r29) +/* 802629FC 0025F95C EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80262A00 0025F960 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80262A04 0025F964 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80262A08 0025F968 EC 58 10 FA */ fmadds f2, f24, f3, f2 +/* 80262A0C 0025F96C EC 37 08 FA */ fmadds f1, f23, f3, f1 +/* 80262A10 0025F970 EC 19 00 FA */ fmadds f0, f25, f3, f0 +/* 80262A14 0025F974 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 80262A18 0025F978 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 80262A1C 0025F97C D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 80262A20 0025F980 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262A24 0025F984 81 83 00 00 */ lwz r12, 0(r3) +/* 80262A28 0025F988 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80262A2C 0025F98C 7D 89 03 A6 */ mtctr r12 +/* 80262A30 0025F990 4E 80 04 21 */ bctrl +/* 80262A34 0025F994 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262A38 0025F998 38 80 00 02 */ li r4, 2 +/* 80262A3C 0025F99C 48 0B 9E 85 */ bl ForceParticleCreation__11CElementGenFi +lbl_80262A40: +/* 80262A40 0025F9A0 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80262A44 0025F9A4 28 00 00 00 */ cmplwi r0, 0 +/* 80262A48 0025F9A8 40 82 00 24 */ bne lbl_80262A6C +/* 80262A4C 0025F9AC 34 7D 02 F4 */ addic. r3, r29, 0x2f4 +/* 80262A50 0025F9B0 41 82 00 10 */ beq lbl_80262A60 +/* 80262A54 0025F9B4 D3 23 00 00 */ stfs f25, 0(r3) +/* 80262A58 0025F9B8 D3 03 00 04 */ stfs f24, 4(r3) +/* 80262A5C 0025F9BC D2 E3 00 08 */ stfs f23, 8(r3) +lbl_80262A60: +/* 80262A60 0025F9C0 38 00 00 01 */ li r0, 1 +/* 80262A64 0025F9C4 98 1D 03 00 */ stb r0, 0x300(r29) +/* 80262A68 0025F9C8 48 00 00 10 */ b lbl_80262A78 +lbl_80262A6C: +/* 80262A6C 0025F9CC D3 3D 02 F4 */ stfs f25, 0x2f4(r29) +/* 80262A70 0025F9D0 D3 1D 02 F8 */ stfs f24, 0x2f8(r29) +/* 80262A74 0025F9D4 D2 FD 02 FC */ stfs f23, 0x2fc(r29) +lbl_80262A78: +/* 80262A78 0025F9D8 A0 61 00 50 */ lhz r3, 0x50(r1) +/* 80262A7C 0025F9DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80262A80 0025F9E0 7C 03 00 40 */ cmplw r3, r0 +/* 80262A84 0025F9E4 41 82 00 D0 */ beq lbl_80262B54 +/* 80262A88 0025F9E8 A0 01 00 50 */ lhz r0, 0x50(r1) +/* 80262A8C 0025F9EC 7F C3 F3 78 */ mr r3, r30 +/* 80262A90 0025F9F0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80262A94 0025F9F4 B0 01 00 48 */ sth r0, 0x48(r1) +/* 80262A98 0025F9F8 4B DE 9A DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80262A9C 0025F9FC 7C 64 1B 78 */ mr r4, r3 +/* 80262AA0 0025FA00 38 61 00 88 */ addi r3, r1, 0x88 +/* 80262AA4 0025FA04 4B E4 D1 ED */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80262AA8 0025FA08 81 E3 00 04 */ lwz r15, 4(r3) +/* 80262AAC 0025FA0C 28 0F 00 00 */ cmplwi r15, 0 +/* 80262AB0 0025FA10 41 82 00 A4 */ beq lbl_80262B54 +/* 80262AB4 0025FA14 7F A3 EB 78 */ mr r3, r29 +/* 80262AB8 0025FA18 7D E4 7B 78 */ mr r4, r15 +/* 80262ABC 0025FA1C 7F C5 F3 78 */ mr r5, r30 +/* 80262AC0 0025FA20 4B FF E9 71 */ bl sub_80261430 +/* 80262AC4 0025FA24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80262AC8 0025FA28 41 82 00 8C */ beq lbl_80262B54 +/* 80262ACC 0025FA2C 80 1D 00 F8 */ lwz r0, 0xf8(r29) +/* 80262AD0 0025FA30 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80262AD4 0025FA34 80 BD 00 FC */ lwz r5, 0xfc(r29) +/* 80262AD8 0025FA38 38 99 00 74 */ addi r4, r25, 0x74 +/* 80262ADC 0025FA3C 90 A1 01 9C */ stw r5, 0x19c(r1) +/* 80262AE0 0025FA40 90 01 01 98 */ stw r0, 0x198(r1) +/* 80262AE4 0025FA44 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80262AE8 0025FA48 80 BD 01 04 */ lwz r5, 0x104(r29) +/* 80262AEC 0025FA4C 90 A1 01 A4 */ stw r5, 0x1a4(r1) +/* 80262AF0 0025FA50 90 01 01 A0 */ stw r0, 0x1a0(r1) +/* 80262AF4 0025FA54 80 1D 01 08 */ lwz r0, 0x108(r29) +/* 80262AF8 0025FA58 90 01 01 A8 */ stw r0, 0x1a8(r1) +/* 80262AFC 0025FA5C A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 80262B00 0025FA60 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80262B04 0025FA64 A0 AF 00 08 */ lhz r5, 8(r15) +/* 80262B08 0025FA68 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80262B0C 0025FA6C B0 A1 00 3C */ sth r5, 0x3c(r1) +/* 80262B10 0025FA70 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80262B14 0025FA74 B0 A1 00 38 */ sth r5, 0x38(r1) +/* 80262B18 0025FA78 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80262B1C 0025FA7C B0 01 00 44 */ sth r0, 0x44(r1) +/* 80262B20 0025FA80 48 0B 1D 31 */ bl AsNormalized__9CVector3fCFv +/* 80262B24 0025FA84 FC 20 B0 90 */ fmr f1, f22 +/* 80262B28 0025FA88 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80262B2C 0025FA8C 38 9D 01 2C */ addi r4, r29, 0x12c +/* 80262B30 0025FA90 4B E6 09 19 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80262B34 0025FA94 7F C3 F3 78 */ mr r3, r30 +/* 80262B38 0025FA98 38 81 00 44 */ addi r4, r1, 0x44 +/* 80262B3C 0025FA9C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80262B40 0025FAA0 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80262B44 0025FAA4 38 E1 01 B0 */ addi r7, r1, 0x1b0 +/* 80262B48 0025FAA8 39 01 01 98 */ addi r8, r1, 0x198 +/* 80262B4C 0025FAAC 39 21 00 A4 */ addi r9, r1, 0xa4 +/* 80262B50 0025FAB0 4B DE 75 51 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80262B54: +/* 80262B54 0025FAB4 80 1D 00 F8 */ lwz r0, 0xf8(r29) +/* 80262B58 0025FAB8 FC 20 B0 90 */ fmr f1, f22 +/* 80262B5C 0025FABC 80 BD 00 FC */ lwz r5, 0xfc(r29) +/* 80262B60 0025FAC0 38 61 01 78 */ addi r3, r1, 0x178 +/* 80262B64 0025FAC4 38 9D 01 2C */ addi r4, r29, 0x12c +/* 80262B68 0025FAC8 90 A1 01 64 */ stw r5, 0x164(r1) +/* 80262B6C 0025FACC 90 01 01 60 */ stw r0, 0x160(r1) +/* 80262B70 0025FAD0 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80262B74 0025FAD4 80 BD 01 04 */ lwz r5, 0x104(r29) +/* 80262B78 0025FAD8 90 A1 01 6C */ stw r5, 0x16c(r1) +/* 80262B7C 0025FADC 90 01 01 68 */ stw r0, 0x168(r1) +/* 80262B80 0025FAE0 80 1D 01 08 */ lwz r0, 0x108(r29) +/* 80262B84 0025FAE4 90 01 01 70 */ stw r0, 0x170(r1) +/* 80262B88 0025FAE8 A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 80262B8C 0025FAEC B0 01 00 28 */ sth r0, 0x28(r1) +/* 80262B90 0025FAF0 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80262B94 0025FAF4 4B E6 08 B5 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80262B98 0025FAF8 7F C3 F3 78 */ mr r3, r30 +/* 80262B9C 0025FAFC 7F A5 EB 78 */ mr r5, r29 +/* 80262BA0 0025FB00 38 81 00 2C */ addi r4, r1, 0x2c +/* 80262BA4 0025FB04 38 D9 00 0C */ addi r6, r25, 0xc +/* 80262BA8 0025FB08 38 E1 01 78 */ addi r7, r1, 0x178 +/* 80262BAC 0025FB0C 39 01 01 60 */ addi r8, r1, 0x160 +/* 80262BB0 0025FB10 4B DE 60 FD */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 80262BB4 0025FB14 80 1F 00 00 */ lwz r0, 0(r31) +/* 80262BB8 0025FB18 54 00 20 36 */ slwi r0, r0, 4 +/* 80262BBC 0025FB1C 7C 7F 02 14 */ add r3, r31, r0 +/* 80262BC0 0025FB20 34 63 00 04 */ addic. r3, r3, 4 +/* 80262BC4 0025FB24 41 82 00 14 */ beq lbl_80262BD8 +/* 80262BC8 0025FB28 D3 A3 00 00 */ stfs f29, 0(r3) +/* 80262BCC 0025FB2C D3 83 00 04 */ stfs f28, 4(r3) +/* 80262BD0 0025FB30 D3 63 00 08 */ stfs f27, 8(r3) +/* 80262BD4 0025FB34 D3 43 00 0C */ stfs f26, 0xc(r3) +lbl_80262BD8: +/* 80262BD8 0025FB38 80 7F 00 00 */ lwz r3, 0(r31) +/* 80262BDC 0025FB3C 38 03 00 01 */ addi r0, r3, 1 +/* 80262BE0 0025FB40 90 1F 00 00 */ stw r0, 0(r31) +/* 80262BE4 0025FB44 80 1F 00 00 */ lwz r0, 0(r31) +/* 80262BE8 0025FB48 2C 00 00 20 */ cmpwi r0, 0x20 +/* 80262BEC 0025FB4C 40 82 01 B0 */ bne lbl_80262D9C +/* 80262BF0 0025FB50 80 A1 0E A8 */ lwz r5, 0xea8(r1) +/* 80262BF4 0025FB54 38 60 00 00 */ li r3, 0 +/* 80262BF8 0025FB58 2C 05 00 00 */ cmpwi r5, 0 +/* 80262BFC 0025FB5C 40 81 00 40 */ ble lbl_80262C3C +/* 80262C00 0025FB60 2C 05 00 08 */ cmpwi r5, 8 +/* 80262C04 0025FB64 38 85 FF F8 */ addi r4, r5, -8 +/* 80262C08 0025FB68 40 81 00 20 */ ble lbl_80262C28 +/* 80262C0C 0025FB6C 38 04 00 07 */ addi r0, r4, 7 +/* 80262C10 0025FB70 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262C14 0025FB74 7C 09 03 A6 */ mtctr r0 +/* 80262C18 0025FB78 2C 04 00 00 */ cmpwi r4, 0 +/* 80262C1C 0025FB7C 40 81 00 0C */ ble lbl_80262C28 +lbl_80262C20: +/* 80262C20 0025FB80 38 63 00 08 */ addi r3, r3, 8 +/* 80262C24 0025FB84 42 00 FF FC */ bdnz lbl_80262C20 +lbl_80262C28: +/* 80262C28 0025FB88 7C 03 28 50 */ subf r0, r3, r5 +/* 80262C2C 0025FB8C 7C 09 03 A6 */ mtctr r0 +/* 80262C30 0025FB90 7C 03 28 00 */ cmpw r3, r5 +/* 80262C34 0025FB94 40 80 00 08 */ bge lbl_80262C3C +lbl_80262C38: +/* 80262C38 0025FB98 42 00 00 00 */ bdnz lbl_80262C38 +lbl_80262C3C: +/* 80262C3C 0025FB9C 80 A1 1A AC */ lwz r5, 0x1aac(r1) +/* 80262C40 0025FBA0 38 60 00 00 */ li r3, 0 +/* 80262C44 0025FBA4 90 61 0E A8 */ stw r3, 0xea8(r1) +/* 80262C48 0025FBA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80262C4C 0025FBAC 40 81 00 40 */ ble lbl_80262C8C +/* 80262C50 0025FBB0 2C 05 00 08 */ cmpwi r5, 8 +/* 80262C54 0025FBB4 38 85 FF F8 */ addi r4, r5, -8 +/* 80262C58 0025FBB8 40 81 00 20 */ ble lbl_80262C78 +/* 80262C5C 0025FBBC 38 04 00 07 */ addi r0, r4, 7 +/* 80262C60 0025FBC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262C64 0025FBC4 7C 09 03 A6 */ mtctr r0 +/* 80262C68 0025FBC8 2C 04 00 00 */ cmpwi r4, 0 +/* 80262C6C 0025FBCC 40 81 00 0C */ ble lbl_80262C78 +lbl_80262C70: +/* 80262C70 0025FBD0 38 63 00 08 */ addi r3, r3, 8 +/* 80262C74 0025FBD4 42 00 FF FC */ bdnz lbl_80262C70 +lbl_80262C78: +/* 80262C78 0025FBD8 7C 03 28 50 */ subf r0, r3, r5 +/* 80262C7C 0025FBDC 7C 09 03 A6 */ mtctr r0 +/* 80262C80 0025FBE0 7C 03 28 00 */ cmpw r3, r5 +/* 80262C84 0025FBE4 40 80 00 08 */ bge lbl_80262C8C +lbl_80262C88: +/* 80262C88 0025FBE8 42 00 00 00 */ bdnz lbl_80262C88 +lbl_80262C8C: +/* 80262C8C 0025FBEC 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 80262C90 0025FBF0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80262C94 0025FBF4 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 80262C98 0025FBF8 90 01 02 08 */ stw r0, 0x208(r1) +/* 80262C9C 0025FBFC 38 80 00 00 */ li r4, 0 +/* 80262CA0 0025FC00 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 80262CA4 0025FC04 34 01 26 C8 */ addic. r0, r1, 0x26c8 +/* 80262CA8 0025FC08 90 81 1A AC */ stw r4, 0x1aac(r1) +/* 80262CAC 0025FC0C 90 61 02 08 */ stw r3, 0x208(r1) +/* 80262CB0 0025FC10 41 82 00 8C */ beq lbl_80262D3C +/* 80262CB4 0025FC14 48 00 00 74 */ b lbl_80262D28 +lbl_80262CB8: +/* 80262CB8 0025FC18 28 14 00 00 */ cmplwi r20, 0 +/* 80262CBC 0025FC1C 41 82 00 64 */ beq lbl_80262D20 +/* 80262CC0 0025FC20 34 14 00 04 */ addic. r0, r20, 4 +/* 80262CC4 0025FC24 41 82 00 5C */ beq lbl_80262D20 +/* 80262CC8 0025FC28 80 D4 00 04 */ lwz r6, 4(r20) +/* 80262CCC 0025FC2C 38 60 00 00 */ li r3, 0 +/* 80262CD0 0025FC30 2C 06 00 00 */ cmpwi r6, 0 +/* 80262CD4 0025FC34 40 81 00 44 */ ble lbl_80262D18 +/* 80262CD8 0025FC38 2C 06 00 08 */ cmpwi r6, 8 +/* 80262CDC 0025FC3C 38 A6 FF F8 */ addi r5, r6, -8 +/* 80262CE0 0025FC40 40 81 00 20 */ ble lbl_80262D00 +/* 80262CE4 0025FC44 38 05 00 07 */ addi r0, r5, 7 +/* 80262CE8 0025FC48 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262CEC 0025FC4C 7C 09 03 A6 */ mtctr r0 +/* 80262CF0 0025FC50 2C 05 00 00 */ cmpwi r5, 0 +/* 80262CF4 0025FC54 40 81 00 0C */ ble lbl_80262D00 +lbl_80262CF8: +/* 80262CF8 0025FC58 38 63 00 08 */ addi r3, r3, 8 +/* 80262CFC 0025FC5C 42 00 FF FC */ bdnz lbl_80262CF8 +lbl_80262D00: +/* 80262D00 0025FC60 7C 03 30 50 */ subf r0, r3, r6 +/* 80262D04 0025FC64 7C 09 03 A6 */ mtctr r0 +/* 80262D08 0025FC68 7C 03 30 00 */ cmpw r3, r6 +/* 80262D0C 0025FC6C 40 80 00 0C */ bge lbl_80262D18 +lbl_80262D10: +/* 80262D10 0025FC70 38 63 00 01 */ addi r3, r3, 1 +/* 80262D14 0025FC74 42 00 FF FC */ bdnz lbl_80262D10 +lbl_80262D18: +/* 80262D18 0025FC78 38 00 00 00 */ li r0, 0 +/* 80262D1C 0025FC7C 90 14 00 04 */ stw r0, 4(r20) +lbl_80262D20: +/* 80262D20 0025FC80 3A 94 09 0C */ addi r20, r20, 0x90c +/* 80262D24 0025FC84 38 84 00 01 */ addi r4, r4, 1 +lbl_80262D28: +/* 80262D28 0025FC88 80 01 26 C8 */ lwz r0, 0x26c8(r1) +/* 80262D2C 0025FC8C 7C 04 00 00 */ cmpw r4, r0 +/* 80262D30 0025FC90 41 80 FF 88 */ blt lbl_80262CB8 +/* 80262D34 0025FC94 38 00 00 00 */ li r0, 0 +/* 80262D38 0025FC98 90 01 26 C8 */ stw r0, 0x26c8(r1) +lbl_80262D3C: +/* 80262D3C 0025FC9C 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 80262D40 0025FCA0 38 60 00 00 */ li r3, 0 +/* 80262D44 0025FCA4 98 61 02 40 */ stb r3, 0x240(r1) +/* 80262D48 0025FCA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80262D4C 0025FCAC 40 81 00 40 */ ble lbl_80262D8C +/* 80262D50 0025FCB0 2C 05 00 08 */ cmpwi r5, 8 +/* 80262D54 0025FCB4 38 85 FF F8 */ addi r4, r5, -8 +/* 80262D58 0025FCB8 40 81 00 20 */ ble lbl_80262D78 +/* 80262D5C 0025FCBC 38 04 00 07 */ addi r0, r4, 7 +/* 80262D60 0025FCC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262D64 0025FCC4 7C 09 03 A6 */ mtctr r0 +/* 80262D68 0025FCC8 2C 04 00 00 */ cmpwi r4, 0 +/* 80262D6C 0025FCCC 40 81 00 0C */ ble lbl_80262D78 +lbl_80262D70: +/* 80262D70 0025FCD0 38 63 00 08 */ addi r3, r3, 8 +/* 80262D74 0025FCD4 42 00 FF FC */ bdnz lbl_80262D70 +lbl_80262D78: +/* 80262D78 0025FCD8 7C 03 28 50 */ subf r0, r3, r5 +/* 80262D7C 0025FCDC 7C 09 03 A6 */ mtctr r0 +/* 80262D80 0025FCE0 7C 03 28 00 */ cmpw r3, r5 +/* 80262D84 0025FCE4 40 80 00 08 */ bge lbl_80262D8C +lbl_80262D88: +/* 80262D88 0025FCE8 42 00 00 00 */ bdnz lbl_80262D88 +lbl_80262D8C: +/* 80262D8C 0025FCEC 38 00 00 00 */ li r0, 0 +/* 80262D90 0025FCF0 38 60 00 01 */ li r3, 1 +/* 80262D94 0025FCF4 90 01 41 F4 */ stw r0, 0x41f4(r1) +/* 80262D98 0025FCF8 48 00 05 80 */ b lbl_80263318 +lbl_80262D9C: +/* 80262D9C 0025FCFC 80 A1 0E A8 */ lwz r5, 0xea8(r1) +/* 80262DA0 0025FD00 38 60 00 00 */ li r3, 0 +/* 80262DA4 0025FD04 2C 05 00 00 */ cmpwi r5, 0 +/* 80262DA8 0025FD08 40 81 00 44 */ ble lbl_80262DEC +/* 80262DAC 0025FD0C 2C 05 00 08 */ cmpwi r5, 8 +/* 80262DB0 0025FD10 38 85 FF F8 */ addi r4, r5, -8 +/* 80262DB4 0025FD14 40 81 00 20 */ ble lbl_80262DD4 +/* 80262DB8 0025FD18 38 04 00 07 */ addi r0, r4, 7 +/* 80262DBC 0025FD1C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262DC0 0025FD20 7C 09 03 A6 */ mtctr r0 +/* 80262DC4 0025FD24 2C 04 00 00 */ cmpwi r4, 0 +/* 80262DC8 0025FD28 40 81 00 0C */ ble lbl_80262DD4 +lbl_80262DCC: +/* 80262DCC 0025FD2C 38 63 00 08 */ addi r3, r3, 8 +/* 80262DD0 0025FD30 42 00 FF FC */ bdnz lbl_80262DCC +lbl_80262DD4: +/* 80262DD4 0025FD34 7C 03 28 50 */ subf r0, r3, r5 +/* 80262DD8 0025FD38 7C 09 03 A6 */ mtctr r0 +/* 80262DDC 0025FD3C 7C 03 28 00 */ cmpw r3, r5 +/* 80262DE0 0025FD40 40 80 00 0C */ bge lbl_80262DEC +lbl_80262DE4: +/* 80262DE4 0025FD44 38 63 00 01 */ addi r3, r3, 1 +/* 80262DE8 0025FD48 42 00 FF FC */ bdnz lbl_80262DE4 +lbl_80262DEC: +/* 80262DEC 0025FD4C 38 00 00 00 */ li r0, 0 +/* 80262DF0 0025FD50 90 01 0E A8 */ stw r0, 0xea8(r1) +lbl_80262DF4: +/* 80262DF4 0025FD54 80 A1 1A AC */ lwz r5, 0x1aac(r1) +/* 80262DF8 0025FD58 38 60 00 00 */ li r3, 0 +/* 80262DFC 0025FD5C 2C 05 00 00 */ cmpwi r5, 0 +/* 80262E00 0025FD60 40 81 00 44 */ ble lbl_80262E44 +/* 80262E04 0025FD64 2C 05 00 08 */ cmpwi r5, 8 +/* 80262E08 0025FD68 38 85 FF F8 */ addi r4, r5, -8 +/* 80262E0C 0025FD6C 40 81 00 20 */ ble lbl_80262E2C +/* 80262E10 0025FD70 38 04 00 07 */ addi r0, r4, 7 +/* 80262E14 0025FD74 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262E18 0025FD78 7C 09 03 A6 */ mtctr r0 +/* 80262E1C 0025FD7C 2C 04 00 00 */ cmpwi r4, 0 +/* 80262E20 0025FD80 40 81 00 0C */ ble lbl_80262E2C +lbl_80262E24: +/* 80262E24 0025FD84 38 63 00 08 */ addi r3, r3, 8 +/* 80262E28 0025FD88 42 00 FF FC */ bdnz lbl_80262E24 +lbl_80262E2C: +/* 80262E2C 0025FD8C 7C 03 28 50 */ subf r0, r3, r5 +/* 80262E30 0025FD90 7C 09 03 A6 */ mtctr r0 +/* 80262E34 0025FD94 7C 03 28 00 */ cmpw r3, r5 +/* 80262E38 0025FD98 40 80 00 0C */ bge lbl_80262E44 +lbl_80262E3C: +/* 80262E3C 0025FD9C 38 63 00 01 */ addi r3, r3, 1 +/* 80262E40 0025FDA0 42 00 FF FC */ bdnz lbl_80262E3C +lbl_80262E44: +/* 80262E44 0025FDA4 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 80262E48 0025FDA8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80262E4C 0025FDAC 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 80262E50 0025FDB0 38 80 00 00 */ li r4, 0 +/* 80262E54 0025FDB4 90 01 02 08 */ stw r0, 0x208(r1) +/* 80262E58 0025FDB8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 80262E5C 0025FDBC 90 81 1A AC */ stw r4, 0x1aac(r1) +/* 80262E60 0025FDC0 90 01 02 08 */ stw r0, 0x208(r1) +lbl_80262E64: +/* 80262E64 0025FDC4 3A F7 00 80 */ addi r23, r23, 0x80 +/* 80262E68 0025FDC8 3A 10 00 01 */ addi r16, r16, 1 +lbl_80262E6C: +/* 80262E6C 0025FDCC 7C 10 88 00 */ cmpw r16, r17 +/* 80262E70 0025FDD0 41 80 F8 40 */ blt lbl_802626B0 +/* 80262E74 0025FDD4 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 80262E78 0025FDD8 38 60 00 00 */ li r3, 0 +/* 80262E7C 0025FDDC 2C 05 00 00 */ cmpwi r5, 0 +/* 80262E80 0025FDE0 40 81 00 44 */ ble lbl_80262EC4 +/* 80262E84 0025FDE4 2C 05 00 08 */ cmpwi r5, 8 +/* 80262E88 0025FDE8 38 85 FF F8 */ addi r4, r5, -8 +/* 80262E8C 0025FDEC 40 81 00 20 */ ble lbl_80262EAC +/* 80262E90 0025FDF0 38 04 00 07 */ addi r0, r4, 7 +/* 80262E94 0025FDF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262E98 0025FDF8 7C 09 03 A6 */ mtctr r0 +/* 80262E9C 0025FDFC 2C 04 00 00 */ cmpwi r4, 0 +/* 80262EA0 0025FE00 40 81 00 0C */ ble lbl_80262EAC +lbl_80262EA4: +/* 80262EA4 0025FE04 38 63 00 08 */ addi r3, r3, 8 +/* 80262EA8 0025FE08 42 00 FF FC */ bdnz lbl_80262EA4 +lbl_80262EAC: +/* 80262EAC 0025FE0C 7C 03 28 50 */ subf r0, r3, r5 +/* 80262EB0 0025FE10 7C 09 03 A6 */ mtctr r0 +/* 80262EB4 0025FE14 7C 03 28 00 */ cmpw r3, r5 +/* 80262EB8 0025FE18 40 80 00 0C */ bge lbl_80262EC4 +lbl_80262EBC: +/* 80262EBC 0025FE1C 38 63 00 01 */ addi r3, r3, 1 +/* 80262EC0 0025FE20 42 00 FF FC */ bdnz lbl_80262EBC +lbl_80262EC4: +/* 80262EC4 0025FE24 38 00 00 00 */ li r0, 0 +/* 80262EC8 0025FE28 80 AD 98 20 */ lwz r5, lbl_805A83E0@sda21(r13) +/* 80262ECC 0025FE2C 90 01 41 F4 */ stw r0, 0x41f4(r1) +/* 80262ED0 0025FE30 38 60 00 00 */ li r3, 0 +/* 80262ED4 0025FE34 38 80 00 01 */ li r4, 1 +/* 80262ED8 0025FE38 81 FE 08 4C */ lwz r15, 0x84c(r30) +/* 80262EDC 0025FE3C 48 12 70 19 */ bl __shl2i +/* 80262EE0 0025FE40 39 00 00 00 */ li r8, 0 +/* 80262EE4 0025FE44 38 00 00 01 */ li r0, 1 +/* 80262EE8 0025FE48 90 81 01 4C */ stw r4, 0x14c(r1) +/* 80262EEC 0025FE4C 7D E7 7B 78 */ mr r7, r15 +/* 80262EF0 0025FE50 38 81 41 F4 */ addi r4, r1, 0x41f4 +/* 80262EF4 0025FE54 38 A1 02 28 */ addi r5, r1, 0x228 +/* 80262EF8 0025FE58 90 61 01 48 */ stw r3, 0x148(r1) +/* 80262EFC 0025FE5C 7F C3 F3 78 */ mr r3, r30 +/* 80262F00 0025FE60 38 C1 01 48 */ addi r6, r1, 0x148 +/* 80262F04 0025FE64 91 01 01 54 */ stw r8, 0x154(r1) +/* 80262F08 0025FE68 91 01 01 50 */ stw r8, 0x150(r1) +/* 80262F0C 0025FE6C 90 01 01 58 */ stw r0, 0x158(r1) +/* 80262F10 0025FE70 4B DE 98 11 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80262F14 0025FE74 7E D0 B3 78 */ mr r16, r22 +/* 80262F18 0025FE78 48 00 00 C4 */ b lbl_80262FDC +lbl_80262F1C: +/* 80262F1C 0025FE7C A0 10 00 00 */ lhz r0, 0(r16) +/* 80262F20 0025FE80 7F C3 F3 78 */ mr r3, r30 +/* 80262F24 0025FE84 38 81 00 24 */ addi r4, r1, 0x24 +/* 80262F28 0025FE88 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80262F2C 0025FE8C 4B DE 96 49 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80262F30 0025FE90 7C 64 1B 78 */ mr r4, r3 +/* 80262F34 0025FE94 38 61 00 80 */ addi r3, r1, 0x80 +/* 80262F38 0025FE98 4B E4 33 01 */ bl "__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity" +/* 80262F3C 0025FE9C 82 E3 00 04 */ lwz r23, 4(r3) +/* 80262F40 0025FEA0 28 17 00 00 */ cmplwi r23, 0 +/* 80262F44 0025FEA4 41 82 00 94 */ beq lbl_80262FD8 +/* 80262F48 0025FEA8 7E 58 93 78 */ mr r24, r18 +/* 80262F4C 0025FEAC 7E AF AB 78 */ mr r15, r21 +/* 80262F50 0025FEB0 48 00 00 80 */ b lbl_80262FD0 +lbl_80262F54: +/* 80262F54 0025FEB4 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 80262F58 0025FEB8 7C 1A C0 00 */ cmpw r26, r24 +/* 80262F5C 0025FEBC 7C 60 7A 14 */ add r3, r0, r15 +/* 80262F60 0025FEC0 41 82 00 68 */ beq lbl_80262FC8 +/* 80262F64 0025FEC4 88 03 00 00 */ lbz r0, 0(r3) +/* 80262F68 0025FEC8 28 00 00 00 */ cmplwi r0, 0 +/* 80262F6C 0025FECC 41 82 00 5C */ beq lbl_80262FC8 +/* 80262F70 0025FED0 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80262F74 0025FED4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80262F78 0025FED8 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80262F7C 0025FEDC C0 0D 98 24 */ lfs f0, lbl_805A83E4@sda21(r13) +/* 80262F80 0025FEE0 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80262F84 0025FEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80262F88 0025FEE8 D0 41 00 E8 */ stfs f2, 0xe8(r1) +/* 80262F8C 0025FEEC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80262F90 0025FEF0 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80262F94 0025FEF4 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 80262F98 0025FEF8 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80262F9C 0025FEFC 40 80 00 0C */ bge lbl_80262FA8 +/* 80262FA0 0025FF00 38 6D 98 24 */ addi r3, r13, lbl_805A83E4@sda21 +/* 80262FA4 0025FF04 48 00 00 08 */ b lbl_80262FAC +lbl_80262FA8: +/* 80262FA8 0025FF08 38 61 00 54 */ addi r3, r1, 0x54 +lbl_80262FAC: +/* 80262FAC 0025FF0C C0 23 00 00 */ lfs f1, 0(r3) +/* 80262FB0 0025FF10 7E E3 BB 78 */ mr r3, r23 +/* 80262FB4 0025FF14 C0 17 01 00 */ lfs f0, 0x100(r23) +/* 80262FB8 0025FF18 7F C4 F3 78 */ mr r4, r30 +/* 80262FBC 0025FF1C 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 80262FC0 0025FF20 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80262FC4 0025FF24 4B FD 9A 85 */ bl sub_8023ca48 +lbl_80262FC8: +/* 80262FC8 0025FF28 39 EF 00 80 */ addi r15, r15, 0x80 +/* 80262FCC 0025FF2C 3B 18 00 01 */ addi r24, r24, 1 +lbl_80262FD0: +/* 80262FD0 0025FF30 7C 18 88 00 */ cmpw r24, r17 +/* 80262FD4 0025FF34 41 80 FF 80 */ blt lbl_80262F54 +lbl_80262FD8: +/* 80262FD8 0025FF38 3A 10 00 02 */ addi r16, r16, 2 +lbl_80262FDC: +/* 80262FDC 0025FF3C 80 01 41 F4 */ lwz r0, 0x41f4(r1) +/* 80262FE0 0025FF40 54 00 08 3C */ slwi r0, r0, 1 +/* 80262FE4 0025FF44 7C 16 02 14 */ add r0, r22, r0 +/* 80262FE8 0025FF48 7C 10 00 40 */ cmplw r16, r0 +/* 80262FEC 0025FF4C 40 82 FF 30 */ bne lbl_80262F1C +/* 80262FF0 0025FF50 7E 50 93 78 */ mr r16, r18 +/* 80262FF4 0025FF54 48 00 02 08 */ b lbl_802631FC +lbl_80262FF8: +/* 80262FF8 0025FF58 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 80262FFC 0025FF5C 7C 1A 80 00 */ cmpw r26, r16 +/* 80263000 0025FF60 7D E0 AA 14 */ add r15, r0, r21 +/* 80263004 0025FF64 41 82 01 F0 */ beq lbl_802631F4 +/* 80263008 0025FF68 88 0F 00 00 */ lbz r0, 0(r15) +/* 8026300C 0025FF6C 28 00 00 00 */ cmplwi r0, 0 +/* 80263010 0025FF70 41 82 01 E4 */ beq lbl_802631F4 +/* 80263014 0025FF74 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80263018 0025FF78 38 00 00 00 */ li r0, 0 +/* 8026301C 0025FF7C 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 80263020 0025FF80 38 60 00 00 */ li r3, 0 +/* 80263024 0025FF84 80 AD 98 28 */ lwz r5, lbl_805A83E8@sda21(r13) +/* 80263028 0025FF88 B0 81 00 4C */ sth r4, 0x4c(r1) +/* 8026302C 0025FF8C 38 80 00 01 */ li r4, 1 +/* 80263030 0025FF90 C3 41 00 68 */ lfs f26, 0x68(r1) +/* 80263034 0025FF94 C2 EF 00 0C */ lfs f23, 0xc(r15) +/* 80263038 0025FF98 C3 0F 00 10 */ lfs f24, 0x10(r15) +/* 8026303C 0025FF9C C3 2F 00 14 */ lfs f25, 0x14(r15) +/* 80263040 0025FFA0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80263044 0025FFA4 90 01 00 78 */ stw r0, 0x78(r1) +/* 80263048 0025FFA8 48 12 6E AD */ bl __shl2i +/* 8026304C 0025FFAC 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80263050 0025FFB0 80 A1 00 7C */ lwz r5, 0x7c(r1) +/* 80263054 0025FFB4 7C 00 1B 78 */ or r0, r0, r3 +/* 80263058 0025FFB8 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8026305C 0025FFBC 7C A5 23 78 */ or r5, r5, r4 +/* 80263060 0025FFC0 90 01 00 78 */ stw r0, 0x78(r1) +/* 80263064 0025FFC4 38 81 00 78 */ addi r4, r1, 0x78 +/* 80263068 0025FFC8 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 8026306C 0025FFCC 48 06 C8 49 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 80263070 0025FFD0 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80263074 0025FFD4 D2 E1 01 F8 */ stfs f23, 0x1f8(r1) +/* 80263078 0025FFD8 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8026307C 0025FFDC 7F A3 EB 78 */ mr r3, r29 +/* 80263080 0025FFE0 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 80263084 0025FFE4 7F C4 F3 78 */ mr r4, r30 +/* 80263088 0025FFE8 38 A1 41 F4 */ addi r5, r1, 0x41f4 +/* 8026308C 0025FFEC 38 C1 01 E8 */ addi r6, r1, 0x1e8 +/* 80263090 0025FFF0 D3 01 01 FC */ stfs f24, 0x1fc(r1) +/* 80263094 0025FFF4 38 E1 00 4C */ addi r7, r1, 0x4c +/* 80263098 0025FFF8 39 01 02 A4 */ addi r8, r1, 0x2a4 +/* 8026309C 0025FFFC D3 21 02 00 */ stfs f25, 0x200(r1) +/* 802630A0 00260000 D3 41 02 04 */ stfs f26, 0x204(r1) +/* 802630A4 00260004 4B FF EF 15 */ bl sub_80261fb8 +/* 802630A8 00260008 A0 61 00 4C */ lhz r3, 0x4c(r1) +/* 802630AC 0026000C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802630B0 00260010 7C 03 00 40 */ cmplw r3, r0 +/* 802630B4 00260014 41 82 00 D0 */ beq lbl_80263184 +/* 802630B8 00260018 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 802630BC 0026001C 7F C3 F3 78 */ mr r3, r30 +/* 802630C0 00260020 38 81 00 20 */ addi r4, r1, 0x20 +/* 802630C4 00260024 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802630C8 00260028 4B DE 94 AD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802630CC 0026002C 7C 64 1B 78 */ mr r4, r3 +/* 802630D0 00260030 38 61 00 6C */ addi r3, r1, 0x6c +/* 802630D4 00260034 4B E4 CB BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802630D8 00260038 82 E3 00 04 */ lwz r23, 4(r3) +/* 802630DC 0026003C 28 17 00 00 */ cmplwi r23, 0 +/* 802630E0 00260040 41 82 00 A4 */ beq lbl_80263184 +/* 802630E4 00260044 7F A3 EB 78 */ mr r3, r29 +/* 802630E8 00260048 7E E4 BB 78 */ mr r4, r23 +/* 802630EC 0026004C 7F C5 F3 78 */ mr r5, r30 +/* 802630F0 00260050 4B FF E3 41 */ bl sub_80261430 +/* 802630F4 00260054 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802630F8 00260058 41 82 00 8C */ beq lbl_80263184 +/* 802630FC 0026005C 80 1D 00 F8 */ lwz r0, 0xf8(r29) +/* 80263100 00260060 38 61 00 98 */ addi r3, r1, 0x98 +/* 80263104 00260064 80 BD 00 FC */ lwz r5, 0xfc(r29) +/* 80263108 00260068 38 8F 00 74 */ addi r4, r15, 0x74 +/* 8026310C 0026006C 90 A1 01 14 */ stw r5, 0x114(r1) +/* 80263110 00260070 90 01 01 10 */ stw r0, 0x110(r1) +/* 80263114 00260074 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80263118 00260078 80 BD 01 04 */ lwz r5, 0x104(r29) +/* 8026311C 0026007C 90 A1 01 1C */ stw r5, 0x11c(r1) +/* 80263120 00260080 90 01 01 18 */ stw r0, 0x118(r1) +/* 80263124 00260084 80 1D 01 08 */ lwz r0, 0x108(r29) +/* 80263128 00260088 90 01 01 20 */ stw r0, 0x120(r1) +/* 8026312C 0026008C A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 80263130 00260090 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80263134 00260094 A0 B7 00 08 */ lhz r5, 8(r23) +/* 80263138 00260098 B0 01 00 08 */ sth r0, 8(r1) +/* 8026313C 0026009C B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80263140 002600A0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80263144 002600A4 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 80263148 002600A8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8026314C 002600AC B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80263150 002600B0 48 0B 17 01 */ bl AsNormalized__9CVector3fCFv +/* 80263154 002600B4 FC 20 B0 90 */ fmr f1, f22 +/* 80263158 002600B8 38 61 01 28 */ addi r3, r1, 0x128 +/* 8026315C 002600BC 38 9D 01 2C */ addi r4, r29, 0x12c +/* 80263160 002600C0 4B E6 02 E9 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80263164 002600C4 7F C3 F3 78 */ mr r3, r30 +/* 80263168 002600C8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8026316C 002600CC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80263170 002600D0 38 C1 00 0C */ addi r6, r1, 0xc +/* 80263174 002600D4 38 E1 01 28 */ addi r7, r1, 0x128 +/* 80263178 002600D8 39 01 01 10 */ addi r8, r1, 0x110 +/* 8026317C 002600DC 39 21 00 98 */ addi r9, r1, 0x98 +/* 80263180 002600E0 4B DE 6F 21 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80263184: +/* 80263184 002600E4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80263188 002600E8 80 A1 02 A4 */ lwz r5, 0x2a4(r1) +/* 8026318C 002600EC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 80263190 002600F0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80263194 002600F4 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 80263198 002600F8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8026319C 002600FC 2C 05 00 00 */ cmpwi r5, 0 +/* 802631A0 00260100 38 60 00 00 */ li r3, 0 +/* 802631A4 00260104 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 802631A8 00260108 40 81 00 44 */ ble lbl_802631EC +/* 802631AC 0026010C 2C 05 00 08 */ cmpwi r5, 8 +/* 802631B0 00260110 38 85 FF F8 */ addi r4, r5, -8 +/* 802631B4 00260114 40 81 00 20 */ ble lbl_802631D4 +/* 802631B8 00260118 38 04 00 07 */ addi r0, r4, 7 +/* 802631BC 0026011C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802631C0 00260120 7C 09 03 A6 */ mtctr r0 +/* 802631C4 00260124 2C 04 00 00 */ cmpwi r4, 0 +/* 802631C8 00260128 40 81 00 0C */ ble lbl_802631D4 +lbl_802631CC: +/* 802631CC 0026012C 38 63 00 08 */ addi r3, r3, 8 +/* 802631D0 00260130 42 00 FF FC */ bdnz lbl_802631CC +lbl_802631D4: +/* 802631D4 00260134 7C 03 28 50 */ subf r0, r3, r5 +/* 802631D8 00260138 7C 09 03 A6 */ mtctr r0 +/* 802631DC 0026013C 7C 03 28 00 */ cmpw r3, r5 +/* 802631E0 00260140 40 80 00 0C */ bge lbl_802631EC +lbl_802631E4: +/* 802631E4 00260144 38 63 00 01 */ addi r3, r3, 1 +/* 802631E8 00260148 42 00 FF FC */ bdnz lbl_802631E4 +lbl_802631EC: +/* 802631EC 0026014C 38 00 00 00 */ li r0, 0 +/* 802631F0 00260150 90 01 02 A4 */ stw r0, 0x2a4(r1) +lbl_802631F4: +/* 802631F4 00260154 3A B5 00 80 */ addi r21, r21, 0x80 +/* 802631F8 00260158 3A 10 00 01 */ addi r16, r16, 1 +lbl_802631FC: +/* 802631FC 0026015C 7C 10 88 00 */ cmpw r16, r17 +/* 80263200 00260160 41 80 FD F8 */ blt lbl_80262FF8 +/* 80263204 00260164 34 01 26 C8 */ addic. r0, r1, 0x26c8 +/* 80263208 00260168 41 82 00 94 */ beq lbl_8026329C +/* 8026320C 0026016C 7E 86 A3 78 */ mr r6, r20 +/* 80263210 00260170 38 60 00 00 */ li r3, 0 +/* 80263214 00260174 48 00 00 74 */ b lbl_80263288 +lbl_80263218: +/* 80263218 00260178 28 06 00 00 */ cmplwi r6, 0 +/* 8026321C 0026017C 41 82 00 64 */ beq lbl_80263280 +/* 80263220 00260180 34 06 00 04 */ addic. r0, r6, 4 +/* 80263224 00260184 41 82 00 5C */ beq lbl_80263280 +/* 80263228 00260188 80 E6 00 04 */ lwz r7, 4(r6) +/* 8026322C 0026018C 38 80 00 00 */ li r4, 0 +/* 80263230 00260190 2C 07 00 00 */ cmpwi r7, 0 +/* 80263234 00260194 40 81 00 44 */ ble lbl_80263278 +/* 80263238 00260198 2C 07 00 08 */ cmpwi r7, 8 +/* 8026323C 0026019C 38 A7 FF F8 */ addi r5, r7, -8 +/* 80263240 002601A0 40 81 00 20 */ ble lbl_80263260 +/* 80263244 002601A4 38 05 00 07 */ addi r0, r5, 7 +/* 80263248 002601A8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8026324C 002601AC 7C 09 03 A6 */ mtctr r0 +/* 80263250 002601B0 2C 05 00 00 */ cmpwi r5, 0 +/* 80263254 002601B4 40 81 00 0C */ ble lbl_80263260 +lbl_80263258: +/* 80263258 002601B8 38 84 00 08 */ addi r4, r4, 8 +/* 8026325C 002601BC 42 00 FF FC */ bdnz lbl_80263258 +lbl_80263260: +/* 80263260 002601C0 7C 04 38 50 */ subf r0, r4, r7 +/* 80263264 002601C4 7C 09 03 A6 */ mtctr r0 +/* 80263268 002601C8 7C 04 38 00 */ cmpw r4, r7 +/* 8026326C 002601CC 40 80 00 0C */ bge lbl_80263278 +lbl_80263270: +/* 80263270 002601D0 38 84 00 01 */ addi r4, r4, 1 +/* 80263274 002601D4 42 00 FF FC */ bdnz lbl_80263270 +lbl_80263278: +/* 80263278 002601D8 38 00 00 00 */ li r0, 0 +/* 8026327C 002601DC 90 06 00 04 */ stw r0, 4(r6) +lbl_80263280: +/* 80263280 002601E0 38 C6 09 0C */ addi r6, r6, 0x90c +/* 80263284 002601E4 38 63 00 01 */ addi r3, r3, 1 +lbl_80263288: +/* 80263288 002601E8 80 01 26 C8 */ lwz r0, 0x26c8(r1) +/* 8026328C 002601EC 7C 03 00 00 */ cmpw r3, r0 +/* 80263290 002601F0 41 80 FF 88 */ blt lbl_80263218 +/* 80263294 002601F4 38 00 00 00 */ li r0, 0 +/* 80263298 002601F8 90 01 26 C8 */ stw r0, 0x26c8(r1) +lbl_8026329C: +/* 8026329C 002601FC 38 60 00 00 */ li r3, 0 +/* 802632A0 00260200 80 01 49 F8 */ lwz r0, 0x49f8(r1) +/* 802632A4 00260204 98 61 02 40 */ stb r3, 0x240(r1) +/* 802632A8 00260208 7E 52 02 14 */ add r18, r18, r0 +lbl_802632AC: +/* 802632AC 0026020C 80 1B 01 60 */ lwz r0, 0x160(r27) +/* 802632B0 00260210 7C 12 00 00 */ cmpw r18, r0 +/* 802632B4 00260214 41 80 F1 64 */ blt lbl_80262418 +/* 802632B8 00260218 7F A3 EB 78 */ mr r3, r29 +/* 802632BC 0026021C 4B FF E3 E9 */ bl sub_802616a4 +/* 802632C0 00260220 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 802632C4 00260224 38 60 00 00 */ li r3, 0 +/* 802632C8 00260228 2C 05 00 00 */ cmpwi r5, 0 +/* 802632CC 0026022C 40 81 00 40 */ ble lbl_8026330C +/* 802632D0 00260230 2C 05 00 08 */ cmpwi r5, 8 +/* 802632D4 00260234 38 85 FF F8 */ addi r4, r5, -8 +/* 802632D8 00260238 40 81 00 20 */ ble lbl_802632F8 +/* 802632DC 0026023C 38 04 00 07 */ addi r0, r4, 7 +/* 802632E0 00260240 54 00 E8 FE */ srwi r0, r0, 3 +/* 802632E4 00260244 7C 09 03 A6 */ mtctr r0 +/* 802632E8 00260248 2C 04 00 00 */ cmpwi r4, 0 +/* 802632EC 0026024C 40 81 00 0C */ ble lbl_802632F8 +lbl_802632F0: +/* 802632F0 00260250 38 63 00 08 */ addi r3, r3, 8 +/* 802632F4 00260254 42 00 FF FC */ bdnz lbl_802632F0 +lbl_802632F8: +/* 802632F8 00260258 7C 03 28 50 */ subf r0, r3, r5 +/* 802632FC 0026025C 7C 09 03 A6 */ mtctr r0 +/* 80263300 00260260 7C 03 28 00 */ cmpw r3, r5 +/* 80263304 00260264 40 80 00 08 */ bge lbl_8026330C +lbl_80263308: +/* 80263308 00260268 42 00 00 00 */ bdnz lbl_80263308 +lbl_8026330C: +/* 8026330C 0026026C 38 00 00 00 */ li r0, 0 +/* 80263310 00260270 7E 63 9B 78 */ mr r3, r19 +/* 80263314 00260274 90 01 41 F4 */ stw r0, 0x41f4(r1) +lbl_80263318: +/* 80263318 00260278 38 00 4A E8 */ li r0, 0x4ae8 +/* 8026331C 0026027C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 80263320 00260280 CB E1 4A E0 */ lfd f31, 0x4ae0(r1) +/* 80263324 00260284 38 00 4A D8 */ li r0, 0x4ad8 +/* 80263328 00260288 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 8026332C 0026028C CB C1 4A D0 */ lfd f30, 0x4ad0(r1) +/* 80263330 00260290 38 00 4A C8 */ li r0, 0x4ac8 +/* 80263334 00260294 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 80263338 00260298 CB A1 4A C0 */ lfd f29, 0x4ac0(r1) +/* 8026333C 0026029C 38 00 4A B8 */ li r0, 0x4ab8 +/* 80263340 002602A0 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 80263344 002602A4 CB 81 4A B0 */ lfd f28, 0x4ab0(r1) +/* 80263348 002602A8 38 00 4A A8 */ li r0, 0x4aa8 +/* 8026334C 002602AC 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 80263350 002602B0 CB 61 4A A0 */ lfd f27, 0x4aa0(r1) +/* 80263354 002602B4 38 00 4A 98 */ li r0, 0x4a98 +/* 80263358 002602B8 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 +/* 8026335C 002602BC CB 41 4A 90 */ lfd f26, 0x4a90(r1) +/* 80263360 002602C0 38 00 4A 88 */ li r0, 0x4a88 +/* 80263364 002602C4 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0 +/* 80263368 002602C8 CB 21 4A 80 */ lfd f25, 0x4a80(r1) +/* 8026336C 002602CC 38 00 4A 78 */ li r0, 0x4a78 +/* 80263370 002602D0 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0 +/* 80263374 002602D4 CB 01 4A 70 */ lfd f24, 0x4a70(r1) +/* 80263378 002602D8 38 00 4A 68 */ li r0, 0x4a68 +/* 8026337C 002602DC 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0 +/* 80263380 002602E0 CA E1 4A 60 */ lfd f23, 0x4a60(r1) +/* 80263384 002602E4 38 00 4A 58 */ li r0, 0x4a58 +/* 80263388 002602E8 12 C1 00 0C */ psq_lx f22, r1, r0, 0, qr0 +/* 8026338C 002602EC CA C1 4A 50 */ lfd f22, 0x4a50(r1) +/* 80263390 002602F0 B9 C1 4A 08 */ lmw r14, 0x4a08(r1) +/* 80263394 002602F4 80 01 4A F4 */ lwz r0, 0x4af4(r1) +/* 80263398 002602F8 7C 08 03 A6 */ mtlr r0 +/* 8026339C 002602FC 38 21 4A F0 */ addi r1, r1, 0x4af0 +/* 802633A0 00260300 4E 80 00 20 */ blr + +.global AcceptScriptMsg__16CNewFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__16CNewFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802633A4 00260304 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802633A8 00260308 7C 08 02 A6 */ mflr r0 +/* 802633AC 0026030C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802633B0 00260310 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802633B4 00260314 7C DF 33 78 */ mr r31, r6 +/* 802633B8 00260318 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802633BC 0026031C 7C BE 2B 78 */ mr r30, r5 +/* 802633C0 00260320 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802633C4 00260324 7C 9D 23 78 */ mr r29, r4 +/* 802633C8 00260328 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 802633CC 0026032C 93 81 00 30 */ stw r28, 0x30(r1) +/* 802633D0 00260330 7C 7C 1B 78 */ mr r28, r3 +/* 802633D4 00260334 41 82 00 5C */ beq lbl_80263430 +/* 802633D8 00260338 40 80 00 A8 */ bge lbl_80263480 +/* 802633DC 0026033C 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 802633E0 00260340 40 80 00 08 */ bge lbl_802633E8 +/* 802633E4 00260344 48 00 00 9C */ b lbl_80263480 +lbl_802633E8: +/* 802633E8 00260348 88 1C 00 E6 */ lbz r0, 0xe6(r28) +/* 802633EC 0026034C 38 80 00 02 */ li r4, 2 +/* 802633F0 00260350 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c +/* 802633F4 00260354 7F E4 FB 78 */ mr r4, r31 +/* 802633F8 00260358 98 1C 00 E6 */ stb r0, 0xe6(r28) +/* 802633FC 0026035C C0 22 BA 80 */ lfs f1, lbl_805AD7A0@sda21(r2) +/* 80263400 00260360 81 83 00 00 */ lwz r12, 0(r3) +/* 80263404 00260364 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263408 00260368 7D 89 03 A6 */ mtctr r12 +/* 8026340C 0026036C 4E 80 04 21 */ bctrl +/* 80263410 00260370 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 80263414 00260374 7F E3 FB 78 */ mr r3, r31 +/* 80263418 00260378 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 8026341C 0026037C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80263420 00260380 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80263424 00260384 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80263428 00260388 4B DE 18 E1 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType +/* 8026342C 0026038C 48 00 00 54 */ b lbl_80263480 +lbl_80263430: +/* 80263430 00260390 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 80263434 00260394 7F E3 FB 78 */ mr r3, r31 +/* 80263438 00260398 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 8026343C 0026039C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80263440 002603A0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80263444 002603A4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80263448 002603A8 4B DE 18 91 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType +/* 8026344C 002603AC 7F 83 E3 78 */ mr r3, r28 +/* 80263450 002603B0 7F E4 FB 78 */ mr r4, r31 +/* 80263454 002603B4 4B FF E5 FD */ bl DeleteLightObjects__16CNewFlameThrowerFR13CStateManager +/* 80263458 002603B8 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8026345C 002603BC 7F 83 E3 78 */ mr r3, r28 +/* 80263460 002603C0 C0 22 BA 84 */ lfs f1, lbl_805AD7A4@sda21(r2) +/* 80263464 002603C4 7F E4 FB 78 */ mr r4, r31 +/* 80263468 002603C8 80 05 00 04 */ lwz r0, 4(r5) +/* 8026346C 002603CC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80263470 002603D0 C0 42 BA 68 */ lfs f2, lbl_805AD788@sda21(r2) +/* 80263474 002603D4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80263478 002603D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026347C 002603DC 4B FF E0 F9 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +lbl_80263480: +/* 80263480 002603E0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80263484 002603E4 7F 83 E3 78 */ mr r3, r28 +/* 80263488 002603E8 7F A4 EB 78 */ mr r4, r29 +/* 8026348C 002603EC 7F E6 FB 78 */ mr r6, r31 +/* 80263490 002603F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80263494 002603F4 38 A1 00 08 */ addi r5, r1, 8 +/* 80263498 002603F8 4B DD 51 35 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8026349C 002603FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802634A0 00260400 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802634A4 00260404 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802634A8 00260408 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802634AC 0026040C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802634B0 00260410 7C 08 03 A6 */ mtlr r0 +/* 802634B4 00260414 38 21 00 40 */ addi r1, r1, 0x40 +/* 802634B8 00260418 4E 80 00 20 */ blr + +.global EnableFx__16CNewFlameThrowerFRC13CStateManager +EnableFx__16CNewFlameThrowerFRC13CStateManager: +/* 802634BC 0026041C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802634C0 00260420 7C 08 02 A6 */ mflr r0 +/* 802634C4 00260424 90 01 00 54 */ stw r0, 0x54(r1) +/* 802634C8 00260428 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802634CC 0026042C 7C 7F 1B 78 */ mr r31, r3 +/* 802634D0 00260430 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802634D4 00260434 7C 9E 23 78 */ mr r30, r4 +/* 802634D8 00260438 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802634DC 0026043C 93 81 00 40 */ stw r28, 0x40(r1) +/* 802634E0 00260440 4B DD 43 C9 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager +/* 802634E4 00260444 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802634E8 00260448 3B 80 00 00 */ li r28, 0 +/* 802634EC 0026044C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802634F0 00260450 38 A0 00 00 */ li r5, 0 +/* 802634F4 00260454 38 60 03 40 */ li r3, 0x340 +/* 802634F8 00260458 48 0B 23 75 */ bl __nw__FUlPCcPCc +/* 802634FC 0026045C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263500 00260460 41 82 00 2C */ beq lbl_8026352C +/* 80263504 00260464 38 61 00 38 */ addi r3, r1, 0x38 +/* 80263508 00260468 38 9F 03 04 */ addi r4, r31, 0x304 +/* 8026350C 0026046C 48 0D D9 9D */ bl __ct__6CTokenFRC6CToken +/* 80263510 00260470 7F A3 EB 78 */ mr r3, r29 +/* 80263514 00260474 38 81 00 38 */ addi r4, r1, 0x38 +/* 80263518 00260478 3B 80 00 01 */ li r28, 1 +/* 8026351C 0026047C 38 A0 00 00 */ li r5, 0 +/* 80263520 00260480 38 C0 00 01 */ li r6, 1 +/* 80263524 00260484 48 0B BE BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80263528 00260488 7C 7D 1B 78 */ mr r29, r3 +lbl_8026352C: +/* 8026352C 0026048C 80 7F 03 58 */ lwz r3, 0x358(r31) +/* 80263530 00260490 28 03 00 00 */ cmplwi r3, 0 +/* 80263534 00260494 41 82 00 18 */ beq lbl_8026354C +/* 80263538 00260498 81 83 00 00 */ lwz r12, 0(r3) +/* 8026353C 0026049C 38 80 00 01 */ li r4, 1 +/* 80263540 002604A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263544 002604A4 7D 89 03 A6 */ mtctr r12 +/* 80263548 002604A8 4E 80 04 21 */ bctrl +lbl_8026354C: +/* 8026354C 002604AC 7F 80 07 75 */ extsb. r0, r28 +/* 80263550 002604B0 93 BF 03 58 */ stw r29, 0x358(r31) +/* 80263554 002604B4 41 82 00 10 */ beq lbl_80263564 +/* 80263558 002604B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8026355C 002604BC 38 80 00 00 */ li r4, 0 +/* 80263560 002604C0 48 0D D8 E1 */ bl __dt__6CTokenFv +lbl_80263564: +/* 80263564 002604C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80263568 002604C8 3B 80 00 00 */ li r28, 0 +/* 8026356C 002604CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80263570 002604D0 38 A0 00 00 */ li r5, 0 +/* 80263574 002604D4 38 60 03 40 */ li r3, 0x340 +/* 80263578 002604D8 48 0B 22 F5 */ bl __nw__FUlPCcPCc +/* 8026357C 002604DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263580 002604E0 41 82 00 2C */ beq lbl_802635AC +/* 80263584 002604E4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80263588 002604E8 38 9F 03 10 */ addi r4, r31, 0x310 +/* 8026358C 002604EC 48 0D D9 1D */ bl __ct__6CTokenFRC6CToken +/* 80263590 002604F0 7F A3 EB 78 */ mr r3, r29 +/* 80263594 002604F4 38 81 00 30 */ addi r4, r1, 0x30 +/* 80263598 002604F8 3B 80 00 01 */ li r28, 1 +/* 8026359C 002604FC 38 A0 00 00 */ li r5, 0 +/* 802635A0 00260500 38 C0 00 01 */ li r6, 1 +/* 802635A4 00260504 48 0B BE 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802635A8 00260508 7C 7D 1B 78 */ mr r29, r3 +lbl_802635AC: +/* 802635AC 0026050C 80 7F 03 5C */ lwz r3, 0x35c(r31) +/* 802635B0 00260510 28 03 00 00 */ cmplwi r3, 0 +/* 802635B4 00260514 41 82 00 18 */ beq lbl_802635CC +/* 802635B8 00260518 81 83 00 00 */ lwz r12, 0(r3) +/* 802635BC 0026051C 38 80 00 01 */ li r4, 1 +/* 802635C0 00260520 81 8C 00 08 */ lwz r12, 8(r12) +/* 802635C4 00260524 7D 89 03 A6 */ mtctr r12 +/* 802635C8 00260528 4E 80 04 21 */ bctrl +lbl_802635CC: +/* 802635CC 0026052C 7F 80 07 75 */ extsb. r0, r28 +/* 802635D0 00260530 93 BF 03 5C */ stw r29, 0x35c(r31) +/* 802635D4 00260534 41 82 00 10 */ beq lbl_802635E4 +/* 802635D8 00260538 38 61 00 30 */ addi r3, r1, 0x30 +/* 802635DC 0026053C 38 80 00 00 */ li r4, 0 +/* 802635E0 00260540 48 0D D8 61 */ bl __dt__6CTokenFv +lbl_802635E4: +/* 802635E4 00260544 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802635E8 00260548 3B 80 00 00 */ li r28, 0 +/* 802635EC 0026054C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802635F0 00260550 38 A0 00 00 */ li r5, 0 +/* 802635F4 00260554 38 60 03 40 */ li r3, 0x340 +/* 802635F8 00260558 48 0B 22 75 */ bl __nw__FUlPCcPCc +/* 802635FC 0026055C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263600 00260560 41 82 00 2C */ beq lbl_8026362C +/* 80263604 00260564 38 61 00 28 */ addi r3, r1, 0x28 +/* 80263608 00260568 38 9F 03 1C */ addi r4, r31, 0x31c +/* 8026360C 0026056C 48 0D D8 9D */ bl __ct__6CTokenFRC6CToken +/* 80263610 00260570 7F A3 EB 78 */ mr r3, r29 +/* 80263614 00260574 38 81 00 28 */ addi r4, r1, 0x28 +/* 80263618 00260578 3B 80 00 01 */ li r28, 1 +/* 8026361C 0026057C 38 A0 00 00 */ li r5, 0 +/* 80263620 00260580 38 C0 00 01 */ li r6, 1 +/* 80263624 00260584 48 0B BD BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80263628 00260588 7C 7D 1B 78 */ mr r29, r3 +lbl_8026362C: +/* 8026362C 0026058C 80 7F 03 60 */ lwz r3, 0x360(r31) +/* 80263630 00260590 28 03 00 00 */ cmplwi r3, 0 +/* 80263634 00260594 41 82 00 18 */ beq lbl_8026364C +/* 80263638 00260598 81 83 00 00 */ lwz r12, 0(r3) +/* 8026363C 0026059C 38 80 00 01 */ li r4, 1 +/* 80263640 002605A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263644 002605A4 7D 89 03 A6 */ mtctr r12 +/* 80263648 002605A8 4E 80 04 21 */ bctrl +lbl_8026364C: +/* 8026364C 002605AC 7F 80 07 75 */ extsb. r0, r28 +/* 80263650 002605B0 93 BF 03 60 */ stw r29, 0x360(r31) +/* 80263654 002605B4 41 82 00 10 */ beq lbl_80263664 +/* 80263658 002605B8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8026365C 002605BC 38 80 00 00 */ li r4, 0 +/* 80263660 002605C0 48 0D D7 E1 */ bl __dt__6CTokenFv +lbl_80263664: +/* 80263664 002605C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80263668 002605C8 3B 80 00 00 */ li r28, 0 +/* 8026366C 002605CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80263670 002605D0 38 A0 00 00 */ li r5, 0 +/* 80263674 002605D4 38 60 03 40 */ li r3, 0x340 +/* 80263678 002605D8 48 0B 21 F5 */ bl __nw__FUlPCcPCc +/* 8026367C 002605DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263680 002605E0 41 82 00 2C */ beq lbl_802636AC +/* 80263684 002605E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80263688 002605E8 38 9F 03 28 */ addi r4, r31, 0x328 +/* 8026368C 002605EC 48 0D D8 1D */ bl __ct__6CTokenFRC6CToken +/* 80263690 002605F0 7F A3 EB 78 */ mr r3, r29 +/* 80263694 002605F4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80263698 002605F8 3B 80 00 01 */ li r28, 1 +/* 8026369C 002605FC 38 A0 00 00 */ li r5, 0 +/* 802636A0 00260600 38 C0 00 01 */ li r6, 1 +/* 802636A4 00260604 48 0B BD 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802636A8 00260608 7C 7D 1B 78 */ mr r29, r3 +lbl_802636AC: +/* 802636AC 0026060C 80 7F 03 64 */ lwz r3, 0x364(r31) +/* 802636B0 00260610 28 03 00 00 */ cmplwi r3, 0 +/* 802636B4 00260614 41 82 00 18 */ beq lbl_802636CC +/* 802636B8 00260618 81 83 00 00 */ lwz r12, 0(r3) +/* 802636BC 0026061C 38 80 00 01 */ li r4, 1 +/* 802636C0 00260620 81 8C 00 08 */ lwz r12, 8(r12) +/* 802636C4 00260624 7D 89 03 A6 */ mtctr r12 +/* 802636C8 00260628 4E 80 04 21 */ bctrl +lbl_802636CC: +/* 802636CC 0026062C 7F 80 07 75 */ extsb. r0, r28 +/* 802636D0 00260630 93 BF 03 64 */ stw r29, 0x364(r31) +/* 802636D4 00260634 41 82 00 10 */ beq lbl_802636E4 +/* 802636D8 00260638 38 61 00 20 */ addi r3, r1, 0x20 +/* 802636DC 0026063C 38 80 00 00 */ li r4, 0 +/* 802636E0 00260640 48 0D D7 61 */ bl __dt__6CTokenFv +lbl_802636E4: +/* 802636E4 00260644 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802636E8 00260648 3B 80 00 00 */ li r28, 0 +/* 802636EC 0026064C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802636F0 00260650 38 A0 00 00 */ li r5, 0 +/* 802636F4 00260654 38 60 03 40 */ li r3, 0x340 +/* 802636F8 00260658 48 0B 21 75 */ bl __nw__FUlPCcPCc +/* 802636FC 0026065C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263700 00260660 41 82 00 2C */ beq lbl_8026372C +/* 80263704 00260664 38 61 00 18 */ addi r3, r1, 0x18 +/* 80263708 00260668 38 9F 03 34 */ addi r4, r31, 0x334 +/* 8026370C 0026066C 48 0D D7 9D */ bl __ct__6CTokenFRC6CToken +/* 80263710 00260670 7F A3 EB 78 */ mr r3, r29 +/* 80263714 00260674 38 81 00 18 */ addi r4, r1, 0x18 +/* 80263718 00260678 3B 80 00 01 */ li r28, 1 +/* 8026371C 0026067C 38 A0 00 00 */ li r5, 0 +/* 80263720 00260680 38 C0 00 01 */ li r6, 1 +/* 80263724 00260684 48 0B BC BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80263728 00260688 7C 7D 1B 78 */ mr r29, r3 +lbl_8026372C: +/* 8026372C 0026068C 80 7F 03 68 */ lwz r3, 0x368(r31) +/* 80263730 00260690 28 03 00 00 */ cmplwi r3, 0 +/* 80263734 00260694 41 82 00 18 */ beq lbl_8026374C +/* 80263738 00260698 81 83 00 00 */ lwz r12, 0(r3) +/* 8026373C 0026069C 38 80 00 01 */ li r4, 1 +/* 80263740 002606A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263744 002606A4 7D 89 03 A6 */ mtctr r12 +/* 80263748 002606A8 4E 80 04 21 */ bctrl +lbl_8026374C: +/* 8026374C 002606AC 7F 80 07 75 */ extsb. r0, r28 +/* 80263750 002606B0 93 BF 03 68 */ stw r29, 0x368(r31) +/* 80263754 002606B4 41 82 00 10 */ beq lbl_80263764 +/* 80263758 002606B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8026375C 002606BC 38 80 00 00 */ li r4, 0 +/* 80263760 002606C0 48 0D D6 E1 */ bl __dt__6CTokenFv +lbl_80263764: +/* 80263764 002606C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80263768 002606C8 3B 80 00 00 */ li r28, 0 +/* 8026376C 002606CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80263770 002606D0 38 A0 00 00 */ li r5, 0 +/* 80263774 002606D4 38 60 02 10 */ li r3, 0x210 +/* 80263778 002606D8 48 0B 20 F5 */ bl __nw__FUlPCcPCc +/* 8026377C 002606DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263780 002606E0 41 82 00 28 */ beq lbl_802637A8 +/* 80263784 002606E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80263788 002606E8 38 9F 03 40 */ addi r4, r31, 0x340 +/* 8026378C 002606EC 48 0D D7 1D */ bl __ct__6CTokenFRC6CToken +/* 80263790 002606F0 7F A3 EB 78 */ mr r3, r29 +/* 80263794 002606F4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80263798 002606F8 3B 80 00 01 */ li r28, 1 +/* 8026379C 002606FC 38 A0 00 00 */ li r5, 0 +/* 802637A0 00260700 48 0C B6 45 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802637A4 00260704 7C 7D 1B 78 */ mr r29, r3 +lbl_802637A8: +/* 802637A8 00260708 80 7F 03 6C */ lwz r3, 0x36c(r31) +/* 802637AC 0026070C 28 03 00 00 */ cmplwi r3, 0 +/* 802637B0 00260710 41 82 00 18 */ beq lbl_802637C8 +/* 802637B4 00260714 81 83 00 00 */ lwz r12, 0(r3) +/* 802637B8 00260718 38 80 00 01 */ li r4, 1 +/* 802637BC 0026071C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802637C0 00260720 7D 89 03 A6 */ mtctr r12 +/* 802637C4 00260724 4E 80 04 21 */ bctrl +lbl_802637C8: +/* 802637C8 00260728 7F 80 07 75 */ extsb. r0, r28 +/* 802637CC 0026072C 93 BF 03 6C */ stw r29, 0x36c(r31) +/* 802637D0 00260730 41 82 00 10 */ beq lbl_802637E0 +/* 802637D4 00260734 38 61 00 10 */ addi r3, r1, 0x10 +/* 802637D8 00260738 38 80 00 00 */ li r4, 0 +/* 802637DC 0026073C 48 0D D6 65 */ bl __dt__6CTokenFv +lbl_802637E0: +/* 802637E0 00260740 80 BF 03 6C */ lwz r5, 0x36c(r31) +/* 802637E4 00260744 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802637E8 00260748 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802637EC 0026074C 3B 80 00 00 */ li r28, 0 +/* 802637F0 00260750 38 60 00 01 */ li r3, 1 +/* 802637F4 00260754 88 05 01 D0 */ lbz r0, 0x1d0(r5) +/* 802637F8 00260758 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802637FC 0026075C 98 05 01 D0 */ stb r0, 0x1d0(r5) +/* 80263800 00260760 38 60 02 10 */ li r3, 0x210 +/* 80263804 00260764 38 A0 00 00 */ li r5, 0 +/* 80263808 00260768 48 0B 20 65 */ bl __nw__FUlPCcPCc +/* 8026380C 0026076C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263810 00260770 41 82 00 28 */ beq lbl_80263838 +/* 80263814 00260774 38 61 00 08 */ addi r3, r1, 8 +/* 80263818 00260778 38 9F 03 4C */ addi r4, r31, 0x34c +/* 8026381C 0026077C 48 0D D6 8D */ bl __ct__6CTokenFRC6CToken +/* 80263820 00260780 7F A3 EB 78 */ mr r3, r29 +/* 80263824 00260784 38 81 00 08 */ addi r4, r1, 8 +/* 80263828 00260788 3B 80 00 01 */ li r28, 1 +/* 8026382C 0026078C 38 A0 00 00 */ li r5, 0 +/* 80263830 00260790 48 0C B5 B5 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 80263834 00260794 7C 7D 1B 78 */ mr r29, r3 +lbl_80263838: +/* 80263838 00260798 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 8026383C 0026079C 28 03 00 00 */ cmplwi r3, 0 +/* 80263840 002607A0 41 82 00 18 */ beq lbl_80263858 +/* 80263844 002607A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263848 002607A8 38 80 00 01 */ li r4, 1 +/* 8026384C 002607AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263850 002607B0 7D 89 03 A6 */ mtctr r12 +/* 80263854 002607B4 4E 80 04 21 */ bctrl +lbl_80263858: +/* 80263858 002607B8 7F 80 07 75 */ extsb. r0, r28 +/* 8026385C 002607BC 93 BF 03 70 */ stw r29, 0x370(r31) +/* 80263860 002607C0 41 82 00 10 */ beq lbl_80263870 +/* 80263864 002607C4 38 61 00 08 */ addi r3, r1, 8 +/* 80263868 002607C8 38 80 00 00 */ li r4, 0 +/* 8026386C 002607CC 48 0D D5 D5 */ bl __dt__6CTokenFv +lbl_80263870: +/* 80263870 002607D0 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 80263874 002607D4 38 80 00 01 */ li r4, 1 +/* 80263878 002607D8 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8026387C 002607DC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80263880 002607E0 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 80263884 002607E4 80 7F 03 58 */ lwz r3, 0x358(r31) +/* 80263888 002607E8 28 03 00 00 */ cmplwi r3, 0 +/* 8026388C 002607EC 41 82 00 34 */ beq lbl_802638C0 +/* 80263890 002607F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80263894 002607F4 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 80263898 002607F8 7D 89 03 A6 */ mtctr r12 +/* 8026389C 002607FC 4E 80 04 21 */ bctrl +/* 802638A0 00260800 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802638A4 00260804 41 82 00 1C */ beq lbl_802638C0 +/* 802638A8 00260808 80 1F 03 B8 */ lwz r0, 0x3b8(r31) +/* 802638AC 0026080C 2C 00 00 00 */ cmpwi r0, 0 +/* 802638B0 00260810 40 82 00 10 */ bne lbl_802638C0 +/* 802638B4 00260814 7F E3 FB 78 */ mr r3, r31 +/* 802638B8 00260818 7F C4 F3 78 */ mr r4, r30 +/* 802638BC 0026081C 4B FF E4 91 */ bl CreateLightObjects__16CNewFlameThrowerFR13CStateManager +lbl_802638C0: +/* 802638C0 00260820 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802638C4 00260824 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802638C8 00260828 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802638CC 0026082C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802638D0 00260830 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802638D4 00260834 7C 08 03 A6 */ mtlr r0 +/* 802638D8 00260838 38 21 00 50 */ addi r1, r1, 0x50 +/* 802638DC 0026083C 4E 80 00 20 */ blr + +.global Reset__16CFlameNewThrowerFR13CStateManagerb +Reset__16CFlameNewThrowerFR13CStateManagerb: +/* 802638E0 00260840 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802638E4 00260844 7C 08 02 A6 */ mflr r0 +/* 802638E8 00260848 90 01 00 14 */ stw r0, 0x14(r1) +/* 802638EC 0026084C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802638F0 00260850 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802638F4 00260854 7C 7F 1B 78 */ mr r31, r3 +/* 802638F8 00260858 41 82 00 3C */ beq lbl_80263934 +/* 802638FC 0026085C 38 A0 00 00 */ li r5, 0 +/* 80263900 00260860 4B FF E0 C1 */ bl sub_802619c0 +/* 80263904 00260864 7F E3 FB 78 */ mr r3, r31 +/* 80263908 00260868 38 80 00 00 */ li r4, 0 +/* 8026390C 0026086C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80263910 00260870 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80263914 00260874 7D 89 03 A6 */ mtctr r12 +/* 80263918 00260878 4E 80 04 21 */ bctrl +/* 8026391C 0026087C 38 00 00 00 */ li r0, 0 +/* 80263920 00260880 C0 02 BA 6C */ lfs f0, lbl_805AD78C@sda21(r2) +/* 80263924 00260884 90 1F 03 74 */ stw r0, 0x374(r31) +/* 80263928 00260888 D0 1F 02 EC */ stfs f0, 0x2ec(r31) +/* 8026392C 0026088C D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 80263930 00260890 48 00 00 0C */ b lbl_8026393C +lbl_80263934: +/* 80263934 00260894 38 00 00 03 */ li r0, 3 +/* 80263938 00260898 90 1F 03 74 */ stw r0, 0x374(r31) +lbl_8026393C: +/* 8026393C 0026089C 88 1F 03 7C */ lbz r0, 0x37c(r31) +/* 80263940 002608A0 38 60 00 00 */ li r3, 0 +/* 80263944 002608A4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80263948 002608A8 38 80 00 00 */ li r4, 0 +/* 8026394C 002608AC 98 1F 03 7C */ stb r0, 0x37c(r31) +/* 80263950 002608B0 80 7F 03 58 */ lwz r3, 0x358(r31) +/* 80263954 002608B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263958 002608B8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8026395C 002608BC 7D 89 03 A6 */ mtctr r12 +/* 80263960 002608C0 4E 80 04 21 */ bctrl +/* 80263964 002608C4 80 7F 03 5C */ lwz r3, 0x35c(r31) +/* 80263968 002608C8 38 80 00 00 */ li r4, 0 +/* 8026396C 002608CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80263970 002608D0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80263974 002608D4 7D 89 03 A6 */ mtctr r12 +/* 80263978 002608D8 4E 80 04 21 */ bctrl +/* 8026397C 002608DC 80 7F 03 6C */ lwz r3, 0x36c(r31) +/* 80263980 002608E0 38 80 00 00 */ li r4, 0 +/* 80263984 002608E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263988 002608E8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8026398C 002608EC 7D 89 03 A6 */ mtctr r12 +/* 80263990 002608F0 4E 80 04 21 */ bctrl +/* 80263994 002608F4 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 80263998 002608F8 38 80 00 00 */ li r4, 0 +/* 8026399C 002608FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802639A0 00260900 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802639A4 00260904 7D 89 03 A6 */ mtctr r12 +/* 802639A8 00260908 4E 80 04 21 */ bctrl +/* 802639AC 0026090C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802639B0 00260910 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802639B4 00260914 7C 08 03 A6 */ mtlr r0 +/* 802639B8 00260918 38 21 00 10 */ addi r1, r1, 0x10 +/* 802639BC 0026091C 4E 80 00 20 */ blr + +.global StartFiring__16CNewFlameThrowerFRC12CTransform4fRC13CStateManager +StartFiring__16CNewFlameThrowerFRC12CTransform4fRC13CStateManager: +/* 802639C0 00260920 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802639C4 00260924 7C 08 02 A6 */ mflr r0 +/* 802639C8 00260928 38 80 00 01 */ li r4, 1 +/* 802639CC 0026092C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802639D0 00260930 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802639D4 00260934 7C BF 2B 78 */ mr r31, r5 +/* 802639D8 00260938 93 C1 00 08 */ stw r30, 8(r1) +/* 802639DC 0026093C 7C 7E 1B 78 */ mr r30, r3 +/* 802639E0 00260940 81 83 00 00 */ lwz r12, 0(r3) +/* 802639E4 00260944 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802639E8 00260948 7D 89 03 A6 */ mtctr r12 +/* 802639EC 0026094C 4E 80 04 21 */ bctrl +/* 802639F0 00260950 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 802639F4 00260954 38 A0 00 01 */ li r5, 1 +/* 802639F8 00260958 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802639FC 0026095C 7F C3 F3 78 */ mr r3, r30 +/* 80263A00 00260960 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80263A04 00260964 7F E4 FB 78 */ mr r4, r31 +/* 80263A08 00260968 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80263A0C 0026096C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80263A10 00260970 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80263A14 00260974 90 BE 03 74 */ stw r5, 0x374(r30) +/* 80263A18 00260978 4B FF FA A5 */ bl EnableFx__16CNewFlameThrowerFRC13CStateManager +/* 80263A1C 0026097C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80263A20 00260980 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80263A24 00260984 83 C1 00 08 */ lwz r30, 8(r1) +/* 80263A28 00260988 7C 08 03 A6 */ mtlr r0 +/* 80263A2C 0026098C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80263A30 00260990 4E 80 00 20 */ blr + +.global Render__16CNewFlameThrowerCFRC13CStateManager +Render__16CNewFlameThrowerCFRC13CStateManager: +/* 80263A34 00260994 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80263A38 00260998 7C 08 02 A6 */ mflr r0 +/* 80263A3C 0026099C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80263A40 002609A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80263A44 002609A4 7C 7F 1B 78 */ mr r31, r3 +/* 80263A48 002609A8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80263A4C 002609AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80263A50 002609B0 41 82 00 60 */ beq lbl_80263AB0 +/* 80263A54 002609B4 80 7F 03 6C */ lwz r3, 0x36c(r31) +/* 80263A58 002609B8 81 83 00 00 */ lwz r12, 0(r3) +/* 80263A5C 002609BC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80263A60 002609C0 7D 89 03 A6 */ mtctr r12 +/* 80263A64 002609C4 4E 80 04 21 */ bctrl +/* 80263A68 002609C8 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 80263A6C 002609CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80263A70 002609D0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80263A74 002609D4 7D 89 03 A6 */ mtctr r12 +/* 80263A78 002609D8 4E 80 04 21 */ bctrl +/* 80263A7C 002609DC 81 1F 03 58 */ lwz r8, 0x358(r31) +/* 80263A80 002609E0 38 61 00 08 */ addi r3, r1, 8 +/* 80263A84 002609E4 80 FF 03 5C */ lwz r7, 0x35c(r31) +/* 80263A88 002609E8 38 80 00 05 */ li r4, 5 +/* 80263A8C 002609EC 80 DF 03 60 */ lwz r6, 0x360(r31) +/* 80263A90 002609F0 80 BF 03 64 */ lwz r5, 0x364(r31) +/* 80263A94 002609F4 80 1F 03 68 */ lwz r0, 0x368(r31) +/* 80263A98 002609F8 91 01 00 08 */ stw r8, 8(r1) +/* 80263A9C 002609FC 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80263AA0 00260A00 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80263AA4 00260A04 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80263AA8 00260A08 90 01 00 18 */ stw r0, 0x18(r1) +/* 80263AAC 00260A0C 48 0B 63 91 */ bl sub_80319e3c +lbl_80263AB0: +/* 80263AB0 00260A10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80263AB4 00260A14 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80263AB8 00260A18 7C 08 03 A6 */ mtlr r0 +/* 80263ABC 00260A1C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80263AC0 00260A20 4E 80 00 20 */ blr + +.global AddToRenderer__16CNewFlameThrowerCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__16CNewFlameThrowerCFRC14CFrustumPlanesRC13CStateManager: +/* 80263AC4 00260A24 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80263AC8 00260A28 7C 08 02 A6 */ mflr r0 +/* 80263ACC 00260A2C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80263AD0 00260A30 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80263AD4 00260A34 7C BF 2B 78 */ mr r31, r5 +/* 80263AD8 00260A38 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80263ADC 00260A3C 7C 7E 1B 78 */ mr r30, r3 +/* 80263AE0 00260A40 7F C4 F3 78 */ mr r4, r30 +/* 80263AE4 00260A44 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80263AE8 00260A48 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80263AEC 00260A4C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80263AF0 00260A50 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80263AF4 00260A54 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80263AF8 00260A58 D0 01 00 08 */ stfs f0, 8(r1) +/* 80263AFC 00260A5C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80263B00 00260A60 81 9E 00 00 */ lwz r12, 0(r30) +/* 80263B04 00260A64 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 80263B08 00260A68 7D 89 03 A6 */ mtctr r12 +/* 80263B0C 00260A6C 4E 80 04 21 */ bctrl +/* 80263B10 00260A70 7F C3 F3 78 */ mr r3, r30 +/* 80263B14 00260A74 7F E4 FB 78 */ mr r4, r31 +/* 80263B18 00260A78 38 A1 00 08 */ addi r5, r1, 8 +/* 80263B1C 00260A7C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80263B20 00260A80 4B DF 0F 89 */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f +/* 80263B24 00260A84 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80263B28 00260A88 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80263B2C 00260A8C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80263B30 00260A90 7C 08 03 A6 */ mtlr r0 +/* 80263B34 00260A94 38 21 00 40 */ addi r1, r1, 0x40 +/* 80263B38 00260A98 4E 80 00 20 */ blr + +.global UpdateFx__16CNewFlameThrowerFRC12CTransform4ffR13CStateManager +UpdateFx__16CNewFlameThrowerFRC12CTransform4ffR13CStateManager: +/* 80263B3C 00260A9C 94 21 FD 10 */ stwu r1, -0x2f0(r1) +/* 80263B40 00260AA0 7C 08 02 A6 */ mflr r0 +/* 80263B44 00260AA4 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 80263B48 00260AA8 DB E1 02 E0 */ stfd f31, 0x2e0(r1) +/* 80263B4C 00260AAC F3 E1 02 E8 */ psq_st f31, 744(r1), 0, qr0 +/* 80263B50 00260AB0 BF 61 02 CC */ stmw r27, 0x2cc(r1) +/* 80263B54 00260AB4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80263B58 00260AB8 FF E0 08 90 */ fmr f31, f1 +/* 80263B5C 00260ABC 7C 7C 1B 78 */ mr r28, r3 +/* 80263B60 00260AC0 7C 9B 23 78 */ mr r27, r4 +/* 80263B64 00260AC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80263B68 00260AC8 7C BD 2B 78 */ mr r29, r5 +/* 80263B6C 00260ACC 41 82 06 44 */ beq lbl_802641B0 +/* 80263B70 00260AD0 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) +/* 80263B74 00260AD4 C0 02 BA 88 */ lfs f0, lbl_805AD7A8@sda21(r2) +/* 80263B78 00260AD8 C0 64 01 18 */ lfs f3, 0x118(r4) +/* 80263B7C 00260ADC C0 44 01 1C */ lfs f2, 0x11c(r4) +/* 80263B80 00260AE0 EC 42 18 2A */ fadds f2, f2, f3 +/* 80263B84 00260AE4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80263B88 00260AE8 7C 80 00 26 */ mfcr r4 +/* 80263B8C 00260AEC 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80263B90 00260AF0 54 85 17 FE */ rlwinm r5, r4, 2, 0x1f, 0x1f +/* 80263B94 00260AF4 7F A4 EB 78 */ mr r4, r29 +/* 80263B98 00260AF8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80263B9C 00260AFC 98 1C 03 7C */ stb r0, 0x37c(r28) +/* 80263BA0 00260B00 48 00 06 2D */ bl sub_802641cc +/* 80263BA4 00260B04 C0 5B 00 2C */ lfs f2, 0x2c(r27) +/* 80263BA8 00260B08 7F 64 DB 78 */ mr r4, r27 +/* 80263BAC 00260B0C C0 3B 00 1C */ lfs f1, 0x1c(r27) +/* 80263BB0 00260B10 38 61 00 54 */ addi r3, r1, 0x54 +/* 80263BB4 00260B14 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 80263BB8 00260B18 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80263BBC 00260B1C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80263BC0 00260B20 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80263BC4 00260B24 48 0A F0 7D */ bl GetRotation__12CTransform4fCFv +/* 80263BC8 00260B28 38 61 00 84 */ addi r3, r1, 0x84 +/* 80263BCC 00260B2C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80263BD0 00260B30 48 0A EF A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80263BD4 00260B34 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263BD8 00260B38 38 81 00 48 */ addi r4, r1, 0x48 +/* 80263BDC 00260B3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80263BE0 00260B40 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80263BE4 00260B44 7D 89 03 A6 */ mtctr r12 +/* 80263BE8 00260B48 4E 80 04 21 */ bctrl +/* 80263BEC 00260B4C 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263BF0 00260B50 38 81 00 84 */ addi r4, r1, 0x84 +/* 80263BF4 00260B54 81 83 00 00 */ lwz r12, 0(r3) +/* 80263BF8 00260B58 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263BFC 00260B5C 7D 89 03 A6 */ mtctr r12 +/* 80263C00 00260B60 4E 80 04 21 */ bctrl +/* 80263C04 00260B64 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263C08 00260B68 38 81 00 48 */ addi r4, r1, 0x48 +/* 80263C0C 00260B6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C10 00260B70 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80263C14 00260B74 7D 89 03 A6 */ mtctr r12 +/* 80263C18 00260B78 4E 80 04 21 */ bctrl +/* 80263C1C 00260B7C 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263C20 00260B80 38 81 00 84 */ addi r4, r1, 0x84 +/* 80263C24 00260B84 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C28 00260B88 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263C2C 00260B8C 7D 89 03 A6 */ mtctr r12 +/* 80263C30 00260B90 4E 80 04 21 */ bctrl +/* 80263C34 00260B94 80 7C 03 70 */ lwz r3, 0x370(r28) +/* 80263C38 00260B98 38 81 00 48 */ addi r4, r1, 0x48 +/* 80263C3C 00260B9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C40 00260BA0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80263C44 00260BA4 7D 89 03 A6 */ mtctr r12 +/* 80263C48 00260BA8 4E 80 04 21 */ bctrl +/* 80263C4C 00260BAC 80 7C 03 70 */ lwz r3, 0x370(r28) +/* 80263C50 00260BB0 38 81 00 84 */ addi r4, r1, 0x84 +/* 80263C54 00260BB4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C58 00260BB8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263C5C 00260BBC 7D 89 03 A6 */ mtctr r12 +/* 80263C60 00260BC0 4E 80 04 21 */ bctrl +/* 80263C64 00260BC4 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80263C68 00260BC8 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263C6C 00260BCC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80263C70 00260BD0 41 82 00 0C */ beq lbl_80263C7C +/* 80263C74 00260BD4 C0 22 BA 7C */ lfs f1, lbl_805AD79C@sda21(r2) +/* 80263C78 00260BD8 48 00 00 08 */ b lbl_80263C80 +lbl_80263C7C: +/* 80263C7C 00260BDC C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) +lbl_80263C80: +/* 80263C80 00260BE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C84 00260BE4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80263C88 00260BE8 7D 89 03 A6 */ mtctr r12 +/* 80263C8C 00260BEC 4E 80 04 21 */ bctrl +/* 80263C90 00260BF0 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263C94 00260BF4 FC 20 F8 90 */ fmr f1, f31 +/* 80263C98 00260BF8 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C9C 00260BFC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CA0 00260C00 7D 89 03 A6 */ mtctr r12 +/* 80263CA4 00260C04 4E 80 04 21 */ bctrl +/* 80263CA8 00260C08 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80263CAC 00260C0C FC 20 F8 90 */ fmr f1, f31 +/* 80263CB0 00260C10 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CB4 00260C14 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CB8 00260C18 7D 89 03 A6 */ mtctr r12 +/* 80263CBC 00260C1C 4E 80 04 21 */ bctrl +/* 80263CC0 00260C20 80 7C 03 60 */ lwz r3, 0x360(r28) +/* 80263CC4 00260C24 FC 20 F8 90 */ fmr f1, f31 +/* 80263CC8 00260C28 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CCC 00260C2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CD0 00260C30 7D 89 03 A6 */ mtctr r12 +/* 80263CD4 00260C34 4E 80 04 21 */ bctrl +/* 80263CD8 00260C38 80 7C 03 64 */ lwz r3, 0x364(r28) +/* 80263CDC 00260C3C FC 20 F8 90 */ fmr f1, f31 +/* 80263CE0 00260C40 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CE4 00260C44 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CE8 00260C48 7D 89 03 A6 */ mtctr r12 +/* 80263CEC 00260C4C 4E 80 04 21 */ bctrl +/* 80263CF0 00260C50 80 7C 03 68 */ lwz r3, 0x368(r28) +/* 80263CF4 00260C54 FC 20 F8 90 */ fmr f1, f31 +/* 80263CF8 00260C58 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CFC 00260C5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263D00 00260C60 7D 89 03 A6 */ mtctr r12 +/* 80263D04 00260C64 4E 80 04 21 */ bctrl +/* 80263D08 00260C68 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263D0C 00260C6C FC 20 F8 90 */ fmr f1, f31 +/* 80263D10 00260C70 81 83 00 00 */ lwz r12, 0(r3) +/* 80263D14 00260C74 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263D18 00260C78 7D 89 03 A6 */ mtctr r12 +/* 80263D1C 00260C7C 4E 80 04 21 */ bctrl +/* 80263D20 00260C80 80 7C 03 70 */ lwz r3, 0x370(r28) +/* 80263D24 00260C84 FC 20 F8 90 */ fmr f1, f31 +/* 80263D28 00260C88 81 83 00 00 */ lwz r12, 0(r3) +/* 80263D2C 00260C8C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263D30 00260C90 7D 89 03 A6 */ mtctr r12 +/* 80263D34 00260C94 4E 80 04 21 */ bctrl +/* 80263D38 00260C98 38 00 00 00 */ li r0, 0 +/* 80263D3C 00260C9C FC 20 F8 90 */ fmr f1, f31 +/* 80263D40 00260CA0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80263D44 00260CA4 7F 83 E3 78 */ mr r3, r28 +/* 80263D48 00260CA8 7F A4 EB 78 */ mr r4, r29 +/* 80263D4C 00260CAC 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 80263D50 00260CB0 4B FF E5 31 */ bl sub_80262280 +/* 80263D54 00260CB4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263D58 00260CB8 2C 00 00 00 */ cmpwi r0, 0 +/* 80263D5C 00260CBC 40 81 02 2C */ ble lbl_80263F88 +/* 80263D60 00260CC0 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263D64 00260CC4 3B E1 00 B8 */ addi r31, r1, 0xb8 +/* 80263D68 00260CC8 38 E0 00 00 */ li r7, 0 +/* 80263D6C 00260CCC 38 C0 00 00 */ li r6, 0 +/* 80263D70 00260CD0 48 00 00 9C */ b lbl_80263E0C +lbl_80263D74: +/* 80263D74 00260CD4 80 03 01 68 */ lwz r0, 0x168(r3) +/* 80263D78 00260CD8 7C 80 32 14 */ add r4, r0, r6 +/* 80263D7C 00260CDC 88 04 00 00 */ lbz r0, 0(r4) +/* 80263D80 00260CE0 28 00 00 00 */ cmplwi r0, 0 +/* 80263D84 00260CE4 41 82 00 80 */ beq lbl_80263E04 +/* 80263D88 00260CE8 7F E5 FB 78 */ mr r5, r31 +/* 80263D8C 00260CEC 39 00 00 00 */ li r8, 0 +/* 80263D90 00260CF0 48 00 00 68 */ b lbl_80263DF8 +lbl_80263D94: +/* 80263D94 00260CF4 C0 45 00 04 */ lfs f2, 4(r5) +/* 80263D98 00260CF8 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80263D9C 00260CFC C0 25 00 00 */ lfs f1, 0(r5) +/* 80263DA0 00260D00 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80263DA4 00260D04 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80263DA8 00260D08 C0 65 00 08 */ lfs f3, 8(r5) +/* 80263DAC 00260D0C EC 41 00 28 */ fsubs f2, f1, f0 +/* 80263DB0 00260D10 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80263DB4 00260D14 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80263DB8 00260D18 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80263DBC 00260D1C C0 A5 00 0C */ lfs f5, 0xc(r5) +/* 80263DC0 00260D20 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80263DC4 00260D24 EC A5 01 72 */ fmuls f5, f5, f5 +/* 80263DC8 00260D28 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80263DCC 00260D2C EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80263DD0 00260D30 EC 01 00 2A */ fadds f0, f1, f0 +/* 80263DD4 00260D34 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80263DD8 00260D38 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80263DDC 00260D3C EC 02 00 2A */ fadds f0, f2, f0 +/* 80263DE0 00260D40 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80263DE4 00260D44 40 80 00 0C */ bge lbl_80263DF0 +/* 80263DE8 00260D48 38 00 00 00 */ li r0, 0 +/* 80263DEC 00260D4C 98 04 00 00 */ stb r0, 0(r4) +lbl_80263DF0: +/* 80263DF0 00260D50 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80263DF4 00260D54 39 08 00 01 */ addi r8, r8, 1 +lbl_80263DF8: +/* 80263DF8 00260D58 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263DFC 00260D5C 7C 08 00 00 */ cmpw r8, r0 +/* 80263E00 00260D60 41 80 FF 94 */ blt lbl_80263D94 +lbl_80263E04: +/* 80263E04 00260D64 38 C6 00 80 */ addi r6, r6, 0x80 +/* 80263E08 00260D68 38 E7 00 01 */ addi r7, r7, 1 +lbl_80263E0C: +/* 80263E0C 00260D6C 80 03 01 60 */ lwz r0, 0x160(r3) +/* 80263E10 00260D70 7C 07 00 00 */ cmpw r7, r0 +/* 80263E14 00260D74 41 80 FF 60 */ blt lbl_80263D74 +/* 80263E18 00260D78 3B 60 00 00 */ li r27, 0 +/* 80263E1C 00260D7C 3B C0 00 00 */ li r30, 0 +/* 80263E20 00260D80 48 00 00 94 */ b lbl_80263EB4 +lbl_80263E24: +/* 80263E24 00260D84 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263E28 00260D88 7F E4 FB 78 */ mr r4, r31 +/* 80263E2C 00260D8C 38 A0 00 00 */ li r5, 0 +/* 80263E30 00260D90 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80263E34 00260D94 7C 60 F2 14 */ add r3, r0, r30 +/* 80263E38 00260D98 48 00 00 68 */ b lbl_80263EA0 +lbl_80263E3C: +/* 80263E3C 00260D9C C0 44 00 04 */ lfs f2, 4(r4) +/* 80263E40 00260DA0 C0 03 00 08 */ lfs f0, 8(r3) +/* 80263E44 00260DA4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80263E48 00260DA8 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80263E4C 00260DAC C0 03 00 04 */ lfs f0, 4(r3) +/* 80263E50 00260DB0 C0 64 00 08 */ lfs f3, 8(r4) +/* 80263E54 00260DB4 EC 41 00 28 */ fsubs f2, f1, f0 +/* 80263E58 00260DB8 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80263E5C 00260DBC EC 04 01 32 */ fmuls f0, f4, f4 +/* 80263E60 00260DC0 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80263E64 00260DC4 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80263E68 00260DC8 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80263E6C 00260DCC EC A5 01 72 */ fmuls f5, f5, f5 +/* 80263E70 00260DD0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80263E74 00260DD4 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80263E78 00260DD8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80263E7C 00260DDC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80263E80 00260DE0 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80263E84 00260DE4 EC 02 00 2A */ fadds f0, f2, f0 +/* 80263E88 00260DE8 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80263E8C 00260DEC 40 80 00 0C */ bge lbl_80263E98 +/* 80263E90 00260DF0 38 00 FF FF */ li r0, -1 +/* 80263E94 00260DF4 90 03 00 00 */ stw r0, 0(r3) +lbl_80263E98: +/* 80263E98 00260DF8 38 84 00 10 */ addi r4, r4, 0x10 +/* 80263E9C 00260DFC 38 A5 00 01 */ addi r5, r5, 1 +lbl_80263EA0: +/* 80263EA0 00260E00 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263EA4 00260E04 7C 05 00 00 */ cmpw r5, r0 +/* 80263EA8 00260E08 41 80 FF 94 */ blt lbl_80263E3C +/* 80263EAC 00260E0C 3B 7B 00 01 */ addi r27, r27, 1 +/* 80263EB0 00260E10 3B DE 00 38 */ addi r30, r30, 0x38 +lbl_80263EB4: +/* 80263EB4 00260E14 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263EB8 00260E18 81 83 00 00 */ lwz r12, 0(r3) +/* 80263EBC 00260E1C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80263EC0 00260E20 7D 89 03 A6 */ mtctr r12 +/* 80263EC4 00260E24 4E 80 04 21 */ bctrl +/* 80263EC8 00260E28 7C 1B 18 00 */ cmpw r27, r3 +/* 80263ECC 00260E2C 41 80 FF 58 */ blt lbl_80263E24 +/* 80263ED0 00260E30 3B 60 00 00 */ li r27, 0 +/* 80263ED4 00260E34 3B C0 00 00 */ li r30, 0 +/* 80263ED8 00260E38 48 00 00 94 */ b lbl_80263F6C +lbl_80263EDC: +/* 80263EDC 00260E3C 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80263EE0 00260E40 7F E4 FB 78 */ mr r4, r31 +/* 80263EE4 00260E44 38 A0 00 00 */ li r5, 0 +/* 80263EE8 00260E48 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80263EEC 00260E4C 7C 60 F2 14 */ add r3, r0, r30 +/* 80263EF0 00260E50 48 00 00 68 */ b lbl_80263F58 +lbl_80263EF4: +/* 80263EF4 00260E54 C0 44 00 04 */ lfs f2, 4(r4) +/* 80263EF8 00260E58 C0 03 00 08 */ lfs f0, 8(r3) +/* 80263EFC 00260E5C C0 24 00 00 */ lfs f1, 0(r4) +/* 80263F00 00260E60 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80263F04 00260E64 C0 03 00 04 */ lfs f0, 4(r3) +/* 80263F08 00260E68 C0 64 00 08 */ lfs f3, 8(r4) +/* 80263F0C 00260E6C EC 41 00 28 */ fsubs f2, f1, f0 +/* 80263F10 00260E70 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80263F14 00260E74 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80263F18 00260E78 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80263F1C 00260E7C C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80263F20 00260E80 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80263F24 00260E84 EC A5 01 72 */ fmuls f5, f5, f5 +/* 80263F28 00260E88 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80263F2C 00260E8C EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80263F30 00260E90 EC 01 00 2A */ fadds f0, f1, f0 +/* 80263F34 00260E94 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80263F38 00260E98 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80263F3C 00260E9C EC 02 00 2A */ fadds f0, f2, f0 +/* 80263F40 00260EA0 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80263F44 00260EA4 40 80 00 0C */ bge lbl_80263F50 +/* 80263F48 00260EA8 38 00 FF FF */ li r0, -1 +/* 80263F4C 00260EAC 90 03 00 00 */ stw r0, 0(r3) +lbl_80263F50: +/* 80263F50 00260EB0 38 84 00 10 */ addi r4, r4, 0x10 +/* 80263F54 00260EB4 38 A5 00 01 */ addi r5, r5, 1 +lbl_80263F58: +/* 80263F58 00260EB8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263F5C 00260EBC 7C 05 00 00 */ cmpw r5, r0 +/* 80263F60 00260EC0 41 80 FF 94 */ blt lbl_80263EF4 +/* 80263F64 00260EC4 3B 7B 00 01 */ addi r27, r27, 1 +/* 80263F68 00260EC8 3B DE 00 38 */ addi r30, r30, 0x38 +lbl_80263F6C: +/* 80263F6C 00260ECC 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80263F70 00260ED0 81 83 00 00 */ lwz r12, 0(r3) +/* 80263F74 00260ED4 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80263F78 00260ED8 7D 89 03 A6 */ mtctr r12 +/* 80263F7C 00260EDC 4E 80 04 21 */ bctrl +/* 80263F80 00260EE0 7C 1B 18 00 */ cmpw r27, r3 +/* 80263F84 00260EE4 41 80 FF 58 */ blt lbl_80263EDC +lbl_80263F88: +/* 80263F88 00260EE8 80 1C 03 74 */ lwz r0, 0x374(r28) +/* 80263F8C 00260EEC 2C 00 00 02 */ cmpwi r0, 2 +/* 80263F90 00260EF0 40 82 01 C0 */ bne lbl_80264150 +/* 80263F94 00260EF4 80 9C 03 6C */ lwz r4, 0x36c(r28) +/* 80263F98 00260EF8 80 A4 01 60 */ lwz r5, 0x160(r4) +/* 80263F9C 00260EFC 80 04 01 64 */ lwz r0, 0x164(r4) +/* 80263FA0 00260F00 7C 05 00 50 */ subf r0, r5, r0 +/* 80263FA4 00260F04 2C 00 00 04 */ cmpwi r0, 4 +/* 80263FA8 00260F08 40 80 01 A8 */ bge lbl_80264150 +/* 80263FAC 00260F0C 54 A3 0F FE */ srwi r3, r5, 0x1f +/* 80263FB0 00260F10 80 04 01 58 */ lwz r0, 0x158(r4) +/* 80263FB4 00260F14 7C 63 2A 14 */ add r3, r3, r5 +/* 80263FB8 00260F18 80 C4 01 68 */ lwz r6, 0x168(r4) +/* 80263FBC 00260F1C 7C 63 0E 70 */ srawi r3, r3, 1 +/* 80263FC0 00260F20 1C 83 00 03 */ mulli r4, r3, 3 +/* 80263FC4 00260F24 54 83 0F FE */ srwi r3, r4, 0x1f +/* 80263FC8 00260F28 7C 63 22 14 */ add r3, r3, r4 +/* 80263FCC 00260F2C 7C 63 0E 70 */ srawi r3, r3, 1 +/* 80263FD0 00260F30 7C 63 02 14 */ add r3, r3, r0 +/* 80263FD4 00260F34 7C 03 2B D6 */ divw r0, r3, r5 +/* 80263FD8 00260F38 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80263FDC 00260F3C 7C 80 18 50 */ subf r4, r0, r3 +/* 80263FE0 00260F40 54 80 38 30 */ slwi r0, r4, 7 +/* 80263FE4 00260F44 7C 66 02 14 */ add r3, r6, r0 +/* 80263FE8 00260F48 88 03 00 00 */ lbz r0, 0(r3) +/* 80263FEC 00260F4C 28 00 00 00 */ cmplwi r0, 0 +/* 80263FF0 00260F50 41 82 01 60 */ beq lbl_80264150 +/* 80263FF4 00260F54 38 84 00 01 */ addi r4, r4, 1 +/* 80263FF8 00260F58 3B E3 00 0C */ addi r31, r3, 0xc +/* 80263FFC 00260F5C 7C 04 2B D6 */ divw r0, r4, r5 +/* 80264000 00260F60 C0 A3 00 10 */ lfs f5, 0x10(r3) +/* 80264004 00260F64 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 80264008 00260F68 3B C3 00 38 */ addi r30, r3, 0x38 +/* 8026400C 00260F6C C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80264010 00260F70 38 61 00 3C */ addi r3, r1, 0x3c +/* 80264014 00260F74 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80264018 00260F78 7C 00 20 50 */ subf r0, r0, r4 +/* 8026401C 00260F7C 54 04 38 30 */ slwi r4, r0, 7 +/* 80264020 00260F80 38 84 00 0C */ addi r4, r4, 0xc +/* 80264024 00260F84 7C 86 22 14 */ add r4, r6, r4 +/* 80264028 00260F88 C0 84 00 04 */ lfs f4, 4(r4) +/* 8026402C 00260F8C C0 44 00 08 */ lfs f2, 8(r4) +/* 80264030 00260F90 C0 04 00 00 */ lfs f0, 0(r4) +/* 80264034 00260F94 EC A5 20 28 */ fsubs f5, f5, f4 +/* 80264038 00260F98 EC 83 10 28 */ fsubs f4, f3, f2 +/* 8026403C 00260F9C EC 61 00 28 */ fsubs f3, f1, f0 +/* 80264040 00260FA0 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 80264044 00260FA4 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 80264048 00260FA8 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 8026404C 00260FAC C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 80264050 00260FB0 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80264054 00260FB4 EC 05 00 72 */ fmuls f0, f5, f1 +/* 80264058 00260FB8 C0 DE 00 24 */ lfs f6, 0x24(r30) +/* 8026405C 00260FBC EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80264060 00260FC0 EC 04 01 BA */ fmadds f0, f4, f6, f0 +/* 80264064 00260FC4 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 80264068 00260FC8 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8026406C 00260FCC EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80264070 00260FD0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80264074 00260FD4 EC 25 08 28 */ fsubs f1, f5, f1 +/* 80264078 00260FD8 EC 04 00 28 */ fsubs f0, f4, f0 +/* 8026407C 00260FDC D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80264080 00260FE0 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80264084 00260FE4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80264088 00260FE8 48 0B 08 31 */ bl Magnitude__9CVector3fCFv +/* 8026408C 00260FEC 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80264090 00260FF0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80264094 00260FF4 41 82 00 0C */ beq lbl_802640A0 +/* 80264098 00260FF8 C0 62 BA 8C */ lfs f3, lbl_805AD7AC@sda21(r2) +/* 8026409C 00260FFC 48 00 00 08 */ b lbl_802640A4 +lbl_802640A0: +/* 802640A0 00261000 C0 62 BA 84 */ lfs f3, lbl_805AD7A4@sda21(r2) +lbl_802640A4: +/* 802640A4 00261004 C0 42 BA 90 */ lfs f2, lbl_805AD7B0@sda21(r2) +/* 802640A8 00261008 C0 0D 98 0C */ lfs f0, lbl_805A83CC@sda21(r13) +/* 802640AC 0026100C EC 22 00 72 */ fmuls f1, f2, f1 +/* 802640B0 00261010 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802640B4 00261014 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802640B8 00261018 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802640BC 0026101C 40 80 00 0C */ bge lbl_802640C8 +/* 802640C0 00261020 38 61 00 0C */ addi r3, r1, 0xc +/* 802640C4 00261024 48 00 00 08 */ b lbl_802640CC +lbl_802640C8: +/* 802640C8 00261028 38 6D 98 0C */ addi r3, r13, lbl_805A83CC@sda21 +lbl_802640CC: +/* 802640CC 0026102C C0 03 00 00 */ lfs f0, 0(r3) +/* 802640D0 00261030 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802640D4 00261034 40 80 00 08 */ bge lbl_802640DC +/* 802640D8 00261038 38 61 00 14 */ addi r3, r1, 0x14 +lbl_802640DC: +/* 802640DC 0026103C C0 03 00 00 */ lfs f0, 0(r3) +/* 802640E0 00261040 38 61 00 08 */ addi r3, r1, 8 +/* 802640E4 00261044 FC 00 00 1E */ fctiwz f0, f0 +/* 802640E8 00261048 D8 01 02 B8 */ stfd f0, 0x2b8(r1) +/* 802640EC 0026104C 80 A1 02 BC */ lwz r5, 0x2bc(r1) +/* 802640F0 00261050 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802640F4 00261054 80 9C 03 B4 */ lwz r4, 0x3b4(r28) +/* 802640F8 00261058 38 04 FF FF */ addi r0, r4, -1 +/* 802640FC 0026105C 7C 00 28 00 */ cmpw r0, r5 +/* 80264100 00261060 90 01 00 08 */ stw r0, 8(r1) +/* 80264104 00261064 40 80 00 08 */ bge lbl_8026410C +/* 80264108 00261068 38 61 00 10 */ addi r3, r1, 0x10 +lbl_8026410C: +/* 8026410C 0026106C 80 03 00 00 */ lwz r0, 0(r3) +/* 80264110 00261070 7F E4 FB 78 */ mr r4, r31 +/* 80264114 00261074 90 1C 03 B4 */ stw r0, 0x3b4(r28) +/* 80264118 00261078 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 8026411C 0026107C 81 83 00 00 */ lwz r12, 0(r3) +/* 80264120 00261080 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80264124 00261084 7D 89 03 A6 */ mtctr r12 +/* 80264128 00261088 4E 80 04 21 */ bctrl +/* 8026412C 0026108C 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80264130 00261090 7F C4 F3 78 */ mr r4, r30 +/* 80264134 00261094 81 83 00 00 */ lwz r12, 0(r3) +/* 80264138 00261098 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8026413C 0026109C 7D 89 03 A6 */ mtctr r12 +/* 80264140 002610A0 4E 80 04 21 */ bctrl +/* 80264144 002610A4 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80264148 002610A8 80 9C 03 B4 */ lwz r4, 0x3b4(r28) +/* 8026414C 002610AC 48 0B 87 75 */ bl ForceParticleCreation__11CElementGenFi +lbl_80264150: +/* 80264150 002610B0 7F 83 E3 78 */ mr r3, r28 +/* 80264154 002610B4 7F A4 EB 78 */ mr r4, r29 +/* 80264158 002610B8 4B FF D9 C1 */ bl sub_80261b18 +/* 8026415C 002610BC 80 A1 00 B4 */ lwz r5, 0xb4(r1) +/* 80264160 002610C0 38 60 00 00 */ li r3, 0 +/* 80264164 002610C4 2C 05 00 00 */ cmpwi r5, 0 +/* 80264168 002610C8 40 81 00 40 */ ble lbl_802641A8 +/* 8026416C 002610CC 2C 05 00 08 */ cmpwi r5, 8 +/* 80264170 002610D0 38 85 FF F8 */ addi r4, r5, -8 +/* 80264174 002610D4 40 81 00 20 */ ble lbl_80264194 +/* 80264178 002610D8 38 04 00 07 */ addi r0, r4, 7 +/* 8026417C 002610DC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80264180 002610E0 7C 09 03 A6 */ mtctr r0 +/* 80264184 002610E4 2C 04 00 00 */ cmpwi r4, 0 +/* 80264188 002610E8 40 81 00 0C */ ble lbl_80264194 +lbl_8026418C: +/* 8026418C 002610EC 38 63 00 08 */ addi r3, r3, 8 +/* 80264190 002610F0 42 00 FF FC */ bdnz lbl_8026418C +lbl_80264194: +/* 80264194 002610F4 7C 03 28 50 */ subf r0, r3, r5 +/* 80264198 002610F8 7C 09 03 A6 */ mtctr r0 +/* 8026419C 002610FC 7C 03 28 00 */ cmpw r3, r5 +/* 802641A0 00261100 40 80 00 08 */ bge lbl_802641A8 +lbl_802641A4: +/* 802641A4 00261104 42 00 00 00 */ bdnz lbl_802641A4 +lbl_802641A8: +/* 802641A8 00261108 38 00 00 00 */ li r0, 0 +/* 802641AC 0026110C 90 01 00 B4 */ stw r0, 0xb4(r1) +lbl_802641B0: +/* 802641B0 00261110 E3 E1 02 E8 */ psq_l f31, 744(r1), 0, qr0 +/* 802641B4 00261114 CB E1 02 E0 */ lfd f31, 0x2e0(r1) +/* 802641B8 00261118 BB 61 02 CC */ lmw r27, 0x2cc(r1) +/* 802641BC 0026111C 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 802641C0 00261120 7C 08 03 A6 */ mtlr r0 +/* 802641C4 00261124 38 21 02 F0 */ addi r1, r1, 0x2f0 +/* 802641C8 00261128 4E 80 00 20 */ blr + +.global sub_802641cc +sub_802641cc: +/* 802641CC 0026112C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802641D0 00261130 7C 08 02 A6 */ mflr r0 +/* 802641D4 00261134 90 01 00 34 */ stw r0, 0x34(r1) +/* 802641D8 00261138 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802641DC 0026113C 3B E0 00 00 */ li r31, 0 +/* 802641E0 00261140 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802641E4 00261144 7C 9E 23 78 */ mr r30, r4 +/* 802641E8 00261148 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802641EC 0026114C 7C 7D 1B 78 */ mr r29, r3 +/* 802641F0 00261150 80 03 03 74 */ lwz r0, 0x374(r3) +/* 802641F4 00261154 2C 00 00 03 */ cmpwi r0, 3 +/* 802641F8 00261158 41 82 00 38 */ beq lbl_80264230 +/* 802641FC 0026115C 40 80 00 14 */ bge lbl_80264210 +/* 80264200 00261160 2C 00 00 01 */ cmpwi r0, 1 +/* 80264204 00261164 41 82 00 18 */ beq lbl_8026421C +/* 80264208 00261168 40 80 00 20 */ bge lbl_80264228 +/* 8026420C 0026116C 48 00 00 A8 */ b lbl_802642B4 +lbl_80264210: +/* 80264210 00261170 2C 00 00 05 */ cmpwi r0, 5 +/* 80264214 00261174 40 80 00 A0 */ bge lbl_802642B4 +/* 80264218 00261178 48 00 00 5C */ b lbl_80264274 +lbl_8026421C: +/* 8026421C 0026117C 38 00 00 02 */ li r0, 2 +/* 80264220 00261180 90 1D 03 74 */ stw r0, 0x374(r29) +/* 80264224 00261184 48 00 00 90 */ b lbl_802642B4 +lbl_80264228: +/* 80264228 00261188 3B E0 00 01 */ li r31, 1 +/* 8026422C 0026118C 48 00 00 88 */ b lbl_802642B4 +lbl_80264230: +/* 80264230 00261190 C0 62 BA 84 */ lfs f3, lbl_805AD7A4@sda21(r2) +/* 80264234 00261194 3B E0 00 01 */ li r31, 1 +/* 80264238 00261198 C0 5D 02 F0 */ lfs f2, 0x2f0(r29) +/* 8026423C 0026119C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80264240 002611A0 EC 23 10 7A */ fmadds f1, f3, f1, f2 +/* 80264244 002611A4 D0 3D 02 F0 */ stfs f1, 0x2f0(r29) +/* 80264248 002611A8 C0 3D 02 F0 */ lfs f1, 0x2f0(r29) +/* 8026424C 002611AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264250 002611B0 40 81 00 64 */ ble lbl_802642B4 +/* 80264254 002611B4 D0 1D 02 F0 */ stfs f0, 0x2f0(r29) +/* 80264258 002611B8 38 00 00 04 */ li r0, 4 +/* 8026425C 002611BC 38 60 00 00 */ li r3, 0 +/* 80264260 002611C0 90 1D 03 74 */ stw r0, 0x374(r29) +/* 80264264 002611C4 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80264268 002611C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8026426C 002611CC 98 1D 03 7C */ stb r0, 0x37c(r29) +/* 80264270 002611D0 48 00 00 44 */ b lbl_802642B4 +lbl_80264274: +/* 80264274 002611D4 C0 5D 02 EC */ lfs f2, 0x2ec(r29) +/* 80264278 002611D8 C0 02 BA 70 */ lfs f0, lbl_805AD790@sda21(r2) +/* 8026427C 002611DC EC 22 08 2A */ fadds f1, f2, f1 +/* 80264280 002611E0 D0 3D 02 EC */ stfs f1, 0x2ec(r29) +/* 80264284 002611E4 C0 3D 02 EC */ lfs f1, 0x2ec(r29) +/* 80264288 002611E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026428C 002611EC 40 81 00 28 */ ble lbl_802642B4 +/* 80264290 002611F0 4B FF DC 25 */ bl AreParticlesDoneEmitting__16CNewFlameThrowerCFv +/* 80264294 002611F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80264298 002611F8 41 82 00 1C */ beq lbl_802642B4 +/* 8026429C 002611FC 38 00 00 00 */ li r0, 0 +/* 802642A0 00261200 7F A3 EB 78 */ mr r3, r29 +/* 802642A4 00261204 90 1D 03 74 */ stw r0, 0x374(r29) +/* 802642A8 00261208 7F C4 F3 78 */ mr r4, r30 +/* 802642AC 0026120C 38 A0 00 01 */ li r5, 1 +/* 802642B0 00261210 4B FF F6 31 */ bl Reset__16CFlameNewThrowerFR13CStateManagerb +lbl_802642B4: +/* 802642B4 00261214 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802642B8 00261218 41 82 00 30 */ beq lbl_802642E8 +/* 802642BC 0026121C 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 802642C0 00261220 7F A3 EB 78 */ mr r3, r29 +/* 802642C4 00261224 C0 22 BA 84 */ lfs f1, lbl_805AD7A4@sda21(r2) +/* 802642C8 00261228 7F C4 F3 78 */ mr r4, r30 +/* 802642CC 0026122C 80 05 00 04 */ lwz r0, 4(r5) +/* 802642D0 00261230 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802642D4 00261234 C0 42 BA 94 */ lfs f2, lbl_805AD7B4@sda21(r2) +/* 802642D8 00261238 90 01 00 10 */ stw r0, 0x10(r1) +/* 802642DC 0026123C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802642E0 00261240 4B FF D2 95 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +/* 802642E4 00261244 48 00 00 2C */ b lbl_80264310 +lbl_802642E8: +/* 802642E8 00261248 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 802642EC 0026124C 7F A3 EB 78 */ mr r3, r29 +/* 802642F0 00261250 C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) +/* 802642F4 00261254 7F C4 F3 78 */ mr r4, r30 +/* 802642F8 00261258 80 05 00 04 */ lwz r0, 4(r5) +/* 802642FC 0026125C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80264300 00261260 FC 40 08 90 */ fmr f2, f1 +/* 80264304 00261264 90 01 00 08 */ stw r0, 8(r1) +/* 80264308 00261268 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026430C 0026126C 4B FF D2 69 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +lbl_80264310: +/* 80264310 00261270 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264314 00261274 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80264318 00261278 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8026431C 0026127C C0 22 BA 6C */ lfs f1, lbl_805AD78C@sda21(r2) +/* 80264320 00261280 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80264324 00261284 7C 08 03 A6 */ mtlr r0 +/* 80264328 00261288 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026432C 0026128C 4E 80 00 20 */ blr + +.global Think__16CNewFlameThrowerFfR13CStateManager +Think__16CNewFlameThrowerFfR13CStateManager: +/* 80264330 00261290 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264334 00261294 7C 08 02 A6 */ mflr r0 +/* 80264338 00261298 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026433C 0026129C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80264340 002612A0 7C 7B 1B 78 */ mr r27, r3 +/* 80264344 002612A4 7C 9C 23 78 */ mr r28, r4 +/* 80264348 002612A8 4B E9 DD 91 */ bl Think__7CWeaponFfR13CStateManager +/* 8026434C 002612AC 80 DC 08 50 */ lwz r6, 0x850(r28) +/* 80264350 002612B0 7F 83 E3 78 */ mr r3, r28 +/* 80264354 002612B4 7F 64 DB 78 */ mr r4, r27 +/* 80264358 002612B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8026435C 002612BC 80 06 00 68 */ lwz r0, 0x68(r6) +/* 80264360 002612C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264364 002612C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264368 002612C8 4B DE 0F 11 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +/* 8026436C 002612CC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80264370 002612D0 3B DB 03 BC */ addi r30, r27, 0x3bc +/* 80264374 002612D4 3B A0 00 00 */ li r29, 0 +/* 80264378 002612D8 48 00 00 44 */ b lbl_802643BC +lbl_8026437C: +/* 8026437C 002612DC A0 1E 00 00 */ lhz r0, 0(r30) +/* 80264380 002612E0 7F 83 E3 78 */ mr r3, r28 +/* 80264384 002612E4 38 81 00 08 */ addi r4, r1, 8 +/* 80264388 002612E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8026438C 002612EC 4B DE 81 E9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80264390 002612F0 7C 64 1B 79 */ or. r4, r3, r3 +/* 80264394 002612F4 41 82 00 18 */ beq lbl_802643AC +/* 80264398 002612F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026439C 002612FC 7F 83 E3 78 */ mr r3, r28 +/* 802643A0 00261300 38 A1 00 0C */ addi r5, r1, 0xc +/* 802643A4 00261304 4B DE 0E D5 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +/* 802643A8 00261308 48 00 00 0C */ b lbl_802643B4 +lbl_802643AC: +/* 802643AC 0026130C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802643B0 00261310 B0 1E 00 00 */ sth r0, 0(r30) +lbl_802643B4: +/* 802643B4 00261314 3B DE 00 02 */ addi r30, r30, 2 +/* 802643B8 00261318 3B BD 00 01 */ addi r29, r29, 1 +lbl_802643BC: +/* 802643BC 0026131C 80 1B 03 B8 */ lwz r0, 0x3b8(r27) +/* 802643C0 00261320 7C 1D 00 00 */ cmpw r29, r0 +/* 802643C4 00261324 41 80 FF B8 */ blt lbl_8026437C +/* 802643C8 00261328 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802643CC 0026132C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802643D0 00261330 7C 08 03 A6 */ mtlr r0 +/* 802643D4 00261334 38 21 00 30 */ addi r1, r1, 0x30 +/* 802643D8 00261338 4E 80 00 20 */ blr + +.global nullsub_66 +nullsub_66: +/* 802643DC 0026133C 4E 80 00 20 */ blr + +.global Accept__16CNewFlameThrowerFR8IVisitor +Accept__16CNewFlameThrowerFR8IVisitor: +/* 802643E0 00261340 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802643E4 00261344 7C 08 02 A6 */ mflr r0 +/* 802643E8 00261348 90 01 00 14 */ stw r0, 0x14(r1) +/* 802643EC 0026134C 7C 60 1B 78 */ mr r0, r3 +/* 802643F0 00261350 7C 83 23 78 */ mr r3, r4 +/* 802643F4 00261354 81 84 00 00 */ lwz r12, 0(r4) +/* 802643F8 00261358 7C 04 03 78 */ mr r4, r0 +/* 802643FC 0026135C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80264400 00261360 7D 89 03 A6 */ mtctr r12 +/* 80264404 00261364 4E 80 04 21 */ bctrl +/* 80264408 00261368 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026440C 0026136C 7C 08 03 A6 */ mtlr r0 +/* 80264410 00261370 38 21 00 10 */ addi r1, r1, 0x10 +/* 80264414 00261374 4E 80 00 20 */ blr + +.global GetTouchBounds__16CNewFlameThrowerCFv +GetTouchBounds__16CNewFlameThrowerCFv: +/* 80264418 00261378 38 00 00 00 */ li r0, 0 +/* 8026441C 0026137C 98 03 00 18 */ stb r0, 0x18(r3) +/* 80264420 00261380 4E 80 00 20 */ blr + +.global "__ct__16CNewFlameThrowerbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRCQ24rstl21reserved_vectorRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi" +"__ct__16CNewFlameThrowerbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRCQ24rstl21reserved_vectorRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi": +/* 80264424 00261384 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80264428 00261388 7C 08 02 A6 */ mflr r0 +/* 8026442C 0026138C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80264430 00261390 90 01 01 34 */ stw r0, 0x134(r1) +/* 80264434 00261394 39 81 00 E0 */ addi r12, r1, 0xe0 +/* 80264438 00261398 39 61 00 D0 */ addi r11, r1, 0xd0 +/* 8026443C 0026139C BE 61 00 FC */ stmw r19, 0xfc(r1) +/* 80264440 002613A0 3B 00 00 00 */ li r24, 0 +/* 80264444 002613A4 7C B3 2B 78 */ mr r19, r5 +/* 80264448 002613A8 7C D4 33 78 */ mr r20, r6 +/* 8026444C 002613AC 7C FF 3B 78 */ mr r31, r7 +/* 80264450 002613B0 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 80264454 002613B4 82 C1 01 3C */ lwz r22, 0x13c(r1) +/* 80264458 002613B8 3B 41 00 38 */ addi r26, r1, 0x38 +/* 8026445C 002613BC 82 A1 01 38 */ lwz r21, 0x138(r1) +/* 80264460 002613C0 3B 61 00 4C */ addi r27, r1, 0x4c +/* 80264464 002613C4 3B 81 00 34 */ addi r28, r1, 0x34 +/* 80264468 002613C8 3B A1 00 30 */ addi r29, r1, 0x30 +/* 8026446C 002613CC 82 E1 01 44 */ lwz r23, 0x144(r1) +/* 80264470 002613D0 7C 7E 1B 78 */ mr r30, r3 +/* 80264474 002613D4 7E 66 9B 78 */ mr r6, r19 +/* 80264478 002613D8 7E 87 A3 78 */ mr r7, r20 +/* 8026447C 002613DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80264480 002613E0 9B 01 00 DC */ stb r24, 0xdc(r1) +/* 80264484 002613E4 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80264488 002613E8 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 8026448C 002613EC D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 80264490 002613F0 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80264494 002613F4 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 80264498 002613F8 A3 25 00 00 */ lhz r25, 0(r5) +/* 8026449C 002613FC 7C 85 23 78 */ mr r5, r4 +/* 802644A0 00261400 38 80 00 00 */ li r4, 0 +/* 802644A4 00261404 B3 21 00 34 */ sth r25, 0x34(r1) +/* 802644A8 00261408 83 36 00 00 */ lwz r25, 0(r22) +/* 802644AC 0026140C 93 21 00 4C */ stw r25, 0x4c(r1) +/* 802644B0 00261410 A3 35 00 00 */ lhz r25, 0(r21) +/* 802644B4 00261414 B3 21 00 38 */ sth r25, 0x38(r1) +/* 802644B8 00261418 93 41 00 08 */ stw r26, 8(r1) +/* 802644BC 0026141C 93 61 00 0C */ stw r27, 0xc(r1) +/* 802644C0 00261420 93 81 00 10 */ stw r28, 0x10(r1) +/* 802644C4 00261424 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802644C8 00261428 92 E1 00 18 */ stw r23, 0x18(r1) +/* 802644CC 0026142C 93 01 00 1C */ stw r24, 0x1c(r1) +/* 802644D0 00261430 91 81 00 20 */ stw r12, 0x20(r1) +/* 802644D4 00261434 91 61 00 24 */ stw r11, 0x24(r1) +/* 802644D8 00261438 90 01 00 28 */ stw r0, 0x28(r1) +/* 802644DC 0026143C 93 01 00 2C */ stw r24, 0x2c(r1) +/* 802644E0 00261440 4B DD 5F A5 */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 802644E4 00261444 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 802644E8 00261448 28 00 00 00 */ cmplwi r0, 0 +/* 802644EC 0026144C 41 82 00 1C */ beq lbl_80264508 +/* 802644F0 00261450 34 61 00 D0 */ addic. r3, r1, 0xd0 +/* 802644F4 00261454 41 82 00 14 */ beq lbl_80264508 +/* 802644F8 00261458 28 03 00 00 */ cmplwi r3, 0 +/* 802644FC 0026145C 41 82 00 0C */ beq lbl_80264508 +/* 80264500 00261460 38 80 00 00 */ li r4, 0 +/* 80264504 00261464 48 0D C9 3D */ bl __dt__6CTokenFv +lbl_80264508: +/* 80264508 00261468 38 00 00 00 */ li r0, 0 +/* 8026450C 0026146C 3C 60 80 3F */ lis r3, lbl_803E9D10@ha +/* 80264510 00261470 98 01 00 DC */ stb r0, 0xdc(r1) +/* 80264514 00261474 38 03 9D 10 */ addi r0, r3, lbl_803E9D10@l +/* 80264518 00261478 38 7E 02 E8 */ addi r3, r30, 0x2e8 +/* 8026451C 0026147C 38 80 00 63 */ li r4, 0x63 +/* 80264520 00261480 90 1E 00 00 */ stw r0, 0(r30) +/* 80264524 00261484 48 0A E0 C9 */ bl __ct__9CRandom16FUi +/* 80264528 00261488 C0 02 BA 6C */ lfs f0, lbl_805AD78C@sda21(r2) +/* 8026452C 0026148C 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 80264530 00261490 38 C0 00 00 */ li r6, 0 +/* 80264534 00261494 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80264538 00261498 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 8026453C 0026149C 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 80264540 002614A0 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80264544 002614A4 D0 1E 02 F0 */ stfs f0, 0x2f0(r30) +/* 80264548 002614A8 98 DE 03 00 */ stb r6, 0x300(r30) +/* 8026454C 002614AC 80 DF 00 04 */ lwz r6, 4(r31) +/* 80264550 002614B0 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80264554 002614B4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264558 002614B8 90 C1 00 BC */ stw r6, 0xbc(r1) +/* 8026455C 002614BC 81 84 00 00 */ lwz r12, 0(r4) +/* 80264560 002614C0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80264564 002614C4 7D 89 03 A6 */ mtctr r12 +/* 80264568 002614C8 4E 80 04 21 */ bctrl +/* 8026456C 002614CC 3A 7E 03 04 */ addi r19, r30, 0x304 +/* 80264570 002614D0 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80264574 002614D4 7E 63 9B 78 */ mr r3, r19 +/* 80264578 002614D8 48 0D C9 31 */ bl __ct__6CTokenFRC6CToken +/* 8026457C 002614DC 7E 63 9B 78 */ mr r3, r19 +/* 80264580 002614E0 48 0D C8 8D */ bl GetObj__6CTokenFv +/* 80264584 002614E4 80 03 00 04 */ lwz r0, 4(r3) +/* 80264588 002614E8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8026458C 002614EC 38 80 FF FF */ li r4, -1 +/* 80264590 002614F0 90 13 00 08 */ stw r0, 8(r19) +/* 80264594 002614F4 48 0D C8 AD */ bl __dt__6CTokenFv +/* 80264598 002614F8 80 DF 00 08 */ lwz r6, 8(r31) +/* 8026459C 002614FC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802645A0 00261500 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 802645A4 00261504 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802645A8 00261508 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802645AC 0026150C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802645B0 00261510 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 802645B4 00261514 90 C1 00 AC */ stw r6, 0xac(r1) +/* 802645B8 00261518 81 84 00 00 */ lwz r12, 0(r4) +/* 802645BC 0026151C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802645C0 00261520 7D 89 03 A6 */ mtctr r12 +/* 802645C4 00261524 4E 80 04 21 */ bctrl +/* 802645C8 00261528 3A 7E 03 10 */ addi r19, r30, 0x310 +/* 802645CC 0026152C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802645D0 00261530 7E 63 9B 78 */ mr r3, r19 +/* 802645D4 00261534 48 0D C8 D5 */ bl __ct__6CTokenFRC6CToken +/* 802645D8 00261538 7E 63 9B 78 */ mr r3, r19 +/* 802645DC 0026153C 48 0D C8 31 */ bl GetObj__6CTokenFv +/* 802645E0 00261540 80 03 00 04 */ lwz r0, 4(r3) +/* 802645E4 00261544 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802645E8 00261548 38 80 FF FF */ li r4, -1 +/* 802645EC 0026154C 90 13 00 08 */ stw r0, 8(r19) +/* 802645F0 00261550 48 0D C8 51 */ bl __dt__6CTokenFv +/* 802645F4 00261554 80 DF 00 14 */ lwz r6, 0x14(r31) +/* 802645F8 00261558 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802645FC 0026155C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80264600 00261560 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264604 00261564 90 01 00 98 */ stw r0, 0x98(r1) +/* 80264608 00261568 38 61 00 90 */ addi r3, r1, 0x90 +/* 8026460C 0026156C 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80264610 00261570 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 80264614 00261574 81 84 00 00 */ lwz r12, 0(r4) +/* 80264618 00261578 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8026461C 0026157C 7D 89 03 A6 */ mtctr r12 +/* 80264620 00261580 4E 80 04 21 */ bctrl +/* 80264624 00261584 3A 7E 03 1C */ addi r19, r30, 0x31c +/* 80264628 00261588 38 81 00 90 */ addi r4, r1, 0x90 +/* 8026462C 0026158C 7E 63 9B 78 */ mr r3, r19 +/* 80264630 00261590 48 0D C8 79 */ bl __ct__6CTokenFRC6CToken +/* 80264634 00261594 7E 63 9B 78 */ mr r3, r19 +/* 80264638 00261598 48 0D C7 D5 */ bl GetObj__6CTokenFv +/* 8026463C 0026159C 80 03 00 04 */ lwz r0, 4(r3) +/* 80264640 002615A0 38 61 00 90 */ addi r3, r1, 0x90 +/* 80264644 002615A4 38 80 FF FF */ li r4, -1 +/* 80264648 002615A8 90 13 00 08 */ stw r0, 8(r19) +/* 8026464C 002615AC 48 0D C7 F5 */ bl __dt__6CTokenFv +/* 80264650 002615B0 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 80264654 002615B4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80264658 002615B8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8026465C 002615BC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264660 002615C0 90 01 00 88 */ stw r0, 0x88(r1) +/* 80264664 002615C4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80264668 002615C8 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8026466C 002615CC 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 80264670 002615D0 81 84 00 00 */ lwz r12, 0(r4) +/* 80264674 002615D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80264678 002615D8 7D 89 03 A6 */ mtctr r12 +/* 8026467C 002615DC 4E 80 04 21 */ bctrl +/* 80264680 002615E0 3A 7E 03 28 */ addi r19, r30, 0x328 +/* 80264684 002615E4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80264688 002615E8 7E 63 9B 78 */ mr r3, r19 +/* 8026468C 002615EC 48 0D C8 1D */ bl __ct__6CTokenFRC6CToken +/* 80264690 002615F0 7E 63 9B 78 */ mr r3, r19 +/* 80264694 002615F4 48 0D C7 79 */ bl GetObj__6CTokenFv +/* 80264698 002615F8 80 03 00 04 */ lwz r0, 4(r3) +/* 8026469C 002615FC 38 61 00 80 */ addi r3, r1, 0x80 +/* 802646A0 00261600 38 80 FF FF */ li r4, -1 +/* 802646A4 00261604 90 13 00 08 */ stw r0, 8(r19) +/* 802646A8 00261608 48 0D C7 99 */ bl __dt__6CTokenFv +/* 802646AC 0026160C 80 DF 00 1C */ lwz r6, 0x1c(r31) +/* 802646B0 00261610 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802646B4 00261614 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 802646B8 00261618 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802646BC 0026161C 90 01 00 78 */ stw r0, 0x78(r1) +/* 802646C0 00261620 38 61 00 70 */ addi r3, r1, 0x70 +/* 802646C4 00261624 38 A1 00 78 */ addi r5, r1, 0x78 +/* 802646C8 00261628 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802646CC 0026162C 81 84 00 00 */ lwz r12, 0(r4) +/* 802646D0 00261630 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802646D4 00261634 7D 89 03 A6 */ mtctr r12 +/* 802646D8 00261638 4E 80 04 21 */ bctrl +/* 802646DC 0026163C 3A 7E 03 34 */ addi r19, r30, 0x334 +/* 802646E0 00261640 38 81 00 70 */ addi r4, r1, 0x70 +/* 802646E4 00261644 7E 63 9B 78 */ mr r3, r19 +/* 802646E8 00261648 48 0D C7 C1 */ bl __ct__6CTokenFRC6CToken +/* 802646EC 0026164C 7E 63 9B 78 */ mr r3, r19 +/* 802646F0 00261650 48 0D C7 1D */ bl GetObj__6CTokenFv +/* 802646F4 00261654 80 03 00 04 */ lwz r0, 4(r3) +/* 802646F8 00261658 38 61 00 70 */ addi r3, r1, 0x70 +/* 802646FC 0026165C 38 80 FF FF */ li r4, -1 +/* 80264700 00261660 90 13 00 08 */ stw r0, 8(r19) +/* 80264704 00261664 48 0D C7 3D */ bl __dt__6CTokenFv +/* 80264708 00261668 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8026470C 0026166C 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 80264710 00261670 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 80264714 00261674 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264718 00261678 90 01 00 68 */ stw r0, 0x68(r1) +/* 8026471C 0026167C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80264720 00261680 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80264724 00261684 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80264728 00261688 81 84 00 00 */ lwz r12, 0(r4) +/* 8026472C 0026168C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80264730 00261690 7D 89 03 A6 */ mtctr r12 +/* 80264734 00261694 4E 80 04 21 */ bctrl +/* 80264738 00261698 3A 7E 03 40 */ addi r19, r30, 0x340 +/* 8026473C 0026169C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80264740 002616A0 7E 63 9B 78 */ mr r3, r19 +/* 80264744 002616A4 48 0D C7 65 */ bl __ct__6CTokenFRC6CToken +/* 80264748 002616A8 7E 63 9B 78 */ mr r3, r19 +/* 8026474C 002616AC 48 0D C6 C1 */ bl GetObj__6CTokenFv +/* 80264750 002616B0 80 03 00 04 */ lwz r0, 4(r3) +/* 80264754 002616B4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80264758 002616B8 38 80 FF FF */ li r4, -1 +/* 8026475C 002616BC 90 13 00 08 */ stw r0, 8(r19) +/* 80264760 002616C0 48 0D C6 E1 */ bl __dt__6CTokenFv +/* 80264764 002616C4 80 DF 00 10 */ lwz r6, 0x10(r31) +/* 80264768 002616C8 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8026476C 002616CC 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 80264770 002616D0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264774 002616D4 90 01 00 58 */ stw r0, 0x58(r1) +/* 80264778 002616D8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8026477C 002616DC 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80264780 002616E0 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80264784 002616E4 81 84 00 00 */ lwz r12, 0(r4) +/* 80264788 002616E8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8026478C 002616EC 7D 89 03 A6 */ mtctr r12 +/* 80264790 002616F0 4E 80 04 21 */ bctrl +/* 80264794 002616F4 3A 7E 03 4C */ addi r19, r30, 0x34c +/* 80264798 002616F8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8026479C 002616FC 7E 63 9B 78 */ mr r3, r19 +/* 802647A0 00261700 48 0D C7 09 */ bl __ct__6CTokenFRC6CToken +/* 802647A4 00261704 7E 63 9B 78 */ mr r3, r19 +/* 802647A8 00261708 48 0D C6 65 */ bl GetObj__6CTokenFv +/* 802647AC 0026170C 80 03 00 04 */ lwz r0, 4(r3) +/* 802647B0 00261710 38 61 00 50 */ addi r3, r1, 0x50 +/* 802647B4 00261714 38 80 FF FF */ li r4, -1 +/* 802647B8 00261718 90 13 00 08 */ stw r0, 8(r19) +/* 802647BC 0026171C 48 0D C6 85 */ bl __dt__6CTokenFv +/* 802647C0 00261720 38 E0 00 00 */ li r7, 0 +/* 802647C4 00261724 38 C0 00 01 */ li r6, 1 +/* 802647C8 00261728 90 FE 03 58 */ stw r7, 0x358(r30) +/* 802647CC 0026172C 38 7E 03 80 */ addi r3, r30, 0x380 +/* 802647D0 00261730 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 802647D4 00261734 38 80 00 03 */ li r4, 3 +/* 802647D8 00261738 90 FE 03 5C */ stw r7, 0x35c(r30) +/* 802647DC 0026173C 90 FE 03 60 */ stw r7, 0x360(r30) +/* 802647E0 00261740 90 FE 03 64 */ stw r7, 0x364(r30) +/* 802647E4 00261744 90 FE 03 68 */ stw r7, 0x368(r30) +/* 802647E8 00261748 90 FE 03 6C */ stw r7, 0x36c(r30) +/* 802647EC 0026174C 90 FE 03 70 */ stw r7, 0x370(r30) +/* 802647F0 00261750 90 FE 03 74 */ stw r7, 0x374(r30) +/* 802647F4 00261754 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 802647F8 00261758 90 1E 03 78 */ stw r0, 0x378(r30) +/* 802647FC 0026175C 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264800 00261760 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 80264804 00261764 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264808 00261768 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 8026480C 0026176C 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 80264810 00261770 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264814 00261774 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264818 00261778 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 8026481C 0026177C 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264820 00261780 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264824 00261784 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80264828 00261788 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 8026482C 0026178C 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264830 00261790 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 80264834 00261794 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264838 00261798 90 E1 00 C4 */ stw r7, 0xc4(r1) +/* 8026483C 0026179C 90 E1 00 C8 */ stw r7, 0xc8(r1) +/* 80264840 002617A0 90 E1 00 CC */ stw r7, 0xcc(r1) +/* 80264844 002617A4 48 00 00 69 */ bl sub_802648ac +/* 80264848 002617A8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8026484C 002617AC 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80264850 002617B0 54 00 18 38 */ slwi r0, r0, 3 +/* 80264854 002617B4 7C 03 02 14 */ add r0, r3, r0 +/* 80264858 002617B8 90 61 00 40 */ stw r3, 0x40(r1) +/* 8026485C 002617BC 7C 64 1B 78 */ mr r4, r3 +/* 80264860 002617C0 90 01 00 48 */ stw r0, 0x48(r1) +/* 80264864 002617C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80264868 002617C8 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8026486C 002617CC 48 00 00 08 */ b lbl_80264874 +lbl_80264870: +/* 80264870 002617D0 38 84 00 08 */ addi r4, r4, 8 +lbl_80264874: +/* 80264874 002617D4 7C 04 00 40 */ cmplw r4, r0 +/* 80264878 002617D8 40 82 FF F8 */ bne lbl_80264870 +/* 8026487C 002617DC 28 03 00 00 */ cmplwi r3, 0 +/* 80264880 002617E0 41 82 00 08 */ beq lbl_80264888 +/* 80264884 002617E4 48 0B 10 AD */ bl Free__7CMemoryFPCv +lbl_80264888: +/* 80264888 002617E8 38 00 00 00 */ li r0, 0 +/* 8026488C 002617EC 7F C3 F3 78 */ mr r3, r30 +/* 80264890 002617F0 90 1E 03 B4 */ stw r0, 0x3b4(r30) +/* 80264894 002617F4 90 1E 03 B8 */ stw r0, 0x3b8(r30) +/* 80264898 002617F8 BA 61 00 FC */ lmw r19, 0xfc(r1) +/* 8026489C 002617FC 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802648A0 00261800 7C 08 03 A6 */ mtlr r0 +/* 802648A4 00261804 38 21 01 30 */ addi r1, r1, 0x130 +/* 802648A8 00261808 4E 80 00 20 */ blr + +.global sub_802648ac +sub_802648ac: +/* 802648AC 0026180C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802648B0 00261810 7C 08 02 A6 */ mflr r0 +/* 802648B4 00261814 90 01 00 14 */ stw r0, 0x14(r1) +/* 802648B8 00261818 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802648BC 0026181C 7C 7F 1B 78 */ mr r31, r3 +/* 802648C0 00261820 90 83 00 00 */ stw r4, 0(r3) +/* 802648C4 00261824 38 7F 00 04 */ addi r3, r31, 4 +/* 802648C8 00261828 48 00 00 1D */ bl sub_802648e4 +/* 802648CC 0026182C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802648D0 00261830 7F E3 FB 78 */ mr r3, r31 +/* 802648D4 00261834 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802648D8 00261838 7C 08 03 A6 */ mtlr r0 +/* 802648DC 0026183C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802648E0 00261840 4E 80 00 20 */ blr + +.global sub_802648e4 +sub_802648e4: +/* 802648E4 00261844 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802648E8 00261848 7C 08 02 A6 */ mflr r0 +/* 802648EC 0026184C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802648F0 00261850 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802648F4 00261854 3B E0 00 00 */ li r31, 0 +/* 802648F8 00261858 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802648FC 0026185C 7C BE 2B 78 */ mr r30, r5 +/* 80264900 00261860 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80264904 00261864 7C 9D 23 78 */ mr r29, r4 +/* 80264908 00261868 93 81 00 10 */ stw r28, 0x10(r1) +/* 8026490C 0026186C 7C 7C 1B 78 */ mr r28, r3 +/* 80264910 00261870 48 00 00 B0 */ b lbl_802649C0 +lbl_80264914: +/* 80264914 00261874 28 1C 00 00 */ cmplwi r28, 0 +/* 80264918 00261878 41 82 00 A0 */ beq lbl_802649B8 +/* 8026491C 0026187C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264920 00261880 90 1C 00 04 */ stw r0, 4(r28) +/* 80264924 00261884 80 1E 00 08 */ lwz r0, 8(r30) +/* 80264928 00261888 90 1C 00 08 */ stw r0, 8(r28) +/* 8026492C 0026188C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264930 00261890 2C 00 00 00 */ cmpwi r0, 0 +/* 80264934 00261894 40 82 00 1C */ bne lbl_80264950 +/* 80264938 00261898 80 1E 00 08 */ lwz r0, 8(r30) +/* 8026493C 0026189C 2C 00 00 00 */ cmpwi r0, 0 +/* 80264940 002618A0 40 82 00 10 */ bne lbl_80264950 +/* 80264944 002618A4 38 00 00 00 */ li r0, 0 +/* 80264948 002618A8 90 1C 00 0C */ stw r0, 0xc(r28) +/* 8026494C 002618AC 48 00 00 6C */ b lbl_802649B8 +lbl_80264950: +/* 80264950 002618B0 80 1C 00 08 */ lwz r0, 8(r28) +/* 80264954 002618B4 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80264958 002618B8 40 82 00 10 */ bne lbl_80264968 +/* 8026495C 002618BC 38 00 00 00 */ li r0, 0 +/* 80264960 002618C0 90 1C 00 0C */ stw r0, 0xc(r28) +/* 80264964 002618C4 48 00 00 18 */ b lbl_8026497C +lbl_80264968: +/* 80264968 002618C8 3C 80 80 3D */ lis r4, lbl_803D5278@ha +/* 8026496C 002618CC 38 A0 00 00 */ li r5, 0 +/* 80264970 002618D0 38 84 52 78 */ addi r4, r4, lbl_803D5278@l +/* 80264974 002618D4 48 0B 0E A5 */ bl __nwa__FUlPCcPCc +/* 80264978 002618D8 90 7C 00 0C */ stw r3, 0xc(r28) +lbl_8026497C: +/* 8026497C 002618DC 80 1C 00 04 */ lwz r0, 4(r28) +/* 80264980 002618E0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80264984 002618E4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80264988 002618E8 7C 09 03 A6 */ mtctr r0 +/* 8026498C 002618EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80264990 002618F0 40 81 00 28 */ ble lbl_802649B8 +lbl_80264994: +/* 80264994 002618F4 28 03 00 00 */ cmplwi r3, 0 +/* 80264998 002618F8 41 82 00 14 */ beq lbl_802649AC +/* 8026499C 002618FC C0 04 00 00 */ lfs f0, 0(r4) +/* 802649A0 00261900 D0 03 00 00 */ stfs f0, 0(r3) +/* 802649A4 00261904 80 04 00 04 */ lwz r0, 4(r4) +/* 802649A8 00261908 90 03 00 04 */ stw r0, 4(r3) +lbl_802649AC: +/* 802649AC 0026190C 38 63 00 08 */ addi r3, r3, 8 +/* 802649B0 00261910 38 84 00 08 */ addi r4, r4, 8 +/* 802649B4 00261914 42 00 FF E0 */ bdnz lbl_80264994 +lbl_802649B8: +/* 802649B8 00261918 3B FF 00 01 */ addi r31, r31, 1 +/* 802649BC 0026191C 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_802649C0: +/* 802649C0 00261920 7C 1F E8 00 */ cmpw r31, r29 +/* 802649C4 00261924 41 80 FF 50 */ blt lbl_80264914 +/* 802649C8 00261928 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802649CC 0026192C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802649D0 00261930 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802649D4 00261934 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802649D8 00261938 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802649DC 0026193C 7C 08 03 A6 */ mtlr r0 +/* 802649E0 00261940 38 21 00 20 */ addi r1, r1, 0x20 +/* 802649E4 00261944 4E 80 00 20 */ blr + +.global sub_802649e8 +sub_802649e8: +/* 802649E8 00261948 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802649EC 0026194C 7C 08 02 A6 */ mflr r0 +/* 802649F0 00261950 90 01 00 44 */ stw r0, 0x44(r1) +/* 802649F4 00261954 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802649F8 00261958 7C 9F 23 78 */ mr r31, r4 +/* 802649FC 0026195C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80264A00 00261960 7C 7E 1B 78 */ mr r30, r3 +/* 80264A04 00261964 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80264A08 00261968 80 63 00 00 */ lwz r3, 0(r3) +/* 80264A0C 0026196C 80 A4 00 00 */ lwz r5, 0(r4) +/* 80264A10 00261970 7C 03 28 50 */ subf r0, r3, r5 +/* 80264A14 00261974 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80264A18 00261978 7C 80 01 94 */ addze r4, r0 +/* 80264A1C 0026197C 2C 04 00 01 */ cmpwi r4, 1 +/* 80264A20 00261980 40 81 01 34 */ ble lbl_80264B54 +/* 80264A24 00261984 2C 04 00 14 */ cmpwi r4, 0x14 +/* 80264A28 00261988 41 81 00 24 */ bgt lbl_80264A4C +/* 80264A2C 0026198C 80 BF 00 00 */ lwz r5, 0(r31) +/* 80264A30 00261990 38 61 00 24 */ addi r3, r1, 0x24 +/* 80264A34 00261994 80 1E 00 00 */ lwz r0, 0(r30) +/* 80264A38 00261998 38 81 00 20 */ addi r4, r1, 0x20 +/* 80264A3C 0026199C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80264A40 002619A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80264A44 002619A4 48 00 04 B5 */ bl sub_80264ef8 +/* 80264A48 002619A8 48 00 01 0C */ b lbl_80264B54 +lbl_80264A4C: +/* 80264A4C 002619AC 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80264A50 002619B0 38 A5 FF F8 */ addi r5, r5, -8 +/* 80264A54 002619B4 7C 00 22 14 */ add r0, r0, r4 +/* 80264A58 002619B8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80264A5C 002619BC 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80264A60 002619C0 54 00 18 38 */ slwi r0, r0, 3 +/* 80264A64 002619C4 7F A3 02 14 */ add r29, r3, r0 +/* 80264A68 002619C8 7F A4 EB 78 */ mr r4, r29 +/* 80264A6C 002619CC 48 00 04 15 */ bl sub_80264e80 +/* 80264A70 002619D0 80 9E 00 00 */ lwz r4, 0(r30) +/* 80264A74 002619D4 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80264A78 002619D8 38 84 00 08 */ addi r4, r4, 8 +/* 80264A7C 002619DC C0 3D 00 00 */ lfs f1, 0(r29) +/* 80264A80 002619E0 38 03 FF F8 */ addi r0, r3, -8 +/* 80264A84 002619E4 90 81 00 28 */ stw r4, 0x28(r1) +/* 80264A88 002619E8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80264A8C 002619EC 48 00 00 10 */ b lbl_80264A9C +lbl_80264A90: +/* 80264A90 002619F0 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80264A94 002619F4 38 03 00 08 */ addi r0, r3, 8 +/* 80264A98 002619F8 90 01 00 28 */ stw r0, 0x28(r1) +lbl_80264A9C: +/* 80264A9C 002619FC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80264AA0 00261A00 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264AA4 00261A04 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80264AA8 00261A08 41 80 FF E8 */ blt lbl_80264A90 +/* 80264AAC 00261A0C 48 00 00 10 */ b lbl_80264ABC +lbl_80264AB0: +/* 80264AB0 00261A10 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80264AB4 00261A14 38 03 FF F8 */ addi r0, r3, -8 +/* 80264AB8 00261A18 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_80264ABC: +/* 80264ABC 00261A1C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80264AC0 00261A20 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264AC4 00261A24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264AC8 00261A28 41 80 FF E8 */ blt lbl_80264AB0 +/* 80264ACC 00261A2C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80264AD0 00261A30 7C 00 18 40 */ cmplw r0, r3 +/* 80264AD4 00261A34 40 80 00 48 */ bge lbl_80264B1C +/* 80264AD8 00261A38 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 80264ADC 00261A3C 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80264AE0 00261A40 C0 45 00 00 */ lfs f2, 0(r5) +/* 80264AE4 00261A44 38 65 00 08 */ addi r3, r5, 8 +/* 80264AE8 00261A48 80 E5 00 04 */ lwz r7, 4(r5) +/* 80264AEC 00261A4C 38 06 FF F8 */ addi r0, r6, -8 +/* 80264AF0 00261A50 C0 06 00 00 */ lfs f0, 0(r6) +/* 80264AF4 00261A54 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80264AF8 00261A58 D0 05 00 00 */ stfs f0, 0(r5) +/* 80264AFC 00261A5C 80 86 00 04 */ lwz r4, 4(r6) +/* 80264B00 00261A60 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80264B04 00261A64 90 85 00 04 */ stw r4, 4(r5) +/* 80264B08 00261A68 D0 46 00 00 */ stfs f2, 0(r6) +/* 80264B0C 00261A6C 90 E6 00 04 */ stw r7, 4(r6) +/* 80264B10 00261A70 90 61 00 28 */ stw r3, 0x28(r1) +/* 80264B14 00261A74 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80264B18 00261A78 4B FF FF 84 */ b lbl_80264A9C +lbl_80264B1C: +/* 80264B1C 00261A7C 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 80264B20 00261A80 38 61 00 14 */ addi r3, r1, 0x14 +/* 80264B24 00261A84 80 1E 00 00 */ lwz r0, 0(r30) +/* 80264B28 00261A88 38 81 00 10 */ addi r4, r1, 0x10 +/* 80264B2C 00261A8C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80264B30 00261A90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264B34 00261A94 4B FF FE B5 */ bl sub_802649e8 +/* 80264B38 00261A98 80 BF 00 00 */ lwz r5, 0(r31) +/* 80264B3C 00261A9C 38 61 00 0C */ addi r3, r1, 0xc +/* 80264B40 00261AA0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80264B44 00261AA4 38 81 00 08 */ addi r4, r1, 8 +/* 80264B48 00261AA8 90 A1 00 08 */ stw r5, 8(r1) +/* 80264B4C 00261AAC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80264B50 00261AB0 4B FF FE 99 */ bl sub_802649e8 +lbl_80264B54: +/* 80264B54 00261AB4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80264B58 00261AB8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80264B5C 00261ABC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80264B60 00261AC0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80264B64 00261AC4 7C 08 03 A6 */ mtlr r0 +/* 80264B68 00261AC8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80264B6C 00261ACC 4E 80 00 20 */ blr + +.global sub_80264b70 +sub_80264b70: +/* 80264B70 00261AD0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264B74 00261AD4 7C 08 02 A6 */ mflr r0 +/* 80264B78 00261AD8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80264B7C 00261ADC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80264B80 00261AE0 7C 9C 23 78 */ mr r28, r4 +/* 80264B84 00261AE4 7C 7B 1B 78 */ mr r27, r3 +/* 80264B88 00261AE8 7C DD 33 78 */ mr r29, r6 +/* 80264B8C 00261AEC 38 61 00 0C */ addi r3, r1, 0xc +/* 80264B90 00261AF0 80 85 00 00 */ lwz r4, 0(r5) +/* 80264B94 00261AF4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264B98 00261AF8 90 81 00 08 */ stw r4, 8(r1) +/* 80264B9C 00261AFC 38 81 00 08 */ addi r4, r1, 8 +/* 80264BA0 00261B00 90 01 00 0C */ stw r0, 0xc(r1) +/* 80264BA4 00261B04 48 00 02 81 */ bl sub_80264e24 +/* 80264BA8 00261B08 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264BAC 00261B0C 7C 7F 1B 78 */ mr r31, r3 +/* 80264BB0 00261B10 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264BB4 00261B14 48 00 00 58 */ b lbl_80264C0C +lbl_80264BB8: +/* 80264BB8 00261B18 57 E3 0F FE */ srwi r3, r31, 0x1f +/* 80264BBC 00261B1C 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264BC0 00261B20 7C 83 FA 14 */ add r4, r3, r31 +/* 80264BC4 00261B24 38 61 00 10 */ addi r3, r1, 0x10 +/* 80264BC8 00261B28 7C 9E 0E 70 */ srawi r30, r4, 1 +/* 80264BCC 00261B2C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264BD0 00261B30 7F C4 F3 78 */ mr r4, r30 +/* 80264BD4 00261B34 48 00 02 11 */ bl sub_80264de4 +/* 80264BD8 00261B38 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80264BDC 00261B3C C0 1D 00 00 */ lfs f0, 0(r29) +/* 80264BE0 00261B40 C0 23 00 00 */ lfs f1, 0(r3) +/* 80264BE4 00261B44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264BE8 00261B48 40 80 00 20 */ bge lbl_80264C08 +/* 80264BEC 00261B4C 90 7C 00 00 */ stw r3, 0(r28) +/* 80264BF0 00261B50 7C 7E F8 50 */ subf r3, r30, r31 +/* 80264BF4 00261B54 3B E3 FF FF */ addi r31, r3, -1 +/* 80264BF8 00261B58 80 7C 00 00 */ lwz r3, 0(r28) +/* 80264BFC 00261B5C 38 03 00 08 */ addi r0, r3, 8 +/* 80264C00 00261B60 90 1C 00 00 */ stw r0, 0(r28) +/* 80264C04 00261B64 48 00 00 08 */ b lbl_80264C0C +lbl_80264C08: +/* 80264C08 00261B68 7F DF F3 78 */ mr r31, r30 +lbl_80264C0C: +/* 80264C0C 00261B6C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80264C10 00261B70 41 81 FF A8 */ bgt lbl_80264BB8 +/* 80264C14 00261B74 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C18 00261B78 90 1B 00 00 */ stw r0, 0(r27) +/* 80264C1C 00261B7C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80264C20 00261B80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264C24 00261B84 7C 08 03 A6 */ mtlr r0 +/* 80264C28 00261B88 38 21 00 30 */ addi r1, r1, 0x30 +/* 80264C2C 00261B8C 4E 80 00 20 */ blr + +.global sub_80264c30 +sub_80264c30: +/* 80264C30 00261B90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264C34 00261B94 7C 08 02 A6 */ mflr r0 +/* 80264C38 00261B98 90 01 00 34 */ stw r0, 0x34(r1) +/* 80264C3C 00261B9C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80264C40 00261BA0 7C 9C 23 78 */ mr r28, r4 +/* 80264C44 00261BA4 7C 7B 1B 78 */ mr r27, r3 +/* 80264C48 00261BA8 7C DD 33 78 */ mr r29, r6 +/* 80264C4C 00261BAC 38 61 00 0C */ addi r3, r1, 0xc +/* 80264C50 00261BB0 80 85 00 00 */ lwz r4, 0(r5) +/* 80264C54 00261BB4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C58 00261BB8 90 81 00 08 */ stw r4, 8(r1) +/* 80264C5C 00261BBC 38 81 00 08 */ addi r4, r1, 8 +/* 80264C60 00261BC0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80264C64 00261BC4 48 00 01 C1 */ bl sub_80264e24 +/* 80264C68 00261BC8 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C6C 00261BCC 7C 7F 1B 78 */ mr r31, r3 +/* 80264C70 00261BD0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264C74 00261BD4 48 00 00 58 */ b lbl_80264CCC +lbl_80264C78: +/* 80264C78 00261BD8 57 E3 0F FE */ srwi r3, r31, 0x1f +/* 80264C7C 00261BDC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C80 00261BE0 7C 83 FA 14 */ add r4, r3, r31 +/* 80264C84 00261BE4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80264C88 00261BE8 7C 9E 0E 70 */ srawi r30, r4, 1 +/* 80264C8C 00261BEC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264C90 00261BF0 7F C4 F3 78 */ mr r4, r30 +/* 80264C94 00261BF4 48 00 01 51 */ bl sub_80264de4 +/* 80264C98 00261BF8 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80264C9C 00261BFC C0 3D 00 00 */ lfs f1, 0(r29) +/* 80264CA0 00261C00 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264CA4 00261C04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264CA8 00261C08 40 80 00 0C */ bge lbl_80264CB4 +/* 80264CAC 00261C0C 7F DF F3 78 */ mr r31, r30 +/* 80264CB0 00261C10 48 00 00 1C */ b lbl_80264CCC +lbl_80264CB4: +/* 80264CB4 00261C14 90 7C 00 00 */ stw r3, 0(r28) +/* 80264CB8 00261C18 7C 7E F8 50 */ subf r3, r30, r31 +/* 80264CBC 00261C1C 3B E3 FF FF */ addi r31, r3, -1 +/* 80264CC0 00261C20 80 7C 00 00 */ lwz r3, 0(r28) +/* 80264CC4 00261C24 38 03 00 08 */ addi r0, r3, 8 +/* 80264CC8 00261C28 90 1C 00 00 */ stw r0, 0(r28) +lbl_80264CCC: +/* 80264CCC 00261C2C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80264CD0 00261C30 41 81 FF A8 */ bgt lbl_80264C78 +/* 80264CD4 00261C34 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264CD8 00261C38 90 1B 00 00 */ stw r0, 0(r27) +/* 80264CDC 00261C3C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80264CE0 00261C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264CE4 00261C44 7C 08 03 A6 */ mtlr r0 +/* 80264CE8 00261C48 38 21 00 30 */ addi r1, r1, 0x30 +/* 80264CEC 00261C4C 4E 80 00 20 */ blr + +.global sub_80264cf0 +sub_80264cf0: +/* 80264CF0 00261C50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264CF4 00261C54 7C 08 02 A6 */ mflr r0 +/* 80264CF8 00261C58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80264CFC 00261C5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80264D00 00261C60 7C 9F 23 78 */ mr r31, r4 +/* 80264D04 00261C64 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80264D08 00261C68 7C 7E 1B 78 */ mr r30, r3 +/* 80264D0C 00261C6C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80264D10 00261C70 80 03 00 08 */ lwz r0, 8(r3) +/* 80264D14 00261C74 7C 1F 00 00 */ cmpw r31, r0 +/* 80264D18 00261C78 40 81 00 B0 */ ble lbl_80264DC8 +/* 80264D1C 00261C7C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 80264D20 00261C80 40 82 00 0C */ bne lbl_80264D2C +/* 80264D24 00261C84 3B A0 00 00 */ li r29, 0 +/* 80264D28 00261C88 48 00 00 18 */ b lbl_80264D40 +lbl_80264D2C: +/* 80264D2C 00261C8C 3C 80 80 3D */ lis r4, lbl_803D5278@ha +/* 80264D30 00261C90 38 A0 00 00 */ li r5, 0 +/* 80264D34 00261C94 38 84 52 78 */ addi r4, r4, lbl_803D5278@l +/* 80264D38 00261C98 48 0B 0A E1 */ bl __nwa__FUlPCcPCc +/* 80264D3C 00261C9C 7C 7D 1B 78 */ mr r29, r3 +lbl_80264D40: +/* 80264D40 00261CA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264D44 00261CA4 7F A4 EB 78 */ mr r4, r29 +/* 80264D48 00261CA8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80264D4C 00261CAC 54 00 18 38 */ slwi r0, r0, 3 +/* 80264D50 00261CB0 7C 65 02 14 */ add r3, r5, r0 +/* 80264D54 00261CB4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80264D58 00261CB8 90 61 00 08 */ stw r3, 8(r1) +/* 80264D5C 00261CBC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80264D60 00261CC0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80264D64 00261CC4 48 00 00 24 */ b lbl_80264D88 +lbl_80264D68: +/* 80264D68 00261CC8 28 04 00 00 */ cmplwi r4, 0 +/* 80264D6C 00261CCC 41 82 00 14 */ beq lbl_80264D80 +/* 80264D70 00261CD0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80264D74 00261CD4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80264D78 00261CD8 80 05 00 04 */ lwz r0, 4(r5) +/* 80264D7C 00261CDC 90 04 00 04 */ stw r0, 4(r4) +lbl_80264D80: +/* 80264D80 00261CE0 38 84 00 08 */ addi r4, r4, 8 +/* 80264D84 00261CE4 38 A5 00 08 */ addi r5, r5, 8 +lbl_80264D88: +/* 80264D88 00261CE8 7C 05 18 40 */ cmplw r5, r3 +/* 80264D8C 00261CEC 40 82 FF DC */ bne lbl_80264D68 +/* 80264D90 00261CF0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264D94 00261CF4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80264D98 00261CF8 54 00 18 38 */ slwi r0, r0, 3 +/* 80264D9C 00261CFC 7C 64 1B 78 */ mr r4, r3 +/* 80264DA0 00261D00 7C 03 02 14 */ add r0, r3, r0 +/* 80264DA4 00261D04 48 00 00 08 */ b lbl_80264DAC +lbl_80264DA8: +/* 80264DA8 00261D08 38 84 00 08 */ addi r4, r4, 8 +lbl_80264DAC: +/* 80264DAC 00261D0C 7C 04 00 40 */ cmplw r4, r0 +/* 80264DB0 00261D10 40 82 FF F8 */ bne lbl_80264DA8 +/* 80264DB4 00261D14 28 03 00 00 */ cmplwi r3, 0 +/* 80264DB8 00261D18 41 82 00 08 */ beq lbl_80264DC0 +/* 80264DBC 00261D1C 48 0B 0B 75 */ bl Free__7CMemoryFPCv +lbl_80264DC0: +/* 80264DC0 00261D20 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80264DC4 00261D24 93 FE 00 08 */ stw r31, 8(r30) +lbl_80264DC8: +/* 80264DC8 00261D28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264DCC 00261D2C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80264DD0 00261D30 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80264DD4 00261D34 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80264DD8 00261D38 7C 08 03 A6 */ mtlr r0 +/* 80264DDC 00261D3C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80264DE0 00261D40 4E 80 00 20 */ blr + +.global sub_80264de4 +sub_80264de4: +/* 80264DE4 00261D44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80264DE8 00261D48 7C 08 02 A6 */ mflr r0 +/* 80264DEC 00261D4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264DF0 00261D50 38 A1 00 0C */ addi r5, r1, 0xc +/* 80264DF4 00261D54 88 01 00 08 */ lbz r0, 8(r1) +/* 80264DF8 00261D58 98 01 00 0C */ stb r0, 0xc(r1) +/* 80264DFC 00261D5C 48 00 00 15 */ bl sub_80264e10 +/* 80264E00 00261D60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80264E04 00261D64 7C 08 03 A6 */ mtlr r0 +/* 80264E08 00261D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80264E0C 00261D6C 4E 80 00 20 */ blr + +.global sub_80264e10 +sub_80264e10: +/* 80264E10 00261D70 80 A3 00 00 */ lwz r5, 0(r3) +/* 80264E14 00261D74 54 80 18 38 */ slwi r0, r4, 3 +/* 80264E18 00261D78 7C 05 02 14 */ add r0, r5, r0 +/* 80264E1C 00261D7C 90 03 00 00 */ stw r0, 0(r3) +/* 80264E20 00261D80 4E 80 00 20 */ blr + +.global sub_80264e24 +sub_80264e24: +/* 80264E24 00261D84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80264E28 00261D88 7C 08 02 A6 */ mflr r0 +/* 80264E2C 00261D8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80264E30 00261D90 38 A1 00 0C */ addi r5, r1, 0xc +/* 80264E34 00261D94 88 E1 00 08 */ lbz r7, 8(r1) +/* 80264E38 00261D98 80 C4 00 00 */ lwz r6, 0(r4) +/* 80264E3C 00261D9C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80264E40 00261DA0 80 03 00 00 */ lwz r0, 0(r3) +/* 80264E44 00261DA4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80264E48 00261DA8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80264E4C 00261DAC 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80264E50 00261DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264E54 00261DB4 48 00 00 15 */ bl sub_80264e68 +/* 80264E58 00261DB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80264E5C 00261DBC 7C 08 03 A6 */ mtlr r0 +/* 80264E60 00261DC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80264E64 00261DC4 4E 80 00 20 */ blr + +.global sub_80264e68 +sub_80264e68: +/* 80264E68 00261DC8 80 63 00 00 */ lwz r3, 0(r3) +/* 80264E6C 00261DCC 80 04 00 00 */ lwz r0, 0(r4) +/* 80264E70 00261DD0 7C 03 00 50 */ subf r0, r3, r0 +/* 80264E74 00261DD4 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80264E78 00261DD8 7C 60 01 94 */ addze r3, r0 +/* 80264E7C 00261DDC 4E 80 00 20 */ blr + +.global sub_80264e80 +sub_80264e80: +/* 80264E80 00261DE0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80264E84 00261DE4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264E88 00261DE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264E8C 00261DEC 40 80 00 1C */ bge lbl_80264EA8 +/* 80264E90 00261DF0 80 C3 00 04 */ lwz r6, 4(r3) +/* 80264E94 00261DF4 D0 23 00 00 */ stfs f1, 0(r3) +/* 80264E98 00261DF8 80 04 00 04 */ lwz r0, 4(r4) +/* 80264E9C 00261DFC 90 03 00 04 */ stw r0, 4(r3) +/* 80264EA0 00261E00 D0 04 00 00 */ stfs f0, 0(r4) +/* 80264EA4 00261E04 90 C4 00 04 */ stw r6, 4(r4) +lbl_80264EA8: +/* 80264EA8 00261E08 C0 05 00 00 */ lfs f0, 0(r5) +/* 80264EAC 00261E0C C0 24 00 00 */ lfs f1, 0(r4) +/* 80264EB0 00261E10 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80264EB4 00261E14 4C 80 00 20 */ bgelr +/* 80264EB8 00261E18 80 C5 00 04 */ lwz r6, 4(r5) +/* 80264EBC 00261E1C D0 25 00 00 */ stfs f1, 0(r5) +/* 80264EC0 00261E20 80 04 00 04 */ lwz r0, 4(r4) +/* 80264EC4 00261E24 90 05 00 04 */ stw r0, 4(r5) +/* 80264EC8 00261E28 C0 23 00 00 */ lfs f1, 0(r3) +/* 80264ECC 00261E2C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80264ED0 00261E30 40 80 00 1C */ bge lbl_80264EEC +/* 80264ED4 00261E34 D0 24 00 00 */ stfs f1, 0(r4) +/* 80264ED8 00261E38 80 03 00 04 */ lwz r0, 4(r3) +/* 80264EDC 00261E3C 90 04 00 04 */ stw r0, 4(r4) +/* 80264EE0 00261E40 D0 03 00 00 */ stfs f0, 0(r3) +/* 80264EE4 00261E44 90 C3 00 04 */ stw r6, 4(r3) +/* 80264EE8 00261E48 4E 80 00 20 */ blr +lbl_80264EEC: +/* 80264EEC 00261E4C D0 04 00 00 */ stfs f0, 0(r4) +/* 80264EF0 00261E50 90 C4 00 04 */ stw r6, 4(r4) +/* 80264EF4 00261E54 4E 80 00 20 */ blr + +.global sub_80264ef8 +sub_80264ef8: +/* 80264EF8 00261E58 80 A3 00 00 */ lwz r5, 0(r3) +/* 80264EFC 00261E5C 38 A5 00 08 */ addi r5, r5, 8 +/* 80264F00 00261E60 48 00 00 54 */ b lbl_80264F54 +lbl_80264F04: +/* 80264F04 00261E64 C0 25 00 00 */ lfs f1, 0(r5) +/* 80264F08 00261E68 7C A8 2B 78 */ mr r8, r5 +/* 80264F0C 00261E6C 80 C5 00 04 */ lwz r6, 4(r5) +/* 80264F10 00261E70 38 E5 FF F8 */ addi r7, r5, -8 +/* 80264F14 00261E74 48 00 00 1C */ b lbl_80264F30 +lbl_80264F18: +/* 80264F18 00261E78 C0 07 00 00 */ lfs f0, 0(r7) +/* 80264F1C 00261E7C D0 08 00 00 */ stfs f0, 0(r8) +/* 80264F20 00261E80 80 07 00 04 */ lwz r0, 4(r7) +/* 80264F24 00261E84 38 E7 FF F8 */ addi r7, r7, -8 +/* 80264F28 00261E88 90 08 00 04 */ stw r0, 4(r8) +/* 80264F2C 00261E8C 39 08 FF F8 */ addi r8, r8, -8 +lbl_80264F30: +/* 80264F30 00261E90 80 03 00 00 */ lwz r0, 0(r3) +/* 80264F34 00261E94 7C 00 40 40 */ cmplw r0, r8 +/* 80264F38 00261E98 40 80 00 10 */ bge lbl_80264F48 +/* 80264F3C 00261E9C C0 07 00 00 */ lfs f0, 0(r7) +/* 80264F40 00261EA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264F44 00261EA4 41 80 FF D4 */ blt lbl_80264F18 +lbl_80264F48: +/* 80264F48 00261EA8 D0 28 00 00 */ stfs f1, 0(r8) +/* 80264F4C 00261EAC 38 A5 00 08 */ addi r5, r5, 8 +/* 80264F50 00261EB0 90 C8 00 04 */ stw r6, 4(r8) +lbl_80264F54: +/* 80264F54 00261EB4 80 04 00 00 */ lwz r0, 0(r4) +/* 80264F58 00261EB8 7C 05 00 40 */ cmplw r5, r0 +/* 80264F5C 00261EBC 41 80 FF A8 */ blt lbl_80264F04 + +.global sub_80264f60 +sub_80264f60: +/* 80264F60 00261EC0 4E 80 00 20 */ blr + +.global __sinit_CNewFlameThrower_cpp +__sinit_CNewFlameThrower_cpp: +/* 80264F64 00261EC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80264F68 00261EC8 7C 08 02 A6 */ mflr r0 +/* 80264F6C 00261ECC 38 60 00 00 */ li r3, 0 +/* 80264F70 00261ED0 38 80 00 01 */ li r4, 1 +/* 80264F74 00261ED4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80264F78 00261ED8 80 AD 98 08 */ lwz r5, lbl_805A83C8@sda21(r13) +/* 80264F7C 00261EDC 48 12 4F 79 */ bl __shl2i +/* 80264F80 00261EE0 3C A0 80 47 */ lis r5, lbl_8046DCA8@ha +/* 80264F84 00261EE4 38 E0 00 02 */ li r7, 2 +/* 80264F88 00261EE8 38 A5 DC A8 */ addi r5, r5, lbl_8046DCA8@l +/* 80264F8C 00261EEC 38 C0 FF FF */ li r6, -1 +/* 80264F90 00261EF0 38 00 00 00 */ li r0, 0 +/* 80264F94 00261EF4 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80264F98 00261EF8 90 C5 00 04 */ stw r6, 4(r5) +/* 80264F9C 00261EFC 90 05 00 00 */ stw r0, 0(r5) +/* 80264FA0 00261F00 90 85 00 0C */ stw r4, 0xc(r5) +/* 80264FA4 00261F04 90 65 00 08 */ stw r3, 8(r5) +/* 80264FA8 00261F08 90 E5 00 10 */ stw r7, 0x10(r5) +/* 80264FAC 00261F0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80264FB0 00261F10 7C 08 03 A6 */ mtlr r0 +/* 80264FB4 00261F14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80264FB8 00261F18 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Weapons/WeaponTypes.s b/asm/Kyoto_CWD/Weapons/WeaponTypes.s new file mode 100644 index 00000000..b471cba5 --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/WeaponTypes.s @@ -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__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" +"do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId": +/* 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 diff --git a/asm/Kyoto_CWD/main.s b/asm/Kyoto_CWD/main.s index bf2341cc..2d67cb0c 100644 --- a/asm/Kyoto_CWD/main.s +++ b/asm/Kyoto_CWD/main.s @@ -5469,7 +5469,7 @@ lbl_800074A8: /* 800074C4 00004424 38 61 00 08 */ addi r3, r1, 8 /* 800074C8 00004428 48 00 11 D5 */ bl sub_8000869c /* 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 /* 800074D8 00004438 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800074DC 0000443C 90 0D A0 70 */ stw r0, gGuiSystem@sda21(r13) diff --git a/asm/MetaRender/CCubeRenderer.s b/asm/MetaRender/CCubeRenderer.s new file mode 100644 index 00000000..caa9321b --- /dev/null +++ b/asm/MetaRender/CCubeRenderer.s @@ -0,0 +1,12296 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__17CDecalDescriptionFv +__ct__17CDecalDescriptionFv: +/* 802B5CE4 002B2C44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5CE8 002B2C48 7C 08 02 A6 */ mflr r0 +/* 802B5CEC 002B2C4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5CF0 002B2C50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B5CF4 002B2C54 7C 7F 1B 78 */ mr r31, r3 +/* 802B5CF8 002B2C58 4B FF FF C9 */ bl sub_802b5cc0 +/* 802B5CFC 002B2C5C 38 7F 00 1C */ addi r3, r31, 0x1c +/* 802B5D00 002B2C60 4B FF FF C1 */ bl sub_802b5cc0 +/* 802B5D04 002B2C64 38 80 00 00 */ li r4, 0 +/* 802B5D08 002B2C68 7F E3 FB 78 */ mr r3, r31 +/* 802B5D0C 002B2C6C 98 9F 00 44 */ stb r4, 0x44(r31) +/* 802B5D10 002B2C70 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802B5D14 002B2C74 90 9F 00 4C */ stw r4, 0x4c(r31) +/* 802B5D18 002B2C78 90 9F 00 50 */ stw r4, 0x50(r31) +/* 802B5D1C 002B2C7C 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802B5D20 002B2C80 90 9F 00 58 */ stw r4, 0x58(r31) +/* 802B5D24 002B2C84 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 802B5D28 002B2C88 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802B5D2C 002B2C8C 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 802B5D30 002B2C90 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 802B5D34 002B2C94 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802B5D38 002B2C98 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 802B5D3C 002B2C9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B5D40 002B2CA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5D44 002B2CA4 7C 08 03 A6 */ mtlr r0 +/* 802B5D48 002B2CA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5D4C 002B2CAC 4E 80 00 20 */ blr + +.global DrawString__13CCubeRendererFPCcii +DrawString__13CCubeRendererFPCcii: +/* 802B5D50 002B2CB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B5D54 002B2CB4 7C 08 02 A6 */ mflr r0 +/* 802B5D58 002B2CB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B5D5C 002B2CBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B5D60 002B2CC0 7C DF 33 78 */ mr r31, r6 +/* 802B5D64 002B2CC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B5D68 002B2CC8 7C BE 2B 78 */ mr r30, r5 +/* 802B5D6C 002B2CCC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B5D70 002B2CD0 7C 9D 23 78 */ mr r29, r4 +/* 802B5D74 002B2CD4 93 81 00 10 */ stw r28, 0x10(r1) +/* 802B5D78 002B2CD8 7C 7C 1B 78 */ mr r28, r3 +/* 802B5D7C 002B2CDC 48 09 42 31 */ bl White__6CColorFv +/* 802B5D80 002B2CE0 7C 67 1B 78 */ mr r7, r3 +/* 802B5D84 002B2CE4 7F A4 EB 78 */ mr r4, r29 +/* 802B5D88 002B2CE8 7F C5 F3 78 */ mr r5, r30 +/* 802B5D8C 002B2CEC 7F E6 FB 78 */ mr r6, r31 +/* 802B5D90 002B2CF0 38 7C 00 10 */ addi r3, r28, 0x10 +/* 802B5D94 002B2CF4 48 05 02 05 */ bl DrawString__5CFontCFPCcllRC6CColor +/* 802B5D98 002B2CF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B5D9C 002B2CFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B5DA0 002B2D00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B5DA4 002B2D04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B5DA8 002B2D08 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802B5DAC 002B2D0C 7C 08 03 A6 */ mtlr r0 +/* 802B5DB0 002B2D10 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B5DB4 002B2D14 4E 80 00 20 */ blr + +.global DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf +DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf: +/* 802B5DB8 002B2D18 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B5DBC 002B2D1C 7C 08 02 A6 */ mflr r0 +/* 802B5DC0 002B2D20 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B5DC4 002B2D24 BE C1 00 48 */ stmw r22, 0x48(r1) +/* 802B5DC8 002B2D28 7C 76 1B 78 */ mr r22, r3 +/* 802B5DCC 002B2D2C 7C 97 23 78 */ mr r23, r4 +/* 802B5DD0 002B2D30 83 A3 00 20 */ lwz r29, 0x20(r3) +/* 802B5DD4 002B2D34 48 00 01 7C */ b lbl_802B5F50 +lbl_802B5DD8: +/* 802B5DD8 002B2D38 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802B5DDC 002B2D3C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B5DE0 002B2D40 41 82 01 6C */ beq lbl_802B5F4C +/* 802B5DE4 002B2D44 38 00 00 00 */ li r0, 0 +/* 802B5DE8 002B2D48 7F E3 FB 78 */ mr r3, r31 +/* 802B5DEC 002B2D4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B5DF0 002B2D50 7E E5 BB 78 */ mr r5, r23 +/* 802B5DF4 002B2D54 38 81 00 20 */ addi r4, r1, 0x20 +/* 802B5DF8 002B2D58 90 01 00 28 */ stw r0, 0x28(r1) +/* 802B5DFC 002B2D5C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802B5E00 002B2D60 4B FF 8A 55 */ bl "FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox" +/* 802B5E04 002B2D64 3B 60 00 00 */ li r27, 0 +/* 802B5E08 002B2D68 3B 40 00 00 */ li r26, 0 +/* 802B5E0C 002B2D6C 3B 80 00 00 */ li r28, 0 +/* 802B5E10 002B2D70 48 00 00 F0 */ b lbl_802B5F00 +lbl_802B5E14: +/* 802B5E14 002B2D74 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802B5E18 002B2D78 7F 23 E0 2E */ lwzx r25, r3, r28 +/* 802B5E1C 002B2D7C 28 19 00 00 */ cmplwi r25, 0 +/* 802B5E20 002B2D80 41 82 00 D4 */ beq lbl_802B5EF4 +/* 802B5E24 002B2D84 3B 00 00 00 */ li r24, 0 +lbl_802B5E28: +/* 802B5E28 002B2D88 38 00 00 01 */ li r0, 1 +/* 802B5E2C 002B2D8C 7C 00 C0 30 */ slw r0, r0, r24 +/* 802B5E30 002B2D90 7F 20 00 39 */ and. r0, r25, r0 +/* 802B5E34 002B2D94 41 82 00 B4 */ beq lbl_802B5EE8 +/* 802B5E38 002B2D98 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 802B5E3C 002B2D9C 7C 1A C2 14 */ add r0, r26, r24 +/* 802B5E40 002B2DA0 54 03 18 38 */ slwi r3, r0, 3 +/* 802B5E44 002B2DA4 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802B5E48 002B2DA8 38 03 00 04 */ addi r0, r3, 4 +/* 802B5E4C 002B2DAC 7F C4 00 2E */ lwzx r30, r4, r0 +/* 802B5E50 002B2DB0 7F C3 F3 78 */ mr r3, r30 +/* 802B5E54 002B2DB4 48 05 17 CD */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B5E58 002B2DB8 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B5E5C 002B2DBC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802B5E60 002B2DC0 48 00 00 7C */ b lbl_802B5EDC +lbl_802B5E64: +/* 802B5E64 002B2DC4 38 61 00 30 */ addi r3, r1, 0x30 +/* 802B5E68 002B2DC8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B5E6C 002B2DCC 48 09 24 45 */ bl GetBounds__12CCubeSurfaceCFv +/* 802B5E70 002B2DD0 7E E4 BB 78 */ mr r4, r23 +/* 802B5E74 002B2DD4 38 61 00 30 */ addi r3, r1, 0x30 +/* 802B5E78 002B2DD8 48 08 1D 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B5E7C 002B2DDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B5E80 002B2DE0 41 82 00 50 */ beq lbl_802B5ED0 +/* 802B5E84 002B2DE4 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 802B5E88 002B2DE8 7F C4 F3 78 */ mr r4, r30 +/* 802B5E8C 002B2DEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B5E90 002B2DF0 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B5E94 002B2DF4 48 05 16 79 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 802B5E98 002B2DF8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802B5E9C 002B2DFC 80 04 00 04 */ lwz r0, 4(r4) +/* 802B5EA0 002B2E00 54 03 10 3A */ slwi r3, r0, 2 +/* 802B5EA4 002B2E04 38 03 00 08 */ addi r0, r3, 8 +/* 802B5EA8 002B2E08 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802B5EAC 002B2E0C 48 05 20 51 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 802B5EB0 002B2E10 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 802B5EB4 002B2E14 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 802B5EB8 002B2E18 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802B5EBC 002B2E1C 38 63 00 4B */ addi r3, r3, 0x4b +/* 802B5EC0 002B2E20 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 802B5EC4 002B2E24 54 04 00 7E */ clrlwi r4, r0, 1 +/* 802B5EC8 002B2E28 7C 65 1A 14 */ add r3, r5, r3 +/* 802B5ECC 002B2E2C 48 05 27 21 */ bl CallDisplayList__3CGXFPCvUl +lbl_802B5ED0: +/* 802B5ED0 002B2E30 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802B5ED4 002B2E34 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B5ED8 002B2E38 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_802B5EDC: +/* 802B5EDC 002B2E3C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802B5EE0 002B2E40 28 00 00 00 */ cmplwi r0, 0 +/* 802B5EE4 002B2E44 40 82 FF 80 */ bne lbl_802B5E64 +lbl_802B5EE8: +/* 802B5EE8 002B2E48 3B 18 00 01 */ addi r24, r24, 1 +/* 802B5EEC 002B2E4C 2C 18 00 20 */ cmpwi r24, 0x20 +/* 802B5EF0 002B2E50 41 80 FF 38 */ blt lbl_802B5E28 +lbl_802B5EF4: +/* 802B5EF4 002B2E54 3B 9C 00 04 */ addi r28, r28, 4 +/* 802B5EF8 002B2E58 3B 7B 00 01 */ addi r27, r27, 1 +/* 802B5EFC 002B2E5C 3B 5A 00 20 */ addi r26, r26, 0x20 +lbl_802B5F00: +/* 802B5F00 002B2E60 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B5F04 002B2E64 7C 1B 00 40 */ cmplw r27, r0 +/* 802B5F08 002B2E68 41 80 FF 0C */ blt lbl_802B5E14 +/* 802B5F0C 002B2E6C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B5F10 002B2E70 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802B5F14 002B2E74 54 00 10 3A */ slwi r0, r0, 2 +/* 802B5F18 002B2E78 7C 03 02 14 */ add r0, r3, r0 +/* 802B5F1C 002B2E7C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B5F20 002B2E80 7C 64 1B 78 */ mr r4, r3 +/* 802B5F24 002B2E84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5F28 002B2E88 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B5F2C 002B2E8C 90 61 00 08 */ stw r3, 8(r1) +/* 802B5F30 002B2E90 48 00 00 08 */ b lbl_802B5F38 +lbl_802B5F34: +/* 802B5F34 002B2E94 38 84 00 04 */ addi r4, r4, 4 +lbl_802B5F38: +/* 802B5F38 002B2E98 7C 04 00 40 */ cmplw r4, r0 +/* 802B5F3C 002B2E9C 40 82 FF F8 */ bne lbl_802B5F34 +/* 802B5F40 002B2EA0 28 03 00 00 */ cmplwi r3, 0 +/* 802B5F44 002B2EA4 41 82 00 08 */ beq lbl_802B5F4C +/* 802B5F48 002B2EA8 48 05 F9 E9 */ bl Free__7CMemoryFPCv +lbl_802B5F4C: +/* 802B5F4C 002B2EAC 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B5F50: +/* 802B5F50 002B2EB0 80 16 00 24 */ lwz r0, 0x24(r22) +/* 802B5F54 002B2EB4 7C 1D 00 40 */ cmplw r29, r0 +/* 802B5F58 002B2EB8 40 82 FE 80 */ bne lbl_802B5DD8 +/* 802B5F5C 002B2EBC BA C1 00 48 */ lmw r22, 0x48(r1) +/* 802B5F60 002B2EC0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B5F64 002B2EC4 7C 08 03 A6 */ mtlr r0 +/* 802B5F68 002B2EC8 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B5F6C 002B2ECC 4E 80 00 20 */ blr + +.global AllocatePhazonSuitMaskTexture__13CCubeRendererFv +AllocatePhazonSuitMaskTexture__13CCubeRendererFv: +/* 802B5F70 002B2ED0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5F74 002B2ED4 7C 08 02 A6 */ mflr r0 +/* 802B5F78 002B2ED8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5F7C 002B2EDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B5F80 002B2EE0 93 C1 00 08 */ stw r30, 8(r1) +/* 802B5F84 002B2EE4 7C 7E 1B 78 */ mr r30, r3 +/* 802B5F88 002B2EE8 38 60 00 01 */ li r3, 1 +/* 802B5F8C 002B2EEC 88 1E 03 18 */ lbz r0, 0x318(r30) +/* 802B5F90 002B2EF0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802B5F94 002B2EF4 98 1E 03 18 */ stb r0, 0x318(r30) +/* 802B5F98 002B2EF8 80 1E 03 14 */ lwz r0, 0x314(r30) +/* 802B5F9C 002B2EFC 28 00 00 00 */ cmplwi r0, 0 +/* 802B5FA0 002B2F00 40 82 00 60 */ bne lbl_802B6000 +/* 802B5FA4 002B2F04 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802B5FA8 002B2F08 38 60 00 68 */ li r3, 0x68 +/* 802B5FAC 002B2F0C 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802B5FB0 002B2F10 38 A0 00 00 */ li r5, 0 +/* 802B5FB4 002B2F14 48 05 F8 B9 */ bl __nw__FUlPCcPCc +/* 802B5FB8 002B2F18 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B5FBC 002B2F1C 41 82 00 34 */ beq lbl_802B5FF0 +/* 802B5FC0 002B2F20 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 802B5FC4 002B2F24 38 80 00 01 */ li r4, 1 +/* 802B5FC8 002B2F28 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l +/* 802B5FCC 002B2F2C 38 E0 00 01 */ li r7, 1 +/* 802B5FD0 002B2F30 80 A6 00 08 */ lwz r5, 8(r6) +/* 802B5FD4 002B2F34 80 06 00 0C */ lwz r0, 0xc(r6) +/* 802B5FD8 002B2F38 7C A5 16 70 */ srawi r5, r5, 2 +/* 802B5FDC 002B2F3C 7C 00 16 70 */ srawi r0, r0, 2 +/* 802B5FE0 002B2F40 7C A5 07 34 */ extsh r5, r5 +/* 802B5FE4 002B2F44 7C 06 07 34 */ extsh r6, r0 +/* 802B5FE8 002B2F48 48 05 9E 45 */ bl __ct__8CTextureF12ETexelFormatssi +/* 802B5FEC 002B2F4C 7C 7F 1B 78 */ mr r31, r3 +lbl_802B5FF0: +/* 802B5FF0 002B2F50 80 7E 03 14 */ lwz r3, 0x314(r30) +/* 802B5FF4 002B2F54 38 80 00 01 */ li r4, 1 +/* 802B5FF8 002B2F58 48 05 9A 01 */ bl __dt__8CTextureFv +/* 802B5FFC 002B2F5C 93 FE 03 14 */ stw r31, 0x314(r30) +lbl_802B6000: +/* 802B6000 002B2F60 38 00 00 02 */ li r0, 2 +/* 802B6004 002B2F64 90 1E 03 10 */ stw r0, 0x310(r30) +/* 802B6008 002B2F68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B600C 002B2F6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B6010 002B2F70 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B6014 002B2F74 7C 08 03 A6 */ mtlr r0 +/* 802B6018 002B2F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B601C 002B2F7C 4E 80 00 20 */ blr + +.global "DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff" +"DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff": +/* 802B6020 002B2F80 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802B6024 002B2F84 7C 08 02 A6 */ mflr r0 +/* 802B6028 002B2F88 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802B602C 002B2F8C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802B6030 002B2F90 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802B6034 002B2F94 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 802B6038 002B2F98 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 802B603C 002B2F9C DB A1 00 80 */ stfd f29, 0x80(r1) +/* 802B6040 002B2FA0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 802B6044 002B2FA4 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 802B6048 002B2FA8 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 802B604C 002B2FAC 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B6050 002B2FB0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802B6054 002B2FB4 93 A1 00 64 */ stw r29, 0x64(r1) +/* 802B6058 002B2FB8 93 81 00 60 */ stw r28, 0x60(r1) +/* 802B605C 002B2FBC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B6060 002B2FC0 FF 80 08 90 */ fmr f28, f1 +/* 802B6064 002B2FC4 FF A0 10 90 */ fmr f29, f2 +/* 802B6068 002B2FC8 7C 7C 1B 78 */ mr r28, r3 +/* 802B606C 002B2FCC FF C0 18 90 */ fmr f30, f3 +/* 802B6070 002B2FD0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802B6074 002B2FD4 FF E0 20 90 */ fmr f31, f4 +/* 802B6078 002B2FD8 7C 9D 23 78 */ mr r29, r4 +/* 802B607C 002B2FDC 7C BE 2B 78 */ mr r30, r5 +/* 802B6080 002B2FE0 7C DF 33 78 */ mr r31, r6 +/* 802B6084 002B2FE4 41 82 01 70 */ beq lbl_802B61F4 +/* 802B6088 002B2FE8 80 1C 03 10 */ lwz r0, 0x310(r28) +/* 802B608C 002B2FEC 2C 00 00 00 */ cmpwi r0, 0 +/* 802B6090 002B2FF0 41 82 01 64 */ beq lbl_802B61F4 +/* 802B6094 002B2FF4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B6098 002B2FF8 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B609C 002B2FFC 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B60A0 002B3000 48 05 CA D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B60A4 002B3004 48 05 3D B9 */ bl GetProjectionState__9CGraphicsFv +/* 802B60A8 002B3008 88 03 00 00 */ lbz r0, 0(r3) +/* 802B60AC 002B300C 98 01 00 0C */ stb r0, 0xc(r1) +/* 802B60B0 002B3010 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B60B4 002B3014 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B60B8 002B3018 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B60BC 002B301C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B60C0 002B3020 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802B60C4 002B3024 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802B60C8 002B3028 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802B60CC 002B302C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802B60D0 002B3030 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802B60D4 002B3034 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802B60D8 002B3038 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802B60DC 002B303C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802B60E0 002B3040 80 BC 03 14 */ lwz r5, 0x314(r28) +/* 802B60E4 002B3044 28 05 00 00 */ cmplwi r5, 0 +/* 802B60E8 002B3048 41 82 01 18 */ beq lbl_802B6200 +/* 802B60EC 002B304C 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802B60F0 002B3050 A8 85 00 04 */ lha r4, 4(r5) +/* 802B60F4 002B3054 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 802B60F8 002B3058 80 03 00 08 */ lwz r0, 8(r3) +/* 802B60FC 002B305C 7C 00 16 70 */ srawi r0, r0, 2 +/* 802B6100 002B3060 7C 04 00 00 */ cmpw r4, r0 +/* 802B6104 002B3064 40 82 00 FC */ bne lbl_802B6200 +/* 802B6108 002B3068 80 03 00 0C */ lwz r0, 0xc(r3) +/* 802B610C 002B306C A8 65 00 06 */ lha r3, 6(r5) +/* 802B6110 002B3070 7C 00 16 70 */ srawi r0, r0, 2 +/* 802B6114 002B3074 7C 03 00 00 */ cmpw r3, r0 +/* 802B6118 002B3078 41 82 00 08 */ beq lbl_802B6120 +/* 802B611C 002B307C 48 00 00 E4 */ b lbl_802B6200 +lbl_802B6120: +/* 802B6120 002B3080 FC 20 E0 90 */ fmr f1, f28 +/* 802B6124 002B3084 7F 83 E3 78 */ mr r3, r28 +/* 802B6128 002B3088 FC 40 E0 90 */ fmr f2, f28 +/* 802B612C 002B308C 48 00 0A 4D */ bl DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff +/* 802B6130 002B3090 80 7C 03 14 */ lwz r3, 0x314(r28) +/* 802B6134 002B3094 38 A0 00 01 */ li r5, 1 +/* 802B6138 002B3098 38 80 00 00 */ li r4, 0 +/* 802B613C 002B309C 88 03 00 0A */ lbz r0, 0xa(r3) +/* 802B6140 002B30A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802B6144 002B30A4 98 03 00 0A */ stb r0, 0xa(r3) +/* 802B6148 002B30A8 80 7C 03 14 */ lwz r3, 0x314(r28) +/* 802B614C 002B30AC 48 05 84 89 */ bl GetBitMapData__8CTextureFi +/* 802B6150 002B30B0 7C 66 1B 78 */ mr r6, r3 +/* 802B6154 002B30B4 7F 83 E3 78 */ mr r3, r28 +/* 802B6158 002B30B8 38 80 00 04 */ li r4, 4 +/* 802B615C 002B30BC 38 A0 00 00 */ li r5, 0 +/* 802B6160 002B30C0 38 E0 00 27 */ li r7, 0x27 +/* 802B6164 002B30C4 39 00 00 01 */ li r8, 1 +/* 802B6168 002B30C8 48 00 11 E5 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B616C 002B30CC 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B6170 002B30D0 28 00 00 00 */ cmplwi r0, 0 +/* 802B6174 002B30D4 41 82 00 50 */ beq lbl_802B61C4 +/* 802B6178 002B30D8 83 DE 00 08 */ lwz r30, 8(r30) +/* 802B617C 002B30DC 28 1E 00 00 */ cmplwi r30, 0 +/* 802B6180 002B30E0 41 82 00 44 */ beq lbl_802B61C4 +/* 802B6184 002B30E4 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B6188 002B30E8 38 61 00 08 */ addi r3, r1, 8 +/* 802B618C 002B30EC FC 40 08 90 */ fmr f2, f1 +/* 802B6190 002B30F0 FC 60 08 90 */ fmr f3, f1 +/* 802B6194 002B30F4 FC 80 08 90 */ fmr f4, f1 +/* 802B6198 002B30F8 48 0A D2 55 */ bl __ct__6CColorFffff +/* 802B619C 002B30FC FC 20 E8 90 */ fmr f1, f29 +/* 802B61A0 002B3100 7C 64 1B 78 */ mr r4, r3 +/* 802B61A4 002B3104 FC 40 F0 90 */ fmr f2, f30 +/* 802B61A8 002B3108 80 BC 03 14 */ lwz r5, 0x314(r28) +/* 802B61AC 002B310C FC 60 F8 90 */ fmr f3, f31 +/* 802B61B0 002B3110 7F 83 E3 78 */ mr r3, r28 +/* 802B61B4 002B3114 7F C6 F3 78 */ mr r6, r30 +/* 802B61B8 002B3118 7F E7 FB 78 */ mr r7, r31 +/* 802B61BC 002B311C 48 00 00 85 */ bl ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor +/* 802B61C0 002B3120 48 00 00 14 */ b lbl_802B61D4 +lbl_802B61C4: +/* 802B61C4 002B3124 80 BC 03 14 */ lwz r5, 0x314(r28) +/* 802B61C8 002B3128 7F 83 E3 78 */ mr r3, r28 +/* 802B61CC 002B312C 7F A4 EB 78 */ mr r4, r29 +/* 802B61D0 002B3130 48 00 07 69 */ bl ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture +lbl_802B61D4: +/* 802B61D4 002B3134 80 7C 03 14 */ lwz r3, 0x314(r28) +/* 802B61D8 002B3138 48 05 87 45 */ bl UnLock__8CTextureFv +/* 802B61DC 002B313C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B61E0 002B3140 48 05 65 6D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B61E4 002B3144 38 61 00 0C */ addi r3, r1, 0xc +/* 802B61E8 002B3148 48 05 3C 19 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802B61EC 002B314C 38 00 00 02 */ li r0, 2 +/* 802B61F0 002B3150 90 1C 03 10 */ stw r0, 0x310(r28) +lbl_802B61F4: +/* 802B61F4 002B3154 38 60 00 00 */ li r3, 0 +/* 802B61F8 002B3158 38 80 00 00 */ li r4, 0 +/* 802B61FC 002B315C 48 0C 5E E5 */ bl GXSetDstAlpha +lbl_802B6200: +/* 802B6200 002B3160 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802B6204 002B3164 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802B6208 002B3168 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 802B620C 002B316C CB C1 00 90 */ lfd f30, 0x90(r1) +/* 802B6210 002B3170 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 802B6214 002B3174 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 802B6218 002B3178 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 802B621C 002B317C CB 81 00 70 */ lfd f28, 0x70(r1) +/* 802B6220 002B3180 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B6224 002B3184 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802B6228 002B3188 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802B622C 002B318C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802B6230 002B3190 83 81 00 60 */ lwz r28, 0x60(r1) +/* 802B6234 002B3194 7C 08 03 A6 */ mtlr r0 +/* 802B6238 002B3198 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802B623C 002B319C 4E 80 00 20 */ blr + +.global ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor +ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor: +/* 802B6240 002B31A0 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 802B6244 002B31A4 7C 08 02 A6 */ mflr r0 +/* 802B6248 002B31A8 90 01 01 64 */ stw r0, 0x164(r1) +/* 802B624C 002B31AC DB E1 01 50 */ stfd f31, 0x150(r1) +/* 802B6250 002B31B0 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 802B6254 002B31B4 DB C1 01 40 */ stfd f30, 0x140(r1) +/* 802B6258 002B31B8 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 802B625C 002B31BC DB A1 01 30 */ stfd f29, 0x130(r1) +/* 802B6260 002B31C0 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 +/* 802B6264 002B31C4 BF 41 01 18 */ stmw r26, 0x118(r1) +/* 802B6268 002B31C8 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802B626C 002B31CC 7C 9D 23 78 */ mr r29, r4 +/* 802B6270 002B31D0 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 802B6274 002B31D4 FF A0 08 90 */ fmr f29, f1 +/* 802B6278 002B31D8 FF C0 10 90 */ fmr f30, f2 +/* 802B627C 002B31DC 83 E3 00 08 */ lwz r31, 8(r3) +/* 802B6280 002B31E0 7C BA 2B 78 */ mr r26, r5 +/* 802B6284 002B31E4 FF E0 18 90 */ fmr f31, f3 +/* 802B6288 002B31E8 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 802B628C 002B31EC 7C DB 33 78 */ mr r27, r6 +/* 802B6290 002B31F0 7C FC 3B 78 */ mr r28, r7 +/* 802B6294 002B31F4 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B6298 002B31F8 38 80 00 00 */ li r4, 0 +/* 802B629C 002B31FC 38 A0 00 00 */ li r5, 0 +/* 802B62A0 002B3200 48 05 E0 AD */ bl __ct__9CVector2iFii +/* 802B62A4 002B3204 7F E4 FB 78 */ mr r4, r31 +/* 802B62A8 002B3208 7F C5 F3 78 */ mr r5, r30 +/* 802B62AC 002B320C 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B62B0 002B3210 48 05 E0 9D */ bl __ct__9CVector2iFii +/* 802B62B4 002B3214 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B62B8 002B3218 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B62BC 002B321C FC 40 08 90 */ fmr f2, f1 +/* 802B62C0 002B3220 48 05 DF 41 */ bl __ct__9CVector2fFff +/* 802B62C4 002B3224 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B62C8 002B3228 38 61 00 44 */ addi r3, r1, 0x44 +/* 802B62CC 002B322C FC 40 08 90 */ fmr f2, f1 +/* 802B62D0 002B3230 48 05 DF 31 */ bl __ct__9CVector2fFff +/* 802B62D4 002B3234 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B62D8 002B3238 38 81 00 54 */ addi r4, r1, 0x54 +/* 802B62DC 002B323C 38 A1 00 5C */ addi r5, r1, 0x5c +/* 802B62E0 002B3240 48 05 DF FD */ bl __mi__FRC9CVector2iRC9CVector2i +/* 802B62E4 002B3244 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 802B62E8 002B3248 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B62EC 002B324C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802B62F0 002B3250 38 81 00 3C */ addi r4, r1, 0x3c +/* 802B62F4 002B3254 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802B62F8 002B3258 38 A0 00 02 */ li r5, 2 +/* 802B62FC 002B325C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B6300 002B3260 48 05 DF 4D */ bl __dv__FRC9CVector2ii +/* 802B6304 002B3264 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802B6308 002B3268 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802B630C 002B326C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802B6310 002B3270 2C 00 00 00 */ cmpwi r0, 0 +/* 802B6314 002B3274 90 61 00 34 */ stw r3, 0x34(r1) +/* 802B6318 002B3278 90 81 00 38 */ stw r4, 0x38(r1) +/* 802B631C 002B327C 40 81 05 F0 */ ble lbl_802B690C +/* 802B6320 002B3280 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802B6324 002B3284 2C 00 00 00 */ cmpwi r0, 0 +/* 802B6328 002B3288 41 81 00 08 */ bgt lbl_802B6330 +/* 802B632C 002B328C 48 00 05 E0 */ b lbl_802B690C +lbl_802B6330: +/* 802B6330 002B3290 80 CD A8 28 */ lwz r6, lbl_805A93E8@sda21(r13) +/* 802B6334 002B3294 38 A0 00 04 */ li r5, 4 +/* 802B6338 002B3298 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B633C 002B329C 48 05 3C E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B6340 002B32A0 7F 63 DB 78 */ mr r3, r27 +/* 802B6344 002B32A4 38 80 00 01 */ li r4, 1 +/* 802B6348 002B32A8 38 A0 00 01 */ li r5, 1 +/* 802B634C 002B32AC 48 05 93 F1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B6350 002B32B0 7F 43 D3 78 */ mr r3, r26 +/* 802B6354 002B32B4 38 80 00 02 */ li r4, 2 +/* 802B6358 002B32B8 38 A0 00 01 */ li r5, 1 +/* 802B635C 002B32BC 48 05 93 E1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B6360 002B32C0 38 60 00 00 */ li r3, 0 +/* 802B6364 002B32C4 38 80 00 0F */ li r4, 0xf +/* 802B6368 002B32C8 38 A0 00 0E */ li r5, 0xe +/* 802B636C 002B32CC 38 C0 00 08 */ li r6, 8 +/* 802B6370 002B32D0 38 E0 00 0F */ li r7, 0xf +/* 802B6374 002B32D4 48 05 28 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6378 002B32D8 38 60 00 00 */ li r3, 0 +/* 802B637C 002B32DC 38 80 00 00 */ li r4, 0 +/* 802B6380 002B32E0 38 A0 00 00 */ li r5, 0 +/* 802B6384 002B32E4 38 C0 00 00 */ li r6, 0 +/* 802B6388 002B32E8 38 E0 00 01 */ li r7, 1 +/* 802B638C 002B32EC 39 00 00 00 */ li r8, 0 +/* 802B6390 002B32F0 48 05 27 A9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6394 002B32F4 38 60 00 00 */ li r3, 0 +/* 802B6398 002B32F8 38 80 00 00 */ li r4, 0 +/* 802B639C 002B32FC 38 A0 00 04 */ li r5, 4 +/* 802B63A0 002B3300 38 C0 00 3C */ li r6, 0x3c +/* 802B63A4 002B3304 38 E0 00 00 */ li r7, 0 +/* 802B63A8 002B3308 39 00 00 7D */ li r8, 0x7d +/* 802B63AC 002B330C 48 05 23 21 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B63B0 002B3310 E0 3C A0 00 */ psq_l f1, 0(r28), 1, qr2 +/* 802B63B4 002B3314 E0 5C A0 03 */ psq_l f2, 3(r28), 1, qr2 +/* 802B63B8 002B3318 E0 BC A0 01 */ psq_l f5, 1(r28), 1, qr2 +/* 802B63BC 002B331C E1 1C A0 03 */ psq_l f8, 3(r28), 1, qr2 +/* 802B63C0 002B3320 E1 3C A0 02 */ psq_l f9, 2(r28), 1, qr2 +/* 802B63C4 002B3324 E1 5C A0 03 */ psq_l f10, 3(r28), 1, qr2 +/* 802B63C8 002B3328 E0 1C A0 03 */ psq_l f0, 3(r28), 1, qr2 +/* 802B63CC 002B332C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B63D0 002B3330 C0 62 C2 78 */ lfs f3, lbl_805ADF98@sda21(r2) +/* 802B63D4 002B3334 C0 82 C2 7C */ lfs f4, lbl_805ADF9C@sda21(r2) +/* 802B63D8 002B3338 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802B63DC 002B333C EC E3 00 72 */ fmuls f7, f3, f1 +/* 802B63E0 002B3340 EC 23 00 B2 */ fmuls f1, f3, f2 +/* 802B63E4 002B3344 EC C3 01 72 */ fmuls f6, f3, f5 +/* 802B63E8 002B3348 EC 43 02 32 */ fmuls f2, f3, f8 +/* 802B63EC 002B334C EC A3 02 72 */ fmuls f5, f3, f9 +/* 802B63F0 002B3350 EC 63 02 B2 */ fmuls f3, f3, f10 +/* 802B63F4 002B3354 EC 27 00 72 */ fmuls f1, f7, f1 +/* 802B63F8 002B3358 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 802B63FC 002B335C EC 65 00 F2 */ fmuls f3, f5, f3 +/* 802B6400 002B3360 EC 84 00 32 */ fmuls f4, f4, f0 +/* 802B6404 002B3364 48 0A CF E9 */ bl __ct__6CColorFffff +/* 802B6408 002B3368 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B640C 002B336C 38 60 00 00 */ li r3, 0 +/* 802B6410 002B3370 48 05 28 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B6414 002B3374 38 60 00 00 */ li r3, 0 +/* 802B6418 002B3378 38 80 00 0C */ li r4, 0xc +/* 802B641C 002B337C 48 05 25 C5 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B6420 002B3380 38 60 00 01 */ li r3, 1 +/* 802B6424 002B3384 38 80 00 00 */ li r4, 0 +/* 802B6428 002B3388 38 A0 00 05 */ li r5, 5 +/* 802B642C 002B338C 38 C0 00 3C */ li r6, 0x3c +/* 802B6430 002B3390 38 E0 00 00 */ li r7, 0 +/* 802B6434 002B3394 39 00 00 7D */ li r8, 0x7d +/* 802B6438 002B3398 48 05 22 95 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B643C 002B339C 38 60 00 02 */ li r3, 2 +/* 802B6440 002B33A0 38 80 00 00 */ li r4, 0 +/* 802B6444 002B33A4 38 A0 00 06 */ li r5, 6 +/* 802B6448 002B33A8 38 C0 00 3C */ li r6, 0x3c +/* 802B644C 002B33AC 38 E0 00 00 */ li r7, 0 +/* 802B6450 002B33B0 39 00 00 7D */ li r8, 0x7d +/* 802B6454 002B33B4 48 05 22 79 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B6458 002B33B8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802B645C 002B33BC 38 60 00 00 */ li r3, 0 +/* 802B6460 002B33C0 38 80 00 00 */ li r4, 0 +/* 802B6464 002B33C4 38 C0 00 FF */ li r6, 0xff +/* 802B6468 002B33C8 48 05 24 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B646C 002B33CC 38 60 00 01 */ li r3, 1 +/* 802B6470 002B33D0 38 80 00 02 */ li r4, 2 +/* 802B6474 002B33D4 38 A0 00 02 */ li r5, 2 +/* 802B6478 002B33D8 38 C0 00 04 */ li r6, 4 +/* 802B647C 002B33DC 48 05 24 D1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B6480 002B33E0 38 60 00 01 */ li r3, 1 +/* 802B6484 002B33E4 38 80 00 0F */ li r4, 0xf +/* 802B6488 002B33E8 38 A0 00 09 */ li r5, 9 +/* 802B648C 002B33EC 38 C0 00 00 */ li r6, 0 +/* 802B6490 002B33F0 38 E0 00 0F */ li r7, 0xf +/* 802B6494 002B33F4 48 05 27 59 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6498 002B33F8 38 60 00 01 */ li r3, 1 +/* 802B649C 002B33FC 38 80 00 00 */ li r4, 0 +/* 802B64A0 002B3400 38 A0 00 00 */ li r5, 0 +/* 802B64A4 002B3404 38 C0 00 00 */ li r6, 0 +/* 802B64A8 002B3408 38 E0 00 01 */ li r7, 1 +/* 802B64AC 002B340C 39 00 00 00 */ li r8, 0 +/* 802B64B0 002B3410 48 05 26 89 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B64B4 002B3414 38 60 00 01 */ li r3, 1 +/* 802B64B8 002B3418 38 80 00 1C */ li r4, 0x1c +/* 802B64BC 002B341C 48 05 24 E1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B64C0 002B3420 38 60 00 01 */ li r3, 1 +/* 802B64C4 002B3424 38 80 00 07 */ li r4, 7 +/* 802B64C8 002B3428 38 A0 00 04 */ li r5, 4 +/* 802B64CC 002B342C 38 C0 00 06 */ li r6, 6 +/* 802B64D0 002B3430 38 E0 00 07 */ li r7, 7 +/* 802B64D4 002B3434 48 05 26 C1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B64D8 002B3438 38 60 00 01 */ li r3, 1 +/* 802B64DC 002B343C 38 80 00 00 */ li r4, 0 +/* 802B64E0 002B3440 38 A0 00 00 */ li r5, 0 +/* 802B64E4 002B3444 38 C0 00 00 */ li r6, 0 +/* 802B64E8 002B3448 38 E0 00 01 */ li r7, 1 +/* 802B64EC 002B344C 39 00 00 00 */ li r8, 0 +/* 802B64F0 002B3450 48 05 25 91 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B64F4 002B3454 38 60 00 00 */ li r3, 0 +/* 802B64F8 002B3458 38 80 00 00 */ li r4, 0 +/* 802B64FC 002B345C 38 A0 00 00 */ li r5, 0 +/* 802B6500 002B3460 38 C0 00 01 */ li r6, 1 +/* 802B6504 002B3464 38 E0 00 00 */ li r7, 0 +/* 802B6508 002B3468 39 00 00 00 */ li r8, 0 +/* 802B650C 002B346C 39 20 00 02 */ li r9, 2 +/* 802B6510 002B3470 48 05 27 BD */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B6514 002B3474 48 09 3A A1 */ bl Black__6CColorFv +/* 802B6518 002B3478 7C 64 1B 78 */ mr r4, r3 +/* 802B651C 002B347C 38 60 00 00 */ li r3, 0 +/* 802B6520 002B3480 48 05 28 A5 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6524 002B3484 FC 60 E8 90 */ fmr f3, f29 +/* 802B6528 002B3488 C0 42 C2 80 */ lfs f2, lbl_805ADFA0@sda21(r2) +/* 802B652C 002B348C C0 02 C2 84 */ lfs f0, lbl_805ADFA4@sda21(r2) +/* 802B6530 002B3490 38 A0 00 01 */ li r5, 1 +/* 802B6534 002B3494 48 00 00 0C */ b lbl_802B6540 +lbl_802B6538: +/* 802B6538 002B3498 EC 63 00 B2 */ fmuls f3, f3, f2 +/* 802B653C 002B349C 38 A5 00 01 */ addi r5, r5, 1 +lbl_802B6540: +/* 802B6540 002B34A0 FC 20 1A 10 */ fabs f1, f3 +/* 802B6544 002B34A4 FC 20 08 18 */ frsp f1, f1 +/* 802B6548 002B34A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B654C 002B34AC 4C 41 13 82 */ cror 2, 1, 2 +/* 802B6550 002B34B0 41 82 FF E8 */ beq lbl_802B6538 +/* 802B6554 002B34B4 C0 42 C2 88 */ lfs f2, lbl_805ADFA8@sda21(r2) +/* 802B6558 002B34B8 C0 02 C2 8C */ lfs f0, lbl_805ADFAC@sda21(r2) +/* 802B655C 002B34BC 48 00 00 0C */ b lbl_802B6568 +lbl_802B6560: +/* 802B6560 002B34C0 EC 63 00 B2 */ fmuls f3, f3, f2 +/* 802B6564 002B34C4 38 A5 FF FF */ addi r5, r5, -1 +lbl_802B6568: +/* 802B6568 002B34C8 FC 20 1A 10 */ fabs f1, f3 +/* 802B656C 002B34CC FC 20 08 18 */ frsp f1, f1 +/* 802B6570 002B34D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B6574 002B34D4 41 80 FF EC */ blt lbl_802B6560 +/* 802B6578 002B34D8 3C 60 80 3D */ lis r3, lbl_803D6814@ha +/* 802B657C 002B34DC EC 3E 00 F2 */ fmuls f1, f30, f3 +/* 802B6580 002B34E0 39 23 68 14 */ addi r9, r3, lbl_803D6814@l +/* 802B6584 002B34E4 EC 1F 00 F2 */ fmuls f0, f31, f3 +/* 802B6588 002B34E8 81 09 00 00 */ lwz r8, 0(r9) +/* 802B658C 002B34EC 38 81 00 80 */ addi r4, r1, 0x80 +/* 802B6590 002B34F0 80 E9 00 08 */ lwz r7, 8(r9) +/* 802B6594 002B34F4 80 C9 00 10 */ lwz r6, 0x10(r9) +/* 802B6598 002B34F8 7C A5 07 74 */ extsb r5, r5 +/* 802B659C 002B34FC 80 09 00 14 */ lwz r0, 0x14(r9) +/* 802B65A0 002B3500 38 60 00 01 */ li r3, 1 +/* 802B65A4 002B3504 91 01 00 80 */ stw r8, 0x80(r1) +/* 802B65A8 002B3508 81 09 00 04 */ lwz r8, 4(r9) +/* 802B65AC 002B350C 90 E1 00 88 */ stw r7, 0x88(r1) +/* 802B65B0 002B3510 80 E9 00 0C */ lwz r7, 0xc(r9) +/* 802B65B4 002B3514 90 C1 00 90 */ stw r6, 0x90(r1) +/* 802B65B8 002B3518 90 01 00 94 */ stw r0, 0x94(r1) +/* 802B65BC 002B351C 91 01 00 84 */ stw r8, 0x84(r1) +/* 802B65C0 002B3520 90 E1 00 8C */ stw r7, 0x8c(r1) +/* 802B65C4 002B3524 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802B65C8 002B3528 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802B65CC 002B352C D0 61 00 90 */ stfs f3, 0x90(r1) +/* 802B65D0 002B3530 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802B65D4 002B3534 48 0C 48 F5 */ bl GXSetIndTexMtx +/* 802B65D8 002B3538 38 60 00 00 */ li r3, 0 +/* 802B65DC 002B353C 38 80 00 01 */ li r4, 1 +/* 802B65E0 002B3540 38 A0 00 01 */ li r5, 1 +/* 802B65E4 002B3544 48 0C 4B C1 */ bl GXSetIndTexOrder +/* 802B65E8 002B3548 38 00 00 00 */ li r0, 0 +/* 802B65EC 002B354C 38 60 00 00 */ li r3, 0 +/* 802B65F0 002B3550 90 01 00 08 */ stw r0, 8(r1) +/* 802B65F4 002B3554 38 80 00 00 */ li r4, 0 +/* 802B65F8 002B3558 38 A0 00 00 */ li r5, 0 +/* 802B65FC 002B355C 38 C0 00 07 */ li r6, 7 +/* 802B6600 002B3560 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B6604 002B3564 38 E0 00 01 */ li r7, 1 +/* 802B6608 002B3568 39 00 00 00 */ li r8, 0 +/* 802B660C 002B356C 39 20 00 00 */ li r9, 0 +/* 802B6610 002B3570 39 40 00 00 */ li r10, 0 +/* 802B6614 002B3574 48 05 21 79 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802B6618 002B3578 38 60 00 01 */ li r3, 1 +/* 802B661C 002B357C 48 05 20 75 */ bl SetNumIndStages__3CGXFUc +/* 802B6620 002B3580 38 60 00 02 */ li r3, 2 +/* 802B6624 002B3584 48 05 26 6D */ bl SetNumTevStages__3CGXFUc +/* 802B6628 002B3588 38 60 00 03 */ li r3, 3 +/* 802B662C 002B358C 48 05 27 E9 */ bl SetNumTexGens__3CGXFUc +/* 802B6630 002B3590 38 60 00 01 */ li r3, 1 +/* 802B6634 002B3594 48 05 28 1D */ bl SetNumChans__3CGXFUc +/* 802B6638 002B3598 38 60 00 01 */ li r3, 1 +/* 802B663C 002B359C 38 80 00 01 */ li r4, 1 +/* 802B6640 002B35A0 38 A0 00 05 */ li r5, 5 +/* 802B6644 002B35A4 38 C0 00 00 */ li r6, 0 +/* 802B6648 002B35A8 48 05 22 89 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B664C 002B35AC 3C 60 80 3D */ lis r3, lbl_803D682C@ha +/* 802B6650 002B35B0 38 63 68 2C */ addi r3, r3, lbl_803D682C@l +/* 802B6654 002B35B4 48 05 17 D5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B6658 002B35B8 48 05 38 05 */ bl GetProjectionState__9CGraphicsFv +/* 802B665C 002B35BC 88 03 00 00 */ lbz r0, 0(r3) +/* 802B6660 002B35C0 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B6664 002B35C4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B6668 002B35C8 98 01 00 64 */ stb r0, 0x64(r1) +/* 802B666C 002B35CC C0 03 00 04 */ lfs f0, 4(r3) +/* 802B6670 002B35D0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802B6674 002B35D4 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B6678 002B35D8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802B667C 002B35DC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802B6680 002B35E0 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802B6684 002B35E4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802B6688 002B35E8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802B668C 002B35EC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802B6690 002B35F0 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802B6694 002B35F4 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802B6698 002B35F8 38 61 00 98 */ addi r3, r1, 0x98 +/* 802B669C 002B35FC D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802B66A0 002B3600 48 05 C4 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B66A4 002B3604 3C 60 43 30 */ lis r3, 0x4330 +/* 802B66A8 002B3608 6F E4 80 00 */ xoris r4, r31, 0x8000 +/* 802B66AC 002B360C 6F C0 80 00 */ xoris r0, r30, 0x8000 +/* 802B66B0 002B3610 90 81 00 CC */ stw r4, 0xcc(r1) +/* 802B66B4 002B3614 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B66B8 002B3618 90 61 00 C8 */ stw r3, 0xc8(r1) +/* 802B66BC 002B361C C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802B66C0 002B3620 FC 60 08 90 */ fmr f3, f1 +/* 802B66C4 002B3624 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802B66C8 002B3628 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802B66CC 002B362C EC 40 20 28 */ fsubs f2, f0, f4 +/* 802B66D0 002B3630 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802B66D4 002B3634 90 61 00 D0 */ stw r3, 0xd0(r1) +/* 802B66D8 002B3638 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802B66DC 002B363C C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 802B66E0 002B3640 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802B66E4 002B3644 48 05 5E 71 */ bl SetOrtho__9CGraphicsFffffff +/* 802B66E8 002B3648 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B66EC 002B364C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802B66F0 002B3650 48 05 60 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B66F4 002B3654 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B66F8 002B3658 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802B66FC 002B365C 48 05 5E E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B6700 002B3660 38 60 00 00 */ li r3, 0 +/* 802B6704 002B3664 38 80 00 07 */ li r4, 7 +/* 802B6708 002B3668 38 A0 00 00 */ li r5, 0 +/* 802B670C 002B366C 48 05 21 71 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B6710 002B3670 38 60 00 00 */ li r3, 0 +/* 802B6714 002B3674 48 0C 24 45 */ bl GXSetCullMode +/* 802B6718 002B3678 38 60 00 01 */ li r3, 1 +/* 802B671C 002B367C 38 80 00 00 */ li r4, 0 +/* 802B6720 002B3680 48 0C 59 C1 */ bl GXSetDstAlpha +/* 802B6724 002B3684 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B6728 002B3688 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B672C 002B368C 83 BD 00 00 */ lwz r29, 0(r29) +/* 802B6730 002B3690 FC 40 08 90 */ fmr f2, f1 +/* 802B6734 002B3694 48 05 DA CD */ bl __ct__9CVector2fFff +/* 802B6738 002B3698 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B673C 002B369C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B6740 002B36A0 FC 40 08 90 */ fmr f2, f1 +/* 802B6744 002B36A4 48 05 DA BD */ bl __ct__9CVector2fFff +/* 802B6748 002B36A8 38 60 00 A0 */ li r3, 0xa0 +/* 802B674C 002B36AC 38 80 00 00 */ li r4, 0 +/* 802B6750 002B36B0 38 A0 00 04 */ li r5, 4 +/* 802B6754 002B36B4 48 05 1E 31 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6758 002B36B8 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 802B675C 002B36BC 3C 80 43 30 */ lis r4, 0x4330 +/* 802B6760 002B36C0 90 81 00 D8 */ stw r4, 0xd8(r1) +/* 802B6764 002B36C4 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B6768 002B36C8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B676C 002B36CC C8 E2 C2 A0 */ lfd f7, lbl_805ADFC0@sda21(r2) +/* 802B6770 002B36D0 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802B6774 002B36D4 C0 C2 C2 80 */ lfs f6, lbl_805ADFA0@sda21(r2) +/* 802B6778 002B36D8 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802B677C 002B36DC 90 81 00 E0 */ stw r4, 0xe0(r1) +/* 802B6780 002B36E0 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802B6784 002B36E4 C0 A2 C2 98 */ lfs f5, lbl_805ADFB8@sda21(r2) +/* 802B6788 002B36E8 90 01 00 EC */ stw r0, 0xec(r1) +/* 802B678C 002B36EC C0 82 C2 84 */ lfs f4, lbl_805ADFA4@sda21(r2) +/* 802B6790 002B36F0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6794 002B36F4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B6798 002B36F8 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802B679C 002B36FC 90 81 00 E8 */ stw r4, 0xe8(r1) +/* 802B67A0 002B3700 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B67A4 002B3704 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802B67A8 002B3708 C8 01 00 E8 */ lfd f0, 0xe8(r1) +/* 802B67AC 002B370C C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 802B67B0 002B3710 EC 20 38 28 */ fsubs f1, f0, f7 +/* 802B67B4 002B3714 90 81 00 F0 */ stw r4, 0xf0(r1) +/* 802B67B8 002B3718 EC 02 38 28 */ fsubs f0, f2, f7 +/* 802B67BC 002B371C 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 802B67C0 002B3720 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B67C4 002B3724 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B67C8 002B3728 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B67CC 002B372C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B67D0 002B3730 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802B67D4 002B3734 90 81 01 00 */ stw r4, 0x100(r1) +/* 802B67D8 002B3738 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B67DC 002B373C C1 41 00 50 */ lfs f10, 0x50(r1) +/* 802B67E0 002B3740 90 81 01 08 */ stw r4, 0x108(r1) +/* 802B67E4 002B3744 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 802B67E8 002B3748 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802B67EC 002B374C 90 01 01 14 */ stw r0, 0x114(r1) +/* 802B67F0 002B3750 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B67F4 002B3754 C1 61 00 30 */ lfs f11, 0x30(r1) +/* 802B67F8 002B3758 90 81 01 10 */ stw r4, 0x110(r1) +/* 802B67FC 002B375C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 802B6800 002B3760 C8 01 01 10 */ lfd f0, 0x110(r1) +/* 802B6804 002B3764 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6808 002B3768 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802B680C 002B376C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B6810 002B3770 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802B6814 002B3774 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B6818 002B3778 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802B681C 002B377C C8 21 00 F0 */ lfd f1, 0xf0(r1) +/* 802B6820 002B3780 90 01 01 04 */ stw r0, 0x104(r1) +/* 802B6824 002B3784 EC 41 38 28 */ fsubs f2, f1, f7 +/* 802B6828 002B3788 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802B682C 002B378C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6830 002B3790 EC 41 38 28 */ fsubs f2, f1, f7 +/* 802B6834 002B3794 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B6838 002B3798 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B683C 002B379C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B6840 002B37A0 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802B6844 002B37A4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6848 002B37A8 C1 01 00 48 */ lfs f8, 0x48(r1) +/* 802B684C 002B37AC D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B6850 002B37B0 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802B6854 002B37B4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6858 002B37B8 C1 21 00 28 */ lfs f9, 0x28(r1) +/* 802B685C 002B37BC D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802B6860 002B37C0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802B6864 002B37C4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B6868 002B37C8 90 01 00 FC */ stw r0, 0xfc(r1) +/* 802B686C 002B37CC C8 21 00 F8 */ lfd f1, 0xf8(r1) +/* 802B6870 002B37D0 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802B6874 002B37D4 EC 61 38 28 */ fsubs f3, f1, f7 +/* 802B6878 002B37D8 C8 21 01 08 */ lfd f1, 0x108(r1) +/* 802B687C 002B37DC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B6880 002B37E0 EC 21 38 28 */ fsubs f1, f1, f7 +/* 802B6884 002B37E4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B6888 002B37E8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B688C 002B37EC 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B6890 002B37F0 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B6894 002B37F4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B6898 002B37F8 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802B689C 002B37FC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B68A0 002B3800 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B68A4 002B3804 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802B68A8 002B3808 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B68AC 002B380C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802B68B0 002B3810 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B68B4 002B3814 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B68B8 002B3818 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B68BC 002B381C 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B68C0 002B3820 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B68C4 002B3824 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B68C8 002B3828 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802B68CC 002B382C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B68D0 002B3830 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 802B68D4 002B3834 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802B68D8 002B3838 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B68DC 002B383C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 802B68E0 002B3840 48 05 1C A1 */ bl End__3CGXFv +/* 802B68E4 002B3844 38 60 00 01 */ li r3, 1 +/* 802B68E8 002B3848 48 0C 22 71 */ bl GXSetCullMode +/* 802B68EC 002B384C 38 60 00 00 */ li r3, 0 +/* 802B68F0 002B3850 48 05 1E 55 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802B68F4 002B3854 38 60 00 00 */ li r3, 0 +/* 802B68F8 002B3858 48 05 1D 99 */ bl SetNumIndStages__3CGXFUc +/* 802B68FC 002B385C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802B6900 002B3860 48 05 35 01 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802B6904 002B3864 38 61 00 98 */ addi r3, r1, 0x98 +/* 802B6908 002B3868 48 05 5E 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +lbl_802B690C: +/* 802B690C 002B386C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 802B6910 002B3870 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 802B6914 002B3874 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 802B6918 002B3878 CB C1 01 40 */ lfd f30, 0x140(r1) +/* 802B691C 002B387C E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 +/* 802B6920 002B3880 CB A1 01 30 */ lfd f29, 0x130(r1) +/* 802B6924 002B3884 BB 41 01 18 */ lmw r26, 0x118(r1) +/* 802B6928 002B3888 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802B692C 002B388C 7C 08 03 A6 */ mtlr r0 +/* 802B6930 002B3890 38 21 01 60 */ addi r1, r1, 0x160 +/* 802B6934 002B3894 4E 80 00 20 */ blr + +.global ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture +ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture: +/* 802B6938 002B3898 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B693C 002B389C 7C 08 02 A6 */ mflr r0 +/* 802B6940 002B38A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B6944 002B38A4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B6948 002B38A8 7C 9F 23 78 */ mr r31, r4 +/* 802B694C 002B38AC 80 82 C7 A8 */ lwz r4, lbl_805AE4C8@sda21(r2) +/* 802B6950 002B38B0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B6954 002B38B4 7C 7E 1B 78 */ mr r30, r3 +/* 802B6958 002B38B8 7C A3 2B 78 */ mr r3, r5 +/* 802B695C 002B38BC 38 A0 00 01 */ li r5, 1 +/* 802B6960 002B38C0 48 05 8D DD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B6964 002B38C4 3C 80 80 3D */ lis r4, lbl_803D67F4@ha +/* 802B6968 002B38C8 38 61 00 08 */ addi r3, r1, 8 +/* 802B696C 002B38CC 39 64 67 F4 */ addi r11, r4, lbl_803D67F4@l +/* 802B6970 002B38D0 81 4B 00 00 */ lwz r10, 0(r11) +/* 802B6974 002B38D4 81 2B 00 04 */ lwz r9, 4(r11) +/* 802B6978 002B38D8 81 0B 00 08 */ lwz r8, 8(r11) +/* 802B697C 002B38DC 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 802B6980 002B38E0 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 802B6984 002B38E4 80 AB 00 14 */ lwz r5, 0x14(r11) +/* 802B6988 002B38E8 80 8B 00 18 */ lwz r4, 0x18(r11) +/* 802B698C 002B38EC 80 0B 00 1C */ lwz r0, 0x1c(r11) +/* 802B6990 002B38F0 91 41 00 08 */ stw r10, 8(r1) +/* 802B6994 002B38F4 91 21 00 0C */ stw r9, 0xc(r1) +/* 802B6998 002B38F8 91 01 00 10 */ stw r8, 0x10(r1) +/* 802B699C 002B38FC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802B69A0 002B3900 90 C1 00 18 */ stw r6, 0x18(r1) +/* 802B69A4 002B3904 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 802B69A8 002B3908 90 81 00 20 */ stw r4, 0x20(r1) +/* 802B69AC 002B390C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B69B0 002B3910 48 05 14 79 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B69B4 002B3914 7F C3 F3 78 */ mr r3, r30 +/* 802B69B8 002B3918 81 9E 00 00 */ lwz r12, 0(r30) +/* 802B69BC 002B391C 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 802B69C0 002B3920 7D 89 03 A6 */ mtctr r12 +/* 802B69C4 002B3924 4E 80 04 21 */ bctrl +/* 802B69C8 002B3928 38 60 00 01 */ li r3, 1 +/* 802B69CC 002B392C 48 05 24 85 */ bl SetNumChans__3CGXFUc +/* 802B69D0 002B3930 38 60 00 01 */ li r3, 1 +/* 802B69D4 002B3934 48 05 24 41 */ bl SetNumTexGens__3CGXFUc +/* 802B69D8 002B3938 38 60 00 01 */ li r3, 1 +/* 802B69DC 002B393C 48 05 22 B5 */ bl SetNumTevStages__3CGXFUc +/* 802B69E0 002B3940 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802B69E4 002B3944 38 60 00 00 */ li r3, 0 +/* 802B69E8 002B3948 38 80 00 00 */ li r4, 0 +/* 802B69EC 002B394C 38 C0 00 04 */ li r6, 4 +/* 802B69F0 002B3950 48 05 1F 5D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B69F4 002B3954 38 60 00 00 */ li r3, 0 +/* 802B69F8 002B3958 38 80 00 0F */ li r4, 0xf +/* 802B69FC 002B395C 38 A0 00 09 */ li r5, 9 +/* 802B6A00 002B3960 38 C0 00 0A */ li r6, 0xa +/* 802B6A04 002B3964 38 E0 00 0F */ li r7, 0xf +/* 802B6A08 002B3968 48 05 21 E5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6A0C 002B396C 38 60 00 00 */ li r3, 0 +/* 802B6A10 002B3970 38 80 00 00 */ li r4, 0 +/* 802B6A14 002B3974 38 A0 00 00 */ li r5, 0 +/* 802B6A18 002B3978 38 C0 00 00 */ li r6, 0 +/* 802B6A1C 002B397C 38 E0 00 01 */ li r7, 1 +/* 802B6A20 002B3980 39 00 00 00 */ li r8, 0 +/* 802B6A24 002B3984 48 05 21 15 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6A28 002B3988 38 60 00 00 */ li r3, 0 +/* 802B6A2C 002B398C 38 80 00 07 */ li r4, 7 +/* 802B6A30 002B3990 38 A0 00 04 */ li r5, 4 +/* 802B6A34 002B3994 38 C0 00 05 */ li r6, 5 +/* 802B6A38 002B3998 38 E0 00 07 */ li r7, 7 +/* 802B6A3C 002B399C 48 05 21 59 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B6A40 002B39A0 38 60 00 00 */ li r3, 0 +/* 802B6A44 002B39A4 38 80 00 00 */ li r4, 0 +/* 802B6A48 002B39A8 38 A0 00 00 */ li r5, 0 +/* 802B6A4C 002B39AC 38 C0 00 00 */ li r6, 0 +/* 802B6A50 002B39B0 38 E0 00 01 */ li r7, 1 +/* 802B6A54 002B39B4 39 00 00 00 */ li r8, 0 +/* 802B6A58 002B39B8 48 05 20 29 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6A5C 002B39BC 38 60 00 00 */ li r3, 0 +/* 802B6A60 002B39C0 38 80 00 00 */ li r4, 0 +/* 802B6A64 002B39C4 38 A0 00 00 */ li r5, 0 +/* 802B6A68 002B39C8 38 C0 00 01 */ li r6, 1 +/* 802B6A6C 002B39CC 38 E0 00 00 */ li r7, 0 +/* 802B6A70 002B39D0 39 00 00 00 */ li r8, 0 +/* 802B6A74 002B39D4 39 20 00 02 */ li r9, 2 +/* 802B6A78 002B39D8 48 05 22 55 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B6A7C 002B39DC 38 60 00 01 */ li r3, 1 +/* 802B6A80 002B39E0 38 80 00 01 */ li r4, 1 +/* 802B6A84 002B39E4 38 A0 00 01 */ li r5, 1 +/* 802B6A88 002B39E8 38 C0 00 00 */ li r6, 0 +/* 802B6A8C 002B39EC 48 05 1E 45 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B6A90 002B39F0 38 60 00 07 */ li r3, 7 +/* 802B6A94 002B39F4 38 80 00 00 */ li r4, 0 +/* 802B6A98 002B39F8 38 A0 00 01 */ li r5, 1 +/* 802B6A9C 002B39FC 38 C0 00 07 */ li r6, 7 +/* 802B6AA0 002B3A00 38 E0 00 00 */ li r7, 0 +/* 802B6AA4 002B3A04 48 05 1D 71 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B6AA8 002B3A08 48 09 35 0D */ bl Black__6CColorFv +/* 802B6AAC 002B3A0C 7C 64 1B 78 */ mr r4, r3 +/* 802B6AB0 002B3A10 38 60 00 00 */ li r3, 0 +/* 802B6AB4 002B3A14 48 05 23 11 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6AB8 002B3A18 38 60 00 01 */ li r3, 1 +/* 802B6ABC 002B3A1C 38 80 00 00 */ li r4, 0 +/* 802B6AC0 002B3A20 48 0C 56 21 */ bl GXSetDstAlpha +/* 802B6AC4 002B3A24 38 60 00 01 */ li r3, 1 +/* 802B6AC8 002B3A28 48 0C 54 39 */ bl GXSetColorUpdate +/* 802B6ACC 002B3A2C 83 FF 00 00 */ lwz r31, 0(r31) +/* 802B6AD0 002B3A30 38 60 00 98 */ li r3, 0x98 +/* 802B6AD4 002B3A34 38 80 00 00 */ li r4, 0 +/* 802B6AD8 002B3A38 38 A0 00 04 */ li r5, 4 +/* 802B6ADC 002B3A3C 48 05 1A A9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6AE0 002B3A40 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B6AE4 002B3A44 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B6AE8 002B3A48 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802B6AEC 002B3A4C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6AF0 002B3A50 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6AF4 002B3A54 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6AF8 002B3A58 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6AFC 002B3A5C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B00 002B3A60 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B04 002B3A64 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B08 002B3A68 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B0C 002B3A6C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B10 002B3A70 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6B14 002B3A74 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B18 002B3A78 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B1C 002B3A7C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B20 002B3A80 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B24 002B3A84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B28 002B3A88 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6B2C 002B3A8C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B30 002B3A90 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B34 002B3A94 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B38 002B3A98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B3C 002B3A9C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B40 002B3AA0 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6B44 002B3AA4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B48 002B3AA8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B4C 002B3AAC 48 05 1A 35 */ bl End__3CGXFv +/* 802B6B50 002B3AB0 38 60 00 01 */ li r3, 1 +/* 802B6B54 002B3AB4 38 80 00 03 */ li r4, 3 +/* 802B6B58 002B3AB8 38 A0 00 01 */ li r5, 1 +/* 802B6B5C 002B3ABC 48 05 4F 39 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B6B60 002B3AC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B6B64 002B3AC4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B6B68 002B3AC8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B6B6C 002B3ACC 7C 08 03 A6 */ mtlr r0 +/* 802B6B70 002B3AD0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B6B74 002B3AD4 4E 80 00 20 */ blr + +.global DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff +DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff: +/* 802B6B78 002B3AD8 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802B6B7C 002B3ADC 7C 08 02 A6 */ mflr r0 +/* 802B6B80 002B3AE0 90 01 01 14 */ stw r0, 0x114(r1) +/* 802B6B84 002B3AE4 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802B6B88 002B3AE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802B6B8C 002B3AEC DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802B6B90 002B3AF0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802B6B94 002B3AF4 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802B6B98 002B3AF8 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802B6B9C 002B3AFC DB 81 00 D0 */ stfd f28, 0xd0(r1) +/* 802B6BA0 002B3B00 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 +/* 802B6BA4 002B3B04 DB 61 00 C0 */ stfd f27, 0xc0(r1) +/* 802B6BA8 002B3B08 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 +/* 802B6BAC 002B3B0C BE A1 00 94 */ stmw r21, 0x94(r1) +/* 802B6BB0 002B3B10 FF 60 08 90 */ fmr f27, f1 +/* 802B6BB4 002B3B14 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B6BB8 002B3B18 FF C0 10 90 */ fmr f30, f2 +/* 802B6BBC 002B3B1C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802B6BC0 002B3B20 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802B6BC4 002B3B24 FC 80 08 90 */ fmr f4, f1 +/* 802B6BC8 002B3B28 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 802B6BCC 002B3B2C FC 60 10 90 */ fmr f3, f2 +/* 802B6BD0 002B3B30 FC C0 10 90 */ fmr f6, f2 +/* 802B6BD4 002B3B34 83 A4 00 08 */ lwz r29, 8(r4) +/* 802B6BD8 002B3B38 83 E4 00 0C */ lwz r31, 0xc(r4) +/* 802B6BDC 002B3B3C 7C 7C 1B 78 */ mr r28, r3 +/* 802B6BE0 002B3B40 C0 A2 C2 A8 */ lfs f5, lbl_805ADFC8@sda21(r2) +/* 802B6BE4 002B3B44 48 05 59 71 */ bl SetOrtho__9CGraphicsFffffff +/* 802B6BE8 002B3B48 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B6BEC 002B3B4C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802B6BF0 002B3B50 48 05 5B 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B6BF4 002B3B54 81 9C 00 00 */ lwz r12, 0(r28) +/* 802B6BF8 002B3B58 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B6BFC 002B3B5C 7F 83 E3 78 */ mr r3, r28 +/* 802B6C00 002B3B60 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802B6C04 002B3B64 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B6C08 002B3B68 7D 89 03 A6 */ mtctr r12 +/* 802B6C0C 002B3B6C 4E 80 04 21 */ bctrl +/* 802B6C10 002B3B70 38 60 00 00 */ li r3, 0 +/* 802B6C14 002B3B74 38 80 00 06 */ li r4, 6 +/* 802B6C18 002B3B78 38 A0 00 00 */ li r5, 0 +/* 802B6C1C 002B3B7C 48 05 4E 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B6C20 002B3B80 38 60 00 08 */ li r3, 8 +/* 802B6C24 002B3B84 48 00 08 31 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6C28 002B3B88 7C 66 1B 78 */ mr r6, r3 +/* 802B6C2C 002B3B8C 7F 83 E3 78 */ mr r3, r28 +/* 802B6C30 002B3B90 38 80 00 01 */ li r4, 1 +/* 802B6C34 002B3B94 38 A0 00 01 */ li r5, 1 +/* 802B6C38 002B3B98 38 E0 00 27 */ li r7, 0x27 +/* 802B6C3C 002B3B9C 39 00 00 01 */ li r8, 1 +/* 802B6C40 002B3BA0 48 00 07 0D */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B6C44 002B3BA4 38 60 00 01 */ li r3, 1 +/* 802B6C48 002B3BA8 38 80 00 00 */ li r4, 0 +/* 802B6C4C 002B3BAC 48 0C 54 95 */ bl GXSetDstAlpha +/* 802B6C50 002B3BB0 38 60 00 08 */ li r3, 8 +/* 802B6C54 002B3BB4 48 00 08 01 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6C58 002B3BB8 57 A4 0F FE */ srwi r4, r29, 0x1f +/* 802B6C5C 002B3BBC 57 E0 0F FE */ srwi r0, r31, 0x1f +/* 802B6C60 002B3BC0 7C 84 EA 14 */ add r4, r4, r29 +/* 802B6C64 002B3BC4 7C 66 1B 78 */ mr r6, r3 +/* 802B6C68 002B3BC8 7C 83 0E 70 */ srawi r3, r4, 1 +/* 802B6C6C 002B3BCC 7C 00 FA 14 */ add r0, r0, r31 +/* 802B6C70 002B3BD0 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B6C74 002B3BD4 7C 04 0E 70 */ srawi r4, r0, 1 +/* 802B6C78 002B3BD8 38 A0 00 01 */ li r5, 1 +/* 802B6C7C 002B3BDC 48 05 33 A5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B6C80 002B3BE0 3C 80 80 3D */ lis r4, lbl_803D6794@ha +/* 802B6C84 002B3BE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B6C88 002B3BE8 39 64 67 94 */ addi r11, r4, lbl_803D6794@l +/* 802B6C8C 002B3BEC 81 4B 00 00 */ lwz r10, 0(r11) +/* 802B6C90 002B3BF0 81 2B 00 04 */ lwz r9, 4(r11) +/* 802B6C94 002B3BF4 81 0B 00 08 */ lwz r8, 8(r11) +/* 802B6C98 002B3BF8 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 802B6C9C 002B3BFC 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 802B6CA0 002B3C00 80 AB 00 14 */ lwz r5, 0x14(r11) +/* 802B6CA4 002B3C04 80 8B 00 18 */ lwz r4, 0x18(r11) +/* 802B6CA8 002B3C08 80 0B 00 1C */ lwz r0, 0x1c(r11) +/* 802B6CAC 002B3C0C 91 41 00 24 */ stw r10, 0x24(r1) +/* 802B6CB0 002B3C10 91 21 00 28 */ stw r9, 0x28(r1) +/* 802B6CB4 002B3C14 91 01 00 2C */ stw r8, 0x2c(r1) +/* 802B6CB8 002B3C18 90 E1 00 30 */ stw r7, 0x30(r1) +/* 802B6CBC 002B3C1C 90 C1 00 34 */ stw r6, 0x34(r1) +/* 802B6CC0 002B3C20 90 A1 00 38 */ stw r5, 0x38(r1) +/* 802B6CC4 002B3C24 90 81 00 3C */ stw r4, 0x3c(r1) +/* 802B6CC8 002B3C28 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B6CCC 002B3C2C 48 05 11 5D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B6CD0 002B3C30 38 60 00 01 */ li r3, 1 +/* 802B6CD4 002B3C34 48 05 21 7D */ bl SetNumChans__3CGXFUc +/* 802B6CD8 002B3C38 38 60 00 01 */ li r3, 1 +/* 802B6CDC 002B3C3C 48 05 21 39 */ bl SetNumTexGens__3CGXFUc +/* 802B6CE0 002B3C40 38 60 00 01 */ li r3, 1 +/* 802B6CE4 002B3C44 48 05 1F AD */ bl SetNumTevStages__3CGXFUc +/* 802B6CE8 002B3C48 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802B6CEC 002B3C4C 38 60 00 00 */ li r3, 0 +/* 802B6CF0 002B3C50 38 80 00 00 */ li r4, 0 +/* 802B6CF4 002B3C54 38 C0 00 04 */ li r6, 4 +/* 802B6CF8 002B3C58 48 05 1C 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B6CFC 002B3C5C 38 60 00 00 */ li r3, 0 +/* 802B6D00 002B3C60 38 80 00 0F */ li r4, 0xf +/* 802B6D04 002B3C64 38 A0 00 09 */ li r5, 9 +/* 802B6D08 002B3C68 38 C0 00 0A */ li r6, 0xa +/* 802B6D0C 002B3C6C 38 E0 00 0F */ li r7, 0xf +/* 802B6D10 002B3C70 48 05 1E DD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6D14 002B3C74 38 60 00 00 */ li r3, 0 +/* 802B6D18 002B3C78 38 80 00 00 */ li r4, 0 +/* 802B6D1C 002B3C7C 38 A0 00 00 */ li r5, 0 +/* 802B6D20 002B3C80 38 C0 00 00 */ li r6, 0 +/* 802B6D24 002B3C84 38 E0 00 01 */ li r7, 1 +/* 802B6D28 002B3C88 39 00 00 00 */ li r8, 0 +/* 802B6D2C 002B3C8C 48 05 1E 0D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6D30 002B3C90 38 60 00 00 */ li r3, 0 +/* 802B6D34 002B3C94 38 80 00 07 */ li r4, 7 +/* 802B6D38 002B3C98 38 A0 00 04 */ li r5, 4 +/* 802B6D3C 002B3C9C 38 C0 00 05 */ li r6, 5 +/* 802B6D40 002B3CA0 38 E0 00 07 */ li r7, 7 +/* 802B6D44 002B3CA4 48 05 1E 51 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B6D48 002B3CA8 38 60 00 00 */ li r3, 0 +/* 802B6D4C 002B3CAC 38 80 00 00 */ li r4, 0 +/* 802B6D50 002B3CB0 38 A0 00 00 */ li r5, 0 +/* 802B6D54 002B3CB4 38 C0 00 00 */ li r6, 0 +/* 802B6D58 002B3CB8 38 E0 00 01 */ li r7, 1 +/* 802B6D5C 002B3CBC 39 00 00 00 */ li r8, 0 +/* 802B6D60 002B3CC0 48 05 1D 21 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6D64 002B3CC4 38 60 00 00 */ li r3, 0 +/* 802B6D68 002B3CC8 38 80 00 00 */ li r4, 0 +/* 802B6D6C 002B3CCC 38 A0 00 00 */ li r5, 0 +/* 802B6D70 002B3CD0 38 C0 00 01 */ li r6, 1 +/* 802B6D74 002B3CD4 38 E0 00 00 */ li r7, 0 +/* 802B6D78 002B3CD8 39 00 00 00 */ li r8, 0 +/* 802B6D7C 002B3CDC 39 20 00 02 */ li r9, 2 +/* 802B6D80 002B3CE0 48 05 1F 4D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B6D84 002B3CE4 38 60 00 01 */ li r3, 1 +/* 802B6D88 002B3CE8 38 80 00 01 */ li r4, 1 +/* 802B6D8C 002B3CEC 38 A0 00 01 */ li r5, 1 +/* 802B6D90 002B3CF0 38 C0 00 00 */ li r6, 0 +/* 802B6D94 002B3CF4 48 05 1B 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B6D98 002B3CF8 38 60 00 00 */ li r3, 0 +/* 802B6D9C 002B3CFC 48 0C 51 65 */ bl GXSetColorUpdate +/* 802B6DA0 002B3D00 38 60 00 07 */ li r3, 7 +/* 802B6DA4 002B3D04 38 80 00 00 */ li r4, 0 +/* 802B6DA8 002B3D08 38 A0 00 01 */ li r5, 1 +/* 802B6DAC 002B3D0C 38 C0 00 07 */ li r6, 7 +/* 802B6DB0 002B3D10 38 E0 00 00 */ li r7, 0 +/* 802B6DB4 002B3D14 48 05 1A 61 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B6DB8 002B3D18 48 09 31 F5 */ bl White__6CColorFv +/* 802B6DBC 002B3D1C 7C 64 1B 78 */ mr r4, r3 +/* 802B6DC0 002B3D20 38 60 00 00 */ li r3, 0 +/* 802B6DC4 002B3D24 48 05 1F 99 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6DC8 002B3D28 48 09 31 ED */ bl Black__6CColorFv +/* 802B6DCC 002B3D2C 7C 64 1B 78 */ mr r4, r3 +/* 802B6DD0 002B3D30 38 60 00 00 */ li r3, 0 +/* 802B6DD4 002B3D34 48 05 1F F1 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6DD8 002B3D38 48 09 31 D5 */ bl White__6CColorFv +/* 802B6DDC 002B3D3C 82 A3 00 00 */ lwz r21, 0(r3) +/* 802B6DE0 002B3D40 38 60 00 00 */ li r3, 0 +/* 802B6DE4 002B3D44 38 80 00 00 */ li r4, 0 +/* 802B6DE8 002B3D48 48 0C 52 F9 */ bl GXSetDstAlpha +/* 802B6DEC 002B3D4C 38 60 00 98 */ li r3, 0x98 +/* 802B6DF0 002B3D50 38 80 00 00 */ li r4, 0 +/* 802B6DF4 002B3D54 38 A0 00 04 */ li r5, 4 +/* 802B6DF8 002B3D58 48 05 17 8D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6DFC 002B3D5C C0 42 C2 74 */ lfs f2, lbl_805ADF94@sda21(r2) +/* 802B6E00 002B3D60 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B6E04 002B3D64 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B6E08 002B3D68 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E0C 002B3D6C C0 02 C2 80 */ lfs f0, lbl_805ADFA0@sda21(r2) +/* 802B6E10 002B3D70 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E14 002B3D74 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E18 002B3D78 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E1C 002B3D7C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E20 002B3D80 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E24 002B3D84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E28 002B3D88 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E2C 002B3D8C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E30 002B3D90 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E34 002B3D94 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E38 002B3D98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E3C 002B3D9C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E40 002B3DA0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E44 002B3DA4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E48 002B3DA8 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E4C 002B3DAC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E50 002B3DB0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E54 002B3DB4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E58 002B3DB8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E5C 002B3DBC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E60 002B3DC0 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E64 002B3DC4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E68 002B3DC8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E6C 002B3DCC 48 05 17 15 */ bl End__3CGXFv +/* 802B6E70 002B3DD0 38 60 00 08 */ li r3, 8 +/* 802B6E74 002B3DD4 48 00 05 E1 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6E78 002B3DD8 7C 66 1B 78 */ mr r6, r3 +/* 802B6E7C 002B3DDC 7F 83 E3 78 */ mr r3, r28 +/* 802B6E80 002B3DE0 38 80 00 02 */ li r4, 2 +/* 802B6E84 002B3DE4 38 A0 00 01 */ li r5, 1 +/* 802B6E88 002B3DE8 38 E0 00 27 */ li r7, 0x27 +/* 802B6E8C 002B3DEC 39 00 00 01 */ li r8, 1 +/* 802B6E90 002B3DF0 48 00 04 BD */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B6E94 002B3DF4 38 60 00 00 */ li r3, 0 +/* 802B6E98 002B3DF8 48 0C 50 69 */ bl GXSetColorUpdate +/* 802B6E9C 002B3DFC 38 60 00 08 */ li r3, 8 +/* 802B6EA0 002B3E00 48 00 05 B5 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6EA4 002B3E04 7F BE 16 70 */ srawi r30, r29, 2 +/* 802B6EA8 002B3E08 7C 66 1B 78 */ mr r6, r3 +/* 802B6EAC 002B3E0C 7F FF 16 70 */ srawi r31, r31, 2 +/* 802B6EB0 002B3E10 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B6EB4 002B3E14 7F C3 F3 78 */ mr r3, r30 +/* 802B6EB8 002B3E18 38 A0 00 01 */ li r5, 1 +/* 802B6EBC 002B3E1C 7F E4 FB 78 */ mr r4, r31 +/* 802B6EC0 002B3E20 48 05 31 61 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B6EC4 002B3E24 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 802B6EC8 002B3E28 3C 00 43 30 */ lis r0, 0x4330 +/* 802B6ECC 002B3E2C 90 61 00 8C */ stw r3, 0x8c(r1) +/* 802B6ED0 002B3E30 3C 60 80 3D */ lis r3, lbl_803D67B4@ha +/* 802B6ED4 002B3E34 3A A3 67 B4 */ addi r21, r3, lbl_803D67B4@l +/* 802B6ED8 002B3E38 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B6EDC 002B3E3C 90 01 00 88 */ stw r0, 0x88(r1) +/* 802B6EE0 002B3E40 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B6EE4 002B3E44 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802B6EE8 002B3E48 FC 40 08 90 */ fmr f2, f1 +/* 802B6EEC 002B3E4C C8 01 00 88 */ lfd f0, 0x88(r1) +/* 802B6EF0 002B3E50 FC 60 08 90 */ fmr f3, f1 +/* 802B6EF4 002B3E54 C0 A2 C2 88 */ lfs f5, lbl_805ADFA8@sda21(r2) +/* 802B6EF8 002B3E58 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802B6EFC 002B3E5C 82 D5 00 00 */ lwz r22, 0(r21) +/* 802B6F00 002B3E60 82 F5 00 04 */ lwz r23, 4(r21) +/* 802B6F04 002B3E64 83 15 00 08 */ lwz r24, 8(r21) +/* 802B6F08 002B3E68 EC 05 00 24 */ fdivs f0, f5, f0 +/* 802B6F0C 002B3E6C 83 35 00 0C */ lwz r25, 0xc(r21) +/* 802B6F10 002B3E70 83 55 00 10 */ lwz r26, 0x10(r21) +/* 802B6F14 002B3E74 83 75 00 14 */ lwz r27, 0x14(r21) +/* 802B6F18 002B3E78 81 95 00 18 */ lwz r12, 0x18(r21) +/* 802B6F1C 002B3E7C 81 75 00 1C */ lwz r11, 0x1c(r21) +/* 802B6F20 002B3E80 81 55 00 20 */ lwz r10, 0x20(r21) +/* 802B6F24 002B3E84 EF FB 00 32 */ fmuls f31, f27, f0 +/* 802B6F28 002B3E88 81 35 00 24 */ lwz r9, 0x24(r21) +/* 802B6F2C 002B3E8C 81 15 00 28 */ lwz r8, 0x28(r21) +/* 802B6F30 002B3E90 80 F5 00 2C */ lwz r7, 0x2c(r21) +/* 802B6F34 002B3E94 80 D5 00 30 */ lwz r6, 0x30(r21) +/* 802B6F38 002B3E98 80 B5 00 34 */ lwz r5, 0x34(r21) +/* 802B6F3C 002B3E9C 80 95 00 38 */ lwz r4, 0x38(r21) +/* 802B6F40 002B3EA0 80 15 00 3C */ lwz r0, 0x3c(r21) +/* 802B6F44 002B3EA4 92 C1 00 44 */ stw r22, 0x44(r1) +/* 802B6F48 002B3EA8 C0 82 C2 AC */ lfs f4, lbl_805ADFCC@sda21(r2) +/* 802B6F4C 002B3EAC 92 E1 00 48 */ stw r23, 0x48(r1) +/* 802B6F50 002B3EB0 93 01 00 4C */ stw r24, 0x4c(r1) +/* 802B6F54 002B3EB4 93 21 00 50 */ stw r25, 0x50(r1) +/* 802B6F58 002B3EB8 93 41 00 54 */ stw r26, 0x54(r1) +/* 802B6F5C 002B3EBC 93 61 00 58 */ stw r27, 0x58(r1) +/* 802B6F60 002B3EC0 91 81 00 5C */ stw r12, 0x5c(r1) +/* 802B6F64 002B3EC4 91 61 00 60 */ stw r11, 0x60(r1) +/* 802B6F68 002B3EC8 91 41 00 64 */ stw r10, 0x64(r1) +/* 802B6F6C 002B3ECC 91 21 00 68 */ stw r9, 0x68(r1) +/* 802B6F70 002B3ED0 91 01 00 6C */ stw r8, 0x6c(r1) +/* 802B6F74 002B3ED4 90 E1 00 70 */ stw r7, 0x70(r1) +/* 802B6F78 002B3ED8 90 C1 00 74 */ stw r6, 0x74(r1) +/* 802B6F7C 002B3EDC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802B6F80 002B3EE0 90 81 00 7C */ stw r4, 0x7c(r1) +/* 802B6F84 002B3EE4 90 01 00 80 */ stw r0, 0x80(r1) +/* 802B6F88 002B3EE8 48 0A C4 65 */ bl __ct__6CColorFffff +/* 802B6F8C 002B3EEC 3A E1 00 44 */ addi r23, r1, 0x44 +/* 802B6F90 002B3EF0 82 C3 00 00 */ lwz r22, 0(r3) +/* 802B6F94 002B3EF4 C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) +/* 802B6F98 002B3EF8 7E F5 BB 78 */ mr r21, r23 +/* 802B6F9C 002B3EFC C3 82 C2 70 */ lfs f28, lbl_805ADF90@sda21(r2) +/* 802B6FA0 002B3F00 3B 00 00 00 */ li r24, 0 +/* 802B6FA4 002B3F04 C3 A2 C2 7C */ lfs f29, lbl_805ADF9C@sda21(r2) +/* 802B6FA8 002B3F08 3F 60 CC 01 */ lis r27, 0xcc01 +lbl_802B6FAC: +/* 802B6FAC 002B3F0C 38 60 00 98 */ li r3, 0x98 +/* 802B6FB0 002B3F10 38 80 00 00 */ li r4, 0 +/* 802B6FB4 002B3F14 38 A0 00 04 */ li r5, 4 +/* 802B6FB8 002B3F18 48 05 15 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6FBC 002B3F1C C0 35 00 00 */ lfs f1, 0(r21) +/* 802B6FC0 002B3F20 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B6FC4 002B3F24 C0 15 00 04 */ lfs f0, 4(r21) +/* 802B6FC8 002B3F28 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802B6FCC 002B3F2C EC 5F 00 32 */ fmuls f2, f31, f0 +/* 802B6FD0 002B3F30 48 05 D2 31 */ bl __ct__9CVector2fFff +/* 802B6FD4 002B3F34 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B6FD8 002B3F38 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B6FDC 002B3F3C D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B6FE0 002B3F40 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B6FE4 002B3F44 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B6FE8 002B3F48 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B6FEC 002B3F4C D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B6FF0 002B3F50 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B6FF4 002B3F54 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B6FF8 002B3F58 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B6FFC 002B3F5C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7000 002B3F60 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7004 002B3F64 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B7008 002B3F68 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B700C 002B3F6C 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B7010 002B3F70 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B7014 002B3F74 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B7018 002B3F78 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B701C 002B3F7C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7020 002B3F80 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7024 002B3F84 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B7028 002B3F88 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B702C 002B3F8C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7030 002B3F90 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B7034 002B3F94 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7038 002B3F98 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B703C 002B3F9C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B7040 002B3FA0 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B7044 002B3FA4 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7048 002B3FA8 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B704C 002B3FAC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B7050 002B3FB0 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B7054 002B3FB4 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7058 002B3FB8 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B705C 002B3FBC D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B7060 002B3FC0 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7064 002B3FC4 48 05 15 1D */ bl End__3CGXFv +/* 802B7068 002B3FC8 3B 18 00 01 */ addi r24, r24, 1 +/* 802B706C 002B3FCC 3A B5 00 08 */ addi r21, r21, 8 +/* 802B7070 002B3FD0 28 18 00 08 */ cmplwi r24, 8 +/* 802B7074 002B3FD4 41 80 FF 38 */ blt lbl_802B6FAC +/* 802B7078 002B3FD8 38 60 00 00 */ li r3, 0 +/* 802B707C 002B3FDC 38 80 00 00 */ li r4, 0 +/* 802B7080 002B3FE0 48 0C 50 61 */ bl GXSetDstAlpha +/* 802B7084 002B3FE4 38 60 00 03 */ li r3, 3 +/* 802B7088 002B3FE8 38 80 00 01 */ li r4, 1 +/* 802B708C 002B3FEC 38 A0 00 00 */ li r5, 0 +/* 802B7090 002B3FF0 38 C0 00 00 */ li r6, 0 +/* 802B7094 002B3FF4 48 05 18 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B7098 002B3FF8 38 60 00 04 */ li r3, 4 +/* 802B709C 002B3FFC 38 80 00 00 */ li r4, 0 +/* 802B70A0 002B4000 38 A0 00 00 */ li r5, 0 +/* 802B70A4 002B4004 38 C0 00 07 */ li r6, 7 +/* 802B70A8 002B4008 38 E0 00 00 */ li r7, 0 +/* 802B70AC 002B400C 48 05 17 69 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B70B0 002B4010 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B70B4 002B4014 38 61 00 0C */ addi r3, r1, 0xc +/* 802B70B8 002B4018 FC 40 08 90 */ fmr f2, f1 +/* 802B70BC 002B401C FC 60 08 90 */ fmr f3, f1 +/* 802B70C0 002B4020 FC 80 08 90 */ fmr f4, f1 +/* 802B70C4 002B4024 48 0A C3 29 */ bl __ct__6CColorFffff +/* 802B70C8 002B4028 82 A3 00 00 */ lwz r21, 0(r3) +/* 802B70CC 002B402C 38 60 00 98 */ li r3, 0x98 +/* 802B70D0 002B4030 38 80 00 00 */ li r4, 0 +/* 802B70D4 002B4034 38 A0 00 04 */ li r5, 4 +/* 802B70D8 002B4038 48 05 14 AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B70DC 002B403C C0 42 C2 74 */ lfs f2, lbl_805ADF94@sda21(r2) +/* 802B70E0 002B4040 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B70E4 002B4044 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B70E8 002B4048 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B70EC 002B404C C0 02 C2 7C */ lfs f0, lbl_805ADF9C@sda21(r2) +/* 802B70F0 002B4050 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B70F4 002B4054 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B70F8 002B4058 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B70FC 002B405C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7100 002B4060 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B7104 002B4064 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7108 002B4068 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B710C 002B406C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7110 002B4070 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B7114 002B4074 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B7118 002B4078 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B711C 002B407C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7120 002B4080 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7124 002B4084 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7128 002B4088 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B712C 002B408C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7130 002B4090 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7134 002B4094 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7138 002B4098 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B713C 002B409C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7140 002B40A0 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B7144 002B40A4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B7148 002B40A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B714C 002B40AC 48 05 14 35 */ bl End__3CGXFv +/* 802B7150 002B40B0 38 60 00 01 */ li r3, 1 +/* 802B7154 002B40B4 38 80 00 01 */ li r4, 1 +/* 802B7158 002B40B8 38 A0 00 01 */ li r5, 1 +/* 802B715C 002B40BC 38 C0 00 00 */ li r6, 0 +/* 802B7160 002B40C0 48 05 17 71 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B7164 002B40C4 38 60 00 00 */ li r3, 0 +/* 802B7168 002B40C8 38 80 00 07 */ li r4, 7 +/* 802B716C 002B40CC 38 A0 00 04 */ li r5, 4 +/* 802B7170 002B40D0 38 C0 00 05 */ li r6, 5 +/* 802B7174 002B40D4 38 E0 00 07 */ li r7, 7 +/* 802B7178 002B40D8 48 05 1A 1D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B717C 002B40DC 38 60 00 07 */ li r3, 7 +/* 802B7180 002B40E0 38 80 00 00 */ li r4, 0 +/* 802B7184 002B40E4 38 A0 00 01 */ li r5, 1 +/* 802B7188 002B40E8 38 C0 00 07 */ li r6, 7 +/* 802B718C 002B40EC 38 E0 00 00 */ li r7, 0 +/* 802B7190 002B40F0 48 05 16 85 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B7194 002B40F4 38 60 00 08 */ li r3, 8 +/* 802B7198 002B40F8 48 00 02 BD */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B719C 002B40FC 7C 66 1B 78 */ mr r6, r3 +/* 802B71A0 002B4100 7F 83 E3 78 */ mr r3, r28 +/* 802B71A4 002B4104 38 80 00 04 */ li r4, 4 +/* 802B71A8 002B4108 38 A0 00 00 */ li r5, 0 +/* 802B71AC 002B410C 38 E0 00 27 */ li r7, 0x27 +/* 802B71B0 002B4110 39 00 00 01 */ li r8, 1 +/* 802B71B4 002B4114 48 00 01 99 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B71B8 002B4118 38 60 00 00 */ li r3, 0 +/* 802B71BC 002B411C 38 80 00 00 */ li r4, 0 +/* 802B71C0 002B4120 48 0C 4F 21 */ bl GXSetDstAlpha +/* 802B71C4 002B4124 38 60 00 00 */ li r3, 0 +/* 802B71C8 002B4128 48 0C 4D 39 */ bl GXSetColorUpdate +/* 802B71CC 002B412C 38 60 00 08 */ li r3, 8 +/* 802B71D0 002B4130 48 00 02 85 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B71D4 002B4134 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B71D8 002B4138 7C 66 1B 78 */ mr r6, r3 +/* 802B71DC 002B413C 7F C3 F3 78 */ mr r3, r30 +/* 802B71E0 002B4140 7F E4 FB 78 */ mr r4, r31 +/* 802B71E4 002B4144 38 A0 00 01 */ li r5, 1 +/* 802B71E8 002B4148 48 05 2E 39 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B71EC 002B414C 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 802B71F0 002B4150 3C 00 43 30 */ lis r0, 0x4330 +/* 802B71F4 002B4154 90 61 00 8C */ stw r3, 0x8c(r1) +/* 802B71F8 002B4158 38 61 00 08 */ addi r3, r1, 8 +/* 802B71FC 002B415C C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B7200 002B4160 90 01 00 88 */ stw r0, 0x88(r1) +/* 802B7204 002B4164 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802B7208 002B4168 FC 40 08 90 */ fmr f2, f1 +/* 802B720C 002B416C C8 01 00 88 */ lfd f0, 0x88(r1) +/* 802B7210 002B4170 FC 60 08 90 */ fmr f3, f1 +/* 802B7214 002B4174 C0 A2 C2 B0 */ lfs f5, lbl_805ADFD0@sda21(r2) +/* 802B7218 002B4178 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802B721C 002B417C C0 82 C2 B4 */ lfs f4, lbl_805ADFD4@sda21(r2) +/* 802B7220 002B4180 EC 05 00 24 */ fdivs f0, f5, f0 +/* 802B7224 002B4184 EF 7E 00 32 */ fmuls f27, f30, f0 +/* 802B7228 002B4188 48 0A C1 C5 */ bl __ct__6CColorFffff +/* 802B722C 002B418C 82 A3 00 00 */ lwz r21, 0(r3) +/* 802B7230 002B4190 3A C0 00 00 */ li r22, 0 +/* 802B7234 002B4194 C3 A2 C2 74 */ lfs f29, lbl_805ADF94@sda21(r2) +/* 802B7238 002B4198 3F 80 CC 01 */ lis r28, 0xcc01 +/* 802B723C 002B419C C3 E2 C2 70 */ lfs f31, lbl_805ADF90@sda21(r2) +/* 802B7240 002B41A0 C3 C2 C2 7C */ lfs f30, lbl_805ADF9C@sda21(r2) +lbl_802B7244: +/* 802B7244 002B41A4 38 60 00 98 */ li r3, 0x98 +/* 802B7248 002B41A8 38 80 00 00 */ li r4, 0 +/* 802B724C 002B41AC 38 A0 00 04 */ li r5, 4 +/* 802B7250 002B41B0 48 05 13 35 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B7254 002B41B4 C0 37 00 00 */ lfs f1, 0(r23) +/* 802B7258 002B41B8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B725C 002B41BC C0 17 00 04 */ lfs f0, 4(r23) +/* 802B7260 002B41C0 EC 3B 00 72 */ fmuls f1, f27, f1 +/* 802B7264 002B41C4 EC 5B 00 32 */ fmuls f2, f27, f0 +/* 802B7268 002B41C8 48 05 CF 99 */ bl __ct__9CVector2fFff +/* 802B726C 002B41CC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B7270 002B41D0 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B7274 002B41D4 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B7278 002B41D8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B727C 002B41DC D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B7280 002B41E0 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B7284 002B41E4 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B7288 002B41E8 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B728C 002B41EC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B7290 002B41F0 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B7294 002B41F4 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B7298 002B41F8 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B729C 002B41FC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B72A0 002B4200 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72A4 002B4204 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B72A8 002B4208 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B72AC 002B420C D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B72B0 002B4210 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B72B4 002B4214 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72B8 002B4218 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72BC 002B421C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B72C0 002B4220 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B72C4 002B4224 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72C8 002B4228 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B72CC 002B422C D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72D0 002B4230 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72D4 002B4234 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B72D8 002B4238 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B72DC 002B423C D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72E0 002B4240 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72E4 002B4244 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B72E8 002B4248 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B72EC 002B424C D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72F0 002B4250 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B72F4 002B4254 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B72F8 002B4258 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72FC 002B425C 48 05 12 85 */ bl End__3CGXFv +/* 802B7300 002B4260 3A D6 00 01 */ addi r22, r22, 1 +/* 802B7304 002B4264 3A F7 00 08 */ addi r23, r23, 8 +/* 802B7308 002B4268 28 16 00 08 */ cmplwi r22, 8 +/* 802B730C 002B426C 41 80 FF 38 */ blt lbl_802B7244 +/* 802B7310 002B4270 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802B7314 002B4274 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802B7318 002B4278 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802B731C 002B427C CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802B7320 002B4280 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802B7324 002B4284 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802B7328 002B4288 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 +/* 802B732C 002B428C CB 81 00 D0 */ lfd f28, 0xd0(r1) +/* 802B7330 002B4290 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 +/* 802B7334 002B4294 CB 61 00 C0 */ lfd f27, 0xc0(r1) +/* 802B7338 002B4298 BA A1 00 94 */ lmw r21, 0x94(r1) +/* 802B733C 002B429C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802B7340 002B42A0 7C 08 03 A6 */ mtlr r0 +/* 802B7344 002B42A4 38 21 01 10 */ addi r1, r1, 0x110 +/* 802B7348 002B42A8 4E 80 00 20 */ blr + +.global CopyTex__13CCubeRendererFibPv8GXTexFmtb +CopyTex__13CCubeRendererFibPv8GXTexFmtb: +/* 802B734C 002B42AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B7350 002B42B0 7C 08 02 A6 */ mflr r0 +/* 802B7354 002B42B4 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802B7358 002B42B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B735C 002B42BC 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 802B7360 002B42C0 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802B7364 002B42C4 7C 9A 23 78 */ mr r26, r4 +/* 802B7368 002B42C8 7C BB 2B 78 */ mr r27, r5 +/* 802B736C 002B42CC 7C DC 33 78 */ mr r28, r6 +/* 802B7370 002B42D0 7C FD 3B 78 */ mr r29, r7 +/* 802B7374 002B42D4 7D 1E 43 78 */ mr r30, r8 +/* 802B7378 002B42D8 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 802B737C 002B42DC 80 03 00 04 */ lwz r0, 4(r3) +/* 802B7380 002B42E0 83 23 00 08 */ lwz r25, 8(r3) +/* 802B7384 002B42E4 7C BF D3 96 */ divwu r5, r31, r26 +/* 802B7388 002B42E8 7C 80 FA 14 */ add r4, r0, r31 +/* 802B738C 002B42EC 80 63 00 00 */ lwz r3, 0(r3) +/* 802B7390 002B42F0 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 802B7394 002B42F4 7C 85 20 50 */ subf r4, r5, r4 +/* 802B7398 002B42F8 7C 19 D3 96 */ divwu r0, r25, r26 +/* 802B739C 002B42FC 54 A6 04 3E */ clrlwi r6, r5, 0x10 +/* 802B73A0 002B4300 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 802B73A4 002B4304 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 802B73A8 002B4308 48 0C 1A 0D */ bl GXSetTexCopySrc +/* 802B73AC 002B430C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 802B73B0 002B4310 41 82 00 14 */ beq lbl_802B73C4 +/* 802B73B4 002B4314 57 20 0F FE */ srwi r0, r25, 0x1f +/* 802B73B8 002B4318 7C 00 CA 14 */ add r0, r0, r25 +/* 802B73BC 002B431C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802B73C0 002B4320 48 00 00 08 */ b lbl_802B73C8 +lbl_802B73C4: +/* 802B73C4 002B4324 7F 20 CB 78 */ mr r0, r25 +lbl_802B73C8: +/* 802B73C8 002B4328 7C 60 D3 96 */ divwu r3, r0, r26 +/* 802B73CC 002B432C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 802B73D0 002B4330 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 802B73D4 002B4334 41 82 00 14 */ beq lbl_802B73E8 +/* 802B73D8 002B4338 57 E0 0F FE */ srwi r0, r31, 0x1f +/* 802B73DC 002B433C 7C 00 FA 14 */ add r0, r0, r31 +/* 802B73E0 002B4340 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802B73E4 002B4344 48 00 00 08 */ b lbl_802B73EC +lbl_802B73E8: +/* 802B73E8 002B4348 7F E0 FB 78 */ mr r0, r31 +lbl_802B73EC: +/* 802B73EC 002B434C 7C 00 D3 96 */ divwu r0, r0, r26 +/* 802B73F0 002B4350 7F A5 EB 78 */ mr r5, r29 +/* 802B73F4 002B4354 57 66 06 3E */ clrlwi r6, r27, 0x18 +/* 802B73F8 002B4358 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 802B73FC 002B435C 48 0C 1A 85 */ bl GXSetTexCopyDst +/* 802B7400 002B4360 38 00 00 00 */ li r0, 0 +/* 802B7404 002B4364 38 61 00 08 */ addi r3, r1, 8 +/* 802B7408 002B4368 90 01 00 08 */ stw r0, 8(r1) +/* 802B740C 002B436C 48 05 4B 89 */ bl SetClearColor__9CGraphicsFRC6CColor +/* 802B7410 002B4370 38 60 00 00 */ li r3, 0 +/* 802B7414 002B4374 48 0C 4A ED */ bl GXSetColorUpdate +/* 802B7418 002B4378 28 1C 00 00 */ cmplwi r28, 0 +/* 802B741C 002B437C 41 82 00 0C */ beq lbl_802B7428 +/* 802B7420 002B4380 7F 83 E3 78 */ mr r3, r28 +/* 802B7424 002B4384 48 00 00 08 */ b lbl_802B742C +lbl_802B7428: +/* 802B7428 002B4388 80 6D A8 28 */ lwz r3, lbl_805A93E8@sda21(r13) +lbl_802B742C: +/* 802B742C 002B438C 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 802B7430 002B4390 48 0C 21 05 */ bl GXCopyTex +/* 802B7434 002B4394 38 60 00 01 */ li r3, 1 +/* 802B7438 002B4398 48 0C 4A C9 */ bl GXSetColorUpdate +/* 802B743C 002B439C 48 0C 11 29 */ bl GXPixModeSync +/* 802B7440 002B43A0 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802B7444 002B43A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B7448 002B43A8 7C 08 03 A6 */ mtlr r0 +/* 802B744C 002B43AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B7450 002B43B0 4E 80 00 20 */ blr + +.global GetRenderToTexBuffer__13CCubeRendererFi +GetRenderToTexBuffer__13CCubeRendererFi: +/* 802B7454 002B43B4 80 0D A8 24 */ lwz r0, lbl_805A93E4@sda21(r13) +/* 802B7458 002B43B8 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) +/* 802B745C 002B43BC 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802B7460 002B43C0 54 00 E1 3E */ srwi r0, r0, 4 +/* 802B7464 002B43C4 7C 64 02 14 */ add r3, r4, r0 +/* 802B7468 002B43C8 4E 80 00 20 */ blr + +.global "DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +"DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii": +/* 802B746C 002B43CC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B7470 002B43D0 7C 08 02 A6 */ mflr r0 +/* 802B7474 002B43D4 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B7478 002B43D8 BE 21 00 34 */ stmw r17, 0x34(r1) +/* 802B747C 002B43DC 7C 71 1B 78 */ mr r17, r3 +/* 802B7480 002B43E0 7C B2 2B 78 */ mr r18, r5 +/* 802B7484 002B43E4 7C D3 33 78 */ mr r19, r6 +/* 802B7488 002B43E8 7C 99 23 78 */ mr r25, r4 +/* 802B748C 002B43EC 54 9A 10 3A */ slwi r26, r4, 2 +/* 802B7490 002B43F0 3B 00 00 00 */ li r24, 0 +/* 802B7494 002B43F4 80 02 D7 78 */ lwz r0, lbl_805AF498@sda21(r2) +/* 802B7498 002B43F8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B749C 002B43FC 83 A3 00 20 */ lwz r29, 0x20(r3) +/* 802B74A0 002B4400 48 00 01 50 */ b lbl_802B75F0 +lbl_802B74A4: +/* 802B74A4 002B4404 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802B74A8 002B4408 28 1F 00 00 */ cmplwi r31, 0 +/* 802B74AC 002B440C 41 82 01 40 */ beq lbl_802B75EC +/* 802B74B0 002B4410 7F 5B D3 78 */ mr r27, r26 +/* 802B74B4 002B4414 3A E0 00 00 */ li r23, 0 +/* 802B74B8 002B4418 3A C0 00 00 */ li r22, 0 +/* 802B74BC 002B441C 48 00 01 20 */ b lbl_802B75DC +lbl_802B74C0: +/* 802B74C0 002B4420 7C 18 BA 14 */ add r0, r24, r23 +/* 802B74C4 002B4424 80 72 00 0C */ lwz r3, 0xc(r18) +/* 802B74C8 002B4428 54 00 10 3A */ slwi r0, r0, 2 +/* 802B74CC 002B442C 7E A3 00 2E */ lwzx r21, r3, r0 +/* 802B74D0 002B4430 28 15 00 00 */ cmplwi r21, 0 +/* 802B74D4 002B4434 41 82 01 00 */ beq lbl_802B75D4 +/* 802B74D8 002B4438 3A 80 00 00 */ li r20, 0 +/* 802B74DC 002B443C 7F 7C DB 78 */ mr r28, r27 +lbl_802B74E0: +/* 802B74E0 002B4440 38 00 00 01 */ li r0, 1 +/* 802B74E4 002B4444 7C 00 A0 30 */ slw r0, r0, r20 +/* 802B74E8 002B4448 7E A0 00 39 */ and. r0, r21, r0 +/* 802B74EC 002B444C 41 82 00 DC */ beq lbl_802B75C8 +/* 802B74F0 002B4450 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 802B74F4 002B4454 7C 16 A2 14 */ add r0, r22, r20 +/* 802B74F8 002B4458 54 03 18 38 */ slwi r3, r0, 3 +/* 802B74FC 002B445C 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802B7500 002B4460 38 03 00 04 */ addi r0, r3, 4 +/* 802B7504 002B4464 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B7508 002B4468 38 60 00 00 */ li r3, 0 +/* 802B750C 002B446C 7F C5 00 2E */ lwzx r30, r5, r0 +/* 802B7510 002B4470 9B 81 00 13 */ stb r28, 0x13(r1) +/* 802B7514 002B4474 48 05 17 31 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B7518 002B4478 7F C3 F3 78 */ mr r3, r30 +/* 802B751C 002B447C 48 05 01 05 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B7520 002B4480 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B7524 002B4484 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B7528 002B4488 48 00 00 7C */ b lbl_802B75A4 +lbl_802B752C: +/* 802B752C 002B448C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B7530 002B4490 38 81 00 0C */ addi r4, r1, 0xc +/* 802B7534 002B4494 48 09 0D 7D */ bl GetBounds__12CCubeSurfaceCFv +/* 802B7538 002B4498 7E 64 9B 78 */ mr r4, r19 +/* 802B753C 002B449C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B7540 002B44A0 48 08 06 45 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B7544 002B44A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B7548 002B44A8 41 82 00 50 */ beq lbl_802B7598 +/* 802B754C 002B44AC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802B7550 002B44B0 7F C4 F3 78 */ mr r4, r30 +/* 802B7554 002B44B4 38 61 00 08 */ addi r3, r1, 8 +/* 802B7558 002B44B8 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B755C 002B44BC 48 04 FF B1 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 802B7560 002B44C0 80 81 00 08 */ lwz r4, 8(r1) +/* 802B7564 002B44C4 80 04 00 04 */ lwz r0, 4(r4) +/* 802B7568 002B44C8 54 03 10 3A */ slwi r3, r0, 2 +/* 802B756C 002B44CC 38 03 00 08 */ addi r0, r3, 8 +/* 802B7570 002B44D0 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802B7574 002B44D4 48 05 09 89 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 802B7578 002B44D8 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802B757C 002B44DC 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 802B7580 002B44E0 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802B7584 002B44E4 38 63 00 4B */ addi r3, r3, 0x4b +/* 802B7588 002B44E8 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 802B758C 002B44EC 54 04 00 7E */ clrlwi r4, r0, 1 +/* 802B7590 002B44F0 7C 65 1A 14 */ add r3, r5, r3 +/* 802B7594 002B44F4 48 05 10 59 */ bl CallDisplayList__3CGXFPCvUl +lbl_802B7598: +/* 802B7598 002B44F8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B759C 002B44FC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B75A0 002B4500 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802B75A4: +/* 802B75A4 002B4504 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B75A8 002B4508 28 00 00 00 */ cmplwi r0, 0 +/* 802B75AC 002B450C 40 82 FF 80 */ bne lbl_802B752C +/* 802B75B0 002B4510 3B 39 00 01 */ addi r25, r25, 1 +/* 802B75B4 002B4514 3B 7B 00 04 */ addi r27, r27, 4 +/* 802B75B8 002B4518 2C 19 00 40 */ cmpwi r25, 0x40 +/* 802B75BC 002B451C 3B 5A 00 04 */ addi r26, r26, 4 +/* 802B75C0 002B4520 3B 9C 00 04 */ addi r28, r28, 4 +/* 802B75C4 002B4524 40 80 00 38 */ bge lbl_802B75FC +lbl_802B75C8: +/* 802B75C8 002B4528 3A 94 00 01 */ addi r20, r20, 1 +/* 802B75CC 002B452C 2C 14 00 20 */ cmpwi r20, 0x20 +/* 802B75D0 002B4530 41 80 FF 10 */ blt lbl_802B74E0 +lbl_802B75D4: +/* 802B75D4 002B4534 3A F7 00 01 */ addi r23, r23, 1 +/* 802B75D8 002B4538 3A D6 00 20 */ addi r22, r22, 0x20 +lbl_802B75DC: +/* 802B75DC 002B453C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B75E0 002B4540 7C 17 00 40 */ cmplw r23, r0 +/* 802B75E4 002B4544 41 80 FE DC */ blt lbl_802B74C0 +/* 802B75E8 002B4548 7F 18 02 14 */ add r24, r24, r0 +lbl_802B75EC: +/* 802B75EC 002B454C 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B75F0: +/* 802B75F0 002B4550 80 11 00 24 */ lwz r0, 0x24(r17) +/* 802B75F4 002B4554 7C 1D 00 40 */ cmplw r29, r0 +/* 802B75F8 002B4558 40 82 FE AC */ bne lbl_802B74A4 +lbl_802B75FC: +/* 802B75FC 002B455C BA 21 00 34 */ lmw r17, 0x34(r1) +/* 802B7600 002B4560 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B7604 002B4564 7C 08 03 A6 */ mtlr r0 +/* 802B7608 002B4568 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B760C 002B456C 4E 80 00 20 */ blr + +.global "DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +"DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii": +/* 802B7610 002B4570 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802B7614 002B4574 7C 08 02 A6 */ mflr r0 +/* 802B7618 002B4578 90 01 00 84 */ stw r0, 0x84(r1) +/* 802B761C 002B457C BE 21 00 44 */ stmw r17, 0x44(r1) +/* 802B7620 002B4580 7C 94 23 78 */ mr r20, r4 +/* 802B7624 002B4584 7C 71 1B 78 */ mr r17, r3 +/* 802B7628 002B4588 7C B2 2B 78 */ mr r18, r5 +/* 802B762C 002B458C 7C D3 33 78 */ mr r19, r6 +/* 802B7630 002B4590 38 80 00 01 */ li r4, 1 +/* 802B7634 002B4594 48 00 61 FD */ bl SetupRendererStates__13CCubeRendererFb +/* 802B7638 002B4598 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B763C 002B459C 38 80 00 00 */ li r4, 0 +/* 802B7640 002B45A0 38 00 00 03 */ li r0, 3 +/* 802B7644 002B45A4 98 81 00 0C */ stb r4, 0xc(r1) +/* 802B7648 002B45A8 FC 40 08 90 */ fmr f2, f1 +/* 802B764C 002B45AC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B7650 002B45B0 FC 60 08 90 */ fmr f3, f1 +/* 802B7654 002B45B4 98 81 00 0D */ stb r4, 0xd(r1) +/* 802B7658 002B45B8 FC 80 08 90 */ fmr f4, f1 +/* 802B765C 002B45BC B0 01 00 0E */ sth r0, 0xe(r1) +/* 802B7660 002B45C0 48 0A BD 8D */ bl __ct__6CColorFffff +/* 802B7664 002B45C4 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 802B7668 002B45C8 7E 99 A3 78 */ mr r25, r20 +/* 802B766C 002B45CC 88 81 00 0D */ lbz r4, 0xd(r1) +/* 802B7670 002B45D0 56 9A 10 3A */ slwi r26, r20, 2 +/* 802B7674 002B45D4 A0 61 00 0E */ lhz r3, 0xe(r1) +/* 802B7678 002B45D8 3B 00 00 00 */ li r24, 0 +/* 802B767C 002B45DC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802B7680 002B45E0 98 A1 00 14 */ stb r5, 0x14(r1) +/* 802B7684 002B45E4 98 81 00 15 */ stb r4, 0x15(r1) +/* 802B7688 002B45E8 B0 61 00 16 */ sth r3, 0x16(r1) +/* 802B768C 002B45EC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802B7690 002B45F0 83 B1 00 20 */ lwz r29, 0x20(r17) +/* 802B7694 002B45F4 48 00 01 24 */ b lbl_802B77B8 +lbl_802B7698: +/* 802B7698 002B45F8 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802B769C 002B45FC 28 1F 00 00 */ cmplwi r31, 0 +/* 802B76A0 002B4600 41 82 01 14 */ beq lbl_802B77B4 +/* 802B76A4 002B4604 7F 5B D3 78 */ mr r27, r26 +/* 802B76A8 002B4608 3A E0 00 00 */ li r23, 0 +/* 802B76AC 002B460C 3A C0 00 00 */ li r22, 0 +/* 802B76B0 002B4610 48 00 00 F4 */ b lbl_802B77A4 +lbl_802B76B4: +/* 802B76B4 002B4614 7C 18 BA 14 */ add r0, r24, r23 +/* 802B76B8 002B4618 80 72 00 0C */ lwz r3, 0xc(r18) +/* 802B76BC 002B461C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B76C0 002B4620 7E A3 00 2E */ lwzx r21, r3, r0 +/* 802B76C4 002B4624 28 15 00 00 */ cmplwi r21, 0 +/* 802B76C8 002B4628 41 82 00 D4 */ beq lbl_802B779C +/* 802B76CC 002B462C 3A 80 00 00 */ li r20, 0 +/* 802B76D0 002B4630 7F 7C DB 78 */ mr r28, r27 +lbl_802B76D4: +/* 802B76D4 002B4634 38 00 00 01 */ li r0, 1 +/* 802B76D8 002B4638 7C 00 A0 30 */ slw r0, r0, r20 +/* 802B76DC 002B463C 7E A0 00 39 */ and. r0, r21, r0 +/* 802B76E0 002B4640 41 82 00 B0 */ beq lbl_802B7790 +/* 802B76E4 002B4644 80 BD 00 1C */ lwz r5, 0x1c(r29) +/* 802B76E8 002B4648 7C 16 A2 14 */ add r0, r22, r20 +/* 802B76EC 002B464C 54 03 18 38 */ slwi r3, r0, 3 +/* 802B76F0 002B4650 57 84 06 3E */ clrlwi r4, r28, 0x18 +/* 802B76F4 002B4654 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B76F8 002B4658 38 03 00 04 */ addi r0, r3, 4 +/* 802B76FC 002B465C 38 60 00 01 */ li r3, 1 +/* 802B7700 002B4660 7F C5 00 2E */ lwzx r30, r5, r0 +/* 802B7704 002B4664 48 0C 49 DD */ bl GXSetDstAlpha +/* 802B7708 002B4668 48 08 E2 39 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 802B770C 002B466C 7F C3 F3 78 */ mr r3, r30 +/* 802B7710 002B4670 48 04 FF 11 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B7714 002B4674 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B7718 002B4678 90 01 00 08 */ stw r0, 8(r1) +/* 802B771C 002B467C 48 00 00 40 */ b lbl_802B775C +lbl_802B7720: +/* 802B7720 002B4680 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B7724 002B4684 38 81 00 08 */ addi r4, r1, 8 +/* 802B7728 002B4688 48 09 0B 89 */ bl GetBounds__12CCubeSurfaceCFv +/* 802B772C 002B468C 7E 64 9B 78 */ mr r4, r19 +/* 802B7730 002B4690 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B7734 002B4694 48 08 04 51 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B7738 002B4698 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B773C 002B469C 41 82 00 14 */ beq lbl_802B7750 +/* 802B7740 002B46A0 7F C3 F3 78 */ mr r3, r30 +/* 802B7744 002B46A4 38 81 00 08 */ addi r4, r1, 8 +/* 802B7748 002B46A8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802B774C 002B46AC 48 04 FC F9 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +lbl_802B7750: +/* 802B7750 002B46B0 80 61 00 08 */ lwz r3, 8(r1) +/* 802B7754 002B46B4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B7758 002B46B8 90 01 00 08 */ stw r0, 8(r1) +lbl_802B775C: +/* 802B775C 002B46BC 80 01 00 08 */ lwz r0, 8(r1) +/* 802B7760 002B46C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B7764 002B46C4 40 82 FF BC */ bne lbl_802B7720 +/* 802B7768 002B46C8 3B 39 00 01 */ addi r25, r25, 1 +/* 802B776C 002B46CC 3B 7B 00 04 */ addi r27, r27, 4 +/* 802B7770 002B46D0 2C 19 00 40 */ cmpwi r25, 0x40 +/* 802B7774 002B46D4 3B 5A 00 04 */ addi r26, r26, 4 +/* 802B7778 002B46D8 3B 9C 00 04 */ addi r28, r28, 4 +/* 802B777C 002B46DC 41 80 00 14 */ blt lbl_802B7790 +/* 802B7780 002B46E0 7E 23 8B 78 */ mr r3, r17 +/* 802B7784 002B46E4 48 00 60 19 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802B7788 002B46E8 7F 23 CB 78 */ mr r3, r25 +/* 802B778C 002B46EC 48 00 00 44 */ b lbl_802B77D0 +lbl_802B7790: +/* 802B7790 002B46F0 3A 94 00 01 */ addi r20, r20, 1 +/* 802B7794 002B46F4 2C 14 00 20 */ cmpwi r20, 0x20 +/* 802B7798 002B46F8 41 80 FF 3C */ blt lbl_802B76D4 +lbl_802B779C: +/* 802B779C 002B46FC 3A F7 00 01 */ addi r23, r23, 1 +/* 802B77A0 002B4700 3A D6 00 20 */ addi r22, r22, 0x20 +lbl_802B77A4: +/* 802B77A4 002B4704 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B77A8 002B4708 7C 17 00 40 */ cmplw r23, r0 +/* 802B77AC 002B470C 41 80 FF 08 */ blt lbl_802B76B4 +/* 802B77B0 002B4710 7F 18 02 14 */ add r24, r24, r0 +lbl_802B77B4: +/* 802B77B4 002B4714 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B77B8: +/* 802B77B8 002B4718 80 11 00 24 */ lwz r0, 0x24(r17) +/* 802B77BC 002B471C 7C 1D 00 40 */ cmplw r29, r0 +/* 802B77C0 002B4720 40 82 FE D8 */ bne lbl_802B7698 +/* 802B77C4 002B4724 7E 23 8B 78 */ mr r3, r17 +/* 802B77C8 002B4728 48 00 5F D5 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802B77CC 002B472C 7F 23 CB 78 */ mr r3, r25 +lbl_802B77D0: +/* 802B77D0 002B4730 BA 21 00 44 */ lmw r17, 0x44(r1) +/* 802B77D4 002B4734 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802B77D8 002B4738 7C 08 03 A6 */ mtlr r0 +/* 802B77DC 002B473C 38 21 00 80 */ addi r1, r1, 0x80 +/* 802B77E0 002B4740 4E 80 00 20 */ blr + +.global "FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox" +"FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox": +/* 802B77E4 002B4744 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802B77E8 002B4748 7C 08 02 A6 */ mflr r0 +/* 802B77EC 002B474C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802B77F0 002B4750 BE 61 00 5C */ stmw r19, 0x5c(r1) +/* 802B77F4 002B4754 7C 94 23 78 */ mr r20, r4 +/* 802B77F8 002B4758 7C B5 2B 78 */ mr r21, r5 +/* 802B77FC 002B475C 7C 73 1B 78 */ mr r19, r3 +/* 802B7800 002B4760 3B 60 00 00 */ li r27, 0 +/* 802B7804 002B4764 80 83 00 20 */ lwz r4, 0x20(r3) +/* 802B7808 002B4768 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 802B780C 002B476C 48 00 00 1C */ b lbl_802B7828 +lbl_802B7810: +/* 802B7810 002B4770 80 64 00 0C */ lwz r3, 0xc(r4) +/* 802B7814 002B4774 28 03 00 00 */ cmplwi r3, 0 +/* 802B7818 002B4778 41 82 00 0C */ beq lbl_802B7824 +/* 802B781C 002B477C 80 03 00 14 */ lwz r0, 0x14(r3) +/* 802B7820 002B4780 7F 7B 02 14 */ add r27, r27, r0 +lbl_802B7824: +/* 802B7824 002B4784 80 84 00 04 */ lwz r4, 4(r4) +lbl_802B7828: +/* 802B7828 002B4788 7C 04 28 40 */ cmplw r4, r5 +/* 802B782C 002B478C 40 82 FF E4 */ bne lbl_802B7810 +/* 802B7830 002B4790 2C 1B 00 00 */ cmpwi r27, 0 +/* 802B7834 002B4794 40 82 00 64 */ bne lbl_802B7898 +/* 802B7838 002B4798 38 00 00 00 */ li r0, 0 +/* 802B783C 002B479C 7E 83 A3 78 */ mr r3, r20 +/* 802B7840 002B47A0 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802B7844 002B47A4 38 81 00 48 */ addi r4, r1, 0x48 +/* 802B7848 002B47A8 90 01 00 50 */ stw r0, 0x50(r1) +/* 802B784C 002B47AC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B7850 002B47B0 4B DA BE AD */ bl "clear__Q24rstl37vectorFv" +/* 802B7854 002B47B4 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B7858 002B47B8 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802B785C 002B47BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802B7860 002B47C0 7C 03 02 14 */ add r0, r3, r0 +/* 802B7864 002B47C4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802B7868 002B47C8 7C 64 1B 78 */ mr r4, r3 +/* 802B786C 002B47CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B7870 002B47D0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802B7874 002B47D4 90 61 00 28 */ stw r3, 0x28(r1) +/* 802B7878 002B47D8 48 00 00 08 */ b lbl_802B7880 +lbl_802B787C: +/* 802B787C 002B47DC 38 84 00 04 */ addi r4, r4, 4 +lbl_802B7880: +/* 802B7880 002B47E0 7C 04 00 40 */ cmplw r4, r0 +/* 802B7884 002B47E4 40 82 FF F8 */ bne lbl_802B787C +/* 802B7888 002B47E8 28 03 00 00 */ cmplwi r3, 0 +/* 802B788C 002B47EC 41 82 01 98 */ beq lbl_802B7A24 +/* 802B7890 002B47F0 48 05 E0 A1 */ bl Free__7CMemoryFPCv +/* 802B7894 002B47F4 48 00 01 90 */ b lbl_802B7A24 +lbl_802B7898: +/* 802B7898 002B47F8 80 14 00 08 */ lwz r0, 8(r20) +/* 802B789C 002B47FC 7C 1B 00 00 */ cmpw r27, r0 +/* 802B78A0 002B4800 41 82 00 64 */ beq lbl_802B7904 +/* 802B78A4 002B4804 38 00 00 00 */ li r0, 0 +/* 802B78A8 002B4808 7E 83 A3 78 */ mr r3, r20 +/* 802B78AC 002B480C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802B78B0 002B4810 38 81 00 38 */ addi r4, r1, 0x38 +/* 802B78B4 002B4814 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B78B8 002B4818 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B78BC 002B481C 4B DA BE 41 */ bl "clear__Q24rstl37vectorFv" +/* 802B78C0 002B4820 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802B78C4 002B4824 80 61 00 44 */ lwz r3, 0x44(r1) +/* 802B78C8 002B4828 54 00 10 3A */ slwi r0, r0, 2 +/* 802B78CC 002B482C 7C 03 02 14 */ add r0, r3, r0 +/* 802B78D0 002B4830 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B78D4 002B4834 7C 64 1B 78 */ mr r4, r3 +/* 802B78D8 002B4838 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B78DC 002B483C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B78E0 002B4840 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B78E4 002B4844 48 00 00 08 */ b lbl_802B78EC +lbl_802B78E8: +/* 802B78E8 002B4848 38 84 00 04 */ addi r4, r4, 4 +lbl_802B78EC: +/* 802B78EC 002B484C 7C 04 00 40 */ cmplw r4, r0 +/* 802B78F0 002B4850 40 82 FF F8 */ bne lbl_802B78E8 +/* 802B78F4 002B4854 28 03 00 00 */ cmplwi r3, 0 +/* 802B78F8 002B4858 41 82 00 44 */ beq lbl_802B793C +/* 802B78FC 002B485C 48 05 E0 35 */ bl Free__7CMemoryFPCv +/* 802B7900 002B4860 48 00 00 3C */ b lbl_802B793C +lbl_802B7904: +/* 802B7904 002B4864 80 14 00 04 */ lwz r0, 4(r20) +/* 802B7908 002B4868 80 74 00 0C */ lwz r3, 0xc(r20) +/* 802B790C 002B486C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B7910 002B4870 7C 03 02 14 */ add r0, r3, r0 +/* 802B7914 002B4874 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B7918 002B4878 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B791C 002B487C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B7920 002B4880 90 61 00 08 */ stw r3, 8(r1) +/* 802B7924 002B4884 48 00 00 08 */ b lbl_802B792C +lbl_802B7928: +/* 802B7928 002B4888 38 63 00 04 */ addi r3, r3, 4 +lbl_802B792C: +/* 802B792C 002B488C 7C 03 00 40 */ cmplw r3, r0 +/* 802B7930 002B4890 40 82 FF F8 */ bne lbl_802B7928 +/* 802B7934 002B4894 38 00 00 00 */ li r0, 0 +/* 802B7938 002B4898 90 14 00 04 */ stw r0, 4(r20) +lbl_802B793C: +/* 802B793C 002B489C 7E 83 A3 78 */ mr r3, r20 +/* 802B7940 002B48A0 7F 64 DB 78 */ mr r4, r27 +/* 802B7944 002B48A4 38 AD 9A EC */ addi r5, r13, lbl_805A86AC@sda21 +/* 802B7948 002B48A8 4B FF 6F 81 */ bl sub_802ae8c8 +/* 802B794C 002B48AC 83 73 00 20 */ lwz r27, 0x20(r19) +/* 802B7950 002B48B0 3B 40 00 00 */ li r26, 0 +/* 802B7954 002B48B4 48 00 00 C4 */ b lbl_802B7A18 +lbl_802B7958: +/* 802B7958 002B48B8 83 9B 00 0C */ lwz r28, 0xc(r27) +/* 802B795C 002B48BC 28 1C 00 00 */ cmplwi r28, 0 +/* 802B7960 002B48C0 41 82 00 B4 */ beq lbl_802B7A14 +/* 802B7964 002B48C4 80 94 00 0C */ lwz r4, 0xc(r20) +/* 802B7968 002B48C8 57 40 10 3A */ slwi r0, r26, 2 +/* 802B796C 002B48CC 7F 83 E3 78 */ mr r3, r28 +/* 802B7970 002B48D0 7E A5 AB 78 */ mr r5, r21 +/* 802B7974 002B48D4 7C 84 02 14 */ add r4, r4, r0 +/* 802B7978 002B48D8 4B FF 6E A1 */ bl FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox +/* 802B797C 002B48DC 3B 20 00 00 */ li r25, 0 +/* 802B7980 002B48E0 3B 00 00 00 */ li r24, 0 +/* 802B7984 002B48E4 48 00 00 80 */ b lbl_802B7A04 +lbl_802B7988: +/* 802B7988 002B48E8 7C 1A CA 14 */ add r0, r26, r25 +/* 802B798C 002B48EC 83 B4 00 0C */ lwz r29, 0xc(r20) +/* 802B7990 002B48F0 54 1E 10 3A */ slwi r30, r0, 2 +/* 802B7994 002B48F4 7C 1D F0 2E */ lwzx r0, r29, r30 +/* 802B7998 002B48F8 28 00 00 00 */ cmplwi r0, 0 +/* 802B799C 002B48FC 41 82 00 60 */ beq lbl_802B79FC +/* 802B79A0 002B4900 3A E0 00 00 */ li r23, 0 +/* 802B79A4 002B4904 3B E0 00 01 */ li r31, 1 +lbl_802B79A8: +/* 802B79A8 002B4908 7C 1D F0 2E */ lwzx r0, r29, r30 +/* 802B79AC 002B490C 7F F6 B8 30 */ slw r22, r31, r23 +/* 802B79B0 002B4910 7C 00 B0 39 */ and. r0, r0, r22 +/* 802B79B4 002B4914 41 82 00 3C */ beq lbl_802B79F0 +/* 802B79B8 002B4918 80 BB 00 1C */ lwz r5, 0x1c(r27) +/* 802B79BC 002B491C 7C 18 BA 14 */ add r0, r24, r23 +/* 802B79C0 002B4920 54 03 18 38 */ slwi r3, r0, 3 +/* 802B79C4 002B4924 7E A4 AB 78 */ mr r4, r21 +/* 802B79C8 002B4928 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B79CC 002B492C 38 03 00 04 */ addi r0, r3, 4 +/* 802B79D0 002B4930 7C 65 00 2E */ lwzx r3, r5, r0 +/* 802B79D4 002B4934 38 63 00 20 */ addi r3, r3, 0x20 +/* 802B79D8 002B4938 48 08 01 AD */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B79DC 002B493C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B79E0 002B4940 40 82 00 10 */ bne lbl_802B79F0 +/* 802B79E4 002B4944 7C 1D F0 2E */ lwzx r0, r29, r30 +/* 802B79E8 002B4948 7C 00 B0 78 */ andc r0, r0, r22 +/* 802B79EC 002B494C 7C 1D F1 2E */ stwx r0, r29, r30 +lbl_802B79F0: +/* 802B79F0 002B4950 3A F7 00 01 */ addi r23, r23, 1 +/* 802B79F4 002B4954 2C 17 00 20 */ cmpwi r23, 0x20 +/* 802B79F8 002B4958 41 80 FF B0 */ blt lbl_802B79A8 +lbl_802B79FC: +/* 802B79FC 002B495C 3B 39 00 01 */ addi r25, r25, 1 +/* 802B7A00 002B4960 3B 18 00 20 */ addi r24, r24, 0x20 +lbl_802B7A04: +/* 802B7A04 002B4964 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 802B7A08 002B4968 7C 19 00 40 */ cmplw r25, r0 +/* 802B7A0C 002B496C 41 80 FF 7C */ blt lbl_802B7988 +/* 802B7A10 002B4970 7F 5A 02 14 */ add r26, r26, r0 +lbl_802B7A14: +/* 802B7A14 002B4974 83 7B 00 04 */ lwz r27, 4(r27) +lbl_802B7A18: +/* 802B7A18 002B4978 80 13 00 24 */ lwz r0, 0x24(r19) +/* 802B7A1C 002B497C 7C 1B 00 40 */ cmplw r27, r0 +/* 802B7A20 002B4980 40 82 FF 38 */ bne lbl_802B7958 +lbl_802B7A24: +/* 802B7A24 002B4984 BA 61 00 5C */ lmw r19, 0x5c(r1) +/* 802B7A28 002B4988 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802B7A2C 002B498C 7C 08 03 A6 */ mtlr r0 +/* 802B7A30 002B4990 38 21 00 90 */ addi r1, r1, 0x90 +/* 802B7A34 002B4994 4E 80 00 20 */ blr + +.global "PrepareDynamicLights__13CCubeRendererFRCQ24rstl14vector" +"PrepareDynamicLights__13CCubeRendererFRCQ24rstl14vector": +/* 802B7A38 002B4998 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802B7A3C 002B499C 7C 08 02 A6 */ mflr r0 +/* 802B7A40 002B49A0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802B7A44 002B49A4 BE C1 00 78 */ stmw r22, 0x78(r1) +/* 802B7A48 002B49A8 7C 7C 1B 78 */ mr r28, r3 +/* 802B7A4C 002B49AC 7C 9D 23 78 */ mr r29, r4 +/* 802B7A50 002B49B0 80 64 00 04 */ lwz r3, 4(r4) +/* 802B7A54 002B49B4 80 1C 03 04 */ lwz r0, 0x304(r28) +/* 802B7A58 002B49B8 7C 03 00 00 */ cmpw r3, r0 +/* 802B7A5C 002B49BC 41 82 00 60 */ beq lbl_802B7ABC +/* 802B7A60 002B49C0 38 00 00 00 */ li r0, 0 +/* 802B7A64 002B49C4 38 7C 03 00 */ addi r3, r28, 0x300 +/* 802B7A68 002B49C8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B7A6C 002B49CC 38 81 00 50 */ addi r4, r1, 0x50 +/* 802B7A70 002B49D0 90 01 00 58 */ stw r0, 0x58(r1) +/* 802B7A74 002B49D4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802B7A78 002B49D8 4B D8 DF F1 */ bl sub_80045a68 +/* 802B7A7C 002B49DC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802B7A80 002B49E0 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 802B7A84 002B49E4 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 802B7A88 002B49E8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B7A8C 002B49EC 7C 64 1B 78 */ mr r4, r3 +/* 802B7A90 002B49F0 7C 03 02 14 */ add r0, r3, r0 +/* 802B7A94 002B49F4 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B7A98 002B49F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B7A9C 002B49FC 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B7AA0 002B4A00 48 00 00 08 */ b lbl_802B7AA8 +lbl_802B7AA4: +/* 802B7AA4 002B4A04 38 84 00 50 */ addi r4, r4, 0x50 +lbl_802B7AA8: +/* 802B7AA8 002B4A08 7C 04 00 40 */ cmplw r4, r0 +/* 802B7AAC 002B4A0C 40 82 FF F8 */ bne lbl_802B7AA4 +/* 802B7AB0 002B4A10 28 03 00 00 */ cmplwi r3, 0 +/* 802B7AB4 002B4A14 41 82 00 08 */ beq lbl_802B7ABC +/* 802B7AB8 002B4A18 48 05 DE 79 */ bl Free__7CMemoryFPCv +lbl_802B7ABC: +/* 802B7ABC 002B4A1C 7F A4 EB 78 */ mr r4, r29 +/* 802B7AC0 002B4A20 38 7C 03 00 */ addi r3, r28, 0x300 +/* 802B7AC4 002B4A24 4B D8 DF A5 */ bl sub_80045a68 +/* 802B7AC8 002B4A28 83 FC 00 20 */ lwz r31, 0x20(r28) +/* 802B7ACC 002B4A2C 48 00 01 3C */ b lbl_802B7C08 +lbl_802B7AD0: +/* 802B7AD0 002B4A30 48 0C D8 D9 */ bl OSGetTime +/* 802B7AD4 002B4A34 83 7F 00 0C */ lwz r27, 0xc(r31) +/* 802B7AD8 002B4A38 28 1B 00 00 */ cmplwi r27, 0 +/* 802B7ADC 002B4A3C 41 82 01 28 */ beq lbl_802B7C04 +/* 802B7AE0 002B4A40 83 DB 00 14 */ lwz r30, 0x14(r27) +/* 802B7AE4 002B4A44 38 00 00 00 */ li r0, 0 +/* 802B7AE8 002B4A48 3B 5F 00 24 */ addi r26, r31, 0x24 +/* 802B7AEC 002B4A4C 38 81 00 40 */ addi r4, r1, 0x40 +/* 802B7AF0 002B4A50 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B7AF4 002B4A54 7F 43 D3 78 */ mr r3, r26 +/* 802B7AF8 002B4A58 90 01 00 48 */ stw r0, 0x48(r1) +/* 802B7AFC 002B4A5C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802B7B00 002B4A60 4B DA BB FD */ bl "clear__Q24rstl37vectorFv" +/* 802B7B04 002B4A64 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B7B08 002B4A68 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 802B7B0C 002B4A6C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B7B10 002B4A70 7C 03 02 14 */ add r0, r3, r0 +/* 802B7B14 002B4A74 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B7B18 002B4A78 7C 64 1B 78 */ mr r4, r3 +/* 802B7B1C 002B4A7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B7B20 002B4A80 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B7B24 002B4A84 90 61 00 08 */ stw r3, 8(r1) +/* 802B7B28 002B4A88 48 00 00 08 */ b lbl_802B7B30 +lbl_802B7B2C: +/* 802B7B2C 002B4A8C 38 84 00 04 */ addi r4, r4, 4 +lbl_802B7B30: +/* 802B7B30 002B4A90 7C 04 00 40 */ cmplw r4, r0 +/* 802B7B34 002B4A94 40 82 FF F8 */ bne lbl_802B7B2C +/* 802B7B38 002B4A98 28 03 00 00 */ cmplwi r3, 0 +/* 802B7B3C 002B4A9C 41 82 00 08 */ beq lbl_802B7B44 +/* 802B7B40 002B4AA0 48 05 DD F1 */ bl Free__7CMemoryFPCv +lbl_802B7B44: +/* 802B7B44 002B4AA4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B7B48 002B4AA8 2C 00 00 00 */ cmpwi r0, 0 +/* 802B7B4C 002B4AAC 41 82 00 B8 */ beq lbl_802B7C04 +/* 802B7B50 002B4AB0 80 1C 03 04 */ lwz r0, 0x304(r28) +/* 802B7B54 002B4AB4 7F 43 D3 78 */ mr r3, r26 +/* 802B7B58 002B4AB8 38 AD 9A E8 */ addi r5, r13, lbl_805A86A8@sda21 +/* 802B7B5C 002B4ABC 7C 9E 01 D6 */ mullw r4, r30, r0 +/* 802B7B60 002B4AC0 4B FF 6D 69 */ bl sub_802ae8c8 +/* 802B7B64 002B4AC4 3B 00 00 00 */ li r24, 0 +/* 802B7B68 002B4AC8 3A C0 00 00 */ li r22, 0 +/* 802B7B6C 002B4ACC 7F 17 C3 78 */ mr r23, r24 +/* 802B7B70 002B4AD0 48 00 00 84 */ b lbl_802B7BF4 +lbl_802B7B74: +/* 802B7B74 002B4AD4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802B7B78 002B4AD8 7F 20 C2 14 */ add r25, r0, r24 +/* 802B7B7C 002B4ADC 7F 23 CB 78 */ mr r3, r25 +/* 802B7B80 002B4AE0 48 04 E7 55 */ bl GetRadius__6CLightCFv +/* 802B7B84 002B4AE4 C0 99 00 04 */ lfs f4, 4(r25) +/* 802B7B88 002B4AE8 38 61 00 60 */ addi r3, r1, 0x60 +/* 802B7B8C 002B4AEC C0 79 00 08 */ lfs f3, 8(r25) +/* 802B7B90 002B4AF0 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B7B94 002B4AF4 C0 19 00 00 */ lfs f0, 0(r25) +/* 802B7B98 002B4AF8 EC C4 08 2A */ fadds f6, f4, f1 +/* 802B7B9C 002B4AFC EC A3 08 2A */ fadds f5, f3, f1 +/* 802B7BA0 002B4B00 38 A1 00 28 */ addi r5, r1, 0x28 +/* 802B7BA4 002B4B04 EC 40 08 2A */ fadds f2, f0, f1 +/* 802B7BA8 002B4B08 EC 84 08 28 */ fsubs f4, f4, f1 +/* 802B7BAC 002B4B0C D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802B7BB0 002B4B10 EC 63 08 28 */ fsubs f3, f3, f1 +/* 802B7BB4 002B4B14 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802B7BB8 002B4B18 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802B7BBC 002B4B1C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802B7BC0 002B4B20 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802B7BC4 002B4B24 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802B7BC8 002B4B28 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802B7BCC 002B4B2C 48 08 09 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802B7BD0 002B4B30 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 802B7BD4 002B4B34 56 E0 10 3A */ slwi r0, r23, 2 +/* 802B7BD8 002B4B38 7F 63 DB 78 */ mr r3, r27 +/* 802B7BDC 002B4B3C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802B7BE0 002B4B40 7C 84 02 14 */ add r4, r4, r0 +/* 802B7BE4 002B4B44 4B FF 6C 35 */ bl FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox +/* 802B7BE8 002B4B48 7E F7 F2 14 */ add r23, r23, r30 +/* 802B7BEC 002B4B4C 3A D6 00 01 */ addi r22, r22, 1 +/* 802B7BF0 002B4B50 3B 18 00 50 */ addi r24, r24, 0x50 +lbl_802B7BF4: +/* 802B7BF4 002B4B54 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B7BF8 002B4B58 7C 16 00 00 */ cmpw r22, r0 +/* 802B7BFC 002B4B5C 41 80 FF 78 */ blt lbl_802B7B74 +/* 802B7C00 002B4B60 48 0C D7 A9 */ bl OSGetTime +lbl_802B7C04: +/* 802B7C04 002B4B64 83 FF 00 04 */ lwz r31, 4(r31) +lbl_802B7C08: +/* 802B7C08 002B4B68 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 802B7C0C 002B4B6C 7C 1F 00 40 */ cmplw r31, r0 +/* 802B7C10 002B4B70 40 82 FE C0 */ bne lbl_802B7AD0 +/* 802B7C14 002B4B74 BA C1 00 78 */ lmw r22, 0x78(r1) +/* 802B7C18 002B4B78 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802B7C1C 002B4B7C 7C 08 03 A6 */ mtlr r0 +/* 802B7C20 002B4B80 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802B7C24 002B4B84 4E 80 00 20 */ blr + +.global sub_802b7c28 +sub_802b7c28: +/* 802B7C28 002B4B88 2C 05 FF FF */ cmpwi r5, -1 +/* 802B7C2C 002B4B8C 41 82 00 94 */ beq lbl_802B7CC0 +/* 802B7C30 002B4B90 80 E4 00 20 */ lwz r7, 0x20(r4) +/* 802B7C34 002B4B94 81 04 00 24 */ lwz r8, 0x24(r4) +/* 802B7C38 002B4B98 48 00 00 80 */ b lbl_802B7CB8 +lbl_802B7C3C: +/* 802B7C3C 002B4B9C 80 07 00 20 */ lwz r0, 0x20(r7) +/* 802B7C40 002B4BA0 7C 05 00 00 */ cmpw r5, r0 +/* 802B7C44 002B4BA4 40 82 00 70 */ bne lbl_802B7CB4 +/* 802B7C48 002B4BA8 80 87 00 1C */ lwz r4, 0x1c(r7) +/* 802B7C4C 002B4BAC 39 20 00 00 */ li r9, 0 +/* 802B7C50 002B4BB0 80 04 00 04 */ lwz r0, 4(r4) +/* 802B7C54 002B4BB4 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802B7C58 002B4BB8 54 00 18 38 */ slwi r0, r0, 3 +/* 802B7C5C 002B4BBC 7C 04 02 14 */ add r0, r4, r0 +/* 802B7C60 002B4BC0 48 00 00 4C */ b lbl_802B7CAC +lbl_802B7C64: +/* 802B7C64 002B4BC4 7C 09 30 00 */ cmpw r9, r6 +/* 802B7C68 002B4BC8 40 82 00 3C */ bne lbl_802B7CA4 +/* 802B7C6C 002B4BCC 80 84 00 04 */ lwz r4, 4(r4) +/* 802B7C70 002B4BD0 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802B7C74 002B4BD4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802B7C78 002B4BD8 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802B7C7C 002B4BDC D0 03 00 04 */ stfs f0, 4(r3) +/* 802B7C80 002B4BE0 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802B7C84 002B4BE4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802B7C88 002B4BE8 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802B7C8C 002B4BEC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802B7C90 002B4BF0 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802B7C94 002B4BF4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802B7C98 002B4BF8 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802B7C9C 002B4BFC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802B7CA0 002B4C00 4E 80 00 20 */ blr +lbl_802B7CA4: +/* 802B7CA4 002B4C04 38 84 00 08 */ addi r4, r4, 8 +/* 802B7CA8 002B4C08 39 29 00 01 */ addi r9, r9, 1 +lbl_802B7CAC: +/* 802B7CAC 002B4C0C 7C 04 00 40 */ cmplw r4, r0 +/* 802B7CB0 002B4C10 40 82 FF B4 */ bne lbl_802B7C64 +lbl_802B7CB4: +/* 802B7CB4 002B4C14 80 E7 00 04 */ lwz r7, 4(r7) +lbl_802B7CB8: +/* 802B7CB8 002B4C18 7C 07 40 40 */ cmplw r7, r8 +/* 802B7CBC 002B4C1C 40 82 FF 80 */ bne lbl_802B7C3C +lbl_802B7CC0: +/* 802B7CC0 002B4C20 3C 80 80 5A */ lis r4, lbl_805A6784@ha +/* 802B7CC4 002B4C24 C4 04 67 84 */ lfsu f0, lbl_805A6784@l(r4) +/* 802B7CC8 002B4C28 D0 03 00 00 */ stfs f0, 0(r3) +/* 802B7CCC 002B4C2C C0 04 00 04 */ lfs f0, 4(r4) +/* 802B7CD0 002B4C30 D0 03 00 04 */ stfs f0, 4(r3) +/* 802B7CD4 002B4C34 C0 04 00 08 */ lfs f0, 8(r4) +/* 802B7CD8 002B4C38 D0 03 00 08 */ stfs f0, 8(r3) +/* 802B7CDC 002B4C3C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802B7CE0 002B4C40 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802B7CE4 002B4C44 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802B7CE8 002B4C48 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802B7CEC 002B4C4C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802B7CF0 002B4C50 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802B7CF4 002B4C54 4E 80 00 20 */ blr + +.global SetWorldLightFadeLevel__13CCubeRendererFf +SetWorldLightFadeLevel__13CCubeRendererFf: +/* 802B7CF8 002B4C58 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) +/* 802B7CFC 002B4C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B7D00 002B4C60 EC 20 00 72 */ fmuls f1, f0, f1 +/* 802B7D04 002B4C64 F0 21 A0 08 */ psq_st f1, 8(r1), 1, qr2 +/* 802B7D08 002B4C68 38 00 00 FF */ li r0, 0xff +/* 802B7D0C 002B4C6C 88 81 00 08 */ lbz r4, 8(r1) +/* 802B7D10 002B4C70 98 01 00 0F */ stb r0, 0xf(r1) +/* 802B7D14 002B4C74 98 81 00 0C */ stb r4, 0xc(r1) +/* 802B7D18 002B4C78 98 81 00 0D */ stb r4, 0xd(r1) +/* 802B7D1C 002B4C7C 98 81 00 0E */ stb r4, 0xe(r1) +/* 802B7D20 002B4C80 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B7D24 002B4C84 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 802B7D28 002B4C88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B7D2C 002B4C8C 4E 80 00 20 */ blr + +.global SetGXRegister1Color__13CCubeRendererFRC6CColor +SetGXRegister1Color__13CCubeRendererFRC6CColor: +/* 802B7D30 002B4C90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B7D34 002B4C94 7C 08 02 A6 */ mflr r0 +/* 802B7D38 002B4C98 38 60 00 02 */ li r3, 2 +/* 802B7D3C 002B4C9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B7D40 002B4CA0 80 04 00 00 */ lwz r0, 0(r4) +/* 802B7D44 002B4CA4 38 81 00 08 */ addi r4, r1, 8 +/* 802B7D48 002B4CA8 90 01 00 08 */ stw r0, 8(r1) +/* 802B7D4C 002B4CAC 48 0C 38 B1 */ bl GXSetTevColor +/* 802B7D50 002B4CB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B7D54 002B4CB4 7C 08 03 A6 */ mtlr r0 +/* 802B7D58 002B4CB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B7D5C 002B4CBC 4E 80 00 20 */ blr + +.global SetThermalColdScale__13CCubeRendererFf +SetThermalColdScale__13CCubeRendererFf: +/* 802B7D60 002B4CC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B7D64 002B4CC4 7C 08 02 A6 */ mflr r0 +/* 802B7D68 002B4CC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B7D6C 002B4CCC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802B7D70 002B4CD0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802B7D74 002B4CD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B7D78 002B4CD8 D0 21 00 08 */ stfs f1, 8(r1) +/* 802B7D7C 002B4CDC 7C 7F 1B 78 */ mr r31, r3 +/* 802B7D80 002B4CE0 38 81 00 08 */ addi r4, r1, 8 +/* 802B7D84 002B4CE4 38 6D 9A E0 */ addi r3, r13, lbl_805A86A0@sda21 +/* 802B7D88 002B4CE8 38 AD 9A E4 */ addi r5, r13, lbl_805A86A4@sda21 +/* 802B7D8C 002B4CEC 4B D5 45 29 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802B7D90 002B4CF0 C0 23 00 00 */ lfs f1, 0(r3) +/* 802B7D94 002B4CF4 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) +/* 802B7D98 002B4CF8 EF E0 00 72 */ fmuls f31, f0, f1 +/* 802B7D9C 002B4CFC F3 E1 A0 0C */ psq_st f31, 12(r1), 1, qr2 +/* 802B7DA0 002B4D00 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802B7DA4 002B4D04 98 1F 02 F8 */ stb r0, 0x2f8(r31) +/* 802B7DA8 002B4D08 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802B7DAC 002B4D0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B7DB0 002B4D10 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802B7DB4 002B4D14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B7DB8 002B4D18 7C 08 03 A6 */ mtlr r0 +/* 802B7DBC 002B4D1C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B7DC0 002B4D20 4E 80 00 20 */ blr + +.global DrawAreaGeometry__13CCubeRendererFiii +DrawAreaGeometry__13CCubeRendererFiii: +/* 802B7DC4 002B4D24 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B7DC8 002B4D28 7C 08 02 A6 */ mflr r0 +/* 802B7DCC 002B4D2C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B7DD0 002B4D30 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 802B7DD4 002B4D34 7C 97 23 78 */ mr r23, r4 +/* 802B7DD8 002B4D38 38 80 00 01 */ li r4, 1 +/* 802B7DDC 002B4D3C 7C 76 1B 78 */ mr r22, r3 +/* 802B7DE0 002B4D40 7C B8 2B 78 */ mr r24, r5 +/* 802B7DE4 002B4D44 7C D9 33 78 */ mr r25, r6 +/* 802B7DE8 002B4D48 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B7DEC 002B4D4C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 802B7DF0 002B4D50 38 80 00 01 */ li r4, 1 +/* 802B7DF4 002B4D54 98 03 03 18 */ stb r0, 0x318(r3) +/* 802B7DF8 002B4D58 48 00 5A 39 */ bl SetupRendererStates__13CCubeRendererFb +/* 802B7DFC 002B4D5C 83 B6 00 20 */ lwz r29, 0x20(r22) +/* 802B7E00 002B4D60 48 00 01 64 */ b lbl_802B7F64 +lbl_802B7E04: +/* 802B7E04 002B4D64 2C 17 FF FF */ cmpwi r23, -1 +/* 802B7E08 002B4D68 41 82 00 10 */ beq lbl_802B7E18 +/* 802B7E0C 002B4D6C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 802B7E10 002B4D70 7C 17 00 00 */ cmpw r23, r0 +/* 802B7E14 002B4D74 40 82 01 4C */ bne lbl_802B7F60 +lbl_802B7E18: +/* 802B7E18 002B4D78 88 16 00 DC */ lbz r0, 0xdc(r22) +/* 802B7E1C 002B4D7C 83 FD 00 1C */ lwz r31, 0x1c(r29) +/* 802B7E20 002B4D80 28 00 00 00 */ cmplwi r0, 0 +/* 802B7E24 002B4D84 41 82 00 0C */ beq lbl_802B7E30 +/* 802B7E28 002B4D88 3B 76 00 C8 */ addi r27, r22, 0xc8 +/* 802B7E2C 002B4D8C 48 00 00 08 */ b lbl_802B7E34 +lbl_802B7E30: +/* 802B7E30 002B4D90 3B 60 00 00 */ li r27, 0 +lbl_802B7E34: +/* 802B7E34 002B4D94 80 76 00 E0 */ lwz r3, 0xe0(r22) +/* 802B7E38 002B4D98 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 802B7E3C 002B4D9C 7C 03 00 00 */ cmpw r3, r0 +/* 802B7E40 002B4DA0 41 82 00 08 */ beq lbl_802B7E48 +/* 802B7E44 002B4DA4 3B 60 00 00 */ li r27, 0 +lbl_802B7E48: +/* 802B7E48 002B4DA8 83 9F 00 0C */ lwz r28, 0xc(r31) +/* 802B7E4C 002B4DAC 3B 40 00 00 */ li r26, 0 +/* 802B7E50 002B4DB0 48 00 00 F8 */ b lbl_802B7F48 +lbl_802B7E54: +/* 802B7E54 002B4DB4 28 1B 00 00 */ cmplwi r27, 0 +/* 802B7E58 002B4DB8 83 DC 00 04 */ lwz r30, 4(r28) +/* 802B7E5C 002B4DBC 41 82 00 40 */ beq lbl_802B7E9C +/* 802B7E60 002B4DC0 7F 63 DB 78 */ mr r3, r27 +/* 802B7E64 002B4DC4 7F 44 D3 78 */ mr r4, r26 +/* 802B7E68 002B4DC8 48 05 E4 71 */ bl GetVisible__10CPVSVisSetCFi +/* 802B7E6C 002B4DCC 80 96 00 C4 */ lwz r4, 0xc4(r22) +/* 802B7E70 002B4DD0 7C 03 00 D0 */ neg r0, r3 +/* 802B7E74 002B4DD4 7C 00 1B 78 */ or r0, r0, r3 +/* 802B7E78 002B4DD8 2C 04 00 01 */ cmpwi r4, 1 +/* 802B7E7C 002B4DDC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B7E80 002B4DE0 40 82 00 0C */ bne lbl_802B7E8C +/* 802B7E84 002B4DE4 28 00 00 00 */ cmplwi r0, 0 +/* 802B7E88 002B4DE8 41 82 00 B8 */ beq lbl_802B7F40 +lbl_802B7E8C: +/* 802B7E8C 002B4DEC 2C 04 00 02 */ cmpwi r4, 2 +/* 802B7E90 002B4DF0 40 82 00 0C */ bne lbl_802B7E9C +/* 802B7E94 002B4DF4 28 00 00 00 */ cmplwi r0, 0 +/* 802B7E98 002B4DF8 40 82 00 A8 */ bne lbl_802B7F40 +lbl_802B7E9C: +/* 802B7E9C 002B4DFC 88 1E 00 41 */ lbz r0, 0x41(r30) +/* 802B7EA0 002B4E00 7F 00 00 38 */ and r0, r24, r0 +/* 802B7EA4 002B4E04 7C 19 00 40 */ cmplw r25, r0 +/* 802B7EA8 002B4E08 40 82 00 98 */ bne lbl_802B7F40 +/* 802B7EAC 002B4E0C 38 76 00 44 */ addi r3, r22, 0x44 +/* 802B7EB0 002B4E10 38 9E 00 20 */ addi r4, r30, 0x20 +/* 802B7EB4 002B4E14 48 08 D3 1D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 802B7EB8 002B4E18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B7EBC 002B4E1C 41 82 00 84 */ beq lbl_802B7F40 +/* 802B7EC0 002B4E20 88 1E 00 41 */ lbz r0, 0x41(r30) +/* 802B7EC4 002B4E24 7F 00 00 38 */ and r0, r24, r0 +/* 802B7EC8 002B4E28 7C 19 00 40 */ cmplw r25, r0 +/* 802B7ECC 002B4E2C 40 82 00 74 */ bne lbl_802B7F40 +/* 802B7ED0 002B4E30 7F C3 F3 78 */ mr r3, r30 +/* 802B7ED4 002B4E34 48 04 F7 4D */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B7ED8 002B4E38 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B7EDC 002B4E3C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B7EE0 002B4E40 48 00 00 20 */ b lbl_802B7F00 +lbl_802B7EE4: +/* 802B7EE4 002B4E44 7F C3 F3 78 */ mr r3, r30 +/* 802B7EE8 002B4E48 38 81 00 0C */ addi r4, r1, 0xc +/* 802B7EEC 002B4E4C 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 +/* 802B7EF0 002B4E50 48 04 F5 55 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802B7EF4 002B4E54 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B7EF8 002B4E58 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B7EFC 002B4E5C 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802B7F00: +/* 802B7F00 002B4E60 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B7F04 002B4E64 28 00 00 00 */ cmplwi r0, 0 +/* 802B7F08 002B4E68 40 82 FF DC */ bne lbl_802B7EE4 +/* 802B7F0C 002B4E6C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 802B7F10 002B4E70 90 01 00 08 */ stw r0, 8(r1) +/* 802B7F14 002B4E74 48 00 00 20 */ b lbl_802B7F34 +lbl_802B7F18: +/* 802B7F18 002B4E78 7F C3 F3 78 */ mr r3, r30 +/* 802B7F1C 002B4E7C 38 81 00 08 */ addi r4, r1, 8 +/* 802B7F20 002B4E80 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 +/* 802B7F24 002B4E84 48 04 F5 21 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802B7F28 002B4E88 80 61 00 08 */ lwz r3, 8(r1) +/* 802B7F2C 002B4E8C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B7F30 002B4E90 90 01 00 08 */ stw r0, 8(r1) +lbl_802B7F34: +/* 802B7F34 002B4E94 80 01 00 08 */ lwz r0, 8(r1) +/* 802B7F38 002B4E98 28 00 00 00 */ cmplwi r0, 0 +/* 802B7F3C 002B4E9C 40 82 FF DC */ bne lbl_802B7F18 +lbl_802B7F40: +/* 802B7F40 002B4EA0 3B 9C 00 08 */ addi r28, r28, 8 +/* 802B7F44 002B4EA4 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802B7F48: +/* 802B7F48 002B4EA8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802B7F4C 002B4EAC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B7F50 002B4EB0 54 00 18 38 */ slwi r0, r0, 3 +/* 802B7F54 002B4EB4 7C 03 02 14 */ add r0, r3, r0 +/* 802B7F58 002B4EB8 7C 1C 00 40 */ cmplw r28, r0 +/* 802B7F5C 002B4EBC 40 82 FE F8 */ bne lbl_802B7E54 +lbl_802B7F60: +/* 802B7F60 002B4EC0 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B7F64: +/* 802B7F64 002B4EC4 80 16 00 24 */ lwz r0, 0x24(r22) +/* 802B7F68 002B4EC8 7C 1D 00 40 */ cmplw r29, r0 +/* 802B7F6C 002B4ECC 40 82 FE 98 */ bne lbl_802B7E04 +/* 802B7F70 002B4ED0 7E C3 B3 78 */ mr r3, r22 +/* 802B7F74 002B4ED4 48 00 58 29 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802B7F78 002B4ED8 88 16 03 18 */ lbz r0, 0x318(r22) +/* 802B7F7C 002B4EDC 38 60 00 00 */ li r3, 0 +/* 802B7F80 002B4EE0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 802B7F84 002B4EE4 98 16 03 18 */ stb r0, 0x318(r22) +/* 802B7F88 002B4EE8 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 802B7F8C 002B4EEC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B7F90 002B4EF0 7C 08 03 A6 */ mtlr r0 +/* 802B7F94 002B4EF4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B7F98 002B4EF8 4E 80 00 20 */ blr + +.global DrawModelFlat__13CCubeRendererFRC6CModelRC11CModelFlagsbPCfPCf +DrawModelFlat__13CCubeRendererFRC6CModelRC11CModelFlagsbPCfPCf: +/* 802B7F9C 002B4EFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B7FA0 002B4F00 7C 08 02 A6 */ mflr r0 +/* 802B7FA4 002B4F04 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B7FA8 002B4F08 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B7FAC 002B4F0C 7C BC 2B 78 */ mr r28, r5 +/* 802B7FB0 002B4F10 7C 9B 23 78 */ mr r27, r4 +/* 802B7FB4 002B4F14 7C DD 33 78 */ mr r29, r6 +/* 802B7FB8 002B4F18 7C FE 3B 78 */ mr r30, r7 +/* 802B7FBC 002B4F1C 7D 1F 43 78 */ mr r31, r8 +/* 802B7FC0 002B4F20 88 05 00 00 */ lbz r0, 0(r5) +/* 802B7FC4 002B4F24 7C 00 07 74 */ extsb r0, r0 +/* 802B7FC8 002B4F28 2C 00 00 06 */ cmpwi r0, 6 +/* 802B7FCC 002B4F2C 40 81 00 1C */ ble lbl_802B7FE8 +/* 802B7FD0 002B4F30 38 60 00 01 */ li r3, 1 +/* 802B7FD4 002B4F34 38 80 00 04 */ li r4, 4 +/* 802B7FD8 002B4F38 38 A0 00 01 */ li r5, 1 +/* 802B7FDC 002B4F3C 38 C0 00 00 */ li r6, 0 +/* 802B7FE0 002B4F40 48 05 08 F1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B7FE4 002B4F44 48 00 00 38 */ b lbl_802B801C +lbl_802B7FE8: +/* 802B7FE8 002B4F48 2C 00 00 04 */ cmpwi r0, 4 +/* 802B7FEC 002B4F4C 40 81 00 1C */ ble lbl_802B8008 +/* 802B7FF0 002B4F50 38 60 00 01 */ li r3, 1 +/* 802B7FF4 002B4F54 38 80 00 04 */ li r4, 4 +/* 802B7FF8 002B4F58 38 A0 00 05 */ li r5, 5 +/* 802B7FFC 002B4F5C 38 C0 00 00 */ li r6, 0 +/* 802B8000 002B4F60 48 05 08 D1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B8004 002B4F64 48 00 00 18 */ b lbl_802B801C +lbl_802B8008: +/* 802B8008 002B4F68 38 60 00 01 */ li r3, 1 +/* 802B800C 002B4F6C 38 80 00 01 */ li r4, 1 +/* 802B8010 002B4F70 38 A0 00 00 */ li r5, 0 +/* 802B8014 002B4F74 38 C0 00 00 */ li r6, 0 +/* 802B8018 002B4F78 48 05 08 B9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +lbl_802B801C: +/* 802B801C 002B4F7C A0 BC 00 02 */ lhz r5, 2(r28) +/* 802B8020 002B4F80 38 60 00 01 */ li r3, 1 +/* 802B8024 002B4F84 38 80 00 07 */ li r4, 7 +/* 802B8028 002B4F88 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 802B802C 002B4F8C 41 82 00 08 */ beq lbl_802B8034 +/* 802B8030 002B4F90 38 80 00 03 */ li r4, 3 +lbl_802B8034: +/* 802B8034 002B4F94 54 A5 FF FE */ rlwinm r5, r5, 0x1f, 0x1f, 0x1f +/* 802B8038 002B4F98 48 05 08 45 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B803C 002B4F9C 38 60 00 01 */ li r3, 1 +/* 802B8040 002B4FA0 48 05 0C 51 */ bl SetNumTevStages__3CGXFUc +/* 802B8044 002B4FA4 38 60 00 01 */ li r3, 1 +/* 802B8048 002B4FA8 48 05 0D CD */ bl SetNumTexGens__3CGXFUc +/* 802B804C 002B4FAC 38 60 00 00 */ li r3, 0 +/* 802B8050 002B4FB0 48 05 0E 01 */ bl SetNumChans__3CGXFUc +/* 802B8054 002B4FB4 38 60 00 00 */ li r3, 0 +/* 802B8058 002B4FB8 48 05 06 39 */ bl SetNumIndStages__3CGXFUc +/* 802B805C 002B4FBC 38 60 00 07 */ li r3, 7 +/* 802B8060 002B4FC0 38 80 00 00 */ li r4, 0 +/* 802B8064 002B4FC4 38 A0 00 00 */ li r5, 0 +/* 802B8068 002B4FC8 38 C0 00 07 */ li r6, 7 +/* 802B806C 002B4FCC 38 E0 00 00 */ li r7, 0 +/* 802B8070 002B4FD0 48 05 07 A5 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B8074 002B4FD4 38 60 00 00 */ li r3, 0 +/* 802B8078 002B4FD8 38 80 00 0F */ li r4, 0xf +/* 802B807C 002B4FDC 38 A0 00 0F */ li r5, 0xf +/* 802B8080 002B4FE0 38 C0 00 0F */ li r6, 0xf +/* 802B8084 002B4FE4 38 E0 00 0E */ li r7, 0xe +/* 802B8088 002B4FE8 48 05 0B 65 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B808C 002B4FEC 38 60 00 00 */ li r3, 0 +/* 802B8090 002B4FF0 38 80 00 07 */ li r4, 7 +/* 802B8094 002B4FF4 38 A0 00 07 */ li r5, 7 +/* 802B8098 002B4FF8 38 C0 00 07 */ li r6, 7 +/* 802B809C 002B4FFC 38 E0 00 06 */ li r7, 6 +/* 802B80A0 002B5000 48 05 0A F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B80A4 002B5004 38 9C 00 04 */ addi r4, r28, 4 +/* 802B80A8 002B5008 38 60 00 00 */ li r3, 0 +/* 802B80AC 002B500C 48 05 0B 99 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B80B0 002B5010 38 60 00 00 */ li r3, 0 +/* 802B80B4 002B5014 38 80 00 0C */ li r4, 0xc +/* 802B80B8 002B5018 48 05 09 29 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B80BC 002B501C 38 60 00 00 */ li r3, 0 +/* 802B80C0 002B5020 38 80 00 1C */ li r4, 0x1c +/* 802B80C4 002B5024 48 05 08 D9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B80C8 002B5028 38 60 00 00 */ li r3, 0 +/* 802B80CC 002B502C 38 80 00 FF */ li r4, 0xff +/* 802B80D0 002B5030 38 A0 00 FF */ li r5, 0xff +/* 802B80D4 002B5034 38 C0 00 FF */ li r6, 0xff +/* 802B80D8 002B5038 48 05 08 75 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B80DC 002B503C 38 60 00 00 */ li r3, 0 +/* 802B80E0 002B5040 48 04 FB 71 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B80E4 002B5044 38 60 00 00 */ li r3, 0 +/* 802B80E8 002B5048 48 05 06 5D */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802B80EC 002B504C 38 60 00 00 */ li r3, 0 +/* 802B80F0 002B5050 38 80 00 01 */ li r4, 1 +/* 802B80F4 002B5054 38 A0 00 00 */ li r5, 0 +/* 802B80F8 002B5058 38 C0 00 3C */ li r6, 0x3c +/* 802B80FC 002B505C 38 E0 00 00 */ li r7, 0 +/* 802B8100 002B5060 39 00 00 7D */ li r8, 0x7d +/* 802B8104 002B5064 48 05 05 C9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B8108 002B5068 7F 63 DB 78 */ mr r3, r27 +/* 802B810C 002B506C 48 09 D0 15 */ bl UpdateLastFrame__6CModelFv +/* 802B8110 002B5070 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802B8114 002B5074 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 802B8118 002B5078 7F C4 F3 78 */ mr r4, r30 +/* 802B811C 002B507C 7F E5 FB 78 */ mr r5, r31 +/* 802B8120 002B5080 38 C0 00 02 */ li r6, 2 +/* 802B8124 002B5084 41 82 00 08 */ beq lbl_802B812C +/* 802B8128 002B5088 38 C0 00 00 */ li r6, 0 +lbl_802B812C: +/* 802B812C 002B508C 48 04 E8 C5 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802B8130 002B5090 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B8134 002B5094 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8138 002B5098 7C 08 03 A6 */ mtlr r0 +/* 802B813C 002B509C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8140 002B50A0 4E 80 00 20 */ blr + +.global DrawModelDisintegrate__13CCubeRendererFRC6CModelRC8CTextureRC6CColorPCfPCf +DrawModelDisintegrate__13CCubeRendererFRC6CModelRC8CTextureRC6CColorPCfPCf: +/* 802B8144 002B50A4 94 21 FD 90 */ stwu r1, -0x270(r1) +/* 802B8148 002B50A8 7C 08 02 A6 */ mflr r0 +/* 802B814C 002B50AC 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B8150 002B50B0 DB E1 02 60 */ stfd f31, 0x260(r1) +/* 802B8154 002B50B4 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 +/* 802B8158 002B50B8 DB C1 02 50 */ stfd f30, 0x250(r1) +/* 802B815C 002B50BC F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 +/* 802B8160 002B50C0 DB A1 02 40 */ stfd f29, 0x240(r1) +/* 802B8164 002B50C4 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 +/* 802B8168 002B50C8 DB 81 02 30 */ stfd f28, 0x230(r1) +/* 802B816C 002B50CC F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0 +/* 802B8170 002B50D0 BD E1 01 EC */ stmw r15, 0x1ec(r1) +/* 802B8174 002B50D4 FF E0 08 90 */ fmr f31, f1 +/* 802B8178 002B50D8 7C 9D 23 78 */ mr r29, r4 +/* 802B817C 002B50DC 7C A3 2B 78 */ mr r3, r5 +/* 802B8180 002B50E0 7C CF 33 78 */ mr r15, r6 +/* 802B8184 002B50E4 7C FE 3B 78 */ mr r30, r7 +/* 802B8188 002B50E8 7D 1F 43 78 */ mr r31, r8 +/* 802B818C 002B50EC 38 80 00 00 */ li r4, 0 +/* 802B8190 002B50F0 38 A0 00 00 */ li r5, 0 +/* 802B8194 002B50F4 48 05 75 A9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B8198 002B50F8 38 60 00 00 */ li r3, 0 +/* 802B819C 002B50FC 48 05 04 F5 */ bl SetNumIndStages__3CGXFUc +/* 802B81A0 002B5100 38 60 00 02 */ li r3, 2 +/* 802B81A4 002B5104 48 05 0A ED */ bl SetNumTevStages__3CGXFUc +/* 802B81A8 002B5108 38 60 00 02 */ li r3, 2 +/* 802B81AC 002B510C 48 05 0C 69 */ bl SetNumTexGens__3CGXFUc +/* 802B81B0 002B5110 38 60 00 00 */ li r3, 0 +/* 802B81B4 002B5114 48 05 0C 9D */ bl SetNumChans__3CGXFUc +/* 802B81B8 002B5118 38 60 00 01 */ li r3, 1 +/* 802B81BC 002B511C 38 80 00 04 */ li r4, 4 +/* 802B81C0 002B5120 38 A0 00 05 */ li r5, 5 +/* 802B81C4 002B5124 38 C0 00 00 */ li r6, 0 +/* 802B81C8 002B5128 48 05 07 09 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B81CC 002B512C 38 60 00 00 */ li r3, 0 +/* 802B81D0 002B5130 48 04 FA 81 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B81D4 002B5134 38 60 00 01 */ li r3, 1 +/* 802B81D8 002B5138 48 04 FA 79 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B81DC 002B513C 38 60 00 00 */ li r3, 0 +/* 802B81E0 002B5140 38 80 00 0F */ li r4, 0xf +/* 802B81E4 002B5144 38 A0 00 0F */ li r5, 0xf +/* 802B81E8 002B5148 38 C0 00 0F */ li r6, 0xf +/* 802B81EC 002B514C 38 E0 00 08 */ li r7, 8 +/* 802B81F0 002B5150 48 05 09 FD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B81F4 002B5154 38 60 00 00 */ li r3, 0 +/* 802B81F8 002B5158 38 80 00 07 */ li r4, 7 +/* 802B81FC 002B515C 38 A0 00 07 */ li r5, 7 +/* 802B8200 002B5160 38 C0 00 07 */ li r6, 7 +/* 802B8204 002B5164 38 E0 00 04 */ li r7, 4 +/* 802B8208 002B5168 48 05 09 8D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B820C 002B516C 38 60 00 01 */ li r3, 1 +/* 802B8210 002B5170 38 80 00 0F */ li r4, 0xf +/* 802B8214 002B5174 38 A0 00 08 */ li r5, 8 +/* 802B8218 002B5178 38 C0 00 00 */ li r6, 0 +/* 802B821C 002B517C 38 E0 00 0E */ li r7, 0xe +/* 802B8220 002B5180 48 05 09 CD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B8224 002B5184 38 60 00 01 */ li r3, 1 +/* 802B8228 002B5188 38 80 00 07 */ li r4, 7 +/* 802B822C 002B518C 38 A0 00 04 */ li r5, 4 +/* 802B8230 002B5190 38 C0 00 00 */ li r6, 0 +/* 802B8234 002B5194 38 E0 00 07 */ li r7, 7 +/* 802B8238 002B5198 48 05 09 5D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B823C 002B519C 38 60 00 00 */ li r3, 0 +/* 802B8240 002B51A0 38 80 00 00 */ li r4, 0 +/* 802B8244 002B51A4 38 A0 00 00 */ li r5, 0 +/* 802B8248 002B51A8 38 C0 00 FF */ li r6, 0xff +/* 802B824C 002B51AC 48 05 07 01 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B8250 002B51B0 38 60 00 01 */ li r3, 1 +/* 802B8254 002B51B4 38 80 00 01 */ li r4, 1 +/* 802B8258 002B51B8 38 A0 00 00 */ li r5, 0 +/* 802B825C 002B51BC 38 C0 00 FF */ li r6, 0xff +/* 802B8260 002B51C0 48 05 06 ED */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B8264 002B51C4 38 60 00 01 */ li r3, 1 +/* 802B8268 002B51C8 38 80 00 0C */ li r4, 0xc +/* 802B826C 002B51CC 48 05 07 75 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B8270 002B51D0 7D E4 7B 78 */ mr r4, r15 +/* 802B8274 002B51D4 38 60 00 00 */ li r3, 0 +/* 802B8278 002B51D8 48 05 09 CD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B827C 002B51DC C0 02 C2 BC */ lfs f0, lbl_805ADFDC@sda21(r2) +/* 802B8280 002B51E0 38 61 01 20 */ addi r3, r1, 0x120 +/* 802B8284 002B51E4 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 802B8288 002B51E8 38 81 00 08 */ addi r4, r1, 8 +/* 802B828C 002B51EC D0 01 00 08 */ stfs f0, 8(r1) +/* 802B8290 002B51F0 39 E5 00 20 */ addi r15, r5, 0x20 +/* 802B8294 002B51F4 48 05 B6 AD */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 802B8298 002B51F8 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 802B829C 002B51FC 38 81 01 20 */ addi r4, r1, 0x120 +/* 802B82A0 002B5200 48 05 A8 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B82A4 002B5204 7D E4 7B 78 */ mr r4, r15 +/* 802B82A8 002B5208 38 61 00 30 */ addi r3, r1, 0x30 +/* 802B82AC 002B520C 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 802B82B0 002B5210 48 07 F6 4D */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B82B4 002B5214 C1 01 00 30 */ lfs f8, 0x30(r1) +/* 802B82B8 002B5218 38 61 00 60 */ addi r3, r1, 0x60 +/* 802B82BC 002B521C C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 802B82C0 002B5220 38 81 00 0C */ addi r4, r1, 0xc +/* 802B82C4 002B5224 C0 C1 00 38 */ lfs f6, 0x38(r1) +/* 802B82C8 002B5228 FC 40 40 50 */ fneg f2, f8 +/* 802B82CC 002B522C C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 802B82D0 002B5230 FC 20 38 50 */ fneg f1, f7 +/* 802B82D4 002B5234 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802B82D8 002B5238 FC 00 30 50 */ fneg f0, f6 +/* 802B82DC 002B523C C0 61 00 44 */ lfs f3, 0x44(r1) +/* 802B82E0 002B5240 EF 85 40 28 */ fsubs f28, f5, f8 +/* 802B82E4 002B5244 D1 01 00 48 */ stfs f8, 0x48(r1) +/* 802B82E8 002B5248 EF A4 38 28 */ fsubs f29, f4, f7 +/* 802B82EC 002B524C EF C3 30 28 */ fsubs f30, f3, f6 +/* 802B82F0 002B5250 D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 802B82F4 002B5254 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802B82F8 002B5258 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 802B82FC 002B525C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 802B8300 002B5260 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802B8304 002B5264 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802B8308 002B5268 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802B830C 002B526C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B8310 002B5270 48 05 AE 31 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802B8314 002B5274 C0 02 C2 C0 */ lfs f0, lbl_805ADFE0@sda21(r2) +/* 802B8318 002B5278 38 61 00 90 */ addi r3, r1, 0x90 +/* 802B831C 002B527C EC 20 E0 24 */ fdivs f1, f0, f28 +/* 802B8320 002B5280 EC 40 E8 24 */ fdivs f2, f0, f29 +/* 802B8324 002B5284 EC 60 F0 24 */ fdivs f3, f0, f30 +/* 802B8328 002B5288 48 05 AE E1 */ bl Scale__12CTransform4fFfff +/* 802B832C 002B528C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802B8330 002B5290 38 81 00 90 */ addi r4, r1, 0x90 +/* 802B8334 002B5294 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802B8338 002B5298 48 05 A6 19 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B833C 002B529C 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802B8340 002B52A0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802B8344 002B52A4 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 802B8348 002B52A8 48 05 A6 09 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B834C 002B52AC 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 802B8350 002B52B0 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 802B8354 002B52B4 48 05 A7 ED */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B8358 002B52B8 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 802B835C 002B52BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B8360 002B52C0 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 802B8364 002B52C4 38 84 00 20 */ addi r4, r4, 0x20 +/* 802B8368 002B52C8 48 07 F5 95 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B836C 002B52CC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B8370 002B52D0 3C 60 80 3D */ lis r3, lbl_803D6734@ha +/* 802B8374 002B52D4 39 03 67 34 */ addi r8, r3, lbl_803D6734@l +/* 802B8378 002B52D8 3C 60 80 3D */ lis r3, lbl_803D6764@ha +/* 802B837C 002B52DC EC 01 F8 28 */ fsubs f0, f1, f31 +/* 802B8380 002B52E0 3A E3 67 64 */ addi r23, r3, lbl_803D6764@l +/* 802B8384 002B52E4 80 C8 00 0C */ lwz r6, 0xc(r8) +/* 802B8388 002B52E8 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 802B838C 002B52EC 80 08 00 1C */ lwz r0, 0x1c(r8) +/* 802B8390 002B52F0 38 80 00 1E */ li r4, 0x1e +/* 802B8394 002B52F4 FC 00 00 50 */ fneg f0, f0 +/* 802B8398 002B52F8 C0 42 C2 C4 */ lfs f2, lbl_805ADFE4@sda21(r2) +/* 802B839C 002B52FC 83 77 00 0C */ lwz r27, 0xc(r23) +/* 802B83A0 002B5300 38 A0 00 00 */ li r5, 0 +/* 802B83A4 002B5304 80 F7 00 1C */ lwz r7, 0x1c(r23) +/* 802B83A8 002B5308 90 C1 01 8C */ stw r6, 0x18c(r1) +/* 802B83AC 002B530C 80 C8 00 00 */ lwz r6, 0(r8) +/* 802B83B0 002B5310 EC 42 08 3A */ fmadds f2, f2, f0, f1 +/* 802B83B4 002B5314 90 01 01 9C */ stw r0, 0x19c(r1) +/* 802B83B8 002B5318 80 08 00 04 */ lwz r0, 4(r8) +/* 802B83BC 002B531C 90 E1 01 6C */ stw r7, 0x16c(r1) +/* 802B83C0 002B5320 81 E8 00 08 */ lwz r15, 8(r8) +/* 802B83C4 002B5324 82 08 00 10 */ lwz r16, 0x10(r8) +/* 802B83C8 002B5328 82 28 00 14 */ lwz r17, 0x14(r8) +/* 802B83CC 002B532C 82 48 00 18 */ lwz r18, 0x18(r8) +/* 802B83D0 002B5330 82 68 00 20 */ lwz r19, 0x20(r8) +/* 802B83D4 002B5334 82 88 00 24 */ lwz r20, 0x24(r8) +/* 802B83D8 002B5338 82 A8 00 28 */ lwz r21, 0x28(r8) +/* 802B83DC 002B533C 82 C8 00 2C */ lwz r22, 0x2c(r8) +/* 802B83E0 002B5340 83 17 00 00 */ lwz r24, 0(r23) +/* 802B83E4 002B5344 83 37 00 04 */ lwz r25, 4(r23) +/* 802B83E8 002B5348 83 57 00 08 */ lwz r26, 8(r23) +/* 802B83EC 002B534C 83 97 00 10 */ lwz r28, 0x10(r23) +/* 802B83F0 002B5350 81 97 00 14 */ lwz r12, 0x14(r23) +/* 802B83F4 002B5354 81 77 00 18 */ lwz r11, 0x18(r23) +/* 802B83F8 002B5358 81 57 00 20 */ lwz r10, 0x20(r23) +/* 802B83FC 002B535C 81 37 00 24 */ lwz r9, 0x24(r23) +/* 802B8400 002B5360 81 17 00 28 */ lwz r8, 0x28(r23) +/* 802B8404 002B5364 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 802B8408 002B5368 C0 22 C2 C8 */ lfs f1, lbl_805ADFE8@sda21(r2) +/* 802B840C 002B536C C0 02 C2 CC */ lfs f0, lbl_805ADFEC@sda21(r2) +/* 802B8410 002B5370 93 61 01 5C */ stw r27, 0x15c(r1) +/* 802B8414 002B5374 EC 01 07 F8 */ fmsubs f0, f1, f31, f0 +/* 802B8418 002B5378 90 C1 01 80 */ stw r6, 0x180(r1) +/* 802B841C 002B537C 90 01 01 84 */ stw r0, 0x184(r1) +/* 802B8420 002B5380 91 E1 01 88 */ stw r15, 0x188(r1) +/* 802B8424 002B5384 92 01 01 90 */ stw r16, 0x190(r1) +/* 802B8428 002B5388 92 21 01 94 */ stw r17, 0x194(r1) +/* 802B842C 002B538C 92 41 01 98 */ stw r18, 0x198(r1) +/* 802B8430 002B5390 92 61 01 A0 */ stw r19, 0x1a0(r1) +/* 802B8434 002B5394 92 81 01 A4 */ stw r20, 0x1a4(r1) +/* 802B8438 002B5398 92 A1 01 A8 */ stw r21, 0x1a8(r1) +/* 802B843C 002B539C 92 C1 01 AC */ stw r22, 0x1ac(r1) +/* 802B8440 002B53A0 D3 E1 01 8C */ stfs f31, 0x18c(r1) +/* 802B8444 002B53A4 D0 41 01 9C */ stfs f2, 0x19c(r1) +/* 802B8448 002B53A8 93 01 01 50 */ stw r24, 0x150(r1) +/* 802B844C 002B53AC 93 21 01 54 */ stw r25, 0x154(r1) +/* 802B8450 002B53B0 93 41 01 58 */ stw r26, 0x158(r1) +/* 802B8454 002B53B4 93 81 01 60 */ stw r28, 0x160(r1) +/* 802B8458 002B53B8 91 81 01 64 */ stw r12, 0x164(r1) +/* 802B845C 002B53BC 91 61 01 68 */ stw r11, 0x168(r1) +/* 802B8460 002B53C0 91 41 01 70 */ stw r10, 0x170(r1) +/* 802B8464 002B53C4 91 21 01 74 */ stw r9, 0x174(r1) +/* 802B8468 002B53C8 91 01 01 78 */ stw r8, 0x178(r1) +/* 802B846C 002B53CC 90 E1 01 7C */ stw r7, 0x17c(r1) +/* 802B8470 002B53D0 D0 01 01 5C */ stfs f0, 0x15c(r1) +/* 802B8474 002B53D4 D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 802B8478 002B53D8 48 0C 40 19 */ bl GXLoadTexMtxImm +/* 802B847C 002B53DC 38 61 01 80 */ addi r3, r1, 0x180 +/* 802B8480 002B53E0 38 80 00 40 */ li r4, 0x40 +/* 802B8484 002B53E4 38 A0 00 00 */ li r5, 0 +/* 802B8488 002B53E8 48 0C 40 09 */ bl GXLoadTexMtxImm +/* 802B848C 002B53EC 38 61 01 50 */ addi r3, r1, 0x150 +/* 802B8490 002B53F0 38 80 00 43 */ li r4, 0x43 +/* 802B8494 002B53F4 38 A0 00 00 */ li r5, 0 +/* 802B8498 002B53F8 48 0C 3F F9 */ bl GXLoadTexMtxImm +/* 802B849C 002B53FC 38 60 00 00 */ li r3, 0 +/* 802B84A0 002B5400 38 80 00 00 */ li r4, 0 +/* 802B84A4 002B5404 38 A0 00 00 */ li r5, 0 +/* 802B84A8 002B5408 38 C0 00 1E */ li r6, 0x1e +/* 802B84AC 002B540C 38 E0 00 00 */ li r7, 0 +/* 802B84B0 002B5410 39 00 00 40 */ li r8, 0x40 +/* 802B84B4 002B5414 48 05 02 19 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B84B8 002B5418 38 60 00 01 */ li r3, 1 +/* 802B84BC 002B541C 38 80 00 00 */ li r4, 0 +/* 802B84C0 002B5420 38 A0 00 00 */ li r5, 0 +/* 802B84C4 002B5424 38 C0 00 1E */ li r6, 0x1e +/* 802B84C8 002B5428 38 E0 00 00 */ li r7, 0 +/* 802B84CC 002B542C 39 00 00 43 */ li r8, 0x43 +/* 802B84D0 002B5430 48 05 01 FD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B84D4 002B5434 38 60 00 04 */ li r3, 4 +/* 802B84D8 002B5438 38 80 00 00 */ li r4, 0 +/* 802B84DC 002B543C 38 A0 00 00 */ li r5, 0 +/* 802B84E0 002B5440 38 C0 00 07 */ li r6, 7 +/* 802B84E4 002B5444 38 E0 00 00 */ li r7, 0 +/* 802B84E8 002B5448 48 05 03 2D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B84EC 002B544C 38 60 00 01 */ li r3, 1 +/* 802B84F0 002B5450 38 80 00 03 */ li r4, 3 +/* 802B84F4 002B5454 38 A0 00 01 */ li r5, 1 +/* 802B84F8 002B5458 48 05 03 85 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B84FC 002B545C 7F A3 EB 78 */ mr r3, r29 +/* 802B8500 002B5460 48 09 CC 21 */ bl UpdateLastFrame__6CModelFv +/* 802B8504 002B5464 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 802B8508 002B5468 7F C4 F3 78 */ mr r4, r30 +/* 802B850C 002B546C 7F E5 FB 78 */ mr r5, r31 +/* 802B8510 002B5470 38 C0 00 02 */ li r6, 2 +/* 802B8514 002B5474 48 04 E4 DD */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802B8518 002B5478 38 60 00 07 */ li r3, 7 +/* 802B851C 002B547C 38 80 00 00 */ li r4, 0 +/* 802B8520 002B5480 38 A0 00 00 */ li r5, 0 +/* 802B8524 002B5484 38 C0 00 07 */ li r6, 7 +/* 802B8528 002B5488 38 E0 00 00 */ li r7, 0 +/* 802B852C 002B548C 48 05 02 E9 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B8530 002B5490 E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 +/* 802B8534 002B5494 CB E1 02 60 */ lfd f31, 0x260(r1) +/* 802B8538 002B5498 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 +/* 802B853C 002B549C CB C1 02 50 */ lfd f30, 0x250(r1) +/* 802B8540 002B54A0 E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 +/* 802B8544 002B54A4 CB A1 02 40 */ lfd f29, 0x240(r1) +/* 802B8548 002B54A8 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0 +/* 802B854C 002B54AC CB 81 02 30 */ lfd f28, 0x230(r1) +/* 802B8550 002B54B0 B9 E1 01 EC */ lmw r15, 0x1ec(r1) +/* 802B8554 002B54B4 80 01 02 74 */ lwz r0, 0x274(r1) +/* 802B8558 002B54B8 7C 08 03 A6 */ mtlr r0 +/* 802B855C 002B54BC 38 21 02 70 */ addi r1, r1, 0x270 +/* 802B8560 002B54C0 4E 80 00 20 */ blr + +.global DrawThermalModel__13CCubeRendererFRC6CModelRC6CColorRC6CColorPCfPCfRC11CModelFlags +DrawThermalModel__13CCubeRendererFRC6CModelRC6CColorRC6CColorPCfPCfRC11CModelFlags: +/* 802B8564 002B54C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B8568 002B54C8 7C 08 02 A6 */ mflr r0 +/* 802B856C 002B54CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B8570 002B54D0 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802B8574 002B54D4 7C 79 1B 78 */ mr r25, r3 +/* 802B8578 002B54D8 7C BA 2B 78 */ mr r26, r5 +/* 802B857C 002B54DC 7C DB 33 78 */ mr r27, r6 +/* 802B8580 002B54E0 7C FC 3B 78 */ mr r28, r7 +/* 802B8584 002B54E4 7D 1D 43 78 */ mr r29, r8 +/* 802B8588 002B54E8 7D 3E 4B 78 */ mr r30, r9 +/* 802B858C 002B54EC 7C 83 23 78 */ mr r3, r4 +/* 802B8590 002B54F0 83 E4 00 28 */ lwz r31, 0x28(r4) +/* 802B8594 002B54F4 48 09 CB 8D */ bl UpdateLastFrame__6CModelFv +/* 802B8598 002B54F8 7F 23 CB 78 */ mr r3, r25 +/* 802B859C 002B54FC 7F E4 FB 78 */ mr r4, r31 +/* 802B85A0 002B5500 7F 45 D3 78 */ mr r5, r26 +/* 802B85A4 002B5504 7F 66 DB 78 */ mr r6, r27 +/* 802B85A8 002B5508 7F 87 E3 78 */ mr r7, r28 +/* 802B85AC 002B550C 7F A8 EB 78 */ mr r8, r29 +/* 802B85B0 002B5510 7F C9 F3 78 */ mr r9, r30 +/* 802B85B4 002B5514 48 00 00 19 */ bl sub_802b85cc +/* 802B85B8 002B5518 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802B85BC 002B551C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B85C0 002B5520 7C 08 03 A6 */ mtlr r0 +/* 802B85C4 002B5524 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B85C8 002B5528 4E 80 00 20 */ blr + +.global sub_802b85cc +sub_802b85cc: +/* 802B85CC 002B552C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802B85D0 002B5530 7C 08 02 A6 */ mflr r0 +/* 802B85D4 002B5534 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802B85D8 002B5538 BF 21 00 A4 */ stmw r25, 0xa4(r1) +/* 802B85DC 002B553C 7C 79 1B 78 */ mr r25, r3 +/* 802B85E0 002B5540 7C 9C 23 78 */ mr r28, r4 +/* 802B85E4 002B5544 7C BA 2B 78 */ mr r26, r5 +/* 802B85E8 002B5548 7C DB 33 78 */ mr r27, r6 +/* 802B85EC 002B554C 7C FD 3B 78 */ mr r29, r7 +/* 802B85F0 002B5550 7D 1E 43 78 */ mr r30, r8 +/* 802B85F4 002B5554 7D 3F 4B 78 */ mr r31, r9 +/* 802B85F8 002B5558 38 60 00 00 */ li r3, 0 +/* 802B85FC 002B555C 38 80 00 00 */ li r4, 0 +/* 802B8600 002B5560 38 A0 00 01 */ li r5, 1 +/* 802B8604 002B5564 38 C0 00 1E */ li r6, 0x1e +/* 802B8608 002B5568 38 E0 00 01 */ li r7, 1 +/* 802B860C 002B556C 39 00 00 40 */ li r8, 0x40 +/* 802B8610 002B5570 48 05 00 BD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B8614 002B5574 38 60 00 01 */ li r3, 1 +/* 802B8618 002B5578 48 05 07 FD */ bl SetNumTexGens__3CGXFUc +/* 802B861C 002B557C 38 60 00 00 */ li r3, 0 +/* 802B8620 002B5580 48 05 08 31 */ bl SetNumChans__3CGXFUc +/* 802B8624 002B5584 38 79 02 20 */ addi r3, r25, 0x220 +/* 802B8628 002B5588 38 80 00 00 */ li r4, 0 +/* 802B862C 002B558C 38 A0 00 00 */ li r5, 0 +/* 802B8630 002B5590 48 05 71 0D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B8634 002B5594 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B8638 002B5598 38 61 00 0C */ addi r3, r1, 0xc +/* 802B863C 002B559C 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B8640 002B55A0 48 05 A6 5D */ bl GetQuickInverse__12CTransform4fCFv +/* 802B8644 002B55A4 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 802B8648 002B55A8 38 61 00 3C */ addi r3, r1, 0x3c +/* 802B864C 002B55AC 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 802B8650 002B55B0 38 81 00 0C */ addi r4, r1, 0xc +/* 802B8654 002B55B4 48 05 A8 DD */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +/* 802B8658 002B55B8 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B865C 002B55BC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802B8660 002B55C0 48 05 A5 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B8664 002B55C4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802B8668 002B55C8 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B866C 002B55CC 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 802B8670 002B55D0 38 80 00 1E */ li r4, 0x1e +/* 802B8674 002B55D4 C0 46 00 00 */ lfs f2, 0(r6) +/* 802B8678 002B55D8 38 A0 00 00 */ li r5, 0 +/* 802B867C 002B55DC C0 26 00 04 */ lfs f1, 4(r6) +/* 802B8680 002B55E0 C0 06 00 08 */ lfs f0, 8(r6) +/* 802B8684 002B55E4 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 802B8688 002B55E8 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802B868C 002B55EC D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802B8690 002B55F0 48 0C 3E 01 */ bl GXLoadTexMtxImm +/* 802B8694 002B55F4 3C 60 80 3D */ lis r3, lbl_803D6704@ha +/* 802B8698 002B55F8 38 80 00 40 */ li r4, 0x40 +/* 802B869C 002B55FC 38 63 67 04 */ addi r3, r3, lbl_803D6704@l +/* 802B86A0 002B5600 38 A0 00 00 */ li r5, 0 +/* 802B86A4 002B5604 48 0C 3D ED */ bl GXLoadTexMtxImm +/* 802B86A8 002B5608 38 60 00 00 */ li r3, 0 +/* 802B86AC 002B560C 48 04 F5 A5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B86B0 002B5610 38 60 00 00 */ li r3, 0 +/* 802B86B4 002B5614 38 80 00 0F */ li r4, 0xf +/* 802B86B8 002B5618 38 A0 00 02 */ li r5, 2 +/* 802B86BC 002B561C 38 C0 00 08 */ li r6, 8 +/* 802B86C0 002B5620 38 E0 00 0E */ li r7, 0xe +/* 802B86C4 002B5624 48 05 05 29 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B86C8 002B5628 38 60 00 00 */ li r3, 0 +/* 802B86CC 002B562C 38 80 00 07 */ li r4, 7 +/* 802B86D0 002B5630 38 A0 00 04 */ li r5, 4 +/* 802B86D4 002B5634 38 C0 00 01 */ li r6, 1 +/* 802B86D8 002B5638 38 E0 00 06 */ li r7, 6 +/* 802B86DC 002B563C 48 05 04 B9 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B86E0 002B5640 38 60 00 00 */ li r3, 0 +/* 802B86E4 002B5644 38 80 00 00 */ li r4, 0 +/* 802B86E8 002B5648 38 A0 00 00 */ li r5, 0 +/* 802B86EC 002B564C 38 C0 00 FF */ li r6, 0xff +/* 802B86F0 002B5650 48 05 02 5D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B86F4 002B5654 38 60 00 01 */ li r3, 1 +/* 802B86F8 002B5658 48 05 05 99 */ bl SetNumTevStages__3CGXFUc +/* 802B86FC 002B565C 7F 64 DB 78 */ mr r4, r27 +/* 802B8700 002B5660 38 60 00 00 */ li r3, 0 +/* 802B8704 002B5664 48 05 05 41 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B8708 002B5668 38 60 00 00 */ li r3, 0 +/* 802B870C 002B566C 38 80 00 0C */ li r4, 0xc +/* 802B8710 002B5670 48 05 02 D1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B8714 002B5674 38 60 00 00 */ li r3, 0 +/* 802B8718 002B5678 38 80 00 1C */ li r4, 0x1c +/* 802B871C 002B567C 48 05 02 81 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B8720 002B5680 80 1A 00 00 */ lwz r0, 0(r26) +/* 802B8724 002B5684 38 81 00 08 */ addi r4, r1, 8 +/* 802B8728 002B5688 38 60 00 01 */ li r3, 1 +/* 802B872C 002B568C 90 01 00 08 */ stw r0, 8(r1) +/* 802B8730 002B5690 48 0C 2E CD */ bl GXSetTevColor +/* 802B8734 002B5694 38 60 00 07 */ li r3, 7 +/* 802B8738 002B5698 38 80 00 00 */ li r4, 0 +/* 802B873C 002B569C 38 A0 00 01 */ li r5, 1 +/* 802B8740 002B56A0 38 C0 00 07 */ li r6, 7 +/* 802B8744 002B56A4 38 E0 00 00 */ li r7, 0 +/* 802B8748 002B56A8 48 05 00 CD */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B874C 002B56AC 38 60 00 01 */ li r3, 1 +/* 802B8750 002B56B0 38 80 00 01 */ li r4, 1 +/* 802B8754 002B56B4 38 A0 00 01 */ li r5, 1 +/* 802B8758 002B56B8 38 C0 00 00 */ li r6, 0 +/* 802B875C 002B56BC 48 05 01 75 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B8760 002B56C0 A0 1F 00 02 */ lhz r0, 2(r31) +/* 802B8764 002B56C4 38 80 00 03 */ li r4, 3 +/* 802B8768 002B56C8 54 05 07 FE */ clrlwi r5, r0, 0x1f +/* 802B876C 002B56CC 54 03 07 BC */ rlwinm r3, r0, 0, 0x1e, 0x1e +/* 802B8770 002B56D0 38 A5 FF FF */ addi r5, r5, -1 +/* 802B8774 002B56D4 38 03 FF FE */ addi r0, r3, -2 +/* 802B8778 002B56D8 7C A3 00 34 */ cntlzw r3, r5 +/* 802B877C 002B56DC 7C 00 00 34 */ cntlzw r0, r0 +/* 802B8780 002B56E0 54 63 D9 7E */ srwi r3, r3, 5 +/* 802B8784 002B56E4 54 05 D9 7E */ srwi r5, r0, 5 +/* 802B8788 002B56E8 48 05 00 F5 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B878C 002B56EC A0 1F 00 02 */ lhz r0, 2(r31) +/* 802B8790 002B56F0 7F 83 E3 78 */ mr r3, r28 +/* 802B8794 002B56F4 7F A4 EB 78 */ mr r4, r29 +/* 802B8798 002B56F8 7F C5 F3 78 */ mr r5, r30 +/* 802B879C 002B56FC 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 +/* 802B87A0 002B5700 38 C0 00 02 */ li r6, 2 +/* 802B87A4 002B5704 41 82 00 08 */ beq lbl_802B87AC +/* 802B87A8 002B5708 38 C0 00 00 */ li r6, 0 +lbl_802B87AC: +/* 802B87AC 002B570C 48 04 E2 45 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802B87B0 002B5710 BB 21 00 A4 */ lmw r25, 0xa4(r1) +/* 802B87B4 002B5714 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802B87B8 002B5718 7C 08 03 A6 */ mtlr r0 +/* 802B87BC 002B571C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802B87C0 002B5720 4E 80 00 20 */ blr + +.global "__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" +"__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel": +/* 802B87C4 002B5724 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B87C8 002B5728 7C 08 02 A6 */ mflr r0 +/* 802B87CC 002B572C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B87D0 002B5730 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802B87D4 002B5734 7C 7E 1B 78 */ mr r30, r3 +/* 802B87D8 002B5738 7C BB 2B 78 */ mr r27, r5 +/* 802B87DC 002B573C 7C DD 33 78 */ mr r29, r6 +/* 802B87E0 002B5740 7C FC 3B 78 */ mr r28, r7 +/* 802B87E4 002B5744 7D 1F 43 78 */ mr r31, r8 +/* 802B87E8 002B5748 48 05 A3 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B87EC 002B574C 80 1B 00 00 */ lwz r0, 0(r27) +/* 802B87F0 002B5750 28 1C 00 00 */ cmplwi r28, 0 +/* 802B87F4 002B5754 3B 60 00 00 */ li r27, 0 +/* 802B87F8 002B5758 3B 40 00 00 */ li r26, 0 +/* 802B87FC 002B575C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802B8800 002B5760 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802B8804 002B5764 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 802B8808 002B5768 C0 1D 00 04 */ lfs f0, 4(r29) +/* 802B880C 002B576C D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 802B8810 002B5770 C0 1D 00 08 */ lfs f0, 8(r29) +/* 802B8814 002B5774 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802B8818 002B5778 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 802B881C 002B577C D0 1E 00 40 */ stfs f0, 0x40(r30) +/* 802B8820 002B5780 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 802B8824 002B5784 D0 1E 00 44 */ stfs f0, 0x44(r30) +/* 802B8828 002B5788 C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 802B882C 002B578C D0 1E 00 48 */ stfs f0, 0x48(r30) +/* 802B8830 002B5790 41 82 00 3C */ beq lbl_802B886C +/* 802B8834 002B5794 38 00 00 01 */ li r0, 1 +/* 802B8838 002B5798 37 A1 00 18 */ addic. r29, r1, 0x18 +/* 802B883C 002B579C 98 01 00 24 */ stb r0, 0x24(r1) +/* 802B8840 002B57A0 41 82 00 20 */ beq lbl_802B8860 +/* 802B8844 002B57A4 7F A3 EB 78 */ mr r3, r29 +/* 802B8848 002B57A8 7F 84 E3 78 */ mr r4, r28 +/* 802B884C 002B57AC 48 08 86 5D */ bl __ct__6CTokenFRC6CToken +/* 802B8850 002B57B0 80 1C 00 08 */ lwz r0, 8(r28) +/* 802B8854 002B57B4 7F A3 EB 78 */ mr r3, r29 +/* 802B8858 002B57B8 90 1D 00 08 */ stw r0, 8(r29) +/* 802B885C 002B57BC 48 08 85 29 */ bl Lock__6CTokenFv +lbl_802B8860: +/* 802B8860 002B57C0 3B 81 00 18 */ addi r28, r1, 0x18 +/* 802B8864 002B57C4 3B 60 00 01 */ li r27, 1 +/* 802B8868 002B57C8 48 00 00 14 */ b lbl_802B887C +lbl_802B886C: +/* 802B886C 002B57CC 38 00 00 00 */ li r0, 0 +/* 802B8870 002B57D0 3B 81 00 08 */ addi r28, r1, 8 +/* 802B8874 002B57D4 98 01 00 14 */ stb r0, 0x14(r1) +/* 802B8878 002B57D8 3B 40 00 01 */ li r26, 1 +lbl_802B887C: +/* 802B887C 002B57DC 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 802B8880 002B57E0 98 1E 00 58 */ stb r0, 0x58(r30) +/* 802B8884 002B57E4 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 802B8888 002B57E8 28 00 00 00 */ cmplwi r0, 0 +/* 802B888C 002B57EC 41 82 00 28 */ beq lbl_802B88B4 +/* 802B8890 002B57F0 37 BE 00 4C */ addic. r29, r30, 0x4c +/* 802B8894 002B57F4 41 82 00 20 */ beq lbl_802B88B4 +/* 802B8898 002B57F8 7F A3 EB 78 */ mr r3, r29 +/* 802B889C 002B57FC 7F 84 E3 78 */ mr r4, r28 +/* 802B88A0 002B5800 48 08 86 09 */ bl __ct__6CTokenFRC6CToken +/* 802B88A4 002B5804 80 1C 00 08 */ lwz r0, 8(r28) +/* 802B88A8 002B5808 7F A3 EB 78 */ mr r3, r29 +/* 802B88AC 002B580C 90 1D 00 08 */ stw r0, 8(r29) +/* 802B88B0 002B5810 48 08 84 D5 */ bl Lock__6CTokenFv +lbl_802B88B4: +/* 802B88B4 002B5814 7F 40 07 75 */ extsb. r0, r26 +/* 802B88B8 002B5818 41 82 00 30 */ beq lbl_802B88E8 +/* 802B88BC 002B581C 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802B88C0 002B5820 28 00 00 00 */ cmplwi r0, 0 +/* 802B88C4 002B5824 41 82 00 1C */ beq lbl_802B88E0 +/* 802B88C8 002B5828 34 61 00 08 */ addic. r3, r1, 8 +/* 802B88CC 002B582C 41 82 00 14 */ beq lbl_802B88E0 +/* 802B88D0 002B5830 28 03 00 00 */ cmplwi r3, 0 +/* 802B88D4 002B5834 41 82 00 0C */ beq lbl_802B88E0 +/* 802B88D8 002B5838 38 80 00 00 */ li r4, 0 +/* 802B88DC 002B583C 48 08 85 65 */ bl __dt__6CTokenFv +lbl_802B88E0: +/* 802B88E0 002B5840 38 00 00 00 */ li r0, 0 +/* 802B88E4 002B5844 98 01 00 14 */ stb r0, 0x14(r1) +lbl_802B88E8: +/* 802B88E8 002B5848 7F 60 07 75 */ extsb. r0, r27 +/* 802B88EC 002B584C 41 82 00 30 */ beq lbl_802B891C +/* 802B88F0 002B5850 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802B88F4 002B5854 28 00 00 00 */ cmplwi r0, 0 +/* 802B88F8 002B5858 41 82 00 1C */ beq lbl_802B8914 +/* 802B88FC 002B585C 34 61 00 18 */ addic. r3, r1, 0x18 +/* 802B8900 002B5860 41 82 00 14 */ beq lbl_802B8914 +/* 802B8904 002B5864 28 03 00 00 */ cmplwi r3, 0 +/* 802B8908 002B5868 41 82 00 0C */ beq lbl_802B8914 +/* 802B890C 002B586C 38 80 00 00 */ li r4, 0 +/* 802B8910 002B5870 48 08 85 31 */ bl __dt__6CTokenFv +lbl_802B8914: +/* 802B8914 002B5874 38 00 00 00 */ li r0, 0 +/* 802B8918 002B5878 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802B891C: +/* 802B891C 002B587C 93 FE 00 5C */ stw r31, 0x5c(r30) +/* 802B8920 002B5880 7F C3 F3 78 */ mr r3, r30 +/* 802B8924 002B5884 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802B8928 002B5888 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B892C 002B588C 7C 08 03 A6 */ mtlr r0 +/* 802B8930 002B5890 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B8934 002B5894 4E 80 00 20 */ blr + +.global PostRenderFogs__13CCubeRendererFv +PostRenderFogs__13CCubeRendererFv: +/* 802B8938 002B5898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B893C 002B589C 7C 08 02 A6 */ mflr r0 +/* 802B8940 002B58A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8944 002B58A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B8948 002B58A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B894C 002B58AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B8950 002B58B0 7C 7D 1B 78 */ mr r29, r3 +/* 802B8954 002B58B4 83 E3 02 C8 */ lwz r31, 0x2c8(r3) +/* 802B8958 002B58B8 48 00 00 18 */ b lbl_802B8970 +lbl_802B895C: +/* 802B895C 002B58BC C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802B8960 002B58C0 7F A3 EB 78 */ mr r3, r29 +/* 802B8964 002B58C4 38 9F 00 08 */ addi r4, r31, 8 +/* 802B8968 002B58C8 48 00 32 51 */ bl _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +/* 802B896C 002B58CC 83 FF 00 04 */ lwz r31, 4(r31) +lbl_802B8970: +/* 802B8970 002B58D0 83 DD 02 CC */ lwz r30, 0x2cc(r29) +/* 802B8974 002B58D4 7C 1F F0 40 */ cmplw r31, r30 +/* 802B8978 002B58D8 40 82 FF E4 */ bne lbl_802B895C +/* 802B897C 002B58DC 80 9D 02 C8 */ lwz r4, 0x2c8(r29) +/* 802B8980 002B58E0 48 00 00 10 */ b lbl_802B8990 +lbl_802B8984: +/* 802B8984 002B58E4 38 7D 02 C4 */ addi r3, r29, 0x2c4 +/* 802B8988 002B58E8 48 00 7C 2D */ bl sub_802c05b4 +/* 802B898C 002B58EC 7C 64 1B 78 */ mr r4, r3 +lbl_802B8990: +/* 802B8990 002B58F0 7C 04 F0 40 */ cmplw r4, r30 +/* 802B8994 002B58F4 40 82 FF F0 */ bne lbl_802B8984 +/* 802B8998 002B58F8 88 0D A6 2C */ lbz r0, lbl_805A91EC@sda21(r13) +/* 802B899C 002B58FC 38 7D 02 AC */ addi r3, r29, 0x2ac +/* 802B89A0 002B5900 38 81 00 08 */ addi r4, r1, 8 +/* 802B89A4 002B5904 98 01 00 08 */ stb r0, 8(r1) +/* 802B89A8 002B5908 48 00 00 8D */ bl FogSorter +/* 802B89AC 002B590C 83 DD 02 B0 */ lwz r30, 0x2b0(r29) +/* 802B89B0 002B5910 48 00 00 40 */ b lbl_802B89F0 +lbl_802B89B4: +/* 802B89B4 002B5914 3B FE 00 08 */ addi r31, r30, 8 +/* 802B89B8 002B5918 7F E3 FB 78 */ mr r3, r31 +/* 802B89BC 002B591C 48 05 3C 25 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B89C0 002B5920 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802B89C4 002B5924 7F A3 EB 78 */ mr r3, r29 +/* 802B89C8 002B5928 38 9F 00 30 */ addi r4, r31, 0x30 +/* 802B89CC 002B592C 38 BF 00 34 */ addi r5, r31, 0x34 +/* 802B89D0 002B5930 28 00 00 00 */ cmplwi r0, 0 +/* 802B89D4 002B5934 41 82 00 0C */ beq lbl_802B89E0 +/* 802B89D8 002B5938 80 DF 00 54 */ lwz r6, 0x54(r31) +/* 802B89DC 002B593C 48 00 00 08 */ b lbl_802B89E4 +lbl_802B89E0: +/* 802B89E0 002B5940 38 C0 00 00 */ li r6, 0 +lbl_802B89E4: +/* 802B89E4 002B5944 80 FF 00 5C */ lwz r7, 0x5c(r31) +/* 802B89E8 002B5948 48 00 05 C9 */ bl ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel +/* 802B89EC 002B594C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_802B89F0: +/* 802B89F0 002B5950 83 FD 02 B4 */ lwz r31, 0x2b4(r29) +/* 802B89F4 002B5954 7C 1E F8 40 */ cmplw r30, r31 +/* 802B89F8 002B5958 40 82 FF BC */ bne lbl_802B89B4 +/* 802B89FC 002B595C 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 802B8A00 002B5960 48 00 00 10 */ b lbl_802B8A10 +lbl_802B8A04: +/* 802B8A04 002B5964 38 7D 02 AC */ addi r3, r29, 0x2ac +/* 802B8A08 002B5968 48 00 7A 35 */ bl sub_802c043c +/* 802B8A0C 002B596C 7C 64 1B 78 */ mr r4, r3 +lbl_802B8A10: +/* 802B8A10 002B5970 7C 04 F8 40 */ cmplw r4, r31 +/* 802B8A14 002B5974 40 82 FF F0 */ bne lbl_802B8A04 +/* 802B8A18 002B5978 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8A1C 002B597C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B8A20 002B5980 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B8A24 002B5984 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B8A28 002B5988 7C 08 03 A6 */ mtlr r0 +/* 802B8A2C 002B598C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8A30 002B5990 4E 80 00 20 */ blr + +.global FogSorter +FogSorter: +/* 802B8A34 002B5994 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B8A38 002B5998 7C 08 02 A6 */ mflr r0 +/* 802B8A3C 002B599C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8A40 002B59A0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B8A44 002B59A4 7C 7B 1B 78 */ mr r27, r3 +/* 802B8A48 002B59A8 7C 9C 23 78 */ mr r28, r4 +/* 802B8A4C 002B59AC 83 E3 00 04 */ lwz r31, 4(r3) +/* 802B8A50 002B59B0 48 00 00 54 */ b lbl_802B8AA4 +lbl_802B8A54: +/* 802B8A54 002B59B4 83 BF 00 04 */ lwz r29, 4(r31) +/* 802B8A58 002B59B8 7F FE FB 78 */ mr r30, r31 +/* 802B8A5C 002B59BC 48 00 00 24 */ b lbl_802B8A80 +lbl_802B8A60: +/* 802B8A60 002B59C0 7F 83 E3 78 */ mr r3, r28 +/* 802B8A64 002B59C4 38 9E 00 08 */ addi r4, r30, 8 +/* 802B8A68 002B59C8 38 BD 00 08 */ addi r5, r29, 8 +/* 802B8A6C 002B59CC 48 00 00 DD */ bl sub_802b8b48 +/* 802B8A70 002B59D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B8A74 002B59D4 41 82 00 08 */ beq lbl_802B8A7C +/* 802B8A78 002B59D8 7F BE EB 78 */ mr r30, r29 +lbl_802B8A7C: +/* 802B8A7C 002B59DC 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B8A80: +/* 802B8A80 002B59E0 80 1B 00 08 */ lwz r0, 8(r27) +/* 802B8A84 002B59E4 7C 1D 00 40 */ cmplw r29, r0 +/* 802B8A88 002B59E8 40 82 FF D8 */ bne lbl_802B8A60 +/* 802B8A8C 002B59EC 83 BF 00 04 */ lwz r29, 4(r31) +/* 802B8A90 002B59F0 7F 63 DB 78 */ mr r3, r27 +/* 802B8A94 002B59F4 7F E4 FB 78 */ mr r4, r31 +/* 802B8A98 002B59F8 7F C5 F3 78 */ mr r5, r30 +/* 802B8A9C 002B59FC 48 00 00 29 */ bl sub_802b8ac4 +/* 802B8AA0 002B5A00 7F BF EB 78 */ mr r31, r29 +lbl_802B8AA4: +/* 802B8AA4 002B5A04 80 1B 00 08 */ lwz r0, 8(r27) +/* 802B8AA8 002B5A08 7C 1F 00 40 */ cmplw r31, r0 +/* 802B8AAC 002B5A0C 40 82 FF A8 */ bne lbl_802B8A54 +/* 802B8AB0 002B5A10 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B8AB4 002B5A14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8AB8 002B5A18 7C 08 03 A6 */ mtlr r0 +/* 802B8ABC 002B5A1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8AC0 002B5A20 4E 80 00 20 */ blr + +.global sub_802b8ac4 +sub_802b8ac4: +/* 802B8AC4 002B5A24 7C 04 28 40 */ cmplw r4, r5 +/* 802B8AC8 002B5A28 4D 82 00 20 */ beqlr +/* 802B8ACC 002B5A2C 80 03 00 04 */ lwz r0, 4(r3) +/* 802B8AD0 002B5A30 7C 04 00 40 */ cmplw r4, r0 +/* 802B8AD4 002B5A34 40 82 00 0C */ bne lbl_802B8AE0 +/* 802B8AD8 002B5A38 90 A3 00 04 */ stw r5, 4(r3) +/* 802B8ADC 002B5A3C 48 00 00 10 */ b lbl_802B8AEC +lbl_802B8AE0: +/* 802B8AE0 002B5A40 7C 05 00 40 */ cmplw r5, r0 +/* 802B8AE4 002B5A44 40 82 00 08 */ bne lbl_802B8AEC +/* 802B8AE8 002B5A48 90 83 00 04 */ stw r4, 4(r3) +lbl_802B8AEC: +/* 802B8AEC 002B5A4C 80 E5 00 04 */ lwz r7, 4(r5) +/* 802B8AF0 002B5A50 80 64 00 04 */ lwz r3, 4(r4) +/* 802B8AF4 002B5A54 7C 07 20 40 */ cmplw r7, r4 +/* 802B8AF8 002B5A58 80 C4 00 00 */ lwz r6, 0(r4) +/* 802B8AFC 002B5A5C 81 05 00 00 */ lwz r8, 0(r5) +/* 802B8B00 002B5A60 41 82 00 18 */ beq lbl_802B8B18 +/* 802B8B04 002B5A64 90 87 00 00 */ stw r4, 0(r7) +/* 802B8B08 002B5A68 90 E4 00 04 */ stw r7, 4(r4) +/* 802B8B0C 002B5A6C 90 A6 00 04 */ stw r5, 4(r6) +/* 802B8B10 002B5A70 90 C5 00 00 */ stw r6, 0(r5) +/* 802B8B14 002B5A74 48 00 00 0C */ b lbl_802B8B20 +lbl_802B8B18: +/* 802B8B18 002B5A78 90 A4 00 04 */ stw r5, 4(r4) +/* 802B8B1C 002B5A7C 90 85 00 00 */ stw r4, 0(r5) +lbl_802B8B20: +/* 802B8B20 002B5A80 7C 08 20 40 */ cmplw r8, r4 +/* 802B8B24 002B5A84 41 82 00 18 */ beq lbl_802B8B3C +/* 802B8B28 002B5A88 90 88 00 04 */ stw r4, 4(r8) +/* 802B8B2C 002B5A8C 91 04 00 00 */ stw r8, 0(r4) +/* 802B8B30 002B5A90 90 A3 00 00 */ stw r5, 0(r3) +/* 802B8B34 002B5A94 90 65 00 04 */ stw r3, 4(r5) +/* 802B8B38 002B5A98 4E 80 00 20 */ blr +lbl_802B8B3C: +/* 802B8B3C 002B5A9C 90 85 00 04 */ stw r4, 4(r5) +/* 802B8B40 002B5AA0 90 A4 00 00 */ stw r5, 0(r4) +/* 802B8B44 002B5AA4 4E 80 00 20 */ blr + +.global sub_802b8b48 +sub_802b8b48: +/* 802B8B48 002B5AA8 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802B8B4C 002B5AAC 7C 08 02 A6 */ mflr r0 +/* 802B8B50 002B5AB0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802B8B54 002B5AB4 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802B8B58 002B5AB8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802B8B5C 002B5ABC DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802B8B60 002B5AC0 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802B8B64 002B5AC4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802B8B68 002B5AC8 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802B8B6C 002B5ACC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 802B8B70 002B5AD0 7C BE 2B 78 */ mr r30, r5 +/* 802B8B74 002B5AD4 3B E3 61 D4 */ addi r31, r3, lbl_805A61D4@l +/* 802B8B78 002B5AD8 7C 85 23 78 */ mr r5, r4 +/* 802B8B7C 002B5ADC C3 DF 00 1C */ lfs f30, 0x1c(r31) +/* 802B8B80 002B5AE0 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B8B84 002B5AE4 C3 FF 00 0C */ lfs f31, 0xc(r31) +/* 802B8B88 002B5AE8 38 84 00 34 */ addi r4, r4, 0x34 +/* 802B8B8C 002B5AEC 48 07 ED 71 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B8B90 002B5AF0 C0 A1 00 5C */ lfs f5, 0x5c(r1) +/* 802B8B94 002B5AF4 7F C5 F3 78 */ mr r5, r30 +/* 802B8B98 002B5AF8 C0 81 00 60 */ lfs f4, 0x60(r1) +/* 802B8B9C 002B5AFC 38 61 00 44 */ addi r3, r1, 0x44 +/* 802B8BA0 002B5B00 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802B8BA4 002B5B04 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802B8BA8 002B5B08 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802B8BAC 002B5B0C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802B8BB0 002B5B10 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802B8BB4 002B5B14 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802B8BB8 002B5B18 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802B8BBC 002B5B1C D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802B8BC0 002B5B20 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 802B8BC4 002B5B24 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802B8BC8 002B5B28 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802B8BCC 002B5B2C 48 07 ED 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B8BD0 002B5B30 C0 A1 00 44 */ lfs f5, 0x44(r1) +/* 802B8BD4 002B5B34 38 61 00 8C */ addi r3, r1, 0x8c +/* 802B8BD8 002B5B38 C0 81 00 48 */ lfs f4, 0x48(r1) +/* 802B8BDC 002B5B3C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B8BE0 002B5B40 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 802B8BE4 002B5B44 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802B8BE8 002B5B48 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802B8BEC 002B5B4C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802B8BF0 002B5B50 C0 C1 00 94 */ lfs f6, 0x94(r1) +/* 802B8BF4 002B5B54 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 802B8BF8 002B5B58 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 802B8BFC 002B5B5C D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 802B8C00 002B5B60 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802B8C04 002B5B64 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802B8C08 002B5B68 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802B8C0C 002B5B6C D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 802B8C10 002B5B70 D3 C1 00 30 */ stfs f30, 0x30(r1) +/* 802B8C14 002B5B74 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 802B8C18 002B5B78 48 07 E9 1D */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802B8C1C 002B5B7C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802B8C20 002B5B80 7C 7E 1B 78 */ mr r30, r3 +/* 802B8C24 002B5B84 D3 E1 00 20 */ stfs f31, 0x20(r1) +/* 802B8C28 002B5B88 38 61 00 74 */ addi r3, r1, 0x74 +/* 802B8C2C 002B5B8C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802B8C30 002B5B90 D3 C1 00 24 */ stfs f30, 0x24(r1) +/* 802B8C34 002B5B94 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802B8C38 002B5B98 48 07 E8 FD */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802B8C3C 002B5B9C 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 802B8C40 002B5BA0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B8C44 002B5BA4 7C 04 00 40 */ cmplw r4, r0 +/* 802B8C48 002B5BA8 41 82 00 0C */ beq lbl_802B8C54 +/* 802B8C4C 002B5BAC 7F C3 F3 78 */ mr r3, r30 +/* 802B8C50 002B5BB0 48 00 00 90 */ b lbl_802B8CE0 +lbl_802B8C54: +/* 802B8C54 002B5BB4 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 802B8C58 002B5BB8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B8C5C 002B5BBC C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802B8C60 002B5BC0 38 81 00 8C */ addi r4, r1, 0x8c +/* 802B8C64 002B5BC4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802B8C68 002B5BC8 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802B8C6C 002B5BCC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802B8C70 002B5BD0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802B8C74 002B5BD4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802B8C78 002B5BD8 48 07 E5 A5 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802B8C7C 002B5BDC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802B8C80 002B5BE0 38 61 00 08 */ addi r3, r1, 8 +/* 802B8C84 002B5BE4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B8C88 002B5BE8 38 81 00 74 */ addi r4, r1, 0x74 +/* 802B8C8C 002B5BEC C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802B8C90 002B5BF0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802B8C94 002B5BF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B8C98 002B5BF8 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802B8C9C 002B5BFC C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802B8CA0 002B5C00 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 802B8CA4 002B5C04 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802B8CA8 002B5C08 EF C4 00 FA */ fmadds f30, f4, f3, f0 +/* 802B8CAC 002B5C0C 48 07 E5 71 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802B8CB0 002B5C10 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802B8CB4 002B5C14 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802B8CB8 002B5C18 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802B8CBC 002B5C1C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B8CC0 002B5C20 C0 21 00 08 */ lfs f1, 8(r1) +/* 802B8CC4 002B5C24 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802B8CC8 002B5C28 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802B8CCC 002B5C2C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802B8CD0 002B5C30 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 802B8CD4 002B5C34 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802B8CD8 002B5C38 7C 00 00 26 */ mfcr r0 +/* 802B8CDC 002B5C3C 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_802B8CE0: +/* 802B8CE0 002B5C40 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802B8CE4 002B5C44 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802B8CE8 002B5C48 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802B8CEC 002B5C4C CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802B8CF0 002B5C50 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802B8CF4 002B5C54 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802B8CF8 002B5C58 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802B8CFC 002B5C5C 7C 08 03 A6 */ mtlr r0 +/* 802B8D00 002B5C60 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802B8D04 002B5C64 4E 80 00 20 */ blr + +.global DisablePVS__13CCubeRendererFv +DisablePVS__13CCubeRendererFv: +/* 802B8D08 002B5C68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B8D0C 002B5C6C 7C 08 02 A6 */ mflr r0 +/* 802B8D10 002B5C70 38 63 00 C8 */ addi r3, r3, 0xc8 +/* 802B8D14 002B5C74 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8D18 002B5C78 38 00 00 00 */ li r0, 0 +/* 802B8D1C 002B5C7C 38 81 00 08 */ addi r4, r1, 8 +/* 802B8D20 002B5C80 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802B8D24 002B5C84 48 00 00 4D */ bl sub_802b8d70 +/* 802B8D28 002B5C88 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 802B8D2C 002B5C8C 28 00 00 00 */ cmplwi r0, 0 +/* 802B8D30 002B5C90 41 82 00 28 */ beq lbl_802B8D58 +/* 802B8D34 002B5C94 34 61 00 08 */ addic. r3, r1, 8 +/* 802B8D38 002B5C98 41 82 00 20 */ beq lbl_802B8D58 +/* 802B8D3C 002B5C9C 34 03 00 0C */ addic. r0, r3, 0xc +/* 802B8D40 002B5CA0 41 82 00 18 */ beq lbl_802B8D58 +/* 802B8D44 002B5CA4 88 03 00 0C */ lbz r0, 0xc(r3) +/* 802B8D48 002B5CA8 28 00 00 00 */ cmplwi r0, 0 +/* 802B8D4C 002B5CAC 41 82 00 0C */ beq lbl_802B8D58 +/* 802B8D50 002B5CB0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802B8D54 002B5CB4 48 05 CB DD */ bl Free__7CMemoryFPCv +lbl_802B8D58: +/* 802B8D58 002B5CB8 38 00 00 00 */ li r0, 0 +/* 802B8D5C 002B5CBC 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802B8D60 002B5CC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8D64 002B5CC4 7C 08 03 A6 */ mtlr r0 +/* 802B8D68 002B5CC8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8D6C 002B5CCC 4E 80 00 20 */ blr + +.global sub_802b8d70 +sub_802b8d70: +/* 802B8D70 002B5CD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B8D74 002B5CD4 7C 08 02 A6 */ mflr r0 +/* 802B8D78 002B5CD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B8D7C 002B5CDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B8D80 002B5CE0 7C 9F 23 78 */ mr r31, r4 +/* 802B8D84 002B5CE4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B8D88 002B5CE8 7C 7E 1B 78 */ mr r30, r3 +/* 802B8D8C 002B5CEC 7C 1E F8 40 */ cmplw r30, r31 +/* 802B8D90 002B5CF0 40 82 00 08 */ bne lbl_802B8D98 +/* 802B8D94 002B5CF4 48 00 00 F4 */ b lbl_802B8E88 +lbl_802B8D98: +/* 802B8D98 002B5CF8 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 802B8D9C 002B5CFC 28 00 00 00 */ cmplwi r0, 0 +/* 802B8DA0 002B5D00 41 82 00 AC */ beq lbl_802B8E4C +/* 802B8DA4 002B5D04 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 802B8DA8 002B5D08 28 00 00 00 */ cmplwi r0, 0 +/* 802B8DAC 002B5D0C 40 82 00 48 */ bne lbl_802B8DF4 +/* 802B8DB0 002B5D10 28 1E 00 00 */ cmplwi r30, 0 +/* 802B8DB4 002B5D14 41 82 00 34 */ beq lbl_802B8DE8 +/* 802B8DB8 002B5D18 80 7F 00 00 */ lwz r3, 0(r31) +/* 802B8DBC 002B5D1C 38 00 00 00 */ li r0, 0 +/* 802B8DC0 002B5D20 90 7E 00 00 */ stw r3, 0(r30) +/* 802B8DC4 002B5D24 80 7F 00 04 */ lwz r3, 4(r31) +/* 802B8DC8 002B5D28 90 7E 00 04 */ stw r3, 4(r30) +/* 802B8DCC 002B5D2C 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B8DD0 002B5D30 90 7E 00 08 */ stw r3, 8(r30) +/* 802B8DD4 002B5D34 88 7F 00 0C */ lbz r3, 0xc(r31) +/* 802B8DD8 002B5D38 98 7E 00 0C */ stb r3, 0xc(r30) +/* 802B8DDC 002B5D3C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802B8DE0 002B5D40 90 7E 00 10 */ stw r3, 0x10(r30) +/* 802B8DE4 002B5D44 98 1F 00 0C */ stb r0, 0xc(r31) +lbl_802B8DE8: +/* 802B8DE8 002B5D48 38 00 00 01 */ li r0, 1 +/* 802B8DEC 002B5D4C 98 1E 00 14 */ stb r0, 0x14(r30) +/* 802B8DF0 002B5D50 48 00 00 94 */ b lbl_802B8E84 +lbl_802B8DF4: +/* 802B8DF4 002B5D54 80 9F 00 00 */ lwz r4, 0(r31) +/* 802B8DF8 002B5D58 38 7F 00 0C */ addi r3, r31, 0xc +/* 802B8DFC 002B5D5C 38 1E 00 0C */ addi r0, r30, 0xc +/* 802B8E00 002B5D60 90 9E 00 00 */ stw r4, 0(r30) +/* 802B8E04 002B5D64 7C 03 00 40 */ cmplw r3, r0 +/* 802B8E08 002B5D68 80 1F 00 04 */ lwz r0, 4(r31) +/* 802B8E0C 002B5D6C 90 1E 00 04 */ stw r0, 4(r30) +/* 802B8E10 002B5D70 80 1F 00 08 */ lwz r0, 8(r31) +/* 802B8E14 002B5D74 90 1E 00 08 */ stw r0, 8(r30) +/* 802B8E18 002B5D78 41 82 00 6C */ beq lbl_802B8E84 +/* 802B8E1C 002B5D7C 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B8E20 002B5D80 28 00 00 00 */ cmplwi r0, 0 +/* 802B8E24 002B5D84 41 82 00 0C */ beq lbl_802B8E30 +/* 802B8E28 002B5D88 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8E2C 002B5D8C 48 05 CB 05 */ bl Free__7CMemoryFPCv +lbl_802B8E30: +/* 802B8E30 002B5D90 88 7F 00 0C */ lbz r3, 0xc(r31) +/* 802B8E34 002B5D94 38 00 00 00 */ li r0, 0 +/* 802B8E38 002B5D98 98 7E 00 0C */ stb r3, 0xc(r30) +/* 802B8E3C 002B5D9C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802B8E40 002B5DA0 90 7E 00 10 */ stw r3, 0x10(r30) +/* 802B8E44 002B5DA4 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B8E48 002B5DA8 48 00 00 3C */ b lbl_802B8E84 +lbl_802B8E4C: +/* 802B8E4C 002B5DAC 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 802B8E50 002B5DB0 28 00 00 00 */ cmplwi r0, 0 +/* 802B8E54 002B5DB4 41 82 00 28 */ beq lbl_802B8E7C +/* 802B8E58 002B5DB8 28 1E 00 00 */ cmplwi r30, 0 +/* 802B8E5C 002B5DBC 41 82 00 20 */ beq lbl_802B8E7C +/* 802B8E60 002B5DC0 34 1E 00 0C */ addic. r0, r30, 0xc +/* 802B8E64 002B5DC4 41 82 00 18 */ beq lbl_802B8E7C +/* 802B8E68 002B5DC8 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B8E6C 002B5DCC 28 00 00 00 */ cmplwi r0, 0 +/* 802B8E70 002B5DD0 41 82 00 0C */ beq lbl_802B8E7C +/* 802B8E74 002B5DD4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8E78 002B5DD8 48 05 CA B9 */ bl Free__7CMemoryFPCv +lbl_802B8E7C: +/* 802B8E7C 002B5DDC 38 00 00 00 */ li r0, 0 +/* 802B8E80 002B5DE0 98 1E 00 14 */ stb r0, 0x14(r30) +lbl_802B8E84: +/* 802B8E84 002B5DE4 7F C3 F3 78 */ mr r3, r30 +lbl_802B8E88: +/* 802B8E88 002B5DE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B8E8C 002B5DEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B8E90 002B5DF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B8E94 002B5DF4 7C 08 03 A6 */ mtlr r0 +/* 802B8E98 002B5DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B8E9C 002B5DFC 4E 80 00 20 */ blr + +.global EnablePVS__13CCubeRendererFPC10CPVSVisSeti +EnablePVS__13CCubeRendererFPC10CPVSVisSeti: +/* 802B8EA0 002B5E00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B8EA4 002B5E04 7C 08 02 A6 */ mflr r0 +/* 802B8EA8 002B5E08 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8EAC 002B5E0C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B8EB0 002B5E10 7C BF 2B 78 */ mr r31, r5 +/* 802B8EB4 002B5E14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B8EB8 002B5E18 7C 9E 23 78 */ mr r30, r4 +/* 802B8EBC 002B5E1C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B8EC0 002B5E20 7C 7D 1B 78 */ mr r29, r3 +/* 802B8EC4 002B5E24 88 03 00 DC */ lbz r0, 0xdc(r3) +/* 802B8EC8 002B5E28 28 00 00 00 */ cmplwi r0, 0 +/* 802B8ECC 002B5E2C 40 82 00 48 */ bne lbl_802B8F14 +/* 802B8ED0 002B5E30 34 9D 00 C8 */ addic. r4, r29, 0xc8 +/* 802B8ED4 002B5E34 41 82 00 34 */ beq lbl_802B8F08 +/* 802B8ED8 002B5E38 80 7E 00 00 */ lwz r3, 0(r30) +/* 802B8EDC 002B5E3C 38 00 00 00 */ li r0, 0 +/* 802B8EE0 002B5E40 90 64 00 00 */ stw r3, 0(r4) +/* 802B8EE4 002B5E44 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B8EE8 002B5E48 90 64 00 04 */ stw r3, 4(r4) +/* 802B8EEC 002B5E4C 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B8EF0 002B5E50 90 64 00 08 */ stw r3, 8(r4) +/* 802B8EF4 002B5E54 88 7E 00 0C */ lbz r3, 0xc(r30) +/* 802B8EF8 002B5E58 98 64 00 0C */ stb r3, 0xc(r4) +/* 802B8EFC 002B5E5C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8F00 002B5E60 90 64 00 10 */ stw r3, 0x10(r4) +/* 802B8F04 002B5E64 98 1E 00 0C */ stb r0, 0xc(r30) +lbl_802B8F08: +/* 802B8F08 002B5E68 38 00 00 01 */ li r0, 1 +/* 802B8F0C 002B5E6C 98 1D 00 DC */ stb r0, 0xdc(r29) +/* 802B8F10 002B5E70 48 00 00 58 */ b lbl_802B8F68 +lbl_802B8F14: +/* 802B8F14 002B5E74 80 9E 00 00 */ lwz r4, 0(r30) +/* 802B8F18 002B5E78 38 7E 00 0C */ addi r3, r30, 0xc +/* 802B8F1C 002B5E7C 38 1D 00 D4 */ addi r0, r29, 0xd4 +/* 802B8F20 002B5E80 90 9D 00 C8 */ stw r4, 0xc8(r29) +/* 802B8F24 002B5E84 7C 03 00 40 */ cmplw r3, r0 +/* 802B8F28 002B5E88 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B8F2C 002B5E8C 90 1D 00 CC */ stw r0, 0xcc(r29) +/* 802B8F30 002B5E90 80 1E 00 08 */ lwz r0, 8(r30) +/* 802B8F34 002B5E94 90 1D 00 D0 */ stw r0, 0xd0(r29) +/* 802B8F38 002B5E98 41 82 00 30 */ beq lbl_802B8F68 +/* 802B8F3C 002B5E9C 88 1D 00 D4 */ lbz r0, 0xd4(r29) +/* 802B8F40 002B5EA0 28 00 00 00 */ cmplwi r0, 0 +/* 802B8F44 002B5EA4 41 82 00 0C */ beq lbl_802B8F50 +/* 802B8F48 002B5EA8 80 7D 00 D8 */ lwz r3, 0xd8(r29) +/* 802B8F4C 002B5EAC 48 05 C9 E5 */ bl Free__7CMemoryFPCv +lbl_802B8F50: +/* 802B8F50 002B5EB0 88 7E 00 0C */ lbz r3, 0xc(r30) +/* 802B8F54 002B5EB4 38 00 00 00 */ li r0, 0 +/* 802B8F58 002B5EB8 98 7D 00 D4 */ stb r3, 0xd4(r29) +/* 802B8F5C 002B5EBC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8F60 002B5EC0 90 7D 00 D8 */ stw r3, 0xd8(r29) +/* 802B8F64 002B5EC4 98 1E 00 0C */ stb r0, 0xc(r30) +lbl_802B8F68: +/* 802B8F68 002B5EC8 93 FD 00 E0 */ stw r31, 0xe0(r29) +/* 802B8F6C 002B5ECC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8F70 002B5ED0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B8F74 002B5ED4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B8F78 002B5ED8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B8F7C 002B5EDC 7C 08 03 A6 */ mtlr r0 +/* 802B8F80 002B5EE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8F84 002B5EE4 4E 80 00 20 */ blr + +.global SetThermal__13CCubeRendererFbfRC6CColor +SetThermal__13CCubeRendererFbfRC6CColor: +/* 802B8F88 002B5EE8 88 C3 03 18 */ lbz r6, 0x318(r3) +/* 802B8F8C 002B5EEC 50 86 17 7A */ rlwimi r6, r4, 2, 0x1d, 0x1d +/* 802B8F90 002B5EF0 38 00 00 00 */ li r0, 0 +/* 802B8F94 002B5EF4 98 C3 03 18 */ stb r6, 0x318(r3) +/* 802B8F98 002B5EF8 D0 23 02 F0 */ stfs f1, 0x2f0(r3) +/* 802B8F9C 002B5EFC 80 85 00 00 */ lwz r4, 0(r5) +/* 802B8FA0 002B5F00 90 83 02 F4 */ stw r4, 0x2f4(r3) +/* 802B8FA4 002B5F04 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) +/* 802B8FA8 002B5F08 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +/* 802B8FAC 002B5F0C 4E 80 00 20 */ blr + +.global ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel +ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel: +/* 802B8FB0 002B5F10 94 21 FB E0 */ stwu r1, -0x420(r1) +/* 802B8FB4 002B5F14 7C 08 02 A6 */ mflr r0 +/* 802B8FB8 002B5F18 90 01 04 24 */ stw r0, 0x424(r1) +/* 802B8FBC 002B5F1C DB E1 04 10 */ stfd f31, 0x410(r1) +/* 802B8FC0 002B5F20 F3 E1 04 18 */ psq_st f31, 1048(r1), 0, qr0 +/* 802B8FC4 002B5F24 DB C1 04 00 */ stfd f30, 0x400(r1) +/* 802B8FC8 002B5F28 F3 C1 04 08 */ psq_st f30, 1032(r1), 0, qr0 +/* 802B8FCC 002B5F2C DB A1 03 F0 */ stfd f29, 0x3f0(r1) +/* 802B8FD0 002B5F30 F3 A1 03 F8 */ psq_st f29, 1016(r1), 0, qr0 +/* 802B8FD4 002B5F34 DB 81 03 E0 */ stfd f28, 0x3e0(r1) +/* 802B8FD8 002B5F38 F3 81 03 E8 */ psq_st f28, 1000(r1), 0, qr0 +/* 802B8FDC 002B5F3C DB 61 03 D0 */ stfd f27, 0x3d0(r1) +/* 802B8FE0 002B5F40 F3 61 03 D8 */ psq_st f27, 984(r1), 0, qr0 +/* 802B8FE4 002B5F44 DB 41 03 C0 */ stfd f26, 0x3c0(r1) +/* 802B8FE8 002B5F48 F3 41 03 C8 */ psq_st f26, 968(r1), 0, qr0 +/* 802B8FEC 002B5F4C DB 21 03 B0 */ stfd f25, 0x3b0(r1) +/* 802B8FF0 002B5F50 F3 21 03 B8 */ psq_st f25, 952(r1), 0, qr0 +/* 802B8FF4 002B5F54 DB 01 03 A0 */ stfd f24, 0x3a0(r1) +/* 802B8FF8 002B5F58 F3 01 03 A8 */ psq_st f24, 936(r1), 0, qr0 +/* 802B8FFC 002B5F5C BD C1 03 58 */ stmw r14, 0x358(r1) +/* 802B9000 002B5F60 80 0D A8 28 */ lwz r0, lbl_805A93E8@sda21(r13) +/* 802B9004 002B5F64 3D 00 80 3F */ lis r8, lbl_803ED910@ha +/* 802B9008 002B5F68 39 E8 D9 10 */ addi r15, r8, lbl_803ED910@l +/* 802B900C 002B5F6C C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) +/* 802B9010 002B5F70 7C 08 03 78 */ mr r8, r0 +/* 802B9014 002B5F74 90 01 03 2C */ stw r0, 0x32c(r1) +/* 802B9018 002B5F78 3C 08 00 02 */ addis r0, r8, 2 +/* 802B901C 002B5F7C 81 CF 00 08 */ lwz r14, 8(r15) +/* 802B9020 002B5F80 90 01 03 28 */ stw r0, 0x328(r1) +/* 802B9024 002B5F84 7C BA 2B 78 */ mr r26, r5 +/* 802B9028 002B5F88 80 0F 00 00 */ lwz r0, 0(r15) +/* 802B902C 002B5F8C 39 60 01 40 */ li r11, 0x140 +/* 802B9030 002B5F90 80 A1 03 28 */ lwz r5, 0x328(r1) +/* 802B9034 002B5F94 39 40 00 E0 */ li r10, 0xe0 +/* 802B9038 002B5F98 90 01 03 38 */ stw r0, 0x338(r1) +/* 802B903C 002B5F9C 3D 00 80 3D */ lis r8, lbl_803D6570@ha +/* 802B9040 002B5FA0 80 0F 00 04 */ lwz r0, 4(r15) +/* 802B9044 002B5FA4 38 A5 30 00 */ addi r5, r5, 0x3000 +/* 802B9048 002B5FA8 81 8F 00 0C */ lwz r12, 0xc(r15) +/* 802B904C 002B5FAC 3D 20 80 5A */ lis r9, lbl_805A6204@ha +/* 802B9050 002B5FB0 90 01 03 34 */ stw r0, 0x334(r1) +/* 802B9054 002B5FB4 38 08 65 70 */ addi r0, r8, lbl_803D6570@l +/* 802B9058 002B5FB8 FF 40 D8 90 */ fmr f26, f27 +/* 802B905C 002B5FBC 7C DB 33 78 */ mr r27, r6 +/* 802B9060 002B5FC0 90 01 03 40 */ stw r0, 0x340(r1) +/* 802B9064 002B5FC4 38 00 00 00 */ li r0, 0 +/* 802B9068 002B5FC8 FF 20 D8 90 */ fmr f25, f27 +/* 802B906C 002B5FCC 7C FC 3B 78 */ mr r28, r7 +/* 802B9070 002B5FD0 90 01 03 30 */ stw r0, 0x330(r1) +/* 802B9074 002B5FD4 38 00 00 01 */ li r0, 1 +/* 802B9078 002B5FD8 FF 00 D8 90 */ fmr f24, f27 +/* 802B907C 002B5FDC 3A 00 00 00 */ li r16, 0 +/* 802B9080 002B5FE0 90 61 00 10 */ stw r3, 0x10(r1) +/* 802B9084 002B5FE4 38 69 62 04 */ addi r3, r9, lbl_805A6204@l +/* 802B9088 002B5FE8 39 E0 01 40 */ li r15, 0x140 +/* 802B908C 002B5FEC 3A 20 00 E0 */ li r17, 0xe0 +/* 802B9090 002B5FF0 90 81 00 14 */ stw r4, 0x14(r1) +/* 802B9094 002B5FF4 7C 64 1B 78 */ mr r4, r3 +/* 802B9098 002B5FF8 38 61 02 44 */ addi r3, r1, 0x244 +/* 802B909C 002B5FFC 91 C1 00 54 */ stw r14, 0x54(r1) +/* 802B90A0 002B6000 91 81 00 50 */ stw r12, 0x50(r1) +/* 802B90A4 002B6004 91 61 00 4C */ stw r11, 0x4c(r1) +/* 802B90A8 002B6008 91 41 00 48 */ stw r10, 0x48(r1) +/* 802B90AC 002B600C 98 01 03 24 */ stb r0, 0x324(r1) +/* 802B90B0 002B6010 90 A1 03 28 */ stw r5, 0x328(r1) +/* 802B90B4 002B6014 48 05 9A C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B90B8 002B6018 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B90BC 002B601C 38 61 02 14 */ addi r3, r1, 0x214 +/* 802B90C0 002B6020 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B90C4 002B6024 48 05 9A B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B90C8 002B6028 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B90CC 002B602C 48 05 32 65 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv +/* 802B90D0 002B6030 C3 A1 01 40 */ lfs f29, 0x140(r1) +/* 802B90D4 002B6034 38 61 00 60 */ addi r3, r1, 0x60 +/* 802B90D8 002B6038 C3 81 01 44 */ lfs f28, 0x144(r1) +/* 802B90DC 002B603C C1 A1 01 48 */ lfs f13, 0x148(r1) +/* 802B90E0 002B6040 C1 81 01 4C */ lfs f12, 0x14c(r1) +/* 802B90E4 002B6044 C1 61 01 50 */ lfs f11, 0x150(r1) +/* 802B90E8 002B6048 C1 41 01 54 */ lfs f10, 0x154(r1) +/* 802B90EC 002B604C C1 21 01 58 */ lfs f9, 0x158(r1) +/* 802B90F0 002B6050 C1 01 01 5C */ lfs f8, 0x15c(r1) +/* 802B90F4 002B6054 C0 E1 01 60 */ lfs f7, 0x160(r1) +/* 802B90F8 002B6058 C0 C1 01 64 */ lfs f6, 0x164(r1) +/* 802B90FC 002B605C C0 A1 01 68 */ lfs f5, 0x168(r1) +/* 802B9100 002B6060 C0 81 01 6C */ lfs f4, 0x16c(r1) +/* 802B9104 002B6064 C0 61 01 70 */ lfs f3, 0x170(r1) +/* 802B9108 002B6068 C0 41 01 74 */ lfs f2, 0x174(r1) +/* 802B910C 002B606C C0 21 01 78 */ lfs f1, 0x178(r1) +/* 802B9110 002B6070 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 802B9114 002B6074 D3 A1 01 D4 */ stfs f29, 0x1d4(r1) +/* 802B9118 002B6078 80 81 00 54 */ lwz r4, 0x54(r1) +/* 802B911C 002B607C D3 81 01 D8 */ stfs f28, 0x1d8(r1) +/* 802B9120 002B6080 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 802B9124 002B6084 D1 A1 01 DC */ stfs f13, 0x1dc(r1) +/* 802B9128 002B6088 D1 81 01 E0 */ stfs f12, 0x1e0(r1) +/* 802B912C 002B608C D1 61 01 E4 */ stfs f11, 0x1e4(r1) +/* 802B9130 002B6090 D1 41 01 E8 */ stfs f10, 0x1e8(r1) +/* 802B9134 002B6094 D1 21 01 EC */ stfs f9, 0x1ec(r1) +/* 802B9138 002B6098 D1 01 01 F0 */ stfs f8, 0x1f0(r1) +/* 802B913C 002B609C D0 E1 01 F4 */ stfs f7, 0x1f4(r1) +/* 802B9140 002B60A0 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) +/* 802B9144 002B60A4 D0 A1 01 FC */ stfs f5, 0x1fc(r1) +/* 802B9148 002B60A8 D0 81 02 00 */ stfs f4, 0x200(r1) +/* 802B914C 002B60AC D0 61 02 04 */ stfs f3, 0x204(r1) +/* 802B9150 002B60B0 D0 41 02 08 */ stfs f2, 0x208(r1) +/* 802B9154 002B60B4 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 802B9158 002B60B8 D0 01 02 10 */ stfs f0, 0x210(r1) +/* 802B915C 002B60BC 48 05 B1 F1 */ bl __ct__9CVector2iFii +/* 802B9160 002B60C0 38 61 00 58 */ addi r3, r1, 0x58 +/* 802B9164 002B60C4 38 80 00 00 */ li r4, 0 +/* 802B9168 002B60C8 38 A0 00 00 */ li r5, 0 +/* 802B916C 002B60CC 48 05 B1 E1 */ bl __ct__9CVector2iFii +/* 802B9170 002B60D0 38 00 00 00 */ li r0, 0 +/* 802B9174 002B60D4 3A 41 02 78 */ addi r18, r1, 0x278 +/* 802B9178 002B60D8 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B917C 002B60DC 39 C1 01 B4 */ addi r14, r1, 0x1b4 +/* 802B9180 002B60E0 3A 60 00 01 */ li r19, 1 +/* 802B9184 002B60E4 3A 80 00 00 */ li r20, 0 +/* 802B9188 002B60E8 90 01 01 B0 */ stw r0, 0x1b0(r1) +lbl_802B918C: +/* 802B918C 002B60EC 7F 44 D3 78 */ mr r4, r26 +/* 802B9190 002B60F0 7E 85 A3 78 */ mr r5, r20 +/* 802B9194 002B60F4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802B9198 002B60F8 48 07 E4 19 */ bl GetPoint__6CAABoxCFi +/* 802B919C 002B60FC 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802B91A0 002B6100 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B91A4 002B6104 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 802B91A8 002B6108 48 05 99 41 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B91AC 002B610C C0 41 00 D8 */ lfs f2, 0xd8(r1) +/* 802B91B0 002B6110 38 61 00 BC */ addi r3, r1, 0xbc +/* 802B91B4 002B6114 C0 21 02 30 */ lfs f1, 0x230(r1) +/* 802B91B8 002B6118 38 81 02 14 */ addi r4, r1, 0x214 +/* 802B91BC 002B611C C0 81 00 DC */ lfs f4, 0xdc(r1) +/* 802B91C0 002B6120 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802B91C4 002B6124 C0 01 02 40 */ lfs f0, 0x240(r1) +/* 802B91C8 002B6128 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802B91CC 002B612C C0 61 00 D4 */ lfs f3, 0xd4(r1) +/* 802B91D0 002B6130 C0 41 02 20 */ lfs f2, 0x220(r1) +/* 802B91D4 002B6134 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802B91D8 002B6138 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802B91DC 002B613C EC 23 10 28 */ fsubs f1, f3, f2 +/* 802B91E0 002B6140 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802B91E4 002B6144 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802B91E8 002B6148 48 05 98 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802B91EC 002B614C C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 802B91F0 002B6150 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802B91F4 002B6154 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 802B91F8 002B6158 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 802B91FC 002B615C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 802B9200 002B6160 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 802B9204 002B6164 D0 41 00 E0 */ stfs f2, 0xe0(r1) +/* 802B9208 002B6168 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 802B920C 002B616C D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802B9210 002B6170 48 05 75 F1 */ bl __ml__9CMatrix4fCFRC9CVector3f +/* 802B9214 002B6174 80 01 02 74 */ lwz r0, 0x274(r1) +/* 802B9218 002B6178 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802B921C 002B617C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802B9220 002B6180 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 802B9224 002B6184 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 802B9228 002B6188 7C 72 02 15 */ add. r3, r18, r0 +/* 802B922C 002B618C 41 82 00 10 */ beq lbl_802B923C +/* 802B9230 002B6190 D0 03 00 00 */ stfs f0, 0(r3) +/* 802B9234 002B6194 D0 23 00 04 */ stfs f1, 4(r3) +/* 802B9238 002B6198 D0 43 00 08 */ stfs f2, 8(r3) +lbl_802B923C: +/* 802B923C 002B619C 80 A1 02 74 */ lwz r5, 0x274(r1) +/* 802B9240 002B61A0 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 802B9244 002B61A4 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802B9248 002B61A8 38 05 00 01 */ addi r0, r5, 1 +/* 802B924C 002B61AC 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B9250 002B61B0 48 05 74 D1 */ bl MultiplyGetW__9CMatrix4fCFRC9CVector3f +/* 802B9254 002B61B4 80 01 01 B0 */ lwz r0, 0x1b0(r1) +/* 802B9258 002B61B8 54 00 10 3A */ slwi r0, r0, 2 +/* 802B925C 002B61BC 7C 6E 02 15 */ add. r3, r14, r0 +/* 802B9260 002B61C0 41 82 00 08 */ beq lbl_802B9268 +/* 802B9264 002B61C4 D0 23 00 00 */ stfs f1, 0(r3) +lbl_802B9268: +/* 802B9268 002B61C8 80 61 01 B0 */ lwz r3, 0x1b0(r1) +/* 802B926C 002B61CC 3A 94 00 01 */ addi r20, r20, 1 +/* 802B9270 002B61D0 2C 14 00 08 */ cmpwi r20, 8 +/* 802B9274 002B61D4 38 03 00 01 */ addi r0, r3, 1 +/* 802B9278 002B61D8 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 802B927C 002B61DC 41 80 FF 10 */ blt lbl_802B918C +/* 802B9280 002B61E0 38 00 00 14 */ li r0, 0x14 +/* 802B9284 002B61E4 39 01 00 64 */ addi r8, r1, 0x64 +/* 802B9288 002B61E8 39 21 00 5C */ addi r9, r1, 0x5c +/* 802B928C 002B61EC 7D C3 73 78 */ mr r3, r14 +/* 802B9290 002B61F0 7E 44 93 78 */ mr r4, r18 +/* 802B9294 002B61F4 39 40 00 00 */ li r10, 0 +/* 802B9298 002B61F8 7C 09 03 A6 */ mtctr r0 +lbl_802B929C: +/* 802B929C 002B61FC 2C 0A 00 08 */ cmpwi r10, 8 +/* 802B92A0 002B6200 40 80 00 2C */ bge lbl_802B92CC +/* 802B92A4 002B6204 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B92A8 002B6208 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B92AC 002B620C C0 44 00 00 */ lfs f2, 0(r4) +/* 802B92B0 002B6210 EC 61 00 24 */ fdivs f3, f1, f0 +/* 802B92B4 002B6214 C0 24 00 04 */ lfs f1, 4(r4) +/* 802B92B8 002B6218 C0 04 00 08 */ lfs f0, 8(r4) +/* 802B92BC 002B621C EC 83 00 B2 */ fmuls f4, f3, f2 +/* 802B92C0 002B6220 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802B92C4 002B6224 EC 43 00 32 */ fmuls f2, f3, f0 +/* 802B92C8 002B6228 48 00 00 E0 */ b lbl_802B93A8 +lbl_802B92CC: +/* 802B92CC 002B622C 80 A1 03 40 */ lwz r5, 0x340(r1) +/* 802B92D0 002B6230 38 0A FF F8 */ addi r0, r10, -8 +/* 802B92D4 002B6234 54 00 18 38 */ slwi r0, r0, 3 +/* 802B92D8 002B6238 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802B92DC 002B623C 38 A5 00 FC */ addi r5, r5, 0xfc +/* 802B92E0 002B6240 7C A5 02 14 */ add r5, r5, r0 +/* 802B92E4 002B6244 80 05 00 00 */ lwz r0, 0(r5) +/* 802B92E8 002B6248 80 E5 00 04 */ lwz r7, 4(r5) +/* 802B92EC 002B624C 1C C0 00 0C */ mulli r6, r0, 0xc +/* 802B92F0 002B6250 54 05 10 3A */ slwi r5, r0, 2 +/* 802B92F4 002B6254 7D 4E 2C 2E */ lfsx f10, r14, r5 +/* 802B92F8 002B6258 54 E0 10 3A */ slwi r0, r7, 2 +/* 802B92FC 002B625C 7C 2E 04 2E */ lfsx f1, r14, r0 +/* 802B9300 002B6260 7C B2 32 14 */ add r5, r18, r6 +/* 802B9304 002B6264 C0 C5 00 08 */ lfs f6, 8(r5) +/* 802B9308 002B6268 1C 07 00 0C */ mulli r0, r7, 0xc +/* 802B930C 002B626C C0 85 00 00 */ lfs f4, 0(r5) +/* 802B9310 002B6270 EC 06 50 24 */ fdivs f0, f6, f10 +/* 802B9314 002B6274 C0 A5 00 04 */ lfs f5, 4(r5) +/* 802B9318 002B6278 7C B2 02 14 */ add r5, r18, r0 +/* 802B931C 002B627C C1 25 00 08 */ lfs f9, 8(r5) +/* 802B9320 002B6280 C0 E5 00 00 */ lfs f7, 0(r5) +/* 802B9324 002B6284 C1 05 00 04 */ lfs f8, 4(r5) +/* 802B9328 002B6288 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802B932C 002B628C 7C 00 00 26 */ mfcr r0 +/* 802B9330 002B6290 EC 09 08 24 */ fdivs f0, f9, f1 +/* 802B9334 002B6294 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f +/* 802B9338 002B6298 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802B933C 002B629C 7C 00 00 26 */ mfcr r0 +/* 802B9340 002B62A0 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802B9344 002B62A4 7C 05 00 40 */ cmplw r5, r0 +/* 802B9348 002B62A8 41 82 02 48 */ beq lbl_802B9590 +/* 802B934C 002B62AC EC 4A 18 28 */ fsubs f2, f10, f3 +/* 802B9350 002B62B0 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802B9354 002B62B4 EC 21 50 28 */ fsubs f1, f1, f10 +/* 802B9358 002B62B8 FC 40 10 50 */ fneg f2, f2 +/* 802B935C 002B62BC ED 62 08 24 */ fdivs f11, f2, f1 +/* 802B9360 002B62C0 FC 0B 00 40 */ fcmpo cr0, f11, f0 +/* 802B9364 002B62C4 40 81 02 2C */ ble lbl_802B9590 +/* 802B9368 002B62C8 FC 0B 18 40 */ fcmpo cr0, f11, f3 +/* 802B936C 002B62CC 40 80 02 24 */ bge lbl_802B9590 +/* 802B9370 002B62D0 EC 0B 50 7A */ fmadds f0, f11, f1, f10 +/* 802B9374 002B62D4 EC 47 20 28 */ fsubs f2, f7, f4 +/* 802B9378 002B62D8 EC 28 28 28 */ fsubs f1, f8, f5 +/* 802B937C 002B62DC EC 63 00 24 */ fdivs f3, f3, f0 +/* 802B9380 002B62E0 EC 09 30 28 */ fsubs f0, f9, f6 +/* 802B9384 002B62E4 EC 4B 00 B2 */ fmuls f2, f11, f2 +/* 802B9388 002B62E8 EC 2B 00 72 */ fmuls f1, f11, f1 +/* 802B938C 002B62EC EC 0B 00 32 */ fmuls f0, f11, f0 +/* 802B9390 002B62F0 EC 44 10 2A */ fadds f2, f4, f2 +/* 802B9394 002B62F4 EC 25 08 2A */ fadds f1, f5, f1 +/* 802B9398 002B62F8 EC 06 00 2A */ fadds f0, f6, f0 +/* 802B939C 002B62FC EC 83 00 B2 */ fmuls f4, f3, f2 +/* 802B93A0 002B6300 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802B93A4 002B6304 EC 43 00 32 */ fmuls f2, f3, f0 +lbl_802B93A8: +/* 802B93A8 002B6308 C0 02 C2 D0 */ lfs f0, lbl_805ADFF0@sda21(r2) +/* 802B93AC 002B630C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802B93B0 002B6310 4C 40 13 82 */ cror 2, 0, 2 +/* 802B93B4 002B6314 40 82 01 DC */ bne lbl_802B9590 +/* 802B93B8 002B6318 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802B93BC 002B631C 3E 60 43 30 */ lis r19, 0x4330 +/* 802B93C0 002B6320 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802B93C4 002B6324 FC 00 08 50 */ fneg f0, f1 +/* 802B93C8 002B6328 6C AC 80 00 */ xoris r12, r5, 0x8000 +/* 802B93CC 002B632C 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 802B93D0 002B6330 7D 60 2A 14 */ add r11, r0, r5 +/* 802B93D4 002B6334 6C C7 80 00 */ xoris r7, r6, 0x8000 +/* 802B93D8 002B6338 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802B93DC 002B633C 7D 6B 0E 70 */ srawi r11, r11, 1 +/* 802B93E0 002B6340 91 81 02 DC */ stw r12, 0x2dc(r1) +/* 802B93E4 002B6344 7C 00 32 14 */ add r0, r0, r6 +/* 802B93E8 002B6348 C8 A2 C2 A0 */ lfd f5, lbl_805ADFC0@sda21(r2) +/* 802B93EC 002B634C 92 61 02 D8 */ stw r19, 0x2d8(r1) +/* 802B93F0 002B6350 6D 6C 80 00 */ xoris r12, r11, 0x8000 +/* 802B93F4 002B6354 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802B93F8 002B6358 C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) +/* 802B93FC 002B635C C8 21 02 D8 */ lfd f1, 0x2d8(r1) +/* 802B9400 002B6360 6C 0B 80 00 */ xoris r11, r0, 0x8000 +/* 802B9404 002B6364 90 E1 02 F4 */ stw r7, 0x2f4(r1) +/* 802B9408 002B6368 38 E1 00 44 */ addi r7, r1, 0x44 +/* 802B940C 002B636C EC 41 28 28 */ fsubs f2, f1, f5 +/* 802B9410 002B6370 80 0D 9A D8 */ lwz r0, lbl_805A8698@sda21(r13) +/* 802B9414 002B6374 92 61 02 F0 */ stw r19, 0x2f0(r1) +/* 802B9418 002B6378 C8 21 02 F0 */ lfd f1, 0x2f0(r1) +/* 802B941C 002B637C EC 82 01 32 */ fmuls f4, f2, f4 +/* 802B9420 002B6380 91 81 02 E4 */ stw r12, 0x2e4(r1) +/* 802B9424 002B6384 EC 21 28 28 */ fsubs f1, f1, f5 +/* 802B9428 002B6388 92 61 02 E0 */ stw r19, 0x2e0(r1) +/* 802B942C 002B638C C8 41 02 E0 */ lfd f2, 0x2e0(r1) +/* 802B9430 002B6390 EC 21 00 32 */ fmuls f1, f1, f0 +/* 802B9434 002B6394 91 61 02 FC */ stw r11, 0x2fc(r1) +/* 802B9438 002B6398 EC 42 28 28 */ fsubs f2, f2, f5 +/* 802B943C 002B639C 92 61 02 F8 */ stw r19, 0x2f8(r1) +/* 802B9440 002B63A0 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B9444 002B63A4 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802B9448 002B63A8 EC 00 28 28 */ fsubs f0, f0, f5 +/* 802B944C 002B63AC FC 40 10 1E */ fctiwz f2, f2 +/* 802B9450 002B63B0 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 802B9454 002B63B4 D8 41 02 E8 */ stfd f2, 0x2e8(r1) +/* 802B9458 002B63B8 82 61 02 EC */ lwz r19, 0x2ec(r1) +/* 802B945C 002B63BC FC 00 00 1E */ fctiwz f0, f0 +/* 802B9460 002B63C0 7C 13 00 00 */ cmpw r19, r0 +/* 802B9464 002B63C4 92 61 00 44 */ stw r19, 0x44(r1) +/* 802B9468 002B63C8 D8 01 03 00 */ stfd f0, 0x300(r1) +/* 802B946C 002B63CC 80 01 03 04 */ lwz r0, 0x304(r1) +/* 802B9470 002B63D0 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B9474 002B63D4 40 80 00 08 */ bge lbl_802B947C +/* 802B9478 002B63D8 38 ED 9A D8 */ addi r7, r13, lbl_805A8698@sda21 +lbl_802B947C: +/* 802B947C 002B63DC 81 87 00 00 */ lwz r12, 0(r7) +/* 802B9480 002B63E0 39 61 00 40 */ addi r11, r1, 0x40 +/* 802B9484 002B63E4 80 E1 00 40 */ lwz r7, 0x40(r1) +/* 802B9488 002B63E8 80 0D 9A DC */ lwz r0, lbl_805A869C@sda21(r13) +/* 802B948C 002B63EC 55 8C 00 3A */ rlwinm r12, r12, 0, 0, 0x1d +/* 802B9490 002B63F0 91 81 00 3C */ stw r12, 0x3c(r1) +/* 802B9494 002B63F4 7C 07 00 00 */ cmpw r7, r0 +/* 802B9498 002B63F8 40 80 00 08 */ bge lbl_802B94A0 +/* 802B949C 002B63FC 39 6D 9A DC */ addi r11, r13, lbl_805A869C@sda21 +lbl_802B94A0: +/* 802B94A0 002B6400 81 8B 00 00 */ lwz r12, 0(r11) +/* 802B94A4 002B6404 39 65 FF FC */ addi r11, r5, -4 +/* 802B94A8 002B6408 38 13 00 03 */ addi r0, r19, 3 +/* 802B94AC 002B640C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802B94B0 002B6410 55 8C 00 3A */ rlwinm r12, r12, 0, 0, 0x1d +/* 802B94B4 002B6414 91 61 00 28 */ stw r11, 0x28(r1) +/* 802B94B8 002B6418 7C 0B 00 00 */ cmpw r11, r0 +/* 802B94BC 002B641C 91 81 00 38 */ stw r12, 0x38(r1) +/* 802B94C0 002B6420 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802B94C4 002B6424 40 80 00 08 */ bge lbl_802B94CC +/* 802B94C8 002B6428 38 A1 00 28 */ addi r5, r1, 0x28 +lbl_802B94CC: +/* 802B94CC 002B642C 81 65 00 00 */ lwz r11, 0(r5) +/* 802B94D0 002B6430 38 C6 FF FC */ addi r6, r6, -4 +/* 802B94D4 002B6434 38 07 00 03 */ addi r0, r7, 3 +/* 802B94D8 002B6438 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802B94DC 002B643C 55 67 00 3A */ rlwinm r7, r11, 0, 0, 0x1d +/* 802B94E0 002B6440 90 C1 00 20 */ stw r6, 0x20(r1) +/* 802B94E4 002B6444 7C 06 00 00 */ cmpw r6, r0 +/* 802B94E8 002B6448 90 E1 00 34 */ stw r7, 0x34(r1) +/* 802B94EC 002B644C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B94F0 002B6450 40 80 00 08 */ bge lbl_802B94F8 +/* 802B94F4 002B6454 38 A1 00 20 */ addi r5, r1, 0x20 +lbl_802B94F8: +/* 802B94F8 002B6458 80 E5 00 00 */ lwz r7, 0(r5) +/* 802B94FC 002B645C 38 C1 00 60 */ addi r6, r1, 0x60 +/* 802B9500 002B6460 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802B9504 002B6464 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802B9508 002B6468 54 E7 00 3A */ rlwinm r7, r7, 0, 0, 0x1d +/* 802B950C 002B646C 90 E1 00 30 */ stw r7, 0x30(r1) +/* 802B9510 002B6470 7C 05 00 00 */ cmpw r5, r0 +/* 802B9514 002B6474 40 80 00 08 */ bge lbl_802B951C +/* 802B9518 002B6478 38 C1 00 3C */ addi r6, r1, 0x3c +lbl_802B951C: +/* 802B951C 002B647C 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 802B9520 002B6480 80 08 00 00 */ lwz r0, 0(r8) +/* 802B9524 002B6484 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B9528 002B6488 7C 05 00 00 */ cmpw r5, r0 +/* 802B952C 002B648C 90 C1 00 60 */ stw r6, 0x60(r1) +/* 802B9530 002B6490 40 80 00 0C */ bge lbl_802B953C +/* 802B9534 002B6494 38 E1 00 38 */ addi r7, r1, 0x38 +/* 802B9538 002B6498 48 00 00 08 */ b lbl_802B9540 +lbl_802B953C: +/* 802B953C 002B649C 7D 07 43 78 */ mr r7, r8 +lbl_802B9540: +/* 802B9540 002B64A0 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 802B9544 002B64A4 38 C1 00 58 */ addi r6, r1, 0x58 +/* 802B9548 002B64A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B954C 002B64AC 80 E7 00 00 */ lwz r7, 0(r7) +/* 802B9550 002B64B0 7C 05 00 00 */ cmpw r5, r0 +/* 802B9554 002B64B4 90 E8 00 00 */ stw r7, 0(r8) +/* 802B9558 002B64B8 40 80 00 08 */ bge lbl_802B9560 +/* 802B955C 002B64BC 38 C1 00 34 */ addi r6, r1, 0x34 +lbl_802B9560: +/* 802B9560 002B64C0 80 A9 00 00 */ lwz r5, 0(r9) +/* 802B9564 002B64C4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802B9568 002B64C8 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B956C 002B64CC 7C 05 00 00 */ cmpw r5, r0 +/* 802B9570 002B64D0 90 C1 00 58 */ stw r6, 0x58(r1) +/* 802B9574 002B64D4 40 80 00 0C */ bge lbl_802B9580 +/* 802B9578 002B64D8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802B957C 002B64DC 48 00 00 08 */ b lbl_802B9584 +lbl_802B9580: +/* 802B9580 002B64E0 7D 25 4B 78 */ mr r5, r9 +lbl_802B9584: +/* 802B9584 002B64E4 80 05 00 00 */ lwz r0, 0(r5) +/* 802B9588 002B64E8 3A 60 00 00 */ li r19, 0 +/* 802B958C 002B64EC 90 09 00 00 */ stw r0, 0(r9) +lbl_802B9590: +/* 802B9590 002B64F0 38 63 00 04 */ addi r3, r3, 4 +/* 802B9594 002B64F4 38 84 00 0C */ addi r4, r4, 0xc +/* 802B9598 002B64F8 39 4A 00 01 */ addi r10, r10, 1 +/* 802B959C 002B64FC 42 00 FD 00 */ bdnz lbl_802B929C +/* 802B95A0 002B6500 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 802B95A4 002B6504 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 802B95A8 002B6508 81 01 00 50 */ lwz r8, 0x50(r1) +/* 802B95AC 002B650C 90 C1 03 20 */ stw r6, 0x320(r1) +/* 802B95B0 002B6510 91 01 03 1C */ stw r8, 0x31c(r1) +/* 802B95B4 002B6514 40 82 00 98 */ bne lbl_802B964C +/* 802B95B8 002B6518 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 802B95BC 002B651C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B95C0 002B6520 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802B95C4 002B6524 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B95C8 002B6528 7C 85 20 50 */ subf r4, r5, r4 +/* 802B95CC 002B652C 7C 00 20 00 */ cmpw r0, r4 +/* 802B95D0 002B6530 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802B95D4 002B6534 40 80 00 08 */ bge lbl_802B95DC +/* 802B95D8 002B6538 38 61 00 4C */ addi r3, r1, 0x4c +lbl_802B95DC: +/* 802B95DC 002B653C 81 41 00 64 */ lwz r10, 0x64(r1) +/* 802B95E0 002B6540 38 81 00 18 */ addi r4, r1, 0x18 +/* 802B95E4 002B6544 80 E1 00 5C */ lwz r7, 0x5c(r1) +/* 802B95E8 002B6548 80 A3 00 00 */ lwz r5, 0(r3) +/* 802B95EC 002B654C 7C 6A 38 50 */ subf r3, r10, r7 +/* 802B95F0 002B6550 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802B95F4 002B6554 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 802B95F8 002B6558 7C 00 18 00 */ cmpw r0, r3 +/* 802B95FC 002B655C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B9600 002B6560 40 80 00 08 */ bge lbl_802B9608 +/* 802B9604 002B6564 38 81 00 48 */ addi r4, r1, 0x48 +lbl_802B9608: +/* 802B9608 002B6568 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802B960C 002B656C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802B9610 002B6570 80 84 00 00 */ lwz r4, 0(r4) +/* 802B9614 002B6574 7C 06 00 00 */ cmpw r6, r0 +/* 802B9618 002B6578 90 81 00 48 */ stw r4, 0x48(r1) +/* 802B961C 002B657C 40 80 00 08 */ bge lbl_802B9624 +/* 802B9620 002B6580 38 61 00 54 */ addi r3, r1, 0x54 +lbl_802B9624: +/* 802B9624 002B6584 80 03 00 00 */ lwz r0, 0(r3) +/* 802B9628 002B6588 7C 08 38 00 */ cmpw r8, r7 +/* 802B962C 002B658C 90 01 03 20 */ stw r0, 0x320(r1) +/* 802B9630 002B6590 40 80 00 08 */ bge lbl_802B9638 +/* 802B9634 002B6594 39 21 00 50 */ addi r9, r1, 0x50 +lbl_802B9638: +/* 802B9638 002B6598 80 09 00 00 */ lwz r0, 0(r9) +/* 802B963C 002B659C 7D 50 53 78 */ mr r16, r10 +/* 802B9640 002B65A0 90 01 03 1C */ stw r0, 0x31c(r1) +/* 802B9644 002B65A4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802B9648 002B65A8 90 01 03 30 */ stw r0, 0x330(r1) +lbl_802B964C: +/* 802B964C 002B65AC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B9650 002B65B0 2C 00 00 00 */ cmpwi r0, 0 +/* 802B9654 002B65B4 40 81 00 10 */ ble lbl_802B9664 +/* 802B9658 002B65B8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802B965C 002B65BC 2C 00 00 00 */ cmpwi r0, 0 +/* 802B9660 002B65C0 41 81 00 AC */ bgt lbl_802B970C +lbl_802B9664: +/* 802B9664 002B65C4 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 802B9668 002B65C8 38 60 00 00 */ li r3, 0 +/* 802B966C 002B65CC 2C 05 00 00 */ cmpwi r5, 0 +/* 802B9670 002B65D0 40 81 00 40 */ ble lbl_802B96B0 +/* 802B9674 002B65D4 2C 05 00 08 */ cmpwi r5, 8 +/* 802B9678 002B65D8 38 85 FF F8 */ addi r4, r5, -8 +/* 802B967C 002B65DC 40 81 00 20 */ ble lbl_802B969C +/* 802B9680 002B65E0 38 04 00 07 */ addi r0, r4, 7 +/* 802B9684 002B65E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802B9688 002B65E8 7C 09 03 A6 */ mtctr r0 +/* 802B968C 002B65EC 2C 04 00 00 */ cmpwi r4, 0 +/* 802B9690 002B65F0 40 81 00 0C */ ble lbl_802B969C +lbl_802B9694: +/* 802B9694 002B65F4 38 63 00 08 */ addi r3, r3, 8 +/* 802B9698 002B65F8 42 00 FF FC */ bdnz lbl_802B9694 +lbl_802B969C: +/* 802B969C 002B65FC 7C 03 28 50 */ subf r0, r3, r5 +/* 802B96A0 002B6600 7C 09 03 A6 */ mtctr r0 +/* 802B96A4 002B6604 7C 03 28 00 */ cmpw r3, r5 +/* 802B96A8 002B6608 40 80 00 08 */ bge lbl_802B96B0 +lbl_802B96AC: +/* 802B96AC 002B660C 42 00 00 00 */ bdnz lbl_802B96AC +lbl_802B96B0: +/* 802B96B0 002B6610 80 A1 02 74 */ lwz r5, 0x274(r1) +/* 802B96B4 002B6614 38 60 00 00 */ li r3, 0 +/* 802B96B8 002B6618 90 61 01 B0 */ stw r3, 0x1b0(r1) +/* 802B96BC 002B661C 2C 05 00 00 */ cmpwi r5, 0 +/* 802B96C0 002B6620 40 81 00 40 */ ble lbl_802B9700 +/* 802B96C4 002B6624 2C 05 00 08 */ cmpwi r5, 8 +/* 802B96C8 002B6628 38 85 FF F8 */ addi r4, r5, -8 +/* 802B96CC 002B662C 40 81 00 20 */ ble lbl_802B96EC +/* 802B96D0 002B6630 38 04 00 07 */ addi r0, r4, 7 +/* 802B96D4 002B6634 54 00 E8 FE */ srwi r0, r0, 3 +/* 802B96D8 002B6638 7C 09 03 A6 */ mtctr r0 +/* 802B96DC 002B663C 2C 04 00 00 */ cmpwi r4, 0 +/* 802B96E0 002B6640 40 81 00 0C */ ble lbl_802B96EC +lbl_802B96E4: +/* 802B96E4 002B6644 38 63 00 08 */ addi r3, r3, 8 +/* 802B96E8 002B6648 42 00 FF FC */ bdnz lbl_802B96E4 +lbl_802B96EC: +/* 802B96EC 002B664C 7C 03 28 50 */ subf r0, r3, r5 +/* 802B96F0 002B6650 7C 09 03 A6 */ mtctr r0 +/* 802B96F4 002B6654 7C 03 28 00 */ cmpw r3, r5 +/* 802B96F8 002B6658 40 80 00 08 */ bge lbl_802B9700 +lbl_802B96FC: +/* 802B96FC 002B665C 42 00 00 00 */ bdnz lbl_802B96FC +lbl_802B9700: +/* 802B9700 002B6660 38 00 00 00 */ li r0, 0 +/* 802B9704 002B6664 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B9708 002B6668 48 00 0B 38 */ b lbl_802BA240 +lbl_802B970C: +/* 802B970C 002B666C 80 01 03 34 */ lwz r0, 0x334(r1) +/* 802B9710 002B6670 7C 10 02 14 */ add r0, r16, r0 +/* 802B9714 002B6674 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B9718 002B6678 41 82 00 08 */ beq lbl_802B9720 +/* 802B971C 002B667C 3A 10 FF FF */ addi r16, r16, -1 +lbl_802B9720: +/* 802B9720 002B6680 80 61 03 30 */ lwz r3, 0x330(r1) +/* 802B9724 002B6684 80 01 03 38 */ lwz r0, 0x338(r1) +/* 802B9728 002B6688 7C 03 02 14 */ add r0, r3, r0 +/* 802B972C 002B668C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B9730 002B6690 41 82 00 0C */ beq lbl_802B973C +/* 802B9734 002B6694 38 63 FF FF */ addi r3, r3, -1 +/* 802B9738 002B6698 90 61 03 30 */ stw r3, 0x330(r1) +lbl_802B973C: +/* 802B973C 002B669C 48 05 00 C9 */ bl GetUseVideoFilter__9CGraphicsFv +/* 802B9740 002B66A0 90 61 03 44 */ stw r3, 0x344(r1) +/* 802B9744 002B66A4 38 60 00 00 */ li r3, 0 +/* 802B9748 002B66A8 48 05 00 C5 */ bl SetUseVideoFilter__9CGraphicsFb +/* 802B974C 002B66AC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B9750 002B66B0 3C C0 43 30 */ lis r6, 0x4330 +/* 802B9754 002B66B4 80 81 03 40 */ lwz r4, 0x340(r1) +/* 802B9758 002B66B8 A8 03 01 BC */ lha r0, 0x1bc(r3) +/* 802B975C 002B66BC A8 E3 01 BE */ lha r7, 0x1be(r3) +/* 802B9760 002B66C0 38 61 01 20 */ addi r3, r1, 0x120 +/* 802B9764 002B66C4 6C 05 80 00 */ xoris r5, r0, 0x8000 +/* 802B9768 002B66C8 81 04 01 68 */ lwz r8, 0x168(r4) +/* 802B976C 002B66CC 90 A1 03 04 */ stw r5, 0x304(r1) +/* 802B9770 002B66D0 6C E0 80 00 */ xoris r0, r7, 0x8000 +/* 802B9774 002B66D4 80 E4 01 78 */ lwz r7, 0x178(r4) +/* 802B9778 002B66D8 38 80 00 1E */ li r4, 0x1e +/* 802B977C 002B66DC 90 C1 03 00 */ stw r6, 0x300(r1) +/* 802B9780 002B66E0 38 A0 00 01 */ li r5, 1 +/* 802B9784 002B66E4 C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802B9788 002B66E8 C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802B978C 002B66EC 90 C1 02 F8 */ stw r6, 0x2f8(r1) +/* 802B9790 002B66F0 EC 20 10 28 */ fsubs f1, f0, f2 +/* 802B9794 002B66F4 80 C1 03 40 */ lwz r6, 0x340(r1) +/* 802B9798 002B66F8 90 01 02 FC */ stw r0, 0x2fc(r1) +/* 802B979C 002B66FC C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) +/* 802B97A0 002B6700 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B97A4 002B6704 EC 23 08 24 */ fdivs f1, f3, f1 +/* 802B97A8 002B6708 91 01 01 2C */ stw r8, 0x12c(r1) +/* 802B97AC 002B670C 81 86 01 5C */ lwz r12, 0x15c(r6) +/* 802B97B0 002B6710 81 66 01 60 */ lwz r11, 0x160(r6) +/* 802B97B4 002B6714 81 46 01 64 */ lwz r10, 0x164(r6) +/* 802B97B8 002B6718 81 26 01 6C */ lwz r9, 0x16c(r6) +/* 802B97BC 002B671C EC 00 10 28 */ fsubs f0, f0, f2 +/* 802B97C0 002B6720 81 06 01 70 */ lwz r8, 0x170(r6) +/* 802B97C4 002B6724 80 06 01 74 */ lwz r0, 0x174(r6) +/* 802B97C8 002B6728 90 E1 01 3C */ stw r7, 0x13c(r1) +/* 802B97CC 002B672C EC 03 00 24 */ fdivs f0, f3, f0 +/* 802B97D0 002B6730 91 81 01 20 */ stw r12, 0x120(r1) +/* 802B97D4 002B6734 91 61 01 24 */ stw r11, 0x124(r1) +/* 802B97D8 002B6738 91 41 01 28 */ stw r10, 0x128(r1) +/* 802B97DC 002B673C 91 21 01 30 */ stw r9, 0x130(r1) +/* 802B97E0 002B6740 91 01 01 34 */ stw r8, 0x134(r1) +/* 802B97E4 002B6744 90 01 01 38 */ stw r0, 0x138(r1) +/* 802B97E8 002B6748 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 802B97EC 002B674C D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 802B97F0 002B6750 48 0C 2C A1 */ bl GXLoadTexMtxImm +/* 802B97F4 002B6754 38 61 00 80 */ addi r3, r1, 0x80 +/* 802B97F8 002B6758 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B97FC 002B675C 38 BA 00 0C */ addi r5, r26, 0xc +/* 802B9800 002B6760 48 05 92 E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B9804 002B6764 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 802B9808 002B6768 7F 45 D3 78 */ mr r5, r26 +/* 802B980C 002B676C C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802B9810 002B6770 38 61 00 98 */ addi r3, r1, 0x98 +/* 802B9814 002B6774 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 802B9818 002B6778 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B981C 002B677C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802B9820 002B6780 EC 42 18 2A */ fadds f2, f2, f3 +/* 802B9824 002B6784 EC 21 18 2A */ fadds f1, f1, f3 +/* 802B9828 002B6788 EC 00 18 2A */ fadds f0, f0, f3 +/* 802B982C 002B678C D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802B9830 002B6790 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802B9834 002B6794 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802B9838 002B6798 48 05 92 B1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B983C 002B679C C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802B9840 002B67A0 38 61 01 08 */ addi r3, r1, 0x108 +/* 802B9844 002B67A4 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802B9848 002B67A8 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 802B984C 002B67AC C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802B9850 002B67B0 38 A1 00 8C */ addi r5, r1, 0x8c +/* 802B9854 002B67B4 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 802B9858 002B67B8 EC 42 18 28 */ fsubs f2, f2, f3 +/* 802B985C 002B67BC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802B9860 002B67C0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802B9864 002B67C4 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 802B9868 002B67C8 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 802B986C 002B67CC D0 01 00 AC */ stfs f0, 0xac(r1) +/* 802B9870 002B67D0 48 07 EC 99 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802B9874 002B67D4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B9878 002B67D8 38 61 01 08 */ addi r3, r1, 0x108 +/* 802B987C 002B67DC 38 A4 61 D4 */ addi r5, r4, lbl_805A61D4@l +/* 802B9880 002B67E0 38 81 00 74 */ addi r4, r1, 0x74 +/* 802B9884 002B67E4 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802B9888 002B67E8 7C BF 2B 78 */ mr r31, r5 +/* 802B988C 002B67EC C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 802B9890 002B67F0 39 C0 00 00 */ li r14, 0 +/* 802B9894 002B67F4 C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 802B9898 002B67F8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802B989C 002B67FC D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802B98A0 002B6800 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802B98A4 002B6804 48 07 DC 91 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802B98A8 002B6808 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B98AC 002B680C 41 82 00 28 */ beq lbl_802B98D4 +/* 802B98B0 002B6810 28 1B 00 00 */ cmplwi r27, 0 +/* 802B98B4 002B6814 38 00 00 00 */ li r0, 0 +/* 802B98B8 002B6818 40 82 00 0C */ bne lbl_802B98C4 +/* 802B98BC 002B681C 28 1C 00 00 */ cmplwi r28, 0 +/* 802B98C0 002B6820 41 82 00 08 */ beq lbl_802B98C8 +lbl_802B98C4: +/* 802B98C4 002B6824 38 00 00 01 */ li r0, 1 +lbl_802B98C8: +/* 802B98C8 002B6828 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802B98CC 002B682C 41 82 00 08 */ beq lbl_802B98D4 +/* 802B98D0 002B6830 39 C0 00 01 */ li r14, 1 +lbl_802B98D4: +/* 802B98D4 002B6834 55 C0 06 3F */ clrlwi. r0, r14, 0x18 +/* 802B98D8 002B6838 41 82 00 2C */ beq lbl_802B9904 +/* 802B98DC 002B683C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B98E0 002B6840 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B98E4 002B6844 38 60 00 01 */ li r3, 1 +/* 802B98E8 002B6848 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802B98EC 002B684C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B98F0 002B6850 98 03 03 18 */ stb r0, 0x318(r3) +/* 802B98F4 002B6854 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B98F8 002B6858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802B98FC 002B685C 40 82 00 08 */ bne lbl_802B9904 +/* 802B9900 002B6860 39 C0 00 00 */ li r14, 0 +lbl_802B9904: +/* 802B9904 002B6864 38 60 00 01 */ li r3, 1 +/* 802B9908 002B6868 38 80 00 01 */ li r4, 1 +/* 802B990C 002B686C 48 04 E6 AD */ bl SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc +/* 802B9910 002B6870 55 D8 06 3E */ clrlwi r24, r14, 0x18 +/* 802B9914 002B6874 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B9918 002B6878 7C 18 00 D0 */ neg r0, r24 +/* 802B991C 002B687C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B9920 002B6880 7C 00 C3 78 */ or r0, r0, r24 +/* 802B9924 002B6884 39 C3 66 70 */ addi r14, r3, skIdentity4f@l +/* 802B9928 002B6888 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802B992C 002B688C CB C2 C2 A0 */ lfd f30, lbl_805ADFC0@sda21(r2) +/* 802B9930 002B6890 38 04 61 D4 */ addi r0, r4, lbl_805A61D4@l +/* 802B9934 002B6894 C3 E2 C2 80 */ lfs f31, lbl_805ADFA0@sda21(r2) +/* 802B9938 002B6898 92 01 03 18 */ stw r16, 0x318(r1) +/* 802B993C 002B689C 3B 23 00 01 */ addi r25, r3, 1 +/* 802B9940 002B68A0 3E 60 43 30 */ lis r19, 0x4330 +/* 802B9944 002B68A4 3E 80 CC 01 */ lis r20, 0xcc01 +/* 802B9948 002B68A8 90 01 03 48 */ stw r0, 0x348(r1) +/* 802B994C 002B68AC 48 00 08 20 */ b lbl_802BA16C +lbl_802B9950: +/* 802B9950 002B68B0 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802B9954 002B68B4 80 01 03 1C */ lwz r0, 0x31c(r1) +/* 802B9958 002B68B8 7C 03 00 50 */ subf r0, r3, r0 +/* 802B995C 002B68BC 7C 00 88 00 */ cmpw r0, r17 +/* 802B9960 002B68C0 40 80 00 10 */ bge lbl_802B9970 +/* 802B9964 002B68C4 7C 11 03 78 */ mr r17, r0 +/* 802B9968 002B68C8 38 00 00 01 */ li r0, 1 +/* 802B996C 002B68CC 98 01 03 24 */ stb r0, 0x324(r1) +lbl_802B9970: +/* 802B9970 002B68D0 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B9974 002B68D4 7C 0F 00 00 */ cmpw r15, r0 +/* 802B9978 002B68D8 41 82 00 10 */ beq lbl_802B9988 +/* 802B997C 002B68DC 7C 0F 03 78 */ mr r15, r0 +/* 802B9980 002B68E0 38 00 00 01 */ li r0, 1 +/* 802B9984 002B68E4 98 01 03 24 */ stb r0, 0x324(r1) +lbl_802B9988: +/* 802B9988 002B68E8 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802B998C 002B68EC 80 01 03 34 */ lwz r0, 0x334(r1) +/* 802B9990 002B68F0 83 C1 03 30 */ lwz r30, 0x330(r1) +/* 802B9994 002B68F4 7E 03 02 14 */ add r16, r3, r0 +/* 802B9998 002B68F8 7C 60 1B 78 */ mr r0, r3 +/* 802B999C 002B68FC 7C 60 8A 14 */ add r3, r0, r17 +/* 802B99A0 002B6900 92 21 03 3C */ stw r17, 0x33c(r1) +/* 802B99A4 002B6904 6C 15 80 00 */ xoris r21, r0, 0x8000 +/* 802B99A8 002B6908 6C 76 80 00 */ xoris r22, r3, 0x8000 +/* 802B99AC 002B690C 48 00 07 A8 */ b lbl_802BA154 +lbl_802B99B0: +/* 802B99B0 002B6910 38 61 02 44 */ addi r3, r1, 0x244 +/* 802B99B4 002B6914 48 05 2C 2D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B99B8 002B6918 80 01 03 20 */ lwz r0, 0x320(r1) +/* 802B99BC 002B691C 7C 1E 00 50 */ subf r0, r30, r0 +/* 802B99C0 002B6920 7C 00 78 00 */ cmpw r0, r15 +/* 802B99C4 002B6924 40 80 00 10 */ bge lbl_802B99D4 +/* 802B99C8 002B6928 7C 0F 03 78 */ mr r15, r0 +/* 802B99CC 002B692C 38 00 00 01 */ li r0, 1 +/* 802B99D0 002B6930 98 01 03 24 */ stb r0, 0x324(r1) +lbl_802B99D4: +/* 802B99D4 002B6934 88 01 03 24 */ lbz r0, 0x324(r1) +/* 802B99D8 002B6938 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802B99DC 002B693C 41 82 00 BC */ beq lbl_802B9A98 +/* 802B99E0 002B6940 38 6F FF FF */ addi r3, r15, -1 +/* 802B99E4 002B6944 38 11 FF FF */ addi r0, r17, -1 +/* 802B99E8 002B6948 3D 20 43 30 */ lis r9, 0x4330 +/* 802B99EC 002B694C 6D E8 80 00 */ xoris r8, r15, 0x8000 +/* 802B99F0 002B6950 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802B99F4 002B6954 6C 07 80 00 */ xoris r7, r0, 0x8000 +/* 802B99F8 002B6958 6E 20 80 00 */ xoris r0, r17, 0x8000 +/* 802B99FC 002B695C 90 61 03 04 */ stw r3, 0x304(r1) +/* 802B9A00 002B6960 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802B9A04 002B6964 55 E3 04 3E */ clrlwi r3, r15, 0x10 +/* 802B9A08 002B6968 91 21 03 00 */ stw r9, 0x300(r1) +/* 802B9A0C 002B696C 56 24 04 3E */ clrlwi r4, r17, 0x10 +/* 802B9A10 002B6970 38 A0 00 13 */ li r5, 0x13 +/* 802B9A14 002B6974 38 C0 00 00 */ li r6, 0 +/* 802B9A18 002B6978 C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802B9A1C 002B697C 91 01 02 FC */ stw r8, 0x2fc(r1) +/* 802B9A20 002B6980 EC 40 18 28 */ fsubs f2, f0, f3 +/* 802B9A24 002B6984 91 21 02 F8 */ stw r9, 0x2f8(r1) +/* 802B9A28 002B6988 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B9A2C 002B698C 90 E1 02 F4 */ stw r7, 0x2f4(r1) +/* 802B9A30 002B6990 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802B9A34 002B6994 91 21 02 F0 */ stw r9, 0x2f0(r1) +/* 802B9A38 002B6998 C8 21 02 F0 */ lfd f1, 0x2f0(r1) +/* 802B9A3C 002B699C EF 22 00 24 */ fdivs f25, f2, f0 +/* 802B9A40 002B69A0 90 01 02 EC */ stw r0, 0x2ec(r1) +/* 802B9A44 002B69A4 91 21 02 E8 */ stw r9, 0x2e8(r1) +/* 802B9A48 002B69A8 C8 01 02 E8 */ lfd f0, 0x2e8(r1) +/* 802B9A4C 002B69AC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802B9A50 002B69B0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802B9A54 002B69B4 EF 01 00 24 */ fdivs f24, f1, f0 +/* 802B9A58 002B69B8 48 0B F4 29 */ bl GXSetTexCopyDst +/* 802B9A5C 002B69BC 3C 60 43 30 */ lis r3, 0x4330 +/* 802B9A60 002B69C0 6D E4 80 00 */ xoris r4, r15, 0x8000 +/* 802B9A64 002B69C4 6E 20 80 00 */ xoris r0, r17, 0x8000 +/* 802B9A68 002B69C8 90 81 02 E4 */ stw r4, 0x2e4(r1) +/* 802B9A6C 002B69CC C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802B9A70 002B69D0 90 61 02 E0 */ stw r3, 0x2e0(r1) +/* 802B9A74 002B69D4 C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) +/* 802B9A78 002B69D8 C8 01 02 E0 */ lfd f0, 0x2e0(r1) +/* 802B9A7C 002B69DC 90 01 02 DC */ stw r0, 0x2dc(r1) +/* 802B9A80 002B69E0 EC 20 10 28 */ fsubs f1, f0, f2 +/* 802B9A84 002B69E4 90 61 02 D8 */ stw r3, 0x2d8(r1) +/* 802B9A88 002B69E8 C8 01 02 D8 */ lfd f0, 0x2d8(r1) +/* 802B9A8C 002B69EC EF 63 08 24 */ fdivs f27, f3, f1 +/* 802B9A90 002B69F0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802B9A94 002B69F4 EF 43 00 24 */ fdivs f26, f3, f0 +lbl_802B9A98: +/* 802B9A98 002B69F8 80 01 03 38 */ lwz r0, 0x338(r1) +/* 802B9A9C 002B69FC 56 04 04 3E */ clrlwi r4, r16, 0x10 +/* 802B9AA0 002B6A00 55 E5 04 3E */ clrlwi r5, r15, 0x10 +/* 802B9AA4 002B6A04 56 26 04 3E */ clrlwi r6, r17, 0x10 +/* 802B9AA8 002B6A08 7E 5E 02 14 */ add r18, r30, r0 +/* 802B9AAC 002B6A0C 56 43 04 3E */ clrlwi r3, r18, 0x10 +/* 802B9AB0 002B6A10 48 0B F3 05 */ bl GXSetTexCopySrc +/* 802B9AB4 002B6A14 80 C1 03 3C */ lwz r6, 0x33c(r1) +/* 802B9AB8 002B6A18 7E 43 93 78 */ mr r3, r18 +/* 802B9ABC 002B6A1C 7E 04 83 78 */ mr r4, r16 +/* 802B9AC0 002B6A20 7D E5 7B 78 */ mr r5, r15 +/* 802B9AC4 002B6A24 48 0C 2B A9 */ bl GXSetScissor +/* 802B9AC8 002B6A28 38 60 00 01 */ li r3, 1 +/* 802B9ACC 002B6A2C 38 80 00 03 */ li r4, 3 +/* 802B9AD0 002B6A30 38 A0 00 01 */ li r5, 1 +/* 802B9AD4 002B6A34 48 04 ED A9 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9AD8 002B6A38 38 60 00 01 */ li r3, 1 +/* 802B9ADC 002B6A3C 48 04 F1 B5 */ bl SetNumTevStages__3CGXFUc +/* 802B9AE0 002B6A40 38 60 00 01 */ li r3, 1 +/* 802B9AE4 002B6A44 48 04 F3 31 */ bl SetNumTexGens__3CGXFUc +/* 802B9AE8 002B6A48 38 60 00 00 */ li r3, 0 +/* 802B9AEC 002B6A4C 48 04 F3 65 */ bl SetNumChans__3CGXFUc +/* 802B9AF0 002B6A50 38 60 00 01 */ li r3, 1 +/* 802B9AF4 002B6A54 38 80 00 00 */ li r4, 0 +/* 802B9AF8 002B6A58 38 A0 00 01 */ li r5, 1 +/* 802B9AFC 002B6A5C 38 C0 00 00 */ li r6, 0 +/* 802B9B00 002B6A60 48 04 ED D1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B9B04 002B6A64 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B9B08 002B6A68 38 80 00 02 */ li r4, 2 +/* 802B9B0C 002B6A6C 38 A0 00 00 */ li r5, 0 +/* 802B9B10 002B6A70 38 63 01 B8 */ addi r3, r3, 0x1b8 +/* 802B9B14 002B6A74 48 05 5C 29 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B9B18 002B6A78 38 60 00 02 */ li r3, 2 +/* 802B9B1C 002B6A7C 48 0B F0 3D */ bl GXSetCullMode +/* 802B9B20 002B6A80 38 60 00 01 */ li r3, 1 +/* 802B9B24 002B6A84 38 80 00 FF */ li r4, 0xff +/* 802B9B28 002B6A88 48 0C 25 B9 */ bl GXSetDstAlpha +/* 802B9B2C 002B6A8C 7F 43 D3 78 */ mr r3, r26 +/* 802B9B30 002B6A90 7F 64 DB 78 */ mr r4, r27 +/* 802B9B34 002B6A94 7F E6 FB 78 */ mr r6, r31 +/* 802B9B38 002B6A98 7F 87 E3 78 */ mr r7, r28 +/* 802B9B3C 002B6A9C 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9B40 002B6AA0 48 00 12 DD */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9B44 002B6AA4 28 18 00 00 */ cmplwi r24, 0 +/* 802B9B48 002B6AA8 41 82 00 3C */ beq lbl_802B9B84 +/* 802B9B4C 002B6AAC 38 60 00 00 */ li r3, 0 +/* 802B9B50 002B6AB0 38 80 00 07 */ li r4, 7 +/* 802B9B54 002B6AB4 38 A0 00 00 */ li r5, 0 +/* 802B9B58 002B6AB8 48 04 ED 25 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9B5C 002B6ABC 7F 43 D3 78 */ mr r3, r26 +/* 802B9B60 002B6AC0 7F 64 DB 78 */ mr r4, r27 +/* 802B9B64 002B6AC4 7F E6 FB 78 */ mr r6, r31 +/* 802B9B68 002B6AC8 7F 87 E3 78 */ mr r7, r28 +/* 802B9B6C 002B6ACC 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9B70 002B6AD0 48 00 12 AD */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9B74 002B6AD4 38 60 00 01 */ li r3, 1 +/* 802B9B78 002B6AD8 38 80 00 03 */ li r4, 3 +/* 802B9B7C 002B6ADC 38 A0 00 01 */ li r5, 1 +/* 802B9B80 002B6AE0 48 04 EC FD */ bl SetZMode__3CGXFb10_GXCompareb +lbl_802B9B84: +/* 802B9B84 002B6AE4 38 60 00 01 */ li r3, 1 +/* 802B9B88 002B6AE8 38 80 00 00 */ li r4, 0 +/* 802B9B8C 002B6AEC 48 0C 25 55 */ bl GXSetDstAlpha +/* 802B9B90 002B6AF0 80 61 03 2C */ lwz r3, 0x32c(r1) +/* 802B9B94 002B6AF4 38 80 00 00 */ li r4, 0 +/* 802B9B98 002B6AF8 48 0B F9 9D */ bl GXCopyTex +/* 802B9B9C 002B6AFC 48 0B E9 C9 */ bl GXPixModeSync +/* 802B9BA0 002B6B00 80 C1 03 2C */ lwz r6, 0x32c(r1) +/* 802B9BA4 002B6B04 7D E3 7B 78 */ mr r3, r15 +/* 802B9BA8 002B6B08 7E 24 8B 78 */ mr r4, r17 +/* 802B9BAC 002B6B0C 38 A0 00 03 */ li r5, 3 +/* 802B9BB0 002B6B10 38 E0 00 00 */ li r7, 0 +/* 802B9BB4 002B6B14 48 05 04 6D */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B9BB8 002B6B18 38 60 00 01 */ li r3, 1 +/* 802B9BBC 002B6B1C 48 0B EF 9D */ bl GXSetCullMode +/* 802B9BC0 002B6B20 7F 43 D3 78 */ mr r3, r26 +/* 802B9BC4 002B6B24 7F 64 DB 78 */ mr r4, r27 +/* 802B9BC8 002B6B28 7F E6 FB 78 */ mr r6, r31 +/* 802B9BCC 002B6B2C 7F 87 E3 78 */ mr r7, r28 +/* 802B9BD0 002B6B30 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9BD4 002B6B34 48 00 12 49 */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9BD8 002B6B38 28 18 00 00 */ cmplwi r24, 0 +/* 802B9BDC 002B6B3C 41 82 00 3C */ beq lbl_802B9C18 +/* 802B9BE0 002B6B40 38 60 00 01 */ li r3, 1 +/* 802B9BE4 002B6B44 38 80 00 04 */ li r4, 4 +/* 802B9BE8 002B6B48 38 A0 00 00 */ li r5, 0 +/* 802B9BEC 002B6B4C 48 04 EC 91 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9BF0 002B6B50 7F 43 D3 78 */ mr r3, r26 +/* 802B9BF4 002B6B54 7F 64 DB 78 */ mr r4, r27 +/* 802B9BF8 002B6B58 7F E6 FB 78 */ mr r6, r31 +/* 802B9BFC 002B6B5C 7F 87 E3 78 */ mr r7, r28 +/* 802B9C00 002B6B60 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9C04 002B6B64 48 00 12 19 */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9C08 002B6B68 38 60 00 01 */ li r3, 1 +/* 802B9C0C 002B6B6C 38 80 00 03 */ li r4, 3 +/* 802B9C10 002B6B70 38 A0 00 01 */ li r5, 1 +/* 802B9C14 002B6B74 48 04 EC 69 */ bl SetZMode__3CGXFb10_GXCompareb +lbl_802B9C18: +/* 802B9C18 002B6B78 80 61 03 28 */ lwz r3, 0x328(r1) +/* 802B9C1C 002B6B7C 38 80 00 00 */ li r4, 0 +/* 802B9C20 002B6B80 48 0B F9 15 */ bl GXCopyTex +/* 802B9C24 002B6B84 48 0B E9 41 */ bl GXPixModeSync +/* 802B9C28 002B6B88 80 C1 03 28 */ lwz r6, 0x328(r1) +/* 802B9C2C 002B6B8C 7D E3 7B 78 */ mr r3, r15 +/* 802B9C30 002B6B90 7E 24 8B 78 */ mr r4, r17 +/* 802B9C34 002B6B94 38 A0 00 03 */ li r5, 3 +/* 802B9C38 002B6B98 38 E0 00 01 */ li r7, 1 +/* 802B9C3C 002B6B9C 48 05 03 E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B9C40 002B6BA0 38 60 00 00 */ li r3, 0 +/* 802B9C44 002B6BA4 38 80 00 0F */ li r4, 0xf +/* 802B9C48 002B6BA8 38 A0 00 0F */ li r5, 0xf +/* 802B9C4C 002B6BAC 38 C0 00 0F */ li r6, 0xf +/* 802B9C50 002B6BB0 38 E0 00 0E */ li r7, 0xe +/* 802B9C54 002B6BB4 48 04 EF 99 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B9C58 002B6BB8 38 60 00 00 */ li r3, 0 +/* 802B9C5C 002B6BBC 38 80 00 00 */ li r4, 0 +/* 802B9C60 002B6BC0 38 A0 00 00 */ li r5, 0 +/* 802B9C64 002B6BC4 38 C0 00 00 */ li r6, 0 +/* 802B9C68 002B6BC8 38 E0 00 01 */ li r7, 1 +/* 802B9C6C 002B6BCC 39 00 00 00 */ li r8, 0 +/* 802B9C70 002B6BD0 48 04 EE C9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9C74 002B6BD4 38 60 00 00 */ li r3, 0 +/* 802B9C78 002B6BD8 38 80 00 0C */ li r4, 0xc +/* 802B9C7C 002B6BDC 48 04 ED 65 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B9C80 002B6BE0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 802B9C84 002B6BE4 38 60 00 00 */ li r3, 0 +/* 802B9C88 002B6BE8 48 04 EF BD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B9C8C 002B6BEC 48 0C 0B B5 */ bl GXInvalidateTexAll +/* 802B9C90 002B6BF0 38 60 00 00 */ li r3, 0 +/* 802B9C94 002B6BF4 38 80 00 00 */ li r4, 0 +/* 802B9C98 002B6BF8 38 A0 00 04 */ li r5, 4 +/* 802B9C9C 002B6BFC 38 C0 00 3C */ li r6, 0x3c +/* 802B9CA0 002B6C00 38 E0 00 00 */ li r7, 0 +/* 802B9CA4 002B6C04 39 00 00 7D */ li r8, 0x7d +/* 802B9CA8 002B6C08 48 04 EA 25 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B9CAC 002B6C0C 38 60 00 01 */ li r3, 1 +/* 802B9CB0 002B6C10 38 80 00 01 */ li r4, 1 +/* 802B9CB4 002B6C14 38 A0 00 00 */ li r5, 0 +/* 802B9CB8 002B6C18 38 C0 00 1E */ li r6, 0x1e +/* 802B9CBC 002B6C1C 38 E0 00 00 */ li r7, 0 +/* 802B9CC0 002B6C20 39 00 00 7D */ li r8, 0x7d +/* 802B9CC4 002B6C24 48 04 EA 09 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B9CC8 002B6C28 38 60 00 02 */ li r3, 2 +/* 802B9CCC 002B6C2C 48 04 F1 49 */ bl SetNumTexGens__3CGXFUc +/* 802B9CD0 002B6C30 38 60 00 00 */ li r3, 0 +/* 802B9CD4 002B6C34 48 04 F1 7D */ bl SetNumChans__3CGXFUc +/* 802B9CD8 002B6C38 48 05 01 85 */ bl GetProjectionState__9CGraphicsFv +/* 802B9CDC 002B6C3C 88 03 00 00 */ lbz r0, 0(r3) +/* 802B9CE0 002B6C40 98 01 00 EC */ stb r0, 0xec(r1) +/* 802B9CE4 002B6C44 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B9CE8 002B6C48 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 802B9CEC 002B6C4C C0 03 00 08 */ lfs f0, 8(r3) +/* 802B9CF0 002B6C50 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 802B9CF4 002B6C54 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802B9CF8 002B6C58 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 802B9CFC 002B6C5C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802B9D00 002B6C60 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 802B9D04 002B6C64 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802B9D08 002B6C68 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 802B9D0C 002B6C6C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802B9D10 002B6C70 80 61 03 40 */ lwz r3, 0x340(r1) +/* 802B9D14 002B6C74 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802B9D18 002B6C78 38 63 01 7C */ addi r3, r3, 0x17c +/* 802B9D1C 002B6C7C 48 04 E1 0D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B9D20 002B6C80 80 81 03 48 */ lwz r4, 0x348(r1) +/* 802B9D24 002B6C84 38 61 01 80 */ addi r3, r1, 0x180 +/* 802B9D28 002B6C88 48 05 8E 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B9D2C 002B6C8C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802B9D30 002B6C90 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802B9D34 002B6C94 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802B9D38 002B6C98 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B9D3C 002B6C9C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B9D40 002B6CA0 90 61 03 04 */ stw r3, 0x304(r1) +/* 802B9D44 002B6CA4 FC 60 08 90 */ fmr f3, f1 +/* 802B9D48 002B6CA8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802B9D4C 002B6CAC 92 61 03 00 */ stw r19, 0x300(r1) +/* 802B9D50 002B6CB0 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802B9D54 002B6CB4 C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802B9D58 002B6CB8 90 01 02 FC */ stw r0, 0x2fc(r1) +/* 802B9D5C 002B6CBC EC 40 F0 28 */ fsubs f2, f0, f30 +/* 802B9D60 002B6CC0 92 61 02 F8 */ stw r19, 0x2f8(r1) +/* 802B9D64 002B6CC4 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B9D68 002B6CC8 EC 80 F0 28 */ fsubs f4, f0, f30 +/* 802B9D6C 002B6CCC 48 05 27 E9 */ bl SetOrtho__9CGraphicsFffffff +/* 802B9D70 002B6CD0 7D C3 73 78 */ mr r3, r14 +/* 802B9D74 002B6CD4 48 05 29 D9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B9D78 002B6CD8 7D C3 73 78 */ mr r3, r14 +/* 802B9D7C 002B6CDC 48 05 28 65 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B9D80 002B6CE0 38 60 00 00 */ li r3, 0 +/* 802B9D84 002B6CE4 38 80 00 07 */ li r4, 7 +/* 802B9D88 002B6CE8 38 A0 00 00 */ li r5, 0 +/* 802B9D8C 002B6CEC 48 04 EA F1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9D90 002B6CF0 38 60 00 00 */ li r3, 0 +/* 802B9D94 002B6CF4 48 0B ED C5 */ bl GXSetCullMode +/* 802B9D98 002B6CF8 38 60 00 00 */ li r3, 0 +/* 802B9D9C 002B6CFC 48 0C 21 91 */ bl GXSetAlphaUpdate +/* 802B9DA0 002B6D00 EF BA C0 2A */ fadds f29, f26, f24 +/* 802B9DA4 002B6D04 7C 1E 7A 14 */ add r0, r30, r15 +/* 802B9DA8 002B6D08 EF 9B C8 2A */ fadds f28, f27, f25 +/* 802B9DAC 002B6D0C 6F D2 80 00 */ xoris r18, r30, 0x8000 +/* 802B9DB0 002B6D10 6C 17 80 00 */ xoris r23, r0, 0x8000 +/* 802B9DB4 002B6D14 3B A0 00 00 */ li r29, 0 +/* 802B9DB8 002B6D18 48 00 03 44 */ b lbl_802BA0FC +lbl_802B9DBC: +/* 802B9DBC 002B6D1C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802B9DC0 002B6D20 40 82 01 7C */ bne lbl_802B9F3C +/* 802B9DC4 002B6D24 38 00 00 00 */ li r0, 0 +/* 802B9DC8 002B6D28 38 60 00 00 */ li r3, 0 +/* 802B9DCC 002B6D2C 90 01 00 08 */ stw r0, 8(r1) +/* 802B9DD0 002B6D30 38 80 00 00 */ li r4, 0 +/* 802B9DD4 002B6D34 38 A0 00 00 */ li r5, 0 +/* 802B9DD8 002B6D38 38 C0 00 00 */ li r6, 0 +/* 802B9DDC 002B6D3C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B9DE0 002B6D40 38 E0 00 01 */ li r7, 1 +/* 802B9DE4 002B6D44 39 00 00 00 */ li r8, 0 +/* 802B9DE8 002B6D48 39 20 00 00 */ li r9, 0 +/* 802B9DEC 002B6D4C 39 40 00 00 */ li r10, 0 +/* 802B9DF0 002B6D50 48 04 E9 9D */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802B9DF4 002B6D54 38 00 00 00 */ li r0, 0 +/* 802B9DF8 002B6D58 38 60 00 01 */ li r3, 1 +/* 802B9DFC 002B6D5C 90 01 00 08 */ stw r0, 8(r1) +/* 802B9E00 002B6D60 38 80 00 01 */ li r4, 1 +/* 802B9E04 002B6D64 38 A0 00 00 */ li r5, 0 +/* 802B9E08 002B6D68 38 C0 00 00 */ li r6, 0 +/* 802B9E0C 002B6D6C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B9E10 002B6D70 38 E0 00 01 */ li r7, 1 +/* 802B9E14 002B6D74 39 00 00 00 */ li r8, 0 +/* 802B9E18 002B6D78 39 20 00 00 */ li r9, 0 +/* 802B9E1C 002B6D7C 39 40 00 00 */ li r10, 0 +/* 802B9E20 002B6D80 48 04 E9 6D */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802B9E24 002B6D84 38 60 00 00 */ li r3, 0 +/* 802B9E28 002B6D88 38 80 00 00 */ li r4, 0 +/* 802B9E2C 002B6D8C 38 A0 00 01 */ li r5, 1 +/* 802B9E30 002B6D90 48 0C 13 75 */ bl GXSetIndTexOrder +/* 802B9E34 002B6D94 38 60 00 01 */ li r3, 1 +/* 802B9E38 002B6D98 38 80 00 00 */ li r4, 0 +/* 802B9E3C 002B6D9C 38 A0 00 00 */ li r5, 0 +/* 802B9E40 002B6DA0 48 0C 13 65 */ bl GXSetIndTexOrder +/* 802B9E44 002B6DA4 38 60 00 00 */ li r3, 0 +/* 802B9E48 002B6DA8 38 80 00 07 */ li r4, 7 +/* 802B9E4C 002B6DAC 38 A0 00 07 */ li r5, 7 +/* 802B9E50 002B6DB0 38 C0 00 07 */ li r6, 7 +/* 802B9E54 002B6DB4 38 E0 00 04 */ li r7, 4 +/* 802B9E58 002B6DB8 48 04 ED 3D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9E5C 002B6DBC 38 60 00 00 */ li r3, 0 +/* 802B9E60 002B6DC0 38 80 00 00 */ li r4, 0 +/* 802B9E64 002B6DC4 38 A0 00 00 */ li r5, 0 +/* 802B9E68 002B6DC8 38 C0 00 00 */ li r6, 0 +/* 802B9E6C 002B6DCC 38 E0 00 01 */ li r7, 1 +/* 802B9E70 002B6DD0 39 00 00 00 */ li r8, 0 +/* 802B9E74 002B6DD4 48 04 EC 0D */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9E78 002B6DD8 38 60 00 00 */ li r3, 0 +/* 802B9E7C 002B6DDC 38 80 00 01 */ li r4, 1 +/* 802B9E80 002B6DE0 38 A0 00 02 */ li r5, 2 +/* 802B9E84 002B6DE4 38 C0 00 FF */ li r6, 0xff +/* 802B9E88 002B6DE8 48 04 EA C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9E8C 002B6DEC 38 60 00 01 */ li r3, 1 +/* 802B9E90 002B6DF0 38 80 00 07 */ li r4, 7 +/* 802B9E94 002B6DF4 38 A0 00 06 */ li r5, 6 +/* 802B9E98 002B6DF8 38 C0 00 00 */ li r6, 0 +/* 802B9E9C 002B6DFC 38 E0 00 04 */ li r7, 4 +/* 802B9EA0 002B6E00 48 04 EC F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9EA4 002B6E04 38 60 00 01 */ li r3, 1 +/* 802B9EA8 002B6E08 38 80 00 01 */ li r4, 1 +/* 802B9EAC 002B6E0C 38 A0 00 00 */ li r5, 0 +/* 802B9EB0 002B6E10 38 C0 00 01 */ li r6, 1 +/* 802B9EB4 002B6E14 38 E0 00 01 */ li r7, 1 +/* 802B9EB8 002B6E18 39 00 00 00 */ li r8, 0 +/* 802B9EBC 002B6E1C 48 04 EB C5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9EC0 002B6E20 38 60 00 01 */ li r3, 1 +/* 802B9EC4 002B6E24 38 80 00 01 */ li r4, 1 +/* 802B9EC8 002B6E28 38 A0 00 02 */ li r5, 2 +/* 802B9ECC 002B6E2C 38 C0 00 FF */ li r6, 0xff +/* 802B9ED0 002B6E30 48 04 EA 7D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9ED4 002B6E34 38 60 00 01 */ li r3, 1 +/* 802B9ED8 002B6E38 38 80 00 00 */ li r4, 0 +/* 802B9EDC 002B6E3C 48 04 EA C1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B9EE0 002B6E40 38 60 00 01 */ li r3, 1 +/* 802B9EE4 002B6E44 38 80 00 0F */ li r4, 0xf +/* 802B9EE8 002B6E48 38 A0 00 0F */ li r5, 0xf +/* 802B9EEC 002B6E4C 38 C0 00 0F */ li r6, 0xf +/* 802B9EF0 002B6E50 38 E0 00 00 */ li r7, 0 +/* 802B9EF4 002B6E54 48 04 EC F9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B9EF8 002B6E58 38 60 00 01 */ li r3, 1 +/* 802B9EFC 002B6E5C 38 80 00 00 */ li r4, 0 +/* 802B9F00 002B6E60 38 A0 00 00 */ li r5, 0 +/* 802B9F04 002B6E64 38 C0 00 00 */ li r6, 0 +/* 802B9F08 002B6E68 38 E0 00 01 */ li r7, 1 +/* 802B9F0C 002B6E6C 39 00 00 00 */ li r8, 0 +/* 802B9F10 002B6E70 48 04 EC 29 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9F14 002B6E74 38 60 00 02 */ li r3, 2 +/* 802B9F18 002B6E78 48 04 E7 79 */ bl SetNumIndStages__3CGXFUc +/* 802B9F1C 002B6E7C 38 60 00 02 */ li r3, 2 +/* 802B9F20 002B6E80 48 04 ED 71 */ bl SetNumTevStages__3CGXFUc +/* 802B9F24 002B6E84 38 60 00 01 */ li r3, 1 +/* 802B9F28 002B6E88 38 80 00 04 */ li r4, 4 +/* 802B9F2C 002B6E8C 38 A0 00 01 */ li r5, 1 +/* 802B9F30 002B6E90 38 C0 00 00 */ li r6, 0 +/* 802B9F34 002B6E94 48 04 E9 9D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B9F38 002B6E98 48 00 00 DC */ b lbl_802BA014 +lbl_802B9F3C: +/* 802B9F3C 002B6E9C 2C 1D 00 01 */ cmpwi r29, 1 +/* 802B9F40 002B6EA0 40 82 00 D4 */ bne lbl_802BA014 +/* 802B9F44 002B6EA4 38 60 00 01 */ li r3, 1 +/* 802B9F48 002B6EA8 48 04 E7 FD */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802B9F4C 002B6EAC 38 60 00 00 */ li r3, 0 +/* 802B9F50 002B6EB0 38 80 00 00 */ li r4, 0 +/* 802B9F54 002B6EB4 38 A0 00 00 */ li r5, 0 +/* 802B9F58 002B6EB8 48 0C 12 4D */ bl GXSetIndTexOrder +/* 802B9F5C 002B6EBC 38 60 00 00 */ li r3, 0 +/* 802B9F60 002B6EC0 38 80 00 07 */ li r4, 7 +/* 802B9F64 002B6EC4 38 A0 00 07 */ li r5, 7 +/* 802B9F68 002B6EC8 38 C0 00 07 */ li r6, 7 +/* 802B9F6C 002B6ECC 38 E0 00 04 */ li r7, 4 +/* 802B9F70 002B6ED0 48 04 EC 25 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9F74 002B6ED4 38 60 00 00 */ li r3, 0 +/* 802B9F78 002B6ED8 38 80 00 00 */ li r4, 0 +/* 802B9F7C 002B6EDC 38 A0 00 00 */ li r5, 0 +/* 802B9F80 002B6EE0 38 C0 00 01 */ li r6, 1 +/* 802B9F84 002B6EE4 38 E0 00 01 */ li r7, 1 +/* 802B9F88 002B6EE8 39 00 00 00 */ li r8, 0 +/* 802B9F8C 002B6EEC 48 04 EA F5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9F90 002B6EF0 38 60 00 00 */ li r3, 0 +/* 802B9F94 002B6EF4 38 80 00 01 */ li r4, 1 +/* 802B9F98 002B6EF8 38 A0 00 02 */ li r5, 2 +/* 802B9F9C 002B6EFC 38 C0 00 FF */ li r6, 0xff +/* 802B9FA0 002B6F00 48 04 E9 AD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9FA4 002B6F04 38 60 00 01 */ li r3, 1 +/* 802B9FA8 002B6F08 38 80 00 0F */ li r4, 0xf +/* 802B9FAC 002B6F0C 38 A0 00 01 */ li r5, 1 +/* 802B9FB0 002B6F10 38 C0 00 00 */ li r6, 0 +/* 802B9FB4 002B6F14 38 E0 00 0F */ li r7, 0xf +/* 802B9FB8 002B6F18 48 04 EC 35 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B9FBC 002B6F1C 38 60 00 01 */ li r3, 1 +/* 802B9FC0 002B6F20 38 80 00 01 */ li r4, 1 +/* 802B9FC4 002B6F24 38 A0 00 02 */ li r5, 2 +/* 802B9FC8 002B6F28 38 C0 00 FF */ li r6, 0xff +/* 802B9FCC 002B6F2C 48 04 E9 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9FD0 002B6F30 38 60 00 01 */ li r3, 1 +/* 802B9FD4 002B6F34 38 80 00 07 */ li r4, 7 +/* 802B9FD8 002B6F38 38 A0 00 07 */ li r5, 7 +/* 802B9FDC 002B6F3C 38 C0 00 07 */ li r6, 7 +/* 802B9FE0 002B6F40 38 E0 00 00 */ li r7, 0 +/* 802B9FE4 002B6F44 48 04 EB B1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9FE8 002B6F48 38 60 00 01 */ li r3, 1 +/* 802B9FEC 002B6F4C 48 04 DC 65 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B9FF0 002B6F50 38 60 00 01 */ li r3, 1 +/* 802B9FF4 002B6F54 48 04 E6 9D */ bl SetNumIndStages__3CGXFUc +/* 802B9FF8 002B6F58 38 60 00 02 */ li r3, 2 +/* 802B9FFC 002B6F5C 48 04 EC 95 */ bl SetNumTevStages__3CGXFUc +/* 802BA000 002B6F60 38 60 00 01 */ li r3, 1 +/* 802BA004 002B6F64 38 80 00 06 */ li r4, 6 +/* 802BA008 002B6F68 38 A0 00 01 */ li r5, 1 +/* 802BA00C 002B6F6C 38 C0 00 00 */ li r6, 0 +/* 802BA010 002B6F70 48 04 E8 C1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +lbl_802BA014: +/* 802BA014 002B6F74 38 60 00 A0 */ li r3, 0xa0 +/* 802BA018 002B6F78 38 80 00 00 */ li r4, 0 +/* 802BA01C 002B6F7C 38 A0 00 04 */ li r5, 4 +/* 802BA020 002B6F80 48 04 E5 65 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BA024 002B6F84 92 41 03 04 */ stw r18, 0x304(r1) +/* 802BA028 002B6F88 92 61 03 00 */ stw r19, 0x300(r1) +/* 802BA02C 002B6F8C C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802BA030 002B6F90 92 A1 02 FC */ stw r21, 0x2fc(r1) +/* 802BA034 002B6F94 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA038 002B6F98 92 61 02 F8 */ stw r19, 0x2f8(r1) +/* 802BA03C 002B6F9C C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802BA040 002B6FA0 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA044 002B6FA4 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA048 002B6FA8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA04C 002B6FAC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA050 002B6FB0 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 802BA054 002B6FB4 92 41 02 F4 */ stw r18, 0x2f4(r1) +/* 802BA058 002B6FB8 92 61 02 F0 */ stw r19, 0x2f0(r1) +/* 802BA05C 002B6FBC C8 01 02 F0 */ lfd f0, 0x2f0(r1) +/* 802BA060 002B6FC0 92 C1 02 EC */ stw r22, 0x2ec(r1) +/* 802BA064 002B6FC4 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA068 002B6FC8 92 61 02 E8 */ stw r19, 0x2e8(r1) +/* 802BA06C 002B6FCC D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 802BA070 002B6FD0 C8 01 02 E8 */ lfd f0, 0x2e8(r1) +/* 802BA074 002B6FD4 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA078 002B6FD8 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA07C 002B6FDC D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA080 002B6FE0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA084 002B6FE4 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 802BA088 002B6FE8 92 E1 02 E4 */ stw r23, 0x2e4(r1) +/* 802BA08C 002B6FEC 92 61 02 E0 */ stw r19, 0x2e0(r1) +/* 802BA090 002B6FF0 C8 01 02 E0 */ lfd f0, 0x2e0(r1) +/* 802BA094 002B6FF4 92 C1 02 DC */ stw r22, 0x2dc(r1) +/* 802BA098 002B6FF8 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA09C 002B6FFC 92 61 02 D8 */ stw r19, 0x2d8(r1) +/* 802BA0A0 002B7000 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 802BA0A4 002B7004 C8 01 02 D8 */ lfd f0, 0x2d8(r1) +/* 802BA0A8 002B7008 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA0AC 002B700C EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA0B0 002B7010 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA0B4 002B7014 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA0B8 002B7018 D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 802BA0BC 002B701C 92 E1 03 0C */ stw r23, 0x30c(r1) +/* 802BA0C0 002B7020 92 61 03 08 */ stw r19, 0x308(r1) +/* 802BA0C4 002B7024 C8 01 03 08 */ lfd f0, 0x308(r1) +/* 802BA0C8 002B7028 92 A1 03 14 */ stw r21, 0x314(r1) +/* 802BA0CC 002B702C EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA0D0 002B7030 92 61 03 10 */ stw r19, 0x310(r1) +/* 802BA0D4 002B7034 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 802BA0D8 002B7038 C8 01 03 10 */ lfd f0, 0x310(r1) +/* 802BA0DC 002B703C D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA0E0 002B7040 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA0E4 002B7044 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA0E8 002B7048 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA0EC 002B704C D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 802BA0F0 002B7050 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 802BA0F4 002B7054 48 04 E4 8D */ bl End__3CGXFv +/* 802BA0F8 002B7058 3B BD 00 01 */ addi r29, r29, 1 +lbl_802BA0FC: +/* 802BA0FC 002B705C 7C 1D C8 00 */ cmpw r29, r25 +/* 802BA100 002B7060 41 80 FC BC */ blt lbl_802B9DBC +/* 802BA104 002B7064 38 60 00 01 */ li r3, 1 +/* 802BA108 002B7068 48 0C 1E 25 */ bl GXSetAlphaUpdate +/* 802BA10C 002B706C 38 61 01 80 */ addi r3, r1, 0x180 +/* 802BA110 002B7070 48 05 26 3D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BA114 002B7074 38 60 00 00 */ li r3, 0 +/* 802BA118 002B7078 48 04 E5 79 */ bl SetNumIndStages__3CGXFUc +/* 802BA11C 002B707C 38 60 00 00 */ li r3, 0 +/* 802BA120 002B7080 48 04 E6 25 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BA124 002B7084 38 60 00 01 */ li r3, 1 +/* 802BA128 002B7088 48 04 E6 1D */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BA12C 002B708C 38 60 00 01 */ li r3, 1 +/* 802BA130 002B7090 48 0B EA 29 */ bl GXSetCullMode +/* 802BA134 002B7094 38 61 00 EC */ addi r3, r1, 0xec +/* 802BA138 002B7098 48 04 FC C9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BA13C 002B709C 38 60 00 01 */ li r3, 1 +/* 802BA140 002B70A0 38 80 00 01 */ li r4, 1 +/* 802BA144 002B70A4 38 A0 00 00 */ li r5, 0 +/* 802BA148 002B70A8 38 C0 00 00 */ li r6, 0 +/* 802BA14C 002B70AC 48 04 E7 85 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BA150 002B70B0 7F DE 7A 14 */ add r30, r30, r15 +lbl_802BA154: +/* 802BA154 002B70B4 80 01 03 20 */ lwz r0, 0x320(r1) +/* 802BA158 002B70B8 7C 1E 00 00 */ cmpw r30, r0 +/* 802BA15C 002B70BC 41 80 F8 54 */ blt lbl_802B99B0 +/* 802BA160 002B70C0 80 01 03 18 */ lwz r0, 0x318(r1) +/* 802BA164 002B70C4 7C 00 8A 14 */ add r0, r0, r17 +/* 802BA168 002B70C8 90 01 03 18 */ stw r0, 0x318(r1) +lbl_802BA16C: +/* 802BA16C 002B70CC 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802BA170 002B70D0 80 01 03 1C */ lwz r0, 0x31c(r1) +/* 802BA174 002B70D4 7C 03 00 00 */ cmpw r3, r0 +/* 802BA178 002B70D8 41 80 F7 D8 */ blt lbl_802B9950 +/* 802BA17C 002B70DC 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802BA180 002B70E0 80 61 03 38 */ lwz r3, 0x338(r1) +/* 802BA184 002B70E4 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802BA188 002B70E8 80 81 03 34 */ lwz r4, 0x334(r1) +/* 802BA18C 002B70EC 48 0C 24 E1 */ bl GXSetScissor +/* 802BA190 002B70F0 80 01 03 44 */ lwz r0, 0x344(r1) +/* 802BA194 002B70F4 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 802BA198 002B70F8 48 04 F6 75 */ bl SetUseVideoFilter__9CGraphicsFb +/* 802BA19C 002B70FC 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 802BA1A0 002B7100 38 60 00 00 */ li r3, 0 +/* 802BA1A4 002B7104 2C 05 00 00 */ cmpwi r5, 0 +/* 802BA1A8 002B7108 40 81 00 40 */ ble lbl_802BA1E8 +/* 802BA1AC 002B710C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BA1B0 002B7110 38 85 FF F8 */ addi r4, r5, -8 +/* 802BA1B4 002B7114 40 81 00 20 */ ble lbl_802BA1D4 +/* 802BA1B8 002B7118 38 04 00 07 */ addi r0, r4, 7 +/* 802BA1BC 002B711C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BA1C0 002B7120 7C 09 03 A6 */ mtctr r0 +/* 802BA1C4 002B7124 2C 04 00 00 */ cmpwi r4, 0 +/* 802BA1C8 002B7128 40 81 00 0C */ ble lbl_802BA1D4 +lbl_802BA1CC: +/* 802BA1CC 002B712C 38 63 00 08 */ addi r3, r3, 8 +/* 802BA1D0 002B7130 42 00 FF FC */ bdnz lbl_802BA1CC +lbl_802BA1D4: +/* 802BA1D4 002B7134 7C 03 28 50 */ subf r0, r3, r5 +/* 802BA1D8 002B7138 7C 09 03 A6 */ mtctr r0 +/* 802BA1DC 002B713C 7C 03 28 00 */ cmpw r3, r5 +/* 802BA1E0 002B7140 40 80 00 08 */ bge lbl_802BA1E8 +lbl_802BA1E4: +/* 802BA1E4 002B7144 42 00 00 00 */ bdnz lbl_802BA1E4 +lbl_802BA1E8: +/* 802BA1E8 002B7148 80 A1 02 74 */ lwz r5, 0x274(r1) +/* 802BA1EC 002B714C 38 60 00 00 */ li r3, 0 +/* 802BA1F0 002B7150 90 61 01 B0 */ stw r3, 0x1b0(r1) +/* 802BA1F4 002B7154 2C 05 00 00 */ cmpwi r5, 0 +/* 802BA1F8 002B7158 40 81 00 40 */ ble lbl_802BA238 +/* 802BA1FC 002B715C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BA200 002B7160 38 85 FF F8 */ addi r4, r5, -8 +/* 802BA204 002B7164 40 81 00 20 */ ble lbl_802BA224 +/* 802BA208 002B7168 38 04 00 07 */ addi r0, r4, 7 +/* 802BA20C 002B716C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BA210 002B7170 7C 09 03 A6 */ mtctr r0 +/* 802BA214 002B7174 2C 04 00 00 */ cmpwi r4, 0 +/* 802BA218 002B7178 40 81 00 0C */ ble lbl_802BA224 +lbl_802BA21C: +/* 802BA21C 002B717C 38 63 00 08 */ addi r3, r3, 8 +/* 802BA220 002B7180 42 00 FF FC */ bdnz lbl_802BA21C +lbl_802BA224: +/* 802BA224 002B7184 7C 03 28 50 */ subf r0, r3, r5 +/* 802BA228 002B7188 7C 09 03 A6 */ mtctr r0 +/* 802BA22C 002B718C 7C 03 28 00 */ cmpw r3, r5 +/* 802BA230 002B7190 40 80 00 08 */ bge lbl_802BA238 +lbl_802BA234: +/* 802BA234 002B7194 42 00 00 00 */ bdnz lbl_802BA234 +lbl_802BA238: +/* 802BA238 002B7198 38 00 00 00 */ li r0, 0 +/* 802BA23C 002B719C 90 01 02 74 */ stw r0, 0x274(r1) +lbl_802BA240: +/* 802BA240 002B71A0 E3 E1 04 18 */ psq_l f31, 1048(r1), 0, qr0 +/* 802BA244 002B71A4 CB E1 04 10 */ lfd f31, 0x410(r1) +/* 802BA248 002B71A8 E3 C1 04 08 */ psq_l f30, 1032(r1), 0, qr0 +/* 802BA24C 002B71AC CB C1 04 00 */ lfd f30, 0x400(r1) +/* 802BA250 002B71B0 E3 A1 03 F8 */ psq_l f29, 1016(r1), 0, qr0 +/* 802BA254 002B71B4 CB A1 03 F0 */ lfd f29, 0x3f0(r1) +/* 802BA258 002B71B8 E3 81 03 E8 */ psq_l f28, 1000(r1), 0, qr0 +/* 802BA25C 002B71BC CB 81 03 E0 */ lfd f28, 0x3e0(r1) +/* 802BA260 002B71C0 E3 61 03 D8 */ psq_l f27, 984(r1), 0, qr0 +/* 802BA264 002B71C4 CB 61 03 D0 */ lfd f27, 0x3d0(r1) +/* 802BA268 002B71C8 E3 41 03 C8 */ psq_l f26, 968(r1), 0, qr0 +/* 802BA26C 002B71CC CB 41 03 C0 */ lfd f26, 0x3c0(r1) +/* 802BA270 002B71D0 E3 21 03 B8 */ psq_l f25, 952(r1), 0, qr0 +/* 802BA274 002B71D4 CB 21 03 B0 */ lfd f25, 0x3b0(r1) +/* 802BA278 002B71D8 E3 01 03 A8 */ psq_l f24, 936(r1), 0, qr0 +/* 802BA27C 002B71DC CB 01 03 A0 */ lfd f24, 0x3a0(r1) +/* 802BA280 002B71E0 B9 C1 03 58 */ lmw r14, 0x358(r1) +/* 802BA284 002B71E4 80 01 04 24 */ lwz r0, 0x424(r1) +/* 802BA288 002B71E8 7C 08 03 A6 */ mtlr r0 +/* 802BA28C 002B71EC 38 21 04 20 */ addi r1, r1, 0x420 +/* 802BA290 002B71F0 4E 80 00 20 */ blr + +.global "RenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" +"RenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel": +/* 802BA294 002B71F4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802BA298 002B71F8 7C 08 02 A6 */ mflr r0 +/* 802BA29C 002B71FC 7C C9 33 78 */ mr r9, r6 +/* 802BA2A0 002B7200 7C E8 3B 78 */ mr r8, r7 +/* 802BA2A4 002B7204 90 01 00 84 */ stw r0, 0x84(r1) +/* 802BA2A8 002B7208 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802BA2AC 002B720C 7C 7F 1B 78 */ mr r31, r3 +/* 802BA2B0 002B7210 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BA2B4 002B7214 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802BA2B8 002B7218 40 82 00 64 */ bne lbl_802BA31C +/* 802BA2BC 002B721C 80 04 00 00 */ lwz r0, 0(r4) +/* 802BA2C0 002B7220 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 802BA2C4 002B7224 38 83 62 04 */ addi r4, r3, lbl_805A6204@l +/* 802BA2C8 002B7228 7C A6 2B 78 */ mr r6, r5 +/* 802BA2CC 002B722C 90 01 00 08 */ stw r0, 8(r1) +/* 802BA2D0 002B7230 7D 27 4B 78 */ mr r7, r9 +/* 802BA2D4 002B7234 38 61 00 0C */ addi r3, r1, 0xc +/* 802BA2D8 002B7238 38 A1 00 08 */ addi r5, r1, 8 +/* 802BA2DC 002B723C 4B FF E4 E9 */ bl "__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" +/* 802BA2E0 002B7240 38 7F 02 AC */ addi r3, r31, 0x2ac +/* 802BA2E4 002B7244 38 81 00 0C */ addi r4, r1, 0xc +/* 802BA2E8 002B7248 48 00 00 49 */ bl "push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem" +/* 802BA2EC 002B724C 34 61 00 58 */ addic. r3, r1, 0x58 +/* 802BA2F0 002B7250 41 82 00 2C */ beq lbl_802BA31C +/* 802BA2F4 002B7254 88 01 00 64 */ lbz r0, 0x64(r1) +/* 802BA2F8 002B7258 28 00 00 00 */ cmplwi r0, 0 +/* 802BA2FC 002B725C 41 82 00 18 */ beq lbl_802BA314 +/* 802BA300 002B7260 28 03 00 00 */ cmplwi r3, 0 +/* 802BA304 002B7264 41 82 00 10 */ beq lbl_802BA314 +/* 802BA308 002B7268 41 82 00 0C */ beq lbl_802BA314 +/* 802BA30C 002B726C 38 80 00 00 */ li r4, 0 +/* 802BA310 002B7270 48 08 6B 31 */ bl __dt__6CTokenFv +lbl_802BA314: +/* 802BA314 002B7274 38 00 00 00 */ li r0, 0 +/* 802BA318 002B7278 98 01 00 64 */ stb r0, 0x64(r1) +lbl_802BA31C: +/* 802BA31C 002B727C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802BA320 002B7280 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802BA324 002B7284 7C 08 03 A6 */ mtlr r0 +/* 802BA328 002B7288 38 21 00 80 */ addi r1, r1, 0x80 +/* 802BA32C 002B728C 4E 80 00 20 */ blr + +.global "push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem" +"push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem": +/* 802BA330 002B7290 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BA334 002B7294 7C 08 02 A6 */ mflr r0 +/* 802BA338 002B7298 7C 85 23 78 */ mr r5, r4 +/* 802BA33C 002B729C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BA340 002B72A0 80 83 00 08 */ lwz r4, 8(r3) +/* 802BA344 002B72A4 48 00 00 15 */ bl "do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem" +/* 802BA348 002B72A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BA34C 002B72AC 7C 08 03 A6 */ mtlr r0 +/* 802BA350 002B72B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BA354 002B72B4 4E 80 00 20 */ blr + +.global "do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem" +"do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem": +/* 802BA358 002B72B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BA35C 002B72BC 7C 08 02 A6 */ mflr r0 +/* 802BA360 002B72C0 7C A6 2B 78 */ mr r6, r5 +/* 802BA364 002B72C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BA368 002B72C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BA36C 002B72CC 7C 9F 23 78 */ mr r31, r4 +/* 802BA370 002B72D0 7F E5 FB 78 */ mr r5, r31 +/* 802BA374 002B72D4 93 C1 00 08 */ stw r30, 8(r1) +/* 802BA378 002B72D8 7C 7E 1B 78 */ mr r30, r3 +/* 802BA37C 002B72DC 80 84 00 00 */ lwz r4, 0(r4) +/* 802BA380 002B72E0 48 00 00 49 */ bl __ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem +/* 802BA384 002B72E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BA388 002B72E8 7C 1F 00 40 */ cmplw r31, r0 +/* 802BA38C 002B72EC 40 82 00 08 */ bne lbl_802BA394 +/* 802BA390 002B72F0 90 7E 00 04 */ stw r3, 4(r30) +lbl_802BA394: +/* 802BA394 002B72F4 80 83 00 00 */ lwz r4, 0(r3) +/* 802BA398 002B72F8 90 64 00 04 */ stw r3, 4(r4) +/* 802BA39C 002B72FC 80 83 00 04 */ lwz r4, 4(r3) +/* 802BA3A0 002B7300 90 64 00 00 */ stw r3, 0(r4) +/* 802BA3A4 002B7304 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802BA3A8 002B7308 38 04 00 01 */ addi r0, r4, 1 +/* 802BA3AC 002B730C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802BA3B0 002B7310 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BA3B4 002B7314 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BA3B8 002B7318 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BA3BC 002B731C 7C 08 03 A6 */ mtlr r0 +/* 802BA3C0 002B7320 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BA3C4 002B7324 4E 80 00 20 */ blr + +.global __ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem +__ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem: +/* 802BA3C8 002B7328 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BA3CC 002B732C 7C 08 02 A6 */ mflr r0 +/* 802BA3D0 002B7330 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BA3D4 002B7334 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BA3D8 002B7338 38 03 68 5C */ addi r0, r3, lbl_803D685C@l +/* 802BA3DC 002B733C 38 60 00 68 */ li r3, 0x68 +/* 802BA3E0 002B7340 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802BA3E4 002B7344 7C BD 2B 78 */ mr r29, r5 +/* 802BA3E8 002B7348 7C 9E 23 78 */ mr r30, r4 +/* 802BA3EC 002B734C 7C DB 33 78 */ mr r27, r6 +/* 802BA3F0 002B7350 7C 04 03 78 */ mr r4, r0 +/* 802BA3F4 002B7354 38 A0 00 00 */ li r5, 0 +/* 802BA3F8 002B7358 48 05 B4 21 */ bl __nwa__FUlPCcPCc +/* 802BA3FC 002B735C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802BA400 002B7360 41 82 00 0C */ beq lbl_802BA40C +/* 802BA404 002B7364 93 DC 00 00 */ stw r30, 0(r28) +/* 802BA408 002B7368 93 BC 00 04 */ stw r29, 4(r28) +lbl_802BA40C: +/* 802BA40C 002B736C 37 FC 00 08 */ addic. r31, r28, 8 +/* 802BA410 002B7370 41 82 00 8C */ beq lbl_802BA49C +/* 802BA414 002B7374 7F E3 FB 78 */ mr r3, r31 +/* 802BA418 002B7378 7F 64 DB 78 */ mr r4, r27 +/* 802BA41C 002B737C 48 05 87 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BA420 002B7380 80 1B 00 30 */ lwz r0, 0x30(r27) +/* 802BA424 002B7384 90 1F 00 30 */ stw r0, 0x30(r31) +/* 802BA428 002B7388 C0 1B 00 34 */ lfs f0, 0x34(r27) +/* 802BA42C 002B738C D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 802BA430 002B7390 C0 1B 00 38 */ lfs f0, 0x38(r27) +/* 802BA434 002B7394 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 802BA438 002B7398 C0 1B 00 3C */ lfs f0, 0x3c(r27) +/* 802BA43C 002B739C D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 802BA440 002B73A0 C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 802BA444 002B73A4 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 802BA448 002B73A8 C0 1B 00 44 */ lfs f0, 0x44(r27) +/* 802BA44C 002B73AC D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 802BA450 002B73B0 C0 1B 00 48 */ lfs f0, 0x48(r27) +/* 802BA454 002B73B4 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 802BA458 002B73B8 88 1B 00 58 */ lbz r0, 0x58(r27) +/* 802BA45C 002B73BC 98 1F 00 58 */ stb r0, 0x58(r31) +/* 802BA460 002B73C0 88 1B 00 58 */ lbz r0, 0x58(r27) +/* 802BA464 002B73C4 28 00 00 00 */ cmplwi r0, 0 +/* 802BA468 002B73C8 41 82 00 2C */ beq lbl_802BA494 +/* 802BA46C 002B73CC 37 DF 00 4C */ addic. r30, r31, 0x4c +/* 802BA470 002B73D0 3B BB 00 4C */ addi r29, r27, 0x4c +/* 802BA474 002B73D4 41 82 00 20 */ beq lbl_802BA494 +/* 802BA478 002B73D8 7F C3 F3 78 */ mr r3, r30 +/* 802BA47C 002B73DC 7F A4 EB 78 */ mr r4, r29 +/* 802BA480 002B73E0 48 08 6A 29 */ bl __ct__6CTokenFRC6CToken +/* 802BA484 002B73E4 80 1D 00 08 */ lwz r0, 8(r29) +/* 802BA488 002B73E8 7F C3 F3 78 */ mr r3, r30 +/* 802BA48C 002B73EC 90 1E 00 08 */ stw r0, 8(r30) +/* 802BA490 002B73F0 48 08 68 F5 */ bl Lock__6CTokenFv +lbl_802BA494: +/* 802BA494 002B73F4 80 1B 00 5C */ lwz r0, 0x5c(r27) +/* 802BA498 002B73F8 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802BA49C: +/* 802BA49C 002B73FC 7F 83 E3 78 */ mr r3, r28 +/* 802BA4A0 002B7400 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802BA4A4 002B7404 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BA4A8 002B7408 7C 08 03 A6 */ mtlr r0 +/* 802BA4AC 002B740C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BA4B0 002B7410 4E 80 00 20 */ blr + +.global DoThermalBlendHot__13CCubeRendererFv +DoThermalBlendHot__13CCubeRendererFv: +/* 802BA4B4 002B7414 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802BA4B8 002B7418 7C 08 02 A6 */ mflr r0 +/* 802BA4BC 002B741C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802BA4C0 002B7420 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 802BA4C4 002B7424 7C 7A 1B 78 */ mr r26, r3 +/* 802BA4C8 002B7428 38 60 00 00 */ li r3, 0 +/* 802BA4CC 002B742C 48 0C 1A 61 */ bl GXSetAlphaUpdate +/* 802BA4D0 002B7430 38 60 00 01 */ li r3, 1 +/* 802BA4D4 002B7434 38 80 00 00 */ li r4, 0 +/* 802BA4D8 002B7438 48 0C 1C 09 */ bl GXSetDstAlpha +/* 802BA4DC 002B743C 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802BA4E0 002B7440 83 6D A8 28 */ lwz r27, lbl_805A93E8@sda21(r13) +/* 802BA4E4 002B7444 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 802BA4E8 002B7448 38 60 00 01 */ li r3, 1 +/* 802BA4EC 002B744C 83 A6 00 00 */ lwz r29, 0(r6) +/* 802BA4F0 002B7450 38 80 00 03 */ li r4, 3 +/* 802BA4F4 002B7454 83 86 00 04 */ lwz r28, 4(r6) +/* 802BA4F8 002B7458 38 A0 00 01 */ li r5, 1 +/* 802BA4FC 002B745C 83 E6 00 08 */ lwz r31, 8(r6) +/* 802BA500 002B7460 83 C6 00 0C */ lwz r30, 0xc(r6) +/* 802BA504 002B7464 48 04 E3 79 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BA508 002B7468 57 A3 04 3E */ clrlwi r3, r29, 0x10 +/* 802BA50C 002B746C 57 84 04 3E */ clrlwi r4, r28, 0x10 +/* 802BA510 002B7470 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 802BA514 002B7474 57 C6 04 3E */ clrlwi r6, r30, 0x10 +/* 802BA518 002B7478 48 0B E8 9D */ bl GXSetTexCopySrc +/* 802BA51C 002B747C 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 802BA520 002B7480 57 C4 04 3E */ clrlwi r4, r30, 0x10 +/* 802BA524 002B7484 38 A0 00 00 */ li r5, 0 +/* 802BA528 002B7488 38 C0 00 00 */ li r6, 0 +/* 802BA52C 002B748C 48 0B E9 55 */ bl GXSetTexCopyDst +/* 802BA530 002B7490 7F 63 DB 78 */ mr r3, r27 +/* 802BA534 002B7494 38 80 00 00 */ li r4, 0 +/* 802BA538 002B7498 48 0B EF FD */ bl GXCopyTex +/* 802BA53C 002B749C 38 7A 02 88 */ addi r3, r26, 0x288 +/* 802BA540 002B74A0 48 05 39 85 */ bl Load__16CGraphicsPaletteCFv +/* 802BA544 002B74A4 81 02 C7 A8 */ lwz r8, lbl_805AE4C8@sda21(r2) +/* 802BA548 002B74A8 7F E3 FB 78 */ mr r3, r31 +/* 802BA54C 002B74AC 7F C4 F3 78 */ mr r4, r30 +/* 802BA550 002B74B0 38 A0 00 08 */ li r5, 8 +/* 802BA554 002B74B4 38 C0 00 00 */ li r6, 0 +/* 802BA558 002B74B8 38 E0 00 00 */ li r7, 0 +/* 802BA55C 002B74BC 48 04 FA 0D */ bl LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID +/* 802BA560 002B74C0 38 60 00 00 */ li r3, 0 +/* 802BA564 002B74C4 38 80 00 0F */ li r4, 0xf +/* 802BA568 002B74C8 38 A0 00 09 */ li r5, 9 +/* 802BA56C 002B74CC 38 C0 00 08 */ li r6, 8 +/* 802BA570 002B74D0 38 E0 00 0F */ li r7, 0xf +/* 802BA574 002B74D4 48 04 E6 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BA578 002B74D8 38 60 00 00 */ li r3, 0 +/* 802BA57C 002B74DC 38 80 00 07 */ li r4, 7 +/* 802BA580 002B74E0 38 A0 00 07 */ li r5, 7 +/* 802BA584 002B74E4 38 C0 00 07 */ li r6, 7 +/* 802BA588 002B74E8 38 E0 00 04 */ li r7, 4 +/* 802BA58C 002B74EC 48 04 E6 09 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BA590 002B74F0 38 60 00 00 */ li r3, 0 +/* 802BA594 002B74F4 48 04 D6 BD */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802BA598 002B74F8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802BA59C 002B74FC 38 60 00 00 */ li r3, 0 +/* 802BA5A0 002B7500 38 80 00 00 */ li r4, 0 +/* 802BA5A4 002B7504 38 C0 00 FF */ li r6, 0xff +/* 802BA5A8 002B7508 48 04 E3 A5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BA5AC 002B750C 38 60 00 00 */ li r3, 0 +/* 802BA5B0 002B7510 38 80 00 00 */ li r4, 0 +/* 802BA5B4 002B7514 38 A0 00 04 */ li r5, 4 +/* 802BA5B8 002B7518 38 C0 00 3C */ li r6, 0x3c +/* 802BA5BC 002B751C 38 E0 00 00 */ li r7, 0 +/* 802BA5C0 002B7520 39 00 00 7D */ li r8, 0x7d +/* 802BA5C4 002B7524 48 04 E1 09 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BA5C8 002B7528 38 60 00 07 */ li r3, 7 +/* 802BA5CC 002B752C 38 80 00 00 */ li r4, 0 +/* 802BA5D0 002B7530 38 A0 00 00 */ li r5, 0 +/* 802BA5D4 002B7534 38 C0 00 07 */ li r6, 7 +/* 802BA5D8 002B7538 38 E0 00 00 */ li r7, 0 +/* 802BA5DC 002B753C 48 04 E2 39 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802BA5E0 002B7540 38 60 00 01 */ li r3, 1 +/* 802BA5E4 002B7544 48 04 E6 AD */ bl SetNumTevStages__3CGXFUc +/* 802BA5E8 002B7548 38 60 00 01 */ li r3, 1 +/* 802BA5EC 002B754C 48 04 E8 29 */ bl SetNumTexGens__3CGXFUc +/* 802BA5F0 002B7550 38 60 00 00 */ li r3, 0 +/* 802BA5F4 002B7554 48 04 E8 5D */ bl SetNumChans__3CGXFUc +/* 802BA5F8 002B7558 38 60 00 00 */ li r3, 0 +/* 802BA5FC 002B755C 38 80 00 03 */ li r4, 3 +/* 802BA600 002B7560 38 A0 00 00 */ li r5, 0 +/* 802BA604 002B7564 48 04 E2 79 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BA608 002B7568 3C 60 80 3D */ lis r3, lbl_803D6654@ha +/* 802BA60C 002B756C 38 63 66 54 */ addi r3, r3, lbl_803D6654@l +/* 802BA610 002B7570 48 04 D8 19 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BA614 002B7574 38 60 00 01 */ li r3, 1 +/* 802BA618 002B7578 38 80 00 06 */ li r4, 6 +/* 802BA61C 002B757C 38 A0 00 07 */ li r5, 7 +/* 802BA620 002B7580 38 C0 00 00 */ li r6, 0 +/* 802BA624 002B7584 48 04 E2 AD */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BA628 002B7588 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802BA62C 002B758C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802BA630 002B7590 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802BA634 002B7594 48 05 85 41 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BA638 002B7598 48 04 F8 25 */ bl GetProjectionState__9CGraphicsFv +/* 802BA63C 002B759C 88 C3 00 00 */ lbz r6, 0(r3) +/* 802BA640 002B75A0 3C 80 43 30 */ lis r4, 0x4330 +/* 802BA644 002B75A4 6F E5 80 00 */ xoris r5, r31, 0x8000 +/* 802BA648 002B75A8 6F C0 80 00 */ xoris r0, r30, 0x8000 +/* 802BA64C 002B75AC 98 C1 00 08 */ stb r6, 8(r1) +/* 802BA650 002B75B0 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BA654 002B75B4 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BA658 002B75B8 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 802BA65C 002B75BC FC 60 08 90 */ fmr f3, f1 +/* 802BA660 002B75C0 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802BA664 002B75C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BA668 002B75C8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802BA66C 002B75CC C0 03 00 08 */ lfs f0, 8(r3) +/* 802BA670 002B75D0 90 81 00 58 */ stw r4, 0x58(r1) +/* 802BA674 002B75D4 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802BA678 002B75D8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802BA67C 002B75DC C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802BA680 002B75E0 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802BA684 002B75E4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802BA688 002B75E8 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802BA68C 002B75EC D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 802BA690 002B75F0 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802BA694 002B75F4 90 81 00 60 */ stw r4, 0x60(r1) +/* 802BA698 002B75F8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802BA69C 002B75FC C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802BA6A0 002B7600 C0 E3 00 14 */ lfs f7, 0x14(r3) +/* 802BA6A4 002B7604 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802BA6A8 002B7608 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 802BA6AC 002B760C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802BA6B0 002B7610 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BA6B4 002B7614 48 05 1E A1 */ bl SetOrtho__9CGraphicsFffffff +/* 802BA6B8 002B7618 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BA6BC 002B761C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BA6C0 002B7620 48 05 20 8D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BA6C4 002B7624 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BA6C8 002B7628 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BA6CC 002B762C 48 05 1F 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BA6D0 002B7630 48 0B DE 95 */ bl GXPixModeSync +/* 802BA6D4 002B7634 38 60 00 A0 */ li r3, 0xa0 +/* 802BA6D8 002B7638 38 80 00 00 */ li r4, 0 +/* 802BA6DC 002B763C 38 A0 00 04 */ li r5, 4 +/* 802BA6E0 002B7640 48 04 DE A5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BA6E4 002B7644 C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) +/* 802BA6E8 002B7648 3C 60 43 30 */ lis r3, 0x4330 +/* 802BA6EC 002B764C 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 802BA6F0 002B7650 6F C4 80 00 */ xoris r4, r30, 0x8000 +/* 802BA6F4 002B7654 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA6F8 002B7658 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 802BA6FC 002B765C C0 82 C2 80 */ lfs f4, lbl_805ADFA0@sda21(r2) +/* 802BA700 002B7660 90 81 00 6C */ stw r4, 0x6c(r1) +/* 802BA704 002B7664 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802BA708 002B7668 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA70C 002B766C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BA710 002B7670 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA714 002B7674 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA718 002B7678 90 61 00 68 */ stw r3, 0x68(r1) +/* 802BA71C 002B767C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA720 002B7680 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802BA724 002B7684 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA728 002B7688 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BA72C 002B768C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA730 002B7690 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BA734 002B7694 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA738 002B7698 90 01 00 74 */ stw r0, 0x74(r1) +/* 802BA73C 002B769C 90 61 00 70 */ stw r3, 0x70(r1) +/* 802BA740 002B76A0 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802BA744 002B76A4 90 81 00 7C */ stw r4, 0x7c(r1) +/* 802BA748 002B76A8 EC 20 18 28 */ fsubs f1, f0, f3 +/* 802BA74C 002B76AC 90 61 00 78 */ stw r3, 0x78(r1) +/* 802BA750 002B76B0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA754 002B76B4 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 802BA758 002B76B8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BA75C 002B76BC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BA760 002B76C0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA764 002B76C4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BA768 002B76C8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA76C 002B76CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802BA770 002B76D0 90 61 00 80 */ stw r3, 0x80(r1) +/* 802BA774 002B76D4 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 802BA778 002B76D8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA77C 002B76DC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BA780 002B76E0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BA784 002B76E4 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA788 002B76E8 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA78C 002B76EC D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA790 002B76F0 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA794 002B76F4 48 04 DD ED */ bl End__3CGXFv +/* 802BA798 002B76F8 38 60 00 00 */ li r3, 0 +/* 802BA79C 002B76FC 48 04 DE F5 */ bl SetNumIndStages__3CGXFUc +/* 802BA7A0 002B7700 38 60 00 00 */ li r3, 0 +/* 802BA7A4 002B7704 48 04 DF A1 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BA7A8 002B7708 38 60 00 01 */ li r3, 1 +/* 802BA7AC 002B770C 48 0C 17 81 */ bl GXSetAlphaUpdate +/* 802BA7B0 002B7710 38 61 00 08 */ addi r3, r1, 8 +/* 802BA7B4 002B7714 48 04 F6 4D */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BA7B8 002B7718 38 61 00 24 */ addi r3, r1, 0x24 +/* 802BA7BC 002B771C 48 05 1F 91 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BA7C0 002B7720 38 00 00 00 */ li r0, 0 +/* 802BA7C4 002B7724 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +/* 802BA7C8 002B7728 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) +/* 802BA7CC 002B772C BB 41 00 88 */ lmw r26, 0x88(r1) +/* 802BA7D0 002B7730 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802BA7D4 002B7734 7C 08 03 A6 */ mtlr r0 +/* 802BA7D8 002B7738 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802BA7DC 002B773C 4E 80 00 20 */ blr + +.global DoThermalBlendCold__13CCubeRendererFv +DoThermalBlendCold__13CCubeRendererFv: +/* 802BA7E0 002B7740 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802BA7E4 002B7744 7C 08 02 A6 */ mflr r0 +/* 802BA7E8 002B7748 90 01 01 04 */ stw r0, 0x104(r1) +/* 802BA7EC 002B774C DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 802BA7F0 002B7750 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 802BA7F4 002B7754 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 802BA7F8 002B7758 7C 7C 1B 78 */ mr r28, r3 +/* 802BA7FC 002B775C 3C 80 43 30 */ lis r4, 0x4330 +/* 802BA800 002B7760 88 A3 02 F8 */ lbz r5, 0x2f8(r3) +/* 802BA804 002B7764 38 60 00 01 */ li r3, 1 +/* 802BA808 002B7768 88 1C 03 18 */ lbz r0, 0x318(r28) +/* 802BA80C 002B776C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802BA810 002B7770 90 A1 00 9C */ stw r5, 0x9c(r1) +/* 802BA814 002B7774 38 60 00 01 */ li r3, 1 +/* 802BA818 002B7778 C8 22 C2 E0 */ lfd f1, lbl_805AE000@sda21(r2) +/* 802BA81C 002B777C 90 81 00 98 */ stw r4, 0x98(r1) +/* 802BA820 002B7780 C0 42 C2 78 */ lfs f2, lbl_805ADF98@sda21(r2) +/* 802BA824 002B7784 C8 01 00 98 */ lfd f0, 0x98(r1) +/* 802BA828 002B7788 98 1C 03 18 */ stb r0, 0x318(r28) +/* 802BA82C 002B778C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BA830 002B7790 EF E2 00 32 */ fmuls f31, f2, f0 +/* 802BA834 002B7794 48 0C 16 F9 */ bl GXSetAlphaUpdate +/* 802BA838 002B7798 38 60 00 00 */ li r3, 0 +/* 802BA83C 002B779C 38 80 00 00 */ li r4, 0 +/* 802BA840 002B77A0 48 0C 18 A1 */ bl GXSetDstAlpha +/* 802BA844 002B77A4 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802BA848 002B77A8 83 4D A8 28 */ lwz r26, lbl_805A93E8@sda21(r13) +/* 802BA84C 002B77AC 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 802BA850 002B77B0 38 60 00 01 */ li r3, 1 +/* 802BA854 002B77B4 83 E6 00 00 */ lwz r31, 0(r6) +/* 802BA858 002B77B8 38 80 00 03 */ li r4, 3 +/* 802BA85C 002B77BC 83 66 00 04 */ lwz r27, 4(r6) +/* 802BA860 002B77C0 38 A0 00 00 */ li r5, 0 +/* 802BA864 002B77C4 83 C6 00 08 */ lwz r30, 8(r6) +/* 802BA868 002B77C8 83 A6 00 0C */ lwz r29, 0xc(r6) +/* 802BA86C 002B77CC 48 04 E0 11 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BA870 002B77D0 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 802BA874 002B77D4 57 64 04 3E */ clrlwi r4, r27, 0x10 +/* 802BA878 002B77D8 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 802BA87C 002B77DC 57 A6 04 3E */ clrlwi r6, r29, 0x10 +/* 802BA880 002B77E0 48 0B E5 35 */ bl GXSetTexCopySrc +/* 802BA884 002B77E4 57 C3 04 3E */ clrlwi r3, r30, 0x10 +/* 802BA888 002B77E8 57 A4 04 3E */ clrlwi r4, r29, 0x10 +/* 802BA88C 002B77EC 38 A0 00 00 */ li r5, 0 +/* 802BA890 002B77F0 38 C0 00 00 */ li r6, 0 +/* 802BA894 002B77F4 48 0B E5 ED */ bl GXSetTexCopyDst +/* 802BA898 002B77F8 7F 43 D3 78 */ mr r3, r26 +/* 802BA89C 002B77FC 38 80 00 01 */ li r4, 1 +/* 802BA8A0 002B7800 48 0B EC 95 */ bl GXCopyTex +/* 802BA8A4 002B7804 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802BA8A8 002B7808 7F C3 F3 78 */ mr r3, r30 +/* 802BA8AC 002B780C 7F A4 EB 78 */ mr r4, r29 +/* 802BA8B0 002B7810 38 A0 00 00 */ li r5, 0 +/* 802BA8B4 002B7814 38 C0 00 00 */ li r6, 0 +/* 802BA8B8 002B7818 48 04 F7 69 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BA8BC 002B781C 38 7C 02 A8 */ addi r3, r28, 0x2a8 +/* 802BA8C0 002B7820 48 05 7C 61 */ bl Next__9CRandom16Fv +/* 802BA8C4 002B7824 38 03 00 1F */ addi r0, r3, 0x1f +/* 802BA8C8 002B7828 7F C3 F3 78 */ mr r3, r30 +/* 802BA8CC 002B782C 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 802BA8D0 002B7830 7F A4 EB 78 */ mr r4, r29 +/* 802BA8D4 002B7834 3F 45 00 01 */ addis r26, r5, 1 +/* 802BA8D8 002B7838 38 E0 00 00 */ li r7, 0 +/* 802BA8DC 002B783C 3B 5A 80 00 */ addi r26, r26, -32768 +/* 802BA8E0 002B7840 38 A0 00 02 */ li r5, 2 +/* 802BA8E4 002B7844 7F 46 D3 78 */ mr r6, r26 +/* 802BA8E8 002B7848 48 04 F7 39 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BA8EC 002B784C 7F C3 F3 78 */ mr r3, r30 +/* 802BA8F0 002B7850 7F A4 EB 78 */ mr r4, r29 +/* 802BA8F4 002B7854 7F 46 D3 78 */ mr r6, r26 +/* 802BA8F8 002B7858 38 A0 00 02 */ li r5, 2 +/* 802BA8FC 002B785C 38 E0 00 01 */ li r7, 1 +/* 802BA900 002B7860 48 04 F7 21 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BA904 002B7864 C0 22 C2 80 */ lfs f1, lbl_805ADFA0@sda21(r2) +/* 802BA908 002B7868 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BA90C 002B786C C0 1C 02 F0 */ lfs f0, 0x2f0(r28) +/* 802BA910 002B7870 38 6D 9A D0 */ addi r3, r13, lbl_805A8690@sda21 +/* 802BA914 002B7874 38 AD 9A D4 */ addi r5, r13, lbl_805A8694@sda21 +/* 802BA918 002B7878 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BA91C 002B787C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BA920 002B7880 4B D5 19 95 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BA924 002B7884 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BA928 002B7888 3C 60 80 3D */ lis r3, lbl_803D663C@ha +/* 802BA92C 002B788C 39 63 66 3C */ addi r11, r3, lbl_803D663C@l +/* 802BA930 002B7890 C8 22 C2 D8 */ lfd f1, lbl_805ADFF8@sda21(r2) +/* 802BA934 002B7894 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802BA938 002B7898 81 4B 00 00 */ lwz r10, 0(r11) +/* 802BA93C 002B789C 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 802BA940 002B78A0 38 81 00 4C */ addi r4, r1, 0x4c +/* 802BA944 002B78A4 81 2B 00 04 */ lwz r9, 4(r11) +/* 802BA948 002B78A8 38 60 00 01 */ li r3, 1 +/* 802BA94C 002B78AC FC 01 00 32 */ fmul f0, f1, f0 +/* 802BA950 002B78B0 81 0B 00 08 */ lwz r8, 8(r11) +/* 802BA954 002B78B4 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 802BA958 002B78B8 38 A0 FF FE */ li r5, -2 +/* 802BA95C 002B78BC 80 0B 00 14 */ lwz r0, 0x14(r11) +/* 802BA960 002B78C0 91 41 00 4C */ stw r10, 0x4c(r1) +/* 802BA964 002B78C4 FC 00 00 18 */ frsp f0, f0 +/* 802BA968 002B78C8 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 802BA96C 002B78CC 91 21 00 50 */ stw r9, 0x50(r1) +/* 802BA970 002B78D0 91 01 00 54 */ stw r8, 0x54(r1) +/* 802BA974 002B78D4 90 E1 00 58 */ stw r7, 0x58(r1) +/* 802BA978 002B78D8 90 01 00 60 */ stw r0, 0x60(r1) +/* 802BA97C 002B78DC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802BA980 002B78E0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802BA984 002B78E4 48 0C 05 45 */ bl GXSetIndTexMtx +/* 802BA988 002B78E8 38 00 00 00 */ li r0, 0 +/* 802BA98C 002B78EC 38 60 00 00 */ li r3, 0 +/* 802BA990 002B78F0 90 01 00 08 */ stw r0, 8(r1) +/* 802BA994 002B78F4 38 80 00 00 */ li r4, 0 +/* 802BA998 002B78F8 38 A0 00 00 */ li r5, 0 +/* 802BA99C 002B78FC 38 C0 00 07 */ li r6, 7 +/* 802BA9A0 002B7900 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BA9A4 002B7904 38 E0 00 01 */ li r7, 1 +/* 802BA9A8 002B7908 39 00 00 00 */ li r8, 0 +/* 802BA9AC 002B790C 39 20 00 00 */ li r9, 0 +/* 802BA9B0 002B7910 39 40 00 00 */ li r10, 0 +/* 802BA9B4 002B7914 48 04 DD D9 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802BA9B8 002B7918 38 60 00 00 */ li r3, 0 +/* 802BA9BC 002B791C 38 80 00 00 */ li r4, 0 +/* 802BA9C0 002B7920 38 A0 00 00 */ li r5, 0 +/* 802BA9C4 002B7924 48 0C 07 E1 */ bl GXSetIndTexOrder +/* 802BA9C8 002B7928 8B FC 02 F8 */ lbz r31, 0x2f8(r28) +/* 802BA9CC 002B792C 38 A0 00 FF */ li r5, 0xff +/* 802BA9D0 002B7930 28 1F 00 80 */ cmplwi r31, 0x80 +/* 802BA9D4 002B7934 40 80 00 08 */ bge lbl_802BA9DC +/* 802BA9D8 002B7938 57 E5 0E 3C */ rlwinm r5, r31, 1, 0x18, 0x1e +lbl_802BA9DC: +/* 802BA9DC 002B793C 28 1F 00 40 */ cmplwi r31, 0x40 +/* 802BA9E0 002B7940 40 80 00 0C */ bge lbl_802BA9EC +/* 802BA9E4 002B7944 38 C0 00 00 */ li r6, 0 +/* 802BA9E8 002B7948 48 00 00 34 */ b lbl_802BAA1C +lbl_802BA9EC: +/* 802BA9EC 002B794C 28 1F 00 FF */ cmplwi r31, 0xff +/* 802BA9F0 002B7950 40 82 00 0C */ bne lbl_802BA9FC +/* 802BA9F4 002B7954 38 C0 00 FF */ li r6, 0xff +/* 802BA9F8 002B7958 48 00 00 24 */ b lbl_802BAA1C +lbl_802BA9FC: +/* 802BA9FC 002B795C 38 1F FF C0 */ addi r0, r31, -64 +/* 802BAA00 002B7960 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802BAA04 002B7964 54 00 10 3A */ slwi r0, r0, 2 +/* 802BAA08 002B7968 38 63 55 56 */ addi r3, r3, 0x55555556@l +/* 802BAA0C 002B796C 7C 63 00 96 */ mulhw r3, r3, r0 +/* 802BAA10 002B7970 54 60 0F FE */ srwi r0, r3, 0x1f +/* 802BAA14 002B7974 7C 03 02 14 */ add r0, r3, r0 +/* 802BAA18 002B7978 54 06 06 3E */ clrlwi r6, r0, 0x18 +lbl_802BAA1C: +/* 802BAA1C 002B797C 80 62 D7 70 */ lwz r3, lbl_805AF490@sda21(r2) +/* 802BAA20 002B7980 54 A4 06 3E */ clrlwi r4, r5, 0x18 +/* 802BAA24 002B7984 80 02 D7 74 */ lwz r0, lbl_805AF494@sda21(r2) +/* 802BAA28 002B7988 20 84 00 FF */ subfic r4, r4, 0xff +/* 802BAA2C 002B798C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802BAA30 002B7990 7C 83 1E 70 */ srawi r3, r4, 3 +/* 802BAA34 002B7994 90 01 00 28 */ stw r0, 0x28(r1) +/* 802BAA38 002B7998 98 61 00 2C */ stb r3, 0x2c(r1) +/* 802BAA3C 002B799C 98 61 00 2D */ stb r3, 0x2d(r1) +/* 802BAA40 002B79A0 98 61 00 2E */ stb r3, 0x2e(r1) +/* 802BAA44 002B79A4 98 A1 00 2F */ stb r5, 0x2f(r1) +/* 802BAA48 002B79A8 98 C1 00 28 */ stb r6, 0x28(r1) +/* 802BAA4C 002B79AC 98 C1 00 29 */ stb r6, 0x29(r1) +/* 802BAA50 002B79B0 98 C1 00 2A */ stb r6, 0x2a(r1) +/* 802BAA54 002B79B4 98 C1 00 2B */ stb r6, 0x2b(r1) +/* 802BAA58 002B79B8 48 08 F5 55 */ bl White__6CColorFv +/* 802BAA5C 002B79BC 3C 00 43 30 */ lis r0, 0x4330 +/* 802BAA60 002B79C0 7C 65 1B 78 */ mr r5, r3 +/* 802BAA64 002B79C4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 802BAA68 002B79C8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802BAA6C 002B79CC C8 42 C2 E0 */ lfd f2, lbl_805AE000@sda21(r2) +/* 802BAA70 002B79D0 38 9C 02 F4 */ addi r4, r28, 0x2f4 +/* 802BAA74 002B79D4 90 01 00 98 */ stw r0, 0x98(r1) +/* 802BAA78 002B79D8 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) +/* 802BAA7C 002B79DC C8 21 00 98 */ lfd f1, 0x98(r1) +/* 802BAA80 002B79E0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BAA84 002B79E4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802BAA88 002B79E8 48 0A 88 25 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 802BAA8C 002B79EC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802BAA90 002B79F0 38 81 00 18 */ addi r4, r1, 0x18 +/* 802BAA94 002B79F4 38 60 00 01 */ li r3, 1 +/* 802BAA98 002B79F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BAA9C 002B79FC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802BAAA0 002B7A00 48 0C 0B 5D */ bl GXSetTevColor +/* 802BAAA4 002B7A04 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802BAAA8 002B7A08 38 81 00 14 */ addi r4, r1, 0x14 +/* 802BAAAC 002B7A0C 38 60 00 02 */ li r3, 2 +/* 802BAAB0 002B7A10 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BAAB4 002B7A14 48 0C 0B 49 */ bl GXSetTevColor +/* 802BAAB8 002B7A18 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802BAABC 002B7A1C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BAAC0 002B7A20 38 60 00 03 */ li r3, 3 +/* 802BAAC4 002B7A24 90 01 00 10 */ stw r0, 0x10(r1) +/* 802BAAC8 002B7A28 48 0C 0B 35 */ bl GXSetTevColor +/* 802BAACC 002B7A2C 38 60 00 00 */ li r3, 0 +/* 802BAAD0 002B7A30 38 80 00 00 */ li r4, 0 +/* 802BAAD4 002B7A34 38 A0 00 01 */ li r5, 1 +/* 802BAAD8 002B7A38 48 0C 0D 59 */ bl GXSetTevSwapMode +/* 802BAADC 002B7A3C 38 60 00 00 */ li r3, 0 +/* 802BAAE0 002B7A40 38 80 00 0F */ li r4, 0xf +/* 802BAAE4 002B7A44 38 A0 00 08 */ li r5, 8 +/* 802BAAE8 002B7A48 38 C0 00 02 */ li r6, 2 +/* 802BAAEC 002B7A4C 38 E0 00 06 */ li r7, 6 +/* 802BAAF0 002B7A50 48 04 E0 FD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BAAF4 002B7A54 38 60 00 00 */ li r3, 0 +/* 802BAAF8 002B7A58 38 80 00 07 */ li r4, 7 +/* 802BAAFC 002B7A5C 38 A0 00 04 */ li r5, 4 +/* 802BAB00 002B7A60 38 C0 00 02 */ li r6, 2 +/* 802BAB04 002B7A64 38 E0 00 03 */ li r7, 3 +/* 802BAB08 002B7A68 48 04 E0 8D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BAB0C 002B7A6C 38 60 00 00 */ li r3, 0 +/* 802BAB10 002B7A70 48 04 D1 41 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802BAB14 002B7A74 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802BAB18 002B7A78 38 60 00 00 */ li r3, 0 +/* 802BAB1C 002B7A7C 38 80 00 00 */ li r4, 0 +/* 802BAB20 002B7A80 38 C0 00 FF */ li r6, 0xff +/* 802BAB24 002B7A84 48 04 DE 29 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BAB28 002B7A88 38 60 00 01 */ li r3, 1 +/* 802BAB2C 002B7A8C 38 80 00 00 */ li r4, 0 +/* 802BAB30 002B7A90 38 A0 00 01 */ li r5, 1 +/* 802BAB34 002B7A94 48 0C 0C FD */ bl GXSetTevSwapMode +/* 802BAB38 002B7A98 38 60 00 01 */ li r3, 1 +/* 802BAB3C 002B7A9C 38 80 00 0F */ li r4, 0xf +/* 802BAB40 002B7AA0 38 A0 00 08 */ li r5, 8 +/* 802BAB44 002B7AA4 38 C0 00 04 */ li r6, 4 +/* 802BAB48 002B7AA8 38 E0 00 00 */ li r7, 0 +/* 802BAB4C 002B7AAC 48 04 E0 A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BAB50 002B7AB0 38 60 00 01 */ li r3, 1 +/* 802BAB54 002B7AB4 38 80 00 01 */ li r4, 1 +/* 802BAB58 002B7AB8 38 A0 00 00 */ li r5, 0 +/* 802BAB5C 002B7ABC 38 C0 00 00 */ li r6, 0 +/* 802BAB60 002B7AC0 38 E0 00 01 */ li r7, 1 +/* 802BAB64 002B7AC4 39 00 00 00 */ li r8, 0 +/* 802BAB68 002B7AC8 48 04 DF D1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802BAB6C 002B7ACC 38 60 00 01 */ li r3, 1 +/* 802BAB70 002B7AD0 38 80 00 07 */ li r4, 7 +/* 802BAB74 002B7AD4 38 A0 00 02 */ li r5, 2 +/* 802BAB78 002B7AD8 38 C0 00 04 */ li r6, 4 +/* 802BAB7C 002B7ADC 38 E0 00 00 */ li r7, 0 +/* 802BAB80 002B7AE0 48 04 E0 15 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BAB84 002B7AE4 38 60 00 01 */ li r3, 1 +/* 802BAB88 002B7AE8 38 80 00 00 */ li r4, 0 +/* 802BAB8C 002B7AEC 38 A0 00 00 */ li r5, 0 +/* 802BAB90 002B7AF0 38 C0 00 02 */ li r6, 2 +/* 802BAB94 002B7AF4 38 E0 00 01 */ li r7, 1 +/* 802BAB98 002B7AF8 39 00 00 00 */ li r8, 0 +/* 802BAB9C 002B7AFC 48 04 DE E5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802BABA0 002B7B00 38 60 00 01 */ li r3, 1 +/* 802BABA4 002B7B04 38 80 00 00 */ li r4, 0 +/* 802BABA8 002B7B08 38 A0 00 01 */ li r5, 1 +/* 802BABAC 002B7B0C 38 C0 00 FF */ li r6, 0xff +/* 802BABB0 002B7B10 48 04 DD 9D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BABB4 002B7B14 38 60 00 00 */ li r3, 0 +/* 802BABB8 002B7B18 38 80 00 00 */ li r4, 0 +/* 802BABBC 002B7B1C 38 A0 00 04 */ li r5, 4 +/* 802BABC0 002B7B20 38 C0 00 3C */ li r6, 0x3c +/* 802BABC4 002B7B24 38 E0 00 00 */ li r7, 0 +/* 802BABC8 002B7B28 39 00 00 7D */ li r8, 0x7d +/* 802BABCC 002B7B2C 48 04 DB 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BABD0 002B7B30 38 60 00 07 */ li r3, 7 +/* 802BABD4 002B7B34 38 80 00 00 */ li r4, 0 +/* 802BABD8 002B7B38 38 A0 00 00 */ li r5, 0 +/* 802BABDC 002B7B3C 38 C0 00 07 */ li r6, 7 +/* 802BABE0 002B7B40 38 E0 00 00 */ li r7, 0 +/* 802BABE4 002B7B44 48 04 DC 31 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802BABE8 002B7B48 38 60 00 02 */ li r3, 2 +/* 802BABEC 002B7B4C 48 04 E0 A5 */ bl SetNumTevStages__3CGXFUc +/* 802BABF0 002B7B50 38 60 00 01 */ li r3, 1 +/* 802BABF4 002B7B54 48 04 E2 21 */ bl SetNumTexGens__3CGXFUc +/* 802BABF8 002B7B58 38 60 00 00 */ li r3, 0 +/* 802BABFC 002B7B5C 48 04 E2 55 */ bl SetNumChans__3CGXFUc +/* 802BAC00 002B7B60 38 60 00 01 */ li r3, 1 +/* 802BAC04 002B7B64 48 04 DA 8D */ bl SetNumIndStages__3CGXFUc +/* 802BAC08 002B7B68 38 60 00 00 */ li r3, 0 +/* 802BAC0C 002B7B6C 38 80 00 07 */ li r4, 7 +/* 802BAC10 002B7B70 38 A0 00 00 */ li r5, 0 +/* 802BAC14 002B7B74 48 04 DC 69 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BAC18 002B7B78 3C 60 80 3D */ lis r3, lbl_803D6624@ha +/* 802BAC1C 002B7B7C 38 63 66 24 */ addi r3, r3, lbl_803D6624@l +/* 802BAC20 002B7B80 48 04 D2 09 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BAC24 002B7B84 38 60 00 00 */ li r3, 0 +/* 802BAC28 002B7B88 38 80 00 01 */ li r4, 1 +/* 802BAC2C 002B7B8C 38 A0 00 00 */ li r5, 0 +/* 802BAC30 002B7B90 38 C0 00 00 */ li r6, 0 +/* 802BAC34 002B7B94 48 04 DC 9D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BAC38 002B7B98 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802BAC3C 002B7B9C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802BAC40 002B7BA0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802BAC44 002B7BA4 48 05 7F 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BAC48 002B7BA8 48 04 F2 15 */ bl GetProjectionState__9CGraphicsFv +/* 802BAC4C 002B7BAC 88 C3 00 00 */ lbz r6, 0(r3) +/* 802BAC50 002B7BB0 3C 80 43 30 */ lis r4, 0x4330 +/* 802BAC54 002B7BB4 6F C5 80 00 */ xoris r5, r30, 0x8000 +/* 802BAC58 002B7BB8 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 802BAC5C 002B7BBC 98 C1 00 30 */ stb r6, 0x30(r1) +/* 802BAC60 002B7BC0 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BAC64 002B7BC4 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BAC68 002B7BC8 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 802BAC6C 002B7BCC FC 60 08 90 */ fmr f3, f1 +/* 802BAC70 002B7BD0 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802BAC74 002B7BD4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802BAC78 002B7BD8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802BAC7C 002B7BDC C0 03 00 08 */ lfs f0, 8(r3) +/* 802BAC80 002B7BE0 90 81 00 A0 */ stw r4, 0xa0(r1) +/* 802BAC84 002B7BE4 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802BAC88 002B7BE8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802BAC8C 002B7BEC C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 802BAC90 002B7BF0 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802BAC94 002B7BF4 90 01 00 AC */ stw r0, 0xac(r1) +/* 802BAC98 002B7BF8 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802BAC9C 002B7BFC D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 802BACA0 002B7C00 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802BACA4 002B7C04 90 81 00 A8 */ stw r4, 0xa8(r1) +/* 802BACA8 002B7C08 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802BACAC 002B7C0C C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 802BACB0 002B7C10 C0 E3 00 14 */ lfs f7, 0x14(r3) +/* 802BACB4 002B7C14 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802BACB8 002B7C18 D0 E1 00 44 */ stfs f7, 0x44(r1) +/* 802BACBC 002B7C1C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802BACC0 002B7C20 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802BACC4 002B7C24 48 05 18 91 */ bl SetOrtho__9CGraphicsFffffff +/* 802BACC8 002B7C28 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BACCC 002B7C2C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BACD0 002B7C30 48 05 1A 7D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BACD4 002B7C34 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BACD8 002B7C38 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BACDC 002B7C3C 48 05 19 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BACE0 002B7C40 48 0B D8 85 */ bl GXPixModeSync +/* 802BACE4 002B7C44 38 60 00 A0 */ li r3, 0xa0 +/* 802BACE8 002B7C48 38 80 00 00 */ li r4, 0 +/* 802BACEC 002B7C4C 38 A0 00 04 */ li r5, 4 +/* 802BACF0 002B7C50 48 04 D8 95 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BACF4 002B7C54 C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) +/* 802BACF8 002B7C58 3C 60 43 30 */ lis r3, 0x4330 +/* 802BACFC 002B7C5C 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 802BAD00 002B7C60 6F A4 80 00 */ xoris r4, r29, 0x8000 +/* 802BAD04 002B7C64 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD08 002B7C68 6F C0 80 00 */ xoris r0, r30, 0x8000 +/* 802BAD0C 002B7C6C C0 82 C2 80 */ lfs f4, lbl_805ADFA0@sda21(r2) +/* 802BAD10 002B7C70 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 802BAD14 002B7C74 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802BAD18 002B7C78 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD1C 002B7C7C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BAD20 002B7C80 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD24 002B7C84 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD28 002B7C88 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 802BAD2C 002B7C8C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD30 002B7C90 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802BAD34 002B7C94 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD38 002B7C98 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BAD3C 002B7C9C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD40 002B7CA0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BAD44 002B7CA4 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD48 002B7CA8 90 01 00 BC */ stw r0, 0xbc(r1) +/* 802BAD4C 002B7CAC 90 61 00 B8 */ stw r3, 0xb8(r1) +/* 802BAD50 002B7CB0 C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 802BAD54 002B7CB4 90 81 00 C4 */ stw r4, 0xc4(r1) +/* 802BAD58 002B7CB8 EC 20 18 28 */ fsubs f1, f0, f3 +/* 802BAD5C 002B7CBC 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 802BAD60 002B7CC0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BAD64 002B7CC4 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 802BAD68 002B7CC8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BAD6C 002B7CCC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BAD70 002B7CD0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD74 002B7CD4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BAD78 002B7CD8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BAD7C 002B7CDC 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802BAD80 002B7CE0 90 61 00 C8 */ stw r3, 0xc8(r1) +/* 802BAD84 002B7CE4 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802BAD88 002B7CE8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BAD8C 002B7CEC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BAD90 002B7CF0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BAD94 002B7CF4 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD98 002B7CF8 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD9C 002B7CFC D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BADA0 002B7D00 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BADA4 002B7D04 48 04 D7 DD */ bl End__3CGXFv +/* 802BADA8 002B7D08 38 60 00 00 */ li r3, 0 +/* 802BADAC 002B7D0C 38 80 00 00 */ li r4, 0 +/* 802BADB0 002B7D10 38 A0 00 00 */ li r5, 0 +/* 802BADB4 002B7D14 48 0C 0A 7D */ bl GXSetTevSwapMode +/* 802BADB8 002B7D18 38 60 00 01 */ li r3, 1 +/* 802BADBC 002B7D1C 38 80 00 00 */ li r4, 0 +/* 802BADC0 002B7D20 38 A0 00 00 */ li r5, 0 +/* 802BADC4 002B7D24 48 0C 0A 6D */ bl GXSetTevSwapMode +/* 802BADC8 002B7D28 38 60 00 00 */ li r3, 0 +/* 802BADCC 002B7D2C 48 04 D8 C5 */ bl SetNumIndStages__3CGXFUc +/* 802BADD0 002B7D30 38 60 00 00 */ li r3, 0 +/* 802BADD4 002B7D34 48 04 D9 71 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BADD8 002B7D38 38 60 00 00 */ li r3, 0 +/* 802BADDC 002B7D3C 38 80 00 FF */ li r4, 0xff +/* 802BADE0 002B7D40 48 0C 13 01 */ bl GXSetDstAlpha +/* 802BADE4 002B7D44 38 61 00 30 */ addi r3, r1, 0x30 +/* 802BADE8 002B7D48 48 04 F0 19 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BADEC 002B7D4C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802BADF0 002B7D50 48 05 19 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BADF4 002B7D54 38 00 00 01 */ li r0, 1 +/* 802BADF8 002B7D58 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +/* 802BADFC 002B7D5C 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) +/* 802BAE00 002B7D60 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802BAE04 002B7D64 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802BAE08 002B7D68 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 802BAE0C 002B7D6C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802BAE10 002B7D70 7C 08 03 A6 */ mtlr r0 +/* 802BAE14 002B7D74 38 21 01 00 */ addi r1, r1, 0x100 +/* 802BAE18 002B7D78 4E 80 00 20 */ blr + +.global RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel: +/* 802BAE1C 002B7D7C 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802BAE20 002B7D80 7C 08 02 A6 */ mflr r0 +/* 802BAE24 002B7D84 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802BAE28 002B7D88 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802BAE2C 002B7D8C F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802BAE30 002B7D90 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802BAE34 002B7D94 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802BAE38 002B7D98 DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 802BAE3C 002B7D9C F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 802BAE40 002B7DA0 DB 81 01 90 */ stfd f28, 0x190(r1) +/* 802BAE44 002B7DA4 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 +/* 802BAE48 002B7DA8 DB 61 01 80 */ stfd f27, 0x180(r1) +/* 802BAE4C 002B7DAC F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 +/* 802BAE50 002B7DB0 DB 41 01 70 */ stfd f26, 0x170(r1) +/* 802BAE54 002B7DB4 F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 +/* 802BAE58 002B7DB8 DB 21 01 60 */ stfd f25, 0x160(r1) +/* 802BAE5C 002B7DBC F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 +/* 802BAE60 002B7DC0 DB 01 01 50 */ stfd f24, 0x150(r1) +/* 802BAE64 002B7DC4 F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0 +/* 802BAE68 002B7DC8 DA E1 01 40 */ stfd f23, 0x140(r1) +/* 802BAE6C 002B7DCC F2 E1 01 48 */ psq_st f23, 328(r1), 0, qr0 +/* 802BAE70 002B7DD0 DA C1 01 30 */ stfd f22, 0x130(r1) +/* 802BAE74 002B7DD4 F2 C1 01 38 */ psq_st f22, 312(r1), 0, qr0 +/* 802BAE78 002B7DD8 DA A1 01 20 */ stfd f21, 0x120(r1) +/* 802BAE7C 002B7DDC F2 A1 01 28 */ psq_st f21, 296(r1), 0, qr0 +/* 802BAE80 002B7DE0 DA 81 01 10 */ stfd f20, 0x110(r1) +/* 802BAE84 002B7DE4 F2 81 01 18 */ psq_st f20, 280(r1), 0, qr0 +/* 802BAE88 002B7DE8 DA 61 01 00 */ stfd f19, 0x100(r1) +/* 802BAE8C 002B7DEC F2 61 01 08 */ psq_st f19, 264(r1), 0, qr0 +/* 802BAE90 002B7DF0 DA 41 00 F0 */ stfd f18, 0xf0(r1) +/* 802BAE94 002B7DF4 F2 41 00 F8 */ psq_st f18, 248(r1), 0, qr0 +/* 802BAE98 002B7DF8 93 E1 00 EC */ stw r31, 0xec(r1) +/* 802BAE9C 002B7DFC 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 802BAEA0 002B7E00 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 802BAEA4 002B7E04 7C 9F 23 79 */ or. r31, r4, r4 +/* 802BAEA8 002B7E08 7C DE 33 78 */ mr r30, r6 +/* 802BAEAC 002B7E0C 7C FD 3B 78 */ mr r29, r7 +/* 802BAEB0 002B7E10 40 82 02 60 */ bne lbl_802BB110 +/* 802BAEB4 002B7E14 28 1D 00 00 */ cmplwi r29, 0 +/* 802BAEB8 002B7E18 40 82 02 58 */ bne lbl_802BB110 +/* 802BAEBC 002B7E1C 7C 64 1B 78 */ mr r4, r3 +/* 802BAEC0 002B7E20 38 61 00 38 */ addi r3, r1, 0x38 +/* 802BAEC4 002B7E24 48 07 CA 39 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802BAEC8 002B7E28 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 802BAECC 002B7E2C 3C 60 80 3D */ lis r3, lbl_803D6614@ha +/* 802BAED0 002B7E30 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 802BAED4 002B7E34 38 63 66 14 */ addi r3, r3, lbl_803D6614@l +/* 802BAED8 002B7E38 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802BAEDC 002B7E3C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802BAEE0 002B7E40 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802BAEE4 002B7E44 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802BAEE8 002B7E48 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 802BAEEC 002B7E4C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802BAEF0 002B7E50 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802BAEF4 002B7E54 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802BAEF8 002B7E58 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802BAEFC 002B7E5C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802BAF00 002B7E60 48 04 CF 29 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BAF04 002B7E64 C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 802BAF08 002B7E68 38 61 00 2C */ addi r3, r1, 0x2c +/* 802BAF0C 002B7E6C C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 802BAF10 002B7E70 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BAF14 002B7E74 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BAF18 002B7E78 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802BAF1C 002B7E7C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BAF20 002B7E80 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802BAF24 002B7E84 48 05 8E AD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802BAF28 002B7E88 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802BAF2C 002B7E8C 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 802BAF30 002B7E90 C0 5E 00 1C */ lfs f2, 0x1c(r30) +/* 802BAF34 002B7E94 39 23 67 18 */ addi r9, r3, lbl_805A6718@l +/* 802BAF38 002B7E98 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802BAF3C 002B7E9C 3C 60 80 5A */ lis r3, lbl_805A670C@ha +/* 802BAF40 002B7EA0 EC 62 00 72 */ fmuls f3, f2, f1 +/* 802BAF44 002B7EA4 C0 9E 00 0C */ lfs f4, 0xc(r30) +/* 802BAF48 002B7EA8 39 03 67 0C */ addi r8, r3, lbl_805A670C@l +/* 802BAF4C 002B7EAC C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802BAF50 002B7EB0 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 802BAF54 002B7EB4 C0 E1 00 5C */ lfs f7, 0x5c(r1) +/* 802BAF58 002B7EB8 EC 84 18 3A */ fmadds f4, f4, f0, f3 +/* 802BAF5C 002B7EBC C0 BE 00 2C */ lfs f5, 0x2c(r30) +/* 802BAF60 002B7EC0 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l +/* 802BAF64 002B7EC4 C0 C1 00 60 */ lfs f6, 0x60(r1) +/* 802BAF68 002B7EC8 C0 62 C2 EC */ lfs f3, lbl_805AE00C@sda21(r2) +/* 802BAF6C 002B7ECC 3C 60 80 5A */ lis r3, lbl_805A6730@ha +/* 802BAF70 002B7ED0 ED 05 20 BA */ fmadds f8, f5, f2, f4 +/* 802BAF74 002B7ED4 38 C3 67 30 */ addi r6, r3, lbl_805A6730@l +/* 802BAF78 002B7ED8 C0 A1 00 64 */ lfs f5, 0x64(r1) +/* 802BAF7C 002B7EDC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 802BAF80 002B7EE0 C0 82 C2 E8 */ lfs f4, lbl_805AE008@sda21(r2) +/* 802BAF84 002B7EE4 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 802BAF88 002B7EE8 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l +/* 802BAF8C 002B7EEC EC 63 40 2A */ fadds f3, f3, f8 +/* 802BAF90 002B7EF0 FE C0 38 50 */ fneg f22, f7 +/* 802BAF94 002B7EF4 38 83 67 00 */ addi r4, r3, lbl_805A6700@l +/* 802BAF98 002B7EF8 FE A0 30 50 */ fneg f21, f6 +/* 802BAF9C 002B7EFC C2 E9 00 00 */ lfs f23, 0(r9) +/* 802BAFA0 002B7F00 FE 80 28 50 */ fneg f20, f5 +/* 802BAFA4 002B7F04 EC 64 18 2A */ fadds f3, f4, f3 +/* 802BAFA8 002B7F08 C3 09 00 04 */ lfs f24, 4(r9) +/* 802BAFAC 002B7F0C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BAFB0 002B7F10 C3 29 00 08 */ lfs f25, 8(r9) +/* 802BAFB4 002B7F14 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BAFB8 002B7F18 C3 41 00 50 */ lfs f26, 0x50(r1) +/* 802BAFBC 002B7F1C C3 68 00 00 */ lfs f27, 0(r8) +/* 802BAFC0 002B7F20 C3 88 00 04 */ lfs f28, 4(r8) +/* 802BAFC4 002B7F24 C3 A8 00 08 */ lfs f29, 8(r8) +/* 802BAFC8 002B7F28 C2 61 00 54 */ lfs f19, 0x54(r1) +/* 802BAFCC 002B7F2C C3 C7 00 00 */ lfs f30, 0(r7) +/* 802BAFD0 002B7F30 C3 E7 00 04 */ lfs f31, 4(r7) +/* 802BAFD4 002B7F34 C1 A7 00 08 */ lfs f13, 8(r7) +/* 802BAFD8 002B7F38 C1 86 00 00 */ lfs f12, 0(r6) +/* 802BAFDC 002B7F3C C1 66 00 04 */ lfs f11, 4(r6) +/* 802BAFE0 002B7F40 C1 46 00 08 */ lfs f10, 8(r6) +/* 802BAFE4 002B7F44 C2 41 00 58 */ lfs f18, 0x58(r1) +/* 802BAFE8 002B7F48 C1 25 00 00 */ lfs f9, 0(r5) +/* 802BAFEC 002B7F4C C1 05 00 04 */ lfs f8, 4(r5) +/* 802BAFF0 002B7F50 C0 E5 00 08 */ lfs f7, 8(r5) +/* 802BAFF4 002B7F54 C0 C4 00 00 */ lfs f6, 0(r4) +/* 802BAFF8 002B7F58 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802BAFFC 002B7F5C C0 84 00 08 */ lfs f4, 8(r4) +/* 802BB000 002B7F60 D2 E1 00 68 */ stfs f23, 0x68(r1) +/* 802BB004 002B7F64 D3 01 00 6C */ stfs f24, 0x6c(r1) +/* 802BB008 002B7F68 D3 21 00 70 */ stfs f25, 0x70(r1) +/* 802BB00C 002B7F6C D3 41 00 74 */ stfs f26, 0x74(r1) +/* 802BB010 002B7F70 D3 61 00 78 */ stfs f27, 0x78(r1) +/* 802BB014 002B7F74 D3 81 00 7C */ stfs f28, 0x7c(r1) +/* 802BB018 002B7F78 D3 A1 00 80 */ stfs f29, 0x80(r1) +/* 802BB01C 002B7F7C D2 C1 00 84 */ stfs f22, 0x84(r1) +/* 802BB020 002B7F80 D3 C1 00 88 */ stfs f30, 0x88(r1) +/* 802BB024 002B7F84 D3 E1 00 8C */ stfs f31, 0x8c(r1) +/* 802BB028 002B7F88 D1 A1 00 90 */ stfs f13, 0x90(r1) +/* 802BB02C 002B7F8C D2 61 00 94 */ stfs f19, 0x94(r1) +/* 802BB030 002B7F90 D1 81 00 98 */ stfs f12, 0x98(r1) +/* 802BB034 002B7F94 D1 61 00 9C */ stfs f11, 0x9c(r1) +/* 802BB038 002B7F98 D1 41 00 A0 */ stfs f10, 0xa0(r1) +/* 802BB03C 002B7F9C D2 A1 00 A4 */ stfs f21, 0xa4(r1) +/* 802BB040 002B7FA0 D1 21 00 A8 */ stfs f9, 0xa8(r1) +/* 802BB044 002B7FA4 D1 01 00 AC */ stfs f8, 0xac(r1) +/* 802BB048 002B7FA8 D0 E1 00 B0 */ stfs f7, 0xb0(r1) +/* 802BB04C 002B7FAC D2 41 00 B4 */ stfs f18, 0xb4(r1) +/* 802BB050 002B7FB0 D0 C1 00 B8 */ stfs f6, 0xb8(r1) +/* 802BB054 002B7FB4 D0 A1 00 BC */ stfs f5, 0xbc(r1) +/* 802BB058 002B7FB8 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 802BB05C 002B7FBC D2 81 00 C4 */ stfs f20, 0xc4(r1) +/* 802BB060 002B7FC0 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802BB064 002B7FC4 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 802BB068 002B7FC8 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 802BB06C 002B7FCC D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 802BB070 002B7FD0 48 05 15 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BB074 002B7FD4 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802BB078 002B7FD8 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802BB07C 002B7FDC C0 21 00 64 */ lfs f1, 0x64(r1) +/* 802BB080 002B7FE0 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802BB084 002B7FE4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802BB088 002B7FE8 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802BB08C 002B7FEC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802BB090 002B7FF0 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802BB094 002B7FF4 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802BB098 002B7FF8 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802BB09C 002B7FFC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802BB0A0 002B8000 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802BB0A4 002B8004 D0 21 00 08 */ stfs f1, 8(r1) +/* 802BB0A8 002B8008 40 80 00 0C */ bge lbl_802BB0B4 +/* 802BB0AC 002B800C 38 61 00 0C */ addi r3, r1, 0xc +/* 802BB0B0 002B8010 48 00 00 08 */ b lbl_802BB0B8 +lbl_802BB0B4: +/* 802BB0B4 002B8014 38 61 00 10 */ addi r3, r1, 0x10 +lbl_802BB0B8: +/* 802BB0B8 002B8018 C0 23 00 00 */ lfs f1, 0(r3) +/* 802BB0BC 002B801C C0 01 00 08 */ lfs f0, 8(r1) +/* 802BB0C0 002B8020 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB0C4 002B8024 40 80 00 08 */ bge lbl_802BB0CC +/* 802BB0C8 002B8028 38 61 00 08 */ addi r3, r1, 8 +lbl_802BB0CC: +/* 802BB0CC 002B802C C0 22 C2 88 */ lfs f1, lbl_805ADFA8@sda21(r2) +/* 802BB0D0 002B8030 3B C0 00 00 */ li r30, 0 +/* 802BB0D4 002B8034 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BB0D8 002B8038 EE 41 00 32 */ fmuls f18, f1, f0 +lbl_802BB0DC: +/* 802BB0DC 002B803C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802BB0E0 002B8040 38 81 00 50 */ addi r4, r1, 0x50 +/* 802BB0E4 002B8044 48 07 C5 29 */ bl GetCenterPoint__6CAABoxCFv +/* 802BB0E8 002B8048 FC 20 90 90 */ fmr f1, f18 +/* 802BB0EC 002B804C 7F C5 F3 78 */ mr r5, r30 +/* 802BB0F0 002B8050 38 61 00 68 */ addi r3, r1, 0x68 +/* 802BB0F4 002B8054 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802BB0F8 002B8058 38 80 00 07 */ li r4, 7 +/* 802BB0FC 002B805C 48 00 01 2D */ bl DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff +/* 802BB100 002B8060 3B DE 00 01 */ addi r30, r30, 1 +/* 802BB104 002B8064 2C 1E 00 07 */ cmpwi r30, 7 +/* 802BB108 002B8068 41 80 FF D4 */ blt lbl_802BB0DC +/* 802BB10C 002B806C 48 00 00 90 */ b lbl_802BB19C +lbl_802BB110: +/* 802BB110 002B8070 28 1D 00 00 */ cmplwi r29, 0 +/* 802BB114 002B8074 41 82 00 54 */ beq lbl_802BB168 +/* 802BB118 002B8078 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802BB11C 002B807C 38 80 00 00 */ li r4, 0 +/* 802BB120 002B8080 7F E3 FB 78 */ mr r3, r31 +/* 802BB124 002B8084 48 09 A5 11 */ bl Touch__6CModelCFi +/* 802BB128 002B8088 83 DF 00 28 */ lwz r30, 0x28(r31) +/* 802BB12C 002B808C 28 1E 00 00 */ cmplwi r30, 0 +/* 802BB130 002B8090 41 82 00 6C */ beq lbl_802BB19C +/* 802BB134 002B8094 7F E3 FB 78 */ mr r3, r31 +/* 802BB138 002B8098 48 09 9F E9 */ bl UpdateLastFrame__6CModelFv +/* 802BB13C 002B809C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802BB140 002B80A0 48 09 A5 85 */ bl GetNormals__6CModelCFv +/* 802BB144 002B80A4 7C 7F 1B 78 */ mr r31, r3 +/* 802BB148 002B80A8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802BB14C 002B80AC 48 09 A5 85 */ bl GetPositions__6CModelCFv +/* 802BB150 002B80B0 7C 64 1B 78 */ mr r4, r3 +/* 802BB154 002B80B4 7F C3 F3 78 */ mr r3, r30 +/* 802BB158 002B80B8 7F E5 FB 78 */ mr r5, r31 +/* 802BB15C 002B80BC 38 C0 00 02 */ li r6, 2 +/* 802BB160 002B80C0 48 04 B8 91 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802BB164 002B80C4 48 00 00 38 */ b lbl_802BB19C +lbl_802BB168: +/* 802BB168 002B80C8 7F E3 FB 78 */ mr r3, r31 +/* 802BB16C 002B80CC 38 80 00 00 */ li r4, 0 +/* 802BB170 002B80D0 48 09 A4 C5 */ bl Touch__6CModelCFi +/* 802BB174 002B80D4 83 DF 00 28 */ lwz r30, 0x28(r31) +/* 802BB178 002B80D8 28 1E 00 00 */ cmplwi r30, 0 +/* 802BB17C 002B80DC 41 82 00 20 */ beq lbl_802BB19C +/* 802BB180 002B80E0 7F E3 FB 78 */ mr r3, r31 +/* 802BB184 002B80E4 48 09 9F 9D */ bl UpdateLastFrame__6CModelFv +/* 802BB188 002B80E8 7F C3 F3 78 */ mr r3, r30 +/* 802BB18C 002B80EC 38 80 00 00 */ li r4, 0 +/* 802BB190 002B80F0 38 A0 00 00 */ li r5, 0 +/* 802BB194 002B80F4 38 C0 00 02 */ li r6, 2 +/* 802BB198 002B80F8 48 04 B8 59 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +lbl_802BB19C: +/* 802BB19C 002B80FC E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802BB1A0 002B8100 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802BB1A4 002B8104 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802BB1A8 002B8108 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802BB1AC 002B810C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 802BB1B0 002B8110 CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 802BB1B4 002B8114 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 +/* 802BB1B8 002B8118 CB 81 01 90 */ lfd f28, 0x190(r1) +/* 802BB1BC 002B811C E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 +/* 802BB1C0 002B8120 CB 61 01 80 */ lfd f27, 0x180(r1) +/* 802BB1C4 002B8124 E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 +/* 802BB1C8 002B8128 CB 41 01 70 */ lfd f26, 0x170(r1) +/* 802BB1CC 002B812C E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 +/* 802BB1D0 002B8130 CB 21 01 60 */ lfd f25, 0x160(r1) +/* 802BB1D4 002B8134 E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0 +/* 802BB1D8 002B8138 CB 01 01 50 */ lfd f24, 0x150(r1) +/* 802BB1DC 002B813C E2 E1 01 48 */ psq_l f23, 328(r1), 0, qr0 +/* 802BB1E0 002B8140 CA E1 01 40 */ lfd f23, 0x140(r1) +/* 802BB1E4 002B8144 E2 C1 01 38 */ psq_l f22, 312(r1), 0, qr0 +/* 802BB1E8 002B8148 CA C1 01 30 */ lfd f22, 0x130(r1) +/* 802BB1EC 002B814C E2 A1 01 28 */ psq_l f21, 296(r1), 0, qr0 +/* 802BB1F0 002B8150 CA A1 01 20 */ lfd f21, 0x120(r1) +/* 802BB1F4 002B8154 E2 81 01 18 */ psq_l f20, 280(r1), 0, qr0 +/* 802BB1F8 002B8158 CA 81 01 10 */ lfd f20, 0x110(r1) +/* 802BB1FC 002B815C E2 61 01 08 */ psq_l f19, 264(r1), 0, qr0 +/* 802BB200 002B8160 CA 61 01 00 */ lfd f19, 0x100(r1) +/* 802BB204 002B8164 E2 41 00 F8 */ psq_l f18, 248(r1), 0, qr0 +/* 802BB208 002B8168 CA 41 00 F0 */ lfd f18, 0xf0(r1) +/* 802BB20C 002B816C 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 802BB210 002B8170 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 802BB214 002B8174 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802BB218 002B8178 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 802BB21C 002B817C 7C 08 03 A6 */ mtlr r0 +/* 802BB220 002B8180 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802BB224 002B8184 4E 80 00 20 */ blr + +.global DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff +DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff: +/* 802BB228 002B8188 94 21 FD B0 */ stwu r1, -0x250(r1) +/* 802BB22C 002B818C 7C 08 02 A6 */ mflr r0 +/* 802BB230 002B8190 90 01 02 54 */ stw r0, 0x254(r1) +/* 802BB234 002B8194 DB E1 02 40 */ stfd f31, 0x240(r1) +/* 802BB238 002B8198 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 +/* 802BB23C 002B819C DB C1 02 30 */ stfd f30, 0x230(r1) +/* 802BB240 002B81A0 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 +/* 802BB244 002B81A4 BF 21 02 14 */ stmw r25, 0x214(r1) +/* 802BB248 002B81A8 7C BD 2B 78 */ mr r29, r5 +/* 802BB24C 002B81AC 38 00 00 00 */ li r0, 0 +/* 802BB250 002B81B0 7C 7B 1B 78 */ mr r27, r3 +/* 802BB254 002B81B4 FF E0 08 90 */ fmr f31, f1 +/* 802BB258 002B81B8 54 A3 20 36 */ slwi r3, r5, 4 +/* 802BB25C 002B81BC 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB260 002B81C0 7F DB 1A 14 */ add r30, r27, r3 +/* 802BB264 002B81C4 7C 9C 23 78 */ mr r28, r4 +/* 802BB268 002B81C8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802BB26C 002B81CC C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BB270 002B81D0 3B 40 00 00 */ li r26, 0 +/* 802BB274 002B81D4 FC 20 0A 10 */ fabs f1, f1 +/* 802BB278 002B81D8 90 01 01 70 */ stw r0, 0x170(r1) +/* 802BB27C 002B81DC FC 00 02 10 */ fabs f0, f0 +/* 802BB280 002B81E0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BB284 002B81E4 40 81 00 08 */ ble lbl_802BB28C +/* 802BB288 002B81E8 3B 40 00 01 */ li r26, 1 +lbl_802BB28C: +/* 802BB28C 002B81EC 57 40 10 3A */ slwi r0, r26, 2 +/* 802BB290 002B81F0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802BB294 002B81F4 7C 3E 04 2E */ lfsx f1, r30, r0 +/* 802BB298 002B81F8 FC 40 02 10 */ fabs f2, f0 +/* 802BB29C 002B81FC FC 00 0A 10 */ fabs f0, f1 +/* 802BB2A0 002B8200 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802BB2A4 002B8204 40 81 00 08 */ ble lbl_802BB2AC +/* 802BB2A8 002B8208 3B 40 00 02 */ li r26, 2 +lbl_802BB2AC: +/* 802BB2AC 002B820C C0 9E 00 04 */ lfs f4, 4(r30) +/* 802BB2B0 002B8210 38 61 01 58 */ addi r3, r1, 0x158 +/* 802BB2B4 002B8214 C0 E6 00 04 */ lfs f7, 4(r6) +/* 802BB2B8 002B8218 38 81 00 14 */ addi r4, r1, 0x14 +/* 802BB2BC 002B821C C0 5E 00 00 */ lfs f2, 0(r30) +/* 802BB2C0 002B8220 EC 04 01 F2 */ fmuls f0, f4, f7 +/* 802BB2C4 002B8224 C0 C6 00 00 */ lfs f6, 0(r6) +/* 802BB2C8 002B8228 C0 BE 00 08 */ lfs f5, 8(r30) +/* 802BB2CC 002B822C C1 06 00 08 */ lfs f8, 8(r6) +/* 802BB2D0 002B8230 EC 22 01 BA */ fmadds f1, f2, f6, f0 +/* 802BB2D4 002B8234 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802BB2D8 002B8238 EC 25 0A 3A */ fmadds f1, f5, f8, f1 +/* 802BB2DC 002B823C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802BB2E0 002B8240 EC 60 00 B2 */ fmuls f3, f0, f2 +/* 802BB2E4 002B8244 EC 40 01 32 */ fmuls f2, f0, f4 +/* 802BB2E8 002B8248 EC 20 01 72 */ fmuls f1, f0, f5 +/* 802BB2EC 002B824C EC 06 18 28 */ fsubs f0, f6, f3 +/* 802BB2F0 002B8250 D0 61 00 08 */ stfs f3, 8(r1) +/* 802BB2F4 002B8254 EC 87 10 28 */ fsubs f4, f7, f2 +/* 802BB2F8 002B8258 EC 68 08 28 */ fsubs f3, f8, f1 +/* 802BB2FC 002B825C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802BB300 002B8260 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802BB304 002B8264 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802BB308 002B8268 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802BB30C 002B826C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802BB310 002B8270 48 05 92 75 */ bl __ct__9CVector3dFRC9CVector3f +/* 802BB314 002B8274 57 40 10 3A */ slwi r0, r26, 2 +/* 802BB318 002B8278 C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BB31C 002B827C C0 22 C2 A8 */ lfs f1, lbl_805ADFC8@sda21(r2) +/* 802BB320 002B8280 2C 1A 00 01 */ cmpwi r26, 1 +/* 802BB324 002B8284 7C 1E 04 2E */ lfsx f0, r30, r0 +/* 802BB328 002B8288 FC 00 10 6E */ fsel f0, f0, f1, f2 +/* 802BB32C 002B828C FF C0 00 90 */ fmr f30, f0 +/* 802BB330 002B8290 40 82 00 08 */ bne lbl_802BB338 +/* 802BB334 002B8294 FF C0 00 50 */ fneg f30, f0 +lbl_802BB338: +/* 802BB338 002B8298 C8 22 C2 F0 */ lfd f1, lbl_805AE010@sda21(r2) +/* 802BB33C 002B829C 38 61 01 40 */ addi r3, r1, 0x140 +/* 802BB340 002B82A0 FC 40 08 90 */ fmr f2, f1 +/* 802BB344 002B82A4 FC 60 08 90 */ fmr f3, f1 +/* 802BB348 002B82A8 48 05 92 59 */ bl __ct__9CVector3dFddd +/* 802BB34C 002B82AC C8 22 C2 F0 */ lfd f1, lbl_805AE010@sda21(r2) +/* 802BB350 002B82B0 38 61 01 28 */ addi r3, r1, 0x128 +/* 802BB354 002B82B4 FC 40 08 90 */ fmr f2, f1 +/* 802BB358 002B82B8 FC 60 08 90 */ fmr f3, f1 +/* 802BB35C 002B82BC 48 05 92 45 */ bl __ct__9CVector3dFddd +/* 802BB360 002B82C0 3C 60 80 3D */ lis r3, lbl_803D65FC@ha +/* 802BB364 002B82C4 57 40 18 38 */ slwi r0, r26, 3 +/* 802BB368 002B82C8 38 83 65 FC */ addi r4, r3, lbl_803D65FC@l +/* 802BB36C 002B82CC EC 1F 07 B2 */ fmuls f0, f31, f30 +/* 802BB370 002B82D0 7C 64 02 14 */ add r3, r4, r0 +/* 802BB374 002B82D4 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802BB378 002B82D8 80 03 00 04 */ lwz r0, 4(r3) +/* 802BB37C 002B82DC 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB380 002B82E0 54 83 18 38 */ slwi r3, r4, 3 +/* 802BB384 002B82E4 38 C1 01 28 */ addi r6, r1, 0x128 +/* 802BB388 002B82E8 54 00 18 38 */ slwi r0, r0, 3 +/* 802BB38C 002B82EC 7F E5 1D AE */ stfdx f31, r5, r3 +/* 802BB390 002B82F0 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802BB394 002B82F4 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB398 002B82F8 7C 06 05 AE */ stfdx f0, r6, r0 +/* 802BB39C 002B82FC 48 05 8F F9 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB3A0 002B8300 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802BB3A4 002B8304 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802BB3A8 002B8308 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB3AC 002B830C 48 05 8F E9 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB3B0 002B8310 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB3B4 002B8314 3B E1 01 A8 */ addi r31, r1, 0x1a8 +/* 802BB3B8 002B8318 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB3BC 002B831C 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB3C0 002B8320 41 82 00 1C */ beq lbl_802BB3DC +/* 802BB3C4 002B8324 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 802BB3C8 002B8328 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802BB3CC 002B832C D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB3D0 002B8330 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802BB3D4 002B8334 D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB3D8 002B8338 D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB3DC: +/* 802BB3DC 002B833C 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB3E0 002B8340 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802BB3E4 002B8344 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB3E8 002B8348 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB3EC 002B834C 38 06 00 01 */ addi r0, r6, 1 +/* 802BB3F0 002B8350 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB3F4 002B8354 48 05 8F E5 */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB3F8 002B8358 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802BB3FC 002B835C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802BB400 002B8360 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB404 002B8364 48 05 8F 91 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB408 002B8368 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB40C 002B836C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB410 002B8370 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB414 002B8374 41 82 00 1C */ beq lbl_802BB430 +/* 802BB418 002B8378 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802BB41C 002B837C C8 21 00 D0 */ lfd f1, 0xd0(r1) +/* 802BB420 002B8380 D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB424 002B8384 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802BB428 002B8388 D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB42C 002B838C D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB430: +/* 802BB430 002B8390 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB434 002B8394 38 61 00 80 */ addi r3, r1, 0x80 +/* 802BB438 002B8398 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB43C 002B839C 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB440 002B83A0 38 06 00 01 */ addi r0, r6, 1 +/* 802BB444 002B83A4 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB448 002B83A8 48 05 8F 91 */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB44C 002B83AC 38 61 00 98 */ addi r3, r1, 0x98 +/* 802BB450 002B83B0 38 81 00 80 */ addi r4, r1, 0x80 +/* 802BB454 002B83B4 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB458 002B83B8 48 05 8F 81 */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB45C 002B83BC 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB460 002B83C0 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB464 002B83C4 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB468 002B83C8 41 82 00 1C */ beq lbl_802BB484 +/* 802BB46C 002B83CC C8 01 00 98 */ lfd f0, 0x98(r1) +/* 802BB470 002B83D0 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802BB474 002B83D4 D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB478 002B83D8 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 802BB47C 002B83DC D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB480 002B83E0 D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB484: +/* 802BB484 002B83E4 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB488 002B83E8 38 61 00 50 */ addi r3, r1, 0x50 +/* 802BB48C 002B83EC 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB490 002B83F0 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB494 002B83F4 38 06 00 01 */ addi r0, r6, 1 +/* 802BB498 002B83F8 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB49C 002B83FC 48 05 8E F9 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB4A0 002B8400 38 61 00 68 */ addi r3, r1, 0x68 +/* 802BB4A4 002B8404 38 81 00 50 */ addi r4, r1, 0x50 +/* 802BB4A8 002B8408 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB4AC 002B840C 48 05 8F 2D */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB4B0 002B8410 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB4B4 002B8414 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB4B8 002B8418 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB4BC 002B841C 41 82 00 1C */ beq lbl_802BB4D8 +/* 802BB4C0 002B8420 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802BB4C4 002B8424 C8 21 00 70 */ lfd f1, 0x70(r1) +/* 802BB4C8 002B8428 D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB4CC 002B842C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 802BB4D0 002B8430 D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB4D4 002B8434 D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB4D8: +/* 802BB4D8 002B8438 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 802BB4DC 002B843C 3B 41 01 74 */ addi r26, r1, 0x174 +/* 802BB4E0 002B8440 3B 20 00 00 */ li r25, 0 +/* 802BB4E4 002B8444 38 03 00 01 */ addi r0, r3, 1 +/* 802BB4E8 002B8448 90 01 01 A4 */ stw r0, 0x1a4(r1) +lbl_802BB4EC: +/* 802BB4EC 002B844C 7F C4 F3 78 */ mr r4, r30 +/* 802BB4F0 002B8450 38 61 01 10 */ addi r3, r1, 0x110 +/* 802BB4F4 002B8454 48 05 90 91 */ bl __ct__9CVector3dFRC9CVector3f +/* 802BB4F8 002B8458 C8 3F 00 08 */ lfd f1, 8(r31) +/* 802BB4FC 002B845C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BB500 002B8460 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 802BB504 002B8464 38 81 01 10 */ addi r4, r1, 0x110 +/* 802BB508 002B8468 C8 7F 00 00 */ lfd f3, 0(r31) +/* 802BB50C 002B846C FC 21 00 32 */ fmul f1, f1, f0 +/* 802BB510 002B8470 C8 41 01 10 */ lfd f2, 0x110(r1) +/* 802BB514 002B8474 C8 BF 00 10 */ lfd f5, 0x10(r31) +/* 802BB518 002B8478 C8 81 01 20 */ lfd f4, 0x120(r1) +/* 802BB51C 002B847C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802BB520 002B8480 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802BB524 002B8484 FC 25 09 3A */ fmadd f1, f5, f4, f1 +/* 802BB528 002B8488 FC 21 00 28 */ fsub f1, f1, f0 +/* 802BB52C 002B848C 48 05 8E 2D */ bl __ml__FdRC9CVector3d +/* 802BB530 002B8490 7F E4 FB 78 */ mr r4, r31 +/* 802BB534 002B8494 38 61 00 38 */ addi r3, r1, 0x38 +/* 802BB538 002B8498 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802BB53C 002B849C 48 05 8E 59 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB540 002B84A0 80 01 01 70 */ lwz r0, 0x170(r1) +/* 802BB544 002B84A4 C8 41 00 48 */ lfd f2, 0x48(r1) +/* 802BB548 002B84A8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BB54C 002B84AC C8 21 00 40 */ lfd f1, 0x40(r1) +/* 802BB550 002B84B0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802BB554 002B84B4 FC 40 10 18 */ frsp f2, f2 +/* 802BB558 002B84B8 FC 20 08 18 */ frsp f1, f1 +/* 802BB55C 002B84BC FC 00 00 18 */ frsp f0, f0 +/* 802BB560 002B84C0 7C 7A 02 15 */ add. r3, r26, r0 +/* 802BB564 002B84C4 41 82 00 10 */ beq lbl_802BB574 +/* 802BB568 002B84C8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802BB56C 002B84CC D0 23 00 04 */ stfs f1, 4(r3) +/* 802BB570 002B84D0 D0 43 00 08 */ stfs f2, 8(r3) +lbl_802BB574: +/* 802BB574 002B84D4 80 61 01 70 */ lwz r3, 0x170(r1) +/* 802BB578 002B84D8 3B 39 00 01 */ addi r25, r25, 1 +/* 802BB57C 002B84DC 2C 19 00 04 */ cmpwi r25, 4 +/* 802BB580 002B84E0 3B FF 00 18 */ addi r31, r31, 0x18 +/* 802BB584 002B84E4 38 03 00 01 */ addi r0, r3, 1 +/* 802BB588 002B84E8 90 01 01 70 */ stw r0, 0x170(r1) +/* 802BB58C 002B84EC 41 80 FF 60 */ blt lbl_802BB4EC +/* 802BB590 002B84F0 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB594 002B84F4 7F 63 DB 78 */ mr r3, r27 +/* 802BB598 002B84F8 7F 84 E3 78 */ mr r4, r28 +/* 802BB59C 002B84FC 7F 45 D3 78 */ mr r5, r26 +/* 802BB5A0 002B8500 7F A7 EB 78 */ mr r7, r29 +/* 802BB5A4 002B8504 39 00 00 00 */ li r8, 0 +/* 802BB5A8 002B8508 48 00 00 CD */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +/* 802BB5AC 002B850C 80 A1 01 70 */ lwz r5, 0x170(r1) +/* 802BB5B0 002B8510 38 60 00 00 */ li r3, 0 +/* 802BB5B4 002B8514 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB5B8 002B8518 40 81 00 40 */ ble lbl_802BB5F8 +/* 802BB5BC 002B851C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB5C0 002B8520 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB5C4 002B8524 40 81 00 20 */ ble lbl_802BB5E4 +/* 802BB5C8 002B8528 38 04 00 07 */ addi r0, r4, 7 +/* 802BB5CC 002B852C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB5D0 002B8530 7C 09 03 A6 */ mtctr r0 +/* 802BB5D4 002B8534 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB5D8 002B8538 40 81 00 0C */ ble lbl_802BB5E4 +lbl_802BB5DC: +/* 802BB5DC 002B853C 38 63 00 08 */ addi r3, r3, 8 +/* 802BB5E0 002B8540 42 00 FF FC */ bdnz lbl_802BB5DC +lbl_802BB5E4: +/* 802BB5E4 002B8544 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB5E8 002B8548 7C 09 03 A6 */ mtctr r0 +/* 802BB5EC 002B854C 7C 03 28 00 */ cmpw r3, r5 +/* 802BB5F0 002B8550 40 80 00 08 */ bge lbl_802BB5F8 +lbl_802BB5F4: +/* 802BB5F4 002B8554 42 00 00 00 */ bdnz lbl_802BB5F4 +lbl_802BB5F8: +/* 802BB5F8 002B8558 80 A1 01 A4 */ lwz r5, 0x1a4(r1) +/* 802BB5FC 002B855C 38 60 00 00 */ li r3, 0 +/* 802BB600 002B8560 90 61 01 70 */ stw r3, 0x170(r1) +/* 802BB604 002B8564 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB608 002B8568 40 81 00 40 */ ble lbl_802BB648 +/* 802BB60C 002B856C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB610 002B8570 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB614 002B8574 40 81 00 20 */ ble lbl_802BB634 +/* 802BB618 002B8578 38 04 00 07 */ addi r0, r4, 7 +/* 802BB61C 002B857C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB620 002B8580 7C 09 03 A6 */ mtctr r0 +/* 802BB624 002B8584 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB628 002B8588 40 81 00 0C */ ble lbl_802BB634 +lbl_802BB62C: +/* 802BB62C 002B858C 38 63 00 08 */ addi r3, r3, 8 +/* 802BB630 002B8590 42 00 FF FC */ bdnz lbl_802BB62C +lbl_802BB634: +/* 802BB634 002B8594 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB638 002B8598 7C 09 03 A6 */ mtctr r0 +/* 802BB63C 002B859C 7C 03 28 00 */ cmpw r3, r5 +/* 802BB640 002B85A0 40 80 00 08 */ bge lbl_802BB648 +lbl_802BB644: +/* 802BB644 002B85A4 42 00 00 00 */ bdnz lbl_802BB644 +lbl_802BB648: +/* 802BB648 002B85A8 38 00 00 00 */ li r0, 0 +/* 802BB64C 002B85AC 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB650 002B85B0 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 +/* 802BB654 002B85B4 CB E1 02 40 */ lfd f31, 0x240(r1) +/* 802BB658 002B85B8 E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 +/* 802BB65C 002B85BC CB C1 02 30 */ lfd f30, 0x230(r1) +/* 802BB660 002B85C0 BB 21 02 14 */ lmw r25, 0x214(r1) +/* 802BB664 002B85C4 80 01 02 54 */ lwz r0, 0x254(r1) +/* 802BB668 002B85C8 7C 08 03 A6 */ mtlr r0 +/* 802BB66C 002B85CC 38 21 02 50 */ addi r1, r1, 0x250 +/* 802BB670 002B85D0 4E 80 00 20 */ blr + +.global DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii: +/* 802BB674 002B85D4 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802BB678 002B85D8 7C 08 02 A6 */ mflr r0 +/* 802BB67C 002B85DC 90 01 01 54 */ stw r0, 0x154(r1) +/* 802BB680 002B85E0 BE 41 01 18 */ stmw r18, 0x118(r1) +/* 802BB684 002B85E4 7C F7 3B 78 */ mr r23, r7 +/* 802BB688 002B85E8 7D 18 43 78 */ mr r24, r8 +/* 802BB68C 002B85EC 7C 73 1B 78 */ mr r19, r3 +/* 802BB690 002B85F0 7C 18 B8 00 */ cmpw r24, r23 +/* 802BB694 002B85F4 7C 94 23 78 */ mr r20, r4 +/* 802BB698 002B85F8 7C B5 2B 78 */ mr r21, r5 +/* 802BB69C 002B85FC 7C D6 33 78 */ mr r22, r6 +/* 802BB6A0 002B8600 40 82 00 10 */ bne lbl_802BB6B0 +/* 802BB6A4 002B8604 39 18 00 01 */ addi r8, r24, 1 +/* 802BB6A8 002B8608 4B FF FF CD */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +/* 802BB6AC 002B860C 48 00 02 98 */ b lbl_802BB944 +lbl_802BB6B0: +/* 802BB6B0 002B8610 7C 18 A0 00 */ cmpw r24, r20 +/* 802BB6B4 002B8614 40 82 00 14 */ bne lbl_802BB6C8 +/* 802BB6B8 002B8618 7E A3 AB 78 */ mr r3, r21 +/* 802BB6BC 002B861C 7E C4 B3 78 */ mr r4, r22 +/* 802BB6C0 002B8620 48 00 02 99 */ bl DrawFogFan__13CCubeRendererFPC9CVector3fi +/* 802BB6C4 002B8624 48 00 02 80 */ b lbl_802BB944 +lbl_802BB6C8: +/* 802BB6C8 002B8628 38 60 00 00 */ li r3, 0 +/* 802BB6CC 002B862C 57 00 20 36 */ slwi r0, r24, 4 +/* 802BB6D0 002B8630 90 61 00 20 */ stw r3, 0x20(r1) +/* 802BB6D4 002B8634 7F 53 02 14 */ add r26, r19, r0 +/* 802BB6D8 002B8638 3B 81 00 0C */ addi r28, r1, 0xc +/* 802BB6DC 002B863C 90 61 00 08 */ stw r3, 8(r1) +/* 802BB6E0 002B8640 7E C9 03 A6 */ mtctr r22 +/* 802BB6E4 002B8644 2C 16 00 00 */ cmpwi r22, 0 +/* 802BB6E8 002B8648 40 81 00 68 */ ble lbl_802BB750 +lbl_802BB6EC: +/* 802BB6EC 002B864C C0 3A 00 04 */ lfs f1, 4(r26) +/* 802BB6F0 002B8650 C0 05 00 04 */ lfs f0, 4(r5) +/* 802BB6F4 002B8654 C0 5A 00 00 */ lfs f2, 0(r26) +/* 802BB6F8 002B8658 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BB6FC 002B865C C0 25 00 00 */ lfs f1, 0(r5) +/* 802BB700 002B8660 C0 9A 00 08 */ lfs f4, 8(r26) +/* 802BB704 002B8664 C0 65 00 08 */ lfs f3, 8(r5) +/* 802BB708 002B8668 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802BB70C 002B866C C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 802BB710 002B8670 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 802BB714 002B8674 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB718 002B8678 4C 41 13 82 */ cror 2, 1, 2 +/* 802BB71C 002B867C 7C 60 00 26 */ mfcr r3 +/* 802BB720 002B8680 80 01 00 08 */ lwz r0, 8(r1) +/* 802BB724 002B8684 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f +/* 802BB728 002B8688 7C 63 00 34 */ cntlzw r3, r3 +/* 802BB72C 002B868C 7C 9C 02 15 */ add. r4, r28, r0 +/* 802BB730 002B8690 54 60 D9 7E */ srwi r0, r3, 5 +/* 802BB734 002B8694 41 82 00 08 */ beq lbl_802BB73C +/* 802BB738 002B8698 98 04 00 00 */ stb r0, 0(r4) +lbl_802BB73C: +/* 802BB73C 002B869C 80 61 00 08 */ lwz r3, 8(r1) +/* 802BB740 002B86A0 38 A5 00 0C */ addi r5, r5, 0xc +/* 802BB744 002B86A4 38 03 00 01 */ addi r0, r3, 1 +/* 802BB748 002B86A8 90 01 00 08 */ stw r0, 8(r1) +/* 802BB74C 002B86AC 42 00 FF A0 */ bdnz lbl_802BB6EC +lbl_802BB750: +/* 802BB750 002B86B0 7F 9E E3 78 */ mr r30, r28 +/* 802BB754 002B86B4 7E BD AB 78 */ mr r29, r21 +/* 802BB758 002B86B8 3B 61 00 24 */ addi r27, r1, 0x24 +/* 802BB75C 002B86BC 3B F6 FF FF */ addi r31, r22, -1 +/* 802BB760 002B86C0 3B 20 00 00 */ li r25, 0 +/* 802BB764 002B86C4 48 00 01 10 */ b lbl_802BB874 +lbl_802BB768: +/* 802BB768 002B86C8 7C 7F C8 50 */ subf r3, r31, r25 +/* 802BB76C 002B86CC 7C 19 F8 50 */ subf r0, r25, r31 +/* 802BB770 002B86D0 7C 63 03 78 */ or r3, r3, r0 +/* 802BB774 002B86D4 7C 64 FE 70 */ srawi r4, r3, 0x1f +/* 802BB778 002B86D8 38 19 00 01 */ addi r0, r25, 1 +/* 802BB77C 002B86DC 7C 04 20 38 */ and r4, r0, r4 +/* 802BB780 002B86E0 88 7E 00 00 */ lbz r3, 0(r30) +/* 802BB784 002B86E4 7C 1C 20 AE */ lbzx r0, r28, r4 +/* 802BB788 002B86E8 54 00 08 3C */ slwi r0, r0, 1 +/* 802BB78C 002B86EC 7C 65 03 78 */ or r5, r3, r0 +/* 802BB790 002B86F0 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 802BB794 002B86F4 40 82 00 38 */ bne lbl_802BB7CC +/* 802BB798 002B86F8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802BB79C 002B86FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BB7A0 002B8700 7C 7B 02 15 */ add. r3, r27, r0 +/* 802BB7A4 002B8704 41 82 00 1C */ beq lbl_802BB7C0 +/* 802BB7A8 002B8708 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802BB7AC 002B870C C0 3D 00 04 */ lfs f1, 4(r29) +/* 802BB7B0 002B8710 D0 03 00 00 */ stfs f0, 0(r3) +/* 802BB7B4 002B8714 C0 1D 00 08 */ lfs f0, 8(r29) +/* 802BB7B8 002B8718 D0 23 00 04 */ stfs f1, 4(r3) +/* 802BB7BC 002B871C D0 03 00 08 */ stfs f0, 8(r3) +lbl_802BB7C0: +/* 802BB7C0 002B8720 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802BB7C4 002B8724 38 03 00 01 */ addi r0, r3, 1 +/* 802BB7C8 002B8728 90 01 00 20 */ stw r0, 0x20(r1) +lbl_802BB7CC: +/* 802BB7CC 002B872C 2C 05 00 01 */ cmpwi r5, 1 +/* 802BB7D0 002B8730 41 82 00 0C */ beq lbl_802BB7DC +/* 802BB7D4 002B8734 2C 05 00 02 */ cmpwi r5, 2 +/* 802BB7D8 002B8738 40 82 00 90 */ bne lbl_802BB868 +lbl_802BB7DC: +/* 802BB7DC 002B873C 1C 04 00 0C */ mulli r0, r4, 0xc +/* 802BB7E0 002B8740 7F 43 D3 78 */ mr r3, r26 +/* 802BB7E4 002B8744 7F A4 EB 78 */ mr r4, r29 +/* 802BB7E8 002B8748 7E 55 02 14 */ add r18, r21, r0 +/* 802BB7EC 002B874C 7E 45 93 78 */ mr r5, r18 +/* 802BB7F0 002B8750 48 07 B8 1D */ bl ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f +/* 802BB7F4 002B8754 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BB7F8 002B8758 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB7FC 002B875C 40 81 00 6C */ ble lbl_802BB868 +/* 802BB800 002B8760 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BB804 002B8764 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB808 002B8768 40 80 00 60 */ bge lbl_802BB868 +/* 802BB80C 002B876C C0 72 00 00 */ lfs f3, 0(r18) +/* 802BB810 002B8770 EC C0 08 28 */ fsubs f6, f0, f1 +/* 802BB814 002B8774 C0 52 00 04 */ lfs f2, 4(r18) +/* 802BB818 002B8778 C0 12 00 08 */ lfs f0, 8(r18) +/* 802BB81C 002B877C EC 83 00 72 */ fmuls f4, f3, f1 +/* 802BB820 002B8780 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802BB824 002B8784 EC 42 00 72 */ fmuls f2, f2, f1 +/* 802BB828 002B8788 C0 BD 00 00 */ lfs f5, 0(r29) +/* 802BB82C 002B878C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802BB830 002B8790 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BB834 002B8794 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802BB838 002B8798 EC 85 21 BA */ fmadds f4, f5, f6, f4 +/* 802BB83C 002B879C C0 3D 00 08 */ lfs f1, 8(r29) +/* 802BB840 002B87A0 EC 43 11 BA */ fmadds f2, f3, f6, f2 +/* 802BB844 002B87A4 7C 7B 02 15 */ add. r3, r27, r0 +/* 802BB848 002B87A8 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 802BB84C 002B87AC 41 82 00 10 */ beq lbl_802BB85C +/* 802BB850 002B87B0 D0 83 00 00 */ stfs f4, 0(r3) +/* 802BB854 002B87B4 D0 43 00 04 */ stfs f2, 4(r3) +/* 802BB858 002B87B8 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802BB85C: +/* 802BB85C 002B87BC 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802BB860 002B87C0 38 03 00 01 */ addi r0, r3, 1 +/* 802BB864 002B87C4 90 01 00 20 */ stw r0, 0x20(r1) +lbl_802BB868: +/* 802BB868 002B87C8 3B DE 00 01 */ addi r30, r30, 1 +/* 802BB86C 002B87CC 3B BD 00 0C */ addi r29, r29, 0xc +/* 802BB870 002B87D0 3B 39 00 01 */ addi r25, r25, 1 +lbl_802BB874: +/* 802BB874 002B87D4 7C 19 B0 00 */ cmpw r25, r22 +/* 802BB878 002B87D8 41 80 FE F0 */ blt lbl_802BB768 +/* 802BB87C 002B87DC 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 802BB880 002B87E0 2C 06 00 03 */ cmpwi r6, 3 +/* 802BB884 002B87E4 41 80 00 1C */ blt lbl_802BB8A0 +/* 802BB888 002B87E8 7E 63 9B 78 */ mr r3, r19 +/* 802BB88C 002B87EC 7E 84 A3 78 */ mr r4, r20 +/* 802BB890 002B87F0 7F 65 DB 78 */ mr r5, r27 +/* 802BB894 002B87F4 7E E7 BB 78 */ mr r7, r23 +/* 802BB898 002B87F8 39 18 00 01 */ addi r8, r24, 1 +/* 802BB89C 002B87FC 4B FF FD D9 */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +lbl_802BB8A0: +/* 802BB8A0 002B8800 80 A1 00 08 */ lwz r5, 8(r1) +/* 802BB8A4 002B8804 38 60 00 00 */ li r3, 0 +/* 802BB8A8 002B8808 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB8AC 002B880C 40 81 00 40 */ ble lbl_802BB8EC +/* 802BB8B0 002B8810 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB8B4 002B8814 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB8B8 002B8818 40 81 00 20 */ ble lbl_802BB8D8 +/* 802BB8BC 002B881C 38 04 00 07 */ addi r0, r4, 7 +/* 802BB8C0 002B8820 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB8C4 002B8824 7C 09 03 A6 */ mtctr r0 +/* 802BB8C8 002B8828 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB8CC 002B882C 40 81 00 0C */ ble lbl_802BB8D8 +lbl_802BB8D0: +/* 802BB8D0 002B8830 38 63 00 08 */ addi r3, r3, 8 +/* 802BB8D4 002B8834 42 00 FF FC */ bdnz lbl_802BB8D0 +lbl_802BB8D8: +/* 802BB8D8 002B8838 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB8DC 002B883C 7C 09 03 A6 */ mtctr r0 +/* 802BB8E0 002B8840 7C 03 28 00 */ cmpw r3, r5 +/* 802BB8E4 002B8844 40 80 00 08 */ bge lbl_802BB8EC +lbl_802BB8E8: +/* 802BB8E8 002B8848 42 00 00 00 */ bdnz lbl_802BB8E8 +lbl_802BB8EC: +/* 802BB8EC 002B884C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802BB8F0 002B8850 38 60 00 00 */ li r3, 0 +/* 802BB8F4 002B8854 90 61 00 08 */ stw r3, 8(r1) +/* 802BB8F8 002B8858 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB8FC 002B885C 40 81 00 40 */ ble lbl_802BB93C +/* 802BB900 002B8860 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB904 002B8864 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB908 002B8868 40 81 00 20 */ ble lbl_802BB928 +/* 802BB90C 002B886C 38 04 00 07 */ addi r0, r4, 7 +/* 802BB910 002B8870 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB914 002B8874 7C 09 03 A6 */ mtctr r0 +/* 802BB918 002B8878 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB91C 002B887C 40 81 00 0C */ ble lbl_802BB928 +lbl_802BB920: +/* 802BB920 002B8880 38 63 00 08 */ addi r3, r3, 8 +/* 802BB924 002B8884 42 00 FF FC */ bdnz lbl_802BB920 +lbl_802BB928: +/* 802BB928 002B8888 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB92C 002B888C 7C 09 03 A6 */ mtctr r0 +/* 802BB930 002B8890 7C 03 28 00 */ cmpw r3, r5 +/* 802BB934 002B8894 40 80 00 08 */ bge lbl_802BB93C +lbl_802BB938: +/* 802BB938 002B8898 42 00 00 00 */ bdnz lbl_802BB938 +lbl_802BB93C: +/* 802BB93C 002B889C 38 00 00 00 */ li r0, 0 +/* 802BB940 002B88A0 90 01 00 20 */ stw r0, 0x20(r1) +lbl_802BB944: +/* 802BB944 002B88A4 BA 41 01 18 */ lmw r18, 0x118(r1) +/* 802BB948 002B88A8 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802BB94C 002B88AC 7C 08 03 A6 */ mtlr r0 +/* 802BB950 002B88B0 38 21 01 50 */ addi r1, r1, 0x150 +/* 802BB954 002B88B4 4E 80 00 20 */ blr + +.global DrawFogFan__13CCubeRendererFPC9CVector3fi +DrawFogFan__13CCubeRendererFPC9CVector3fi: +/* 802BB958 002B88B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BB95C 002B88BC 7C 08 02 A6 */ mflr r0 +/* 802BB960 002B88C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BB964 002B88C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BB968 002B88C8 7C 9F 23 78 */ mr r31, r4 +/* 802BB96C 002B88CC 2C 1F 00 03 */ cmpwi r31, 3 +/* 802BB970 002B88D0 93 C1 00 08 */ stw r30, 8(r1) +/* 802BB974 002B88D4 7C 7E 1B 78 */ mr r30, r3 +/* 802BB978 002B88D8 41 80 01 54 */ blt lbl_802BBACC +/* 802BB97C 002B88DC 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 802BB980 002B88E0 38 60 00 A0 */ li r3, 0xa0 +/* 802BB984 002B88E4 38 80 00 00 */ li r4, 0 +/* 802BB988 002B88E8 48 04 CB FD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BB98C 002B88EC 2C 1F 00 00 */ cmpwi r31, 0 +/* 802BB990 002B88F0 38 C0 00 00 */ li r6, 0 +/* 802BB994 002B88F4 40 81 01 34 */ ble lbl_802BBAC8 +/* 802BB998 002B88F8 2C 1F 00 08 */ cmpwi r31, 8 +/* 802BB99C 002B88FC 38 9F FF F8 */ addi r4, r31, -8 +/* 802BB9A0 002B8900 40 81 00 EC */ ble lbl_802BBA8C +/* 802BB9A4 002B8904 38 04 00 07 */ addi r0, r4, 7 +/* 802BB9A8 002B8908 7F C5 F3 78 */ mr r5, r30 +/* 802BB9AC 002B890C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB9B0 002B8910 3C 60 CC 01 */ lis r3, 0xcc01 +/* 802BB9B4 002B8914 7C 09 03 A6 */ mtctr r0 +/* 802BB9B8 002B8918 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB9BC 002B891C 40 81 00 D0 */ ble lbl_802BBA8C +lbl_802BB9C0: +/* 802BB9C0 002B8920 C0 05 00 08 */ lfs f0, 8(r5) +/* 802BB9C4 002B8924 38 C6 00 08 */ addi r6, r6, 8 +/* 802BB9C8 002B8928 C0 25 00 04 */ lfs f1, 4(r5) +/* 802BB9CC 002B892C C0 45 00 00 */ lfs f2, 0(r5) +/* 802BB9D0 002B8930 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BB9D4 002B8934 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BB9D8 002B8938 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BB9DC 002B893C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802BB9E0 002B8940 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802BB9E4 002B8944 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802BB9E8 002B8948 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BB9EC 002B894C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BB9F0 002B8950 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BB9F4 002B8954 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802BB9F8 002B8958 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 802BB9FC 002B895C C0 45 00 18 */ lfs f2, 0x18(r5) +/* 802BBA00 002B8960 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA04 002B8964 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA08 002B8968 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA0C 002B896C C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 802BBA10 002B8970 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 802BBA14 002B8974 C0 45 00 24 */ lfs f2, 0x24(r5) +/* 802BBA18 002B8978 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA1C 002B897C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA20 002B8980 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA24 002B8984 C0 05 00 38 */ lfs f0, 0x38(r5) +/* 802BBA28 002B8988 C0 25 00 34 */ lfs f1, 0x34(r5) +/* 802BBA2C 002B898C C0 45 00 30 */ lfs f2, 0x30(r5) +/* 802BBA30 002B8990 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA34 002B8994 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA38 002B8998 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA3C 002B899C C0 05 00 44 */ lfs f0, 0x44(r5) +/* 802BBA40 002B89A0 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 802BBA44 002B89A4 C0 45 00 3C */ lfs f2, 0x3c(r5) +/* 802BBA48 002B89A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA4C 002B89AC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA50 002B89B0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA54 002B89B4 C0 05 00 50 */ lfs f0, 0x50(r5) +/* 802BBA58 002B89B8 C0 25 00 4C */ lfs f1, 0x4c(r5) +/* 802BBA5C 002B89BC C0 45 00 48 */ lfs f2, 0x48(r5) +/* 802BBA60 002B89C0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA64 002B89C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA68 002B89C8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA6C 002B89CC C0 25 00 5C */ lfs f1, 0x5c(r5) +/* 802BBA70 002B89D0 C0 45 00 58 */ lfs f2, 0x58(r5) +/* 802BBA74 002B89D4 C0 05 00 54 */ lfs f0, 0x54(r5) +/* 802BBA78 002B89D8 38 A5 00 60 */ addi r5, r5, 0x60 +/* 802BBA7C 002B89DC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA80 002B89E0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA84 002B89E4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA88 002B89E8 42 00 FF 38 */ bdnz lbl_802BB9C0 +lbl_802BBA8C: +/* 802BBA8C 002B89EC 1C 86 00 0C */ mulli r4, r6, 0xc +/* 802BBA90 002B89F0 7C 06 F8 50 */ subf r0, r6, r31 +/* 802BBA94 002B89F4 3C 60 CC 01 */ lis r3, 0xcc01 +/* 802BBA98 002B89F8 7C 9E 22 14 */ add r4, r30, r4 +/* 802BBA9C 002B89FC 7C 09 03 A6 */ mtctr r0 +/* 802BBAA0 002B8A00 7C 06 F8 00 */ cmpw r6, r31 +/* 802BBAA4 002B8A04 40 80 00 24 */ bge lbl_802BBAC8 +lbl_802BBAA8: +/* 802BBAA8 002B8A08 C0 24 00 08 */ lfs f1, 8(r4) +/* 802BBAAC 002B8A0C C0 44 00 04 */ lfs f2, 4(r4) +/* 802BBAB0 002B8A10 C0 04 00 00 */ lfs f0, 0(r4) +/* 802BBAB4 002B8A14 38 84 00 0C */ addi r4, r4, 0xc +/* 802BBAB8 002B8A18 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBABC 002B8A1C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBAC0 002B8A20 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBAC4 002B8A24 42 00 FF E4 */ bdnz lbl_802BBAA8 +lbl_802BBAC8: +/* 802BBAC8 002B8A28 48 04 CA B9 */ bl End__3CGXFv +lbl_802BBACC: +/* 802BBACC 002B8A2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BBAD0 002B8A30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BBAD4 002B8A34 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BBAD8 002B8A38 7C 08 03 A6 */ mtlr r0 +/* 802BBADC 002B8A3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BBAE0 002B8A40 4E 80 00 20 */ blr + +.global GetStaticWorldDataSize__13CCubeRendererFv +GetStaticWorldDataSize__13CCubeRendererFv: +/* 802BBAE4 002B8A44 80 83 00 20 */ lwz r4, 0x20(r3) +/* 802BBAE8 002B8A48 38 A0 00 00 */ li r5, 0 +/* 802BBAEC 002B8A4C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802BBAF0 002B8A50 48 00 00 20 */ b lbl_802BBB10 +lbl_802BBAF4: +/* 802BBAF4 002B8A54 80 C4 00 14 */ lwz r6, 0x14(r4) +/* 802BBAF8 002B8A58 28 06 00 00 */ cmplwi r6, 0 +/* 802BBAFC 002B8A5C 41 82 00 10 */ beq lbl_802BBB0C +/* 802BBB00 002B8A60 80 06 00 04 */ lwz r0, 4(r6) +/* 802BBB04 002B8A64 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BBB08 002B8A68 7C A5 02 14 */ add r5, r5, r0 +lbl_802BBB0C: +/* 802BBB0C 002B8A6C 80 84 00 04 */ lwz r4, 4(r4) +lbl_802BBB10: +/* 802BBB10 002B8A70 7C 04 18 40 */ cmplw r4, r3 +/* 802BBB14 002B8A74 40 82 FF E0 */ bne lbl_802BBAF4 +/* 802BBB18 002B8A78 7C A3 2B 78 */ mr r3, r5 +/* 802BBB1C 002B8A7C 4E 80 00 20 */ blr + +.global SetWorldFog__13CCubeRendererF11ERglFogModeffRC6CColor +SetWorldFog__13CCubeRendererF11ERglFogModeffRC6CColor: +/* 802BBB20 002B8A80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BBB24 002B8A84 7C 08 02 A6 */ mflr r0 +/* 802BBB28 002B8A88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BBB2C 002B8A8C 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BBB30 002B8A90 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802BBB34 002B8A94 41 82 00 08 */ beq lbl_802BBB3C +/* 802BBB38 002B8A98 38 80 00 00 */ li r4, 0 +lbl_802BBB3C: +/* 802BBB3C 002B8A9C 7C 83 23 78 */ mr r3, r4 +/* 802BBB40 002B8AA0 7C A4 2B 78 */ mr r4, r5 +/* 802BBB44 002B8AA4 48 04 E7 45 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor +/* 802BBB48 002B8AA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BBB4C 002B8AAC 7C 08 03 A6 */ mtlr r0 +/* 802BBB50 002B8AB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BBB54 002B8AB4 4E 80 00 20 */ blr + +.global SetWireframeFlags__13CCubeRendererFi +SetWireframeFlags__13CCubeRendererFi: +/* 802BBB58 002B8AB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BBB5C 002B8ABC 7C 08 02 A6 */ mflr r0 +/* 802BBB60 002B8AC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BBB64 002B8AC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BBB68 002B8AC8 7C 9F 23 78 */ mr r31, r4 +/* 802BBB6C 002B8ACC 93 C1 00 08 */ stw r30, 8(r1) +/* 802BBB70 002B8AD0 7C 7E 1B 78 */ mr r30, r3 +/* 802BBB74 002B8AD4 54 83 07 FE */ clrlwi r3, r4, 0x1f +/* 802BBB78 002B8AD8 38 03 FF FF */ addi r0, r3, -1 +/* 802BBB7C 002B8ADC 7C 00 00 34 */ cntlzw r0, r0 +/* 802BBB80 002B8AE0 54 03 D9 7E */ srwi r3, r0, 5 +/* 802BBB84 002B8AE4 48 04 AD 0D */ bl SetModelWireframe__10CCubeModelFb +/* 802BBB88 002B8AE8 57 E3 07 BC */ rlwinm r3, r31, 0, 0x1e, 0x1e +/* 802BBB8C 002B8AEC 88 1E 03 18 */ lbz r0, 0x318(r30) +/* 802BBB90 002B8AF0 38 63 FF FE */ addi r3, r3, -2 +/* 802BBB94 002B8AF4 7C 63 00 34 */ cntlzw r3, r3 +/* 802BBB98 002B8AF8 50 60 0E 72 */ rlwimi r0, r3, 1, 0x19, 0x19 +/* 802BBB9C 002B8AFC 98 1E 03 18 */ stb r0, 0x318(r30) +/* 802BBBA0 002B8B00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BBBA4 002B8B04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BBBA8 002B8B08 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BBBAC 002B8B0C 7C 08 03 A6 */ mtlr r0 +/* 802BBBB0 002B8B10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BBBB4 002B8B14 4E 80 00 20 */ blr + +.global _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +_DrawSpaceWarp__13CCubeRendererFRC9CVector3ff: +/* 802BBBB8 002B8B18 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802BBBBC 002B8B1C 7C 08 02 A6 */ mflr r0 +/* 802BBBC0 002B8B20 90 01 01 84 */ stw r0, 0x184(r1) +/* 802BBBC4 002B8B24 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 802BBBC8 002B8B28 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 802BBBCC 002B8B2C BF 41 01 58 */ stmw r26, 0x158(r1) +/* 802BBBD0 002B8B30 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 802BBBD4 002B8B34 3C E0 43 30 */ lis r7, 0x4330 +/* 802BBBD8 002B8B38 38 A5 D9 10 */ addi r5, r5, lbl_803ED910@l +/* 802BBBDC 002B8B3C C0 E4 00 04 */ lfs f7, 4(r4) +/* 802BBBE0 002B8B40 83 A5 00 08 */ lwz r29, 8(r5) +/* 802BBBE4 002B8B44 7C 7B 1B 78 */ mr r27, r3 +/* 802BBBE8 002B8B48 83 85 00 0C */ lwz r28, 0xc(r5) +/* 802BBBEC 002B8B4C FC 40 38 50 */ fneg f2, f7 +/* 802BBBF0 002B8B50 57 A0 0F FE */ srwi r0, r29, 0x1f +/* 802BBBF4 002B8B54 83 E5 00 00 */ lwz r31, 0(r5) +/* 802BBBF8 002B8B58 7C 60 EA 14 */ add r3, r0, r29 +/* 802BBBFC 002B8B5C 57 80 0F FE */ srwi r0, r28, 0x1f +/* 802BBC00 002B8B60 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BBC04 002B8B64 7C 00 E2 14 */ add r0, r0, r28 +/* 802BBC08 002B8B68 83 C5 00 04 */ lwz r30, 4(r5) +/* 802BBC0C 002B8B6C 6C 66 80 00 */ xoris r6, r3, 0x8000 +/* 802BBC10 002B8B70 6F E8 80 00 */ xoris r8, r31, 0x8000 +/* 802BBC14 002B8B74 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802BBC18 002B8B78 90 C1 00 FC */ stw r6, 0xfc(r1) +/* 802BBC1C 002B8B7C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBC20 002B8B80 6F C5 80 00 */ xoris r5, r30, 0x8000 +/* 802BBC24 002B8B84 90 E1 00 F8 */ stw r7, 0xf8(r1) +/* 802BBC28 002B8B88 FF E0 08 90 */ fmr f31, f1 +/* 802BBC2C 002B8B8C C8 A2 C2 A0 */ lfd f5, lbl_805ADFC0@sda21(r2) +/* 802BBC30 002B8B90 38 61 00 78 */ addi r3, r1, 0x78 +/* 802BBC34 002B8B94 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 802BBC38 002B8B98 C1 04 00 00 */ lfs f8, 0(r4) +/* 802BBC3C 002B8B9C 90 C1 01 04 */ stw r6, 0x104(r1) +/* 802BBC40 002B8BA0 EC 60 28 28 */ fsubs f3, f0, f5 +/* 802BBC44 002B8BA4 C0 C4 00 08 */ lfs f6, 8(r4) +/* 802BBC48 002B8BA8 90 E1 01 00 */ stw r7, 0x100(r1) +/* 802BBC4C 002B8BAC C8 01 01 00 */ lfd f0, 0x100(r1) +/* 802BBC50 002B8BB0 90 01 01 14 */ stw r0, 0x114(r1) +/* 802BBC54 002B8BB4 EC 20 28 28 */ fsubs f1, f0, f5 +/* 802BBC58 002B8BB8 90 E1 01 10 */ stw r7, 0x110(r1) +/* 802BBC5C 002B8BBC C8 01 01 10 */ lfd f0, 0x110(r1) +/* 802BBC60 002B8BC0 EC 63 0A 3A */ fmadds f3, f3, f8, f1 +/* 802BBC64 002B8BC4 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802BBC68 002B8BC8 EC 20 28 28 */ fsubs f1, f0, f5 +/* 802BBC6C 002B8BCC 90 E1 01 18 */ stw r7, 0x118(r1) +/* 802BBC70 002B8BD0 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 802BBC74 002B8BD4 91 01 00 F4 */ stw r8, 0xf4(r1) +/* 802BBC78 002B8BD8 EC 00 28 28 */ fsubs f0, f0, f5 +/* 802BBC7C 002B8BDC 90 E1 00 F0 */ stw r7, 0xf0(r1) +/* 802BBC80 002B8BE0 C8 81 00 F0 */ lfd f4, 0xf0(r1) +/* 802BBC84 002B8BE4 EC 21 00 BA */ fmadds f1, f1, f2, f0 +/* 802BBC88 002B8BE8 90 A1 01 0C */ stw r5, 0x10c(r1) +/* 802BBC8C 002B8BEC EC 44 28 28 */ fsubs f2, f4, f5 +/* 802BBC90 002B8BF0 90 E1 01 08 */ stw r7, 0x108(r1) +/* 802BBC94 002B8BF4 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802BBC98 002B8BF8 EC 62 18 2A */ fadds f3, f2, f3 +/* 802BBC9C 002B8BFC D1 01 00 80 */ stfs f8, 0x80(r1) +/* 802BBCA0 002B8C00 EC 40 28 28 */ fsubs f2, f0, f5 +/* 802BBCA4 002B8C04 FC 00 18 1E */ fctiwz f0, f3 +/* 802BBCA8 002B8C08 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 802BBCAC 002B8C0C EC 22 08 2A */ fadds f1, f2, f1 +/* 802BBCB0 002B8C10 D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 802BBCB4 002B8C14 D8 01 01 20 */ stfd f0, 0x120(r1) +/* 802BBCB8 002B8C18 FC 00 08 1E */ fctiwz f0, f1 +/* 802BBCBC 002B8C1C 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802BBCC0 002B8C20 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802BBCC4 002B8C24 54 04 00 3A */ rlwinm r4, r0, 0, 0, 0x1d +/* 802BBCC8 002B8C28 D8 01 01 28 */ stfd f0, 0x128(r1) +/* 802BBCCC 002B8C2C 80 01 01 2C */ lwz r0, 0x12c(r1) +/* 802BBCD0 002B8C30 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802BBCD4 002B8C34 54 05 00 3A */ rlwinm r5, r0, 0, 0, 0x1d +/* 802BBCD8 002B8C38 48 05 86 75 */ bl __ct__9CVector2iFii +/* 802BBCDC 002B8C3C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802BBCE0 002B8C40 38 80 00 60 */ li r4, 0x60 +/* 802BBCE4 002B8C44 38 A0 00 60 */ li r5, 0x60 +/* 802BBCE8 002B8C48 48 05 86 65 */ bl __ct__9CVector2iFii +/* 802BBCEC 002B8C4C 7C 65 1B 78 */ mr r5, r3 +/* 802BBCF0 002B8C50 38 61 00 48 */ addi r3, r1, 0x48 +/* 802BBCF4 002B8C54 38 81 00 78 */ addi r4, r1, 0x78 +/* 802BBCF8 002B8C58 48 05 85 E5 */ bl __mi__FRC9CVector2iRC9CVector2i +/* 802BBCFC 002B8C5C 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 802BBD00 002B8C60 38 61 00 30 */ addi r3, r1, 0x30 +/* 802BBD04 002B8C64 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802BBD08 002B8C68 38 80 00 60 */ li r4, 0x60 +/* 802BBD0C 002B8C6C 90 A1 00 70 */ stw r5, 0x70(r1) +/* 802BBD10 002B8C70 38 A0 00 60 */ li r5, 0x60 +/* 802BBD14 002B8C74 90 01 00 74 */ stw r0, 0x74(r1) +/* 802BBD18 002B8C78 48 05 86 35 */ bl __ct__9CVector2iFii +/* 802BBD1C 002B8C7C 7C 65 1B 78 */ mr r5, r3 +/* 802BBD20 002B8C80 38 61 00 38 */ addi r3, r1, 0x38 +/* 802BBD24 002B8C84 38 81 00 78 */ addi r4, r1, 0x78 +/* 802BBD28 002B8C88 48 05 85 ED */ bl __pl__FRC9CVector2iRC9CVector2i +/* 802BBD2C 002B8C8C C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BBD30 002B8C90 38 61 00 60 */ addi r3, r1, 0x60 +/* 802BBD34 002B8C94 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802BBD38 002B8C98 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802BBD3C 002B8C9C FC 40 08 90 */ fmr f2, f1 +/* 802BBD40 002B8CA0 90 81 00 68 */ stw r4, 0x68(r1) +/* 802BBD44 002B8CA4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802BBD48 002B8CA8 48 05 84 B9 */ bl __ct__9CVector2fFff +/* 802BBD4C 002B8CAC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802BBD50 002B8CB0 38 61 00 58 */ addi r3, r1, 0x58 +/* 802BBD54 002B8CB4 FC 40 08 90 */ fmr f2, f1 +/* 802BBD58 002B8CB8 48 05 84 A9 */ bl __ct__9CVector2fFff +/* 802BBD5C 002B8CBC 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802BBD60 002B8CC0 57 E5 00 3A */ rlwinm r5, r31, 0, 0, 0x1d +/* 802BBD64 002B8CC4 38 9D 00 03 */ addi r4, r29, 3 +/* 802BBD68 002B8CC8 38 7C 00 03 */ addi r3, r28, 3 +/* 802BBD6C 002B8CCC 7C 00 28 00 */ cmpw r0, r5 +/* 802BBD70 002B8CD0 57 C6 00 3A */ rlwinm r6, r30, 0, 0, 0x1d +/* 802BBD74 002B8CD4 7C 9F 22 14 */ add r4, r31, r4 +/* 802BBD78 002B8CD8 7C 1E 1A 14 */ add r0, r30, r3 +/* 802BBD7C 002B8CDC 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d +/* 802BBD80 002B8CE0 54 07 00 3A */ rlwinm r7, r0, 0, 0, 0x1d +/* 802BBD84 002B8CE4 40 80 00 38 */ bge lbl_802BBDBC +/* 802BBD88 002B8CE8 80 61 00 70 */ lwz r3, 0x70(r1) +/* 802BBD8C 002B8CEC 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBD90 002B8CF0 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBD94 002B8CF4 7C 03 28 50 */ subf r0, r3, r5 +/* 802BBD98 002B8CF8 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BBD9C 002B8CFC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBDA0 002B8D00 C0 42 C2 F8 */ lfs f2, lbl_805AE018@sda21(r2) +/* 802BBDA4 002B8D04 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBDA8 002B8D08 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 802BBDAC 002B8D0C 90 A1 00 70 */ stw r5, 0x70(r1) +/* 802BBDB0 002B8D10 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BBDB4 002B8D14 EC 02 00 32 */ fmuls f0, f2, f0 +/* 802BBDB8 002B8D18 D0 01 00 60 */ stfs f0, 0x60(r1) +lbl_802BBDBC: +/* 802BBDBC 002B8D1C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802BBDC0 002B8D20 7C 00 30 00 */ cmpw r0, r6 +/* 802BBDC4 002B8D24 40 80 00 38 */ bge lbl_802BBDFC +/* 802BBDC8 002B8D28 80 61 00 74 */ lwz r3, 0x74(r1) +/* 802BBDCC 002B8D2C 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBDD0 002B8D30 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBDD4 002B8D34 7C 03 30 50 */ subf r0, r3, r6 +/* 802BBDD8 002B8D38 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BBDDC 002B8D3C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBDE0 002B8D40 C0 42 C2 F8 */ lfs f2, lbl_805AE018@sda21(r2) +/* 802BBDE4 002B8D44 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBDE8 002B8D48 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 802BBDEC 002B8D4C 90 C1 00 74 */ stw r6, 0x74(r1) +/* 802BBDF0 002B8D50 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BBDF4 002B8D54 EC 02 00 32 */ fmuls f0, f2, f0 +/* 802BBDF8 002B8D58 D0 01 00 64 */ stfs f0, 0x64(r1) +lbl_802BBDFC: +/* 802BBDFC 002B8D5C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802BBE00 002B8D60 7C 00 20 00 */ cmpw r0, r4 +/* 802BBE04 002B8D64 40 81 00 3C */ ble lbl_802BBE40 +/* 802BBE08 002B8D68 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802BBE0C 002B8D6C 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBE10 002B8D70 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBE14 002B8D74 7C 04 18 50 */ subf r0, r4, r3 +/* 802BBE18 002B8D78 C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802BBE1C 002B8D7C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBE20 002B8D80 C0 62 C2 F8 */ lfs f3, lbl_805AE018@sda21(r2) +/* 802BBE24 002B8D84 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBE28 002B8D88 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BBE2C 002B8D8C C8 21 01 28 */ lfd f1, 0x128(r1) +/* 802BBE30 002B8D90 90 81 00 68 */ stw r4, 0x68(r1) +/* 802BBE34 002B8D94 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BBE38 002B8D98 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 802BBE3C 002B8D9C D0 01 00 58 */ stfs f0, 0x58(r1) +lbl_802BBE40: +/* 802BBE40 002B8DA0 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 802BBE44 002B8DA4 7C 00 38 00 */ cmpw r0, r7 +/* 802BBE48 002B8DA8 40 81 00 3C */ ble lbl_802BBE84 +/* 802BBE4C 002B8DAC 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 802BBE50 002B8DB0 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBE54 002B8DB4 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBE58 002B8DB8 7C 07 18 50 */ subf r0, r7, r3 +/* 802BBE5C 002B8DBC C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802BBE60 002B8DC0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBE64 002B8DC4 C0 62 C2 F8 */ lfs f3, lbl_805AE018@sda21(r2) +/* 802BBE68 002B8DC8 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBE6C 002B8DCC C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BBE70 002B8DD0 C8 21 01 28 */ lfd f1, 0x128(r1) +/* 802BBE74 002B8DD4 90 E1 00 6C */ stw r7, 0x6c(r1) +/* 802BBE78 002B8DD8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BBE7C 002B8DDC EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 802BBE80 002B8DE0 D0 01 00 5C */ stfs f0, 0x5c(r1) +lbl_802BBE84: +/* 802BBE84 002B8DE4 38 61 00 28 */ addi r3, r1, 0x28 +/* 802BBE88 002B8DE8 38 81 00 68 */ addi r4, r1, 0x68 +/* 802BBE8C 002B8DEC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 802BBE90 002B8DF0 48 05 84 4D */ bl __mi__FRC9CVector2iRC9CVector2i +/* 802BBE94 002B8DF4 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802BBE98 002B8DF8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802BBE9C 002B8DFC 2C 03 00 00 */ cmpwi r3, 0 +/* 802BBEA0 002B8E00 90 61 00 50 */ stw r3, 0x50(r1) +/* 802BBEA4 002B8E04 90 01 00 54 */ stw r0, 0x54(r1) +/* 802BBEA8 002B8E08 40 81 04 A0 */ ble lbl_802BC348 +/* 802BBEAC 002B8E0C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BBEB0 002B8E10 41 81 00 08 */ bgt lbl_802BBEB8 +/* 802BBEB4 002B8E14 48 00 04 94 */ b lbl_802BC348 +lbl_802BBEB8: +/* 802BBEB8 002B8E18 38 61 00 24 */ addi r3, r1, 0x24 +/* 802BBEBC 002B8E1C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BBEC0 002B8E20 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802BBEC4 002B8E24 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802BBEC8 002B8E28 38 E1 00 14 */ addi r7, r1, 0x14 +/* 802BBECC 002B8E2C 39 01 00 10 */ addi r8, r1, 0x10 +/* 802BBED0 002B8E30 48 04 BC ED */ bl sub_80307bbc +/* 802BBED4 002B8E34 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BBED8 002B8E38 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BBEDC 002B8E3C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802BBEE0 002B8E40 38 60 00 00 */ li r3, 0 +/* 802BBEE4 002B8E44 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802BBEE8 002B8E48 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802BBEEC 002B8E4C 48 04 C6 11 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +/* 802BBEF0 002B8E50 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802BBEF4 002B8E54 80 81 00 74 */ lwz r4, 0x74(r1) +/* 802BBEF8 002B8E58 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 802BBEFC 002B8E5C 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 802BBF00 002B8E60 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BBF04 002B8E64 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 802BBF08 002B8E68 83 4D A8 28 */ lwz r26, lbl_805A93E8@sda21(r13) +/* 802BBF0C 002B8E6C 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 802BBF10 002B8E70 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 802BBF14 002B8E74 48 0B CE A1 */ bl GXSetTexCopySrc +/* 802BBF18 002B8E78 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802BBF1C 002B8E7C 38 A0 00 06 */ li r5, 6 +/* 802BBF20 002B8E80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BBF24 002B8E84 38 C0 00 00 */ li r6, 0 +/* 802BBF28 002B8E88 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 802BBF2C 002B8E8C 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 802BBF30 002B8E90 48 0B CF 51 */ bl GXSetTexCopyDst +/* 802BBF34 002B8E94 7F 43 D3 78 */ mr r3, r26 +/* 802BBF38 002B8E98 38 80 00 00 */ li r4, 0 +/* 802BBF3C 002B8E9C 48 0B D5 F9 */ bl GXCopyTex +/* 802BBF40 002B8EA0 48 0B C6 25 */ bl GXPixModeSync +/* 802BBF44 002B8EA4 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802BBF48 002B8EA8 38 A0 00 06 */ li r5, 6 +/* 802BBF4C 002B8EAC 80 81 00 54 */ lwz r4, 0x54(r1) +/* 802BBF50 002B8EB0 38 C0 00 00 */ li r6, 0 +/* 802BBF54 002B8EB4 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802BBF58 002B8EB8 48 04 E0 C9 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BBF5C 002B8EBC 38 7B 01 50 */ addi r3, r27, 0x150 +/* 802BBF60 002B8EC0 38 80 00 01 */ li r4, 1 +/* 802BBF64 002B8EC4 38 A0 00 00 */ li r5, 0 +/* 802BBF68 002B8EC8 48 05 37 D5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802BBF6C 002B8ECC 38 60 00 00 */ li r3, 0 +/* 802BBF70 002B8ED0 38 80 00 0F */ li r4, 0xf +/* 802BBF74 002B8ED4 38 A0 00 0F */ li r5, 0xf +/* 802BBF78 002B8ED8 38 C0 00 0F */ li r6, 0xf +/* 802BBF7C 002B8EDC 38 E0 00 08 */ li r7, 8 +/* 802BBF80 002B8EE0 48 04 CC 6D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BBF84 002B8EE4 38 60 00 00 */ li r3, 0 +/* 802BBF88 002B8EE8 38 80 00 00 */ li r4, 0 +/* 802BBF8C 002B8EEC 38 A0 00 00 */ li r5, 0 +/* 802BBF90 002B8EF0 38 C0 00 00 */ li r6, 0 +/* 802BBF94 002B8EF4 38 E0 00 01 */ li r7, 1 +/* 802BBF98 002B8EF8 39 00 00 00 */ li r8, 0 +/* 802BBF9C 002B8EFC 48 04 CB 9D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802BBFA0 002B8F00 38 60 00 00 */ li r3, 0 +/* 802BBFA4 002B8F04 38 80 00 00 */ li r4, 0 +/* 802BBFA8 002B8F08 38 A0 00 04 */ li r5, 4 +/* 802BBFAC 002B8F0C 38 C0 00 3C */ li r6, 0x3c +/* 802BBFB0 002B8F10 38 E0 00 00 */ li r7, 0 +/* 802BBFB4 002B8F14 39 00 00 7D */ li r8, 0x7d +/* 802BBFB8 002B8F18 48 04 C7 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BBFBC 002B8F1C 38 60 00 01 */ li r3, 1 +/* 802BBFC0 002B8F20 38 80 00 00 */ li r4, 0 +/* 802BBFC4 002B8F24 38 A0 00 05 */ li r5, 5 +/* 802BBFC8 002B8F28 38 C0 00 3C */ li r6, 0x3c +/* 802BBFCC 002B8F2C 38 E0 00 00 */ li r7, 0 +/* 802BBFD0 002B8F30 39 00 00 7D */ li r8, 0x7d +/* 802BBFD4 002B8F34 48 04 C6 F9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BBFD8 002B8F38 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802BBFDC 002B8F3C 38 60 00 00 */ li r3, 0 +/* 802BBFE0 002B8F40 38 80 00 00 */ li r4, 0 +/* 802BBFE4 002B8F44 38 C0 00 FF */ li r6, 0xff +/* 802BBFE8 002B8F48 48 04 C9 65 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BBFEC 002B8F4C C8 02 C3 00 */ lfd f0, lbl_805AE020@sda21(r2) +/* 802BBFF0 002B8F50 3C 60 80 3D */ lis r3, lbl_803D65A0@ha +/* 802BBFF4 002B8F54 39 23 65 A0 */ addi r9, r3, lbl_803D65A0@l +/* 802BBFF8 002B8F58 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802BBFFC 002B8F5C FC 00 07 F2 */ fmul f0, f0, f31 +/* 802BC000 002B8F60 80 C9 00 00 */ lwz r6, 0(r9) +/* 802BC004 002B8F64 80 09 00 10 */ lwz r0, 0x10(r9) +/* 802BC008 002B8F68 38 60 00 01 */ li r3, 1 +/* 802BC00C 002B8F6C 81 09 00 04 */ lwz r8, 4(r9) +/* 802BC010 002B8F70 38 A0 FF FF */ li r5, -1 +/* 802BC014 002B8F74 80 E9 00 08 */ lwz r7, 8(r9) +/* 802BC018 002B8F78 FC 00 00 18 */ frsp f0, f0 +/* 802BC01C 002B8F7C 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 802BC020 002B8F80 80 C9 00 0C */ lwz r6, 0xc(r9) +/* 802BC024 002B8F84 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802BC028 002B8F88 80 09 00 14 */ lwz r0, 0x14(r9) +/* 802BC02C 002B8F8C 91 01 00 AC */ stw r8, 0xac(r1) +/* 802BC030 002B8F90 90 E1 00 B0 */ stw r7, 0xb0(r1) +/* 802BC034 002B8F94 90 C1 00 B4 */ stw r6, 0xb4(r1) +/* 802BC038 002B8F98 90 01 00 BC */ stw r0, 0xbc(r1) +/* 802BC03C 002B8F9C D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802BC040 002B8FA0 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802BC044 002B8FA4 48 0B EE 85 */ bl GXSetIndTexMtx +/* 802BC048 002B8FA8 38 60 00 00 */ li r3, 0 +/* 802BC04C 002B8FAC 38 80 00 01 */ li r4, 1 +/* 802BC050 002B8FB0 38 A0 00 01 */ li r5, 1 +/* 802BC054 002B8FB4 48 0B F1 51 */ bl GXSetIndTexOrder +/* 802BC058 002B8FB8 38 00 00 00 */ li r0, 0 +/* 802BC05C 002B8FBC 38 60 00 00 */ li r3, 0 +/* 802BC060 002B8FC0 90 01 00 08 */ stw r0, 8(r1) +/* 802BC064 002B8FC4 38 80 00 00 */ li r4, 0 +/* 802BC068 002B8FC8 38 A0 00 00 */ li r5, 0 +/* 802BC06C 002B8FCC 38 C0 00 07 */ li r6, 7 +/* 802BC070 002B8FD0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BC074 002B8FD4 38 E0 00 01 */ li r7, 1 +/* 802BC078 002B8FD8 39 00 00 00 */ li r8, 0 +/* 802BC07C 002B8FDC 39 20 00 00 */ li r9, 0 +/* 802BC080 002B8FE0 39 40 00 00 */ li r10, 0 +/* 802BC084 002B8FE4 48 04 C7 09 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802BC088 002B8FE8 38 60 00 01 */ li r3, 1 +/* 802BC08C 002B8FEC 48 04 C6 05 */ bl SetNumIndStages__3CGXFUc +/* 802BC090 002B8FF0 38 60 00 01 */ li r3, 1 +/* 802BC094 002B8FF4 48 04 CB FD */ bl SetNumTevStages__3CGXFUc +/* 802BC098 002B8FF8 38 60 00 02 */ li r3, 2 +/* 802BC09C 002B8FFC 48 04 CD 79 */ bl SetNumTexGens__3CGXFUc +/* 802BC0A0 002B9000 38 60 00 00 */ li r3, 0 +/* 802BC0A4 002B9004 48 04 CD AD */ bl SetNumChans__3CGXFUc +/* 802BC0A8 002B9008 38 60 00 01 */ li r3, 1 +/* 802BC0AC 002B900C 38 80 00 01 */ li r4, 1 +/* 802BC0B0 002B9010 38 A0 00 00 */ li r5, 0 +/* 802BC0B4 002B9014 38 C0 00 00 */ li r6, 0 +/* 802BC0B8 002B9018 48 04 C8 19 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BC0BC 002B901C 3C 60 80 3D */ lis r3, lbl_803D65B8@ha +/* 802BC0C0 002B9020 38 63 65 B8 */ addi r3, r3, lbl_803D65B8@l +/* 802BC0C4 002B9024 48 04 BD 65 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BC0C8 002B9028 48 04 DD 95 */ bl GetProjectionState__9CGraphicsFv +/* 802BC0CC 002B902C 88 03 00 00 */ lbz r0, 0(r3) +/* 802BC0D0 002B9030 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802BC0D4 002B9034 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802BC0D8 002B9038 98 01 00 8C */ stb r0, 0x8c(r1) +/* 802BC0DC 002B903C C0 03 00 04 */ lfs f0, 4(r3) +/* 802BC0E0 002B9040 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802BC0E4 002B9044 C0 03 00 08 */ lfs f0, 8(r3) +/* 802BC0E8 002B9048 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802BC0EC 002B904C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802BC0F0 002B9050 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802BC0F4 002B9054 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802BC0F8 002B9058 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 802BC0FC 002B905C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802BC100 002B9060 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802BC104 002B9064 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802BC108 002B9068 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802BC10C 002B906C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802BC110 002B9070 48 05 6A 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BC114 002B9074 7C 7D FA 14 */ add r3, r29, r31 +/* 802BC118 002B9078 7C 1C F2 14 */ add r0, r28, r30 +/* 802BC11C 002B907C 3C A0 43 30 */ lis r5, 0x4330 +/* 802BC120 002B9080 6F E6 80 00 */ xoris r6, r31, 0x8000 +/* 802BC124 002B9084 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 802BC128 002B9088 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 802BC12C 002B908C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC130 002B9090 90 C1 01 2C */ stw r6, 0x12c(r1) +/* 802BC134 002B9094 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802BC138 002B9098 90 A1 01 28 */ stw r5, 0x128(r1) +/* 802BC13C 002B909C C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802BC140 002B90A0 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 802BC144 002B90A4 90 81 01 24 */ stw r4, 0x124(r1) +/* 802BC148 002B90A8 EC 20 20 28 */ fsubs f1, f0, f4 +/* 802BC14C 002B90AC C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802BC150 002B90B0 90 A1 01 20 */ stw r5, 0x120(r1) +/* 802BC154 002B90B4 C8 01 01 20 */ lfd f0, 0x120(r1) +/* 802BC158 002B90B8 90 61 01 1C */ stw r3, 0x11c(r1) +/* 802BC15C 002B90BC EC 40 20 28 */ fsubs f2, f0, f4 +/* 802BC160 002B90C0 90 A1 01 18 */ stw r5, 0x118(r1) +/* 802BC164 002B90C4 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 802BC168 002B90C8 90 01 01 14 */ stw r0, 0x114(r1) +/* 802BC16C 002B90CC EC 60 20 28 */ fsubs f3, f0, f4 +/* 802BC170 002B90D0 90 A1 01 10 */ stw r5, 0x110(r1) +/* 802BC174 002B90D4 C8 01 01 10 */ lfd f0, 0x110(r1) +/* 802BC178 002B90D8 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802BC17C 002B90DC 48 05 03 D9 */ bl SetOrtho__9CGraphicsFffffff +/* 802BC180 002B90E0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BC184 002B90E4 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BC188 002B90E8 48 05 05 C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BC18C 002B90EC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BC190 002B90F0 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BC194 002B90F4 48 05 04 4D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BC198 002B90F8 38 60 00 00 */ li r3, 0 +/* 802BC19C 002B90FC 38 80 00 07 */ li r4, 7 +/* 802BC1A0 002B9100 38 A0 00 00 */ li r5, 0 +/* 802BC1A4 002B9104 48 04 C6 D9 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BC1A8 002B9108 38 60 00 00 */ li r3, 0 +/* 802BC1AC 002B910C 48 0B C9 AD */ bl GXSetCullMode +/* 802BC1B0 002B9110 38 60 00 A0 */ li r3, 0xa0 +/* 802BC1B4 002B9114 38 80 00 00 */ li r4, 0 +/* 802BC1B8 002B9118 38 A0 00 04 */ li r5, 4 +/* 802BC1BC 002B911C 48 04 C3 C9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BC1C0 002B9120 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802BC1C4 002B9124 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC1C8 002B9128 90 81 01 08 */ stw r4, 0x108(r1) +/* 802BC1CC 002B912C 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802BC1D0 002B9130 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC1D4 002B9134 C8 E2 C2 A0 */ lfd f7, lbl_805ADFC0@sda21(r2) +/* 802BC1D8 002B9138 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802BC1DC 002B913C C0 C2 C2 80 */ lfs f6, lbl_805ADFA0@sda21(r2) +/* 802BC1E0 002B9140 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802BC1E4 002B9144 90 81 01 00 */ stw r4, 0x100(r1) +/* 802BC1E8 002B9148 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802BC1EC 002B914C C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) +/* 802BC1F0 002B9150 90 01 00 FC */ stw r0, 0xfc(r1) +/* 802BC1F4 002B9154 C0 82 C2 70 */ lfs f4, lbl_805ADF90@sda21(r2) +/* 802BC1F8 002B9158 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC1FC 002B915C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC200 002B9160 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802BC204 002B9164 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 802BC208 002B9168 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC20C 002B916C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802BC210 002B9170 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 802BC214 002B9174 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802BC218 002B9178 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802BC21C 002B917C 90 81 00 F0 */ stw r4, 0xf0(r1) +/* 802BC220 002B9180 EC 21 38 28 */ fsubs f1, f1, f7 +/* 802BC224 002B9184 90 81 01 30 */ stw r4, 0x130(r1) +/* 802BC228 002B9188 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC22C 002B918C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC230 002B9190 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC234 002B9194 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802BC238 002B9198 90 81 01 38 */ stw r4, 0x138(r1) +/* 802BC23C 002B919C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC240 002B91A0 C1 21 00 64 */ lfs f9, 0x64(r1) +/* 802BC244 002B91A4 90 81 01 40 */ stw r4, 0x140(r1) +/* 802BC248 002B91A8 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802BC24C 002B91AC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC250 002B91B0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC254 002B91B4 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 802BC258 002B91B8 90 01 01 4C */ stw r0, 0x14c(r1) +/* 802BC25C 002B91BC 6C A0 80 00 */ xoris r0, r5, 0x8000 +/* 802BC260 002B91C0 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802BC264 002B91C4 C8 01 00 F0 */ lfd f0, 0xf0(r1) +/* 802BC268 002B91C8 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802BC26C 002B91CC EC 20 38 28 */ fsubs f1, f0, f7 +/* 802BC270 002B91D0 C8 01 01 38 */ lfd f0, 0x138(r1) +/* 802BC274 002B91D4 90 81 01 48 */ stw r4, 0x148(r1) +/* 802BC278 002B91D8 EC 40 38 28 */ fsubs f2, f0, f7 +/* 802BC27C 002B91DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC280 002B91E0 C8 01 01 48 */ lfd f0, 0x148(r1) +/* 802BC284 002B91E4 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC288 002B91E8 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802BC28C 002B91EC D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC290 002B91F0 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802BC294 002B91F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC298 002B91F8 C1 01 00 5C */ lfs f8, 0x5c(r1) +/* 802BC29C 002B91FC D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802BC2A0 002B9200 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802BC2A4 002B9204 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC2A8 002B9208 90 01 01 34 */ stw r0, 0x134(r1) +/* 802BC2AC 002B920C C8 21 01 30 */ lfd f1, 0x130(r1) +/* 802BC2B0 002B9210 90 01 01 44 */ stw r0, 0x144(r1) +/* 802BC2B4 002B9214 EC 61 38 28 */ fsubs f3, f1, f7 +/* 802BC2B8 002B9218 C8 21 01 40 */ lfd f1, 0x140(r1) +/* 802BC2BC 002B921C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802BC2C0 002B9220 EC 21 38 28 */ fsubs f1, f1, f7 +/* 802BC2C4 002B9224 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC2C8 002B9228 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BC2CC 002B922C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC2D0 002B9230 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC2D4 002B9234 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802BC2D8 002B9238 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BC2DC 002B923C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802BC2E0 002B9240 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC2E4 002B9244 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC2E8 002B9248 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC2EC 002B924C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC2F0 002B9250 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC2F4 002B9254 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802BC2F8 002B9258 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC2FC 002B925C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802BC300 002B9260 48 04 C2 81 */ bl End__3CGXFv +/* 802BC304 002B9264 38 60 00 01 */ li r3, 1 +/* 802BC308 002B9268 48 0B C8 51 */ bl GXSetCullMode +/* 802BC30C 002B926C 38 60 00 00 */ li r3, 0 +/* 802BC310 002B9270 48 04 C4 35 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BC314 002B9274 38 60 00 00 */ li r3, 0 +/* 802BC318 002B9278 48 04 C3 79 */ bl SetNumIndStages__3CGXFUc +/* 802BC31C 002B927C 38 61 00 8C */ addi r3, r1, 0x8c +/* 802BC320 002B9280 48 04 DA E1 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BC324 002B9284 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802BC328 002B9288 48 05 04 25 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BC32C 002B928C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802BC330 002B9290 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BC334 002B9294 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BC338 002B9298 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802BC33C 002B929C C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802BC340 002B92A0 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802BC344 002B92A4 48 04 C1 B9 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +lbl_802BC348: +/* 802BC348 002B92A8 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 802BC34C 002B92AC CB E1 01 70 */ lfd f31, 0x170(r1) +/* 802BC350 002B92B0 BB 41 01 58 */ lmw r26, 0x158(r1) +/* 802BC354 002B92B4 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802BC358 002B92B8 7C 08 03 A6 */ mtlr r0 +/* 802BC35C 002B92BC 38 21 01 80 */ addi r1, r1, 0x180 +/* 802BC360 002B92C0 4E 80 00 20 */ blr + +.global DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +DrawSpaceWarp__13CCubeRendererFRC9CVector3ff: +/* 802BC364 002B92C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC368 002B92C8 7C 08 02 A6 */ mflr r0 +/* 802BC36C 002B92CC C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BC370 002B92D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC374 002B92D4 C0 44 00 08 */ lfs f2, 8(r4) +/* 802BC378 002B92D8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802BC37C 002B92DC 4C 41 13 82 */ cror 2, 1, 2 +/* 802BC380 002B92E0 41 82 00 08 */ beq lbl_802BC388 +/* 802BC384 002B92E4 4B FF F8 35 */ bl _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +lbl_802BC388: +/* 802BC388 002B92E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC38C 002B92EC 7C 08 03 A6 */ mtlr r0 +/* 802BC390 002B92F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC394 002B92F4 4E 80 00 20 */ blr + +.global CacheReflection__13CCubeRendererFPFPvRC9CVector3f_vPvb +CacheReflection__13CCubeRendererFPFPvRC9CVector3f_vPvb: +/* 802BC398 002B92F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BC39C 002B92FC 7C 08 02 A6 */ mflr r0 +/* 802BC3A0 002B9300 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BC3A4 002B9304 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802BC3A8 002B9308 7C 7C 1B 78 */ mr r28, r3 +/* 802BC3AC 002B930C 7C 9D 23 78 */ mr r29, r4 +/* 802BC3B0 002B9310 7C BE 2B 78 */ mr r30, r5 +/* 802BC3B4 002B9314 7C DF 33 78 */ mr r31, r6 +/* 802BC3B8 002B9318 88 63 03 18 */ lbz r3, 0x318(r3) +/* 802BC3BC 002B931C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802BC3C0 002B9320 41 82 01 6C */ beq lbl_802BC52C +/* 802BC3C4 002B9324 38 00 00 00 */ li r0, 0 +/* 802BC3C8 002B9328 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 802BC3CC 002B932C 98 7C 03 18 */ stb r3, 0x318(r28) +/* 802BC3D0 002B9330 90 1C 02 DC */ stw r0, 0x2dc(r28) +/* 802BC3D4 002B9334 80 1C 01 4C */ lwz r0, 0x14c(r28) +/* 802BC3D8 002B9338 28 00 00 00 */ cmplwi r0, 0 +/* 802BC3DC 002B933C 40 82 00 48 */ bne lbl_802BC424 +/* 802BC3E0 002B9340 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BC3E4 002B9344 38 60 00 68 */ li r3, 0x68 +/* 802BC3E8 002B9348 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BC3EC 002B934C 38 A0 00 00 */ li r5, 0 +/* 802BC3F0 002B9350 48 05 94 7D */ bl __nw__FUlPCcPCc +/* 802BC3F4 002B9354 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802BC3F8 002B9358 41 82 00 1C */ beq lbl_802BC414 +/* 802BC3FC 002B935C 38 80 00 07 */ li r4, 7 +/* 802BC400 002B9360 38 A0 00 80 */ li r5, 0x80 +/* 802BC404 002B9364 38 C0 00 80 */ li r6, 0x80 +/* 802BC408 002B9368 38 E0 00 01 */ li r7, 1 +/* 802BC40C 002B936C 48 05 3A 21 */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BC410 002B9370 7C 7B 1B 78 */ mr r27, r3 +lbl_802BC414: +/* 802BC414 002B9374 80 7C 01 4C */ lwz r3, 0x14c(r28) +/* 802BC418 002B9378 38 80 00 01 */ li r4, 1 +/* 802BC41C 002B937C 48 05 35 DD */ bl __dt__8CTextureFv +/* 802BC420 002B9380 93 7C 01 4C */ stw r27, 0x14c(r28) +lbl_802BC424: +/* 802BC424 002B9384 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 802BC428 002B9388 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 802BC42C 002B938C 38 83 65 00 */ addi r4, r3, lbl_805A6500@l +/* 802BC430 002B9390 38 60 00 00 */ li r3, 0 +/* 802BC434 002B9394 A0 84 00 06 */ lhz r4, 6(r4) +/* 802BC438 002B9398 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l +/* 802BC43C 002B939C 83 46 00 00 */ lwz r26, 0(r6) +/* 802BC440 002B93A0 38 A0 01 00 */ li r5, 0x100 +/* 802BC444 002B93A4 3B 64 FF 00 */ addi r27, r4, -256 +/* 802BC448 002B93A8 83 26 00 04 */ lwz r25, 4(r6) +/* 802BC44C 002B93AC 83 06 00 08 */ lwz r24, 8(r6) +/* 802BC450 002B93B0 7F 64 DB 78 */ mr r4, r27 +/* 802BC454 002B93B4 82 E6 00 0C */ lwz r23, 0xc(r6) +/* 802BC458 002B93B8 38 C0 01 00 */ li r6, 0x100 +/* 802BC45C 002B93BC 48 04 FC 35 */ bl SetViewport__9CGraphicsFiiii +/* 802BC460 002B93C0 7F 64 DB 78 */ mr r4, r27 +/* 802BC464 002B93C4 38 60 00 00 */ li r3, 0 +/* 802BC468 002B93C8 38 A0 01 00 */ li r5, 0x100 +/* 802BC46C 002B93CC 38 C0 01 00 */ li r6, 0x100 +/* 802BC470 002B93D0 48 04 FB ED */ bl SetScissor__9CGraphicsFiiii +/* 802BC474 002B93D4 83 6D A8 28 */ lwz r27, lbl_805A93E8@sda21(r13) +/* 802BC478 002B93D8 38 60 00 00 */ li r3, 0 +/* 802BC47C 002B93DC 38 80 00 00 */ li r4, 0 +/* 802BC480 002B93E0 38 A0 01 00 */ li r5, 0x100 +/* 802BC484 002B93E4 38 C0 01 00 */ li r6, 0x100 +/* 802BC488 002B93E8 48 0B C9 2D */ bl GXSetTexCopySrc +/* 802BC48C 002B93EC 38 60 00 80 */ li r3, 0x80 +/* 802BC490 002B93F0 38 80 00 80 */ li r4, 0x80 +/* 802BC494 002B93F4 38 A0 00 04 */ li r5, 4 +/* 802BC498 002B93F8 38 C0 00 01 */ li r6, 1 +/* 802BC49C 002B93FC 48 0B C9 E5 */ bl GXSetTexCopyDst +/* 802BC4A0 002B9400 38 60 00 01 */ li r3, 1 +/* 802BC4A4 002B9404 38 80 00 03 */ li r4, 3 +/* 802BC4A8 002B9408 38 A0 00 01 */ li r5, 1 +/* 802BC4AC 002B940C 48 04 C3 D1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BC4B0 002B9410 7F 63 DB 78 */ mr r3, r27 +/* 802BC4B4 002B9414 38 80 00 01 */ li r4, 1 +/* 802BC4B8 002B9418 48 0B D0 7D */ bl GXCopyTex +/* 802BC4BC 002B941C 3C 60 80 5A */ lis r3, lbl_805A67B4@ha +/* 802BC4C0 002B9420 7F AC EB 78 */ mr r12, r29 +/* 802BC4C4 002B9424 38 83 67 B4 */ addi r4, r3, lbl_805A67B4@l +/* 802BC4C8 002B9428 7F C3 F3 78 */ mr r3, r30 +/* 802BC4CC 002B942C 7D 89 03 A6 */ mtctr r12 +/* 802BC4D0 002B9430 4E 80 04 21 */ bctrl +/* 802BC4D4 002B9434 80 7C 01 4C */ lwz r3, 0x14c(r28) +/* 802BC4D8 002B9438 38 80 00 00 */ li r4, 0 +/* 802BC4DC 002B943C 48 05 21 19 */ bl GetConstBitMapData__8CTextureCFi +/* 802BC4E0 002B9440 7C 60 1B 78 */ mr r0, r3 +/* 802BC4E4 002B9444 38 60 00 01 */ li r3, 1 +/* 802BC4E8 002B9448 7C 1B 03 78 */ mr r27, r0 +/* 802BC4EC 002B944C 38 80 00 03 */ li r4, 3 +/* 802BC4F0 002B9450 38 A0 00 01 */ li r5, 1 +/* 802BC4F4 002B9454 48 04 C3 89 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BC4F8 002B9458 7F 63 DB 78 */ mr r3, r27 +/* 802BC4FC 002B945C 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 802BC500 002B9460 48 0B D0 35 */ bl GXCopyTex +/* 802BC504 002B9464 7F 43 D3 78 */ mr r3, r26 +/* 802BC508 002B9468 7F 24 CB 78 */ mr r4, r25 +/* 802BC50C 002B946C 7F 05 C3 78 */ mr r5, r24 +/* 802BC510 002B9470 7E E6 BB 78 */ mr r6, r23 +/* 802BC514 002B9474 48 04 FB 7D */ bl SetViewport__9CGraphicsFiiii +/* 802BC518 002B9478 7F 43 D3 78 */ mr r3, r26 +/* 802BC51C 002B947C 7F 24 CB 78 */ mr r4, r25 +/* 802BC520 002B9480 7F 05 C3 78 */ mr r5, r24 +/* 802BC524 002B9484 7E E6 BB 78 */ mr r6, r23 +/* 802BC528 002B9488 48 04 FB 35 */ bl SetScissor__9CGraphicsFiiii +lbl_802BC52C: +/* 802BC52C 002B948C BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802BC530 002B9490 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BC534 002B9494 7C 08 03 A6 */ mtlr r0 +/* 802BC538 002B9498 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BC53C 002B949C 4E 80 00 20 */ blr + +.global GetRealReflection__13CCubeRendererFv +GetRealReflection__13CCubeRendererFv: +/* 802BC540 002B94A0 38 00 00 00 */ li r0, 0 +/* 802BC544 002B94A4 90 03 02 DC */ stw r0, 0x2dc(r3) +/* 802BC548 002B94A8 80 03 01 4C */ lwz r0, 0x14c(r3) +/* 802BC54C 002B94AC 28 00 00 00 */ cmplwi r0, 0 +/* 802BC550 002B94B0 40 82 00 0C */ bne lbl_802BC55C +/* 802BC554 002B94B4 38 63 00 E4 */ addi r3, r3, 0xe4 +/* 802BC558 002B94B8 4E 80 00 20 */ blr +lbl_802BC55C: +/* 802BC55C 002B94BC 7C 03 03 78 */ mr r3, r0 +/* 802BC560 002B94C0 4E 80 00 20 */ blr + +.global SetDebugOption__13CCubeRendererFQ29IRenderer12EDebugOptioni +SetDebugOption__13CCubeRendererFQ29IRenderer12EDebugOptioni: +/* 802BC564 002B94C4 2C 04 00 01 */ cmpwi r4, 1 +/* 802BC568 002B94C8 41 82 00 34 */ beq lbl_802BC59C +/* 802BC56C 002B94CC 40 80 00 10 */ bge lbl_802BC57C +/* 802BC570 002B94D0 2C 04 00 00 */ cmpwi r4, 0 +/* 802BC574 002B94D4 40 80 00 14 */ bge lbl_802BC588 + +.global sub_802bc578 +sub_802bc578: +/* 802BC578 002B94D8 4E 80 00 20 */ blr +lbl_802BC57C: +/* 802BC57C 002B94DC 2C 04 00 03 */ cmpwi r4, 3 +/* 802BC580 002B94E0 4C 80 00 20 */ bgelr +/* 802BC584 002B94E4 48 00 00 20 */ b lbl_802BC5A4 +lbl_802BC588: +/* 802BC588 002B94E8 7C 05 00 D0 */ neg r0, r5 +/* 802BC58C 002B94EC 7C 00 2B 78 */ or r0, r0, r5 +/* 802BC590 002B94F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802BC594 002B94F4 98 03 00 C0 */ stb r0, 0xc0(r3) +/* 802BC598 002B94F8 4E 80 00 20 */ blr +lbl_802BC59C: +/* 802BC59C 002B94FC 90 A3 00 C4 */ stw r5, 0xc4(r3) +/* 802BC5A0 002B9500 4E 80 00 20 */ blr +lbl_802BC5A4: +/* 802BC5A4 002B9504 7C 85 00 D0 */ neg r4, r5 +/* 802BC5A8 002B9508 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BC5AC 002B950C 7C 84 2B 78 */ or r4, r4, r5 +/* 802BC5B0 002B9510 50 80 27 38 */ rlwimi r0, r4, 4, 0x1c, 0x1c +/* 802BC5B4 002B9514 98 03 03 18 */ stb r0, 0x318(r3) +/* 802BC5B8 002B9518 4E 80 00 20 */ blr + +.global SetDrawableCallback__13CCubeRendererFPFPCvPCvi_vPCv +SetDrawableCallback__13CCubeRendererFPFPCvPCvi_vPCv: +/* 802BC5BC 002B951C 90 83 00 A8 */ stw r4, 0xa8(r3) +/* 802BC5C0 002B9520 90 A3 00 AC */ stw r5, 0xac(r3) +/* 802BC5C4 002B9524 4E 80 00 20 */ blr + +.global GetFPS__13CCubeRendererFv +GetFPS__13CCubeRendererFv: +/* 802BC5C8 002B9528 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC5CC 002B952C 7C 08 02 A6 */ mflr r0 +/* 802BC5D0 002B9530 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC5D4 002B9534 48 04 D2 81 */ bl GetFPS__9CGraphicsFv +/* 802BC5D8 002B9538 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC5DC 002B953C 7C 08 03 A6 */ mtlr r0 +/* 802BC5E0 002B9540 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC5E4 002B9544 4E 80 00 20 */ blr + +.global SetClippingPlanes__13CCubeRendererFRC14CFrustumPlanes +SetClippingPlanes__13CCubeRendererFRC14CFrustumPlanes: +/* 802BC5E8 002B9548 38 03 00 44 */ addi r0, r3, 0x44 +/* 802BC5EC 002B954C 7C 00 20 40 */ cmplw r0, r4 +/* 802BC5F0 002B9550 4D 82 00 20 */ beqlr +/* 802BC5F4 002B9554 80 E3 00 44 */ lwz r7, 0x44(r3) +/* 802BC5F8 002B9558 39 03 00 48 */ addi r8, r3, 0x48 +/* 802BC5FC 002B955C 38 A0 00 00 */ li r5, 0 +/* 802BC600 002B9560 2C 07 00 00 */ cmpwi r7, 0 +/* 802BC604 002B9564 40 81 00 40 */ ble lbl_802BC644 +/* 802BC608 002B9568 2C 07 00 08 */ cmpwi r7, 8 +/* 802BC60C 002B956C 38 C7 FF F8 */ addi r6, r7, -8 +/* 802BC610 002B9570 40 81 00 20 */ ble lbl_802BC630 +/* 802BC614 002B9574 38 06 00 07 */ addi r0, r6, 7 +/* 802BC618 002B9578 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BC61C 002B957C 7C 09 03 A6 */ mtctr r0 +/* 802BC620 002B9580 2C 06 00 00 */ cmpwi r6, 0 +/* 802BC624 002B9584 40 81 00 0C */ ble lbl_802BC630 +lbl_802BC628: +/* 802BC628 002B9588 38 A5 00 08 */ addi r5, r5, 8 +/* 802BC62C 002B958C 42 00 FF FC */ bdnz lbl_802BC628 +lbl_802BC630: +/* 802BC630 002B9590 7C 05 38 50 */ subf r0, r5, r7 +/* 802BC634 002B9594 7C 09 03 A6 */ mtctr r0 +/* 802BC638 002B9598 7C 05 38 00 */ cmpw r5, r7 +/* 802BC63C 002B959C 40 80 00 08 */ bge lbl_802BC644 +lbl_802BC640: +/* 802BC640 002B95A0 42 00 00 00 */ bdnz lbl_802BC640 +lbl_802BC644: +/* 802BC644 002B95A4 38 00 00 00 */ li r0, 0 +/* 802BC648 002B95A8 38 A4 00 04 */ addi r5, r4, 4 +/* 802BC64C 002B95AC 90 03 00 44 */ stw r0, 0x44(r3) +/* 802BC650 002B95B0 80 04 00 00 */ lwz r0, 0(r4) +/* 802BC654 002B95B4 54 00 20 36 */ slwi r0, r0, 4 +/* 802BC658 002B95B8 7C C4 02 14 */ add r6, r4, r0 +/* 802BC65C 002B95BC 38 C6 00 04 */ addi r6, r6, 4 +/* 802BC660 002B95C0 48 00 00 34 */ b lbl_802BC694 +lbl_802BC664: +/* 802BC664 002B95C4 28 08 00 00 */ cmplwi r8, 0 +/* 802BC668 002B95C8 41 82 00 24 */ beq lbl_802BC68C +/* 802BC66C 002B95CC C0 05 00 00 */ lfs f0, 0(r5) +/* 802BC670 002B95D0 D0 08 00 00 */ stfs f0, 0(r8) +/* 802BC674 002B95D4 C0 05 00 04 */ lfs f0, 4(r5) +/* 802BC678 002B95D8 D0 08 00 04 */ stfs f0, 4(r8) +/* 802BC67C 002B95DC C0 05 00 08 */ lfs f0, 8(r5) +/* 802BC680 002B95E0 D0 08 00 08 */ stfs f0, 8(r8) +/* 802BC684 002B95E4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802BC688 002B95E8 D0 08 00 0C */ stfs f0, 0xc(r8) +lbl_802BC68C: +/* 802BC68C 002B95EC 39 08 00 10 */ addi r8, r8, 0x10 +/* 802BC690 002B95F0 38 A5 00 10 */ addi r5, r5, 0x10 +lbl_802BC694: +/* 802BC694 002B95F4 7C 05 30 40 */ cmplw r5, r6 +/* 802BC698 002B95F8 40 82 FF CC */ bne lbl_802BC664 +/* 802BC69C 002B95FC 80 04 00 00 */ lwz r0, 0(r4) +/* 802BC6A0 002B9600 90 03 00 44 */ stw r0, 0x44(r3) +/* 802BC6A4 002B9604 4E 80 00 20 */ blr + +.global SetBlendMode_AdditiveDestColor__13CCubeRendererFv +SetBlendMode_AdditiveDestColor__13CCubeRendererFv: +/* 802BC6A8 002B9608 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC6AC 002B960C 7C 08 02 A6 */ mflr r0 +/* 802BC6B0 002B9610 38 60 00 01 */ li r3, 1 +/* 802BC6B4 002B9614 38 80 00 02 */ li r4, 2 +/* 802BC6B8 002B9618 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC6BC 002B961C 38 A0 00 01 */ li r5, 1 +/* 802BC6C0 002B9620 38 C0 00 00 */ li r6, 0 +/* 802BC6C4 002B9624 48 04 F3 8D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC6C8 002B9628 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC6CC 002B962C 7C 08 03 A6 */ mtlr r0 +/* 802BC6D0 002B9630 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC6D4 002B9634 4E 80 00 20 */ blr + +.global SetBlendMode_Replace__13CCubeRendererFv +SetBlendMode_Replace__13CCubeRendererFv: +/* 802BC6D8 002B9638 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC6DC 002B963C 7C 08 02 A6 */ mflr r0 +/* 802BC6E0 002B9640 38 60 00 01 */ li r3, 1 +/* 802BC6E4 002B9644 38 80 00 01 */ li r4, 1 +/* 802BC6E8 002B9648 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC6EC 002B964C 38 A0 00 00 */ li r5, 0 +/* 802BC6F0 002B9650 38 C0 00 00 */ li r6, 0 +/* 802BC6F4 002B9654 48 04 F3 5D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC6F8 002B9658 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC6FC 002B965C 7C 08 03 A6 */ mtlr r0 +/* 802BC700 002B9660 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC704 002B9664 4E 80 00 20 */ blr + +.global SetBlendMode_InvertSrc__13CCubeRendererFv +SetBlendMode_InvertSrc__13CCubeRendererFv: +/* 802BC708 002B9668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC70C 002B966C 7C 08 02 A6 */ mflr r0 +/* 802BC710 002B9670 38 60 00 02 */ li r3, 2 +/* 802BC714 002B9674 38 80 00 01 */ li r4, 1 +/* 802BC718 002B9678 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC71C 002B967C 38 A0 00 00 */ li r5, 0 +/* 802BC720 002B9680 38 C0 00 0C */ li r6, 0xc +/* 802BC724 002B9684 48 04 F3 2D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC728 002B9688 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC72C 002B968C 7C 08 03 A6 */ mtlr r0 +/* 802BC730 002B9690 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC734 002B9694 4E 80 00 20 */ blr + +.global SetBlendMode_InvertDst__13CCubeRendererFv +SetBlendMode_InvertDst__13CCubeRendererFv: +/* 802BC738 002B9698 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC73C 002B969C 7C 08 02 A6 */ mflr r0 +/* 802BC740 002B96A0 38 60 00 01 */ li r3, 1 +/* 802BC744 002B96A4 38 80 00 03 */ li r4, 3 +/* 802BC748 002B96A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC74C 002B96AC 38 A0 00 00 */ li r5, 0 +/* 802BC750 002B96B0 38 C0 00 00 */ li r6, 0 +/* 802BC754 002B96B4 48 04 F2 FD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC758 002B96B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC75C 002B96BC 7C 08 03 A6 */ mtlr r0 +/* 802BC760 002B96C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC764 002B96C4 4E 80 00 20 */ blr + +.global SetBlendMode_ColorMultiply__13CCubeRendererFv +SetBlendMode_ColorMultiply__13CCubeRendererFv: +/* 802BC768 002B96C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC76C 002B96CC 7C 08 02 A6 */ mflr r0 +/* 802BC770 002B96D0 38 60 00 01 */ li r3, 1 +/* 802BC774 002B96D4 38 80 00 00 */ li r4, 0 +/* 802BC778 002B96D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC77C 002B96DC 38 A0 00 02 */ li r5, 2 +/* 802BC780 002B96E0 38 C0 00 00 */ li r6, 0 +/* 802BC784 002B96E4 48 04 F2 CD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC788 002B96E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC78C 002B96EC 7C 08 03 A6 */ mtlr r0 +/* 802BC790 002B96F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC794 002B96F4 4E 80 00 20 */ blr + +.global SetBlendMode_NoColorWrite__13CCubeRendererFv +SetBlendMode_NoColorWrite__13CCubeRendererFv: +/* 802BC798 002B96F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC79C 002B96FC 7C 08 02 A6 */ mflr r0 +/* 802BC7A0 002B9700 38 60 00 01 */ li r3, 1 +/* 802BC7A4 002B9704 38 80 00 00 */ li r4, 0 +/* 802BC7A8 002B9708 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC7AC 002B970C 38 A0 00 01 */ li r5, 1 +/* 802BC7B0 002B9710 38 C0 00 00 */ li r6, 0 +/* 802BC7B4 002B9714 48 04 F2 9D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC7B8 002B9718 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC7BC 002B971C 7C 08 03 A6 */ mtlr r0 +/* 802BC7C0 002B9720 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC7C4 002B9724 4E 80 00 20 */ blr + +.global SetBlendMode_AlphaBlended__13CCubeRendererFv +SetBlendMode_AlphaBlended__13CCubeRendererFv: +/* 802BC7C8 002B9728 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC7CC 002B972C 7C 08 02 A6 */ mflr r0 +/* 802BC7D0 002B9730 38 60 00 01 */ li r3, 1 +/* 802BC7D4 002B9734 38 80 00 04 */ li r4, 4 +/* 802BC7D8 002B9738 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC7DC 002B973C 38 A0 00 05 */ li r5, 5 +/* 802BC7E0 002B9740 38 C0 00 00 */ li r6, 0 +/* 802BC7E4 002B9744 48 04 F2 6D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC7E8 002B9748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC7EC 002B974C 7C 08 03 A6 */ mtlr r0 +/* 802BC7F0 002B9750 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC7F4 002B9754 4E 80 00 20 */ blr + +.global SetBlendMode_AdditiveAlpha__13CCubeRendererFv +SetBlendMode_AdditiveAlpha__13CCubeRendererFv: +/* 802BC7F8 002B9758 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC7FC 002B975C 7C 08 02 A6 */ mflr r0 +/* 802BC800 002B9760 38 60 00 01 */ li r3, 1 +/* 802BC804 002B9764 38 80 00 04 */ li r4, 4 +/* 802BC808 002B9768 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC80C 002B976C 38 A0 00 01 */ li r5, 1 +/* 802BC810 002B9770 38 C0 00 00 */ li r6, 0 +/* 802BC814 002B9774 48 04 F2 3D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC818 002B9778 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC81C 002B977C 7C 08 03 A6 */ mtlr r0 +/* 802BC820 002B9780 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC824 002B9784 4E 80 00 20 */ blr + +.global SetDepthReadWrite__13CCubeRendererFbb +SetDepthReadWrite__13CCubeRendererFbb: +/* 802BC828 002B9788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC82C 002B978C 7C 08 02 A6 */ mflr r0 +/* 802BC830 002B9790 7C 83 23 78 */ mr r3, r4 +/* 802BC834 002B9794 38 80 00 03 */ li r4, 3 +/* 802BC838 002B9798 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC83C 002B979C 48 04 F2 59 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BC840 002B97A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC844 002B97A4 7C 08 03 A6 */ mtlr r0 +/* 802BC848 002B97A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC84C 002B97AC 4E 80 00 20 */ blr + +.global SetViewport__13CCubeRendererFiiii +SetViewport__13CCubeRendererFiiii: +/* 802BC850 002B97B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BC854 002B97B4 7C 08 02 A6 */ mflr r0 +/* 802BC858 002B97B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BC85C 002B97BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BC860 002B97C0 7C FF 3B 78 */ mr r31, r7 +/* 802BC864 002B97C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BC868 002B97C8 7C DE 33 78 */ mr r30, r6 +/* 802BC86C 002B97CC 7F E6 FB 78 */ mr r6, r31 +/* 802BC870 002B97D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BC874 002B97D4 7C BD 2B 78 */ mr r29, r5 +/* 802BC878 002B97D8 7F C5 F3 78 */ mr r5, r30 +/* 802BC87C 002B97DC 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BC880 002B97E0 7C 9C 23 78 */ mr r28, r4 +/* 802BC884 002B97E4 7F 83 E3 78 */ mr r3, r28 +/* 802BC888 002B97E8 7F A4 EB 78 */ mr r4, r29 +/* 802BC88C 002B97EC 48 04 F8 05 */ bl SetViewport__9CGraphicsFiiii +/* 802BC890 002B97F0 7F 83 E3 78 */ mr r3, r28 +/* 802BC894 002B97F4 7F A4 EB 78 */ mr r4, r29 +/* 802BC898 002B97F8 7F C5 F3 78 */ mr r5, r30 +/* 802BC89C 002B97FC 7F E6 FB 78 */ mr r6, r31 +/* 802BC8A0 002B9800 48 04 F7 BD */ bl SetScissor__9CGraphicsFiiii +/* 802BC8A4 002B9804 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BC8A8 002B9808 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BC8AC 002B980C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BC8B0 002B9810 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BC8B4 002B9814 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BC8B8 002B9818 7C 08 03 A6 */ mtlr r0 +/* 802BC8BC 002B981C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BC8C0 002B9820 4E 80 00 20 */ blr + +.global SetViewportOrtho__13CCubeRendererFbff +SetViewportOrtho__13CCubeRendererFbff: +/* 802BC8C4 002B9824 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802BC8C8 002B9828 7C 08 02 A6 */ mflr r0 +/* 802BC8CC 002B982C 90 01 00 84 */ stw r0, 0x84(r1) +/* 802BC8D0 002B9830 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802BC8D4 002B9834 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802BC8D8 002B9838 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 802BC8DC 002B983C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 802BC8E0 002B9840 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 802BC8E4 002B9844 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 802BC8E8 002B9848 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 802BC8EC 002B984C F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 802BC8F0 002B9850 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802BC8F4 002B9854 3C 80 80 3F */ lis r4, lbl_803F0004@ha +/* 802BC8F8 002B9858 84 C4 D9 10 */ lwzu r6, -0x26f0(r4) +/* 802BC8FC 002B985C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802BC900 002B9860 FC A0 08 90 */ fmr f5, f1 +/* 802BC904 002B9864 FC C0 10 90 */ fmr f6, f2 +/* 802BC908 002B9868 80 04 00 04 */ lwz r0, lbl_803F0004@l(r4) +/* 802BC90C 002B986C 80 E4 00 08 */ lwz r7, 8(r4) +/* 802BC910 002B9870 7C 7F 1B 78 */ mr r31, r3 +/* 802BC914 002B9874 81 04 00 0C */ lwz r8, 0xc(r4) +/* 802BC918 002B9878 41 82 00 18 */ beq lbl_802BC930 +/* 802BC91C 002B987C 54 E3 0F FE */ srwi r3, r7, 0x1f +/* 802BC920 002B9880 7C 63 3A 14 */ add r3, r3, r7 +/* 802BC924 002B9884 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC928 002B9888 7C 63 30 50 */ subf r3, r3, r6 +/* 802BC92C 002B988C 48 00 00 08 */ b lbl_802BC934 +lbl_802BC930: +/* 802BC930 002B9890 7C C3 33 78 */ mr r3, r6 +lbl_802BC934: +/* 802BC934 002B9894 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802BC938 002B9898 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC93C 002B989C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802BC940 002B98A0 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 802BC944 002B98A4 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BC948 002B98A8 90 81 00 18 */ stw r4, 0x18(r1) +/* 802BC94C 002B98AC C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802BC950 002B98B0 EF E0 08 28 */ fsubs f31, f0, f1 +/* 802BC954 002B98B4 41 82 00 18 */ beq lbl_802BC96C +/* 802BC958 002B98B8 55 03 0F FE */ srwi r3, r8, 0x1f +/* 802BC95C 002B98BC 7C 63 42 14 */ add r3, r3, r8 +/* 802BC960 002B98C0 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC964 002B98C4 7C 63 00 50 */ subf r3, r3, r0 +/* 802BC968 002B98C8 48 00 00 08 */ b lbl_802BC970 +lbl_802BC96C: +/* 802BC96C 002B98CC 7C 03 03 78 */ mr r3, r0 +lbl_802BC970: +/* 802BC970 002B98D0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802BC974 002B98D4 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC978 002B98D8 90 61 00 24 */ stw r3, 0x24(r1) +/* 802BC97C 002B98DC 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 802BC980 002B98E0 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BC984 002B98E4 90 81 00 20 */ stw r4, 0x20(r1) +/* 802BC988 002B98E8 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 802BC98C 002B98EC EF C0 08 28 */ fsubs f30, f0, f1 +/* 802BC990 002B98F0 41 82 00 18 */ beq lbl_802BC9A8 +/* 802BC994 002B98F4 54 E3 0F FE */ srwi r3, r7, 0x1f +/* 802BC998 002B98F8 7C 63 3A 14 */ add r3, r3, r7 +/* 802BC99C 002B98FC 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC9A0 002B9900 7C 66 1A 14 */ add r3, r6, r3 +/* 802BC9A4 002B9904 48 00 00 08 */ b lbl_802BC9AC +lbl_802BC9A8: +/* 802BC9A8 002B9908 7C 66 3A 14 */ add r3, r6, r7 +lbl_802BC9AC: +/* 802BC9AC 002B990C 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802BC9B0 002B9910 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC9B4 002B9914 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802BC9B8 002B9918 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 802BC9BC 002B991C C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BC9C0 002B9920 90 81 00 28 */ stw r4, 0x28(r1) +/* 802BC9C4 002B9924 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802BC9C8 002B9928 EF A0 08 28 */ fsubs f29, f0, f1 +/* 802BC9CC 002B992C 41 82 00 18 */ beq lbl_802BC9E4 +/* 802BC9D0 002B9930 55 03 0F FE */ srwi r3, r8, 0x1f +/* 802BC9D4 002B9934 7C 63 42 14 */ add r3, r3, r8 +/* 802BC9D8 002B9938 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC9DC 002B993C 7C 00 1A 14 */ add r0, r0, r3 +/* 802BC9E0 002B9940 48 00 00 08 */ b lbl_802BC9E8 +lbl_802BC9E4: +/* 802BC9E4 002B9944 7C 00 42 14 */ add r0, r0, r8 +lbl_802BC9E8: +/* 802BC9E8 002B9948 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 802BC9EC 002B994C 3C 00 43 30 */ lis r0, 0x4330 +/* 802BC9F0 002B9950 90 61 00 34 */ stw r3, 0x34(r1) +/* 802BC9F4 002B9954 FC 20 F8 90 */ fmr f1, f31 +/* 802BC9F8 002B9958 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802BC9FC 002B995C FC 40 E8 90 */ fmr f2, f29 +/* 802BCA00 002B9960 90 01 00 30 */ stw r0, 0x30(r1) +/* 802BCA04 002B9964 FC 80 F0 90 */ fmr f4, f30 +/* 802BCA08 002B9968 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802BCA0C 002B996C EF 80 18 28 */ fsubs f28, f0, f3 +/* 802BCA10 002B9970 FC 60 E0 90 */ fmr f3, f28 +/* 802BCA14 002B9974 48 04 FB 41 */ bl SetOrtho__9CGraphicsFffffff +/* 802BCA18 002B9978 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BCA1C 002B997C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BCA20 002B9980 48 04 FD 2D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BCA24 002B9984 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BCA28 002B9988 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BCA2C 002B998C 48 04 FB B5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BCA30 002B9990 FC 20 E8 90 */ fmr f1, f29 +/* 802BCA34 002B9994 38 61 00 08 */ addi r3, r1, 8 +/* 802BCA38 002B9998 FC 40 E0 90 */ fmr f2, f28 +/* 802BCA3C 002B999C 48 05 77 C5 */ bl __ct__9CVector2fFff +/* 802BCA40 002B99A0 FC 20 F8 90 */ fmr f1, f31 +/* 802BCA44 002B99A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BCA48 002B99A8 FC 40 F0 90 */ fmr f2, f30 +/* 802BCA4C 002B99AC 48 05 77 B5 */ bl __ct__9CVector2fFff +/* 802BCA50 002B99B0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802BCA54 002B99B4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802BCA58 002B99B8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802BCA5C 002B99BC D0 1F 00 04 */ stfs f0, 4(r31) +/* 802BCA60 002B99C0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802BCA64 002B99C4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802BCA68 002B99C8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802BCA6C 002B99CC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802BCA70 002B99D0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802BCA74 002B99D4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802BCA78 002B99D8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 802BCA7C 002B99DC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 802BCA80 002B99E0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 802BCA84 002B99E4 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 802BCA88 002B99E8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 802BCA8C 002B99EC CB 81 00 40 */ lfd f28, 0x40(r1) +/* 802BCA90 002B99F0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802BCA94 002B99F4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802BCA98 002B99F8 7C 08 03 A6 */ mtlr r0 +/* 802BCA9C 002B99FC 38 21 00 80 */ addi r1, r1, 0x80 +/* 802BCAA0 002B9A00 4E 80 00 20 */ blr + +.global SetPerspective__13CCubeRendererFffff +SetPerspective__13CCubeRendererFffff: +/* 802BCAA4 002B9A04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCAA8 002B9A08 7C 08 02 A6 */ mflr r0 +/* 802BCAAC 002B9A0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCAB0 002B9A10 48 04 F9 E1 */ bl SetPerspective__9CGraphicsFffff +/* 802BCAB4 002B9A14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCAB8 002B9A18 7C 08 03 A6 */ mtlr r0 +/* 802BCABC 002B9A1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCAC0 002B9A20 4E 80 00 20 */ blr + +.global SetPerspective__13CCubeRendererFfffff +SetPerspective__13CCubeRendererFfffff: +/* 802BCAC4 002B9A24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCAC8 002B9A28 7C 08 02 A6 */ mflr r0 +/* 802BCACC 002B9A2C EC 42 18 24 */ fdivs f2, f2, f3 +/* 802BCAD0 002B9A30 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCAD4 002B9A34 FC 60 20 90 */ fmr f3, f4 +/* 802BCAD8 002B9A38 FC 80 28 90 */ fmr f4, f5 +/* 802BCADC 002B9A3C 48 04 F9 B5 */ bl SetPerspective__9CGraphicsFffff +/* 802BCAE0 002B9A40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCAE4 002B9A44 7C 08 03 A6 */ mtlr r0 +/* 802BCAE8 002B9A48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCAEC 002B9A4C 4E 80 00 20 */ blr + +.global SetAmbientColor__13CCubeRendererFRC6CColor +SetAmbientColor__13CCubeRendererFRC6CColor: +/* 802BCAF0 002B9A50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCAF4 002B9A54 7C 08 02 A6 */ mflr r0 +/* 802BCAF8 002B9A58 7C 83 23 78 */ mr r3, r4 +/* 802BCAFC 002B9A5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCB00 002B9A60 48 04 F5 1D */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802BCB04 002B9A64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCB08 002B9A68 7C 08 03 A6 */ mtlr r0 +/* 802BCB0C 002B9A6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCB10 002B9A70 4E 80 00 20 */ blr + +.global EndPrimitive__13CCubeRendererFv +EndPrimitive__13CCubeRendererFv: +/* 802BCB14 002B9A74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCB18 002B9A78 7C 08 02 A6 */ mflr r0 +/* 802BCB1C 002B9A7C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802BCB20 002B9A80 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCB24 002B9A84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BCB28 002B9A88 3B E4 66 A0 */ addi r31, r4, skZero3f@l +/* 802BCB2C 002B9A8C 93 C1 00 08 */ stw r30, 8(r1) +/* 802BCB30 002B9A90 7C 7E 1B 78 */ mr r30, r3 +/* 802BCB34 002B9A94 48 00 00 1C */ b lbl_802BCB50 +lbl_802BCB38: +/* 802BCB38 002B9A98 7F C3 F3 78 */ mr r3, r30 +/* 802BCB3C 002B9A9C 7F E4 FB 78 */ mr r4, r31 +/* 802BCB40 002B9AA0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802BCB44 002B9AA4 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 802BCB48 002B9AA8 7D 89 03 A6 */ mtctr r12 +/* 802BCB4C 002B9AAC 4E 80 04 21 */ bctrl +lbl_802BCB50: +/* 802BCB50 002B9AB0 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 802BCB54 002B9AB4 2C 00 00 00 */ cmpwi r0, 0 +/* 802BCB58 002B9AB8 40 82 FF E0 */ bne lbl_802BCB38 +/* 802BCB5C 002B9ABC 48 04 BA 25 */ bl End__3CGXFv +/* 802BCB60 002B9AC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCB64 002B9AC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BCB68 002B9AC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BCB6C 002B9ACC 7C 08 03 A6 */ mtlr r0 +/* 802BCB70 002B9AD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCB74 002B9AD4 4E 80 00 20 */ blr + +.global PrimNormal__13CCubeRendererFRC9CVector3f +PrimNormal__13CCubeRendererFRC9CVector3f: +/* 802BCB78 002B9AD8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802BCB7C 002B9ADC D0 03 02 E4 */ stfs f0, 0x2e4(r3) +/* 802BCB80 002B9AE0 C0 04 00 04 */ lfs f0, 4(r4) +/* 802BCB84 002B9AE4 D0 03 02 E8 */ stfs f0, 0x2e8(r3) +/* 802BCB88 002B9AE8 C0 04 00 08 */ lfs f0, 8(r4) +/* 802BCB8C 002B9AEC D0 03 02 EC */ stfs f0, 0x2ec(r3) +/* 802BCB90 002B9AF0 4E 80 00 20 */ blr + +.global PrimVertex__13CCubeRendererFRC9CVector3f +PrimVertex__13CCubeRendererFRC9CVector3f: +/* 802BCB94 002B9AF4 80 C3 00 18 */ lwz r6, 0x18(r3) +/* 802BCB98 002B9AF8 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 802BCB9C 002B9AFC 38 06 FF FF */ addi r0, r6, -1 +/* 802BCBA0 002B9B00 90 03 00 18 */ stw r0, 0x18(r3) +/* 802BCBA4 002B9B04 C0 24 00 08 */ lfs f1, 8(r4) +/* 802BCBA8 002B9B08 C0 44 00 04 */ lfs f2, 4(r4) +/* 802BCBAC 002B9B0C C0 04 00 00 */ lfs f0, 0(r4) +/* 802BCBB0 002B9B10 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BCBB4 002B9B14 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BCBB8 002B9B18 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BCBBC 002B9B1C C0 23 02 EC */ lfs f1, 0x2ec(r3) +/* 802BCBC0 002B9B20 C0 43 02 E8 */ lfs f2, 0x2e8(r3) +/* 802BCBC4 002B9B24 C0 03 02 E4 */ lfs f0, 0x2e4(r3) +/* 802BCBC8 002B9B28 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BCBCC 002B9B2C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BCBD0 002B9B30 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BCBD4 002B9B34 80 03 02 E0 */ lwz r0, 0x2e0(r3) +/* 802BCBD8 002B9B38 90 05 80 00 */ stw r0, 0xCC008000@l(r5) +/* 802BCBDC 002B9B3C 4E 80 00 20 */ blr + +.global BeginTriangleFan__13CCubeRendererFi +BeginTriangleFan__13CCubeRendererFi: +/* 802BCBE0 002B9B40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCBE4 002B9B44 7C 08 02 A6 */ mflr r0 +/* 802BCBE8 002B9B48 7C 85 23 78 */ mr r5, r4 +/* 802BCBEC 002B9B4C 38 80 00 A0 */ li r4, 0xa0 +/* 802BCBF0 002B9B50 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCBF4 002B9B54 48 00 00 B5 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCBF8 002B9B58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCBFC 002B9B5C 7C 08 03 A6 */ mtlr r0 +/* 802BCC00 002B9B60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC04 002B9B64 4E 80 00 20 */ blr + +.global BeginTriangleStrip__13CCubeRendererFi +BeginTriangleStrip__13CCubeRendererFi: +/* 802BCC08 002B9B68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC0C 002B9B6C 7C 08 02 A6 */ mflr r0 +/* 802BCC10 002B9B70 7C 85 23 78 */ mr r5, r4 +/* 802BCC14 002B9B74 38 80 00 98 */ li r4, 0x98 +/* 802BCC18 002B9B78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC1C 002B9B7C 48 00 00 8D */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC20 002B9B80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC24 002B9B84 7C 08 03 A6 */ mtlr r0 +/* 802BCC28 002B9B88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC2C 002B9B8C 4E 80 00 20 */ blr + +.global BeginTriangles__13CCubeRendererFi +BeginTriangles__13CCubeRendererFi: +/* 802BCC30 002B9B90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC34 002B9B94 7C 08 02 A6 */ mflr r0 +/* 802BCC38 002B9B98 7C 85 23 78 */ mr r5, r4 +/* 802BCC3C 002B9B9C 38 80 00 90 */ li r4, 0x90 +/* 802BCC40 002B9BA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC44 002B9BA4 48 00 00 65 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC48 002B9BA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC4C 002B9BAC 7C 08 03 A6 */ mtlr r0 +/* 802BCC50 002B9BB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC54 002B9BB4 4E 80 00 20 */ blr + +.global BeginLineStrip__13CCubeRendererFi +BeginLineStrip__13CCubeRendererFi: +/* 802BCC58 002B9BB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC5C 002B9BBC 7C 08 02 A6 */ mflr r0 +/* 802BCC60 002B9BC0 7C 85 23 78 */ mr r5, r4 +/* 802BCC64 002B9BC4 38 80 00 B0 */ li r4, 0xb0 +/* 802BCC68 002B9BC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC6C 002B9BCC 48 00 00 3D */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC70 002B9BD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC74 002B9BD4 7C 08 03 A6 */ mtlr r0 +/* 802BCC78 002B9BD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC7C 002B9BDC 4E 80 00 20 */ blr + +.global BeginLines__13CCubeRendererFi +BeginLines__13CCubeRendererFi: +/* 802BCC80 002B9BE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC84 002B9BE4 7C 08 02 A6 */ mflr r0 +/* 802BCC88 002B9BE8 7C 85 23 78 */ mr r5, r4 +/* 802BCC8C 002B9BEC 38 80 00 A8 */ li r4, 0xa8 +/* 802BCC90 002B9BF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC94 002B9BF4 48 00 00 15 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC98 002B9BF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC9C 002B9BFC 7C 08 03 A6 */ mtlr r0 +/* 802BCCA0 002B9C00 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCCA4 002B9C04 4E 80 00 20 */ blr + +.global BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei: +/* 802BCCA8 002B9C08 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802BCCAC 002B9C0C 7C 08 02 A6 */ mflr r0 +/* 802BCCB0 002B9C10 3C C0 80 3D */ lis r6, lbl_803D6580@ha +/* 802BCCB4 002B9C14 38 E0 00 00 */ li r7, 0 +/* 802BCCB8 002B9C18 90 01 00 54 */ stw r0, 0x54(r1) +/* 802BCCBC 002B9C1C 39 26 65 80 */ addi r9, r6, lbl_803D6580@l +/* 802BCCC0 002B9C20 38 C0 00 01 */ li r6, 1 +/* 802BCCC4 002B9C24 39 00 00 00 */ li r8, 0 +/* 802BCCC8 002B9C28 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 802BCCCC 002B9C2C 7C 79 1B 78 */ mr r25, r3 +/* 802BCCD0 002B9C30 7C 9A 23 78 */ mr r26, r4 +/* 802BCCD4 002B9C34 7C BB 2B 78 */ mr r27, r5 +/* 802BCCD8 002B9C38 38 60 00 00 */ li r3, 0 +/* 802BCCDC 002B9C3C 38 80 00 00 */ li r4, 0 +/* 802BCCE0 002B9C40 38 A0 00 00 */ li r5, 0 +/* 802BCCE4 002B9C44 83 89 00 00 */ lwz r28, 0(r9) +/* 802BCCE8 002B9C48 83 A9 00 04 */ lwz r29, 4(r9) +/* 802BCCEC 002B9C4C 83 C9 00 08 */ lwz r30, 8(r9) +/* 802BCCF0 002B9C50 83 E9 00 0C */ lwz r31, 0xc(r9) +/* 802BCCF4 002B9C54 81 89 00 10 */ lwz r12, 0x10(r9) +/* 802BCCF8 002B9C58 81 69 00 14 */ lwz r11, 0x14(r9) +/* 802BCCFC 002B9C5C 81 49 00 18 */ lwz r10, 0x18(r9) +/* 802BCD00 002B9C60 80 09 00 1C */ lwz r0, 0x1c(r9) +/* 802BCD04 002B9C64 39 20 00 02 */ li r9, 2 +/* 802BCD08 002B9C68 93 81 00 08 */ stw r28, 8(r1) +/* 802BCD0C 002B9C6C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802BCD10 002B9C70 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802BCD14 002B9C74 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802BCD18 002B9C78 91 81 00 18 */ stw r12, 0x18(r1) +/* 802BCD1C 002B9C7C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 802BCD20 002B9C80 91 41 00 20 */ stw r10, 0x20(r1) +/* 802BCD24 002B9C84 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BCD28 002B9C88 48 04 BF A5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802BCD2C 002B9C8C 38 60 00 01 */ li r3, 1 +/* 802BCD30 002B9C90 48 04 C1 21 */ bl SetNumChans__3CGXFUc +/* 802BCD34 002B9C94 38 60 00 00 */ li r3, 0 +/* 802BCD38 002B9C98 48 04 C0 DD */ bl SetNumTexGens__3CGXFUc +/* 802BCD3C 002B9C9C 38 60 00 01 */ li r3, 1 +/* 802BCD40 002B9CA0 48 04 BF 51 */ bl SetNumTevStages__3CGXFUc +/* 802BCD44 002B9CA4 38 60 00 00 */ li r3, 0 +/* 802BCD48 002B9CA8 38 80 00 FF */ li r4, 0xff +/* 802BCD4C 002B9CAC 38 A0 00 FF */ li r5, 0xff +/* 802BCD50 002B9CB0 38 C0 00 04 */ li r6, 4 +/* 802BCD54 002B9CB4 48 04 BB F9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BCD58 002B9CB8 38 60 00 00 */ li r3, 0 +/* 802BCD5C 002B9CBC 38 80 00 0F */ li r4, 0xf +/* 802BCD60 002B9CC0 38 A0 00 0F */ li r5, 0xf +/* 802BCD64 002B9CC4 38 C0 00 0F */ li r6, 0xf +/* 802BCD68 002B9CC8 38 E0 00 0A */ li r7, 0xa +/* 802BCD6C 002B9CCC 48 04 BE 81 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BCD70 002B9CD0 38 60 00 00 */ li r3, 0 +/* 802BCD74 002B9CD4 38 80 00 07 */ li r4, 7 +/* 802BCD78 002B9CD8 38 A0 00 07 */ li r5, 7 +/* 802BCD7C 002B9CDC 38 C0 00 07 */ li r6, 7 +/* 802BCD80 002B9CE0 38 E0 00 05 */ li r7, 5 +/* 802BCD84 002B9CE4 48 04 BE 11 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BCD88 002B9CE8 38 60 00 00 */ li r3, 0 +/* 802BCD8C 002B9CEC 48 04 AE C5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802BCD90 002B9CF0 93 79 00 18 */ stw r27, 0x18(r25) +/* 802BCD94 002B9CF4 38 61 00 08 */ addi r3, r1, 8 +/* 802BCD98 002B9CF8 48 04 B0 91 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BCD9C 002B9CFC 7F 43 D3 78 */ mr r3, r26 +/* 802BCDA0 002B9D00 57 65 04 3E */ clrlwi r5, r27, 0x10 +/* 802BCDA4 002B9D04 38 80 00 00 */ li r4, 0 +/* 802BCDA8 002B9D08 48 04 B7 DD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BCDAC 002B9D0C BB 21 00 34 */ lmw r25, 0x34(r1) +/* 802BCDB0 002B9D10 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BCDB4 002B9D14 7C 08 03 A6 */ mtlr r0 +/* 802BCDB8 002B9D18 38 21 00 50 */ addi r1, r1, 0x50 +/* 802BCDBC 002B9D1C 4E 80 00 20 */ blr + +.global PrimColor__13CCubeRendererFRC6CColor +PrimColor__13CCubeRendererFRC6CColor: +/* 802BCDC0 002B9D20 80 04 00 00 */ lwz r0, 0(r4) +/* 802BCDC4 002B9D24 90 03 02 E0 */ stw r0, 0x2e0(r3) +/* 802BCDC8 002B9D28 4E 80 00 20 */ blr + +.global PrimColor__13CCubeRendererFffff +PrimColor__13CCubeRendererFffff: +/* 802BCDCC 002B9D2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCDD0 002B9D30 7C 08 02 A6 */ mflr r0 +/* 802BCDD4 002B9D34 38 63 02 E0 */ addi r3, r3, 0x2e0 +/* 802BCDD8 002B9D38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCDDC 002B9D3C 48 0A 65 C1 */ bl Set__6CColorFffff +/* 802BCDE0 002B9D40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCDE4 002B9D44 7C 08 03 A6 */ mtlr r0 +/* 802BCDE8 002B9D48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCDEC 002B9D4C 4E 80 00 20 */ blr + +.global AllocateRenderer__8RendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory +AllocateRenderer__8RendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory: +/* 802BCDF0 002B9D50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BCDF4 002B9D54 7C 08 02 A6 */ mflr r0 +/* 802BCDF8 002B9D58 3C E0 80 3D */ lis r7, lbl_803D685C@ha +/* 802BCDFC 002B9D5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BCE00 002B9D60 38 07 68 5C */ addi r0, r7, lbl_803D685C@l +/* 802BCE04 002B9D64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BCE08 002B9D68 7C DF 33 78 */ mr r31, r6 +/* 802BCE0C 002B9D6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BCE10 002B9D70 7C BE 2B 78 */ mr r30, r5 +/* 802BCE14 002B9D74 38 A0 00 00 */ li r5, 0 +/* 802BCE18 002B9D78 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BCE1C 002B9D7C 7C 9D 23 78 */ mr r29, r4 +/* 802BCE20 002B9D80 7C 04 03 78 */ mr r4, r0 +/* 802BCE24 002B9D84 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BCE28 002B9D88 7C 7C 1B 78 */ mr r28, r3 +/* 802BCE2C 002B9D8C 38 60 03 1C */ li r3, 0x31c +/* 802BCE30 002B9D90 48 00 31 A9 */ bl "__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc" +/* 802BCE34 002B9D94 7C 64 1B 79 */ or. r4, r3, r3 +/* 802BCE38 002B9D98 41 82 00 1C */ beq lbl_802BCE54 +/* 802BCE3C 002B9D9C 7F 84 E3 78 */ mr r4, r28 +/* 802BCE40 002B9DA0 7F A5 EB 78 */ mr r5, r29 +/* 802BCE44 002B9DA4 7F C6 F3 78 */ mr r6, r30 +/* 802BCE48 002B9DA8 7F E7 FB 78 */ mr r7, r31 +/* 802BCE4C 002B9DAC 48 00 22 15 */ bl __ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory +/* 802BCE50 002B9DB0 7C 64 1B 78 */ mr r4, r3 +lbl_802BCE54: +/* 802BCE54 002B9DB4 28 04 00 00 */ cmplwi r4, 0 +/* 802BCE58 002B9DB8 7C 80 23 78 */ mr r0, r4 +/* 802BCE5C 002B9DBC 41 82 00 08 */ beq lbl_802BCE64 +/* 802BCE60 002B9DC0 38 04 00 04 */ addi r0, r4, 4 +lbl_802BCE64: +/* 802BCE64 002B9DC4 90 0D 9A 90 */ stw r0, lbl_805A8650@sda21(r13) +/* 802BCE68 002B9DC8 7C 83 23 78 */ mr r3, r4 +/* 802BCE6C 002B9DCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BCE70 002B9DD0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BCE74 002B9DD4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BCE78 002B9DD8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BCE7C 002B9DDC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BCE80 002B9DE0 7C 08 03 A6 */ mtlr r0 +/* 802BCE84 002B9DE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BCE88 002B9DE8 4E 80 00 20 */ blr + +.global "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +"ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox": +/* 802BCE8C 002B9DEC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BCE90 002B9DF0 7C 08 02 A6 */ mflr r0 +/* 802BCE94 002B9DF4 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BCE98 002B9DF8 BE 01 00 50 */ stmw r16, 0x50(r1) +/* 802BCE9C 002B9DFC 7C 70 1B 78 */ mr r16, r3 +/* 802BCEA0 002B9E00 7C B1 2B 78 */ mr r17, r5 +/* 802BCEA4 002B9E04 3A E0 00 00 */ li r23, 0 +/* 802BCEA8 002B9E08 80 03 03 04 */ lwz r0, 0x304(r3) +/* 802BCEAC 002B9E0C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BCEB0 002B9E10 41 82 01 E0 */ beq lbl_802BD090 +/* 802BCEB4 002B9E14 3C 60 80 3D */ lis r3, lbl_803D6570@ha +/* 802BCEB8 002B9E18 28 04 00 00 */ cmplwi r4, 0 +/* 802BCEBC 002B9E1C 38 E3 65 70 */ addi r7, r3, lbl_803D6570@l +/* 802BCEC0 002B9E20 3B F1 00 20 */ addi r31, r17, 0x20 +/* 802BCEC4 002B9E24 80 C7 00 00 */ lwz r6, 0(r7) +/* 802BCEC8 002B9E28 3A C0 00 00 */ li r22, 0 +/* 802BCECC 002B9E2C 80 A7 00 04 */ lwz r5, 4(r7) +/* 802BCED0 002B9E30 3A A0 00 00 */ li r21, 0 +/* 802BCED4 002B9E34 80 67 00 08 */ lwz r3, 8(r7) +/* 802BCED8 002B9E38 39 00 00 00 */ li r8, 0 +/* 802BCEDC 002B9E3C 80 07 00 0C */ lwz r0, 0xc(r7) +/* 802BCEE0 002B9E40 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802BCEE4 002B9E44 90 A1 00 34 */ stw r5, 0x34(r1) +/* 802BCEE8 002B9E48 90 61 00 38 */ stw r3, 0x38(r1) +/* 802BCEEC 002B9E4C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802BCEF0 002B9E50 41 82 00 1C */ beq lbl_802BCF0C +/* 802BCEF4 002B9E54 80 11 00 44 */ lwz r0, 0x44(r17) +/* 802BCEF8 002B9E58 2C 00 FF FF */ cmpwi r0, -1 +/* 802BCEFC 002B9E5C 41 82 00 10 */ beq lbl_802BCF0C +/* 802BCF00 002B9E60 80 64 00 04 */ lwz r3, 4(r4) +/* 802BCF04 002B9E64 82 A4 00 28 */ lwz r21, 0x28(r4) +/* 802BCF08 002B9E68 81 03 00 14 */ lwz r8, 0x14(r3) +lbl_802BCF0C: +/* 802BCF0C 002B9E6C 3B 01 00 40 */ addi r24, r1, 0x40 +/* 802BCF10 002B9E70 7E BC AB 78 */ mr r28, r21 +/* 802BCF14 002B9E74 7F 19 C3 78 */ mr r25, r24 +/* 802BCF18 002B9E78 55 1B 10 3A */ slwi r27, r8, 2 +/* 802BCF1C 002B9E7C 3B 41 00 30 */ addi r26, r1, 0x30 +/* 802BCF20 002B9E80 3A 80 00 00 */ li r20, 0 +/* 802BCF24 002B9E84 3B A0 00 00 */ li r29, 0 +/* 802BCF28 002B9E88 48 00 01 54 */ b lbl_802BD07C +lbl_802BCF2C: +/* 802BCF2C 002B9E8C 80 10 03 0C */ lwz r0, 0x30c(r16) +/* 802BCF30 002B9E90 28 15 00 00 */ cmplwi r21, 0 +/* 802BCF34 002B9E94 7F C0 EA 14 */ add r30, r0, r29 +/* 802BCF38 002B9E98 41 82 00 18 */ beq lbl_802BCF50 +/* 802BCF3C 002B9E9C 80 91 00 44 */ lwz r4, 0x44(r17) +/* 802BCF40 002B9EA0 7F 83 E3 78 */ mr r3, r28 +/* 802BCF44 002B9EA4 4B FF 17 81 */ bl TestBit__13CCubeRendererFPCUii +/* 802BCF48 002B9EA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802BCF4C 002B9EAC 41 82 01 24 */ beq lbl_802BD070 +lbl_802BCF50: +/* 802BCF50 002B9EB0 7F 04 C3 78 */ mr r4, r24 +/* 802BCF54 002B9EB4 3A 60 00 00 */ li r19, 0 +/* 802BCF58 002B9EB8 3A 40 00 00 */ li r18, 0 +/* 802BCF5C 002B9EBC 7E C9 03 A6 */ mtctr r22 +/* 802BCF60 002B9EC0 2C 16 00 00 */ cmpwi r22, 0 +/* 802BCF64 002B9EC4 40 81 00 8C */ ble lbl_802BCFF0 +lbl_802BCF68: +/* 802BCF68 002B9EC8 80 64 00 00 */ lwz r3, 0(r4) +/* 802BCF6C 002B9ECC 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802BCF70 002B9ED0 7C 03 00 00 */ cmpw r3, r0 +/* 802BCF74 002B9ED4 40 82 00 70 */ bne lbl_802BCFE4 +/* 802BCF78 002B9ED8 7F C3 F3 78 */ mr r3, r30 +/* 802BCF7C 002B9EDC 48 04 93 59 */ bl GetRadius__6CLightCFv +/* 802BCF80 002B9EE0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802BCF84 002B9EE4 7F E3 FB 78 */ mr r3, r31 +/* 802BCF88 002B9EE8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BCF8C 002B9EEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BCF90 002B9EF0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BCF94 002B9EF4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802BCF98 002B9EF8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802BCF9C 002B9EFC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802BCFA0 002B9F00 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802BCFA4 002B9F04 48 01 59 45 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +/* 802BCFA8 002B9F08 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BCFAC 002B9F0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BCFB0 002B9F10 4C 41 13 82 */ cror 2, 1, 2 +/* 802BCFB4 002B9F14 40 82 00 3C */ bne lbl_802BCFF0 +/* 802BCFB8 002B9F18 56 40 10 3A */ slwi r0, r18, 2 +/* 802BCFBC 002B9F1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802BCFC0 002B9F20 7C 03 04 2E */ lfsx f0, r3, r0 +/* 802BCFC4 002B9F24 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BCFC8 002B9F28 40 81 00 28 */ ble lbl_802BCFF0 +/* 802BCFCC 002B9F2C 7C 23 05 2E */ stfsx f1, r3, r0 +/* 802BCFD0 002B9F30 7E 43 93 78 */ mr r3, r18 +/* 802BCFD4 002B9F34 7F C4 F3 78 */ mr r4, r30 +/* 802BCFD8 002B9F38 48 04 F9 ED */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 802BCFDC 002B9F3C 3A 60 00 01 */ li r19, 1 +/* 802BCFE0 002B9F40 48 00 00 10 */ b lbl_802BCFF0 +lbl_802BCFE4: +/* 802BCFE4 002B9F44 38 84 00 04 */ addi r4, r4, 4 +/* 802BCFE8 002B9F48 3A 52 00 01 */ addi r18, r18, 1 +/* 802BCFEC 002B9F4C 42 00 FF 7C */ bdnz lbl_802BCF68 +lbl_802BCFF0: +/* 802BCFF0 002B9F50 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 802BCFF4 002B9F54 40 82 00 7C */ bne lbl_802BD070 +/* 802BCFF8 002B9F58 7F C3 F3 78 */ mr r3, r30 +/* 802BCFFC 002B9F5C 48 04 92 D9 */ bl GetRadius__6CLightCFv +/* 802BD000 002B9F60 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802BD004 002B9F64 7F E3 FB 78 */ mr r3, r31 +/* 802BD008 002B9F68 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BD00C 002B9F6C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802BD010 002B9F70 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BD014 002B9F74 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802BD018 002B9F78 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802BD01C 002B9F7C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802BD020 002B9F80 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802BD024 002B9F84 48 01 58 C5 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +/* 802BD028 002B9F88 D0 3A 00 00 */ stfs f1, 0(r26) +/* 802BD02C 002B9F8C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BD030 002B9F90 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802BD034 002B9F94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BD038 002B9F98 4C 41 13 82 */ cror 2, 1, 2 +/* 802BD03C 002B9F9C 40 82 00 34 */ bne lbl_802BD070 +/* 802BD040 002B9FA0 7E C3 B3 78 */ mr r3, r22 +/* 802BD044 002B9FA4 7F C4 F3 78 */ mr r4, r30 +/* 802BD048 002B9FA8 48 04 F9 7D */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 802BD04C 002B9FAC 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802BD050 002B9FB0 38 60 00 01 */ li r3, 1 +/* 802BD054 002B9FB4 7C 63 B0 30 */ slw r3, r3, r22 +/* 802BD058 002B9FB8 3A D6 00 01 */ addi r22, r22, 1 +/* 802BD05C 002B9FBC 90 19 00 00 */ stw r0, 0(r25) +/* 802BD060 002B9FC0 7E E0 1B 78 */ or r0, r23, r3 +/* 802BD064 002B9FC4 54 17 06 3E */ clrlwi r23, r0, 0x18 +/* 802BD068 002B9FC8 3B 39 00 04 */ addi r25, r25, 4 +/* 802BD06C 002B9FCC 3B 5A 00 04 */ addi r26, r26, 4 +lbl_802BD070: +/* 802BD070 002B9FD0 7F 9C DA 14 */ add r28, r28, r27 +/* 802BD074 002B9FD4 3B BD 00 50 */ addi r29, r29, 0x50 +/* 802BD078 002B9FD8 3A 94 00 01 */ addi r20, r20, 1 +lbl_802BD07C: +/* 802BD07C 002B9FDC 80 10 03 04 */ lwz r0, 0x304(r16) +/* 802BD080 002B9FE0 7C 14 00 00 */ cmpw r20, r0 +/* 802BD084 002B9FE4 40 80 00 0C */ bge lbl_802BD090 +/* 802BD088 002B9FE8 2C 16 00 04 */ cmpwi r22, 4 +/* 802BD08C 002B9FEC 41 80 FE A0 */ blt lbl_802BCF2C +lbl_802BD090: +/* 802BD090 002B9FF0 56 E3 06 3F */ clrlwi. r3, r23, 0x18 +/* 802BD094 002B9FF4 41 82 00 20 */ beq lbl_802BD0B4 +/* 802BD098 002B9FF8 80 02 C2 6C */ lwz r0, lbl_805ADF8C@sda21(r2) +/* 802BD09C 002B9FFC 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD0A0 002BA000 48 04 F8 31 */ bl SetLightState__9CGraphicsFUc +/* 802BD0A4 002BA004 38 81 00 0C */ addi r4, r1, 0xc +/* 802BD0A8 002BA008 38 60 00 00 */ li r3, 0 +/* 802BD0AC 002BA00C 48 04 BC B1 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802BD0B0 002BA010 48 00 00 20 */ b lbl_802BD0D0 +lbl_802BD0B4: +/* 802BD0B4 002BA014 48 04 F8 C9 */ bl DisableAllLights__9CGraphicsFv +/* 802BD0B8 002BA018 38 60 00 00 */ li r3, 0 +/* 802BD0BC 002BA01C 48 04 BC F1 */ bl GetChanAmbColor__3CGXFQ23CGX10EChannelId +/* 802BD0C0 002BA020 90 61 00 08 */ stw r3, 8(r1) +/* 802BD0C4 002BA024 38 81 00 08 */ addi r4, r1, 8 +/* 802BD0C8 002BA028 38 60 00 00 */ li r3, 0 +/* 802BD0CC 002BA02C 48 04 BC 91 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +lbl_802BD0D0: +/* 802BD0D0 002BA030 BA 01 00 50 */ lmw r16, 0x50(r1) +/* 802BD0D4 002BA034 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BD0D8 002BA038 7C 08 03 A6 */ mtlr r0 +/* 802BD0DC 002BA03C 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BD0E0 002BA040 4E 80 00 20 */ blr + +.global "DrawStaticGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +"DrawStaticGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": +/* 802BD0E4 002BA044 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD0E8 002BA048 7C 08 02 A6 */ mflr r0 +/* 802BD0EC 002BA04C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD0F0 002BA050 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BD0F4 002BA054 7C DF 33 78 */ mr r31, r6 +/* 802BD0F8 002BA058 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BD0FC 002BA05C 7C BE 2B 78 */ mr r30, r5 +/* 802BD100 002BA060 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BD104 002BA064 7C 9D 23 78 */ mr r29, r4 +/* 802BD108 002BA068 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BD10C 002BA06C 7C 7C 1B 78 */ mr r28, r3 +/* 802BD110 002BA070 48 00 01 15 */ bl "DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +/* 802BD114 002BA074 7F 83 E3 78 */ mr r3, r28 +/* 802BD118 002BA078 7F A4 EB 78 */ mr r4, r29 +/* 802BD11C 002BA07C 7F C5 F3 78 */ mr r5, r30 +/* 802BD120 002BA080 7F E6 FB 78 */ mr r6, r31 +/* 802BD124 002BA084 48 00 00 25 */ bl "DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +/* 802BD128 002BA088 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD12C 002BA08C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BD130 002BA090 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BD134 002BA094 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BD138 002BA098 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BD13C 002BA09C 7C 08 03 A6 */ mtlr r0 +/* 802BD140 002BA0A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD144 002BA0A4 4E 80 00 20 */ blr + +.global "DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +"DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": +/* 802BD148 002BA0A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD14C 002BA0AC 7C 08 02 A6 */ mflr r0 +/* 802BD150 002BA0B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD154 002BA0B4 BF 41 00 08 */ stmw r26, 8(r1) +/* 802BD158 002BA0B8 7C 9B 23 78 */ mr r27, r4 +/* 802BD15C 002BA0BC 7C 7A 1B 78 */ mr r26, r3 +/* 802BD160 002BA0C0 38 80 00 01 */ li r4, 1 +/* 802BD164 002BA0C4 48 00 06 CD */ bl SetupRendererStates__13CCubeRendererFb +/* 802BD168 002BA0C8 83 DA 00 20 */ lwz r30, 0x20(r26) +/* 802BD16C 002BA0CC 3B 80 00 00 */ li r28, 0 +/* 802BD170 002BA0D0 48 00 00 70 */ b lbl_802BD1E0 +lbl_802BD174: +/* 802BD174 002BA0D4 2C 1B FF FF */ cmpwi r27, -1 +/* 802BD178 002BA0D8 38 7E 00 08 */ addi r3, r30, 8 +/* 802BD17C 002BA0DC 41 82 00 10 */ beq lbl_802BD18C +/* 802BD180 002BA0E0 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD184 002BA0E4 7C 1B 00 00 */ cmpw r27, r0 +/* 802BD188 002BA0E8 40 82 00 54 */ bne lbl_802BD1DC +lbl_802BD18C: +/* 802BD18C 002BA0EC 80 03 00 04 */ lwz r0, 4(r3) +/* 802BD190 002BA0F0 28 00 00 00 */ cmplwi r0, 0 +/* 802BD194 002BA0F4 41 82 00 08 */ beq lbl_802BD19C +/* 802BD198 002BA0F8 7C 7C 1B 78 */ mr r28, r3 +lbl_802BD19C: +/* 802BD19C 002BA0FC 83 E3 00 14 */ lwz r31, 0x14(r3) +/* 802BD1A0 002BA100 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802BD1A4 002BA104 48 00 00 20 */ b lbl_802BD1C4 +lbl_802BD1A8: +/* 802BD1A8 002BA108 80 9D 00 04 */ lwz r4, 4(r29) +/* 802BD1AC 002BA10C 88 04 00 40 */ lbz r0, 0x40(r4) +/* 802BD1B0 002BA110 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802BD1B4 002BA114 41 82 00 0C */ beq lbl_802BD1C0 +/* 802BD1B8 002BA118 7F 43 D3 78 */ mr r3, r26 +/* 802BD1BC 002BA11C 48 00 04 F5 */ bl AddWorldSurfaces__13CCubeRendererFR10CCubeModel +lbl_802BD1C0: +/* 802BD1C0 002BA120 3B BD 00 08 */ addi r29, r29, 8 +lbl_802BD1C4: +/* 802BD1C4 002BA124 80 1F 00 04 */ lwz r0, 4(r31) +/* 802BD1C8 002BA128 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802BD1CC 002BA12C 54 00 18 38 */ slwi r0, r0, 3 +/* 802BD1D0 002BA130 7C 03 02 14 */ add r0, r3, r0 +/* 802BD1D4 002BA134 7C 1D 00 40 */ cmplw r29, r0 +/* 802BD1D8 002BA138 40 82 FF D0 */ bne lbl_802BD1A8 +lbl_802BD1DC: +/* 802BD1DC 002BA13C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_802BD1E0: +/* 802BD1E0 002BA140 80 1A 00 24 */ lwz r0, 0x24(r26) +/* 802BD1E4 002BA144 7C 1E 00 40 */ cmplw r30, r0 +/* 802BD1E8 002BA148 40 82 FF 8C */ bne lbl_802BD174 +/* 802BD1EC 002BA14C 48 00 23 B9 */ bl Sort__7BucketsFv +/* 802BD1F0 002BA150 7F 43 D3 78 */ mr r3, r26 +/* 802BD1F4 002BA154 7F 84 E3 78 */ mr r4, r28 +/* 802BD1F8 002BA158 48 00 03 45 */ bl "RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>" +/* 802BD1FC 002BA15C 7F 43 D3 78 */ mr r3, r26 +/* 802BD200 002BA160 48 00 05 9D */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802BD204 002BA164 7F 43 D3 78 */ mr r3, r26 +/* 802BD208 002BA168 48 00 04 A5 */ bl DrawRenderBucketsDebug__13CCubeRendererFv +/* 802BD20C 002BA16C 48 00 21 A1 */ bl Clear__7BucketsFv +/* 802BD210 002BA170 BB 41 00 08 */ lmw r26, 8(r1) +/* 802BD214 002BA174 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD218 002BA178 7C 08 03 A6 */ mtlr r0 +/* 802BD21C 002BA17C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD220 002BA180 4E 80 00 20 */ blr + +.global "DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +"DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": +/* 802BD224 002BA184 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802BD228 002BA188 7C 08 02 A6 */ mflr r0 +/* 802BD22C 002BA18C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802BD230 002BA190 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 802BD234 002BA194 7C 96 23 78 */ mr r22, r4 +/* 802BD238 002BA198 7C 75 1B 78 */ mr r21, r3 +/* 802BD23C 002BA19C 7C B7 2B 78 */ mr r23, r5 +/* 802BD240 002BA1A0 7C D8 33 78 */ mr r24, r6 +/* 802BD244 002BA1A4 3B 60 00 00 */ li r27, 0 +/* 802BD248 002BA1A8 38 80 00 01 */ li r4, 1 +/* 802BD24C 002BA1AC 48 00 05 E5 */ bl SetupRendererStates__13CCubeRendererFb +/* 802BD250 002BA1B0 83 B5 00 20 */ lwz r29, 0x20(r21) +/* 802BD254 002BA1B4 48 00 01 84 */ b lbl_802BD3D8 +lbl_802BD258: +/* 802BD258 002BA1B8 2C 16 FF FF */ cmpwi r22, -1 +/* 802BD25C 002BA1BC 38 9D 00 08 */ addi r4, r29, 8 +/* 802BD260 002BA1C0 41 82 00 10 */ beq lbl_802BD270 +/* 802BD264 002BA1C4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802BD268 002BA1C8 7C 16 00 00 */ cmpw r22, r0 +/* 802BD26C 002BA1CC 40 82 01 68 */ bne lbl_802BD3D4 +lbl_802BD270: +/* 802BD270 002BA1D0 80 04 00 04 */ lwz r0, 4(r4) +/* 802BD274 002BA1D4 28 00 00 00 */ cmplwi r0, 0 +/* 802BD278 002BA1D8 41 82 00 08 */ beq lbl_802BD280 +/* 802BD27C 002BA1DC 7C 9B 23 78 */ mr r27, r4 +lbl_802BD280: +/* 802BD280 002BA1E0 88 15 00 DC */ lbz r0, 0xdc(r21) +/* 802BD284 002BA1E4 83 E4 00 14 */ lwz r31, 0x14(r4) +/* 802BD288 002BA1E8 28 00 00 00 */ cmplwi r0, 0 +/* 802BD28C 002BA1EC 41 82 00 0C */ beq lbl_802BD298 +/* 802BD290 002BA1F0 3B 55 00 C8 */ addi r26, r21, 0xc8 +/* 802BD294 002BA1F4 48 00 00 08 */ b lbl_802BD29C +lbl_802BD298: +/* 802BD298 002BA1F8 3B 40 00 00 */ li r26, 0 +lbl_802BD29C: +/* 802BD29C 002BA1FC 80 75 00 E0 */ lwz r3, 0xe0(r21) +/* 802BD2A0 002BA200 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802BD2A4 002BA204 7C 03 00 00 */ cmpw r3, r0 +/* 802BD2A8 002BA208 41 82 00 08 */ beq lbl_802BD2B0 +/* 802BD2AC 002BA20C 3B 40 00 00 */ li r26, 0 +lbl_802BD2B0: +/* 802BD2B0 002BA210 83 9F 00 0C */ lwz r28, 0xc(r31) +/* 802BD2B4 002BA214 3B 20 00 00 */ li r25, 0 +/* 802BD2B8 002BA218 48 00 01 04 */ b lbl_802BD3BC +lbl_802BD2BC: +/* 802BD2BC 002BA21C 28 1A 00 00 */ cmplwi r26, 0 +/* 802BD2C0 002BA220 83 DC 00 04 */ lwz r30, 4(r28) +/* 802BD2C4 002BA224 41 82 00 54 */ beq lbl_802BD318 +/* 802BD2C8 002BA228 7F 43 D3 78 */ mr r3, r26 +/* 802BD2CC 002BA22C 7F 24 CB 78 */ mr r4, r25 +/* 802BD2D0 002BA230 48 05 90 09 */ bl GetVisible__10CPVSVisSetCFi +/* 802BD2D4 002BA234 80 95 00 C4 */ lwz r4, 0xc4(r21) +/* 802BD2D8 002BA238 7C 03 00 D0 */ neg r0, r3 +/* 802BD2DC 002BA23C 7C 00 1B 78 */ or r0, r0, r3 +/* 802BD2E0 002BA240 2C 04 00 01 */ cmpwi r4, 1 +/* 802BD2E4 002BA244 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802BD2E8 002BA248 40 82 00 0C */ bne lbl_802BD2F4 +/* 802BD2EC 002BA24C 28 00 00 00 */ cmplwi r0, 0 +/* 802BD2F0 002BA250 41 82 00 14 */ beq lbl_802BD304 +lbl_802BD2F4: +/* 802BD2F4 002BA254 2C 04 00 02 */ cmpwi r4, 2 +/* 802BD2F8 002BA258 40 82 00 20 */ bne lbl_802BD318 +/* 802BD2FC 002BA25C 28 00 00 00 */ cmplwi r0, 0 +/* 802BD300 002BA260 41 82 00 18 */ beq lbl_802BD318 +lbl_802BD304: +/* 802BD304 002BA264 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD308 002BA268 38 60 00 00 */ li r3, 0 +/* 802BD30C 002BA26C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD310 002BA270 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD314 002BA274 48 00 00 A0 */ b lbl_802BD3B4 +lbl_802BD318: +/* 802BD318 002BA278 88 1E 00 41 */ lbz r0, 0x41(r30) +/* 802BD31C 002BA27C 7E E0 00 38 */ and r0, r23, r0 +/* 802BD320 002BA280 7C 18 00 40 */ cmplw r24, r0 +/* 802BD324 002BA284 41 82 00 18 */ beq lbl_802BD33C +/* 802BD328 002BA288 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD32C 002BA28C 38 60 00 00 */ li r3, 0 +/* 802BD330 002BA290 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD334 002BA294 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD338 002BA298 48 00 00 7C */ b lbl_802BD3B4 +lbl_802BD33C: +/* 802BD33C 002BA29C 38 75 00 44 */ addi r3, r21, 0x44 +/* 802BD340 002BA2A0 38 9E 00 20 */ addi r4, r30, 0x20 +/* 802BD344 002BA2A4 48 08 7E 8D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 802BD348 002BA2A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802BD34C 002BA2AC 40 82 00 18 */ bne lbl_802BD364 +/* 802BD350 002BA2B0 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD354 002BA2B4 38 60 00 00 */ li r3, 0 +/* 802BD358 002BA2B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD35C 002BA2BC 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD360 002BA2C0 48 00 00 54 */ b lbl_802BD3B4 +lbl_802BD364: +/* 802BD364 002BA2C4 88 15 03 18 */ lbz r0, 0x318(r21) +/* 802BD368 002BA2C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802BD36C 002BA2CC 41 82 00 28 */ beq lbl_802BD394 +/* 802BD370 002BA2D0 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD374 002BA2D4 38 60 00 00 */ li r3, 0 +/* 802BD378 002BA2D8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD37C 002BA2DC 7E A3 AB 78 */ mr r3, r21 +/* 802BD380 002BA2E0 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD384 002BA2E4 7F 64 DB 78 */ mr r4, r27 +/* 802BD388 002BA2E8 7F C5 F3 78 */ mr r5, r30 +/* 802BD38C 002BA2EC 48 00 00 75 */ bl "HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +/* 802BD390 002BA2F0 48 00 00 24 */ b lbl_802BD3B4 +lbl_802BD394: +/* 802BD394 002BA2F4 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD398 002BA2F8 38 60 00 01 */ li r3, 1 +/* 802BD39C 002BA2FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD3A0 002BA300 7E A3 AB 78 */ mr r3, r21 +/* 802BD3A4 002BA304 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD3A8 002BA308 7F 64 DB 78 */ mr r4, r27 +/* 802BD3AC 002BA30C 7F C5 F3 78 */ mr r5, r30 +/* 802BD3B0 002BA310 48 00 00 F9 */ bl "HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +lbl_802BD3B4: +/* 802BD3B4 002BA314 3B 9C 00 08 */ addi r28, r28, 8 +/* 802BD3B8 002BA318 3B 39 00 01 */ addi r25, r25, 1 +lbl_802BD3BC: +/* 802BD3BC 002BA31C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802BD3C0 002BA320 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802BD3C4 002BA324 54 00 18 38 */ slwi r0, r0, 3 +/* 802BD3C8 002BA328 7C 03 02 14 */ add r0, r3, r0 +/* 802BD3CC 002BA32C 7C 1C 00 40 */ cmplw r28, r0 +/* 802BD3D0 002BA330 40 82 FE EC */ bne lbl_802BD2BC +lbl_802BD3D4: +/* 802BD3D4 002BA334 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802BD3D8: +/* 802BD3D8 002BA338 80 15 00 24 */ lwz r0, 0x24(r21) +/* 802BD3DC 002BA33C 7C 1D 00 40 */ cmplw r29, r0 +/* 802BD3E0 002BA340 40 82 FE 78 */ bne lbl_802BD258 +/* 802BD3E4 002BA344 7E A3 AB 78 */ mr r3, r21 +/* 802BD3E8 002BA348 48 00 03 B5 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802BD3EC 002BA34C BA A1 00 14 */ lmw r21, 0x14(r1) +/* 802BD3F0 002BA350 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802BD3F4 002BA354 7C 08 03 A6 */ mtlr r0 +/* 802BD3F8 002BA358 38 21 00 40 */ addi r1, r1, 0x40 +/* 802BD3FC 002BA35C 4E 80 00 20 */ blr + +.global "HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +"HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel": +/* 802BD400 002BA360 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BD404 002BA364 7C 08 02 A6 */ mflr r0 +/* 802BD408 002BA368 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BD40C 002BA36C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802BD410 002BA370 7C BD 2B 78 */ mr r29, r5 +/* 802BD414 002BA374 7C 7B 1B 78 */ mr r27, r3 +/* 802BD418 002BA378 7C 9C 23 78 */ mr r28, r4 +/* 802BD41C 002BA37C 7F A3 EB 78 */ mr r3, r29 +/* 802BD420 002BA380 83 E5 00 38 */ lwz r31, 0x38(r5) +/* 802BD424 002BA384 83 C5 00 3C */ lwz r30, 0x3c(r5) +/* 802BD428 002BA388 48 04 A1 F9 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802BD42C 002BA38C 7F 63 DB 78 */ mr r3, r27 +/* 802BD430 002BA390 7F 84 E3 78 */ mr r4, r28 +/* 802BD434 002BA394 7F A5 EB 78 */ mr r5, r29 +/* 802BD438 002BA398 4B FF FA 55 */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +/* 802BD43C 002BA39C 93 E1 00 08 */ stw r31, 8(r1) +/* 802BD440 002BA3A0 48 00 00 1C */ b lbl_802BD45C +lbl_802BD444: +/* 802BD444 002BA3A4 7F A3 EB 78 */ mr r3, r29 +/* 802BD448 002BA3A8 38 81 00 08 */ addi r4, r1, 8 +/* 802BD44C 002BA3AC 48 04 9A 8D */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 802BD450 002BA3B0 80 61 00 08 */ lwz r3, 8(r1) +/* 802BD454 002BA3B4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD458 002BA3B8 90 01 00 08 */ stw r0, 8(r1) +lbl_802BD45C: +/* 802BD45C 002BA3BC 80 01 00 08 */ lwz r0, 8(r1) +/* 802BD460 002BA3C0 28 00 00 00 */ cmplwi r0, 0 +/* 802BD464 002BA3C4 40 82 FF E0 */ bne lbl_802BD444 +/* 802BD468 002BA3C8 93 C1 00 08 */ stw r30, 8(r1) +/* 802BD46C 002BA3CC 48 00 00 1C */ b lbl_802BD488 +lbl_802BD470: +/* 802BD470 002BA3D0 7F A3 EB 78 */ mr r3, r29 +/* 802BD474 002BA3D4 38 81 00 08 */ addi r4, r1, 8 +/* 802BD478 002BA3D8 48 04 9A 61 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 802BD47C 002BA3DC 80 61 00 08 */ lwz r3, 8(r1) +/* 802BD480 002BA3E0 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD484 002BA3E4 90 01 00 08 */ stw r0, 8(r1) +lbl_802BD488: +/* 802BD488 002BA3E8 80 01 00 08 */ lwz r0, 8(r1) +/* 802BD48C 002BA3EC 28 00 00 00 */ cmplwi r0, 0 +/* 802BD490 002BA3F0 40 82 FF E0 */ bne lbl_802BD470 +/* 802BD494 002BA3F4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802BD498 002BA3F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BD49C 002BA3FC 7C 08 03 A6 */ mtlr r0 +/* 802BD4A0 002BA400 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BD4A4 002BA404 4E 80 00 20 */ blr + +.global "HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +"HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel": +/* 802BD4A8 002BA408 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD4AC 002BA40C 7C 08 02 A6 */ mflr r0 +/* 802BD4B0 002BA410 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD4B4 002BA414 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BD4B8 002BA418 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BD4BC 002BA41C 7C BE 2B 78 */ mr r30, r5 +/* 802BD4C0 002BA420 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BD4C4 002BA424 7C 9D 23 78 */ mr r29, r4 +/* 802BD4C8 002BA428 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BD4CC 002BA42C 7C 7C 1B 78 */ mr r28, r3 +/* 802BD4D0 002BA430 83 E5 00 38 */ lwz r31, 0x38(r5) +/* 802BD4D4 002BA434 28 1F 00 00 */ cmplwi r31, 0 +/* 802BD4D8 002BA438 41 82 00 44 */ beq lbl_802BD51C +/* 802BD4DC 002BA43C 7F C3 F3 78 */ mr r3, r30 +/* 802BD4E0 002BA440 48 04 A1 41 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802BD4E4 002BA444 7F 83 E3 78 */ mr r3, r28 +/* 802BD4E8 002BA448 7F A4 EB 78 */ mr r4, r29 +/* 802BD4EC 002BA44C 7F C5 F3 78 */ mr r5, r30 +/* 802BD4F0 002BA450 4B FF F9 9D */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +/* 802BD4F4 002BA454 93 E1 00 08 */ stw r31, 8(r1) +lbl_802BD4F8: +/* 802BD4F8 002BA458 7F C3 F3 78 */ mr r3, r30 +/* 802BD4FC 002BA45C 38 81 00 08 */ addi r4, r1, 8 +/* 802BD500 002BA460 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 +/* 802BD504 002BA464 48 04 9F 41 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802BD508 002BA468 80 61 00 08 */ lwz r3, 8(r1) +/* 802BD50C 002BA46C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD510 002BA470 28 00 00 00 */ cmplwi r0, 0 +/* 802BD514 002BA474 90 01 00 08 */ stw r0, 8(r1) +/* 802BD518 002BA478 40 82 FF E0 */ bne lbl_802BD4F8 +lbl_802BD51C: +/* 802BD51C 002BA47C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD520 002BA480 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BD524 002BA484 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BD528 002BA488 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BD52C 002BA48C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BD530 002BA490 7C 08 03 A6 */ mtlr r0 +/* 802BD534 002BA494 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD538 002BA498 4E 80 00 20 */ blr + +.global "RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>" +"RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>": +/* 802BD53C 002BA49C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802BD540 002BA4A0 7C 08 02 A6 */ mflr r0 +/* 802BD544 002BA4A4 3C A0 80 47 */ lis r5, lbl_8046E20C@ha +/* 802BD548 002BA4A8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802BD54C 002BA4AC BE C1 00 18 */ stmw r22, 0x18(r1) +/* 802BD550 002BA4B0 3B E5 E2 0C */ addi r31, r5, lbl_8046E20C@l +/* 802BD554 002BA4B4 7C 9B 23 78 */ mr r27, r4 +/* 802BD558 002BA4B8 7C 7A 1B 78 */ mr r26, r3 +/* 802BD55C 002BA4BC 38 80 FF FF */ li r4, -1 +/* 802BD560 002BA4C0 3B 9F 00 04 */ addi r28, r31, 4 +/* 802BD564 002BA4C4 3B A0 00 00 */ li r29, 0 +/* 802BD568 002BA4C8 83 CD A6 10 */ lwz r30, lbl_805A91D0@sda21(r13) +/* 802BD56C 002BA4CC 48 00 01 14 */ b lbl_802BD680 +lbl_802BD570: +/* 802BD570 002BA4D0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 802BD574 002BA4D4 1C 00 02 04 */ mulli r0, r0, 0x204 +/* 802BD578 002BA4D8 7F 3E 02 14 */ add r25, r30, r0 +/* 802BD57C 002BA4DC 3B 19 00 08 */ addi r24, r25, 8 +/* 802BD580 002BA4E0 3B 39 00 04 */ addi r25, r25, 4 +/* 802BD584 002BA4E4 48 00 00 E0 */ b lbl_802BD664 +lbl_802BD588: +/* 802BD588 002BA4E8 82 F8 00 00 */ lwz r23, 0(r24) +/* 802BD58C 002BA4EC A2 D7 00 00 */ lhz r22, 0(r23) +/* 802BD590 002BA4F0 2C 16 00 01 */ cmpwi r22, 1 +/* 802BD594 002BA4F4 41 82 00 14 */ beq lbl_802BD5A8 +/* 802BD598 002BA4F8 40 80 00 94 */ bge lbl_802BD62C +/* 802BD59C 002BA4FC 2C 16 00 00 */ cmpwi r22, 0 +/* 802BD5A0 002BA500 40 80 00 30 */ bge lbl_802BD5D0 +/* 802BD5A4 002BA504 48 00 00 88 */ b lbl_802BD62C +lbl_802BD5A8: +/* 802BD5A8 002BA508 7C 04 B0 00 */ cmpw r4, r22 +/* 802BD5AC 002BA50C 41 82 00 0C */ beq lbl_802BD5B8 +/* 802BD5B0 002BA510 7F 43 D3 78 */ mr r3, r26 +/* 802BD5B4 002BA514 48 00 01 E9 */ bl SetupCGraphicsStates__13CCubeRendererFv +lbl_802BD5B8: +/* 802BD5B8 002BA518 80 77 00 04 */ lwz r3, 4(r23) +/* 802BD5BC 002BA51C 81 83 00 00 */ lwz r12, 0(r3) +/* 802BD5C0 002BA520 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802BD5C4 002BA524 7D 89 03 A6 */ mtctr r12 +/* 802BD5C8 002BA528 4E 80 04 21 */ bctrl +/* 802BD5CC 002BA52C 48 00 00 90 */ b lbl_802BD65C +lbl_802BD5D0: +/* 802BD5D0 002BA530 7C 04 B0 00 */ cmpw r4, r22 +/* 802BD5D4 002BA534 41 82 00 14 */ beq lbl_802BD5E8 +/* 802BD5D8 002BA538 7F 43 D3 78 */ mr r3, r26 +/* 802BD5DC 002BA53C 38 80 00 00 */ li r4, 0 +/* 802BD5E0 002BA540 48 00 02 51 */ bl SetupRendererStates__13CCubeRendererFb +/* 802BD5E4 002BA544 3B A0 00 00 */ li r29, 0 +lbl_802BD5E8: +/* 802BD5E8 002BA548 80 77 00 04 */ lwz r3, 4(r23) +/* 802BD5EC 002BA54C 90 61 00 08 */ stw r3, 8(r1) +/* 802BD5F0 002BA550 82 E3 00 14 */ lwz r23, 0x14(r3) +/* 802BD5F4 002BA554 7C 17 E8 40 */ cmplw r23, r29 +/* 802BD5F8 002BA558 41 82 00 20 */ beq lbl_802BD618 +/* 802BD5FC 002BA55C 7E E3 BB 78 */ mr r3, r23 +/* 802BD600 002BA560 48 04 A0 21 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802BD604 002BA564 7E FD BB 78 */ mr r29, r23 +/* 802BD608 002BA568 7F 43 D3 78 */ mr r3, r26 +/* 802BD60C 002BA56C 7F 64 DB 78 */ mr r4, r27 +/* 802BD610 002BA570 7E E5 BB 78 */ mr r5, r23 +/* 802BD614 002BA574 4B FF F8 79 */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +lbl_802BD618: +/* 802BD618 002BA578 7E E3 BB 78 */ mr r3, r23 +/* 802BD61C 002BA57C 38 81 00 08 */ addi r4, r1, 8 +/* 802BD620 002BA580 38 AD A5 FC */ addi r5, r13, lbl_805A91BC@sda21 +/* 802BD624 002BA584 48 04 9E 21 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802BD628 002BA588 48 00 00 34 */ b lbl_802BD65C +lbl_802BD62C: +/* 802BD62C 002BA58C 7C 04 B0 00 */ cmpw r4, r22 +/* 802BD630 002BA590 41 82 00 08 */ beq lbl_802BD638 +/* 802BD634 002BA594 48 08 96 D1 */ bl EnsureTevsDirect__13CCubeMaterialFv +lbl_802BD638: +/* 802BD638 002BA598 81 9A 00 A8 */ lwz r12, 0xa8(r26) +/* 802BD63C 002BA59C 28 0C 00 00 */ cmplwi r12, 0 +/* 802BD640 002BA5A0 41 82 00 1C */ beq lbl_802BD65C +/* 802BD644 002BA5A4 A0 97 00 00 */ lhz r4, 0(r23) +/* 802BD648 002BA5A8 80 77 00 04 */ lwz r3, 4(r23) +/* 802BD64C 002BA5AC 38 A4 FF FE */ addi r5, r4, -2 +/* 802BD650 002BA5B0 80 9A 00 AC */ lwz r4, 0xac(r26) +/* 802BD654 002BA5B4 7D 89 03 A6 */ mtctr r12 +/* 802BD658 002BA5B8 4E 80 04 21 */ bctrl +lbl_802BD65C: +/* 802BD65C 002BA5BC 7E C4 B3 78 */ mr r4, r22 +/* 802BD660 002BA5C0 3B 18 00 04 */ addi r24, r24, 4 +lbl_802BD664: +/* 802BD664 002BA5C4 80 19 00 00 */ lwz r0, 0(r25) +/* 802BD668 002BA5C8 54 00 10 3A */ slwi r0, r0, 2 +/* 802BD66C 002BA5CC 7C 79 02 14 */ add r3, r25, r0 +/* 802BD670 002BA5D0 38 03 00 04 */ addi r0, r3, 4 +/* 802BD674 002BA5D4 7C 18 00 40 */ cmplw r24, r0 +/* 802BD678 002BA5D8 40 82 FF 10 */ bne lbl_802BD588 +/* 802BD67C 002BA5DC 3B 9C 00 02 */ addi r28, r28, 2 +lbl_802BD680: +/* 802BD680 002BA5E0 80 1F 00 00 */ lwz r0, 0(r31) +/* 802BD684 002BA5E4 54 00 08 3C */ slwi r0, r0, 1 +/* 802BD688 002BA5E8 7C 7F 02 14 */ add r3, r31, r0 +/* 802BD68C 002BA5EC 38 03 00 04 */ addi r0, r3, 4 +/* 802BD690 002BA5F0 7C 1C 00 40 */ cmplw r28, r0 +/* 802BD694 002BA5F4 40 82 FE DC */ bne lbl_802BD570 +/* 802BD698 002BA5F8 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 802BD69C 002BA5FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802BD6A0 002BA600 7C 08 03 A6 */ mtlr r0 +/* 802BD6A4 002BA604 38 21 00 40 */ addi r1, r1, 0x40 +/* 802BD6A8 002BA608 4E 80 00 20 */ blr + +.global DrawRenderBucketsDebug__13CCubeRendererFv +DrawRenderBucketsDebug__13CCubeRendererFv: +/* 802BD6AC 002BA60C 4E 80 00 20 */ blr + +.global AddWorldSurfaces__13CCubeRendererFR10CCubeModel +AddWorldSurfaces__13CCubeRendererFR10CCubeModel: +/* 802BD6B0 002BA610 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802BD6B4 002BA614 7C 08 02 A6 */ mflr r0 +/* 802BD6B8 002BA618 90 01 00 74 */ stw r0, 0x74(r1) +/* 802BD6BC 002BA61C BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 802BD6C0 002BA620 7C 9B 23 78 */ mr r27, r4 +/* 802BD6C4 002BA624 3C 80 00 05 */ lis r4, 0x00050004@ha +/* 802BD6C8 002BA628 3B A3 00 B0 */ addi r29, r3, 0xb0 +/* 802BD6CC 002BA62C 3B E4 00 04 */ addi r31, r4, 0x00050004@l +/* 802BD6D0 002BA630 80 1B 00 3C */ lwz r0, 0x3c(r27) +/* 802BD6D4 002BA634 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD6D8 002BA638 48 00 00 A4 */ b lbl_802BD77C +lbl_802BD6DC: +/* 802BD6DC 002BA63C 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802BD6E0 002BA640 7F 64 DB 78 */ mr r4, r27 +/* 802BD6E4 002BA644 38 61 00 08 */ addi r3, r1, 8 +/* 802BD6E8 002BA648 48 04 9E 25 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 802BD6EC 002BA64C 38 61 00 08 */ addi r3, r1, 8 +/* 802BD6F0 002BA650 48 08 80 5D */ bl GetCompressedBlend__13CCubeMaterialCFv +/* 802BD6F4 002BA654 7C 7E 1B 78 */ mr r30, r3 +/* 802BD6F8 002BA658 38 61 00 1C */ addi r3, r1, 0x1c +/* 802BD6FC 002BA65C 38 81 00 0C */ addi r4, r1, 0xc +/* 802BD700 002BA660 48 08 AB B1 */ bl GetBounds__12CCubeSurfaceCFv +/* 802BD704 002BA664 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 802BD708 002BA668 7C 1E F8 50 */ subf r0, r30, r31 +/* 802BD70C 002BA66C C0 81 00 20 */ lfs f4, 0x20(r1) +/* 802BD710 002BA670 7C 00 00 34 */ cntlzw r0, r0 +/* 802BD714 002BA674 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 802BD718 002BA678 7F A5 EB 78 */ mr r5, r29 +/* 802BD71C 002BA67C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802BD720 002BA680 54 1E D9 7E */ srwi r30, r0, 5 +/* 802BD724 002BA684 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802BD728 002BA688 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BD72C 002BA68C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802BD730 002BA690 38 81 00 34 */ addi r4, r1, 0x34 +/* 802BD734 002BA694 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802BD738 002BA698 83 81 00 0C */ lwz r28, 0xc(r1) +/* 802BD73C 002BA69C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802BD740 002BA6A0 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802BD744 002BA6A4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802BD748 002BA6A8 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802BD74C 002BA6AC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802BD750 002BA6B0 48 07 9A 8D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BD754 002BA6B4 7F 86 E3 78 */ mr r6, r28 +/* 802BD758 002BA6B8 7F A7 EB 78 */ mr r7, r29 +/* 802BD75C 002BA6BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BD760 002BA6C0 38 81 00 34 */ addi r4, r1, 0x34 +/* 802BD764 002BA6C4 57 C8 04 3E */ clrlwi r8, r30, 0x10 +/* 802BD768 002BA6C8 38 A0 00 00 */ li r5, 0 +/* 802BD76C 002BA6CC 48 00 25 AD */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +/* 802BD770 002BA6D0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802BD774 002BA6D4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD778 002BA6D8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802BD77C: +/* 802BD77C 002BA6DC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802BD780 002BA6E0 28 03 00 00 */ cmplwi r3, 0 +/* 802BD784 002BA6E4 40 82 FF 58 */ bne lbl_802BD6DC +/* 802BD788 002BA6E8 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 802BD78C 002BA6EC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802BD790 002BA6F0 7C 08 03 A6 */ mtlr r0 +/* 802BD794 002BA6F4 38 21 00 70 */ addi r1, r1, 0x70 +/* 802BD798 002BA6F8 4E 80 00 20 */ blr + +.global SetupCGraphicsStates__13CCubeRendererFv +SetupCGraphicsStates__13CCubeRendererFv: +/* 802BD79C 002BA6FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BD7A0 002BA700 7C 08 02 A6 */ mflr r0 +/* 802BD7A4 002BA704 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BD7A8 002BA708 80 02 C2 68 */ lwz r0, lbl_805ADF88@sda21(r2) +/* 802BD7AC 002BA70C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD7B0 002BA710 48 04 F1 CD */ bl DisableAllLights__9CGraphicsFv +/* 802BD7B4 002BA714 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BD7B8 002BA718 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BD7BC 002BA71C 48 04 EE 25 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BD7C0 002BA720 48 04 B6 E9 */ bl ResetStates__13CTevCombinersFv +/* 802BD7C4 002BA724 C0 22 C3 08 */ lfs f1, lbl_805AE028@sda21(r2) +/* 802BD7C8 002BA728 38 61 00 08 */ addi r3, r1, 8 +/* 802BD7CC 002BA72C C0 82 C2 70 */ lfs f4, lbl_805ADF90@sda21(r2) +/* 802BD7D0 002BA730 FC 40 08 90 */ fmr f2, f1 +/* 802BD7D4 002BA734 FC 60 08 90 */ fmr f3, f1 +/* 802BD7D8 002BA738 48 0A 5C 15 */ bl __ct__6CColorFffff +/* 802BD7DC 002BA73C 48 04 E8 41 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802BD7E0 002BA740 38 81 00 0C */ addi r4, r1, 0xc +/* 802BD7E4 002BA744 38 60 00 00 */ li r3, 0 +/* 802BD7E8 002BA748 48 04 B5 75 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802BD7EC 002BA74C 38 60 00 01 */ li r3, 1 +/* 802BD7F0 002BA750 38 80 00 03 */ li r4, 3 +/* 802BD7F4 002BA754 38 A0 00 01 */ li r5, 1 +/* 802BD7F8 002BA758 48 04 E2 9D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BD7FC 002BA75C 38 60 00 01 */ li r3, 1 +/* 802BD800 002BA760 38 80 00 00 */ li r4, 0 +/* 802BD804 002BA764 38 A0 00 00 */ li r5, 0 +/* 802BD808 002BA768 38 C0 00 00 */ li r6, 0 +/* 802BD80C 002BA76C 38 E0 00 00 */ li r7, 0 +/* 802BD810 002BA770 39 00 00 00 */ li r8, 0 +/* 802BD814 002BA774 39 20 00 02 */ li r9, 2 +/* 802BD818 002BA778 48 04 B4 B5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802BD81C 002BA77C 48 08 94 E9 */ bl EnsureTevsDirect__13CCubeMaterialFv +/* 802BD820 002BA780 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BD824 002BA784 7C 08 03 A6 */ mtlr r0 +/* 802BD828 002BA788 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BD82C 002BA78C 4E 80 00 20 */ blr + +.global SetupRendererStates__13CCubeRendererFb +SetupRendererStates__13CCubeRendererFb: +/* 802BD830 002BA790 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD834 002BA794 7C 08 02 A6 */ mflr r0 +/* 802BD838 002BA798 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD83C 002BA79C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BD840 002BA7A0 7C 9F 23 78 */ mr r31, r4 +/* 802BD844 002BA7A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BD848 002BA7A8 7C 7E 1B 78 */ mr r30, r3 +/* 802BD84C 002BA7AC 48 04 F1 31 */ bl DisableAllLights__9CGraphicsFv +/* 802BD850 002BA7B0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BD854 002BA7B4 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BD858 002BA7B8 48 04 ED 89 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BD85C 002BA7BC 38 00 00 00 */ li r0, 0 +/* 802BD860 002BA7C0 38 61 00 0C */ addi r3, r1, 0xc +/* 802BD864 002BA7C4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD868 002BA7C8 48 04 E7 B5 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802BD86C 002BA7CC 57 E5 06 3E */ clrlwi r5, r31, 0x18 +/* 802BD870 002BA7D0 38 60 00 01 */ li r3, 1 +/* 802BD874 002BA7D4 38 80 00 03 */ li r4, 3 +/* 802BD878 002BA7D8 48 04 E2 1D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BD87C 002BA7DC 48 08 80 91 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 802BD880 002BA7E0 80 1E 02 FC */ lwz r0, 0x2fc(r30) +/* 802BD884 002BA7E4 38 81 00 08 */ addi r4, r1, 8 +/* 802BD888 002BA7E8 38 60 00 02 */ li r3, 2 +/* 802BD88C 002BA7EC 90 01 00 08 */ stw r0, 8(r1) +/* 802BD890 002BA7F0 48 0B DD 6D */ bl GXSetTevColor +/* 802BD894 002BA7F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD898 002BA7F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BD89C 002BA7FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BD8A0 002BA800 7C 08 03 A6 */ mtlr r0 +/* 802BD8A4 002BA804 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD8A8 002BA808 4E 80 00 20 */ blr + +.global AddDrawable__13CCubeRendererFPCvRC9CVector3fRC6CAABoxiQ29IRenderer16EDrawableSorting +AddDrawable__13CCubeRendererFPCvRC9CVector3fRC6CAABoxiQ29IRenderer16EDrawableSorting: +/* 802BD8AC 002BA80C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BD8B0 002BA810 7C 08 02 A6 */ mflr r0 +/* 802BD8B4 002BA814 2C 08 00 01 */ cmpwi r8, 1 +/* 802BD8B8 002BA818 7C 68 1B 78 */ mr r8, r3 +/* 802BD8BC 002BA81C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BD8C0 002BA820 7C 80 23 78 */ mr r0, r4 +/* 802BD8C4 002BA824 40 82 00 20 */ bne lbl_802BD8E4 +/* 802BD8C8 002BA828 81 88 00 A8 */ lwz r12, 0xa8(r8) +/* 802BD8CC 002BA82C 7C 03 03 78 */ mr r3, r0 +/* 802BD8D0 002BA830 7C E5 3B 78 */ mr r5, r7 +/* 802BD8D4 002BA834 80 88 00 AC */ lwz r4, 0xac(r8) +/* 802BD8D8 002BA838 7D 89 03 A6 */ mtctr r12 +/* 802BD8DC 002BA83C 4E 80 04 21 */ bctrl +/* 802BD8E0 002BA840 48 00 00 20 */ b lbl_802BD900 +lbl_802BD8E4: +/* 802BD8E4 002BA844 7C A3 2B 78 */ mr r3, r5 +/* 802BD8E8 002BA848 7C C4 33 78 */ mr r4, r6 +/* 802BD8EC 002BA84C 7C 06 03 78 */ mr r6, r0 +/* 802BD8F0 002BA850 38 A7 00 02 */ addi r5, r7, 2 +/* 802BD8F4 002BA854 38 E8 00 B0 */ addi r7, r8, 0xb0 +/* 802BD8F8 002BA858 39 00 00 00 */ li r8, 0 +/* 802BD8FC 002BA85C 48 00 24 1D */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +lbl_802BD900: +/* 802BD900 002BA860 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BD904 002BA864 7C 08 03 A6 */ mtlr r0 +/* 802BD908 002BA868 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BD90C 002BA86C 4E 80 00 20 */ blr + +.global AddPlaneObject__13CCubeRendererFPCvRC6CAABoxRC6CPlanei +AddPlaneObject__13CCubeRendererFPCvRC6CAABoxRC6CPlanei: +/* 802BD910 002BA870 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802BD914 002BA874 7C 08 02 A6 */ mflr r0 +/* 802BD918 002BA878 90 01 00 64 */ stw r0, 0x64(r1) +/* 802BD91C 002BA87C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802BD920 002BA880 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802BD924 002BA884 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802BD928 002BA888 88 0D A6 29 */ lbz r0, lbl_805A91E9@sda21(r13) +/* 802BD92C 002BA88C 7C 7B 1B 78 */ mr r27, r3 +/* 802BD930 002BA890 7C 9C 23 78 */ mr r28, r4 +/* 802BD934 002BA894 7C BD 2B 78 */ mr r29, r5 +/* 802BD938 002BA898 7C 00 07 75 */ extsb. r0, r0 +/* 802BD93C 002BA89C 7C DE 33 78 */ mr r30, r6 +/* 802BD940 002BA8A0 7C FF 3B 78 */ mr r31, r7 +/* 802BD944 002BA8A4 40 82 00 24 */ bne lbl_802BD968 +/* 802BD948 002BA8A8 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BD94C 002BA8AC 3C 60 80 48 */ lis r3, lbl_8047916C@ha +/* 802BD950 002BA8B0 38 00 00 01 */ li r0, 1 +/* 802BD954 002BA8B4 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BD958 002BA8B8 D4 23 91 6C */ stfsu f1, lbl_8047916C@l(r3) +/* 802BD95C 002BA8BC D0 23 00 04 */ stfs f1, 4(r3) +/* 802BD960 002BA8C0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BD964 002BA8C4 98 0D A6 29 */ stb r0, lbl_805A91E9@sda21(r13) +lbl_802BD968: +/* 802BD968 002BA8C8 7F A4 EB 78 */ mr r4, r29 +/* 802BD96C 002BA8CC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BD970 002BA8D0 38 BB 00 B0 */ addi r5, r27, 0xb0 +/* 802BD974 002BA8D4 48 07 98 69 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BD978 002BA8D8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802BD97C 002BA8DC 38 BB 00 B0 */ addi r5, r27, 0xb0 +/* 802BD980 002BA8E0 C0 3B 00 B4 */ lfs f1, 0xb4(r27) +/* 802BD984 002BA8E4 7F A4 EB 78 */ mr r4, r29 +/* 802BD988 002BA8E8 C0 5B 00 B0 */ lfs f2, 0xb0(r27) +/* 802BD98C 002BA8EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802BD990 002BA8F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BD994 002BA8F4 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BD998 002BA8F8 C0 9B 00 B8 */ lfs f4, 0xb8(r27) +/* 802BD99C 002BA8FC C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802BD9A0 002BA900 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802BD9A4 002BA904 C0 1B 00 BC */ lfs f0, 0xbc(r27) +/* 802BD9A8 002BA908 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 802BD9AC 002BA90C EF E1 00 28 */ fsubs f31, f1, f0 +/* 802BD9B0 002BA910 48 07 98 6D */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BD9B4 002BA914 C0 5B 00 B4 */ lfs f2, 0xb4(r27) +/* 802BD9B8 002BA918 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802BD9BC 002BA91C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BD9C0 002BA920 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802BD9C4 002BA924 C0 7B 00 B0 */ lfs f3, 0xb0(r27) +/* 802BD9C8 002BA928 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802BD9CC 002BA92C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802BD9D0 002BA930 C0 9B 00 B8 */ lfs f4, 0xb8(r27) +/* 802BD9D4 002BA934 EC 43 08 BA */ fmadds f2, f3, f2, f1 +/* 802BD9D8 002BA938 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 802BD9DC 002BA93C C0 3B 00 BC */ lfs f1, 0xbc(r27) +/* 802BD9E0 002BA940 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802BD9E4 002BA944 EC 42 08 28 */ fsubs f2, f2, f1 +/* 802BD9E8 002BA948 40 80 00 0C */ bge lbl_802BD9F4 +/* 802BD9EC 002BA94C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802BD9F0 002BA950 41 80 00 F8 */ blt lbl_802BDAE8 +lbl_802BD9F4: +/* 802BD9F4 002BA954 3C 60 80 48 */ lis r3, lbl_8047916C@ha +/* 802BD9F8 002BA958 C0 FE 00 00 */ lfs f7, 0(r30) +/* 802BD9FC 002BA95C C4 03 91 6C */ lfsu f0, lbl_8047916C@l(r3) +/* 802BDA00 002BA960 38 00 00 00 */ li r0, 0 +/* 802BDA04 002BA964 FC 07 00 00 */ fcmpu cr0, f7, f0 +/* 802BDA08 002BA968 40 82 00 28 */ bne lbl_802BDA30 +/* 802BDA0C 002BA96C C0 3E 00 04 */ lfs f1, 4(r30) +/* 802BDA10 002BA970 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BDA14 002BA974 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802BDA18 002BA978 40 82 00 18 */ bne lbl_802BDA30 +/* 802BDA1C 002BA97C C0 3E 00 08 */ lfs f1, 8(r30) +/* 802BDA20 002BA980 C0 03 00 08 */ lfs f0, 8(r3) +/* 802BDA24 002BA984 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802BDA28 002BA988 40 82 00 08 */ bne lbl_802BDA30 +/* 802BDA2C 002BA98C 38 00 00 01 */ li r0, 1 +lbl_802BDA30: +/* 802BDA30 002BA990 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 802BDA34 002BA994 7C 03 00 D0 */ neg r0, r3 +/* 802BDA38 002BA998 7C 00 1B 78 */ or r0, r0, r3 +/* 802BDA3C 002BA99C 54 06 0F FF */ rlwinm. r6, r0, 1, 0x1f, 0x1f +/* 802BDA40 002BA9A0 41 82 00 44 */ beq lbl_802BDA84 +/* 802BDA44 002BA9A4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 802BDA48 002BA9A8 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802BDA4C 002BA9AC 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 802BDA50 002BA9B0 C0 23 00 2C */ lfs f1, 0x2c(r3) +/* 802BDA54 002BA9B4 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802BDA58 002BA9B8 C0 63 00 1C */ lfs f3, 0x1c(r3) +/* 802BDA5C 002BA9BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BDA60 002BA9C0 D0 81 00 08 */ stfs f4, 8(r1) +/* 802BDA64 002BA9C4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802BDA68 002BA9C8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802BDA6C 002BA9CC 4C 41 13 82 */ cror 2, 1, 2 +/* 802BDA70 002BA9D0 40 82 00 0C */ bne lbl_802BDA7C +/* 802BDA74 002BA9D4 38 80 00 01 */ li r4, 1 +/* 802BDA78 002BA9D8 48 00 00 58 */ b lbl_802BDAD0 +lbl_802BDA7C: +/* 802BDA7C 002BA9DC 38 80 00 00 */ li r4, 0 +/* 802BDA80 002BA9E0 48 00 00 50 */ b lbl_802BDAD0 +lbl_802BDA84: +/* 802BDA84 002BA9E4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 802BDA88 002BA9E8 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802BDA8C 002BA9EC 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 802BDA90 002BA9F0 C0 DE 00 08 */ lfs f6, 8(r30) +/* 802BDA94 002BA9F4 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 802BDA98 002BA9F8 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802BDA9C 002BA9FC EC 61 00 32 */ fmuls f3, f1, f0 +/* 802BDAA0 002BAA00 C0 A3 00 2C */ lfs f5, 0x2c(r3) +/* 802BDAA4 002BAA04 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 802BDAA8 002BAA08 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BDAAC 002BAA0C EC 67 19 3A */ fmadds f3, f7, f4, f3 +/* 802BDAB0 002BAA10 EC 66 19 7A */ fmadds f3, f6, f5, f3 +/* 802BDAB4 002BAA14 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802BDAB8 002BAA18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BDABC 002BAA1C 4C 41 13 82 */ cror 2, 1, 2 +/* 802BDAC0 002BAA20 40 82 00 0C */ bne lbl_802BDACC +/* 802BDAC4 002BAA24 38 80 00 01 */ li r4, 1 +/* 802BDAC8 002BAA28 48 00 00 08 */ b lbl_802BDAD0 +lbl_802BDACC: +/* 802BDACC 002BAA2C 38 80 00 00 */ li r4, 0 +lbl_802BDAD0: +/* 802BDAD0 002BAA30 FC 20 F8 90 */ fmr f1, f31 +/* 802BDAD4 002BAA34 7F A3 EB 78 */ mr r3, r29 +/* 802BDAD8 002BAA38 7F C5 F3 78 */ mr r5, r30 +/* 802BDADC 002BAA3C 7F 88 E3 78 */ mr r8, r28 +/* 802BDAE0 002BAA40 38 FF 00 02 */ addi r7, r31, 2 +/* 802BDAE4 002BAA44 48 00 20 39 */ bl InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv +lbl_802BDAE8: +/* 802BDAE8 002BAA48 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802BDAEC 002BAA4C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802BDAF0 002BAA50 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802BDAF4 002BAA54 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802BDAF8 002BAA58 7C 08 03 A6 */ mtlr r0 +/* 802BDAFC 002BAA5C 38 21 00 60 */ addi r1, r1, 0x60 +/* 802BDB00 002BAA60 4E 80 00 20 */ blr + +.global sub_802bdb04 +sub_802bdb04: +/* 802BDB04 002BAA64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDB08 002BAA68 7C 08 02 A6 */ mflr r0 +/* 802BDB0C 002BAA6C 7C 67 1B 78 */ mr r7, r3 +/* 802BDB10 002BAA70 7C A3 2B 78 */ mr r3, r5 +/* 802BDB14 002BAA74 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDB18 002BAA78 7C 80 23 78 */ mr r0, r4 +/* 802BDB1C 002BAA7C 7C C4 33 78 */ mr r4, r6 +/* 802BDB20 002BAA80 38 E7 00 B0 */ addi r7, r7, 0xb0 +/* 802BDB24 002BAA84 7C 06 03 78 */ mr r6, r0 +/* 802BDB28 002BAA88 38 A0 00 01 */ li r5, 1 +/* 802BDB2C 002BAA8C 39 00 00 00 */ li r8, 0 +/* 802BDB30 002BAA90 48 00 21 E9 */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +/* 802BDB34 002BAA94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDB38 002BAA98 7C 08 03 A6 */ mtlr r0 +/* 802BDB3C 002BAA9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDB40 002BAAA0 4E 80 00 20 */ blr + +.global AddParticleGen__13CCubeRendererFRC12CParticleGen +AddParticleGen__13CCubeRendererFRC12CParticleGen: +/* 802BDB44 002BAAA4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802BDB48 002BAAA8 7C 08 02 A6 */ mflr r0 +/* 802BDB4C 002BAAAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 802BDB50 002BAAB0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802BDB54 002BAAB4 7C 9F 23 78 */ mr r31, r4 +/* 802BDB58 002BAAB8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802BDB5C 002BAABC 7C 7E 1B 78 */ mr r30, r3 +/* 802BDB60 002BAAC0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BDB64 002BAAC4 81 84 00 00 */ lwz r12, 0(r4) +/* 802BDB68 002BAAC8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802BDB6C 002BAACC 7D 89 03 A6 */ mtctr r12 +/* 802BDB70 002BAAD0 4E 80 04 21 */ bctrl +/* 802BDB74 002BAAD4 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802BDB78 002BAAD8 28 00 00 00 */ cmplwi r0, 0 +/* 802BDB7C 002BAADC 98 01 00 54 */ stb r0, 0x54(r1) +/* 802BDB80 002BAAE0 41 82 00 3C */ beq lbl_802BDBBC +/* 802BDB84 002BAAE4 34 61 00 3C */ addic. r3, r1, 0x3c +/* 802BDB88 002BAAE8 41 82 00 34 */ beq lbl_802BDBBC +/* 802BDB8C 002BAAEC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802BDB90 002BAAF0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802BDB94 002BAAF4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802BDB98 002BAAF8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802BDB9C 002BAAFC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802BDBA0 002BAB00 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BDBA4 002BAB04 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802BDBA8 002BAB08 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802BDBAC 002BAB0C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802BDBB0 002BAB10 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802BDBB4 002BAB14 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802BDBB8 002BAB18 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802BDBBC: +/* 802BDBBC 002BAB1C 88 01 00 54 */ lbz r0, 0x54(r1) +/* 802BDBC0 002BAB20 38 60 00 00 */ li r3, 0 +/* 802BDBC4 002BAB24 98 61 00 38 */ stb r3, 0x38(r1) +/* 802BDBC8 002BAB28 28 00 00 00 */ cmplwi r0, 0 +/* 802BDBCC 002BAB2C 41 82 00 48 */ beq lbl_802BDC14 +/* 802BDBD0 002BAB30 38 61 00 08 */ addi r3, r1, 8 +/* 802BDBD4 002BAB34 38 81 00 3C */ addi r4, r1, 0x3c +/* 802BDBD8 002BAB38 38 BE 00 B0 */ addi r5, r30, 0xb0 +/* 802BDBDC 002BAB3C 48 07 96 01 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BDBE0 002BAB40 C0 41 00 08 */ lfs f2, 8(r1) +/* 802BDBE4 002BAB44 7F E6 FB 78 */ mr r6, r31 +/* 802BDBE8 002BAB48 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802BDBEC 002BAB4C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802BDBF0 002BAB50 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802BDBF4 002BAB54 38 81 00 3C */ addi r4, r1, 0x3c +/* 802BDBF8 002BAB58 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802BDBFC 002BAB5C 38 FE 00 B0 */ addi r7, r30, 0xb0 +/* 802BDC00 002BAB60 38 A0 00 01 */ li r5, 1 +/* 802BDC04 002BAB64 39 00 00 00 */ li r8, 0 +/* 802BDC08 002BAB68 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802BDC0C 002BAB6C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802BDC10 002BAB70 48 00 21 09 */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +lbl_802BDC14: +/* 802BDC14 002BAB74 38 00 00 00 */ li r0, 0 +/* 802BDC18 002BAB78 98 01 00 54 */ stb r0, 0x54(r1) +/* 802BDC1C 002BAB7C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802BDC20 002BAB80 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802BDC24 002BAB84 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802BDC28 002BAB88 7C 08 03 A6 */ mtlr r0 +/* 802BDC2C 002BAB8C 38 21 00 60 */ addi r1, r1, 0x60 +/* 802BDC30 002BAB90 4E 80 00 20 */ blr + +.global EndScene__13CCubeRendererFv +EndScene__13CCubeRendererFv: +/* 802BDC34 002BAB94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDC38 002BAB98 7C 08 02 A6 */ mflr r0 +/* 802BDC3C 002BAB9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDC40 002BABA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BDC44 002BABA4 7C 7F 1B 78 */ mr r31, r3 +/* 802BDC48 002BABA8 88 8D 9C 6C */ lbz r4, lbl_805A882C@sda21(r13) +/* 802BDC4C 002BABAC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BDC50 002BABB0 7C 83 00 34 */ cntlzw r3, r4 +/* 802BDC54 002BABB4 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f +/* 802BDC58 002BABB8 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BDC5C 002BABBC 48 04 DE 65 */ bl EndScene__9CGraphicsFv +/* 802BDC60 002BABC0 80 7F 02 DC */ lwz r3, 0x2dc(r31) +/* 802BDC64 002BABC4 2C 03 00 02 */ cmpwi r3, 2 +/* 802BDC68 002BABC8 41 80 00 1C */ blt lbl_802BDC84 +/* 802BDC6C 002BABCC 80 7F 01 4C */ lwz r3, 0x14c(r31) +/* 802BDC70 002BABD0 38 80 00 01 */ li r4, 1 +/* 802BDC74 002BABD4 48 05 1D 85 */ bl __dt__8CTextureFv +/* 802BDC78 002BABD8 38 00 00 00 */ li r0, 0 +/* 802BDC7C 002BABDC 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 802BDC80 002BABE0 48 00 00 0C */ b lbl_802BDC8C +lbl_802BDC84: +/* 802BDC84 002BABE4 38 03 00 01 */ addi r0, r3, 1 +/* 802BDC88 002BABE8 90 1F 02 DC */ stw r0, 0x2dc(r31) +lbl_802BDC8C: +/* 802BDC8C 002BABEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDC90 002BABF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BDC94 002BABF4 7C 08 03 A6 */ mtlr r0 +/* 802BDC98 002BABF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDC9C 002BABFC 4E 80 00 20 */ blr + +.global BeginScene__13CCubeRendererFv +BeginScene__13CCubeRendererFv: +/* 802BDCA0 002BAC00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BDCA4 002BAC04 7C 08 02 A6 */ mflr r0 +/* 802BDCA8 002BAC08 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802BDCAC 002BAC0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BDCB0 002BAC10 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 802BDCB4 002BAC14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BDCB8 002BAC18 7C 7F 1B 78 */ mr r31, r3 +/* 802BDCBC 002BAC1C 38 60 00 01 */ li r3, 1 +/* 802BDCC0 002BAC20 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BDCC4 002BAC24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BDCC8 002BAC28 83 C4 00 08 */ lwz r30, 8(r4) +/* 802BDCCC 002BAC2C 83 A4 00 0C */ lwz r29, 0xc(r4) +/* 802BDCD0 002BAC30 48 04 BB 3D */ bl SetUseVideoFilter__9CGraphicsFb +/* 802BDCD4 002BAC34 7F C5 F3 78 */ mr r5, r30 +/* 802BDCD8 002BAC38 7F A6 EB 78 */ mr r6, r29 +/* 802BDCDC 002BAC3C 38 60 00 00 */ li r3, 0 +/* 802BDCE0 002BAC40 38 80 00 00 */ li r4, 0 +/* 802BDCE4 002BAC44 48 04 E3 AD */ bl SetViewport__9CGraphicsFiiii +/* 802BDCE8 002BAC48 38 00 00 00 */ li r0, 0 +/* 802BDCEC 002BAC4C 38 61 00 08 */ addi r3, r1, 8 +/* 802BDCF0 002BAC50 98 01 00 08 */ stb r0, 8(r1) +/* 802BDCF4 002BAC54 98 01 00 09 */ stb r0, 9(r1) +/* 802BDCF8 002BAC58 98 01 00 0A */ stb r0, 0xa(r1) +/* 802BDCFC 002BAC5C 98 01 00 0B */ stb r0, 0xb(r1) +/* 802BDD00 002BAC60 48 04 E2 95 */ bl SetClearColor__9CGraphicsFRC6CColor +/* 802BDD04 002BAC64 38 60 00 01 */ li r3, 1 +/* 802BDD08 002BAC68 48 04 DD 69 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802BDD0C 002BAC6C 38 60 00 01 */ li r3, 1 +/* 802BDD10 002BAC70 38 80 00 03 */ li r4, 3 +/* 802BDD14 002BAC74 38 A0 00 01 */ li r5, 1 +/* 802BDD18 002BAC78 48 04 DD 7D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BDD1C 002BAC7C 38 60 00 01 */ li r3, 1 +/* 802BDD20 002BAC80 38 80 00 04 */ li r4, 4 +/* 802BDD24 002BAC84 38 A0 00 05 */ li r5, 5 +/* 802BDD28 002BAC88 38 C0 00 00 */ li r6, 0 +/* 802BDD2C 002BAC8C 48 04 DD 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BDD30 002BAC90 C0 22 C3 0C */ lfs f1, lbl_805AE02C@sda21(r2) +/* 802BDD34 002BAC94 C0 42 C3 10 */ lfs f2, lbl_805AE030@sda21(r2) +/* 802BDD38 002BAC98 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802BDD3C 002BAC9C C0 82 C2 94 */ lfs f4, lbl_805ADFB4@sda21(r2) +/* 802BDD40 002BACA0 48 04 E7 51 */ bl SetPerspective__9CGraphicsFffff +/* 802BDD44 002BACA4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BDD48 002BACA8 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BDD4C 002BACAC 48 04 E8 95 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BDD50 002BACB0 48 04 C1 B1 */ bl TickRenderTimings__9CGraphicsFv +/* 802BDD54 002BACB4 80 7F 03 10 */ lwz r3, 0x310(r31) +/* 802BDD58 002BACB8 2C 03 00 00 */ cmpwi r3, 0 +/* 802BDD5C 002BACBC 41 82 00 34 */ beq lbl_802BDD90 +/* 802BDD60 002BACC0 38 03 FF FF */ addi r0, r3, -1 +/* 802BDD64 002BACC4 90 1F 03 10 */ stw r0, 0x310(r31) +/* 802BDD68 002BACC8 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 802BDD6C 002BACCC 2C 00 00 00 */ cmpwi r0, 0 +/* 802BDD70 002BACD0 40 82 00 20 */ bne lbl_802BDD90 +/* 802BDD74 002BACD4 80 7F 03 14 */ lwz r3, 0x314(r31) +/* 802BDD78 002BACD8 48 05 03 95 */ bl sub_8030e10c +/* 802BDD7C 002BACDC 80 7F 03 14 */ lwz r3, 0x314(r31) +/* 802BDD80 002BACE0 38 80 00 01 */ li r4, 1 +/* 802BDD84 002BACE4 48 05 1C 75 */ bl __dt__8CTextureFv +/* 802BDD88 002BACE8 38 00 00 00 */ li r0, 0 +/* 802BDD8C 002BACEC 90 1F 03 14 */ stw r0, 0x314(r31) +lbl_802BDD90: +/* 802BDD90 002BACF0 88 7F 03 18 */ lbz r3, 0x318(r31) +/* 802BDD94 002BACF4 50 63 FE F6 */ rlwimi r3, r3, 0x1f, 0x1b, 0x1b +/* 802BDD98 002BACF8 98 7F 03 18 */ stb r3, 0x318(r31) +/* 802BDD9C 002BACFC 88 7F 03 18 */ lbz r3, 0x318(r31) +/* 802BDDA0 002BAD00 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 802BDDA4 002BAD04 40 82 00 10 */ bne lbl_802BDDB4 +/* 802BDDA8 002BAD08 38 00 00 00 */ li r0, 0 +/* 802BDDAC 002BAD0C 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 802BDDB0 002BAD10 98 7F 03 18 */ stb r3, 0x318(r31) +lbl_802BDDB4: +/* 802BDDB4 002BAD14 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BDDB8 002BAD18 38 80 00 00 */ li r4, 0 +/* 802BDDBC 002BAD1C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 802BDDC0 002BAD20 7C 03 00 D0 */ neg r0, r3 +/* 802BDDC4 002BAD24 7C 00 1B 78 */ or r0, r0, r3 +/* 802BDDC8 002BAD28 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802BDDCC 002BAD2C 48 0B E1 F9 */ bl GXSetPixelFmt +/* 802BDDD0 002BAD30 38 60 00 01 */ li r3, 1 +/* 802BDDD4 002BAD34 48 0B E1 59 */ bl GXSetAlphaUpdate +/* 802BDDD8 002BAD38 38 60 00 01 */ li r3, 1 +/* 802BDDDC 002BAD3C 38 80 00 00 */ li r4, 0 +/* 802BDDE0 002BAD40 48 0B E3 01 */ bl GXSetDstAlpha +/* 802BDDE4 002BAD44 48 04 E0 C1 */ bl BeginScene__9CGraphicsFv +/* 802BDDE8 002BAD48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BDDEC 002BAD4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BDDF0 002BAD50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BDDF4 002BAD54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BDDF8 002BAD58 7C 08 03 A6 */ mtlr r0 +/* 802BDDFC 002BAD5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BDE00 002BAD60 4E 80 00 20 */ blr + +.global SetWorldViewpoint__13CCubeRendererFRC12CTransform4f +SetWorldViewpoint__13CCubeRendererFRC12CTransform4f: +/* 802BDE04 002BAD64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDE08 002BAD68 7C 08 02 A6 */ mflr r0 +/* 802BDE0C 002BAD6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDE10 002BAD70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BDE14 002BAD74 7C 9F 23 78 */ mr r31, r4 +/* 802BDE18 002BAD78 93 C1 00 08 */ stw r30, 8(r1) +/* 802BDE1C 002BAD7C 7C 7E 1B 78 */ mr r30, r3 +/* 802BDE20 002BAD80 7F E3 FB 78 */ mr r3, r31 +/* 802BDE24 002BAD84 48 04 E9 29 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BDE28 002BAD88 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 802BDE2C 002BAD8C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802BDE30 002BAD90 C0 BF 00 24 */ lfs f5, 0x24(r31) +/* 802BDE34 002BAD94 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802BDE38 002BAD98 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802BDE3C 002BAD9C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802BDE40 002BADA0 C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 802BDE44 002BADA4 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 802BDE48 002BADA8 D0 7E 00 B0 */ stfs f3, 0xb0(r30) +/* 802BDE4C 002BADAC D0 9E 00 B4 */ stfs f4, 0xb4(r30) +/* 802BDE50 002BADB0 EC 05 00 BA */ fmadds f0, f5, f2, f0 +/* 802BDE54 002BADB4 D0 BE 00 B8 */ stfs f5, 0xb8(r30) +/* 802BDE58 002BADB8 D0 1E 00 BC */ stfs f0, 0xbc(r30) +/* 802BDE5C 002BADBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BDE60 002BADC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BDE64 002BADC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDE68 002BADC8 7C 08 03 A6 */ mtlr r0 +/* 802BDE6C 002BADCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDE70 002BADD0 4E 80 00 20 */ blr + +.global SetModelMatrix__13CCubeRendererFRC12CTransform4f +SetModelMatrix__13CCubeRendererFRC12CTransform4f: +/* 802BDE74 002BADD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDE78 002BADD8 7C 08 02 A6 */ mflr r0 +/* 802BDE7C 002BADDC 7C 83 23 78 */ mr r3, r4 +/* 802BDE80 002BADE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDE84 002BADE4 48 04 E7 5D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BDE88 002BADE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDE8C 002BADEC 7C 08 03 A6 */ mtlr r0 +/* 802BDE90 002BADF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDE94 002BADF4 4E 80 00 20 */ blr + +.global "RemoveStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +"RemoveStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>": +/* 802BDE98 002BADF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BDE9C 002BADFC 7C 08 02 A6 */ mflr r0 +/* 802BDEA0 002BAE00 7C 85 23 78 */ mr r5, r4 +/* 802BDEA4 002BAE04 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BDEA8 002BAE08 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BDEAC 002BAE0C 7C 7F 1B 78 */ mr r31, r3 +/* 802BDEB0 002BAE10 7F E4 FB 78 */ mr r4, r31 +/* 802BDEB4 002BAE14 38 61 00 08 */ addi r3, r1, 8 +/* 802BDEB8 002BAE18 48 00 00 31 */ bl "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +/* 802BDEBC 002BAE1C 80 81 00 08 */ lwz r4, 8(r1) +/* 802BDEC0 002BAE20 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802BDEC4 002BAE24 7C 04 00 40 */ cmplw r4, r0 +/* 802BDEC8 002BAE28 41 82 00 0C */ beq lbl_802BDED4 +/* 802BDECC 002BAE2C 38 7F 00 1C */ addi r3, r31, 0x1c +/* 802BDED0 002BAE30 48 00 24 45 */ bl sub_802c0314 +lbl_802BDED4: +/* 802BDED4 002BAE34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BDED8 002BAE38 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BDEDC 002BAE3C 7C 08 03 A6 */ mtlr r0 +/* 802BDEE0 002BAE40 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BDEE4 002BAE44 4E 80 00 20 */ blr + +.global "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +"FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>": +/* 802BDEE8 002BAE48 80 C4 00 20 */ lwz r6, 0x20(r4) +/* 802BDEEC 002BAE4C 80 84 00 24 */ lwz r4, 0x24(r4) +/* 802BDEF0 002BAE50 48 00 00 1C */ b lbl_802BDF0C +lbl_802BDEF4: +/* 802BDEF4 002BAE54 80 06 00 08 */ lwz r0, 8(r6) +/* 802BDEF8 002BAE58 7C 00 28 40 */ cmplw r0, r5 +/* 802BDEFC 002BAE5C 40 82 00 0C */ bne lbl_802BDF08 +/* 802BDF00 002BAE60 90 C3 00 00 */ stw r6, 0(r3) +/* 802BDF04 002BAE64 4E 80 00 20 */ blr +lbl_802BDF08: +/* 802BDF08 002BAE68 80 C6 00 04 */ lwz r6, 4(r6) +lbl_802BDF0C: +/* 802BDF0C 002BAE6C 7C 06 20 40 */ cmplw r6, r4 +/* 802BDF10 002BAE70 40 82 FF E4 */ bne lbl_802BDEF4 +/* 802BDF14 002BAE74 90 83 00 00 */ stw r4, 0(r3) +/* 802BDF18 002BAE78 4E 80 00 20 */ blr + +.global "AddStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>PC12CAreaOctTreei" +"AddStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>PC12CAreaOctTreei": +/* 802BDF1C 002BAE7C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BDF20 002BAE80 7C 08 02 A6 */ mflr r0 +/* 802BDF24 002BAE84 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BDF28 002BAE88 BF 01 00 70 */ stmw r24, 0x70(r1) +/* 802BDF2C 002BAE8C 7C 78 1B 78 */ mr r24, r3 +/* 802BDF30 002BAE90 7C 99 23 78 */ mr r25, r4 +/* 802BDF34 002BAE94 7C BA 2B 78 */ mr r26, r5 +/* 802BDF38 002BAE98 7C DB 33 78 */ mr r27, r6 +/* 802BDF3C 002BAE9C 7F 04 C3 78 */ mr r4, r24 +/* 802BDF40 002BAEA0 7F 25 CB 78 */ mr r5, r25 +/* 802BDF44 002BAEA4 83 83 00 24 */ lwz r28, 0x24(r3) +/* 802BDF48 002BAEA8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BDF4C 002BAEAC 4B FF FF 9D */ bl "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +/* 802BDF50 002BAEB0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802BDF54 002BAEB4 7C 00 E0 40 */ cmplw r0, r28 +/* 802BDF58 002BAEB8 40 82 02 24 */ bne lbl_802BE17C +/* 802BDF5C 002BAEBC 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BDF60 002BAEC0 38 60 00 10 */ li r3, 0x10 +/* 802BDF64 002BAEC4 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BDF68 002BAEC8 38 A0 00 00 */ li r5, 0 +/* 802BDF6C 002BAECC 48 05 79 01 */ bl __nw__FUlPCcPCc +/* 802BDF70 002BAED0 28 03 00 00 */ cmplwi r3, 0 +/* 802BDF74 002BAED4 41 82 00 14 */ beq lbl_802BDF88 +/* 802BDF78 002BAED8 38 00 00 00 */ li r0, 0 +/* 802BDF7C 002BAEDC 90 03 00 04 */ stw r0, 4(r3) +/* 802BDF80 002BAEE0 90 03 00 08 */ stw r0, 8(r3) +/* 802BDF84 002BAEE4 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802BDF88: +/* 802BDF88 002BAEE8 7C 03 00 D0 */ neg r0, r3 +/* 802BDF8C 002BAEEC 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BDF90 002BAEF0 7C 00 1B 78 */ or r0, r0, r3 +/* 802BDF94 002BAEF4 90 61 00 38 */ stw r3, 0x38(r1) +/* 802BDF98 002BAEF8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802BDF9C 002BAEFC 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BDFA0 002BAF00 98 01 00 34 */ stb r0, 0x34(r1) +/* 802BDFA4 002BAF04 38 60 00 10 */ li r3, 0x10 +/* 802BDFA8 002BAF08 38 A0 00 00 */ li r5, 0 +/* 802BDFAC 002BAF0C 48 05 78 C1 */ bl __nw__FUlPCcPCc +/* 802BDFB0 002BAF10 28 03 00 00 */ cmplwi r3, 0 +/* 802BDFB4 002BAF14 41 82 00 14 */ beq lbl_802BDFC8 +/* 802BDFB8 002BAF18 38 00 00 00 */ li r0, 0 +/* 802BDFBC 002BAF1C 90 03 00 04 */ stw r0, 4(r3) +/* 802BDFC0 002BAF20 90 03 00 08 */ stw r0, 8(r3) +/* 802BDFC4 002BAF24 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802BDFC8: +/* 802BDFC8 002BAF28 7C 83 00 D0 */ neg r4, r3 +/* 802BDFCC 002BAF2C 80 19 00 04 */ lwz r0, 4(r25) +/* 802BDFD0 002BAF30 7C 84 1B 78 */ or r4, r4, r3 +/* 802BDFD4 002BAF34 90 61 00 30 */ stw r3, 0x30(r1) +/* 802BDFD8 002BAF38 54 84 0F FE */ srwi r4, r4, 0x1f +/* 802BDFDC 002BAF3C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BDFE0 002BAF40 98 81 00 2C */ stb r4, 0x2c(r1) +/* 802BDFE4 002BAF44 41 82 01 48 */ beq lbl_802BE12C +/* 802BDFE8 002BAF48 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 802BDFEC 002BAF4C 7C 64 1B 78 */ mr r4, r3 +/* 802BDFF0 002BAF50 80 B8 00 0C */ lwz r5, 0xc(r24) +/* 802BDFF4 002BAF54 38 C0 00 00 */ li r6, 0 +/* 802BDFF8 002BAF58 80 67 00 4C */ lwz r3, 0x4c(r7) +/* 802BDFFC 002BAF5C 48 04 98 05 */ bl "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" +/* 802BE000 002BAF60 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802BE004 002BAF64 80 99 00 04 */ lwz r4, 4(r25) +/* 802BE008 002BAF68 48 00 26 A1 */ bl sub_802c06a8 +/* 802BE00C 002BAF6C 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BE010 002BAF70 3B 80 00 00 */ li r28, 0 +/* 802BE014 002BAF74 3B E3 68 5C */ addi r31, r3, lbl_803D685C@l +/* 802BE018 002BAF78 3B A0 00 00 */ li r29, 0 +/* 802BE01C 002BAF7C 48 00 01 04 */ b lbl_802BE120 +lbl_802BE020: +/* 802BE020 002BAF80 80 19 00 0C */ lwz r0, 0xc(r25) +/* 802BE024 002BAF84 7F E4 FB 78 */ mr r4, r31 +/* 802BE028 002BAF88 38 60 00 48 */ li r3, 0x48 +/* 802BE02C 002BAF8C 38 A0 00 00 */ li r5, 0 +/* 802BE030 002BAF90 7F C0 EA 14 */ add r30, r0, r29 +/* 802BE034 002BAF94 48 05 78 39 */ bl __nw__FUlPCcPCc +/* 802BE038 002BAF98 7C 64 1B 79 */ or. r4, r3, r3 +/* 802BE03C 002BAF9C 41 82 00 50 */ beq lbl_802BE08C +/* 802BE040 002BAFA0 80 DE 00 70 */ lwz r6, 0x70(r30) +/* 802BE044 002BAFA4 38 BE 00 34 */ addi r5, r30, 0x34 +/* 802BE048 002BAFA8 38 00 00 00 */ li r0, 0 +/* 802BE04C 002BAFAC 38 9E 00 50 */ addi r4, r30, 0x50 +/* 802BE050 002BAFB0 90 C1 00 08 */ stw r6, 8(r1) +/* 802BE054 002BAFB4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802BE058 002BAFB8 80 BE 00 00 */ lwz r5, 0(r30) +/* 802BE05C 002BAFBC 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 802BE060 002BAFC0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802BE064 002BAFC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE068 002BAFC8 93 81 00 18 */ stw r28, 0x18(r1) +/* 802BE06C 002BAFCC 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 802BE070 002BAFD0 80 DE 00 4C */ lwz r6, 0x4c(r30) +/* 802BE074 002BAFD4 80 FE 00 60 */ lwz r7, 0x60(r30) +/* 802BE078 002BAFD8 81 1E 00 64 */ lwz r8, 0x64(r30) +/* 802BE07C 002BAFDC 81 3E 00 68 */ lwz r9, 0x68(r30) +/* 802BE080 002BAFE0 81 5E 00 6C */ lwz r10, 0x6c(r30) +/* 802BE084 002BAFE4 48 04 98 D1 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +/* 802BE088 002BAFE8 7C 64 1B 78 */ mr r4, r3 +lbl_802BE08C: +/* 802BE08C 002BAFEC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802BE090 002BAFF0 7C 04 00 D0 */ neg r0, r4 +/* 802BE094 002BAFF4 7C 03 23 78 */ or r3, r0, r4 +/* 802BE098 002BAFF8 90 81 00 28 */ stw r4, 0x28(r1) +/* 802BE09C 002BAFFC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BE0A0 002BB000 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802BE0A4 002BB004 80 BE 00 08 */ lwz r5, 8(r30) +/* 802BE0A8 002BB008 98 61 00 24 */ stb r3, 0x24(r1) +/* 802BE0AC 002BB00C 7C 00 28 00 */ cmpw r0, r5 +/* 802BE0B0 002BB010 41 80 00 1C */ blt lbl_802BE0CC +/* 802BE0B4 002BB014 2C 05 00 00 */ cmpwi r5, 0 +/* 802BE0B8 002BB018 7F C3 F3 78 */ mr r3, r30 +/* 802BE0BC 002BB01C 38 80 00 04 */ li r4, 4 +/* 802BE0C0 002BB020 41 82 00 08 */ beq lbl_802BE0C8 +/* 802BE0C4 002BB024 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802BE0C8: +/* 802BE0C8 002BB028 48 00 25 E1 */ bl sub_802c06a8 +lbl_802BE0CC: +/* 802BE0CC 002BB02C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BE0D0 002BB030 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802BE0D4 002BB034 54 00 18 38 */ slwi r0, r0, 3 +/* 802BE0D8 002BB038 7C A3 02 15 */ add. r5, r3, r0 +/* 802BE0DC 002BB03C 41 82 00 1C */ beq lbl_802BE0F8 +/* 802BE0E0 002BB040 88 81 00 24 */ lbz r4, 0x24(r1) +/* 802BE0E4 002BB044 38 00 00 00 */ li r0, 0 +/* 802BE0E8 002BB048 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802BE0EC 002BB04C 98 85 00 00 */ stb r4, 0(r5) +/* 802BE0F0 002BB050 90 65 00 04 */ stw r3, 4(r5) +/* 802BE0F4 002BB054 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802BE0F8: +/* 802BE0F8 002BB058 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE0FC 002BB05C 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802BE100 002BB060 38 63 00 01 */ addi r3, r3, 1 +/* 802BE104 002BB064 28 00 00 00 */ cmplwi r0, 0 +/* 802BE108 002BB068 90 7E 00 04 */ stw r3, 4(r30) +/* 802BE10C 002BB06C 41 82 00 0C */ beq lbl_802BE118 +/* 802BE110 002BB070 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802BE114 002BB074 48 05 78 1D */ bl Free__7CMemoryFPCv +lbl_802BE118: +/* 802BE118 002BB078 3B BD 00 74 */ addi r29, r29, 0x74 +/* 802BE11C 002BB07C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802BE120: +/* 802BE120 002BB080 80 19 00 04 */ lwz r0, 4(r25) +/* 802BE124 002BB084 7C 1C 00 00 */ cmpw r28, r0 +/* 802BE128 002BB088 41 80 FE F8 */ blt lbl_802BE020 +lbl_802BE12C: +/* 802BE12C 002BB08C 7F 24 CB 78 */ mr r4, r25 +/* 802BE130 002BB090 7F 45 D3 78 */ mr r5, r26 +/* 802BE134 002BB094 7F 68 DB 78 */ mr r8, r27 +/* 802BE138 002BB098 38 61 00 3C */ addi r3, r1, 0x3c +/* 802BE13C 002BB09C 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802BE140 002BB0A0 38 E1 00 34 */ addi r7, r1, 0x34 +/* 802BE144 002BB0A4 48 00 12 21 */ bl __ct__Q213CCubeRenderer13CAreaListItem +/* 802BE148 002BB0A8 38 78 00 1C */ addi r3, r24, 0x1c +/* 802BE14C 002BB0AC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802BE150 002BB0B0 48 00 00 41 */ bl sub_802be190 +/* 802BE154 002BB0B4 38 61 00 3C */ addi r3, r1, 0x3c +/* 802BE158 002BB0B8 38 80 FF FF */ li r4, -1 +/* 802BE15C 002BB0BC 48 00 02 5D */ bl sub_802be3b8 +/* 802BE160 002BB0C0 48 0B 9E 25 */ bl GXInvalidateVtxCache +/* 802BE164 002BB0C4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802BE168 002BB0C8 38 80 FF FF */ li r4, -1 +/* 802BE16C 002BB0CC 48 00 02 F9 */ bl sub_802be464 +/* 802BE170 002BB0D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802BE174 002BB0D4 38 80 FF FF */ li r4, -1 +/* 802BE178 002BB0D8 48 00 04 05 */ bl sub_802be57c +lbl_802BE17C: +/* 802BE17C 002BB0DC BB 01 00 70 */ lmw r24, 0x70(r1) +/* 802BE180 002BB0E0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BE184 002BB0E4 7C 08 03 A6 */ mtlr r0 +/* 802BE188 002BB0E8 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BE18C 002BB0EC 4E 80 00 20 */ blr + +.global sub_802be190 +sub_802be190: +/* 802BE190 002BB0F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE194 002BB0F4 7C 08 02 A6 */ mflr r0 +/* 802BE198 002BB0F8 7C 85 23 78 */ mr r5, r4 +/* 802BE19C 002BB0FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE1A0 002BB100 80 83 00 08 */ lwz r4, 8(r3) +/* 802BE1A4 002BB104 48 00 00 15 */ bl sub_802be1b8 +/* 802BE1A8 002BB108 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE1AC 002BB10C 7C 08 03 A6 */ mtlr r0 +/* 802BE1B0 002BB110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE1B4 002BB114 4E 80 00 20 */ blr + +.global sub_802be1b8 +sub_802be1b8: +/* 802BE1B8 002BB118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE1BC 002BB11C 7C 08 02 A6 */ mflr r0 +/* 802BE1C0 002BB120 7C A6 2B 78 */ mr r6, r5 +/* 802BE1C4 002BB124 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE1C8 002BB128 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE1CC 002BB12C 7C 9F 23 78 */ mr r31, r4 +/* 802BE1D0 002BB130 7F E5 FB 78 */ mr r5, r31 +/* 802BE1D4 002BB134 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE1D8 002BB138 7C 7E 1B 78 */ mr r30, r3 +/* 802BE1DC 002BB13C 80 84 00 00 */ lwz r4, 0(r4) +/* 802BE1E0 002BB140 48 00 00 49 */ bl sub_802be228 +/* 802BE1E4 002BB144 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BE1E8 002BB148 7C 1F 00 40 */ cmplw r31, r0 +/* 802BE1EC 002BB14C 40 82 00 08 */ bne lbl_802BE1F4 +/* 802BE1F0 002BB150 90 7E 00 04 */ stw r3, 4(r30) +lbl_802BE1F4: +/* 802BE1F4 002BB154 80 83 00 00 */ lwz r4, 0(r3) +/* 802BE1F8 002BB158 90 64 00 04 */ stw r3, 4(r4) +/* 802BE1FC 002BB15C 80 83 00 04 */ lwz r4, 4(r3) +/* 802BE200 002BB160 90 64 00 00 */ stw r3, 0(r4) +/* 802BE204 002BB164 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802BE208 002BB168 38 04 00 01 */ addi r0, r4, 1 +/* 802BE20C 002BB16C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802BE210 002BB170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE214 002BB174 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE218 002BB178 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE21C 002BB17C 7C 08 03 A6 */ mtlr r0 +/* 802BE220 002BB180 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE224 002BB184 4E 80 00 20 */ blr + +.global sub_802be228 +sub_802be228: +/* 802BE228 002BB188 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BE22C 002BB18C 7C 08 02 A6 */ mflr r0 +/* 802BE230 002BB190 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BE234 002BB194 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BE238 002BB198 38 03 68 5C */ addi r0, r3, lbl_803D685C@l +/* 802BE23C 002BB19C 38 60 00 34 */ li r3, 0x34 +/* 802BE240 002BB1A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BE244 002BB1A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BE248 002BB1A8 7C DE 33 78 */ mr r30, r6 +/* 802BE24C 002BB1AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BE250 002BB1B0 7C BD 2B 78 */ mr r29, r5 +/* 802BE254 002BB1B4 38 A0 00 00 */ li r5, 0 +/* 802BE258 002BB1B8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BE25C 002BB1BC 7C 9C 23 78 */ mr r28, r4 +/* 802BE260 002BB1C0 7C 04 03 78 */ mr r4, r0 +/* 802BE264 002BB1C4 48 05 75 B5 */ bl __nwa__FUlPCcPCc +/* 802BE268 002BB1C8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802BE26C 002BB1CC 41 82 00 0C */ beq lbl_802BE278 +/* 802BE270 002BB1D0 93 9F 00 00 */ stw r28, 0(r31) +/* 802BE274 002BB1D4 93 BF 00 04 */ stw r29, 4(r31) +lbl_802BE278: +/* 802BE278 002BB1D8 34 7F 00 08 */ addic. r3, r31, 8 +/* 802BE27C 002BB1DC 41 82 00 0C */ beq lbl_802BE288 +/* 802BE280 002BB1E0 7F C4 F3 78 */ mr r4, r30 +/* 802BE284 002BB1E4 48 00 00 29 */ bl sub_802be2ac +lbl_802BE288: +/* 802BE288 002BB1E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BE28C 002BB1EC 7F E3 FB 78 */ mr r3, r31 +/* 802BE290 002BB1F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BE294 002BB1F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BE298 002BB1F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BE29C 002BB1FC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BE2A0 002BB200 7C 08 03 A6 */ mtlr r0 +/* 802BE2A4 002BB204 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BE2A8 002BB208 4E 80 00 20 */ blr + +.global sub_802be2ac +sub_802be2ac: +/* 802BE2AC 002BB20C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE2B0 002BB210 7C 08 02 A6 */ mflr r0 +/* 802BE2B4 002BB214 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE2B8 002BB218 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE2BC 002BB21C 7C 9F 23 78 */ mr r31, r4 +/* 802BE2C0 002BB220 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE2C4 002BB224 7C 7E 1B 78 */ mr r30, r3 +/* 802BE2C8 002BB228 38 60 00 00 */ li r3, 0 +/* 802BE2CC 002BB22C 80 04 00 00 */ lwz r0, 0(r4) +/* 802BE2D0 002BB230 90 1E 00 00 */ stw r0, 0(r30) +/* 802BE2D4 002BB234 80 04 00 04 */ lwz r0, 4(r4) +/* 802BE2D8 002BB238 90 1E 00 04 */ stw r0, 4(r30) +/* 802BE2DC 002BB23C 88 04 00 08 */ lbz r0, 8(r4) +/* 802BE2E0 002BB240 98 1E 00 08 */ stb r0, 8(r30) +/* 802BE2E4 002BB244 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802BE2E8 002BB248 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802BE2EC 002BB24C 98 64 00 08 */ stb r3, 8(r4) +/* 802BE2F0 002BB250 88 04 00 10 */ lbz r0, 0x10(r4) +/* 802BE2F4 002BB254 98 1E 00 10 */ stb r0, 0x10(r30) +/* 802BE2F8 002BB258 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802BE2FC 002BB25C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802BE300 002BB260 98 64 00 10 */ stb r3, 0x10(r4) +/* 802BE304 002BB264 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802BE308 002BB268 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802BE30C 002BB26C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802BE310 002BB270 90 1E 00 20 */ stw r0, 0x20(r30) +/* 802BE314 002BB274 80 04 00 24 */ lwz r0, 0x24(r4) +/* 802BE318 002BB278 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802BE31C 002BB27C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802BE320 002BB280 2C 00 00 00 */ cmpwi r0, 0 +/* 802BE324 002BB284 40 82 00 18 */ bne lbl_802BE33C +/* 802BE328 002BB288 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802BE32C 002BB28C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BE330 002BB290 40 82 00 0C */ bne lbl_802BE33C +/* 802BE334 002BB294 90 7E 00 28 */ stw r3, 0x28(r30) +/* 802BE338 002BB298 48 00 00 64 */ b lbl_802BE39C +lbl_802BE33C: +/* 802BE33C 002BB29C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802BE340 002BB2A0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802BE344 002BB2A4 40 82 00 10 */ bne lbl_802BE354 +/* 802BE348 002BB2A8 38 00 00 00 */ li r0, 0 +/* 802BE34C 002BB2AC 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802BE350 002BB2B0 48 00 00 18 */ b lbl_802BE368 +lbl_802BE354: +/* 802BE354 002BB2B4 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BE358 002BB2B8 38 A0 00 00 */ li r5, 0 +/* 802BE35C 002BB2BC 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BE360 002BB2C0 48 05 74 B9 */ bl __nwa__FUlPCcPCc +/* 802BE364 002BB2C4 90 7E 00 28 */ stw r3, 0x28(r30) +lbl_802BE368: +/* 802BE368 002BB2C8 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 802BE36C 002BB2CC 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 802BE370 002BB2D0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802BE374 002BB2D4 7C 09 03 A6 */ mtctr r0 +/* 802BE378 002BB2D8 2C 00 00 00 */ cmpwi r0, 0 +/* 802BE37C 002BB2DC 40 81 00 20 */ ble lbl_802BE39C +lbl_802BE380: +/* 802BE380 002BB2E0 28 03 00 00 */ cmplwi r3, 0 +/* 802BE384 002BB2E4 41 82 00 0C */ beq lbl_802BE390 +/* 802BE388 002BB2E8 80 04 00 00 */ lwz r0, 0(r4) +/* 802BE38C 002BB2EC 90 03 00 00 */ stw r0, 0(r3) +lbl_802BE390: +/* 802BE390 002BB2F0 38 63 00 04 */ addi r3, r3, 4 +/* 802BE394 002BB2F4 38 84 00 04 */ addi r4, r4, 4 +/* 802BE398 002BB2F8 42 00 FF E8 */ bdnz lbl_802BE380 +lbl_802BE39C: +/* 802BE39C 002BB2FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE3A0 002BB300 7F C3 F3 78 */ mr r3, r30 +/* 802BE3A4 002BB304 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE3A8 002BB308 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE3AC 002BB30C 7C 08 03 A6 */ mtlr r0 +/* 802BE3B0 002BB310 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE3B4 002BB314 4E 80 00 20 */ blr + +.global sub_802be3b8 +sub_802be3b8: +/* 802BE3B8 002BB318 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BE3BC 002BB31C 7C 08 02 A6 */ mflr r0 +/* 802BE3C0 002BB320 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BE3C4 002BB324 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BE3C8 002BB328 7C 9F 23 78 */ mr r31, r4 +/* 802BE3CC 002BB32C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BE3D0 002BB330 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE3D4 002BB334 41 82 00 74 */ beq lbl_802BE448 +/* 802BE3D8 002BB338 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 802BE3DC 002BB33C 41 82 00 44 */ beq lbl_802BE420 +/* 802BE3E0 002BB340 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 802BE3E4 002BB344 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802BE3E8 002BB348 54 00 10 3A */ slwi r0, r0, 2 +/* 802BE3EC 002BB34C 7C 03 02 14 */ add r0, r3, r0 +/* 802BE3F0 002BB350 90 61 00 0C */ stw r3, 0xc(r1) +/* 802BE3F4 002BB354 7C 64 1B 78 */ mr r4, r3 +/* 802BE3F8 002BB358 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE3FC 002BB35C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802BE400 002BB360 90 61 00 08 */ stw r3, 8(r1) +/* 802BE404 002BB364 48 00 00 08 */ b lbl_802BE40C +lbl_802BE408: +/* 802BE408 002BB368 38 84 00 04 */ addi r4, r4, 4 +lbl_802BE40C: +/* 802BE40C 002BB36C 7C 04 00 40 */ cmplw r4, r0 +/* 802BE410 002BB370 40 82 FF F8 */ bne lbl_802BE408 +/* 802BE414 002BB374 28 03 00 00 */ cmplwi r3, 0 +/* 802BE418 002BB378 41 82 00 08 */ beq lbl_802BE420 +/* 802BE41C 002BB37C 48 05 75 15 */ bl Free__7CMemoryFPCv +lbl_802BE420: +/* 802BE420 002BB380 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802BE424 002BB384 38 80 FF FF */ li r4, -1 +/* 802BE428 002BB388 48 00 01 55 */ bl sub_802be57c +/* 802BE42C 002BB38C 38 7E 00 08 */ addi r3, r30, 8 +/* 802BE430 002BB390 38 80 FF FF */ li r4, -1 +/* 802BE434 002BB394 48 00 00 31 */ bl sub_802be464 +/* 802BE438 002BB398 7F E0 07 35 */ extsh. r0, r31 +/* 802BE43C 002BB39C 40 81 00 0C */ ble lbl_802BE448 +/* 802BE440 002BB3A0 7F C3 F3 78 */ mr r3, r30 +/* 802BE444 002BB3A4 48 05 74 ED */ bl Free__7CMemoryFPCv +lbl_802BE448: +/* 802BE448 002BB3A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BE44C 002BB3AC 7F C3 F3 78 */ mr r3, r30 +/* 802BE450 002BB3B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BE454 002BB3B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BE458 002BB3B8 7C 08 03 A6 */ mtlr r0 +/* 802BE45C 002BB3BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BE460 002BB3C0 4E 80 00 20 */ blr + +.global sub_802be464 +sub_802be464: +/* 802BE464 002BB3C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE468 002BB3C8 7C 08 02 A6 */ mflr r0 +/* 802BE46C 002BB3CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE470 002BB3D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE474 002BB3D4 7C 9F 23 78 */ mr r31, r4 +/* 802BE478 002BB3D8 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE47C 002BB3DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE480 002BB3E0 41 82 00 2C */ beq lbl_802BE4AC +/* 802BE484 002BB3E4 88 1E 00 00 */ lbz r0, 0(r30) +/* 802BE488 002BB3E8 28 00 00 00 */ cmplwi r0, 0 +/* 802BE48C 002BB3EC 41 82 00 10 */ beq lbl_802BE49C +/* 802BE490 002BB3F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE494 002BB3F4 38 80 00 01 */ li r4, 1 +/* 802BE498 002BB3F8 48 00 00 31 */ bl sub_802be4c8 +lbl_802BE49C: +/* 802BE49C 002BB3FC 7F E0 07 35 */ extsh. r0, r31 +/* 802BE4A0 002BB400 40 81 00 0C */ ble lbl_802BE4AC +/* 802BE4A4 002BB404 7F C3 F3 78 */ mr r3, r30 +/* 802BE4A8 002BB408 48 05 74 89 */ bl Free__7CMemoryFPCv +lbl_802BE4AC: +/* 802BE4AC 002BB40C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE4B0 002BB410 7F C3 F3 78 */ mr r3, r30 +/* 802BE4B4 002BB414 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE4B8 002BB418 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE4BC 002BB41C 7C 08 03 A6 */ mtlr r0 +/* 802BE4C0 002BB420 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE4C4 002BB424 4E 80 00 20 */ blr + +.global sub_802be4c8 +sub_802be4c8: +/* 802BE4C8 002BB428 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE4CC 002BB42C 7C 08 02 A6 */ mflr r0 +/* 802BE4D0 002BB430 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE4D4 002BB434 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE4D8 002BB438 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE4DC 002BB43C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802BE4E0 002BB440 7C 9D 23 78 */ mr r29, r4 +/* 802BE4E4 002BB444 93 81 00 20 */ stw r28, 0x20(r1) +/* 802BE4E8 002BB448 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802BE4EC 002BB44C 41 82 00 6C */ beq lbl_802BE558 +/* 802BE4F0 002BB450 80 1C 00 04 */ lwz r0, 4(r28) +/* 802BE4F4 002BB454 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802BE4F8 002BB458 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BE4FC 002BB45C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802BE500 002BB460 7F FE 02 14 */ add r31, r30, r0 +/* 802BE504 002BB464 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802BE508 002BB468 93 E1 00 08 */ stw r31, 8(r1) +/* 802BE50C 002BB46C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE510 002BB470 48 00 00 20 */ b lbl_802BE530 +lbl_802BE514: +/* 802BE514 002BB474 28 1E 00 00 */ cmplwi r30, 0 +/* 802BE518 002BB478 41 82 00 14 */ beq lbl_802BE52C +/* 802BE51C 002BB47C 41 82 00 10 */ beq lbl_802BE52C +/* 802BE520 002BB480 7F C3 F3 78 */ mr r3, r30 +/* 802BE524 002BB484 38 80 00 00 */ li r4, 0 +/* 802BE528 002BB488 48 08 29 19 */ bl __dt__6CTokenFv +lbl_802BE52C: +/* 802BE52C 002BB48C 3B DE 00 0C */ addi r30, r30, 0xc +lbl_802BE530: +/* 802BE530 002BB490 7C 1E F8 40 */ cmplw r30, r31 +/* 802BE534 002BB494 40 82 FF E0 */ bne lbl_802BE514 +/* 802BE538 002BB498 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802BE53C 002BB49C 28 03 00 00 */ cmplwi r3, 0 +/* 802BE540 002BB4A0 41 82 00 08 */ beq lbl_802BE548 +/* 802BE544 002BB4A4 48 05 73 ED */ bl Free__7CMemoryFPCv +lbl_802BE548: +/* 802BE548 002BB4A8 7F A0 07 35 */ extsh. r0, r29 +/* 802BE54C 002BB4AC 40 81 00 0C */ ble lbl_802BE558 +/* 802BE550 002BB4B0 7F 83 E3 78 */ mr r3, r28 +/* 802BE554 002BB4B4 48 05 73 DD */ bl Free__7CMemoryFPCv +lbl_802BE558: +/* 802BE558 002BB4B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BE55C 002BB4BC 7F 83 E3 78 */ mr r3, r28 +/* 802BE560 002BB4C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BE564 002BB4C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BE568 002BB4C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802BE56C 002BB4CC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802BE570 002BB4D0 7C 08 03 A6 */ mtlr r0 +/* 802BE574 002BB4D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BE578 002BB4D8 4E 80 00 20 */ blr + +.global sub_802be57c +sub_802be57c: +/* 802BE57C 002BB4DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE580 002BB4E0 7C 08 02 A6 */ mflr r0 +/* 802BE584 002BB4E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE588 002BB4E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE58C 002BB4EC 7C 9F 23 78 */ mr r31, r4 +/* 802BE590 002BB4F0 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE594 002BB4F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE598 002BB4F8 41 82 00 2C */ beq lbl_802BE5C4 +/* 802BE59C 002BB4FC 88 1E 00 00 */ lbz r0, 0(r30) +/* 802BE5A0 002BB500 28 00 00 00 */ cmplwi r0, 0 +/* 802BE5A4 002BB504 41 82 00 10 */ beq lbl_802BE5B4 +/* 802BE5A8 002BB508 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE5AC 002BB50C 38 80 00 01 */ li r4, 1 +/* 802BE5B0 002BB510 48 00 00 31 */ bl sub_802be5e0 +lbl_802BE5B4: +/* 802BE5B4 002BB514 7F E0 07 35 */ extsh. r0, r31 +/* 802BE5B8 002BB518 40 81 00 0C */ ble lbl_802BE5C4 +/* 802BE5BC 002BB51C 7F C3 F3 78 */ mr r3, r30 +/* 802BE5C0 002BB520 48 05 73 71 */ bl Free__7CMemoryFPCv +lbl_802BE5C4: +/* 802BE5C4 002BB524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE5C8 002BB528 7F C3 F3 78 */ mr r3, r30 +/* 802BE5CC 002BB52C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE5D0 002BB530 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE5D4 002BB534 7C 08 03 A6 */ mtlr r0 +/* 802BE5D8 002BB538 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE5DC 002BB53C 4E 80 00 20 */ blr + +.global sub_802be5e0 +sub_802be5e0: +/* 802BE5E0 002BB540 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE5E4 002BB544 7C 08 02 A6 */ mflr r0 +/* 802BE5E8 002BB548 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE5EC 002BB54C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE5F0 002BB550 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE5F4 002BB554 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802BE5F8 002BB558 7C 9D 23 78 */ mr r29, r4 +/* 802BE5FC 002BB55C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802BE600 002BB560 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802BE604 002BB564 41 82 00 70 */ beq lbl_802BE674 +/* 802BE608 002BB568 80 1C 00 04 */ lwz r0, 4(r28) +/* 802BE60C 002BB56C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802BE610 002BB570 54 00 18 38 */ slwi r0, r0, 3 +/* 802BE614 002BB574 7F FE 02 14 */ add r31, r30, r0 +/* 802BE618 002BB578 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802BE61C 002BB57C 93 E1 00 08 */ stw r31, 8(r1) +/* 802BE620 002BB580 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE624 002BB584 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802BE628 002BB588 48 00 00 24 */ b lbl_802BE64C +lbl_802BE62C: +/* 802BE62C 002BB58C 28 1E 00 00 */ cmplwi r30, 0 +/* 802BE630 002BB590 41 82 00 18 */ beq lbl_802BE648 +/* 802BE634 002BB594 88 1E 00 00 */ lbz r0, 0(r30) +/* 802BE638 002BB598 28 00 00 00 */ cmplwi r0, 0 +/* 802BE63C 002BB59C 41 82 00 0C */ beq lbl_802BE648 +/* 802BE640 002BB5A0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE644 002BB5A4 48 05 72 ED */ bl Free__7CMemoryFPCv +lbl_802BE648: +/* 802BE648 002BB5A8 3B DE 00 08 */ addi r30, r30, 8 +lbl_802BE64C: +/* 802BE64C 002BB5AC 7C 1E F8 40 */ cmplw r30, r31 +/* 802BE650 002BB5B0 40 82 FF DC */ bne lbl_802BE62C +/* 802BE654 002BB5B4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802BE658 002BB5B8 28 03 00 00 */ cmplwi r3, 0 +/* 802BE65C 002BB5BC 41 82 00 08 */ beq lbl_802BE664 +/* 802BE660 002BB5C0 48 05 72 D1 */ bl Free__7CMemoryFPCv +lbl_802BE664: +/* 802BE664 002BB5C4 7F A0 07 35 */ extsh. r0, r29 +/* 802BE668 002BB5C8 40 81 00 0C */ ble lbl_802BE674 +/* 802BE66C 002BB5CC 7F 83 E3 78 */ mr r3, r28 +/* 802BE670 002BB5D0 48 05 72 C1 */ bl Free__7CMemoryFPCv +lbl_802BE674: +/* 802BE674 002BB5D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BE678 002BB5D8 7F 83 E3 78 */ mr r3, r28 +/* 802BE67C 002BB5DC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BE680 002BB5E0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BE684 002BB5E4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802BE688 002BB5E8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802BE68C 002BB5EC 7C 08 03 A6 */ mtlr r0 +/* 802BE690 002BB5F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BE694 002BB5F4 4E 80 00 20 */ blr + +.global __dt__13CCubeRendererFv +__dt__13CCubeRendererFv: +/* 802BE698 002BB5F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE69C 002BB5FC 7C 08 02 A6 */ mflr r0 +/* 802BE6A0 002BB600 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE6A4 002BB604 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE6A8 002BB608 7C 9F 23 78 */ mr r31, r4 +/* 802BE6AC 002BB60C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE6B0 002BB610 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE6B4 002BB614 41 82 02 38 */ beq lbl_802BE8EC +/* 802BE6B8 002BB618 3C 60 80 3F */ lis r3, lbl_803EC5D8@ha +/* 802BE6BC 002BB61C 38 00 00 00 */ li r0, 0 +/* 802BE6C0 002BB620 38 63 C5 D8 */ addi r3, r3, lbl_803EC5D8@l +/* 802BE6C4 002BB624 90 7E 00 00 */ stw r3, 0(r30) +/* 802BE6C8 002BB628 38 63 01 0C */ addi r3, r3, 0x10c +/* 802BE6CC 002BB62C 90 7E 00 04 */ stw r3, 4(r30) +/* 802BE6D0 002BB630 90 0D A5 F0 */ stw r0, lbl_805A91B0@sda21(r13) +/* 802BE6D4 002BB634 48 00 17 89 */ bl Shutdown__7BucketsFv +/* 802BE6D8 002BB638 48 09 40 49 */ bl sub_80352720 +/* 802BE6DC 002BB63C 80 7E 03 14 */ lwz r3, 0x314(r30) +/* 802BE6E0 002BB640 28 03 00 00 */ cmplwi r3, 0 +/* 802BE6E4 002BB644 41 82 00 08 */ beq lbl_802BE6EC +/* 802BE6E8 002BB648 48 04 FA 25 */ bl sub_8030e10c +lbl_802BE6EC: +/* 802BE6EC 002BB64C 34 1E 03 14 */ addic. r0, r30, 0x314 +/* 802BE6F0 002BB650 41 82 00 10 */ beq lbl_802BE700 +/* 802BE6F4 002BB654 80 7E 03 14 */ lwz r3, 0x314(r30) +/* 802BE6F8 002BB658 38 80 00 01 */ li r4, 1 +/* 802BE6FC 002BB65C 48 05 12 FD */ bl __dt__8CTextureFv +lbl_802BE700: +/* 802BE700 002BB660 34 1E 03 00 */ addic. r0, r30, 0x300 +/* 802BE704 002BB664 41 82 00 44 */ beq lbl_802BE748 +/* 802BE708 002BB668 80 1E 03 04 */ lwz r0, 0x304(r30) +/* 802BE70C 002BB66C 80 7E 03 0C */ lwz r3, 0x30c(r30) +/* 802BE710 002BB670 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 802BE714 002BB674 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802BE718 002BB678 7C 64 1B 78 */ mr r4, r3 +/* 802BE71C 002BB67C 7C 03 02 14 */ add r0, r3, r0 +/* 802BE720 002BB680 90 61 00 18 */ stw r3, 0x18(r1) +/* 802BE724 002BB684 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BE728 002BB688 90 01 00 20 */ stw r0, 0x20(r1) +/* 802BE72C 002BB68C 48 00 00 08 */ b lbl_802BE734 +lbl_802BE730: +/* 802BE730 002BB690 38 84 00 50 */ addi r4, r4, 0x50 +lbl_802BE734: +/* 802BE734 002BB694 7C 04 00 40 */ cmplw r4, r0 +/* 802BE738 002BB698 40 82 FF F8 */ bne lbl_802BE730 +/* 802BE73C 002BB69C 28 03 00 00 */ cmplwi r3, 0 +/* 802BE740 002BB6A0 41 82 00 08 */ beq lbl_802BE748 +/* 802BE744 002BB6A4 48 05 71 ED */ bl Free__7CMemoryFPCv +lbl_802BE748: +/* 802BE748 002BB6A8 38 7E 02 C4 */ addi r3, r30, 0x2c4 +/* 802BE74C 002BB6AC 38 80 FF FF */ li r4, -1 +/* 802BE750 002BB6B0 48 00 1E E1 */ bl sub_802c0630 +/* 802BE754 002BB6B4 38 7E 02 AC */ addi r3, r30, 0x2ac +/* 802BE758 002BB6B8 38 80 FF FF */ li r4, -1 +/* 802BE75C 002BB6BC 48 00 1D AD */ bl sub_802c0508 +/* 802BE760 002BB6C0 38 7E 02 88 */ addi r3, r30, 0x288 +/* 802BE764 002BB6C4 38 80 FF FF */ li r4, -1 +/* 802BE768 002BB6C8 48 04 F7 99 */ bl __dt__16CGraphicsPaletteFv +/* 802BE76C 002BB6CC 38 7E 02 20 */ addi r3, r30, 0x220 +/* 802BE770 002BB6D0 38 80 FF FF */ li r4, -1 +/* 802BE774 002BB6D4 48 05 12 85 */ bl __dt__8CTextureFv +/* 802BE778 002BB6D8 38 7E 01 B8 */ addi r3, r30, 0x1b8 +/* 802BE77C 002BB6DC 38 80 FF FF */ li r4, -1 +/* 802BE780 002BB6E0 48 05 12 79 */ bl __dt__8CTextureFv +/* 802BE784 002BB6E4 38 7E 01 50 */ addi r3, r30, 0x150 +/* 802BE788 002BB6E8 38 80 FF FF */ li r4, -1 +/* 802BE78C 002BB6EC 48 05 12 6D */ bl __dt__8CTextureFv +/* 802BE790 002BB6F0 34 1E 01 4C */ addic. r0, r30, 0x14c +/* 802BE794 002BB6F4 41 82 00 10 */ beq lbl_802BE7A4 +/* 802BE798 002BB6F8 80 7E 01 4C */ lwz r3, 0x14c(r30) +/* 802BE79C 002BB6FC 38 80 00 01 */ li r4, 1 +/* 802BE7A0 002BB700 48 05 12 59 */ bl __dt__8CTextureFv +lbl_802BE7A4: +/* 802BE7A4 002BB704 38 7E 00 E4 */ addi r3, r30, 0xe4 +/* 802BE7A8 002BB708 38 80 FF FF */ li r4, -1 +/* 802BE7AC 002BB70C 48 05 12 4D */ bl __dt__8CTextureFv +/* 802BE7B0 002BB710 34 1E 00 C8 */ addic. r0, r30, 0xc8 +/* 802BE7B4 002BB714 41 82 00 3C */ beq lbl_802BE7F0 +/* 802BE7B8 002BB718 88 1E 00 DC */ lbz r0, 0xdc(r30) +/* 802BE7BC 002BB71C 28 00 00 00 */ cmplwi r0, 0 +/* 802BE7C0 002BB720 41 82 00 28 */ beq lbl_802BE7E8 +/* 802BE7C4 002BB724 34 7E 00 C8 */ addic. r3, r30, 0xc8 +/* 802BE7C8 002BB728 41 82 00 20 */ beq lbl_802BE7E8 +/* 802BE7CC 002BB72C 34 03 00 0C */ addic. r0, r3, 0xc +/* 802BE7D0 002BB730 41 82 00 18 */ beq lbl_802BE7E8 +/* 802BE7D4 002BB734 88 03 00 0C */ lbz r0, 0xc(r3) +/* 802BE7D8 002BB738 28 00 00 00 */ cmplwi r0, 0 +/* 802BE7DC 002BB73C 41 82 00 0C */ beq lbl_802BE7E8 +/* 802BE7E0 002BB740 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802BE7E4 002BB744 48 05 71 4D */ bl Free__7CMemoryFPCv +lbl_802BE7E8: +/* 802BE7E8 002BB748 38 00 00 00 */ li r0, 0 +/* 802BE7EC 002BB74C 98 1E 00 DC */ stb r0, 0xdc(r30) +lbl_802BE7F0: +/* 802BE7F0 002BB750 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 802BE7F4 002BB754 41 82 00 60 */ beq lbl_802BE854 +/* 802BE7F8 002BB758 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 802BE7FC 002BB75C 41 82 00 58 */ beq lbl_802BE854 +/* 802BE800 002BB760 80 BE 00 44 */ lwz r5, 0x44(r30) +/* 802BE804 002BB764 38 60 00 00 */ li r3, 0 +/* 802BE808 002BB768 2C 05 00 00 */ cmpwi r5, 0 +/* 802BE80C 002BB76C 40 81 00 40 */ ble lbl_802BE84C +/* 802BE810 002BB770 2C 05 00 08 */ cmpwi r5, 8 +/* 802BE814 002BB774 38 85 FF F8 */ addi r4, r5, -8 +/* 802BE818 002BB778 40 81 00 20 */ ble lbl_802BE838 +/* 802BE81C 002BB77C 38 04 00 07 */ addi r0, r4, 7 +/* 802BE820 002BB780 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BE824 002BB784 7C 09 03 A6 */ mtctr r0 +/* 802BE828 002BB788 2C 04 00 00 */ cmpwi r4, 0 +/* 802BE82C 002BB78C 40 81 00 0C */ ble lbl_802BE838 +lbl_802BE830: +/* 802BE830 002BB790 38 63 00 08 */ addi r3, r3, 8 +/* 802BE834 002BB794 42 00 FF FC */ bdnz lbl_802BE830 +lbl_802BE838: +/* 802BE838 002BB798 7C 03 28 50 */ subf r0, r3, r5 +/* 802BE83C 002BB79C 7C 09 03 A6 */ mtctr r0 +/* 802BE840 002BB7A0 7C 03 28 00 */ cmpw r3, r5 +/* 802BE844 002BB7A4 40 80 00 08 */ bge lbl_802BE84C +lbl_802BE848: +/* 802BE848 002BB7A8 42 00 00 00 */ bdnz lbl_802BE848 +lbl_802BE84C: +/* 802BE84C 002BB7AC 38 00 00 00 */ li r0, 0 +/* 802BE850 002BB7B0 90 1E 00 44 */ stw r0, 0x44(r30) +lbl_802BE854: +/* 802BE854 002BB7B4 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 802BE858 002BB7B8 41 82 00 44 */ beq lbl_802BE89C +/* 802BE85C 002BB7BC 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802BE860 002BB7C0 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802BE864 002BB7C4 54 00 10 3A */ slwi r0, r0, 2 +/* 802BE868 002BB7C8 7C 03 02 14 */ add r0, r3, r0 +/* 802BE86C 002BB7CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 802BE870 002BB7D0 7C 64 1B 78 */ mr r4, r3 +/* 802BE874 002BB7D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE878 002BB7D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802BE87C 002BB7DC 90 61 00 08 */ stw r3, 8(r1) +/* 802BE880 002BB7E0 48 00 00 08 */ b lbl_802BE888 +lbl_802BE884: +/* 802BE884 002BB7E4 38 84 00 04 */ addi r4, r4, 4 +lbl_802BE888: +/* 802BE888 002BB7E8 7C 04 00 40 */ cmplw r4, r0 +/* 802BE88C 002BB7EC 40 82 FF F8 */ bne lbl_802BE884 +/* 802BE890 002BB7F0 28 03 00 00 */ cmplwi r3, 0 +/* 802BE894 002BB7F4 41 82 00 08 */ beq lbl_802BE89C +/* 802BE898 002BB7F8 48 05 70 99 */ bl Free__7CMemoryFPCv +lbl_802BE89C: +/* 802BE89C 002BB7FC 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802BE8A0 002BB800 38 80 FF FF */ li r4, -1 +/* 802BE8A4 002BB804 48 00 1B 05 */ bl sub_802c03a8 +/* 802BE8A8 002BB808 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802BE8AC 002BB80C 38 80 FF FF */ li r4, -1 +/* 802BE8B0 002BB810 48 04 77 11 */ bl __dt__5CFontFv +/* 802BE8B4 002BB814 34 1E 00 04 */ addic. r0, r30, 4 +/* 802BE8B8 002BB818 41 82 00 10 */ beq lbl_802BE8C8 +/* 802BE8BC 002BB81C 3C 60 80 3F */ lis r3, lbl_803EC538@ha +/* 802BE8C0 002BB820 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l +/* 802BE8C4 002BB824 90 1E 00 04 */ stw r0, 4(r30) +lbl_802BE8C8: +/* 802BE8C8 002BB828 28 1E 00 00 */ cmplwi r30, 0 +/* 802BE8CC 002BB82C 41 82 00 10 */ beq lbl_802BE8DC +/* 802BE8D0 002BB830 3C 60 80 3E */ lis r3, lbl_803D8D90@ha +/* 802BE8D4 002BB834 38 03 8D 90 */ addi r0, r3, lbl_803D8D90@l +/* 802BE8D8 002BB838 90 1E 00 00 */ stw r0, 0(r30) +lbl_802BE8DC: +/* 802BE8DC 002BB83C 7F E0 07 35 */ extsh. r0, r31 +/* 802BE8E0 002BB840 40 81 00 0C */ ble lbl_802BE8EC +/* 802BE8E4 002BB844 7F C3 F3 78 */ mr r3, r30 +/* 802BE8E8 002BB848 48 00 17 21 */ bl sub_802c0008 +lbl_802BE8EC: +/* 802BE8EC 002BB84C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BE8F0 002BB850 7F C3 F3 78 */ mr r3, r30 +/* 802BE8F4 002BB854 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BE8F8 002BB858 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BE8FC 002BB85C 7C 08 03 A6 */ mtlr r0 +/* 802BE900 002BB860 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BE904 002BB864 4E 80 00 20 */ blr + +.global sub_802be908 +sub_802be908: +/* 802BE908 002BB868 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE90C 002BB86C 7C 08 02 A6 */ mflr r0 +/* 802BE910 002BB870 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE914 002BB874 38 00 00 01 */ li r0, 1 +/* 802BE918 002BB878 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE91C 002BB87C 7C 7F 1B 78 */ mr r31, r3 +/* 802BE920 002BB880 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE924 002BB884 98 03 02 A4 */ stb r0, 0x2a4(r3) +/* 802BE928 002BB888 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BE92C 002BB88C 38 A3 68 5C */ addi r5, r3, lbl_803D685C@l +/* 802BE930 002BB890 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802BE934 002BB894 38 61 00 08 */ addi r3, r1, 8 +/* 802BE938 002BB898 38 A5 00 07 */ addi r5, r5, 7 +/* 802BE93C 002BB89C 81 84 00 00 */ lwz r12, 0(r4) +/* 802BE940 002BB8A0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802BE944 002BB8A4 7D 89 03 A6 */ mtctr r12 +/* 802BE948 002BB8A8 4E 80 04 21 */ bctrl +/* 802BE94C 002BB8AC 3B C1 00 10 */ addi r30, r1, 0x10 +/* 802BE950 002BB8B0 38 81 00 08 */ addi r4, r1, 8 +/* 802BE954 002BB8B4 7F C3 F3 78 */ mr r3, r30 +/* 802BE958 002BB8B8 48 08 25 51 */ bl __ct__6CTokenFRC6CToken +/* 802BE95C 002BB8BC 7F C3 F3 78 */ mr r3, r30 +/* 802BE960 002BB8C0 48 08 24 AD */ bl GetObj__6CTokenFv +/* 802BE964 002BB8C4 80 03 00 04 */ lwz r0, 4(r3) +/* 802BE968 002BB8C8 38 61 00 08 */ addi r3, r1, 8 +/* 802BE96C 002BB8CC 38 80 FF FF */ li r4, -1 +/* 802BE970 002BB8D0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802BE974 002BB8D4 48 08 24 CD */ bl __dt__6CTokenFv +/* 802BE978 002BB8D8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802BE97C 002BB8DC 38 C0 00 00 */ li r6, 0 +/* 802BE980 002BB8E0 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802BE984 002BB8E4 28 05 00 00 */ cmplwi r5, 0 +/* 802BE988 002BB8E8 41 82 00 B4 */ beq lbl_802BEA3C +/* 802BE98C 002BB8EC 38 00 00 02 */ li r0, 2 +/* 802BE990 002BB8F0 7C 09 03 A6 */ mtctr r0 +lbl_802BE994: +/* 802BE994 002BB8F4 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE998 002BB8F8 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE99C 002BB8FC 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9A0 002BB900 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9A4 002BB904 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9A8 002BB908 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9AC 002BB90C 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9B0 002BB910 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9B4 002BB914 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9B8 002BB918 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9BC 002BB91C 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9C0 002BB920 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9C4 002BB924 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9C8 002BB928 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9CC 002BB92C 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9D0 002BB930 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9D4 002BB934 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9D8 002BB938 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9DC 002BB93C 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9E0 002BB940 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9E4 002BB944 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9E8 002BB948 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9EC 002BB94C 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9F0 002BB950 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9F4 002BB954 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9F8 002BB958 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9FC 002BB95C 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA00 002BB960 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BEA04 002BB964 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA08 002BB968 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA0C 002BB96C 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BEA10 002BB970 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA14 002BB974 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BEA18 002BB978 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA1C 002BB97C 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA20 002BB980 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BEA24 002BB984 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA28 002BB988 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BEA2C 002BB98C 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA30 002BB990 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA34 002BB994 42 00 FF 60 */ bdnz lbl_802BE994 +/* 802BEA38 002BB998 48 00 00 74 */ b lbl_802BEAAC +lbl_802BEA3C: +/* 802BEA3C 002BB99C 38 00 00 02 */ li r0, 2 +/* 802BEA40 002BB9A0 7C 09 03 A6 */ mtctr r0 +lbl_802BEA44: +/* 802BEA44 002BB9A4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA48 002BB9A8 38 00 00 00 */ li r0, 0 +/* 802BEA4C 002BB9AC 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA50 002BB9B0 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA54 002BB9B4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA58 002BB9B8 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA5C 002BB9BC 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA60 002BB9C0 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA64 002BB9C4 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA68 002BB9C8 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA6C 002BB9CC 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA70 002BB9D0 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA74 002BB9D4 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA78 002BB9D8 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA7C 002BB9DC 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA80 002BB9E0 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA84 002BB9E4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA88 002BB9E8 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA8C 002BB9EC 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA90 002BB9F0 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA94 002BB9F4 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA98 002BB9F8 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA9C 002BB9FC 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEAA0 002BBA00 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEAA4 002BBA04 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEAA8 002BBA08 42 00 FF 9C */ bdnz lbl_802BEA44 +lbl_802BEAAC: +/* 802BEAAC 002BBA0C 38 7F 02 88 */ addi r3, r31, 0x288 +/* 802BEAB0 002BBA10 48 04 F3 AD */ bl UnLock__16CGraphicsPaletteFv +/* 802BEAB4 002BBA14 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEAB8 002BBA18 38 80 00 00 */ li r4, 0 +/* 802BEABC 002BBA1C 48 08 23 85 */ bl __dt__6CTokenFv +/* 802BEAC0 002BBA20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BEAC4 002BBA24 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BEAC8 002BBA28 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BEACC 002BBA2C 7C 08 03 A6 */ mtlr r0 +/* 802BEAD0 002BBA30 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BEAD4 002BBA34 4E 80 00 20 */ blr + +.global sub_802bead8 +sub_802bead8: +/* 802BEAD8 002BBA38 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BEADC 002BBA3C 7C 08 02 A6 */ mflr r0 +/* 802BEAE0 002BBA40 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BEAE4 002BBA44 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802BEAE8 002BBA48 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802BEAEC 002BBA4C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802BEAF0 002BBA50 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802BEAF4 002BBA54 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802BEAF8 002BBA58 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802BEAFC 002BBA5C DB 81 00 50 */ stfd f28, 0x50(r1) +/* 802BEB00 002BBA60 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 802BEB04 002BBA64 BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 802BEB08 002BBA68 7C 7B 1B 78 */ mr r27, r3 +/* 802BEB0C 002BBA6C 38 60 00 01 */ li r3, 1 +/* 802BEB10 002BBA70 88 1B 02 2A */ lbz r0, 0x22a(r27) +/* 802BEB14 002BBA74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802BEB18 002BBA78 38 7B 02 20 */ addi r3, r27, 0x220 +/* 802BEB1C 002BBA7C 38 80 00 00 */ li r4, 0 +/* 802BEB20 002BBA80 98 1B 02 2A */ stb r0, 0x22a(r27) +/* 802BEB24 002BBA84 48 04 FA B1 */ bl GetBitMapData__8CTextureFi +/* 802BEB28 002BBA88 CB 82 C2 A0 */ lfd f28, lbl_805ADFC0@sda21(r2) +/* 802BEB2C 002BBA8C 7C 7F 1B 78 */ mr r31, r3 +/* 802BEB30 002BBA90 C3 A2 C3 14 */ lfs f29, lbl_805AE034@sda21(r2) +/* 802BEB34 002BBA94 3B 80 00 00 */ li r28, 0 +/* 802BEB38 002BBA98 C3 C2 C2 70 */ lfs f30, lbl_805ADF90@sda21(r2) +/* 802BEB3C 002BBA9C 3B A0 00 00 */ li r29, 0 +/* 802BEB40 002BBAA0 C3 E2 C2 B8 */ lfs f31, lbl_805ADFD8@sda21(r2) +/* 802BEB44 002BBAA4 3F 40 43 30 */ lis r26, 0x4330 +lbl_802BEB48: +/* 802BEB48 002BBAA8 57 80 F0 02 */ slwi r0, r28, 0x1e +/* 802BEB4C 002BBAAC 57 84 0F FE */ srwi r4, r28, 0x1f +/* 802BEB50 002BBAB0 7C 64 00 50 */ subf r3, r4, r0 +/* 802BEB54 002BBAB4 7F 80 16 70 */ srawi r0, r28, 2 +/* 802BEB58 002BBAB8 54 63 10 3E */ rotlwi r3, r3, 2 +/* 802BEB5C 002BBABC 7F DF EA 14 */ add r30, r31, r29 +/* 802BEB60 002BBAC0 7C 63 22 14 */ add r3, r3, r4 +/* 802BEB64 002BBAC4 7C 00 01 94 */ addze r0, r0 +/* 802BEB68 002BBAC8 54 79 18 38 */ slwi r25, r3, 3 +/* 802BEB6C 002BBACC 3A E0 00 00 */ li r23, 0 +/* 802BEB70 002BBAD0 54 18 10 3A */ slwi r24, r0, 2 +lbl_802BEB74: +/* 802BEB74 002BBAD4 7E E0 1E 70 */ srawi r0, r23, 3 +/* 802BEB78 002BBAD8 56 E3 07 7E */ clrlwi r3, r23, 0x1d +/* 802BEB7C 002BBADC 7C 18 02 14 */ add r0, r24, r0 +/* 802BEB80 002BBAE0 93 41 00 18 */ stw r26, 0x18(r1) +/* 802BEB84 002BBAE4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BEB88 002BBAE8 7C 79 1A 14 */ add r3, r25, r3 +/* 802BEB8C 002BBAEC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802BEB90 002BBAF0 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802BEB94 002BBAF4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802BEB98 002BBAF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BEB9C 002BBAFC EC 00 E0 28 */ fsubs f0, f0, f28 +/* 802BEBA0 002BBB00 93 41 00 10 */ stw r26, 0x10(r1) +/* 802BEBA4 002BBB04 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 802BEBA8 002BBB08 EC 00 E8 24 */ fdivs f0, f0, f29 +/* 802BEBAC 002BBB0C EC 21 E0 28 */ fsubs f1, f1, f28 +/* 802BEBB0 002BBB10 EC 40 F0 28 */ fsubs f2, f0, f30 +/* 802BEBB4 002BBB14 EC 01 E8 24 */ fdivs f0, f1, f29 +/* 802BEBB8 002BBB18 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BEBBC 002BBB1C EC 02 00 B2 */ fmuls f0, f2, f2 +/* 802BEBC0 002BBB20 EC 21 00 7A */ fmadds f1, f1, f1, f0 +/* 802BEBC4 002BBB24 48 05 69 3D */ bl SqrtF__5CMathFf +/* 802BEBC8 002BBB28 EC 01 F0 7C */ fnmsubs f0, f1, f1, f30 +/* 802BEBCC 002BBB2C 38 81 00 08 */ addi r4, r1, 8 +/* 802BEBD0 002BBB30 38 6D 9A C8 */ addi r3, r13, lbl_805A8688@sda21 +/* 802BEBD4 002BBB34 38 AD 9A CC */ addi r5, r13, lbl_805A868C@sda21 +/* 802BEBD8 002BBB38 D0 01 00 08 */ stfs f0, 8(r1) +/* 802BEBDC 002BBB3C 4B D4 D6 D9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEBE0 002BBB40 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BEBE4 002BBB44 3A F7 00 01 */ addi r23, r23, 1 +/* 802BEBE8 002BBB48 2C 17 00 20 */ cmpwi r23, 0x20 +/* 802BEBEC 002BBB4C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802BEBF0 002BBB50 FC 00 00 1E */ fctiwz f0, f0 +/* 802BEBF4 002BBB54 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 802BEBF8 002BBB58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BEBFC 002BBB5C 98 1E 00 00 */ stb r0, 0(r30) +/* 802BEC00 002BBB60 3B DE 00 01 */ addi r30, r30, 1 +/* 802BEC04 002BBB64 41 80 FF 70 */ blt lbl_802BEB74 +/* 802BEC08 002BBB68 3B 9C 00 01 */ addi r28, r28, 1 +/* 802BEC0C 002BBB6C 3B BD 00 20 */ addi r29, r29, 0x20 +/* 802BEC10 002BBB70 2C 1C 00 20 */ cmpwi r28, 0x20 +/* 802BEC14 002BBB74 41 80 FF 34 */ blt lbl_802BEB48 +/* 802BEC18 002BBB78 38 7B 02 20 */ addi r3, r27, 0x220 +/* 802BEC1C 002BBB7C 48 04 FD 01 */ bl UnLock__8CTextureFv +/* 802BEC20 002BBB80 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802BEC24 002BBB84 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802BEC28 002BBB88 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802BEC2C 002BBB8C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802BEC30 002BBB90 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802BEC34 002BBB94 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802BEC38 002BBB98 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 802BEC3C 002BBB9C CB 81 00 50 */ lfd f28, 0x50(r1) +/* 802BEC40 002BBBA0 BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 802BEC44 002BBBA4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BEC48 002BBBA8 7C 08 03 A6 */ mtlr r0 +/* 802BEC4C 002BBBAC 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BEC50 002BBBB0 4E 80 00 20 */ blr + +.global sub_802bec54 +sub_802bec54: +/* 802BEC54 002BBBB4 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802BEC58 002BBBB8 7C 08 02 A6 */ mflr r0 +/* 802BEC5C 002BBBBC 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802BEC60 002BBBC0 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802BEC64 002BBBC4 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802BEC68 002BBBC8 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 802BEC6C 002BBBCC F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 802BEC70 002BBBD0 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 802BEC74 002BBBD4 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 802BEC78 002BBBD8 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 802BEC7C 002BBBDC F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 802BEC80 002BBBE0 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 802BEC84 002BBBE4 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 802BEC88 002BBBE8 DB 41 00 80 */ stfd f26, 0x80(r1) +/* 802BEC8C 002BBBEC F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 802BEC90 002BBBF0 DB 21 00 70 */ stfd f25, 0x70(r1) +/* 802BEC94 002BBBF4 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 +/* 802BEC98 002BBBF8 DB 01 00 60 */ stfd f24, 0x60(r1) +/* 802BEC9C 002BBBFC F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 +/* 802BECA0 002BBC00 DA E1 00 50 */ stfd f23, 0x50(r1) +/* 802BECA4 002BBC04 F2 E1 00 58 */ psq_st f23, 88(r1), 0, qr0 +/* 802BECA8 002BBC08 DA C1 00 40 */ stfd f22, 0x40(r1) +/* 802BECAC 002BBC0C F2 C1 00 48 */ psq_st f22, 72(r1), 0, qr0 +/* 802BECB0 002BBC10 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 802BECB4 002BBC14 7C 78 1B 78 */ mr r24, r3 +/* 802BECB8 002BBC18 38 60 00 01 */ li r3, 1 +/* 802BECBC 002BBC1C 88 18 01 C2 */ lbz r0, 0x1c2(r24) +/* 802BECC0 002BBC20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802BECC4 002BBC24 38 78 01 B8 */ addi r3, r24, 0x1b8 +/* 802BECC8 002BBC28 38 80 00 00 */ li r4, 0 +/* 802BECCC 002BBC2C 98 18 01 C2 */ stb r0, 0x1c2(r24) +/* 802BECD0 002BBC30 48 04 F9 05 */ bl GetBitMapData__8CTextureFi +/* 802BECD4 002BBC34 7C 7F 1B 78 */ mr r31, r3 +/* 802BECD8 002BBC38 38 80 00 FF */ li r4, 0xff +/* 802BECDC 002BBC3C 3C A0 00 01 */ lis r5, 1 +/* 802BECE0 002BBC40 4B D4 46 C9 */ bl memset +/* 802BECE4 002BBC44 CB 62 C3 18 */ lfd f27, lbl_805AE038@sda21(r2) +/* 802BECE8 002BBC48 3B 80 00 00 */ li r28, 0 +/* 802BECEC 002BBC4C CB 82 C3 20 */ lfd f28, lbl_805AE040@sda21(r2) +/* 802BECF0 002BBC50 3B A0 00 00 */ li r29, 0 +/* 802BECF4 002BBC54 CB A2 C3 28 */ lfd f29, lbl_805AE048@sda21(r2) +/* 802BECF8 002BBC58 3E E0 43 30 */ lis r23, 0x4330 +/* 802BECFC 002BBC5C CB C2 C2 E0 */ lfd f30, lbl_805AE000@sda21(r2) +/* 802BED00 002BBC60 CB E2 C3 30 */ lfd f31, lbl_805AE050@sda21(r2) +/* 802BED04 002BBC64 CA C2 C3 38 */ lfd f22, lbl_805AE058@sda21(r2) +/* 802BED08 002BBC68 CA E2 C3 40 */ lfd f23, lbl_805AE060@sda21(r2) +/* 802BED0C 002BBC6C C3 02 C2 80 */ lfs f24, lbl_805ADFA0@sda21(r2) +/* 802BED10 002BBC70 C3 22 C2 B8 */ lfs f25, lbl_805ADFD8@sda21(r2) +lbl_802BED14: +/* 802BED14 002BBC74 57 80 D8 08 */ slwi r0, r28, 0x1b +/* 802BED18 002BBC78 57 84 0F FE */ srwi r4, r28, 0x1f +/* 802BED1C 002BBC7C 7C 64 00 50 */ subf r3, r4, r0 +/* 802BED20 002BBC80 7F 80 2E 70 */ srawi r0, r28, 5 +/* 802BED24 002BBC84 54 63 28 3E */ rotlwi r3, r3, 5 +/* 802BED28 002BBC88 7F DF EA 14 */ add r30, r31, r29 +/* 802BED2C 002BBC8C 7C 63 22 14 */ add r3, r3, r4 +/* 802BED30 002BBC90 7C 00 01 94 */ addze r0, r0 +/* 802BED34 002BBC94 54 7B 18 38 */ slwi r27, r3, 3 +/* 802BED38 002BBC98 3B 20 00 00 */ li r25, 0 +/* 802BED3C 002BBC9C 54 1A 10 3A */ slwi r26, r0, 2 +lbl_802BED40: +/* 802BED40 002BBCA0 7F 23 1E 70 */ srawi r3, r25, 3 +/* 802BED44 002BBCA4 57 20 07 7E */ clrlwi r0, r25, 0x1d +/* 802BED48 002BBCA8 7C 7A 1A 14 */ add r3, r26, r3 +/* 802BED4C 002BBCAC 92 E1 00 10 */ stw r23, 0x10(r1) +/* 802BED50 002BBCB0 7C 1B 02 14 */ add r0, r27, r0 +/* 802BED54 002BBCB4 38 81 00 0C */ addi r4, r1, 0xc +/* 802BED58 002BBCB8 54 66 80 1E */ slwi r6, r3, 0x10 +/* 802BED5C 002BBCBC 38 6D 9A C0 */ addi r3, r13, lbl_805A8680@sda21 +/* 802BED60 002BBCC0 54 00 40 2E */ slwi r0, r0, 8 +/* 802BED64 002BBCC4 38 AD 9A C4 */ addi r5, r13, lbl_805A8684@sda21 +/* 802BED68 002BBCC8 7C C0 03 78 */ or r0, r6, r0 +/* 802BED6C 002BBCCC 60 00 00 7F */ ori r0, r0, 0x7f +/* 802BED70 002BBCD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BED74 002BBCD4 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802BED78 002BBCD8 FC 00 F0 28 */ fsub f0, f0, f30 +/* 802BED7C 002BBCDC FC 00 F8 24 */ fdiv f0, f0, f31 +/* 802BED80 002BBCE0 FC 1D B0 38 */ fmsub f0, f29, f0, f22 +/* 802BED84 002BBCE4 FC 1C 00 24 */ fdiv f0, f28, f0 +/* 802BED88 002BBCE8 FC 00 00 50 */ fneg f0, f0 +/* 802BED8C 002BBCEC FC 00 B8 28 */ fsub f0, f0, f23 +/* 802BED90 002BBCF0 FC 1B 00 32 */ fmul f0, f27, f0 +/* 802BED94 002BBCF4 FC 00 E8 24 */ fdiv f0, f0, f29 +/* 802BED98 002BBCF8 FC 00 00 18 */ frsp f0, f0 +/* 802BED9C 002BBCFC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BEDA0 002BBD00 4B D4 D5 15 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEDA4 002BBD04 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BEDA8 002BBD08 EC 00 00 3A */ fmadds f0, f0, f0, f0 +/* 802BEDAC 002BBD0C EC 18 00 32 */ fmuls f0, f24, f0 +/* 802BEDB0 002BBD10 EC 00 06 72 */ fmuls f0, f0, f25 +/* 802BEDB4 002BBD14 FF 40 00 90 */ fmr f26, f0 +/* 802BEDB8 002BBD18 F3 41 A0 08 */ psq_st f26, 8(r1), 1, qr2 +/* 802BEDBC 002BBD1C 3B 39 00 01 */ addi r25, r25, 1 +/* 802BEDC0 002BBD20 88 01 00 08 */ lbz r0, 8(r1) +/* 802BEDC4 002BBD24 98 1E 00 00 */ stb r0, 0(r30) +/* 802BEDC8 002BBD28 3B DE 00 01 */ addi r30, r30, 1 +/* 802BEDCC 002BBD2C 2C 19 00 20 */ cmpwi r25, 0x20 +/* 802BEDD0 002BBD30 41 80 FF 70 */ blt lbl_802BED40 +/* 802BEDD4 002BBD34 3B 9C 00 01 */ addi r28, r28, 1 +/* 802BEDD8 002BBD38 3B BD 00 20 */ addi r29, r29, 0x20 +/* 802BEDDC 002BBD3C 2C 1C 08 00 */ cmpwi r28, 0x800 +/* 802BEDE0 002BBD40 41 80 FF 34 */ blt lbl_802BED14 +/* 802BEDE4 002BBD44 38 78 01 B8 */ addi r3, r24, 0x1b8 +/* 802BEDE8 002BBD48 48 04 FB 35 */ bl UnLock__8CTextureFv +/* 802BEDEC 002BBD4C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802BEDF0 002BBD50 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802BEDF4 002BBD54 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 802BEDF8 002BBD58 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 802BEDFC 002BBD5C E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 802BEE00 002BBD60 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 802BEE04 002BBD64 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 802BEE08 002BBD68 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 802BEE0C 002BBD6C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802BEE10 002BBD70 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802BEE14 002BBD74 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 802BEE18 002BBD78 CB 41 00 80 */ lfd f26, 0x80(r1) +/* 802BEE1C 002BBD7C E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 +/* 802BEE20 002BBD80 CB 21 00 70 */ lfd f25, 0x70(r1) +/* 802BEE24 002BBD84 E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 +/* 802BEE28 002BBD88 CB 01 00 60 */ lfd f24, 0x60(r1) +/* 802BEE2C 002BBD8C E2 E1 00 58 */ psq_l f23, 88(r1), 0, qr0 +/* 802BEE30 002BBD90 CA E1 00 50 */ lfd f23, 0x50(r1) +/* 802BEE34 002BBD94 E2 C1 00 48 */ psq_l f22, 72(r1), 0, qr0 +/* 802BEE38 002BBD98 CA C1 00 40 */ lfd f22, 0x40(r1) +/* 802BEE3C 002BBD9C BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 802BEE40 002BBDA0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802BEE44 002BBDA4 7C 08 03 A6 */ mtlr r0 +/* 802BEE48 002BBDA8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802BEE4C 002BBDAC 4E 80 00 20 */ blr + +.global sub_802bee50 +sub_802bee50: +/* 802BEE50 002BBDB0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802BEE54 002BBDB4 7C 08 02 A6 */ mflr r0 +/* 802BEE58 002BBDB8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802BEE5C 002BBDBC DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802BEE60 002BBDC0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802BEE64 002BBDC4 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802BEE68 002BBDC8 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802BEE6C 002BBDCC DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 802BEE70 002BBDD0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 802BEE74 002BBDD4 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 802BEE78 002BBDD8 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 802BEE7C 002BBDDC DB 61 00 80 */ stfd f27, 0x80(r1) +/* 802BEE80 002BBDE0 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 802BEE84 002BBDE4 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 802BEE88 002BBDE8 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 802BEE8C 002BBDEC BE 21 00 34 */ stmw r17, 0x34(r1) +/* 802BEE90 002BBDF0 7C 74 1B 78 */ mr r20, r3 +/* 802BEE94 002BBDF4 38 60 00 01 */ li r3, 1 +/* 802BEE98 002BBDF8 88 14 01 5A */ lbz r0, 0x15a(r20) +/* 802BEE9C 002BBDFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802BEEA0 002BBE00 38 74 01 50 */ addi r3, r20, 0x150 +/* 802BEEA4 002BBE04 38 80 00 00 */ li r4, 0 +/* 802BEEA8 002BBE08 98 14 01 5A */ stb r0, 0x15a(r20) +/* 802BEEAC 002BBE0C 48 04 F7 29 */ bl GetBitMapData__8CTextureFi +/* 802BEEB0 002BBE10 CB 82 C2 A0 */ lfd f28, lbl_805ADFC0@sda21(r2) +/* 802BEEB4 002BBE14 7C 7B 1B 78 */ mr r27, r3 +/* 802BEEB8 002BBE18 C3 C2 C3 48 */ lfs f30, lbl_805AE068@sda21(r2) +/* 802BEEBC 002BBE1C 3B 21 00 14 */ addi r25, r1, 0x14 +/* 802BEEC0 002BBE20 C3 E2 C3 4C */ lfs f31, lbl_805AE06C@sda21(r2) +/* 802BEEC4 002BBE24 3B 00 00 00 */ li r24, 0 +/* 802BEEC8 002BBE28 3B 40 00 00 */ li r26, 0 +/* 802BEECC 002BBE2C 3E 40 43 30 */ lis r18, 0x4330 +lbl_802BEED0: +/* 802BEED0 002BBE30 7F 7C DB 78 */ mr r28, r27 +/* 802BEED4 002BBE34 3A E0 00 00 */ li r23, 0 +/* 802BEED8 002BBE38 3B A0 00 00 */ li r29, 0 +lbl_802BEEDC: +/* 802BEEDC 002BBE3C 3A C0 00 00 */ li r22, 0 +/* 802BEEE0 002BBE40 7F 9E E3 78 */ mr r30, r28 +lbl_802BEEE4: +/* 802BEEE4 002BBE44 38 16 FF F2 */ addi r0, r22, -14 +/* 802BEEE8 002BBE48 7F DF F3 78 */ mr r31, r30 +/* 802BEEEC 002BBE4C 7C 1A 02 14 */ add r0, r26, r0 +/* 802BEEF0 002BBE50 3A A0 00 00 */ li r21, 0 +/* 802BEEF4 002BBE54 6C 13 80 00 */ xoris r19, r0, 0x8000 +lbl_802BEEF8: +/* 802BEEF8 002BBE58 38 15 FF F2 */ addi r0, r21, -14 +/* 802BEEFC 002BBE5C C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) +/* 802BEF00 002BBE60 7C 1D 02 14 */ add r0, r29, r0 +/* 802BEF04 002BBE64 92 41 00 18 */ stw r18, 0x18(r1) +/* 802BEF08 002BBE68 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BEF0C 002BBE6C FF 40 D8 90 */ fmr f26, f27 +/* 802BEF10 002BBE70 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802BEF14 002BBE74 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF18 002BBE78 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802BEF1C 002BBE7C 92 61 00 24 */ stw r19, 0x24(r1) +/* 802BEF20 002BBE80 EC 20 E0 28 */ fsubs f1, f0, f28 +/* 802BEF24 002BBE84 92 41 00 20 */ stw r18, 0x20(r1) +/* 802BEF28 002BBE88 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 802BEF2C 002BBE8C EC 40 E0 28 */ fsubs f2, f0, f28 +/* 802BEF30 002BBE90 48 05 52 D1 */ bl __ct__9CVector2fFff +/* 802BEF34 002BBE94 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF38 002BBE98 48 05 51 BD */ bl Magnitude__9CVector2fCFv +/* 802BEF3C 002BBE9C FF A0 08 90 */ fmr f29, f1 +/* 802BEF40 002BBEA0 FC 1D F0 40 */ fcmpo cr0, f29, f30 +/* 802BEF44 002BBEA4 4C 40 13 82 */ cror 2, 0, 2 +/* 802BEF48 002BBEA8 40 82 00 28 */ bne lbl_802BEF70 +/* 802BEF4C 002BBEAC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF50 002BBEB0 48 05 52 61 */ bl Normalize__9CVector2fFv +/* 802BEF54 002BBEB4 C0 22 C3 48 */ lfs f1, lbl_805AE068@sda21(r2) +/* 802BEF58 002BBEB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF5C 002BBEBC EC 01 E8 28 */ fsubs f0, f1, f29 +/* 802BEF60 002BBEC0 EC 20 08 24 */ fdivs f1, f0, f1 +/* 802BEF64 002BBEC4 48 05 51 E9 */ bl __amu__9CVector2fFf +/* 802BEF68 002BBEC8 C3 61 00 10 */ lfs f27, 0x10(r1) +/* 802BEF6C 002BBECC C3 59 00 00 */ lfs f26, 0(r25) +lbl_802BEF70: +/* 802BEF70 002BBED0 EC 1F FE FA */ fmadds f0, f31, f27, f31 +/* 802BEF74 002BBED4 38 81 00 0C */ addi r4, r1, 0xc +/* 802BEF78 002BBED8 38 6D 9A B0 */ addi r3, r13, lbl_805A8670@sda21 +/* 802BEF7C 002BBEDC 38 AD 9A B4 */ addi r5, r13, lbl_805A8674@sda21 +/* 802BEF80 002BBEE0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BEF84 002BBEE4 4B D4 D3 31 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEF88 002BBEE8 C0 23 00 00 */ lfs f1, 0(r3) +/* 802BEF8C 002BBEEC EC 1F FE BA */ fmadds f0, f31, f26, f31 +/* 802BEF90 002BBEF0 38 81 00 08 */ addi r4, r1, 8 +/* 802BEF94 002BBEF4 38 6D 9A B8 */ addi r3, r13, lbl_805A8678@sda21 +/* 802BEF98 002BBEF8 FC 20 08 1E */ fctiwz f1, f1 +/* 802BEF9C 002BBEFC 38 AD 9A BC */ addi r5, r13, lbl_805A867C@sda21 +/* 802BEFA0 002BBF00 D0 01 00 08 */ stfs f0, 8(r1) +/* 802BEFA4 002BBF04 D8 21 00 20 */ stfd f1, 0x20(r1) +/* 802BEFA8 002BBF08 82 21 00 24 */ lwz r17, 0x24(r1) +/* 802BEFAC 002BBF0C 4B D4 D3 09 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEFB0 002BBF10 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BEFB4 002BBF14 3A B5 00 01 */ addi r21, r21, 1 +/* 802BEFB8 002BBF18 56 20 44 2E */ rlwinm r0, r17, 8, 0x10, 0x17 +/* 802BEFBC 002BBF1C 3B DE 00 02 */ addi r30, r30, 2 +/* 802BEFC0 002BBF20 FC 00 00 1E */ fctiwz f0, f0 +/* 802BEFC4 002BBF24 2C 15 00 04 */ cmpwi r21, 4 +/* 802BEFC8 002BBF28 3B 9C 00 02 */ addi r28, r28, 2 +/* 802BEFCC 002BBF2C 3B 7B 00 02 */ addi r27, r27, 2 +/* 802BEFD0 002BBF30 D8 01 00 18 */ stfd f0, 0x18(r1) +/* 802BEFD4 002BBF34 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802BEFD8 002BBF38 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f +/* 802BEFDC 002BBF3C B0 1F 00 00 */ sth r0, 0(r31) +/* 802BEFE0 002BBF40 3B FF 00 02 */ addi r31, r31, 2 +/* 802BEFE4 002BBF44 41 80 FF 14 */ blt lbl_802BEEF8 +/* 802BEFE8 002BBF48 3A D6 00 01 */ addi r22, r22, 1 +/* 802BEFEC 002BBF4C 2C 16 00 04 */ cmpwi r22, 4 +/* 802BEFF0 002BBF50 41 80 FE F4 */ blt lbl_802BEEE4 +/* 802BEFF4 002BBF54 3A F7 00 01 */ addi r23, r23, 1 +/* 802BEFF8 002BBF58 3B BD 00 04 */ addi r29, r29, 4 +/* 802BEFFC 002BBF5C 2C 17 00 08 */ cmpwi r23, 8 +/* 802BF000 002BBF60 41 80 FE DC */ blt lbl_802BEEDC +/* 802BF004 002BBF64 3B 18 00 01 */ addi r24, r24, 1 +/* 802BF008 002BBF68 3B 5A 00 04 */ addi r26, r26, 4 +/* 802BF00C 002BBF6C 2C 18 00 08 */ cmpwi r24, 8 +/* 802BF010 002BBF70 41 80 FE C0 */ blt lbl_802BEED0 +/* 802BF014 002BBF74 38 74 01 50 */ addi r3, r20, 0x150 +/* 802BF018 002BBF78 48 04 F9 05 */ bl UnLock__8CTextureFv +/* 802BF01C 002BBF7C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802BF020 002BBF80 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802BF024 002BBF84 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802BF028 002BBF88 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802BF02C 002BBF8C E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 802BF030 002BBF90 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 802BF034 002BBF94 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 802BF038 002BBF98 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 802BF03C 002BBF9C E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 802BF040 002BBFA0 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 802BF044 002BBFA4 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 802BF048 002BBFA8 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 802BF04C 002BBFAC BA 21 00 34 */ lmw r17, 0x34(r1) +/* 802BF050 002BBFB0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802BF054 002BBFB4 7C 08 03 A6 */ mtlr r0 +/* 802BF058 002BBFB8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802BF05C 002BBFBC 4E 80 00 20 */ blr + +.global __ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory +__ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory: +/* 802BF060 002BBFC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BF064 002BBFC4 7C 08 02 A6 */ mflr r0 +/* 802BF068 002BBFC8 3C A0 80 3E */ lis r5, lbl_803D8D90@ha +/* 802BF06C 002BBFCC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802BF070 002BBFD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BF074 002BBFD4 38 05 8D 90 */ addi r0, r5, lbl_803D8D90@l +/* 802BF078 002BBFD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BF07C 002BBFDC 7C 7F 1B 78 */ mr r31, r3 +/* 802BF080 002BBFE0 3C 60 80 3F */ lis r3, lbl_803EC538@ha +/* 802BF084 002BBFE4 90 1F 00 00 */ stw r0, 0(r31) +/* 802BF088 002BBFE8 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l +/* 802BF08C 002BBFEC 3C 60 80 3F */ lis r3, lbl_803EC5D8@ha +/* 802BF090 002BBFF0 90 1F 00 04 */ stw r0, 4(r31) +/* 802BF094 002BBFF4 38 A3 C5 D8 */ addi r5, r3, lbl_803EC5D8@l +/* 802BF098 002BBFF8 38 05 01 0C */ addi r0, r5, 0x10c +/* 802BF09C 002BBFFC 38 7F 00 10 */ addi r3, r31, 0x10 +/* 802BF0A0 002BC000 90 BF 00 00 */ stw r5, 0(r31) +/* 802BF0A4 002BC004 90 1F 00 04 */ stw r0, 4(r31) +/* 802BF0A8 002BC008 90 FF 00 08 */ stw r7, 8(r31) +/* 802BF0AC 002BC00C 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802BF0B0 002BC010 48 04 6F 4D */ bl __ct__5CFontFf +/* 802BF0B4 002BC014 38 C0 00 00 */ li r6, 0 +/* 802BF0B8 002BC018 C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BF0BC 002BC01C 90 DF 00 18 */ stw r6, 0x18(r31) +/* 802BF0C0 002BC020 38 1F 00 28 */ addi r0, r31, 0x28 +/* 802BF0C4 002BC024 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BF0C8 002BC028 FC 60 10 90 */ fmr f3, f2 +/* 802BF0CC 002BC02C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802BF0D0 002BC030 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802BF0D4 002BC034 C0 22 C3 50 */ lfs f1, lbl_805AE070@sda21(r2) +/* 802BF0D8 002BC038 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802BF0DC 002BC03C 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802BF0E0 002BC040 C0 82 C3 54 */ lfs f4, lbl_805AE074@sda21(r2) +/* 802BF0E4 002BC044 38 A0 00 00 */ li r5, 0 +/* 802BF0E8 002BC048 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802BF0EC 002BC04C 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802BF0F0 002BC050 90 DF 00 30 */ stw r6, 0x30(r31) +/* 802BF0F4 002BC054 90 DF 00 38 */ stw r6, 0x38(r31) +/* 802BF0F8 002BC058 90 DF 00 3C */ stw r6, 0x3c(r31) +/* 802BF0FC 002BC05C 90 DF 00 40 */ stw r6, 0x40(r31) +/* 802BF100 002BC060 48 08 61 55 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 802BF104 002BC064 38 00 00 00 */ li r0, 0 +/* 802BF108 002BC068 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BF10C 002BC06C 90 1F 00 A8 */ stw r0, 0xa8(r31) +/* 802BF110 002BC070 38 61 00 08 */ addi r3, r1, 8 +/* 802BF114 002BC074 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BF118 002BC078 D0 21 00 08 */ stfs f1, 8(r1) +/* 802BF11C 002BC07C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BF120 002BC080 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802BF124 002BC084 48 05 57 D5 */ bl Normalize__9CVector3fFv +/* 802BF128 002BC088 C0 21 00 08 */ lfs f1, 8(r1) +/* 802BF12C 002BC08C 39 00 00 00 */ li r8, 0 +/* 802BF130 002BC090 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BF134 002BC094 38 00 FF FF */ li r0, -1 +/* 802BF138 002BC098 D0 3F 00 B0 */ stfs f1, 0xb0(r31) +/* 802BF13C 002BC09C 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 802BF140 002BC0A0 38 80 00 07 */ li r4, 7 +/* 802BF144 002BC0A4 38 A0 00 04 */ li r5, 4 +/* 802BF148 002BC0A8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802BF14C 002BC0AC 38 C0 00 04 */ li r6, 4 +/* 802BF150 002BC0B0 38 E0 00 01 */ li r7, 1 +/* 802BF154 002BC0B4 D0 3F 00 B4 */ stfs f1, 0xb4(r31) +/* 802BF158 002BC0B8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802BF15C 002BC0BC D0 3F 00 B8 */ stfs f1, 0xb8(r31) +/* 802BF160 002BC0C0 D0 1F 00 BC */ stfs f0, 0xbc(r31) +/* 802BF164 002BC0C4 99 1F 00 C0 */ stb r8, 0xc0(r31) +/* 802BF168 002BC0C8 99 1F 00 DC */ stb r8, 0xdc(r31) +/* 802BF16C 002BC0CC 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 802BF170 002BC0D0 48 05 0C BD */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF174 002BC0D4 38 00 00 00 */ li r0, 0 +/* 802BF178 002BC0D8 38 7F 01 50 */ addi r3, r31, 0x150 +/* 802BF17C 002BC0DC 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 802BF180 002BC0E0 38 80 00 03 */ li r4, 3 +/* 802BF184 002BC0E4 38 A0 00 20 */ li r5, 0x20 +/* 802BF188 002BC0E8 38 C0 00 20 */ li r6, 0x20 +/* 802BF18C 002BC0EC 38 E0 00 01 */ li r7, 1 +/* 802BF190 002BC0F0 48 05 0C 9D */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF194 002BC0F4 38 7F 01 B8 */ addi r3, r31, 0x1b8 +/* 802BF198 002BC0F8 38 80 00 01 */ li r4, 1 +/* 802BF19C 002BC0FC 38 A0 01 00 */ li r5, 0x100 +/* 802BF1A0 002BC100 38 C0 01 00 */ li r6, 0x100 +/* 802BF1A4 002BC104 38 E0 00 01 */ li r7, 1 +/* 802BF1A8 002BC108 48 05 0C 85 */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF1AC 002BC10C 38 7F 02 20 */ addi r3, r31, 0x220 +/* 802BF1B0 002BC110 38 80 00 01 */ li r4, 1 +/* 802BF1B4 002BC114 38 A0 00 20 */ li r5, 0x20 +/* 802BF1B8 002BC118 38 C0 00 20 */ li r6, 0x20 +/* 802BF1BC 002BC11C 38 E0 00 01 */ li r7, 1 +/* 802BF1C0 002BC120 48 05 0C 6D */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF1C4 002BC124 38 7F 02 88 */ addi r3, r31, 0x288 +/* 802BF1C8 002BC128 38 80 00 01 */ li r4, 1 +/* 802BF1CC 002BC12C 38 A0 00 10 */ li r5, 0x10 +/* 802BF1D0 002BC130 48 04 EE A5 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati +/* 802BF1D4 002BC134 38 7F 02 A8 */ addi r3, r31, 0x2a8 +/* 802BF1D8 002BC138 38 80 00 14 */ li r4, 0x14 +/* 802BF1DC 002BC13C 48 05 34 11 */ bl __ct__9CRandom16FUi +/* 802BF1E0 002BC140 38 BF 02 B8 */ addi r5, r31, 0x2b8 +/* 802BF1E4 002BC144 38 80 00 00 */ li r4, 0 +/* 802BF1E8 002BC148 90 BF 02 B0 */ stw r5, 0x2b0(r31) +/* 802BF1EC 002BC14C 38 7F 02 D0 */ addi r3, r31, 0x2d0 +/* 802BF1F0 002BC150 38 00 00 02 */ li r0, 2 +/* 802BF1F4 002BC154 90 BF 02 B4 */ stw r5, 0x2b4(r31) +/* 802BF1F8 002BC158 90 BF 02 B8 */ stw r5, 0x2b8(r31) +/* 802BF1FC 002BC15C 90 BF 02 BC */ stw r5, 0x2bc(r31) +/* 802BF200 002BC160 90 9F 02 C0 */ stw r4, 0x2c0(r31) +/* 802BF204 002BC164 90 7F 02 C8 */ stw r3, 0x2c8(r31) +/* 802BF208 002BC168 90 7F 02 CC */ stw r3, 0x2cc(r31) +/* 802BF20C 002BC16C 90 7F 02 D0 */ stw r3, 0x2d0(r31) +/* 802BF210 002BC170 90 7F 02 D4 */ stw r3, 0x2d4(r31) +/* 802BF214 002BC174 90 9F 02 D8 */ stw r4, 0x2d8(r31) +/* 802BF218 002BC178 90 1F 02 DC */ stw r0, 0x2dc(r31) +/* 802BF21C 002BC17C 48 08 AD 91 */ bl White__6CColorFv +/* 802BF220 002BC180 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF224 002BC184 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 802BF228 002BC188 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l +/* 802BF22C 002BC18C C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BF230 002BC190 90 1F 02 E0 */ stw r0, 0x2e0(r31) +/* 802BF234 002BC194 38 00 00 FF */ li r0, 0xff +/* 802BF238 002BC198 38 C0 00 00 */ li r6, 0 +/* 802BF23C 002BC19C 38 A0 00 01 */ li r5, 1 +/* 802BF240 002BC1A0 C0 27 00 00 */ lfs f1, 0(r7) +/* 802BF244 002BC1A4 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 802BF248 002BC1A8 38 80 00 00 */ li r4, 0 +/* 802BF24C 002BC1AC D0 3F 02 E4 */ stfs f1, 0x2e4(r31) +/* 802BF250 002BC1B0 C0 27 00 04 */ lfs f1, 4(r7) +/* 802BF254 002BC1B4 D0 3F 02 E8 */ stfs f1, 0x2e8(r31) +/* 802BF258 002BC1B8 C0 27 00 08 */ lfs f1, 8(r7) +/* 802BF25C 002BC1BC D0 3F 02 EC */ stfs f1, 0x2ec(r31) +/* 802BF260 002BC1C0 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 802BF264 002BC1C4 98 1F 02 F4 */ stb r0, 0x2f4(r31) +/* 802BF268 002BC1C8 98 DF 02 F5 */ stb r6, 0x2f5(r31) +/* 802BF26C 002BC1CC 98 1F 02 F6 */ stb r0, 0x2f6(r31) +/* 802BF270 002BC1D0 98 1F 02 F7 */ stb r0, 0x2f7(r31) +/* 802BF274 002BC1D4 98 DF 02 F8 */ stb r6, 0x2f8(r31) +/* 802BF278 002BC1D8 98 1F 02 FC */ stb r0, 0x2fc(r31) +/* 802BF27C 002BC1DC 98 DF 02 FD */ stb r6, 0x2fd(r31) +/* 802BF280 002BC1E0 98 1F 02 FE */ stb r0, 0x2fe(r31) +/* 802BF284 002BC1E4 98 1F 02 FF */ stb r0, 0x2ff(r31) +/* 802BF288 002BC1E8 90 DF 03 04 */ stw r6, 0x304(r31) +/* 802BF28C 002BC1EC 90 DF 03 08 */ stw r6, 0x308(r31) +/* 802BF290 002BC1F0 90 DF 03 0C */ stw r6, 0x30c(r31) +/* 802BF294 002BC1F4 90 DF 03 10 */ stw r6, 0x310(r31) +/* 802BF298 002BC1F8 90 DF 03 14 */ stw r6, 0x314(r31) +/* 802BF29C 002BC1FC 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2A0 002BC200 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802BF2A4 002BC204 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2A8 002BC208 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2AC 002BC20C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 802BF2B0 002BC210 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2B4 002BC214 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2B8 002BC218 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 802BF2BC 002BC21C 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2C0 002BC220 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2C4 002BC224 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802BF2C8 002BC228 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2CC 002BC22C 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2D0 002BC230 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 802BF2D4 002BC234 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2D8 002BC238 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2DC 002BC23C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 802BF2E0 002BC240 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2E4 002BC244 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2E8 002BC248 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 802BF2EC 002BC24C 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2F0 002BC250 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2F4 002BC254 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 802BF2F8 002BC258 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2FC 002BC25C 88 1F 00 EE */ lbz r0, 0xee(r31) +/* 802BF300 002BC260 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802BF304 002BC264 98 1F 00 EE */ stb r0, 0xee(r31) +/* 802BF308 002BC268 48 04 F2 CD */ bl GetBitMapData__8CTextureFi +/* 802BF30C 002BC26C 38 80 00 00 */ li r4, 0 +/* 802BF310 002BC270 38 A0 00 20 */ li r5, 0x20 +/* 802BF314 002BC274 4B D4 40 95 */ bl memset +/* 802BF318 002BC278 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 802BF31C 002BC27C 48 04 F6 01 */ bl UnLock__8CTextureFv +/* 802BF320 002BC280 7F E3 FB 78 */ mr r3, r31 +/* 802BF324 002BC284 4B FF FB 2D */ bl sub_802bee50 +/* 802BF328 002BC288 7F E3 FB 78 */ mr r3, r31 +/* 802BF32C 002BC28C 4B FF F9 29 */ bl sub_802bec54 +/* 802BF330 002BC290 7F E3 FB 78 */ mr r3, r31 +/* 802BF334 002BC294 4B FF F7 A5 */ bl sub_802bead8 +/* 802BF338 002BC298 7F E3 FB 78 */ mr r3, r31 +/* 802BF33C 002BC29C 4B FF F5 CD */ bl sub_802be908 +/* 802BF340 002BC2A0 93 ED A5 F0 */ stw r31, lbl_805A91B0@sda21(r13) +/* 802BF344 002BC2A4 48 00 0B 31 */ bl Init__7BucketsFv +/* 802BF348 002BC2A8 48 09 33 F9 */ bl sub_80352740 +/* 802BF34C 002BC2AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BF350 002BC2B0 7F E3 FB 78 */ mr r3, r31 +/* 802BF354 002BC2B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BF358 002BC2B8 7C 08 03 A6 */ mtlr r0 +/* 802BF35C 002BC2BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BF360 002BC2C0 4E 80 00 20 */ blr + +.global __ct__Q213CCubeRenderer13CAreaListItem +__ct__Q213CCubeRenderer13CAreaListItem: +/* 802BF364 002BC2C4 90 83 00 00 */ stw r4, 0(r3) +/* 802BF368 002BC2C8 39 20 00 00 */ li r9, 0 +/* 802BF36C 002BC2CC 90 A3 00 04 */ stw r5, 4(r3) +/* 802BF370 002BC2D0 88 06 00 00 */ lbz r0, 0(r6) +/* 802BF374 002BC2D4 98 03 00 08 */ stb r0, 8(r3) +/* 802BF378 002BC2D8 80 06 00 04 */ lwz r0, 4(r6) +/* 802BF37C 002BC2DC 90 03 00 0C */ stw r0, 0xc(r3) +/* 802BF380 002BC2E0 99 26 00 00 */ stb r9, 0(r6) +/* 802BF384 002BC2E4 88 07 00 00 */ lbz r0, 0(r7) +/* 802BF388 002BC2E8 98 03 00 10 */ stb r0, 0x10(r3) +/* 802BF38C 002BC2EC 80 07 00 04 */ lwz r0, 4(r7) +/* 802BF390 002BC2F0 90 03 00 14 */ stw r0, 0x14(r3) +/* 802BF394 002BC2F4 99 27 00 00 */ stb r9, 0(r7) +/* 802BF398 002BC2F8 91 03 00 18 */ stw r8, 0x18(r3) +/* 802BF39C 002BC2FC 91 23 00 20 */ stw r9, 0x20(r3) +/* 802BF3A0 002BC300 91 23 00 24 */ stw r9, 0x24(r3) +/* 802BF3A4 002BC304 91 23 00 28 */ stw r9, 0x28(r3) +/* 802BF3A8 002BC308 4E 80 00 20 */ blr + +.global Clear__7BucketsFv +Clear__7BucketsFv: +/* 802BF3AC 002BC30C 80 CD A6 0C */ lwz r6, lbl_805A91CC@sda21(r13) +/* 802BF3B0 002BC310 38 60 00 00 */ li r3, 0 +/* 802BF3B4 002BC314 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF3B8 002BC318 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF3BC 002BC31C 40 81 00 40 */ ble lbl_802BF3FC +/* 802BF3C0 002BC320 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF3C4 002BC324 38 85 FF F8 */ addi r4, r5, -8 +/* 802BF3C8 002BC328 40 81 00 20 */ ble lbl_802BF3E8 +/* 802BF3CC 002BC32C 38 04 00 07 */ addi r0, r4, 7 +/* 802BF3D0 002BC330 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF3D4 002BC334 7C 09 03 A6 */ mtctr r0 +/* 802BF3D8 002BC338 2C 04 00 00 */ cmpwi r4, 0 +/* 802BF3DC 002BC33C 40 81 00 0C */ ble lbl_802BF3E8 +lbl_802BF3E0: +/* 802BF3E0 002BC340 38 63 00 08 */ addi r3, r3, 8 +/* 802BF3E4 002BC344 42 00 FF FC */ bdnz lbl_802BF3E0 +lbl_802BF3E8: +/* 802BF3E8 002BC348 7C 03 28 50 */ subf r0, r3, r5 +/* 802BF3EC 002BC34C 7C 09 03 A6 */ mtctr r0 +/* 802BF3F0 002BC350 7C 03 28 00 */ cmpw r3, r5 +/* 802BF3F4 002BC354 40 80 00 08 */ bge lbl_802BF3FC +lbl_802BF3F8: +/* 802BF3F8 002BC358 42 00 00 00 */ bdnz lbl_802BF3F8 +lbl_802BF3FC: +/* 802BF3FC 002BC35C 38 80 00 00 */ li r4, 0 +/* 802BF400 002BC360 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802BF404 002BC364 90 86 00 00 */ stw r4, 0(r6) +/* 802BF408 002BC368 80 A3 E2 0C */ lwz r5, lbl_8046E20C@l(r3) +/* 802BF40C 002BC36C 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF410 002BC370 40 81 00 40 */ ble lbl_802BF450 +/* 802BF414 002BC374 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF418 002BC378 38 65 FF F8 */ addi r3, r5, -8 +/* 802BF41C 002BC37C 40 81 00 20 */ ble lbl_802BF43C +/* 802BF420 002BC380 38 03 00 07 */ addi r0, r3, 7 +/* 802BF424 002BC384 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF428 002BC388 7C 09 03 A6 */ mtctr r0 +/* 802BF42C 002BC38C 2C 03 00 00 */ cmpwi r3, 0 +/* 802BF430 002BC390 40 81 00 0C */ ble lbl_802BF43C +lbl_802BF434: +/* 802BF434 002BC394 38 84 00 08 */ addi r4, r4, 8 +/* 802BF438 002BC398 42 00 FF FC */ bdnz lbl_802BF434 +lbl_802BF43C: +/* 802BF43C 002BC39C 7C 04 28 50 */ subf r0, r4, r5 +/* 802BF440 002BC3A0 7C 09 03 A6 */ mtctr r0 +/* 802BF444 002BC3A4 7C 04 28 00 */ cmpw r4, r5 +/* 802BF448 002BC3A8 40 80 00 08 */ bge lbl_802BF450 +lbl_802BF44C: +/* 802BF44C 002BC3AC 42 00 00 00 */ bdnz lbl_802BF44C +lbl_802BF450: +/* 802BF450 002BC3B0 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802BF454 002BC3B4 38 80 00 00 */ li r4, 0 +/* 802BF458 002BC3B8 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) +/* 802BF45C 002BC3BC 90 83 E2 0C */ stw r4, lbl_8046E20C@l(r3) +/* 802BF460 002BC3C0 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF464 002BC3C4 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF468 002BC3C8 40 81 00 40 */ ble lbl_802BF4A8 +/* 802BF46C 002BC3CC 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF470 002BC3D0 38 65 FF F8 */ addi r3, r5, -8 +/* 802BF474 002BC3D4 40 81 00 20 */ ble lbl_802BF494 +/* 802BF478 002BC3D8 38 03 00 07 */ addi r0, r3, 7 +/* 802BF47C 002BC3DC 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF480 002BC3E0 7C 09 03 A6 */ mtctr r0 +/* 802BF484 002BC3E4 2C 03 00 00 */ cmpwi r3, 0 +/* 802BF488 002BC3E8 40 81 00 0C */ ble lbl_802BF494 +lbl_802BF48C: +/* 802BF48C 002BC3EC 38 84 00 08 */ addi r4, r4, 8 +/* 802BF490 002BC3F0 42 00 FF FC */ bdnz lbl_802BF48C +lbl_802BF494: +/* 802BF494 002BC3F4 7C 04 28 50 */ subf r0, r4, r5 +/* 802BF498 002BC3F8 7C 09 03 A6 */ mtctr r0 +/* 802BF49C 002BC3FC 7C 04 28 00 */ cmpw r4, r5 +/* 802BF4A0 002BC400 40 80 00 08 */ bge lbl_802BF4A8 +lbl_802BF4A4: +/* 802BF4A4 002BC404 42 00 00 00 */ bdnz lbl_802BF4A4 +lbl_802BF4A8: +/* 802BF4A8 002BC408 38 60 00 00 */ li r3, 0 +/* 802BF4AC 002BC40C 90 66 00 00 */ stw r3, 0(r6) +/* 802BF4B0 002BC410 80 CD A6 20 */ lwz r6, lbl_805A91E0@sda21(r13) +/* 802BF4B4 002BC414 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF4B8 002BC418 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF4BC 002BC41C 40 81 00 40 */ ble lbl_802BF4FC +/* 802BF4C0 002BC420 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF4C4 002BC424 38 85 FF F8 */ addi r4, r5, -8 +/* 802BF4C8 002BC428 40 81 00 20 */ ble lbl_802BF4E8 +/* 802BF4CC 002BC42C 38 04 00 07 */ addi r0, r4, 7 +/* 802BF4D0 002BC430 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF4D4 002BC434 7C 09 03 A6 */ mtctr r0 +/* 802BF4D8 002BC438 2C 04 00 00 */ cmpwi r4, 0 +/* 802BF4DC 002BC43C 40 81 00 0C */ ble lbl_802BF4E8 +lbl_802BF4E0: +/* 802BF4E0 002BC440 38 63 00 08 */ addi r3, r3, 8 +/* 802BF4E4 002BC444 42 00 FF FC */ bdnz lbl_802BF4E0 +lbl_802BF4E8: +/* 802BF4E8 002BC448 7C 03 28 50 */ subf r0, r3, r5 +/* 802BF4EC 002BC44C 7C 09 03 A6 */ mtctr r0 +/* 802BF4F0 002BC450 7C 03 28 00 */ cmpw r3, r5 +/* 802BF4F4 002BC454 40 80 00 08 */ bge lbl_802BF4FC +lbl_802BF4F8: +/* 802BF4F8 002BC458 42 00 00 00 */ bdnz lbl_802BF4F8 +lbl_802BF4FC: +/* 802BF4FC 002BC45C 38 00 00 00 */ li r0, 0 +/* 802BF500 002BC460 90 06 00 00 */ stw r0, 0(r6) +/* 802BF504 002BC464 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BF508 002BC468 38 C3 00 04 */ addi r6, r3, 4 +/* 802BF50C 002BC46C 48 00 00 60 */ b lbl_802BF56C +lbl_802BF510: +/* 802BF510 002BC470 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF514 002BC474 38 60 00 00 */ li r3, 0 +/* 802BF518 002BC478 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF51C 002BC47C 40 81 00 44 */ ble lbl_802BF560 +/* 802BF520 002BC480 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF524 002BC484 38 85 FF F8 */ addi r4, r5, -8 +/* 802BF528 002BC488 40 81 00 20 */ ble lbl_802BF548 +/* 802BF52C 002BC48C 38 04 00 07 */ addi r0, r4, 7 +/* 802BF530 002BC490 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF534 002BC494 7C 09 03 A6 */ mtctr r0 +/* 802BF538 002BC498 2C 04 00 00 */ cmpwi r4, 0 +/* 802BF53C 002BC49C 40 81 00 0C */ ble lbl_802BF548 +lbl_802BF540: +/* 802BF540 002BC4A0 38 63 00 08 */ addi r3, r3, 8 +/* 802BF544 002BC4A4 42 00 FF FC */ bdnz lbl_802BF540 +lbl_802BF548: +/* 802BF548 002BC4A8 7C 03 28 50 */ subf r0, r3, r5 +/* 802BF54C 002BC4AC 7C 09 03 A6 */ mtctr r0 +/* 802BF550 002BC4B0 7C 03 28 00 */ cmpw r3, r5 +/* 802BF554 002BC4B4 40 80 00 0C */ bge lbl_802BF560 +lbl_802BF558: +/* 802BF558 002BC4B8 38 63 00 01 */ addi r3, r3, 1 +/* 802BF55C 002BC4BC 42 00 FF FC */ bdnz lbl_802BF558 +lbl_802BF560: +/* 802BF560 002BC4C0 38 00 00 00 */ li r0, 0 +/* 802BF564 002BC4C4 90 06 00 00 */ stw r0, 0(r6) +/* 802BF568 002BC4C8 38 C6 02 04 */ addi r6, r6, 0x204 +lbl_802BF56C: +/* 802BF56C 002BC4CC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BF570 002BC4D0 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF574 002BC4D4 1C 00 02 04 */ mulli r0, r0, 0x204 +/* 802BF578 002BC4D8 7C 63 02 14 */ add r3, r3, r0 +/* 802BF57C 002BC4DC 38 63 00 04 */ addi r3, r3, 4 +/* 802BF580 002BC4E0 7C 06 18 40 */ cmplw r6, r3 +/* 802BF584 002BC4E4 40 82 FF 8C */ bne lbl_802BF510 +/* 802BF588 002BC4E8 38 6D A6 04 */ addi r3, r13, lbl_805A91C4@sda21 +/* 802BF58C 002BC4EC C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) +/* 802BF590 002BC4F0 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BF594 002BC4F4 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BF598 002BC4F8 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) +/* 802BF59C 002BC4FC D0 03 00 04 */ stfs f0, 4(r3) +/* 802BF5A0 002BC500 4E 80 00 20 */ blr + +.global Sort__7BucketsFv +Sort__7BucketsFv: +/* 802BF5A4 002BC504 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BF5A8 002BC508 7C 08 02 A6 */ mflr r0 +/* 802BF5AC 002BC50C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BF5B0 002BC510 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802BF5B4 002BC514 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802BF5B8 002BC518 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802BF5BC 002BC51C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802BF5C0 002BC520 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802BF5C4 002BC524 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802BF5C8 002BC528 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 802BF5CC 002BC52C 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BF5D0 002BC530 C0 4D A6 14 */ lfs f2, lbl_805A91D4@sda21(r13) +/* 802BF5D4 002BC534 C0 23 00 04 */ lfs f1, 4(r3) +/* 802BF5D8 002BC538 C0 0D 9A A0 */ lfs f0, lbl_805A8660@sda21(r13) +/* 802BF5DC 002BC53C FF E0 10 50 */ fneg f31, f2 +/* 802BF5E0 002BC540 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BF5E4 002BC544 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BF5E8 002BC548 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802BF5EC 002BC54C 40 80 00 0C */ bge lbl_802BF5F8 +/* 802BF5F0 002BC550 38 6D 9A A0 */ addi r3, r13, lbl_805A8660@sda21 +/* 802BF5F4 002BC554 48 00 00 08 */ b lbl_802BF5FC +lbl_802BF5F8: +/* 802BF5F8 002BC558 38 61 00 1C */ addi r3, r1, 0x1c +lbl_802BF5FC: +/* 802BF5FC 002BC55C C3 A3 00 00 */ lfs f29, 0(r3) +/* 802BF600 002BC560 38 C0 00 00 */ li r6, 0 +/* 802BF604 002BC564 C0 02 C3 58 */ lfs f0, lbl_805AE078@sda21(r2) +/* 802BF608 002BC568 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802BF60C 002BC56C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802BF610 002BC570 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802BF614 002BC574 38 E3 00 04 */ addi r7, r3, 4 +/* 802BF618 002BC578 EF C1 00 24 */ fdivs f30, f1, f0 +/* 802BF61C 002BC57C 48 00 00 40 */ b lbl_802BF65C +lbl_802BF620: +/* 802BF620 002BC580 80 AD A6 20 */ lwz r5, lbl_805A91E0@sda21(r13) +/* 802BF624 002BC584 80 05 00 00 */ lwz r0, 0(r5) +/* 802BF628 002BC588 2C 00 00 08 */ cmpwi r0, 8 +/* 802BF62C 002BC58C 40 80 00 28 */ bge lbl_802BF654 +/* 802BF630 002BC590 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF634 002BC594 54 C3 04 3E */ clrlwi r3, r6, 0x10 +/* 802BF638 002BC598 7C 85 02 14 */ add r4, r5, r0 +/* 802BF63C 002BC59C 34 84 00 04 */ addic. r4, r4, 4 +/* 802BF640 002BC5A0 41 82 00 08 */ beq lbl_802BF648 +/* 802BF644 002BC5A4 B0 64 00 00 */ sth r3, 0(r4) +lbl_802BF648: +/* 802BF648 002BC5A8 80 65 00 00 */ lwz r3, 0(r5) +/* 802BF64C 002BC5AC 38 03 00 01 */ addi r0, r3, 1 +/* 802BF650 002BC5B0 90 05 00 00 */ stw r0, 0(r5) +lbl_802BF654: +/* 802BF654 002BC5B4 38 E7 00 40 */ addi r7, r7, 0x40 +/* 802BF658 002BC5B8 38 C6 00 01 */ addi r6, r6, 1 +lbl_802BF65C: +/* 802BF65C 002BC5BC 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802BF660 002BC5C0 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF664 002BC5C4 54 00 30 32 */ slwi r0, r0, 6 +/* 802BF668 002BC5C8 7C 63 02 14 */ add r3, r3, r0 +/* 802BF66C 002BC5CC 38 63 00 04 */ addi r3, r3, 4 +/* 802BF670 002BC5D0 7C 07 18 40 */ cmplw r7, r3 +/* 802BF674 002BC5D4 40 82 FF AC */ bne lbl_802BF620 +/* 802BF678 002BC5D8 83 CD A6 20 */ lwz r30, lbl_805A91E0@sda21(r13) +/* 802BF67C 002BC5DC 3B E0 00 32 */ li r31, 0x32 +/* 802BF680 002BC5E0 80 1E 00 00 */ lwz r0, 0(r30) +/* 802BF684 002BC5E4 2C 00 00 00 */ cmpwi r0, 0 +/* 802BF688 002BC5E8 41 82 00 B0 */ beq lbl_802BF738 +/* 802BF68C 002BC5EC 88 0D A6 24 */ lbz r0, lbl_805A91E4@sda21(r13) +/* 802BF690 002BC5F0 38 7E 00 04 */ addi r3, r30, 4 +/* 802BF694 002BC5F4 38 A1 00 0C */ addi r5, r1, 0xc +/* 802BF698 002BC5F8 98 01 00 0C */ stb r0, 0xc(r1) +/* 802BF69C 002BC5FC 80 1E 00 00 */ lwz r0, 0(r30) +/* 802BF6A0 002BC600 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF6A4 002BC604 7C 9E 02 14 */ add r4, r30, r0 +/* 802BF6A8 002BC608 38 84 00 04 */ addi r4, r4, 4 +/* 802BF6AC 002BC60C 48 00 09 B9 */ bl sub_802c0064 +/* 802BF6B0 002BC610 80 7E 00 00 */ lwz r3, 0(r30) +/* 802BF6B4 002BC614 3C 00 43 30 */ lis r0, 0x4330 +/* 802BF6B8 002BC618 38 80 00 32 */ li r4, 0x32 +/* 802BF6BC 002BC61C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802BF6C0 002BC620 38 03 00 01 */ addi r0, r3, 1 +/* 802BF6C4 002BC624 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BF6C8 002BC628 7F E4 03 D6 */ divw r31, r4, r0 +/* 802BF6CC 002BC62C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BF6D0 002BC630 38 DE 00 04 */ addi r6, r30, 4 +/* 802BF6D4 002BC634 38 A0 00 00 */ li r5, 0 +/* 802BF6D8 002BC638 38 1F FF FE */ addi r0, r31, -2 +/* 802BF6DC 002BC63C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BF6E0 002BC640 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802BF6E4 002BC644 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802BF6E8 002BC648 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BF6EC 002BC64C EC 02 00 24 */ fdivs f0, f2, f0 +/* 802BF6F0 002BC650 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 802BF6F4 002BC654 EF C2 00 24 */ fdivs f30, f2, f0 +/* 802BF6F8 002BC658 48 00 00 28 */ b lbl_802BF720 +lbl_802BF6FC: +/* 802BF6FC 002BC65C 38 65 00 01 */ addi r3, r5, 1 +/* 802BF700 002BC660 A0 06 00 00 */ lhz r0, 0(r6) +/* 802BF704 002BC664 7C 9F 19 D6 */ mullw r4, r31, r3 +/* 802BF708 002BC668 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802BF70C 002BC66C 54 00 30 32 */ slwi r0, r0, 6 +/* 802BF710 002BC670 38 C6 00 02 */ addi r6, r6, 2 +/* 802BF714 002BC674 7C 63 02 14 */ add r3, r3, r0 +/* 802BF718 002BC678 38 A5 00 01 */ addi r5, r5, 1 +/* 802BF71C 002BC67C B0 83 00 28 */ sth r4, 0x28(r3) +lbl_802BF720: +/* 802BF720 002BC680 80 1E 00 00 */ lwz r0, 0(r30) +/* 802BF724 002BC684 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF728 002BC688 7C 7E 02 14 */ add r3, r30, r0 +/* 802BF72C 002BC68C 38 03 00 04 */ addi r0, r3, 4 +/* 802BF730 002BC690 7C 06 00 40 */ cmplw r6, r0 +/* 802BF734 002BC694 40 82 FF C8 */ bne lbl_802BF6FC +lbl_802BF738: +/* 802BF738 002BC698 80 6D A6 0C */ lwz r3, lbl_805A91CC@sda21(r13) +/* 802BF73C 002BC69C 83 AD A6 20 */ lwz r29, lbl_805A91E0@sda21(r13) +/* 802BF740 002BC6A0 83 8D A6 1C */ lwz r28, lbl_805A91DC@sda21(r13) +/* 802BF744 002BC6A4 3B C3 00 04 */ addi r30, r3, 4 +/* 802BF748 002BC6A8 48 00 02 8C */ b lbl_802BF9D4 +lbl_802BF74C: +/* 802BF74C 002BC6AC C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802BF750 002BC6B0 80 1D 00 00 */ lwz r0, 0(r29) +/* 802BF754 002BC6B4 EC 1F 00 2A */ fadds f0, f31, f0 +/* 802BF758 002BC6B8 2C 00 00 00 */ cmpwi r0, 0 +/* 802BF75C 002BC6BC 40 82 00 48 */ bne lbl_802BF7A4 +/* 802BF760 002BC6C0 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 802BF764 002BC6C4 80 0D 9A A4 */ lwz r0, lbl_805A8664@sda21(r13) +/* 802BF768 002BC6C8 38 8D 9A A4 */ addi r4, r13, lbl_805A8664@sda21 +/* 802BF76C 002BC6CC FC 00 00 1E */ fctiwz f0, f0 +/* 802BF770 002BC6D0 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 802BF774 002BC6D4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802BF778 002BC6D8 7C 03 00 00 */ cmpw r3, r0 +/* 802BF77C 002BC6DC 90 61 00 18 */ stw r3, 0x18(r1) +/* 802BF780 002BC6E0 40 80 00 08 */ bge lbl_802BF788 +/* 802BF784 002BC6E4 38 81 00 18 */ addi r4, r1, 0x18 +lbl_802BF788: +/* 802BF788 002BC6E8 80 64 00 00 */ lwz r3, 0(r4) +/* 802BF78C 002BC6EC 80 0D 9A A8 */ lwz r0, lbl_805A8668@sda21(r13) +/* 802BF790 002BC6F0 7C 03 00 00 */ cmpw r3, r0 +/* 802BF794 002BC6F4 40 80 00 08 */ bge lbl_802BF79C +/* 802BF798 002BC6F8 38 8D 9A A8 */ addi r4, r13, lbl_805A8668@sda21 +lbl_802BF79C: +/* 802BF79C 002BC6FC 83 64 00 00 */ lwz r27, 0(r4) +/* 802BF7A0 002BC700 48 00 01 EC */ b lbl_802BF98C +lbl_802BF7A4: +/* 802BF7A4 002BC704 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 802BF7A8 002BC708 38 1F FF FE */ addi r0, r31, -2 +/* 802BF7AC 002BC70C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BF7B0 002BC710 38 81 00 14 */ addi r4, r1, 0x14 +/* 802BF7B4 002BC714 FC 00 00 1E */ fctiwz f0, f0 +/* 802BF7B8 002BC718 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 802BF7BC 002BC71C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802BF7C0 002BC720 7C 03 00 00 */ cmpw r3, r0 +/* 802BF7C4 002BC724 90 61 00 10 */ stw r3, 0x10(r1) +/* 802BF7C8 002BC728 40 80 00 08 */ bge lbl_802BF7D0 +/* 802BF7CC 002BC72C 38 81 00 10 */ addi r4, r1, 0x10 +lbl_802BF7D0: +/* 802BF7D0 002BC730 80 64 00 00 */ lwz r3, 0(r4) +/* 802BF7D4 002BC734 80 0D 9A AC */ lwz r0, lbl_805A866C@sda21(r13) +/* 802BF7D8 002BC738 7C 03 00 00 */ cmpw r3, r0 +/* 802BF7DC 002BC73C 40 80 00 08 */ bge lbl_802BF7E4 +/* 802BF7E0 002BC740 38 8D 9A AC */ addi r4, r13, lbl_805A866C@sda21 +lbl_802BF7E4: +/* 802BF7E4 002BC744 83 64 00 00 */ lwz r27, 0(r4) +/* 802BF7E8 002BC748 3B 5D 00 04 */ addi r26, r29, 4 +/* 802BF7EC 002BC74C 48 00 01 88 */ b lbl_802BF974 +lbl_802BF7F0: +/* 802BF7F0 002BC750 A0 1A 00 00 */ lhz r0, 0(r26) +/* 802BF7F4 002BC754 54 00 30 32 */ slwi r0, r0, 6 +/* 802BF7F8 002BC758 7F 3C 02 14 */ add r25, r28, r0 +/* 802BF7FC 002BC75C 88 19 00 40 */ lbz r0, 0x40(r25) +/* 802BF800 002BC760 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802BF804 002BC764 41 82 00 40 */ beq lbl_802BF844 +/* 802BF808 002BC768 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 802BF80C 002BC76C C0 39 00 3C */ lfs f1, 0x3c(r25) +/* 802BF810 002BC770 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BF814 002BC774 40 81 00 0C */ ble lbl_802BF820 +/* 802BF818 002BC778 38 00 00 01 */ li r0, 1 +/* 802BF81C 002BC77C 48 00 00 08 */ b lbl_802BF824 +lbl_802BF820: +/* 802BF820 002BC780 38 00 00 00 */ li r0, 0 +lbl_802BF824: +/* 802BF824 002BC784 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802BF828 002BC788 7C 18 03 78 */ mr r24, r0 +/* 802BF82C 002BC78C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BF830 002BC790 40 81 00 0C */ ble lbl_802BF83C +/* 802BF834 002BC794 38 80 00 01 */ li r4, 1 +/* 802BF838 002BC798 48 00 00 B4 */ b lbl_802BF8EC +lbl_802BF83C: +/* 802BF83C 002BC79C 38 80 00 00 */ li r4, 0 +/* 802BF840 002BC7A0 48 00 00 AC */ b lbl_802BF8EC +lbl_802BF844: +/* 802BF844 002BC7A4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802BF848 002BC7A8 38 9E 00 08 */ addi r4, r30, 8 +/* 802BF84C 002BC7AC 38 B9 00 30 */ addi r5, r25, 0x30 +/* 802BF850 002BC7B0 48 07 79 8D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BF854 002BC7B4 C0 39 00 34 */ lfs f1, 0x34(r25) +/* 802BF858 002BC7B8 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802BF85C 002BC7BC C0 59 00 30 */ lfs f2, 0x30(r25) +/* 802BF860 002BC7C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BF864 002BC7C4 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802BF868 002BC7C8 C0 99 00 38 */ lfs f4, 0x38(r25) +/* 802BF86C 002BC7CC C0 61 00 34 */ lfs f3, 0x34(r1) +/* 802BF870 002BC7D0 EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 802BF874 002BC7D4 C0 39 00 3C */ lfs f1, 0x3c(r25) +/* 802BF878 002BC7D8 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BF87C 002BC7DC EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802BF880 002BC7E0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802BF884 002BC7E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BF888 002BC7E8 40 81 00 0C */ ble lbl_802BF894 +/* 802BF88C 002BC7EC 3B 00 00 01 */ li r24, 1 +/* 802BF890 002BC7F0 48 00 00 08 */ b lbl_802BF898 +lbl_802BF894: +/* 802BF894 002BC7F4 3B 00 00 00 */ li r24, 0 +lbl_802BF898: +/* 802BF898 002BC7F8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BF89C 002BC7FC 38 9E 00 08 */ addi r4, r30, 8 +/* 802BF8A0 002BC800 38 B9 00 30 */ addi r5, r25, 0x30 +/* 802BF8A4 002BC804 48 07 79 79 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BF8A8 002BC808 C0 39 00 34 */ lfs f1, 0x34(r25) +/* 802BF8AC 002BC80C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802BF8B0 002BC810 C0 59 00 30 */ lfs f2, 0x30(r25) +/* 802BF8B4 002BC814 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BF8B8 002BC818 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BF8BC 002BC81C C0 99 00 38 */ lfs f4, 0x38(r25) +/* 802BF8C0 002BC820 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802BF8C4 002BC824 EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 802BF8C8 002BC828 C0 39 00 3C */ lfs f1, 0x3c(r25) +/* 802BF8CC 002BC82C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BF8D0 002BC830 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802BF8D4 002BC834 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802BF8D8 002BC838 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BF8DC 002BC83C 40 81 00 0C */ ble lbl_802BF8E8 +/* 802BF8E0 002BC840 38 80 00 01 */ li r4, 1 +/* 802BF8E4 002BC844 48 00 00 08 */ b lbl_802BF8EC +lbl_802BF8E8: +/* 802BF8E8 002BC848 38 80 00 00 */ li r4, 0 +lbl_802BF8EC: +/* 802BF8EC 002BC84C A0 1E 00 00 */ lhz r0, 0(r30) +/* 802BF8F0 002BC850 2C 00 00 01 */ cmpwi r0, 1 +/* 802BF8F4 002BC854 40 82 00 28 */ bne lbl_802BF91C +/* 802BF8F8 002BC858 88 19 00 40 */ lbz r0, 0x40(r25) +/* 802BF8FC 002BC85C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802BF900 002BC860 41 82 00 14 */ beq lbl_802BF914 +/* 802BF904 002BC864 57 00 06 3E */ clrlwi r0, r24, 0x18 +/* 802BF908 002BC868 7C 00 00 34 */ cntlzw r0, r0 +/* 802BF90C 002BC86C 54 00 D9 7E */ srwi r0, r0, 5 +/* 802BF910 002BC870 48 00 00 54 */ b lbl_802BF964 +lbl_802BF914: +/* 802BF914 002BC874 7C 80 23 78 */ mr r0, r4 +/* 802BF918 002BC878 48 00 00 4C */ b lbl_802BF964 +lbl_802BF91C: +/* 802BF91C 002BC87C 88 19 00 40 */ lbz r0, 0x40(r25) +/* 802BF920 002BC880 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802BF924 002BC884 41 82 00 24 */ beq lbl_802BF948 +/* 802BF928 002BC888 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 802BF92C 002BC88C 38 60 00 00 */ li r3, 0 +/* 802BF930 002BC890 41 82 00 0C */ beq lbl_802BF93C +/* 802BF934 002BC894 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802BF938 002BC898 40 82 00 08 */ bne lbl_802BF940 +lbl_802BF93C: +/* 802BF93C 002BC89C 38 60 00 01 */ li r3, 1 +lbl_802BF940: +/* 802BF940 002BC8A0 7C 60 1B 78 */ mr r0, r3 +/* 802BF944 002BC8A4 48 00 00 20 */ b lbl_802BF964 +lbl_802BF948: +/* 802BF948 002BC8A8 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 802BF94C 002BC8AC 38 60 00 00 */ li r3, 0 +/* 802BF950 002BC8B0 40 82 00 0C */ bne lbl_802BF95C +/* 802BF954 002BC8B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802BF958 002BC8B8 41 82 00 08 */ beq lbl_802BF960 +lbl_802BF95C: +/* 802BF95C 002BC8BC 38 60 00 01 */ li r3, 1 +lbl_802BF960: +/* 802BF960 002BC8C0 7C 60 1B 78 */ mr r0, r3 +lbl_802BF964: +/* 802BF964 002BC8C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802BF968 002BC8C8 41 82 00 24 */ beq lbl_802BF98C +/* 802BF96C 002BC8CC 7F 7B FA 14 */ add r27, r27, r31 +/* 802BF970 002BC8D0 3B 5A 00 02 */ addi r26, r26, 2 +lbl_802BF974: +/* 802BF974 002BC8D4 80 1D 00 00 */ lwz r0, 0(r29) +/* 802BF978 002BC8D8 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF97C 002BC8DC 7C 7D 02 14 */ add r3, r29, r0 +/* 802BF980 002BC8E0 38 03 00 04 */ addi r0, r3, 4 +/* 802BF984 002BC8E4 7C 1A 00 40 */ cmplw r26, r0 +/* 802BF988 002BC8E8 40 82 FE 68 */ bne lbl_802BF7F0 +lbl_802BF98C: +/* 802BF98C 002BC8EC 2C 1B FF FF */ cmpwi r27, -1 +/* 802BF990 002BC8F0 40 82 00 08 */ bne lbl_802BF998 +/* 802BF994 002BC8F4 3B 60 00 31 */ li r27, 0x31 +lbl_802BF998: +/* 802BF998 002BC8F8 1C 1B 02 04 */ mulli r0, r27, 0x204 +/* 802BF99C 002BC8FC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BF9A0 002BC900 7C 83 02 14 */ add r4, r3, r0 +/* 802BF9A4 002BC904 84 04 00 04 */ lwzu r0, 4(r4) +/* 802BF9A8 002BC908 2C 00 00 80 */ cmpwi r0, 0x80 +/* 802BF9AC 002BC90C 40 80 00 24 */ bge lbl_802BF9D0 +/* 802BF9B0 002BC910 54 00 10 3A */ slwi r0, r0, 2 +/* 802BF9B4 002BC914 7C 64 02 14 */ add r3, r4, r0 +/* 802BF9B8 002BC918 34 63 00 04 */ addic. r3, r3, 4 +/* 802BF9BC 002BC91C 41 82 00 08 */ beq lbl_802BF9C4 +/* 802BF9C0 002BC920 93 C3 00 00 */ stw r30, 0(r3) +lbl_802BF9C4: +/* 802BF9C4 002BC924 80 64 00 00 */ lwz r3, 0(r4) +/* 802BF9C8 002BC928 38 03 00 01 */ addi r0, r3, 1 +/* 802BF9CC 002BC92C 90 04 00 00 */ stw r0, 0(r4) +lbl_802BF9D0: +/* 802BF9D0 002BC930 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_802BF9D4: +/* 802BF9D4 002BC934 80 6D A6 0C */ lwz r3, lbl_805A91CC@sda21(r13) +/* 802BF9D8 002BC938 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF9DC 002BC93C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802BF9E0 002BC940 7C 63 02 14 */ add r3, r3, r0 +/* 802BF9E4 002BC944 38 63 00 04 */ addi r3, r3, 4 +/* 802BF9E8 002BC948 7C 1E 18 40 */ cmplw r30, r3 +/* 802BF9EC 002BC94C 40 82 FD 60 */ bne lbl_802BF74C +/* 802BF9F0 002BC950 80 8D A6 10 */ lwz r4, lbl_805A91D0@sda21(r13) +/* 802BF9F4 002BC954 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802BF9F8 002BC958 3B 63 E2 0C */ addi r27, r3, lbl_8046E20C@l +/* 802BF9FC 002BC95C 80 64 00 00 */ lwz r3, 0(r4) +/* 802BFA00 002BC960 3B DB 00 04 */ addi r30, r27, 4 +/* 802BFA04 002BC964 3B 43 FF FF */ addi r26, r3, -1 +/* 802BFA08 002BC968 1F FA 02 04 */ mulli r31, r26, 0x204 +/* 802BFA0C 002BC96C 48 00 00 6C */ b lbl_802BFA78 +lbl_802BFA10: +/* 802BFA10 002BC970 80 1B 00 00 */ lwz r0, 0(r27) +/* 802BFA14 002BC974 57 44 04 3E */ clrlwi r4, r26, 0x10 +/* 802BFA18 002BC978 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BFA1C 002BC97C 54 00 08 3C */ slwi r0, r0, 1 +/* 802BFA20 002BC980 7C BE 02 15 */ add. r5, r30, r0 +/* 802BFA24 002BC984 7C C3 FA 14 */ add r6, r3, r31 +/* 802BFA28 002BC988 38 C6 00 04 */ addi r6, r6, 4 +/* 802BFA2C 002BC98C 41 82 00 08 */ beq lbl_802BFA34 +/* 802BFA30 002BC990 B0 85 00 00 */ sth r4, 0(r5) +lbl_802BFA34: +/* 802BFA34 002BC994 80 7B 00 00 */ lwz r3, 0(r27) +/* 802BFA38 002BC998 38 03 00 01 */ addi r0, r3, 1 +/* 802BFA3C 002BC99C 90 1B 00 00 */ stw r0, 0(r27) +/* 802BFA40 002BC9A0 80 06 00 00 */ lwz r0, 0(r6) +/* 802BFA44 002BC9A4 2C 00 00 00 */ cmpwi r0, 0 +/* 802BFA48 002BC9A8 41 82 00 28 */ beq lbl_802BFA70 +/* 802BFA4C 002BC9AC 88 0D A6 28 */ lbz r0, lbl_805A91E8@sda21(r13) +/* 802BFA50 002BC9B0 38 66 00 04 */ addi r3, r6, 4 +/* 802BFA54 002BC9B4 38 A1 00 08 */ addi r5, r1, 8 +/* 802BFA58 002BC9B8 98 01 00 08 */ stb r0, 8(r1) +/* 802BFA5C 002BC9BC 80 06 00 00 */ lwz r0, 0(r6) +/* 802BFA60 002BC9C0 54 00 10 3A */ slwi r0, r0, 2 +/* 802BFA64 002BC9C4 7C 86 02 14 */ add r4, r6, r0 +/* 802BFA68 002BC9C8 38 84 00 04 */ addi r4, r4, 4 +/* 802BFA6C 002BC9CC 48 00 07 3D */ bl sub_802c01a8 +lbl_802BFA70: +/* 802BFA70 002BC9D0 3B FF FD FC */ addi r31, r31, -516 +/* 802BFA74 002BC9D4 3B 5A FF FF */ addi r26, r26, -1 +lbl_802BFA78: +/* 802BFA78 002BC9D8 2C 1A 00 00 */ cmpwi r26, 0 +/* 802BFA7C 002BC9DC 40 80 FF 94 */ bge lbl_802BFA10 +/* 802BFA80 002BC9E0 80 1D 00 00 */ lwz r0, 0(r29) +/* 802BFA84 002BC9E4 38 DD 00 02 */ addi r6, r29, 2 +/* 802BFA88 002BC9E8 54 00 08 3C */ slwi r0, r0, 1 +/* 802BFA8C 002BC9EC 7C 7D 02 14 */ add r3, r29, r0 +/* 802BFA90 002BC9F0 38 E3 00 02 */ addi r7, r3, 2 +/* 802BFA94 002BC9F4 48 00 00 54 */ b lbl_802BFAE8 +lbl_802BFA98: +/* 802BFA98 002BC9F8 A0 07 00 00 */ lhz r0, 0(r7) +/* 802BFA9C 002BC9FC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BFAA0 002BCA00 54 00 30 32 */ slwi r0, r0, 6 +/* 802BFAA4 002BCA04 7C 9C 02 14 */ add r4, r28, r0 +/* 802BFAA8 002BCA08 A0 04 00 28 */ lhz r0, 0x28(r4) +/* 802BFAAC 002BCA0C 38 84 00 04 */ addi r4, r4, 4 +/* 802BFAB0 002BCA10 1C 00 02 04 */ mulli r0, r0, 0x204 +/* 802BFAB4 002BCA14 7C A3 02 14 */ add r5, r3, r0 +/* 802BFAB8 002BCA18 84 05 00 04 */ lwzu r0, 4(r5) +/* 802BFABC 002BCA1C 2C 00 00 80 */ cmpwi r0, 0x80 +/* 802BFAC0 002BCA20 40 80 00 24 */ bge lbl_802BFAE4 +/* 802BFAC4 002BCA24 54 00 10 3A */ slwi r0, r0, 2 +/* 802BFAC8 002BCA28 7C 65 02 14 */ add r3, r5, r0 +/* 802BFACC 002BCA2C 34 63 00 04 */ addic. r3, r3, 4 +/* 802BFAD0 002BCA30 41 82 00 08 */ beq lbl_802BFAD8 +/* 802BFAD4 002BCA34 90 83 00 00 */ stw r4, 0(r3) +lbl_802BFAD8: +/* 802BFAD8 002BCA38 80 65 00 00 */ lwz r3, 0(r5) +/* 802BFADC 002BCA3C 38 03 00 01 */ addi r0, r3, 1 +/* 802BFAE0 002BCA40 90 05 00 00 */ stw r0, 0(r5) +lbl_802BFAE4: +/* 802BFAE4 002BCA44 38 E7 FF FE */ addi r7, r7, -2 +lbl_802BFAE8: +/* 802BFAE8 002BCA48 7C 07 30 40 */ cmplw r7, r6 +/* 802BFAEC 002BCA4C 40 82 FF AC */ bne lbl_802BFA98 +/* 802BFAF0 002BCA50 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802BFAF4 002BCA54 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802BFAF8 002BCA58 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802BFAFC 002BCA5C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802BFB00 002BCA60 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802BFB04 002BCA64 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802BFB08 002BCA68 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 802BFB0C 002BCA6C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BFB10 002BCA70 7C 08 03 A6 */ mtlr r0 +/* 802BFB14 002BCA74 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BFB18 002BCA78 4E 80 00 20 */ blr + +.global InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv +InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv: +/* 802BFB1C 002BCA7C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802BFB20 002BCA80 7C 08 02 A6 */ mflr r0 +/* 802BFB24 002BCA84 7C AC 2B 78 */ mr r12, r5 +/* 802BFB28 002BCA88 7C CB 33 78 */ mr r11, r6 +/* 802BFB2C 002BCA8C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802BFB30 002BCA90 7D 09 43 78 */ mr r9, r8 +/* 802BFB34 002BCA94 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802BFB38 002BCA98 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802BFB3C 002BCA9C 7C 9E 23 78 */ mr r30, r4 +/* 802BFB40 002BCAA0 81 4D A6 1C */ lwz r10, lbl_805A91DC@sda21(r13) +/* 802BFB44 002BCAA4 80 0A 00 00 */ lwz r0, 0(r10) +/* 802BFB48 002BCAA8 7D 5F 53 78 */ mr r31, r10 +/* 802BFB4C 002BCAAC 2C 00 00 08 */ cmpwi r0, 8 +/* 802BFB50 002BCAB0 41 82 00 2C */ beq lbl_802BFB7C +/* 802BFB54 002BCAB4 7C E4 3B 78 */ mr r4, r7 +/* 802BFB58 002BCAB8 7C 65 1B 78 */ mr r5, r3 +/* 802BFB5C 002BCABC 7F C6 F3 78 */ mr r6, r30 +/* 802BFB60 002BCAC0 7D 87 63 78 */ mr r7, r12 +/* 802BFB64 002BCAC4 7D 68 5B 78 */ mr r8, r11 +/* 802BFB68 002BCAC8 38 61 00 08 */ addi r3, r1, 8 +/* 802BFB6C 002BCACC 48 00 01 25 */ bl __ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv +/* 802BFB70 002BCAD0 7C 64 1B 78 */ mr r4, r3 +/* 802BFB74 002BCAD4 7F E3 FB 78 */ mr r3, r31 +/* 802BFB78 002BCAD8 48 00 00 1D */ bl "push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject" +lbl_802BFB7C: +/* 802BFB7C 002BCADC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BFB80 002BCAE0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802BFB84 002BCAE4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802BFB88 002BCAE8 7C 08 03 A6 */ mtlr r0 +/* 802BFB8C 002BCAEC 38 21 00 50 */ addi r1, r1, 0x50 +/* 802BFB90 002BCAF0 4E 80 00 20 */ blr + +.global "push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject" +"push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject": +/* 802BFB94 002BCAF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BFB98 002BCAF8 7C 08 02 A6 */ mflr r0 +/* 802BFB9C 002BCAFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BFBA0 002BCB00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BFBA4 002BCB04 7C 7F 1B 78 */ mr r31, r3 +/* 802BFBA8 002BCB08 80 03 00 00 */ lwz r0, 0(r3) +/* 802BFBAC 002BCB0C 54 00 30 32 */ slwi r0, r0, 6 +/* 802BFBB0 002BCB10 7C 7F 02 14 */ add r3, r31, r0 +/* 802BFBB4 002BCB14 38 63 00 04 */ addi r3, r3, 4 +/* 802BFBB8 002BCB18 48 00 00 25 */ bl "construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject" +/* 802BFBBC 002BCB1C 80 7F 00 00 */ lwz r3, 0(r31) +/* 802BFBC0 002BCB20 38 03 00 01 */ addi r0, r3, 1 +/* 802BFBC4 002BCB24 90 1F 00 00 */ stw r0, 0(r31) +/* 802BFBC8 002BCB28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BFBCC 002BCB2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BFBD0 002BCB30 7C 08 03 A6 */ mtlr r0 +/* 802BFBD4 002BCB34 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BFBD8 002BCB38 4E 80 00 20 */ blr + +.global "construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject" +"construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject": +/* 802BFBDC 002BCB3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BFBE0 002BCB40 7C 08 02 A6 */ mflr r0 +/* 802BFBE4 002BCB44 28 03 00 00 */ cmplwi r3, 0 +/* 802BFBE8 002BCB48 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BFBEC 002BCB4C 41 82 00 08 */ beq lbl_802BFBF4 +/* 802BFBF0 002BCB50 48 00 00 15 */ bl __ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject +lbl_802BFBF4: +/* 802BFBF4 002BCB54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BFBF8 002BCB58 7C 08 03 A6 */ mtlr r0 +/* 802BFBFC 002BCB5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BFC00 002BCB60 4E 80 00 20 */ blr + +.global __ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject +__ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject: +/* 802BFC04 002BCB64 A0 04 00 00 */ lhz r0, 0(r4) +/* 802BFC08 002BCB68 B0 03 00 00 */ sth r0, 0(r3) +/* 802BFC0C 002BCB6C A0 04 00 02 */ lhz r0, 2(r4) +/* 802BFC10 002BCB70 B0 03 00 02 */ sth r0, 2(r3) +/* 802BFC14 002BCB74 80 04 00 04 */ lwz r0, 4(r4) +/* 802BFC18 002BCB78 90 03 00 04 */ stw r0, 4(r3) +/* 802BFC1C 002BCB7C C0 04 00 08 */ lfs f0, 8(r4) +/* 802BFC20 002BCB80 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BFC24 002BCB84 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802BFC28 002BCB88 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802BFC2C 002BCB8C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802BFC30 002BCB90 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802BFC34 002BCB94 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802BFC38 002BCB98 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802BFC3C 002BCB9C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802BFC40 002BCBA0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802BFC44 002BCBA4 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802BFC48 002BCBA8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802BFC4C 002BCBAC C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802BFC50 002BCBB0 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802BFC54 002BCBB4 A0 04 00 24 */ lhz r0, 0x24(r4) +/* 802BFC58 002BCBB8 B0 03 00 24 */ sth r0, 0x24(r3) +/* 802BFC5C 002BCBBC C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802BFC60 002BCBC0 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802BFC64 002BCBC4 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802BFC68 002BCBC8 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802BFC6C 002BCBCC C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802BFC70 002BCBD0 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802BFC74 002BCBD4 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802BFC78 002BCBD8 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802BFC7C 002BCBDC C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802BFC80 002BCBE0 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802BFC84 002BCBE4 88 04 00 3C */ lbz r0, 0x3c(r4) +/* 802BFC88 002BCBE8 98 03 00 3C */ stb r0, 0x3c(r3) +/* 802BFC8C 002BCBEC 4E 80 00 20 */ blr + +.global __ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv +__ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv: +/* 802BFC90 002BCBF0 B0 83 00 00 */ sth r4, 0(r3) +/* 802BFC94 002BCBF4 38 00 00 00 */ li r0, 0 +/* 802BFC98 002BCBF8 B0 03 00 02 */ sth r0, 2(r3) +/* 802BFC9C 002BCBFC 91 23 00 04 */ stw r9, 4(r3) +/* 802BFCA0 002BCC00 C0 05 00 00 */ lfs f0, 0(r5) +/* 802BFCA4 002BCC04 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BFCA8 002BCC08 C0 05 00 04 */ lfs f0, 4(r5) +/* 802BFCAC 002BCC0C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802BFCB0 002BCC10 C0 05 00 08 */ lfs f0, 8(r5) +/* 802BFCB4 002BCC14 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802BFCB8 002BCC18 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802BFCBC 002BCC1C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802BFCC0 002BCC20 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802BFCC4 002BCC24 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802BFCC8 002BCC28 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802BFCCC 002BCC2C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802BFCD0 002BCC30 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802BFCD4 002BCC34 B0 03 00 24 */ sth r0, 0x24(r3) +/* 802BFCD8 002BCC38 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 802BFCDC 002BCC3C C0 07 00 00 */ lfs f0, 0(r7) +/* 802BFCE0 002BCC40 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802BFCE4 002BCC44 C0 07 00 04 */ lfs f0, 4(r7) +/* 802BFCE8 002BCC48 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802BFCEC 002BCC4C C0 07 00 08 */ lfs f0, 8(r7) +/* 802BFCF0 002BCC50 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802BFCF4 002BCC54 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 802BFCF8 002BCC58 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802BFCFC 002BCC5C 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 802BFD00 002BCC60 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802BFD04 002BCC64 98 03 00 3C */ stb r0, 0x3c(r3) +/* 802BFD08 002BCC68 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 802BFD0C 002BCC6C 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 802BFD10 002BCC70 98 03 00 3C */ stb r0, 0x3c(r3) +/* 802BFD14 002BCC74 4E 80 00 20 */ blr + +.global Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs: +/* 802BFD18 002BCC78 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BFD1C 002BCC7C 81 4D A6 0C */ lwz r10, lbl_805A91CC@sda21(r13) +/* 802BFD20 002BCC80 80 0A 00 00 */ lwz r0, 0(r10) +/* 802BFD24 002BCC84 2C 00 02 00 */ cmpwi r0, 0x200 +/* 802BFD28 002BCC88 41 82 01 2C */ beq lbl_802BFE54 +/* 802BFD2C 002BCC8C C0 03 00 04 */ lfs f0, 4(r3) +/* 802BFD30 002BCC90 39 2A 00 04 */ addi r9, r10, 4 +/* 802BFD34 002BCC94 C0 27 00 04 */ lfs f1, 4(r7) +/* 802BFD38 002BCC98 C0 C4 00 00 */ lfs f6, 0(r4) +/* 802BFD3C 002BCC9C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BFD40 002BCCA0 C0 23 00 00 */ lfs f1, 0(r3) +/* 802BFD44 002BCCA4 C0 47 00 00 */ lfs f2, 0(r7) +/* 802BFD48 002BCCA8 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802BFD4C 002BCCAC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802BFD50 002BCCB0 C0 23 00 08 */ lfs f1, 8(r3) +/* 802BFD54 002BCCB4 C0 47 00 08 */ lfs f2, 8(r7) +/* 802BFD58 002BCCB8 C0 84 00 08 */ lfs f4, 8(r4) +/* 802BFD5C 002BCCBC EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802BFD60 002BCCC0 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 802BFD64 002BCCC4 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802BFD68 002BCCC8 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802BFD6C 002BCCCC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802BFD70 002BCCD0 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802BFD74 002BCCD4 B0 A1 00 0C */ sth r5, 0xc(r1) +/* 802BFD78 002BCCD8 D0 01 00 08 */ stfs f0, 8(r1) +/* 802BFD7C 002BCCDC 80 0A 00 00 */ lwz r0, 0(r10) +/* 802BFD80 002BCCE0 B1 01 00 0E */ sth r8, 0xe(r1) +/* 802BFD84 002BCCE4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802BFD88 002BCCE8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802BFD8C 002BCCEC 7C 69 02 15 */ add. r3, r9, r0 +/* 802BFD90 002BCCF0 D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 802BFD94 002BCCF4 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802BFD98 002BCCF8 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 802BFD9C 002BCCFC D0 61 00 20 */ stfs f3, 0x20(r1) +/* 802BFDA0 002BCD00 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802BFDA4 002BCD04 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802BFDA8 002BCD08 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802BFDAC 002BCD0C 41 82 00 30 */ beq lbl_802BFDDC +/* 802BFDB0 002BCD10 B0 A3 00 00 */ sth r5, 0(r3) +/* 802BFDB4 002BCD14 FC 00 00 18 */ frsp f0, f0 +/* 802BFDB8 002BCD18 B1 03 00 02 */ sth r8, 2(r3) +/* 802BFDBC 002BCD1C 90 C3 00 04 */ stw r6, 4(r3) +/* 802BFDC0 002BCD20 D0 C3 00 08 */ stfs f6, 8(r3) +/* 802BFDC4 002BCD24 D0 A3 00 0C */ stfs f5, 0xc(r3) +/* 802BFDC8 002BCD28 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 802BFDCC 002BCD2C D0 63 00 14 */ stfs f3, 0x14(r3) +/* 802BFDD0 002BCD30 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 802BFDD4 002BCD34 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 802BFDD8 002BCD38 D0 03 00 20 */ stfs f0, 0x20(r3) +lbl_802BFDDC: +/* 802BFDDC 002BCD3C 80 6A 00 00 */ lwz r3, 0(r10) +/* 802BFDE0 002BCD40 38 03 00 01 */ addi r0, r3, 1 +/* 802BFDE4 002BCD44 90 0A 00 00 */ stw r0, 0(r10) +/* 802BFDE8 002BCD48 C0 2D A6 14 */ lfs f1, lbl_805A91D4@sda21(r13) +/* 802BFDEC 002BCD4C C0 01 00 08 */ lfs f0, 8(r1) +/* 802BFDF0 002BCD50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BFDF4 002BCD54 40 80 00 0C */ bge lbl_802BFE00 +/* 802BFDF8 002BCD58 38 8D A6 14 */ addi r4, r13, lbl_805A91D4@sda21 +/* 802BFDFC 002BCD5C 48 00 00 08 */ b lbl_802BFE04 +lbl_802BFE00: +/* 802BFE00 002BCD60 38 81 00 08 */ addi r4, r1, 8 +lbl_802BFE04: +/* 802BFE04 002BCD64 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BFE08 002BCD68 C0 44 00 00 */ lfs f2, 0(r4) +/* 802BFE0C 002BCD6C C0 21 00 08 */ lfs f1, 8(r1) +/* 802BFE10 002BCD70 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BFE14 002BCD74 D0 4D A6 14 */ stfs f2, lbl_805A91D4@sda21(r13) +/* 802BFE18 002BCD78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BFE1C 002BCD7C 40 80 00 0C */ bge lbl_802BFE28 +/* 802BFE20 002BCD80 38 63 00 04 */ addi r3, r3, 4 +/* 802BFE24 002BCD84 48 00 00 08 */ b lbl_802BFE2C +lbl_802BFE28: +/* 802BFE28 002BCD88 38 61 00 08 */ addi r3, r1, 8 +lbl_802BFE2C: +/* 802BFE2C 002BCD8C C0 03 00 00 */ lfs f0, 0(r3) +/* 802BFE30 002BCD90 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BFE34 002BCD94 38 8A 00 04 */ addi r4, r10, 4 +/* 802BFE38 002BCD98 D0 03 00 04 */ stfs f0, 4(r3) +/* 802BFE3C 002BCD9C 80 6A 00 00 */ lwz r3, 0(r10) +/* 802BFE40 002BCDA0 38 03 FF FF */ addi r0, r3, -1 +/* 802BFE44 002BCDA4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802BFE48 002BCDA8 7C 64 02 14 */ add r3, r4, r0 +/* 802BFE4C 002BCDAC 38 03 00 24 */ addi r0, r3, 0x24 +/* 802BFE50 002BCDB0 7C 00 02 2C */ dcbt 0, r0 +lbl_802BFE54: +/* 802BFE54 002BCDB4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BFE58 002BCDB8 4E 80 00 20 */ blr + +.global Shutdown__7BucketsFv +Shutdown__7BucketsFv: +/* 802BFE5C 002BCDBC 38 00 00 00 */ li r0, 0 +/* 802BFE60 002BCDC0 90 0D A6 0C */ stw r0, lbl_805A91CC@sda21(r13) +/* 802BFE64 002BCDC4 90 0D A6 10 */ stw r0, lbl_805A91D0@sda21(r13) +/* 802BFE68 002BCDC8 90 0D A6 1C */ stw r0, lbl_805A91DC@sda21(r13) +/* 802BFE6C 002BCDCC 90 0D A6 20 */ stw r0, lbl_805A91E0@sda21(r13) +/* 802BFE70 002BCDD0 4E 80 00 20 */ blr + +.global Init__7BucketsFv +Init__7BucketsFv: +/* 802BFE74 002BCDD4 3C 60 80 47 */ lis r3, 0x8047 +/* 802BFE78 002BCDD8 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 802BFE7C 002BCDDC 34 83 E2 74 */ addic. r4, r3, -7564 +/* 802BFE80 002BCDE0 41 82 00 0C */ beq lbl_802BFE8C +/* 802BFE84 002BCDE4 38 00 00 00 */ li r0, 0 +/* 802BFE88 002BCDE8 90 04 00 00 */ stw r0, 0(r4) +lbl_802BFE8C: +/* 802BFE8C 002BCDEC 3C 60 80 47 */ lis r3, 0x8047 +/* 802BFE90 002BCDF0 90 8D A6 0C */ stw r4, lbl_805A91CC@sda21(r13) +/* 802BFE94 002BCDF4 34 83 2A 7C */ addic. r4, r3, 0x2a7c +/* 802BFE98 002BCDF8 41 82 00 0C */ beq lbl_802BFEA4 +/* 802BFE9C 002BCDFC 38 00 00 00 */ li r0, 0 +/* 802BFEA0 002BCE00 90 04 00 00 */ stw r0, 0(r4) +lbl_802BFEA4: +/* 802BFEA4 002BCE04 3C 60 80 48 */ lis r3, 0x8048 +/* 802BFEA8 002BCE08 90 8D A6 10 */ stw r4, lbl_805A91D0@sda21(r13) +/* 802BFEAC 002BCE0C 34 83 8F 4C */ addic. r4, r3, -28852 +/* 802BFEB0 002BCE10 41 82 00 0C */ beq lbl_802BFEBC +/* 802BFEB4 002BCE14 38 00 00 00 */ li r0, 0 +/* 802BFEB8 002BCE18 90 04 00 00 */ stw r0, 0(r4) +lbl_802BFEBC: +/* 802BFEBC 002BCE1C 3C 60 80 48 */ lis r3, 0x8048 +/* 802BFEC0 002BCE20 90 8D A6 1C */ stw r4, lbl_805A91DC@sda21(r13) +/* 802BFEC4 002BCE24 34 63 91 54 */ addic. r3, r3, -28332 +/* 802BFEC8 002BCE28 41 82 00 0C */ beq lbl_802BFED4 +/* 802BFECC 002BCE2C 38 00 00 00 */ li r0, 0 +/* 802BFED0 002BCE30 90 03 00 00 */ stw r0, 0(r3) +lbl_802BFED4: +/* 802BFED4 002BCE34 90 6D A6 20 */ stw r3, lbl_805A91E0@sda21(r13) +/* 802BFED8 002BCE38 38 80 00 00 */ li r4, 0 +/* 802BFEDC 002BCE3C 81 4D A6 10 */ lwz r10, lbl_805A91D0@sda21(r13) +/* 802BFEE0 002BCE40 90 81 00 08 */ stw r4, 8(r1) +/* 802BFEE4 002BCE44 80 6A 00 00 */ lwz r3, 0(r10) +/* 802BFEE8 002BCE48 2C 03 00 32 */ cmpwi r3, 0x32 +/* 802BFEEC 002BCE4C 40 80 00 78 */ bge lbl_802BFF64 +/* 802BFEF0 002BCE50 1C 03 02 04 */ mulli r0, r3, 0x204 +/* 802BFEF4 002BCE54 7C 85 23 78 */ mr r5, r4 +/* 802BFEF8 002BCE58 20 C3 00 32 */ subfic r6, r3, 0x32 +/* 802BFEFC 002BCE5C 39 21 00 0C */ addi r9, r1, 0xc +/* 802BFF00 002BCE60 7C 6A 02 14 */ add r3, r10, r0 +/* 802BFF04 002BCE64 38 63 00 04 */ addi r3, r3, 4 +/* 802BFF08 002BCE68 48 00 00 4C */ b lbl_802BFF54 +lbl_802BFF0C: +/* 802BFF0C 002BCE6C 28 03 00 00 */ cmplwi r3, 0 +/* 802BFF10 002BCE70 41 82 00 3C */ beq lbl_802BFF4C +/* 802BFF14 002BCE74 90 83 00 00 */ stw r4, 0(r3) +/* 802BFF18 002BCE78 7D 28 4B 78 */ mr r8, r9 +/* 802BFF1C 002BCE7C 38 E3 00 04 */ addi r7, r3, 4 +/* 802BFF20 002BCE80 80 03 00 00 */ lwz r0, 0(r3) +/* 802BFF24 002BCE84 7C 09 03 A6 */ mtctr r0 +/* 802BFF28 002BCE88 2C 00 00 00 */ cmpwi r0, 0 +/* 802BFF2C 002BCE8C 40 81 00 20 */ ble lbl_802BFF4C +lbl_802BFF30: +/* 802BFF30 002BCE90 28 07 00 00 */ cmplwi r7, 0 +/* 802BFF34 002BCE94 41 82 00 0C */ beq lbl_802BFF40 +/* 802BFF38 002BCE98 80 08 00 00 */ lwz r0, 0(r8) +/* 802BFF3C 002BCE9C 90 07 00 00 */ stw r0, 0(r7) +lbl_802BFF40: +/* 802BFF40 002BCEA0 38 E7 00 04 */ addi r7, r7, 4 +/* 802BFF44 002BCEA4 39 08 00 04 */ addi r8, r8, 4 +/* 802BFF48 002BCEA8 42 00 FF E8 */ bdnz lbl_802BFF30 +lbl_802BFF4C: +/* 802BFF4C 002BCEAC 38 A5 00 01 */ addi r5, r5, 1 +/* 802BFF50 002BCEB0 38 63 02 04 */ addi r3, r3, 0x204 +lbl_802BFF54: +/* 802BFF54 002BCEB4 7C 05 30 00 */ cmpw r5, r6 +/* 802BFF58 002BCEB8 41 80 FF B4 */ blt lbl_802BFF0C +/* 802BFF5C 002BCEBC 38 00 00 32 */ li r0, 0x32 +/* 802BFF60 002BCEC0 90 0A 00 00 */ stw r0, 0(r10) +lbl_802BFF64: +/* 802BFF64 002BCEC4 80 A1 00 08 */ lwz r5, 8(r1) +/* 802BFF68 002BCEC8 38 60 00 00 */ li r3, 0 +/* 802BFF6C 002BCECC 2C 05 00 00 */ cmpwi r5, 0 +/* 802BFF70 002BCED0 40 81 00 40 */ ble lbl_802BFFB0 +/* 802BFF74 002BCED4 2C 05 00 08 */ cmpwi r5, 8 +/* 802BFF78 002BCED8 38 85 FF F8 */ addi r4, r5, -8 +/* 802BFF7C 002BCEDC 40 81 00 20 */ ble lbl_802BFF9C +/* 802BFF80 002BCEE0 38 04 00 07 */ addi r0, r4, 7 +/* 802BFF84 002BCEE4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BFF88 002BCEE8 7C 09 03 A6 */ mtctr r0 +/* 802BFF8C 002BCEEC 2C 04 00 00 */ cmpwi r4, 0 +/* 802BFF90 002BCEF0 40 81 00 0C */ ble lbl_802BFF9C +lbl_802BFF94: +/* 802BFF94 002BCEF4 38 63 00 08 */ addi r3, r3, 8 +/* 802BFF98 002BCEF8 42 00 FF FC */ bdnz lbl_802BFF94 +lbl_802BFF9C: +/* 802BFF9C 002BCEFC 7C 03 28 50 */ subf r0, r3, r5 +/* 802BFFA0 002BCF00 7C 09 03 A6 */ mtctr r0 +/* 802BFFA4 002BCF04 7C 03 28 00 */ cmpw r3, r5 +/* 802BFFA8 002BCF08 40 80 00 08 */ bge lbl_802BFFB0 +lbl_802BFFAC: +/* 802BFFAC 002BCF0C 42 00 00 00 */ bdnz lbl_802BFFAC +lbl_802BFFB0: +/* 802BFFB0 002BCF10 38 6D A6 04 */ addi r3, r13, lbl_805A91C4@sda21 +/* 802BFFB4 002BCF14 C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) +/* 802BFFB8 002BCF18 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BFFBC 002BCF1C 38 00 00 00 */ li r0, 0 +/* 802BFFC0 002BCF20 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BFFC4 002BCF24 90 01 00 08 */ stw r0, 8(r1) +/* 802BFFC8 002BCF28 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) +/* 802BFFCC 002BCF2C D0 03 00 04 */ stfs f0, 4(r3) +/* 802BFFD0 002BCF30 38 21 02 10 */ addi r1, r1, 0x210 +/* 802BFFD4 002BCF34 4E 80 00 20 */ blr + +.global "__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc" +"__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc": +/* 802BFFD8 002BCF38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BFFDC 002BCF3C 7C 08 02 A6 */ mflr r0 +/* 802BFFE0 002BCF40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BFFE4 002BCF44 48 00 00 5D */ bl sub_802c0040 +/* 802BFFE8 002BCF48 80 83 00 00 */ lwz r4, 0(r3) +/* 802BFFEC 002BCF4C 38 04 00 01 */ addi r0, r4, 1 +/* 802BFFF0 002BCF50 90 03 00 00 */ stw r0, 0(r3) +/* 802BFFF4 002BCF54 48 00 00 41 */ bl sub_802c0034 +/* 802BFFF8 002BCF58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BFFFC 002BCF5C 7C 08 03 A6 */ mtlr r0 +/* 802C0000 002BCF60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C0004 002BCF64 4E 80 00 20 */ blr + +.global sub_802c0008 +sub_802c0008: +/* 802C0008 002BCF68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C000C 002BCF6C 7C 08 02 A6 */ mflr r0 +/* 802C0010 002BCF70 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C0014 002BCF74 48 00 00 2D */ bl sub_802c0040 +/* 802C0018 002BCF78 80 83 00 00 */ lwz r4, 0(r3) +/* 802C001C 002BCF7C 38 04 FF FF */ addi r0, r4, -1 +/* 802C0020 002BCF80 90 03 00 00 */ stw r0, 0(r3) +/* 802C0024 002BCF84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C0028 002BCF88 7C 08 03 A6 */ mtlr r0 +/* 802C002C 002BCF8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C0030 002BCF90 4E 80 00 20 */ blr + +.global sub_802c0034 +sub_802c0034: +/* 802C0034 002BCF94 3C 60 80 48 */ lis r3, lbl_80479178@ha +/* 802C0038 002BCF98 38 63 91 78 */ addi r3, r3, lbl_80479178@l +/* 802C003C 002BCF9C 4E 80 00 20 */ blr + +.global sub_802c0040 +sub_802c0040: +/* 802C0040 002BCFA0 88 0D A6 34 */ lbz r0, lbl_805A91F4@sda21(r13) +/* 802C0044 002BCFA4 7C 00 07 75 */ extsb. r0, r0 +/* 802C0048 002BCFA8 40 82 00 14 */ bne lbl_802C005C +/* 802C004C 002BCFAC 38 60 00 00 */ li r3, 0 +/* 802C0050 002BCFB0 38 00 00 01 */ li r0, 1 +/* 802C0054 002BCFB4 90 6D A6 30 */ stw r3, lbl_805A91F0@sda21(r13) +/* 802C0058 002BCFB8 98 0D A6 34 */ stb r0, lbl_805A91F4@sda21(r13) +lbl_802C005C: +/* 802C005C 002BCFBC 38 6D A6 30 */ addi r3, r13, lbl_805A91F0@sda21 +/* 802C0060 002BCFC0 4E 80 00 20 */ blr + +.global sub_802c0064 +sub_802c0064: +/* 802C0064 002BCFC4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C0068 002BCFC8 7C 08 02 A6 */ mflr r0 +/* 802C006C 002BCFCC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C0070 002BCFD0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C0074 002BCFD4 7C 7B 1B 78 */ mr r27, r3 +/* 802C0078 002BCFD8 7C 9C 23 78 */ mr r28, r4 +/* 802C007C 002BCFDC 7C BD 2B 78 */ mr r29, r5 +/* 802C0080 002BCFE0 7C DB E0 50 */ subf r6, r27, r28 +/* 802C0084 002BCFE4 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802C0088 002BCFE8 7C 00 32 14 */ add r0, r0, r6 +/* 802C008C 002BCFEC 7C 05 0E 70 */ srawi r5, r0, 1 +/* 802C0090 002BCFF0 2C 05 00 01 */ cmpwi r5, 1 +/* 802C0094 002BCFF4 40 81 01 00 */ ble lbl_802C0194 +/* 802C0098 002BCFF8 2C 05 00 14 */ cmpwi r5, 0x14 +/* 802C009C 002BCFFC 41 81 00 18 */ bgt lbl_802C00B4 +/* 802C00A0 002BD000 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C00A4 002BD004 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C00A8 002BD008 98 01 00 14 */ stb r0, 0x14(r1) +/* 802C00AC 002BD00C 48 00 07 05 */ bl sub_802c07b0 +/* 802C00B0 002BD010 48 00 00 E4 */ b lbl_802C0194 +lbl_802C00B4: +/* 802C00B4 002BD014 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 802C00B8 002BD018 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C00BC 002BD01C 7C 84 2A 14 */ add r4, r4, r5 +/* 802C00C0 002BD020 3B FC FF FE */ addi r31, r28, -2 +/* 802C00C4 002BD024 7C 84 0E 70 */ srawi r4, r4, 1 +/* 802C00C8 002BD028 98 01 00 10 */ stb r0, 0x10(r1) +/* 802C00CC 002BD02C 54 80 08 3C */ slwi r0, r4, 1 +/* 802C00D0 002BD030 7F E5 FB 78 */ mr r5, r31 +/* 802C00D4 002BD034 7F DB 02 14 */ add r30, r27, r0 +/* 802C00D8 002BD038 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C00DC 002BD03C 7F C4 F3 78 */ mr r4, r30 +/* 802C00E0 002BD040 48 00 08 B5 */ bl sub_802c0994 +/* 802C00E4 002BD044 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802C00E8 002BD048 3B DB 00 02 */ addi r30, r27, 2 +/* 802C00EC 002BD04C 3B FF FF FE */ addi r31, r31, -2 +/* 802C00F0 002BD050 54 04 32 B2 */ rlwinm r4, r0, 6, 0xa, 0x19 +lbl_802C00F4: +/* 802C00F4 002BD054 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802C00F8 002BD058 38 A3 00 04 */ addi r5, r3, 4 +/* 802C00FC 002BD05C 7C C5 22 14 */ add r6, r5, r4 +/* 802C0100 002BD060 48 00 00 08 */ b lbl_802C0108 +lbl_802C0104: +/* 802C0104 002BD064 3B DE 00 02 */ addi r30, r30, 2 +lbl_802C0108: +/* 802C0108 002BD068 A0 FE 00 00 */ lhz r7, 0(r30) +/* 802C010C 002BD06C C0 06 00 20 */ lfs f0, 0x20(r6) +/* 802C0110 002BD070 54 E0 32 B2 */ rlwinm r0, r7, 6, 0xa, 0x19 +/* 802C0114 002BD074 7C 65 02 14 */ add r3, r5, r0 +/* 802C0118 002BD078 C0 23 00 20 */ lfs f1, 0x20(r3) +/* 802C011C 002BD07C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0120 002BD080 41 80 FF E4 */ blt lbl_802C0104 +/* 802C0124 002BD084 48 00 00 08 */ b lbl_802C012C +lbl_802C0128: +/* 802C0128 002BD088 3B FF FF FE */ addi r31, r31, -2 +lbl_802C012C: +/* 802C012C 002BD08C A1 1F 00 00 */ lhz r8, 0(r31) +/* 802C0130 002BD090 C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C0134 002BD094 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 +/* 802C0138 002BD098 7C 65 02 14 */ add r3, r5, r0 +/* 802C013C 002BD09C C0 03 00 20 */ lfs f0, 0x20(r3) +/* 802C0140 002BD0A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0144 002BD0A4 41 80 FF E4 */ blt lbl_802C0128 +/* 802C0148 002BD0A8 7C 1E F8 40 */ cmplw r30, r31 +/* 802C014C 002BD0AC 40 80 00 18 */ bge lbl_802C0164 +/* 802C0150 002BD0B0 B1 1E 00 00 */ sth r8, 0(r30) +/* 802C0154 002BD0B4 3B DE 00 02 */ addi r30, r30, 2 +/* 802C0158 002BD0B8 B0 FF 00 00 */ sth r7, 0(r31) +/* 802C015C 002BD0BC 3B FF FF FE */ addi r31, r31, -2 +/* 802C0160 002BD0C0 4B FF FF 94 */ b lbl_802C00F4 +lbl_802C0164: +/* 802C0164 002BD0C4 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C0168 002BD0C8 7F 63 DB 78 */ mr r3, r27 +/* 802C016C 002BD0CC 7F C4 F3 78 */ mr r4, r30 +/* 802C0170 002BD0D0 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C0174 002BD0D4 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C0178 002BD0D8 4B FF FE ED */ bl sub_802c0064 +/* 802C017C 002BD0DC 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C0180 002BD0E0 7F C3 F3 78 */ mr r3, r30 +/* 802C0184 002BD0E4 7F 84 E3 78 */ mr r4, r28 +/* 802C0188 002BD0E8 38 A1 00 08 */ addi r5, r1, 8 +/* 802C018C 002BD0EC 98 01 00 08 */ stb r0, 8(r1) +/* 802C0190 002BD0F0 4B FF FE D5 */ bl sub_802c0064 +lbl_802C0194: +/* 802C0194 002BD0F4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C0198 002BD0F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C019C 002BD0FC 7C 08 03 A6 */ mtlr r0 +/* 802C01A0 002BD100 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C01A4 002BD104 4E 80 00 20 */ blr + +.global sub_802c01a8 +sub_802c01a8: +/* 802C01A8 002BD108 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C01AC 002BD10C 7C 08 02 A6 */ mflr r0 +/* 802C01B0 002BD110 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C01B4 002BD114 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C01B8 002BD118 7C 7B 1B 78 */ mr r27, r3 +/* 802C01BC 002BD11C 7C 9C 23 78 */ mr r28, r4 +/* 802C01C0 002BD120 7C BD 2B 78 */ mr r29, r5 +/* 802C01C4 002BD124 7C 1B E0 50 */ subf r0, r27, r28 +/* 802C01C8 002BD128 7C 00 16 70 */ srawi r0, r0, 2 +/* 802C01CC 002BD12C 7C A0 01 94 */ addze r5, r0 +/* 802C01D0 002BD130 2C 05 00 01 */ cmpwi r5, 1 +/* 802C01D4 002BD134 40 81 01 2C */ ble lbl_802C0300 +/* 802C01D8 002BD138 2C 05 00 14 */ cmpwi r5, 0x14 +/* 802C01DC 002BD13C 41 81 00 18 */ bgt lbl_802C01F4 +/* 802C01E0 002BD140 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C01E4 002BD144 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C01E8 002BD148 98 01 00 14 */ stb r0, 0x14(r1) +/* 802C01EC 002BD14C 48 00 06 41 */ bl sub_802c082c +/* 802C01F0 002BD150 48 00 01 10 */ b lbl_802C0300 +lbl_802C01F4: +/* 802C01F4 002BD154 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 802C01F8 002BD158 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C01FC 002BD15C 7C 84 2A 14 */ add r4, r4, r5 +/* 802C0200 002BD160 3B FC FF FC */ addi r31, r28, -4 +/* 802C0204 002BD164 7C 84 0E 70 */ srawi r4, r4, 1 +/* 802C0208 002BD168 98 01 00 10 */ stb r0, 0x10(r1) +/* 802C020C 002BD16C 54 80 10 3A */ slwi r0, r4, 2 +/* 802C0210 002BD170 7F E5 FB 78 */ mr r5, r31 +/* 802C0214 002BD174 7F DB 02 14 */ add r30, r27, r0 +/* 802C0218 002BD178 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C021C 002BD17C 7F C4 F3 78 */ mr r4, r30 +/* 802C0220 002BD180 48 00 06 99 */ bl sub_802c08b8 +/* 802C0224 002BD184 80 DE 00 00 */ lwz r6, 0(r30) +/* 802C0228 002BD188 3B DB 00 04 */ addi r30, r27, 4 +/* 802C022C 002BD18C 3B FF FF FC */ addi r31, r31, -4 +lbl_802C0230: +/* 802C0230 002BD190 C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C0234 002BD194 48 00 00 08 */ b lbl_802C023C +lbl_802C0238: +/* 802C0238 002BD198 3B DE 00 04 */ addi r30, r30, 4 +lbl_802C023C: +/* 802C023C 002BD19C 80 9E 00 00 */ lwz r4, 0(r30) +/* 802C0240 002BD1A0 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802C0244 002BD1A4 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C0248 002BD1A8 40 82 00 18 */ bne lbl_802C0260 +/* 802C024C 002BD1AC A0 64 00 02 */ lhz r3, 2(r4) +/* 802C0250 002BD1B0 A0 06 00 02 */ lhz r0, 2(r6) +/* 802C0254 002BD1B4 7C 03 00 50 */ subf r0, r3, r0 +/* 802C0258 002BD1B8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C025C 002BD1BC 48 00 00 10 */ b lbl_802C026C +lbl_802C0260: +/* 802C0260 002BD1C0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0264 002BD1C4 7C 00 00 26 */ mfcr r0 +/* 802C0268 002BD1C8 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C026C: +/* 802C026C 002BD1CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C0270 002BD1D0 40 82 FF C8 */ bne lbl_802C0238 +/* 802C0274 002BD1D4 48 00 00 08 */ b lbl_802C027C +lbl_802C0278: +/* 802C0278 002BD1D8 3B FF FF FC */ addi r31, r31, -4 +lbl_802C027C: +/* 802C027C 002BD1DC 80 BF 00 00 */ lwz r5, 0(r31) +/* 802C0280 002BD1E0 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802C0284 002BD1E4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802C0288 002BD1E8 40 82 00 18 */ bne lbl_802C02A0 +/* 802C028C 002BD1EC A0 66 00 02 */ lhz r3, 2(r6) +/* 802C0290 002BD1F0 A0 05 00 02 */ lhz r0, 2(r5) +/* 802C0294 002BD1F4 7C 03 00 50 */ subf r0, r3, r0 +/* 802C0298 002BD1F8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C029C 002BD1FC 48 00 00 10 */ b lbl_802C02AC +lbl_802C02A0: +/* 802C02A0 002BD200 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C02A4 002BD204 7C 00 00 26 */ mfcr r0 +/* 802C02A8 002BD208 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C02AC: +/* 802C02AC 002BD20C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C02B0 002BD210 40 82 FF C8 */ bne lbl_802C0278 +/* 802C02B4 002BD214 7C 1E F8 40 */ cmplw r30, r31 +/* 802C02B8 002BD218 40 80 00 18 */ bge lbl_802C02D0 +/* 802C02BC 002BD21C 90 BE 00 00 */ stw r5, 0(r30) +/* 802C02C0 002BD220 3B DE 00 04 */ addi r30, r30, 4 +/* 802C02C4 002BD224 90 9F 00 00 */ stw r4, 0(r31) +/* 802C02C8 002BD228 3B FF FF FC */ addi r31, r31, -4 +/* 802C02CC 002BD22C 4B FF FF 64 */ b lbl_802C0230 +lbl_802C02D0: +/* 802C02D0 002BD230 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C02D4 002BD234 7F 63 DB 78 */ mr r3, r27 +/* 802C02D8 002BD238 7F C4 F3 78 */ mr r4, r30 +/* 802C02DC 002BD23C 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C02E0 002BD240 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C02E4 002BD244 4B FF FE C5 */ bl sub_802c01a8 +/* 802C02E8 002BD248 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C02EC 002BD24C 7F C3 F3 78 */ mr r3, r30 +/* 802C02F0 002BD250 7F 84 E3 78 */ mr r4, r28 +/* 802C02F4 002BD254 38 A1 00 08 */ addi r5, r1, 8 +/* 802C02F8 002BD258 98 01 00 08 */ stb r0, 8(r1) +/* 802C02FC 002BD25C 4B FF FE AD */ bl sub_802c01a8 +lbl_802C0300: +/* 802C0300 002BD260 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C0304 002BD264 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C0308 002BD268 7C 08 03 A6 */ mtlr r0 +/* 802C030C 002BD26C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C0310 002BD270 4E 80 00 20 */ blr + +.global sub_802c0314 +sub_802c0314: +/* 802C0314 002BD274 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0318 002BD278 7C 08 02 A6 */ mflr r0 +/* 802C031C 002BD27C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0320 002BD280 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0324 002BD284 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C0328 002BD288 7C 9E 23 78 */ mr r30, r4 +/* 802C032C 002BD28C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C0330 002BD290 7C 7D 1B 78 */ mr r29, r3 +/* 802C0334 002BD294 80 03 00 04 */ lwz r0, 4(r3) +/* 802C0338 002BD298 83 E4 00 04 */ lwz r31, 4(r4) +/* 802C033C 002BD29C 7C 1E 00 40 */ cmplw r30, r0 +/* 802C0340 002BD2A0 40 82 00 08 */ bne lbl_802C0348 +/* 802C0344 002BD2A4 93 FD 00 04 */ stw r31, 4(r29) +lbl_802C0348: +/* 802C0348 002BD2A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C034C 002BD2AC 38 7E 00 08 */ addi r3, r30, 8 +/* 802C0350 002BD2B0 80 BE 00 00 */ lwz r5, 0(r30) +/* 802C0354 002BD2B4 38 80 FF FF */ li r4, -1 +/* 802C0358 002BD2B8 90 05 00 04 */ stw r0, 4(r5) +/* 802C035C 002BD2BC 80 1E 00 00 */ lwz r0, 0(r30) +/* 802C0360 002BD2C0 80 BE 00 04 */ lwz r5, 4(r30) +/* 802C0364 002BD2C4 90 05 00 00 */ stw r0, 0(r5) +/* 802C0368 002BD2C8 4B FF E0 51 */ bl sub_802be3b8 +/* 802C036C 002BD2CC 28 1E 00 00 */ cmplwi r30, 0 +/* 802C0370 002BD2D0 41 82 00 0C */ beq lbl_802C037C +/* 802C0374 002BD2D4 7F C3 F3 78 */ mr r3, r30 +/* 802C0378 002BD2D8 48 05 55 B9 */ bl Free__7CMemoryFPCv +lbl_802C037C: +/* 802C037C 002BD2DC 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802C0380 002BD2E0 7F E3 FB 78 */ mr r3, r31 +/* 802C0384 002BD2E4 38 04 FF FF */ addi r0, r4, -1 +/* 802C0388 002BD2E8 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802C038C 002BD2EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0390 002BD2F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C0394 002BD2F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C0398 002BD2F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C039C 002BD2FC 7C 08 03 A6 */ mtlr r0 +/* 802C03A0 002BD300 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C03A4 002BD304 4E 80 00 20 */ blr + +.global sub_802c03a8 +sub_802c03a8: +/* 802C03A8 002BD308 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C03AC 002BD30C 7C 08 02 A6 */ mflr r0 +/* 802C03B0 002BD310 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C03B4 002BD314 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C03B8 002BD318 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C03BC 002BD31C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C03C0 002BD320 7C 9D 23 78 */ mr r29, r4 +/* 802C03C4 002BD324 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C03C8 002BD328 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802C03CC 002BD32C 41 82 00 4C */ beq lbl_802C0418 +/* 802C03D0 002BD330 83 FC 00 04 */ lwz r31, 4(r28) +/* 802C03D4 002BD334 48 00 00 28 */ b lbl_802C03FC +lbl_802C03D8: +/* 802C03D8 002BD338 7F FE FB 78 */ mr r30, r31 +/* 802C03DC 002BD33C 83 FF 00 04 */ lwz r31, 4(r31) +/* 802C03E0 002BD340 38 7E 00 08 */ addi r3, r30, 8 +/* 802C03E4 002BD344 38 80 FF FF */ li r4, -1 +/* 802C03E8 002BD348 4B FF DF D1 */ bl sub_802be3b8 +/* 802C03EC 002BD34C 28 1E 00 00 */ cmplwi r30, 0 +/* 802C03F0 002BD350 41 82 00 0C */ beq lbl_802C03FC +/* 802C03F4 002BD354 7F C3 F3 78 */ mr r3, r30 +/* 802C03F8 002BD358 48 05 55 39 */ bl Free__7CMemoryFPCv +lbl_802C03FC: +/* 802C03FC 002BD35C 80 1C 00 08 */ lwz r0, 8(r28) +/* 802C0400 002BD360 7C 1F 00 40 */ cmplw r31, r0 +/* 802C0404 002BD364 40 82 FF D4 */ bne lbl_802C03D8 +/* 802C0408 002BD368 7F A0 07 35 */ extsh. r0, r29 +/* 802C040C 002BD36C 40 81 00 0C */ ble lbl_802C0418 +/* 802C0410 002BD370 7F 83 E3 78 */ mr r3, r28 +/* 802C0414 002BD374 48 05 55 1D */ bl Free__7CMemoryFPCv +lbl_802C0418: +/* 802C0418 002BD378 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C041C 002BD37C 7F 83 E3 78 */ mr r3, r28 +/* 802C0420 002BD380 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0424 002BD384 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C0428 002BD388 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C042C 002BD38C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C0430 002BD390 7C 08 03 A6 */ mtlr r0 +/* 802C0434 002BD394 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0438 002BD398 4E 80 00 20 */ blr + +.global sub_802c043c +sub_802c043c: +/* 802C043C 002BD39C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0440 002BD3A0 7C 08 02 A6 */ mflr r0 +/* 802C0444 002BD3A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0448 002BD3A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C044C 002BD3AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C0450 002BD3B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C0454 002BD3B4 7C 9D 23 78 */ mr r29, r4 +/* 802C0458 002BD3B8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C045C 002BD3BC 7C 7C 1B 78 */ mr r28, r3 +/* 802C0460 002BD3C0 80 03 00 04 */ lwz r0, 4(r3) +/* 802C0464 002BD3C4 83 C4 00 04 */ lwz r30, 4(r4) +/* 802C0468 002BD3C8 7C 1D 00 40 */ cmplw r29, r0 +/* 802C046C 002BD3CC 40 82 00 08 */ bne lbl_802C0474 +/* 802C0470 002BD3D0 93 DC 00 04 */ stw r30, 4(r28) +lbl_802C0474: +/* 802C0474 002BD3D4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802C0478 002BD3D8 37 FD 00 08 */ addic. r31, r29, 8 +/* 802C047C 002BD3DC 80 7D 00 00 */ lwz r3, 0(r29) +/* 802C0480 002BD3E0 90 03 00 04 */ stw r0, 4(r3) +/* 802C0484 002BD3E4 80 1D 00 00 */ lwz r0, 0(r29) +/* 802C0488 002BD3E8 80 7D 00 04 */ lwz r3, 4(r29) +/* 802C048C 002BD3EC 90 03 00 00 */ stw r0, 0(r3) +/* 802C0490 002BD3F0 41 82 00 38 */ beq lbl_802C04C8 +/* 802C0494 002BD3F4 34 1F 00 4C */ addic. r0, r31, 0x4c +/* 802C0498 002BD3F8 41 82 00 30 */ beq lbl_802C04C8 +/* 802C049C 002BD3FC 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802C04A0 002BD400 28 00 00 00 */ cmplwi r0, 0 +/* 802C04A4 002BD404 41 82 00 1C */ beq lbl_802C04C0 +/* 802C04A8 002BD408 34 7F 00 4C */ addic. r3, r31, 0x4c +/* 802C04AC 002BD40C 41 82 00 14 */ beq lbl_802C04C0 +/* 802C04B0 002BD410 28 03 00 00 */ cmplwi r3, 0 +/* 802C04B4 002BD414 41 82 00 0C */ beq lbl_802C04C0 +/* 802C04B8 002BD418 38 80 00 00 */ li r4, 0 +/* 802C04BC 002BD41C 48 08 09 85 */ bl __dt__6CTokenFv +lbl_802C04C0: +/* 802C04C0 002BD420 38 00 00 00 */ li r0, 0 +/* 802C04C4 002BD424 98 1F 00 58 */ stb r0, 0x58(r31) +lbl_802C04C8: +/* 802C04C8 002BD428 28 1D 00 00 */ cmplwi r29, 0 +/* 802C04CC 002BD42C 41 82 00 0C */ beq lbl_802C04D8 +/* 802C04D0 002BD430 7F A3 EB 78 */ mr r3, r29 +/* 802C04D4 002BD434 48 05 54 5D */ bl Free__7CMemoryFPCv +lbl_802C04D8: +/* 802C04D8 002BD438 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802C04DC 002BD43C 7F C3 F3 78 */ mr r3, r30 +/* 802C04E0 002BD440 38 04 FF FF */ addi r0, r4, -1 +/* 802C04E4 002BD444 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802C04E8 002BD448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C04EC 002BD44C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C04F0 002BD450 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C04F4 002BD454 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C04F8 002BD458 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C04FC 002BD45C 7C 08 03 A6 */ mtlr r0 +/* 802C0500 002BD460 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0504 002BD464 4E 80 00 20 */ blr + +.global sub_802c0508 +sub_802c0508: +/* 802C0508 002BD468 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C050C 002BD46C 7C 08 02 A6 */ mflr r0 +/* 802C0510 002BD470 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0514 002BD474 BF 41 00 08 */ stmw r26, 8(r1) +/* 802C0518 002BD478 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802C051C 002BD47C 7C 9B 23 78 */ mr r27, r4 +/* 802C0520 002BD480 41 82 00 7C */ beq lbl_802C059C +/* 802C0524 002BD484 83 BA 00 04 */ lwz r29, 4(r26) +/* 802C0528 002BD488 3B E0 00 00 */ li r31, 0 +/* 802C052C 002BD48C 48 00 00 54 */ b lbl_802C0580 +lbl_802C0530: +/* 802C0530 002BD490 7F BC EB 78 */ mr r28, r29 +/* 802C0534 002BD494 83 BD 00 04 */ lwz r29, 4(r29) +/* 802C0538 002BD498 37 DC 00 08 */ addic. r30, r28, 8 +/* 802C053C 002BD49C 41 82 00 34 */ beq lbl_802C0570 +/* 802C0540 002BD4A0 34 1E 00 4C */ addic. r0, r30, 0x4c +/* 802C0544 002BD4A4 41 82 00 2C */ beq lbl_802C0570 +/* 802C0548 002BD4A8 88 1E 00 58 */ lbz r0, 0x58(r30) +/* 802C054C 002BD4AC 28 00 00 00 */ cmplwi r0, 0 +/* 802C0550 002BD4B0 41 82 00 1C */ beq lbl_802C056C +/* 802C0554 002BD4B4 34 7E 00 4C */ addic. r3, r30, 0x4c +/* 802C0558 002BD4B8 41 82 00 14 */ beq lbl_802C056C +/* 802C055C 002BD4BC 28 03 00 00 */ cmplwi r3, 0 +/* 802C0560 002BD4C0 41 82 00 0C */ beq lbl_802C056C +/* 802C0564 002BD4C4 38 80 00 00 */ li r4, 0 +/* 802C0568 002BD4C8 48 08 08 D9 */ bl __dt__6CTokenFv +lbl_802C056C: +/* 802C056C 002BD4CC 9B FE 00 58 */ stb r31, 0x58(r30) +lbl_802C0570: +/* 802C0570 002BD4D0 28 1C 00 00 */ cmplwi r28, 0 +/* 802C0574 002BD4D4 41 82 00 0C */ beq lbl_802C0580 +/* 802C0578 002BD4D8 7F 83 E3 78 */ mr r3, r28 +/* 802C057C 002BD4DC 48 05 53 B5 */ bl Free__7CMemoryFPCv +lbl_802C0580: +/* 802C0580 002BD4E0 80 1A 00 08 */ lwz r0, 8(r26) +/* 802C0584 002BD4E4 7C 1D 00 40 */ cmplw r29, r0 +/* 802C0588 002BD4E8 40 82 FF A8 */ bne lbl_802C0530 +/* 802C058C 002BD4EC 7F 60 07 35 */ extsh. r0, r27 +/* 802C0590 002BD4F0 40 81 00 0C */ ble lbl_802C059C +/* 802C0594 002BD4F4 7F 43 D3 78 */ mr r3, r26 +/* 802C0598 002BD4F8 48 05 53 99 */ bl Free__7CMemoryFPCv +lbl_802C059C: +/* 802C059C 002BD4FC 7F 43 D3 78 */ mr r3, r26 +/* 802C05A0 002BD500 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C05A4 002BD504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C05A8 002BD508 7C 08 03 A6 */ mtlr r0 +/* 802C05AC 002BD50C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C05B0 002BD510 4E 80 00 20 */ blr + +.global sub_802c05b4 +sub_802c05b4: +/* 802C05B4 002BD514 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C05B8 002BD518 7C 08 02 A6 */ mflr r0 +/* 802C05BC 002BD51C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C05C0 002BD520 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C05C4 002BD524 93 C1 00 08 */ stw r30, 8(r1) +/* 802C05C8 002BD528 7C 7E 1B 78 */ mr r30, r3 +/* 802C05CC 002BD52C 80 03 00 04 */ lwz r0, 4(r3) +/* 802C05D0 002BD530 83 E4 00 04 */ lwz r31, 4(r4) +/* 802C05D4 002BD534 7C 04 00 40 */ cmplw r4, r0 +/* 802C05D8 002BD538 40 82 00 08 */ bne lbl_802C05E0 +/* 802C05DC 002BD53C 93 FE 00 04 */ stw r31, 4(r30) +lbl_802C05E0: +/* 802C05E0 002BD540 80 04 00 04 */ lwz r0, 4(r4) +/* 802C05E4 002BD544 28 04 00 00 */ cmplwi r4, 0 +/* 802C05E8 002BD548 80 64 00 00 */ lwz r3, 0(r4) +/* 802C05EC 002BD54C 90 03 00 04 */ stw r0, 4(r3) +/* 802C05F0 002BD550 80 04 00 00 */ lwz r0, 0(r4) +/* 802C05F4 002BD554 80 64 00 04 */ lwz r3, 4(r4) +/* 802C05F8 002BD558 90 03 00 00 */ stw r0, 0(r3) +/* 802C05FC 002BD55C 41 82 00 0C */ beq lbl_802C0608 +/* 802C0600 002BD560 7C 83 23 78 */ mr r3, r4 +/* 802C0604 002BD564 48 05 53 2D */ bl Free__7CMemoryFPCv +lbl_802C0608: +/* 802C0608 002BD568 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802C060C 002BD56C 7F E3 FB 78 */ mr r3, r31 +/* 802C0610 002BD570 38 04 FF FF */ addi r0, r4, -1 +/* 802C0614 002BD574 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802C0618 002BD578 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C061C 002BD57C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C0620 002BD580 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C0624 002BD584 7C 08 03 A6 */ mtlr r0 +/* 802C0628 002BD588 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C062C 002BD58C 4E 80 00 20 */ blr + +.global sub_802c0630 +sub_802c0630: +/* 802C0630 002BD590 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0634 002BD594 7C 08 02 A6 */ mflr r0 +/* 802C0638 002BD598 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C063C 002BD59C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0640 002BD5A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C0644 002BD5A4 7C 9E 23 78 */ mr r30, r4 +/* 802C0648 002BD5A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C064C 002BD5AC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C0650 002BD5B0 41 82 00 38 */ beq lbl_802C0688 +/* 802C0654 002BD5B4 83 FD 00 04 */ lwz r31, 4(r29) +/* 802C0658 002BD5B8 48 00 00 14 */ b lbl_802C066C +lbl_802C065C: +/* 802C065C 002BD5BC 7F E3 FB 79 */ or. r3, r31, r31 +/* 802C0660 002BD5C0 83 FF 00 04 */ lwz r31, 4(r31) +/* 802C0664 002BD5C4 41 82 00 08 */ beq lbl_802C066C +/* 802C0668 002BD5C8 48 05 52 C9 */ bl Free__7CMemoryFPCv +lbl_802C066C: +/* 802C066C 002BD5CC 80 1D 00 08 */ lwz r0, 8(r29) +/* 802C0670 002BD5D0 7C 1F 00 40 */ cmplw r31, r0 +/* 802C0674 002BD5D4 40 82 FF E8 */ bne lbl_802C065C +/* 802C0678 002BD5D8 7F C0 07 35 */ extsh. r0, r30 +/* 802C067C 002BD5DC 40 81 00 0C */ ble lbl_802C0688 +/* 802C0680 002BD5E0 7F A3 EB 78 */ mr r3, r29 +/* 802C0684 002BD5E4 48 05 52 AD */ bl Free__7CMemoryFPCv +lbl_802C0688: +/* 802C0688 002BD5E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C068C 002BD5EC 7F A3 EB 78 */ mr r3, r29 +/* 802C0690 002BD5F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0694 002BD5F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C0698 002BD5F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C069C 002BD5FC 7C 08 03 A6 */ mtlr r0 +/* 802C06A0 002BD600 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C06A4 002BD604 4E 80 00 20 */ blr + +.global sub_802c06a8 +sub_802c06a8: +/* 802C06A8 002BD608 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C06AC 002BD60C 7C 08 02 A6 */ mflr r0 +/* 802C06B0 002BD610 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C06B4 002BD614 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C06B8 002BD618 7C 9F 23 78 */ mr r31, r4 +/* 802C06BC 002BD61C 7C 7E 1B 78 */ mr r30, r3 +/* 802C06C0 002BD620 80 03 00 08 */ lwz r0, 8(r3) +/* 802C06C4 002BD624 7C 1F 00 00 */ cmpw r31, r0 +/* 802C06C8 002BD628 40 81 00 D4 */ ble lbl_802C079C +/* 802C06CC 002BD62C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802C06D0 002BD630 40 82 00 0C */ bne lbl_802C06DC +/* 802C06D4 002BD634 3B A0 00 00 */ li r29, 0 +/* 802C06D8 002BD638 48 00 00 18 */ b lbl_802C06F0 +lbl_802C06DC: +/* 802C06DC 002BD63C 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802C06E0 002BD640 38 A0 00 00 */ li r5, 0 +/* 802C06E4 002BD644 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802C06E8 002BD648 48 05 51 31 */ bl __nwa__FUlPCcPCc +/* 802C06EC 002BD64C 7C 7D 1B 78 */ mr r29, r3 +lbl_802C06F0: +/* 802C06F0 002BD650 80 7E 00 04 */ lwz r3, 4(r30) +/* 802C06F4 002BD654 7F A5 EB 78 */ mr r5, r29 +/* 802C06F8 002BD658 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802C06FC 002BD65C 38 00 00 00 */ li r0, 0 +/* 802C0700 002BD660 54 63 18 38 */ slwi r3, r3, 3 +/* 802C0704 002BD664 7C 86 1A 14 */ add r4, r6, r3 +/* 802C0708 002BD668 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802C070C 002BD66C 90 81 00 08 */ stw r4, 8(r1) +/* 802C0710 002BD670 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C0714 002BD674 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802C0718 002BD678 48 00 00 28 */ b lbl_802C0740 +lbl_802C071C: +/* 802C071C 002BD67C 28 05 00 00 */ cmplwi r5, 0 +/* 802C0720 002BD680 41 82 00 18 */ beq lbl_802C0738 +/* 802C0724 002BD684 88 66 00 00 */ lbz r3, 0(r6) +/* 802C0728 002BD688 98 65 00 00 */ stb r3, 0(r5) +/* 802C072C 002BD68C 80 66 00 04 */ lwz r3, 4(r6) +/* 802C0730 002BD690 90 65 00 04 */ stw r3, 4(r5) +/* 802C0734 002BD694 98 06 00 00 */ stb r0, 0(r6) +lbl_802C0738: +/* 802C0738 002BD698 38 A5 00 08 */ addi r5, r5, 8 +/* 802C073C 002BD69C 38 C6 00 08 */ addi r6, r6, 8 +lbl_802C0740: +/* 802C0740 002BD6A0 7C 06 20 40 */ cmplw r6, r4 +/* 802C0744 002BD6A4 40 82 FF D8 */ bne lbl_802C071C +/* 802C0748 002BD6A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C074C 002BD6AC 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802C0750 002BD6B0 54 00 18 38 */ slwi r0, r0, 3 +/* 802C0754 002BD6B4 7F 9B 02 14 */ add r28, r27, r0 +/* 802C0758 002BD6B8 48 00 00 24 */ b lbl_802C077C +lbl_802C075C: +/* 802C075C 002BD6BC 28 1B 00 00 */ cmplwi r27, 0 +/* 802C0760 002BD6C0 41 82 00 18 */ beq lbl_802C0778 +/* 802C0764 002BD6C4 88 1B 00 00 */ lbz r0, 0(r27) +/* 802C0768 002BD6C8 28 00 00 00 */ cmplwi r0, 0 +/* 802C076C 002BD6CC 41 82 00 0C */ beq lbl_802C0778 +/* 802C0770 002BD6D0 80 7B 00 04 */ lwz r3, 4(r27) +/* 802C0774 002BD6D4 48 05 51 BD */ bl Free__7CMemoryFPCv +lbl_802C0778: +/* 802C0778 002BD6D8 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802C077C: +/* 802C077C 002BD6DC 7C 1B E0 40 */ cmplw r27, r28 +/* 802C0780 002BD6E0 40 82 FF DC */ bne lbl_802C075C +/* 802C0784 002BD6E4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C0788 002BD6E8 28 03 00 00 */ cmplwi r3, 0 +/* 802C078C 002BD6EC 41 82 00 08 */ beq lbl_802C0794 +/* 802C0790 002BD6F0 48 05 51 A1 */ bl Free__7CMemoryFPCv +lbl_802C0794: +/* 802C0794 002BD6F4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802C0798 002BD6F8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802C079C: +/* 802C079C 002BD6FC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C07A0 002BD700 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C07A4 002BD704 7C 08 03 A6 */ mtlr r0 +/* 802C07A8 002BD708 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C07AC 002BD70C 4E 80 00 20 */ blr + +.global sub_802c07b0 +sub_802c07b0: +/* 802C07B0 002BD710 39 03 00 02 */ addi r8, r3, 2 +/* 802C07B4 002BD714 38 04 00 01 */ addi r0, r4, 1 +/* 802C07B8 002BD718 7C 08 00 50 */ subf r0, r8, r0 +/* 802C07BC 002BD71C 54 00 F8 7E */ srwi r0, r0, 1 +/* 802C07C0 002BD720 7C 09 03 A6 */ mtctr r0 +/* 802C07C4 002BD724 7C 08 20 40 */ cmplw r8, r4 +/* 802C07C8 002BD728 4C 80 00 20 */ bgelr +lbl_802C07CC: +/* 802C07CC 002BD72C A1 28 00 00 */ lhz r9, 0(r8) +/* 802C07D0 002BD730 7D 0B 43 78 */ mr r11, r8 +/* 802C07D4 002BD734 39 48 FF FE */ addi r10, r8, -2 +/* 802C07D8 002BD738 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 +/* 802C07DC 002BD73C 48 00 00 10 */ b lbl_802C07EC +lbl_802C07E0: +/* 802C07E0 002BD740 B0 EB 00 00 */ sth r7, 0(r11) +/* 802C07E4 002BD744 39 6B FF FE */ addi r11, r11, -2 +/* 802C07E8 002BD748 39 4A FF FE */ addi r10, r10, -2 +lbl_802C07EC: +/* 802C07EC 002BD74C 7C 03 58 40 */ cmplw r3, r11 +/* 802C07F0 002BD750 40 80 00 2C */ bge lbl_802C081C +/* 802C07F4 002BD754 80 8D A6 1C */ lwz r4, lbl_805A91DC@sda21(r13) +/* 802C07F8 002BD758 A0 EA 00 00 */ lhz r7, 0(r10) +/* 802C07FC 002BD75C 38 A4 00 04 */ addi r5, r4, 4 +/* 802C0800 002BD760 54 E0 32 B2 */ rlwinm r0, r7, 6, 0xa, 0x19 +/* 802C0804 002BD764 7C 85 32 14 */ add r4, r5, r6 +/* 802C0808 002BD768 7C A5 02 14 */ add r5, r5, r0 +/* 802C080C 002BD76C C0 24 00 20 */ lfs f1, 0x20(r4) +/* 802C0810 002BD770 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802C0814 002BD774 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0818 002BD778 41 80 FF C8 */ blt lbl_802C07E0 +lbl_802C081C: +/* 802C081C 002BD77C B1 2B 00 00 */ sth r9, 0(r11) +/* 802C0820 002BD780 39 08 00 02 */ addi r8, r8, 2 +/* 802C0824 002BD784 42 00 FF A8 */ bdnz lbl_802C07CC + +.global sub_802c0828 +sub_802c0828: +/* 802C0828 002BD788 4E 80 00 20 */ blr + +.global sub_802c082c +sub_802c082c: +/* 802C082C 002BD78C 38 C3 00 04 */ addi r6, r3, 4 +/* 802C0830 002BD790 38 04 00 03 */ addi r0, r4, 3 +/* 802C0834 002BD794 7C 06 00 50 */ subf r0, r6, r0 +/* 802C0838 002BD798 54 00 F0 BE */ srwi r0, r0, 2 +/* 802C083C 002BD79C 7C 09 03 A6 */ mtctr r0 +/* 802C0840 002BD7A0 7C 06 20 40 */ cmplw r6, r4 +/* 802C0844 002BD7A4 4C 80 00 20 */ bgelr +lbl_802C0848: +/* 802C0848 002BD7A8 80 E6 00 00 */ lwz r7, 0(r6) +/* 802C084C 002BD7AC 7C C9 33 78 */ mr r9, r6 +/* 802C0850 002BD7B0 39 06 FF FC */ addi r8, r6, -4 +/* 802C0854 002BD7B4 48 00 00 10 */ b lbl_802C0864 +lbl_802C0858: +/* 802C0858 002BD7B8 90 A9 00 00 */ stw r5, 0(r9) +/* 802C085C 002BD7BC 39 29 FF FC */ addi r9, r9, -4 +/* 802C0860 002BD7C0 39 08 FF FC */ addi r8, r8, -4 +lbl_802C0864: +/* 802C0864 002BD7C4 7C 03 48 40 */ cmplw r3, r9 +/* 802C0868 002BD7C8 40 80 00 40 */ bge lbl_802C08A8 +/* 802C086C 002BD7CC 80 A8 00 00 */ lwz r5, 0(r8) +/* 802C0870 002BD7D0 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C0874 002BD7D4 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 802C0878 002BD7D8 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C087C 002BD7DC 40 82 00 18 */ bne lbl_802C0894 +/* 802C0880 002BD7E0 A0 87 00 02 */ lhz r4, 2(r7) +/* 802C0884 002BD7E4 A0 05 00 02 */ lhz r0, 2(r5) +/* 802C0888 002BD7E8 7C 04 00 50 */ subf r0, r4, r0 +/* 802C088C 002BD7EC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C0890 002BD7F0 48 00 00 10 */ b lbl_802C08A0 +lbl_802C0894: +/* 802C0894 002BD7F4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0898 002BD7F8 7C 00 00 26 */ mfcr r0 +/* 802C089C 002BD7FC 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C08A0: +/* 802C08A0 002BD800 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C08A4 002BD804 40 82 FF B4 */ bne lbl_802C0858 +lbl_802C08A8: +/* 802C08A8 002BD808 90 E9 00 00 */ stw r7, 0(r9) +/* 802C08AC 002BD80C 38 C6 00 04 */ addi r6, r6, 4 +/* 802C08B0 002BD810 42 00 FF 98 */ bdnz lbl_802C0848 + +.global sub_802c08b4 +sub_802c08b4: +/* 802C08B4 002BD814 4E 80 00 20 */ blr + +.global sub_802c08b8 +sub_802c08b8: +/* 802C08B8 002BD818 80 E3 00 00 */ lwz r7, 0(r3) +/* 802C08BC 002BD81C 81 04 00 00 */ lwz r8, 0(r4) +/* 802C08C0 002BD820 C0 27 00 20 */ lfs f1, 0x20(r7) +/* 802C08C4 002BD824 C0 08 00 20 */ lfs f0, 0x20(r8) +/* 802C08C8 002BD828 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C08CC 002BD82C 40 82 00 18 */ bne lbl_802C08E4 +/* 802C08D0 002BD830 A0 C8 00 02 */ lhz r6, 2(r8) +/* 802C08D4 002BD834 A0 07 00 02 */ lhz r0, 2(r7) +/* 802C08D8 002BD838 7C 06 00 50 */ subf r0, r6, r0 +/* 802C08DC 002BD83C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C08E0 002BD840 48 00 00 10 */ b lbl_802C08F0 +lbl_802C08E4: +/* 802C08E4 002BD844 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C08E8 002BD848 7C 00 00 26 */ mfcr r0 +/* 802C08EC 002BD84C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C08F0: +/* 802C08F0 002BD850 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C08F4 002BD854 41 82 00 0C */ beq lbl_802C0900 +/* 802C08F8 002BD858 91 03 00 00 */ stw r8, 0(r3) +/* 802C08FC 002BD85C 90 E4 00 00 */ stw r7, 0(r4) +lbl_802C0900: +/* 802C0900 002BD860 81 04 00 00 */ lwz r8, 0(r4) +/* 802C0904 002BD864 80 E5 00 00 */ lwz r7, 0(r5) +/* 802C0908 002BD868 C0 28 00 20 */ lfs f1, 0x20(r8) +/* 802C090C 002BD86C C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C0910 002BD870 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C0914 002BD874 40 82 00 18 */ bne lbl_802C092C +/* 802C0918 002BD878 A0 C7 00 02 */ lhz r6, 2(r7) +/* 802C091C 002BD87C A0 08 00 02 */ lhz r0, 2(r8) +/* 802C0920 002BD880 7C 06 00 50 */ subf r0, r6, r0 +/* 802C0924 002BD884 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C0928 002BD888 48 00 00 10 */ b lbl_802C0938 +lbl_802C092C: +/* 802C092C 002BD88C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0930 002BD890 7C 00 00 26 */ mfcr r0 +/* 802C0934 002BD894 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C0938: +/* 802C0938 002BD898 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C093C 002BD89C 4D 82 00 20 */ beqlr +/* 802C0940 002BD8A0 91 05 00 00 */ stw r8, 0(r5) +/* 802C0944 002BD8A4 80 C3 00 00 */ lwz r6, 0(r3) +/* 802C0948 002BD8A8 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C094C 002BD8AC C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C0950 002BD8B0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C0954 002BD8B4 40 82 00 18 */ bne lbl_802C096C +/* 802C0958 002BD8B8 A0 A7 00 02 */ lhz r5, 2(r7) +/* 802C095C 002BD8BC A0 06 00 02 */ lhz r0, 2(r6) +/* 802C0960 002BD8C0 7C 05 00 50 */ subf r0, r5, r0 +/* 802C0964 002BD8C4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C0968 002BD8C8 48 00 00 10 */ b lbl_802C0978 +lbl_802C096C: +/* 802C096C 002BD8CC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0970 002BD8D0 7C 00 00 26 */ mfcr r0 +/* 802C0974 002BD8D4 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C0978: +/* 802C0978 002BD8D8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C097C 002BD8DC 41 82 00 10 */ beq lbl_802C098C +/* 802C0980 002BD8E0 90 C4 00 00 */ stw r6, 0(r4) +/* 802C0984 002BD8E4 90 E3 00 00 */ stw r7, 0(r3) +/* 802C0988 002BD8E8 4E 80 00 20 */ blr +lbl_802C098C: +/* 802C098C 002BD8EC 90 E4 00 00 */ stw r7, 0(r4) +/* 802C0990 002BD8F0 4E 80 00 20 */ blr + +.global sub_802c0994 +sub_802c0994: +/* 802C0994 002BD8F4 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) +/* 802C0998 002BD8F8 A1 24 00 00 */ lhz r9, 0(r4) +/* 802C099C 002BD8FC A1 03 00 00 */ lhz r8, 0(r3) +/* 802C09A0 002BD900 38 E6 00 04 */ addi r7, r6, 4 +/* 802C09A4 002BD904 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 +/* 802C09A8 002BD908 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 +/* 802C09AC 002BD90C 7C C7 32 14 */ add r6, r7, r6 +/* 802C09B0 002BD910 7C E7 02 14 */ add r7, r7, r0 +/* 802C09B4 002BD914 C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C09B8 002BD918 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C09BC 002BD91C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C09C0 002BD920 40 80 00 0C */ bge lbl_802C09CC +/* 802C09C4 002BD924 B1 23 00 00 */ sth r9, 0(r3) +/* 802C09C8 002BD928 B1 04 00 00 */ sth r8, 0(r4) +lbl_802C09CC: +/* 802C09CC 002BD92C 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) +/* 802C09D0 002BD930 A1 25 00 00 */ lhz r9, 0(r5) +/* 802C09D4 002BD934 A1 44 00 00 */ lhz r10, 0(r4) +/* 802C09D8 002BD938 39 06 00 04 */ addi r8, r6, 4 +/* 802C09DC 002BD93C 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 +/* 802C09E0 002BD940 55 40 32 B2 */ rlwinm r0, r10, 6, 0xa, 0x19 +/* 802C09E4 002BD944 7C E8 32 14 */ add r7, r8, r6 +/* 802C09E8 002BD948 7D 08 02 14 */ add r8, r8, r0 +/* 802C09EC 002BD94C C0 27 00 20 */ lfs f1, 0x20(r7) +/* 802C09F0 002BD950 C0 08 00 20 */ lfs f0, 0x20(r8) +/* 802C09F4 002BD954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C09F8 002BD958 4C 80 00 20 */ bgelr +/* 802C09FC 002BD95C B1 45 00 00 */ sth r10, 0(r5) +/* 802C0A00 002BD960 80 AD A6 1C */ lwz r5, lbl_805A91DC@sda21(r13) +/* 802C0A04 002BD964 A1 03 00 00 */ lhz r8, 0(r3) +/* 802C0A08 002BD968 38 E5 00 04 */ addi r7, r5, 4 +/* 802C0A0C 002BD96C 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 +/* 802C0A10 002BD970 7C A7 32 14 */ add r5, r7, r6 +/* 802C0A14 002BD974 7C C7 02 14 */ add r6, r7, r0 +/* 802C0A18 002BD978 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 802C0A1C 002BD97C C0 06 00 20 */ lfs f0, 0x20(r6) +/* 802C0A20 002BD980 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0A24 002BD984 40 80 00 10 */ bge lbl_802C0A34 +/* 802C0A28 002BD988 B1 04 00 00 */ sth r8, 0(r4) +/* 802C0A2C 002BD98C B1 23 00 00 */ sth r9, 0(r3) +/* 802C0A30 002BD990 4E 80 00 20 */ blr +lbl_802C0A34: +/* 802C0A34 002BD994 B1 24 00 00 */ sth r9, 0(r4) +/* 802C0A38 002BD998 4E 80 00 20 */ blr + +.global __sinit_CCubeRenderer_cpp +__sinit_CCubeRenderer_cpp: +/* 802C0A3C 002BD99C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0A40 002BD9A0 7C 08 02 A6 */ mflr r0 +/* 802C0A44 002BD9A4 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802C0A48 002BD9A8 38 80 00 00 */ li r4, 0 +/* 802C0A4C 002BD9AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0A50 002BD9B0 38 00 00 03 */ li r0, 3 +/* 802C0A54 002BD9B4 FC 40 08 90 */ fmr f2, f1 +/* 802C0A58 002BD9B8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C0A5C 002BD9BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0A60 002BD9C0 FC 60 08 90 */ fmr f3, f1 +/* 802C0A64 002BD9C4 FC 80 08 90 */ fmr f4, f1 +/* 802C0A68 002BD9C8 98 81 00 10 */ stb r4, 0x10(r1) +/* 802C0A6C 002BD9CC 98 81 00 11 */ stb r4, 0x11(r1) +/* 802C0A70 002BD9D0 B0 01 00 12 */ sth r0, 0x12(r1) +/* 802C0A74 002BD9D4 48 0A 29 79 */ bl __ct__6CColorFffff +/* 802C0A78 002BD9D8 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802C0A7C 002BD9DC 38 80 00 00 */ li r4, 0 +/* 802C0A80 002BD9E0 89 21 00 10 */ lbz r9, 0x10(r1) +/* 802C0A84 002BD9E4 38 00 00 03 */ li r0, 3 +/* 802C0A88 002BD9E8 89 01 00 11 */ lbz r8, 0x11(r1) +/* 802C0A8C 002BD9EC 38 ED A5 F4 */ addi r7, r13, lbl_805A91B4@sda21 +/* 802C0A90 002BD9F0 A0 C1 00 12 */ lhz r6, 0x12(r1) +/* 802C0A94 002BD9F4 FC 40 08 90 */ fmr f2, f1 +/* 802C0A98 002BD9F8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802C0A9C 002BD9FC FC 60 08 90 */ fmr f3, f1 +/* 802C0AA0 002BDA00 FC 80 08 90 */ fmr f4, f1 +/* 802C0AA4 002BDA04 99 2D A5 F4 */ stb r9, lbl_805A91B4@sda21(r13) +/* 802C0AA8 002BDA08 38 61 00 0C */ addi r3, r1, 0xc +/* 802C0AAC 002BDA0C 99 07 00 01 */ stb r8, 1(r7) +/* 802C0AB0 002BDA10 B0 C7 00 02 */ sth r6, 2(r7) +/* 802C0AB4 002BDA14 90 A7 00 04 */ stw r5, 4(r7) +/* 802C0AB8 002BDA18 98 81 00 08 */ stb r4, 8(r1) +/* 802C0ABC 002BDA1C 98 81 00 09 */ stb r4, 9(r1) +/* 802C0AC0 002BDA20 B0 01 00 0A */ sth r0, 0xa(r1) +/* 802C0AC4 002BDA24 48 0A 29 29 */ bl __ct__6CColorFffff +/* 802C0AC8 002BDA28 A0 01 00 0A */ lhz r0, 0xa(r1) +/* 802C0ACC 002BDA2C 3C 80 80 2C */ lis r4, sub_802c0b50@ha +/* 802C0AD0 002BDA30 89 41 00 08 */ lbz r10, 8(r1) +/* 802C0AD4 002BDA34 3C A0 80 47 */ lis r5, lbl_8046E200@ha +/* 802C0AD8 002BDA38 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 802C0ADC 002BDA3C C0 2D 9A 98 */ lfs f1, lbl_805A8658@sda21(r13) +/* 802C0AE0 002BDA40 60 07 00 01 */ ori r7, r0, 1 +/* 802C0AE4 002BDA44 39 0D A5 FC */ addi r8, r13, lbl_805A91BC@sda21 +/* 802C0AE8 002BDA48 89 21 00 09 */ lbz r9, 9(r1) +/* 802C0AEC 002BDA4C 38 00 00 00 */ li r0, 0 +/* 802C0AF0 002BDA50 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 802C0AF4 002BDA54 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802C0AF8 002BDA58 C0 0D 9A 9C */ lfs f0, lbl_805A865C@sda21(r13) +/* 802C0AFC 002BDA5C 3B ED A6 04 */ addi r31, r13, lbl_805A91C4@sda21 +/* 802C0B00 002BDA60 99 4D A5 FC */ stb r10, lbl_805A91BC@sda21(r13) +/* 802C0B04 002BDA64 38 84 0B 50 */ addi r4, r4, sub_802c0b50@l +/* 802C0B08 002BDA68 38 A5 E2 00 */ addi r5, r5, lbl_8046E200@l +/* 802C0B0C 002BDA6C 99 28 00 01 */ stb r9, 1(r8) +/* 802C0B10 002BDA70 B0 E8 00 02 */ sth r7, 2(r8) +/* 802C0B14 002BDA74 90 C8 00 04 */ stw r6, 4(r8) +/* 802C0B18 002BDA78 D0 2D A6 04 */ stfs f1, lbl_805A91C4@sda21(r13) +/* 802C0B1C 002BDA7C D0 1F 00 04 */ stfs f0, 4(r31) +/* 802C0B20 002BDA80 94 03 E2 0C */ stwu r0, lbl_8046E20C@l(r3) +/* 802C0B24 002BDA84 48 0C 8B 69 */ bl __register_global_object +/* 802C0B28 002BDA88 C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) +/* 802C0B2C 002BDA8C 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802C0B30 002BDA90 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802C0B34 002BDA94 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) +/* 802C0B38 002BDA98 D0 03 00 04 */ stfs f0, 4(r3) +/* 802C0B3C 002BDA9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0B40 002BDAA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C0B44 002BDAA4 7C 08 03 A6 */ mtlr r0 +/* 802C0B48 002BDAA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0B4C 002BDAAC 4E 80 00 20 */ blr + +.global sub_802c0b50 +sub_802c0b50: +/* 802C0B50 002BDAB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C0B54 002BDAB4 7C 08 02 A6 */ mflr r0 +/* 802C0B58 002BDAB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C0B5C 002BDABC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C0B60 002BDAC0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C0B64 002BDAC4 41 82 00 68 */ beq lbl_802C0BCC +/* 802C0B68 002BDAC8 80 DF 00 00 */ lwz r6, 0(r31) +/* 802C0B6C 002BDACC 38 60 00 00 */ li r3, 0 +/* 802C0B70 002BDAD0 2C 06 00 00 */ cmpwi r6, 0 +/* 802C0B74 002BDAD4 40 81 00 40 */ ble lbl_802C0BB4 +/* 802C0B78 002BDAD8 2C 06 00 08 */ cmpwi r6, 8 +/* 802C0B7C 002BDADC 38 A6 FF F8 */ addi r5, r6, -8 +/* 802C0B80 002BDAE0 40 81 00 20 */ ble lbl_802C0BA0 +/* 802C0B84 002BDAE4 38 05 00 07 */ addi r0, r5, 7 +/* 802C0B88 002BDAE8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802C0B8C 002BDAEC 7C 09 03 A6 */ mtctr r0 +/* 802C0B90 002BDAF0 2C 05 00 00 */ cmpwi r5, 0 +/* 802C0B94 002BDAF4 40 81 00 0C */ ble lbl_802C0BA0 +lbl_802C0B98: +/* 802C0B98 002BDAF8 38 63 00 08 */ addi r3, r3, 8 +/* 802C0B9C 002BDAFC 42 00 FF FC */ bdnz lbl_802C0B98 +lbl_802C0BA0: +/* 802C0BA0 002BDB00 7C 03 30 50 */ subf r0, r3, r6 +/* 802C0BA4 002BDB04 7C 09 03 A6 */ mtctr r0 +/* 802C0BA8 002BDB08 7C 03 30 00 */ cmpw r3, r6 +/* 802C0BAC 002BDB0C 40 80 00 08 */ bge lbl_802C0BB4 +lbl_802C0BB0: +/* 802C0BB0 002BDB10 42 00 00 00 */ bdnz lbl_802C0BB0 +lbl_802C0BB4: +/* 802C0BB4 002BDB14 38 60 00 00 */ li r3, 0 +/* 802C0BB8 002BDB18 7C 80 07 35 */ extsh. r0, r4 +/* 802C0BBC 002BDB1C 90 7F 00 00 */ stw r3, 0(r31) +/* 802C0BC0 002BDB20 40 81 00 0C */ ble lbl_802C0BCC +/* 802C0BC4 002BDB24 7F E3 FB 78 */ mr r3, r31 +/* 802C0BC8 002BDB28 48 05 4D 69 */ bl Free__7CMemoryFPCv +lbl_802C0BCC: +/* 802C0BCC 002BDB2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C0BD0 002BDB30 7F E3 FB 78 */ mr r3, r31 +/* 802C0BD4 002BDB34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C0BD8 002BDB38 7C 08 03 A6 */ mtlr r0 +/* 802C0BDC 002BDB3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C0BE0 002BDB40 4E 80 00 20 */ blr + +.global "@4@AddParticleGen__13CCubeRendererFRC12CParticleGen" +"@4@AddParticleGen__13CCubeRendererFRC12CParticleGen": +/* 802C0BE4 002BDB44 38 63 FF FC */ addi r3, r3, -4 +/* 802C0BE8 002BDB48 4B FF CF 5C */ b AddParticleGen__13CCubeRendererFRC12CParticleGen + +.global "@4@__dt__13CCubeRendererFv" +"@4@__dt__13CCubeRendererFv": +/* 802C0BEC 002BDB4C 38 63 FF FC */ addi r3, r3, -4 +/* 802C0BF0 002BDB50 4B FF DA A8 */ b __dt__13CCubeRendererFv diff --git a/asm/Weapons/CCollisionResponseData.s b/asm/Weapons/CCollisionResponseData.s new file mode 100644 index 00000000..9e07571f --- /dev/null +++ b/asm/Weapons/CCollisionResponseData.s @@ -0,0 +1,1583 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FCollisionResponseDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FCollisionResponseDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802B2158 002AF0B8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B215C 002AF0BC 7C 08 02 A6 */ mflr r0 +/* 802B2160 002AF0C0 3C 80 80 3D */ lis r4, lbl_803D6540@ha +/* 802B2164 002AF0C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B2168 002AF0C8 38 84 65 40 */ addi r4, r4, lbl_803D6540@l +/* 802B216C 002AF0CC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B2170 002AF0D0 7C 7F 1B 78 */ mr r31, r3 +/* 802B2174 002AF0D4 38 60 00 38 */ li r3, 0x38 +/* 802B2178 002AF0D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B217C 002AF0DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B2180 002AF0E0 7C BD 2B 78 */ mr r29, r5 +/* 802B2184 002AF0E4 38 A0 00 00 */ li r5, 0 +/* 802B2188 002AF0E8 80 E6 00 00 */ lwz r7, 0(r6) +/* 802B218C 002AF0EC 90 E1 00 08 */ stw r7, 8(r1) +/* 802B2190 002AF0F0 80 C7 00 04 */ lwz r6, 4(r7) +/* 802B2194 002AF0F4 38 06 00 01 */ addi r0, r6, 1 +/* 802B2198 002AF0F8 90 07 00 04 */ stw r0, 4(r7) +/* 802B219C 002AF0FC 80 C1 00 08 */ lwz r6, 8(r1) +/* 802B21A0 002AF100 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B21A4 002AF104 83 C6 00 04 */ lwz r30, 4(r6) +/* 802B21A8 002AF108 48 06 36 C5 */ bl __nw__FUlPCcPCc +/* 802B21AC 002AF10C 7C 64 1B 79 */ or. r4, r3, r3 +/* 802B21B0 002AF110 41 82 00 14 */ beq lbl_802B21C4 +/* 802B21B4 002AF114 7F A4 EB 78 */ mr r4, r29 +/* 802B21B8 002AF118 7F C5 F3 78 */ mr r5, r30 +/* 802B21BC 002AF11C 48 00 0C 7D */ bl __ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool +/* 802B21C0 002AF120 7C 64 1B 78 */ mr r4, r3 +lbl_802B21C4: +/* 802B21C4 002AF124 7C 04 00 D0 */ neg r0, r4 +/* 802B21C8 002AF128 90 81 00 10 */ stw r4, 0x10(r1) +/* 802B21CC 002AF12C 7C 00 23 78 */ or r0, r0, r4 +/* 802B21D0 002AF130 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B21D4 002AF134 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B21D8 002AF138 38 81 00 0C */ addi r4, r1, 0xc +/* 802B21DC 002AF13C 98 01 00 0C */ stb r0, 0xc(r1) +/* 802B21E0 002AF140 48 00 01 1D */ bl "GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +/* 802B21E4 002AF144 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B21E8 002AF148 38 00 00 00 */ li r0, 0 +/* 802B21EC 002AF14C 98 01 00 14 */ stb r0, 0x14(r1) +/* 802B21F0 002AF150 7C 03 00 D0 */ neg r0, r3 +/* 802B21F4 002AF154 7C 00 1B 78 */ or r0, r0, r3 +/* 802B21F8 002AF158 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B21FC 002AF15C 98 1F 00 00 */ stb r0, 0(r31) +/* 802B2200 002AF160 90 7F 00 04 */ stw r3, 4(r31) +/* 802B2204 002AF164 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802B2208 002AF168 28 00 00 00 */ cmplwi r0, 0 +/* 802B220C 002AF16C 41 82 00 24 */ beq lbl_802B2230 +/* 802B2210 002AF170 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B2214 002AF174 28 03 00 00 */ cmplwi r3, 0 +/* 802B2218 002AF178 41 82 00 18 */ beq lbl_802B2230 +/* 802B221C 002AF17C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B2220 002AF180 38 80 00 01 */ li r4, 1 +/* 802B2224 002AF184 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B2228 002AF188 7D 89 03 A6 */ mtctr r12 +/* 802B222C 002AF18C 4E 80 04 21 */ bctrl +lbl_802B2230: +/* 802B2230 002AF190 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802B2234 002AF194 28 00 00 00 */ cmplwi r0, 0 +/* 802B2238 002AF198 41 82 00 10 */ beq lbl_802B2248 +/* 802B223C 002AF19C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B2240 002AF1A0 38 80 00 01 */ li r4, 1 +/* 802B2244 002AF1A4 48 00 04 BD */ bl sub_802b2700 +lbl_802B2248: +/* 802B2248 002AF1A8 38 61 00 08 */ addi r3, r1, 8 +/* 802B224C 002AF1AC 4B D8 20 B9 */ bl sub_80034304 +/* 802B2250 002AF1B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2254 002AF1B4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B2258 002AF1B8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B225C 002AF1BC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B2260 002AF1C0 7C 08 03 A6 */ mtlr r0 +/* 802B2264 002AF1C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B2268 002AF1C8 4E 80 00 20 */ blr + +.global "__dt__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>Fv" +"__dt__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>Fv": +/* 802B226C 002AF1CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2270 002AF1D0 7C 08 02 A6 */ mflr r0 +/* 802B2274 002AF1D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2278 002AF1D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B227C 002AF1DC 7C 9F 23 78 */ mr r31, r4 +/* 802B2280 002AF1E0 93 C1 00 08 */ stw r30, 8(r1) +/* 802B2284 002AF1E4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B2288 002AF1E8 41 82 00 58 */ beq lbl_802B22E0 +/* 802B228C 002AF1EC 3C 60 80 3F */ lis r3, lbl_803EC518@ha +/* 802B2290 002AF1F0 38 03 C5 18 */ addi r0, r3, lbl_803EC518@l +/* 802B2294 002AF1F4 90 1E 00 00 */ stw r0, 0(r30) +/* 802B2298 002AF1F8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B229C 002AF1FC 28 03 00 00 */ cmplwi r3, 0 +/* 802B22A0 002AF200 41 82 00 0C */ beq lbl_802B22AC +/* 802B22A4 002AF204 38 80 00 01 */ li r4, 1 +/* 802B22A8 002AF208 48 00 04 59 */ bl sub_802b2700 +lbl_802B22AC: +/* 802B22AC 002AF20C 28 1E 00 00 */ cmplwi r30, 0 +/* 802B22B0 002AF210 41 82 00 20 */ beq lbl_802B22D0 +/* 802B22B4 002AF214 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802B22B8 002AF218 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802B22BC 002AF21C 90 1E 00 00 */ stw r0, 0(r30) +/* 802B22C0 002AF220 41 82 00 10 */ beq lbl_802B22D0 +/* 802B22C4 002AF224 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802B22C8 002AF228 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802B22CC 002AF22C 90 1E 00 00 */ stw r0, 0(r30) +lbl_802B22D0: +/* 802B22D0 002AF230 7F E0 07 35 */ extsh. r0, r31 +/* 802B22D4 002AF234 40 81 00 0C */ ble lbl_802B22E0 +/* 802B22D8 002AF238 7F C3 F3 78 */ mr r3, r30 +/* 802B22DC 002AF23C 48 06 36 55 */ bl Free__7CMemoryFPCv +lbl_802B22E0: +/* 802B22E0 002AF240 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B22E4 002AF244 7F C3 F3 78 */ mr r3, r30 +/* 802B22E8 002AF248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B22EC 002AF24C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B22F0 002AF250 7C 08 03 A6 */ mtlr r0 +/* 802B22F4 002AF254 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B22F8 002AF258 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +"GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>": +/* 802B22FC 002AF25C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2300 002AF260 7C 08 02 A6 */ mflr r0 +/* 802B2304 002AF264 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2308 002AF268 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B230C 002AF26C 7C 7F 1B 78 */ mr r31, r3 +/* 802B2310 002AF270 48 00 00 19 */ bl "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +/* 802B2314 002AF274 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B2318 002AF278 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B231C 002AF27C 7C 08 03 A6 */ mtlr r0 +/* 802B2320 002AF280 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B2324 002AF284 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +"GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>": +/* 802B2328 002AF288 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B232C 002AF28C 7C 08 02 A6 */ mflr r0 +/* 802B2330 002AF290 3C A0 80 3D */ lis r5, lbl_803D6540@ha +/* 802B2334 002AF294 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2338 002AF298 38 05 65 40 */ addi r0, r5, lbl_803D6540@l +/* 802B233C 002AF29C 38 A0 00 00 */ li r5, 0 +/* 802B2340 002AF2A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B2344 002AF2A4 7C 9F 23 78 */ mr r31, r4 +/* 802B2348 002AF2A8 7C 04 03 78 */ mr r4, r0 +/* 802B234C 002AF2AC 93 C1 00 08 */ stw r30, 8(r1) +/* 802B2350 002AF2B0 7C 7E 1B 78 */ mr r30, r3 +/* 802B2354 002AF2B4 38 60 00 08 */ li r3, 8 +/* 802B2358 002AF2B8 48 06 35 15 */ bl __nw__FUlPCcPCc +/* 802B235C 002AF2BC 28 03 00 00 */ cmplwi r3, 0 +/* 802B2360 002AF2C0 41 82 00 38 */ beq lbl_802B2398 +/* 802B2364 002AF2C4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802B2368 002AF2C8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802B236C 002AF2CC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802B2370 002AF2D0 3C 80 80 3F */ lis r4, lbl_803EC518@ha +/* 802B2374 002AF2D4 90 03 00 00 */ stw r0, 0(r3) +/* 802B2378 002AF2D8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802B237C 002AF2DC 38 A0 00 00 */ li r5, 0 +/* 802B2380 002AF2E0 38 04 C5 18 */ addi r0, r4, lbl_803EC518@l +/* 802B2384 002AF2E4 90 C3 00 00 */ stw r6, 0(r3) +/* 802B2388 002AF2E8 98 BF 00 00 */ stb r5, 0(r31) +/* 802B238C 002AF2EC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802B2390 002AF2F0 90 83 00 04 */ stw r4, 4(r3) +/* 802B2394 002AF2F4 90 03 00 00 */ stw r0, 0(r3) +lbl_802B2398: +/* 802B2398 002AF2F8 7C 03 00 D0 */ neg r0, r3 +/* 802B239C 002AF2FC 7C 00 1B 78 */ or r0, r0, r3 +/* 802B23A0 002AF300 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B23A4 002AF304 98 1E 00 00 */ stb r0, 0(r30) +/* 802B23A8 002AF308 90 7E 00 04 */ stw r3, 4(r30) +/* 802B23AC 002AF30C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B23B0 002AF310 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B23B4 002AF314 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B23B8 002AF318 7C 08 03 A6 */ mtlr r0 +/* 802B23BC 002AF31C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B23C0 002AF320 4E 80 00 20 */ blr + +.global GetWorldCollisionResponseType__22CCollisionResponseDataFi +GetWorldCollisionResponseType__22CCollisionResponseDataFi: +/* 802B23C4 002AF324 2C 03 00 00 */ cmpwi r3, 0 +/* 802B23C8 002AF328 41 80 00 20 */ blt lbl_802B23E8 +/* 802B23CC 002AF32C 2C 03 00 20 */ cmpwi r3, 0x20 +/* 802B23D0 002AF330 40 80 00 18 */ bge lbl_802B23E8 +/* 802B23D4 002AF334 3C 80 80 3D */ lis r4, lbl_803D6198@ha +/* 802B23D8 002AF338 54 60 10 3A */ slwi r0, r3, 2 +/* 802B23DC 002AF33C 38 64 61 98 */ addi r3, r4, lbl_803D6198@l +/* 802B23E0 002AF340 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802B23E4 002AF344 4E 80 00 20 */ blr +lbl_802B23E8: +/* 802B23E8 002AF348 38 60 00 01 */ li r3, 1 +/* 802B23EC 002AF34C 4E 80 00 20 */ blr + +.global GetAudibleFallOff__22CCollisionResponseDataCFv +GetAudibleFallOff__22CCollisionResponseDataCFv: +/* 802B23F0 002AF350 C0 23 00 34 */ lfs f1, 0x34(r3) +/* 802B23F4 002AF354 4E 80 00 20 */ blr + +.global GetAudibleRange__22CCollisionResponseDataCFv +GetAudibleRange__22CCollisionResponseDataCFv: +/* 802B23F8 002AF358 C0 23 00 30 */ lfs f1, 0x30(r3) +/* 802B23FC 002AF35C 4E 80 00 20 */ blr + +.global ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: +/* 802B2400 002AF360 2C 03 00 2C */ cmpwi r3, 0x2c +/* 802B2404 002AF364 41 80 00 14 */ blt lbl_802B2418 +/* 802B2408 002AF368 2C 03 00 44 */ cmpwi r3, 0x44 +/* 802B240C 002AF36C 41 81 00 0C */ bgt lbl_802B2418 +/* 802B2410 002AF370 38 60 00 01 */ li r3, 1 +/* 802B2414 002AF374 4E 80 00 20 */ blr +lbl_802B2418: +/* 802B2418 002AF378 38 60 00 00 */ li r3, 0 +/* 802B241C 002AF37C 4E 80 00 20 */ blr + +.global ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: +/* 802B2420 002AF380 2C 03 00 13 */ cmpwi r3, 0x13 +/* 802B2424 002AF384 41 80 00 14 */ blt lbl_802B2438 +/* 802B2428 002AF388 2C 03 00 2B */ cmpwi r3, 0x2b +/* 802B242C 002AF38C 41 81 00 0C */ bgt lbl_802B2438 +/* 802B2430 002AF390 38 60 00 01 */ li r3, 1 +/* 802B2434 002AF394 4E 80 00 20 */ blr +lbl_802B2438: +/* 802B2438 002AF398 38 60 00 00 */ li r3, 0 +/* 802B243C 002AF39C 4E 80 00 20 */ blr + +.global ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: +/* 802B2440 002AF3A0 2C 03 00 45 */ cmpwi r3, 0x45 +/* 802B2444 002AF3A4 41 80 00 14 */ blt lbl_802B2458 +/* 802B2448 002AF3A8 2C 03 00 5D */ cmpwi r3, 0x5d +/* 802B244C 002AF3AC 41 81 00 0C */ bgt lbl_802B2458 +/* 802B2450 002AF3B0 38 60 00 01 */ li r3, 1 +/* 802B2454 002AF3B4 4E 80 00 20 */ blr +lbl_802B2458: +/* 802B2458 002AF3B8 38 60 00 00 */ li r3, 0 +/* 802B245C 002AF3BC 4E 80 00 20 */ blr + +.global GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: +/* 802B2460 002AF3C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2464 002AF3C4 7C 08 02 A6 */ mflr r0 +/* 802B2468 002AF3C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B246C 002AF3CC 54 A0 20 36 */ slwi r0, r5, 4 +/* 802B2470 002AF3D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B2474 002AF3D4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B2478 002AF3D8 80 84 00 2C */ lwz r4, 0x2c(r4) +/* 802B247C 002AF3DC 7F E4 02 14 */ add r31, r4, r0 +/* 802B2480 002AF3E0 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B2484 002AF3E4 98 03 00 0C */ stb r0, 0xc(r3) +/* 802B2488 002AF3E8 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B248C 002AF3EC 28 00 00 00 */ cmplwi r0, 0 +/* 802B2490 002AF3F0 41 82 00 28 */ beq lbl_802B24B8 +/* 802B2494 002AF3F4 7C 60 1B 79 */ or. r0, r3, r3 +/* 802B2498 002AF3F8 41 82 00 20 */ beq lbl_802B24B8 +/* 802B249C 002AF3FC 7C 1E 03 78 */ mr r30, r0 +/* 802B24A0 002AF400 7F E4 FB 78 */ mr r4, r31 +/* 802B24A4 002AF404 48 08 EA 05 */ bl __ct__6CTokenFRC6CToken +/* 802B24A8 002AF408 80 1F 00 08 */ lwz r0, 8(r31) +/* 802B24AC 002AF40C 7F C3 F3 78 */ mr r3, r30 +/* 802B24B0 002AF410 90 1E 00 08 */ stw r0, 8(r30) +/* 802B24B4 002AF414 48 08 E8 D1 */ bl Lock__6CTokenFv +lbl_802B24B8: +/* 802B24B8 002AF418 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B24BC 002AF41C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B24C0 002AF420 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B24C4 002AF424 7C 08 03 A6 */ mtlr r0 +/* 802B24C8 002AF428 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B24CC 002AF42C 4E 80 00 20 */ blr + +.global GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: +/* 802B24D0 002AF430 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B24D4 002AF434 7C 08 02 A6 */ mflr r0 +/* 802B24D8 002AF438 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B24DC 002AF43C 54 80 10 3A */ slwi r0, r4, 2 +/* 802B24E0 002AF440 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B24E4 002AF444 7C 7F 1B 78 */ mr r31, r3 +/* 802B24E8 002AF448 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B24EC 002AF44C 7C 9E 23 78 */ mr r30, r4 +/* 802B24F0 002AF450 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B24F4 002AF454 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802B24F8 002AF458 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802B24FC 002AF45C 2C 00 FF FF */ cmpwi r0, -1 +/* 802B2500 002AF460 40 82 00 98 */ bne lbl_802B2598 +/* 802B2504 002AF464 7F C3 F3 78 */ mr r3, r30 +/* 802B2508 002AF468 3B A0 00 00 */ li r29, 0 +/* 802B250C 002AF46C 4B FF FF 15 */ bl ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2510 002AF470 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2514 002AF474 41 82 00 10 */ beq lbl_802B2524 +/* 802B2518 002AF478 3B C0 00 10 */ li r30, 0x10 +/* 802B251C 002AF47C 3B A0 00 01 */ li r29, 1 +/* 802B2520 002AF480 48 00 00 38 */ b lbl_802B2558 +lbl_802B2524: +/* 802B2524 002AF484 7F C3 F3 78 */ mr r3, r30 +/* 802B2528 002AF488 4B FF FE D9 */ bl ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B252C 002AF48C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2530 002AF490 41 82 00 10 */ beq lbl_802B2540 +/* 802B2534 002AF494 3B C0 00 11 */ li r30, 0x11 +/* 802B2538 002AF498 3B A0 00 01 */ li r29, 1 +/* 802B253C 002AF49C 48 00 00 1C */ b lbl_802B2558 +lbl_802B2540: +/* 802B2540 002AF4A0 7F C3 F3 78 */ mr r3, r30 +/* 802B2544 002AF4A4 4B FF FE FD */ bl ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2548 002AF4A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B254C 002AF4AC 41 82 00 0C */ beq lbl_802B2558 +/* 802B2550 002AF4B0 3B C0 00 12 */ li r30, 0x12 +/* 802B2554 002AF4B4 3B A0 00 01 */ li r29, 1 +lbl_802B2558: +/* 802B2558 002AF4B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802B255C 002AF4BC 41 82 00 20 */ beq lbl_802B257C +/* 802B2560 002AF4C0 57 C3 20 36 */ slwi r3, r30, 4 +/* 802B2564 002AF4C4 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B2568 002AF4C8 38 03 00 0C */ addi r0, r3, 0xc +/* 802B256C 002AF4CC 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B2570 002AF4D0 28 00 00 00 */ cmplwi r0, 0 +/* 802B2574 002AF4D4 40 82 00 08 */ bne lbl_802B257C +/* 802B2578 002AF4D8 3B C0 00 10 */ li r30, 0x10 +lbl_802B257C: +/* 802B257C 002AF4DC 57 C3 20 36 */ slwi r3, r30, 4 +/* 802B2580 002AF4E0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B2584 002AF4E4 38 03 00 0C */ addi r0, r3, 0xc +/* 802B2588 002AF4E8 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B258C 002AF4EC 28 00 00 00 */ cmplwi r0, 0 +/* 802B2590 002AF4F0 40 82 00 08 */ bne lbl_802B2598 +/* 802B2594 002AF4F4 3B C0 00 01 */ li r30, 1 +lbl_802B2598: +/* 802B2598 002AF4F8 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802B259C 002AF4FC 57 C0 10 3A */ slwi r0, r30, 2 +/* 802B25A0 002AF500 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802B25A4 002AF504 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B25A8 002AF508 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B25AC 002AF50C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B25B0 002AF510 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B25B4 002AF514 7C 08 03 A6 */ mtlr r0 +/* 802B25B8 002AF518 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B25BC 002AF51C 4E 80 00 20 */ blr + +.global GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: +/* 802B25C0 002AF520 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B25C4 002AF524 7C 08 02 A6 */ mflr r0 +/* 802B25C8 002AF528 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B25CC 002AF52C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B25D0 002AF530 7C BF 2B 78 */ mr r31, r5 +/* 802B25D4 002AF534 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B25D8 002AF538 7C 9E 23 78 */ mr r30, r4 +/* 802B25DC 002AF53C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B25E0 002AF540 7C 7D 1B 78 */ mr r29, r3 +/* 802B25E4 002AF544 93 81 00 10 */ stw r28, 0x10(r1) +/* 802B25E8 002AF548 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802B25EC 002AF54C 57 E4 20 36 */ slwi r4, r31, 4 +/* 802B25F0 002AF550 38 04 00 0C */ addi r0, r4, 0xc +/* 802B25F4 002AF554 7C 05 00 AE */ lbzx r0, r5, r0 +/* 802B25F8 002AF558 28 00 00 00 */ cmplwi r0, 0 +/* 802B25FC 002AF55C 40 82 00 A0 */ bne lbl_802B269C +/* 802B2600 002AF560 7F E3 FB 78 */ mr r3, r31 +/* 802B2604 002AF564 3B 80 00 00 */ li r28, 0 +/* 802B2608 002AF568 4B FF FE 19 */ bl ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B260C 002AF56C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2610 002AF570 41 82 00 10 */ beq lbl_802B2620 +/* 802B2614 002AF574 3B E0 00 10 */ li r31, 0x10 +/* 802B2618 002AF578 3B 80 00 01 */ li r28, 1 +/* 802B261C 002AF57C 48 00 00 38 */ b lbl_802B2654 +lbl_802B2620: +/* 802B2620 002AF580 7F E3 FB 78 */ mr r3, r31 +/* 802B2624 002AF584 4B FF FD DD */ bl ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2628 002AF588 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B262C 002AF58C 41 82 00 10 */ beq lbl_802B263C +/* 802B2630 002AF590 3B E0 00 11 */ li r31, 0x11 +/* 802B2634 002AF594 3B 80 00 01 */ li r28, 1 +/* 802B2638 002AF598 48 00 00 1C */ b lbl_802B2654 +lbl_802B263C: +/* 802B263C 002AF59C 7F E3 FB 78 */ mr r3, r31 +/* 802B2640 002AF5A0 4B FF FE 01 */ bl ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2644 002AF5A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2648 002AF5A8 41 82 00 0C */ beq lbl_802B2654 +/* 802B264C 002AF5AC 3B E0 00 12 */ li r31, 0x12 +/* 802B2650 002AF5B0 3B 80 00 01 */ li r28, 1 +lbl_802B2654: +/* 802B2654 002AF5B4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802B2658 002AF5B8 41 82 00 20 */ beq lbl_802B2678 +/* 802B265C 002AF5BC 57 E3 20 36 */ slwi r3, r31, 4 +/* 802B2660 002AF5C0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802B2664 002AF5C4 38 03 00 0C */ addi r0, r3, 0xc +/* 802B2668 002AF5C8 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B266C 002AF5CC 28 00 00 00 */ cmplwi r0, 0 +/* 802B2670 002AF5D0 40 82 00 08 */ bne lbl_802B2678 +/* 802B2674 002AF5D4 3B E0 00 10 */ li r31, 0x10 +lbl_802B2678: +/* 802B2678 002AF5D8 57 E3 20 36 */ slwi r3, r31, 4 +/* 802B267C 002AF5DC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802B2680 002AF5E0 38 03 00 0C */ addi r0, r3, 0xc +/* 802B2684 002AF5E4 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B2688 002AF5E8 28 00 00 00 */ cmplwi r0, 0 +/* 802B268C 002AF5EC 40 82 00 10 */ bne lbl_802B269C +/* 802B2690 002AF5F0 2C 1F 00 00 */ cmpwi r31, 0 +/* 802B2694 002AF5F4 41 82 00 08 */ beq lbl_802B269C +/* 802B2698 002AF5F8 3B E0 00 01 */ li r31, 1 +lbl_802B269C: +/* 802B269C 002AF5FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B26A0 002AF600 57 E0 20 36 */ slwi r0, r31, 4 +/* 802B26A4 002AF604 7F C3 02 14 */ add r30, r3, r0 +/* 802B26A8 002AF608 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B26AC 002AF60C 98 1D 00 0C */ stb r0, 0xc(r29) +/* 802B26B0 002AF610 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B26B4 002AF614 28 00 00 00 */ cmplwi r0, 0 +/* 802B26B8 002AF618 41 82 00 28 */ beq lbl_802B26E0 +/* 802B26BC 002AF61C 28 1D 00 00 */ cmplwi r29, 0 +/* 802B26C0 002AF620 41 82 00 20 */ beq lbl_802B26E0 +/* 802B26C4 002AF624 7F A3 EB 78 */ mr r3, r29 +/* 802B26C8 002AF628 7F C4 F3 78 */ mr r4, r30 +/* 802B26CC 002AF62C 48 08 E7 DD */ bl __ct__6CTokenFRC6CToken +/* 802B26D0 002AF630 80 1E 00 08 */ lwz r0, 8(r30) +/* 802B26D4 002AF634 7F A3 EB 78 */ mr r3, r29 +/* 802B26D8 002AF638 90 1D 00 08 */ stw r0, 8(r29) +/* 802B26DC 002AF63C 48 08 E6 A9 */ bl Lock__6CTokenFv +lbl_802B26E0: +/* 802B26E0 002AF640 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B26E4 002AF644 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B26E8 002AF648 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B26EC 002AF64C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B26F0 002AF650 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802B26F4 002AF654 7C 08 03 A6 */ mtlr r0 +/* 802B26F8 002AF658 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B26FC 002AF65C 4E 80 00 20 */ blr + +.global sub_802b2700 +sub_802b2700: +/* 802B2700 002AF660 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B2704 002AF664 7C 08 02 A6 */ mflr r0 +/* 802B2708 002AF668 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B270C 002AF66C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B2710 002AF670 7C 9F 23 78 */ mr r31, r4 +/* 802B2714 002AF674 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B2718 002AF678 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B271C 002AF67C 41 82 00 74 */ beq lbl_802B2790 +/* 802B2720 002AF680 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802B2724 002AF684 38 80 FF FF */ li r4, -1 +/* 802B2728 002AF688 48 00 01 3D */ bl sub_802b2864 +/* 802B272C 002AF68C 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802B2730 002AF690 41 82 00 44 */ beq lbl_802B2774 +/* 802B2734 002AF694 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802B2738 002AF698 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802B273C 002AF69C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B2740 002AF6A0 7C 03 02 14 */ add r0, r3, r0 +/* 802B2744 002AF6A4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B2748 002AF6A8 7C 64 1B 78 */ mr r4, r3 +/* 802B274C 002AF6AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2750 002AF6B0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B2754 002AF6B4 90 61 00 08 */ stw r3, 8(r1) +/* 802B2758 002AF6B8 48 00 00 08 */ b lbl_802B2760 +lbl_802B275C: +/* 802B275C 002AF6BC 38 84 00 04 */ addi r4, r4, 4 +lbl_802B2760: +/* 802B2760 002AF6C0 7C 04 00 40 */ cmplw r4, r0 +/* 802B2764 002AF6C4 40 82 FF F8 */ bne lbl_802B275C +/* 802B2768 002AF6C8 28 03 00 00 */ cmplwi r3, 0 +/* 802B276C 002AF6CC 41 82 00 08 */ beq lbl_802B2774 +/* 802B2770 002AF6D0 48 06 31 C1 */ bl Free__7CMemoryFPCv +lbl_802B2774: +/* 802B2774 002AF6D4 7F C3 F3 78 */ mr r3, r30 +/* 802B2778 002AF6D8 38 80 FF FF */ li r4, -1 +/* 802B277C 002AF6DC 48 00 00 31 */ bl sub_802b27ac +/* 802B2780 002AF6E0 7F E0 07 35 */ extsh. r0, r31 +/* 802B2784 002AF6E4 40 81 00 0C */ ble lbl_802B2790 +/* 802B2788 002AF6E8 7F C3 F3 78 */ mr r3, r30 +/* 802B278C 002AF6EC 48 06 31 A5 */ bl Free__7CMemoryFPCv +lbl_802B2790: +/* 802B2790 002AF6F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B2794 002AF6F4 7F C3 F3 78 */ mr r3, r30 +/* 802B2798 002AF6F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B279C 002AF6FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B27A0 002AF700 7C 08 03 A6 */ mtlr r0 +/* 802B27A4 002AF704 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B27A8 002AF708 4E 80 00 20 */ blr + +.global sub_802b27ac +sub_802b27ac: +/* 802B27AC 002AF70C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B27B0 002AF710 7C 08 02 A6 */ mflr r0 +/* 802B27B4 002AF714 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B27B8 002AF718 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802B27BC 002AF71C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802B27C0 002AF720 7C 9C 23 78 */ mr r28, r4 +/* 802B27C4 002AF724 41 82 00 88 */ beq lbl_802B284C +/* 802B27C8 002AF728 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B27CC 002AF72C 3B E0 00 00 */ li r31, 0 +/* 802B27D0 002AF730 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 802B27D4 002AF734 54 00 20 36 */ slwi r0, r0, 4 +/* 802B27D8 002AF738 7F DD 02 14 */ add r30, r29, r0 +/* 802B27DC 002AF73C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B27E0 002AF740 93 C1 00 08 */ stw r30, 8(r1) +/* 802B27E4 002AF744 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B27E8 002AF748 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B27EC 002AF74C 48 00 00 38 */ b lbl_802B2824 +lbl_802B27F0: +/* 802B27F0 002AF750 28 1D 00 00 */ cmplwi r29, 0 +/* 802B27F4 002AF754 41 82 00 2C */ beq lbl_802B2820 +/* 802B27F8 002AF758 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B27FC 002AF75C 28 00 00 00 */ cmplwi r0, 0 +/* 802B2800 002AF760 41 82 00 1C */ beq lbl_802B281C +/* 802B2804 002AF764 28 1D 00 00 */ cmplwi r29, 0 +/* 802B2808 002AF768 41 82 00 14 */ beq lbl_802B281C +/* 802B280C 002AF76C 41 82 00 10 */ beq lbl_802B281C +/* 802B2810 002AF770 7F A3 EB 78 */ mr r3, r29 +/* 802B2814 002AF774 38 80 00 00 */ li r4, 0 +/* 802B2818 002AF778 48 08 E6 29 */ bl __dt__6CTokenFv +lbl_802B281C: +/* 802B281C 002AF77C 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B2820: +/* 802B2820 002AF780 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B2824: +/* 802B2824 002AF784 7C 1D F0 40 */ cmplw r29, r30 +/* 802B2828 002AF788 40 82 FF C8 */ bne lbl_802B27F0 +/* 802B282C 002AF78C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B2830 002AF790 28 03 00 00 */ cmplwi r3, 0 +/* 802B2834 002AF794 41 82 00 08 */ beq lbl_802B283C +/* 802B2838 002AF798 48 06 30 F9 */ bl Free__7CMemoryFPCv +lbl_802B283C: +/* 802B283C 002AF79C 7F 80 07 35 */ extsh. r0, r28 +/* 802B2840 002AF7A0 40 81 00 0C */ ble lbl_802B284C +/* 802B2844 002AF7A4 7F 63 DB 78 */ mr r3, r27 +/* 802B2848 002AF7A8 48 06 30 E9 */ bl Free__7CMemoryFPCv +lbl_802B284C: +/* 802B284C 002AF7AC 7F 63 DB 78 */ mr r3, r27 +/* 802B2850 002AF7B0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802B2854 002AF7B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2858 002AF7B8 7C 08 03 A6 */ mtlr r0 +/* 802B285C 002AF7BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B2860 002AF7C0 4E 80 00 20 */ blr + +.global sub_802b2864 +sub_802b2864: +/* 802B2864 002AF7C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B2868 002AF7C8 7C 08 02 A6 */ mflr r0 +/* 802B286C 002AF7CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B2870 002AF7D0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802B2874 002AF7D4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802B2878 002AF7D8 7C 9C 23 78 */ mr r28, r4 +/* 802B287C 002AF7DC 41 82 00 88 */ beq lbl_802B2904 +/* 802B2880 002AF7E0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B2884 002AF7E4 3B E0 00 00 */ li r31, 0 +/* 802B2888 002AF7E8 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 802B288C 002AF7EC 54 00 20 36 */ slwi r0, r0, 4 +/* 802B2890 002AF7F0 7F DD 02 14 */ add r30, r29, r0 +/* 802B2894 002AF7F4 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B2898 002AF7F8 93 C1 00 08 */ stw r30, 8(r1) +/* 802B289C 002AF7FC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B28A0 002AF800 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B28A4 002AF804 48 00 00 38 */ b lbl_802B28DC +lbl_802B28A8: +/* 802B28A8 002AF808 28 1D 00 00 */ cmplwi r29, 0 +/* 802B28AC 002AF80C 41 82 00 2C */ beq lbl_802B28D8 +/* 802B28B0 002AF810 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B28B4 002AF814 28 00 00 00 */ cmplwi r0, 0 +/* 802B28B8 002AF818 41 82 00 1C */ beq lbl_802B28D4 +/* 802B28BC 002AF81C 28 1D 00 00 */ cmplwi r29, 0 +/* 802B28C0 002AF820 41 82 00 14 */ beq lbl_802B28D4 +/* 802B28C4 002AF824 41 82 00 10 */ beq lbl_802B28D4 +/* 802B28C8 002AF828 7F A3 EB 78 */ mr r3, r29 +/* 802B28CC 002AF82C 38 80 00 00 */ li r4, 0 +/* 802B28D0 002AF830 48 08 E5 71 */ bl __dt__6CTokenFv +lbl_802B28D4: +/* 802B28D4 002AF834 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B28D8: +/* 802B28D8 002AF838 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B28DC: +/* 802B28DC 002AF83C 7C 1D F0 40 */ cmplw r29, r30 +/* 802B28E0 002AF840 40 82 FF C8 */ bne lbl_802B28A8 +/* 802B28E4 002AF844 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B28E8 002AF848 28 03 00 00 */ cmplwi r3, 0 +/* 802B28EC 002AF84C 41 82 00 08 */ beq lbl_802B28F4 +/* 802B28F0 002AF850 48 06 30 41 */ bl Free__7CMemoryFPCv +lbl_802B28F4: +/* 802B28F4 002AF854 7F 80 07 35 */ extsh. r0, r28 +/* 802B28F8 002AF858 40 81 00 0C */ ble lbl_802B2904 +/* 802B28FC 002AF85C 7F 63 DB 78 */ mr r3, r27 +/* 802B2900 002AF860 48 06 30 31 */ bl Free__7CMemoryFPCv +lbl_802B2904: +/* 802B2904 002AF864 7F 63 DB 78 */ mr r3, r27 +/* 802B2908 002AF868 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802B290C 002AF86C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2910 002AF870 7C 08 03 A6 */ mtlr r0 +/* 802B2914 002AF874 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B2918 002AF878 4E 80 00 20 */ blr + +.global AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool +AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool: +/* 802B291C 002AF87C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B2920 002AF880 7C 08 02 A6 */ mflr r0 +/* 802B2924 002AF884 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B2928 002AF888 38 00 00 00 */ li r0, 0 +/* 802B292C 002AF88C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B2930 002AF890 7C 9F 23 78 */ mr r31, r4 +/* 802B2934 002AF894 7C A4 2B 78 */ mr r4, r5 +/* 802B2938 002AF898 7C C5 33 78 */ mr r5, r6 +/* 802B293C 002AF89C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802B2940 002AF8A0 7C 7E 1B 78 */ mr r30, r3 +/* 802B2944 002AF8A4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802B2948 002AF8A8 38 C1 00 4C */ addi r6, r1, 0x4c +/* 802B294C 002AF8AC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 802B2950 002AF8B0 90 01 00 50 */ stw r0, 0x50(r1) +/* 802B2954 002AF8B4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B2958 002AF8B8 90 01 00 58 */ stw r0, 0x58(r1) +/* 802B295C 002AF8BC 48 07 24 35 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 802B2960 002AF8C0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B2964 002AF8C4 28 00 00 00 */ cmplwi r0, 0 +/* 802B2968 002AF8C8 98 01 00 48 */ stb r0, 0x48(r1) +/* 802B296C 002AF8CC 41 82 00 14 */ beq lbl_802B2980 +/* 802B2970 002AF8D0 34 61 00 40 */ addic. r3, r1, 0x40 +/* 802B2974 002AF8D4 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B2978 002AF8D8 41 82 00 08 */ beq lbl_802B2980 +/* 802B297C 002AF8DC 48 08 E5 2D */ bl __ct__6CTokenFRC6CToken +lbl_802B2980: +/* 802B2980 002AF8E0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B2984 002AF8E4 28 00 00 00 */ cmplwi r0, 0 +/* 802B2988 002AF8E8 41 82 00 14 */ beq lbl_802B299C +/* 802B298C 002AF8EC 34 61 00 34 */ addic. r3, r1, 0x34 +/* 802B2990 002AF8F0 41 82 00 0C */ beq lbl_802B299C +/* 802B2994 002AF8F4 38 80 00 00 */ li r4, 0 +/* 802B2998 002AF8F8 48 08 E4 A9 */ bl __dt__6CTokenFv +lbl_802B299C: +/* 802B299C 002AF8FC 88 61 00 48 */ lbz r3, 0x48(r1) +/* 802B29A0 002AF900 38 00 00 00 */ li r0, 0 +/* 802B29A4 002AF904 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802B29A8 002AF908 28 03 00 00 */ cmplwi r3, 0 +/* 802B29AC 002AF90C 41 82 00 FC */ beq lbl_802B2AA8 +/* 802B29B0 002AF910 3B A1 00 28 */ addi r29, r1, 0x28 +/* 802B29B4 002AF914 38 81 00 40 */ addi r4, r1, 0x40 +/* 802B29B8 002AF918 7F A3 EB 78 */ mr r3, r29 +/* 802B29BC 002AF91C 48 08 E4 ED */ bl __ct__6CTokenFRC6CToken +/* 802B29C0 002AF920 7F A3 EB 78 */ mr r3, r29 +/* 802B29C4 002AF924 48 08 E4 49 */ bl GetObj__6CTokenFv +/* 802B29C8 002AF928 80 63 00 04 */ lwz r3, 4(r3) +/* 802B29CC 002AF92C 57 E0 20 36 */ slwi r0, r31, 4 +/* 802B29D0 002AF930 90 61 00 30 */ stw r3, 0x30(r1) +/* 802B29D4 002AF934 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B29D8 002AF938 7F E3 02 14 */ add r31, r3, r0 +/* 802B29DC 002AF93C 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B29E0 002AF940 28 00 00 00 */ cmplwi r0, 0 +/* 802B29E4 002AF944 40 82 00 38 */ bne lbl_802B2A1C +/* 802B29E8 002AF948 28 1F 00 00 */ cmplwi r31, 0 +/* 802B29EC 002AF94C 41 82 00 24 */ beq lbl_802B2A10 +/* 802B29F0 002AF950 7F FD FB 78 */ mr r29, r31 +/* 802B29F4 002AF954 7F E3 FB 78 */ mr r3, r31 +/* 802B29F8 002AF958 38 81 00 28 */ addi r4, r1, 0x28 +/* 802B29FC 002AF95C 48 08 E4 AD */ bl __ct__6CTokenFRC6CToken +/* 802B2A00 002AF960 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802B2A04 002AF964 7F A3 EB 78 */ mr r3, r29 +/* 802B2A08 002AF968 90 1D 00 08 */ stw r0, 8(r29) +/* 802B2A0C 002AF96C 48 08 E3 79 */ bl Lock__6CTokenFv +lbl_802B2A10: +/* 802B2A10 002AF970 38 00 00 01 */ li r0, 1 +/* 802B2A14 002AF974 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B2A18 002AF978 48 00 00 18 */ b lbl_802B2A30 +lbl_802B2A1C: +/* 802B2A1C 002AF97C 7F E3 FB 78 */ mr r3, r31 +/* 802B2A20 002AF980 7F A4 EB 78 */ mr r4, r29 +/* 802B2A24 002AF984 48 08 E2 A1 */ bl __as__6CTokenFRC6CToken +/* 802B2A28 002AF988 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802B2A2C 002AF98C 90 1F 00 08 */ stw r0, 8(r31) +lbl_802B2A30: +/* 802B2A30 002AF990 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B2A34 002AF994 38 80 00 00 */ li r4, 0 +/* 802B2A38 002AF998 48 08 E4 09 */ bl __dt__6CTokenFv +/* 802B2A3C 002AF99C 88 01 00 48 */ lbz r0, 0x48(r1) +/* 802B2A40 002AF9A0 28 00 00 00 */ cmplwi r0, 0 +/* 802B2A44 002AF9A4 41 82 00 14 */ beq lbl_802B2A58 +/* 802B2A48 002AF9A8 34 61 00 40 */ addic. r3, r1, 0x40 +/* 802B2A4C 002AF9AC 41 82 00 0C */ beq lbl_802B2A58 +/* 802B2A50 002AF9B0 38 80 00 00 */ li r4, 0 +/* 802B2A54 002AF9B4 48 08 E3 ED */ bl __dt__6CTokenFv +lbl_802B2A58: +/* 802B2A58 002AF9B8 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802B2A5C 002AF9BC 38 80 00 00 */ li r4, 0 +/* 802B2A60 002AF9C0 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802B2A64 002AF9C4 54 00 10 3A */ slwi r0, r0, 2 +/* 802B2A68 002AF9C8 98 81 00 48 */ stb r4, 0x48(r1) +/* 802B2A6C 002AF9CC 7C 03 02 14 */ add r0, r3, r0 +/* 802B2A70 002AF9D0 7C 64 1B 78 */ mr r4, r3 +/* 802B2A74 002AF9D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B2A78 002AF9D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B2A7C 002AF9DC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B2A80 002AF9E0 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B2A84 002AF9E4 48 00 00 08 */ b lbl_802B2A8C +lbl_802B2A88: +/* 802B2A88 002AF9E8 38 84 00 04 */ addi r4, r4, 4 +lbl_802B2A8C: +/* 802B2A8C 002AF9EC 7C 04 00 40 */ cmplw r4, r0 +/* 802B2A90 002AF9F0 40 82 FF F8 */ bne lbl_802B2A88 +/* 802B2A94 002AF9F4 28 03 00 00 */ cmplwi r3, 0 +/* 802B2A98 002AF9F8 41 82 00 08 */ beq lbl_802B2AA0 +/* 802B2A9C 002AF9FC 48 06 2E 95 */ bl Free__7CMemoryFPCv +lbl_802B2AA0: +/* 802B2AA0 002AFA00 38 60 00 01 */ li r3, 1 +/* 802B2AA4 002AFA04 48 00 00 64 */ b lbl_802B2B08 +lbl_802B2AA8: +/* 802B2AA8 002AFA08 41 82 00 14 */ beq lbl_802B2ABC +/* 802B2AAC 002AFA0C 34 61 00 40 */ addic. r3, r1, 0x40 +/* 802B2AB0 002AFA10 41 82 00 0C */ beq lbl_802B2ABC +/* 802B2AB4 002AFA14 38 80 00 00 */ li r4, 0 +/* 802B2AB8 002AFA18 48 08 E3 89 */ bl __dt__6CTokenFv +lbl_802B2ABC: +/* 802B2ABC 002AFA1C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802B2AC0 002AFA20 38 80 00 00 */ li r4, 0 +/* 802B2AC4 002AFA24 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802B2AC8 002AFA28 54 00 10 3A */ slwi r0, r0, 2 +/* 802B2ACC 002AFA2C 98 81 00 48 */ stb r4, 0x48(r1) +/* 802B2AD0 002AFA30 7C 03 02 14 */ add r0, r3, r0 +/* 802B2AD4 002AFA34 7C 64 1B 78 */ mr r4, r3 +/* 802B2AD8 002AFA38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2ADC 002AFA3C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B2AE0 002AFA40 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B2AE4 002AFA44 90 61 00 08 */ stw r3, 8(r1) +/* 802B2AE8 002AFA48 48 00 00 08 */ b lbl_802B2AF0 +lbl_802B2AEC: +/* 802B2AEC 002AFA4C 38 84 00 04 */ addi r4, r4, 4 +lbl_802B2AF0: +/* 802B2AF0 002AFA50 7C 04 00 40 */ cmplw r4, r0 +/* 802B2AF4 002AFA54 40 82 FF F8 */ bne lbl_802B2AEC +/* 802B2AF8 002AFA58 28 03 00 00 */ cmplwi r3, 0 +/* 802B2AFC 002AFA5C 41 82 00 08 */ beq lbl_802B2B04 +/* 802B2B00 002AFA60 48 06 2E 31 */ bl Free__7CMemoryFPCv +lbl_802B2B04: +/* 802B2B04 002AFA64 38 60 00 00 */ li r3, 0 +lbl_802B2B08: +/* 802B2B08 002AFA68 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B2B0C 002AFA6C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B2B10 002AFA70 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802B2B14 002AFA74 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802B2B18 002AFA78 7C 08 03 A6 */ mtlr r0 +/* 802B2B1C 002AFA7C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B2B20 002AFA80 4E 80 00 20 */ blr + +.global CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: +/* 802B2B24 002AFA84 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B2B28 002AFA88 7C 08 02 A6 */ mflr r0 +/* 802B2B2C 002AFA8C 3C E0 80 3D */ lis r7, lbl_803D6508@ha +/* 802B2B30 002AFA90 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B2B34 002AFA94 38 00 00 0E */ li r0, 0xe +/* 802B2B38 002AFA98 38 E7 65 08 */ addi r7, r7, lbl_803D6508@l +/* 802B2B3C 002AFA9C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802B2B40 002AFAA0 3B E0 00 00 */ li r31, 0 +/* 802B2B44 002AFAA4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802B2B48 002AFAA8 7C DE 33 78 */ mr r30, r6 +/* 802B2B4C 002AFAAC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802B2B50 002AFAB0 7C BD 2B 78 */ mr r29, r5 +/* 802B2B54 002AFAB4 93 81 00 30 */ stw r28, 0x30(r1) +/* 802B2B58 002AFAB8 7C 7C 1B 78 */ mr r28, r3 +/* 802B2B5C 002AFABC 7C 09 03 A6 */ mtctr r0 +lbl_802B2B60: +/* 802B2B60 002AFAC0 80 07 00 00 */ lwz r0, 0(r7) +/* 802B2B64 002AFAC4 7C 04 00 40 */ cmplw r4, r0 +/* 802B2B68 002AFAC8 40 82 01 04 */ bne lbl_802B2C6C +/* 802B2B6C 002AFACC 7F A3 EB 78 */ mr r3, r29 +/* 802B2B70 002AFAD0 48 07 58 ED */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2B74 002AFAD4 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B2B78 002AFAD8 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B2B7C 002AFADC 41 82 00 E8 */ beq lbl_802B2C64 +/* 802B2B80 002AFAE0 7F A3 EB 78 */ mr r3, r29 +/* 802B2B84 002AFAE4 48 08 C1 01 */ bl ReadLong__12CInputStreamFv +/* 802B2B88 002AFAE8 3C 80 44 50 */ lis r4, 0x44505343@ha +/* 802B2B8C 002AFAEC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B2B90 002AFAF0 38 04 53 43 */ addi r0, r4, 0x44505343@l +/* 802B2B94 002AFAF4 7F C4 F3 78 */ mr r4, r30 +/* 802B2B98 002AFAF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 802B2B9C 002AFAFC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B2BA0 002AFB00 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802B2BA4 002AFB04 81 9E 00 00 */ lwz r12, 0(r30) +/* 802B2BA8 002AFB08 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B2BAC 002AFB0C 7D 89 03 A6 */ mtctr r12 +/* 802B2BB0 002AFB10 4E 80 04 21 */ bctrl +/* 802B2BB4 002AFB14 38 61 00 08 */ addi r3, r1, 8 +/* 802B2BB8 002AFB18 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B2BBC 002AFB1C 48 08 E2 ED */ bl __ct__6CTokenFRC6CToken +/* 802B2BC0 002AFB20 3B A1 00 20 */ addi r29, r1, 0x20 +/* 802B2BC4 002AFB24 38 81 00 08 */ addi r4, r1, 8 +/* 802B2BC8 002AFB28 7F A3 EB 78 */ mr r3, r29 +/* 802B2BCC 002AFB2C 48 08 E2 DD */ bl __ct__6CTokenFRC6CToken +/* 802B2BD0 002AFB30 7F A3 EB 78 */ mr r3, r29 +/* 802B2BD4 002AFB34 48 08 E2 39 */ bl GetObj__6CTokenFv +/* 802B2BD8 002AFB38 80 63 00 04 */ lwz r3, 4(r3) +/* 802B2BDC 002AFB3C 57 E0 20 36 */ slwi r0, r31, 4 +/* 802B2BE0 002AFB40 90 61 00 28 */ stw r3, 0x28(r1) +/* 802B2BE4 002AFB44 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 802B2BE8 002AFB48 7F E3 02 14 */ add r31, r3, r0 +/* 802B2BEC 002AFB4C 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B2BF0 002AFB50 28 00 00 00 */ cmplwi r0, 0 +/* 802B2BF4 002AFB54 40 82 00 38 */ bne lbl_802B2C2C +/* 802B2BF8 002AFB58 28 1F 00 00 */ cmplwi r31, 0 +/* 802B2BFC 002AFB5C 41 82 00 24 */ beq lbl_802B2C20 +/* 802B2C00 002AFB60 7F FC FB 78 */ mr r28, r31 +/* 802B2C04 002AFB64 7F E3 FB 78 */ mr r3, r31 +/* 802B2C08 002AFB68 7F A4 EB 78 */ mr r4, r29 +/* 802B2C0C 002AFB6C 48 08 E2 9D */ bl __ct__6CTokenFRC6CToken +/* 802B2C10 002AFB70 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802B2C14 002AFB74 7F 83 E3 78 */ mr r3, r28 +/* 802B2C18 002AFB78 90 1C 00 08 */ stw r0, 8(r28) +/* 802B2C1C 002AFB7C 48 08 E1 69 */ bl Lock__6CTokenFv +lbl_802B2C20: +/* 802B2C20 002AFB80 38 00 00 01 */ li r0, 1 +/* 802B2C24 002AFB84 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B2C28 002AFB88 48 00 00 18 */ b lbl_802B2C40 +lbl_802B2C2C: +/* 802B2C2C 002AFB8C 7F E3 FB 78 */ mr r3, r31 +/* 802B2C30 002AFB90 7F A4 EB 78 */ mr r4, r29 +/* 802B2C34 002AFB94 48 08 E0 91 */ bl __as__6CTokenFRC6CToken +/* 802B2C38 002AFB98 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802B2C3C 002AFB9C 90 1F 00 08 */ stw r0, 8(r31) +lbl_802B2C40: +/* 802B2C40 002AFBA0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802B2C44 002AFBA4 38 80 00 00 */ li r4, 0 +/* 802B2C48 002AFBA8 48 08 E1 F9 */ bl __dt__6CTokenFv +/* 802B2C4C 002AFBAC 38 61 00 08 */ addi r3, r1, 8 +/* 802B2C50 002AFBB0 38 80 00 00 */ li r4, 0 +/* 802B2C54 002AFBB4 48 08 E1 ED */ bl __dt__6CTokenFv +/* 802B2C58 002AFBB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B2C5C 002AFBBC 38 80 FF FF */ li r4, -1 +/* 802B2C60 002AFBC0 48 08 E1 E1 */ bl __dt__6CTokenFv +lbl_802B2C64: +/* 802B2C64 002AFBC4 38 60 00 01 */ li r3, 1 +/* 802B2C68 002AFBC8 48 00 00 14 */ b lbl_802B2C7C +lbl_802B2C6C: +/* 802B2C6C 002AFBCC 38 E7 00 04 */ addi r7, r7, 4 +/* 802B2C70 002AFBD0 3B FF 00 01 */ addi r31, r31, 1 +/* 802B2C74 002AFBD4 42 00 FE EC */ bdnz lbl_802B2B60 +/* 802B2C78 002AFBD8 38 60 00 00 */ li r3, 0 +lbl_802B2C7C: +/* 802B2C7C 002AFBDC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B2C80 002AFBE0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802B2C84 002AFBE4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802B2C88 002AFBE8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802B2C8C 002AFBEC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802B2C90 002AFBF0 7C 08 03 A6 */ mtlr r0 +/* 802B2C94 002AFBF4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B2C98 002AFBF8 4E 80 00 20 */ blr + +.global CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream +CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream: +/* 802B2C9C 002AFBFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B2CA0 002AFC00 7C 08 02 A6 */ mflr r0 +/* 802B2CA4 002AFC04 3C C0 80 3D */ lis r6, lbl_803D6390@ha +/* 802B2CA8 002AFC08 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B2CAC 002AFC0C 38 00 00 5E */ li r0, 0x5e +/* 802B2CB0 002AFC10 38 C6 63 90 */ addi r6, r6, lbl_803D6390@l +/* 802B2CB4 002AFC14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B2CB8 002AFC18 3B E0 00 00 */ li r31, 0 +/* 802B2CBC 002AFC1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B2CC0 002AFC20 7C BE 2B 78 */ mr r30, r5 +/* 802B2CC4 002AFC24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B2CC8 002AFC28 7C 7D 1B 78 */ mr r29, r3 +/* 802B2CCC 002AFC2C 7C 09 03 A6 */ mtctr r0 +lbl_802B2CD0: +/* 802B2CD0 002AFC30 80 06 00 00 */ lwz r0, 0(r6) +/* 802B2CD4 002AFC34 7C 04 00 40 */ cmplw r4, r0 +/* 802B2CD8 002AFC38 40 82 00 34 */ bne lbl_802B2D0C +/* 802B2CDC 002AFC3C 7F C3 F3 78 */ mr r3, r30 +/* 802B2CE0 002AFC40 48 07 57 7D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2CE4 002AFC44 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B2CE8 002AFC48 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B2CEC 002AFC4C 41 82 00 18 */ beq lbl_802B2D04 +/* 802B2CF0 002AFC50 7F C3 F3 78 */ mr r3, r30 +/* 802B2CF4 002AFC54 48 08 BF 91 */ bl ReadLong__12CInputStreamFv +/* 802B2CF8 002AFC58 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 802B2CFC 002AFC5C 57 E0 10 3A */ slwi r0, r31, 2 +/* 802B2D00 002AFC60 7C 64 01 2E */ stwx r3, r4, r0 +lbl_802B2D04: +/* 802B2D04 002AFC64 38 60 00 01 */ li r3, 1 +/* 802B2D08 002AFC68 48 00 00 14 */ b lbl_802B2D1C +lbl_802B2D0C: +/* 802B2D0C 002AFC6C 38 C6 00 04 */ addi r6, r6, 4 +/* 802B2D10 002AFC70 3B FF 00 01 */ addi r31, r31, 1 +/* 802B2D14 002AFC74 42 00 FF BC */ bdnz lbl_802B2CD0 +/* 802B2D18 002AFC78 38 60 00 00 */ li r3, 0 +lbl_802B2D1C: +/* 802B2D1C 002AFC7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B2D20 002AFC80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B2D24 002AFC84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B2D28 002AFC88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B2D2C 002AFC8C 7C 08 03 A6 */ mtlr r0 +/* 802B2D30 002AFC90 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B2D34 002AFC94 4E 80 00 20 */ blr + +.global CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: +/* 802B2D38 002AFC98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2D3C 002AFC9C 7C 08 02 A6 */ mflr r0 +/* 802B2D40 002AFCA0 3C E0 80 3D */ lis r7, lbl_803D6218@ha +/* 802B2D44 002AFCA4 39 00 00 00 */ li r8, 0 +/* 802B2D48 002AFCA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2D4C 002AFCAC 38 00 00 5E */ li r0, 0x5e +/* 802B2D50 002AFCB0 38 E7 62 18 */ addi r7, r7, lbl_803D6218@l +/* 802B2D54 002AFCB4 7C 09 03 A6 */ mtctr r0 +lbl_802B2D58: +/* 802B2D58 002AFCB8 80 07 00 00 */ lwz r0, 0(r7) +/* 802B2D5C 002AFCBC 7C 04 00 40 */ cmplw r4, r0 +/* 802B2D60 002AFCC0 40 82 00 14 */ bne lbl_802B2D74 +/* 802B2D64 002AFCC4 7D 04 43 78 */ mr r4, r8 +/* 802B2D68 002AFCC8 4B FF FB B5 */ bl AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool +/* 802B2D6C 002AFCCC 38 60 00 01 */ li r3, 1 +/* 802B2D70 002AFCD0 48 00 00 14 */ b lbl_802B2D84 +lbl_802B2D74: +/* 802B2D74 002AFCD4 38 E7 00 04 */ addi r7, r7, 4 +/* 802B2D78 002AFCD8 39 08 00 01 */ addi r8, r8, 1 +/* 802B2D7C 002AFCDC 42 00 FF DC */ bdnz lbl_802B2D58 +/* 802B2D80 002AFCE0 38 60 00 00 */ li r3, 0 +lbl_802B2D84: +/* 802B2D84 002AFCE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B2D88 002AFCE8 7C 08 03 A6 */ mtlr r0 +/* 802B2D8C 002AFCEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B2D90 002AFCF0 4E 80 00 20 */ blr + +.global CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: +/* 802B2D94 002AFCF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B2D98 002AFCF8 7C 08 02 A6 */ mflr r0 +/* 802B2D9C 002AFCFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B2DA0 002AFD00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B2DA4 002AFD04 7C DF 33 78 */ mr r31, r6 +/* 802B2DA8 002AFD08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B2DAC 002AFD0C 7C BE 2B 78 */ mr r30, r5 +/* 802B2DB0 002AFD10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B2DB4 002AFD14 7C 9D 23 78 */ mr r29, r4 +/* 802B2DB8 002AFD18 93 81 00 10 */ stw r28, 0x10(r1) +/* 802B2DBC 002AFD1C 7C 7C 1B 78 */ mr r28, r3 +/* 802B2DC0 002AFD20 4B FF FF 79 */ bl CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +/* 802B2DC4 002AFD24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2DC8 002AFD28 41 82 00 0C */ beq lbl_802B2DD4 +/* 802B2DCC 002AFD2C 38 60 00 01 */ li r3, 1 +/* 802B2DD0 002AFD30 48 00 00 48 */ b lbl_802B2E18 +lbl_802B2DD4: +/* 802B2DD4 002AFD34 7F 83 E3 78 */ mr r3, r28 +/* 802B2DD8 002AFD38 7F A4 EB 78 */ mr r4, r29 +/* 802B2DDC 002AFD3C 7F C5 F3 78 */ mr r5, r30 +/* 802B2DE0 002AFD40 4B FF FE BD */ bl CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream +/* 802B2DE4 002AFD44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2DE8 002AFD48 41 82 00 0C */ beq lbl_802B2DF4 +/* 802B2DEC 002AFD4C 38 60 00 01 */ li r3, 1 +/* 802B2DF0 002AFD50 48 00 00 28 */ b lbl_802B2E18 +lbl_802B2DF4: +/* 802B2DF4 002AFD54 7F 83 E3 78 */ mr r3, r28 +/* 802B2DF8 002AFD58 7F A4 EB 78 */ mr r4, r29 +/* 802B2DFC 002AFD5C 7F C5 F3 78 */ mr r5, r30 +/* 802B2E00 002AFD60 7F E6 FB 78 */ mr r6, r31 +/* 802B2E04 002AFD64 4B FF FD 21 */ bl CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +/* 802B2E08 002AFD68 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802B2E0C 002AFD6C 7C 03 00 D0 */ neg r0, r3 +/* 802B2E10 002AFD70 7C 00 1B 78 */ or r0, r0, r3 +/* 802B2E14 002AFD74 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_802B2E18: +/* 802B2E18 002AFD78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B2E1C 002AFD7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B2E20 002AFD80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B2E24 002AFD84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B2E28 002AFD88 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802B2E2C 002AFD8C 7C 08 03 A6 */ mtlr r0 +/* 802B2E30 002AFD90 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B2E34 002AFD94 4E 80 00 20 */ blr + +.global __ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool +__ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool: +/* 802B2E38 002AFD98 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802B2E3C 002AFD9C 7C 08 02 A6 */ mflr r0 +/* 802B2E40 002AFDA0 C0 22 C2 44 */ lfs f1, lbl_805ADF64@sda21(r2) +/* 802B2E44 002AFDA4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B2E48 002AFDA8 38 00 00 00 */ li r0, 0 +/* 802B2E4C 002AFDAC C0 02 C2 48 */ lfs f0, lbl_805ADF68@sda21(r2) +/* 802B2E50 002AFDB0 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802B2E54 002AFDB4 7C 9D 23 78 */ mr r29, r4 +/* 802B2E58 002AFDB8 7C BE 2B 78 */ mr r30, r5 +/* 802B2E5C 002AFDBC 7C 7C 1B 78 */ mr r28, r3 +/* 802B2E60 002AFDC0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802B2E64 002AFDC4 3B E0 00 00 */ li r31, 0 +/* 802B2E68 002AFDC8 38 80 00 5E */ li r4, 0x5e +/* 802B2E6C 002AFDCC 90 03 00 04 */ stw r0, 4(r3) +/* 802B2E70 002AFDD0 90 03 00 08 */ stw r0, 8(r3) +/* 802B2E74 002AFDD4 90 03 00 0C */ stw r0, 0xc(r3) +/* 802B2E78 002AFDD8 90 03 00 14 */ stw r0, 0x14(r3) +/* 802B2E7C 002AFDDC 90 03 00 18 */ stw r0, 0x18(r3) +/* 802B2E80 002AFDE0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802B2E84 002AFDE4 90 03 00 24 */ stw r0, 0x24(r3) +/* 802B2E88 002AFDE8 90 03 00 28 */ stw r0, 0x28(r3) +/* 802B2E8C 002AFDEC 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802B2E90 002AFDF0 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 802B2E94 002AFDF4 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802B2E98 002AFDF8 98 01 00 28 */ stb r0, 0x28(r1) +/* 802B2E9C 002AFDFC 48 00 04 0D */ bl "resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B2EA0 002AFE00 88 01 00 28 */ lbz r0, 0x28(r1) +/* 802B2EA4 002AFE04 28 00 00 00 */ cmplwi r0, 0 +/* 802B2EA8 002AFE08 41 82 00 1C */ beq lbl_802B2EC4 +/* 802B2EAC 002AFE0C 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802B2EB0 002AFE10 41 82 00 14 */ beq lbl_802B2EC4 +/* 802B2EB4 002AFE14 28 03 00 00 */ cmplwi r3, 0 +/* 802B2EB8 002AFE18 41 82 00 0C */ beq lbl_802B2EC4 +/* 802B2EBC 002AFE1C 38 80 00 00 */ li r4, 0 +/* 802B2EC0 002AFE20 48 08 DF 81 */ bl __dt__6CTokenFv +lbl_802B2EC4: +/* 802B2EC4 002AFE24 38 00 00 00 */ li r0, 0 +/* 802B2EC8 002AFE28 38 7C 00 10 */ addi r3, r28, 0x10 +/* 802B2ECC 002AFE2C 98 01 00 28 */ stb r0, 0x28(r1) +/* 802B2ED0 002AFE30 38 80 00 5E */ li r4, 0x5e +/* 802B2ED4 002AFE34 38 A2 C2 40 */ addi r5, r2, lbl_805ADF60@sda21 +/* 802B2ED8 002AFE38 48 00 02 E1 */ bl "resize__Q24rstl36vectorFi" +/* 802B2EDC 002AFE3C 38 00 00 00 */ li r0, 0 +/* 802B2EE0 002AFE40 38 7C 00 20 */ addi r3, r28, 0x20 +/* 802B2EE4 002AFE44 98 01 00 18 */ stb r0, 0x18(r1) +/* 802B2EE8 002AFE48 38 A1 00 0C */ addi r5, r1, 0xc +/* 802B2EEC 002AFE4C 38 80 00 5E */ li r4, 0x5e +/* 802B2EF0 002AFE50 48 00 01 49 */ bl "resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B2EF4 002AFE54 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802B2EF8 002AFE58 28 00 00 00 */ cmplwi r0, 0 +/* 802B2EFC 002AFE5C 41 82 00 1C */ beq lbl_802B2F18 +/* 802B2F00 002AFE60 34 61 00 0C */ addic. r3, r1, 0xc +/* 802B2F04 002AFE64 41 82 00 14 */ beq lbl_802B2F18 +/* 802B2F08 002AFE68 28 03 00 00 */ cmplwi r3, 0 +/* 802B2F0C 002AFE6C 41 82 00 0C */ beq lbl_802B2F18 +/* 802B2F10 002AFE70 38 80 00 00 */ li r4, 0 +/* 802B2F14 002AFE74 48 08 DF 2D */ bl __dt__6CTokenFv +lbl_802B2F18: +/* 802B2F18 002AFE78 38 00 00 00 */ li r0, 0 +/* 802B2F1C 002AFE7C 7F A3 EB 78 */ mr r3, r29 +/* 802B2F20 002AFE80 98 01 00 18 */ stb r0, 0x18(r1) +/* 802B2F24 002AFE84 48 07 55 39 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2F28 002AFE88 3C 03 BC AE */ addis r0, r3, 0xbcae +/* 802B2F2C 002AFE8C 28 00 53 4D */ cmplwi r0, 0x534d +/* 802B2F30 002AFE90 41 82 00 0C */ beq lbl_802B2F3C +/* 802B2F34 002AFE94 7F 83 E3 78 */ mr r3, r28 +/* 802B2F38 002AFE98 48 00 00 EC */ b lbl_802B3024 +lbl_802B2F3C: +/* 802B2F3C 002AFE9C 38 61 00 08 */ addi r3, r1, 8 +/* 802B2F40 002AFEA0 38 80 00 63 */ li r4, 0x63 +/* 802B2F44 002AFEA4 48 05 F6 A9 */ bl __ct__9CRandom16FUi +/* 802B2F48 002AFEA8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B2F4C 002AFEAC 38 81 00 08 */ addi r4, r1, 8 +/* 802B2F50 002AFEB0 48 05 F7 31 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B2F54 002AFEB4 48 00 00 B8 */ b lbl_802B300C +lbl_802B2F58: +/* 802B2F58 002AFEB8 7F A3 EB 78 */ mr r3, r29 +/* 802B2F5C 002AFEBC 48 07 55 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2F60 002AFEC0 7C 60 1B 78 */ mr r0, r3 +/* 802B2F64 002AFEC4 7F 83 E3 78 */ mr r3, r28 +/* 802B2F68 002AFEC8 7C 1B 03 78 */ mr r27, r0 +/* 802B2F6C 002AFECC 7F A5 EB 78 */ mr r5, r29 +/* 802B2F70 002AFED0 7F 64 DB 78 */ mr r4, r27 +/* 802B2F74 002AFED4 7F C6 F3 78 */ mr r6, r30 +/* 802B2F78 002AFED8 4B FF FE 1D */ bl CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +/* 802B2F7C 002AFEDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2F80 002AFEE0 40 82 00 8C */ bne lbl_802B300C +/* 802B2F84 002AFEE4 3C 60 52 4E */ lis r3, 0x524E4745@ha +/* 802B2F88 002AFEE8 38 03 47 45 */ addi r0, r3, 0x524E4745@l +/* 802B2F8C 002AFEEC 7C 1B 00 00 */ cmpw r27, r0 +/* 802B2F90 002AFEF0 41 82 00 30 */ beq lbl_802B2FC0 +/* 802B2F94 002AFEF4 40 80 00 18 */ bge lbl_802B2FAC +/* 802B2F98 002AFEF8 3C 60 46 4F */ lis r3, 0x464F4646@ha +/* 802B2F9C 002AFEFC 38 03 46 46 */ addi r0, r3, 0x464F4646@l +/* 802B2FA0 002AFF00 7C 1B 00 00 */ cmpw r27, r0 +/* 802B2FA4 002AFF04 41 82 00 34 */ beq lbl_802B2FD8 +/* 802B2FA8 002AFF08 48 00 00 50 */ b lbl_802B2FF8 +lbl_802B2FAC: +/* 802B2FAC 002AFF0C 3C 60 5F 45 */ lis r3, 0x5F454E44@ha +/* 802B2FB0 002AFF10 38 03 4E 44 */ addi r0, r3, 0x5F454E44@l +/* 802B2FB4 002AFF14 7C 1B 00 00 */ cmpw r27, r0 +/* 802B2FB8 002AFF18 41 82 00 38 */ beq lbl_802B2FF0 +/* 802B2FBC 002AFF1C 48 00 00 3C */ b lbl_802B2FF8 +lbl_802B2FC0: +/* 802B2FC0 002AFF20 7F A3 EB 78 */ mr r3, r29 +/* 802B2FC4 002AFF24 48 07 54 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2FC8 002AFF28 7F A3 EB 78 */ mr r3, r29 +/* 802B2FCC 002AFF2C 48 07 54 1D */ bl GetReal__20CParticleDataFactoryFR12CInputStream +/* 802B2FD0 002AFF30 D0 3C 00 30 */ stfs f1, 0x30(r28) +/* 802B2FD4 002AFF34 48 00 00 38 */ b lbl_802B300C +lbl_802B2FD8: +/* 802B2FD8 002AFF38 7F A3 EB 78 */ mr r3, r29 +/* 802B2FDC 002AFF3C 48 07 54 81 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2FE0 002AFF40 7F A3 EB 78 */ mr r3, r29 +/* 802B2FE4 002AFF44 48 07 54 05 */ bl GetReal__20CParticleDataFactoryFR12CInputStream +/* 802B2FE8 002AFF48 D0 3C 00 34 */ stfs f1, 0x34(r28) +/* 802B2FEC 002AFF4C 48 00 00 20 */ b lbl_802B300C +lbl_802B2FF0: +/* 802B2FF0 002AFF50 3B E0 00 01 */ li r31, 1 +/* 802B2FF4 002AFF54 48 00 00 18 */ b lbl_802B300C +lbl_802B2FF8: +/* 802B2FF8 002AFF58 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B2FFC 002AFF5C 38 80 FF FF */ li r4, -1 +/* 802B3000 002AFF60 48 05 F6 05 */ bl __dt__13CGlobalRandomFv +/* 802B3004 002AFF64 7F 83 E3 78 */ mr r3, r28 +/* 802B3008 002AFF68 48 00 00 1C */ b lbl_802B3024 +lbl_802B300C: +/* 802B300C 002AFF6C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B3010 002AFF70 41 82 FF 48 */ beq lbl_802B2F58 +/* 802B3014 002AFF74 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B3018 002AFF78 38 80 FF FF */ li r4, -1 +/* 802B301C 002AFF7C 48 05 F5 E9 */ bl __dt__13CGlobalRandomFv +/* 802B3020 002AFF80 7F 83 E3 78 */ mr r3, r28 +lbl_802B3024: +/* 802B3024 002AFF84 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802B3028 002AFF88 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802B302C 002AFF8C 7C 08 03 A6 */ mtlr r0 +/* 802B3030 002AFF90 38 21 00 50 */ addi r1, r1, 0x50 +/* 802B3034 002AFF94 4E 80 00 20 */ blr + +.global "resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +"resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B3038 002AFF98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B303C 002AFF9C 7C 08 02 A6 */ mflr r0 +/* 802B3040 002AFFA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B3044 002AFFA4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B3048 002AFFA8 7C 7B 1B 78 */ mr r27, r3 +/* 802B304C 002AFFAC 7C 9C 23 78 */ mr r28, r4 +/* 802B3050 002AFFB0 7C BD 2B 78 */ mr r29, r5 +/* 802B3054 002AFFB4 48 00 00 B9 */ bl sub_802b310c +/* 802B3058 002AFFB8 7F 63 DB 78 */ mr r3, r27 +/* 802B305C 002AFFBC 7F 84 E3 78 */ mr r4, r28 +/* 802B3060 002AFFC0 48 00 05 09 */ bl "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B3064 002AFFC4 3B C0 00 00 */ li r30, 0 +/* 802B3068 002AFFC8 48 00 00 88 */ b lbl_802B30F0 +lbl_802B306C: +/* 802B306C 002AFFCC 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B3070 002AFFD0 80 BB 00 08 */ lwz r5, 8(r27) +/* 802B3074 002AFFD4 7C 00 28 00 */ cmpw r0, r5 +/* 802B3078 002AFFD8 41 80 00 1C */ blt lbl_802B3094 +/* 802B307C 002AFFDC 2C 05 00 00 */ cmpwi r5, 0 +/* 802B3080 002AFFE0 7F 63 DB 78 */ mr r3, r27 +/* 802B3084 002AFFE4 38 80 00 04 */ li r4, 4 +/* 802B3088 002AFFE8 41 82 00 08 */ beq lbl_802B3090 +/* 802B308C 002AFFEC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802B3090: +/* 802B3090 002AFFF0 48 00 04 D9 */ bl "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +lbl_802B3094: +/* 802B3094 002AFFF4 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B3098 002AFFF8 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B309C 002AFFFC 54 00 20 36 */ slwi r0, r0, 4 +/* 802B30A0 002B0000 7F E3 02 15 */ add. r31, r3, r0 +/* 802B30A4 002B0004 41 82 00 3C */ beq lbl_802B30E0 +/* 802B30A8 002B0008 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B30AC 002B000C 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B30B0 002B0010 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B30B4 002B0014 28 00 00 00 */ cmplwi r0, 0 +/* 802B30B8 002B0018 41 82 00 28 */ beq lbl_802B30E0 +/* 802B30BC 002B001C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B30C0 002B0020 41 82 00 20 */ beq lbl_802B30E0 +/* 802B30C4 002B0024 7F E3 FB 78 */ mr r3, r31 +/* 802B30C8 002B0028 7F A4 EB 78 */ mr r4, r29 +/* 802B30CC 002B002C 48 08 DD DD */ bl __ct__6CTokenFRC6CToken +/* 802B30D0 002B0030 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B30D4 002B0034 7F E3 FB 78 */ mr r3, r31 +/* 802B30D8 002B0038 90 1F 00 08 */ stw r0, 8(r31) +/* 802B30DC 002B003C 48 08 DC A9 */ bl Lock__6CTokenFv +lbl_802B30E0: +/* 802B30E0 002B0040 80 7B 00 04 */ lwz r3, 4(r27) +/* 802B30E4 002B0044 3B DE 00 01 */ addi r30, r30, 1 +/* 802B30E8 002B0048 38 03 00 01 */ addi r0, r3, 1 +/* 802B30EC 002B004C 90 1B 00 04 */ stw r0, 4(r27) +lbl_802B30F0: +/* 802B30F0 002B0050 7C 1E E0 00 */ cmpw r30, r28 +/* 802B30F4 002B0054 41 80 FF 78 */ blt lbl_802B306C +/* 802B30F8 002B0058 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B30FC 002B005C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3100 002B0060 7C 08 03 A6 */ mtlr r0 +/* 802B3104 002B0064 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B3108 002B0068 4E 80 00 20 */ blr + +.global sub_802b310c +sub_802b310c: +/* 802B310C 002B006C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B3110 002B0070 7C 08 02 A6 */ mflr r0 +/* 802B3114 002B0074 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3118 002B0078 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B311C 002B007C 3B E0 00 00 */ li r31, 0 +/* 802B3120 002B0080 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B3124 002B0084 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B3128 002B0088 93 81 00 20 */ stw r28, 0x20(r1) +/* 802B312C 002B008C 7C 7C 1B 78 */ mr r28, r3 +/* 802B3130 002B0090 80 03 00 04 */ lwz r0, 4(r3) +/* 802B3134 002B0094 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 802B3138 002B0098 54 00 20 36 */ slwi r0, r0, 4 +/* 802B313C 002B009C 7F DD 02 14 */ add r30, r29, r0 +/* 802B3140 002B00A0 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B3144 002B00A4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B3148 002B00A8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B314C 002B00AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B3150 002B00B0 48 00 00 38 */ b lbl_802B3188 +lbl_802B3154: +/* 802B3154 002B00B4 28 1D 00 00 */ cmplwi r29, 0 +/* 802B3158 002B00B8 41 82 00 2C */ beq lbl_802B3184 +/* 802B315C 002B00BC 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B3160 002B00C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B3164 002B00C4 41 82 00 1C */ beq lbl_802B3180 +/* 802B3168 002B00C8 28 1D 00 00 */ cmplwi r29, 0 +/* 802B316C 002B00CC 41 82 00 14 */ beq lbl_802B3180 +/* 802B3170 002B00D0 41 82 00 10 */ beq lbl_802B3180 +/* 802B3174 002B00D4 7F A3 EB 78 */ mr r3, r29 +/* 802B3178 002B00D8 38 80 00 00 */ li r4, 0 +/* 802B317C 002B00DC 48 08 DC C5 */ bl __dt__6CTokenFv +lbl_802B3180: +/* 802B3180 002B00E0 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B3184: +/* 802B3184 002B00E4 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B3188: +/* 802B3188 002B00E8 7C 1D F0 40 */ cmplw r29, r30 +/* 802B318C 002B00EC 40 82 FF C8 */ bne lbl_802B3154 +/* 802B3190 002B00F0 38 00 00 00 */ li r0, 0 +/* 802B3194 002B00F4 90 1C 00 04 */ stw r0, 4(r28) +/* 802B3198 002B00F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B319C 002B00FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B31A0 002B0100 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B31A4 002B0104 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B31A8 002B0108 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802B31AC 002B010C 7C 08 03 A6 */ mtlr r0 +/* 802B31B0 002B0110 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B31B4 002B0114 4E 80 00 20 */ blr + +.global "resize__Q24rstl36vectorFi" +"resize__Q24rstl36vectorFi": +/* 802B31B8 002B0118 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B31BC 002B011C 7C 08 02 A6 */ mflr r0 +/* 802B31C0 002B0120 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B31C4 002B0124 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B31C8 002B0128 7C BF 2B 78 */ mr r31, r5 +/* 802B31CC 002B012C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B31D0 002B0130 7C 9E 23 78 */ mr r30, r4 +/* 802B31D4 002B0134 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B31D8 002B0138 7C 7D 1B 78 */ mr r29, r3 +/* 802B31DC 002B013C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802B31E0 002B0140 80 03 00 04 */ lwz r0, 4(r3) +/* 802B31E4 002B0144 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802B31E8 002B0148 54 00 10 3A */ slwi r0, r0, 2 +/* 802B31EC 002B014C 7C 03 02 14 */ add r0, r3, r0 +/* 802B31F0 002B0150 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B31F4 002B0154 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B31F8 002B0158 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B31FC 002B015C 90 61 00 08 */ stw r3, 8(r1) +/* 802B3200 002B0160 48 00 00 08 */ b lbl_802B3208 +lbl_802B3204: +/* 802B3204 002B0164 38 63 00 04 */ addi r3, r3, 4 +lbl_802B3208: +/* 802B3208 002B0168 7C 03 00 40 */ cmplw r3, r0 +/* 802B320C 002B016C 40 82 FF F8 */ bne lbl_802B3204 +/* 802B3210 002B0170 38 00 00 00 */ li r0, 0 +/* 802B3214 002B0174 7F A3 EB 78 */ mr r3, r29 +/* 802B3218 002B0178 90 1D 00 04 */ stw r0, 4(r29) +/* 802B321C 002B017C 7F C4 F3 78 */ mr r4, r30 +/* 802B3220 002B0180 4B DA 6A 89 */ bl "reserve__Q24rstl36vectorFi" +/* 802B3224 002B0184 3B 80 00 00 */ li r28, 0 +/* 802B3228 002B0188 48 00 00 58 */ b lbl_802B3280 +lbl_802B322C: +/* 802B322C 002B018C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B3230 002B0190 80 BD 00 08 */ lwz r5, 8(r29) +/* 802B3234 002B0194 7C 00 28 00 */ cmpw r0, r5 +/* 802B3238 002B0198 41 80 00 1C */ blt lbl_802B3254 +/* 802B323C 002B019C 2C 05 00 00 */ cmpwi r5, 0 +/* 802B3240 002B01A0 7F A3 EB 78 */ mr r3, r29 +/* 802B3244 002B01A4 38 80 00 04 */ li r4, 4 +/* 802B3248 002B01A8 41 82 00 08 */ beq lbl_802B3250 +/* 802B324C 002B01AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802B3250: +/* 802B3250 002B01B0 4B DA 6A 59 */ bl "reserve__Q24rstl36vectorFi" +lbl_802B3254: +/* 802B3254 002B01B4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B3258 002B01B8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802B325C 002B01BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802B3260 002B01C0 7C 63 02 15 */ add. r3, r3, r0 +/* 802B3264 002B01C4 41 82 00 0C */ beq lbl_802B3270 +/* 802B3268 002B01C8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802B326C 002B01CC 90 03 00 00 */ stw r0, 0(r3) +lbl_802B3270: +/* 802B3270 002B01D0 80 7D 00 04 */ lwz r3, 4(r29) +/* 802B3274 002B01D4 3B 9C 00 01 */ addi r28, r28, 1 +/* 802B3278 002B01D8 38 03 00 01 */ addi r0, r3, 1 +/* 802B327C 002B01DC 90 1D 00 04 */ stw r0, 4(r29) +lbl_802B3280: +/* 802B3280 002B01E0 7C 1C F0 00 */ cmpw r28, r30 +/* 802B3284 002B01E4 41 80 FF A8 */ blt lbl_802B322C +/* 802B3288 002B01E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B328C 002B01EC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B3290 002B01F0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B3294 002B01F4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B3298 002B01F8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802B329C 002B01FC 7C 08 03 A6 */ mtlr r0 +/* 802B32A0 002B0200 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B32A4 002B0204 4E 80 00 20 */ blr + +.global "resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +"resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B32A8 002B0208 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B32AC 002B020C 7C 08 02 A6 */ mflr r0 +/* 802B32B0 002B0210 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B32B4 002B0214 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B32B8 002B0218 7C 7B 1B 78 */ mr r27, r3 +/* 802B32BC 002B021C 7C 9C 23 78 */ mr r28, r4 +/* 802B32C0 002B0220 7C BD 2B 78 */ mr r29, r5 +/* 802B32C4 002B0224 48 00 00 B9 */ bl "clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv" +/* 802B32C8 002B0228 7F 63 DB 78 */ mr r3, r27 +/* 802B32CC 002B022C 7F 84 E3 78 */ mr r4, r28 +/* 802B32D0 002B0230 48 00 01 59 */ bl "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B32D4 002B0234 3B C0 00 00 */ li r30, 0 +/* 802B32D8 002B0238 48 00 00 88 */ b lbl_802B3360 +lbl_802B32DC: +/* 802B32DC 002B023C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B32E0 002B0240 80 BB 00 08 */ lwz r5, 8(r27) +/* 802B32E4 002B0244 7C 00 28 00 */ cmpw r0, r5 +/* 802B32E8 002B0248 41 80 00 1C */ blt lbl_802B3304 +/* 802B32EC 002B024C 2C 05 00 00 */ cmpwi r5, 0 +/* 802B32F0 002B0250 7F 63 DB 78 */ mr r3, r27 +/* 802B32F4 002B0254 38 80 00 04 */ li r4, 4 +/* 802B32F8 002B0258 41 82 00 08 */ beq lbl_802B3300 +/* 802B32FC 002B025C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802B3300: +/* 802B3300 002B0260 48 00 01 29 */ bl "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +lbl_802B3304: +/* 802B3304 002B0264 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B3308 002B0268 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B330C 002B026C 54 00 20 36 */ slwi r0, r0, 4 +/* 802B3310 002B0270 7F E3 02 15 */ add. r31, r3, r0 +/* 802B3314 002B0274 41 82 00 3C */ beq lbl_802B3350 +/* 802B3318 002B0278 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B331C 002B027C 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B3320 002B0280 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B3324 002B0284 28 00 00 00 */ cmplwi r0, 0 +/* 802B3328 002B0288 41 82 00 28 */ beq lbl_802B3350 +/* 802B332C 002B028C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B3330 002B0290 41 82 00 20 */ beq lbl_802B3350 +/* 802B3334 002B0294 7F E3 FB 78 */ mr r3, r31 +/* 802B3338 002B0298 7F A4 EB 78 */ mr r4, r29 +/* 802B333C 002B029C 48 08 DB 6D */ bl __ct__6CTokenFRC6CToken +/* 802B3340 002B02A0 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B3344 002B02A4 7F E3 FB 78 */ mr r3, r31 +/* 802B3348 002B02A8 90 1F 00 08 */ stw r0, 8(r31) +/* 802B334C 002B02AC 48 08 DA 39 */ bl Lock__6CTokenFv +lbl_802B3350: +/* 802B3350 002B02B0 80 7B 00 04 */ lwz r3, 4(r27) +/* 802B3354 002B02B4 3B DE 00 01 */ addi r30, r30, 1 +/* 802B3358 002B02B8 38 03 00 01 */ addi r0, r3, 1 +/* 802B335C 002B02BC 90 1B 00 04 */ stw r0, 4(r27) +lbl_802B3360: +/* 802B3360 002B02C0 7C 1E E0 00 */ cmpw r30, r28 +/* 802B3364 002B02C4 41 80 FF 78 */ blt lbl_802B32DC +/* 802B3368 002B02C8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B336C 002B02CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3370 002B02D0 7C 08 03 A6 */ mtlr r0 +/* 802B3374 002B02D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B3378 002B02D8 4E 80 00 20 */ blr + +.global "clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv" +"clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv": +/* 802B337C 002B02DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B3380 002B02E0 7C 08 02 A6 */ mflr r0 +/* 802B3384 002B02E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3388 002B02E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B338C 002B02EC 3B E0 00 00 */ li r31, 0 +/* 802B3390 002B02F0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B3394 002B02F4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B3398 002B02F8 93 81 00 20 */ stw r28, 0x20(r1) +/* 802B339C 002B02FC 7C 7C 1B 78 */ mr r28, r3 +/* 802B33A0 002B0300 80 03 00 04 */ lwz r0, 4(r3) +/* 802B33A4 002B0304 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 802B33A8 002B0308 54 00 20 36 */ slwi r0, r0, 4 +/* 802B33AC 002B030C 7F DD 02 14 */ add r30, r29, r0 +/* 802B33B0 002B0310 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B33B4 002B0314 93 C1 00 08 */ stw r30, 8(r1) +/* 802B33B8 002B0318 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B33BC 002B031C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B33C0 002B0320 48 00 00 38 */ b lbl_802B33F8 +lbl_802B33C4: +/* 802B33C4 002B0324 28 1D 00 00 */ cmplwi r29, 0 +/* 802B33C8 002B0328 41 82 00 2C */ beq lbl_802B33F4 +/* 802B33CC 002B032C 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B33D0 002B0330 28 00 00 00 */ cmplwi r0, 0 +/* 802B33D4 002B0334 41 82 00 1C */ beq lbl_802B33F0 +/* 802B33D8 002B0338 28 1D 00 00 */ cmplwi r29, 0 +/* 802B33DC 002B033C 41 82 00 14 */ beq lbl_802B33F0 +/* 802B33E0 002B0340 41 82 00 10 */ beq lbl_802B33F0 +/* 802B33E4 002B0344 7F A3 EB 78 */ mr r3, r29 +/* 802B33E8 002B0348 38 80 00 00 */ li r4, 0 +/* 802B33EC 002B034C 48 08 DA 55 */ bl __dt__6CTokenFv +lbl_802B33F0: +/* 802B33F0 002B0350 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B33F4: +/* 802B33F4 002B0354 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B33F8: +/* 802B33F8 002B0358 7C 1D F0 40 */ cmplw r29, r30 +/* 802B33FC 002B035C 40 82 FF C8 */ bne lbl_802B33C4 +/* 802B3400 002B0360 38 00 00 00 */ li r0, 0 +/* 802B3404 002B0364 90 1C 00 04 */ stw r0, 4(r28) +/* 802B3408 002B0368 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B340C 002B036C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B3410 002B0370 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B3414 002B0374 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B3418 002B0378 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802B341C 002B037C 7C 08 03 A6 */ mtlr r0 +/* 802B3420 002B0380 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B3424 002B0384 4E 80 00 20 */ blr + +.global "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B3428 002B0388 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B342C 002B038C 7C 08 02 A6 */ mflr r0 +/* 802B3430 002B0390 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3434 002B0394 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802B3438 002B0398 7C 9F 23 78 */ mr r31, r4 +/* 802B343C 002B039C 7C 7E 1B 78 */ mr r30, r3 +/* 802B3440 002B03A0 80 03 00 08 */ lwz r0, 8(r3) +/* 802B3444 002B03A4 7C 1F 00 00 */ cmpw r31, r0 +/* 802B3448 002B03A8 40 81 01 0C */ ble lbl_802B3554 +/* 802B344C 002B03AC 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 802B3450 002B03B0 40 82 00 0C */ bne lbl_802B345C +/* 802B3454 002B03B4 3B 80 00 00 */ li r28, 0 +/* 802B3458 002B03B8 48 00 00 18 */ b lbl_802B3470 +lbl_802B345C: +/* 802B345C 002B03BC 3C 80 80 3D */ lis r4, lbl_803D6540@ha +/* 802B3460 002B03C0 38 A0 00 00 */ li r5, 0 +/* 802B3464 002B03C4 38 84 65 40 */ addi r4, r4, lbl_803D6540@l +/* 802B3468 002B03C8 48 06 23 B1 */ bl __nwa__FUlPCcPCc +/* 802B346C 002B03CC 7C 7C 1B 78 */ mr r28, r3 +lbl_802B3470: +/* 802B3470 002B03D0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B3474 002B03D4 7F 9B E3 78 */ mr r27, r28 +/* 802B3478 002B03D8 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B347C 002B03DC 54 00 20 36 */ slwi r0, r0, 4 +/* 802B3480 002B03E0 7F BA 02 14 */ add r29, r26, r0 +/* 802B3484 002B03E4 93 41 00 10 */ stw r26, 0x10(r1) +/* 802B3488 002B03E8 93 A1 00 08 */ stw r29, 8(r1) +/* 802B348C 002B03EC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802B3490 002B03F0 93 41 00 14 */ stw r26, 0x14(r1) +/* 802B3494 002B03F4 48 00 00 4C */ b lbl_802B34E0 +lbl_802B3498: +/* 802B3498 002B03F8 28 1B 00 00 */ cmplwi r27, 0 +/* 802B349C 002B03FC 41 82 00 3C */ beq lbl_802B34D8 +/* 802B34A0 002B0400 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B34A4 002B0404 98 1B 00 0C */ stb r0, 0xc(r27) +/* 802B34A8 002B0408 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B34AC 002B040C 28 00 00 00 */ cmplwi r0, 0 +/* 802B34B0 002B0410 41 82 00 28 */ beq lbl_802B34D8 +/* 802B34B4 002B0414 28 1B 00 00 */ cmplwi r27, 0 +/* 802B34B8 002B0418 41 82 00 20 */ beq lbl_802B34D8 +/* 802B34BC 002B041C 7F 63 DB 78 */ mr r3, r27 +/* 802B34C0 002B0420 7F 44 D3 78 */ mr r4, r26 +/* 802B34C4 002B0424 48 08 D9 E5 */ bl __ct__6CTokenFRC6CToken +/* 802B34C8 002B0428 80 1A 00 08 */ lwz r0, 8(r26) +/* 802B34CC 002B042C 7F 63 DB 78 */ mr r3, r27 +/* 802B34D0 002B0430 90 1B 00 08 */ stw r0, 8(r27) +/* 802B34D4 002B0434 48 08 D8 B1 */ bl Lock__6CTokenFv +lbl_802B34D8: +/* 802B34D8 002B0438 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 802B34DC 002B043C 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B34E0: +/* 802B34E0 002B0440 7C 1A E8 40 */ cmplw r26, r29 +/* 802B34E4 002B0444 40 82 FF B4 */ bne lbl_802B3498 +/* 802B34E8 002B0448 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B34EC 002B044C 3B A0 00 00 */ li r29, 0 +/* 802B34F0 002B0450 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B34F4 002B0454 54 00 20 36 */ slwi r0, r0, 4 +/* 802B34F8 002B0458 7F 7A 02 14 */ add r27, r26, r0 +/* 802B34FC 002B045C 48 00 00 38 */ b lbl_802B3534 +lbl_802B3500: +/* 802B3500 002B0460 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3504 002B0464 41 82 00 2C */ beq lbl_802B3530 +/* 802B3508 002B0468 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B350C 002B046C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3510 002B0470 41 82 00 1C */ beq lbl_802B352C +/* 802B3514 002B0474 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3518 002B0478 41 82 00 14 */ beq lbl_802B352C +/* 802B351C 002B047C 41 82 00 10 */ beq lbl_802B352C +/* 802B3520 002B0480 7F 43 D3 78 */ mr r3, r26 +/* 802B3524 002B0484 38 80 00 00 */ li r4, 0 +/* 802B3528 002B0488 48 08 D9 19 */ bl __dt__6CTokenFv +lbl_802B352C: +/* 802B352C 002B048C 9B BA 00 0C */ stb r29, 0xc(r26) +lbl_802B3530: +/* 802B3530 002B0490 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B3534: +/* 802B3534 002B0494 7C 1A D8 40 */ cmplw r26, r27 +/* 802B3538 002B0498 40 82 FF C8 */ bne lbl_802B3500 +/* 802B353C 002B049C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B3540 002B04A0 28 03 00 00 */ cmplwi r3, 0 +/* 802B3544 002B04A4 41 82 00 08 */ beq lbl_802B354C +/* 802B3548 002B04A8 48 06 23 E9 */ bl Free__7CMemoryFPCv +lbl_802B354C: +/* 802B354C 002B04AC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802B3550 002B04B0 93 FE 00 08 */ stw r31, 8(r30) +lbl_802B3554: +/* 802B3554 002B04B4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802B3558 002B04B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B355C 002B04BC 7C 08 03 A6 */ mtlr r0 +/* 802B3560 002B04C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B3564 002B04C4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B3568 002B04C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B356C 002B04CC 7C 08 02 A6 */ mflr r0 +/* 802B3570 002B04D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3574 002B04D4 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802B3578 002B04D8 7C 9F 23 78 */ mr r31, r4 +/* 802B357C 002B04DC 7C 7E 1B 78 */ mr r30, r3 +/* 802B3580 002B04E0 80 03 00 08 */ lwz r0, 8(r3) +/* 802B3584 002B04E4 7C 1F 00 00 */ cmpw r31, r0 +/* 802B3588 002B04E8 40 81 01 0C */ ble lbl_802B3694 +/* 802B358C 002B04EC 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 802B3590 002B04F0 40 82 00 0C */ bne lbl_802B359C +/* 802B3594 002B04F4 3B 80 00 00 */ li r28, 0 +/* 802B3598 002B04F8 48 00 00 18 */ b lbl_802B35B0 +lbl_802B359C: +/* 802B359C 002B04FC 3C 80 80 3D */ lis r4, lbl_803D6540@ha +/* 802B35A0 002B0500 38 A0 00 00 */ li r5, 0 +/* 802B35A4 002B0504 38 84 65 40 */ addi r4, r4, lbl_803D6540@l +/* 802B35A8 002B0508 48 06 22 71 */ bl __nwa__FUlPCcPCc +/* 802B35AC 002B050C 7C 7C 1B 78 */ mr r28, r3 +lbl_802B35B0: +/* 802B35B0 002B0510 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B35B4 002B0514 7F 9B E3 78 */ mr r27, r28 +/* 802B35B8 002B0518 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B35BC 002B051C 54 00 20 36 */ slwi r0, r0, 4 +/* 802B35C0 002B0520 7F BA 02 14 */ add r29, r26, r0 +/* 802B35C4 002B0524 93 41 00 10 */ stw r26, 0x10(r1) +/* 802B35C8 002B0528 93 A1 00 08 */ stw r29, 8(r1) +/* 802B35CC 002B052C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802B35D0 002B0530 93 41 00 14 */ stw r26, 0x14(r1) +/* 802B35D4 002B0534 48 00 00 4C */ b lbl_802B3620 +lbl_802B35D8: +/* 802B35D8 002B0538 28 1B 00 00 */ cmplwi r27, 0 +/* 802B35DC 002B053C 41 82 00 3C */ beq lbl_802B3618 +/* 802B35E0 002B0540 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B35E4 002B0544 98 1B 00 0C */ stb r0, 0xc(r27) +/* 802B35E8 002B0548 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B35EC 002B054C 28 00 00 00 */ cmplwi r0, 0 +/* 802B35F0 002B0550 41 82 00 28 */ beq lbl_802B3618 +/* 802B35F4 002B0554 28 1B 00 00 */ cmplwi r27, 0 +/* 802B35F8 002B0558 41 82 00 20 */ beq lbl_802B3618 +/* 802B35FC 002B055C 7F 63 DB 78 */ mr r3, r27 +/* 802B3600 002B0560 7F 44 D3 78 */ mr r4, r26 +/* 802B3604 002B0564 48 08 D8 A5 */ bl __ct__6CTokenFRC6CToken +/* 802B3608 002B0568 80 1A 00 08 */ lwz r0, 8(r26) +/* 802B360C 002B056C 7F 63 DB 78 */ mr r3, r27 +/* 802B3610 002B0570 90 1B 00 08 */ stw r0, 8(r27) +/* 802B3614 002B0574 48 08 D7 71 */ bl Lock__6CTokenFv +lbl_802B3618: +/* 802B3618 002B0578 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 802B361C 002B057C 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B3620: +/* 802B3620 002B0580 7C 1A E8 40 */ cmplw r26, r29 +/* 802B3624 002B0584 40 82 FF B4 */ bne lbl_802B35D8 +/* 802B3628 002B0588 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B362C 002B058C 3B A0 00 00 */ li r29, 0 +/* 802B3630 002B0590 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B3634 002B0594 54 00 20 36 */ slwi r0, r0, 4 +/* 802B3638 002B0598 7F 7A 02 14 */ add r27, r26, r0 +/* 802B363C 002B059C 48 00 00 38 */ b lbl_802B3674 +lbl_802B3640: +/* 802B3640 002B05A0 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3644 002B05A4 41 82 00 2C */ beq lbl_802B3670 +/* 802B3648 002B05A8 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B364C 002B05AC 28 00 00 00 */ cmplwi r0, 0 +/* 802B3650 002B05B0 41 82 00 1C */ beq lbl_802B366C +/* 802B3654 002B05B4 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3658 002B05B8 41 82 00 14 */ beq lbl_802B366C +/* 802B365C 002B05BC 41 82 00 10 */ beq lbl_802B366C +/* 802B3660 002B05C0 7F 43 D3 78 */ mr r3, r26 +/* 802B3664 002B05C4 38 80 00 00 */ li r4, 0 +/* 802B3668 002B05C8 48 08 D7 D9 */ bl __dt__6CTokenFv +lbl_802B366C: +/* 802B366C 002B05CC 9B BA 00 0C */ stb r29, 0xc(r26) +lbl_802B3670: +/* 802B3670 002B05D0 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B3674: +/* 802B3674 002B05D4 7C 1A D8 40 */ cmplw r26, r27 +/* 802B3678 002B05D8 40 82 FF C8 */ bne lbl_802B3640 +/* 802B367C 002B05DC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B3680 002B05E0 28 03 00 00 */ cmplwi r3, 0 +/* 802B3684 002B05E4 41 82 00 08 */ beq lbl_802B368C +/* 802B3688 002B05E8 48 06 22 A9 */ bl Free__7CMemoryFPCv +lbl_802B368C: +/* 802B368C 002B05EC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802B3690 002B05F0 93 FE 00 08 */ stw r31, 8(r30) +lbl_802B3694: +/* 802B3694 002B05F4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802B3698 002B05F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B369C 002B05FC 7C 08 03 A6 */ mtlr r0 +/* 802B36A0 002B0600 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B36A4 002B0604 4E 80 00 20 */ blr diff --git a/asm/Weapons/CDecal.s b/asm/Weapons/CDecal.s new file mode 100644 index 00000000..e176ad20 --- /dev/null +++ b/asm/Weapons/CDecal.s @@ -0,0 +1,1131 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Update__6CDecalFf +Update__6CDecalFf: +/* 802B4828 002B1788 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B482C 002B178C 80 03 00 40 */ lwz r0, 0x40(r3) +/* 802B4830 002B1790 7C 04 00 00 */ cmpw r4, r0 +/* 802B4834 002B1794 41 80 00 10 */ blt lbl_802B4844 +/* 802B4838 002B1798 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802B483C 002B179C 60 00 00 01 */ ori r0, r0, 1 +/* 802B4840 002B17A0 90 03 00 5C */ stw r0, 0x5c(r3) +lbl_802B4844: +/* 802B4844 002B17A4 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B4848 002B17A8 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 802B484C 002B17AC 7C 04 00 00 */ cmpw r4, r0 +/* 802B4850 002B17B0 41 80 00 10 */ blt lbl_802B4860 +/* 802B4854 002B17B4 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802B4858 002B17B8 60 00 00 02 */ ori r0, r0, 2 +/* 802B485C 002B17BC 90 03 00 5C */ stw r0, 0x5c(r3) +lbl_802B4860: +/* 802B4860 002B17C0 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B4864 002B17C4 80 03 00 54 */ lwz r0, 0x54(r3) +/* 802B4868 002B17C8 7C 04 00 00 */ cmpw r4, r0 +/* 802B486C 002B17CC 41 80 00 10 */ blt lbl_802B487C +/* 802B4870 002B17D0 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802B4874 002B17D4 60 00 00 04 */ ori r0, r0, 4 +/* 802B4878 002B17D8 90 03 00 5C */ stw r0, 0x5c(r3) +lbl_802B487C: +/* 802B487C 002B17DC 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B4880 002B17E0 38 04 00 01 */ addi r0, r4, 1 +/* 802B4884 002B17E4 90 03 00 58 */ stw r0, 0x58(r3) +/* 802B4888 002B17E8 4E 80 00 20 */ blr + +.global Render__6CDecalCFv +Render__6CDecalCFv: +/* 802B488C 002B17EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B4890 002B17F0 7C 08 02 A6 */ mflr r0 +/* 802B4894 002B17F4 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 +/* 802B4898 002B17F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B489C 002B17FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B48A0 002B1800 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B48A4 002B1804 7C 7E 1B 78 */ mr r30, r3 +/* 802B48A8 002B1808 38 61 00 08 */ addi r3, r1, 8 +/* 802B48AC 002B180C 48 05 DD D5 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B48B0 002B1810 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B48B4 002B1814 2C 00 00 07 */ cmpwi r0, 7 +/* 802B48B8 002B1818 40 82 00 14 */ bne lbl_802B48CC +/* 802B48BC 002B181C 38 61 00 08 */ addi r3, r1, 8 +/* 802B48C0 002B1820 38 80 FF FF */ li r4, -1 +/* 802B48C4 002B1824 48 05 DD 41 */ bl __dt__13CGlobalRandomFv +/* 802B48C8 002B1828 48 00 00 CC */ b lbl_802B4994 +lbl_802B48CC: +/* 802B48CC 002B182C 48 05 80 B1 */ bl DisableAllLights__9CGraphicsFv +/* 802B48D0 002B1830 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B48D4 002B1834 48 07 5E 75 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 802B48D8 002B1838 83 FE 00 08 */ lwz r31, 8(r30) +/* 802B48DC 002B183C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B48E0 002B1840 28 00 00 00 */ cmplwi r0, 0 +/* 802B48E4 002B1844 41 82 00 30 */ beq lbl_802B4914 +/* 802B48E8 002B1848 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B48EC 002B184C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B48F0 002B1850 40 82 00 24 */ bne lbl_802B4914 +/* 802B48F4 002B1854 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802B48F8 002B1858 48 07 5E 81 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B48FC 002B185C 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B4900 002B1860 48 07 5D 7D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B4904 002B1864 7F C3 F3 78 */ mr r3, r30 +/* 802B4908 002B1868 7F E5 FB 78 */ mr r5, r31 +/* 802B490C 002B186C 38 9E 00 3C */ addi r4, r30, 0x3c +/* 802B4910 002B1870 48 00 05 41 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr +lbl_802B4914: +/* 802B4914 002B1874 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B4918 002B1878 3B E3 00 1C */ addi r31, r3, 0x1c +/* 802B491C 002B187C 80 03 00 30 */ lwz r0, 0x30(r3) +/* 802B4920 002B1880 28 00 00 00 */ cmplwi r0, 0 +/* 802B4924 002B1884 41 82 00 30 */ beq lbl_802B4954 +/* 802B4928 002B1888 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B492C 002B188C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 802B4930 002B1890 40 82 00 24 */ bne lbl_802B4954 +/* 802B4934 002B1894 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802B4938 002B1898 48 07 5E 41 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B493C 002B189C 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B4940 002B18A0 48 07 5D 3D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B4944 002B18A4 7F C3 F3 78 */ mr r3, r30 +/* 802B4948 002B18A8 7F E5 FB 78 */ mr r5, r31 +/* 802B494C 002B18AC 38 9E 00 48 */ addi r4, r30, 0x48 +/* 802B4950 002B18B0 48 00 05 01 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr +lbl_802B4954: +/* 802B4954 002B18B4 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B4958 002B18B8 88 03 00 44 */ lbz r0, 0x44(r3) +/* 802B495C 002B18BC 28 00 00 00 */ cmplwi r0, 0 +/* 802B4960 002B18C0 41 82 00 28 */ beq lbl_802B4988 +/* 802B4964 002B18C4 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B4968 002B18C8 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 802B496C 002B18CC 40 82 00 1C */ bne lbl_802B4988 +/* 802B4970 002B18D0 80 7E 00 54 */ lwz r3, 0x54(r30) +/* 802B4974 002B18D4 48 07 5E 05 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B4978 002B18D8 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B497C 002B18DC 48 07 5D 01 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B4980 002B18E0 7F C3 F3 78 */ mr r3, r30 +/* 802B4984 002B18E4 48 00 00 29 */ bl RenderMdl__6CDecalCFv +lbl_802B4988: +/* 802B4988 002B18E8 38 61 00 08 */ addi r3, r1, 8 +/* 802B498C 002B18EC 38 80 FF FF */ li r4, -1 +/* 802B4990 002B18F0 48 05 DC 75 */ bl __dt__13CGlobalRandomFv +lbl_802B4994: +/* 802B4994 002B18F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B4998 002B18F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B499C 002B18FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B49A0 002B1900 7C 08 03 A6 */ mtlr r0 +/* 802B49A4 002B1904 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B49A8 002B1908 4E 80 00 20 */ blr + +.global RenderMdl__6CDecalCFv +RenderMdl__6CDecalCFv: +/* 802B49AC 002B190C 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 802B49B0 002B1910 7C 08 02 A6 */ mflr r0 +/* 802B49B4 002B1914 90 01 03 44 */ stw r0, 0x344(r1) +/* 802B49B8 002B1918 93 E1 03 3C */ stw r31, 0x33c(r1) +/* 802B49BC 002B191C 7C 7F 1B 78 */ mr r31, r3 +/* 802B49C0 002B1920 93 C1 03 38 */ stw r30, 0x338(r1) +/* 802B49C4 002B1924 48 09 55 E9 */ bl White__6CColorFv +/* 802B49C8 002B1928 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802B49CC 002B192C 80 03 00 00 */ lwz r0, 0(r3) +/* 802B49D0 002B1930 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 802B49D4 002B1934 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B49D8 002B1938 C0 45 00 00 */ lfs f2, 0(r5) +/* 802B49DC 002B193C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802B49E0 002B1940 C0 25 00 04 */ lfs f1, 4(r5) +/* 802B49E4 002B1944 38 61 03 04 */ addi r3, r1, 0x304 +/* 802B49E8 002B1948 C0 05 00 08 */ lfs f0, 8(r5) +/* 802B49EC 002B194C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B49F0 002B1950 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802B49F4 002B1954 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802B49F8 002B1958 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802B49FC 002B195C 48 05 E1 79 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4A00 002B1960 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4A04 002B1964 88 03 00 5C */ lbz r0, 0x5c(r3) +/* 802B4A08 002B1968 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802B4A0C 002B196C 40 82 00 1C */ bne lbl_802B4A28 +/* 802B4A10 002B1970 38 61 02 74 */ addi r3, r1, 0x274 +/* 802B4A14 002B1974 38 9F 00 0C */ addi r4, r31, 0xc +/* 802B4A18 002B1978 48 05 E2 29 */ bl GetRotation__12CTransform4fCFv +/* 802B4A1C 002B197C 38 61 03 04 */ addi r3, r1, 0x304 +/* 802B4A20 002B1980 38 81 02 74 */ addi r4, r1, 0x274 +/* 802B4A24 002B1984 48 05 E1 1D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802B4A28: +/* 802B4A28 002B1988 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4A2C 002B198C 3B C0 00 00 */ li r30, 0 +/* 802B4A30 002B1990 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B4A34 002B1994 28 03 00 00 */ cmplwi r3, 0 +/* 802B4A38 002B1998 41 82 00 20 */ beq lbl_802B4A58 +/* 802B4A3C 002B199C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4A40 002B19A0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B4A44 002B19A4 7D 89 03 A6 */ mtctr r12 +/* 802B4A48 002B19A8 4E 80 04 21 */ bctrl +/* 802B4A4C 002B19AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B4A50 002B19B0 41 82 00 08 */ beq lbl_802B4A58 +/* 802B4A54 002B19B4 3B C0 00 01 */ li r30, 1 +lbl_802B4A58: +/* 802B4A58 002B19B8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B4A5C 002B19BC 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4A60 002B19C0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B4A64 002B19C4 48 05 E1 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4A68 002B19C8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802B4A6C 002B19CC 41 82 00 84 */ beq lbl_802B4AF0 +/* 802B4A70 002B19D0 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4A74 002B19D4 38 BF 00 60 */ addi r5, r31, 0x60 +/* 802B4A78 002B19D8 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4A7C 002B19DC 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B4A80 002B19E0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4A84 002B19E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4A88 002B19E8 7D 89 03 A6 */ mtctr r12 +/* 802B4A8C 002B19EC 4E 80 04 21 */ bctrl +/* 802B4A90 002B19F0 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4A94 002B19F4 38 61 02 44 */ addi r3, r1, 0x244 +/* 802B4A98 002B19F8 C0 1F 00 68 */ lfs f0, 0x68(r31) +/* 802B4A9C 002B19FC 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B4AA0 002B1A00 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4AA4 002B1A04 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802B4AA8 002B1A08 48 05 ED 69 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 802B4AAC 002B1A0C 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4AB0 002B1A10 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B4AB4 002B1A14 48 05 E0 8D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4AB8 002B1A18 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4ABC 002B1A1C 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4AC0 002B1A20 C0 1F 00 64 */ lfs f0, 0x64(r31) +/* 802B4AC4 002B1A24 38 81 00 18 */ addi r4, r1, 0x18 +/* 802B4AC8 002B1A28 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4ACC 002B1A2C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802B4AD0 002B1A30 48 05 EB 09 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B4AD4 002B1A34 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4AD8 002B1A38 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4ADC 002B1A3C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 802B4AE0 002B1A40 38 81 00 14 */ addi r4, r1, 0x14 +/* 802B4AE4 002B1A44 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4AE8 002B1A48 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B4AEC 002B1A4C 48 05 EC 09 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +lbl_802B4AF0: +/* 802B4AF0 002B1A50 38 61 02 14 */ addi r3, r1, 0x214 +/* 802B4AF4 002B1A54 38 81 03 04 */ addi r4, r1, 0x304 +/* 802B4AF8 002B1A58 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4AFC 002B1A5C 48 05 DE 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4B00 002B1A60 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4B04 002B1A64 38 81 02 14 */ addi r4, r1, 0x214 +/* 802B4B08 002B1A68 48 05 E0 39 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4B0C 002B1A6C 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4B10 002B1A70 80 63 00 4C */ lwz r3, 0x4c(r3) +/* 802B4B14 002B1A74 28 03 00 00 */ cmplwi r3, 0 +/* 802B4B18 002B1A78 41 82 00 1C */ beq lbl_802B4B34 +/* 802B4B1C 002B1A7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4B20 002B1A80 38 A1 00 88 */ addi r5, r1, 0x88 +/* 802B4B24 002B1A84 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4B28 002B1A88 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4B2C 002B1A8C 7D 89 03 A6 */ mtctr r12 +/* 802B4B30 002B1A90 4E 80 04 21 */ bctrl +lbl_802B4B34: +/* 802B4B34 002B1A94 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B4B38 002B1A98 38 81 03 04 */ addi r4, r1, 0x304 +/* 802B4B3C 002B1A9C 38 A1 00 88 */ addi r5, r1, 0x88 +/* 802B4B40 002B1AA0 48 05 DF A9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B4B44 002B1AA4 C0 BF 00 38 */ lfs f5, 0x38(r31) +/* 802B4B48 002B1AA8 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 802B4B4C 002B1AAC C0 9F 00 28 */ lfs f4, 0x28(r31) +/* 802B4B50 002B1AB0 38 81 00 64 */ addi r4, r1, 0x64 +/* 802B4B54 002B1AB4 C0 7F 00 18 */ lfs f3, 0x18(r31) +/* 802B4B58 002B1AB8 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802B4B5C 002B1ABC C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802B4B60 002B1AC0 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802B4B64 002B1AC4 EC 44 10 2A */ fadds f2, f4, f2 +/* 802B4B68 002B1AC8 EC 25 08 2A */ fadds f1, f5, f1 +/* 802B4B6C 002B1ACC D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802B4B70 002B1AD0 EC 03 00 2A */ fadds f0, f3, f0 +/* 802B4B74 002B1AD4 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 802B4B78 002B1AD8 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802B4B7C 002B1ADC D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802B4B80 002B1AE0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802B4B84 002B1AE4 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802B4B88 002B1AE8 48 05 E5 B9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802B4B8C 002B1AEC 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4B90 002B1AF0 38 81 01 E4 */ addi r4, r1, 0x1e4 +/* 802B4B94 002B1AF4 48 05 DF E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4B98 002B1AF8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802B4B9C 002B1AFC 41 82 00 24 */ beq lbl_802B4BC0 +/* 802B4BA0 002B1B00 38 61 01 24 */ addi r3, r1, 0x124 +/* 802B4BA4 002B1B04 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4BA8 002B1B08 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4BAC 002B1B0C 48 05 DD A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4BB0 002B1B10 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4BB4 002B1B14 38 81 01 24 */ addi r4, r1, 0x124 +/* 802B4BB8 002B1B18 48 05 DF 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4BBC 002B1B1C 48 00 00 E8 */ b lbl_802B4CA4 +lbl_802B4BC0: +/* 802B4BC0 002B1B20 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4BC4 002B1B24 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B4BC8 002B1B28 28 03 00 00 */ cmplwi r3, 0 +/* 802B4BCC 002B1B2C 41 82 00 BC */ beq lbl_802B4C88 +/* 802B4BD0 002B1B30 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B4BD4 002B1B34 38 A1 00 7C */ addi r5, r1, 0x7c +/* 802B4BD8 002B1B38 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4BDC 002B1B3C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802B4BE0 002B1B40 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802B4BE4 002B1B44 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802B4BE8 002B1B48 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4BEC 002B1B4C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4BF0 002B1B50 7D 89 03 A6 */ mtctr r12 +/* 802B4BF4 002B1B54 4E 80 04 21 */ bctrl +/* 802B4BF8 002B1B58 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4BFC 002B1B5C 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 802B4C00 002B1B60 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802B4C04 002B1B64 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B4C08 002B1B68 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4C0C 002B1B6C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B4C10 002B1B70 48 05 EC 01 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 802B4C14 002B1B74 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4C18 002B1B78 38 81 01 B4 */ addi r4, r1, 0x1b4 +/* 802B4C1C 002B1B7C 48 05 DF 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4C20 002B1B80 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4C24 002B1B84 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4C28 002B1B88 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802B4C2C 002B1B8C 38 81 00 0C */ addi r4, r1, 0xc +/* 802B4C30 002B1B90 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4C34 002B1B94 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B4C38 002B1B98 48 05 E9 A1 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B4C3C 002B1B9C C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4C40 002B1BA0 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4C44 002B1BA4 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802B4C48 002B1BA8 38 81 00 08 */ addi r4, r1, 8 +/* 802B4C4C 002B1BAC EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4C50 002B1BB0 D0 01 00 08 */ stfs f0, 8(r1) +/* 802B4C54 002B1BB4 48 05 EA A1 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 802B4C58 002B1BB8 38 61 01 84 */ addi r3, r1, 0x184 +/* 802B4C5C 002B1BBC 38 81 03 04 */ addi r4, r1, 0x304 +/* 802B4C60 002B1BC0 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4C64 002B1BC4 48 05 DC ED */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4C68 002B1BC8 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802B4C6C 002B1BCC 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4C70 002B1BD0 38 A1 01 84 */ addi r5, r1, 0x184 +/* 802B4C74 002B1BD4 48 05 DC DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4C78 002B1BD8 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4C7C 002B1BDC 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802B4C80 002B1BE0 48 05 DE C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4C84 002B1BE4 48 00 00 20 */ b lbl_802B4CA4 +lbl_802B4C88: +/* 802B4C88 002B1BE8 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802B4C8C 002B1BEC 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4C90 002B1BF0 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4C94 002B1BF4 48 05 DC BD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4C98 002B1BF8 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4C9C 002B1BFC 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802B4CA0 002B1C00 48 05 DE A1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802B4CA4: +/* 802B4CA4 002B1C04 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4CA8 002B1C08 80 63 00 54 */ lwz r3, 0x54(r3) +/* 802B4CAC 002B1C0C 28 03 00 00 */ cmplwi r3, 0 +/* 802B4CB0 002B1C10 41 82 00 5C */ beq lbl_802B4D0C +/* 802B4CB4 002B1C14 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B4CB8 002B1C18 38 A1 00 70 */ addi r5, r1, 0x70 +/* 802B4CBC 002B1C1C 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4CC0 002B1C20 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802B4CC4 002B1C24 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802B4CC8 002B1C28 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802B4CCC 002B1C2C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4CD0 002B1C30 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4CD4 002B1C34 7D 89 03 A6 */ mtctr r12 +/* 802B4CD8 002B1C38 4E 80 04 21 */ bctrl +/* 802B4CDC 002B1C3C C0 21 00 70 */ lfs f1, 0x70(r1) +/* 802B4CE0 002B1C40 38 61 01 54 */ addi r3, r1, 0x154 +/* 802B4CE4 002B1C44 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 802B4CE8 002B1C48 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 802B4CEC 002B1C4C 48 05 E5 1D */ bl Scale__12CTransform4fFfff +/* 802B4CF0 002B1C50 38 61 00 94 */ addi r3, r1, 0x94 +/* 802B4CF4 002B1C54 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4CF8 002B1C58 38 A1 01 54 */ addi r5, r1, 0x154 +/* 802B4CFC 002B1C5C 48 05 DC 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4D00 002B1C60 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4D04 002B1C64 38 81 00 94 */ addi r4, r1, 0x94 +/* 802B4D08 002B1C68 48 05 DE 39 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802B4D0C: +/* 802B4D0C 002B1C6C 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4D10 002B1C70 80 63 00 58 */ lwz r3, 0x58(r3) +/* 802B4D14 002B1C74 28 03 00 00 */ cmplwi r3, 0 +/* 802B4D18 002B1C78 41 82 00 1C */ beq lbl_802B4D34 +/* 802B4D1C 002B1C7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4D20 002B1C80 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802B4D24 002B1C84 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4D28 002B1C88 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4D2C 002B1C8C 7D 89 03 A6 */ mtctr r12 +/* 802B4D30 002B1C90 4E 80 04 21 */ bctrl +lbl_802B4D34: +/* 802B4D34 002B1C94 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4D38 002B1C98 48 05 78 A9 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B4D3C 002B1C9C 81 1F 00 08 */ lwz r8, 8(r31) +/* 802B4D40 002B1CA0 88 08 00 5C */ lbz r0, 0x5c(r8) +/* 802B4D44 002B1CA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B4D48 002B1CA8 41 82 00 4C */ beq lbl_802B4D94 +/* 802B4D4C 002B1CAC 38 C0 00 03 */ li r6, 3 +/* 802B4D50 002B1CB0 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802B4D54 002B1CB4 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 802B4D58 002B1CB8 38 60 00 07 */ li r3, 7 +/* 802B4D5C 002B1CBC 38 E0 00 00 */ li r7, 0 +/* 802B4D60 002B1CC0 98 61 00 44 */ stb r3, 0x44(r1) +/* 802B4D64 002B1CC4 60 00 00 01 */ ori r0, r0, 1 +/* 802B4D68 002B1CC8 38 81 00 44 */ addi r4, r1, 0x44 +/* 802B4D6C 002B1CCC 98 E1 00 45 */ stb r7, 0x45(r1) +/* 802B4D70 002B1CD0 B0 01 00 46 */ sth r0, 0x46(r1) +/* 802B4D74 002B1CD4 90 A1 00 48 */ stw r5, 0x48(r1) +/* 802B4D78 002B1CD8 98 61 00 3C */ stb r3, 0x3c(r1) +/* 802B4D7C 002B1CDC 80 68 00 40 */ lwz r3, 0x40(r8) +/* 802B4D80 002B1CE0 98 E1 00 3D */ stb r7, 0x3d(r1) +/* 802B4D84 002B1CE4 B0 C1 00 3E */ sth r6, 0x3e(r1) +/* 802B4D88 002B1CE8 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802B4D8C 002B1CEC 48 0A 0E 49 */ bl Draw__6CModelCFRC11CModelFlags +/* 802B4D90 002B1CF0 48 00 00 9C */ b lbl_802B4E2C +lbl_802B4D94: +/* 802B4D94 002B1CF4 E0 41 A0 23 */ psq_l f2, 35(r1), 1, qr2 +/* 802B4D98 002B1CF8 C0 02 C2 5C */ lfs f0, lbl_805ADF7C@sda21(r2) +/* 802B4D9C 002B1CFC C0 22 C2 58 */ lfs f1, lbl_805ADF78@sda21(r2) +/* 802B4DA0 002B1D00 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802B4DA4 002B1D04 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802B4DA8 002B1D08 40 82 00 40 */ bne lbl_802B4DE8 +/* 802B4DAC 002B1D0C 38 80 00 00 */ li r4, 0 +/* 802B4DB0 002B1D10 38 00 00 03 */ li r0, 3 +/* 802B4DB4 002B1D14 FC 40 08 90 */ fmr f2, f1 +/* 802B4DB8 002B1D18 98 81 00 34 */ stb r4, 0x34(r1) +/* 802B4DBC 002B1D1C FC 60 08 90 */ fmr f3, f1 +/* 802B4DC0 002B1D20 38 61 00 38 */ addi r3, r1, 0x38 +/* 802B4DC4 002B1D24 FC 80 08 90 */ fmr f4, f1 +/* 802B4DC8 002B1D28 98 81 00 35 */ stb r4, 0x35(r1) +/* 802B4DCC 002B1D2C B0 01 00 36 */ sth r0, 0x36(r1) +/* 802B4DD0 002B1D30 48 0A E6 1D */ bl __ct__6CColorFffff +/* 802B4DD4 002B1D34 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4DD8 002B1D38 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B4DDC 002B1D3C 80 63 00 40 */ lwz r3, 0x40(r3) +/* 802B4DE0 002B1D40 48 0A 0D F5 */ bl Draw__6CModelCFRC11CModelFlags +/* 802B4DE4 002B1D44 48 00 00 48 */ b lbl_802B4E2C +lbl_802B4DE8: +/* 802B4DE8 002B1D48 38 C0 00 03 */ li r6, 3 +/* 802B4DEC 002B1D4C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802B4DF0 002B1D50 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 802B4DF4 002B1D54 38 60 00 05 */ li r3, 5 +/* 802B4DF8 002B1D58 38 E0 00 00 */ li r7, 0 +/* 802B4DFC 002B1D5C 98 61 00 2C */ stb r3, 0x2c(r1) +/* 802B4E00 002B1D60 60 00 00 01 */ ori r0, r0, 1 +/* 802B4E04 002B1D64 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B4E08 002B1D68 98 E1 00 2D */ stb r7, 0x2d(r1) +/* 802B4E0C 002B1D6C B0 01 00 2E */ sth r0, 0x2e(r1) +/* 802B4E10 002B1D70 90 A1 00 30 */ stw r5, 0x30(r1) +/* 802B4E14 002B1D74 98 61 00 24 */ stb r3, 0x24(r1) +/* 802B4E18 002B1D78 80 68 00 40 */ lwz r3, 0x40(r8) +/* 802B4E1C 002B1D7C 98 E1 00 25 */ stb r7, 0x25(r1) +/* 802B4E20 002B1D80 B0 C1 00 26 */ sth r6, 0x26(r1) +/* 802B4E24 002B1D84 90 A1 00 28 */ stw r5, 0x28(r1) +/* 802B4E28 002B1D88 48 0A 0D AD */ bl Draw__6CModelCFRC11CModelFlags +lbl_802B4E2C: +/* 802B4E2C 002B1D8C 38 60 00 01 */ li r3, 1 +/* 802B4E30 002B1D90 48 05 6C 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802B4E34 002B1D94 48 05 40 75 */ bl ResetStates__13CTevCombinersFv +/* 802B4E38 002B1D98 80 01 03 44 */ lwz r0, 0x344(r1) +/* 802B4E3C 002B1D9C 83 E1 03 3C */ lwz r31, 0x33c(r1) +/* 802B4E40 002B1DA0 83 C1 03 38 */ lwz r30, 0x338(r1) +/* 802B4E44 002B1DA4 7C 08 03 A6 */ mtlr r0 +/* 802B4E48 002B1DA8 38 21 03 40 */ addi r1, r1, 0x340 +/* 802B4E4C 002B1DAC 4E 80 00 20 */ blr + +.global RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr +RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr: +/* 802B4E50 002B1DB0 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802B4E54 002B1DB4 7C 08 02 A6 */ mflr r0 +/* 802B4E58 002B1DB8 90 01 00 94 */ stw r0, 0x94(r1) +/* 802B4E5C 002B1DBC DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802B4E60 002B1DC0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802B4E64 002B1DC4 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802B4E68 002B1DC8 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802B4E6C 002B1DCC 93 A1 00 74 */ stw r29, 0x74(r1) +/* 802B4E70 002B1DD0 93 81 00 70 */ stw r28, 0x70(r1) +/* 802B4E74 002B1DD4 7C 7C 1B 78 */ mr r28, r3 +/* 802B4E78 002B1DD8 7C 9D 23 78 */ mr r29, r4 +/* 802B4E7C 002B1DDC 7C BE 2B 78 */ mr r30, r5 +/* 802B4E80 002B1DE0 48 09 51 2D */ bl White__6CColorFv +/* 802B4E84 002B1DE4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802B4E88 002B1DE8 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 802B4E8C 002B1DEC 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 802B4E90 002B1DF0 80 03 00 00 */ lwz r0, 0(r3) +/* 802B4E94 002B1DF4 C0 62 C2 58 */ lfs f3, lbl_805ADF78@sda21(r2) +/* 802B4E98 002B1DF8 28 05 00 00 */ cmplwi r5, 0 +/* 802B4E9C 002B1DFC C0 24 00 04 */ lfs f1, 4(r4) +/* 802B4EA0 002B1E00 C0 04 00 08 */ lfs f0, 8(r4) +/* 802B4EA4 002B1E04 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B4EA8 002B1E08 D0 61 00 08 */ stfs f3, 8(r1) +/* 802B4EAC 002B1E0C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802B4EB0 002B1E10 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802B4EB4 002B1E14 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802B4EB8 002B1E18 41 82 00 20 */ beq lbl_802B4ED8 +/* 802B4EBC 002B1E1C 7C A3 2B 78 */ mr r3, r5 +/* 802B4EC0 002B1E20 38 A1 00 0C */ addi r5, r1, 0xc +/* 802B4EC4 002B1E24 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4EC8 002B1E28 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4ECC 002B1E2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4ED0 002B1E30 7D 89 03 A6 */ mtctr r12 +/* 802B4ED4 002B1E34 4E 80 04 21 */ bctrl +lbl_802B4ED8: +/* 802B4ED8 002B1E38 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B4EDC 002B1E3C 28 03 00 00 */ cmplwi r3, 0 +/* 802B4EE0 002B1E40 41 82 00 2C */ beq lbl_802B4F0C +/* 802B4EE4 002B1E44 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4EE8 002B1E48 38 A1 00 08 */ addi r5, r1, 8 +/* 802B4EEC 002B1E4C 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4EF0 002B1E50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4EF4 002B1E54 7D 89 03 A6 */ mtctr r12 +/* 802B4EF8 002B1E58 4E 80 04 21 */ bctrl +/* 802B4EFC 002B1E5C C0 21 00 08 */ lfs f1, 8(r1) +/* 802B4F00 002B1E60 C0 02 C2 60 */ lfs f0, lbl_805ADF80@sda21(r2) +/* 802B4F04 002B1E64 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4F08 002B1E68 D0 01 00 08 */ stfs f0, 8(r1) +lbl_802B4F0C: +/* 802B4F0C 002B1E6C 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B4F10 002B1E70 28 03 00 00 */ cmplwi r3, 0 +/* 802B4F14 002B1E74 41 82 00 1C */ beq lbl_802B4F30 +/* 802B4F18 002B1E78 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4F1C 002B1E7C 38 BD 00 08 */ addi r5, r29, 8 +/* 802B4F20 002B1E80 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4F24 002B1E84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4F28 002B1E88 7D 89 03 A6 */ mtctr r12 +/* 802B4F2C 002B1E8C 4E 80 04 21 */ bctrl +lbl_802B4F30: +/* 802B4F30 002B1E90 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B4F34 002B1E94 28 03 00 00 */ cmplwi r3, 0 +/* 802B4F38 002B1E98 41 82 00 24 */ beq lbl_802B4F5C +/* 802B4F3C 002B1E9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4F40 002B1EA0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802B4F44 002B1EA4 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4F48 002B1EA8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4F4C 002B1EAC 7D 89 03 A6 */ mtctr r12 +/* 802B4F50 002B1EB0 4E 80 04 21 */ bctrl +/* 802B4F54 002B1EB4 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B4F58 002B1EB8 D0 01 00 38 */ stfs f0, 0x38(r1) +lbl_802B4F5C: +/* 802B4F5C 002B1EBC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B4F60 002B1EC0 38 9C 00 0C */ addi r4, r28, 0xc +/* 802B4F64 002B1EC4 48 05 DC 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4F68 002B1EC8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802B4F6C 002B1ECC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B4F70 002B1ED0 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802B4F74 002B1ED4 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802B4F78 002B1ED8 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802B4F7C 002B1EDC EC 81 00 2A */ fadds f4, f1, f0 +/* 802B4F80 002B1EE0 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802B4F84 002B1EE4 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802B4F88 002B1EE8 EC 43 10 2A */ fadds f2, f3, f2 +/* 802B4F8C 002B1EEC D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802B4F90 002B1EF0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B4F94 002B1EF4 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802B4F98 002B1EF8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802B4F9C 002B1EFC 48 05 76 45 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B4FA0 002B1F00 38 60 00 07 */ li r3, 7 +/* 802B4FA4 002B1F04 38 80 00 00 */ li r4, 0 +/* 802B4FA8 002B1F08 38 A0 00 00 */ li r5, 0 +/* 802B4FAC 002B1F0C 38 C0 00 07 */ li r6, 7 +/* 802B4FB0 002B1F10 38 E0 00 00 */ li r7, 0 +/* 802B4FB4 002B1F14 48 05 6A 75 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 802B4FB8 002B1F18 88 0D A5 EC */ lbz r0, lbl_805A91AC@sda21(r13) +/* 802B4FBC 002B1F1C 3B E0 00 00 */ li r31, 0 +/* 802B4FC0 002B1F20 7F E3 FB 78 */ mr r3, r31 +/* 802B4FC4 002B1F24 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FC8 002B1F28 41 82 00 14 */ beq lbl_802B4FDC +/* 802B4FCC 002B1F2C 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 802B4FD0 002B1F30 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FD4 002B1F34 41 82 00 08 */ beq lbl_802B4FDC +/* 802B4FD8 002B1F38 38 60 00 01 */ li r3, 1 +lbl_802B4FDC: +/* 802B4FDC 002B1F3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B4FE0 002B1F40 41 82 00 14 */ beq lbl_802B4FF4 +/* 802B4FE4 002B1F44 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802B4FE8 002B1F48 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FEC 002B1F4C 41 82 00 08 */ beq lbl_802B4FF4 +/* 802B4FF0 002B1F50 3B E0 00 01 */ li r31, 1 +lbl_802B4FF4: +/* 802B4FF4 002B1F54 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 802B4FF8 002B1F58 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FFC 002B1F5C 41 82 00 4C */ beq lbl_802B5048 +/* 802B5000 002B1F60 38 60 00 01 */ li r3, 1 +/* 802B5004 002B1F64 38 80 00 03 */ li r4, 3 +/* 802B5008 002B1F68 38 A0 00 00 */ li r5, 0 +/* 802B500C 002B1F6C 48 05 6A 89 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B5010 002B1F70 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B5014 002B1F74 41 82 00 1C */ beq lbl_802B5030 +/* 802B5018 002B1F78 38 60 00 01 */ li r3, 1 +/* 802B501C 002B1F7C 38 80 00 01 */ li r4, 1 +/* 802B5020 002B1F80 38 A0 00 01 */ li r5, 1 +/* 802B5024 002B1F84 38 C0 00 00 */ li r6, 0 +/* 802B5028 002B1F88 48 05 6A 29 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802B502C 002B1F8C 48 00 00 40 */ b lbl_802B506C +lbl_802B5030: +/* 802B5030 002B1F90 38 60 00 01 */ li r3, 1 +/* 802B5034 002B1F94 38 80 00 04 */ li r4, 4 +/* 802B5038 002B1F98 38 A0 00 01 */ li r5, 1 +/* 802B503C 002B1F9C 38 C0 00 00 */ li r6, 0 +/* 802B5040 002B1FA0 48 05 6A 11 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802B5044 002B1FA4 48 00 00 28 */ b lbl_802B506C +lbl_802B5048: +/* 802B5048 002B1FA8 38 60 00 01 */ li r3, 1 +/* 802B504C 002B1FAC 38 80 00 03 */ li r4, 3 +/* 802B5050 002B1FB0 38 A0 00 00 */ li r5, 0 +/* 802B5054 002B1FB4 48 05 6A 41 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B5058 002B1FB8 38 60 00 01 */ li r3, 1 +/* 802B505C 002B1FBC 38 80 00 04 */ li r4, 4 +/* 802B5060 002B1FC0 38 A0 00 05 */ li r5, 5 +/* 802B5064 002B1FC4 38 C0 00 00 */ li r6, 0 +/* 802B5068 002B1FC8 48 05 69 E9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_802B506C: +/* 802B506C 002B1FCC 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802B5070 002B1FD0 C0 22 C2 54 */ lfs f1, lbl_805ADF74@sda21(r2) +/* 802B5074 002B1FD4 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B5078 002B1FD8 28 04 00 00 */ cmplwi r4, 0 +/* 802B507C 002B1FDC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802B5080 002B1FE0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802B5084 002B1FE4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802B5088 002B1FE8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802B508C 002B1FEC 41 82 01 30 */ beq lbl_802B51BC +/* 802B5090 002B1FF0 81 84 00 00 */ lwz r12, 0(r4) +/* 802B5094 002B1FF4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B5098 002B1FF8 80 BC 00 58 */ lwz r5, 0x58(r28) +/* 802B509C 002B1FFC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B50A0 002B2000 7D 89 03 A6 */ mtctr r12 +/* 802B50A4 002B2004 4E 80 04 21 */ bctrl +/* 802B50A8 002B2008 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50AC 002B200C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802B50B0 002B2010 48 08 BD F9 */ bl __ct__6CTokenFRC6CToken +/* 802B50B4 002B2014 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B50B8 002B2018 38 80 00 00 */ li r4, 0 +/* 802B50BC 002B201C 48 08 BD 85 */ bl __dt__6CTokenFv +/* 802B50C0 002B2020 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B50C4 002B2024 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802B50C8 002B2028 28 00 00 00 */ cmplwi r0, 0 +/* 802B50CC 002B202C 40 82 00 14 */ bne lbl_802B50E0 +/* 802B50D0 002B2030 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50D4 002B2034 38 80 00 00 */ li r4, 0 +/* 802B50D8 002B2038 48 08 BD 69 */ bl __dt__6CTokenFv +/* 802B50DC 002B203C 48 00 03 2C */ b lbl_802B5408 +lbl_802B50E0: +/* 802B50E0 002B2040 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50E4 002B2044 48 08 BD 29 */ bl GetObj__6CTokenFv +/* 802B50E8 002B2048 80 63 00 04 */ lwz r3, 4(r3) +/* 802B50EC 002B204C 38 80 00 00 */ li r4, 0 +/* 802B50F0 002B2050 38 A0 00 01 */ li r5, 1 +/* 802B50F4 002B2054 48 05 A6 49 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B50F8 002B2058 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50FC 002B205C 48 08 BD 11 */ bl GetObj__6CTokenFv +/* 802B5100 002B2060 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 802B5104 002B2064 38 60 00 00 */ li r3, 0 +/* 802B5108 002B2068 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 802B510C 002B206C 48 05 51 AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802B5110 002B2070 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802B5114 002B2074 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802B5118 002B2078 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B511C 002B207C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5120 002B2080 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5124 002B2084 7D 89 03 A6 */ mtctr r12 +/* 802B5128 002B2088 4E 80 04 21 */ bctrl +/* 802B512C 002B208C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B5130 002B2090 41 82 00 70 */ beq lbl_802B51A0 +/* 802B5134 002B2094 38 60 00 02 */ li r3, 2 +/* 802B5138 002B2098 48 05 3B 59 */ bl SetNumTevStages__3CGXFUc +/* 802B513C 002B209C 38 60 00 01 */ li r3, 1 +/* 802B5140 002B20A0 38 80 00 0F */ li r4, 0xf +/* 802B5144 002B20A4 38 A0 00 00 */ li r5, 0 +/* 802B5148 002B20A8 38 C0 00 01 */ li r6, 1 +/* 802B514C 002B20AC 38 E0 00 0F */ li r7, 0xf +/* 802B5150 002B20B0 48 05 3A 9D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B5154 002B20B4 38 60 00 01 */ li r3, 1 +/* 802B5158 002B20B8 38 80 00 07 */ li r4, 7 +/* 802B515C 002B20BC 38 A0 00 04 */ li r5, 4 +/* 802B5160 002B20C0 38 C0 00 00 */ li r6, 0 +/* 802B5164 002B20C4 38 E0 00 07 */ li r7, 7 +/* 802B5168 002B20C8 48 05 3A 2D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B516C 002B20CC 38 60 00 01 */ li r3, 1 +/* 802B5170 002B20D0 48 05 2A E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B5174 002B20D4 38 60 00 04 */ li r3, 4 +/* 802B5178 002B20D8 38 80 00 00 */ li r4, 0 +/* 802B517C 002B20DC 38 A0 00 01 */ li r5, 1 +/* 802B5180 002B20E0 38 C0 00 00 */ li r6, 0 +/* 802B5184 002B20E4 38 E0 00 00 */ li r7, 0 +/* 802B5188 002B20E8 48 05 36 8D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B518C 002B20EC 38 60 00 01 */ li r3, 1 +/* 802B5190 002B20F0 38 80 00 00 */ li r4, 0 +/* 802B5194 002B20F4 38 A0 00 01 */ li r5, 1 +/* 802B5198 002B20F8 48 0C 66 99 */ bl GXSetTevSwapMode +/* 802B519C 002B20FC 48 00 00 10 */ b lbl_802B51AC +lbl_802B51A0: +/* 802B51A0 002B2100 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802B51A4 002B2104 38 60 00 01 */ li r3, 1 +/* 802B51A8 002B2108 48 05 51 11 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_802B51AC: +/* 802B51AC 002B210C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B51B0 002B2110 38 80 00 00 */ li r4, 0 +/* 802B51B4 002B2114 48 08 BC 8D */ bl __dt__6CTokenFv +/* 802B51B8 002B2118 48 00 00 1C */ b lbl_802B51D4 +lbl_802B51BC: +/* 802B51BC 002B211C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802B51C0 002B2120 38 60 00 00 */ li r3, 0 +/* 802B51C4 002B2124 48 05 50 F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802B51C8 002B2128 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802B51CC 002B212C 38 60 00 01 */ li r3, 1 +/* 802B51D0 002B2130 48 05 50 E9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_802B51D4: +/* 802B51D4 002B2134 38 60 00 00 */ li r3, 0 +/* 802B51D8 002B2138 38 80 00 00 */ li r4, 0 +/* 802B51DC 002B213C 38 A0 00 00 */ li r5, 0 +/* 802B51E0 002B2140 38 C0 00 04 */ li r6, 4 +/* 802B51E4 002B2144 48 05 37 69 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B51E8 002B2148 38 60 00 01 */ li r3, 1 +/* 802B51EC 002B214C 38 80 00 00 */ li r4, 0 +/* 802B51F0 002B2150 38 A0 00 00 */ li r5, 0 +/* 802B51F4 002B2154 38 C0 00 FF */ li r6, 0xff +/* 802B51F8 002B2158 48 05 37 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B51FC 002B215C 38 60 00 01 */ li r3, 1 +/* 802B5200 002B2160 48 05 3C 15 */ bl SetNumTexGens__3CGXFUc +/* 802B5204 002B2164 38 60 00 01 */ li r3, 1 +/* 802B5208 002B2168 48 05 3C 49 */ bl SetNumChans__3CGXFUc +/* 802B520C 002B216C 38 60 00 00 */ li r3, 0 +/* 802B5210 002B2170 48 05 34 81 */ bl SetNumIndStages__3CGXFUc +/* 802B5214 002B2174 38 60 00 00 */ li r3, 0 +/* 802B5218 002B2178 38 80 00 01 */ li r4, 1 +/* 802B521C 002B217C 38 A0 00 04 */ li r5, 4 +/* 802B5220 002B2180 38 C0 00 3C */ li r6, 0x3c +/* 802B5224 002B2184 38 E0 00 00 */ li r7, 0 +/* 802B5228 002B2188 39 00 00 7D */ li r8, 0x7d +/* 802B522C 002B218C 48 05 34 A1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B5230 002B2190 38 60 00 00 */ li r3, 0 +/* 802B5234 002B2194 38 80 00 00 */ li r4, 0 +/* 802B5238 002B2198 38 A0 00 00 */ li r5, 0 +/* 802B523C 002B219C 38 C0 00 01 */ li r6, 1 +/* 802B5240 002B21A0 38 E0 00 00 */ li r7, 0 +/* 802B5244 002B21A4 39 00 00 00 */ li r8, 0 +/* 802B5248 002B21A8 39 20 00 02 */ li r9, 2 +/* 802B524C 002B21AC 48 05 3A 81 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B5250 002B21B0 3C 60 80 3D */ lis r3, lbl_803D6550@ha +/* 802B5254 002B21B4 38 63 65 50 */ addi r3, r3, lbl_803D6550@l +/* 802B5258 002B21B8 48 05 2B D1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B525C 002B21BC 38 60 00 98 */ li r3, 0x98 +/* 802B5260 002B21C0 38 80 00 00 */ li r4, 0 +/* 802B5264 002B21C4 38 A0 00 04 */ li r5, 4 +/* 802B5268 002B21C8 48 05 33 1D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B526C 002B21CC C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B5270 002B21D0 C0 3D 00 08 */ lfs f1, 8(r29) +/* 802B5274 002B21D4 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802B5278 002B21D8 40 82 00 8C */ bne lbl_802B5304 +/* 802B527C 002B21DC C0 21 00 08 */ lfs f1, 8(r1) +/* 802B5280 002B21E0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B5284 002B21E4 C0 02 C2 64 */ lfs f0, lbl_805ADF84@sda21(r2) +/* 802B5288 002B21E8 FC 60 08 50 */ fneg f3, f1 +/* 802B528C 002B21EC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B5290 002B21F0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B5294 002B21F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B5298 002B21F8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B529C 002B21FC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52A0 002B2200 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802B52A4 002B2204 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B52A8 002B2208 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802B52AC 002B220C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B52B0 002B2210 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B52B4 002B2214 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B52B8 002B2218 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B52BC 002B221C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52C0 002B2220 C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 802B52C4 002B2224 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B52C8 002B2228 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B52CC 002B222C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B52D0 002B2230 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B52D4 002B2234 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B52D8 002B2238 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52DC 002B223C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B52E0 002B2240 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802B52E4 002B2244 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B52E8 002B2248 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B52EC 002B224C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B52F0 002B2250 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B52F4 002B2254 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52F8 002B2258 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B52FC 002B225C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B5300 002B2260 48 00 00 D4 */ b lbl_802B53D4 +lbl_802B5304: +/* 802B5304 002B2264 C0 02 C2 50 */ lfs f0, lbl_805ADF70@sda21(r2) +/* 802B5308 002B2268 EF E0 00 72 */ fmuls f31, f0, f1 +/* 802B530C 002B226C FC 20 F8 90 */ fmr f1, f31 +/* 802B5310 002B2270 48 0D F7 CD */ bl sin +/* 802B5314 002B2274 FC 40 08 18 */ frsp f2, f1 +/* 802B5318 002B2278 C0 01 00 08 */ lfs f0, 8(r1) +/* 802B531C 002B227C FC 20 F8 90 */ fmr f1, f31 +/* 802B5320 002B2280 EF E0 00 B2 */ fmuls f31, f0, f2 +/* 802B5324 002B2284 48 0D F0 CD */ bl cos +/* 802B5328 002B2288 FC 40 08 18 */ frsp f2, f1 +/* 802B532C 002B228C C0 01 00 08 */ lfs f0, 8(r1) +/* 802B5330 002B2290 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B5334 002B2294 C0 A2 C2 64 */ lfs f5, lbl_805ADF84@sda21(r2) +/* 802B5338 002B2298 FC 20 F8 50 */ fneg f1, f31 +/* 802B533C 002B229C EC C0 00 B2 */ fmuls f6, f0, f2 +/* 802B5340 002B22A0 EC 1F 30 28 */ fsubs f0, f31, f6 +/* 802B5344 002B22A4 EC 86 F8 2A */ fadds f4, f6, f31 +/* 802B5348 002B22A8 EC E6 F8 28 */ fsubs f7, f6, f31 +/* 802B534C 002B22AC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B5350 002B22B0 FC 00 30 50 */ fneg f0, f6 +/* 802B5354 002B22B4 FC 60 20 50 */ fneg f3, f4 +/* 802B5358 002B22B8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B535C 002B22BC FC 40 38 50 */ fneg f2, f7 +/* 802B5360 002B22C0 EC 21 30 2A */ fadds f1, f1, f6 +/* 802B5364 002B22C4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B5368 002B22C8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802B536C 002B22CC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B5370 002B22D0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B5374 002B22D4 C1 01 00 24 */ lfs f8, 0x24(r1) +/* 802B5378 002B22D8 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B537C 002B22DC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 802B5380 002B22E0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B5384 002B22E4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B5388 002B22E8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B538C 002B22EC D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 802B5390 002B22F0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B5394 002B22F4 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802B5398 002B22F8 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B539C 002B22FC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B53A0 002B2300 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B53A4 002B2304 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B53A8 002B2308 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B53AC 002B230C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B53B0 002B2310 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B53B4 002B2314 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802B53B8 002B2318 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B53BC 002B231C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B53C0 002B2320 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B53C4 002B2324 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B53C8 002B2328 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B53CC 002B232C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B53D0 002B2330 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +lbl_802B53D4: +/* 802B53D4 002B2334 48 05 31 AD */ bl End__3CGXFv +/* 802B53D8 002B2338 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B53DC 002B233C 41 82 00 2C */ beq lbl_802B5408 +/* 802B53E0 002B2340 38 60 00 01 */ li r3, 1 +/* 802B53E4 002B2344 38 80 00 00 */ li r4, 0 +/* 802B53E8 002B2348 38 A0 00 00 */ li r5, 0 +/* 802B53EC 002B234C 48 0C 64 45 */ bl GXSetTevSwapMode +/* 802B53F0 002B2350 38 60 00 07 */ li r3, 7 +/* 802B53F4 002B2354 38 80 00 00 */ li r4, 0 +/* 802B53F8 002B2358 38 A0 00 01 */ li r5, 1 +/* 802B53FC 002B235C 38 C0 00 07 */ li r6, 7 +/* 802B5400 002B2360 38 E0 00 00 */ li r7, 0 +/* 802B5404 002B2364 48 05 34 11 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +lbl_802B5408: +/* 802B5408 002B2368 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802B540C 002B236C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802B5410 002B2370 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802B5414 002B2374 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802B5418 002B2378 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802B541C 002B237C 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802B5420 002B2380 83 81 00 70 */ lwz r28, 0x70(r1) +/* 802B5424 002B2384 7C 08 03 A6 */ mtlr r0 +/* 802B5428 002B2388 38 21 00 90 */ addi r1, r1, 0x90 +/* 802B542C 002B238C 4E 80 00 20 */ blr + +.global "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f" +"__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f": +/* 802B5430 002B2390 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B5434 002B2394 7C 08 02 A6 */ mflr r0 +/* 802B5438 002B2398 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B543C 002B239C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B5440 002B23A0 7C 7F 1B 78 */ mr r31, r3 +/* 802B5444 002B23A4 7F E0 FB 78 */ mr r0, r31 +/* 802B5448 002B23A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B544C 002B23AC 7C BE 2B 78 */ mr r30, r5 +/* 802B5450 002B23B0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B5454 002B23B4 7C 1D 03 78 */ mr r29, r0 +/* 802B5458 002B23B8 48 08 BA 51 */ bl __ct__6CTokenFRC6CToken +/* 802B545C 002B23BC 7F A3 EB 78 */ mr r3, r29 +/* 802B5460 002B23C0 48 08 B9 AD */ bl GetObj__6CTokenFv +/* 802B5464 002B23C4 80 03 00 04 */ lwz r0, 4(r3) +/* 802B5468 002B23C8 7F C4 F3 78 */ mr r4, r30 +/* 802B546C 002B23CC 38 7F 00 0C */ addi r3, r31, 0xc +/* 802B5470 002B23D0 90 1D 00 08 */ stw r0, 8(r29) +/* 802B5474 002B23D4 48 05 D7 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B5478 002B23D8 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B547C 002B23DC 38 E0 00 01 */ li r7, 1 +/* 802B5480 002B23E0 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 802B5484 002B23E4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802B5488 002B23E8 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 802B548C 002B23EC 38 C0 00 00 */ li r6, 0 +/* 802B5490 002B23F0 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B5494 002B23F4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802B5498 002B23F8 90 DF 00 40 */ stw r6, 0x40(r31) +/* 802B549C 002B23FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B54A0 002B2400 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 +/* 802B54A4 002B2404 D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 802B54A8 002B2408 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B54AC 002B240C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 802B54B0 002B2410 98 1F 00 48 */ stb r0, 0x48(r31) +/* 802B54B4 002B2414 90 DF 00 4C */ stw r6, 0x4c(r31) +/* 802B54B8 002B2418 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 802B54BC 002B241C 90 DF 00 54 */ stw r6, 0x54(r31) +/* 802B54C0 002B2420 90 DF 00 58 */ stw r6, 0x58(r31) +/* 802B54C4 002B2424 90 DF 00 5C */ stw r6, 0x5c(r31) +/* 802B54C8 002B2428 C0 05 00 00 */ lfs f0, 0(r5) +/* 802B54CC 002B242C D0 1F 00 60 */ stfs f0, 0x60(r31) +/* 802B54D0 002B2430 C0 05 00 04 */ lfs f0, 4(r5) +/* 802B54D4 002B2434 D0 1F 00 64 */ stfs f0, 0x64(r31) +/* 802B54D8 002B2438 C0 05 00 08 */ lfs f0, 8(r5) +/* 802B54DC 002B243C D0 1F 00 68 */ stfs f0, 0x68(r31) +/* 802B54E0 002B2440 48 05 D1 A1 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B54E4 002B2444 83 DF 00 08 */ lwz r30, 8(r31) +/* 802B54E8 002B2448 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802B54EC 002B244C 28 00 00 00 */ cmplwi r0, 0 +/* 802B54F0 002B2450 41 82 01 38 */ beq lbl_802B5628 +/* 802B54F4 002B2454 80 7E 00 00 */ lwz r3, 0(r30) +/* 802B54F8 002B2458 28 03 00 00 */ cmplwi r3, 0 +/* 802B54FC 002B245C 41 82 00 20 */ beq lbl_802B551C +/* 802B5500 002B2460 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5504 002B2464 38 BF 00 40 */ addi r5, r31, 0x40 +/* 802B5508 002B2468 38 80 00 00 */ li r4, 0 +/* 802B550C 002B246C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5510 002B2470 7D 89 03 A6 */ mtctr r12 +/* 802B5514 002B2474 4E 80 04 21 */ bctrl +/* 802B5518 002B2478 48 00 00 10 */ b lbl_802B5528 +lbl_802B551C: +/* 802B551C 002B247C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B5520 002B2480 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B5524 002B2484 90 1F 00 40 */ stw r0, 0x40(r31) +lbl_802B5528: +/* 802B5528 002B2488 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B552C 002B248C 28 03 00 00 */ cmplwi r3, 0 +/* 802B5530 002B2490 41 82 00 44 */ beq lbl_802B5574 +/* 802B5534 002B2494 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5538 002B2498 38 BF 00 44 */ addi r5, r31, 0x44 +/* 802B553C 002B249C 38 80 00 00 */ li r4, 0 +/* 802B5540 002B24A0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5544 002B24A4 7D 89 03 A6 */ mtctr r12 +/* 802B5548 002B24A8 4E 80 04 21 */ bctrl +/* 802B554C 002B24AC 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B5550 002B24B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5554 002B24B4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5558 002B24B8 7D 89 03 A6 */ mtctr r12 +/* 802B555C 002B24BC 4E 80 04 21 */ bctrl +/* 802B5560 002B24C0 88 9F 00 3C */ lbz r4, 0x3c(r31) +/* 802B5564 002B24C4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5568 002B24C8 7C 00 18 38 */ and r0, r0, r3 +/* 802B556C 002B24CC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5570 002B24D0 98 9F 00 3C */ stb r4, 0x3c(r31) +lbl_802B5574: +/* 802B5574 002B24D4 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B5578 002B24D8 28 03 00 00 */ cmplwi r3, 0 +/* 802B557C 002B24DC 41 82 00 78 */ beq lbl_802B55F4 +/* 802B5580 002B24E0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5584 002B24E4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5588 002B24E8 7D 89 03 A6 */ mtctr r12 +/* 802B558C 002B24EC 4E 80 04 21 */ bctrl +/* 802B5590 002B24F0 88 9F 00 3C */ lbz r4, 0x3c(r31) +/* 802B5594 002B24F4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5598 002B24F8 7C 00 18 38 */ and r0, r0, r3 +/* 802B559C 002B24FC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B55A0 002B2500 98 9F 00 3C */ stb r4, 0x3c(r31) +/* 802B55A4 002B2504 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B55A8 002B2508 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B55AC 002B250C 41 82 00 48 */ beq lbl_802B55F4 +/* 802B55B0 002B2510 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B55B4 002B2514 38 A1 00 0C */ addi r5, r1, 0xc +/* 802B55B8 002B2518 38 80 00 00 */ li r4, 0 +/* 802B55BC 002B251C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B55C0 002B2520 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B55C4 002B2524 81 83 00 00 */ lwz r12, 0(r3) +/* 802B55C8 002B2528 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B55CC 002B252C 7D 89 03 A6 */ mtctr r12 +/* 802B55D0 002B2530 4E 80 04 21 */ bctrl +/* 802B55D4 002B2534 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802B55D8 002B2538 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B55DC 002B253C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B55E0 002B2540 4C 40 13 82 */ cror 2, 0, 2 +/* 802B55E4 002B2544 7C 60 00 26 */ mfcr r3 +/* 802B55E8 002B2548 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B55EC 002B254C 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 +/* 802B55F0 002B2550 98 1F 00 3C */ stb r0, 0x3c(r31) +lbl_802B55F4: +/* 802B55F4 002B2554 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B55F8 002B2558 28 03 00 00 */ cmplwi r3, 0 +/* 802B55FC 002B255C 41 82 00 48 */ beq lbl_802B5644 +/* 802B5600 002B2560 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5604 002B2564 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5608 002B2568 7D 89 03 A6 */ mtctr r12 +/* 802B560C 002B256C 4E 80 04 21 */ bctrl +/* 802B5610 002B2570 88 9F 00 3C */ lbz r4, 0x3c(r31) +/* 802B5614 002B2574 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5618 002B2578 7C 00 18 38 */ and r0, r0, r3 +/* 802B561C 002B257C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5620 002B2580 98 9F 00 3C */ stb r4, 0x3c(r31) +/* 802B5624 002B2584 48 00 00 20 */ b lbl_802B5644 +lbl_802B5628: +/* 802B5628 002B2588 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B562C 002B258C 38 60 00 00 */ li r3, 0 +/* 802B5630 002B2590 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802B5634 002B2594 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 802B5638 002B2598 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802B563C 002B259C 60 00 00 01 */ ori r0, r0, 1 +/* 802B5640 002B25A0 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802B5644: +/* 802B5644 002B25A4 83 DF 00 08 */ lwz r30, 8(r31) +/* 802B5648 002B25A8 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802B564C 002B25AC 28 00 00 00 */ cmplwi r0, 0 +/* 802B5650 002B25B0 41 82 01 38 */ beq lbl_802B5788 +/* 802B5654 002B25B4 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802B5658 002B25B8 28 03 00 00 */ cmplwi r3, 0 +/* 802B565C 002B25BC 41 82 00 20 */ beq lbl_802B567C +/* 802B5660 002B25C0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5664 002B25C4 38 BF 00 4C */ addi r5, r31, 0x4c +/* 802B5668 002B25C8 38 80 00 00 */ li r4, 0 +/* 802B566C 002B25CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5670 002B25D0 7D 89 03 A6 */ mtctr r12 +/* 802B5674 002B25D4 4E 80 04 21 */ bctrl +/* 802B5678 002B25D8 48 00 00 10 */ b lbl_802B5688 +lbl_802B567C: +/* 802B567C 002B25DC 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B5680 002B25E0 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B5684 002B25E4 90 1F 00 4C */ stw r0, 0x4c(r31) +lbl_802B5688: +/* 802B5688 002B25E8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802B568C 002B25EC 28 03 00 00 */ cmplwi r3, 0 +/* 802B5690 002B25F0 41 82 00 44 */ beq lbl_802B56D4 +/* 802B5694 002B25F4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5698 002B25F8 38 BF 00 50 */ addi r5, r31, 0x50 +/* 802B569C 002B25FC 38 80 00 00 */ li r4, 0 +/* 802B56A0 002B2600 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B56A4 002B2604 7D 89 03 A6 */ mtctr r12 +/* 802B56A8 002B2608 4E 80 04 21 */ bctrl +/* 802B56AC 002B260C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802B56B0 002B2610 81 83 00 00 */ lwz r12, 0(r3) +/* 802B56B4 002B2614 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B56B8 002B2618 7D 89 03 A6 */ mtctr r12 +/* 802B56BC 002B261C 4E 80 04 21 */ bctrl +/* 802B56C0 002B2620 88 9F 00 48 */ lbz r4, 0x48(r31) +/* 802B56C4 002B2624 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B56C8 002B2628 7C 00 18 38 */ and r0, r0, r3 +/* 802B56CC 002B262C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B56D0 002B2630 98 9F 00 48 */ stb r4, 0x48(r31) +lbl_802B56D4: +/* 802B56D4 002B2634 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 802B56D8 002B2638 28 03 00 00 */ cmplwi r3, 0 +/* 802B56DC 002B263C 41 82 00 78 */ beq lbl_802B5754 +/* 802B56E0 002B2640 81 83 00 00 */ lwz r12, 0(r3) +/* 802B56E4 002B2644 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B56E8 002B2648 7D 89 03 A6 */ mtctr r12 +/* 802B56EC 002B264C 4E 80 04 21 */ bctrl +/* 802B56F0 002B2650 88 9F 00 48 */ lbz r4, 0x48(r31) +/* 802B56F4 002B2654 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B56F8 002B2658 7C 00 18 38 */ and r0, r0, r3 +/* 802B56FC 002B265C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5700 002B2660 98 9F 00 48 */ stb r4, 0x48(r31) +/* 802B5704 002B2664 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B5708 002B2668 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B570C 002B266C 41 82 00 48 */ beq lbl_802B5754 +/* 802B5710 002B2670 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B5714 002B2674 38 A1 00 08 */ addi r5, r1, 8 +/* 802B5718 002B2678 38 80 00 00 */ li r4, 0 +/* 802B571C 002B267C D0 01 00 08 */ stfs f0, 8(r1) +/* 802B5720 002B2680 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 802B5724 002B2684 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5728 002B2688 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B572C 002B268C 7D 89 03 A6 */ mtctr r12 +/* 802B5730 002B2690 4E 80 04 21 */ bctrl +/* 802B5734 002B2694 C0 21 00 08 */ lfs f1, 8(r1) +/* 802B5738 002B2698 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B573C 002B269C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B5740 002B26A0 4C 40 13 82 */ cror 2, 0, 2 +/* 802B5744 002B26A4 7C 60 00 26 */ mfcr r3 +/* 802B5748 002B26A8 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B574C 002B26AC 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 +/* 802B5750 002B26B0 98 1F 00 48 */ stb r0, 0x48(r31) +lbl_802B5754: +/* 802B5754 002B26B4 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802B5758 002B26B8 28 03 00 00 */ cmplwi r3, 0 +/* 802B575C 002B26BC 41 82 00 48 */ beq lbl_802B57A4 +/* 802B5760 002B26C0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5764 002B26C4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5768 002B26C8 7D 89 03 A6 */ mtctr r12 +/* 802B576C 002B26CC 4E 80 04 21 */ bctrl +/* 802B5770 002B26D0 88 9F 00 48 */ lbz r4, 0x48(r31) +/* 802B5774 002B26D4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5778 002B26D8 7C 00 18 38 */ and r0, r0, r3 +/* 802B577C 002B26DC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5780 002B26E0 98 9F 00 48 */ stb r4, 0x48(r31) +/* 802B5784 002B26E4 48 00 00 20 */ b lbl_802B57A4 +lbl_802B5788: +/* 802B5788 002B26E8 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B578C 002B26EC 38 60 00 00 */ li r3, 0 +/* 802B5790 002B26F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802B5794 002B26F4 98 1F 00 48 */ stb r0, 0x48(r31) +/* 802B5798 002B26F8 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802B579C 002B26FC 60 00 00 02 */ ori r0, r0, 2 +/* 802B57A0 002B2700 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802B57A4: +/* 802B57A4 002B2704 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B57A8 002B2708 88 03 00 44 */ lbz r0, 0x44(r3) +/* 802B57AC 002B270C 28 00 00 00 */ cmplwi r0, 0 +/* 802B57B0 002B2710 41 82 00 64 */ beq lbl_802B5814 +/* 802B57B4 002B2714 80 63 00 48 */ lwz r3, 0x48(r3) +/* 802B57B8 002B2718 28 03 00 00 */ cmplwi r3, 0 +/* 802B57BC 002B271C 41 82 00 20 */ beq lbl_802B57DC +/* 802B57C0 002B2720 81 83 00 00 */ lwz r12, 0(r3) +/* 802B57C4 002B2724 38 BF 00 54 */ addi r5, r31, 0x54 +/* 802B57C8 002B2728 38 80 00 00 */ li r4, 0 +/* 802B57CC 002B272C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B57D0 002B2730 7D 89 03 A6 */ mtctr r12 +/* 802B57D4 002B2734 4E 80 04 21 */ bctrl +/* 802B57D8 002B2738 48 00 00 10 */ b lbl_802B57E8 +lbl_802B57DC: +/* 802B57DC 002B273C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B57E0 002B2740 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B57E4 002B2744 90 1F 00 54 */ stw r0, 0x54(r31) +lbl_802B57E8: +/* 802B57E8 002B2748 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B57EC 002B274C 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B57F0 002B2750 28 03 00 00 */ cmplwi r3, 0 +/* 802B57F4 002B2754 41 82 00 2C */ beq lbl_802B5820 +/* 802B57F8 002B2758 81 83 00 00 */ lwz r12, 0(r3) +/* 802B57FC 002B275C 38 BF 00 60 */ addi r5, r31, 0x60 +/* 802B5800 002B2760 38 80 00 00 */ li r4, 0 +/* 802B5804 002B2764 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5808 002B2768 7D 89 03 A6 */ mtctr r12 +/* 802B580C 002B276C 4E 80 04 21 */ bctrl +/* 802B5810 002B2770 48 00 00 10 */ b lbl_802B5820 +lbl_802B5814: +/* 802B5814 002B2774 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802B5818 002B2778 60 00 00 04 */ ori r0, r0, 4 +/* 802B581C 002B277C 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802B5820: +/* 802B5820 002B2780 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B5824 002B2784 38 80 FF FF */ li r4, -1 +/* 802B5828 002B2788 48 05 CD DD */ bl __dt__13CGlobalRandomFv +/* 802B582C 002B278C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B5830 002B2790 7F E3 FB 78 */ mr r3, r31 +/* 802B5834 002B2794 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B5838 002B2798 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B583C 002B279C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B5840 002B27A0 7C 08 03 A6 */ mtlr r0 +/* 802B5844 002B27A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B5848 002B27A8 4E 80 00 20 */ blr + +.global SetGlobalSeed__6CDecalFUs +SetGlobalSeed__6CDecalFUs: +/* 802B584C 002B27AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5850 002B27B0 7C 08 02 A6 */ mflr r0 +/* 802B5854 002B27B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5858 002B27B8 7C 60 1B 78 */ mr r0, r3 +/* 802B585C 002B27BC 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 +/* 802B5860 002B27C0 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 802B5864 002B27C4 48 05 CD 81 */ bl SetSeed__9CRandom16FUi +/* 802B5868 002B27C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B586C 002B27CC 7C 08 03 A6 */ mtlr r0 +/* 802B5870 002B27D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5874 002B27D4 4E 80 00 20 */ blr + +.global __sinit_CDecal_cpp +__sinit_CDecal_cpp: +/* 802B5878 002B27D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B587C 002B27DC 7C 08 02 A6 */ mflr r0 +/* 802B5880 002B27E0 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 +/* 802B5884 002B27E4 38 80 00 63 */ li r4, 0x63 +/* 802B5888 002B27E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B588C 002B27EC 48 05 CD 61 */ bl __ct__9CRandom16FUi +/* 802B5890 002B27F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5894 002B27F4 7C 08 03 A6 */ mtlr r0 +/* 802B5898 002B27F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B589C 002B27FC 4E 80 00 20 */ blr diff --git a/asm/Weapons/CDecalDataFactory.s b/asm/Weapons/CDecalDataFactory.s new file mode 100644 index 00000000..0da1f4b4 --- /dev/null +++ b/asm/Weapons/CDecalDataFactory.s @@ -0,0 +1,1227 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool +CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool: +/* 802B3780 002B06E0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B3784 002B06E4 7C 08 02 A6 */ mflr r0 +/* 802B3788 002B06E8 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B378C 002B06EC BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802B3790 002B06F0 7C 7B 1B 78 */ mr r27, r3 +/* 802B3794 002B06F4 7C 9C 23 78 */ mr r28, r4 +/* 802B3798 002B06F8 7C BD 2B 78 */ mr r29, r5 +/* 802B379C 002B06FC 38 61 00 08 */ addi r3, r1, 8 +/* 802B37A0 002B0700 3B C0 00 00 */ li r30, 0 +/* 802B37A4 002B0704 38 80 00 63 */ li r4, 0x63 +/* 802B37A8 002B0708 48 05 EE 45 */ bl __ct__9CRandom16FUi +/* 802B37AC 002B070C 3C 60 32 52 */ lis r3, 0x32524F54@ha +/* 802B37B0 002B0710 3B E3 4F 54 */ addi r31, r3, 0x32524F54@l +/* 802B37B4 002B0714 48 00 05 30 */ b lbl_802B3CE4 +lbl_802B37B8: +/* 802B37B8 002B0718 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B37BC 002B071C 38 81 00 08 */ addi r4, r1, 8 +/* 802B37C0 002B0720 48 05 EE C1 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B37C4 002B0724 7F 83 E3 78 */ mr r3, r28 +/* 802B37C8 002B0728 48 07 4C 95 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B37CC 002B072C 7C 65 1B 78 */ mr r5, r3 +/* 802B37D0 002B0730 38 C0 00 00 */ li r6, 0 +/* 802B37D4 002B0734 7C 05 F8 00 */ cmpw r5, r31 +/* 802B37D8 002B0738 41 82 01 AC */ beq lbl_802B3984 +/* 802B37DC 002B073C 40 80 00 E0 */ bge lbl_802B38BC +/* 802B37E0 002B0740 3C 60 31 53 */ lis r3, 0x31535A45@ha +/* 802B37E4 002B0744 38 03 5A 45 */ addi r0, r3, 0x31535A45@l +/* 802B37E8 002B0748 7C 05 00 00 */ cmpw r5, r0 +/* 802B37EC 002B074C 41 82 01 94 */ beq lbl_802B3980 +/* 802B37F0 002B0750 40 80 00 68 */ bge lbl_802B3858 +/* 802B37F4 002B0754 3C 60 31 4C */ lis r3, 0x314C4654@ha +/* 802B37F8 002B0758 38 03 46 54 */ addi r0, r3, 0x314C4654@l +/* 802B37FC 002B075C 7C 05 00 00 */ cmpw r5, r0 +/* 802B3800 002B0760 41 82 01 80 */ beq lbl_802B3980 +/* 802B3804 002B0764 40 80 00 2C */ bge lbl_802B3830 +/* 802B3808 002B0768 3C 60 31 43 */ lis r3, 0x31434C52@ha +/* 802B380C 002B076C 38 03 4C 52 */ addi r0, r3, 0x31434C52@l +/* 802B3810 002B0770 7C 05 00 00 */ cmpw r5, r0 +/* 802B3814 002B0774 41 82 01 6C */ beq lbl_802B3980 +/* 802B3818 002B0778 40 80 04 AC */ bge lbl_802B3CC4 +/* 802B381C 002B077C 3C 60 31 41 */ lis r3, 0x31414444@ha +/* 802B3820 002B0780 38 03 44 44 */ addi r0, r3, 0x31414444@l +/* 802B3824 002B0784 7C 05 00 00 */ cmpw r5, r0 +/* 802B3828 002B0788 41 82 01 58 */ beq lbl_802B3980 +/* 802B382C 002B078C 48 00 04 98 */ b lbl_802B3CC4 +lbl_802B3830: +/* 802B3830 002B0790 3C 60 31 52 */ lis r3, 0x31524F54@ha +/* 802B3834 002B0794 38 03 4F 54 */ addi r0, r3, 0x31524F54@l +/* 802B3838 002B0798 7C 05 00 00 */ cmpw r5, r0 +/* 802B383C 002B079C 41 82 01 44 */ beq lbl_802B3980 +/* 802B3840 002B07A0 40 80 04 84 */ bge lbl_802B3CC4 +/* 802B3844 002B07A4 3C 60 31 4F */ lis r3, 0x314F4646@ha +/* 802B3848 002B07A8 38 03 46 46 */ addi r0, r3, 0x314F4646@l +/* 802B384C 002B07AC 7C 05 00 00 */ cmpw r5, r0 +/* 802B3850 002B07B0 41 82 01 30 */ beq lbl_802B3980 +/* 802B3854 002B07B4 48 00 04 70 */ b lbl_802B3CC4 +lbl_802B3858: +/* 802B3858 002B07B8 3C 60 32 43 */ lis r3, 0x32434C52@ha +/* 802B385C 002B07BC 38 03 4C 52 */ addi r0, r3, 0x32434C52@l +/* 802B3860 002B07C0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3864 002B07C4 41 82 01 20 */ beq lbl_802B3984 +/* 802B3868 002B07C8 40 80 00 2C */ bge lbl_802B3894 +/* 802B386C 002B07CC 3C 60 32 41 */ lis r3, 0x32414444@ha +/* 802B3870 002B07D0 38 03 44 44 */ addi r0, r3, 0x32414444@l +/* 802B3874 002B07D4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3878 002B07D8 41 82 01 0C */ beq lbl_802B3984 +/* 802B387C 002B07DC 40 80 04 48 */ bge lbl_802B3CC4 +/* 802B3880 002B07E0 3C 60 31 54 */ lis r3, 0x31544558@ha +/* 802B3884 002B07E4 38 03 45 58 */ addi r0, r3, 0x31544558@l +/* 802B3888 002B07E8 7C 05 00 00 */ cmpw r5, r0 +/* 802B388C 002B07EC 41 82 00 F4 */ beq lbl_802B3980 +/* 802B3890 002B07F0 48 00 04 34 */ b lbl_802B3CC4 +lbl_802B3894: +/* 802B3894 002B07F4 3C 60 32 4F */ lis r3, 0x324F4646@ha +/* 802B3898 002B07F8 38 03 46 46 */ addi r0, r3, 0x324F4646@l +/* 802B389C 002B07FC 7C 05 00 00 */ cmpw r5, r0 +/* 802B38A0 002B0800 41 82 00 E4 */ beq lbl_802B3984 +/* 802B38A4 002B0804 40 80 04 20 */ bge lbl_802B3CC4 +/* 802B38A8 002B0808 3C 60 32 4C */ lis r3, 0x324C4654@ha +/* 802B38AC 002B080C 38 03 46 54 */ addi r0, r3, 0x324C4654@l +/* 802B38B0 002B0810 7C 05 00 00 */ cmpw r5, r0 +/* 802B38B4 002B0814 41 82 00 D0 */ beq lbl_802B3984 +/* 802B38B8 002B0818 48 00 04 0C */ b lbl_802B3CC4 +lbl_802B38BC: +/* 802B38BC 002B081C 3C 80 44 4D */ lis r4, 0x444D444C@ha +/* 802B38C0 002B0820 38 04 44 4C */ addi r0, r4, 0x444D444C@l +/* 802B38C4 002B0824 7C 05 00 00 */ cmpw r5, r0 +/* 802B38C8 002B0828 41 82 00 E0 */ beq lbl_802B39A8 +/* 802B38CC 002B082C 40 80 00 60 */ bge lbl_802B392C +/* 802B38D0 002B0830 3C 60 44 4C */ lis r3, 0x444C4654@ha +/* 802B38D4 002B0834 38 03 46 54 */ addi r0, r3, 0x444C4654@l +/* 802B38D8 002B0838 7C 05 00 00 */ cmpw r5, r0 +/* 802B38DC 002B083C 41 82 02 98 */ beq lbl_802B3B74 +/* 802B38E0 002B0840 40 80 00 2C */ bge lbl_802B390C +/* 802B38E4 002B0844 3C 60 32 54 */ lis r3, 0x32544558@ha +/* 802B38E8 002B0848 38 03 45 58 */ addi r0, r3, 0x32544558@l +/* 802B38EC 002B084C 7C 05 00 00 */ cmpw r5, r0 +/* 802B38F0 002B0850 41 82 00 94 */ beq lbl_802B3984 +/* 802B38F4 002B0854 40 80 03 D0 */ bge lbl_802B3CC4 +/* 802B38F8 002B0858 3C 60 32 53 */ lis r3, 0x32535A45@ha +/* 802B38FC 002B085C 38 03 5A 45 */ addi r0, r3, 0x32535A45@l +/* 802B3900 002B0860 7C 05 00 00 */ cmpw r5, r0 +/* 802B3904 002B0864 41 82 00 80 */ beq lbl_802B3984 +/* 802B3908 002B0868 48 00 03 BC */ b lbl_802B3CC4 +lbl_802B390C: +/* 802B390C 002B086C 38 04 43 4C */ addi r0, r4, 0x434c +/* 802B3910 002B0870 7C 05 00 00 */ cmpw r5, r0 +/* 802B3914 002B0874 41 82 03 40 */ beq lbl_802B3C54 +/* 802B3918 002B0878 40 80 03 AC */ bge lbl_802B3CC4 +/* 802B391C 002B087C 38 04 41 42 */ addi r0, r4, 0x4142 +/* 802B3920 002B0880 7C 05 00 00 */ cmpw r5, r0 +/* 802B3924 002B0884 41 82 03 68 */ beq lbl_802B3C8C +/* 802B3928 002B0888 48 00 03 9C */ b lbl_802B3CC4 +lbl_802B392C: +/* 802B392C 002B088C 38 04 52 54 */ addi r0, r4, 0x5254 +/* 802B3930 002B0890 7C 05 00 00 */ cmpw r5, r0 +/* 802B3934 002B0894 41 82 02 B0 */ beq lbl_802B3BE4 +/* 802B3938 002B0898 40 80 00 24 */ bge lbl_802B395C +/* 802B393C 002B089C 38 04 4F 50 */ addi r0, r4, 0x4f50 +/* 802B3940 002B08A0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3944 002B08A4 41 82 02 68 */ beq lbl_802B3BAC +/* 802B3948 002B08A8 40 80 03 7C */ bge lbl_802B3CC4 +/* 802B394C 002B08AC 38 04 4F 4F */ addi r0, r4, 0x4f4f +/* 802B3950 002B08B0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3954 002B08B4 40 80 03 50 */ bge lbl_802B3CA4 +/* 802B3958 002B08B8 48 00 03 6C */ b lbl_802B3CC4 +lbl_802B395C: +/* 802B395C 002B08BC 3C 60 5F 45 */ lis r3, 0x5F454E44@ha +/* 802B3960 002B08C0 38 03 4E 44 */ addi r0, r3, 0x5F454E44@l +/* 802B3964 002B08C4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3968 002B08C8 41 82 03 54 */ beq lbl_802B3CBC +/* 802B396C 002B08CC 40 80 03 58 */ bge lbl_802B3CC4 +/* 802B3970 002B08D0 38 04 53 43 */ addi r0, r4, 0x5343 +/* 802B3974 002B08D4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3978 002B08D8 41 82 02 A4 */ beq lbl_802B3C1C +/* 802B397C 002B08DC 48 00 03 48 */ b lbl_802B3CC4 +lbl_802B3980: +/* 802B3980 002B08E0 38 C0 00 01 */ li r6, 1 +lbl_802B3984: +/* 802B3984 002B08E4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802B3988 002B08E8 41 82 00 0C */ beq lbl_802B3994 +/* 802B398C 002B08EC 7F 66 DB 78 */ mr r6, r27 +/* 802B3990 002B08F0 48 00 00 08 */ b lbl_802B3998 +lbl_802B3994: +/* 802B3994 002B08F4 38 DB 00 1C */ addi r6, r27, 0x1c +lbl_802B3998: +/* 802B3998 002B08F8 7F 83 E3 78 */ mr r3, r28 +/* 802B399C 002B08FC 7F A4 EB 78 */ mr r4, r29 +/* 802B39A0 002B0900 48 00 04 85 */ bl GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr +/* 802B39A4 002B0904 48 00 03 34 */ b lbl_802B3CD8 +lbl_802B39A8: +/* 802B39A8 002B0908 7F 84 E3 78 */ mr r4, r28 +/* 802B39AC 002B090C 7F A5 EB 78 */ mr r5, r29 +/* 802B39B0 002B0910 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B39B4 002B0914 48 07 10 2D */ bl GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 802B39B8 002B0918 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802B39BC 002B091C 28 00 00 00 */ cmplwi r0, 0 +/* 802B39C0 002B0920 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802B39C4 002B0924 41 82 00 14 */ beq lbl_802B39D8 +/* 802B39C8 002B0928 34 61 00 34 */ addic. r3, r1, 0x34 +/* 802B39CC 002B092C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802B39D0 002B0930 41 82 00 08 */ beq lbl_802B39D8 +/* 802B39D4 002B0934 48 08 D4 D5 */ bl __ct__6CTokenFRC6CToken +lbl_802B39D8: +/* 802B39D8 002B0938 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802B39DC 002B093C 28 00 00 00 */ cmplwi r0, 0 +/* 802B39E0 002B0940 41 82 00 14 */ beq lbl_802B39F4 +/* 802B39E4 002B0944 34 61 00 28 */ addic. r3, r1, 0x28 +/* 802B39E8 002B0948 41 82 00 0C */ beq lbl_802B39F4 +/* 802B39EC 002B094C 38 80 00 00 */ li r4, 0 +/* 802B39F0 002B0950 48 08 D4 51 */ bl __dt__6CTokenFv +lbl_802B39F4: +/* 802B39F4 002B0954 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B39F8 002B0958 38 60 00 00 */ li r3, 0 +/* 802B39FC 002B095C 98 61 00 30 */ stb r3, 0x30(r1) +/* 802B3A00 002B0960 28 00 00 00 */ cmplwi r0, 0 +/* 802B3A04 002B0964 41 82 00 88 */ beq lbl_802B3A8C +/* 802B3A08 002B0968 3B 41 00 1C */ addi r26, r1, 0x1c +/* 802B3A0C 002B096C 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B3A10 002B0970 7F 43 D3 78 */ mr r3, r26 +/* 802B3A14 002B0974 48 08 D4 95 */ bl __ct__6CTokenFRC6CToken +/* 802B3A18 002B0978 7F 43 D3 78 */ mr r3, r26 +/* 802B3A1C 002B097C 48 08 D3 F1 */ bl GetObj__6CTokenFv +/* 802B3A20 002B0980 80 03 00 04 */ lwz r0, 4(r3) +/* 802B3A24 002B0984 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B3A28 002B0988 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 802B3A2C 002B098C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3A30 002B0990 40 82 00 34 */ bne lbl_802B3A64 +/* 802B3A34 002B0994 37 5B 00 38 */ addic. r26, r27, 0x38 +/* 802B3A38 002B0998 41 82 00 20 */ beq lbl_802B3A58 +/* 802B3A3C 002B099C 7F 43 D3 78 */ mr r3, r26 +/* 802B3A40 002B09A0 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B3A44 002B09A4 48 08 D4 65 */ bl __ct__6CTokenFRC6CToken +/* 802B3A48 002B09A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3A4C 002B09AC 7F 43 D3 78 */ mr r3, r26 +/* 802B3A50 002B09B0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B3A54 002B09B4 48 08 D3 31 */ bl Lock__6CTokenFv +lbl_802B3A58: +/* 802B3A58 002B09B8 38 00 00 01 */ li r0, 1 +/* 802B3A5C 002B09BC 98 1B 00 44 */ stb r0, 0x44(r27) +/* 802B3A60 002B09C0 48 00 00 1C */ b lbl_802B3A7C +lbl_802B3A64: +/* 802B3A64 002B09C4 3B 5B 00 38 */ addi r26, r27, 0x38 +/* 802B3A68 002B09C8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B3A6C 002B09CC 7F 43 D3 78 */ mr r3, r26 +/* 802B3A70 002B09D0 48 08 D2 55 */ bl __as__6CTokenFRC6CToken +/* 802B3A74 002B09D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3A78 002B09D8 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B3A7C: +/* 802B3A7C 002B09DC 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B3A80 002B09E0 38 80 00 00 */ li r4, 0 +/* 802B3A84 002B09E4 48 08 D3 BD */ bl __dt__6CTokenFv +/* 802B3A88 002B09E8 48 00 00 C4 */ b lbl_802B3B4C +lbl_802B3A8C: +/* 802B3A8C 002B09EC 3B 5B 00 38 */ addi r26, r27, 0x38 +/* 802B3A90 002B09F0 38 81 00 0C */ addi r4, r1, 0xc +/* 802B3A94 002B09F4 7C 1A 20 40 */ cmplw r26, r4 +/* 802B3A98 002B09F8 98 61 00 18 */ stb r3, 0x18(r1) +/* 802B3A9C 002B09FC 41 82 00 84 */ beq lbl_802B3B20 +/* 802B3AA0 002B0A00 28 03 00 00 */ cmplwi r3, 0 +/* 802B3AA4 002B0A04 41 82 00 50 */ beq lbl_802B3AF4 +/* 802B3AA8 002B0A08 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 802B3AAC 002B0A0C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3AB0 002B0A10 40 82 00 30 */ bne lbl_802B3AE0 +/* 802B3AB4 002B0A14 37 5B 00 38 */ addic. r26, r27, 0x38 +/* 802B3AB8 002B0A18 41 82 00 1C */ beq lbl_802B3AD4 +/* 802B3ABC 002B0A1C 7F 43 D3 78 */ mr r3, r26 +/* 802B3AC0 002B0A20 48 08 D3 E9 */ bl __ct__6CTokenFRC6CToken +/* 802B3AC4 002B0A24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3AC8 002B0A28 7F 43 D3 78 */ mr r3, r26 +/* 802B3ACC 002B0A2C 90 1A 00 08 */ stw r0, 8(r26) +/* 802B3AD0 002B0A30 48 08 D2 B5 */ bl Lock__6CTokenFv +lbl_802B3AD4: +/* 802B3AD4 002B0A34 38 00 00 01 */ li r0, 1 +/* 802B3AD8 002B0A38 98 1B 00 44 */ stb r0, 0x44(r27) +/* 802B3ADC 002B0A3C 48 00 00 44 */ b lbl_802B3B20 +lbl_802B3AE0: +/* 802B3AE0 002B0A40 7F 43 D3 78 */ mr r3, r26 +/* 802B3AE4 002B0A44 48 08 D1 E1 */ bl __as__6CTokenFRC6CToken +/* 802B3AE8 002B0A48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3AEC 002B0A4C 90 1A 00 08 */ stw r0, 8(r26) +/* 802B3AF0 002B0A50 48 00 00 30 */ b lbl_802B3B20 +lbl_802B3AF4: +/* 802B3AF4 002B0A54 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 802B3AF8 002B0A58 28 00 00 00 */ cmplwi r0, 0 +/* 802B3AFC 002B0A5C 41 82 00 1C */ beq lbl_802B3B18 +/* 802B3B00 002B0A60 34 7B 00 38 */ addic. r3, r27, 0x38 +/* 802B3B04 002B0A64 41 82 00 14 */ beq lbl_802B3B18 +/* 802B3B08 002B0A68 28 03 00 00 */ cmplwi r3, 0 +/* 802B3B0C 002B0A6C 41 82 00 0C */ beq lbl_802B3B18 +/* 802B3B10 002B0A70 38 80 00 00 */ li r4, 0 +/* 802B3B14 002B0A74 48 08 D3 2D */ bl __dt__6CTokenFv +lbl_802B3B18: +/* 802B3B18 002B0A78 38 00 00 00 */ li r0, 0 +/* 802B3B1C 002B0A7C 98 1B 00 44 */ stb r0, 0x44(r27) +lbl_802B3B20: +/* 802B3B20 002B0A80 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802B3B24 002B0A84 28 00 00 00 */ cmplwi r0, 0 +/* 802B3B28 002B0A88 41 82 00 1C */ beq lbl_802B3B44 +/* 802B3B2C 002B0A8C 34 61 00 0C */ addic. r3, r1, 0xc +/* 802B3B30 002B0A90 41 82 00 14 */ beq lbl_802B3B44 +/* 802B3B34 002B0A94 28 03 00 00 */ cmplwi r3, 0 +/* 802B3B38 002B0A98 41 82 00 0C */ beq lbl_802B3B44 +/* 802B3B3C 002B0A9C 38 80 00 00 */ li r4, 0 +/* 802B3B40 002B0AA0 48 08 D3 01 */ bl __dt__6CTokenFv +lbl_802B3B44: +/* 802B3B44 002B0AA4 38 00 00 00 */ li r0, 0 +/* 802B3B48 002B0AA8 98 01 00 18 */ stb r0, 0x18(r1) +lbl_802B3B4C: +/* 802B3B4C 002B0AAC 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B3B50 002B0AB0 28 00 00 00 */ cmplwi r0, 0 +/* 802B3B54 002B0AB4 41 82 00 14 */ beq lbl_802B3B68 +/* 802B3B58 002B0AB8 34 61 00 34 */ addic. r3, r1, 0x34 +/* 802B3B5C 002B0ABC 41 82 00 0C */ beq lbl_802B3B68 +/* 802B3B60 002B0AC0 38 80 00 00 */ li r4, 0 +/* 802B3B64 002B0AC4 48 08 D2 DD */ bl __dt__6CTokenFv +lbl_802B3B68: +/* 802B3B68 002B0AC8 38 00 00 00 */ li r0, 0 +/* 802B3B6C 002B0ACC 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802B3B70 002B0AD0 48 00 01 68 */ b lbl_802B3CD8 +lbl_802B3B74: +/* 802B3B74 002B0AD4 7F 83 E3 78 */ mr r3, r28 +/* 802B3B78 002B0AD8 48 07 40 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 802B3B7C 002B0ADC 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 802B3B80 002B0AE0 7C 7A 1B 78 */ mr r26, r3 +/* 802B3B84 002B0AE4 28 00 00 00 */ cmplwi r0, 0 +/* 802B3B88 002B0AE8 41 82 00 1C */ beq lbl_802B3BA4 +/* 802B3B8C 002B0AEC 7C 03 03 78 */ mr r3, r0 +/* 802B3B90 002B0AF0 38 80 00 01 */ li r4, 1 +/* 802B3B94 002B0AF4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3B98 002B0AF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3B9C 002B0AFC 7D 89 03 A6 */ mtctr r12 +/* 802B3BA0 002B0B00 4E 80 04 21 */ bctrl +lbl_802B3BA4: +/* 802B3BA4 002B0B04 93 5B 00 48 */ stw r26, 0x48(r27) +/* 802B3BA8 002B0B08 48 00 01 30 */ b lbl_802B3CD8 +lbl_802B3BAC: +/* 802B3BAC 002B0B0C 7F 83 E3 78 */ mr r3, r28 +/* 802B3BB0 002B0B10 48 07 26 A5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3BB4 002B0B14 80 1B 00 4C */ lwz r0, 0x4c(r27) +/* 802B3BB8 002B0B18 7C 7A 1B 78 */ mr r26, r3 +/* 802B3BBC 002B0B1C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3BC0 002B0B20 41 82 00 1C */ beq lbl_802B3BDC +/* 802B3BC4 002B0B24 7C 03 03 78 */ mr r3, r0 +/* 802B3BC8 002B0B28 38 80 00 01 */ li r4, 1 +/* 802B3BCC 002B0B2C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3BD0 002B0B30 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3BD4 002B0B34 7D 89 03 A6 */ mtctr r12 +/* 802B3BD8 002B0B38 4E 80 04 21 */ bctrl +lbl_802B3BDC: +/* 802B3BDC 002B0B3C 93 5B 00 4C */ stw r26, 0x4c(r27) +/* 802B3BE0 002B0B40 48 00 00 F8 */ b lbl_802B3CD8 +lbl_802B3BE4: +/* 802B3BE4 002B0B44 7F 83 E3 78 */ mr r3, r28 +/* 802B3BE8 002B0B48 48 07 26 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3BEC 002B0B4C 80 1B 00 50 */ lwz r0, 0x50(r27) +/* 802B3BF0 002B0B50 7C 7A 1B 78 */ mr r26, r3 +/* 802B3BF4 002B0B54 28 00 00 00 */ cmplwi r0, 0 +/* 802B3BF8 002B0B58 41 82 00 1C */ beq lbl_802B3C14 +/* 802B3BFC 002B0B5C 7C 03 03 78 */ mr r3, r0 +/* 802B3C00 002B0B60 38 80 00 01 */ li r4, 1 +/* 802B3C04 002B0B64 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3C08 002B0B68 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3C0C 002B0B6C 7D 89 03 A6 */ mtctr r12 +/* 802B3C10 002B0B70 4E 80 04 21 */ bctrl +lbl_802B3C14: +/* 802B3C14 002B0B74 93 5B 00 50 */ stw r26, 0x50(r27) +/* 802B3C18 002B0B78 48 00 00 C0 */ b lbl_802B3CD8 +lbl_802B3C1C: +/* 802B3C1C 002B0B7C 7F 83 E3 78 */ mr r3, r28 +/* 802B3C20 002B0B80 48 07 26 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3C24 002B0B84 80 1B 00 54 */ lwz r0, 0x54(r27) +/* 802B3C28 002B0B88 7C 7A 1B 78 */ mr r26, r3 +/* 802B3C2C 002B0B8C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3C30 002B0B90 41 82 00 1C */ beq lbl_802B3C4C +/* 802B3C34 002B0B94 7C 03 03 78 */ mr r3, r0 +/* 802B3C38 002B0B98 38 80 00 01 */ li r4, 1 +/* 802B3C3C 002B0B9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3C40 002B0BA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3C44 002B0BA4 7D 89 03 A6 */ mtctr r12 +/* 802B3C48 002B0BA8 4E 80 04 21 */ bctrl +lbl_802B3C4C: +/* 802B3C4C 002B0BAC 93 5B 00 54 */ stw r26, 0x54(r27) +/* 802B3C50 002B0BB0 48 00 00 88 */ b lbl_802B3CD8 +lbl_802B3C54: +/* 802B3C54 002B0BB4 7F 83 E3 78 */ mr r3, r28 +/* 802B3C58 002B0BB8 48 07 16 05 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3C5C 002B0BBC 80 1B 00 58 */ lwz r0, 0x58(r27) +/* 802B3C60 002B0BC0 7C 7A 1B 78 */ mr r26, r3 +/* 802B3C64 002B0BC4 28 00 00 00 */ cmplwi r0, 0 +/* 802B3C68 002B0BC8 41 82 00 1C */ beq lbl_802B3C84 +/* 802B3C6C 002B0BCC 7C 03 03 78 */ mr r3, r0 +/* 802B3C70 002B0BD0 38 80 00 01 */ li r4, 1 +/* 802B3C74 002B0BD4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3C78 002B0BD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3C7C 002B0BDC 7D 89 03 A6 */ mtctr r12 +/* 802B3C80 002B0BE0 4E 80 04 21 */ bctrl +lbl_802B3C84: +/* 802B3C84 002B0BE4 93 5B 00 58 */ stw r26, 0x58(r27) +/* 802B3C88 002B0BE8 48 00 00 50 */ b lbl_802B3CD8 +lbl_802B3C8C: +/* 802B3C8C 002B0BEC 7F 83 E3 78 */ mr r3, r28 +/* 802B3C90 002B0BF0 48 07 47 99 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B3C94 002B0BF4 88 1B 00 5C */ lbz r0, 0x5c(r27) +/* 802B3C98 002B0BF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802B3C9C 002B0BFC 98 1B 00 5C */ stb r0, 0x5c(r27) +/* 802B3CA0 002B0C00 48 00 00 38 */ b lbl_802B3CD8 +lbl_802B3CA4: +/* 802B3CA4 002B0C04 7F 83 E3 78 */ mr r3, r28 +/* 802B3CA8 002B0C08 48 07 47 81 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B3CAC 002B0C0C 88 1B 00 5C */ lbz r0, 0x5c(r27) +/* 802B3CB0 002B0C10 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802B3CB4 002B0C14 98 1B 00 5C */ stb r0, 0x5c(r27) +/* 802B3CB8 002B0C18 48 00 00 20 */ b lbl_802B3CD8 +lbl_802B3CBC: +/* 802B3CBC 002B0C1C 3B C0 00 01 */ li r30, 1 +/* 802B3CC0 002B0C20 48 00 00 18 */ b lbl_802B3CD8 +lbl_802B3CC4: +/* 802B3CC4 002B0C24 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B3CC8 002B0C28 38 80 FF FF */ li r4, -1 +/* 802B3CCC 002B0C2C 48 05 E9 39 */ bl __dt__13CGlobalRandomFv +/* 802B3CD0 002B0C30 38 60 00 00 */ li r3, 0 +/* 802B3CD4 002B0C34 48 00 00 1C */ b lbl_802B3CF0 +lbl_802B3CD8: +/* 802B3CD8 002B0C38 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B3CDC 002B0C3C 38 80 FF FF */ li r4, -1 +/* 802B3CE0 002B0C40 48 05 E9 25 */ bl __dt__13CGlobalRandomFv +lbl_802B3CE4: +/* 802B3CE4 002B0C44 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802B3CE8 002B0C48 41 82 FA D0 */ beq lbl_802B37B8 +/* 802B3CEC 002B0C4C 38 60 00 01 */ li r3, 1 +lbl_802B3CF0: +/* 802B3CF0 002B0C50 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802B3CF4 002B0C54 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B3CF8 002B0C58 7C 08 03 A6 */ mtlr r0 +/* 802B3CFC 002B0C5C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B3D00 002B0C60 4E 80 00 20 */ blr + +.global __dt__13CColorElement +__dt__13CColorElement: +/* 802B3D04 002B0C64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3D08 002B0C68 7C 08 02 A6 */ mflr r0 +/* 802B3D0C 002B0C6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3D10 002B0C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3D14 002B0C74 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3D18 002B0C78 41 82 00 34 */ beq lbl_802B3D4C +/* 802B3D1C 002B0C7C 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 802B3D20 002B0C80 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 802B3D24 002B0C84 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3D28 002B0C88 41 82 00 10 */ beq lbl_802B3D38 +/* 802B3D2C 002B0C8C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B3D30 002B0C90 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B3D34 002B0C94 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3D38: +/* 802B3D38 002B0C98 7C 80 07 35 */ extsh. r0, r4 +/* 802B3D3C 002B0C9C 40 81 00 10 */ ble lbl_802B3D4C +/* 802B3D40 002B0CA0 7F E3 FB 78 */ mr r3, r31 +/* 802B3D44 002B0CA4 38 80 00 04 */ li r4, 4 +/* 802B3D48 002B0CA8 48 0B 8D 1D */ bl sub_8036ca64 +lbl_802B3D4C: +/* 802B3D4C 002B0CAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3D50 002B0CB0 7F E3 FB 78 */ mr r3, r31 +/* 802B3D54 002B0CB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3D58 002B0CB8 7C 08 03 A6 */ mtlr r0 +/* 802B3D5C 002B0CBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3D60 002B0CC0 4E 80 00 20 */ blr + +.global __dt__14CVectorElement +__dt__14CVectorElement: +/* 802B3D64 002B0CC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3D68 002B0CC8 7C 08 02 A6 */ mflr r0 +/* 802B3D6C 002B0CCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3D70 002B0CD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3D74 002B0CD4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3D78 002B0CD8 41 82 00 34 */ beq lbl_802B3DAC +/* 802B3D7C 002B0CDC 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 802B3D80 002B0CE0 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 802B3D84 002B0CE4 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3D88 002B0CE8 41 82 00 10 */ beq lbl_802B3D98 +/* 802B3D8C 002B0CEC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B3D90 002B0CF0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B3D94 002B0CF4 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3D98: +/* 802B3D98 002B0CF8 7C 80 07 35 */ extsh. r0, r4 +/* 802B3D9C 002B0CFC 40 81 00 10 */ ble lbl_802B3DAC +/* 802B3DA0 002B0D00 7F E3 FB 78 */ mr r3, r31 +/* 802B3DA4 002B0D04 38 80 00 04 */ li r4, 4 +/* 802B3DA8 002B0D08 48 0B 8C BD */ bl sub_8036ca64 +lbl_802B3DAC: +/* 802B3DAC 002B0D0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3DB0 002B0D10 7F E3 FB 78 */ mr r3, r31 +/* 802B3DB4 002B0D14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3DB8 002B0D18 7C 08 03 A6 */ mtlr r0 +/* 802B3DBC 002B0D1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3DC0 002B0D20 4E 80 00 20 */ blr + +.global __dt__11CIntElement +__dt__11CIntElement: +/* 802B3DC4 002B0D24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3DC8 002B0D28 7C 08 02 A6 */ mflr r0 +/* 802B3DCC 002B0D2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3DD0 002B0D30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3DD4 002B0D34 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3DD8 002B0D38 41 82 00 34 */ beq lbl_802B3E0C +/* 802B3DDC 002B0D3C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 802B3DE0 002B0D40 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 802B3DE4 002B0D44 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3DE8 002B0D48 41 82 00 10 */ beq lbl_802B3DF8 +/* 802B3DEC 002B0D4C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B3DF0 002B0D50 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B3DF4 002B0D54 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3DF8: +/* 802B3DF8 002B0D58 7C 80 07 35 */ extsh. r0, r4 +/* 802B3DFC 002B0D5C 40 81 00 10 */ ble lbl_802B3E0C +/* 802B3E00 002B0D60 7F E3 FB 78 */ mr r3, r31 +/* 802B3E04 002B0D64 38 80 00 04 */ li r4, 4 +/* 802B3E08 002B0D68 48 0B 8C 5D */ bl sub_8036ca64 +lbl_802B3E0C: +/* 802B3E0C 002B0D6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3E10 002B0D70 7F E3 FB 78 */ mr r3, r31 +/* 802B3E14 002B0D74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3E18 002B0D78 7C 08 03 A6 */ mtlr r0 +/* 802B3E1C 002B0D7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3E20 002B0D80 4E 80 00 20 */ blr + +.global GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr +GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr: +/* 802B3E24 002B0D84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3E28 002B0D88 7C 08 02 A6 */ mflr r0 +/* 802B3E2C 002B0D8C 3C E0 32 41 */ lis r7, 0x32414444@ha +/* 802B3E30 002B0D90 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3E34 002B0D94 38 07 44 44 */ addi r0, r7, 0x32414444@l +/* 802B3E38 002B0D98 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E3C 002B0D9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3E40 002B0DA0 7C DF 33 78 */ mr r31, r6 +/* 802B3E44 002B0DA4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B3E48 002B0DA8 41 82 02 44 */ beq lbl_802B408C +/* 802B3E4C 002B0DAC 40 80 00 90 */ bge lbl_802B3EDC +/* 802B3E50 002B0DB0 3C C0 31 4F */ lis r6, 0x314F4646@ha +/* 802B3E54 002B0DB4 38 06 46 46 */ addi r0, r6, 0x314F4646@l +/* 802B3E58 002B0DB8 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E5C 002B0DBC 41 82 01 94 */ beq lbl_802B3FF0 +/* 802B3E60 002B0DC0 40 80 00 40 */ bge lbl_802B3EA0 +/* 802B3E64 002B0DC4 3C 80 31 43 */ lis r4, 0x31434C52@ha +/* 802B3E68 002B0DC8 38 04 4C 52 */ addi r0, r4, 0x31434C52@l +/* 802B3E6C 002B0DCC 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E70 002B0DD0 41 82 01 B4 */ beq lbl_802B4024 +/* 802B3E74 002B0DD4 40 80 00 18 */ bge lbl_802B3E8C +/* 802B3E78 002B0DD8 3C 80 31 41 */ lis r4, 0x31414444@ha +/* 802B3E7C 002B0DDC 38 04 44 44 */ addi r0, r4, 0x31414444@l +/* 802B3E80 002B0DE0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E84 002B0DE4 41 82 02 08 */ beq lbl_802B408C +/* 802B3E88 002B0DE8 48 00 02 0C */ b lbl_802B4094 +lbl_802B3E8C: +/* 802B3E8C 002B0DEC 3C 80 31 4C */ lis r4, 0x314C4654@ha +/* 802B3E90 002B0DF0 38 04 46 54 */ addi r0, r4, 0x314C4654@l +/* 802B3E94 002B0DF4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E98 002B0DF8 41 82 00 BC */ beq lbl_802B3F54 +/* 802B3E9C 002B0DFC 48 00 01 F8 */ b lbl_802B4094 +lbl_802B3EA0: +/* 802B3EA0 002B0E00 3C C0 31 53 */ lis r6, 0x31535A45@ha +/* 802B3EA4 002B0E04 38 06 5A 45 */ addi r0, r6, 0x31535A45@l +/* 802B3EA8 002B0E08 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EAC 002B0E0C 41 82 00 DC */ beq lbl_802B3F88 +/* 802B3EB0 002B0E10 40 80 00 18 */ bge lbl_802B3EC8 +/* 802B3EB4 002B0E14 3C 80 31 52 */ lis r4, 0x31524F54@ha +/* 802B3EB8 002B0E18 38 04 4F 54 */ addi r0, r4, 0x31524F54@l +/* 802B3EBC 002B0E1C 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EC0 002B0E20 41 82 00 FC */ beq lbl_802B3FBC +/* 802B3EC4 002B0E24 48 00 01 D0 */ b lbl_802B4094 +lbl_802B3EC8: +/* 802B3EC8 002B0E28 3C C0 31 54 */ lis r6, 0x31544558@ha +/* 802B3ECC 002B0E2C 38 06 45 58 */ addi r0, r6, 0x31544558@l +/* 802B3ED0 002B0E30 7C 05 00 00 */ cmpw r5, r0 +/* 802B3ED4 002B0E34 41 82 01 84 */ beq lbl_802B4058 +/* 802B3ED8 002B0E38 48 00 01 BC */ b lbl_802B4094 +lbl_802B3EDC: +/* 802B3EDC 002B0E3C 3C C0 32 52 */ lis r6, 0x32524F54@ha +/* 802B3EE0 002B0E40 38 06 4F 54 */ addi r0, r6, 0x32524F54@l +/* 802B3EE4 002B0E44 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EE8 002B0E48 41 82 00 D4 */ beq lbl_802B3FBC +/* 802B3EEC 002B0E4C 40 80 00 40 */ bge lbl_802B3F2C +/* 802B3EF0 002B0E50 3C 80 32 4C */ lis r4, 0x324C4654@ha +/* 802B3EF4 002B0E54 38 04 46 54 */ addi r0, r4, 0x324C4654@l +/* 802B3EF8 002B0E58 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EFC 002B0E5C 41 82 00 58 */ beq lbl_802B3F54 +/* 802B3F00 002B0E60 40 80 00 18 */ bge lbl_802B3F18 +/* 802B3F04 002B0E64 3C 80 32 43 */ lis r4, 0x32434C52@ha +/* 802B3F08 002B0E68 38 04 4C 52 */ addi r0, r4, 0x32434C52@l +/* 802B3F0C 002B0E6C 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F10 002B0E70 41 82 01 14 */ beq lbl_802B4024 +/* 802B3F14 002B0E74 48 00 01 80 */ b lbl_802B4094 +lbl_802B3F18: +/* 802B3F18 002B0E78 3C 80 32 4F */ lis r4, 0x324F4646@ha +/* 802B3F1C 002B0E7C 38 04 46 46 */ addi r0, r4, 0x324F4646@l +/* 802B3F20 002B0E80 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F24 002B0E84 41 82 00 CC */ beq lbl_802B3FF0 +/* 802B3F28 002B0E88 48 00 01 6C */ b lbl_802B4094 +lbl_802B3F2C: +/* 802B3F2C 002B0E8C 3C C0 32 54 */ lis r6, 0x32544558@ha +/* 802B3F30 002B0E90 38 06 45 58 */ addi r0, r6, 0x32544558@l +/* 802B3F34 002B0E94 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F38 002B0E98 41 82 01 20 */ beq lbl_802B4058 +/* 802B3F3C 002B0E9C 40 80 01 58 */ bge lbl_802B4094 +/* 802B3F40 002B0EA0 3C 80 32 53 */ lis r4, 0x32535A45@ha +/* 802B3F44 002B0EA4 38 04 5A 45 */ addi r0, r4, 0x32535A45@l +/* 802B3F48 002B0EA8 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F4C 002B0EAC 41 82 00 3C */ beq lbl_802B3F88 +/* 802B3F50 002B0EB0 48 00 01 44 */ b lbl_802B4094 +lbl_802B3F54: +/* 802B3F54 002B0EB4 48 07 3C 51 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 802B3F58 002B0EB8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802B3F5C 002B0EBC 7C 7E 1B 78 */ mr r30, r3 +/* 802B3F60 002B0EC0 28 00 00 00 */ cmplwi r0, 0 +/* 802B3F64 002B0EC4 41 82 00 1C */ beq lbl_802B3F80 +/* 802B3F68 002B0EC8 7C 03 03 78 */ mr r3, r0 +/* 802B3F6C 002B0ECC 38 80 00 01 */ li r4, 1 +/* 802B3F70 002B0ED0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3F74 002B0ED4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3F78 002B0ED8 7D 89 03 A6 */ mtctr r12 +/* 802B3F7C 002B0EDC 4E 80 04 21 */ bctrl +lbl_802B3F80: +/* 802B3F80 002B0EE0 93 DF 00 00 */ stw r30, 0(r31) +/* 802B3F84 002B0EE4 48 00 01 10 */ b lbl_802B4094 +lbl_802B3F88: +/* 802B3F88 002B0EE8 48 07 2D 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B3F8C 002B0EEC 80 1F 00 04 */ lwz r0, 4(r31) +/* 802B3F90 002B0EF0 7C 7E 1B 78 */ mr r30, r3 +/* 802B3F94 002B0EF4 28 00 00 00 */ cmplwi r0, 0 +/* 802B3F98 002B0EF8 41 82 00 1C */ beq lbl_802B3FB4 +/* 802B3F9C 002B0EFC 7C 03 03 78 */ mr r3, r0 +/* 802B3FA0 002B0F00 38 80 00 01 */ li r4, 1 +/* 802B3FA4 002B0F04 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3FA8 002B0F08 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3FAC 002B0F0C 7D 89 03 A6 */ mtctr r12 +/* 802B3FB0 002B0F10 4E 80 04 21 */ bctrl +lbl_802B3FB4: +/* 802B3FB4 002B0F14 93 DF 00 04 */ stw r30, 4(r31) +/* 802B3FB8 002B0F18 48 00 00 DC */ b lbl_802B4094 +lbl_802B3FBC: +/* 802B3FBC 002B0F1C 48 07 2C D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B3FC0 002B0F20 80 1F 00 08 */ lwz r0, 8(r31) +/* 802B3FC4 002B0F24 7C 7E 1B 78 */ mr r30, r3 +/* 802B3FC8 002B0F28 28 00 00 00 */ cmplwi r0, 0 +/* 802B3FCC 002B0F2C 41 82 00 1C */ beq lbl_802B3FE8 +/* 802B3FD0 002B0F30 7C 03 03 78 */ mr r3, r0 +/* 802B3FD4 002B0F34 38 80 00 01 */ li r4, 1 +/* 802B3FD8 002B0F38 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3FDC 002B0F3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3FE0 002B0F40 7D 89 03 A6 */ mtctr r12 +/* 802B3FE4 002B0F44 4E 80 04 21 */ bctrl +lbl_802B3FE8: +/* 802B3FE8 002B0F48 93 DF 00 08 */ stw r30, 8(r31) +/* 802B3FEC 002B0F4C 48 00 00 A8 */ b lbl_802B4094 +lbl_802B3FF0: +/* 802B3FF0 002B0F50 48 07 22 65 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3FF4 002B0F54 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802B3FF8 002B0F58 7C 7E 1B 78 */ mr r30, r3 +/* 802B3FFC 002B0F5C 28 00 00 00 */ cmplwi r0, 0 +/* 802B4000 002B0F60 41 82 00 1C */ beq lbl_802B401C +/* 802B4004 002B0F64 7C 03 03 78 */ mr r3, r0 +/* 802B4008 002B0F68 38 80 00 01 */ li r4, 1 +/* 802B400C 002B0F6C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4010 002B0F70 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4014 002B0F74 7D 89 03 A6 */ mtctr r12 +/* 802B4018 002B0F78 4E 80 04 21 */ bctrl +lbl_802B401C: +/* 802B401C 002B0F7C 93 DF 00 0C */ stw r30, 0xc(r31) +/* 802B4020 002B0F80 48 00 00 74 */ b lbl_802B4094 +lbl_802B4024: +/* 802B4024 002B0F84 48 07 12 39 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 802B4028 002B0F88 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 802B402C 002B0F8C 7C 7E 1B 78 */ mr r30, r3 +/* 802B4030 002B0F90 28 00 00 00 */ cmplwi r0, 0 +/* 802B4034 002B0F94 41 82 00 1C */ beq lbl_802B4050 +/* 802B4038 002B0F98 7C 03 03 78 */ mr r3, r0 +/* 802B403C 002B0F9C 38 80 00 01 */ li r4, 1 +/* 802B4040 002B0FA0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4044 002B0FA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4048 002B0FA8 7D 89 03 A6 */ mtctr r12 +/* 802B404C 002B0FAC 4E 80 04 21 */ bctrl +lbl_802B4050: +/* 802B4050 002B0FB0 93 DF 00 10 */ stw r30, 0x10(r31) +/* 802B4054 002B0FB4 48 00 00 40 */ b lbl_802B4094 +lbl_802B4058: +/* 802B4058 002B0FB8 48 07 0D D9 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 802B405C 002B0FBC 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B4060 002B0FC0 7C 7E 1B 78 */ mr r30, r3 +/* 802B4064 002B0FC4 28 00 00 00 */ cmplwi r0, 0 +/* 802B4068 002B0FC8 41 82 00 1C */ beq lbl_802B4084 +/* 802B406C 002B0FCC 7C 03 03 78 */ mr r3, r0 +/* 802B4070 002B0FD0 38 80 00 01 */ li r4, 1 +/* 802B4074 002B0FD4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4078 002B0FD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B407C 002B0FDC 7D 89 03 A6 */ mtctr r12 +/* 802B4080 002B0FE0 4E 80 04 21 */ bctrl +lbl_802B4084: +/* 802B4084 002B0FE4 93 DF 00 14 */ stw r30, 0x14(r31) +/* 802B4088 002B0FE8 48 00 00 0C */ b lbl_802B4094 +lbl_802B408C: +/* 802B408C 002B0FEC 48 07 43 9D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B4090 002B0FF0 98 7F 00 18 */ stb r3, 0x18(r31) +lbl_802B4094: +/* 802B4094 002B0FF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4098 002B0FF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B409C 002B0FFC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B40A0 002B1000 7C 08 03 A6 */ mtlr r0 +/* 802B40A4 002B1004 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B40A8 002B1008 4E 80 00 20 */ blr + +.global __dt__10CUVElementFv +__dt__10CUVElementFv: +/* 802B40AC 002B100C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B40B0 002B1010 7C 08 02 A6 */ mflr r0 +/* 802B40B4 002B1014 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B40B8 002B1018 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B40BC 002B101C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B40C0 002B1020 41 82 00 34 */ beq lbl_802B40F4 +/* 802B40C4 002B1024 3C 60 80 3F */ lis r3, lbl_803EC568@ha +/* 802B40C8 002B1028 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l +/* 802B40CC 002B102C 90 1F 00 00 */ stw r0, 0(r31) +/* 802B40D0 002B1030 41 82 00 10 */ beq lbl_802B40E0 +/* 802B40D4 002B1034 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B40D8 002B1038 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B40DC 002B103C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B40E0: +/* 802B40E0 002B1040 7C 80 07 35 */ extsh. r0, r4 +/* 802B40E4 002B1044 40 81 00 10 */ ble lbl_802B40F4 +/* 802B40E8 002B1048 7F E3 FB 78 */ mr r3, r31 +/* 802B40EC 002B104C 38 80 00 04 */ li r4, 4 +/* 802B40F0 002B1050 48 0B 89 75 */ bl sub_8036ca64 +lbl_802B40F4: +/* 802B40F4 002B1054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B40F8 002B1058 7F E3 FB 78 */ mr r3, r31 +/* 802B40FC 002B105C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4100 002B1060 7C 08 03 A6 */ mtlr r0 +/* 802B4104 002B1064 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4108 002B1068 4E 80 00 20 */ blr + +.global __dt__12CRealElementFv +__dt__12CRealElementFv: +/* 802B410C 002B106C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B4110 002B1070 7C 08 02 A6 */ mflr r0 +/* 802B4114 002B1074 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4118 002B1078 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B411C 002B107C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B4120 002B1080 41 82 00 34 */ beq lbl_802B4154 +/* 802B4124 002B1084 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 802B4128 002B1088 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 802B412C 002B108C 90 1F 00 00 */ stw r0, 0(r31) +/* 802B4130 002B1090 41 82 00 10 */ beq lbl_802B4140 +/* 802B4134 002B1094 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B4138 002B1098 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B413C 002B109C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B4140: +/* 802B4140 002B10A0 7C 80 07 35 */ extsh. r0, r4 +/* 802B4144 002B10A4 40 81 00 10 */ ble lbl_802B4154 +/* 802B4148 002B10A8 7F E3 FB 78 */ mr r3, r31 +/* 802B414C 002B10AC 38 80 00 04 */ li r4, 4 +/* 802B4150 002B10B0 48 0B 89 15 */ bl sub_8036ca64 +lbl_802B4154: +/* 802B4154 002B10B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4158 002B10B8 7F E3 FB 78 */ mr r3, r31 +/* 802B415C 002B10BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4160 002B10C0 7C 08 03 A6 */ mtlr r0 +/* 802B4164 002B10C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4168 002B10C8 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B416C 002B10CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B4170 002B10D0 7C 08 02 A6 */ mflr r0 +/* 802B4174 002B10D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B4178 002B10D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B417C 002B10DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B4180 002B10E0 7C 9E 23 78 */ mr r30, r4 +/* 802B4184 002B10E4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B4188 002B10E8 7C 7D 1B 78 */ mr r29, r3 +/* 802B418C 002B10EC 48 07 42 D1 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B4190 002B10F0 3C 03 BB B0 */ addis r0, r3, 0xbbb0 +/* 802B4194 002B10F4 28 00 53 4D */ cmplwi r0, 0x534d +/* 802B4198 002B10F8 41 82 00 0C */ beq lbl_802B41A4 +/* 802B419C 002B10FC 38 60 00 00 */ li r3, 0 +/* 802B41A0 002B1100 48 00 00 3C */ b lbl_802B41DC +lbl_802B41A4: +/* 802B41A4 002B1104 3C 80 80 3D */ lis r4, lbl_803D6548@ha +/* 802B41A8 002B1108 38 60 00 60 */ li r3, 0x60 +/* 802B41AC 002B110C 38 84 65 48 */ addi r4, r4, lbl_803D6548@l +/* 802B41B0 002B1110 38 A0 00 00 */ li r5, 0 +/* 802B41B4 002B1114 48 06 16 B9 */ bl __nw__FUlPCcPCc +/* 802B41B8 002B1118 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B41BC 002B111C 41 82 00 0C */ beq lbl_802B41C8 +/* 802B41C0 002B1120 48 00 1B 25 */ bl __ct__17CDecalDescriptionFv +/* 802B41C4 002B1124 7C 7F 1B 78 */ mr r31, r3 +lbl_802B41C8: +/* 802B41C8 002B1128 7F E3 FB 78 */ mr r3, r31 +/* 802B41CC 002B112C 7F A4 EB 78 */ mr r4, r29 +/* 802B41D0 002B1130 7F C5 F3 78 */ mr r5, r30 +/* 802B41D4 002B1134 4B FF F5 AD */ bl CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool +/* 802B41D8 002B1138 7F E3 FB 78 */ mr r3, r31 +lbl_802B41DC: +/* 802B41DC 002B113C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B41E0 002B1140 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B41E4 002B1144 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B41E8 002B1148 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B41EC 002B114C 7C 08 03 A6 */ mtlr r0 +/* 802B41F0 002B1150 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B41F4 002B1154 4E 80 00 20 */ blr + +.global GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B41F8 002B1158 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B41FC 002B115C 7C 08 02 A6 */ mflr r0 +/* 802B4200 002B1160 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4204 002B1164 4B FF FF 69 */ bl CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +/* 802B4208 002B1168 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B420C 002B116C 7C 08 03 A6 */ mtlr r0 +/* 802B4210 002B1170 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4214 002B1174 4E 80 00 20 */ blr + +.global sub_802b4218 +sub_802b4218: +/* 802B4218 002B1178 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B421C 002B117C 7C 08 02 A6 */ mflr r0 +/* 802B4220 002B1180 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4224 002B1184 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B4228 002B1188 7C 9F 23 78 */ mr r31, r4 +/* 802B422C 002B118C 93 C1 00 08 */ stw r30, 8(r1) +/* 802B4230 002B1190 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B4234 002B1194 41 82 00 58 */ beq lbl_802B428C +/* 802B4238 002B1198 3C 60 80 3F */ lis r3, lbl_803EC548@ha +/* 802B423C 002B119C 38 03 C5 48 */ addi r0, r3, lbl_803EC548@l +/* 802B4240 002B11A0 90 1E 00 00 */ stw r0, 0(r30) +/* 802B4244 002B11A4 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B4248 002B11A8 28 03 00 00 */ cmplwi r3, 0 +/* 802B424C 002B11AC 41 82 00 0C */ beq lbl_802B4258 +/* 802B4250 002B11B0 38 80 00 01 */ li r4, 1 +/* 802B4254 002B11B4 48 00 00 55 */ bl sub_802b42a8 +lbl_802B4258: +/* 802B4258 002B11B8 28 1E 00 00 */ cmplwi r30, 0 +/* 802B425C 002B11BC 41 82 00 20 */ beq lbl_802B427C +/* 802B4260 002B11C0 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802B4264 002B11C4 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802B4268 002B11C8 90 1E 00 00 */ stw r0, 0(r30) +/* 802B426C 002B11CC 41 82 00 10 */ beq lbl_802B427C +/* 802B4270 002B11D0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802B4274 002B11D4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802B4278 002B11D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_802B427C: +/* 802B427C 002B11DC 7F E0 07 35 */ extsh. r0, r31 +/* 802B4280 002B11E0 40 81 00 0C */ ble lbl_802B428C +/* 802B4284 002B11E4 7F C3 F3 78 */ mr r3, r30 +/* 802B4288 002B11E8 48 06 16 A9 */ bl Free__7CMemoryFPCv +lbl_802B428C: +/* 802B428C 002B11EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4290 002B11F0 7F C3 F3 78 */ mr r3, r30 +/* 802B4294 002B11F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4298 002B11F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B429C 002B11FC 7C 08 03 A6 */ mtlr r0 +/* 802B42A0 002B1200 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B42A4 002B1204 4E 80 00 20 */ blr + +.global sub_802b42a8 +sub_802b42a8: +/* 802B42A8 002B1208 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B42AC 002B120C 7C 08 02 A6 */ mflr r0 +/* 802B42B0 002B1210 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B42B4 002B1214 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B42B8 002B1218 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B42BC 002B121C 93 C1 00 08 */ stw r30, 8(r1) +/* 802B42C0 002B1220 7C 9E 23 78 */ mr r30, r4 +/* 802B42C4 002B1224 41 82 03 00 */ beq lbl_802B45C4 +/* 802B42C8 002B1228 34 1F 00 58 */ addic. r0, r31, 0x58 +/* 802B42CC 002B122C 41 82 00 24 */ beq lbl_802B42F0 +/* 802B42D0 002B1230 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 802B42D4 002B1234 28 03 00 00 */ cmplwi r3, 0 +/* 802B42D8 002B1238 41 82 00 18 */ beq lbl_802B42F0 +/* 802B42DC 002B123C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B42E0 002B1240 38 80 00 01 */ li r4, 1 +/* 802B42E4 002B1244 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B42E8 002B1248 7D 89 03 A6 */ mtctr r12 +/* 802B42EC 002B124C 4E 80 04 21 */ bctrl +lbl_802B42F0: +/* 802B42F0 002B1250 34 1F 00 54 */ addic. r0, r31, 0x54 +/* 802B42F4 002B1254 41 82 00 24 */ beq lbl_802B4318 +/* 802B42F8 002B1258 80 7F 00 54 */ lwz r3, 0x54(r31) +/* 802B42FC 002B125C 28 03 00 00 */ cmplwi r3, 0 +/* 802B4300 002B1260 41 82 00 18 */ beq lbl_802B4318 +/* 802B4304 002B1264 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4308 002B1268 38 80 00 01 */ li r4, 1 +/* 802B430C 002B126C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4310 002B1270 7D 89 03 A6 */ mtctr r12 +/* 802B4314 002B1274 4E 80 04 21 */ bctrl +lbl_802B4318: +/* 802B4318 002B1278 34 1F 00 50 */ addic. r0, r31, 0x50 +/* 802B431C 002B127C 41 82 00 24 */ beq lbl_802B4340 +/* 802B4320 002B1280 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 802B4324 002B1284 28 03 00 00 */ cmplwi r3, 0 +/* 802B4328 002B1288 41 82 00 18 */ beq lbl_802B4340 +/* 802B432C 002B128C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4330 002B1290 38 80 00 01 */ li r4, 1 +/* 802B4334 002B1294 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4338 002B1298 7D 89 03 A6 */ mtctr r12 +/* 802B433C 002B129C 4E 80 04 21 */ bctrl +lbl_802B4340: +/* 802B4340 002B12A0 34 1F 00 4C */ addic. r0, r31, 0x4c +/* 802B4344 002B12A4 41 82 00 24 */ beq lbl_802B4368 +/* 802B4348 002B12A8 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 802B434C 002B12AC 28 03 00 00 */ cmplwi r3, 0 +/* 802B4350 002B12B0 41 82 00 18 */ beq lbl_802B4368 +/* 802B4354 002B12B4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4358 002B12B8 38 80 00 01 */ li r4, 1 +/* 802B435C 002B12BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4360 002B12C0 7D 89 03 A6 */ mtctr r12 +/* 802B4364 002B12C4 4E 80 04 21 */ bctrl +lbl_802B4368: +/* 802B4368 002B12C8 34 1F 00 48 */ addic. r0, r31, 0x48 +/* 802B436C 002B12CC 41 82 00 24 */ beq lbl_802B4390 +/* 802B4370 002B12D0 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 802B4374 002B12D4 28 03 00 00 */ cmplwi r3, 0 +/* 802B4378 002B12D8 41 82 00 18 */ beq lbl_802B4390 +/* 802B437C 002B12DC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4380 002B12E0 38 80 00 01 */ li r4, 1 +/* 802B4384 002B12E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4388 002B12E8 7D 89 03 A6 */ mtctr r12 +/* 802B438C 002B12EC 4E 80 04 21 */ bctrl +lbl_802B4390: +/* 802B4390 002B12F0 34 1F 00 38 */ addic. r0, r31, 0x38 +/* 802B4394 002B12F4 41 82 00 30 */ beq lbl_802B43C4 +/* 802B4398 002B12F8 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 802B439C 002B12FC 28 00 00 00 */ cmplwi r0, 0 +/* 802B43A0 002B1300 41 82 00 1C */ beq lbl_802B43BC +/* 802B43A4 002B1304 34 7F 00 38 */ addic. r3, r31, 0x38 +/* 802B43A8 002B1308 41 82 00 14 */ beq lbl_802B43BC +/* 802B43AC 002B130C 28 03 00 00 */ cmplwi r3, 0 +/* 802B43B0 002B1310 41 82 00 0C */ beq lbl_802B43BC +/* 802B43B4 002B1314 38 80 00 00 */ li r4, 0 +/* 802B43B8 002B1318 48 08 CA 89 */ bl __dt__6CTokenFv +lbl_802B43BC: +/* 802B43BC 002B131C 38 00 00 00 */ li r0, 0 +/* 802B43C0 002B1320 98 1F 00 44 */ stb r0, 0x44(r31) +lbl_802B43C4: +/* 802B43C4 002B1324 34 1F 00 1C */ addic. r0, r31, 0x1c +/* 802B43C8 002B1328 41 82 00 F4 */ beq lbl_802B44BC +/* 802B43CC 002B132C 34 1F 00 30 */ addic. r0, r31, 0x30 +/* 802B43D0 002B1330 41 82 00 24 */ beq lbl_802B43F4 +/* 802B43D4 002B1334 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802B43D8 002B1338 28 03 00 00 */ cmplwi r3, 0 +/* 802B43DC 002B133C 41 82 00 18 */ beq lbl_802B43F4 +/* 802B43E0 002B1340 81 83 00 00 */ lwz r12, 0(r3) +/* 802B43E4 002B1344 38 80 00 01 */ li r4, 1 +/* 802B43E8 002B1348 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B43EC 002B134C 7D 89 03 A6 */ mtctr r12 +/* 802B43F0 002B1350 4E 80 04 21 */ bctrl +lbl_802B43F4: +/* 802B43F4 002B1354 34 1F 00 2C */ addic. r0, r31, 0x2c +/* 802B43F8 002B1358 41 82 00 24 */ beq lbl_802B441C +/* 802B43FC 002B135C 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 802B4400 002B1360 28 03 00 00 */ cmplwi r3, 0 +/* 802B4404 002B1364 41 82 00 18 */ beq lbl_802B441C +/* 802B4408 002B1368 81 83 00 00 */ lwz r12, 0(r3) +/* 802B440C 002B136C 38 80 00 01 */ li r4, 1 +/* 802B4410 002B1370 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4414 002B1374 7D 89 03 A6 */ mtctr r12 +/* 802B4418 002B1378 4E 80 04 21 */ bctrl +lbl_802B441C: +/* 802B441C 002B137C 34 1F 00 28 */ addic. r0, r31, 0x28 +/* 802B4420 002B1380 41 82 00 24 */ beq lbl_802B4444 +/* 802B4424 002B1384 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 802B4428 002B1388 28 03 00 00 */ cmplwi r3, 0 +/* 802B442C 002B138C 41 82 00 18 */ beq lbl_802B4444 +/* 802B4430 002B1390 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4434 002B1394 38 80 00 01 */ li r4, 1 +/* 802B4438 002B1398 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B443C 002B139C 7D 89 03 A6 */ mtctr r12 +/* 802B4440 002B13A0 4E 80 04 21 */ bctrl +lbl_802B4444: +/* 802B4444 002B13A4 34 1F 00 24 */ addic. r0, r31, 0x24 +/* 802B4448 002B13A8 41 82 00 24 */ beq lbl_802B446C +/* 802B444C 002B13AC 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802B4450 002B13B0 28 03 00 00 */ cmplwi r3, 0 +/* 802B4454 002B13B4 41 82 00 18 */ beq lbl_802B446C +/* 802B4458 002B13B8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B445C 002B13BC 38 80 00 01 */ li r4, 1 +/* 802B4460 002B13C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4464 002B13C4 7D 89 03 A6 */ mtctr r12 +/* 802B4468 002B13C8 4E 80 04 21 */ bctrl +lbl_802B446C: +/* 802B446C 002B13CC 34 1F 00 20 */ addic. r0, r31, 0x20 +/* 802B4470 002B13D0 41 82 00 24 */ beq lbl_802B4494 +/* 802B4474 002B13D4 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802B4478 002B13D8 28 03 00 00 */ cmplwi r3, 0 +/* 802B447C 002B13DC 41 82 00 18 */ beq lbl_802B4494 +/* 802B4480 002B13E0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4484 002B13E4 38 80 00 01 */ li r4, 1 +/* 802B4488 002B13E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B448C 002B13EC 7D 89 03 A6 */ mtctr r12 +/* 802B4490 002B13F0 4E 80 04 21 */ bctrl +lbl_802B4494: +/* 802B4494 002B13F4 34 1F 00 1C */ addic. r0, r31, 0x1c +/* 802B4498 002B13F8 41 82 00 24 */ beq lbl_802B44BC +/* 802B449C 002B13FC 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802B44A0 002B1400 28 03 00 00 */ cmplwi r3, 0 +/* 802B44A4 002B1404 41 82 00 18 */ beq lbl_802B44BC +/* 802B44A8 002B1408 81 83 00 00 */ lwz r12, 0(r3) +/* 802B44AC 002B140C 38 80 00 01 */ li r4, 1 +/* 802B44B0 002B1410 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B44B4 002B1414 7D 89 03 A6 */ mtctr r12 +/* 802B44B8 002B1418 4E 80 04 21 */ bctrl +lbl_802B44BC: +/* 802B44BC 002B141C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B44C0 002B1420 41 82 00 F4 */ beq lbl_802B45B4 +/* 802B44C4 002B1424 34 1F 00 14 */ addic. r0, r31, 0x14 +/* 802B44C8 002B1428 41 82 00 24 */ beq lbl_802B44EC +/* 802B44CC 002B142C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802B44D0 002B1430 28 03 00 00 */ cmplwi r3, 0 +/* 802B44D4 002B1434 41 82 00 18 */ beq lbl_802B44EC +/* 802B44D8 002B1438 81 83 00 00 */ lwz r12, 0(r3) +/* 802B44DC 002B143C 38 80 00 01 */ li r4, 1 +/* 802B44E0 002B1440 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B44E4 002B1444 7D 89 03 A6 */ mtctr r12 +/* 802B44E8 002B1448 4E 80 04 21 */ bctrl +lbl_802B44EC: +/* 802B44EC 002B144C 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 802B44F0 002B1450 41 82 00 24 */ beq lbl_802B4514 +/* 802B44F4 002B1454 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802B44F8 002B1458 28 03 00 00 */ cmplwi r3, 0 +/* 802B44FC 002B145C 41 82 00 18 */ beq lbl_802B4514 +/* 802B4500 002B1460 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4504 002B1464 38 80 00 01 */ li r4, 1 +/* 802B4508 002B1468 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B450C 002B146C 7D 89 03 A6 */ mtctr r12 +/* 802B4510 002B1470 4E 80 04 21 */ bctrl +lbl_802B4514: +/* 802B4514 002B1474 34 1F 00 0C */ addic. r0, r31, 0xc +/* 802B4518 002B1478 41 82 00 24 */ beq lbl_802B453C +/* 802B451C 002B147C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B4520 002B1480 28 03 00 00 */ cmplwi r3, 0 +/* 802B4524 002B1484 41 82 00 18 */ beq lbl_802B453C +/* 802B4528 002B1488 81 83 00 00 */ lwz r12, 0(r3) +/* 802B452C 002B148C 38 80 00 01 */ li r4, 1 +/* 802B4530 002B1490 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4534 002B1494 7D 89 03 A6 */ mtctr r12 +/* 802B4538 002B1498 4E 80 04 21 */ bctrl +lbl_802B453C: +/* 802B453C 002B149C 34 1F 00 08 */ addic. r0, r31, 8 +/* 802B4540 002B14A0 41 82 00 24 */ beq lbl_802B4564 +/* 802B4544 002B14A4 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4548 002B14A8 28 03 00 00 */ cmplwi r3, 0 +/* 802B454C 002B14AC 41 82 00 18 */ beq lbl_802B4564 +/* 802B4550 002B14B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4554 002B14B4 38 80 00 01 */ li r4, 1 +/* 802B4558 002B14B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B455C 002B14BC 7D 89 03 A6 */ mtctr r12 +/* 802B4560 002B14C0 4E 80 04 21 */ bctrl +lbl_802B4564: +/* 802B4564 002B14C4 34 1F 00 04 */ addic. r0, r31, 4 +/* 802B4568 002B14C8 41 82 00 24 */ beq lbl_802B458C +/* 802B456C 002B14CC 80 7F 00 04 */ lwz r3, 4(r31) +/* 802B4570 002B14D0 28 03 00 00 */ cmplwi r3, 0 +/* 802B4574 002B14D4 41 82 00 18 */ beq lbl_802B458C +/* 802B4578 002B14D8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B457C 002B14DC 38 80 00 01 */ li r4, 1 +/* 802B4580 002B14E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4584 002B14E4 7D 89 03 A6 */ mtctr r12 +/* 802B4588 002B14E8 4E 80 04 21 */ bctrl +lbl_802B458C: +/* 802B458C 002B14EC 28 1F 00 00 */ cmplwi r31, 0 +/* 802B4590 002B14F0 41 82 00 24 */ beq lbl_802B45B4 +/* 802B4594 002B14F4 80 7F 00 00 */ lwz r3, 0(r31) +/* 802B4598 002B14F8 28 03 00 00 */ cmplwi r3, 0 +/* 802B459C 002B14FC 41 82 00 18 */ beq lbl_802B45B4 +/* 802B45A0 002B1500 81 83 00 00 */ lwz r12, 0(r3) +/* 802B45A4 002B1504 38 80 00 01 */ li r4, 1 +/* 802B45A8 002B1508 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B45AC 002B150C 7D 89 03 A6 */ mtctr r12 +/* 802B45B0 002B1510 4E 80 04 21 */ bctrl +lbl_802B45B4: +/* 802B45B4 002B1514 7F C0 07 35 */ extsh. r0, r30 +/* 802B45B8 002B1518 40 81 00 0C */ ble lbl_802B45C4 +/* 802B45BC 002B151C 7F E3 FB 78 */ mr r3, r31 +/* 802B45C0 002B1520 48 06 13 71 */ bl Free__7CMemoryFPCv +lbl_802B45C4: +/* 802B45C4 002B1524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B45C8 002B1528 7F E3 FB 78 */ mr r3, r31 +/* 802B45CC 002B152C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B45D0 002B1530 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B45D4 002B1534 7C 08 03 A6 */ mtlr r0 +/* 802B45D8 002B1538 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B45DC 002B153C 4E 80 00 20 */ blr + +.global FDecalDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FDecalDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802B45E0 002B1540 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B45E4 002B1544 7C 08 02 A6 */ mflr r0 +/* 802B45E8 002B1548 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B45EC 002B154C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B45F0 002B1550 7C 7F 1B 78 */ mr r31, r3 +/* 802B45F4 002B1554 7C A3 2B 78 */ mr r3, r5 +/* 802B45F8 002B1558 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B45FC 002B155C 90 C1 00 08 */ stw r6, 8(r1) +/* 802B4600 002B1560 80 86 00 04 */ lwz r4, 4(r6) +/* 802B4604 002B1564 38 04 00 01 */ addi r0, r4, 1 +/* 802B4608 002B1568 90 06 00 04 */ stw r0, 4(r6) +/* 802B460C 002B156C 80 81 00 08 */ lwz r4, 8(r1) +/* 802B4610 002B1570 80 84 00 00 */ lwz r4, 0(r4) +/* 802B4614 002B1574 80 84 00 04 */ lwz r4, 4(r4) +/* 802B4618 002B1578 4B FF FB E1 */ bl GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +/* 802B461C 002B157C 7C 60 1B 78 */ mr r0, r3 +/* 802B4620 002B1580 7F E3 FB 78 */ mr r3, r31 +/* 802B4624 002B1584 7C 04 03 78 */ mr r4, r0 +/* 802B4628 002B1588 48 00 00 21 */ bl "__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription" +/* 802B462C 002B158C 38 61 00 08 */ addi r3, r1, 8 +/* 802B4630 002B1590 4B D7 FC D5 */ bl sub_80034304 +/* 802B4634 002B1594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B4638 002B1598 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B463C 002B159C 7C 08 03 A6 */ mtlr r0 +/* 802B4640 002B15A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B4644 002B15A4 4E 80 00 20 */ blr + +.global "__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription" +"__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription": +/* 802B4648 002B15A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B464C 002B15AC 7C 08 02 A6 */ mflr r0 +/* 802B4650 002B15B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B4654 002B15B4 7C 04 00 D0 */ neg r0, r4 +/* 802B4658 002B15B8 7C 00 23 78 */ or r0, r0, r4 +/* 802B465C 002B15BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B4660 002B15C0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B4664 002B15C4 7C 7F 1B 78 */ mr r31, r3 +/* 802B4668 002B15C8 38 61 00 08 */ addi r3, r1, 8 +/* 802B466C 002B15CC 90 81 00 14 */ stw r4, 0x14(r1) +/* 802B4670 002B15D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B4674 002B15D4 98 01 00 10 */ stb r0, 0x10(r1) +/* 802B4678 002B15D8 48 00 00 75 */ bl "GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +/* 802B467C 002B15DC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B4680 002B15E0 38 00 00 00 */ li r0, 0 +/* 802B4684 002B15E4 98 01 00 08 */ stb r0, 8(r1) +/* 802B4688 002B15E8 7C 03 00 D0 */ neg r0, r3 +/* 802B468C 002B15EC 7C 00 1B 78 */ or r0, r0, r3 +/* 802B4690 002B15F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B4694 002B15F4 98 1F 00 00 */ stb r0, 0(r31) +/* 802B4698 002B15F8 90 7F 00 04 */ stw r3, 4(r31) +/* 802B469C 002B15FC 88 01 00 08 */ lbz r0, 8(r1) +/* 802B46A0 002B1600 28 00 00 00 */ cmplwi r0, 0 +/* 802B46A4 002B1604 41 82 00 24 */ beq lbl_802B46C8 +/* 802B46A8 002B1608 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B46AC 002B160C 28 03 00 00 */ cmplwi r3, 0 +/* 802B46B0 002B1610 41 82 00 18 */ beq lbl_802B46C8 +/* 802B46B4 002B1614 81 83 00 00 */ lwz r12, 0(r3) +/* 802B46B8 002B1618 38 80 00 01 */ li r4, 1 +/* 802B46BC 002B161C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B46C0 002B1620 7D 89 03 A6 */ mtctr r12 +/* 802B46C4 002B1624 4E 80 04 21 */ bctrl +lbl_802B46C8: +/* 802B46C8 002B1628 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B46CC 002B162C 38 80 FF FF */ li r4, -1 +/* 802B46D0 002B1630 48 00 00 E5 */ bl sub_802b47b4 +/* 802B46D4 002B1634 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B46D8 002B1638 7F E3 FB 78 */ mr r3, r31 +/* 802B46DC 002B163C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B46E0 002B1640 7C 08 03 A6 */ mtlr r0 +/* 802B46E4 002B1644 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B46E8 002B1648 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +"GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>": +/* 802B46EC 002B164C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B46F0 002B1650 7C 08 02 A6 */ mflr r0 +/* 802B46F4 002B1654 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B46F8 002B1658 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B46FC 002B165C 7C 7F 1B 78 */ mr r31, r3 +/* 802B4700 002B1660 48 00 00 19 */ bl "GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +/* 802B4704 002B1664 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4708 002B1668 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B470C 002B166C 7C 08 03 A6 */ mtlr r0 +/* 802B4710 002B1670 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4714 002B1674 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +"GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>": +/* 802B4718 002B1678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B471C 002B167C 7C 08 02 A6 */ mflr r0 +/* 802B4720 002B1680 3C A0 80 3D */ lis r5, lbl_803D6548@ha +/* 802B4724 002B1684 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4728 002B1688 38 05 65 48 */ addi r0, r5, lbl_803D6548@l +/* 802B472C 002B168C 38 A0 00 00 */ li r5, 0 +/* 802B4730 002B1690 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B4734 002B1694 7C 9F 23 78 */ mr r31, r4 +/* 802B4738 002B1698 7C 04 03 78 */ mr r4, r0 +/* 802B473C 002B169C 93 C1 00 08 */ stw r30, 8(r1) +/* 802B4740 002B16A0 7C 7E 1B 78 */ mr r30, r3 +/* 802B4744 002B16A4 38 60 00 08 */ li r3, 8 +/* 802B4748 002B16A8 48 06 11 25 */ bl __nw__FUlPCcPCc +/* 802B474C 002B16AC 28 03 00 00 */ cmplwi r3, 0 +/* 802B4750 002B16B0 41 82 00 38 */ beq lbl_802B4788 +/* 802B4754 002B16B4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802B4758 002B16B8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802B475C 002B16BC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802B4760 002B16C0 3C 80 80 3F */ lis r4, lbl_803EC548@ha +/* 802B4764 002B16C4 90 03 00 00 */ stw r0, 0(r3) +/* 802B4768 002B16C8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802B476C 002B16CC 38 A0 00 00 */ li r5, 0 +/* 802B4770 002B16D0 38 04 C5 48 */ addi r0, r4, lbl_803EC548@l +/* 802B4774 002B16D4 90 C3 00 00 */ stw r6, 0(r3) +/* 802B4778 002B16D8 98 BF 00 00 */ stb r5, 0(r31) +/* 802B477C 002B16DC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802B4780 002B16E0 90 83 00 04 */ stw r4, 4(r3) +/* 802B4784 002B16E4 90 03 00 00 */ stw r0, 0(r3) +lbl_802B4788: +/* 802B4788 002B16E8 7C 03 00 D0 */ neg r0, r3 +/* 802B478C 002B16EC 7C 00 1B 78 */ or r0, r0, r3 +/* 802B4790 002B16F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B4794 002B16F4 98 1E 00 00 */ stb r0, 0(r30) +/* 802B4798 002B16F8 90 7E 00 04 */ stw r3, 4(r30) +/* 802B479C 002B16FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B47A0 002B1700 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B47A4 002B1704 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B47A8 002B1708 7C 08 03 A6 */ mtlr r0 +/* 802B47AC 002B170C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B47B0 002B1710 4E 80 00 20 */ blr + +.global sub_802b47b4 +sub_802b47b4: +/* 802B47B4 002B1714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B47B8 002B1718 7C 08 02 A6 */ mflr r0 +/* 802B47BC 002B171C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B47C0 002B1720 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B47C4 002B1724 7C 9F 23 78 */ mr r31, r4 +/* 802B47C8 002B1728 93 C1 00 08 */ stw r30, 8(r1) +/* 802B47CC 002B172C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B47D0 002B1730 41 82 00 2C */ beq lbl_802B47FC +/* 802B47D4 002B1734 88 1E 00 00 */ lbz r0, 0(r30) +/* 802B47D8 002B1738 28 00 00 00 */ cmplwi r0, 0 +/* 802B47DC 002B173C 41 82 00 10 */ beq lbl_802B47EC +/* 802B47E0 002B1740 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B47E4 002B1744 38 80 00 01 */ li r4, 1 +/* 802B47E8 002B1748 4B FF FA C1 */ bl sub_802b42a8 +lbl_802B47EC: +/* 802B47EC 002B174C 7F E0 07 35 */ extsh. r0, r31 +/* 802B47F0 002B1750 40 81 00 0C */ ble lbl_802B47FC +/* 802B47F4 002B1754 7F C3 F3 78 */ mr r3, r30 +/* 802B47F8 002B1758 48 06 11 39 */ bl Free__7CMemoryFPCv +lbl_802B47FC: +/* 802B47FC 002B175C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4800 002B1760 7F C3 F3 78 */ mr r3, r30 +/* 802B4804 002B1764 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4808 002B1768 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B480C 002B176C 7C 08 03 A6 */ mtlr r0 +/* 802B4810 002B1770 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4814 002B1774 4E 80 00 20 */ blr + +.global IsConstant__12CRealElementCFv +IsConstant__12CRealElementCFv: +/* 802B4818 002B1778 38 60 00 00 */ li r3, 0 +/* 802B481C 002B177C 4E 80 00 20 */ blr + +.global IsFastConstant__14CVectorElementCFv +IsFastConstant__14CVectorElementCFv: +/* 802B4820 002B1780 38 60 00 00 */ li r3, 0 +/* 802B4824 002B1784 4E 80 00 20 */ blr diff --git a/asm/Weapons/CProjectileWeapon.s b/asm/Weapons/CProjectileWeapon.s new file mode 100644 index 00000000..0b3b2b6d --- /dev/null +++ b/asm/Weapons/CProjectileWeapon.s @@ -0,0 +1,2554 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetBounds__17CProjectileWeaponCFv +GetBounds__17CProjectileWeaponCFv: +/* 802AED08 002ABC68 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802AED0C 002ABC6C 7C 08 02 A6 */ mflr r0 +/* 802AED10 002ABC70 90 01 01 54 */ stw r0, 0x154(r1) +/* 802AED14 002ABC74 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 802AED18 002ABC78 3B E0 00 00 */ li r31, 0 +/* 802AED1C 002ABC7C 93 C1 01 48 */ stw r30, 0x148(r1) +/* 802AED20 002ABC80 7C 9E 23 78 */ mr r30, r4 +/* 802AED24 002ABC84 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 802AED28 002ABC88 93 A1 01 44 */ stw r29, 0x144(r1) +/* 802AED2C 002ABC8C 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l +/* 802AED30 002ABC90 7C 7D 1B 78 */ mr r29, r3 +/* 802AED34 002ABC94 80 9E 00 FC */ lwz r4, 0xfc(r30) +/* 802AED38 002ABC98 C0 A5 00 00 */ lfs f5, 0(r5) +/* 802AED3C 002ABC9C C0 85 00 04 */ lfs f4, 4(r5) +/* 802AED40 002ABCA0 28 04 00 00 */ cmplwi r4, 0 +/* 802AED44 002ABCA4 C0 65 00 08 */ lfs f3, 8(r5) +/* 802AED48 002ABCA8 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802AED4C 002ABCAC C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802AED50 002ABCB0 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802AED54 002ABCB4 D0 A1 01 20 */ stfs f5, 0x120(r1) +/* 802AED58 002ABCB8 D0 81 01 24 */ stfs f4, 0x124(r1) +/* 802AED5C 002ABCBC D0 61 01 28 */ stfs f3, 0x128(r1) +/* 802AED60 002ABCC0 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 802AED64 002ABCC4 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802AED68 002ABCC8 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802AED6C 002ABCCC 41 82 00 9C */ beq lbl_802AEE08 +/* 802AED70 002ABCD0 81 84 00 00 */ lwz r12, 0(r4) +/* 802AED74 002ABCD4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AED78 002ABCD8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AED7C 002ABCDC 7D 89 03 A6 */ mtctr r12 +/* 802AED80 002ABCE0 4E 80 04 21 */ bctrl +/* 802AED84 002ABCE4 88 01 00 90 */ lbz r0, 0x90(r1) +/* 802AED88 002ABCE8 28 00 00 00 */ cmplwi r0, 0 +/* 802AED8C 002ABCEC 98 01 01 1C */ stb r0, 0x11c(r1) +/* 802AED90 002ABCF0 41 82 00 3C */ beq lbl_802AEDCC +/* 802AED94 002ABCF4 34 61 01 04 */ addic. r3, r1, 0x104 +/* 802AED98 002ABCF8 41 82 00 34 */ beq lbl_802AEDCC +/* 802AED9C 002ABCFC C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802AEDA0 002ABD00 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEDA4 002ABD04 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802AEDA8 002ABD08 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEDAC 002ABD0C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802AEDB0 002ABD10 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEDB4 002ABD14 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802AEDB8 002ABD18 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEDBC 002ABD1C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802AEDC0 002ABD20 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEDC4 002ABD24 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802AEDC8 002ABD28 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEDCC: +/* 802AEDCC 002ABD2C 88 01 01 1C */ lbz r0, 0x11c(r1) +/* 802AEDD0 002ABD30 38 60 00 00 */ li r3, 0 +/* 802AEDD4 002ABD34 98 61 00 90 */ stb r3, 0x90(r1) +/* 802AEDD8 002ABD38 28 00 00 00 */ cmplwi r0, 0 +/* 802AEDDC 002ABD3C 41 82 00 24 */ beq lbl_802AEE00 +/* 802AEDE0 002ABD40 3B E1 01 04 */ addi r31, r1, 0x104 +/* 802AEDE4 002ABD44 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEDE8 002ABD48 7F E4 FB 78 */ mr r4, r31 +/* 802AEDEC 002ABD4C 48 08 8D 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEDF0 002ABD50 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEDF4 002ABD54 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEDF8 002ABD58 48 08 8D 11 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEDFC 002ABD5C 3B E0 00 01 */ li r31, 1 +lbl_802AEE00: +/* 802AEE00 002ABD60 38 00 00 00 */ li r0, 0 +/* 802AEE04 002ABD64 98 01 01 1C */ stb r0, 0x11c(r1) +lbl_802AEE08: +/* 802AEE08 002ABD68 80 9E 01 00 */ lwz r4, 0x100(r30) +/* 802AEE0C 002ABD6C 28 04 00 00 */ cmplwi r4, 0 +/* 802AEE10 002ABD70 41 82 00 9C */ beq lbl_802AEEAC +/* 802AEE14 002ABD74 81 84 00 00 */ lwz r12, 0(r4) +/* 802AEE18 002ABD78 38 61 00 5C */ addi r3, r1, 0x5c +/* 802AEE1C 002ABD7C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AEE20 002ABD80 7D 89 03 A6 */ mtctr r12 +/* 802AEE24 002ABD84 4E 80 04 21 */ bctrl +/* 802AEE28 002ABD88 88 01 00 74 */ lbz r0, 0x74(r1) +/* 802AEE2C 002ABD8C 28 00 00 00 */ cmplwi r0, 0 +/* 802AEE30 002ABD90 98 01 01 00 */ stb r0, 0x100(r1) +/* 802AEE34 002ABD94 41 82 00 3C */ beq lbl_802AEE70 +/* 802AEE38 002ABD98 34 61 00 E8 */ addic. r3, r1, 0xe8 +/* 802AEE3C 002ABD9C 41 82 00 34 */ beq lbl_802AEE70 +/* 802AEE40 002ABDA0 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802AEE44 002ABDA4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEE48 002ABDA8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802AEE4C 002ABDAC D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEE50 002ABDB0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802AEE54 002ABDB4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEE58 002ABDB8 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802AEE5C 002ABDBC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEE60 002ABDC0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802AEE64 002ABDC4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEE68 002ABDC8 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802AEE6C 002ABDCC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEE70: +/* 802AEE70 002ABDD0 88 01 01 00 */ lbz r0, 0x100(r1) +/* 802AEE74 002ABDD4 38 60 00 00 */ li r3, 0 +/* 802AEE78 002ABDD8 98 61 00 74 */ stb r3, 0x74(r1) +/* 802AEE7C 002ABDDC 28 00 00 00 */ cmplwi r0, 0 +/* 802AEE80 002ABDE0 41 82 00 24 */ beq lbl_802AEEA4 +/* 802AEE84 002ABDE4 3B E1 00 E8 */ addi r31, r1, 0xe8 +/* 802AEE88 002ABDE8 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEE8C 002ABDEC 7F E4 FB 78 */ mr r4, r31 +/* 802AEE90 002ABDF0 48 08 8C 79 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEE94 002ABDF4 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEE98 002ABDF8 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEE9C 002ABDFC 48 08 8C 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEEA0 002ABE00 3B E0 00 01 */ li r31, 1 +lbl_802AEEA4: +/* 802AEEA4 002ABE04 38 00 00 00 */ li r0, 0 +/* 802AEEA8 002ABE08 98 01 01 00 */ stb r0, 0x100(r1) +lbl_802AEEAC: +/* 802AEEAC 002ABE0C 80 9E 01 18 */ lwz r4, 0x118(r30) +/* 802AEEB0 002ABE10 28 04 00 00 */ cmplwi r4, 0 +/* 802AEEB4 002ABE14 41 82 00 9C */ beq lbl_802AEF50 +/* 802AEEB8 002ABE18 81 84 00 00 */ lwz r12, 0(r4) +/* 802AEEBC 002ABE1C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AEEC0 002ABE20 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AEEC4 002ABE24 7D 89 03 A6 */ mtctr r12 +/* 802AEEC8 002ABE28 4E 80 04 21 */ bctrl +/* 802AEECC 002ABE2C 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802AEED0 002ABE30 28 00 00 00 */ cmplwi r0, 0 +/* 802AEED4 002ABE34 98 01 00 E4 */ stb r0, 0xe4(r1) +/* 802AEED8 002ABE38 41 82 00 3C */ beq lbl_802AEF14 +/* 802AEEDC 002ABE3C 34 61 00 CC */ addic. r3, r1, 0xcc +/* 802AEEE0 002ABE40 41 82 00 34 */ beq lbl_802AEF14 +/* 802AEEE4 002ABE44 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802AEEE8 002ABE48 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEEEC 002ABE4C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802AEEF0 002ABE50 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEEF4 002ABE54 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802AEEF8 002ABE58 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEEFC 002ABE5C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802AEF00 002ABE60 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEF04 002ABE64 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802AEF08 002ABE68 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEF0C 002ABE6C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802AEF10 002ABE70 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEF14: +/* 802AEF14 002ABE74 88 01 00 E4 */ lbz r0, 0xe4(r1) +/* 802AEF18 002ABE78 38 60 00 00 */ li r3, 0 +/* 802AEF1C 002ABE7C 98 61 00 58 */ stb r3, 0x58(r1) +/* 802AEF20 002ABE80 28 00 00 00 */ cmplwi r0, 0 +/* 802AEF24 002ABE84 41 82 00 24 */ beq lbl_802AEF48 +/* 802AEF28 002ABE88 3B E1 00 CC */ addi r31, r1, 0xcc +/* 802AEF2C 002ABE8C 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEF30 002ABE90 7F E4 FB 78 */ mr r4, r31 +/* 802AEF34 002ABE94 48 08 8B D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEF38 002ABE98 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEF3C 002ABE9C 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEF40 002ABEA0 48 08 8B C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEF44 002ABEA4 3B E0 00 01 */ li r31, 1 +lbl_802AEF48: +/* 802AEF48 002ABEA8 38 00 00 00 */ li r0, 0 +/* 802AEF4C 002ABEAC 98 01 00 E4 */ stb r0, 0xe4(r1) +lbl_802AEF50: +/* 802AEF50 002ABEB0 80 9E 01 1C */ lwz r4, 0x11c(r30) +/* 802AEF54 002ABEB4 28 04 00 00 */ cmplwi r4, 0 +/* 802AEF58 002ABEB8 41 82 00 9C */ beq lbl_802AEFF4 +/* 802AEF5C 002ABEBC 81 84 00 00 */ lwz r12, 0(r4) +/* 802AEF60 002ABEC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802AEF64 002ABEC4 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AEF68 002ABEC8 7D 89 03 A6 */ mtctr r12 +/* 802AEF6C 002ABECC 4E 80 04 21 */ bctrl +/* 802AEF70 002ABED0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802AEF74 002ABED4 28 00 00 00 */ cmplwi r0, 0 +/* 802AEF78 002ABED8 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 802AEF7C 002ABEDC 41 82 00 3C */ beq lbl_802AEFB8 +/* 802AEF80 002ABEE0 34 61 00 B0 */ addic. r3, r1, 0xb0 +/* 802AEF84 002ABEE4 41 82 00 34 */ beq lbl_802AEFB8 +/* 802AEF88 002ABEE8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802AEF8C 002ABEEC D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEF90 002ABEF0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802AEF94 002ABEF4 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEF98 002ABEF8 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802AEF9C 002ABEFC D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEFA0 002ABF00 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802AEFA4 002ABF04 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEFA8 002ABF08 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802AEFAC 002ABF0C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEFB0 002ABF10 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802AEFB4 002ABF14 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEFB8: +/* 802AEFB8 002ABF18 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 802AEFBC 002ABF1C 38 60 00 00 */ li r3, 0 +/* 802AEFC0 002ABF20 98 61 00 3C */ stb r3, 0x3c(r1) +/* 802AEFC4 002ABF24 28 00 00 00 */ cmplwi r0, 0 +/* 802AEFC8 002ABF28 41 82 00 24 */ beq lbl_802AEFEC +/* 802AEFCC 002ABF2C 3B E1 00 B0 */ addi r31, r1, 0xb0 +/* 802AEFD0 002ABF30 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEFD4 002ABF34 7F E4 FB 78 */ mr r4, r31 +/* 802AEFD8 002ABF38 48 08 8B 31 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEFDC 002ABF3C 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEFE0 002ABF40 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEFE4 002ABF44 48 08 8B 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEFE8 002ABF48 3B E0 00 01 */ li r31, 1 +lbl_802AEFEC: +/* 802AEFEC 002ABF4C 38 00 00 00 */ li r0, 0 +/* 802AEFF0 002ABF50 98 01 00 C8 */ stb r0, 0xc8(r1) +lbl_802AEFF4: +/* 802AEFF4 002ABF54 80 9E 01 20 */ lwz r4, 0x120(r30) +/* 802AEFF8 002ABF58 28 04 00 00 */ cmplwi r4, 0 +/* 802AEFFC 002ABF5C 41 82 00 9C */ beq lbl_802AF098 +/* 802AF000 002ABF60 81 84 00 00 */ lwz r12, 0(r4) +/* 802AF004 002ABF64 38 61 00 08 */ addi r3, r1, 8 +/* 802AF008 002ABF68 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AF00C 002ABF6C 7D 89 03 A6 */ mtctr r12 +/* 802AF010 002ABF70 4E 80 04 21 */ bctrl +/* 802AF014 002ABF74 88 01 00 20 */ lbz r0, 0x20(r1) +/* 802AF018 002ABF78 28 00 00 00 */ cmplwi r0, 0 +/* 802AF01C 002ABF7C 98 01 00 AC */ stb r0, 0xac(r1) +/* 802AF020 002ABF80 41 82 00 3C */ beq lbl_802AF05C +/* 802AF024 002ABF84 34 61 00 94 */ addic. r3, r1, 0x94 +/* 802AF028 002ABF88 41 82 00 34 */ beq lbl_802AF05C +/* 802AF02C 002ABF8C C0 01 00 08 */ lfs f0, 8(r1) +/* 802AF030 002ABF90 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AF034 002ABF94 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802AF038 002ABF98 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AF03C 002ABF9C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802AF040 002ABFA0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AF044 002ABFA4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802AF048 002ABFA8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AF04C 002ABFAC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802AF050 002ABFB0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AF054 002ABFB4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802AF058 002ABFB8 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AF05C: +/* 802AF05C 002ABFBC 88 01 00 AC */ lbz r0, 0xac(r1) +/* 802AF060 002ABFC0 38 60 00 00 */ li r3, 0 +/* 802AF064 002ABFC4 98 61 00 20 */ stb r3, 0x20(r1) +/* 802AF068 002ABFC8 28 00 00 00 */ cmplwi r0, 0 +/* 802AF06C 002ABFCC 41 82 00 24 */ beq lbl_802AF090 +/* 802AF070 002ABFD0 3B C1 00 94 */ addi r30, r1, 0x94 +/* 802AF074 002ABFD4 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AF078 002ABFD8 7F C4 F3 78 */ mr r4, r30 +/* 802AF07C 002ABFDC 48 08 8A 8D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AF080 002ABFE0 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AF084 002ABFE4 38 9E 00 0C */ addi r4, r30, 0xc +/* 802AF088 002ABFE8 48 08 8A 81 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AF08C 002ABFEC 3B E0 00 01 */ li r31, 1 +lbl_802AF090: +/* 802AF090 002ABFF0 38 00 00 00 */ li r0, 0 +/* 802AF094 002ABFF4 98 01 00 AC */ stb r0, 0xac(r1) +lbl_802AF098: +/* 802AF098 002ABFF8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802AF09C 002ABFFC 41 82 00 48 */ beq lbl_802AF0E4 +/* 802AF0A0 002AC000 38 00 00 01 */ li r0, 1 +/* 802AF0A4 002AC004 28 1D 00 00 */ cmplwi r29, 0 +/* 802AF0A8 002AC008 98 1D 00 18 */ stb r0, 0x18(r29) +/* 802AF0AC 002AC00C 41 82 00 40 */ beq lbl_802AF0EC +/* 802AF0B0 002AC010 C0 01 01 20 */ lfs f0, 0x120(r1) +/* 802AF0B4 002AC014 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802AF0B8 002AC018 C0 01 01 24 */ lfs f0, 0x124(r1) +/* 802AF0BC 002AC01C D0 1D 00 04 */ stfs f0, 4(r29) +/* 802AF0C0 002AC020 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 802AF0C4 002AC024 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802AF0C8 002AC028 C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 802AF0CC 002AC02C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802AF0D0 002AC030 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 802AF0D4 002AC034 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802AF0D8 002AC038 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 802AF0DC 002AC03C D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802AF0E0 002AC040 48 00 00 0C */ b lbl_802AF0EC +lbl_802AF0E4: +/* 802AF0E4 002AC044 38 00 00 00 */ li r0, 0 +/* 802AF0E8 002AC048 98 1D 00 18 */ stb r0, 0x18(r29) +lbl_802AF0EC: +/* 802AF0EC 002AC04C 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802AF0F0 002AC050 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 802AF0F4 002AC054 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 802AF0F8 002AC058 83 A1 01 44 */ lwz r29, 0x144(r1) +/* 802AF0FC 002AC05C 7C 08 03 A6 */ mtlr r0 +/* 802AF100 002AC060 38 21 01 50 */ addi r1, r1, 0x150 +/* 802AF104 002AC064 4E 80 00 20 */ blr + +.global SetGlobalSeed__17CProjectileWeaponFUs +SetGlobalSeed__17CProjectileWeaponFUs: +/* 802AF108 002AC068 90 6D 9A 88 */ stw r3, lbl_805A8648@sda21(r13) +/* 802AF10C 002AC06C 4E 80 00 20 */ blr + +.global sub_802af110 +sub_802af110: +/* 802AF110 002AC070 38 63 00 BC */ addi r3, r3, 0xbc +/* 802AF114 002AC074 4E 80 00 20 */ blr + +.global SetGravity__17CProjectileWeaponFRC9CVector3f +SetGravity__17CProjectileWeaponFRC9CVector3f: +/* 802AF118 002AC078 C0 04 00 00 */ lfs f0, 0(r4) +/* 802AF11C 002AC07C D0 03 00 BC */ stfs f0, 0xbc(r3) +/* 802AF120 002AC080 C0 04 00 04 */ lfs f0, 4(r4) +/* 802AF124 002AC084 D0 03 00 C0 */ stfs f0, 0xc0(r3) +/* 802AF128 002AC088 C0 04 00 08 */ lfs f0, 8(r4) +/* 802AF12C 002AC08C D0 03 00 C4 */ stfs f0, 0xc4(r3) +/* 802AF130 002AC090 4E 80 00 20 */ blr + +.global GetVelocity__17CProjectileWeaponCFv +GetVelocity__17CProjectileWeaponCFv: +/* 802AF134 002AC094 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 802AF138 002AC098 4E 80 00 20 */ blr + +.global SetVelocity__17CProjectileWeaponFRC9CVector3f +SetVelocity__17CProjectileWeaponFRC9CVector3f: +/* 802AF13C 002AC09C C0 04 00 00 */ lfs f0, 0(r4) +/* 802AF140 002AC0A0 D0 03 00 B0 */ stfs f0, 0xb0(r3) +/* 802AF144 002AC0A4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802AF148 002AC0A8 D0 03 00 B4 */ stfs f0, 0xb4(r3) +/* 802AF14C 002AC0AC C0 04 00 08 */ lfs f0, 8(r4) +/* 802AF150 002AC0B0 D0 03 00 B8 */ stfs f0, 0xb8(r3) +/* 802AF154 002AC0B4 4E 80 00 20 */ blr + +.global GetMaxTurnRate__17CProjectileWeaponCFv +GetMaxTurnRate__17CProjectileWeaponCFv: +/* 802AF158 002AC0B8 C0 23 00 E0 */ lfs f1, 0xe0(r3) +/* 802AF15C 002AC0BC 4E 80 00 20 */ blr + +.global GetAudibleFallOff__17CProjectileWeaponCFv +GetAudibleFallOff__17CProjectileWeaponCFv: +/* 802AF160 002AC0C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF164 002AC0C4 7C 08 02 A6 */ mflr r0 +/* 802AF168 002AC0C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF16C 002AC0CC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 802AF170 002AC0D0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 802AF174 002AC0D4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802AF178 002AC0D8 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF17C 002AC0DC 28 00 00 00 */ cmplwi r0, 0 +/* 802AF180 002AC0E0 40 82 00 0C */ bne lbl_802AF18C +/* 802AF184 002AC0E4 C0 22 C1 F0 */ lfs f1, lbl_805ADF10@sda21(r2) +/* 802AF188 002AC0E8 48 00 00 34 */ b lbl_802AF1BC +lbl_802AF18C: +/* 802AF18C 002AC0EC 38 61 00 08 */ addi r3, r1, 8 +/* 802AF190 002AC0F0 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF194 002AC0F4 48 09 1D 15 */ bl __ct__6CTokenFRC6CToken +/* 802AF198 002AC0F8 38 61 00 08 */ addi r3, r1, 8 +/* 802AF19C 002AC0FC 48 09 1C 71 */ bl GetObj__6CTokenFv +/* 802AF1A0 002AC100 80 63 00 04 */ lwz r3, 4(r3) +/* 802AF1A4 002AC104 48 00 32 4D */ bl GetAudibleFallOff__22CCollisionResponseDataCFv +/* 802AF1A8 002AC108 FF E0 08 90 */ fmr f31, f1 +/* 802AF1AC 002AC10C 38 61 00 08 */ addi r3, r1, 8 +/* 802AF1B0 002AC110 38 80 00 00 */ li r4, 0 +/* 802AF1B4 002AC114 48 09 1C 8D */ bl __dt__6CTokenFv +/* 802AF1B8 002AC118 FC 20 F8 90 */ fmr f1, f31 +lbl_802AF1BC: +/* 802AF1BC 002AC11C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802AF1C0 002AC120 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF1C4 002AC124 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802AF1C8 002AC128 7C 08 03 A6 */ mtlr r0 +/* 802AF1CC 002AC12C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF1D0 002AC130 4E 80 00 20 */ blr + +.global GetAudibleRange__17CProjectileWeaponCFv +GetAudibleRange__17CProjectileWeaponCFv: +/* 802AF1D4 002AC134 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF1D8 002AC138 7C 08 02 A6 */ mflr r0 +/* 802AF1DC 002AC13C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF1E0 002AC140 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 802AF1E4 002AC144 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 802AF1E8 002AC148 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802AF1EC 002AC14C 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF1F0 002AC150 28 00 00 00 */ cmplwi r0, 0 +/* 802AF1F4 002AC154 40 82 00 0C */ bne lbl_802AF200 +/* 802AF1F8 002AC158 C0 22 C1 F0 */ lfs f1, lbl_805ADF10@sda21(r2) +/* 802AF1FC 002AC15C 48 00 00 34 */ b lbl_802AF230 +lbl_802AF200: +/* 802AF200 002AC160 38 61 00 08 */ addi r3, r1, 8 +/* 802AF204 002AC164 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF208 002AC168 48 09 1C A1 */ bl __ct__6CTokenFRC6CToken +/* 802AF20C 002AC16C 38 61 00 08 */ addi r3, r1, 8 +/* 802AF210 002AC170 48 09 1B FD */ bl GetObj__6CTokenFv +/* 802AF214 002AC174 80 63 00 04 */ lwz r3, 4(r3) +/* 802AF218 002AC178 48 00 31 E1 */ bl GetAudibleRange__22CCollisionResponseDataCFv +/* 802AF21C 002AC17C FF E0 08 90 */ fmr f31, f1 +/* 802AF220 002AC180 38 61 00 08 */ addi r3, r1, 8 +/* 802AF224 002AC184 38 80 00 00 */ li r4, 0 +/* 802AF228 002AC188 48 09 1C 19 */ bl __dt__6CTokenFv +/* 802AF22C 002AC18C FC 20 F8 90 */ fmr f1, f31 +lbl_802AF230: +/* 802AF230 002AC190 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802AF234 002AC194 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF238 002AC198 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802AF23C 002AC19C 7C 08 03 A6 */ mtlr r0 +/* 802AF240 002AC1A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF244 002AC1A4 4E 80 00 20 */ blr + +.global GetDecalForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes +GetDecalForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes: +/* 802AF248 002AC1A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF24C 002AC1AC 7C 08 02 A6 */ mflr r0 +/* 802AF250 002AC1B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF254 002AC1B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802AF258 002AC1B8 7C BF 2B 78 */ mr r31, r5 +/* 802AF25C 002AC1BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802AF260 002AC1C0 7C 7E 1B 78 */ mr r30, r3 +/* 802AF264 002AC1C4 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802AF268 002AC1C8 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF26C 002AC1CC 28 00 00 00 */ cmplwi r0, 0 +/* 802AF270 002AC1D0 40 82 00 10 */ bne lbl_802AF280 +/* 802AF274 002AC1D4 38 00 00 00 */ li r0, 0 +/* 802AF278 002AC1D8 98 1E 00 0C */ stb r0, 0xc(r30) +/* 802AF27C 002AC1DC 48 00 00 38 */ b lbl_802AF2B4 +lbl_802AF280: +/* 802AF280 002AC1E0 38 61 00 08 */ addi r3, r1, 8 +/* 802AF284 002AC1E4 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF288 002AC1E8 48 09 1C 21 */ bl __ct__6CTokenFRC6CToken +/* 802AF28C 002AC1EC 38 61 00 08 */ addi r3, r1, 8 +/* 802AF290 002AC1F0 48 09 1B 7D */ bl GetObj__6CTokenFv +/* 802AF294 002AC1F4 7C 64 1B 78 */ mr r4, r3 +/* 802AF298 002AC1F8 7F C3 F3 78 */ mr r3, r30 +/* 802AF29C 002AC1FC 80 84 00 04 */ lwz r4, 4(r4) +/* 802AF2A0 002AC200 7F E5 FB 78 */ mr r5, r31 +/* 802AF2A4 002AC204 48 00 31 BD */ bl GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 802AF2A8 002AC208 38 61 00 08 */ addi r3, r1, 8 +/* 802AF2AC 002AC20C 38 80 00 00 */ li r4, 0 +/* 802AF2B0 002AC210 48 09 1B 91 */ bl __dt__6CTokenFv +lbl_802AF2B4: +/* 802AF2B4 002AC214 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF2B8 002AC218 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802AF2BC 002AC21C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802AF2C0 002AC220 7C 08 03 A6 */ mtlr r0 +/* 802AF2C4 002AC224 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF2C8 002AC228 4E 80 00 20 */ blr + +.global GetSoundIdForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes +GetSoundIdForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes: +/* 802AF2CC 002AC22C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF2D0 002AC230 7C 08 02 A6 */ mflr r0 +/* 802AF2D4 002AC234 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF2D8 002AC238 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802AF2DC 002AC23C 7C 9F 23 78 */ mr r31, r4 +/* 802AF2E0 002AC240 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802AF2E4 002AC244 88 05 00 A0 */ lbz r0, 0xa0(r5) +/* 802AF2E8 002AC248 28 00 00 00 */ cmplwi r0, 0 +/* 802AF2EC 002AC24C 40 82 00 0C */ bne lbl_802AF2F8 +/* 802AF2F0 002AC250 38 60 FF FF */ li r3, -1 +/* 802AF2F4 002AC254 48 00 00 38 */ b lbl_802AF32C +lbl_802AF2F8: +/* 802AF2F8 002AC258 38 61 00 08 */ addi r3, r1, 8 +/* 802AF2FC 002AC25C 38 85 00 94 */ addi r4, r5, 0x94 +/* 802AF300 002AC260 48 09 1B A9 */ bl __ct__6CTokenFRC6CToken +/* 802AF304 002AC264 38 61 00 08 */ addi r3, r1, 8 +/* 802AF308 002AC268 48 09 1B 05 */ bl GetObj__6CTokenFv +/* 802AF30C 002AC26C 80 63 00 04 */ lwz r3, 4(r3) +/* 802AF310 002AC270 7F E4 FB 78 */ mr r4, r31 +/* 802AF314 002AC274 48 00 31 BD */ bl GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 802AF318 002AC278 7C 7F 1B 78 */ mr r31, r3 +/* 802AF31C 002AC27C 38 61 00 08 */ addi r3, r1, 8 +/* 802AF320 002AC280 38 80 00 00 */ li r4, 0 +/* 802AF324 002AC284 48 09 1B 1D */ bl __dt__6CTokenFv +/* 802AF328 002AC288 7F E3 FB 78 */ mr r3, r31 +lbl_802AF32C: +/* 802AF32C 002AC28C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF330 002AC290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802AF334 002AC294 7C 08 03 A6 */ mtlr r0 +/* 802AF338 002AC298 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF33C 002AC29C 4E 80 00 20 */ blr + +.global CollisionOccured__17CProjectileWeaponF29EWeaponCollisionResponseTypesbbRC9CVector3fRC9CVector3fRC9CVector3f +CollisionOccured__17CProjectileWeaponF29EWeaponCollisionResponseTypesbbRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802AF340 002AC2A0 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802AF344 002AC2A4 7C 08 02 A6 */ mflr r0 +/* 802AF348 002AC2A8 90 01 01 54 */ stw r0, 0x154(r1) +/* 802AF34C 002AC2AC BF 21 01 34 */ stmw r25, 0x134(r1) +/* 802AF350 002AC2B0 7C 7D 1B 78 */ mr r29, r3 +/* 802AF354 002AC2B4 7C BF 2B 78 */ mr r31, r5 +/* 802AF358 002AC2B8 7C 9E 23 78 */ mr r30, r4 +/* 802AF35C 002AC2BC 7C D9 33 78 */ mr r25, r6 +/* 802AF360 002AC2C0 7C FA 3B 78 */ mr r26, r7 +/* 802AF364 002AC2C4 7D 3B 4B 78 */ mr r27, r9 +/* 802AF368 002AC2C8 7D 5C 53 78 */ mr r28, r10 +/* 802AF36C 002AC2CC 38 61 00 58 */ addi r3, r1, 0x58 +/* 802AF370 002AC2D0 38 A1 00 4C */ addi r5, r1, 0x4c +/* 802AF374 002AC2D4 C0 28 00 04 */ lfs f1, 4(r8) +/* 802AF378 002AC2D8 C0 04 00 78 */ lfs f0, 0x78(r4) +/* 802AF37C 002AC2DC C0 68 00 08 */ lfs f3, 8(r8) +/* 802AF380 002AC2E0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802AF384 002AC2E4 C0 44 00 7C */ lfs f2, 0x7c(r4) +/* 802AF388 002AC2E8 C0 04 00 74 */ lfs f0, 0x74(r4) +/* 802AF38C 002AC2EC 38 9E 00 14 */ addi r4, r30, 0x14 +/* 802AF390 002AC2F0 C0 28 00 00 */ lfs f1, 0(r8) +/* 802AF394 002AC2F4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802AF398 002AC2F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AF39C 002AC2FC D0 81 00 50 */ stfs f4, 0x50(r1) +/* 802AF3A0 002AC300 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 802AF3A4 002AC304 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802AF3A8 002AC308 48 06 36 7D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802AF3AC 002AC30C C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802AF3B0 002AC310 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802AF3B4 002AC314 C0 1E 00 8C */ lfs f0, 0x8c(r30) +/* 802AF3B8 002AC318 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802AF3BC 002AC31C C0 7E 00 90 */ lfs f3, 0x90(r30) +/* 802AF3C0 002AC320 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AF3C4 002AC324 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 802AF3C8 002AC328 C0 3E 00 94 */ lfs f1, 0x94(r30) +/* 802AF3CC 002AC32C EC 64 18 28 */ fsubs f3, f4, f3 +/* 802AF3D0 002AC330 D0 1E 00 80 */ stfs f0, 0x80(r30) +/* 802AF3D4 002AC334 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802AF3D8 002AC338 D0 7E 00 84 */ stfs f3, 0x84(r30) +/* 802AF3DC 002AC33C D0 1E 00 88 */ stfs f0, 0x88(r30) +/* 802AF3E0 002AC340 41 82 01 4C */ beq lbl_802AF52C +/* 802AF3E4 002AC344 7F C4 F3 78 */ mr r4, r30 +/* 802AF3E8 002AC348 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AF3EC 002AC34C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802AF3F0 002AC350 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AF3F4 002AC354 7D 89 03 A6 */ mtctr r12 +/* 802AF3F8 002AC358 4E 80 04 21 */ bctrl +/* 802AF3FC 002AC35C C0 3C 00 04 */ lfs f1, 4(r28) +/* 802AF400 002AC360 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802AF404 002AC364 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802AF408 002AC368 C0 7C 00 08 */ lfs f3, 8(r28) +/* 802AF40C 002AC36C EC 81 00 28 */ fsubs f4, f1, f0 +/* 802AF410 002AC370 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 802AF414 002AC374 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802AF418 002AC378 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802AF41C 002AC37C EC 43 10 28 */ fsubs f2, f3, f2 +/* 802AF420 002AC380 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802AF424 002AC384 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AF428 002AC388 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AF42C 002AC38C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802AF430 002AC390 41 82 00 4C */ beq lbl_802AF47C +/* 802AF434 002AC394 38 61 00 64 */ addi r3, r1, 0x64 +/* 802AF438 002AC398 48 06 52 C1 */ bl CanBeNormalized__9CVector3fCFv +/* 802AF43C 002AC39C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AF440 002AC3A0 41 82 00 3C */ beq lbl_802AF47C +/* 802AF444 002AC3A4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802AF448 002AC3A8 38 81 00 64 */ addi r4, r1, 0x64 +/* 802AF44C 002AC3AC 48 06 54 05 */ bl AsNormalized__9CVector3fCFv +/* 802AF450 002AC3B0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802AF454 002AC3B4 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 802AF458 002AC3B8 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802AF45C 002AC3BC 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 802AF460 002AC3C0 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802AF464 002AC3C4 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802AF468 002AC3C8 48 06 46 A9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AF46C 002AC3CC 7F C3 F3 78 */ mr r3, r30 +/* 802AF470 002AC3D0 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 802AF474 002AC3D4 48 00 10 31 */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f +/* 802AF478 002AC3D8 48 00 00 A8 */ b lbl_802AF520 +lbl_802AF47C: +/* 802AF47C 002AC3DC 7F C4 F3 78 */ mr r4, r30 +/* 802AF480 002AC3E0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802AF484 002AC3E4 48 00 11 55 */ bl GetTransform__17CProjectileWeaponFv +/* 802AF488 002AC3E8 C0 A1 00 B4 */ lfs f5, 0xb4(r1) +/* 802AF48C 002AC3EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802AF490 002AC3F0 C0 FB 00 04 */ lfs f7, 4(r27) +/* 802AF494 002AC3F4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802AF498 002AC3F8 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802AF49C 002AC3FC 7F 66 DB 78 */ mr r6, r27 +/* 802AF4A0 002AC400 EC 07 01 72 */ fmuls f0, f7, f5 +/* 802AF4A4 002AC404 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802AF4A8 002AC408 C0 C1 00 C4 */ lfs f6, 0xc4(r1) +/* 802AF4AC 002AC40C 38 61 00 70 */ addi r3, r1, 0x70 +/* 802AF4B0 002AC410 C1 1B 00 08 */ lfs f8, 8(r27) +/* 802AF4B4 002AC414 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802AF4B8 002AC418 EC 02 01 3A */ fmadds f0, f2, f4, f0 +/* 802AF4BC 002AC41C C0 22 C1 F4 */ lfs f1, lbl_805ADF14@sda21(r2) +/* 802AF4C0 002AC420 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802AF4C4 002AC424 EC 08 01 BA */ fmadds f0, f8, f6, f0 +/* 802AF4C8 002AC428 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802AF4CC 002AC42C D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 802AF4D0 002AC430 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AF4D4 002AC434 EC 60 00 B2 */ fmuls f3, f0, f2 +/* 802AF4D8 002AC438 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 802AF4DC 002AC43C EC 20 02 32 */ fmuls f1, f0, f8 +/* 802AF4E0 002AC440 EC 04 18 28 */ fsubs f0, f4, f3 +/* 802AF4E4 002AC444 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802AF4E8 002AC448 EC 85 10 28 */ fsubs f4, f5, f2 +/* 802AF4EC 002AC44C EC 66 08 28 */ fsubs f3, f6, f1 +/* 802AF4F0 002AC450 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802AF4F4 002AC454 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802AF4F8 002AC458 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802AF4FC 002AC45C D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802AF500 002AC460 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802AF504 002AC464 48 06 46 0D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AF508 002AC468 38 61 01 00 */ addi r3, r1, 0x100 +/* 802AF50C 002AC46C 38 81 00 70 */ addi r4, r1, 0x70 +/* 802AF510 002AC470 48 06 36 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF514 002AC474 7F C3 F3 78 */ mr r3, r30 +/* 802AF518 002AC478 38 81 01 00 */ addi r4, r1, 0x100 +/* 802AF51C 002AC47C 48 00 0F 89 */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f +lbl_802AF520: +/* 802AF520 002AC480 38 00 00 00 */ li r0, 0 +/* 802AF524 002AC484 98 1D 00 0C */ stb r0, 0xc(r29) +/* 802AF528 002AC488 48 00 01 04 */ b lbl_802AF62C +lbl_802AF52C: +/* 802AF52C 002AC48C 88 1E 01 24 */ lbz r0, 0x124(r30) +/* 802AF530 002AC490 38 60 00 00 */ li r3, 0 +/* 802AF534 002AC494 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802AF538 002AC498 98 1E 01 24 */ stb r0, 0x124(r30) +/* 802AF53C 002AC49C 80 7E 00 FC */ lwz r3, 0xfc(r30) +/* 802AF540 002AC4A0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF544 002AC4A4 41 82 00 18 */ beq lbl_802AF55C +/* 802AF548 002AC4A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF54C 002AC4AC 38 80 00 00 */ li r4, 0 +/* 802AF550 002AC4B0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF554 002AC4B4 7D 89 03 A6 */ mtctr r12 +/* 802AF558 002AC4B8 4E 80 04 21 */ bctrl +lbl_802AF55C: +/* 802AF55C 002AC4BC 80 7E 01 00 */ lwz r3, 0x100(r30) +/* 802AF560 002AC4C0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF564 002AC4C4 41 82 00 18 */ beq lbl_802AF57C +/* 802AF568 002AC4C8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF56C 002AC4CC 38 80 00 00 */ li r4, 0 +/* 802AF570 002AC4D0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF574 002AC4D4 7D 89 03 A6 */ mtctr r12 +/* 802AF578 002AC4D8 4E 80 04 21 */ bctrl +lbl_802AF57C: +/* 802AF57C 002AC4DC 80 7E 01 18 */ lwz r3, 0x118(r30) +/* 802AF580 002AC4E0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF584 002AC4E4 41 82 00 18 */ beq lbl_802AF59C +/* 802AF588 002AC4E8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF58C 002AC4EC 38 80 00 00 */ li r4, 0 +/* 802AF590 002AC4F0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF594 002AC4F4 7D 89 03 A6 */ mtctr r12 +/* 802AF598 002AC4F8 4E 80 04 21 */ bctrl +lbl_802AF59C: +/* 802AF59C 002AC4FC 80 7E 01 1C */ lwz r3, 0x11c(r30) +/* 802AF5A0 002AC500 28 03 00 00 */ cmplwi r3, 0 +/* 802AF5A4 002AC504 41 82 00 18 */ beq lbl_802AF5BC +/* 802AF5A8 002AC508 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF5AC 002AC50C 38 80 00 00 */ li r4, 0 +/* 802AF5B0 002AC510 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF5B4 002AC514 7D 89 03 A6 */ mtctr r12 +/* 802AF5B8 002AC518 4E 80 04 21 */ bctrl +lbl_802AF5BC: +/* 802AF5BC 002AC51C 80 7E 01 20 */ lwz r3, 0x120(r30) +/* 802AF5C0 002AC520 28 03 00 00 */ cmplwi r3, 0 +/* 802AF5C4 002AC524 41 82 00 18 */ beq lbl_802AF5DC +/* 802AF5C8 002AC528 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF5CC 002AC52C 38 80 00 00 */ li r4, 0 +/* 802AF5D0 002AC530 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF5D4 002AC534 7D 89 03 A6 */ mtctr r12 +/* 802AF5D8 002AC538 4E 80 04 21 */ bctrl +lbl_802AF5DC: +/* 802AF5DC 002AC53C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802AF5E0 002AC540 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF5E4 002AC544 28 00 00 00 */ cmplwi r0, 0 +/* 802AF5E8 002AC548 40 82 00 10 */ bne lbl_802AF5F8 +/* 802AF5EC 002AC54C 38 00 00 00 */ li r0, 0 +/* 802AF5F0 002AC550 98 1D 00 0C */ stb r0, 0xc(r29) +/* 802AF5F4 002AC554 48 00 00 38 */ b lbl_802AF62C +lbl_802AF5F8: +/* 802AF5F8 002AC558 38 61 00 08 */ addi r3, r1, 8 +/* 802AF5FC 002AC55C 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF600 002AC560 48 09 18 A9 */ bl __ct__6CTokenFRC6CToken +/* 802AF604 002AC564 38 61 00 08 */ addi r3, r1, 8 +/* 802AF608 002AC568 48 09 18 05 */ bl GetObj__6CTokenFv +/* 802AF60C 002AC56C 7C 64 1B 78 */ mr r4, r3 +/* 802AF610 002AC570 7F A3 EB 78 */ mr r3, r29 +/* 802AF614 002AC574 80 84 00 04 */ lwz r4, 4(r4) +/* 802AF618 002AC578 7F E5 FB 78 */ mr r5, r31 +/* 802AF61C 002AC57C 48 00 2F A5 */ bl GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 802AF620 002AC580 38 61 00 08 */ addi r3, r1, 8 +/* 802AF624 002AC584 38 80 00 00 */ li r4, 0 +/* 802AF628 002AC588 48 09 18 19 */ bl __dt__6CTokenFv +lbl_802AF62C: +/* 802AF62C 002AC58C BB 21 01 34 */ lmw r25, 0x134(r1) +/* 802AF630 002AC590 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802AF634 002AC594 7C 08 03 A6 */ mtlr r0 +/* 802AF638 002AC598 38 21 01 50 */ addi r1, r1, 0x150 +/* 802AF63C 002AC59C 4E 80 00 20 */ blr + +.global RenderParticles__17CProjectileWeaponCFv +RenderParticles__17CProjectileWeaponCFv: +/* 802AF640 002AC5A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AF644 002AC5A4 7C 08 02 A6 */ mflr r0 +/* 802AF648 002AC5A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AF64C 002AC5AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AF650 002AC5B0 7C 7F 1B 78 */ mr r31, r3 +/* 802AF654 002AC5B4 80 63 00 FC */ lwz r3, 0xfc(r3) +/* 802AF658 002AC5B8 28 03 00 00 */ cmplwi r3, 0 +/* 802AF65C 002AC5BC 41 82 00 14 */ beq lbl_802AF670 +/* 802AF660 002AC5C0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF664 002AC5C4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF668 002AC5C8 7D 89 03 A6 */ mtctr r12 +/* 802AF66C 002AC5CC 4E 80 04 21 */ bctrl +lbl_802AF670: +/* 802AF670 002AC5D0 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AF674 002AC5D4 28 03 00 00 */ cmplwi r3, 0 +/* 802AF678 002AC5D8 41 82 00 14 */ beq lbl_802AF68C +/* 802AF67C 002AC5DC 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF680 002AC5E0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF684 002AC5E4 7D 89 03 A6 */ mtctr r12 +/* 802AF688 002AC5E8 4E 80 04 21 */ bctrl +lbl_802AF68C: +/* 802AF68C 002AC5EC 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AF690 002AC5F0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF694 002AC5F4 41 82 00 14 */ beq lbl_802AF6A8 +/* 802AF698 002AC5F8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF69C 002AC5FC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6A0 002AC600 7D 89 03 A6 */ mtctr r12 +/* 802AF6A4 002AC604 4E 80 04 21 */ bctrl +lbl_802AF6A8: +/* 802AF6A8 002AC608 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AF6AC 002AC60C 28 03 00 00 */ cmplwi r3, 0 +/* 802AF6B0 002AC610 41 82 00 14 */ beq lbl_802AF6C4 +/* 802AF6B4 002AC614 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF6B8 002AC618 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6BC 002AC61C 7D 89 03 A6 */ mtctr r12 +/* 802AF6C0 002AC620 4E 80 04 21 */ bctrl +lbl_802AF6C4: +/* 802AF6C4 002AC624 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802AF6C8 002AC628 28 03 00 00 */ cmplwi r3, 0 +/* 802AF6CC 002AC62C 41 82 00 14 */ beq lbl_802AF6E0 +/* 802AF6D0 002AC630 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF6D4 002AC634 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6D8 002AC638 7D 89 03 A6 */ mtctr r12 +/* 802AF6DC 002AC63C 4E 80 04 21 */ bctrl +lbl_802AF6E0: +/* 802AF6E0 002AC640 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802AF6E4 002AC644 28 03 00 00 */ cmplwi r3, 0 +/* 802AF6E8 002AC648 41 82 00 14 */ beq lbl_802AF6FC +/* 802AF6EC 002AC64C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF6F0 002AC650 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6F4 002AC654 7D 89 03 A6 */ mtctr r12 +/* 802AF6F8 002AC658 4E 80 04 21 */ bctrl +lbl_802AF6FC: +/* 802AF6FC 002AC65C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AF700 002AC660 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AF704 002AC664 7C 08 03 A6 */ mtlr r0 +/* 802AF708 002AC668 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AF70C 002AC66C 4E 80 00 20 */ blr + +.global AddToRenderer__17CProjectileWeaponCFv +AddToRenderer__17CProjectileWeaponCFv: +/* 802AF710 002AC670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AF714 002AC674 7C 08 02 A6 */ mflr r0 +/* 802AF718 002AC678 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AF71C 002AC67C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AF720 002AC680 7C 7F 1B 78 */ mr r31, r3 +/* 802AF724 002AC684 80 83 00 FC */ lwz r4, 0xfc(r3) +/* 802AF728 002AC688 28 04 00 00 */ cmplwi r4, 0 +/* 802AF72C 002AC68C 41 82 00 18 */ beq lbl_802AF744 +/* 802AF730 002AC690 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF734 002AC694 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF738 002AC698 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF73C 002AC69C 7D 89 03 A6 */ mtctr r12 +/* 802AF740 002AC6A0 4E 80 04 21 */ bctrl +lbl_802AF744: +/* 802AF744 002AC6A4 80 9F 01 00 */ lwz r4, 0x100(r31) +/* 802AF748 002AC6A8 28 04 00 00 */ cmplwi r4, 0 +/* 802AF74C 002AC6AC 41 82 00 18 */ beq lbl_802AF764 +/* 802AF750 002AC6B0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF754 002AC6B4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF758 002AC6B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF75C 002AC6BC 7D 89 03 A6 */ mtctr r12 +/* 802AF760 002AC6C0 4E 80 04 21 */ bctrl +lbl_802AF764: +/* 802AF764 002AC6C4 80 9F 01 18 */ lwz r4, 0x118(r31) +/* 802AF768 002AC6C8 28 04 00 00 */ cmplwi r4, 0 +/* 802AF76C 002AC6CC 41 82 00 18 */ beq lbl_802AF784 +/* 802AF770 002AC6D0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF774 002AC6D4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF778 002AC6D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF77C 002AC6DC 7D 89 03 A6 */ mtctr r12 +/* 802AF780 002AC6E0 4E 80 04 21 */ bctrl +lbl_802AF784: +/* 802AF784 002AC6E4 80 9F 01 1C */ lwz r4, 0x11c(r31) +/* 802AF788 002AC6E8 28 04 00 00 */ cmplwi r4, 0 +/* 802AF78C 002AC6EC 41 82 00 18 */ beq lbl_802AF7A4 +/* 802AF790 002AC6F0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF794 002AC6F4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF798 002AC6F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF79C 002AC6FC 7D 89 03 A6 */ mtctr r12 +/* 802AF7A0 002AC700 4E 80 04 21 */ bctrl +lbl_802AF7A4: +/* 802AF7A4 002AC704 80 9F 01 20 */ lwz r4, 0x120(r31) +/* 802AF7A8 002AC708 28 04 00 00 */ cmplwi r4, 0 +/* 802AF7AC 002AC70C 41 82 00 18 */ beq lbl_802AF7C4 +/* 802AF7B0 002AC710 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF7B4 002AC714 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF7B8 002AC718 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF7BC 002AC71C 7D 89 03 A6 */ mtctr r12 +/* 802AF7C0 002AC720 4E 80 04 21 */ bctrl +lbl_802AF7C4: +/* 802AF7C4 002AC724 80 9F 01 04 */ lwz r4, 0x104(r31) +/* 802AF7C8 002AC728 28 04 00 00 */ cmplwi r4, 0 +/* 802AF7CC 002AC72C 41 82 00 18 */ beq lbl_802AF7E4 +/* 802AF7D0 002AC730 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF7D4 002AC734 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF7D8 002AC738 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF7DC 002AC73C 7D 89 03 A6 */ mtctr r12 +/* 802AF7E0 002AC740 4E 80 04 21 */ bctrl +lbl_802AF7E4: +/* 802AF7E4 002AC744 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AF7E8 002AC748 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AF7EC 002AC74C 7C 08 03 A6 */ mtlr r0 +/* 802AF7F0 002AC750 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AF7F4 002AC754 4E 80 00 20 */ blr + +.global Render__17CProjectileWeaponCFv +Render__17CProjectileWeaponCFv: +/* 802AF7F8 002AC758 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 802AF7FC 002AC75C 7C 08 02 A6 */ mflr r0 +/* 802AF800 002AC760 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 802AF804 002AC764 93 E1 02 BC */ stw r31, 0x2bc(r1) +/* 802AF808 002AC768 7C 7F 1B 78 */ mr r31, r3 +/* 802AF80C 002AC76C 80 63 00 F4 */ lwz r3, 0xf4(r3) +/* 802AF810 002AC770 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AF814 002AC774 7C 03 00 00 */ cmpw r3, r0 +/* 802AF818 002AC778 41 81 01 70 */ bgt lbl_802AF988 +/* 802AF81C 002AC77C 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AF820 002AC780 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802AF824 002AC784 41 82 01 64 */ beq lbl_802AF988 +/* 802AF828 002AC788 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 802AF82C 002AC78C 28 00 00 00 */ cmplwi r0, 0 +/* 802AF830 002AC790 41 82 01 58 */ beq lbl_802AF988 +/* 802AF834 002AC794 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AF838 002AC798 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802AF83C 002AC79C 38 BF 00 8C */ addi r5, r31, 0x8c +/* 802AF840 002AC7A0 48 06 32 A9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802AF844 002AC7A4 C0 7F 00 84 */ lfs f3, 0x84(r31) +/* 802AF848 002AC7A8 38 61 01 54 */ addi r3, r1, 0x154 +/* 802AF84C 002AC7AC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802AF850 002AC7B0 38 81 00 28 */ addi r4, r1, 0x28 +/* 802AF854 002AC7B4 C0 5F 00 88 */ lfs f2, 0x88(r31) +/* 802AF858 002AC7B8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802AF85C 002AC7BC EC 83 08 2A */ fadds f4, f3, f1 +/* 802AF860 002AC7C0 C0 3F 00 A8 */ lfs f1, 0xa8(r31) +/* 802AF864 002AC7C4 EC 62 00 2A */ fadds f3, f2, f0 +/* 802AF868 002AC7C8 C0 1F 00 AC */ lfs f0, 0xac(r31) +/* 802AF86C 002AC7CC EC C4 08 2A */ fadds f6, f4, f1 +/* 802AF870 002AC7D0 C0 5F 00 80 */ lfs f2, 0x80(r31) +/* 802AF874 002AC7D4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802AF878 002AC7D8 EC A3 00 2A */ fadds f5, f3, f0 +/* 802AF87C 002AC7DC EC 22 08 2A */ fadds f1, f2, f1 +/* 802AF880 002AC7E0 C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 802AF884 002AC7E4 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802AF888 002AC7E8 EC 01 00 2A */ fadds f0, f1, f0 +/* 802AF88C 002AC7EC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802AF890 002AC7F0 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802AF894 002AC7F4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802AF898 002AC7F8 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802AF89C 002AC7FC D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802AF8A0 002AC800 48 06 38 A1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802AF8A4 002AC804 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 802AF8A8 002AC808 38 81 01 54 */ addi r4, r1, 0x154 +/* 802AF8AC 002AC80C 48 06 32 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF8B0 002AC810 38 61 01 24 */ addi r3, r1, 0x124 +/* 802AF8B4 002AC814 38 9F 00 74 */ addi r4, r31, 0x74 +/* 802AF8B8 002AC818 48 06 38 89 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802AF8BC 002AC81C 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 802AF8C0 002AC820 38 81 01 24 */ addi r4, r1, 0x124 +/* 802AF8C4 002AC824 48 06 32 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF8C8 002AC828 C0 3F 00 98 */ lfs f1, 0x98(r31) +/* 802AF8CC 002AC82C 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802AF8D0 002AC830 C0 5F 00 9C */ lfs f2, 0x9c(r31) +/* 802AF8D4 002AC834 C0 7F 00 A0 */ lfs f3, 0xa0(r31) +/* 802AF8D8 002AC838 48 06 39 31 */ bl Scale__12CTransform4fFfff +/* 802AF8DC 002AC83C 38 61 01 84 */ addi r3, r1, 0x184 +/* 802AF8E0 002AC840 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802AF8E4 002AC844 48 06 32 91 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF8E8 002AC848 38 61 00 34 */ addi r3, r1, 0x34 +/* 802AF8EC 002AC84C 38 81 01 B4 */ addi r4, r1, 0x1b4 +/* 802AF8F0 002AC850 38 BF 00 14 */ addi r5, r31, 0x14 +/* 802AF8F4 002AC854 48 06 30 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF8F8 002AC858 38 61 00 64 */ addi r3, r1, 0x64 +/* 802AF8FC 002AC85C 38 81 00 34 */ addi r4, r1, 0x34 +/* 802AF900 002AC860 38 A1 01 E4 */ addi r5, r1, 0x1e4 +/* 802AF904 002AC864 48 06 30 4D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF908 002AC868 38 61 00 94 */ addi r3, r1, 0x94 +/* 802AF90C 002AC86C 38 81 00 64 */ addi r4, r1, 0x64 +/* 802AF910 002AC870 38 A1 01 84 */ addi r5, r1, 0x184 +/* 802AF914 002AC874 48 06 30 3D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF918 002AC878 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802AF91C 002AC87C 38 81 00 94 */ addi r4, r1, 0x94 +/* 802AF920 002AC880 38 BF 00 44 */ addi r5, r31, 0x44 +/* 802AF924 002AC884 48 06 30 2D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF928 002AC888 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802AF92C 002AC88C 48 05 CC B5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802AF930 002AC890 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802AF934 002AC894 38 61 02 14 */ addi r3, r1, 0x214 +/* 802AF938 002AC898 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802AF93C 002AC89C 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 802AF940 002AC8A0 48 05 6B 65 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +/* 802AF944 002AC8A4 38 61 02 64 */ addi r3, r1, 0x264 +/* 802AF948 002AC8A8 38 81 02 14 */ addi r4, r1, 0x214 +/* 802AF94C 002AC8AC 4B D8 BC 25 */ bl __ct__6CLightFCR6CLight +/* 802AF950 002AC8B0 C0 22 C1 F8 */ lfs f1, lbl_805ADF18@sda21(r2) +/* 802AF954 002AC8B4 38 80 00 00 */ li r4, 0 +/* 802AF958 002AC8B8 38 00 00 03 */ li r0, 3 +/* 802AF95C 002AC8BC 98 81 00 08 */ stb r4, 8(r1) +/* 802AF960 002AC8C0 FC 40 08 90 */ fmr f2, f1 +/* 802AF964 002AC8C4 38 61 00 0C */ addi r3, r1, 0xc +/* 802AF968 002AC8C8 FC 60 08 90 */ fmr f3, f1 +/* 802AF96C 002AC8CC 98 81 00 09 */ stb r4, 9(r1) +/* 802AF970 002AC8D0 FC 80 08 90 */ fmr f4, f1 +/* 802AF974 002AC8D4 B0 01 00 0A */ sth r0, 0xa(r1) +/* 802AF978 002AC8D8 48 0B 3A 75 */ bl __ct__6CColorFffff +/* 802AF97C 002AC8DC 80 7F 01 10 */ lwz r3, 0x110(r31) +/* 802AF980 002AC8E0 38 81 00 08 */ addi r4, r1, 8 +/* 802AF984 002AC8E4 48 0A 62 51 */ bl Draw__6CModelCFRC11CModelFlags +lbl_802AF988: +/* 802AF988 002AC8E8 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802AF98C 002AC8EC 83 E1 02 BC */ lwz r31, 0x2bc(r1) +/* 802AF990 002AC8F0 7C 08 03 A6 */ mtlr r0 +/* 802AF994 002AC8F4 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 802AF998 002AC8F8 4E 80 00 20 */ blr + +.global IsSystemDeletable__17CProjectileWeaponCFv +IsSystemDeletable__17CProjectileWeaponCFv: +/* 802AF99C 002AC8FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AF9A0 002AC900 7C 08 02 A6 */ mflr r0 +/* 802AF9A4 002AC904 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AF9A8 002AC908 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AF9AC 002AC90C 3B E0 00 01 */ li r31, 1 +/* 802AF9B0 002AC910 93 C1 00 08 */ stw r30, 8(r1) +/* 802AF9B4 002AC914 7C 7E 1B 78 */ mr r30, r3 +/* 802AF9B8 002AC918 80 63 00 FC */ lwz r3, 0xfc(r3) +/* 802AF9BC 002AC91C 28 03 00 00 */ cmplwi r3, 0 +/* 802AF9C0 002AC920 41 82 00 24 */ beq lbl_802AF9E4 +/* 802AF9C4 002AC924 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF9C8 002AC928 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AF9CC 002AC92C 7D 89 03 A6 */ mtctr r12 +/* 802AF9D0 002AC930 4E 80 04 21 */ bctrl +/* 802AF9D4 002AC934 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AF9D8 002AC938 40 82 00 0C */ bne lbl_802AF9E4 +/* 802AF9DC 002AC93C 3B E0 00 00 */ li r31, 0 +/* 802AF9E0 002AC940 48 00 01 04 */ b lbl_802AFAE4 +lbl_802AF9E4: +/* 802AF9E4 002AC944 80 7E 01 00 */ lwz r3, 0x100(r30) +/* 802AF9E8 002AC948 28 03 00 00 */ cmplwi r3, 0 +/* 802AF9EC 002AC94C 41 82 00 24 */ beq lbl_802AFA10 +/* 802AF9F0 002AC950 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF9F4 002AC954 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AF9F8 002AC958 7D 89 03 A6 */ mtctr r12 +/* 802AF9FC 002AC95C 4E 80 04 21 */ bctrl +/* 802AFA00 002AC960 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA04 002AC964 40 82 00 0C */ bne lbl_802AFA10 +/* 802AFA08 002AC968 3B E0 00 00 */ li r31, 0 +/* 802AFA0C 002AC96C 48 00 00 D8 */ b lbl_802AFAE4 +lbl_802AFA10: +/* 802AFA10 002AC970 80 7E 01 18 */ lwz r3, 0x118(r30) +/* 802AFA14 002AC974 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA18 002AC978 41 82 00 24 */ beq lbl_802AFA3C +/* 802AFA1C 002AC97C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFA20 002AC980 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFA24 002AC984 7D 89 03 A6 */ mtctr r12 +/* 802AFA28 002AC988 4E 80 04 21 */ bctrl +/* 802AFA2C 002AC98C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA30 002AC990 40 82 00 0C */ bne lbl_802AFA3C +/* 802AFA34 002AC994 3B E0 00 00 */ li r31, 0 +/* 802AFA38 002AC998 48 00 00 AC */ b lbl_802AFAE4 +lbl_802AFA3C: +/* 802AFA3C 002AC99C 80 7E 01 1C */ lwz r3, 0x11c(r30) +/* 802AFA40 002AC9A0 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA44 002AC9A4 41 82 00 24 */ beq lbl_802AFA68 +/* 802AFA48 002AC9A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFA4C 002AC9AC 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFA50 002AC9B0 7D 89 03 A6 */ mtctr r12 +/* 802AFA54 002AC9B4 4E 80 04 21 */ bctrl +/* 802AFA58 002AC9B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA5C 002AC9BC 40 82 00 0C */ bne lbl_802AFA68 +/* 802AFA60 002AC9C0 3B E0 00 00 */ li r31, 0 +/* 802AFA64 002AC9C4 48 00 00 80 */ b lbl_802AFAE4 +lbl_802AFA68: +/* 802AFA68 002AC9C8 80 7E 01 20 */ lwz r3, 0x120(r30) +/* 802AFA6C 002AC9CC 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA70 002AC9D0 41 82 00 24 */ beq lbl_802AFA94 +/* 802AFA74 002AC9D4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFA78 002AC9D8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFA7C 002AC9DC 7D 89 03 A6 */ mtctr r12 +/* 802AFA80 002AC9E0 4E 80 04 21 */ bctrl +/* 802AFA84 002AC9E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA88 002AC9E8 40 82 00 0C */ bne lbl_802AFA94 +/* 802AFA8C 002AC9EC 3B E0 00 00 */ li r31, 0 +/* 802AFA90 002AC9F0 48 00 00 54 */ b lbl_802AFAE4 +lbl_802AFA94: +/* 802AFA94 002AC9F4 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 802AFA98 002AC9F8 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA9C 002AC9FC 41 82 00 24 */ beq lbl_802AFAC0 +/* 802AFAA0 002ACA00 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFAA4 002ACA04 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFAA8 002ACA08 7D 89 03 A6 */ mtctr r12 +/* 802AFAAC 002ACA0C 4E 80 04 21 */ bctrl +/* 802AFAB0 002ACA10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFAB4 002ACA14 40 82 00 0C */ bne lbl_802AFAC0 +/* 802AFAB8 002ACA18 3B E0 00 00 */ li r31, 0 +/* 802AFABC 002ACA1C 48 00 00 28 */ b lbl_802AFAE4 +lbl_802AFAC0: +/* 802AFAC0 002ACA20 88 1E 01 24 */ lbz r0, 0x124(r30) +/* 802AFAC4 002ACA24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802AFAC8 002ACA28 41 82 00 1C */ beq lbl_802AFAE4 +/* 802AFACC 002ACA2C 80 BE 00 F4 */ lwz r5, 0xf4(r30) +/* 802AFAD0 002ACA30 80 1E 00 E8 */ lwz r0, 0xe8(r30) +/* 802AFAD4 002ACA34 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 802AFAD8 002ACA38 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802AFADC 002ACA3C 7C 00 28 10 */ subfc r0, r0, r5 +/* 802AFAE0 002ACA40 7F E4 19 14 */ adde r31, r4, r3 +lbl_802AFAE4: +/* 802AFAE4 002ACA44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AFAE8 002ACA48 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 802AFAEC 002ACA4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AFAF0 002ACA50 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AFAF4 002ACA54 7C 08 03 A6 */ mtlr r0 +/* 802AFAF8 002ACA58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AFAFC 002ACA5C 4E 80 00 20 */ blr + +.global UpdateChildParticleSystems__17CProjectileWeaponFf +UpdateChildParticleSystems__17CProjectileWeaponFf: +/* 802AFB00 002ACA60 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 802AFB04 002ACA64 7C 08 02 A6 */ mflr r0 +/* 802AFB08 002ACA68 90 01 01 94 */ stw r0, 0x194(r1) +/* 802AFB0C 002ACA6C DB E1 01 80 */ stfd f31, 0x180(r1) +/* 802AFB10 002ACA70 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 802AFB14 002ACA74 93 E1 01 7C */ stw r31, 0x17c(r1) +/* 802AFB18 002ACA78 C0 42 C1 FC */ lfs f2, lbl_805ADF1C@sda21(r2) +/* 802AFB1C 002ACA7C 7C 7F 1B 78 */ mr r31, r3 +/* 802AFB20 002ACA80 C8 02 C2 08 */ lfd f0, lbl_805ADF28@sda21(r2) +/* 802AFB24 002ACA84 EC 41 10 28 */ fsubs f2, f1, f2 +/* 802AFB28 002ACA88 FC 40 12 10 */ fabs f2, f2 +/* 802AFB2C 002ACA8C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802AFB30 002ACA90 40 80 00 0C */ bge lbl_802AFB3C +/* 802AFB34 002ACA94 CB E2 C2 00 */ lfd f31, lbl_805ADF20@sda21(r2) +/* 802AFB38 002ACA98 48 00 00 08 */ b lbl_802AFB40 +lbl_802AFB3C: +/* 802AFB3C 002ACA9C FF E0 08 90 */ fmr f31, f1 +lbl_802AFB40: +/* 802AFB40 002ACAA0 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFB44 002ACAA4 28 03 00 00 */ cmplwi r3, 0 +/* 802AFB48 002ACAA8 41 82 01 40 */ beq lbl_802AFC88 +/* 802AFB4C 002ACAAC 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFB50 002ACAB0 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFB54 002ACAB4 7C 00 20 00 */ cmpw r0, r4 +/* 802AFB58 002ACAB8 41 82 00 D0 */ beq lbl_802AFC28 +/* 802AFB5C 002ACABC 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFB60 002ACAC0 7C 04 00 00 */ cmpw r4, r0 +/* 802AFB64 002ACAC4 40 81 00 24 */ ble lbl_802AFB88 +/* 802AFB68 002ACAC8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFB6C 002ACACC 38 80 00 00 */ li r4, 0 +/* 802AFB70 002ACAD0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFB74 002ACAD4 7D 89 03 A6 */ mtctr r12 +/* 802AFB78 002ACAD8 4E 80 04 21 */ bctrl +/* 802AFB7C 002ACADC 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFB80 002ACAE0 48 06 CC 95 */ bl EndLifetime__11CElementGenFv +/* 802AFB84 002ACAE4 48 00 00 A4 */ b lbl_802AFC28 +lbl_802AFB88: +/* 802AFB88 002ACAE8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFB8C 002ACAEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802AFB90 002ACAF0 41 82 00 38 */ beq lbl_802AFBC8 +/* 802AFB94 002ACAF4 7F E4 FB 78 */ mr r4, r31 +/* 802AFB98 002ACAF8 38 61 00 74 */ addi r3, r1, 0x74 +/* 802AFB9C 002ACAFC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFBA0 002ACB00 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFBA4 002ACB04 7D 89 03 A6 */ mtctr r12 +/* 802AFBA8 002ACB08 4E 80 04 21 */ bctrl +/* 802AFBAC 002ACB0C 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFBB0 002ACB10 38 81 00 74 */ addi r4, r1, 0x74 +/* 802AFBB4 002ACB14 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFBB8 002ACB18 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFBBC 002ACB1C 7D 89 03 A6 */ mtctr r12 +/* 802AFBC0 002ACB20 4E 80 04 21 */ bctrl +/* 802AFBC4 002ACB24 48 00 00 34 */ b lbl_802AFBF8 +lbl_802AFBC8: +/* 802AFBC8 002ACB28 7F E4 FB 78 */ mr r4, r31 +/* 802AFBCC 002ACB2C 38 61 00 68 */ addi r3, r1, 0x68 +/* 802AFBD0 002ACB30 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFBD4 002ACB34 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFBD8 002ACB38 7D 89 03 A6 */ mtctr r12 +/* 802AFBDC 002ACB3C 4E 80 04 21 */ bctrl +/* 802AFBE0 002ACB40 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFBE4 002ACB44 38 81 00 68 */ addi r4, r1, 0x68 +/* 802AFBE8 002ACB48 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFBEC 002ACB4C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFBF0 002ACB50 7D 89 03 A6 */ mtctr r12 +/* 802AFBF4 002ACB54 4E 80 04 21 */ bctrl +lbl_802AFBF8: +/* 802AFBF8 002ACB58 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFBFC 002ACB5C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802AFC00 002ACB60 41 82 00 28 */ beq lbl_802AFC28 +/* 802AFC04 002ACB64 7F E4 FB 78 */ mr r4, r31 +/* 802AFC08 002ACB68 38 61 01 40 */ addi r3, r1, 0x140 +/* 802AFC0C 002ACB6C 48 00 09 CD */ bl GetTransform__17CProjectileWeaponFv +/* 802AFC10 002ACB70 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC14 002ACB74 38 81 01 40 */ addi r4, r1, 0x140 +/* 802AFC18 002ACB78 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC1C 002ACB7C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFC20 002ACB80 7D 89 03 A6 */ mtctr r12 +/* 802AFC24 002ACB84 4E 80 04 21 */ bctrl +lbl_802AFC28: +/* 802AFC28 002ACB88 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC2C 002ACB8C FC 20 F8 90 */ fmr f1, f31 +/* 802AFC30 002ACB90 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC34 002ACB94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AFC38 002ACB98 7D 89 03 A6 */ mtctr r12 +/* 802AFC3C 002ACB9C 4E 80 04 21 */ bctrl +/* 802AFC40 002ACBA0 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC44 002ACBA4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC48 002ACBA8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFC4C 002ACBAC 7D 89 03 A6 */ mtctr r12 +/* 802AFC50 002ACBB0 4E 80 04 21 */ bctrl +/* 802AFC54 002ACBB4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802AFC58 002ACBB8 28 00 00 01 */ cmplwi r0, 1 +/* 802AFC5C 002ACBBC 40 82 00 2C */ bne lbl_802AFC88 +/* 802AFC60 002ACBC0 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC64 002ACBC4 28 03 00 00 */ cmplwi r3, 0 +/* 802AFC68 002ACBC8 41 82 00 18 */ beq lbl_802AFC80 +/* 802AFC6C 002ACBCC 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC70 002ACBD0 38 80 00 01 */ li r4, 1 +/* 802AFC74 002ACBD4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802AFC78 002ACBD8 7D 89 03 A6 */ mtctr r12 +/* 802AFC7C 002ACBDC 4E 80 04 21 */ bctrl +lbl_802AFC80: +/* 802AFC80 002ACBE0 38 00 00 00 */ li r0, 0 +/* 802AFC84 002ACBE4 90 1F 00 FC */ stw r0, 0xfc(r31) +lbl_802AFC88: +/* 802AFC88 002ACBE8 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFC8C 002ACBEC 28 03 00 00 */ cmplwi r3, 0 +/* 802AFC90 002ACBF0 41 82 01 40 */ beq lbl_802AFDD0 +/* 802AFC94 002ACBF4 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFC98 002ACBF8 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFC9C 002ACBFC 7C 00 20 00 */ cmpw r0, r4 +/* 802AFCA0 002ACC00 41 82 00 D0 */ beq lbl_802AFD70 +/* 802AFCA4 002ACC04 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFCA8 002ACC08 7C 04 00 00 */ cmpw r4, r0 +/* 802AFCAC 002ACC0C 40 81 00 24 */ ble lbl_802AFCD0 +/* 802AFCB0 002ACC10 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFCB4 002ACC14 38 80 00 00 */ li r4, 0 +/* 802AFCB8 002ACC18 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFCBC 002ACC1C 7D 89 03 A6 */ mtctr r12 +/* 802AFCC0 002ACC20 4E 80 04 21 */ bctrl +/* 802AFCC4 002ACC24 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFCC8 002ACC28 48 06 CB 4D */ bl EndLifetime__11CElementGenFv +/* 802AFCCC 002ACC2C 48 00 00 A4 */ b lbl_802AFD70 +lbl_802AFCD0: +/* 802AFCD0 002ACC30 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFCD4 002ACC34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802AFCD8 002ACC38 41 82 00 38 */ beq lbl_802AFD10 +/* 802AFCDC 002ACC3C 7F E4 FB 78 */ mr r4, r31 +/* 802AFCE0 002ACC40 38 61 00 5C */ addi r3, r1, 0x5c +/* 802AFCE4 002ACC44 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFCE8 002ACC48 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFCEC 002ACC4C 7D 89 03 A6 */ mtctr r12 +/* 802AFCF0 002ACC50 4E 80 04 21 */ bctrl +/* 802AFCF4 002ACC54 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFCF8 002ACC58 38 81 00 5C */ addi r4, r1, 0x5c +/* 802AFCFC 002ACC5C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD00 002ACC60 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFD04 002ACC64 7D 89 03 A6 */ mtctr r12 +/* 802AFD08 002ACC68 4E 80 04 21 */ bctrl +/* 802AFD0C 002ACC6C 48 00 00 34 */ b lbl_802AFD40 +lbl_802AFD10: +/* 802AFD10 002ACC70 7F E4 FB 78 */ mr r4, r31 +/* 802AFD14 002ACC74 38 61 00 50 */ addi r3, r1, 0x50 +/* 802AFD18 002ACC78 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFD1C 002ACC7C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFD20 002ACC80 7D 89 03 A6 */ mtctr r12 +/* 802AFD24 002ACC84 4E 80 04 21 */ bctrl +/* 802AFD28 002ACC88 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD2C 002ACC8C 38 81 00 50 */ addi r4, r1, 0x50 +/* 802AFD30 002ACC90 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD34 002ACC94 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFD38 002ACC98 7D 89 03 A6 */ mtctr r12 +/* 802AFD3C 002ACC9C 4E 80 04 21 */ bctrl +lbl_802AFD40: +/* 802AFD40 002ACCA0 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFD44 002ACCA4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802AFD48 002ACCA8 41 82 00 28 */ beq lbl_802AFD70 +/* 802AFD4C 002ACCAC 7F E4 FB 78 */ mr r4, r31 +/* 802AFD50 002ACCB0 38 61 01 10 */ addi r3, r1, 0x110 +/* 802AFD54 002ACCB4 48 00 08 85 */ bl GetTransform__17CProjectileWeaponFv +/* 802AFD58 002ACCB8 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD5C 002ACCBC 38 81 01 10 */ addi r4, r1, 0x110 +/* 802AFD60 002ACCC0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD64 002ACCC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFD68 002ACCC8 7D 89 03 A6 */ mtctr r12 +/* 802AFD6C 002ACCCC 4E 80 04 21 */ bctrl +lbl_802AFD70: +/* 802AFD70 002ACCD0 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD74 002ACCD4 FC 20 F8 90 */ fmr f1, f31 +/* 802AFD78 002ACCD8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD7C 002ACCDC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AFD80 002ACCE0 7D 89 03 A6 */ mtctr r12 +/* 802AFD84 002ACCE4 4E 80 04 21 */ bctrl +/* 802AFD88 002ACCE8 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD8C 002ACCEC 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD90 002ACCF0 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFD94 002ACCF4 7D 89 03 A6 */ mtctr r12 +/* 802AFD98 002ACCF8 4E 80 04 21 */ bctrl +/* 802AFD9C 002ACCFC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802AFDA0 002ACD00 28 00 00 01 */ cmplwi r0, 1 +/* 802AFDA4 002ACD04 40 82 00 2C */ bne lbl_802AFDD0 +/* 802AFDA8 002ACD08 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFDAC 002ACD0C 28 03 00 00 */ cmplwi r3, 0 +/* 802AFDB0 002ACD10 41 82 00 18 */ beq lbl_802AFDC8 +/* 802AFDB4 002ACD14 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFDB8 002ACD18 38 80 00 01 */ li r4, 1 +/* 802AFDBC 002ACD1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802AFDC0 002ACD20 7D 89 03 A6 */ mtctr r12 +/* 802AFDC4 002ACD24 4E 80 04 21 */ bctrl +lbl_802AFDC8: +/* 802AFDC8 002ACD28 38 00 00 00 */ li r0, 0 +/* 802AFDCC 002ACD2C 90 1F 01 00 */ stw r0, 0x100(r31) +lbl_802AFDD0: +/* 802AFDD0 002ACD30 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFDD4 002ACD34 28 03 00 00 */ cmplwi r3, 0 +/* 802AFDD8 002ACD38 41 82 01 40 */ beq lbl_802AFF18 +/* 802AFDDC 002ACD3C 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFDE0 002ACD40 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFDE4 002ACD44 7C 00 20 00 */ cmpw r0, r4 +/* 802AFDE8 002ACD48 41 82 00 BC */ beq lbl_802AFEA4 +/* 802AFDEC 002ACD4C 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFDF0 002ACD50 7C 04 00 00 */ cmpw r4, r0 +/* 802AFDF4 002ACD54 40 81 00 1C */ ble lbl_802AFE10 +/* 802AFDF8 002ACD58 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFDFC 002ACD5C 38 80 00 00 */ li r4, 0 +/* 802AFE00 002ACD60 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFE04 002ACD64 7D 89 03 A6 */ mtctr r12 +/* 802AFE08 002ACD68 4E 80 04 21 */ bctrl +/* 802AFE0C 002ACD6C 48 00 00 98 */ b lbl_802AFEA4 +lbl_802AFE10: +/* 802AFE10 002ACD70 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFE14 002ACD74 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802AFE18 002ACD78 41 82 00 38 */ beq lbl_802AFE50 +/* 802AFE1C 002ACD7C 7F E4 FB 78 */ mr r4, r31 +/* 802AFE20 002ACD80 38 61 00 44 */ addi r3, r1, 0x44 +/* 802AFE24 002ACD84 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFE28 002ACD88 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFE2C 002ACD8C 7D 89 03 A6 */ mtctr r12 +/* 802AFE30 002ACD90 4E 80 04 21 */ bctrl +/* 802AFE34 002ACD94 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFE38 002ACD98 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AFE3C 002ACD9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFE40 002ACDA0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFE44 002ACDA4 7D 89 03 A6 */ mtctr r12 +/* 802AFE48 002ACDA8 4E 80 04 21 */ bctrl +/* 802AFE4C 002ACDAC 48 00 00 34 */ b lbl_802AFE80 +lbl_802AFE50: +/* 802AFE50 002ACDB0 7F E4 FB 78 */ mr r4, r31 +/* 802AFE54 002ACDB4 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AFE58 002ACDB8 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFE5C 002ACDBC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFE60 002ACDC0 7D 89 03 A6 */ mtctr r12 +/* 802AFE64 002ACDC4 4E 80 04 21 */ bctrl +/* 802AFE68 002ACDC8 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFE6C 002ACDCC 38 81 00 38 */ addi r4, r1, 0x38 +/* 802AFE70 002ACDD0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFE74 002ACDD4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFE78 002ACDD8 7D 89 03 A6 */ mtctr r12 +/* 802AFE7C 002ACDDC 4E 80 04 21 */ bctrl +lbl_802AFE80: +/* 802AFE80 002ACDE0 7F E4 FB 78 */ mr r4, r31 +/* 802AFE84 002ACDE4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802AFE88 002ACDE8 48 00 07 51 */ bl GetTransform__17CProjectileWeaponFv +/* 802AFE8C 002ACDEC 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFE90 002ACDF0 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802AFE94 002ACDF4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFE98 002ACDF8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFE9C 002ACDFC 7D 89 03 A6 */ mtctr r12 +/* 802AFEA0 002ACE00 4E 80 04 21 */ bctrl +lbl_802AFEA4: +/* 802AFEA4 002ACE04 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFEA8 002ACE08 38 80 00 01 */ li r4, 1 +/* 802AFEAC 002ACE0C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802AFEB0 002ACE10 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 802AFEB4 002ACE14 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802AFEB8 002ACE18 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 802AFEBC 002ACE1C 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFEC0 002ACE20 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFEC4 002ACE24 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AFEC8 002ACE28 7D 89 03 A6 */ mtctr r12 +/* 802AFECC 002ACE2C 4E 80 04 21 */ bctrl +/* 802AFED0 002ACE30 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFED4 002ACE34 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFED8 002ACE38 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFEDC 002ACE3C 7D 89 03 A6 */ mtctr r12 +/* 802AFEE0 002ACE40 4E 80 04 21 */ bctrl +/* 802AFEE4 002ACE44 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802AFEE8 002ACE48 28 00 00 01 */ cmplwi r0, 1 +/* 802AFEEC 002ACE4C 40 82 00 2C */ bne lbl_802AFF18 +/* 802AFEF0 002ACE50 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFEF4 002ACE54 28 03 00 00 */ cmplwi r3, 0 +/* 802AFEF8 002ACE58 41 82 00 18 */ beq lbl_802AFF10 +/* 802AFEFC 002ACE5C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFF00 002ACE60 38 80 00 01 */ li r4, 1 +/* 802AFF04 002ACE64 81 8C 00 08 */ lwz r12, 8(r12) +/* 802AFF08 002ACE68 7D 89 03 A6 */ mtctr r12 +/* 802AFF0C 002ACE6C 4E 80 04 21 */ bctrl +lbl_802AFF10: +/* 802AFF10 002ACE70 38 00 00 00 */ li r0, 0 +/* 802AFF14 002ACE74 90 1F 01 18 */ stw r0, 0x118(r31) +lbl_802AFF18: +/* 802AFF18 002ACE78 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFF1C 002ACE7C 28 03 00 00 */ cmplwi r3, 0 +/* 802AFF20 002ACE80 41 82 01 40 */ beq lbl_802B0060 +/* 802AFF24 002ACE84 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFF28 002ACE88 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFF2C 002ACE8C 7C 00 20 00 */ cmpw r0, r4 +/* 802AFF30 002ACE90 41 82 00 BC */ beq lbl_802AFFEC +/* 802AFF34 002ACE94 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFF38 002ACE98 7C 04 00 00 */ cmpw r4, r0 +/* 802AFF3C 002ACE9C 40 81 00 1C */ ble lbl_802AFF58 +/* 802AFF40 002ACEA0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFF44 002ACEA4 38 80 00 00 */ li r4, 0 +/* 802AFF48 002ACEA8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFF4C 002ACEAC 7D 89 03 A6 */ mtctr r12 +/* 802AFF50 002ACEB0 4E 80 04 21 */ bctrl +/* 802AFF54 002ACEB4 48 00 00 98 */ b lbl_802AFFEC +lbl_802AFF58: +/* 802AFF58 002ACEB8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFF5C 002ACEBC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 802AFF60 002ACEC0 41 82 00 38 */ beq lbl_802AFF98 +/* 802AFF64 002ACEC4 7F E4 FB 78 */ mr r4, r31 +/* 802AFF68 002ACEC8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AFF6C 002ACECC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFF70 002ACED0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFF74 002ACED4 7D 89 03 A6 */ mtctr r12 +/* 802AFF78 002ACED8 4E 80 04 21 */ bctrl +/* 802AFF7C 002ACEDC 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFF80 002ACEE0 38 81 00 2C */ addi r4, r1, 0x2c +/* 802AFF84 002ACEE4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFF88 002ACEE8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFF8C 002ACEEC 7D 89 03 A6 */ mtctr r12 +/* 802AFF90 002ACEF0 4E 80 04 21 */ bctrl +/* 802AFF94 002ACEF4 48 00 00 34 */ b lbl_802AFFC8 +lbl_802AFF98: +/* 802AFF98 002ACEF8 7F E4 FB 78 */ mr r4, r31 +/* 802AFF9C 002ACEFC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AFFA0 002ACF00 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFFA4 002ACF04 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFFA8 002ACF08 7D 89 03 A6 */ mtctr r12 +/* 802AFFAC 002ACF0C 4E 80 04 21 */ bctrl +/* 802AFFB0 002ACF10 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFFB4 002ACF14 38 81 00 20 */ addi r4, r1, 0x20 +/* 802AFFB8 002ACF18 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFFBC 002ACF1C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFFC0 002ACF20 7D 89 03 A6 */ mtctr r12 +/* 802AFFC4 002ACF24 4E 80 04 21 */ bctrl +lbl_802AFFC8: +/* 802AFFC8 002ACF28 7F E4 FB 78 */ mr r4, r31 +/* 802AFFCC 002ACF2C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802AFFD0 002ACF30 48 00 06 09 */ bl GetTransform__17CProjectileWeaponFv +/* 802AFFD4 002ACF34 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFFD8 002ACF38 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802AFFDC 002ACF3C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFFE0 002ACF40 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFFE4 002ACF44 7D 89 03 A6 */ mtctr r12 +/* 802AFFE8 002ACF48 4E 80 04 21 */ bctrl +lbl_802AFFEC: +/* 802AFFEC 002ACF4C 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFFF0 002ACF50 38 80 00 01 */ li r4, 1 +/* 802AFFF4 002ACF54 C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802AFFF8 002ACF58 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 802AFFFC 002ACF5C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802B0000 002ACF60 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 802B0004 002ACF64 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B0008 002ACF68 81 83 00 00 */ lwz r12, 0(r3) +/* 802B000C 002ACF6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0010 002ACF70 7D 89 03 A6 */ mtctr r12 +/* 802B0014 002ACF74 4E 80 04 21 */ bctrl +/* 802B0018 002ACF78 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B001C 002ACF7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0020 002ACF80 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802B0024 002ACF84 7D 89 03 A6 */ mtctr r12 +/* 802B0028 002ACF88 4E 80 04 21 */ bctrl +/* 802B002C 002ACF8C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B0030 002ACF90 28 00 00 01 */ cmplwi r0, 1 +/* 802B0034 002ACF94 40 82 00 2C */ bne lbl_802B0060 +/* 802B0038 002ACF98 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B003C 002ACF9C 28 03 00 00 */ cmplwi r3, 0 +/* 802B0040 002ACFA0 41 82 00 18 */ beq lbl_802B0058 +/* 802B0044 002ACFA4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0048 002ACFA8 38 80 00 01 */ li r4, 1 +/* 802B004C 002ACFAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0050 002ACFB0 7D 89 03 A6 */ mtctr r12 +/* 802B0054 002ACFB4 4E 80 04 21 */ bctrl +lbl_802B0058: +/* 802B0058 002ACFB8 38 00 00 00 */ li r0, 0 +/* 802B005C 002ACFBC 90 1F 01 1C */ stw r0, 0x11c(r31) +lbl_802B0060: +/* 802B0060 002ACFC0 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0064 002ACFC4 28 03 00 00 */ cmplwi r3, 0 +/* 802B0068 002ACFC8 41 82 01 40 */ beq lbl_802B01A8 +/* 802B006C 002ACFCC 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802B0070 002ACFD0 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0074 002ACFD4 7C 00 20 00 */ cmpw r0, r4 +/* 802B0078 002ACFD8 41 82 00 BC */ beq lbl_802B0134 +/* 802B007C 002ACFDC 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802B0080 002ACFE0 7C 04 00 00 */ cmpw r4, r0 +/* 802B0084 002ACFE4 40 81 00 1C */ ble lbl_802B00A0 +/* 802B0088 002ACFE8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B008C 002ACFEC 38 80 00 00 */ li r4, 0 +/* 802B0090 002ACFF0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802B0094 002ACFF4 7D 89 03 A6 */ mtctr r12 +/* 802B0098 002ACFF8 4E 80 04 21 */ bctrl +/* 802B009C 002ACFFC 48 00 00 98 */ b lbl_802B0134 +lbl_802B00A0: +/* 802B00A0 002AD000 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B00A4 002AD004 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 802B00A8 002AD008 41 82 00 38 */ beq lbl_802B00E0 +/* 802B00AC 002AD00C 7F E4 FB 78 */ mr r4, r31 +/* 802B00B0 002AD010 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B00B4 002AD014 81 9F 00 00 */ lwz r12, 0(r31) +/* 802B00B8 002AD018 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802B00BC 002AD01C 7D 89 03 A6 */ mtctr r12 +/* 802B00C0 002AD020 4E 80 04 21 */ bctrl +/* 802B00C4 002AD024 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B00C8 002AD028 38 81 00 14 */ addi r4, r1, 0x14 +/* 802B00CC 002AD02C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B00D0 002AD030 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802B00D4 002AD034 7D 89 03 A6 */ mtctr r12 +/* 802B00D8 002AD038 4E 80 04 21 */ bctrl +/* 802B00DC 002AD03C 48 00 00 34 */ b lbl_802B0110 +lbl_802B00E0: +/* 802B00E0 002AD040 7F E4 FB 78 */ mr r4, r31 +/* 802B00E4 002AD044 38 61 00 08 */ addi r3, r1, 8 +/* 802B00E8 002AD048 81 9F 00 00 */ lwz r12, 0(r31) +/* 802B00EC 002AD04C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802B00F0 002AD050 7D 89 03 A6 */ mtctr r12 +/* 802B00F4 002AD054 4E 80 04 21 */ bctrl +/* 802B00F8 002AD058 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B00FC 002AD05C 38 81 00 08 */ addi r4, r1, 8 +/* 802B0100 002AD060 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0104 002AD064 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802B0108 002AD068 7D 89 03 A6 */ mtctr r12 +/* 802B010C 002AD06C 4E 80 04 21 */ bctrl +lbl_802B0110: +/* 802B0110 002AD070 7F E4 FB 78 */ mr r4, r31 +/* 802B0114 002AD074 38 61 00 80 */ addi r3, r1, 0x80 +/* 802B0118 002AD078 48 00 04 C1 */ bl GetTransform__17CProjectileWeaponFv +/* 802B011C 002AD07C 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0120 002AD080 38 81 00 80 */ addi r4, r1, 0x80 +/* 802B0124 002AD084 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0128 002AD088 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802B012C 002AD08C 7D 89 03 A6 */ mtctr r12 +/* 802B0130 002AD090 4E 80 04 21 */ bctrl +lbl_802B0134: +/* 802B0134 002AD094 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0138 002AD098 38 80 00 01 */ li r4, 1 +/* 802B013C 002AD09C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802B0140 002AD0A0 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 802B0144 002AD0A4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802B0148 002AD0A8 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 802B014C 002AD0AC 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0150 002AD0B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0154 002AD0B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0158 002AD0B8 7D 89 03 A6 */ mtctr r12 +/* 802B015C 002AD0BC 4E 80 04 21 */ bctrl +/* 802B0160 002AD0C0 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0164 002AD0C4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0168 002AD0C8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802B016C 002AD0CC 7D 89 03 A6 */ mtctr r12 +/* 802B0170 002AD0D0 4E 80 04 21 */ bctrl +/* 802B0174 002AD0D4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B0178 002AD0D8 28 00 00 01 */ cmplwi r0, 1 +/* 802B017C 002AD0DC 40 82 00 2C */ bne lbl_802B01A8 +/* 802B0180 002AD0E0 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0184 002AD0E4 28 03 00 00 */ cmplwi r3, 0 +/* 802B0188 002AD0E8 41 82 00 18 */ beq lbl_802B01A0 +/* 802B018C 002AD0EC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0190 002AD0F0 38 80 00 01 */ li r4, 1 +/* 802B0194 002AD0F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0198 002AD0F8 7D 89 03 A6 */ mtctr r12 +/* 802B019C 002AD0FC 4E 80 04 21 */ bctrl +lbl_802B01A0: +/* 802B01A0 002AD100 38 00 00 00 */ li r0, 0 +/* 802B01A4 002AD104 90 1F 01 20 */ stw r0, 0x120(r31) +lbl_802B01A8: +/* 802B01A8 002AD108 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B01AC 002AD10C 28 03 00 00 */ cmplwi r3, 0 +/* 802B01B0 002AD110 41 82 00 60 */ beq lbl_802B0210 +/* 802B01B4 002AD114 81 83 00 00 */ lwz r12, 0(r3) +/* 802B01B8 002AD118 FC 20 F8 90 */ fmr f1, f31 +/* 802B01BC 002AD11C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B01C0 002AD120 7D 89 03 A6 */ mtctr r12 +/* 802B01C4 002AD124 4E 80 04 21 */ bctrl +/* 802B01C8 002AD128 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B01CC 002AD12C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B01D0 002AD130 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802B01D4 002AD134 7D 89 03 A6 */ mtctr r12 +/* 802B01D8 002AD138 4E 80 04 21 */ bctrl +/* 802B01DC 002AD13C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B01E0 002AD140 28 00 00 01 */ cmplwi r0, 1 +/* 802B01E4 002AD144 40 82 00 2C */ bne lbl_802B0210 +/* 802B01E8 002AD148 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B01EC 002AD14C 28 03 00 00 */ cmplwi r3, 0 +/* 802B01F0 002AD150 41 82 00 18 */ beq lbl_802B0208 +/* 802B01F4 002AD154 81 83 00 00 */ lwz r12, 0(r3) +/* 802B01F8 002AD158 38 80 00 01 */ li r4, 1 +/* 802B01FC 002AD15C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0200 002AD160 7D 89 03 A6 */ mtctr r12 +/* 802B0204 002AD164 4E 80 04 21 */ bctrl +lbl_802B0208: +/* 802B0208 002AD168 38 00 00 00 */ li r0, 0 +/* 802B020C 002AD16C 90 1F 01 04 */ stw r0, 0x104(r31) +lbl_802B0210: +/* 802B0210 002AD170 80 1F 00 F4 */ lwz r0, 0xf4(r31) +/* 802B0214 002AD174 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 802B0218 002AD178 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 802B021C 002AD17C 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802B0220 002AD180 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 802B0224 002AD184 83 E1 01 7C */ lwz r31, 0x17c(r1) +/* 802B0228 002AD188 7C 08 03 A6 */ mtlr r0 +/* 802B022C 002AD18C 38 21 01 90 */ addi r1, r1, 0x190 +/* 802B0230 002AD190 4E 80 00 20 */ blr + +.global UpdatePSTranslationAndOrientation__17CProjectileWeaponFv +UpdatePSTranslationAndOrientation__17CProjectileWeaponFv: +/* 802B0234 002AD194 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B0238 002AD198 7C 08 02 A6 */ mflr r0 +/* 802B023C 002AD19C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B0240 002AD1A0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B0244 002AD1A4 7C 7F 1B 78 */ mr r31, r3 +/* 802B0248 002AD1A8 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 802B024C 002AD1AC 80 83 00 F4 */ lwz r4, 0xf4(r3) +/* 802B0250 002AD1B0 7C 00 20 00 */ cmpw r0, r4 +/* 802B0254 002AD1B4 41 80 02 3C */ blt lbl_802B0490 +/* 802B0258 002AD1B8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B025C 002AD1BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B0260 002AD1C0 41 82 02 30 */ beq lbl_802B0490 +/* 802B0264 002AD1C4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0268 002AD1C8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802B026C 002AD1CC 28 03 00 00 */ cmplwi r3, 0 +/* 802B0270 002AD1D0 41 82 00 1C */ beq lbl_802B028C +/* 802B0274 002AD1D4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0278 002AD1D8 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 802B027C 002AD1DC 38 DF 00 80 */ addi r6, r31, 0x80 +/* 802B0280 002AD1E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0284 002AD1E4 7D 89 03 A6 */ mtctr r12 +/* 802B0288 002AD1E8 4E 80 04 21 */ bctrl +lbl_802B028C: +/* 802B028C 002AD1EC 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0290 002AD1F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B0294 002AD1F4 41 82 00 48 */ beq lbl_802B02DC +/* 802B0298 002AD1F8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B029C 002AD1FC 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802B02A0 002AD200 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 802B02A4 002AD204 48 06 28 45 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B02A8 002AD208 C0 3F 00 80 */ lfs f1, 0x80(r31) +/* 802B02AC 002AD20C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B02B0 002AD210 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02B4 002AD214 D0 1F 00 80 */ stfs f0, 0x80(r31) +/* 802B02B8 002AD218 C0 3F 00 84 */ lfs f1, 0x84(r31) +/* 802B02BC 002AD21C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B02C0 002AD220 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02C4 002AD224 D0 1F 00 84 */ stfs f0, 0x84(r31) +/* 802B02C8 002AD228 C0 3F 00 88 */ lfs f1, 0x88(r31) +/* 802B02CC 002AD22C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B02D0 002AD230 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02D4 002AD234 D0 1F 00 88 */ stfs f0, 0x88(r31) +/* 802B02D8 002AD238 48 00 00 34 */ b lbl_802B030C +lbl_802B02DC: +/* 802B02DC 002AD23C C0 3F 00 80 */ lfs f1, 0x80(r31) +/* 802B02E0 002AD240 C0 1F 00 B0 */ lfs f0, 0xb0(r31) +/* 802B02E4 002AD244 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02E8 002AD248 D0 1F 00 80 */ stfs f0, 0x80(r31) +/* 802B02EC 002AD24C C0 3F 00 84 */ lfs f1, 0x84(r31) +/* 802B02F0 002AD250 C0 1F 00 B4 */ lfs f0, 0xb4(r31) +/* 802B02F4 002AD254 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02F8 002AD258 D0 1F 00 84 */ stfs f0, 0x84(r31) +/* 802B02FC 002AD25C C0 3F 00 88 */ lfs f1, 0x88(r31) +/* 802B0300 002AD260 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802B0304 002AD264 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B0308 002AD268 D0 1F 00 88 */ stfs f0, 0x88(r31) +lbl_802B030C: +/* 802B030C 002AD26C C0 82 C1 FC */ lfs f4, lbl_805ADF1C@sda21(r2) +/* 802B0310 002AD270 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802B0314 002AD274 C0 7F 00 C0 */ lfs f3, 0xc0(r31) +/* 802B0318 002AD278 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802B031C 002AD27C C0 3F 00 B0 */ lfs f1, 0xb0(r31) +/* 802B0320 002AD280 C0 5F 00 C4 */ lfs f2, 0xc4(r31) +/* 802B0324 002AD284 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802B0328 002AD288 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B032C 002AD28C EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802B0330 002AD290 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 802B0334 002AD294 C0 1F 00 B4 */ lfs f0, 0xb4(r31) +/* 802B0338 002AD298 EC 00 18 2A */ fadds f0, f0, f3 +/* 802B033C 002AD29C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 802B0340 002AD2A0 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802B0344 002AD2A4 EC 00 08 2A */ fadds f0, f0, f1 +/* 802B0348 002AD2A8 D0 1F 00 B8 */ stfs f0, 0xb8(r31) +/* 802B034C 002AD2AC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0350 002AD2B0 80 63 00 08 */ lwz r3, 8(r3) +/* 802B0354 002AD2B4 28 03 00 00 */ cmplwi r3, 0 +/* 802B0358 002AD2B8 41 82 00 98 */ beq lbl_802B03F0 +/* 802B035C 002AD2BC C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0360 002AD2C0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802B0364 002AD2C4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802B0368 002AD2C8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802B036C 002AD2CC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802B0370 002AD2D0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0374 002AD2D4 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0378 002AD2D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B037C 002AD2DC 7D 89 03 A6 */ mtctr r12 +/* 802B0380 002AD2E0 4E 80 04 21 */ bctrl +/* 802B0384 002AD2E4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0388 002AD2E8 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802B038C 002AD2EC 48 06 27 E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0390 002AD2F0 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0394 002AD2F4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0398 002AD2F8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B039C 002AD2FC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B03A0 002AD300 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B03A4 002AD304 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B03A8 002AD308 48 06 33 4D */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 802B03AC 002AD30C C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B03B0 002AD310 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B03B4 002AD314 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802B03B8 002AD318 38 81 00 0C */ addi r4, r1, 0xc +/* 802B03BC 002AD31C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B03C0 002AD320 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B03C4 002AD324 48 06 32 15 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B03C8 002AD328 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B03CC 002AD32C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B03D0 002AD330 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802B03D4 002AD334 38 81 00 08 */ addi r4, r1, 8 +/* 802B03D8 002AD338 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B03DC 002AD33C D0 01 00 08 */ stfs f0, 8(r1) +/* 802B03E0 002AD340 48 06 30 DD */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 802B03E4 002AD344 7F E3 FB 78 */ mr r3, r31 +/* 802B03E8 002AD348 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B03EC 002AD34C 48 00 01 15 */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +lbl_802B03F0: +/* 802B03F0 002AD350 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B03F4 002AD354 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802B03F8 002AD358 28 03 00 00 */ cmplwi r3, 0 +/* 802B03FC 002AD35C 41 82 00 1C */ beq lbl_802B0418 +/* 802B0400 002AD360 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0404 002AD364 38 BF 00 98 */ addi r5, r31, 0x98 +/* 802B0408 002AD368 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B040C 002AD36C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0410 002AD370 7D 89 03 A6 */ mtctr r12 +/* 802B0414 002AD374 4E 80 04 21 */ bctrl +lbl_802B0418: +/* 802B0418 002AD378 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B041C 002AD37C 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802B0420 002AD380 28 03 00 00 */ cmplwi r3, 0 +/* 802B0424 002AD384 41 82 00 1C */ beq lbl_802B0440 +/* 802B0428 002AD388 81 83 00 00 */ lwz r12, 0(r3) +/* 802B042C 002AD38C 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 802B0430 002AD390 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0434 002AD394 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0438 002AD398 7D 89 03 A6 */ mtctr r12 +/* 802B043C 002AD39C 4E 80 04 21 */ bctrl +lbl_802B0440: +/* 802B0440 002AD3A0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0444 002AD3A4 80 63 00 20 */ lwz r3, 0x20(r3) +/* 802B0448 002AD3A8 28 03 00 00 */ cmplwi r3, 0 +/* 802B044C 002AD3AC 41 82 00 1C */ beq lbl_802B0468 +/* 802B0450 002AD3B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0454 002AD3B4 38 BF 00 A4 */ addi r5, r31, 0xa4 +/* 802B0458 002AD3B8 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B045C 002AD3BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0460 002AD3C0 7D 89 03 A6 */ mtctr r12 +/* 802B0464 002AD3C4 4E 80 04 21 */ bctrl +lbl_802B0468: +/* 802B0468 002AD3C8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B046C 002AD3CC 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802B0470 002AD3D0 28 03 00 00 */ cmplwi r3, 0 +/* 802B0474 002AD3D4 41 82 00 1C */ beq lbl_802B0490 +/* 802B0478 002AD3D8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B047C 002AD3DC 38 BF 00 8C */ addi r5, r31, 0x8c +/* 802B0480 002AD3E0 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0484 002AD3E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0488 002AD3E8 7D 89 03 A6 */ mtctr r12 +/* 802B048C 002AD3EC 4E 80 04 21 */ bctrl +lbl_802B0490: +/* 802B0490 002AD3F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B0494 002AD3F4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B0498 002AD3F8 7C 08 03 A6 */ mtlr r0 +/* 802B049C 002AD3FC 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B04A0 002AD400 4E 80 00 20 */ blr + +.global SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f +SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f: +/* 802B04A4 002AD404 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B04A8 002AD408 7C 08 02 A6 */ mflr r0 +/* 802B04AC 002AD40C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B04B0 002AD410 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B04B4 002AD414 7C 9F 23 78 */ mr r31, r4 +/* 802B04B8 002AD418 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802B04BC 002AD41C 7C 7E 1B 78 */ mr r30, r3 +/* 802B04C0 002AD420 38 61 00 08 */ addi r3, r1, 8 +/* 802B04C4 002AD424 38 9E 00 14 */ addi r4, r30, 0x14 +/* 802B04C8 002AD428 48 06 22 19 */ bl GetInverse__12CTransform4fCFv +/* 802B04CC 002AD42C 7F E5 FB 78 */ mr r5, r31 +/* 802B04D0 002AD430 38 61 00 38 */ addi r3, r1, 0x38 +/* 802B04D4 002AD434 38 81 00 08 */ addi r4, r1, 8 +/* 802B04D8 002AD438 48 06 24 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B04DC 002AD43C 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802B04E0 002AD440 38 81 00 38 */ addi r4, r1, 0x38 +/* 802B04E4 002AD444 48 06 26 5D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B04E8 002AD448 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B04EC 002AD44C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B04F0 002AD450 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802B04F4 002AD454 7C 08 03 A6 */ mtlr r0 +/* 802B04F8 002AD458 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B04FC 002AD45C 4E 80 00 20 */ blr + +.global SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f: +/* 802B0500 002AD460 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B0504 002AD464 7C 08 02 A6 */ mflr r0 +/* 802B0508 002AD468 38 63 00 44 */ addi r3, r3, 0x44 +/* 802B050C 002AD46C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B0510 002AD470 48 06 26 31 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B0514 002AD474 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0518 002AD478 7C 08 03 A6 */ mtlr r0 +/* 802B051C 002AD47C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B0520 002AD480 4E 80 00 20 */ blr + +.global GetTranslation__17CProjectileWeaponCFv +GetTranslation__17CProjectileWeaponCFv: +/* 802B0524 002AD484 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B0528 002AD488 7C 08 02 A6 */ mflr r0 +/* 802B052C 002AD48C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B0530 002AD490 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802B0534 002AD494 7C 9F 23 78 */ mr r31, r4 +/* 802B0538 002AD498 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802B053C 002AD49C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802B0540 002AD4A0 7C 7E 1B 78 */ mr r30, r3 +/* 802B0544 002AD4A4 38 61 00 08 */ addi r3, r1, 8 +/* 802B0548 002AD4A8 38 BF 00 8C */ addi r5, r31, 0x8c +/* 802B054C 002AD4AC 48 06 25 9D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B0550 002AD4B0 C0 3F 00 84 */ lfs f1, 0x84(r31) +/* 802B0554 002AD4B4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802B0558 002AD4B8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802B055C 002AD4BC 38 9F 00 14 */ addi r4, r31, 0x14 +/* 802B0560 002AD4C0 C0 7F 00 88 */ lfs f3, 0x88(r31) +/* 802B0564 002AD4C4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802B0568 002AD4C8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802B056C 002AD4CC EC 81 00 2A */ fadds f4, f1, f0 +/* 802B0570 002AD4D0 C0 3F 00 80 */ lfs f1, 0x80(r31) +/* 802B0574 002AD4D4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802B0578 002AD4D8 EC 43 10 2A */ fadds f2, f3, f2 +/* 802B057C 002AD4DC D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802B0580 002AD4E0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B0584 002AD4E4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802B0588 002AD4E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B058C 002AD4EC 48 06 25 5D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B0590 002AD4F0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802B0594 002AD4F4 C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 802B0598 002AD4F8 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802B059C 002AD4FC C0 7F 00 78 */ lfs f3, 0x78(r31) +/* 802B05A0 002AD500 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B05A4 002AD504 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802B05A8 002AD508 C0 3F 00 7C */ lfs f1, 0x7c(r31) +/* 802B05AC 002AD50C EC 64 18 2A */ fadds f3, f4, f3 +/* 802B05B0 002AD510 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802B05B4 002AD514 EC 02 08 2A */ fadds f0, f2, f1 +/* 802B05B8 002AD518 D0 7E 00 04 */ stfs f3, 4(r30) +/* 802B05BC 002AD51C D0 1E 00 08 */ stfs f0, 8(r30) +/* 802B05C0 002AD520 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802B05C4 002AD524 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B05C8 002AD528 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802B05CC 002AD52C 7C 08 03 A6 */ mtlr r0 +/* 802B05D0 002AD530 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B05D4 002AD534 4E 80 00 20 */ blr + +.global GetTransform__17CProjectileWeaponFv +GetTransform__17CProjectileWeaponFv: +/* 802B05D8 002AD538 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B05DC 002AD53C 7C 08 02 A6 */ mflr r0 +/* 802B05E0 002AD540 7C 85 23 78 */ mr r5, r4 +/* 802B05E4 002AD544 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B05E8 002AD548 38 85 00 14 */ addi r4, r5, 0x14 +/* 802B05EC 002AD54C 38 A5 00 44 */ addi r5, r5, 0x44 +/* 802B05F0 002AD550 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B05F4 002AD554 7C 7F 1B 78 */ mr r31, r3 +/* 802B05F8 002AD558 48 06 23 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B05FC 002AD55C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0600 002AD560 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B0604 002AD564 7C 08 03 A6 */ mtlr r0 +/* 802B0608 002AD568 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B060C 002AD56C 4E 80 00 20 */ blr + +.global GetTransform__17CProjectileWeaponCFv +GetTransform__17CProjectileWeaponCFv: +/* 802B0610 002AD570 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B0614 002AD574 7C 08 02 A6 */ mflr r0 +/* 802B0618 002AD578 7C 85 23 78 */ mr r5, r4 +/* 802B061C 002AD57C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B0620 002AD580 38 85 00 14 */ addi r4, r5, 0x14 +/* 802B0624 002AD584 38 A5 00 44 */ addi r5, r5, 0x44 +/* 802B0628 002AD588 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B062C 002AD58C 7C 7F 1B 78 */ mr r31, r3 +/* 802B0630 002AD590 48 06 23 21 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B0634 002AD594 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0638 002AD598 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B063C 002AD59C 7C 08 03 A6 */ mtlr r0 +/* 802B0640 002AD5A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B0644 002AD5A4 4E 80 00 20 */ blr + +.global UpdateParticleFX__17CProjectileWeaponFv +UpdateParticleFX__17CProjectileWeaponFv: +/* 802B0648 002AD5A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B064C 002AD5AC 7C 08 02 A6 */ mflr r0 +/* 802B0650 002AD5B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B0654 002AD5B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B0658 002AD5B8 3B E0 00 00 */ li r31, 0 +/* 802B065C 002AD5BC 93 C1 00 08 */ stw r30, 8(r1) +/* 802B0660 002AD5C0 7C 7E 1B 78 */ mr r30, r3 +/* 802B0664 002AD5C4 48 00 00 14 */ b lbl_802B0678 +lbl_802B0668: +/* 802B0668 002AD5C8 C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) +/* 802B066C 002AD5CC 7F C3 F3 78 */ mr r3, r30 +/* 802B0670 002AD5D0 4B FF F4 91 */ bl UpdateChildParticleSystems__17CProjectileWeaponFf +/* 802B0674 002AD5D4 3B FF 00 01 */ addi r31, r31, 1 +lbl_802B0678: +/* 802B0678 002AD5D8 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 802B067C 002AD5DC 7C 1F 00 00 */ cmpw r31, r0 +/* 802B0680 002AD5E0 41 80 FF E8 */ blt lbl_802B0668 +/* 802B0684 002AD5E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0688 002AD5E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B068C 002AD5EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B0690 002AD5F0 7C 08 03 A6 */ mtlr r0 +/* 802B0694 002AD5F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B0698 002AD5F8 4E 80 00 20 */ blr + +.global Update__17CProjectileWeaponFf +Update__17CProjectileWeaponFf: +/* 802B069C 002AD5FC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802B06A0 002AD600 7C 08 02 A6 */ mflr r0 +/* 802B06A4 002AD604 90 01 00 64 */ stw r0, 0x64(r1) +/* 802B06A8 002AD608 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802B06AC 002AD60C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802B06B0 002AD610 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802B06B4 002AD614 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802B06B8 002AD618 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802B06BC 002AD61C F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802B06C0 002AD620 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B06C4 002AD624 FF C0 08 90 */ fmr f30, f1 +/* 802B06C8 002AD628 7C 7F 1B 78 */ mr r31, r3 +/* 802B06CC 002AD62C 38 61 00 08 */ addi r3, r1, 8 +/* 802B06D0 002AD630 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802B06D4 002AD634 48 06 1F AD */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B06D8 002AD638 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B06DC 002AD63C 3C 60 43 30 */ lis r3, 0x4330 +/* 802B06E0 002AD640 C0 02 C1 FC */ lfs f0, lbl_805ADF1C@sda21(r2) +/* 802B06E4 002AD644 38 00 00 00 */ li r0, 0 +/* 802B06E8 002AD648 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802B06EC 002AD64C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B06F0 002AD650 EC 1E 00 28 */ fsubs f0, f30, f0 +/* 802B06F4 002AD654 C8 42 C2 38 */ lfd f2, lbl_805ADF58@sda21(r2) +/* 802B06F8 002AD658 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802B06FC 002AD65C C8 62 C2 00 */ lfd f3, lbl_805ADF20@sda21(r2) +/* 802B0700 002AD660 C8 21 00 18 */ lfd f1, 0x18(r1) +/* 802B0704 002AD664 FC 80 02 10 */ fabs f4, f0 +/* 802B0708 002AD668 C8 02 C2 08 */ lfd f0, lbl_805ADF28@sda21(r2) +/* 802B070C 002AD66C FC 21 10 28 */ fsub f1, f1, f2 +/* 802B0710 002AD670 90 1F 00 EC */ stw r0, 0xec(r31) +/* 802B0714 002AD674 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802B0718 002AD678 FF A3 00 72 */ fmul f29, f3, f1 +/* 802B071C 002AD67C 40 80 00 0C */ bge lbl_802B0728 +/* 802B0720 002AD680 FC 40 18 90 */ fmr f2, f3 +/* 802B0724 002AD684 48 00 00 08 */ b lbl_802B072C +lbl_802B0728: +/* 802B0728 002AD688 FC 40 F0 90 */ fmr f2, f30 +lbl_802B072C: +/* 802B072C 002AD68C C8 22 C2 20 */ lfd f1, lbl_805ADF40@sda21(r2) +/* 802B0730 002AD690 C8 02 C2 10 */ lfd f0, lbl_805ADF30@sda21(r2) +/* 802B0734 002AD694 FC 42 00 72 */ fmul f2, f2, f1 +/* 802B0738 002AD698 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802B073C 002AD69C 40 80 00 08 */ bge lbl_802B0744 +/* 802B0740 002AD6A0 FC 40 00 90 */ fmr f2, f0 +lbl_802B0744: +/* 802B0744 002AD6A4 C8 1F 00 D0 */ lfd f0, 0xd0(r31) +/* 802B0748 002AD6A8 CB E2 C2 30 */ lfd f31, lbl_805ADF50@sda21(r2) +/* 802B074C 002AD6AC FC 00 10 2A */ fadd f0, f0, f2 +/* 802B0750 002AD6B0 CB C2 C2 28 */ lfd f30, lbl_805ADF48@sda21(r2) +/* 802B0754 002AD6B4 D8 1F 00 D0 */ stfd f0, 0xd0(r31) +/* 802B0758 002AD6B8 48 00 00 4C */ b lbl_802B07A4 +lbl_802B075C: +/* 802B075C 002AD6BC 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B0760 002AD6C0 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802B0764 002AD6C4 7C 03 00 00 */ cmpw r3, r0 +/* 802B0768 002AD6C8 40 80 00 20 */ bge lbl_802B0788 +/* 802B076C 002AD6CC 48 07 9F DD */ bl SetEmitterTime__16CParticleGlobalsFi +/* 802B0770 002AD6D0 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 802B0774 002AD6D4 48 07 A0 05 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B0778 002AD6D8 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B077C 002AD6DC 48 07 9F 01 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B0780 002AD6E0 7F E3 FB 78 */ mr r3, r31 +/* 802B0784 002AD6E4 4B FF FA B1 */ bl UpdatePSTranslationAndOrientation__17CProjectileWeaponFv +lbl_802B0788: +/* 802B0788 002AD6E8 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B078C 002AD6EC FF BD F0 2A */ fadd f29, f29, f30 +/* 802B0790 002AD6F0 38 03 00 01 */ addi r0, r3, 1 +/* 802B0794 002AD6F4 90 1F 00 F4 */ stw r0, 0xf4(r31) +/* 802B0798 002AD6F8 80 7F 00 EC */ lwz r3, 0xec(r31) +/* 802B079C 002AD6FC 38 03 00 01 */ addi r0, r3, 1 +/* 802B07A0 002AD700 90 1F 00 EC */ stw r0, 0xec(r31) +lbl_802B07A4: +/* 802B07A4 002AD704 C8 1F 00 D0 */ lfd f0, 0xd0(r31) +/* 802B07A8 002AD708 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802B07AC 002AD70C 40 80 00 14 */ bge lbl_802B07C0 +/* 802B07B0 002AD710 FC 1D 00 28 */ fsub f0, f29, f0 +/* 802B07B4 002AD714 FC 00 02 10 */ fabs f0, f0 +/* 802B07B8 002AD718 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802B07BC 002AD71C 40 80 FF A0 */ bge lbl_802B075C +lbl_802B07C0: +/* 802B07C0 002AD720 C8 3F 00 D0 */ lfd f1, 0xd0(r31) +/* 802B07C4 002AD724 C8 02 C2 30 */ lfd f0, lbl_805ADF50@sda21(r2) +/* 802B07C8 002AD728 FC 3D 08 28 */ fsub f1, f29, f1 +/* 802B07CC 002AD72C FC 20 0A 10 */ fabs f1, f1 +/* 802B07D0 002AD730 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B07D4 002AD734 40 80 00 08 */ bge lbl_802B07DC +/* 802B07D8 002AD738 DB BF 00 D0 */ stfd f29, 0xd0(r31) +lbl_802B07DC: +/* 802B07DC 002AD73C C8 3F 00 D0 */ lfd f1, 0xd0(r31) +/* 802B07E0 002AD740 C8 02 C2 00 */ lfd f0, lbl_805ADF20@sda21(r2) +/* 802B07E4 002AD744 FC 3D 08 28 */ fsub f1, f29, f1 +/* 802B07E8 002AD748 FC 01 00 24 */ fdiv f0, f1, f0 +/* 802B07EC 002AD74C FC 00 00 18 */ frsp f0, f0 +/* 802B07F0 002AD750 D8 1F 00 D8 */ stfd f0, 0xd8(r31) +/* 802B07F4 002AD754 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B07F8 002AD758 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802B07FC 002AD75C 7C 03 00 00 */ cmpw r3, r0 +/* 802B0800 002AD760 40 80 00 34 */ bge lbl_802B0834 +/* 802B0804 002AD764 C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0808 002AD768 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 802B080C 002AD76C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0810 002AD770 80 63 00 30 */ lwz r3, 0x30(r3) +/* 802B0814 002AD774 28 03 00 00 */ cmplwi r3, 0 +/* 802B0818 002AD778 41 82 00 1C */ beq lbl_802B0834 +/* 802B081C 002AD77C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0820 002AD780 38 BF 00 E0 */ addi r5, r31, 0xe0 +/* 802B0824 002AD784 38 80 00 00 */ li r4, 0 +/* 802B0828 002AD788 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B082C 002AD78C 7D 89 03 A6 */ mtctr r12 +/* 802B0830 002AD790 4E 80 04 21 */ bctrl +lbl_802B0834: +/* 802B0834 002AD794 38 61 00 08 */ addi r3, r1, 8 +/* 802B0838 002AD798 38 80 FF FF */ li r4, -1 +/* 802B083C 002AD79C 48 06 1D C9 */ bl __dt__13CGlobalRandomFv +/* 802B0840 002AD7A0 38 60 00 00 */ li r3, 0 +/* 802B0844 002AD7A4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802B0848 002AD7A8 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802B084C 002AD7AC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802B0850 002AD7B0 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802B0854 002AD7B4 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802B0858 002AD7B8 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802B085C 002AD7BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802B0860 002AD7C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B0864 002AD7C4 7C 08 03 A6 */ mtlr r0 +/* 802B0868 002AD7C8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802B086C 002AD7CC 4E 80 00 20 */ blr + +.global __dt__17CProjectileWeaponFv +__dt__17CProjectileWeaponFv: +/* 802B0870 002AD7D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B0874 002AD7D4 7C 08 02 A6 */ mflr r0 +/* 802B0878 002AD7D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B087C 002AD7DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B0880 002AD7E0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B0884 002AD7E4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B0888 002AD7E8 7C 9E 23 78 */ mr r30, r4 +/* 802B088C 002AD7EC 41 82 01 44 */ beq lbl_802B09D0 +/* 802B0890 002AD7F0 3C 60 80 3F */ lis r3, lbl_803EC4C8@ha +/* 802B0894 002AD7F4 38 03 C4 C8 */ addi r0, r3, lbl_803EC4C8@l +/* 802B0898 002AD7F8 90 1F 00 00 */ stw r0, 0(r31) +/* 802B089C 002AD7FC 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802B08A0 002AD800 28 03 00 00 */ cmplwi r3, 0 +/* 802B08A4 002AD804 41 82 00 18 */ beq lbl_802B08BC +/* 802B08A8 002AD808 81 83 00 00 */ lwz r12, 0(r3) +/* 802B08AC 002AD80C 38 80 00 01 */ li r4, 1 +/* 802B08B0 002AD810 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B08B4 002AD814 7D 89 03 A6 */ mtctr r12 +/* 802B08B8 002AD818 4E 80 04 21 */ bctrl +lbl_802B08BC: +/* 802B08BC 002AD81C 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802B08C0 002AD820 28 03 00 00 */ cmplwi r3, 0 +/* 802B08C4 002AD824 41 82 00 18 */ beq lbl_802B08DC +/* 802B08C8 002AD828 81 83 00 00 */ lwz r12, 0(r3) +/* 802B08CC 002AD82C 38 80 00 01 */ li r4, 1 +/* 802B08D0 002AD830 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B08D4 002AD834 7D 89 03 A6 */ mtctr r12 +/* 802B08D8 002AD838 4E 80 04 21 */ bctrl +lbl_802B08DC: +/* 802B08DC 002AD83C 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B08E0 002AD840 28 03 00 00 */ cmplwi r3, 0 +/* 802B08E4 002AD844 41 82 00 18 */ beq lbl_802B08FC +/* 802B08E8 002AD848 81 83 00 00 */ lwz r12, 0(r3) +/* 802B08EC 002AD84C 38 80 00 01 */ li r4, 1 +/* 802B08F0 002AD850 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B08F4 002AD854 7D 89 03 A6 */ mtctr r12 +/* 802B08F8 002AD858 4E 80 04 21 */ bctrl +lbl_802B08FC: +/* 802B08FC 002AD85C 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802B0900 002AD860 28 03 00 00 */ cmplwi r3, 0 +/* 802B0904 002AD864 41 82 00 18 */ beq lbl_802B091C +/* 802B0908 002AD868 81 83 00 00 */ lwz r12, 0(r3) +/* 802B090C 002AD86C 38 80 00 01 */ li r4, 1 +/* 802B0910 002AD870 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0914 002AD874 7D 89 03 A6 */ mtctr r12 +/* 802B0918 002AD878 4E 80 04 21 */ bctrl +lbl_802B091C: +/* 802B091C 002AD87C 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B0920 002AD880 28 03 00 00 */ cmplwi r3, 0 +/* 802B0924 002AD884 41 82 00 18 */ beq lbl_802B093C +/* 802B0928 002AD888 81 83 00 00 */ lwz r12, 0(r3) +/* 802B092C 002AD88C 38 80 00 01 */ li r4, 1 +/* 802B0930 002AD890 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0934 002AD894 7D 89 03 A6 */ mtctr r12 +/* 802B0938 002AD898 4E 80 04 21 */ bctrl +lbl_802B093C: +/* 802B093C 002AD89C 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0940 002AD8A0 28 03 00 00 */ cmplwi r3, 0 +/* 802B0944 002AD8A4 41 82 00 18 */ beq lbl_802B095C +/* 802B0948 002AD8A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B094C 002AD8AC 38 80 00 01 */ li r4, 1 +/* 802B0950 002AD8B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0954 002AD8B4 7D 89 03 A6 */ mtctr r12 +/* 802B0958 002AD8B8 4E 80 04 21 */ bctrl +lbl_802B095C: +/* 802B095C 002AD8BC 34 1F 01 08 */ addic. r0, r31, 0x108 +/* 802B0960 002AD8C0 41 82 00 30 */ beq lbl_802B0990 +/* 802B0964 002AD8C4 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 802B0968 002AD8C8 28 00 00 00 */ cmplwi r0, 0 +/* 802B096C 002AD8CC 41 82 00 1C */ beq lbl_802B0988 +/* 802B0970 002AD8D0 34 7F 01 08 */ addic. r3, r31, 0x108 +/* 802B0974 002AD8D4 41 82 00 14 */ beq lbl_802B0988 +/* 802B0978 002AD8D8 28 03 00 00 */ cmplwi r3, 0 +/* 802B097C 002AD8DC 41 82 00 0C */ beq lbl_802B0988 +/* 802B0980 002AD8E0 38 80 00 00 */ li r4, 0 +/* 802B0984 002AD8E4 48 09 04 BD */ bl __dt__6CTokenFv +lbl_802B0988: +/* 802B0988 002AD8E8 38 00 00 00 */ li r0, 0 +/* 802B098C 002AD8EC 98 1F 01 14 */ stb r0, 0x114(r31) +lbl_802B0990: +/* 802B0990 002AD8F0 34 1F 00 04 */ addic. r0, r31, 4 +/* 802B0994 002AD8F4 41 82 00 18 */ beq lbl_802B09AC +/* 802B0998 002AD8F8 34 1F 00 04 */ addic. r0, r31, 4 +/* 802B099C 002AD8FC 41 82 00 10 */ beq lbl_802B09AC +/* 802B09A0 002AD900 38 7F 00 04 */ addi r3, r31, 4 +/* 802B09A4 002AD904 38 80 00 00 */ li r4, 0 +/* 802B09A8 002AD908 48 09 04 99 */ bl __dt__6CTokenFv +lbl_802B09AC: +/* 802B09AC 002AD90C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B09B0 002AD910 41 82 00 10 */ beq lbl_802B09C0 +/* 802B09B4 002AD914 3C 60 80 3F */ lis r3, lbl_803EC4E8@ha +/* 802B09B8 002AD918 38 03 C4 E8 */ addi r0, r3, lbl_803EC4E8@l +/* 802B09BC 002AD91C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B09C0: +/* 802B09C0 002AD920 7F C0 07 35 */ extsh. r0, r30 +/* 802B09C4 002AD924 40 81 00 0C */ ble lbl_802B09D0 +/* 802B09C8 002AD928 7F E3 FB 78 */ mr r3, r31 +/* 802B09CC 002AD92C 48 06 4F 65 */ bl Free__7CMemoryFPCv +lbl_802B09D0: +/* 802B09D0 002AD930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B09D4 002AD934 7F E3 FB 78 */ mr r3, r31 +/* 802B09D8 002AD938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B09DC 002AD93C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B09E0 002AD940 7C 08 03 A6 */ mtlr r0 +/* 802B09E4 002AD944 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B09E8 002AD948 4E 80 00 20 */ blr + +.global "__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f" +"__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f": +/* 802B09EC 002AD94C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802B09F0 002AD950 7C 08 02 A6 */ mflr r0 +/* 802B09F4 002AD954 3D 20 80 3F */ lis r9, lbl_803EC4E8@ha +/* 802B09F8 002AD958 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802B09FC 002AD95C 38 09 C4 E8 */ addi r0, r9, lbl_803EC4E8@l +/* 802B0A00 002AD960 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 802B0A04 002AD964 7C 7F 1B 78 */ mr r31, r3 +/* 802B0A08 002AD968 3C 60 80 3F */ lis r3, lbl_803EC4C8@ha +/* 802B0A0C 002AD96C 7C BB 2B 78 */ mr r27, r5 +/* 802B0A10 002AD970 3B 5F 00 04 */ addi r26, r31, 4 +/* 802B0A14 002AD974 7C DD 33 78 */ mr r29, r6 +/* 802B0A18 002AD978 7C FE 3B 78 */ mr r30, r7 +/* 802B0A1C 002AD97C 7D 1C 43 78 */ mr r28, r8 +/* 802B0A20 002AD980 90 1F 00 00 */ stw r0, 0(r31) +/* 802B0A24 002AD984 38 03 C4 C8 */ addi r0, r3, lbl_803EC4C8@l +/* 802B0A28 002AD988 7F 43 D3 78 */ mr r3, r26 +/* 802B0A2C 002AD98C 90 1F 00 00 */ stw r0, 0(r31) +/* 802B0A30 002AD990 48 09 04 79 */ bl __ct__6CTokenFRC6CToken +/* 802B0A34 002AD994 7F 43 D3 78 */ mr r3, r26 +/* 802B0A38 002AD998 48 09 03 D5 */ bl GetObj__6CTokenFv +/* 802B0A3C 002AD99C 80 03 00 04 */ lwz r0, 4(r3) +/* 802B0A40 002AD9A0 38 7F 00 10 */ addi r3, r31, 0x10 +/* 802B0A44 002AD9A4 90 1A 00 08 */ stw r0, 8(r26) +/* 802B0A48 002AD9A8 80 8D 9A 88 */ lwz r4, lbl_805A8648@sda21(r13) +/* 802B0A4C 002AD9AC 48 06 1B A1 */ bl __ct__9CRandom16FUi +/* 802B0A50 002AD9B0 7F A4 EB 78 */ mr r4, r29 +/* 802B0A54 002AD9B4 38 7F 00 14 */ addi r3, r31, 0x14 +/* 802B0A58 002AD9B8 48 06 21 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0A5C 002AD9BC 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B0A60 002AD9C0 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802B0A64 002AD9C4 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B0A68 002AD9C8 48 06 21 0D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0A6C 002AD9CC C0 3B 00 00 */ lfs f1, 0(r27) +/* 802B0A70 002AD9D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802B0A74 002AD9D4 C0 02 C1 F8 */ lfs f0, lbl_805ADF18@sda21(r2) +/* 802B0A78 002AD9D8 D0 3F 00 74 */ stfs f1, 0x74(r31) +/* 802B0A7C 002AD9DC C0 3B 00 04 */ lfs f1, 4(r27) +/* 802B0A80 002AD9E0 D0 3F 00 78 */ stfs f1, 0x78(r31) +/* 802B0A84 002AD9E4 C0 3B 00 08 */ lfs f1, 8(r27) +/* 802B0A88 002AD9E8 D0 3F 00 7C */ stfs f1, 0x7c(r31) +/* 802B0A8C 002AD9EC C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 802B0A90 002AD9F0 D0 3F 00 80 */ stfs f1, 0x80(r31) +/* 802B0A94 002AD9F4 C0 23 00 04 */ lfs f1, 4(r3) +/* 802B0A98 002AD9F8 D0 3F 00 84 */ stfs f1, 0x84(r31) +/* 802B0A9C 002AD9FC C0 23 00 08 */ lfs f1, 8(r3) +/* 802B0AA0 002ADA00 D0 3F 00 88 */ stfs f1, 0x88(r31) +/* 802B0AA4 002ADA04 C0 23 00 00 */ lfs f1, 0(r3) +/* 802B0AA8 002ADA08 D0 3F 00 8C */ stfs f1, 0x8c(r31) +/* 802B0AAC 002ADA0C C0 23 00 04 */ lfs f1, 4(r3) +/* 802B0AB0 002ADA10 D0 3F 00 90 */ stfs f1, 0x90(r31) +/* 802B0AB4 002ADA14 C0 23 00 08 */ lfs f1, 8(r3) +/* 802B0AB8 002ADA18 D0 3F 00 94 */ stfs f1, 0x94(r31) +/* 802B0ABC 002ADA1C D0 1F 00 98 */ stfs f0, 0x98(r31) +/* 802B0AC0 002ADA20 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 802B0AC4 002ADA24 D0 1F 00 A0 */ stfs f0, 0xa0(r31) +/* 802B0AC8 002ADA28 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B0ACC 002ADA2C D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 802B0AD0 002ADA30 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B0AD4 002ADA34 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 802B0AD8 002ADA38 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B0ADC 002ADA3C D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 802B0AE0 002ADA40 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B0AE4 002ADA44 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 802B0AE8 002ADA48 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B0AEC 002ADA4C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 802B0AF0 002ADA50 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B0AF4 002ADA54 D0 1F 00 B8 */ stfs f0, 0xb8(r31) +/* 802B0AF8 002ADA58 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B0AFC 002ADA5C D0 1F 00 BC */ stfs f0, 0xbc(r31) +/* 802B0B00 002ADA60 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B0B04 002ADA64 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 802B0B08 002ADA68 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B0B0C 002ADA6C D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 802B0B10 002ADA70 48 09 94 9D */ bl White__6CColorFv +/* 802B0B14 002ADA74 80 63 00 00 */ lwz r3, 0(r3) +/* 802B0B18 002ADA78 38 C0 00 00 */ li r6, 0 +/* 802B0B1C 002ADA7C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802B0B20 002ADA80 38 00 FF FF */ li r0, -1 +/* 802B0B24 002ADA84 90 7F 00 C8 */ stw r3, 0xc8(r31) +/* 802B0B28 002ADA88 38 A0 00 01 */ li r5, 1 +/* 802B0B2C 002ADA8C C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0B30 002ADA90 38 61 00 48 */ addi r3, r1, 0x48 +/* 802B0B34 002ADA94 D8 3F 00 D0 */ stfd f1, 0xd0(r31) +/* 802B0B38 002ADA98 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802B0B3C 002ADA9C D8 3F 00 D8 */ stfd f1, 0xd8(r31) +/* 802B0B40 002ADAA0 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 802B0B44 002ADAA4 93 9F 00 E4 */ stw r28, 0xe4(r31) +/* 802B0B48 002ADAA8 90 DF 00 E8 */ stw r6, 0xe8(r31) +/* 802B0B4C 002ADAAC 90 DF 00 EC */ stw r6, 0xec(r31) +/* 802B0B50 002ADAB0 90 DF 00 F0 */ stw r6, 0xf0(r31) +/* 802B0B54 002ADAB4 90 DF 00 F4 */ stw r6, 0xf4(r31) +/* 802B0B58 002ADAB8 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 802B0B5C 002ADABC 90 DF 00 FC */ stw r6, 0xfc(r31) +/* 802B0B60 002ADAC0 90 DF 01 00 */ stw r6, 0x100(r31) +/* 802B0B64 002ADAC4 90 DF 01 04 */ stw r6, 0x104(r31) +/* 802B0B68 002ADAC8 98 DF 01 14 */ stb r6, 0x114(r31) +/* 802B0B6C 002ADACC 90 DF 01 18 */ stw r6, 0x118(r31) +/* 802B0B70 002ADAD0 90 DF 01 1C */ stw r6, 0x11c(r31) +/* 802B0B74 002ADAD4 90 DF 01 20 */ stw r6, 0x120(r31) +/* 802B0B78 002ADAD8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0B7C 002ADADC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802B0B80 002ADAE0 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0B84 002ADAE4 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0B88 002ADAE8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 802B0B8C 002ADAEC 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0B90 002ADAF0 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0B94 002ADAF4 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 802B0B98 002ADAF8 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0B9C 002ADAFC 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BA0 002ADB00 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802B0BA4 002ADB04 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BA8 002ADB08 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BAC 002ADB0C 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 802B0BB0 002ADB10 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BB4 002ADB14 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BB8 002ADB18 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 802B0BBC 002ADB1C 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BC0 002ADB20 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BC4 002ADB24 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 802B0BC8 002ADB28 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BCC 002ADB2C 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BD0 002ADB30 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 802B0BD4 002ADB34 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BD8 002ADB38 48 06 1A A9 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B0BDC 002ADB3C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0BE0 002ADB40 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BE4 002ADB44 88 63 00 10 */ lbz r3, 0x10(r3) +/* 802B0BE8 002ADB48 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 802B0BEC 002ADB4C 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BF0 002ADB50 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0BF4 002ADB54 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BF8 002ADB58 88 63 00 28 */ lbz r3, 0x28(r3) +/* 802B0BFC 002ADB5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802B0C00 002ADB60 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0C04 002ADB64 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0C08 002ADB68 80 9F 00 E4 */ lwz r4, 0xe4(r31) +/* 802B0C0C 002ADB6C 88 03 00 40 */ lbz r0, 0x40(r3) +/* 802B0C10 002ADB70 54 9D 07 FE */ clrlwi r29, r4, 0x1f +/* 802B0C14 002ADB74 28 00 00 00 */ cmplwi r0, 0 +/* 802B0C18 002ADB78 41 82 00 8C */ beq lbl_802B0CA4 +/* 802B0C1C 002ADB7C 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0C20 002ADB80 3B 40 00 00 */ li r26, 0 +/* 802B0C24 002ADB84 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0C28 002ADB88 38 A0 00 00 */ li r5, 0 +/* 802B0C2C 002ADB8C 38 60 03 40 */ li r3, 0x340 +/* 802B0C30 002ADB90 48 06 4C 3D */ bl __nw__FUlPCcPCc +/* 802B0C34 002ADB94 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0C38 002ADB98 41 82 00 3C */ beq lbl_802B0C74 +/* 802B0C3C 002ADB9C 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0C40 002ADBA0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802B0C44 002ADBA4 38 84 00 34 */ addi r4, r4, 0x34 +/* 802B0C48 002ADBA8 48 09 02 61 */ bl __ct__6CTokenFRC6CToken +/* 802B0C4C 002ADBAC 28 1D 00 00 */ cmplwi r29, 0 +/* 802B0C50 002ADBB0 7F 83 E3 78 */ mr r3, r28 +/* 802B0C54 002ADBB4 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B0C58 002ADBB8 3B 40 00 01 */ li r26, 1 +/* 802B0C5C 002ADBBC 38 A0 00 00 */ li r5, 0 +/* 802B0C60 002ADBC0 38 C0 00 01 */ li r6, 1 +/* 802B0C64 002ADBC4 41 82 00 08 */ beq lbl_802B0C6C +/* 802B0C68 002ADBC8 38 C0 00 02 */ li r6, 2 +lbl_802B0C6C: +/* 802B0C6C 002ADBCC 48 06 E7 75 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802B0C70 002ADBD0 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0C74: +/* 802B0C74 002ADBD4 7F 40 07 75 */ extsb. r0, r26 +/* 802B0C78 002ADBD8 93 9F 00 FC */ stw r28, 0xfc(r31) +/* 802B0C7C 002ADBDC 41 82 00 10 */ beq lbl_802B0C8C +/* 802B0C80 002ADBE0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802B0C84 002ADBE4 38 80 00 00 */ li r4, 0 +/* 802B0C88 002ADBE8 48 09 01 B9 */ bl __dt__6CTokenFv +lbl_802B0C8C: +/* 802B0C8C 002ADBEC 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802B0C90 002ADBF0 7F C4 F3 78 */ mr r4, r30 +/* 802B0C94 002ADBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0C98 002ADBF8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0C9C 002ADBFC 7D 89 03 A6 */ mtctr r12 +/* 802B0CA0 002ADC00 4E 80 04 21 */ bctrl +lbl_802B0CA4: +/* 802B0CA4 002ADC04 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0CA8 002ADC08 88 03 00 50 */ lbz r0, 0x50(r3) +/* 802B0CAC 002ADC0C 28 00 00 00 */ cmplwi r0, 0 +/* 802B0CB0 002ADC10 41 82 00 8C */ beq lbl_802B0D3C +/* 802B0CB4 002ADC14 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0CB8 002ADC18 3B 40 00 00 */ li r26, 0 +/* 802B0CBC 002ADC1C 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0CC0 002ADC20 38 A0 00 00 */ li r5, 0 +/* 802B0CC4 002ADC24 38 60 03 40 */ li r3, 0x340 +/* 802B0CC8 002ADC28 48 06 4B A5 */ bl __nw__FUlPCcPCc +/* 802B0CCC 002ADC2C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0CD0 002ADC30 41 82 00 3C */ beq lbl_802B0D0C +/* 802B0CD4 002ADC34 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0CD8 002ADC38 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0CDC 002ADC3C 38 84 00 44 */ addi r4, r4, 0x44 +/* 802B0CE0 002ADC40 48 09 01 C9 */ bl __ct__6CTokenFRC6CToken +/* 802B0CE4 002ADC44 28 1D 00 00 */ cmplwi r29, 0 +/* 802B0CE8 002ADC48 7F 83 E3 78 */ mr r3, r28 +/* 802B0CEC 002ADC4C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B0CF0 002ADC50 3B 40 00 01 */ li r26, 1 +/* 802B0CF4 002ADC54 38 A0 00 00 */ li r5, 0 +/* 802B0CF8 002ADC58 38 C0 00 01 */ li r6, 1 +/* 802B0CFC 002ADC5C 41 82 00 08 */ beq lbl_802B0D04 +/* 802B0D00 002ADC60 38 C0 00 02 */ li r6, 2 +lbl_802B0D04: +/* 802B0D04 002ADC64 48 06 E6 DD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802B0D08 002ADC68 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0D0C: +/* 802B0D0C 002ADC6C 7F 40 07 75 */ extsb. r0, r26 +/* 802B0D10 002ADC70 93 9F 01 00 */ stw r28, 0x100(r31) +/* 802B0D14 002ADC74 41 82 00 10 */ beq lbl_802B0D24 +/* 802B0D18 002ADC78 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0D1C 002ADC7C 38 80 00 00 */ li r4, 0 +/* 802B0D20 002ADC80 48 09 01 21 */ bl __dt__6CTokenFv +lbl_802B0D24: +/* 802B0D24 002ADC84 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802B0D28 002ADC88 7F C4 F3 78 */ mr r4, r30 +/* 802B0D2C 002ADC8C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0D30 002ADC90 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0D34 002ADC94 7D 89 03 A6 */ mtctr r12 +/* 802B0D38 002ADC98 4E 80 04 21 */ bctrl +lbl_802B0D3C: +/* 802B0D3C 002ADC9C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0D40 002ADCA0 88 03 00 60 */ lbz r0, 0x60(r3) +/* 802B0D44 002ADCA4 28 00 00 00 */ cmplwi r0, 0 +/* 802B0D48 002ADCA8 41 82 00 7C */ beq lbl_802B0DC4 +/* 802B0D4C 002ADCAC 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0D50 002ADCB0 3B 40 00 00 */ li r26, 0 +/* 802B0D54 002ADCB4 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0D58 002ADCB8 38 A0 00 00 */ li r5, 0 +/* 802B0D5C 002ADCBC 38 60 02 10 */ li r3, 0x210 +/* 802B0D60 002ADCC0 48 06 4B 0D */ bl __nw__FUlPCcPCc +/* 802B0D64 002ADCC4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0D68 002ADCC8 41 82 00 2C */ beq lbl_802B0D94 +/* 802B0D6C 002ADCCC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0D70 002ADCD0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B0D74 002ADCD4 38 84 00 54 */ addi r4, r4, 0x54 +/* 802B0D78 002ADCD8 48 09 01 31 */ bl __ct__6CTokenFRC6CToken +/* 802B0D7C 002ADCDC 7F 83 E3 78 */ mr r3, r28 +/* 802B0D80 002ADCE0 38 81 00 24 */ addi r4, r1, 0x24 +/* 802B0D84 002ADCE4 3B 40 00 01 */ li r26, 1 +/* 802B0D88 002ADCE8 38 A0 00 00 */ li r5, 0 +/* 802B0D8C 002ADCEC 48 07 E0 59 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802B0D90 002ADCF0 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0D94: +/* 802B0D94 002ADCF4 7F 40 07 75 */ extsb. r0, r26 +/* 802B0D98 002ADCF8 93 9F 01 18 */ stw r28, 0x118(r31) +/* 802B0D9C 002ADCFC 41 82 00 10 */ beq lbl_802B0DAC +/* 802B0DA0 002ADD00 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B0DA4 002ADD04 38 80 00 00 */ li r4, 0 +/* 802B0DA8 002ADD08 48 09 00 99 */ bl __dt__6CTokenFv +lbl_802B0DAC: +/* 802B0DAC 002ADD0C 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802B0DB0 002ADD10 7F C4 F3 78 */ mr r4, r30 +/* 802B0DB4 002ADD14 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0DB8 002ADD18 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0DBC 002ADD1C 7D 89 03 A6 */ mtctr r12 +/* 802B0DC0 002ADD20 4E 80 04 21 */ bctrl +lbl_802B0DC4: +/* 802B0DC4 002ADD24 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0DC8 002ADD28 88 03 00 70 */ lbz r0, 0x70(r3) +/* 802B0DCC 002ADD2C 28 00 00 00 */ cmplwi r0, 0 +/* 802B0DD0 002ADD30 41 82 00 7C */ beq lbl_802B0E4C +/* 802B0DD4 002ADD34 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0DD8 002ADD38 3B 40 00 00 */ li r26, 0 +/* 802B0DDC 002ADD3C 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0DE0 002ADD40 38 A0 00 00 */ li r5, 0 +/* 802B0DE4 002ADD44 38 60 02 10 */ li r3, 0x210 +/* 802B0DE8 002ADD48 48 06 4A 85 */ bl __nw__FUlPCcPCc +/* 802B0DEC 002ADD4C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0DF0 002ADD50 41 82 00 2C */ beq lbl_802B0E1C +/* 802B0DF4 002ADD54 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0DF8 002ADD58 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B0DFC 002ADD5C 38 84 00 64 */ addi r4, r4, 0x64 +/* 802B0E00 002ADD60 48 09 00 A9 */ bl __ct__6CTokenFRC6CToken +/* 802B0E04 002ADD64 7F 83 E3 78 */ mr r3, r28 +/* 802B0E08 002ADD68 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B0E0C 002ADD6C 3B 40 00 01 */ li r26, 1 +/* 802B0E10 002ADD70 38 A0 00 00 */ li r5, 0 +/* 802B0E14 002ADD74 48 07 DF D1 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802B0E18 002ADD78 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0E1C: +/* 802B0E1C 002ADD7C 7F 40 07 75 */ extsb. r0, r26 +/* 802B0E20 002ADD80 93 9F 01 1C */ stw r28, 0x11c(r31) +/* 802B0E24 002ADD84 41 82 00 10 */ beq lbl_802B0E34 +/* 802B0E28 002ADD88 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B0E2C 002ADD8C 38 80 00 00 */ li r4, 0 +/* 802B0E30 002ADD90 48 09 00 11 */ bl __dt__6CTokenFv +lbl_802B0E34: +/* 802B0E34 002ADD94 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B0E38 002ADD98 7F C4 F3 78 */ mr r4, r30 +/* 802B0E3C 002ADD9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0E40 002ADDA0 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0E44 002ADDA4 7D 89 03 A6 */ mtctr r12 +/* 802B0E48 002ADDA8 4E 80 04 21 */ bctrl +lbl_802B0E4C: +/* 802B0E4C 002ADDAC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0E50 002ADDB0 88 03 00 80 */ lbz r0, 0x80(r3) +/* 802B0E54 002ADDB4 28 00 00 00 */ cmplwi r0, 0 +/* 802B0E58 002ADDB8 41 82 00 7C */ beq lbl_802B0ED4 +/* 802B0E5C 002ADDBC 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0E60 002ADDC0 3B 40 00 00 */ li r26, 0 +/* 802B0E64 002ADDC4 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0E68 002ADDC8 38 A0 00 00 */ li r5, 0 +/* 802B0E6C 002ADDCC 38 60 02 10 */ li r3, 0x210 +/* 802B0E70 002ADDD0 48 06 49 FD */ bl __nw__FUlPCcPCc +/* 802B0E74 002ADDD4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0E78 002ADDD8 41 82 00 2C */ beq lbl_802B0EA4 +/* 802B0E7C 002ADDDC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0E80 002ADDE0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B0E84 002ADDE4 38 84 00 74 */ addi r4, r4, 0x74 +/* 802B0E88 002ADDE8 48 09 00 21 */ bl __ct__6CTokenFRC6CToken +/* 802B0E8C 002ADDEC 7F 83 E3 78 */ mr r3, r28 +/* 802B0E90 002ADDF0 38 81 00 14 */ addi r4, r1, 0x14 +/* 802B0E94 002ADDF4 3B 40 00 01 */ li r26, 1 +/* 802B0E98 002ADDF8 38 A0 00 00 */ li r5, 0 +/* 802B0E9C 002ADDFC 48 07 DF 49 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802B0EA0 002ADE00 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0EA4: +/* 802B0EA4 002ADE04 7F 40 07 75 */ extsb. r0, r26 +/* 802B0EA8 002ADE08 93 9F 01 20 */ stw r28, 0x120(r31) +/* 802B0EAC 002ADE0C 41 82 00 10 */ beq lbl_802B0EBC +/* 802B0EB0 002ADE10 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B0EB4 002ADE14 38 80 00 00 */ li r4, 0 +/* 802B0EB8 002ADE18 48 08 FF 89 */ bl __dt__6CTokenFv +lbl_802B0EBC: +/* 802B0EBC 002ADE1C 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0EC0 002ADE20 7F C4 F3 78 */ mr r4, r30 +/* 802B0EC4 002ADE24 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0EC8 002ADE28 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0ECC 002ADE2C 7D 89 03 A6 */ mtctr r12 +/* 802B0ED0 002ADE30 4E 80 04 21 */ bctrl +lbl_802B0ED4: +/* 802B0ED4 002ADE34 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0ED8 002ADE38 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802B0EDC 002ADE3C 28 03 00 00 */ cmplwi r3, 0 +/* 802B0EE0 002ADE40 41 82 00 20 */ beq lbl_802B0F00 +/* 802B0EE4 002ADE44 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0EE8 002ADE48 38 BF 00 E8 */ addi r5, r31, 0xe8 +/* 802B0EEC 002ADE4C 38 80 00 00 */ li r4, 0 +/* 802B0EF0 002ADE50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0EF4 002ADE54 7D 89 03 A6 */ mtctr r12 +/* 802B0EF8 002ADE58 4E 80 04 21 */ bctrl +/* 802B0EFC 002ADE5C 48 00 00 10 */ b lbl_802B0F0C +lbl_802B0F00: +/* 802B0F00 002ADE60 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B0F04 002ADE64 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B0F08 002ADE68 90 1F 00 E8 */ stw r0, 0xe8(r31) +lbl_802B0F0C: +/* 802B0F0C 002ADE6C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0F10 002ADE70 80 63 00 04 */ lwz r3, 4(r3) +/* 802B0F14 002ADE74 28 03 00 00 */ cmplwi r3, 0 +/* 802B0F18 002ADE78 41 82 00 1C */ beq lbl_802B0F34 +/* 802B0F1C 002ADE7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0F20 002ADE80 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 802B0F24 002ADE84 38 80 00 00 */ li r4, 0 +/* 802B0F28 002ADE88 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0F2C 002ADE8C 7D 89 03 A6 */ mtctr r12 +/* 802B0F30 002ADE90 4E 80 04 21 */ bctrl +lbl_802B0F34: +/* 802B0F34 002ADE94 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0F38 002ADE98 80 03 00 00 */ lwz r0, 0(r3) +/* 802B0F3C 002ADE9C 28 00 00 00 */ cmplwi r0, 0 +/* 802B0F40 002ADEA0 41 82 00 A8 */ beq lbl_802B0FE8 +/* 802B0F44 002ADEA4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B0F48 002ADEA8 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0F4C 002ADEAC 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B0F50 002ADEB0 48 06 1C 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0F54 002ADEB4 C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0F58 002ADEB8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 802B0F5C 002ADEBC 38 80 00 00 */ li r4, 0 +/* 802B0F60 002ADEC0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802B0F64 002ADEC4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802B0F68 002ADEC8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802B0F6C 002ADECC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0F70 002ADED0 80 63 00 00 */ lwz r3, 0(r3) +/* 802B0F74 002ADED4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0F78 002ADED8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0F7C 002ADEDC 7D 89 03 A6 */ mtctr r12 +/* 802B0F80 002ADEE0 4E 80 04 21 */ bctrl +/* 802B0F84 002ADEE4 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0F88 002ADEE8 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0F8C 002ADEEC C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802B0F90 002ADEF0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B0F94 002ADEF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B0F98 002ADEF8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B0F9C 002ADEFC 48 06 27 59 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 802B0FA0 002ADF00 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0FA4 002ADF04 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0FA8 002ADF08 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802B0FAC 002ADF0C 38 81 00 0C */ addi r4, r1, 0xc +/* 802B0FB0 002ADF10 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B0FB4 002ADF14 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B0FB8 002ADF18 48 06 26 21 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B0FBC 002ADF1C C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0FC0 002ADF20 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0FC4 002ADF24 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802B0FC8 002ADF28 38 81 00 08 */ addi r4, r1, 8 +/* 802B0FCC 002ADF2C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B0FD0 002ADF30 D0 01 00 08 */ stfs f0, 8(r1) +/* 802B0FD4 002ADF34 48 06 24 E9 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 802B0FD8 002ADF38 7F E3 FB 78 */ mr r3, r31 +/* 802B0FDC 002ADF3C 38 81 00 54 */ addi r4, r1, 0x54 +/* 802B0FE0 002ADF40 4B FF F5 21 */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +/* 802B0FE4 002ADF44 48 00 00 14 */ b lbl_802B0FF8 +lbl_802B0FE8: +/* 802B0FE8 002ADF48 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B0FEC 002ADF4C 7F E3 FB 78 */ mr r3, r31 +/* 802B0FF0 002ADF50 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B0FF4 002ADF54 4B FF F5 0D */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +lbl_802B0FF8: +/* 802B0FF8 002ADF58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0FFC 002ADF5C 88 03 00 90 */ lbz r0, 0x90(r3) +/* 802B1000 002ADF60 28 00 00 00 */ cmplwi r0, 0 +/* 802B1004 002ADF64 41 82 00 5C */ beq lbl_802B1060 +/* 802B1008 002ADF68 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 802B100C 002ADF6C 3B A3 00 84 */ addi r29, r3, 0x84 +/* 802B1010 002ADF70 28 00 00 00 */ cmplwi r0, 0 +/* 802B1014 002ADF74 40 82 00 34 */ bne lbl_802B1048 +/* 802B1018 002ADF78 37 9F 01 08 */ addic. r28, r31, 0x108 +/* 802B101C 002ADF7C 41 82 00 20 */ beq lbl_802B103C +/* 802B1020 002ADF80 7F 83 E3 78 */ mr r3, r28 +/* 802B1024 002ADF84 7F A4 EB 78 */ mr r4, r29 +/* 802B1028 002ADF88 48 08 FE 81 */ bl __ct__6CTokenFRC6CToken +/* 802B102C 002ADF8C 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B1030 002ADF90 7F 83 E3 78 */ mr r3, r28 +/* 802B1034 002ADF94 90 1C 00 08 */ stw r0, 8(r28) +/* 802B1038 002ADF98 48 08 FD 4D */ bl Lock__6CTokenFv +lbl_802B103C: +/* 802B103C 002ADF9C 38 00 00 01 */ li r0, 1 +/* 802B1040 002ADFA0 98 1F 01 14 */ stb r0, 0x114(r31) +/* 802B1044 002ADFA4 48 00 00 1C */ b lbl_802B1060 +lbl_802B1048: +/* 802B1048 002ADFA8 3B 9F 01 08 */ addi r28, r31, 0x108 +/* 802B104C 002ADFAC 7F A4 EB 78 */ mr r4, r29 +/* 802B1050 002ADFB0 7F 83 E3 78 */ mr r3, r28 +/* 802B1054 002ADFB4 48 08 FC 71 */ bl __as__6CTokenFRC6CToken +/* 802B1058 002ADFB8 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B105C 002ADFBC 90 1C 00 08 */ stw r0, 8(r28) +lbl_802B1060: +/* 802B1060 002ADFC0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B1064 002ADFC4 7F E3 FB 78 */ mr r3, r31 +/* 802B1068 002ADFC8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B106C 002ADFCC 88 84 00 2A */ lbz r4, 0x2a(r4) +/* 802B1070 002ADFD0 C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) +/* 802B1074 002ADFD4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802B1078 002ADFD8 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B107C 002ADFDC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B1080 002ADFE0 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B1084 002ADFE4 88 84 00 2B */ lbz r4, 0x2b(r4) +/* 802B1088 002ADFE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 802B108C 002ADFEC 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B1090 002ADFF0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B1094 002ADFF4 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B1098 002ADFF8 88 84 00 2C */ lbz r4, 0x2c(r4) +/* 802B109C 002ADFFC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 802B10A0 002AE000 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B10A4 002AE004 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B10A8 002AE008 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B10AC 002AE00C 88 84 00 2D */ lbz r4, 0x2d(r4) +/* 802B10B0 002AE010 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 802B10B4 002AE014 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B10B8 002AE018 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B10BC 002AE01C 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B10C0 002AE020 88 84 00 2E */ lbz r4, 0x2e(r4) +/* 802B10C4 002AE024 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 802B10C8 002AE028 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B10CC 002AE02C 4B FF EA 35 */ bl UpdateChildParticleSystems__17CProjectileWeaponFf +/* 802B10D0 002AE030 38 61 00 48 */ addi r3, r1, 0x48 +/* 802B10D4 002AE034 38 80 FF FF */ li r4, -1 +/* 802B10D8 002AE038 48 06 15 2D */ bl __dt__13CGlobalRandomFv +/* 802B10DC 002AE03C 7F E3 FB 78 */ mr r3, r31 +/* 802B10E0 002AE040 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 802B10E4 002AE044 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802B10E8 002AE048 7C 08 03 A6 */ mtlr r0 +/* 802B10EC 002AE04C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802B10F0 002AE050 4E 80 00 20 */ blr + +.global __dt__17IWeaponProjectileFv +__dt__17IWeaponProjectileFv: +/* 802B10F4 002AE054 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B10F8 002AE058 7C 08 02 A6 */ mflr r0 +/* 802B10FC 002AE05C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B1100 002AE060 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B1104 002AE064 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B1108 002AE068 41 82 00 1C */ beq lbl_802B1124 +/* 802B110C 002AE06C 3C A0 80 3F */ lis r5, lbl_803EC4E8@ha +/* 802B1110 002AE070 7C 80 07 35 */ extsh. r0, r4 +/* 802B1114 002AE074 38 05 C4 E8 */ addi r0, r5, lbl_803EC4E8@l +/* 802B1118 002AE078 90 1F 00 00 */ stw r0, 0(r31) +/* 802B111C 002AE07C 40 81 00 08 */ ble lbl_802B1124 +/* 802B1120 002AE080 48 06 48 11 */ bl Free__7CMemoryFPCv +lbl_802B1124: +/* 802B1124 002AE084 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B1128 002AE088 7F E3 FB 78 */ mr r3, r31 +/* 802B112C 002AE08C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B1130 002AE090 7C 08 03 A6 */ mtlr r0 +/* 802B1134 002AE094 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B1138 002AE098 4E 80 00 20 */ blr + +.global GetTickPeriod__17CProjectileWeaponFv +GetTickPeriod__17CProjectileWeaponFv: +/* 802B113C 002AE09C C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) +/* 802B1140 002AE0A0 4E 80 00 20 */ blr diff --git a/asm/Weapons/CProjectileWeaponDataFactory.s b/asm/Weapons/CProjectileWeaponDataFactory.s new file mode 100644 index 00000000..0121be35 --- /dev/null +++ b/asm/Weapons/CProjectileWeaponDataFactory.s @@ -0,0 +1,1163 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool +CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool: +/* 802B1144 002AE0A4 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 802B1148 002AE0A8 7C 08 02 A6 */ mflr r0 +/* 802B114C 002AE0AC 90 01 01 74 */ stw r0, 0x174(r1) +/* 802B1150 002AE0B0 BF 41 01 58 */ stmw r26, 0x158(r1) +/* 802B1154 002AE0B4 7C 7F 1B 78 */ mr r31, r3 +/* 802B1158 002AE0B8 7C 9E 23 78 */ mr r30, r4 +/* 802B115C 002AE0BC 7C BD 2B 78 */ mr r29, r5 +/* 802B1160 002AE0C0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B1164 002AE0C4 3B 80 00 00 */ li r28, 0 +/* 802B1168 002AE0C8 38 80 00 63 */ li r4, 0x63 +/* 802B116C 002AE0CC 48 06 14 81 */ bl __ct__9CRandom16FUi +/* 802B1170 002AE0D0 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B1174 002AE0D4 38 81 00 28 */ addi r4, r1, 0x28 +/* 802B1178 002AE0D8 48 06 15 09 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B117C 002AE0DC 48 00 0C 64 */ b lbl_802B1DE0 +lbl_802B1180: +/* 802B1180 002AE0E0 7F C3 F3 78 */ mr r3, r30 +/* 802B1184 002AE0E4 48 07 72 D9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1188 002AE0E8 7C 03 D8 00 */ cmpw r3, r27 +/* 802B118C 002AE0EC 41 82 0C 18 */ beq lbl_802B1DA4 +/* 802B1190 002AE0F0 40 80 01 1C */ bge lbl_802B12AC +/* 802B1194 002AE0F4 3C A0 41 53 */ lis r5, 0x41535731@ha +/* 802B1198 002AE0F8 38 05 57 31 */ addi r0, r5, 0x41535731@l +/* 802B119C 002AE0FC 7C 03 00 00 */ cmpw r3, r0 +/* 802B11A0 002AE100 41 82 06 E8 */ beq lbl_802B1888 +/* 802B11A4 002AE104 40 80 00 7C */ bge lbl_802B1220 +/* 802B11A8 002AE108 3C 80 41 50 */ lis r4, 0x4150534D@ha +/* 802B11AC 002AE10C 38 04 53 4D */ addi r0, r4, 0x4150534D@l +/* 802B11B0 002AE110 7C 03 00 00 */ cmpw r3, r0 +/* 802B11B4 002AE114 41 82 02 64 */ beq lbl_802B1418 +/* 802B11B8 002AE118 40 80 00 34 */ bge lbl_802B11EC +/* 802B11BC 002AE11C 38 04 32 31 */ addi r0, r4, 0x3231 +/* 802B11C0 002AE120 7C 03 00 00 */ cmpw r3, r0 +/* 802B11C4 002AE124 41 82 06 A4 */ beq lbl_802B1868 +/* 802B11C8 002AE128 40 80 00 14 */ bge lbl_802B11DC +/* 802B11CC 002AE12C 38 04 31 31 */ addi r0, r4, 0x3131 +/* 802B11D0 002AE130 7C 03 00 00 */ cmpw r3, r0 +/* 802B11D4 002AE134 41 82 04 64 */ beq lbl_802B1638 +/* 802B11D8 002AE138 48 00 0B F4 */ b lbl_802B1DCC +lbl_802B11DC: +/* 802B11DC 002AE13C 38 04 53 32 */ addi r0, r4, 0x5332 +/* 802B11E0 002AE140 7C 03 00 00 */ cmpw r3, r0 +/* 802B11E4 002AE144 41 82 04 64 */ beq lbl_802B1648 +/* 802B11E8 002AE148 48 00 0B E4 */ b lbl_802B1DCC +lbl_802B11EC: +/* 802B11EC 002AE14C 38 05 31 31 */ addi r0, r5, 0x3131 +/* 802B11F0 002AE150 7C 03 00 00 */ cmpw r3, r0 +/* 802B11F4 002AE154 41 82 07 6C */ beq lbl_802B1960 +/* 802B11F8 002AE158 40 80 00 14 */ bge lbl_802B120C +/* 802B11FC 002AE15C 38 04 53 4F */ addi r0, r4, 0x534f +/* 802B1200 002AE160 7C 03 00 00 */ cmpw r3, r0 +/* 802B1204 002AE164 41 82 06 74 */ beq lbl_802B1878 +/* 802B1208 002AE168 48 00 0B C4 */ b lbl_802B1DCC +lbl_802B120C: +/* 802B120C 002AE16C 38 05 31 33 */ addi r0, r5, 0x3133 +/* 802B1210 002AE170 7C 03 00 00 */ cmpw r3, r0 +/* 802B1214 002AE174 41 82 09 1C */ beq lbl_802B1B30 +/* 802B1218 002AE178 40 80 0B B4 */ bge lbl_802B1DCC +/* 802B121C 002AE17C 48 00 08 2C */ b lbl_802B1A48 +lbl_802B1220: +/* 802B1220 002AE180 3C 80 46 4F */ lis r4, 0x464F4646@ha +/* 802B1224 002AE184 38 04 46 46 */ addi r0, r4, 0x464F4646@l +/* 802B1228 002AE188 7C 03 00 00 */ cmpw r3, r0 +/* 802B122C 002AE18C 41 82 0B 58 */ beq lbl_802B1D84 +/* 802B1230 002AE190 40 80 00 40 */ bge lbl_802B1270 +/* 802B1234 002AE194 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 802B1238 002AE198 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 802B123C 002AE19C 7C 03 00 00 */ cmpw r3, r0 +/* 802B1240 002AE1A0 41 82 09 F8 */ beq lbl_802B1C38 +/* 802B1244 002AE1A4 40 80 00 18 */ bge lbl_802B125C +/* 802B1248 002AE1A8 38 05 57 33 */ addi r0, r5, 0x5733 +/* 802B124C 002AE1AC 7C 03 00 00 */ cmpw r3, r0 +/* 802B1250 002AE1B0 41 82 08 08 */ beq lbl_802B1A58 +/* 802B1254 002AE1B4 40 80 0B 78 */ bge lbl_802B1DCC +/* 802B1258 002AE1B8 48 00 07 18 */ b lbl_802B1970 +lbl_802B125C: +/* 802B125C 002AE1BC 3C 80 45 57 */ lis r4, 0x45575452@ha +/* 802B1260 002AE1C0 38 04 54 52 */ addi r0, r4, 0x45575452@l +/* 802B1264 002AE1C4 7C 03 00 00 */ cmpw r3, r0 +/* 802B1268 002AE1C8 41 82 0B 2C */ beq lbl_802B1D94 +/* 802B126C 002AE1CC 48 00 0B 60 */ b lbl_802B1DCC +lbl_802B1270: +/* 802B1270 002AE1D0 3C 80 49 4F */ lis r4, 0x494F524E@ha +/* 802B1274 002AE1D4 38 04 52 4E */ addi r0, r4, 0x494F524E@l +/* 802B1278 002AE1D8 7C 03 00 00 */ cmpw r3, r0 +/* 802B127C 002AE1DC 41 82 01 3C */ beq lbl_802B13B8 +/* 802B1280 002AE1E0 40 80 00 18 */ bge lbl_802B1298 +/* 802B1284 002AE1E4 3C 80 48 4F */ lis r4, 0x484F4D47@ha +/* 802B1288 002AE1E8 38 04 4D 47 */ addi r0, r4, 0x484F4D47@l +/* 802B128C 002AE1EC 7C 03 00 00 */ cmpw r3, r0 +/* 802B1290 002AE1F0 41 82 0A A0 */ beq lbl_802B1D30 +/* 802B1294 002AE1F4 48 00 0B 38 */ b lbl_802B1DCC +lbl_802B1298: +/* 802B1298 002AE1F8 3C 80 49 56 */ lis r4, 0x49564543@ha +/* 802B129C 002AE1FC 38 04 45 43 */ addi r0, r4, 0x49564543@l +/* 802B12A0 002AE200 7C 03 00 00 */ cmpw r3, r0 +/* 802B12A4 002AE204 41 82 01 24 */ beq lbl_802B13C8 +/* 802B12A8 002AE208 48 00 0B 24 */ b lbl_802B1DCC +lbl_802B12AC: +/* 802B12AC 002AE20C 3C A0 50 53 */ lis r5, 0x50534F56@ha +/* 802B12B0 002AE210 38 05 4F 56 */ addi r0, r5, 0x50534F56@l +/* 802B12B4 002AE214 7C 03 00 00 */ cmpw r3, r0 +/* 802B12B8 002AE218 41 82 01 20 */ beq lbl_802B13D8 +/* 802B12BC 002AE21C 40 80 00 88 */ bge lbl_802B1344 +/* 802B12C0 002AE220 3C 80 50 4A */ lis r4, 0x504A4658@ha +/* 802B12C4 002AE224 38 04 46 58 */ addi r0, r4, 0x504A4658@l +/* 802B12C8 002AE228 7C 03 00 00 */ cmpw r3, r0 +/* 802B12CC 002AE22C 41 82 0A 84 */ beq lbl_802B1D50 +/* 802B12D0 002AE230 40 80 00 40 */ bge lbl_802B1310 +/* 802B12D4 002AE234 3C 80 4F 48 */ lis r4, 0x4F484546@ha +/* 802B12D8 002AE238 38 04 45 46 */ addi r0, r4, 0x4F484546@l +/* 802B12DC 002AE23C 7C 03 00 00 */ cmpw r3, r0 +/* 802B12E0 002AE240 41 82 08 60 */ beq lbl_802B1B40 +/* 802B12E4 002AE244 40 80 00 18 */ bge lbl_802B12FC +/* 802B12E8 002AE248 3C 80 4F 46 */ lis r4, 0x4F465354@ha +/* 802B12EC 002AE24C 38 04 53 54 */ addi r0, r4, 0x4F465354@l +/* 802B12F0 002AE250 7C 03 00 00 */ cmpw r3, r0 +/* 802B12F4 002AE254 41 82 0A 2C */ beq lbl_802B1D20 +/* 802B12F8 002AE258 48 00 0A D4 */ b lbl_802B1DCC +lbl_802B12FC: +/* 802B12FC 002AE25C 3C 80 50 43 */ lis r4, 0x50434F4C@ha +/* 802B1300 002AE260 38 04 4F 4C */ addi r0, r4, 0x50434F4C@l +/* 802B1304 002AE264 7C 03 00 00 */ cmpw r3, r0 +/* 802B1308 002AE268 41 82 09 20 */ beq lbl_802B1C28 +/* 802B130C 002AE26C 48 00 0A C0 */ b lbl_802B1DCC +lbl_802B1310: +/* 802B1310 002AE270 38 05 43 4C */ addi r0, r5, 0x434c +/* 802B1314 002AE274 7C 03 00 00 */ cmpw r3, r0 +/* 802B1318 002AE278 41 82 09 00 */ beq lbl_802B1C18 +/* 802B131C 002AE27C 40 80 00 18 */ bge lbl_802B1334 +/* 802B1320 002AE280 3C 80 50 4F */ lis r4, 0x504F4653@ha +/* 802B1324 002AE284 38 04 46 53 */ addi r0, r4, 0x504F4653@l +/* 802B1328 002AE288 7C 03 00 00 */ cmpw r3, r0 +/* 802B132C 002AE28C 41 82 09 E4 */ beq lbl_802B1D10 +/* 802B1330 002AE290 48 00 0A 9C */ b lbl_802B1DCC +lbl_802B1334: +/* 802B1334 002AE294 38 05 4C 54 */ addi r0, r5, 0x4c54 +/* 802B1338 002AE298 7C 03 00 00 */ cmpw r3, r0 +/* 802B133C 002AE29C 41 82 00 CC */ beq lbl_802B1408 +/* 802B1340 002AE2A0 48 00 0A 8C */ b lbl_802B1DCC +lbl_802B1344: +/* 802B1344 002AE2A4 3C 80 54 52 */ lis r4, 0x54524154@ha +/* 802B1348 002AE2A8 38 04 41 54 */ addi r0, r4, 0x54524154@l +/* 802B134C 002AE2AC 7C 03 00 00 */ cmpw r3, r0 +/* 802B1350 002AE2B0 41 82 09 F0 */ beq lbl_802B1D40 +/* 802B1354 002AE2B4 40 80 00 3C */ bge lbl_802B1390 +/* 802B1358 002AE2B8 3C 80 52 4E */ lis r4, 0x524E4745@ha +/* 802B135C 002AE2BC 38 04 47 45 */ addi r0, r4, 0x524E4745@l +/* 802B1360 002AE2C0 7C 03 00 00 */ cmpw r3, r0 +/* 802B1364 002AE2C4 41 82 0A 10 */ beq lbl_802B1D74 +/* 802B1368 002AE2C8 40 80 00 14 */ bge lbl_802B137C +/* 802B136C 002AE2CC 38 05 56 4D */ addi r0, r5, 0x564d +/* 802B1370 002AE2D0 7C 03 00 00 */ cmpw r3, r0 +/* 802B1374 002AE2D4 41 82 00 74 */ beq lbl_802B13E8 +/* 802B1378 002AE2D8 48 00 0A 54 */ b lbl_802B1DCC +lbl_802B137C: +/* 802B137C 002AE2DC 3C 80 53 57 */ lis r4, 0x53575452@ha +/* 802B1380 002AE2E0 38 04 54 52 */ addi r0, r4, 0x53575452@l +/* 802B1384 002AE2E4 7C 03 00 00 */ cmpw r3, r0 +/* 802B1388 002AE2E8 41 82 0A 2C */ beq lbl_802B1DB4 +/* 802B138C 002AE2EC 48 00 0A 40 */ b lbl_802B1DCC +lbl_802B1390: +/* 802B1390 002AE2F0 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 802B1394 002AE2F4 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 802B1398 002AE2F8 7C 03 00 00 */ cmpw r3, r0 +/* 802B139C 002AE2FC 41 82 0A 28 */ beq lbl_802B1DC4 +/* 802B13A0 002AE300 40 80 0A 2C */ bge lbl_802B1DCC +/* 802B13A4 002AE304 3C 80 56 4D */ lis r4, 0x564D4432@ha +/* 802B13A8 002AE308 38 04 44 32 */ addi r0, r4, 0x564D4432@l +/* 802B13AC 002AE30C 7C 03 00 00 */ cmpw r3, r0 +/* 802B13B0 002AE310 41 82 00 48 */ beq lbl_802B13F8 +/* 802B13B4 002AE314 48 00 0A 18 */ b lbl_802B1DCC +lbl_802B13B8: +/* 802B13B8 002AE318 7F C3 F3 78 */ mr r3, r30 +/* 802B13BC 002AE31C 48 07 4E 99 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13C0 002AE320 90 7F 00 00 */ stw r3, 0(r31) +/* 802B13C4 002AE324 48 00 0A 24 */ b lbl_802B1DE8 +lbl_802B13C8: +/* 802B13C8 002AE328 7F C3 F3 78 */ mr r3, r30 +/* 802B13CC 002AE32C 48 07 4E 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13D0 002AE330 90 7F 00 04 */ stw r3, 4(r31) +/* 802B13D4 002AE334 48 00 0A 14 */ b lbl_802B1DE8 +lbl_802B13D8: +/* 802B13D8 002AE338 7F C3 F3 78 */ mr r3, r30 +/* 802B13DC 002AE33C 48 07 4E 79 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13E0 002AE340 90 7F 00 08 */ stw r3, 8(r31) +/* 802B13E4 002AE344 48 00 0A 04 */ b lbl_802B1DE8 +lbl_802B13E8: +/* 802B13E8 002AE348 7F C3 F3 78 */ mr r3, r30 +/* 802B13EC 002AE34C 48 07 44 11 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13F0 002AE350 90 7F 00 0C */ stw r3, 0xc(r31) +/* 802B13F4 002AE354 48 00 09 F4 */ b lbl_802B1DE8 +lbl_802B13F8: +/* 802B13F8 002AE358 7F C3 F3 78 */ mr r3, r30 +/* 802B13FC 002AE35C 48 07 70 2D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1400 002AE360 98 7F 00 10 */ stb r3, 0x10(r31) +/* 802B1404 002AE364 48 00 09 E4 */ b lbl_802B1DE8 +lbl_802B1408: +/* 802B1408 002AE368 7F C3 F3 78 */ mr r3, r30 +/* 802B140C 002AE36C 48 07 67 99 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 802B1410 002AE370 90 7F 00 14 */ stw r3, 0x14(r31) +/* 802B1414 002AE374 48 00 09 D4 */ b lbl_802B1DE8 +lbl_802B1418: +/* 802B1418 002AE378 38 00 00 00 */ li r0, 0 +/* 802B141C 002AE37C 7F C4 F3 78 */ mr r4, r30 +/* 802B1420 002AE380 90 01 01 34 */ stw r0, 0x134(r1) +/* 802B1424 002AE384 7F A5 EB 78 */ mr r5, r29 +/* 802B1428 002AE388 38 61 00 FC */ addi r3, r1, 0xfc +/* 802B142C 002AE38C 38 C1 01 30 */ addi r6, r1, 0x130 +/* 802B1430 002AE390 90 01 01 38 */ stw r0, 0x138(r1) +/* 802B1434 002AE394 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802B1438 002AE398 48 07 39 59 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 802B143C 002AE39C 88 01 01 04 */ lbz r0, 0x104(r1) +/* 802B1440 002AE3A0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1444 002AE3A4 98 01 01 2C */ stb r0, 0x12c(r1) +/* 802B1448 002AE3A8 41 82 00 14 */ beq lbl_802B145C +/* 802B144C 002AE3AC 34 61 01 24 */ addic. r3, r1, 0x124 +/* 802B1450 002AE3B0 38 81 00 FC */ addi r4, r1, 0xfc +/* 802B1454 002AE3B4 41 82 00 08 */ beq lbl_802B145C +/* 802B1458 002AE3B8 48 08 FA 51 */ bl __ct__6CTokenFRC6CToken +lbl_802B145C: +/* 802B145C 002AE3BC 88 01 01 04 */ lbz r0, 0x104(r1) +/* 802B1460 002AE3C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1464 002AE3C4 41 82 00 14 */ beq lbl_802B1478 +/* 802B1468 002AE3C8 34 61 00 FC */ addic. r3, r1, 0xfc +/* 802B146C 002AE3CC 41 82 00 0C */ beq lbl_802B1478 +/* 802B1470 002AE3D0 38 80 00 00 */ li r4, 0 +/* 802B1474 002AE3D4 48 08 F9 CD */ bl __dt__6CTokenFv +lbl_802B1478: +/* 802B1478 002AE3D8 88 01 01 2C */ lbz r0, 0x12c(r1) +/* 802B147C 002AE3DC 38 60 00 00 */ li r3, 0 +/* 802B1480 002AE3E0 98 61 01 04 */ stb r3, 0x104(r1) +/* 802B1484 002AE3E4 28 00 00 00 */ cmplwi r0, 0 +/* 802B1488 002AE3E8 41 82 00 88 */ beq lbl_802B1510 +/* 802B148C 002AE3EC 3B 41 00 F0 */ addi r26, r1, 0xf0 +/* 802B1490 002AE3F0 38 81 01 24 */ addi r4, r1, 0x124 +/* 802B1494 002AE3F4 7F 43 D3 78 */ mr r3, r26 +/* 802B1498 002AE3F8 48 08 FA 11 */ bl __ct__6CTokenFRC6CToken +/* 802B149C 002AE3FC 7F 43 D3 78 */ mr r3, r26 +/* 802B14A0 002AE400 48 08 F9 6D */ bl GetObj__6CTokenFv +/* 802B14A4 002AE404 80 03 00 04 */ lwz r0, 4(r3) +/* 802B14A8 002AE408 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802B14AC 002AE40C 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B14B0 002AE410 28 00 00 00 */ cmplwi r0, 0 +/* 802B14B4 002AE414 40 82 00 34 */ bne lbl_802B14E8 +/* 802B14B8 002AE418 37 5F 00 34 */ addic. r26, r31, 0x34 +/* 802B14BC 002AE41C 41 82 00 20 */ beq lbl_802B14DC +/* 802B14C0 002AE420 7F 43 D3 78 */ mr r3, r26 +/* 802B14C4 002AE424 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 802B14C8 002AE428 48 08 F9 E1 */ bl __ct__6CTokenFRC6CToken +/* 802B14CC 002AE42C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 802B14D0 002AE430 7F 43 D3 78 */ mr r3, r26 +/* 802B14D4 002AE434 90 1A 00 08 */ stw r0, 8(r26) +/* 802B14D8 002AE438 48 08 F8 AD */ bl Lock__6CTokenFv +lbl_802B14DC: +/* 802B14DC 002AE43C 38 00 00 01 */ li r0, 1 +/* 802B14E0 002AE440 98 1F 00 40 */ stb r0, 0x40(r31) +/* 802B14E4 002AE444 48 00 00 1C */ b lbl_802B1500 +lbl_802B14E8: +/* 802B14E8 002AE448 3B 5F 00 34 */ addi r26, r31, 0x34 +/* 802B14EC 002AE44C 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 802B14F0 002AE450 7F 43 D3 78 */ mr r3, r26 +/* 802B14F4 002AE454 48 08 F7 D1 */ bl __as__6CTokenFRC6CToken +/* 802B14F8 002AE458 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 802B14FC 002AE45C 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1500: +/* 802B1500 002AE460 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802B1504 002AE464 38 80 00 00 */ li r4, 0 +/* 802B1508 002AE468 48 08 F9 39 */ bl __dt__6CTokenFv +/* 802B150C 002AE46C 48 00 00 C4 */ b lbl_802B15D0 +lbl_802B1510: +/* 802B1510 002AE470 3B 5F 00 34 */ addi r26, r31, 0x34 +/* 802B1514 002AE474 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802B1518 002AE478 7C 1A 20 40 */ cmplw r26, r4 +/* 802B151C 002AE47C 98 61 00 EC */ stb r3, 0xec(r1) +/* 802B1520 002AE480 41 82 00 84 */ beq lbl_802B15A4 +/* 802B1524 002AE484 28 03 00 00 */ cmplwi r3, 0 +/* 802B1528 002AE488 41 82 00 50 */ beq lbl_802B1578 +/* 802B152C 002AE48C 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B1530 002AE490 28 00 00 00 */ cmplwi r0, 0 +/* 802B1534 002AE494 40 82 00 30 */ bne lbl_802B1564 +/* 802B1538 002AE498 37 5F 00 34 */ addic. r26, r31, 0x34 +/* 802B153C 002AE49C 41 82 00 1C */ beq lbl_802B1558 +/* 802B1540 002AE4A0 7F 43 D3 78 */ mr r3, r26 +/* 802B1544 002AE4A4 48 08 F9 65 */ bl __ct__6CTokenFRC6CToken +/* 802B1548 002AE4A8 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 802B154C 002AE4AC 7F 43 D3 78 */ mr r3, r26 +/* 802B1550 002AE4B0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1554 002AE4B4 48 08 F8 31 */ bl Lock__6CTokenFv +lbl_802B1558: +/* 802B1558 002AE4B8 38 00 00 01 */ li r0, 1 +/* 802B155C 002AE4BC 98 1F 00 40 */ stb r0, 0x40(r31) +/* 802B1560 002AE4C0 48 00 00 44 */ b lbl_802B15A4 +lbl_802B1564: +/* 802B1564 002AE4C4 7F 43 D3 78 */ mr r3, r26 +/* 802B1568 002AE4C8 48 08 F7 5D */ bl __as__6CTokenFRC6CToken +/* 802B156C 002AE4CC 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 802B1570 002AE4D0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1574 002AE4D4 48 00 00 30 */ b lbl_802B15A4 +lbl_802B1578: +/* 802B1578 002AE4D8 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B157C 002AE4DC 28 00 00 00 */ cmplwi r0, 0 +/* 802B1580 002AE4E0 41 82 00 1C */ beq lbl_802B159C +/* 802B1584 002AE4E4 34 7F 00 34 */ addic. r3, r31, 0x34 +/* 802B1588 002AE4E8 41 82 00 14 */ beq lbl_802B159C +/* 802B158C 002AE4EC 28 03 00 00 */ cmplwi r3, 0 +/* 802B1590 002AE4F0 41 82 00 0C */ beq lbl_802B159C +/* 802B1594 002AE4F4 38 80 00 00 */ li r4, 0 +/* 802B1598 002AE4F8 48 08 F8 A9 */ bl __dt__6CTokenFv +lbl_802B159C: +/* 802B159C 002AE4FC 38 00 00 00 */ li r0, 0 +/* 802B15A0 002AE500 98 1F 00 40 */ stb r0, 0x40(r31) +lbl_802B15A4: +/* 802B15A4 002AE504 88 01 00 EC */ lbz r0, 0xec(r1) +/* 802B15A8 002AE508 28 00 00 00 */ cmplwi r0, 0 +/* 802B15AC 002AE50C 41 82 00 1C */ beq lbl_802B15C8 +/* 802B15B0 002AE510 34 61 00 E0 */ addic. r3, r1, 0xe0 +/* 802B15B4 002AE514 41 82 00 14 */ beq lbl_802B15C8 +/* 802B15B8 002AE518 28 03 00 00 */ cmplwi r3, 0 +/* 802B15BC 002AE51C 41 82 00 0C */ beq lbl_802B15C8 +/* 802B15C0 002AE520 38 80 00 00 */ li r4, 0 +/* 802B15C4 002AE524 48 08 F8 7D */ bl __dt__6CTokenFv +lbl_802B15C8: +/* 802B15C8 002AE528 38 00 00 00 */ li r0, 0 +/* 802B15CC 002AE52C 98 01 00 EC */ stb r0, 0xec(r1) +lbl_802B15D0: +/* 802B15D0 002AE530 88 01 01 2C */ lbz r0, 0x12c(r1) +/* 802B15D4 002AE534 28 00 00 00 */ cmplwi r0, 0 +/* 802B15D8 002AE538 41 82 00 14 */ beq lbl_802B15EC +/* 802B15DC 002AE53C 34 61 01 24 */ addic. r3, r1, 0x124 +/* 802B15E0 002AE540 41 82 00 0C */ beq lbl_802B15EC +/* 802B15E4 002AE544 38 80 00 00 */ li r4, 0 +/* 802B15E8 002AE548 48 08 F8 59 */ bl __dt__6CTokenFv +lbl_802B15EC: +/* 802B15EC 002AE54C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802B15F0 002AE550 38 80 00 00 */ li r4, 0 +/* 802B15F4 002AE554 80 61 01 3C */ lwz r3, 0x13c(r1) +/* 802B15F8 002AE558 54 00 10 3A */ slwi r0, r0, 2 +/* 802B15FC 002AE55C 98 81 01 2C */ stb r4, 0x12c(r1) +/* 802B1600 002AE560 7C 03 02 14 */ add r0, r3, r0 +/* 802B1604 002AE564 7C 64 1B 78 */ mr r4, r3 +/* 802B1608 002AE568 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B160C 002AE56C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B1610 002AE570 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B1614 002AE574 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B1618 002AE578 48 00 00 08 */ b lbl_802B1620 +lbl_802B161C: +/* 802B161C 002AE57C 38 84 00 04 */ addi r4, r4, 4 +lbl_802B1620: +/* 802B1620 002AE580 7C 04 00 40 */ cmplw r4, r0 +/* 802B1624 002AE584 40 82 FF F8 */ bne lbl_802B161C +/* 802B1628 002AE588 28 03 00 00 */ cmplwi r3, 0 +/* 802B162C 002AE58C 41 82 07 BC */ beq lbl_802B1DE8 +/* 802B1630 002AE590 48 06 43 01 */ bl Free__7CMemoryFPCv +/* 802B1634 002AE594 48 00 07 B4 */ b lbl_802B1DE8 +lbl_802B1638: +/* 802B1638 002AE598 7F C3 F3 78 */ mr r3, r30 +/* 802B163C 002AE59C 48 07 6D ED */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1640 002AE5A0 98 7F 00 2A */ stb r3, 0x2a(r31) +/* 802B1644 002AE5A4 48 00 07 A4 */ b lbl_802B1DE8 +lbl_802B1648: +/* 802B1648 002AE5A8 38 00 00 00 */ li r0, 0 +/* 802B164C 002AE5AC 7F C4 F3 78 */ mr r4, r30 +/* 802B1650 002AE5B0 90 01 01 18 */ stw r0, 0x118(r1) +/* 802B1654 002AE5B4 7F A5 EB 78 */ mr r5, r29 +/* 802B1658 002AE5B8 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802B165C 002AE5BC 38 C1 01 14 */ addi r6, r1, 0x114 +/* 802B1660 002AE5C0 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802B1664 002AE5C4 90 01 01 20 */ stw r0, 0x120(r1) +/* 802B1668 002AE5C8 48 07 37 29 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 802B166C 002AE5CC 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 802B1670 002AE5D0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1674 002AE5D4 98 01 01 10 */ stb r0, 0x110(r1) +/* 802B1678 002AE5D8 41 82 00 14 */ beq lbl_802B168C +/* 802B167C 002AE5DC 34 61 01 08 */ addic. r3, r1, 0x108 +/* 802B1680 002AE5E0 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 802B1684 002AE5E4 41 82 00 08 */ beq lbl_802B168C +/* 802B1688 002AE5E8 48 08 F8 21 */ bl __ct__6CTokenFRC6CToken +lbl_802B168C: +/* 802B168C 002AE5EC 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 802B1690 002AE5F0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1694 002AE5F4 41 82 00 14 */ beq lbl_802B16A8 +/* 802B1698 002AE5F8 34 61 00 D4 */ addic. r3, r1, 0xd4 +/* 802B169C 002AE5FC 41 82 00 0C */ beq lbl_802B16A8 +/* 802B16A0 002AE600 38 80 00 00 */ li r4, 0 +/* 802B16A4 002AE604 48 08 F7 9D */ bl __dt__6CTokenFv +lbl_802B16A8: +/* 802B16A8 002AE608 88 01 01 10 */ lbz r0, 0x110(r1) +/* 802B16AC 002AE60C 38 60 00 00 */ li r3, 0 +/* 802B16B0 002AE610 98 61 00 DC */ stb r3, 0xdc(r1) +/* 802B16B4 002AE614 28 00 00 00 */ cmplwi r0, 0 +/* 802B16B8 002AE618 41 82 00 88 */ beq lbl_802B1740 +/* 802B16BC 002AE61C 3B 41 00 C8 */ addi r26, r1, 0xc8 +/* 802B16C0 002AE620 38 81 01 08 */ addi r4, r1, 0x108 +/* 802B16C4 002AE624 7F 43 D3 78 */ mr r3, r26 +/* 802B16C8 002AE628 48 08 F7 E1 */ bl __ct__6CTokenFRC6CToken +/* 802B16CC 002AE62C 7F 43 D3 78 */ mr r3, r26 +/* 802B16D0 002AE630 48 08 F7 3D */ bl GetObj__6CTokenFv +/* 802B16D4 002AE634 80 03 00 04 */ lwz r0, 4(r3) +/* 802B16D8 002AE638 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 802B16DC 002AE63C 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B16E0 002AE640 28 00 00 00 */ cmplwi r0, 0 +/* 802B16E4 002AE644 40 82 00 34 */ bne lbl_802B1718 +/* 802B16E8 002AE648 37 5F 00 44 */ addic. r26, r31, 0x44 +/* 802B16EC 002AE64C 41 82 00 20 */ beq lbl_802B170C +/* 802B16F0 002AE650 7F 43 D3 78 */ mr r3, r26 +/* 802B16F4 002AE654 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 802B16F8 002AE658 48 08 F7 B1 */ bl __ct__6CTokenFRC6CToken +/* 802B16FC 002AE65C 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802B1700 002AE660 7F 43 D3 78 */ mr r3, r26 +/* 802B1704 002AE664 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1708 002AE668 48 08 F6 7D */ bl Lock__6CTokenFv +lbl_802B170C: +/* 802B170C 002AE66C 38 00 00 01 */ li r0, 1 +/* 802B1710 002AE670 98 1F 00 50 */ stb r0, 0x50(r31) +/* 802B1714 002AE674 48 00 00 1C */ b lbl_802B1730 +lbl_802B1718: +/* 802B1718 002AE678 3B 5F 00 44 */ addi r26, r31, 0x44 +/* 802B171C 002AE67C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 802B1720 002AE680 7F 43 D3 78 */ mr r3, r26 +/* 802B1724 002AE684 48 08 F5 A1 */ bl __as__6CTokenFRC6CToken +/* 802B1728 002AE688 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802B172C 002AE68C 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1730: +/* 802B1730 002AE690 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802B1734 002AE694 38 80 00 00 */ li r4, 0 +/* 802B1738 002AE698 48 08 F7 09 */ bl __dt__6CTokenFv +/* 802B173C 002AE69C 48 00 00 C4 */ b lbl_802B1800 +lbl_802B1740: +/* 802B1740 002AE6A0 3B 5F 00 44 */ addi r26, r31, 0x44 +/* 802B1744 002AE6A4 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802B1748 002AE6A8 7C 1A 20 40 */ cmplw r26, r4 +/* 802B174C 002AE6AC 98 61 00 C4 */ stb r3, 0xc4(r1) +/* 802B1750 002AE6B0 41 82 00 84 */ beq lbl_802B17D4 +/* 802B1754 002AE6B4 28 03 00 00 */ cmplwi r3, 0 +/* 802B1758 002AE6B8 41 82 00 50 */ beq lbl_802B17A8 +/* 802B175C 002AE6BC 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B1760 002AE6C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1764 002AE6C4 40 82 00 30 */ bne lbl_802B1794 +/* 802B1768 002AE6C8 37 5F 00 44 */ addic. r26, r31, 0x44 +/* 802B176C 002AE6CC 41 82 00 1C */ beq lbl_802B1788 +/* 802B1770 002AE6D0 7F 43 D3 78 */ mr r3, r26 +/* 802B1774 002AE6D4 48 08 F7 35 */ bl __ct__6CTokenFRC6CToken +/* 802B1778 002AE6D8 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 802B177C 002AE6DC 7F 43 D3 78 */ mr r3, r26 +/* 802B1780 002AE6E0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1784 002AE6E4 48 08 F6 01 */ bl Lock__6CTokenFv +lbl_802B1788: +/* 802B1788 002AE6E8 38 00 00 01 */ li r0, 1 +/* 802B178C 002AE6EC 98 1F 00 50 */ stb r0, 0x50(r31) +/* 802B1790 002AE6F0 48 00 00 44 */ b lbl_802B17D4 +lbl_802B1794: +/* 802B1794 002AE6F4 7F 43 D3 78 */ mr r3, r26 +/* 802B1798 002AE6F8 48 08 F5 2D */ bl __as__6CTokenFRC6CToken +/* 802B179C 002AE6FC 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 802B17A0 002AE700 90 1A 00 08 */ stw r0, 8(r26) +/* 802B17A4 002AE704 48 00 00 30 */ b lbl_802B17D4 +lbl_802B17A8: +/* 802B17A8 002AE708 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B17AC 002AE70C 28 00 00 00 */ cmplwi r0, 0 +/* 802B17B0 002AE710 41 82 00 1C */ beq lbl_802B17CC +/* 802B17B4 002AE714 34 7F 00 44 */ addic. r3, r31, 0x44 +/* 802B17B8 002AE718 41 82 00 14 */ beq lbl_802B17CC +/* 802B17BC 002AE71C 28 03 00 00 */ cmplwi r3, 0 +/* 802B17C0 002AE720 41 82 00 0C */ beq lbl_802B17CC +/* 802B17C4 002AE724 38 80 00 00 */ li r4, 0 +/* 802B17C8 002AE728 48 08 F6 79 */ bl __dt__6CTokenFv +lbl_802B17CC: +/* 802B17CC 002AE72C 38 00 00 00 */ li r0, 0 +/* 802B17D0 002AE730 98 1F 00 50 */ stb r0, 0x50(r31) +lbl_802B17D4: +/* 802B17D4 002AE734 88 01 00 C4 */ lbz r0, 0xc4(r1) +/* 802B17D8 002AE738 28 00 00 00 */ cmplwi r0, 0 +/* 802B17DC 002AE73C 41 82 00 1C */ beq lbl_802B17F8 +/* 802B17E0 002AE740 34 61 00 B8 */ addic. r3, r1, 0xb8 +/* 802B17E4 002AE744 41 82 00 14 */ beq lbl_802B17F8 +/* 802B17E8 002AE748 28 03 00 00 */ cmplwi r3, 0 +/* 802B17EC 002AE74C 41 82 00 0C */ beq lbl_802B17F8 +/* 802B17F0 002AE750 38 80 00 00 */ li r4, 0 +/* 802B17F4 002AE754 48 08 F6 4D */ bl __dt__6CTokenFv +lbl_802B17F8: +/* 802B17F8 002AE758 38 00 00 00 */ li r0, 0 +/* 802B17FC 002AE75C 98 01 00 C4 */ stb r0, 0xc4(r1) +lbl_802B1800: +/* 802B1800 002AE760 88 01 01 10 */ lbz r0, 0x110(r1) +/* 802B1804 002AE764 28 00 00 00 */ cmplwi r0, 0 +/* 802B1808 002AE768 41 82 00 14 */ beq lbl_802B181C +/* 802B180C 002AE76C 34 61 01 08 */ addic. r3, r1, 0x108 +/* 802B1810 002AE770 41 82 00 0C */ beq lbl_802B181C +/* 802B1814 002AE774 38 80 00 00 */ li r4, 0 +/* 802B1818 002AE778 48 08 F6 29 */ bl __dt__6CTokenFv +lbl_802B181C: +/* 802B181C 002AE77C 80 01 01 18 */ lwz r0, 0x118(r1) +/* 802B1820 002AE780 38 80 00 00 */ li r4, 0 +/* 802B1824 002AE784 80 61 01 20 */ lwz r3, 0x120(r1) +/* 802B1828 002AE788 54 00 10 3A */ slwi r0, r0, 2 +/* 802B182C 002AE78C 98 81 01 10 */ stb r4, 0x110(r1) +/* 802B1830 002AE790 7C 03 02 14 */ add r0, r3, r0 +/* 802B1834 002AE794 7C 64 1B 78 */ mr r4, r3 +/* 802B1838 002AE798 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B183C 002AE79C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B1840 002AE7A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B1844 002AE7A4 90 61 00 08 */ stw r3, 8(r1) +/* 802B1848 002AE7A8 48 00 00 08 */ b lbl_802B1850 +lbl_802B184C: +/* 802B184C 002AE7AC 38 84 00 04 */ addi r4, r4, 4 +lbl_802B1850: +/* 802B1850 002AE7B0 7C 04 00 40 */ cmplw r4, r0 +/* 802B1854 002AE7B4 40 82 FF F8 */ bne lbl_802B184C +/* 802B1858 002AE7B8 28 03 00 00 */ cmplwi r3, 0 +/* 802B185C 002AE7BC 41 82 05 8C */ beq lbl_802B1DE8 +/* 802B1860 002AE7C0 48 06 40 D1 */ bl Free__7CMemoryFPCv +/* 802B1864 002AE7C4 48 00 05 84 */ b lbl_802B1DE8 +lbl_802B1868: +/* 802B1868 002AE7C8 7F C3 F3 78 */ mr r3, r30 +/* 802B186C 002AE7CC 48 07 6B BD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1870 002AE7D0 98 7F 00 2B */ stb r3, 0x2b(r31) +/* 802B1874 002AE7D4 48 00 05 74 */ b lbl_802B1DE8 +lbl_802B1878: +/* 802B1878 002AE7D8 7F C3 F3 78 */ mr r3, r30 +/* 802B187C 002AE7DC 48 07 6B AD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1880 002AE7E0 98 7F 00 28 */ stb r3, 0x28(r31) +/* 802B1884 002AE7E4 48 00 05 64 */ b lbl_802B1DE8 +lbl_802B1888: +/* 802B1888 002AE7E8 7F C3 F3 78 */ mr r3, r30 +/* 802B188C 002AE7EC 48 07 6B D1 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1890 002AE7F0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1894 002AE7F4 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1898 002AE7F8 41 82 05 50 */ beq lbl_802B1DE8 +/* 802B189C 002AE7FC 7F C3 F3 78 */ mr r3, r30 +/* 802B18A0 002AE800 48 08 D3 E5 */ bl ReadLong__12CInputStreamFv +/* 802B18A4 002AE804 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 802B18A8 002AE808 90 61 00 78 */ stw r3, 0x78(r1) +/* 802B18AC 002AE80C 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 802B18B0 002AE810 7F A4 EB 78 */ mr r4, r29 +/* 802B18B4 002AE814 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B18B8 002AE818 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B18BC 002AE81C 38 A1 00 74 */ addi r5, r1, 0x74 +/* 802B18C0 002AE820 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B18C4 002AE824 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B18C8 002AE828 7D 89 03 A6 */ mtctr r12 +/* 802B18CC 002AE82C 4E 80 04 21 */ bctrl +/* 802B18D0 002AE830 3B 41 00 AC */ addi r26, r1, 0xac +/* 802B18D4 002AE834 38 81 00 6C */ addi r4, r1, 0x6c +/* 802B18D8 002AE838 7F 43 D3 78 */ mr r3, r26 +/* 802B18DC 002AE83C 48 08 F5 CD */ bl __ct__6CTokenFRC6CToken +/* 802B18E0 002AE840 7F 43 D3 78 */ mr r3, r26 +/* 802B18E4 002AE844 48 08 F5 29 */ bl GetObj__6CTokenFv +/* 802B18E8 002AE848 80 03 00 04 */ lwz r0, 4(r3) +/* 802B18EC 002AE84C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802B18F0 002AE850 88 1F 00 60 */ lbz r0, 0x60(r31) +/* 802B18F4 002AE854 28 00 00 00 */ cmplwi r0, 0 +/* 802B18F8 002AE858 40 82 00 34 */ bne lbl_802B192C +/* 802B18FC 002AE85C 37 5F 00 54 */ addic. r26, r31, 0x54 +/* 802B1900 002AE860 41 82 00 20 */ beq lbl_802B1920 +/* 802B1904 002AE864 7F 43 D3 78 */ mr r3, r26 +/* 802B1908 002AE868 38 81 00 AC */ addi r4, r1, 0xac +/* 802B190C 002AE86C 48 08 F5 9D */ bl __ct__6CTokenFRC6CToken +/* 802B1910 002AE870 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802B1914 002AE874 7F 43 D3 78 */ mr r3, r26 +/* 802B1918 002AE878 90 1A 00 08 */ stw r0, 8(r26) +/* 802B191C 002AE87C 48 08 F4 69 */ bl Lock__6CTokenFv +lbl_802B1920: +/* 802B1920 002AE880 38 00 00 01 */ li r0, 1 +/* 802B1924 002AE884 98 1F 00 60 */ stb r0, 0x60(r31) +/* 802B1928 002AE888 48 00 00 1C */ b lbl_802B1944 +lbl_802B192C: +/* 802B192C 002AE88C 3B 5F 00 54 */ addi r26, r31, 0x54 +/* 802B1930 002AE890 38 81 00 AC */ addi r4, r1, 0xac +/* 802B1934 002AE894 7F 43 D3 78 */ mr r3, r26 +/* 802B1938 002AE898 48 08 F3 8D */ bl __as__6CTokenFRC6CToken +/* 802B193C 002AE89C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802B1940 002AE8A0 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1944: +/* 802B1944 002AE8A4 38 61 00 AC */ addi r3, r1, 0xac +/* 802B1948 002AE8A8 38 80 00 00 */ li r4, 0 +/* 802B194C 002AE8AC 48 08 F4 F5 */ bl __dt__6CTokenFv +/* 802B1950 002AE8B0 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B1954 002AE8B4 38 80 FF FF */ li r4, -1 +/* 802B1958 002AE8B8 48 08 F4 E9 */ bl __dt__6CTokenFv +/* 802B195C 002AE8BC 48 00 04 8C */ b lbl_802B1DE8 +lbl_802B1960: +/* 802B1960 002AE8C0 7F C3 F3 78 */ mr r3, r30 +/* 802B1964 002AE8C4 48 07 6A C5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1968 002AE8C8 98 7F 00 2C */ stb r3, 0x2c(r31) +/* 802B196C 002AE8CC 48 00 04 7C */ b lbl_802B1DE8 +lbl_802B1970: +/* 802B1970 002AE8D0 7F C3 F3 78 */ mr r3, r30 +/* 802B1974 002AE8D4 48 07 6A E9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1978 002AE8D8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B197C 002AE8DC 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1980 002AE8E0 41 82 04 68 */ beq lbl_802B1DE8 +/* 802B1984 002AE8E4 7F C3 F3 78 */ mr r3, r30 +/* 802B1988 002AE8E8 48 08 D2 FD */ bl ReadLong__12CInputStreamFv +/* 802B198C 002AE8EC 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 802B1990 002AE8F0 90 61 00 68 */ stw r3, 0x68(r1) +/* 802B1994 002AE8F4 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 802B1998 002AE8F8 7F A4 EB 78 */ mr r4, r29 +/* 802B199C 002AE8FC 90 01 00 64 */ stw r0, 0x64(r1) +/* 802B19A0 002AE900 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B19A4 002AE904 38 A1 00 64 */ addi r5, r1, 0x64 +/* 802B19A8 002AE908 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B19AC 002AE90C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B19B0 002AE910 7D 89 03 A6 */ mtctr r12 +/* 802B19B4 002AE914 4E 80 04 21 */ bctrl +/* 802B19B8 002AE918 3B 41 00 A0 */ addi r26, r1, 0xa0 +/* 802B19BC 002AE91C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802B19C0 002AE920 7F 43 D3 78 */ mr r3, r26 +/* 802B19C4 002AE924 48 08 F4 E5 */ bl __ct__6CTokenFRC6CToken +/* 802B19C8 002AE928 7F 43 D3 78 */ mr r3, r26 +/* 802B19CC 002AE92C 48 08 F4 41 */ bl GetObj__6CTokenFv +/* 802B19D0 002AE930 80 03 00 04 */ lwz r0, 4(r3) +/* 802B19D4 002AE934 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802B19D8 002AE938 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 802B19DC 002AE93C 28 00 00 00 */ cmplwi r0, 0 +/* 802B19E0 002AE940 40 82 00 34 */ bne lbl_802B1A14 +/* 802B19E4 002AE944 37 5F 00 64 */ addic. r26, r31, 0x64 +/* 802B19E8 002AE948 41 82 00 20 */ beq lbl_802B1A08 +/* 802B19EC 002AE94C 7F 43 D3 78 */ mr r3, r26 +/* 802B19F0 002AE950 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802B19F4 002AE954 48 08 F4 B5 */ bl __ct__6CTokenFRC6CToken +/* 802B19F8 002AE958 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 802B19FC 002AE95C 7F 43 D3 78 */ mr r3, r26 +/* 802B1A00 002AE960 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1A04 002AE964 48 08 F3 81 */ bl Lock__6CTokenFv +lbl_802B1A08: +/* 802B1A08 002AE968 38 00 00 01 */ li r0, 1 +/* 802B1A0C 002AE96C 98 1F 00 70 */ stb r0, 0x70(r31) +/* 802B1A10 002AE970 48 00 00 1C */ b lbl_802B1A2C +lbl_802B1A14: +/* 802B1A14 002AE974 3B 5F 00 64 */ addi r26, r31, 0x64 +/* 802B1A18 002AE978 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802B1A1C 002AE97C 7F 43 D3 78 */ mr r3, r26 +/* 802B1A20 002AE980 48 08 F2 A5 */ bl __as__6CTokenFRC6CToken +/* 802B1A24 002AE984 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 802B1A28 002AE988 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1A2C: +/* 802B1A2C 002AE98C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802B1A30 002AE990 38 80 00 00 */ li r4, 0 +/* 802B1A34 002AE994 48 08 F4 0D */ bl __dt__6CTokenFv +/* 802B1A38 002AE998 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B1A3C 002AE99C 38 80 FF FF */ li r4, -1 +/* 802B1A40 002AE9A0 48 08 F4 01 */ bl __dt__6CTokenFv +/* 802B1A44 002AE9A4 48 00 03 A4 */ b lbl_802B1DE8 +lbl_802B1A48: +/* 802B1A48 002AE9A8 7F C3 F3 78 */ mr r3, r30 +/* 802B1A4C 002AE9AC 48 07 69 DD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1A50 002AE9B0 98 7F 00 2D */ stb r3, 0x2d(r31) +/* 802B1A54 002AE9B4 48 00 03 94 */ b lbl_802B1DE8 +lbl_802B1A58: +/* 802B1A58 002AE9B8 7F C3 F3 78 */ mr r3, r30 +/* 802B1A5C 002AE9BC 48 07 6A 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1A60 002AE9C0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1A64 002AE9C4 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1A68 002AE9C8 41 82 03 80 */ beq lbl_802B1DE8 +/* 802B1A6C 002AE9CC 7F C3 F3 78 */ mr r3, r30 +/* 802B1A70 002AE9D0 48 08 D2 15 */ bl ReadLong__12CInputStreamFv +/* 802B1A74 002AE9D4 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 802B1A78 002AE9D8 90 61 00 58 */ stw r3, 0x58(r1) +/* 802B1A7C 002AE9DC 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 802B1A80 002AE9E0 7F A4 EB 78 */ mr r4, r29 +/* 802B1A84 002AE9E4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B1A88 002AE9E8 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B1A8C 002AE9EC 38 A1 00 54 */ addi r5, r1, 0x54 +/* 802B1A90 002AE9F0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B1A94 002AE9F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B1A98 002AE9F8 7D 89 03 A6 */ mtctr r12 +/* 802B1A9C 002AE9FC 4E 80 04 21 */ bctrl +/* 802B1AA0 002AEA00 3B 41 00 94 */ addi r26, r1, 0x94 +/* 802B1AA4 002AEA04 38 81 00 4C */ addi r4, r1, 0x4c +/* 802B1AA8 002AEA08 7F 43 D3 78 */ mr r3, r26 +/* 802B1AAC 002AEA0C 48 08 F3 FD */ bl __ct__6CTokenFRC6CToken +/* 802B1AB0 002AEA10 7F 43 D3 78 */ mr r3, r26 +/* 802B1AB4 002AEA14 48 08 F3 59 */ bl GetObj__6CTokenFv +/* 802B1AB8 002AEA18 80 03 00 04 */ lwz r0, 4(r3) +/* 802B1ABC 002AEA1C 90 01 00 9C */ stw r0, 0x9c(r1) +/* 802B1AC0 002AEA20 88 1F 00 80 */ lbz r0, 0x80(r31) +/* 802B1AC4 002AEA24 28 00 00 00 */ cmplwi r0, 0 +/* 802B1AC8 002AEA28 40 82 00 34 */ bne lbl_802B1AFC +/* 802B1ACC 002AEA2C 37 5F 00 74 */ addic. r26, r31, 0x74 +/* 802B1AD0 002AEA30 41 82 00 20 */ beq lbl_802B1AF0 +/* 802B1AD4 002AEA34 7F 43 D3 78 */ mr r3, r26 +/* 802B1AD8 002AEA38 38 81 00 94 */ addi r4, r1, 0x94 +/* 802B1ADC 002AEA3C 48 08 F3 CD */ bl __ct__6CTokenFRC6CToken +/* 802B1AE0 002AEA40 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802B1AE4 002AEA44 7F 43 D3 78 */ mr r3, r26 +/* 802B1AE8 002AEA48 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1AEC 002AEA4C 48 08 F2 99 */ bl Lock__6CTokenFv +lbl_802B1AF0: +/* 802B1AF0 002AEA50 38 00 00 01 */ li r0, 1 +/* 802B1AF4 002AEA54 98 1F 00 80 */ stb r0, 0x80(r31) +/* 802B1AF8 002AEA58 48 00 00 1C */ b lbl_802B1B14 +lbl_802B1AFC: +/* 802B1AFC 002AEA5C 3B 5F 00 74 */ addi r26, r31, 0x74 +/* 802B1B00 002AEA60 38 81 00 94 */ addi r4, r1, 0x94 +/* 802B1B04 002AEA64 7F 43 D3 78 */ mr r3, r26 +/* 802B1B08 002AEA68 48 08 F1 BD */ bl __as__6CTokenFRC6CToken +/* 802B1B0C 002AEA6C 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802B1B10 002AEA70 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1B14: +/* 802B1B14 002AEA74 38 61 00 94 */ addi r3, r1, 0x94 +/* 802B1B18 002AEA78 38 80 00 00 */ li r4, 0 +/* 802B1B1C 002AEA7C 48 08 F3 25 */ bl __dt__6CTokenFv +/* 802B1B20 002AEA80 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B1B24 002AEA84 38 80 FF FF */ li r4, -1 +/* 802B1B28 002AEA88 48 08 F3 19 */ bl __dt__6CTokenFv +/* 802B1B2C 002AEA8C 48 00 02 BC */ b lbl_802B1DE8 +lbl_802B1B30: +/* 802B1B30 002AEA90 7F C3 F3 78 */ mr r3, r30 +/* 802B1B34 002AEA94 48 07 68 F5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1B38 002AEA98 98 7F 00 2E */ stb r3, 0x2e(r31) +/* 802B1B3C 002AEA9C 48 00 02 AC */ b lbl_802B1DE8 +lbl_802B1B40: +/* 802B1B40 002AEAA0 7F C3 F3 78 */ mr r3, r30 +/* 802B1B44 002AEAA4 48 07 69 19 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1B48 002AEAA8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1B4C 002AEAAC 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1B50 002AEAB0 41 82 02 98 */ beq lbl_802B1DE8 +/* 802B1B54 002AEAB4 7F C3 F3 78 */ mr r3, r30 +/* 802B1B58 002AEAB8 48 08 D1 2D */ bl ReadLong__12CInputStreamFv +/* 802B1B5C 002AEABC 3C 80 43 4D */ lis r4, 0x434D444C@ha +/* 802B1B60 002AEAC0 90 61 00 48 */ stw r3, 0x48(r1) +/* 802B1B64 002AEAC4 38 04 44 4C */ addi r0, r4, 0x434D444C@l +/* 802B1B68 002AEAC8 7F A4 EB 78 */ mr r4, r29 +/* 802B1B6C 002AEACC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B1B70 002AEAD0 38 61 00 3C */ addi r3, r1, 0x3c +/* 802B1B74 002AEAD4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802B1B78 002AEAD8 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B1B7C 002AEADC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B1B80 002AEAE0 7D 89 03 A6 */ mtctr r12 +/* 802B1B84 002AEAE4 4E 80 04 21 */ bctrl +/* 802B1B88 002AEAE8 3B 41 00 88 */ addi r26, r1, 0x88 +/* 802B1B8C 002AEAEC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802B1B90 002AEAF0 7F 43 D3 78 */ mr r3, r26 +/* 802B1B94 002AEAF4 48 08 F3 15 */ bl __ct__6CTokenFRC6CToken +/* 802B1B98 002AEAF8 7F 43 D3 78 */ mr r3, r26 +/* 802B1B9C 002AEAFC 48 08 F2 71 */ bl GetObj__6CTokenFv +/* 802B1BA0 002AEB00 80 03 00 04 */ lwz r0, 4(r3) +/* 802B1BA4 002AEB04 90 01 00 90 */ stw r0, 0x90(r1) +/* 802B1BA8 002AEB08 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 802B1BAC 002AEB0C 28 00 00 00 */ cmplwi r0, 0 +/* 802B1BB0 002AEB10 40 82 00 34 */ bne lbl_802B1BE4 +/* 802B1BB4 002AEB14 37 5F 00 84 */ addic. r26, r31, 0x84 +/* 802B1BB8 002AEB18 41 82 00 20 */ beq lbl_802B1BD8 +/* 802B1BBC 002AEB1C 7F 43 D3 78 */ mr r3, r26 +/* 802B1BC0 002AEB20 38 81 00 88 */ addi r4, r1, 0x88 +/* 802B1BC4 002AEB24 48 08 F2 E5 */ bl __ct__6CTokenFRC6CToken +/* 802B1BC8 002AEB28 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802B1BCC 002AEB2C 7F 43 D3 78 */ mr r3, r26 +/* 802B1BD0 002AEB30 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1BD4 002AEB34 48 08 F1 B1 */ bl Lock__6CTokenFv +lbl_802B1BD8: +/* 802B1BD8 002AEB38 38 00 00 01 */ li r0, 1 +/* 802B1BDC 002AEB3C 98 1F 00 90 */ stb r0, 0x90(r31) +/* 802B1BE0 002AEB40 48 00 00 1C */ b lbl_802B1BFC +lbl_802B1BE4: +/* 802B1BE4 002AEB44 3B 5F 00 84 */ addi r26, r31, 0x84 +/* 802B1BE8 002AEB48 38 81 00 88 */ addi r4, r1, 0x88 +/* 802B1BEC 002AEB4C 7F 43 D3 78 */ mr r3, r26 +/* 802B1BF0 002AEB50 48 08 F0 D5 */ bl __as__6CTokenFRC6CToken +/* 802B1BF4 002AEB54 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802B1BF8 002AEB58 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1BFC: +/* 802B1BFC 002AEB5C 38 61 00 88 */ addi r3, r1, 0x88 +/* 802B1C00 002AEB60 38 80 00 00 */ li r4, 0 +/* 802B1C04 002AEB64 48 08 F2 3D */ bl __dt__6CTokenFv +/* 802B1C08 002AEB68 38 61 00 3C */ addi r3, r1, 0x3c +/* 802B1C0C 002AEB6C 38 80 FF FF */ li r4, -1 +/* 802B1C10 002AEB70 48 08 F2 31 */ bl __dt__6CTokenFv +/* 802B1C14 002AEB74 48 00 01 D4 */ b lbl_802B1DE8 +lbl_802B1C18: +/* 802B1C18 002AEB78 7F C3 F3 78 */ mr r3, r30 +/* 802B1C1C 002AEB7C 48 07 46 39 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1C20 002AEB80 90 7F 00 18 */ stw r3, 0x18(r31) +/* 802B1C24 002AEB84 48 00 01 C4 */ b lbl_802B1DE8 +lbl_802B1C28: +/* 802B1C28 002AEB88 7F C3 F3 78 */ mr r3, r30 +/* 802B1C2C 002AEB8C 48 07 36 31 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1C30 002AEB90 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 802B1C34 002AEB94 48 00 01 B4 */ b lbl_802B1DE8 +lbl_802B1C38: +/* 802B1C38 002AEB98 7F C3 F3 78 */ mr r3, r30 +/* 802B1C3C 002AEB9C 48 07 68 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1C40 002AEBA0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1C44 002AEBA4 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1C48 002AEBA8 41 82 01 A0 */ beq lbl_802B1DE8 +/* 802B1C4C 002AEBAC 7F C3 F3 78 */ mr r3, r30 +/* 802B1C50 002AEBB0 48 08 D0 35 */ bl ReadLong__12CInputStreamFv +/* 802B1C54 002AEBB4 3C 80 43 52 */ lis r4, 0x43525343@ha +/* 802B1C58 002AEBB8 90 61 00 38 */ stw r3, 0x38(r1) +/* 802B1C5C 002AEBBC 38 04 53 43 */ addi r0, r4, 0x43525343@l +/* 802B1C60 002AEBC0 7F A4 EB 78 */ mr r4, r29 +/* 802B1C64 002AEBC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B1C68 002AEBC8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B1C6C 002AEBCC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802B1C70 002AEBD0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B1C74 002AEBD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B1C78 002AEBD8 7D 89 03 A6 */ mtctr r12 +/* 802B1C7C 002AEBDC 4E 80 04 21 */ bctrl +/* 802B1C80 002AEBE0 3B 41 00 7C */ addi r26, r1, 0x7c +/* 802B1C84 002AEBE4 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B1C88 002AEBE8 7F 43 D3 78 */ mr r3, r26 +/* 802B1C8C 002AEBEC 48 08 F2 1D */ bl __ct__6CTokenFRC6CToken +/* 802B1C90 002AEBF0 7F 43 D3 78 */ mr r3, r26 +/* 802B1C94 002AEBF4 48 08 F1 79 */ bl GetObj__6CTokenFv +/* 802B1C98 002AEBF8 80 03 00 04 */ lwz r0, 4(r3) +/* 802B1C9C 002AEBFC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802B1CA0 002AEC00 88 1F 00 A0 */ lbz r0, 0xa0(r31) +/* 802B1CA4 002AEC04 28 00 00 00 */ cmplwi r0, 0 +/* 802B1CA8 002AEC08 40 82 00 34 */ bne lbl_802B1CDC +/* 802B1CAC 002AEC0C 37 5F 00 94 */ addic. r26, r31, 0x94 +/* 802B1CB0 002AEC10 41 82 00 20 */ beq lbl_802B1CD0 +/* 802B1CB4 002AEC14 7F 43 D3 78 */ mr r3, r26 +/* 802B1CB8 002AEC18 38 81 00 7C */ addi r4, r1, 0x7c +/* 802B1CBC 002AEC1C 48 08 F1 ED */ bl __ct__6CTokenFRC6CToken +/* 802B1CC0 002AEC20 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802B1CC4 002AEC24 7F 43 D3 78 */ mr r3, r26 +/* 802B1CC8 002AEC28 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1CCC 002AEC2C 48 08 F0 B9 */ bl Lock__6CTokenFv +lbl_802B1CD0: +/* 802B1CD0 002AEC30 38 00 00 01 */ li r0, 1 +/* 802B1CD4 002AEC34 98 1F 00 A0 */ stb r0, 0xa0(r31) +/* 802B1CD8 002AEC38 48 00 00 1C */ b lbl_802B1CF4 +lbl_802B1CDC: +/* 802B1CDC 002AEC3C 3B 5F 00 94 */ addi r26, r31, 0x94 +/* 802B1CE0 002AEC40 38 81 00 7C */ addi r4, r1, 0x7c +/* 802B1CE4 002AEC44 7F 43 D3 78 */ mr r3, r26 +/* 802B1CE8 002AEC48 48 08 EF DD */ bl __as__6CTokenFRC6CToken +/* 802B1CEC 002AEC4C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802B1CF0 002AEC50 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1CF4: +/* 802B1CF4 002AEC54 38 61 00 7C */ addi r3, r1, 0x7c +/* 802B1CF8 002AEC58 38 80 00 00 */ li r4, 0 +/* 802B1CFC 002AEC5C 48 08 F1 45 */ bl __dt__6CTokenFv +/* 802B1D00 002AEC60 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B1D04 002AEC64 38 80 FF FF */ li r4, -1 +/* 802B1D08 002AEC68 48 08 F1 39 */ bl __dt__6CTokenFv +/* 802B1D0C 002AEC6C 48 00 00 DC */ b lbl_802B1DE8 +lbl_802B1D10: +/* 802B1D10 002AEC70 7F C3 F3 78 */ mr r3, r30 +/* 802B1D14 002AEC74 48 07 45 41 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D18 002AEC78 90 7F 00 20 */ stw r3, 0x20(r31) +/* 802B1D1C 002AEC7C 48 00 00 CC */ b lbl_802B1DE8 +lbl_802B1D20: +/* 802B1D20 002AEC80 7F C3 F3 78 */ mr r3, r30 +/* 802B1D24 002AEC84 48 07 45 31 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D28 002AEC88 90 7F 00 24 */ stw r3, 0x24(r31) +/* 802B1D2C 002AEC8C 48 00 00 BC */ b lbl_802B1DE8 +lbl_802B1D30: +/* 802B1D30 002AEC90 7F C3 F3 78 */ mr r3, r30 +/* 802B1D34 002AEC94 48 07 66 F5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1D38 002AEC98 98 7F 00 29 */ stb r3, 0x29(r31) +/* 802B1D3C 002AEC9C 48 00 00 AC */ b lbl_802B1DE8 +lbl_802B1D40: +/* 802B1D40 002AECA0 7F C3 F3 78 */ mr r3, r30 +/* 802B1D44 002AECA4 48 07 4F 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D48 002AECA8 90 7F 00 30 */ stw r3, 0x30(r31) +/* 802B1D4C 002AECAC 48 00 00 9C */ b lbl_802B1DE8 +lbl_802B1D50: +/* 802B1D50 002AECB0 7F C3 F3 78 */ mr r3, r30 +/* 802B1D54 002AECB4 48 07 67 09 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1D58 002AECB8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1D5C 002AECBC 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1D60 002AECC0 41 82 00 88 */ beq lbl_802B1DE8 +/* 802B1D64 002AECC4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D68 002AECC8 48 08 CF 1D */ bl ReadLong__12CInputStreamFv +/* 802B1D6C 002AECCC 90 7F 00 A8 */ stw r3, 0xa8(r31) +/* 802B1D70 002AECD0 48 00 00 78 */ b lbl_802B1DE8 +lbl_802B1D74: +/* 802B1D74 002AECD4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D78 002AECD8 48 07 4F 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D7C 002AECDC 90 7F 00 AC */ stw r3, 0xac(r31) +/* 802B1D80 002AECE0 48 00 00 68 */ b lbl_802B1DE8 +lbl_802B1D84: +/* 802B1D84 002AECE4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D88 002AECE8 48 07 4F 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D8C 002AECEC 90 7F 00 B0 */ stw r3, 0xb0(r31) +/* 802B1D90 002AECF0 48 00 00 58 */ b lbl_802B1DE8 +lbl_802B1D94: +/* 802B1D94 002AECF4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D98 002AECF8 48 07 66 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1D9C 002AECFC 98 7F 00 A4 */ stb r3, 0xa4(r31) +/* 802B1DA0 002AED00 48 00 00 48 */ b lbl_802B1DE8 +lbl_802B1DA4: +/* 802B1DA4 002AED04 7F C3 F3 78 */ mr r3, r30 +/* 802B1DA8 002AED08 48 07 66 81 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1DAC 002AED0C 98 7F 00 A5 */ stb r3, 0xa5(r31) +/* 802B1DB0 002AED10 48 00 00 38 */ b lbl_802B1DE8 +lbl_802B1DB4: +/* 802B1DB4 002AED14 7F C3 F3 78 */ mr r3, r30 +/* 802B1DB8 002AED18 48 07 66 71 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1DBC 002AED1C 98 7F 00 A6 */ stb r3, 0xa6(r31) +/* 802B1DC0 002AED20 48 00 00 28 */ b lbl_802B1DE8 +lbl_802B1DC4: +/* 802B1DC4 002AED24 3B 80 00 01 */ li r28, 1 +/* 802B1DC8 002AED28 48 00 00 20 */ b lbl_802B1DE8 +lbl_802B1DCC: +/* 802B1DCC 002AED2C 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B1DD0 002AED30 38 80 FF FF */ li r4, -1 +/* 802B1DD4 002AED34 48 06 08 31 */ bl __dt__13CGlobalRandomFv +/* 802B1DD8 002AED38 38 60 00 00 */ li r3, 0 +/* 802B1DDC 002AED3C 48 00 00 24 */ b lbl_802B1E00 +lbl_802B1DE0: +/* 802B1DE0 002AED40 3C 60 4C 57 */ lis r3, 0x4C575452@ha +/* 802B1DE4 002AED44 3B 63 54 52 */ addi r27, r3, 0x4C575452@l +lbl_802B1DE8: +/* 802B1DE8 002AED48 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802B1DEC 002AED4C 41 82 F3 94 */ beq lbl_802B1180 +/* 802B1DF0 002AED50 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B1DF4 002AED54 38 80 FF FF */ li r4, -1 +/* 802B1DF8 002AED58 48 06 08 0D */ bl __dt__13CGlobalRandomFv +/* 802B1DFC 002AED5C 38 60 00 01 */ li r3, 1 +lbl_802B1E00: +/* 802B1E00 002AED60 BB 41 01 58 */ lmw r26, 0x158(r1) +/* 802B1E04 002AED64 80 01 01 74 */ lwz r0, 0x174(r1) +/* 802B1E08 002AED68 7C 08 03 A6 */ mtlr r0 +/* 802B1E0C 002AED6C 38 21 01 70 */ addi r1, r1, 0x170 +/* 802B1E10 002AED70 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B1E14 002AED74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B1E18 002AED78 7C 08 02 A6 */ mflr r0 +/* 802B1E1C 002AED7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B1E20 002AED80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B1E24 002AED84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B1E28 002AED88 7C 9E 23 78 */ mr r30, r4 +/* 802B1E2C 002AED8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B1E30 002AED90 7C 7D 1B 78 */ mr r29, r3 +/* 802B1E34 002AED94 48 07 66 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1E38 002AED98 3C 03 A8 B0 */ addis r0, r3, 0xa8b0 +/* 802B1E3C 002AED9C 28 00 53 4D */ cmplwi r0, 0x534d +/* 802B1E40 002AEDA0 41 82 00 0C */ beq lbl_802B1E4C +/* 802B1E44 002AEDA4 38 60 00 00 */ li r3, 0 +/* 802B1E48 002AEDA8 48 00 00 3C */ b lbl_802B1E84 +lbl_802B1E4C: +/* 802B1E4C 002AEDAC 3C 80 80 3D */ lis r4, lbl_803D6190@ha +/* 802B1E50 002AEDB0 38 60 00 B4 */ li r3, 0xb4 +/* 802B1E54 002AEDB4 38 84 61 90 */ addi r4, r4, lbl_803D6190@l +/* 802B1E58 002AEDB8 38 A0 00 00 */ li r5, 0 +/* 802B1E5C 002AEDBC 48 06 3A 11 */ bl __nw__FUlPCcPCc +/* 802B1E60 002AEDC0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B1E64 002AEDC4 41 82 00 0C */ beq lbl_802B1E70 +/* 802B1E68 002AEDC8 48 00 3D D1 */ bl __ct__18CWeaponDescriptionFv +/* 802B1E6C 002AEDCC 7C 7F 1B 78 */ mr r31, r3 +lbl_802B1E70: +/* 802B1E70 002AEDD0 7F E3 FB 78 */ mr r3, r31 +/* 802B1E74 002AEDD4 7F A4 EB 78 */ mr r4, r29 +/* 802B1E78 002AEDD8 7F C5 F3 78 */ mr r5, r30 +/* 802B1E7C 002AEDDC 4B FF F2 C9 */ bl CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool +/* 802B1E80 002AEDE0 7F E3 FB 78 */ mr r3, r31 +lbl_802B1E84: +/* 802B1E84 002AEDE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B1E88 002AEDE8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B1E8C 002AEDEC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B1E90 002AEDF0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B1E94 002AEDF4 7C 08 03 A6 */ mtlr r0 +/* 802B1E98 002AEDF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B1E9C 002AEDFC 4E 80 00 20 */ blr + +.global GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B1EA0 002AEE00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B1EA4 002AEE04 7C 08 02 A6 */ mflr r0 +/* 802B1EA8 002AEE08 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B1EAC 002AEE0C 38 00 00 00 */ li r0, 0 +/* 802B1EB0 002AEE10 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B1EB4 002AEE14 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802B1EB8 002AEE18 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B1EBC 002AEE1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B1EC0 002AEE20 4B FF FF 55 */ bl CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +/* 802B1EC4 002AEE24 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802B1EC8 002AEE28 7C 7F 1B 78 */ mr r31, r3 +/* 802B1ECC 002AEE2C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802B1ED0 002AEE30 54 00 10 3A */ slwi r0, r0, 2 +/* 802B1ED4 002AEE34 7C 04 02 14 */ add r0, r4, r0 +/* 802B1ED8 002AEE38 90 81 00 0C */ stw r4, 0xc(r1) +/* 802B1EDC 002AEE3C 7C 83 23 78 */ mr r3, r4 +/* 802B1EE0 002AEE40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B1EE4 002AEE44 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B1EE8 002AEE48 90 81 00 08 */ stw r4, 8(r1) +/* 802B1EEC 002AEE4C 48 00 00 08 */ b lbl_802B1EF4 +lbl_802B1EF0: +/* 802B1EF0 002AEE50 38 63 00 04 */ addi r3, r3, 4 +lbl_802B1EF4: +/* 802B1EF4 002AEE54 7C 03 00 40 */ cmplw r3, r0 +/* 802B1EF8 002AEE58 40 82 FF F8 */ bne lbl_802B1EF0 +/* 802B1EFC 002AEE5C 28 04 00 00 */ cmplwi r4, 0 +/* 802B1F00 002AEE60 41 82 00 0C */ beq lbl_802B1F0C +/* 802B1F04 002AEE64 7C 83 23 78 */ mr r3, r4 +/* 802B1F08 002AEE68 48 06 3A 29 */ bl Free__7CMemoryFPCv +lbl_802B1F0C: +/* 802B1F0C 002AEE6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B1F10 002AEE70 7F E3 FB 78 */ mr r3, r31 +/* 802B1F14 002AEE74 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B1F18 002AEE78 7C 08 03 A6 */ mtlr r0 +/* 802B1F1C 002AEE7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B1F20 002AEE80 4E 80 00 20 */ blr + +.global "__dt__46TObjOwnerDerivedFromIObj<18CWeaponDescription>Fv" +"__dt__46TObjOwnerDerivedFromIObj<18CWeaponDescription>Fv": +/* 802B1F24 002AEE84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B1F28 002AEE88 7C 08 02 A6 */ mflr r0 +/* 802B1F2C 002AEE8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B1F30 002AEE90 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B1F34 002AEE94 7C 9F 23 78 */ mr r31, r4 +/* 802B1F38 002AEE98 93 C1 00 08 */ stw r30, 8(r1) +/* 802B1F3C 002AEE9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B1F40 002AEEA0 41 82 00 58 */ beq lbl_802B1F98 +/* 802B1F44 002AEEA4 3C 60 80 3F */ lis r3, lbl_803EC508@ha +/* 802B1F48 002AEEA8 38 03 C5 08 */ addi r0, r3, lbl_803EC508@l +/* 802B1F4C 002AEEAC 90 1E 00 00 */ stw r0, 0(r30) +/* 802B1F50 002AEEB0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B1F54 002AEEB4 28 03 00 00 */ cmplwi r3, 0 +/* 802B1F58 002AEEB8 41 82 00 0C */ beq lbl_802B1F64 +/* 802B1F5C 002AEEBC 38 80 00 01 */ li r4, 1 +/* 802B1F60 002AEEC0 48 00 39 41 */ bl __dt__18CWeaponDescriptionFv +lbl_802B1F64: +/* 802B1F64 002AEEC4 28 1E 00 00 */ cmplwi r30, 0 +/* 802B1F68 002AEEC8 41 82 00 20 */ beq lbl_802B1F88 +/* 802B1F6C 002AEECC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802B1F70 002AEED0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802B1F74 002AEED4 90 1E 00 00 */ stw r0, 0(r30) +/* 802B1F78 002AEED8 41 82 00 10 */ beq lbl_802B1F88 +/* 802B1F7C 002AEEDC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802B1F80 002AEEE0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802B1F84 002AEEE4 90 1E 00 00 */ stw r0, 0(r30) +lbl_802B1F88: +/* 802B1F88 002AEEE8 7F E0 07 35 */ extsh. r0, r31 +/* 802B1F8C 002AEEEC 40 81 00 0C */ ble lbl_802B1F98 +/* 802B1F90 002AEEF0 7F C3 F3 78 */ mr r3, r30 +/* 802B1F94 002AEEF4 48 06 39 9D */ bl Free__7CMemoryFPCv +lbl_802B1F98: +/* 802B1F98 002AEEF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B1F9C 002AEEFC 7F C3 F3 78 */ mr r3, r30 +/* 802B1FA0 002AEF00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B1FA4 002AEF04 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B1FA8 002AEF08 7C 08 03 A6 */ mtlr r0 +/* 802B1FAC 002AEF0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B1FB0 002AEF10 4E 80 00 20 */ blr + +.global FProjectileWeaponDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FProjectileWeaponDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802B1FB4 002AEF14 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B1FB8 002AEF18 7C 08 02 A6 */ mflr r0 +/* 802B1FBC 002AEF1C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B1FC0 002AEF20 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B1FC4 002AEF24 7C 7F 1B 78 */ mr r31, r3 +/* 802B1FC8 002AEF28 7C A3 2B 78 */ mr r3, r5 +/* 802B1FCC 002AEF2C 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B1FD0 002AEF30 90 C1 00 08 */ stw r6, 8(r1) +/* 802B1FD4 002AEF34 80 86 00 04 */ lwz r4, 4(r6) +/* 802B1FD8 002AEF38 38 04 00 01 */ addi r0, r4, 1 +/* 802B1FDC 002AEF3C 90 06 00 04 */ stw r0, 4(r6) +/* 802B1FE0 002AEF40 80 81 00 08 */ lwz r4, 8(r1) +/* 802B1FE4 002AEF44 80 84 00 00 */ lwz r4, 0(r4) +/* 802B1FE8 002AEF48 80 84 00 04 */ lwz r4, 4(r4) +/* 802B1FEC 002AEF4C 4B FF FE B5 */ bl GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +/* 802B1FF0 002AEF50 7C 03 00 D0 */ neg r0, r3 +/* 802B1FF4 002AEF54 90 61 00 10 */ stw r3, 0x10(r1) +/* 802B1FF8 002AEF58 7C 00 1B 78 */ or r0, r0, r3 +/* 802B1FFC 002AEF5C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B2000 002AEF60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B2004 002AEF64 38 81 00 0C */ addi r4, r1, 0xc +/* 802B2008 002AEF68 98 01 00 0C */ stb r0, 0xc(r1) +/* 802B200C 002AEF6C 48 00 00 85 */ bl "GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +/* 802B2010 002AEF70 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B2014 002AEF74 38 00 00 00 */ li r0, 0 +/* 802B2018 002AEF78 98 01 00 14 */ stb r0, 0x14(r1) +/* 802B201C 002AEF7C 7C 03 00 D0 */ neg r0, r3 +/* 802B2020 002AEF80 7C 00 1B 78 */ or r0, r0, r3 +/* 802B2024 002AEF84 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B2028 002AEF88 98 1F 00 00 */ stb r0, 0(r31) +/* 802B202C 002AEF8C 90 7F 00 04 */ stw r3, 4(r31) +/* 802B2030 002AEF90 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802B2034 002AEF94 28 00 00 00 */ cmplwi r0, 0 +/* 802B2038 002AEF98 41 82 00 24 */ beq lbl_802B205C +/* 802B203C 002AEF9C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B2040 002AEFA0 28 03 00 00 */ cmplwi r3, 0 +/* 802B2044 002AEFA4 41 82 00 18 */ beq lbl_802B205C +/* 802B2048 002AEFA8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B204C 002AEFAC 38 80 00 01 */ li r4, 1 +/* 802B2050 002AEFB0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B2054 002AEFB4 7D 89 03 A6 */ mtctr r12 +/* 802B2058 002AEFB8 4E 80 04 21 */ bctrl +lbl_802B205C: +/* 802B205C 002AEFBC 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802B2060 002AEFC0 28 00 00 00 */ cmplwi r0, 0 +/* 802B2064 002AEFC4 41 82 00 10 */ beq lbl_802B2074 +/* 802B2068 002AEFC8 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B206C 002AEFCC 38 80 00 01 */ li r4, 1 +/* 802B2070 002AEFD0 48 00 38 31 */ bl __dt__18CWeaponDescriptionFv +lbl_802B2074: +/* 802B2074 002AEFD4 38 61 00 08 */ addi r3, r1, 8 +/* 802B2078 002AEFD8 4B D8 22 8D */ bl sub_80034304 +/* 802B207C 002AEFDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2080 002AEFE0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B2084 002AEFE4 7C 08 03 A6 */ mtlr r0 +/* 802B2088 002AEFE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B208C 002AEFEC 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +"GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>": +/* 802B2090 002AEFF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2094 002AEFF4 7C 08 02 A6 */ mflr r0 +/* 802B2098 002AEFF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B209C 002AEFFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B20A0 002AF000 7C 7F 1B 78 */ mr r31, r3 +/* 802B20A4 002AF004 48 00 00 19 */ bl "GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +/* 802B20A8 002AF008 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B20AC 002AF00C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B20B0 002AF010 7C 08 03 A6 */ mtlr r0 +/* 802B20B4 002AF014 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B20B8 002AF018 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +"GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>": +/* 802B20BC 002AF01C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B20C0 002AF020 7C 08 02 A6 */ mflr r0 +/* 802B20C4 002AF024 3C A0 80 3D */ lis r5, lbl_803D6190@ha +/* 802B20C8 002AF028 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B20CC 002AF02C 38 05 61 90 */ addi r0, r5, lbl_803D6190@l +/* 802B20D0 002AF030 38 A0 00 00 */ li r5, 0 +/* 802B20D4 002AF034 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B20D8 002AF038 7C 9F 23 78 */ mr r31, r4 +/* 802B20DC 002AF03C 7C 04 03 78 */ mr r4, r0 +/* 802B20E0 002AF040 93 C1 00 08 */ stw r30, 8(r1) +/* 802B20E4 002AF044 7C 7E 1B 78 */ mr r30, r3 +/* 802B20E8 002AF048 38 60 00 08 */ li r3, 8 +/* 802B20EC 002AF04C 48 06 37 81 */ bl __nw__FUlPCcPCc +/* 802B20F0 002AF050 28 03 00 00 */ cmplwi r3, 0 +/* 802B20F4 002AF054 41 82 00 38 */ beq lbl_802B212C +/* 802B20F8 002AF058 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802B20FC 002AF05C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802B2100 002AF060 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802B2104 002AF064 3C 80 80 3F */ lis r4, lbl_803EC508@ha +/* 802B2108 002AF068 90 03 00 00 */ stw r0, 0(r3) +/* 802B210C 002AF06C 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802B2110 002AF070 38 A0 00 00 */ li r5, 0 +/* 802B2114 002AF074 38 04 C5 08 */ addi r0, r4, lbl_803EC508@l +/* 802B2118 002AF078 90 C3 00 00 */ stw r6, 0(r3) +/* 802B211C 002AF07C 98 BF 00 00 */ stb r5, 0(r31) +/* 802B2120 002AF080 80 9F 00 04 */ lwz r4, 4(r31) +/* 802B2124 002AF084 90 83 00 04 */ stw r4, 4(r3) +/* 802B2128 002AF088 90 03 00 00 */ stw r0, 0(r3) +lbl_802B212C: +/* 802B212C 002AF08C 7C 03 00 D0 */ neg r0, r3 +/* 802B2130 002AF090 7C 00 1B 78 */ or r0, r0, r3 +/* 802B2134 002AF094 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B2138 002AF098 98 1E 00 00 */ stb r0, 0(r30) +/* 802B213C 002AF09C 90 7E 00 04 */ stw r3, 4(r30) +/* 802B2140 002AF0A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B2144 002AF0A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B2148 002AF0A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B214C 002AF0AC 7C 08 03 A6 */ mtlr r0 +/* 802B2150 002AF0B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B2154 002AF0B4 4E 80 00 20 */ blr diff --git a/asm/Weapons/CWeaponDescription.s b/asm/Weapons/CWeaponDescription.s new file mode 100644 index 00000000..da1872ee --- /dev/null +++ b/asm/Weapons/CWeaponDescription.s @@ -0,0 +1,317 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__18CWeaponDescriptionFv +__dt__18CWeaponDescriptionFv: +/* 802B58A0 002B2800 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B58A4 002B2804 7C 08 02 A6 */ mflr r0 +/* 802B58A8 002B2808 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B58AC 002B280C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B58B0 002B2810 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B58B4 002B2814 93 C1 00 08 */ stw r30, 8(r1) +/* 802B58B8 002B2818 7C 9E 23 78 */ mr r30, r4 +/* 802B58BC 002B281C 41 82 03 00 */ beq lbl_802B5BBC +/* 802B58C0 002B2820 80 7F 00 04 */ lwz r3, 4(r31) +/* 802B58C4 002B2824 28 03 00 00 */ cmplwi r3, 0 +/* 802B58C8 002B2828 41 82 00 18 */ beq lbl_802B58E0 +/* 802B58CC 002B282C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B58D0 002B2830 38 80 00 01 */ li r4, 1 +/* 802B58D4 002B2834 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B58D8 002B2838 7D 89 03 A6 */ mtctr r12 +/* 802B58DC 002B283C 4E 80 04 21 */ bctrl +lbl_802B58E0: +/* 802B58E0 002B2840 80 7F 00 00 */ lwz r3, 0(r31) +/* 802B58E4 002B2844 28 03 00 00 */ cmplwi r3, 0 +/* 802B58E8 002B2848 41 82 00 18 */ beq lbl_802B5900 +/* 802B58EC 002B284C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B58F0 002B2850 38 80 00 01 */ li r4, 1 +/* 802B58F4 002B2854 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B58F8 002B2858 7D 89 03 A6 */ mtctr r12 +/* 802B58FC 002B285C 4E 80 04 21 */ bctrl +lbl_802B5900: +/* 802B5900 002B2860 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B5904 002B2864 28 03 00 00 */ cmplwi r3, 0 +/* 802B5908 002B2868 41 82 00 18 */ beq lbl_802B5920 +/* 802B590C 002B286C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5910 002B2870 38 80 00 01 */ li r4, 1 +/* 802B5914 002B2874 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5918 002B2878 7D 89 03 A6 */ mtctr r12 +/* 802B591C 002B287C 4E 80 04 21 */ bctrl +lbl_802B5920: +/* 802B5920 002B2880 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B5924 002B2884 28 03 00 00 */ cmplwi r3, 0 +/* 802B5928 002B2888 41 82 00 18 */ beq lbl_802B5940 +/* 802B592C 002B288C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5930 002B2890 38 80 00 01 */ li r4, 1 +/* 802B5934 002B2894 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5938 002B2898 7D 89 03 A6 */ mtctr r12 +/* 802B593C 002B289C 4E 80 04 21 */ bctrl +lbl_802B5940: +/* 802B5940 002B28A0 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802B5944 002B28A4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5948 002B28A8 41 82 00 18 */ beq lbl_802B5960 +/* 802B594C 002B28AC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5950 002B28B0 38 80 00 01 */ li r4, 1 +/* 802B5954 002B28B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5958 002B28B8 7D 89 03 A6 */ mtctr r12 +/* 802B595C 002B28BC 4E 80 04 21 */ bctrl +lbl_802B5960: +/* 802B5960 002B28C0 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802B5964 002B28C4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5968 002B28C8 41 82 00 18 */ beq lbl_802B5980 +/* 802B596C 002B28CC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5970 002B28D0 38 80 00 01 */ li r4, 1 +/* 802B5974 002B28D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5978 002B28D8 7D 89 03 A6 */ mtctr r12 +/* 802B597C 002B28DC 4E 80 04 21 */ bctrl +lbl_802B5980: +/* 802B5980 002B28E0 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802B5984 002B28E4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5988 002B28E8 41 82 00 18 */ beq lbl_802B59A0 +/* 802B598C 002B28EC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5990 002B28F0 38 80 00 01 */ li r4, 1 +/* 802B5994 002B28F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5998 002B28F8 7D 89 03 A6 */ mtctr r12 +/* 802B599C 002B28FC 4E 80 04 21 */ bctrl +lbl_802B59A0: +/* 802B59A0 002B2900 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802B59A4 002B2904 28 03 00 00 */ cmplwi r3, 0 +/* 802B59A8 002B2908 41 82 00 18 */ beq lbl_802B59C0 +/* 802B59AC 002B290C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B59B0 002B2910 38 80 00 01 */ li r4, 1 +/* 802B59B4 002B2914 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B59B8 002B2918 7D 89 03 A6 */ mtctr r12 +/* 802B59BC 002B291C 4E 80 04 21 */ bctrl +lbl_802B59C0: +/* 802B59C0 002B2920 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802B59C4 002B2924 28 03 00 00 */ cmplwi r3, 0 +/* 802B59C8 002B2928 41 82 00 18 */ beq lbl_802B59E0 +/* 802B59CC 002B292C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B59D0 002B2930 38 80 00 01 */ li r4, 1 +/* 802B59D4 002B2934 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B59D8 002B2938 7D 89 03 A6 */ mtctr r12 +/* 802B59DC 002B293C 4E 80 04 21 */ bctrl +lbl_802B59E0: +/* 802B59E0 002B2940 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802B59E4 002B2944 28 03 00 00 */ cmplwi r3, 0 +/* 802B59E8 002B2948 41 82 00 18 */ beq lbl_802B5A00 +/* 802B59EC 002B294C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B59F0 002B2950 38 80 00 01 */ li r4, 1 +/* 802B59F4 002B2954 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B59F8 002B2958 7D 89 03 A6 */ mtctr r12 +/* 802B59FC 002B295C 4E 80 04 21 */ bctrl +lbl_802B5A00: +/* 802B5A00 002B2960 80 7F 00 AC */ lwz r3, 0xac(r31) +/* 802B5A04 002B2964 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A08 002B2968 41 82 00 18 */ beq lbl_802B5A20 +/* 802B5A0C 002B296C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5A10 002B2970 38 80 00 01 */ li r4, 1 +/* 802B5A14 002B2974 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5A18 002B2978 7D 89 03 A6 */ mtctr r12 +/* 802B5A1C 002B297C 4E 80 04 21 */ bctrl +lbl_802B5A20: +/* 802B5A20 002B2980 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 802B5A24 002B2984 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A28 002B2988 41 82 00 18 */ beq lbl_802B5A40 +/* 802B5A2C 002B298C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5A30 002B2990 38 80 00 01 */ li r4, 1 +/* 802B5A34 002B2994 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5A38 002B2998 7D 89 03 A6 */ mtctr r12 +/* 802B5A3C 002B299C 4E 80 04 21 */ bctrl +lbl_802B5A40: +/* 802B5A40 002B29A0 34 1F 00 94 */ addic. r0, r31, 0x94 +/* 802B5A44 002B29A4 41 82 00 30 */ beq lbl_802B5A74 +/* 802B5A48 002B29A8 88 1F 00 A0 */ lbz r0, 0xa0(r31) +/* 802B5A4C 002B29AC 28 00 00 00 */ cmplwi r0, 0 +/* 802B5A50 002B29B0 41 82 00 1C */ beq lbl_802B5A6C +/* 802B5A54 002B29B4 34 7F 00 94 */ addic. r3, r31, 0x94 +/* 802B5A58 002B29B8 41 82 00 14 */ beq lbl_802B5A6C +/* 802B5A5C 002B29BC 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A60 002B29C0 41 82 00 0C */ beq lbl_802B5A6C +/* 802B5A64 002B29C4 38 80 00 00 */ li r4, 0 +/* 802B5A68 002B29C8 48 08 B3 D9 */ bl __dt__6CTokenFv +lbl_802B5A6C: +/* 802B5A6C 002B29CC 38 00 00 00 */ li r0, 0 +/* 802B5A70 002B29D0 98 1F 00 A0 */ stb r0, 0xa0(r31) +lbl_802B5A74: +/* 802B5A74 002B29D4 34 1F 00 84 */ addic. r0, r31, 0x84 +/* 802B5A78 002B29D8 41 82 00 30 */ beq lbl_802B5AA8 +/* 802B5A7C 002B29DC 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 802B5A80 002B29E0 28 00 00 00 */ cmplwi r0, 0 +/* 802B5A84 002B29E4 41 82 00 1C */ beq lbl_802B5AA0 +/* 802B5A88 002B29E8 34 7F 00 84 */ addic. r3, r31, 0x84 +/* 802B5A8C 002B29EC 41 82 00 14 */ beq lbl_802B5AA0 +/* 802B5A90 002B29F0 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A94 002B29F4 41 82 00 0C */ beq lbl_802B5AA0 +/* 802B5A98 002B29F8 38 80 00 00 */ li r4, 0 +/* 802B5A9C 002B29FC 48 08 B3 A5 */ bl __dt__6CTokenFv +lbl_802B5AA0: +/* 802B5AA0 002B2A00 38 00 00 00 */ li r0, 0 +/* 802B5AA4 002B2A04 98 1F 00 90 */ stb r0, 0x90(r31) +lbl_802B5AA8: +/* 802B5AA8 002B2A08 34 1F 00 74 */ addic. r0, r31, 0x74 +/* 802B5AAC 002B2A0C 41 82 00 30 */ beq lbl_802B5ADC +/* 802B5AB0 002B2A10 88 1F 00 80 */ lbz r0, 0x80(r31) +/* 802B5AB4 002B2A14 28 00 00 00 */ cmplwi r0, 0 +/* 802B5AB8 002B2A18 41 82 00 1C */ beq lbl_802B5AD4 +/* 802B5ABC 002B2A1C 34 7F 00 74 */ addic. r3, r31, 0x74 +/* 802B5AC0 002B2A20 41 82 00 14 */ beq lbl_802B5AD4 +/* 802B5AC4 002B2A24 28 03 00 00 */ cmplwi r3, 0 +/* 802B5AC8 002B2A28 41 82 00 0C */ beq lbl_802B5AD4 +/* 802B5ACC 002B2A2C 38 80 00 00 */ li r4, 0 +/* 802B5AD0 002B2A30 48 08 B3 71 */ bl __dt__6CTokenFv +lbl_802B5AD4: +/* 802B5AD4 002B2A34 38 00 00 00 */ li r0, 0 +/* 802B5AD8 002B2A38 98 1F 00 80 */ stb r0, 0x80(r31) +lbl_802B5ADC: +/* 802B5ADC 002B2A3C 34 1F 00 64 */ addic. r0, r31, 0x64 +/* 802B5AE0 002B2A40 41 82 00 30 */ beq lbl_802B5B10 +/* 802B5AE4 002B2A44 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 802B5AE8 002B2A48 28 00 00 00 */ cmplwi r0, 0 +/* 802B5AEC 002B2A4C 41 82 00 1C */ beq lbl_802B5B08 +/* 802B5AF0 002B2A50 34 7F 00 64 */ addic. r3, r31, 0x64 +/* 802B5AF4 002B2A54 41 82 00 14 */ beq lbl_802B5B08 +/* 802B5AF8 002B2A58 28 03 00 00 */ cmplwi r3, 0 +/* 802B5AFC 002B2A5C 41 82 00 0C */ beq lbl_802B5B08 +/* 802B5B00 002B2A60 38 80 00 00 */ li r4, 0 +/* 802B5B04 002B2A64 48 08 B3 3D */ bl __dt__6CTokenFv +lbl_802B5B08: +/* 802B5B08 002B2A68 38 00 00 00 */ li r0, 0 +/* 802B5B0C 002B2A6C 98 1F 00 70 */ stb r0, 0x70(r31) +lbl_802B5B10: +/* 802B5B10 002B2A70 34 1F 00 54 */ addic. r0, r31, 0x54 +/* 802B5B14 002B2A74 41 82 00 30 */ beq lbl_802B5B44 +/* 802B5B18 002B2A78 88 1F 00 60 */ lbz r0, 0x60(r31) +/* 802B5B1C 002B2A7C 28 00 00 00 */ cmplwi r0, 0 +/* 802B5B20 002B2A80 41 82 00 1C */ beq lbl_802B5B3C +/* 802B5B24 002B2A84 34 7F 00 54 */ addic. r3, r31, 0x54 +/* 802B5B28 002B2A88 41 82 00 14 */ beq lbl_802B5B3C +/* 802B5B2C 002B2A8C 28 03 00 00 */ cmplwi r3, 0 +/* 802B5B30 002B2A90 41 82 00 0C */ beq lbl_802B5B3C +/* 802B5B34 002B2A94 38 80 00 00 */ li r4, 0 +/* 802B5B38 002B2A98 48 08 B3 09 */ bl __dt__6CTokenFv +lbl_802B5B3C: +/* 802B5B3C 002B2A9C 38 00 00 00 */ li r0, 0 +/* 802B5B40 002B2AA0 98 1F 00 60 */ stb r0, 0x60(r31) +lbl_802B5B44: +/* 802B5B44 002B2AA4 34 1F 00 44 */ addic. r0, r31, 0x44 +/* 802B5B48 002B2AA8 41 82 00 30 */ beq lbl_802B5B78 +/* 802B5B4C 002B2AAC 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B5B50 002B2AB0 28 00 00 00 */ cmplwi r0, 0 +/* 802B5B54 002B2AB4 41 82 00 1C */ beq lbl_802B5B70 +/* 802B5B58 002B2AB8 34 7F 00 44 */ addic. r3, r31, 0x44 +/* 802B5B5C 002B2ABC 41 82 00 14 */ beq lbl_802B5B70 +/* 802B5B60 002B2AC0 28 03 00 00 */ cmplwi r3, 0 +/* 802B5B64 002B2AC4 41 82 00 0C */ beq lbl_802B5B70 +/* 802B5B68 002B2AC8 38 80 00 00 */ li r4, 0 +/* 802B5B6C 002B2ACC 48 08 B2 D5 */ bl __dt__6CTokenFv +lbl_802B5B70: +/* 802B5B70 002B2AD0 38 00 00 00 */ li r0, 0 +/* 802B5B74 002B2AD4 98 1F 00 50 */ stb r0, 0x50(r31) +lbl_802B5B78: +/* 802B5B78 002B2AD8 34 1F 00 34 */ addic. r0, r31, 0x34 +/* 802B5B7C 002B2ADC 41 82 00 30 */ beq lbl_802B5BAC +/* 802B5B80 002B2AE0 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B5B84 002B2AE4 28 00 00 00 */ cmplwi r0, 0 +/* 802B5B88 002B2AE8 41 82 00 1C */ beq lbl_802B5BA4 +/* 802B5B8C 002B2AEC 34 7F 00 34 */ addic. r3, r31, 0x34 +/* 802B5B90 002B2AF0 41 82 00 14 */ beq lbl_802B5BA4 +/* 802B5B94 002B2AF4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5B98 002B2AF8 41 82 00 0C */ beq lbl_802B5BA4 +/* 802B5B9C 002B2AFC 38 80 00 00 */ li r4, 0 +/* 802B5BA0 002B2B00 48 08 B2 A1 */ bl __dt__6CTokenFv +lbl_802B5BA4: +/* 802B5BA4 002B2B04 38 00 00 00 */ li r0, 0 +/* 802B5BA8 002B2B08 98 1F 00 40 */ stb r0, 0x40(r31) +lbl_802B5BAC: +/* 802B5BAC 002B2B0C 7F C0 07 35 */ extsh. r0, r30 +/* 802B5BB0 002B2B10 40 81 00 0C */ ble lbl_802B5BBC +/* 802B5BB4 002B2B14 7F E3 FB 78 */ mr r3, r31 +/* 802B5BB8 002B2B18 48 05 FD 79 */ bl Free__7CMemoryFPCv +lbl_802B5BBC: +/* 802B5BBC 002B2B1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5BC0 002B2B20 7F E3 FB 78 */ mr r3, r31 +/* 802B5BC4 002B2B24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B5BC8 002B2B28 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B5BCC 002B2B2C 7C 08 03 A6 */ mtlr r0 +/* 802B5BD0 002B2B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5BD4 002B2B34 4E 80 00 20 */ blr + +.global __dt__17CModVectorElement +__dt__17CModVectorElement: +/* 802B5BD8 002B2B38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5BDC 002B2B3C 7C 08 02 A6 */ mflr r0 +/* 802B5BE0 002B2B40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5BE4 002B2B44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B5BE8 002B2B48 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B5BEC 002B2B4C 41 82 00 34 */ beq lbl_802B5C20 +/* 802B5BF0 002B2B50 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 802B5BF4 002B2B54 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 802B5BF8 002B2B58 90 1F 00 00 */ stw r0, 0(r31) +/* 802B5BFC 002B2B5C 41 82 00 10 */ beq lbl_802B5C0C +/* 802B5C00 002B2B60 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B5C04 002B2B64 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B5C08 002B2B68 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B5C0C: +/* 802B5C0C 002B2B6C 7C 80 07 35 */ extsh. r0, r4 +/* 802B5C10 002B2B70 40 81 00 10 */ ble lbl_802B5C20 +/* 802B5C14 002B2B74 7F E3 FB 78 */ mr r3, r31 +/* 802B5C18 002B2B78 38 80 00 04 */ li r4, 4 +/* 802B5C1C 002B2B7C 48 0B 6E 49 */ bl sub_8036ca64 +lbl_802B5C20: +/* 802B5C20 002B2B80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5C24 002B2B84 7F E3 FB 78 */ mr r3, r31 +/* 802B5C28 002B2B88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B5C2C 002B2B8C 7C 08 03 A6 */ mtlr r0 +/* 802B5C30 002B2B90 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5C34 002B2B94 4E 80 00 20 */ blr + +.global __ct__18CWeaponDescriptionFv +__ct__18CWeaponDescriptionFv: +/* 802B5C38 002B2B98 38 A0 00 00 */ li r5, 0 +/* 802B5C3C 002B2B9C 38 80 00 01 */ li r4, 1 +/* 802B5C40 002B2BA0 90 A3 00 00 */ stw r5, 0(r3) +/* 802B5C44 002B2BA4 38 00 FF FF */ li r0, -1 +/* 802B5C48 002B2BA8 90 A3 00 04 */ stw r5, 4(r3) +/* 802B5C4C 002B2BAC 90 A3 00 08 */ stw r5, 8(r3) +/* 802B5C50 002B2BB0 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802B5C54 002B2BB4 98 A3 00 10 */ stb r5, 0x10(r3) +/* 802B5C58 002B2BB8 90 A3 00 14 */ stw r5, 0x14(r3) +/* 802B5C5C 002B2BBC 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802B5C60 002B2BC0 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 802B5C64 002B2BC4 90 A3 00 20 */ stw r5, 0x20(r3) +/* 802B5C68 002B2BC8 90 A3 00 24 */ stw r5, 0x24(r3) +/* 802B5C6C 002B2BCC 98 A3 00 28 */ stb r5, 0x28(r3) +/* 802B5C70 002B2BD0 98 A3 00 2A */ stb r5, 0x2a(r3) +/* 802B5C74 002B2BD4 98 A3 00 2B */ stb r5, 0x2b(r3) +/* 802B5C78 002B2BD8 98 A3 00 2C */ stb r5, 0x2c(r3) +/* 802B5C7C 002B2BDC 98 A3 00 2D */ stb r5, 0x2d(r3) +/* 802B5C80 002B2BE0 98 A3 00 2E */ stb r5, 0x2e(r3) +/* 802B5C84 002B2BE4 90 A3 00 30 */ stw r5, 0x30(r3) +/* 802B5C88 002B2BE8 98 A3 00 40 */ stb r5, 0x40(r3) +/* 802B5C8C 002B2BEC 98 A3 00 50 */ stb r5, 0x50(r3) +/* 802B5C90 002B2BF0 98 A3 00 60 */ stb r5, 0x60(r3) +/* 802B5C94 002B2BF4 98 A3 00 70 */ stb r5, 0x70(r3) +/* 802B5C98 002B2BF8 98 A3 00 80 */ stb r5, 0x80(r3) +/* 802B5C9C 002B2BFC 98 A3 00 90 */ stb r5, 0x90(r3) +/* 802B5CA0 002B2C00 98 A3 00 A0 */ stb r5, 0xa0(r3) +/* 802B5CA4 002B2C04 98 83 00 A4 */ stb r4, 0xa4(r3) +/* 802B5CA8 002B2C08 98 83 00 A5 */ stb r4, 0xa5(r3) +/* 802B5CAC 002B2C0C 98 83 00 A6 */ stb r4, 0xa6(r3) +/* 802B5CB0 002B2C10 90 03 00 A8 */ stw r0, 0xa8(r3) +/* 802B5CB4 002B2C14 90 A3 00 AC */ stw r5, 0xac(r3) +/* 802B5CB8 002B2C18 90 A3 00 B0 */ stw r5, 0xb0(r3) +/* 802B5CBC 002B2C1C 4E 80 00 20 */ blr + +.global sub_802b5cc0 +sub_802b5cc0: +/* 802B5CC0 002B2C20 38 00 00 00 */ li r0, 0 +/* 802B5CC4 002B2C24 90 03 00 00 */ stw r0, 0(r3) +/* 802B5CC8 002B2C28 90 03 00 04 */ stw r0, 4(r3) +/* 802B5CCC 002B2C2C 90 03 00 08 */ stw r0, 8(r3) +/* 802B5CD0 002B2C30 90 03 00 0C */ stw r0, 0xc(r3) +/* 802B5CD4 002B2C34 90 03 00 10 */ stw r0, 0x10(r3) +/* 802B5CD8 002B2C38 90 03 00 14 */ stw r0, 0x14(r3) +/* 802B5CDC 002B2C3C 98 03 00 18 */ stb r0, 0x18(r3) +/* 802B5CE0 002B2C40 4E 80 00 20 */ blr diff --git a/asm/Weapons/IWeaponRenderer.s b/asm/Weapons/IWeaponRenderer.s new file mode 100644 index 00000000..32a24872 --- /dev/null +++ b/asm/Weapons/IWeaponRenderer.s @@ -0,0 +1,68 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __sinit_IWeaponRenderer_cpp +__sinit_IWeaponRenderer_cpp: +/* 802B36A8 002B0608 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B36AC 002B060C 7C 08 02 A6 */ mflr r0 +/* 802B36B0 002B0610 3C 80 80 3F */ lis r4, lbl_803EC538@ha +/* 802B36B4 002B0614 3C 60 80 3F */ lis r3, lbl_803EC528@ha +/* 802B36B8 002B0618 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B36BC 002B061C 38 04 C5 38 */ addi r0, r4, lbl_803EC538@l +/* 802B36C0 002B0620 3C 80 80 2B */ lis r4, __dt__22CDefaultWeaponRendererFv@ha +/* 802B36C4 002B0624 90 0D A5 E0 */ stw r0, lbl_805A91A0@sda21(r13) +/* 802B36C8 002B0628 38 03 C5 28 */ addi r0, r3, lbl_803EC528@l +/* 802B36CC 002B062C 3C 60 80 47 */ lis r3, lbl_8046E1F0@ha +/* 802B36D0 002B0630 38 84 37 24 */ addi r4, r4, __dt__22CDefaultWeaponRendererFv@l +/* 802B36D4 002B0634 90 0D A5 E0 */ stw r0, lbl_805A91A0@sda21(r13) +/* 802B36D8 002B0638 38 A3 E1 F0 */ addi r5, r3, lbl_8046E1F0@l +/* 802B36DC 002B063C 38 6D A5 E0 */ addi r3, r13, lbl_805A91A0@sda21 +/* 802B36E0 002B0640 48 0D 5F AD */ bl __register_global_object +/* 802B36E4 002B0644 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B36E8 002B0648 7C 08 03 A6 */ mtlr r0 +/* 802B36EC 002B064C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B36F0 002B0650 4E 80 00 20 */ blr + +.global AddParticleGen__22CDefaultWeaponRendererFRC12CParticleGen +AddParticleGen__22CDefaultWeaponRendererFRC12CParticleGen: +/* 802B36F4 002B0654 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B36F8 002B0658 7C 08 02 A6 */ mflr r0 +/* 802B36FC 002B065C 7C 83 23 78 */ mr r3, r4 +/* 802B3700 002B0660 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3704 002B0664 81 84 00 00 */ lwz r12, 0(r4) +/* 802B3708 002B0668 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B370C 002B066C 7D 89 03 A6 */ mtctr r12 +/* 802B3710 002B0670 4E 80 04 21 */ bctrl +/* 802B3714 002B0674 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3718 002B0678 7C 08 03 A6 */ mtlr r0 +/* 802B371C 002B067C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3720 002B0680 4E 80 00 20 */ blr + +.global __dt__22CDefaultWeaponRendererFv +__dt__22CDefaultWeaponRendererFv: +/* 802B3724 002B0684 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3728 002B0688 7C 08 02 A6 */ mflr r0 +/* 802B372C 002B068C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3730 002B0690 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3734 002B0694 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3738 002B0698 41 82 00 30 */ beq lbl_802B3768 +/* 802B373C 002B069C 3C 60 80 3F */ lis r3, lbl_803EC528@ha +/* 802B3740 002B06A0 38 03 C5 28 */ addi r0, r3, lbl_803EC528@l +/* 802B3744 002B06A4 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3748 002B06A8 41 82 00 10 */ beq lbl_802B3758 +/* 802B374C 002B06AC 3C 60 80 3F */ lis r3, lbl_803EC538@ha +/* 802B3750 002B06B0 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l +/* 802B3754 002B06B4 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3758: +/* 802B3758 002B06B8 7C 80 07 35 */ extsh. r0, r4 +/* 802B375C 002B06BC 40 81 00 0C */ ble lbl_802B3768 +/* 802B3760 002B06C0 7F E3 FB 78 */ mr r3, r31 +/* 802B3764 002B06C4 48 06 21 CD */ bl Free__7CMemoryFPCv +lbl_802B3768: +/* 802B3768 002B06C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B376C 002B06CC 7F E3 FB 78 */ mr r3, r31 +/* 802B3770 002B06D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3774 002B06D4 7C 08 03 A6 */ mtlr r0 +/* 802B3778 002B06D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B377C 002B06DC 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaBspTree.s b/asm/WorldFormat/CAreaBspTree.s new file mode 100644 index 00000000..319d040c --- /dev/null +++ b/asm/WorldFormat/CAreaBspTree.s @@ -0,0 +1,26 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f +__ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f: +/* 802A2920 0029F880 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A2924 0029F884 7C 08 02 A6 */ mflr r0 +/* 802A2928 0029F888 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A292C 0029F88C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A2930 0029F890 7C 9F 23 78 */ mr r31, r4 +/* 802A2934 0029F894 93 C1 00 08 */ stw r30, 8(r1) +/* 802A2938 0029F898 7C 7E 1B 78 */ mr r30, r3 +/* 802A293C 0029F89C 7F E3 FB 78 */ mr r3, r31 +/* 802A2940 0029F8A0 48 09 C3 45 */ bl ReadLong__12CInputStreamFv +/* 802A2944 0029F8A4 7F E3 FB 78 */ mr r3, r31 +/* 802A2948 0029F8A8 48 09 C3 69 */ bl ReadShort__12CInputStreamFv +/* 802A294C 0029F8AC 7F E3 FB 78 */ mr r3, r31 +/* 802A2950 0029F8B0 48 09 C3 61 */ bl ReadShort__12CInputStreamFv +/* 802A2954 0029F8B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A2958 0029F8B8 7F C3 F3 78 */ mr r3, r30 +/* 802A295C 0029F8BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A2960 0029F8C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A2964 0029F8C4 7C 08 03 A6 */ mtlr r0 +/* 802A2968 0029F8C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A296C 0029F8CC 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaOctTree.s b/asm/WorldFormat/CAreaOctTree.s new file mode 100644 index 00000000..5e114753 --- /dev/null +++ b/asm/WorldFormat/CAreaOctTree.s @@ -0,0 +1,501 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTriangleEdgeIndices__12CAreaOctTreeCFUs +GetTriangleEdgeIndices__12CAreaOctTreeCFUs: +/* 802A2970 0029F8D0 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A2974 0029F8D4 80 63 00 44 */ lwz r3, 0x44(r3) +/* 802A2978 0029F8D8 1C 00 00 06 */ mulli r0, r0, 6 +/* 802A297C 0029F8DC 7C 63 02 14 */ add r3, r3, r0 +/* 802A2980 0029F8E0 4E 80 00 20 */ blr + +.global GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs +GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs: +/* 802A2984 0029F8E4 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A2988 0029F8E8 81 03 00 44 */ lwz r8, 0x44(r3) +/* 802A298C 0029F8EC 1C 00 00 03 */ mulli r0, r0, 3 +/* 802A2990 0029F8F0 81 23 00 3C */ lwz r9, 0x3c(r3) +/* 802A2994 0029F8F4 38 C0 00 00 */ li r6, 0 +/* 802A2998 0029F8F8 54 00 08 3C */ slwi r0, r0, 1 +/* 802A299C 0029F8FC 7C E8 02 14 */ add r7, r8, r0 +/* 802A29A0 0029F900 7D 08 02 2E */ lhzx r8, r8, r0 +/* 802A29A4 0029F904 A0 07 00 02 */ lhz r0, 2(r7) +/* 802A29A8 0029F908 55 07 13 BA */ rlwinm r7, r8, 2, 0xe, 0x1d +/* 802A29AC 0029F90C 54 00 13 BA */ rlwinm r0, r0, 2, 0xe, 0x1d +/* 802A29B0 0029F910 7D 09 3A 14 */ add r8, r9, r7 +/* 802A29B4 0029F914 7D 29 02 14 */ add r9, r9, r0 +/* 802A29B8 0029F918 A0 08 00 00 */ lhz r0, 0(r8) +/* 802A29BC 0029F91C A0 E9 00 00 */ lhz r7, 0(r9) +/* 802A29C0 0029F920 7C 07 00 40 */ cmplw r7, r0 +/* 802A29C4 0029F924 41 82 00 14 */ beq lbl_802A29D8 +/* 802A29C8 0029F928 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A29CC 0029F92C 7C 07 00 40 */ cmplw r7, r0 +/* 802A29D0 0029F930 41 82 00 08 */ beq lbl_802A29D8 +/* 802A29D4 0029F934 38 C0 00 01 */ li r6, 1 +lbl_802A29D8: +/* 802A29D8 0029F938 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802A29DC 0029F93C 41 82 00 08 */ beq lbl_802A29E4 +/* 802A29E0 0029F940 48 00 00 08 */ b lbl_802A29E8 +lbl_802A29E4: +/* 802A29E4 0029F944 A0 E9 00 02 */ lhz r7, 2(r9) +lbl_802A29E8: +/* 802A29E8 0029F948 B0 E5 00 04 */ sth r7, 4(r5) +/* 802A29EC 0029F94C 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A29F0 0029F950 80 83 00 34 */ lwz r4, 0x34(r3) +/* 802A29F4 0029F954 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802A29F8 0029F958 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802A29FC 0029F95C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A2A00 0029F960 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802A2A04 0029F964 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 +/* 802A2A08 0029F968 41 82 00 18 */ beq lbl_802A2A20 +/* 802A2A0C 0029F96C A0 08 00 02 */ lhz r0, 2(r8) +/* 802A2A10 0029F970 B0 05 00 00 */ sth r0, 0(r5) +/* 802A2A14 0029F974 A0 08 00 00 */ lhz r0, 0(r8) +/* 802A2A18 0029F978 B0 05 00 02 */ sth r0, 2(r5) +/* 802A2A1C 0029F97C 4E 80 00 20 */ blr +lbl_802A2A20: +/* 802A2A20 0029F980 A0 08 00 00 */ lhz r0, 0(r8) +/* 802A2A24 0029F984 B0 05 00 00 */ sth r0, 0(r5) +/* 802A2A28 0029F988 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A2A2C 0029F98C B0 05 00 02 */ sth r0, 2(r5) +/* 802A2A30 0029F990 4E 80 00 20 */ blr + +.global GetMasterListTriangle__12CAreaOctTreeCFUs +GetMasterListTriangle__12CAreaOctTreeCFUs: +/* 802A2A34 0029F994 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A2A38 0029F998 7C 08 02 A6 */ mflr r0 +/* 802A2A3C 0029F99C 38 C0 00 00 */ li r6, 0 +/* 802A2A40 0029F9A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A2A44 0029F9A4 54 A0 04 3E */ clrlwi r0, r5, 0x10 +/* 802A2A48 0029F9A8 1C 00 00 03 */ mulli r0, r0, 3 +/* 802A2A4C 0029F9AC 81 04 00 44 */ lwz r8, 0x44(r4) +/* 802A2A50 0029F9B0 81 24 00 3C */ lwz r9, 0x3c(r4) +/* 802A2A54 0029F9B4 54 00 08 3C */ slwi r0, r0, 1 +/* 802A2A58 0029F9B8 7C E8 02 14 */ add r7, r8, r0 +/* 802A2A5C 0029F9BC 7D 08 02 2E */ lhzx r8, r8, r0 +/* 802A2A60 0029F9C0 A0 07 00 02 */ lhz r0, 2(r7) +/* 802A2A64 0029F9C4 55 07 13 BA */ rlwinm r7, r8, 2, 0xe, 0x1d +/* 802A2A68 0029F9C8 54 00 13 BA */ rlwinm r0, r0, 2, 0xe, 0x1d +/* 802A2A6C 0029F9CC 7D 49 3A 14 */ add r10, r9, r7 +/* 802A2A70 0029F9D0 7C E9 02 14 */ add r7, r9, r0 +/* 802A2A74 0029F9D4 A1 2A 00 00 */ lhz r9, 0(r10) +/* 802A2A78 0029F9D8 A1 07 00 00 */ lhz r8, 0(r7) +/* 802A2A7C 0029F9DC 7C 08 48 40 */ cmplw r8, r9 +/* 802A2A80 0029F9E0 41 82 00 14 */ beq lbl_802A2A94 +/* 802A2A84 0029F9E4 A0 0A 00 02 */ lhz r0, 2(r10) +/* 802A2A88 0029F9E8 7C 08 00 40 */ cmplw r8, r0 +/* 802A2A8C 0029F9EC 41 82 00 08 */ beq lbl_802A2A94 +/* 802A2A90 0029F9F0 38 C0 00 01 */ li r6, 1 +lbl_802A2A94: +/* 802A2A94 0029F9F4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802A2A98 0029F9F8 41 82 00 08 */ beq lbl_802A2AA0 +/* 802A2A9C 0029F9FC 48 00 00 08 */ b lbl_802A2AA4 +lbl_802A2AA0: +/* 802A2AA0 0029FA00 A1 07 00 02 */ lhz r8, 2(r7) +lbl_802A2AA4: +/* 802A2AA4 0029FA04 80 C4 00 34 */ lwz r6, 0x34(r4) +/* 802A2AA8 0029FA08 54 A0 04 3E */ clrlwi r0, r5, 0x10 +/* 802A2AAC 0029FA0C 80 A4 00 28 */ lwz r5, 0x28(r4) +/* 802A2AB0 0029FA10 7C 06 00 AE */ lbzx r0, r6, r0 +/* 802A2AB4 0029FA14 54 00 10 3A */ slwi r0, r0, 2 +/* 802A2AB8 0029FA18 7C E5 00 2E */ lwzx r7, r5, r0 +/* 802A2ABC 0029FA1C 54 E0 01 8D */ rlwinm. r0, r7, 0, 6, 6 +/* 802A2AC0 0029FA20 41 82 00 30 */ beq lbl_802A2AF0 +/* 802A2AC4 0029FA24 A0 CA 00 02 */ lhz r6, 2(r10) +/* 802A2AC8 0029FA28 55 00 04 3E */ clrlwi r0, r8, 0x10 +/* 802A2ACC 0029FA2C 81 04 00 4C */ lwz r8, 0x4c(r4) +/* 802A2AD0 0029FA30 1C A9 00 0C */ mulli r5, r9, 0xc +/* 802A2AD4 0029FA34 1C 86 00 0C */ mulli r4, r6, 0xc +/* 802A2AD8 0029FA38 7C A8 2A 14 */ add r5, r8, r5 +/* 802A2ADC 0029FA3C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A2AE0 0029FA40 7C 88 22 14 */ add r4, r8, r4 +/* 802A2AE4 0029FA44 7C C8 02 14 */ add r6, r8, r0 +/* 802A2AE8 0029FA48 4B FF FC 41 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A2AEC 0029FA4C 48 00 00 2C */ b lbl_802A2B18 +lbl_802A2AF0: +/* 802A2AF0 0029FA50 A0 AA 00 02 */ lhz r5, 2(r10) +/* 802A2AF4 0029FA54 55 00 04 3E */ clrlwi r0, r8, 0x10 +/* 802A2AF8 0029FA58 1C C9 00 0C */ mulli r6, r9, 0xc +/* 802A2AFC 0029FA5C 81 04 00 4C */ lwz r8, 0x4c(r4) +/* 802A2B00 0029FA60 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A2B04 0029FA64 7C 88 32 14 */ add r4, r8, r6 +/* 802A2B08 0029FA68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A2B0C 0029FA6C 7C A8 2A 14 */ add r5, r8, r5 +/* 802A2B10 0029FA70 7C C8 02 14 */ add r6, r8, r0 +/* 802A2B14 0029FA74 4B FF FC 15 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +lbl_802A2B18: +/* 802A2B18 0029FA78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A2B1C 0029FA7C 7C 08 03 A6 */ mtlr r0 +/* 802A2B20 0029FA80 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A2B24 0029FA84 4E 80 00 20 */ blr + +.global MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb +MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb: +/* 802A2B28 0029FA88 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802A2B2C 0029FA8C 7C 08 02 A6 */ mflr r0 +/* 802A2B30 0029FA90 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802A2B34 0029FA94 7C 80 23 78 */ mr r0, r4 +/* 802A2B38 0029FA98 BE 01 00 70 */ stmw r16, 0x70(r1) +/* 802A2B3C 0029FA9C 7C 7D 1B 78 */ mr r29, r3 +/* 802A2B40 0029FAA0 7C BE 2B 78 */ mr r30, r5 +/* 802A2B44 0029FAA4 7C DF 33 78 */ mr r31, r6 +/* 802A2B48 0029FAA8 7F A4 EB 78 */ mr r4, r29 +/* 802A2B4C 0029FAAC 7C 05 03 78 */ mr r5, r0 +/* 802A2B50 0029FAB0 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B54 0029FAB4 38 C0 00 01 */ li r6, 1 +/* 802A2B58 0029FAB8 48 09 C6 B5 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 802A2B5C 0029FABC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B60 0029FAC0 48 09 C1 25 */ bl ReadLong__12CInputStreamFv +/* 802A2B64 0029FAC4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B68 0029FAC8 48 09 C1 1D */ bl ReadLong__12CInputStreamFv +/* 802A2B6C 0029FACC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A2B70 0029FAD0 38 81 00 40 */ addi r4, r1, 0x40 +/* 802A2B74 0029FAD4 48 09 59 C9 */ bl __ct__6CAABoxFR12CInputStream +/* 802A2B78 0029FAD8 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B7C 0029FADC 48 09 C1 09 */ bl ReadLong__12CInputStreamFv +/* 802A2B80 0029FAE0 7C 60 1B 78 */ mr r0, r3 +/* 802A2B84 0029FAE4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B88 0029FAE8 7C 1C 03 78 */ mr r28, r0 +/* 802A2B8C 0029FAEC 48 09 C0 F9 */ bl ReadLong__12CInputStreamFv +/* 802A2B90 0029FAF0 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802A2B94 0029FAF4 3C C0 AA AB */ lis r6, 0xAAAAAAAB@ha +/* 802A2B98 0029FAF8 3C 80 80 3D */ lis r4, lbl_803D6020@ha +/* 802A2B9C 0029FAFC 38 A0 00 00 */ li r5, 0 +/* 802A2BA0 0029FB00 7F 7D 02 14 */ add r27, r29, r0 +/* 802A2BA4 0029FB04 38 C6 AA AB */ addi r6, r6, 0xAAAAAAAB@l +/* 802A2BA8 0029FB08 7C 7B 1A 14 */ add r3, r27, r3 +/* 802A2BAC 0029FB0C 38 84 60 20 */ addi r4, r4, lbl_803D6020@l +/* 802A2BB0 0029FB10 83 43 00 00 */ lwz r26, 0(r3) +/* 802A2BB4 0029FB14 3B 23 00 04 */ addi r25, r3, 4 +/* 802A2BB8 0029FB18 38 60 00 50 */ li r3, 0x50 +/* 802A2BBC 0029FB1C 57 40 10 3A */ slwi r0, r26, 2 +/* 802A2BC0 0029FB20 7C F9 02 14 */ add r7, r25, r0 +/* 802A2BC4 0029FB24 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BC8 0029FB28 3B 07 00 04 */ addi r24, r7, 4 +/* 802A2BCC 0029FB2C 7C F8 02 14 */ add r7, r24, r0 +/* 802A2BD0 0029FB30 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BD4 0029FB34 3A E7 00 04 */ addi r23, r7, 4 +/* 802A2BD8 0029FB38 7C F7 02 14 */ add r7, r23, r0 +/* 802A2BDC 0029FB3C 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BE0 0029FB40 3A C7 00 04 */ addi r22, r7, 4 +/* 802A2BE4 0029FB44 7C F6 02 14 */ add r7, r22, r0 +/* 802A2BE8 0029FB48 82 A7 00 00 */ lwz r21, 0(r7) +/* 802A2BEC 0029FB4C 3A 87 00 04 */ addi r20, r7, 4 +/* 802A2BF0 0029FB50 56 A0 10 3A */ slwi r0, r21, 2 +/* 802A2BF4 0029FB54 7C F4 02 14 */ add r7, r20, r0 +/* 802A2BF8 0029FB58 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BFC 0029FB5C 3A 47 00 04 */ addi r18, r7, 4 +/* 802A2C00 0029FB60 7C 06 00 16 */ mulhwu r0, r6, r0 +/* 802A2C04 0029FB64 54 13 F8 7E */ srwi r19, r0, 1 +/* 802A2C08 0029FB68 1C 13 00 06 */ mulli r0, r19, 6 +/* 802A2C0C 0029FB6C 7C D2 02 14 */ add r6, r18, r0 +/* 802A2C10 0029FB70 82 26 00 00 */ lwz r17, 0(r6) +/* 802A2C14 0029FB74 3A 06 00 04 */ addi r16, r6, 4 +/* 802A2C18 0029FB78 48 07 2C 55 */ bl __nw__FUlPCcPCc +/* 802A2C1C 0029FB7C 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A2C20 0029FB80 41 82 00 48 */ beq lbl_802A2C68 +/* 802A2C24 0029FB84 92 E1 00 08 */ stw r23, 8(r1) +/* 802A2C28 0029FB88 7F 85 E3 78 */ mr r5, r28 +/* 802A2C2C 0029FB8C 7F A6 EB 78 */ mr r6, r29 +/* 802A2C30 0029FB90 7F 67 DB 78 */ mr r7, r27 +/* 802A2C34 0029FB94 92 C1 00 0C */ stw r22, 0xc(r1) +/* 802A2C38 0029FB98 7F 48 D3 78 */ mr r8, r26 +/* 802A2C3C 0029FB9C 7F 29 CB 78 */ mr r9, r25 +/* 802A2C40 0029FBA0 7F 0A C3 78 */ mr r10, r24 +/* 802A2C44 0029FBA4 92 A1 00 10 */ stw r21, 0x10(r1) +/* 802A2C48 0029FBA8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802A2C4C 0029FBAC 92 81 00 14 */ stw r20, 0x14(r1) +/* 802A2C50 0029FBB0 92 61 00 18 */ stw r19, 0x18(r1) +/* 802A2C54 0029FBB4 92 41 00 1C */ stw r18, 0x1c(r1) +/* 802A2C58 0029FBB8 92 21 00 20 */ stw r17, 0x20(r1) +/* 802A2C5C 0029FBBC 92 01 00 24 */ stw r16, 0x24(r1) +/* 802A2C60 0029FBC0 48 00 00 41 */ bl __ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f +/* 802A2C64 0029FBC4 7C 60 1B 78 */ mr r0, r3 +lbl_802A2C68: +/* 802A2C68 0029FBC8 90 1E 00 00 */ stw r0, 0(r30) +/* 802A2C6C 0029FBCC 38 00 00 01 */ li r0, 1 +/* 802A2C70 0029FBD0 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 802A2C74 0029FBD4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2C78 0029FBD8 98 1F 00 00 */ stb r0, 0(r31) +/* 802A2C7C 0029FBDC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 802A2C80 0029FBE0 38 80 00 00 */ li r4, 0 +/* 802A2C84 0029FBE4 90 01 00 40 */ stw r0, 0x40(r1) +/* 802A2C88 0029FBE8 48 09 C4 25 */ bl __dt__12CInputStreamFv +/* 802A2C8C 0029FBEC BA 01 00 70 */ lmw r16, 0x70(r1) +/* 802A2C90 0029FBF0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802A2C94 0029FBF4 7C 08 03 A6 */ mtlr r0 +/* 802A2C98 0029FBF8 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802A2C9C 0029FBFC 4E 80 00 20 */ blr + +.global __ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f +__ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f: +/* 802A2CA0 0029FC00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A2CA4 0029FC04 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802A2CA8 0029FC08 83 61 00 28 */ lwz r27, 0x28(r1) +/* 802A2CAC 0029FC0C 83 81 00 2C */ lwz r28, 0x2c(r1) +/* 802A2CB0 0029FC10 83 A1 00 30 */ lwz r29, 0x30(r1) +/* 802A2CB4 0029FC14 83 C1 00 34 */ lwz r30, 0x34(r1) +/* 802A2CB8 0029FC18 83 E1 00 38 */ lwz r31, 0x38(r1) +/* 802A2CBC 0029FC1C 81 81 00 3C */ lwz r12, 0x3c(r1) +/* 802A2CC0 0029FC20 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A2CC4 0029FC24 81 61 00 40 */ lwz r11, 0x40(r1) +/* 802A2CC8 0029FC28 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A2CCC 0029FC2C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2CD0 0029FC30 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A2CD4 0029FC34 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A2CD8 0029FC38 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A2CDC 0029FC3C D0 03 00 08 */ stfs f0, 8(r3) +/* 802A2CE0 0029FC40 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A2CE4 0029FC44 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A2CE8 0029FC48 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A2CEC 0029FC4C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A2CF0 0029FC50 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A2CF4 0029FC54 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A2CF8 0029FC58 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802A2CFC 0029FC5C 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 802A2D00 0029FC60 90 E3 00 20 */ stw r7, 0x20(r3) +/* 802A2D04 0029FC64 91 03 00 24 */ stw r8, 0x24(r3) +/* 802A2D08 0029FC68 91 23 00 28 */ stw r9, 0x28(r3) +/* 802A2D0C 0029FC6C 91 43 00 2C */ stw r10, 0x2c(r3) +/* 802A2D10 0029FC70 93 63 00 30 */ stw r27, 0x30(r3) +/* 802A2D14 0029FC74 93 83 00 34 */ stw r28, 0x34(r3) +/* 802A2D18 0029FC78 93 A3 00 38 */ stw r29, 0x38(r3) +/* 802A2D1C 0029FC7C 93 C3 00 3C */ stw r30, 0x3c(r3) +/* 802A2D20 0029FC80 93 E3 00 40 */ stw r31, 0x40(r3) +/* 802A2D24 0029FC84 91 83 00 44 */ stw r12, 0x44(r3) +/* 802A2D28 0029FC88 91 63 00 48 */ stw r11, 0x48(r3) +/* 802A2D2C 0029FC8C 90 03 00 4C */ stw r0, 0x4c(r3) +/* 802A2D30 0029FC90 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802A2D34 0029FC94 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A2D38 0029FC98 4E 80 00 20 */ blr + +.global GetTriangleArray__Q212CAreaOctTree4NodeCFv +GetTriangleArray__Q212CAreaOctTree4NodeCFv: +/* 802A2D3C 0029FC9C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802A2D40 0029FCA0 2C 00 00 02 */ cmpwi r0, 2 +/* 802A2D44 0029FCA4 41 82 00 10 */ beq lbl_802A2D54 +/* 802A2D48 0029FCA8 38 02 C1 40 */ addi r0, r2, lbl_805ADE60@sda21 +/* 802A2D4C 0029FCAC 90 03 00 00 */ stw r0, 0(r3) +/* 802A2D50 0029FCB0 4E 80 00 20 */ blr +lbl_802A2D54: +/* 802A2D54 0029FCB4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802A2D58 0029FCB8 90 03 00 00 */ stw r0, 0(r3) +/* 802A2D5C 0029FCBC 4E 80 00 20 */ blr + +.global GetChild__Q212CAreaOctTree4NodeCFi +GetChild__Q212CAreaOctTree4NodeCFi: +/* 802A2D60 0029FCC0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A2D64 0029FCC4 7C 08 02 A6 */ mflr r0 +/* 802A2D68 0029FCC8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A2D6C 0029FCCC 54 A0 10 3A */ slwi r0, r5, 2 +/* 802A2D70 0029FCD0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802A2D74 0029FCD4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802A2D78 0029FCD8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802A2D7C 0029FCDC 7C 9D 23 78 */ mr r29, r4 +/* 802A2D80 0029FCE0 93 81 00 30 */ stw r28, 0x30(r1) +/* 802A2D84 0029FCE4 7C 7C 1B 78 */ mr r28, r3 +/* 802A2D88 0029FCE8 80 E4 00 18 */ lwz r7, 0x18(r4) +/* 802A2D8C 0029FCEC 54 A4 08 3C */ slwi r4, r5, 1 +/* 802A2D90 0029FCF0 A0 C7 00 00 */ lhz r6, 0(r7) +/* 802A2D94 0029FCF4 7C 67 02 14 */ add r3, r7, r0 +/* 802A2D98 0029FCF8 80 63 00 04 */ lwz r3, 4(r3) +/* 802A2D9C 0029FCFC 7C C0 26 30 */ sraw r0, r6, r4 +/* 802A2DA0 0029FD00 54 1F 07 BE */ clrlwi r31, r0, 0x1e +/* 802A2DA4 0029FD04 3B C3 00 24 */ addi r30, r3, 0x24 +/* 802A2DA8 0029FD08 2C 1F 00 02 */ cmpwi r31, 2 +/* 802A2DAC 0029FD0C 7F C7 F2 14 */ add r30, r7, r30 +/* 802A2DB0 0029FD10 40 82 00 48 */ bne lbl_802A2DF8 +/* 802A2DB4 0029FD14 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802A2DB8 0029FD18 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802A2DBC 0029FD1C C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 802A2DC0 0029FD20 C0 9E 00 10 */ lfs f4, 0x10(r30) +/* 802A2DC4 0029FD24 C0 BE 00 14 */ lfs f5, 0x14(r30) +/* 802A2DC8 0029FD28 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 802A2DCC 0029FD2C C0 1E 00 00 */ lfs f0, 0(r30) +/* 802A2DD0 0029FD30 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A2DD4 0029FD34 D0 3C 00 04 */ stfs f1, 4(r28) +/* 802A2DD8 0029FD38 D0 5C 00 08 */ stfs f2, 8(r28) +/* 802A2DDC 0029FD3C D0 7C 00 0C */ stfs f3, 0xc(r28) +/* 802A2DE0 0029FD40 D0 9C 00 10 */ stfs f4, 0x10(r28) +/* 802A2DE4 0029FD44 D0 BC 00 14 */ stfs f5, 0x14(r28) +/* 802A2DE8 0029FD48 93 DC 00 18 */ stw r30, 0x18(r28) +/* 802A2DEC 0029FD4C 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 802A2DF0 0029FD50 93 FC 00 20 */ stw r31, 0x20(r28) +/* 802A2DF4 0029FD54 48 00 00 9C */ b lbl_802A2E90 +lbl_802A2DF8: +/* 802A2DF8 0029FD58 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802A2DFC 0029FD5C 7C A4 2B 78 */ mr r4, r5 +/* 802A2E00 0029FD60 C0 5D 00 10 */ lfs f2, 0x10(r29) +/* 802A2E04 0029FD64 38 FD 00 0C */ addi r7, r29, 0xc +/* 802A2E08 0029FD68 C0 3D 00 08 */ lfs f1, 8(r29) +/* 802A2E0C 0029FD6C 7F A5 EB 78 */ mr r5, r29 +/* 802A2E10 0029FD70 C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 802A2E14 0029FD74 EC 63 10 2A */ fadds f3, f3, f2 +/* 802A2E18 0029FD78 C0 82 C1 44 */ lfs f4, lbl_805ADE64@sda21(r2) +/* 802A2E1C 0029FD7C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A2E20 0029FD80 EC 41 00 2A */ fadds f2, f1, f0 +/* 802A2E24 0029FD84 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802A2E28 0029FD88 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 802A2E2C 0029FD8C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802A2E30 0029FD90 38 C1 00 08 */ addi r6, r1, 8 +/* 802A2E34 0029FD94 EC 01 00 2A */ fadds f0, f1, f0 +/* 802A2E38 0029FD98 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802A2E3C 0029FD9C D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802A2E40 0029FDA0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A2E44 0029FDA4 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802A2E48 0029FDA8 D0 01 00 08 */ stfs f0, 8(r1) +/* 802A2E4C 0029FDAC 48 00 00 65 */ bl BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A2E50 0029FDB0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A2E54 0029FDB4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802A2E58 0029FDB8 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802A2E5C 0029FDBC C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802A2E60 0029FDC0 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802A2E64 0029FDC4 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 802A2E68 0029FDC8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A2E6C 0029FDCC D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A2E70 0029FDD0 D0 3C 00 04 */ stfs f1, 4(r28) +/* 802A2E74 0029FDD4 D0 5C 00 08 */ stfs f2, 8(r28) +/* 802A2E78 0029FDD8 D0 7C 00 0C */ stfs f3, 0xc(r28) +/* 802A2E7C 0029FDDC D0 9C 00 10 */ stfs f4, 0x10(r28) +/* 802A2E80 0029FDE0 D0 BC 00 14 */ stfs f5, 0x14(r28) +/* 802A2E84 0029FDE4 93 DC 00 18 */ stw r30, 0x18(r28) +/* 802A2E88 0029FDE8 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 802A2E8C 0029FDEC 93 FC 00 20 */ stw r31, 0x20(r28) +lbl_802A2E90: +/* 802A2E90 0029FDF0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2E94 0029FDF4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802A2E98 0029FDF8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802A2E9C 0029FDFC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802A2EA0 0029FE00 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802A2EA4 0029FE04 7C 08 03 A6 */ mtlr r0 +/* 802A2EA8 0029FE08 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A2EAC 0029FE0C 4E 80 00 20 */ blr + +.global BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f +BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802A2EB0 0029FE10 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802A2EB4 0029FE14 7C 08 02 A6 */ mflr r0 +/* 802A2EB8 0029FE18 28 04 00 07 */ cmplwi r4, 7 +/* 802A2EBC 0029FE1C 7C A8 2B 78 */ mr r8, r5 +/* 802A2EC0 0029FE20 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802A2EC4 0029FE24 41 81 01 BC */ bgt lbl_802A3080 +/* 802A2EC8 0029FE28 3C A0 80 3F */ lis r5, lbl_803EC408@ha +/* 802A2ECC 0029FE2C 54 80 10 3A */ slwi r0, r4, 2 +/* 802A2ED0 0029FE30 38 85 C4 08 */ addi r4, r5, lbl_803EC408@l +/* 802A2ED4 0029FE34 7C 04 00 2E */ lwzx r0, r4, r0 +/* 802A2ED8 0029FE38 7C 09 03 A6 */ mtctr r0 +/* 802A2EDC 0029FE3C 4E 80 04 20 */ bctr +/* 802A2EE0 0029FE40 7D 04 43 78 */ mr r4, r8 +/* 802A2EE4 0029FE44 7C C5 33 78 */ mr r5, r6 +/* 802A2EE8 0029FE48 48 09 56 21 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2EEC 0029FE4C 48 00 01 A0 */ b lbl_802A308C +/* 802A2EF0 0029FE50 C0 46 00 08 */ lfs f2, 8(r6) +/* 802A2EF4 0029FE54 38 81 00 8C */ addi r4, r1, 0x8c +/* 802A2EF8 0029FE58 C0 66 00 04 */ lfs f3, 4(r6) +/* 802A2EFC 0029FE5C 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802A2F00 0029FE60 C0 27 00 00 */ lfs f1, 0(r7) +/* 802A2F04 0029FE64 C0 88 00 08 */ lfs f4, 8(r8) +/* 802A2F08 0029FE68 C0 A8 00 04 */ lfs f5, 4(r8) +/* 802A2F0C 0029FE6C C0 06 00 00 */ lfs f0, 0(r6) +/* 802A2F10 0029FE70 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802A2F14 0029FE74 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802A2F18 0029FE78 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802A2F1C 0029FE7C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802A2F20 0029FE80 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802A2F24 0029FE84 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 802A2F28 0029FE88 48 09 55 E1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2F2C 0029FE8C 48 00 01 60 */ b lbl_802A308C +/* 802A2F30 0029FE90 C0 46 00 08 */ lfs f2, 8(r6) +/* 802A2F34 0029FE94 38 81 00 74 */ addi r4, r1, 0x74 +/* 802A2F38 0029FE98 C0 67 00 04 */ lfs f3, 4(r7) +/* 802A2F3C 0029FE9C 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A2F40 0029FEA0 C0 26 00 00 */ lfs f1, 0(r6) +/* 802A2F44 0029FEA4 C0 88 00 08 */ lfs f4, 8(r8) +/* 802A2F48 0029FEA8 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802A2F4C 0029FEAC C0 08 00 00 */ lfs f0, 0(r8) +/* 802A2F50 0029FEB0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802A2F54 0029FEB4 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 802A2F58 0029FEB8 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802A2F5C 0029FEBC D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802A2F60 0029FEC0 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802A2F64 0029FEC4 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 802A2F68 0029FEC8 48 09 55 A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2F6C 0029FECC 48 00 01 20 */ b lbl_802A308C +/* 802A2F70 0029FED0 C0 46 00 08 */ lfs f2, 8(r6) +/* 802A2F74 0029FED4 38 81 00 5C */ addi r4, r1, 0x5c +/* 802A2F78 0029FED8 C0 67 00 04 */ lfs f3, 4(r7) +/* 802A2F7C 0029FEDC 38 A1 00 50 */ addi r5, r1, 0x50 +/* 802A2F80 0029FEE0 C0 27 00 00 */ lfs f1, 0(r7) +/* 802A2F84 0029FEE4 C0 88 00 08 */ lfs f4, 8(r8) +/* 802A2F88 0029FEE8 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802A2F8C 0029FEEC C0 06 00 00 */ lfs f0, 0(r6) +/* 802A2F90 0029FEF0 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802A2F94 0029FEF4 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 802A2F98 0029FEF8 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802A2F9C 0029FEFC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802A2FA0 0029FF00 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802A2FA4 0029FF04 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802A2FA8 0029FF08 48 09 55 61 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2FAC 0029FF0C 48 00 00 E0 */ b lbl_802A308C +/* 802A2FB0 0029FF10 C0 47 00 08 */ lfs f2, 8(r7) +/* 802A2FB4 0029FF14 38 81 00 44 */ addi r4, r1, 0x44 +/* 802A2FB8 0029FF18 C0 66 00 04 */ lfs f3, 4(r6) +/* 802A2FBC 0029FF1C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A2FC0 0029FF20 C0 26 00 00 */ lfs f1, 0(r6) +/* 802A2FC4 0029FF24 C0 86 00 08 */ lfs f4, 8(r6) +/* 802A2FC8 0029FF28 C0 A8 00 04 */ lfs f5, 4(r8) +/* 802A2FCC 0029FF2C C0 08 00 00 */ lfs f0, 0(r8) +/* 802A2FD0 0029FF30 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802A2FD4 0029FF34 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802A2FD8 0029FF38 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802A2FDC 0029FF3C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802A2FE0 0029FF40 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802A2FE4 0029FF44 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802A2FE8 0029FF48 48 09 55 21 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2FEC 0029FF4C 48 00 00 A0 */ b lbl_802A308C +/* 802A2FF0 0029FF50 C0 47 00 08 */ lfs f2, 8(r7) +/* 802A2FF4 0029FF54 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A2FF8 0029FF58 C0 66 00 04 */ lfs f3, 4(r6) +/* 802A2FFC 0029FF5C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802A3000 0029FF60 C0 27 00 00 */ lfs f1, 0(r7) +/* 802A3004 0029FF64 C0 86 00 08 */ lfs f4, 8(r6) +/* 802A3008 0029FF68 C0 A8 00 04 */ lfs f5, 4(r8) +/* 802A300C 0029FF6C C0 06 00 00 */ lfs f0, 0(r6) +/* 802A3010 0029FF70 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802A3014 0029FF74 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802A3018 0029FF78 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802A301C 0029FF7C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802A3020 0029FF80 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802A3024 0029FF84 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 802A3028 0029FF88 48 09 54 E1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A302C 0029FF8C 48 00 00 60 */ b lbl_802A308C +/* 802A3030 0029FF90 C0 47 00 08 */ lfs f2, 8(r7) +/* 802A3034 0029FF94 38 81 00 14 */ addi r4, r1, 0x14 +/* 802A3038 0029FF98 C0 67 00 04 */ lfs f3, 4(r7) +/* 802A303C 0029FF9C 38 A1 00 08 */ addi r5, r1, 8 +/* 802A3040 0029FFA0 C0 26 00 00 */ lfs f1, 0(r6) +/* 802A3044 0029FFA4 C0 86 00 08 */ lfs f4, 8(r6) +/* 802A3048 0029FFA8 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802A304C 0029FFAC C0 08 00 00 */ lfs f0, 0(r8) +/* 802A3050 0029FFB0 D0 21 00 08 */ stfs f1, 8(r1) +/* 802A3054 0029FFB4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802A3058 0029FFB8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802A305C 0029FFBC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802A3060 0029FFC0 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802A3064 0029FFC4 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 802A3068 0029FFC8 48 09 54 A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A306C 0029FFCC 48 00 00 20 */ b lbl_802A308C +/* 802A3070 0029FFD0 7C C4 33 78 */ mr r4, r6 +/* 802A3074 0029FFD4 7C E5 3B 78 */ mr r5, r7 +/* 802A3078 0029FFD8 48 09 54 91 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A307C 0029FFDC 48 00 00 10 */ b lbl_802A308C +lbl_802A3080: +/* 802A3080 0029FFE0 7D 04 43 78 */ mr r4, r8 +/* 802A3084 0029FFE4 7C E5 3B 78 */ mr r5, r7 +/* 802A3088 0029FFE8 48 09 54 81 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_802A308C: +/* 802A308C 0029FFEC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802A3090 0029FFF0 7C 08 03 A6 */ mtlr r0 +/* 802A3094 0029FFF4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802A3098 0029FFF8 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaOctTree_Tests.s b/asm/WorldFormat/CAreaOctTree_Tests.s new file mode 100644 index 00000000..e0b7eb00 --- /dev/null +++ b/asm/WorldFormat/CAreaOctTree_Tests.s @@ -0,0 +1,1911 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f: +/* 802A0A0C 0029D96C 94 21 FB A0 */ stwu r1, -0x460(r1) +/* 802A0A10 0029D970 7C 08 02 A6 */ mflr r0 +/* 802A0A14 0029D974 90 01 04 64 */ stw r0, 0x464(r1) +/* 802A0A18 0029D978 DB E1 04 50 */ stfd f31, 0x450(r1) +/* 802A0A1C 0029D97C F3 E1 04 58 */ psq_st f31, 1112(r1), 0, qr0 +/* 802A0A20 0029D980 DB C1 04 40 */ stfd f30, 0x440(r1) +/* 802A0A24 0029D984 F3 C1 04 48 */ psq_st f30, 1096(r1), 0, qr0 +/* 802A0A28 0029D988 DB A1 04 30 */ stfd f29, 0x430(r1) +/* 802A0A2C 0029D98C F3 A1 04 38 */ psq_st f29, 1080(r1), 0, qr0 +/* 802A0A30 0029D990 DB 81 04 20 */ stfd f28, 0x420(r1) +/* 802A0A34 0029D994 F3 81 04 28 */ psq_st f28, 1064(r1), 0, qr0 +/* 802A0A38 0029D998 DB 61 04 10 */ stfd f27, 0x410(r1) +/* 802A0A3C 0029D99C F3 61 04 18 */ psq_st f27, 1048(r1), 0, qr0 +/* 802A0A40 0029D9A0 DB 41 04 00 */ stfd f26, 0x400(r1) +/* 802A0A44 0029D9A4 F3 41 04 08 */ psq_st f26, 1032(r1), 0, qr0 +/* 802A0A48 0029D9A8 DB 21 03 F0 */ stfd f25, 0x3f0(r1) +/* 802A0A4C 0029D9AC F3 21 03 F8 */ psq_st f25, 1016(r1), 0, qr0 +/* 802A0A50 0029D9B0 DB 01 03 E0 */ stfd f24, 0x3e0(r1) +/* 802A0A54 0029D9B4 F3 01 03 E8 */ psq_st f24, 1000(r1), 0, qr0 +/* 802A0A58 0029D9B8 DA E1 03 D0 */ stfd f23, 0x3d0(r1) +/* 802A0A5C 0029D9BC F2 E1 03 D8 */ psq_st f23, 984(r1), 0, qr0 +/* 802A0A60 0029D9C0 DA C1 03 C0 */ stfd f22, 0x3c0(r1) +/* 802A0A64 0029D9C4 F2 C1 03 C8 */ psq_st f22, 968(r1), 0, qr0 +/* 802A0A68 0029D9C8 DA A1 03 B0 */ stfd f21, 0x3b0(r1) +/* 802A0A6C 0029D9CC F2 A1 03 B8 */ psq_st f21, 952(r1), 0, qr0 +/* 802A0A70 0029D9D0 BE 01 03 70 */ stmw r16, 0x370(r1) +/* 802A0A74 0029D9D4 FF 80 08 90 */ fmr f28, f1 +/* 802A0A78 0029D9D8 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2) +/* 802A0A7C 0029D9DC FF 40 10 90 */ fmr f26, f2 +/* 802A0A80 0029D9E0 C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2) +/* 802A0A84 0029D9E4 FF 20 18 90 */ fmr f25, f3 +/* 802A0A88 0029D9E8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0A8C 0029D9EC EF E4 07 32 */ fmuls f31, f4, f28 +/* 802A0A90 0029D9F0 7C 7B 1B 78 */ mr r27, r3 +/* 802A0A94 0029D9F4 FC 19 00 00 */ fcmpu cr0, f25, f0 +/* 802A0A98 0029D9F8 7C 9C 23 78 */ mr r28, r4 +/* 802A0A9C 0029D9FC EF 61 06 B2 */ fmuls f27, f1, f26 +/* 802A0AA0 0029DA00 7C BD 2B 78 */ mr r29, r5 +/* 802A0AA4 0029DA04 7C DE 33 78 */ mr r30, r6 +/* 802A0AA8 0029DA08 7C FF 3B 78 */ mr r31, r7 +/* 802A0AAC 0029DA0C 41 82 00 24 */ beq lbl_802A0AD0 +/* 802A0AB0 0029DA10 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A0AB4 0029DA14 40 80 00 08 */ bge lbl_802A0ABC +/* 802A0AB8 0029DA18 FF E0 00 90 */ fmr f31, f0 +lbl_802A0ABC: +/* 802A0ABC 0029DA1C FC 1B C8 40 */ fcmpo cr0, f27, f25 +/* 802A0AC0 0029DA20 40 81 00 08 */ ble lbl_802A0AC8 +/* 802A0AC4 0029DA24 FF 60 C8 90 */ fmr f27, f25 +lbl_802A0AC8: +/* 802A0AC8 0029DA28 FC 1F D8 40 */ fcmpo cr0, f31, f27 +/* 802A0ACC 0029DA2C 41 81 0A A0 */ bgt lbl_802A156C +lbl_802A0AD0: +/* 802A0AD0 0029DA30 80 1B 00 20 */ lwz r0, 0x20(r27) +/* 802A0AD4 0029DA34 2C 00 00 02 */ cmpwi r0, 2 +/* 802A0AD8 0029DA38 40 82 03 0C */ bne lbl_802A0DE4 +/* 802A0ADC 0029DA3C 7F 64 DB 78 */ mr r4, r27 +/* 802A0AE0 0029DA40 38 61 00 08 */ addi r3, r1, 8 +/* 802A0AE4 0029DA44 48 00 22 59 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A0AE8 0029DA48 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0AEC 0029DA4C 38 00 00 00 */ li r0, 0 +/* 802A0AF0 0029DA50 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A0AF4 0029DA54 FF C0 D8 90 */ fmr f30, f27 +/* 802A0AF8 0029DA58 82 61 00 08 */ lwz r19, 8(r1) +/* 802A0AFC 0029DA5C 3A 81 03 38 */ addi r20, r1, 0x338 +/* 802A0B00 0029DA60 D0 21 03 28 */ stfs f1, 0x328(r1) +/* 802A0B04 0029DA64 3A 40 00 00 */ li r18, 0 +/* 802A0B08 0029DA68 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2) +/* 802A0B0C 0029DA6C D0 01 03 2C */ stfs f0, 0x32c(r1) +/* 802A0B10 0029DA70 3A C0 00 00 */ li r22, 0 +/* 802A0B14 0029DA74 D0 01 03 30 */ stfs f0, 0x330(r1) +/* 802A0B18 0029DA78 D0 01 03 34 */ stfs f0, 0x334(r1) +/* 802A0B1C 0029DA7C 98 01 03 60 */ stb r0, 0x360(r1) +/* 802A0B20 0029DA80 D0 01 03 64 */ stfs f0, 0x364(r1) +/* 802A0B24 0029DA84 A2 B3 00 18 */ lhz r21, 0x18(r19) +/* 802A0B28 0029DA88 48 00 02 60 */ b lbl_802A0D88 +lbl_802A0B2C: +/* 802A0B2C 0029DA8C 80 9B 00 1C */ lwz r4, 0x1c(r27) +/* 802A0B30 0029DA90 38 61 01 EC */ addi r3, r1, 0x1ec +/* 802A0B34 0029DA94 A0 B3 00 1A */ lhz r5, 0x1a(r19) +/* 802A0B38 0029DA98 48 00 1E FD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A0B3C 0029DA9C C0 21 01 F4 */ lfs f1, 0x1f4(r1) +/* 802A0B40 0029DAA0 C2 C1 02 0C */ lfs f22, 0x20c(r1) +/* 802A0B44 0029DAA4 C3 21 02 00 */ lfs f25, 0x200(r1) +/* 802A0B48 0029DAA8 C0 61 01 EC */ lfs f3, 0x1ec(r1) +/* 802A0B4C 0029DAAC EC F6 08 28 */ fsubs f7, f22, f1 +/* 802A0B50 0029DAB0 C3 01 02 04 */ lfs f24, 0x204(r1) +/* 802A0B54 0029DAB4 EC 99 08 28 */ fsubs f4, f25, f1 +/* 802A0B58 0029DAB8 C0 41 01 F0 */ lfs f2, 0x1f0(r1) +/* 802A0B5C 0029DABC C2 E1 02 08 */ lfs f23, 0x208(r1) +/* 802A0B60 0029DAC0 ED 38 18 28 */ fsubs f9, f24, f3 +/* 802A0B64 0029DAC4 C3 41 01 FC */ lfs f26, 0x1fc(r1) +/* 802A0B68 0029DAC8 C1 BC 00 0C */ lfs f13, 0xc(r28) +/* 802A0B6C 0029DACC ED 17 10 28 */ fsubs f8, f23, f2 +/* 802A0B70 0029DAD0 C2 A1 01 F8 */ lfs f21, 0x1f8(r1) +/* 802A0B74 0029DAD4 EC BA 10 28 */ fsubs f5, f26, f2 +/* 802A0B78 0029DAD8 C3 7C 00 14 */ lfs f27, 0x14(r28) +/* 802A0B7C 0029DADC EC C7 03 72 */ fmuls f6, f7, f13 +/* 802A0B80 0029DAE0 C3 9C 00 10 */ lfs f28, 0x10(r28) +/* 802A0B84 0029DAE4 EC 08 06 F2 */ fmuls f0, f8, f27 +/* 802A0B88 0029DAE8 80 61 02 10 */ lwz r3, 0x210(r1) +/* 802A0B8C 0029DAEC ED 7B 32 78 */ fmsubs f11, f27, f9, f6 +/* 802A0B90 0029DAF0 D0 61 03 00 */ stfs f3, 0x300(r1) +/* 802A0B94 0029DAF4 ED 89 07 32 */ fmuls f12, f9, f28 +/* 802A0B98 0029DAF8 EC D5 18 28 */ fsubs f6, f21, f3 +/* 802A0B9C 0029DAFC ED 5C 01 F8 */ fmsubs f10, f28, f7, f0 +/* 802A0BA0 0029DB00 D0 41 03 04 */ stfs f2, 0x304(r1) +/* 802A0BA4 0029DB04 EC 05 02 F2 */ fmuls f0, f5, f11 +/* 802A0BA8 0029DB08 ED 8D 62 38 */ fmsubs f12, f13, f8, f12 +/* 802A0BAC 0029DB0C D0 21 03 08 */ stfs f1, 0x308(r1) +/* 802A0BB0 0029DB10 EC 06 02 BA */ fmadds f0, f6, f10, f0 +/* 802A0BB4 0029DB14 D2 A1 03 0C */ stfs f21, 0x30c(r1) +/* 802A0BB8 0029DB18 D3 41 03 10 */ stfs f26, 0x310(r1) +/* 802A0BBC 0029DB1C EE A4 03 3A */ fmadds f21, f4, f12, f0 +/* 802A0BC0 0029DB20 D3 21 03 14 */ stfs f25, 0x314(r1) +/* 802A0BC4 0029DB24 FC 00 AA 10 */ fabs f0, f21 +/* 802A0BC8 0029DB28 D3 01 03 18 */ stfs f24, 0x318(r1) +/* 802A0BCC 0029DB2C D2 E1 03 1C */ stfs f23, 0x31c(r1) +/* 802A0BD0 0029DB30 FC 00 00 18 */ frsp f0, f0 +/* 802A0BD4 0029DB34 D2 C1 03 20 */ stfs f22, 0x320(r1) +/* 802A0BD8 0029DB38 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 802A0BDC 0029DB3C 90 61 03 24 */ stw r3, 0x324(r1) +/* 802A0BE0 0029DB40 41 80 01 A0 */ blt lbl_802A0D80 +/* 802A0BE4 0029DB44 C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2) +/* 802A0BE8 0029DB48 C2 FC 00 04 */ lfs f23, 4(r28) +/* 802A0BEC 0029DB4C EF 40 A8 24 */ fdivs f26, f0, f21 +/* 802A0BF0 0029DB50 C2 DC 00 00 */ lfs f22, 0(r28) +/* 802A0BF4 0029DB54 C3 3C 00 08 */ lfs f25, 8(r28) +/* 802A0BF8 0029DB58 C3 02 C1 24 */ lfs f24, lbl_805ADE44@sda21(r2) +/* 802A0BFC 0029DB5C EE F7 10 28 */ fsubs f23, f23, f2 +/* 802A0C00 0029DB60 EE D6 18 28 */ fsubs f22, f22, f3 +/* 802A0C04 0029DB64 EE B9 08 28 */ fsubs f21, f25, f1 +/* 802A0C08 0029DB68 EC 37 02 F2 */ fmuls f1, f23, f11 +/* 802A0C0C 0029DB6C EC 36 0A BA */ fmadds f1, f22, f10, f1 +/* 802A0C10 0029DB70 EC 35 0B 3A */ fmadds f1, f21, f12, f1 +/* 802A0C14 0029DB74 ED 5A 00 72 */ fmuls f10, f26, f1 +/* 802A0C18 0029DB78 FC 0A C0 40 */ fcmpo cr0, f10, f24 +/* 802A0C1C 0029DB7C 41 80 01 64 */ blt lbl_802A0D80 +/* 802A0C20 0029DB80 FC 0A 00 40 */ fcmpo cr0, f10, f0 +/* 802A0C24 0029DB84 41 81 01 5C */ bgt lbl_802A0D80 +/* 802A0C28 0029DB88 EC 44 05 B2 */ fmuls f2, f4, f22 +/* 802A0C2C 0029DB8C EC 25 05 72 */ fmuls f1, f5, f21 +/* 802A0C30 0029DB90 EC 66 05 F2 */ fmuls f3, f6, f23 +/* 802A0C34 0029DB94 EC D5 11 B8 */ fmsubs f6, f21, f6, f2 +/* 802A0C38 0029DB98 EC 57 09 38 */ fmsubs f2, f23, f4, f1 +/* 802A0C3C 0029DB9C EC 76 19 78 */ fmsubs f3, f22, f5, f3 +/* 802A0C40 0029DBA0 EC 26 02 32 */ fmuls f1, f6, f8 +/* 802A0C44 0029DBA4 EC 22 0A 7A */ fmadds f1, f2, f9, f1 +/* 802A0C48 0029DBA8 EC 23 09 FA */ fmadds f1, f3, f7, f1 +/* 802A0C4C 0029DBAC EF 3A 00 72 */ fmuls f25, f26, f1 +/* 802A0C50 0029DBB0 FC 19 F0 40 */ fcmpo cr0, f25, f30 +/* 802A0C54 0029DBB4 4C 41 13 82 */ cror 2, 1, 2 +/* 802A0C58 0029DBB8 41 82 01 28 */ beq lbl_802A0D80 +/* 802A0C5C 0029DBBC FC 19 F8 40 */ fcmpo cr0, f25, f31 +/* 802A0C60 0029DBC0 41 80 01 20 */ blt lbl_802A0D80 +/* 802A0C64 0029DBC4 EC 26 07 32 */ fmuls f1, f6, f28 +/* 802A0C68 0029DBC8 EC 22 0B 7A */ fmadds f1, f2, f13, f1 +/* 802A0C6C 0029DBCC EC 23 0E FA */ fmadds f1, f3, f27, f1 +/* 802A0C70 0029DBD0 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A0C74 0029DBD4 FC 01 C0 40 */ fcmpo cr0, f1, f24 +/* 802A0C78 0029DBD8 41 80 01 08 */ blt lbl_802A0D80 +/* 802A0C7C 0029DBDC EC 2A 08 2A */ fadds f1, f10, f1 +/* 802A0C80 0029DBE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A0C84 0029DBE4 41 81 00 FC */ bgt lbl_802A0D80 +/* 802A0C88 0029DBE8 38 00 00 00 */ li r0, 0 +/* 802A0C8C 0029DBEC 90 61 00 24 */ stw r3, 0x24(r1) +/* 802A0C90 0029DBF0 7F A3 EB 78 */ mr r3, r29 +/* 802A0C94 0029DBF4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A0C98 0029DBF8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A0C9C 0029DBFC 48 03 46 B1 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A0CA0 0029DC00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A0CA4 0029DC04 41 82 00 DC */ beq lbl_802A0D80 +/* 802A0CA8 0029DC08 FC 19 F0 40 */ fcmpo cr0, f25, f30 +/* 802A0CAC 0029DC0C 4C 40 13 82 */ cror 2, 0, 2 +/* 802A0CB0 0029DC10 40 82 00 D0 */ bne lbl_802A0D80 +/* 802A0CB4 0029DC14 88 01 03 60 */ lbz r0, 0x360(r1) +/* 802A0CB8 0029DC18 FF C0 C8 90 */ fmr f30, f25 +/* 802A0CBC 0029DC1C 3A 40 00 01 */ li r18, 1 +/* 802A0CC0 0029DC20 28 00 00 00 */ cmplwi r0, 0 +/* 802A0CC4 0029DC24 40 82 00 68 */ bne lbl_802A0D2C +/* 802A0CC8 0029DC28 28 14 00 00 */ cmplwi r20, 0 +/* 802A0CCC 0029DC2C 41 82 00 54 */ beq lbl_802A0D20 +/* 802A0CD0 0029DC30 C1 01 03 00 */ lfs f8, 0x300(r1) +/* 802A0CD4 0029DC34 C0 E1 03 04 */ lfs f7, 0x304(r1) +/* 802A0CD8 0029DC38 C0 C1 03 08 */ lfs f6, 0x308(r1) +/* 802A0CDC 0029DC3C C0 A1 03 0C */ lfs f5, 0x30c(r1) +/* 802A0CE0 0029DC40 C0 81 03 10 */ lfs f4, 0x310(r1) +/* 802A0CE4 0029DC44 C0 61 03 14 */ lfs f3, 0x314(r1) +/* 802A0CE8 0029DC48 C0 41 03 18 */ lfs f2, 0x318(r1) +/* 802A0CEC 0029DC4C C0 21 03 1C */ lfs f1, 0x31c(r1) +/* 802A0CF0 0029DC50 C0 01 03 20 */ lfs f0, 0x320(r1) +/* 802A0CF4 0029DC54 80 01 03 24 */ lwz r0, 0x324(r1) +/* 802A0CF8 0029DC58 D1 01 03 38 */ stfs f8, 0x338(r1) +/* 802A0CFC 0029DC5C D0 E1 03 3C */ stfs f7, 0x33c(r1) +/* 802A0D00 0029DC60 D0 C1 03 40 */ stfs f6, 0x340(r1) +/* 802A0D04 0029DC64 D0 A1 03 44 */ stfs f5, 0x344(r1) +/* 802A0D08 0029DC68 D0 81 03 48 */ stfs f4, 0x348(r1) +/* 802A0D0C 0029DC6C D0 61 03 4C */ stfs f3, 0x34c(r1) +/* 802A0D10 0029DC70 D0 41 03 50 */ stfs f2, 0x350(r1) +/* 802A0D14 0029DC74 D0 21 03 54 */ stfs f1, 0x354(r1) +/* 802A0D18 0029DC78 D0 01 03 58 */ stfs f0, 0x358(r1) +/* 802A0D1C 0029DC7C 90 01 03 5C */ stw r0, 0x35c(r1) +lbl_802A0D20: +/* 802A0D20 0029DC80 38 00 00 01 */ li r0, 1 +/* 802A0D24 0029DC84 98 01 03 60 */ stb r0, 0x360(r1) +/* 802A0D28 0029DC88 48 00 00 54 */ b lbl_802A0D7C +lbl_802A0D2C: +/* 802A0D2C 0029DC8C 81 61 03 00 */ lwz r11, 0x300(r1) +/* 802A0D30 0029DC90 81 41 03 04 */ lwz r10, 0x304(r1) +/* 802A0D34 0029DC94 81 21 03 08 */ lwz r9, 0x308(r1) +/* 802A0D38 0029DC98 81 01 03 0C */ lwz r8, 0x30c(r1) +/* 802A0D3C 0029DC9C 80 E1 03 10 */ lwz r7, 0x310(r1) +/* 802A0D40 0029DCA0 80 C1 03 14 */ lwz r6, 0x314(r1) +/* 802A0D44 0029DCA4 80 A1 03 18 */ lwz r5, 0x318(r1) +/* 802A0D48 0029DCA8 80 81 03 1C */ lwz r4, 0x31c(r1) +/* 802A0D4C 0029DCAC 80 61 03 20 */ lwz r3, 0x320(r1) +/* 802A0D50 0029DCB0 80 01 03 24 */ lwz r0, 0x324(r1) +/* 802A0D54 0029DCB4 91 61 03 38 */ stw r11, 0x338(r1) +/* 802A0D58 0029DCB8 91 41 03 3C */ stw r10, 0x33c(r1) +/* 802A0D5C 0029DCBC 91 21 03 40 */ stw r9, 0x340(r1) +/* 802A0D60 0029DCC0 91 01 03 44 */ stw r8, 0x344(r1) +/* 802A0D64 0029DCC4 90 E1 03 48 */ stw r7, 0x348(r1) +/* 802A0D68 0029DCC8 90 C1 03 4C */ stw r6, 0x34c(r1) +/* 802A0D6C 0029DCCC 90 A1 03 50 */ stw r5, 0x350(r1) +/* 802A0D70 0029DCD0 90 81 03 54 */ stw r4, 0x354(r1) +/* 802A0D74 0029DCD4 90 61 03 58 */ stw r3, 0x358(r1) +/* 802A0D78 0029DCD8 90 01 03 5C */ stw r0, 0x35c(r1) +lbl_802A0D7C: +/* 802A0D7C 0029DCDC D3 21 03 64 */ stfs f25, 0x364(r1) +lbl_802A0D80: +/* 802A0D80 0029DCE0 3A 73 00 02 */ addi r19, r19, 2 +/* 802A0D84 0029DCE4 3A D6 00 01 */ addi r22, r22, 1 +lbl_802A0D88: +/* 802A0D88 0029DCE8 7C 16 A8 00 */ cmpw r22, r21 +/* 802A0D8C 0029DCEC 41 80 FD A0 */ blt lbl_802A0B2C +/* 802A0D90 0029DCF0 56 40 06 3F */ clrlwi. r0, r18, 0x18 +/* 802A0D94 0029DCF4 41 82 00 3C */ beq lbl_802A0DD0 +/* 802A0D98 0029DCF8 7F C3 F3 78 */ mr r3, r30 +/* 802A0D9C 0029DCFC 38 81 03 28 */ addi r4, r1, 0x328 +/* 802A0DA0 0029DD00 48 00 08 39 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A0DA4 0029DD04 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A0DA8 0029DD08 38 9E 00 10 */ addi r4, r30, 0x10 +/* 802A0DAC 0029DD0C 48 00 18 89 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A0DB0 0029DD10 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802A0DB4 0029DD14 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A0DB8 0029DD18 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802A0DBC 0029DD1C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A0DC0 0029DD20 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802A0DC4 0029DD24 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A0DC8 0029DD28 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802A0DCC 0029DD2C D0 1E 00 0C */ stfs f0, 0xc(r30) +lbl_802A0DD0: +/* 802A0DD0 0029DD30 28 14 00 00 */ cmplwi r20, 0 +/* 802A0DD4 0029DD34 41 82 07 98 */ beq lbl_802A156C +/* 802A0DD8 0029DD38 38 00 00 00 */ li r0, 0 +/* 802A0DDC 0029DD3C 98 01 03 60 */ stb r0, 0x360(r1) +/* 802A0DE0 0029DD40 48 00 07 8C */ b lbl_802A156C +lbl_802A0DE4: +/* 802A0DE4 0029DD44 2C 00 00 01 */ cmpwi r0, 1 +/* 802A0DE8 0029DD48 40 82 07 84 */ bne lbl_802A156C +/* 802A0DEC 0029DD4C 80 7B 00 18 */ lwz r3, 0x18(r27) +/* 802A0DF0 0029DD50 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A0DF4 0029DD54 28 00 00 0A */ cmplwi r0, 0xa +/* 802A0DF8 0029DD58 40 82 02 C8 */ bne lbl_802A10C0 +/* 802A0DFC 0029DD5C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0E00 0029DD60 38 00 00 00 */ li r0, 0 +/* 802A0E04 0029DD64 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A0E08 0029DD68 7F 64 DB 78 */ mr r4, r27 +/* 802A0E0C 0029DD6C D0 01 02 C4 */ stfs f0, 0x2c4(r1) +/* 802A0E10 0029DD70 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 802A0E14 0029DD74 38 A0 00 00 */ li r5, 0 +/* 802A0E18 0029DD78 D0 21 02 C0 */ stfs f1, 0x2c0(r1) +/* 802A0E1C 0029DD7C D0 01 02 C8 */ stfs f0, 0x2c8(r1) +/* 802A0E20 0029DD80 D0 01 02 CC */ stfs f0, 0x2cc(r1) +/* 802A0E24 0029DD84 98 01 02 F8 */ stb r0, 0x2f8(r1) +/* 802A0E28 0029DD88 D0 01 02 FC */ stfs f0, 0x2fc(r1) +/* 802A0E2C 0029DD8C D0 21 02 80 */ stfs f1, 0x280(r1) +/* 802A0E30 0029DD90 D0 01 02 84 */ stfs f0, 0x284(r1) +/* 802A0E34 0029DD94 D0 01 02 88 */ stfs f0, 0x288(r1) +/* 802A0E38 0029DD98 D0 01 02 8C */ stfs f0, 0x28c(r1) +/* 802A0E3C 0029DD9C 98 01 02 B8 */ stb r0, 0x2b8(r1) +/* 802A0E40 0029DDA0 D0 01 02 BC */ stfs f0, 0x2bc(r1) +/* 802A0E44 0029DDA4 48 00 1F 1D */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A0E48 0029DDA8 C0 A1 01 C8 */ lfs f5, 0x1c8(r1) +/* 802A0E4C 0029DDAC 7F 84 E3 78 */ mr r4, r28 +/* 802A0E50 0029DDB0 C0 81 01 CC */ lfs f4, 0x1cc(r1) +/* 802A0E54 0029DDB4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802A0E58 0029DDB8 C0 61 01 D0 */ lfs f3, 0x1d0(r1) +/* 802A0E5C 0029DDBC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802A0E60 0029DDC0 C0 41 01 D4 */ lfs f2, 0x1d4(r1) +/* 802A0E64 0029DDC4 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802A0E68 0029DDC8 C0 21 01 D8 */ lfs f1, 0x1d8(r1) +/* 802A0E6C 0029DDCC C0 01 01 DC */ lfs f0, 0x1dc(r1) +/* 802A0E70 0029DDD0 81 01 01 E0 */ lwz r8, 0x1e0(r1) +/* 802A0E74 0029DDD4 80 E1 01 E4 */ lwz r7, 0x1e4(r1) +/* 802A0E78 0029DDD8 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 802A0E7C 0029DDDC D0 A1 02 5C */ stfs f5, 0x25c(r1) +/* 802A0E80 0029DDE0 D0 81 02 60 */ stfs f4, 0x260(r1) +/* 802A0E84 0029DDE4 D0 61 02 64 */ stfs f3, 0x264(r1) +/* 802A0E88 0029DDE8 D0 41 02 68 */ stfs f2, 0x268(r1) +/* 802A0E8C 0029DDEC D0 21 02 6C */ stfs f1, 0x26c(r1) +/* 802A0E90 0029DDF0 D0 01 02 70 */ stfs f0, 0x270(r1) +/* 802A0E94 0029DDF4 91 01 02 74 */ stw r8, 0x274(r1) +/* 802A0E98 0029DDF8 90 E1 02 78 */ stw r7, 0x278(r1) +/* 802A0E9C 0029DDFC 90 01 02 7C */ stw r0, 0x27c(r1) +/* 802A0EA0 0029DE00 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 802A0EA4 0029DE04 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 802A0EA8 0029DE08 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 802A0EAC 0029DE0C D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 802A0EB0 0029DE10 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 802A0EB4 0029DE14 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802A0EB8 0029DE18 D3 81 00 18 */ stfs f28, 0x18(r1) +/* 802A0EBC 0029DE1C D3 41 00 14 */ stfs f26, 0x14(r1) +/* 802A0EC0 0029DE20 48 00 15 B5 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A0EC4 0029DE24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A0EC8 0029DE28 41 82 00 28 */ beq lbl_802A0EF0 +/* 802A0ECC 0029DE2C FC 60 C8 90 */ fmr f3, f25 +/* 802A0ED0 0029DE30 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A0ED4 0029DE34 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A0ED8 0029DE38 7F 84 E3 78 */ mr r4, r28 +/* 802A0EDC 0029DE3C 7F A5 EB 78 */ mr r5, r29 +/* 802A0EE0 0029DE40 7F E7 FB 78 */ mr r7, r31 +/* 802A0EE4 0029DE44 38 61 02 5C */ addi r3, r1, 0x25c +/* 802A0EE8 0029DE48 38 C1 02 C0 */ addi r6, r1, 0x2c0 +/* 802A0EEC 0029DE4C 4B FF FB 21 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A0EF0: +/* 802A0EF0 0029DE50 7F 64 DB 78 */ mr r4, r27 +/* 802A0EF4 0029DE54 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 802A0EF8 0029DE58 38 A0 00 01 */ li r5, 1 +/* 802A0EFC 0029DE5C 48 00 1E 65 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A0F00 0029DE60 C0 A1 01 A4 */ lfs f5, 0x1a4(r1) +/* 802A0F04 0029DE64 7F 84 E3 78 */ mr r4, r28 +/* 802A0F08 0029DE68 C0 81 01 A8 */ lfs f4, 0x1a8(r1) +/* 802A0F0C 0029DE6C 38 61 00 90 */ addi r3, r1, 0x90 +/* 802A0F10 0029DE70 C0 61 01 AC */ lfs f3, 0x1ac(r1) +/* 802A0F14 0029DE74 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A0F18 0029DE78 C0 41 01 B0 */ lfs f2, 0x1b0(r1) +/* 802A0F1C 0029DE7C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A0F20 0029DE80 C0 21 01 B4 */ lfs f1, 0x1b4(r1) +/* 802A0F24 0029DE84 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 802A0F28 0029DE88 81 01 01 BC */ lwz r8, 0x1bc(r1) +/* 802A0F2C 0029DE8C 80 E1 01 C0 */ lwz r7, 0x1c0(r1) +/* 802A0F30 0029DE90 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802A0F34 0029DE94 D0 A1 02 38 */ stfs f5, 0x238(r1) +/* 802A0F38 0029DE98 D0 81 02 3C */ stfs f4, 0x23c(r1) +/* 802A0F3C 0029DE9C D0 61 02 40 */ stfs f3, 0x240(r1) +/* 802A0F40 0029DEA0 D0 41 02 44 */ stfs f2, 0x244(r1) +/* 802A0F44 0029DEA4 D0 21 02 48 */ stfs f1, 0x248(r1) +/* 802A0F48 0029DEA8 D0 01 02 4C */ stfs f0, 0x24c(r1) +/* 802A0F4C 0029DEAC 91 01 02 50 */ stw r8, 0x250(r1) +/* 802A0F50 0029DEB0 90 E1 02 54 */ stw r7, 0x254(r1) +/* 802A0F54 0029DEB4 90 01 02 58 */ stw r0, 0x258(r1) +/* 802A0F58 0029DEB8 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802A0F5C 0029DEBC D0 81 00 94 */ stfs f4, 0x94(r1) +/* 802A0F60 0029DEC0 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 802A0F64 0029DEC4 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 802A0F68 0029DEC8 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802A0F6C 0029DECC D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802A0F70 0029DED0 D3 81 00 10 */ stfs f28, 0x10(r1) +/* 802A0F74 0029DED4 D3 41 00 0C */ stfs f26, 0xc(r1) +/* 802A0F78 0029DED8 48 00 14 FD */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A0F7C 0029DEDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A0F80 0029DEE0 41 82 00 28 */ beq lbl_802A0FA8 +/* 802A0F84 0029DEE4 FC 60 C8 90 */ fmr f3, f25 +/* 802A0F88 0029DEE8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802A0F8C 0029DEEC C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802A0F90 0029DEF0 7F 84 E3 78 */ mr r4, r28 +/* 802A0F94 0029DEF4 7F A5 EB 78 */ mr r5, r29 +/* 802A0F98 0029DEF8 7F E7 FB 78 */ mr r7, r31 +/* 802A0F9C 0029DEFC 38 61 02 38 */ addi r3, r1, 0x238 +/* 802A0FA0 0029DF00 38 C1 02 80 */ addi r6, r1, 0x280 +/* 802A0FA4 0029DF04 4B FF FA 69 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A0FA8: +/* 802A0FA8 0029DF08 88 61 02 F8 */ lbz r3, 0x2f8(r1) +/* 802A0FAC 0029DF0C 28 03 00 00 */ cmplwi r3, 0 +/* 802A0FB0 0029DF10 40 82 00 54 */ bne lbl_802A1004 +/* 802A0FB4 0029DF14 88 01 02 B8 */ lbz r0, 0x2b8(r1) +/* 802A0FB8 0029DF18 28 00 00 00 */ cmplwi r0, 0 +/* 802A0FBC 0029DF1C 40 82 00 48 */ bne lbl_802A1004 +/* 802A0FC0 0029DF20 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0FC4 0029DF24 38 00 00 00 */ li r0, 0 +/* 802A0FC8 0029DF28 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A0FCC 0029DF2C 7F C3 F3 78 */ mr r3, r30 +/* 802A0FD0 0029DF30 D0 01 01 68 */ stfs f0, 0x168(r1) +/* 802A0FD4 0029DF34 38 81 01 64 */ addi r4, r1, 0x164 +/* 802A0FD8 0029DF38 D0 21 01 64 */ stfs f1, 0x164(r1) +/* 802A0FDC 0029DF3C D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 802A0FE0 0029DF40 D0 01 01 70 */ stfs f0, 0x170(r1) +/* 802A0FE4 0029DF44 98 01 01 9C */ stb r0, 0x19c(r1) +/* 802A0FE8 0029DF48 D0 01 01 A0 */ stfs f0, 0x1a0(r1) +/* 802A0FEC 0029DF4C 48 00 05 ED */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A0FF0 0029DF50 38 00 00 00 */ li r0, 0 +/* 802A0FF4 0029DF54 98 01 01 9C */ stb r0, 0x19c(r1) +/* 802A0FF8 0029DF58 98 01 02 B8 */ stb r0, 0x2b8(r1) +/* 802A0FFC 0029DF5C 98 01 02 F8 */ stb r0, 0x2f8(r1) +/* 802A1000 0029DF60 48 00 05 6C */ b lbl_802A156C +lbl_802A1004: +/* 802A1004 0029DF64 28 03 00 00 */ cmplwi r3, 0 +/* 802A1008 0029DF68 41 82 00 40 */ beq lbl_802A1048 +/* 802A100C 0029DF6C 88 01 02 B8 */ lbz r0, 0x2b8(r1) +/* 802A1010 0029DF70 28 00 00 00 */ cmplwi r0, 0 +/* 802A1014 0029DF74 41 82 00 34 */ beq lbl_802A1048 +/* 802A1018 0029DF78 C0 21 02 FC */ lfs f1, 0x2fc(r1) +/* 802A101C 0029DF7C C0 01 02 BC */ lfs f0, 0x2bc(r1) +/* 802A1020 0029DF80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1024 0029DF84 40 80 00 14 */ bge lbl_802A1038 +/* 802A1028 0029DF88 7F C3 F3 78 */ mr r3, r30 +/* 802A102C 0029DF8C 38 81 02 C0 */ addi r4, r1, 0x2c0 +/* 802A1030 0029DF90 48 00 05 A9 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A1034 0029DF94 48 00 00 38 */ b lbl_802A106C +lbl_802A1038: +/* 802A1038 0029DF98 7F C3 F3 78 */ mr r3, r30 +/* 802A103C 0029DF9C 38 81 02 80 */ addi r4, r1, 0x280 +/* 802A1040 0029DFA0 48 00 05 99 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A1044 0029DFA4 48 00 00 28 */ b lbl_802A106C +lbl_802A1048: +/* 802A1048 0029DFA8 28 03 00 00 */ cmplwi r3, 0 +/* 802A104C 0029DFAC 41 82 00 14 */ beq lbl_802A1060 +/* 802A1050 0029DFB0 7F C3 F3 78 */ mr r3, r30 +/* 802A1054 0029DFB4 38 81 02 C0 */ addi r4, r1, 0x2c0 +/* 802A1058 0029DFB8 48 00 05 81 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A105C 0029DFBC 48 00 00 10 */ b lbl_802A106C +lbl_802A1060: +/* 802A1060 0029DFC0 7F C3 F3 78 */ mr r3, r30 +/* 802A1064 0029DFC4 38 81 02 80 */ addi r4, r1, 0x280 +/* 802A1068 0029DFC8 48 00 05 71 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +lbl_802A106C: +/* 802A106C 0029DFCC C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 802A1070 0029DFD0 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802A1074 0029DFD4 40 81 00 3C */ ble lbl_802A10B0 +/* 802A1078 0029DFD8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A107C 0029DFDC 38 00 00 00 */ li r0, 0 +/* 802A1080 0029DFE0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A1084 0029DFE4 7F C3 F3 78 */ mr r3, r30 +/* 802A1088 0029DFE8 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 802A108C 0029DFEC 38 81 01 24 */ addi r4, r1, 0x124 +/* 802A1090 0029DFF0 D0 21 01 24 */ stfs f1, 0x124(r1) +/* 802A1094 0029DFF4 D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 802A1098 0029DFF8 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 802A109C 0029DFFC 98 01 01 5C */ stb r0, 0x15c(r1) +/* 802A10A0 0029E000 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 802A10A4 0029E004 48 00 05 35 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A10A8 0029E008 38 00 00 00 */ li r0, 0 +/* 802A10AC 0029E00C 98 01 01 5C */ stb r0, 0x15c(r1) +lbl_802A10B0: +/* 802A10B0 0029E010 38 00 00 00 */ li r0, 0 +/* 802A10B4 0029E014 98 01 02 B8 */ stb r0, 0x2b8(r1) +/* 802A10B8 0029E018 98 01 02 F8 */ stb r0, 0x2f8(r1) +/* 802A10BC 0029E01C 48 00 04 B0 */ b lbl_802A156C +lbl_802A10C0: +/* 802A10C0 0029E020 3C 60 80 3D */ lis r3, lbl_803D6008@ha +/* 802A10C4 0029E024 7F 64 DB 78 */ mr r4, r27 +/* 802A10C8 0029E028 39 03 60 08 */ addi r8, r3, lbl_803D6008@l +/* 802A10CC 0029E02C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A10D0 0029E030 80 E8 00 00 */ lwz r7, 0(r8) +/* 802A10D4 0029E034 3A 20 00 00 */ li r17, 0 +/* 802A10D8 0029E038 80 C8 00 04 */ lwz r6, 4(r8) +/* 802A10DC 0029E03C 80 A8 00 08 */ lwz r5, 8(r8) +/* 802A10E0 0029E040 80 08 00 0C */ lwz r0, 0xc(r8) +/* 802A10E4 0029E044 90 E1 00 74 */ stw r7, 0x74(r1) +/* 802A10E8 0029E048 90 C1 00 78 */ stw r6, 0x78(r1) +/* 802A10EC 0029E04C 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 802A10F0 0029E050 90 01 00 80 */ stw r0, 0x80(r1) +/* 802A10F4 0029E054 48 09 65 19 */ bl GetCenterPoint__6CAABoxCFv +/* 802A10F8 0029E058 C0 3C 00 10 */ lfs f1, 0x10(r28) +/* 802A10FC 0029E05C 3A 41 00 68 */ addi r18, r1, 0x68 +/* 802A1100 0029E060 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 802A1104 0029E064 7E 5A 93 78 */ mr r26, r18 +/* 802A1108 0029E068 C0 5C 00 0C */ lfs f2, 0xc(r28) +/* 802A110C 0029E06C EC BC 00 72 */ fmuls f5, f28, f1 +/* 802A1110 0029E070 C0 DC 00 04 */ lfs f6, 4(r28) +/* 802A1114 0029E074 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A1118 0029E078 EC 7C 00 32 */ fmuls f3, f28, f0 +/* 802A111C 0029E07C C0 9C 00 08 */ lfs f4, 8(r28) +/* 802A1120 0029E080 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 802A1124 0029E084 ED 26 28 2A */ fadds f9, f6, f5 +/* 802A1128 0029E088 C0 E1 00 28 */ lfs f7, 0x28(r1) +/* 802A112C 0029E08C ED 04 18 2A */ fadds f8, f4, f3 +/* 802A1130 0029E090 ED 46 08 2A */ fadds f10, f6, f1 +/* 802A1134 0029E094 C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 802A1138 0029E098 EC C4 00 2A */ fadds f6, f4, f0 +/* 802A113C 0029E09C C0 81 00 30 */ lfs f4, 0x30(r1) +/* 802A1140 0029E0A0 EC 3C 00 B2 */ fmuls f1, f28, f2 +/* 802A1144 0029E0A4 C0 7C 00 00 */ lfs f3, 0(r28) +/* 802A1148 0029E0A8 EC 1A 00 B2 */ fmuls f0, f26, f2 +/* 802A114C 0029E0AC D0 E1 00 68 */ stfs f7, 0x68(r1) +/* 802A1150 0029E0B0 EC 23 08 2A */ fadds f1, f3, f1 +/* 802A1154 0029E0B4 7F 96 E3 78 */ mr r22, r28 +/* 802A1158 0029E0B8 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 802A115C 0029E0BC 7F F5 FB 78 */ mr r21, r31 +/* 802A1160 0029E0C0 EC 03 00 2A */ fadds f0, f3, f0 +/* 802A1164 0029E0C4 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 802A1168 0029E0C8 3B 21 00 5C */ addi r25, r1, 0x5c +/* 802A116C 0029E0CC 3B 01 00 50 */ addi r24, r1, 0x50 +/* 802A1170 0029E0D0 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802A1174 0029E0D4 3A 81 00 84 */ addi r20, r1, 0x84 +/* 802A1178 0029E0D8 D1 21 00 60 */ stfs f9, 0x60(r1) +/* 802A117C 0029E0DC 3A 61 00 74 */ addi r19, r1, 0x74 +/* 802A1180 0029E0E0 3A 00 00 00 */ li r16, 0 +/* 802A1184 0029E0E4 3A E0 00 00 */ li r23, 0 +/* 802A1188 0029E0E8 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802A118C 0029E0EC D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802A1190 0029E0F0 D1 41 00 54 */ stfs f10, 0x54(r1) +/* 802A1194 0029E0F4 D0 C1 00 58 */ stfs f6, 0x58(r1) +lbl_802A1198: +/* 802A1198 0029E0F8 C0 59 00 00 */ lfs f2, 0(r25) +/* 802A119C 0029E0FC C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A11A0 0029E100 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802A11A4 0029E104 40 80 00 10 */ bge lbl_802A11B4 +/* 802A11A8 0029E108 C0 18 00 00 */ lfs f0, 0(r24) +/* 802A11AC 0029E10C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A11B0 0029E110 41 81 00 18 */ bgt lbl_802A11C8 +lbl_802A11B4: +/* 802A11B4 0029E114 C0 18 00 00 */ lfs f0, 0(r24) +/* 802A11B8 0029E118 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A11BC 0029E11C 40 80 00 4C */ bge lbl_802A1208 +/* 802A11C0 0029E120 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802A11C4 0029E124 40 81 00 44 */ ble lbl_802A1208 +lbl_802A11C8: +/* 802A11C8 0029E128 7C 7C BA 14 */ add r3, r28, r23 +/* 802A11CC 0029E12C C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2) +/* 802A11D0 0029E130 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 802A11D4 0029E134 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2) +/* 802A11D8 0029E138 48 00 14 41 */ bl _close_enough__Ffff +/* 802A11DC 0029E13C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A11E0 0029E140 40 82 00 28 */ bne lbl_802A1208 +/* 802A11E4 0029E144 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A11E8 0029E148 3A 31 00 01 */ addi r17, r17, 1 +/* 802A11EC 0029E14C C0 16 00 00 */ lfs f0, 0(r22) +/* 802A11F0 0029E150 92 13 00 00 */ stw r16, 0(r19) +/* 802A11F4 0029E154 3A 73 00 04 */ addi r19, r19, 4 +/* 802A11F8 0029E158 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A11FC 0029E15C C0 35 00 00 */ lfs f1, 0(r21) +/* 802A1200 0029E160 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A1204 0029E164 D0 14 00 00 */ stfs f0, 0(r20) +lbl_802A1208: +/* 802A1208 0029E168 3A 10 00 01 */ addi r16, r16, 1 +/* 802A120C 0029E16C 3B 39 00 04 */ addi r25, r25, 4 +/* 802A1210 0029E170 2C 10 00 03 */ cmpwi r16, 3 +/* 802A1214 0029E174 3B 18 00 04 */ addi r24, r24, 4 +/* 802A1218 0029E178 3A F7 00 04 */ addi r23, r23, 4 +/* 802A121C 0029E17C 3A D6 00 04 */ addi r22, r22, 4 +/* 802A1220 0029E180 3A B5 00 04 */ addi r21, r21, 4 +/* 802A1224 0029E184 3A 94 00 04 */ addi r20, r20, 4 +/* 802A1228 0029E188 3B 5A 00 04 */ addi r26, r26, 4 +/* 802A122C 0029E18C 41 80 FF 6C */ blt lbl_802A1198 +/* 802A1230 0029E190 2C 11 00 02 */ cmpwi r17, 2 +/* 802A1234 0029E194 41 82 00 20 */ beq lbl_802A1254 +/* 802A1238 0029E198 40 80 00 10 */ bge lbl_802A1248 +/* 802A123C 0029E19C 2C 11 00 00 */ cmpwi r17, 0 +/* 802A1240 0029E1A0 40 80 01 3C */ bge lbl_802A137C +/* 802A1244 0029E1A4 48 00 03 28 */ b lbl_802A156C +lbl_802A1248: +/* 802A1248 0029E1A8 2C 11 00 04 */ cmpwi r17, 4 +/* 802A124C 0029E1AC 40 80 03 20 */ bge lbl_802A156C +/* 802A1250 0029E1B0 48 00 00 34 */ b lbl_802A1284 +lbl_802A1254: +/* 802A1254 0029E1B4 80 C1 00 78 */ lwz r6, 0x78(r1) +/* 802A1258 0029E1B8 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A125C 0029E1BC 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 802A1260 0029E1C0 54 C4 10 3A */ slwi r4, r6, 2 +/* 802A1264 0029E1C4 54 A0 10 3A */ slwi r0, r5, 2 +/* 802A1268 0029E1C8 7C 23 24 2E */ lfsx f1, r3, r4 +/* 802A126C 0029E1CC 7C 03 04 2E */ lfsx f0, r3, r0 +/* 802A1270 0029E1D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1274 0029E1D4 40 80 01 08 */ bge lbl_802A137C +/* 802A1278 0029E1D8 90 C1 00 74 */ stw r6, 0x74(r1) +/* 802A127C 0029E1DC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802A1280 0029E1E0 48 00 00 FC */ b lbl_802A137C +lbl_802A1284: +/* 802A1284 0029E1E4 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802A1288 0029E1E8 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802A128C 0029E1EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802A1290 0029E1F0 7C 00 00 26 */ mfcr r0 +/* 802A1294 0029E1F4 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802A1298 0029E1F8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802A129C 0029E1FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A12A0 0029E200 7C 00 00 26 */ mfcr r0 +/* 802A12A4 0029E204 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802A12A8 0029E208 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A12AC 0029E20C 40 80 00 68 */ bge lbl_802A1314 +/* 802A12B0 0029E210 28 03 00 00 */ cmplwi r3, 0 +/* 802A12B4 0029E214 40 82 00 20 */ bne lbl_802A12D4 +/* 802A12B8 0029E218 38 80 00 02 */ li r4, 2 +/* 802A12BC 0029E21C 38 60 00 00 */ li r3, 0 +/* 802A12C0 0029E220 38 00 00 01 */ li r0, 1 +/* 802A12C4 0029E224 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A12C8 0029E228 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A12CC 0029E22C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A12D0 0029E230 48 00 00 AC */ b lbl_802A137C +lbl_802A12D4: +/* 802A12D4 0029E234 28 00 00 00 */ cmplwi r0, 0 +/* 802A12D8 0029E238 41 82 00 20 */ beq lbl_802A12F8 +/* 802A12DC 0029E23C 38 80 00 00 */ li r4, 0 +/* 802A12E0 0029E240 38 60 00 01 */ li r3, 1 +/* 802A12E4 0029E244 38 00 00 02 */ li r0, 2 +/* 802A12E8 0029E248 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A12EC 0029E24C 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A12F0 0029E250 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A12F4 0029E254 48 00 00 88 */ b lbl_802A137C +lbl_802A12F8: +/* 802A12F8 0029E258 38 80 00 00 */ li r4, 0 +/* 802A12FC 0029E25C 38 60 00 02 */ li r3, 2 +/* 802A1300 0029E260 38 00 00 01 */ li r0, 1 +/* 802A1304 0029E264 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A1308 0029E268 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A130C 0029E26C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1310 0029E270 48 00 00 6C */ b lbl_802A137C +lbl_802A1314: +/* 802A1314 0029E274 28 00 00 00 */ cmplwi r0, 0 +/* 802A1318 0029E278 40 82 00 20 */ bne lbl_802A1338 +/* 802A131C 0029E27C 38 80 00 02 */ li r4, 2 +/* 802A1320 0029E280 38 60 00 01 */ li r3, 1 +/* 802A1324 0029E284 38 00 00 00 */ li r0, 0 +/* 802A1328 0029E288 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A132C 0029E28C 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A1330 0029E290 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1334 0029E294 48 00 00 48 */ b lbl_802A137C +lbl_802A1338: +/* 802A1338 0029E298 28 03 00 00 */ cmplwi r3, 0 +/* 802A133C 0029E29C 41 82 00 20 */ beq lbl_802A135C +/* 802A1340 0029E2A0 38 80 00 01 */ li r4, 1 +/* 802A1344 0029E2A4 38 60 00 00 */ li r3, 0 +/* 802A1348 0029E2A8 38 00 00 02 */ li r0, 2 +/* 802A134C 0029E2AC 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A1350 0029E2B0 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A1354 0029E2B4 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1358 0029E2B8 48 00 00 24 */ b lbl_802A137C +lbl_802A135C: +/* 802A135C 0029E2BC 38 80 00 01 */ li r4, 1 +/* 802A1360 0029E2C0 38 60 00 02 */ li r3, 2 +/* 802A1364 0029E2C4 38 00 00 00 */ li r0, 0 +/* 802A1368 0029E2C8 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A136C 0029E2CC 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A1370 0029E2D0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1374 0029E2D4 48 00 00 08 */ b lbl_802A137C +/* 802A1378 0029E2D8 48 00 01 F4 */ b lbl_802A156C +lbl_802A137C: +/* 802A137C 0029E2DC C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 802A1380 0029E2E0 3A 00 00 00 */ li r16, 0 +/* 802A1384 0029E2E4 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 802A1388 0029E2E8 38 00 00 00 */ li r0, 0 +/* 802A138C 0029E2EC EC 1C 00 32 */ fmuls f0, f28, f0 +/* 802A1390 0029E2F0 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802A1394 0029E2F4 C0 7C 00 14 */ lfs f3, 0x14(r28) +/* 802A1398 0029E2F8 EC BC 00 B2 */ fmuls f5, f28, f2 +/* 802A139C 0029E2FC C0 DC 00 04 */ lfs f6, 4(r28) +/* 802A13A0 0029E300 38 60 00 01 */ li r3, 1 +/* 802A13A4 0029E304 EC 41 00 2A */ fadds f2, f1, f0 +/* 802A13A8 0029E308 C0 9C 00 08 */ lfs f4, 8(r28) +/* 802A13AC 0029E30C EC 7C 00 F2 */ fmuls f3, f28, f3 +/* 802A13B0 0029E310 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802A13B4 0029E314 EC A6 28 2A */ fadds f5, f6, f5 +/* 802A13B8 0029E318 FC 20 10 18 */ frsp f1, f2 +/* 802A13BC 0029E31C EC 64 18 2A */ fadds f3, f4, f3 +/* 802A13C0 0029E320 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802A13C4 0029E324 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A13C8 0029E328 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802A13CC 0029E32C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802A13D0 0029E330 4C 41 13 82 */ cror 2, 1, 2 +/* 802A13D4 0029E334 40 82 00 0C */ bne lbl_802A13E0 +/* 802A13D8 0029E338 7C 60 00 30 */ slw r0, r3, r0 +/* 802A13DC 0029E33C 7C 10 03 78 */ mr r16, r0 +lbl_802A13E0: +/* 802A13E0 0029E340 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802A13E4 0029E344 38 00 00 01 */ li r0, 1 +/* 802A13E8 0029E348 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802A13EC 0029E34C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A13F0 0029E350 4C 41 13 82 */ cror 2, 1, 2 +/* 802A13F4 0029E354 40 82 00 0C */ bne lbl_802A1400 +/* 802A13F8 0029E358 7C 60 00 30 */ slw r0, r3, r0 +/* 802A13FC 0029E35C 7E 10 03 78 */ or r16, r16, r0 +lbl_802A1400: +/* 802A1400 0029E360 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802A1404 0029E364 38 00 00 02 */ li r0, 2 +/* 802A1408 0029E368 C0 12 00 08 */ lfs f0, 8(r18) +/* 802A140C 0029E36C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1410 0029E370 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1414 0029E374 40 82 00 0C */ bne lbl_802A1420 +/* 802A1418 0029E378 7C 60 00 30 */ slw r0, r3, r0 +/* 802A141C 0029E37C 7E 10 03 78 */ or r16, r16, r0 +lbl_802A1420: +/* 802A1420 0029E380 FE A0 E0 90 */ fmr f21, f28 +/* 802A1424 0029E384 3A 61 00 70 */ addi r19, r1, 0x70 +/* 802A1428 0029E388 3A 91 FF FF */ addi r20, r17, -1 +/* 802A142C 0029E38C 3A 40 FF FF */ li r18, -1 +/* 802A1430 0029E390 48 00 01 34 */ b lbl_802A1564 +lbl_802A1434: +/* 802A1434 0029E394 2C 12 00 00 */ cmpwi r18, 0 +/* 802A1438 0029E398 41 80 00 14 */ blt lbl_802A144C +/* 802A143C 0029E39C 80 13 00 00 */ lwz r0, 0(r19) +/* 802A1440 0029E3A0 38 60 00 01 */ li r3, 1 +/* 802A1444 0029E3A4 7C 60 00 30 */ slw r0, r3, r0 +/* 802A1448 0029E3A8 7E 10 02 78 */ xor r16, r16, r0 +lbl_802A144C: +/* 802A144C 0029E3AC 7C 12 A0 00 */ cmpw r18, r20 +/* 802A1450 0029E3B0 40 80 00 18 */ bge lbl_802A1468 +/* 802A1454 0029E3B4 80 13 00 04 */ lwz r0, 4(r19) +/* 802A1458 0029E3B8 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A145C 0029E3BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802A1460 0029E3C0 7E C3 04 2E */ lfsx f22, r3, r0 +/* 802A1464 0029E3C4 48 00 00 08 */ b lbl_802A146C +lbl_802A1468: +/* 802A1468 0029E3C8 FE C0 D0 90 */ fmr f22, f26 +lbl_802A146C: +/* 802A146C 0029E3CC FC 16 F8 40 */ fcmpo cr0, f22, f31 +/* 802A1470 0029E3D0 40 81 00 E8 */ ble lbl_802A1558 +/* 802A1474 0029E3D4 FC 15 B0 40 */ fcmpo cr0, f21, f22 +/* 802A1478 0029E3D8 4C 40 13 82 */ cror 2, 0, 2 +/* 802A147C 0029E3DC 40 82 00 DC */ bne lbl_802A1558 +/* 802A1480 0029E3E0 7F 64 DB 78 */ mr r4, r27 +/* 802A1484 0029E3E4 7E 05 83 78 */ mr r5, r16 +/* 802A1488 0029E3E8 38 61 01 00 */ addi r3, r1, 0x100 +/* 802A148C 0029E3EC 48 00 18 D5 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A1490 0029E3F0 80 01 01 20 */ lwz r0, 0x120(r1) +/* 802A1494 0029E3F4 C0 A1 01 00 */ lfs f5, 0x100(r1) +/* 802A1498 0029E3F8 C0 81 01 04 */ lfs f4, 0x104(r1) +/* 802A149C 0029E3FC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A14A0 0029E400 C0 61 01 08 */ lfs f3, 0x108(r1) +/* 802A14A4 0029E404 C0 41 01 0C */ lfs f2, 0x10c(r1) +/* 802A14A8 0029E408 C0 21 01 10 */ lfs f1, 0x110(r1) +/* 802A14AC 0029E40C C0 01 01 14 */ lfs f0, 0x114(r1) +/* 802A14B0 0029E410 80 81 01 18 */ lwz r4, 0x118(r1) +/* 802A14B4 0029E414 80 61 01 1C */ lwz r3, 0x11c(r1) +/* 802A14B8 0029E418 D0 A1 02 14 */ stfs f5, 0x214(r1) +/* 802A14BC 0029E41C D0 81 02 18 */ stfs f4, 0x218(r1) +/* 802A14C0 0029E420 D0 61 02 1C */ stfs f3, 0x21c(r1) +/* 802A14C4 0029E424 D0 41 02 20 */ stfs f2, 0x220(r1) +/* 802A14C8 0029E428 D0 21 02 24 */ stfs f1, 0x224(r1) +/* 802A14CC 0029E42C D0 01 02 28 */ stfs f0, 0x228(r1) +/* 802A14D0 0029E430 90 81 02 2C */ stw r4, 0x22c(r1) +/* 802A14D4 0029E434 90 61 02 30 */ stw r3, 0x230(r1) +/* 802A14D8 0029E438 90 01 02 34 */ stw r0, 0x234(r1) +/* 802A14DC 0029E43C 41 82 00 28 */ beq lbl_802A1504 +/* 802A14E0 0029E440 FC 20 A8 90 */ fmr f1, f21 +/* 802A14E4 0029E444 7F 84 E3 78 */ mr r4, r28 +/* 802A14E8 0029E448 FC 40 B0 90 */ fmr f2, f22 +/* 802A14EC 0029E44C 7F A5 EB 78 */ mr r5, r29 +/* 802A14F0 0029E450 FC 60 C8 90 */ fmr f3, f25 +/* 802A14F4 0029E454 7F C6 F3 78 */ mr r6, r30 +/* 802A14F8 0029E458 7F E7 FB 78 */ mr r7, r31 +/* 802A14FC 0029E45C 38 61 02 14 */ addi r3, r1, 0x214 +/* 802A1500 0029E460 4B FF F5 0D */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A1504: +/* 802A1504 0029E464 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 802A1508 0029E468 28 00 00 00 */ cmplwi r0, 0 +/* 802A150C 0029E46C 41 82 00 4C */ beq lbl_802A1558 +/* 802A1510 0029E470 C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 802A1514 0029E474 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802A1518 0029E478 40 81 00 54 */ ble lbl_802A156C +/* 802A151C 0029E47C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A1520 0029E480 38 00 00 00 */ li r0, 0 +/* 802A1524 0029E484 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A1528 0029E488 7F C3 F3 78 */ mr r3, r30 +/* 802A152C 0029E48C D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A1530 0029E490 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802A1534 0029E494 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 802A1538 0029E498 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802A153C 0029E49C D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 802A1540 0029E4A0 98 01 00 F8 */ stb r0, 0xf8(r1) +/* 802A1544 0029E4A4 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 802A1548 0029E4A8 48 00 00 91 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A154C 0029E4AC 38 00 00 00 */ li r0, 0 +/* 802A1550 0029E4B0 98 01 00 F8 */ stb r0, 0xf8(r1) +/* 802A1554 0029E4B4 48 00 00 18 */ b lbl_802A156C +lbl_802A1558: +/* 802A1558 0029E4B8 FE A0 B0 90 */ fmr f21, f22 +/* 802A155C 0029E4BC 3A 73 00 04 */ addi r19, r19, 4 +/* 802A1560 0029E4C0 3A 52 00 01 */ addi r18, r18, 1 +lbl_802A1564: +/* 802A1564 0029E4C4 7C 12 88 00 */ cmpw r18, r17 +/* 802A1568 0029E4C8 41 80 FE CC */ blt lbl_802A1434 +lbl_802A156C: +/* 802A156C 0029E4CC E3 E1 04 58 */ psq_l f31, 1112(r1), 0, qr0 +/* 802A1570 0029E4D0 CB E1 04 50 */ lfd f31, 0x450(r1) +/* 802A1574 0029E4D4 E3 C1 04 48 */ psq_l f30, 1096(r1), 0, qr0 +/* 802A1578 0029E4D8 CB C1 04 40 */ lfd f30, 0x440(r1) +/* 802A157C 0029E4DC E3 A1 04 38 */ psq_l f29, 1080(r1), 0, qr0 +/* 802A1580 0029E4E0 CB A1 04 30 */ lfd f29, 0x430(r1) +/* 802A1584 0029E4E4 E3 81 04 28 */ psq_l f28, 1064(r1), 0, qr0 +/* 802A1588 0029E4E8 CB 81 04 20 */ lfd f28, 0x420(r1) +/* 802A158C 0029E4EC E3 61 04 18 */ psq_l f27, 1048(r1), 0, qr0 +/* 802A1590 0029E4F0 CB 61 04 10 */ lfd f27, 0x410(r1) +/* 802A1594 0029E4F4 E3 41 04 08 */ psq_l f26, 1032(r1), 0, qr0 +/* 802A1598 0029E4F8 CB 41 04 00 */ lfd f26, 0x400(r1) +/* 802A159C 0029E4FC E3 21 03 F8 */ psq_l f25, 1016(r1), 0, qr0 +/* 802A15A0 0029E500 CB 21 03 F0 */ lfd f25, 0x3f0(r1) +/* 802A15A4 0029E504 E3 01 03 E8 */ psq_l f24, 1000(r1), 0, qr0 +/* 802A15A8 0029E508 CB 01 03 E0 */ lfd f24, 0x3e0(r1) +/* 802A15AC 0029E50C E2 E1 03 D8 */ psq_l f23, 984(r1), 0, qr0 +/* 802A15B0 0029E510 CA E1 03 D0 */ lfd f23, 0x3d0(r1) +/* 802A15B4 0029E514 E2 C1 03 C8 */ psq_l f22, 968(r1), 0, qr0 +/* 802A15B8 0029E518 CA C1 03 C0 */ lfd f22, 0x3c0(r1) +/* 802A15BC 0029E51C E2 A1 03 B8 */ psq_l f21, 952(r1), 0, qr0 +/* 802A15C0 0029E520 CA A1 03 B0 */ lfd f21, 0x3b0(r1) +/* 802A15C4 0029E524 BA 01 03 70 */ lmw r16, 0x370(r1) +/* 802A15C8 0029E528 80 01 04 64 */ lwz r0, 0x464(r1) +/* 802A15CC 0029E52C 7C 08 03 A6 */ mtlr r0 +/* 802A15D0 0029E530 38 21 04 60 */ addi r1, r1, 0x460 +/* 802A15D4 0029E534 4E 80 00 20 */ blr + +.global __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +__as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult: +/* 802A15D8 0029E538 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A15DC 0029E53C 7C 08 02 A6 */ mflr r0 +/* 802A15E0 0029E540 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A15E4 0029E544 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A15E8 0029E548 7C 9F 23 78 */ mr r31, r4 +/* 802A15EC 0029E54C 93 C1 00 08 */ stw r30, 8(r1) +/* 802A15F0 0029E550 7C 7E 1B 78 */ mr r30, r3 +/* 802A15F4 0029E554 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A15F8 0029E558 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A15FC 0029E55C 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802A1600 0029E560 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A1604 0029E564 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802A1608 0029E568 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A160C 0029E56C C0 1F 00 08 */ lfs f0, 8(r31) +/* 802A1610 0029E570 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A1614 0029E574 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802A1618 0029E578 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A161C 0029E57C 48 00 00 29 */ bl "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>" +/* 802A1620 0029E580 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802A1624 0029E584 7F C3 F3 78 */ mr r3, r30 +/* 802A1628 0029E588 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802A162C 0029E58C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A1630 0029E590 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A1634 0029E594 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A1638 0029E598 7C 08 03 A6 */ mtlr r0 +/* 802A163C 0029E59C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A1640 0029E5A0 4E 80 00 20 */ blr + +.global "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>" +"__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>": +/* 802A1644 0029E5A4 7C 03 20 40 */ cmplw r3, r4 +/* 802A1648 0029E5A8 4D 82 00 20 */ beqlr +/* 802A164C 0029E5AC 88 04 00 28 */ lbz r0, 0x28(r4) +/* 802A1650 0029E5B0 28 00 00 00 */ cmplwi r0, 0 +/* 802A1654 0029E5B4 41 82 00 C8 */ beq lbl_802A171C +/* 802A1658 0029E5B8 88 03 00 28 */ lbz r0, 0x28(r3) +/* 802A165C 0029E5BC 28 00 00 00 */ cmplwi r0, 0 +/* 802A1660 0029E5C0 40 82 00 68 */ bne lbl_802A16C8 +/* 802A1664 0029E5C4 28 03 00 00 */ cmplwi r3, 0 +/* 802A1668 0029E5C8 41 82 00 54 */ beq lbl_802A16BC +/* 802A166C 0029E5CC C0 04 00 00 */ lfs f0, 0(r4) +/* 802A1670 0029E5D0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A1674 0029E5D4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A1678 0029E5D8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A167C 0029E5DC C0 04 00 08 */ lfs f0, 8(r4) +/* 802A1680 0029E5E0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802A1684 0029E5E4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A1688 0029E5E8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A168C 0029E5EC C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A1690 0029E5F0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A1694 0029E5F4 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A1698 0029E5F8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A169C 0029E5FC C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A16A0 0029E600 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802A16A4 0029E604 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802A16A8 0029E608 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802A16AC 0029E60C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A16B0 0029E610 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802A16B4 0029E614 80 04 00 24 */ lwz r0, 0x24(r4) +/* 802A16B8 0029E618 90 03 00 24 */ stw r0, 0x24(r3) +lbl_802A16BC: +/* 802A16BC 0029E61C 38 00 00 01 */ li r0, 1 +/* 802A16C0 0029E620 98 03 00 28 */ stb r0, 0x28(r3) +/* 802A16C4 0029E624 4E 80 00 20 */ blr +lbl_802A16C8: +/* 802A16C8 0029E628 80 A4 00 00 */ lwz r5, 0(r4) +/* 802A16CC 0029E62C 80 04 00 04 */ lwz r0, 4(r4) +/* 802A16D0 0029E630 90 A3 00 00 */ stw r5, 0(r3) +/* 802A16D4 0029E634 90 03 00 04 */ stw r0, 4(r3) +/* 802A16D8 0029E638 80 04 00 08 */ lwz r0, 8(r4) +/* 802A16DC 0029E63C 90 03 00 08 */ stw r0, 8(r3) +/* 802A16E0 0029E640 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802A16E4 0029E644 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802A16E8 0029E648 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802A16EC 0029E64C 90 03 00 10 */ stw r0, 0x10(r3) +/* 802A16F0 0029E650 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802A16F4 0029E654 90 03 00 14 */ stw r0, 0x14(r3) +/* 802A16F8 0029E658 80 A4 00 18 */ lwz r5, 0x18(r4) +/* 802A16FC 0029E65C 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 802A1700 0029E660 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802A1704 0029E664 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802A1708 0029E668 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802A170C 0029E66C 90 03 00 20 */ stw r0, 0x20(r3) +/* 802A1710 0029E670 80 04 00 24 */ lwz r0, 0x24(r4) +/* 802A1714 0029E674 90 03 00 24 */ stw r0, 0x24(r3) +/* 802A1718 0029E678 4E 80 00 20 */ blr +lbl_802A171C: +/* 802A171C 0029E67C 38 00 00 00 */ li r0, 0 +/* 802A1720 0029E680 98 03 00 28 */ stb r0, 0x28(r3) +/* 802A1724 0029E684 4E 80 00 20 */ blr + +.global LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f: +/* 802A1728 0029E688 94 21 FC 70 */ stwu r1, -0x390(r1) +/* 802A172C 0029E68C 7C 08 02 A6 */ mflr r0 +/* 802A1730 0029E690 90 01 03 94 */ stw r0, 0x394(r1) +/* 802A1734 0029E694 DB E1 03 80 */ stfd f31, 0x380(r1) +/* 802A1738 0029E698 F3 E1 03 88 */ psq_st f31, 904(r1), 0, qr0 +/* 802A173C 0029E69C DB C1 03 70 */ stfd f30, 0x370(r1) +/* 802A1740 0029E6A0 F3 C1 03 78 */ psq_st f30, 888(r1), 0, qr0 +/* 802A1744 0029E6A4 DB A1 03 60 */ stfd f29, 0x360(r1) +/* 802A1748 0029E6A8 F3 A1 03 68 */ psq_st f29, 872(r1), 0, qr0 +/* 802A174C 0029E6AC DB 81 03 50 */ stfd f28, 0x350(r1) +/* 802A1750 0029E6B0 F3 81 03 58 */ psq_st f28, 856(r1), 0, qr0 +/* 802A1754 0029E6B4 DB 61 03 40 */ stfd f27, 0x340(r1) +/* 802A1758 0029E6B8 F3 61 03 48 */ psq_st f27, 840(r1), 0, qr0 +/* 802A175C 0029E6BC DB 41 03 30 */ stfd f26, 0x330(r1) +/* 802A1760 0029E6C0 F3 41 03 38 */ psq_st f26, 824(r1), 0, qr0 +/* 802A1764 0029E6C4 DB 21 03 20 */ stfd f25, 0x320(r1) +/* 802A1768 0029E6C8 F3 21 03 28 */ psq_st f25, 808(r1), 0, qr0 +/* 802A176C 0029E6CC DB 01 03 10 */ stfd f24, 0x310(r1) +/* 802A1770 0029E6D0 F3 01 03 18 */ psq_st f24, 792(r1), 0, qr0 +/* 802A1774 0029E6D4 DA E1 03 00 */ stfd f23, 0x300(r1) +/* 802A1778 0029E6D8 F2 E1 03 08 */ psq_st f23, 776(r1), 0, qr0 +/* 802A177C 0029E6DC DA C1 02 F0 */ stfd f22, 0x2f0(r1) +/* 802A1780 0029E6E0 F2 C1 02 F8 */ psq_st f22, 760(r1), 0, qr0 +/* 802A1784 0029E6E4 DA A1 02 E0 */ stfd f21, 0x2e0(r1) +/* 802A1788 0029E6E8 F2 A1 02 E8 */ psq_st f21, 744(r1), 0, qr0 +/* 802A178C 0029E6EC BF 01 02 C0 */ stmw r24, 0x2c0(r1) +/* 802A1790 0029E6F0 FF 80 08 90 */ fmr f28, f1 +/* 802A1794 0029E6F4 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2) +/* 802A1798 0029E6F8 FF 60 10 90 */ fmr f27, f2 +/* 802A179C 0029E6FC C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2) +/* 802A17A0 0029E700 FF 40 18 90 */ fmr f26, f3 +/* 802A17A4 0029E704 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A17A8 0029E708 3C E0 80 3D */ lis r7, lbl_803D5EF0@ha +/* 802A17AC 0029E70C EF E4 07 32 */ fmuls f31, f4, f28 +/* 802A17B0 0029E710 FC 1A 00 00 */ fcmpu cr0, f26, f0 +/* 802A17B4 0029E714 7C 7E 1B 78 */ mr r30, r3 +/* 802A17B8 0029E718 EF C1 06 F2 */ fmuls f30, f1, f27 +/* 802A17BC 0029E71C 7C 9F 23 78 */ mr r31, r4 +/* 802A17C0 0029E720 7C BD 2B 78 */ mr r29, r5 +/* 802A17C4 0029E724 7C DB 33 78 */ mr r27, r6 +/* 802A17C8 0029E728 3B 07 5E F0 */ addi r24, r7, lbl_803D5EF0@l +/* 802A17CC 0029E72C 41 82 00 2C */ beq lbl_802A17F8 +/* 802A17D0 0029E730 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A17D4 0029E734 40 80 00 08 */ bge lbl_802A17DC +/* 802A17D8 0029E738 FF E0 00 90 */ fmr f31, f0 +lbl_802A17DC: +/* 802A17DC 0029E73C FC 1E D0 40 */ fcmpo cr0, f30, f26 +/* 802A17E0 0029E740 40 81 00 08 */ ble lbl_802A17E8 +/* 802A17E4 0029E744 FF C0 D0 90 */ fmr f30, f26 +lbl_802A17E8: +/* 802A17E8 0029E748 FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 802A17EC 0029E74C 40 81 00 0C */ ble lbl_802A17F8 +/* 802A17F0 0029E750 38 60 00 01 */ li r3, 1 +/* 802A17F4 0029E754 48 00 0A 4C */ b lbl_802A2240 +lbl_802A17F8: +/* 802A17F8 0029E758 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 802A17FC 0029E75C 2C 00 00 02 */ cmpwi r0, 2 +/* 802A1800 0029E760 40 82 01 C0 */ bne lbl_802A19C0 +/* 802A1804 0029E764 7F C4 F3 78 */ mr r4, r30 +/* 802A1808 0029E768 38 61 00 08 */ addi r3, r1, 8 +/* 802A180C 0029E76C 48 00 15 31 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A1810 0029E770 83 01 00 08 */ lwz r24, 8(r1) +/* 802A1814 0029E774 3B 40 00 00 */ li r26, 0 +/* 802A1818 0029E778 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2) +/* 802A181C 0029E77C A3 38 00 18 */ lhz r25, 0x18(r24) +/* 802A1820 0029E780 48 00 01 90 */ b lbl_802A19B0 +lbl_802A1824: +/* 802A1824 0029E784 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 802A1828 0029E788 38 61 02 00 */ addi r3, r1, 0x200 +/* 802A182C 0029E78C A0 B8 00 1A */ lhz r5, 0x1a(r24) +/* 802A1830 0029E790 48 00 12 05 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A1834 0029E794 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 802A1838 0029E798 C2 C1 02 20 */ lfs f22, 0x220(r1) +/* 802A183C 0029E79C C3 21 02 14 */ lfs f25, 0x214(r1) +/* 802A1840 0029E7A0 C0 61 02 00 */ lfs f3, 0x200(r1) +/* 802A1844 0029E7A4 EC F6 08 28 */ fsubs f7, f22, f1 +/* 802A1848 0029E7A8 C3 01 02 18 */ lfs f24, 0x218(r1) +/* 802A184C 0029E7AC EC 99 08 28 */ fsubs f4, f25, f1 +/* 802A1850 0029E7B0 C0 41 02 04 */ lfs f2, 0x204(r1) +/* 802A1854 0029E7B4 C2 E1 02 1C */ lfs f23, 0x21c(r1) +/* 802A1858 0029E7B8 ED 38 18 28 */ fsubs f9, f24, f3 +/* 802A185C 0029E7BC C3 41 02 10 */ lfs f26, 0x210(r1) +/* 802A1860 0029E7C0 C1 BF 00 0C */ lfs f13, 0xc(r31) +/* 802A1864 0029E7C4 ED 17 10 28 */ fsubs f8, f23, f2 +/* 802A1868 0029E7C8 C2 A1 02 0C */ lfs f21, 0x20c(r1) +/* 802A186C 0029E7CC EC BA 10 28 */ fsubs f5, f26, f2 +/* 802A1870 0029E7D0 C3 7F 00 14 */ lfs f27, 0x14(r31) +/* 802A1874 0029E7D4 EC C7 03 72 */ fmuls f6, f7, f13 +/* 802A1878 0029E7D8 C3 9F 00 10 */ lfs f28, 0x10(r31) +/* 802A187C 0029E7DC EC 08 06 F2 */ fmuls f0, f8, f27 +/* 802A1880 0029E7E0 80 61 02 24 */ lwz r3, 0x224(r1) +/* 802A1884 0029E7E4 ED 7B 32 78 */ fmsubs f11, f27, f9, f6 +/* 802A1888 0029E7E8 D0 61 02 94 */ stfs f3, 0x294(r1) +/* 802A188C 0029E7EC ED 89 07 32 */ fmuls f12, f9, f28 +/* 802A1890 0029E7F0 EC D5 18 28 */ fsubs f6, f21, f3 +/* 802A1894 0029E7F4 ED 5C 01 F8 */ fmsubs f10, f28, f7, f0 +/* 802A1898 0029E7F8 D0 41 02 98 */ stfs f2, 0x298(r1) +/* 802A189C 0029E7FC EC 05 02 F2 */ fmuls f0, f5, f11 +/* 802A18A0 0029E800 ED 8D 62 38 */ fmsubs f12, f13, f8, f12 +/* 802A18A4 0029E804 D0 21 02 9C */ stfs f1, 0x29c(r1) +/* 802A18A8 0029E808 EC 06 02 BA */ fmadds f0, f6, f10, f0 +/* 802A18AC 0029E80C D2 A1 02 A0 */ stfs f21, 0x2a0(r1) +/* 802A18B0 0029E810 D3 41 02 A4 */ stfs f26, 0x2a4(r1) +/* 802A18B4 0029E814 EE A4 03 3A */ fmadds f21, f4, f12, f0 +/* 802A18B8 0029E818 D3 21 02 A8 */ stfs f25, 0x2a8(r1) +/* 802A18BC 0029E81C FC 00 AA 10 */ fabs f0, f21 +/* 802A18C0 0029E820 D3 01 02 AC */ stfs f24, 0x2ac(r1) +/* 802A18C4 0029E824 D2 E1 02 B0 */ stfs f23, 0x2b0(r1) +/* 802A18C8 0029E828 FC 00 00 18 */ frsp f0, f0 +/* 802A18CC 0029E82C D2 C1 02 B4 */ stfs f22, 0x2b4(r1) +/* 802A18D0 0029E830 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 802A18D4 0029E834 90 61 02 B8 */ stw r3, 0x2b8(r1) +/* 802A18D8 0029E838 41 80 00 D0 */ blt lbl_802A19A8 +/* 802A18DC 0029E83C C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2) +/* 802A18E0 0029E840 C2 FF 00 04 */ lfs f23, 4(r31) +/* 802A18E4 0029E844 EF 40 A8 24 */ fdivs f26, f0, f21 +/* 802A18E8 0029E848 C2 DF 00 00 */ lfs f22, 0(r31) +/* 802A18EC 0029E84C C3 1F 00 08 */ lfs f24, 8(r31) +/* 802A18F0 0029E850 C3 22 C1 24 */ lfs f25, lbl_805ADE44@sda21(r2) +/* 802A18F4 0029E854 EE F7 10 28 */ fsubs f23, f23, f2 +/* 802A18F8 0029E858 EE D6 18 28 */ fsubs f22, f22, f3 +/* 802A18FC 0029E85C EE B8 08 28 */ fsubs f21, f24, f1 +/* 802A1900 0029E860 EC 37 02 F2 */ fmuls f1, f23, f11 +/* 802A1904 0029E864 EC 36 0A BA */ fmadds f1, f22, f10, f1 +/* 802A1908 0029E868 EC 35 0B 3A */ fmadds f1, f21, f12, f1 +/* 802A190C 0029E86C ED 5A 00 72 */ fmuls f10, f26, f1 +/* 802A1910 0029E870 FC 0A C8 40 */ fcmpo cr0, f10, f25 +/* 802A1914 0029E874 41 80 00 94 */ blt lbl_802A19A8 +/* 802A1918 0029E878 FC 0A 00 40 */ fcmpo cr0, f10, f0 +/* 802A191C 0029E87C 41 81 00 8C */ bgt lbl_802A19A8 +/* 802A1920 0029E880 EC 44 05 B2 */ fmuls f2, f4, f22 +/* 802A1924 0029E884 EC 25 05 72 */ fmuls f1, f5, f21 +/* 802A1928 0029E888 EC 66 05 F2 */ fmuls f3, f6, f23 +/* 802A192C 0029E88C EC D5 11 B8 */ fmsubs f6, f21, f6, f2 +/* 802A1930 0029E890 EC 57 09 38 */ fmsubs f2, f23, f4, f1 +/* 802A1934 0029E894 EC 76 19 78 */ fmsubs f3, f22, f5, f3 +/* 802A1938 0029E898 EC 26 02 32 */ fmuls f1, f6, f8 +/* 802A193C 0029E89C EC 22 0A 7A */ fmadds f1, f2, f9, f1 +/* 802A1940 0029E8A0 EC 23 09 FA */ fmadds f1, f3, f7, f1 +/* 802A1944 0029E8A4 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A1948 0029E8A8 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 802A194C 0029E8AC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1950 0029E8B0 41 82 00 58 */ beq lbl_802A19A8 +/* 802A1954 0029E8B4 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 802A1958 0029E8B8 41 80 00 50 */ blt lbl_802A19A8 +/* 802A195C 0029E8BC EC 26 07 32 */ fmuls f1, f6, f28 +/* 802A1960 0029E8C0 EC 22 0B 7A */ fmadds f1, f2, f13, f1 +/* 802A1964 0029E8C4 EC 23 0E FA */ fmadds f1, f3, f27, f1 +/* 802A1968 0029E8C8 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A196C 0029E8CC FC 01 C8 40 */ fcmpo cr0, f1, f25 +/* 802A1970 0029E8D0 41 80 00 38 */ blt lbl_802A19A8 +/* 802A1974 0029E8D4 EC 2A 08 2A */ fadds f1, f10, f1 +/* 802A1978 0029E8D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A197C 0029E8DC 41 81 00 2C */ bgt lbl_802A19A8 +/* 802A1980 0029E8E0 38 00 00 00 */ li r0, 0 +/* 802A1984 0029E8E4 90 61 00 24 */ stw r3, 0x24(r1) +/* 802A1988 0029E8E8 7F A3 EB 78 */ mr r3, r29 +/* 802A198C 0029E8EC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A1990 0029E8F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A1994 0029E8F4 48 03 39 B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A1998 0029E8F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A199C 0029E8FC 41 82 00 0C */ beq lbl_802A19A8 +/* 802A19A0 0029E900 38 60 00 00 */ li r3, 0 +/* 802A19A4 0029E904 48 00 08 9C */ b lbl_802A2240 +lbl_802A19A8: +/* 802A19A8 0029E908 3B 18 00 02 */ addi r24, r24, 2 +/* 802A19AC 0029E90C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802A19B0: +/* 802A19B0 0029E910 7C 1A C8 00 */ cmpw r26, r25 +/* 802A19B4 0029E914 41 80 FE 70 */ blt lbl_802A1824 +/* 802A19B8 0029E918 38 60 00 01 */ li r3, 1 +/* 802A19BC 0029E91C 48 00 08 84 */ b lbl_802A2240 +lbl_802A19C0: +/* 802A19C0 0029E920 2C 00 00 01 */ cmpwi r0, 1 +/* 802A19C4 0029E924 40 82 08 78 */ bne lbl_802A223C +/* 802A19C8 0029E928 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802A19CC 0029E92C A0 03 00 00 */ lhz r0, 0(r3) +/* 802A19D0 0029E930 28 00 00 0A */ cmplwi r0, 0xa +/* 802A19D4 0029E934 40 82 01 94 */ bne lbl_802A1B68 +/* 802A19D8 0029E938 7F C4 F3 78 */ mr r4, r30 +/* 802A19DC 0029E93C 38 61 01 DC */ addi r3, r1, 0x1dc +/* 802A19E0 0029E940 38 A0 00 00 */ li r5, 0 +/* 802A19E4 0029E944 48 00 13 7D */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A19E8 0029E948 C0 A1 01 DC */ lfs f5, 0x1dc(r1) +/* 802A19EC 0029E94C 7F E4 FB 78 */ mr r4, r31 +/* 802A19F0 0029E950 C0 81 01 E0 */ lfs f4, 0x1e0(r1) +/* 802A19F4 0029E954 38 61 01 7C */ addi r3, r1, 0x17c +/* 802A19F8 0029E958 C0 61 01 E4 */ lfs f3, 0x1e4(r1) +/* 802A19FC 0029E95C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802A1A00 0029E960 C0 41 01 E8 */ lfs f2, 0x1e8(r1) +/* 802A1A04 0029E964 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802A1A08 0029E968 C0 21 01 EC */ lfs f1, 0x1ec(r1) +/* 802A1A0C 0029E96C C0 01 01 F0 */ lfs f0, 0x1f0(r1) +/* 802A1A10 0029E970 81 01 01 F4 */ lwz r8, 0x1f4(r1) +/* 802A1A14 0029E974 80 E1 01 F8 */ lwz r7, 0x1f8(r1) +/* 802A1A18 0029E978 80 01 01 FC */ lwz r0, 0x1fc(r1) +/* 802A1A1C 0029E97C D0 A1 02 70 */ stfs f5, 0x270(r1) +/* 802A1A20 0029E980 D0 81 02 74 */ stfs f4, 0x274(r1) +/* 802A1A24 0029E984 D0 61 02 78 */ stfs f3, 0x278(r1) +/* 802A1A28 0029E988 D0 41 02 7C */ stfs f2, 0x27c(r1) +/* 802A1A2C 0029E98C D0 21 02 80 */ stfs f1, 0x280(r1) +/* 802A1A30 0029E990 D0 01 02 84 */ stfs f0, 0x284(r1) +/* 802A1A34 0029E994 91 01 02 88 */ stw r8, 0x288(r1) +/* 802A1A38 0029E998 90 E1 02 8C */ stw r7, 0x28c(r1) +/* 802A1A3C 0029E99C 90 01 02 90 */ stw r0, 0x290(r1) +/* 802A1A40 0029E9A0 D0 A1 01 7C */ stfs f5, 0x17c(r1) +/* 802A1A44 0029E9A4 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 802A1A48 0029E9A8 D0 61 01 84 */ stfs f3, 0x184(r1) +/* 802A1A4C 0029E9AC D0 41 01 88 */ stfs f2, 0x188(r1) +/* 802A1A50 0029E9B0 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 802A1A54 0029E9B4 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 802A1A58 0029E9B8 D3 81 00 18 */ stfs f28, 0x18(r1) +/* 802A1A5C 0029E9BC D3 61 00 14 */ stfs f27, 0x14(r1) +/* 802A1A60 0029E9C0 48 00 0A 15 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A1A64 0029E9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1A68 0029E9C8 41 82 00 34 */ beq lbl_802A1A9C +/* 802A1A6C 0029E9CC FC 60 D0 90 */ fmr f3, f26 +/* 802A1A70 0029E9D0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A1A74 0029E9D4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A1A78 0029E9D8 7F E4 FB 78 */ mr r4, r31 +/* 802A1A7C 0029E9DC 7F A5 EB 78 */ mr r5, r29 +/* 802A1A80 0029E9E0 7F 66 DB 78 */ mr r6, r27 +/* 802A1A84 0029E9E4 38 61 02 70 */ addi r3, r1, 0x270 +/* 802A1A88 0029E9E8 4B FF FC A1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +/* 802A1A8C 0029E9EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1A90 0029E9F0 40 82 00 0C */ bne lbl_802A1A9C +/* 802A1A94 0029E9F4 38 60 00 00 */ li r3, 0 +/* 802A1A98 0029E9F8 48 00 07 A8 */ b lbl_802A2240 +lbl_802A1A9C: +/* 802A1A9C 0029E9FC 7F C4 F3 78 */ mr r4, r30 +/* 802A1AA0 0029EA00 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802A1AA4 0029EA04 38 A0 00 01 */ li r5, 1 +/* 802A1AA8 0029EA08 48 00 12 B9 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A1AAC 0029EA0C C0 A1 01 B8 */ lfs f5, 0x1b8(r1) +/* 802A1AB0 0029EA10 7F E4 FB 78 */ mr r4, r31 +/* 802A1AB4 0029EA14 C0 81 01 BC */ lfs f4, 0x1bc(r1) +/* 802A1AB8 0029EA18 38 61 01 64 */ addi r3, r1, 0x164 +/* 802A1ABC 0029EA1C C0 61 01 C0 */ lfs f3, 0x1c0(r1) +/* 802A1AC0 0029EA20 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A1AC4 0029EA24 C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 802A1AC8 0029EA28 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A1ACC 0029EA2C C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 802A1AD0 0029EA30 C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 802A1AD4 0029EA34 81 01 01 D0 */ lwz r8, 0x1d0(r1) +/* 802A1AD8 0029EA38 80 E1 01 D4 */ lwz r7, 0x1d4(r1) +/* 802A1ADC 0029EA3C 80 01 01 D8 */ lwz r0, 0x1d8(r1) +/* 802A1AE0 0029EA40 D0 A1 02 4C */ stfs f5, 0x24c(r1) +/* 802A1AE4 0029EA44 D0 81 02 50 */ stfs f4, 0x250(r1) +/* 802A1AE8 0029EA48 D0 61 02 54 */ stfs f3, 0x254(r1) +/* 802A1AEC 0029EA4C D0 41 02 58 */ stfs f2, 0x258(r1) +/* 802A1AF0 0029EA50 D0 21 02 5C */ stfs f1, 0x25c(r1) +/* 802A1AF4 0029EA54 D0 01 02 60 */ stfs f0, 0x260(r1) +/* 802A1AF8 0029EA58 91 01 02 64 */ stw r8, 0x264(r1) +/* 802A1AFC 0029EA5C 90 E1 02 68 */ stw r7, 0x268(r1) +/* 802A1B00 0029EA60 90 01 02 6C */ stw r0, 0x26c(r1) +/* 802A1B04 0029EA64 D0 A1 01 64 */ stfs f5, 0x164(r1) +/* 802A1B08 0029EA68 D0 81 01 68 */ stfs f4, 0x168(r1) +/* 802A1B0C 0029EA6C D0 61 01 6C */ stfs f3, 0x16c(r1) +/* 802A1B10 0029EA70 D0 41 01 70 */ stfs f2, 0x170(r1) +/* 802A1B14 0029EA74 D0 21 01 74 */ stfs f1, 0x174(r1) +/* 802A1B18 0029EA78 D0 01 01 78 */ stfs f0, 0x178(r1) +/* 802A1B1C 0029EA7C D3 81 00 10 */ stfs f28, 0x10(r1) +/* 802A1B20 0029EA80 D3 61 00 0C */ stfs f27, 0xc(r1) +/* 802A1B24 0029EA84 48 00 09 51 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A1B28 0029EA88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1B2C 0029EA8C 41 82 00 34 */ beq lbl_802A1B60 +/* 802A1B30 0029EA90 FC 60 D0 90 */ fmr f3, f26 +/* 802A1B34 0029EA94 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802A1B38 0029EA98 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802A1B3C 0029EA9C 7F E4 FB 78 */ mr r4, r31 +/* 802A1B40 0029EAA0 7F A5 EB 78 */ mr r5, r29 +/* 802A1B44 0029EAA4 7F 66 DB 78 */ mr r6, r27 +/* 802A1B48 0029EAA8 38 61 02 4C */ addi r3, r1, 0x24c +/* 802A1B4C 0029EAAC 4B FF FB DD */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +/* 802A1B50 0029EAB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1B54 0029EAB4 40 82 00 0C */ bne lbl_802A1B60 +/* 802A1B58 0029EAB8 38 60 00 00 */ li r3, 0 +/* 802A1B5C 0029EABC 48 00 06 E4 */ b lbl_802A2240 +lbl_802A1B60: +/* 802A1B60 0029EAC0 38 60 00 01 */ li r3, 1 +/* 802A1B64 0029EAC4 48 00 06 DC */ b lbl_802A2240 +lbl_802A1B68: +/* 802A1B68 0029EAC8 7F C4 F3 78 */ mr r4, r30 +/* 802A1B6C 0029EACC 38 61 01 28 */ addi r3, r1, 0x128 +/* 802A1B70 0029EAD0 48 09 5A 9D */ bl GetCenterPoint__6CAABoxCFv +/* 802A1B74 0029EAD4 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 802A1B78 0029EAD8 39 21 01 34 */ addi r9, r1, 0x134 +/* 802A1B7C 0029EADC C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 802A1B80 0029EAE0 38 00 00 03 */ li r0, 3 +/* 802A1B84 0029EAE4 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A1B88 0029EAE8 EC BC 00 32 */ fmuls f5, f28, f0 +/* 802A1B8C 0029EAEC C3 A1 01 28 */ lfs f29, 0x128(r1) +/* 802A1B90 0029EAF0 EC 7C 01 32 */ fmuls f3, f28, f4 +/* 802A1B94 0029EAF4 C1 A1 01 2C */ lfs f13, 0x12c(r1) +/* 802A1B98 0029EAF8 EC 3C 00 B2 */ fmuls f1, f28, f2 +/* 802A1B9C 0029EAFC C1 7F 00 04 */ lfs f11, 4(r31) +/* 802A1BA0 0029EB00 C1 3F 00 00 */ lfs f9, 0(r31) +/* 802A1BA4 0029EB04 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 802A1BA8 0029EB08 C1 81 01 30 */ lfs f12, 0x130(r1) +/* 802A1BAC 0029EB0C EC DB 00 B2 */ fmuls f6, f27, f2 +/* 802A1BB0 0029EB10 C1 5F 00 08 */ lfs f10, 8(r31) +/* 802A1BB4 0029EB14 EC FB 01 32 */ fmuls f7, f27, f4 +/* 802A1BB8 0029EB18 EE CB 28 2A */ fadds f22, f11, f5 +/* 802A1BBC 0029EB1C EE AA 18 2A */ fadds f21, f10, f3 +/* 802A1BC0 0029EB20 C0 BB 00 08 */ lfs f5, 8(r27) +/* 802A1BC4 0029EB24 EC 8C 50 28 */ fsubs f4, f12, f10 +/* 802A1BC8 0029EB28 C0 7B 00 04 */ lfs f3, 4(r27) +/* 802A1BCC 0029EB2C EC 4D 58 28 */ fsubs f2, f13, f11 +/* 802A1BD0 0029EB30 ED 09 08 2A */ fadds f8, f9, f1 +/* 802A1BD4 0029EB34 ED 6B 00 2A */ fadds f11, f11, f0 +/* 802A1BD8 0029EB38 C0 3B 00 00 */ lfs f1, 0(r27) +/* 802A1BDC 0029EB3C EC 1D 48 28 */ fsubs f0, f29, f9 +/* 802A1BE0 0029EB40 7D 23 4B 78 */ mr r3, r9 +/* 802A1BE4 0029EB44 EC EA 38 2A */ fadds f7, f10, f7 +/* 802A1BE8 0029EB48 EC C9 30 2A */ fadds f6, f9, f6 +/* 802A1BEC 0029EB4C EC 85 01 32 */ fmuls f4, f5, f4 +/* 802A1BF0 0029EB50 D3 A1 01 58 */ stfs f29, 0x158(r1) +/* 802A1BF4 0029EB54 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802A1BF8 0029EB58 38 98 00 00 */ addi r4, r24, 0 +/* 802A1BFC 0029EB5C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A1C00 0029EB60 D1 A1 01 5C */ stfs f13, 0x15c(r1) +/* 802A1C04 0029EB64 38 A1 01 58 */ addi r5, r1, 0x158 +/* 802A1C08 0029EB68 38 C1 01 4C */ addi r6, r1, 0x14c +/* 802A1C0C 0029EB6C D1 81 01 60 */ stfs f12, 0x160(r1) +/* 802A1C10 0029EB70 38 E1 01 40 */ addi r7, r1, 0x140 +/* 802A1C14 0029EB74 39 18 00 0C */ addi r8, r24, 0xc +/* 802A1C18 0029EB78 3B 80 00 00 */ li r28, 0 +/* 802A1C1C 0029EB7C D1 01 01 4C */ stfs f8, 0x14c(r1) +/* 802A1C20 0029EB80 3B 20 00 00 */ li r25, 0 +/* 802A1C24 0029EB84 3B 40 00 00 */ li r26, 0 +/* 802A1C28 0029EB88 D2 C1 01 50 */ stfs f22, 0x150(r1) +/* 802A1C2C 0029EB8C D2 A1 01 54 */ stfs f21, 0x154(r1) +/* 802A1C30 0029EB90 D0 C1 01 40 */ stfs f6, 0x140(r1) +/* 802A1C34 0029EB94 D1 61 01 44 */ stfs f11, 0x144(r1) +/* 802A1C38 0029EB98 D0 E1 01 48 */ stfs f7, 0x148(r1) +/* 802A1C3C 0029EB9C D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802A1C40 0029EBA0 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 802A1C44 0029EBA4 D0 81 01 3C */ stfs f4, 0x13c(r1) +/* 802A1C48 0029EBA8 7C 09 03 A6 */ mtctr r0 +lbl_802A1C4C: +/* 802A1C4C 0029EBAC C0 06 00 00 */ lfs f0, 0(r6) +/* 802A1C50 0029EBB0 C0 25 00 00 */ lfs f1, 0(r5) +/* 802A1C54 0029EBB4 81 44 00 00 */ lwz r10, 0(r4) +/* 802A1C58 0029EBB8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A1C5C 0029EBBC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1C60 0029EBC0 40 82 00 08 */ bne lbl_802A1C68 +/* 802A1C64 0029EBC4 7F 9C 53 78 */ or r28, r28, r10 +lbl_802A1C68: +/* 802A1C68 0029EBC8 C0 07 00 00 */ lfs f0, 0(r7) +/* 802A1C6C 0029EBCC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A1C70 0029EBD0 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1C74 0029EBD4 40 82 00 08 */ bne lbl_802A1C7C +/* 802A1C78 0029EBD8 7F 39 53 78 */ or r25, r25, r10 +lbl_802A1C7C: +/* 802A1C7C 0029EBDC 80 08 00 00 */ lwz r0, 0(r8) +/* 802A1C80 0029EBE0 C0 29 00 00 */ lfs f1, 0(r9) +/* 802A1C84 0029EBE4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A1C88 0029EBE8 7C 03 04 2E */ lfsx f0, r3, r0 +/* 802A1C8C 0029EBEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1C90 0029EBF0 40 80 00 08 */ bge lbl_802A1C98 +/* 802A1C94 0029EBF4 7F 5A 53 78 */ or r26, r26, r10 +lbl_802A1C98: +/* 802A1C98 0029EBF8 38 84 00 04 */ addi r4, r4, 4 +/* 802A1C9C 0029EBFC 38 A5 00 04 */ addi r5, r5, 4 +/* 802A1CA0 0029EC00 38 C6 00 04 */ addi r6, r6, 4 +/* 802A1CA4 0029EC04 38 E7 00 04 */ addi r7, r7, 4 +/* 802A1CA8 0029EC08 39 08 00 04 */ addi r8, r8, 4 +/* 802A1CAC 0029EC0C 39 29 00 04 */ addi r9, r9, 4 +/* 802A1CB0 0029EC10 42 00 FF 9C */ bdnz lbl_802A1C4C +/* 802A1CB4 0029EC14 88 0D A5 B8 */ lbz r0, lbl_805A9178@sda21(r13) +/* 802A1CB8 0029EC18 7C 00 07 75 */ extsb. r0, r0 +/* 802A1CBC 0029EC1C 40 82 04 4C */ bne lbl_802A2108 +/* 802A1CC0 0029EC20 38 00 00 00 */ li r0, 0 +/* 802A1CC4 0029EC24 38 61 01 1C */ addi r3, r1, 0x11c +/* 802A1CC8 0029EC28 90 01 01 18 */ stw r0, 0x118(r1) +/* 802A1CCC 0029EC2C 38 80 00 00 */ li r4, 0 +/* 802A1CD0 0029EC30 38 A0 00 00 */ li r5, 0 +/* 802A1CD4 0029EC34 38 C0 00 00 */ li r6, 0 +/* 802A1CD8 0029EC38 48 07 2F 71 */ bl __ct__9CVector3iFiii +/* 802A1CDC 0029EC3C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1CE0 0029EC40 80 81 01 18 */ lwz r4, 0x118(r1) +/* 802A1CE4 0029EC44 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1CE8 0029EC48 80 C1 01 1C */ lwz r6, 0x11c(r1) +/* 802A1CEC 0029EC4C 81 01 01 20 */ lwz r8, 0x120(r1) +/* 802A1CF0 0029EC50 38 00 00 01 */ li r0, 1 +/* 802A1CF4 0029EC54 80 E1 01 24 */ lwz r7, 0x124(r1) +/* 802A1CF8 0029EC58 38 61 01 0C */ addi r3, r1, 0x10c +/* 802A1CFC 0029EC5C 90 89 00 00 */ stw r4, 0(r9) +/* 802A1D00 0029EC60 38 80 00 00 */ li r4, 0 +/* 802A1D04 0029EC64 38 A0 00 00 */ li r5, 0 +/* 802A1D08 0029EC68 90 C9 00 04 */ stw r6, 4(r9) +/* 802A1D0C 0029EC6C 38 C0 00 00 */ li r6, 0 +/* 802A1D10 0029EC70 91 09 00 08 */ stw r8, 8(r9) +/* 802A1D14 0029EC74 90 E9 00 0C */ stw r7, 0xc(r9) +/* 802A1D18 0029EC78 90 01 01 08 */ stw r0, 0x108(r1) +/* 802A1D1C 0029EC7C 48 07 2F 2D */ bl __ct__9CVector3iFiii +/* 802A1D20 0029EC80 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1D24 0029EC84 80 81 01 08 */ lwz r4, 0x108(r1) +/* 802A1D28 0029EC88 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1D2C 0029EC8C 80 C1 01 0C */ lwz r6, 0x10c(r1) +/* 802A1D30 0029EC90 81 01 01 10 */ lwz r8, 0x110(r1) +/* 802A1D34 0029EC94 38 00 00 01 */ li r0, 1 +/* 802A1D38 0029EC98 80 E1 01 14 */ lwz r7, 0x114(r1) +/* 802A1D3C 0029EC9C 38 61 00 FC */ addi r3, r1, 0xfc +/* 802A1D40 0029ECA0 90 89 00 10 */ stw r4, 0x10(r9) +/* 802A1D44 0029ECA4 38 80 00 01 */ li r4, 1 +/* 802A1D48 0029ECA8 38 A0 00 00 */ li r5, 0 +/* 802A1D4C 0029ECAC 90 C9 00 14 */ stw r6, 0x14(r9) +/* 802A1D50 0029ECB0 38 C0 00 00 */ li r6, 0 +/* 802A1D54 0029ECB4 91 09 00 18 */ stw r8, 0x18(r9) +/* 802A1D58 0029ECB8 90 E9 00 1C */ stw r7, 0x1c(r9) +/* 802A1D5C 0029ECBC 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802A1D60 0029ECC0 48 07 2E E9 */ bl __ct__9CVector3iFiii +/* 802A1D64 0029ECC4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1D68 0029ECC8 80 81 00 F8 */ lwz r4, 0xf8(r1) +/* 802A1D6C 0029ECCC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1D70 0029ECD0 80 C1 00 FC */ lwz r6, 0xfc(r1) +/* 802A1D74 0029ECD4 81 01 01 00 */ lwz r8, 0x100(r1) +/* 802A1D78 0029ECD8 38 00 00 02 */ li r0, 2 +/* 802A1D7C 0029ECDC 80 E1 01 04 */ lwz r7, 0x104(r1) +/* 802A1D80 0029ECE0 38 61 00 EC */ addi r3, r1, 0xec +/* 802A1D84 0029ECE4 90 89 00 20 */ stw r4, 0x20(r9) +/* 802A1D88 0029ECE8 38 80 00 00 */ li r4, 0 +/* 802A1D8C 0029ECEC 38 A0 00 01 */ li r5, 1 +/* 802A1D90 0029ECF0 90 C9 00 24 */ stw r6, 0x24(r9) +/* 802A1D94 0029ECF4 38 C0 00 00 */ li r6, 0 +/* 802A1D98 0029ECF8 91 09 00 28 */ stw r8, 0x28(r9) +/* 802A1D9C 0029ECFC 90 E9 00 2C */ stw r7, 0x2c(r9) +/* 802A1DA0 0029ED00 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 802A1DA4 0029ED04 48 07 2E A5 */ bl __ct__9CVector3iFiii +/* 802A1DA8 0029ED08 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1DAC 0029ED0C 80 81 00 E8 */ lwz r4, 0xe8(r1) +/* 802A1DB0 0029ED10 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1DB4 0029ED14 80 C1 00 EC */ lwz r6, 0xec(r1) +/* 802A1DB8 0029ED18 81 01 00 F0 */ lwz r8, 0xf0(r1) +/* 802A1DBC 0029ED1C 38 00 00 02 */ li r0, 2 +/* 802A1DC0 0029ED20 80 E1 00 F4 */ lwz r7, 0xf4(r1) +/* 802A1DC4 0029ED24 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A1DC8 0029ED28 90 89 00 30 */ stw r4, 0x30(r9) +/* 802A1DCC 0029ED2C 38 80 00 01 */ li r4, 1 +/* 802A1DD0 0029ED30 38 A0 00 00 */ li r5, 0 +/* 802A1DD4 0029ED34 90 C9 00 34 */ stw r6, 0x34(r9) +/* 802A1DD8 0029ED38 38 C0 00 00 */ li r6, 0 +/* 802A1DDC 0029ED3C 91 09 00 38 */ stw r8, 0x38(r9) +/* 802A1DE0 0029ED40 90 E9 00 3C */ stw r7, 0x3c(r9) +/* 802A1DE4 0029ED44 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802A1DE8 0029ED48 48 07 2E 61 */ bl __ct__9CVector3iFiii +/* 802A1DEC 0029ED4C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1DF0 0029ED50 80 81 00 D8 */ lwz r4, 0xd8(r1) +/* 802A1DF4 0029ED54 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1DF8 0029ED58 80 C1 00 DC */ lwz r6, 0xdc(r1) +/* 802A1DFC 0029ED5C 81 01 00 E0 */ lwz r8, 0xe0(r1) +/* 802A1E00 0029ED60 38 00 00 01 */ li r0, 1 +/* 802A1E04 0029ED64 80 E1 00 E4 */ lwz r7, 0xe4(r1) +/* 802A1E08 0029ED68 38 61 00 CC */ addi r3, r1, 0xcc +/* 802A1E0C 0029ED6C 90 89 00 40 */ stw r4, 0x40(r9) +/* 802A1E10 0029ED70 38 80 00 02 */ li r4, 2 +/* 802A1E14 0029ED74 38 A0 00 00 */ li r5, 0 +/* 802A1E18 0029ED78 90 C9 00 44 */ stw r6, 0x44(r9) +/* 802A1E1C 0029ED7C 38 C0 00 00 */ li r6, 0 +/* 802A1E20 0029ED80 91 09 00 48 */ stw r8, 0x48(r9) +/* 802A1E24 0029ED84 90 E9 00 4C */ stw r7, 0x4c(r9) +/* 802A1E28 0029ED88 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802A1E2C 0029ED8C 48 07 2E 1D */ bl __ct__9CVector3iFiii +/* 802A1E30 0029ED90 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1E34 0029ED94 80 81 00 C8 */ lwz r4, 0xc8(r1) +/* 802A1E38 0029ED98 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1E3C 0029ED9C 80 C1 00 CC */ lwz r6, 0xcc(r1) +/* 802A1E40 0029EDA0 81 01 00 D0 */ lwz r8, 0xd0(r1) +/* 802A1E44 0029EDA4 38 00 00 02 */ li r0, 2 +/* 802A1E48 0029EDA8 80 E1 00 D4 */ lwz r7, 0xd4(r1) +/* 802A1E4C 0029EDAC 38 61 00 BC */ addi r3, r1, 0xbc +/* 802A1E50 0029EDB0 90 89 00 50 */ stw r4, 0x50(r9) +/* 802A1E54 0029EDB4 38 80 00 00 */ li r4, 0 +/* 802A1E58 0029EDB8 38 A0 00 02 */ li r5, 2 +/* 802A1E5C 0029EDBC 90 C9 00 54 */ stw r6, 0x54(r9) +/* 802A1E60 0029EDC0 38 C0 00 00 */ li r6, 0 +/* 802A1E64 0029EDC4 91 09 00 58 */ stw r8, 0x58(r9) +/* 802A1E68 0029EDC8 90 E9 00 5C */ stw r7, 0x5c(r9) +/* 802A1E6C 0029EDCC 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802A1E70 0029EDD0 48 07 2D D9 */ bl __ct__9CVector3iFiii +/* 802A1E74 0029EDD4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1E78 0029EDD8 80 81 00 B8 */ lwz r4, 0xb8(r1) +/* 802A1E7C 0029EDDC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1E80 0029EDE0 80 C1 00 BC */ lwz r6, 0xbc(r1) +/* 802A1E84 0029EDE4 81 01 00 C0 */ lwz r8, 0xc0(r1) +/* 802A1E88 0029EDE8 38 00 00 02 */ li r0, 2 +/* 802A1E8C 0029EDEC 80 E1 00 C4 */ lwz r7, 0xc4(r1) +/* 802A1E90 0029EDF0 38 61 00 AC */ addi r3, r1, 0xac +/* 802A1E94 0029EDF4 90 89 00 60 */ stw r4, 0x60(r9) +/* 802A1E98 0029EDF8 38 80 00 02 */ li r4, 2 +/* 802A1E9C 0029EDFC 38 A0 00 00 */ li r5, 0 +/* 802A1EA0 0029EE00 90 C9 00 64 */ stw r6, 0x64(r9) +/* 802A1EA4 0029EE04 38 C0 00 00 */ li r6, 0 +/* 802A1EA8 0029EE08 91 09 00 68 */ stw r8, 0x68(r9) +/* 802A1EAC 0029EE0C 90 E9 00 6C */ stw r7, 0x6c(r9) +/* 802A1EB0 0029EE10 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802A1EB4 0029EE14 48 07 2D 95 */ bl __ct__9CVector3iFiii +/* 802A1EB8 0029EE18 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1EBC 0029EE1C 80 81 00 A8 */ lwz r4, 0xa8(r1) +/* 802A1EC0 0029EE20 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1EC4 0029EE24 80 C1 00 AC */ lwz r6, 0xac(r1) +/* 802A1EC8 0029EE28 81 01 00 B0 */ lwz r8, 0xb0(r1) +/* 802A1ECC 0029EE2C 38 00 00 02 */ li r0, 2 +/* 802A1ED0 0029EE30 80 E1 00 B4 */ lwz r7, 0xb4(r1) +/* 802A1ED4 0029EE34 38 61 00 9C */ addi r3, r1, 0x9c +/* 802A1ED8 0029EE38 90 89 00 70 */ stw r4, 0x70(r9) +/* 802A1EDC 0029EE3C 38 80 00 02 */ li r4, 2 +/* 802A1EE0 0029EE40 38 A0 00 01 */ li r5, 1 +/* 802A1EE4 0029EE44 90 C9 00 74 */ stw r6, 0x74(r9) +/* 802A1EE8 0029EE48 38 C0 00 00 */ li r6, 0 +/* 802A1EEC 0029EE4C 91 09 00 78 */ stw r8, 0x78(r9) +/* 802A1EF0 0029EE50 90 E9 00 7C */ stw r7, 0x7c(r9) +/* 802A1EF4 0029EE54 90 01 00 98 */ stw r0, 0x98(r1) +/* 802A1EF8 0029EE58 48 07 2D 51 */ bl __ct__9CVector3iFiii +/* 802A1EFC 0029EE5C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1F00 0029EE60 80 81 00 98 */ lwz r4, 0x98(r1) +/* 802A1F04 0029EE64 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1F08 0029EE68 80 C1 00 9C */ lwz r6, 0x9c(r1) +/* 802A1F0C 0029EE6C 81 01 00 A0 */ lwz r8, 0xa0(r1) +/* 802A1F10 0029EE70 38 00 00 02 */ li r0, 2 +/* 802A1F14 0029EE74 80 E1 00 A4 */ lwz r7, 0xa4(r1) +/* 802A1F18 0029EE78 38 61 00 8C */ addi r3, r1, 0x8c +/* 802A1F1C 0029EE7C 90 89 00 80 */ stw r4, 0x80(r9) +/* 802A1F20 0029EE80 38 80 00 01 */ li r4, 1 +/* 802A1F24 0029EE84 38 A0 00 02 */ li r5, 2 +/* 802A1F28 0029EE88 90 C9 00 84 */ stw r6, 0x84(r9) +/* 802A1F2C 0029EE8C 38 C0 00 00 */ li r6, 0 +/* 802A1F30 0029EE90 91 09 00 88 */ stw r8, 0x88(r9) +/* 802A1F34 0029EE94 90 E9 00 8C */ stw r7, 0x8c(r9) +/* 802A1F38 0029EE98 90 01 00 88 */ stw r0, 0x88(r1) +/* 802A1F3C 0029EE9C 48 07 2D 0D */ bl __ct__9CVector3iFiii +/* 802A1F40 0029EEA0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1F44 0029EEA4 80 81 00 88 */ lwz r4, 0x88(r1) +/* 802A1F48 0029EEA8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1F4C 0029EEAC 80 C1 00 8C */ lwz r6, 0x8c(r1) +/* 802A1F50 0029EEB0 81 01 00 90 */ lwz r8, 0x90(r1) +/* 802A1F54 0029EEB4 38 00 00 03 */ li r0, 3 +/* 802A1F58 0029EEB8 80 E1 00 94 */ lwz r7, 0x94(r1) +/* 802A1F5C 0029EEBC 38 61 00 7C */ addi r3, r1, 0x7c +/* 802A1F60 0029EEC0 90 89 00 90 */ stw r4, 0x90(r9) +/* 802A1F64 0029EEC4 38 80 00 00 */ li r4, 0 +/* 802A1F68 0029EEC8 38 A0 00 02 */ li r5, 2 +/* 802A1F6C 0029EECC 90 C9 00 94 */ stw r6, 0x94(r9) +/* 802A1F70 0029EED0 38 C0 00 01 */ li r6, 1 +/* 802A1F74 0029EED4 91 09 00 98 */ stw r8, 0x98(r9) +/* 802A1F78 0029EED8 90 E9 00 9C */ stw r7, 0x9c(r9) +/* 802A1F7C 0029EEDC 90 01 00 78 */ stw r0, 0x78(r1) +/* 802A1F80 0029EEE0 48 07 2C C9 */ bl __ct__9CVector3iFiii +/* 802A1F84 0029EEE4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1F88 0029EEE8 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802A1F8C 0029EEEC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1F90 0029EEF0 80 C1 00 7C */ lwz r6, 0x7c(r1) +/* 802A1F94 0029EEF4 81 01 00 80 */ lwz r8, 0x80(r1) +/* 802A1F98 0029EEF8 38 00 00 03 */ li r0, 3 +/* 802A1F9C 0029EEFC 80 E1 00 84 */ lwz r7, 0x84(r1) +/* 802A1FA0 0029EF00 38 61 00 6C */ addi r3, r1, 0x6c +/* 802A1FA4 0029EF04 90 89 00 A0 */ stw r4, 0xa0(r9) +/* 802A1FA8 0029EF08 38 80 00 01 */ li r4, 1 +/* 802A1FAC 0029EF0C 38 A0 00 00 */ li r5, 0 +/* 802A1FB0 0029EF10 90 C9 00 A4 */ stw r6, 0xa4(r9) +/* 802A1FB4 0029EF14 38 C0 00 02 */ li r6, 2 +/* 802A1FB8 0029EF18 91 09 00 A8 */ stw r8, 0xa8(r9) +/* 802A1FBC 0029EF1C 90 E9 00 AC */ stw r7, 0xac(r9) +/* 802A1FC0 0029EF20 90 01 00 68 */ stw r0, 0x68(r1) +/* 802A1FC4 0029EF24 48 07 2C 85 */ bl __ct__9CVector3iFiii +/* 802A1FC8 0029EF28 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1FCC 0029EF2C 80 81 00 68 */ lwz r4, 0x68(r1) +/* 802A1FD0 0029EF30 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1FD4 0029EF34 80 C1 00 6C */ lwz r6, 0x6c(r1) +/* 802A1FD8 0029EF38 81 01 00 70 */ lwz r8, 0x70(r1) +/* 802A1FDC 0029EF3C 38 00 00 03 */ li r0, 3 +/* 802A1FE0 0029EF40 80 E1 00 74 */ lwz r7, 0x74(r1) +/* 802A1FE4 0029EF44 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A1FE8 0029EF48 90 89 00 B0 */ stw r4, 0xb0(r9) +/* 802A1FEC 0029EF4C 38 80 00 00 */ li r4, 0 +/* 802A1FF0 0029EF50 38 A0 00 01 */ li r5, 1 +/* 802A1FF4 0029EF54 90 C9 00 B4 */ stw r6, 0xb4(r9) +/* 802A1FF8 0029EF58 38 C0 00 02 */ li r6, 2 +/* 802A1FFC 0029EF5C 91 09 00 B8 */ stw r8, 0xb8(r9) +/* 802A2000 0029EF60 90 E9 00 BC */ stw r7, 0xbc(r9) +/* 802A2004 0029EF64 90 01 00 58 */ stw r0, 0x58(r1) +/* 802A2008 0029EF68 48 07 2C 41 */ bl __ct__9CVector3iFiii +/* 802A200C 0029EF6C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2010 0029EF70 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802A2014 0029EF74 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A2018 0029EF78 80 C1 00 5C */ lwz r6, 0x5c(r1) +/* 802A201C 0029EF7C 81 01 00 60 */ lwz r8, 0x60(r1) +/* 802A2020 0029EF80 38 00 00 03 */ li r0, 3 +/* 802A2024 0029EF84 80 E1 00 64 */ lwz r7, 0x64(r1) +/* 802A2028 0029EF88 38 61 00 4C */ addi r3, r1, 0x4c +/* 802A202C 0029EF8C 90 89 00 C0 */ stw r4, 0xc0(r9) +/* 802A2030 0029EF90 38 80 00 02 */ li r4, 2 +/* 802A2034 0029EF94 38 A0 00 01 */ li r5, 1 +/* 802A2038 0029EF98 90 C9 00 C4 */ stw r6, 0xc4(r9) +/* 802A203C 0029EF9C 38 C0 00 00 */ li r6, 0 +/* 802A2040 0029EFA0 91 09 00 C8 */ stw r8, 0xc8(r9) +/* 802A2044 0029EFA4 90 E9 00 CC */ stw r7, 0xcc(r9) +/* 802A2048 0029EFA8 90 01 00 48 */ stw r0, 0x48(r1) +/* 802A204C 0029EFAC 48 07 2B FD */ bl __ct__9CVector3iFiii +/* 802A2050 0029EFB0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2054 0029EFB4 80 81 00 48 */ lwz r4, 0x48(r1) +/* 802A2058 0029EFB8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A205C 0029EFBC 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 802A2060 0029EFC0 81 01 00 50 */ lwz r8, 0x50(r1) +/* 802A2064 0029EFC4 38 00 00 03 */ li r0, 3 +/* 802A2068 0029EFC8 80 E1 00 54 */ lwz r7, 0x54(r1) +/* 802A206C 0029EFCC 38 61 00 3C */ addi r3, r1, 0x3c +/* 802A2070 0029EFD0 90 89 00 D0 */ stw r4, 0xd0(r9) +/* 802A2074 0029EFD4 38 80 00 02 */ li r4, 2 +/* 802A2078 0029EFD8 38 A0 00 00 */ li r5, 0 +/* 802A207C 0029EFDC 90 C9 00 D4 */ stw r6, 0xd4(r9) +/* 802A2080 0029EFE0 38 C0 00 01 */ li r6, 1 +/* 802A2084 0029EFE4 91 09 00 D8 */ stw r8, 0xd8(r9) +/* 802A2088 0029EFE8 90 E9 00 DC */ stw r7, 0xdc(r9) +/* 802A208C 0029EFEC 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A2090 0029EFF0 48 07 2B B9 */ bl __ct__9CVector3iFiii +/* 802A2094 0029EFF4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2098 0029EFF8 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802A209C 0029EFFC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A20A0 0029F000 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 802A20A4 0029F004 81 01 00 40 */ lwz r8, 0x40(r1) +/* 802A20A8 0029F008 38 00 00 03 */ li r0, 3 +/* 802A20AC 0029F00C 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 802A20B0 0029F010 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A20B4 0029F014 90 89 00 E0 */ stw r4, 0xe0(r9) +/* 802A20B8 0029F018 38 80 00 01 */ li r4, 1 +/* 802A20BC 0029F01C 38 A0 00 02 */ li r5, 2 +/* 802A20C0 0029F020 90 C9 00 E4 */ stw r6, 0xe4(r9) +/* 802A20C4 0029F024 38 C0 00 00 */ li r6, 0 +/* 802A20C8 0029F028 91 09 00 E8 */ stw r8, 0xe8(r9) +/* 802A20CC 0029F02C 90 E9 00 EC */ stw r7, 0xec(r9) +/* 802A20D0 0029F030 90 01 00 28 */ stw r0, 0x28(r1) +/* 802A20D4 0029F034 48 07 2B 75 */ bl __ct__9CVector3iFiii +/* 802A20D8 0029F038 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A20DC 0029F03C 80 E1 00 28 */ lwz r7, 0x28(r1) +/* 802A20E0 0029F040 38 C3 E0 F0 */ addi r6, r3, lbl_8046E0F0@l +/* 802A20E4 0029F044 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 802A20E8 0029F048 80 81 00 30 */ lwz r4, 0x30(r1) +/* 802A20EC 0029F04C 38 00 00 01 */ li r0, 1 +/* 802A20F0 0029F050 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802A20F4 0029F054 90 E6 00 F0 */ stw r7, 0xf0(r6) +/* 802A20F8 0029F058 90 A6 00 F4 */ stw r5, 0xf4(r6) +/* 802A20FC 0029F05C 90 86 00 F8 */ stw r4, 0xf8(r6) +/* 802A2100 0029F060 90 66 00 FC */ stw r3, 0xfc(r6) +/* 802A2104 0029F064 98 0D A5 B8 */ stb r0, lbl_805A9178@sda21(r13) +lbl_802A2108: +/* 802A2108 0029F068 7F 80 CA 78 */ xor r0, r28, r25 +/* 802A210C 0029F06C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2110 0029F070 57 44 28 34 */ slwi r4, r26, 5 +/* 802A2114 0029F074 38 B8 00 18 */ addi r5, r24, 0x18 +/* 802A2118 0029F078 54 00 10 3A */ slwi r0, r0, 2 +/* 802A211C 0029F07C FE A0 E0 90 */ fmr f21, f28 +/* 802A2120 0029F080 7C 84 02 14 */ add r4, r4, r0 +/* 802A2124 0029F084 38 03 E0 F0 */ addi r0, r3, lbl_8046E0F0@l +/* 802A2128 0029F088 7C 65 20 2E */ lwzx r3, r5, r4 +/* 802A212C 0029F08C 7F 9A E3 78 */ mr r26, r28 +/* 802A2130 0029F090 3B 80 00 00 */ li r28, 0 +/* 802A2134 0029F094 54 63 20 36 */ slwi r3, r3, 4 +/* 802A2138 0029F098 7F 20 1A 14 */ add r25, r0, r3 +/* 802A213C 0029F09C 3B 19 00 04 */ addi r24, r25, 4 +/* 802A2140 0029F0A0 48 00 00 F0 */ b lbl_802A2230 +lbl_802A2144: +/* 802A2144 0029F0A4 7C 1C 00 00 */ cmpw r28, r0 +/* 802A2148 0029F0A8 40 80 00 18 */ bge lbl_802A2160 +/* 802A214C 0029F0AC 80 18 00 00 */ lwz r0, 0(r24) +/* 802A2150 0029F0B0 38 61 01 34 */ addi r3, r1, 0x134 +/* 802A2154 0029F0B4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A2158 0029F0B8 7E C3 04 2E */ lfsx f22, r3, r0 +/* 802A215C 0029F0BC 48 00 00 08 */ b lbl_802A2164 +lbl_802A2160: +/* 802A2160 0029F0C0 FE C0 D8 90 */ fmr f22, f27 +lbl_802A2164: +/* 802A2164 0029F0C4 FC 16 F8 40 */ fcmpo cr0, f22, f31 +/* 802A2168 0029F0C8 40 81 00 A0 */ ble lbl_802A2208 +/* 802A216C 0029F0CC FC 15 B0 40 */ fcmpo cr0, f21, f22 +/* 802A2170 0029F0D0 4C 40 13 82 */ cror 2, 0, 2 +/* 802A2174 0029F0D4 40 82 00 94 */ bne lbl_802A2208 +/* 802A2178 0029F0D8 7F C4 F3 78 */ mr r4, r30 +/* 802A217C 0029F0DC 7F 45 D3 78 */ mr r5, r26 +/* 802A2180 0029F0E0 38 61 01 94 */ addi r3, r1, 0x194 +/* 802A2184 0029F0E4 48 00 0B DD */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A2188 0029F0E8 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 802A218C 0029F0EC C0 A1 01 94 */ lfs f5, 0x194(r1) +/* 802A2190 0029F0F0 C0 81 01 98 */ lfs f4, 0x198(r1) +/* 802A2194 0029F0F4 2C 00 00 00 */ cmpwi r0, 0 +/* 802A2198 0029F0F8 C0 61 01 9C */ lfs f3, 0x19c(r1) +/* 802A219C 0029F0FC C0 41 01 A0 */ lfs f2, 0x1a0(r1) +/* 802A21A0 0029F100 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 802A21A4 0029F104 C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 802A21A8 0029F108 80 81 01 AC */ lwz r4, 0x1ac(r1) +/* 802A21AC 0029F10C 80 61 01 B0 */ lwz r3, 0x1b0(r1) +/* 802A21B0 0029F110 D0 A1 02 28 */ stfs f5, 0x228(r1) +/* 802A21B4 0029F114 D0 81 02 2C */ stfs f4, 0x22c(r1) +/* 802A21B8 0029F118 D0 61 02 30 */ stfs f3, 0x230(r1) +/* 802A21BC 0029F11C D0 41 02 34 */ stfs f2, 0x234(r1) +/* 802A21C0 0029F120 D0 21 02 38 */ stfs f1, 0x238(r1) +/* 802A21C4 0029F124 D0 01 02 3C */ stfs f0, 0x23c(r1) +/* 802A21C8 0029F128 90 81 02 40 */ stw r4, 0x240(r1) +/* 802A21CC 0029F12C 90 61 02 44 */ stw r3, 0x244(r1) +/* 802A21D0 0029F130 90 01 02 48 */ stw r0, 0x248(r1) +/* 802A21D4 0029F134 41 82 00 34 */ beq lbl_802A2208 +/* 802A21D8 0029F138 FC 20 A8 90 */ fmr f1, f21 +/* 802A21DC 0029F13C 7F E4 FB 78 */ mr r4, r31 +/* 802A21E0 0029F140 FC 40 B0 90 */ fmr f2, f22 +/* 802A21E4 0029F144 7F A5 EB 78 */ mr r5, r29 +/* 802A21E8 0029F148 FC 60 D0 90 */ fmr f3, f26 +/* 802A21EC 0029F14C 7F 66 DB 78 */ mr r6, r27 +/* 802A21F0 0029F150 38 61 02 28 */ addi r3, r1, 0x228 +/* 802A21F4 0029F154 4B FF F5 35 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +/* 802A21F8 0029F158 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A21FC 0029F15C 40 82 00 0C */ bne lbl_802A2208 +/* 802A2200 0029F160 38 60 00 00 */ li r3, 0 +/* 802A2204 0029F164 48 00 00 3C */ b lbl_802A2240 +lbl_802A2208: +/* 802A2208 0029F168 80 19 00 00 */ lwz r0, 0(r25) +/* 802A220C 0029F16C 7C 1C 00 00 */ cmpw r28, r0 +/* 802A2210 0029F170 40 80 00 14 */ bge lbl_802A2224 +/* 802A2214 0029F174 80 18 00 00 */ lwz r0, 0(r24) +/* 802A2218 0029F178 38 60 00 01 */ li r3, 1 +/* 802A221C 0029F17C 7C 60 00 30 */ slw r0, r3, r0 +/* 802A2220 0029F180 7F 5A 02 78 */ xor r26, r26, r0 +lbl_802A2224: +/* 802A2224 0029F184 FE A0 B0 90 */ fmr f21, f22 +/* 802A2228 0029F188 3B 18 00 04 */ addi r24, r24, 4 +/* 802A222C 0029F18C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802A2230: +/* 802A2230 0029F190 80 19 00 00 */ lwz r0, 0(r25) +/* 802A2234 0029F194 7C 1C 00 00 */ cmpw r28, r0 +/* 802A2238 0029F198 40 81 FF 0C */ ble lbl_802A2144 +lbl_802A223C: +/* 802A223C 0029F19C 38 60 00 01 */ li r3, 1 +lbl_802A2240: +/* 802A2240 0029F1A0 E3 E1 03 88 */ psq_l f31, 904(r1), 0, qr0 +/* 802A2244 0029F1A4 CB E1 03 80 */ lfd f31, 0x380(r1) +/* 802A2248 0029F1A8 E3 C1 03 78 */ psq_l f30, 888(r1), 0, qr0 +/* 802A224C 0029F1AC CB C1 03 70 */ lfd f30, 0x370(r1) +/* 802A2250 0029F1B0 E3 A1 03 68 */ psq_l f29, 872(r1), 0, qr0 +/* 802A2254 0029F1B4 CB A1 03 60 */ lfd f29, 0x360(r1) +/* 802A2258 0029F1B8 E3 81 03 58 */ psq_l f28, 856(r1), 0, qr0 +/* 802A225C 0029F1BC CB 81 03 50 */ lfd f28, 0x350(r1) +/* 802A2260 0029F1C0 E3 61 03 48 */ psq_l f27, 840(r1), 0, qr0 +/* 802A2264 0029F1C4 CB 61 03 40 */ lfd f27, 0x340(r1) +/* 802A2268 0029F1C8 E3 41 03 38 */ psq_l f26, 824(r1), 0, qr0 +/* 802A226C 0029F1CC CB 41 03 30 */ lfd f26, 0x330(r1) +/* 802A2270 0029F1D0 E3 21 03 28 */ psq_l f25, 808(r1), 0, qr0 +/* 802A2274 0029F1D4 CB 21 03 20 */ lfd f25, 0x320(r1) +/* 802A2278 0029F1D8 E3 01 03 18 */ psq_l f24, 792(r1), 0, qr0 +/* 802A227C 0029F1DC CB 01 03 10 */ lfd f24, 0x310(r1) +/* 802A2280 0029F1E0 E2 E1 03 08 */ psq_l f23, 776(r1), 0, qr0 +/* 802A2284 0029F1E4 CA E1 03 00 */ lfd f23, 0x300(r1) +/* 802A2288 0029F1E8 E2 C1 02 F8 */ psq_l f22, 760(r1), 0, qr0 +/* 802A228C 0029F1EC CA C1 02 F0 */ lfd f22, 0x2f0(r1) +/* 802A2290 0029F1F0 E2 A1 02 E8 */ psq_l f21, 744(r1), 0, qr0 +/* 802A2294 0029F1F4 CA A1 02 E0 */ lfd f21, 0x2e0(r1) +/* 802A2298 0029F1F8 BB 01 02 C0 */ lmw r24, 0x2c0(r1) +/* 802A229C 0029F1FC 80 01 03 94 */ lwz r0, 0x394(r1) +/* 802A22A0 0029F200 7C 08 03 A6 */ mtlr r0 +/* 802A22A4 0029F204 38 21 03 90 */ addi r1, r1, 0x390 +/* 802A22A8 0029F208 4E 80 00 20 */ blr + +.global LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf +LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf: +/* 802A22AC 0029F20C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A22B0 0029F210 7C 08 02 A6 */ mflr r0 +/* 802A22B4 0029F214 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A22B8 0029F218 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802A22BC 0029F21C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802A22C0 0029F220 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A22C4 0029F224 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A22C8 0029F228 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A22CC 0029F22C 7C 7D 1B 78 */ mr r29, r3 +/* 802A22D0 0029F230 FF E0 08 90 */ fmr f31, f1 +/* 802A22D4 0029F234 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802A22D8 0029F238 7C 9E 23 78 */ mr r30, r4 +/* 802A22DC 0029F23C 7C BF 2B 78 */ mr r31, r5 +/* 802A22E0 0029F240 2C 00 00 00 */ cmpwi r0, 0 +/* 802A22E4 0029F244 40 82 00 0C */ bne lbl_802A22F0 +/* 802A22E8 0029F248 38 60 00 01 */ li r3, 1 +/* 802A22EC 0029F24C 48 00 00 80 */ b lbl_802A236C +lbl_802A22F0: +/* 802A22F0 0029F250 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A22F4 0029F254 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A22F8 0029F258 38 C1 00 08 */ addi r6, r1, 8 +/* 802A22FC 0029F25C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802A2300 0029F260 D0 01 00 08 */ stfs f0, 8(r1) +/* 802A2304 0029F264 48 00 01 71 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A2308 0029F268 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A230C 0029F26C 40 82 00 0C */ bne lbl_802A2318 +/* 802A2310 0029F270 38 60 00 01 */ li r3, 1 +/* 802A2314 0029F274 48 00 00 58 */ b lbl_802A236C +lbl_802A2318: +/* 802A2318 0029F278 C0 FE 00 14 */ lfs f7, 0x14(r30) +/* 802A231C 0029F27C FC 60 F8 90 */ fmr f3, f31 +/* 802A2320 0029F280 C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2) +/* 802A2324 0029F284 7F A3 EB 78 */ mr r3, r29 +/* 802A2328 0029F288 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802A232C 0029F28C 7F C4 F3 78 */ mr r4, r30 +/* 802A2330 0029F290 C0 BE 00 0C */ lfs f5, 0xc(r30) +/* 802A2334 0029F294 EC 86 00 24 */ fdivs f4, f6, f0 +/* 802A2338 0029F298 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A233C 0029F29C C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2) +/* 802A2340 0029F2A0 7F E5 FB 78 */ mr r5, r31 +/* 802A2344 0029F2A4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A2348 0029F2A8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A234C 0029F2AC EC A6 28 24 */ fdivs f5, f6, f5 +/* 802A2350 0029F2B0 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802A2354 0029F2B4 EC 86 38 24 */ fdivs f4, f6, f7 +/* 802A2358 0029F2B8 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802A235C 0029F2BC EC 21 10 28 */ fsubs f1, f1, f2 +/* 802A2360 0029F2C0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802A2364 0029F2C4 EC 42 00 2A */ fadds f2, f2, f0 +/* 802A2368 0029F2C8 4B FF F3 C1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +lbl_802A236C: +/* 802A236C 0029F2CC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802A2370 0029F2D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2374 0029F2D4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802A2378 0029F2D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A237C 0029F2DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A2380 0029F2E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A2384 0029F2E4 7C 08 03 A6 */ mtlr r0 +/* 802A2388 0029F2E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A238C 0029F2EC 4E 80 00 20 */ blr + +.global LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf +LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf: +/* 802A2390 0029F2F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A2394 0029F2F4 7C 08 02 A6 */ mflr r0 +/* 802A2398 0029F2F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A239C 0029F2FC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802A23A0 0029F300 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802A23A4 0029F304 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A23A8 0029F308 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A23AC 0029F30C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A23B0 0029F310 93 81 00 20 */ stw r28, 0x20(r1) +/* 802A23B4 0029F314 7C 7C 1B 78 */ mr r28, r3 +/* 802A23B8 0029F318 FF E0 08 90 */ fmr f31, f1 +/* 802A23BC 0029F31C 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802A23C0 0029F320 7C 9D 23 78 */ mr r29, r4 +/* 802A23C4 0029F324 7C BE 2B 78 */ mr r30, r5 +/* 802A23C8 0029F328 7C DF 33 78 */ mr r31, r6 +/* 802A23CC 0029F32C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A23D0 0029F330 41 82 00 7C */ beq lbl_802A244C +/* 802A23D4 0029F334 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A23D8 0029F338 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A23DC 0029F33C 38 C1 00 08 */ addi r6, r1, 8 +/* 802A23E0 0029F340 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802A23E4 0029F344 D0 01 00 08 */ stfs f0, 8(r1) +/* 802A23E8 0029F348 48 00 00 8D */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A23EC 0029F34C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A23F0 0029F350 41 82 00 5C */ beq lbl_802A244C +/* 802A23F4 0029F354 C0 FD 00 14 */ lfs f7, 0x14(r29) +/* 802A23F8 0029F358 FC 60 F8 90 */ fmr f3, f31 +/* 802A23FC 0029F35C C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2) +/* 802A2400 0029F360 7F 83 E3 78 */ mr r3, r28 +/* 802A2404 0029F364 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 802A2408 0029F368 7F A4 EB 78 */ mr r4, r29 +/* 802A240C 0029F36C C0 BD 00 0C */ lfs f5, 0xc(r29) +/* 802A2410 0029F370 EC 86 00 24 */ fdivs f4, f6, f0 +/* 802A2414 0029F374 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A2418 0029F378 C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2) +/* 802A241C 0029F37C 7F C5 F3 78 */ mr r5, r30 +/* 802A2420 0029F380 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A2424 0029F384 7F E6 FB 78 */ mr r6, r31 +/* 802A2428 0029F388 EC A6 28 24 */ fdivs f5, f6, f5 +/* 802A242C 0029F38C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802A2430 0029F390 38 E1 00 10 */ addi r7, r1, 0x10 +/* 802A2434 0029F394 EC 86 38 24 */ fdivs f4, f6, f7 +/* 802A2438 0029F398 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802A243C 0029F39C EC 21 10 28 */ fsubs f1, f1, f2 +/* 802A2440 0029F3A0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802A2444 0029F3A4 EC 42 00 2A */ fadds f2, f2, f0 +/* 802A2448 0029F3A8 4B FF E5 C5 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A244C: +/* 802A244C 0029F3AC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802A2450 0029F3B0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2454 0029F3B4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802A2458 0029F3B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A245C 0029F3BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A2460 0029F3C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A2464 0029F3C4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802A2468 0029F3C8 7C 08 03 A6 */ mtlr r0 +/* 802A246C 0029F3CC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A2470 0029F3D0 4E 80 00 20 */ blr + +.global BoxLineTest__FRC6CAABoxRC5CLineRfRf +BoxLineTest__FRC6CAABoxRC5CLineRfRf: +/* 802A2474 0029F3D4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A2478 0029F3D8 7C 08 02 A6 */ mflr r0 +/* 802A247C 0029F3DC C0 22 C1 38 */ lfs f1, lbl_805ADE58@sda21(r2) +/* 802A2480 0029F3E0 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A2484 0029F3E4 C0 02 C1 3C */ lfs f0, lbl_805ADE5C@sda21(r2) +/* 802A2488 0029F3E8 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 802A248C 0029F3EC 7C B9 2B 78 */ mr r25, r5 +/* 802A2490 0029F3F0 7C DA 33 78 */ mr r26, r6 +/* 802A2494 0029F3F4 7C 7D 1B 78 */ mr r29, r3 +/* 802A2498 0029F3F8 3B E1 00 08 */ addi r31, r1, 8 +/* 802A249C 0029F3FC 3B C1 00 14 */ addi r30, r1, 0x14 +/* 802A24A0 0029F400 3B 83 00 0C */ addi r28, r3, 0xc +/* 802A24A4 0029F404 3B 60 00 00 */ li r27, 0 +/* 802A24A8 0029F408 C0 E4 00 00 */ lfs f7, 0(r4) +/* 802A24AC 0029F40C C0 C4 00 04 */ lfs f6, 4(r4) +/* 802A24B0 0029F410 C0 A4 00 08 */ lfs f5, 8(r4) +/* 802A24B4 0029F414 C0 84 00 0C */ lfs f4, 0xc(r4) +/* 802A24B8 0029F418 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 802A24BC 0029F41C C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802A24C0 0029F420 D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 802A24C4 0029F424 D0 25 00 00 */ stfs f1, 0(r5) +/* 802A24C8 0029F428 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 802A24CC 0029F42C D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 802A24D0 0029F430 D0 81 00 08 */ stfs f4, 8(r1) +/* 802A24D4 0029F434 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802A24D8 0029F438 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802A24DC 0029F43C D0 06 00 00 */ stfs f0, 0(r6) +lbl_802A24E0: +/* 802A24E0 0029F440 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802A24E4 0029F444 C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2) +/* 802A24E8 0029F448 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2) +/* 802A24EC 0029F44C 48 00 01 2D */ bl _close_enough__Ffff +/* 802A24F0 0029F450 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A24F4 0029F454 41 82 00 28 */ beq lbl_802A251C +/* 802A24F8 0029F458 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802A24FC 0029F45C C0 1D 00 00 */ lfs f0, 0(r29) +/* 802A2500 0029F460 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A2504 0029F464 41 80 00 10 */ blt lbl_802A2514 +/* 802A2508 0029F468 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802A250C 0029F46C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A2510 0029F470 40 81 00 C0 */ ble lbl_802A25D0 +lbl_802A2514: +/* 802A2514 0029F474 38 60 00 00 */ li r3, 0 +/* 802A2518 0029F478 48 00 00 EC */ b lbl_802A2604 +lbl_802A251C: +/* 802A251C 0029F47C C0 7F 00 00 */ lfs f3, 0(r31) +/* 802A2520 0029F480 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A2524 0029F484 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A2528 0029F488 40 80 00 58 */ bge lbl_802A2580 +/* 802A252C 0029F48C C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A2530 0029F490 C0 19 00 00 */ lfs f0, 0(r25) +/* 802A2534 0029F494 EC A1 18 24 */ fdivs f5, f1, f3 +/* 802A2538 0029F498 C0 5C 00 00 */ lfs f2, 0(r28) +/* 802A253C 0029F49C C0 9E 00 00 */ lfs f4, 0(r30) +/* 802A2540 0029F4A0 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802A2544 0029F4A4 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802A2548 0029F4A8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802A254C 0029F4AC EC 61 20 28 */ fsubs f3, f1, f4 +/* 802A2550 0029F4B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802A2554 0029F4B4 40 80 00 0C */ bge lbl_802A2560 +/* 802A2558 0029F4B8 EC 02 01 72 */ fmuls f0, f2, f5 +/* 802A255C 0029F4BC D0 19 00 00 */ stfs f0, 0(r25) +lbl_802A2560: +/* 802A2560 0029F4C0 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A2564 0029F4C4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A2568 0029F4C8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A256C 0029F4CC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A2570 0029F4D0 40 81 00 60 */ ble lbl_802A25D0 +/* 802A2574 0029F4D4 EC 03 01 72 */ fmuls f0, f3, f5 +/* 802A2578 0029F4D8 D0 1A 00 00 */ stfs f0, 0(r26) +/* 802A257C 0029F4DC 48 00 00 54 */ b lbl_802A25D0 +lbl_802A2580: +/* 802A2580 0029F4E0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A2584 0029F4E4 C0 19 00 00 */ lfs f0, 0(r25) +/* 802A2588 0029F4E8 EC A1 18 24 */ fdivs f5, f1, f3 +/* 802A258C 0029F4EC C0 5D 00 00 */ lfs f2, 0(r29) +/* 802A2590 0029F4F0 C0 9E 00 00 */ lfs f4, 0(r30) +/* 802A2594 0029F4F4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802A2598 0029F4F8 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802A259C 0029F4FC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802A25A0 0029F500 EC 61 20 28 */ fsubs f3, f1, f4 +/* 802A25A4 0029F504 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802A25A8 0029F508 40 81 00 0C */ ble lbl_802A25B4 +/* 802A25AC 0029F50C EC 02 01 72 */ fmuls f0, f2, f5 +/* 802A25B0 0029F510 D0 19 00 00 */ stfs f0, 0(r25) +lbl_802A25B4: +/* 802A25B4 0029F514 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A25B8 0029F518 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A25BC 0029F51C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A25C0 0029F520 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A25C4 0029F524 40 80 00 0C */ bge lbl_802A25D0 +/* 802A25C8 0029F528 EC 03 01 72 */ fmuls f0, f3, f5 +/* 802A25CC 0029F52C D0 1A 00 00 */ stfs f0, 0(r26) +lbl_802A25D0: +/* 802A25D0 0029F530 3B 7B 00 01 */ addi r27, r27, 1 +/* 802A25D4 0029F534 3B DE 00 04 */ addi r30, r30, 4 +/* 802A25D8 0029F538 2C 1B 00 03 */ cmpwi r27, 3 +/* 802A25DC 0029F53C 3B BD 00 04 */ addi r29, r29, 4 +/* 802A25E0 0029F540 3B 9C 00 04 */ addi r28, r28, 4 +/* 802A25E4 0029F544 3B FF 00 04 */ addi r31, r31, 4 +/* 802A25E8 0029F548 41 80 FE F8 */ blt lbl_802A24E0 +/* 802A25EC 0029F54C C0 39 00 00 */ lfs f1, 0(r25) +/* 802A25F0 0029F550 C0 1A 00 00 */ lfs f0, 0(r26) +/* 802A25F4 0029F554 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A25F8 0029F558 4C 40 13 82 */ cror 2, 0, 2 +/* 802A25FC 0029F55C 7C 00 00 26 */ mfcr r0 +/* 802A2600 0029F560 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +lbl_802A2604: +/* 802A2604 0029F564 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 802A2608 0029F568 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A260C 0029F56C 7C 08 03 A6 */ mtlr r0 +/* 802A2610 0029F570 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A2614 0029F574 4E 80 00 20 */ blr + +.global _close_enough__Ffff +_close_enough__Ffff: +/* 802A2618 0029F578 EC 01 10 28 */ fsubs f0, f1, f2 +/* 802A261C 0029F57C FC 00 02 10 */ fabs f0, f0 +/* 802A2620 0029F580 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802A2624 0029F584 4C 40 13 82 */ cror 2, 0, 2 +/* 802A2628 0029F588 7C 00 00 26 */ mfcr r0 +/* 802A262C 0029F58C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802A2630 0029F590 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaRenderOctTree.s b/asm/WorldFormat/CAreaRenderOctTree.s new file mode 100644 index 00000000..6d22a821 --- /dev/null +++ b/asm/WorldFormat/CAreaRenderOctTree.s @@ -0,0 +1,456 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global TestBit__13CCubeRendererFPCUii +TestBit__13CCubeRendererFPCUii: +/* 802AE6C4 002AB624 7C 80 2E 70 */ srawi r0, r4, 5 +/* 802AE6C8 002AB628 54 84 06 FE */ clrlwi r4, r4, 0x1b +/* 802AE6CC 002AB62C 54 00 10 3A */ slwi r0, r0, 2 +/* 802AE6D0 002AB630 38 A0 00 01 */ li r5, 1 +/* 802AE6D4 002AB634 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802AE6D8 002AB638 7C A3 20 30 */ slw r3, r5, r4 +/* 802AE6DC 002AB63C 7C 63 00 38 */ and r3, r3, r0 +/* 802AE6E0 002AB640 7C 03 00 D0 */ neg r0, r3 +/* 802AE6E4 002AB644 7C 00 1B 78 */ or r0, r0, r3 +/* 802AE6E8 002AB648 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802AE6EC 002AB64C 4E 80 00 20 */ blr + +.global RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox: +/* 802AE6F0 002AB650 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802AE6F4 002AB654 7C 08 02 A6 */ mflr r0 +/* 802AE6F8 002AB658 90 01 00 54 */ stw r0, 0x54(r1) +/* 802AE6FC 002AB65C BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 802AE700 002AB660 7C D9 33 78 */ mr r25, r6 +/* 802AE704 002AB664 7C 98 23 78 */ mr r24, r4 +/* 802AE708 002AB668 7C FA 3B 78 */ mr r26, r7 +/* 802AE70C 002AB66C 7C 77 1B 78 */ mr r23, r3 +/* 802AE710 002AB670 7C BF 2B 78 */ mr r31, r5 +/* 802AE714 002AB674 7F 43 D3 78 */ mr r3, r26 +/* 802AE718 002AB678 7F 24 CB 78 */ mr r4, r25 +/* 802AE71C 002AB67C 48 08 94 69 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802AE720 002AB680 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AE724 002AB684 41 82 00 E0 */ beq lbl_802AE804 +/* 802AE728 002AB688 88 17 00 03 */ lbz r0, 3(r23) +/* 802AE72C 002AB68C 28 00 00 00 */ cmplwi r0, 0 +/* 802AE730 002AB690 41 82 00 18 */ beq lbl_802AE748 +/* 802AE734 002AB694 7F 23 CB 78 */ mr r3, r25 +/* 802AE738 002AB698 7F 44 D3 78 */ mr r4, r26 +/* 802AE73C 002AB69C 48 08 93 45 */ bl Inside__6CAABoxCFRC6CAABox +/* 802AE740 002AB6A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AE744 002AB6A4 41 82 00 54 */ beq lbl_802AE798 +lbl_802AE748: +/* 802AE748 002AB6A8 A0 77 00 00 */ lhz r3, 0(r23) +/* 802AE74C 002AB6AC 7F 05 C3 78 */ mr r5, r24 +/* 802AE750 002AB6B0 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802AE754 002AB6B4 38 C0 00 00 */ li r6, 0 +/* 802AE758 002AB6B8 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 802AE75C 002AB6BC 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802AE760 002AB6C0 54 00 10 3A */ slwi r0, r0, 2 +/* 802AE764 002AB6C4 7C 84 02 14 */ add r4, r4, r0 +/* 802AE768 002AB6C8 48 00 00 20 */ b lbl_802AE788 +lbl_802AE76C: +/* 802AE76C 002AB6CC 80 04 00 00 */ lwz r0, 0(r4) +/* 802AE770 002AB6D0 38 84 00 04 */ addi r4, r4, 4 +/* 802AE774 002AB6D4 80 65 00 00 */ lwz r3, 0(r5) +/* 802AE778 002AB6D8 38 C6 00 01 */ addi r6, r6, 1 +/* 802AE77C 002AB6DC 7C 60 03 78 */ or r0, r3, r0 +/* 802AE780 002AB6E0 90 05 00 00 */ stw r0, 0(r5) +/* 802AE784 002AB6E4 38 A5 00 04 */ addi r5, r5, 4 +lbl_802AE788: +/* 802AE788 002AB6E8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802AE78C 002AB6EC 7C 06 00 40 */ cmplw r6, r0 +/* 802AE790 002AB6F0 41 80 FF DC */ blt lbl_802AE76C +/* 802AE794 002AB6F4 48 00 00 70 */ b lbl_802AE804 +lbl_802AE798: +/* 802AE798 002AB6F8 7E E3 BB 78 */ mr r3, r23 +/* 802AE79C 002AB6FC 48 00 04 95 */ bl sub_802aec30 +/* 802AE7A0 002AB700 7C 7E 1B 78 */ mr r30, r3 +/* 802AE7A4 002AB704 7E FC BB 78 */ mr r28, r23 +/* 802AE7A8 002AB708 3B 60 00 00 */ li r27, 0 +/* 802AE7AC 002AB70C 48 00 00 50 */ b lbl_802AE7FC +lbl_802AE7B0: +/* 802AE7B0 002AB710 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802AE7B4 002AB714 7E E4 BB 78 */ mr r4, r23 +/* 802AE7B8 002AB718 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 802AE7BC 002AB71C 7F 25 CB 78 */ mr r5, r25 +/* 802AE7C0 002AB720 54 00 10 3A */ slwi r0, r0, 2 +/* 802AE7C4 002AB724 80 FF 00 38 */ lwz r7, 0x38(r31) +/* 802AE7C8 002AB728 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802AE7CC 002AB72C 7F 66 DB 78 */ mr r6, r27 +/* 802AE7D0 002AB730 38 61 00 08 */ addi r3, r1, 8 +/* 802AE7D4 002AB734 7F A7 02 14 */ add r29, r7, r0 +/* 802AE7D8 002AB738 48 00 01 B9 */ bl sub_802ae990 +/* 802AE7DC 002AB73C 7F A3 EB 78 */ mr r3, r29 +/* 802AE7E0 002AB740 7F 04 C3 78 */ mr r4, r24 +/* 802AE7E4 002AB744 7F E5 FB 78 */ mr r5, r31 +/* 802AE7E8 002AB748 7F 47 D3 78 */ mr r7, r26 +/* 802AE7EC 002AB74C 38 C1 00 08 */ addi r6, r1, 8 +/* 802AE7F0 002AB750 4B FF FF 01 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +/* 802AE7F4 002AB754 3B 9C 00 02 */ addi r28, r28, 2 +/* 802AE7F8 002AB758 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802AE7FC: +/* 802AE7FC 002AB75C 7C 1B F0 00 */ cmpw r27, r30 +/* 802AE800 002AB760 41 80 FF B0 */ blt lbl_802AE7B0 +lbl_802AE804: +/* 802AE804 002AB764 BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 802AE808 002AB768 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802AE80C 002AB76C 7C 08 03 A6 */ mtlr r0 +/* 802AE810 002AB770 38 21 00 50 */ addi r1, r1, 0x50 +/* 802AE814 002AB774 4E 80 00 20 */ blr + +.global FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox +FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox: +/* 802AE818 002AB778 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE81C 002AB77C 7C 08 02 A6 */ mflr r0 +/* 802AE820 002AB780 7C A7 2B 78 */ mr r7, r5 +/* 802AE824 002AB784 7C 65 1B 78 */ mr r5, r3 +/* 802AE828 002AB788 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE82C 002AB78C 80 C3 00 34 */ lwz r6, 0x34(r3) +/* 802AE830 002AB790 81 03 00 38 */ lwz r8, 0x38(r3) +/* 802AE834 002AB794 80 06 00 00 */ lwz r0, 0(r6) +/* 802AE838 002AB798 38 C3 00 18 */ addi r6, r3, 0x18 +/* 802AE83C 002AB79C 7C 68 02 14 */ add r3, r8, r0 +/* 802AE840 002AB7A0 4B FF FE B1 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +/* 802AE844 002AB7A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE848 002AB7A8 7C 08 03 A6 */ mtlr r0 +/* 802AE84C 002AB7AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE850 002AB7B0 4E 80 00 20 */ blr + +.global "FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox" +"FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox": +/* 802AE854 002AB7B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AE858 002AB7B8 7C 08 02 A6 */ mflr r0 +/* 802AE85C 002AB7BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AE860 002AB7C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802AE864 002AB7C4 7C BF 2B 78 */ mr r31, r5 +/* 802AE868 002AB7C8 38 AD 9A 80 */ addi r5, r13, lbl_805A8640@sda21 +/* 802AE86C 002AB7CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802AE870 002AB7D0 7C 9E 23 78 */ mr r30, r4 +/* 802AE874 002AB7D4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802AE878 002AB7D8 7C 7D 1B 78 */ mr r29, r3 +/* 802AE87C 002AB7DC 80 83 00 14 */ lwz r4, 0x14(r3) +/* 802AE880 002AB7E0 7F C3 F3 78 */ mr r3, r30 +/* 802AE884 002AB7E4 48 00 00 45 */ bl sub_802ae8c8 +/* 802AE888 002AB7E8 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 802AE88C 002AB7EC 7F A5 EB 78 */ mr r5, r29 +/* 802AE890 002AB7F0 81 1D 00 38 */ lwz r8, 0x38(r29) +/* 802AE894 002AB7F4 7F E7 FB 78 */ mr r7, r31 +/* 802AE898 002AB7F8 80 03 00 00 */ lwz r0, 0(r3) +/* 802AE89C 002AB7FC 38 DD 00 18 */ addi r6, r29, 0x18 +/* 802AE8A0 002AB800 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802AE8A4 002AB804 7C 68 02 14 */ add r3, r8, r0 +/* 802AE8A8 002AB808 4B FF FE 49 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +/* 802AE8AC 002AB80C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AE8B0 002AB810 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802AE8B4 002AB814 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802AE8B8 002AB818 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802AE8BC 002AB81C 7C 08 03 A6 */ mtlr r0 +/* 802AE8C0 002AB820 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AE8C4 002AB824 4E 80 00 20 */ blr + +.global sub_802ae8c8 +sub_802ae8c8: +/* 802AE8C8 002AB828 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AE8CC 002AB82C 7C 08 02 A6 */ mflr r0 +/* 802AE8D0 002AB830 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AE8D4 002AB834 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AE8D8 002AB838 7C BF 2B 78 */ mr r31, r5 +/* 802AE8DC 002AB83C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802AE8E0 002AB840 7C 9E 23 78 */ mr r30, r4 +/* 802AE8E4 002AB844 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802AE8E8 002AB848 7C 7D 1B 78 */ mr r29, r3 +/* 802AE8EC 002AB84C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AE8F0 002AB850 7C 00 F0 00 */ cmpw r0, r30 +/* 802AE8F4 002AB854 41 82 00 80 */ beq lbl_802AE974 +/* 802AE8F8 002AB858 7C 1E 00 00 */ cmpw r30, r0 +/* 802AE8FC 002AB85C 40 81 00 40 */ ble lbl_802AE93C +/* 802AE900 002AB860 4B DB 52 25 */ bl "reserve__Q24rstl37vectorFi" +/* 802AE904 002AB864 80 9D 00 04 */ lwz r4, 4(r29) +/* 802AE908 002AB868 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802AE90C 002AB86C 54 80 10 3A */ slwi r0, r4, 2 +/* 802AE910 002AB870 7C 84 F0 51 */ subf. r4, r4, r30 +/* 802AE914 002AB874 7C 63 02 14 */ add r3, r3, r0 +/* 802AE918 002AB878 7C 89 03 A6 */ mtctr r4 +/* 802AE91C 002AB87C 40 81 00 54 */ ble lbl_802AE970 +lbl_802AE920: +/* 802AE920 002AB880 28 03 00 00 */ cmplwi r3, 0 +/* 802AE924 002AB884 41 82 00 0C */ beq lbl_802AE930 +/* 802AE928 002AB888 80 1F 00 00 */ lwz r0, 0(r31) +/* 802AE92C 002AB88C 90 03 00 00 */ stw r0, 0(r3) +lbl_802AE930: +/* 802AE930 002AB890 38 63 00 04 */ addi r3, r3, 4 +/* 802AE934 002AB894 42 00 FF EC */ bdnz lbl_802AE920 +/* 802AE938 002AB898 48 00 00 38 */ b lbl_802AE970 +lbl_802AE93C: +/* 802AE93C 002AB89C 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 802AE940 002AB8A0 54 03 10 3A */ slwi r3, r0, 2 +/* 802AE944 002AB8A4 57 C0 10 3A */ slwi r0, r30, 2 +/* 802AE948 002AB8A8 7C A4 02 14 */ add r5, r4, r0 +/* 802AE94C 002AB8AC 7C 04 1A 14 */ add r0, r4, r3 +/* 802AE950 002AB8B0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802AE954 002AB8B4 90 01 00 08 */ stw r0, 8(r1) +/* 802AE958 002AB8B8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AE95C 002AB8BC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802AE960 002AB8C0 48 00 00 08 */ b lbl_802AE968 +lbl_802AE964: +/* 802AE964 002AB8C4 38 A5 00 04 */ addi r5, r5, 4 +lbl_802AE968: +/* 802AE968 002AB8C8 7C 05 00 40 */ cmplw r5, r0 +/* 802AE96C 002AB8CC 40 82 FF F8 */ bne lbl_802AE964 +lbl_802AE970: +/* 802AE970 002AB8D0 93 DD 00 04 */ stw r30, 4(r29) +lbl_802AE974: +/* 802AE974 002AB8D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AE978 002AB8D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802AE97C 002AB8DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802AE980 002AB8E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802AE984 002AB8E4 7C 08 03 A6 */ mtlr r0 +/* 802AE988 002AB8E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AE98C 002AB8EC 4E 80 00 20 */ blr + +.global sub_802ae990 +sub_802ae990: +/* 802AE990 002AB8F0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802AE994 002AB8F4 7C 08 02 A6 */ mflr r0 +/* 802AE998 002AB8F8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802AE99C 002AB8FC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802AE9A0 002AB900 7C DF 33 78 */ mr r31, r6 +/* 802AE9A4 002AB904 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802AE9A8 002AB908 7C 7E 1B 78 */ mr r30, r3 +/* 802AE9AC 002AB90C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802AE9B0 002AB910 8B A4 00 03 */ lbz r29, 3(r4) +/* 802AE9B4 002AB914 C0 A5 00 00 */ lfs f5, 0(r5) +/* 802AE9B8 002AB918 C0 85 00 04 */ lfs f4, 4(r5) +/* 802AE9BC 002AB91C 28 1D 00 07 */ cmplwi r29, 7 +/* 802AE9C0 002AB920 C0 65 00 08 */ lfs f3, 8(r5) +/* 802AE9C4 002AB924 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802AE9C8 002AB928 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802AE9CC 002AB92C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802AE9D0 002AB930 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802AE9D4 002AB934 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802AE9D8 002AB938 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802AE9DC 002AB93C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802AE9E0 002AB940 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802AE9E4 002AB944 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802AE9E8 002AB948 41 81 02 1C */ bgt lbl_802AEC04 +/* 802AE9EC 002AB94C 3C 60 80 3F */ lis r3, lbl_803EC4A8@ha +/* 802AE9F0 002AB950 57 A0 10 3A */ slwi r0, r29, 2 +/* 802AE9F4 002AB954 38 63 C4 A8 */ addi r3, r3, lbl_803EC4A8@l +/* 802AE9F8 002AB958 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802AE9FC 002AB95C 7C 09 03 A6 */ mtctr r0 +/* 802AEA00 002AB960 4E 80 04 20 */ bctr +/* 802AEA04 002AB964 EC 02 28 2A */ fadds f0, f2, f5 +/* 802AEA08 002AB968 C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) +/* 802AEA0C 002AB96C 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEA10 002AB970 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AEA14 002AB974 40 82 00 0C */ bne lbl_802AEA20 +/* 802AEA18 002AB978 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802AEA1C 002AB97C 48 00 01 E8 */ b lbl_802AEC04 +lbl_802AEA20: +/* 802AEA20 002AB980 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802AEA24 002AB984 48 00 01 E0 */ b lbl_802AEC04 +/* 802AEA28 002AB988 EC 01 20 2A */ fadds f0, f1, f4 +/* 802AEA2C 002AB98C C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) +/* 802AEA30 002AB990 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEA34 002AB994 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AEA38 002AB998 40 82 00 0C */ bne lbl_802AEA44 +/* 802AEA3C 002AB99C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802AEA40 002AB9A0 48 00 01 C4 */ b lbl_802AEC04 +lbl_802AEA44: +/* 802AEA44 002AB9A4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802AEA48 002AB9A8 48 00 01 BC */ b lbl_802AEC04 +/* 802AEA4C 002AB9AC EC 00 18 2A */ fadds f0, f0, f3 +/* 802AEA50 002AB9B0 C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) +/* 802AEA54 002AB9B4 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEA58 002AB9B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AEA5C 002AB9BC 40 82 00 0C */ bne lbl_802AEA68 +/* 802AEA60 002AB9C0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802AEA64 002AB9C4 48 00 01 A0 */ b lbl_802AEC04 +lbl_802AEA68: +/* 802AEA68 002AB9C8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802AEA6C 002AB9CC 48 00 01 98 */ b lbl_802AEC04 +/* 802AEA70 002AB9D0 7C A4 2B 78 */ mr r4, r5 +/* 802AEA74 002AB9D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AEA78 002AB9D8 48 08 8B 95 */ bl GetCenterPoint__6CAABoxCFv +/* 802AEA7C 002AB9DC 1C 1D 00 03 */ mulli r0, r29, 3 +/* 802AEA80 002AB9E0 3C 60 80 3D */ lis r3, lbl_803D6138@ha +/* 802AEA84 002AB9E4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802AEA88 002AB9E8 2C 1F 00 02 */ cmpwi r31, 2 +/* 802AEA8C 002AB9EC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802AEA90 002AB9F0 38 83 61 38 */ addi r4, r3, lbl_803D6138@l +/* 802AEA94 002AB9F4 54 00 10 3A */ slwi r0, r0, 2 +/* 802AEA98 002AB9F8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802AEA9C 002AB9FC 7C 64 02 14 */ add r3, r4, r0 +/* 802AEAA0 002ABA00 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802AEAA4 002ABA04 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802AEAA8 002ABA08 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802AEAAC 002ABA0C 80 A3 00 04 */ lwz r5, 4(r3) +/* 802AEAB0 002ABA10 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802AEAB4 002ABA14 41 82 00 70 */ beq lbl_802AEB24 +/* 802AEAB8 002ABA18 40 80 00 14 */ bge lbl_802AEACC +/* 802AEABC 002ABA1C 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEAC0 002ABA20 41 82 00 18 */ beq lbl_802AEAD8 +/* 802AEAC4 002ABA24 40 80 00 38 */ bge lbl_802AEAFC +/* 802AEAC8 002ABA28 48 00 01 3C */ b lbl_802AEC04 +lbl_802AEACC: +/* 802AEACC 002ABA2C 2C 1F 00 04 */ cmpwi r31, 4 +/* 802AEAD0 002ABA30 40 80 01 34 */ bge lbl_802AEC04 +/* 802AEAD4 002ABA34 48 00 00 78 */ b lbl_802AEB4C +lbl_802AEAD8: +/* 802AEAD8 002ABA38 54 80 10 3A */ slwi r0, r4, 2 +/* 802AEADC 002ABA3C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802AEAE0 002ABA40 7C 04 04 2E */ lfsx f0, r4, r0 +/* 802AEAE4 002ABA44 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AEAE8 002ABA48 54 A5 10 3A */ slwi r5, r5, 2 +/* 802AEAEC 002ABA4C 7C 03 05 2E */ stfsx f0, r3, r0 +/* 802AEAF0 002ABA50 7C 04 2C 2E */ lfsx f0, r4, r5 +/* 802AEAF4 002ABA54 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEAF8 002ABA58 48 00 01 0C */ b lbl_802AEC04 +lbl_802AEAFC: +/* 802AEAFC 002ABA5C 54 80 10 3A */ slwi r0, r4, 2 +/* 802AEB00 002ABA60 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AEB04 002ABA64 54 A5 10 3A */ slwi r5, r5, 2 +/* 802AEB08 002ABA68 7C 23 04 2E */ lfsx f1, r3, r0 +/* 802AEB0C 002ABA6C 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AEB10 002ABA70 7C 03 2C 2E */ lfsx f0, r3, r5 +/* 802AEB14 002ABA74 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AEB18 002ABA78 7C 24 05 2E */ stfsx f1, r4, r0 +/* 802AEB1C 002ABA7C 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEB20 002ABA80 48 00 00 E4 */ b lbl_802AEC04 +lbl_802AEB24: +/* 802AEB24 002ABA84 54 A0 10 3A */ slwi r0, r5, 2 +/* 802AEB28 002ABA88 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AEB2C 002ABA8C 54 85 10 3A */ slwi r5, r4, 2 +/* 802AEB30 002ABA90 7C 23 04 2E */ lfsx f1, r3, r0 +/* 802AEB34 002ABA94 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AEB38 002ABA98 7C 03 2C 2E */ lfsx f0, r3, r5 +/* 802AEB3C 002ABA9C 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AEB40 002ABAA0 7C 24 05 2E */ stfsx f1, r4, r0 +/* 802AEB44 002ABAA4 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEB48 002ABAA8 48 00 00 BC */ b lbl_802AEC04 +lbl_802AEB4C: +/* 802AEB4C 002ABAAC 54 80 10 3A */ slwi r0, r4, 2 +/* 802AEB50 002ABAB0 38 81 00 2C */ addi r4, r1, 0x2c +/* 802AEB54 002ABAB4 7C 04 04 2E */ lfsx f0, r4, r0 +/* 802AEB58 002ABAB8 38 61 00 44 */ addi r3, r1, 0x44 +/* 802AEB5C 002ABABC 54 A5 10 3A */ slwi r5, r5, 2 +/* 802AEB60 002ABAC0 7C 03 05 2E */ stfsx f0, r3, r0 +/* 802AEB64 002ABAC4 7C 04 2C 2E */ lfsx f0, r4, r5 +/* 802AEB68 002ABAC8 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEB6C 002ABACC 48 00 00 98 */ b lbl_802AEC04 +/* 802AEB70 002ABAD0 7C A4 2B 78 */ mr r4, r5 +/* 802AEB74 002ABAD4 38 61 00 08 */ addi r3, r1, 8 +/* 802AEB78 002ABAD8 48 08 8A 95 */ bl GetCenterPoint__6CAABoxCFv +/* 802AEB7C 002ABADC 38 00 00 00 */ li r0, 0 +/* 802AEB80 002ABAE0 38 60 00 01 */ li r3, 1 +/* 802AEB84 002ABAE4 7C 60 00 30 */ slw r0, r3, r0 +/* 802AEB88 002ABAE8 C0 41 00 08 */ lfs f2, 8(r1) +/* 802AEB8C 002ABAEC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802AEB90 002ABAF0 7F E0 00 39 */ and. r0, r31, r0 +/* 802AEB94 002ABAF4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802AEB98 002ABAF8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802AEB9C 002ABAFC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802AEBA0 002ABB00 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802AEBA4 002ABB04 41 82 00 10 */ beq lbl_802AEBB4 +/* 802AEBA8 002ABB08 FC 00 10 18 */ frsp f0, f2 +/* 802AEBAC 002ABB0C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802AEBB0 002ABB10 48 00 00 0C */ b lbl_802AEBBC +lbl_802AEBB4: +/* 802AEBB4 002ABB14 FC 00 10 18 */ frsp f0, f2 +/* 802AEBB8 002ABB18 D0 01 00 38 */ stfs f0, 0x38(r1) +lbl_802AEBBC: +/* 802AEBBC 002ABB1C 38 00 00 01 */ li r0, 1 +/* 802AEBC0 002ABB20 7C 60 00 30 */ slw r0, r3, r0 +/* 802AEBC4 002ABB24 7F E0 00 39 */ and. r0, r31, r0 +/* 802AEBC8 002ABB28 41 82 00 10 */ beq lbl_802AEBD8 +/* 802AEBCC 002ABB2C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802AEBD0 002ABB30 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802AEBD4 002ABB34 48 00 00 0C */ b lbl_802AEBE0 +lbl_802AEBD8: +/* 802AEBD8 002ABB38 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802AEBDC 002ABB3C D0 01 00 3C */ stfs f0, 0x3c(r1) +lbl_802AEBE0: +/* 802AEBE0 002ABB40 38 00 00 02 */ li r0, 2 +/* 802AEBE4 002ABB44 7C 60 00 30 */ slw r0, r3, r0 +/* 802AEBE8 002ABB48 7F E0 00 39 */ and. r0, r31, r0 +/* 802AEBEC 002ABB4C 41 82 00 10 */ beq lbl_802AEBFC +/* 802AEBF0 002ABB50 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802AEBF4 002ABB54 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802AEBF8 002ABB58 48 00 00 0C */ b lbl_802AEC04 +lbl_802AEBFC: +/* 802AEBFC 002ABB5C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802AEC00 002ABB60 D0 01 00 40 */ stfs f0, 0x40(r1) +lbl_802AEC04: +/* 802AEC04 002ABB64 7F C3 F3 78 */ mr r3, r30 +/* 802AEC08 002ABB68 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AEC0C 002ABB6C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802AEC10 002ABB70 48 08 98 F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802AEC14 002ABB74 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802AEC18 002ABB78 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802AEC1C 002ABB7C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802AEC20 002ABB80 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802AEC24 002ABB84 7C 08 03 A6 */ mtlr r0 +/* 802AEC28 002ABB88 38 21 00 60 */ addi r1, r1, 0x60 +/* 802AEC2C 002ABB8C 4E 80 00 20 */ blr + +.global sub_802aec30 +sub_802aec30: +/* 802AEC30 002ABB90 88 03 00 03 */ lbz r0, 3(r3) +/* 802AEC34 002ABB94 3C 60 80 3D */ lis r3, lbl_803D6118@ha +/* 802AEC38 002ABB98 38 63 61 18 */ addi r3, r3, lbl_803D6118@l +/* 802AEC3C 002ABB9C 54 00 10 3A */ slwi r0, r0, 2 +/* 802AEC40 002ABBA0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802AEC44 002ABBA4 4E 80 00 20 */ blr + +.global sub_802aec48 +sub_802aec48: +/* 802AEC48 002ABBA8 88 A4 00 00 */ lbz r5, 0(r4) +/* 802AEC4C 002ABBAC 38 00 00 00 */ li r0, 0 +/* 802AEC50 002ABBB0 98 A3 00 00 */ stb r5, 0(r3) +/* 802AEC54 002ABBB4 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC58 002ABBB8 90 A3 00 04 */ stw r5, 4(r3) +/* 802AEC5C 002ABBBC 98 04 00 00 */ stb r0, 0(r4) +/* 802AEC60 002ABBC0 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC64 002ABBC4 80 05 00 08 */ lwz r0, 8(r5) +/* 802AEC68 002ABBC8 90 03 00 08 */ stw r0, 8(r3) +/* 802AEC6C 002ABBCC 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC70 002ABBD0 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802AEC74 002ABBD4 90 03 00 0C */ stw r0, 0xc(r3) +/* 802AEC78 002ABBD8 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC7C 002ABBDC 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802AEC80 002ABBE0 90 03 00 10 */ stw r0, 0x10(r3) +/* 802AEC84 002ABBE4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802AEC88 002ABBE8 38 05 00 1F */ addi r0, r5, 0x1f +/* 802AEC8C 002ABBEC 54 00 D9 7E */ srwi r0, r0, 5 +/* 802AEC90 002ABBF0 90 03 00 14 */ stw r0, 0x14(r3) +/* 802AEC94 002ABBF4 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC98 002ABBF8 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802AEC9C 002ABBFC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802AECA0 002ABC00 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 802AECA4 002ABC04 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802AECA8 002ABC08 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 802AECAC 002ABC0C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802AECB0 002ABC10 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802AECB4 002ABC14 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802AECB8 002ABC18 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 802AECBC 002ABC1C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802AECC0 002ABC20 C0 05 00 28 */ lfs f0, 0x28(r5) +/* 802AECC4 002ABC24 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802AECC8 002ABC28 80 84 00 04 */ lwz r4, 4(r4) +/* 802AECCC 002ABC2C 38 04 00 40 */ addi r0, r4, 0x40 +/* 802AECD0 002ABC30 90 03 00 30 */ stw r0, 0x30(r3) +/* 802AECD4 002ABC34 80 83 00 08 */ lwz r4, 8(r3) +/* 802AECD8 002ABC38 80 03 00 14 */ lwz r0, 0x14(r3) +/* 802AECDC 002ABC3C 80 A3 00 30 */ lwz r5, 0x30(r3) +/* 802AECE0 002ABC40 7C 04 01 D6 */ mullw r0, r4, r0 +/* 802AECE4 002ABC44 54 00 10 3A */ slwi r0, r0, 2 +/* 802AECE8 002ABC48 7C 05 02 14 */ add r0, r5, r0 +/* 802AECEC 002ABC4C 90 03 00 34 */ stw r0, 0x34(r3) +/* 802AECF0 002ABC50 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802AECF4 002ABC54 80 83 00 34 */ lwz r4, 0x34(r3) +/* 802AECF8 002ABC58 54 00 10 3A */ slwi r0, r0, 2 +/* 802AECFC 002ABC5C 7C 04 02 14 */ add r0, r4, r0 +/* 802AED00 002ABC60 90 03 00 38 */ stw r0, 0x38(r3) +/* 802AED04 002ABC64 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CCollidableOBBTree.s b/asm/WorldFormat/CCollidableOBBTree.s new file mode 100644 index 00000000..407eae33 --- /dev/null +++ b/asm/WorldFormat/CCollidableOBBTree.s @@ -0,0 +1,3131 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __dtl__18CCollidableOBBTreeFv +__dtl__18CCollidableOBBTreeFv: +/* 802A98EC 002A684C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A98F0 002A6850 7C 08 02 A6 */ mflr r0 +/* 802A98F4 002A6854 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A98F8 002A6858 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A98FC 002A685C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802A9900 002A6860 41 82 00 30 */ beq lbl_802A9930 +/* 802A9904 002A6864 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802A9908 002A6868 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l +/* 802A990C 002A686C 90 1F 00 00 */ stw r0, 0(r31) +/* 802A9910 002A6870 41 82 00 10 */ beq lbl_802A9920 +/* 802A9914 002A6874 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802A9918 002A6878 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 802A991C 002A687C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802A9920: +/* 802A9920 002A6880 7C 80 07 35 */ extsh. r0, r4 +/* 802A9924 002A6884 40 81 00 0C */ ble lbl_802A9930 +/* 802A9928 002A6888 7F E3 FB 78 */ mr r3, r31 +/* 802A992C 002A688C 48 06 C0 05 */ bl Free__7CMemoryFPCv +lbl_802A9930: +/* 802A9930 002A6890 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A9934 002A6894 7F E3 FB 78 */ mr r3, r31 +/* 802A9938 002A6898 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A993C 002A689C 7C 08 03 A6 */ mtlr r0 +/* 802A9940 002A68A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A9944 002A68A4 4E 80 00 20 */ blr + +.global GetTableIndex__18CCollidableOBBTreeCFv +GetTableIndex__18CCollidableOBBTreeCFv: +/* 802A9948 002A68A8 80 6D 9A 70 */ lwz r3, lbl_805A8630@sda21(r13) +/* 802A994C 002A68AC 4E 80 00 20 */ blr + +.global LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo: +/* 802A9950 002A68B0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802A9954 002A68B4 7C 08 02 A6 */ mflr r0 +/* 802A9958 002A68B8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802A995C 002A68BC BE E1 00 7C */ stmw r23, 0x7c(r1) +/* 802A9960 002A68C0 7C 98 23 78 */ mr r24, r4 +/* 802A9964 002A68C4 7C B9 2B 78 */ mr r25, r5 +/* 802A9968 002A68C8 7C 77 1B 78 */ mr r23, r3 +/* 802A996C 002A68CC 3B 41 00 48 */ addi r26, r1, 0x48 +/* 802A9970 002A68D0 3B C0 00 00 */ li r30, 0 +/* 802A9974 002A68D4 3B A0 00 00 */ li r29, 0 +/* 802A9978 002A68D8 3B 60 00 00 */ li r27, 0 +/* 802A997C 002A68DC 83 E4 00 04 */ lwz r31, 4(r4) +/* 802A9980 002A68E0 83 85 00 04 */ lwz r28, 4(r5) +/* 802A9984 002A68E4 48 00 00 84 */ b lbl_802A9A08 +lbl_802A9988: +/* 802A9988 002A68E8 80 B8 00 0C */ lwz r5, 0xc(r24) +/* 802A998C 002A68EC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A9990 002A68F0 80 97 00 10 */ lwz r4, 0x10(r23) +/* 802A9994 002A68F4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802A9998 002A68F8 7C A5 02 2E */ lhzx r5, r5, r0 +/* 802A999C 002A68FC 4B FF F2 21 */ bl GetSurface__8COBBTreeCFUs +/* 802A99A0 002A6900 7E E3 BB 78 */ mr r3, r23 +/* 802A99A4 002A6904 81 97 00 00 */ lwz r12, 0(r23) +/* 802A99A8 002A6908 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802A99AC 002A690C 7D 89 03 A6 */ mtctr r12 +/* 802A99B0 002A6910 4E 80 04 21 */ bctrl +/* 802A99B4 002A6914 80 C1 00 6C */ lwz r6, 0x6c(r1) +/* 802A99B8 002A6918 38 81 00 08 */ addi r4, r1, 8 +/* 802A99BC 002A691C 80 03 00 04 */ lwz r0, 4(r3) +/* 802A99C0 002A6920 80 A3 00 00 */ lwz r5, 0(r3) +/* 802A99C4 002A6924 7F 83 E3 78 */ mr r3, r28 +/* 802A99C8 002A6928 7C C0 03 78 */ or r0, r6, r0 +/* 802A99CC 002A692C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802A99D0 002A6930 90 A1 00 08 */ stw r5, 8(r1) +/* 802A99D4 002A6934 48 02 B9 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A99D8 002A6938 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A99DC 002A693C 41 82 00 28 */ beq lbl_802A9A04 +/* 802A99E0 002A6940 80 79 00 00 */ lwz r3, 0(r25) +/* 802A99E4 002A6944 7F 45 D3 78 */ mr r5, r26 +/* 802A99E8 002A6948 38 D9 00 08 */ addi r6, r25, 8 +/* 802A99EC 002A694C 38 83 00 2C */ addi r4, r3, 0x2c +/* 802A99F0 002A6950 48 02 8D 4D */ bl RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf +/* 802A99F4 002A6954 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A99F8 002A6958 41 82 00 0C */ beq lbl_802A9A04 +/* 802A99FC 002A695C 7F 7E DB 78 */ mr r30, r27 +/* 802A9A00 002A6960 3B A0 00 01 */ li r29, 1 +lbl_802A9A04: +/* 802A9A04 002A6964 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802A9A08: +/* 802A9A08 002A6968 57 60 04 3E */ clrlwi r0, r27, 0x10 +/* 802A9A0C 002A696C 7C 00 F8 00 */ cmpw r0, r31 +/* 802A9A10 002A6970 41 80 FF 78 */ blt lbl_802A9988 +/* 802A9A14 002A6974 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802A9A18 002A6978 41 82 00 58 */ beq lbl_802A9A70 +/* 802A9A1C 002A697C 80 B8 00 0C */ lwz r5, 0xc(r24) +/* 802A9A20 002A6980 57 C0 0B FC */ rlwinm r0, r30, 1, 0xf, 0x1e +/* 802A9A24 002A6984 80 97 00 10 */ lwz r4, 0x10(r23) +/* 802A9A28 002A6988 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A9A2C 002A698C 7C A5 02 2E */ lhzx r5, r5, r0 +/* 802A9A30 002A6990 4B FF F1 8D */ bl GetSurface__8COBBTreeCFUs +/* 802A9A34 002A6994 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A9A38 002A6998 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A9A3C 002A699C 4B FF 8B F9 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A9A40 002A69A0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A9A44 002A69A4 38 00 00 00 */ li r0, 0 +/* 802A9A48 002A69A8 D0 19 00 0C */ stfs f0, 0xc(r25) +/* 802A9A4C 002A69AC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A9A50 002A69B0 D0 19 00 10 */ stfs f0, 0x10(r25) +/* 802A9A54 002A69B4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802A9A58 002A69B8 D0 19 00 14 */ stfs f0, 0x14(r25) +/* 802A9A5C 002A69BC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A9A60 002A69C0 D0 19 00 18 */ stfs f0, 0x18(r25) +/* 802A9A64 002A69C4 80 61 00 44 */ lwz r3, 0x44(r1) +/* 802A9A68 002A69C8 90 79 00 24 */ stw r3, 0x24(r25) +/* 802A9A6C 002A69CC 90 19 00 20 */ stw r0, 0x20(r25) +lbl_802A9A70: +/* 802A9A70 002A69D0 7F A3 EB 78 */ mr r3, r29 +/* 802A9A74 002A69D4 BA E1 00 7C */ lmw r23, 0x7c(r1) +/* 802A9A78 002A69D8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802A9A7C 002A69DC 7C 08 03 A6 */ mtlr r0 +/* 802A9A80 002A69E0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802A9A84 002A69E4 4E 80 00 20 */ blr + +.global LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo: +/* 802A9A88 002A69E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A9A8C 002A69EC 7C 08 02 A6 */ mflr r0 +/* 802A9A90 002A69F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A9A94 002A69F4 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802A9A98 002A69F8 7C 9C 23 78 */ mr r28, r4 +/* 802A9A9C 002A69FC 7C BD 2B 78 */ mr r29, r5 +/* 802A9AA0 002A6A00 7C 7B 1B 78 */ mr r27, r3 +/* 802A9AA4 002A6A04 7C DE 33 78 */ mr r30, r6 +/* 802A9AA8 002A6A08 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A9AAC 002A6A0C 3B E0 00 00 */ li r31, 0 +/* 802A9AB0 002A6A10 3B 40 00 00 */ li r26, 0 +/* 802A9AB4 002A6A14 80 83 00 14 */ lwz r4, 0x14(r3) +/* 802A9AB8 002A6A18 7F 83 E3 78 */ mr r3, r28 +/* 802A9ABC 002A6A1C 38 04 00 02 */ addi r0, r4, 2 +/* 802A9AC0 002A6A20 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802A9AC4 002A6A24 80 86 00 00 */ lwz r4, 0(r6) +/* 802A9AC8 002A6A28 48 02 C0 F1 */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf +/* 802A9ACC 002A6A2C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9AD0 002A6A30 28 00 00 01 */ cmplwi r0, 1 +/* 802A9AD4 002A6A34 40 82 00 18 */ bne lbl_802A9AEC +/* 802A9AD8 002A6A38 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A9ADC 002A6A3C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A9AE0 002A6A40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9AE4 002A6A44 40 80 00 08 */ bge lbl_802A9AEC +/* 802A9AE8 002A6A48 3B 40 00 01 */ li r26, 1 +lbl_802A9AEC: +/* 802A9AEC 002A6A4C 80 9E 00 00 */ lwz r4, 0(r30) +/* 802A9AF0 002A6A50 7F A3 EB 78 */ mr r3, r29 +/* 802A9AF4 002A6A54 38 A1 00 08 */ addi r5, r1, 8 +/* 802A9AF8 002A6A58 3B 20 00 00 */ li r25, 0 +/* 802A9AFC 002A6A5C 48 02 C0 BD */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf +/* 802A9B00 002A6A60 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9B04 002A6A64 28 00 00 01 */ cmplwi r0, 1 +/* 802A9B08 002A6A68 40 82 00 18 */ bne lbl_802A9B20 +/* 802A9B0C 002A6A6C C0 21 00 08 */ lfs f1, 8(r1) +/* 802A9B10 002A6A70 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A9B14 002A6A74 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9B18 002A6A78 40 80 00 08 */ bge lbl_802A9B20 +/* 802A9B1C 002A6A7C 3B 20 00 01 */ li r25, 1 +lbl_802A9B20: +/* 802A9B20 002A6A80 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802A9B24 002A6A84 41 82 01 7C */ beq lbl_802A9CA0 +/* 802A9B28 002A6A88 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802A9B2C 002A6A8C 41 82 01 74 */ beq lbl_802A9CA0 +/* 802A9B30 002A6A90 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A9B34 002A6A94 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A9B38 002A6A98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9B3C 002A6A9C 40 80 00 B4 */ bge lbl_802A9BF0 +/* 802A9B40 002A6AA0 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802A9B44 002A6AA4 28 00 00 01 */ cmplwi r0, 1 +/* 802A9B48 002A6AA8 40 82 00 18 */ bne lbl_802A9B60 +/* 802A9B4C 002A6AAC 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802A9B50 002A6AB0 7F 63 DB 78 */ mr r3, r27 +/* 802A9B54 002A6AB4 7F C5 F3 78 */ mr r5, r30 +/* 802A9B58 002A6AB8 4B FF FD F9 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9B5C 002A6ABC 48 00 00 18 */ b lbl_802A9B74 +lbl_802A9B60: +/* 802A9B60 002A6AC0 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802A9B64 002A6AC4 7F 63 DB 78 */ mr r3, r27 +/* 802A9B68 002A6AC8 80 BC 00 44 */ lwz r5, 0x44(r28) +/* 802A9B6C 002A6ACC 7F C6 F3 78 */ mr r6, r30 +/* 802A9B70 002A6AD0 4B FF FF 19 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +lbl_802A9B74: +/* 802A9B74 002A6AD4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9B78 002A6AD8 28 00 00 01 */ cmplwi r0, 1 +/* 802A9B7C 002A6ADC 40 82 00 20 */ bne lbl_802A9B9C +/* 802A9B80 002A6AE0 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802A9B84 002A6AE4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A9B88 002A6AE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9B8C 002A6AEC 40 80 00 0C */ bge lbl_802A9B98 +/* 802A9B90 002A6AF0 38 60 00 01 */ li r3, 1 +/* 802A9B94 002A6AF4 48 00 01 C8 */ b lbl_802A9D5C +lbl_802A9B98: +/* 802A9B98 002A6AF8 3B E0 00 01 */ li r31, 1 +lbl_802A9B9C: +/* 802A9B9C 002A6AFC 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9BA0 002A6B00 28 00 00 00 */ cmplwi r0, 0 +/* 802A9BA4 002A6B04 41 82 00 24 */ beq lbl_802A9BC8 +/* 802A9BA8 002A6B08 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9BAC 002A6B0C 7F 63 DB 78 */ mr r3, r27 +/* 802A9BB0 002A6B10 7F C5 F3 78 */ mr r5, r30 +/* 802A9BB4 002A6B14 4B FF FD 9D */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9BB8 002A6B18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9BBC 002A6B1C 41 82 01 9C */ beq lbl_802A9D58 +/* 802A9BC0 002A6B20 3B E0 00 01 */ li r31, 1 +/* 802A9BC4 002A6B24 48 00 01 94 */ b lbl_802A9D58 +lbl_802A9BC8: +/* 802A9BC8 002A6B28 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9BCC 002A6B2C 7F 63 DB 78 */ mr r3, r27 +/* 802A9BD0 002A6B30 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9BD4 002A6B34 7F C6 F3 78 */ mr r6, r30 +/* 802A9BD8 002A6B38 4B FF FE B1 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9BDC 002A6B3C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9BE0 002A6B40 28 00 00 01 */ cmplwi r0, 1 +/* 802A9BE4 002A6B44 40 82 01 74 */ bne lbl_802A9D58 +/* 802A9BE8 002A6B48 3B E0 00 01 */ li r31, 1 +/* 802A9BEC 002A6B4C 48 00 01 6C */ b lbl_802A9D58 +lbl_802A9BF0: +/* 802A9BF0 002A6B50 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9BF4 002A6B54 28 00 00 01 */ cmplwi r0, 1 +/* 802A9BF8 002A6B58 40 82 00 18 */ bne lbl_802A9C10 +/* 802A9BFC 002A6B5C 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9C00 002A6B60 7F 63 DB 78 */ mr r3, r27 +/* 802A9C04 002A6B64 7F C5 F3 78 */ mr r5, r30 +/* 802A9C08 002A6B68 4B FF FD 49 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9C0C 002A6B6C 48 00 00 18 */ b lbl_802A9C24 +lbl_802A9C10: +/* 802A9C10 002A6B70 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9C14 002A6B74 7F 63 DB 78 */ mr r3, r27 +/* 802A9C18 002A6B78 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9C1C 002A6B7C 7F C6 F3 78 */ mr r6, r30 +/* 802A9C20 002A6B80 4B FF FE 69 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +lbl_802A9C24: +/* 802A9C24 002A6B84 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9C28 002A6B88 28 00 00 01 */ cmplwi r0, 1 +/* 802A9C2C 002A6B8C 40 82 00 20 */ bne lbl_802A9C4C +/* 802A9C30 002A6B90 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802A9C34 002A6B94 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A9C38 002A6B98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9C3C 002A6B9C 40 80 00 0C */ bge lbl_802A9C48 +/* 802A9C40 002A6BA0 38 60 00 01 */ li r3, 1 +/* 802A9C44 002A6BA4 48 00 01 18 */ b lbl_802A9D5C +lbl_802A9C48: +/* 802A9C48 002A6BA8 3B E0 00 01 */ li r31, 1 +lbl_802A9C4C: +/* 802A9C4C 002A6BAC 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802A9C50 002A6BB0 28 00 00 00 */ cmplwi r0, 0 +/* 802A9C54 002A6BB4 41 82 00 24 */ beq lbl_802A9C78 +/* 802A9C58 002A6BB8 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802A9C5C 002A6BBC 7F 63 DB 78 */ mr r3, r27 +/* 802A9C60 002A6BC0 7F C5 F3 78 */ mr r5, r30 +/* 802A9C64 002A6BC4 4B FF FC ED */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9C68 002A6BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9C6C 002A6BCC 41 82 00 EC */ beq lbl_802A9D58 +/* 802A9C70 002A6BD0 3B E0 00 01 */ li r31, 1 +/* 802A9C74 002A6BD4 48 00 00 E4 */ b lbl_802A9D58 +lbl_802A9C78: +/* 802A9C78 002A6BD8 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802A9C7C 002A6BDC 7F 63 DB 78 */ mr r3, r27 +/* 802A9C80 002A6BE0 80 BC 00 44 */ lwz r5, 0x44(r28) +/* 802A9C84 002A6BE4 7F C6 F3 78 */ mr r6, r30 +/* 802A9C88 002A6BE8 4B FF FE 01 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9C8C 002A6BEC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9C90 002A6BF0 28 00 00 01 */ cmplwi r0, 1 +/* 802A9C94 002A6BF4 40 82 00 C4 */ bne lbl_802A9D58 +/* 802A9C98 002A6BF8 3B E0 00 01 */ li r31, 1 +/* 802A9C9C 002A6BFC 48 00 00 BC */ b lbl_802A9D58 +lbl_802A9CA0: +/* 802A9CA0 002A6C00 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802A9CA4 002A6C04 41 82 00 58 */ beq lbl_802A9CFC +/* 802A9CA8 002A6C08 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802A9CAC 002A6C0C 28 00 00 01 */ cmplwi r0, 1 +/* 802A9CB0 002A6C10 40 82 00 24 */ bne lbl_802A9CD4 +/* 802A9CB4 002A6C14 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802A9CB8 002A6C18 7F 63 DB 78 */ mr r3, r27 +/* 802A9CBC 002A6C1C 7F C5 F3 78 */ mr r5, r30 +/* 802A9CC0 002A6C20 4B FF FC 91 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9CC4 002A6C24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9CC8 002A6C28 41 82 00 34 */ beq lbl_802A9CFC +/* 802A9CCC 002A6C2C 38 60 00 01 */ li r3, 1 +/* 802A9CD0 002A6C30 48 00 00 8C */ b lbl_802A9D5C +lbl_802A9CD4: +/* 802A9CD4 002A6C34 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802A9CD8 002A6C38 7F 63 DB 78 */ mr r3, r27 +/* 802A9CDC 002A6C3C 80 BC 00 44 */ lwz r5, 0x44(r28) +/* 802A9CE0 002A6C40 7F C6 F3 78 */ mr r6, r30 +/* 802A9CE4 002A6C44 4B FF FD A5 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9CE8 002A6C48 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9CEC 002A6C4C 28 00 00 01 */ cmplwi r0, 1 +/* 802A9CF0 002A6C50 40 82 00 0C */ bne lbl_802A9CFC +/* 802A9CF4 002A6C54 38 60 00 01 */ li r3, 1 +/* 802A9CF8 002A6C58 48 00 00 64 */ b lbl_802A9D5C +lbl_802A9CFC: +/* 802A9CFC 002A6C5C 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802A9D00 002A6C60 41 82 00 58 */ beq lbl_802A9D58 +/* 802A9D04 002A6C64 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9D08 002A6C68 28 00 00 01 */ cmplwi r0, 1 +/* 802A9D0C 002A6C6C 40 82 00 24 */ bne lbl_802A9D30 +/* 802A9D10 002A6C70 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9D14 002A6C74 7F 63 DB 78 */ mr r3, r27 +/* 802A9D18 002A6C78 7F C5 F3 78 */ mr r5, r30 +/* 802A9D1C 002A6C7C 4B FF FC 35 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9D20 002A6C80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9D24 002A6C84 41 82 00 34 */ beq lbl_802A9D58 +/* 802A9D28 002A6C88 38 60 00 01 */ li r3, 1 +/* 802A9D2C 002A6C8C 48 00 00 30 */ b lbl_802A9D5C +lbl_802A9D30: +/* 802A9D30 002A6C90 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9D34 002A6C94 7F 63 DB 78 */ mr r3, r27 +/* 802A9D38 002A6C98 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9D3C 002A6C9C 7F C6 F3 78 */ mr r6, r30 +/* 802A9D40 002A6CA0 4B FF FD 49 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9D44 002A6CA4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9D48 002A6CA8 28 00 00 01 */ cmplwi r0, 1 +/* 802A9D4C 002A6CAC 40 82 00 0C */ bne lbl_802A9D58 +/* 802A9D50 002A6CB0 38 60 00 01 */ li r3, 1 +/* 802A9D54 002A6CB4 48 00 00 08 */ b lbl_802A9D5C +lbl_802A9D58: +/* 802A9D58 002A6CB8 7F E3 FB 78 */ mr r3, r31 +lbl_802A9D5C: +/* 802A9D5C 002A6CBC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802A9D60 002A6CC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A9D64 002A6CC4 7C 08 03 A6 */ mtlr r0 +/* 802A9D68 002A6CC8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A9D6C 002A6CCC 4E 80 00 20 */ blr + +.global LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo +LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo: +/* 802A9D70 002A6CD0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A9D74 002A6CD4 7C 08 02 A6 */ mflr r0 +/* 802A9D78 002A6CD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A9D7C 002A6CDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A9D80 002A6CE0 3B E0 00 00 */ li r31, 0 +/* 802A9D84 002A6CE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A9D88 002A6CE8 7C BE 2B 78 */ mr r30, r5 +/* 802A9D8C 002A6CEC 38 A1 00 08 */ addi r5, r1, 8 +/* 802A9D90 002A6CF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802A9D94 002A6CF4 7C 9D 23 78 */ mr r29, r4 +/* 802A9D98 002A6CF8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802A9D9C 002A6CFC 7C 7C 1B 78 */ mr r28, r3 +/* 802A9DA0 002A6D00 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 802A9DA4 002A6D04 7F A3 EB 78 */ mr r3, r29 +/* 802A9DA8 002A6D08 38 06 00 01 */ addi r0, r6, 1 +/* 802A9DAC 002A6D0C 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802A9DB0 002A6D10 80 9E 00 00 */ lwz r4, 0(r30) +/* 802A9DB4 002A6D14 48 02 BE 05 */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf +/* 802A9DB8 002A6D18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9DBC 002A6D1C 41 82 00 74 */ beq lbl_802A9E30 +/* 802A9DC0 002A6D20 C0 21 00 08 */ lfs f1, 8(r1) +/* 802A9DC4 002A6D24 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A9DC8 002A6D28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9DCC 002A6D2C 40 80 00 64 */ bge lbl_802A9E30 +/* 802A9DD0 002A6D30 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9DD4 002A6D34 28 00 00 01 */ cmplwi r0, 1 +/* 802A9DD8 002A6D38 40 82 00 28 */ bne lbl_802A9E00 +/* 802A9DDC 002A6D3C 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9DE0 002A6D40 7F 83 E3 78 */ mr r3, r28 +/* 802A9DE4 002A6D44 7F C5 F3 78 */ mr r5, r30 +/* 802A9DE8 002A6D48 4B FF FB 69 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9DEC 002A6D4C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9DF0 002A6D50 28 00 00 01 */ cmplwi r0, 1 +/* 802A9DF4 002A6D54 40 82 00 30 */ bne lbl_802A9E24 +/* 802A9DF8 002A6D58 3B E0 00 01 */ li r31, 1 +/* 802A9DFC 002A6D5C 48 00 00 28 */ b lbl_802A9E24 +lbl_802A9E00: +/* 802A9E00 002A6D60 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9E04 002A6D64 7F 83 E3 78 */ mr r3, r28 +/* 802A9E08 002A6D68 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9E0C 002A6D6C 7F C6 F3 78 */ mr r6, r30 +/* 802A9E10 002A6D70 4B FF FC 79 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9E14 002A6D74 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9E18 002A6D78 28 00 00 01 */ cmplwi r0, 1 +/* 802A9E1C 002A6D7C 40 82 00 08 */ bne lbl_802A9E24 +/* 802A9E20 002A6D80 3B E0 00 01 */ li r31, 1 +lbl_802A9E24: +/* 802A9E24 002A6D84 38 00 00 01 */ li r0, 1 +/* 802A9E28 002A6D88 98 1D 00 4C */ stb r0, 0x4c(r29) +/* 802A9E2C 002A6D8C 48 00 00 10 */ b lbl_802A9E3C +lbl_802A9E30: +/* 802A9E30 002A6D90 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802A9E34 002A6D94 38 03 00 01 */ addi r0, r3, 1 +/* 802A9E38 002A6D98 90 1C 00 18 */ stw r0, 0x18(r28) +lbl_802A9E3C: +/* 802A9E3C 002A6D9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A9E40 002A6DA0 7F E3 FB 78 */ mr r3, r31 +/* 802A9E44 002A6DA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A9E48 002A6DA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A9E4C 002A6DAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802A9E50 002A6DB0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802A9E54 002A6DB4 7C 08 03 A6 */ mtlr r0 +/* 802A9E58 002A6DB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A9E5C 002A6DBC 4E 80 00 20 */ blr + +.global LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f +LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f: +/* 802A9E60 002A6DC0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802A9E64 002A6DC4 7C 08 02 A6 */ mflr r0 +/* 802A9E68 002A6DC8 90 01 01 14 */ stw r0, 0x114(r1) +/* 802A9E6C 002A6DCC DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802A9E70 002A6DD0 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802A9E74 002A6DD4 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802A9E78 002A6DD8 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802A9E7C 002A6DDC DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802A9E80 002A6DE0 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802A9E84 002A6DE4 BF 61 00 CC */ stmw r27, 0xcc(r1) +/* 802A9E88 002A6DE8 FF A0 08 90 */ fmr f29, f1 +/* 802A9E8C 002A6DEC 7C 7B 1B 78 */ mr r27, r3 +/* 802A9E90 002A6DF0 7C BD 2B 78 */ mr r29, r5 +/* 802A9E94 002A6DF4 7C FE 3B 78 */ mr r30, r7 +/* 802A9E98 002A6DF8 7C 9C 23 78 */ mr r28, r4 +/* 802A9E9C 002A6DFC 7C DF 33 78 */ mr r31, r6 +/* 802A9EA0 002A6E00 7F A4 EB 78 */ mr r4, r29 +/* 802A9EA4 002A6E04 7F C5 F3 78 */ mr r5, r30 +/* 802A9EA8 002A6E08 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A9EAC 002A6E0C 48 02 C1 3D */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f +/* 802A9EB0 002A6E10 C0 22 C1 B4 */ lfs f1, lbl_805ADED4@sda21(r2) +/* 802A9EB4 002A6E14 38 01 00 90 */ addi r0, r1, 0x90 +/* 802A9EB8 002A6E18 C3 C1 00 30 */ lfs f30, 0x30(r1) +/* 802A9EBC 002A6E1C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A9EC0 002A6E20 C3 E1 00 34 */ lfs f31, 0x34(r1) +/* 802A9EC4 002A6E24 C1 A1 00 38 */ lfs f13, 0x38(r1) +/* 802A9EC8 002A6E28 C1 81 00 3C */ lfs f12, 0x3c(r1) +/* 802A9ECC 002A6E2C C1 61 00 40 */ lfs f11, 0x40(r1) +/* 802A9ED0 002A6E30 C1 41 00 44 */ lfs f10, 0x44(r1) +/* 802A9ED4 002A6E34 C1 21 00 48 */ lfs f9, 0x48(r1) +/* 802A9ED8 002A6E38 C1 01 00 4C */ lfs f8, 0x4c(r1) +/* 802A9EDC 002A6E3C C0 E1 00 50 */ lfs f7, 0x50(r1) +/* 802A9EE0 002A6E40 C0 C1 00 54 */ lfs f6, 0x54(r1) +/* 802A9EE4 002A6E44 C0 A1 00 58 */ lfs f5, 0x58(r1) +/* 802A9EE8 002A6E48 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802A9EEC 002A6E4C C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802A9EF0 002A6E50 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802A9EF4 002A6E54 C0 02 C1 B8 */ lfs f0, lbl_805ADED8@sda21(r2) +/* 802A9EF8 002A6E58 D3 C1 00 90 */ stfs f30, 0x90(r1) +/* 802A9EFC 002A6E5C D3 E1 00 94 */ stfs f31, 0x94(r1) +/* 802A9F00 002A6E60 D1 A1 00 98 */ stfs f13, 0x98(r1) +/* 802A9F04 002A6E64 D1 81 00 9C */ stfs f12, 0x9c(r1) +/* 802A9F08 002A6E68 D1 61 00 A0 */ stfs f11, 0xa0(r1) +/* 802A9F0C 002A6E6C D1 41 00 A4 */ stfs f10, 0xa4(r1) +/* 802A9F10 002A6E70 D1 21 00 A8 */ stfs f9, 0xa8(r1) +/* 802A9F14 002A6E74 D1 01 00 AC */ stfs f8, 0xac(r1) +/* 802A9F18 002A6E78 D0 E1 00 B0 */ stfs f7, 0xb0(r1) +/* 802A9F1C 002A6E7C D0 C1 00 B4 */ stfs f6, 0xb4(r1) +/* 802A9F20 002A6E80 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 802A9F24 002A6E84 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 802A9F28 002A6E88 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 802A9F2C 002A6E8C D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 802A9F30 002A6E90 90 01 00 68 */ stw r0, 0x68(r1) +/* 802A9F34 002A6E94 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802A9F38 002A6E98 D3 A1 00 70 */ stfs f29, 0x70(r1) +/* 802A9F3C 002A6E9C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802A9F40 002A6EA0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802A9F44 002A6EA4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802A9F48 002A6EA8 48 06 A9 B1 */ bl Normalize__9CVector3fFv +/* 802A9F4C 002A6EAC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A9F50 002A6EB0 38 00 00 00 */ li r0, 0 +/* 802A9F54 002A6EB4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802A9F58 002A6EB8 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802A9F5C 002A6EBC C0 04 00 04 */ lfs f0, 4(r4) +/* 802A9F60 002A6EC0 7F 83 E3 78 */ mr r3, r28 +/* 802A9F64 002A6EC4 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802A9F68 002A6EC8 3B E1 00 74 */ addi r31, r1, 0x74 +/* 802A9F6C 002A6ECC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802A9F70 002A6ED0 C0 24 00 00 */ lfs f1, 0(r4) +/* 802A9F74 002A6ED4 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 802A9F78 002A6ED8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A9F7C 002A6EDC C0 44 00 08 */ lfs f2, 8(r4) +/* 802A9F80 002A6EE0 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802A9F84 002A6EE4 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802A9F88 002A6EE8 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 802A9F8C 002A6EEC EC 02 01 7A */ fmadds f0, f2, f5, f0 +/* 802A9F90 002A6EF0 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802A9F94 002A6EF4 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 802A9F98 002A6EF8 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802A9F9C 002A6EFC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 802A9FA0 002A6F00 90 01 00 88 */ stw r0, 0x88(r1) +/* 802A9FA4 002A6F04 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802A9FA8 002A6F08 4B FF FD C9 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9FAC 002A6F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9FB0 002A6F10 41 82 00 94 */ beq lbl_802AA044 +/* 802A9FB4 002A6F14 7F E4 FB 78 */ mr r4, r31 +/* 802A9FB8 002A6F18 7F C5 F3 78 */ mr r5, r30 +/* 802A9FBC 002A6F1C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A9FC0 002A6F20 48 00 01 0D */ bl TransformPlane__FRC6CPlaneRC12CTransform4f +/* 802A9FC4 002A6F24 C1 01 00 70 */ lfs f8, 0x70(r1) +/* 802A9FC8 002A6F28 38 00 00 01 */ li r0, 1 +/* 802A9FCC 002A6F2C C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 802A9FD0 002A6F30 C0 3D 00 30 */ lfs f1, 0x30(r29) +/* 802A9FD4 002A6F34 EC 88 00 32 */ fmuls f4, f8, f0 +/* 802A9FD8 002A6F38 C0 BD 00 00 */ lfs f5, 0(r29) +/* 802A9FDC 002A6F3C EC 48 00 72 */ fmuls f2, f8, f1 +/* 802A9FE0 002A6F40 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802A9FE4 002A6F44 C0 1D 00 34 */ lfs f0, 0x34(r29) +/* 802A9FE8 002A6F48 EC 85 20 2A */ fadds f4, f5, f4 +/* 802A9FEC 002A6F4C EC 43 10 2A */ fadds f2, f3, f2 +/* 802A9FF0 002A6F50 C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 802A9FF4 002A6F54 C0 E1 00 24 */ lfs f7, 0x24(r1) +/* 802A9FF8 002A6F58 EC 08 00 32 */ fmuls f0, f8, f0 +/* 802A9FFC 002A6F5C C0 3D 00 08 */ lfs f1, 8(r29) +/* 802AA000 002A6F60 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802AA004 002A6F64 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802AA008 002A6F68 EC 01 00 2A */ fadds f0, f1, f0 +/* 802AA00C 002A6F6C D1 1B 00 00 */ stfs f8, 0(r27) +/* 802AA010 002A6F70 D0 9B 00 04 */ stfs f4, 4(r27) +/* 802AA014 002A6F74 D0 5B 00 08 */ stfs f2, 8(r27) +/* 802AA018 002A6F78 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 802AA01C 002A6F7C D0 DB 00 10 */ stfs f6, 0x10(r27) +/* 802AA020 002A6F80 D0 FB 00 14 */ stfs f7, 0x14(r27) +/* 802AA024 002A6F84 D0 BB 00 18 */ stfs f5, 0x18(r27) +/* 802AA028 002A6F88 D0 7B 00 1C */ stfs f3, 0x1c(r27) +/* 802AA02C 002A6F8C 98 1B 00 20 */ stb r0, 0x20(r27) +/* 802AA030 002A6F90 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802AA034 002A6F94 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 802AA038 002A6F98 90 7B 00 2C */ stw r3, 0x2c(r27) +/* 802AA03C 002A6F9C 90 1B 00 28 */ stw r0, 0x28(r27) +/* 802AA040 002A6FA0 48 00 00 60 */ b lbl_802AA0A0 +lbl_802AA044: +/* 802AA044 002A6FA4 C0 22 C1 B4 */ lfs f1, lbl_805ADED4@sda21(r2) +/* 802AA048 002A6FA8 38 61 00 08 */ addi r3, r1, 8 +/* 802AA04C 002A6FAC C0 02 C1 B8 */ lfs f0, lbl_805ADED8@sda21(r2) +/* 802AA050 002A6FB0 D0 3B 00 00 */ stfs f1, 0(r27) +/* 802AA054 002A6FB4 D0 3B 00 04 */ stfs f1, 4(r27) +/* 802AA058 002A6FB8 D0 3B 00 08 */ stfs f1, 8(r27) +/* 802AA05C 002A6FBC D0 3B 00 0C */ stfs f1, 0xc(r27) +/* 802AA060 002A6FC0 D0 01 00 08 */ stfs f0, 8(r1) +/* 802AA064 002A6FC4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802AA068 002A6FC8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802AA06C 002A6FCC 48 06 A8 8D */ bl Normalize__9CVector3fFv +/* 802AA070 002A6FD0 C0 21 00 08 */ lfs f1, 8(r1) +/* 802AA074 002A6FD4 38 00 00 00 */ li r0, 0 +/* 802AA078 002A6FD8 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) +/* 802AA07C 002A6FDC D0 3B 00 10 */ stfs f1, 0x10(r27) +/* 802AA080 002A6FE0 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802AA084 002A6FE4 D0 3B 00 14 */ stfs f1, 0x14(r27) +/* 802AA088 002A6FE8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802AA08C 002A6FEC D0 3B 00 18 */ stfs f1, 0x18(r27) +/* 802AA090 002A6FF0 D0 1B 00 1C */ stfs f0, 0x1c(r27) +/* 802AA094 002A6FF4 98 1B 00 20 */ stb r0, 0x20(r27) +/* 802AA098 002A6FF8 90 1B 00 2C */ stw r0, 0x2c(r27) +/* 802AA09C 002A6FFC 90 1B 00 28 */ stw r0, 0x28(r27) +lbl_802AA0A0: +/* 802AA0A0 002A7000 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802AA0A4 002A7004 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802AA0A8 002A7008 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802AA0AC 002A700C CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802AA0B0 002A7010 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802AA0B4 002A7014 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802AA0B8 002A7018 BB 61 00 CC */ lmw r27, 0xcc(r1) +/* 802AA0BC 002A701C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802AA0C0 002A7020 7C 08 03 A6 */ mtlr r0 +/* 802AA0C4 002A7024 38 21 01 10 */ addi r1, r1, 0x110 +/* 802AA0C8 002A7028 4E 80 00 20 */ blr + +.global TransformPlane__FRC6CPlaneRC12CTransform4f +TransformPlane__FRC6CPlaneRC12CTransform4f: +/* 802AA0CC 002A702C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802AA0D0 002A7030 7C 08 02 A6 */ mflr r0 +/* 802AA0D4 002A7034 90 01 00 74 */ stw r0, 0x74(r1) +/* 802AA0D8 002A7038 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802AA0DC 002A703C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802AA0E0 002A7040 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802AA0E4 002A7044 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802AA0E8 002A7048 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802AA0EC 002A704C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802AA0F0 002A7050 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802AA0F4 002A7054 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802AA0F8 002A7058 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802AA0FC 002A705C 7C 9E 23 78 */ mr r30, r4 +/* 802AA100 002A7060 7C BF 2B 78 */ mr r31, r5 +/* 802AA104 002A7064 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802AA108 002A7068 7C 7D 1B 78 */ mr r29, r3 +/* 802AA10C 002A706C C0 44 00 04 */ lfs f2, 4(r4) +/* 802AA110 002A7070 7F E4 FB 78 */ mr r4, r31 +/* 802AA114 002A7074 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802AA118 002A7078 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AA11C 002A707C C0 1E 00 00 */ lfs f0, 0(r30) +/* 802AA120 002A7080 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802AA124 002A7084 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802AA128 002A7088 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802AA12C 002A708C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802AA130 002A7090 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802AA134 002A7094 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802AA138 002A7098 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802AA13C 002A709C 48 06 89 AD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802AA140 002A70A0 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 802AA144 002A70A4 7F E4 FB 78 */ mr r4, r31 +/* 802AA148 002A70A8 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 802AA14C 002A70AC 7F C5 F3 78 */ mr r5, r30 +/* 802AA150 002A70B0 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 802AA154 002A70B4 38 61 00 08 */ addi r3, r1, 8 +/* 802AA158 002A70B8 48 06 89 29 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802AA15C 002A70BC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802AA160 002A70C0 C0 61 00 08 */ lfs f3, 8(r1) +/* 802AA164 002A70C4 EC 1E 00 72 */ fmuls f0, f30, f1 +/* 802AA168 002A70C8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802AA16C 002A70CC D0 7D 00 00 */ stfs f3, 0(r29) +/* 802AA170 002A70D0 EC 1F 00 FA */ fmadds f0, f31, f3, f0 +/* 802AA174 002A70D4 D0 3D 00 04 */ stfs f1, 4(r29) +/* 802AA178 002A70D8 EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 802AA17C 002A70DC D0 5D 00 08 */ stfs f2, 8(r29) +/* 802AA180 002A70E0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802AA184 002A70E4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802AA188 002A70E8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802AA18C 002A70EC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802AA190 002A70F0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802AA194 002A70F4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802AA198 002A70F8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802AA19C 002A70FC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802AA1A0 002A7100 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802AA1A4 002A7104 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802AA1A8 002A7108 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802AA1AC 002A710C 7C 08 03 A6 */ mtlr r0 +/* 802AA1B0 002A7110 38 21 00 70 */ addi r1, r1, 0x70 +/* 802AA1B4 002A7114 4E 80 00 20 */ blr + +.global CastRayInternal__18CCollidableOBBTreeCFRC25CInternalRayCastStructure +CastRayInternal__18CCollidableOBBTreeCFRC25CInternalRayCastStructure: +/* 802AA1B8 002A7118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AA1BC 002A711C 7C 08 02 A6 */ mflr r0 +/* 802AA1C0 002A7120 38 E5 00 3C */ addi r7, r5, 0x3c +/* 802AA1C4 002A7124 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AA1C8 002A7128 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AA1CC 002A712C 7C 7F 1B 78 */ mr r31, r3 +/* 802AA1D0 002A7130 80 C5 00 6C */ lwz r6, 0x6c(r5) +/* 802AA1D4 002A7134 C0 25 00 38 */ lfs f1, 0x38(r5) +/* 802AA1D8 002A7138 4B FF FC 89 */ bl LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f +/* 802AA1DC 002A713C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AA1E0 002A7140 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AA1E4 002A7144 7C 08 03 A6 */ mtlr r0 +/* 802AA1E8 002A7148 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AA1EC 002A714C 4E 80 00 20 */ blr + +.global SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo: +/* 802AA1F0 002A7150 94 21 FB 30 */ stwu r1, -0x4d0(r1) +/* 802AA1F4 002A7154 7C 08 02 A6 */ mflr r0 +/* 802AA1F8 002A7158 90 01 04 D4 */ stw r0, 0x4d4(r1) +/* 802AA1FC 002A715C DB E1 04 C0 */ stfd f31, 0x4c0(r1) +/* 802AA200 002A7160 F3 E1 04 C8 */ psq_st f31, 1224(r1), 0, qr0 +/* 802AA204 002A7164 DB C1 04 B0 */ stfd f30, 0x4b0(r1) +/* 802AA208 002A7168 F3 C1 04 B8 */ psq_st f30, 1208(r1), 0, qr0 +/* 802AA20C 002A716C DB A1 04 A0 */ stfd f29, 0x4a0(r1) +/* 802AA210 002A7170 F3 A1 04 A8 */ psq_st f29, 1192(r1), 0, qr0 +/* 802AA214 002A7174 DB 81 04 90 */ stfd f28, 0x490(r1) +/* 802AA218 002A7178 F3 81 04 98 */ psq_st f28, 1176(r1), 0, qr0 +/* 802AA21C 002A717C DB 61 04 80 */ stfd f27, 0x480(r1) +/* 802AA220 002A7180 F3 61 04 88 */ psq_st f27, 1160(r1), 0, qr0 +/* 802AA224 002A7184 DB 41 04 70 */ stfd f26, 0x470(r1) +/* 802AA228 002A7188 F3 41 04 78 */ psq_st f26, 1144(r1), 0, qr0 +/* 802AA22C 002A718C DB 21 04 60 */ stfd f25, 0x460(r1) +/* 802AA230 002A7190 F3 21 04 68 */ psq_st f25, 1128(r1), 0, qr0 +/* 802AA234 002A7194 DB 01 04 50 */ stfd f24, 0x450(r1) +/* 802AA238 002A7198 F3 01 04 58 */ psq_st f24, 1112(r1), 0, qr0 +/* 802AA23C 002A719C DA E1 04 40 */ stfd f23, 0x440(r1) +/* 802AA240 002A71A0 F2 E1 04 48 */ psq_st f23, 1096(r1), 0, qr0 +/* 802AA244 002A71A4 DA C1 04 30 */ stfd f22, 0x430(r1) +/* 802AA248 002A71A8 F2 C1 04 38 */ psq_st f22, 1080(r1), 0, qr0 +/* 802AA24C 002A71AC DA A1 04 20 */ stfd f21, 0x420(r1) +/* 802AA250 002A71B0 F2 A1 04 28 */ psq_st f21, 1064(r1), 0, qr0 +/* 802AA254 002A71B4 DA 81 04 10 */ stfd f20, 0x410(r1) +/* 802AA258 002A71B8 F2 81 04 18 */ psq_st f20, 1048(r1), 0, qr0 +/* 802AA25C 002A71BC DA 61 04 00 */ stfd f19, 0x400(r1) +/* 802AA260 002A71C0 F2 61 04 08 */ psq_st f19, 1032(r1), 0, qr0 +/* 802AA264 002A71C4 DA 41 03 F0 */ stfd f18, 0x3f0(r1) +/* 802AA268 002A71C8 F2 41 03 F8 */ psq_st f18, 1016(r1), 0, qr0 +/* 802AA26C 002A71CC BD C1 03 A8 */ stmw r14, 0x3a8(r1) +/* 802AA270 002A71D0 C0 C6 00 0C */ lfs f6, 0xc(r6) +/* 802AA274 002A71D4 7C 6F 1B 78 */ mr r15, r3 +/* 802AA278 002A71D8 C0 66 00 04 */ lfs f3, 4(r6) +/* 802AA27C 002A71DC 7C D0 33 78 */ mr r16, r6 +/* 802AA280 002A71E0 C0 46 00 08 */ lfs f2, 8(r6) +/* 802AA284 002A71E4 7C F1 3B 78 */ mr r17, r7 +/* 802AA288 002A71E8 EC A3 30 2A */ fadds f5, f3, f6 +/* 802AA28C 002A71EC C0 06 00 00 */ lfs f0, 0(r6) +/* 802AA290 002A71F0 EC 82 30 2A */ fadds f4, f2, f6 +/* 802AA294 002A71F4 90 81 00 08 */ stw r4, 8(r1) +/* 802AA298 002A71F8 EC 20 30 2A */ fadds f1, f0, f6 +/* 802AA29C 002A71FC 82 81 04 D8 */ lwz r20, 0x4d8(r1) +/* 802AA2A0 002A7200 EC 63 30 28 */ fsubs f3, f3, f6 +/* 802AA2A4 002A7204 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802AA2A8 002A7208 EC 42 30 28 */ fsubs f2, f2, f6 +/* 802AA2AC 002A720C 7D 32 4B 78 */ mr r18, r9 +/* 802AA2B0 002A7210 EC 00 30 28 */ fsubs f0, f0, f6 +/* 802AA2B4 002A7214 91 01 00 10 */ stw r8, 0x10(r1) +/* 802AA2B8 002A7218 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 802AA2BC 002A721C 7D 53 53 78 */ mr r19, r10 +/* 802AA2C0 002A7220 38 61 02 10 */ addi r3, r1, 0x210 +/* 802AA2C4 002A7224 38 81 01 98 */ addi r4, r1, 0x198 +/* 802AA2C8 002A7228 D0 A1 01 90 */ stfs f5, 0x190(r1) +/* 802AA2CC 002A722C 38 A1 01 8C */ addi r5, r1, 0x18c +/* 802AA2D0 002A7230 D0 81 01 94 */ stfs f4, 0x194(r1) +/* 802AA2D4 002A7234 D0 01 01 98 */ stfs f0, 0x198(r1) +/* 802AA2D8 002A7238 D0 61 01 9C */ stfs f3, 0x19c(r1) +/* 802AA2DC 002A723C D0 41 01 A0 */ stfs f2, 0x1a0(r1) +/* 802AA2E0 002A7240 48 08 E2 29 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802AA2E4 002A7244 C8 93 00 00 */ lfd f4, 0(r19) +/* 802AA2E8 002A7248 38 61 01 F8 */ addi r3, r1, 0x1f8 +/* 802AA2EC 002A724C C0 61 02 1C */ lfs f3, 0x21c(r1) +/* 802AA2F0 002A7250 38 81 01 80 */ addi r4, r1, 0x180 +/* 802AA2F4 002A7254 FC 80 20 18 */ frsp f4, f4 +/* 802AA2F8 002A7258 C0 52 00 00 */ lfs f2, 0(r18) +/* 802AA2FC 002A725C C0 32 00 04 */ lfs f1, 4(r18) +/* 802AA300 002A7260 C0 12 00 08 */ lfs f0, 8(r18) +/* 802AA304 002A7264 EF A4 00 B2 */ fmuls f29, f4, f2 +/* 802AA308 002A7268 C0 41 02 20 */ lfs f2, 0x220(r1) +/* 802AA30C 002A726C EF C4 00 72 */ fmuls f30, f4, f1 +/* 802AA310 002A7270 C0 21 02 24 */ lfs f1, 0x224(r1) +/* 802AA314 002A7274 EF E4 00 32 */ fmuls f31, f4, f0 +/* 802AA318 002A7278 C0 C1 02 10 */ lfs f6, 0x210(r1) +/* 802AA31C 002A727C ED 02 F0 2A */ fadds f8, f2, f30 +/* 802AA320 002A7280 C0 A1 02 14 */ lfs f5, 0x214(r1) +/* 802AA324 002A7284 EC E1 F8 2A */ fadds f7, f1, f31 +/* 802AA328 002A7288 C0 81 02 18 */ lfs f4, 0x218(r1) +/* 802AA32C 002A728C EC 03 E8 2A */ fadds f0, f3, f29 +/* 802AA330 002A7290 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) +/* 802AA334 002A7294 D0 A1 01 FC */ stfs f5, 0x1fc(r1) +/* 802AA338 002A7298 D0 81 02 00 */ stfs f4, 0x200(r1) +/* 802AA33C 002A729C D0 61 02 04 */ stfs f3, 0x204(r1) +/* 802AA340 002A72A0 D0 41 02 08 */ stfs f2, 0x208(r1) +/* 802AA344 002A72A4 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 802AA348 002A72A8 D0 01 01 80 */ stfs f0, 0x180(r1) +/* 802AA34C 002A72AC D1 01 01 84 */ stfs f8, 0x184(r1) +/* 802AA350 002A72B0 D0 E1 01 88 */ stfs f7, 0x188(r1) +/* 802AA354 002A72B4 48 08 D7 B5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AA358 002A72B8 C0 41 02 14 */ lfs f2, 0x214(r1) +/* 802AA35C 002A72BC 38 61 01 F8 */ addi r3, r1, 0x1f8 +/* 802AA360 002A72C0 C0 21 02 18 */ lfs f1, 0x218(r1) +/* 802AA364 002A72C4 38 81 01 74 */ addi r4, r1, 0x174 +/* 802AA368 002A72C8 C0 01 02 10 */ lfs f0, 0x210(r1) +/* 802AA36C 002A72CC EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AA370 002A72D0 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AA374 002A72D4 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AA378 002A72D8 D0 41 01 78 */ stfs f2, 0x178(r1) +/* 802AA37C 002A72DC D0 01 01 74 */ stfs f0, 0x174(r1) +/* 802AA380 002A72E0 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 802AA384 002A72E4 48 08 D7 85 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AA388 002A72E8 38 61 01 68 */ addi r3, r1, 0x168 +/* 802AA38C 002A72EC 38 81 01 F8 */ addi r4, r1, 0x1f8 +/* 802AA390 002A72F0 48 08 D2 7D */ bl GetCenterPoint__6CAABoxCFv +/* 802AA394 002A72F4 C0 61 02 08 */ lfs f3, 0x208(r1) +/* 802AA398 002A72F8 3A E0 00 00 */ li r23, 0 +/* 802AA39C 002A72FC C0 41 01 FC */ lfs f2, 0x1fc(r1) +/* 802AA3A0 002A7300 C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 802AA3A4 002A7304 C0 01 02 00 */ lfs f0, 0x200(r1) +/* 802AA3A8 002A7308 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802AA3AC 002A730C 80 61 00 08 */ lwz r3, 8(r1) +/* 802AA3B0 002A7310 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802AA3B4 002A7314 C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) +/* 802AA3B8 002A7318 80 03 00 04 */ lwz r0, 4(r3) +/* 802AA3BC 002A731C EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802AA3C0 002A7320 C0 21 02 04 */ lfs f1, 0x204(r1) +/* 802AA3C4 002A7324 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802AA3C8 002A7328 C0 01 01 F8 */ lfs f0, 0x1f8(r1) +/* 802AA3CC 002A732C C0 61 01 68 */ lfs f3, 0x168(r1) +/* 802AA3D0 002A7330 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AA3D4 002A7334 C0 41 01 6C */ lfs f2, 0x16c(r1) +/* 802AA3D8 002A7338 C0 21 01 70 */ lfs f1, 0x170(r1) +/* 802AA3DC 002A733C 90 01 03 A0 */ stw r0, 0x3a0(r1) +/* 802AA3E0 002A7340 38 00 00 00 */ li r0, 0 +/* 802AA3E4 002A7344 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802AA3E8 002A7348 90 01 03 98 */ stw r0, 0x398(r1) +/* 802AA3EC 002A734C 38 00 00 00 */ li r0, 0 +/* 802AA3F0 002A7350 D0 61 01 EC */ stfs f3, 0x1ec(r1) +/* 802AA3F4 002A7354 D0 41 01 F0 */ stfs f2, 0x1f0(r1) +/* 802AA3F8 002A7358 D0 21 01 F4 */ stfs f1, 0x1f4(r1) +/* 802AA3FC 002A735C 90 01 03 9C */ stw r0, 0x39c(r1) +/* 802AA400 002A7360 D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 802AA404 002A7364 D0 C1 01 E4 */ stfs f6, 0x1e4(r1) +/* 802AA408 002A7368 D0 A1 01 E8 */ stfs f5, 0x1e8(r1) +/* 802AA40C 002A736C 48 00 0C A0 */ b lbl_802AB0AC +lbl_802AA410: +/* 802AA410 002A7370 80 61 00 08 */ lwz r3, 8(r1) +/* 802AA414 002A7374 80 01 03 9C */ lwz r0, 0x39c(r1) +/* 802AA418 002A7378 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802AA41C 002A737C 38 61 02 28 */ addi r3, r1, 0x228 +/* 802AA420 002A7380 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 802AA424 002A7384 7D C5 02 2E */ lhzx r14, r5, r0 +/* 802AA428 002A7388 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AA42C 002A738C 7D C5 73 78 */ mr r5, r14 +/* 802AA430 002A7390 4B FF E6 11 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AA434 002A7394 C1 01 02 28 */ lfs f8, 0x228(r1) +/* 802AA438 002A7398 7D E3 7B 78 */ mr r3, r15 +/* 802AA43C 002A739C C0 E1 02 2C */ lfs f7, 0x22c(r1) +/* 802AA440 002A73A0 C0 C1 02 30 */ lfs f6, 0x230(r1) +/* 802AA444 002A73A4 C0 A1 02 34 */ lfs f5, 0x234(r1) +/* 802AA448 002A73A8 C0 81 02 38 */ lfs f4, 0x238(r1) +/* 802AA44C 002A73AC C0 61 02 3C */ lfs f3, 0x23c(r1) +/* 802AA450 002A73B0 C0 41 02 40 */ lfs f2, 0x240(r1) +/* 802AA454 002A73B4 C0 21 02 44 */ lfs f1, 0x244(r1) +/* 802AA458 002A73B8 C0 01 02 48 */ lfs f0, 0x248(r1) +/* 802AA45C 002A73BC 80 01 02 4C */ lwz r0, 0x24c(r1) +/* 802AA460 002A73C0 D1 01 02 50 */ stfs f8, 0x250(r1) +/* 802AA464 002A73C4 D0 E1 02 54 */ stfs f7, 0x254(r1) +/* 802AA468 002A73C8 D0 C1 02 58 */ stfs f6, 0x258(r1) +/* 802AA46C 002A73CC D0 A1 02 5C */ stfs f5, 0x25c(r1) +/* 802AA470 002A73D0 D0 81 02 60 */ stfs f4, 0x260(r1) +/* 802AA474 002A73D4 D0 61 02 64 */ stfs f3, 0x264(r1) +/* 802AA478 002A73D8 D0 41 02 68 */ stfs f2, 0x268(r1) +/* 802AA47C 002A73DC D0 21 02 6C */ stfs f1, 0x26c(r1) +/* 802AA480 002A73E0 D0 01 02 70 */ stfs f0, 0x270(r1) +/* 802AA484 002A73E4 90 01 02 74 */ stw r0, 0x274(r1) +/* 802AA488 002A73E8 81 8F 00 00 */ lwz r12, 0(r15) +/* 802AA48C 002A73EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AA490 002A73F0 7D 89 03 A6 */ mtctr r12 +/* 802AA494 002A73F4 4E 80 04 21 */ bctrl +/* 802AA498 002A73F8 80 C1 02 74 */ lwz r6, 0x274(r1) +/* 802AA49C 002A73FC 38 81 00 48 */ addi r4, r1, 0x48 +/* 802AA4A0 002A7400 80 03 00 04 */ lwz r0, 4(r3) +/* 802AA4A4 002A7404 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AA4A8 002A7408 7C C0 03 78 */ or r0, r6, r0 +/* 802AA4AC 002A740C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802AA4B0 002A7410 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802AA4B4 002A7414 90 A1 00 48 */ stw r5, 0x48(r1) +/* 802AA4B8 002A7418 48 02 AE 95 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AA4BC 002A741C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AA4C0 002A7420 41 82 0B D4 */ beq lbl_802AB094 +/* 802AA4C4 002A7424 38 C1 02 5C */ addi r6, r1, 0x25c +/* 802AA4C8 002A7428 38 E1 02 68 */ addi r7, r1, 0x268 +/* 802AA4CC 002A742C 38 61 01 EC */ addi r3, r1, 0x1ec +/* 802AA4D0 002A7430 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 802AA4D4 002A7434 38 A1 02 50 */ addi r5, r1, 0x250 +/* 802AA4D8 002A7438 48 02 70 09 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AA4DC 002A743C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AA4E0 002A7440 41 82 0B 38 */ beq lbl_802AB018 +/* 802AA4E4 002A7444 80 AF 00 1C */ lwz r5, 0x1c(r15) +/* 802AA4E8 002A7448 38 61 01 5C */ addi r3, r1, 0x15c +/* 802AA4EC 002A744C 38 81 02 50 */ addi r4, r1, 0x250 +/* 802AA4F0 002A7450 38 05 00 01 */ addi r0, r5, 1 +/* 802AA4F4 002A7454 90 0F 00 1C */ stw r0, 0x1c(r15) +/* 802AA4F8 002A7458 4B FF 81 AD */ bl GetNormal__17CCollisionSurfaceCFv +/* 802AA4FC 002A745C C3 30 00 04 */ lfs f25, 4(r16) +/* 802AA500 002A7460 C0 50 00 00 */ lfs f2, 0(r16) +/* 802AA504 002A7464 EC 19 F0 2A */ fadds f0, f25, f30 +/* 802AA508 002A7468 C1 01 02 54 */ lfs f8, 0x254(r1) +/* 802AA50C 002A746C C1 81 01 60 */ lfs f12, 0x160(r1) +/* 802AA510 002A7470 EC 22 E8 2A */ fadds f1, f2, f29 +/* 802AA514 002A7474 C3 70 00 08 */ lfs f27, 8(r16) +/* 802AA518 002A7478 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802AA51C 002A747C C1 21 02 50 */ lfs f9, 0x250(r1) +/* 802AA520 002A7480 EC 7B F8 2A */ fadds f3, f27, f31 +/* 802AA524 002A7484 C1 A1 01 5C */ lfs f13, 0x15c(r1) +/* 802AA528 002A7488 EC 21 48 28 */ fsubs f1, f1, f9 +/* 802AA52C 002A748C C1 41 02 58 */ lfs f10, 0x258(r1) +/* 802AA530 002A7490 EC 00 03 32 */ fmuls f0, f0, f12 +/* 802AA534 002A7494 C1 61 01 64 */ lfs f11, 0x164(r1) +/* 802AA538 002A7498 EC 63 50 28 */ fsubs f3, f3, f10 +/* 802AA53C 002A749C C0 F0 00 0C */ lfs f7, 0xc(r16) +/* 802AA540 002A74A0 EC 01 03 7A */ fmadds f0, f1, f13, f0 +/* 802AA544 002A74A4 D1 A1 01 D4 */ stfs f13, 0x1d4(r1) +/* 802AA548 002A74A8 D1 81 01 D8 */ stfs f12, 0x1d8(r1) +/* 802AA54C 002A74AC EC 03 02 FA */ fmadds f0, f3, f11, f0 +/* 802AA550 002A74B0 D1 61 01 DC */ stfs f11, 0x1dc(r1) +/* 802AA554 002A74B4 FC 00 38 40 */ fcmpo cr0, f0, f7 +/* 802AA558 002A74B8 41 81 0B 3C */ bgt lbl_802AB094 +/* 802AA55C 002A74BC EE D9 40 28 */ fsubs f22, f25, f8 +/* 802AA560 002A74C0 C3 12 00 04 */ lfs f24, 4(r18) +/* 802AA564 002A74C4 EE 82 48 28 */ fsubs f20, f2, f9 +/* 802AA568 002A74C8 C0 A1 02 64 */ lfs f5, 0x264(r1) +/* 802AA56C 002A74CC EE BB 50 28 */ fsubs f21, f27, f10 +/* 802AA570 002A74D0 C3 52 00 00 */ lfs f26, 0(r18) +/* 802AA574 002A74D4 EC 76 03 32 */ fmuls f3, f22, f12 +/* 802AA578 002A74D8 D2 81 01 50 */ stfs f20, 0x150(r1) +/* 802AA57C 002A74DC EC 38 03 32 */ fmuls f1, f24, f12 +/* 802AA580 002A74E0 C2 F2 00 08 */ lfs f23, 8(r18) +/* 802AA584 002A74E4 EC 05 50 28 */ fsubs f0, f5, f10 +/* 802AA588 002A74E8 C0 81 02 5C */ lfs f4, 0x25c(r1) +/* 802AA58C 002A74EC EE 74 1B 7A */ fmadds f19, f20, f13, f3 +/* 802AA590 002A74F0 D2 A1 01 58 */ stfs f21, 0x158(r1) +/* 802AA594 002A74F4 EE 5A 0B 7A */ fmadds f18, f26, f13, f1 +/* 802AA598 002A74F8 C0 C1 02 60 */ lfs f6, 0x260(r1) +/* 802AA59C 002A74FC D2 C1 01 54 */ stfs f22, 0x154(r1) +/* 802AA5A0 002A7500 EE 95 9A FA */ fmadds f20, f21, f11, f19 +/* 802AA5A4 002A7504 EE 57 92 FA */ fmadds f18, f23, f11, f18 +/* 802AA5A8 002A7508 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802AA5AC 002A750C EE 64 48 28 */ fsubs f19, f4, f9 +/* 802AA5B0 002A7510 C0 62 C1 B4 */ lfs f3, lbl_805ADED4@sda21(r2) +/* 802AA5B4 002A7514 EF 87 A0 28 */ fsubs f28, f7, f20 +/* 802AA5B8 002A7518 EC 26 40 28 */ fsubs f1, f6, f8 +/* 802AA5BC 002A751C EE A0 03 72 */ fmuls f21, f0, f13 +/* 802AA5C0 002A7520 D2 61 01 2C */ stfs f19, 0x12c(r1) +/* 802AA5C4 002A7524 FF 9C 90 24 */ fdiv f28, f28, f18 +/* 802AA5C8 002A7528 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802AA5CC 002A752C FE 40 E0 18 */ frsp f18, f28 +/* 802AA5D0 002A7530 EE CB AC F8 */ fmsubs f22, f11, f19, f21 +/* 802AA5D4 002A7534 EE 81 02 F2 */ fmuls f20, f1, f11 +/* 802AA5D8 002A7538 EE B2 06 32 */ fmuls f21, f18, f24 +/* 802AA5DC 002A753C EF 12 06 B2 */ fmuls f24, f18, f26 +/* 802AA5E0 002A7540 D2 C1 01 3C */ stfs f22, 0x13c(r1) +/* 802AA5E4 002A7544 EE 8C A0 38 */ fmsubs f20, f12, f0, f20 +/* 802AA5E8 002A7548 EF 59 A8 2A */ fadds f26, f25, f21 +/* 802AA5EC 002A754C EC 12 05 F2 */ fmuls f0, f18, f23 +/* 802AA5F0 002A7550 EF 22 C0 2A */ fadds f25, f2, f24 +/* 802AA5F4 002A7554 D2 81 01 38 */ stfs f20, 0x138(r1) +/* 802AA5F8 002A7558 EE 5A 40 28 */ fsubs f18, f26, f8 +/* 802AA5FC 002A755C EF 7B 00 2A */ fadds f27, f27, f0 +/* 802AA600 002A7560 EE B3 03 32 */ fmuls f21, f19, f12 +/* 802AA604 002A7564 EC 59 48 28 */ fsubs f2, f25, f9 +/* 802AA608 002A7568 D2 41 01 48 */ stfs f18, 0x148(r1) +/* 802AA60C 002A756C EC 12 05 B2 */ fmuls f0, f18, f22 +/* 802AA610 002A7570 EC 2D A8 78 */ fmsubs f1, f13, f1, f21 +/* 802AA614 002A7574 EE 5B 50 28 */ fsubs f18, f27, f10 +/* 802AA618 002A7578 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 802AA61C 002A757C EC 02 05 3A */ fmadds f0, f2, f20, f0 +/* 802AA620 002A7580 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802AA624 002A7584 EC 12 00 7A */ fmadds f0, f18, f1, f0 +/* 802AA628 002A7588 D2 41 01 4C */ stfs f18, 0x14c(r1) +/* 802AA62C 002A758C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802AA630 002A7590 7C 00 00 26 */ mfcr r0 +/* 802AA634 002A7594 C0 01 02 68 */ lfs f0, 0x268(r1) +/* 802AA638 002A7598 C0 41 02 6C */ lfs f2, 0x26c(r1) +/* 802AA63C 002A759C 54 04 0F FE */ srwi r4, r0, 0x1f +/* 802AA640 002A75A0 EE A0 20 28 */ fsubs f21, f0, f4 +/* 802AA644 002A75A4 C0 21 02 70 */ lfs f1, 0x270(r1) +/* 802AA648 002A75A8 EE 82 30 28 */ fsubs f20, f2, f6 +/* 802AA64C 002A75AC 98 81 00 18 */ stb r4, 0x18(r1) +/* 802AA650 002A75B0 EE 61 28 28 */ fsubs f19, f1, f5 +/* 802AA654 002A75B4 D2 A1 01 08 */ stfs f21, 0x108(r1) +/* 802AA658 002A75B8 EE F3 03 72 */ fmuls f23, f19, f13 +/* 802AA65C 002A75BC D2 81 01 0C */ stfs f20, 0x10c(r1) +/* 802AA660 002A75C0 EE D4 02 F2 */ fmuls f22, f20, f11 +/* 802AA664 002A75C4 EE 5A 30 28 */ fsubs f18, f26, f6 +/* 802AA668 002A75C8 D2 61 01 10 */ stfs f19, 0x110(r1) +/* 802AA66C 002A75CC EF 0B BD 78 */ fmsubs f24, f11, f21, f23 +/* 802AA670 002A75D0 EE CC B4 F8 */ fmsubs f22, f12, f19, f22 +/* 802AA674 002A75D4 EE F5 03 32 */ fmuls f23, f21, f12 +/* 802AA678 002A75D8 D2 41 01 24 */ stfs f18, 0x124(r1) +/* 802AA67C 002A75DC EC D9 20 28 */ fsubs f6, f25, f4 +/* 802AA680 002A75E0 EC 92 06 32 */ fmuls f4, f18, f24 +/* 802AA684 002A75E4 D2 C1 01 14 */ stfs f22, 0x114(r1) +/* 802AA688 002A75E8 EE ED BD 38 */ fmsubs f23, f13, f20, f23 +/* 802AA68C 002A75EC EC BB 28 28 */ fsubs f5, f27, f5 +/* 802AA690 002A75F0 D3 01 01 18 */ stfs f24, 0x118(r1) +/* 802AA694 002A75F4 EC 86 25 BA */ fmadds f4, f6, f22, f4 +/* 802AA698 002A75F8 D2 E1 01 1C */ stfs f23, 0x11c(r1) +/* 802AA69C 002A75FC EC 85 25 FA */ fmadds f4, f5, f23, f4 +/* 802AA6A0 002A7600 D0 C1 01 20 */ stfs f6, 0x120(r1) +/* 802AA6A4 002A7604 D0 A1 01 28 */ stfs f5, 0x128(r1) +/* 802AA6A8 002A7608 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802AA6AC 002A760C 7C 00 00 26 */ mfcr r0 +/* 802AA6B0 002A7610 ED 4A 08 28 */ fsubs f10, f10, f1 +/* 802AA6B4 002A7614 EE 48 10 28 */ fsubs f18, f8, f2 +/* 802AA6B8 002A7618 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802AA6BC 002A761C ED 09 00 28 */ fsubs f8, f9, f0 +/* 802AA6C0 002A7620 98 61 00 19 */ stb r3, 0x19(r1) +/* 802AA6C4 002A7624 EC 8A 03 72 */ fmuls f4, f10, f13 +/* 802AA6C8 002A7628 EC D2 02 F2 */ fmuls f6, f18, f11 +/* 802AA6CC 002A762C ED 3A 10 28 */ fsubs f9, f26, f2 +/* 802AA6D0 002A7630 D1 01 00 E4 */ stfs f8, 0xe4(r1) +/* 802AA6D4 002A7634 EC AB 22 38 */ fmsubs f5, f11, f8, f4 +/* 802AA6D8 002A7638 EC CC 32 B8 */ fmsubs f6, f12, f10, f6 +/* 802AA6DC 002A763C D2 41 00 E8 */ stfs f18, 0xe8(r1) +/* 802AA6E0 002A7640 EC 88 03 32 */ fmuls f4, f8, f12 +/* 802AA6E4 002A7644 EC 59 00 28 */ fsubs f2, f25, f0 +/* 802AA6E8 002A7648 D1 41 00 EC */ stfs f10, 0xec(r1) +/* 802AA6EC 002A764C EC 09 01 72 */ fmuls f0, f9, f5 +/* 802AA6F0 002A7650 EC 8D 24 B8 */ fmsubs f4, f13, f18, f4 +/* 802AA6F4 002A7654 D0 C1 00 F0 */ stfs f6, 0xf0(r1) +/* 802AA6F8 002A7658 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 802AA6FC 002A765C EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 802AA700 002A7660 D0 A1 00 F4 */ stfs f5, 0xf4(r1) +/* 802AA704 002A7664 D0 81 00 F8 */ stfs f4, 0xf8(r1) +/* 802AA708 002A7668 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802AA70C 002A766C D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 802AA710 002A7670 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802AA714 002A7674 D1 21 01 00 */ stfs f9, 0x100(r1) +/* 802AA718 002A7678 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 802AA71C 002A767C 7C 00 00 26 */ mfcr r0 +/* 802AA720 002A7680 C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) +/* 802AA724 002A7684 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802AA728 002A7688 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802AA72C 002A768C 98 01 00 1A */ stb r0, 0x1a(r1) +/* 802AA730 002A7690 4C 41 13 82 */ cror 2, 1, 2 +/* 802AA734 002A7694 40 82 01 28 */ bne lbl_802AA85C +/* 802AA738 002A7698 28 04 00 00 */ cmplwi r4, 0 +/* 802AA73C 002A769C 40 82 01 20 */ bne lbl_802AA85C +/* 802AA740 002A76A0 28 03 00 00 */ cmplwi r3, 0 +/* 802AA744 002A76A4 40 82 01 18 */ bne lbl_802AA85C +/* 802AA748 002A76A8 28 00 00 00 */ cmplwi r0, 0 +/* 802AA74C 002A76AC 40 82 01 10 */ bne lbl_802AA85C +/* 802AA750 002A76B0 C8 13 00 00 */ lfd f0, 0(r19) +/* 802AA754 002A76B4 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802AA758 002A76B8 40 80 01 04 */ bge lbl_802AA85C +/* 802AA75C 002A76BC EC 07 03 32 */ fmuls f0, f7, f12 +/* 802AA760 002A76C0 7E 25 8B 78 */ mr r5, r17 +/* 802AA764 002A76C4 EC 47 02 F2 */ fmuls f2, f7, f11 +/* 802AA768 002A76C8 38 61 03 38 */ addi r3, r1, 0x338 +/* 802AA76C 002A76CC EC 27 03 72 */ fmuls f1, f7, f13 +/* 802AA770 002A76D0 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 802AA774 002A76D4 EC 9A 00 28 */ fsubs f4, f26, f0 +/* 802AA778 002A76D8 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 802AA77C 002A76DC EC 7B 10 28 */ fsubs f3, f27, f2 +/* 802AA780 002A76E0 38 C1 00 48 */ addi r6, r1, 0x48 +/* 802AA784 002A76E4 EC 19 08 28 */ fsubs f0, f25, f1 +/* 802AA788 002A76E8 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 802AA78C 002A76EC D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802AA790 002A76F0 38 E1 01 D4 */ addi r7, r1, 0x1d4 +/* 802AA794 002A76F4 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 802AA798 002A76F8 D0 81 00 DC */ stfs f4, 0xdc(r1) +/* 802AA79C 002A76FC D0 61 00 E0 */ stfs f3, 0xe0(r1) +/* 802AA7A0 002A7700 48 02 3C A9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AA7A4 002A7704 80 61 03 38 */ lwz r3, 0x338(r1) +/* 802AA7A8 002A7708 3A E0 00 01 */ li r23, 1 +/* 802AA7AC 002A770C 80 01 03 3C */ lwz r0, 0x33c(r1) +/* 802AA7B0 002A7710 90 74 00 00 */ stw r3, 0(r20) +/* 802AA7B4 002A7714 90 14 00 04 */ stw r0, 4(r20) +/* 802AA7B8 002A7718 80 01 03 40 */ lwz r0, 0x340(r1) +/* 802AA7BC 002A771C 90 14 00 08 */ stw r0, 8(r20) +/* 802AA7C0 002A7720 80 61 03 44 */ lwz r3, 0x344(r1) +/* 802AA7C4 002A7724 80 01 03 48 */ lwz r0, 0x348(r1) +/* 802AA7C8 002A7728 90 74 00 0C */ stw r3, 0xc(r20) +/* 802AA7CC 002A772C 90 14 00 10 */ stw r0, 0x10(r20) +/* 802AA7D0 002A7730 80 01 03 4C */ lwz r0, 0x34c(r1) +/* 802AA7D4 002A7734 90 14 00 14 */ stw r0, 0x14(r20) +/* 802AA7D8 002A7738 80 61 03 50 */ lwz r3, 0x350(r1) +/* 802AA7DC 002A773C 80 01 03 54 */ lwz r0, 0x354(r1) +/* 802AA7E0 002A7740 90 74 00 18 */ stw r3, 0x18(r20) +/* 802AA7E4 002A7744 90 14 00 1C */ stw r0, 0x1c(r20) +/* 802AA7E8 002A7748 80 01 03 58 */ lwz r0, 0x358(r1) +/* 802AA7EC 002A774C 90 14 00 20 */ stw r0, 0x20(r20) +/* 802AA7F0 002A7750 80 61 03 5C */ lwz r3, 0x35c(r1) +/* 802AA7F4 002A7754 80 01 03 60 */ lwz r0, 0x360(r1) +/* 802AA7F8 002A7758 90 74 00 24 */ stw r3, 0x24(r20) +/* 802AA7FC 002A775C 90 14 00 28 */ stw r0, 0x28(r20) +/* 802AA800 002A7760 80 01 03 64 */ lwz r0, 0x364(r1) +/* 802AA804 002A7764 90 14 00 2C */ stw r0, 0x2c(r20) +/* 802AA808 002A7768 88 01 03 68 */ lbz r0, 0x368(r1) +/* 802AA80C 002A776C 98 14 00 30 */ stb r0, 0x30(r20) +/* 802AA810 002A7770 88 01 03 69 */ lbz r0, 0x369(r1) +/* 802AA814 002A7774 98 14 00 31 */ stb r0, 0x31(r20) +/* 802AA818 002A7778 C8 01 03 70 */ lfd f0, 0x370(r1) +/* 802AA81C 002A777C D8 14 00 38 */ stfd f0, 0x38(r20) +/* 802AA820 002A7780 C8 01 03 78 */ lfd f0, 0x378(r1) +/* 802AA824 002A7784 D8 14 00 40 */ stfd f0, 0x40(r20) +/* 802AA828 002A7788 80 61 03 80 */ lwz r3, 0x380(r1) +/* 802AA82C 002A778C 80 01 03 84 */ lwz r0, 0x384(r1) +/* 802AA830 002A7790 90 74 00 48 */ stw r3, 0x48(r20) +/* 802AA834 002A7794 90 14 00 4C */ stw r0, 0x4c(r20) +/* 802AA838 002A7798 80 01 03 88 */ lwz r0, 0x388(r1) +/* 802AA83C 002A779C 90 14 00 50 */ stw r0, 0x50(r20) +/* 802AA840 002A77A0 80 61 03 8C */ lwz r3, 0x38c(r1) +/* 802AA844 002A77A4 80 01 03 90 */ lwz r0, 0x390(r1) +/* 802AA848 002A77A8 90 74 00 54 */ stw r3, 0x54(r20) +/* 802AA84C 002A77AC 90 14 00 58 */ stw r0, 0x58(r20) +/* 802AA850 002A77B0 80 01 03 94 */ lwz r0, 0x394(r1) +/* 802AA854 002A77B4 90 14 00 5C */ stw r0, 0x5c(r20) +/* 802AA858 002A77B8 DB 93 00 00 */ stfd f28, 0(r19) +lbl_802AA85C: +/* 802AA85C 002A77BC C0 30 00 04 */ lfs f1, 4(r16) +/* 802AA860 002A77C0 C0 01 02 54 */ lfs f0, 0x254(r1) +/* 802AA864 002A77C4 C0 50 00 00 */ lfs f2, 0(r16) +/* 802AA868 002A77C8 EC A1 00 28 */ fsubs f5, f1, f0 +/* 802AA86C 002A77CC C0 21 02 50 */ lfs f1, 0x250(r1) +/* 802AA870 002A77D0 C0 01 01 D8 */ lfs f0, 0x1d8(r1) +/* 802AA874 002A77D4 EC 62 08 28 */ fsubs f3, f2, f1 +/* 802AA878 002A77D8 C0 90 00 08 */ lfs f4, 8(r16) +/* 802AA87C 002A77DC C0 41 02 58 */ lfs f2, 0x258(r1) +/* 802AA880 002A77E0 EC 05 00 32 */ fmuls f0, f5, f0 +/* 802AA884 002A77E4 C0 21 01 D4 */ lfs f1, 0x1d4(r1) +/* 802AA888 002A77E8 EC 84 10 28 */ fsubs f4, f4, f2 +/* 802AA88C 002A77EC C0 41 01 DC */ lfs f2, 0x1dc(r1) +/* 802AA890 002A77F0 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 802AA894 002A77F4 C0 10 00 0C */ lfs f0, 0xc(r16) +/* 802AA898 002A77F8 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 802AA89C 002A77FC EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802AA8A0 002A7800 D0 A1 00 C4 */ stfs f5, 0xc4(r1) +/* 802AA8A4 002A7804 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 802AA8A8 002A7808 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AA8AC 002A780C 4C 40 13 82 */ cror 2, 0, 2 +/* 802AA8B0 002A7810 7C A0 00 26 */ mfcr r5 +/* 802AA8B4 002A7814 A0 62 C1 B0 */ lhz r3, lbl_805ADED0@sda21(r2) +/* 802AA8B8 002A7818 88 02 C1 B2 */ lbz r0, lbl_805ADED2@sda21(r2) +/* 802AA8BC 002A781C 7D C4 73 78 */ mr r4, r14 +/* 802AA8C0 002A7820 B0 61 00 14 */ sth r3, 0x14(r1) +/* 802AA8C4 002A7824 54 B6 1F FE */ rlwinm r22, r5, 3, 0x1f, 0x1f +/* 802AA8C8 002A7828 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AA8CC 002A782C 98 01 00 16 */ stb r0, 0x16(r1) +/* 802AA8D0 002A7830 4B FF D6 7D */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AA8D4 002A7834 3C 80 80 3F */ lis r4, lbl_803EC438@ha +/* 802AA8D8 002A7838 3B 01 02 50 */ addi r24, r1, 0x250 +/* 802AA8DC 002A783C 3B 21 00 14 */ addi r25, r1, 0x14 +/* 802AA8E0 002A7840 7C 7D 1B 78 */ mr r29, r3 +/* 802AA8E4 002A7844 3B 64 C4 38 */ addi r27, r4, lbl_803EC438@l +/* 802AA8E8 002A7848 7F 1C C3 78 */ mr r28, r24 +/* 802AA8EC 002A784C 7F 3A CB 78 */ mr r26, r25 +/* 802AA8F0 002A7850 3B C1 00 18 */ addi r30, r1, 0x18 +/* 802AA8F4 002A7854 3A A0 00 00 */ li r21, 0 +lbl_802AA8F8: +/* 802AA8F8 002A7858 28 16 00 00 */ cmplwi r22, 0 +/* 802AA8FC 002A785C 40 82 00 10 */ bne lbl_802AA90C +/* 802AA900 002A7860 88 1E 00 00 */ lbz r0, 0(r30) +/* 802AA904 002A7864 28 00 00 00 */ cmplwi r0, 0 +/* 802AA908 002A7868 41 82 04 90 */ beq lbl_802AAD98 +lbl_802AA90C: +/* 802AA90C 002A786C A0 DD 00 00 */ lhz r6, 0(r29) +/* 802AA910 002A7870 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha +/* 802AA914 002A7874 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l +/* 802AA918 002A7878 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802AA91C 002A787C 54 C4 08 3C */ slwi r4, r6, 1 +/* 802AA920 002A7880 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802AA924 002A7884 7C 00 28 40 */ cmplw r0, r5 +/* 802AA928 002A7888 41 82 04 70 */ beq lbl_802AAD98 +/* 802AA92C 002A788C 7C A3 23 2E */ sthx r5, r3, r4 +/* 802AA930 002A7890 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AA934 002A7894 80 64 00 44 */ lwz r3, 0x44(r4) +/* 802AA938 002A7898 80 84 00 24 */ lwz r4, 0x24(r4) +/* 802AA93C 002A789C 7C 03 30 AE */ lbzx r0, r3, r6 +/* 802AA940 002A78A0 54 00 10 3A */ slwi r0, r0, 2 +/* 802AA944 002A78A4 7F E4 00 2E */ lwzx r31, r4, r0 +/* 802AA948 002A78A8 57 E0 01 CF */ rlwinm. r0, r31, 0, 7, 7 +/* 802AA94C 002A78AC 40 82 04 4C */ bne lbl_802AAD98 +/* 802AA950 002A78B0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AA954 002A78B4 38 81 02 50 */ addi r4, r1, 0x250 +/* 802AA958 002A78B8 C0 9C 00 04 */ lfs f4, 4(r28) +/* 802AA95C 002A78BC 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 802AA960 002A78C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802AA964 002A78C4 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802AA968 002A78C8 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802AA96C 002A78CC 7C 84 02 14 */ add r4, r4, r0 +/* 802AA970 002A78D0 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802AA974 002A78D4 C0 64 00 08 */ lfs f3, 8(r4) +/* 802AA978 002A78D8 C0 24 00 00 */ lfs f1, 0(r4) +/* 802AA97C 002A78DC EC 85 20 28 */ fsubs f4, f5, f4 +/* 802AA980 002A78E0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802AA984 002A78E4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AA988 002A78E8 D0 81 01 CC */ stfs f4, 0x1cc(r1) +/* 802AA98C 002A78EC D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 802AA990 002A78F0 D0 41 01 D0 */ stfs f2, 0x1d0(r1) +/* 802AA994 002A78F4 48 06 9F 25 */ bl Magnitude__9CVector3fCFv +/* 802AA998 002A78F8 C0 42 C1 B8 */ lfs f2, lbl_805ADED8@sda21(r2) +/* 802AA99C 002A78FC C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 802AA9A0 002A7900 EC E2 08 24 */ fdivs f7, f2, f1 +/* 802AA9A4 002A7904 C0 A1 01 C8 */ lfs f5, 0x1c8(r1) +/* 802AA9A8 002A7908 C0 61 01 D0 */ lfs f3, 0x1d0(r1) +/* 802AA9AC 002A790C C2 92 00 04 */ lfs f20, 4(r18) +/* 802AA9B0 002A7910 C0 52 00 00 */ lfs f2, 0(r18) +/* 802AA9B4 002A7914 C0 D2 00 08 */ lfs f6, 8(r18) +/* 802AA9B8 002A7918 ED 80 01 F2 */ fmuls f12, f0, f7 +/* 802AA9BC 002A791C C0 90 00 04 */ lfs f4, 4(r16) +/* 802AA9C0 002A7920 ED A5 01 F2 */ fmuls f13, f5, f7 +/* 802AA9C4 002A7924 C0 1C 00 04 */ lfs f0, 4(r28) +/* 802AA9C8 002A7928 ED 43 01 F2 */ fmuls f10, f3, f7 +/* 802AA9CC 002A792C C1 30 00 00 */ lfs f9, 0(r16) +/* 802AA9D0 002A7930 EC 74 03 32 */ fmuls f3, f20, f12 +/* 802AA9D4 002A7934 C1 1C 00 00 */ lfs f8, 0(r28) +/* 802AA9D8 002A7938 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802AA9DC 002A793C C0 F0 00 08 */ lfs f7, 8(r16) +/* 802AA9E0 002A7940 C0 BC 00 08 */ lfs f5, 8(r28) +/* 802AA9E4 002A7944 EE 69 40 28 */ fsubs f19, f9, f8 +/* 802AA9E8 002A7948 EC 62 1B 7A */ fmadds f3, f2, f13, f3 +/* 802AA9EC 002A794C C1 62 C1 B4 */ lfs f11, lbl_805ADED4@sda21(r2) +/* 802AA9F0 002A7950 EC 80 03 32 */ fmuls f4, f0, f12 +/* 802AA9F4 002A7954 D1 A1 01 C8 */ stfs f13, 0x1c8(r1) +/* 802AA9F8 002A7958 EE 47 28 28 */ fsubs f18, f7, f5 +/* 802AA9FC 002A795C EC A6 1A BA */ fmadds f5, f6, f10, f3 +/* 802AAA00 002A7960 EC 93 23 7A */ fmadds f4, f19, f13, f4 +/* 802AAA04 002A7964 D1 81 01 CC */ stfs f12, 0x1cc(r1) +/* 802AAA08 002A7968 EC 65 03 32 */ fmuls f3, f5, f12 +/* 802AAA0C 002A796C D1 41 01 D0 */ stfs f10, 0x1d0(r1) +/* 802AAA10 002A7970 EC E5 03 72 */ fmuls f7, f5, f13 +/* 802AAA14 002A7974 EC 92 22 BA */ fmadds f4, f18, f10, f4 +/* 802AAA18 002A7978 EE 94 18 28 */ fsubs f20, f20, f3 +/* 802AAA1C 002A797C ED 05 02 B2 */ fmuls f8, f5, f10 +/* 802AAA20 002A7980 EC 62 38 28 */ fsubs f3, f2, f7 +/* 802AAA24 002A7984 EC F4 05 32 */ fmuls f7, f20, f20 +/* 802AAA28 002A7988 EC 46 40 28 */ fsubs f2, f6, f8 +/* 802AAA2C 002A798C ED 24 03 72 */ fmuls f9, f4, f13 +/* 802AAA30 002A7990 EC C3 38 FA */ fmadds f6, f3, f3, f7 +/* 802AAA34 002A7994 ED 04 03 32 */ fmuls f8, f4, f12 +/* 802AAA38 002A7998 EC E4 02 B2 */ fmuls f7, f4, f10 +/* 802AAA3C 002A799C EC C2 30 BA */ fmadds f6, f2, f2, f6 +/* 802AAA40 002A79A0 ED B3 48 28 */ fsubs f13, f19, f9 +/* 802AAA44 002A79A4 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802AAA48 002A79A8 FC 06 58 40 */ fcmpo cr0, f6, f11 +/* 802AAA4C 002A79AC ED 92 38 28 */ fsubs f12, f18, f7 +/* 802AAA50 002A79B0 40 81 03 48 */ ble lbl_802AAD98 +/* 802AAA54 002A79B4 EC E0 00 32 */ fmuls f7, f0, f0 +/* 802AAA58 002A79B8 C1 50 00 0C */ lfs f10, 0xc(r16) +/* 802AAA5C 002A79BC ED 20 05 32 */ fmuls f9, f0, f20 +/* 802AAA60 002A79C0 C1 02 C1 CC */ lfs f8, lbl_805ADEEC@sda21(r2) +/* 802AAA64 002A79C4 EC 0A 02 B2 */ fmuls f0, f10, f10 +/* 802AAA68 002A79C8 C1 42 C1 C8 */ lfs f10, lbl_805ADEE8@sda21(r2) +/* 802AAA6C 002A79CC EC ED 3B 7A */ fmadds f7, f13, f13, f7 +/* 802AAA70 002A79D0 ED 2D 48 FA */ fmadds f9, f13, f3, f9 +/* 802AAA74 002A79D4 ED 08 01 B2 */ fmuls f8, f8, f6 +/* 802AAA78 002A79D8 EC 6C 3B 3A */ fmadds f3, f12, f12, f7 +/* 802AAA7C 002A79DC EC EC 48 BA */ fmadds f7, f12, f2, f9 +/* 802AAA80 002A79E0 EC 43 00 28 */ fsubs f2, f3, f0 +/* 802AAA84 002A79E4 EC 0A 01 F2 */ fmuls f0, f10, f7 +/* 802AAA88 002A79E8 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 802AAA8C 002A79EC ED 20 10 38 */ fmsubs f9, f0, f0, f2 +/* 802AAA90 002A79F0 FC 09 58 40 */ fcmpo cr0, f9, f11 +/* 802AAA94 002A79F4 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAA98 002A79F8 40 82 02 EC */ bne lbl_802AAD84 +/* 802AAA9C 002A79FC C9 02 C1 D0 */ lfd f8, lbl_805ADEF0@sda21(r2) +/* 802AAAA0 002A7A00 C8 E2 C1 C0 */ lfd f7, lbl_805ADEE0@sda21(r2) +/* 802AAAA4 002A7A04 FC 48 30 24 */ fdiv f2, f8, f6 +/* 802AAAA8 002A7A08 FC 09 38 40 */ fcmpo cr0, f9, f7 +/* 802AAAAC 002A7A0C 40 81 00 54 */ ble lbl_802AAB00 +/* 802AAAB0 002A7A10 FC C0 48 34 */ frsqrte f6, f9 +/* 802AAAB4 002A7A14 C8 E2 C1 D8 */ lfd f7, lbl_805ADEF8@sda21(r2) +/* 802AAAB8 002A7A18 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAABC 002A7A1C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAC0 002A7A20 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAC4 002A7A24 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802AAAC8 002A7A28 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAACC 002A7A2C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAD0 002A7A30 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAD4 002A7A34 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802AAAD8 002A7A38 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAADC 002A7A3C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAE0 002A7A40 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAE4 002A7A44 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802AAAE8 002A7A48 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAAEC 002A7A4C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAF0 002A7A50 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAF4 002A7A54 FC 66 00 F2 */ fmul f3, f6, f3 +/* 802AAAF8 002A7A58 FC E9 00 F2 */ fmul f7, f9, f3 +/* 802AAAFC 002A7A5C 48 00 00 2C */ b lbl_802AAB28 +lbl_802AAB00: +/* 802AAB00 002A7A60 FC 07 48 00 */ fcmpu cr0, f7, f9 +/* 802AAB04 002A7A64 40 82 00 08 */ bne lbl_802AAB0C +/* 802AAB08 002A7A68 48 00 00 20 */ b lbl_802AAB28 +lbl_802AAB0C: +/* 802AAB0C 002A7A6C FC 09 38 00 */ fcmpu cr0, f9, f7 +/* 802AAB10 002A7A70 41 82 00 10 */ beq lbl_802AAB20 +/* 802AAB14 002A7A74 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 802AAB18 002A7A78 C0 E3 8B A0 */ lfs f7, lbl_805A8BA0@l(r3) +/* 802AAB1C 002A7A7C 48 00 00 0C */ b lbl_802AAB28 +lbl_802AAB20: +/* 802AAB20 002A7A80 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 802AAB24 002A7A84 C0 E3 8B A4 */ lfs f7, lbl_805A8BA4@l(r3) +lbl_802AAB28: +/* 802AAB28 002A7A88 FC 60 00 50 */ fneg f3, f0 +/* 802AAB2C 002A7A8C C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) +/* 802AAB30 002A7A90 FC 63 38 28 */ fsub f3, f3, f7 +/* 802AAB34 002A7A94 FE E2 00 F2 */ fmul f23, f2, f3 +/* 802AAB38 002A7A98 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802AAB3C 002A7A9C 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAB40 002A7AA0 40 82 02 58 */ bne lbl_802AAD98 +/* 802AAB44 002A7AA4 FC 77 21 7A */ fmadd f3, f23, f5, f4 +/* 802AAB48 002A7AA8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802AAB4C 002A7AAC 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAB50 002A7AB0 40 82 01 D8 */ bne lbl_802AAD28 +/* 802AAB54 002A7AB4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802AAB58 002A7AB8 4C 40 13 82 */ cror 2, 0, 2 +/* 802AAB5C 002A7ABC 40 82 01 CC */ bne lbl_802AAD28 +/* 802AAB60 002A7AC0 C8 13 00 00 */ lfd f0, 0(r19) +/* 802AAB64 002A7AC4 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802AAB68 002A7AC8 40 80 01 C0 */ bge lbl_802AAD28 +/* 802AAB6C 002A7ACC FD 00 18 18 */ frsp f8, f3 +/* 802AAB70 002A7AD0 C0 21 01 CC */ lfs f1, 0x1cc(r1) +/* 802AAB74 002A7AD4 C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802AAB78 002A7AD8 FC 60 B8 18 */ frsp f3, f23 +/* 802AAB7C 002A7ADC C0 81 01 C8 */ lfs f4, 0x1c8(r1) +/* 802AAB80 002A7AE0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802AAB84 002A7AE4 C0 52 00 04 */ lfs f2, 4(r18) +/* 802AAB88 002A7AE8 EC E8 00 72 */ fmuls f7, f8, f1 +/* 802AAB8C 002A7AEC C0 32 00 08 */ lfs f1, 8(r18) +/* 802AAB90 002A7AF0 EC A8 00 32 */ fmuls f5, f8, f0 +/* 802AAB94 002A7AF4 C0 12 00 00 */ lfs f0, 0(r18) +/* 802AAB98 002A7AF8 ED 63 00 B2 */ fmuls f11, f3, f2 +/* 802AAB9C 002A7AFC ED 43 00 72 */ fmuls f10, f3, f1 +/* 802AABA0 002A7B00 EC 43 00 32 */ fmuls f2, f3, f0 +/* 802AABA4 002A7B04 C1 3C 00 04 */ lfs f9, 4(r28) +/* 802AABA8 002A7B08 C0 DC 00 08 */ lfs f6, 8(r28) +/* 802AABAC 002A7B0C EC 68 01 32 */ fmuls f3, f8, f4 +/* 802AABB0 002A7B10 C0 9C 00 00 */ lfs f4, 0(r28) +/* 802AABB4 002A7B14 C0 10 00 04 */ lfs f0, 4(r16) +/* 802AABB8 002A7B18 C0 30 00 08 */ lfs f1, 8(r16) +/* 802AABBC 002A7B1C EC E9 38 2A */ fadds f7, f9, f7 +/* 802AABC0 002A7B20 ED 00 58 2A */ fadds f8, f0, f11 +/* 802AABC4 002A7B24 C0 10 00 00 */ lfs f0, 0(r16) +/* 802AABC8 002A7B28 EC A6 28 2A */ fadds f5, f6, f5 +/* 802AABCC 002A7B2C D0 41 00 90 */ stfs f2, 0x90(r1) +/* 802AABD0 002A7B30 EC C1 50 2A */ fadds f6, f1, f10 +/* 802AABD4 002A7B34 EC 64 18 2A */ fadds f3, f4, f3 +/* 802AABD8 002A7B38 EC 20 10 2A */ fadds f1, f0, f2 +/* 802AABDC 002A7B3C D0 E1 01 C0 */ stfs f7, 0x1c0(r1) +/* 802AABE0 002A7B40 EC 88 38 28 */ fsubs f4, f8, f7 +/* 802AABE4 002A7B44 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802AABE8 002A7B48 EC 46 28 28 */ fsubs f2, f6, f5 +/* 802AABEC 002A7B4C EC 01 18 28 */ fsubs f0, f1, f3 +/* 802AABF0 002A7B50 D0 61 01 BC */ stfs f3, 0x1bc(r1) +/* 802AABF4 002A7B54 D0 A1 01 C4 */ stfs f5, 0x1c4(r1) +/* 802AABF8 002A7B58 D1 61 00 94 */ stfs f11, 0x94(r1) +/* 802AABFC 002A7B5C D1 41 00 98 */ stfs f10, 0x98(r1) +/* 802AAC00 002A7B60 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802AAC04 002A7B64 D1 01 00 A0 */ stfs f8, 0xa0(r1) +/* 802AAC08 002A7B68 D0 C1 00 A4 */ stfs f6, 0xa4(r1) +/* 802AAC0C 002A7B6C D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802AAC10 002A7B70 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 802AAC14 002A7B74 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 802AAC18 002A7B78 48 06 9C 39 */ bl AsNormalized__9CVector3fCFv +/* 802AAC1C 002A7B7C C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 802AAC20 002A7B80 38 00 00 00 */ li r0, 0 +/* 802AAC24 002A7B84 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 802AAC28 002A7B88 7E 25 8B 78 */ mr r5, r17 +/* 802AAC2C 002A7B8C C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 802AAC30 002A7B90 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 802AAC34 002A7B94 D0 41 01 B0 */ stfs f2, 0x1b0(r1) +/* 802AAC38 002A7B98 38 81 01 BC */ addi r4, r1, 0x1bc +/* 802AAC3C 002A7B9C 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802AAC40 002A7BA0 38 E1 01 B0 */ addi r7, r1, 0x1b0 +/* 802AAC44 002A7BA4 D0 21 01 B4 */ stfs f1, 0x1b4(r1) +/* 802AAC48 002A7BA8 D0 01 01 B8 */ stfs f0, 0x1b8(r1) +/* 802AAC4C 002A7BAC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AAC50 002A7BB0 90 01 00 28 */ stw r0, 0x28(r1) +/* 802AAC54 002A7BB4 48 02 37 F5 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AAC58 002A7BB8 80 A1 02 D8 */ lwz r5, 0x2d8(r1) +/* 802AAC5C 002A7BBC 38 80 00 00 */ li r4, 0 +/* 802AAC60 002A7BC0 80 01 02 DC */ lwz r0, 0x2dc(r1) +/* 802AAC64 002A7BC4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AAC68 002A7BC8 98 9A 00 00 */ stb r4, 0(r26) +/* 802AAC6C 002A7BCC 3A E0 00 01 */ li r23, 1 +/* 802AAC70 002A7BD0 90 B4 00 00 */ stw r5, 0(r20) +/* 802AAC74 002A7BD4 90 14 00 04 */ stw r0, 4(r20) +/* 802AAC78 002A7BD8 80 01 02 E0 */ lwz r0, 0x2e0(r1) +/* 802AAC7C 002A7BDC 90 14 00 08 */ stw r0, 8(r20) +/* 802AAC80 002A7BE0 80 A1 02 E4 */ lwz r5, 0x2e4(r1) +/* 802AAC84 002A7BE4 80 01 02 E8 */ lwz r0, 0x2e8(r1) +/* 802AAC88 002A7BE8 90 B4 00 0C */ stw r5, 0xc(r20) +/* 802AAC8C 002A7BEC 90 14 00 10 */ stw r0, 0x10(r20) +/* 802AAC90 002A7BF0 80 01 02 EC */ lwz r0, 0x2ec(r1) +/* 802AAC94 002A7BF4 90 14 00 14 */ stw r0, 0x14(r20) +/* 802AAC98 002A7BF8 80 A1 02 F0 */ lwz r5, 0x2f0(r1) +/* 802AAC9C 002A7BFC 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 802AACA0 002A7C00 90 B4 00 18 */ stw r5, 0x18(r20) +/* 802AACA4 002A7C04 90 14 00 1C */ stw r0, 0x1c(r20) +/* 802AACA8 002A7C08 80 01 02 F8 */ lwz r0, 0x2f8(r1) +/* 802AACAC 002A7C0C 90 14 00 20 */ stw r0, 0x20(r20) +/* 802AACB0 002A7C10 80 A1 02 FC */ lwz r5, 0x2fc(r1) +/* 802AACB4 002A7C14 80 01 03 00 */ lwz r0, 0x300(r1) +/* 802AACB8 002A7C18 90 B4 00 24 */ stw r5, 0x24(r20) +/* 802AACBC 002A7C1C 90 14 00 28 */ stw r0, 0x28(r20) +/* 802AACC0 002A7C20 80 01 03 04 */ lwz r0, 0x304(r1) +/* 802AACC4 002A7C24 90 14 00 2C */ stw r0, 0x2c(r20) +/* 802AACC8 002A7C28 88 01 03 08 */ lbz r0, 0x308(r1) +/* 802AACCC 002A7C2C 98 14 00 30 */ stb r0, 0x30(r20) +/* 802AACD0 002A7C30 88 01 03 09 */ lbz r0, 0x309(r1) +/* 802AACD4 002A7C34 98 14 00 31 */ stb r0, 0x31(r20) +/* 802AACD8 002A7C38 C8 01 03 10 */ lfd f0, 0x310(r1) +/* 802AACDC 002A7C3C D8 14 00 38 */ stfd f0, 0x38(r20) +/* 802AACE0 002A7C40 C8 01 03 18 */ lfd f0, 0x318(r1) +/* 802AACE4 002A7C44 D8 14 00 40 */ stfd f0, 0x40(r20) +/* 802AACE8 002A7C48 80 A1 03 20 */ lwz r5, 0x320(r1) +/* 802AACEC 002A7C4C 80 01 03 24 */ lwz r0, 0x324(r1) +/* 802AACF0 002A7C50 90 B4 00 48 */ stw r5, 0x48(r20) +/* 802AACF4 002A7C54 90 14 00 4C */ stw r0, 0x4c(r20) +/* 802AACF8 002A7C58 80 01 03 28 */ lwz r0, 0x328(r1) +/* 802AACFC 002A7C5C 90 14 00 50 */ stw r0, 0x50(r20) +/* 802AAD00 002A7C60 80 A1 03 2C */ lwz r5, 0x32c(r1) +/* 802AAD04 002A7C64 80 01 03 30 */ lwz r0, 0x330(r1) +/* 802AAD08 002A7C68 90 B4 00 54 */ stw r5, 0x54(r20) +/* 802AAD0C 002A7C6C 90 14 00 58 */ stw r0, 0x58(r20) +/* 802AAD10 002A7C70 80 01 03 34 */ lwz r0, 0x334(r1) +/* 802AAD14 002A7C74 90 14 00 5C */ stw r0, 0x5c(r20) +/* 802AAD18 002A7C78 DA F3 00 00 */ stfd f23, 0(r19) +/* 802AAD1C 002A7C7C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AAD20 002A7C80 7C 83 01 AE */ stbx r4, r3, r0 +/* 802AAD24 002A7C84 48 00 00 74 */ b lbl_802AAD98 +lbl_802AAD28: +/* 802AAD28 002A7C88 C0 50 00 0C */ lfs f2, 0xc(r16) +/* 802AAD2C 002A7C8C FC 00 10 50 */ fneg f0, f2 +/* 802AAD30 002A7C90 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802AAD34 002A7C94 40 80 00 20 */ bge lbl_802AAD54 +/* 802AAD38 002A7C98 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) +/* 802AAD3C 002A7C9C FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802AAD40 002A7CA0 4C 40 13 82 */ cror 2, 0, 2 +/* 802AAD44 002A7CA4 40 82 00 10 */ bne lbl_802AAD54 +/* 802AAD48 002A7CA8 38 00 00 00 */ li r0, 0 +/* 802AAD4C 002A7CAC 98 1A 00 00 */ stb r0, 0(r26) +/* 802AAD50 002A7CB0 48 00 00 48 */ b lbl_802AAD98 +lbl_802AAD54: +/* 802AAD54 002A7CB4 EC 01 10 2A */ fadds f0, f1, f2 +/* 802AAD58 002A7CB8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802AAD5C 002A7CBC 40 81 00 3C */ ble lbl_802AAD98 +/* 802AAD60 002A7CC0 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) +/* 802AAD64 002A7CC4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802AAD68 002A7CC8 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAD6C 002A7CCC 40 82 00 2C */ bne lbl_802AAD98 +/* 802AAD70 002A7CD0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AAD74 002A7CD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AAD78 002A7CD8 38 80 00 00 */ li r4, 0 +/* 802AAD7C 002A7CDC 7C 83 01 AE */ stbx r4, r3, r0 +/* 802AAD80 002A7CE0 48 00 00 18 */ b lbl_802AAD98 +lbl_802AAD84: +/* 802AAD84 002A7CE4 38 80 00 00 */ li r4, 0 +/* 802AAD88 002A7CE8 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AAD8C 002A7CEC 98 9A 00 00 */ stb r4, 0(r26) +/* 802AAD90 002A7CF0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AAD94 002A7CF4 7C 83 01 AE */ stbx r4, r3, r0 +lbl_802AAD98: +/* 802AAD98 002A7CF8 3A B5 00 01 */ addi r21, r21, 1 +/* 802AAD9C 002A7CFC 3B BD 00 02 */ addi r29, r29, 2 +/* 802AADA0 002A7D00 2C 15 00 03 */ cmpwi r21, 3 +/* 802AADA4 002A7D04 3B 9C 00 0C */ addi r28, r28, 0xc +/* 802AADA8 002A7D08 3B 7B 00 04 */ addi r27, r27, 4 +/* 802AADAC 002A7D0C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802AADB0 002A7D10 3B DE 00 01 */ addi r30, r30, 1 +/* 802AADB4 002A7D14 41 80 FB 44 */ blt lbl_802AA8F8 +/* 802AADB8 002A7D18 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AADBC 002A7D1C 7D C4 73 78 */ mr r4, r14 +/* 802AADC0 002A7D20 38 A1 00 40 */ addi r5, r1, 0x40 +/* 802AADC4 002A7D24 4B FF D1 9D */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AADC8 002A7D28 39 C1 00 40 */ addi r14, r1, 0x40 +/* 802AADCC 002A7D2C 3A A0 00 00 */ li r21, 0 +lbl_802AADD0: +/* 802AADD0 002A7D30 88 19 00 00 */ lbz r0, 0(r25) +/* 802AADD4 002A7D34 A2 CE 00 00 */ lhz r22, 0(r14) +/* 802AADD8 002A7D38 28 00 00 00 */ cmplwi r0, 0 +/* 802AADDC 002A7D3C 41 82 02 0C */ beq lbl_802AAFE8 +/* 802AADE0 002A7D40 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AADE4 002A7D44 56 C4 08 3C */ slwi r4, r22, 1 +/* 802AADE8 002A7D48 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802AADEC 002A7D4C A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802AADF0 002A7D50 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802AADF4 002A7D54 7C 00 28 40 */ cmplw r0, r5 +/* 802AADF8 002A7D58 41 82 02 04 */ beq lbl_802AAFFC +/* 802AADFC 002A7D5C 7C A3 23 2E */ sthx r5, r3, r4 +/* 802AAE00 002A7D60 7E 04 83 78 */ mr r4, r16 +/* 802AAE04 002A7D64 C0 90 00 0C */ lfs f4, 0xc(r16) +/* 802AAE08 002A7D68 7E 45 93 78 */ mr r5, r18 +/* 802AAE0C 002A7D6C C8 73 00 00 */ lfd f3, 0(r19) +/* 802AAE10 002A7D70 38 61 00 80 */ addi r3, r1, 0x80 +/* 802AAE14 002A7D74 C0 58 00 00 */ lfs f2, 0(r24) +/* 802AAE18 002A7D78 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802AAE1C 002A7D7C C0 38 00 04 */ lfs f1, 4(r24) +/* 802AAE20 002A7D80 C0 18 00 08 */ lfs f0, 8(r24) +/* 802AAE24 002A7D84 D8 61 00 38 */ stfd f3, 0x38(r1) +/* 802AAE28 002A7D88 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802AAE2C 002A7D8C D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802AAE30 002A7D90 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802AAE34 002A7D94 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 802AAE38 002A7D98 48 02 8B 99 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +/* 802AAE3C 002A7D9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AAE40 002A7DA0 41 82 01 BC */ beq lbl_802AAFFC +/* 802AAE44 002A7DA4 C8 21 00 38 */ lfd f1, 0x38(r1) +/* 802AAE48 002A7DA8 C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) +/* 802AAE4C 002A7DAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AAE50 002A7DB0 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAE54 002A7DB4 40 82 01 A8 */ bne lbl_802AAFFC +/* 802AAE58 002A7DB8 FC 60 08 18 */ frsp f3, f1 +/* 802AAE5C 002A7DBC C0 52 00 04 */ lfs f2, 4(r18) +/* 802AAE60 002A7DC0 C0 32 00 08 */ lfs f1, 8(r18) +/* 802AAE64 002A7DC4 38 61 00 74 */ addi r3, r1, 0x74 +/* 802AAE68 002A7DC8 C0 12 00 00 */ lfs f0, 0(r18) +/* 802AAE6C 002A7DCC 38 81 00 68 */ addi r4, r1, 0x68 +/* 802AAE70 002A7DD0 EC C3 00 B2 */ fmuls f6, f3, f2 +/* 802AAE74 002A7DD4 C0 50 00 04 */ lfs f2, 4(r16) +/* 802AAE78 002A7DD8 EC A3 00 72 */ fmuls f5, f3, f1 +/* 802AAE7C 002A7DDC C0 30 00 08 */ lfs f1, 8(r16) +/* 802AAE80 002A7DE0 EC 83 00 32 */ fmuls f4, f3, f0 +/* 802AAE84 002A7DE4 C0 10 00 00 */ lfs f0, 0(r16) +/* 802AAE88 002A7DE8 ED 02 30 2A */ fadds f8, f2, f6 +/* 802AAE8C 002A7DEC C0 58 00 04 */ lfs f2, 4(r24) +/* 802AAE90 002A7DF0 EC E1 28 2A */ fadds f7, f1, f5 +/* 802AAE94 002A7DF4 C0 38 00 08 */ lfs f1, 8(r24) +/* 802AAE98 002A7DF8 EC 60 20 2A */ fadds f3, f0, f4 +/* 802AAE9C 002A7DFC C0 18 00 00 */ lfs f0, 0(r24) +/* 802AAEA0 002A7E00 EC 48 10 28 */ fsubs f2, f8, f2 +/* 802AAEA4 002A7E04 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 802AAEA8 002A7E08 EC 27 08 28 */ fsubs f1, f7, f1 +/* 802AAEAC 002A7E0C EC 03 00 28 */ fsubs f0, f3, f0 +/* 802AAEB0 002A7E10 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 802AAEB4 002A7E14 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 802AAEB8 002A7E18 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802AAEBC 002A7E1C D1 01 00 60 */ stfs f8, 0x60(r1) +/* 802AAEC0 002A7E20 D0 E1 00 64 */ stfs f7, 0x64(r1) +/* 802AAEC4 002A7E24 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802AAEC8 002A7E28 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AAECC 002A7E2C D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802AAED0 002A7E30 48 06 99 81 */ bl AsNormalized__9CVector3fCFv +/* 802AAED4 002A7E34 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 802AAED8 002A7E38 38 00 00 00 */ li r0, 0 +/* 802AAEDC 002A7E3C C0 21 00 78 */ lfs f1, 0x78(r1) +/* 802AAEE0 002A7E40 7F 04 C3 78 */ mr r4, r24 +/* 802AAEE4 002A7E44 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802AAEE8 002A7E48 7E 25 8B 78 */ mr r5, r17 +/* 802AAEEC 002A7E4C D0 41 01 A4 */ stfs f2, 0x1a4(r1) +/* 802AAEF0 002A7E50 38 61 02 78 */ addi r3, r1, 0x278 +/* 802AAEF4 002A7E54 81 2F 00 10 */ lwz r9, 0x10(r15) +/* 802AAEF8 002A7E58 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802AAEFC 002A7E5C D0 21 01 A8 */ stfs f1, 0x1a8(r1) +/* 802AAF00 002A7E60 38 E1 01 A4 */ addi r7, r1, 0x1a4 +/* 802AAF04 002A7E64 D0 01 01 AC */ stfs f0, 0x1ac(r1) +/* 802AAF08 002A7E68 81 09 00 34 */ lwz r8, 0x34(r9) +/* 802AAF0C 002A7E6C 81 29 00 24 */ lwz r9, 0x24(r9) +/* 802AAF10 002A7E70 7D 08 B0 AE */ lbzx r8, r8, r22 +/* 802AAF14 002A7E74 55 08 10 3A */ slwi r8, r8, 2 +/* 802AAF18 002A7E78 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802AAF1C 002A7E7C 91 01 00 24 */ stw r8, 0x24(r1) +/* 802AAF20 002A7E80 90 01 00 20 */ stw r0, 0x20(r1) +/* 802AAF24 002A7E84 48 02 35 25 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AAF28 002A7E88 80 61 02 78 */ lwz r3, 0x278(r1) +/* 802AAF2C 002A7E8C 3A E0 00 01 */ li r23, 1 +/* 802AAF30 002A7E90 80 01 02 7C */ lwz r0, 0x27c(r1) +/* 802AAF34 002A7E94 90 74 00 00 */ stw r3, 0(r20) +/* 802AAF38 002A7E98 90 14 00 04 */ stw r0, 4(r20) +/* 802AAF3C 002A7E9C 80 01 02 80 */ lwz r0, 0x280(r1) +/* 802AAF40 002A7EA0 90 14 00 08 */ stw r0, 8(r20) +/* 802AAF44 002A7EA4 80 61 02 84 */ lwz r3, 0x284(r1) +/* 802AAF48 002A7EA8 80 01 02 88 */ lwz r0, 0x288(r1) +/* 802AAF4C 002A7EAC 90 74 00 0C */ stw r3, 0xc(r20) +/* 802AAF50 002A7EB0 90 14 00 10 */ stw r0, 0x10(r20) +/* 802AAF54 002A7EB4 80 01 02 8C */ lwz r0, 0x28c(r1) +/* 802AAF58 002A7EB8 90 14 00 14 */ stw r0, 0x14(r20) +/* 802AAF5C 002A7EBC 80 61 02 90 */ lwz r3, 0x290(r1) +/* 802AAF60 002A7EC0 80 01 02 94 */ lwz r0, 0x294(r1) +/* 802AAF64 002A7EC4 90 74 00 18 */ stw r3, 0x18(r20) +/* 802AAF68 002A7EC8 90 14 00 1C */ stw r0, 0x1c(r20) +/* 802AAF6C 002A7ECC 80 01 02 98 */ lwz r0, 0x298(r1) +/* 802AAF70 002A7ED0 90 14 00 20 */ stw r0, 0x20(r20) +/* 802AAF74 002A7ED4 80 61 02 9C */ lwz r3, 0x29c(r1) +/* 802AAF78 002A7ED8 80 01 02 A0 */ lwz r0, 0x2a0(r1) +/* 802AAF7C 002A7EDC 90 74 00 24 */ stw r3, 0x24(r20) +/* 802AAF80 002A7EE0 90 14 00 28 */ stw r0, 0x28(r20) +/* 802AAF84 002A7EE4 80 01 02 A4 */ lwz r0, 0x2a4(r1) +/* 802AAF88 002A7EE8 90 14 00 2C */ stw r0, 0x2c(r20) +/* 802AAF8C 002A7EEC 88 01 02 A8 */ lbz r0, 0x2a8(r1) +/* 802AAF90 002A7EF0 98 14 00 30 */ stb r0, 0x30(r20) +/* 802AAF94 002A7EF4 88 01 02 A9 */ lbz r0, 0x2a9(r1) +/* 802AAF98 002A7EF8 98 14 00 31 */ stb r0, 0x31(r20) +/* 802AAF9C 002A7EFC C8 01 02 B0 */ lfd f0, 0x2b0(r1) +/* 802AAFA0 002A7F00 D8 14 00 38 */ stfd f0, 0x38(r20) +/* 802AAFA4 002A7F04 C8 01 02 B8 */ lfd f0, 0x2b8(r1) +/* 802AAFA8 002A7F08 D8 14 00 40 */ stfd f0, 0x40(r20) +/* 802AAFAC 002A7F0C 80 61 02 C0 */ lwz r3, 0x2c0(r1) +/* 802AAFB0 002A7F10 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802AAFB4 002A7F14 90 74 00 48 */ stw r3, 0x48(r20) +/* 802AAFB8 002A7F18 90 14 00 4C */ stw r0, 0x4c(r20) +/* 802AAFBC 002A7F1C 80 01 02 C8 */ lwz r0, 0x2c8(r1) +/* 802AAFC0 002A7F20 90 14 00 50 */ stw r0, 0x50(r20) +/* 802AAFC4 002A7F24 80 61 02 CC */ lwz r3, 0x2cc(r1) +/* 802AAFC8 002A7F28 80 01 02 D0 */ lwz r0, 0x2d0(r1) +/* 802AAFCC 002A7F2C 90 74 00 54 */ stw r3, 0x54(r20) +/* 802AAFD0 002A7F30 90 14 00 58 */ stw r0, 0x58(r20) +/* 802AAFD4 002A7F34 80 01 02 D4 */ lwz r0, 0x2d4(r1) +/* 802AAFD8 002A7F38 90 14 00 5C */ stw r0, 0x5c(r20) +/* 802AAFDC 002A7F3C C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802AAFE0 002A7F40 D8 13 00 00 */ stfd f0, 0(r19) +/* 802AAFE4 002A7F44 48 00 00 18 */ b lbl_802AAFFC +lbl_802AAFE8: +/* 802AAFE8 002A7F48 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AAFEC 002A7F4C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802AAFF0 002A7F50 56 C0 08 3C */ slwi r0, r22, 1 +/* 802AAFF4 002A7F54 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802AAFF8 002A7F58 7C 83 03 2E */ sthx r4, r3, r0 +lbl_802AAFFC: +/* 802AAFFC 002A7F5C 3A B5 00 01 */ addi r21, r21, 1 +/* 802AB000 002A7F60 3B 39 00 01 */ addi r25, r25, 1 +/* 802AB004 002A7F64 2C 15 00 03 */ cmpwi r21, 3 +/* 802AB008 002A7F68 3B 18 00 0C */ addi r24, r24, 0xc +/* 802AB00C 002A7F6C 39 CE 00 02 */ addi r14, r14, 2 +/* 802AB010 002A7F70 41 80 FD C0 */ blt lbl_802AADD0 +/* 802AB014 002A7F74 48 00 00 80 */ b lbl_802AB094 +lbl_802AB018: +/* 802AB018 002A7F78 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB01C 002A7F7C 7D C4 73 78 */ mr r4, r14 +/* 802AB020 002A7F80 4B FF CF 2D */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AB024 002A7F84 A0 03 00 00 */ lhz r0, 0(r3) +/* 802AB028 002A7F88 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802AB02C 002A7F8C A0 ED A5 D0 */ lhz r7, lbl_805A9190@sda21(r13) +/* 802AB030 002A7F90 38 C4 BB AC */ addi r6, r4, lbl_8058BBAC@l +/* 802AB034 002A7F94 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB038 002A7F98 7D C4 73 78 */ mr r4, r14 +/* 802AB03C 002A7F9C 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB040 002A7FA0 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802AB044 002A7FA4 A0 03 00 02 */ lhz r0, 2(r3) +/* 802AB048 002A7FA8 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB04C 002A7FAC 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB050 002A7FB0 A0 03 00 04 */ lhz r0, 4(r3) +/* 802AB054 002A7FB4 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB058 002A7FB8 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB05C 002A7FBC 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB060 002A7FC0 4B FF CF 01 */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AB064 002A7FC4 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 802AB068 002A7FC8 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AB06C 002A7FCC A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802AB070 002A7FD0 38 83 2B AC */ addi r4, r3, lbl_80572BAC@l +/* 802AB074 002A7FD4 54 03 08 3C */ slwi r3, r0, 1 +/* 802AB078 002A7FD8 A0 01 00 32 */ lhz r0, 0x32(r1) +/* 802AB07C 002A7FDC 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802AB080 002A7FE0 54 03 08 3C */ slwi r3, r0, 1 +/* 802AB084 002A7FE4 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 802AB088 002A7FE8 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802AB08C 002A7FEC 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB090 002A7FF0 7C A4 03 2E */ sthx r5, r4, r0 +lbl_802AB094: +/* 802AB094 002A7FF4 80 61 03 9C */ lwz r3, 0x39c(r1) +/* 802AB098 002A7FF8 38 63 00 02 */ addi r3, r3, 2 +/* 802AB09C 002A7FFC 90 61 03 9C */ stw r3, 0x39c(r1) +/* 802AB0A0 002A8000 80 61 03 98 */ lwz r3, 0x398(r1) +/* 802AB0A4 002A8004 38 63 00 01 */ addi r3, r3, 1 +/* 802AB0A8 002A8008 90 61 03 98 */ stw r3, 0x398(r1) +lbl_802AB0AC: +/* 802AB0AC 002A800C 80 61 03 98 */ lwz r3, 0x398(r1) +/* 802AB0B0 002A8010 80 01 03 A0 */ lwz r0, 0x3a0(r1) +/* 802AB0B4 002A8014 7C 03 00 00 */ cmpw r3, r0 +/* 802AB0B8 002A8018 41 80 F3 58 */ blt lbl_802AA410 +/* 802AB0BC 002A801C 7E E3 BB 78 */ mr r3, r23 +/* 802AB0C0 002A8020 E3 E1 04 C8 */ psq_l f31, 1224(r1), 0, qr0 +/* 802AB0C4 002A8024 CB E1 04 C0 */ lfd f31, 0x4c0(r1) +/* 802AB0C8 002A8028 E3 C1 04 B8 */ psq_l f30, 1208(r1), 0, qr0 +/* 802AB0CC 002A802C CB C1 04 B0 */ lfd f30, 0x4b0(r1) +/* 802AB0D0 002A8030 E3 A1 04 A8 */ psq_l f29, 1192(r1), 0, qr0 +/* 802AB0D4 002A8034 CB A1 04 A0 */ lfd f29, 0x4a0(r1) +/* 802AB0D8 002A8038 E3 81 04 98 */ psq_l f28, 1176(r1), 0, qr0 +/* 802AB0DC 002A803C CB 81 04 90 */ lfd f28, 0x490(r1) +/* 802AB0E0 002A8040 E3 61 04 88 */ psq_l f27, 1160(r1), 0, qr0 +/* 802AB0E4 002A8044 CB 61 04 80 */ lfd f27, 0x480(r1) +/* 802AB0E8 002A8048 E3 41 04 78 */ psq_l f26, 1144(r1), 0, qr0 +/* 802AB0EC 002A804C CB 41 04 70 */ lfd f26, 0x470(r1) +/* 802AB0F0 002A8050 E3 21 04 68 */ psq_l f25, 1128(r1), 0, qr0 +/* 802AB0F4 002A8054 CB 21 04 60 */ lfd f25, 0x460(r1) +/* 802AB0F8 002A8058 E3 01 04 58 */ psq_l f24, 1112(r1), 0, qr0 +/* 802AB0FC 002A805C CB 01 04 50 */ lfd f24, 0x450(r1) +/* 802AB100 002A8060 E2 E1 04 48 */ psq_l f23, 1096(r1), 0, qr0 +/* 802AB104 002A8064 CA E1 04 40 */ lfd f23, 0x440(r1) +/* 802AB108 002A8068 E2 C1 04 38 */ psq_l f22, 1080(r1), 0, qr0 +/* 802AB10C 002A806C CA C1 04 30 */ lfd f22, 0x430(r1) +/* 802AB110 002A8070 E2 A1 04 28 */ psq_l f21, 1064(r1), 0, qr0 +/* 802AB114 002A8074 CA A1 04 20 */ lfd f21, 0x420(r1) +/* 802AB118 002A8078 E2 81 04 18 */ psq_l f20, 1048(r1), 0, qr0 +/* 802AB11C 002A807C CA 81 04 10 */ lfd f20, 0x410(r1) +/* 802AB120 002A8080 E2 61 04 08 */ psq_l f19, 1032(r1), 0, qr0 +/* 802AB124 002A8084 CA 61 04 00 */ lfd f19, 0x400(r1) +/* 802AB128 002A8088 E2 41 03 F8 */ psq_l f18, 1016(r1), 0, qr0 +/* 802AB12C 002A808C CA 41 03 F0 */ lfd f18, 0x3f0(r1) +/* 802AB130 002A8090 B9 C1 03 A8 */ lmw r14, 0x3a8(r1) +/* 802AB134 002A8094 80 01 04 D4 */ lwz r0, 0x4d4(r1) +/* 802AB138 002A8098 7C 08 03 A6 */ mtlr r0 +/* 802AB13C 002A809C 38 21 04 D0 */ addi r1, r1, 0x4d0 +/* 802AB140 002A80A0 4E 80 00 20 */ blr + +.global SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo: +/* 802AB144 002A80A4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802AB148 002A80A8 7C 08 02 A6 */ mflr r0 +/* 802AB14C 002A80AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802AB150 002A80B0 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 802AB154 002A80B4 7C 7D 1B 78 */ mr r29, r3 +/* 802AB158 002A80B8 7C F6 3B 78 */ mr r22, r7 +/* 802AB15C 002A80BC 83 41 00 48 */ lwz r26, 0x48(r1) +/* 802AB160 002A80C0 83 61 00 4C */ lwz r27, 0x4c(r1) +/* 802AB164 002A80C4 7C 9E 23 78 */ mr r30, r4 +/* 802AB168 002A80C8 7C BF 2B 78 */ mr r31, r5 +/* 802AB16C 002A80CC 7C D5 33 78 */ mr r21, r6 +/* 802AB170 002A80D0 7D 17 43 78 */ mr r23, r8 +/* 802AB174 002A80D4 7D 38 4B 78 */ mr r24, r9 +/* 802AB178 002A80D8 7D 59 53 78 */ mr r25, r10 +/* 802AB17C 002A80DC 3B 80 00 00 */ li r28, 0 +/* 802AB180 002A80E0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802AB184 002A80E4 38 03 00 01 */ addi r0, r3, 1 +/* 802AB188 002A80E8 7E C3 B3 78 */ mr r3, r22 +/* 802AB18C 002A80EC 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802AB190 002A80F0 48 02 A3 05 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802AB194 002A80F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB198 002A80F8 41 82 00 C4 */ beq lbl_802AB25C +/* 802AB19C 002A80FC 38 00 00 01 */ li r0, 1 +/* 802AB1A0 002A8100 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802AB1A4 002A8104 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802AB1A8 002A8108 28 00 00 00 */ cmplwi r0, 0 +/* 802AB1AC 002A810C 41 82 00 3C */ beq lbl_802AB1E8 +/* 802AB1B0 002A8110 93 61 00 08 */ stw r27, 8(r1) +/* 802AB1B4 002A8114 7F A3 EB 78 */ mr r3, r29 +/* 802AB1B8 002A8118 7F E5 FB 78 */ mr r5, r31 +/* 802AB1BC 002A811C 7E A6 AB 78 */ mr r6, r21 +/* 802AB1C0 002A8120 80 9E 00 48 */ lwz r4, 0x48(r30) +/* 802AB1C4 002A8124 7E E7 BB 78 */ mr r7, r23 +/* 802AB1C8 002A8128 7F 08 C3 78 */ mr r8, r24 +/* 802AB1CC 002A812C 7F 29 CB 78 */ mr r9, r25 +/* 802AB1D0 002A8130 7F 4A D3 78 */ mr r10, r26 +/* 802AB1D4 002A8134 4B FF F0 1D */ bl SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AB1D8 002A8138 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB1DC 002A813C 41 82 00 8C */ beq lbl_802AB268 +/* 802AB1E0 002A8140 3B 80 00 01 */ li r28, 1 +/* 802AB1E4 002A8144 48 00 00 84 */ b lbl_802AB268 +lbl_802AB1E8: +/* 802AB1E8 002A8148 93 41 00 08 */ stw r26, 8(r1) +/* 802AB1EC 002A814C 7F A3 EB 78 */ mr r3, r29 +/* 802AB1F0 002A8150 7F E5 FB 78 */ mr r5, r31 +/* 802AB1F4 002A8154 7E A6 AB 78 */ mr r6, r21 +/* 802AB1F8 002A8158 93 61 00 0C */ stw r27, 0xc(r1) +/* 802AB1FC 002A815C 7E C7 B3 78 */ mr r7, r22 +/* 802AB200 002A8160 7E E8 BB 78 */ mr r8, r23 +/* 802AB204 002A8164 7F 09 C3 78 */ mr r9, r24 +/* 802AB208 002A8168 80 9E 00 40 */ lwz r4, 0x40(r30) +/* 802AB20C 002A816C 7F 2A CB 78 */ mr r10, r25 +/* 802AB210 002A8170 4B FF FF 35 */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AB214 002A8174 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB218 002A8178 41 82 00 08 */ beq lbl_802AB220 +/* 802AB21C 002A817C 3B 80 00 01 */ li r28, 1 +lbl_802AB220: +/* 802AB220 002A8180 93 41 00 08 */ stw r26, 8(r1) +/* 802AB224 002A8184 7F A3 EB 78 */ mr r3, r29 +/* 802AB228 002A8188 7F E5 FB 78 */ mr r5, r31 +/* 802AB22C 002A818C 7E A6 AB 78 */ mr r6, r21 +/* 802AB230 002A8190 93 61 00 0C */ stw r27, 0xc(r1) +/* 802AB234 002A8194 7E C7 B3 78 */ mr r7, r22 +/* 802AB238 002A8198 7E E8 BB 78 */ mr r8, r23 +/* 802AB23C 002A819C 7F 09 C3 78 */ mr r9, r24 +/* 802AB240 002A81A0 80 9E 00 44 */ lwz r4, 0x44(r30) +/* 802AB244 002A81A4 7F 2A CB 78 */ mr r10, r25 +/* 802AB248 002A81A8 4B FF FE FD */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AB24C 002A81AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB250 002A81B0 41 82 00 18 */ beq lbl_802AB268 +/* 802AB254 002A81B4 3B 80 00 01 */ li r28, 1 +/* 802AB258 002A81B8 48 00 00 10 */ b lbl_802AB268 +lbl_802AB25C: +/* 802AB25C 002A81BC 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 802AB260 002A81C0 38 03 00 01 */ addi r0, r3, 1 +/* 802AB264 002A81C4 90 1D 00 18 */ stw r0, 0x18(r29) +lbl_802AB268: +/* 802AB268 002A81C8 7F 83 E3 78 */ mr r3, r28 +/* 802AB26C 002A81CC BA A1 00 14 */ lmw r21, 0x14(r1) +/* 802AB270 002A81D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802AB274 002A81D4 7C 08 03 A6 */ mtlr r0 +/* 802AB278 002A81D8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802AB27C 002A81DC 4E 80 00 20 */ blr + +.global AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo: +/* 802AB280 002A81E0 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 802AB284 002A81E4 7C 08 02 A6 */ mflr r0 +/* 802AB288 002A81E8 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 802AB28C 002A81EC DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 802AB290 002A81F0 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 802AB294 002A81F4 DB C1 02 A0 */ stfd f30, 0x2a0(r1) +/* 802AB298 002A81F8 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 +/* 802AB29C 002A81FC DB A1 02 90 */ stfd f29, 0x290(r1) +/* 802AB2A0 002A8200 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 +/* 802AB2A4 002A8204 BD C1 02 48 */ stmw r14, 0x248(r1) +/* 802AB2A8 002A8208 3D 60 80 5A */ lis r11, skZero3f@ha +/* 802AB2AC 002A820C 7D 32 4B 78 */ mr r18, r9 +/* 802AB2B0 002A8210 39 2B 66 A0 */ addi r9, r11, skZero3f@l +/* 802AB2B4 002A8214 C0 12 06 E8 */ lfs f0, 0x6e8(r18) +/* 802AB2B8 002A8218 C0 29 00 00 */ lfs f1, 0(r9) +/* 802AB2BC 002A821C 7C 6F 1B 78 */ mr r15, r3 +/* 802AB2C0 002A8220 C0 49 00 04 */ lfs f2, 4(r9) +/* 802AB2C4 002A8224 7C 8E 23 78 */ mr r14, r4 +/* 802AB2C8 002A8228 C1 69 00 08 */ lfs f11, 8(r9) +/* 802AB2CC 002A822C 7D 53 53 78 */ mr r19, r10 +/* 802AB2D0 002A8230 C1 52 06 EC */ lfs f10, 0x6ec(r18) +/* 802AB2D4 002A8234 7C D0 33 78 */ mr r16, r6 +/* 802AB2D8 002A8238 C1 32 06 F0 */ lfs f9, 0x6f0(r18) +/* 802AB2DC 002A823C 7C F1 3B 78 */ mr r17, r7 +/* 802AB2E0 002A8240 C1 12 06 F4 */ lfs f8, 0x6f4(r18) +/* 802AB2E4 002A8244 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802AB2E8 002A8248 C0 F2 06 F8 */ lfs f7, 0x6f8(r18) +/* 802AB2EC 002A824C 38 81 00 7C */ addi r4, r1, 0x7c +/* 802AB2F0 002A8250 C0 D2 06 FC */ lfs f6, 0x6fc(r18) +/* 802AB2F4 002A8254 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802AB2F8 002A8258 82 81 02 C8 */ lwz r20, 0x2c8(r1) +/* 802AB2FC 002A825C D0 21 00 AC */ stfs f1, 0xac(r1) +/* 802AB300 002A8260 C0 AA 00 00 */ lfs f5, 0(r10) +/* 802AB304 002A8264 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802AB308 002A8268 C0 8A 00 04 */ lfs f4, 4(r10) +/* 802AB30C 002A826C D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 802AB310 002A8270 C0 6A 00 08 */ lfs f3, 8(r10) +/* 802AB314 002A8274 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 802AB318 002A8278 C0 46 00 10 */ lfs f2, 0x10(r6) +/* 802AB31C 002A827C D1 61 00 B4 */ stfs f11, 0xb4(r1) +/* 802AB320 002A8280 C0 26 00 14 */ lfs f1, 0x14(r6) +/* 802AB324 002A8284 D1 61 00 A8 */ stfs f11, 0xa8(r1) +/* 802AB328 002A8288 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 802AB32C 002A828C D1 41 00 BC */ stfs f10, 0xbc(r1) +/* 802AB330 002A8290 82 A1 02 CC */ lwz r21, 0x2cc(r1) +/* 802AB334 002A8294 D1 21 00 C0 */ stfs f9, 0xc0(r1) +/* 802AB338 002A8298 D1 01 00 C4 */ stfs f8, 0xc4(r1) +/* 802AB33C 002A829C D0 E1 00 C8 */ stfs f7, 0xc8(r1) +/* 802AB340 002A82A0 D0 C1 00 CC */ stfs f6, 0xcc(r1) +/* 802AB344 002A82A4 C8 D4 00 00 */ lfd f6, 0(r20) +/* 802AB348 002A82A8 90 A1 00 08 */ stw r5, 8(r1) +/* 802AB34C 002A82AC FC C0 30 18 */ frsp f6, f6 +/* 802AB350 002A82B0 91 01 00 0C */ stw r8, 0xc(r1) +/* 802AB354 002A82B4 EF A6 01 72 */ fmuls f29, f6, f5 +/* 802AB358 002A82B8 EF C6 01 32 */ fmuls f30, f6, f4 +/* 802AB35C 002A82BC EF E6 00 F2 */ fmuls f31, f6, f3 +/* 802AB360 002A82C0 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AB364 002A82C4 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AB368 002A82C8 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AB36C 002A82CC D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802AB370 002A82D0 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802AB374 002A82D4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802AB378 002A82D8 48 08 C7 91 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AB37C 002A82DC C0 50 00 04 */ lfs f2, 4(r16) +/* 802AB380 002A82E0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802AB384 002A82E4 C0 30 00 08 */ lfs f1, 8(r16) +/* 802AB388 002A82E8 38 81 00 70 */ addi r4, r1, 0x70 +/* 802AB38C 002A82EC C0 10 00 00 */ lfs f0, 0(r16) +/* 802AB390 002A82F0 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AB394 002A82F4 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AB398 002A82F8 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AB39C 002A82FC D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802AB3A0 002A8300 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802AB3A4 002A8304 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802AB3A8 002A8308 48 08 C7 61 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AB3AC 002A830C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802AB3B0 002A8310 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802AB3B4 002A8314 48 08 C2 59 */ bl GetCenterPoint__6CAABoxCFv +/* 802AB3B8 002A8318 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 802AB3BC 002A831C 3B 40 00 00 */ li r26, 0 +/* 802AB3C0 002A8320 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 802AB3C4 002A8324 3B 20 00 00 */ li r25, 0 +/* 802AB3C8 002A8328 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 802AB3CC 002A832C 3B 80 00 00 */ li r28, 0 +/* 802AB3D0 002A8330 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 802AB3D4 002A8334 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802AB3D8 002A8338 C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) +/* 802AB3DC 002A833C EC 41 00 28 */ fsubs f2, f1, f0 +/* 802AB3E0 002A8340 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 802AB3E4 002A8344 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 802AB3E8 002A8348 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802AB3EC 002A834C C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802AB3F0 002A8350 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AB3F4 002A8354 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802AB3F8 002A8358 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802AB3FC 002A835C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802AB400 002A8360 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802AB404 002A8364 80 0E 00 04 */ lwz r0, 4(r14) +/* 802AB408 002A8368 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802AB40C 002A836C 90 01 02 40 */ stw r0, 0x240(r1) +/* 802AB410 002A8370 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 802AB414 002A8374 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802AB418 002A8378 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802AB41C 002A837C D0 C1 00 8C */ stfs f6, 0x8c(r1) +/* 802AB420 002A8380 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802AB424 002A8384 48 00 06 0C */ b lbl_802ABA30 +lbl_802AB428: +/* 802AB428 002A8388 80 AE 00 0C */ lwz r5, 0xc(r14) +/* 802AB42C 002A838C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802AB430 002A8390 80 C1 00 08 */ lwz r6, 8(r1) +/* 802AB434 002A8394 7F 05 E2 2E */ lhzx r24, r5, r28 +/* 802AB438 002A8398 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AB43C 002A839C 7F 05 C3 78 */ mr r5, r24 +/* 802AB440 002A83A0 4B FF D6 01 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AB444 002A83A4 C1 01 00 D0 */ lfs f8, 0xd0(r1) +/* 802AB448 002A83A8 7D E3 7B 78 */ mr r3, r15 +/* 802AB44C 002A83AC C0 E1 00 D4 */ lfs f7, 0xd4(r1) +/* 802AB450 002A83B0 C0 C1 00 D8 */ lfs f6, 0xd8(r1) +/* 802AB454 002A83B4 C0 A1 00 DC */ lfs f5, 0xdc(r1) +/* 802AB458 002A83B8 C0 81 00 E0 */ lfs f4, 0xe0(r1) +/* 802AB45C 002A83BC C0 61 00 E4 */ lfs f3, 0xe4(r1) +/* 802AB460 002A83C0 C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 802AB464 002A83C4 C0 21 00 EC */ lfs f1, 0xec(r1) +/* 802AB468 002A83C8 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802AB46C 002A83CC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802AB470 002A83D0 D1 01 00 F8 */ stfs f8, 0xf8(r1) +/* 802AB474 002A83D4 D0 E1 00 FC */ stfs f7, 0xfc(r1) +/* 802AB478 002A83D8 D0 C1 01 00 */ stfs f6, 0x100(r1) +/* 802AB47C 002A83DC D0 A1 01 04 */ stfs f5, 0x104(r1) +/* 802AB480 002A83E0 D0 81 01 08 */ stfs f4, 0x108(r1) +/* 802AB484 002A83E4 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 802AB488 002A83E8 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 802AB48C 002A83EC D0 21 01 14 */ stfs f1, 0x114(r1) +/* 802AB490 002A83F0 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 802AB494 002A83F4 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802AB498 002A83F8 81 8F 00 00 */ lwz r12, 0(r15) +/* 802AB49C 002A83FC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AB4A0 002A8400 7D 89 03 A6 */ mtctr r12 +/* 802AB4A4 002A8404 4E 80 04 21 */ bctrl +/* 802AB4A8 002A8408 80 C1 01 1C */ lwz r6, 0x11c(r1) +/* 802AB4AC 002A840C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802AB4B0 002A8410 80 03 00 04 */ lwz r0, 4(r3) +/* 802AB4B4 002A8414 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AB4B8 002A8418 7C C0 03 78 */ or r0, r6, r0 +/* 802AB4BC 002A841C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802AB4C0 002A8420 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802AB4C4 002A8424 90 A1 00 38 */ stw r5, 0x38(r1) +/* 802AB4C8 002A8428 48 02 9E 85 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AB4CC 002A842C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB4D0 002A8430 41 82 05 58 */ beq lbl_802ABA28 +/* 802AB4D4 002A8434 38 C1 01 04 */ addi r6, r1, 0x104 +/* 802AB4D8 002A8438 38 E1 01 10 */ addi r7, r1, 0x110 +/* 802AB4DC 002A843C 38 61 00 94 */ addi r3, r1, 0x94 +/* 802AB4E0 002A8440 38 81 00 88 */ addi r4, r1, 0x88 +/* 802AB4E4 002A8444 38 A1 00 F8 */ addi r5, r1, 0xf8 +/* 802AB4E8 002A8448 48 02 5F F9 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AB4EC 002A844C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB4F0 002A8450 41 82 04 BC */ beq lbl_802AB9AC +/* 802AB4F4 002A8454 80 6F 00 1C */ lwz r3, 0x1c(r15) +/* 802AB4F8 002A8458 7F 04 C3 78 */ mr r4, r24 +/* 802AB4FC 002A845C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802AB500 002A8460 38 03 00 01 */ addi r0, r3, 1 +/* 802AB504 002A8464 90 0F 00 1C */ stw r0, 0x1c(r15) +/* 802AB508 002A8468 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB50C 002A846C 4B FF CA 55 */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AB510 002A8470 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB514 002A8474 7E 04 83 78 */ mr r4, r16 +/* 802AB518 002A8478 81 73 00 00 */ lwz r11, 0(r19) +/* 802AB51C 002A847C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802AB520 002A8480 81 53 00 04 */ lwz r10, 4(r19) +/* 802AB524 002A8484 38 B2 06 C4 */ addi r5, r18, 0x6c4 +/* 802AB528 002A8488 80 13 00 08 */ lwz r0, 8(r19) +/* 802AB52C 002A848C 38 C1 00 58 */ addi r6, r1, 0x58 +/* 802AB530 002A8490 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802AB534 002A8494 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802AB538 002A8498 39 01 00 AC */ addi r8, r1, 0xac +/* 802AB53C 002A849C 39 21 00 A0 */ addi r9, r1, 0xa0 +/* 802AB540 002A84A0 91 61 00 58 */ stw r11, 0x58(r1) +/* 802AB544 002A84A4 91 41 00 5C */ stw r10, 0x5c(r1) +/* 802AB548 002A84A8 90 01 00 60 */ stw r0, 0x60(r1) +/* 802AB54C 002A84AC 4B FF 8A A9 */ bl "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802AB550 002A84B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB554 002A84B4 41 82 00 E8 */ beq lbl_802AB63C +/* 802AB558 002A84B8 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802AB55C 002A84BC C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB560 002A84C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AB564 002A84C4 40 80 00 D8 */ bge lbl_802AB63C +/* 802AB568 002A84C8 7E 25 8B 78 */ mr r5, r17 +/* 802AB56C 002A84CC 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802AB570 002A84D0 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AB574 002A84D4 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802AB578 002A84D8 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB57C 002A84DC 48 02 2E CD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AB580 002A84E0 80 61 01 E0 */ lwz r3, 0x1e0(r1) +/* 802AB584 002A84E4 3B 40 00 01 */ li r26, 1 +/* 802AB588 002A84E8 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 802AB58C 002A84EC 90 75 00 00 */ stw r3, 0(r21) +/* 802AB590 002A84F0 90 15 00 04 */ stw r0, 4(r21) +/* 802AB594 002A84F4 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 802AB598 002A84F8 90 15 00 08 */ stw r0, 8(r21) +/* 802AB59C 002A84FC 80 61 01 EC */ lwz r3, 0x1ec(r1) +/* 802AB5A0 002A8500 80 01 01 F0 */ lwz r0, 0x1f0(r1) +/* 802AB5A4 002A8504 90 75 00 0C */ stw r3, 0xc(r21) +/* 802AB5A8 002A8508 90 15 00 10 */ stw r0, 0x10(r21) +/* 802AB5AC 002A850C 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 802AB5B0 002A8510 90 15 00 14 */ stw r0, 0x14(r21) +/* 802AB5B4 002A8514 80 61 01 F8 */ lwz r3, 0x1f8(r1) +/* 802AB5B8 002A8518 80 01 01 FC */ lwz r0, 0x1fc(r1) +/* 802AB5BC 002A851C 90 75 00 18 */ stw r3, 0x18(r21) +/* 802AB5C0 002A8520 90 15 00 1C */ stw r0, 0x1c(r21) +/* 802AB5C4 002A8524 80 01 02 00 */ lwz r0, 0x200(r1) +/* 802AB5C8 002A8528 90 15 00 20 */ stw r0, 0x20(r21) +/* 802AB5CC 002A852C 80 61 02 04 */ lwz r3, 0x204(r1) +/* 802AB5D0 002A8530 80 01 02 08 */ lwz r0, 0x208(r1) +/* 802AB5D4 002A8534 90 75 00 24 */ stw r3, 0x24(r21) +/* 802AB5D8 002A8538 90 15 00 28 */ stw r0, 0x28(r21) +/* 802AB5DC 002A853C 80 01 02 0C */ lwz r0, 0x20c(r1) +/* 802AB5E0 002A8540 90 15 00 2C */ stw r0, 0x2c(r21) +/* 802AB5E4 002A8544 88 01 02 10 */ lbz r0, 0x210(r1) +/* 802AB5E8 002A8548 98 15 00 30 */ stb r0, 0x30(r21) +/* 802AB5EC 002A854C 88 01 02 11 */ lbz r0, 0x211(r1) +/* 802AB5F0 002A8550 98 15 00 31 */ stb r0, 0x31(r21) +/* 802AB5F4 002A8554 C8 01 02 18 */ lfd f0, 0x218(r1) +/* 802AB5F8 002A8558 D8 15 00 38 */ stfd f0, 0x38(r21) +/* 802AB5FC 002A855C C8 01 02 20 */ lfd f0, 0x220(r1) +/* 802AB600 002A8560 D8 15 00 40 */ stfd f0, 0x40(r21) +/* 802AB604 002A8564 80 61 02 28 */ lwz r3, 0x228(r1) +/* 802AB608 002A8568 80 01 02 2C */ lwz r0, 0x22c(r1) +/* 802AB60C 002A856C 90 75 00 48 */ stw r3, 0x48(r21) +/* 802AB610 002A8570 90 15 00 4C */ stw r0, 0x4c(r21) +/* 802AB614 002A8574 80 01 02 30 */ lwz r0, 0x230(r1) +/* 802AB618 002A8578 90 15 00 50 */ stw r0, 0x50(r21) +/* 802AB61C 002A857C 80 61 02 34 */ lwz r3, 0x234(r1) +/* 802AB620 002A8580 80 01 02 38 */ lwz r0, 0x238(r1) +/* 802AB624 002A8584 90 75 00 54 */ stw r3, 0x54(r21) +/* 802AB628 002A8588 90 15 00 58 */ stw r0, 0x58(r21) +/* 802AB62C 002A858C 80 01 02 3C */ lwz r0, 0x23c(r1) +/* 802AB630 002A8590 90 15 00 5C */ stw r0, 0x5c(r21) +/* 802AB634 002A8594 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802AB638 002A8598 D8 14 00 00 */ stfd f0, 0(r20) +lbl_802AB63C: +/* 802AB63C 002A859C 3B 61 00 F8 */ addi r27, r1, 0xf8 +/* 802AB640 002A85A0 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AB644 002A85A4 7F 7D DB 78 */ mr r29, r27 +/* 802AB648 002A85A8 3B C1 00 30 */ addi r30, r1, 0x30 +/* 802AB64C 002A85AC 3B E3 2B AC */ addi r31, r3, lbl_80572BAC@l +/* 802AB650 002A85B0 3A E0 00 00 */ li r23, 0 +lbl_802AB654: +/* 802AB654 002A85B4 A2 DE 00 00 */ lhz r22, 0(r30) +/* 802AB658 002A85B8 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802AB65C 002A85BC 56 C3 08 3C */ slwi r3, r22, 1 +/* 802AB660 002A85C0 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802AB664 002A85C4 7C 00 20 40 */ cmplw r0, r4 +/* 802AB668 002A85C8 41 82 01 68 */ beq lbl_802AB7D0 +/* 802AB66C 002A85CC 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802AB670 002A85D0 7F A4 EB 78 */ mr r4, r29 +/* 802AB674 002A85D4 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802AB678 002A85D8 48 08 BE BD */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802AB67C 002A85DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB680 002A85E0 41 82 01 50 */ beq lbl_802AB7D0 +/* 802AB684 002A85E4 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB688 002A85E8 7F A3 EB 78 */ mr r3, r29 +/* 802AB68C 002A85EC 81 53 00 00 */ lwz r10, 0(r19) +/* 802AB690 002A85F0 7E 04 83 78 */ mr r4, r16 +/* 802AB694 002A85F4 81 33 00 04 */ lwz r9, 4(r19) +/* 802AB698 002A85F8 38 A1 00 4C */ addi r5, r1, 0x4c +/* 802AB69C 002A85FC 80 13 00 08 */ lwz r0, 8(r19) +/* 802AB6A0 002A8600 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802AB6A4 002A8604 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802AB6A8 002A8608 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB6AC 002A860C 39 01 00 A0 */ addi r8, r1, 0xa0 +/* 802AB6B0 002A8610 91 41 00 4C */ stw r10, 0x4c(r1) +/* 802AB6B4 002A8614 91 21 00 50 */ stw r9, 0x50(r1) +/* 802AB6B8 002A8618 90 01 00 54 */ stw r0, 0x54(r1) +/* 802AB6BC 002A861C 4B FF 8A 51 */ bl MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f +/* 802AB6C0 002A8620 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB6C4 002A8624 41 82 01 0C */ beq lbl_802AB7D0 +/* 802AB6C8 002A8628 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802AB6CC 002A862C C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB6D0 002A8630 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AB6D4 002A8634 40 80 00 FC */ bge lbl_802AB7D0 +/* 802AB6D8 002A8638 80 CF 00 10 */ lwz r6, 0x10(r15) +/* 802AB6DC 002A863C 38 00 00 00 */ li r0, 0 +/* 802AB6E0 002A8640 7E 25 8B 78 */ mr r5, r17 +/* 802AB6E4 002A8644 38 61 01 80 */ addi r3, r1, 0x180 +/* 802AB6E8 002A8648 80 E6 00 34 */ lwz r7, 0x34(r6) +/* 802AB6EC 002A864C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AB6F0 002A8650 81 26 00 24 */ lwz r9, 0x24(r6) +/* 802AB6F4 002A8654 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802AB6F8 002A8658 7D 07 B0 AE */ lbzx r8, r7, r22 +/* 802AB6FC 002A865C 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB700 002A8660 55 08 10 3A */ slwi r8, r8, 2 +/* 802AB704 002A8664 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802AB708 002A8668 91 01 00 1C */ stw r8, 0x1c(r1) +/* 802AB70C 002A866C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802AB710 002A8670 48 02 2D 39 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AB714 002A8674 80 61 01 80 */ lwz r3, 0x180(r1) +/* 802AB718 002A8678 3B 40 00 01 */ li r26, 1 +/* 802AB71C 002A867C 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802AB720 002A8680 90 75 00 00 */ stw r3, 0(r21) +/* 802AB724 002A8684 90 15 00 04 */ stw r0, 4(r21) +/* 802AB728 002A8688 80 01 01 88 */ lwz r0, 0x188(r1) +/* 802AB72C 002A868C 90 15 00 08 */ stw r0, 8(r21) +/* 802AB730 002A8690 80 61 01 8C */ lwz r3, 0x18c(r1) +/* 802AB734 002A8694 80 01 01 90 */ lwz r0, 0x190(r1) +/* 802AB738 002A8698 90 75 00 0C */ stw r3, 0xc(r21) +/* 802AB73C 002A869C 90 15 00 10 */ stw r0, 0x10(r21) +/* 802AB740 002A86A0 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802AB744 002A86A4 90 15 00 14 */ stw r0, 0x14(r21) +/* 802AB748 002A86A8 80 61 01 98 */ lwz r3, 0x198(r1) +/* 802AB74C 002A86AC 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 802AB750 002A86B0 90 75 00 18 */ stw r3, 0x18(r21) +/* 802AB754 002A86B4 90 15 00 1C */ stw r0, 0x1c(r21) +/* 802AB758 002A86B8 80 01 01 A0 */ lwz r0, 0x1a0(r1) +/* 802AB75C 002A86BC 90 15 00 20 */ stw r0, 0x20(r21) +/* 802AB760 002A86C0 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 802AB764 002A86C4 80 01 01 A8 */ lwz r0, 0x1a8(r1) +/* 802AB768 002A86C8 90 75 00 24 */ stw r3, 0x24(r21) +/* 802AB76C 002A86CC 90 15 00 28 */ stw r0, 0x28(r21) +/* 802AB770 002A86D0 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 802AB774 002A86D4 90 15 00 2C */ stw r0, 0x2c(r21) +/* 802AB778 002A86D8 88 01 01 B0 */ lbz r0, 0x1b0(r1) +/* 802AB77C 002A86DC 98 15 00 30 */ stb r0, 0x30(r21) +/* 802AB780 002A86E0 88 01 01 B1 */ lbz r0, 0x1b1(r1) +/* 802AB784 002A86E4 98 15 00 31 */ stb r0, 0x31(r21) +/* 802AB788 002A86E8 C8 01 01 B8 */ lfd f0, 0x1b8(r1) +/* 802AB78C 002A86EC D8 15 00 38 */ stfd f0, 0x38(r21) +/* 802AB790 002A86F0 C8 01 01 C0 */ lfd f0, 0x1c0(r1) +/* 802AB794 002A86F4 D8 15 00 40 */ stfd f0, 0x40(r21) +/* 802AB798 002A86F8 80 61 01 C8 */ lwz r3, 0x1c8(r1) +/* 802AB79C 002A86FC 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 802AB7A0 002A8700 90 75 00 48 */ stw r3, 0x48(r21) +/* 802AB7A4 002A8704 90 15 00 4C */ stw r0, 0x4c(r21) +/* 802AB7A8 002A8708 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 802AB7AC 002A870C 90 15 00 50 */ stw r0, 0x50(r21) +/* 802AB7B0 002A8710 80 61 01 D4 */ lwz r3, 0x1d4(r1) +/* 802AB7B4 002A8714 80 01 01 D8 */ lwz r0, 0x1d8(r1) +/* 802AB7B8 002A8718 90 75 00 54 */ stw r3, 0x54(r21) +/* 802AB7BC 002A871C 90 15 00 58 */ stw r0, 0x58(r21) +/* 802AB7C0 002A8720 80 01 01 DC */ lwz r0, 0x1dc(r1) +/* 802AB7C4 002A8724 90 15 00 5C */ stw r0, 0x5c(r21) +/* 802AB7C8 002A8728 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802AB7CC 002A872C D8 14 00 00 */ stfd f0, 0(r20) +lbl_802AB7D0: +/* 802AB7D0 002A8730 3A F7 00 01 */ addi r23, r23, 1 +/* 802AB7D4 002A8734 3B BD 00 0C */ addi r29, r29, 0xc +/* 802AB7D8 002A8738 2C 17 00 03 */ cmpwi r23, 3 +/* 802AB7DC 002A873C 3B DE 00 02 */ addi r30, r30, 2 +/* 802AB7E0 002A8740 41 80 FE 74 */ blt lbl_802AB654 +/* 802AB7E4 002A8744 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB7E8 002A8748 7F 04 C3 78 */ mr r4, r24 +/* 802AB7EC 002A874C 4B FF C7 61 */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AB7F0 002A8750 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802AB7F4 002A8754 7C 78 1B 78 */ mr r24, r3 +/* 802AB7F8 002A8758 3A C4 BB AC */ addi r22, r4, lbl_8058BBAC@l +/* 802AB7FC 002A875C 3B A0 00 00 */ li r29, 0 +lbl_802AB800: +/* 802AB800 002A8760 A0 B8 00 00 */ lhz r5, 0(r24) +/* 802AB804 002A8764 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802AB808 002A8768 54 A3 08 3C */ slwi r3, r5, 1 +/* 802AB80C 002A876C 7C 16 1A 2E */ lhzx r0, r22, r3 +/* 802AB810 002A8770 7C 00 20 40 */ cmplw r0, r4 +/* 802AB814 002A8774 41 82 01 80 */ beq lbl_802AB994 +/* 802AB818 002A8778 7C 96 1B 2E */ sthx r4, r22, r3 +/* 802AB81C 002A877C 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AB820 002A8780 80 64 00 44 */ lwz r3, 0x44(r4) +/* 802AB824 002A8784 80 84 00 24 */ lwz r4, 0x24(r4) +/* 802AB828 002A8788 7C 03 28 AE */ lbzx r0, r3, r5 +/* 802AB82C 002A878C 54 00 10 3A */ slwi r0, r0, 2 +/* 802AB830 002A8790 7E E4 00 2E */ lwzx r23, r4, r0 +/* 802AB834 002A8794 56 E0 01 CF */ rlwinm. r0, r23, 0, 7, 7 +/* 802AB838 002A8798 40 82 01 5C */ bne lbl_802AB994 +/* 802AB83C 002A879C 38 7D FF FE */ addi r3, r29, -2 +/* 802AB840 002A87A0 20 1D 00 02 */ subfic r0, r29, 2 +/* 802AB844 002A87A4 7C 60 00 F8 */ nor r0, r3, r0 +/* 802AB848 002A87A8 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB84C 002A87AC 7C 03 FE 70 */ srawi r3, r0, 0x1f +/* 802AB850 002A87B0 38 1D 00 01 */ addi r0, r29, 1 +/* 802AB854 002A87B4 7C 00 18 78 */ andc r0, r0, r3 +/* 802AB858 002A87B8 80 D3 00 00 */ lwz r6, 0(r19) +/* 802AB85C 002A87BC 81 13 00 04 */ lwz r8, 4(r19) +/* 802AB860 002A87C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802AB864 002A87C4 81 53 00 08 */ lwz r10, 8(r19) +/* 802AB868 002A87C8 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 802AB86C 002A87CC D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802AB870 002A87D0 7F 63 DB 78 */ mr r3, r27 +/* 802AB874 002A87D4 7E 45 93 78 */ mr r5, r18 +/* 802AB878 002A87D8 90 C1 00 40 */ stw r6, 0x40(r1) +/* 802AB87C 002A87DC 7C 84 02 14 */ add r4, r4, r0 +/* 802AB880 002A87E0 38 C1 00 40 */ addi r6, r1, 0x40 +/* 802AB884 002A87E4 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802AB888 002A87E8 91 01 00 44 */ stw r8, 0x44(r1) +/* 802AB88C 002A87EC 39 01 00 AC */ addi r8, r1, 0xac +/* 802AB890 002A87F0 39 21 00 A0 */ addi r9, r1, 0xa0 +/* 802AB894 002A87F4 91 41 00 48 */ stw r10, 0x48(r1) +/* 802AB898 002A87F8 4B FF 82 F1 */ bl "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802AB89C 002A87FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB8A0 002A8800 41 82 00 F4 */ beq lbl_802AB994 +/* 802AB8A4 002A8804 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802AB8A8 002A8808 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB8AC 002A880C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AB8B0 002A8810 40 80 00 E4 */ bge lbl_802AB994 +/* 802AB8B4 002A8814 38 00 00 00 */ li r0, 0 +/* 802AB8B8 002A8818 92 E1 00 14 */ stw r23, 0x14(r1) +/* 802AB8BC 002A881C 7E 25 8B 78 */ mr r5, r17 +/* 802AB8C0 002A8820 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AB8C4 002A8824 90 01 00 10 */ stw r0, 0x10(r1) +/* 802AB8C8 002A8828 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AB8CC 002A882C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802AB8D0 002A8830 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB8D4 002A8834 48 02 2B 75 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AB8D8 002A8838 80 61 01 20 */ lwz r3, 0x120(r1) +/* 802AB8DC 002A883C 3B 40 00 01 */ li r26, 1 +/* 802AB8E0 002A8840 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802AB8E4 002A8844 90 75 00 00 */ stw r3, 0(r21) +/* 802AB8E8 002A8848 90 15 00 04 */ stw r0, 4(r21) +/* 802AB8EC 002A884C 80 01 01 28 */ lwz r0, 0x128(r1) +/* 802AB8F0 002A8850 90 15 00 08 */ stw r0, 8(r21) +/* 802AB8F4 002A8854 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 802AB8F8 002A8858 80 01 01 30 */ lwz r0, 0x130(r1) +/* 802AB8FC 002A885C 90 75 00 0C */ stw r3, 0xc(r21) +/* 802AB900 002A8860 90 15 00 10 */ stw r0, 0x10(r21) +/* 802AB904 002A8864 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802AB908 002A8868 90 15 00 14 */ stw r0, 0x14(r21) +/* 802AB90C 002A886C 80 61 01 38 */ lwz r3, 0x138(r1) +/* 802AB910 002A8870 80 01 01 3C */ lwz r0, 0x13c(r1) +/* 802AB914 002A8874 90 75 00 18 */ stw r3, 0x18(r21) +/* 802AB918 002A8878 90 15 00 1C */ stw r0, 0x1c(r21) +/* 802AB91C 002A887C 80 01 01 40 */ lwz r0, 0x140(r1) +/* 802AB920 002A8880 90 15 00 20 */ stw r0, 0x20(r21) +/* 802AB924 002A8884 80 61 01 44 */ lwz r3, 0x144(r1) +/* 802AB928 002A8888 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802AB92C 002A888C 90 75 00 24 */ stw r3, 0x24(r21) +/* 802AB930 002A8890 90 15 00 28 */ stw r0, 0x28(r21) +/* 802AB934 002A8894 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 802AB938 002A8898 90 15 00 2C */ stw r0, 0x2c(r21) +/* 802AB93C 002A889C 88 01 01 50 */ lbz r0, 0x150(r1) +/* 802AB940 002A88A0 98 15 00 30 */ stb r0, 0x30(r21) +/* 802AB944 002A88A4 88 01 01 51 */ lbz r0, 0x151(r1) +/* 802AB948 002A88A8 98 15 00 31 */ stb r0, 0x31(r21) +/* 802AB94C 002A88AC C8 01 01 58 */ lfd f0, 0x158(r1) +/* 802AB950 002A88B0 D8 15 00 38 */ stfd f0, 0x38(r21) +/* 802AB954 002A88B4 C8 01 01 60 */ lfd f0, 0x160(r1) +/* 802AB958 002A88B8 D8 15 00 40 */ stfd f0, 0x40(r21) +/* 802AB95C 002A88BC 80 61 01 68 */ lwz r3, 0x168(r1) +/* 802AB960 002A88C0 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 802AB964 002A88C4 90 75 00 48 */ stw r3, 0x48(r21) +/* 802AB968 002A88C8 90 15 00 4C */ stw r0, 0x4c(r21) +/* 802AB96C 002A88CC 80 01 01 70 */ lwz r0, 0x170(r1) +/* 802AB970 002A88D0 90 15 00 50 */ stw r0, 0x50(r21) +/* 802AB974 002A88D4 80 61 01 74 */ lwz r3, 0x174(r1) +/* 802AB978 002A88D8 80 01 01 78 */ lwz r0, 0x178(r1) +/* 802AB97C 002A88DC 90 75 00 54 */ stw r3, 0x54(r21) +/* 802AB980 002A88E0 90 15 00 58 */ stw r0, 0x58(r21) +/* 802AB984 002A88E4 80 01 01 7C */ lwz r0, 0x17c(r1) +/* 802AB988 002A88E8 90 15 00 5C */ stw r0, 0x5c(r21) +/* 802AB98C 002A88EC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802AB990 002A88F0 D8 14 00 00 */ stfd f0, 0(r20) +lbl_802AB994: +/* 802AB994 002A88F4 3B BD 00 01 */ addi r29, r29, 1 +/* 802AB998 002A88F8 3B 7B 00 0C */ addi r27, r27, 0xc +/* 802AB99C 002A88FC 2C 1D 00 03 */ cmpwi r29, 3 +/* 802AB9A0 002A8900 3B 18 00 02 */ addi r24, r24, 2 +/* 802AB9A4 002A8904 41 80 FE 5C */ blt lbl_802AB800 +/* 802AB9A8 002A8908 48 00 00 80 */ b lbl_802ABA28 +lbl_802AB9AC: +/* 802AB9AC 002A890C 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB9B0 002A8910 7F 04 C3 78 */ mr r4, r24 +/* 802AB9B4 002A8914 4B FF C5 99 */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AB9B8 002A8918 A0 03 00 00 */ lhz r0, 0(r3) +/* 802AB9BC 002A891C 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802AB9C0 002A8920 A0 ED A5 D0 */ lhz r7, lbl_805A9190@sda21(r13) +/* 802AB9C4 002A8924 38 C4 BB AC */ addi r6, r4, lbl_8058BBAC@l +/* 802AB9C8 002A8928 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB9CC 002A892C 7F 04 C3 78 */ mr r4, r24 +/* 802AB9D0 002A8930 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB9D4 002A8934 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802AB9D8 002A8938 A0 03 00 02 */ lhz r0, 2(r3) +/* 802AB9DC 002A893C 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB9E0 002A8940 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB9E4 002A8944 A0 03 00 04 */ lhz r0, 4(r3) +/* 802AB9E8 002A8948 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB9EC 002A894C 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB9F0 002A8950 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB9F4 002A8954 4B FF C5 6D */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AB9F8 002A8958 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 802AB9FC 002A895C 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802ABA00 002A8960 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802ABA04 002A8964 38 83 2B AC */ addi r4, r3, lbl_80572BAC@l +/* 802ABA08 002A8968 54 03 08 3C */ slwi r3, r0, 1 +/* 802ABA0C 002A896C A0 01 00 22 */ lhz r0, 0x22(r1) +/* 802ABA10 002A8970 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802ABA14 002A8974 54 03 08 3C */ slwi r3, r0, 1 +/* 802ABA18 002A8978 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802ABA1C 002A897C 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802ABA20 002A8980 54 00 08 3C */ slwi r0, r0, 1 +/* 802ABA24 002A8984 7C A4 03 2E */ sthx r5, r4, r0 +lbl_802ABA28: +/* 802ABA28 002A8988 3B 9C 00 02 */ addi r28, r28, 2 +/* 802ABA2C 002A898C 3B 39 00 01 */ addi r25, r25, 1 +lbl_802ABA30: +/* 802ABA30 002A8990 80 01 02 40 */ lwz r0, 0x240(r1) +/* 802ABA34 002A8994 7C 19 00 00 */ cmpw r25, r0 +/* 802ABA38 002A8998 41 80 F9 F0 */ blt lbl_802AB428 +/* 802ABA3C 002A899C 7F 43 D3 78 */ mr r3, r26 +/* 802ABA40 002A89A0 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 802ABA44 002A89A4 CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 802ABA48 002A89A8 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 +/* 802ABA4C 002A89AC CB C1 02 A0 */ lfd f30, 0x2a0(r1) +/* 802ABA50 002A89B0 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 +/* 802ABA54 002A89B4 CB A1 02 90 */ lfd f29, 0x290(r1) +/* 802ABA58 002A89B8 B9 C1 02 48 */ lmw r14, 0x248(r1) +/* 802ABA5C 002A89BC 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802ABA60 002A89C0 7C 08 03 A6 */ mtlr r0 +/* 802ABA64 002A89C4 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 802ABA68 002A89C8 4E 80 00 20 */ blr + +.global AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo: +/* 802ABA6C 002A89CC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802ABA70 002A89D0 7C 08 02 A6 */ mflr r0 +/* 802ABA74 002A89D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802ABA78 002A89D8 BE 81 00 20 */ stmw r20, 0x20(r1) +/* 802ABA7C 002A89DC 7C 7C 1B 78 */ mr r28, r3 +/* 802ABA80 002A89E0 7C FF 3B 78 */ mr r31, r7 +/* 802ABA84 002A89E4 83 01 00 58 */ lwz r24, 0x58(r1) +/* 802ABA88 002A89E8 83 21 00 5C */ lwz r25, 0x5c(r1) +/* 802ABA8C 002A89EC 7C 9D 23 78 */ mr r29, r4 +/* 802ABA90 002A89F0 83 41 00 60 */ lwz r26, 0x60(r1) +/* 802ABA94 002A89F4 7C BE 2B 78 */ mr r30, r5 +/* 802ABA98 002A89F8 7C D4 33 78 */ mr r20, r6 +/* 802ABA9C 002A89FC 7D 15 43 78 */ mr r21, r8 +/* 802ABAA0 002A8A00 7D 36 4B 78 */ mr r22, r9 +/* 802ABAA4 002A8A04 7D 57 53 78 */ mr r23, r10 +/* 802ABAA8 002A8A08 3B 60 00 00 */ li r27, 0 +/* 802ABAAC 002A8A0C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802ABAB0 002A8A10 38 03 00 01 */ addi r0, r3, 1 +/* 802ABAB4 002A8A14 7F E3 FB 78 */ mr r3, r31 +/* 802ABAB8 002A8A18 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802ABABC 002A8A1C 48 02 99 D9 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802ABAC0 002A8A20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABAC4 002A8A24 41 82 00 D0 */ beq lbl_802ABB94 +/* 802ABAC8 002A8A28 38 00 00 01 */ li r0, 1 +/* 802ABACC 002A8A2C 98 1D 00 4C */ stb r0, 0x4c(r29) +/* 802ABAD0 002A8A30 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802ABAD4 002A8A34 28 00 00 00 */ cmplwi r0, 0 +/* 802ABAD8 002A8A38 41 82 00 40 */ beq lbl_802ABB18 +/* 802ABADC 002A8A3C 93 21 00 08 */ stw r25, 8(r1) +/* 802ABAE0 002A8A40 7F 83 E3 78 */ mr r3, r28 +/* 802ABAE4 002A8A44 7F C5 F3 78 */ mr r5, r30 +/* 802ABAE8 002A8A48 7E 86 A3 78 */ mr r6, r20 +/* 802ABAEC 002A8A4C 93 41 00 0C */ stw r26, 0xc(r1) +/* 802ABAF0 002A8A50 7E A7 AB 78 */ mr r7, r21 +/* 802ABAF4 002A8A54 7E C8 B3 78 */ mr r8, r22 +/* 802ABAF8 002A8A58 7E E9 BB 78 */ mr r9, r23 +/* 802ABAFC 002A8A5C 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802ABB00 002A8A60 7F 0A C3 78 */ mr r10, r24 +/* 802ABB04 002A8A64 4B FF F7 7D */ bl AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ABB08 002A8A68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABB0C 002A8A6C 41 82 00 94 */ beq lbl_802ABBA0 +/* 802ABB10 002A8A70 3B 60 00 01 */ li r27, 1 +/* 802ABB14 002A8A74 48 00 00 8C */ b lbl_802ABBA0 +lbl_802ABB18: +/* 802ABB18 002A8A78 93 01 00 08 */ stw r24, 8(r1) +/* 802ABB1C 002A8A7C 7F 83 E3 78 */ mr r3, r28 +/* 802ABB20 002A8A80 7F C5 F3 78 */ mr r5, r30 +/* 802ABB24 002A8A84 7E 86 A3 78 */ mr r6, r20 +/* 802ABB28 002A8A88 93 21 00 0C */ stw r25, 0xc(r1) +/* 802ABB2C 002A8A8C 7F E7 FB 78 */ mr r7, r31 +/* 802ABB30 002A8A90 7E A8 AB 78 */ mr r8, r21 +/* 802ABB34 002A8A94 7E C9 B3 78 */ mr r9, r22 +/* 802ABB38 002A8A98 93 41 00 10 */ stw r26, 0x10(r1) +/* 802ABB3C 002A8A9C 7E EA BB 78 */ mr r10, r23 +/* 802ABB40 002A8AA0 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802ABB44 002A8AA4 4B FF FF 29 */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ABB48 002A8AA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABB4C 002A8AAC 41 82 00 08 */ beq lbl_802ABB54 +/* 802ABB50 002A8AB0 3B 60 00 01 */ li r27, 1 +lbl_802ABB54: +/* 802ABB54 002A8AB4 93 01 00 08 */ stw r24, 8(r1) +/* 802ABB58 002A8AB8 7F 83 E3 78 */ mr r3, r28 +/* 802ABB5C 002A8ABC 7F C5 F3 78 */ mr r5, r30 +/* 802ABB60 002A8AC0 7E 86 A3 78 */ mr r6, r20 +/* 802ABB64 002A8AC4 93 21 00 0C */ stw r25, 0xc(r1) +/* 802ABB68 002A8AC8 7F E7 FB 78 */ mr r7, r31 +/* 802ABB6C 002A8ACC 7E A8 AB 78 */ mr r8, r21 +/* 802ABB70 002A8AD0 7E C9 B3 78 */ mr r9, r22 +/* 802ABB74 002A8AD4 93 41 00 10 */ stw r26, 0x10(r1) +/* 802ABB78 002A8AD8 7E EA BB 78 */ mr r10, r23 +/* 802ABB7C 002A8ADC 80 9D 00 44 */ lwz r4, 0x44(r29) +/* 802ABB80 002A8AE0 4B FF FE ED */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ABB84 002A8AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABB88 002A8AE8 41 82 00 18 */ beq lbl_802ABBA0 +/* 802ABB8C 002A8AEC 3B 60 00 01 */ li r27, 1 +/* 802ABB90 002A8AF0 48 00 00 10 */ b lbl_802ABBA0 +lbl_802ABB94: +/* 802ABB94 002A8AF4 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802ABB98 002A8AF8 38 03 00 01 */ addi r0, r3, 1 +/* 802ABB9C 002A8AFC 90 1C 00 18 */ stw r0, 0x18(r28) +lbl_802ABBA0: +/* 802ABBA0 002A8B00 7F 63 DB 78 */ mr r3, r27 +/* 802ABBA4 002A8B04 BA 81 00 20 */ lmw r20, 0x20(r1) +/* 802ABBA8 002A8B08 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802ABBAC 002A8B0C 7C 08 03 A6 */ mtlr r0 +/* 802ABBB0 002A8B10 38 21 00 50 */ addi r1, r1, 0x50 +/* 802ABBB4 002A8B14 4E 80 00 20 */ blr + +.global SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter: +/* 802ABBB8 002A8B18 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802ABBBC 002A8B1C 7C 08 02 A6 */ mflr r0 +/* 802ABBC0 002A8B20 90 01 00 94 */ stw r0, 0x94(r1) +/* 802ABBC4 002A8B24 BE C1 00 68 */ stmw r22, 0x68(r1) +/* 802ABBC8 002A8B28 7C 76 1B 78 */ mr r22, r3 +/* 802ABBCC 002A8B2C 7C FA 3B 78 */ mr r26, r7 +/* 802ABBD0 002A8B30 7C 9B 23 78 */ mr r27, r4 +/* 802ABBD4 002A8B34 7C B7 2B 78 */ mr r23, r5 +/* 802ABBD8 002A8B38 7C D8 33 78 */ mr r24, r6 +/* 802ABBDC 002A8B3C 7D 19 43 78 */ mr r25, r8 +/* 802ABBE0 002A8B40 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802ABBE4 002A8B44 38 03 00 01 */ addi r0, r3, 1 +/* 802ABBE8 002A8B48 7F 43 D3 78 */ mr r3, r26 +/* 802ABBEC 002A8B4C 90 16 00 14 */ stw r0, 0x14(r22) +/* 802ABBF0 002A8B50 48 02 98 A5 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802ABBF4 002A8B54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABBF8 002A8B58 41 82 01 6C */ beq lbl_802ABD64 +/* 802ABBFC 002A8B5C 38 00 00 01 */ li r0, 1 +/* 802ABC00 002A8B60 98 1B 00 4C */ stb r0, 0x4c(r27) +/* 802ABC04 002A8B64 88 1B 00 3C */ lbz r0, 0x3c(r27) +/* 802ABC08 002A8B68 28 00 00 00 */ cmplwi r0, 0 +/* 802ABC0C 002A8B6C 41 82 01 00 */ beq lbl_802ABD0C +/* 802ABC10 002A8B70 83 FB 00 48 */ lwz r31, 0x48(r27) +/* 802ABC14 002A8B74 3B 61 00 44 */ addi r27, r1, 0x44 +/* 802ABC18 002A8B78 3B 81 00 50 */ addi r28, r1, 0x50 +/* 802ABC1C 002A8B7C 3B 40 00 00 */ li r26, 0 +/* 802ABC20 002A8B80 83 DF 00 04 */ lwz r30, 4(r31) +/* 802ABC24 002A8B84 3B A0 00 00 */ li r29, 0 +/* 802ABC28 002A8B88 48 00 00 D8 */ b lbl_802ABD00 +lbl_802ABC2C: +/* 802ABC2C 002A8B8C 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802ABC30 002A8B90 7E E6 BB 78 */ mr r6, r23 +/* 802ABC34 002A8B94 80 96 00 10 */ lwz r4, 0x10(r22) +/* 802ABC38 002A8B98 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ABC3C 002A8B9C 7C A5 EA 2E */ lhzx r5, r5, r29 +/* 802ABC40 002A8BA0 4B FF CE 01 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802ABC44 002A8BA4 C1 01 00 10 */ lfs f8, 0x10(r1) +/* 802ABC48 002A8BA8 7E C3 B3 78 */ mr r3, r22 +/* 802ABC4C 002A8BAC C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 802ABC50 002A8BB0 C0 C1 00 18 */ lfs f6, 0x18(r1) +/* 802ABC54 002A8BB4 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 802ABC58 002A8BB8 C0 81 00 20 */ lfs f4, 0x20(r1) +/* 802ABC5C 002A8BBC C0 61 00 24 */ lfs f3, 0x24(r1) +/* 802ABC60 002A8BC0 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802ABC64 002A8BC4 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802ABC68 002A8BC8 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802ABC6C 002A8BCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802ABC70 002A8BD0 D1 01 00 38 */ stfs f8, 0x38(r1) +/* 802ABC74 002A8BD4 D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 802ABC78 002A8BD8 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 802ABC7C 002A8BDC D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802ABC80 002A8BE0 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802ABC84 002A8BE4 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802ABC88 002A8BE8 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802ABC8C 002A8BEC D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802ABC90 002A8BF0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802ABC94 002A8BF4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802ABC98 002A8BF8 81 96 00 00 */ lwz r12, 0(r22) +/* 802ABC9C 002A8BFC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ABCA0 002A8C00 7D 89 03 A6 */ mtctr r12 +/* 802ABCA4 002A8C04 4E 80 04 21 */ bctrl +/* 802ABCA8 002A8C08 80 C1 00 5C */ lwz r6, 0x5c(r1) +/* 802ABCAC 002A8C0C 38 81 00 08 */ addi r4, r1, 8 +/* 802ABCB0 002A8C10 80 03 00 04 */ lwz r0, 4(r3) +/* 802ABCB4 002A8C14 80 A3 00 00 */ lwz r5, 0(r3) +/* 802ABCB8 002A8C18 7F 23 CB 78 */ mr r3, r25 +/* 802ABCBC 002A8C1C 7C C0 03 78 */ or r0, r6, r0 +/* 802ABCC0 002A8C20 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ABCC4 002A8C24 90 A1 00 08 */ stw r5, 8(r1) +/* 802ABCC8 002A8C28 48 02 96 85 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802ABCCC 002A8C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABCD0 002A8C30 41 82 00 28 */ beq lbl_802ABCF8 +/* 802ABCD4 002A8C34 7F 03 C3 78 */ mr r3, r24 +/* 802ABCD8 002A8C38 7F 65 DB 78 */ mr r5, r27 +/* 802ABCDC 002A8C3C 7F 86 E3 78 */ mr r6, r28 +/* 802ABCE0 002A8C40 38 81 00 38 */ addi r4, r1, 0x38 +/* 802ABCE4 002A8C44 48 02 47 5D */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +/* 802ABCE8 002A8C48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABCEC 002A8C4C 41 82 00 0C */ beq lbl_802ABCF8 +/* 802ABCF0 002A8C50 38 60 00 01 */ li r3, 1 +/* 802ABCF4 002A8C54 48 00 00 80 */ b lbl_802ABD74 +lbl_802ABCF8: +/* 802ABCF8 002A8C58 3B BD 00 02 */ addi r29, r29, 2 +/* 802ABCFC 002A8C5C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802ABD00: +/* 802ABD00 002A8C60 7C 1A F0 00 */ cmpw r26, r30 +/* 802ABD04 002A8C64 41 80 FF 28 */ blt lbl_802ABC2C +/* 802ABD08 002A8C68 48 00 00 68 */ b lbl_802ABD70 +lbl_802ABD0C: +/* 802ABD0C 002A8C6C 80 9B 00 40 */ lwz r4, 0x40(r27) +/* 802ABD10 002A8C70 7E C3 B3 78 */ mr r3, r22 +/* 802ABD14 002A8C74 7E E5 BB 78 */ mr r5, r23 +/* 802ABD18 002A8C78 7F 06 C3 78 */ mr r6, r24 +/* 802ABD1C 002A8C7C 7F 47 D3 78 */ mr r7, r26 +/* 802ABD20 002A8C80 7F 28 CB 78 */ mr r8, r25 +/* 802ABD24 002A8C84 4B FF FE 95 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +/* 802ABD28 002A8C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABD2C 002A8C8C 41 82 00 0C */ beq lbl_802ABD38 +/* 802ABD30 002A8C90 38 60 00 01 */ li r3, 1 +/* 802ABD34 002A8C94 48 00 00 40 */ b lbl_802ABD74 +lbl_802ABD38: +/* 802ABD38 002A8C98 80 9B 00 44 */ lwz r4, 0x44(r27) +/* 802ABD3C 002A8C9C 7E C3 B3 78 */ mr r3, r22 +/* 802ABD40 002A8CA0 7E E5 BB 78 */ mr r5, r23 +/* 802ABD44 002A8CA4 7F 06 C3 78 */ mr r6, r24 +/* 802ABD48 002A8CA8 7F 47 D3 78 */ mr r7, r26 +/* 802ABD4C 002A8CAC 7F 28 CB 78 */ mr r8, r25 +/* 802ABD50 002A8CB0 4B FF FE 69 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +/* 802ABD54 002A8CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABD58 002A8CB8 41 82 00 18 */ beq lbl_802ABD70 +/* 802ABD5C 002A8CBC 38 60 00 01 */ li r3, 1 +/* 802ABD60 002A8CC0 48 00 00 14 */ b lbl_802ABD74 +lbl_802ABD64: +/* 802ABD64 002A8CC4 80 76 00 18 */ lwz r3, 0x18(r22) +/* 802ABD68 002A8CC8 38 03 00 01 */ addi r0, r3, 1 +/* 802ABD6C 002A8CCC 90 16 00 18 */ stw r0, 0x18(r22) +lbl_802ABD70: +/* 802ABD70 002A8CD0 38 60 00 00 */ li r3, 0 +lbl_802ABD74: +/* 802ABD74 002A8CD4 BA C1 00 68 */ lmw r22, 0x68(r1) +/* 802ABD78 002A8CD8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802ABD7C 002A8CDC 7C 08 03 A6 */ mtlr r0 +/* 802ABD80 002A8CE0 38 21 00 90 */ addi r1, r1, 0x90 +/* 802ABD84 002A8CE4 4E 80 00 20 */ blr + +.global AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter: +/* 802ABD88 002A8CE8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802ABD8C 002A8CEC 7C 08 02 A6 */ mflr r0 +/* 802ABD90 002A8CF0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802ABD94 002A8CF4 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 802ABD98 002A8CF8 7C 78 1B 78 */ mr r24, r3 +/* 802ABD9C 002A8CFC 7C DB 33 78 */ mr r27, r6 +/* 802ABDA0 002A8D00 7C 9C 23 78 */ mr r28, r4 +/* 802ABDA4 002A8D04 7C B9 2B 78 */ mr r25, r5 +/* 802ABDA8 002A8D08 7C F7 3B 78 */ mr r23, r7 +/* 802ABDAC 002A8D0C 7D 1A 43 78 */ mr r26, r8 +/* 802ABDB0 002A8D10 7F 64 DB 78 */ mr r4, r27 +/* 802ABDB4 002A8D14 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ABDB8 002A8D18 48 08 B8 55 */ bl GetCenterPoint__6CAABoxCFv +/* 802ABDBC 002A8D1C C0 7B 00 10 */ lfs f3, 0x10(r27) +/* 802ABDC0 002A8D20 7E E3 BB 78 */ mr r3, r23 +/* 802ABDC4 002A8D24 C0 5B 00 04 */ lfs f2, 4(r27) +/* 802ABDC8 002A8D28 7F 84 E3 78 */ mr r4, r28 +/* 802ABDCC 002A8D2C C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 802ABDD0 002A8D30 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802ABDD4 002A8D34 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802ABDD8 002A8D38 C0 62 C1 BC */ lfs f3, lbl_805ADEDC@sda21(r2) +/* 802ABDDC 002A8D3C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802ABDE0 002A8D40 80 B8 00 14 */ lwz r5, 0x14(r24) +/* 802ABDE4 002A8D44 EC E3 00 B2 */ fmuls f7, f3, f2 +/* 802ABDE8 002A8D48 C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 802ABDEC 002A8D4C C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802ABDF0 002A8D50 38 05 00 01 */ addi r0, r5, 1 +/* 802ABDF4 002A8D54 EC C3 00 32 */ fmuls f6, f3, f0 +/* 802ABDF8 002A8D58 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 802ABDFC 002A8D5C C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 802ABE00 002A8D60 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802ABE04 002A8D64 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 802ABE08 002A8D68 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802ABE0C 002A8D6C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802ABE10 002A8D70 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802ABE14 002A8D74 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802ABE18 002A8D78 D0 E1 00 20 */ stfs f7, 0x20(r1) +/* 802ABE1C 002A8D7C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802ABE20 002A8D80 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 802ABE24 002A8D84 90 18 00 14 */ stw r0, 0x14(r24) +/* 802ABE28 002A8D88 48 02 96 6D */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802ABE2C 002A8D8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABE30 002A8D90 41 82 01 70 */ beq lbl_802ABFA0 +/* 802ABE34 002A8D94 38 00 00 01 */ li r0, 1 +/* 802ABE38 002A8D98 98 1C 00 4C */ stb r0, 0x4c(r28) +/* 802ABE3C 002A8D9C 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802ABE40 002A8DA0 28 00 00 00 */ cmplwi r0, 0 +/* 802ABE44 002A8DA4 41 82 01 04 */ beq lbl_802ABF48 +/* 802ABE48 002A8DA8 83 FC 00 48 */ lwz r31, 0x48(r28) +/* 802ABE4C 002A8DAC 3B 81 00 68 */ addi r28, r1, 0x68 +/* 802ABE50 002A8DB0 3B A1 00 74 */ addi r29, r1, 0x74 +/* 802ABE54 002A8DB4 3B 60 00 00 */ li r27, 0 +/* 802ABE58 002A8DB8 83 DF 00 04 */ lwz r30, 4(r31) +/* 802ABE5C 002A8DBC 3A E0 00 00 */ li r23, 0 +/* 802ABE60 002A8DC0 48 00 00 DC */ b lbl_802ABF3C +lbl_802ABE64: +/* 802ABE64 002A8DC4 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802ABE68 002A8DC8 7F 26 CB 78 */ mr r6, r25 +/* 802ABE6C 002A8DCC 80 98 00 10 */ lwz r4, 0x10(r24) +/* 802ABE70 002A8DD0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802ABE74 002A8DD4 7C A5 BA 2E */ lhzx r5, r5, r23 +/* 802ABE78 002A8DD8 4B FF CB C9 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802ABE7C 002A8DDC C1 01 00 34 */ lfs f8, 0x34(r1) +/* 802ABE80 002A8DE0 7F 03 C3 78 */ mr r3, r24 +/* 802ABE84 002A8DE4 C0 E1 00 38 */ lfs f7, 0x38(r1) +/* 802ABE88 002A8DE8 C0 C1 00 3C */ lfs f6, 0x3c(r1) +/* 802ABE8C 002A8DEC C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802ABE90 002A8DF0 C0 81 00 44 */ lfs f4, 0x44(r1) +/* 802ABE94 002A8DF4 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802ABE98 002A8DF8 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802ABE9C 002A8DFC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802ABEA0 002A8E00 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802ABEA4 002A8E04 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802ABEA8 002A8E08 D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 802ABEAC 002A8E0C D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802ABEB0 002A8E10 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 802ABEB4 002A8E14 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 802ABEB8 002A8E18 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802ABEBC 002A8E1C D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802ABEC0 002A8E20 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802ABEC4 002A8E24 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802ABEC8 002A8E28 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802ABECC 002A8E2C 90 01 00 80 */ stw r0, 0x80(r1) +/* 802ABED0 002A8E30 81 98 00 00 */ lwz r12, 0(r24) +/* 802ABED4 002A8E34 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ABED8 002A8E38 7D 89 03 A6 */ mtctr r12 +/* 802ABEDC 002A8E3C 4E 80 04 21 */ bctrl +/* 802ABEE0 002A8E40 80 C1 00 80 */ lwz r6, 0x80(r1) +/* 802ABEE4 002A8E44 38 81 00 08 */ addi r4, r1, 8 +/* 802ABEE8 002A8E48 80 03 00 04 */ lwz r0, 4(r3) +/* 802ABEEC 002A8E4C 80 A3 00 00 */ lwz r5, 0(r3) +/* 802ABEF0 002A8E50 7F 43 D3 78 */ mr r3, r26 +/* 802ABEF4 002A8E54 7C C0 03 78 */ or r0, r6, r0 +/* 802ABEF8 002A8E58 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ABEFC 002A8E5C 90 A1 00 08 */ stw r5, 8(r1) +/* 802ABF00 002A8E60 48 02 94 4D */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802ABF04 002A8E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF08 002A8E68 41 82 00 2C */ beq lbl_802ABF34 +/* 802ABF0C 002A8E6C 7F 86 E3 78 */ mr r6, r28 +/* 802ABF10 002A8E70 7F A7 EB 78 */ mr r7, r29 +/* 802ABF14 002A8E74 38 61 00 28 */ addi r3, r1, 0x28 +/* 802ABF18 002A8E78 38 81 00 1C */ addi r4, r1, 0x1c +/* 802ABF1C 002A8E7C 38 A1 00 5C */ addi r5, r1, 0x5c +/* 802ABF20 002A8E80 48 02 55 C1 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802ABF24 002A8E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF28 002A8E88 41 82 00 0C */ beq lbl_802ABF34 +/* 802ABF2C 002A8E8C 38 60 00 01 */ li r3, 1 +/* 802ABF30 002A8E90 48 00 00 80 */ b lbl_802ABFB0 +lbl_802ABF34: +/* 802ABF34 002A8E94 3A F7 00 02 */ addi r23, r23, 2 +/* 802ABF38 002A8E98 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802ABF3C: +/* 802ABF3C 002A8E9C 7C 1B F0 00 */ cmpw r27, r30 +/* 802ABF40 002A8EA0 41 80 FF 24 */ blt lbl_802ABE64 +/* 802ABF44 002A8EA4 48 00 00 68 */ b lbl_802ABFAC +lbl_802ABF48: +/* 802ABF48 002A8EA8 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802ABF4C 002A8EAC 7F 03 C3 78 */ mr r3, r24 +/* 802ABF50 002A8EB0 7F 25 CB 78 */ mr r5, r25 +/* 802ABF54 002A8EB4 7F 66 DB 78 */ mr r6, r27 +/* 802ABF58 002A8EB8 7E E7 BB 78 */ mr r7, r23 +/* 802ABF5C 002A8EBC 7F 48 D3 78 */ mr r8, r26 +/* 802ABF60 002A8EC0 4B FF FE 29 */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +/* 802ABF64 002A8EC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF68 002A8EC8 41 82 00 0C */ beq lbl_802ABF74 +/* 802ABF6C 002A8ECC 38 60 00 01 */ li r3, 1 +/* 802ABF70 002A8ED0 48 00 00 40 */ b lbl_802ABFB0 +lbl_802ABF74: +/* 802ABF74 002A8ED4 80 9C 00 44 */ lwz r4, 0x44(r28) +/* 802ABF78 002A8ED8 7F 03 C3 78 */ mr r3, r24 +/* 802ABF7C 002A8EDC 7F 25 CB 78 */ mr r5, r25 +/* 802ABF80 002A8EE0 7F 66 DB 78 */ mr r6, r27 +/* 802ABF84 002A8EE4 7E E7 BB 78 */ mr r7, r23 +/* 802ABF88 002A8EE8 7F 48 D3 78 */ mr r8, r26 +/* 802ABF8C 002A8EEC 4B FF FD FD */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +/* 802ABF90 002A8EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF94 002A8EF4 41 82 00 18 */ beq lbl_802ABFAC +/* 802ABF98 002A8EF8 38 60 00 01 */ li r3, 1 +/* 802ABF9C 002A8EFC 48 00 00 14 */ b lbl_802ABFB0 +lbl_802ABFA0: +/* 802ABFA0 002A8F00 80 78 00 18 */ lwz r3, 0x18(r24) +/* 802ABFA4 002A8F04 38 03 00 01 */ addi r0, r3, 1 +/* 802ABFA8 002A8F08 90 18 00 18 */ stw r0, 0x18(r24) +lbl_802ABFAC: +/* 802ABFAC 002A8F0C 38 60 00 00 */ li r3, 0 +lbl_802ABFB0: +/* 802ABFB0 002A8F10 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 802ABFB4 002A8F14 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802ABFB8 002A8F18 7C 08 03 A6 */ mtlr r0 +/* 802ABFBC 002A8F1C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802ABFC0 002A8F20 4E 80 00 20 */ blr + +.global SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802ABFC4 002A8F24 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802ABFC8 002A8F28 7C 08 02 A6 */ mflr r0 +/* 802ABFCC 002A8F2C 3D 40 80 5A */ lis r10, skZero3f@ha +/* 802ABFD0 002A8F30 90 01 01 14 */ stw r0, 0x114(r1) +/* 802ABFD4 002A8F34 BE 61 00 DC */ stmw r19, 0xdc(r1) +/* 802ABFD8 002A8F38 7C 94 23 78 */ mr r20, r4 +/* 802ABFDC 002A8F3C 38 8A 66 A0 */ addi r4, r10, skZero3f@l +/* 802ABFE0 002A8F40 3B 81 00 5C */ addi r28, r1, 0x5c +/* 802ABFE4 002A8F44 3B A1 00 68 */ addi r29, r1, 0x68 +/* 802ABFE8 002A8F48 7C 73 1B 78 */ mr r19, r3 +/* 802ABFEC 002A8F4C 7C B5 2B 78 */ mr r21, r5 +/* 802ABFF0 002A8F50 7C D6 33 78 */ mr r22, r6 +/* 802ABFF4 002A8F54 7C F7 3B 78 */ mr r23, r7 +/* 802ABFF8 002A8F58 7D 18 43 78 */ mr r24, r8 +/* 802ABFFC 002A8F5C 7D 39 4B 78 */ mr r25, r9 +/* 802AC000 002A8F60 3B 60 00 00 */ li r27, 0 +/* 802AC004 002A8F64 3B 40 00 00 */ li r26, 0 +/* 802AC008 002A8F68 3B C0 00 00 */ li r30, 0 +/* 802AC00C 002A8F6C C0 04 00 00 */ lfs f0, 0(r4) +/* 802AC010 002A8F70 C0 24 00 04 */ lfs f1, 4(r4) +/* 802AC014 002A8F74 C0 44 00 08 */ lfs f2, 8(r4) +/* 802AC018 002A8F78 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802AC01C 002A8F7C 83 F4 00 04 */ lwz r31, 4(r20) +/* 802AC020 002A8F80 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802AC024 002A8F84 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802AC028 002A8F88 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802AC02C 002A8F8C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802AC030 002A8F90 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802AC034 002A8F94 48 00 01 10 */ b lbl_802AC144 +lbl_802AC038: +/* 802AC038 002A8F98 80 B4 00 0C */ lwz r5, 0xc(r20) +/* 802AC03C 002A8F9C 7E A6 AB 78 */ mr r6, r21 +/* 802AC040 002A8FA0 80 93 00 10 */ lwz r4, 0x10(r19) +/* 802AC044 002A8FA4 38 61 00 28 */ addi r3, r1, 0x28 +/* 802AC048 002A8FA8 7C A5 F2 2E */ lhzx r5, r5, r30 +/* 802AC04C 002A8FAC 4B FF C9 F5 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AC050 002A8FB0 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 802AC054 002A8FB4 7E 63 9B 78 */ mr r3, r19 +/* 802AC058 002A8FB8 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 802AC05C 002A8FBC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 802AC060 002A8FC0 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 802AC064 002A8FC4 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 802AC068 002A8FC8 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 802AC06C 002A8FCC C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802AC070 002A8FD0 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802AC074 002A8FD4 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802AC078 002A8FD8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802AC07C 002A8FDC D1 01 00 50 */ stfs f8, 0x50(r1) +/* 802AC080 002A8FE0 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802AC084 002A8FE4 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 802AC088 002A8FE8 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802AC08C 002A8FEC D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802AC090 002A8FF0 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802AC094 002A8FF4 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802AC098 002A8FF8 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802AC09C 002A8FFC D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802AC0A0 002A9000 90 01 00 74 */ stw r0, 0x74(r1) +/* 802AC0A4 002A9004 81 93 00 00 */ lwz r12, 0(r19) +/* 802AC0A8 002A9008 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC0AC 002A900C 7D 89 03 A6 */ mtctr r12 +/* 802AC0B0 002A9010 4E 80 04 21 */ bctrl +/* 802AC0B4 002A9014 80 C1 00 74 */ lwz r6, 0x74(r1) +/* 802AC0B8 002A9018 38 81 00 08 */ addi r4, r1, 8 +/* 802AC0BC 002A901C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AC0C0 002A9020 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AC0C4 002A9024 7F 03 C3 78 */ mr r3, r24 +/* 802AC0C8 002A9028 7C C0 03 78 */ or r0, r6, r0 +/* 802AC0CC 002A902C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AC0D0 002A9030 90 A1 00 08 */ stw r5, 8(r1) +/* 802AC0D4 002A9034 48 02 92 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AC0D8 002A9038 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC0DC 002A903C 41 82 00 60 */ beq lbl_802AC13C +/* 802AC0E0 002A9040 80 93 00 1C */ lwz r4, 0x1c(r19) +/* 802AC0E4 002A9044 7E C3 B3 78 */ mr r3, r22 +/* 802AC0E8 002A9048 7F 85 E3 78 */ mr r5, r28 +/* 802AC0EC 002A904C 7F A6 EB 78 */ mr r6, r29 +/* 802AC0F0 002A9050 38 04 00 01 */ addi r0, r4, 1 +/* 802AC0F4 002A9054 38 81 00 50 */ addi r4, r1, 0x50 +/* 802AC0F8 002A9058 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802AC0FC 002A905C 38 E1 00 1C */ addi r7, r1, 0x1c +/* 802AC100 002A9060 39 01 00 10 */ addi r8, r1, 0x10 +/* 802AC104 002A9064 48 02 41 4D */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +/* 802AC108 002A9068 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC10C 002A906C 41 82 00 30 */ beq lbl_802AC13C +/* 802AC110 002A9070 7E E5 BB 78 */ mr r5, r23 +/* 802AC114 002A9074 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AC118 002A9078 38 81 00 1C */ addi r4, r1, 0x1c +/* 802AC11C 002A907C 38 C1 00 08 */ addi r6, r1, 8 +/* 802AC120 002A9080 38 E1 00 10 */ addi r7, r1, 0x10 +/* 802AC124 002A9084 48 02 23 25 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AC128 002A9088 7C 64 1B 78 */ mr r4, r3 +/* 802AC12C 002A908C 7F 23 CB 78 */ mr r3, r25 +/* 802AC130 002A9090 38 A0 00 00 */ li r5, 0 +/* 802AC134 002A9094 4B ED 94 ED */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802AC138 002A9098 3B 60 00 01 */ li r27, 1 +lbl_802AC13C: +/* 802AC13C 002A909C 3B DE 00 02 */ addi r30, r30, 2 +/* 802AC140 002A90A0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802AC144: +/* 802AC144 002A90A4 7C 1A F8 00 */ cmpw r26, r31 +/* 802AC148 002A90A8 41 80 FE F0 */ blt lbl_802AC038 +/* 802AC14C 002A90AC 7F 63 DB 78 */ mr r3, r27 +/* 802AC150 002A90B0 BA 61 00 DC */ lmw r19, 0xdc(r1) +/* 802AC154 002A90B4 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802AC158 002A90B8 7C 08 03 A6 */ mtlr r0 +/* 802AC15C 002A90BC 38 21 01 10 */ addi r1, r1, 0x110 +/* 802AC160 002A90C0 4E 80 00 20 */ blr + +.global SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802AC164 002A90C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AC168 002A90C8 7C 08 02 A6 */ mflr r0 +/* 802AC16C 002A90CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AC170 002A90D0 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802AC174 002A90D4 7C 77 1B 78 */ mr r23, r3 +/* 802AC178 002A90D8 7C FB 3B 78 */ mr r27, r7 +/* 802AC17C 002A90DC 7C 98 23 78 */ mr r24, r4 +/* 802AC180 002A90E0 7C B9 2B 78 */ mr r25, r5 +/* 802AC184 002A90E4 7C DA 33 78 */ mr r26, r6 +/* 802AC188 002A90E8 7D 1C 43 78 */ mr r28, r8 +/* 802AC18C 002A90EC 7D 3D 4B 78 */ mr r29, r9 +/* 802AC190 002A90F0 7D 5E 53 78 */ mr r30, r10 +/* 802AC194 002A90F4 3B E0 00 00 */ li r31, 0 +/* 802AC198 002A90F8 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802AC19C 002A90FC 38 03 00 01 */ addi r0, r3, 1 +/* 802AC1A0 002A9100 7F 63 DB 78 */ mr r3, r27 +/* 802AC1A4 002A9104 90 17 00 14 */ stw r0, 0x14(r23) +/* 802AC1A8 002A9108 48 02 92 ED */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802AC1AC 002A910C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC1B0 002A9110 41 82 00 AC */ beq lbl_802AC25C +/* 802AC1B4 002A9114 38 00 00 01 */ li r0, 1 +/* 802AC1B8 002A9118 98 18 00 4C */ stb r0, 0x4c(r24) +/* 802AC1BC 002A911C 88 18 00 3C */ lbz r0, 0x3c(r24) +/* 802AC1C0 002A9120 28 00 00 00 */ cmplwi r0, 0 +/* 802AC1C4 002A9124 41 82 00 34 */ beq lbl_802AC1F8 +/* 802AC1C8 002A9128 80 98 00 48 */ lwz r4, 0x48(r24) +/* 802AC1CC 002A912C 7E E3 BB 78 */ mr r3, r23 +/* 802AC1D0 002A9130 7F 25 CB 78 */ mr r5, r25 +/* 802AC1D4 002A9134 7F 46 D3 78 */ mr r6, r26 +/* 802AC1D8 002A9138 7F 87 E3 78 */ mr r7, r28 +/* 802AC1DC 002A913C 7F A8 EB 78 */ mr r8, r29 +/* 802AC1E0 002A9140 7F C9 F3 78 */ mr r9, r30 +/* 802AC1E4 002A9144 4B FF FD E1 */ bl SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AC1E8 002A9148 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC1EC 002A914C 41 82 00 7C */ beq lbl_802AC268 +/* 802AC1F0 002A9150 3B E0 00 01 */ li r31, 1 +/* 802AC1F4 002A9154 48 00 00 74 */ b lbl_802AC268 +lbl_802AC1F8: +/* 802AC1F8 002A9158 80 98 00 40 */ lwz r4, 0x40(r24) +/* 802AC1FC 002A915C 7E E3 BB 78 */ mr r3, r23 +/* 802AC200 002A9160 7F 25 CB 78 */ mr r5, r25 +/* 802AC204 002A9164 7F 46 D3 78 */ mr r6, r26 +/* 802AC208 002A9168 7F 67 DB 78 */ mr r7, r27 +/* 802AC20C 002A916C 7F 88 E3 78 */ mr r8, r28 +/* 802AC210 002A9170 7F A9 EB 78 */ mr r9, r29 +/* 802AC214 002A9174 7F CA F3 78 */ mr r10, r30 +/* 802AC218 002A9178 4B FF FF 4D */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AC21C 002A917C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC220 002A9180 41 82 00 08 */ beq lbl_802AC228 +/* 802AC224 002A9184 3B E0 00 01 */ li r31, 1 +lbl_802AC228: +/* 802AC228 002A9188 80 98 00 44 */ lwz r4, 0x44(r24) +/* 802AC22C 002A918C 7E E3 BB 78 */ mr r3, r23 +/* 802AC230 002A9190 7F 25 CB 78 */ mr r5, r25 +/* 802AC234 002A9194 7F 46 D3 78 */ mr r6, r26 +/* 802AC238 002A9198 7F 67 DB 78 */ mr r7, r27 +/* 802AC23C 002A919C 7F 88 E3 78 */ mr r8, r28 +/* 802AC240 002A91A0 7F A9 EB 78 */ mr r9, r29 +/* 802AC244 002A91A4 7F CA F3 78 */ mr r10, r30 +/* 802AC248 002A91A8 4B FF FF 1D */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AC24C 002A91AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC250 002A91B0 41 82 00 18 */ beq lbl_802AC268 +/* 802AC254 002A91B4 3B E0 00 01 */ li r31, 1 +/* 802AC258 002A91B8 48 00 00 10 */ b lbl_802AC268 +lbl_802AC25C: +/* 802AC25C 002A91BC 80 77 00 18 */ lwz r3, 0x18(r23) +/* 802AC260 002A91C0 38 03 00 01 */ addi r0, r3, 1 +/* 802AC264 002A91C4 90 17 00 18 */ stw r0, 0x18(r23) +lbl_802AC268: +/* 802AC268 002A91C8 7F E3 FB 78 */ mr r3, r31 +/* 802AC26C 002A91CC BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802AC270 002A91D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AC274 002A91D4 7C 08 03 A6 */ mtlr r0 +/* 802AC278 002A91D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AC27C 002A91DC 4E 80 00 20 */ blr + +.global AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList: +/* 802AC280 002A91E0 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 802AC284 002A91E4 7C 08 02 A6 */ mflr r0 +/* 802AC288 002A91E8 90 01 01 64 */ stw r0, 0x164(r1) +/* 802AC28C 002A91EC BE 41 01 28 */ stmw r18, 0x128(r1) +/* 802AC290 002A91F0 7C 72 1B 78 */ mr r18, r3 +/* 802AC294 002A91F4 7C D9 33 78 */ mr r25, r6 +/* 802AC298 002A91F8 7C 93 23 78 */ mr r19, r4 +/* 802AC29C 002A91FC 7C B4 2B 78 */ mr r20, r5 +/* 802AC2A0 002A9200 7C F5 3B 78 */ mr r21, r7 +/* 802AC2A4 002A9204 7D 16 43 78 */ mr r22, r8 +/* 802AC2A8 002A9208 7D 37 4B 78 */ mr r23, r9 +/* 802AC2AC 002A920C 7D 58 53 78 */ mr r24, r10 +/* 802AC2B0 002A9210 7F 24 CB 78 */ mr r4, r25 +/* 802AC2B4 002A9214 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AC2B8 002A9218 48 08 B3 55 */ bl GetCenterPoint__6CAABoxCFv +/* 802AC2BC 002A921C C0 79 00 10 */ lfs f3, 0x10(r25) +/* 802AC2C0 002A9220 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802AC2C4 002A9224 C0 59 00 04 */ lfs f2, 4(r25) +/* 802AC2C8 002A9228 3B 61 00 AC */ addi r27, r1, 0xac +/* 802AC2CC 002A922C C0 39 00 14 */ lfs f1, 0x14(r25) +/* 802AC2D0 002A9230 3B 81 00 B8 */ addi r28, r1, 0xb8 +/* 802AC2D4 002A9234 C0 19 00 08 */ lfs f0, 8(r25) +/* 802AC2D8 002A9238 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802AC2DC 002A923C C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) +/* 802AC2E0 002A9240 3B E3 67 54 */ addi r31, r3, lbl_805A6754@l +/* 802AC2E4 002A9244 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802AC2E8 002A9248 C0 39 00 0C */ lfs f1, 0xc(r25) +/* 802AC2EC 002A924C C0 19 00 00 */ lfs f0, 0(r25) +/* 802AC2F0 002A9250 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802AC2F4 002A9254 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802AC2F8 002A9258 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AC2FC 002A925C EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802AC300 002A9260 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802AC304 002A9264 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802AC308 002A9268 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802AC30C 002A926C D0 61 00 54 */ stfs f3, 0x54(r1) +/* 802AC310 002A9270 83 D3 00 04 */ lwz r30, 4(r19) +/* 802AC314 002A9274 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802AC318 002A9278 3B 40 00 00 */ li r26, 0 +/* 802AC31C 002A927C 3B 20 00 00 */ li r25, 0 +/* 802AC320 002A9280 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802AC324 002A9284 3B A0 00 00 */ li r29, 0 +/* 802AC328 002A9288 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802AC32C 002A928C D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 802AC330 002A9290 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 802AC334 002A9294 48 00 01 A0 */ b lbl_802AC4D4 +lbl_802AC338: +/* 802AC338 002A9298 80 B3 00 0C */ lwz r5, 0xc(r19) +/* 802AC33C 002A929C 7E 86 A3 78 */ mr r6, r20 +/* 802AC340 002A92A0 80 92 00 10 */ lwz r4, 0x10(r18) +/* 802AC344 002A92A4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AC348 002A92A8 7C A5 EA 2E */ lhzx r5, r5, r29 +/* 802AC34C 002A92AC 4B FF C6 F5 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AC350 002A92B0 C1 01 00 78 */ lfs f8, 0x78(r1) +/* 802AC354 002A92B4 7E 43 93 78 */ mr r3, r18 +/* 802AC358 002A92B8 C0 E1 00 7C */ lfs f7, 0x7c(r1) +/* 802AC35C 002A92BC C0 C1 00 80 */ lfs f6, 0x80(r1) +/* 802AC360 002A92C0 C0 A1 00 84 */ lfs f5, 0x84(r1) +/* 802AC364 002A92C4 C0 81 00 88 */ lfs f4, 0x88(r1) +/* 802AC368 002A92C8 C0 61 00 8C */ lfs f3, 0x8c(r1) +/* 802AC36C 002A92CC C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802AC370 002A92D0 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802AC374 002A92D4 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802AC378 002A92D8 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802AC37C 002A92DC D1 01 00 A0 */ stfs f8, 0xa0(r1) +/* 802AC380 002A92E0 D0 E1 00 A4 */ stfs f7, 0xa4(r1) +/* 802AC384 002A92E4 D0 C1 00 A8 */ stfs f6, 0xa8(r1) +/* 802AC388 002A92E8 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 802AC38C 002A92EC D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 802AC390 002A92F0 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 802AC394 002A92F4 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 802AC398 002A92F8 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 802AC39C 002A92FC D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 802AC3A0 002A9300 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802AC3A4 002A9304 81 92 00 00 */ lwz r12, 0(r18) +/* 802AC3A8 002A9308 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC3AC 002A930C 7D 89 03 A6 */ mtctr r12 +/* 802AC3B0 002A9310 4E 80 04 21 */ bctrl +/* 802AC3B4 002A9314 80 C1 00 C4 */ lwz r6, 0xc4(r1) +/* 802AC3B8 002A9318 38 81 00 08 */ addi r4, r1, 8 +/* 802AC3BC 002A931C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AC3C0 002A9320 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AC3C4 002A9324 7E C3 B3 78 */ mr r3, r22 +/* 802AC3C8 002A9328 7C C0 03 78 */ or r0, r6, r0 +/* 802AC3CC 002A932C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AC3D0 002A9330 90 A1 00 08 */ stw r5, 8(r1) +/* 802AC3D4 002A9334 48 02 8F 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AC3D8 002A9338 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC3DC 002A933C 41 82 00 F0 */ beq lbl_802AC4CC +/* 802AC3E0 002A9340 7F 66 DB 78 */ mr r6, r27 +/* 802AC3E4 002A9344 7F 87 E3 78 */ mr r7, r28 +/* 802AC3E8 002A9348 38 61 00 54 */ addi r3, r1, 0x54 +/* 802AC3EC 002A934C 38 81 00 48 */ addi r4, r1, 0x48 +/* 802AC3F0 002A9350 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 802AC3F4 002A9354 48 02 50 ED */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AC3F8 002A9358 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC3FC 002A935C 41 82 00 D0 */ beq lbl_802AC4CC +/* 802AC400 002A9360 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802AC404 002A9364 80 92 00 1C */ lwz r4, 0x1c(r18) +/* 802AC408 002A9368 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) +/* 802AC40C 002A936C 7E E3 BB 78 */ mr r3, r23 +/* 802AC410 002A9370 38 04 00 01 */ addi r0, r4, 1 +/* 802AC414 002A9374 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802AC418 002A9378 C0 7F 00 08 */ lfs f3, 8(r31) +/* 802AC41C 002A937C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AC420 002A9380 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802AC424 002A9384 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802AC428 002A9388 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802AC42C 002A938C C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802AC430 002A9390 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802AC434 002A9394 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802AC438 002A9398 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802AC43C 002A939C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802AC440 002A93A0 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AC444 002A93A4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802AC448 002A93A8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802AC44C 002A93AC 4B FF AC 8D */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +/* 802AC450 002A93B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC454 002A93B4 41 82 00 78 */ beq lbl_802AC4CC +/* 802AC458 002A93B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802AC45C 002A93BC 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AC460 002A93C0 4B FF 61 D5 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802AC464 002A93C4 C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 802AC468 002A93C8 7E A6 AB 78 */ mr r6, r21 +/* 802AC46C 002A93CC C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802AC470 002A93D0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802AC474 002A93D4 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802AC478 002A93D8 FC 40 30 50 */ fneg f2, f6 +/* 802AC47C 002A93DC FC 20 28 50 */ fneg f1, f5 +/* 802AC480 002A93E0 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802AC484 002A93E4 FC 00 20 50 */ fneg f0, f4 +/* 802AC488 002A93E8 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 802AC48C 002A93EC 38 81 00 60 */ addi r4, r1, 0x60 +/* 802AC490 002A93F0 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802AC494 002A93F4 38 A1 00 08 */ addi r5, r1, 8 +/* 802AC498 002A93F8 38 E1 00 38 */ addi r7, r1, 0x38 +/* 802AC49C 002A93FC D0 81 00 40 */ stfs f4, 0x40(r1) +/* 802AC4A0 002A9400 39 01 00 10 */ addi r8, r1, 0x10 +/* 802AC4A4 002A9404 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802AC4A8 002A9408 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802AC4AC 002A940C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802AC4B0 002A9410 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802AC4B4 002A9414 48 02 1E 05 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802AC4B8 002A9418 7C 64 1B 78 */ mr r4, r3 +/* 802AC4BC 002A941C 7F 03 C3 78 */ mr r3, r24 +/* 802AC4C0 002A9420 38 A0 00 00 */ li r5, 0 +/* 802AC4C4 002A9424 4B ED 91 5D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802AC4C8 002A9428 3B 40 00 01 */ li r26, 1 +lbl_802AC4CC: +/* 802AC4CC 002A942C 3B BD 00 02 */ addi r29, r29, 2 +/* 802AC4D0 002A9430 3B 39 00 01 */ addi r25, r25, 1 +lbl_802AC4D4: +/* 802AC4D4 002A9434 7C 19 F0 00 */ cmpw r25, r30 +/* 802AC4D8 002A9438 41 80 FE 60 */ blt lbl_802AC338 +/* 802AC4DC 002A943C 7F 43 D3 78 */ mr r3, r26 +/* 802AC4E0 002A9440 BA 41 01 28 */ lmw r18, 0x128(r1) +/* 802AC4E4 002A9444 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802AC4E8 002A9448 7C 08 03 A6 */ mtlr r0 +/* 802AC4EC 002A944C 38 21 01 60 */ addi r1, r1, 0x160 +/* 802AC4F0 002A9450 4E 80 00 20 */ blr + +.global AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList: +/* 802AC4F4 002A9454 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802AC4F8 002A9458 7C 08 02 A6 */ mflr r0 +/* 802AC4FC 002A945C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802AC500 002A9460 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 802AC504 002A9464 7C 7F 1B 78 */ mr r31, r3 +/* 802AC508 002A9468 7C F9 3B 78 */ mr r25, r7 +/* 802AC50C 002A946C 83 A1 00 48 */ lwz r29, 0x48(r1) +/* 802AC510 002A9470 7C 96 23 78 */ mr r22, r4 +/* 802AC514 002A9474 7C B7 2B 78 */ mr r23, r5 +/* 802AC518 002A9478 7C D8 33 78 */ mr r24, r6 +/* 802AC51C 002A947C 7D 1A 43 78 */ mr r26, r8 +/* 802AC520 002A9480 7D 3B 4B 78 */ mr r27, r9 +/* 802AC524 002A9484 7D 5C 53 78 */ mr r28, r10 +/* 802AC528 002A9488 3B C0 00 00 */ li r30, 0 +/* 802AC52C 002A948C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802AC530 002A9490 38 03 00 01 */ addi r0, r3, 1 +/* 802AC534 002A9494 7F 23 CB 78 */ mr r3, r25 +/* 802AC538 002A9498 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802AC53C 002A949C 48 02 8F 59 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802AC540 002A94A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC544 002A94A4 41 82 00 B8 */ beq lbl_802AC5FC +/* 802AC548 002A94A8 38 00 00 01 */ li r0, 1 +/* 802AC54C 002A94AC 98 16 00 4C */ stb r0, 0x4c(r22) +/* 802AC550 002A94B0 88 16 00 3C */ lbz r0, 0x3c(r22) +/* 802AC554 002A94B4 28 00 00 00 */ cmplwi r0, 0 +/* 802AC558 002A94B8 41 82 00 38 */ beq lbl_802AC590 +/* 802AC55C 002A94BC 80 96 00 48 */ lwz r4, 0x48(r22) +/* 802AC560 002A94C0 7F E3 FB 78 */ mr r3, r31 +/* 802AC564 002A94C4 7E E5 BB 78 */ mr r5, r23 +/* 802AC568 002A94C8 7F 06 C3 78 */ mr r6, r24 +/* 802AC56C 002A94CC 7F 47 D3 78 */ mr r7, r26 +/* 802AC570 002A94D0 7F 68 DB 78 */ mr r8, r27 +/* 802AC574 002A94D4 7F 89 E3 78 */ mr r9, r28 +/* 802AC578 002A94D8 7F AA EB 78 */ mr r10, r29 +/* 802AC57C 002A94DC 4B FF FD 05 */ bl AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AC580 002A94E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC584 002A94E4 41 82 00 84 */ beq lbl_802AC608 +/* 802AC588 002A94E8 3B C0 00 01 */ li r30, 1 +/* 802AC58C 002A94EC 48 00 00 7C */ b lbl_802AC608 +lbl_802AC590: +/* 802AC590 002A94F0 93 A1 00 08 */ stw r29, 8(r1) +/* 802AC594 002A94F4 7F E3 FB 78 */ mr r3, r31 +/* 802AC598 002A94F8 7E E5 BB 78 */ mr r5, r23 +/* 802AC59C 002A94FC 7F 06 C3 78 */ mr r6, r24 +/* 802AC5A0 002A9500 80 96 00 40 */ lwz r4, 0x40(r22) +/* 802AC5A4 002A9504 7F 27 CB 78 */ mr r7, r25 +/* 802AC5A8 002A9508 7F 48 D3 78 */ mr r8, r26 +/* 802AC5AC 002A950C 7F 69 DB 78 */ mr r9, r27 +/* 802AC5B0 002A9510 7F 8A E3 78 */ mr r10, r28 +/* 802AC5B4 002A9514 4B FF FF 41 */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AC5B8 002A9518 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC5BC 002A951C 41 82 00 08 */ beq lbl_802AC5C4 +/* 802AC5C0 002A9520 3B C0 00 01 */ li r30, 1 +lbl_802AC5C4: +/* 802AC5C4 002A9524 93 A1 00 08 */ stw r29, 8(r1) +/* 802AC5C8 002A9528 7F E3 FB 78 */ mr r3, r31 +/* 802AC5CC 002A952C 7E E5 BB 78 */ mr r5, r23 +/* 802AC5D0 002A9530 7F 06 C3 78 */ mr r6, r24 +/* 802AC5D4 002A9534 80 96 00 44 */ lwz r4, 0x44(r22) +/* 802AC5D8 002A9538 7F 27 CB 78 */ mr r7, r25 +/* 802AC5DC 002A953C 7F 48 D3 78 */ mr r8, r26 +/* 802AC5E0 002A9540 7F 69 DB 78 */ mr r9, r27 +/* 802AC5E4 002A9544 7F 8A E3 78 */ mr r10, r28 +/* 802AC5E8 002A9548 4B FF FF 0D */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AC5EC 002A954C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC5F0 002A9550 41 82 00 18 */ beq lbl_802AC608 +/* 802AC5F4 002A9554 3B C0 00 01 */ li r30, 1 +/* 802AC5F8 002A9558 48 00 00 10 */ b lbl_802AC608 +lbl_802AC5FC: +/* 802AC5FC 002A955C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802AC600 002A9560 38 03 00 01 */ addi r0, r3, 1 +/* 802AC604 002A9564 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_802AC608: +/* 802AC608 002A9568 7F C3 F3 78 */ mr r3, r30 +/* 802AC60C 002A956C BA C1 00 18 */ lmw r22, 0x18(r1) +/* 802AC610 002A9570 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802AC614 002A9574 7C 08 03 A6 */ mtlr r0 +/* 802AC618 002A9578 38 21 00 40 */ addi r1, r1, 0x40 +/* 802AC61C 002A957C 4E 80 00 20 */ blr + +.global GetPrimType__18CCollidableOBBTreeCFv +GetPrimType__18CCollidableOBBTreeCFv: +/* 802AC620 002A9580 3C 60 4F 42 */ lis r3, 0x4F424254@ha +/* 802AC624 002A9584 38 63 42 54 */ addi r3, r3, 0x4F424254@l +/* 802AC628 002A9588 4E 80 00 20 */ blr + +.global CalculateLocalAABox__18CCollidableOBBTreeCFv +CalculateLocalAABox__18CCollidableOBBTreeCFv: +/* 802AC62C 002A958C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AC630 002A9590 7C 08 02 A6 */ mflr r0 +/* 802AC634 002A9594 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AC638 002A9598 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC63C 002A959C 7C 7F 1B 78 */ mr r31, r3 +/* 802AC640 002A95A0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC644 002A95A4 4B FF C6 6D */ bl CalculateLocalAABox__8COBBTreeCFv +/* 802AC648 002A95A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AC64C 002A95AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AC650 002A95B0 7C 08 03 A6 */ mtlr r0 +/* 802AC654 002A95B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AC658 002A95B8 4E 80 00 20 */ blr + +.global CalculateAABox__18CCollidableOBBTreeCFRC12CTransform4f +CalculateAABox__18CCollidableOBBTreeCFRC12CTransform4f: +/* 802AC65C 002A95BC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802AC660 002A95C0 7C 08 02 A6 */ mflr r0 +/* 802AC664 002A95C4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802AC668 002A95C8 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 802AC66C 002A95CC 7C BF 2B 78 */ mr r31, r5 +/* 802AC670 002A95D0 93 C1 00 98 */ stw r30, 0x98(r1) +/* 802AC674 002A95D4 7C 7E 1B 78 */ mr r30, r3 +/* 802AC678 002A95D8 38 61 00 08 */ addi r3, r1, 8 +/* 802AC67C 002A95DC 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC680 002A95E0 4B FF C6 31 */ bl CalculateLocalAABox__8COBBTreeCFv +/* 802AC684 002A95E4 7F E5 FB 78 */ mr r5, r31 +/* 802AC688 002A95E8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AC68C 002A95EC 38 81 00 08 */ addi r4, r1, 8 +/* 802AC690 002A95F0 48 02 96 8D */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AC694 002A95F4 38 61 00 5C */ addi r3, r1, 0x5c +/* 802AC698 002A95F8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802AC69C 002A95FC 48 06 64 D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC6A0 002A9600 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802AC6A4 002A9604 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802AC6A8 002A9608 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802AC6AC 002A960C 38 A3 66 70 */ addi r5, r3, skIdentity4f@l +/* 802AC6B0 002A9610 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802AC6B4 002A9614 7F C3 F3 78 */ mr r3, r30 +/* 802AC6B8 002A9618 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802AC6BC 002A961C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802AC6C0 002A9620 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802AC6C4 002A9624 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802AC6C8 002A9628 48 02 97 11 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f +/* 802AC6CC 002A962C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802AC6D0 002A9630 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 802AC6D4 002A9634 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 802AC6D8 002A9638 7C 08 03 A6 */ mtlr r0 +/* 802AC6DC 002A963C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802AC6E0 002A9640 4E 80 00 20 */ blr + +.global __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +__ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList: +/* 802AC6E4 002A9644 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AC6E8 002A9648 7C 08 02 A6 */ mflr r0 +/* 802AC6EC 002A964C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AC6F0 002A9650 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC6F4 002A9654 7C 9F 23 78 */ mr r31, r4 +/* 802AC6F8 002A9658 7C A4 2B 78 */ mr r4, r5 +/* 802AC6FC 002A965C 93 C1 00 08 */ stw r30, 8(r1) +/* 802AC700 002A9660 7C 7E 1B 78 */ mr r30, r3 +/* 802AC704 002A9664 48 02 31 B1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 802AC708 002A9668 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802AC70C 002A966C 38 00 00 00 */ li r0, 0 +/* 802AC710 002A9670 38 83 C4 48 */ addi r4, r3, lbl_803EC448@l +/* 802AC714 002A9674 7F C3 F3 78 */ mr r3, r30 +/* 802AC718 002A9678 90 9E 00 00 */ stw r4, 0(r30) +/* 802AC71C 002A967C 93 FE 00 10 */ stw r31, 0x10(r30) +/* 802AC720 002A9680 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802AC724 002A9684 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802AC728 002A9688 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802AC72C 002A968C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AC730 002A9690 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AC734 002A9694 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AC738 002A9698 7C 08 03 A6 */ mtlr r0 +/* 802AC73C 002A969C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AC740 002A96A0 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CCollidableOBBTreeGroup.s b/asm/WorldFormat/CCollidableOBBTreeGroup.s new file mode 100644 index 00000000..6aa45997 --- /dev/null +++ b/asm/WorldFormat/CCollidableOBBTreeGroup.s @@ -0,0 +1,1995 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTableIndex__23CCollidableOBBTreeGroupCFv +GetTableIndex__23CCollidableOBBTreeGroupCFv: +/* 802AC744 002A96A4 80 6D 9A 78 */ lwz r3, lbl_805A8638@sda21(r13) +/* 802AC748 002A96A8 4E 80 00 20 */ blr + +.global GetPrimType__23CCollidableOBBTreeGroupCFv +GetPrimType__23CCollidableOBBTreeGroupCFv: +/* 802AC74C 002A96AC 3C 60 4F 42 */ lis r3, 0x4F425447@ha +/* 802AC750 002A96B0 38 63 54 47 */ addi r3, r3, 0x4F425447@l +/* 802AC754 002A96B4 4E 80 00 20 */ blr + +.global CalculateLocalAABox__23CCollidableOBBTreeGroupCFv +CalculateLocalAABox__23CCollidableOBBTreeGroupCFv: +/* 802AC758 002A96B8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC75C 002A96BC C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802AC760 002A96C0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AC764 002A96C4 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802AC768 002A96C8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AC76C 002A96CC C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802AC770 002A96D0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AC774 002A96D4 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802AC778 002A96D8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AC77C 002A96DC C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802AC780 002A96E0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AC784 002A96E4 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802AC788 002A96E8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802AC78C 002A96EC 4E 80 00 20 */ blr + +.global CalculateAABox__23CCollidableOBBTreeGroupCFRC12CTransform4f +CalculateAABox__23CCollidableOBBTreeGroupCFRC12CTransform4f: +/* 802AC790 002A96F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AC794 002A96F4 7C 08 02 A6 */ mflr r0 +/* 802AC798 002A96F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AC79C 002A96FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC7A0 002A9700 7C 7F 1B 78 */ mr r31, r3 +/* 802AC7A4 002A9704 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC7A8 002A9708 38 84 00 20 */ addi r4, r4, 0x20 +/* 802AC7AC 002A970C 48 08 B1 51 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802AC7B0 002A9710 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AC7B4 002A9714 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AC7B8 002A9718 7C 08 03 A6 */ mtlr r0 +/* 802AC7BC 002A971C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AC7C0 002A9720 4E 80 00 20 */ blr + +.global CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802AC7C4 002A9724 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 802AC7C8 002A9728 7C 08 02 A6 */ mflr r0 +/* 802AC7CC 002A972C 90 01 02 34 */ stw r0, 0x234(r1) +/* 802AC7D0 002A9730 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 802AC7D4 002A9734 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 802AC7D8 002A9738 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 802AC7DC 002A973C F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 802AC7E0 002A9740 DB A1 02 00 */ stfd f29, 0x200(r1) +/* 802AC7E4 002A9744 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 802AC7E8 002A9748 BE C1 01 D8 */ stmw r22, 0x1d8(r1) +/* 802AC7EC 002A974C 7C 7C 1B 78 */ mr r28, r3 +/* 802AC7F0 002A9750 7C 9D 23 78 */ mr r29, r4 +/* 802AC7F4 002A9754 83 03 00 38 */ lwz r24, 0x38(r3) +/* 802AC7F8 002A9758 7C BE 2B 78 */ mr r30, r5 +/* 802AC7FC 002A975C 80 83 00 00 */ lwz r4, 0(r3) +/* 802AC800 002A9760 7C DF 33 78 */ mr r31, r6 +/* 802AC804 002A9764 38 61 00 28 */ addi r3, r1, 0x28 +/* 802AC808 002A9768 38 BC 00 08 */ addi r5, r28, 8 +/* 802AC80C 002A976C 48 02 7B 49 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802AC810 002A9770 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802AC814 002A9774 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802AC818 002A9778 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802AC81C 002A977C 38 9C 00 40 */ addi r4, r28, 0x40 +/* 802AC820 002A9780 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802AC824 002A9784 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802AC828 002A9788 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802AC82C 002A978C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802AC830 002A9790 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802AC834 002A9794 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802AC838 002A9798 48 06 63 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC83C 002A979C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802AC840 002A97A0 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 802AC844 002A97A4 48 06 64 59 */ bl GetQuickInverse__12CTransform4fCFv +/* 802AC848 002A97A8 38 61 01 04 */ addi r3, r1, 0x104 +/* 802AC84C 002A97AC 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 802AC850 002A97B0 38 BC 00 08 */ addi r5, r28, 8 +/* 802AC854 002A97B4 48 06 60 FD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AC858 002A97B8 38 61 01 70 */ addi r3, r1, 0x170 +/* 802AC85C 002A97BC 38 81 01 04 */ addi r4, r1, 0x104 +/* 802AC860 002A97C0 48 06 63 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC864 002A97C4 80 9C 00 00 */ lwz r4, 0(r28) +/* 802AC868 002A97C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 802AC86C 002A97CC 81 84 00 00 */ lwz r12, 0(r4) +/* 802AC870 002A97D0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AC874 002A97D4 7D 89 03 A6 */ mtctr r12 +/* 802AC878 002A97D8 4E 80 04 21 */ bctrl +/* 802AC87C 002A97DC C0 41 00 48 */ lfs f2, 0x48(r1) +/* 802AC880 002A97E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 802AC884 002A97E4 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802AC888 002A97E8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802AC88C 002A97EC C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802AC890 002A97F0 C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 802AC894 002A97F4 C0 81 00 58 */ lfs f4, 0x58(r1) +/* 802AC898 002A97F8 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802AC89C 002A97FC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802AC8A0 002A9800 C0 5D 00 00 */ lfs f2, 0(r29) +/* 802AC8A4 002A9804 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802AC8A8 002A9808 C0 3D 00 04 */ lfs f1, 4(r29) +/* 802AC8AC 002A980C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802AC8B0 002A9810 C0 1D 00 08 */ lfs f0, 8(r29) +/* 802AC8B4 002A9814 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802AC8B8 002A9818 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802AC8BC 002A981C D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802AC8C0 002A9820 C8 DE 00 00 */ lfd f6, 0(r30) +/* 802AC8C4 002A9824 FC C0 30 18 */ frsp f6, f6 +/* 802AC8C8 002A9828 EF A6 00 B2 */ fmuls f29, f6, f2 +/* 802AC8CC 002A982C EF C6 00 72 */ fmuls f30, f6, f1 +/* 802AC8D0 002A9830 EF E6 00 32 */ fmuls f31, f6, f0 +/* 802AC8D4 002A9834 EC 05 E8 2A */ fadds f0, f5, f29 +/* 802AC8D8 002A9838 EC 44 F0 2A */ fadds f2, f4, f30 +/* 802AC8DC 002A983C EC 23 F8 2A */ fadds f1, f3, f31 +/* 802AC8E0 002A9840 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802AC8E4 002A9844 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802AC8E8 002A9848 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802AC8EC 002A984C 48 08 B2 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AC8F0 002A9850 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802AC8F4 002A9854 38 61 00 80 */ addi r3, r1, 0x80 +/* 802AC8F8 002A9858 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802AC8FC 002A985C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802AC900 002A9860 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802AC904 002A9864 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AC908 002A9868 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AC90C 002A986C EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AC910 002A9870 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802AC914 002A9874 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802AC918 002A9878 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802AC91C 002A987C 48 08 B1 ED */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AC920 002A9880 38 61 00 98 */ addi r3, r1, 0x98 +/* 802AC924 002A9884 38 81 00 80 */ addi r4, r1, 0x80 +/* 802AC928 002A9888 38 A1 01 70 */ addi r5, r1, 0x170 +/* 802AC92C 002A988C 48 02 93 F1 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AC930 002A9890 38 61 01 34 */ addi r3, r1, 0x134 +/* 802AC934 002A9894 38 81 00 98 */ addi r4, r1, 0x98 +/* 802AC938 002A9898 48 06 62 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC93C 002A989C C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802AC940 002A98A0 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AC944 002A98A4 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 802AC948 002A98A8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AC94C 002A98AC C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 802AC950 002A98B0 3B 44 C4 48 */ addi r26, r4, lbl_803EC448@l +/* 802AC954 002A98B4 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 802AC958 002A98B8 3B 63 97 E4 */ addi r27, r3, lbl_803D97E4@l +/* 802AC95C 002A98BC 3A E0 00 00 */ li r23, 0 +/* 802AC960 002A98C0 3A C0 00 00 */ li r22, 0 +/* 802AC964 002A98C4 D0 21 01 68 */ stfs f1, 0x168(r1) +/* 802AC968 002A98C8 D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 802AC96C 002A98CC 48 00 00 9C */ b lbl_802ACA08 +lbl_802AC970: +/* 802AC970 002A98D0 7F 03 C3 78 */ mr r3, r24 +/* 802AC974 002A98D4 81 98 00 00 */ lwz r12, 0(r24) +/* 802AC978 002A98D8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC97C 002A98DC 7D 89 03 A6 */ mtctr r12 +/* 802AC980 002A98E0 4E 80 04 21 */ bctrl +/* 802AC984 002A98E4 7C 79 1B 78 */ mr r25, r3 +/* 802AC988 002A98E8 7F 03 C3 78 */ mr r3, r24 +/* 802AC98C 002A98EC 7E C4 B3 78 */ mr r4, r22 +/* 802AC990 002A98F0 48 00 0F BD */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AC994 002A98F4 7C 64 1B 78 */ mr r4, r3 +/* 802AC998 002A98F8 7F 25 CB 78 */ mr r5, r25 +/* 802AC99C 002A98FC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802AC9A0 002A9900 4B FF FD 45 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AC9A4 002A9904 4B FF A6 9D */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802AC9A8 002A9908 80 7C 00 00 */ lwz r3, 0(r28) +/* 802AC9AC 002A990C 80 81 00 70 */ lwz r4, 0x70(r1) +/* 802AC9B0 002A9910 81 83 00 00 */ lwz r12, 0(r3) +/* 802AC9B4 002A9914 83 24 00 88 */ lwz r25, 0x88(r4) +/* 802AC9B8 002A9918 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC9BC 002A991C 7D 89 03 A6 */ mtctr r12 +/* 802AC9C0 002A9920 4E 80 04 21 */ bctrl +/* 802AC9C4 002A9924 93 C1 00 08 */ stw r30, 8(r1) +/* 802AC9C8 002A9928 7C 68 1B 78 */ mr r8, r3 +/* 802AC9CC 002A992C 7F 24 CB 78 */ mr r4, r25 +/* 802AC9D0 002A9930 7F AA EB 78 */ mr r10, r29 +/* 802AC9D4 002A9934 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC9D8 002A9938 38 61 00 60 */ addi r3, r1, 0x60 +/* 802AC9DC 002A993C 38 A1 01 A0 */ addi r5, r1, 0x1a0 +/* 802AC9E0 002A9940 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802AC9E4 002A9944 81 3C 00 04 */ lwz r9, 4(r28) +/* 802AC9E8 002A9948 38 E1 01 34 */ addi r7, r1, 0x134 +/* 802AC9EC 002A994C 4B FF E7 59 */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AC9F0 002A9950 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC9F4 002A9954 41 82 00 08 */ beq lbl_802AC9FC +/* 802AC9F8 002A9958 3A E0 00 01 */ li r23, 1 +lbl_802AC9FC: +/* 802AC9FC 002A995C 93 41 00 60 */ stw r26, 0x60(r1) +/* 802ACA00 002A9960 3A D6 00 01 */ addi r22, r22, 1 +/* 802ACA04 002A9964 93 61 00 60 */ stw r27, 0x60(r1) +lbl_802ACA08: +/* 802ACA08 002A9968 80 78 00 10 */ lwz r3, 0x10(r24) +/* 802ACA0C 002A996C 80 03 00 04 */ lwz r0, 4(r3) +/* 802ACA10 002A9970 7C 16 00 00 */ cmpw r22, r0 +/* 802ACA14 002A9974 41 80 FF 5C */ blt lbl_802AC970 +/* 802ACA18 002A9978 7E E3 BB 78 */ mr r3, r23 +/* 802ACA1C 002A997C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 802ACA20 002A9980 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 802ACA24 002A9984 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 802ACA28 002A9988 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 802ACA2C 002A998C E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 802ACA30 002A9990 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 802ACA34 002A9994 BA C1 01 D8 */ lmw r22, 0x1d8(r1) +/* 802ACA38 002A9998 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802ACA3C 002A999C 7C 08 03 A6 */ mtlr r0 +/* 802ACA40 002A99A0 38 21 02 30 */ addi r1, r1, 0x230 +/* 802ACA44 002A99A4 4E 80 00 20 */ blr + +.global CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802ACA48 002A99A8 94 21 F6 C0 */ stwu r1, -0x940(r1) +/* 802ACA4C 002A99AC 7C 08 02 A6 */ mflr r0 +/* 802ACA50 002A99B0 90 01 09 44 */ stw r0, 0x944(r1) +/* 802ACA54 002A99B4 DB E1 09 30 */ stfd f31, 0x930(r1) +/* 802ACA58 002A99B8 F3 E1 09 38 */ psq_st f31, -1736(r1), 0, qr0 +/* 802ACA5C 002A99BC DB C1 09 20 */ stfd f30, 0x920(r1) +/* 802ACA60 002A99C0 F3 C1 09 28 */ psq_st f30, -1752(r1), 0, qr0 +/* 802ACA64 002A99C4 DB A1 09 10 */ stfd f29, 0x910(r1) +/* 802ACA68 002A99C8 F3 A1 09 18 */ psq_st f29, -1768(r1), 0, qr0 +/* 802ACA6C 002A99CC BE C1 08 E8 */ stmw r22, 0x8e8(r1) +/* 802ACA70 002A99D0 7C 7A 1B 78 */ mr r26, r3 +/* 802ACA74 002A99D4 7C 9B 23 78 */ mr r27, r4 +/* 802ACA78 002A99D8 80 83 00 00 */ lwz r4, 0(r3) +/* 802ACA7C 002A99DC 7C BC 2B 78 */ mr r28, r5 +/* 802ACA80 002A99E0 7C DD 33 78 */ mr r29, r6 +/* 802ACA84 002A99E4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802ACA88 002A99E8 81 84 00 00 */ lwz r12, 0(r4) +/* 802ACA8C 002A99EC 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACA90 002A99F0 83 FA 00 38 */ lwz r31, 0x38(r26) +/* 802ACA94 002A99F4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802ACA98 002A99F8 7D 89 03 A6 */ mtctr r12 +/* 802ACA9C 002A99FC 4E 80 04 21 */ bctrl +/* 802ACAA0 002A9A00 C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802ACAA4 002A9A04 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802ACAA8 002A9A08 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802ACAAC 002A9A0C 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802ACAB0 002A9A10 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802ACAB4 002A9A14 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802ACAB8 002A9A18 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802ACABC 002A9A1C C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802ACAC0 002A9A20 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 802ACAC4 002A9A24 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 802ACAC8 002A9A28 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 802ACACC 002A9A2C D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 802ACAD0 002A9A30 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 802ACAD4 002A9A34 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 802ACAD8 002A9A38 48 06 60 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACADC 002A9A3C 38 61 00 EC */ addi r3, r1, 0xec +/* 802ACAE0 002A9A40 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 802ACAE4 002A9A44 48 06 61 B9 */ bl GetQuickInverse__12CTransform4fCFv +/* 802ACAE8 002A9A48 38 61 01 1C */ addi r3, r1, 0x11c +/* 802ACAEC 002A9A4C 38 81 00 EC */ addi r4, r1, 0xec +/* 802ACAF0 002A9A50 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACAF4 002A9A54 48 06 5E 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802ACAF8 002A9A58 38 61 01 88 */ addi r3, r1, 0x188 +/* 802ACAFC 002A9A5C 38 81 01 1C */ addi r4, r1, 0x11c +/* 802ACB00 002A9A60 48 06 60 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACB04 002A9A64 7F 65 DB 78 */ mr r5, r27 +/* 802ACB08 002A9A68 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802ACB0C 002A9A6C 38 81 00 98 */ addi r4, r1, 0x98 +/* 802ACB10 002A9A70 4B FF 65 8D */ bl __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f +/* 802ACB14 002A9A74 80 9A 00 00 */ lwz r4, 0(r26) +/* 802ACB18 002A9A78 38 61 00 30 */ addi r3, r1, 0x30 +/* 802ACB1C 002A9A7C 81 84 00 00 */ lwz r12, 0(r4) +/* 802ACB20 002A9A80 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802ACB24 002A9A84 7D 89 03 A6 */ mtctr r12 +/* 802ACB28 002A9A88 4E 80 04 21 */ bctrl +/* 802ACB2C 002A9A8C C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802ACB30 002A9A90 38 61 00 80 */ addi r3, r1, 0x80 +/* 802ACB34 002A9A94 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802ACB38 002A9A98 38 81 00 24 */ addi r4, r1, 0x24 +/* 802ACB3C 002A9A9C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802ACB40 002A9AA0 C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 802ACB44 002A9AA4 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802ACB48 002A9AA8 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 802ACB4C 002A9AAC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802ACB50 002A9AB0 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802ACB54 002A9AB4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802ACB58 002A9AB8 C0 3B 00 04 */ lfs f1, 4(r27) +/* 802ACB5C 002A9ABC D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802ACB60 002A9AC0 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802ACB64 002A9AC4 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802ACB68 002A9AC8 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802ACB6C 002A9ACC D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802ACB70 002A9AD0 C8 DC 00 00 */ lfd f6, 0(r28) +/* 802ACB74 002A9AD4 FC C0 30 18 */ frsp f6, f6 +/* 802ACB78 002A9AD8 EF A6 00 B2 */ fmuls f29, f6, f2 +/* 802ACB7C 002A9ADC EF C6 00 72 */ fmuls f30, f6, f1 +/* 802ACB80 002A9AE0 EF E6 00 32 */ fmuls f31, f6, f0 +/* 802ACB84 002A9AE4 EC 05 E8 2A */ fadds f0, f5, f29 +/* 802ACB88 002A9AE8 EC 44 F0 2A */ fadds f2, f4, f30 +/* 802ACB8C 002A9AEC EC 23 F8 2A */ fadds f1, f3, f31 +/* 802ACB90 002A9AF0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802ACB94 002A9AF4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802ACB98 002A9AF8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802ACB9C 002A9AFC 48 08 AF 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ACBA0 002A9B00 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802ACBA4 002A9B04 38 61 00 80 */ addi r3, r1, 0x80 +/* 802ACBA8 002A9B08 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802ACBAC 002A9B0C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802ACBB0 002A9B10 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802ACBB4 002A9B14 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802ACBB8 002A9B18 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802ACBBC 002A9B1C EC 00 E8 2A */ fadds f0, f0, f29 +/* 802ACBC0 002A9B20 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802ACBC4 002A9B24 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802ACBC8 002A9B28 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802ACBCC 002A9B2C 48 08 AF 3D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ACBD0 002A9B30 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802ACBD4 002A9B34 38 81 00 80 */ addi r4, r1, 0x80 +/* 802ACBD8 002A9B38 38 A1 01 88 */ addi r5, r1, 0x188 +/* 802ACBDC 002A9B3C 48 02 91 41 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802ACBE0 002A9B40 38 61 01 4C */ addi r3, r1, 0x14c +/* 802ACBE4 002A9B44 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802ACBE8 002A9B48 48 06 5F 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACBEC 002A9B4C C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802ACBF0 002A9B50 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ACBF4 002A9B54 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 802ACBF8 002A9B58 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ACBFC 002A9B5C C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802ACC00 002A9B60 3B 04 C4 48 */ addi r24, r4, lbl_803EC448@l +/* 802ACC04 002A9B64 D0 41 01 7C */ stfs f2, 0x17c(r1) +/* 802ACC08 002A9B68 3B 23 97 E4 */ addi r25, r3, lbl_803D97E4@l +/* 802ACC0C 002A9B6C 3B C0 00 00 */ li r30, 0 +/* 802ACC10 002A9B70 3A C0 00 00 */ li r22, 0 +/* 802ACC14 002A9B74 D0 21 01 80 */ stfs f1, 0x180(r1) +/* 802ACC18 002A9B78 D0 01 01 84 */ stfs f0, 0x184(r1) +/* 802ACC1C 002A9B7C 48 00 00 A0 */ b lbl_802ACCBC +lbl_802ACC20: +/* 802ACC20 002A9B80 7F E3 FB 78 */ mr r3, r31 +/* 802ACC24 002A9B84 81 9F 00 00 */ lwz r12, 0(r31) +/* 802ACC28 002A9B88 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ACC2C 002A9B8C 7D 89 03 A6 */ mtctr r12 +/* 802ACC30 002A9B90 4E 80 04 21 */ bctrl +/* 802ACC34 002A9B94 7C 77 1B 78 */ mr r23, r3 +/* 802ACC38 002A9B98 7F E3 FB 78 */ mr r3, r31 +/* 802ACC3C 002A9B9C 7E C4 B3 78 */ mr r4, r22 +/* 802ACC40 002A9BA0 48 00 0D 0D */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802ACC44 002A9BA4 7C 64 1B 78 */ mr r4, r3 +/* 802ACC48 002A9BA8 7E E5 BB 78 */ mr r5, r23 +/* 802ACC4C 002A9BAC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACC50 002A9BB0 4B FF FA 95 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ACC54 002A9BB4 4B FF A3 ED */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802ACC58 002A9BB8 80 7A 00 00 */ lwz r3, 0(r26) +/* 802ACC5C 002A9BBC 80 81 00 70 */ lwz r4, 0x70(r1) +/* 802ACC60 002A9BC0 81 83 00 00 */ lwz r12, 0(r3) +/* 802ACC64 002A9BC4 82 E4 00 88 */ lwz r23, 0x88(r4) +/* 802ACC68 002A9BC8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ACC6C 002A9BCC 7D 89 03 A6 */ mtctr r12 +/* 802ACC70 002A9BD0 4E 80 04 21 */ bctrl +/* 802ACC74 002A9BD4 93 61 00 08 */ stw r27, 8(r1) +/* 802ACC78 002A9BD8 7C 68 1B 78 */ mr r8, r3 +/* 802ACC7C 002A9BDC 7E E4 BB 78 */ mr r4, r23 +/* 802ACC80 002A9BE0 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACC84 002A9BE4 93 81 00 0C */ stw r28, 0xc(r1) +/* 802ACC88 002A9BE8 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 802ACC8C 002A9BEC 38 C1 00 98 */ addi r6, r1, 0x98 +/* 802ACC90 002A9BF0 38 E1 01 4C */ addi r7, r1, 0x14c +/* 802ACC94 002A9BF4 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802ACC98 002A9BF8 39 41 01 E8 */ addi r10, r1, 0x1e8 +/* 802ACC9C 002A9BFC 81 3A 00 04 */ lwz r9, 4(r26) +/* 802ACCA0 002A9C00 4B FF ED CD */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ACCA4 002A9C04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ACCA8 002A9C08 41 82 00 08 */ beq lbl_802ACCB0 +/* 802ACCAC 002A9C0C 3B C0 00 01 */ li r30, 1 +lbl_802ACCB0: +/* 802ACCB0 002A9C10 93 01 00 60 */ stw r24, 0x60(r1) +/* 802ACCB4 002A9C14 3A D6 00 01 */ addi r22, r22, 1 +/* 802ACCB8 002A9C18 93 21 00 60 */ stw r25, 0x60(r1) +lbl_802ACCBC: +/* 802ACCBC 002A9C1C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802ACCC0 002A9C20 80 03 00 04 */ lwz r0, 4(r3) +/* 802ACCC4 002A9C24 7C 16 00 00 */ cmpw r22, r0 +/* 802ACCC8 002A9C28 41 80 FF 58 */ blt lbl_802ACC20 +/* 802ACCCC 002A9C2C 34 A1 08 AC */ addic. r5, r1, 0x8ac +/* 802ACCD0 002A9C30 41 82 00 58 */ beq lbl_802ACD28 +/* 802ACCD4 002A9C34 80 C5 00 00 */ lwz r6, 0(r5) +/* 802ACCD8 002A9C38 38 60 00 00 */ li r3, 0 +/* 802ACCDC 002A9C3C 2C 06 00 00 */ cmpwi r6, 0 +/* 802ACCE0 002A9C40 40 81 00 40 */ ble lbl_802ACD20 +/* 802ACCE4 002A9C44 2C 06 00 08 */ cmpwi r6, 8 +/* 802ACCE8 002A9C48 38 86 FF F8 */ addi r4, r6, -8 +/* 802ACCEC 002A9C4C 40 81 00 20 */ ble lbl_802ACD0C +/* 802ACCF0 002A9C50 38 04 00 07 */ addi r0, r4, 7 +/* 802ACCF4 002A9C54 54 00 E8 FE */ srwi r0, r0, 3 +/* 802ACCF8 002A9C58 7C 09 03 A6 */ mtctr r0 +/* 802ACCFC 002A9C5C 2C 04 00 00 */ cmpwi r4, 0 +/* 802ACD00 002A9C60 40 81 00 0C */ ble lbl_802ACD0C +lbl_802ACD04: +/* 802ACD04 002A9C64 38 63 00 08 */ addi r3, r3, 8 +/* 802ACD08 002A9C68 42 00 FF FC */ bdnz lbl_802ACD04 +lbl_802ACD0C: +/* 802ACD0C 002A9C6C 7C 03 30 50 */ subf r0, r3, r6 +/* 802ACD10 002A9C70 7C 09 03 A6 */ mtctr r0 +/* 802ACD14 002A9C74 7C 03 30 00 */ cmpw r3, r6 +/* 802ACD18 002A9C78 40 80 00 08 */ bge lbl_802ACD20 +lbl_802ACD1C: +/* 802ACD1C 002A9C7C 42 00 00 00 */ bdnz lbl_802ACD1C +lbl_802ACD20: +/* 802ACD20 002A9C80 38 00 00 00 */ li r0, 0 +/* 802ACD24 002A9C84 90 05 00 00 */ stw r0, 0(r5) +lbl_802ACD28: +/* 802ACD28 002A9C88 80 A1 01 E8 */ lwz r5, 0x1e8(r1) +/* 802ACD2C 002A9C8C 38 60 00 00 */ li r3, 0 +/* 802ACD30 002A9C90 2C 05 00 00 */ cmpwi r5, 0 +/* 802ACD34 002A9C94 40 81 00 40 */ ble lbl_802ACD74 +/* 802ACD38 002A9C98 2C 05 00 08 */ cmpwi r5, 8 +/* 802ACD3C 002A9C9C 38 85 FF F8 */ addi r4, r5, -8 +/* 802ACD40 002A9CA0 40 81 00 20 */ ble lbl_802ACD60 +/* 802ACD44 002A9CA4 38 04 00 07 */ addi r0, r4, 7 +/* 802ACD48 002A9CA8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802ACD4C 002A9CAC 7C 09 03 A6 */ mtctr r0 +/* 802ACD50 002A9CB0 2C 04 00 00 */ cmpwi r4, 0 +/* 802ACD54 002A9CB4 40 81 00 0C */ ble lbl_802ACD60 +lbl_802ACD58: +/* 802ACD58 002A9CB8 38 63 00 08 */ addi r3, r3, 8 +/* 802ACD5C 002A9CBC 42 00 FF FC */ bdnz lbl_802ACD58 +lbl_802ACD60: +/* 802ACD60 002A9CC0 7C 03 28 50 */ subf r0, r3, r5 +/* 802ACD64 002A9CC4 7C 09 03 A6 */ mtctr r0 +/* 802ACD68 002A9CC8 7C 03 28 00 */ cmpw r3, r5 +/* 802ACD6C 002A9CCC 40 80 00 08 */ bge lbl_802ACD74 +lbl_802ACD70: +/* 802ACD70 002A9CD0 42 00 00 00 */ bdnz lbl_802ACD70 +lbl_802ACD74: +/* 802ACD74 002A9CD4 38 00 00 00 */ li r0, 0 +/* 802ACD78 002A9CD8 7F C3 F3 78 */ mr r3, r30 +/* 802ACD7C 002A9CDC 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 802ACD80 002A9CE0 E3 E1 09 38 */ psq_l f31, -1736(r1), 0, qr0 +/* 802ACD84 002A9CE4 CB E1 09 30 */ lfd f31, 0x930(r1) +/* 802ACD88 002A9CE8 E3 C1 09 28 */ psq_l f30, -1752(r1), 0, qr0 +/* 802ACD8C 002A9CEC CB C1 09 20 */ lfd f30, 0x920(r1) +/* 802ACD90 002A9CF0 E3 A1 09 18 */ psq_l f29, -1768(r1), 0, qr0 +/* 802ACD94 002A9CF4 CB A1 09 10 */ lfd f29, 0x910(r1) +/* 802ACD98 002A9CF8 BA C1 08 E8 */ lmw r22, 0x8e8(r1) +/* 802ACD9C 002A9CFC 80 01 09 44 */ lwz r0, 0x944(r1) +/* 802ACDA0 002A9D00 7C 08 03 A6 */ mtlr r0 +/* 802ACDA4 002A9D04 38 21 09 40 */ addi r1, r1, 0x940 +/* 802ACDA8 002A9D08 4E 80 00 20 */ blr + +.global SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure +SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure: +/* 802ACDAC 002A9D0C 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 802ACDB0 002A9D10 7C 08 02 A6 */ mflr r0 +/* 802ACDB4 002A9D14 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 802ACDB8 002A9D18 BF 41 01 98 */ stmw r26, 0x198(r1) +/* 802ACDBC 002A9D1C 7C 7A 1B 78 */ mr r26, r3 +/* 802ACDC0 002A9D20 38 61 00 08 */ addi r3, r1, 8 +/* 802ACDC4 002A9D24 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACDC8 002A9D28 83 BA 00 00 */ lwz r29, 0(r26) +/* 802ACDCC 002A9D2C 83 9A 00 38 */ lwz r28, 0x38(r26) +/* 802ACDD0 002A9D30 7F A4 EB 78 */ mr r4, r29 +/* 802ACDD4 002A9D34 48 02 75 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802ACDD8 002A9D38 C0 61 00 08 */ lfs f3, 8(r1) +/* 802ACDDC 002A9D3C 38 61 01 68 */ addi r3, r1, 0x168 +/* 802ACDE0 002A9D40 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802ACDE4 002A9D44 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802ACDE8 002A9D48 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802ACDEC 002A9D4C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802ACDF0 002A9D50 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802ACDF4 002A9D54 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802ACDF8 002A9D58 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802ACDFC 002A9D5C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802ACE00 002A9D60 48 06 5D 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACE04 002A9D64 38 61 00 9C */ addi r3, r1, 0x9c +/* 802ACE08 002A9D68 38 81 01 68 */ addi r4, r1, 0x168 +/* 802ACE0C 002A9D6C 48 06 5E 91 */ bl GetQuickInverse__12CTransform4fCFv +/* 802ACE10 002A9D70 38 61 00 CC */ addi r3, r1, 0xcc +/* 802ACE14 002A9D74 38 81 00 9C */ addi r4, r1, 0x9c +/* 802ACE18 002A9D78 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACE1C 002A9D7C 48 06 5B 35 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802ACE20 002A9D80 38 61 01 38 */ addi r3, r1, 0x138 +/* 802ACE24 002A9D84 38 81 00 CC */ addi r4, r1, 0xcc +/* 802ACE28 002A9D88 48 06 5D 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACE2C 002A9D8C 7F A4 EB 78 */ mr r4, r29 +/* 802ACE30 002A9D90 38 61 00 28 */ addi r3, r1, 0x28 +/* 802ACE34 002A9D94 81 9D 00 00 */ lwz r12, 0(r29) +/* 802ACE38 002A9D98 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802ACE3C 002A9D9C 7D 89 03 A6 */ mtctr r12 +/* 802ACE40 002A9DA0 4E 80 04 21 */ bctrl +/* 802ACE44 002A9DA4 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACE48 002A9DA8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802ACE4C 002A9DAC 38 A1 01 38 */ addi r5, r1, 0x138 +/* 802ACE50 002A9DB0 48 02 8E CD */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802ACE54 002A9DB4 38 61 00 FC */ addi r3, r1, 0xfc +/* 802ACE58 002A9DB8 38 81 00 60 */ addi r4, r1, 0x60 +/* 802ACE5C 002A9DBC 48 06 5D 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACE60 002A9DC0 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802ACE64 002A9DC4 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ACE68 002A9DC8 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802ACE6C 002A9DCC 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ACE70 002A9DD0 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802ACE74 002A9DD4 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l +/* 802ACE78 002A9DD8 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 802ACE7C 002A9DDC 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l +/* 802ACE80 002A9DE0 3B 60 00 00 */ li r27, 0 +/* 802ACE84 002A9DE4 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802ACE88 002A9DE8 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802ACE8C 002A9DEC 48 00 00 8C */ b lbl_802ACF18 +lbl_802ACE90: +/* 802ACE90 002A9DF0 7F 83 E3 78 */ mr r3, r28 +/* 802ACE94 002A9DF4 81 9C 00 00 */ lwz r12, 0(r28) +/* 802ACE98 002A9DF8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ACE9C 002A9DFC 7D 89 03 A6 */ mtctr r12 +/* 802ACEA0 002A9E00 4E 80 04 21 */ bctrl +/* 802ACEA4 002A9E04 7C 7D 1B 78 */ mr r29, r3 +/* 802ACEA8 002A9E08 7F 83 E3 78 */ mr r3, r28 +/* 802ACEAC 002A9E0C 7F 64 DB 78 */ mr r4, r27 +/* 802ACEB0 002A9E10 48 00 0A 9D */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802ACEB4 002A9E14 7C 64 1B 78 */ mr r4, r3 +/* 802ACEB8 002A9E18 7F A5 EB 78 */ mr r5, r29 +/* 802ACEBC 002A9E1C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802ACEC0 002A9E20 4B FF F8 25 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ACEC4 002A9E24 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802ACEC8 002A9E28 38 61 00 40 */ addi r3, r1, 0x40 +/* 802ACECC 002A9E2C 81 1A 00 04 */ lwz r8, 4(r26) +/* 802ACED0 002A9E30 38 A1 01 68 */ addi r5, r1, 0x168 +/* 802ACED4 002A9E34 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802ACED8 002A9E38 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802ACEDC 002A9E3C 38 E1 00 FC */ addi r7, r1, 0xfc +/* 802ACEE0 002A9E40 4B FF EC D9 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +/* 802ACEE4 002A9E44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ACEE8 002A9E48 41 82 00 24 */ beq lbl_802ACF0C +/* 802ACEEC 002A9E4C 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802ACEF0 002A9E50 3C 80 80 3E */ lis r4, lbl_803D97E4@ha +/* 802ACEF4 002A9E54 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l +/* 802ACEF8 002A9E58 38 60 00 01 */ li r3, 1 +/* 802ACEFC 002A9E5C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802ACF00 002A9E60 38 04 97 E4 */ addi r0, r4, lbl_803D97E4@l +/* 802ACF04 002A9E64 90 01 00 40 */ stw r0, 0x40(r1) +/* 802ACF08 002A9E68 48 00 00 24 */ b lbl_802ACF2C +lbl_802ACF0C: +/* 802ACF0C 002A9E6C 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802ACF10 002A9E70 3B 7B 00 01 */ addi r27, r27, 1 +/* 802ACF14 002A9E74 93 E1 00 40 */ stw r31, 0x40(r1) +lbl_802ACF18: +/* 802ACF18 002A9E78 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802ACF1C 002A9E7C 80 03 00 04 */ lwz r0, 4(r3) +/* 802ACF20 002A9E80 7C 1B 00 00 */ cmpw r27, r0 +/* 802ACF24 002A9E84 41 80 FF 6C */ blt lbl_802ACE90 +/* 802ACF28 002A9E88 38 60 00 00 */ li r3, 0 +lbl_802ACF2C: +/* 802ACF2C 002A9E8C BB 41 01 98 */ lmw r26, 0x198(r1) +/* 802ACF30 002A9E90 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 802ACF34 002A9E94 7C 08 03 A6 */ mtlr r0 +/* 802ACF38 002A9E98 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 802ACF3C 002A9E9C 4E 80 00 20 */ blr + +.global SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList +SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802ACF40 002A9EA0 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802ACF44 002A9EA4 7C 08 02 A6 */ mflr r0 +/* 802ACF48 002A9EA8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802ACF4C 002A9EAC BE E1 01 9C */ stmw r23, 0x19c(r1) +/* 802ACF50 002A9EB0 7C 7E 1B 78 */ mr r30, r3 +/* 802ACF54 002A9EB4 7C 9F 23 78 */ mr r31, r4 +/* 802ACF58 002A9EB8 38 BE 00 08 */ addi r5, r30, 8 +/* 802ACF5C 002A9EBC 83 23 00 00 */ lwz r25, 0(r3) +/* 802ACF60 002A9EC0 38 61 00 08 */ addi r3, r1, 8 +/* 802ACF64 002A9EC4 83 5E 00 38 */ lwz r26, 0x38(r30) +/* 802ACF68 002A9EC8 7F 24 CB 78 */ mr r4, r25 +/* 802ACF6C 002A9ECC 48 02 73 E9 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802ACF70 002A9ED0 C0 61 00 08 */ lfs f3, 8(r1) +/* 802ACF74 002A9ED4 38 61 01 68 */ addi r3, r1, 0x168 +/* 802ACF78 002A9ED8 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802ACF7C 002A9EDC 38 9E 00 40 */ addi r4, r30, 0x40 +/* 802ACF80 002A9EE0 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802ACF84 002A9EE4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802ACF88 002A9EE8 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802ACF8C 002A9EEC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802ACF90 002A9EF0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802ACF94 002A9EF4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802ACF98 002A9EF8 48 06 5B DD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACF9C 002A9EFC 38 61 00 9C */ addi r3, r1, 0x9c +/* 802ACFA0 002A9F00 38 81 01 68 */ addi r4, r1, 0x168 +/* 802ACFA4 002A9F04 48 06 5C F9 */ bl GetQuickInverse__12CTransform4fCFv +/* 802ACFA8 002A9F08 38 61 00 CC */ addi r3, r1, 0xcc +/* 802ACFAC 002A9F0C 38 81 00 9C */ addi r4, r1, 0x9c +/* 802ACFB0 002A9F10 38 BE 00 08 */ addi r5, r30, 8 +/* 802ACFB4 002A9F14 48 06 59 9D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802ACFB8 002A9F18 38 61 01 38 */ addi r3, r1, 0x138 +/* 802ACFBC 002A9F1C 38 81 00 CC */ addi r4, r1, 0xcc +/* 802ACFC0 002A9F20 48 06 5B B5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACFC4 002A9F24 7F 24 CB 78 */ mr r4, r25 +/* 802ACFC8 002A9F28 38 61 00 28 */ addi r3, r1, 0x28 +/* 802ACFCC 002A9F2C 81 99 00 00 */ lwz r12, 0(r25) +/* 802ACFD0 002A9F30 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802ACFD4 002A9F34 7D 89 03 A6 */ mtctr r12 +/* 802ACFD8 002A9F38 4E 80 04 21 */ bctrl +/* 802ACFDC 002A9F3C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACFE0 002A9F40 38 81 00 28 */ addi r4, r1, 0x28 +/* 802ACFE4 002A9F44 38 A1 01 38 */ addi r5, r1, 0x138 +/* 802ACFE8 002A9F48 48 02 8D 35 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802ACFEC 002A9F4C 38 61 00 FC */ addi r3, r1, 0xfc +/* 802ACFF0 002A9F50 38 81 00 60 */ addi r4, r1, 0x60 +/* 802ACFF4 002A9F54 48 06 5B 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACFF8 002A9F58 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802ACFFC 002A9F5C 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD000 002A9F60 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802AD004 002A9F64 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD008 002A9F68 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802AD00C 002A9F6C 3B 84 C4 48 */ addi r28, r4, lbl_803EC448@l +/* 802AD010 002A9F70 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 802AD014 002A9F74 3B A3 97 E4 */ addi r29, r3, lbl_803D97E4@l +/* 802AD018 002A9F78 3B 00 00 00 */ li r24, 0 +/* 802AD01C 002A9F7C 3A E0 00 00 */ li r23, 0 +/* 802AD020 002A9F80 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802AD024 002A9F84 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802AD028 002A9F88 48 00 00 90 */ b lbl_802AD0B8 +lbl_802AD02C: +/* 802AD02C 002A9F8C 7F 43 D3 78 */ mr r3, r26 +/* 802AD030 002A9F90 81 9A 00 00 */ lwz r12, 0(r26) +/* 802AD034 002A9F94 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD038 002A9F98 7D 89 03 A6 */ mtctr r12 +/* 802AD03C 002A9F9C 4E 80 04 21 */ bctrl +/* 802AD040 002A9FA0 7C 7B 1B 78 */ mr r27, r3 +/* 802AD044 002A9FA4 7F 43 D3 78 */ mr r3, r26 +/* 802AD048 002A9FA8 7E E4 BB 78 */ mr r4, r23 +/* 802AD04C 002A9FAC 48 00 09 01 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AD050 002A9FB0 7C 64 1B 78 */ mr r4, r3 +/* 802AD054 002A9FB4 7F 65 DB 78 */ mr r5, r27 +/* 802AD058 002A9FB8 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD05C 002A9FBC 4B FF F6 89 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD060 002A9FC0 7F 23 CB 78 */ mr r3, r25 +/* 802AD064 002A9FC4 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802AD068 002A9FC8 81 99 00 00 */ lwz r12, 0(r25) +/* 802AD06C 002A9FCC 83 64 00 88 */ lwz r27, 0x88(r4) +/* 802AD070 002A9FD0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD074 002A9FD4 7D 89 03 A6 */ mtctr r12 +/* 802AD078 002A9FD8 4E 80 04 21 */ bctrl +/* 802AD07C 002A9FDC 81 3E 00 04 */ lwz r9, 4(r30) +/* 802AD080 002A9FE0 7C 68 1B 78 */ mr r8, r3 +/* 802AD084 002A9FE4 7F 64 DB 78 */ mr r4, r27 +/* 802AD088 002A9FE8 7F EA FB 78 */ mr r10, r31 +/* 802AD08C 002A9FEC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD090 002A9FF0 38 A1 01 68 */ addi r5, r1, 0x168 +/* 802AD094 002A9FF4 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802AD098 002A9FF8 38 E1 00 FC */ addi r7, r1, 0xfc +/* 802AD09C 002A9FFC 4B FF F0 C9 */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AD0A0 002AA000 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AD0A4 002AA004 41 82 00 08 */ beq lbl_802AD0AC +/* 802AD0A8 002AA008 3B 00 00 01 */ li r24, 1 +lbl_802AD0AC: +/* 802AD0AC 002AA00C 93 81 00 40 */ stw r28, 0x40(r1) +/* 802AD0B0 002AA010 3A F7 00 01 */ addi r23, r23, 1 +/* 802AD0B4 002AA014 93 A1 00 40 */ stw r29, 0x40(r1) +lbl_802AD0B8: +/* 802AD0B8 002AA018 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 802AD0BC 002AA01C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD0C0 002AA020 7C 17 00 00 */ cmpw r23, r0 +/* 802AD0C4 002AA024 41 80 FF 68 */ blt lbl_802AD02C +/* 802AD0C8 002AA028 7F 03 C3 78 */ mr r3, r24 +/* 802AD0CC 002AA02C BA E1 01 9C */ lmw r23, 0x19c(r1) +/* 802AD0D0 002AA030 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802AD0D4 002AA034 7C 08 03 A6 */ mtlr r0 +/* 802AD0D8 002AA038 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802AD0DC 002AA03C 4E 80 00 20 */ blr + +.global AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure +AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure: +/* 802AD0E0 002AA040 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802AD0E4 002AA044 7C 08 02 A6 */ mflr r0 +/* 802AD0E8 002AA048 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802AD0EC 002AA04C BF 41 01 A8 */ stmw r26, 0x1a8(r1) +/* 802AD0F0 002AA050 7C 7A 1B 78 */ mr r26, r3 +/* 802AD0F4 002AA054 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AD0F8 002AA058 38 BA 00 08 */ addi r5, r26, 8 +/* 802AD0FC 002AA05C 80 9A 00 00 */ lwz r4, 0(r26) +/* 802AD100 002AA060 83 9A 00 38 */ lwz r28, 0x38(r26) +/* 802AD104 002AA064 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD108 002AA068 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AD10C 002AA06C 7D 89 03 A6 */ mtctr r12 +/* 802AD110 002AA070 4E 80 04 21 */ bctrl +/* 802AD114 002AA074 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802AD118 002AA078 38 61 01 78 */ addi r3, r1, 0x178 +/* 802AD11C 002AA07C C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802AD120 002AA080 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802AD124 002AA084 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802AD128 002AA088 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802AD12C 002AA08C C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802AD130 002AA090 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802AD134 002AA094 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 802AD138 002AA098 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 802AD13C 002AA09C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802AD140 002AA0A0 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802AD144 002AA0A4 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802AD148 002AA0A8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802AD14C 002AA0AC 48 06 5A 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD150 002AA0B0 38 61 00 AC */ addi r3, r1, 0xac +/* 802AD154 002AA0B4 38 81 01 78 */ addi r4, r1, 0x178 +/* 802AD158 002AA0B8 48 06 5B 45 */ bl GetQuickInverse__12CTransform4fCFv +/* 802AD15C 002AA0BC 38 61 00 DC */ addi r3, r1, 0xdc +/* 802AD160 002AA0C0 38 81 00 AC */ addi r4, r1, 0xac +/* 802AD164 002AA0C4 38 BA 00 08 */ addi r5, r26, 8 +/* 802AD168 002AA0C8 48 06 57 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AD16C 002AA0CC 38 61 01 48 */ addi r3, r1, 0x148 +/* 802AD170 002AA0D0 38 81 00 DC */ addi r4, r1, 0xdc +/* 802AD174 002AA0D4 48 06 5A 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD178 002AA0D8 80 9A 00 00 */ lwz r4, 0(r26) +/* 802AD17C 002AA0DC 38 61 00 08 */ addi r3, r1, 8 +/* 802AD180 002AA0E0 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD184 002AA0E4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AD188 002AA0E8 7D 89 03 A6 */ mtctr r12 +/* 802AD18C 002AA0EC 4E 80 04 21 */ bctrl +/* 802AD190 002AA0F0 38 61 00 70 */ addi r3, r1, 0x70 +/* 802AD194 002AA0F4 38 81 00 08 */ addi r4, r1, 8 +/* 802AD198 002AA0F8 38 A1 01 48 */ addi r5, r1, 0x148 +/* 802AD19C 002AA0FC 48 02 8B 81 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AD1A0 002AA100 38 61 01 0C */ addi r3, r1, 0x10c +/* 802AD1A4 002AA104 38 81 00 70 */ addi r4, r1, 0x70 +/* 802AD1A8 002AA108 48 06 59 CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD1AC 002AA10C C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802AD1B0 002AA110 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD1B4 002AA114 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 802AD1B8 002AA118 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD1BC 002AA11C C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802AD1C0 002AA120 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l +/* 802AD1C4 002AA124 D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 802AD1C8 002AA128 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l +/* 802AD1CC 002AA12C 3B 60 00 00 */ li r27, 0 +/* 802AD1D0 002AA130 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802AD1D4 002AA134 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 802AD1D8 002AA138 48 00 00 8C */ b lbl_802AD264 +lbl_802AD1DC: +/* 802AD1DC 002AA13C 7F 83 E3 78 */ mr r3, r28 +/* 802AD1E0 002AA140 81 9C 00 00 */ lwz r12, 0(r28) +/* 802AD1E4 002AA144 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD1E8 002AA148 7D 89 03 A6 */ mtctr r12 +/* 802AD1EC 002AA14C 4E 80 04 21 */ bctrl +/* 802AD1F0 002AA150 7C 7D 1B 78 */ mr r29, r3 +/* 802AD1F4 002AA154 7F 83 E3 78 */ mr r3, r28 +/* 802AD1F8 002AA158 7F 64 DB 78 */ mr r4, r27 +/* 802AD1FC 002AA15C 48 00 07 51 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AD200 002AA160 7C 64 1B 78 */ mr r4, r3 +/* 802AD204 002AA164 7F A5 EB 78 */ mr r5, r29 +/* 802AD208 002AA168 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AD20C 002AA16C 4B FF F4 D9 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD210 002AA170 80 81 00 48 */ lwz r4, 0x48(r1) +/* 802AD214 002AA174 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AD218 002AA178 81 1A 00 04 */ lwz r8, 4(r26) +/* 802AD21C 002AA17C 38 A1 01 78 */ addi r5, r1, 0x178 +/* 802AD220 002AA180 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802AD224 002AA184 38 C1 00 58 */ addi r6, r1, 0x58 +/* 802AD228 002AA188 38 E1 01 0C */ addi r7, r1, 0x10c +/* 802AD22C 002AA18C 4B FF EB 5D */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +/* 802AD230 002AA190 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AD234 002AA194 41 82 00 24 */ beq lbl_802AD258 +/* 802AD238 002AA198 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802AD23C 002AA19C 3C 80 80 3E */ lis r4, lbl_803D97E4@ha +/* 802AD240 002AA1A0 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l +/* 802AD244 002AA1A4 38 60 00 01 */ li r3, 1 +/* 802AD248 002AA1A8 90 01 00 38 */ stw r0, 0x38(r1) +/* 802AD24C 002AA1AC 38 04 97 E4 */ addi r0, r4, lbl_803D97E4@l +/* 802AD250 002AA1B0 90 01 00 38 */ stw r0, 0x38(r1) +/* 802AD254 002AA1B4 48 00 00 24 */ b lbl_802AD278 +lbl_802AD258: +/* 802AD258 002AA1B8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802AD25C 002AA1BC 3B 7B 00 01 */ addi r27, r27, 1 +/* 802AD260 002AA1C0 93 E1 00 38 */ stw r31, 0x38(r1) +lbl_802AD264: +/* 802AD264 002AA1C4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802AD268 002AA1C8 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD26C 002AA1CC 7C 1B 00 00 */ cmpw r27, r0 +/* 802AD270 002AA1D0 41 80 FF 6C */ blt lbl_802AD1DC +/* 802AD274 002AA1D4 38 60 00 00 */ li r3, 0 +lbl_802AD278: +/* 802AD278 002AA1D8 BB 41 01 A8 */ lmw r26, 0x1a8(r1) +/* 802AD27C 002AA1DC 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802AD280 002AA1E0 7C 08 03 A6 */ mtlr r0 +/* 802AD284 002AA1E4 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802AD288 002AA1E8 4E 80 00 20 */ blr + +.global AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList +AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802AD28C 002AA1EC 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 802AD290 002AA1F0 7C 08 02 A6 */ mflr r0 +/* 802AD294 002AA1F4 90 01 02 84 */ stw r0, 0x284(r1) +/* 802AD298 002AA1F8 DB E1 02 70 */ stfd f31, 0x270(r1) +/* 802AD29C 002AA1FC F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 +/* 802AD2A0 002AA200 DB C1 02 60 */ stfd f30, 0x260(r1) +/* 802AD2A4 002AA204 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 +/* 802AD2A8 002AA208 DB A1 02 50 */ stfd f29, 0x250(r1) +/* 802AD2AC 002AA20C F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 +/* 802AD2B0 002AA210 DB 81 02 40 */ stfd f28, 0x240(r1) +/* 802AD2B4 002AA214 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 +/* 802AD2B8 002AA218 DB 61 02 30 */ stfd f27, 0x230(r1) +/* 802AD2BC 002AA21C F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 +/* 802AD2C0 002AA220 BF 01 02 10 */ stmw r24, 0x210(r1) +/* 802AD2C4 002AA224 7C 78 1B 78 */ mr r24, r3 +/* 802AD2C8 002AA228 7C 99 23 78 */ mr r25, r4 +/* 802AD2CC 002AA22C 80 83 00 00 */ lwz r4, 0(r3) +/* 802AD2D0 002AA230 38 61 00 28 */ addi r3, r1, 0x28 +/* 802AD2D4 002AA234 38 B8 00 08 */ addi r5, r24, 8 +/* 802AD2D8 002AA238 83 98 00 38 */ lwz r28, 0x38(r24) +/* 802AD2DC 002AA23C 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD2E0 002AA240 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AD2E4 002AA244 7D 89 03 A6 */ mtctr r12 +/* 802AD2E8 002AA248 4E 80 04 21 */ bctrl +/* 802AD2EC 002AA24C C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802AD2F0 002AA250 38 61 01 80 */ addi r3, r1, 0x180 +/* 802AD2F4 002AA254 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802AD2F8 002AA258 38 98 00 40 */ addi r4, r24, 0x40 +/* 802AD2FC 002AA25C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 802AD300 002AA260 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802AD304 002AA264 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 802AD308 002AA268 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802AD30C 002AA26C D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802AD310 002AA270 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802AD314 002AA274 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802AD318 002AA278 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AD31C 002AA27C D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802AD320 002AA280 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802AD324 002AA284 48 06 58 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD328 002AA288 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802AD32C 002AA28C 38 81 01 80 */ addi r4, r1, 0x180 +/* 802AD330 002AA290 48 06 59 6D */ bl GetQuickInverse__12CTransform4fCFv +/* 802AD334 002AA294 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 802AD338 002AA298 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 802AD33C 002AA29C 38 B8 00 08 */ addi r5, r24, 8 +/* 802AD340 002AA2A0 48 06 56 11 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AD344 002AA2A4 38 61 01 50 */ addi r3, r1, 0x150 +/* 802AD348 002AA2A8 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 802AD34C 002AA2AC 48 06 58 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD350 002AA2B0 80 98 00 00 */ lwz r4, 0(r24) +/* 802AD354 002AA2B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AD358 002AA2B8 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD35C 002AA2BC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AD360 002AA2C0 7D 89 03 A6 */ mtctr r12 +/* 802AD364 002AA2C4 4E 80 04 21 */ bctrl +/* 802AD368 002AA2C8 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AD36C 002AA2CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802AD370 002AA2D0 38 A1 01 50 */ addi r5, r1, 0x150 +/* 802AD374 002AA2D4 48 02 89 A9 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AD378 002AA2D8 38 61 01 14 */ addi r3, r1, 0x114 +/* 802AD37C 002AA2DC 38 81 00 78 */ addi r4, r1, 0x78 +/* 802AD380 002AA2E0 48 06 57 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD384 002AA2E4 C0 E2 C1 E0 */ lfs f7, lbl_805ADF00@sda21(r2) +/* 802AD388 002AA2E8 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD38C 002AA2EC C0 C2 C1 E4 */ lfs f6, lbl_805ADF04@sda21(r2) +/* 802AD390 002AA2F0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD394 002AA2F4 FF E0 38 50 */ fneg f31, f7 +/* 802AD398 002AA2F8 C1 41 00 64 */ lfs f10, 0x64(r1) +/* 802AD39C 002AA2FC FF A0 30 50 */ fneg f29, f6 +/* 802AD3A0 002AA300 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802AD3A4 002AA304 C3 C1 00 60 */ lfs f30, 0x60(r1) +/* 802AD3A8 002AA308 EF 8A 01 F2 */ fmuls f28, f10, f7 +/* 802AD3AC 002AA30C EF 7E 01 F2 */ fmuls f27, f30, f7 +/* 802AD3B0 002AA310 C1 61 00 68 */ lfs f11, 0x68(r1) +/* 802AD3B4 002AA314 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 802AD3B8 002AA318 C1 81 00 6C */ lfs f12, 0x6c(r1) +/* 802AD3BC 002AA31C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802AD3C0 002AA320 C1 21 00 A8 */ lfs f9, 0xa8(r1) +/* 802AD3C4 002AA324 EC 3B E0 2A */ fadds f1, f27, f28 +/* 802AD3C8 002AA328 C1 A1 00 74 */ lfs f13, 0x74(r1) +/* 802AD3CC 002AA32C EC 6C 27 7A */ fmadds f3, f12, f29, f4 +/* 802AD3D0 002AA330 C1 01 00 AC */ lfs f8, 0xac(r1) +/* 802AD3D4 002AA334 EC 4C 07 FA */ fmadds f2, f12, f31, f0 +/* 802AD3D8 002AA338 C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 802AD3DC 002AA33C EC 0C 27 FA */ fmadds f0, f12, f31, f4 +/* 802AD3E0 002AA340 D1 21 01 44 */ stfs f9, 0x144(r1) +/* 802AD3E4 002AA344 EC 8D 1F FA */ fmadds f4, f13, f31, f3 +/* 802AD3E8 002AA348 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l +/* 802AD3EC 002AA34C EC 4D 17 FA */ fmadds f2, f13, f31, f2 +/* 802AD3F0 002AA350 D1 01 01 48 */ stfs f8, 0x148(r1) +/* 802AD3F4 002AA354 EC 2B 09 BA */ fmadds f1, f11, f6, f1 +/* 802AD3F8 002AA358 D0 A1 01 4C */ stfs f5, 0x14c(r1) +/* 802AD3FC 002AA35C EC 0D 07 7A */ fmadds f0, f13, f29, f0 +/* 802AD400 002AA360 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l +/* 802AD404 002AA364 ED 0B 01 F2 */ fmuls f8, f11, f7 +/* 802AD408 002AA368 D0 C1 01 B0 */ stfs f6, 0x1b0(r1) +/* 802AD40C 002AA36C EC BE E1 BA */ fmadds f5, f30, f6, f28 +/* 802AD410 002AA370 D0 E1 01 B4 */ stfs f7, 0x1b4(r1) +/* 802AD414 002AA374 EC 6A D9 BA */ fmadds f3, f10, f6, f27 +/* 802AD418 002AA378 3B 60 00 00 */ li r27, 0 +/* 802AD41C 002AA37C D0 E1 01 B8 */ stfs f7, 0x1b8(r1) +/* 802AD420 002AA380 3B 40 00 00 */ li r26, 0 +/* 802AD424 002AA384 EC A8 28 2A */ fadds f5, f8, f5 +/* 802AD428 002AA388 D3 A1 01 C0 */ stfs f29, 0x1c0(r1) +/* 802AD42C 002AA38C EC 68 18 2A */ fadds f3, f8, f3 +/* 802AD430 002AA390 D3 E1 01 C4 */ stfs f31, 0x1c4(r1) +/* 802AD434 002AA394 D0 A1 01 BC */ stfs f5, 0x1bc(r1) +/* 802AD438 002AA398 D3 E1 01 C8 */ stfs f31, 0x1c8(r1) +/* 802AD43C 002AA39C D0 81 01 CC */ stfs f4, 0x1cc(r1) +/* 802AD440 002AA3A0 D0 E1 01 D0 */ stfs f7, 0x1d0(r1) +/* 802AD444 002AA3A4 D0 C1 01 D4 */ stfs f6, 0x1d4(r1) +/* 802AD448 002AA3A8 D0 E1 01 D8 */ stfs f7, 0x1d8(r1) +/* 802AD44C 002AA3AC D0 61 01 DC */ stfs f3, 0x1dc(r1) +/* 802AD450 002AA3B0 D3 E1 01 E0 */ stfs f31, 0x1e0(r1) +/* 802AD454 002AA3B4 D3 A1 01 E4 */ stfs f29, 0x1e4(r1) +/* 802AD458 002AA3B8 D3 E1 01 E8 */ stfs f31, 0x1e8(r1) +/* 802AD45C 002AA3BC D0 41 01 EC */ stfs f2, 0x1ec(r1) +/* 802AD460 002AA3C0 D0 E1 01 F0 */ stfs f7, 0x1f0(r1) +/* 802AD464 002AA3C4 D0 E1 01 F4 */ stfs f7, 0x1f4(r1) +/* 802AD468 002AA3C8 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) +/* 802AD46C 002AA3CC D0 21 01 FC */ stfs f1, 0x1fc(r1) +/* 802AD470 002AA3D0 D3 E1 02 00 */ stfs f31, 0x200(r1) +/* 802AD474 002AA3D4 D3 E1 02 04 */ stfs f31, 0x204(r1) +/* 802AD478 002AA3D8 D3 A1 02 08 */ stfs f29, 0x208(r1) +/* 802AD47C 002AA3DC D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 802AD480 002AA3E0 48 00 00 94 */ b lbl_802AD514 +lbl_802AD484: +/* 802AD484 002AA3E4 7F 83 E3 78 */ mr r3, r28 +/* 802AD488 002AA3E8 81 9C 00 00 */ lwz r12, 0(r28) +/* 802AD48C 002AA3EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD490 002AA3F0 7D 89 03 A6 */ mtctr r12 +/* 802AD494 002AA3F4 4E 80 04 21 */ bctrl +/* 802AD498 002AA3F8 7C 7D 1B 78 */ mr r29, r3 +/* 802AD49C 002AA3FC 7F 83 E3 78 */ mr r3, r28 +/* 802AD4A0 002AA400 7F 44 D3 78 */ mr r4, r26 +/* 802AD4A4 002AA404 48 00 04 A9 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AD4A8 002AA408 7C 64 1B 78 */ mr r4, r3 +/* 802AD4AC 002AA40C 7F A5 EB 78 */ mr r5, r29 +/* 802AD4B0 002AA410 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD4B4 002AA414 4B FF F2 31 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD4B8 002AA418 80 78 00 00 */ lwz r3, 0(r24) +/* 802AD4BC 002AA41C 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802AD4C0 002AA420 81 83 00 00 */ lwz r12, 0(r3) +/* 802AD4C4 002AA424 83 A4 00 88 */ lwz r29, 0x88(r4) +/* 802AD4C8 002AA428 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD4CC 002AA42C 7D 89 03 A6 */ mtctr r12 +/* 802AD4D0 002AA430 4E 80 04 21 */ bctrl +/* 802AD4D4 002AA434 93 21 00 08 */ stw r25, 8(r1) +/* 802AD4D8 002AA438 7C 68 1B 78 */ mr r8, r3 +/* 802AD4DC 002AA43C 7F A4 EB 78 */ mr r4, r29 +/* 802AD4E0 002AA440 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD4E4 002AA444 81 38 00 04 */ lwz r9, 4(r24) +/* 802AD4E8 002AA448 38 A1 01 80 */ addi r5, r1, 0x180 +/* 802AD4EC 002AA44C 38 C1 00 60 */ addi r6, r1, 0x60 +/* 802AD4F0 002AA450 38 E1 01 14 */ addi r7, r1, 0x114 +/* 802AD4F4 002AA454 39 41 01 B0 */ addi r10, r1, 0x1b0 +/* 802AD4F8 002AA458 4B FF EF FD */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AD4FC 002AA45C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AD500 002AA460 41 82 00 08 */ beq lbl_802AD508 +/* 802AD504 002AA464 3B 60 00 01 */ li r27, 1 +lbl_802AD508: +/* 802AD508 002AA468 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802AD50C 002AA46C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802AD510 002AA470 93 E1 00 40 */ stw r31, 0x40(r1) +lbl_802AD514: +/* 802AD514 002AA474 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802AD518 002AA478 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD51C 002AA47C 7C 1A 00 00 */ cmpw r26, r0 +/* 802AD520 002AA480 41 80 FF 64 */ blt lbl_802AD484 +/* 802AD524 002AA484 7F 63 DB 78 */ mr r3, r27 +/* 802AD528 002AA488 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 +/* 802AD52C 002AA48C CB E1 02 70 */ lfd f31, 0x270(r1) +/* 802AD530 002AA490 E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 +/* 802AD534 002AA494 CB C1 02 60 */ lfd f30, 0x260(r1) +/* 802AD538 002AA498 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 +/* 802AD53C 002AA49C CB A1 02 50 */ lfd f29, 0x250(r1) +/* 802AD540 002AA4A0 E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 +/* 802AD544 002AA4A4 CB 81 02 40 */ lfd f28, 0x240(r1) +/* 802AD548 002AA4A8 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 +/* 802AD54C 002AA4AC CB 61 02 30 */ lfd f27, 0x230(r1) +/* 802AD550 002AA4B0 BB 01 02 10 */ lmw r24, 0x210(r1) +/* 802AD554 002AA4B4 80 01 02 84 */ lwz r0, 0x284(r1) +/* 802AD558 002AA4B8 7C 08 03 A6 */ mtlr r0 +/* 802AD55C 002AA4BC 38 21 02 80 */ addi r1, r1, 0x280 +/* 802AD560 002AA4C0 4E 80 00 20 */ blr + +.global CastRayInternal__23CCollidableOBBTreeGroupCFRC25CInternalRayCastStructure +CastRayInternal__23CCollidableOBBTreeGroupCFRC25CInternalRayCastStructure: +/* 802AD564 002AA4C4 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802AD568 002AA4C8 7C 08 02 A6 */ mflr r0 +/* 802AD56C 002AA4CC 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802AD570 002AA4D0 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802AD574 002AA4D4 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802AD578 002AA4D8 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802AD57C 002AA4DC F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802AD580 002AA4E0 BE C1 01 88 */ stmw r22, 0x188(r1) +/* 802AD584 002AA4E4 C0 22 C1 E0 */ lfs f1, lbl_805ADF00@sda21(r2) +/* 802AD588 002AA4E8 7C 79 1B 78 */ mr r25, r3 +/* 802AD58C 002AA4EC C0 02 C1 E4 */ lfs f0, lbl_805ADF04@sda21(r2) +/* 802AD590 002AA4F0 7C 9A 23 78 */ mr r26, r4 +/* 802AD594 002AA4F4 D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 802AD598 002AA4F8 7C BB 2B 78 */ mr r27, r5 +/* 802AD59C 002AA4FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AD5A0 002AA500 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 802AD5A4 002AA504 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 802AD5A8 002AA508 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 802AD5AC 002AA50C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802AD5B0 002AA510 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802AD5B4 002AA514 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802AD5B8 002AA518 48 06 73 41 */ bl Normalize__9CVector3fFv +/* 802AD5BC 002AA51C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802AD5C0 002AA520 38 00 00 00 */ li r0, 0 +/* 802AD5C4 002AA524 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802AD5C8 002AA528 7F 64 DB 78 */ mr r4, r27 +/* 802AD5CC 002AA52C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802AD5D0 002AA530 38 61 00 70 */ addi r3, r1, 0x70 +/* 802AD5D4 002AA534 C0 02 C1 E0 */ lfs f0, lbl_805ADF00@sda21(r2) +/* 802AD5D8 002AA538 38 BB 00 3C */ addi r5, r27, 0x3c +/* 802AD5DC 002AA53C D0 61 00 F0 */ stfs f3, 0xf0(r1) +/* 802AD5E0 002AA540 80 DA 00 10 */ lwz r6, 0x10(r26) +/* 802AD5E4 002AA544 D0 41 00 F4 */ stfs f2, 0xf4(r1) +/* 802AD5E8 002AA548 C3 FB 00 38 */ lfs f31, 0x38(r27) +/* 802AD5EC 002AA54C D0 21 00 F8 */ stfs f1, 0xf8(r1) +/* 802AD5F0 002AA550 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 802AD5F4 002AA554 98 01 01 00 */ stb r0, 0x100(r1) +/* 802AD5F8 002AA558 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802AD5FC 002AA55C 90 01 01 08 */ stw r0, 0x108(r1) +/* 802AD600 002AA560 83 E6 00 0C */ lwz r31, 0xc(r6) +/* 802AD604 002AA564 83 C6 00 1C */ lwz r30, 0x1c(r6) +/* 802AD608 002AA568 48 02 89 E1 */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f +/* 802AD60C 002AA56C C1 A1 00 70 */ lfs f13, 0x70(r1) +/* 802AD610 002AA570 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD614 002AA574 C1 81 00 74 */ lfs f12, 0x74(r1) +/* 802AD618 002AA578 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD61C 002AA57C C1 61 00 78 */ lfs f11, 0x78(r1) +/* 802AD620 002AA580 3B 81 00 D4 */ addi r28, r1, 0xd4 +/* 802AD624 002AA584 C1 41 00 7C */ lfs f10, 0x7c(r1) +/* 802AD628 002AA588 3B A1 01 4C */ addi r29, r1, 0x14c +/* 802AD62C 002AA58C C1 21 00 80 */ lfs f9, 0x80(r1) +/* 802AD630 002AA590 3A E4 C4 48 */ addi r23, r4, lbl_803EC448@l +/* 802AD634 002AA594 C1 01 00 84 */ lfs f8, 0x84(r1) +/* 802AD638 002AA598 3B 03 97 E4 */ addi r24, r3, lbl_803D97E4@l +/* 802AD63C 002AA59C C0 E1 00 88 */ lfs f7, 0x88(r1) +/* 802AD640 002AA5A0 C0 C1 00 8C */ lfs f6, 0x8c(r1) +/* 802AD644 002AA5A4 C0 A1 00 90 */ lfs f5, 0x90(r1) +/* 802AD648 002AA5A8 C0 81 00 94 */ lfs f4, 0x94(r1) +/* 802AD64C 002AA5AC C0 61 00 98 */ lfs f3, 0x98(r1) +/* 802AD650 002AA5B0 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 802AD654 002AA5B4 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 802AD658 002AA5B8 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802AD65C 002AA5BC D1 A1 00 A8 */ stfs f13, 0xa8(r1) +/* 802AD660 002AA5C0 C3 C2 C1 E0 */ lfs f30, lbl_805ADF00@sda21(r2) +/* 802AD664 002AA5C4 D1 81 00 AC */ stfs f12, 0xac(r1) +/* 802AD668 002AA5C8 D1 61 00 B0 */ stfs f11, 0xb0(r1) +/* 802AD66C 002AA5CC D1 41 00 B4 */ stfs f10, 0xb4(r1) +/* 802AD670 002AA5D0 D1 21 00 B8 */ stfs f9, 0xb8(r1) +/* 802AD674 002AA5D4 D1 01 00 BC */ stfs f8, 0xbc(r1) +/* 802AD678 002AA5D8 D0 E1 00 C0 */ stfs f7, 0xc0(r1) +/* 802AD67C 002AA5DC D0 C1 00 C4 */ stfs f6, 0xc4(r1) +/* 802AD680 002AA5E0 D0 A1 00 C8 */ stfs f5, 0xc8(r1) +/* 802AD684 002AA5E4 D0 81 00 CC */ stfs f4, 0xcc(r1) +/* 802AD688 002AA5E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802AD68C 002AA5EC D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802AD690 002AA5F0 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802AD694 002AA5F4 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 802AD698 002AA5F8 48 00 01 74 */ b lbl_802AD80C +lbl_802AD69C: +/* 802AD69C 002AA5FC 7F 43 D3 78 */ mr r3, r26 +/* 802AD6A0 002AA600 82 DF 00 04 */ lwz r22, 4(r31) +/* 802AD6A4 002AA604 81 9A 00 00 */ lwz r12, 0(r26) +/* 802AD6A8 002AA608 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD6AC 002AA60C 7D 89 03 A6 */ mtctr r12 +/* 802AD6B0 002AA610 4E 80 04 21 */ bctrl +/* 802AD6B4 002AA614 7C 65 1B 78 */ mr r5, r3 +/* 802AD6B8 002AA618 7E C4 B3 78 */ mr r4, r22 +/* 802AD6BC 002AA61C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AD6C0 002AA620 4B FF F0 25 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD6C4 002AA624 D3 C1 00 0C */ stfs f30, 0xc(r1) +/* 802AD6C8 002AA628 7F C4 F3 78 */ mr r4, r30 +/* 802AD6CC 002AA62C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802AD6D0 002AA630 38 A1 00 0C */ addi r5, r1, 0xc +/* 802AD6D4 002AA634 D3 C1 00 08 */ stfs f30, 8(r1) +/* 802AD6D8 002AA638 38 C1 00 08 */ addi r6, r1, 8 +/* 802AD6DC 002AA63C 48 02 58 A5 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf +/* 802AD6E0 002AA640 2C 03 00 00 */ cmpwi r3, 0 +/* 802AD6E4 002AA644 41 82 01 18 */ beq lbl_802AD7FC +/* 802AD6E8 002AA648 FC 20 F8 90 */ fmr f1, f31 +/* 802AD6EC 002AA64C 82 DB 00 6C */ lwz r22, 0x6c(r27) +/* 802AD6F0 002AA650 7F 85 E3 78 */ mr r5, r28 +/* 802AD6F4 002AA654 38 61 01 10 */ addi r3, r1, 0x110 +/* 802AD6F8 002AA658 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802AD6FC 002AA65C 48 02 89 71 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 802AD700 002AA660 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802AD704 002AA664 D3 E1 01 48 */ stfs f31, 0x148(r1) +/* 802AD708 002AA668 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802AD70C 002AA66C 7F A3 EB 78 */ mr r3, r29 +/* 802AD710 002AA670 48 06 54 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD714 002AA674 92 C1 01 7C */ stw r22, 0x17c(r1) +/* 802AD718 002AA678 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD71C 002AA67C 81 81 00 20 */ lwz r12, 0x20(r1) +/* 802AD720 002AA680 38 81 00 20 */ addi r4, r1, 0x20 +/* 802AD724 002AA684 38 A1 01 10 */ addi r5, r1, 0x110 +/* 802AD728 002AA688 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802AD72C 002AA68C 7D 89 03 A6 */ mtctr r12 +/* 802AD730 002AA690 4E 80 04 21 */ bctrl +/* 802AD734 002AA694 88 A1 00 60 */ lbz r5, 0x60(r1) +/* 802AD738 002AA698 28 05 00 00 */ cmplwi r5, 0 +/* 802AD73C 002AA69C 41 82 00 C0 */ beq lbl_802AD7FC +/* 802AD740 002AA6A0 88 01 01 00 */ lbz r0, 0x100(r1) +/* 802AD744 002AA6A4 28 00 00 00 */ cmplwi r0, 0 +/* 802AD748 002AA6A8 41 82 00 64 */ beq lbl_802AD7AC +/* 802AD74C 002AA6AC C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802AD750 002AA6B0 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802AD754 002AA6B4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802AD758 002AA6B8 40 80 00 A4 */ bge lbl_802AD7FC +/* 802AD75C 002AA6BC 80 81 00 44 */ lwz r4, 0x44(r1) +/* 802AD760 002AA6C0 FF E0 28 90 */ fmr f31, f5 +/* 802AD764 002AA6C4 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802AD768 002AA6C8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802AD76C 002AA6CC C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802AD770 002AA6D0 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802AD774 002AA6D4 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802AD778 002AA6D8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802AD77C 002AA6DC C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802AD780 002AA6E0 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802AD784 002AA6E4 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 802AD788 002AA6E8 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802AD78C 002AA6EC 90 01 00 EC */ stw r0, 0xec(r1) +/* 802AD790 002AA6F0 D0 81 00 F0 */ stfs f4, 0xf0(r1) +/* 802AD794 002AA6F4 D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 802AD798 002AA6F8 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 802AD79C 002AA6FC D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 802AD7A0 002AA700 98 A1 01 00 */ stb r5, 0x100(r1) +/* 802AD7A4 002AA704 D8 01 01 08 */ stfd f0, 0x108(r1) +/* 802AD7A8 002AA708 48 00 00 54 */ b lbl_802AD7FC +lbl_802AD7AC: +/* 802AD7AC 002AA70C C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802AD7B0 002AA710 80 81 00 44 */ lwz r4, 0x44(r1) +/* 802AD7B4 002AA714 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802AD7B8 002AA718 FF E0 28 90 */ fmr f31, f5 +/* 802AD7BC 002AA71C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802AD7C0 002AA720 C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802AD7C4 002AA724 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802AD7C8 002AA728 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802AD7CC 002AA72C C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802AD7D0 002AA730 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802AD7D4 002AA734 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802AD7D8 002AA738 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 802AD7DC 002AA73C 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802AD7E0 002AA740 90 01 00 EC */ stw r0, 0xec(r1) +/* 802AD7E4 002AA744 D0 81 00 F0 */ stfs f4, 0xf0(r1) +/* 802AD7E8 002AA748 D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 802AD7EC 002AA74C D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 802AD7F0 002AA750 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 802AD7F4 002AA754 98 A1 01 00 */ stb r5, 0x100(r1) +/* 802AD7F8 002AA758 D8 01 01 08 */ stfd f0, 0x108(r1) +lbl_802AD7FC: +/* 802AD7FC 002AA75C 92 E1 00 20 */ stw r23, 0x20(r1) +/* 802AD800 002AA760 3B FF 00 08 */ addi r31, r31, 8 +/* 802AD804 002AA764 3B DE 00 18 */ addi r30, r30, 0x18 +/* 802AD808 002AA768 93 01 00 20 */ stw r24, 0x20(r1) +lbl_802AD80C: +/* 802AD80C 002AA76C 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 802AD810 002AA770 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD814 002AA774 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802AD818 002AA778 54 00 18 38 */ slwi r0, r0, 3 +/* 802AD81C 002AA77C 7C 03 02 14 */ add r0, r3, r0 +/* 802AD820 002AA780 7C 1F 00 40 */ cmplw r31, r0 +/* 802AD824 002AA784 40 82 FE 78 */ bne lbl_802AD69C +/* 802AD828 002AA788 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802AD82C 002AA78C 38 9B 00 3C */ addi r4, r27, 0x3c +/* 802AD830 002AA790 48 00 00 81 */ bl Transform__14CRayCastResultFRC12CTransform4f +/* 802AD834 002AA794 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802AD838 002AA798 D0 19 00 00 */ stfs f0, 0(r25) +/* 802AD83C 002AA79C C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802AD840 002AA7A0 D0 19 00 04 */ stfs f0, 4(r25) +/* 802AD844 002AA7A4 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802AD848 002AA7A8 D0 19 00 08 */ stfs f0, 8(r25) +/* 802AD84C 002AA7AC C0 01 00 EC */ lfs f0, 0xec(r1) +/* 802AD850 002AA7B0 D0 19 00 0C */ stfs f0, 0xc(r25) +/* 802AD854 002AA7B4 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802AD858 002AA7B8 D0 19 00 10 */ stfs f0, 0x10(r25) +/* 802AD85C 002AA7BC C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802AD860 002AA7C0 D0 19 00 14 */ stfs f0, 0x14(r25) +/* 802AD864 002AA7C4 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 802AD868 002AA7C8 D0 19 00 18 */ stfs f0, 0x18(r25) +/* 802AD86C 002AA7CC C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 802AD870 002AA7D0 D0 19 00 1C */ stfs f0, 0x1c(r25) +/* 802AD874 002AA7D4 88 01 01 00 */ lbz r0, 0x100(r1) +/* 802AD878 002AA7D8 98 19 00 20 */ stb r0, 0x20(r25) +/* 802AD87C 002AA7DC 80 01 01 08 */ lwz r0, 0x108(r1) +/* 802AD880 002AA7E0 80 61 01 0C */ lwz r3, 0x10c(r1) +/* 802AD884 002AA7E4 90 79 00 2C */ stw r3, 0x2c(r25) +/* 802AD888 002AA7E8 90 19 00 28 */ stw r0, 0x28(r25) +/* 802AD88C 002AA7EC E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802AD890 002AA7F0 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802AD894 002AA7F4 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802AD898 002AA7F8 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802AD89C 002AA7FC BA C1 01 88 */ lmw r22, 0x188(r1) +/* 802AD8A0 002AA800 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802AD8A4 002AA804 7C 08 03 A6 */ mtlr r0 +/* 802AD8A8 002AA808 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802AD8AC 002AA80C 4E 80 00 20 */ blr + +.global Transform__14CRayCastResultFRC12CTransform4f +Transform__14CRayCastResultFRC12CTransform4f: +/* 802AD8B0 002AA810 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AD8B4 002AA814 7C 08 02 A6 */ mflr r0 +/* 802AD8B8 002AA818 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AD8BC 002AA81C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AD8C0 002AA820 7C 9F 23 78 */ mr r31, r4 +/* 802AD8C4 002AA824 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802AD8C8 002AA828 7C 7E 1B 78 */ mr r30, r3 +/* 802AD8CC 002AA82C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AD8D0 002AA830 38 BE 00 04 */ addi r5, r30, 4 +/* 802AD8D4 002AA834 48 06 52 15 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802AD8D8 002AA838 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802AD8DC 002AA83C 7F E4 FB 78 */ mr r4, r31 +/* 802AD8E0 002AA840 38 61 00 08 */ addi r3, r1, 8 +/* 802AD8E4 002AA844 38 BE 00 10 */ addi r5, r30, 0x10 +/* 802AD8E8 002AA848 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802AD8EC 002AA84C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802AD8F0 002AA850 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802AD8F4 002AA854 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802AD8F8 002AA858 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802AD8FC 002AA85C 48 06 51 85 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802AD900 002AA860 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 802AD904 002AA864 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802AD908 002AA868 C0 61 00 08 */ lfs f3, 8(r1) +/* 802AD90C 002AA86C EC 00 01 32 */ fmuls f0, f0, f4 +/* 802AD910 002AA870 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802AD914 002AA874 C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 802AD918 002AA878 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 802AD91C 002AA87C EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 802AD920 002AA880 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 802AD924 002AA884 D0 9E 00 14 */ stfs f4, 0x14(r30) +/* 802AD928 002AA888 EC 02 01 7A */ fmadds f0, f2, f5, f0 +/* 802AD92C 002AA88C D0 BE 00 18 */ stfs f5, 0x18(r30) +/* 802AD930 002AA890 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802AD934 002AA894 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802AD938 002AA898 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802AD93C 002AA89C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AD940 002AA8A0 7C 08 03 A6 */ mtlr r0 +/* 802AD944 002AA8A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AD948 002AA8A8 4E 80 00 20 */ blr + +.global GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi: +/* 802AD94C 002AA8AC 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802AD950 002AA8B0 54 83 18 38 */ slwi r3, r4, 3 +/* 802AD954 002AA8B4 38 03 00 04 */ addi r0, r3, 4 +/* 802AD958 002AA8B8 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802AD95C 002AA8BC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802AD960 002AA8C0 4E 80 00 20 */ blr + +.global "__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList" +"__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList": +/* 802AD964 002AA8C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AD968 002AA8C8 7C 08 02 A6 */ mflr r0 +/* 802AD96C 002AA8CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AD970 002AA8D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AD974 002AA8D4 7C 9F 23 78 */ mr r31, r4 +/* 802AD978 002AA8D8 7C A4 2B 78 */ mr r4, r5 +/* 802AD97C 002AA8DC 93 C1 00 08 */ stw r30, 8(r1) +/* 802AD980 002AA8E0 7C 7E 1B 78 */ mr r30, r3 +/* 802AD984 002AA8E4 48 02 1F 31 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 802AD988 002AA8E8 3C 80 80 3F */ lis r4, lbl_803EC470@ha +/* 802AD98C 002AA8EC 7F C3 F3 78 */ mr r3, r30 +/* 802AD990 002AA8F0 38 04 C4 70 */ addi r0, r4, lbl_803EC470@l +/* 802AD994 002AA8F4 90 1E 00 00 */ stw r0, 0(r30) +/* 802AD998 002AA8F8 93 FE 00 10 */ stw r31, 0x10(r30) +/* 802AD99C 002AA8FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AD9A0 002AA900 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AD9A4 002AA904 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AD9A8 002AA908 7C 08 03 A6 */ mtlr r0 +/* 802AD9AC 002AA90C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AD9B0 002AA910 4E 80 00 20 */ blr + +.global GetType__23CCollidableOBBTreeGroupFv +GetType__23CCollidableOBBTreeGroupFv: +/* 802AD9B4 002AA914 3C A0 80 2B */ lis r5, SetStaticTableIndex__23CCollidableOBBTreeGroupFUi@ha +/* 802AD9B8 002AA918 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802AD9BC 002AA91C 38 05 D9 D0 */ addi r0, r5, SetStaticTableIndex__23CCollidableOBBTreeGroupFUi@l +/* 802AD9C0 002AA920 90 03 00 00 */ stw r0, 0(r3) +/* 802AD9C4 002AA924 38 04 60 F0 */ addi r0, r4, lbl_803D60F0@l +/* 802AD9C8 002AA928 90 03 00 04 */ stw r0, 4(r3) +/* 802AD9CC 002AA92C 4E 80 00 20 */ blr + +.global SetStaticTableIndex__23CCollidableOBBTreeGroupFUi +SetStaticTableIndex__23CCollidableOBBTreeGroupFUi: +/* 802AD9D0 002AA930 90 6D 9A 78 */ stw r3, lbl_805A8638@sda21(r13) +/* 802AD9D4 002AA934 4E 80 00 20 */ blr + +.global __ct__23CCollidableOBBTreeGroupFRC9CVector3fRC9CVector3f +__ct__23CCollidableOBBTreeGroupFRC9CVector3fRC9CVector3f: +/* 802AD9D8 002AA938 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802AD9DC 002AA93C 7C 08 02 A6 */ mflr r0 +/* 802AD9E0 002AA940 3C C0 80 5A */ lis r6, lbl_805A6754@ha +/* 802AD9E4 002AA944 90 01 00 94 */ stw r0, 0x94(r1) +/* 802AD9E8 002AA948 38 00 00 00 */ li r0, 0 +/* 802AD9EC 002AA94C BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802AD9F0 002AA950 7C BB 2B 78 */ mr r27, r5 +/* 802AD9F4 002AA954 7C 9C 23 78 */ mr r28, r4 +/* 802AD9F8 002AA958 38 A6 67 54 */ addi r5, r6, lbl_805A6754@l +/* 802AD9FC 002AA95C 7C 7D 1B 78 */ mr r29, r3 +/* 802ADA00 002AA960 38 80 00 01 */ li r4, 1 +/* 802ADA04 002AA964 90 03 00 04 */ stw r0, 4(r3) +/* 802ADA08 002AA968 90 03 00 08 */ stw r0, 8(r3) +/* 802ADA0C 002AA96C 90 03 00 0C */ stw r0, 0xc(r3) +/* 802ADA10 002AA970 90 03 00 14 */ stw r0, 0x14(r3) +/* 802ADA14 002AA974 90 03 00 18 */ stw r0, 0x18(r3) +/* 802ADA18 002AA978 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802ADA1C 002AA97C C0 05 00 00 */ lfs f0, 0(r5) +/* 802ADA20 002AA980 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802ADA24 002AA984 C0 05 00 04 */ lfs f0, 4(r5) +/* 802ADA28 002AA988 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802ADA2C 002AA98C C0 05 00 08 */ lfs f0, 8(r5) +/* 802ADA30 002AA990 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802ADA34 002AA994 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802ADA38 002AA998 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802ADA3C 002AA99C C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802ADA40 002AA9A0 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802ADA44 002AA9A4 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802ADA48 002AA9A8 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802ADA4C 002AA9AC 48 00 07 6D */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +/* 802ADA50 002AA9B0 7F 84 E3 78 */ mr r4, r28 +/* 802ADA54 002AA9B4 7F 65 DB 78 */ mr r5, r27 +/* 802ADA58 002AA9B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802ADA5C 002AA9BC 4B FF A5 B5 */ bl BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f +/* 802ADA60 002AA9C0 88 81 00 18 */ lbz r4, 0x18(r1) +/* 802ADA64 002AA9C4 38 00 00 00 */ li r0, 0 +/* 802ADA68 002AA9C8 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802ADA6C 002AA9CC 98 01 00 18 */ stb r0, 0x18(r1) +/* 802ADA70 002AA9D0 80 1D 00 04 */ lwz r0, 4(r29) +/* 802ADA74 002AA9D4 80 BD 00 08 */ lwz r5, 8(r29) +/* 802ADA78 002AA9D8 98 81 00 10 */ stb r4, 0x10(r1) +/* 802ADA7C 002AA9DC 7C 00 28 00 */ cmpw r0, r5 +/* 802ADA80 002AA9E0 90 61 00 14 */ stw r3, 0x14(r1) +/* 802ADA84 002AA9E4 41 80 00 1C */ blt lbl_802ADAA0 +/* 802ADA88 002AA9E8 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADA8C 002AA9EC 7F A3 EB 78 */ mr r3, r29 +/* 802ADA90 002AA9F0 38 80 00 04 */ li r4, 4 +/* 802ADA94 002AA9F4 41 82 00 08 */ beq lbl_802ADA9C +/* 802ADA98 002AA9F8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADA9C: +/* 802ADA9C 002AA9FC 48 00 07 1D */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +lbl_802ADAA0: +/* 802ADAA0 002AAA00 80 1D 00 04 */ lwz r0, 4(r29) +/* 802ADAA4 002AAA04 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802ADAA8 002AAA08 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADAAC 002AAA0C 7C A3 02 15 */ add. r5, r3, r0 +/* 802ADAB0 002AAA10 41 82 00 1C */ beq lbl_802ADACC +/* 802ADAB4 002AAA14 88 81 00 10 */ lbz r4, 0x10(r1) +/* 802ADAB8 002AAA18 38 00 00 00 */ li r0, 0 +/* 802ADABC 002AAA1C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADAC0 002AAA20 98 85 00 00 */ stb r4, 0(r5) +/* 802ADAC4 002AAA24 90 65 00 04 */ stw r3, 4(r5) +/* 802ADAC8 002AAA28 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802ADACC: +/* 802ADACC 002AAA2C 80 7D 00 04 */ lwz r3, 4(r29) +/* 802ADAD0 002AAA30 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802ADAD4 002AAA34 38 63 00 01 */ addi r3, r3, 1 +/* 802ADAD8 002AAA38 28 00 00 00 */ cmplwi r0, 0 +/* 802ADADC 002AAA3C 90 7D 00 04 */ stw r3, 4(r29) +/* 802ADAE0 002AAA40 41 82 00 10 */ beq lbl_802ADAF0 +/* 802ADAE4 002AAA44 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADAE8 002AAA48 38 80 00 01 */ li r4, 1 +/* 802ADAEC 002AAA4C 4B FF B2 25 */ bl __dt__8COBBTreeFv +lbl_802ADAF0: +/* 802ADAF0 002AAA50 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802ADAF4 002AAA54 28 00 00 00 */ cmplwi r0, 0 +/* 802ADAF8 002AAA58 41 82 00 10 */ beq lbl_802ADB08 +/* 802ADAFC 002AAA5C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802ADB00 002AAA60 38 80 00 01 */ li r4, 1 +/* 802ADB04 002AAA64 4B FF B2 0D */ bl __dt__8COBBTreeFv +lbl_802ADB08: +/* 802ADB08 002AAA68 38 7D 00 10 */ addi r3, r29, 0x10 +/* 802ADB0C 002AAA6C 38 80 00 01 */ li r4, 1 +/* 802ADB10 002AAA70 48 00 07 B9 */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +/* 802ADB14 002AAA74 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ADB18 002AAA78 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ADB1C 002AAA7C 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802ADB20 002AAA80 3B C1 00 44 */ addi r30, r1, 0x44 +/* 802ADB24 002AAA84 3B 64 C4 48 */ addi r27, r4, lbl_803EC448@l +/* 802ADB28 002AAA88 3B 83 97 E4 */ addi r28, r3, lbl_803D97E4@l +/* 802ADB2C 002AAA8C 48 00 00 F8 */ b lbl_802ADC24 +lbl_802ADB30: +/* 802ADB30 002AAA90 38 00 00 00 */ li r0, 0 +/* 802ADB34 002AAA94 38 61 00 50 */ addi r3, r1, 0x50 +/* 802ADB38 002AAA98 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ADB3C 002AAA9C 38 A1 00 08 */ addi r5, r1, 8 +/* 802ADB40 002AAAA0 90 01 00 08 */ stw r0, 8(r1) +/* 802ADB44 002AAAA4 80 9F 00 04 */ lwz r4, 4(r31) +/* 802ADB48 002AAAA8 4B FF EB 9D */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ADB4C 002AAAAC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802ADB50 002AAAB0 38 81 00 50 */ addi r4, r1, 0x50 +/* 802ADB54 002AAAB4 4B FF EA D9 */ bl CalculateLocalAABox__18CCollidableOBBTreeCFv +/* 802ADB58 002AAAB8 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802ADB5C 002AAABC C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802ADB60 002AAAC0 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802ADB64 002AAAC4 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802ADB68 002AAAC8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802ADB6C 002AAACC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802ADB70 002AAAD0 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802ADB74 002AAAD4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 802ADB78 002AAAD8 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802ADB7C 002AAADC D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802ADB80 002AAAE0 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 802ADB84 002AAAE4 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802ADB88 002AAAE8 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 802ADB8C 002AAAEC 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 802ADB90 002AAAF0 7C 00 28 00 */ cmpw r0, r5 +/* 802ADB94 002AAAF4 41 80 00 1C */ blt lbl_802ADBB0 +/* 802ADB98 002AAAF8 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADB9C 002AAAFC 38 7D 00 10 */ addi r3, r29, 0x10 +/* 802ADBA0 002AAB00 38 80 00 04 */ li r4, 4 +/* 802ADBA4 002AAB04 41 82 00 08 */ beq lbl_802ADBAC +/* 802ADBA8 002AAB08 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADBAC: +/* 802ADBAC 002AAB0C 48 00 07 1D */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +lbl_802ADBB0: +/* 802ADBB0 002AAB10 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 802ADBB4 002AAB14 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 802ADBB8 002AAB18 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802ADBBC 002AAB1C 7C 63 02 15 */ add. r3, r3, r0 +/* 802ADBC0 002AAB20 41 82 00 34 */ beq lbl_802ADBF4 +/* 802ADBC4 002AAB24 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802ADBC8 002AAB28 D0 03 00 00 */ stfs f0, 0(r3) +/* 802ADBCC 002AAB2C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802ADBD0 002AAB30 D0 03 00 04 */ stfs f0, 4(r3) +/* 802ADBD4 002AAB34 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802ADBD8 002AAB38 D0 03 00 08 */ stfs f0, 8(r3) +/* 802ADBDC 002AAB3C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802ADBE0 002AAB40 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802ADBE4 002AAB44 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802ADBE8 002AAB48 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802ADBEC 002AAB4C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802ADBF0 002AAB50 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802ADBF4: +/* 802ADBF4 002AAB54 80 BD 00 14 */ lwz r5, 0x14(r29) +/* 802ADBF8 002AAB58 38 7D 00 20 */ addi r3, r29, 0x20 +/* 802ADBFC 002AAB5C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802ADC00 002AAB60 38 05 00 01 */ addi r0, r5, 1 +/* 802ADC04 002AAB64 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802ADC08 002AAB68 48 08 9F 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADC0C 002AAB6C 7F C4 F3 78 */ mr r4, r30 +/* 802ADC10 002AAB70 38 7D 00 20 */ addi r3, r29, 0x20 +/* 802ADC14 002AAB74 48 08 9E F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADC18 002AAB78 93 61 00 50 */ stw r27, 0x50(r1) +/* 802ADC1C 002AAB7C 3B FF 00 08 */ addi r31, r31, 8 +/* 802ADC20 002AAB80 93 81 00 50 */ stw r28, 0x50(r1) +lbl_802ADC24: +/* 802ADC24 002AAB84 80 1D 00 04 */ lwz r0, 4(r29) +/* 802ADC28 002AAB88 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802ADC2C 002AAB8C 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADC30 002AAB90 7C 03 02 14 */ add r0, r3, r0 +/* 802ADC34 002AAB94 7C 1F 00 40 */ cmplw r31, r0 +/* 802ADC38 002AAB98 40 82 FE F8 */ bne lbl_802ADB30 +/* 802ADC3C 002AAB9C 7F A3 EB 78 */ mr r3, r29 +/* 802ADC40 002AABA0 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802ADC44 002AABA4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802ADC48 002AABA8 7C 08 03 A6 */ mtlr r0 +/* 802ADC4C 002AABAC 38 21 00 90 */ addi r1, r1, 0x90 +/* 802ADC50 002AABB0 4E 80 00 20 */ blr + +.global __ct__23CCollidableOBBTreeGroupFR12CInputStream +__ct__23CCollidableOBBTreeGroupFR12CInputStream: +/* 802ADC54 002AABB4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802ADC58 002AABB8 7C 08 02 A6 */ mflr r0 +/* 802ADC5C 002AABBC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802ADC60 002AABC0 38 00 00 00 */ li r0, 0 +/* 802ADC64 002AABC4 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 802ADC68 002AABC8 7C 7B 1B 78 */ mr r27, r3 +/* 802ADC6C 002AABCC 7C 9C 23 78 */ mr r28, r4 +/* 802ADC70 002AABD0 90 03 00 04 */ stw r0, 4(r3) +/* 802ADC74 002AABD4 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802ADC78 002AABD8 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 802ADC7C 002AABDC 90 1B 00 08 */ stw r0, 8(r27) +/* 802ADC80 002AABE0 7F 83 E3 78 */ mr r3, r28 +/* 802ADC84 002AABE4 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802ADC88 002AABE8 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802ADC8C 002AABEC 90 1B 00 18 */ stw r0, 0x18(r27) +/* 802ADC90 002AABF0 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 802ADC94 002AABF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 802ADC98 002AABF8 D0 1B 00 20 */ stfs f0, 0x20(r27) +/* 802ADC9C 002AABFC C0 04 00 04 */ lfs f0, 4(r4) +/* 802ADCA0 002AAC00 D0 1B 00 24 */ stfs f0, 0x24(r27) +/* 802ADCA4 002AAC04 C0 04 00 08 */ lfs f0, 8(r4) +/* 802ADCA8 002AAC08 D0 1B 00 28 */ stfs f0, 0x28(r27) +/* 802ADCAC 002AAC0C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802ADCB0 002AAC10 D0 1B 00 2C */ stfs f0, 0x2c(r27) +/* 802ADCB4 002AAC14 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802ADCB8 002AAC18 D0 1B 00 30 */ stfs f0, 0x30(r27) +/* 802ADCBC 002AAC1C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802ADCC0 002AAC20 D0 1B 00 34 */ stfs f0, 0x34(r27) +/* 802ADCC4 002AAC24 48 09 0F C1 */ bl ReadLong__12CInputStreamFv +/* 802ADCC8 002AAC28 7C 7E 1B 78 */ mr r30, r3 +/* 802ADCCC 002AAC2C 7F 63 DB 78 */ mr r3, r27 +/* 802ADCD0 002AAC30 7F C4 F3 78 */ mr r4, r30 +/* 802ADCD4 002AAC34 48 00 04 E5 */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +/* 802ADCD8 002AAC38 3C 60 80 3D */ lis r3, lbl_803D60F0@ha +/* 802ADCDC 002AAC3C 3B A0 00 00 */ li r29, 0 +/* 802ADCE0 002AAC40 3B E3 60 F0 */ addi r31, r3, lbl_803D60F0@l +/* 802ADCE4 002AAC44 48 00 00 B8 */ b lbl_802ADD9C +lbl_802ADCE8: +/* 802ADCE8 002AAC48 38 9F 00 18 */ addi r4, r31, 0x18 +/* 802ADCEC 002AAC4C 38 60 00 8C */ li r3, 0x8c +/* 802ADCF0 002AAC50 38 A0 00 00 */ li r5, 0 +/* 802ADCF4 002AAC54 48 06 7B 79 */ bl __nw__FUlPCcPCc +/* 802ADCF8 002AAC58 7C 64 1B 79 */ or. r4, r3, r3 +/* 802ADCFC 002AAC5C 41 82 00 10 */ beq lbl_802ADD0C +/* 802ADD00 002AAC60 7F 84 E3 78 */ mr r4, r28 +/* 802ADD04 002AAC64 4B FF B0 9D */ bl __ct__8COBBTreeFR12CInputStream +/* 802ADD08 002AAC68 7C 64 1B 78 */ mr r4, r3 +lbl_802ADD0C: +/* 802ADD0C 002AAC6C 7C 64 00 D0 */ neg r3, r4 +/* 802ADD10 002AAC70 80 1B 00 04 */ lwz r0, 4(r27) +/* 802ADD14 002AAC74 80 BB 00 08 */ lwz r5, 8(r27) +/* 802ADD18 002AAC78 7C 63 23 78 */ or r3, r3, r4 +/* 802ADD1C 002AAC7C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802ADD20 002AAC80 90 81 00 14 */ stw r4, 0x14(r1) +/* 802ADD24 002AAC84 7C 00 28 00 */ cmpw r0, r5 +/* 802ADD28 002AAC88 98 61 00 10 */ stb r3, 0x10(r1) +/* 802ADD2C 002AAC8C 41 80 00 1C */ blt lbl_802ADD48 +/* 802ADD30 002AAC90 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADD34 002AAC94 7F 63 DB 78 */ mr r3, r27 +/* 802ADD38 002AAC98 38 80 00 04 */ li r4, 4 +/* 802ADD3C 002AAC9C 41 82 00 08 */ beq lbl_802ADD44 +/* 802ADD40 002AACA0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADD44: +/* 802ADD44 002AACA4 48 00 04 75 */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +lbl_802ADD48: +/* 802ADD48 002AACA8 80 1B 00 04 */ lwz r0, 4(r27) +/* 802ADD4C 002AACAC 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802ADD50 002AACB0 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADD54 002AACB4 7C A3 02 15 */ add. r5, r3, r0 +/* 802ADD58 002AACB8 41 82 00 1C */ beq lbl_802ADD74 +/* 802ADD5C 002AACBC 88 81 00 10 */ lbz r4, 0x10(r1) +/* 802ADD60 002AACC0 38 00 00 00 */ li r0, 0 +/* 802ADD64 002AACC4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADD68 002AACC8 98 85 00 00 */ stb r4, 0(r5) +/* 802ADD6C 002AACCC 90 65 00 04 */ stw r3, 4(r5) +/* 802ADD70 002AACD0 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802ADD74: +/* 802ADD74 002AACD4 80 7B 00 04 */ lwz r3, 4(r27) +/* 802ADD78 002AACD8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802ADD7C 002AACDC 38 63 00 01 */ addi r3, r3, 1 +/* 802ADD80 002AACE0 28 00 00 00 */ cmplwi r0, 0 +/* 802ADD84 002AACE4 90 7B 00 04 */ stw r3, 4(r27) +/* 802ADD88 002AACE8 41 82 00 10 */ beq lbl_802ADD98 +/* 802ADD8C 002AACEC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADD90 002AACF0 38 80 00 01 */ li r4, 1 +/* 802ADD94 002AACF4 4B FF AF 7D */ bl __dt__8COBBTreeFv +lbl_802ADD98: +/* 802ADD98 002AACF8 3B BD 00 01 */ addi r29, r29, 1 +lbl_802ADD9C: +/* 802ADD9C 002AACFC 7C 1D F0 40 */ cmplw r29, r30 +/* 802ADDA0 002AAD00 41 80 FF 48 */ blt lbl_802ADCE8 +/* 802ADDA4 002AAD04 80 9B 00 04 */ lwz r4, 4(r27) +/* 802ADDA8 002AAD08 38 7B 00 10 */ addi r3, r27, 0x10 +/* 802ADDAC 002AAD0C 48 00 05 1D */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +/* 802ADDB0 002AAD10 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ADDB4 002AAD14 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ADDB8 002AAD18 83 DB 00 0C */ lwz r30, 0xc(r27) +/* 802ADDBC 002AAD1C 3B E1 00 3C */ addi r31, r1, 0x3c +/* 802ADDC0 002AAD20 3B A4 C4 48 */ addi r29, r4, lbl_803EC448@l +/* 802ADDC4 002AAD24 3B 83 97 E4 */ addi r28, r3, lbl_803D97E4@l +/* 802ADDC8 002AAD28 48 00 00 F8 */ b lbl_802ADEC0 +lbl_802ADDCC: +/* 802ADDCC 002AAD2C 38 00 00 00 */ li r0, 0 +/* 802ADDD0 002AAD30 38 61 00 48 */ addi r3, r1, 0x48 +/* 802ADDD4 002AAD34 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ADDD8 002AAD38 38 A1 00 08 */ addi r5, r1, 8 +/* 802ADDDC 002AAD3C 90 01 00 08 */ stw r0, 8(r1) +/* 802ADDE0 002AAD40 80 9E 00 04 */ lwz r4, 4(r30) +/* 802ADDE4 002AAD44 4B FF E9 01 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ADDE8 002AAD48 38 61 00 18 */ addi r3, r1, 0x18 +/* 802ADDEC 002AAD4C 38 81 00 48 */ addi r4, r1, 0x48 +/* 802ADDF0 002AAD50 4B FF E8 3D */ bl CalculateLocalAABox__18CCollidableOBBTreeCFv +/* 802ADDF4 002AAD54 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802ADDF8 002AAD58 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 802ADDFC 002AAD5C C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802ADE00 002AAD60 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802ADE04 002AAD64 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802ADE08 002AAD68 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802ADE0C 002AAD6C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802ADE10 002AAD70 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 802ADE14 002AAD74 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802ADE18 002AAD78 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802ADE1C 002AAD7C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802ADE20 002AAD80 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802ADE24 002AAD84 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 802ADE28 002AAD88 80 BB 00 18 */ lwz r5, 0x18(r27) +/* 802ADE2C 002AAD8C 7C 00 28 00 */ cmpw r0, r5 +/* 802ADE30 002AAD90 41 80 00 1C */ blt lbl_802ADE4C +/* 802ADE34 002AAD94 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADE38 002AAD98 38 7B 00 10 */ addi r3, r27, 0x10 +/* 802ADE3C 002AAD9C 38 80 00 04 */ li r4, 4 +/* 802ADE40 002AADA0 41 82 00 08 */ beq lbl_802ADE48 +/* 802ADE44 002AADA4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADE48: +/* 802ADE48 002AADA8 48 00 04 81 */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +lbl_802ADE4C: +/* 802ADE4C 002AADAC 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 802ADE50 002AADB0 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 802ADE54 002AADB4 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802ADE58 002AADB8 7C 63 02 15 */ add. r3, r3, r0 +/* 802ADE5C 002AADBC 41 82 00 34 */ beq lbl_802ADE90 +/* 802ADE60 002AADC0 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802ADE64 002AADC4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802ADE68 002AADC8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802ADE6C 002AADCC D0 03 00 04 */ stfs f0, 4(r3) +/* 802ADE70 002AADD0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802ADE74 002AADD4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802ADE78 002AADD8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802ADE7C 002AADDC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802ADE80 002AADE0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802ADE84 002AADE4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802ADE88 002AADE8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802ADE8C 002AADEC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802ADE90: +/* 802ADE90 002AADF0 80 BB 00 14 */ lwz r5, 0x14(r27) +/* 802ADE94 002AADF4 38 7B 00 20 */ addi r3, r27, 0x20 +/* 802ADE98 002AADF8 38 81 00 30 */ addi r4, r1, 0x30 +/* 802ADE9C 002AADFC 38 05 00 01 */ addi r0, r5, 1 +/* 802ADEA0 002AAE00 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802ADEA4 002AAE04 48 08 9C 65 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADEA8 002AAE08 7F E4 FB 78 */ mr r4, r31 +/* 802ADEAC 002AAE0C 38 7B 00 20 */ addi r3, r27, 0x20 +/* 802ADEB0 002AAE10 48 08 9C 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADEB4 002AAE14 93 A1 00 48 */ stw r29, 0x48(r1) +/* 802ADEB8 002AAE18 3B DE 00 08 */ addi r30, r30, 8 +/* 802ADEBC 002AAE1C 93 81 00 48 */ stw r28, 0x48(r1) +lbl_802ADEC0: +/* 802ADEC0 002AAE20 80 1B 00 04 */ lwz r0, 4(r27) +/* 802ADEC4 002AAE24 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802ADEC8 002AAE28 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADECC 002AAE2C 7C 03 02 14 */ add r0, r3, r0 +/* 802ADED0 002AAE30 7C 1E 00 40 */ cmplw r30, r0 +/* 802ADED4 002AAE34 40 82 FE F8 */ bne lbl_802ADDCC +/* 802ADED8 002AAE38 7F 63 DB 78 */ mr r3, r27 +/* 802ADEDC 002AAE3C BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 802ADEE0 002AAE40 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802ADEE4 002AAE44 7C 08 03 A6 */ mtlr r0 +/* 802ADEE8 002AAE48 38 21 00 80 */ addi r1, r1, 0x80 +/* 802ADEEC 002AAE4C 4E 80 00 20 */ blr + +.global FCollidableOBBTreeGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FCollidableOBBTreeGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802ADEF0 002AAE50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802ADEF4 002AAE54 7C 08 02 A6 */ mflr r0 +/* 802ADEF8 002AAE58 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802ADEFC 002AAE5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802ADF00 002AAE60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802ADF04 002AAE64 7C BF 2B 78 */ mr r31, r5 +/* 802ADF08 002AAE68 38 A0 00 00 */ li r5, 0 +/* 802ADF0C 002AAE6C 93 C1 00 08 */ stw r30, 8(r1) +/* 802ADF10 002AAE70 7C 7E 1B 78 */ mr r30, r3 +/* 802ADF14 002AAE74 38 64 60 F0 */ addi r3, r4, lbl_803D60F0@l +/* 802ADF18 002AAE78 38 83 00 18 */ addi r4, r3, 0x18 +/* 802ADF1C 002AAE7C 38 60 00 38 */ li r3, 0x38 +/* 802ADF20 002AAE80 48 06 79 4D */ bl __nw__FUlPCcPCc +/* 802ADF24 002AAE84 7C 64 1B 79 */ or. r4, r3, r3 +/* 802ADF28 002AAE88 41 82 00 10 */ beq lbl_802ADF38 +/* 802ADF2C 002AAE8C 7F E4 FB 78 */ mr r4, r31 +/* 802ADF30 002AAE90 4B FF FD 25 */ bl __ct__23CCollidableOBBTreeGroupFR12CInputStream +/* 802ADF34 002AAE94 7C 64 1B 78 */ mr r4, r3 +lbl_802ADF38: +/* 802ADF38 002AAE98 7F C3 F3 78 */ mr r3, r30 +/* 802ADF3C 002AAE9C 48 00 00 1D */ bl "__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup" +/* 802ADF40 002AAEA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802ADF44 002AAEA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802ADF48 002AAEA8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802ADF4C 002AAEAC 7C 08 03 A6 */ mtlr r0 +/* 802ADF50 002AAEB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802ADF54 002AAEB4 4E 80 00 20 */ blr + +.global "__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup" +"__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup": +/* 802ADF58 002AAEB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802ADF5C 002AAEBC 7C 08 02 A6 */ mflr r0 +/* 802ADF60 002AAEC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802ADF64 002AAEC4 7C 04 00 D0 */ neg r0, r4 +/* 802ADF68 002AAEC8 7C 00 23 78 */ or r0, r0, r4 +/* 802ADF6C 002AAECC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802ADF70 002AAED0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802ADF74 002AAED4 7C 7F 1B 78 */ mr r31, r3 +/* 802ADF78 002AAED8 38 61 00 08 */ addi r3, r1, 8 +/* 802ADF7C 002AAEDC 90 81 00 14 */ stw r4, 0x14(r1) +/* 802ADF80 002AAEE0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802ADF84 002AAEE4 98 01 00 10 */ stb r0, 0x10(r1) +/* 802ADF88 002AAEE8 48 00 01 05 */ bl "GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +/* 802ADF8C 002AAEEC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802ADF90 002AAEF0 38 00 00 00 */ li r0, 0 +/* 802ADF94 002AAEF4 98 01 00 08 */ stb r0, 8(r1) +/* 802ADF98 002AAEF8 7C 03 00 D0 */ neg r0, r3 +/* 802ADF9C 002AAEFC 7C 00 1B 78 */ or r0, r0, r3 +/* 802ADFA0 002AAF00 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802ADFA4 002AAF04 98 1F 00 00 */ stb r0, 0(r31) +/* 802ADFA8 002AAF08 90 7F 00 04 */ stw r3, 4(r31) +/* 802ADFAC 002AAF0C 88 01 00 08 */ lbz r0, 8(r1) +/* 802ADFB0 002AAF10 28 00 00 00 */ cmplwi r0, 0 +/* 802ADFB4 002AAF14 41 82 00 24 */ beq lbl_802ADFD8 +/* 802ADFB8 002AAF18 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802ADFBC 002AAF1C 28 03 00 00 */ cmplwi r3, 0 +/* 802ADFC0 002AAF20 41 82 00 18 */ beq lbl_802ADFD8 +/* 802ADFC4 002AAF24 81 83 00 00 */ lwz r12, 0(r3) +/* 802ADFC8 002AAF28 38 80 00 01 */ li r4, 1 +/* 802ADFCC 002AAF2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802ADFD0 002AAF30 7D 89 03 A6 */ mtctr r12 +/* 802ADFD4 002AAF34 4E 80 04 21 */ bctrl +lbl_802ADFD8: +/* 802ADFD8 002AAF38 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ADFDC 002AAF3C 38 80 FF FF */ li r4, -1 +/* 802ADFE0 002AAF40 48 00 01 75 */ bl sub_802ae154 +/* 802ADFE4 002AAF44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802ADFE8 002AAF48 7F E3 FB 78 */ mr r3, r31 +/* 802ADFEC 002AAF4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802ADFF0 002AAF50 7C 08 03 A6 */ mtlr r0 +/* 802ADFF4 002AAF54 38 21 00 20 */ addi r1, r1, 0x20 +/* 802ADFF8 002AAF58 4E 80 00 20 */ blr + +.global "__dt__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>Fv" +"__dt__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>Fv": +/* 802ADFFC 002AAF5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE000 002AAF60 7C 08 02 A6 */ mflr r0 +/* 802AE004 002AAF64 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE008 002AAF68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE00C 002AAF6C 7C 9F 23 78 */ mr r31, r4 +/* 802AE010 002AAF70 93 C1 00 08 */ stw r30, 8(r1) +/* 802AE014 002AAF74 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802AE018 002AAF78 41 82 00 58 */ beq lbl_802AE070 +/* 802AE01C 002AAF7C 3C 60 80 3F */ lis r3, lbl_803EC498@ha +/* 802AE020 002AAF80 38 03 C4 98 */ addi r0, r3, lbl_803EC498@l +/* 802AE024 002AAF84 90 1E 00 00 */ stw r0, 0(r30) +/* 802AE028 002AAF88 80 7E 00 04 */ lwz r3, 4(r30) +/* 802AE02C 002AAF8C 28 03 00 00 */ cmplwi r3, 0 +/* 802AE030 002AAF90 41 82 00 0C */ beq lbl_802AE03C +/* 802AE034 002AAF94 38 80 00 01 */ li r4, 1 +/* 802AE038 002AAF98 4B EF A9 D5 */ bl sub_801a8a0c +lbl_802AE03C: +/* 802AE03C 002AAF9C 28 1E 00 00 */ cmplwi r30, 0 +/* 802AE040 002AAFA0 41 82 00 20 */ beq lbl_802AE060 +/* 802AE044 002AAFA4 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802AE048 002AAFA8 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802AE04C 002AAFAC 90 1E 00 00 */ stw r0, 0(r30) +/* 802AE050 002AAFB0 41 82 00 10 */ beq lbl_802AE060 +/* 802AE054 002AAFB4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802AE058 002AAFB8 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802AE05C 002AAFBC 90 1E 00 00 */ stw r0, 0(r30) +lbl_802AE060: +/* 802AE060 002AAFC0 7F E0 07 35 */ extsh. r0, r31 +/* 802AE064 002AAFC4 40 81 00 0C */ ble lbl_802AE070 +/* 802AE068 002AAFC8 7F C3 F3 78 */ mr r3, r30 +/* 802AE06C 002AAFCC 48 06 78 C5 */ bl Free__7CMemoryFPCv +lbl_802AE070: +/* 802AE070 002AAFD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE074 002AAFD4 7F C3 F3 78 */ mr r3, r30 +/* 802AE078 002AAFD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE07C 002AAFDC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AE080 002AAFE0 7C 08 03 A6 */ mtlr r0 +/* 802AE084 002AAFE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE088 002AAFE8 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +"GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>": +/* 802AE08C 002AAFEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE090 002AAFF0 7C 08 02 A6 */ mflr r0 +/* 802AE094 002AAFF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE098 002AAFF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE09C 002AAFFC 7C 7F 1B 78 */ mr r31, r3 +/* 802AE0A0 002AB000 48 00 00 19 */ bl "GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +/* 802AE0A4 002AB004 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE0A8 002AB008 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE0AC 002AB00C 7C 08 03 A6 */ mtlr r0 +/* 802AE0B0 002AB010 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE0B4 002AB014 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +"GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>": +/* 802AE0B8 002AB018 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE0BC 002AB01C 7C 08 02 A6 */ mflr r0 +/* 802AE0C0 002AB020 3C A0 80 3D */ lis r5, lbl_803D60F0@ha +/* 802AE0C4 002AB024 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE0C8 002AB028 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE0CC 002AB02C 7C 9F 23 78 */ mr r31, r4 +/* 802AE0D0 002AB030 93 C1 00 08 */ stw r30, 8(r1) +/* 802AE0D4 002AB034 7C 7E 1B 78 */ mr r30, r3 +/* 802AE0D8 002AB038 38 65 60 F0 */ addi r3, r5, lbl_803D60F0@l +/* 802AE0DC 002AB03C 38 A0 00 00 */ li r5, 0 +/* 802AE0E0 002AB040 38 83 00 18 */ addi r4, r3, 0x18 +/* 802AE0E4 002AB044 38 60 00 08 */ li r3, 8 +/* 802AE0E8 002AB048 48 06 77 85 */ bl __nw__FUlPCcPCc +/* 802AE0EC 002AB04C 28 03 00 00 */ cmplwi r3, 0 +/* 802AE0F0 002AB050 41 82 00 38 */ beq lbl_802AE128 +/* 802AE0F4 002AB054 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802AE0F8 002AB058 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802AE0FC 002AB05C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802AE100 002AB060 3C 80 80 3F */ lis r4, lbl_803EC498@ha +/* 802AE104 002AB064 90 03 00 00 */ stw r0, 0(r3) +/* 802AE108 002AB068 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802AE10C 002AB06C 38 A0 00 00 */ li r5, 0 +/* 802AE110 002AB070 38 04 C4 98 */ addi r0, r4, lbl_803EC498@l +/* 802AE114 002AB074 90 C3 00 00 */ stw r6, 0(r3) +/* 802AE118 002AB078 98 BF 00 00 */ stb r5, 0(r31) +/* 802AE11C 002AB07C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802AE120 002AB080 90 83 00 04 */ stw r4, 4(r3) +/* 802AE124 002AB084 90 03 00 00 */ stw r0, 0(r3) +lbl_802AE128: +/* 802AE128 002AB088 7C 03 00 D0 */ neg r0, r3 +/* 802AE12C 002AB08C 7C 00 1B 78 */ or r0, r0, r3 +/* 802AE130 002AB090 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802AE134 002AB094 98 1E 00 00 */ stb r0, 0(r30) +/* 802AE138 002AB098 90 7E 00 04 */ stw r3, 4(r30) +/* 802AE13C 002AB09C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE140 002AB0A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AE144 002AB0A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE148 002AB0A8 7C 08 03 A6 */ mtlr r0 +/* 802AE14C 002AB0AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE150 002AB0B0 4E 80 00 20 */ blr + +.global sub_802ae154 +sub_802ae154: +/* 802AE154 002AB0B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE158 002AB0B8 7C 08 02 A6 */ mflr r0 +/* 802AE15C 002AB0BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE160 002AB0C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE164 002AB0C4 7C 9F 23 78 */ mr r31, r4 +/* 802AE168 002AB0C8 93 C1 00 08 */ stw r30, 8(r1) +/* 802AE16C 002AB0CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802AE170 002AB0D0 41 82 00 2C */ beq lbl_802AE19C +/* 802AE174 002AB0D4 88 1E 00 00 */ lbz r0, 0(r30) +/* 802AE178 002AB0D8 28 00 00 00 */ cmplwi r0, 0 +/* 802AE17C 002AB0DC 41 82 00 10 */ beq lbl_802AE18C +/* 802AE180 002AB0E0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802AE184 002AB0E4 38 80 00 01 */ li r4, 1 +/* 802AE188 002AB0E8 4B EF A8 85 */ bl sub_801a8a0c +lbl_802AE18C: +/* 802AE18C 002AB0EC 7F E0 07 35 */ extsh. r0, r31 +/* 802AE190 002AB0F0 40 81 00 0C */ ble lbl_802AE19C +/* 802AE194 002AB0F4 7F C3 F3 78 */ mr r3, r30 +/* 802AE198 002AB0F8 48 06 77 99 */ bl Free__7CMemoryFPCv +lbl_802AE19C: +/* 802AE19C 002AB0FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE1A0 002AB100 7F C3 F3 78 */ mr r3, r30 +/* 802AE1A4 002AB104 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE1A8 002AB108 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AE1AC 002AB10C 7C 08 03 A6 */ mtlr r0 +/* 802AE1B0 002AB110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE1B4 002AB114 4E 80 00 20 */ blr + +.global "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi": +/* 802AE1B8 002AB118 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AE1BC 002AB11C 7C 08 02 A6 */ mflr r0 +/* 802AE1C0 002AB120 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AE1C4 002AB124 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802AE1C8 002AB128 7C 9F 23 78 */ mr r31, r4 +/* 802AE1CC 002AB12C 7C 7E 1B 78 */ mr r30, r3 +/* 802AE1D0 002AB130 80 03 00 08 */ lwz r0, 8(r3) +/* 802AE1D4 002AB134 7C 1F 00 00 */ cmpw r31, r0 +/* 802AE1D8 002AB138 40 81 00 DC */ ble lbl_802AE2B4 +/* 802AE1DC 002AB13C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802AE1E0 002AB140 40 82 00 0C */ bne lbl_802AE1EC +/* 802AE1E4 002AB144 3B A0 00 00 */ li r29, 0 +/* 802AE1E8 002AB148 48 00 00 1C */ b lbl_802AE204 +lbl_802AE1EC: +/* 802AE1EC 002AB14C 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802AE1F0 002AB150 38 A0 00 00 */ li r5, 0 +/* 802AE1F4 002AB154 38 84 60 F0 */ addi r4, r4, lbl_803D60F0@l +/* 802AE1F8 002AB158 38 84 00 18 */ addi r4, r4, 0x18 +/* 802AE1FC 002AB15C 48 06 76 1D */ bl __nwa__FUlPCcPCc +/* 802AE200 002AB160 7C 7D 1B 78 */ mr r29, r3 +lbl_802AE204: +/* 802AE204 002AB164 80 7E 00 04 */ lwz r3, 4(r30) +/* 802AE208 002AB168 7F A5 EB 78 */ mr r5, r29 +/* 802AE20C 002AB16C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802AE210 002AB170 38 00 00 00 */ li r0, 0 +/* 802AE214 002AB174 54 63 18 38 */ slwi r3, r3, 3 +/* 802AE218 002AB178 7C 86 1A 14 */ add r4, r6, r3 +/* 802AE21C 002AB17C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802AE220 002AB180 90 81 00 08 */ stw r4, 8(r1) +/* 802AE224 002AB184 90 81 00 0C */ stw r4, 0xc(r1) +/* 802AE228 002AB188 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802AE22C 002AB18C 48 00 00 28 */ b lbl_802AE254 +lbl_802AE230: +/* 802AE230 002AB190 28 05 00 00 */ cmplwi r5, 0 +/* 802AE234 002AB194 41 82 00 18 */ beq lbl_802AE24C +/* 802AE238 002AB198 88 66 00 00 */ lbz r3, 0(r6) +/* 802AE23C 002AB19C 98 65 00 00 */ stb r3, 0(r5) +/* 802AE240 002AB1A0 80 66 00 04 */ lwz r3, 4(r6) +/* 802AE244 002AB1A4 90 65 00 04 */ stw r3, 4(r5) +/* 802AE248 002AB1A8 98 06 00 00 */ stb r0, 0(r6) +lbl_802AE24C: +/* 802AE24C 002AB1AC 38 A5 00 08 */ addi r5, r5, 8 +/* 802AE250 002AB1B0 38 C6 00 08 */ addi r6, r6, 8 +lbl_802AE254: +/* 802AE254 002AB1B4 7C 06 20 40 */ cmplw r6, r4 +/* 802AE258 002AB1B8 40 82 FF D8 */ bne lbl_802AE230 +/* 802AE25C 002AB1BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802AE260 002AB1C0 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802AE264 002AB1C4 54 00 18 38 */ slwi r0, r0, 3 +/* 802AE268 002AB1C8 7F 9B 02 14 */ add r28, r27, r0 +/* 802AE26C 002AB1CC 48 00 00 28 */ b lbl_802AE294 +lbl_802AE270: +/* 802AE270 002AB1D0 28 1B 00 00 */ cmplwi r27, 0 +/* 802AE274 002AB1D4 41 82 00 1C */ beq lbl_802AE290 +/* 802AE278 002AB1D8 88 1B 00 00 */ lbz r0, 0(r27) +/* 802AE27C 002AB1DC 28 00 00 00 */ cmplwi r0, 0 +/* 802AE280 002AB1E0 41 82 00 10 */ beq lbl_802AE290 +/* 802AE284 002AB1E4 80 7B 00 04 */ lwz r3, 4(r27) +/* 802AE288 002AB1E8 38 80 00 01 */ li r4, 1 +/* 802AE28C 002AB1EC 4B FF AA 85 */ bl __dt__8COBBTreeFv +lbl_802AE290: +/* 802AE290 002AB1F0 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802AE294: +/* 802AE294 002AB1F4 7C 1B E0 40 */ cmplw r27, r28 +/* 802AE298 002AB1F8 40 82 FF D8 */ bne lbl_802AE270 +/* 802AE29C 002AB1FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802AE2A0 002AB200 28 03 00 00 */ cmplwi r3, 0 +/* 802AE2A4 002AB204 41 82 00 08 */ beq lbl_802AE2AC +/* 802AE2A8 002AB208 48 06 76 89 */ bl Free__7CMemoryFPCv +lbl_802AE2AC: +/* 802AE2AC 002AB20C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802AE2B0 002AB210 93 FE 00 08 */ stw r31, 8(r30) +lbl_802AE2B4: +/* 802AE2B4 002AB214 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802AE2B8 002AB218 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AE2BC 002AB21C 7C 08 03 A6 */ mtlr r0 +/* 802AE2C0 002AB220 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AE2C4 002AB224 4E 80 00 20 */ blr + +.global "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi": +/* 802AE2C8 002AB228 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AE2CC 002AB22C 7C 08 02 A6 */ mflr r0 +/* 802AE2D0 002AB230 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AE2D4 002AB234 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AE2D8 002AB238 7C 9F 23 78 */ mr r31, r4 +/* 802AE2DC 002AB23C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802AE2E0 002AB240 7C 7E 1B 78 */ mr r30, r3 +/* 802AE2E4 002AB244 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802AE2E8 002AB248 80 03 00 08 */ lwz r0, 8(r3) +/* 802AE2EC 002AB24C 7C 1F 00 00 */ cmpw r31, r0 +/* 802AE2F0 002AB250 40 81 00 D8 */ ble lbl_802AE3C8 +/* 802AE2F4 002AB254 1C 7F 00 18 */ mulli r3, r31, 0x18 +/* 802AE2F8 002AB258 2C 03 00 00 */ cmpwi r3, 0 +/* 802AE2FC 002AB25C 40 82 00 0C */ bne lbl_802AE308 +/* 802AE300 002AB260 3B A0 00 00 */ li r29, 0 +/* 802AE304 002AB264 48 00 00 1C */ b lbl_802AE320 +lbl_802AE308: +/* 802AE308 002AB268 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802AE30C 002AB26C 38 A0 00 00 */ li r5, 0 +/* 802AE310 002AB270 38 84 60 F0 */ addi r4, r4, lbl_803D60F0@l +/* 802AE314 002AB274 38 84 00 18 */ addi r4, r4, 0x18 +/* 802AE318 002AB278 48 06 75 01 */ bl __nwa__FUlPCcPCc +/* 802AE31C 002AB27C 7C 7D 1B 78 */ mr r29, r3 +lbl_802AE320: +/* 802AE320 002AB280 80 1E 00 04 */ lwz r0, 4(r30) +/* 802AE324 002AB284 7F A3 EB 78 */ mr r3, r29 +/* 802AE328 002AB288 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802AE32C 002AB28C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802AE330 002AB290 90 81 00 10 */ stw r4, 0x10(r1) +/* 802AE334 002AB294 7C 04 02 14 */ add r0, r4, r0 +/* 802AE338 002AB298 90 81 00 14 */ stw r4, 0x14(r1) +/* 802AE33C 002AB29C 90 01 00 08 */ stw r0, 8(r1) +/* 802AE340 002AB2A0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AE344 002AB2A4 48 00 00 44 */ b lbl_802AE388 +lbl_802AE348: +/* 802AE348 002AB2A8 28 03 00 00 */ cmplwi r3, 0 +/* 802AE34C 002AB2AC 41 82 00 34 */ beq lbl_802AE380 +/* 802AE350 002AB2B0 C0 04 00 00 */ lfs f0, 0(r4) +/* 802AE354 002AB2B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AE358 002AB2B8 C0 04 00 04 */ lfs f0, 4(r4) +/* 802AE35C 002AB2BC D0 03 00 04 */ stfs f0, 4(r3) +/* 802AE360 002AB2C0 C0 04 00 08 */ lfs f0, 8(r4) +/* 802AE364 002AB2C4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AE368 002AB2C8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802AE36C 002AB2CC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AE370 002AB2D0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802AE374 002AB2D4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AE378 002AB2D8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802AE37C 002AB2DC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AE380: +/* 802AE380 002AB2E0 38 63 00 18 */ addi r3, r3, 0x18 +/* 802AE384 002AB2E4 38 84 00 18 */ addi r4, r4, 0x18 +lbl_802AE388: +/* 802AE388 002AB2E8 7C 04 00 40 */ cmplw r4, r0 +/* 802AE38C 002AB2EC 40 82 FF BC */ bne lbl_802AE348 +/* 802AE390 002AB2F0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802AE394 002AB2F4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802AE398 002AB2F8 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802AE39C 002AB2FC 7C 64 1B 78 */ mr r4, r3 +/* 802AE3A0 002AB300 7C 03 02 14 */ add r0, r3, r0 +/* 802AE3A4 002AB304 48 00 00 08 */ b lbl_802AE3AC +lbl_802AE3A8: +/* 802AE3A8 002AB308 38 84 00 18 */ addi r4, r4, 0x18 +lbl_802AE3AC: +/* 802AE3AC 002AB30C 7C 04 00 40 */ cmplw r4, r0 +/* 802AE3B0 002AB310 40 82 FF F8 */ bne lbl_802AE3A8 +/* 802AE3B4 002AB314 28 03 00 00 */ cmplwi r3, 0 +/* 802AE3B8 002AB318 41 82 00 08 */ beq lbl_802AE3C0 +/* 802AE3BC 002AB31C 48 06 75 75 */ bl Free__7CMemoryFPCv +lbl_802AE3C0: +/* 802AE3C0 002AB320 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802AE3C4 002AB324 93 FE 00 08 */ stw r31, 8(r30) +lbl_802AE3C8: +/* 802AE3C8 002AB328 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AE3CC 002AB32C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802AE3D0 002AB330 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802AE3D4 002AB334 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802AE3D8 002AB338 7C 08 03 A6 */ mtlr r0 +/* 802AE3DC 002AB33C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AE3E0 002AB340 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CCollisionSurface.s b/asm/WorldFormat/CCollisionSurface.s new file mode 100644 index 00000000..bcb22afe --- /dev/null +++ b/asm/WorldFormat/CCollisionSurface.s @@ -0,0 +1,93 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetPlane__17CCollisionSurfaceCFv +GetPlane__17CCollisionSurfaceCFv: +/* 802A2634 0029F594 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A2638 0029F598 7C 08 02 A6 */ mflr r0 +/* 802A263C 0029F59C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A2640 0029F5A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A2644 0029F5A4 7C 9F 23 78 */ mr r31, r4 +/* 802A2648 0029F5A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A264C 0029F5AC 7C 7E 1B 78 */ mr r30, r3 +/* 802A2650 0029F5B0 38 61 00 08 */ addi r3, r1, 8 +/* 802A2654 0029F5B4 48 00 00 51 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802A2658 0029F5B8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 802A265C 0029F5BC C0 1F 00 04 */ lfs f0, 4(r31) +/* 802A2660 0029F5C0 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 802A2664 0029F5C4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802A2668 0029F5C8 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802A266C 0029F5CC C0 A1 00 08 */ lfs f5, 8(r1) +/* 802A2670 0029F5D0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802A2674 0029F5D4 D0 BE 00 00 */ stfs f5, 0(r30) +/* 802A2678 0029F5D8 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802A267C 0029F5DC D0 7E 00 04 */ stfs f3, 4(r30) +/* 802A2680 0029F5E0 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 802A2684 0029F5E4 D0 9E 00 08 */ stfs f4, 8(r30) +/* 802A2688 0029F5E8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A268C 0029F5EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A2690 0029F5F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A2694 0029F5F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A2698 0029F5F8 7C 08 03 A6 */ mtlr r0 +/* 802A269C 0029F5FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A26A0 0029F600 4E 80 00 20 */ blr + +.global GetNormal__17CCollisionSurfaceCFv +GetNormal__17CCollisionSurfaceCFv: +/* 802A26A4 0029F604 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A26A8 0029F608 7C 08 02 A6 */ mflr r0 +/* 802A26AC 0029F60C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A26B0 0029F610 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 802A26B4 0029F614 C0 64 00 00 */ lfs f3, 0(r4) +/* 802A26B8 0029F618 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A26BC 0029F61C EC A2 18 28 */ fsubs f5, f2, f3 +/* 802A26C0 0029F620 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802A26C4 0029F624 C0 44 00 04 */ lfs f2, 4(r4) +/* 802A26C8 0029F628 ED 00 18 28 */ fsubs f8, f0, f3 +/* 802A26CC 0029F62C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802A26D0 0029F630 EC 81 10 28 */ fsubs f4, f1, f2 +/* 802A26D4 0029F634 EC E0 10 28 */ fsubs f7, f0, f2 +/* 802A26D8 0029F638 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802A26DC 0029F63C C0 C4 00 08 */ lfs f6, 8(r4) +/* 802A26E0 0029F640 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A26E4 0029F644 38 81 00 08 */ addi r4, r1, 8 +/* 802A26E8 0029F648 EC 61 30 28 */ fsubs f3, f1, f6 +/* 802A26EC 0029F64C EC C0 30 28 */ fsubs f6, f0, f6 +/* 802A26F0 0029F650 EC 08 01 32 */ fmuls f0, f8, f4 +/* 802A26F4 0029F654 EC 47 00 F2 */ fmuls f2, f7, f3 +/* 802A26F8 0029F658 EC 26 01 72 */ fmuls f1, f6, f5 +/* 802A26FC 0029F65C EC 05 01 F8 */ fmsubs f0, f5, f7, f0 +/* 802A2700 0029F660 EC 44 11 B8 */ fmsubs f2, f4, f6, f2 +/* 802A2704 0029F664 EC 23 0A 38 */ fmsubs f1, f3, f8, f1 +/* 802A2708 0029F668 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802A270C 0029F66C D0 41 00 08 */ stfs f2, 8(r1) +/* 802A2710 0029F670 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802A2714 0029F674 48 07 16 BD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802A2718 0029F678 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A271C 0029F67C 7C 08 03 A6 */ mtlr r0 +/* 802A2720 0029F680 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A2724 0029F684 4E 80 00 20 */ blr + +.global __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +__ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi: +/* 802A2728 0029F688 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A272C 0029F68C D0 03 00 00 */ stfs f0, 0(r3) +/* 802A2730 0029F690 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A2734 0029F694 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A2738 0029F698 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A273C 0029F69C D0 03 00 08 */ stfs f0, 8(r3) +/* 802A2740 0029F6A0 C0 05 00 00 */ lfs f0, 0(r5) +/* 802A2744 0029F6A4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A2748 0029F6A8 C0 05 00 04 */ lfs f0, 4(r5) +/* 802A274C 0029F6AC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A2750 0029F6B0 C0 05 00 08 */ lfs f0, 8(r5) +/* 802A2754 0029F6B4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A2758 0029F6B8 C0 06 00 00 */ lfs f0, 0(r6) +/* 802A275C 0029F6BC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802A2760 0029F6C0 C0 06 00 04 */ lfs f0, 4(r6) +/* 802A2764 0029F6C4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802A2768 0029F6C8 C0 06 00 08 */ lfs f0, 8(r6) +/* 802A276C 0029F6CC D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802A2770 0029F6D0 90 E3 00 24 */ stw r7, 0x24(r3) +/* 802A2774 0029F6D4 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CMetroidAreaCollider.s b/asm/WorldFormat/CMetroidAreaCollider.s new file mode 100644 index 00000000..1865fd84 --- /dev/null +++ b/asm/WorldFormat/CMetroidAreaCollider.s @@ -0,0 +1,4759 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f +__ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f: +/* 802A309C 0029FFFC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802A30A0 002A0000 7C 08 02 A6 */ mflr r0 +/* 802A30A4 002A0004 90 01 01 14 */ stw r0, 0x114(r1) +/* 802A30A8 002A0008 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802A30AC 002A000C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802A30B0 002A0010 BF 01 00 E0 */ stmw r24, 0xe0(r1) +/* 802A30B4 002A0014 3B 40 00 00 */ li r26, 0 +/* 802A30B8 002A0018 7C BE 2B 78 */ mr r30, r5 +/* 802A30BC 002A001C 93 43 00 00 */ stw r26, 0(r3) +/* 802A30C0 002A0020 7C 7C 1B 78 */ mr r28, r3 +/* 802A30C4 002A0024 3C 60 80 3D */ lis r3, lbl_803D0004@ha +/* 802A30C8 002A0028 7C 9D 23 78 */ mr r29, r4 +/* 802A30CC 002A002C 93 5C 06 C4 */ stw r26, 0x6c4(r28) +/* 802A30D0 002A0030 7F DB F3 78 */ mr r27, r30 +/* 802A30D4 002A0034 C3 E2 C1 4C */ lfs f31, lbl_805ADE6C@sda21(r2) +/* 802A30D8 002A0038 3B E0 00 00 */ li r31, 0 +/* 802A30DC 002A003C C0 04 00 00 */ lfs f0, 0(r4) +/* 802A30E0 002A0040 3B 20 00 00 */ li r25, 0 +/* 802A30E4 002A0044 D0 1C 06 E8 */ stfs f0, 0x6e8(r28) +/* 802A30E8 002A0048 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A30EC 002A004C D0 1C 06 EC */ stfs f0, 0x6ec(r28) +/* 802A30F0 002A0050 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A30F4 002A0054 D0 1C 06 F0 */ stfs f0, 0x6f0(r28) +/* 802A30F8 002A0058 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A30FC 002A005C D0 1C 06 F4 */ stfs f0, 0x6f4(r28) +/* 802A3100 002A0060 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3104 002A0064 D0 1C 06 F8 */ stfs f0, 0x6f8(r28) +/* 802A3108 002A0068 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A310C 002A006C D0 1C 06 FC */ stfs f0, 0x6fc(r28) +/* 802A3110 002A0070 84 C3 60 28 */ lwzu r6, 0x6028(r3) +/* 802A3114 002A0074 80 02 D7 6C */ lwz r0, lbl_805AF48C@sda21(r2) +/* 802A3118 002A0078 80 A3 00 04 */ lwz r5, lbl_803D0004@l(r3) +/* 802A311C 002A007C 80 83 00 08 */ lwz r4, 8(r3) +/* 802A3120 002A0080 80 62 D7 68 */ lwz r3, lbl_805AF488@sda21(r2) +/* 802A3124 002A0084 90 C1 00 40 */ stw r6, 0x40(r1) +/* 802A3128 002A0088 90 A1 00 44 */ stw r5, 0x44(r1) +/* 802A312C 002A008C 90 81 00 48 */ stw r4, 0x48(r1) +/* 802A3130 002A0090 90 61 00 08 */ stw r3, 8(r1) +/* 802A3134 002A0094 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802A3138: +/* 802A3138 002A0098 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802A313C 002A009C FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 802A3140 002A00A0 41 82 00 30 */ beq lbl_802A3170 +/* 802A3144 002A00A4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802A3148 002A00A8 7C 00 00 26 */ mfcr r0 +/* 802A314C 002A00AC 38 81 00 40 */ addi r4, r1, 0x40 +/* 802A3150 002A00B0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A3154 002A00B4 7F 1A 02 14 */ add r24, r26, r0 +/* 802A3158 002A00B8 7F 03 C3 78 */ mr r3, r24 +/* 802A315C 002A00BC 48 00 05 29 */ bl FlagEdgeIndicesForFace__FUiPb +/* 802A3160 002A00C0 7F 03 C3 78 */ mr r3, r24 +/* 802A3164 002A00C4 38 81 00 08 */ addi r4, r1, 8 +/* 802A3168 002A00C8 48 00 04 59 */ bl FlagVertexIndicesForFace__FUiPb +/* 802A316C 002A00CC 3B FF 00 01 */ addi r31, r31, 1 +lbl_802A3170: +/* 802A3170 002A00D0 3B 39 00 01 */ addi r25, r25, 1 +/* 802A3174 002A00D4 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A3178 002A00D8 2C 19 00 03 */ cmpwi r25, 3 +/* 802A317C 002A00DC 3B 7B 00 04 */ addi r27, r27, 4 +/* 802A3180 002A00E0 41 80 FF B8 */ blt lbl_802A3138 +/* 802A3184 002A00E4 3B 00 00 00 */ li r24, 0 +/* 802A3188 002A00E8 3B 41 00 40 */ addi r26, r1, 0x40 +lbl_802A318C: +/* 802A318C 002A00EC 88 1A 00 00 */ lbz r0, 0(r26) +/* 802A3190 002A00F0 28 00 00 00 */ cmplwi r0, 0 +/* 802A3194 002A00F4 41 82 00 24 */ beq lbl_802A31B8 +/* 802A3198 002A00F8 7F A4 EB 78 */ mr r4, r29 +/* 802A319C 002A00FC 7F 05 C3 78 */ mr r5, r24 +/* 802A31A0 002A0100 7F C6 F3 78 */ mr r6, r30 +/* 802A31A4 002A0104 38 61 00 50 */ addi r3, r1, 0x50 +/* 802A31A8 002A0108 48 00 03 01 */ bl __ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f +/* 802A31AC 002A010C 7C 64 1B 78 */ mr r4, r3 +/* 802A31B0 002A0110 7F 83 E3 78 */ mr r3, r28 +/* 802A31B4 002A0114 48 00 01 D1 */ bl sub_802a3384 +lbl_802A31B8: +/* 802A31B8 002A0118 3B 18 00 01 */ addi r24, r24, 1 +/* 802A31BC 002A011C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A31C0 002A0120 2C 18 00 0C */ cmpwi r24, 0xc +/* 802A31C4 002A0124 41 80 FF C8 */ blt lbl_802A318C +/* 802A31C8 002A0128 38 00 00 02 */ li r0, 2 +/* 802A31CC 002A012C 38 81 00 08 */ addi r4, r1, 8 +/* 802A31D0 002A0130 38 BC 06 C4 */ addi r5, r28, 0x6c4 +/* 802A31D4 002A0134 38 C0 00 00 */ li r6, 0 +/* 802A31D8 002A0138 7C 09 03 A6 */ mtctr r0 +lbl_802A31DC: +/* 802A31DC 002A013C 88 04 00 00 */ lbz r0, 0(r4) +/* 802A31E0 002A0140 28 00 00 00 */ cmplwi r0, 0 +/* 802A31E4 002A0144 41 82 00 28 */ beq lbl_802A320C +/* 802A31E8 002A0148 80 05 00 00 */ lwz r0, 0(r5) +/* 802A31EC 002A014C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A31F0 002A0150 7C 65 02 14 */ add r3, r5, r0 +/* 802A31F4 002A0154 34 63 00 04 */ addic. r3, r3, 4 +/* 802A31F8 002A0158 41 82 00 08 */ beq lbl_802A3200 +/* 802A31FC 002A015C 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A3200: +/* 802A3200 002A0160 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A3204 002A0164 38 03 00 01 */ addi r0, r3, 1 +/* 802A3208 002A0168 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A320C: +/* 802A320C 002A016C 88 04 00 01 */ lbz r0, 1(r4) +/* 802A3210 002A0170 38 C6 00 01 */ addi r6, r6, 1 +/* 802A3214 002A0174 28 00 00 00 */ cmplwi r0, 0 +/* 802A3218 002A0178 41 82 00 28 */ beq lbl_802A3240 +/* 802A321C 002A017C 80 05 00 00 */ lwz r0, 0(r5) +/* 802A3220 002A0180 54 00 10 3A */ slwi r0, r0, 2 +/* 802A3224 002A0184 7C 65 02 14 */ add r3, r5, r0 +/* 802A3228 002A0188 34 63 00 04 */ addic. r3, r3, 4 +/* 802A322C 002A018C 41 82 00 08 */ beq lbl_802A3234 +/* 802A3230 002A0190 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A3234: +/* 802A3234 002A0194 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A3238 002A0198 38 03 00 01 */ addi r0, r3, 1 +/* 802A323C 002A019C 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A3240: +/* 802A3240 002A01A0 88 04 00 02 */ lbz r0, 2(r4) +/* 802A3244 002A01A4 38 C6 00 01 */ addi r6, r6, 1 +/* 802A3248 002A01A8 28 00 00 00 */ cmplwi r0, 0 +/* 802A324C 002A01AC 41 82 00 28 */ beq lbl_802A3274 +/* 802A3250 002A01B0 80 05 00 00 */ lwz r0, 0(r5) +/* 802A3254 002A01B4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A3258 002A01B8 7C 65 02 14 */ add r3, r5, r0 +/* 802A325C 002A01BC 34 63 00 04 */ addic. r3, r3, 4 +/* 802A3260 002A01C0 41 82 00 08 */ beq lbl_802A3268 +/* 802A3264 002A01C4 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A3268: +/* 802A3268 002A01C8 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A326C 002A01CC 38 03 00 01 */ addi r0, r3, 1 +/* 802A3270 002A01D0 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A3274: +/* 802A3274 002A01D4 88 04 00 03 */ lbz r0, 3(r4) +/* 802A3278 002A01D8 38 C6 00 01 */ addi r6, r6, 1 +/* 802A327C 002A01DC 28 00 00 00 */ cmplwi r0, 0 +/* 802A3280 002A01E0 41 82 00 28 */ beq lbl_802A32A8 +/* 802A3284 002A01E4 80 05 00 00 */ lwz r0, 0(r5) +/* 802A3288 002A01E8 54 00 10 3A */ slwi r0, r0, 2 +/* 802A328C 002A01EC 7C 65 02 14 */ add r3, r5, r0 +/* 802A3290 002A01F0 34 63 00 04 */ addic. r3, r3, 4 +/* 802A3294 002A01F4 41 82 00 08 */ beq lbl_802A329C +/* 802A3298 002A01F8 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A329C: +/* 802A329C 002A01FC 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A32A0 002A0200 38 03 00 01 */ addi r0, r3, 1 +/* 802A32A4 002A0204 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A32A8: +/* 802A32A8 002A0208 38 84 00 04 */ addi r4, r4, 4 +/* 802A32AC 002A020C 38 C6 00 01 */ addi r6, r6, 1 +/* 802A32B0 002A0210 42 00 FF 2C */ bdnz lbl_802A31DC +/* 802A32B4 002A0214 28 1F 00 01 */ cmplwi r31, 1 +/* 802A32B8 002A0218 40 82 00 AC */ bne lbl_802A3364 +/* 802A32BC 002A021C 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A32C0 002A0220 7F A4 EB 78 */ mr r4, r29 +/* 802A32C4 002A0224 38 C3 67 54 */ addi r6, r3, lbl_805A6754@l +/* 802A32C8 002A0228 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A32CC 002A022C 80 A6 00 00 */ lwz r5, 0(r6) +/* 802A32D0 002A0230 80 06 00 04 */ lwz r0, 4(r6) +/* 802A32D4 002A0234 90 BC 06 E8 */ stw r5, 0x6e8(r28) +/* 802A32D8 002A0238 90 1C 06 EC */ stw r0, 0x6ec(r28) +/* 802A32DC 002A023C 80 06 00 08 */ lwz r0, 8(r6) +/* 802A32E0 002A0240 90 1C 06 F0 */ stw r0, 0x6f0(r28) +/* 802A32E4 002A0244 80 A6 00 0C */ lwz r5, 0xc(r6) +/* 802A32E8 002A0248 80 06 00 10 */ lwz r0, 0x10(r6) +/* 802A32EC 002A024C 90 BC 06 F4 */ stw r5, 0x6f4(r28) +/* 802A32F0 002A0250 90 1C 06 F8 */ stw r0, 0x6f8(r28) +/* 802A32F4 002A0254 80 06 00 14 */ lwz r0, 0x14(r6) +/* 802A32F8 002A0258 90 1C 06 FC */ stw r0, 0x6fc(r28) +/* 802A32FC 002A025C 80 BC 06 C8 */ lwz r5, 0x6c8(r28) +/* 802A3300 002A0260 48 09 42 B1 */ bl GetPoint__6CAABoxCFi +/* 802A3304 002A0264 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A3308 002A0268 38 81 00 34 */ addi r4, r1, 0x34 +/* 802A330C 002A026C 48 09 47 FD */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A3310 002A0270 80 BC 06 CC */ lwz r5, 0x6cc(r28) +/* 802A3314 002A0274 7F A4 EB 78 */ mr r4, r29 +/* 802A3318 002A0278 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A331C 002A027C 48 09 42 95 */ bl GetPoint__6CAABoxCFi +/* 802A3320 002A0280 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A3324 002A0284 38 81 00 28 */ addi r4, r1, 0x28 +/* 802A3328 002A0288 48 09 47 E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A332C 002A028C 80 BC 06 D0 */ lwz r5, 0x6d0(r28) +/* 802A3330 002A0290 7F A4 EB 78 */ mr r4, r29 +/* 802A3334 002A0294 38 61 00 1C */ addi r3, r1, 0x1c +/* 802A3338 002A0298 48 09 42 79 */ bl GetPoint__6CAABoxCFi +/* 802A333C 002A029C 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A3340 002A02A0 38 81 00 1C */ addi r4, r1, 0x1c +/* 802A3344 002A02A4 48 09 47 C5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A3348 002A02A8 80 BC 06 D4 */ lwz r5, 0x6d4(r28) +/* 802A334C 002A02AC 7F A4 EB 78 */ mr r4, r29 +/* 802A3350 002A02B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A3354 002A02B4 48 09 42 5D */ bl GetPoint__6CAABoxCFi +/* 802A3358 002A02B8 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A335C 002A02BC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A3360 002A02C0 48 09 47 A9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_802A3364: +/* 802A3364 002A02C4 7F 83 E3 78 */ mr r3, r28 +/* 802A3368 002A02C8 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802A336C 002A02CC CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802A3370 002A02D0 BB 01 00 E0 */ lmw r24, 0xe0(r1) +/* 802A3374 002A02D4 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802A3378 002A02D8 7C 08 03 A6 */ mtlr r0 +/* 802A337C 002A02DC 38 21 01 10 */ addi r1, r1, 0x110 +/* 802A3380 002A02E0 4E 80 00 20 */ blr + +.global sub_802a3384 +sub_802a3384: +/* 802A3384 002A02E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A3388 002A02E8 7C 08 02 A6 */ mflr r0 +/* 802A338C 002A02EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A3390 002A02F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A3394 002A02F4 7C 7F 1B 78 */ mr r31, r3 +/* 802A3398 002A02F8 80 03 00 00 */ lwz r0, 0(r3) +/* 802A339C 002A02FC 1C 00 00 90 */ mulli r0, r0, 0x90 +/* 802A33A0 002A0300 7C 7F 02 14 */ add r3, r31, r0 +/* 802A33A4 002A0304 38 63 00 04 */ addi r3, r3, 4 +/* 802A33A8 002A0308 48 00 00 25 */ bl sub_802a33cc +/* 802A33AC 002A030C 80 7F 00 00 */ lwz r3, 0(r31) +/* 802A33B0 002A0310 38 03 00 01 */ addi r0, r3, 1 +/* 802A33B4 002A0314 90 1F 00 00 */ stw r0, 0(r31) +/* 802A33B8 002A0318 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A33BC 002A031C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A33C0 002A0320 7C 08 03 A6 */ mtlr r0 +/* 802A33C4 002A0324 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A33C8 002A0328 4E 80 00 20 */ blr + +.global sub_802a33cc +sub_802a33cc: +/* 802A33CC 002A032C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A33D0 002A0330 7C 08 02 A6 */ mflr r0 +/* 802A33D4 002A0334 28 03 00 00 */ cmplwi r3, 0 +/* 802A33D8 002A0338 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A33DC 002A033C 41 82 00 08 */ beq lbl_802A33E4 +/* 802A33E0 002A0340 48 00 00 15 */ bl sub_802a33f4 +lbl_802A33E4: +/* 802A33E4 002A0344 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A33E8 002A0348 7C 08 03 A6 */ mtlr r0 +/* 802A33EC 002A034C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A33F0 002A0350 4E 80 00 20 */ blr + +.global sub_802a33f4 +sub_802a33f4: +/* 802A33F4 002A0354 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A33F8 002A0358 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A33FC 002A035C C0 04 00 04 */ lfs f0, 4(r4) +/* 802A3400 002A0360 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A3404 002A0364 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A3408 002A0368 D0 03 00 08 */ stfs f0, 8(r3) +/* 802A340C 002A036C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A3410 002A0370 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A3414 002A0374 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3418 002A0378 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A341C 002A037C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A3420 002A0380 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A3424 002A0384 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A3428 002A0388 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802A342C 002A038C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802A3430 002A0390 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802A3434 002A0394 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A3438 002A0398 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802A343C 002A039C C8 04 00 28 */ lfd f0, 0x28(r4) +/* 802A3440 002A03A0 D8 03 00 28 */ stfd f0, 0x28(r3) +/* 802A3444 002A03A4 C8 04 00 30 */ lfd f0, 0x30(r4) +/* 802A3448 002A03A8 D8 03 00 30 */ stfd f0, 0x30(r3) +/* 802A344C 002A03AC C8 04 00 38 */ lfd f0, 0x38(r4) +/* 802A3450 002A03B0 D8 03 00 38 */ stfd f0, 0x38(r3) +/* 802A3454 002A03B4 C8 04 00 40 */ lfd f0, 0x40(r4) +/* 802A3458 002A03B8 D8 03 00 40 */ stfd f0, 0x40(r3) +/* 802A345C 002A03BC C8 04 00 48 */ lfd f0, 0x48(r4) +/* 802A3460 002A03C0 D8 03 00 48 */ stfd f0, 0x48(r3) +/* 802A3464 002A03C4 C8 04 00 50 */ lfd f0, 0x50(r4) +/* 802A3468 002A03C8 D8 03 00 50 */ stfd f0, 0x50(r3) +/* 802A346C 002A03CC C8 04 00 58 */ lfd f0, 0x58(r4) +/* 802A3470 002A03D0 D8 03 00 58 */ stfd f0, 0x58(r3) +/* 802A3474 002A03D4 C8 04 00 60 */ lfd f0, 0x60(r4) +/* 802A3478 002A03D8 D8 03 00 60 */ stfd f0, 0x60(r3) +/* 802A347C 002A03DC C8 04 00 68 */ lfd f0, 0x68(r4) +/* 802A3480 002A03E0 D8 03 00 68 */ stfd f0, 0x68(r3) +/* 802A3484 002A03E4 C8 04 00 70 */ lfd f0, 0x70(r4) +/* 802A3488 002A03E8 D8 03 00 70 */ stfd f0, 0x70(r3) +/* 802A348C 002A03EC C8 04 00 78 */ lfd f0, 0x78(r4) +/* 802A3490 002A03F0 D8 03 00 78 */ stfd f0, 0x78(r3) +/* 802A3494 002A03F4 C8 04 00 80 */ lfd f0, 0x80(r4) +/* 802A3498 002A03F8 D8 03 00 80 */ stfd f0, 0x80(r3) +/* 802A349C 002A03FC C8 04 00 88 */ lfd f0, 0x88(r4) +/* 802A34A0 002A0400 D8 03 00 88 */ stfd f0, 0x88(r3) +/* 802A34A4 002A0404 4E 80 00 20 */ blr + +.global __ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f +__ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f: +/* 802A34A8 002A0408 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802A34AC 002A040C 7C 08 02 A6 */ mflr r0 +/* 802A34B0 002A0410 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802A34B4 002A0414 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 802A34B8 002A0418 7C DF 33 78 */ mr r31, r6 +/* 802A34BC 002A041C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 802A34C0 002A0420 7C 7E 1B 78 */ mr r30, r3 +/* 802A34C4 002A0424 38 61 00 68 */ addi r3, r1, 0x68 +/* 802A34C8 002A0428 48 09 49 D9 */ bl GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId +/* 802A34CC 002A042C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802A34D0 002A0430 7F C4 F3 78 */ mr r4, r30 +/* 802A34D4 002A0434 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802A34D8 002A0438 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A34DC 002A043C C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802A34E0 002A0440 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A34E4 002A0444 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802A34E8 002A0448 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A34EC 002A044C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802A34F0 002A0450 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A34F4 002A0454 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802A34F8 002A0458 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802A34FC 002A045C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802A3500 002A0460 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802A3504 002A0464 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802A3508 002A0468 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802A350C 002A046C C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802A3510 002A0470 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802A3514 002A0474 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802A3518 002A0478 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802A351C 002A047C 48 07 10 69 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3520 002A0480 38 7E 00 40 */ addi r3, r30, 0x40 +/* 802A3524 002A0484 38 9E 00 18 */ addi r4, r30, 0x18 +/* 802A3528 002A0488 48 07 10 5D */ bl __ct__9CVector3dFRC9CVector3f +/* 802A352C 002A048C 38 61 00 50 */ addi r3, r1, 0x50 +/* 802A3530 002A0490 38 9E 00 40 */ addi r4, r30, 0x40 +/* 802A3534 002A0494 38 BE 00 28 */ addi r5, r30, 0x28 +/* 802A3538 002A0498 48 07 0E 5D */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A353C 002A049C C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802A3540 002A04A0 7F E4 FB 78 */ mr r4, r31 +/* 802A3544 002A04A4 38 61 00 08 */ addi r3, r1, 8 +/* 802A3548 002A04A8 D8 1E 00 58 */ stfd f0, 0x58(r30) +/* 802A354C 002A04AC C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802A3550 002A04B0 D8 1E 00 60 */ stfd f0, 0x60(r30) +/* 802A3554 002A04B4 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802A3558 002A04B8 D8 1E 00 68 */ stfd f0, 0x68(r30) +/* 802A355C 002A04BC 48 07 10 29 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3560 002A04C0 7C 65 1B 78 */ mr r5, r3 +/* 802A3564 002A04C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A3568 002A04C8 38 9E 00 58 */ addi r4, r30, 0x58 +/* 802A356C 002A04CC 48 07 0E B1 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3570 002A04D0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802A3574 002A04D4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A3578 002A04D8 48 07 0F 45 */ bl AsNormalized__9CVector3dCFv +/* 802A357C 002A04DC C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802A3580 002A04E0 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802A3584 002A04E4 38 9E 00 70 */ addi r4, r30, 0x70 +/* 802A3588 002A04E8 D8 1E 00 70 */ stfd f0, 0x70(r30) +/* 802A358C 002A04EC C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802A3590 002A04F0 D8 1E 00 78 */ stfd f0, 0x78(r30) +/* 802A3594 002A04F4 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802A3598 002A04F8 D8 1E 00 80 */ stfd f0, 0x80(r30) +/* 802A359C 002A04FC 48 07 0E D1 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A35A0 002A0500 D8 3E 00 88 */ stfd f1, 0x88(r30) +/* 802A35A4 002A0504 7F C3 F3 78 */ mr r3, r30 +/* 802A35A8 002A0508 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802A35AC 002A050C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 802A35B0 002A0510 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 802A35B4 002A0514 7C 08 03 A6 */ mtlr r0 +/* 802A35B8 002A0518 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802A35BC 002A051C 4E 80 00 20 */ blr + +.global FlagVertexIndicesForFace__FUiPb +FlagVertexIndicesForFace__FUiPb: +/* 802A35C0 002A0520 2C 03 00 03 */ cmpwi r3, 3 +/* 802A35C4 002A0524 41 82 00 78 */ beq lbl_802A363C +/* 802A35C8 002A0528 40 80 00 1C */ bge lbl_802A35E4 +/* 802A35CC 002A052C 2C 03 00 01 */ cmpwi r3, 1 +/* 802A35D0 002A0530 41 82 00 3C */ beq lbl_802A360C +/* 802A35D4 002A0534 40 80 00 50 */ bge lbl_802A3624 +/* 802A35D8 002A0538 2C 03 00 00 */ cmpwi r3, 0 +/* 802A35DC 002A053C 40 80 00 18 */ bge lbl_802A35F4 +/* 802A35E0 002A0540 4E 80 00 20 */ blr +lbl_802A35E4: +/* 802A35E4 002A0544 2C 03 00 05 */ cmpwi r3, 5 +/* 802A35E8 002A0548 41 82 00 84 */ beq lbl_802A366C +/* 802A35EC 002A054C 4C 80 00 20 */ bgelr +/* 802A35F0 002A0550 48 00 00 64 */ b lbl_802A3654 +lbl_802A35F4: +/* 802A35F4 002A0554 38 00 00 01 */ li r0, 1 +/* 802A35F8 002A0558 98 04 00 01 */ stb r0, 1(r4) +/* 802A35FC 002A055C 98 04 00 03 */ stb r0, 3(r4) +/* 802A3600 002A0560 98 04 00 05 */ stb r0, 5(r4) +/* 802A3604 002A0564 98 04 00 07 */ stb r0, 7(r4) +/* 802A3608 002A0568 4E 80 00 20 */ blr +lbl_802A360C: +/* 802A360C 002A056C 38 00 00 01 */ li r0, 1 +/* 802A3610 002A0570 98 04 00 00 */ stb r0, 0(r4) +/* 802A3614 002A0574 98 04 00 02 */ stb r0, 2(r4) +/* 802A3618 002A0578 98 04 00 04 */ stb r0, 4(r4) +/* 802A361C 002A057C 98 04 00 06 */ stb r0, 6(r4) +/* 802A3620 002A0580 4E 80 00 20 */ blr +lbl_802A3624: +/* 802A3624 002A0584 38 00 00 01 */ li r0, 1 +/* 802A3628 002A0588 98 04 00 02 */ stb r0, 2(r4) +/* 802A362C 002A058C 98 04 00 03 */ stb r0, 3(r4) +/* 802A3630 002A0590 98 04 00 06 */ stb r0, 6(r4) +/* 802A3634 002A0594 98 04 00 07 */ stb r0, 7(r4) +/* 802A3638 002A0598 4E 80 00 20 */ blr +lbl_802A363C: +/* 802A363C 002A059C 38 00 00 01 */ li r0, 1 +/* 802A3640 002A05A0 98 04 00 00 */ stb r0, 0(r4) +/* 802A3644 002A05A4 98 04 00 01 */ stb r0, 1(r4) +/* 802A3648 002A05A8 98 04 00 04 */ stb r0, 4(r4) +/* 802A364C 002A05AC 98 04 00 05 */ stb r0, 5(r4) +/* 802A3650 002A05B0 4E 80 00 20 */ blr +lbl_802A3654: +/* 802A3654 002A05B4 38 00 00 01 */ li r0, 1 +/* 802A3658 002A05B8 98 04 00 04 */ stb r0, 4(r4) +/* 802A365C 002A05BC 98 04 00 05 */ stb r0, 5(r4) +/* 802A3660 002A05C0 98 04 00 06 */ stb r0, 6(r4) +/* 802A3664 002A05C4 98 04 00 07 */ stb r0, 7(r4) +/* 802A3668 002A05C8 4E 80 00 20 */ blr +lbl_802A366C: +/* 802A366C 002A05CC 38 00 00 01 */ li r0, 1 +/* 802A3670 002A05D0 98 04 00 00 */ stb r0, 0(r4) +/* 802A3674 002A05D4 98 04 00 01 */ stb r0, 1(r4) +/* 802A3678 002A05D8 98 04 00 02 */ stb r0, 2(r4) +/* 802A367C 002A05DC 98 04 00 03 */ stb r0, 3(r4) +/* 802A3680 002A05E0 4E 80 00 20 */ blr + +.global FlagEdgeIndicesForFace__FUiPb +FlagEdgeIndicesForFace__FUiPb: +/* 802A3684 002A05E4 2C 03 00 03 */ cmpwi r3, 3 +/* 802A3688 002A05E8 41 82 00 78 */ beq lbl_802A3700 +/* 802A368C 002A05EC 40 80 00 1C */ bge lbl_802A36A8 +/* 802A3690 002A05F0 2C 03 00 01 */ cmpwi r3, 1 +/* 802A3694 002A05F4 41 82 00 3C */ beq lbl_802A36D0 +/* 802A3698 002A05F8 40 80 00 50 */ bge lbl_802A36E8 +/* 802A369C 002A05FC 2C 03 00 00 */ cmpwi r3, 0 +/* 802A36A0 002A0600 40 80 00 18 */ bge lbl_802A36B8 +/* 802A36A4 002A0604 4E 80 00 20 */ blr +lbl_802A36A8: +/* 802A36A8 002A0608 2C 03 00 05 */ cmpwi r3, 5 +/* 802A36AC 002A060C 41 82 00 84 */ beq lbl_802A3730 +/* 802A36B0 002A0610 4C 80 00 20 */ bgelr +/* 802A36B4 002A0614 48 00 00 64 */ b lbl_802A3718 +lbl_802A36B8: +/* 802A36B8 002A0618 38 00 00 01 */ li r0, 1 +/* 802A36BC 002A061C 98 04 00 0A */ stb r0, 0xa(r4) +/* 802A36C0 002A0620 98 04 00 0B */ stb r0, 0xb(r4) +/* 802A36C4 002A0624 98 04 00 02 */ stb r0, 2(r4) +/* 802A36C8 002A0628 98 04 00 04 */ stb r0, 4(r4) +/* 802A36CC 002A062C 4E 80 00 20 */ blr +lbl_802A36D0: +/* 802A36D0 002A0630 38 00 00 01 */ li r0, 1 +/* 802A36D4 002A0634 98 04 00 08 */ stb r0, 8(r4) +/* 802A36D8 002A0638 98 04 00 09 */ stb r0, 9(r4) +/* 802A36DC 002A063C 98 04 00 00 */ stb r0, 0(r4) +/* 802A36E0 002A0640 98 04 00 06 */ stb r0, 6(r4) +/* 802A36E4 002A0644 4E 80 00 20 */ blr +lbl_802A36E8: +/* 802A36E8 002A0648 38 00 00 01 */ li r0, 1 +/* 802A36EC 002A064C 98 04 00 04 */ stb r0, 4(r4) +/* 802A36F0 002A0650 98 04 00 05 */ stb r0, 5(r4) +/* 802A36F4 002A0654 98 04 00 06 */ stb r0, 6(r4) +/* 802A36F8 002A0658 98 04 00 07 */ stb r0, 7(r4) +/* 802A36FC 002A065C 4E 80 00 20 */ blr +lbl_802A3700: +/* 802A3700 002A0660 38 00 00 01 */ li r0, 1 +/* 802A3704 002A0664 98 04 00 00 */ stb r0, 0(r4) +/* 802A3708 002A0668 98 04 00 01 */ stb r0, 1(r4) +/* 802A370C 002A066C 98 04 00 02 */ stb r0, 2(r4) +/* 802A3710 002A0670 98 04 00 03 */ stb r0, 3(r4) +/* 802A3714 002A0674 4E 80 00 20 */ blr +lbl_802A3718: +/* 802A3718 002A0678 38 00 00 01 */ li r0, 1 +/* 802A371C 002A067C 98 04 00 07 */ stb r0, 7(r4) +/* 802A3720 002A0680 98 04 00 08 */ stb r0, 8(r4) +/* 802A3724 002A0684 98 04 00 03 */ stb r0, 3(r4) +/* 802A3728 002A0688 98 04 00 0B */ stb r0, 0xb(r4) +/* 802A372C 002A068C 4E 80 00 20 */ blr +lbl_802A3730: +/* 802A3730 002A0690 38 00 00 01 */ li r0, 1 +/* 802A3734 002A0694 98 04 00 01 */ stb r0, 1(r4) +/* 802A3738 002A0698 98 04 00 05 */ stb r0, 5(r4) +/* 802A373C 002A069C 98 04 00 09 */ stb r0, 9(r4) +/* 802A3740 002A06A0 98 04 00 0A */ stb r0, 0xa(r4) +/* 802A3744 002A06A4 4E 80 00 20 */ blr + +.global BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache +BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache: +/* 802A3748 002A06A8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802A374C 002A06AC 7C 08 02 A6 */ mflr r0 +/* 802A3750 002A06B0 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A3754 002A06B4 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802A3758 002A06B8 7C 7A 1B 78 */ mr r26, r3 +/* 802A375C 002A06BC 7C 9B 23 78 */ mr r27, r4 +/* 802A3760 002A06C0 7C BC 2B 78 */ mr r28, r5 +/* 802A3764 002A06C4 3B C0 00 00 */ li r30, 0 +/* 802A3768 002A06C8 3B E0 00 00 */ li r31, 0 +lbl_802A376C: +/* 802A376C 002A06CC 80 7A 00 18 */ lwz r3, 0x18(r26) +/* 802A3770 002A06D0 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A3774 002A06D4 7C 00 FE 30 */ sraw r0, r0, r31 +/* 802A3778 002A06D8 54 1D 07 BF */ clrlwi. r29, r0, 0x1e +/* 802A377C 002A06DC 41 82 00 98 */ beq lbl_802A3814 +/* 802A3780 002A06E0 7F 44 D3 78 */ mr r4, r26 +/* 802A3784 002A06E4 7F C5 F3 78 */ mr r5, r30 +/* 802A3788 002A06E8 38 61 00 08 */ addi r3, r1, 8 +/* 802A378C 002A06EC 4B FF F5 D5 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A3790 002A06F0 C0 A1 00 08 */ lfs f5, 8(r1) +/* 802A3794 002A06F4 7F 63 DB 78 */ mr r3, r27 +/* 802A3798 002A06F8 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 802A379C 002A06FC 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A37A0 002A0700 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802A37A4 002A0704 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A37A8 002A0708 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A37AC 002A070C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A37B0 002A0710 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 802A37B4 002A0714 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 802A37B8 002A0718 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802A37BC 002A071C D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802A37C0 002A0720 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 802A37C4 002A0724 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802A37C8 002A0728 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802A37CC 002A072C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802A37D0 002A0730 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802A37D4 002A0734 90 C1 00 44 */ stw r6, 0x44(r1) +/* 802A37D8 002A0738 90 A1 00 48 */ stw r5, 0x48(r1) +/* 802A37DC 002A073C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802A37E0 002A0740 48 09 43 A5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A37E4 002A0744 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A37E8 002A0748 41 82 00 2C */ beq lbl_802A3814 +/* 802A37EC 002A074C 2C 1D 00 02 */ cmpwi r29, 2 +/* 802A37F0 002A0750 40 82 00 14 */ bne lbl_802A3804 +/* 802A37F4 002A0754 7F 83 E3 78 */ mr r3, r28 +/* 802A37F8 002A0758 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A37FC 002A075C 48 00 02 E9 */ bl AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node +/* 802A3800 002A0760 48 00 00 14 */ b lbl_802A3814 +lbl_802A3804: +/* 802A3804 002A0764 7F 64 DB 78 */ mr r4, r27 +/* 802A3808 002A0768 7F 85 E3 78 */ mr r5, r28 +/* 802A380C 002A076C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A3810 002A0770 4B FF FF 39 */ bl BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache +lbl_802A3814: +/* 802A3814 002A0774 3B DE 00 01 */ addi r30, r30, 1 +/* 802A3818 002A0778 3B FF 00 02 */ addi r31, r31, 2 +/* 802A381C 002A077C 2C 1E 00 08 */ cmpwi r30, 8 +/* 802A3820 002A0780 41 80 FF 4C */ blt lbl_802A376C +/* 802A3824 002A0784 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802A3828 002A0788 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802A382C 002A078C 7C 08 03 A6 */ mtlr r0 +/* 802A3830 002A0790 38 21 00 70 */ addi r1, r1, 0x70 +/* 802A3834 002A0794 4E 80 00 20 */ blr + +.global ClearCache__19CAreaCollisionCacheFv +ClearCache__19CAreaCollisionCacheFv: +/* 802A3838 002A0798 38 E3 00 1C */ addi r7, r3, 0x1c +/* 802A383C 002A079C 38 80 00 00 */ li r4, 0 +/* 802A3840 002A07A0 48 00 00 74 */ b lbl_802A38B4 +lbl_802A3844: +/* 802A3844 002A07A4 28 07 00 00 */ cmplwi r7, 0 +/* 802A3848 002A07A8 41 82 00 64 */ beq lbl_802A38AC +/* 802A384C 002A07AC 34 07 00 04 */ addic. r0, r7, 4 +/* 802A3850 002A07B0 41 82 00 5C */ beq lbl_802A38AC +/* 802A3854 002A07B4 81 07 00 04 */ lwz r8, 4(r7) +/* 802A3858 002A07B8 38 A0 00 00 */ li r5, 0 +/* 802A385C 002A07BC 2C 08 00 00 */ cmpwi r8, 0 +/* 802A3860 002A07C0 40 81 00 44 */ ble lbl_802A38A4 +/* 802A3864 002A07C4 2C 08 00 08 */ cmpwi r8, 8 +/* 802A3868 002A07C8 38 C8 FF F8 */ addi r6, r8, -8 +/* 802A386C 002A07CC 40 81 00 20 */ ble lbl_802A388C +/* 802A3870 002A07D0 38 06 00 07 */ addi r0, r6, 7 +/* 802A3874 002A07D4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A3878 002A07D8 7C 09 03 A6 */ mtctr r0 +/* 802A387C 002A07DC 2C 06 00 00 */ cmpwi r6, 0 +/* 802A3880 002A07E0 40 81 00 0C */ ble lbl_802A388C +lbl_802A3884: +/* 802A3884 002A07E4 38 A5 00 08 */ addi r5, r5, 8 +/* 802A3888 002A07E8 42 00 FF FC */ bdnz lbl_802A3884 +lbl_802A388C: +/* 802A388C 002A07EC 7C 05 40 50 */ subf r0, r5, r8 +/* 802A3890 002A07F0 7C 09 03 A6 */ mtctr r0 +/* 802A3894 002A07F4 7C 05 40 00 */ cmpw r5, r8 +/* 802A3898 002A07F8 40 80 00 0C */ bge lbl_802A38A4 +lbl_802A389C: +/* 802A389C 002A07FC 38 A5 00 01 */ addi r5, r5, 1 +/* 802A38A0 002A0800 42 00 FF FC */ bdnz lbl_802A389C +lbl_802A38A4: +/* 802A38A4 002A0804 38 00 00 00 */ li r0, 0 +/* 802A38A8 002A0808 90 07 00 04 */ stw r0, 4(r7) +lbl_802A38AC: +/* 802A38AC 002A080C 38 E7 09 0C */ addi r7, r7, 0x90c +/* 802A38B0 002A0810 38 84 00 01 */ addi r4, r4, 1 +lbl_802A38B4: +/* 802A38B4 002A0814 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802A38B8 002A0818 7C 04 00 00 */ cmpw r4, r0 +/* 802A38BC 002A081C 41 80 FF 88 */ blt lbl_802A3844 +/* 802A38C0 002A0820 38 80 00 00 */ li r4, 0 +/* 802A38C4 002A0824 90 83 00 18 */ stw r4, 0x18(r3) +/* 802A38C8 002A0828 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A38CC 002A082C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A38D0 002A0830 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A38D4 002A0834 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A38D8 002A0838 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802A38DC 002A083C 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A38E0 002A0840 4E 80 00 20 */ blr + +.global SetCacheBounds__19CAreaCollisionCacheFRC6CAABox +SetCacheBounds__19CAreaCollisionCacheFRC6CAABox: +/* 802A38E4 002A0844 80 A4 00 00 */ lwz r5, 0(r4) +/* 802A38E8 002A0848 80 04 00 04 */ lwz r0, 4(r4) +/* 802A38EC 002A084C 90 A3 00 00 */ stw r5, 0(r3) +/* 802A38F0 002A0850 90 03 00 04 */ stw r0, 4(r3) +/* 802A38F4 002A0854 80 04 00 08 */ lwz r0, 8(r4) +/* 802A38F8 002A0858 90 03 00 08 */ stw r0, 8(r3) +/* 802A38FC 002A085C 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802A3900 002A0860 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802A3904 002A0864 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802A3908 002A0868 90 03 00 10 */ stw r0, 0x10(r3) +/* 802A390C 002A086C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802A3910 002A0870 90 03 00 14 */ stw r0, 0x14(r3) +/* 802A3914 002A0874 4E 80 00 20 */ blr + +.global AddOctreeLeafCache__19CAreaCollisionCacheFRCQ220CMetroidAreaCollider16COctreeLeafCache +AddOctreeLeafCache__19CAreaCollisionCacheFRCQ220CMetroidAreaCollider16COctreeLeafCache: +/* 802A3918 002A0878 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A391C 002A087C 7C 08 02 A6 */ mflr r0 +/* 802A3920 002A0880 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A3924 002A0884 80 04 00 04 */ lwz r0, 4(r4) +/* 802A3928 002A0888 2C 00 00 00 */ cmpwi r0, 0 +/* 802A392C 002A088C 41 82 00 54 */ beq lbl_802A3980 +/* 802A3930 002A0890 88 04 09 08 */ lbz r0, 0x908(r4) +/* 802A3934 002A0894 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802A3938 002A0898 41 82 00 14 */ beq lbl_802A394C +/* 802A393C 002A089C 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3940 002A08A0 38 A0 00 01 */ li r5, 1 +/* 802A3944 002A08A4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802A3948 002A08A8 98 03 1B 40 */ stb r0, 0x1b40(r3) +lbl_802A394C: +/* 802A394C 002A08AC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802A3950 002A08B0 2C 00 00 03 */ cmpwi r0, 3 +/* 802A3954 002A08B4 40 80 00 10 */ bge lbl_802A3964 +/* 802A3958 002A08B8 38 63 00 18 */ addi r3, r3, 0x18 +/* 802A395C 002A08BC 48 00 00 35 */ bl sub_802a3990 +/* 802A3960 002A08C0 48 00 00 20 */ b lbl_802A3980 +lbl_802A3964: +/* 802A3964 002A08C4 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3968 002A08C8 38 80 00 01 */ li r4, 1 +/* 802A396C 002A08CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A3970 002A08D0 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A3974 002A08D4 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3978 002A08D8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802A397C 002A08DC 98 03 1B 40 */ stb r0, 0x1b40(r3) +lbl_802A3980: +/* 802A3980 002A08E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A3984 002A08E4 7C 08 03 A6 */ mtlr r0 +/* 802A3988 002A08E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A398C 002A08EC 4E 80 00 20 */ blr + +.global sub_802a3990 +sub_802a3990: +/* 802A3990 002A08F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A3994 002A08F4 7C 08 02 A6 */ mflr r0 +/* 802A3998 002A08F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A399C 002A08FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A39A0 002A0900 7C 7F 1B 78 */ mr r31, r3 +/* 802A39A4 002A0904 80 03 00 00 */ lwz r0, 0(r3) +/* 802A39A8 002A0908 1C 00 09 0C */ mulli r0, r0, 0x90c +/* 802A39AC 002A090C 7C 7F 02 14 */ add r3, r31, r0 +/* 802A39B0 002A0910 38 63 00 04 */ addi r3, r3, 4 +/* 802A39B4 002A0914 48 00 00 25 */ bl sub_802a39d8 +/* 802A39B8 002A0918 80 7F 00 00 */ lwz r3, 0(r31) +/* 802A39BC 002A091C 38 03 00 01 */ addi r0, r3, 1 +/* 802A39C0 002A0920 90 1F 00 00 */ stw r0, 0(r31) +/* 802A39C4 002A0924 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A39C8 002A0928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A39CC 002A092C 7C 08 03 A6 */ mtlr r0 +/* 802A39D0 002A0930 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A39D4 002A0934 4E 80 00 20 */ blr + +.global sub_802a39d8 +sub_802a39d8: +/* 802A39D8 002A0938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A39DC 002A093C 7C 08 02 A6 */ mflr r0 +/* 802A39E0 002A0940 28 03 00 00 */ cmplwi r3, 0 +/* 802A39E4 002A0944 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A39E8 002A0948 41 82 00 08 */ beq lbl_802A39F0 +/* 802A39EC 002A094C 48 00 00 15 */ bl sub_802a3a00 +lbl_802A39F0: +/* 802A39F0 002A0950 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A39F4 002A0954 7C 08 03 A6 */ mtlr r0 +/* 802A39F8 002A0958 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A39FC 002A095C 4E 80 00 20 */ blr + +.global sub_802a3a00 +sub_802a3a00: +/* 802A3A00 002A0960 80 04 00 00 */ lwz r0, 0(r4) +/* 802A3A04 002A0964 38 C4 00 08 */ addi r6, r4, 8 +/* 802A3A08 002A0968 38 A3 00 08 */ addi r5, r3, 8 +/* 802A3A0C 002A096C 90 03 00 00 */ stw r0, 0(r3) +/* 802A3A10 002A0970 80 04 00 04 */ lwz r0, 4(r4) +/* 802A3A14 002A0974 90 03 00 04 */ stw r0, 4(r3) +/* 802A3A18 002A0978 80 03 00 04 */ lwz r0, 4(r3) +/* 802A3A1C 002A097C 7C 09 03 A6 */ mtctr r0 +/* 802A3A20 002A0980 2C 00 00 00 */ cmpwi r0, 0 +/* 802A3A24 002A0984 40 81 00 60 */ ble lbl_802A3A84 +lbl_802A3A28: +/* 802A3A28 002A0988 28 05 00 00 */ cmplwi r5, 0 +/* 802A3A2C 002A098C 41 82 00 4C */ beq lbl_802A3A78 +/* 802A3A30 002A0990 C0 06 00 00 */ lfs f0, 0(r6) +/* 802A3A34 002A0994 D0 05 00 00 */ stfs f0, 0(r5) +/* 802A3A38 002A0998 C0 06 00 04 */ lfs f0, 4(r6) +/* 802A3A3C 002A099C D0 05 00 04 */ stfs f0, 4(r5) +/* 802A3A40 002A09A0 C0 06 00 08 */ lfs f0, 8(r6) +/* 802A3A44 002A09A4 D0 05 00 08 */ stfs f0, 8(r5) +/* 802A3A48 002A09A8 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 802A3A4C 002A09AC D0 05 00 0C */ stfs f0, 0xc(r5) +/* 802A3A50 002A09B0 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 802A3A54 002A09B4 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 802A3A58 002A09B8 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 802A3A5C 002A09BC D0 05 00 14 */ stfs f0, 0x14(r5) +/* 802A3A60 002A09C0 80 06 00 18 */ lwz r0, 0x18(r6) +/* 802A3A64 002A09C4 90 05 00 18 */ stw r0, 0x18(r5) +/* 802A3A68 002A09C8 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 802A3A6C 002A09CC 90 05 00 1C */ stw r0, 0x1c(r5) +/* 802A3A70 002A09D0 80 06 00 20 */ lwz r0, 0x20(r6) +/* 802A3A74 002A09D4 90 05 00 20 */ stw r0, 0x20(r5) +lbl_802A3A78: +/* 802A3A78 002A09D8 38 A5 00 24 */ addi r5, r5, 0x24 +/* 802A3A7C 002A09DC 38 C6 00 24 */ addi r6, r6, 0x24 +/* 802A3A80 002A09E0 42 00 FF A8 */ bdnz lbl_802A3A28 +lbl_802A3A84: +/* 802A3A84 002A09E4 88 04 09 08 */ lbz r0, 0x908(r4) +/* 802A3A88 002A09E8 98 03 09 08 */ stb r0, 0x908(r3) +/* 802A3A8C 002A09EC 4E 80 00 20 */ blr + +.global __ct__19CAreaCollisionCacheFRC6CAABox +__ct__19CAreaCollisionCacheFRC6CAABox: +/* 802A3A90 002A09F0 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A3A94 002A09F4 38 A0 00 00 */ li r5, 0 +/* 802A3A98 002A09F8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A3A9C 002A09FC C0 04 00 04 */ lfs f0, 4(r4) +/* 802A3AA0 002A0A00 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A3AA4 002A0A04 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A3AA8 002A0A08 D0 03 00 08 */ stfs f0, 8(r3) +/* 802A3AAC 002A0A0C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A3AB0 002A0A10 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A3AB4 002A0A14 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3AB8 002A0A18 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A3ABC 002A0A1C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A3AC0 002A0A20 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A3AC4 002A0A24 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802A3AC8 002A0A28 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3ACC 002A0A2C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802A3AD0 002A0A30 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A3AD4 002A0A34 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3AD8 002A0A38 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802A3ADC 002A0A3C 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A3AE0 002A0A40 4E 80 00 20 */ blr + +.global AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node +AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node: +/* 802A3AE4 002A0A44 80 03 00 04 */ lwz r0, 4(r3) +/* 802A3AE8 002A0A48 2C 00 00 40 */ cmpwi r0, 0x40 +/* 802A3AEC 002A0A4C 40 82 00 18 */ bne lbl_802A3B04 +/* 802A3AF0 002A0A50 88 03 09 08 */ lbz r0, 0x908(r3) +/* 802A3AF4 002A0A54 38 80 00 01 */ li r4, 1 +/* 802A3AF8 002A0A58 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A3AFC 002A0A5C 98 03 09 08 */ stb r0, 0x908(r3) +/* 802A3B00 002A0A60 4E 80 00 20 */ blr +lbl_802A3B04: +/* 802A3B04 002A0A64 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802A3B08 002A0A68 7C A3 02 14 */ add r5, r3, r0 +/* 802A3B0C 002A0A6C 34 A5 00 08 */ addic. r5, r5, 8 +/* 802A3B10 002A0A70 41 82 00 4C */ beq lbl_802A3B5C +/* 802A3B14 002A0A74 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A3B18 002A0A78 D0 05 00 00 */ stfs f0, 0(r5) +/* 802A3B1C 002A0A7C C0 04 00 04 */ lfs f0, 4(r4) +/* 802A3B20 002A0A80 D0 05 00 04 */ stfs f0, 4(r5) +/* 802A3B24 002A0A84 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A3B28 002A0A88 D0 05 00 08 */ stfs f0, 8(r5) +/* 802A3B2C 002A0A8C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A3B30 002A0A90 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 802A3B34 002A0A94 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3B38 002A0A98 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 802A3B3C 002A0A9C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A3B40 002A0AA0 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 802A3B44 002A0AA4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802A3B48 002A0AA8 90 05 00 18 */ stw r0, 0x18(r5) +/* 802A3B4C 002A0AAC 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 802A3B50 002A0AB0 90 05 00 1C */ stw r0, 0x1c(r5) +/* 802A3B54 002A0AB4 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802A3B58 002A0AB8 90 05 00 20 */ stw r0, 0x20(r5) +lbl_802A3B5C: +/* 802A3B5C 002A0ABC 80 83 00 04 */ lwz r4, 4(r3) +/* 802A3B60 002A0AC0 38 04 00 01 */ addi r0, r4, 1 +/* 802A3B64 002A0AC4 90 03 00 04 */ stw r0, 4(r3) +/* 802A3B68 002A0AC8 4E 80 00 20 */ blr + +.global __ct__Q220CMetroidAreaCollider16COctreeLeafCacheFRC12CAreaOctTree +__ct__Q220CMetroidAreaCollider16COctreeLeafCacheFRC12CAreaOctTree: +/* 802A3B6C 002A0ACC 90 83 00 00 */ stw r4, 0(r3) +/* 802A3B70 002A0AD0 38 A0 00 00 */ li r5, 0 +/* 802A3B74 002A0AD4 90 A3 00 04 */ stw r5, 4(r3) +/* 802A3B78 002A0AD8 88 03 09 08 */ lbz r0, 0x908(r3) +/* 802A3B7C 002A0ADC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802A3B80 002A0AE0 98 03 09 08 */ stb r0, 0x908(r3) +/* 802A3B84 002A0AE4 4E 80 00 20 */ blr + +.global "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +"MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f": +/* 802A3B88 002A0AE8 94 21 FD C0 */ stwu r1, -0x240(r1) +/* 802A3B8C 002A0AEC 7C 08 02 A6 */ mflr r0 +/* 802A3B90 002A0AF0 90 01 02 44 */ stw r0, 0x244(r1) +/* 802A3B94 002A0AF4 DB E1 02 30 */ stfd f31, 0x230(r1) +/* 802A3B98 002A0AF8 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 +/* 802A3B9C 002A0AFC BE A1 02 04 */ stmw r21, 0x204(r1) +/* 802A3BA0 002A0B00 7C B8 2B 78 */ mr r24, r5 +/* 802A3BA4 002A0B04 7C 76 1B 78 */ mr r22, r3 +/* 802A3BA8 002A0B08 7C 97 23 78 */ mr r23, r4 +/* 802A3BAC 002A0B0C 7C D9 33 78 */ mr r25, r6 +/* 802A3BB0 002A0B10 7C FA 3B 78 */ mr r26, r7 +/* 802A3BB4 002A0B14 7D 1B 43 78 */ mr r27, r8 +/* 802A3BB8 002A0B18 7D 3C 4B 78 */ mr r28, r9 +/* 802A3BBC 002A0B1C 3B F8 00 04 */ addi r31, r24, 4 +/* 802A3BC0 002A0B20 3B C0 00 00 */ li r30, 0 +/* 802A3BC4 002A0B24 3B A0 00 00 */ li r29, 0 +/* 802A3BC8 002A0B28 48 00 04 00 */ b lbl_802A3FC8 +lbl_802A3BCC: +/* 802A3BCC 002A0B2C 7E C4 B3 78 */ mr r4, r22 +/* 802A3BD0 002A0B30 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802A3BD4 002A0B34 48 07 09 B1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3BD8 002A0B38 7E E4 BB 78 */ mr r4, r23 +/* 802A3BDC 002A0B3C 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 802A3BE0 002A0B40 48 07 09 A5 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3BE4 002A0B44 38 7F 00 70 */ addi r3, r31, 0x70 +/* 802A3BE8 002A0B48 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 802A3BEC 002A0B4C 48 07 08 81 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3BF0 002A0B50 C8 1F 00 88 */ lfd f0, 0x88(r31) +/* 802A3BF4 002A0B54 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3BF8 002A0B58 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3BFC 002A0B5C 7C 00 00 26 */ mfcr r0 +/* 802A3C00 002A0B60 38 7F 00 70 */ addi r3, r31, 0x70 +/* 802A3C04 002A0B64 54 15 1F FE */ rlwinm r21, r0, 3, 0x1f, 0x1f +/* 802A3C08 002A0B68 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3C0C 002A0B6C 48 07 08 61 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3C10 002A0B70 C8 1F 00 88 */ lfd f0, 0x88(r31) +/* 802A3C14 002A0B74 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3C18 002A0B78 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3C1C 002A0B7C 7C 00 00 26 */ mfcr r0 +/* 802A3C20 002A0B80 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f +/* 802A3C24 002A0B84 7C 00 A8 40 */ cmplw r0, r21 +/* 802A3C28 002A0B88 41 82 03 98 */ beq lbl_802A3FC0 +/* 802A3C2C 002A0B8C 38 61 01 58 */ addi r3, r1, 0x158 +/* 802A3C30 002A0B90 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3C34 002A0B94 38 A1 01 D0 */ addi r5, r1, 0x1d0 +/* 802A3C38 002A0B98 48 07 07 5D */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A3C3C 002A0B9C C8 41 01 58 */ lfd f2, 0x158(r1) +/* 802A3C40 002A0BA0 38 61 01 40 */ addi r3, r1, 0x140 +/* 802A3C44 002A0BA4 C8 21 01 60 */ lfd f1, 0x160(r1) +/* 802A3C48 002A0BA8 38 9F 00 58 */ addi r4, r31, 0x58 +/* 802A3C4C 002A0BAC C8 01 01 68 */ lfd f0, 0x168(r1) +/* 802A3C50 002A0BB0 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 802A3C54 002A0BB4 D8 41 01 B8 */ stfd f2, 0x1b8(r1) +/* 802A3C58 002A0BB8 D8 21 01 C0 */ stfd f1, 0x1c0(r1) +/* 802A3C5C 002A0BBC D8 01 01 C8 */ stfd f0, 0x1c8(r1) +/* 802A3C60 002A0BC0 48 07 07 BD */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3C64 002A0BC4 C8 41 01 40 */ lfd f2, 0x140(r1) +/* 802A3C68 002A0BC8 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802A3C6C 002A0BCC C8 21 01 48 */ lfd f1, 0x148(r1) +/* 802A3C70 002A0BD0 C8 01 01 50 */ lfd f0, 0x150(r1) +/* 802A3C74 002A0BD4 D8 41 01 A0 */ stfd f2, 0x1a0(r1) +/* 802A3C78 002A0BD8 D8 21 01 A8 */ stfd f1, 0x1a8(r1) +/* 802A3C7C 002A0BDC D8 01 01 B0 */ stfd f0, 0x1b0(r1) +/* 802A3C80 002A0BE0 48 07 08 A1 */ bl MagSquared__9CVector3dCFv +/* 802A3C84 002A0BE4 C8 02 C1 50 */ lfd f0, lbl_805ADE70@sda21(r2) +/* 802A3C88 002A0BE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3C8C 002A0BEC 41 80 03 34 */ blt lbl_802A3FC0 +/* 802A3C90 002A0BF0 38 61 01 28 */ addi r3, r1, 0x128 +/* 802A3C94 002A0BF4 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 802A3C98 002A0BF8 48 07 08 25 */ bl AsNormalized__9CVector3dCFv +/* 802A3C9C 002A0BFC C8 41 01 28 */ lfd f2, 0x128(r1) +/* 802A3CA0 002A0C00 7F 24 CB 78 */ mr r4, r25 +/* 802A3CA4 002A0C04 C8 21 01 30 */ lfd f1, 0x130(r1) +/* 802A3CA8 002A0C08 38 61 01 10 */ addi r3, r1, 0x110 +/* 802A3CAC 002A0C0C C8 01 01 38 */ lfd f0, 0x138(r1) +/* 802A3CB0 002A0C10 D8 41 01 88 */ stfd f2, 0x188(r1) +/* 802A3CB4 002A0C14 D8 21 01 90 */ stfd f1, 0x190(r1) +/* 802A3CB8 002A0C18 D8 01 01 98 */ stfd f0, 0x198(r1) +/* 802A3CBC 002A0C1C 48 07 08 C9 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3CC0 002A0C20 7C 64 1B 78 */ mr r4, r3 +/* 802A3CC4 002A0C24 38 61 01 88 */ addi r3, r1, 0x188 +/* 802A3CC8 002A0C28 48 07 07 A5 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3CCC 002A0C2C C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A3CD0 002A0C30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3CD4 002A0C34 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3CD8 002A0C38 40 82 00 C0 */ bne lbl_802A3D98 +/* 802A3CDC 002A0C3C 7E C4 B3 78 */ mr r4, r22 +/* 802A3CE0 002A0C40 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802A3CE4 002A0C44 48 07 08 A1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3CE8 002A0C48 C8 41 00 F8 */ lfd f2, 0xf8(r1) +/* 802A3CEC 002A0C4C 7E E4 BB 78 */ mr r4, r23 +/* 802A3CF0 002A0C50 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802A3CF4 002A0C54 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802A3CF8 002A0C58 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802A3CFC 002A0C5C D8 41 01 D0 */ stfd f2, 0x1d0(r1) +/* 802A3D00 002A0C60 D8 21 01 D8 */ stfd f1, 0x1d8(r1) +/* 802A3D04 002A0C64 D8 01 01 E0 */ stfd f0, 0x1e0(r1) +/* 802A3D08 002A0C68 48 07 08 7D */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3D0C 002A0C6C C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 802A3D10 002A0C70 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802A3D14 002A0C74 C8 21 00 E8 */ lfd f1, 0xe8(r1) +/* 802A3D18 002A0C78 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3D1C 002A0C7C C8 01 00 F0 */ lfd f0, 0xf0(r1) +/* 802A3D20 002A0C80 38 A1 01 D0 */ addi r5, r1, 0x1d0 +/* 802A3D24 002A0C84 D8 41 01 E8 */ stfd f2, 0x1e8(r1) +/* 802A3D28 002A0C88 D8 21 01 F0 */ stfd f1, 0x1f0(r1) +/* 802A3D2C 002A0C8C D8 01 01 F8 */ stfd f0, 0x1f8(r1) +/* 802A3D30 002A0C90 48 07 06 65 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A3D34 002A0C94 C8 41 00 C8 */ lfd f2, 0xc8(r1) +/* 802A3D38 002A0C98 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802A3D3C 002A0C9C C8 21 00 D0 */ lfd f1, 0xd0(r1) +/* 802A3D40 002A0CA0 38 9F 00 58 */ addi r4, r31, 0x58 +/* 802A3D44 002A0CA4 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802A3D48 002A0CA8 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 802A3D4C 002A0CAC D8 41 01 B8 */ stfd f2, 0x1b8(r1) +/* 802A3D50 002A0CB0 D8 21 01 C0 */ stfd f1, 0x1c0(r1) +/* 802A3D54 002A0CB4 D8 01 01 C8 */ stfd f0, 0x1c8(r1) +/* 802A3D58 002A0CB8 48 07 06 C5 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3D5C 002A0CBC C8 41 00 B0 */ lfd f2, 0xb0(r1) +/* 802A3D60 002A0CC0 38 61 00 98 */ addi r3, r1, 0x98 +/* 802A3D64 002A0CC4 C8 21 00 B8 */ lfd f1, 0xb8(r1) +/* 802A3D68 002A0CC8 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 802A3D6C 002A0CCC C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 802A3D70 002A0CD0 D8 41 01 A0 */ stfd f2, 0x1a0(r1) +/* 802A3D74 002A0CD4 D8 21 01 A8 */ stfd f1, 0x1a8(r1) +/* 802A3D78 002A0CD8 D8 01 01 B0 */ stfd f0, 0x1b0(r1) +/* 802A3D7C 002A0CDC 48 07 07 41 */ bl AsNormalized__9CVector3dCFv +/* 802A3D80 002A0CE0 C8 41 00 98 */ lfd f2, 0x98(r1) +/* 802A3D84 002A0CE4 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802A3D88 002A0CE8 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 802A3D8C 002A0CEC D8 41 01 88 */ stfd f2, 0x188(r1) +/* 802A3D90 002A0CF0 D8 21 01 90 */ stfd f1, 0x190(r1) +/* 802A3D94 002A0CF4 D8 01 01 98 */ stfd f0, 0x198(r1) +lbl_802A3D98: +/* 802A3D98 002A0CF8 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802A3D9C 002A0CFC 38 9F 00 70 */ addi r4, r31, 0x70 +/* 802A3DA0 002A0D00 48 07 06 CD */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3DA4 002A0D04 FF E0 08 90 */ fmr f31, f1 +/* 802A3DA8 002A0D08 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802A3DAC 002A0D0C 38 9F 00 70 */ addi r4, r31, 0x70 +/* 802A3DB0 002A0D10 48 07 06 BD */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3DB4 002A0D14 C8 1F 00 88 */ lfd f0, 0x88(r31) +/* 802A3DB8 002A0D18 38 61 00 68 */ addi r3, r1, 0x68 +/* 802A3DBC 002A0D1C 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 802A3DC0 002A0D20 FC 01 00 28 */ fsub f0, f1, f0 +/* 802A3DC4 002A0D24 FC 00 00 50 */ fneg f0, f0 +/* 802A3DC8 002A0D28 FC 20 F8 24 */ fdiv f1, f0, f31 +/* 802A3DCC 002A0D2C 48 07 05 8D */ bl __ml__FdRC9CVector3d +/* 802A3DD0 002A0D30 38 61 00 80 */ addi r3, r1, 0x80 +/* 802A3DD4 002A0D34 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3DD8 002A0D38 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A3DDC 002A0D3C 48 07 05 FD */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802A3DE0 002A0D40 C8 3F 00 78 */ lfd f1, 0x78(r31) +/* 802A3DE4 002A0D44 C8 1F 00 70 */ lfd f0, 0x70(r31) +/* 802A3DE8 002A0D48 FC 60 0A 10 */ fabs f3, f1 +/* 802A3DEC 002A0D4C C8 41 00 80 */ lfd f2, 0x80(r1) +/* 802A3DF0 002A0D50 FC 80 02 10 */ fabs f4, f0 +/* 802A3DF4 002A0D54 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 802A3DF8 002A0D58 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 802A3DFC 002A0D5C D8 41 01 70 */ stfd f2, 0x170(r1) +/* 802A3E00 002A0D60 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802A3E04 002A0D64 D8 21 01 78 */ stfd f1, 0x178(r1) +/* 802A3E08 002A0D68 D8 01 01 80 */ stfd f0, 0x180(r1) +/* 802A3E0C 002A0D6C 40 81 00 0C */ ble lbl_802A3E18 +/* 802A3E10 002A0D70 38 80 00 00 */ li r4, 0 +/* 802A3E14 002A0D74 48 00 00 08 */ b lbl_802A3E1C +lbl_802A3E18: +/* 802A3E18 002A0D78 38 80 00 01 */ li r4, 1 +lbl_802A3E1C: +/* 802A3E1C 002A0D7C 54 80 18 38 */ slwi r0, r4, 3 +/* 802A3E20 002A0D80 C8 1F 00 80 */ lfd f0, 0x80(r31) +/* 802A3E24 002A0D84 7C 7F 02 14 */ add r3, r31, r0 +/* 802A3E28 002A0D88 C8 23 00 70 */ lfd f1, 0x70(r3) +/* 802A3E2C 002A0D8C FC 40 02 10 */ fabs f2, f0 +/* 802A3E30 002A0D90 FC 00 0A 10 */ fabs f0, f1 +/* 802A3E34 002A0D94 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802A3E38 002A0D98 40 80 00 08 */ bge lbl_802A3E40 +/* 802A3E3C 002A0D9C 38 80 00 02 */ li r4, 2 +lbl_802A3E40: +/* 802A3E40 002A0DA0 2C 04 00 00 */ cmpwi r4, 0 +/* 802A3E44 002A0DA4 40 82 00 10 */ bne lbl_802A3E54 +/* 802A3E48 002A0DA8 38 80 00 01 */ li r4, 1 +/* 802A3E4C 002A0DAC 39 00 00 02 */ li r8, 2 +/* 802A3E50 002A0DB0 48 00 00 20 */ b lbl_802A3E70 +lbl_802A3E54: +/* 802A3E54 002A0DB4 2C 04 00 01 */ cmpwi r4, 1 +/* 802A3E58 002A0DB8 40 82 00 10 */ bne lbl_802A3E68 +/* 802A3E5C 002A0DBC 38 80 00 00 */ li r4, 0 +/* 802A3E60 002A0DC0 39 00 00 02 */ li r8, 2 +/* 802A3E64 002A0DC4 48 00 00 0C */ b lbl_802A3E70 +lbl_802A3E68: +/* 802A3E68 002A0DC8 38 80 00 00 */ li r4, 0 +/* 802A3E6C 002A0DCC 39 00 00 01 */ li r8, 1 +lbl_802A3E70: +/* 802A3E70 002A0DD0 54 80 18 38 */ slwi r0, r4, 3 +/* 802A3E74 002A0DD4 38 61 01 70 */ addi r3, r1, 0x170 +/* 802A3E78 002A0DD8 7C FF 02 14 */ add r7, r31, r0 +/* 802A3E7C 002A0DDC 55 06 18 38 */ slwi r6, r8, 3 +/* 802A3E80 002A0DE0 7C 23 04 AE */ lfdx f1, r3, r0 +/* 802A3E84 002A0DE4 7C BF 32 14 */ add r5, r31, r6 +/* 802A3E88 002A0DE8 C8 07 00 28 */ lfd f0, 0x28(r7) +/* 802A3E8C 002A0DEC 54 84 10 3A */ slwi r4, r4, 2 +/* 802A3E90 002A0DF0 55 00 10 3A */ slwi r0, r8, 2 +/* 802A3E94 002A0DF4 C8 85 00 58 */ lfd f4, 0x58(r5) +/* 802A3E98 002A0DF8 FC 61 00 28 */ fsub f3, f1, f0 +/* 802A3E9C 002A0DFC 7C 19 24 2E */ lfsx f0, r25, r4 +/* 802A3EA0 002A0E00 7C C3 34 AE */ lfdx f6, r3, r6 +/* 802A3EA4 002A0E04 C8 A5 00 28 */ lfd f5, 0x28(r5) +/* 802A3EA8 002A0E08 FC 24 00 32 */ fmul f1, f4, f0 +/* 802A3EAC 002A0E0C C8 E7 00 58 */ lfd f7, 0x58(r7) +/* 802A3EB0 002A0E10 7C 59 04 2E */ lfsx f2, r25, r0 +/* 802A3EB4 002A0E14 FC 64 00 F2 */ fmul f3, f4, f3 +/* 802A3EB8 002A0E18 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A3EBC 002A0E1C FC 86 28 28 */ fsub f4, f6, f5 +/* 802A3EC0 002A0E20 FC 27 08 B8 */ fmsub f1, f7, f2, f1 +/* 802A3EC4 002A0E24 FC 47 19 38 */ fmsub f2, f7, f4, f3 +/* 802A3EC8 002A0E28 FF E2 08 24 */ fdiv f31, f2, f1 +/* 802A3ECC 002A0E2C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A3ED0 002A0E30 41 80 00 F0 */ blt lbl_802A3FC0 +/* 802A3ED4 002A0E34 C8 1A 00 00 */ lfd f0, 0(r26) +/* 802A3ED8 002A0E38 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A3EDC 002A0E3C 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3EE0 002A0E40 41 82 00 E0 */ beq lbl_802A3FC0 +/* 802A3EE4 002A0E44 7F 24 CB 78 */ mr r4, r25 +/* 802A3EE8 002A0E48 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A3EEC 002A0E4C 48 07 06 99 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3EF0 002A0E50 FC 20 F8 90 */ fmr f1, f31 +/* 802A3EF4 002A0E54 7C 64 1B 78 */ mr r4, r3 +/* 802A3EF8 002A0E58 38 61 00 38 */ addi r3, r1, 0x38 +/* 802A3EFC 002A0E5C 48 07 04 5D */ bl __ml__FdRC9CVector3d +/* 802A3F00 002A0E60 38 61 00 50 */ addi r3, r1, 0x50 +/* 802A3F04 002A0E64 38 81 01 70 */ addi r4, r1, 0x170 +/* 802A3F08 002A0E68 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A3F0C 002A0E6C 48 07 04 89 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A3F10 002A0E70 C8 41 00 50 */ lfd f2, 0x50(r1) +/* 802A3F14 002A0E74 C8 3F 00 28 */ lfd f1, 0x28(r31) +/* 802A3F18 002A0E78 C8 1F 00 40 */ lfd f0, 0x40(r31) +/* 802A3F1C 002A0E7C FC 21 10 28 */ fsub f1, f1, f2 +/* 802A3F20 002A0E80 C8 A1 00 58 */ lfd f5, 0x58(r1) +/* 802A3F24 002A0E84 FC 00 10 28 */ fsub f0, f0, f2 +/* 802A3F28 002A0E88 C8 7F 00 30 */ lfd f3, 0x30(r31) +/* 802A3F2C 002A0E8C C8 5F 00 48 */ lfd f2, 0x48(r31) +/* 802A3F30 002A0E90 FC 63 28 28 */ fsub f3, f3, f5 +/* 802A3F34 002A0E94 FC 01 00 32 */ fmul f0, f1, f0 +/* 802A3F38 002A0E98 C8 C1 00 60 */ lfd f6, 0x60(r1) +/* 802A3F3C 002A0E9C C8 9F 00 38 */ lfd f4, 0x38(r31) +/* 802A3F40 002A0EA0 FC 22 28 28 */ fsub f1, f2, f5 +/* 802A3F44 002A0EA4 C8 5F 00 50 */ lfd f2, 0x50(r31) +/* 802A3F48 002A0EA8 FC 84 30 28 */ fsub f4, f4, f6 +/* 802A3F4C 002A0EAC FC 23 00 7A */ fmadd f1, f3, f1, f0 +/* 802A3F50 002A0EB0 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A3F54 002A0EB4 FC 42 30 28 */ fsub f2, f2, f6 +/* 802A3F58 002A0EB8 FC 24 08 BA */ fmadd f1, f4, f2, f1 +/* 802A3F5C 002A0EBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3F60 002A0EC0 40 80 00 60 */ bge lbl_802A3FC0 +/* 802A3F64 002A0EC4 C8 1A 00 00 */ lfd f0, 0(r26) +/* 802A3F68 002A0EC8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A3F6C 002A0ECC 40 80 00 54 */ bge lbl_802A3FC0 +/* 802A3F70 002A0ED0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A3F74 002A0ED4 38 81 01 88 */ addi r4, r1, 0x188 +/* 802A3F78 002A0ED8 48 07 05 1D */ bl AsCVector3f__9CVector3dCFv +/* 802A3F7C 002A0EDC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A3F80 002A0EE0 38 61 00 08 */ addi r3, r1, 8 +/* 802A3F84 002A0EE4 38 81 01 70 */ addi r4, r1, 0x170 +/* 802A3F88 002A0EE8 D0 1B 00 00 */ stfs f0, 0(r27) +/* 802A3F8C 002A0EEC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802A3F90 002A0EF0 D0 1B 00 04 */ stfs f0, 4(r27) +/* 802A3F94 002A0EF4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A3F98 002A0EF8 D0 1B 00 08 */ stfs f0, 8(r27) +/* 802A3F9C 002A0EFC DB FA 00 00 */ stfd f31, 0(r26) +/* 802A3FA0 002A0F00 48 07 04 F5 */ bl AsCVector3f__9CVector3dCFv +/* 802A3FA4 002A0F04 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A3FA8 002A0F08 3B C0 00 01 */ li r30, 1 +/* 802A3FAC 002A0F0C D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A3FB0 002A0F10 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A3FB4 002A0F14 D0 1C 00 04 */ stfs f0, 4(r28) +/* 802A3FB8 002A0F18 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A3FBC 002A0F1C D0 1C 00 08 */ stfs f0, 8(r28) +lbl_802A3FC0: +/* 802A3FC0 002A0F20 3B FF 00 90 */ addi r31, r31, 0x90 +/* 802A3FC4 002A0F24 3B BD 00 01 */ addi r29, r29, 1 +lbl_802A3FC8: +/* 802A3FC8 002A0F28 80 18 00 00 */ lwz r0, 0(r24) +/* 802A3FCC 002A0F2C 7C 1D 00 00 */ cmpw r29, r0 +/* 802A3FD0 002A0F30 41 80 FB FC */ blt lbl_802A3BCC +/* 802A3FD4 002A0F34 7F C3 F3 78 */ mr r3, r30 +/* 802A3FD8 002A0F38 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 +/* 802A3FDC 002A0F3C CB E1 02 30 */ lfd f31, 0x230(r1) +/* 802A3FE0 002A0F40 BA A1 02 04 */ lmw r21, 0x204(r1) +/* 802A3FE4 002A0F44 80 01 02 44 */ lwz r0, 0x244(r1) +/* 802A3FE8 002A0F48 7C 08 03 A6 */ mtlr r0 +/* 802A3FEC 002A0F4C 38 21 02 40 */ addi r1, r1, 0x240 +/* 802A3FF0 002A0F50 4E 80 00 20 */ blr + +.global "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +"MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f": +/* 802A3FF4 002A0F54 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802A3FF8 002A0F58 7C 08 02 A6 */ mflr r0 +/* 802A3FFC 002A0F5C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A4000 002A0F60 BE C1 00 38 */ stmw r22, 0x38(r1) +/* 802A4004 002A0F64 7C B8 2B 78 */ mr r24, r5 +/* 802A4008 002A0F68 7C 76 1B 78 */ mr r22, r3 +/* 802A400C 002A0F6C 7C 97 23 78 */ mr r23, r4 +/* 802A4010 002A0F70 7C D9 33 78 */ mr r25, r6 +/* 802A4014 002A0F74 7C FA 3B 78 */ mr r26, r7 +/* 802A4018 002A0F78 7D 1B 43 78 */ mr r27, r8 +/* 802A401C 002A0F7C 7D 3C 4B 78 */ mr r28, r9 +/* 802A4020 002A0F80 3B F8 00 04 */ addi r31, r24, 4 +/* 802A4024 002A0F84 3B C0 00 00 */ li r30, 0 +/* 802A4028 002A0F88 3B A0 00 00 */ li r29, 0 +/* 802A402C 002A0F8C 48 00 00 BC */ b lbl_802A40E8 +lbl_802A4030: +/* 802A4030 002A0F90 80 BF 00 00 */ lwz r5, 0(r31) +/* 802A4034 002A0F94 7E E4 BB 78 */ mr r4, r23 +/* 802A4038 002A0F98 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A403C 002A0F9C 48 09 35 75 */ bl GetPoint__6CAABoxCFi +/* 802A4040 002A0FA0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A4044 002A0FA4 7F 24 CB 78 */ mr r4, r25 +/* 802A4048 002A0FA8 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A404C 002A0FAC 7E C5 B3 78 */ mr r5, r22 +/* 802A4050 002A0FB0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A4054 002A0FB4 7F 46 D3 78 */ mr r6, r26 +/* 802A4058 002A0FB8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802A405C 002A0FBC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A4060 002A0FC0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802A4064 002A0FC4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802A4068 002A0FC8 48 02 E4 8D */ bl RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd +/* 802A406C 002A0FCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4070 002A0FD0 41 82 00 70 */ beq lbl_802A40E0 +/* 802A4074 002A0FD4 C8 DA 00 00 */ lfd f6, 0(r26) +/* 802A4078 002A0FD8 7E C4 B3 78 */ mr r4, r22 +/* 802A407C 002A0FDC C0 19 00 00 */ lfs f0, 0(r25) +/* 802A4080 002A0FE0 38 61 00 08 */ addi r3, r1, 8 +/* 802A4084 002A0FE4 FC C0 30 18 */ frsp f6, f6 +/* 802A4088 002A0FE8 C0 79 00 04 */ lfs f3, 4(r25) +/* 802A408C 002A0FEC C0 59 00 08 */ lfs f2, 8(r25) +/* 802A4090 002A0FF0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802A4094 002A0FF4 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802A4098 002A0FF8 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802A409C 002A0FFC EC 86 00 F2 */ fmuls f4, f6, f3 +/* 802A40A0 002A1000 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802A40A4 002A1004 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 802A40A8 002A1008 EC 01 00 2A */ fadds f0, f1, f0 +/* 802A40AC 002A100C EC 85 20 2A */ fadds f4, f5, f4 +/* 802A40B0 002A1010 EC 23 10 2A */ fadds f1, f3, f2 +/* 802A40B4 002A1014 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A40B8 002A1018 D0 9C 00 04 */ stfs f4, 4(r28) +/* 802A40BC 002A101C D0 3C 00 08 */ stfs f1, 8(r28) +/* 802A40C0 002A1020 4B FF E5 E5 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802A40C4 002A1024 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A40C8 002A1028 3B C0 00 01 */ li r30, 1 +/* 802A40CC 002A102C D0 1B 00 00 */ stfs f0, 0(r27) +/* 802A40D0 002A1030 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A40D4 002A1034 D0 1B 00 04 */ stfs f0, 4(r27) +/* 802A40D8 002A1038 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A40DC 002A103C D0 1B 00 08 */ stfs f0, 8(r27) +lbl_802A40E0: +/* 802A40E0 002A1040 3B FF 00 04 */ addi r31, r31, 4 +/* 802A40E4 002A1044 3B BD 00 01 */ addi r29, r29, 1 +lbl_802A40E8: +/* 802A40E8 002A1048 80 18 00 00 */ lwz r0, 0(r24) +/* 802A40EC 002A104C 7C 1D 00 00 */ cmpw r29, r0 +/* 802A40F0 002A1050 41 80 FF 40 */ blt lbl_802A4030 +/* 802A40F4 002A1054 7F C3 F3 78 */ mr r3, r30 +/* 802A40F8 002A1058 BA C1 00 38 */ lmw r22, 0x38(r1) +/* 802A40FC 002A105C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802A4100 002A1060 7C 08 03 A6 */ mtlr r0 +/* 802A4104 002A1064 38 21 00 60 */ addi r1, r1, 0x60 +/* 802A4108 002A1068 4E 80 00 20 */ blr + +.global MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f +MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f: +/* 802A410C 002A106C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802A4110 002A1070 7C 08 02 A6 */ mflr r0 +/* 802A4114 002A1074 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A4118 002A1078 BF 41 00 68 */ stmw r26, 0x68(r1) +/* 802A411C 002A107C 7C 7A 1B 78 */ mr r26, r3 +/* 802A4120 002A1080 7C 9B 23 78 */ mr r27, r4 +/* 802A4124 002A1084 7C DC 33 78 */ mr r28, r6 +/* 802A4128 002A1088 7C FD 3B 78 */ mr r29, r7 +/* 802A412C 002A108C 7D 1E 43 78 */ mr r30, r8 +/* 802A4130 002A1090 7F 44 D3 78 */ mr r4, r26 +/* 802A4134 002A1094 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A4138 002A1098 3B E0 00 00 */ li r31, 0 +/* 802A413C 002A109C C0 05 00 08 */ lfs f0, 8(r5) +/* 802A4140 002A10A0 C0 45 00 04 */ lfs f2, 4(r5) +/* 802A4144 002A10A4 FC 60 00 50 */ fneg f3, f0 +/* 802A4148 002A10A8 C0 05 00 00 */ lfs f0, 0(r5) +/* 802A414C 002A10AC C8 26 00 00 */ lfd f1, 0(r6) +/* 802A4150 002A10B0 FC 40 10 50 */ fneg f2, f2 +/* 802A4154 002A10B4 FC 00 00 50 */ fneg f0, f0 +/* 802A4158 002A10B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A415C 002A10BC FC 20 08 18 */ frsp f1, f1 +/* 802A4160 002A10C0 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802A4164 002A10C4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802A4168 002A10C8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802A416C 002A10CC 48 03 1F 01 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 802A4170 002A10D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A4174 002A10D4 7F 64 DB 78 */ mr r4, r27 +/* 802A4178 002A10D8 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 802A417C 002A10DC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A4180 002A10E0 C0 47 00 00 */ lfs f2, 0(r7) +/* 802A4184 002A10E4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802A4188 002A10E8 C0 27 00 04 */ lfs f1, 4(r7) +/* 802A418C 002A10EC 38 C1 00 08 */ addi r6, r1, 8 +/* 802A4190 002A10F0 C0 07 00 08 */ lfs f0, 8(r7) +/* 802A4194 002A10F4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802A4198 002A10F8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802A419C 002A10FC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A41A0 002A1100 48 02 EF 41 */ bl RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd +/* 802A41A4 002A1104 2C 03 00 02 */ cmpwi r3, 2 +/* 802A41A8 002A1108 40 82 00 5C */ bne lbl_802A4204 +/* 802A41AC 002A110C C8 01 00 08 */ lfd f0, 8(r1) +/* 802A41B0 002A1110 C8 3C 00 00 */ lfd f1, 0(r28) +/* 802A41B4 002A1114 FC 60 00 72 */ fmul f3, f0, f1 +/* 802A41B8 002A1118 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802A41BC 002A111C 40 80 00 48 */ bge lbl_802A4204 +/* 802A41C0 002A1120 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A41C4 002A1124 3B E0 00 01 */ li r31, 1 +/* 802A41C8 002A1128 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802A41CC 002A112C FC 00 00 50 */ fneg f0, f0 +/* 802A41D0 002A1130 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802A41D4 002A1134 FC 20 08 50 */ fneg f1, f1 +/* 802A41D8 002A1138 FC 40 10 50 */ fneg f2, f2 +/* 802A41DC 002A113C D0 1D 00 00 */ stfs f0, 0(r29) +/* 802A41E0 002A1140 D0 3D 00 04 */ stfs f1, 4(r29) +/* 802A41E4 002A1144 D0 5D 00 08 */ stfs f2, 8(r29) +/* 802A41E8 002A1148 D8 7C 00 00 */ stfd f3, 0(r28) +/* 802A41EC 002A114C C0 1A 00 00 */ lfs f0, 0(r26) +/* 802A41F0 002A1150 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A41F4 002A1154 C0 1A 00 04 */ lfs f0, 4(r26) +/* 802A41F8 002A1158 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A41FC 002A115C C0 1A 00 08 */ lfs f0, 8(r26) +/* 802A4200 002A1160 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_802A4204: +/* 802A4204 002A1164 7F E3 FB 78 */ mr r3, r31 +/* 802A4208 002A1168 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 802A420C 002A116C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802A4210 002A1170 7C 08 03 A6 */ mtlr r0 +/* 802A4214 002A1174 38 21 00 80 */ addi r1, r1, 0x80 +/* 802A4218 002A1178 4E 80 00 20 */ blr + +.global MovingAABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd +MovingAABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd: +/* 802A421C 002A117C 94 21 F6 30 */ stwu r1, -0x9d0(r1) +/* 802A4220 002A1180 7C 08 02 A6 */ mflr r0 +/* 802A4224 002A1184 90 01 09 D4 */ stw r0, 0x9d4(r1) +/* 802A4228 002A1188 DB E1 09 C0 */ stfd f31, 0x9c0(r1) +/* 802A422C 002A118C F3 E1 09 C8 */ psq_st f31, -1592(r1), 0, qr0 +/* 802A4230 002A1190 DB C1 09 B0 */ stfd f30, 0x9b0(r1) +/* 802A4234 002A1194 F3 C1 09 B8 */ psq_st f30, -1608(r1), 0, qr0 +/* 802A4238 002A1198 DB A1 09 A0 */ stfd f29, 0x9a0(r1) +/* 802A423C 002A119C F3 A1 09 A8 */ psq_st f29, -1624(r1), 0, qr0 +/* 802A4240 002A11A0 BD C1 09 58 */ stmw r14, 0x958(r1) +/* 802A4244 002A11A4 FF E0 08 90 */ fmr f31, f1 +/* 802A4248 002A11A8 90 61 00 08 */ stw r3, 8(r1) +/* 802A424C 002A11AC 7D 33 4B 78 */ mr r19, r9 +/* 802A4250 002A11B0 7C 8F 23 78 */ mr r15, r4 +/* 802A4254 002A11B4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802A4258 002A11B8 7C D0 33 78 */ mr r16, r6 +/* 802A425C 002A11BC DB E9 00 00 */ stfd f31, 0(r9) +/* 802A4260 002A11C0 7C F1 3B 78 */ mr r17, r7 +/* 802A4264 002A11C4 7D 12 43 78 */ mr r18, r8 +/* 802A4268 002A11C8 48 00 2D D9 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A426C 002A11CC C0 51 00 00 */ lfs f2, 0(r17) +/* 802A4270 002A11D0 7D E4 7B 78 */ mr r4, r15 +/* 802A4274 002A11D4 C0 31 00 04 */ lfs f1, 4(r17) +/* 802A4278 002A11D8 7E 25 8B 78 */ mr r5, r17 +/* 802A427C 002A11DC C0 11 00 08 */ lfs f0, 8(r17) +/* 802A4280 002A11E0 EF BF 00 B2 */ fmuls f29, f31, f2 +/* 802A4284 002A11E4 EF DF 00 72 */ fmuls f30, f31, f1 +/* 802A4288 002A11E8 38 61 02 40 */ addi r3, r1, 0x240 +/* 802A428C 002A11EC EF FF 00 32 */ fmuls f31, f31, f0 +/* 802A4290 002A11F0 4B FF EE 0D */ bl __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f +/* 802A4294 002A11F4 C0 4F 00 04 */ lfs f2, 4(r15) +/* 802A4298 002A11F8 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A429C 002A11FC C0 2F 00 08 */ lfs f1, 8(r15) +/* 802A42A0 002A1200 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802A42A4 002A1204 C0 0F 00 00 */ lfs f0, 0(r15) +/* 802A42A8 002A1208 ED 02 F0 2A */ fadds f8, f2, f30 +/* 802A42AC 002A120C EC E1 F8 2A */ fadds f7, f1, f31 +/* 802A42B0 002A1210 C0 C1 09 28 */ lfs f6, 0x928(r1) +/* 802A42B4 002A1214 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802A42B8 002A1218 C0 A1 09 2C */ lfs f5, 0x92c(r1) +/* 802A42BC 002A121C C0 81 09 30 */ lfs f4, 0x930(r1) +/* 802A42C0 002A1220 C0 61 09 34 */ lfs f3, 0x934(r1) +/* 802A42C4 002A1224 C0 41 09 38 */ lfs f2, 0x938(r1) +/* 802A42C8 002A1228 C0 21 09 3C */ lfs f1, 0x93c(r1) +/* 802A42CC 002A122C D0 C1 00 DC */ stfs f6, 0xdc(r1) +/* 802A42D0 002A1230 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802A42D4 002A1234 D0 81 00 E4 */ stfs f4, 0xe4(r1) +/* 802A42D8 002A1238 D0 61 00 E8 */ stfs f3, 0xe8(r1) +/* 802A42DC 002A123C D0 41 00 EC */ stfs f2, 0xec(r1) +/* 802A42E0 002A1240 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 802A42E4 002A1244 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802A42E8 002A1248 D1 01 00 A4 */ stfs f8, 0xa4(r1) +/* 802A42EC 002A124C D0 E1 00 A8 */ stfs f7, 0xa8(r1) +/* 802A42F0 002A1250 48 09 38 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A42F4 002A1254 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A42F8 002A1258 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A42FC 002A125C C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4300 002A1260 38 81 00 94 */ addi r4, r1, 0x94 +/* 802A4304 002A1264 C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A4308 002A1268 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A430C 002A126C EC 21 F8 2A */ fadds f1, f1, f31 +/* 802A4310 002A1270 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802A4314 002A1274 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 802A4318 002A1278 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802A431C 002A127C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802A4320 002A1280 48 09 37 E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4324 002A1284 38 61 00 88 */ addi r3, r1, 0x88 +/* 802A4328 002A1288 38 81 00 DC */ addi r4, r1, 0xdc +/* 802A432C 002A128C 48 09 32 E1 */ bl GetCenterPoint__6CAABoxCFv +/* 802A4330 002A1290 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 802A4334 002A1294 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A4338 002A1298 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802A433C 002A129C 3B 00 00 00 */ li r24, 0 +/* 802A4340 002A12A0 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 802A4344 002A12A4 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802A4348 002A12A8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A434C 002A12AC C4 E3 66 A0 */ lfsu f7, skZero3f@l(r3) +/* 802A4350 002A12B0 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A4354 002A12B4 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A4358 002A12B8 C1 03 00 04 */ lfs f8, 4(r3) +/* 802A435C 002A12BC C1 23 00 08 */ lfs f9, 8(r3) +/* 802A4360 002A12C0 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A4364 002A12C4 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A4368 002A12C8 80 61 00 08 */ lwz r3, 8(r1) +/* 802A436C 002A12CC C0 61 00 88 */ lfs f3, 0x88(r1) +/* 802A4370 002A12D0 38 03 00 08 */ addi r0, r3, 8 +/* 802A4374 002A12D4 C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 802A4378 002A12D8 90 01 09 48 */ stw r0, 0x948(r1) +/* 802A437C 002A12DC 38 00 00 00 */ li r0, 0 +/* 802A4380 002A12E0 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 802A4384 002A12E4 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 802A4388 002A12E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802A438C 002A12EC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A4390 002A12F0 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 802A4394 002A12F4 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802A4398 002A12F8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A439C 002A12FC 90 01 09 44 */ stw r0, 0x944(r1) +/* 802A43A0 002A1300 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802A43A4 002A1304 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A43A8 002A1308 D0 C1 00 C8 */ stfs f6, 0xc8(r1) +/* 802A43AC 002A130C D0 A1 00 CC */ stfs f5, 0xcc(r1) +/* 802A43B0 002A1310 D0 E1 00 B8 */ stfs f7, 0xb8(r1) +/* 802A43B4 002A1314 D1 01 00 BC */ stfs f8, 0xbc(r1) +/* 802A43B8 002A1318 D1 21 00 C0 */ stfs f9, 0xc0(r1) +/* 802A43BC 002A131C D0 E1 00 AC */ stfs f7, 0xac(r1) +/* 802A43C0 002A1320 D1 01 00 B0 */ stfs f8, 0xb0(r1) +/* 802A43C4 002A1324 D1 21 00 B4 */ stfs f9, 0xb4(r1) +/* 802A43C8 002A1328 48 00 07 60 */ b lbl_802A4B28 +lbl_802A43CC: +/* 802A43CC 002A132C 80 81 09 48 */ lwz r4, 0x948(r1) +/* 802A43D0 002A1330 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A43D4 002A1334 48 09 37 B1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A43D8 002A1338 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A43DC 002A133C 41 82 07 34 */ beq lbl_802A4B10 +/* 802A43E0 002A1340 80 81 09 48 */ lwz r4, 0x948(r1) +/* 802A43E4 002A1344 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A43E8 002A1348 4B FF E9 55 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A43EC 002A134C 83 21 00 10 */ lwz r25, 0x10(r1) +/* 802A43F0 002A1350 3C 80 80 59 */ lis r4, lbl_80597BAC@ha +/* 802A43F4 002A1354 80 61 09 48 */ lwz r3, 0x948(r1) +/* 802A43F8 002A1358 39 C1 09 04 */ addi r14, r1, 0x904 +/* 802A43FC 002A135C A0 19 00 18 */ lhz r0, 0x18(r25) +/* 802A4400 002A1360 3B C4 7B AC */ addi r30, r4, lbl_80597BAC@l +/* 802A4404 002A1364 83 A3 00 1C */ lwz r29, 0x1c(r3) +/* 802A4408 002A1368 3A E0 00 00 */ li r23, 0 +/* 802A440C 002A136C 90 01 09 40 */ stw r0, 0x940(r1) +/* 802A4410 002A1370 48 00 06 F4 */ b lbl_802A4B04 +lbl_802A4414: +/* 802A4414 002A1374 A3 99 00 1A */ lhz r28, 0x1a(r25) +/* 802A4418 002A1378 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802A441C 002A137C 57 83 0B FC */ rlwinm r3, r28, 1, 0xf, 0x1e +/* 802A4420 002A1380 7C 1E 1A 2E */ lhzx r0, r30, r3 +/* 802A4424 002A1384 7C 05 00 40 */ cmplw r5, r0 +/* 802A4428 002A1388 41 82 06 D4 */ beq lbl_802A4AFC +/* 802A442C 002A138C 80 8D A5 C8 */ lwz r4, lbl_805A9188@sda21(r13) +/* 802A4430 002A1390 38 00 00 00 */ li r0, 0 +/* 802A4434 002A1394 7C BE 1B 2E */ sthx r5, r30, r3 +/* 802A4438 002A1398 38 A4 00 01 */ addi r5, r4, 1 +/* 802A443C 002A139C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802A4440 002A13A0 90 AD A5 C8 */ stw r5, lbl_805A9188@sda21(r13) +/* 802A4444 002A13A4 38 81 00 38 */ addi r4, r1, 0x38 +/* 802A4448 002A13A8 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 802A444C 002A13AC 80 DD 00 28 */ lwz r6, 0x28(r29) +/* 802A4450 002A13B0 7C A5 E0 AE */ lbzx r5, r5, r28 +/* 802A4454 002A13B4 54 A5 10 3A */ slwi r5, r5, 2 +/* 802A4458 002A13B8 7E 86 28 2E */ lwzx r20, r6, r5 +/* 802A445C 002A13BC 92 81 00 3C */ stw r20, 0x3c(r1) +/* 802A4460 002A13C0 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A4464 002A13C4 48 03 0E E9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A4468 002A13C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A446C 002A13CC 41 82 06 90 */ beq lbl_802A4AFC +/* 802A4470 002A13D0 7F A3 EB 78 */ mr r3, r29 +/* 802A4474 002A13D4 7F 84 E3 78 */ mr r4, r28 +/* 802A4478 002A13D8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802A447C 002A13DC 4B FF E5 09 */ bl GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs +/* 802A4480 002A13E0 A0 A1 00 34 */ lhz r5, 0x34(r1) +/* 802A4484 002A13E4 7E 87 A3 78 */ mr r7, r20 +/* 802A4488 002A13E8 A0 81 00 30 */ lhz r4, 0x30(r1) +/* 802A448C 002A13EC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802A4490 002A13F0 A0 01 00 32 */ lhz r0, 0x32(r1) +/* 802A4494 002A13F4 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A4498 002A13F8 81 1D 00 4C */ lwz r8, 0x4c(r29) +/* 802A449C 002A13FC 1C 84 00 0C */ mulli r4, r4, 0xc +/* 802A44A0 002A1400 7C C8 2A 14 */ add r6, r8, r5 +/* 802A44A4 002A1404 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A44A8 002A1408 7C 88 22 14 */ add r4, r8, r4 +/* 802A44AC 002A140C 7C A8 02 14 */ add r5, r8, r0 +/* 802A44B0 002A1410 4B FF E2 79 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A44B4 002A1414 38 C1 01 00 */ addi r6, r1, 0x100 +/* 802A44B8 002A1418 38 E1 01 0C */ addi r7, r1, 0x10c +/* 802A44BC 002A141C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802A44C0 002A1420 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802A44C4 002A1424 38 A1 00 F4 */ addi r5, r1, 0xf4 +/* 802A44C8 002A1428 48 02 D0 19 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A44CC 002A142C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A44D0 002A1430 28 00 00 01 */ cmplwi r0, 1 +/* 802A44D4 002A1434 40 82 05 C0 */ bne lbl_802A4A94 +/* 802A44D8 002A1438 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A44DC 002A143C 7D E4 7B 78 */ mr r4, r15 +/* 802A44E0 002A1440 81 71 00 00 */ lwz r11, 0(r17) +/* 802A44E4 002A1444 7D C5 73 78 */ mr r5, r14 +/* 802A44E8 002A1448 81 51 00 04 */ lwz r10, 4(r17) +/* 802A44EC 002A144C 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802A44F0 002A1450 80 11 00 08 */ lwz r0, 8(r17) +/* 802A44F4 002A1454 38 C1 00 7C */ addi r6, r1, 0x7c +/* 802A44F8 002A1458 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802A44FC 002A145C 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802A4500 002A1460 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 802A4504 002A1464 39 21 00 AC */ addi r9, r1, 0xac +/* 802A4508 002A1468 91 61 00 7C */ stw r11, 0x7c(r1) +/* 802A450C 002A146C 3A C0 00 00 */ li r22, 0 +/* 802A4510 002A1470 91 41 00 80 */ stw r10, 0x80(r1) +/* 802A4514 002A1474 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A4518 002A1478 4B FF FA DD */ bl "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802A451C 002A147C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4520 002A1480 41 82 00 EC */ beq lbl_802A460C +/* 802A4524 002A1484 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802A4528 002A1488 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A452C 002A148C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A4530 002A1490 40 80 00 DC */ bge lbl_802A460C +/* 802A4534 002A1494 7E 05 83 78 */ mr r5, r16 +/* 802A4538 002A1498 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802A453C 002A149C 38 81 00 AC */ addi r4, r1, 0xac +/* 802A4540 002A14A0 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802A4544 002A14A4 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A4548 002A14A8 3A C0 00 01 */ li r22, 1 +/* 802A454C 002A14AC 48 02 9E FD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A4550 002A14B0 80 61 01 E0 */ lwz r3, 0x1e0(r1) +/* 802A4554 002A14B4 3B 00 00 01 */ li r24, 1 +/* 802A4558 002A14B8 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 802A455C 002A14BC 90 72 00 00 */ stw r3, 0(r18) +/* 802A4560 002A14C0 90 12 00 04 */ stw r0, 4(r18) +/* 802A4564 002A14C4 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 802A4568 002A14C8 90 12 00 08 */ stw r0, 8(r18) +/* 802A456C 002A14CC 80 61 01 EC */ lwz r3, 0x1ec(r1) +/* 802A4570 002A14D0 80 01 01 F0 */ lwz r0, 0x1f0(r1) +/* 802A4574 002A14D4 90 72 00 0C */ stw r3, 0xc(r18) +/* 802A4578 002A14D8 90 12 00 10 */ stw r0, 0x10(r18) +/* 802A457C 002A14DC 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 802A4580 002A14E0 90 12 00 14 */ stw r0, 0x14(r18) +/* 802A4584 002A14E4 80 61 01 F8 */ lwz r3, 0x1f8(r1) +/* 802A4588 002A14E8 80 01 01 FC */ lwz r0, 0x1fc(r1) +/* 802A458C 002A14EC 90 72 00 18 */ stw r3, 0x18(r18) +/* 802A4590 002A14F0 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802A4594 002A14F4 80 01 02 00 */ lwz r0, 0x200(r1) +/* 802A4598 002A14F8 90 12 00 20 */ stw r0, 0x20(r18) +/* 802A459C 002A14FC 80 61 02 04 */ lwz r3, 0x204(r1) +/* 802A45A0 002A1500 80 01 02 08 */ lwz r0, 0x208(r1) +/* 802A45A4 002A1504 90 72 00 24 */ stw r3, 0x24(r18) +/* 802A45A8 002A1508 90 12 00 28 */ stw r0, 0x28(r18) +/* 802A45AC 002A150C 80 01 02 0C */ lwz r0, 0x20c(r1) +/* 802A45B0 002A1510 90 12 00 2C */ stw r0, 0x2c(r18) +/* 802A45B4 002A1514 88 01 02 10 */ lbz r0, 0x210(r1) +/* 802A45B8 002A1518 98 12 00 30 */ stb r0, 0x30(r18) +/* 802A45BC 002A151C 88 01 02 11 */ lbz r0, 0x211(r1) +/* 802A45C0 002A1520 98 12 00 31 */ stb r0, 0x31(r18) +/* 802A45C4 002A1524 C8 01 02 18 */ lfd f0, 0x218(r1) +/* 802A45C8 002A1528 D8 12 00 38 */ stfd f0, 0x38(r18) +/* 802A45CC 002A152C C8 01 02 20 */ lfd f0, 0x220(r1) +/* 802A45D0 002A1530 D8 12 00 40 */ stfd f0, 0x40(r18) +/* 802A45D4 002A1534 80 61 02 28 */ lwz r3, 0x228(r1) +/* 802A45D8 002A1538 80 01 02 2C */ lwz r0, 0x22c(r1) +/* 802A45DC 002A153C 90 72 00 48 */ stw r3, 0x48(r18) +/* 802A45E0 002A1540 90 12 00 4C */ stw r0, 0x4c(r18) +/* 802A45E4 002A1544 80 01 02 30 */ lwz r0, 0x230(r1) +/* 802A45E8 002A1548 90 12 00 50 */ stw r0, 0x50(r18) +/* 802A45EC 002A154C 80 61 02 34 */ lwz r3, 0x234(r1) +/* 802A45F0 002A1550 80 01 02 38 */ lwz r0, 0x238(r1) +/* 802A45F4 002A1554 90 72 00 54 */ stw r3, 0x54(r18) +/* 802A45F8 002A1558 90 12 00 58 */ stw r0, 0x58(r18) +/* 802A45FC 002A155C 80 01 02 3C */ lwz r0, 0x23c(r1) +/* 802A4600 002A1560 90 12 00 5C */ stw r0, 0x5c(r18) +/* 802A4604 002A1564 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802A4608 002A1568 D8 13 00 00 */ stfd f0, 0(r19) +lbl_802A460C: +/* 802A460C 002A156C 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A4610 002A1570 3B 41 00 30 */ addi r26, r1, 0x30 +/* 802A4614 002A1574 3B E3 2B AC */ addi r31, r3, lbl_80572BAC@l +/* 802A4618 002A1578 3A A0 00 00 */ li r21, 0 +lbl_802A461C: +/* 802A461C 002A157C A2 9A 00 00 */ lhz r20, 0(r26) +/* 802A4620 002A1580 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A4624 002A1584 56 83 08 3C */ slwi r3, r20, 1 +/* 802A4628 002A1588 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802A462C 002A158C 7C 04 00 40 */ cmplw r4, r0 +/* 802A4630 002A1590 41 82 01 74 */ beq lbl_802A47A4 +/* 802A4634 002A1594 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802A4638 002A1598 1C 14 00 0C */ mulli r0, r20, 0xc +/* 802A463C 002A159C 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A4640 002A15A0 80 9D 00 4C */ lwz r4, 0x4c(r29) +/* 802A4644 002A15A4 7F 64 02 14 */ add r27, r4, r0 +/* 802A4648 002A15A8 7F 64 DB 78 */ mr r4, r27 +/* 802A464C 002A15AC 48 09 2E E9 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802A4650 002A15B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4654 002A15B4 41 82 01 50 */ beq lbl_802A47A4 +/* 802A4658 002A15B8 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A465C 002A15BC 7F 63 DB 78 */ mr r3, r27 +/* 802A4660 002A15C0 81 51 00 00 */ lwz r10, 0(r17) +/* 802A4664 002A15C4 7D E4 7B 78 */ mr r4, r15 +/* 802A4668 002A15C8 81 31 00 04 */ lwz r9, 4(r17) +/* 802A466C 002A15CC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 802A4670 002A15D0 80 11 00 08 */ lwz r0, 8(r17) +/* 802A4674 002A15D4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802A4678 002A15D8 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802A467C 002A15DC 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A4680 002A15E0 39 01 00 AC */ addi r8, r1, 0xac +/* 802A4684 002A15E4 91 41 00 70 */ stw r10, 0x70(r1) +/* 802A4688 002A15E8 91 21 00 74 */ stw r9, 0x74(r1) +/* 802A468C 002A15EC 90 01 00 78 */ stw r0, 0x78(r1) +/* 802A4690 002A15F0 4B FF FA 7D */ bl MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f +/* 802A4694 002A15F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4698 002A15F8 41 82 01 0C */ beq lbl_802A47A4 +/* 802A469C 002A15FC C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802A46A0 002A1600 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A46A4 002A1604 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A46A8 002A1608 40 80 00 FC */ bge lbl_802A47A4 +/* 802A46AC 002A160C 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 802A46B0 002A1610 38 00 00 00 */ li r0, 0 +/* 802A46B4 002A1614 81 3D 00 28 */ lwz r9, 0x28(r29) +/* 802A46B8 002A1618 7E 05 83 78 */ mr r5, r16 +/* 802A46BC 002A161C 7C E3 A0 AE */ lbzx r7, r3, r20 +/* 802A46C0 002A1620 38 61 01 80 */ addi r3, r1, 0x180 +/* 802A46C4 002A1624 38 81 00 AC */ addi r4, r1, 0xac +/* 802A46C8 002A1628 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802A46CC 002A162C 54 E8 10 3A */ slwi r8, r7, 2 +/* 802A46D0 002A1630 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A46D4 002A1634 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802A46D8 002A1638 3A C0 00 01 */ li r22, 1 +/* 802A46DC 002A163C 91 01 00 24 */ stw r8, 0x24(r1) +/* 802A46E0 002A1640 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A46E4 002A1644 48 02 9D 65 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A46E8 002A1648 80 61 01 80 */ lwz r3, 0x180(r1) +/* 802A46EC 002A164C 3B 00 00 01 */ li r24, 1 +/* 802A46F0 002A1650 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802A46F4 002A1654 90 72 00 00 */ stw r3, 0(r18) +/* 802A46F8 002A1658 90 12 00 04 */ stw r0, 4(r18) +/* 802A46FC 002A165C 80 01 01 88 */ lwz r0, 0x188(r1) +/* 802A4700 002A1660 90 12 00 08 */ stw r0, 8(r18) +/* 802A4704 002A1664 80 61 01 8C */ lwz r3, 0x18c(r1) +/* 802A4708 002A1668 80 01 01 90 */ lwz r0, 0x190(r1) +/* 802A470C 002A166C 90 72 00 0C */ stw r3, 0xc(r18) +/* 802A4710 002A1670 90 12 00 10 */ stw r0, 0x10(r18) +/* 802A4714 002A1674 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802A4718 002A1678 90 12 00 14 */ stw r0, 0x14(r18) +/* 802A471C 002A167C 80 61 01 98 */ lwz r3, 0x198(r1) +/* 802A4720 002A1680 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 802A4724 002A1684 90 72 00 18 */ stw r3, 0x18(r18) +/* 802A4728 002A1688 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802A472C 002A168C 80 01 01 A0 */ lwz r0, 0x1a0(r1) +/* 802A4730 002A1690 90 12 00 20 */ stw r0, 0x20(r18) +/* 802A4734 002A1694 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 802A4738 002A1698 80 01 01 A8 */ lwz r0, 0x1a8(r1) +/* 802A473C 002A169C 90 72 00 24 */ stw r3, 0x24(r18) +/* 802A4740 002A16A0 90 12 00 28 */ stw r0, 0x28(r18) +/* 802A4744 002A16A4 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 802A4748 002A16A8 90 12 00 2C */ stw r0, 0x2c(r18) +/* 802A474C 002A16AC 88 01 01 B0 */ lbz r0, 0x1b0(r1) +/* 802A4750 002A16B0 98 12 00 30 */ stb r0, 0x30(r18) +/* 802A4754 002A16B4 88 01 01 B1 */ lbz r0, 0x1b1(r1) +/* 802A4758 002A16B8 98 12 00 31 */ stb r0, 0x31(r18) +/* 802A475C 002A16BC C8 01 01 B8 */ lfd f0, 0x1b8(r1) +/* 802A4760 002A16C0 D8 12 00 38 */ stfd f0, 0x38(r18) +/* 802A4764 002A16C4 C8 01 01 C0 */ lfd f0, 0x1c0(r1) +/* 802A4768 002A16C8 D8 12 00 40 */ stfd f0, 0x40(r18) +/* 802A476C 002A16CC 80 61 01 C8 */ lwz r3, 0x1c8(r1) +/* 802A4770 002A16D0 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 802A4774 002A16D4 90 72 00 48 */ stw r3, 0x48(r18) +/* 802A4778 002A16D8 90 12 00 4C */ stw r0, 0x4c(r18) +/* 802A477C 002A16DC 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 802A4780 002A16E0 90 12 00 50 */ stw r0, 0x50(r18) +/* 802A4784 002A16E4 80 61 01 D4 */ lwz r3, 0x1d4(r1) +/* 802A4788 002A16E8 80 01 01 D8 */ lwz r0, 0x1d8(r1) +/* 802A478C 002A16EC 90 72 00 54 */ stw r3, 0x54(r18) +/* 802A4790 002A16F0 90 12 00 58 */ stw r0, 0x58(r18) +/* 802A4794 002A16F4 80 01 01 DC */ lwz r0, 0x1dc(r1) +/* 802A4798 002A16F8 90 12 00 5C */ stw r0, 0x5c(r18) +/* 802A479C 002A16FC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802A47A0 002A1700 D8 13 00 00 */ stfd f0, 0(r19) +lbl_802A47A4: +/* 802A47A4 002A1704 3A B5 00 01 */ addi r21, r21, 1 +/* 802A47A8 002A1708 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A47AC 002A170C 2C 15 00 03 */ cmpwi r21, 3 +/* 802A47B0 002A1710 41 80 FE 6C */ blt lbl_802A461C +/* 802A47B4 002A1714 7F A3 EB 78 */ mr r3, r29 +/* 802A47B8 002A1718 7F 84 E3 78 */ mr r4, r28 +/* 802A47BC 002A171C 4B FF E1 B5 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A47C0 002A1720 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802A47C4 002A1724 3B 60 00 00 */ li r27, 0 +/* 802A47C8 002A1728 7C 7A 1B 78 */ mr r26, r3 +/* 802A47CC 002A172C 3A 84 BB AC */ addi r20, r4, lbl_8058BBAC@l +lbl_802A47D0: +/* 802A47D0 002A1730 A0 BA 00 00 */ lhz r5, 0(r26) +/* 802A47D4 002A1734 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A47D8 002A1738 54 A3 08 3C */ slwi r3, r5, 1 +/* 802A47DC 002A173C 7C 14 1A 2E */ lhzx r0, r20, r3 +/* 802A47E0 002A1740 7C 04 00 40 */ cmplw r4, r0 +/* 802A47E4 002A1744 41 82 01 80 */ beq lbl_802A4964 +/* 802A47E8 002A1748 7C 94 1B 2E */ sthx r4, r20, r3 +/* 802A47EC 002A174C 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 802A47F0 002A1750 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 802A47F4 002A1754 7C 03 28 AE */ lbzx r0, r3, r5 +/* 802A47F8 002A1758 54 00 10 3A */ slwi r0, r0, 2 +/* 802A47FC 002A175C 7E A4 00 2E */ lwzx r21, r4, r0 +/* 802A4800 002A1760 56 A0 01 CF */ rlwinm. r0, r21, 0, 7, 7 +/* 802A4804 002A1764 40 82 01 60 */ bne lbl_802A4964 +/* 802A4808 002A1768 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A480C 002A176C 54 AA 10 3A */ slwi r10, r5, 2 +/* 802A4810 002A1770 80 91 00 00 */ lwz r4, 0(r17) +/* 802A4814 002A1774 38 A1 02 40 */ addi r5, r1, 0x240 +/* 802A4818 002A1778 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802A481C 002A177C 38 C1 00 64 */ addi r6, r1, 0x64 +/* 802A4820 002A1780 80 71 00 04 */ lwz r3, 4(r17) +/* 802A4824 002A1784 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802A4828 002A1788 81 7D 00 3C */ lwz r11, 0x3c(r29) +/* 802A482C 002A178C 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 802A4830 002A1790 80 11 00 08 */ lwz r0, 8(r17) +/* 802A4834 002A1794 39 21 00 AC */ addi r9, r1, 0xac +/* 802A4838 002A1798 90 81 00 64 */ stw r4, 0x64(r1) +/* 802A483C 002A179C 7C 8B 52 14 */ add r4, r11, r10 +/* 802A4840 002A17A0 90 61 00 68 */ stw r3, 0x68(r1) +/* 802A4844 002A17A4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802A4848 002A17A8 A0 64 00 02 */ lhz r3, 2(r4) +/* 802A484C 002A17AC A0 04 00 00 */ lhz r0, 0(r4) +/* 802A4850 002A17B0 1C 63 00 0C */ mulli r3, r3, 0xc +/* 802A4854 002A17B4 81 5D 00 4C */ lwz r10, 0x4c(r29) +/* 802A4858 002A17B8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A485C 002A17BC 7C 8A 1A 14 */ add r4, r10, r3 +/* 802A4860 002A17C0 7C 6A 02 14 */ add r3, r10, r0 +/* 802A4864 002A17C4 4B FF F3 25 */ bl "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802A4868 002A17C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A486C 002A17CC 41 82 00 F8 */ beq lbl_802A4964 +/* 802A4870 002A17D0 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802A4874 002A17D4 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A4878 002A17D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A487C 002A17DC 40 80 00 E8 */ bge lbl_802A4964 +/* 802A4880 002A17E0 38 00 00 00 */ li r0, 0 +/* 802A4884 002A17E4 92 A1 00 1C */ stw r21, 0x1c(r1) +/* 802A4888 002A17E8 7E 05 83 78 */ mr r5, r16 +/* 802A488C 002A17EC 38 61 01 20 */ addi r3, r1, 0x120 +/* 802A4890 002A17F0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802A4894 002A17F4 38 81 00 AC */ addi r4, r1, 0xac +/* 802A4898 002A17F8 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802A489C 002A17FC 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A48A0 002A1800 3A C0 00 01 */ li r22, 1 +/* 802A48A4 002A1804 48 02 9B A5 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A48A8 002A1808 80 61 01 20 */ lwz r3, 0x120(r1) +/* 802A48AC 002A180C 3B 00 00 01 */ li r24, 1 +/* 802A48B0 002A1810 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802A48B4 002A1814 90 72 00 00 */ stw r3, 0(r18) +/* 802A48B8 002A1818 90 12 00 04 */ stw r0, 4(r18) +/* 802A48BC 002A181C 80 01 01 28 */ lwz r0, 0x128(r1) +/* 802A48C0 002A1820 90 12 00 08 */ stw r0, 8(r18) +/* 802A48C4 002A1824 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 802A48C8 002A1828 80 01 01 30 */ lwz r0, 0x130(r1) +/* 802A48CC 002A182C 90 72 00 0C */ stw r3, 0xc(r18) +/* 802A48D0 002A1830 90 12 00 10 */ stw r0, 0x10(r18) +/* 802A48D4 002A1834 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802A48D8 002A1838 90 12 00 14 */ stw r0, 0x14(r18) +/* 802A48DC 002A183C 80 61 01 38 */ lwz r3, 0x138(r1) +/* 802A48E0 002A1840 80 01 01 3C */ lwz r0, 0x13c(r1) +/* 802A48E4 002A1844 90 72 00 18 */ stw r3, 0x18(r18) +/* 802A48E8 002A1848 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802A48EC 002A184C 80 01 01 40 */ lwz r0, 0x140(r1) +/* 802A48F0 002A1850 90 12 00 20 */ stw r0, 0x20(r18) +/* 802A48F4 002A1854 80 61 01 44 */ lwz r3, 0x144(r1) +/* 802A48F8 002A1858 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802A48FC 002A185C 90 72 00 24 */ stw r3, 0x24(r18) +/* 802A4900 002A1860 90 12 00 28 */ stw r0, 0x28(r18) +/* 802A4904 002A1864 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 802A4908 002A1868 90 12 00 2C */ stw r0, 0x2c(r18) +/* 802A490C 002A186C 88 01 01 50 */ lbz r0, 0x150(r1) +/* 802A4910 002A1870 98 12 00 30 */ stb r0, 0x30(r18) +/* 802A4914 002A1874 88 01 01 51 */ lbz r0, 0x151(r1) +/* 802A4918 002A1878 98 12 00 31 */ stb r0, 0x31(r18) +/* 802A491C 002A187C C8 01 01 58 */ lfd f0, 0x158(r1) +/* 802A4920 002A1880 D8 12 00 38 */ stfd f0, 0x38(r18) +/* 802A4924 002A1884 C8 01 01 60 */ lfd f0, 0x160(r1) +/* 802A4928 002A1888 D8 12 00 40 */ stfd f0, 0x40(r18) +/* 802A492C 002A188C 80 61 01 68 */ lwz r3, 0x168(r1) +/* 802A4930 002A1890 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 802A4934 002A1894 90 72 00 48 */ stw r3, 0x48(r18) +/* 802A4938 002A1898 90 12 00 4C */ stw r0, 0x4c(r18) +/* 802A493C 002A189C 80 01 01 70 */ lwz r0, 0x170(r1) +/* 802A4940 002A18A0 90 12 00 50 */ stw r0, 0x50(r18) +/* 802A4944 002A18A4 80 61 01 74 */ lwz r3, 0x174(r1) +/* 802A4948 002A18A8 80 01 01 78 */ lwz r0, 0x178(r1) +/* 802A494C 002A18AC 90 72 00 54 */ stw r3, 0x54(r18) +/* 802A4950 002A18B0 90 12 00 58 */ stw r0, 0x58(r18) +/* 802A4954 002A18B4 80 01 01 7C */ lwz r0, 0x17c(r1) +/* 802A4958 002A18B8 90 12 00 5C */ stw r0, 0x5c(r18) +/* 802A495C 002A18BC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802A4960 002A18C0 D8 13 00 00 */ stfd f0, 0(r19) +lbl_802A4964: +/* 802A4964 002A18C4 3B 7B 00 01 */ addi r27, r27, 1 +/* 802A4968 002A18C8 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A496C 002A18CC 2C 1B 00 03 */ cmpwi r27, 3 +/* 802A4970 002A18D0 41 80 FE 60 */ blt lbl_802A47D0 +/* 802A4974 002A18D4 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 802A4978 002A18D8 41 82 01 84 */ beq lbl_802A4AFC +/* 802A497C 002A18DC C8 73 00 00 */ lfd f3, 0(r19) +/* 802A4980 002A18E0 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A4984 002A18E4 81 21 09 28 */ lwz r9, 0x928(r1) +/* 802A4988 002A18E8 38 81 00 58 */ addi r4, r1, 0x58 +/* 802A498C 002A18EC FC 60 18 18 */ frsp f3, f3 +/* 802A4990 002A18F0 C0 11 00 00 */ lfs f0, 0(r17) +/* 802A4994 002A18F4 C0 51 00 04 */ lfs f2, 4(r17) +/* 802A4998 002A18F8 C0 31 00 08 */ lfs f1, 8(r17) +/* 802A499C 002A18FC EF E3 00 32 */ fmuls f31, f3, f0 +/* 802A49A0 002A1900 C0 0F 00 00 */ lfs f0, 0(r15) +/* 802A49A4 002A1904 EF C3 00 B2 */ fmuls f30, f3, f2 +/* 802A49A8 002A1908 C0 4F 00 04 */ lfs f2, 4(r15) +/* 802A49AC 002A190C EF A3 00 72 */ fmuls f29, f3, f1 +/* 802A49B0 002A1910 C0 2F 00 08 */ lfs f1, 8(r15) +/* 802A49B4 002A1914 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A49B8 002A1918 81 01 09 2C */ lwz r8, 0x92c(r1) +/* 802A49BC 002A191C EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A49C0 002A1920 80 E1 09 30 */ lwz r7, 0x930(r1) +/* 802A49C4 002A1924 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A49C8 002A1928 80 C1 09 34 */ lwz r6, 0x934(r1) +/* 802A49CC 002A192C 80 A1 09 38 */ lwz r5, 0x938(r1) +/* 802A49D0 002A1930 80 01 09 3C */ lwz r0, 0x93c(r1) +/* 802A49D4 002A1934 91 21 00 DC */ stw r9, 0xdc(r1) +/* 802A49D8 002A1938 91 01 00 E0 */ stw r8, 0xe0(r1) +/* 802A49DC 002A193C 90 E1 00 E4 */ stw r7, 0xe4(r1) +/* 802A49E0 002A1940 90 C1 00 E8 */ stw r6, 0xe8(r1) +/* 802A49E4 002A1944 90 A1 00 EC */ stw r5, 0xec(r1) +/* 802A49E8 002A1948 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 802A49EC 002A194C D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802A49F0 002A1950 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802A49F4 002A1954 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802A49F8 002A1958 48 09 31 11 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A49FC 002A195C C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A4A00 002A1960 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A4A04 002A1964 C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4A08 002A1968 38 81 00 4C */ addi r4, r1, 0x4c +/* 802A4A0C 002A196C C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A4A10 002A1970 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A4A14 002A1974 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A4A18 002A1978 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A4A1C 002A197C D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802A4A20 002A1980 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802A4A24 002A1984 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802A4A28 002A1988 48 09 30 E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4A2C 002A198C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A4A30 002A1990 38 81 00 DC */ addi r4, r1, 0xdc +/* 802A4A34 002A1994 48 09 2B D9 */ bl GetCenterPoint__6CAABoxCFv +/* 802A4A38 002A1998 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 802A4A3C 002A199C C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802A4A40 002A19A0 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 802A4A44 002A19A4 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802A4A48 002A19A8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A4A4C 002A19AC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A4A50 002A19B0 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A4A54 002A19B4 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 802A4A58 002A19B8 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 802A4A5C 002A19BC EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A4A60 002A19C0 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802A4A64 002A19C4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A4A68 002A19C8 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A4A6C 002A19CC C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802A4A70 002A19D0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802A4A74 002A19D4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A4A78 002A19D8 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802A4A7C 002A19DC D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802A4A80 002A19E0 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802A4A84 002A19E4 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A4A88 002A19E8 D0 C1 00 C8 */ stfs f6, 0xc8(r1) +/* 802A4A8C 002A19EC D0 A1 00 CC */ stfs f5, 0xcc(r1) +/* 802A4A90 002A19F0 48 00 00 6C */ b lbl_802A4AFC +lbl_802A4A94: +/* 802A4A94 002A19F4 7F A3 EB 78 */ mr r3, r29 +/* 802A4A98 002A19F8 7F 84 E3 78 */ mr r4, r28 +/* 802A4A9C 002A19FC 4B FF DE D5 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A4AA0 002A1A00 A0 C3 00 00 */ lhz r6, 0(r3) +/* 802A4AA4 002A1A04 3C A0 80 59 */ lis r5, lbl_8058BBAC@ha +/* 802A4AA8 002A1A08 A0 0D A5 D0 */ lhz r0, lbl_805A9190@sda21(r13) +/* 802A4AAC 002A1A0C 3C 80 80 57 */ lis r4, lbl_80572BAC@ha +/* 802A4AB0 002A1A10 54 C6 08 3C */ slwi r6, r6, 1 +/* 802A4AB4 002A1A14 39 25 BB AC */ addi r9, r5, lbl_8058BBAC@l +/* 802A4AB8 002A1A18 7C 09 33 2E */ sthx r0, r9, r6 +/* 802A4ABC 002A1A1C 38 C4 2B AC */ addi r6, r4, lbl_80572BAC@l +/* 802A4AC0 002A1A20 A0 81 00 30 */ lhz r4, 0x30(r1) +/* 802A4AC4 002A1A24 A1 03 00 02 */ lhz r8, 2(r3) +/* 802A4AC8 002A1A28 A0 A1 00 32 */ lhz r5, 0x32(r1) +/* 802A4ACC 002A1A2C 54 87 08 3C */ slwi r7, r4, 1 +/* 802A4AD0 002A1A30 55 08 08 3C */ slwi r8, r8, 1 +/* 802A4AD4 002A1A34 A0 81 00 34 */ lhz r4, 0x34(r1) +/* 802A4AD8 002A1A38 7C 09 43 2E */ sthx r0, r9, r8 +/* 802A4ADC 002A1A3C 54 A5 08 3C */ slwi r5, r5, 1 +/* 802A4AE0 002A1A40 54 84 08 3C */ slwi r4, r4, 1 +/* 802A4AE4 002A1A44 A0 63 00 04 */ lhz r3, 4(r3) +/* 802A4AE8 002A1A48 7C 06 3B 2E */ sthx r0, r6, r7 +/* 802A4AEC 002A1A4C 54 63 08 3C */ slwi r3, r3, 1 +/* 802A4AF0 002A1A50 7C 06 2B 2E */ sthx r0, r6, r5 +/* 802A4AF4 002A1A54 7C 09 1B 2E */ sthx r0, r9, r3 +/* 802A4AF8 002A1A58 7C 06 23 2E */ sthx r0, r6, r4 +lbl_802A4AFC: +/* 802A4AFC 002A1A5C 3B 39 00 02 */ addi r25, r25, 2 +/* 802A4B00 002A1A60 3A F7 00 01 */ addi r23, r23, 1 +lbl_802A4B04: +/* 802A4B04 002A1A64 80 01 09 40 */ lwz r0, 0x940(r1) +/* 802A4B08 002A1A68 7C 17 00 00 */ cmpw r23, r0 +/* 802A4B0C 002A1A6C 41 80 F9 08 */ blt lbl_802A4414 +lbl_802A4B10: +/* 802A4B10 002A1A70 80 61 09 48 */ lwz r3, 0x948(r1) +/* 802A4B14 002A1A74 38 63 00 24 */ addi r3, r3, 0x24 +/* 802A4B18 002A1A78 90 61 09 48 */ stw r3, 0x948(r1) +/* 802A4B1C 002A1A7C 80 61 09 44 */ lwz r3, 0x944(r1) +/* 802A4B20 002A1A80 38 63 00 01 */ addi r3, r3, 1 +/* 802A4B24 002A1A84 90 61 09 44 */ stw r3, 0x944(r1) +lbl_802A4B28: +/* 802A4B28 002A1A88 80 61 00 08 */ lwz r3, 8(r1) +/* 802A4B2C 002A1A8C 80 01 09 44 */ lwz r0, 0x944(r1) +/* 802A4B30 002A1A90 80 63 00 04 */ lwz r3, 4(r3) +/* 802A4B34 002A1A94 7C 00 18 00 */ cmpw r0, r3 +/* 802A4B38 002A1A98 41 80 F8 94 */ blt lbl_802A43CC +/* 802A4B3C 002A1A9C 34 01 09 04 */ addic. r0, r1, 0x904 +/* 802A4B40 002A1AA0 41 82 00 58 */ beq lbl_802A4B98 +/* 802A4B44 002A1AA4 80 A1 09 04 */ lwz r5, 0x904(r1) +/* 802A4B48 002A1AA8 38 60 00 00 */ li r3, 0 +/* 802A4B4C 002A1AAC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A4B50 002A1AB0 40 81 00 40 */ ble lbl_802A4B90 +/* 802A4B54 002A1AB4 2C 05 00 08 */ cmpwi r5, 8 +/* 802A4B58 002A1AB8 38 85 FF F8 */ addi r4, r5, -8 +/* 802A4B5C 002A1ABC 40 81 00 20 */ ble lbl_802A4B7C +/* 802A4B60 002A1AC0 38 04 00 07 */ addi r0, r4, 7 +/* 802A4B64 002A1AC4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A4B68 002A1AC8 7C 09 03 A6 */ mtctr r0 +/* 802A4B6C 002A1ACC 2C 04 00 00 */ cmpwi r4, 0 +/* 802A4B70 002A1AD0 40 81 00 0C */ ble lbl_802A4B7C +lbl_802A4B74: +/* 802A4B74 002A1AD4 38 63 00 08 */ addi r3, r3, 8 +/* 802A4B78 002A1AD8 42 00 FF FC */ bdnz lbl_802A4B74 +lbl_802A4B7C: +/* 802A4B7C 002A1ADC 7C 03 28 50 */ subf r0, r3, r5 +/* 802A4B80 002A1AE0 7C 09 03 A6 */ mtctr r0 +/* 802A4B84 002A1AE4 7C 03 28 00 */ cmpw r3, r5 +/* 802A4B88 002A1AE8 40 80 00 08 */ bge lbl_802A4B90 +lbl_802A4B8C: +/* 802A4B8C 002A1AEC 42 00 00 00 */ bdnz lbl_802A4B8C +lbl_802A4B90: +/* 802A4B90 002A1AF0 38 00 00 00 */ li r0, 0 +/* 802A4B94 002A1AF4 90 01 09 04 */ stw r0, 0x904(r1) +lbl_802A4B98: +/* 802A4B98 002A1AF8 80 A1 02 40 */ lwz r5, 0x240(r1) +/* 802A4B9C 002A1AFC 38 60 00 00 */ li r3, 0 +/* 802A4BA0 002A1B00 2C 05 00 00 */ cmpwi r5, 0 +/* 802A4BA4 002A1B04 40 81 00 40 */ ble lbl_802A4BE4 +/* 802A4BA8 002A1B08 2C 05 00 08 */ cmpwi r5, 8 +/* 802A4BAC 002A1B0C 38 85 FF F8 */ addi r4, r5, -8 +/* 802A4BB0 002A1B10 40 81 00 20 */ ble lbl_802A4BD0 +/* 802A4BB4 002A1B14 38 04 00 07 */ addi r0, r4, 7 +/* 802A4BB8 002A1B18 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A4BBC 002A1B1C 7C 09 03 A6 */ mtctr r0 +/* 802A4BC0 002A1B20 2C 04 00 00 */ cmpwi r4, 0 +/* 802A4BC4 002A1B24 40 81 00 0C */ ble lbl_802A4BD0 +lbl_802A4BC8: +/* 802A4BC8 002A1B28 38 63 00 08 */ addi r3, r3, 8 +/* 802A4BCC 002A1B2C 42 00 FF FC */ bdnz lbl_802A4BC8 +lbl_802A4BD0: +/* 802A4BD0 002A1B30 7C 03 28 50 */ subf r0, r3, r5 +/* 802A4BD4 002A1B34 7C 09 03 A6 */ mtctr r0 +/* 802A4BD8 002A1B38 7C 03 28 00 */ cmpw r3, r5 +/* 802A4BDC 002A1B3C 40 80 00 08 */ bge lbl_802A4BE4 +lbl_802A4BE0: +/* 802A4BE0 002A1B40 42 00 00 00 */ bdnz lbl_802A4BE0 +lbl_802A4BE4: +/* 802A4BE4 002A1B44 38 00 00 00 */ li r0, 0 +/* 802A4BE8 002A1B48 7F 03 C3 78 */ mr r3, r24 +/* 802A4BEC 002A1B4C 90 01 02 40 */ stw r0, 0x240(r1) +/* 802A4BF0 002A1B50 E3 E1 09 C8 */ psq_l f31, -1592(r1), 0, qr0 +/* 802A4BF4 002A1B54 CB E1 09 C0 */ lfd f31, 0x9c0(r1) +/* 802A4BF8 002A1B58 E3 C1 09 B8 */ psq_l f30, -1608(r1), 0, qr0 +/* 802A4BFC 002A1B5C CB C1 09 B0 */ lfd f30, 0x9b0(r1) +/* 802A4C00 002A1B60 E3 A1 09 A8 */ psq_l f29, -1624(r1), 0, qr0 +/* 802A4C04 002A1B64 CB A1 09 A0 */ lfd f29, 0x9a0(r1) +/* 802A4C08 002A1B68 B9 C1 09 58 */ lmw r14, 0x958(r1) +/* 802A4C0C 002A1B6C 80 01 09 D4 */ lwz r0, 0x9d4(r1) +/* 802A4C10 002A1B70 7C 08 03 A6 */ mtlr r0 +/* 802A4C14 002A1B74 38 21 09 D0 */ addi r1, r1, 0x9d0 +/* 802A4C18 002A1B78 4E 80 00 20 */ blr + +.global MovingSphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd +MovingSphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd: +/* 802A4C1C 002A1B7C 94 21 FB 50 */ stwu r1, -0x4b0(r1) +/* 802A4C20 002A1B80 7C 08 02 A6 */ mflr r0 +/* 802A4C24 002A1B84 90 01 04 B4 */ stw r0, 0x4b4(r1) +/* 802A4C28 002A1B88 DB E1 04 A0 */ stfd f31, 0x4a0(r1) +/* 802A4C2C 002A1B8C F3 E1 04 A8 */ psq_st f31, 1192(r1), 0, qr0 +/* 802A4C30 002A1B90 DB C1 04 90 */ stfd f30, 0x490(r1) +/* 802A4C34 002A1B94 F3 C1 04 98 */ psq_st f30, 1176(r1), 0, qr0 +/* 802A4C38 002A1B98 DB A1 04 80 */ stfd f29, 0x480(r1) +/* 802A4C3C 002A1B9C F3 A1 04 88 */ psq_st f29, 1160(r1), 0, qr0 +/* 802A4C40 002A1BA0 DB 81 04 70 */ stfd f28, 0x470(r1) +/* 802A4C44 002A1BA4 F3 81 04 78 */ psq_st f28, 1144(r1), 0, qr0 +/* 802A4C48 002A1BA8 DB 61 04 60 */ stfd f27, 0x460(r1) +/* 802A4C4C 002A1BAC F3 61 04 68 */ psq_st f27, 1128(r1), 0, qr0 +/* 802A4C50 002A1BB0 DB 41 04 50 */ stfd f26, 0x450(r1) +/* 802A4C54 002A1BB4 F3 41 04 58 */ psq_st f26, 1112(r1), 0, qr0 +/* 802A4C58 002A1BB8 DB 21 04 40 */ stfd f25, 0x440(r1) +/* 802A4C5C 002A1BBC F3 21 04 48 */ psq_st f25, 1096(r1), 0, qr0 +/* 802A4C60 002A1BC0 DB 01 04 30 */ stfd f24, 0x430(r1) +/* 802A4C64 002A1BC4 F3 01 04 38 */ psq_st f24, 1080(r1), 0, qr0 +/* 802A4C68 002A1BC8 DA E1 04 20 */ stfd f23, 0x420(r1) +/* 802A4C6C 002A1BCC F2 E1 04 28 */ psq_st f23, 1064(r1), 0, qr0 +/* 802A4C70 002A1BD0 DA C1 04 10 */ stfd f22, 0x410(r1) +/* 802A4C74 002A1BD4 F2 C1 04 18 */ psq_st f22, 1048(r1), 0, qr0 +/* 802A4C78 002A1BD8 DA A1 04 00 */ stfd f21, 0x400(r1) +/* 802A4C7C 002A1BDC F2 A1 04 08 */ psq_st f21, 1032(r1), 0, qr0 +/* 802A4C80 002A1BE0 DA 81 03 F0 */ stfd f20, 0x3f0(r1) +/* 802A4C84 002A1BE4 F2 81 03 F8 */ psq_st f20, 1016(r1), 0, qr0 +/* 802A4C88 002A1BE8 DA 61 03 E0 */ stfd f19, 0x3e0(r1) +/* 802A4C8C 002A1BEC F2 61 03 E8 */ psq_st f19, 1000(r1), 0, qr0 +/* 802A4C90 002A1BF0 DA 41 03 D0 */ stfd f18, 0x3d0(r1) +/* 802A4C94 002A1BF4 F2 41 03 D8 */ psq_st f18, 984(r1), 0, qr0 +/* 802A4C98 002A1BF8 BD C1 03 88 */ stmw r14, 0x388(r1) +/* 802A4C9C 002A1BFC FE 40 08 90 */ fmr f18, f1 +/* 802A4CA0 002A1C00 90 61 00 08 */ stw r3, 8(r1) +/* 802A4CA4 002A1C04 7D 54 53 78 */ mr r20, r10 +/* 802A4CA8 002A1C08 7C 8F 23 78 */ mr r15, r4 +/* 802A4CAC 002A1C0C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802A4CB0 002A1C10 7C B0 2B 78 */ mr r16, r5 +/* 802A4CB4 002A1C14 DA 4A 00 00 */ stfd f18, 0(r10) +/* 802A4CB8 002A1C18 7C F1 3B 78 */ mr r17, r7 +/* 802A4CBC 002A1C1C 7D 12 43 78 */ mr r18, r8 +/* 802A4CC0 002A1C20 7D 33 4B 78 */ mr r19, r9 +/* 802A4CC4 002A1C24 48 00 23 7D */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A4CC8 002A1C28 C0 52 00 00 */ lfs f2, 0(r18) +/* 802A4CCC 002A1C2C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A4CD0 002A1C30 C0 32 00 04 */ lfs f1, 4(r18) +/* 802A4CD4 002A1C34 38 81 01 9C */ addi r4, r1, 0x19c +/* 802A4CD8 002A1C38 C0 12 00 08 */ lfs f0, 8(r18) +/* 802A4CDC 002A1C3C EF F2 00 B2 */ fmuls f31, f18, f2 +/* 802A4CE0 002A1C40 EF D2 00 72 */ fmuls f30, f18, f1 +/* 802A4CE4 002A1C44 C0 AF 00 04 */ lfs f5, 4(r15) +/* 802A4CE8 002A1C48 C0 CF 00 00 */ lfs f6, 0(r15) +/* 802A4CEC 002A1C4C EF B2 00 32 */ fmuls f29, f18, f0 +/* 802A4CF0 002A1C50 C0 8F 00 08 */ lfs f4, 8(r15) +/* 802A4CF4 002A1C54 ED 05 F0 2A */ fadds f8, f5, f30 +/* 802A4CF8 002A1C58 EC E4 E8 2A */ fadds f7, f4, f29 +/* 802A4CFC 002A1C5C C0 6F 00 0C */ lfs f3, 0xc(r15) +/* 802A4D00 002A1C60 EC 06 F8 2A */ fadds f0, f6, f31 +/* 802A4D04 002A1C64 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A4D08 002A1C68 C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4D0C 002A1C6C D0 C1 01 FC */ stfs f6, 0x1fc(r1) +/* 802A4D10 002A1C70 D0 A1 02 00 */ stfs f5, 0x200(r1) +/* 802A4D14 002A1C74 D0 81 02 04 */ stfs f4, 0x204(r1) +/* 802A4D18 002A1C78 D0 61 02 08 */ stfs f3, 0x208(r1) +/* 802A4D1C 002A1C7C D0 41 02 0C */ stfs f2, 0x20c(r1) +/* 802A4D20 002A1C80 D0 21 02 10 */ stfs f1, 0x210(r1) +/* 802A4D24 002A1C84 D0 01 01 9C */ stfs f0, 0x19c(r1) +/* 802A4D28 002A1C88 D1 01 01 A0 */ stfs f8, 0x1a0(r1) +/* 802A4D2C 002A1C8C D0 E1 01 A4 */ stfs f7, 0x1a4(r1) +/* 802A4D30 002A1C90 48 09 2D D9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4D34 002A1C94 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A4D38 002A1C98 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A4D3C 002A1C9C C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4D40 002A1CA0 38 81 01 90 */ addi r4, r1, 0x190 +/* 802A4D44 002A1CA4 C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A4D48 002A1CA8 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A4D4C 002A1CAC EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A4D50 002A1CB0 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A4D54 002A1CB4 D0 41 01 94 */ stfs f2, 0x194(r1) +/* 802A4D58 002A1CB8 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 802A4D5C 002A1CBC D0 21 01 98 */ stfs f1, 0x198(r1) +/* 802A4D60 002A1CC0 48 09 2D A9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4D64 002A1CC4 38 61 01 84 */ addi r3, r1, 0x184 +/* 802A4D68 002A1CC8 38 81 01 FC */ addi r4, r1, 0x1fc +/* 802A4D6C 002A1CCC 48 09 28 A1 */ bl GetCenterPoint__6CAABoxCFv +/* 802A4D70 002A1CD0 C0 61 02 0C */ lfs f3, 0x20c(r1) +/* 802A4D74 002A1CD4 C0 41 02 00 */ lfs f2, 0x200(r1) +/* 802A4D78 002A1CD8 C0 21 02 10 */ lfs f1, 0x210(r1) +/* 802A4D7C 002A1CDC C0 01 02 04 */ lfs f0, 0x204(r1) +/* 802A4D80 002A1CE0 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A4D84 002A1CE4 80 61 00 08 */ lwz r3, 8(r1) +/* 802A4D88 002A1CE8 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A4D8C 002A1CEC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A4D90 002A1CF0 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 802A4D94 002A1CF4 38 03 00 08 */ addi r0, r3, 8 +/* 802A4D98 002A1CF8 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A4D9C 002A1CFC C0 01 01 FC */ lfs f0, 0x1fc(r1) +/* 802A4DA0 002A1D00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A4DA4 002A1D04 90 01 03 74 */ stw r0, 0x374(r1) +/* 802A4DA8 002A1D08 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A4DAC 002A1D0C 38 00 00 00 */ li r0, 0 +/* 802A4DB0 002A1D10 C0 61 01 84 */ lfs f3, 0x184(r1) +/* 802A4DB4 002A1D14 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A4DB8 002A1D18 C0 41 01 88 */ lfs f2, 0x188(r1) +/* 802A4DBC 002A1D1C C0 21 01 8C */ lfs f1, 0x18c(r1) +/* 802A4DC0 002A1D20 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A4DC4 002A1D24 38 00 00 00 */ li r0, 0 +/* 802A4DC8 002A1D28 D0 61 01 F0 */ stfs f3, 0x1f0(r1) +/* 802A4DCC 002A1D2C 90 01 03 68 */ stw r0, 0x368(r1) +/* 802A4DD0 002A1D30 D0 41 01 F4 */ stfs f2, 0x1f4(r1) +/* 802A4DD4 002A1D34 D0 21 01 F8 */ stfs f1, 0x1f8(r1) +/* 802A4DD8 002A1D38 D0 01 01 E4 */ stfs f0, 0x1e4(r1) +/* 802A4DDC 002A1D3C D0 C1 01 E8 */ stfs f6, 0x1e8(r1) +/* 802A4DE0 002A1D40 D0 A1 01 EC */ stfs f5, 0x1ec(r1) +/* 802A4DE4 002A1D44 48 00 0E 14 */ b lbl_802A5BF8 +lbl_802A4DE8: +/* 802A4DE8 002A1D48 80 81 03 74 */ lwz r4, 0x374(r1) +/* 802A4DEC 002A1D4C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A4DF0 002A1D50 48 09 2D 95 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A4DF4 002A1D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4DF8 002A1D58 41 82 0D E8 */ beq lbl_802A5BE0 +/* 802A4DFC 002A1D5C 80 81 03 74 */ lwz r4, 0x374(r1) +/* 802A4E00 002A1D60 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A4E04 002A1D64 4B FF DF 39 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A4E08 002A1D68 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802A4E0C 002A1D6C 3C 80 80 59 */ lis r4, lbl_80597BAC@ha +/* 802A4E10 002A1D70 80 61 03 74 */ lwz r3, 0x374(r1) +/* 802A4E14 002A1D74 90 01 03 70 */ stw r0, 0x370(r1) +/* 802A4E18 002A1D78 83 E3 00 1C */ lwz r31, 0x1c(r3) +/* 802A4E1C 002A1D7C 7C 03 03 78 */ mr r3, r0 +/* 802A4E20 002A1D80 A0 03 00 18 */ lhz r0, 0x18(r3) +/* 802A4E24 002A1D84 90 01 03 64 */ stw r0, 0x364(r1) +/* 802A4E28 002A1D88 38 04 7B AC */ addi r0, r4, lbl_80597BAC@l +/* 802A4E2C 002A1D8C 90 01 03 78 */ stw r0, 0x378(r1) +/* 802A4E30 002A1D90 38 00 00 00 */ li r0, 0 +/* 802A4E34 002A1D94 90 01 03 60 */ stw r0, 0x360(r1) +/* 802A4E38 002A1D98 48 00 0D 98 */ b lbl_802A5BD0 +lbl_802A4E3C: +/* 802A4E3C 002A1D9C 80 61 03 70 */ lwz r3, 0x370(r1) +/* 802A4E40 002A1DA0 A0 CD A5 D0 */ lhz r6, lbl_805A9190@sda21(r13) +/* 802A4E44 002A1DA4 A1 C3 00 1A */ lhz r14, 0x1a(r3) +/* 802A4E48 002A1DA8 80 61 03 78 */ lwz r3, 0x378(r1) +/* 802A4E4C 002A1DAC 55 C5 0B FC */ rlwinm r5, r14, 1, 0xf, 0x1e +/* 802A4E50 002A1DB0 7C 03 2A 2E */ lhzx r0, r3, r5 +/* 802A4E54 002A1DB4 7C 06 00 40 */ cmplw r6, r0 +/* 802A4E58 002A1DB8 41 82 0D 60 */ beq lbl_802A5BB8 +/* 802A4E5C 002A1DBC 80 8D A5 C8 */ lwz r4, lbl_805A9188@sda21(r13) +/* 802A4E60 002A1DC0 38 00 00 00 */ li r0, 0 +/* 802A4E64 002A1DC4 7C C3 2B 2E */ sthx r6, r3, r5 +/* 802A4E68 002A1DC8 38 A4 00 01 */ addi r5, r4, 1 +/* 802A4E6C 002A1DCC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802A4E70 002A1DD0 90 AD A5 C8 */ stw r5, lbl_805A9188@sda21(r13) +/* 802A4E74 002A1DD4 38 81 00 40 */ addi r4, r1, 0x40 +/* 802A4E78 002A1DD8 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802A4E7C 002A1DDC 80 DF 00 28 */ lwz r6, 0x28(r31) +/* 802A4E80 002A1DE0 7C A5 70 AE */ lbzx r5, r5, r14 +/* 802A4E84 002A1DE4 54 A5 10 3A */ slwi r5, r5, 2 +/* 802A4E88 002A1DE8 7E A6 28 2E */ lwzx r21, r6, r5 +/* 802A4E8C 002A1DEC 92 A1 00 44 */ stw r21, 0x44(r1) +/* 802A4E90 002A1DF0 90 01 00 40 */ stw r0, 0x40(r1) +/* 802A4E94 002A1DF4 48 03 04 B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A4E98 002A1DF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4E9C 002A1DFC 41 82 0D 1C */ beq lbl_802A5BB8 +/* 802A4EA0 002A1E00 7F E3 FB 78 */ mr r3, r31 +/* 802A4EA4 002A1E04 7D C4 73 78 */ mr r4, r14 +/* 802A4EA8 002A1E08 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A4EAC 002A1E0C 4B FF DA D9 */ bl GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs +/* 802A4EB0 002A1E10 A0 A1 00 3C */ lhz r5, 0x3c(r1) +/* 802A4EB4 002A1E14 7E A7 AB 78 */ mr r7, r21 +/* 802A4EB8 002A1E18 A0 81 00 38 */ lhz r4, 0x38(r1) +/* 802A4EBC 002A1E1C 38 61 02 14 */ addi r3, r1, 0x214 +/* 802A4EC0 002A1E20 A0 01 00 3A */ lhz r0, 0x3a(r1) +/* 802A4EC4 002A1E24 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A4EC8 002A1E28 81 1F 00 4C */ lwz r8, 0x4c(r31) +/* 802A4ECC 002A1E2C 1C 84 00 0C */ mulli r4, r4, 0xc +/* 802A4ED0 002A1E30 7C C8 2A 14 */ add r6, r8, r5 +/* 802A4ED4 002A1E34 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A4ED8 002A1E38 7C 88 22 14 */ add r4, r8, r4 +/* 802A4EDC 002A1E3C 7C A8 02 14 */ add r5, r8, r0 +/* 802A4EE0 002A1E40 4B FF D8 49 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A4EE4 002A1E44 38 C1 02 20 */ addi r6, r1, 0x220 +/* 802A4EE8 002A1E48 38 E1 02 2C */ addi r7, r1, 0x22c +/* 802A4EEC 002A1E4C 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 802A4EF0 002A1E50 38 81 01 E4 */ addi r4, r1, 0x1e4 +/* 802A4EF4 002A1E54 38 A1 02 14 */ addi r5, r1, 0x214 +/* 802A4EF8 002A1E58 48 02 C5 E9 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A4EFC 002A1E5C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A4F00 002A1E60 28 00 00 01 */ cmplwi r0, 1 +/* 802A4F04 002A1E64 40 82 0C 4C */ bne lbl_802A5B50 +/* 802A4F08 002A1E68 38 61 01 78 */ addi r3, r1, 0x178 +/* 802A4F0C 002A1E6C 38 81 02 14 */ addi r4, r1, 0x214 +/* 802A4F10 002A1E70 4B FF D7 95 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802A4F14 002A1E74 C3 30 00 04 */ lfs f25, 4(r16) +/* 802A4F18 002A1E78 C0 50 00 00 */ lfs f2, 0(r16) +/* 802A4F1C 002A1E7C EC 19 F0 2A */ fadds f0, f25, f30 +/* 802A4F20 002A1E80 C1 01 02 18 */ lfs f8, 0x218(r1) +/* 802A4F24 002A1E84 C1 81 01 7C */ lfs f12, 0x17c(r1) +/* 802A4F28 002A1E88 EC 22 F8 2A */ fadds f1, f2, f31 +/* 802A4F2C 002A1E8C C3 70 00 08 */ lfs f27, 8(r16) +/* 802A4F30 002A1E90 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802A4F34 002A1E94 C1 21 02 14 */ lfs f9, 0x214(r1) +/* 802A4F38 002A1E98 EC 7B E8 2A */ fadds f3, f27, f29 +/* 802A4F3C 002A1E9C C1 A1 01 78 */ lfs f13, 0x178(r1) +/* 802A4F40 002A1EA0 EC 21 48 28 */ fsubs f1, f1, f9 +/* 802A4F44 002A1EA4 C1 41 02 1C */ lfs f10, 0x21c(r1) +/* 802A4F48 002A1EA8 EC 00 03 32 */ fmuls f0, f0, f12 +/* 802A4F4C 002A1EAC C1 61 01 80 */ lfs f11, 0x180(r1) +/* 802A4F50 002A1EB0 EC 63 50 28 */ fsubs f3, f3, f10 +/* 802A4F54 002A1EB4 C0 F0 00 0C */ lfs f7, 0xc(r16) +/* 802A4F58 002A1EB8 EC 01 03 7A */ fmadds f0, f1, f13, f0 +/* 802A4F5C 002A1EBC D1 A1 01 D8 */ stfs f13, 0x1d8(r1) +/* 802A4F60 002A1EC0 D1 81 01 DC */ stfs f12, 0x1dc(r1) +/* 802A4F64 002A1EC4 EC 03 02 FA */ fmadds f0, f3, f11, f0 +/* 802A4F68 002A1EC8 D1 61 01 E0 */ stfs f11, 0x1e0(r1) +/* 802A4F6C 002A1ECC FC 00 38 40 */ fcmpo cr0, f0, f7 +/* 802A4F70 002A1ED0 41 81 0C 48 */ bgt lbl_802A5BB8 +/* 802A4F74 002A1ED4 EE D9 40 28 */ fsubs f22, f25, f8 +/* 802A4F78 002A1ED8 C3 12 00 04 */ lfs f24, 4(r18) +/* 802A4F7C 002A1EDC EE 82 48 28 */ fsubs f20, f2, f9 +/* 802A4F80 002A1EE0 C0 A1 02 28 */ lfs f5, 0x228(r1) +/* 802A4F84 002A1EE4 EE BB 50 28 */ fsubs f21, f27, f10 +/* 802A4F88 002A1EE8 C3 52 00 00 */ lfs f26, 0(r18) +/* 802A4F8C 002A1EEC EC 76 03 32 */ fmuls f3, f22, f12 +/* 802A4F90 002A1EF0 D2 81 01 6C */ stfs f20, 0x16c(r1) +/* 802A4F94 002A1EF4 EC 38 03 32 */ fmuls f1, f24, f12 +/* 802A4F98 002A1EF8 C2 F2 00 08 */ lfs f23, 8(r18) +/* 802A4F9C 002A1EFC EC 05 50 28 */ fsubs f0, f5, f10 +/* 802A4FA0 002A1F00 C0 81 02 20 */ lfs f4, 0x220(r1) +/* 802A4FA4 002A1F04 EE 74 1B 7A */ fmadds f19, f20, f13, f3 +/* 802A4FA8 002A1F08 D2 A1 01 74 */ stfs f21, 0x174(r1) +/* 802A4FAC 002A1F0C EE 5A 0B 7A */ fmadds f18, f26, f13, f1 +/* 802A4FB0 002A1F10 C0 C1 02 24 */ lfs f6, 0x224(r1) +/* 802A4FB4 002A1F14 D2 C1 01 70 */ stfs f22, 0x170(r1) +/* 802A4FB8 002A1F18 3A C0 00 00 */ li r22, 0 +/* 802A4FBC 002A1F1C EE 95 9A FA */ fmadds f20, f21, f11, f19 +/* 802A4FC0 002A1F20 D0 01 01 50 */ stfs f0, 0x150(r1) +/* 802A4FC4 002A1F24 EE 57 92 FA */ fmadds f18, f23, f11, f18 +/* 802A4FC8 002A1F28 C0 62 C1 4C */ lfs f3, lbl_805ADE6C@sda21(r2) +/* 802A4FCC 002A1F2C EE 64 48 28 */ fsubs f19, f4, f9 +/* 802A4FD0 002A1F30 EF 87 A0 28 */ fsubs f28, f7, f20 +/* 802A4FD4 002A1F34 EC 26 40 28 */ fsubs f1, f6, f8 +/* 802A4FD8 002A1F38 EE A0 03 72 */ fmuls f21, f0, f13 +/* 802A4FDC 002A1F3C D2 61 01 48 */ stfs f19, 0x148(r1) +/* 802A4FE0 002A1F40 FF 9C 90 24 */ fdiv f28, f28, f18 +/* 802A4FE4 002A1F44 D0 21 01 4C */ stfs f1, 0x14c(r1) +/* 802A4FE8 002A1F48 EE CB AC F8 */ fmsubs f22, f11, f19, f21 +/* 802A4FEC 002A1F4C FE 40 E0 18 */ frsp f18, f28 +/* 802A4FF0 002A1F50 EE 81 02 F2 */ fmuls f20, f1, f11 +/* 802A4FF4 002A1F54 D2 C1 01 58 */ stfs f22, 0x158(r1) +/* 802A4FF8 002A1F58 EE B2 06 32 */ fmuls f21, f18, f24 +/* 802A4FFC 002A1F5C EF 12 06 B2 */ fmuls f24, f18, f26 +/* 802A5000 002A1F60 EE 8C A0 38 */ fmsubs f20, f12, f0, f20 +/* 802A5004 002A1F64 EF 59 A8 2A */ fadds f26, f25, f21 +/* 802A5008 002A1F68 EC 12 05 F2 */ fmuls f0, f18, f23 +/* 802A500C 002A1F6C EF 22 C0 2A */ fadds f25, f2, f24 +/* 802A5010 002A1F70 D2 81 01 54 */ stfs f20, 0x154(r1) +/* 802A5014 002A1F74 EE 5A 40 28 */ fsubs f18, f26, f8 +/* 802A5018 002A1F78 EF 7B 00 2A */ fadds f27, f27, f0 +/* 802A501C 002A1F7C EE B3 03 32 */ fmuls f21, f19, f12 +/* 802A5020 002A1F80 EC 59 48 28 */ fsubs f2, f25, f9 +/* 802A5024 002A1F84 D2 41 01 64 */ stfs f18, 0x164(r1) +/* 802A5028 002A1F88 EC 12 05 B2 */ fmuls f0, f18, f22 +/* 802A502C 002A1F8C EC 2D A8 78 */ fmsubs f1, f13, f1, f21 +/* 802A5030 002A1F90 EE 5B 50 28 */ fsubs f18, f27, f10 +/* 802A5034 002A1F94 D0 41 01 60 */ stfs f2, 0x160(r1) +/* 802A5038 002A1F98 EC 02 05 3A */ fmadds f0, f2, f20, f0 +/* 802A503C 002A1F9C D0 21 01 5C */ stfs f1, 0x15c(r1) +/* 802A5040 002A1FA0 EC 12 00 7A */ fmadds f0, f18, f1, f0 +/* 802A5044 002A1FA4 D2 41 01 68 */ stfs f18, 0x168(r1) +/* 802A5048 002A1FA8 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802A504C 002A1FAC 7C 00 00 26 */ mfcr r0 +/* 802A5050 002A1FB0 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 802A5054 002A1FB4 C0 41 02 30 */ lfs f2, 0x230(r1) +/* 802A5058 002A1FB8 54 04 0F FE */ srwi r4, r0, 0x1f +/* 802A505C 002A1FBC EE A0 20 28 */ fsubs f21, f0, f4 +/* 802A5060 002A1FC0 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 802A5064 002A1FC4 EE 82 30 28 */ fsubs f20, f2, f6 +/* 802A5068 002A1FC8 98 81 00 18 */ stb r4, 0x18(r1) +/* 802A506C 002A1FCC EE 61 28 28 */ fsubs f19, f1, f5 +/* 802A5070 002A1FD0 D2 A1 01 24 */ stfs f21, 0x124(r1) +/* 802A5074 002A1FD4 EE F3 03 72 */ fmuls f23, f19, f13 +/* 802A5078 002A1FD8 D2 81 01 28 */ stfs f20, 0x128(r1) +/* 802A507C 002A1FDC EE D4 02 F2 */ fmuls f22, f20, f11 +/* 802A5080 002A1FE0 EE 5A 30 28 */ fsubs f18, f26, f6 +/* 802A5084 002A1FE4 D2 61 01 2C */ stfs f19, 0x12c(r1) +/* 802A5088 002A1FE8 EF 0B BD 78 */ fmsubs f24, f11, f21, f23 +/* 802A508C 002A1FEC EE CC B4 F8 */ fmsubs f22, f12, f19, f22 +/* 802A5090 002A1FF0 EE F5 03 32 */ fmuls f23, f21, f12 +/* 802A5094 002A1FF4 D2 41 01 40 */ stfs f18, 0x140(r1) +/* 802A5098 002A1FF8 EC D9 20 28 */ fsubs f6, f25, f4 +/* 802A509C 002A1FFC EC 92 06 32 */ fmuls f4, f18, f24 +/* 802A50A0 002A2000 D2 C1 01 30 */ stfs f22, 0x130(r1) +/* 802A50A4 002A2004 EE ED BD 38 */ fmsubs f23, f13, f20, f23 +/* 802A50A8 002A2008 EC BB 28 28 */ fsubs f5, f27, f5 +/* 802A50AC 002A200C D3 01 01 34 */ stfs f24, 0x134(r1) +/* 802A50B0 002A2010 EC 86 25 BA */ fmadds f4, f6, f22, f4 +/* 802A50B4 002A2014 D2 E1 01 38 */ stfs f23, 0x138(r1) +/* 802A50B8 002A2018 EC 85 25 FA */ fmadds f4, f5, f23, f4 +/* 802A50BC 002A201C D0 C1 01 3C */ stfs f6, 0x13c(r1) +/* 802A50C0 002A2020 D0 A1 01 44 */ stfs f5, 0x144(r1) +/* 802A50C4 002A2024 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802A50C8 002A2028 7C 00 00 26 */ mfcr r0 +/* 802A50CC 002A202C ED 4A 08 28 */ fsubs f10, f10, f1 +/* 802A50D0 002A2030 EE 48 10 28 */ fsubs f18, f8, f2 +/* 802A50D4 002A2034 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802A50D8 002A2038 ED 09 00 28 */ fsubs f8, f9, f0 +/* 802A50DC 002A203C 98 61 00 19 */ stb r3, 0x19(r1) +/* 802A50E0 002A2040 EC 8A 03 72 */ fmuls f4, f10, f13 +/* 802A50E4 002A2044 EC D2 02 F2 */ fmuls f6, f18, f11 +/* 802A50E8 002A2048 ED 3A 10 28 */ fsubs f9, f26, f2 +/* 802A50EC 002A204C D1 01 01 00 */ stfs f8, 0x100(r1) +/* 802A50F0 002A2050 EC AB 22 38 */ fmsubs f5, f11, f8, f4 +/* 802A50F4 002A2054 EC CC 32 B8 */ fmsubs f6, f12, f10, f6 +/* 802A50F8 002A2058 D2 41 01 04 */ stfs f18, 0x104(r1) +/* 802A50FC 002A205C EC 88 03 32 */ fmuls f4, f8, f12 +/* 802A5100 002A2060 EC 59 00 28 */ fsubs f2, f25, f0 +/* 802A5104 002A2064 D1 41 01 08 */ stfs f10, 0x108(r1) +/* 802A5108 002A2068 EC 09 01 72 */ fmuls f0, f9, f5 +/* 802A510C 002A206C EC 8D 24 B8 */ fmsubs f4, f13, f18, f4 +/* 802A5110 002A2070 D0 C1 01 0C */ stfs f6, 0x10c(r1) +/* 802A5114 002A2074 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 802A5118 002A2078 EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 802A511C 002A207C D0 A1 01 10 */ stfs f5, 0x110(r1) +/* 802A5120 002A2080 D0 81 01 14 */ stfs f4, 0x114(r1) +/* 802A5124 002A2084 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802A5128 002A2088 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 802A512C 002A208C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802A5130 002A2090 D1 21 01 1C */ stfs f9, 0x11c(r1) +/* 802A5134 002A2094 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 802A5138 002A2098 7C 00 00 26 */ mfcr r0 +/* 802A513C 002A209C C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A5140 002A20A0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A5144 002A20A4 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802A5148 002A20A8 98 01 00 1A */ stb r0, 0x1a(r1) +/* 802A514C 002A20AC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5150 002A20B0 40 82 01 30 */ bne lbl_802A5280 +/* 802A5154 002A20B4 28 04 00 00 */ cmplwi r4, 0 +/* 802A5158 002A20B8 40 82 01 28 */ bne lbl_802A5280 +/* 802A515C 002A20BC 28 03 00 00 */ cmplwi r3, 0 +/* 802A5160 002A20C0 40 82 01 20 */ bne lbl_802A5280 +/* 802A5164 002A20C4 28 00 00 00 */ cmplwi r0, 0 +/* 802A5168 002A20C8 40 82 01 18 */ bne lbl_802A5280 +/* 802A516C 002A20CC C8 14 00 00 */ lfd f0, 0(r20) +/* 802A5170 002A20D0 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802A5174 002A20D4 40 80 01 0C */ bge lbl_802A5280 +/* 802A5178 002A20D8 EC 07 03 32 */ fmuls f0, f7, f12 +/* 802A517C 002A20DC 7E 25 8B 78 */ mr r5, r17 +/* 802A5180 002A20E0 EC 47 02 F2 */ fmuls f2, f7, f11 +/* 802A5184 002A20E4 38 61 03 00 */ addi r3, r1, 0x300 +/* 802A5188 002A20E8 EC 27 03 72 */ fmuls f1, f7, f13 +/* 802A518C 002A20EC 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802A5190 002A20F0 EC 9A 00 28 */ fsubs f4, f26, f0 +/* 802A5194 002A20F4 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 802A5198 002A20F8 EC 7B 10 28 */ fsubs f3, f27, f2 +/* 802A519C 002A20FC 38 C1 00 40 */ addi r6, r1, 0x40 +/* 802A51A0 002A2100 EC 19 08 28 */ fsubs f0, f25, f1 +/* 802A51A4 002A2104 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 802A51A8 002A2108 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 802A51AC 002A210C 38 E1 01 D8 */ addi r7, r1, 0x1d8 +/* 802A51B0 002A2110 3A C0 00 01 */ li r22, 1 +/* 802A51B4 002A2114 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 802A51B8 002A2118 D0 81 00 F8 */ stfs f4, 0xf8(r1) +/* 802A51BC 002A211C D0 61 00 FC */ stfs f3, 0xfc(r1) +/* 802A51C0 002A2120 48 02 92 89 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A51C4 002A2124 38 00 00 01 */ li r0, 1 +/* 802A51C8 002A2128 80 61 03 00 */ lwz r3, 0x300(r1) +/* 802A51CC 002A212C 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A51D0 002A2130 80 01 03 04 */ lwz r0, 0x304(r1) +/* 802A51D4 002A2134 90 73 00 00 */ stw r3, 0(r19) +/* 802A51D8 002A2138 90 13 00 04 */ stw r0, 4(r19) +/* 802A51DC 002A213C 80 01 03 08 */ lwz r0, 0x308(r1) +/* 802A51E0 002A2140 90 13 00 08 */ stw r0, 8(r19) +/* 802A51E4 002A2144 80 61 03 0C */ lwz r3, 0x30c(r1) +/* 802A51E8 002A2148 80 01 03 10 */ lwz r0, 0x310(r1) +/* 802A51EC 002A214C 90 73 00 0C */ stw r3, 0xc(r19) +/* 802A51F0 002A2150 90 13 00 10 */ stw r0, 0x10(r19) +/* 802A51F4 002A2154 80 01 03 14 */ lwz r0, 0x314(r1) +/* 802A51F8 002A2158 90 13 00 14 */ stw r0, 0x14(r19) +/* 802A51FC 002A215C 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802A5200 002A2160 80 01 03 1C */ lwz r0, 0x31c(r1) +/* 802A5204 002A2164 90 73 00 18 */ stw r3, 0x18(r19) +/* 802A5208 002A2168 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802A520C 002A216C 80 01 03 20 */ lwz r0, 0x320(r1) +/* 802A5210 002A2170 90 13 00 20 */ stw r0, 0x20(r19) +/* 802A5214 002A2174 80 61 03 24 */ lwz r3, 0x324(r1) +/* 802A5218 002A2178 80 01 03 28 */ lwz r0, 0x328(r1) +/* 802A521C 002A217C 90 73 00 24 */ stw r3, 0x24(r19) +/* 802A5220 002A2180 90 13 00 28 */ stw r0, 0x28(r19) +/* 802A5224 002A2184 80 01 03 2C */ lwz r0, 0x32c(r1) +/* 802A5228 002A2188 90 13 00 2C */ stw r0, 0x2c(r19) +/* 802A522C 002A218C 88 01 03 30 */ lbz r0, 0x330(r1) +/* 802A5230 002A2190 98 13 00 30 */ stb r0, 0x30(r19) +/* 802A5234 002A2194 88 01 03 31 */ lbz r0, 0x331(r1) +/* 802A5238 002A2198 98 13 00 31 */ stb r0, 0x31(r19) +/* 802A523C 002A219C C8 01 03 38 */ lfd f0, 0x338(r1) +/* 802A5240 002A21A0 D8 13 00 38 */ stfd f0, 0x38(r19) +/* 802A5244 002A21A4 C8 01 03 40 */ lfd f0, 0x340(r1) +/* 802A5248 002A21A8 D8 13 00 40 */ stfd f0, 0x40(r19) +/* 802A524C 002A21AC 80 61 03 48 */ lwz r3, 0x348(r1) +/* 802A5250 002A21B0 80 01 03 4C */ lwz r0, 0x34c(r1) +/* 802A5254 002A21B4 90 73 00 48 */ stw r3, 0x48(r19) +/* 802A5258 002A21B8 90 13 00 4C */ stw r0, 0x4c(r19) +/* 802A525C 002A21BC 80 01 03 50 */ lwz r0, 0x350(r1) +/* 802A5260 002A21C0 90 13 00 50 */ stw r0, 0x50(r19) +/* 802A5264 002A21C4 80 61 03 54 */ lwz r3, 0x354(r1) +/* 802A5268 002A21C8 80 01 03 58 */ lwz r0, 0x358(r1) +/* 802A526C 002A21CC 90 73 00 54 */ stw r3, 0x54(r19) +/* 802A5270 002A21D0 90 13 00 58 */ stw r0, 0x58(r19) +/* 802A5274 002A21D4 80 01 03 5C */ lwz r0, 0x35c(r1) +/* 802A5278 002A21D8 90 13 00 5C */ stw r0, 0x5c(r19) +/* 802A527C 002A21DC DB 94 00 00 */ stfd f28, 0(r20) +lbl_802A5280: +/* 802A5280 002A21E0 C0 30 00 04 */ lfs f1, 4(r16) +/* 802A5284 002A21E4 C0 01 02 18 */ lfs f0, 0x218(r1) +/* 802A5288 002A21E8 C0 50 00 00 */ lfs f2, 0(r16) +/* 802A528C 002A21EC EC A1 00 28 */ fsubs f5, f1, f0 +/* 802A5290 002A21F0 C0 21 02 14 */ lfs f1, 0x214(r1) +/* 802A5294 002A21F4 C0 01 01 DC */ lfs f0, 0x1dc(r1) +/* 802A5298 002A21F8 EC 62 08 28 */ fsubs f3, f2, f1 +/* 802A529C 002A21FC C0 90 00 08 */ lfs f4, 8(r16) +/* 802A52A0 002A2200 C0 41 02 1C */ lfs f2, 0x21c(r1) +/* 802A52A4 002A2204 EC 05 00 32 */ fmuls f0, f5, f0 +/* 802A52A8 002A2208 C0 21 01 D8 */ lfs f1, 0x1d8(r1) +/* 802A52AC 002A220C EC 84 10 28 */ fsubs f4, f4, f2 +/* 802A52B0 002A2210 C0 41 01 E0 */ lfs f2, 0x1e0(r1) +/* 802A52B4 002A2214 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 802A52B8 002A2218 C0 10 00 0C */ lfs f0, 0xc(r16) +/* 802A52BC 002A221C D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 802A52C0 002A2220 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802A52C4 002A2224 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802A52C8 002A2228 D0 81 00 E4 */ stfs f4, 0xe4(r1) +/* 802A52CC 002A222C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A52D0 002A2230 4C 40 13 82 */ cror 2, 0, 2 +/* 802A52D4 002A2234 7C A0 00 26 */ mfcr r5 +/* 802A52D8 002A2238 A0 82 C1 48 */ lhz r4, lbl_805ADE68@sda21(r2) +/* 802A52DC 002A223C 88 02 C1 4A */ lbz r0, lbl_805ADE6A@sda21(r2) +/* 802A52E0 002A2240 7F E3 FB 78 */ mr r3, r31 +/* 802A52E4 002A2244 B0 81 00 14 */ sth r4, 0x14(r1) +/* 802A52E8 002A2248 7D C4 73 78 */ mr r4, r14 +/* 802A52EC 002A224C 54 AE 1F FE */ rlwinm r14, r5, 3, 0x1f, 0x1f +/* 802A52F0 002A2250 98 01 00 16 */ stb r0, 0x16(r1) +/* 802A52F4 002A2254 4B FF D6 7D */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A52F8 002A2258 3C 80 80 3F */ lis r4, lbl_803EC428@ha +/* 802A52FC 002A225C 3A E1 02 14 */ addi r23, r1, 0x214 +/* 802A5300 002A2260 3B 01 00 14 */ addi r24, r1, 0x14 +/* 802A5304 002A2264 7C 7C 1B 78 */ mr r28, r3 +/* 802A5308 002A2268 3B 44 C4 28 */ addi r26, r4, lbl_803EC428@l +/* 802A530C 002A226C 7E FB BB 78 */ mr r27, r23 +/* 802A5310 002A2270 7F 19 C3 78 */ mr r25, r24 +/* 802A5314 002A2274 3B A1 00 18 */ addi r29, r1, 0x18 +/* 802A5318 002A2278 3A A0 00 00 */ li r21, 0 +lbl_802A531C: +/* 802A531C 002A227C 28 0E 00 00 */ cmplwi r14, 0 +/* 802A5320 002A2280 40 82 00 10 */ bne lbl_802A5330 +/* 802A5324 002A2284 88 1D 00 00 */ lbz r0, 0(r29) +/* 802A5328 002A2288 28 00 00 00 */ cmplwi r0, 0 +/* 802A532C 002A228C 41 82 04 94 */ beq lbl_802A57C0 +lbl_802A5330: +/* 802A5330 002A2290 A0 DC 00 00 */ lhz r6, 0(r28) +/* 802A5334 002A2294 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha +/* 802A5338 002A2298 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l +/* 802A533C 002A229C A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802A5340 002A22A0 54 C4 08 3C */ slwi r4, r6, 1 +/* 802A5344 002A22A4 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802A5348 002A22A8 7C 05 00 40 */ cmplw r5, r0 +/* 802A534C 002A22AC 41 82 04 74 */ beq lbl_802A57C0 +/* 802A5350 002A22B0 7C A3 23 2E */ sthx r5, r3, r4 +/* 802A5354 002A22B4 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802A5358 002A22B8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 802A535C 002A22BC 7C 03 30 AE */ lbzx r0, r3, r6 +/* 802A5360 002A22C0 54 00 10 3A */ slwi r0, r0, 2 +/* 802A5364 002A22C4 7F C4 00 2E */ lwzx r30, r4, r0 +/* 802A5368 002A22C8 57 C0 01 CF */ rlwinm. r0, r30, 0, 7, 7 +/* 802A536C 002A22CC 40 82 04 54 */ bne lbl_802A57C0 +/* 802A5370 002A22D0 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A5374 002A22D4 38 81 02 14 */ addi r4, r1, 0x214 +/* 802A5378 002A22D8 C0 9B 00 04 */ lfs f4, 4(r27) +/* 802A537C 002A22DC 38 61 01 CC */ addi r3, r1, 0x1cc +/* 802A5380 002A22E0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A5384 002A22E4 C0 5B 00 08 */ lfs f2, 8(r27) +/* 802A5388 002A22E8 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802A538C 002A22EC 7C 84 02 14 */ add r4, r4, r0 +/* 802A5390 002A22F0 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802A5394 002A22F4 C0 64 00 08 */ lfs f3, 8(r4) +/* 802A5398 002A22F8 C0 24 00 00 */ lfs f1, 0(r4) +/* 802A539C 002A22FC EC 85 20 28 */ fsubs f4, f5, f4 +/* 802A53A0 002A2300 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802A53A4 002A2304 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A53A8 002A2308 D0 81 01 D0 */ stfs f4, 0x1d0(r1) +/* 802A53AC 002A230C D0 01 01 CC */ stfs f0, 0x1cc(r1) +/* 802A53B0 002A2310 D0 41 01 D4 */ stfs f2, 0x1d4(r1) +/* 802A53B4 002A2314 48 06 F5 05 */ bl Magnitude__9CVector3fCFv +/* 802A53B8 002A2318 C0 42 C1 64 */ lfs f2, lbl_805ADE84@sda21(r2) +/* 802A53BC 002A231C C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802A53C0 002A2320 EC E2 08 24 */ fdivs f7, f2, f1 +/* 802A53C4 002A2324 C0 A1 01 CC */ lfs f5, 0x1cc(r1) +/* 802A53C8 002A2328 C0 61 01 D4 */ lfs f3, 0x1d4(r1) +/* 802A53CC 002A232C C2 92 00 04 */ lfs f20, 4(r18) +/* 802A53D0 002A2330 C0 52 00 00 */ lfs f2, 0(r18) +/* 802A53D4 002A2334 C0 D2 00 08 */ lfs f6, 8(r18) +/* 802A53D8 002A2338 ED 80 01 F2 */ fmuls f12, f0, f7 +/* 802A53DC 002A233C C0 90 00 04 */ lfs f4, 4(r16) +/* 802A53E0 002A2340 ED A5 01 F2 */ fmuls f13, f5, f7 +/* 802A53E4 002A2344 C0 1B 00 04 */ lfs f0, 4(r27) +/* 802A53E8 002A2348 ED 43 01 F2 */ fmuls f10, f3, f7 +/* 802A53EC 002A234C C1 30 00 00 */ lfs f9, 0(r16) +/* 802A53F0 002A2350 EC 74 03 32 */ fmuls f3, f20, f12 +/* 802A53F4 002A2354 C1 1B 00 00 */ lfs f8, 0(r27) +/* 802A53F8 002A2358 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802A53FC 002A235C C0 F0 00 08 */ lfs f7, 8(r16) +/* 802A5400 002A2360 C0 BB 00 08 */ lfs f5, 8(r27) +/* 802A5404 002A2364 EE 69 40 28 */ fsubs f19, f9, f8 +/* 802A5408 002A2368 EC 62 1B 7A */ fmadds f3, f2, f13, f3 +/* 802A540C 002A236C C1 62 C1 4C */ lfs f11, lbl_805ADE6C@sda21(r2) +/* 802A5410 002A2370 EC 80 03 32 */ fmuls f4, f0, f12 +/* 802A5414 002A2374 D1 A1 01 CC */ stfs f13, 0x1cc(r1) +/* 802A5418 002A2378 EE 47 28 28 */ fsubs f18, f7, f5 +/* 802A541C 002A237C EC A6 1A BA */ fmadds f5, f6, f10, f3 +/* 802A5420 002A2380 EC 93 23 7A */ fmadds f4, f19, f13, f4 +/* 802A5424 002A2384 D1 81 01 D0 */ stfs f12, 0x1d0(r1) +/* 802A5428 002A2388 EC 65 03 32 */ fmuls f3, f5, f12 +/* 802A542C 002A238C D1 41 01 D4 */ stfs f10, 0x1d4(r1) +/* 802A5430 002A2390 EC E5 03 72 */ fmuls f7, f5, f13 +/* 802A5434 002A2394 EC 92 22 BA */ fmadds f4, f18, f10, f4 +/* 802A5438 002A2398 EE 94 18 28 */ fsubs f20, f20, f3 +/* 802A543C 002A239C ED 05 02 B2 */ fmuls f8, f5, f10 +/* 802A5440 002A23A0 EC 62 38 28 */ fsubs f3, f2, f7 +/* 802A5444 002A23A4 EC F4 05 32 */ fmuls f7, f20, f20 +/* 802A5448 002A23A8 EC 46 40 28 */ fsubs f2, f6, f8 +/* 802A544C 002A23AC ED 24 03 72 */ fmuls f9, f4, f13 +/* 802A5450 002A23B0 EC C3 38 FA */ fmadds f6, f3, f3, f7 +/* 802A5454 002A23B4 ED 04 03 32 */ fmuls f8, f4, f12 +/* 802A5458 002A23B8 EC E4 02 B2 */ fmuls f7, f4, f10 +/* 802A545C 002A23BC EC C2 30 BA */ fmadds f6, f2, f2, f6 +/* 802A5460 002A23C0 ED B3 48 28 */ fsubs f13, f19, f9 +/* 802A5464 002A23C4 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802A5468 002A23C8 FC 06 58 40 */ fcmpo cr0, f6, f11 +/* 802A546C 002A23CC ED 92 38 28 */ fsubs f12, f18, f7 +/* 802A5470 002A23D0 40 81 03 50 */ ble lbl_802A57C0 +/* 802A5474 002A23D4 EC E0 00 32 */ fmuls f7, f0, f0 +/* 802A5478 002A23D8 C1 50 00 0C */ lfs f10, 0xc(r16) +/* 802A547C 002A23DC ED 20 05 32 */ fmuls f9, f0, f20 +/* 802A5480 002A23E0 C1 02 C1 6C */ lfs f8, lbl_805ADE8C@sda21(r2) +/* 802A5484 002A23E4 EC 0A 02 B2 */ fmuls f0, f10, f10 +/* 802A5488 002A23E8 C1 42 C1 68 */ lfs f10, lbl_805ADE88@sda21(r2) +/* 802A548C 002A23EC EC ED 3B 7A */ fmadds f7, f13, f13, f7 +/* 802A5490 002A23F0 ED 2D 48 FA */ fmadds f9, f13, f3, f9 +/* 802A5494 002A23F4 ED 08 01 B2 */ fmuls f8, f8, f6 +/* 802A5498 002A23F8 EC 6C 3B 3A */ fmadds f3, f12, f12, f7 +/* 802A549C 002A23FC EC EC 48 BA */ fmadds f7, f12, f2, f9 +/* 802A54A0 002A2400 EC 43 00 28 */ fsubs f2, f3, f0 +/* 802A54A4 002A2404 EC 0A 01 F2 */ fmuls f0, f10, f7 +/* 802A54A8 002A2408 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 802A54AC 002A240C ED 20 10 38 */ fmsubs f9, f0, f0, f2 +/* 802A54B0 002A2410 FC 09 58 40 */ fcmpo cr0, f9, f11 +/* 802A54B4 002A2414 4C 41 13 82 */ cror 2, 1, 2 +/* 802A54B8 002A2418 40 82 02 F4 */ bne lbl_802A57AC +/* 802A54BC 002A241C C9 02 C1 70 */ lfd f8, lbl_805ADE90@sda21(r2) +/* 802A54C0 002A2420 C8 E2 C1 58 */ lfd f7, lbl_805ADE78@sda21(r2) +/* 802A54C4 002A2424 FC 48 30 24 */ fdiv f2, f8, f6 +/* 802A54C8 002A2428 FC 09 38 40 */ fcmpo cr0, f9, f7 +/* 802A54CC 002A242C 40 81 00 54 */ ble lbl_802A5520 +/* 802A54D0 002A2430 FC C0 48 34 */ frsqrte f6, f9 +/* 802A54D4 002A2434 C8 E2 C1 78 */ lfd f7, lbl_805ADE98@sda21(r2) +/* 802A54D8 002A2438 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A54DC 002A243C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A54E0 002A2440 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A54E4 002A2444 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802A54E8 002A2448 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A54EC 002A244C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A54F0 002A2450 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A54F4 002A2454 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802A54F8 002A2458 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A54FC 002A245C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A5500 002A2460 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A5504 002A2464 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802A5508 002A2468 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A550C 002A246C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A5510 002A2470 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A5514 002A2474 FC 66 00 F2 */ fmul f3, f6, f3 +/* 802A5518 002A2478 FC E9 00 F2 */ fmul f7, f9, f3 +/* 802A551C 002A247C 48 00 00 2C */ b lbl_802A5548 +lbl_802A5520: +/* 802A5520 002A2480 FC 07 48 00 */ fcmpu cr0, f7, f9 +/* 802A5524 002A2484 40 82 00 08 */ bne lbl_802A552C +/* 802A5528 002A2488 48 00 00 20 */ b lbl_802A5548 +lbl_802A552C: +/* 802A552C 002A248C FC 09 38 00 */ fcmpu cr0, f9, f7 +/* 802A5530 002A2490 41 82 00 10 */ beq lbl_802A5540 +/* 802A5534 002A2494 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 802A5538 002A2498 C0 E3 8B A0 */ lfs f7, lbl_805A8BA0@l(r3) +/* 802A553C 002A249C 48 00 00 0C */ b lbl_802A5548 +lbl_802A5540: +/* 802A5540 002A24A0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 802A5544 002A24A4 C0 E3 8B A4 */ lfs f7, lbl_805A8BA4@l(r3) +lbl_802A5548: +/* 802A5548 002A24A8 FC 60 00 50 */ fneg f3, f0 +/* 802A554C 002A24AC C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A5550 002A24B0 FC 63 38 28 */ fsub f3, f3, f7 +/* 802A5554 002A24B4 FE E2 00 F2 */ fmul f23, f2, f3 +/* 802A5558 002A24B8 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802A555C 002A24BC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5560 002A24C0 40 82 02 60 */ bne lbl_802A57C0 +/* 802A5564 002A24C4 FC 77 21 7A */ fmadd f3, f23, f5, f4 +/* 802A5568 002A24C8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A556C 002A24CC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5570 002A24D0 40 82 01 E0 */ bne lbl_802A5750 +/* 802A5574 002A24D4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802A5578 002A24D8 4C 40 13 82 */ cror 2, 0, 2 +/* 802A557C 002A24DC 40 82 01 D4 */ bne lbl_802A5750 +/* 802A5580 002A24E0 C8 14 00 00 */ lfd f0, 0(r20) +/* 802A5584 002A24E4 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802A5588 002A24E8 40 80 01 C8 */ bge lbl_802A5750 +/* 802A558C 002A24EC FD 00 18 18 */ frsp f8, f3 +/* 802A5590 002A24F0 C0 21 01 D0 */ lfs f1, 0x1d0(r1) +/* 802A5594 002A24F4 C0 01 01 D4 */ lfs f0, 0x1d4(r1) +/* 802A5598 002A24F8 FC 60 B8 18 */ frsp f3, f23 +/* 802A559C 002A24FC C0 81 01 CC */ lfs f4, 0x1cc(r1) +/* 802A55A0 002A2500 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802A55A4 002A2504 C0 52 00 04 */ lfs f2, 4(r18) +/* 802A55A8 002A2508 EC E8 00 72 */ fmuls f7, f8, f1 +/* 802A55AC 002A250C C0 32 00 08 */ lfs f1, 8(r18) +/* 802A55B0 002A2510 EC A8 00 32 */ fmuls f5, f8, f0 +/* 802A55B4 002A2514 C0 12 00 00 */ lfs f0, 0(r18) +/* 802A55B8 002A2518 ED 63 00 B2 */ fmuls f11, f3, f2 +/* 802A55BC 002A251C ED 43 00 72 */ fmuls f10, f3, f1 +/* 802A55C0 002A2520 EC 43 00 32 */ fmuls f2, f3, f0 +/* 802A55C4 002A2524 C1 3B 00 04 */ lfs f9, 4(r27) +/* 802A55C8 002A2528 C0 DB 00 08 */ lfs f6, 8(r27) +/* 802A55CC 002A252C EC 68 01 32 */ fmuls f3, f8, f4 +/* 802A55D0 002A2530 C0 9B 00 00 */ lfs f4, 0(r27) +/* 802A55D4 002A2534 C0 10 00 04 */ lfs f0, 4(r16) +/* 802A55D8 002A2538 C0 30 00 08 */ lfs f1, 8(r16) +/* 802A55DC 002A253C EC E9 38 2A */ fadds f7, f9, f7 +/* 802A55E0 002A2540 ED 00 58 2A */ fadds f8, f0, f11 +/* 802A55E4 002A2544 C0 10 00 00 */ lfs f0, 0(r16) +/* 802A55E8 002A2548 EC A6 28 2A */ fadds f5, f6, f5 +/* 802A55EC 002A254C D0 41 00 AC */ stfs f2, 0xac(r1) +/* 802A55F0 002A2550 EC C1 50 2A */ fadds f6, f1, f10 +/* 802A55F4 002A2554 EC 64 18 2A */ fadds f3, f4, f3 +/* 802A55F8 002A2558 EC 20 10 2A */ fadds f1, f0, f2 +/* 802A55FC 002A255C D0 E1 01 C4 */ stfs f7, 0x1c4(r1) +/* 802A5600 002A2560 EC 88 38 28 */ fsubs f4, f8, f7 +/* 802A5604 002A2564 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802A5608 002A2568 EC 46 28 28 */ fsubs f2, f6, f5 +/* 802A560C 002A256C EC 01 18 28 */ fsubs f0, f1, f3 +/* 802A5610 002A2570 D0 61 01 C0 */ stfs f3, 0x1c0(r1) +/* 802A5614 002A2574 3A C0 00 01 */ li r22, 1 +/* 802A5618 002A2578 D0 A1 01 C8 */ stfs f5, 0x1c8(r1) +/* 802A561C 002A257C D1 61 00 B0 */ stfs f11, 0xb0(r1) +/* 802A5620 002A2580 D1 41 00 B4 */ stfs f10, 0xb4(r1) +/* 802A5624 002A2584 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 802A5628 002A2588 D1 01 00 BC */ stfs f8, 0xbc(r1) +/* 802A562C 002A258C D0 C1 00 C0 */ stfs f6, 0xc0(r1) +/* 802A5630 002A2590 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A5634 002A2594 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 802A5638 002A2598 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802A563C 002A259C 48 06 F2 15 */ bl AsNormalized__9CVector3fCFv +/* 802A5640 002A25A0 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 802A5644 002A25A4 38 00 00 00 */ li r0, 0 +/* 802A5648 002A25A8 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 802A564C 002A25AC 7E 25 8B 78 */ mr r5, r17 +/* 802A5650 002A25B0 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 802A5654 002A25B4 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 802A5658 002A25B8 D0 41 01 B4 */ stfs f2, 0x1b4(r1) +/* 802A565C 002A25BC 38 81 01 C0 */ addi r4, r1, 0x1c0 +/* 802A5660 002A25C0 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802A5664 002A25C4 38 E1 01 B4 */ addi r7, r1, 0x1b4 +/* 802A5668 002A25C8 D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 802A566C 002A25CC D0 01 01 BC */ stfs f0, 0x1bc(r1) +/* 802A5670 002A25D0 93 C1 00 2C */ stw r30, 0x2c(r1) +/* 802A5674 002A25D4 90 01 00 28 */ stw r0, 0x28(r1) +/* 802A5678 002A25D8 48 02 8D D1 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A567C 002A25DC 80 C1 02 A0 */ lwz r6, 0x2a0(r1) +/* 802A5680 002A25E0 38 00 00 01 */ li r0, 1 +/* 802A5684 002A25E4 80 A1 02 A4 */ lwz r5, 0x2a4(r1) +/* 802A5688 002A25E8 38 80 00 00 */ li r4, 0 +/* 802A568C 002A25EC 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A5690 002A25F0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A5694 002A25F4 90 D3 00 00 */ stw r6, 0(r19) +/* 802A5698 002A25F8 90 B3 00 04 */ stw r5, 4(r19) +/* 802A569C 002A25FC 80 01 02 A8 */ lwz r0, 0x2a8(r1) +/* 802A56A0 002A2600 98 99 00 00 */ stb r4, 0(r25) +/* 802A56A4 002A2604 90 13 00 08 */ stw r0, 8(r19) +/* 802A56A8 002A2608 80 A1 02 AC */ lwz r5, 0x2ac(r1) +/* 802A56AC 002A260C 80 01 02 B0 */ lwz r0, 0x2b0(r1) +/* 802A56B0 002A2610 90 B3 00 0C */ stw r5, 0xc(r19) +/* 802A56B4 002A2614 90 13 00 10 */ stw r0, 0x10(r19) +/* 802A56B8 002A2618 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 802A56BC 002A261C 90 13 00 14 */ stw r0, 0x14(r19) +/* 802A56C0 002A2620 80 A1 02 B8 */ lwz r5, 0x2b8(r1) +/* 802A56C4 002A2624 80 01 02 BC */ lwz r0, 0x2bc(r1) +/* 802A56C8 002A2628 90 B3 00 18 */ stw r5, 0x18(r19) +/* 802A56CC 002A262C 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802A56D0 002A2630 80 01 02 C0 */ lwz r0, 0x2c0(r1) +/* 802A56D4 002A2634 90 13 00 20 */ stw r0, 0x20(r19) +/* 802A56D8 002A2638 80 A1 02 C4 */ lwz r5, 0x2c4(r1) +/* 802A56DC 002A263C 80 01 02 C8 */ lwz r0, 0x2c8(r1) +/* 802A56E0 002A2640 90 B3 00 24 */ stw r5, 0x24(r19) +/* 802A56E4 002A2644 90 13 00 28 */ stw r0, 0x28(r19) +/* 802A56E8 002A2648 80 01 02 CC */ lwz r0, 0x2cc(r1) +/* 802A56EC 002A264C 90 13 00 2C */ stw r0, 0x2c(r19) +/* 802A56F0 002A2650 88 01 02 D0 */ lbz r0, 0x2d0(r1) +/* 802A56F4 002A2654 98 13 00 30 */ stb r0, 0x30(r19) +/* 802A56F8 002A2658 88 01 02 D1 */ lbz r0, 0x2d1(r1) +/* 802A56FC 002A265C 98 13 00 31 */ stb r0, 0x31(r19) +/* 802A5700 002A2660 C8 01 02 D8 */ lfd f0, 0x2d8(r1) +/* 802A5704 002A2664 D8 13 00 38 */ stfd f0, 0x38(r19) +/* 802A5708 002A2668 C8 01 02 E0 */ lfd f0, 0x2e0(r1) +/* 802A570C 002A266C D8 13 00 40 */ stfd f0, 0x40(r19) +/* 802A5710 002A2670 80 A1 02 E8 */ lwz r5, 0x2e8(r1) +/* 802A5714 002A2674 80 01 02 EC */ lwz r0, 0x2ec(r1) +/* 802A5718 002A2678 90 B3 00 48 */ stw r5, 0x48(r19) +/* 802A571C 002A267C 90 13 00 4C */ stw r0, 0x4c(r19) +/* 802A5720 002A2680 80 01 02 F0 */ lwz r0, 0x2f0(r1) +/* 802A5724 002A2684 90 13 00 50 */ stw r0, 0x50(r19) +/* 802A5728 002A2688 80 A1 02 F4 */ lwz r5, 0x2f4(r1) +/* 802A572C 002A268C 80 01 02 F8 */ lwz r0, 0x2f8(r1) +/* 802A5730 002A2690 90 B3 00 54 */ stw r5, 0x54(r19) +/* 802A5734 002A2694 90 13 00 58 */ stw r0, 0x58(r19) +/* 802A5738 002A2698 80 01 02 FC */ lwz r0, 0x2fc(r1) +/* 802A573C 002A269C 90 13 00 5C */ stw r0, 0x5c(r19) +/* 802A5740 002A26A0 DA F4 00 00 */ stfd f23, 0(r20) +/* 802A5744 002A26A4 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A5748 002A26A8 7C 83 01 AE */ stbx r4, r3, r0 +/* 802A574C 002A26AC 48 00 00 74 */ b lbl_802A57C0 +lbl_802A5750: +/* 802A5750 002A26B0 C0 50 00 0C */ lfs f2, 0xc(r16) +/* 802A5754 002A26B4 FC 00 10 50 */ fneg f0, f2 +/* 802A5758 002A26B8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A575C 002A26BC 40 80 00 20 */ bge lbl_802A577C +/* 802A5760 002A26C0 C0 02 C1 4C */ lfs f0, lbl_805ADE6C@sda21(r2) +/* 802A5764 002A26C4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802A5768 002A26C8 4C 40 13 82 */ cror 2, 0, 2 +/* 802A576C 002A26CC 40 82 00 10 */ bne lbl_802A577C +/* 802A5770 002A26D0 38 00 00 00 */ li r0, 0 +/* 802A5774 002A26D4 98 19 00 00 */ stb r0, 0(r25) +/* 802A5778 002A26D8 48 00 00 48 */ b lbl_802A57C0 +lbl_802A577C: +/* 802A577C 002A26DC EC 01 10 2A */ fadds f0, f1, f2 +/* 802A5780 002A26E0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A5784 002A26E4 40 81 00 3C */ ble lbl_802A57C0 +/* 802A5788 002A26E8 C0 02 C1 4C */ lfs f0, lbl_805ADE6C@sda21(r2) +/* 802A578C 002A26EC FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802A5790 002A26F0 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5794 002A26F4 40 82 00 2C */ bne lbl_802A57C0 +/* 802A5798 002A26F8 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A579C 002A26FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A57A0 002A2700 38 80 00 00 */ li r4, 0 +/* 802A57A4 002A2704 7C 83 01 AE */ stbx r4, r3, r0 +/* 802A57A8 002A2708 48 00 00 18 */ b lbl_802A57C0 +lbl_802A57AC: +/* 802A57AC 002A270C 38 80 00 00 */ li r4, 0 +/* 802A57B0 002A2710 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A57B4 002A2714 98 99 00 00 */ stb r4, 0(r25) +/* 802A57B8 002A2718 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A57BC 002A271C 7C 83 01 AE */ stbx r4, r3, r0 +lbl_802A57C0: +/* 802A57C0 002A2720 3A B5 00 01 */ addi r21, r21, 1 +/* 802A57C4 002A2724 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A57C8 002A2728 2C 15 00 03 */ cmpwi r21, 3 +/* 802A57CC 002A272C 3B 7B 00 0C */ addi r27, r27, 0xc +/* 802A57D0 002A2730 3B 5A 00 04 */ addi r26, r26, 4 +/* 802A57D4 002A2734 3B 39 00 01 */ addi r25, r25, 1 +/* 802A57D8 002A2738 3B BD 00 01 */ addi r29, r29, 1 +/* 802A57DC 002A273C 41 80 FB 40 */ blt lbl_802A531C +/* 802A57E0 002A2740 39 C1 00 38 */ addi r14, r1, 0x38 +/* 802A57E4 002A2744 3A A0 00 00 */ li r21, 0 +lbl_802A57E8: +/* 802A57E8 002A2748 88 18 00 00 */ lbz r0, 0(r24) +/* 802A57EC 002A274C A3 2E 00 00 */ lhz r25, 0(r14) +/* 802A57F0 002A2750 28 00 00 00 */ cmplwi r0, 0 +/* 802A57F4 002A2754 41 82 02 10 */ beq lbl_802A5A04 +/* 802A57F8 002A2758 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A57FC 002A275C 57 24 08 3C */ slwi r4, r25, 1 +/* 802A5800 002A2760 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802A5804 002A2764 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802A5808 002A2768 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802A580C 002A276C 7C 05 00 40 */ cmplw r5, r0 +/* 802A5810 002A2770 41 82 02 08 */ beq lbl_802A5A18 +/* 802A5814 002A2774 7C A3 23 2E */ sthx r5, r3, r4 +/* 802A5818 002A2778 7E 04 83 78 */ mr r4, r16 +/* 802A581C 002A277C C0 90 00 0C */ lfs f4, 0xc(r16) +/* 802A5820 002A2780 7E 45 93 78 */ mr r5, r18 +/* 802A5824 002A2784 C8 74 00 00 */ lfd f3, 0(r20) +/* 802A5828 002A2788 38 61 00 9C */ addi r3, r1, 0x9c +/* 802A582C 002A278C C0 57 00 00 */ lfs f2, 0(r23) +/* 802A5830 002A2790 38 C1 00 30 */ addi r6, r1, 0x30 +/* 802A5834 002A2794 C0 37 00 04 */ lfs f1, 4(r23) +/* 802A5838 002A2798 C0 17 00 08 */ lfs f0, 8(r23) +/* 802A583C 002A279C D8 61 00 30 */ stfd f3, 0x30(r1) +/* 802A5840 002A27A0 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 802A5844 002A27A4 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802A5848 002A27A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802A584C 002A27AC D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 802A5850 002A27B0 48 02 E1 81 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +/* 802A5854 002A27B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5858 002A27B8 41 82 01 C0 */ beq lbl_802A5A18 +/* 802A585C 002A27BC C8 21 00 30 */ lfd f1, 0x30(r1) +/* 802A5860 002A27C0 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A5864 002A27C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A5868 002A27C8 4C 41 13 82 */ cror 2, 1, 2 +/* 802A586C 002A27CC 40 82 01 AC */ bne lbl_802A5A18 +/* 802A5870 002A27D0 FC 60 08 18 */ frsp f3, f1 +/* 802A5874 002A27D4 C0 52 00 04 */ lfs f2, 4(r18) +/* 802A5878 002A27D8 C0 32 00 08 */ lfs f1, 8(r18) +/* 802A587C 002A27DC 38 61 00 90 */ addi r3, r1, 0x90 +/* 802A5880 002A27E0 C0 12 00 00 */ lfs f0, 0(r18) +/* 802A5884 002A27E4 38 81 00 84 */ addi r4, r1, 0x84 +/* 802A5888 002A27E8 EC C3 00 B2 */ fmuls f6, f3, f2 +/* 802A588C 002A27EC C0 50 00 04 */ lfs f2, 4(r16) +/* 802A5890 002A27F0 EC A3 00 72 */ fmuls f5, f3, f1 +/* 802A5894 002A27F4 C0 30 00 08 */ lfs f1, 8(r16) +/* 802A5898 002A27F8 EC 83 00 32 */ fmuls f4, f3, f0 +/* 802A589C 002A27FC C0 10 00 00 */ lfs f0, 0(r16) +/* 802A58A0 002A2800 ED 02 30 2A */ fadds f8, f2, f6 +/* 802A58A4 002A2804 C0 57 00 04 */ lfs f2, 4(r23) +/* 802A58A8 002A2808 EC E1 28 2A */ fadds f7, f1, f5 +/* 802A58AC 002A280C C0 37 00 08 */ lfs f1, 8(r23) +/* 802A58B0 002A2810 EC 60 20 2A */ fadds f3, f0, f4 +/* 802A58B4 002A2814 C0 17 00 00 */ lfs f0, 0(r23) +/* 802A58B8 002A2818 EC 48 10 28 */ fsubs f2, f8, f2 +/* 802A58BC 002A281C D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802A58C0 002A2820 EC 27 08 28 */ fsubs f1, f7, f1 +/* 802A58C4 002A2824 3A C0 00 01 */ li r22, 1 +/* 802A58C8 002A2828 EC 03 00 28 */ fsubs f0, f3, f0 +/* 802A58CC 002A282C D0 C1 00 70 */ stfs f6, 0x70(r1) +/* 802A58D0 002A2830 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 802A58D4 002A2834 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802A58D8 002A2838 D1 01 00 7C */ stfs f8, 0x7c(r1) +/* 802A58DC 002A283C D0 E1 00 80 */ stfs f7, 0x80(r1) +/* 802A58E0 002A2840 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802A58E4 002A2844 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802A58E8 002A2848 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802A58EC 002A284C 48 06 EF 65 */ bl AsNormalized__9CVector3fCFv +/* 802A58F0 002A2850 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802A58F4 002A2854 38 00 00 00 */ li r0, 0 +/* 802A58F8 002A2858 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802A58FC 002A285C 7E E4 BB 78 */ mr r4, r23 +/* 802A5900 002A2860 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802A5904 002A2864 7E 25 8B 78 */ mr r5, r17 +/* 802A5908 002A2868 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 802A590C 002A286C 38 61 02 40 */ addi r3, r1, 0x240 +/* 802A5910 002A2870 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802A5914 002A2874 38 E1 01 A8 */ addi r7, r1, 0x1a8 +/* 802A5918 002A2878 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 802A591C 002A287C D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 802A5920 002A2880 81 1F 00 2C */ lwz r8, 0x2c(r31) +/* 802A5924 002A2884 81 3F 00 28 */ lwz r9, 0x28(r31) +/* 802A5928 002A2888 7D 08 C8 AE */ lbzx r8, r8, r25 +/* 802A592C 002A288C 55 08 10 3A */ slwi r8, r8, 2 +/* 802A5930 002A2890 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802A5934 002A2894 91 01 00 24 */ stw r8, 0x24(r1) +/* 802A5938 002A2898 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A593C 002A289C 48 02 8B 0D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A5940 002A28A0 38 00 00 01 */ li r0, 1 +/* 802A5944 002A28A4 80 61 02 40 */ lwz r3, 0x240(r1) +/* 802A5948 002A28A8 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A594C 002A28AC 80 01 02 44 */ lwz r0, 0x244(r1) +/* 802A5950 002A28B0 90 73 00 00 */ stw r3, 0(r19) +/* 802A5954 002A28B4 90 13 00 04 */ stw r0, 4(r19) +/* 802A5958 002A28B8 80 01 02 48 */ lwz r0, 0x248(r1) +/* 802A595C 002A28BC 90 13 00 08 */ stw r0, 8(r19) +/* 802A5960 002A28C0 80 61 02 4C */ lwz r3, 0x24c(r1) +/* 802A5964 002A28C4 80 01 02 50 */ lwz r0, 0x250(r1) +/* 802A5968 002A28C8 90 73 00 0C */ stw r3, 0xc(r19) +/* 802A596C 002A28CC 90 13 00 10 */ stw r0, 0x10(r19) +/* 802A5970 002A28D0 80 01 02 54 */ lwz r0, 0x254(r1) +/* 802A5974 002A28D4 90 13 00 14 */ stw r0, 0x14(r19) +/* 802A5978 002A28D8 80 61 02 58 */ lwz r3, 0x258(r1) +/* 802A597C 002A28DC 80 01 02 5C */ lwz r0, 0x25c(r1) +/* 802A5980 002A28E0 90 73 00 18 */ stw r3, 0x18(r19) +/* 802A5984 002A28E4 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802A5988 002A28E8 80 01 02 60 */ lwz r0, 0x260(r1) +/* 802A598C 002A28EC 90 13 00 20 */ stw r0, 0x20(r19) +/* 802A5990 002A28F0 80 61 02 64 */ lwz r3, 0x264(r1) +/* 802A5994 002A28F4 80 01 02 68 */ lwz r0, 0x268(r1) +/* 802A5998 002A28F8 90 73 00 24 */ stw r3, 0x24(r19) +/* 802A599C 002A28FC 90 13 00 28 */ stw r0, 0x28(r19) +/* 802A59A0 002A2900 80 01 02 6C */ lwz r0, 0x26c(r1) +/* 802A59A4 002A2904 90 13 00 2C */ stw r0, 0x2c(r19) +/* 802A59A8 002A2908 88 01 02 70 */ lbz r0, 0x270(r1) +/* 802A59AC 002A290C 98 13 00 30 */ stb r0, 0x30(r19) +/* 802A59B0 002A2910 88 01 02 71 */ lbz r0, 0x271(r1) +/* 802A59B4 002A2914 98 13 00 31 */ stb r0, 0x31(r19) +/* 802A59B8 002A2918 C8 01 02 78 */ lfd f0, 0x278(r1) +/* 802A59BC 002A291C D8 13 00 38 */ stfd f0, 0x38(r19) +/* 802A59C0 002A2920 C8 01 02 80 */ lfd f0, 0x280(r1) +/* 802A59C4 002A2924 D8 13 00 40 */ stfd f0, 0x40(r19) +/* 802A59C8 002A2928 80 61 02 88 */ lwz r3, 0x288(r1) +/* 802A59CC 002A292C 80 01 02 8C */ lwz r0, 0x28c(r1) +/* 802A59D0 002A2930 90 73 00 48 */ stw r3, 0x48(r19) +/* 802A59D4 002A2934 90 13 00 4C */ stw r0, 0x4c(r19) +/* 802A59D8 002A2938 80 01 02 90 */ lwz r0, 0x290(r1) +/* 802A59DC 002A293C 90 13 00 50 */ stw r0, 0x50(r19) +/* 802A59E0 002A2940 80 61 02 94 */ lwz r3, 0x294(r1) +/* 802A59E4 002A2944 80 01 02 98 */ lwz r0, 0x298(r1) +/* 802A59E8 002A2948 90 73 00 54 */ stw r3, 0x54(r19) +/* 802A59EC 002A294C 90 13 00 58 */ stw r0, 0x58(r19) +/* 802A59F0 002A2950 80 01 02 9C */ lwz r0, 0x29c(r1) +/* 802A59F4 002A2954 90 13 00 5C */ stw r0, 0x5c(r19) +/* 802A59F8 002A2958 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802A59FC 002A295C D8 14 00 00 */ stfd f0, 0(r20) +/* 802A5A00 002A2960 48 00 00 18 */ b lbl_802A5A18 +lbl_802A5A04: +/* 802A5A04 002A2964 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A5A08 002A2968 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A5A0C 002A296C 57 20 08 3C */ slwi r0, r25, 1 +/* 802A5A10 002A2970 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802A5A14 002A2974 7C 83 03 2E */ sthx r4, r3, r0 +lbl_802A5A18: +/* 802A5A18 002A2978 3A B5 00 01 */ addi r21, r21, 1 +/* 802A5A1C 002A297C 3B 18 00 01 */ addi r24, r24, 1 +/* 802A5A20 002A2980 2C 15 00 03 */ cmpwi r21, 3 +/* 802A5A24 002A2984 3A F7 00 0C */ addi r23, r23, 0xc +/* 802A5A28 002A2988 39 CE 00 02 */ addi r14, r14, 2 +/* 802A5A2C 002A298C 41 80 FD BC */ blt lbl_802A57E8 +/* 802A5A30 002A2990 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 802A5A34 002A2994 41 82 01 84 */ beq lbl_802A5BB8 +/* 802A5A38 002A2998 C8 74 00 00 */ lfd f3, 0(r20) +/* 802A5A3C 002A299C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A5A40 002A29A0 81 2F 00 00 */ lwz r9, 0(r15) +/* 802A5A44 002A29A4 38 81 00 60 */ addi r4, r1, 0x60 +/* 802A5A48 002A29A8 FC 60 18 18 */ frsp f3, f3 +/* 802A5A4C 002A29AC C0 12 00 00 */ lfs f0, 0(r18) +/* 802A5A50 002A29B0 C0 52 00 04 */ lfs f2, 4(r18) +/* 802A5A54 002A29B4 C0 32 00 08 */ lfs f1, 8(r18) +/* 802A5A58 002A29B8 EF E3 00 32 */ fmuls f31, f3, f0 +/* 802A5A5C 002A29BC C0 0F 00 00 */ lfs f0, 0(r15) +/* 802A5A60 002A29C0 EF C3 00 B2 */ fmuls f30, f3, f2 +/* 802A5A64 002A29C4 C0 4F 00 04 */ lfs f2, 4(r15) +/* 802A5A68 002A29C8 EF A3 00 72 */ fmuls f29, f3, f1 +/* 802A5A6C 002A29CC C0 2F 00 08 */ lfs f1, 8(r15) +/* 802A5A70 002A29D0 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A5A74 002A29D4 81 0F 00 04 */ lwz r8, 4(r15) +/* 802A5A78 002A29D8 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A5A7C 002A29DC 80 EF 00 08 */ lwz r7, 8(r15) +/* 802A5A80 002A29E0 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A5A84 002A29E4 80 CF 00 0C */ lwz r6, 0xc(r15) +/* 802A5A88 002A29E8 80 AF 00 10 */ lwz r5, 0x10(r15) +/* 802A5A8C 002A29EC 80 0F 00 14 */ lwz r0, 0x14(r15) +/* 802A5A90 002A29F0 91 21 01 FC */ stw r9, 0x1fc(r1) +/* 802A5A94 002A29F4 91 01 02 00 */ stw r8, 0x200(r1) +/* 802A5A98 002A29F8 90 E1 02 04 */ stw r7, 0x204(r1) +/* 802A5A9C 002A29FC 90 C1 02 08 */ stw r6, 0x208(r1) +/* 802A5AA0 002A2A00 90 A1 02 0C */ stw r5, 0x20c(r1) +/* 802A5AA4 002A2A04 90 01 02 10 */ stw r0, 0x210(r1) +/* 802A5AA8 002A2A08 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802A5AAC 002A2A0C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802A5AB0 002A2A10 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802A5AB4 002A2A14 48 09 20 55 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A5AB8 002A2A18 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A5ABC 002A2A1C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A5AC0 002A2A20 C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A5AC4 002A2A24 38 81 00 54 */ addi r4, r1, 0x54 +/* 802A5AC8 002A2A28 C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A5ACC 002A2A2C EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A5AD0 002A2A30 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A5AD4 002A2A34 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A5AD8 002A2A38 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802A5ADC 002A2A3C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802A5AE0 002A2A40 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802A5AE4 002A2A44 48 09 20 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A5AE8 002A2A48 38 61 00 48 */ addi r3, r1, 0x48 +/* 802A5AEC 002A2A4C 38 81 01 FC */ addi r4, r1, 0x1fc +/* 802A5AF0 002A2A50 48 09 1B 1D */ bl GetCenterPoint__6CAABoxCFv +/* 802A5AF4 002A2A54 C0 61 02 0C */ lfs f3, 0x20c(r1) +/* 802A5AF8 002A2A58 C0 41 02 00 */ lfs f2, 0x200(r1) +/* 802A5AFC 002A2A5C C0 21 02 10 */ lfs f1, 0x210(r1) +/* 802A5B00 002A2A60 C0 01 02 04 */ lfs f0, 0x204(r1) +/* 802A5B04 002A2A64 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A5B08 002A2A68 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A5B0C 002A2A6C EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A5B10 002A2A70 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 802A5B14 002A2A74 C0 01 01 FC */ lfs f0, 0x1fc(r1) +/* 802A5B18 002A2A78 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A5B1C 002A2A7C C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802A5B20 002A2A80 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A5B24 002A2A84 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A5B28 002A2A88 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802A5B2C 002A2A8C C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802A5B30 002A2A90 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A5B34 002A2A94 D0 61 01 F0 */ stfs f3, 0x1f0(r1) +/* 802A5B38 002A2A98 D0 41 01 F4 */ stfs f2, 0x1f4(r1) +/* 802A5B3C 002A2A9C D0 21 01 F8 */ stfs f1, 0x1f8(r1) +/* 802A5B40 002A2AA0 D0 01 01 E4 */ stfs f0, 0x1e4(r1) +/* 802A5B44 002A2AA4 D0 C1 01 E8 */ stfs f6, 0x1e8(r1) +/* 802A5B48 002A2AA8 D0 A1 01 EC */ stfs f5, 0x1ec(r1) +/* 802A5B4C 002A2AAC 48 00 00 6C */ b lbl_802A5BB8 +lbl_802A5B50: +/* 802A5B50 002A2AB0 7F E3 FB 78 */ mr r3, r31 +/* 802A5B54 002A2AB4 7D C4 73 78 */ mr r4, r14 +/* 802A5B58 002A2AB8 4B FF CE 19 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A5B5C 002A2ABC A0 03 00 00 */ lhz r0, 0(r3) +/* 802A5B60 002A2AC0 3C A0 80 59 */ lis r5, lbl_8058BBAC@ha +/* 802A5B64 002A2AC4 A1 2D A5 D0 */ lhz r9, lbl_805A9190@sda21(r13) +/* 802A5B68 002A2AC8 3C 80 80 57 */ lis r4, lbl_80572BAC@ha +/* 802A5B6C 002A2ACC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A5B70 002A2AD0 39 05 BB AC */ addi r8, r5, lbl_8058BBAC@l +/* 802A5B74 002A2AD4 7D 28 03 2E */ sthx r9, r8, r0 +/* 802A5B78 002A2AD8 38 A4 2B AC */ addi r5, r4, lbl_80572BAC@l +/* 802A5B7C 002A2ADC A0 01 00 38 */ lhz r0, 0x38(r1) +/* 802A5B80 002A2AE0 A0 E3 00 02 */ lhz r7, 2(r3) +/* 802A5B84 002A2AE4 A0 81 00 3A */ lhz r4, 0x3a(r1) +/* 802A5B88 002A2AE8 54 06 08 3C */ slwi r6, r0, 1 +/* 802A5B8C 002A2AEC 54 E7 08 3C */ slwi r7, r7, 1 +/* 802A5B90 002A2AF0 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 802A5B94 002A2AF4 7D 28 3B 2E */ sthx r9, r8, r7 +/* 802A5B98 002A2AF8 54 84 08 3C */ slwi r4, r4, 1 +/* 802A5B9C 002A2AFC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A5BA0 002A2B00 A0 63 00 04 */ lhz r3, 4(r3) +/* 802A5BA4 002A2B04 7D 25 33 2E */ sthx r9, r5, r6 +/* 802A5BA8 002A2B08 54 63 08 3C */ slwi r3, r3, 1 +/* 802A5BAC 002A2B0C 7D 25 23 2E */ sthx r9, r5, r4 +/* 802A5BB0 002A2B10 7D 28 1B 2E */ sthx r9, r8, r3 +/* 802A5BB4 002A2B14 7D 25 03 2E */ sthx r9, r5, r0 +lbl_802A5BB8: +/* 802A5BB8 002A2B18 80 61 03 70 */ lwz r3, 0x370(r1) +/* 802A5BBC 002A2B1C 38 63 00 02 */ addi r3, r3, 2 +/* 802A5BC0 002A2B20 90 61 03 70 */ stw r3, 0x370(r1) +/* 802A5BC4 002A2B24 80 61 03 60 */ lwz r3, 0x360(r1) +/* 802A5BC8 002A2B28 38 63 00 01 */ addi r3, r3, 1 +/* 802A5BCC 002A2B2C 90 61 03 60 */ stw r3, 0x360(r1) +lbl_802A5BD0: +/* 802A5BD0 002A2B30 80 61 03 60 */ lwz r3, 0x360(r1) +/* 802A5BD4 002A2B34 80 01 03 64 */ lwz r0, 0x364(r1) +/* 802A5BD8 002A2B38 7C 03 00 00 */ cmpw r3, r0 +/* 802A5BDC 002A2B3C 41 80 F2 60 */ blt lbl_802A4E3C +lbl_802A5BE0: +/* 802A5BE0 002A2B40 80 61 03 74 */ lwz r3, 0x374(r1) +/* 802A5BE4 002A2B44 38 63 00 24 */ addi r3, r3, 0x24 +/* 802A5BE8 002A2B48 90 61 03 74 */ stw r3, 0x374(r1) +/* 802A5BEC 002A2B4C 80 61 03 68 */ lwz r3, 0x368(r1) +/* 802A5BF0 002A2B50 38 63 00 01 */ addi r3, r3, 1 +/* 802A5BF4 002A2B54 90 61 03 68 */ stw r3, 0x368(r1) +lbl_802A5BF8: +/* 802A5BF8 002A2B58 80 61 00 08 */ lwz r3, 8(r1) +/* 802A5BFC 002A2B5C 80 01 03 68 */ lwz r0, 0x368(r1) +/* 802A5C00 002A2B60 80 63 00 04 */ lwz r3, 4(r3) +/* 802A5C04 002A2B64 7C 00 18 00 */ cmpw r0, r3 +/* 802A5C08 002A2B68 41 80 F1 E0 */ blt lbl_802A4DE8 +/* 802A5C0C 002A2B6C 88 61 03 6C */ lbz r3, 0x36c(r1) +/* 802A5C10 002A2B70 E3 E1 04 A8 */ psq_l f31, 1192(r1), 0, qr0 +/* 802A5C14 002A2B74 CB E1 04 A0 */ lfd f31, 0x4a0(r1) +/* 802A5C18 002A2B78 E3 C1 04 98 */ psq_l f30, 1176(r1), 0, qr0 +/* 802A5C1C 002A2B7C CB C1 04 90 */ lfd f30, 0x490(r1) +/* 802A5C20 002A2B80 E3 A1 04 88 */ psq_l f29, 1160(r1), 0, qr0 +/* 802A5C24 002A2B84 CB A1 04 80 */ lfd f29, 0x480(r1) +/* 802A5C28 002A2B88 E3 81 04 78 */ psq_l f28, 1144(r1), 0, qr0 +/* 802A5C2C 002A2B8C CB 81 04 70 */ lfd f28, 0x470(r1) +/* 802A5C30 002A2B90 E3 61 04 68 */ psq_l f27, 1128(r1), 0, qr0 +/* 802A5C34 002A2B94 CB 61 04 60 */ lfd f27, 0x460(r1) +/* 802A5C38 002A2B98 E3 41 04 58 */ psq_l f26, 1112(r1), 0, qr0 +/* 802A5C3C 002A2B9C CB 41 04 50 */ lfd f26, 0x450(r1) +/* 802A5C40 002A2BA0 E3 21 04 48 */ psq_l f25, 1096(r1), 0, qr0 +/* 802A5C44 002A2BA4 CB 21 04 40 */ lfd f25, 0x440(r1) +/* 802A5C48 002A2BA8 E3 01 04 38 */ psq_l f24, 1080(r1), 0, qr0 +/* 802A5C4C 002A2BAC CB 01 04 30 */ lfd f24, 0x430(r1) +/* 802A5C50 002A2BB0 E2 E1 04 28 */ psq_l f23, 1064(r1), 0, qr0 +/* 802A5C54 002A2BB4 CA E1 04 20 */ lfd f23, 0x420(r1) +/* 802A5C58 002A2BB8 E2 C1 04 18 */ psq_l f22, 1048(r1), 0, qr0 +/* 802A5C5C 002A2BBC CA C1 04 10 */ lfd f22, 0x410(r1) +/* 802A5C60 002A2BC0 E2 A1 04 08 */ psq_l f21, 1032(r1), 0, qr0 +/* 802A5C64 002A2BC4 CA A1 04 00 */ lfd f21, 0x400(r1) +/* 802A5C68 002A2BC8 E2 81 03 F8 */ psq_l f20, 1016(r1), 0, qr0 +/* 802A5C6C 002A2BCC CA 81 03 F0 */ lfd f20, 0x3f0(r1) +/* 802A5C70 002A2BD0 E2 61 03 E8 */ psq_l f19, 1000(r1), 0, qr0 +/* 802A5C74 002A2BD4 CA 61 03 E0 */ lfd f19, 0x3e0(r1) +/* 802A5C78 002A2BD8 E2 41 03 D8 */ psq_l f18, 984(r1), 0, qr0 +/* 802A5C7C 002A2BDC CA 41 03 D0 */ lfd f18, 0x3d0(r1) +/* 802A5C80 002A2BE0 B9 C1 03 88 */ lmw r14, 0x388(r1) +/* 802A5C84 002A2BE4 80 01 04 B4 */ lwz r0, 0x4b4(r1) +/* 802A5C88 002A2BE8 7C 08 03 A6 */ mtlr r0 +/* 802A5C8C 002A2BEC 38 21 04 B0 */ addi r1, r1, 0x4b0 +/* 802A5C90 002A2BF0 4E 80 00 20 */ blr + +.global SphereCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC15CMaterialFilter +SphereCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC15CMaterialFilter: +/* 802A5C94 002A2BF4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A5C98 002A2BF8 7C 08 02 A6 */ mflr r0 +/* 802A5C9C 002A2BFC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A5CA0 002A2C00 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802A5CA4 002A2C04 80 E3 00 20 */ lwz r7, 0x20(r3) +/* 802A5CA8 002A2C08 C0 A3 00 00 */ lfs f5, 0(r3) +/* 802A5CAC 002A2C0C C0 83 00 04 */ lfs f4, 4(r3) +/* 802A5CB0 002A2C10 C0 63 00 08 */ lfs f3, 8(r3) +/* 802A5CB4 002A2C14 C0 43 00 0C */ lfs f2, 0xc(r3) +/* 802A5CB8 002A2C18 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 802A5CBC 002A2C1C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802A5CC0 002A2C20 90 81 00 08 */ stw r4, 8(r1) +/* 802A5CC4 002A2C24 38 81 00 08 */ addi r4, r1, 8 +/* 802A5CC8 002A2C28 90 61 00 30 */ stw r3, 0x30(r1) +/* 802A5CCC 002A2C2C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A5CD0 002A2C30 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802A5CD4 002A2C34 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802A5CD8 002A2C38 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 802A5CDC 002A2C3C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802A5CE0 002A2C40 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802A5CE4 002A2C44 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802A5CE8 002A2C48 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802A5CEC 002A2C4C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802A5CF0 002A2C50 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 802A5CF4 002A2C54 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A5CF8 002A2C58 48 00 01 1D */ bl SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache +/* 802A5CFC 002A2C5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A5D00 002A2C60 7C 08 03 A6 */ mtlr r0 +/* 802A5D04 002A2C64 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A5D08 002A2C68 4E 80 00 20 */ blr + +.global SphereCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilter +SphereCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilter: +/* 802A5D0C 002A2C6C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802A5D10 002A2C70 7C 08 02 A6 */ mflr r0 +/* 802A5D14 002A2C74 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A5D18 002A2C78 BE A1 00 44 */ stmw r21, 0x44(r1) +/* 802A5D1C 002A2C7C 7C 77 1B 78 */ mr r23, r3 +/* 802A5D20 002A2C80 7C 98 23 78 */ mr r24, r4 +/* 802A5D24 002A2C84 7C B9 2B 78 */ mr r25, r5 +/* 802A5D28 002A2C88 7C DA 33 78 */ mr r26, r6 +/* 802A5D2C 002A2C8C 3B F7 00 08 */ addi r31, r23, 8 +/* 802A5D30 002A2C90 3B C0 00 00 */ li r30, 0 +/* 802A5D34 002A2C94 48 00 00 BC */ b lbl_802A5DF0 +lbl_802A5D38: +/* 802A5D38 002A2C98 7F 03 C3 78 */ mr r3, r24 +/* 802A5D3C 002A2C9C 7F E4 FB 78 */ mr r4, r31 +/* 802A5D40 002A2CA0 48 09 1E 45 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A5D44 002A2CA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5D48 002A2CA8 41 82 00 A0 */ beq lbl_802A5DE8 +/* 802A5D4C 002A2CAC 7F E4 FB 78 */ mr r4, r31 +/* 802A5D50 002A2CB0 38 61 00 08 */ addi r3, r1, 8 +/* 802A5D54 002A2CB4 4B FF CF E9 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A5D58 002A2CB8 82 A1 00 08 */ lwz r21, 8(r1) +/* 802A5D5C 002A2CBC 3B 61 00 18 */ addi r27, r1, 0x18 +/* 802A5D60 002A2CC0 82 DF 00 1C */ lwz r22, 0x1c(r31) +/* 802A5D64 002A2CC4 3B 80 00 00 */ li r28, 0 +/* 802A5D68 002A2CC8 A3 B5 00 18 */ lhz r29, 0x18(r21) +/* 802A5D6C 002A2CCC 48 00 00 74 */ b lbl_802A5DE0 +lbl_802A5D70: +/* 802A5D70 002A2CD0 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A5D74 002A2CD4 7E C4 B3 78 */ mr r4, r22 +/* 802A5D78 002A2CD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A5D7C 002A2CDC 38 05 00 01 */ addi r0, r5, 1 +/* 802A5D80 002A2CE0 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A5D84 002A2CE4 A0 B5 00 1A */ lhz r5, 0x1a(r21) +/* 802A5D88 002A2CE8 4B FF CC AD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A5D8C 002A2CEC 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802A5D90 002A2CF0 38 00 00 00 */ li r0, 0 +/* 802A5D94 002A2CF4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A5D98 002A2CF8 7F 43 D3 78 */ mr r3, r26 +/* 802A5D9C 002A2CFC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A5DA0 002A2D00 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A5DA4 002A2D04 48 02 F5 A9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A5DA8 002A2D08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5DAC 002A2D0C 41 82 00 2C */ beq lbl_802A5DD8 +/* 802A5DB0 002A2D10 7F 23 CB 78 */ mr r3, r25 +/* 802A5DB4 002A2D14 7F 64 DB 78 */ mr r4, r27 +/* 802A5DB8 002A2D18 38 BB 00 0C */ addi r5, r27, 0xc +/* 802A5DBC 002A2D1C 38 DB 00 18 */ addi r6, r27, 0x18 +/* 802A5DC0 002A2D20 48 02 A6 81 */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A5DC4 002A2D24 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A5DC8 002A2D28 28 00 00 01 */ cmplwi r0, 1 +/* 802A5DCC 002A2D2C 40 82 00 0C */ bne lbl_802A5DD8 +/* 802A5DD0 002A2D30 38 60 00 01 */ li r3, 1 +/* 802A5DD4 002A2D34 48 00 00 2C */ b lbl_802A5E00 +lbl_802A5DD8: +/* 802A5DD8 002A2D38 3A B5 00 02 */ addi r21, r21, 2 +/* 802A5DDC 002A2D3C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802A5DE0: +/* 802A5DE0 002A2D40 7C 1C E8 00 */ cmpw r28, r29 +/* 802A5DE4 002A2D44 41 80 FF 8C */ blt lbl_802A5D70 +lbl_802A5DE8: +/* 802A5DE8 002A2D48 3B FF 00 24 */ addi r31, r31, 0x24 +/* 802A5DEC 002A2D4C 3B DE 00 01 */ addi r30, r30, 1 +lbl_802A5DF0: +/* 802A5DF0 002A2D50 80 17 00 04 */ lwz r0, 4(r23) +/* 802A5DF4 002A2D54 7C 1E 00 00 */ cmpw r30, r0 +/* 802A5DF8 002A2D58 41 80 FF 40 */ blt lbl_802A5D38 +/* 802A5DFC 002A2D5C 38 60 00 00 */ li r3, 0 +lbl_802A5E00: +/* 802A5E00 002A2D60 BA A1 00 44 */ lmw r21, 0x44(r1) +/* 802A5E04 002A2D64 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802A5E08 002A2D68 7C 08 03 A6 */ mtlr r0 +/* 802A5E0C 002A2D6C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802A5E10 002A2D70 4E 80 00 20 */ blr + +.global SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache +SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache: +/* 802A5E14 002A2D74 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802A5E18 002A2D78 7C 08 02 A6 */ mflr r0 +/* 802A5E1C 002A2D7C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802A5E20 002A2D80 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 802A5E24 002A2D84 7C 7C 1B 78 */ mr r28, r3 +/* 802A5E28 002A2D88 7C 9D 23 78 */ mr r29, r4 +/* 802A5E2C 002A2D8C 3B C0 00 00 */ li r30, 0 +/* 802A5E30 002A2D90 3B E0 00 00 */ li r31, 0 +lbl_802A5E34: +/* 802A5E34 002A2D94 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802A5E38 002A2D98 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A5E3C 002A2D9C 7C 00 FE 30 */ sraw r0, r0, r31 +/* 802A5E40 002A2DA0 54 1A 07 BF */ clrlwi. r26, r0, 0x1e +/* 802A5E44 002A2DA4 41 82 01 38 */ beq lbl_802A5F7C +/* 802A5E48 002A2DA8 7F 84 E3 78 */ mr r4, r28 +/* 802A5E4C 002A2DAC 7F C5 F3 78 */ mr r5, r30 +/* 802A5E50 002A2DB0 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A5E54 002A2DB4 4B FF CF 0D */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A5E58 002A2DB8 C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802A5E5C 002A2DBC 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A5E60 002A2DC0 C0 81 00 44 */ lfs f4, 0x44(r1) +/* 802A5E64 002A2DC4 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802A5E68 002A2DC8 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802A5E6C 002A2DCC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802A5E70 002A2DD0 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802A5E74 002A2DD4 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802A5E78 002A2DD8 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 802A5E7C 002A2DDC 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A5E80 002A2DE0 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 802A5E84 002A2DE4 80 7D 00 00 */ lwz r3, 0(r29) +/* 802A5E88 002A2DE8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802A5E8C 002A2DEC D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 802A5E90 002A2DF0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802A5E94 002A2DF4 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 802A5E98 002A2DF8 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802A5E9C 002A2DFC 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802A5EA0 002A2E00 90 A1 00 80 */ stw r5, 0x80(r1) +/* 802A5EA4 002A2E04 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A5EA8 002A2E08 48 09 1C DD */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A5EAC 002A2E0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5EB0 002A2E10 41 82 00 CC */ beq lbl_802A5F7C +/* 802A5EB4 002A2E14 2C 1A 00 02 */ cmpwi r26, 2 +/* 802A5EB8 002A2E18 40 82 00 A4 */ bne lbl_802A5F5C +/* 802A5EBC 002A2E1C 38 61 00 08 */ addi r3, r1, 8 +/* 802A5EC0 002A2E20 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A5EC4 002A2E24 4B FF CE 79 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A5EC8 002A2E28 83 41 00 08 */ lwz r26, 8(r1) +/* 802A5ECC 002A2E2C 3A E1 00 18 */ addi r23, r1, 0x18 +/* 802A5ED0 002A2E30 83 61 00 80 */ lwz r27, 0x80(r1) +/* 802A5ED4 002A2E34 3B 00 00 00 */ li r24, 0 +/* 802A5ED8 002A2E38 A3 3A 00 18 */ lhz r25, 0x18(r26) +/* 802A5EDC 002A2E3C 48 00 00 74 */ b lbl_802A5F50 +lbl_802A5EE0: +/* 802A5EE0 002A2E40 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A5EE4 002A2E44 7F 64 DB 78 */ mr r4, r27 +/* 802A5EE8 002A2E48 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A5EEC 002A2E4C 38 05 00 01 */ addi r0, r5, 1 +/* 802A5EF0 002A2E50 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A5EF4 002A2E54 A0 BA 00 1A */ lhz r5, 0x1a(r26) +/* 802A5EF8 002A2E58 4B FF CB 3D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A5EFC 002A2E5C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802A5F00 002A2E60 38 00 00 00 */ li r0, 0 +/* 802A5F04 002A2E64 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A5F08 002A2E68 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A5F0C 002A2E6C 80 7D 00 08 */ lwz r3, 8(r29) +/* 802A5F10 002A2E70 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A5F14 002A2E74 48 02 F4 39 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A5F18 002A2E78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5F1C 002A2E7C 41 82 00 2C */ beq lbl_802A5F48 +/* 802A5F20 002A2E80 80 7D 00 04 */ lwz r3, 4(r29) +/* 802A5F24 002A2E84 7E E4 BB 78 */ mr r4, r23 +/* 802A5F28 002A2E88 38 B7 00 0C */ addi r5, r23, 0xc +/* 802A5F2C 002A2E8C 38 D7 00 18 */ addi r6, r23, 0x18 +/* 802A5F30 002A2E90 48 02 A5 11 */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A5F34 002A2E94 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A5F38 002A2E98 28 00 00 01 */ cmplwi r0, 1 +/* 802A5F3C 002A2E9C 40 82 00 0C */ bne lbl_802A5F48 +/* 802A5F40 002A2EA0 38 60 00 01 */ li r3, 1 +/* 802A5F44 002A2EA4 48 00 00 4C */ b lbl_802A5F90 +lbl_802A5F48: +/* 802A5F48 002A2EA8 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A5F4C 002A2EAC 3B 18 00 01 */ addi r24, r24, 1 +lbl_802A5F50: +/* 802A5F50 002A2EB0 7C 18 C8 00 */ cmpw r24, r25 +/* 802A5F54 002A2EB4 41 80 FF 8C */ blt lbl_802A5EE0 +/* 802A5F58 002A2EB8 48 00 00 24 */ b lbl_802A5F7C +lbl_802A5F5C: +/* 802A5F5C 002A2EBC 7F A4 EB 78 */ mr r4, r29 +/* 802A5F60 002A2EC0 38 61 00 64 */ addi r3, r1, 0x64 +/* 802A5F64 002A2EC4 4B FF FE B1 */ bl SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache +/* 802A5F68 002A2EC8 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A5F6C 002A2ECC 28 00 00 01 */ cmplwi r0, 1 +/* 802A5F70 002A2ED0 40 82 00 0C */ bne lbl_802A5F7C +/* 802A5F74 002A2ED4 38 60 00 01 */ li r3, 1 +/* 802A5F78 002A2ED8 48 00 00 18 */ b lbl_802A5F90 +lbl_802A5F7C: +/* 802A5F7C 002A2EDC 3B DE 00 01 */ addi r30, r30, 1 +/* 802A5F80 002A2EE0 3B FF 00 02 */ addi r31, r31, 2 +/* 802A5F84 002A2EE4 2C 1E 00 08 */ cmpwi r30, 8 +/* 802A5F88 002A2EE8 41 80 FE AC */ blt lbl_802A5E34 +/* 802A5F8C 002A2EEC 38 60 00 00 */ li r3, 0 +lbl_802A5F90: +/* 802A5F90 002A2EF0 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 802A5F94 002A2EF4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802A5F98 002A2EF8 7C 08 03 A6 */ mtlr r0 +/* 802A5F9C 002A2EFC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802A5FA0 002A2F00 4E 80 00 20 */ blr + +.global SphereCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802A5FA4 002A2F04 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802A5FA8 002A2F08 7C 08 02 A6 */ mflr r0 +/* 802A5FAC 002A2F0C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802A5FB0 002A2F10 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802A5FB4 002A2F14 7C 7F 1B 78 */ mr r31, r3 +/* 802A5FB8 002A2F18 90 81 00 08 */ stw r4, 8(r1) +/* 802A5FBC 002A2F1C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802A5FC0 002A2F20 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802A5FC4 002A2F24 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802A5FC8 002A2F28 91 01 00 18 */ stw r8, 0x18(r1) +/* 802A5FCC 002A2F2C 48 00 10 75 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A5FD0 002A2F30 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A5FD4 002A2F34 38 61 00 1C */ addi r3, r1, 0x1c +/* 802A5FD8 002A2F38 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802A5FDC 002A2F3C 38 81 00 08 */ addi r4, r1, 8 +/* 802A5FE0 002A2F40 C0 BF 00 00 */ lfs f5, 0(r31) +/* 802A5FE4 002A2F44 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802A5FE8 002A2F48 C0 7F 00 08 */ lfs f3, 8(r31) +/* 802A5FEC 002A2F4C C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A5FF0 002A2F50 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A5FF4 002A2F54 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802A5FF8 002A2F58 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 802A5FFC 002A2F5C D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802A6000 002A2F60 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802A6004 002A2F64 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802A6008 002A2F68 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802A600C 002A2F6C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802A6010 002A2F70 90 A1 00 34 */ stw r5, 0x34(r1) +/* 802A6014 002A2F74 93 E1 00 38 */ stw r31, 0x38(r1) +/* 802A6018 002A2F78 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802A601C 002A2F7C 48 00 01 B1 */ bl SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache +/* 802A6020 002A2F80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802A6024 002A2F84 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802A6028 002A2F88 7C 08 03 A6 */ mtlr r0 +/* 802A602C 002A2F8C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802A6030 002A2F90 4E 80 00 20 */ blr + +.global SphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802A6034 002A2F94 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802A6038 002A2F98 7C 08 02 A6 */ mflr r0 +/* 802A603C 002A2F9C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802A6040 002A2FA0 BE 21 00 C4 */ stmw r17, 0xc4(r1) +/* 802A6044 002A2FA4 7C 7A 1B 78 */ mr r26, r3 +/* 802A6048 002A2FA8 7C 9B 23 78 */ mr r27, r4 +/* 802A604C 002A2FAC 7C BC 2B 78 */ mr r28, r5 +/* 802A6050 002A2FB0 7C DD 33 78 */ mr r29, r6 +/* 802A6054 002A2FB4 7C FE 3B 78 */ mr r30, r7 +/* 802A6058 002A2FB8 7D 1F 43 78 */ mr r31, r8 +/* 802A605C 002A2FBC 48 00 0F E5 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A6060 002A2FC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A6064 002A2FC4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 802A6068 002A2FC8 3A FA 00 08 */ addi r23, r26, 8 +/* 802A606C 002A2FCC 3A A0 00 00 */ li r21, 0 +/* 802A6070 002A2FD0 C0 23 00 04 */ lfs f1, 4(r3) +/* 802A6074 002A2FD4 3A 80 00 00 */ li r20, 0 +/* 802A6078 002A2FD8 C0 43 00 08 */ lfs f2, 8(r3) +/* 802A607C 002A2FDC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A6080 002A2FE0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802A6084 002A2FE4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A6088 002A2FE8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802A608C 002A2FEC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6090 002A2FF0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802A6094 002A2FF4 48 00 01 14 */ b lbl_802A61A8 +lbl_802A6098: +/* 802A6098 002A2FF8 7F 63 DB 78 */ mr r3, r27 +/* 802A609C 002A2FFC 7E E4 BB 78 */ mr r4, r23 +/* 802A60A0 002A3000 48 09 1A E5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A60A4 002A3004 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A60A8 002A3008 41 82 00 F8 */ beq lbl_802A61A0 +/* 802A60AC 002A300C 7E E4 BB 78 */ mr r4, r23 +/* 802A60B0 002A3010 38 61 00 08 */ addi r3, r1, 8 +/* 802A60B4 002A3014 4B FF CC 89 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A60B8 002A3018 82 C1 00 08 */ lwz r22, 8(r1) +/* 802A60BC 002A301C 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A60C0 002A3020 83 17 00 1C */ lwz r24, 0x1c(r23) +/* 802A60C4 002A3024 3B 23 7B AC */ addi r25, r3, lbl_80597BAC@l +/* 802A60C8 002A3028 A2 76 00 18 */ lhz r19, 0x18(r22) +/* 802A60CC 002A302C 3A 40 00 00 */ li r18, 0 +/* 802A60D0 002A3030 48 00 00 C8 */ b lbl_802A6198 +lbl_802A60D4: +/* 802A60D4 002A3034 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A60D8 002A3038 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A60DC 002A303C 38 03 00 01 */ addi r0, r3, 1 +/* 802A60E0 002A3040 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A60E4 002A3044 A0 B6 00 1A */ lhz r5, 0x1a(r22) +/* 802A60E8 002A3048 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A60EC 002A304C 7C 19 1A 2E */ lhzx r0, r25, r3 +/* 802A60F0 002A3050 7C 04 00 40 */ cmplw r4, r0 +/* 802A60F4 002A3054 40 82 00 14 */ bne lbl_802A6108 +/* 802A60F8 002A3058 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A60FC 002A305C 38 03 00 01 */ addi r0, r3, 1 +/* 802A6100 002A3060 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A6104 002A3064 48 00 00 8C */ b lbl_802A6190 +lbl_802A6108: +/* 802A6108 002A3068 7C 99 1B 2E */ sthx r4, r25, r3 +/* 802A610C 002A306C 7F 04 C3 78 */ mr r4, r24 +/* 802A6110 002A3070 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A6114 002A3074 4B FF C9 21 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6118 002A3078 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802A611C 002A307C 38 00 00 00 */ li r0, 0 +/* 802A6120 002A3080 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A6124 002A3084 7F C3 F3 78 */ mr r3, r30 +/* 802A6128 002A3088 3A 21 00 30 */ addi r17, r1, 0x30 +/* 802A612C 002A308C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6130 002A3090 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6134 002A3094 48 02 F2 19 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6138 002A3098 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A613C 002A309C 41 82 00 54 */ beq lbl_802A6190 +/* 802A6140 002A30A0 7F 83 E3 78 */ mr r3, r28 +/* 802A6144 002A30A4 7E 24 8B 78 */ mr r4, r17 +/* 802A6148 002A30A8 38 B1 00 0C */ addi r5, r17, 0xc +/* 802A614C 002A30AC 38 D1 00 18 */ addi r6, r17, 0x18 +/* 802A6150 002A30B0 38 E1 00 24 */ addi r7, r1, 0x24 +/* 802A6154 002A30B4 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6158 002A30B8 48 02 A0 F9 */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +/* 802A615C 002A30BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6160 002A30C0 41 82 00 30 */ beq lbl_802A6190 +/* 802A6164 002A30C4 7F A5 EB 78 */ mr r5, r29 +/* 802A6168 002A30C8 38 61 00 58 */ addi r3, r1, 0x58 +/* 802A616C 002A30CC 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A6170 002A30D0 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A6174 002A30D4 38 E1 00 18 */ addi r7, r1, 0x18 +/* 802A6178 002A30D8 48 02 82 D1 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A617C 002A30DC 7C 64 1B 78 */ mr r4, r3 +/* 802A6180 002A30E0 7F E3 FB 78 */ mr r3, r31 +/* 802A6184 002A30E4 38 A0 00 00 */ li r5, 0 +/* 802A6188 002A30E8 4B ED F4 99 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A618C 002A30EC 3A A0 00 01 */ li r21, 1 +lbl_802A6190: +/* 802A6190 002A30F0 3A D6 00 02 */ addi r22, r22, 2 +/* 802A6194 002A30F4 3A 52 00 01 */ addi r18, r18, 1 +lbl_802A6198: +/* 802A6198 002A30F8 7C 12 98 00 */ cmpw r18, r19 +/* 802A619C 002A30FC 41 80 FF 38 */ blt lbl_802A60D4 +lbl_802A61A0: +/* 802A61A0 002A3100 3A F7 00 24 */ addi r23, r23, 0x24 +/* 802A61A4 002A3104 3A 94 00 01 */ addi r20, r20, 1 +lbl_802A61A8: +/* 802A61A8 002A3108 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A61AC 002A310C 7C 14 00 00 */ cmpw r20, r0 +/* 802A61B0 002A3110 41 80 FE E8 */ blt lbl_802A6098 +/* 802A61B4 002A3114 7E A3 AB 78 */ mr r3, r21 +/* 802A61B8 002A3118 BA 21 00 C4 */ lmw r17, 0xc4(r1) +/* 802A61BC 002A311C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A61C0 002A3120 7C 08 03 A6 */ mtlr r0 +/* 802A61C4 002A3124 38 21 01 00 */ addi r1, r1, 0x100 +/* 802A61C8 002A3128 4E 80 00 20 */ blr + +.global SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache +SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache: +/* 802A61CC 002A312C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802A61D0 002A3130 7C 08 02 A6 */ mflr r0 +/* 802A61D4 002A3134 3C A0 80 5A */ lis r5, skZero3f@ha +/* 802A61D8 002A3138 90 01 01 34 */ stw r0, 0x134(r1) +/* 802A61DC 002A313C BE A1 01 04 */ stmw r21, 0x104(r1) +/* 802A61E0 002A3140 7C 76 1B 78 */ mr r22, r3 +/* 802A61E4 002A3144 38 65 66 A0 */ addi r3, r5, skZero3f@l +/* 802A61E8 002A3148 7C 97 23 78 */ mr r23, r4 +/* 802A61EC 002A314C 3B 60 00 00 */ li r27, 0 +/* 802A61F0 002A3150 3B 40 00 00 */ li r26, 0 +/* 802A61F4 002A3154 3B A0 00 00 */ li r29, 0 +/* 802A61F8 002A3158 C0 03 00 00 */ lfs f0, 0(r3) +/* 802A61FC 002A315C C0 23 00 04 */ lfs f1, 4(r3) +/* 802A6200 002A3160 C0 43 00 08 */ lfs f2, 8(r3) +/* 802A6204 002A3164 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A6208 002A3168 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802A620C 002A316C D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A6210 002A3170 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802A6214 002A3174 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6218 002A3178 D0 41 00 20 */ stfs f2, 0x20(r1) +lbl_802A621C: +/* 802A621C 002A317C 80 76 00 18 */ lwz r3, 0x18(r22) +/* 802A6220 002A3180 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A6224 002A3184 7C 00 EE 30 */ sraw r0, r0, r29 +/* 802A6228 002A3188 54 18 07 BF */ clrlwi. r24, r0, 0x1e +/* 802A622C 002A318C 41 82 01 8C */ beq lbl_802A63B8 +/* 802A6230 002A3190 7E C4 B3 78 */ mr r4, r22 +/* 802A6234 002A3194 7F 45 D3 78 */ mr r5, r26 +/* 802A6238 002A3198 38 61 00 58 */ addi r3, r1, 0x58 +/* 802A623C 002A319C 4B FF CB 25 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A6240 002A31A0 C0 A1 00 58 */ lfs f5, 0x58(r1) +/* 802A6244 002A31A4 38 81 00 7C */ addi r4, r1, 0x7c +/* 802A6248 002A31A8 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802A624C 002A31AC C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802A6250 002A31B0 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802A6254 002A31B4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 802A6258 002A31B8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802A625C 002A31BC 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 802A6260 002A31C0 80 61 00 74 */ lwz r3, 0x74(r1) +/* 802A6264 002A31C4 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802A6268 002A31C8 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 802A626C 002A31CC D0 81 00 80 */ stfs f4, 0x80(r1) +/* 802A6270 002A31D0 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802A6274 002A31D4 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802A6278 002A31D8 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802A627C 002A31DC D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802A6280 002A31E0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 802A6284 002A31E4 90 61 00 98 */ stw r3, 0x98(r1) +/* 802A6288 002A31E8 90 01 00 9C */ stw r0, 0x9c(r1) +/* 802A628C 002A31EC 80 77 00 00 */ lwz r3, 0(r23) +/* 802A6290 002A31F0 48 09 18 F5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6294 002A31F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6298 002A31F8 41 82 01 20 */ beq lbl_802A63B8 +/* 802A629C 002A31FC 2C 18 00 02 */ cmpwi r24, 2 +/* 802A62A0 002A3200 40 82 00 FC */ bne lbl_802A639C +/* 802A62A4 002A3204 38 61 00 08 */ addi r3, r1, 8 +/* 802A62A8 002A3208 38 81 00 7C */ addi r4, r1, 0x7c +/* 802A62AC 002A320C 4B FF CA 91 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A62B0 002A3210 83 81 00 08 */ lwz r28, 8(r1) +/* 802A62B4 002A3214 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A62B8 002A3218 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 802A62BC 002A321C 3B E3 7B AC */ addi r31, r3, lbl_80597BAC@l +/* 802A62C0 002A3220 A3 3C 00 18 */ lhz r25, 0x18(r28) +/* 802A62C4 002A3224 3B 00 00 00 */ li r24, 0 +/* 802A62C8 002A3228 48 00 00 C8 */ b lbl_802A6390 +lbl_802A62CC: +/* 802A62CC 002A322C 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A62D0 002A3230 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A62D4 002A3234 38 03 00 01 */ addi r0, r3, 1 +/* 802A62D8 002A3238 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A62DC 002A323C A0 BC 00 1A */ lhz r5, 0x1a(r28) +/* 802A62E0 002A3240 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A62E4 002A3244 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802A62E8 002A3248 7C 04 00 40 */ cmplw r4, r0 +/* 802A62EC 002A324C 40 82 00 14 */ bne lbl_802A6300 +/* 802A62F0 002A3250 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A62F4 002A3254 38 03 00 01 */ addi r0, r3, 1 +/* 802A62F8 002A3258 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A62FC 002A325C 48 00 00 8C */ b lbl_802A6388 +lbl_802A6300: +/* 802A6300 002A3260 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802A6304 002A3264 7F C4 F3 78 */ mr r4, r30 +/* 802A6308 002A3268 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A630C 002A326C 4B FF C7 29 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6310 002A3270 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802A6314 002A3274 38 00 00 00 */ li r0, 0 +/* 802A6318 002A3278 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A631C 002A327C 3A A1 00 30 */ addi r21, r1, 0x30 +/* 802A6320 002A3280 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6324 002A3284 90 61 00 14 */ stw r3, 0x14(r1) +/* 802A6328 002A3288 80 77 00 08 */ lwz r3, 8(r23) +/* 802A632C 002A328C 48 02 F0 21 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6330 002A3290 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6334 002A3294 41 82 00 54 */ beq lbl_802A6388 +/* 802A6338 002A3298 80 77 00 04 */ lwz r3, 4(r23) +/* 802A633C 002A329C 7E A4 AB 78 */ mr r4, r21 +/* 802A6340 002A32A0 38 B5 00 0C */ addi r5, r21, 0xc +/* 802A6344 002A32A4 38 D5 00 18 */ addi r6, r21, 0x18 +/* 802A6348 002A32A8 38 E1 00 24 */ addi r7, r1, 0x24 +/* 802A634C 002A32AC 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6350 002A32B0 48 02 9F 01 */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +/* 802A6354 002A32B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6358 002A32B8 41 82 00 30 */ beq lbl_802A6388 +/* 802A635C 002A32BC 80 B7 00 0C */ lwz r5, 0xc(r23) +/* 802A6360 002A32C0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802A6364 002A32C4 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A6368 002A32C8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A636C 002A32CC 38 E1 00 18 */ addi r7, r1, 0x18 +/* 802A6370 002A32D0 48 02 80 D9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A6374 002A32D4 7C 64 1B 78 */ mr r4, r3 +/* 802A6378 002A32D8 80 77 00 10 */ lwz r3, 0x10(r23) +/* 802A637C 002A32DC 38 A0 00 00 */ li r5, 0 +/* 802A6380 002A32E0 4B ED F2 A1 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A6384 002A32E4 3B 60 00 01 */ li r27, 1 +lbl_802A6388: +/* 802A6388 002A32E8 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A638C 002A32EC 3B 18 00 01 */ addi r24, r24, 1 +lbl_802A6390: +/* 802A6390 002A32F0 7C 18 C8 00 */ cmpw r24, r25 +/* 802A6394 002A32F4 41 80 FF 38 */ blt lbl_802A62CC +/* 802A6398 002A32F8 48 00 00 20 */ b lbl_802A63B8 +lbl_802A639C: +/* 802A639C 002A32FC 7E E4 BB 78 */ mr r4, r23 +/* 802A63A0 002A3300 38 61 00 7C */ addi r3, r1, 0x7c +/* 802A63A4 002A3304 4B FF FE 29 */ bl SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache +/* 802A63A8 002A3308 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A63AC 002A330C 28 00 00 01 */ cmplwi r0, 1 +/* 802A63B0 002A3310 40 82 00 08 */ bne lbl_802A63B8 +/* 802A63B4 002A3314 3B 60 00 01 */ li r27, 1 +lbl_802A63B8: +/* 802A63B8 002A3318 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A63BC 002A331C 3B BD 00 02 */ addi r29, r29, 2 +/* 802A63C0 002A3320 2C 1A 00 08 */ cmpwi r26, 8 +/* 802A63C4 002A3324 41 80 FE 58 */ blt lbl_802A621C +/* 802A63C8 002A3328 7F 63 DB 78 */ mr r3, r27 +/* 802A63CC 002A332C BA A1 01 04 */ lmw r21, 0x104(r1) +/* 802A63D0 002A3330 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802A63D4 002A3334 7C 08 03 A6 */ mtlr r0 +/* 802A63D8 002A3338 38 21 01 30 */ addi r1, r1, 0x130 +/* 802A63DC 002A333C 4E 80 00 20 */ blr + +.global AABoxCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilter +AABoxCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilter: +/* 802A63E0 002A3340 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802A63E4 002A3344 7C 08 02 A6 */ mflr r0 +/* 802A63E8 002A3348 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A63EC 002A334C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802A63F0 002A3350 7C 7F 1B 78 */ mr r31, r3 +/* 802A63F4 002A3354 38 61 00 08 */ addi r3, r1, 8 +/* 802A63F8 002A3358 48 00 00 69 */ bl __ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter +/* 802A63FC 002A335C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A6400 002A3360 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A6404 002A3364 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802A6408 002A3368 38 81 00 08 */ addi r4, r1, 8 +/* 802A640C 002A336C C0 BF 00 00 */ lfs f5, 0(r31) +/* 802A6410 002A3370 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802A6414 002A3374 C0 7F 00 08 */ lfs f3, 8(r31) +/* 802A6418 002A3378 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A641C 002A337C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A6420 002A3380 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802A6424 002A3384 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 802A6428 002A3388 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802A642C 002A338C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802A6430 002A3390 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802A6434 002A3394 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802A6438 002A3398 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802A643C 002A339C 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802A6440 002A33A0 93 E1 00 44 */ stw r31, 0x44(r1) +/* 802A6444 002A33A4 90 01 00 48 */ stw r0, 0x48(r1) +/* 802A6448 002A33A8 48 00 02 21 */ bl AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache +/* 802A644C 002A33AC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802A6450 002A33B0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802A6454 002A33B4 7C 08 03 A6 */ mtlr r0 +/* 802A6458 002A33B8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802A645C 002A33BC 4E 80 00 20 */ blr + +.global __ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter +__ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter: +/* 802A6460 002A33C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A6464 002A33C4 7C 08 02 A6 */ mflr r0 +/* 802A6468 002A33C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A646C 002A33CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A6470 002A33D0 7C 9F 23 78 */ mr r31, r4 +/* 802A6474 002A33D4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A6478 002A33D8 7C 7E 1B 78 */ mr r30, r3 +/* 802A647C 002A33DC 93 E3 00 00 */ stw r31, 0(r3) +/* 802A6480 002A33E0 38 61 00 08 */ addi r3, r1, 8 +/* 802A6484 002A33E4 90 BE 00 04 */ stw r5, 4(r30) +/* 802A6488 002A33E8 48 09 11 85 */ bl GetCenterPoint__6CAABoxCFv +/* 802A648C 002A33EC C0 01 00 08 */ lfs f0, 8(r1) +/* 802A6490 002A33F0 7F C3 F3 78 */ mr r3, r30 +/* 802A6494 002A33F4 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A6498 002A33F8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A649C 002A33FC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A64A0 002A3400 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A64A4 002A3404 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A64A8 002A3408 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802A64AC 002A340C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802A64B0 002A3410 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A64B4 002A3414 C0 7F 00 10 */ lfs f3, 0x10(r31) +/* 802A64B8 002A3418 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A64BC 002A341C C0 3F 00 04 */ lfs f1, 4(r31) +/* 802A64C0 002A3420 C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 802A64C4 002A3424 EC 63 08 28 */ fsubs f3, f3, f1 +/* 802A64C8 002A3428 C0 3F 00 08 */ lfs f1, 8(r31) +/* 802A64CC 002A342C EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A64D0 002A3430 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802A64D4 002A3434 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 802A64D8 002A3438 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802A64DC 002A343C EC 04 00 72 */ fmuls f0, f4, f1 +/* 802A64E0 002A3440 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 802A64E4 002A3444 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802A64E8 002A3448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A64EC 002A344C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A64F0 002A3450 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A64F4 002A3454 7C 08 03 A6 */ mtlr r0 +/* 802A64F8 002A3458 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A64FC 002A345C 4E 80 00 20 */ blr + +.global AABoxCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilter +AABoxCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilter: +/* 802A6500 002A3460 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802A6504 002A3464 7C 08 02 A6 */ mflr r0 +/* 802A6508 002A3468 90 01 00 94 */ stw r0, 0x94(r1) +/* 802A650C 002A346C BE C1 00 68 */ stmw r22, 0x68(r1) +/* 802A6510 002A3470 7C 7D 1B 78 */ mr r29, r3 +/* 802A6514 002A3474 7C 9E 23 78 */ mr r30, r4 +/* 802A6518 002A3478 7C BF 2B 78 */ mr r31, r5 +/* 802A651C 002A347C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A6520 002A3480 48 09 10 ED */ bl GetCenterPoint__6CAABoxCFv +/* 802A6524 002A3484 C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 802A6528 002A3488 3B 7D 00 08 */ addi r27, r29, 8 +/* 802A652C 002A348C C0 5E 00 04 */ lfs f2, 4(r30) +/* 802A6530 002A3490 3B 20 00 00 */ li r25, 0 +/* 802A6534 002A3494 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 802A6538 002A3498 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A653C 002A349C EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A6540 002A34A0 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A6544 002A34A4 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A6548 002A34A8 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 802A654C 002A34AC C0 1E 00 00 */ lfs f0, 0(r30) +/* 802A6550 002A34B0 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A6554 002A34B4 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802A6558 002A34B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A655C 002A34BC EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A6560 002A34C0 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802A6564 002A34C4 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802A6568 002A34C8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A656C 002A34CC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802A6570 002A34D0 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802A6574 002A34D4 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802A6578 002A34D8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A657C 002A34DC D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802A6580 002A34E0 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802A6584 002A34E4 48 00 00 C0 */ b lbl_802A6644 +lbl_802A6588: +/* 802A6588 002A34E8 7F C3 F3 78 */ mr r3, r30 +/* 802A658C 002A34EC 7F 64 DB 78 */ mr r4, r27 +/* 802A6590 002A34F0 48 09 15 F5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6594 002A34F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6598 002A34F8 41 82 00 A4 */ beq lbl_802A663C +/* 802A659C 002A34FC 7F 64 DB 78 */ mr r4, r27 +/* 802A65A0 002A3500 38 61 00 08 */ addi r3, r1, 8 +/* 802A65A4 002A3504 4B FF C7 99 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A65A8 002A3508 83 41 00 08 */ lwz r26, 8(r1) +/* 802A65AC 002A350C 3A C1 00 3C */ addi r22, r1, 0x3c +/* 802A65B0 002A3510 83 9B 00 1C */ lwz r28, 0x1c(r27) +/* 802A65B4 002A3514 3A E0 00 00 */ li r23, 0 +/* 802A65B8 002A3518 A3 1A 00 18 */ lhz r24, 0x18(r26) +/* 802A65BC 002A351C 48 00 00 78 */ b lbl_802A6634 +lbl_802A65C0: +/* 802A65C0 002A3520 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A65C4 002A3524 7F 84 E3 78 */ mr r4, r28 +/* 802A65C8 002A3528 38 61 00 3C */ addi r3, r1, 0x3c +/* 802A65CC 002A352C 38 05 00 01 */ addi r0, r5, 1 +/* 802A65D0 002A3530 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A65D4 002A3534 A0 BA 00 1A */ lhz r5, 0x1a(r26) +/* 802A65D8 002A3538 4B FF C4 5D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A65DC 002A353C 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 802A65E0 002A3540 38 00 00 00 */ li r0, 0 +/* 802A65E4 002A3544 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A65E8 002A3548 7F E3 FB 78 */ mr r3, r31 +/* 802A65EC 002A354C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A65F0 002A3550 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A65F4 002A3554 48 02 ED 59 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A65F8 002A3558 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A65FC 002A355C 41 82 00 30 */ beq lbl_802A662C +/* 802A6600 002A3560 7E C5 B3 78 */ mr r5, r22 +/* 802A6604 002A3564 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A6608 002A3568 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A660C 002A356C 38 D6 00 0C */ addi r6, r22, 0xc +/* 802A6610 002A3570 38 F6 00 18 */ addi r7, r22, 0x18 +/* 802A6614 002A3574 48 02 AE CD */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A6618 002A3578 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A661C 002A357C 28 00 00 01 */ cmplwi r0, 1 +/* 802A6620 002A3580 40 82 00 0C */ bne lbl_802A662C +/* 802A6624 002A3584 38 60 00 01 */ li r3, 1 +/* 802A6628 002A3588 48 00 00 2C */ b lbl_802A6654 +lbl_802A662C: +/* 802A662C 002A358C 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A6630 002A3590 3A F7 00 01 */ addi r23, r23, 1 +lbl_802A6634: +/* 802A6634 002A3594 7C 17 C0 00 */ cmpw r23, r24 +/* 802A6638 002A3598 41 80 FF 88 */ blt lbl_802A65C0 +lbl_802A663C: +/* 802A663C 002A359C 3B 7B 00 24 */ addi r27, r27, 0x24 +/* 802A6640 002A35A0 3B 39 00 01 */ addi r25, r25, 1 +lbl_802A6644: +/* 802A6644 002A35A4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802A6648 002A35A8 7C 19 00 00 */ cmpw r25, r0 +/* 802A664C 002A35AC 41 80 FF 3C */ blt lbl_802A6588 +/* 802A6650 002A35B0 38 60 00 00 */ li r3, 0 +lbl_802A6654: +/* 802A6654 002A35B4 BA C1 00 68 */ lmw r22, 0x68(r1) +/* 802A6658 002A35B8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802A665C 002A35BC 7C 08 03 A6 */ mtlr r0 +/* 802A6660 002A35C0 38 21 00 90 */ addi r1, r1, 0x90 +/* 802A6664 002A35C4 4E 80 00 20 */ blr + +.global AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache +AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache: +/* 802A6668 002A35C8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802A666C 002A35CC 7C 08 02 A6 */ mflr r0 +/* 802A6670 002A35D0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802A6674 002A35D4 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 802A6678 002A35D8 7C 7C 1B 78 */ mr r28, r3 +/* 802A667C 002A35DC 7C 9D 23 78 */ mr r29, r4 +/* 802A6680 002A35E0 3B C0 00 00 */ li r30, 0 +/* 802A6684 002A35E4 3B E0 00 00 */ li r31, 0 +lbl_802A6688: +/* 802A6688 002A35E8 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802A668C 002A35EC A0 03 00 00 */ lhz r0, 0(r3) +/* 802A6690 002A35F0 7C 00 FE 30 */ sraw r0, r0, r31 +/* 802A6694 002A35F4 54 1A 07 BF */ clrlwi. r26, r0, 0x1e +/* 802A6698 002A35F8 41 82 01 3C */ beq lbl_802A67D4 +/* 802A669C 002A35FC 7F 84 E3 78 */ mr r4, r28 +/* 802A66A0 002A3600 7F C5 F3 78 */ mr r5, r30 +/* 802A66A4 002A3604 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A66A8 002A3608 4B FF C6 B9 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A66AC 002A360C C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802A66B0 002A3610 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A66B4 002A3614 C0 81 00 44 */ lfs f4, 0x44(r1) +/* 802A66B8 002A3618 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802A66BC 002A361C C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802A66C0 002A3620 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802A66C4 002A3624 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802A66C8 002A3628 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802A66CC 002A362C 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 802A66D0 002A3630 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A66D4 002A3634 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 802A66D8 002A3638 80 7D 00 00 */ lwz r3, 0(r29) +/* 802A66DC 002A363C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802A66E0 002A3640 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 802A66E4 002A3644 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802A66E8 002A3648 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 802A66EC 002A364C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802A66F0 002A3650 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802A66F4 002A3654 90 A1 00 80 */ stw r5, 0x80(r1) +/* 802A66F8 002A3658 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A66FC 002A365C 48 09 14 89 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6700 002A3660 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6704 002A3664 41 82 00 D0 */ beq lbl_802A67D4 +/* 802A6708 002A3668 2C 1A 00 02 */ cmpwi r26, 2 +/* 802A670C 002A366C 40 82 00 A8 */ bne lbl_802A67B4 +/* 802A6710 002A3670 38 61 00 08 */ addi r3, r1, 8 +/* 802A6714 002A3674 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A6718 002A3678 4B FF C6 25 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A671C 002A367C 83 41 00 08 */ lwz r26, 8(r1) +/* 802A6720 002A3680 3A E1 00 18 */ addi r23, r1, 0x18 +/* 802A6724 002A3684 83 61 00 80 */ lwz r27, 0x80(r1) +/* 802A6728 002A3688 3B 00 00 00 */ li r24, 0 +/* 802A672C 002A368C A3 3A 00 18 */ lhz r25, 0x18(r26) +/* 802A6730 002A3690 48 00 00 78 */ b lbl_802A67A8 +lbl_802A6734: +/* 802A6734 002A3694 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A6738 002A3698 7F 64 DB 78 */ mr r4, r27 +/* 802A673C 002A369C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A6740 002A36A0 38 05 00 01 */ addi r0, r5, 1 +/* 802A6744 002A36A4 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A6748 002A36A8 A0 BA 00 1A */ lhz r5, 0x1a(r26) +/* 802A674C 002A36AC 4B FF C2 E9 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6750 002A36B0 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802A6754 002A36B4 38 00 00 00 */ li r0, 0 +/* 802A6758 002A36B8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A675C 002A36BC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6760 002A36C0 80 7D 00 04 */ lwz r3, 4(r29) +/* 802A6764 002A36C4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6768 002A36C8 48 02 EB E5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A676C 002A36CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6770 002A36D0 41 82 00 30 */ beq lbl_802A67A0 +/* 802A6774 002A36D4 7E E5 BB 78 */ mr r5, r23 +/* 802A6778 002A36D8 38 7D 00 08 */ addi r3, r29, 8 +/* 802A677C 002A36DC 38 9D 00 14 */ addi r4, r29, 0x14 +/* 802A6780 002A36E0 38 D7 00 0C */ addi r6, r23, 0xc +/* 802A6784 002A36E4 38 F7 00 18 */ addi r7, r23, 0x18 +/* 802A6788 002A36E8 48 02 AD 59 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A678C 002A36EC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A6790 002A36F0 28 00 00 01 */ cmplwi r0, 1 +/* 802A6794 002A36F4 40 82 00 0C */ bne lbl_802A67A0 +/* 802A6798 002A36F8 38 60 00 01 */ li r3, 1 +/* 802A679C 002A36FC 48 00 00 4C */ b lbl_802A67E8 +lbl_802A67A0: +/* 802A67A0 002A3700 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A67A4 002A3704 3B 18 00 01 */ addi r24, r24, 1 +lbl_802A67A8: +/* 802A67A8 002A3708 7C 18 C8 00 */ cmpw r24, r25 +/* 802A67AC 002A370C 41 80 FF 88 */ blt lbl_802A6734 +/* 802A67B0 002A3710 48 00 00 24 */ b lbl_802A67D4 +lbl_802A67B4: +/* 802A67B4 002A3714 7F A4 EB 78 */ mr r4, r29 +/* 802A67B8 002A3718 38 61 00 64 */ addi r3, r1, 0x64 +/* 802A67BC 002A371C 4B FF FE AD */ bl AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache +/* 802A67C0 002A3720 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A67C4 002A3724 28 00 00 01 */ cmplwi r0, 1 +/* 802A67C8 002A3728 40 82 00 0C */ bne lbl_802A67D4 +/* 802A67CC 002A372C 38 60 00 01 */ li r3, 1 +/* 802A67D0 002A3730 48 00 00 18 */ b lbl_802A67E8 +lbl_802A67D4: +/* 802A67D4 002A3734 3B DE 00 01 */ addi r30, r30, 1 +/* 802A67D8 002A3738 3B FF 00 02 */ addi r31, r31, 2 +/* 802A67DC 002A373C 2C 1E 00 08 */ cmpwi r30, 8 +/* 802A67E0 002A3740 41 80 FE A8 */ blt lbl_802A6688 +/* 802A67E4 002A3744 38 60 00 00 */ li r3, 0 +lbl_802A67E8: +/* 802A67E8 002A3748 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 802A67EC 002A374C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802A67F0 002A3750 7C 08 03 A6 */ mtlr r0 +/* 802A67F4 002A3754 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802A67F8 002A3758 4E 80 00 20 */ blr + +.global AABoxCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +AABoxCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: +/* 802A67FC 002A375C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802A6800 002A3760 7C 08 02 A6 */ mflr r0 +/* 802A6804 002A3764 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802A6808 002A3768 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 802A680C 002A376C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 802A6810 002A3770 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 802A6814 002A3774 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 802A6818 002A3778 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 802A681C 002A377C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 802A6820 002A3780 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 802A6824 002A3784 C1 02 C1 4C */ lfs f8, lbl_805ADE6C@sda21(r2) +/* 802A6828 002A3788 7C C0 33 78 */ mr r0, r6 +/* 802A682C 002A378C C0 E2 C1 64 */ lfs f7, lbl_805ADE84@sda21(r2) +/* 802A6830 002A3790 7C E8 3B 78 */ mr r8, r7 +/* 802A6834 002A3794 FD 80 40 50 */ fneg f12, f8 +/* 802A6838 002A3798 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A683C 002A379C FF E0 38 50 */ fneg f31, f7 +/* 802A6840 002A37A0 C0 24 00 00 */ lfs f1, 0(r4) +/* 802A6844 002A37A4 C0 44 00 04 */ lfs f2, 4(r4) +/* 802A6848 002A37A8 7C 7F 1B 78 */ mr r31, r3 +/* 802A684C 002A37AC EF A1 02 32 */ fmuls f29, f1, f8 +/* 802A6850 002A37B0 C1 24 00 08 */ lfs f9, 8(r4) +/* 802A6854 002A37B4 EC A0 03 32 */ fmuls f5, f0, f12 +/* 802A6858 002A37B8 C1 44 00 0C */ lfs f10, 0xc(r4) +/* 802A685C 002A37BC EF C2 02 32 */ fmuls f30, f2, f8 +/* 802A6860 002A37C0 7C A6 2B 78 */ mr r6, r5 +/* 802A6864 002A37C4 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802A6868 002A37C8 C1 64 00 14 */ lfs f11, 0x14(r4) +/* 802A686C 002A37CC EC C1 F1 FA */ fmadds f6, f1, f7, f30 +/* 802A6870 002A37D0 D0 E1 00 58 */ stfs f7, 0x58(r1) +/* 802A6874 002A37D4 EC 8A 2F FA */ fmadds f4, f10, f31, f5 +/* 802A6878 002A37D8 7C 07 03 78 */ mr r7, r0 +/* 802A687C 002A37DC EC 62 E9 FA */ fmadds f3, f2, f7, f29 +/* 802A6880 002A37E0 D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 802A6884 002A37E4 EC 4A 03 3A */ fmadds f2, f10, f12, f0 +/* 802A6888 002A37E8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A688C 002A37EC ED A9 02 32 */ fmuls f13, f9, f8 +/* 802A6890 002A37F0 D1 01 00 60 */ stfs f8, 0x60(r1) +/* 802A6894 002A37F4 EC 0A 2B 3A */ fmadds f0, f10, f12, f5 +/* 802A6898 002A37F8 D3 E1 00 68 */ stfs f31, 0x68(r1) +/* 802A689C 002A37FC EC 3D F0 2A */ fadds f1, f29, f30 +/* 802A68A0 002A3800 38 A1 00 58 */ addi r5, r1, 0x58 +/* 802A68A4 002A3804 EC AD 30 2A */ fadds f5, f13, f6 +/* 802A68A8 002A3808 D1 81 00 6C */ stfs f12, 0x6c(r1) +/* 802A68AC 002A380C EC 8B 23 3A */ fmadds f4, f11, f12, f4 +/* 802A68B0 002A3810 D1 81 00 70 */ stfs f12, 0x70(r1) +/* 802A68B4 002A3814 EC 6D 18 2A */ fadds f3, f13, f3 +/* 802A68B8 002A3818 EC 4B 13 3A */ fmadds f2, f11, f12, f2 +/* 802A68BC 002A381C D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 802A68C0 002A3820 EC 29 09 FA */ fmadds f1, f9, f7, f1 +/* 802A68C4 002A3824 EC 0B 07 FA */ fmadds f0, f11, f31, f0 +/* 802A68C8 002A3828 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802A68CC 002A382C D1 01 00 78 */ stfs f8, 0x78(r1) +/* 802A68D0 002A3830 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 802A68D4 002A3834 D1 01 00 80 */ stfs f8, 0x80(r1) +/* 802A68D8 002A3838 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802A68DC 002A383C D1 81 00 88 */ stfs f12, 0x88(r1) +/* 802A68E0 002A3840 D3 E1 00 8C */ stfs f31, 0x8c(r1) +/* 802A68E4 002A3844 D1 81 00 90 */ stfs f12, 0x90(r1) +/* 802A68E8 002A3848 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 802A68EC 002A384C D1 01 00 98 */ stfs f8, 0x98(r1) +/* 802A68F0 002A3850 D1 01 00 9C */ stfs f8, 0x9c(r1) +/* 802A68F4 002A3854 D0 E1 00 A0 */ stfs f7, 0xa0(r1) +/* 802A68F8 002A3858 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802A68FC 002A385C D1 81 00 A8 */ stfs f12, 0xa8(r1) +/* 802A6900 002A3860 D1 81 00 AC */ stfs f12, 0xac(r1) +/* 802A6904 002A3864 D3 E1 00 B0 */ stfs f31, 0xb0(r1) +/* 802A6908 002A3868 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 802A690C 002A386C 48 00 00 85 */ bl __ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +/* 802A6910 002A3870 48 00 07 31 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A6914 002A3874 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A6918 002A3878 38 61 00 08 */ addi r3, r1, 8 +/* 802A691C 002A387C 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802A6920 002A3880 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A6924 002A3884 C0 BF 00 00 */ lfs f5, 0(r31) +/* 802A6928 002A3888 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802A692C 002A388C C0 7F 00 08 */ lfs f3, 8(r31) +/* 802A6930 002A3890 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A6934 002A3894 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A6938 002A3898 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802A693C 002A389C D0 A1 00 08 */ stfs f5, 8(r1) +/* 802A6940 002A38A0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802A6944 002A38A4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802A6948 002A38A8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802A694C 002A38AC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802A6950 002A38B0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802A6954 002A38B4 90 A1 00 20 */ stw r5, 0x20(r1) +/* 802A6958 002A38B8 93 E1 00 24 */ stw r31, 0x24(r1) +/* 802A695C 002A38BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 802A6960 002A38C0 48 00 04 35 */ bl AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache +/* 802A6964 002A38C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802A6968 002A38C8 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802A696C 002A38CC E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802A6970 002A38D0 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802A6974 002A38D4 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802A6978 002A38D8 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802A697C 002A38DC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802A6980 002A38E0 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 802A6984 002A38E4 7C 08 03 A6 */ mtlr r0 +/* 802A6988 002A38E8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802A698C 002A38EC 4E 80 00 20 */ blr + +.global __ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +__ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: +/* 802A6990 002A38F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A6994 002A38F4 7C 08 02 A6 */ mflr r0 +/* 802A6998 002A38F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A699C 002A38FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A69A0 002A3900 7C 9F 23 78 */ mr r31, r4 +/* 802A69A4 002A3904 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A69A8 002A3908 7C 7E 1B 78 */ mr r30, r3 +/* 802A69AC 002A390C 93 E3 00 00 */ stw r31, 0(r3) +/* 802A69B0 002A3910 38 61 00 08 */ addi r3, r1, 8 +/* 802A69B4 002A3914 90 BE 00 04 */ stw r5, 4(r30) +/* 802A69B8 002A3918 90 DE 00 08 */ stw r6, 8(r30) +/* 802A69BC 002A391C 90 FE 00 0C */ stw r7, 0xc(r30) +/* 802A69C0 002A3920 91 1E 00 10 */ stw r8, 0x10(r30) +/* 802A69C4 002A3924 48 09 0C 49 */ bl GetCenterPoint__6CAABoxCFv +/* 802A69C8 002A3928 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A69CC 002A392C 7F C3 F3 78 */ mr r3, r30 +/* 802A69D0 002A3930 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A69D4 002A3934 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802A69D8 002A3938 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A69DC 002A393C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802A69E0 002A3940 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A69E4 002A3944 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802A69E8 002A3948 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802A69EC 002A394C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A69F0 002A3950 C0 7F 00 10 */ lfs f3, 0x10(r31) +/* 802A69F4 002A3954 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A69F8 002A3958 C0 3F 00 04 */ lfs f1, 4(r31) +/* 802A69FC 002A395C C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 802A6A00 002A3960 EC 63 08 28 */ fsubs f3, f3, f1 +/* 802A6A04 002A3964 C0 3F 00 08 */ lfs f1, 8(r31) +/* 802A6A08 002A3968 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A6A0C 002A396C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802A6A10 002A3970 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 802A6A14 002A3974 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802A6A18 002A3978 EC 04 00 72 */ fmuls f0, f4, f1 +/* 802A6A1C 002A397C D0 5E 00 24 */ stfs f2, 0x24(r30) +/* 802A6A20 002A3980 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 802A6A24 002A3984 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A6A28 002A3988 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A6A2C 002A398C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A6A30 002A3990 7C 08 03 A6 */ mtlr r0 +/* 802A6A34 002A3994 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A6A38 002A3998 4E 80 00 20 */ blr + +.global AABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +AABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: +/* 802A6A3C 002A399C 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802A6A40 002A39A0 7C 08 02 A6 */ mflr r0 +/* 802A6A44 002A39A4 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802A6A48 002A39A8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802A6A4C 002A39AC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802A6A50 002A39B0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802A6A54 002A39B4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802A6A58 002A39B8 BE 21 01 74 */ stmw r17, 0x174(r1) +/* 802A6A5C 002A39BC C0 C2 C1 4C */ lfs f6, lbl_805ADE6C@sda21(r2) +/* 802A6A60 002A39C0 7C 9C 23 78 */ mr r28, r4 +/* 802A6A64 002A39C4 C0 A2 C1 64 */ lfs f5, lbl_805ADE84@sda21(r2) +/* 802A6A68 002A39C8 7C 7B 1B 78 */ mr r27, r3 +/* 802A6A6C 002A39CC FD 80 30 50 */ fneg f12, f6 +/* 802A6A70 002A39D0 C0 E4 00 00 */ lfs f7, 0(r4) +/* 802A6A74 002A39D4 FD A0 28 50 */ fneg f13, f5 +/* 802A6A78 002A39D8 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A6A7C 002A39DC C1 04 00 04 */ lfs f8, 4(r4) +/* 802A6A80 002A39E0 EF C7 01 B2 */ fmuls f30, f7, f6 +/* 802A6A84 002A39E4 EF E8 01 B2 */ fmuls f31, f8, f6 +/* 802A6A88 002A39E8 C1 24 00 08 */ lfs f9, 8(r4) +/* 802A6A8C 002A39EC EC 80 03 32 */ fmuls f4, f0, f12 +/* 802A6A90 002A39F0 C1 44 00 0C */ lfs f10, 0xc(r4) +/* 802A6A94 002A39F4 EC 00 03 72 */ fmuls f0, f0, f13 +/* 802A6A98 002A39F8 C1 64 00 14 */ lfs f11, 0x14(r4) +/* 802A6A9C 002A39FC EC 6A 23 7A */ fmadds f3, f10, f13, f4 +/* 802A6AA0 002A3A00 D0 A1 01 08 */ stfs f5, 0x108(r1) +/* 802A6AA4 002A3A04 EC 4A 03 3A */ fmadds f2, f10, f12, f0 +/* 802A6AA8 002A3A08 7C BD 2B 78 */ mr r29, r5 +/* 802A6AAC 002A3A0C EC 3E F8 2A */ fadds f1, f30, f31 +/* 802A6AB0 002A3A10 D0 C1 01 0C */ stfs f6, 0x10c(r1) +/* 802A6AB4 002A3A14 EC 0A 23 3A */ fmadds f0, f10, f12, f4 +/* 802A6AB8 002A3A18 D0 C1 01 10 */ stfs f6, 0x110(r1) +/* 802A6ABC 002A3A1C EC 6B 1B 3A */ fmadds f3, f11, f12, f3 +/* 802A6AC0 002A3A20 7C DE 33 78 */ mr r30, r6 +/* 802A6AC4 002A3A24 EC 4B 13 3A */ fmadds f2, f11, f12, f2 +/* 802A6AC8 002A3A28 D1 A1 01 18 */ stfs f13, 0x118(r1) +/* 802A6ACC 002A3A2C EC 29 09 7A */ fmadds f1, f9, f5, f1 +/* 802A6AD0 002A3A30 D1 81 01 1C */ stfs f12, 0x11c(r1) +/* 802A6AD4 002A3A34 EC 0B 03 7A */ fmadds f0, f11, f13, f0 +/* 802A6AD8 002A3A38 7C FF 3B 78 */ mr r31, r7 +/* 802A6ADC 002A3A3C ED 29 01 B2 */ fmuls f9, f9, f6 +/* 802A6AE0 002A3A40 D1 81 01 20 */ stfs f12, 0x120(r1) +/* 802A6AE4 002A3A44 EC 87 F9 7A */ fmadds f4, f7, f5, f31 +/* 802A6AE8 002A3A48 D0 61 01 24 */ stfs f3, 0x124(r1) +/* 802A6AEC 002A3A4C EC 68 F1 7A */ fmadds f3, f8, f5, f30 +/* 802A6AF0 002A3A50 D0 C1 01 28 */ stfs f6, 0x128(r1) +/* 802A6AF4 002A3A54 EC 89 20 2A */ fadds f4, f9, f4 +/* 802A6AF8 002A3A58 EC 69 18 2A */ fadds f3, f9, f3 +/* 802A6AFC 002A3A5C D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 802A6B00 002A3A60 D0 81 01 14 */ stfs f4, 0x114(r1) +/* 802A6B04 002A3A64 D0 C1 01 30 */ stfs f6, 0x130(r1) +/* 802A6B08 002A3A68 D0 61 01 34 */ stfs f3, 0x134(r1) +/* 802A6B0C 002A3A6C D1 81 01 38 */ stfs f12, 0x138(r1) +/* 802A6B10 002A3A70 D1 A1 01 3C */ stfs f13, 0x13c(r1) +/* 802A6B14 002A3A74 D1 81 01 40 */ stfs f12, 0x140(r1) +/* 802A6B18 002A3A78 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 802A6B1C 002A3A7C D0 C1 01 48 */ stfs f6, 0x148(r1) +/* 802A6B20 002A3A80 D0 C1 01 4C */ stfs f6, 0x14c(r1) +/* 802A6B24 002A3A84 D0 A1 01 50 */ stfs f5, 0x150(r1) +/* 802A6B28 002A3A88 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 802A6B2C 002A3A8C D1 81 01 58 */ stfs f12, 0x158(r1) +/* 802A6B30 002A3A90 D1 81 01 5C */ stfs f12, 0x15c(r1) +/* 802A6B34 002A3A94 D1 A1 01 60 */ stfs f13, 0x160(r1) +/* 802A6B38 002A3A98 D0 01 01 64 */ stfs f0, 0x164(r1) +/* 802A6B3C 002A3A9C 48 00 05 05 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A6B40 002A3AA0 7F 84 E3 78 */ mr r4, r28 +/* 802A6B44 002A3AA4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A6B48 002A3AA8 48 09 0A C5 */ bl GetCenterPoint__6CAABoxCFv +/* 802A6B4C 002A3AAC C0 7C 00 10 */ lfs f3, 0x10(r28) +/* 802A6B50 002A3AB0 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A6B54 002A3AB4 C0 5C 00 04 */ lfs f2, 4(r28) +/* 802A6B58 002A3AB8 3A FB 00 08 */ addi r23, r27, 8 +/* 802A6B5C 002A3ABC C0 3C 00 14 */ lfs f1, 0x14(r28) +/* 802A6B60 002A3AC0 3B 23 67 54 */ addi r25, r3, lbl_805A6754@l +/* 802A6B64 002A3AC4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 802A6B68 002A3AC8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A6B6C 002A3ACC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A6B70 002A3AD0 3A A0 00 00 */ li r21, 0 +/* 802A6B74 002A3AD4 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A6B78 002A3AD8 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 802A6B7C 002A3ADC C0 1C 00 00 */ lfs f0, 0(r28) +/* 802A6B80 002A3AE0 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A6B84 002A3AE4 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 802A6B88 002A3AE8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A6B8C 002A3AEC EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A6B90 002A3AF0 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802A6B94 002A3AF4 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802A6B98 002A3AF8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A6B9C 002A3AFC D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802A6BA0 002A3B00 3A 80 00 00 */ li r20, 0 +/* 802A6BA4 002A3B04 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802A6BA8 002A3B08 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 802A6BAC 002A3B0C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802A6BB0 002A3B10 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 802A6BB4 002A3B14 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 802A6BB8 002A3B18 48 00 01 A8 */ b lbl_802A6D60 +lbl_802A6BBC: +/* 802A6BBC 002A3B1C 7F 83 E3 78 */ mr r3, r28 +/* 802A6BC0 002A3B20 7E E4 BB 78 */ mr r4, r23 +/* 802A6BC4 002A3B24 48 09 0F C1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6BC8 002A3B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6BCC 002A3B2C 41 82 01 8C */ beq lbl_802A6D58 +/* 802A6BD0 002A3B30 7E E4 BB 78 */ mr r4, r23 +/* 802A6BD4 002A3B34 38 61 00 08 */ addi r3, r1, 8 +/* 802A6BD8 002A3B38 4B FF C1 65 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A6BDC 002A3B3C 82 C1 00 08 */ lwz r22, 8(r1) +/* 802A6BE0 002A3B40 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A6BE4 002A3B44 83 17 00 1C */ lwz r24, 0x1c(r23) +/* 802A6BE8 002A3B48 3B 43 7B AC */ addi r26, r3, lbl_80597BAC@l +/* 802A6BEC 002A3B4C A2 76 00 18 */ lhz r19, 0x18(r22) +/* 802A6BF0 002A3B50 3A 40 00 00 */ li r18, 0 +/* 802A6BF4 002A3B54 48 00 01 5C */ b lbl_802A6D50 +lbl_802A6BF8: +/* 802A6BF8 002A3B58 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A6BFC 002A3B5C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A6C00 002A3B60 38 03 00 01 */ addi r0, r3, 1 +/* 802A6C04 002A3B64 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A6C08 002A3B68 A0 B6 00 1A */ lhz r5, 0x1a(r22) +/* 802A6C0C 002A3B6C 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A6C10 002A3B70 7C 1A 1A 2E */ lhzx r0, r26, r3 +/* 802A6C14 002A3B74 7C 04 00 40 */ cmplw r4, r0 +/* 802A6C18 002A3B78 40 82 00 14 */ bne lbl_802A6C2C +/* 802A6C1C 002A3B7C 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A6C20 002A3B80 38 03 00 01 */ addi r0, r3, 1 +/* 802A6C24 002A3B84 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A6C28 002A3B88 48 00 01 20 */ b lbl_802A6D48 +lbl_802A6C2C: +/* 802A6C2C 002A3B8C 7C 9A 1B 2E */ sthx r4, r26, r3 +/* 802A6C30 002A3B90 7F 04 C3 78 */ mr r4, r24 +/* 802A6C34 002A3B94 38 61 00 80 */ addi r3, r1, 0x80 +/* 802A6C38 002A3B98 4B FF BD FD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6C3C 002A3B9C 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 802A6C40 002A3BA0 38 00 00 00 */ li r0, 0 +/* 802A6C44 002A3BA4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A6C48 002A3BA8 7F A3 EB 78 */ mr r3, r29 +/* 802A6C4C 002A3BAC 3A 21 00 80 */ addi r17, r1, 0x80 +/* 802A6C50 002A3BB0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6C54 002A3BB4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6C58 002A3BB8 48 02 E6 F5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6C5C 002A3BBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6C60 002A3BC0 41 82 00 E8 */ beq lbl_802A6D48 +/* 802A6C64 002A3BC4 7E 25 8B 78 */ mr r5, r17 +/* 802A6C68 002A3BC8 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A6C6C 002A3BCC 38 81 00 50 */ addi r4, r1, 0x50 +/* 802A6C70 002A3BD0 38 D1 00 0C */ addi r6, r17, 0xc +/* 802A6C74 002A3BD4 38 F1 00 18 */ addi r7, r17, 0x18 +/* 802A6C78 002A3BD8 48 02 A8 69 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A6C7C 002A3BDC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A6C80 002A3BE0 28 00 00 01 */ cmplwi r0, 1 +/* 802A6C84 002A3BE4 40 82 00 C4 */ bne lbl_802A6D48 +/* 802A6C88 002A3BE8 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A6C8C 002A3BEC C0 99 00 04 */ lfs f4, 4(r25) +/* 802A6C90 002A3BF0 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) +/* 802A6C94 002A3BF4 7E 24 8B 78 */ mr r4, r17 +/* 802A6C98 002A3BF8 C0 79 00 08 */ lfs f3, 8(r25) +/* 802A6C9C 002A3BFC 38 61 01 08 */ addi r3, r1, 0x108 +/* 802A6CA0 002A3C00 C0 59 00 0C */ lfs f2, 0xc(r25) +/* 802A6CA4 002A3C04 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A6CA8 002A3C08 C0 39 00 10 */ lfs f1, 0x10(r25) +/* 802A6CAC 002A3C0C C0 19 00 14 */ lfs f0, 0x14(r25) +/* 802A6CB0 002A3C10 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 802A6CB4 002A3C14 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802A6CB8 002A3C18 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802A6CBC 002A3C1C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802A6CC0 002A3C20 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802A6CC4 002A3C24 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802A6CC8 002A3C28 48 00 04 11 */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +/* 802A6CCC 002A3C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6CD0 002A3C30 41 82 00 78 */ beq lbl_802A6D48 +/* 802A6CD4 002A3C34 7E 24 8B 78 */ mr r4, r17 +/* 802A6CD8 002A3C38 38 61 00 24 */ addi r3, r1, 0x24 +/* 802A6CDC 002A3C3C 4B FF B9 59 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A6CE0 002A3C40 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 802A6CE4 002A3C44 7F C5 F3 78 */ mr r5, r30 +/* 802A6CE8 002A3C48 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802A6CEC 002A3C4C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802A6CF0 002A3C50 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802A6CF4 002A3C54 FC 40 30 50 */ fneg f2, f6 +/* 802A6CF8 002A3C58 FC 20 28 50 */ fneg f1, f5 +/* 802A6CFC 002A3C5C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 802A6D00 002A3C60 FC 00 20 50 */ fneg f0, f4 +/* 802A6D04 002A3C64 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 802A6D08 002A3C68 38 81 00 68 */ addi r4, r1, 0x68 +/* 802A6D0C 002A3C6C D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802A6D10 002A3C70 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A6D14 002A3C74 38 E1 00 40 */ addi r7, r1, 0x40 +/* 802A6D18 002A3C78 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802A6D1C 002A3C7C 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6D20 002A3C80 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802A6D24 002A3C84 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802A6D28 002A3C88 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6D2C 002A3C8C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802A6D30 002A3C90 48 02 75 89 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802A6D34 002A3C94 7C 64 1B 78 */ mr r4, r3 +/* 802A6D38 002A3C98 7F E3 FB 78 */ mr r3, r31 +/* 802A6D3C 002A3C9C 38 A0 00 00 */ li r5, 0 +/* 802A6D40 002A3CA0 4B ED E8 E1 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A6D44 002A3CA4 3A A0 00 01 */ li r21, 1 +lbl_802A6D48: +/* 802A6D48 002A3CA8 3A D6 00 02 */ addi r22, r22, 2 +/* 802A6D4C 002A3CAC 3A 52 00 01 */ addi r18, r18, 1 +lbl_802A6D50: +/* 802A6D50 002A3CB0 7C 12 98 00 */ cmpw r18, r19 +/* 802A6D54 002A3CB4 41 80 FE A4 */ blt lbl_802A6BF8 +lbl_802A6D58: +/* 802A6D58 002A3CB8 3A F7 00 24 */ addi r23, r23, 0x24 +/* 802A6D5C 002A3CBC 3A 94 00 01 */ addi r20, r20, 1 +lbl_802A6D60: +/* 802A6D60 002A3CC0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802A6D64 002A3CC4 7C 14 00 00 */ cmpw r20, r0 +/* 802A6D68 002A3CC8 41 80 FE 54 */ blt lbl_802A6BBC +/* 802A6D6C 002A3CCC 7E A3 AB 78 */ mr r3, r21 +/* 802A6D70 002A3CD0 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802A6D74 002A3CD4 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802A6D78 002A3CD8 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802A6D7C 002A3CDC CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802A6D80 002A3CE0 BA 21 01 74 */ lmw r17, 0x174(r1) +/* 802A6D84 002A3CE4 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802A6D88 002A3CE8 7C 08 03 A6 */ mtlr r0 +/* 802A6D8C 002A3CEC 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802A6D90 002A3CF0 4E 80 00 20 */ blr + +.global AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache +AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache: +/* 802A6D94 002A3CF4 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802A6D98 002A3CF8 7C 08 02 A6 */ mflr r0 +/* 802A6D9C 002A3CFC 90 01 01 84 */ stw r0, 0x184(r1) +/* 802A6DA0 002A3D00 BE A1 01 54 */ stmw r21, 0x154(r1) +/* 802A6DA4 002A3D04 7C 77 1B 78 */ mr r23, r3 +/* 802A6DA8 002A3D08 7C 95 23 78 */ mr r21, r4 +/* 802A6DAC 002A3D0C 3B 60 00 00 */ li r27, 0 +/* 802A6DB0 002A3D10 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802A6DB4 002A3D14 2C 00 00 01 */ cmpwi r0, 1 +/* 802A6DB8 002A3D18 41 82 00 28 */ beq lbl_802A6DE0 +/* 802A6DBC 002A3D1C 40 80 00 10 */ bge lbl_802A6DCC +/* 802A6DC0 002A3D20 2C 00 00 00 */ cmpwi r0, 0 +/* 802A6DC4 002A3D24 40 80 00 14 */ bge lbl_802A6DD8 +/* 802A6DC8 002A3D28 48 00 02 60 */ b lbl_802A7028 +lbl_802A6DCC: +/* 802A6DCC 002A3D2C 2C 00 00 03 */ cmpwi r0, 3 +/* 802A6DD0 002A3D30 40 80 02 58 */ bge lbl_802A7028 +/* 802A6DD4 002A3D34 48 00 00 BC */ b lbl_802A6E90 +lbl_802A6DD8: +/* 802A6DD8 002A3D38 38 60 00 00 */ li r3, 0 +/* 802A6DDC 002A3D3C 48 00 02 50 */ b lbl_802A702C +lbl_802A6DE0: +/* 802A6DE0 002A3D40 3A C0 00 00 */ li r22, 0 +lbl_802A6DE4: +/* 802A6DE4 002A3D44 7E E4 BB 78 */ mr r4, r23 +/* 802A6DE8 002A3D48 7E C5 B3 78 */ mr r5, r22 +/* 802A6DEC 002A3D4C 38 61 00 9C */ addi r3, r1, 0x9c +/* 802A6DF0 002A3D50 4B FF BF 71 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A6DF4 002A3D54 C0 A1 00 9C */ lfs f5, 0x9c(r1) +/* 802A6DF8 002A3D58 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A6DFC 002A3D5C C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 802A6E00 002A3D60 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 802A6E04 002A3D64 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 802A6E08 002A3D68 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 802A6E0C 002A3D6C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802A6E10 002A3D70 80 A1 00 B4 */ lwz r5, 0xb4(r1) +/* 802A6E14 002A3D74 80 81 00 B8 */ lwz r4, 0xb8(r1) +/* 802A6E18 002A3D78 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 802A6E1C 002A3D7C D0 A1 00 C0 */ stfs f5, 0xc0(r1) +/* 802A6E20 002A3D80 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 802A6E24 002A3D84 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 802A6E28 002A3D88 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802A6E2C 002A3D8C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 802A6E30 002A3D90 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 802A6E34 002A3D94 90 A1 00 D8 */ stw r5, 0xd8(r1) +/* 802A6E38 002A3D98 90 81 00 DC */ stw r4, 0xdc(r1) +/* 802A6E3C 002A3D9C 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 802A6E40 002A3DA0 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802A6E44 002A3DA4 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802A6E48 002A3DA8 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802A6E4C 002A3DAC D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802A6E50 002A3DB0 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802A6E54 002A3DB4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802A6E58 002A3DB8 80 95 00 00 */ lwz r4, 0(r21) +/* 802A6E5C 002A3DBC 48 09 0D 29 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6E60 002A3DC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6E64 002A3DC4 41 82 00 1C */ beq lbl_802A6E80 +/* 802A6E68 002A3DC8 7E A4 AB 78 */ mr r4, r21 +/* 802A6E6C 002A3DCC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A6E70 002A3DD0 4B FF FF 25 */ bl AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache +/* 802A6E74 002A3DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6E78 002A3DD8 41 82 00 08 */ beq lbl_802A6E80 +/* 802A6E7C 002A3DDC 3B 60 00 01 */ li r27, 1 +lbl_802A6E80: +/* 802A6E80 002A3DE0 3A D6 00 01 */ addi r22, r22, 1 +/* 802A6E84 002A3DE4 2C 16 00 08 */ cmpwi r22, 8 +/* 802A6E88 002A3DE8 41 80 FF 5C */ blt lbl_802A6DE4 +/* 802A6E8C 002A3DEC 48 00 01 9C */ b lbl_802A7028 +lbl_802A6E90: +/* 802A6E90 002A3DF0 7E E4 BB 78 */ mr r4, r23 +/* 802A6E94 002A3DF4 38 61 00 08 */ addi r3, r1, 8 +/* 802A6E98 002A3DF8 4B FF BE A5 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A6E9C 002A3DFC 83 81 00 08 */ lwz r28, 8(r1) +/* 802A6EA0 002A3E00 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 802A6EA4 002A3E04 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A6EA8 002A3E08 83 B7 00 1C */ lwz r29, 0x1c(r23) +/* 802A6EAC 002A3E0C A3 5C 00 18 */ lhz r26, 0x18(r28) +/* 802A6EB0 002A3E10 3B C4 67 54 */ addi r30, r4, lbl_805A6754@l +/* 802A6EB4 002A3E14 83 35 00 08 */ lwz r25, 8(r21) +/* 802A6EB8 002A3E18 3B E3 7B AC */ addi r31, r3, lbl_80597BAC@l +/* 802A6EBC 002A3E1C 83 15 00 04 */ lwz r24, 4(r21) +/* 802A6EC0 002A3E20 3A E0 00 00 */ li r23, 0 +/* 802A6EC4 002A3E24 48 00 01 5C */ b lbl_802A7020 +lbl_802A6EC8: +/* 802A6EC8 002A3E28 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A6ECC 002A3E2C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A6ED0 002A3E30 38 03 00 01 */ addi r0, r3, 1 +/* 802A6ED4 002A3E34 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A6ED8 002A3E38 A0 BC 00 1A */ lhz r5, 0x1a(r28) +/* 802A6EDC 002A3E3C 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A6EE0 002A3E40 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802A6EE4 002A3E44 7C 04 00 40 */ cmplw r4, r0 +/* 802A6EE8 002A3E48 40 82 00 14 */ bne lbl_802A6EFC +/* 802A6EEC 002A3E4C 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A6EF0 002A3E50 38 03 00 01 */ addi r0, r3, 1 +/* 802A6EF4 002A3E54 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A6EF8 002A3E58 48 00 01 20 */ b lbl_802A7018 +lbl_802A6EFC: +/* 802A6EFC 002A3E5C 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802A6F00 002A3E60 7F A4 EB 78 */ mr r4, r29 +/* 802A6F04 002A3E64 38 61 00 74 */ addi r3, r1, 0x74 +/* 802A6F08 002A3E68 4B FF BB 2D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6F0C 002A3E6C 80 A1 00 98 */ lwz r5, 0x98(r1) +/* 802A6F10 002A3E70 38 00 00 00 */ li r0, 0 +/* 802A6F14 002A3E74 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A6F18 002A3E78 7F 23 CB 78 */ mr r3, r25 +/* 802A6F1C 002A3E7C 3A C1 00 74 */ addi r22, r1, 0x74 +/* 802A6F20 002A3E80 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6F24 002A3E84 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6F28 002A3E88 48 02 E4 25 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6F2C 002A3E8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6F30 002A3E90 41 82 00 E8 */ beq lbl_802A7018 +/* 802A6F34 002A3E94 7E C5 B3 78 */ mr r5, r22 +/* 802A6F38 002A3E98 38 75 00 14 */ addi r3, r21, 0x14 +/* 802A6F3C 002A3E9C 38 95 00 20 */ addi r4, r21, 0x20 +/* 802A6F40 002A3EA0 38 D6 00 0C */ addi r6, r22, 0xc +/* 802A6F44 002A3EA4 38 F6 00 18 */ addi r7, r22, 0x18 +/* 802A6F48 002A3EA8 48 02 A5 99 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A6F4C 002A3EAC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A6F50 002A3EB0 28 00 00 01 */ cmplwi r0, 1 +/* 802A6F54 002A3EB4 40 82 00 C4 */ bne lbl_802A7018 +/* 802A6F58 002A3EB8 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A6F5C 002A3EBC C0 9E 00 04 */ lfs f4, 4(r30) +/* 802A6F60 002A3EC0 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) +/* 802A6F64 002A3EC4 7F 03 C3 78 */ mr r3, r24 +/* 802A6F68 002A3EC8 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802A6F6C 002A3ECC 7E C4 B3 78 */ mr r4, r22 +/* 802A6F70 002A3ED0 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 802A6F74 002A3ED4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802A6F78 002A3ED8 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 802A6F7C 002A3EDC C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 802A6F80 002A3EE0 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802A6F84 002A3EE4 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802A6F88 002A3EE8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802A6F8C 002A3EEC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802A6F90 002A3EF0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802A6F94 002A3EF4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802A6F98 002A3EF8 48 00 01 41 */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +/* 802A6F9C 002A3EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6FA0 002A3F00 41 82 00 78 */ beq lbl_802A7018 +/* 802A6FA4 002A3F04 7E C4 B3 78 */ mr r4, r22 +/* 802A6FA8 002A3F08 38 61 00 24 */ addi r3, r1, 0x24 +/* 802A6FAC 002A3F0C 4B FF B6 89 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A6FB0 002A3F10 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 802A6FB4 002A3F14 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802A6FB8 002A3F18 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802A6FBC 002A3F1C 38 81 00 44 */ addi r4, r1, 0x44 +/* 802A6FC0 002A3F20 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802A6FC4 002A3F24 FC 40 30 50 */ fneg f2, f6 +/* 802A6FC8 002A3F28 FC 20 28 50 */ fneg f1, f5 +/* 802A6FCC 002A3F2C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 802A6FD0 002A3F30 FC 00 20 50 */ fneg f0, f4 +/* 802A6FD4 002A3F34 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 802A6FD8 002A3F38 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A6FDC 002A3F3C D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802A6FE0 002A3F40 38 E1 00 34 */ addi r7, r1, 0x34 +/* 802A6FE4 002A3F44 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6FE8 002A3F48 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 802A6FEC 002A3F4C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802A6FF0 002A3F50 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802A6FF4 002A3F54 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6FF8 002A3F58 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802A6FFC 002A3F5C 80 B5 00 0C */ lwz r5, 0xc(r21) +/* 802A7000 002A3F60 48 02 72 B9 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802A7004 002A3F64 7C 64 1B 78 */ mr r4, r3 +/* 802A7008 002A3F68 80 75 00 10 */ lwz r3, 0x10(r21) +/* 802A700C 002A3F6C 38 A0 00 00 */ li r5, 0 +/* 802A7010 002A3F70 4B ED E6 11 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A7014 002A3F74 3B 60 00 01 */ li r27, 1 +lbl_802A7018: +/* 802A7018 002A3F78 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A701C 002A3F7C 3A F7 00 01 */ addi r23, r23, 1 +lbl_802A7020: +/* 802A7020 002A3F80 7C 17 D0 00 */ cmpw r23, r26 +/* 802A7024 002A3F84 41 80 FE A4 */ blt lbl_802A6EC8 +lbl_802A7028: +/* 802A7028 002A3F88 7F 63 DB 78 */ mr r3, r27 +lbl_802A702C: +/* 802A702C 002A3F8C BA A1 01 54 */ lmw r21, 0x154(r1) +/* 802A7030 002A3F90 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802A7034 002A3F94 7C 08 03 A6 */ mtlr r0 +/* 802A7038 002A3F98 38 21 01 80 */ addi r1, r1, 0x180 +/* 802A703C 002A3F9C 4E 80 00 20 */ blr + +.global ResetInternalCounters__20CMetroidAreaColliderFv +ResetInternalCounters__20CMetroidAreaColliderFv: +/* 802A7040 002A3FA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7044 002A3FA4 7C 08 02 A6 */ mflr r0 +/* 802A7048 002A3FA8 38 60 00 00 */ li r3, 0 +/* 802A704C 002A3FAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7050 002A3FB0 A0 0D A5 D0 */ lhz r0, lbl_805A9190@sda21(r13) +/* 802A7054 002A3FB4 90 6D A5 C0 */ stw r3, lbl_805A9180@sda21(r13) +/* 802A7058 002A3FB8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802A705C 002A3FBC 90 6D A5 C4 */ stw r3, lbl_805A9184@sda21(r13) +/* 802A7060 002A3FC0 90 6D A5 C8 */ stw r3, lbl_805A9188@sda21(r13) +/* 802A7064 002A3FC4 90 6D A5 CC */ stw r3, lbl_805A918C@sda21(r13) +/* 802A7068 002A3FC8 40 82 00 54 */ bne lbl_802A70BC +/* 802A706C 002A3FCC 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A7070 002A3FD0 38 80 00 00 */ li r4, 0 +/* 802A7074 002A3FD4 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802A7078 002A3FD8 38 A0 50 00 */ li r5, 0x5000 +/* 802A707C 002A3FDC 4B D5 C3 2D */ bl memset +/* 802A7080 002A3FE0 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha +/* 802A7084 002A3FE4 3C A0 00 01 */ lis r5, 0x0000C000@ha +/* 802A7088 002A3FE8 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l +/* 802A708C 002A3FEC 38 80 00 00 */ li r4, 0 +/* 802A7090 002A3FF0 38 A5 C0 00 */ addi r5, r5, 0x0000C000@l +/* 802A7094 002A3FF4 4B D5 C3 15 */ bl memset +/* 802A7098 002A3FF8 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A709C 002A3FFC 3C A0 00 01 */ lis r5, 0x00008000@ha +/* 802A70A0 002A4000 38 63 7B AC */ addi r3, r3, lbl_80597BAC@l +/* 802A70A4 002A4004 38 80 00 00 */ li r4, 0 +/* 802A70A8 002A4008 38 A5 80 00 */ addi r5, r5, 0x00008000@l +/* 802A70AC 002A400C 4B D5 C2 FD */ bl memset +/* 802A70B0 002A4010 A0 6D A5 D0 */ lhz r3, lbl_805A9190@sda21(r13) +/* 802A70B4 002A4014 38 03 00 01 */ addi r0, r3, 1 +/* 802A70B8 002A4018 B0 0D A5 D0 */ sth r0, lbl_805A9190@sda21(r13) +lbl_802A70BC: +/* 802A70BC 002A401C A0 6D A5 D0 */ lhz r3, lbl_805A9190@sda21(r13) +/* 802A70C0 002A4020 38 03 00 01 */ addi r0, r3, 1 +/* 802A70C4 002A4024 B0 0D A5 D0 */ sth r0, lbl_805A9190@sda21(r13) +/* 802A70C8 002A4028 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A70CC 002A402C 7C 08 03 A6 */ mtlr r0 +/* 802A70D0 002A4030 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A70D4 002A4034 4E 80 00 20 */ blr + +.global ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox: +/* 802A70D8 002A4038 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 802A70DC 002A403C 7C 08 02 A6 */ mflr r0 +/* 802A70E0 002A4040 90 01 02 34 */ stw r0, 0x234(r1) +/* 802A70E4 002A4044 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 802A70E8 002A4048 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 802A70EC 002A404C DB C1 02 10 */ stfd f30, 0x210(r1) +/* 802A70F0 002A4050 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 802A70F4 002A4054 93 E1 02 0C */ stw r31, 0x20c(r1) +/* 802A70F8 002A4058 93 C1 02 08 */ stw r30, 0x208(r1) +/* 802A70FC 002A405C 93 A1 02 04 */ stw r29, 0x204(r1) +/* 802A7100 002A4060 93 81 02 00 */ stw r28, 0x200(r1) +/* 802A7104 002A4064 39 20 00 00 */ li r9, 0 +/* 802A7108 002A4068 81 0D A5 C0 */ lwz r8, lbl_805A9180@sda21(r13) +/* 802A710C 002A406C 1C C9 00 0C */ mulli r6, r9, 0xc +/* 802A7110 002A4070 80 ED A5 C4 */ lwz r7, lbl_805A9184@sda21(r13) +/* 802A7114 002A4074 39 41 00 18 */ addi r10, r1, 0x18 +/* 802A7118 002A4078 91 21 00 14 */ stw r9, 0x14(r1) +/* 802A711C 002A407C 38 08 00 01 */ addi r0, r8, 1 +/* 802A7120 002A4080 38 E7 00 01 */ addi r7, r7, 1 +/* 802A7124 002A4084 90 0D A5 C0 */ stw r0, lbl_805A9180@sda21(r13) +/* 802A7128 002A4088 7C CA 32 15 */ add. r6, r10, r6 +/* 802A712C 002A408C 7C BE 2B 78 */ mr r30, r5 +/* 802A7130 002A4090 3B E1 01 08 */ addi r31, r1, 0x108 +/* 802A7134 002A4094 91 21 01 08 */ stw r9, 0x108(r1) +/* 802A7138 002A4098 38 00 00 00 */ li r0, 0 +/* 802A713C 002A409C 38 A0 00 01 */ li r5, 1 +/* 802A7140 002A40A0 90 ED A5 C4 */ stw r7, lbl_805A9184@sda21(r13) +/* 802A7144 002A40A4 41 82 00 1C */ beq lbl_802A7160 +/* 802A7148 002A40A8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A714C 002A40AC C0 24 00 04 */ lfs f1, 4(r4) +/* 802A7150 002A40B0 D0 06 00 00 */ stfs f0, 0(r6) +/* 802A7154 002A40B4 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A7158 002A40B8 D0 26 00 04 */ stfs f1, 4(r6) +/* 802A715C 002A40BC D0 06 00 08 */ stfs f0, 8(r6) +lbl_802A7160: +/* 802A7160 002A40C0 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802A7164 002A40C4 38 E7 00 01 */ addi r7, r7, 1 +/* 802A7168 002A40C8 1C C7 00 0C */ mulli r6, r7, 0xc +/* 802A716C 002A40CC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802A7170 002A40D0 7C CA 32 15 */ add. r6, r10, r6 +/* 802A7174 002A40D4 41 82 00 1C */ beq lbl_802A7190 +/* 802A7178 002A40D8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A717C 002A40DC C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802A7180 002A40E0 D0 06 00 00 */ stfs f0, 0(r6) +/* 802A7184 002A40E4 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A7188 002A40E8 D0 26 00 04 */ stfs f1, 4(r6) +/* 802A718C 002A40EC D0 06 00 08 */ stfs f0, 8(r6) +lbl_802A7190: +/* 802A7190 002A40F0 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802A7194 002A40F4 38 E7 00 01 */ addi r7, r7, 1 +/* 802A7198 002A40F8 1C C7 00 0C */ mulli r6, r7, 0xc +/* 802A719C 002A40FC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802A71A0 002A4100 7C CA 32 15 */ add. r6, r10, r6 +/* 802A71A4 002A4104 41 82 00 1C */ beq lbl_802A71C0 +/* 802A71A8 002A4108 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A71AC 002A410C C0 24 00 1C */ lfs f1, 0x1c(r4) +/* 802A71B0 002A4110 D0 06 00 00 */ stfs f0, 0(r6) +/* 802A71B4 002A4114 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A71B8 002A4118 D0 26 00 04 */ stfs f1, 4(r6) +/* 802A71BC 002A411C D0 06 00 08 */ stfs f0, 8(r6) +lbl_802A71C0: +/* 802A71C0 002A4120 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802A71C4 002A4124 38 C0 00 00 */ li r6, 0 +/* 802A71C8 002A4128 C1 42 C1 4C */ lfs f10, lbl_805ADE6C@sda21(r2) +/* 802A71CC 002A412C 38 E7 00 01 */ addi r7, r7, 1 +/* 802A71D0 002A4130 90 E1 00 14 */ stw r7, 0x14(r1) +lbl_802A71D4: +/* 802A71D4 002A4134 1C 85 00 F4 */ mulli r4, r5, 0xf4 +/* 802A71D8 002A4138 39 01 00 14 */ addi r8, r1, 0x14 +/* 802A71DC 002A413C 39 20 00 00 */ li r9, 0 +/* 802A71E0 002A4140 7D 07 43 78 */ mr r7, r8 +/* 802A71E4 002A4144 7D 08 22 14 */ add r8, r8, r4 +/* 802A71E8 002A4148 81 68 00 00 */ lwz r11, 0(r8) +/* 802A71EC 002A414C 1C 80 00 F4 */ mulli r4, r0, 0xf4 +/* 802A71F0 002A4150 2C 0B 00 00 */ cmpwi r11, 0 +/* 802A71F4 002A4154 7C E7 22 14 */ add r7, r7, r4 +/* 802A71F8 002A4158 40 81 00 44 */ ble lbl_802A723C +/* 802A71FC 002A415C 2C 0B 00 08 */ cmpwi r11, 8 +/* 802A7200 002A4160 39 4B FF F8 */ addi r10, r11, -8 +/* 802A7204 002A4164 40 81 00 20 */ ble lbl_802A7224 +/* 802A7208 002A4168 38 8A 00 07 */ addi r4, r10, 7 +/* 802A720C 002A416C 54 84 E8 FE */ srwi r4, r4, 3 +/* 802A7210 002A4170 7C 89 03 A6 */ mtctr r4 +/* 802A7214 002A4174 2C 0A 00 00 */ cmpwi r10, 0 +/* 802A7218 002A4178 40 81 00 0C */ ble lbl_802A7224 +lbl_802A721C: +/* 802A721C 002A417C 39 29 00 08 */ addi r9, r9, 8 +/* 802A7220 002A4180 42 00 FF FC */ bdnz lbl_802A721C +lbl_802A7224: +/* 802A7224 002A4184 7C 89 58 50 */ subf r4, r9, r11 +/* 802A7228 002A4188 7C 89 03 A6 */ mtctr r4 +/* 802A722C 002A418C 7C 09 58 00 */ cmpw r9, r11 +/* 802A7230 002A4190 40 80 00 0C */ bge lbl_802A723C +lbl_802A7234: +/* 802A7234 002A4194 39 29 00 01 */ addi r9, r9, 1 +/* 802A7238 002A4198 42 00 FF FC */ bdnz lbl_802A7234 +lbl_802A723C: +/* 802A723C 002A419C 39 20 00 00 */ li r9, 0 +/* 802A7240 002A41A0 C0 23 00 04 */ lfs f1, 4(r3) +/* 802A7244 002A41A4 91 28 00 00 */ stw r9, 0(r8) +/* 802A7248 002A41A8 38 87 00 04 */ addi r4, r7, 4 +/* 802A724C 002A41AC C0 43 00 00 */ lfs f2, 0(r3) +/* 802A7250 002A41B0 C0 07 00 08 */ lfs f0, 8(r7) +/* 802A7254 002A41B4 C0 83 00 08 */ lfs f4, 8(r3) +/* 802A7258 002A41B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A725C 002A41BC C0 27 00 04 */ lfs f1, 4(r7) +/* 802A7260 002A41C0 C0 67 00 0C */ lfs f3, 0xc(r7) +/* 802A7264 002A41C4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802A7268 002A41C8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802A726C 002A41CC EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 802A7270 002A41D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A7274 002A41D4 FC 00 50 40 */ fcmpo cr0, f0, f10 +/* 802A7278 002A41D8 4C 41 13 82 */ cror 2, 1, 2 +/* 802A727C 002A41DC 7D 20 00 26 */ mfcr r9 +/* 802A7280 002A41E0 39 40 00 00 */ li r10, 0 +/* 802A7284 002A41E4 55 29 1F FE */ rlwinm r9, r9, 3, 0x1f, 0x1f +/* 802A7288 002A41E8 48 00 01 5C */ b lbl_802A73E4 +lbl_802A728C: +/* 802A728C 002A41EC 3B AB FF FF */ addi r29, r11, -1 +/* 802A7290 002A41F0 55 2B 06 3F */ clrlwi. r11, r9, 0x18 +/* 802A7294 002A41F4 7F 9D 50 50 */ subf r28, r29, r10 +/* 802A7298 002A41F8 39 8A 00 01 */ addi r12, r10, 1 +/* 802A729C 002A41FC 7F AA E8 50 */ subf r29, r10, r29 +/* 802A72A0 002A4200 7F 8B E8 F8 */ nor r11, r28, r29 +/* 802A72A4 002A4204 7D 6B FE 70 */ srawi r11, r11, 0x1f +/* 802A72A8 002A4208 7D 8B 58 78 */ andc r11, r12, r11 +/* 802A72AC 002A420C 1D 6B 00 0C */ mulli r11, r11, 0xc +/* 802A72B0 002A4210 7D 87 5A 14 */ add r12, r7, r11 +/* 802A72B4 002A4214 41 82 00 3C */ beq lbl_802A72F0 +/* 802A72B8 002A4218 81 68 00 00 */ lwz r11, 0(r8) +/* 802A72BC 002A421C 1D 6B 00 0C */ mulli r11, r11, 0xc +/* 802A72C0 002A4220 7D 68 5A 14 */ add r11, r8, r11 +/* 802A72C4 002A4224 35 6B 00 04 */ addic. r11, r11, 4 +/* 802A72C8 002A4228 41 82 00 1C */ beq lbl_802A72E4 +/* 802A72CC 002A422C C0 04 00 00 */ lfs f0, 0(r4) +/* 802A72D0 002A4230 D0 0B 00 00 */ stfs f0, 0(r11) +/* 802A72D4 002A4234 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A72D8 002A4238 D0 0B 00 04 */ stfs f0, 4(r11) +/* 802A72DC 002A423C C0 04 00 08 */ lfs f0, 8(r4) +/* 802A72E0 002A4240 D0 0B 00 08 */ stfs f0, 8(r11) +lbl_802A72E4: +/* 802A72E4 002A4244 81 68 00 00 */ lwz r11, 0(r8) +/* 802A72E8 002A4248 39 6B 00 01 */ addi r11, r11, 1 +/* 802A72EC 002A424C 91 68 00 00 */ stw r11, 0(r8) +lbl_802A72F0: +/* 802A72F0 002A4250 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802A72F4 002A4254 C0 2C 00 08 */ lfs f1, 8(r12) +/* 802A72F8 002A4258 C1 83 00 00 */ lfs f12, 0(r3) +/* 802A72FC 002A425C EC 65 00 72 */ fmuls f3, f5, f1 +/* 802A7300 002A4260 C0 0C 00 04 */ lfs f0, 4(r12) +/* 802A7304 002A4264 C1 A3 00 08 */ lfs f13, 8(r3) +/* 802A7308 002A4268 C0 4C 00 0C */ lfs f2, 0xc(r12) +/* 802A730C 002A426C EC 6C 18 3A */ fmadds f3, f12, f0, f3 +/* 802A7310 002A4270 C1 63 00 0C */ lfs f11, 0xc(r3) +/* 802A7314 002A4274 EC 6D 18 BA */ fmadds f3, f13, f2, f3 +/* 802A7318 002A4278 EC 63 58 28 */ fsubs f3, f3, f11 +/* 802A731C 002A427C FC 03 50 40 */ fcmpo cr0, f3, f10 +/* 802A7320 002A4280 4C 41 13 82 */ cror 2, 1, 2 +/* 802A7324 002A4284 7D 60 00 26 */ mfcr r11 +/* 802A7328 002A4288 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 802A732C 002A428C 55 6B 1F FE */ rlwinm r11, r11, 3, 0x1f, 0x1f +/* 802A7330 002A4290 7D 69 4A 79 */ xor. r9, r11, r9 +/* 802A7334 002A4294 41 82 00 A4 */ beq lbl_802A73D8 +/* 802A7338 002A4298 C1 24 00 04 */ lfs f9, 4(r4) +/* 802A733C 002A429C C0 E4 00 00 */ lfs f7, 0(r4) +/* 802A7340 002A42A0 EC 69 01 72 */ fmuls f3, f9, f5 +/* 802A7344 002A42A4 C1 04 00 08 */ lfs f8, 8(r4) +/* 802A7348 002A42A8 EF C1 48 28 */ fsubs f30, f1, f9 +/* 802A734C 002A42AC 81 28 00 00 */ lwz r9, 0(r8) +/* 802A7350 002A42B0 EC C0 38 28 */ fsubs f6, f0, f7 +/* 802A7354 002A42B4 C0 82 C1 64 */ lfs f4, lbl_805ADE84@sda21(r2) +/* 802A7358 002A42B8 EC 67 1B 3A */ fmadds f3, f7, f12, f3 +/* 802A735C 002A42BC 1D 29 00 0C */ mulli r9, r9, 0xc +/* 802A7360 002A42C0 EC BE 01 72 */ fmuls f5, f30, f5 +/* 802A7364 002A42C4 D0 C1 00 08 */ stfs f6, 8(r1) +/* 802A7368 002A42C8 EF E2 40 28 */ fsubs f31, f2, f8 +/* 802A736C 002A42CC EC 68 1B 7A */ fmadds f3, f8, f13, f3 +/* 802A7370 002A42D0 EC A6 2B 3A */ fmadds f5, f6, f12, f5 +/* 802A7374 002A42D4 7D 28 4A 14 */ add r9, r8, r9 +/* 802A7378 002A42D8 ED 87 00 28 */ fsubs f12, f7, f0 +/* 802A737C 002A42DC 35 29 00 04 */ addic. r9, r9, 4 +/* 802A7380 002A42E0 EC 63 58 28 */ fsubs f3, f3, f11 +/* 802A7384 002A42E4 EC BF 2B 7A */ fmadds f5, f31, f13, f5 +/* 802A7388 002A42E8 EC E9 08 28 */ fsubs f7, f9, f1 +/* 802A738C 002A42EC D3 C1 00 0C */ stfs f30, 0xc(r1) +/* 802A7390 002A42F0 FC 60 18 50 */ fneg f3, f3 +/* 802A7394 002A42F4 EC C8 10 28 */ fsubs f6, f8, f2 +/* 802A7398 002A42F8 D3 E1 00 10 */ stfs f31, 0x10(r1) +/* 802A739C 002A42FC EC 63 28 24 */ fdivs f3, f3, f5 +/* 802A73A0 002A4300 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802A73A4 002A4304 EC A3 03 32 */ fmuls f5, f3, f12 +/* 802A73A8 002A4308 EC 83 01 F2 */ fmuls f4, f3, f7 +/* 802A73AC 002A430C EC 63 01 B2 */ fmuls f3, f3, f6 +/* 802A73B0 002A4310 EC A5 00 2A */ fadds f5, f5, f0 +/* 802A73B4 002A4314 EC 24 08 2A */ fadds f1, f4, f1 +/* 802A73B8 002A4318 EC 03 10 2A */ fadds f0, f3, f2 +/* 802A73BC 002A431C 41 82 00 10 */ beq lbl_802A73CC +/* 802A73C0 002A4320 D0 A9 00 00 */ stfs f5, 0(r9) +/* 802A73C4 002A4324 D0 29 00 04 */ stfs f1, 4(r9) +/* 802A73C8 002A4328 D0 09 00 08 */ stfs f0, 8(r9) +lbl_802A73CC: +/* 802A73CC 002A432C 81 28 00 00 */ lwz r9, 0(r8) +/* 802A73D0 002A4330 39 29 00 01 */ addi r9, r9, 1 +/* 802A73D4 002A4334 91 28 00 00 */ stw r9, 0(r8) +lbl_802A73D8: +/* 802A73D8 002A4338 7D 69 5B 78 */ mr r9, r11 +/* 802A73DC 002A433C 38 84 00 0C */ addi r4, r4, 0xc +/* 802A73E0 002A4340 39 4A 00 01 */ addi r10, r10, 1 +lbl_802A73E4: +/* 802A73E4 002A4344 81 67 00 00 */ lwz r11, 0(r7) +/* 802A73E8 002A4348 7C 0A 58 00 */ cmpw r10, r11 +/* 802A73EC 002A434C 41 80 FE A0 */ blt lbl_802A728C +/* 802A73F0 002A4350 80 88 00 00 */ lwz r4, 0(r8) +/* 802A73F4 002A4354 2C 04 00 00 */ cmpwi r4, 0 +/* 802A73F8 002A4358 40 82 00 BC */ bne lbl_802A74B4 +/* 802A73FC 002A435C 28 1F 00 00 */ cmplwi r31, 0 +/* 802A7400 002A4360 41 82 00 58 */ beq lbl_802A7458 +/* 802A7404 002A4364 80 A1 01 08 */ lwz r5, 0x108(r1) +/* 802A7408 002A4368 38 60 00 00 */ li r3, 0 +/* 802A740C 002A436C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7410 002A4370 40 81 00 40 */ ble lbl_802A7450 +/* 802A7414 002A4374 2C 05 00 08 */ cmpwi r5, 8 +/* 802A7418 002A4378 38 85 FF F8 */ addi r4, r5, -8 +/* 802A741C 002A437C 40 81 00 20 */ ble lbl_802A743C +/* 802A7420 002A4380 38 04 00 07 */ addi r0, r4, 7 +/* 802A7424 002A4384 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A7428 002A4388 7C 09 03 A6 */ mtctr r0 +/* 802A742C 002A438C 2C 04 00 00 */ cmpwi r4, 0 +/* 802A7430 002A4390 40 81 00 0C */ ble lbl_802A743C +lbl_802A7434: +/* 802A7434 002A4394 38 63 00 08 */ addi r3, r3, 8 +/* 802A7438 002A4398 42 00 FF FC */ bdnz lbl_802A7434 +lbl_802A743C: +/* 802A743C 002A439C 7C 03 28 50 */ subf r0, r3, r5 +/* 802A7440 002A43A0 7C 09 03 A6 */ mtctr r0 +/* 802A7444 002A43A4 7C 03 28 00 */ cmpw r3, r5 +/* 802A7448 002A43A8 40 80 00 08 */ bge lbl_802A7450 +lbl_802A744C: +/* 802A744C 002A43AC 42 00 00 00 */ bdnz lbl_802A744C +lbl_802A7450: +/* 802A7450 002A43B0 38 00 00 00 */ li r0, 0 +/* 802A7454 002A43B4 90 01 01 08 */ stw r0, 0x108(r1) +lbl_802A7458: +/* 802A7458 002A43B8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802A745C 002A43BC 38 60 00 00 */ li r3, 0 +/* 802A7460 002A43C0 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7464 002A43C4 40 81 00 40 */ ble lbl_802A74A4 +/* 802A7468 002A43C8 2C 05 00 08 */ cmpwi r5, 8 +/* 802A746C 002A43CC 38 85 FF F8 */ addi r4, r5, -8 +/* 802A7470 002A43D0 40 81 00 20 */ ble lbl_802A7490 +/* 802A7474 002A43D4 38 04 00 07 */ addi r0, r4, 7 +/* 802A7478 002A43D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A747C 002A43DC 7C 09 03 A6 */ mtctr r0 +/* 802A7480 002A43E0 2C 04 00 00 */ cmpwi r4, 0 +/* 802A7484 002A43E4 40 81 00 0C */ ble lbl_802A7490 +lbl_802A7488: +/* 802A7488 002A43E8 38 63 00 08 */ addi r3, r3, 8 +/* 802A748C 002A43EC 42 00 FF FC */ bdnz lbl_802A7488 +lbl_802A7490: +/* 802A7490 002A43F0 7C 03 28 50 */ subf r0, r3, r5 +/* 802A7494 002A43F4 7C 09 03 A6 */ mtctr r0 +/* 802A7498 002A43F8 7C 03 28 00 */ cmpw r3, r5 +/* 802A749C 002A43FC 40 80 00 08 */ bge lbl_802A74A4 +lbl_802A74A0: +/* 802A74A0 002A4400 42 00 00 00 */ bdnz lbl_802A74A0 +lbl_802A74A4: +/* 802A74A4 002A4404 38 00 00 00 */ li r0, 0 +/* 802A74A8 002A4408 38 60 00 00 */ li r3, 0 +/* 802A74AC 002A440C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A74B0 002A4410 48 00 01 1C */ b lbl_802A75CC +lbl_802A74B4: +/* 802A74B4 002A4414 38 C6 00 01 */ addi r6, r6, 1 +/* 802A74B8 002A4418 68 A5 00 01 */ xori r5, r5, 1 +/* 802A74BC 002A441C 2C 06 00 06 */ cmpwi r6, 6 +/* 802A74C0 002A4420 68 00 00 01 */ xori r0, r0, 1 +/* 802A74C4 002A4424 38 63 00 10 */ addi r3, r3, 0x10 +/* 802A74C8 002A4428 41 80 FD 0C */ blt lbl_802A71D4 +/* 802A74CC 002A442C 68 A0 00 01 */ xori r0, r5, 1 +/* 802A74D0 002A4430 3B 81 00 14 */ addi r28, r1, 0x14 +/* 802A74D4 002A4434 1C 00 00 F4 */ mulli r0, r0, 0xf4 +/* 802A74D8 002A4438 7F 9C 02 14 */ add r28, r28, r0 +/* 802A74DC 002A443C 3B BC 00 04 */ addi r29, r28, 4 +/* 802A74E0 002A4440 48 00 00 14 */ b lbl_802A74F4 +lbl_802A74E4: +/* 802A74E4 002A4444 7F C3 F3 78 */ mr r3, r30 +/* 802A74E8 002A4448 7F A4 EB 78 */ mr r4, r29 +/* 802A74EC 002A444C 48 09 06 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A74F0 002A4450 3B BD 00 0C */ addi r29, r29, 0xc +lbl_802A74F4: +/* 802A74F4 002A4454 80 1C 00 00 */ lwz r0, 0(r28) +/* 802A74F8 002A4458 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A74FC 002A445C 7C 7C 02 14 */ add r3, r28, r0 +/* 802A7500 002A4460 38 03 00 04 */ addi r0, r3, 4 +/* 802A7504 002A4464 7C 1D 00 40 */ cmplw r29, r0 +/* 802A7508 002A4468 40 82 FF DC */ bne lbl_802A74E4 +/* 802A750C 002A446C 80 6D A5 C4 */ lwz r3, lbl_805A9184@sda21(r13) +/* 802A7510 002A4470 28 1F 00 00 */ cmplwi r31, 0 +/* 802A7514 002A4474 38 03 FF FF */ addi r0, r3, -1 +/* 802A7518 002A4478 90 0D A5 C4 */ stw r0, lbl_805A9184@sda21(r13) +/* 802A751C 002A447C 41 82 00 58 */ beq lbl_802A7574 +/* 802A7520 002A4480 80 A1 01 08 */ lwz r5, 0x108(r1) +/* 802A7524 002A4484 38 60 00 00 */ li r3, 0 +/* 802A7528 002A4488 2C 05 00 00 */ cmpwi r5, 0 +/* 802A752C 002A448C 40 81 00 40 */ ble lbl_802A756C +/* 802A7530 002A4490 2C 05 00 08 */ cmpwi r5, 8 +/* 802A7534 002A4494 38 85 FF F8 */ addi r4, r5, -8 +/* 802A7538 002A4498 40 81 00 20 */ ble lbl_802A7558 +/* 802A753C 002A449C 38 04 00 07 */ addi r0, r4, 7 +/* 802A7540 002A44A0 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A7544 002A44A4 7C 09 03 A6 */ mtctr r0 +/* 802A7548 002A44A8 2C 04 00 00 */ cmpwi r4, 0 +/* 802A754C 002A44AC 40 81 00 0C */ ble lbl_802A7558 +lbl_802A7550: +/* 802A7550 002A44B0 38 63 00 08 */ addi r3, r3, 8 +/* 802A7554 002A44B4 42 00 FF FC */ bdnz lbl_802A7550 +lbl_802A7558: +/* 802A7558 002A44B8 7C 03 28 50 */ subf r0, r3, r5 +/* 802A755C 002A44BC 7C 09 03 A6 */ mtctr r0 +/* 802A7560 002A44C0 7C 03 28 00 */ cmpw r3, r5 +/* 802A7564 002A44C4 40 80 00 08 */ bge lbl_802A756C +lbl_802A7568: +/* 802A7568 002A44C8 42 00 00 00 */ bdnz lbl_802A7568 +lbl_802A756C: +/* 802A756C 002A44CC 38 00 00 00 */ li r0, 0 +/* 802A7570 002A44D0 90 01 01 08 */ stw r0, 0x108(r1) +lbl_802A7574: +/* 802A7574 002A44D4 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802A7578 002A44D8 38 60 00 00 */ li r3, 0 +/* 802A757C 002A44DC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7580 002A44E0 40 81 00 40 */ ble lbl_802A75C0 +/* 802A7584 002A44E4 2C 05 00 08 */ cmpwi r5, 8 +/* 802A7588 002A44E8 38 85 FF F8 */ addi r4, r5, -8 +/* 802A758C 002A44EC 40 81 00 20 */ ble lbl_802A75AC +/* 802A7590 002A44F0 38 04 00 07 */ addi r0, r4, 7 +/* 802A7594 002A44F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A7598 002A44F8 7C 09 03 A6 */ mtctr r0 +/* 802A759C 002A44FC 2C 04 00 00 */ cmpwi r4, 0 +/* 802A75A0 002A4500 40 81 00 0C */ ble lbl_802A75AC +lbl_802A75A4: +/* 802A75A4 002A4504 38 63 00 08 */ addi r3, r3, 8 +/* 802A75A8 002A4508 42 00 FF FC */ bdnz lbl_802A75A4 +lbl_802A75AC: +/* 802A75AC 002A450C 7C 03 28 50 */ subf r0, r3, r5 +/* 802A75B0 002A4510 7C 09 03 A6 */ mtctr r0 +/* 802A75B4 002A4514 7C 03 28 00 */ cmpw r3, r5 +/* 802A75B8 002A4518 40 80 00 08 */ bge lbl_802A75C0 +lbl_802A75BC: +/* 802A75BC 002A451C 42 00 00 00 */ bdnz lbl_802A75BC +lbl_802A75C0: +/* 802A75C0 002A4520 38 00 00 00 */ li r0, 0 +/* 802A75C4 002A4524 38 60 00 01 */ li r3, 1 +/* 802A75C8 002A4528 90 01 00 14 */ stw r0, 0x14(r1) +lbl_802A75CC: +/* 802A75CC 002A452C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 802A75D0 002A4530 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 802A75D4 002A4534 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 802A75D8 002A4538 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 802A75DC 002A453C 83 E1 02 0C */ lwz r31, 0x20c(r1) +/* 802A75E0 002A4540 83 C1 02 08 */ lwz r30, 0x208(r1) +/* 802A75E4 002A4544 83 A1 02 04 */ lwz r29, 0x204(r1) +/* 802A75E8 002A4548 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802A75EC 002A454C 83 81 02 00 */ lwz r28, 0x200(r1) +/* 802A75F0 002A4550 7C 08 03 A6 */ mtlr r0 +/* 802A75F4 002A4554 38 21 02 30 */ addi r1, r1, 0x230 +/* 802A75F8 002A4558 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CMetroidModelInstance.s b/asm/WorldFormat/CMetroidModelInstance.s new file mode 100644 index 00000000..e9bf6bc5 --- /dev/null +++ b/asm/WorldFormat/CMetroidModelInstance.s @@ -0,0 +1,123 @@ +.include "macros.inc" + +.section .text, "ax" + +.global "__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector" +"__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector": +/* 802A2778 0029F6D8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802A277C 0029F6DC 7C 08 02 A6 */ mflr r0 +/* 802A2780 0029F6E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802A2784 0029F6E4 BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 802A2788 0029F6E8 7C 97 23 78 */ mr r23, r4 +/* 802A278C 0029F6EC 83 E1 00 58 */ lwz r31, 0x58(r1) +/* 802A2790 0029F6F0 7C 79 1B 78 */ mr r25, r3 +/* 802A2794 0029F6F4 7C B8 2B 78 */ mr r24, r5 +/* 802A2798 0029F6F8 7C DA 33 78 */ mr r26, r6 +/* 802A279C 0029F6FC 7C FB 3B 78 */ mr r27, r7 +/* 802A27A0 0029F700 7D 1C 43 78 */ mr r28, r8 +/* 802A27A4 0029F704 7D 3D 4B 78 */ mr r29, r9 +/* 802A27A8 0029F708 7D 5E 53 78 */ mr r30, r10 +/* 802A27AC 0029F70C 80 04 00 00 */ lwz r0, 0(r4) +/* 802A27B0 0029F710 90 03 00 00 */ stw r0, 0(r3) +/* 802A27B4 0029F714 38 77 00 04 */ addi r3, r23, 4 +/* 802A27B8 0029F718 48 00 01 65 */ bl nullsub_30 +/* 802A27BC 0029F71C 7C 64 1B 78 */ mr r4, r3 +/* 802A27C0 0029F720 38 79 00 04 */ addi r3, r25, 4 +/* 802A27C4 0029F724 48 07 03 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802A27C8 0029F728 38 61 00 08 */ addi r3, r1, 8 +/* 802A27CC 0029F72C 38 97 00 34 */ addi r4, r23, 0x34 +/* 802A27D0 0029F730 48 00 00 F9 */ bl sub_802a28c8 +/* 802A27D4 0029F734 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A27D8 0029F738 D0 19 00 34 */ stfs f0, 0x34(r25) +/* 802A27DC 0029F73C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A27E0 0029F740 D0 19 00 38 */ stfs f0, 0x38(r25) +/* 802A27E4 0029F744 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A27E8 0029F748 D0 19 00 3C */ stfs f0, 0x3c(r25) +/* 802A27EC 0029F74C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A27F0 0029F750 D0 19 00 40 */ stfs f0, 0x40(r25) +/* 802A27F4 0029F754 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802A27F8 0029F758 D0 19 00 44 */ stfs f0, 0x44(r25) +/* 802A27FC 0029F75C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A2800 0029F760 D0 19 00 48 */ stfs f0, 0x48(r25) +/* 802A2804 0029F764 93 19 00 4C */ stw r24, 0x4c(r25) +/* 802A2808 0029F768 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A280C 0029F76C 90 19 00 54 */ stw r0, 0x54(r25) +/* 802A2810 0029F770 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A2814 0029F774 90 19 00 58 */ stw r0, 0x58(r25) +/* 802A2818 0029F778 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A281C 0029F77C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A2820 0029F780 40 82 00 1C */ bne lbl_802A283C +/* 802A2824 0029F784 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A2828 0029F788 2C 00 00 00 */ cmpwi r0, 0 +/* 802A282C 0029F78C 40 82 00 10 */ bne lbl_802A283C +/* 802A2830 0029F790 38 00 00 00 */ li r0, 0 +/* 802A2834 0029F794 90 19 00 5C */ stw r0, 0x5c(r25) +/* 802A2838 0029F798 48 00 00 64 */ b lbl_802A289C +lbl_802A283C: +/* 802A283C 0029F79C 80 19 00 58 */ lwz r0, 0x58(r25) +/* 802A2840 0029F7A0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802A2844 0029F7A4 40 82 00 10 */ bne lbl_802A2854 +/* 802A2848 0029F7A8 38 00 00 00 */ li r0, 0 +/* 802A284C 0029F7AC 90 19 00 5C */ stw r0, 0x5c(r25) +/* 802A2850 0029F7B0 48 00 00 18 */ b lbl_802A2868 +lbl_802A2854: +/* 802A2854 0029F7B4 3C 80 80 3D */ lis r4, lbl_803D6018@ha +/* 802A2858 0029F7B8 38 A0 00 00 */ li r5, 0 +/* 802A285C 0029F7BC 38 84 60 18 */ addi r4, r4, lbl_803D6018@l +/* 802A2860 0029F7C0 48 07 2F B9 */ bl __nwa__FUlPCcPCc +/* 802A2864 0029F7C4 90 79 00 5C */ stw r3, 0x5c(r25) +lbl_802A2868: +/* 802A2868 0029F7C8 80 19 00 54 */ lwz r0, 0x54(r25) +/* 802A286C 0029F7CC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A2870 0029F7D0 80 79 00 5C */ lwz r3, 0x5c(r25) +/* 802A2874 0029F7D4 7C 09 03 A6 */ mtctr r0 +/* 802A2878 0029F7D8 2C 00 00 00 */ cmpwi r0, 0 +/* 802A287C 0029F7DC 40 81 00 20 */ ble lbl_802A289C +lbl_802A2880: +/* 802A2880 0029F7E0 28 03 00 00 */ cmplwi r3, 0 +/* 802A2884 0029F7E4 41 82 00 0C */ beq lbl_802A2890 +/* 802A2888 0029F7E8 80 04 00 00 */ lwz r0, 0(r4) +/* 802A288C 0029F7EC 90 03 00 00 */ stw r0, 0(r3) +lbl_802A2890: +/* 802A2890 0029F7F0 38 63 00 04 */ addi r3, r3, 4 +/* 802A2894 0029F7F4 38 84 00 04 */ addi r4, r4, 4 +/* 802A2898 0029F7F8 42 00 FF E8 */ bdnz lbl_802A2880 +lbl_802A289C: +/* 802A289C 0029F7FC 93 59 00 60 */ stw r26, 0x60(r25) +/* 802A28A0 0029F800 7F 23 CB 78 */ mr r3, r25 +/* 802A28A4 0029F804 93 79 00 64 */ stw r27, 0x64(r25) +/* 802A28A8 0029F808 93 99 00 68 */ stw r28, 0x68(r25) +/* 802A28AC 0029F80C 93 B9 00 6C */ stw r29, 0x6c(r25) +/* 802A28B0 0029F810 93 D9 00 70 */ stw r30, 0x70(r25) +/* 802A28B4 0029F814 BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 802A28B8 0029F818 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802A28BC 0029F81C 7C 08 03 A6 */ mtlr r0 +/* 802A28C0 0029F820 38 21 00 50 */ addi r1, r1, 0x50 +/* 802A28C4 0029F824 4E 80 00 20 */ blr + +.global sub_802a28c8 +sub_802a28c8: +/* 802A28C8 0029F828 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A28CC 0029F82C C0 24 00 00 */ lfs f1, 0(r4) +/* 802A28D0 0029F830 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802A28D4 0029F834 C0 84 00 08 */ lfs f4, 8(r4) +/* 802A28D8 0029F838 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802A28DC 0029F83C C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802A28E0 0029F840 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A28E4 0029F844 D0 21 00 08 */ stfs f1, 8(r1) +/* 802A28E8 0029F848 D0 23 00 00 */ stfs f1, 0(r3) +/* 802A28EC 0029F84C D0 A3 00 04 */ stfs f5, 4(r3) +/* 802A28F0 0029F850 D0 83 00 08 */ stfs f4, 8(r3) +/* 802A28F4 0029F854 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 802A28F8 0029F858 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 802A28FC 0029F85C D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802A2900 0029F860 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802A2904 0029F864 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802A2908 0029F868 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802A290C 0029F86C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802A2910 0029F870 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A2914 0029F874 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A2918 0029F878 4E 80 00 20 */ blr + +nullsub_30: +/* 802A291C 0029F87C 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/COBBTree.s b/asm/WorldFormat/COBBTree.s new file mode 100644 index 00000000..36816a1b --- /dev/null +++ b/asm/WorldFormat/COBBTree.s @@ -0,0 +1,2332 @@ +.include "macros.inc" + +.section .text, "ax" + +.global Alloc__Q28COBBTree16CSimpleAllocatorFUl +Alloc__Q28COBBTree16CSimpleAllocatorFUl: +/* 802A7974 002A48D4 80 A3 00 08 */ lwz r5, 8(r3) +/* 802A7978 002A48D8 80 C3 00 00 */ lwz r6, 0(r3) +/* 802A797C 002A48DC 7C 05 22 14 */ add r0, r5, r4 +/* 802A7980 002A48E0 90 03 00 08 */ stw r0, 8(r3) +/* 802A7984 002A48E4 7C A6 2A 14 */ add r5, r6, r5 +/* 802A7988 002A48E8 80 83 00 08 */ lwz r4, 8(r3) +/* 802A798C 002A48EC 54 80 07 BF */ clrlwi. r0, r4, 0x1e +/* 802A7990 002A48F0 41 82 00 10 */ beq lbl_802A79A0 +/* 802A7994 002A48F4 20 00 00 04 */ subfic r0, r0, 4 +/* 802A7998 002A48F8 7C 04 02 14 */ add r0, r4, r0 +/* 802A799C 002A48FC 90 03 00 08 */ stw r0, 8(r3) +lbl_802A79A0: +/* 802A79A0 002A4900 7C A3 2B 78 */ mr r3, r5 +/* 802A79A4 002A4904 4E 80 00 20 */ blr + +.global __dt__Q28COBBTree16CSimpleAllocatorFv +__dt__Q28COBBTree16CSimpleAllocatorFv: +/* 802A79A8 002A4908 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A79AC 002A490C 7C 08 02 A6 */ mflr r0 +/* 802A79B0 002A4910 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A79B4 002A4914 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A79B8 002A4918 7C 9F 23 78 */ mr r31, r4 +/* 802A79BC 002A491C 93 C1 00 08 */ stw r30, 8(r1) +/* 802A79C0 002A4920 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A79C4 002A4924 41 82 00 24 */ beq lbl_802A79E8 +/* 802A79C8 002A4928 80 7E 00 00 */ lwz r3, 0(r30) +/* 802A79CC 002A492C 28 03 00 00 */ cmplwi r3, 0 +/* 802A79D0 002A4930 41 82 00 08 */ beq lbl_802A79D8 +/* 802A79D4 002A4934 48 06 DF 5D */ bl Free__7CMemoryFPCv +lbl_802A79D8: +/* 802A79D8 002A4938 7F E0 07 35 */ extsh. r0, r31 +/* 802A79DC 002A493C 40 81 00 0C */ ble lbl_802A79E8 +/* 802A79E0 002A4940 7F C3 F3 78 */ mr r3, r30 +/* 802A79E4 002A4944 48 06 DF 4D */ bl Free__7CMemoryFPCv +lbl_802A79E8: +/* 802A79E8 002A4948 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A79EC 002A494C 7F C3 F3 78 */ mr r3, r30 +/* 802A79F0 002A4950 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A79F4 002A4954 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A79F8 002A4958 7C 08 03 A6 */ mtlr r0 +/* 802A79FC 002A495C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7A00 002A4960 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree16CSimpleAllocatorFUi +__ct__Q28COBBTree16CSimpleAllocatorFUi: +/* 802A7A04 002A4964 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7A08 002A4968 7C 08 02 A6 */ mflr r0 +/* 802A7A0C 002A496C 3C A0 80 3D */ lis r5, lbl_803D60E8@ha +/* 802A7A10 002A4970 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7A14 002A4974 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7A18 002A4978 7C 9F 23 78 */ mr r31, r4 +/* 802A7A1C 002A497C 38 85 60 E8 */ addi r4, r5, lbl_803D60E8@l +/* 802A7A20 002A4980 38 A0 00 00 */ li r5, 0 +/* 802A7A24 002A4984 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7A28 002A4988 7C 7E 1B 78 */ mr r30, r3 +/* 802A7A2C 002A498C 7F E3 FB 78 */ mr r3, r31 +/* 802A7A30 002A4990 48 06 DD E9 */ bl __nwa__FUlPCcPCc +/* 802A7A34 002A4994 90 7E 00 00 */ stw r3, 0(r30) +/* 802A7A38 002A4998 38 00 00 00 */ li r0, 0 +/* 802A7A3C 002A499C 7F C3 F3 78 */ mr r3, r30 +/* 802A7A40 002A49A0 93 FE 00 04 */ stw r31, 4(r30) +/* 802A7A44 002A49A4 90 1E 00 08 */ stw r0, 8(r30) +/* 802A7A48 002A49A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7A4C 002A49AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7A50 002A49B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7A54 002A49B4 7C 08 03 A6 */ mtlr r0 +/* 802A7A58 002A49B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7A5C 002A49BC 4E 80 00 20 */ blr + +.global GetMemoryUsage__Q28COBBTree9CLeafDataCFv +GetMemoryUsage__Q28COBBTree9CLeafDataCFv: +/* 802A7A60 002A49C0 80 03 00 04 */ lwz r0, 4(r3) +/* 802A7A64 002A49C4 54 03 08 3C */ slwi r3, r0, 1 +/* 802A7A68 002A49C8 38 63 00 10 */ addi r3, r3, 0x10 +/* 802A7A6C 002A49CC 54 60 07 BF */ clrlwi. r0, r3, 0x1e +/* 802A7A70 002A49D0 4D 82 00 20 */ beqlr +/* 802A7A74 002A49D4 20 00 00 04 */ subfic r0, r0, 4 +/* 802A7A78 002A49D8 7C 63 02 14 */ add r3, r3, r0 +/* 802A7A7C 002A49DC 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree9CLeafDataFR12CInputStream +__ct__Q28COBBTree9CLeafDataFR12CInputStream: +/* 802A7A80 002A49E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A7A84 002A49E4 7C 08 02 A6 */ mflr r0 +/* 802A7A88 002A49E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A7A8C 002A49EC 38 00 00 00 */ li r0, 0 +/* 802A7A90 002A49F0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802A7A94 002A49F4 7C 7B 1B 78 */ mr r27, r3 +/* 802A7A98 002A49F8 7C 9C 23 78 */ mr r28, r4 +/* 802A7A9C 002A49FC 90 03 00 04 */ stw r0, 4(r3) +/* 802A7AA0 002A4A00 7F 83 E3 78 */ mr r3, r28 +/* 802A7AA4 002A4A04 90 1B 00 08 */ stw r0, 8(r27) +/* 802A7AA8 002A4A08 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802A7AAC 002A4A0C 48 09 71 D9 */ bl ReadLong__12CInputStreamFv +/* 802A7AB0 002A4A10 7C 7D 1B 78 */ mr r29, r3 +/* 802A7AB4 002A4A14 7F 63 DB 78 */ mr r3, r27 +/* 802A7AB8 002A4A18 7F A4 EB 78 */ mr r4, r29 +/* 802A7ABC 002A4A1C 4B DB C8 45 */ bl "reserve__Q24rstl37vectorFi" +/* 802A7AC0 002A4A20 3B C0 00 00 */ li r30, 0 +/* 802A7AC4 002A4A24 48 00 00 60 */ b lbl_802A7B24 +lbl_802A7AC8: +/* 802A7AC8 002A4A28 7F 83 E3 78 */ mr r3, r28 +/* 802A7ACC 002A4A2C 48 09 71 E5 */ bl ReadShort__12CInputStreamFv +/* 802A7AD0 002A4A30 80 1B 00 04 */ lwz r0, 4(r27) +/* 802A7AD4 002A4A34 7C 7F 1B 78 */ mr r31, r3 +/* 802A7AD8 002A4A38 80 BB 00 08 */ lwz r5, 8(r27) +/* 802A7ADC 002A4A3C 7C 00 28 00 */ cmpw r0, r5 +/* 802A7AE0 002A4A40 41 80 00 1C */ blt lbl_802A7AFC +/* 802A7AE4 002A4A44 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7AE8 002A4A48 7F 63 DB 78 */ mr r3, r27 +/* 802A7AEC 002A4A4C 38 80 00 04 */ li r4, 4 +/* 802A7AF0 002A4A50 41 82 00 08 */ beq lbl_802A7AF8 +/* 802A7AF4 002A4A54 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A7AF8: +/* 802A7AF8 002A4A58 4B DB C8 09 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A7AFC: +/* 802A7AFC 002A4A5C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802A7B00 002A4A60 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802A7B04 002A4A64 54 00 08 3C */ slwi r0, r0, 1 +/* 802A7B08 002A4A68 7C 63 02 15 */ add. r3, r3, r0 +/* 802A7B0C 002A4A6C 41 82 00 08 */ beq lbl_802A7B14 +/* 802A7B10 002A4A70 B3 E3 00 00 */ sth r31, 0(r3) +lbl_802A7B14: +/* 802A7B14 002A4A74 80 7B 00 04 */ lwz r3, 4(r27) +/* 802A7B18 002A4A78 3B DE 00 01 */ addi r30, r30, 1 +/* 802A7B1C 002A4A7C 38 03 00 01 */ addi r0, r3, 1 +/* 802A7B20 002A4A80 90 1B 00 04 */ stw r0, 4(r27) +lbl_802A7B24: +/* 802A7B24 002A4A84 7C 1E E8 00 */ cmpw r30, r29 +/* 802A7B28 002A4A88 41 80 FF A0 */ blt lbl_802A7AC8 +/* 802A7B2C 002A4A8C 7F 63 DB 78 */ mr r3, r27 +/* 802A7B30 002A4A90 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802A7B34 002A4A94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A7B38 002A4A98 7C 08 03 A6 */ mtlr r0 +/* 802A7B3C 002A4A9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A7B40 002A4AA0 4E 80 00 20 */ blr + +.global "__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector" +"__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector": +/* 802A7B44 002A4AA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7B48 002A4AA8 7C 08 02 A6 */ mflr r0 +/* 802A7B4C 002A4AAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7B50 002A4AB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7B54 002A4AB4 7C 9F 23 78 */ mr r31, r4 +/* 802A7B58 002A4AB8 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7B5C 002A4ABC 7C 7E 1B 78 */ mr r30, r3 +/* 802A7B60 002A4AC0 80 04 00 04 */ lwz r0, 4(r4) +/* 802A7B64 002A4AC4 90 03 00 04 */ stw r0, 4(r3) +/* 802A7B68 002A4AC8 80 04 00 08 */ lwz r0, 8(r4) +/* 802A7B6C 002A4ACC 90 03 00 08 */ stw r0, 8(r3) +/* 802A7B70 002A4AD0 80 04 00 04 */ lwz r0, 4(r4) +/* 802A7B74 002A4AD4 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7B78 002A4AD8 40 82 00 1C */ bne lbl_802A7B94 +/* 802A7B7C 002A4ADC 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A7B80 002A4AE0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7B84 002A4AE4 40 82 00 10 */ bne lbl_802A7B94 +/* 802A7B88 002A4AE8 38 00 00 00 */ li r0, 0 +/* 802A7B8C 002A4AEC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A7B90 002A4AF0 48 00 00 64 */ b lbl_802A7BF4 +lbl_802A7B94: +/* 802A7B94 002A4AF4 80 1E 00 08 */ lwz r0, 8(r30) +/* 802A7B98 002A4AF8 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 802A7B9C 002A4AFC 40 82 00 10 */ bne lbl_802A7BAC +/* 802A7BA0 002A4B00 38 00 00 00 */ li r0, 0 +/* 802A7BA4 002A4B04 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A7BA8 002A4B08 48 00 00 18 */ b lbl_802A7BC0 +lbl_802A7BAC: +/* 802A7BAC 002A4B0C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7BB0 002A4B10 38 A0 00 00 */ li r5, 0 +/* 802A7BB4 002A4B14 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7BB8 002A4B18 48 06 DC 61 */ bl __nwa__FUlPCcPCc +/* 802A7BBC 002A4B1C 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802A7BC0: +/* 802A7BC0 002A4B20 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A7BC4 002A4B24 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A7BC8 002A4B28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A7BCC 002A4B2C 7C 09 03 A6 */ mtctr r0 +/* 802A7BD0 002A4B30 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7BD4 002A4B34 40 81 00 20 */ ble lbl_802A7BF4 +lbl_802A7BD8: +/* 802A7BD8 002A4B38 28 03 00 00 */ cmplwi r3, 0 +/* 802A7BDC 002A4B3C 41 82 00 0C */ beq lbl_802A7BE8 +/* 802A7BE0 002A4B40 A0 04 00 00 */ lhz r0, 0(r4) +/* 802A7BE4 002A4B44 B0 03 00 00 */ sth r0, 0(r3) +lbl_802A7BE8: +/* 802A7BE8 002A4B48 38 63 00 02 */ addi r3, r3, 2 +/* 802A7BEC 002A4B4C 38 84 00 02 */ addi r4, r4, 2 +/* 802A7BF0 002A4B50 42 00 FF E8 */ bdnz lbl_802A7BD8 +lbl_802A7BF4: +/* 802A7BF4 002A4B54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7BF8 002A4B58 7F C3 F3 78 */ mr r3, r30 +/* 802A7BFC 002A4B5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7C00 002A4B60 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7C04 002A4B64 7C 08 03 A6 */ mtlr r0 +/* 802A7C08 002A4B68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7C0C 002A4B6C 4E 80 00 20 */ blr + +.global __dl__Q28COBBTree5CNodeFPvUl +__dl__Q28COBBTree5CNodeFPvUl: +/* 802A7C10 002A4B70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7C14 002A4B74 7C 08 02 A6 */ mflr r0 +/* 802A7C18 002A4B78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7C1C 002A4B7C 80 0D A5 D8 */ lwz r0, lbl_805A9198@sda21(r13) +/* 802A7C20 002A4B80 28 00 00 00 */ cmplwi r0, 0 +/* 802A7C24 002A4B84 40 82 00 10 */ bne lbl_802A7C34 +/* 802A7C28 002A4B88 28 03 00 00 */ cmplwi r3, 0 +/* 802A7C2C 002A4B8C 41 82 00 08 */ beq lbl_802A7C34 +/* 802A7C30 002A4B90 48 06 DD 01 */ bl Free__7CMemoryFPCv +lbl_802A7C34: +/* 802A7C34 002A4B94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7C38 002A4B98 7C 08 03 A6 */ mtlr r0 +/* 802A7C3C 002A4B9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7C40 002A4BA0 4E 80 00 20 */ blr + +.global __nw__Q28COBBTree5CNodeFUlPCci +__nw__Q28COBBTree5CNodeFUlPCci: +/* 802A7C44 002A4BA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7C48 002A4BA8 7C 08 02 A6 */ mflr r0 +/* 802A7C4C 002A4BAC 7C 64 1B 78 */ mr r4, r3 +/* 802A7C50 002A4BB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7C54 002A4BB4 80 0D A5 D8 */ lwz r0, lbl_805A9198@sda21(r13) +/* 802A7C58 002A4BB8 28 00 00 00 */ cmplwi r0, 0 +/* 802A7C5C 002A4BBC 40 82 00 18 */ bne lbl_802A7C74 +/* 802A7C60 002A4BC0 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7C64 002A4BC4 38 A0 00 00 */ li r5, 0 +/* 802A7C68 002A4BC8 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7C6C 002A4BCC 48 06 DB AD */ bl __nwa__FUlPCcPCc +/* 802A7C70 002A4BD0 48 00 00 0C */ b lbl_802A7C7C +lbl_802A7C74: +/* 802A7C74 002A4BD4 7C 03 03 78 */ mr r3, r0 +/* 802A7C78 002A4BD8 4B FF FC FD */ bl Alloc__Q28COBBTree16CSimpleAllocatorFUl +lbl_802A7C7C: +/* 802A7C7C 002A4BDC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7C80 002A4BE0 7C 08 03 A6 */ mtlr r0 +/* 802A7C84 002A4BE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7C88 002A4BE8 4E 80 00 20 */ blr + +.global SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator: +/* 802A7C8C 002A4BEC 90 6D A5 D8 */ stw r3, lbl_805A9198@sda21(r13) +/* 802A7C90 002A4BF0 4E 80 00 20 */ blr + +.global GetMemoryUsage__Q28COBBTree5CNodeCFv +GetMemoryUsage__Q28COBBTree5CNodeCFv: +/* 802A7C94 002A4BF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7C98 002A4BF8 7C 08 02 A6 */ mflr r0 +/* 802A7C9C 002A4BFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7CA0 002A4C00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7CA4 002A4C04 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7CA8 002A4C08 7C 7E 1B 78 */ mr r30, r3 +/* 802A7CAC 002A4C0C 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 802A7CB0 002A4C10 28 00 00 00 */ cmplwi r0, 0 +/* 802A7CB4 002A4C14 41 82 00 14 */ beq lbl_802A7CC8 +/* 802A7CB8 002A4C18 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 802A7CBC 002A4C1C 4B FF FD A5 */ bl GetMemoryUsage__Q28COBBTree9CLeafDataCFv +/* 802A7CC0 002A4C20 3B E3 00 50 */ addi r31, r3, 0x50 +/* 802A7CC4 002A4C24 48 00 00 1C */ b lbl_802A7CE0 +lbl_802A7CC8: +/* 802A7CC8 002A4C28 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802A7CCC 002A4C2C 4B FF FF C9 */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv +/* 802A7CD0 002A4C30 3B E3 00 50 */ addi r31, r3, 0x50 +/* 802A7CD4 002A4C34 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 802A7CD8 002A4C38 4B FF FF BD */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv +/* 802A7CDC 002A4C3C 7F FF 1A 14 */ add r31, r31, r3 +lbl_802A7CE0: +/* 802A7CE0 002A4C40 57 E0 07 BF */ clrlwi. r0, r31, 0x1e +/* 802A7CE4 002A4C44 41 82 00 0C */ beq lbl_802A7CF0 +/* 802A7CE8 002A4C48 20 00 00 04 */ subfic r0, r0, 4 +/* 802A7CEC 002A4C4C 7F FF 02 14 */ add r31, r31, r0 +lbl_802A7CF0: +/* 802A7CF0 002A4C50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7CF4 002A4C54 7F E3 FB 78 */ mr r3, r31 +/* 802A7CF8 002A4C58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7CFC 002A4C5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7D00 002A4C60 7C 08 03 A6 */ mtlr r0 +/* 802A7D04 002A4C64 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7D08 002A4C68 4E 80 00 20 */ blr + +.global __dt__Q28COBBTree5CNodeFv +__dt__Q28COBBTree5CNodeFv: +/* 802A7D0C 002A4C6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A7D10 002A4C70 7C 08 02 A6 */ mflr r0 +/* 802A7D14 002A4C74 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A7D18 002A4C78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A7D1C 002A4C7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A7D20 002A4C80 7C 9E 23 78 */ mr r30, r4 +/* 802A7D24 002A4C84 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A7D28 002A4C88 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802A7D2C 002A4C8C 41 82 00 88 */ beq lbl_802A7DB4 +/* 802A7D30 002A4C90 80 7D 00 40 */ lwz r3, 0x40(r29) +/* 802A7D34 002A4C94 38 80 00 01 */ li r4, 1 +/* 802A7D38 002A4C98 4B FF FF D5 */ bl __dt__Q28COBBTree5CNodeFv +/* 802A7D3C 002A4C9C 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 802A7D40 002A4CA0 38 80 00 01 */ li r4, 1 +/* 802A7D44 002A4CA4 4B FF FF C9 */ bl __dt__Q28COBBTree5CNodeFv +/* 802A7D48 002A4CA8 83 FD 00 48 */ lwz r31, 0x48(r29) +/* 802A7D4C 002A4CAC 28 1F 00 00 */ cmplwi r31, 0 +/* 802A7D50 002A4CB0 41 82 00 50 */ beq lbl_802A7DA0 +/* 802A7D54 002A4CB4 41 82 00 44 */ beq lbl_802A7D98 +/* 802A7D58 002A4CB8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A7D5C 002A4CBC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802A7D60 002A4CC0 54 00 08 3C */ slwi r0, r0, 1 +/* 802A7D64 002A4CC4 7C 03 02 14 */ add r0, r3, r0 +/* 802A7D68 002A4CC8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A7D6C 002A4CCC 7C 64 1B 78 */ mr r4, r3 +/* 802A7D70 002A4CD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7D74 002A4CD4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A7D78 002A4CD8 90 61 00 08 */ stw r3, 8(r1) +/* 802A7D7C 002A4CDC 48 00 00 08 */ b lbl_802A7D84 +lbl_802A7D80: +/* 802A7D80 002A4CE0 38 84 00 02 */ addi r4, r4, 2 +lbl_802A7D84: +/* 802A7D84 002A4CE4 7C 04 00 40 */ cmplw r4, r0 +/* 802A7D88 002A4CE8 40 82 FF F8 */ bne lbl_802A7D80 +/* 802A7D8C 002A4CEC 28 03 00 00 */ cmplwi r3, 0 +/* 802A7D90 002A4CF0 41 82 00 08 */ beq lbl_802A7D98 +/* 802A7D94 002A4CF4 48 06 DB 9D */ bl Free__7CMemoryFPCv +lbl_802A7D98: +/* 802A7D98 002A4CF8 7F E3 FB 78 */ mr r3, r31 +/* 802A7D9C 002A4CFC 48 06 DB 95 */ bl Free__7CMemoryFPCv +lbl_802A7DA0: +/* 802A7DA0 002A4D00 7F C0 07 35 */ extsh. r0, r30 +/* 802A7DA4 002A4D04 40 81 00 10 */ ble lbl_802A7DB4 +/* 802A7DA8 002A4D08 7F A3 EB 78 */ mr r3, r29 +/* 802A7DAC 002A4D0C 38 80 00 50 */ li r4, 0x50 +/* 802A7DB0 002A4D10 4B FF FE 61 */ bl __dl__Q28COBBTree5CNodeFPvUl +lbl_802A7DB4: +/* 802A7DB4 002A4D14 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A7DB8 002A4D18 7F A3 EB 78 */ mr r3, r29 +/* 802A7DBC 002A4D1C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A7DC0 002A4D20 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A7DC4 002A4D24 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A7DC8 002A4D28 7C 08 03 A6 */ mtlr r0 +/* 802A7DCC 002A4D2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A7DD0 002A4D30 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree5CNodeFR12CInputStream +__ct__Q28COBBTree5CNodeFR12CInputStream: +/* 802A7DD4 002A4D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7DD8 002A4D38 7C 08 02 A6 */ mflr r0 +/* 802A7DDC 002A4D3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7DE0 002A4D40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7DE4 002A4D44 7C 9F 23 78 */ mr r31, r4 +/* 802A7DE8 002A4D48 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7DEC 002A4D4C 7C 7E 1B 78 */ mr r30, r3 +/* 802A7DF0 002A4D50 48 02 E1 5D */ bl __ct__6COBBoxFR12CInputStream +/* 802A7DF4 002A4D54 7F E3 FB 78 */ mr r3, r31 +/* 802A7DF8 002A4D58 48 09 6E E5 */ bl ReadBool__12CInputStreamFv +/* 802A7DFC 002A4D5C 98 7E 00 3C */ stb r3, 0x3c(r30) +/* 802A7E00 002A4D60 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802A7E04 002A4D64 28 00 00 00 */ cmplwi r0, 0 +/* 802A7E08 002A4D68 41 82 00 0C */ beq lbl_802A7E14 +/* 802A7E0C 002A4D6C 38 00 00 00 */ li r0, 0 +/* 802A7E10 002A4D70 48 00 00 2C */ b lbl_802A7E3C +lbl_802A7E14: +/* 802A7E14 002A4D74 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7E18 002A4D78 38 60 00 50 */ li r3, 0x50 +/* 802A7E1C 002A4D7C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7E20 002A4D80 38 A0 00 00 */ li r5, 0 +/* 802A7E24 002A4D84 4B FF FE 21 */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A7E28 002A4D88 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A7E2C 002A4D8C 41 82 00 10 */ beq lbl_802A7E3C +/* 802A7E30 002A4D90 7F E4 FB 78 */ mr r4, r31 +/* 802A7E34 002A4D94 4B FF FF A1 */ bl __ct__Q28COBBTree5CNodeFR12CInputStream +/* 802A7E38 002A4D98 7C 60 1B 78 */ mr r0, r3 +lbl_802A7E3C: +/* 802A7E3C 002A4D9C 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802A7E40 002A4DA0 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802A7E44 002A4DA4 28 00 00 00 */ cmplwi r0, 0 +/* 802A7E48 002A4DA8 41 82 00 0C */ beq lbl_802A7E54 +/* 802A7E4C 002A4DAC 38 00 00 00 */ li r0, 0 +/* 802A7E50 002A4DB0 48 00 00 2C */ b lbl_802A7E7C +lbl_802A7E54: +/* 802A7E54 002A4DB4 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7E58 002A4DB8 38 60 00 50 */ li r3, 0x50 +/* 802A7E5C 002A4DBC 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7E60 002A4DC0 38 A0 00 00 */ li r5, 0 +/* 802A7E64 002A4DC4 4B FF FD E1 */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A7E68 002A4DC8 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A7E6C 002A4DCC 41 82 00 10 */ beq lbl_802A7E7C +/* 802A7E70 002A4DD0 7F E4 FB 78 */ mr r4, r31 +/* 802A7E74 002A4DD4 4B FF FF 61 */ bl __ct__Q28COBBTree5CNodeFR12CInputStream +/* 802A7E78 002A4DD8 7C 60 1B 78 */ mr r0, r3 +lbl_802A7E7C: +/* 802A7E7C 002A4DDC 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802A7E80 002A4DE0 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802A7E84 002A4DE4 28 00 00 00 */ cmplwi r0, 0 +/* 802A7E88 002A4DE8 41 82 00 30 */ beq lbl_802A7EB8 +/* 802A7E8C 002A4DEC 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7E90 002A4DF0 38 60 00 10 */ li r3, 0x10 +/* 802A7E94 002A4DF4 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7E98 002A4DF8 38 A0 00 00 */ li r5, 0 +/* 802A7E9C 002A4DFC 48 06 D9 D1 */ bl __nw__FUlPCcPCc +/* 802A7EA0 002A4E00 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A7EA4 002A4E04 41 82 00 18 */ beq lbl_802A7EBC +/* 802A7EA8 002A4E08 7F E4 FB 78 */ mr r4, r31 +/* 802A7EAC 002A4E0C 4B FF FB D5 */ bl __ct__Q28COBBTree9CLeafDataFR12CInputStream +/* 802A7EB0 002A4E10 7C 60 1B 78 */ mr r0, r3 +/* 802A7EB4 002A4E14 48 00 00 08 */ b lbl_802A7EBC +lbl_802A7EB8: +/* 802A7EB8 002A4E18 38 00 00 00 */ li r0, 0 +lbl_802A7EBC: +/* 802A7EBC 002A4E1C 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802A7EC0 002A4E20 7F C3 F3 78 */ mr r3, r30 +/* 802A7EC4 002A4E24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7EC8 002A4E28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7ECC 002A4E2C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7ED0 002A4E30 7C 08 03 A6 */ mtlr r0 +/* 802A7ED4 002A4E34 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7ED8 002A4E38 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData +__ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData: +/* 802A7EDC 002A4E3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A7EE0 002A4E40 7C 08 02 A6 */ mflr r0 +/* 802A7EE4 002A4E44 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A7EE8 002A4E48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A7EEC 002A4E4C 7D 1F 43 78 */ mr r31, r8 +/* 802A7EF0 002A4E50 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A7EF4 002A4E54 7C FE 3B 78 */ mr r30, r7 +/* 802A7EF8 002A4E58 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802A7EFC 002A4E5C 7C DD 33 78 */ mr r29, r6 +/* 802A7F00 002A4E60 93 81 00 10 */ stw r28, 0x10(r1) +/* 802A7F04 002A4E64 7C 7C 1B 78 */ mr r28, r3 +/* 802A7F08 002A4E68 48 02 E0 8D */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f +/* 802A7F0C 002A4E6C 7C 1F 00 D0 */ neg r0, r31 +/* 802A7F10 002A4E70 7F 83 E3 78 */ mr r3, r28 +/* 802A7F14 002A4E74 7C 00 FB 78 */ or r0, r0, r31 +/* 802A7F18 002A4E78 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A7F1C 002A4E7C 98 1C 00 3C */ stb r0, 0x3c(r28) +/* 802A7F20 002A4E80 93 BC 00 40 */ stw r29, 0x40(r28) +/* 802A7F24 002A4E84 93 DC 00 44 */ stw r30, 0x44(r28) +/* 802A7F28 002A4E88 93 FC 00 48 */ stw r31, 0x48(r28) +/* 802A7F2C 002A4E8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A7F30 002A4E90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A7F34 002A4E94 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802A7F38 002A4E98 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802A7F3C 002A4E9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A7F40 002A4EA0 7C 08 03 A6 */ mtlr r0 +/* 802A7F44 002A4EA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A7F48 002A4EA8 4E 80 00 20 */ blr + +.global GetTriangleEdgeIndices__8COBBTreeCFUs +GetTriangleEdgeIndices__8COBBTreeCFUs: +/* 802A7F4C 002A4EAC 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A7F50 002A4EB0 80 63 00 74 */ lwz r3, 0x74(r3) +/* 802A7F54 002A4EB4 1C 00 00 06 */ mulli r0, r0, 6 +/* 802A7F58 002A4EB8 7C 63 02 14 */ add r3, r3, r0 +/* 802A7F5C 002A4EBC 4E 80 00 20 */ blr + +.global GetTriangleVertexIndices__8COBBTreeCFUsPUs +GetTriangleVertexIndices__8COBBTreeCFUsPUs: +/* 802A7F60 002A4EC0 54 89 04 3E */ clrlwi r9, r4, 0x10 +/* 802A7F64 002A4EC4 80 E3 00 74 */ lwz r7, 0x74(r3) +/* 802A7F68 002A4EC8 1C C9 00 03 */ mulli r6, r9, 3 +/* 802A7F6C 002A4ECC 81 03 00 64 */ lwz r8, 0x64(r3) +/* 802A7F70 002A4ED0 38 80 00 00 */ li r4, 0 +/* 802A7F74 002A4ED4 38 06 00 01 */ addi r0, r6, 1 +/* 802A7F78 002A4ED8 54 C6 08 3C */ slwi r6, r6, 1 +/* 802A7F7C 002A4EDC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A7F80 002A4EE0 7C C7 32 2E */ lhzx r6, r7, r6 +/* 802A7F84 002A4EE4 7C 07 02 2E */ lhzx r0, r7, r0 +/* 802A7F88 002A4EE8 54 C6 10 3A */ slwi r6, r6, 2 +/* 802A7F8C 002A4EEC 54 00 10 3A */ slwi r0, r0, 2 +/* 802A7F90 002A4EF0 7C C8 32 14 */ add r6, r8, r6 +/* 802A7F94 002A4EF4 7C E8 02 14 */ add r7, r8, r0 +/* 802A7F98 002A4EF8 A0 06 00 00 */ lhz r0, 0(r6) +/* 802A7F9C 002A4EFC A1 07 00 00 */ lhz r8, 0(r7) +/* 802A7FA0 002A4F00 7C 08 00 40 */ cmplw r8, r0 +/* 802A7FA4 002A4F04 41 82 00 14 */ beq lbl_802A7FB8 +/* 802A7FA8 002A4F08 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A7FAC 002A4F0C 7C 08 00 40 */ cmplw r8, r0 +/* 802A7FB0 002A4F10 41 82 00 08 */ beq lbl_802A7FB8 +/* 802A7FB4 002A4F14 38 80 00 01 */ li r4, 1 +lbl_802A7FB8: +/* 802A7FB8 002A4F18 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802A7FBC 002A4F1C 41 82 00 08 */ beq lbl_802A7FC4 +/* 802A7FC0 002A4F20 48 00 00 08 */ b lbl_802A7FC8 +lbl_802A7FC4: +/* 802A7FC4 002A4F24 A1 07 00 02 */ lhz r8, 2(r7) +lbl_802A7FC8: +/* 802A7FC8 002A4F28 B1 05 00 04 */ sth r8, 4(r5) +/* 802A7FCC 002A4F2C 80 83 00 54 */ lwz r4, 0x54(r3) +/* 802A7FD0 002A4F30 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802A7FD4 002A4F34 7C 04 48 AE */ lbzx r0, r4, r9 +/* 802A7FD8 002A4F38 54 00 10 3A */ slwi r0, r0, 2 +/* 802A7FDC 002A4F3C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802A7FE0 002A4F40 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 +/* 802A7FE4 002A4F44 41 82 00 18 */ beq lbl_802A7FFC +/* 802A7FE8 002A4F48 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A7FEC 002A4F4C B0 05 00 00 */ sth r0, 0(r5) +/* 802A7FF0 002A4F50 A0 06 00 00 */ lhz r0, 0(r6) +/* 802A7FF4 002A4F54 B0 05 00 02 */ sth r0, 2(r5) +/* 802A7FF8 002A4F58 4E 80 00 20 */ blr +lbl_802A7FFC: +/* 802A7FFC 002A4F5C A0 06 00 00 */ lhz r0, 0(r6) +/* 802A8000 002A4F60 B0 05 00 00 */ sth r0, 0(r5) +/* 802A8004 002A4F64 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8008 002A4F68 B0 05 00 02 */ sth r0, 2(r5) +/* 802A800C 002A4F6C 4E 80 00 20 */ blr + +.global BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f +BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f: +/* 802A8010 002A4F70 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802A8014 002A4F74 7C 08 02 A6 */ mflr r0 +/* 802A8018 002A4F78 C0 62 C1 A0 */ lfs f3, lbl_805ADEC0@sda21(r2) +/* 802A801C 002A4F7C 90 01 01 54 */ stw r0, 0x154(r1) +/* 802A8020 002A4F80 C0 22 C1 A4 */ lfs f1, lbl_805ADEC4@sda21(r2) +/* 802A8024 002A4F84 BF 01 01 30 */ stmw r24, 0x130(r1) +/* 802A8028 002A4F88 7C BF 2B 78 */ mr r31, r5 +/* 802A802C 002A4F8C 3C A0 80 3D */ lis r5, lbl_803D6038@ha +/* 802A8030 002A4F90 7C 7E 1B 78 */ mr r30, r3 +/* 802A8034 002A4F94 3B A5 60 38 */ addi r29, r5, lbl_803D6038@l +/* 802A8038 002A4F98 38 61 00 78 */ addi r3, r1, 0x78 +/* 802A803C 002A4F9C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802A8040 002A4FA0 C0 44 00 04 */ lfs f2, 4(r4) +/* 802A8044 002A4FA4 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A8048 002A4FA8 C0 A4 00 00 */ lfs f5, 0(r4) +/* 802A804C 002A4FAC ED 03 00 B2 */ fmuls f8, f3, f2 +/* 802A8050 002A4FB0 EC E3 00 32 */ fmuls f7, f3, f0 +/* 802A8054 002A4FB4 38 81 00 50 */ addi r4, r1, 0x50 +/* 802A8058 002A4FB8 EC 83 01 72 */ fmuls f4, f3, f5 +/* 802A805C 002A4FBC C0 7F 00 04 */ lfs f3, 4(r31) +/* 802A8060 002A4FC0 ED 41 00 B2 */ fmuls f10, f1, f2 +/* 802A8064 002A4FC4 EC C8 18 2A */ fadds f6, f8, f3 +/* 802A8068 002A4FC8 ED 21 00 32 */ fmuls f9, f1, f0 +/* 802A806C 002A4FCC C0 5F 00 08 */ lfs f2, 8(r31) +/* 802A8070 002A4FD0 ED 61 01 72 */ fmuls f11, f1, f5 +/* 802A8074 002A4FD4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A8078 002A4FD8 EC A7 10 2A */ fadds f5, f7, f2 +/* 802A807C 002A4FDC EC 24 00 2A */ fadds f1, f4, f0 +/* 802A8080 002A4FE0 EC 6A 18 2A */ fadds f3, f10, f3 +/* 802A8084 002A4FE4 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802A8088 002A4FE8 EC 49 10 2A */ fadds f2, f9, f2 +/* 802A808C 002A4FEC EC 0B 00 2A */ fadds f0, f11, f0 +/* 802A8090 002A4FF0 D1 01 00 70 */ stfs f8, 0x70(r1) +/* 802A8094 002A4FF4 D0 E1 00 74 */ stfs f7, 0x74(r1) +/* 802A8098 002A4FF8 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802A809C 002A4FFC D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802A80A0 002A5000 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 802A80A4 002A5004 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802A80A8 002A5008 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 802A80AC 002A500C D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802A80B0 002A5010 48 09 04 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A80B4 002A5014 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A80B8 002A5018 48 00 09 2D */ bl __ct__Q28COBBTree10SIndexDataFv +/* 802A80BC 002A501C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A80C0 002A5020 38 80 00 03 */ li r4, 3 +/* 802A80C4 002A5024 4B DB BA 61 */ bl "reserve__Q24rstl37vectorFi" +/* 802A80C8 002A5028 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A80CC 002A502C 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 802A80D0 002A5030 7C 00 28 00 */ cmpw r0, r5 +/* 802A80D4 002A5034 41 80 00 1C */ blt lbl_802A80F0 +/* 802A80D8 002A5038 2C 05 00 00 */ cmpwi r5, 0 +/* 802A80DC 002A503C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A80E0 002A5040 38 80 00 04 */ li r4, 4 +/* 802A80E4 002A5044 41 82 00 08 */ beq lbl_802A80EC +/* 802A80E8 002A5048 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A80EC: +/* 802A80EC 002A504C 4B DB BA 39 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A80F0: +/* 802A80F0 002A5050 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A80F4 002A5054 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 802A80F8 002A5058 54 00 10 3A */ slwi r0, r0, 2 +/* 802A80FC 002A505C 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8100 002A5060 41 82 00 0C */ beq lbl_802A810C +/* 802A8104 002A5064 80 0D 9A 60 */ lwz r0, lbl_805A8620@sda21(r13) +/* 802A8108 002A5068 90 03 00 00 */ stw r0, 0(r3) +lbl_802A810C: +/* 802A810C 002A506C 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802A8110 002A5070 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 802A8114 002A5074 38 03 00 01 */ addi r0, r3, 1 +/* 802A8118 002A5078 7C 00 28 00 */ cmpw r0, r5 +/* 802A811C 002A507C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802A8120 002A5080 41 80 00 1C */ blt lbl_802A813C +/* 802A8124 002A5084 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8128 002A5088 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A812C 002A508C 38 80 00 04 */ li r4, 4 +/* 802A8130 002A5090 41 82 00 08 */ beq lbl_802A8138 +/* 802A8134 002A5094 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8138: +/* 802A8138 002A5098 4B DB B9 ED */ bl "reserve__Q24rstl37vectorFi" +lbl_802A813C: +/* 802A813C 002A509C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A8140 002A50A0 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 802A8144 002A50A4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8148 002A50A8 7C 63 02 15 */ add. r3, r3, r0 +/* 802A814C 002A50AC 41 82 00 0C */ beq lbl_802A8158 +/* 802A8150 002A50B0 80 0D 9A 64 */ lwz r0, lbl_805A8624@sda21(r13) +/* 802A8154 002A50B4 90 03 00 00 */ stw r0, 0(r3) +lbl_802A8158: +/* 802A8158 002A50B8 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802A815C 002A50BC 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 802A8160 002A50C0 38 03 00 01 */ addi r0, r3, 1 +/* 802A8164 002A50C4 7C 00 28 00 */ cmpw r0, r5 +/* 802A8168 002A50C8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802A816C 002A50CC 41 80 00 1C */ blt lbl_802A8188 +/* 802A8170 002A50D0 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8174 002A50D4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A8178 002A50D8 38 80 00 04 */ li r4, 4 +/* 802A817C 002A50DC 41 82 00 08 */ beq lbl_802A8184 +/* 802A8180 002A50E0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8184: +/* 802A8184 002A50E4 4B DB B9 A1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8188: +/* 802A8188 002A50E8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A818C 002A50EC 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 802A8190 002A50F0 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8194 002A50F4 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8198 002A50F8 41 82 00 0C */ beq lbl_802A81A4 +/* 802A819C 002A50FC 80 0D 9A 68 */ lwz r0, lbl_805A8628@sda21(r13) +/* 802A81A0 002A5100 90 03 00 00 */ stw r0, 0(r3) +lbl_802A81A4: +/* 802A81A4 002A5104 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802A81A8 002A5108 38 00 00 08 */ li r0, 8 +/* 802A81AC 002A510C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A81B0 002A5110 38 63 00 01 */ addi r3, r3, 1 +/* 802A81B4 002A5114 90 61 00 C4 */ stw r3, 0xc4(r1) +/* 802A81B8 002A5118 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802A81BC 002A511C 48 00 00 0C */ b lbl_802A81C8 +/* 802A81C0 002A5120 90 01 00 40 */ stw r0, 0x40(r1) +/* 802A81C4 002A5124 48 00 00 1C */ b lbl_802A81E0 +lbl_802A81C8: +/* 802A81C8 002A5128 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A81CC 002A512C 38 60 00 08 */ li r3, 8 +/* 802A81D0 002A5130 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A81D4 002A5134 38 A0 00 00 */ li r5, 0 +/* 802A81D8 002A5138 48 06 D6 41 */ bl __nwa__FUlPCcPCc +/* 802A81DC 002A513C 90 61 00 40 */ stw r3, 0x40(r1) +lbl_802A81E0: +/* 802A81E0 002A5140 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802A81E4 002A5144 28 03 00 00 */ cmplwi r3, 0 +/* 802A81E8 002A5148 41 82 00 0C */ beq lbl_802A81F4 +/* 802A81EC 002A514C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A81F0 002A5150 98 03 00 00 */ stb r0, 0(r3) +lbl_802A81F4: +/* 802A81F4 002A5154 34 63 00 01 */ addic. r3, r3, 1 +/* 802A81F8 002A5158 41 82 00 0C */ beq lbl_802A8204 +/* 802A81FC 002A515C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8200 002A5160 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8204: +/* 802A8204 002A5164 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8208 002A5168 41 82 00 0C */ beq lbl_802A8214 +/* 802A820C 002A516C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8210 002A5170 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8214: +/* 802A8214 002A5174 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8218 002A5178 41 82 00 0C */ beq lbl_802A8224 +/* 802A821C 002A517C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8220 002A5180 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8224: +/* 802A8224 002A5184 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8228 002A5188 41 82 00 0C */ beq lbl_802A8234 +/* 802A822C 002A518C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8230 002A5190 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8234: +/* 802A8234 002A5194 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8238 002A5198 41 82 00 0C */ beq lbl_802A8244 +/* 802A823C 002A519C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8240 002A51A0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8244: +/* 802A8244 002A51A4 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8248 002A51A8 41 82 00 0C */ beq lbl_802A8254 +/* 802A824C 002A51AC 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8250 002A51B0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8254: +/* 802A8254 002A51B4 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8258 002A51B8 41 82 00 0C */ beq lbl_802A8264 +/* 802A825C 002A51BC 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8260 002A51C0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8264: +/* 802A8264 002A51C4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802A8268 002A51C8 38 81 00 34 */ addi r4, r1, 0x34 +/* 802A826C 002A51CC 48 00 04 49 */ bl sub_802a86b4 +/* 802A8270 002A51D0 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802A8274 002A51D4 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802A8278 002A51D8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802A827C 002A51DC 7C 83 02 14 */ add r4, r3, r0 +/* 802A8280 002A51E0 7C 03 20 50 */ subf r0, r3, r4 +/* 802A8284 002A51E4 90 81 00 24 */ stw r4, 0x24(r1) +/* 802A8288 002A51E8 90 81 00 20 */ stw r4, 0x20(r1) +/* 802A828C 002A51EC 90 61 00 18 */ stw r3, 0x18(r1) +/* 802A8290 002A51F0 7C 09 03 A6 */ mtctr r0 +/* 802A8294 002A51F4 7C 03 20 40 */ cmplw r3, r4 +/* 802A8298 002A51F8 41 82 00 08 */ beq lbl_802A82A0 +lbl_802A829C: +/* 802A829C 002A51FC 42 00 00 00 */ bdnz lbl_802A829C +lbl_802A82A0: +/* 802A82A0 002A5200 28 03 00 00 */ cmplwi r3, 0 +/* 802A82A4 002A5204 41 82 00 08 */ beq lbl_802A82AC +/* 802A82A8 002A5208 48 06 D6 89 */ bl Free__7CMemoryFPCv +lbl_802A82AC: +/* 802A82AC 002A520C 3B 21 00 E0 */ addi r25, r1, 0xe0 +/* 802A82B0 002A5210 38 80 00 12 */ li r4, 0x12 +/* 802A82B4 002A5214 7F 23 CB 78 */ mr r3, r25 +/* 802A82B8 002A5218 4B F2 DF 45 */ bl "reserve__Q24rstl37vectorFi" +/* 802A82BC 002A521C 3B 5D 00 00 */ addi r26, r29, 0 +/* 802A82C0 002A5220 3B 00 00 00 */ li r24, 0 +lbl_802A82C4: +/* 802A82C4 002A5224 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802A82C8 002A5228 80 A1 00 E8 */ lwz r5, 0xe8(r1) +/* 802A82CC 002A522C 7C 00 28 00 */ cmpw r0, r5 +/* 802A82D0 002A5230 41 80 00 1C */ blt lbl_802A82EC +/* 802A82D4 002A5234 2C 05 00 00 */ cmpwi r5, 0 +/* 802A82D8 002A5238 7F 23 CB 78 */ mr r3, r25 +/* 802A82DC 002A523C 38 80 00 04 */ li r4, 4 +/* 802A82E0 002A5240 41 82 00 08 */ beq lbl_802A82E8 +/* 802A82E4 002A5244 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A82E8: +/* 802A82E8 002A5248 4B F2 DF 15 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A82EC: +/* 802A82EC 002A524C 80 61 00 EC */ lwz r3, 0xec(r1) +/* 802A82F0 002A5250 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802A82F4 002A5254 7C 63 02 15 */ add. r3, r3, r0 +/* 802A82F8 002A5258 41 82 00 0C */ beq lbl_802A8304 +/* 802A82FC 002A525C 88 1A 00 00 */ lbz r0, 0(r26) +/* 802A8300 002A5260 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8304: +/* 802A8304 002A5264 80 61 00 E4 */ lwz r3, 0xe4(r1) +/* 802A8308 002A5268 3B 18 00 01 */ addi r24, r24, 1 +/* 802A830C 002A526C 28 18 00 12 */ cmplwi r24, 0x12 +/* 802A8310 002A5270 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A8314 002A5274 38 03 00 01 */ addi r0, r3, 1 +/* 802A8318 002A5278 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802A831C 002A527C 41 80 FF A8 */ blt lbl_802A82C4 +/* 802A8320 002A5280 3B 21 00 F0 */ addi r25, r1, 0xf0 +/* 802A8324 002A5284 38 80 00 0C */ li r4, 0xc +/* 802A8328 002A5288 7F 23 CB 78 */ mr r3, r25 +/* 802A832C 002A528C 4B F2 DE D1 */ bl "reserve__Q24rstl37vectorFi" +/* 802A8330 002A5290 3B 5D 00 14 */ addi r26, r29, 0x14 +/* 802A8334 002A5294 3B 00 00 00 */ li r24, 0 +lbl_802A8338: +/* 802A8338 002A5298 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802A833C 002A529C 80 A1 00 F8 */ lwz r5, 0xf8(r1) +/* 802A8340 002A52A0 7C 00 28 00 */ cmpw r0, r5 +/* 802A8344 002A52A4 41 80 00 1C */ blt lbl_802A8360 +/* 802A8348 002A52A8 2C 05 00 00 */ cmpwi r5, 0 +/* 802A834C 002A52AC 7F 23 CB 78 */ mr r3, r25 +/* 802A8350 002A52B0 38 80 00 04 */ li r4, 4 +/* 802A8354 002A52B4 41 82 00 08 */ beq lbl_802A835C +/* 802A8358 002A52B8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A835C: +/* 802A835C 002A52BC 4B F2 DE A1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8360: +/* 802A8360 002A52C0 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 802A8364 002A52C4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802A8368 002A52C8 7C 63 02 15 */ add. r3, r3, r0 +/* 802A836C 002A52CC 41 82 00 0C */ beq lbl_802A8378 +/* 802A8370 002A52D0 88 1A 00 00 */ lbz r0, 0(r26) +/* 802A8374 002A52D4 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8378: +/* 802A8378 002A52D8 80 61 00 F4 */ lwz r3, 0xf4(r1) +/* 802A837C 002A52DC 3B 18 00 01 */ addi r24, r24, 1 +/* 802A8380 002A52E0 28 18 00 0C */ cmplwi r24, 0xc +/* 802A8384 002A52E4 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A8388 002A52E8 38 03 00 01 */ addi r0, r3, 1 +/* 802A838C 002A52EC 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802A8390 002A52F0 41 80 FF A8 */ blt lbl_802A8338 +/* 802A8394 002A52F4 3B 01 01 00 */ addi r24, r1, 0x100 +/* 802A8398 002A52F8 38 80 00 12 */ li r4, 0x12 +/* 802A839C 002A52FC 7F 03 C3 78 */ mr r3, r24 +/* 802A83A0 002A5300 48 00 14 59 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +/* 802A83A4 002A5304 3B 3D 00 20 */ addi r25, r29, 0x20 +/* 802A83A8 002A5308 3B 80 00 00 */ li r28, 0 +lbl_802A83AC: +/* 802A83AC 002A530C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A83B0 002A5310 80 A1 01 08 */ lwz r5, 0x108(r1) +/* 802A83B4 002A5314 A3 59 00 00 */ lhz r26, 0(r25) +/* 802A83B8 002A5318 7C 00 28 00 */ cmpw r0, r5 +/* 802A83BC 002A531C A3 79 00 02 */ lhz r27, 2(r25) +/* 802A83C0 002A5320 41 80 00 1C */ blt lbl_802A83DC +/* 802A83C4 002A5324 2C 05 00 00 */ cmpwi r5, 0 +/* 802A83C8 002A5328 7F 03 C3 78 */ mr r3, r24 +/* 802A83CC 002A532C 38 80 00 04 */ li r4, 4 +/* 802A83D0 002A5330 41 82 00 08 */ beq lbl_802A83D8 +/* 802A83D4 002A5334 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A83D8: +/* 802A83D8 002A5338 48 00 14 21 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +lbl_802A83DC: +/* 802A83DC 002A533C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A83E0 002A5340 80 61 01 0C */ lwz r3, 0x10c(r1) +/* 802A83E4 002A5344 54 00 10 3A */ slwi r0, r0, 2 +/* 802A83E8 002A5348 7C 63 02 15 */ add. r3, r3, r0 +/* 802A83EC 002A534C 41 82 00 0C */ beq lbl_802A83F8 +/* 802A83F0 002A5350 B3 43 00 00 */ sth r26, 0(r3) +/* 802A83F4 002A5354 B3 63 00 02 */ sth r27, 2(r3) +lbl_802A83F8: +/* 802A83F8 002A5358 80 61 01 04 */ lwz r3, 0x104(r1) +/* 802A83FC 002A535C 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A8400 002A5360 28 1C 00 24 */ cmplwi r28, 0x24 +/* 802A8404 002A5364 3B 39 00 04 */ addi r25, r25, 4 +/* 802A8408 002A5368 38 03 00 01 */ addi r0, r3, 1 +/* 802A840C 002A536C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802A8410 002A5370 41 80 FF 9C */ blt lbl_802A83AC +/* 802A8414 002A5374 3B 01 01 10 */ addi r24, r1, 0x110 +/* 802A8418 002A5378 38 80 00 24 */ li r4, 0x24 +/* 802A841C 002A537C 7F 03 C3 78 */ mr r3, r24 +/* 802A8420 002A5380 4B DB BE E1 */ bl "reserve__Q24rstl37vectorFi" +/* 802A8424 002A5384 3B 3D 00 68 */ addi r25, r29, 0x68 +/* 802A8428 002A5388 3B 40 00 00 */ li r26, 0 +lbl_802A842C: +/* 802A842C 002A538C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802A8430 002A5390 80 A1 01 18 */ lwz r5, 0x118(r1) +/* 802A8434 002A5394 7C 00 28 00 */ cmpw r0, r5 +/* 802A8438 002A5398 41 80 00 1C */ blt lbl_802A8454 +/* 802A843C 002A539C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8440 002A53A0 7F 03 C3 78 */ mr r3, r24 +/* 802A8444 002A53A4 38 80 00 04 */ li r4, 4 +/* 802A8448 002A53A8 41 82 00 08 */ beq lbl_802A8450 +/* 802A844C 002A53AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8450: +/* 802A8450 002A53B0 4B DB BE B1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8454: +/* 802A8454 002A53B4 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802A8458 002A53B8 80 61 01 1C */ lwz r3, 0x11c(r1) +/* 802A845C 002A53BC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8460 002A53C0 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8464 002A53C4 41 82 00 0C */ beq lbl_802A8470 +/* 802A8468 002A53C8 A0 19 00 00 */ lhz r0, 0(r25) +/* 802A846C 002A53CC B0 03 00 00 */ sth r0, 0(r3) +lbl_802A8470: +/* 802A8470 002A53D0 80 61 01 14 */ lwz r3, 0x114(r1) +/* 802A8474 002A53D4 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A8478 002A53D8 28 1A 00 24 */ cmplwi r26, 0x24 +/* 802A847C 002A53DC 3B 39 00 02 */ addi r25, r25, 2 +/* 802A8480 002A53E0 38 03 00 01 */ addi r0, r3, 1 +/* 802A8484 002A53E4 90 01 01 14 */ stw r0, 0x114(r1) +/* 802A8488 002A53E8 41 80 FF A4 */ blt lbl_802A842C +/* 802A848C 002A53EC 3B 01 01 20 */ addi r24, r1, 0x120 +/* 802A8490 002A53F0 38 80 00 08 */ li r4, 8 +/* 802A8494 002A53F4 7F 03 C3 78 */ mr r3, r24 +/* 802A8498 002A53F8 4B DB 58 61 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 802A849C 002A53FC 3B 20 00 00 */ li r25, 0 +lbl_802A84A0: +/* 802A84A0 002A5400 7F 25 CB 78 */ mr r5, r25 +/* 802A84A4 002A5404 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A84A8 002A5408 38 81 00 78 */ addi r4, r1, 0x78 +/* 802A84AC 002A540C 48 08 F1 05 */ bl GetPoint__6CAABoxCFi +/* 802A84B0 002A5410 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802A84B4 002A5414 80 A1 01 28 */ lwz r5, 0x128(r1) +/* 802A84B8 002A5418 7C 00 28 00 */ cmpw r0, r5 +/* 802A84BC 002A541C 41 80 00 1C */ blt lbl_802A84D8 +/* 802A84C0 002A5420 2C 05 00 00 */ cmpwi r5, 0 +/* 802A84C4 002A5424 7F 03 C3 78 */ mr r3, r24 +/* 802A84C8 002A5428 38 80 00 04 */ li r4, 4 +/* 802A84CC 002A542C 41 82 00 08 */ beq lbl_802A84D4 +/* 802A84D0 002A5430 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A84D4: +/* 802A84D4 002A5434 4B DB 58 25 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_802A84D8: +/* 802A84D8 002A5438 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802A84DC 002A543C 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 802A84E0 002A5440 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A84E4 002A5444 7C 63 02 15 */ add. r3, r3, r0 +/* 802A84E8 002A5448 41 82 00 1C */ beq lbl_802A8504 +/* 802A84EC 002A544C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802A84F0 002A5450 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A84F4 002A5454 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802A84F8 002A5458 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A84FC 002A545C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802A8500 002A5460 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802A8504: +/* 802A8504 002A5464 80 61 01 24 */ lwz r3, 0x124(r1) +/* 802A8508 002A5468 3B 39 00 01 */ addi r25, r25, 1 +/* 802A850C 002A546C 2C 19 00 08 */ cmpwi r25, 8 +/* 802A8510 002A5470 38 03 00 01 */ addi r0, r3, 1 +/* 802A8514 002A5474 90 01 01 24 */ stw r0, 0x124(r1) +/* 802A8518 002A5478 41 80 FF 88 */ blt lbl_802A84A0 +/* 802A851C 002A547C 38 00 00 00 */ li r0, 0 +/* 802A8520 002A5480 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A8524 002A5484 90 01 00 60 */ stw r0, 0x60(r1) +/* 802A8528 002A5488 38 80 00 0C */ li r4, 0xc +/* 802A852C 002A548C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A8530 002A5490 90 01 00 68 */ stw r0, 0x68(r1) +/* 802A8534 002A5494 4B DB BD CD */ bl "reserve__Q24rstl37vectorFi" +/* 802A8538 002A5498 3B 00 00 00 */ li r24, 0 +/* 802A853C 002A549C 48 00 00 54 */ b lbl_802A8590 +lbl_802A8540: +/* 802A8540 002A54A0 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A8544 002A54A4 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 802A8548 002A54A8 7C 00 28 00 */ cmpw r0, r5 +/* 802A854C 002A54AC 41 80 00 1C */ blt lbl_802A8568 +/* 802A8550 002A54B0 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8554 002A54B4 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A8558 002A54B8 38 80 00 04 */ li r4, 4 +/* 802A855C 002A54BC 41 82 00 08 */ beq lbl_802A8564 +/* 802A8560 002A54C0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8564: +/* 802A8564 002A54C4 4B DB BD 9D */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8568: +/* 802A8568 002A54C8 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A856C 002A54CC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802A8570 002A54D0 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8574 002A54D4 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8578 002A54D8 41 82 00 08 */ beq lbl_802A8580 +/* 802A857C 002A54DC B3 03 00 00 */ sth r24, 0(r3) +lbl_802A8580: +/* 802A8580 002A54E0 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802A8584 002A54E4 3B 18 00 01 */ addi r24, r24, 1 +/* 802A8588 002A54E8 38 03 00 01 */ addi r0, r3, 1 +/* 802A858C 002A54EC 90 01 00 60 */ stw r0, 0x60(r1) +lbl_802A8590: +/* 802A8590 002A54F0 57 00 04 3E */ clrlwi r0, r24, 0x10 +/* 802A8594 002A54F4 28 00 00 0C */ cmplwi r0, 0xc +/* 802A8598 002A54F8 41 80 FF A8 */ blt lbl_802A8540 +/* 802A859C 002A54FC 38 60 00 00 */ li r3, 0 +/* 802A85A0 002A5500 4B FF F6 ED */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A85A4 002A5504 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A85A8 002A5508 38 60 00 10 */ li r3, 0x10 +/* 802A85AC 002A550C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A85B0 002A5510 38 A0 00 00 */ li r5, 0 +/* 802A85B4 002A5514 48 06 D2 B9 */ bl __nw__FUlPCcPCc +/* 802A85B8 002A5518 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802A85BC 002A551C 41 82 00 10 */ beq lbl_802A85CC +/* 802A85C0 002A5520 38 81 00 5C */ addi r4, r1, 0x5c +/* 802A85C4 002A5524 4B FF F5 81 */ bl "__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector" +/* 802A85C8 002A5528 7C 7A 1B 78 */ mr r26, r3 +lbl_802A85CC: +/* 802A85CC 002A552C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A85D0 002A5530 38 60 00 50 */ li r3, 0x50 +/* 802A85D4 002A5534 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A85D8 002A5538 38 A0 00 00 */ li r5, 0 +/* 802A85DC 002A553C 4B FF F6 69 */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A85E0 002A5540 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802A85E4 002A5544 41 82 00 30 */ beq lbl_802A8614 +/* 802A85E8 002A5548 7F E4 FB 78 */ mr r4, r31 +/* 802A85EC 002A554C 38 61 00 90 */ addi r3, r1, 0x90 +/* 802A85F0 002A5550 48 06 AB 51 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802A85F4 002A5554 7F 63 DB 78 */ mr r3, r27 +/* 802A85F8 002A5558 7F 48 D3 78 */ mr r8, r26 +/* 802A85FC 002A555C 38 81 00 90 */ addi r4, r1, 0x90 +/* 802A8600 002A5560 38 A1 00 6C */ addi r5, r1, 0x6c +/* 802A8604 002A5564 38 C0 00 00 */ li r6, 0 +/* 802A8608 002A5568 38 E0 00 00 */ li r7, 0 +/* 802A860C 002A556C 4B FF F8 D1 */ bl __ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData +/* 802A8610 002A5570 7C 7B 1B 78 */ mr r27, r3 +lbl_802A8614: +/* 802A8614 002A5574 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A8618 002A5578 38 60 00 8C */ li r3, 0x8c +/* 802A861C 002A557C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A8620 002A5580 38 A0 00 00 */ li r5, 0 +/* 802A8624 002A5584 48 06 D2 49 */ bl __nw__FUlPCcPCc +/* 802A8628 002A5588 7C 64 1B 79 */ or. r4, r3, r3 +/* 802A862C 002A558C 41 82 00 14 */ beq lbl_802A8640 +/* 802A8630 002A5590 7F 65 DB 78 */ mr r5, r27 +/* 802A8634 002A5594 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802A8638 002A5598 48 00 08 59 */ bl __ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode +/* 802A863C 002A559C 7C 64 1B 78 */ mr r4, r3 +lbl_802A8640: +/* 802A8640 002A55A0 7C 04 00 D0 */ neg r0, r4 +/* 802A8644 002A55A4 7C 00 23 78 */ or r0, r0, r4 +/* 802A8648 002A55A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A864C 002A55AC 98 1E 00 00 */ stb r0, 0(r30) +/* 802A8650 002A55B0 90 9E 00 04 */ stw r4, 4(r30) +/* 802A8654 002A55B4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A8658 002A55B8 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802A865C 002A55BC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8660 002A55C0 7C 03 02 14 */ add r0, r3, r0 +/* 802A8664 002A55C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A8668 002A55C8 7C 64 1B 78 */ mr r4, r3 +/* 802A866C 002A55CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8670 002A55D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A8674 002A55D4 90 61 00 08 */ stw r3, 8(r1) +/* 802A8678 002A55D8 48 00 00 08 */ b lbl_802A8680 +lbl_802A867C: +/* 802A867C 002A55DC 38 84 00 02 */ addi r4, r4, 2 +lbl_802A8680: +/* 802A8680 002A55E0 7C 04 00 40 */ cmplw r4, r0 +/* 802A8684 002A55E4 40 82 FF F8 */ bne lbl_802A867C +/* 802A8688 002A55E8 28 03 00 00 */ cmplwi r3, 0 +/* 802A868C 002A55EC 41 82 00 08 */ beq lbl_802A8694 +/* 802A8690 002A55F0 48 06 D2 A1 */ bl Free__7CMemoryFPCv +lbl_802A8694: +/* 802A8694 002A55F4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A8698 002A55F8 38 80 FF FF */ li r4, -1 +/* 802A869C 002A55FC 48 00 01 11 */ bl sub_802a87ac +/* 802A86A0 002A5600 BB 01 01 30 */ lmw r24, 0x130(r1) +/* 802A86A4 002A5604 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802A86A8 002A5608 7C 08 03 A6 */ mtlr r0 +/* 802A86AC 002A560C 38 21 01 50 */ addi r1, r1, 0x150 +/* 802A86B0 002A5610 4E 80 00 20 */ blr + +.global sub_802a86b4 +sub_802a86b4: +/* 802A86B4 002A5614 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A86B8 002A5618 7C 08 02 A6 */ mflr r0 +/* 802A86BC 002A561C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A86C0 002A5620 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A86C4 002A5624 7C 7F 1B 78 */ mr r31, r3 +/* 802A86C8 002A5628 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A86CC 002A562C 7C 9E 23 78 */ mr r30, r4 +/* 802A86D0 002A5630 7C 1F F0 40 */ cmplw r31, r30 +/* 802A86D4 002A5634 40 82 00 08 */ bne lbl_802A86DC +/* 802A86D8 002A5638 48 00 00 BC */ b lbl_802A8794 +lbl_802A86DC: +/* 802A86DC 002A563C 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A86E0 002A5640 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A86E4 002A5644 90 81 00 0C */ stw r4, 0xc(r1) +/* 802A86E8 002A5648 7C 64 02 14 */ add r3, r4, r0 +/* 802A86EC 002A564C 7C 04 18 50 */ subf r0, r4, r3 +/* 802A86F0 002A5650 90 61 00 14 */ stw r3, 0x14(r1) +/* 802A86F4 002A5654 90 61 00 10 */ stw r3, 0x10(r1) +/* 802A86F8 002A5658 90 81 00 08 */ stw r4, 8(r1) +/* 802A86FC 002A565C 7C 09 03 A6 */ mtctr r0 +/* 802A8700 002A5660 7C 04 18 40 */ cmplw r4, r3 +/* 802A8704 002A5664 41 82 00 08 */ beq lbl_802A870C +lbl_802A8708: +/* 802A8708 002A5668 42 00 00 00 */ bdnz lbl_802A8708 +lbl_802A870C: +/* 802A870C 002A566C 38 00 00 00 */ li r0, 0 +/* 802A8710 002A5670 90 1F 00 04 */ stw r0, 4(r31) +/* 802A8714 002A5674 80 9E 00 04 */ lwz r4, 4(r30) +/* 802A8718 002A5678 2C 04 00 00 */ cmpwi r4, 0 +/* 802A871C 002A567C 40 82 00 28 */ bne lbl_802A8744 +/* 802A8720 002A5680 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802A8724 002A5684 28 03 00 00 */ cmplwi r3, 0 +/* 802A8728 002A5688 41 82 00 08 */ beq lbl_802A8730 +/* 802A872C 002A568C 48 06 D2 05 */ bl Free__7CMemoryFPCv +lbl_802A8730: +/* 802A8730 002A5690 38 00 00 00 */ li r0, 0 +/* 802A8734 002A5694 90 1F 00 04 */ stw r0, 4(r31) +/* 802A8738 002A5698 90 1F 00 08 */ stw r0, 8(r31) +/* 802A873C 002A569C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802A8740 002A56A0 48 00 00 50 */ b lbl_802A8790 +lbl_802A8744: +/* 802A8744 002A56A4 7F E3 FB 78 */ mr r3, r31 +/* 802A8748 002A56A8 4B F2 DA B5 */ bl "reserve__Q24rstl37vectorFi" +/* 802A874C 002A56AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802A8750 002A56B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A8754 002A56B4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802A8758 002A56B8 7C 85 02 14 */ add r4, r5, r0 +/* 802A875C 002A56BC 7C 05 20 50 */ subf r0, r5, r4 +/* 802A8760 002A56C0 7C 09 03 A6 */ mtctr r0 +/* 802A8764 002A56C4 7C 05 20 40 */ cmplw r5, r4 +/* 802A8768 002A56C8 41 82 00 20 */ beq lbl_802A8788 +lbl_802A876C: +/* 802A876C 002A56CC 28 03 00 00 */ cmplwi r3, 0 +/* 802A8770 002A56D0 41 82 00 0C */ beq lbl_802A877C +/* 802A8774 002A56D4 88 05 00 00 */ lbz r0, 0(r5) +/* 802A8778 002A56D8 98 03 00 00 */ stb r0, 0(r3) +lbl_802A877C: +/* 802A877C 002A56DC 38 63 00 01 */ addi r3, r3, 1 +/* 802A8780 002A56E0 38 A5 00 01 */ addi r5, r5, 1 +/* 802A8784 002A56E4 42 00 FF E8 */ bdnz lbl_802A876C +lbl_802A8788: +/* 802A8788 002A56E8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A878C 002A56EC 90 1F 00 04 */ stw r0, 4(r31) +lbl_802A8790: +/* 802A8790 002A56F0 7F E3 FB 78 */ mr r3, r31 +lbl_802A8794: +/* 802A8794 002A56F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A8798 002A56F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A879C 002A56FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A87A0 002A5700 7C 08 03 A6 */ mtlr r0 +/* 802A87A4 002A5704 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A87A8 002A5708 4E 80 00 20 */ blr + +.global sub_802a87ac +sub_802a87ac: +/* 802A87AC 002A570C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802A87B0 002A5710 7C 08 02 A6 */ mflr r0 +/* 802A87B4 002A5714 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A87B8 002A5718 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802A87BC 002A571C 7C 9F 23 78 */ mr r31, r4 +/* 802A87C0 002A5720 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802A87C4 002A5724 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A87C8 002A5728 41 82 02 00 */ beq lbl_802A89C8 +/* 802A87CC 002A572C 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 802A87D0 002A5730 41 82 00 44 */ beq lbl_802A8814 +/* 802A87D4 002A5734 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A87D8 002A5738 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802A87DC 002A573C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A87E0 002A5740 90 61 00 6C */ stw r3, 0x6c(r1) +/* 802A87E4 002A5744 7C 64 1B 78 */ mr r4, r3 +/* 802A87E8 002A5748 7C 03 02 14 */ add r0, r3, r0 +/* 802A87EC 002A574C 90 61 00 68 */ stw r3, 0x68(r1) +/* 802A87F0 002A5750 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A87F4 002A5754 90 01 00 70 */ stw r0, 0x70(r1) +/* 802A87F8 002A5758 48 00 00 08 */ b lbl_802A8800 +lbl_802A87FC: +/* 802A87FC 002A575C 38 84 00 0C */ addi r4, r4, 0xc +lbl_802A8800: +/* 802A8800 002A5760 7C 04 00 40 */ cmplw r4, r0 +/* 802A8804 002A5764 40 82 FF F8 */ bne lbl_802A87FC +/* 802A8808 002A5768 28 03 00 00 */ cmplwi r3, 0 +/* 802A880C 002A576C 41 82 00 08 */ beq lbl_802A8814 +/* 802A8810 002A5770 48 06 D1 21 */ bl Free__7CMemoryFPCv +lbl_802A8814: +/* 802A8814 002A5774 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 802A8818 002A5778 41 82 00 44 */ beq lbl_802A885C +/* 802A881C 002A577C 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A8820 002A5780 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802A8824 002A5784 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8828 002A5788 7C 03 02 14 */ add r0, r3, r0 +/* 802A882C 002A578C 90 61 00 5C */ stw r3, 0x5c(r1) +/* 802A8830 002A5790 7C 64 1B 78 */ mr r4, r3 +/* 802A8834 002A5794 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A8838 002A5798 90 01 00 60 */ stw r0, 0x60(r1) +/* 802A883C 002A579C 90 61 00 58 */ stw r3, 0x58(r1) +/* 802A8840 002A57A0 48 00 00 08 */ b lbl_802A8848 +lbl_802A8844: +/* 802A8844 002A57A4 38 84 00 02 */ addi r4, r4, 2 +lbl_802A8848: +/* 802A8848 002A57A8 7C 04 00 40 */ cmplw r4, r0 +/* 802A884C 002A57AC 40 82 FF F8 */ bne lbl_802A8844 +/* 802A8850 002A57B0 28 03 00 00 */ cmplwi r3, 0 +/* 802A8854 002A57B4 41 82 00 08 */ beq lbl_802A885C +/* 802A8858 002A57B8 48 06 D0 D9 */ bl Free__7CMemoryFPCv +lbl_802A885C: +/* 802A885C 002A57BC 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 802A8860 002A57C0 41 82 00 44 */ beq lbl_802A88A4 +/* 802A8864 002A57C4 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802A8868 002A57C8 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802A886C 002A57CC 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8870 002A57D0 7C 03 02 14 */ add r0, r3, r0 +/* 802A8874 002A57D4 90 61 00 4C */ stw r3, 0x4c(r1) +/* 802A8878 002A57D8 7C 64 1B 78 */ mr r4, r3 +/* 802A887C 002A57DC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802A8880 002A57E0 90 01 00 50 */ stw r0, 0x50(r1) +/* 802A8884 002A57E4 90 61 00 48 */ stw r3, 0x48(r1) +/* 802A8888 002A57E8 48 00 00 08 */ b lbl_802A8890 +lbl_802A888C: +/* 802A888C 002A57EC 38 84 00 04 */ addi r4, r4, 4 +lbl_802A8890: +/* 802A8890 002A57F0 7C 04 00 40 */ cmplw r4, r0 +/* 802A8894 002A57F4 40 82 FF F8 */ bne lbl_802A888C +/* 802A8898 002A57F8 28 03 00 00 */ cmplwi r3, 0 +/* 802A889C 002A57FC 41 82 00 08 */ beq lbl_802A88A4 +/* 802A88A0 002A5800 48 06 D0 91 */ bl Free__7CMemoryFPCv +lbl_802A88A4: +/* 802A88A4 002A5804 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 802A88A8 002A5808 41 82 00 40 */ beq lbl_802A88E8 +/* 802A88AC 002A580C 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802A88B0 002A5810 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A88B4 002A5814 90 61 00 3C */ stw r3, 0x3c(r1) +/* 802A88B8 002A5818 7C 83 02 14 */ add r4, r3, r0 +/* 802A88BC 002A581C 7C 03 20 50 */ subf r0, r3, r4 +/* 802A88C0 002A5820 90 81 00 44 */ stw r4, 0x44(r1) +/* 802A88C4 002A5824 90 81 00 40 */ stw r4, 0x40(r1) +/* 802A88C8 002A5828 90 61 00 38 */ stw r3, 0x38(r1) +/* 802A88CC 002A582C 7C 09 03 A6 */ mtctr r0 +/* 802A88D0 002A5830 7C 03 20 40 */ cmplw r3, r4 +/* 802A88D4 002A5834 41 82 00 08 */ beq lbl_802A88DC +lbl_802A88D8: +/* 802A88D8 002A5838 42 00 00 00 */ bdnz lbl_802A88D8 +lbl_802A88DC: +/* 802A88DC 002A583C 28 03 00 00 */ cmplwi r3, 0 +/* 802A88E0 002A5840 41 82 00 08 */ beq lbl_802A88E8 +/* 802A88E4 002A5844 48 06 D0 4D */ bl Free__7CMemoryFPCv +lbl_802A88E8: +/* 802A88E8 002A5848 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802A88EC 002A584C 41 82 00 40 */ beq lbl_802A892C +/* 802A88F0 002A5850 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802A88F4 002A5854 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A88F8 002A5858 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802A88FC 002A585C 7C 83 02 14 */ add r4, r3, r0 +/* 802A8900 002A5860 7C 03 20 50 */ subf r0, r3, r4 +/* 802A8904 002A5864 90 81 00 34 */ stw r4, 0x34(r1) +/* 802A8908 002A5868 90 81 00 30 */ stw r4, 0x30(r1) +/* 802A890C 002A586C 90 61 00 28 */ stw r3, 0x28(r1) +/* 802A8910 002A5870 7C 09 03 A6 */ mtctr r0 +/* 802A8914 002A5874 7C 03 20 40 */ cmplw r3, r4 +/* 802A8918 002A5878 41 82 00 08 */ beq lbl_802A8920 +lbl_802A891C: +/* 802A891C 002A587C 42 00 00 00 */ bdnz lbl_802A891C +lbl_802A8920: +/* 802A8920 002A5880 28 03 00 00 */ cmplwi r3, 0 +/* 802A8924 002A5884 41 82 00 08 */ beq lbl_802A892C +/* 802A8928 002A5888 48 06 D0 09 */ bl Free__7CMemoryFPCv +lbl_802A892C: +/* 802A892C 002A588C 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802A8930 002A5890 41 82 00 40 */ beq lbl_802A8970 +/* 802A8934 002A5894 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802A8938 002A5898 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A893C 002A589C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802A8940 002A58A0 7C 83 02 14 */ add r4, r3, r0 +/* 802A8944 002A58A4 7C 03 20 50 */ subf r0, r3, r4 +/* 802A8948 002A58A8 90 81 00 24 */ stw r4, 0x24(r1) +/* 802A894C 002A58AC 90 81 00 20 */ stw r4, 0x20(r1) +/* 802A8950 002A58B0 90 61 00 18 */ stw r3, 0x18(r1) +/* 802A8954 002A58B4 7C 09 03 A6 */ mtctr r0 +/* 802A8958 002A58B8 7C 03 20 40 */ cmplw r3, r4 +/* 802A895C 002A58BC 41 82 00 08 */ beq lbl_802A8964 +lbl_802A8960: +/* 802A8960 002A58C0 42 00 00 00 */ bdnz lbl_802A8960 +lbl_802A8964: +/* 802A8964 002A58C4 28 03 00 00 */ cmplwi r3, 0 +/* 802A8968 002A58C8 41 82 00 08 */ beq lbl_802A8970 +/* 802A896C 002A58CC 48 06 CF C5 */ bl Free__7CMemoryFPCv +lbl_802A8970: +/* 802A8970 002A58D0 28 1E 00 00 */ cmplwi r30, 0 +/* 802A8974 002A58D4 41 82 00 44 */ beq lbl_802A89B8 +/* 802A8978 002A58D8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A897C 002A58DC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A8980 002A58E0 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8984 002A58E4 7C 03 02 14 */ add r0, r3, r0 +/* 802A8988 002A58E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A898C 002A58EC 7C 64 1B 78 */ mr r4, r3 +/* 802A8990 002A58F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8994 002A58F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A8998 002A58F8 90 61 00 08 */ stw r3, 8(r1) +/* 802A899C 002A58FC 48 00 00 08 */ b lbl_802A89A4 +lbl_802A89A0: +/* 802A89A0 002A5900 38 84 00 04 */ addi r4, r4, 4 +lbl_802A89A4: +/* 802A89A4 002A5904 7C 04 00 40 */ cmplw r4, r0 +/* 802A89A8 002A5908 40 82 FF F8 */ bne lbl_802A89A0 +/* 802A89AC 002A590C 28 03 00 00 */ cmplwi r3, 0 +/* 802A89B0 002A5910 41 82 00 08 */ beq lbl_802A89B8 +/* 802A89B4 002A5914 48 06 CF 7D */ bl Free__7CMemoryFPCv +lbl_802A89B8: +/* 802A89B8 002A5918 7F E0 07 35 */ extsh. r0, r31 +/* 802A89BC 002A591C 40 81 00 0C */ ble lbl_802A89C8 +/* 802A89C0 002A5920 7F C3 F3 78 */ mr r3, r30 +/* 802A89C4 002A5924 48 06 CF 6D */ bl Free__7CMemoryFPCv +lbl_802A89C8: +/* 802A89C8 002A5928 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802A89CC 002A592C 7F C3 F3 78 */ mr r3, r30 +/* 802A89D0 002A5930 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802A89D4 002A5934 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802A89D8 002A5938 7C 08 03 A6 */ mtlr r0 +/* 802A89DC 002A593C 38 21 00 80 */ addi r1, r1, 0x80 +/* 802A89E0 002A5940 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree10SIndexDataFv +__ct__Q28COBBTree10SIndexDataFv: +/* 802A89E4 002A5944 38 00 00 00 */ li r0, 0 +/* 802A89E8 002A5948 90 03 00 04 */ stw r0, 4(r3) +/* 802A89EC 002A594C 90 03 00 08 */ stw r0, 8(r3) +/* 802A89F0 002A5950 90 03 00 0C */ stw r0, 0xc(r3) +/* 802A89F4 002A5954 90 03 00 14 */ stw r0, 0x14(r3) +/* 802A89F8 002A5958 90 03 00 18 */ stw r0, 0x18(r3) +/* 802A89FC 002A595C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802A8A00 002A5960 90 03 00 24 */ stw r0, 0x24(r3) +/* 802A8A04 002A5964 90 03 00 28 */ stw r0, 0x28(r3) +/* 802A8A08 002A5968 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802A8A0C 002A596C 90 03 00 34 */ stw r0, 0x34(r3) +/* 802A8A10 002A5970 90 03 00 38 */ stw r0, 0x38(r3) +/* 802A8A14 002A5974 90 03 00 3C */ stw r0, 0x3c(r3) +/* 802A8A18 002A5978 90 03 00 44 */ stw r0, 0x44(r3) +/* 802A8A1C 002A597C 90 03 00 48 */ stw r0, 0x48(r3) +/* 802A8A20 002A5980 90 03 00 4C */ stw r0, 0x4c(r3) +/* 802A8A24 002A5984 90 03 00 54 */ stw r0, 0x54(r3) +/* 802A8A28 002A5988 90 03 00 58 */ stw r0, 0x58(r3) +/* 802A8A2C 002A598C 90 03 00 5C */ stw r0, 0x5c(r3) +/* 802A8A30 002A5990 90 03 00 64 */ stw r0, 0x64(r3) +/* 802A8A34 002A5994 90 03 00 68 */ stw r0, 0x68(r3) +/* 802A8A38 002A5998 90 03 00 6C */ stw r0, 0x6c(r3) +/* 802A8A3C 002A599C 4E 80 00 20 */ blr + +.global GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f: +/* 802A8A40 002A59A0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802A8A44 002A59A4 7C 08 02 A6 */ mflr r0 +/* 802A8A48 002A59A8 54 A9 04 3E */ clrlwi r9, r5, 0x10 +/* 802A8A4C 002A59AC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A8A50 002A59B0 1C A9 00 03 */ mulli r5, r9, 3 +/* 802A8A54 002A59B4 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802A8A58 002A59B8 7C 7C 1B 78 */ mr r28, r3 +/* 802A8A5C 002A59BC 38 05 00 01 */ addi r0, r5, 1 +/* 802A8A60 002A59C0 7C DD 33 78 */ mr r29, r6 +/* 802A8A64 002A59C4 54 A5 08 3C */ slwi r5, r5, 1 +/* 802A8A68 002A59C8 38 60 00 00 */ li r3, 0 +/* 802A8A6C 002A59CC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8A70 002A59D0 80 E4 00 74 */ lwz r7, 0x74(r4) +/* 802A8A74 002A59D4 81 04 00 64 */ lwz r8, 0x64(r4) +/* 802A8A78 002A59D8 7C A7 2A 2E */ lhzx r5, r7, r5 +/* 802A8A7C 002A59DC 7C 07 02 2E */ lhzx r0, r7, r0 +/* 802A8A80 002A59E0 54 A5 10 3A */ slwi r5, r5, 2 +/* 802A8A84 002A59E4 7C C8 2A 14 */ add r6, r8, r5 +/* 802A8A88 002A59E8 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8A8C 002A59EC 7C A8 02 14 */ add r5, r8, r0 +/* 802A8A90 002A59F0 A3 E6 00 00 */ lhz r31, 0(r6) +/* 802A8A94 002A59F4 A0 E5 00 00 */ lhz r7, 0(r5) +/* 802A8A98 002A59F8 7C 07 F8 40 */ cmplw r7, r31 +/* 802A8A9C 002A59FC 41 82 00 14 */ beq lbl_802A8AB0 +/* 802A8AA0 002A5A00 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8AA4 002A5A04 7C 07 00 40 */ cmplw r7, r0 +/* 802A8AA8 002A5A08 41 82 00 08 */ beq lbl_802A8AB0 +/* 802A8AAC 002A5A0C 38 60 00 01 */ li r3, 1 +lbl_802A8AB0: +/* 802A8AB0 002A5A10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A8AB4 002A5A14 41 82 00 08 */ beq lbl_802A8ABC +/* 802A8AB8 002A5A18 48 00 00 08 */ b lbl_802A8AC0 +lbl_802A8ABC: +/* 802A8ABC 002A5A1C A0 E5 00 02 */ lhz r7, 2(r5) +lbl_802A8AC0: +/* 802A8AC0 002A5A20 80 64 00 54 */ lwz r3, 0x54(r4) +/* 802A8AC4 002A5A24 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 802A8AC8 002A5A28 7C 03 48 AE */ lbzx r0, r3, r9 +/* 802A8ACC 002A5A2C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8AD0 002A5A30 7F C5 00 2E */ lwzx r30, r5, r0 +/* 802A8AD4 002A5A34 57 C0 01 8D */ rlwinm. r0, r30, 0, 6, 6 +/* 802A8AD8 002A5A38 41 82 00 6C */ beq lbl_802A8B44 +/* 802A8ADC 002A5A3C A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8AE0 002A5A40 54 E3 04 3E */ clrlwi r3, r7, 0x10 +/* 802A8AE4 002A5A44 1C A3 00 0C */ mulli r5, r3, 0xc +/* 802A8AE8 002A5A48 83 44 00 84 */ lwz r26, 0x84(r4) +/* 802A8AEC 002A5A4C 7F A4 EB 78 */ mr r4, r29 +/* 802A8AF0 002A5A50 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A8AF4 002A5A54 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A8AF8 002A5A58 7C BA 2A 14 */ add r5, r26, r5 +/* 802A8AFC 002A5A5C 7F 7A 02 14 */ add r27, r26, r0 +/* 802A8B00 002A5A60 48 06 9F E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B04 002A5A64 1C 1F 00 0C */ mulli r0, r31, 0xc +/* 802A8B08 002A5A68 7F A4 EB 78 */ mr r4, r29 +/* 802A8B0C 002A5A6C 38 61 00 38 */ addi r3, r1, 0x38 +/* 802A8B10 002A5A70 7C BA 02 14 */ add r5, r26, r0 +/* 802A8B14 002A5A74 48 06 9F D5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B18 002A5A78 7F A4 EB 78 */ mr r4, r29 +/* 802A8B1C 002A5A7C 7F 65 DB 78 */ mr r5, r27 +/* 802A8B20 002A5A80 38 61 00 44 */ addi r3, r1, 0x44 +/* 802A8B24 002A5A84 48 06 9F C5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B28 002A5A88 7F 83 E3 78 */ mr r3, r28 +/* 802A8B2C 002A5A8C 7F C7 F3 78 */ mr r7, r30 +/* 802A8B30 002A5A90 38 81 00 44 */ addi r4, r1, 0x44 +/* 802A8B34 002A5A94 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A8B38 002A5A98 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802A8B3C 002A5A9C 4B FF 9B ED */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A8B40 002A5AA0 48 00 00 68 */ b lbl_802A8BA8 +lbl_802A8B44: +/* 802A8B44 002A5AA4 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8B48 002A5AA8 54 E3 04 3E */ clrlwi r3, r7, 0x10 +/* 802A8B4C 002A5AAC 1C A3 00 0C */ mulli r5, r3, 0xc +/* 802A8B50 002A5AB0 83 44 00 84 */ lwz r26, 0x84(r4) +/* 802A8B54 002A5AB4 7F A4 EB 78 */ mr r4, r29 +/* 802A8B58 002A5AB8 38 61 00 08 */ addi r3, r1, 8 +/* 802A8B5C 002A5ABC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A8B60 002A5AC0 7C BA 2A 14 */ add r5, r26, r5 +/* 802A8B64 002A5AC4 7F 7A 02 14 */ add r27, r26, r0 +/* 802A8B68 002A5AC8 48 06 9F 81 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B6C 002A5ACC 7F A4 EB 78 */ mr r4, r29 +/* 802A8B70 002A5AD0 7F 65 DB 78 */ mr r5, r27 +/* 802A8B74 002A5AD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A8B78 002A5AD8 48 06 9F 71 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B7C 002A5ADC 1C 1F 00 0C */ mulli r0, r31, 0xc +/* 802A8B80 002A5AE0 7F A4 EB 78 */ mr r4, r29 +/* 802A8B84 002A5AE4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A8B88 002A5AE8 7C BA 02 14 */ add r5, r26, r0 +/* 802A8B8C 002A5AEC 48 06 9F 5D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B90 002A5AF0 7F 83 E3 78 */ mr r3, r28 +/* 802A8B94 002A5AF4 7F C7 F3 78 */ mr r7, r30 +/* 802A8B98 002A5AF8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A8B9C 002A5AFC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802A8BA0 002A5B00 38 C1 00 08 */ addi r6, r1, 8 +/* 802A8BA4 002A5B04 4B FF 9B 85 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +lbl_802A8BA8: +/* 802A8BA8 002A5B08 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802A8BAC 002A5B0C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802A8BB0 002A5B10 7C 08 03 A6 */ mtlr r0 +/* 802A8BB4 002A5B14 38 21 00 70 */ addi r1, r1, 0x70 +/* 802A8BB8 002A5B18 4E 80 00 20 */ blr + +.global GetSurface__8COBBTreeCFUs +GetSurface__8COBBTreeCFUs: +/* 802A8BBC 002A5B1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8BC0 002A5B20 7C 08 02 A6 */ mflr r0 +/* 802A8BC4 002A5B24 54 AA 04 3E */ clrlwi r10, r5, 0x10 +/* 802A8BC8 002A5B28 38 A0 00 00 */ li r5, 0 +/* 802A8BCC 002A5B2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8BD0 002A5B30 1C CA 00 03 */ mulli r6, r10, 3 +/* 802A8BD4 002A5B34 80 E4 00 74 */ lwz r7, 0x74(r4) +/* 802A8BD8 002A5B38 38 06 00 01 */ addi r0, r6, 1 +/* 802A8BDC 002A5B3C 81 24 00 64 */ lwz r9, 0x64(r4) +/* 802A8BE0 002A5B40 54 C6 08 3C */ slwi r6, r6, 1 +/* 802A8BE4 002A5B44 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8BE8 002A5B48 7C C7 32 2E */ lhzx r6, r7, r6 +/* 802A8BEC 002A5B4C 7C 07 02 2E */ lhzx r0, r7, r0 +/* 802A8BF0 002A5B50 54 C6 10 3A */ slwi r6, r6, 2 +/* 802A8BF4 002A5B54 7D 09 32 14 */ add r8, r9, r6 +/* 802A8BF8 002A5B58 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8BFC 002A5B5C 7C C9 02 14 */ add r6, r9, r0 +/* 802A8C00 002A5B60 A1 68 00 00 */ lhz r11, 0(r8) +/* 802A8C04 002A5B64 A1 26 00 00 */ lhz r9, 0(r6) +/* 802A8C08 002A5B68 7C 09 58 40 */ cmplw r9, r11 +/* 802A8C0C 002A5B6C 41 82 00 14 */ beq lbl_802A8C20 +/* 802A8C10 002A5B70 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A8C14 002A5B74 7C 09 00 40 */ cmplw r9, r0 +/* 802A8C18 002A5B78 41 82 00 08 */ beq lbl_802A8C20 +/* 802A8C1C 002A5B7C 38 A0 00 01 */ li r5, 1 +lbl_802A8C20: +/* 802A8C20 002A5B80 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802A8C24 002A5B84 41 82 00 08 */ beq lbl_802A8C2C +/* 802A8C28 002A5B88 48 00 00 08 */ b lbl_802A8C30 +lbl_802A8C2C: +/* 802A8C2C 002A5B8C A1 26 00 02 */ lhz r9, 2(r6) +lbl_802A8C30: +/* 802A8C30 002A5B90 80 A4 00 54 */ lwz r5, 0x54(r4) +/* 802A8C34 002A5B94 80 C4 00 24 */ lwz r6, 0x24(r4) +/* 802A8C38 002A5B98 7C 05 50 AE */ lbzx r0, r5, r10 +/* 802A8C3C 002A5B9C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8C40 002A5BA0 7C E6 00 2E */ lwzx r7, r6, r0 +/* 802A8C44 002A5BA4 54 E0 01 8D */ rlwinm. r0, r7, 0, 6, 6 +/* 802A8C48 002A5BA8 41 82 00 30 */ beq lbl_802A8C78 +/* 802A8C4C 002A5BAC A0 08 00 02 */ lhz r0, 2(r8) +/* 802A8C50 002A5BB0 55 25 04 3E */ clrlwi r5, r9, 0x10 +/* 802A8C54 002A5BB4 81 04 00 84 */ lwz r8, 0x84(r4) +/* 802A8C58 002A5BB8 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A8C5C 002A5BBC 1C 80 00 0C */ mulli r4, r0, 0xc +/* 802A8C60 002A5BC0 7C C8 2A 14 */ add r6, r8, r5 +/* 802A8C64 002A5BC4 1C 0B 00 0C */ mulli r0, r11, 0xc +/* 802A8C68 002A5BC8 7C 88 22 14 */ add r4, r8, r4 +/* 802A8C6C 002A5BCC 7C A8 02 14 */ add r5, r8, r0 +/* 802A8C70 002A5BD0 4B FF 9A B9 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A8C74 002A5BD4 48 00 00 2C */ b lbl_802A8CA0 +lbl_802A8C78: +/* 802A8C78 002A5BD8 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A8C7C 002A5BDC 55 25 04 3E */ clrlwi r5, r9, 0x10 +/* 802A8C80 002A5BE0 81 04 00 84 */ lwz r8, 0x84(r4) +/* 802A8C84 002A5BE4 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A8C88 002A5BE8 1C 8B 00 0C */ mulli r4, r11, 0xc +/* 802A8C8C 002A5BEC 7C C8 2A 14 */ add r6, r8, r5 +/* 802A8C90 002A5BF0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A8C94 002A5BF4 7C 88 22 14 */ add r4, r8, r4 +/* 802A8C98 002A5BF8 7C A8 02 14 */ add r5, r8, r0 +/* 802A8C9C 002A5BFC 4B FF 9A 8D */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +lbl_802A8CA0: +/* 802A8CA0 002A5C00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8CA4 002A5C04 7C 08 03 A6 */ mtlr r0 +/* 802A8CA8 002A5C08 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8CAC 002A5C0C 4E 80 00 20 */ blr + +.global CalculateLocalAABox__8COBBTreeCFv +CalculateLocalAABox__8COBBTreeCFv: +/* 802A8CB0 002A5C10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8CB4 002A5C14 7C 08 02 A6 */ mflr r0 +/* 802A8CB8 002A5C18 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8CBC 002A5C1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8CC0 002A5C20 7C 7F 1B 78 */ mr r31, r3 +/* 802A8CC4 002A5C24 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802A8CC8 002A5C28 28 04 00 00 */ cmplwi r4, 0 +/* 802A8CCC 002A5C2C 41 82 00 14 */ beq lbl_802A8CE0 +/* 802A8CD0 002A5C30 3C A0 80 5A */ lis r5, skIdentity4f@ha +/* 802A8CD4 002A5C34 38 A5 66 70 */ addi r5, r5, skIdentity4f@l +/* 802A8CD8 002A5C38 48 02 D1 01 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f +/* 802A8CDC 002A5C3C 48 00 00 20 */ b lbl_802A8CFC +lbl_802A8CE0: +/* 802A8CE0 002A5C40 C0 02 C1 A8 */ lfs f0, lbl_805ADEC8@sda21(r2) +/* 802A8CE4 002A5C44 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802A8CE8 002A5C48 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802A8CEC 002A5C4C D0 1F 00 08 */ stfs f0, 8(r31) +/* 802A8CF0 002A5C50 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802A8CF4 002A5C54 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802A8CF8 002A5C58 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_802A8CFC: +/* 802A8CFC 002A5C5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8D00 002A5C60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A8D04 002A5C64 7C 08 03 A6 */ mtlr r0 +/* 802A8D08 002A5C68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8D0C 002A5C6C 4E 80 00 20 */ blr + +.global __dt__8COBBTreeFv +__dt__8COBBTreeFv: +/* 802A8D10 002A5C70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8D14 002A5C74 7C 08 02 A6 */ mflr r0 +/* 802A8D18 002A5C78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8D1C 002A5C7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8D20 002A5C80 7C 9F 23 78 */ mr r31, r4 +/* 802A8D24 002A5C84 93 C1 00 08 */ stw r30, 8(r1) +/* 802A8D28 002A5C88 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A8D2C 002A5C8C 41 82 00 58 */ beq lbl_802A8D84 +/* 802A8D30 002A5C90 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802A8D34 002A5C94 28 00 00 00 */ cmplwi r0, 0 +/* 802A8D38 002A5C98 41 82 00 10 */ beq lbl_802A8D48 +/* 802A8D3C 002A5C9C 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8D40 002A5CA0 4B FF EF 4D */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A8D44 002A5CA4 48 00 00 0C */ b lbl_802A8D50 +lbl_802A8D48: +/* 802A8D48 002A5CA8 38 60 00 00 */ li r3, 0 +/* 802A8D4C 002A5CAC 4B FF EF 41 */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +lbl_802A8D50: +/* 802A8D50 002A5CB0 80 7E 00 88 */ lwz r3, 0x88(r30) +/* 802A8D54 002A5CB4 38 80 00 01 */ li r4, 1 +/* 802A8D58 002A5CB8 4B FF EF B5 */ bl __dt__Q28COBBTree5CNodeFv +/* 802A8D5C 002A5CBC 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802A8D60 002A5CC0 38 80 FF FF */ li r4, -1 +/* 802A8D64 002A5CC4 4B FF FA 49 */ bl sub_802a87ac +/* 802A8D68 002A5CC8 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8D6C 002A5CCC 38 80 FF FF */ li r4, -1 +/* 802A8D70 002A5CD0 4B FF EC 39 */ bl __dt__Q28COBBTree16CSimpleAllocatorFv +/* 802A8D74 002A5CD4 7F E0 07 35 */ extsh. r0, r31 +/* 802A8D78 002A5CD8 40 81 00 0C */ ble lbl_802A8D84 +/* 802A8D7C 002A5CDC 7F C3 F3 78 */ mr r3, r30 +/* 802A8D80 002A5CE0 48 06 CB B1 */ bl Free__7CMemoryFPCv +lbl_802A8D84: +/* 802A8D84 002A5CE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8D88 002A5CE8 7F C3 F3 78 */ mr r3, r30 +/* 802A8D8C 002A5CEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A8D90 002A5CF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A8D94 002A5CF4 7C 08 03 A6 */ mtlr r0 +/* 802A8D98 002A5CF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8D9C 002A5CFC 4E 80 00 20 */ blr + +.global __ct__8COBBTreeFR12CInputStream +__ct__8COBBTreeFR12CInputStream: +/* 802A8DA0 002A5D00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8DA4 002A5D04 7C 08 02 A6 */ mflr r0 +/* 802A8DA8 002A5D08 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8DAC 002A5D0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8DB0 002A5D10 7C 9F 23 78 */ mr r31, r4 +/* 802A8DB4 002A5D14 93 C1 00 08 */ stw r30, 8(r1) +/* 802A8DB8 002A5D18 7C 7E 1B 78 */ mr r30, r3 +/* 802A8DBC 002A5D1C 7F E3 FB 78 */ mr r3, r31 +/* 802A8DC0 002A5D20 48 00 00 B1 */ bl verify_deaf_babe__FR12CInputStream +/* 802A8DC4 002A5D24 90 7E 00 00 */ stw r3, 0(r30) +/* 802A8DC8 002A5D28 7F E3 FB 78 */ mr r3, r31 +/* 802A8DCC 002A5D2C 48 00 00 85 */ bl verify_version__FR12CInputStream +/* 802A8DD0 002A5D30 90 7E 00 04 */ stw r3, 4(r30) +/* 802A8DD4 002A5D34 7F E3 FB 78 */ mr r3, r31 +/* 802A8DD8 002A5D38 48 09 5E AD */ bl ReadLong__12CInputStreamFv +/* 802A8DDC 002A5D3C 90 7E 00 08 */ stw r3, 8(r30) +/* 802A8DE0 002A5D40 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8DE4 002A5D44 80 9E 00 08 */ lwz r4, 8(r30) +/* 802A8DE8 002A5D48 4B FF EC 1D */ bl __ct__Q28COBBTree16CSimpleAllocatorFUi +/* 802A8DEC 002A5D4C 7F E4 FB 78 */ mr r4, r31 +/* 802A8DF0 002A5D50 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802A8DF4 002A5D54 48 00 05 71 */ bl __ct__Q28COBBTree10SIndexDataFR12CInputStream +/* 802A8DF8 002A5D58 38 00 00 00 */ li r0, 0 +/* 802A8DFC 002A5D5C 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8E00 002A5D60 90 1E 00 88 */ stw r0, 0x88(r30) +/* 802A8E04 002A5D64 4B FF EE 89 */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A8E08 002A5D68 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A8E0C 002A5D6C 38 60 00 50 */ li r3, 0x50 +/* 802A8E10 002A5D70 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A8E14 002A5D74 38 A0 00 00 */ li r5, 0 +/* 802A8E18 002A5D78 4B FF EE 2D */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A8E1C 002A5D7C 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A8E20 002A5D80 41 82 00 10 */ beq lbl_802A8E30 +/* 802A8E24 002A5D84 7F E4 FB 78 */ mr r4, r31 +/* 802A8E28 002A5D88 4B FF EF AD */ bl __ct__Q28COBBTree5CNodeFR12CInputStream +/* 802A8E2C 002A5D8C 7C 60 1B 78 */ mr r0, r3 +lbl_802A8E30: +/* 802A8E30 002A5D90 90 1E 00 88 */ stw r0, 0x88(r30) +/* 802A8E34 002A5D94 7F C3 F3 78 */ mr r3, r30 +/* 802A8E38 002A5D98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8E3C 002A5D9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A8E40 002A5DA0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A8E44 002A5DA4 7C 08 03 A6 */ mtlr r0 +/* 802A8E48 002A5DA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8E4C 002A5DAC 4E 80 00 20 */ blr + +.global verify_version__FR12CInputStream +verify_version__FR12CInputStream: +/* 802A8E50 002A5DB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8E54 002A5DB4 7C 08 02 A6 */ mflr r0 +/* 802A8E58 002A5DB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8E5C 002A5DBC 48 09 5E 29 */ bl ReadLong__12CInputStreamFv +/* 802A8E60 002A5DC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8E64 002A5DC4 7C 08 03 A6 */ mtlr r0 +/* 802A8E68 002A5DC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8E6C 002A5DCC 4E 80 00 20 */ blr + +.global verify_deaf_babe__FR12CInputStream +verify_deaf_babe__FR12CInputStream: +/* 802A8E70 002A5DD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8E74 002A5DD4 7C 08 02 A6 */ mflr r0 +/* 802A8E78 002A5DD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8E7C 002A5DDC 48 09 5E 09 */ bl ReadLong__12CInputStreamFv +/* 802A8E80 002A5DE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8E84 002A5DE4 7C 08 03 A6 */ mtlr r0 +/* 802A8E88 002A5DE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8E8C 002A5DEC 4E 80 00 20 */ blr + +.global __ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode +__ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode: +/* 802A8E90 002A5DF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A8E94 002A5DF4 7C 08 02 A6 */ mflr r0 +/* 802A8E98 002A5DF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A8E9C 002A5DFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A8EA0 002A5E00 7C BF 2B 78 */ mr r31, r5 +/* 802A8EA4 002A5E04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A8EA8 002A5E08 7C 9E 23 78 */ mr r30, r4 +/* 802A8EAC 002A5E0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802A8EB0 002A5E10 7C 7D 1B 78 */ mr r29, r3 +/* 802A8EB4 002A5E14 7F E3 FB 78 */ mr r3, r31 +/* 802A8EB8 002A5E18 4B FF ED DD */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv +/* 802A8EBC 002A5E1C 90 7D 00 08 */ stw r3, 8(r29) +/* 802A8EC0 002A5E20 38 7D 00 0C */ addi r3, r29, 0xc +/* 802A8EC4 002A5E24 38 80 00 00 */ li r4, 0 +/* 802A8EC8 002A5E28 4B FF EB 3D */ bl __ct__Q28COBBTree16CSimpleAllocatorFUi +/* 802A8ECC 002A5E2C 7F C4 F3 78 */ mr r4, r30 +/* 802A8ED0 002A5E30 38 7D 00 18 */ addi r3, r29, 0x18 +/* 802A8ED4 002A5E34 48 00 00 31 */ bl __ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData +/* 802A8ED8 002A5E38 93 FD 00 88 */ stw r31, 0x88(r29) +/* 802A8EDC 002A5E3C 38 60 00 00 */ li r3, 0 +/* 802A8EE0 002A5E40 4B FF ED AD */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A8EE4 002A5E44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A8EE8 002A5E48 7F A3 EB 78 */ mr r3, r29 +/* 802A8EEC 002A5E4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A8EF0 002A5E50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A8EF4 002A5E54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802A8EF8 002A5E58 7C 08 03 A6 */ mtlr r0 +/* 802A8EFC 002A5E5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A8F00 002A5E60 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData +__ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData: +/* 802A8F04 002A5E64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8F08 002A5E68 7C 08 02 A6 */ mflr r0 +/* 802A8F0C 002A5E6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8F10 002A5E70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8F14 002A5E74 7C 9F 23 78 */ mr r31, r4 +/* 802A8F18 002A5E78 93 C1 00 08 */ stw r30, 8(r1) +/* 802A8F1C 002A5E7C 7C 7E 1B 78 */ mr r30, r3 +/* 802A8F20 002A5E80 80 04 00 04 */ lwz r0, 4(r4) +/* 802A8F24 002A5E84 90 03 00 04 */ stw r0, 4(r3) +/* 802A8F28 002A5E88 80 04 00 08 */ lwz r0, 8(r4) +/* 802A8F2C 002A5E8C 90 03 00 08 */ stw r0, 8(r3) +/* 802A8F30 002A5E90 80 04 00 04 */ lwz r0, 4(r4) +/* 802A8F34 002A5E94 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8F38 002A5E98 40 82 00 1C */ bne lbl_802A8F54 +/* 802A8F3C 002A5E9C 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A8F40 002A5EA0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8F44 002A5EA4 40 82 00 10 */ bne lbl_802A8F54 +/* 802A8F48 002A5EA8 38 00 00 00 */ li r0, 0 +/* 802A8F4C 002A5EAC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A8F50 002A5EB0 48 00 00 64 */ b lbl_802A8FB4 +lbl_802A8F54: +/* 802A8F54 002A5EB4 80 1E 00 08 */ lwz r0, 8(r30) +/* 802A8F58 002A5EB8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802A8F5C 002A5EBC 40 82 00 10 */ bne lbl_802A8F6C +/* 802A8F60 002A5EC0 38 00 00 00 */ li r0, 0 +/* 802A8F64 002A5EC4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A8F68 002A5EC8 48 00 00 18 */ b lbl_802A8F80 +lbl_802A8F6C: +/* 802A8F6C 002A5ECC 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A8F70 002A5ED0 38 A0 00 00 */ li r5, 0 +/* 802A8F74 002A5ED4 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A8F78 002A5ED8 48 06 C8 A1 */ bl __nwa__FUlPCcPCc +/* 802A8F7C 002A5EDC 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802A8F80: +/* 802A8F80 002A5EE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A8F84 002A5EE4 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A8F88 002A5EE8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A8F8C 002A5EEC 7C 09 03 A6 */ mtctr r0 +/* 802A8F90 002A5EF0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8F94 002A5EF4 40 81 00 20 */ ble lbl_802A8FB4 +lbl_802A8F98: +/* 802A8F98 002A5EF8 28 03 00 00 */ cmplwi r3, 0 +/* 802A8F9C 002A5EFC 41 82 00 0C */ beq lbl_802A8FA8 +/* 802A8FA0 002A5F00 80 04 00 00 */ lwz r0, 0(r4) +/* 802A8FA4 002A5F04 90 03 00 00 */ stw r0, 0(r3) +lbl_802A8FA8: +/* 802A8FA8 002A5F08 38 63 00 04 */ addi r3, r3, 4 +/* 802A8FAC 002A5F0C 38 84 00 04 */ addi r4, r4, 4 +/* 802A8FB0 002A5F10 42 00 FF E8 */ bdnz lbl_802A8F98 +lbl_802A8FB4: +/* 802A8FB4 002A5F14 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802A8FB8 002A5F18 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802A8FBC 002A5F1C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A8FC0 002A5F20 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802A8FC4 002A5F24 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802A8FC8 002A5F28 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8FCC 002A5F2C 40 82 00 1C */ bne lbl_802A8FE8 +/* 802A8FD0 002A5F30 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A8FD4 002A5F34 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8FD8 002A5F38 40 82 00 10 */ bne lbl_802A8FE8 +/* 802A8FDC 002A5F3C 38 00 00 00 */ li r0, 0 +/* 802A8FE0 002A5F40 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802A8FE4 002A5F44 48 00 00 64 */ b lbl_802A9048 +lbl_802A8FE8: +/* 802A8FE8 002A5F48 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802A8FEC 002A5F4C 2C 03 00 00 */ cmpwi r3, 0 +/* 802A8FF0 002A5F50 40 82 00 10 */ bne lbl_802A9000 +/* 802A8FF4 002A5F54 38 00 00 00 */ li r0, 0 +/* 802A8FF8 002A5F58 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802A8FFC 002A5F5C 48 00 00 18 */ b lbl_802A9014 +lbl_802A9000: +/* 802A9000 002A5F60 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A9004 002A5F64 38 A0 00 00 */ li r5, 0 +/* 802A9008 002A5F68 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A900C 002A5F6C 48 06 C8 0D */ bl __nwa__FUlPCcPCc +/* 802A9010 002A5F70 90 7E 00 1C */ stw r3, 0x1c(r30) +lbl_802A9014: +/* 802A9014 002A5F74 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A9018 002A5F78 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 802A901C 002A5F7C 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802A9020 002A5F80 7C 09 03 A6 */ mtctr r0 +/* 802A9024 002A5F84 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9028 002A5F88 40 81 00 20 */ ble lbl_802A9048 +lbl_802A902C: +/* 802A902C 002A5F8C 28 03 00 00 */ cmplwi r3, 0 +/* 802A9030 002A5F90 41 82 00 0C */ beq lbl_802A903C +/* 802A9034 002A5F94 88 04 00 00 */ lbz r0, 0(r4) +/* 802A9038 002A5F98 98 03 00 00 */ stb r0, 0(r3) +lbl_802A903C: +/* 802A903C 002A5F9C 38 63 00 01 */ addi r3, r3, 1 +/* 802A9040 002A5FA0 38 84 00 01 */ addi r4, r4, 1 +/* 802A9044 002A5FA4 42 00 FF E8 */ bdnz lbl_802A902C +lbl_802A9048: +/* 802A9048 002A5FA8 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802A904C 002A5FAC 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802A9050 002A5FB0 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802A9054 002A5FB4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802A9058 002A5FB8 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802A905C 002A5FBC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9060 002A5FC0 40 82 00 1C */ bne lbl_802A907C +/* 802A9064 002A5FC4 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802A9068 002A5FC8 2C 00 00 00 */ cmpwi r0, 0 +/* 802A906C 002A5FCC 40 82 00 10 */ bne lbl_802A907C +/* 802A9070 002A5FD0 38 00 00 00 */ li r0, 0 +/* 802A9074 002A5FD4 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802A9078 002A5FD8 48 00 00 64 */ b lbl_802A90DC +lbl_802A907C: +/* 802A907C 002A5FDC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802A9080 002A5FE0 2C 03 00 00 */ cmpwi r3, 0 +/* 802A9084 002A5FE4 40 82 00 10 */ bne lbl_802A9094 +/* 802A9088 002A5FE8 38 00 00 00 */ li r0, 0 +/* 802A908C 002A5FEC 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802A9090 002A5FF0 48 00 00 18 */ b lbl_802A90A8 +lbl_802A9094: +/* 802A9094 002A5FF4 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A9098 002A5FF8 38 A0 00 00 */ li r5, 0 +/* 802A909C 002A5FFC 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A90A0 002A6000 48 06 C7 79 */ bl __nwa__FUlPCcPCc +/* 802A90A4 002A6004 90 7E 00 2C */ stw r3, 0x2c(r30) +lbl_802A90A8: +/* 802A90A8 002A6008 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A90AC 002A600C 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 802A90B0 002A6010 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802A90B4 002A6014 7C 09 03 A6 */ mtctr r0 +/* 802A90B8 002A6018 2C 00 00 00 */ cmpwi r0, 0 +/* 802A90BC 002A601C 40 81 00 20 */ ble lbl_802A90DC +lbl_802A90C0: +/* 802A90C0 002A6020 28 03 00 00 */ cmplwi r3, 0 +/* 802A90C4 002A6024 41 82 00 0C */ beq lbl_802A90D0 +/* 802A90C8 002A6028 88 04 00 00 */ lbz r0, 0(r4) +/* 802A90CC 002A602C 98 03 00 00 */ stb r0, 0(r3) +lbl_802A90D0: +/* 802A90D0 002A6030 38 63 00 01 */ addi r3, r3, 1 +/* 802A90D4 002A6034 38 84 00 01 */ addi r4, r4, 1 +/* 802A90D8 002A6038 42 00 FF E8 */ bdnz lbl_802A90C0 +lbl_802A90DC: +/* 802A90DC 002A603C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 802A90E0 002A6040 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802A90E4 002A6044 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802A90E8 002A6048 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802A90EC 002A604C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 802A90F0 002A6050 2C 00 00 00 */ cmpwi r0, 0 +/* 802A90F4 002A6054 40 82 00 1C */ bne lbl_802A9110 +/* 802A90F8 002A6058 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802A90FC 002A605C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9100 002A6060 40 82 00 10 */ bne lbl_802A9110 +/* 802A9104 002A6064 38 00 00 00 */ li r0, 0 +/* 802A9108 002A6068 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802A910C 002A606C 48 00 00 64 */ b lbl_802A9170 +lbl_802A9110: +/* 802A9110 002A6070 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802A9114 002A6074 2C 03 00 00 */ cmpwi r3, 0 +/* 802A9118 002A6078 40 82 00 10 */ bne lbl_802A9128 +/* 802A911C 002A607C 38 00 00 00 */ li r0, 0 +/* 802A9120 002A6080 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802A9124 002A6084 48 00 00 18 */ b lbl_802A913C +lbl_802A9128: +/* 802A9128 002A6088 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A912C 002A608C 38 A0 00 00 */ li r5, 0 +/* 802A9130 002A6090 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A9134 002A6094 48 06 C6 E5 */ bl __nwa__FUlPCcPCc +/* 802A9138 002A6098 90 7E 00 3C */ stw r3, 0x3c(r30) +lbl_802A913C: +/* 802A913C 002A609C 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A9140 002A60A0 80 9F 00 3C */ lwz r4, 0x3c(r31) +/* 802A9144 002A60A4 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802A9148 002A60A8 7C 09 03 A6 */ mtctr r0 +/* 802A914C 002A60AC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9150 002A60B0 40 81 00 20 */ ble lbl_802A9170 +lbl_802A9154: +/* 802A9154 002A60B4 28 03 00 00 */ cmplwi r3, 0 +/* 802A9158 002A60B8 41 82 00 0C */ beq lbl_802A9164 +/* 802A915C 002A60BC 88 04 00 00 */ lbz r0, 0(r4) +/* 802A9160 002A60C0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A9164: +/* 802A9164 002A60C4 38 63 00 01 */ addi r3, r3, 1 +/* 802A9168 002A60C8 38 84 00 01 */ addi r4, r4, 1 +/* 802A916C 002A60CC 42 00 FF E8 */ bdnz lbl_802A9154 +lbl_802A9170: +/* 802A9170 002A60D0 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802A9174 002A60D4 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802A9178 002A60D8 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802A917C 002A60DC 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802A9180 002A60E0 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802A9184 002A60E4 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9188 002A60E8 40 82 00 1C */ bne lbl_802A91A4 +/* 802A918C 002A60EC 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802A9190 002A60F0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9194 002A60F4 40 82 00 10 */ bne lbl_802A91A4 +/* 802A9198 002A60F8 38 00 00 00 */ li r0, 0 +/* 802A919C 002A60FC 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802A91A0 002A6100 48 00 00 6C */ b lbl_802A920C +lbl_802A91A4: +/* 802A91A4 002A6104 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 802A91A8 002A6108 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802A91AC 002A610C 40 82 00 10 */ bne lbl_802A91BC +/* 802A91B0 002A6110 38 00 00 00 */ li r0, 0 +/* 802A91B4 002A6114 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802A91B8 002A6118 48 00 00 18 */ b lbl_802A91D0 +lbl_802A91BC: +/* 802A91BC 002A611C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A91C0 002A6120 38 A0 00 00 */ li r5, 0 +/* 802A91C4 002A6124 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A91C8 002A6128 48 06 C6 51 */ bl __nwa__FUlPCcPCc +/* 802A91CC 002A612C 90 7E 00 4C */ stw r3, 0x4c(r30) +lbl_802A91D0: +/* 802A91D0 002A6130 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802A91D4 002A6134 80 9F 00 4C */ lwz r4, 0x4c(r31) +/* 802A91D8 002A6138 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802A91DC 002A613C 7C 09 03 A6 */ mtctr r0 +/* 802A91E0 002A6140 2C 00 00 00 */ cmpwi r0, 0 +/* 802A91E4 002A6144 40 81 00 28 */ ble lbl_802A920C +lbl_802A91E8: +/* 802A91E8 002A6148 28 03 00 00 */ cmplwi r3, 0 +/* 802A91EC 002A614C 41 82 00 14 */ beq lbl_802A9200 +/* 802A91F0 002A6150 A0 04 00 00 */ lhz r0, 0(r4) +/* 802A91F4 002A6154 B0 03 00 00 */ sth r0, 0(r3) +/* 802A91F8 002A6158 A0 04 00 02 */ lhz r0, 2(r4) +/* 802A91FC 002A615C B0 03 00 02 */ sth r0, 2(r3) +lbl_802A9200: +/* 802A9200 002A6160 38 63 00 04 */ addi r3, r3, 4 +/* 802A9204 002A6164 38 84 00 04 */ addi r4, r4, 4 +/* 802A9208 002A6168 42 00 FF E0 */ bdnz lbl_802A91E8 +lbl_802A920C: +/* 802A920C 002A616C 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 802A9210 002A6170 90 1E 00 54 */ stw r0, 0x54(r30) +/* 802A9214 002A6174 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802A9218 002A6178 90 1E 00 58 */ stw r0, 0x58(r30) +/* 802A921C 002A617C 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 802A9220 002A6180 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9224 002A6184 40 82 00 1C */ bne lbl_802A9240 +/* 802A9228 002A6188 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802A922C 002A618C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9230 002A6190 40 82 00 10 */ bne lbl_802A9240 +/* 802A9234 002A6194 38 00 00 00 */ li r0, 0 +/* 802A9238 002A6198 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802A923C 002A619C 48 00 00 64 */ b lbl_802A92A0 +lbl_802A9240: +/* 802A9240 002A61A0 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 802A9244 002A61A4 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 802A9248 002A61A8 40 82 00 10 */ bne lbl_802A9258 +/* 802A924C 002A61AC 38 00 00 00 */ li r0, 0 +/* 802A9250 002A61B0 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802A9254 002A61B4 48 00 00 18 */ b lbl_802A926C +lbl_802A9258: +/* 802A9258 002A61B8 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A925C 002A61BC 38 A0 00 00 */ li r5, 0 +/* 802A9260 002A61C0 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A9264 002A61C4 48 06 C5 B5 */ bl __nwa__FUlPCcPCc +/* 802A9268 002A61C8 90 7E 00 5C */ stw r3, 0x5c(r30) +lbl_802A926C: +/* 802A926C 002A61CC 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A9270 002A61D0 80 9F 00 5C */ lwz r4, 0x5c(r31) +/* 802A9274 002A61D4 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802A9278 002A61D8 7C 09 03 A6 */ mtctr r0 +/* 802A927C 002A61DC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9280 002A61E0 40 81 00 20 */ ble lbl_802A92A0 +lbl_802A9284: +/* 802A9284 002A61E4 28 03 00 00 */ cmplwi r3, 0 +/* 802A9288 002A61E8 41 82 00 0C */ beq lbl_802A9294 +/* 802A928C 002A61EC A0 04 00 00 */ lhz r0, 0(r4) +/* 802A9290 002A61F0 B0 03 00 00 */ sth r0, 0(r3) +lbl_802A9294: +/* 802A9294 002A61F4 38 63 00 02 */ addi r3, r3, 2 +/* 802A9298 002A61F8 38 84 00 02 */ addi r4, r4, 2 +/* 802A929C 002A61FC 42 00 FF E8 */ bdnz lbl_802A9284 +lbl_802A92A0: +/* 802A92A0 002A6200 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 802A92A4 002A6204 90 1E 00 64 */ stw r0, 0x64(r30) +/* 802A92A8 002A6208 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 802A92AC 002A620C 90 1E 00 68 */ stw r0, 0x68(r30) +/* 802A92B0 002A6210 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 802A92B4 002A6214 2C 00 00 00 */ cmpwi r0, 0 +/* 802A92B8 002A6218 40 82 00 1C */ bne lbl_802A92D4 +/* 802A92BC 002A621C 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 802A92C0 002A6220 2C 00 00 00 */ cmpwi r0, 0 +/* 802A92C4 002A6224 40 82 00 10 */ bne lbl_802A92D4 +/* 802A92C8 002A6228 38 00 00 00 */ li r0, 0 +/* 802A92CC 002A622C 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 802A92D0 002A6230 48 00 00 78 */ b lbl_802A9348 +lbl_802A92D4: +/* 802A92D4 002A6234 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 802A92D8 002A6238 1C 60 00 0C */ mulli r3, r0, 0xc +/* 802A92DC 002A623C 2C 03 00 00 */ cmpwi r3, 0 +/* 802A92E0 002A6240 40 82 00 10 */ bne lbl_802A92F0 +/* 802A92E4 002A6244 38 00 00 00 */ li r0, 0 +/* 802A92E8 002A6248 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 802A92EC 002A624C 48 00 00 18 */ b lbl_802A9304 +lbl_802A92F0: +/* 802A92F0 002A6250 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A92F4 002A6254 38 A0 00 00 */ li r5, 0 +/* 802A92F8 002A6258 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A92FC 002A625C 48 06 C5 1D */ bl __nwa__FUlPCcPCc +/* 802A9300 002A6260 90 7E 00 6C */ stw r3, 0x6c(r30) +lbl_802A9304: +/* 802A9304 002A6264 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A9308 002A6268 80 9F 00 6C */ lwz r4, 0x6c(r31) +/* 802A930C 002A626C 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802A9310 002A6270 7C 09 03 A6 */ mtctr r0 +/* 802A9314 002A6274 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9318 002A6278 40 81 00 30 */ ble lbl_802A9348 +lbl_802A931C: +/* 802A931C 002A627C 28 03 00 00 */ cmplwi r3, 0 +/* 802A9320 002A6280 41 82 00 1C */ beq lbl_802A933C +/* 802A9324 002A6284 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A9328 002A6288 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A932C 002A628C C0 04 00 04 */ lfs f0, 4(r4) +/* 802A9330 002A6290 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A9334 002A6294 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A9338 002A6298 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802A933C: +/* 802A933C 002A629C 38 63 00 0C */ addi r3, r3, 0xc +/* 802A9340 002A62A0 38 84 00 0C */ addi r4, r4, 0xc +/* 802A9344 002A62A4 42 00 FF D8 */ bdnz lbl_802A931C +lbl_802A9348: +/* 802A9348 002A62A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A934C 002A62AC 7F C3 F3 78 */ mr r3, r30 +/* 802A9350 002A62B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A9354 002A62B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A9358 002A62B8 7C 08 03 A6 */ mtlr r0 +/* 802A935C 002A62BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A9360 002A62C0 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree10SIndexDataFR12CInputStream +__ct__Q28COBBTree10SIndexDataFR12CInputStream: +/* 802A9364 002A62C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A9368 002A62C8 7C 08 02 A6 */ mflr r0 +/* 802A936C 002A62CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A9370 002A62D0 38 00 00 00 */ li r0, 0 +/* 802A9374 002A62D4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802A9378 002A62D8 7C 7E 1B 78 */ mr r30, r3 +/* 802A937C 002A62DC 7C 9F 23 78 */ mr r31, r4 +/* 802A9380 002A62E0 90 03 00 04 */ stw r0, 4(r3) +/* 802A9384 002A62E4 7F E3 FB 78 */ mr r3, r31 +/* 802A9388 002A62E8 90 1E 00 08 */ stw r0, 8(r30) +/* 802A938C 002A62EC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A9390 002A62F0 48 09 58 F5 */ bl ReadLong__12CInputStreamFv +/* 802A9394 002A62F4 7C 7B 1B 78 */ mr r27, r3 +/* 802A9398 002A62F8 7F C3 F3 78 */ mr r3, r30 +/* 802A939C 002A62FC 7F 64 DB 78 */ mr r4, r27 +/* 802A93A0 002A6300 4B DB A7 85 */ bl "reserve__Q24rstl37vectorFi" +/* 802A93A4 002A6304 3B 80 00 00 */ li r28, 0 +/* 802A93A8 002A6308 48 00 00 60 */ b lbl_802A9408 +lbl_802A93AC: +/* 802A93AC 002A630C 7F E3 FB 78 */ mr r3, r31 +/* 802A93B0 002A6310 48 09 58 D5 */ bl ReadLong__12CInputStreamFv +/* 802A93B4 002A6314 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A93B8 002A6318 7C 7D 1B 78 */ mr r29, r3 +/* 802A93BC 002A631C 80 BE 00 08 */ lwz r5, 8(r30) +/* 802A93C0 002A6320 7C 00 28 00 */ cmpw r0, r5 +/* 802A93C4 002A6324 41 80 00 1C */ blt lbl_802A93E0 +/* 802A93C8 002A6328 2C 05 00 00 */ cmpwi r5, 0 +/* 802A93CC 002A632C 7F C3 F3 78 */ mr r3, r30 +/* 802A93D0 002A6330 38 80 00 04 */ li r4, 4 +/* 802A93D4 002A6334 41 82 00 08 */ beq lbl_802A93DC +/* 802A93D8 002A6338 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A93DC: +/* 802A93DC 002A633C 4B DB A7 49 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A93E0: +/* 802A93E0 002A6340 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A93E4 002A6344 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A93E8 002A6348 54 00 10 3A */ slwi r0, r0, 2 +/* 802A93EC 002A634C 7C 63 02 15 */ add. r3, r3, r0 +/* 802A93F0 002A6350 41 82 00 08 */ beq lbl_802A93F8 +/* 802A93F4 002A6354 93 A3 00 00 */ stw r29, 0(r3) +lbl_802A93F8: +/* 802A93F8 002A6358 80 7E 00 04 */ lwz r3, 4(r30) +/* 802A93FC 002A635C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9400 002A6360 38 03 00 01 */ addi r0, r3, 1 +/* 802A9404 002A6364 90 1E 00 04 */ stw r0, 4(r30) +lbl_802A9408: +/* 802A9408 002A6368 7C 1C D8 00 */ cmpw r28, r27 +/* 802A940C 002A636C 41 80 FF A0 */ blt lbl_802A93AC +/* 802A9410 002A6370 38 00 00 00 */ li r0, 0 +/* 802A9414 002A6374 7F E3 FB 78 */ mr r3, r31 +/* 802A9418 002A6378 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802A941C 002A637C 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802A9420 002A6380 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802A9424 002A6384 48 09 58 61 */ bl ReadLong__12CInputStreamFv +/* 802A9428 002A6388 7C 7B 1B 78 */ mr r27, r3 +/* 802A942C 002A638C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A9430 002A6390 7F 64 DB 78 */ mr r4, r27 +/* 802A9434 002A6394 4B F2 CD C9 */ bl "reserve__Q24rstl37vectorFi" +/* 802A9438 002A6398 3B 80 00 00 */ li r28, 0 +/* 802A943C 002A639C 48 00 00 5C */ b lbl_802A9498 +lbl_802A9440: +/* 802A9440 002A63A0 7F E3 FB 78 */ mr r3, r31 +/* 802A9444 002A63A4 48 09 58 C9 */ bl ReadChar__12CInputStreamFv +/* 802A9448 002A63A8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A944C 002A63AC 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 802A9450 002A63B0 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 802A9454 002A63B4 7C 00 28 00 */ cmpw r0, r5 +/* 802A9458 002A63B8 41 80 00 1C */ blt lbl_802A9474 +/* 802A945C 002A63BC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9460 002A63C0 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A9464 002A63C4 38 80 00 04 */ li r4, 4 +/* 802A9468 002A63C8 41 82 00 08 */ beq lbl_802A9470 +/* 802A946C 002A63CC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9470: +/* 802A9470 002A63D0 4B F2 CD 8D */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9474: +/* 802A9474 002A63D4 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802A9478 002A63D8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A947C 002A63DC 7C 63 02 15 */ add. r3, r3, r0 +/* 802A9480 002A63E0 41 82 00 08 */ beq lbl_802A9488 +/* 802A9484 002A63E4 9B A3 00 00 */ stb r29, 0(r3) +lbl_802A9488: +/* 802A9488 002A63E8 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802A948C 002A63EC 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9490 002A63F0 38 03 00 01 */ addi r0, r3, 1 +/* 802A9494 002A63F4 90 1E 00 14 */ stw r0, 0x14(r30) +lbl_802A9498: +/* 802A9498 002A63F8 7C 1C D8 00 */ cmpw r28, r27 +/* 802A949C 002A63FC 41 80 FF A4 */ blt lbl_802A9440 +/* 802A94A0 002A6400 38 00 00 00 */ li r0, 0 +/* 802A94A4 002A6404 7F E3 FB 78 */ mr r3, r31 +/* 802A94A8 002A6408 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802A94AC 002A640C 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802A94B0 002A6410 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802A94B4 002A6414 48 09 57 D1 */ bl ReadLong__12CInputStreamFv +/* 802A94B8 002A6418 7C 7B 1B 78 */ mr r27, r3 +/* 802A94BC 002A641C 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802A94C0 002A6420 7F 64 DB 78 */ mr r4, r27 +/* 802A94C4 002A6424 4B F2 CD 39 */ bl "reserve__Q24rstl37vectorFi" +/* 802A94C8 002A6428 3B 80 00 00 */ li r28, 0 +/* 802A94CC 002A642C 48 00 00 5C */ b lbl_802A9528 +lbl_802A94D0: +/* 802A94D0 002A6430 7F E3 FB 78 */ mr r3, r31 +/* 802A94D4 002A6434 48 09 58 39 */ bl ReadChar__12CInputStreamFv +/* 802A94D8 002A6438 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A94DC 002A643C 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 802A94E0 002A6440 80 BE 00 28 */ lwz r5, 0x28(r30) +/* 802A94E4 002A6444 7C 00 28 00 */ cmpw r0, r5 +/* 802A94E8 002A6448 41 80 00 1C */ blt lbl_802A9504 +/* 802A94EC 002A644C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A94F0 002A6450 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802A94F4 002A6454 38 80 00 04 */ li r4, 4 +/* 802A94F8 002A6458 41 82 00 08 */ beq lbl_802A9500 +/* 802A94FC 002A645C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9500: +/* 802A9500 002A6460 4B F2 CC FD */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9504: +/* 802A9504 002A6464 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802A9508 002A6468 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A950C 002A646C 7C 63 02 15 */ add. r3, r3, r0 +/* 802A9510 002A6470 41 82 00 08 */ beq lbl_802A9518 +/* 802A9514 002A6474 9B A3 00 00 */ stb r29, 0(r3) +lbl_802A9518: +/* 802A9518 002A6478 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802A951C 002A647C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9520 002A6480 38 03 00 01 */ addi r0, r3, 1 +/* 802A9524 002A6484 90 1E 00 24 */ stw r0, 0x24(r30) +lbl_802A9528: +/* 802A9528 002A6488 7C 1C D8 00 */ cmpw r28, r27 +/* 802A952C 002A648C 41 80 FF A4 */ blt lbl_802A94D0 +/* 802A9530 002A6490 38 00 00 00 */ li r0, 0 +/* 802A9534 002A6494 7F E3 FB 78 */ mr r3, r31 +/* 802A9538 002A6498 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802A953C 002A649C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802A9540 002A64A0 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802A9544 002A64A4 48 09 57 41 */ bl ReadLong__12CInputStreamFv +/* 802A9548 002A64A8 7C 7B 1B 78 */ mr r27, r3 +/* 802A954C 002A64AC 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802A9550 002A64B0 7F 64 DB 78 */ mr r4, r27 +/* 802A9554 002A64B4 4B F2 CC A9 */ bl "reserve__Q24rstl37vectorFi" +/* 802A9558 002A64B8 3B 80 00 00 */ li r28, 0 +/* 802A955C 002A64BC 48 00 00 5C */ b lbl_802A95B8 +lbl_802A9560: +/* 802A9560 002A64C0 7F E3 FB 78 */ mr r3, r31 +/* 802A9564 002A64C4 48 09 57 A9 */ bl ReadChar__12CInputStreamFv +/* 802A9568 002A64C8 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A956C 002A64CC 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 802A9570 002A64D0 80 BE 00 38 */ lwz r5, 0x38(r30) +/* 802A9574 002A64D4 7C 00 28 00 */ cmpw r0, r5 +/* 802A9578 002A64D8 41 80 00 1C */ blt lbl_802A9594 +/* 802A957C 002A64DC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9580 002A64E0 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802A9584 002A64E4 38 80 00 04 */ li r4, 4 +/* 802A9588 002A64E8 41 82 00 08 */ beq lbl_802A9590 +/* 802A958C 002A64EC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9590: +/* 802A9590 002A64F0 4B F2 CC 6D */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9594: +/* 802A9594 002A64F4 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802A9598 002A64F8 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A959C 002A64FC 7C 63 02 15 */ add. r3, r3, r0 +/* 802A95A0 002A6500 41 82 00 08 */ beq lbl_802A95A8 +/* 802A95A4 002A6504 9B A3 00 00 */ stb r29, 0(r3) +lbl_802A95A8: +/* 802A95A8 002A6508 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802A95AC 002A650C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A95B0 002A6510 38 03 00 01 */ addi r0, r3, 1 +/* 802A95B4 002A6514 90 1E 00 34 */ stw r0, 0x34(r30) +lbl_802A95B8: +/* 802A95B8 002A6518 7C 1C D8 00 */ cmpw r28, r27 +/* 802A95BC 002A651C 41 80 FF A4 */ blt lbl_802A9560 +/* 802A95C0 002A6520 7F E4 FB 78 */ mr r4, r31 +/* 802A95C4 002A6524 38 7E 00 40 */ addi r3, r30, 0x40 +/* 802A95C8 002A6528 38 A1 00 08 */ addi r5, r1, 8 +/* 802A95CC 002A652C 48 00 01 59 */ bl "__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802A95D0 002A6530 38 00 00 00 */ li r0, 0 +/* 802A95D4 002A6534 7F E3 FB 78 */ mr r3, r31 +/* 802A95D8 002A6538 90 1E 00 54 */ stw r0, 0x54(r30) +/* 802A95DC 002A653C 90 1E 00 58 */ stw r0, 0x58(r30) +/* 802A95E0 002A6540 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802A95E4 002A6544 48 09 56 A1 */ bl ReadLong__12CInputStreamFv +/* 802A95E8 002A6548 7C 7B 1B 78 */ mr r27, r3 +/* 802A95EC 002A654C 38 7E 00 50 */ addi r3, r30, 0x50 +/* 802A95F0 002A6550 7F 64 DB 78 */ mr r4, r27 +/* 802A95F4 002A6554 4B DB AD 0D */ bl "reserve__Q24rstl37vectorFi" +/* 802A95F8 002A6558 3B 80 00 00 */ li r28, 0 +/* 802A95FC 002A655C 48 00 00 60 */ b lbl_802A965C +lbl_802A9600: +/* 802A9600 002A6560 7F E3 FB 78 */ mr r3, r31 +/* 802A9604 002A6564 48 09 56 AD */ bl ReadShort__12CInputStreamFv +/* 802A9608 002A6568 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A960C 002A656C 7C 7D 1B 78 */ mr r29, r3 +/* 802A9610 002A6570 80 BE 00 58 */ lwz r5, 0x58(r30) +/* 802A9614 002A6574 7C 00 28 00 */ cmpw r0, r5 +/* 802A9618 002A6578 41 80 00 1C */ blt lbl_802A9634 +/* 802A961C 002A657C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9620 002A6580 38 7E 00 50 */ addi r3, r30, 0x50 +/* 802A9624 002A6584 38 80 00 04 */ li r4, 4 +/* 802A9628 002A6588 41 82 00 08 */ beq lbl_802A9630 +/* 802A962C 002A658C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9630: +/* 802A9630 002A6590 4B DB AC D1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9634: +/* 802A9634 002A6594 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A9638 002A6598 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802A963C 002A659C 54 00 08 3C */ slwi r0, r0, 1 +/* 802A9640 002A65A0 7C 63 02 15 */ add. r3, r3, r0 +/* 802A9644 002A65A4 41 82 00 08 */ beq lbl_802A964C +/* 802A9648 002A65A8 B3 A3 00 00 */ sth r29, 0(r3) +lbl_802A964C: +/* 802A964C 002A65AC 80 7E 00 54 */ lwz r3, 0x54(r30) +/* 802A9650 002A65B0 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9654 002A65B4 38 03 00 01 */ addi r0, r3, 1 +/* 802A9658 002A65B8 90 1E 00 54 */ stw r0, 0x54(r30) +lbl_802A965C: +/* 802A965C 002A65BC 7C 1C D8 00 */ cmpw r28, r27 +/* 802A9660 002A65C0 41 80 FF A0 */ blt lbl_802A9600 +/* 802A9664 002A65C4 38 00 00 00 */ li r0, 0 +/* 802A9668 002A65C8 7F E3 FB 78 */ mr r3, r31 +/* 802A966C 002A65CC 90 1E 00 64 */ stw r0, 0x64(r30) +/* 802A9670 002A65D0 90 1E 00 68 */ stw r0, 0x68(r30) +/* 802A9674 002A65D4 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 802A9678 002A65D8 48 09 56 0D */ bl ReadLong__12CInputStreamFv +/* 802A967C 002A65DC 7C 7B 1B 78 */ mr r27, r3 +/* 802A9680 002A65E0 38 7E 00 60 */ addi r3, r30, 0x60 +/* 802A9684 002A65E4 7F 64 DB 78 */ mr r4, r27 +/* 802A9688 002A65E8 4B DB 46 71 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 802A968C 002A65EC 3B 80 00 00 */ li r28, 0 +/* 802A9690 002A65F0 48 00 00 74 */ b lbl_802A9704 +lbl_802A9694: +/* 802A9694 002A65F4 7F E4 FB 78 */ mr r4, r31 +/* 802A9698 002A65F8 38 61 00 0C */ addi r3, r1, 0xc +/* 802A969C 002A65FC 48 06 B4 F1 */ bl __ct__9CVector3fFR12CInputStream +/* 802A96A0 002A6600 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A96A4 002A6604 80 BE 00 68 */ lwz r5, 0x68(r30) +/* 802A96A8 002A6608 7C 00 28 00 */ cmpw r0, r5 +/* 802A96AC 002A660C 41 80 00 1C */ blt lbl_802A96C8 +/* 802A96B0 002A6610 2C 05 00 00 */ cmpwi r5, 0 +/* 802A96B4 002A6614 38 7E 00 60 */ addi r3, r30, 0x60 +/* 802A96B8 002A6618 38 80 00 04 */ li r4, 4 +/* 802A96BC 002A661C 41 82 00 08 */ beq lbl_802A96C4 +/* 802A96C0 002A6620 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A96C4: +/* 802A96C4 002A6624 4B DB 46 35 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_802A96C8: +/* 802A96C8 002A6628 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A96CC 002A662C 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802A96D0 002A6630 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A96D4 002A6634 7C 63 02 15 */ add. r3, r3, r0 +/* 802A96D8 002A6638 41 82 00 1C */ beq lbl_802A96F4 +/* 802A96DC 002A663C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A96E0 002A6640 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A96E4 002A6644 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A96E8 002A6648 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A96EC 002A664C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A96F0 002A6650 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802A96F4: +/* 802A96F4 002A6654 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 802A96F8 002A6658 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A96FC 002A665C 38 03 00 01 */ addi r0, r3, 1 +/* 802A9700 002A6660 90 1E 00 64 */ stw r0, 0x64(r30) +lbl_802A9704: +/* 802A9704 002A6664 7C 1C D8 00 */ cmpw r28, r27 +/* 802A9708 002A6668 41 80 FF 8C */ blt lbl_802A9694 +/* 802A970C 002A666C 7F C3 F3 78 */ mr r3, r30 +/* 802A9710 002A6670 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802A9714 002A6674 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A9718 002A6678 7C 08 03 A6 */ mtlr r0 +/* 802A971C 002A667C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A9720 002A6680 4E 80 00 20 */ blr + +.global "__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802A9724 002A6684 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A9728 002A6688 7C 08 02 A6 */ mflr r0 +/* 802A972C 002A668C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A9730 002A6690 38 00 00 00 */ li r0, 0 +/* 802A9734 002A6694 BF 41 00 08 */ stmw r26, 8(r1) +/* 802A9738 002A6698 7C 7A 1B 78 */ mr r26, r3 +/* 802A973C 002A669C 7C 9B 23 78 */ mr r27, r4 +/* 802A9740 002A66A0 90 03 00 04 */ stw r0, 4(r3) +/* 802A9744 002A66A4 7F 63 DB 78 */ mr r3, r27 +/* 802A9748 002A66A8 90 1A 00 08 */ stw r0, 8(r26) +/* 802A974C 002A66AC 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802A9750 002A66B0 48 09 55 35 */ bl ReadLong__12CInputStreamFv +/* 802A9754 002A66B4 7C 7D 1B 78 */ mr r29, r3 +/* 802A9758 002A66B8 7F 43 D3 78 */ mr r3, r26 +/* 802A975C 002A66BC 7F A4 EB 78 */ mr r4, r29 +/* 802A9760 002A66C0 48 00 00 99 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +/* 802A9764 002A66C4 3B 80 00 00 */ li r28, 0 +/* 802A9768 002A66C8 48 00 00 70 */ b lbl_802A97D8 +lbl_802A976C: +/* 802A976C 002A66CC 7F 63 DB 78 */ mr r3, r27 +/* 802A9770 002A66D0 48 09 55 41 */ bl ReadShort__12CInputStreamFv +/* 802A9774 002A66D4 7C 7E 1B 78 */ mr r30, r3 +/* 802A9778 002A66D8 7F 63 DB 78 */ mr r3, r27 +/* 802A977C 002A66DC 48 09 55 35 */ bl ReadShort__12CInputStreamFv +/* 802A9780 002A66E0 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A9784 002A66E4 7C 7F 1B 78 */ mr r31, r3 +/* 802A9788 002A66E8 80 BA 00 08 */ lwz r5, 8(r26) +/* 802A978C 002A66EC 7C 00 28 00 */ cmpw r0, r5 +/* 802A9790 002A66F0 41 80 00 1C */ blt lbl_802A97AC +/* 802A9794 002A66F4 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9798 002A66F8 7F 43 D3 78 */ mr r3, r26 +/* 802A979C 002A66FC 38 80 00 04 */ li r4, 4 +/* 802A97A0 002A6700 41 82 00 08 */ beq lbl_802A97A8 +/* 802A97A4 002A6704 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A97A8: +/* 802A97A8 002A6708 48 00 00 51 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +lbl_802A97AC: +/* 802A97AC 002A670C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A97B0 002A6710 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802A97B4 002A6714 54 00 10 3A */ slwi r0, r0, 2 +/* 802A97B8 002A6718 7C 63 02 15 */ add. r3, r3, r0 +/* 802A97BC 002A671C 41 82 00 0C */ beq lbl_802A97C8 +/* 802A97C0 002A6720 B3 C3 00 00 */ sth r30, 0(r3) +/* 802A97C4 002A6724 B3 E3 00 02 */ sth r31, 2(r3) +lbl_802A97C8: +/* 802A97C8 002A6728 80 7A 00 04 */ lwz r3, 4(r26) +/* 802A97CC 002A672C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A97D0 002A6730 38 03 00 01 */ addi r0, r3, 1 +/* 802A97D4 002A6734 90 1A 00 04 */ stw r0, 4(r26) +lbl_802A97D8: +/* 802A97D8 002A6738 7C 1C E8 00 */ cmpw r28, r29 +/* 802A97DC 002A673C 41 80 FF 90 */ blt lbl_802A976C +/* 802A97E0 002A6740 7F 43 D3 78 */ mr r3, r26 +/* 802A97E4 002A6744 BB 41 00 08 */ lmw r26, 8(r1) +/* 802A97E8 002A6748 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A97EC 002A674C 7C 08 03 A6 */ mtlr r0 +/* 802A97F0 002A6750 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A97F4 002A6754 4E 80 00 20 */ blr + +.global "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi": +/* 802A97F8 002A6758 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A97FC 002A675C 7C 08 02 A6 */ mflr r0 +/* 802A9800 002A6760 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A9804 002A6764 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A9808 002A6768 7C 9F 23 78 */ mr r31, r4 +/* 802A980C 002A676C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A9810 002A6770 7C 7E 1B 78 */ mr r30, r3 +/* 802A9814 002A6774 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A9818 002A6778 80 03 00 08 */ lwz r0, 8(r3) +/* 802A981C 002A677C 7C 1F 00 00 */ cmpw r31, r0 +/* 802A9820 002A6780 40 81 00 B0 */ ble lbl_802A98D0 +/* 802A9824 002A6784 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802A9828 002A6788 40 82 00 0C */ bne lbl_802A9834 +/* 802A982C 002A678C 3B A0 00 00 */ li r29, 0 +/* 802A9830 002A6790 48 00 00 18 */ b lbl_802A9848 +lbl_802A9834: +/* 802A9834 002A6794 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A9838 002A6798 38 A0 00 00 */ li r5, 0 +/* 802A983C 002A679C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A9840 002A67A0 48 06 BF D9 */ bl __nwa__FUlPCcPCc +/* 802A9844 002A67A4 7C 7D 1B 78 */ mr r29, r3 +lbl_802A9848: +/* 802A9848 002A67A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A984C 002A67AC 7F A4 EB 78 */ mr r4, r29 +/* 802A9850 002A67B0 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802A9854 002A67B4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A9858 002A67B8 7C 65 02 14 */ add r3, r5, r0 +/* 802A985C 002A67BC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802A9860 002A67C0 90 61 00 08 */ stw r3, 8(r1) +/* 802A9864 002A67C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A9868 002A67C8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A986C 002A67CC 48 00 00 24 */ b lbl_802A9890 +lbl_802A9870: +/* 802A9870 002A67D0 28 04 00 00 */ cmplwi r4, 0 +/* 802A9874 002A67D4 41 82 00 14 */ beq lbl_802A9888 +/* 802A9878 002A67D8 A0 05 00 00 */ lhz r0, 0(r5) +/* 802A987C 002A67DC B0 04 00 00 */ sth r0, 0(r4) +/* 802A9880 002A67E0 A0 05 00 02 */ lhz r0, 2(r5) +/* 802A9884 002A67E4 B0 04 00 02 */ sth r0, 2(r4) +lbl_802A9888: +/* 802A9888 002A67E8 38 84 00 04 */ addi r4, r4, 4 +/* 802A988C 002A67EC 38 A5 00 04 */ addi r5, r5, 4 +lbl_802A9890: +/* 802A9890 002A67F0 7C 05 18 40 */ cmplw r5, r3 +/* 802A9894 002A67F4 40 82 FF DC */ bne lbl_802A9870 +/* 802A9898 002A67F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A989C 002A67FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A98A0 002A6800 54 00 10 3A */ slwi r0, r0, 2 +/* 802A98A4 002A6804 7C 64 1B 78 */ mr r4, r3 +/* 802A98A8 002A6808 7C 03 02 14 */ add r0, r3, r0 +/* 802A98AC 002A680C 48 00 00 08 */ b lbl_802A98B4 +lbl_802A98B0: +/* 802A98B0 002A6810 38 84 00 04 */ addi r4, r4, 4 +lbl_802A98B4: +/* 802A98B4 002A6814 7C 04 00 40 */ cmplw r4, r0 +/* 802A98B8 002A6818 40 82 FF F8 */ bne lbl_802A98B0 +/* 802A98BC 002A681C 28 03 00 00 */ cmplwi r3, 0 +/* 802A98C0 002A6820 41 82 00 08 */ beq lbl_802A98C8 +/* 802A98C4 002A6824 48 06 C0 6D */ bl Free__7CMemoryFPCv +lbl_802A98C8: +/* 802A98C8 002A6828 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802A98CC 002A682C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802A98D0: +/* 802A98D0 002A6830 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A98D4 002A6834 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A98D8 002A6838 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A98DC 002A683C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A98E0 002A6840 7C 08 03 A6 */ mtlr r0 +/* 802A98E4 002A6844 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A98E8 002A6848 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CPVSVisOctree.s b/asm/WorldFormat/CPVSVisOctree.s new file mode 100644 index 00000000..8b7109e4 --- /dev/null +++ b/asm/WorldFormat/CPVSVisOctree.s @@ -0,0 +1,209 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetEntityIdByIndex__13CPVSVisOctreeFi +GetEntityIdByIndex__13CPVSVisOctreeFi: +/* 802AE3E4 002AB344 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802AE3E8 002AB348 54 80 10 3A */ slwi r0, r4, 2 +/* 802AE3EC 002AB34C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802AE3F0 002AB350 4E 80 00 20 */ blr + +.global GetLightSet__11CPVSAreaSetCFi +GetLightSet__11CPVSAreaSetCFi: +/* 802AE3F4 002AB354 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AE3F8 002AB358 7C 08 02 A6 */ mflr r0 +/* 802AE3FC 002AB35C 7C 89 23 78 */ mr r9, r4 +/* 802AE400 002AB360 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AE404 002AB364 38 00 00 00 */ li r0, 0 +/* 802AE408 002AB368 38 C1 00 08 */ addi r6, r1, 8 +/* 802AE40C 002AB36C 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AE410 002AB370 81 09 00 1C */ lwz r8, 0x1c(r9) +/* 802AE414 002AB374 7C E4 29 D6 */ mullw r7, r4, r5 +/* 802AE418 002AB378 98 01 00 08 */ stb r0, 8(r1) +/* 802AE41C 002AB37C 80 89 00 38 */ lwz r4, 0x38(r9) +/* 802AE420 002AB380 80 A9 00 3C */ lwz r5, 0x3c(r9) +/* 802AE424 002AB384 7D 08 3A 14 */ add r8, r8, r7 +/* 802AE428 002AB388 7C E8 00 D0 */ neg r7, r8 +/* 802AE42C 002AB38C 91 01 00 14 */ stw r8, 0x14(r1) +/* 802AE430 002AB390 7C E7 43 78 */ or r7, r7, r8 +/* 802AE434 002AB394 54 E7 0F FE */ srwi r7, r7, 0x1f +/* 802AE438 002AB398 91 01 00 0C */ stw r8, 0xc(r1) +/* 802AE43C 002AB39C 98 E1 00 10 */ stb r7, 0x10(r1) +/* 802AE440 002AB3A0 98 01 00 10 */ stb r0, 0x10(r1) +/* 802AE444 002AB3A4 98 01 00 10 */ stb r0, 0x10(r1) +/* 802AE448 002AB3A8 48 06 7F 55 */ bl SetFromMemory__10CPVSVisSetFiiPCc +/* 802AE44C 002AB3AC 88 01 00 08 */ lbz r0, 8(r1) +/* 802AE450 002AB3B0 28 00 00 00 */ cmplwi r0, 0 +/* 802AE454 002AB3B4 41 82 00 0C */ beq lbl_802AE460 +/* 802AE458 002AB3B8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802AE45C 002AB3BC 48 06 74 D5 */ bl Free__7CMemoryFPCv +lbl_802AE460: +/* 802AE460 002AB3C0 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802AE464 002AB3C4 28 00 00 00 */ cmplwi r0, 0 +/* 802AE468 002AB3C8 41 82 00 0C */ beq lbl_802AE474 +/* 802AE46C 002AB3CC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802AE470 002AB3D0 48 06 74 C1 */ bl Free__7CMemoryFPCv +lbl_802AE474: +/* 802AE474 002AB3D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AE478 002AB3D8 7C 08 03 A6 */ mtlr r0 +/* 802AE47C 002AB3DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AE480 002AB3E0 4E 80 00 20 */ blr + +.global GetVisOctree__13CPVSVisOctreeFv +GetVisOctree__13CPVSVisOctreeFv: +/* 802AE484 002AB3E4 38 63 00 20 */ addi r3, r3, 0x20 +/* 802AE488 002AB3E8 4E 80 00 20 */ blr + +.global __ct__11CPVSAreaSetFPCci +__ct__11CPVSAreaSetFPCci: +/* 802AE48C 002AB3EC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802AE490 002AB3F0 7C 08 02 A6 */ mflr r0 +/* 802AE494 002AB3F4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802AE498 002AB3F8 BE C1 00 38 */ stmw r22, 0x38(r1) +/* 802AE49C 002AB3FC 7C 7B 1B 78 */ mr r27, r3 +/* 802AE4A0 002AB400 7C 9C 23 78 */ mr r28, r4 +/* 802AE4A4 002AB404 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4A8 002AB408 48 09 0D 25 */ bl __ct__15CMemoryInStreamFPCvUl +/* 802AE4AC 002AB40C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4B0 002AB410 48 09 07 D5 */ bl ReadLong__12CInputStreamFv +/* 802AE4B4 002AB414 7C 60 1B 78 */ mr r0, r3 +/* 802AE4B8 002AB418 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4BC 002AB41C 7C 1F 03 78 */ mr r31, r0 +/* 802AE4C0 002AB420 48 09 07 C5 */ bl ReadLong__12CInputStreamFv +/* 802AE4C4 002AB424 7C 60 1B 78 */ mr r0, r3 +/* 802AE4C8 002AB428 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4CC 002AB42C 7C 1E 03 78 */ mr r30, r0 +/* 802AE4D0 002AB430 48 09 07 B5 */ bl ReadLong__12CInputStreamFv +/* 802AE4D4 002AB434 7C 60 1B 78 */ mr r0, r3 +/* 802AE4D8 002AB438 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4DC 002AB43C 7C 1D 03 78 */ mr r29, r0 +/* 802AE4E0 002AB440 48 09 07 A5 */ bl ReadLong__12CInputStreamFv +/* 802AE4E4 002AB444 7C 60 1B 78 */ mr r0, r3 +/* 802AE4E8 002AB448 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4EC 002AB44C 7C 1A 03 78 */ mr r26, r0 +/* 802AE4F0 002AB450 48 09 07 95 */ bl ReadLong__12CInputStreamFv +/* 802AE4F4 002AB454 7C 60 1B 78 */ mr r0, r3 +/* 802AE4F8 002AB458 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4FC 002AB45C 7C 19 03 78 */ mr r25, r0 +/* 802AE500 002AB460 48 09 07 85 */ bl ReadLong__12CInputStreamFv +/* 802AE504 002AB464 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802AE508 002AB468 7C 78 1B 78 */ mr r24, r3 +/* 802AE50C 002AB46C 3C 80 80 3D */ lis r4, lbl_803D6110@ha +/* 802AE510 002AB470 57 43 10 3A */ slwi r3, r26, 2 +/* 802AE514 002AB474 7F 9C 02 14 */ add r28, r28, r0 +/* 802AE518 002AB478 38 A0 00 00 */ li r5, 0 +/* 802AE51C 002AB47C 7C 18 C9 D6 */ mullw r0, r24, r25 +/* 802AE520 002AB480 38 84 61 10 */ addi r4, r4, lbl_803D6110@l +/* 802AE524 002AB484 7E FC 1A 14 */ add r23, r28, r3 +/* 802AE528 002AB488 38 60 00 64 */ li r3, 0x64 +/* 802AE52C 002AB48C 7E D7 02 14 */ add r22, r23, r0 +/* 802AE530 002AB490 48 06 73 3D */ bl __nw__FUlPCcPCc +/* 802AE534 002AB494 7C 66 1B 79 */ or. r6, r3, r3 +/* 802AE538 002AB498 41 82 00 30 */ beq lbl_802AE568 +/* 802AE53C 002AB49C 92 E1 00 08 */ stw r23, 8(r1) +/* 802AE540 002AB4A0 7F E4 FB 78 */ mr r4, r31 +/* 802AE544 002AB4A4 7F C5 F3 78 */ mr r5, r30 +/* 802AE548 002AB4A8 7F A6 EB 78 */ mr r6, r29 +/* 802AE54C 002AB4AC 92 C1 00 0C */ stw r22, 0xc(r1) +/* 802AE550 002AB4B0 7F 47 D3 78 */ mr r7, r26 +/* 802AE554 002AB4B4 7F 28 CB 78 */ mr r8, r25 +/* 802AE558 002AB4B8 7F 09 C3 78 */ mr r9, r24 +/* 802AE55C 002AB4BC 7F 8A E3 78 */ mr r10, r28 +/* 802AE560 002AB4C0 48 00 00 49 */ bl __ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii +/* 802AE564 002AB4C4 7C 66 1B 78 */ mr r6, r3 +lbl_802AE568: +/* 802AE568 002AB4C8 7C 06 00 D0 */ neg r0, r6 +/* 802AE56C 002AB4CC 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 802AE570 002AB4D0 7C 00 33 78 */ or r0, r0, r6 +/* 802AE574 002AB4D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE578 002AB4D8 54 05 0F FE */ srwi r5, r0, 0x1f +/* 802AE57C 002AB4DC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 802AE580 002AB4E0 98 BB 00 00 */ stb r5, 0(r27) +/* 802AE584 002AB4E4 38 80 00 00 */ li r4, 0 +/* 802AE588 002AB4E8 90 DB 00 04 */ stw r6, 4(r27) +/* 802AE58C 002AB4EC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802AE590 002AB4F0 48 09 0B 1D */ bl __dt__12CInputStreamFv +/* 802AE594 002AB4F4 BA C1 00 38 */ lmw r22, 0x38(r1) +/* 802AE598 002AB4F8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802AE59C 002AB4FC 7C 08 03 A6 */ mtlr r0 +/* 802AE5A0 002AB500 38 21 00 60 */ addi r1, r1, 0x60 +/* 802AE5A4 002AB504 4E 80 00 20 */ blr + +.global __ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii +__ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii: +/* 802AE5A8 002AB508 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802AE5AC 002AB50C 7C 08 02 A6 */ mflr r0 +/* 802AE5B0 002AB510 90 01 00 64 */ stw r0, 0x64(r1) +/* 802AE5B4 002AB514 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802AE5B8 002AB518 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802AE5BC 002AB51C 7C 7F 1B 78 */ mr r31, r3 +/* 802AE5C0 002AB520 90 83 00 00 */ stw r4, 0(r3) +/* 802AE5C4 002AB524 38 61 00 08 */ addi r3, r1, 8 +/* 802AE5C8 002AB528 80 81 00 6C */ lwz r4, 0x6c(r1) +/* 802AE5CC 002AB52C 90 BF 00 04 */ stw r5, 4(r31) +/* 802AE5D0 002AB530 38 A0 00 44 */ li r5, 0x44 +/* 802AE5D4 002AB534 90 DF 00 08 */ stw r6, 8(r31) +/* 802AE5D8 002AB538 90 FF 00 0C */ stw r7, 0xc(r31) +/* 802AE5DC 002AB53C 91 1F 00 10 */ stw r8, 0x10(r31) +/* 802AE5E0 002AB540 91 3F 00 14 */ stw r9, 0x14(r31) +/* 802AE5E4 002AB544 91 5F 00 18 */ stw r10, 0x18(r31) +/* 802AE5E8 002AB548 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802AE5EC 002AB54C 48 06 7B B9 */ bl MakePVSVisOctree__13CPVSVisOctreeFPCci +/* 802AE5F0 002AB550 38 7F 00 20 */ addi r3, r31, 0x20 +/* 802AE5F4 002AB554 38 81 00 08 */ addi r4, r1, 8 +/* 802AE5F8 002AB558 48 00 00 39 */ bl sub_802ae630 +/* 802AE5FC 002AB55C 34 61 00 28 */ addic. r3, r1, 0x28 +/* 802AE600 002AB560 41 82 00 18 */ beq lbl_802AE618 +/* 802AE604 002AB564 88 03 00 00 */ lbz r0, 0(r3) +/* 802AE608 002AB568 28 00 00 00 */ cmplwi r0, 0 +/* 802AE60C 002AB56C 41 82 00 0C */ beq lbl_802AE618 +/* 802AE610 002AB570 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802AE614 002AB574 48 06 73 1D */ bl Free__7CMemoryFPCv +lbl_802AE618: +/* 802AE618 002AB578 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802AE61C 002AB57C 7F E3 FB 78 */ mr r3, r31 +/* 802AE620 002AB580 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802AE624 002AB584 7C 08 03 A6 */ mtlr r0 +/* 802AE628 002AB588 38 21 00 60 */ addi r1, r1, 0x60 +/* 802AE62C 002AB58C 4E 80 00 20 */ blr + +.global sub_802ae630 +sub_802ae630: +/* 802AE630 002AB590 C0 04 00 00 */ lfs f0, 0(r4) +/* 802AE634 002AB594 38 00 00 00 */ li r0, 0 +/* 802AE638 002AB598 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AE63C 002AB59C C0 04 00 04 */ lfs f0, 4(r4) +/* 802AE640 002AB5A0 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AE644 002AB5A4 C0 04 00 08 */ lfs f0, 8(r4) +/* 802AE648 002AB5A8 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AE64C 002AB5AC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802AE650 002AB5B0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AE654 002AB5B4 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802AE658 002AB5B8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AE65C 002AB5BC C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802AE660 002AB5C0 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802AE664 002AB5C4 80 A4 00 18 */ lwz r5, 0x18(r4) +/* 802AE668 002AB5C8 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802AE66C 002AB5CC 80 A4 00 1C */ lwz r5, 0x1c(r4) +/* 802AE670 002AB5D0 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 802AE674 002AB5D4 88 A4 00 20 */ lbz r5, 0x20(r4) +/* 802AE678 002AB5D8 98 A3 00 20 */ stb r5, 0x20(r3) +/* 802AE67C 002AB5DC 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 802AE680 002AB5E0 90 A3 00 24 */ stw r5, 0x24(r3) +/* 802AE684 002AB5E4 98 04 00 20 */ stb r0, 0x20(r4) +/* 802AE688 002AB5E8 80 04 00 28 */ lwz r0, 0x28(r4) +/* 802AE68C 002AB5EC 90 03 00 28 */ stw r0, 0x28(r3) +/* 802AE690 002AB5F0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802AE694 002AB5F4 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802AE698 002AB5F8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802AE69C 002AB5FC D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802AE6A0 002AB600 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802AE6A4 002AB604 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802AE6A8 002AB608 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802AE6AC 002AB60C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802AE6B0 002AB610 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 802AE6B4 002AB614 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 802AE6B8 002AB618 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802AE6BC 002AB61C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 802AE6C0 002AB620 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CWorldLight.s b/asm/WorldFormat/CWorldLight.s new file mode 100644 index 00000000..77398741 --- /dev/null +++ b/asm/WorldFormat/CWorldLight.s @@ -0,0 +1,257 @@ +.include "macros.inc" + +.section .text, "ax" + +.global GetAsCGraphicsLight__11CWorldLightCFv +GetAsCGraphicsLight__11CWorldLightCFv: +/* 802A75FC 002A455C 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802A7600 002A4560 7C 08 02 A6 */ mflr r0 +/* 802A7604 002A4564 90 01 01 04 */ stw r0, 0x104(r1) +/* 802A7608 002A4568 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 802A760C 002A456C F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 802A7610 002A4570 93 E1 00 EC */ stw r31, 0xec(r1) +/* 802A7614 002A4574 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 802A7618 002A4578 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 802A761C 002A457C 93 81 00 E0 */ stw r28, 0xe0(r1) +/* 802A7620 002A4580 C0 24 00 04 */ lfs f1, 4(r4) +/* 802A7624 002A4584 7C 7C 1B 78 */ mr r28, r3 +/* 802A7628 002A4588 C0 44 00 08 */ lfs f2, 8(r4) +/* 802A762C 002A458C 7C 9D 23 78 */ mr r29, r4 +/* 802A7630 002A4590 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802A7634 002A4594 3B E1 00 2C */ addi r31, r1, 0x2c +/* 802A7638 002A4598 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802A763C 002A459C 3B C1 00 30 */ addi r30, r1, 0x30 +/* 802A7640 002A45A0 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) +/* 802A7644 002A45A4 38 61 00 0C */ addi r3, r1, 0xc +/* 802A7648 002A45A8 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A764C 002A45AC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802A7650 002A45B0 48 0B BD 9D */ bl __ct__6CColorFffff +/* 802A7654 002A45B4 C0 3D 00 28 */ lfs f1, 0x28(r29) +/* 802A7658 002A45B8 C0 02 C1 88 */ lfs f0, lbl_805ADEA8@sda21(r2) +/* 802A765C 002A45BC FF E0 08 90 */ fmr f31, f1 +/* 802A7660 002A45C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A7664 002A45C4 40 80 00 08 */ bge lbl_802A766C +/* 802A7668 002A45C8 C3 E2 C1 84 */ lfs f31, lbl_805ADEA4@sda21(r2) +lbl_802A766C: +/* 802A766C 002A45CC 80 1D 00 00 */ lwz r0, 0(r29) +/* 802A7670 002A45D0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7674 002A45D4 40 82 00 B8 */ bne lbl_802A772C +/* 802A7678 002A45D8 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802A767C 002A45DC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802A7680 002A45E0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802A7684 002A45E4 EC 62 07 F2 */ fmuls f3, f2, f31 +/* 802A7688 002A45E8 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 802A768C 002A45EC C0 0D 9A 50 */ lfs f0, lbl_805A8610@sda21(r13) +/* 802A7690 002A45F0 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 802A7694 002A45F4 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A7698 002A45F8 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802A769C 002A45FC D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A76A0 002A4600 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802A76A4 002A4604 40 80 00 0C */ bge lbl_802A76B0 +/* 802A76A8 002A4608 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A76AC 002A460C 48 00 00 08 */ b lbl_802A76B4 +lbl_802A76B0: +/* 802A76B0 002A4610 38 6D 9A 50 */ addi r3, r13, lbl_805A8610@sda21 +lbl_802A76B4: +/* 802A76B4 002A4614 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802A76B8 002A4618 C0 0D 9A 54 */ lfs f0, lbl_805A8614@sda21(r13) +/* 802A76BC 002A461C C0 43 00 00 */ lfs f2, 0(r3) +/* 802A76C0 002A4620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A76C4 002A4624 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802A76C8 002A4628 40 80 00 0C */ bge lbl_802A76D4 +/* 802A76CC 002A462C 7F E3 FB 78 */ mr r3, r31 +/* 802A76D0 002A4630 48 00 00 08 */ b lbl_802A76D8 +lbl_802A76D4: +/* 802A76D4 002A4634 38 6D 9A 54 */ addi r3, r13, lbl_805A8614@sda21 +lbl_802A76D8: +/* 802A76D8 002A4638 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802A76DC 002A463C C0 0D 9A 58 */ lfs f0, lbl_805A8618@sda21(r13) +/* 802A76E0 002A4640 C0 43 00 00 */ lfs f2, 0(r3) +/* 802A76E4 002A4644 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A76E8 002A4648 D0 5F 00 00 */ stfs f2, 0(r31) +/* 802A76EC 002A464C 40 80 00 0C */ bge lbl_802A76F8 +/* 802A76F0 002A4650 7F C3 F3 78 */ mr r3, r30 +/* 802A76F4 002A4654 48 00 00 08 */ b lbl_802A76FC +lbl_802A76F8: +/* 802A76F8 002A4658 38 6D 9A 58 */ addi r3, r13, lbl_805A8618@sda21 +lbl_802A76FC: +/* 802A76FC 002A465C C0 63 00 00 */ lfs f3, 0(r3) +/* 802A7700 002A4660 38 61 00 08 */ addi r3, r1, 8 +/* 802A7704 002A4664 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802A7708 002A4668 D0 7E 00 00 */ stfs f3, 0(r30) +/* 802A770C 002A466C C0 5F 00 00 */ lfs f2, 0(r31) +/* 802A7710 002A4670 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) +/* 802A7714 002A4674 48 0B BC D9 */ bl __ct__6CColorFffff +/* 802A7718 002A4678 7F 83 E3 78 */ mr r3, r28 +/* 802A771C 002A467C 38 9D 00 10 */ addi r4, r29, 0x10 +/* 802A7720 002A4680 38 A1 00 08 */ addi r5, r1, 8 +/* 802A7724 002A4684 48 05 ED 81 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +/* 802A7728 002A4688 48 00 01 3C */ b lbl_802A7864 +lbl_802A772C: +/* 802A772C 002A468C 2C 00 00 01 */ cmpwi r0, 1 +/* 802A7730 002A4690 40 82 00 18 */ bne lbl_802A7748 +/* 802A7734 002A4694 7F 83 E3 78 */ mr r3, r28 +/* 802A7738 002A4698 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802A773C 002A469C 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A7740 002A46A0 48 05 ED 2D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 802A7744 002A46A4 48 00 01 20 */ b lbl_802A7864 +lbl_802A7748: +/* 802A7748 002A46A8 2C 00 00 03 */ cmpwi r0, 3 +/* 802A774C 002A46AC 40 82 00 A0 */ bne lbl_802A77EC +/* 802A7750 002A46B0 38 61 00 1C */ addi r3, r1, 0x1c +/* 802A7754 002A46B4 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802A7758 002A46B8 48 06 D0 F9 */ bl AsNormalized__9CVector3fCFv +/* 802A775C 002A46BC C0 3D 00 2C */ lfs f1, 0x2c(r29) +/* 802A7760 002A46C0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A7764 002A46C4 C0 02 C1 8C */ lfs f0, lbl_805ADEAC@sda21(r2) +/* 802A7768 002A46C8 38 9D 00 10 */ addi r4, r29, 0x10 +/* 802A776C 002A46CC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802A7770 002A46D0 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A7774 002A46D4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 802A7778 002A46D8 48 05 EC 85 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +/* 802A777C 002A46DC 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A7780 002A46E0 38 81 00 34 */ addi r4, r1, 0x34 +/* 802A7784 002A46E4 4B D9 3D ED */ bl __ct__6CLightFCR6CLight +/* 802A7788 002A46E8 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 802A778C 002A46EC 2C 00 00 02 */ cmpwi r0, 2 +/* 802A7790 002A46F0 40 82 00 10 */ bne lbl_802A77A0 +/* 802A7794 002A46F4 C0 02 C1 90 */ lfs f0, lbl_805ADEB0@sda21(r2) +/* 802A7798 002A46F8 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 802A779C 002A46FC 48 00 00 08 */ b lbl_802A77A4 +lbl_802A77A0: +/* 802A77A0 002A4700 C0 62 C1 94 */ lfs f3, lbl_805ADEB4@sda21(r2) +lbl_802A77A4: +/* 802A77A4 002A4704 2C 00 00 01 */ cmpwi r0, 1 +/* 802A77A8 002A4708 40 82 00 10 */ bne lbl_802A77B8 +/* 802A77AC 002A470C C0 02 C1 98 */ lfs f0, lbl_805ADEB8@sda21(r2) +/* 802A77B0 002A4710 EC 40 F8 24 */ fdivs f2, f0, f31 +/* 802A77B4 002A4714 48 00 00 08 */ b lbl_802A77BC +lbl_802A77B8: +/* 802A77B8 002A4718 C0 42 C1 94 */ lfs f2, lbl_805ADEB4@sda21(r2) +lbl_802A77BC: +/* 802A77BC 002A471C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A77C0 002A4720 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A77C4 002A4724 40 82 00 10 */ bne lbl_802A77D4 +/* 802A77C8 002A4728 C0 02 C1 9C */ lfs f0, lbl_805ADEBC@sda21(r2) +/* 802A77CC 002A472C EC 20 F8 24 */ fdivs f1, f0, f31 +/* 802A77D0 002A4730 48 00 00 08 */ b lbl_802A77D8 +lbl_802A77D4: +/* 802A77D4 002A4734 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) +lbl_802A77D8: +/* 802A77D8 002A4738 48 05 EB D9 */ bl SetAttenuation__6CLightFfff +/* 802A77DC 002A473C 7F 83 E3 78 */ mr r3, r28 +/* 802A77E0 002A4740 38 81 00 84 */ addi r4, r1, 0x84 +/* 802A77E4 002A4744 4B D9 3D 8D */ bl __ct__6CLightFCR6CLight +/* 802A77E8 002A4748 48 00 00 7C */ b lbl_802A7864 +lbl_802A77EC: +/* 802A77EC 002A474C 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 802A77F0 002A4750 2C 00 00 02 */ cmpwi r0, 2 +/* 802A77F4 002A4754 40 82 00 10 */ bne lbl_802A7804 +/* 802A77F8 002A4758 C0 02 C1 90 */ lfs f0, lbl_805ADEB0@sda21(r2) +/* 802A77FC 002A475C EC 60 F8 24 */ fdivs f3, f0, f31 +/* 802A7800 002A4760 48 00 00 08 */ b lbl_802A7808 +lbl_802A7804: +/* 802A7804 002A4764 C0 62 C1 94 */ lfs f3, lbl_805ADEB4@sda21(r2) +lbl_802A7808: +/* 802A7808 002A4768 2C 00 00 01 */ cmpwi r0, 1 +/* 802A780C 002A476C 40 82 00 10 */ bne lbl_802A781C +/* 802A7810 002A4770 C0 02 C1 98 */ lfs f0, lbl_805ADEB8@sda21(r2) +/* 802A7814 002A4774 EC 40 F8 24 */ fdivs f2, f0, f31 +/* 802A7818 002A4778 48 00 00 08 */ b lbl_802A7820 +lbl_802A781C: +/* 802A781C 002A477C C0 42 C1 94 */ lfs f2, lbl_805ADEB4@sda21(r2) +lbl_802A7820: +/* 802A7820 002A4780 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7824 002A4784 40 82 00 10 */ bne lbl_802A7834 +/* 802A7828 002A4788 C0 02 C1 9C */ lfs f0, lbl_805ADEBC@sda21(r2) +/* 802A782C 002A478C EC 20 F8 24 */ fdivs f1, f0, f31 +/* 802A7830 002A4790 48 00 00 08 */ b lbl_802A7838 +lbl_802A7834: +/* 802A7834 002A4794 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) +lbl_802A7838: +/* 802A7838 002A4798 C0 A2 C1 94 */ lfs f5, lbl_805ADEB4@sda21(r2) +/* 802A783C 002A479C 7F 83 E3 78 */ mr r3, r28 +/* 802A7840 002A47A0 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) +/* 802A7844 002A47A4 38 9D 00 10 */ addi r4, r29, 0x10 +/* 802A7848 002A47A8 FC C0 28 90 */ fmr f6, f5 +/* 802A784C 002A47AC D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 802A7850 002A47B0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A7854 002A47B4 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A7858 002A47B8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802A785C 002A47BC D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802A7860 002A47C0 48 05 EB 7D */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +lbl_802A7864: +/* 802A7864 002A47C4 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802A7868 002A47C8 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A786C 002A47CC CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802A7870 002A47D0 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 802A7874 002A47D4 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 802A7878 002A47D8 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 802A787C 002A47DC 83 81 00 E0 */ lwz r28, 0xe0(r1) +/* 802A7880 002A47E0 7C 08 03 A6 */ mtlr r0 +/* 802A7884 002A47E4 38 21 01 00 */ addi r1, r1, 0x100 +/* 802A7888 002A47E8 4E 80 00 20 */ blr + +.global __ct__11CWorldLightFR12CInputStream +__ct__11CWorldLightFR12CInputStream: +/* 802A788C 002A47EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7890 002A47F0 7C 08 02 A6 */ mflr r0 +/* 802A7894 002A47F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7898 002A47F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A789C 002A47FC 7C 9F 23 78 */ mr r31, r4 +/* 802A78A0 002A4800 93 C1 00 08 */ stw r30, 8(r1) +/* 802A78A4 002A4804 7C 7E 1B 78 */ mr r30, r3 +/* 802A78A8 002A4808 7F E3 FB 78 */ mr r3, r31 +/* 802A78AC 002A480C 48 09 73 D9 */ bl ReadLong__12CInputStreamFv +/* 802A78B0 002A4810 90 7E 00 00 */ stw r3, 0(r30) +/* 802A78B4 002A4814 7F E4 FB 78 */ mr r4, r31 +/* 802A78B8 002A4818 38 7E 00 04 */ addi r3, r30, 4 +/* 802A78BC 002A481C 48 06 D2 D1 */ bl __ct__9CVector3fFR12CInputStream +/* 802A78C0 002A4820 7F E4 FB 78 */ mr r4, r31 +/* 802A78C4 002A4824 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A78C8 002A4828 48 06 D2 C5 */ bl __ct__9CVector3fFR12CInputStream +/* 802A78CC 002A482C 7F E4 FB 78 */ mr r4, r31 +/* 802A78D0 002A4830 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802A78D4 002A4834 48 06 D2 B9 */ bl __ct__9CVector3fFR12CInputStream +/* 802A78D8 002A4838 7F E3 FB 78 */ mr r3, r31 +/* 802A78DC 002A483C 48 09 73 4D */ bl ReadFloat__12CInputStreamFv +/* 802A78E0 002A4840 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 802A78E4 002A4844 7F E3 FB 78 */ mr r3, r31 +/* 802A78E8 002A4848 48 09 73 41 */ bl ReadFloat__12CInputStreamFv +/* 802A78EC 002A484C D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 802A78F0 002A4850 7F E3 FB 78 */ mr r3, r31 +/* 802A78F4 002A4854 48 09 73 35 */ bl ReadFloat__12CInputStreamFv +/* 802A78F8 002A4858 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 802A78FC 002A485C 7F E3 FB 78 */ mr r3, r31 +/* 802A7900 002A4860 48 09 73 DD */ bl ReadBool__12CInputStreamFv +/* 802A7904 002A4864 98 7E 00 34 */ stb r3, 0x34(r30) +/* 802A7908 002A4868 7F E3 FB 78 */ mr r3, r31 +/* 802A790C 002A486C 48 09 73 1D */ bl ReadFloat__12CInputStreamFv +/* 802A7910 002A4870 D0 3E 00 38 */ stfs f1, 0x38(r30) +/* 802A7914 002A4874 7F E3 FB 78 */ mr r3, r31 +/* 802A7918 002A4878 48 09 73 6D */ bl ReadLong__12CInputStreamFv +/* 802A791C 002A487C 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 802A7920 002A4880 7F E3 FB 78 */ mr r3, r31 +/* 802A7924 002A4884 48 09 73 05 */ bl ReadFloat__12CInputStreamFv +/* 802A7928 002A4888 D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 802A792C 002A488C 7F C3 F3 78 */ mr r3, r30 +/* 802A7930 002A4890 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7934 002A4894 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7938 002A4898 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A793C 002A489C 7C 08 03 A6 */ mtlr r0 +/* 802A7940 002A48A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7944 002A48A4 4E 80 00 20 */ blr + +.global __sinit_CWorldLight_cpp +__sinit_CWorldLight_cpp: +/* 802A7948 002A48A8 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) +/* 802A794C 002A48AC 3C 80 80 5A */ lis r4, lbl_8059FBAC@ha +/* 802A7950 002A48B0 3C 60 80 5A */ lis r3, lbl_8059FBC4@ha +/* 802A7954 002A48B4 C0 02 C1 80 */ lfs f0, lbl_805ADEA0@sda21(r2) +/* 802A7958 002A48B8 D4 24 FB AC */ stfsu f1, lbl_8059FBAC@l(r4) +/* 802A795C 002A48BC D4 23 FB C4 */ stfsu f1, lbl_8059FBC4@l(r3) +/* 802A7960 002A48C0 D0 24 00 04 */ stfs f1, 4(r4) +/* 802A7964 002A48C4 D0 24 00 08 */ stfs f1, 8(r4) +/* 802A7968 002A48C8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A796C 002A48CC D0 23 00 08 */ stfs f1, 8(r3) +/* 802A7970 002A48D0 4E 80 00 20 */ blr diff --git a/asm/text.s b/asm/text.s new file mode 100644 index 00000000..42eda321 --- /dev/null +++ b/asm/text.s @@ -0,0 +1,168983 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +"_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime": +/* 802D9DB4 002D6D14 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 802D9DB8 002D6D18 7C 08 02 A6 */ mflr r0 +/* 802D9DBC 002D6D1C 90 01 01 24 */ stw r0, 0x124(r1) +/* 802D9DC0 002D6D20 BE 21 00 E4 */ stmw r17, 0xe4(r1) +/* 802D9DC4 002D6D24 7C 99 23 78 */ mr r25, r4 +/* 802D9DC8 002D6D28 7C BA 2B 78 */ mr r26, r5 +/* 802D9DCC 002D6D2C 7C 65 1B 78 */ mr r5, r3 +/* 802D9DD0 002D6D30 7D 1C 43 78 */ mr r28, r8 +/* 802D9DD4 002D6D34 7C DB 33 78 */ mr r27, r6 +/* 802D9DD8 002D6D38 7D 24 4B 78 */ mr r4, r9 +/* 802D9DDC 002D6D3C 38 61 00 08 */ addi r3, r1, 8 +/* 802D9DE0 002D6D40 3B E0 00 00 */ li r31, 0 +/* 802D9DE4 002D6D44 C0 09 00 00 */ lfs f0, 0(r9) +/* 802D9DE8 002D6D48 80 09 00 04 */ lwz r0, 4(r9) +/* 802D9DEC 002D6D4C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802D9DF0 002D6D50 83 C8 00 04 */ lwz r30, 4(r8) +/* 802D9DF4 002D6D54 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802D9DF8 002D6D58 48 06 E7 AD */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802D9DFC 002D6D5C C0 01 00 08 */ lfs f0, 8(r1) +/* 802D9E00 002D6D60 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802D9E04 002D6D64 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D9E08 002D6D68 1F 1B 00 3C */ mulli r24, r27, 0x3c +/* 802D9E0C 002D6D6C 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802D9E10 002D6D70 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D9E14 002D6D74 3A 21 00 A0 */ addi r17, r1, 0xa0 +/* 802D9E18 002D6D78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9E1C 002D6D7C 7F 7D DB 78 */ mr r29, r27 +/* 802D9E20 002D6D80 3A 81 00 B4 */ addi r20, r1, 0xb4 +/* 802D9E24 002D6D84 3A 61 00 28 */ addi r19, r1, 0x28 +/* 802D9E28 002D6D88 3A 41 00 64 */ addi r18, r1, 0x64 +/* 802D9E2C 002D6D8C 3A C4 9B 8C */ addi r22, r4, lbl_803D9B8C@l +/* 802D9E30 002D6D90 3A E3 9B 68 */ addi r23, r3, lbl_803D9B68@l +/* 802D9E34 002D6D94 48 00 02 24 */ b lbl_802DA058 +lbl_802D9E38: +/* 802D9E38 002D6D98 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 802D9E3C 002D6D9C 7E 23 8B 78 */ mr r3, r17 +/* 802D9E40 002D6DA0 92 C1 00 98 */ stw r22, 0x98(r1) +/* 802D9E44 002D6DA4 7E A0 C2 14 */ add r21, r0, r24 +/* 802D9E48 002D6DA8 A0 15 00 04 */ lhz r0, 4(r21) +/* 802D9E4C 002D6DAC 38 95 00 08 */ addi r4, r21, 8 +/* 802D9E50 002D6DB0 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 802D9E54 002D6DB4 48 06 43 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9E58 002D6DB8 A0 15 00 18 */ lhz r0, 0x18(r21) +/* 802D9E5C 002D6DBC 7E 83 A3 78 */ mr r3, r20 +/* 802D9E60 002D6DC0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D9E64 002D6DC4 B0 01 00 B0 */ sth r0, 0xb0(r1) +/* 802D9E68 002D6DC8 C0 15 00 1C */ lfs f0, 0x1c(r21) +/* 802D9E6C 002D6DCC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 802D9E70 002D6DD0 80 15 00 20 */ lwz r0, 0x20(r21) +/* 802D9E74 002D6DD4 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802D9E78 002D6DD8 80 15 00 24 */ lwz r0, 0x24(r21) +/* 802D9E7C 002D6DDC 90 01 00 BC */ stw r0, 0xbc(r1) +/* 802D9E80 002D6DE0 88 15 00 28 */ lbz r0, 0x28(r21) +/* 802D9E84 002D6DE4 98 01 00 C0 */ stb r0, 0xc0(r1) +/* 802D9E88 002D6DE8 C0 15 00 2C */ lfs f0, 0x2c(r21) +/* 802D9E8C 002D6DEC D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802D9E90 002D6DF0 80 15 00 30 */ lwz r0, 0x30(r21) +/* 802D9E94 002D6DF4 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802D9E98 002D6DF8 80 15 00 34 */ lwz r0, 0x34(r21) +/* 802D9E9C 002D6DFC 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802D9EA0 002D6E00 92 E1 00 98 */ stw r23, 0x98(r1) +/* 802D9EA4 002D6E04 88 15 00 38 */ lbz r0, 0x38(r21) +/* 802D9EA8 002D6E08 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 802D9EAC 002D6E0C 48 06 EB C1 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802D9EB0 002D6E10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D9EB4 002D6E14 41 82 00 30 */ beq lbl_802D9EE4 +/* 802D9EB8 002D6E18 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 802D9EBC 002D6E1C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D9EC0 002D6E20 38 04 9B 68 */ addi r0, r4, lbl_803D9B68@l +/* 802D9EC4 002D6E24 28 11 00 00 */ cmplwi r17, 0 +/* 802D9EC8 002D6E28 90 01 00 98 */ stw r0, 0x98(r1) +/* 802D9ECC 002D6E2C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802D9ED0 002D6E30 90 01 00 98 */ stw r0, 0x98(r1) +/* 802D9ED4 002D6E34 41 82 01 8C */ beq lbl_802DA060 +/* 802D9ED8 002D6E38 7E 23 8B 78 */ mr r3, r17 +/* 802D9EDC 002D6E3C 48 06 3C 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802D9EE0 002D6E40 48 00 01 80 */ b lbl_802DA060 +lbl_802D9EE4: +/* 802D9EE4 002D6E44 7E 83 A3 78 */ mr r3, r20 +/* 802D9EE8 002D6E48 38 81 00 18 */ addi r4, r1, 0x18 +/* 802D9EEC 002D6E4C 48 06 E5 51 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802D9EF0 002D6E50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D9EF4 002D6E54 41 82 01 44 */ beq lbl_802DA038 +/* 802D9EF8 002D6E58 7E BB FA 14 */ add r21, r27, r31 +/* 802D9EFC 002D6E5C 7C 15 D0 40 */ cmplw r21, r26 +/* 802D9F00 002D6E60 40 80 01 38 */ bge lbl_802DA038 +/* 802D9F04 002D6E64 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D9F08 002D6E68 38 81 00 98 */ addi r4, r1, 0x98 +/* 802D9F0C 002D6E6C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802D9F10 002D6E70 48 01 DB A5 */ bl CopyNodeMinusStartTime__12CBoolPOINodeFRC12CBoolPOINodeRC13CCharAnimTime +/* 802D9F14 002D6E74 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802D9F18 002D6E78 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D9F1C 002D6E7C 38 83 9B 8C */ addi r4, r3, lbl_803D9B8C@l +/* 802D9F20 002D6E80 7E 43 93 78 */ mr r3, r18 +/* 802D9F24 002D6E84 90 81 00 5C */ stw r4, 0x5c(r1) +/* 802D9F28 002D6E88 7E 64 9B 78 */ mr r4, r19 +/* 802D9F2C 002D6E8C B0 01 00 60 */ sth r0, 0x60(r1) +/* 802D9F30 002D6E90 48 06 42 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9F34 002D6E94 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802D9F38 002D6E98 A1 41 00 38 */ lhz r10, 0x38(r1) +/* 802D9F3C 002D6E9C 38 83 9B 68 */ addi r4, r3, lbl_803D9B68@l +/* 802D9F40 002D6EA0 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802D9F44 002D6EA4 81 21 00 40 */ lwz r9, 0x40(r1) +/* 802D9F48 002D6EA8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D9F4C 002D6EAC 81 01 00 44 */ lwz r8, 0x44(r1) +/* 802D9F50 002D6EB0 28 13 00 00 */ cmplwi r19, 0 +/* 802D9F54 002D6EB4 88 E1 00 48 */ lbz r7, 0x48(r1) +/* 802D9F58 002D6EB8 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802D9F5C 002D6EBC 90 81 00 20 */ stw r4, 0x20(r1) +/* 802D9F60 002D6EC0 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802D9F64 002D6EC4 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802D9F68 002D6EC8 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802D9F6C 002D6ECC 88 61 00 58 */ lbz r3, 0x58(r1) +/* 802D9F70 002D6ED0 B1 41 00 74 */ sth r10, 0x74(r1) +/* 802D9F74 002D6ED4 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802D9F78 002D6ED8 91 21 00 7C */ stw r9, 0x7c(r1) +/* 802D9F7C 002D6EDC 91 01 00 80 */ stw r8, 0x80(r1) +/* 802D9F80 002D6EE0 98 E1 00 84 */ stb r7, 0x84(r1) +/* 802D9F84 002D6EE4 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802D9F88 002D6EE8 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 802D9F8C 002D6EEC 90 A1 00 90 */ stw r5, 0x90(r1) +/* 802D9F90 002D6EF0 90 81 00 5C */ stw r4, 0x5c(r1) +/* 802D9F94 002D6EF4 98 61 00 94 */ stb r3, 0x94(r1) +/* 802D9F98 002D6EF8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D9F9C 002D6EFC 41 82 00 0C */ beq lbl_802D9FA8 +/* 802D9FA0 002D6F00 7E 63 9B 78 */ mr r3, r19 +/* 802D9FA4 002D6F04 48 06 3B 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D9FA8: +/* 802D9FA8 002D6F08 1C 15 00 3C */ mulli r0, r21, 0x3c +/* 802D9FAC 002D6F0C A0 61 00 60 */ lhz r3, 0x60(r1) +/* 802D9FB0 002D6F10 7E 44 93 78 */ mr r4, r18 +/* 802D9FB4 002D6F14 7E B9 02 14 */ add r21, r25, r0 +/* 802D9FB8 002D6F18 B0 75 00 04 */ sth r3, 4(r21) +/* 802D9FBC 002D6F1C 38 75 00 08 */ addi r3, r21, 8 +/* 802D9FC0 002D6F20 48 06 3D 9D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9FC4 002D6F24 A0 01 00 74 */ lhz r0, 0x74(r1) +/* 802D9FC8 002D6F28 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 802D9FCC 002D6F2C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D9FD0 002D6F30 28 12 00 00 */ cmplwi r18, 0 +/* 802D9FD4 002D6F34 B0 15 00 18 */ sth r0, 0x18(r21) +/* 802D9FD8 002D6F38 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802D9FDC 002D6F3C 38 84 9B 68 */ addi r4, r4, lbl_803D9B68@l +/* 802D9FE0 002D6F40 3B FF 00 01 */ addi r31, r31, 1 +/* 802D9FE4 002D6F44 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 802D9FE8 002D6F48 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 802D9FEC 002D6F4C 90 B5 00 1C */ stw r5, 0x1c(r21) +/* 802D9FF0 002D6F50 90 75 00 20 */ stw r3, 0x20(r21) +/* 802D9FF4 002D6F54 80 61 00 80 */ lwz r3, 0x80(r1) +/* 802D9FF8 002D6F58 90 75 00 24 */ stw r3, 0x24(r21) +/* 802D9FFC 002D6F5C 88 61 00 84 */ lbz r3, 0x84(r1) +/* 802DA000 002D6F60 98 75 00 28 */ stb r3, 0x28(r21) +/* 802DA004 002D6F64 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802DA008 002D6F68 D0 15 00 2C */ stfs f0, 0x2c(r21) +/* 802DA00C 002D6F6C 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 802DA010 002D6F70 90 75 00 30 */ stw r3, 0x30(r21) +/* 802DA014 002D6F74 80 61 00 90 */ lwz r3, 0x90(r1) +/* 802DA018 002D6F78 90 75 00 34 */ stw r3, 0x34(r21) +/* 802DA01C 002D6F7C 88 61 00 94 */ lbz r3, 0x94(r1) +/* 802DA020 002D6F80 98 75 00 38 */ stb r3, 0x38(r21) +/* 802DA024 002D6F84 90 81 00 5C */ stw r4, 0x5c(r1) +/* 802DA028 002D6F88 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802DA02C 002D6F8C 41 82 00 0C */ beq lbl_802DA038 +/* 802DA030 002D6F90 7E 43 93 78 */ mr r3, r18 +/* 802DA034 002D6F94 48 06 3A AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA038: +/* 802DA038 002D6F98 92 E1 00 98 */ stw r23, 0x98(r1) +/* 802DA03C 002D6F9C 28 11 00 00 */ cmplwi r17, 0 +/* 802DA040 002D6FA0 3B BD 00 01 */ addi r29, r29, 1 +/* 802DA044 002D6FA4 3B 18 00 3C */ addi r24, r24, 0x3c +/* 802DA048 002D6FA8 92 C1 00 98 */ stw r22, 0x98(r1) +/* 802DA04C 002D6FAC 41 82 00 0C */ beq lbl_802DA058 +/* 802DA050 002D6FB0 7E 23 8B 78 */ mr r3, r17 +/* 802DA054 002D6FB4 48 06 3A 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA058: +/* 802DA058 002D6FB8 7C 1D F0 40 */ cmplw r29, r30 +/* 802DA05C 002D6FBC 41 80 FD DC */ blt lbl_802D9E38 +lbl_802DA060: +/* 802DA060 002D6FC0 7F E3 FB 78 */ mr r3, r31 +/* 802DA064 002D6FC4 BA 21 00 E4 */ lmw r17, 0xe4(r1) +/* 802DA068 002D6FC8 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802DA06C 002D6FCC 7C 08 03 A6 */ mtlr r0 +/* 802DA070 002D6FD0 38 21 01 20 */ addi r1, r1, 0x120 +/* 802DA074 002D6FD4 4E 80 00 20 */ blr + +.global "_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +"_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime": +/* 802DA078 002D6FD8 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802DA07C 002D6FDC 7C 08 02 A6 */ mflr r0 +/* 802DA080 002D6FE0 90 01 01 54 */ stw r0, 0x154(r1) +/* 802DA084 002D6FE4 BD C1 01 08 */ stmw r14, 0x108(r1) +/* 802DA088 002D6FE8 7C 91 23 78 */ mr r17, r4 +/* 802DA08C 002D6FEC 7C B2 2B 78 */ mr r18, r5 +/* 802DA090 002D6FF0 7C 65 1B 78 */ mr r5, r3 +/* 802DA094 002D6FF4 7D 14 43 78 */ mr r20, r8 +/* 802DA098 002D6FF8 7C D3 33 78 */ mr r19, r6 +/* 802DA09C 002D6FFC 7D 24 4B 78 */ mr r4, r9 +/* 802DA0A0 002D7000 38 61 00 08 */ addi r3, r1, 8 +/* 802DA0A4 002D7004 3A C0 00 00 */ li r22, 0 +/* 802DA0A8 002D7008 C0 09 00 00 */ lfs f0, 0(r9) +/* 802DA0AC 002D700C 80 E9 00 04 */ lwz r7, 4(r9) +/* 802DA0B0 002D7010 80 08 00 04 */ lwz r0, 4(r8) +/* 802DA0B4 002D7014 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802DA0B8 002D7018 90 01 01 04 */ stw r0, 0x104(r1) +/* 802DA0BC 002D701C 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 802DA0C0 002D7020 48 06 E4 E5 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA0C4 002D7024 C0 01 00 08 */ lfs f0, 8(r1) +/* 802DA0C8 002D7028 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DA0CC 002D702C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DA0D0 002D7030 1F F3 00 4C */ mulli r31, r19, 0x4c +/* 802DA0D4 002D7034 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DA0D8 002D7038 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802DA0DC 002D703C 39 C1 00 F4 */ addi r14, r1, 0xf4 +/* 802DA0E0 002D7040 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DA0E4 002D7044 3B 01 00 C0 */ addi r24, r1, 0xc0 +/* 802DA0E8 002D7048 3A 01 00 B8 */ addi r16, r1, 0xb8 +/* 802DA0EC 002D704C 7E 75 9B 78 */ mr r21, r19 +/* 802DA0F0 002D7050 3B 81 00 28 */ addi r28, r1, 0x28 +/* 802DA0F4 002D7054 3B 61 00 5C */ addi r27, r1, 0x5c +/* 802DA0F8 002D7058 3B 41 00 74 */ addi r26, r1, 0x74 +/* 802DA0FC 002D705C 3B 21 00 A8 */ addi r25, r1, 0xa8 +/* 802DA100 002D7060 3B A4 9B 8C */ addi r29, r4, lbl_803D9B8C@l +/* 802DA104 002D7064 3B C3 9B 98 */ addi r30, r3, lbl_803D9B98@l +/* 802DA108 002D7068 48 00 02 94 */ b lbl_802DA39C +lbl_802DA10C: +/* 802DA10C 002D706C 80 14 00 0C */ lwz r0, 0xc(r20) +/* 802DA110 002D7070 38 70 00 08 */ addi r3, r16, 8 +/* 802DA114 002D7074 93 A1 00 B8 */ stw r29, 0xb8(r1) +/* 802DA118 002D7078 7D E0 FA 14 */ add r15, r0, r31 +/* 802DA11C 002D707C A0 0F 00 04 */ lhz r0, 4(r15) +/* 802DA120 002D7080 38 8F 00 08 */ addi r4, r15, 8 +/* 802DA124 002D7084 B0 01 00 BC */ sth r0, 0xbc(r1) +/* 802DA128 002D7088 48 06 40 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA12C 002D708C A0 0F 00 18 */ lhz r0, 0x18(r15) +/* 802DA130 002D7090 38 70 00 3C */ addi r3, r16, 0x3c +/* 802DA134 002D7094 38 8F 00 3C */ addi r4, r15, 0x3c +/* 802DA138 002D7098 B0 10 00 18 */ sth r0, 0x18(r16) +/* 802DA13C 002D709C C0 0F 00 1C */ lfs f0, 0x1c(r15) +/* 802DA140 002D70A0 D0 10 00 1C */ stfs f0, 0x1c(r16) +/* 802DA144 002D70A4 80 0F 00 20 */ lwz r0, 0x20(r15) +/* 802DA148 002D70A8 90 10 00 20 */ stw r0, 0x20(r16) +/* 802DA14C 002D70AC 80 0F 00 24 */ lwz r0, 0x24(r15) +/* 802DA150 002D70B0 90 10 00 24 */ stw r0, 0x24(r16) +/* 802DA154 002D70B4 88 0F 00 28 */ lbz r0, 0x28(r15) +/* 802DA158 002D70B8 98 10 00 28 */ stb r0, 0x28(r16) +/* 802DA15C 002D70BC C0 0F 00 2C */ lfs f0, 0x2c(r15) +/* 802DA160 002D70C0 D0 10 00 2C */ stfs f0, 0x2c(r16) +/* 802DA164 002D70C4 80 0F 00 30 */ lwz r0, 0x30(r15) +/* 802DA168 002D70C8 90 10 00 30 */ stw r0, 0x30(r16) +/* 802DA16C 002D70CC 80 0F 00 34 */ lwz r0, 0x34(r15) +/* 802DA170 002D70D0 90 10 00 34 */ stw r0, 0x34(r16) +/* 802DA174 002D70D4 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 802DA178 002D70D8 80 0F 00 38 */ lwz r0, 0x38(r15) +/* 802DA17C 002D70DC 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 802DA180 002D70E0 48 06 3F E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA184 002D70E4 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802DA188 002D70E8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DA18C 002D70EC 48 06 E8 E1 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA190 002D70F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DA194 002D70F4 41 82 00 40 */ beq lbl_802DA1D4 +/* 802DA198 002D70F8 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DA19C 002D70FC 28 0E 00 00 */ cmplwi r14, 0 +/* 802DA1A0 002D7100 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DA1A4 002D7104 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802DA1A8 002D7108 41 82 00 0C */ beq lbl_802DA1B4 +/* 802DA1AC 002D710C 7D C3 73 78 */ mr r3, r14 +/* 802DA1B0 002D7110 48 06 39 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA1B4: +/* 802DA1B4 002D7114 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA1B8 002D7118 28 18 00 00 */ cmplwi r24, 0 +/* 802DA1BC 002D711C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA1C0 002D7120 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802DA1C4 002D7124 41 82 01 E4 */ beq lbl_802DA3A8 +/* 802DA1C8 002D7128 7F 03 C3 78 */ mr r3, r24 +/* 802DA1CC 002D712C 48 06 39 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DA1D0 002D7130 48 00 01 D8 */ b lbl_802DA3A8 +lbl_802DA1D4: +/* 802DA1D4 002D7134 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802DA1D8 002D7138 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DA1DC 002D713C 48 06 E2 61 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA1E0 002D7140 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DA1E4 002D7144 41 82 01 88 */ beq lbl_802DA36C +/* 802DA1E8 002D7148 7E F3 B2 14 */ add r23, r19, r22 +/* 802DA1EC 002D714C 7C 17 90 40 */ cmplw r23, r18 +/* 802DA1F0 002D7150 40 80 01 7C */ bge lbl_802DA36C +/* 802DA1F4 002D7154 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DA1F8 002D7158 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802DA1FC 002D715C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DA200 002D7160 48 02 2C A9 */ bl CopyNodeMinusStartTime__13CInt32POINodeFRC13CInt32POINodeRC13CCharAnimTime +/* 802DA204 002D7164 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802DA208 002D7168 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA20C 002D716C 38 63 9B 8C */ addi r3, r3, lbl_803D9B8C@l +/* 802DA210 002D7170 39 E1 00 6C */ addi r15, r1, 0x6c +/* 802DA214 002D7174 90 61 00 6C */ stw r3, 0x6c(r1) +/* 802DA218 002D7178 7F 84 E3 78 */ mr r4, r28 +/* 802DA21C 002D717C 38 6F 00 08 */ addi r3, r15, 8 +/* 802DA220 002D7180 B0 01 00 70 */ sth r0, 0x70(r1) +/* 802DA224 002D7184 48 06 3F 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA228 002D7188 A0 C1 00 38 */ lhz r6, 0x38(r1) +/* 802DA22C 002D718C 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DA230 002D7190 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802DA234 002D7194 39 03 9B 98 */ addi r8, r3, lbl_803D9B98@l +/* 802DA238 002D7198 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802DA23C 002D719C 7F 64 DB 78 */ mr r4, r27 +/* 802DA240 002D71A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DA244 002D71A4 38 6F 00 3C */ addi r3, r15, 0x3c +/* 802DA248 002D71A8 89 61 00 48 */ lbz r11, 0x48(r1) +/* 802DA24C 002D71AC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802DA250 002D71B0 81 41 00 50 */ lwz r10, 0x50(r1) +/* 802DA254 002D71B4 81 21 00 54 */ lwz r9, 0x54(r1) +/* 802DA258 002D71B8 80 E1 00 58 */ lwz r7, 0x58(r1) +/* 802DA25C 002D71BC B0 CF 00 18 */ sth r6, 0x18(r15) +/* 802DA260 002D71C0 D0 2F 00 1C */ stfs f1, 0x1c(r15) +/* 802DA264 002D71C4 90 AF 00 20 */ stw r5, 0x20(r15) +/* 802DA268 002D71C8 90 0F 00 24 */ stw r0, 0x24(r15) +/* 802DA26C 002D71CC 99 6F 00 28 */ stb r11, 0x28(r15) +/* 802DA270 002D71D0 D0 0F 00 2C */ stfs f0, 0x2c(r15) +/* 802DA274 002D71D4 91 4F 00 30 */ stw r10, 0x30(r15) +/* 802DA278 002D71D8 91 2F 00 34 */ stw r9, 0x34(r15) +/* 802DA27C 002D71DC 91 01 00 6C */ stw r8, 0x6c(r1) +/* 802DA280 002D71E0 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 802DA284 002D71E4 48 06 3E DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA288 002D71E8 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DA28C 002D71EC 28 1B 00 00 */ cmplwi r27, 0 +/* 802DA290 002D71F0 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DA294 002D71F4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DA298 002D71F8 41 82 00 0C */ beq lbl_802DA2A4 +/* 802DA29C 002D71FC 7F 63 DB 78 */ mr r3, r27 +/* 802DA2A0 002D7200 48 06 38 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA2A4: +/* 802DA2A4 002D7204 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA2A8 002D7208 28 1C 00 00 */ cmplwi r28, 0 +/* 802DA2AC 002D720C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA2B0 002D7210 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DA2B4 002D7214 41 82 00 0C */ beq lbl_802DA2C0 +/* 802DA2B8 002D7218 7F 83 E3 78 */ mr r3, r28 +/* 802DA2BC 002D721C 48 06 38 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA2C0: +/* 802DA2C0 002D7220 1C 17 00 4C */ mulli r0, r23, 0x4c +/* 802DA2C4 002D7224 A0 61 00 70 */ lhz r3, 0x70(r1) +/* 802DA2C8 002D7228 7F 44 D3 78 */ mr r4, r26 +/* 802DA2CC 002D722C 7D F1 02 14 */ add r15, r17, r0 +/* 802DA2D0 002D7230 B0 6F 00 04 */ sth r3, 4(r15) +/* 802DA2D4 002D7234 38 6F 00 08 */ addi r3, r15, 8 +/* 802DA2D8 002D7238 48 06 3A 85 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA2DC 002D723C A0 01 00 84 */ lhz r0, 0x84(r1) +/* 802DA2E0 002D7240 7F 24 CB 78 */ mr r4, r25 +/* 802DA2E4 002D7244 38 6F 00 3C */ addi r3, r15, 0x3c +/* 802DA2E8 002D7248 B0 0F 00 18 */ sth r0, 0x18(r15) +/* 802DA2EC 002D724C 80 A1 00 88 */ lwz r5, 0x88(r1) +/* 802DA2F0 002D7250 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802DA2F4 002D7254 90 AF 00 1C */ stw r5, 0x1c(r15) +/* 802DA2F8 002D7258 90 0F 00 20 */ stw r0, 0x20(r15) +/* 802DA2FC 002D725C 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802DA300 002D7260 90 0F 00 24 */ stw r0, 0x24(r15) +/* 802DA304 002D7264 88 01 00 94 */ lbz r0, 0x94(r1) +/* 802DA308 002D7268 98 0F 00 28 */ stb r0, 0x28(r15) +/* 802DA30C 002D726C C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802DA310 002D7270 D0 0F 00 2C */ stfs f0, 0x2c(r15) +/* 802DA314 002D7274 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802DA318 002D7278 90 0F 00 30 */ stw r0, 0x30(r15) +/* 802DA31C 002D727C 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802DA320 002D7280 90 0F 00 34 */ stw r0, 0x34(r15) +/* 802DA324 002D7284 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802DA328 002D7288 90 0F 00 38 */ stw r0, 0x38(r15) +/* 802DA32C 002D728C 48 06 3A 31 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA330 002D7290 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DA334 002D7294 28 19 00 00 */ cmplwi r25, 0 +/* 802DA338 002D7298 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DA33C 002D729C 3A D6 00 01 */ addi r22, r22, 1 +/* 802DA340 002D72A0 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802DA344 002D72A4 41 82 00 0C */ beq lbl_802DA350 +/* 802DA348 002D72A8 7F 23 CB 78 */ mr r3, r25 +/* 802DA34C 002D72AC 48 06 37 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA350: +/* 802DA350 002D72B0 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA354 002D72B4 28 1A 00 00 */ cmplwi r26, 0 +/* 802DA358 002D72B8 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA35C 002D72BC 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802DA360 002D72C0 41 82 00 0C */ beq lbl_802DA36C +/* 802DA364 002D72C4 7F 43 D3 78 */ mr r3, r26 +/* 802DA368 002D72C8 48 06 37 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA36C: +/* 802DA36C 002D72CC 28 0E 00 00 */ cmplwi r14, 0 +/* 802DA370 002D72D0 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 802DA374 002D72D4 3A B5 00 01 */ addi r21, r21, 1 +/* 802DA378 002D72D8 3B FF 00 4C */ addi r31, r31, 0x4c +/* 802DA37C 002D72DC 41 82 00 0C */ beq lbl_802DA388 +/* 802DA380 002D72E0 7D C3 73 78 */ mr r3, r14 +/* 802DA384 002D72E4 48 06 37 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA388: +/* 802DA388 002D72E8 28 18 00 00 */ cmplwi r24, 0 +/* 802DA38C 002D72EC 93 A1 00 B8 */ stw r29, 0xb8(r1) +/* 802DA390 002D72F0 41 82 00 0C */ beq lbl_802DA39C +/* 802DA394 002D72F4 7F 03 C3 78 */ mr r3, r24 +/* 802DA398 002D72F8 48 06 37 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA39C: +/* 802DA39C 002D72FC 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802DA3A0 002D7300 7C 15 00 40 */ cmplw r21, r0 +/* 802DA3A4 002D7304 41 80 FD 68 */ blt lbl_802DA10C +lbl_802DA3A8: +/* 802DA3A8 002D7308 7E C3 B3 78 */ mr r3, r22 +/* 802DA3AC 002D730C B9 C1 01 08 */ lmw r14, 0x108(r1) +/* 802DA3B0 002D7310 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802DA3B4 002D7314 7C 08 03 A6 */ mtlr r0 +/* 802DA3B8 002D7318 38 21 01 50 */ addi r1, r1, 0x150 +/* 802DA3BC 002D731C 4E 80 00 20 */ blr + +.global "_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +"_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime": +/* 802DA3C0 002D7320 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 802DA3C4 002D7324 7C 08 02 A6 */ mflr r0 +/* 802DA3C8 002D7328 90 01 01 94 */ stw r0, 0x194(r1) +/* 802DA3CC 002D732C BD C1 01 48 */ stmw r14, 0x148(r1) +/* 802DA3D0 002D7330 7C 93 23 78 */ mr r19, r4 +/* 802DA3D4 002D7334 7D 15 43 78 */ mr r21, r8 +/* 802DA3D8 002D7338 7C D4 33 78 */ mr r20, r6 +/* 802DA3DC 002D733C 90 A1 00 08 */ stw r5, 8(r1) +/* 802DA3E0 002D7340 7C 65 1B 78 */ mr r5, r3 +/* 802DA3E4 002D7344 7D 24 4B 78 */ mr r4, r9 +/* 802DA3E8 002D7348 38 61 00 0C */ addi r3, r1, 0xc +/* 802DA3EC 002D734C 3A E0 00 00 */ li r23, 0 +/* 802DA3F0 002D7350 C0 09 00 00 */ lfs f0, 0(r9) +/* 802DA3F4 002D7354 80 E9 00 04 */ lwz r7, 4(r9) +/* 802DA3F8 002D7358 80 08 00 04 */ lwz r0, 4(r8) +/* 802DA3FC 002D735C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802DA400 002D7360 90 01 01 38 */ stw r0, 0x138(r1) +/* 802DA404 002D7364 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802DA408 002D7368 48 06 E1 9D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA40C 002D736C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802DA410 002D7370 38 61 01 14 */ addi r3, r1, 0x114 +/* 802DA414 002D7374 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802DA418 002D7378 3B 23 00 0C */ addi r25, r3, 0xc +/* 802DA41C 002D737C 38 61 00 5C */ addi r3, r1, 0x5c +/* 802DA420 002D7380 3C A0 80 3E */ lis r5, lbl_803D9B8C@ha +/* 802DA424 002D7384 3C 80 80 3E */ lis r4, lbl_803D9B74@ha +/* 802DA428 002D7388 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802DA42C 002D738C 3B 83 00 0C */ addi r28, r3, 0xc +/* 802DA430 002D7390 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802DA434 002D7394 1E 14 00 5C */ mulli r16, r20, 0x5c +/* 802DA438 002D7398 90 01 00 18 */ stw r0, 0x18(r1) +/* 802DA43C 002D739C 39 C1 00 E4 */ addi r14, r1, 0xe4 +/* 802DA440 002D73A0 3A 41 00 DC */ addi r18, r1, 0xdc +/* 802DA444 002D73A4 7E 96 A3 78 */ mr r22, r20 +/* 802DA448 002D73A8 3B A1 00 2C */ addi r29, r1, 0x2c +/* 802DA44C 002D73AC 3B 61 00 88 */ addi r27, r1, 0x88 +/* 802DA450 002D73B0 3B 43 00 0C */ addi r26, r3, 0xc +/* 802DA454 002D73B4 3B C5 9B 8C */ addi r30, r5, lbl_803D9B8C@l +/* 802DA458 002D73B8 3B E4 9B 74 */ addi r31, r4, lbl_803D9B74@l +/* 802DA45C 002D73BC 48 00 03 18 */ b lbl_802DA774 +lbl_802DA460: +/* 802DA460 002D73C0 80 15 00 0C */ lwz r0, 0xc(r21) +/* 802DA464 002D73C4 38 72 00 08 */ addi r3, r18, 8 +/* 802DA468 002D73C8 93 C1 00 DC */ stw r30, 0xdc(r1) +/* 802DA46C 002D73CC 7D E0 82 14 */ add r15, r0, r16 +/* 802DA470 002D73D0 A0 0F 00 04 */ lhz r0, 4(r15) +/* 802DA474 002D73D4 38 8F 00 08 */ addi r4, r15, 8 +/* 802DA478 002D73D8 B0 01 00 E0 */ sth r0, 0xe0(r1) +/* 802DA47C 002D73DC 48 06 3C E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA480 002D73E0 A0 0F 00 18 */ lhz r0, 0x18(r15) +/* 802DA484 002D73E4 38 72 00 44 */ addi r3, r18, 0x44 +/* 802DA488 002D73E8 38 8F 00 44 */ addi r4, r15, 0x44 +/* 802DA48C 002D73EC B0 12 00 18 */ sth r0, 0x18(r18) +/* 802DA490 002D73F0 C0 0F 00 1C */ lfs f0, 0x1c(r15) +/* 802DA494 002D73F4 D0 12 00 1C */ stfs f0, 0x1c(r18) +/* 802DA498 002D73F8 80 0F 00 20 */ lwz r0, 0x20(r15) +/* 802DA49C 002D73FC 90 12 00 20 */ stw r0, 0x20(r18) +/* 802DA4A0 002D7400 80 0F 00 24 */ lwz r0, 0x24(r15) +/* 802DA4A4 002D7404 90 12 00 24 */ stw r0, 0x24(r18) +/* 802DA4A8 002D7408 88 0F 00 28 */ lbz r0, 0x28(r15) +/* 802DA4AC 002D740C 98 12 00 28 */ stb r0, 0x28(r18) +/* 802DA4B0 002D7410 C0 0F 00 2C */ lfs f0, 0x2c(r15) +/* 802DA4B4 002D7414 D0 12 00 2C */ stfs f0, 0x2c(r18) +/* 802DA4B8 002D7418 80 0F 00 30 */ lwz r0, 0x30(r15) +/* 802DA4BC 002D741C 90 12 00 30 */ stw r0, 0x30(r18) +/* 802DA4C0 002D7420 80 0F 00 34 */ lwz r0, 0x34(r15) +/* 802DA4C4 002D7424 90 12 00 34 */ stw r0, 0x34(r18) +/* 802DA4C8 002D7428 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802DA4CC 002D742C 80 0F 00 38 */ lwz r0, 0x38(r15) +/* 802DA4D0 002D7430 90 01 01 14 */ stw r0, 0x114(r1) +/* 802DA4D4 002D7434 80 0F 00 3C */ lwz r0, 0x3c(r15) +/* 802DA4D8 002D7438 90 01 01 18 */ stw r0, 0x118(r1) +/* 802DA4DC 002D743C 80 0F 00 40 */ lwz r0, 0x40(r15) +/* 802DA4E0 002D7440 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802DA4E4 002D7444 48 06 3C 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA4E8 002D7448 C0 0F 00 54 */ lfs f0, 0x54(r15) +/* 802DA4EC 002D744C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802DA4F0 002D7450 38 81 00 14 */ addi r4, r1, 0x14 +/* 802DA4F4 002D7454 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 802DA4F8 002D7458 80 0F 00 58 */ lwz r0, 0x58(r15) +/* 802DA4FC 002D745C 90 01 01 34 */ stw r0, 0x134(r1) +/* 802DA500 002D7460 48 06 E5 6D */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA504 002D7464 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DA508 002D7468 41 82 00 48 */ beq lbl_802DA550 +/* 802DA50C 002D746C 34 01 01 14 */ addic. r0, r1, 0x114 +/* 802DA510 002D7470 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DA514 002D7474 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802DA518 002D7478 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802DA51C 002D747C 41 82 00 14 */ beq lbl_802DA530 +/* 802DA520 002D7480 28 19 00 00 */ cmplwi r25, 0 +/* 802DA524 002D7484 41 82 00 0C */ beq lbl_802DA530 +/* 802DA528 002D7488 7F 23 CB 78 */ mr r3, r25 +/* 802DA52C 002D748C 48 06 35 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA530: +/* 802DA530 002D7490 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA534 002D7494 28 0E 00 00 */ cmplwi r14, 0 +/* 802DA538 002D7498 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA53C 002D749C 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802DA540 002D74A0 41 82 02 40 */ beq lbl_802DA780 +/* 802DA544 002D74A4 7D C3 73 78 */ mr r3, r14 +/* 802DA548 002D74A8 48 06 35 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DA54C 002D74AC 48 00 02 34 */ b lbl_802DA780 +lbl_802DA550: +/* 802DA550 002D74B0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802DA554 002D74B4 38 81 00 1C */ addi r4, r1, 0x1c +/* 802DA558 002D74B8 48 06 DE E5 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA55C 002D74BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DA560 002D74C0 41 82 01 DC */ beq lbl_802DA73C +/* 802DA564 002D74C4 80 01 00 08 */ lwz r0, 8(r1) +/* 802DA568 002D74C8 7F 14 BA 14 */ add r24, r20, r23 +/* 802DA56C 002D74CC 7C 18 00 40 */ cmplw r24, r0 +/* 802DA570 002D74D0 40 80 01 CC */ bge lbl_802DA73C +/* 802DA574 002D74D4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802DA578 002D74D8 38 81 00 DC */ addi r4, r1, 0xdc +/* 802DA57C 002D74DC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802DA580 002D74E0 48 02 2A 35 */ bl CopyNodeMinusStartTime__16CParticlePOINodeFRC16CParticlePOINodeRC13CCharAnimTime +/* 802DA584 002D74E4 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 802DA588 002D74E8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA58C 002D74EC 38 63 9B 8C */ addi r3, r3, lbl_803D9B8C@l +/* 802DA590 002D74F0 3A 21 00 80 */ addi r17, r1, 0x80 +/* 802DA594 002D74F4 90 61 00 80 */ stw r3, 0x80(r1) +/* 802DA598 002D74F8 7F A4 EB 78 */ mr r4, r29 +/* 802DA59C 002D74FC 38 71 00 08 */ addi r3, r17, 8 +/* 802DA5A0 002D7500 B0 01 00 84 */ sth r0, 0x84(r1) +/* 802DA5A4 002D7504 48 06 3B BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA5A8 002D7508 A0 C1 00 3C */ lhz r6, 0x3c(r1) +/* 802DA5AC 002D750C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DA5B0 002D7510 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 802DA5B4 002D7514 39 43 9B 74 */ addi r10, r3, lbl_803D9B74@l +/* 802DA5B8 002D7518 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 802DA5BC 002D751C 7F 84 E3 78 */ mr r4, r28 +/* 802DA5C0 002D7520 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802DA5C4 002D7524 38 71 00 44 */ addi r3, r17, 0x44 +/* 802DA5C8 002D7528 89 E1 00 4C */ lbz r15, 0x4c(r1) +/* 802DA5CC 002D752C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802DA5D0 002D7530 81 81 00 54 */ lwz r12, 0x54(r1) +/* 802DA5D4 002D7534 81 61 00 58 */ lwz r11, 0x58(r1) +/* 802DA5D8 002D7538 81 21 00 5C */ lwz r9, 0x5c(r1) +/* 802DA5DC 002D753C 81 01 00 60 */ lwz r8, 0x60(r1) +/* 802DA5E0 002D7540 80 E1 00 64 */ lwz r7, 0x64(r1) +/* 802DA5E4 002D7544 B0 D1 00 18 */ sth r6, 0x18(r17) +/* 802DA5E8 002D7548 D0 31 00 1C */ stfs f1, 0x1c(r17) +/* 802DA5EC 002D754C 90 B1 00 20 */ stw r5, 0x20(r17) +/* 802DA5F0 002D7550 90 11 00 24 */ stw r0, 0x24(r17) +/* 802DA5F4 002D7554 99 F1 00 28 */ stb r15, 0x28(r17) +/* 802DA5F8 002D7558 D0 11 00 2C */ stfs f0, 0x2c(r17) +/* 802DA5FC 002D755C 91 91 00 30 */ stw r12, 0x30(r17) +/* 802DA600 002D7560 91 71 00 34 */ stw r11, 0x34(r17) +/* 802DA604 002D7564 91 41 00 80 */ stw r10, 0x80(r1) +/* 802DA608 002D7568 91 21 00 B8 */ stw r9, 0xb8(r1) +/* 802DA60C 002D756C 91 01 00 BC */ stw r8, 0xbc(r1) +/* 802DA610 002D7570 90 E1 00 C0 */ stw r7, 0xc0(r1) +/* 802DA614 002D7574 48 06 3B 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA618 002D7578 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802DA61C 002D757C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DA620 002D7580 80 81 00 7C */ lwz r4, 0x7c(r1) +/* 802DA624 002D7584 38 63 9B 74 */ addi r3, r3, lbl_803D9B74@l +/* 802DA628 002D7588 34 01 00 5C */ addic. r0, r1, 0x5c +/* 802DA62C 002D758C D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 802DA630 002D7590 90 81 00 D8 */ stw r4, 0xd8(r1) +/* 802DA634 002D7594 90 61 00 24 */ stw r3, 0x24(r1) +/* 802DA638 002D7598 41 82 00 14 */ beq lbl_802DA64C +/* 802DA63C 002D759C 28 1C 00 00 */ cmplwi r28, 0 +/* 802DA640 002D75A0 41 82 00 0C */ beq lbl_802DA64C +/* 802DA644 002D75A4 7F 83 E3 78 */ mr r3, r28 +/* 802DA648 002D75A8 48 06 34 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA64C: +/* 802DA64C 002D75AC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA650 002D75B0 28 1D 00 00 */ cmplwi r29, 0 +/* 802DA654 002D75B4 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA658 002D75B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DA65C 002D75BC 41 82 00 0C */ beq lbl_802DA668 +/* 802DA660 002D75C0 7F A3 EB 78 */ mr r3, r29 +/* 802DA664 002D75C4 48 06 34 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA668: +/* 802DA668 002D75C8 1C 18 00 5C */ mulli r0, r24, 0x5c +/* 802DA66C 002D75CC A0 61 00 84 */ lhz r3, 0x84(r1) +/* 802DA670 002D75D0 7F 64 DB 78 */ mr r4, r27 +/* 802DA674 002D75D4 7D F3 02 14 */ add r15, r19, r0 +/* 802DA678 002D75D8 B0 6F 00 04 */ sth r3, 4(r15) +/* 802DA67C 002D75DC 38 6F 00 08 */ addi r3, r15, 8 +/* 802DA680 002D75E0 48 06 36 DD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA684 002D75E4 A0 01 00 98 */ lhz r0, 0x98(r1) +/* 802DA688 002D75E8 7F 44 D3 78 */ mr r4, r26 +/* 802DA68C 002D75EC 38 6F 00 44 */ addi r3, r15, 0x44 +/* 802DA690 002D75F0 B0 0F 00 18 */ sth r0, 0x18(r15) +/* 802DA694 002D75F4 80 A1 00 9C */ lwz r5, 0x9c(r1) +/* 802DA698 002D75F8 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802DA69C 002D75FC 90 AF 00 1C */ stw r5, 0x1c(r15) +/* 802DA6A0 002D7600 90 0F 00 20 */ stw r0, 0x20(r15) +/* 802DA6A4 002D7604 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802DA6A8 002D7608 90 0F 00 24 */ stw r0, 0x24(r15) +/* 802DA6AC 002D760C 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 802DA6B0 002D7610 98 0F 00 28 */ stb r0, 0x28(r15) +/* 802DA6B4 002D7614 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 802DA6B8 002D7618 D0 0F 00 2C */ stfs f0, 0x2c(r15) +/* 802DA6BC 002D761C 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 802DA6C0 002D7620 90 0F 00 30 */ stw r0, 0x30(r15) +/* 802DA6C4 002D7624 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802DA6C8 002D7628 90 0F 00 34 */ stw r0, 0x34(r15) +/* 802DA6CC 002D762C 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 802DA6D0 002D7630 90 0F 00 38 */ stw r0, 0x38(r15) +/* 802DA6D4 002D7634 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 802DA6D8 002D7638 90 0F 00 3C */ stw r0, 0x3c(r15) +/* 802DA6DC 002D763C 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 802DA6E0 002D7640 90 0F 00 40 */ stw r0, 0x40(r15) +/* 802DA6E4 002D7644 48 06 36 79 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA6E8 002D7648 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 802DA6EC 002D764C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DA6F0 002D7650 34 01 00 B8 */ addic. r0, r1, 0xb8 +/* 802DA6F4 002D7654 3A F7 00 01 */ addi r23, r23, 1 +/* 802DA6F8 002D7658 D0 0F 00 54 */ stfs f0, 0x54(r15) +/* 802DA6FC 002D765C 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802DA700 002D7660 80 61 00 D8 */ lwz r3, 0xd8(r1) +/* 802DA704 002D7664 90 6F 00 58 */ stw r3, 0x58(r15) +/* 802DA708 002D7668 90 01 00 80 */ stw r0, 0x80(r1) +/* 802DA70C 002D766C 41 82 00 14 */ beq lbl_802DA720 +/* 802DA710 002D7670 28 1A 00 00 */ cmplwi r26, 0 +/* 802DA714 002D7674 41 82 00 0C */ beq lbl_802DA720 +/* 802DA718 002D7678 7F 43 D3 78 */ mr r3, r26 +/* 802DA71C 002D767C 48 06 33 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA720: +/* 802DA720 002D7680 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA724 002D7684 28 1B 00 00 */ cmplwi r27, 0 +/* 802DA728 002D7688 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA72C 002D768C 90 01 00 80 */ stw r0, 0x80(r1) +/* 802DA730 002D7690 41 82 00 0C */ beq lbl_802DA73C +/* 802DA734 002D7694 7F 63 DB 78 */ mr r3, r27 +/* 802DA738 002D7698 48 06 33 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA73C: +/* 802DA73C 002D769C 34 01 01 14 */ addic. r0, r1, 0x114 +/* 802DA740 002D76A0 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802DA744 002D76A4 3A D6 00 01 */ addi r22, r22, 1 +/* 802DA748 002D76A8 3A 10 00 5C */ addi r16, r16, 0x5c +/* 802DA74C 002D76AC 41 82 00 14 */ beq lbl_802DA760 +/* 802DA750 002D76B0 28 19 00 00 */ cmplwi r25, 0 +/* 802DA754 002D76B4 41 82 00 0C */ beq lbl_802DA760 +/* 802DA758 002D76B8 7F 23 CB 78 */ mr r3, r25 +/* 802DA75C 002D76BC 48 06 33 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA760: +/* 802DA760 002D76C0 28 0E 00 00 */ cmplwi r14, 0 +/* 802DA764 002D76C4 93 C1 00 DC */ stw r30, 0xdc(r1) +/* 802DA768 002D76C8 41 82 00 0C */ beq lbl_802DA774 +/* 802DA76C 002D76CC 7D C3 73 78 */ mr r3, r14 +/* 802DA770 002D76D0 48 06 33 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA774: +/* 802DA774 002D76D4 80 01 01 38 */ lwz r0, 0x138(r1) +/* 802DA778 002D76D8 7C 16 00 40 */ cmplw r22, r0 +/* 802DA77C 002D76DC 41 80 FC E4 */ blt lbl_802DA460 +lbl_802DA780: +/* 802DA780 002D76E0 7E E3 BB 78 */ mr r3, r23 +/* 802DA784 002D76E4 B9 C1 01 48 */ lmw r14, 0x148(r1) +/* 802DA788 002D76E8 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802DA78C 002D76EC 7C 08 03 A6 */ mtlr r0 +/* 802DA790 002D76F0 38 21 01 90 */ addi r1, r1, 0x190 +/* 802DA794 002D76F4 4E 80 00 20 */ blr + +.global "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +"_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime": +/* 802DA798 002D76F8 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802DA79C 002D76FC 7C 08 02 A6 */ mflr r0 +/* 802DA7A0 002D7700 90 01 01 34 */ stw r0, 0x134(r1) +/* 802DA7A4 002D7704 BE 21 00 F4 */ stmw r17, 0xf4(r1) +/* 802DA7A8 002D7708 7C 99 23 78 */ mr r25, r4 +/* 802DA7AC 002D770C 7C BA 2B 78 */ mr r26, r5 +/* 802DA7B0 002D7710 7C 65 1B 78 */ mr r5, r3 +/* 802DA7B4 002D7714 7D 1C 43 78 */ mr r28, r8 +/* 802DA7B8 002D7718 7C DB 33 78 */ mr r27, r6 +/* 802DA7BC 002D771C 7D 24 4B 78 */ mr r4, r9 +/* 802DA7C0 002D7720 38 61 00 08 */ addi r3, r1, 8 +/* 802DA7C4 002D7724 3B E0 00 00 */ li r31, 0 +/* 802DA7C8 002D7728 C0 09 00 00 */ lfs f0, 0(r9) +/* 802DA7CC 002D772C 80 09 00 04 */ lwz r0, 4(r9) +/* 802DA7D0 002D7730 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802DA7D4 002D7734 83 C8 00 04 */ lwz r30, 4(r8) +/* 802DA7D8 002D7738 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802DA7DC 002D773C 48 06 DD C9 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA7E0 002D7740 C0 01 00 08 */ lfs f0, 8(r1) +/* 802DA7E4 002D7744 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DA7E8 002D7748 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DA7EC 002D774C 1F 1B 00 44 */ mulli r24, r27, 0x44 +/* 802DA7F0 002D7750 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802DA7F4 002D7754 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802DA7F8 002D7758 3A 21 00 B0 */ addi r17, r1, 0xb0 +/* 802DA7FC 002D775C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DA800 002D7760 7F 7D DB 78 */ mr r29, r27 +/* 802DA804 002D7764 3A 81 00 C4 */ addi r20, r1, 0xc4 +/* 802DA808 002D7768 3A 61 00 28 */ addi r19, r1, 0x28 +/* 802DA80C 002D776C 3A 41 00 6C */ addi r18, r1, 0x6c +/* 802DA810 002D7770 3A C4 9B 8C */ addi r22, r4, lbl_803D9B8C@l +/* 802DA814 002D7774 3A E3 9B 80 */ addi r23, r3, lbl_803D9B80@l +/* 802DA818 002D7778 48 00 02 54 */ b lbl_802DAA6C +lbl_802DA81C: +/* 802DA81C 002D777C 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 802DA820 002D7780 7E 23 8B 78 */ mr r3, r17 +/* 802DA824 002D7784 92 C1 00 A8 */ stw r22, 0xa8(r1) +/* 802DA828 002D7788 7E A0 C2 14 */ add r21, r0, r24 +/* 802DA82C 002D778C A0 15 00 04 */ lhz r0, 4(r21) +/* 802DA830 002D7790 38 95 00 08 */ addi r4, r21, 8 +/* 802DA834 002D7794 B0 01 00 AC */ sth r0, 0xac(r1) +/* 802DA838 002D7798 48 06 39 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA83C 002D779C A0 15 00 18 */ lhz r0, 0x18(r21) +/* 802DA840 002D77A0 7E 83 A3 78 */ mr r3, r20 +/* 802DA844 002D77A4 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DA848 002D77A8 B0 01 00 C0 */ sth r0, 0xc0(r1) +/* 802DA84C 002D77AC C0 15 00 1C */ lfs f0, 0x1c(r21) +/* 802DA850 002D77B0 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802DA854 002D77B4 80 15 00 20 */ lwz r0, 0x20(r21) +/* 802DA858 002D77B8 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802DA85C 002D77BC 80 15 00 24 */ lwz r0, 0x24(r21) +/* 802DA860 002D77C0 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802DA864 002D77C4 88 15 00 28 */ lbz r0, 0x28(r21) +/* 802DA868 002D77C8 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 802DA86C 002D77CC C0 15 00 2C */ lfs f0, 0x2c(r21) +/* 802DA870 002D77D0 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 802DA874 002D77D4 80 15 00 30 */ lwz r0, 0x30(r21) +/* 802DA878 002D77D8 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802DA87C 002D77DC 80 15 00 34 */ lwz r0, 0x34(r21) +/* 802DA880 002D77E0 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802DA884 002D77E4 92 E1 00 A8 */ stw r23, 0xa8(r1) +/* 802DA888 002D77E8 80 15 00 38 */ lwz r0, 0x38(r21) +/* 802DA88C 002D77EC 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 802DA890 002D77F0 C0 15 00 3C */ lfs f0, 0x3c(r21) +/* 802DA894 002D77F4 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802DA898 002D77F8 C0 15 00 40 */ lfs f0, 0x40(r21) +/* 802DA89C 002D77FC D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802DA8A0 002D7800 48 06 E1 CD */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA8A4 002D7804 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DA8A8 002D7808 41 82 00 30 */ beq lbl_802DA8D8 +/* 802DA8AC 002D780C 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 802DA8B0 002D7810 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA8B4 002D7814 38 04 9B 80 */ addi r0, r4, lbl_803D9B80@l +/* 802DA8B8 002D7818 28 11 00 00 */ cmplwi r17, 0 +/* 802DA8BC 002D781C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802DA8C0 002D7820 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA8C4 002D7824 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802DA8C8 002D7828 41 82 01 AC */ beq lbl_802DAA74 +/* 802DA8CC 002D782C 7E 23 8B 78 */ mr r3, r17 +/* 802DA8D0 002D7830 48 06 32 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DA8D4 002D7834 48 00 01 A0 */ b lbl_802DAA74 +lbl_802DA8D8: +/* 802DA8D8 002D7838 7E 83 A3 78 */ mr r3, r20 +/* 802DA8DC 002D783C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DA8E0 002D7840 48 06 DB 5D */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DA8E4 002D7844 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DA8E8 002D7848 41 82 01 64 */ beq lbl_802DAA4C +/* 802DA8EC 002D784C 7E BB FA 14 */ add r21, r27, r31 +/* 802DA8F0 002D7850 7C 15 D0 40 */ cmplw r21, r26 +/* 802DA8F4 002D7854 40 80 01 58 */ bge lbl_802DAA4C +/* 802DA8F8 002D7858 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DA8FC 002D785C 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802DA900 002D7860 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DA904 002D7864 48 00 01 89 */ bl CopyNodeMinusStartTime__13CSoundPOINodeFRC13CSoundPOINodeRC13CCharAnimTime +/* 802DA908 002D7868 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802DA90C 002D786C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA910 002D7870 38 83 9B 8C */ addi r4, r3, lbl_803D9B8C@l +/* 802DA914 002D7874 7E 43 93 78 */ mr r3, r18 +/* 802DA918 002D7878 90 81 00 64 */ stw r4, 0x64(r1) +/* 802DA91C 002D787C 7E 64 9B 78 */ mr r4, r19 +/* 802DA920 002D7880 B0 01 00 68 */ sth r0, 0x68(r1) +/* 802DA924 002D7884 48 06 38 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA928 002D7888 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802DA92C 002D788C A1 41 00 38 */ lhz r10, 0x38(r1) +/* 802DA930 002D7890 38 83 9B 80 */ addi r4, r3, lbl_803D9B80@l +/* 802DA934 002D7894 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 802DA938 002D7898 81 21 00 40 */ lwz r9, 0x40(r1) +/* 802DA93C 002D789C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA940 002D78A0 81 01 00 44 */ lwz r8, 0x44(r1) +/* 802DA944 002D78A4 28 13 00 00 */ cmplwi r19, 0 +/* 802DA948 002D78A8 88 E1 00 48 */ lbz r7, 0x48(r1) +/* 802DA94C 002D78AC 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA950 002D78B0 90 81 00 20 */ stw r4, 0x20(r1) +/* 802DA954 002D78B4 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802DA958 002D78B8 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802DA95C 002D78BC 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802DA960 002D78C0 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802DA964 002D78C4 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802DA968 002D78C8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802DA96C 002D78CC B1 41 00 7C */ sth r10, 0x7c(r1) +/* 802DA970 002D78D0 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802DA974 002D78D4 91 21 00 84 */ stw r9, 0x84(r1) +/* 802DA978 002D78D8 91 01 00 88 */ stw r8, 0x88(r1) +/* 802DA97C 002D78DC 98 E1 00 8C */ stb r7, 0x8c(r1) +/* 802DA980 002D78E0 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 802DA984 002D78E4 90 C1 00 94 */ stw r6, 0x94(r1) +/* 802DA988 002D78E8 90 A1 00 98 */ stw r5, 0x98(r1) +/* 802DA98C 002D78EC 90 81 00 64 */ stw r4, 0x64(r1) +/* 802DA990 002D78F0 90 61 00 9C */ stw r3, 0x9c(r1) +/* 802DA994 002D78F4 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802DA998 002D78F8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802DA99C 002D78FC 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DA9A0 002D7900 41 82 00 0C */ beq lbl_802DA9AC +/* 802DA9A4 002D7904 7E 63 9B 78 */ mr r3, r19 +/* 802DA9A8 002D7908 48 06 31 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DA9AC: +/* 802DA9AC 002D790C 1C 15 00 44 */ mulli r0, r21, 0x44 +/* 802DA9B0 002D7910 A0 61 00 68 */ lhz r3, 0x68(r1) +/* 802DA9B4 002D7914 7E 44 93 78 */ mr r4, r18 +/* 802DA9B8 002D7918 7E B9 02 14 */ add r21, r25, r0 +/* 802DA9BC 002D791C B0 75 00 04 */ sth r3, 4(r21) +/* 802DA9C0 002D7920 38 75 00 08 */ addi r3, r21, 8 +/* 802DA9C4 002D7924 48 06 33 99 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DA9C8 002D7928 A0 01 00 7C */ lhz r0, 0x7c(r1) +/* 802DA9CC 002D792C 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 802DA9D0 002D7930 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DA9D4 002D7934 28 12 00 00 */ cmplwi r18, 0 +/* 802DA9D8 002D7938 B0 15 00 18 */ sth r0, 0x18(r21) +/* 802DA9DC 002D793C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DA9E0 002D7940 38 84 9B 80 */ addi r4, r4, lbl_803D9B80@l +/* 802DA9E4 002D7944 3B FF 00 01 */ addi r31, r31, 1 +/* 802DA9E8 002D7948 80 A1 00 80 */ lwz r5, 0x80(r1) +/* 802DA9EC 002D794C 80 61 00 84 */ lwz r3, 0x84(r1) +/* 802DA9F0 002D7950 90 B5 00 1C */ stw r5, 0x1c(r21) +/* 802DA9F4 002D7954 90 75 00 20 */ stw r3, 0x20(r21) +/* 802DA9F8 002D7958 80 61 00 88 */ lwz r3, 0x88(r1) +/* 802DA9FC 002D795C 90 75 00 24 */ stw r3, 0x24(r21) +/* 802DAA00 002D7960 88 61 00 8C */ lbz r3, 0x8c(r1) +/* 802DAA04 002D7964 98 75 00 28 */ stb r3, 0x28(r21) +/* 802DAA08 002D7968 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 802DAA0C 002D796C D0 15 00 2C */ stfs f0, 0x2c(r21) +/* 802DAA10 002D7970 80 61 00 94 */ lwz r3, 0x94(r1) +/* 802DAA14 002D7974 90 75 00 30 */ stw r3, 0x30(r21) +/* 802DAA18 002D7978 80 61 00 98 */ lwz r3, 0x98(r1) +/* 802DAA1C 002D797C 90 75 00 34 */ stw r3, 0x34(r21) +/* 802DAA20 002D7980 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 802DAA24 002D7984 90 75 00 38 */ stw r3, 0x38(r21) +/* 802DAA28 002D7988 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 802DAA2C 002D798C D0 15 00 3C */ stfs f0, 0x3c(r21) +/* 802DAA30 002D7990 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802DAA34 002D7994 D0 15 00 40 */ stfs f0, 0x40(r21) +/* 802DAA38 002D7998 90 81 00 64 */ stw r4, 0x64(r1) +/* 802DAA3C 002D799C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802DAA40 002D79A0 41 82 00 0C */ beq lbl_802DAA4C +/* 802DAA44 002D79A4 7E 43 93 78 */ mr r3, r18 +/* 802DAA48 002D79A8 48 06 30 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DAA4C: +/* 802DAA4C 002D79AC 92 E1 00 A8 */ stw r23, 0xa8(r1) +/* 802DAA50 002D79B0 28 11 00 00 */ cmplwi r17, 0 +/* 802DAA54 002D79B4 3B BD 00 01 */ addi r29, r29, 1 +/* 802DAA58 002D79B8 3B 18 00 44 */ addi r24, r24, 0x44 +/* 802DAA5C 002D79BC 92 C1 00 A8 */ stw r22, 0xa8(r1) +/* 802DAA60 002D79C0 41 82 00 0C */ beq lbl_802DAA6C +/* 802DAA64 002D79C4 7E 23 8B 78 */ mr r3, r17 +/* 802DAA68 002D79C8 48 06 30 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DAA6C: +/* 802DAA6C 002D79CC 7C 1D F0 40 */ cmplw r29, r30 +/* 802DAA70 002D79D0 41 80 FD AC */ blt lbl_802DA81C +lbl_802DAA74: +/* 802DAA74 002D79D4 7F E3 FB 78 */ mr r3, r31 +/* 802DAA78 002D79D8 BA 21 00 F4 */ lmw r17, 0xf4(r1) +/* 802DAA7C 002D79DC 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802DAA80 002D79E0 7C 08 03 A6 */ mtlr r0 +/* 802DAA84 002D79E4 38 21 01 30 */ addi r1, r1, 0x130 +/* 802DAA88 002D79E8 4E 80 00 20 */ blr + +.global CopyNodeMinusStartTime__13CSoundPOINodeFRC13CSoundPOINodeRC13CCharAnimTime +CopyNodeMinusStartTime__13CSoundPOINodeFRC13CSoundPOINodeRC13CCharAnimTime: +/* 802DAA8C 002D79EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DAA90 002D79F0 7C 08 02 A6 */ mflr r0 +/* 802DAA94 002D79F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DAA98 002D79F8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802DAA9C 002D79FC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802DAAA0 002D7A00 7C BE 2B 78 */ mr r30, r5 +/* 802DAAA4 002D7A04 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802DAAA8 002D7A08 7C 9D 23 78 */ mr r29, r4 +/* 802DAAAC 002D7A0C 38 9D 00 08 */ addi r4, r29, 8 +/* 802DAAB0 002D7A10 93 81 00 30 */ stw r28, 0x30(r1) +/* 802DAAB4 002D7A14 7C 7C 1B 78 */ mr r28, r3 +/* 802DAAB8 002D7A18 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DAABC 002D7A1C 48 06 36 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DAAC0 002D7A20 A3 FD 00 18 */ lhz r31, 0x18(r29) +/* 802DAAC4 002D7A24 7F C5 F3 78 */ mr r5, r30 +/* 802DAAC8 002D7A28 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DAACC 002D7A2C 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802DAAD0 002D7A30 48 06 DC 95 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DAAD4 002D7A34 80 1D 00 38 */ lwz r0, 0x38(r29) +/* 802DAAD8 002D7A38 7F 83 E3 78 */ mr r3, r28 +/* 802DAADC 002D7A3C 7F E5 FB 78 */ mr r5, r31 +/* 802DAAE0 002D7A40 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DAAE4 002D7A44 90 01 00 08 */ stw r0, 8(r1) +/* 802DAAE8 002D7A48 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802DAAEC 002D7A4C 80 FD 00 24 */ lwz r7, 0x24(r29) +/* 802DAAF0 002D7A50 89 1D 00 28 */ lbz r8, 0x28(r29) +/* 802DAAF4 002D7A54 C0 3D 00 2C */ lfs f1, 0x2c(r29) +/* 802DAAF8 002D7A58 81 3D 00 30 */ lwz r9, 0x30(r29) +/* 802DAAFC 002D7A5C 81 5D 00 34 */ lwz r10, 0x34(r29) +/* 802DAB00 002D7A60 C0 5D 00 3C */ lfs f2, 0x3c(r29) +/* 802DAB04 002D7A64 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 802DAB08 002D7A68 4B D5 57 49 */ bl "__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff" +/* 802DAB0C 002D7A6C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DAB10 002D7A70 48 06 2F D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DAB14 002D7A74 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DAB18 002D7A78 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802DAB1C 002D7A7C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802DAB20 002D7A80 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802DAB24 002D7A84 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802DAB28 002D7A88 7C 08 03 A6 */ mtlr r0 +/* 802DAB2C 002D7A8C 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DAB30 002D7A90 4E 80 00 20 */ blr + +.global __dt__17CAnimTreeSequenceFv +__dt__17CAnimTreeSequenceFv: +/* 802DAB34 002D7A94 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DAB38 002D7A98 7C 08 02 A6 */ mflr r0 +/* 802DAB3C 002D7A9C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DAB40 002D7AA0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802DAB44 002D7AA4 7C 9F 23 78 */ mr r31, r4 +/* 802DAB48 002D7AA8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802DAB4C 002D7AAC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802DAB50 002D7AB0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802DAB54 002D7AB4 93 81 00 20 */ stw r28, 0x20(r1) +/* 802DAB58 002D7AB8 41 82 01 1C */ beq lbl_802DAC74 +/* 802DAB5C 002D7ABC 3C 80 80 3F */ lis r4, lbl_803ECC58@ha +/* 802DAB60 002D7AC0 38 7E 00 3C */ addi r3, r30, 0x3c +/* 802DAB64 002D7AC4 38 04 CC 58 */ addi r0, r4, lbl_803ECC58@l +/* 802DAB68 002D7AC8 38 80 FF FF */ li r4, -1 +/* 802DAB6C 002D7ACC 90 1E 00 00 */ stw r0, 0(r30) +/* 802DAB70 002D7AD0 4B FF DC A1 */ bl sub_802d8810 +/* 802DAB74 002D7AD4 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 802DAB78 002D7AD8 41 82 00 54 */ beq lbl_802DABCC +/* 802DAB7C 002D7ADC 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802DAB80 002D7AE0 83 9E 00 34 */ lwz r28, 0x34(r30) +/* 802DAB84 002D7AE4 54 00 10 3A */ slwi r0, r0, 2 +/* 802DAB88 002D7AE8 7F BC 02 14 */ add r29, r28, r0 +/* 802DAB8C 002D7AEC 93 81 00 0C */ stw r28, 0xc(r1) +/* 802DAB90 002D7AF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DAB94 002D7AF4 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802DAB98 002D7AF8 93 81 00 08 */ stw r28, 8(r1) +/* 802DAB9C 002D7AFC 48 00 00 18 */ b lbl_802DABB4 +lbl_802DABA0: +/* 802DABA0 002D7B00 28 1C 00 00 */ cmplwi r28, 0 +/* 802DABA4 002D7B04 41 82 00 0C */ beq lbl_802DABB0 +/* 802DABA8 002D7B08 7F 83 E3 78 */ mr r3, r28 +/* 802DABAC 002D7B0C 4B D5 63 85 */ bl sub_80030f30 +lbl_802DABB0: +/* 802DABB0 002D7B10 3B 9C 00 04 */ addi r28, r28, 4 +lbl_802DABB4: +/* 802DABB4 002D7B14 7C 1C E8 40 */ cmplw r28, r29 +/* 802DABB8 002D7B18 40 82 FF E8 */ bne lbl_802DABA0 +/* 802DABBC 002D7B1C 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802DABC0 002D7B20 28 03 00 00 */ cmplwi r3, 0 +/* 802DABC4 002D7B24 41 82 00 08 */ beq lbl_802DABCC +/* 802DABC8 002D7B28 48 03 AD 69 */ bl Free__7CMemoryFPCv +lbl_802DABCC: +/* 802DABCC 002D7B2C 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802DABD0 002D7B30 41 82 00 2C */ beq lbl_802DABFC +/* 802DABD4 002D7B34 34 7E 00 20 */ addic. r3, r30, 0x20 +/* 802DABD8 002D7B38 41 82 00 10 */ beq lbl_802DABE8 +/* 802DABDC 002D7B3C 28 03 00 00 */ cmplwi r3, 0 +/* 802DABE0 002D7B40 41 82 00 08 */ beq lbl_802DABE8 +/* 802DABE4 002D7B44 4B D5 6B 45 */ bl sub_80031728 +lbl_802DABE8: +/* 802DABE8 002D7B48 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802DABEC 002D7B4C 41 82 00 10 */ beq lbl_802DABFC +/* 802DABF0 002D7B50 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802DABF4 002D7B54 38 80 00 00 */ li r4, 0 +/* 802DABF8 002D7B58 48 06 62 49 */ bl __dt__6CTokenFv +lbl_802DABFC: +/* 802DABFC 002D7B5C 28 1E 00 00 */ cmplwi r30, 0 +/* 802DAC00 002D7B60 41 82 00 64 */ beq lbl_802DAC64 +/* 802DAC04 002D7B64 3C 60 80 3F */ lis r3, lbl_803ED240@ha +/* 802DAC08 002D7B68 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802DAC0C 002D7B6C 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l +/* 802DAC10 002D7B70 90 1E 00 00 */ stw r0, 0(r30) +/* 802DAC14 002D7B74 41 82 00 14 */ beq lbl_802DAC28 +/* 802DAC18 002D7B78 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802DAC1C 002D7B7C 41 82 00 0C */ beq lbl_802DAC28 +/* 802DAC20 002D7B80 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802DAC24 002D7B84 4B D5 63 7D */ bl sub_80030fa0 +lbl_802DAC28: +/* 802DAC28 002D7B88 28 1E 00 00 */ cmplwi r30, 0 +/* 802DAC2C 002D7B8C 41 82 00 38 */ beq lbl_802DAC64 +/* 802DAC30 002D7B90 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802DAC34 002D7B94 38 80 00 02 */ li r4, 2 +/* 802DAC38 002D7B98 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802DAC3C 002D7B9C 90 1E 00 00 */ stw r0, 0(r30) +/* 802DAC40 002D7BA0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DAC44 002D7BA4 48 01 CF 65 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802DAC48 002D7BA8 34 1E 00 04 */ addic. r0, r30, 4 +/* 802DAC4C 002D7BAC 41 82 00 0C */ beq lbl_802DAC58 +/* 802DAC50 002D7BB0 38 7E 00 04 */ addi r3, r30, 4 +/* 802DAC54 002D7BB4 48 06 2E 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DAC58: +/* 802DAC58 002D7BB8 7F C3 F3 78 */ mr r3, r30 +/* 802DAC5C 002D7BBC 38 80 00 00 */ li r4, 0 +/* 802DAC60 002D7BC0 48 02 32 75 */ bl __dt__11IAnimReaderFv +lbl_802DAC64: +/* 802DAC64 002D7BC4 7F E0 07 35 */ extsh. r0, r31 +/* 802DAC68 002D7BC8 40 81 00 0C */ ble lbl_802DAC74 +/* 802DAC6C 002D7BCC 7F C3 F3 78 */ mr r3, r30 +/* 802DAC70 002D7BD0 48 03 AC C1 */ bl Free__7CMemoryFPCv +lbl_802DAC74: +/* 802DAC74 002D7BD4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DAC78 002D7BD8 7F C3 F3 78 */ mr r3, r30 +/* 802DAC7C 002D7BDC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802DAC80 002D7BE0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802DAC84 002D7BE4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DAC88 002D7BE8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802DAC8C 002D7BEC 7C 08 03 A6 */ mtlr r0 +/* 802DAC90 002D7BF0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DAC94 002D7BF4 4E 80 00 20 */ blr + +.global sub_802dac98 +sub_802dac98: +/* 802DAC98 002D7BF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DAC9C 002D7BFC 7C 08 02 A6 */ mflr r0 +/* 802DACA0 002D7C00 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DACA4 002D7C04 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DACA8 002D7C08 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DACAC 002D7C0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DACB0 002D7C10 7C 7F 1B 78 */ mr r31, r3 +/* 802DACB4 002D7C14 4B D2 A0 05 */ bl string_l__4rstlFPCc +/* 802DACB8 002D7C18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DACBC 002D7C1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DACC0 002D7C20 7C 08 03 A6 */ mtlr r0 +/* 802DACC4 002D7C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DACC8 002D7C28 4E 80 00 20 */ blr + +.global VGetContributionOfHighestInfluence__17CAnimTreeSequenceCFv +VGetContributionOfHighestInfluence__17CAnimTreeSequenceCFv: +/* 802DACCC 002D7C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DACD0 002D7C30 7C 08 02 A6 */ mflr r0 +/* 802DACD4 002D7C34 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DACD8 002D7C38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DACDC 002D7C3C 7C 7F 1B 78 */ mr r31, r3 +/* 802DACE0 002D7C40 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802DACE4 002D7C44 80 84 00 00 */ lwz r4, 0(r4) +/* 802DACE8 002D7C48 4B D5 3E A1 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802DACEC 002D7C4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DACF0 002D7C50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DACF4 002D7C54 7C 08 03 A6 */ mtlr r0 +/* 802DACF8 002D7C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DACFC 002D7C5C 4E 80 00 20 */ blr + +.global VSupportsReverseView__17CAnimTreeSequenceCFv +VSupportsReverseView__17CAnimTreeSequenceCFv: +/* 802DAD00 002D7C60 38 60 00 00 */ li r3, 0 +/* 802DAD04 002D7C64 4E 80 00 20 */ blr + +.global VGetBestUnblendedChild__17CAnimTreeSequenceCFv +VGetBestUnblendedChild__17CAnimTreeSequenceCFv: +/* 802DAD08 002D7C68 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DAD0C 002D7C6C 7C 08 02 A6 */ mflr r0 +/* 802DAD10 002D7C70 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DAD14 002D7C74 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 802DAD18 002D7C78 7C 9D 23 78 */ mr r29, r4 +/* 802DAD1C 002D7C7C 7C 7F 1B 78 */ mr r31, r3 +/* 802DAD20 002D7C80 38 61 00 0C */ addi r3, r1, 0xc +/* 802DAD24 002D7C84 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802DAD28 002D7C88 80 84 00 00 */ lwz r4, 0(r4) +/* 802DAD2C 002D7C8C 4B FF E1 55 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802DAD30 002D7C90 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802DAD34 002D7C94 38 61 00 0C */ addi r3, r1, 0xc +/* 802DAD38 002D7C98 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802DAD3C 002D7C9C 80 85 00 04 */ lwz r4, 4(r5) +/* 802DAD40 002D7CA0 38 04 00 01 */ addi r0, r4, 1 +/* 802DAD44 002D7CA4 90 05 00 04 */ stw r0, 4(r5) +/* 802DAD48 002D7CA8 4B D5 62 59 */ bl sub_80030fa0 +/* 802DAD4C 002D7CAC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802DAD50 002D7CB0 80 03 00 00 */ lwz r0, 0(r3) +/* 802DAD54 002D7CB4 28 00 00 00 */ cmplwi r0, 0 +/* 802DAD58 002D7CB8 41 82 00 F8 */ beq lbl_802DAE50 +/* 802DAD5C 002D7CBC 3C 60 80 3D */ lis r3, lbl_803D6D40@ha +/* 802DAD60 002D7CC0 3B 80 00 00 */ li r28, 0 +/* 802DAD64 002D7CC4 38 63 6D 40 */ addi r3, r3, lbl_803D6D40@l +/* 802DAD68 002D7CC8 3B 60 00 00 */ li r27, 0 +/* 802DAD6C 002D7CCC 38 83 00 01 */ addi r4, r3, 1 +/* 802DAD70 002D7CD0 38 60 00 9C */ li r3, 0x9c +/* 802DAD74 002D7CD4 38 A0 00 00 */ li r5, 0 +/* 802DAD78 002D7CD8 48 03 AA F5 */ bl __nw__FUlPCcPCc +/* 802DAD7C 002D7CDC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802DAD80 002D7CE0 41 82 00 50 */ beq lbl_802DADD0 +/* 802DAD84 002D7CE4 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802DAD88 002D7CE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DAD8C 002D7CEC 80 84 00 00 */ lwz r4, 0(r4) +/* 802DAD90 002D7CF0 4B FA 7D 51 */ bl Clone__11IAnimReaderCFv +/* 802DAD94 002D7CF4 38 61 00 08 */ addi r3, r1, 8 +/* 802DAD98 002D7CF8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802DAD9C 002D7CFC 3B 80 00 01 */ li r28, 1 +/* 802DADA0 002D7D00 48 01 8E 59 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802DADA4 002D7D04 80 FD 00 38 */ lwz r7, 0x38(r29) +/* 802DADA8 002D7D08 7F C3 F3 78 */ mr r3, r30 +/* 802DADAC 002D7D0C 38 81 00 08 */ addi r4, r1, 8 +/* 802DADB0 002D7D10 38 BD 00 28 */ addi r5, r29, 0x28 +/* 802DADB4 002D7D14 38 DD 00 18 */ addi r6, r29, 0x18 +/* 802DADB8 002D7D18 39 1D 00 04 */ addi r8, r29, 4 +/* 802DADBC 002D7D1C 39 3D 00 3C */ addi r9, r29, 0x3c +/* 802DADC0 002D7D20 39 5D 00 94 */ addi r10, r29, 0x94 +/* 802DADC4 002D7D24 3B 60 00 01 */ li r27, 1 +/* 802DADC8 002D7D28 48 00 13 2D */ bl "__ct__17CAnimTreeSequenceFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContextiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +/* 802DADCC 002D7D2C 7C 7E 1B 78 */ mr r30, r3 +lbl_802DADD0: +/* 802DADD0 002D7D30 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DADD4 002D7D34 38 60 00 08 */ li r3, 8 +/* 802DADD8 002D7D38 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DADDC 002D7D3C 38 A0 00 00 */ li r5, 0 +/* 802DADE0 002D7D40 38 84 00 01 */ addi r4, r4, 1 +/* 802DADE4 002D7D44 48 03 AA 89 */ bl __nw__FUlPCcPCc +/* 802DADE8 002D7D48 28 03 00 00 */ cmplwi r3, 0 +/* 802DADEC 002D7D4C 41 82 00 10 */ beq lbl_802DADFC +/* 802DADF0 002D7D50 93 C3 00 00 */ stw r30, 0(r3) +/* 802DADF4 002D7D54 38 00 00 01 */ li r0, 1 +/* 802DADF8 002D7D58 90 03 00 04 */ stw r0, 4(r3) +lbl_802DADFC: +/* 802DADFC 002D7D5C 7F 60 07 75 */ extsb. r0, r27 +/* 802DAE00 002D7D60 90 7F 00 00 */ stw r3, 0(r31) +/* 802DAE04 002D7D64 41 82 00 0C */ beq lbl_802DAE10 +/* 802DAE08 002D7D68 38 61 00 08 */ addi r3, r1, 8 +/* 802DAE0C 002D7D6C 4B D5 61 95 */ bl sub_80030fa0 +lbl_802DAE10: +/* 802DAE10 002D7D70 7F 80 07 75 */ extsb. r0, r28 +/* 802DAE14 002D7D74 41 82 00 30 */ beq lbl_802DAE44 +/* 802DAE18 002D7D78 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802DAE1C 002D7D7C 28 00 00 00 */ cmplwi r0, 0 +/* 802DAE20 002D7D80 41 82 00 24 */ beq lbl_802DAE44 +/* 802DAE24 002D7D84 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802DAE28 002D7D88 28 03 00 00 */ cmplwi r3, 0 +/* 802DAE2C 002D7D8C 41 82 00 18 */ beq lbl_802DAE44 +/* 802DAE30 002D7D90 81 83 00 00 */ lwz r12, 0(r3) +/* 802DAE34 002D7D94 38 80 00 01 */ li r4, 1 +/* 802DAE38 002D7D98 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DAE3C 002D7D9C 7D 89 03 A6 */ mtctr r12 +/* 802DAE40 002D7DA0 4E 80 04 21 */ bctrl +lbl_802DAE44: +/* 802DAE44 002D7DA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DAE48 002D7DA8 4B D5 61 59 */ bl sub_80030fa0 +/* 802DAE4C 002D7DAC 48 00 00 20 */ b lbl_802DAE6C +lbl_802DAE50: +/* 802DAE50 002D7DB0 90 7F 00 00 */ stw r3, 0(r31) +/* 802DAE54 002D7DB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DAE58 002D7DB8 80 BF 00 00 */ lwz r5, 0(r31) +/* 802DAE5C 002D7DBC 80 85 00 04 */ lwz r4, 4(r5) +/* 802DAE60 002D7DC0 38 04 00 01 */ addi r0, r4, 1 +/* 802DAE64 002D7DC4 90 05 00 04 */ stw r0, 4(r5) +/* 802DAE68 002D7DC8 4B D5 61 39 */ bl sub_80030fa0 +lbl_802DAE6C: +/* 802DAE6C 002D7DCC BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802DAE70 002D7DD0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DAE74 002D7DD4 7C 08 03 A6 */ mtlr r0 +/* 802DAE78 002D7DD8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DAE7C 002D7DDC 4E 80 00 20 */ blr + +.global VClone__17CAnimTreeSequenceCFv +VClone__17CAnimTreeSequenceCFv: +/* 802DAE80 002D7DE0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DAE84 002D7DE4 7C 08 02 A6 */ mflr r0 +/* 802DAE88 002D7DE8 3C A0 80 3D */ lis r5, lbl_803D6D40@ha +/* 802DAE8C 002D7DEC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DAE90 002D7DF0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DAE94 002D7DF4 7C 7D 1B 78 */ mr r29, r3 +/* 802DAE98 002D7DF8 38 65 6D 40 */ addi r3, r5, lbl_803D6D40@l +/* 802DAE9C 002D7DFC 7C 9E 23 78 */ mr r30, r4 +/* 802DAEA0 002D7E00 38 83 00 01 */ addi r4, r3, 1 +/* 802DAEA4 002D7E04 3B 80 00 00 */ li r28, 0 +/* 802DAEA8 002D7E08 3B 60 00 00 */ li r27, 0 +/* 802DAEAC 002D7E0C 38 60 00 9C */ li r3, 0x9c +/* 802DAEB0 002D7E10 38 A0 00 00 */ li r5, 0 +/* 802DAEB4 002D7E14 48 03 A9 B9 */ bl __nw__FUlPCcPCc +/* 802DAEB8 002D7E18 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802DAEBC 002D7E1C 41 82 00 50 */ beq lbl_802DAF0C +/* 802DAEC0 002D7E20 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802DAEC4 002D7E24 38 61 00 0C */ addi r3, r1, 0xc +/* 802DAEC8 002D7E28 80 84 00 00 */ lwz r4, 0(r4) +/* 802DAECC 002D7E2C 4B FA 7C 15 */ bl Clone__11IAnimReaderCFv +/* 802DAED0 002D7E30 38 61 00 08 */ addi r3, r1, 8 +/* 802DAED4 002D7E34 38 81 00 0C */ addi r4, r1, 0xc +/* 802DAED8 002D7E38 3B 80 00 01 */ li r28, 1 +/* 802DAEDC 002D7E3C 48 01 8D 1D */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802DAEE0 002D7E40 80 FE 00 38 */ lwz r7, 0x38(r30) +/* 802DAEE4 002D7E44 7F E3 FB 78 */ mr r3, r31 +/* 802DAEE8 002D7E48 38 81 00 08 */ addi r4, r1, 8 +/* 802DAEEC 002D7E4C 38 BE 00 28 */ addi r5, r30, 0x28 +/* 802DAEF0 002D7E50 38 DE 00 18 */ addi r6, r30, 0x18 +/* 802DAEF4 002D7E54 39 1E 00 04 */ addi r8, r30, 4 +/* 802DAEF8 002D7E58 39 3E 00 3C */ addi r9, r30, 0x3c +/* 802DAEFC 002D7E5C 39 5E 00 94 */ addi r10, r30, 0x94 +/* 802DAF00 002D7E60 3B 60 00 01 */ li r27, 1 +/* 802DAF04 002D7E64 48 00 11 F1 */ bl "__ct__17CAnimTreeSequenceFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContextiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +/* 802DAF08 002D7E68 7C 7F 1B 78 */ mr r31, r3 +lbl_802DAF0C: +/* 802DAF0C 002D7E6C 7C 7F 00 D0 */ neg r3, r31 +/* 802DAF10 002D7E70 7F 60 07 75 */ extsb. r0, r27 +/* 802DAF14 002D7E74 7C 60 FB 78 */ or r0, r3, r31 +/* 802DAF18 002D7E78 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802DAF1C 002D7E7C 98 1D 00 00 */ stb r0, 0(r29) +/* 802DAF20 002D7E80 93 FD 00 04 */ stw r31, 4(r29) +/* 802DAF24 002D7E84 41 82 00 0C */ beq lbl_802DAF30 +/* 802DAF28 002D7E88 38 61 00 08 */ addi r3, r1, 8 +/* 802DAF2C 002D7E8C 4B D5 60 75 */ bl sub_80030fa0 +lbl_802DAF30: +/* 802DAF30 002D7E90 7F 80 07 75 */ extsb. r0, r28 +/* 802DAF34 002D7E94 41 82 00 30 */ beq lbl_802DAF64 +/* 802DAF38 002D7E98 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802DAF3C 002D7E9C 28 00 00 00 */ cmplwi r0, 0 +/* 802DAF40 002D7EA0 41 82 00 24 */ beq lbl_802DAF64 +/* 802DAF44 002D7EA4 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802DAF48 002D7EA8 28 03 00 00 */ cmplwi r3, 0 +/* 802DAF4C 002D7EAC 41 82 00 18 */ beq lbl_802DAF64 +/* 802DAF50 002D7EB0 81 83 00 00 */ lwz r12, 0(r3) +/* 802DAF54 002D7EB4 38 80 00 01 */ li r4, 1 +/* 802DAF58 002D7EB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DAF5C 002D7EBC 7D 89 03 A6 */ mtctr r12 +/* 802DAF60 002D7EC0 4E 80 04 21 */ bctrl +lbl_802DAF64: +/* 802DAF64 002D7EC4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DAF68 002D7EC8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DAF6C 002D7ECC 7C 08 03 A6 */ mtlr r0 +/* 802DAF70 002D7ED0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DAF74 002D7ED4 4E 80 00 20 */ blr + +.global VGetSoundPOIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802DAF78 002D7ED8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DAF7C 002D7EDC 7C 08 02 A6 */ mflr r0 +/* 802DAF80 002D7EE0 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DAF84 002D7EE4 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802DAF88 002D7EE8 7C 7A 1B 78 */ mr r26, r3 +/* 802DAF8C 002D7EEC 7C 9B 23 78 */ mr r27, r4 +/* 802DAF90 002D7EF0 7C BC 2B 78 */ mr r28, r5 +/* 802DAF94 002D7EF4 7C DF 33 78 */ mr r31, r6 +/* 802DAF98 002D7EF8 7C FE 3B 78 */ mr r30, r7 +/* 802DAF9C 002D7EFC 7D 1D 43 78 */ mr r29, r8 +/* 802DAFA0 002D7F00 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DAFA4 002D7F04 38 9A 00 84 */ addi r4, r26, 0x84 +/* 802DAFA8 002D7F08 4B FF E5 0D */ bl sub_802d94b4 +/* 802DAFAC 002D7F0C 7F 63 DB 78 */ mr r3, r27 +/* 802DAFB0 002D7F10 7F 84 E3 78 */ mr r4, r28 +/* 802DAFB4 002D7F14 7F E5 FB 78 */ mr r5, r31 +/* 802DAFB8 002D7F18 7F C6 F3 78 */ mr r6, r30 +/* 802DAFBC 002D7F1C 7F A7 EB 78 */ mr r7, r29 +/* 802DAFC0 002D7F20 39 01 00 18 */ addi r8, r1, 0x18 +/* 802DAFC4 002D7F24 39 3A 00 94 */ addi r9, r26, 0x94 +/* 802DAFC8 002D7F28 48 00 1E 99 */ bl "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802DAFCC 002D7F2C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802DAFD0 002D7F30 7C 7E 1B 78 */ mr r30, r3 +/* 802DAFD4 002D7F34 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DAFD8 002D7F38 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802DAFDC 002D7F3C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DAFE0 002D7F40 7F FD 02 14 */ add r31, r29, r0 +/* 802DAFE4 002D7F44 93 A1 00 08 */ stw r29, 8(r1) +/* 802DAFE8 002D7F48 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DAFEC 002D7F4C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DAFF0 002D7F50 48 00 00 20 */ b lbl_802DB010 +lbl_802DAFF4: +/* 802DAFF4 002D7F54 7F A3 EB 78 */ mr r3, r29 +/* 802DAFF8 002D7F58 38 80 FF FF */ li r4, -1 +/* 802DAFFC 002D7F5C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802DB000 002D7F60 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DB004 002D7F64 7D 89 03 A6 */ mtctr r12 +/* 802DB008 002D7F68 4E 80 04 21 */ bctrl +/* 802DB00C 002D7F6C 3B BD 00 44 */ addi r29, r29, 0x44 +lbl_802DB010: +/* 802DB010 002D7F70 7C 1D F8 40 */ cmplw r29, r31 +/* 802DB014 002D7F74 40 82 FF E0 */ bne lbl_802DAFF4 +/* 802DB018 002D7F78 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB01C 002D7F7C 28 03 00 00 */ cmplwi r3, 0 +/* 802DB020 002D7F80 41 82 00 08 */ beq lbl_802DB028 +/* 802DB024 002D7F84 48 03 A9 0D */ bl Free__7CMemoryFPCv +lbl_802DB028: +/* 802DB028 002D7F88 7F C3 F3 78 */ mr r3, r30 +/* 802DB02C 002D7F8C BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802DB030 002D7F90 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DB034 002D7F94 7C 08 03 A6 */ mtlr r0 +/* 802DB038 002D7F98 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DB03C 002D7F9C 4E 80 00 20 */ blr + +.global VGetParticlePOIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802DB040 002D7FA0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DB044 002D7FA4 7C 08 02 A6 */ mflr r0 +/* 802DB048 002D7FA8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DB04C 002D7FAC BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802DB050 002D7FB0 7C 7A 1B 78 */ mr r26, r3 +/* 802DB054 002D7FB4 7C 9B 23 78 */ mr r27, r4 +/* 802DB058 002D7FB8 7C BC 2B 78 */ mr r28, r5 +/* 802DB05C 002D7FBC 7C DF 33 78 */ mr r31, r6 +/* 802DB060 002D7FC0 7C FE 3B 78 */ mr r30, r7 +/* 802DB064 002D7FC4 7D 1D 43 78 */ mr r29, r8 +/* 802DB068 002D7FC8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DB06C 002D7FCC 38 9A 00 74 */ addi r4, r26, 0x74 +/* 802DB070 002D7FD0 4B FF E5 91 */ bl sub_802d9600 +/* 802DB074 002D7FD4 7F 63 DB 78 */ mr r3, r27 +/* 802DB078 002D7FD8 7F 84 E3 78 */ mr r4, r28 +/* 802DB07C 002D7FDC 7F E5 FB 78 */ mr r5, r31 +/* 802DB080 002D7FE0 7F C6 F3 78 */ mr r6, r30 +/* 802DB084 002D7FE4 7F A7 EB 78 */ mr r7, r29 +/* 802DB088 002D7FE8 39 01 00 18 */ addi r8, r1, 0x18 +/* 802DB08C 002D7FEC 39 3A 00 94 */ addi r9, r26, 0x94 +/* 802DB090 002D7FF0 48 00 19 FD */ bl sub_802dca8c +/* 802DB094 002D7FF4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802DB098 002D7FF8 7C 7E 1B 78 */ mr r30, r3 +/* 802DB09C 002D7FFC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DB0A0 002D8000 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802DB0A4 002D8004 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DB0A8 002D8008 7F FD 02 14 */ add r31, r29, r0 +/* 802DB0AC 002D800C 93 A1 00 08 */ stw r29, 8(r1) +/* 802DB0B0 002D8010 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DB0B4 002D8014 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DB0B8 002D8018 48 00 00 20 */ b lbl_802DB0D8 +lbl_802DB0BC: +/* 802DB0BC 002D801C 7F A3 EB 78 */ mr r3, r29 +/* 802DB0C0 002D8020 38 80 FF FF */ li r4, -1 +/* 802DB0C4 002D8024 81 9D 00 00 */ lwz r12, 0(r29) +/* 802DB0C8 002D8028 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DB0CC 002D802C 7D 89 03 A6 */ mtctr r12 +/* 802DB0D0 002D8030 4E 80 04 21 */ bctrl +/* 802DB0D4 002D8034 3B BD 00 5C */ addi r29, r29, 0x5c +lbl_802DB0D8: +/* 802DB0D8 002D8038 7C 1D F8 40 */ cmplw r29, r31 +/* 802DB0DC 002D803C 40 82 FF E0 */ bne lbl_802DB0BC +/* 802DB0E0 002D8040 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB0E4 002D8044 28 03 00 00 */ cmplwi r3, 0 +/* 802DB0E8 002D8048 41 82 00 08 */ beq lbl_802DB0F0 +/* 802DB0EC 002D804C 48 03 A8 45 */ bl Free__7CMemoryFPCv +lbl_802DB0F0: +/* 802DB0F0 002D8050 7F C3 F3 78 */ mr r3, r30 +/* 802DB0F4 002D8054 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802DB0F8 002D8058 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DB0FC 002D805C 7C 08 03 A6 */ mtlr r0 +/* 802DB100 002D8060 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DB104 002D8064 4E 80 00 20 */ blr + +.global VGetInt32POIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802DB108 002D8068 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DB10C 002D806C 7C 08 02 A6 */ mflr r0 +/* 802DB110 002D8070 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DB114 002D8074 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802DB118 002D8078 7C 7A 1B 78 */ mr r26, r3 +/* 802DB11C 002D807C 7C 9B 23 78 */ mr r27, r4 +/* 802DB120 002D8080 7C BC 2B 78 */ mr r28, r5 +/* 802DB124 002D8084 7C DF 33 78 */ mr r31, r6 +/* 802DB128 002D8088 7C FE 3B 78 */ mr r30, r7 +/* 802DB12C 002D808C 7D 1D 43 78 */ mr r29, r8 +/* 802DB130 002D8090 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DB134 002D8094 38 9A 00 64 */ addi r4, r26, 0x64 +/* 802DB138 002D8098 4B FF E6 89 */ bl "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" +/* 802DB13C 002D809C 7F 63 DB 78 */ mr r3, r27 +/* 802DB140 002D80A0 7F 84 E3 78 */ mr r4, r28 +/* 802DB144 002D80A4 7F E5 FB 78 */ mr r5, r31 +/* 802DB148 002D80A8 7F C6 F3 78 */ mr r6, r30 +/* 802DB14C 002D80AC 7F A7 EB 78 */ mr r7, r29 +/* 802DB150 002D80B0 39 01 00 18 */ addi r8, r1, 0x18 +/* 802DB154 002D80B4 39 3A 00 94 */ addi r9, r26, 0x94 +/* 802DB158 002D80B8 48 00 15 F5 */ bl sub_802dc74c +/* 802DB15C 002D80BC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802DB160 002D80C0 7C 7E 1B 78 */ mr r30, r3 +/* 802DB164 002D80C4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DB168 002D80C8 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802DB16C 002D80CC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DB170 002D80D0 7F FD 02 14 */ add r31, r29, r0 +/* 802DB174 002D80D4 93 A1 00 08 */ stw r29, 8(r1) +/* 802DB178 002D80D8 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DB17C 002D80DC 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DB180 002D80E0 48 00 00 20 */ b lbl_802DB1A0 +lbl_802DB184: +/* 802DB184 002D80E4 7F A3 EB 78 */ mr r3, r29 +/* 802DB188 002D80E8 38 80 FF FF */ li r4, -1 +/* 802DB18C 002D80EC 81 9D 00 00 */ lwz r12, 0(r29) +/* 802DB190 002D80F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DB194 002D80F4 7D 89 03 A6 */ mtctr r12 +/* 802DB198 002D80F8 4E 80 04 21 */ bctrl +/* 802DB19C 002D80FC 3B BD 00 4C */ addi r29, r29, 0x4c +lbl_802DB1A0: +/* 802DB1A0 002D8100 7C 1D F8 40 */ cmplw r29, r31 +/* 802DB1A4 002D8104 40 82 FF E0 */ bne lbl_802DB184 +/* 802DB1A8 002D8108 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB1AC 002D810C 28 03 00 00 */ cmplwi r3, 0 +/* 802DB1B0 002D8110 41 82 00 08 */ beq lbl_802DB1B8 +/* 802DB1B4 002D8114 48 03 A7 7D */ bl Free__7CMemoryFPCv +lbl_802DB1B8: +/* 802DB1B8 002D8118 7F C3 F3 78 */ mr r3, r30 +/* 802DB1BC 002D811C BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802DB1C0 002D8120 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DB1C4 002D8124 7C 08 03 A6 */ mtlr r0 +/* 802DB1C8 002D8128 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DB1CC 002D812C 4E 80 00 20 */ blr + +.global VGetBoolPOIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__17CAnimTreeSequenceCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802DB1D0 002D8130 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DB1D4 002D8134 7C 08 02 A6 */ mflr r0 +/* 802DB1D8 002D8138 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DB1DC 002D813C BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802DB1E0 002D8140 7C 7A 1B 78 */ mr r26, r3 +/* 802DB1E4 002D8144 7C 9B 23 78 */ mr r27, r4 +/* 802DB1E8 002D8148 7C BC 2B 78 */ mr r28, r5 +/* 802DB1EC 002D814C 7C DF 33 78 */ mr r31, r6 +/* 802DB1F0 002D8150 7C FE 3B 78 */ mr r30, r7 +/* 802DB1F4 002D8154 7D 1D 43 78 */ mr r29, r8 +/* 802DB1F8 002D8158 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DB1FC 002D815C 38 9A 00 54 */ addi r4, r26, 0x54 +/* 802DB200 002D8160 4B FF E7 09 */ bl "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" +/* 802DB204 002D8164 7F 63 DB 78 */ mr r3, r27 +/* 802DB208 002D8168 7F 84 E3 78 */ mr r4, r28 +/* 802DB20C 002D816C 7F E5 FB 78 */ mr r5, r31 +/* 802DB210 002D8170 7F C6 F3 78 */ mr r6, r30 +/* 802DB214 002D8174 7F A7 EB 78 */ mr r7, r29 +/* 802DB218 002D8178 39 01 00 18 */ addi r8, r1, 0x18 +/* 802DB21C 002D817C 39 3A 00 94 */ addi r9, r26, 0x94 +/* 802DB220 002D8180 48 00 12 69 */ bl sub_802dc488 +/* 802DB224 002D8184 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802DB228 002D8188 7C 7E 1B 78 */ mr r30, r3 +/* 802DB22C 002D818C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DB230 002D8190 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802DB234 002D8194 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DB238 002D8198 7F FD 02 14 */ add r31, r29, r0 +/* 802DB23C 002D819C 93 A1 00 08 */ stw r29, 8(r1) +/* 802DB240 002D81A0 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DB244 002D81A4 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DB248 002D81A8 48 00 00 20 */ b lbl_802DB268 +lbl_802DB24C: +/* 802DB24C 002D81AC 7F A3 EB 78 */ mr r3, r29 +/* 802DB250 002D81B0 38 80 FF FF */ li r4, -1 +/* 802DB254 002D81B4 81 9D 00 00 */ lwz r12, 0(r29) +/* 802DB258 002D81B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DB25C 002D81BC 7D 89 03 A6 */ mtctr r12 +/* 802DB260 002D81C0 4E 80 04 21 */ bctrl +/* 802DB264 002D81C4 3B BD 00 3C */ addi r29, r29, 0x3c +lbl_802DB268: +/* 802DB268 002D81C8 7C 1D F8 40 */ cmplw r29, r31 +/* 802DB26C 002D81CC 40 82 FF E0 */ bne lbl_802DB24C +/* 802DB270 002D81D0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB274 002D81D4 28 03 00 00 */ cmplwi r3, 0 +/* 802DB278 002D81D8 41 82 00 08 */ beq lbl_802DB280 +/* 802DB27C 002D81DC 48 03 A6 B5 */ bl Free__7CMemoryFPCv +lbl_802DB280: +/* 802DB280 002D81E0 7F C3 F3 78 */ mr r3, r30 +/* 802DB284 002D81E4 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802DB288 002D81E8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DB28C 002D81EC 7C 08 03 A6 */ mtlr r0 +/* 802DB290 002D81F0 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DB294 002D81F4 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__17CAnimTreeSequenceCFv +VGetSteadyStateAnimInfo__17CAnimTreeSequenceCFv: +/* 802DB298 002D81F8 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 802DB29C 002D81FC D0 03 00 00 */ stfs f0, 0(r3) +/* 802DB2A0 002D8200 80 04 00 40 */ lwz r0, 0x40(r4) +/* 802DB2A4 002D8204 90 03 00 04 */ stw r0, 4(r3) +/* 802DB2A8 002D8208 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 802DB2AC 002D820C D0 03 00 08 */ stfs f0, 8(r3) +/* 802DB2B0 002D8210 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 802DB2B4 002D8214 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802DB2B8 002D8218 C0 04 00 4C */ lfs f0, 0x4c(r4) +/* 802DB2BC 002D821C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802DB2C0 002D8220 88 04 00 50 */ lbz r0, 0x50(r4) +/* 802DB2C4 002D8224 98 03 00 14 */ stb r0, 0x14(r3) +/* 802DB2C8 002D8228 4E 80 00 20 */ blr + +.global VGetTimeRemaining__17CAnimTreeSequenceCFv +VGetTimeRemaining__17CAnimTreeSequenceCFv: +/* 802DB2CC 002D822C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DB2D0 002D8230 7C 08 02 A6 */ mflr r0 +/* 802DB2D4 002D8234 7C 86 23 78 */ mr r6, r4 +/* 802DB2D8 002D8238 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DB2DC 002D823C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DB2E0 002D8240 7C 7F 1B 78 */ mr r31, r3 +/* 802DB2E4 002D8244 80 84 00 2C */ lwz r4, 0x2c(r4) +/* 802DB2E8 002D8248 80 A6 00 38 */ lwz r5, 0x38(r6) +/* 802DB2EC 002D824C 38 04 FF FF */ addi r0, r4, -1 +/* 802DB2F0 002D8250 7C 05 00 00 */ cmpw r5, r0 +/* 802DB2F4 002D8254 40 82 00 20 */ bne lbl_802DB314 +/* 802DB2F8 002D8258 80 86 00 14 */ lwz r4, 0x14(r6) +/* 802DB2FC 002D825C 80 84 00 00 */ lwz r4, 0(r4) +/* 802DB300 002D8260 81 84 00 00 */ lwz r12, 0(r4) +/* 802DB304 002D8264 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802DB308 002D8268 7D 89 03 A6 */ mtctr r12 +/* 802DB30C 002D826C 4E 80 04 21 */ bctrl +/* 802DB310 002D8270 48 00 00 24 */ b lbl_802DB334 +lbl_802DB314: +/* 802DB314 002D8274 80 06 00 40 */ lwz r0, 0x40(r6) +/* 802DB318 002D8278 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DB31C 002D827C C0 06 00 3C */ lfs f0, 0x3c(r6) +/* 802DB320 002D8280 38 A6 00 94 */ addi r5, r6, 0x94 +/* 802DB324 002D8284 90 01 00 0C */ stw r0, 0xc(r1) +/* 802DB328 002D8288 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802DB32C 002D828C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DB330 002D8290 48 06 D4 35 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +lbl_802DB334: +/* 802DB334 002D8294 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DB338 002D8298 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DB33C 002D829C 7C 08 03 A6 */ mtlr r0 +/* 802DB340 002D82A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DB344 002D82A4 4E 80 00 20 */ blr + +.global VAdvanceView__17CAnimTreeSequenceFRC13CCharAnimTime +VAdvanceView__17CAnimTreeSequenceFRC13CCharAnimTime: +/* 802DB348 002D82A8 94 21 FC F0 */ stwu r1, -0x310(r1) +/* 802DB34C 002D82AC 7C 08 02 A6 */ mflr r0 +/* 802DB350 002D82B0 90 01 03 14 */ stw r0, 0x314(r1) +/* 802DB354 002D82B4 DB E1 03 00 */ stfd f31, 0x300(r1) +/* 802DB358 002D82B8 F3 E1 03 08 */ psq_st f31, 776(r1), 0, qr0 +/* 802DB35C 002D82BC DB C1 02 F0 */ stfd f30, 0x2f0(r1) +/* 802DB360 002D82C0 F3 C1 02 F8 */ psq_st f30, 760(r1), 0, qr0 +/* 802DB364 002D82C4 DB A1 02 E0 */ stfd f29, 0x2e0(r1) +/* 802DB368 002D82C8 F3 A1 02 E8 */ psq_st f29, 744(r1), 0, qr0 +/* 802DB36C 002D82CC DB 81 02 D0 */ stfd f28, 0x2d0(r1) +/* 802DB370 002D82D0 F3 81 02 D8 */ psq_st f28, 728(r1), 0, qr0 +/* 802DB374 002D82D4 DB 61 02 C0 */ stfd f27, 0x2c0(r1) +/* 802DB378 002D82D8 F3 61 02 C8 */ psq_st f27, 712(r1), 0, qr0 +/* 802DB37C 002D82DC DB 41 02 B0 */ stfd f26, 0x2b0(r1) +/* 802DB380 002D82E0 F3 41 02 B8 */ psq_st f26, 696(r1), 0, qr0 +/* 802DB384 002D82E4 DB 21 02 A0 */ stfd f25, 0x2a0(r1) +/* 802DB388 002D82E8 F3 21 02 A8 */ psq_st f25, 680(r1), 0, qr0 +/* 802DB38C 002D82EC BF 61 02 8C */ stmw r27, 0x28c(r1) +/* 802DB390 002D82F0 C0 22 C5 A0 */ lfs f1, lbl_805AE2C0@sda21(r2) +/* 802DB394 002D82F4 7C 7B 1B 78 */ mr r27, r3 +/* 802DB398 002D82F8 7C 9C 23 78 */ mr r28, r4 +/* 802DB39C 002D82FC 7C BD 2B 78 */ mr r29, r5 +/* 802DB3A0 002D8300 38 61 00 68 */ addi r3, r1, 0x68 +/* 802DB3A4 002D8304 48 06 DA 49 */ bl __ct__13CCharAnimTimeFf +/* 802DB3A8 002D8308 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802DB3AC 002D830C C4 63 66 60 */ lfsu f3, lbl_805A6660@l(r3) +/* 802DB3B0 002D8310 C3 E2 C5 A0 */ lfs f31, lbl_805AE2C0@sda21(r2) +/* 802DB3B4 002D8314 C0 43 00 04 */ lfs f2, 4(r3) +/* 802DB3B8 002D8318 C0 23 00 08 */ lfs f1, 8(r3) +/* 802DB3BC 002D831C FF C0 F8 90 */ fmr f30, f31 +/* 802DB3C0 002D8320 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802DB3C4 002D8324 FF A0 F8 90 */ fmr f29, f31 +/* 802DB3C8 002D8328 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 802DB3CC 002D832C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 802DB3D0 002D8330 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802DB3D4 002D8334 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802DB3D8 002D8338 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802DB3DC 002D833C 90 81 00 24 */ stw r4, 0x24(r1) +/* 802DB3E0 002D8340 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB3E4 002D8344 38 03 00 01 */ addi r0, r3, 1 +/* 802DB3E8 002D8348 90 04 00 04 */ stw r0, 4(r4) +/* 802DB3EC 002D834C 83 FC 00 2C */ lwz r31, 0x2c(r28) +/* 802DB3F0 002D8350 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802DB3F4 002D8354 7C 00 F8 00 */ cmpw r0, r31 +/* 802DB3F8 002D8358 41 80 01 6C */ blt lbl_802DB564 +/* 802DB3FC 002D835C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802DB400 002D8360 38 61 00 48 */ addi r3, r1, 0x48 +/* 802DB404 002D8364 80 84 00 00 */ lwz r4, 0(r4) +/* 802DB408 002D8368 81 84 00 00 */ lwz r12, 0(r4) +/* 802DB40C 002D836C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802DB410 002D8370 7D 89 03 A6 */ mtctr r12 +/* 802DB414 002D8374 4E 80 04 21 */ bctrl +/* 802DB418 002D8378 38 61 00 48 */ addi r3, r1, 0x48 +/* 802DB41C 002D837C 48 06 CF 95 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802DB420 002D8380 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DB424 002D8384 41 82 01 40 */ beq lbl_802DB564 +/* 802DB428 002D8388 38 61 00 CC */ addi r3, r1, 0xcc +/* 802DB42C 002D838C 38 9C 00 28 */ addi r4, r28, 0x28 +/* 802DB430 002D8390 38 BC 00 18 */ addi r5, r28, 0x18 +/* 802DB434 002D8394 48 00 B6 45 */ bl "__ct__15CSequenceHelperFRCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContext" +/* 802DB438 002D8398 38 61 01 20 */ addi r3, r1, 0x120 +/* 802DB43C 002D839C 38 81 00 CC */ addi r4, r1, 0xcc +/* 802DB440 002D83A0 48 00 A5 49 */ bl ComputeSequenceFundamentals__15CSequenceHelperCFv +/* 802DB444 002D83A4 38 7C 00 3C */ addi r3, r28, 0x3c +/* 802DB448 002D83A8 38 81 01 20 */ addi r4, r1, 0x120 +/* 802DB44C 002D83AC 48 00 05 A9 */ bl sub_802db9f4 +/* 802DB450 002D83B0 38 61 01 20 */ addi r3, r1, 0x120 +/* 802DB454 002D83B4 38 80 FF FF */ li r4, -1 +/* 802DB458 002D83B8 4B FF D3 B9 */ bl sub_802d8810 +/* 802DB45C 002D83BC 38 61 00 CC */ addi r3, r1, 0xcc +/* 802DB460 002D83C0 38 80 FF FF */ li r4, -1 +/* 802DB464 002D83C4 4B FF E7 D1 */ bl __dt__15CSequenceHelperFv +/* 802DB468 002D83C8 38 00 00 00 */ li r0, 0 +/* 802DB46C 002D83CC 38 61 02 00 */ addi r3, r1, 0x200 +/* 802DB470 002D83D0 90 1C 00 38 */ stw r0, 0x38(r28) +/* 802DB474 002D83D4 80 0D 9B 40 */ lwz r0, lbl_805A8700@sda21(r13) +/* 802DB478 002D83D8 C0 0D 9B 44 */ lfs f0, lbl_805A8704@sda21(r13) +/* 802DB47C 002D83DC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DB480 002D83E0 D0 1C 00 94 */ stfs f0, 0x94(r28) +/* 802DB484 002D83E4 90 1C 00 98 */ stw r0, 0x98(r28) +/* 802DB488 002D83E8 48 00 C3 91 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802DB48C 002D83EC 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802DB490 002D83F0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DB494 002D83F4 80 9C 00 34 */ lwz r4, 0x34(r28) +/* 802DB498 002D83F8 38 BC 00 18 */ addi r5, r28, 0x18 +/* 802DB49C 002D83FC 54 00 10 3A */ slwi r0, r0, 2 +/* 802DB4A0 002D8400 38 C1 02 00 */ addi r6, r1, 0x200 +/* 802DB4A4 002D8404 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802DB4A8 002D8408 80 84 00 00 */ lwz r4, 0(r4) +/* 802DB4AC 002D840C 81 84 00 00 */ lwz r12, 0(r4) +/* 802DB4B0 002D8410 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802DB4B4 002D8414 7D 89 03 A6 */ mtctr r12 +/* 802DB4B8 002D8418 4E 80 04 21 */ bctrl +/* 802DB4BC 002D841C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DB4C0 002D8420 38 81 00 24 */ addi r4, r1, 0x24 +/* 802DB4C4 002D8424 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DB4C8 002D8428 38 DC 00 18 */ addi r6, r28, 0x18 +/* 802DB4CC 002D842C 48 00 BA 21 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802DB4D0 002D8430 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802DB4D4 002D8434 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DB4D8 002D8438 90 A1 00 20 */ stw r5, 0x20(r1) +/* 802DB4DC 002D843C 80 85 00 04 */ lwz r4, 4(r5) +/* 802DB4E0 002D8440 38 04 00 01 */ addi r0, r4, 1 +/* 802DB4E4 002D8444 90 05 00 04 */ stw r0, 4(r5) +/* 802DB4E8 002D8448 4B D5 5A B9 */ bl sub_80030fa0 +/* 802DB4EC 002D844C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DB4F0 002D8450 4B D5 5A B1 */ bl sub_80030fa0 +/* 802DB4F4 002D8454 38 60 00 00 */ li r3, 0 +/* 802DB4F8 002D8458 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802DB4FC 002D845C 98 61 02 84 */ stb r3, 0x284(r1) +/* 802DB500 002D8460 98 61 02 40 */ stb r3, 0x240(r1) +/* 802DB504 002D8464 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 802DB508 002D8468 7C 03 00 40 */ cmplw r3, r0 +/* 802DB50C 002D846C 41 82 00 24 */ beq lbl_802DB530 +/* 802DB510 002D8470 38 7C 00 14 */ addi r3, r28, 0x14 +/* 802DB514 002D8474 4B D5 5A 8D */ bl sub_80030fa0 +/* 802DB518 002D8478 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802DB51C 002D847C 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802DB520 002D8480 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802DB524 002D8484 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB528 002D8488 38 03 00 01 */ addi r0, r3, 1 +/* 802DB52C 002D848C 90 04 00 04 */ stw r0, 4(r4) +lbl_802DB530: +/* 802DB530 002D8490 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB534 002D8494 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 802DB538 002D8498 7C 03 00 40 */ cmplw r3, r0 +/* 802DB53C 002D849C 41 82 00 20 */ beq lbl_802DB55C +/* 802DB540 002D84A0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802DB544 002D84A4 4B D5 5A 5D */ bl sub_80030fa0 +/* 802DB548 002D84A8 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802DB54C 002D84AC 90 81 00 24 */ stw r4, 0x24(r1) +/* 802DB550 002D84B0 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB554 002D84B4 38 03 00 01 */ addi r0, r3, 1 +/* 802DB558 002D84B8 90 04 00 04 */ stw r0, 4(r4) +lbl_802DB55C: +/* 802DB55C 002D84BC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DB560 002D84C0 4B D5 5A 41 */ bl sub_80030fa0 +lbl_802DB564: +/* 802DB564 002D84C4 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802DB568 002D84C8 3B C1 01 BC */ addi r30, r1, 0x1bc +/* 802DB56C 002D84CC 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DB570 002D84D0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802DB574 002D84D4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802DB578 002D84D8 48 00 03 B4 */ b lbl_802DB92C +lbl_802DB57C: +/* 802DB57C 002D84DC 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802DB580 002D84E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802DB584 002D84E4 80 84 00 00 */ lwz r4, 0(r4) +/* 802DB588 002D84E8 81 84 00 00 */ lwz r12, 0(r4) +/* 802DB58C 002D84EC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802DB590 002D84F0 7D 89 03 A6 */ mtctr r12 +/* 802DB594 002D84F4 4E 80 04 21 */ bctrl +/* 802DB598 002D84F8 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802DB59C 002D84FC 38 61 00 58 */ addi r3, r1, 0x58 +/* 802DB5A0 002D8500 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802DB5A4 002D8504 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802DB5A8 002D8508 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802DB5AC 002D850C 48 06 CE 05 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802DB5B0 002D8510 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DB5B4 002D8514 41 82 00 DC */ beq lbl_802DB690 +/* 802DB5B8 002D8518 80 7C 00 38 */ lwz r3, 0x38(r28) +/* 802DB5BC 002D851C 38 03 00 01 */ addi r0, r3, 1 +/* 802DB5C0 002D8520 90 1C 00 38 */ stw r0, 0x38(r28) +/* 802DB5C4 002D8524 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802DB5C8 002D8528 7C 00 F8 00 */ cmpw r0, r31 +/* 802DB5CC 002D852C 40 80 00 C4 */ bge lbl_802DB690 +/* 802DB5D0 002D8530 38 61 01 78 */ addi r3, r1, 0x178 +/* 802DB5D4 002D8534 48 00 C2 45 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802DB5D8 002D8538 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802DB5DC 002D853C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DB5E0 002D8540 80 9C 00 34 */ lwz r4, 0x34(r28) +/* 802DB5E4 002D8544 38 BC 00 18 */ addi r5, r28, 0x18 +/* 802DB5E8 002D8548 54 00 10 3A */ slwi r0, r0, 2 +/* 802DB5EC 002D854C 38 C1 01 78 */ addi r6, r1, 0x178 +/* 802DB5F0 002D8550 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802DB5F4 002D8554 80 84 00 00 */ lwz r4, 0(r4) +/* 802DB5F8 002D8558 81 84 00 00 */ lwz r12, 0(r4) +/* 802DB5FC 002D855C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802DB600 002D8560 7D 89 03 A6 */ mtctr r12 +/* 802DB604 002D8564 4E 80 04 21 */ bctrl +/* 802DB608 002D8568 38 61 00 0C */ addi r3, r1, 0xc +/* 802DB60C 002D856C 38 81 00 24 */ addi r4, r1, 0x24 +/* 802DB610 002D8570 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802DB614 002D8574 38 DC 00 18 */ addi r6, r28, 0x18 +/* 802DB618 002D8578 48 00 B8 D5 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802DB61C 002D857C 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802DB620 002D8580 38 61 00 0C */ addi r3, r1, 0xc +/* 802DB624 002D8584 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 802DB628 002D8588 80 85 00 04 */ lwz r4, 4(r5) +/* 802DB62C 002D858C 38 04 00 01 */ addi r0, r4, 1 +/* 802DB630 002D8590 90 05 00 04 */ stw r0, 4(r5) +/* 802DB634 002D8594 4B D5 59 6D */ bl sub_80030fa0 +/* 802DB638 002D8598 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DB63C 002D859C 4B D5 59 65 */ bl sub_80030fa0 +/* 802DB640 002D85A0 28 1E 00 00 */ cmplwi r30, 0 +/* 802DB644 002D85A4 41 82 00 0C */ beq lbl_802DB650 +/* 802DB648 002D85A8 38 00 00 00 */ li r0, 0 +/* 802DB64C 002D85AC 98 01 01 FC */ stb r0, 0x1fc(r1) +lbl_802DB650: +/* 802DB650 002D85B0 38 60 00 00 */ li r3, 0 +/* 802DB654 002D85B4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802DB658 002D85B8 98 61 01 B8 */ stb r3, 0x1b8(r1) +/* 802DB65C 002D85BC 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 802DB660 002D85C0 7C 03 00 40 */ cmplw r3, r0 +/* 802DB664 002D85C4 41 82 00 24 */ beq lbl_802DB688 +/* 802DB668 002D85C8 38 7C 00 14 */ addi r3, r28, 0x14 +/* 802DB66C 002D85CC 4B D5 59 35 */ bl sub_80030fa0 +/* 802DB670 002D85D0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802DB674 002D85D4 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802DB678 002D85D8 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802DB67C 002D85DC 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB680 002D85E0 38 03 00 01 */ addi r0, r3, 1 +/* 802DB684 002D85E4 90 04 00 04 */ stw r0, 4(r4) +lbl_802DB688: +/* 802DB688 002D85E8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802DB68C 002D85EC 4B D5 59 15 */ bl sub_80030fa0 +lbl_802DB690: +/* 802DB690 002D85F0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB694 002D85F4 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 802DB698 002D85F8 7C 03 00 40 */ cmplw r3, r0 +/* 802DB69C 002D85FC 41 82 00 20 */ beq lbl_802DB6BC +/* 802DB6A0 002D8600 38 61 00 24 */ addi r3, r1, 0x24 +/* 802DB6A4 002D8604 4B D5 58 FD */ bl sub_80030fa0 +/* 802DB6A8 002D8608 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802DB6AC 002D860C 90 81 00 24 */ stw r4, 0x24(r1) +/* 802DB6B0 002D8610 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB6B4 002D8614 38 03 00 01 */ addi r0, r3, 1 +/* 802DB6B8 002D8618 90 04 00 04 */ stw r0, 4(r4) +lbl_802DB6BC: +/* 802DB6BC 002D861C 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802DB6C0 002D8620 7C 00 F8 00 */ cmpw r0, r31 +/* 802DB6C4 002D8624 40 80 02 68 */ bge lbl_802DB92C +/* 802DB6C8 002D8628 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802DB6CC 002D862C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802DB6D0 002D8630 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802DB6D4 002D8634 80 84 00 00 */ lwz r4, 0(r4) +/* 802DB6D8 002D8638 81 84 00 00 */ lwz r12, 0(r4) +/* 802DB6DC 002D863C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802DB6E0 002D8640 7D 89 03 A6 */ mtctr r12 +/* 802DB6E4 002D8644 4E 80 04 21 */ bctrl +/* 802DB6E8 002D8648 C0 E1 00 A8 */ lfs f7, 0xa8(r1) +/* 802DB6EC 002D864C 38 61 00 80 */ addi r3, r1, 0x80 +/* 802DB6F0 002D8650 80 01 00 AC */ lwz r0, 0xac(r1) +/* 802DB6F4 002D8654 C0 C1 00 B0 */ lfs f6, 0xb0(r1) +/* 802DB6F8 002D8658 C0 A1 00 B4 */ lfs f5, 0xb4(r1) +/* 802DB6FC 002D865C C0 81 00 B8 */ lfs f4, 0xb8(r1) +/* 802DB700 002D8660 C0 61 00 BC */ lfs f3, 0xbc(r1) +/* 802DB704 002D8664 C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 802DB708 002D8668 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 802DB70C 002D866C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 802DB710 002D8670 D0 E1 00 FC */ stfs f7, 0xfc(r1) +/* 802DB714 002D8674 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802DB718 002D8678 90 01 01 00 */ stw r0, 0x100(r1) +/* 802DB71C 002D867C D0 C1 01 04 */ stfs f6, 0x104(r1) +/* 802DB720 002D8680 D0 A1 01 08 */ stfs f5, 0x108(r1) +/* 802DB724 002D8684 D0 81 01 0C */ stfs f4, 0x10c(r1) +/* 802DB728 002D8688 D0 61 01 10 */ stfs f3, 0x110(r1) +/* 802DB72C 002D868C D0 41 01 14 */ stfs f2, 0x114(r1) +/* 802DB730 002D8690 D0 21 01 18 */ stfs f1, 0x118(r1) +/* 802DB734 002D8694 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 802DB738 002D8698 80 84 00 00 */ lwz r4, 0(r4) +/* 802DB73C 002D869C 4B D4 E8 29 */ bl Simplified__11IAnimReaderFv +/* 802DB740 002D86A0 88 01 00 88 */ lbz r0, 0x88(r1) +/* 802DB744 002D86A4 28 00 00 00 */ cmplwi r0, 0 +/* 802DB748 002D86A8 98 01 00 94 */ stb r0, 0x94(r1) +/* 802DB74C 002D86AC 41 82 00 24 */ beq lbl_802DB770 +/* 802DB750 002D86B0 34 81 00 8C */ addic. r4, r1, 0x8c +/* 802DB754 002D86B4 41 82 00 1C */ beq lbl_802DB770 +/* 802DB758 002D86B8 88 61 00 80 */ lbz r3, 0x80(r1) +/* 802DB75C 002D86BC 38 00 00 00 */ li r0, 0 +/* 802DB760 002D86C0 98 64 00 00 */ stb r3, 0(r4) +/* 802DB764 002D86C4 80 61 00 84 */ lwz r3, 0x84(r1) +/* 802DB768 002D86C8 90 64 00 04 */ stw r3, 4(r4) +/* 802DB76C 002D86CC 98 01 00 80 */ stb r0, 0x80(r1) +lbl_802DB770: +/* 802DB770 002D86D0 88 01 00 88 */ lbz r0, 0x88(r1) +/* 802DB774 002D86D4 28 00 00 00 */ cmplwi r0, 0 +/* 802DB778 002D86D8 41 82 00 38 */ beq lbl_802DB7B0 +/* 802DB77C 002D86DC 34 61 00 80 */ addic. r3, r1, 0x80 +/* 802DB780 002D86E0 41 82 00 30 */ beq lbl_802DB7B0 +/* 802DB784 002D86E4 88 03 00 00 */ lbz r0, 0(r3) +/* 802DB788 002D86E8 28 00 00 00 */ cmplwi r0, 0 +/* 802DB78C 002D86EC 41 82 00 24 */ beq lbl_802DB7B0 +/* 802DB790 002D86F0 80 63 00 04 */ lwz r3, 4(r3) +/* 802DB794 002D86F4 28 03 00 00 */ cmplwi r3, 0 +/* 802DB798 002D86F8 41 82 00 18 */ beq lbl_802DB7B0 +/* 802DB79C 002D86FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802DB7A0 002D8700 38 80 00 01 */ li r4, 1 +/* 802DB7A4 002D8704 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DB7A8 002D8708 7D 89 03 A6 */ mtctr r12 +/* 802DB7AC 002D870C 4E 80 04 21 */ bctrl +lbl_802DB7B0: +/* 802DB7B0 002D8710 88 01 00 94 */ lbz r0, 0x94(r1) +/* 802DB7B4 002D8714 38 60 00 00 */ li r3, 0 +/* 802DB7B8 002D8718 98 61 00 88 */ stb r3, 0x88(r1) +/* 802DB7BC 002D871C 28 00 00 00 */ cmplwi r0, 0 +/* 802DB7C0 002D8720 41 82 00 A0 */ beq lbl_802DB860 +/* 802DB7C4 002D8724 38 61 00 08 */ addi r3, r1, 8 +/* 802DB7C8 002D8728 38 81 00 8C */ addi r4, r1, 0x8c +/* 802DB7CC 002D872C 48 01 84 2D */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802DB7D0 002D8730 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB7D4 002D8734 80 01 00 08 */ lwz r0, 8(r1) +/* 802DB7D8 002D8738 7C 03 00 40 */ cmplw r3, r0 +/* 802DB7DC 002D873C 41 82 00 20 */ beq lbl_802DB7FC +/* 802DB7E0 002D8740 38 61 00 24 */ addi r3, r1, 0x24 +/* 802DB7E4 002D8744 4B D5 57 BD */ bl sub_80030fa0 +/* 802DB7E8 002D8748 80 81 00 08 */ lwz r4, 8(r1) +/* 802DB7EC 002D874C 90 81 00 24 */ stw r4, 0x24(r1) +/* 802DB7F0 002D8750 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB7F4 002D8754 38 03 00 01 */ addi r0, r3, 1 +/* 802DB7F8 002D8758 90 04 00 04 */ stw r0, 4(r4) +lbl_802DB7FC: +/* 802DB7FC 002D875C 38 61 00 08 */ addi r3, r1, 8 +/* 802DB800 002D8760 4B D5 57 A1 */ bl sub_80030fa0 +/* 802DB804 002D8764 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 802DB808 002D8768 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DB80C 002D876C 7C 03 00 40 */ cmplw r3, r0 +/* 802DB810 002D8770 41 82 00 24 */ beq lbl_802DB834 +/* 802DB814 002D8774 38 7C 00 14 */ addi r3, r28, 0x14 +/* 802DB818 002D8778 4B D5 57 89 */ bl sub_80030fa0 +/* 802DB81C 002D877C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DB820 002D8780 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802DB824 002D8784 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802DB828 002D8788 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB82C 002D878C 38 03 00 01 */ addi r0, r3, 1 +/* 802DB830 002D8790 90 04 00 04 */ stw r0, 4(r4) +lbl_802DB834: +/* 802DB834 002D8794 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802DB838 002D8798 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 802DB83C 002D879C 7C 03 00 40 */ cmplw r3, r0 +/* 802DB840 002D87A0 41 82 00 20 */ beq lbl_802DB860 +/* 802DB844 002D87A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802DB848 002D87A8 4B D5 57 59 */ bl sub_80030fa0 +/* 802DB84C 002D87AC 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802DB850 002D87B0 90 81 00 24 */ stw r4, 0x24(r1) +/* 802DB854 002D87B4 80 64 00 04 */ lwz r3, 4(r4) +/* 802DB858 002D87B8 38 03 00 01 */ addi r0, r3, 1 +/* 802DB85C 002D87BC 90 04 00 04 */ stw r0, 4(r4) +lbl_802DB860: +/* 802DB860 002D87C0 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802DB864 002D87C4 38 61 00 30 */ addi r3, r1, 0x30 +/* 802DB868 002D87C8 80 C1 00 64 */ lwz r6, 0x64(r1) +/* 802DB86C 002D87CC 38 81 00 50 */ addi r4, r1, 0x50 +/* 802DB870 002D87D0 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 802DB874 002D87D4 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802DB878 002D87D8 80 01 01 00 */ lwz r0, 0x100(r1) +/* 802DB87C 002D87DC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802DB880 002D87E0 90 C1 00 54 */ stw r6, 0x54(r1) +/* 802DB884 002D87E4 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802DB888 002D87E8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802DB88C 002D87EC 48 06 CE D9 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DB890 002D87F0 38 61 00 68 */ addi r3, r1, 0x68 +/* 802DB894 002D87F4 38 81 00 30 */ addi r4, r1, 0x30 +/* 802DB898 002D87F8 48 06 CC C1 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802DB89C 002D87FC C0 41 01 04 */ lfs f2, 0x104(r1) +/* 802DB8A0 002D8800 38 61 00 70 */ addi r3, r1, 0x70 +/* 802DB8A4 002D8804 C0 21 01 08 */ lfs f1, 0x108(r1) +/* 802DB8A8 002D8808 38 81 00 98 */ addi r4, r1, 0x98 +/* 802DB8AC 002D880C C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 802DB8B0 002D8810 EF FF 10 2A */ fadds f31, f31, f2 +/* 802DB8B4 002D8814 EF DE 08 2A */ fadds f30, f30, f1 +/* 802DB8B8 002D8818 38 A1 01 10 */ addi r5, r1, 0x110 +/* 802DB8BC 002D881C EF BD 00 2A */ fadds f29, f29, f0 +/* 802DB8C0 002D8820 48 03 58 E1 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802DB8C4 002D8824 88 01 00 94 */ lbz r0, 0x94(r1) +/* 802DB8C8 002D8828 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802DB8CC 002D882C 80 81 00 74 */ lwz r4, 0x74(r1) +/* 802DB8D0 002D8830 28 00 00 00 */ cmplwi r0, 0 +/* 802DB8D4 002D8834 80 61 00 78 */ lwz r3, 0x78(r1) +/* 802DB8D8 002D8838 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802DB8DC 002D883C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802DB8E0 002D8840 90 81 00 9C */ stw r4, 0x9c(r1) +/* 802DB8E4 002D8844 90 61 00 A0 */ stw r3, 0xa0(r1) +/* 802DB8E8 002D8848 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802DB8EC 002D884C 41 82 00 38 */ beq lbl_802DB924 +/* 802DB8F0 002D8850 34 61 00 8C */ addic. r3, r1, 0x8c +/* 802DB8F4 002D8854 41 82 00 30 */ beq lbl_802DB924 +/* 802DB8F8 002D8858 88 03 00 00 */ lbz r0, 0(r3) +/* 802DB8FC 002D885C 28 00 00 00 */ cmplwi r0, 0 +/* 802DB900 002D8860 41 82 00 24 */ beq lbl_802DB924 +/* 802DB904 002D8864 80 63 00 04 */ lwz r3, 4(r3) +/* 802DB908 002D8868 28 03 00 00 */ cmplwi r3, 0 +/* 802DB90C 002D886C 41 82 00 18 */ beq lbl_802DB924 +/* 802DB910 002D8870 81 83 00 00 */ lwz r12, 0(r3) +/* 802DB914 002D8874 38 80 00 01 */ li r4, 1 +/* 802DB918 002D8878 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DB91C 002D887C 7D 89 03 A6 */ mtctr r12 +/* 802DB920 002D8880 4E 80 04 21 */ bctrl +lbl_802DB924: +/* 802DB924 002D8884 38 00 00 00 */ li r0, 0 +/* 802DB928 002D8888 98 01 00 94 */ stb r0, 0x94(r1) +lbl_802DB92C: +/* 802DB92C 002D888C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802DB930 002D8890 48 06 CA BD */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802DB934 002D8894 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DB938 002D8898 41 82 00 10 */ beq lbl_802DB948 +/* 802DB93C 002D889C 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802DB940 002D88A0 7C 00 F8 00 */ cmpw r0, r31 +/* 802DB944 002D88A4 41 80 FC 38 */ blt lbl_802DB57C +lbl_802DB948: +/* 802DB948 002D88A8 38 7C 00 94 */ addi r3, r28, 0x94 +/* 802DB94C 002D88AC 38 81 00 68 */ addi r4, r1, 0x68 +/* 802DB950 002D88B0 48 06 CC 09 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802DB954 002D88B4 C3 81 00 98 */ lfs f28, 0x98(r1) +/* 802DB958 002D88B8 7F A4 EB 78 */ mr r4, r29 +/* 802DB95C 002D88BC C3 61 00 9C */ lfs f27, 0x9c(r1) +/* 802DB960 002D88C0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802DB964 002D88C4 C3 41 00 A0 */ lfs f26, 0xa0(r1) +/* 802DB968 002D88C8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802DB96C 002D88CC C3 21 00 A4 */ lfs f25, 0xa4(r1) +/* 802DB970 002D88D0 48 06 CD F5 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DB974 002D88D4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802DB978 002D88D8 38 61 00 24 */ addi r3, r1, 0x24 +/* 802DB97C 002D88DC D0 1B 00 00 */ stfs f0, 0(r27) +/* 802DB980 002D88E0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802DB984 002D88E4 90 1B 00 04 */ stw r0, 4(r27) +/* 802DB988 002D88E8 D3 FB 00 08 */ stfs f31, 8(r27) +/* 802DB98C 002D88EC D3 DB 00 0C */ stfs f30, 0xc(r27) +/* 802DB990 002D88F0 D3 BB 00 10 */ stfs f29, 0x10(r27) +/* 802DB994 002D88F4 D3 9B 00 14 */ stfs f28, 0x14(r27) +/* 802DB998 002D88F8 D3 7B 00 18 */ stfs f27, 0x18(r27) +/* 802DB99C 002D88FC D3 5B 00 1C */ stfs f26, 0x1c(r27) +/* 802DB9A0 002D8900 D3 3B 00 20 */ stfs f25, 0x20(r27) +/* 802DB9A4 002D8904 4B D5 55 FD */ bl sub_80030fa0 +/* 802DB9A8 002D8908 E3 E1 03 08 */ psq_l f31, 776(r1), 0, qr0 +/* 802DB9AC 002D890C CB E1 03 00 */ lfd f31, 0x300(r1) +/* 802DB9B0 002D8910 E3 C1 02 F8 */ psq_l f30, 760(r1), 0, qr0 +/* 802DB9B4 002D8914 CB C1 02 F0 */ lfd f30, 0x2f0(r1) +/* 802DB9B8 002D8918 E3 A1 02 E8 */ psq_l f29, 744(r1), 0, qr0 +/* 802DB9BC 002D891C CB A1 02 E0 */ lfd f29, 0x2e0(r1) +/* 802DB9C0 002D8920 E3 81 02 D8 */ psq_l f28, 728(r1), 0, qr0 +/* 802DB9C4 002D8924 CB 81 02 D0 */ lfd f28, 0x2d0(r1) +/* 802DB9C8 002D8928 E3 61 02 C8 */ psq_l f27, 712(r1), 0, qr0 +/* 802DB9CC 002D892C CB 61 02 C0 */ lfd f27, 0x2c0(r1) +/* 802DB9D0 002D8930 E3 41 02 B8 */ psq_l f26, 696(r1), 0, qr0 +/* 802DB9D4 002D8934 CB 41 02 B0 */ lfd f26, 0x2b0(r1) +/* 802DB9D8 002D8938 E3 21 02 A8 */ psq_l f25, 680(r1), 0, qr0 +/* 802DB9DC 002D893C CB 21 02 A0 */ lfd f25, 0x2a0(r1) +/* 802DB9E0 002D8940 BB 61 02 8C */ lmw r27, 0x28c(r1) +/* 802DB9E4 002D8944 80 01 03 14 */ lwz r0, 0x314(r1) +/* 802DB9E8 002D8948 7C 08 03 A6 */ mtlr r0 +/* 802DB9EC 002D894C 38 21 03 10 */ addi r1, r1, 0x310 +/* 802DB9F0 002D8950 4E 80 00 20 */ blr + +.global sub_802db9f4 +sub_802db9f4: +/* 802DB9F4 002D8954 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DB9F8 002D8958 7C 08 02 A6 */ mflr r0 +/* 802DB9FC 002D895C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DBA00 002D8960 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DBA04 002D8964 7C 9F 23 78 */ mr r31, r4 +/* 802DBA08 002D8968 93 C1 00 08 */ stw r30, 8(r1) +/* 802DBA0C 002D896C 7C 7E 1B 78 */ mr r30, r3 +/* 802DBA10 002D8970 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802DBA14 002D8974 80 A4 00 00 */ lwz r5, 0(r4) +/* 802DBA18 002D8978 80 04 00 04 */ lwz r0, 4(r4) +/* 802DBA1C 002D897C 38 9F 00 18 */ addi r4, r31, 0x18 +/* 802DBA20 002D8980 90 BE 00 00 */ stw r5, 0(r30) +/* 802DBA24 002D8984 90 1E 00 04 */ stw r0, 4(r30) +/* 802DBA28 002D8988 80 BF 00 08 */ lwz r5, 8(r31) +/* 802DBA2C 002D898C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802DBA30 002D8990 90 BE 00 08 */ stw r5, 8(r30) +/* 802DBA34 002D8994 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802DBA38 002D8998 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 802DBA3C 002D899C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802DBA40 002D89A0 90 BE 00 10 */ stw r5, 0x10(r30) +/* 802DBA44 002D89A4 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802DBA48 002D89A8 48 00 05 3D */ bl sub_802dbf84 +/* 802DBA4C 002D89AC 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802DBA50 002D89B0 38 9F 00 28 */ addi r4, r31, 0x28 +/* 802DBA54 002D89B4 48 00 03 B5 */ bl sub_802dbe08 +/* 802DBA58 002D89B8 38 7E 00 38 */ addi r3, r30, 0x38 +/* 802DBA5C 002D89BC 38 9F 00 38 */ addi r4, r31, 0x38 +/* 802DBA60 002D89C0 48 00 01 AD */ bl sub_802dbc0c +/* 802DBA64 002D89C4 38 7E 00 48 */ addi r3, r30, 0x48 +/* 802DBA68 002D89C8 38 9F 00 48 */ addi r4, r31, 0x48 +/* 802DBA6C 002D89CC 48 00 00 21 */ bl sub_802dba8c +/* 802DBA70 002D89D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DBA74 002D89D4 7F C3 F3 78 */ mr r3, r30 +/* 802DBA78 002D89D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DBA7C 002D89DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DBA80 002D89E0 7C 08 03 A6 */ mtlr r0 +/* 802DBA84 002D89E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DBA88 002D89E8 4E 80 00 20 */ blr + +.global sub_802dba8c +sub_802dba8c: +/* 802DBA8C 002D89EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DBA90 002D89F0 7C 08 02 A6 */ mflr r0 +/* 802DBA94 002D89F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DBA98 002D89F8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DBA9C 002D89FC 7C 7D 1B 78 */ mr r29, r3 +/* 802DBAA0 002D8A00 7C 9E 23 78 */ mr r30, r4 +/* 802DBAA4 002D8A04 7C 1D F0 40 */ cmplw r29, r30 +/* 802DBAA8 002D8A08 40 82 00 08 */ bne lbl_802DBAB0 +/* 802DBAAC 002D8A0C 48 00 01 4C */ b lbl_802DBBF8 +lbl_802DBAB0: +/* 802DBAB0 002D8A10 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DBAB4 002D8A14 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 802DBAB8 002D8A18 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802DBABC 002D8A1C 93 61 00 0C */ stw r27, 0xc(r1) +/* 802DBAC0 002D8A20 7F FB 02 14 */ add r31, r27, r0 +/* 802DBAC4 002D8A24 93 61 00 08 */ stw r27, 8(r1) +/* 802DBAC8 002D8A28 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DBACC 002D8A2C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DBAD0 002D8A30 48 00 00 20 */ b lbl_802DBAF0 +lbl_802DBAD4: +/* 802DBAD4 002D8A34 7F 63 DB 78 */ mr r3, r27 +/* 802DBAD8 002D8A38 38 80 FF FF */ li r4, -1 +/* 802DBADC 002D8A3C 81 9B 00 00 */ lwz r12, 0(r27) +/* 802DBAE0 002D8A40 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DBAE4 002D8A44 7D 89 03 A6 */ mtctr r12 +/* 802DBAE8 002D8A48 4E 80 04 21 */ bctrl +/* 802DBAEC 002D8A4C 3B 7B 00 44 */ addi r27, r27, 0x44 +lbl_802DBAF0: +/* 802DBAF0 002D8A50 7C 1B F8 40 */ cmplw r27, r31 +/* 802DBAF4 002D8A54 40 82 FF E0 */ bne lbl_802DBAD4 +/* 802DBAF8 002D8A58 38 00 00 00 */ li r0, 0 +/* 802DBAFC 002D8A5C 90 1D 00 04 */ stw r0, 4(r29) +/* 802DBB00 002D8A60 80 9E 00 04 */ lwz r4, 4(r30) +/* 802DBB04 002D8A64 2C 04 00 00 */ cmpwi r4, 0 +/* 802DBB08 002D8A68 40 82 00 28 */ bne lbl_802DBB30 +/* 802DBB0C 002D8A6C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DBB10 002D8A70 28 03 00 00 */ cmplwi r3, 0 +/* 802DBB14 002D8A74 41 82 00 08 */ beq lbl_802DBB1C +/* 802DBB18 002D8A78 48 03 9E 19 */ bl Free__7CMemoryFPCv +lbl_802DBB1C: +/* 802DBB1C 002D8A7C 38 00 00 00 */ li r0, 0 +/* 802DBB20 002D8A80 90 1D 00 04 */ stw r0, 4(r29) +/* 802DBB24 002D8A84 90 1D 00 08 */ stw r0, 8(r29) +/* 802DBB28 002D8A88 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802DBB2C 002D8A8C 48 00 00 C8 */ b lbl_802DBBF4 +lbl_802DBB30: +/* 802DBB30 002D8A90 7F A3 EB 78 */ mr r3, r29 +/* 802DBB34 002D8A94 48 00 1B 99 */ bl "reserve__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>Fi" +/* 802DBB38 002D8A98 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DBB3C 002D8A9C 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 802DBB40 002D8AA0 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802DBB44 002D8AA4 83 9D 00 0C */ lwz r28, 0xc(r29) +/* 802DBB48 002D8AA8 7F 7F 02 14 */ add r27, r31, r0 +/* 802DBB4C 002D8AAC 48 00 00 98 */ b lbl_802DBBE4 +lbl_802DBB50: +/* 802DBB50 002D8AB0 28 1C 00 00 */ cmplwi r28, 0 +/* 802DBB54 002D8AB4 41 82 00 88 */ beq lbl_802DBBDC +/* 802DBB58 002D8AB8 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DBB5C 002D8ABC 38 7C 00 08 */ addi r3, r28, 8 +/* 802DBB60 002D8AC0 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802DBB64 002D8AC4 38 9F 00 08 */ addi r4, r31, 8 +/* 802DBB68 002D8AC8 90 1C 00 00 */ stw r0, 0(r28) +/* 802DBB6C 002D8ACC A0 1F 00 04 */ lhz r0, 4(r31) +/* 802DBB70 002D8AD0 B0 1C 00 04 */ sth r0, 4(r28) +/* 802DBB74 002D8AD4 48 06 25 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DBB78 002D8AD8 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802DBB7C 002D8ADC 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802DBB80 002D8AE0 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 802DBB84 002D8AE4 B0 9C 00 18 */ sth r4, 0x18(r28) +/* 802DBB88 002D8AE8 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802DBB8C 002D8AEC D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802DBB90 002D8AF0 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802DBB94 002D8AF4 90 7C 00 20 */ stw r3, 0x20(r28) +/* 802DBB98 002D8AF8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802DBB9C 002D8AFC 90 7C 00 24 */ stw r3, 0x24(r28) +/* 802DBBA0 002D8B00 88 7F 00 28 */ lbz r3, 0x28(r31) +/* 802DBBA4 002D8B04 98 7C 00 28 */ stb r3, 0x28(r28) +/* 802DBBA8 002D8B08 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802DBBAC 002D8B0C D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 802DBBB0 002D8B10 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802DBBB4 002D8B14 90 7C 00 30 */ stw r3, 0x30(r28) +/* 802DBBB8 002D8B18 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 802DBBBC 002D8B1C 90 7C 00 34 */ stw r3, 0x34(r28) +/* 802DBBC0 002D8B20 90 1C 00 00 */ stw r0, 0(r28) +/* 802DBBC4 002D8B24 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802DBBC8 002D8B28 90 1C 00 38 */ stw r0, 0x38(r28) +/* 802DBBCC 002D8B2C C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802DBBD0 002D8B30 D0 1C 00 3C */ stfs f0, 0x3c(r28) +/* 802DBBD4 002D8B34 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802DBBD8 002D8B38 D0 1C 00 40 */ stfs f0, 0x40(r28) +lbl_802DBBDC: +/* 802DBBDC 002D8B3C 3B 9C 00 44 */ addi r28, r28, 0x44 +/* 802DBBE0 002D8B40 3B FF 00 44 */ addi r31, r31, 0x44 +lbl_802DBBE4: +/* 802DBBE4 002D8B44 7C 1F D8 40 */ cmplw r31, r27 +/* 802DBBE8 002D8B48 40 82 FF 68 */ bne lbl_802DBB50 +/* 802DBBEC 002D8B4C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DBBF0 002D8B50 90 1D 00 04 */ stw r0, 4(r29) +lbl_802DBBF4: +/* 802DBBF4 002D8B54 7F A3 EB 78 */ mr r3, r29 +lbl_802DBBF8: +/* 802DBBF8 002D8B58 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DBBFC 002D8B5C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DBC00 002D8B60 7C 08 03 A6 */ mtlr r0 +/* 802DBC04 002D8B64 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DBC08 002D8B68 4E 80 00 20 */ blr + +.global sub_802dbc0c +sub_802dbc0c: +/* 802DBC0C 002D8B6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DBC10 002D8B70 7C 08 02 A6 */ mflr r0 +/* 802DBC14 002D8B74 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DBC18 002D8B78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802DBC1C 002D8B7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802DBC20 002D8B80 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802DBC24 002D8B84 7C 9D 23 78 */ mr r29, r4 +/* 802DBC28 002D8B88 93 81 00 20 */ stw r28, 0x20(r1) +/* 802DBC2C 002D8B8C 7C 7C 1B 78 */ mr r28, r3 +/* 802DBC30 002D8B90 7C 1C E8 40 */ cmplw r28, r29 +/* 802DBC34 002D8B94 40 82 00 08 */ bne lbl_802DBC3C +/* 802DBC38 002D8B98 48 00 00 B0 */ b lbl_802DBCE8 +lbl_802DBC3C: +/* 802DBC3C 002D8B9C 80 1C 00 04 */ lwz r0, 4(r28) +/* 802DBC40 002D8BA0 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802DBC44 002D8BA4 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802DBC48 002D8BA8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802DBC4C 002D8BAC 7F FE 02 14 */ add r31, r30, r0 +/* 802DBC50 002D8BB0 93 C1 00 08 */ stw r30, 8(r1) +/* 802DBC54 002D8BB4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DBC58 002D8BB8 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DBC5C 002D8BBC 48 00 00 20 */ b lbl_802DBC7C +lbl_802DBC60: +/* 802DBC60 002D8BC0 7F C3 F3 78 */ mr r3, r30 +/* 802DBC64 002D8BC4 38 80 FF FF */ li r4, -1 +/* 802DBC68 002D8BC8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802DBC6C 002D8BCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DBC70 002D8BD0 7D 89 03 A6 */ mtctr r12 +/* 802DBC74 002D8BD4 4E 80 04 21 */ bctrl +/* 802DBC78 002D8BD8 3B DE 00 5C */ addi r30, r30, 0x5c +lbl_802DBC7C: +/* 802DBC7C 002D8BDC 7C 1E F8 40 */ cmplw r30, r31 +/* 802DBC80 002D8BE0 40 82 FF E0 */ bne lbl_802DBC60 +/* 802DBC84 002D8BE4 38 00 00 00 */ li r0, 0 +/* 802DBC88 002D8BE8 90 1C 00 04 */ stw r0, 4(r28) +/* 802DBC8C 002D8BEC 80 9D 00 04 */ lwz r4, 4(r29) +/* 802DBC90 002D8BF0 2C 04 00 00 */ cmpwi r4, 0 +/* 802DBC94 002D8BF4 40 82 00 28 */ bne lbl_802DBCBC +/* 802DBC98 002D8BF8 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802DBC9C 002D8BFC 28 03 00 00 */ cmplwi r3, 0 +/* 802DBCA0 002D8C00 41 82 00 08 */ beq lbl_802DBCA8 +/* 802DBCA4 002D8C04 48 03 9C 8D */ bl Free__7CMemoryFPCv +lbl_802DBCA8: +/* 802DBCA8 002D8C08 38 00 00 00 */ li r0, 0 +/* 802DBCAC 002D8C0C 90 1C 00 04 */ stw r0, 4(r28) +/* 802DBCB0 002D8C10 90 1C 00 08 */ stw r0, 8(r28) +/* 802DBCB4 002D8C14 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802DBCB8 002D8C18 48 00 00 2C */ b lbl_802DBCE4 +lbl_802DBCBC: +/* 802DBCBC 002D8C1C 7F 83 E3 78 */ mr r3, r28 +/* 802DBCC0 002D8C20 48 00 18 21 */ bl "reserve__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>Fi" +/* 802DBCC4 002D8C24 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DBCC8 002D8C28 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DBCCC 002D8C2C 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802DBCD0 002D8C30 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 802DBCD4 002D8C34 7C 83 02 14 */ add r4, r3, r0 +/* 802DBCD8 002D8C38 48 00 00 31 */ bl sub_802dbd08 +/* 802DBCDC 002D8C3C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DBCE0 002D8C40 90 1C 00 04 */ stw r0, 4(r28) +lbl_802DBCE4: +/* 802DBCE4 002D8C44 7F 83 E3 78 */ mr r3, r28 +lbl_802DBCE8: +/* 802DBCE8 002D8C48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DBCEC 002D8C4C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802DBCF0 002D8C50 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802DBCF4 002D8C54 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DBCF8 002D8C58 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802DBCFC 002D8C5C 7C 08 03 A6 */ mtlr r0 +/* 802DBD00 002D8C60 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DBD04 002D8C64 4E 80 00 20 */ blr + +.global sub_802dbd08 +sub_802dbd08: +/* 802DBD08 002D8C68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DBD0C 002D8C6C 7C 08 02 A6 */ mflr r0 +/* 802DBD10 002D8C70 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DBD14 002D8C74 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DBD18 002D8C78 7C 9F 23 78 */ mr r31, r4 +/* 802DBD1C 002D8C7C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DBD20 002D8C80 7C BE 2B 78 */ mr r30, r5 +/* 802DBD24 002D8C84 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DBD28 002D8C88 7C 7D 1B 78 */ mr r29, r3 +/* 802DBD2C 002D8C8C 48 00 00 B4 */ b lbl_802DBDE0 +lbl_802DBD30: +/* 802DBD30 002D8C90 28 1E 00 00 */ cmplwi r30, 0 +/* 802DBD34 002D8C94 41 82 00 A4 */ beq lbl_802DBDD8 +/* 802DBD38 002D8C98 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DBD3C 002D8C9C 38 9D 00 08 */ addi r4, r29, 8 +/* 802DBD40 002D8CA0 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DBD44 002D8CA4 90 1E 00 00 */ stw r0, 0(r30) +/* 802DBD48 002D8CA8 38 7E 00 08 */ addi r3, r30, 8 +/* 802DBD4C 002D8CAC A0 1D 00 04 */ lhz r0, 4(r29) +/* 802DBD50 002D8CB0 B0 1E 00 04 */ sth r0, 4(r30) +/* 802DBD54 002D8CB4 48 06 24 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DBD58 002D8CB8 A0 9D 00 18 */ lhz r4, 0x18(r29) +/* 802DBD5C 002D8CBC 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DBD60 002D8CC0 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802DBD64 002D8CC4 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802DBD68 002D8CC8 B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802DBD6C 002D8CCC 38 9D 00 44 */ addi r4, r29, 0x44 +/* 802DBD70 002D8CD0 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 802DBD74 002D8CD4 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DBD78 002D8CD8 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 802DBD7C 002D8CDC 90 BE 00 20 */ stw r5, 0x20(r30) +/* 802DBD80 002D8CE0 80 BD 00 24 */ lwz r5, 0x24(r29) +/* 802DBD84 002D8CE4 90 BE 00 24 */ stw r5, 0x24(r30) +/* 802DBD88 002D8CE8 88 BD 00 28 */ lbz r5, 0x28(r29) +/* 802DBD8C 002D8CEC 98 BE 00 28 */ stb r5, 0x28(r30) +/* 802DBD90 002D8CF0 C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 802DBD94 002D8CF4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802DBD98 002D8CF8 80 BD 00 30 */ lwz r5, 0x30(r29) +/* 802DBD9C 002D8CFC 90 BE 00 30 */ stw r5, 0x30(r30) +/* 802DBDA0 002D8D00 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 802DBDA4 002D8D04 90 BE 00 34 */ stw r5, 0x34(r30) +/* 802DBDA8 002D8D08 90 1E 00 00 */ stw r0, 0(r30) +/* 802DBDAC 002D8D0C 80 1D 00 38 */ lwz r0, 0x38(r29) +/* 802DBDB0 002D8D10 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802DBDB4 002D8D14 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 802DBDB8 002D8D18 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802DBDBC 002D8D1C 80 1D 00 40 */ lwz r0, 0x40(r29) +/* 802DBDC0 002D8D20 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802DBDC4 002D8D24 48 06 23 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DBDC8 002D8D28 C0 1D 00 54 */ lfs f0, 0x54(r29) +/* 802DBDCC 002D8D2C D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 802DBDD0 002D8D30 80 1D 00 58 */ lwz r0, 0x58(r29) +/* 802DBDD4 002D8D34 90 1E 00 58 */ stw r0, 0x58(r30) +lbl_802DBDD8: +/* 802DBDD8 002D8D38 3B DE 00 5C */ addi r30, r30, 0x5c +/* 802DBDDC 002D8D3C 3B BD 00 5C */ addi r29, r29, 0x5c +lbl_802DBDE0: +/* 802DBDE0 002D8D40 7C 1D F8 40 */ cmplw r29, r31 +/* 802DBDE4 002D8D44 40 82 FF 4C */ bne lbl_802DBD30 +/* 802DBDE8 002D8D48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DBDEC 002D8D4C 7F C3 F3 78 */ mr r3, r30 +/* 802DBDF0 002D8D50 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DBDF4 002D8D54 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DBDF8 002D8D58 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DBDFC 002D8D5C 7C 08 03 A6 */ mtlr r0 +/* 802DBE00 002D8D60 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DBE04 002D8D64 4E 80 00 20 */ blr + +.global sub_802dbe08 +sub_802dbe08: +/* 802DBE08 002D8D68 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DBE0C 002D8D6C 7C 08 02 A6 */ mflr r0 +/* 802DBE10 002D8D70 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DBE14 002D8D74 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DBE18 002D8D78 7C 7D 1B 78 */ mr r29, r3 +/* 802DBE1C 002D8D7C 7C 9E 23 78 */ mr r30, r4 +/* 802DBE20 002D8D80 7C 1D F0 40 */ cmplw r29, r30 +/* 802DBE24 002D8D84 40 82 00 08 */ bne lbl_802DBE2C +/* 802DBE28 002D8D88 48 00 01 48 */ b lbl_802DBF70 +lbl_802DBE2C: +/* 802DBE2C 002D8D8C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DBE30 002D8D90 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 802DBE34 002D8D94 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802DBE38 002D8D98 93 61 00 0C */ stw r27, 0xc(r1) +/* 802DBE3C 002D8D9C 7F FB 02 14 */ add r31, r27, r0 +/* 802DBE40 002D8DA0 93 61 00 08 */ stw r27, 8(r1) +/* 802DBE44 002D8DA4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DBE48 002D8DA8 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DBE4C 002D8DAC 48 00 00 20 */ b lbl_802DBE6C +lbl_802DBE50: +/* 802DBE50 002D8DB0 7F 63 DB 78 */ mr r3, r27 +/* 802DBE54 002D8DB4 38 80 FF FF */ li r4, -1 +/* 802DBE58 002D8DB8 81 9B 00 00 */ lwz r12, 0(r27) +/* 802DBE5C 002D8DBC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DBE60 002D8DC0 7D 89 03 A6 */ mtctr r12 +/* 802DBE64 002D8DC4 4E 80 04 21 */ bctrl +/* 802DBE68 002D8DC8 3B 7B 00 4C */ addi r27, r27, 0x4c +lbl_802DBE6C: +/* 802DBE6C 002D8DCC 7C 1B F8 40 */ cmplw r27, r31 +/* 802DBE70 002D8DD0 40 82 FF E0 */ bne lbl_802DBE50 +/* 802DBE74 002D8DD4 38 00 00 00 */ li r0, 0 +/* 802DBE78 002D8DD8 90 1D 00 04 */ stw r0, 4(r29) +/* 802DBE7C 002D8DDC 80 9E 00 04 */ lwz r4, 4(r30) +/* 802DBE80 002D8DE0 2C 04 00 00 */ cmpwi r4, 0 +/* 802DBE84 002D8DE4 40 82 00 28 */ bne lbl_802DBEAC +/* 802DBE88 002D8DE8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DBE8C 002D8DEC 28 03 00 00 */ cmplwi r3, 0 +/* 802DBE90 002D8DF0 41 82 00 08 */ beq lbl_802DBE98 +/* 802DBE94 002D8DF4 48 03 9A 9D */ bl Free__7CMemoryFPCv +lbl_802DBE98: +/* 802DBE98 002D8DF8 38 00 00 00 */ li r0, 0 +/* 802DBE9C 002D8DFC 90 1D 00 04 */ stw r0, 4(r29) +/* 802DBEA0 002D8E00 90 1D 00 08 */ stw r0, 8(r29) +/* 802DBEA4 002D8E04 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802DBEA8 002D8E08 48 00 00 C4 */ b lbl_802DBF6C +lbl_802DBEAC: +/* 802DBEAC 002D8E0C 7F A3 EB 78 */ mr r3, r29 +/* 802DBEB0 002D8E10 48 00 14 65 */ bl "reserve__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>Fi" +/* 802DBEB4 002D8E14 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DBEB8 002D8E18 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 802DBEBC 002D8E1C 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802DBEC0 002D8E20 83 9D 00 0C */ lwz r28, 0xc(r29) +/* 802DBEC4 002D8E24 7F 7F 02 14 */ add r27, r31, r0 +/* 802DBEC8 002D8E28 48 00 00 94 */ b lbl_802DBF5C +lbl_802DBECC: +/* 802DBECC 002D8E2C 28 1C 00 00 */ cmplwi r28, 0 +/* 802DBED0 002D8E30 41 82 00 84 */ beq lbl_802DBF54 +/* 802DBED4 002D8E34 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DBED8 002D8E38 38 9F 00 08 */ addi r4, r31, 8 +/* 802DBEDC 002D8E3C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DBEE0 002D8E40 90 1C 00 00 */ stw r0, 0(r28) +/* 802DBEE4 002D8E44 38 7C 00 08 */ addi r3, r28, 8 +/* 802DBEE8 002D8E48 A0 1F 00 04 */ lhz r0, 4(r31) +/* 802DBEEC 002D8E4C B0 1C 00 04 */ sth r0, 4(r28) +/* 802DBEF0 002D8E50 48 06 22 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DBEF4 002D8E54 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802DBEF8 002D8E58 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DBEFC 002D8E5C 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DBF00 002D8E60 38 7C 00 3C */ addi r3, r28, 0x3c +/* 802DBF04 002D8E64 B0 9C 00 18 */ sth r4, 0x18(r28) +/* 802DBF08 002D8E68 38 9F 00 3C */ addi r4, r31, 0x3c +/* 802DBF0C 002D8E6C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802DBF10 002D8E70 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802DBF14 002D8E74 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802DBF18 002D8E78 90 BC 00 20 */ stw r5, 0x20(r28) +/* 802DBF1C 002D8E7C 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 802DBF20 002D8E80 90 BC 00 24 */ stw r5, 0x24(r28) +/* 802DBF24 002D8E84 88 BF 00 28 */ lbz r5, 0x28(r31) +/* 802DBF28 002D8E88 98 BC 00 28 */ stb r5, 0x28(r28) +/* 802DBF2C 002D8E8C C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802DBF30 002D8E90 D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 802DBF34 002D8E94 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 802DBF38 002D8E98 90 BC 00 30 */ stw r5, 0x30(r28) +/* 802DBF3C 002D8E9C 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802DBF40 002D8EA0 90 BC 00 34 */ stw r5, 0x34(r28) +/* 802DBF44 002D8EA4 90 1C 00 00 */ stw r0, 0(r28) +/* 802DBF48 002D8EA8 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802DBF4C 002D8EAC 90 1C 00 38 */ stw r0, 0x38(r28) +/* 802DBF50 002D8EB0 48 06 22 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802DBF54: +/* 802DBF54 002D8EB4 3B 9C 00 4C */ addi r28, r28, 0x4c +/* 802DBF58 002D8EB8 3B FF 00 4C */ addi r31, r31, 0x4c +lbl_802DBF5C: +/* 802DBF5C 002D8EBC 7C 1F D8 40 */ cmplw r31, r27 +/* 802DBF60 002D8EC0 40 82 FF 6C */ bne lbl_802DBECC +/* 802DBF64 002D8EC4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DBF68 002D8EC8 90 1D 00 04 */ stw r0, 4(r29) +lbl_802DBF6C: +/* 802DBF6C 002D8ECC 7F A3 EB 78 */ mr r3, r29 +lbl_802DBF70: +/* 802DBF70 002D8ED0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DBF74 002D8ED4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DBF78 002D8ED8 7C 08 03 A6 */ mtlr r0 +/* 802DBF7C 002D8EDC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DBF80 002D8EE0 4E 80 00 20 */ blr + +.global sub_802dbf84 +sub_802dbf84: +/* 802DBF84 002D8EE4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DBF88 002D8EE8 7C 08 02 A6 */ mflr r0 +/* 802DBF8C 002D8EEC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DBF90 002D8EF0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DBF94 002D8EF4 7C 7D 1B 78 */ mr r29, r3 +/* 802DBF98 002D8EF8 7C 9E 23 78 */ mr r30, r4 +/* 802DBF9C 002D8EFC 7C 1D F0 40 */ cmplw r29, r30 +/* 802DBFA0 002D8F00 40 82 00 08 */ bne lbl_802DBFA8 +/* 802DBFA4 002D8F04 48 00 01 3C */ b lbl_802DC0E0 +lbl_802DBFA8: +/* 802DBFA8 002D8F08 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DBFAC 002D8F0C 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 802DBFB0 002D8F10 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802DBFB4 002D8F14 93 61 00 0C */ stw r27, 0xc(r1) +/* 802DBFB8 002D8F18 7F FB 02 14 */ add r31, r27, r0 +/* 802DBFBC 002D8F1C 93 61 00 08 */ stw r27, 8(r1) +/* 802DBFC0 002D8F20 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802DBFC4 002D8F24 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802DBFC8 002D8F28 48 00 00 20 */ b lbl_802DBFE8 +lbl_802DBFCC: +/* 802DBFCC 002D8F2C 7F 63 DB 78 */ mr r3, r27 +/* 802DBFD0 002D8F30 38 80 FF FF */ li r4, -1 +/* 802DBFD4 002D8F34 81 9B 00 00 */ lwz r12, 0(r27) +/* 802DBFD8 002D8F38 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DBFDC 002D8F3C 7D 89 03 A6 */ mtctr r12 +/* 802DBFE0 002D8F40 4E 80 04 21 */ bctrl +/* 802DBFE4 002D8F44 3B 7B 00 3C */ addi r27, r27, 0x3c +lbl_802DBFE8: +/* 802DBFE8 002D8F48 7C 1B F8 40 */ cmplw r27, r31 +/* 802DBFEC 002D8F4C 40 82 FF E0 */ bne lbl_802DBFCC +/* 802DBFF0 002D8F50 38 00 00 00 */ li r0, 0 +/* 802DBFF4 002D8F54 90 1D 00 04 */ stw r0, 4(r29) +/* 802DBFF8 002D8F58 80 9E 00 04 */ lwz r4, 4(r30) +/* 802DBFFC 002D8F5C 2C 04 00 00 */ cmpwi r4, 0 +/* 802DC000 002D8F60 40 82 00 28 */ bne lbl_802DC028 +/* 802DC004 002D8F64 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DC008 002D8F68 28 03 00 00 */ cmplwi r3, 0 +/* 802DC00C 002D8F6C 41 82 00 08 */ beq lbl_802DC014 +/* 802DC010 002D8F70 48 03 99 21 */ bl Free__7CMemoryFPCv +lbl_802DC014: +/* 802DC014 002D8F74 38 00 00 00 */ li r0, 0 +/* 802DC018 002D8F78 90 1D 00 04 */ stw r0, 4(r29) +/* 802DC01C 002D8F7C 90 1D 00 08 */ stw r0, 8(r29) +/* 802DC020 002D8F80 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802DC024 002D8F84 48 00 00 B8 */ b lbl_802DC0DC +lbl_802DC028: +/* 802DC028 002D8F88 7F A3 EB 78 */ mr r3, r29 +/* 802DC02C 002D8F8C 48 00 11 29 */ bl sub_802dd154 +/* 802DC030 002D8F90 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DC034 002D8F94 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 802DC038 002D8F98 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802DC03C 002D8F9C 83 9D 00 0C */ lwz r28, 0xc(r29) +/* 802DC040 002D8FA0 7F 7F 02 14 */ add r27, r31, r0 +/* 802DC044 002D8FA4 48 00 00 88 */ b lbl_802DC0CC +lbl_802DC048: +/* 802DC048 002D8FA8 28 1C 00 00 */ cmplwi r28, 0 +/* 802DC04C 002D8FAC 41 82 00 78 */ beq lbl_802DC0C4 +/* 802DC050 002D8FB0 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DC054 002D8FB4 38 7C 00 08 */ addi r3, r28, 8 +/* 802DC058 002D8FB8 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802DC05C 002D8FBC 38 9F 00 08 */ addi r4, r31, 8 +/* 802DC060 002D8FC0 90 1C 00 00 */ stw r0, 0(r28) +/* 802DC064 002D8FC4 A0 1F 00 04 */ lhz r0, 4(r31) +/* 802DC068 002D8FC8 B0 1C 00 04 */ sth r0, 4(r28) +/* 802DC06C 002D8FCC 48 06 20 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC070 002D8FD0 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802DC074 002D8FD4 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802DC078 002D8FD8 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 802DC07C 002D8FDC B0 9C 00 18 */ sth r4, 0x18(r28) +/* 802DC080 002D8FE0 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802DC084 002D8FE4 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802DC088 002D8FE8 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802DC08C 002D8FEC 90 7C 00 20 */ stw r3, 0x20(r28) +/* 802DC090 002D8FF0 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802DC094 002D8FF4 90 7C 00 24 */ stw r3, 0x24(r28) +/* 802DC098 002D8FF8 88 7F 00 28 */ lbz r3, 0x28(r31) +/* 802DC09C 002D8FFC 98 7C 00 28 */ stb r3, 0x28(r28) +/* 802DC0A0 002D9000 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802DC0A4 002D9004 D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 802DC0A8 002D9008 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802DC0AC 002D900C 90 7C 00 30 */ stw r3, 0x30(r28) +/* 802DC0B0 002D9010 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 802DC0B4 002D9014 90 7C 00 34 */ stw r3, 0x34(r28) +/* 802DC0B8 002D9018 90 1C 00 00 */ stw r0, 0(r28) +/* 802DC0BC 002D901C 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 802DC0C0 002D9020 98 1C 00 38 */ stb r0, 0x38(r28) +lbl_802DC0C4: +/* 802DC0C4 002D9024 3B 9C 00 3C */ addi r28, r28, 0x3c +/* 802DC0C8 002D9028 3B FF 00 3C */ addi r31, r31, 0x3c +lbl_802DC0CC: +/* 802DC0CC 002D902C 7C 1F D8 40 */ cmplw r31, r27 +/* 802DC0D0 002D9030 40 82 FF 78 */ bne lbl_802DC048 +/* 802DC0D4 002D9034 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DC0D8 002D9038 90 1D 00 04 */ stw r0, 4(r29) +lbl_802DC0DC: +/* 802DC0DC 002D903C 7F A3 EB 78 */ mr r3, r29 +lbl_802DC0E0: +/* 802DC0E0 002D9040 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DC0E4 002D9044 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DC0E8 002D9048 7C 08 03 A6 */ mtlr r0 +/* 802DC0EC 002D904C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DC0F0 002D9050 4E 80 00 20 */ blr + +.global "__ct__17CAnimTreeSequenceFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContextiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +"__ct__17CAnimTreeSequenceFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContextiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime": +/* 802DC0F4 002D9054 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DC0F8 002D9058 7C 08 02 A6 */ mflr r0 +/* 802DC0FC 002D905C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DC100 002D9060 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 802DC104 002D9064 7C 7A 1B 78 */ mr r26, r3 +/* 802DC108 002D9068 7F 40 D3 78 */ mr r0, r26 +/* 802DC10C 002D906C 7C 98 23 78 */ mr r24, r4 +/* 802DC110 002D9070 7C BB 2B 78 */ mr r27, r5 +/* 802DC114 002D9074 7C DC 33 78 */ mr r28, r6 +/* 802DC118 002D9078 7C FD 3B 78 */ mr r29, r7 +/* 802DC11C 002D907C 7D 3E 4B 78 */ mr r30, r9 +/* 802DC120 002D9080 7D 5F 53 78 */ mr r31, r10 +/* 802DC124 002D9084 7C 17 03 78 */ mr r23, r0 +/* 802DC128 002D9088 7D 04 43 78 */ mr r4, r8 +/* 802DC12C 002D908C 48 01 7B A5 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC130 002D9090 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802DC134 002D9094 3C 60 80 3F */ lis r3, lbl_803ECC58@ha +/* 802DC138 002D9098 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l +/* 802DC13C 002D909C 3B 3A 00 18 */ addi r25, r26, 0x18 +/* 802DC140 002D90A0 90 17 00 00 */ stw r0, 0(r23) +/* 802DC144 002D90A4 38 03 CC 58 */ addi r0, r3, lbl_803ECC58@l +/* 802DC148 002D90A8 7F 23 CB 78 */ mr r3, r25 +/* 802DC14C 002D90AC 7F 84 E3 78 */ mr r4, r28 +/* 802DC150 002D90B0 80 B8 00 00 */ lwz r5, 0(r24) +/* 802DC154 002D90B4 90 B7 00 14 */ stw r5, 0x14(r23) +/* 802DC158 002D90B8 80 D7 00 14 */ lwz r6, 0x14(r23) +/* 802DC15C 002D90BC 80 A6 00 04 */ lwz r5, 4(r6) +/* 802DC160 002D90C0 38 A5 00 01 */ addi r5, r5, 1 +/* 802DC164 002D90C4 90 A6 00 04 */ stw r5, 4(r6) +/* 802DC168 002D90C8 90 1A 00 00 */ stw r0, 0(r26) +/* 802DC16C 002D90CC 48 06 4D 3D */ bl __ct__6CTokenFRC6CToken +/* 802DC170 002D90D0 80 1C 00 08 */ lwz r0, 8(r28) +/* 802DC174 002D90D4 90 19 00 08 */ stw r0, 8(r25) +/* 802DC178 002D90D8 80 99 00 08 */ lwz r4, 8(r25) +/* 802DC17C 002D90DC 80 64 00 04 */ lwz r3, 4(r4) +/* 802DC180 002D90E0 38 03 00 01 */ addi r0, r3, 1 +/* 802DC184 002D90E4 90 04 00 04 */ stw r0, 4(r4) +/* 802DC188 002D90E8 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 802DC18C 002D90EC 90 19 00 0C */ stw r0, 0xc(r25) +/* 802DC190 002D90F0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802DC194 002D90F4 90 1A 00 2C */ stw r0, 0x2c(r26) +/* 802DC198 002D90F8 80 1B 00 08 */ lwz r0, 8(r27) +/* 802DC19C 002D90FC 90 1A 00 30 */ stw r0, 0x30(r26) +/* 802DC1A0 002D9100 80 1B 00 04 */ lwz r0, 4(r27) +/* 802DC1A4 002D9104 2C 00 00 00 */ cmpwi r0, 0 +/* 802DC1A8 002D9108 40 82 00 1C */ bne lbl_802DC1C4 +/* 802DC1AC 002D910C 80 1B 00 08 */ lwz r0, 8(r27) +/* 802DC1B0 002D9110 2C 00 00 00 */ cmpwi r0, 0 +/* 802DC1B4 002D9114 40 82 00 10 */ bne lbl_802DC1C4 +/* 802DC1B8 002D9118 38 00 00 00 */ li r0, 0 +/* 802DC1BC 002D911C 90 1A 00 34 */ stw r0, 0x34(r26) +/* 802DC1C0 002D9120 48 00 00 78 */ b lbl_802DC238 +lbl_802DC1C4: +/* 802DC1C4 002D9124 80 1A 00 30 */ lwz r0, 0x30(r26) +/* 802DC1C8 002D9128 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802DC1CC 002D912C 40 82 00 10 */ bne lbl_802DC1DC +/* 802DC1D0 002D9130 38 00 00 00 */ li r0, 0 +/* 802DC1D4 002D9134 90 1A 00 34 */ stw r0, 0x34(r26) +/* 802DC1D8 002D9138 48 00 00 1C */ b lbl_802DC1F4 +lbl_802DC1DC: +/* 802DC1DC 002D913C 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DC1E0 002D9140 38 A0 00 00 */ li r5, 0 +/* 802DC1E4 002D9144 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DC1E8 002D9148 38 84 00 01 */ addi r4, r4, 1 +/* 802DC1EC 002D914C 48 03 96 2D */ bl __nwa__FUlPCcPCc +/* 802DC1F0 002D9150 90 7A 00 34 */ stw r3, 0x34(r26) +lbl_802DC1F4: +/* 802DC1F4 002D9154 80 1A 00 2C */ lwz r0, 0x2c(r26) +/* 802DC1F8 002D9158 80 DB 00 0C */ lwz r6, 0xc(r27) +/* 802DC1FC 002D915C 80 BA 00 34 */ lwz r5, 0x34(r26) +/* 802DC200 002D9160 7C 09 03 A6 */ mtctr r0 +/* 802DC204 002D9164 2C 00 00 00 */ cmpwi r0, 0 +/* 802DC208 002D9168 40 81 00 30 */ ble lbl_802DC238 +lbl_802DC20C: +/* 802DC20C 002D916C 28 05 00 00 */ cmplwi r5, 0 +/* 802DC210 002D9170 41 82 00 1C */ beq lbl_802DC22C +/* 802DC214 002D9174 80 06 00 00 */ lwz r0, 0(r6) +/* 802DC218 002D9178 90 05 00 00 */ stw r0, 0(r5) +/* 802DC21C 002D917C 80 85 00 00 */ lwz r4, 0(r5) +/* 802DC220 002D9180 80 64 00 04 */ lwz r3, 4(r4) +/* 802DC224 002D9184 38 03 00 01 */ addi r0, r3, 1 +/* 802DC228 002D9188 90 04 00 04 */ stw r0, 4(r4) +lbl_802DC22C: +/* 802DC22C 002D918C 38 A5 00 04 */ addi r5, r5, 4 +/* 802DC230 002D9190 38 C6 00 04 */ addi r6, r6, 4 +/* 802DC234 002D9194 42 00 FF D8 */ bdnz lbl_802DC20C +lbl_802DC238: +/* 802DC238 002D9198 93 BA 00 38 */ stw r29, 0x38(r26) +/* 802DC23C 002D919C 7F C4 F3 78 */ mr r4, r30 +/* 802DC240 002D91A0 38 7A 00 3C */ addi r3, r26, 0x3c +/* 802DC244 002D91A4 4B FF D1 D9 */ bl sub_802d941c +/* 802DC248 002D91A8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802DC24C 002D91AC 38 61 00 08 */ addi r3, r1, 8 +/* 802DC250 002D91B0 D0 1A 00 94 */ stfs f0, 0x94(r26) +/* 802DC254 002D91B4 80 1F 00 04 */ lwz r0, 4(r31) +/* 802DC258 002D91B8 90 1A 00 98 */ stw r0, 0x98(r26) +/* 802DC25C 002D91BC 80 9A 00 14 */ lwz r4, 0x14(r26) +/* 802DC260 002D91C0 80 84 00 00 */ lwz r4, 0(r4) +/* 802DC264 002D91C4 81 84 00 00 */ lwz r12, 0(r4) +/* 802DC268 002D91C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802DC26C 002D91CC 7D 89 03 A6 */ mtctr r12 +/* 802DC270 002D91D0 4E 80 04 21 */ bctrl +/* 802DC274 002D91D4 7F 43 D3 78 */ mr r3, r26 +/* 802DC278 002D91D8 BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 802DC27C 002D91DC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DC280 002D91E0 7C 08 03 A6 */ mtlr r0 +/* 802DC284 002D91E4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DC288 002D91E8 4E 80 00 20 */ blr + +.global "__ct__17CAnimTreeSequenceFRCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__17CAnimTreeSequenceFRCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802DC28C 002D91EC 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802DC290 002D91F0 7C 08 02 A6 */ mflr r0 +/* 802DC294 002D91F4 90 01 01 34 */ stw r0, 0x134(r1) +/* 802DC298 002D91F8 93 E1 01 2C */ stw r31, 0x12c(r1) +/* 802DC29C 002D91FC 7C BF 2B 78 */ mr r31, r5 +/* 802DC2A0 002D9200 93 C1 01 28 */ stw r30, 0x128(r1) +/* 802DC2A4 002D9204 7C 9E 23 78 */ mr r30, r4 +/* 802DC2A8 002D9208 93 A1 01 24 */ stw r29, 0x124(r1) +/* 802DC2AC 002D920C 7C 7D 1B 78 */ mr r29, r3 +/* 802DC2B0 002D9210 38 61 00 94 */ addi r3, r1, 0x94 +/* 802DC2B4 002D9214 93 81 01 20 */ stw r28, 0x120(r1) +/* 802DC2B8 002D9218 7C DC 33 78 */ mr r28, r6 +/* 802DC2BC 002D921C 48 00 B5 5D */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802DC2C0 002D9220 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802DC2C4 002D9224 7F E5 FB 78 */ mr r5, r31 +/* 802DC2C8 002D9228 38 61 00 08 */ addi r3, r1, 8 +/* 802DC2CC 002D922C 38 C1 00 94 */ addi r6, r1, 0x94 +/* 802DC2D0 002D9230 80 84 00 00 */ lwz r4, 0(r4) +/* 802DC2D4 002D9234 80 84 00 00 */ lwz r4, 0(r4) +/* 802DC2D8 002D9238 81 84 00 00 */ lwz r12, 0(r4) +/* 802DC2DC 002D923C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802DC2E0 002D9240 7D 89 03 A6 */ mtctr r12 +/* 802DC2E4 002D9244 4E 80 04 21 */ bctrl +/* 802DC2E8 002D9248 7F A3 EB 78 */ mr r3, r29 +/* 802DC2EC 002D924C 7F 84 E3 78 */ mr r4, r28 +/* 802DC2F0 002D9250 48 01 79 E1 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC2F4 002D9254 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802DC2F8 002D9258 38 61 00 08 */ addi r3, r1, 8 +/* 802DC2FC 002D925C 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l +/* 802DC300 002D9260 90 1D 00 00 */ stw r0, 0(r29) +/* 802DC304 002D9264 80 01 00 08 */ lwz r0, 8(r1) +/* 802DC308 002D9268 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802DC30C 002D926C 80 BD 00 14 */ lwz r5, 0x14(r29) +/* 802DC310 002D9270 80 85 00 04 */ lwz r4, 4(r5) +/* 802DC314 002D9274 38 04 00 01 */ addi r0, r4, 1 +/* 802DC318 002D9278 90 05 00 04 */ stw r0, 4(r5) +/* 802DC31C 002D927C 4B D5 4C 85 */ bl sub_80030fa0 +/* 802DC320 002D9280 38 A0 00 00 */ li r5, 0 +/* 802DC324 002D9284 3C 60 80 3F */ lis r3, lbl_803ECC58@ha +/* 802DC328 002D9288 98 A1 01 18 */ stb r5, 0x118(r1) +/* 802DC32C 002D928C 3B 9D 00 18 */ addi r28, r29, 0x18 +/* 802DC330 002D9290 38 03 CC 58 */ addi r0, r3, lbl_803ECC58@l +/* 802DC334 002D9294 7F E4 FB 78 */ mr r4, r31 +/* 802DC338 002D9298 98 A1 00 D4 */ stb r5, 0xd4(r1) +/* 802DC33C 002D929C 7F 83 E3 78 */ mr r3, r28 +/* 802DC340 002D92A0 90 1D 00 00 */ stw r0, 0(r29) +/* 802DC344 002D92A4 48 06 4B 65 */ bl __ct__6CTokenFRC6CToken +/* 802DC348 002D92A8 80 1F 00 08 */ lwz r0, 8(r31) +/* 802DC34C 002D92AC 90 1C 00 08 */ stw r0, 8(r28) +/* 802DC350 002D92B0 80 9C 00 08 */ lwz r4, 8(r28) +/* 802DC354 002D92B4 80 64 00 04 */ lwz r3, 4(r4) +/* 802DC358 002D92B8 38 03 00 01 */ addi r0, r3, 1 +/* 802DC35C 002D92BC 90 04 00 04 */ stw r0, 4(r4) +/* 802DC360 002D92C0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802DC364 002D92C4 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802DC368 002D92C8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DC36C 002D92CC 90 1D 00 2C */ stw r0, 0x2c(r29) +/* 802DC370 002D92D0 80 1E 00 08 */ lwz r0, 8(r30) +/* 802DC374 002D92D4 90 1D 00 30 */ stw r0, 0x30(r29) +/* 802DC378 002D92D8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DC37C 002D92DC 2C 00 00 00 */ cmpwi r0, 0 +/* 802DC380 002D92E0 40 82 00 1C */ bne lbl_802DC39C +/* 802DC384 002D92E4 80 1E 00 08 */ lwz r0, 8(r30) +/* 802DC388 002D92E8 2C 00 00 00 */ cmpwi r0, 0 +/* 802DC38C 002D92EC 40 82 00 10 */ bne lbl_802DC39C +/* 802DC390 002D92F0 38 00 00 00 */ li r0, 0 +/* 802DC394 002D92F4 90 1D 00 34 */ stw r0, 0x34(r29) +/* 802DC398 002D92F8 48 00 00 78 */ b lbl_802DC410 +lbl_802DC39C: +/* 802DC39C 002D92FC 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 802DC3A0 002D9300 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802DC3A4 002D9304 40 82 00 10 */ bne lbl_802DC3B4 +/* 802DC3A8 002D9308 38 00 00 00 */ li r0, 0 +/* 802DC3AC 002D930C 90 1D 00 34 */ stw r0, 0x34(r29) +/* 802DC3B0 002D9310 48 00 00 1C */ b lbl_802DC3CC +lbl_802DC3B4: +/* 802DC3B4 002D9314 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DC3B8 002D9318 38 A0 00 00 */ li r5, 0 +/* 802DC3BC 002D931C 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DC3C0 002D9320 38 84 00 01 */ addi r4, r4, 1 +/* 802DC3C4 002D9324 48 03 94 55 */ bl __nwa__FUlPCcPCc +/* 802DC3C8 002D9328 90 7D 00 34 */ stw r3, 0x34(r29) +lbl_802DC3CC: +/* 802DC3CC 002D932C 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 802DC3D0 002D9330 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802DC3D4 002D9334 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 802DC3D8 002D9338 7C 09 03 A6 */ mtctr r0 +/* 802DC3DC 002D933C 2C 00 00 00 */ cmpwi r0, 0 +/* 802DC3E0 002D9340 40 81 00 30 */ ble lbl_802DC410 +lbl_802DC3E4: +/* 802DC3E4 002D9344 28 05 00 00 */ cmplwi r5, 0 +/* 802DC3E8 002D9348 41 82 00 1C */ beq lbl_802DC404 +/* 802DC3EC 002D934C 80 06 00 00 */ lwz r0, 0(r6) +/* 802DC3F0 002D9350 90 05 00 00 */ stw r0, 0(r5) +/* 802DC3F4 002D9354 80 85 00 00 */ lwz r4, 0(r5) +/* 802DC3F8 002D9358 80 64 00 04 */ lwz r3, 4(r4) +/* 802DC3FC 002D935C 38 03 00 01 */ addi r0, r3, 1 +/* 802DC400 002D9360 90 04 00 04 */ stw r0, 4(r4) +lbl_802DC404: +/* 802DC404 002D9364 38 A5 00 04 */ addi r5, r5, 4 +/* 802DC408 002D9368 38 C6 00 04 */ addi r6, r6, 4 +/* 802DC40C 002D936C 42 00 FF D8 */ bdnz lbl_802DC3E4 +lbl_802DC410: +/* 802DC410 002D9370 38 00 00 00 */ li r0, 0 +/* 802DC414 002D9374 7F C4 F3 78 */ mr r4, r30 +/* 802DC418 002D9378 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802DC41C 002D937C 7F E5 FB 78 */ mr r5, r31 +/* 802DC420 002D9380 38 61 00 0C */ addi r3, r1, 0xc +/* 802DC424 002D9384 48 00 A6 55 */ bl "__ct__15CSequenceHelperFRCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContext" +/* 802DC428 002D9388 38 61 00 3C */ addi r3, r1, 0x3c +/* 802DC42C 002D938C 38 81 00 0C */ addi r4, r1, 0xc +/* 802DC430 002D9390 48 00 95 59 */ bl ComputeSequenceFundamentals__15CSequenceHelperCFv +/* 802DC434 002D9394 38 7D 00 3C */ addi r3, r29, 0x3c +/* 802DC438 002D9398 38 81 00 3C */ addi r4, r1, 0x3c +/* 802DC43C 002D939C 4B FF CF E1 */ bl sub_802d941c +/* 802DC440 002D93A0 38 61 00 3C */ addi r3, r1, 0x3c +/* 802DC444 002D93A4 38 80 FF FF */ li r4, -1 +/* 802DC448 002D93A8 4B FF C3 C9 */ bl sub_802d8810 +/* 802DC44C 002D93AC 38 61 00 0C */ addi r3, r1, 0xc +/* 802DC450 002D93B0 38 80 FF FF */ li r4, -1 +/* 802DC454 002D93B4 4B FF D7 E1 */ bl __dt__15CSequenceHelperFv +/* 802DC458 002D93B8 C0 22 C5 A0 */ lfs f1, lbl_805AE2C0@sda21(r2) +/* 802DC45C 002D93BC 38 7D 00 94 */ addi r3, r29, 0x94 +/* 802DC460 002D93C0 48 06 C9 8D */ bl __ct__13CCharAnimTimeFf +/* 802DC464 002D93C4 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802DC468 002D93C8 7F A3 EB 78 */ mr r3, r29 +/* 802DC46C 002D93CC 83 E1 01 2C */ lwz r31, 0x12c(r1) +/* 802DC470 002D93D0 83 C1 01 28 */ lwz r30, 0x128(r1) +/* 802DC474 002D93D4 83 A1 01 24 */ lwz r29, 0x124(r1) +/* 802DC478 002D93D8 83 81 01 20 */ lwz r28, 0x120(r1) +/* 802DC47C 002D93DC 7C 08 03 A6 */ mtlr r0 +/* 802DC480 002D93E0 38 21 01 30 */ addi r1, r1, 0x130 +/* 802DC484 002D93E4 4E 80 00 20 */ blr + +.global sub_802dc488 +sub_802dc488: +/* 802DC488 002D93E8 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 802DC48C 002D93EC 7C 08 02 A6 */ mflr r0 +/* 802DC490 002D93F0 90 01 01 24 */ stw r0, 0x124(r1) +/* 802DC494 002D93F4 BE 21 00 E4 */ stmw r17, 0xe4(r1) +/* 802DC498 002D93F8 7C 9C 23 78 */ mr r28, r4 +/* 802DC49C 002D93FC 7C BD 2B 78 */ mr r29, r5 +/* 802DC4A0 002D9400 7C 65 1B 78 */ mr r5, r3 +/* 802DC4A4 002D9404 7D 1F 43 78 */ mr r31, r8 +/* 802DC4A8 002D9408 7C DE 33 78 */ mr r30, r6 +/* 802DC4AC 002D940C 7D 24 4B 78 */ mr r4, r9 +/* 802DC4B0 002D9410 38 61 00 08 */ addi r3, r1, 8 +/* 802DC4B4 002D9414 C0 09 00 00 */ lfs f0, 0(r9) +/* 802DC4B8 002D9418 80 09 00 04 */ lwz r0, 4(r9) +/* 802DC4BC 002D941C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802DC4C0 002D9420 82 88 00 04 */ lwz r20, 4(r8) +/* 802DC4C4 002D9424 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802DC4C8 002D9428 48 06 C0 DD */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DC4CC 002D942C C0 01 00 08 */ lfs f0, 8(r1) +/* 802DC4D0 002D9430 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DC4D4 002D9434 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DC4D8 002D9438 1E 3E 00 3C */ mulli r17, r30, 0x3c +/* 802DC4DC 002D943C 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802DC4E0 002D9440 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802DC4E4 002D9444 3A A1 00 A0 */ addi r21, r1, 0xa0 +/* 802DC4E8 002D9448 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DC4EC 002D944C 7F D2 F3 78 */ mr r18, r30 +/* 802DC4F0 002D9450 3B 01 00 B4 */ addi r24, r1, 0xb4 +/* 802DC4F4 002D9454 3A E1 00 28 */ addi r23, r1, 0x28 +/* 802DC4F8 002D9458 3A C1 00 64 */ addi r22, r1, 0x64 +/* 802DC4FC 002D945C 3B 44 9B 8C */ addi r26, r4, lbl_803D9B8C@l +/* 802DC500 002D9460 3B 63 9B 68 */ addi r27, r3, lbl_803D9B68@l +/* 802DC504 002D9464 3A 60 00 00 */ li r19, 0 +/* 802DC508 002D9468 48 00 02 24 */ b lbl_802DC72C +lbl_802DC50C: +/* 802DC50C 002D946C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802DC510 002D9470 7E A3 AB 78 */ mr r3, r21 +/* 802DC514 002D9474 93 41 00 98 */ stw r26, 0x98(r1) +/* 802DC518 002D9478 7F 20 8A 14 */ add r25, r0, r17 +/* 802DC51C 002D947C A0 19 00 04 */ lhz r0, 4(r25) +/* 802DC520 002D9480 38 99 00 08 */ addi r4, r25, 8 +/* 802DC524 002D9484 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 802DC528 002D9488 48 06 1C 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC52C 002D948C A0 19 00 18 */ lhz r0, 0x18(r25) +/* 802DC530 002D9490 7F 03 C3 78 */ mr r3, r24 +/* 802DC534 002D9494 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DC538 002D9498 B0 01 00 B0 */ sth r0, 0xb0(r1) +/* 802DC53C 002D949C C0 19 00 1C */ lfs f0, 0x1c(r25) +/* 802DC540 002D94A0 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 802DC544 002D94A4 80 19 00 20 */ lwz r0, 0x20(r25) +/* 802DC548 002D94A8 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802DC54C 002D94AC 80 19 00 24 */ lwz r0, 0x24(r25) +/* 802DC550 002D94B0 90 01 00 BC */ stw r0, 0xbc(r1) +/* 802DC554 002D94B4 88 19 00 28 */ lbz r0, 0x28(r25) +/* 802DC558 002D94B8 98 01 00 C0 */ stb r0, 0xc0(r1) +/* 802DC55C 002D94BC C0 19 00 2C */ lfs f0, 0x2c(r25) +/* 802DC560 002D94C0 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802DC564 002D94C4 80 19 00 30 */ lwz r0, 0x30(r25) +/* 802DC568 002D94C8 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802DC56C 002D94CC 80 19 00 34 */ lwz r0, 0x34(r25) +/* 802DC570 002D94D0 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802DC574 002D94D4 93 61 00 98 */ stw r27, 0x98(r1) +/* 802DC578 002D94D8 88 19 00 38 */ lbz r0, 0x38(r25) +/* 802DC57C 002D94DC 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 802DC580 002D94E0 48 06 C4 ED */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DC584 002D94E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DC588 002D94E8 41 82 00 30 */ beq lbl_802DC5B8 +/* 802DC58C 002D94EC 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 802DC590 002D94F0 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DC594 002D94F4 38 04 9B 68 */ addi r0, r4, lbl_803D9B68@l +/* 802DC598 002D94F8 28 15 00 00 */ cmplwi r21, 0 +/* 802DC59C 002D94FC 90 01 00 98 */ stw r0, 0x98(r1) +/* 802DC5A0 002D9500 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DC5A4 002D9504 90 01 00 98 */ stw r0, 0x98(r1) +/* 802DC5A8 002D9508 41 82 01 8C */ beq lbl_802DC734 +/* 802DC5AC 002D950C 7E A3 AB 78 */ mr r3, r21 +/* 802DC5B0 002D9510 48 06 15 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DC5B4 002D9514 48 00 01 80 */ b lbl_802DC734 +lbl_802DC5B8: +/* 802DC5B8 002D9518 7F 03 C3 78 */ mr r3, r24 +/* 802DC5BC 002D951C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DC5C0 002D9520 48 06 BE 7D */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DC5C4 002D9524 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DC5C8 002D9528 41 82 01 44 */ beq lbl_802DC70C +/* 802DC5CC 002D952C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DC5D0 002D9530 38 81 00 98 */ addi r4, r1, 0x98 +/* 802DC5D4 002D9534 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DC5D8 002D9538 48 01 B4 DD */ bl CopyNodeMinusStartTime__12CBoolPOINodeFRC12CBoolPOINodeRC13CCharAnimTime +/* 802DC5DC 002D953C A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802DC5E0 002D9540 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DC5E4 002D9544 38 83 9B 8C */ addi r4, r3, lbl_803D9B8C@l +/* 802DC5E8 002D9548 7E C3 B3 78 */ mr r3, r22 +/* 802DC5EC 002D954C 90 81 00 5C */ stw r4, 0x5c(r1) +/* 802DC5F0 002D9550 7E E4 BB 78 */ mr r4, r23 +/* 802DC5F4 002D9554 B0 01 00 60 */ sth r0, 0x60(r1) +/* 802DC5F8 002D9558 48 06 1B 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC5FC 002D955C 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802DC600 002D9560 A1 41 00 38 */ lhz r10, 0x38(r1) +/* 802DC604 002D9564 38 83 9B 68 */ addi r4, r3, lbl_803D9B68@l +/* 802DC608 002D9568 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802DC60C 002D956C 81 21 00 40 */ lwz r9, 0x40(r1) +/* 802DC610 002D9570 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DC614 002D9574 81 01 00 44 */ lwz r8, 0x44(r1) +/* 802DC618 002D9578 28 17 00 00 */ cmplwi r23, 0 +/* 802DC61C 002D957C 88 E1 00 48 */ lbz r7, 0x48(r1) +/* 802DC620 002D9580 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DC624 002D9584 90 81 00 20 */ stw r4, 0x20(r1) +/* 802DC628 002D9588 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802DC62C 002D958C 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802DC630 002D9590 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802DC634 002D9594 88 61 00 58 */ lbz r3, 0x58(r1) +/* 802DC638 002D9598 B1 41 00 74 */ sth r10, 0x74(r1) +/* 802DC63C 002D959C D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802DC640 002D95A0 91 21 00 7C */ stw r9, 0x7c(r1) +/* 802DC644 002D95A4 91 01 00 80 */ stw r8, 0x80(r1) +/* 802DC648 002D95A8 98 E1 00 84 */ stb r7, 0x84(r1) +/* 802DC64C 002D95AC D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802DC650 002D95B0 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 802DC654 002D95B4 90 A1 00 90 */ stw r5, 0x90(r1) +/* 802DC658 002D95B8 90 81 00 5C */ stw r4, 0x5c(r1) +/* 802DC65C 002D95BC 98 61 00 94 */ stb r3, 0x94(r1) +/* 802DC660 002D95C0 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DC664 002D95C4 41 82 00 0C */ beq lbl_802DC670 +/* 802DC668 002D95C8 7E E3 BB 78 */ mr r3, r23 +/* 802DC66C 002D95CC 48 06 14 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DC670: +/* 802DC670 002D95D0 7C 1E 9A 14 */ add r0, r30, r19 +/* 802DC674 002D95D4 7C 00 E8 40 */ cmplw r0, r29 +/* 802DC678 002D95D8 40 80 00 6C */ bge lbl_802DC6E4 +/* 802DC67C 002D95DC 1C 60 00 3C */ mulli r3, r0, 0x3c +/* 802DC680 002D95E0 A0 01 00 60 */ lhz r0, 0x60(r1) +/* 802DC684 002D95E4 7E C4 B3 78 */ mr r4, r22 +/* 802DC688 002D95E8 3A 73 00 01 */ addi r19, r19, 1 +/* 802DC68C 002D95EC 7F 3C 1A 14 */ add r25, r28, r3 +/* 802DC690 002D95F0 B0 19 00 04 */ sth r0, 4(r25) +/* 802DC694 002D95F4 38 79 00 08 */ addi r3, r25, 8 +/* 802DC698 002D95F8 48 06 16 C5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC69C 002D95FC A0 01 00 74 */ lhz r0, 0x74(r1) +/* 802DC6A0 002D9600 B0 19 00 18 */ sth r0, 0x18(r25) +/* 802DC6A4 002D9604 80 61 00 78 */ lwz r3, 0x78(r1) +/* 802DC6A8 002D9608 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802DC6AC 002D960C 90 79 00 1C */ stw r3, 0x1c(r25) +/* 802DC6B0 002D9610 90 19 00 20 */ stw r0, 0x20(r25) +/* 802DC6B4 002D9614 80 01 00 80 */ lwz r0, 0x80(r1) +/* 802DC6B8 002D9618 90 19 00 24 */ stw r0, 0x24(r25) +/* 802DC6BC 002D961C 88 01 00 84 */ lbz r0, 0x84(r1) +/* 802DC6C0 002D9620 98 19 00 28 */ stb r0, 0x28(r25) +/* 802DC6C4 002D9624 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802DC6C8 002D9628 D0 19 00 2C */ stfs f0, 0x2c(r25) +/* 802DC6CC 002D962C 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802DC6D0 002D9630 90 19 00 30 */ stw r0, 0x30(r25) +/* 802DC6D4 002D9634 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802DC6D8 002D9638 90 19 00 34 */ stw r0, 0x34(r25) +/* 802DC6DC 002D963C 88 01 00 94 */ lbz r0, 0x94(r1) +/* 802DC6E0 002D9640 98 19 00 38 */ stb r0, 0x38(r25) +lbl_802DC6E4: +/* 802DC6E4 002D9644 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 802DC6E8 002D9648 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DC6EC 002D964C 38 04 9B 68 */ addi r0, r4, lbl_803D9B68@l +/* 802DC6F0 002D9650 28 16 00 00 */ cmplwi r22, 0 +/* 802DC6F4 002D9654 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802DC6F8 002D9658 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DC6FC 002D965C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802DC700 002D9660 41 82 00 0C */ beq lbl_802DC70C +/* 802DC704 002D9664 7E C3 B3 78 */ mr r3, r22 +/* 802DC708 002D9668 48 06 13 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DC70C: +/* 802DC70C 002D966C 93 61 00 98 */ stw r27, 0x98(r1) +/* 802DC710 002D9670 28 15 00 00 */ cmplwi r21, 0 +/* 802DC714 002D9674 3A 52 00 01 */ addi r18, r18, 1 +/* 802DC718 002D9678 3A 31 00 3C */ addi r17, r17, 0x3c +/* 802DC71C 002D967C 93 41 00 98 */ stw r26, 0x98(r1) +/* 802DC720 002D9680 41 82 00 0C */ beq lbl_802DC72C +/* 802DC724 002D9684 7E A3 AB 78 */ mr r3, r21 +/* 802DC728 002D9688 48 06 13 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DC72C: +/* 802DC72C 002D968C 7C 12 A0 40 */ cmplw r18, r20 +/* 802DC730 002D9690 41 80 FD DC */ blt lbl_802DC50C +lbl_802DC734: +/* 802DC734 002D9694 7E 63 9B 78 */ mr r3, r19 +/* 802DC738 002D9698 BA 21 00 E4 */ lmw r17, 0xe4(r1) +/* 802DC73C 002D969C 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802DC740 002D96A0 7C 08 03 A6 */ mtlr r0 +/* 802DC744 002D96A4 38 21 01 20 */ addi r1, r1, 0x120 +/* 802DC748 002D96A8 4E 80 00 20 */ blr + +.global sub_802dc74c +sub_802dc74c: +/* 802DC74C 002D96AC 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802DC750 002D96B0 7C 08 02 A6 */ mflr r0 +/* 802DC754 002D96B4 90 01 01 54 */ stw r0, 0x154(r1) +/* 802DC758 002D96B8 BD C1 01 08 */ stmw r14, 0x108(r1) +/* 802DC75C 002D96BC 7C 94 23 78 */ mr r20, r4 +/* 802DC760 002D96C0 7C B5 2B 78 */ mr r21, r5 +/* 802DC764 002D96C4 7C 65 1B 78 */ mr r5, r3 +/* 802DC768 002D96C8 7D 17 43 78 */ mr r23, r8 +/* 802DC76C 002D96CC 7C D6 33 78 */ mr r22, r6 +/* 802DC770 002D96D0 7D 24 4B 78 */ mr r4, r9 +/* 802DC774 002D96D4 38 61 00 08 */ addi r3, r1, 8 +/* 802DC778 002D96D8 C0 09 00 00 */ lfs f0, 0(r9) +/* 802DC77C 002D96DC 80 09 00 04 */ lwz r0, 4(r9) +/* 802DC780 002D96E0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802DC784 002D96E4 83 48 00 04 */ lwz r26, 4(r8) +/* 802DC788 002D96E8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802DC78C 002D96EC 48 06 BE 19 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DC790 002D96F0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802DC794 002D96F4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DC798 002D96F8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DC79C 002D96FC 1E 56 00 4C */ mulli r18, r22, 0x4c +/* 802DC7A0 002D9700 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DC7A4 002D9704 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802DC7A8 002D9708 39 C1 00 F4 */ addi r14, r1, 0xf4 +/* 802DC7AC 002D970C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DC7B0 002D9710 3B 61 00 C0 */ addi r27, r1, 0xc0 +/* 802DC7B4 002D9714 3A 61 00 B8 */ addi r19, r1, 0xb8 +/* 802DC7B8 002D9718 7E D8 B3 78 */ mr r24, r22 +/* 802DC7BC 002D971C 3B E1 00 28 */ addi r31, r1, 0x28 +/* 802DC7C0 002D9720 3B C1 00 5C */ addi r30, r1, 0x5c +/* 802DC7C4 002D9724 3B A1 00 74 */ addi r29, r1, 0x74 +/* 802DC7C8 002D9728 3B 81 00 A8 */ addi r28, r1, 0xa8 +/* 802DC7CC 002D972C 3A 04 9B 8C */ addi r16, r4, lbl_803D9B8C@l +/* 802DC7D0 002D9730 3A 23 9B 98 */ addi r17, r3, lbl_803D9B98@l +/* 802DC7D4 002D9734 3B 20 00 00 */ li r25, 0 +/* 802DC7D8 002D9738 48 00 02 94 */ b lbl_802DCA6C +lbl_802DC7DC: +/* 802DC7DC 002D973C 80 17 00 0C */ lwz r0, 0xc(r23) +/* 802DC7E0 002D9740 38 73 00 08 */ addi r3, r19, 8 +/* 802DC7E4 002D9744 92 01 00 B8 */ stw r16, 0xb8(r1) +/* 802DC7E8 002D9748 7D E0 92 14 */ add r15, r0, r18 +/* 802DC7EC 002D974C A0 0F 00 04 */ lhz r0, 4(r15) +/* 802DC7F0 002D9750 38 8F 00 08 */ addi r4, r15, 8 +/* 802DC7F4 002D9754 B0 01 00 BC */ sth r0, 0xbc(r1) +/* 802DC7F8 002D9758 48 06 19 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC7FC 002D975C A0 0F 00 18 */ lhz r0, 0x18(r15) +/* 802DC800 002D9760 38 73 00 3C */ addi r3, r19, 0x3c +/* 802DC804 002D9764 38 8F 00 3C */ addi r4, r15, 0x3c +/* 802DC808 002D9768 B0 13 00 18 */ sth r0, 0x18(r19) +/* 802DC80C 002D976C C0 0F 00 1C */ lfs f0, 0x1c(r15) +/* 802DC810 002D9770 D0 13 00 1C */ stfs f0, 0x1c(r19) +/* 802DC814 002D9774 80 0F 00 20 */ lwz r0, 0x20(r15) +/* 802DC818 002D9778 90 13 00 20 */ stw r0, 0x20(r19) +/* 802DC81C 002D977C 80 0F 00 24 */ lwz r0, 0x24(r15) +/* 802DC820 002D9780 90 13 00 24 */ stw r0, 0x24(r19) +/* 802DC824 002D9784 88 0F 00 28 */ lbz r0, 0x28(r15) +/* 802DC828 002D9788 98 13 00 28 */ stb r0, 0x28(r19) +/* 802DC82C 002D978C C0 0F 00 2C */ lfs f0, 0x2c(r15) +/* 802DC830 002D9790 D0 13 00 2C */ stfs f0, 0x2c(r19) +/* 802DC834 002D9794 80 0F 00 30 */ lwz r0, 0x30(r15) +/* 802DC838 002D9798 90 13 00 30 */ stw r0, 0x30(r19) +/* 802DC83C 002D979C 80 0F 00 34 */ lwz r0, 0x34(r15) +/* 802DC840 002D97A0 90 13 00 34 */ stw r0, 0x34(r19) +/* 802DC844 002D97A4 92 21 00 B8 */ stw r17, 0xb8(r1) +/* 802DC848 002D97A8 80 0F 00 38 */ lwz r0, 0x38(r15) +/* 802DC84C 002D97AC 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 802DC850 002D97B0 48 06 19 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC854 002D97B4 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802DC858 002D97B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DC85C 002D97BC 48 06 C2 11 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DC860 002D97C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DC864 002D97C4 41 82 00 40 */ beq lbl_802DC8A4 +/* 802DC868 002D97C8 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DC86C 002D97CC 28 0E 00 00 */ cmplwi r14, 0 +/* 802DC870 002D97D0 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DC874 002D97D4 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802DC878 002D97D8 41 82 00 0C */ beq lbl_802DC884 +/* 802DC87C 002D97DC 7D C3 73 78 */ mr r3, r14 +/* 802DC880 002D97E0 48 06 12 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DC884: +/* 802DC884 002D97E4 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DC888 002D97E8 28 1B 00 00 */ cmplwi r27, 0 +/* 802DC88C 002D97EC 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DC890 002D97F0 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802DC894 002D97F4 41 82 01 E0 */ beq lbl_802DCA74 +/* 802DC898 002D97F8 7F 63 DB 78 */ mr r3, r27 +/* 802DC89C 002D97FC 48 06 12 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DC8A0 002D9800 48 00 01 D4 */ b lbl_802DCA74 +lbl_802DC8A4: +/* 802DC8A4 002D9804 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802DC8A8 002D9808 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DC8AC 002D980C 48 06 BB 91 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DC8B0 002D9810 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DC8B4 002D9814 41 82 01 88 */ beq lbl_802DCA3C +/* 802DC8B8 002D9818 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DC8BC 002D981C 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802DC8C0 002D9820 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DC8C4 002D9824 48 02 05 E5 */ bl CopyNodeMinusStartTime__13CInt32POINodeFRC13CInt32POINodeRC13CCharAnimTime +/* 802DC8C8 002D9828 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802DC8CC 002D982C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DC8D0 002D9830 38 63 9B 8C */ addi r3, r3, lbl_803D9B8C@l +/* 802DC8D4 002D9834 39 E1 00 6C */ addi r15, r1, 0x6c +/* 802DC8D8 002D9838 90 61 00 6C */ stw r3, 0x6c(r1) +/* 802DC8DC 002D983C 7F E4 FB 78 */ mr r4, r31 +/* 802DC8E0 002D9840 38 6F 00 08 */ addi r3, r15, 8 +/* 802DC8E4 002D9844 B0 01 00 70 */ sth r0, 0x70(r1) +/* 802DC8E8 002D9848 48 06 18 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC8EC 002D984C A0 C1 00 38 */ lhz r6, 0x38(r1) +/* 802DC8F0 002D9850 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DC8F4 002D9854 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802DC8F8 002D9858 39 03 9B 98 */ addi r8, r3, lbl_803D9B98@l +/* 802DC8FC 002D985C 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802DC900 002D9860 7F C4 F3 78 */ mr r4, r30 +/* 802DC904 002D9864 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DC908 002D9868 38 6F 00 3C */ addi r3, r15, 0x3c +/* 802DC90C 002D986C 89 61 00 48 */ lbz r11, 0x48(r1) +/* 802DC910 002D9870 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802DC914 002D9874 81 41 00 50 */ lwz r10, 0x50(r1) +/* 802DC918 002D9878 81 21 00 54 */ lwz r9, 0x54(r1) +/* 802DC91C 002D987C 80 E1 00 58 */ lwz r7, 0x58(r1) +/* 802DC920 002D9880 B0 CF 00 18 */ sth r6, 0x18(r15) +/* 802DC924 002D9884 D0 2F 00 1C */ stfs f1, 0x1c(r15) +/* 802DC928 002D9888 90 AF 00 20 */ stw r5, 0x20(r15) +/* 802DC92C 002D988C 90 0F 00 24 */ stw r0, 0x24(r15) +/* 802DC930 002D9890 99 6F 00 28 */ stb r11, 0x28(r15) +/* 802DC934 002D9894 D0 0F 00 2C */ stfs f0, 0x2c(r15) +/* 802DC938 002D9898 91 4F 00 30 */ stw r10, 0x30(r15) +/* 802DC93C 002D989C 91 2F 00 34 */ stw r9, 0x34(r15) +/* 802DC940 002D98A0 91 01 00 6C */ stw r8, 0x6c(r1) +/* 802DC944 002D98A4 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 802DC948 002D98A8 48 06 18 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC94C 002D98AC 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DC950 002D98B0 28 1E 00 00 */ cmplwi r30, 0 +/* 802DC954 002D98B4 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DC958 002D98B8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DC95C 002D98BC 41 82 00 0C */ beq lbl_802DC968 +/* 802DC960 002D98C0 7F C3 F3 78 */ mr r3, r30 +/* 802DC964 002D98C4 48 06 11 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DC968: +/* 802DC968 002D98C8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DC96C 002D98CC 28 1F 00 00 */ cmplwi r31, 0 +/* 802DC970 002D98D0 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DC974 002D98D4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DC978 002D98D8 41 82 00 0C */ beq lbl_802DC984 +/* 802DC97C 002D98DC 7F E3 FB 78 */ mr r3, r31 +/* 802DC980 002D98E0 48 06 11 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DC984: +/* 802DC984 002D98E4 7C 16 CA 14 */ add r0, r22, r25 +/* 802DC988 002D98E8 7C 00 A8 40 */ cmplw r0, r21 +/* 802DC98C 002D98EC 40 80 00 78 */ bge lbl_802DCA04 +/* 802DC990 002D98F0 1C 60 00 4C */ mulli r3, r0, 0x4c +/* 802DC994 002D98F4 A0 01 00 70 */ lhz r0, 0x70(r1) +/* 802DC998 002D98F8 7F A4 EB 78 */ mr r4, r29 +/* 802DC99C 002D98FC 3B 39 00 01 */ addi r25, r25, 1 +/* 802DC9A0 002D9900 7D F4 1A 14 */ add r15, r20, r3 +/* 802DC9A4 002D9904 B0 0F 00 04 */ sth r0, 4(r15) +/* 802DC9A8 002D9908 38 6F 00 08 */ addi r3, r15, 8 +/* 802DC9AC 002D990C 48 06 13 B1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DC9B0 002D9910 A0 01 00 84 */ lhz r0, 0x84(r1) +/* 802DC9B4 002D9914 7F 84 E3 78 */ mr r4, r28 +/* 802DC9B8 002D9918 38 6F 00 3C */ addi r3, r15, 0x3c +/* 802DC9BC 002D991C B0 0F 00 18 */ sth r0, 0x18(r15) +/* 802DC9C0 002D9920 80 A1 00 88 */ lwz r5, 0x88(r1) +/* 802DC9C4 002D9924 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802DC9C8 002D9928 90 AF 00 1C */ stw r5, 0x1c(r15) +/* 802DC9CC 002D992C 90 0F 00 20 */ stw r0, 0x20(r15) +/* 802DC9D0 002D9930 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802DC9D4 002D9934 90 0F 00 24 */ stw r0, 0x24(r15) +/* 802DC9D8 002D9938 88 01 00 94 */ lbz r0, 0x94(r1) +/* 802DC9DC 002D993C 98 0F 00 28 */ stb r0, 0x28(r15) +/* 802DC9E0 002D9940 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802DC9E4 002D9944 D0 0F 00 2C */ stfs f0, 0x2c(r15) +/* 802DC9E8 002D9948 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802DC9EC 002D994C 90 0F 00 30 */ stw r0, 0x30(r15) +/* 802DC9F0 002D9950 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802DC9F4 002D9954 90 0F 00 34 */ stw r0, 0x34(r15) +/* 802DC9F8 002D9958 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802DC9FC 002D995C 90 0F 00 38 */ stw r0, 0x38(r15) +/* 802DCA00 002D9960 48 06 13 5D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802DCA04: +/* 802DCA04 002D9964 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DCA08 002D9968 28 1C 00 00 */ cmplwi r28, 0 +/* 802DCA0C 002D996C 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DCA10 002D9970 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802DCA14 002D9974 41 82 00 0C */ beq lbl_802DCA20 +/* 802DCA18 002D9978 7F 83 E3 78 */ mr r3, r28 +/* 802DCA1C 002D997C 48 06 10 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCA20: +/* 802DCA20 002D9980 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCA24 002D9984 28 1D 00 00 */ cmplwi r29, 0 +/* 802DCA28 002D9988 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DCA2C 002D998C 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802DCA30 002D9990 41 82 00 0C */ beq lbl_802DCA3C +/* 802DCA34 002D9994 7F A3 EB 78 */ mr r3, r29 +/* 802DCA38 002D9998 48 06 10 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCA3C: +/* 802DCA3C 002D999C 28 0E 00 00 */ cmplwi r14, 0 +/* 802DCA40 002D99A0 92 21 00 B8 */ stw r17, 0xb8(r1) +/* 802DCA44 002D99A4 3B 18 00 01 */ addi r24, r24, 1 +/* 802DCA48 002D99A8 3A 52 00 4C */ addi r18, r18, 0x4c +/* 802DCA4C 002D99AC 41 82 00 0C */ beq lbl_802DCA58 +/* 802DCA50 002D99B0 7D C3 73 78 */ mr r3, r14 +/* 802DCA54 002D99B4 48 06 10 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCA58: +/* 802DCA58 002D99B8 28 1B 00 00 */ cmplwi r27, 0 +/* 802DCA5C 002D99BC 92 01 00 B8 */ stw r16, 0xb8(r1) +/* 802DCA60 002D99C0 41 82 00 0C */ beq lbl_802DCA6C +/* 802DCA64 002D99C4 7F 63 DB 78 */ mr r3, r27 +/* 802DCA68 002D99C8 48 06 10 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCA6C: +/* 802DCA6C 002D99CC 7C 18 D0 40 */ cmplw r24, r26 +/* 802DCA70 002D99D0 41 80 FD 6C */ blt lbl_802DC7DC +lbl_802DCA74: +/* 802DCA74 002D99D4 7F 23 CB 78 */ mr r3, r25 +/* 802DCA78 002D99D8 B9 C1 01 08 */ lmw r14, 0x108(r1) +/* 802DCA7C 002D99DC 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802DCA80 002D99E0 7C 08 03 A6 */ mtlr r0 +/* 802DCA84 002D99E4 38 21 01 50 */ addi r1, r1, 0x150 +/* 802DCA88 002D99E8 4E 80 00 20 */ blr + +.global sub_802dca8c +sub_802dca8c: +/* 802DCA8C 002D99EC 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802DCA90 002D99F0 7C 08 02 A6 */ mflr r0 +/* 802DCA94 002D99F4 90 01 01 84 */ stw r0, 0x184(r1) +/* 802DCA98 002D99F8 BD C1 01 38 */ stmw r14, 0x138(r1) +/* 802DCA9C 002D99FC 7C 93 23 78 */ mr r19, r4 +/* 802DCAA0 002D9A00 7C B4 2B 78 */ mr r20, r5 +/* 802DCAA4 002D9A04 7C 65 1B 78 */ mr r5, r3 +/* 802DCAA8 002D9A08 7D 16 43 78 */ mr r22, r8 +/* 802DCAAC 002D9A0C 7C D5 33 78 */ mr r21, r6 +/* 802DCAB0 002D9A10 7D 24 4B 78 */ mr r4, r9 +/* 802DCAB4 002D9A14 38 61 00 08 */ addi r3, r1, 8 +/* 802DCAB8 002D9A18 C0 09 00 00 */ lfs f0, 0(r9) +/* 802DCABC 002D9A1C 80 E9 00 04 */ lwz r7, 4(r9) +/* 802DCAC0 002D9A20 80 08 00 04 */ lwz r0, 4(r8) +/* 802DCAC4 002D9A24 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802DCAC8 002D9A28 90 01 01 34 */ stw r0, 0x134(r1) +/* 802DCACC 002D9A2C 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 802DCAD0 002D9A30 48 06 BA D5 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DCAD4 002D9A34 C0 01 00 08 */ lfs f0, 8(r1) +/* 802DCAD8 002D9A38 38 61 01 10 */ addi r3, r1, 0x110 +/* 802DCADC 002D9A3C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DCAE0 002D9A40 3B 23 00 0C */ addi r25, r3, 0xc +/* 802DCAE4 002D9A44 38 61 00 58 */ addi r3, r1, 0x58 +/* 802DCAE8 002D9A48 3C A0 80 3E */ lis r5, lbl_803D9B8C@ha +/* 802DCAEC 002D9A4C 3C 80 80 3E */ lis r4, lbl_803D9B74@ha +/* 802DCAF0 002D9A50 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802DCAF4 002D9A54 3B 83 00 0C */ addi r28, r3, 0xc +/* 802DCAF8 002D9A58 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802DCAFC 002D9A5C 1E 15 00 5C */ mulli r16, r21, 0x5c +/* 802DCB00 002D9A60 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DCB04 002D9A64 39 C1 00 E0 */ addi r14, r1, 0xe0 +/* 802DCB08 002D9A68 3A 41 00 D8 */ addi r18, r1, 0xd8 +/* 802DCB0C 002D9A6C 7E B7 AB 78 */ mr r23, r21 +/* 802DCB10 002D9A70 3B A1 00 28 */ addi r29, r1, 0x28 +/* 802DCB14 002D9A74 3B 61 00 84 */ addi r27, r1, 0x84 +/* 802DCB18 002D9A78 3B 43 00 0C */ addi r26, r3, 0xc +/* 802DCB1C 002D9A7C 3B C5 9B 8C */ addi r30, r5, lbl_803D9B8C@l +/* 802DCB20 002D9A80 3B E4 9B 74 */ addi r31, r4, lbl_803D9B74@l +/* 802DCB24 002D9A84 3B 00 00 00 */ li r24, 0 +/* 802DCB28 002D9A88 48 00 03 14 */ b lbl_802DCE3C +lbl_802DCB2C: +/* 802DCB2C 002D9A8C 80 16 00 0C */ lwz r0, 0xc(r22) +/* 802DCB30 002D9A90 38 72 00 08 */ addi r3, r18, 8 +/* 802DCB34 002D9A94 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802DCB38 002D9A98 7D E0 82 14 */ add r15, r0, r16 +/* 802DCB3C 002D9A9C A0 0F 00 04 */ lhz r0, 4(r15) +/* 802DCB40 002D9AA0 38 8F 00 08 */ addi r4, r15, 8 +/* 802DCB44 002D9AA4 B0 01 00 DC */ sth r0, 0xdc(r1) +/* 802DCB48 002D9AA8 48 06 16 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCB4C 002D9AAC A0 0F 00 18 */ lhz r0, 0x18(r15) +/* 802DCB50 002D9AB0 38 72 00 44 */ addi r3, r18, 0x44 +/* 802DCB54 002D9AB4 38 8F 00 44 */ addi r4, r15, 0x44 +/* 802DCB58 002D9AB8 B0 12 00 18 */ sth r0, 0x18(r18) +/* 802DCB5C 002D9ABC C0 0F 00 1C */ lfs f0, 0x1c(r15) +/* 802DCB60 002D9AC0 D0 12 00 1C */ stfs f0, 0x1c(r18) +/* 802DCB64 002D9AC4 80 0F 00 20 */ lwz r0, 0x20(r15) +/* 802DCB68 002D9AC8 90 12 00 20 */ stw r0, 0x20(r18) +/* 802DCB6C 002D9ACC 80 0F 00 24 */ lwz r0, 0x24(r15) +/* 802DCB70 002D9AD0 90 12 00 24 */ stw r0, 0x24(r18) +/* 802DCB74 002D9AD4 88 0F 00 28 */ lbz r0, 0x28(r15) +/* 802DCB78 002D9AD8 98 12 00 28 */ stb r0, 0x28(r18) +/* 802DCB7C 002D9ADC C0 0F 00 2C */ lfs f0, 0x2c(r15) +/* 802DCB80 002D9AE0 D0 12 00 2C */ stfs f0, 0x2c(r18) +/* 802DCB84 002D9AE4 80 0F 00 30 */ lwz r0, 0x30(r15) +/* 802DCB88 002D9AE8 90 12 00 30 */ stw r0, 0x30(r18) +/* 802DCB8C 002D9AEC 80 0F 00 34 */ lwz r0, 0x34(r15) +/* 802DCB90 002D9AF0 90 12 00 34 */ stw r0, 0x34(r18) +/* 802DCB94 002D9AF4 93 E1 00 D8 */ stw r31, 0xd8(r1) +/* 802DCB98 002D9AF8 80 0F 00 38 */ lwz r0, 0x38(r15) +/* 802DCB9C 002D9AFC 90 01 01 10 */ stw r0, 0x110(r1) +/* 802DCBA0 002D9B00 80 0F 00 3C */ lwz r0, 0x3c(r15) +/* 802DCBA4 002D9B04 90 01 01 14 */ stw r0, 0x114(r1) +/* 802DCBA8 002D9B08 80 0F 00 40 */ lwz r0, 0x40(r15) +/* 802DCBAC 002D9B0C 90 01 01 18 */ stw r0, 0x118(r1) +/* 802DCBB0 002D9B10 48 06 15 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCBB4 002D9B14 C0 0F 00 54 */ lfs f0, 0x54(r15) +/* 802DCBB8 002D9B18 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802DCBBC 002D9B1C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DCBC0 002D9B20 D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 802DCBC4 002D9B24 80 0F 00 58 */ lwz r0, 0x58(r15) +/* 802DCBC8 002D9B28 90 01 01 30 */ stw r0, 0x130(r1) +/* 802DCBCC 002D9B2C 48 06 BE A1 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DCBD0 002D9B30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DCBD4 002D9B34 41 82 00 48 */ beq lbl_802DCC1C +/* 802DCBD8 002D9B38 34 01 01 10 */ addic. r0, r1, 0x110 +/* 802DCBDC 002D9B3C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DCBE0 002D9B40 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802DCBE4 002D9B44 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802DCBE8 002D9B48 41 82 00 14 */ beq lbl_802DCBFC +/* 802DCBEC 002D9B4C 28 19 00 00 */ cmplwi r25, 0 +/* 802DCBF0 002D9B50 41 82 00 0C */ beq lbl_802DCBFC +/* 802DCBF4 002D9B54 7F 23 CB 78 */ mr r3, r25 +/* 802DCBF8 002D9B58 48 06 0E E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCBFC: +/* 802DCBFC 002D9B5C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCC00 002D9B60 28 0E 00 00 */ cmplwi r14, 0 +/* 802DCC04 002D9B64 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DCC08 002D9B68 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802DCC0C 002D9B6C 41 82 02 3C */ beq lbl_802DCE48 +/* 802DCC10 002D9B70 7D C3 73 78 */ mr r3, r14 +/* 802DCC14 002D9B74 48 06 0E CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DCC18 002D9B78 48 00 02 30 */ b lbl_802DCE48 +lbl_802DCC1C: +/* 802DCC1C 002D9B7C 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802DCC20 002D9B80 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DCC24 002D9B84 48 06 B8 19 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DCC28 002D9B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DCC2C 002D9B8C 41 82 01 D8 */ beq lbl_802DCE04 +/* 802DCC30 002D9B90 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DCC34 002D9B94 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 802DCC38 002D9B98 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DCC3C 002D9B9C 48 02 03 79 */ bl CopyNodeMinusStartTime__16CParticlePOINodeFRC16CParticlePOINodeRC13CCharAnimTime +/* 802DCC40 002D9BA0 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802DCC44 002D9BA4 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCC48 002D9BA8 38 63 9B 8C */ addi r3, r3, lbl_803D9B8C@l +/* 802DCC4C 002D9BAC 3A 21 00 7C */ addi r17, r1, 0x7c +/* 802DCC50 002D9BB0 90 61 00 7C */ stw r3, 0x7c(r1) +/* 802DCC54 002D9BB4 7F A4 EB 78 */ mr r4, r29 +/* 802DCC58 002D9BB8 38 71 00 08 */ addi r3, r17, 8 +/* 802DCC5C 002D9BBC B0 01 00 80 */ sth r0, 0x80(r1) +/* 802DCC60 002D9BC0 48 06 15 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCC64 002D9BC4 A0 C1 00 38 */ lhz r6, 0x38(r1) +/* 802DCC68 002D9BC8 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DCC6C 002D9BCC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802DCC70 002D9BD0 39 43 9B 74 */ addi r10, r3, lbl_803D9B74@l +/* 802DCC74 002D9BD4 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802DCC78 002D9BD8 7F 84 E3 78 */ mr r4, r28 +/* 802DCC7C 002D9BDC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DCC80 002D9BE0 38 71 00 44 */ addi r3, r17, 0x44 +/* 802DCC84 002D9BE4 89 E1 00 48 */ lbz r15, 0x48(r1) +/* 802DCC88 002D9BE8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802DCC8C 002D9BEC 81 81 00 50 */ lwz r12, 0x50(r1) +/* 802DCC90 002D9BF0 81 61 00 54 */ lwz r11, 0x54(r1) +/* 802DCC94 002D9BF4 81 21 00 58 */ lwz r9, 0x58(r1) +/* 802DCC98 002D9BF8 81 01 00 5C */ lwz r8, 0x5c(r1) +/* 802DCC9C 002D9BFC 80 E1 00 60 */ lwz r7, 0x60(r1) +/* 802DCCA0 002D9C00 B0 D1 00 18 */ sth r6, 0x18(r17) +/* 802DCCA4 002D9C04 D0 31 00 1C */ stfs f1, 0x1c(r17) +/* 802DCCA8 002D9C08 90 B1 00 20 */ stw r5, 0x20(r17) +/* 802DCCAC 002D9C0C 90 11 00 24 */ stw r0, 0x24(r17) +/* 802DCCB0 002D9C10 99 F1 00 28 */ stb r15, 0x28(r17) +/* 802DCCB4 002D9C14 D0 11 00 2C */ stfs f0, 0x2c(r17) +/* 802DCCB8 002D9C18 91 91 00 30 */ stw r12, 0x30(r17) +/* 802DCCBC 002D9C1C 91 71 00 34 */ stw r11, 0x34(r17) +/* 802DCCC0 002D9C20 91 41 00 7C */ stw r10, 0x7c(r1) +/* 802DCCC4 002D9C24 91 21 00 B4 */ stw r9, 0xb4(r1) +/* 802DCCC8 002D9C28 91 01 00 B8 */ stw r8, 0xb8(r1) +/* 802DCCCC 002D9C2C 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 802DCCD0 002D9C30 48 06 14 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCCD4 002D9C34 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802DCCD8 002D9C38 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DCCDC 002D9C3C 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802DCCE0 002D9C40 38 63 9B 74 */ addi r3, r3, lbl_803D9B74@l +/* 802DCCE4 002D9C44 34 01 00 58 */ addic. r0, r1, 0x58 +/* 802DCCE8 002D9C48 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 802DCCEC 002D9C4C 90 81 00 D4 */ stw r4, 0xd4(r1) +/* 802DCCF0 002D9C50 90 61 00 20 */ stw r3, 0x20(r1) +/* 802DCCF4 002D9C54 41 82 00 14 */ beq lbl_802DCD08 +/* 802DCCF8 002D9C58 28 1C 00 00 */ cmplwi r28, 0 +/* 802DCCFC 002D9C5C 41 82 00 0C */ beq lbl_802DCD08 +/* 802DCD00 002D9C60 7F 83 E3 78 */ mr r3, r28 +/* 802DCD04 002D9C64 48 06 0D DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCD08: +/* 802DCD08 002D9C68 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCD0C 002D9C6C 28 1D 00 00 */ cmplwi r29, 0 +/* 802DCD10 002D9C70 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DCD14 002D9C74 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DCD18 002D9C78 41 82 00 0C */ beq lbl_802DCD24 +/* 802DCD1C 002D9C7C 7F A3 EB 78 */ mr r3, r29 +/* 802DCD20 002D9C80 48 06 0D C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCD24: +/* 802DCD24 002D9C84 7C 15 C2 14 */ add r0, r21, r24 +/* 802DCD28 002D9C88 7C 00 A0 40 */ cmplw r0, r20 +/* 802DCD2C 002D9C8C 40 80 00 98 */ bge lbl_802DCDC4 +/* 802DCD30 002D9C90 1C 60 00 5C */ mulli r3, r0, 0x5c +/* 802DCD34 002D9C94 A0 01 00 80 */ lhz r0, 0x80(r1) +/* 802DCD38 002D9C98 7F 64 DB 78 */ mr r4, r27 +/* 802DCD3C 002D9C9C 3B 18 00 01 */ addi r24, r24, 1 +/* 802DCD40 002D9CA0 7D F3 1A 14 */ add r15, r19, r3 +/* 802DCD44 002D9CA4 B0 0F 00 04 */ sth r0, 4(r15) +/* 802DCD48 002D9CA8 38 6F 00 08 */ addi r3, r15, 8 +/* 802DCD4C 002D9CAC 48 06 10 11 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCD50 002D9CB0 A0 01 00 94 */ lhz r0, 0x94(r1) +/* 802DCD54 002D9CB4 7F 44 D3 78 */ mr r4, r26 +/* 802DCD58 002D9CB8 38 6F 00 44 */ addi r3, r15, 0x44 +/* 802DCD5C 002D9CBC B0 0F 00 18 */ sth r0, 0x18(r15) +/* 802DCD60 002D9CC0 80 A1 00 98 */ lwz r5, 0x98(r1) +/* 802DCD64 002D9CC4 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802DCD68 002D9CC8 90 AF 00 1C */ stw r5, 0x1c(r15) +/* 802DCD6C 002D9CCC 90 0F 00 20 */ stw r0, 0x20(r15) +/* 802DCD70 002D9CD0 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802DCD74 002D9CD4 90 0F 00 24 */ stw r0, 0x24(r15) +/* 802DCD78 002D9CD8 88 01 00 A4 */ lbz r0, 0xa4(r1) +/* 802DCD7C 002D9CDC 98 0F 00 28 */ stb r0, 0x28(r15) +/* 802DCD80 002D9CE0 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802DCD84 002D9CE4 D0 0F 00 2C */ stfs f0, 0x2c(r15) +/* 802DCD88 002D9CE8 80 01 00 AC */ lwz r0, 0xac(r1) +/* 802DCD8C 002D9CEC 90 0F 00 30 */ stw r0, 0x30(r15) +/* 802DCD90 002D9CF0 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 802DCD94 002D9CF4 90 0F 00 34 */ stw r0, 0x34(r15) +/* 802DCD98 002D9CF8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802DCD9C 002D9CFC 90 0F 00 38 */ stw r0, 0x38(r15) +/* 802DCDA0 002D9D00 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 802DCDA4 002D9D04 90 0F 00 3C */ stw r0, 0x3c(r15) +/* 802DCDA8 002D9D08 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 802DCDAC 002D9D0C 90 0F 00 40 */ stw r0, 0x40(r15) +/* 802DCDB0 002D9D10 48 06 0F AD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCDB4 002D9D14 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 802DCDB8 002D9D18 D0 0F 00 54 */ stfs f0, 0x54(r15) +/* 802DCDBC 002D9D1C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802DCDC0 002D9D20 90 0F 00 58 */ stw r0, 0x58(r15) +lbl_802DCDC4: +/* 802DCDC4 002D9D24 34 01 00 B4 */ addic. r0, r1, 0xb4 +/* 802DCDC8 002D9D28 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DCDCC 002D9D2C 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802DCDD0 002D9D30 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802DCDD4 002D9D34 41 82 00 14 */ beq lbl_802DCDE8 +/* 802DCDD8 002D9D38 28 1A 00 00 */ cmplwi r26, 0 +/* 802DCDDC 002D9D3C 41 82 00 0C */ beq lbl_802DCDE8 +/* 802DCDE0 002D9D40 7F 43 D3 78 */ mr r3, r26 +/* 802DCDE4 002D9D44 48 06 0C FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCDE8: +/* 802DCDE8 002D9D48 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCDEC 002D9D4C 28 1B 00 00 */ cmplwi r27, 0 +/* 802DCDF0 002D9D50 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DCDF4 002D9D54 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802DCDF8 002D9D58 41 82 00 0C */ beq lbl_802DCE04 +/* 802DCDFC 002D9D5C 7F 63 DB 78 */ mr r3, r27 +/* 802DCE00 002D9D60 48 06 0C E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCE04: +/* 802DCE04 002D9D64 34 01 01 10 */ addic. r0, r1, 0x110 +/* 802DCE08 002D9D68 93 E1 00 D8 */ stw r31, 0xd8(r1) +/* 802DCE0C 002D9D6C 3A F7 00 01 */ addi r23, r23, 1 +/* 802DCE10 002D9D70 3A 10 00 5C */ addi r16, r16, 0x5c +/* 802DCE14 002D9D74 41 82 00 14 */ beq lbl_802DCE28 +/* 802DCE18 002D9D78 28 19 00 00 */ cmplwi r25, 0 +/* 802DCE1C 002D9D7C 41 82 00 0C */ beq lbl_802DCE28 +/* 802DCE20 002D9D80 7F 23 CB 78 */ mr r3, r25 +/* 802DCE24 002D9D84 48 06 0C BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCE28: +/* 802DCE28 002D9D88 28 0E 00 00 */ cmplwi r14, 0 +/* 802DCE2C 002D9D8C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802DCE30 002D9D90 41 82 00 0C */ beq lbl_802DCE3C +/* 802DCE34 002D9D94 7D C3 73 78 */ mr r3, r14 +/* 802DCE38 002D9D98 48 06 0C A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DCE3C: +/* 802DCE3C 002D9D9C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802DCE40 002D9DA0 7C 17 00 40 */ cmplw r23, r0 +/* 802DCE44 002D9DA4 41 80 FC E8 */ blt lbl_802DCB2C +lbl_802DCE48: +/* 802DCE48 002D9DA8 7F 03 C3 78 */ mr r3, r24 +/* 802DCE4C 002D9DAC B9 C1 01 38 */ lmw r14, 0x138(r1) +/* 802DCE50 002D9DB0 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802DCE54 002D9DB4 7C 08 03 A6 */ mtlr r0 +/* 802DCE58 002D9DB8 38 21 01 80 */ addi r1, r1, 0x180 +/* 802DCE5C 002D9DBC 4E 80 00 20 */ blr + +.global "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +"_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime": +/* 802DCE60 002D9DC0 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802DCE64 002D9DC4 7C 08 02 A6 */ mflr r0 +/* 802DCE68 002D9DC8 90 01 01 34 */ stw r0, 0x134(r1) +/* 802DCE6C 002D9DCC BE 21 00 F4 */ stmw r17, 0xf4(r1) +/* 802DCE70 002D9DD0 7C 9C 23 78 */ mr r28, r4 +/* 802DCE74 002D9DD4 7C BD 2B 78 */ mr r29, r5 +/* 802DCE78 002D9DD8 7C 65 1B 78 */ mr r5, r3 +/* 802DCE7C 002D9DDC 7D 1F 43 78 */ mr r31, r8 +/* 802DCE80 002D9DE0 7C DE 33 78 */ mr r30, r6 +/* 802DCE84 002D9DE4 7D 24 4B 78 */ mr r4, r9 +/* 802DCE88 002D9DE8 38 61 00 08 */ addi r3, r1, 8 +/* 802DCE8C 002D9DEC C0 09 00 00 */ lfs f0, 0(r9) +/* 802DCE90 002D9DF0 80 09 00 04 */ lwz r0, 4(r9) +/* 802DCE94 002D9DF4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802DCE98 002D9DF8 82 88 00 04 */ lwz r20, 4(r8) +/* 802DCE9C 002D9DFC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802DCEA0 002D9E00 48 06 B7 05 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DCEA4 002D9E04 C0 01 00 08 */ lfs f0, 8(r1) +/* 802DCEA8 002D9E08 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DCEAC 002D9E0C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DCEB0 002D9E10 1E 3E 00 44 */ mulli r17, r30, 0x44 +/* 802DCEB4 002D9E14 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802DCEB8 002D9E18 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802DCEBC 002D9E1C 3A A1 00 B0 */ addi r21, r1, 0xb0 +/* 802DCEC0 002D9E20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DCEC4 002D9E24 7F D2 F3 78 */ mr r18, r30 +/* 802DCEC8 002D9E28 3B 01 00 C4 */ addi r24, r1, 0xc4 +/* 802DCECC 002D9E2C 3A E1 00 28 */ addi r23, r1, 0x28 +/* 802DCED0 002D9E30 3A C1 00 6C */ addi r22, r1, 0x6c +/* 802DCED4 002D9E34 3B 44 9B 8C */ addi r26, r4, lbl_803D9B8C@l +/* 802DCED8 002D9E38 3B 63 9B 80 */ addi r27, r3, lbl_803D9B80@l +/* 802DCEDC 002D9E3C 3A 60 00 00 */ li r19, 0 +/* 802DCEE0 002D9E40 48 00 02 54 */ b lbl_802DD134 +lbl_802DCEE4: +/* 802DCEE4 002D9E44 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802DCEE8 002D9E48 7E A3 AB 78 */ mr r3, r21 +/* 802DCEEC 002D9E4C 93 41 00 A8 */ stw r26, 0xa8(r1) +/* 802DCEF0 002D9E50 7F 20 8A 14 */ add r25, r0, r17 +/* 802DCEF4 002D9E54 A0 19 00 04 */ lhz r0, 4(r25) +/* 802DCEF8 002D9E58 38 99 00 08 */ addi r4, r25, 8 +/* 802DCEFC 002D9E5C B0 01 00 AC */ sth r0, 0xac(r1) +/* 802DCF00 002D9E60 48 06 12 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCF04 002D9E64 A0 19 00 18 */ lhz r0, 0x18(r25) +/* 802DCF08 002D9E68 7F 03 C3 78 */ mr r3, r24 +/* 802DCF0C 002D9E6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DCF10 002D9E70 B0 01 00 C0 */ sth r0, 0xc0(r1) +/* 802DCF14 002D9E74 C0 19 00 1C */ lfs f0, 0x1c(r25) +/* 802DCF18 002D9E78 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802DCF1C 002D9E7C 80 19 00 20 */ lwz r0, 0x20(r25) +/* 802DCF20 002D9E80 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802DCF24 002D9E84 80 19 00 24 */ lwz r0, 0x24(r25) +/* 802DCF28 002D9E88 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802DCF2C 002D9E8C 88 19 00 28 */ lbz r0, 0x28(r25) +/* 802DCF30 002D9E90 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 802DCF34 002D9E94 C0 19 00 2C */ lfs f0, 0x2c(r25) +/* 802DCF38 002D9E98 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 802DCF3C 002D9E9C 80 19 00 30 */ lwz r0, 0x30(r25) +/* 802DCF40 002D9EA0 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802DCF44 002D9EA4 80 19 00 34 */ lwz r0, 0x34(r25) +/* 802DCF48 002D9EA8 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802DCF4C 002D9EAC 93 61 00 A8 */ stw r27, 0xa8(r1) +/* 802DCF50 002D9EB0 80 19 00 38 */ lwz r0, 0x38(r25) +/* 802DCF54 002D9EB4 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 802DCF58 002D9EB8 C0 19 00 3C */ lfs f0, 0x3c(r25) +/* 802DCF5C 002D9EBC D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802DCF60 002D9EC0 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 802DCF64 002D9EC4 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802DCF68 002D9EC8 48 06 BB 05 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DCF6C 002D9ECC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DCF70 002D9ED0 41 82 00 30 */ beq lbl_802DCFA0 +/* 802DCF74 002D9ED4 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 802DCF78 002D9ED8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCF7C 002D9EDC 38 04 9B 80 */ addi r0, r4, lbl_803D9B80@l +/* 802DCF80 002D9EE0 28 15 00 00 */ cmplwi r21, 0 +/* 802DCF84 002D9EE4 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802DCF88 002D9EE8 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DCF8C 002D9EEC 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802DCF90 002D9EF0 41 82 01 AC */ beq lbl_802DD13C +/* 802DCF94 002D9EF4 7E A3 AB 78 */ mr r3, r21 +/* 802DCF98 002D9EF8 48 06 0B 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DCF9C 002D9EFC 48 00 01 A0 */ b lbl_802DD13C +lbl_802DCFA0: +/* 802DCFA0 002D9F00 7F 03 C3 78 */ mr r3, r24 +/* 802DCFA4 002D9F04 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DCFA8 002D9F08 48 06 B4 95 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802DCFAC 002D9F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DCFB0 002D9F10 41 82 01 64 */ beq lbl_802DD114 +/* 802DCFB4 002D9F14 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DCFB8 002D9F18 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802DCFBC 002D9F1C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DCFC0 002D9F20 4B FF DA CD */ bl CopyNodeMinusStartTime__13CSoundPOINodeFRC13CSoundPOINodeRC13CCharAnimTime +/* 802DCFC4 002D9F24 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802DCFC8 002D9F28 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCFCC 002D9F2C 38 83 9B 8C */ addi r4, r3, lbl_803D9B8C@l +/* 802DCFD0 002D9F30 7E C3 B3 78 */ mr r3, r22 +/* 802DCFD4 002D9F34 90 81 00 64 */ stw r4, 0x64(r1) +/* 802DCFD8 002D9F38 7E E4 BB 78 */ mr r4, r23 +/* 802DCFDC 002D9F3C B0 01 00 68 */ sth r0, 0x68(r1) +/* 802DCFE0 002D9F40 48 06 11 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DCFE4 002D9F44 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802DCFE8 002D9F48 A1 41 00 38 */ lhz r10, 0x38(r1) +/* 802DCFEC 002D9F4C 38 83 9B 80 */ addi r4, r3, lbl_803D9B80@l +/* 802DCFF0 002D9F50 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 802DCFF4 002D9F54 81 21 00 40 */ lwz r9, 0x40(r1) +/* 802DCFF8 002D9F58 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DCFFC 002D9F5C 81 01 00 44 */ lwz r8, 0x44(r1) +/* 802DD000 002D9F60 28 17 00 00 */ cmplwi r23, 0 +/* 802DD004 002D9F64 88 E1 00 48 */ lbz r7, 0x48(r1) +/* 802DD008 002D9F68 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DD00C 002D9F6C 90 81 00 20 */ stw r4, 0x20(r1) +/* 802DD010 002D9F70 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802DD014 002D9F74 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802DD018 002D9F78 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802DD01C 002D9F7C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802DD020 002D9F80 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802DD024 002D9F84 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802DD028 002D9F88 B1 41 00 7C */ sth r10, 0x7c(r1) +/* 802DD02C 002D9F8C D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802DD030 002D9F90 91 21 00 84 */ stw r9, 0x84(r1) +/* 802DD034 002D9F94 91 01 00 88 */ stw r8, 0x88(r1) +/* 802DD038 002D9F98 98 E1 00 8C */ stb r7, 0x8c(r1) +/* 802DD03C 002D9F9C D0 41 00 90 */ stfs f2, 0x90(r1) +/* 802DD040 002D9FA0 90 C1 00 94 */ stw r6, 0x94(r1) +/* 802DD044 002D9FA4 90 A1 00 98 */ stw r5, 0x98(r1) +/* 802DD048 002D9FA8 90 81 00 64 */ stw r4, 0x64(r1) +/* 802DD04C 002D9FAC 90 61 00 9C */ stw r3, 0x9c(r1) +/* 802DD050 002D9FB0 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802DD054 002D9FB4 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802DD058 002D9FB8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DD05C 002D9FBC 41 82 00 0C */ beq lbl_802DD068 +/* 802DD060 002D9FC0 7E E3 BB 78 */ mr r3, r23 +/* 802DD064 002D9FC4 48 06 0A 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DD068: +/* 802DD068 002D9FC8 7C 1E 9A 14 */ add r0, r30, r19 +/* 802DD06C 002D9FCC 7C 00 E8 40 */ cmplw r0, r29 +/* 802DD070 002D9FD0 40 80 00 7C */ bge lbl_802DD0EC +/* 802DD074 002D9FD4 1C 60 00 44 */ mulli r3, r0, 0x44 +/* 802DD078 002D9FD8 A0 01 00 68 */ lhz r0, 0x68(r1) +/* 802DD07C 002D9FDC 7E C4 B3 78 */ mr r4, r22 +/* 802DD080 002D9FE0 3A 73 00 01 */ addi r19, r19, 1 +/* 802DD084 002D9FE4 7F 3C 1A 14 */ add r25, r28, r3 +/* 802DD088 002D9FE8 B0 19 00 04 */ sth r0, 4(r25) +/* 802DD08C 002D9FEC 38 79 00 08 */ addi r3, r25, 8 +/* 802DD090 002D9FF0 48 06 0C CD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DD094 002D9FF4 A0 01 00 7C */ lhz r0, 0x7c(r1) +/* 802DD098 002D9FF8 B0 19 00 18 */ sth r0, 0x18(r25) +/* 802DD09C 002D9FFC 80 61 00 80 */ lwz r3, 0x80(r1) +/* 802DD0A0 002DA000 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802DD0A4 002DA004 90 79 00 1C */ stw r3, 0x1c(r25) +/* 802DD0A8 002DA008 90 19 00 20 */ stw r0, 0x20(r25) +/* 802DD0AC 002DA00C 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802DD0B0 002DA010 90 19 00 24 */ stw r0, 0x24(r25) +/* 802DD0B4 002DA014 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 802DD0B8 002DA018 98 19 00 28 */ stb r0, 0x28(r25) +/* 802DD0BC 002DA01C C0 01 00 90 */ lfs f0, 0x90(r1) +/* 802DD0C0 002DA020 D0 19 00 2C */ stfs f0, 0x2c(r25) +/* 802DD0C4 002DA024 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802DD0C8 002DA028 90 19 00 30 */ stw r0, 0x30(r25) +/* 802DD0CC 002DA02C 80 01 00 98 */ lwz r0, 0x98(r1) +/* 802DD0D0 002DA030 90 19 00 34 */ stw r0, 0x34(r25) +/* 802DD0D4 002DA034 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802DD0D8 002DA038 90 19 00 38 */ stw r0, 0x38(r25) +/* 802DD0DC 002DA03C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 802DD0E0 002DA040 D0 19 00 3C */ stfs f0, 0x3c(r25) +/* 802DD0E4 002DA044 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802DD0E8 002DA048 D0 19 00 40 */ stfs f0, 0x40(r25) +lbl_802DD0EC: +/* 802DD0EC 002DA04C 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 802DD0F0 002DA050 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DD0F4 002DA054 38 04 9B 80 */ addi r0, r4, lbl_803D9B80@l +/* 802DD0F8 002DA058 28 16 00 00 */ cmplwi r22, 0 +/* 802DD0FC 002DA05C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802DD100 002DA060 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DD104 002DA064 90 01 00 64 */ stw r0, 0x64(r1) +/* 802DD108 002DA068 41 82 00 0C */ beq lbl_802DD114 +/* 802DD10C 002DA06C 7E C3 B3 78 */ mr r3, r22 +/* 802DD110 002DA070 48 06 09 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DD114: +/* 802DD114 002DA074 93 61 00 A8 */ stw r27, 0xa8(r1) +/* 802DD118 002DA078 28 15 00 00 */ cmplwi r21, 0 +/* 802DD11C 002DA07C 3A 52 00 01 */ addi r18, r18, 1 +/* 802DD120 002DA080 3A 31 00 44 */ addi r17, r17, 0x44 +/* 802DD124 002DA084 93 41 00 A8 */ stw r26, 0xa8(r1) +/* 802DD128 002DA088 41 82 00 0C */ beq lbl_802DD134 +/* 802DD12C 002DA08C 7E A3 AB 78 */ mr r3, r21 +/* 802DD130 002DA090 48 06 09 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DD134: +/* 802DD134 002DA094 7C 12 A0 40 */ cmplw r18, r20 +/* 802DD138 002DA098 41 80 FD AC */ blt lbl_802DCEE4 +lbl_802DD13C: +/* 802DD13C 002DA09C 7E 63 9B 78 */ mr r3, r19 +/* 802DD140 002DA0A0 BA 21 00 F4 */ lmw r17, 0xf4(r1) +/* 802DD144 002DA0A4 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802DD148 002DA0A8 7C 08 03 A6 */ mtlr r0 +/* 802DD14C 002DA0AC 38 21 01 30 */ addi r1, r1, 0x130 +/* 802DD150 002DA0B0 4E 80 00 20 */ blr + +.global sub_802dd154 +sub_802dd154: +/* 802DD154 002DA0B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DD158 002DA0B8 7C 08 02 A6 */ mflr r0 +/* 802DD15C 002DA0BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DD160 002DA0C0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DD164 002DA0C4 7C 9F 23 78 */ mr r31, r4 +/* 802DD168 002DA0C8 7C 7E 1B 78 */ mr r30, r3 +/* 802DD16C 002DA0CC 80 03 00 08 */ lwz r0, 8(r3) +/* 802DD170 002DA0D0 7C 1F 00 00 */ cmpw r31, r0 +/* 802DD174 002DA0D4 40 81 00 B4 */ ble lbl_802DD228 +/* 802DD178 002DA0D8 1C 7F 00 3C */ mulli r3, r31, 0x3c +/* 802DD17C 002DA0DC 2C 03 00 00 */ cmpwi r3, 0 +/* 802DD180 002DA0E0 40 82 00 0C */ bne lbl_802DD18C +/* 802DD184 002DA0E4 3B A0 00 00 */ li r29, 0 +/* 802DD188 002DA0E8 48 00 00 1C */ b lbl_802DD1A4 +lbl_802DD18C: +/* 802DD18C 002DA0EC 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DD190 002DA0F0 38 A0 00 00 */ li r5, 0 +/* 802DD194 002DA0F4 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DD198 002DA0F8 38 84 00 01 */ addi r4, r4, 1 +/* 802DD19C 002DA0FC 48 03 86 7D */ bl __nwa__FUlPCcPCc +/* 802DD1A0 002DA100 7C 7D 1B 78 */ mr r29, r3 +lbl_802DD1A4: +/* 802DD1A4 002DA104 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD1A8 002DA108 7F A5 EB 78 */ mr r5, r29 +/* 802DD1AC 002DA10C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802DD1B0 002DA110 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DD1B4 002DA114 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802DD1B8 002DA118 38 81 00 0C */ addi r4, r1, 0xc +/* 802DD1BC 002DA11C 7C C6 02 14 */ add r6, r6, r0 +/* 802DD1C0 002DA120 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802DD1C4 002DA124 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802DD1C8 002DA128 90 C1 00 08 */ stw r6, 8(r1) +/* 802DD1CC 002DA12C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802DD1D0 002DA130 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DD1D4 002DA134 48 00 00 69 */ bl sub_802dd23c +/* 802DD1D8 002DA138 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD1DC 002DA13C 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802DD1E0 002DA140 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802DD1E4 002DA144 7F 9B 02 14 */ add r28, r27, r0 +/* 802DD1E8 002DA148 48 00 00 20 */ b lbl_802DD208 +lbl_802DD1EC: +/* 802DD1EC 002DA14C 7F 63 DB 78 */ mr r3, r27 +/* 802DD1F0 002DA150 38 80 FF FF */ li r4, -1 +/* 802DD1F4 002DA154 81 9B 00 00 */ lwz r12, 0(r27) +/* 802DD1F8 002DA158 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DD1FC 002DA15C 7D 89 03 A6 */ mtctr r12 +/* 802DD200 002DA160 4E 80 04 21 */ bctrl +/* 802DD204 002DA164 3B 7B 00 3C */ addi r27, r27, 0x3c +lbl_802DD208: +/* 802DD208 002DA168 7C 1B E0 40 */ cmplw r27, r28 +/* 802DD20C 002DA16C 40 82 FF E0 */ bne lbl_802DD1EC +/* 802DD210 002DA170 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DD214 002DA174 28 03 00 00 */ cmplwi r3, 0 +/* 802DD218 002DA178 41 82 00 08 */ beq lbl_802DD220 +/* 802DD21C 002DA17C 48 03 87 15 */ bl Free__7CMemoryFPCv +lbl_802DD220: +/* 802DD220 002DA180 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802DD224 002DA184 93 FE 00 08 */ stw r31, 8(r30) +lbl_802DD228: +/* 802DD228 002DA188 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DD22C 002DA18C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DD230 002DA190 7C 08 03 A6 */ mtlr r0 +/* 802DD234 002DA194 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DD238 002DA198 4E 80 00 20 */ blr + +.global sub_802dd23c +sub_802dd23c: +/* 802DD23C 002DA19C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DD240 002DA1A0 7C 08 02 A6 */ mflr r0 +/* 802DD244 002DA1A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DD248 002DA1A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DD24C 002DA1AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DD250 002DA1B0 7C BE 2B 78 */ mr r30, r5 +/* 802DD254 002DA1B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DD258 002DA1B8 7C 9D 23 78 */ mr r29, r4 +/* 802DD25C 002DA1BC 83 E3 00 00 */ lwz r31, 0(r3) +/* 802DD260 002DA1C0 48 00 00 88 */ b lbl_802DD2E8 +lbl_802DD264: +/* 802DD264 002DA1C4 28 1E 00 00 */ cmplwi r30, 0 +/* 802DD268 002DA1C8 41 82 00 78 */ beq lbl_802DD2E0 +/* 802DD26C 002DA1CC 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DD270 002DA1D0 38 7E 00 08 */ addi r3, r30, 8 +/* 802DD274 002DA1D4 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802DD278 002DA1D8 38 9F 00 08 */ addi r4, r31, 8 +/* 802DD27C 002DA1DC 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD280 002DA1E0 A0 1F 00 04 */ lhz r0, 4(r31) +/* 802DD284 002DA1E4 B0 1E 00 04 */ sth r0, 4(r30) +/* 802DD288 002DA1E8 48 06 0E D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DD28C 002DA1EC A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802DD290 002DA1F0 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802DD294 002DA1F4 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 802DD298 002DA1F8 B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802DD29C 002DA1FC C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802DD2A0 002DA200 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DD2A4 002DA204 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802DD2A8 002DA208 90 7E 00 20 */ stw r3, 0x20(r30) +/* 802DD2AC 002DA20C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802DD2B0 002DA210 90 7E 00 24 */ stw r3, 0x24(r30) +/* 802DD2B4 002DA214 88 7F 00 28 */ lbz r3, 0x28(r31) +/* 802DD2B8 002DA218 98 7E 00 28 */ stb r3, 0x28(r30) +/* 802DD2BC 002DA21C C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802DD2C0 002DA220 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802DD2C4 002DA224 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802DD2C8 002DA228 90 7E 00 30 */ stw r3, 0x30(r30) +/* 802DD2CC 002DA22C 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 802DD2D0 002DA230 90 7E 00 34 */ stw r3, 0x34(r30) +/* 802DD2D4 002DA234 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD2D8 002DA238 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 802DD2DC 002DA23C 98 1E 00 38 */ stb r0, 0x38(r30) +lbl_802DD2E0: +/* 802DD2E0 002DA240 3B DE 00 3C */ addi r30, r30, 0x3c +/* 802DD2E4 002DA244 3B FF 00 3C */ addi r31, r31, 0x3c +lbl_802DD2E8: +/* 802DD2E8 002DA248 80 1D 00 00 */ lwz r0, 0(r29) +/* 802DD2EC 002DA24C 7C 1F 00 40 */ cmplw r31, r0 +/* 802DD2F0 002DA250 40 82 FF 74 */ bne lbl_802DD264 +/* 802DD2F4 002DA254 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DD2F8 002DA258 7F C3 F3 78 */ mr r3, r30 +/* 802DD2FC 002DA25C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DD300 002DA260 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DD304 002DA264 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DD308 002DA268 7C 08 03 A6 */ mtlr r0 +/* 802DD30C 002DA26C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DD310 002DA270 4E 80 00 20 */ blr + +.global "reserve__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>Fi": +/* 802DD314 002DA274 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DD318 002DA278 7C 08 02 A6 */ mflr r0 +/* 802DD31C 002DA27C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DD320 002DA280 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DD324 002DA284 7C 9F 23 78 */ mr r31, r4 +/* 802DD328 002DA288 7C 7E 1B 78 */ mr r30, r3 +/* 802DD32C 002DA28C 80 03 00 08 */ lwz r0, 8(r3) +/* 802DD330 002DA290 7C 1F 00 00 */ cmpw r31, r0 +/* 802DD334 002DA294 40 81 00 B4 */ ble lbl_802DD3E8 +/* 802DD338 002DA298 1C 7F 00 4C */ mulli r3, r31, 0x4c +/* 802DD33C 002DA29C 2C 03 00 00 */ cmpwi r3, 0 +/* 802DD340 002DA2A0 40 82 00 0C */ bne lbl_802DD34C +/* 802DD344 002DA2A4 3B A0 00 00 */ li r29, 0 +/* 802DD348 002DA2A8 48 00 00 1C */ b lbl_802DD364 +lbl_802DD34C: +/* 802DD34C 002DA2AC 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DD350 002DA2B0 38 A0 00 00 */ li r5, 0 +/* 802DD354 002DA2B4 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DD358 002DA2B8 38 84 00 01 */ addi r4, r4, 1 +/* 802DD35C 002DA2BC 48 03 84 BD */ bl __nwa__FUlPCcPCc +/* 802DD360 002DA2C0 7C 7D 1B 78 */ mr r29, r3 +lbl_802DD364: +/* 802DD364 002DA2C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD368 002DA2C8 7F A5 EB 78 */ mr r5, r29 +/* 802DD36C 002DA2CC 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802DD370 002DA2D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DD374 002DA2D4 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802DD378 002DA2D8 38 81 00 0C */ addi r4, r1, 0xc +/* 802DD37C 002DA2DC 7C C6 02 14 */ add r6, r6, r0 +/* 802DD380 002DA2E0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802DD384 002DA2E4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802DD388 002DA2E8 90 C1 00 08 */ stw r6, 8(r1) +/* 802DD38C 002DA2EC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802DD390 002DA2F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DD394 002DA2F4 48 00 00 69 */ bl sub_802dd3fc +/* 802DD398 002DA2F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD39C 002DA2FC 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802DD3A0 002DA300 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802DD3A4 002DA304 7F 9B 02 14 */ add r28, r27, r0 +/* 802DD3A8 002DA308 48 00 00 20 */ b lbl_802DD3C8 +lbl_802DD3AC: +/* 802DD3AC 002DA30C 7F 63 DB 78 */ mr r3, r27 +/* 802DD3B0 002DA310 38 80 FF FF */ li r4, -1 +/* 802DD3B4 002DA314 81 9B 00 00 */ lwz r12, 0(r27) +/* 802DD3B8 002DA318 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DD3BC 002DA31C 7D 89 03 A6 */ mtctr r12 +/* 802DD3C0 002DA320 4E 80 04 21 */ bctrl +/* 802DD3C4 002DA324 3B 7B 00 4C */ addi r27, r27, 0x4c +lbl_802DD3C8: +/* 802DD3C8 002DA328 7C 1B E0 40 */ cmplw r27, r28 +/* 802DD3CC 002DA32C 40 82 FF E0 */ bne lbl_802DD3AC +/* 802DD3D0 002DA330 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DD3D4 002DA334 28 03 00 00 */ cmplwi r3, 0 +/* 802DD3D8 002DA338 41 82 00 08 */ beq lbl_802DD3E0 +/* 802DD3DC 002DA33C 48 03 85 55 */ bl Free__7CMemoryFPCv +lbl_802DD3E0: +/* 802DD3E0 002DA340 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802DD3E4 002DA344 93 FE 00 08 */ stw r31, 8(r30) +lbl_802DD3E8: +/* 802DD3E8 002DA348 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DD3EC 002DA34C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DD3F0 002DA350 7C 08 03 A6 */ mtlr r0 +/* 802DD3F4 002DA354 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DD3F8 002DA358 4E 80 00 20 */ blr + +.global sub_802dd3fc +sub_802dd3fc: +/* 802DD3FC 002DA35C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DD400 002DA360 7C 08 02 A6 */ mflr r0 +/* 802DD404 002DA364 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DD408 002DA368 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DD40C 002DA36C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DD410 002DA370 7C BE 2B 78 */ mr r30, r5 +/* 802DD414 002DA374 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DD418 002DA378 7C 9D 23 78 */ mr r29, r4 +/* 802DD41C 002DA37C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802DD420 002DA380 48 00 00 94 */ b lbl_802DD4B4 +lbl_802DD424: +/* 802DD424 002DA384 28 1E 00 00 */ cmplwi r30, 0 +/* 802DD428 002DA388 41 82 00 84 */ beq lbl_802DD4AC +/* 802DD42C 002DA38C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DD430 002DA390 38 9F 00 08 */ addi r4, r31, 8 +/* 802DD434 002DA394 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DD438 002DA398 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD43C 002DA39C 38 7E 00 08 */ addi r3, r30, 8 +/* 802DD440 002DA3A0 A0 1F 00 04 */ lhz r0, 4(r31) +/* 802DD444 002DA3A4 B0 1E 00 04 */ sth r0, 4(r30) +/* 802DD448 002DA3A8 48 06 0D 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DD44C 002DA3AC A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802DD450 002DA3B0 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802DD454 002DA3B4 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802DD458 002DA3B8 38 7E 00 3C */ addi r3, r30, 0x3c +/* 802DD45C 002DA3BC B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802DD460 002DA3C0 38 9F 00 3C */ addi r4, r31, 0x3c +/* 802DD464 002DA3C4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802DD468 002DA3C8 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DD46C 002DA3CC 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802DD470 002DA3D0 90 BE 00 20 */ stw r5, 0x20(r30) +/* 802DD474 002DA3D4 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 802DD478 002DA3D8 90 BE 00 24 */ stw r5, 0x24(r30) +/* 802DD47C 002DA3DC 88 BF 00 28 */ lbz r5, 0x28(r31) +/* 802DD480 002DA3E0 98 BE 00 28 */ stb r5, 0x28(r30) +/* 802DD484 002DA3E4 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802DD488 002DA3E8 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802DD48C 002DA3EC 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 802DD490 002DA3F0 90 BE 00 30 */ stw r5, 0x30(r30) +/* 802DD494 002DA3F4 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802DD498 002DA3F8 90 BE 00 34 */ stw r5, 0x34(r30) +/* 802DD49C 002DA3FC 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD4A0 002DA400 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802DD4A4 002DA404 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802DD4A8 002DA408 48 06 0C B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802DD4AC: +/* 802DD4AC 002DA40C 3B DE 00 4C */ addi r30, r30, 0x4c +/* 802DD4B0 002DA410 3B FF 00 4C */ addi r31, r31, 0x4c +lbl_802DD4B4: +/* 802DD4B4 002DA414 80 1D 00 00 */ lwz r0, 0(r29) +/* 802DD4B8 002DA418 7C 1F 00 40 */ cmplw r31, r0 +/* 802DD4BC 002DA41C 40 82 FF 68 */ bne lbl_802DD424 +/* 802DD4C0 002DA420 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DD4C4 002DA424 7F C3 F3 78 */ mr r3, r30 +/* 802DD4C8 002DA428 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DD4CC 002DA42C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DD4D0 002DA430 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DD4D4 002DA434 7C 08 03 A6 */ mtlr r0 +/* 802DD4D8 002DA438 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DD4DC 002DA43C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>Fi": +/* 802DD4E0 002DA440 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DD4E4 002DA444 7C 08 02 A6 */ mflr r0 +/* 802DD4E8 002DA448 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DD4EC 002DA44C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DD4F0 002DA450 7C 9F 23 78 */ mr r31, r4 +/* 802DD4F4 002DA454 7C 7E 1B 78 */ mr r30, r3 +/* 802DD4F8 002DA458 80 03 00 08 */ lwz r0, 8(r3) +/* 802DD4FC 002DA45C 7C 1F 00 00 */ cmpw r31, r0 +/* 802DD500 002DA460 40 81 00 B4 */ ble lbl_802DD5B4 +/* 802DD504 002DA464 1C 7F 00 5C */ mulli r3, r31, 0x5c +/* 802DD508 002DA468 2C 03 00 00 */ cmpwi r3, 0 +/* 802DD50C 002DA46C 40 82 00 0C */ bne lbl_802DD518 +/* 802DD510 002DA470 3B A0 00 00 */ li r29, 0 +/* 802DD514 002DA474 48 00 00 1C */ b lbl_802DD530 +lbl_802DD518: +/* 802DD518 002DA478 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DD51C 002DA47C 38 A0 00 00 */ li r5, 0 +/* 802DD520 002DA480 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DD524 002DA484 38 84 00 01 */ addi r4, r4, 1 +/* 802DD528 002DA488 48 03 82 F1 */ bl __nwa__FUlPCcPCc +/* 802DD52C 002DA48C 7C 7D 1B 78 */ mr r29, r3 +lbl_802DD530: +/* 802DD530 002DA490 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD534 002DA494 7F A5 EB 78 */ mr r5, r29 +/* 802DD538 002DA498 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802DD53C 002DA49C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DD540 002DA4A0 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802DD544 002DA4A4 38 81 00 0C */ addi r4, r1, 0xc +/* 802DD548 002DA4A8 7C C6 02 14 */ add r6, r6, r0 +/* 802DD54C 002DA4AC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802DD550 002DA4B0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802DD554 002DA4B4 90 C1 00 08 */ stw r6, 8(r1) +/* 802DD558 002DA4B8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802DD55C 002DA4BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DD560 002DA4C0 48 00 00 69 */ bl sub_802dd5c8 +/* 802DD564 002DA4C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD568 002DA4C8 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802DD56C 002DA4CC 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802DD570 002DA4D0 7F 9B 02 14 */ add r28, r27, r0 +/* 802DD574 002DA4D4 48 00 00 20 */ b lbl_802DD594 +lbl_802DD578: +/* 802DD578 002DA4D8 7F 63 DB 78 */ mr r3, r27 +/* 802DD57C 002DA4DC 38 80 FF FF */ li r4, -1 +/* 802DD580 002DA4E0 81 9B 00 00 */ lwz r12, 0(r27) +/* 802DD584 002DA4E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DD588 002DA4E8 7D 89 03 A6 */ mtctr r12 +/* 802DD58C 002DA4EC 4E 80 04 21 */ bctrl +/* 802DD590 002DA4F0 3B 7B 00 5C */ addi r27, r27, 0x5c +lbl_802DD594: +/* 802DD594 002DA4F4 7C 1B E0 40 */ cmplw r27, r28 +/* 802DD598 002DA4F8 40 82 FF E0 */ bne lbl_802DD578 +/* 802DD59C 002DA4FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DD5A0 002DA500 28 03 00 00 */ cmplwi r3, 0 +/* 802DD5A4 002DA504 41 82 00 08 */ beq lbl_802DD5AC +/* 802DD5A8 002DA508 48 03 83 89 */ bl Free__7CMemoryFPCv +lbl_802DD5AC: +/* 802DD5AC 002DA50C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802DD5B0 002DA510 93 FE 00 08 */ stw r31, 8(r30) +lbl_802DD5B4: +/* 802DD5B4 002DA514 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DD5B8 002DA518 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DD5BC 002DA51C 7C 08 03 A6 */ mtlr r0 +/* 802DD5C0 002DA520 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DD5C4 002DA524 4E 80 00 20 */ blr + +.global sub_802dd5c8 +sub_802dd5c8: +/* 802DD5C8 002DA528 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DD5CC 002DA52C 7C 08 02 A6 */ mflr r0 +/* 802DD5D0 002DA530 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DD5D4 002DA534 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DD5D8 002DA538 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DD5DC 002DA53C 7C BE 2B 78 */ mr r30, r5 +/* 802DD5E0 002DA540 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DD5E4 002DA544 7C 9D 23 78 */ mr r29, r4 +/* 802DD5E8 002DA548 83 E3 00 00 */ lwz r31, 0(r3) +/* 802DD5EC 002DA54C 48 00 00 B4 */ b lbl_802DD6A0 +lbl_802DD5F0: +/* 802DD5F0 002DA550 28 1E 00 00 */ cmplwi r30, 0 +/* 802DD5F4 002DA554 41 82 00 A4 */ beq lbl_802DD698 +/* 802DD5F8 002DA558 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802DD5FC 002DA55C 38 9F 00 08 */ addi r4, r31, 8 +/* 802DD600 002DA560 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802DD604 002DA564 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD608 002DA568 38 7E 00 08 */ addi r3, r30, 8 +/* 802DD60C 002DA56C A0 1F 00 04 */ lhz r0, 4(r31) +/* 802DD610 002DA570 B0 1E 00 04 */ sth r0, 4(r30) +/* 802DD614 002DA574 48 06 0B 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DD618 002DA578 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802DD61C 002DA57C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802DD620 002DA580 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802DD624 002DA584 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802DD628 002DA588 B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802DD62C 002DA58C 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802DD630 002DA590 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802DD634 002DA594 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DD638 002DA598 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802DD63C 002DA59C 90 BE 00 20 */ stw r5, 0x20(r30) +/* 802DD640 002DA5A0 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 802DD644 002DA5A4 90 BE 00 24 */ stw r5, 0x24(r30) +/* 802DD648 002DA5A8 88 BF 00 28 */ lbz r5, 0x28(r31) +/* 802DD64C 002DA5AC 98 BE 00 28 */ stb r5, 0x28(r30) +/* 802DD650 002DA5B0 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802DD654 002DA5B4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802DD658 002DA5B8 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 802DD65C 002DA5BC 90 BE 00 30 */ stw r5, 0x30(r30) +/* 802DD660 002DA5C0 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802DD664 002DA5C4 90 BE 00 34 */ stw r5, 0x34(r30) +/* 802DD668 002DA5C8 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD66C 002DA5CC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802DD670 002DA5D0 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802DD674 002DA5D4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802DD678 002DA5D8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802DD67C 002DA5DC 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 802DD680 002DA5E0 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802DD684 002DA5E4 48 06 0A DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DD688 002DA5E8 C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 802DD68C 002DA5EC D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 802DD690 002DA5F0 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802DD694 002DA5F4 90 1E 00 58 */ stw r0, 0x58(r30) +lbl_802DD698: +/* 802DD698 002DA5F8 3B DE 00 5C */ addi r30, r30, 0x5c +/* 802DD69C 002DA5FC 3B FF 00 5C */ addi r31, r31, 0x5c +lbl_802DD6A0: +/* 802DD6A0 002DA600 80 1D 00 00 */ lwz r0, 0(r29) +/* 802DD6A4 002DA604 7C 1F 00 40 */ cmplw r31, r0 +/* 802DD6A8 002DA608 40 82 FF 48 */ bne lbl_802DD5F0 +/* 802DD6AC 002DA60C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DD6B0 002DA610 7F C3 F3 78 */ mr r3, r30 +/* 802DD6B4 002DA614 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DD6B8 002DA618 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DD6BC 002DA61C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DD6C0 002DA620 7C 08 03 A6 */ mtlr r0 +/* 802DD6C4 002DA624 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DD6C8 002DA628 4E 80 00 20 */ blr + +.global "reserve__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>Fi": +/* 802DD6CC 002DA62C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DD6D0 002DA630 7C 08 02 A6 */ mflr r0 +/* 802DD6D4 002DA634 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DD6D8 002DA638 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DD6DC 002DA63C 7C 9F 23 78 */ mr r31, r4 +/* 802DD6E0 002DA640 7C 7E 1B 78 */ mr r30, r3 +/* 802DD6E4 002DA644 80 03 00 08 */ lwz r0, 8(r3) +/* 802DD6E8 002DA648 7C 1F 00 00 */ cmpw r31, r0 +/* 802DD6EC 002DA64C 40 81 00 B4 */ ble lbl_802DD7A0 +/* 802DD6F0 002DA650 1C 7F 00 44 */ mulli r3, r31, 0x44 +/* 802DD6F4 002DA654 2C 03 00 00 */ cmpwi r3, 0 +/* 802DD6F8 002DA658 40 82 00 0C */ bne lbl_802DD704 +/* 802DD6FC 002DA65C 3B A0 00 00 */ li r29, 0 +/* 802DD700 002DA660 48 00 00 1C */ b lbl_802DD71C +lbl_802DD704: +/* 802DD704 002DA664 3C 80 80 3D */ lis r4, lbl_803D6D40@ha +/* 802DD708 002DA668 38 A0 00 00 */ li r5, 0 +/* 802DD70C 002DA66C 38 84 6D 40 */ addi r4, r4, lbl_803D6D40@l +/* 802DD710 002DA670 38 84 00 01 */ addi r4, r4, 1 +/* 802DD714 002DA674 48 03 81 05 */ bl __nwa__FUlPCcPCc +/* 802DD718 002DA678 7C 7D 1B 78 */ mr r29, r3 +lbl_802DD71C: +/* 802DD71C 002DA67C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD720 002DA680 7F A5 EB 78 */ mr r5, r29 +/* 802DD724 002DA684 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802DD728 002DA688 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DD72C 002DA68C 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802DD730 002DA690 38 81 00 0C */ addi r4, r1, 0xc +/* 802DD734 002DA694 7C C6 02 14 */ add r6, r6, r0 +/* 802DD738 002DA698 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802DD73C 002DA69C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802DD740 002DA6A0 90 C1 00 08 */ stw r6, 8(r1) +/* 802DD744 002DA6A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802DD748 002DA6A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DD74C 002DA6AC 48 00 00 69 */ bl sub_802dd7b4 +/* 802DD750 002DA6B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DD754 002DA6B4 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802DD758 002DA6B8 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802DD75C 002DA6BC 7F 9B 02 14 */ add r28, r27, r0 +/* 802DD760 002DA6C0 48 00 00 20 */ b lbl_802DD780 +lbl_802DD764: +/* 802DD764 002DA6C4 7F 63 DB 78 */ mr r3, r27 +/* 802DD768 002DA6C8 38 80 FF FF */ li r4, -1 +/* 802DD76C 002DA6CC 81 9B 00 00 */ lwz r12, 0(r27) +/* 802DD770 002DA6D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802DD774 002DA6D4 7D 89 03 A6 */ mtctr r12 +/* 802DD778 002DA6D8 4E 80 04 21 */ bctrl +/* 802DD77C 002DA6DC 3B 7B 00 44 */ addi r27, r27, 0x44 +lbl_802DD780: +/* 802DD780 002DA6E0 7C 1B E0 40 */ cmplw r27, r28 +/* 802DD784 002DA6E4 40 82 FF E0 */ bne lbl_802DD764 +/* 802DD788 002DA6E8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DD78C 002DA6EC 28 03 00 00 */ cmplwi r3, 0 +/* 802DD790 002DA6F0 41 82 00 08 */ beq lbl_802DD798 +/* 802DD794 002DA6F4 48 03 81 9D */ bl Free__7CMemoryFPCv +lbl_802DD798: +/* 802DD798 002DA6F8 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802DD79C 002DA6FC 93 FE 00 08 */ stw r31, 8(r30) +lbl_802DD7A0: +/* 802DD7A0 002DA700 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DD7A4 002DA704 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DD7A8 002DA708 7C 08 03 A6 */ mtlr r0 +/* 802DD7AC 002DA70C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DD7B0 002DA710 4E 80 00 20 */ blr + +.global sub_802dd7b4 +sub_802dd7b4: +/* 802DD7B4 002DA714 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DD7B8 002DA718 7C 08 02 A6 */ mflr r0 +/* 802DD7BC 002DA71C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DD7C0 002DA720 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DD7C4 002DA724 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DD7C8 002DA728 7C BE 2B 78 */ mr r30, r5 +/* 802DD7CC 002DA72C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DD7D0 002DA730 7C 9D 23 78 */ mr r29, r4 +/* 802DD7D4 002DA734 83 E3 00 00 */ lwz r31, 0(r3) +/* 802DD7D8 002DA738 48 00 00 98 */ b lbl_802DD870 +lbl_802DD7DC: +/* 802DD7DC 002DA73C 28 1E 00 00 */ cmplwi r30, 0 +/* 802DD7E0 002DA740 41 82 00 88 */ beq lbl_802DD868 +/* 802DD7E4 002DA744 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802DD7E8 002DA748 38 7E 00 08 */ addi r3, r30, 8 +/* 802DD7EC 002DA74C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802DD7F0 002DA750 38 9F 00 08 */ addi r4, r31, 8 +/* 802DD7F4 002DA754 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD7F8 002DA758 A0 1F 00 04 */ lhz r0, 4(r31) +/* 802DD7FC 002DA75C B0 1E 00 04 */ sth r0, 4(r30) +/* 802DD800 002DA760 48 06 09 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DD804 002DA764 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802DD808 002DA768 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802DD80C 002DA76C 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 802DD810 002DA770 B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802DD814 002DA774 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802DD818 002DA778 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DD81C 002DA77C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802DD820 002DA780 90 7E 00 20 */ stw r3, 0x20(r30) +/* 802DD824 002DA784 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802DD828 002DA788 90 7E 00 24 */ stw r3, 0x24(r30) +/* 802DD82C 002DA78C 88 7F 00 28 */ lbz r3, 0x28(r31) +/* 802DD830 002DA790 98 7E 00 28 */ stb r3, 0x28(r30) +/* 802DD834 002DA794 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802DD838 002DA798 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802DD83C 002DA79C 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802DD840 002DA7A0 90 7E 00 30 */ stw r3, 0x30(r30) +/* 802DD844 002DA7A4 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 802DD848 002DA7A8 90 7E 00 34 */ stw r3, 0x34(r30) +/* 802DD84C 002DA7AC 90 1E 00 00 */ stw r0, 0(r30) +/* 802DD850 002DA7B0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802DD854 002DA7B4 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802DD858 002DA7B8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802DD85C 002DA7BC D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802DD860 002DA7C0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802DD864 002DA7C4 D0 1E 00 40 */ stfs f0, 0x40(r30) +lbl_802DD868: +/* 802DD868 002DA7C8 3B DE 00 44 */ addi r30, r30, 0x44 +/* 802DD86C 002DA7CC 3B FF 00 44 */ addi r31, r31, 0x44 +lbl_802DD870: +/* 802DD870 002DA7D0 80 1D 00 00 */ lwz r0, 0(r29) +/* 802DD874 002DA7D4 7C 1F 00 40 */ cmplw r31, r0 +/* 802DD878 002DA7D8 40 82 FF 64 */ bne lbl_802DD7DC +/* 802DD87C 002DA7DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DD880 002DA7E0 7F C3 F3 78 */ mr r3, r30 +/* 802DD884 002DA7E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DD888 002DA7E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DD88C 002DA7EC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DD890 002DA7F0 7C 08 03 A6 */ mtlr r0 +/* 802DD894 002DA7F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DD898 002DA7F8 4E 80 00 20 */ blr + +.global sub_802dd89c +sub_802dd89c: +/* 802DD89C 002DA7FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DD8A0 002DA800 7C 08 02 A6 */ mflr r0 +/* 802DD8A4 002DA804 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DD8A8 002DA808 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DD8AC 002DA80C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DD8B0 002DA810 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DD8B4 002DA814 7C 9D 23 78 */ mr r29, r4 +/* 802DD8B8 002DA818 80 03 00 24 */ lwz r0, 0x24(r3) +/* 802DD8BC 002DA81C 83 C3 00 2C */ lwz r30, 0x2c(r3) +/* 802DD8C0 002DA820 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802DD8C4 002DA824 7F FE 02 14 */ add r31, r30, r0 +/* 802DD8C8 002DA828 48 00 00 24 */ b lbl_802DD8EC +lbl_802DD8CC: +/* 802DD8CC 002DA82C 7F A4 EB 78 */ mr r4, r29 +/* 802DD8D0 002DA830 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802DD8D4 002DA834 4B D7 4D 0D */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 802DD8D8 002DA838 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DD8DC 002DA83C 41 82 00 0C */ beq lbl_802DD8E8 +/* 802DD8E0 002DA840 80 7E 00 00 */ lwz r3, 0(r30) +/* 802DD8E4 002DA844 48 00 00 14 */ b lbl_802DD8F8 +lbl_802DD8E8: +/* 802DD8E8 002DA848 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_802DD8EC: +/* 802DD8EC 002DA84C 7C 1E F8 40 */ cmplw r30, r31 +/* 802DD8F0 002DA850 40 82 FF DC */ bne lbl_802DD8CC +/* 802DD8F4 002DA854 38 60 FF FF */ li r3, -1 +lbl_802DD8F8: +/* 802DD8F8 002DA858 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DD8FC 002DA85C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DD900 002DA860 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DD904 002DA864 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DD908 002DA868 7C 08 03 A6 */ mtlr r0 +/* 802DD90C 002DA86C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DD910 002DA870 4E 80 00 20 */ blr + +.global sub_802dd914 +sub_802dd914: +/* 802DD914 002DA874 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DD918 002DA878 7C 08 02 A6 */ mflr r0 +/* 802DD91C 002DA87C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DD920 002DA880 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DD924 002DA884 93 C1 00 08 */ stw r30, 8(r1) +/* 802DD928 002DA888 7C 9E 23 78 */ mr r30, r4 +/* 802DD92C 002DA88C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802DD930 002DA890 48 00 00 10 */ b lbl_802DD940 +lbl_802DD934: +/* 802DD934 002DA894 7F E3 FB 78 */ mr r3, r31 +/* 802DD938 002DA898 48 00 00 2D */ bl sub_802dd964 +/* 802DD93C 002DA89C 3B FF 00 20 */ addi r31, r31, 0x20 +lbl_802DD940: +/* 802DD940 002DA8A0 80 1E 00 00 */ lwz r0, 0(r30) +/* 802DD944 002DA8A4 7C 1F 00 40 */ cmplw r31, r0 +/* 802DD948 002DA8A8 40 82 FF EC */ bne lbl_802DD934 +/* 802DD94C 002DA8AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DD950 002DA8B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DD954 002DA8B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DD958 002DA8B8 7C 08 03 A6 */ mtlr r0 +/* 802DD95C 002DA8BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DD960 002DA8C0 4E 80 00 20 */ blr + +.global sub_802dd964 +sub_802dd964: +/* 802DD964 002DA8C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DD968 002DA8C8 7C 08 02 A6 */ mflr r0 +/* 802DD96C 002DA8CC 38 80 FF FF */ li r4, -1 +/* 802DD970 002DA8D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DD974 002DA8D4 4B D4 D0 91 */ bl sub_8002aa04 +/* 802DD978 002DA8D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DD97C 002DA8DC 7C 08 03 A6 */ mtlr r0 +/* 802DD980 002DA8E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DD984 002DA8E4 4E 80 00 20 */ blr + +.global sub_802dd988 +sub_802dd988: +/* 802DD988 002DA8E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DD98C 002DA8EC 7C 08 02 A6 */ mflr r0 +/* 802DD990 002DA8F0 28 03 00 00 */ cmplwi r3, 0 +/* 802DD994 002DA8F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DD998 002DA8F8 41 82 00 08 */ beq lbl_802DD9A0 +/* 802DD99C 002DA8FC 4B D4 D2 D9 */ bl sub_8002ac74 +lbl_802DD9A0: +/* 802DD9A0 002DA900 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DD9A4 002DA904 7C 08 03 A6 */ mtlr r0 +/* 802DD9A8 002DA908 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DD9AC 002DA90C 4E 80 00 20 */ blr + +.global __ct__14CCharacterInfoFR12CInputStream +__ct__14CCharacterInfoFR12CInputStream: +/* 802DD9B0 002DA910 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802DD9B4 002DA914 7C 08 02 A6 */ mflr r0 +/* 802DD9B8 002DA918 90 01 00 94 */ stw r0, 0x94(r1) +/* 802DD9BC 002DA91C BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802DD9C0 002DA920 7C 9F 23 78 */ mr r31, r4 +/* 802DD9C4 002DA924 7C 7E 1B 78 */ mr r30, r3 +/* 802DD9C8 002DA928 7F E3 FB 78 */ mr r3, r31 +/* 802DD9CC 002DA92C 48 06 12 E5 */ bl ReadShort__12CInputStreamFv +/* 802DD9D0 002DA930 B0 7E 00 00 */ sth r3, 0(r30) +/* 802DD9D4 002DA934 7F E4 FB 78 */ mr r4, r31 +/* 802DD9D8 002DA938 38 7E 00 04 */ addi r3, r30, 4 +/* 802DD9DC 002DA93C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802DD9E0 002DA940 48 06 09 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802DD9E4 002DA944 7F E3 FB 78 */ mr r3, r31 +/* 802DD9E8 002DA948 48 06 12 9D */ bl ReadLong__12CInputStreamFv +/* 802DD9EC 002DA94C 90 7E 00 14 */ stw r3, 0x14(r30) +/* 802DD9F0 002DA950 7F E3 FB 78 */ mr r3, r31 +/* 802DD9F4 002DA954 48 06 12 91 */ bl ReadLong__12CInputStreamFv +/* 802DD9F8 002DA958 90 7E 00 18 */ stw r3, 0x18(r30) +/* 802DD9FC 002DA95C 7F E3 FB 78 */ mr r3, r31 +/* 802DDA00 002DA960 48 06 12 85 */ bl ReadLong__12CInputStreamFv +/* 802DDA04 002DA964 90 7E 00 1C */ stw r3, 0x1c(r30) +/* 802DDA08 002DA968 7F E4 FB 78 */ mr r4, r31 +/* 802DDA0C 002DA96C 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802DDA10 002DA970 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802DDA14 002DA974 48 00 0B 39 */ bl "_ct__Q24rstl220vector,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802DDA18 002DA978 88 0D A6 C8 */ lbz r0, lbl_805A9288@sda21(r13) +/* 802DDA1C 002DA97C 7F E4 FB 78 */ mr r4, r31 +/* 802DDA20 002DA980 38 61 00 5C */ addi r3, r1, 0x5c +/* 802DDA24 002DA984 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802DDA28 002DA988 98 01 00 10 */ stb r0, 0x10(r1) +/* 802DDA2C 002DA98C 48 00 0A C1 */ bl "Get<12CPASDatabase>__12CInputStreamFRC21TType<12CPASDatabase>" +/* 802DDA30 002DA990 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802DDA34 002DA994 38 81 00 5C */ addi r4, r1, 0x5c +/* 802DDA38 002DA998 4B D5 30 11 */ bl __ct__12CPASDatabaseFRC12CPASDatabase +/* 802DDA3C 002DA99C 38 61 00 5C */ addi r3, r1, 0x5c +/* 802DDA40 002DA9A0 38 80 FF FF */ li r4, -1 +/* 802DDA44 002DA9A4 4B D5 16 29 */ bl __dt__12CPASDatabaseFv +/* 802DDA48 002DA9A8 A0 BE 00 00 */ lhz r5, 0(r30) +/* 802DDA4C 002DA9AC 7F E4 FB 78 */ mr r4, r31 +/* 802DDA50 002DA9B0 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802DDA54 002DA9B4 48 00 0E ED */ bl __ct__Q214CCharacterInfo16CParticleResDataFR12CInputStreamUs +/* 802DDA58 002DA9B8 7F E3 FB 78 */ mr r3, r31 +/* 802DDA5C 002DA9BC 48 06 12 29 */ bl ReadLong__12CInputStreamFv +/* 802DDA60 002DA9C0 90 7E 00 84 */ stw r3, 0x84(r30) +/* 802DDA64 002DA9C4 38 00 00 00 */ li r0, 0 +/* 802DDA68 002DA9C8 90 1E 00 8C */ stw r0, 0x8c(r30) +/* 802DDA6C 002DA9CC 90 1E 00 90 */ stw r0, 0x90(r30) +/* 802DDA70 002DA9D0 90 1E 00 94 */ stw r0, 0x94(r30) +/* 802DDA74 002DA9D4 90 1E 00 9C */ stw r0, 0x9c(r30) +/* 802DDA78 002DA9D8 90 1E 00 A0 */ stw r0, 0xa0(r30) +/* 802DDA7C 002DA9DC 90 1E 00 A4 */ stw r0, 0xa4(r30) +/* 802DDA80 002DA9E0 90 1E 00 B4 */ stw r0, 0xb4(r30) +/* 802DDA84 002DA9E4 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 802DDA88 002DA9E8 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 802DDA8C 002DA9EC A0 1E 00 00 */ lhz r0, 0(r30) +/* 802DDA90 002DA9F0 28 00 00 01 */ cmplwi r0, 1 +/* 802DDA94 002DA9F4 40 81 00 2C */ ble lbl_802DDAC0 +/* 802DDA98 002DA9F8 7F E4 FB 78 */ mr r4, r31 +/* 802DDA9C 002DA9FC 38 61 00 4C */ addi r3, r1, 0x4c +/* 802DDAA0 002DAA00 38 A1 00 0C */ addi r5, r1, 0xc +/* 802DDAA4 002DAA04 48 00 08 59 */ bl "Get,Q24rstl17rmemory_allocator>,6CAABox>>__12CInputStreamFRC105TType,Q24rstl17rmemory_allocator>,6CAABox>>" +/* 802DDAA8 002DAA08 38 7E 00 88 */ addi r3, r30, 0x88 +/* 802DDAAC 002DAA0C 38 81 00 4C */ addi r4, r1, 0x4c +/* 802DDAB0 002DAA10 48 00 07 19 */ bl "__ct__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>FRCQ24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>" +/* 802DDAB4 002DAA14 38 61 00 4C */ addi r3, r1, 0x4c +/* 802DDAB8 002DAA18 38 80 FF FF */ li r4, -1 +/* 802DDABC 002DAA1C 4B D5 1A 4D */ bl "__dt__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fv" +lbl_802DDAC0: +/* 802DDAC0 002DAA20 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802DDAC4 002DAA24 28 00 00 02 */ cmplwi r0, 2 +/* 802DDAC8 002DAA28 40 81 00 2C */ ble lbl_802DDAF4 +/* 802DDACC 002DAA2C 7F E4 FB 78 */ mr r4, r31 +/* 802DDAD0 002DAA30 38 61 00 3C */ addi r3, r1, 0x3c +/* 802DDAD4 002DAA34 38 A1 00 08 */ addi r5, r1, 8 +/* 802DDAD8 002DAA38 48 00 02 B9 */ bl "__ct__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802DDADC 002DAA3C 38 7E 00 98 */ addi r3, r30, 0x98 +/* 802DDAE0 002DAA40 38 81 00 3C */ addi r4, r1, 0x3c +/* 802DDAE4 002DAA44 48 00 01 49 */ bl sub_802ddc2c +/* 802DDAE8 002DAA48 38 61 00 3C */ addi r3, r1, 0x3c +/* 802DDAEC 002DAA4C 38 80 FF FF */ li r4, -1 +/* 802DDAF0 002DAA50 4B D4 CE 15 */ bl sub_8002a904 +lbl_802DDAF4: +/* 802DDAF4 002DAA54 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802DDAF8 002DAA58 28 00 00 03 */ cmplwi r0, 3 +/* 802DDAFC 002DAA5C 40 81 00 20 */ ble lbl_802DDB1C +/* 802DDB00 002DAA60 7F E3 FB 78 */ mr r3, r31 +/* 802DDB04 002DAA64 48 06 11 81 */ bl ReadLong__12CInputStreamFv +/* 802DDB08 002DAA68 90 7E 00 A8 */ stw r3, 0xa8(r30) +/* 802DDB0C 002DAA6C 7F E3 FB 78 */ mr r3, r31 +/* 802DDB10 002DAA70 48 06 11 75 */ bl ReadLong__12CInputStreamFv +/* 802DDB14 002DAA74 90 7E 00 AC */ stw r3, 0xac(r30) +/* 802DDB18 002DAA78 48 00 00 10 */ b lbl_802DDB28 +lbl_802DDB1C: +/* 802DDB1C 002DAA7C 38 00 00 00 */ li r0, 0 +/* 802DDB20 002DAA80 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 802DDB24 002DAA84 90 1E 00 AC */ stw r0, 0xac(r30) +lbl_802DDB28: +/* 802DDB28 002DAA88 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802DDB2C 002DAA8C 28 00 00 04 */ cmplwi r0, 4 +/* 802DDB30 002DAA90 40 81 00 E4 */ ble lbl_802DDC14 +/* 802DDB34 002DAA94 38 00 00 00 */ li r0, 0 +/* 802DDB38 002DAA98 7F E3 FB 78 */ mr r3, r31 +/* 802DDB3C 002DAA9C 90 01 00 30 */ stw r0, 0x30(r1) +/* 802DDB40 002DAAA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DDB44 002DAAA4 90 01 00 38 */ stw r0, 0x38(r1) +/* 802DDB48 002DAAA8 48 06 11 3D */ bl ReadLong__12CInputStreamFv +/* 802DDB4C 002DAAAC 7C 7B 1B 78 */ mr r27, r3 +/* 802DDB50 002DAAB0 38 61 00 2C */ addi r3, r1, 0x2c +/* 802DDB54 002DAAB4 7F 64 DB 78 */ mr r4, r27 +/* 802DDB58 002DAAB8 4B D8 5F CD */ bl "reserve__Q24rstl37vectorFi" +/* 802DDB5C 002DAABC 3B 80 00 00 */ li r28, 0 +/* 802DDB60 002DAAC0 48 00 00 60 */ b lbl_802DDBC0 +lbl_802DDB64: +/* 802DDB64 002DAAC4 7F E3 FB 78 */ mr r3, r31 +/* 802DDB68 002DAAC8 48 06 11 1D */ bl ReadLong__12CInputStreamFv +/* 802DDB6C 002DAACC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802DDB70 002DAAD0 7C 7D 1B 78 */ mr r29, r3 +/* 802DDB74 002DAAD4 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 802DDB78 002DAAD8 7C 00 28 00 */ cmpw r0, r5 +/* 802DDB7C 002DAADC 41 80 00 1C */ blt lbl_802DDB98 +/* 802DDB80 002DAAE0 2C 05 00 00 */ cmpwi r5, 0 +/* 802DDB84 002DAAE4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802DDB88 002DAAE8 38 80 00 04 */ li r4, 4 +/* 802DDB8C 002DAAEC 41 82 00 08 */ beq lbl_802DDB94 +/* 802DDB90 002DAAF0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DDB94: +/* 802DDB94 002DAAF4 4B D8 5F 91 */ bl "reserve__Q24rstl37vectorFi" +lbl_802DDB98: +/* 802DDB98 002DAAF8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802DDB9C 002DAAFC 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802DDBA0 002DAB00 54 00 10 3A */ slwi r0, r0, 2 +/* 802DDBA4 002DAB04 7C 63 02 15 */ add. r3, r3, r0 +/* 802DDBA8 002DAB08 41 82 00 08 */ beq lbl_802DDBB0 +/* 802DDBAC 002DAB0C 93 A3 00 00 */ stw r29, 0(r3) +lbl_802DDBB0: +/* 802DDBB0 002DAB10 80 61 00 30 */ lwz r3, 0x30(r1) +/* 802DDBB4 002DAB14 3B 9C 00 01 */ addi r28, r28, 1 +/* 802DDBB8 002DAB18 38 03 00 01 */ addi r0, r3, 1 +/* 802DDBBC 002DAB1C 90 01 00 30 */ stw r0, 0x30(r1) +lbl_802DDBC0: +/* 802DDBC0 002DAB20 7C 1C D8 00 */ cmpw r28, r27 +/* 802DDBC4 002DAB24 41 80 FF A0 */ blt lbl_802DDB64 +/* 802DDBC8 002DAB28 38 7E 00 B0 */ addi r3, r30, 0xb0 +/* 802DDBCC 002DAB2C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802DDBD0 002DAB30 4B D8 5B 2D */ bl "clear__Q24rstl37vectorFv" +/* 802DDBD4 002DAB34 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802DDBD8 002DAB38 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802DDBDC 002DAB3C 54 00 10 3A */ slwi r0, r0, 2 +/* 802DDBE0 002DAB40 7C 03 02 14 */ add r0, r3, r0 +/* 802DDBE4 002DAB44 90 61 00 20 */ stw r3, 0x20(r1) +/* 802DDBE8 002DAB48 7C 64 1B 78 */ mr r4, r3 +/* 802DDBEC 002DAB4C 90 01 00 28 */ stw r0, 0x28(r1) +/* 802DDBF0 002DAB50 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DDBF4 002DAB54 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802DDBF8 002DAB58 48 00 00 08 */ b lbl_802DDC00 +lbl_802DDBFC: +/* 802DDBFC 002DAB5C 38 84 00 04 */ addi r4, r4, 4 +lbl_802DDC00: +/* 802DDC00 002DAB60 7C 04 00 40 */ cmplw r4, r0 +/* 802DDC04 002DAB64 40 82 FF F8 */ bne lbl_802DDBFC +/* 802DDC08 002DAB68 28 03 00 00 */ cmplwi r3, 0 +/* 802DDC0C 002DAB6C 41 82 00 08 */ beq lbl_802DDC14 +/* 802DDC10 002DAB70 48 03 7D 21 */ bl Free__7CMemoryFPCv +lbl_802DDC14: +/* 802DDC14 002DAB74 7F C3 F3 78 */ mr r3, r30 +/* 802DDC18 002DAB78 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802DDC1C 002DAB7C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802DDC20 002DAB80 7C 08 03 A6 */ mtlr r0 +/* 802DDC24 002DAB84 38 21 00 90 */ addi r1, r1, 0x90 +/* 802DDC28 002DAB88 4E 80 00 20 */ blr + +.global sub_802ddc2c +sub_802ddc2c: +/* 802DDC2C 002DAB8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DDC30 002DAB90 7C 08 02 A6 */ mflr r0 +/* 802DDC34 002DAB94 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DDC38 002DAB98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DDC3C 002DAB9C 7C 9F 23 78 */ mr r31, r4 +/* 802DDC40 002DABA0 93 C1 00 08 */ stw r30, 8(r1) +/* 802DDC44 002DABA4 7C 7E 1B 78 */ mr r30, r3 +/* 802DDC48 002DABA8 7C 1E F8 40 */ cmplw r30, r31 +/* 802DDC4C 002DABAC 40 82 00 08 */ bne lbl_802DDC54 +/* 802DDC50 002DABB0 48 00 00 64 */ b lbl_802DDCB4 +lbl_802DDC54: +/* 802DDC54 002DABB4 48 00 00 DD */ bl sub_802ddd30 +/* 802DDC58 002DABB8 80 9F 00 04 */ lwz r4, 4(r31) +/* 802DDC5C 002DABBC 2C 04 00 00 */ cmpwi r4, 0 +/* 802DDC60 002DABC0 40 82 00 28 */ bne lbl_802DDC88 +/* 802DDC64 002DABC4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DDC68 002DABC8 28 03 00 00 */ cmplwi r3, 0 +/* 802DDC6C 002DABCC 41 82 00 08 */ beq lbl_802DDC74 +/* 802DDC70 002DABD0 48 03 7C C1 */ bl Free__7CMemoryFPCv +lbl_802DDC74: +/* 802DDC74 002DABD4 38 00 00 00 */ li r0, 0 +/* 802DDC78 002DABD8 90 1E 00 04 */ stw r0, 4(r30) +/* 802DDC7C 002DABDC 90 1E 00 08 */ stw r0, 8(r30) +/* 802DDC80 002DABE0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802DDC84 002DABE4 48 00 00 2C */ b lbl_802DDCB0 +lbl_802DDC88: +/* 802DDC88 002DABE8 7F C3 F3 78 */ mr r3, r30 +/* 802DDC8C 002DABEC 48 00 14 45 */ bl "reserve__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>Fi" +/* 802DDC90 002DABF0 80 1F 00 04 */ lwz r0, 4(r31) +/* 802DDC94 002DABF4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802DDC98 002DABF8 54 00 28 34 */ slwi r0, r0, 5 +/* 802DDC9C 002DABFC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802DDCA0 002DAC00 7C 83 02 14 */ add r4, r3, r0 +/* 802DDCA4 002DAC04 48 00 00 29 */ bl sub_802ddccc +/* 802DDCA8 002DAC08 80 1F 00 04 */ lwz r0, 4(r31) +/* 802DDCAC 002DAC0C 90 1E 00 04 */ stw r0, 4(r30) +lbl_802DDCB0: +/* 802DDCB0 002DAC10 7F C3 F3 78 */ mr r3, r30 +lbl_802DDCB4: +/* 802DDCB4 002DAC14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DDCB8 002DAC18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DDCBC 002DAC1C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DDCC0 002DAC20 7C 08 03 A6 */ mtlr r0 +/* 802DDCC4 002DAC24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DDCC8 002DAC28 4E 80 00 20 */ blr + +.global sub_802ddccc +sub_802ddccc: +/* 802DDCCC 002DAC2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DDCD0 002DAC30 7C 08 02 A6 */ mflr r0 +/* 802DDCD4 002DAC34 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DDCD8 002DAC38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DDCDC 002DAC3C 7C BF 2B 78 */ mr r31, r5 +/* 802DDCE0 002DAC40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DDCE4 002DAC44 7C 7E 1B 78 */ mr r30, r3 +/* 802DDCE8 002DAC48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DDCEC 002DAC4C 7C 9D 23 78 */ mr r29, r4 +/* 802DDCF0 002DAC50 48 00 00 18 */ b lbl_802DDD08 +lbl_802DDCF4: +/* 802DDCF4 002DAC54 7F E3 FB 78 */ mr r3, r31 +/* 802DDCF8 002DAC58 7F C4 F3 78 */ mr r4, r30 +/* 802DDCFC 002DAC5C 4B FF FC 8D */ bl sub_802dd988 +/* 802DDD00 002DAC60 3B FF 00 20 */ addi r31, r31, 0x20 +/* 802DDD04 002DAC64 3B DE 00 20 */ addi r30, r30, 0x20 +lbl_802DDD08: +/* 802DDD08 002DAC68 7C 1E E8 40 */ cmplw r30, r29 +/* 802DDD0C 002DAC6C 40 82 FF E8 */ bne lbl_802DDCF4 +/* 802DDD10 002DAC70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DDD14 002DAC74 7F E3 FB 78 */ mr r3, r31 +/* 802DDD18 002DAC78 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DDD1C 002DAC7C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DDD20 002DAC80 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DDD24 002DAC84 7C 08 03 A6 */ mtlr r0 +/* 802DDD28 002DAC88 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DDD2C 002DAC8C 4E 80 00 20 */ blr + +.global sub_802ddd30 +sub_802ddd30: +/* 802DDD30 002DAC90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DDD34 002DAC94 7C 08 02 A6 */ mflr r0 +/* 802DDD38 002DAC98 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DDD3C 002DAC9C 38 81 00 0C */ addi r4, r1, 0xc +/* 802DDD40 002DACA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DDD44 002DACA4 7C 7F 1B 78 */ mr r31, r3 +/* 802DDD48 002DACA8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DDD4C 002DACAC 80 1F 00 04 */ lwz r0, 4(r31) +/* 802DDD50 002DACB0 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802DDD54 002DACB4 54 00 28 34 */ slwi r0, r0, 5 +/* 802DDD58 002DACB8 7C A5 02 14 */ add r5, r5, r0 +/* 802DDD5C 002DACBC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802DDD60 002DACC0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802DDD64 002DACC4 90 A1 00 08 */ stw r5, 8(r1) +/* 802DDD68 002DACC8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802DDD6C 002DACCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DDD70 002DACD0 4B FF FB A5 */ bl sub_802dd914 +/* 802DDD74 002DACD4 38 00 00 00 */ li r0, 0 +/* 802DDD78 002DACD8 90 1F 00 04 */ stw r0, 4(r31) +/* 802DDD7C 002DACDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DDD80 002DACE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DDD84 002DACE4 7C 08 03 A6 */ mtlr r0 +/* 802DDD88 002DACE8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DDD8C 002DACEC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802DDD90 002DACF0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802DDD94 002DACF4 7C 08 02 A6 */ mflr r0 +/* 802DDD98 002DACF8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802DDD9C 002DACFC 38 00 00 00 */ li r0, 0 +/* 802DDDA0 002DAD00 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802DDDA4 002DAD04 7C 7B 1B 78 */ mr r27, r3 +/* 802DDDA8 002DAD08 7C 9C 23 78 */ mr r28, r4 +/* 802DDDAC 002DAD0C 90 03 00 04 */ stw r0, 4(r3) +/* 802DDDB0 002DAD10 7F 83 E3 78 */ mr r3, r28 +/* 802DDDB4 002DAD14 90 1B 00 08 */ stw r0, 8(r27) +/* 802DDDB8 002DAD18 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802DDDBC 002DAD1C 48 06 0E C9 */ bl ReadLong__12CInputStreamFv +/* 802DDDC0 002DAD20 7C 7E 1B 78 */ mr r30, r3 +/* 802DDDC4 002DAD24 7F 63 DB 78 */ mr r3, r27 +/* 802DDDC8 002DAD28 7F C4 F3 78 */ mr r4, r30 +/* 802DDDCC 002DAD2C 48 00 13 05 */ bl "reserve__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>Fi" +/* 802DDDD0 002DAD30 3B E1 00 08 */ addi r31, r1, 8 +/* 802DDDD4 002DAD34 3B A0 00 00 */ li r29, 0 +/* 802DDDD8 002DAD38 48 00 00 38 */ b lbl_802DDE10 +lbl_802DDDDC: +/* 802DDDDC 002DAD3C 88 0D A6 D8 */ lbz r0, lbl_805A9298@sda21(r13) +/* 802DDDE0 002DAD40 7F 84 E3 78 */ mr r4, r28 +/* 802DDDE4 002DAD44 7F E5 FB 78 */ mr r5, r31 +/* 802DDDE8 002DAD48 38 61 00 0C */ addi r3, r1, 0xc +/* 802DDDEC 002DAD4C 98 01 00 08 */ stb r0, 8(r1) +/* 802DDDF0 002DAD50 48 00 00 BD */ bl "Get,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>__12CInputStreamFRC161TType,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>" +/* 802DDDF4 002DAD54 7F 63 DB 78 */ mr r3, r27 +/* 802DDDF8 002DAD58 38 81 00 0C */ addi r4, r1, 0xc +/* 802DDDFC 002DAD5C 48 00 00 35 */ bl sub_802dde30 +/* 802DDE00 002DAD60 38 61 00 0C */ addi r3, r1, 0xc +/* 802DDE04 002DAD64 38 80 FF FF */ li r4, -1 +/* 802DDE08 002DAD68 4B D4 CB FD */ bl sub_8002aa04 +/* 802DDE0C 002DAD6C 3B BD 00 01 */ addi r29, r29, 1 +lbl_802DDE10: +/* 802DDE10 002DAD70 7C 1D F0 00 */ cmpw r29, r30 +/* 802DDE14 002DAD74 41 80 FF C8 */ blt lbl_802DDDDC +/* 802DDE18 002DAD78 7F 63 DB 78 */ mr r3, r27 +/* 802DDE1C 002DAD7C BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802DDE20 002DAD80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802DDE24 002DAD84 7C 08 03 A6 */ mtlr r0 +/* 802DDE28 002DAD88 38 21 00 50 */ addi r1, r1, 0x50 +/* 802DDE2C 002DAD8C 4E 80 00 20 */ blr + +.global sub_802dde30 +sub_802dde30: +/* 802DDE30 002DAD90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DDE34 002DAD94 7C 08 02 A6 */ mflr r0 +/* 802DDE38 002DAD98 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DDE3C 002DAD9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DDE40 002DADA0 7C 9F 23 78 */ mr r31, r4 +/* 802DDE44 002DADA4 93 C1 00 08 */ stw r30, 8(r1) +/* 802DDE48 002DADA8 7C 7E 1B 78 */ mr r30, r3 +/* 802DDE4C 002DADAC 80 03 00 04 */ lwz r0, 4(r3) +/* 802DDE50 002DADB0 80 A3 00 08 */ lwz r5, 8(r3) +/* 802DDE54 002DADB4 7C 00 28 00 */ cmpw r0, r5 +/* 802DDE58 002DADB8 41 80 00 18 */ blt lbl_802DDE70 +/* 802DDE5C 002DADBC 2C 05 00 00 */ cmpwi r5, 0 +/* 802DDE60 002DADC0 38 80 00 04 */ li r4, 4 +/* 802DDE64 002DADC4 41 82 00 08 */ beq lbl_802DDE6C +/* 802DDE68 002DADC8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DDE6C: +/* 802DDE6C 002DADCC 48 00 12 65 */ bl "reserve__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>Fi" +lbl_802DDE70: +/* 802DDE70 002DADD0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DDE74 002DADD4 7F E4 FB 78 */ mr r4, r31 +/* 802DDE78 002DADD8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DDE7C 002DADDC 54 00 28 34 */ slwi r0, r0, 5 +/* 802DDE80 002DADE0 7C 63 02 14 */ add r3, r3, r0 +/* 802DDE84 002DADE4 4B FF FB 05 */ bl sub_802dd988 +/* 802DDE88 002DADE8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802DDE8C 002DADEC 38 03 00 01 */ addi r0, r3, 1 +/* 802DDE90 002DADF0 90 1E 00 04 */ stw r0, 4(r30) +/* 802DDE94 002DADF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DDE98 002DADF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DDE9C 002DADFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DDEA0 002DAE00 7C 08 03 A6 */ mtlr r0 +/* 802DDEA4 002DAE04 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DDEA8 002DAE08 4E 80 00 20 */ blr + +.global "Get,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>__12CInputStreamFRC161TType,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>" +"Get,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>__12CInputStreamFRC161TType,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>": +/* 802DDEAC 002DAE0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DDEB0 002DAE10 7C 08 02 A6 */ mflr r0 +/* 802DDEB4 002DAE14 7C 85 23 78 */ mr r5, r4 +/* 802DDEB8 002DAE18 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DDEBC 002DAE1C 38 81 00 08 */ addi r4, r1, 8 +/* 802DDEC0 002DAE20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DDEC4 002DAE24 7C 7F 1B 78 */ mr r31, r3 +/* 802DDEC8 002DAE28 88 0D A6 DC */ lbz r0, lbl_805A929C@sda21(r13) +/* 802DDECC 002DAE2C 98 01 00 08 */ stb r0, 8(r1) +/* 802DDED0 002DAE30 48 00 00 19 */ bl "cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>__FRC161TType,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>R12CInputStream" +/* 802DDED4 002DAE34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DDED8 002DAE38 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DDEDC 002DAE3C 7C 08 03 A6 */ mtlr r0 +/* 802DDEE0 002DAE40 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DDEE4 002DAE44 4E 80 00 20 */ blr + +.global "cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>__FRC161TType,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>R12CInputStream" +"cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>__FRC161TType,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>>R12CInputStream": +/* 802DDEE8 002DAE48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DDEEC 002DAE4C 7C 08 02 A6 */ mflr r0 +/* 802DDEF0 002DAE50 7C A4 2B 78 */ mr r4, r5 +/* 802DDEF4 002DAE54 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DDEF8 002DAE58 48 00 00 15 */ bl "__ct__Q24rstl144pair,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>FR12CInputStream" +/* 802DDEFC 002DAE5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DDF00 002DAE60 7C 08 03 A6 */ mtlr r0 +/* 802DDF04 002DAE64 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DDF08 002DAE68 4E 80 00 20 */ blr + +.global "__ct__Q24rstl144pair,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>FR12CInputStream" +"__ct__Q24rstl144pair,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>FR12CInputStream": +/* 802DDF0C 002DAE6C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DDF10 002DAE70 7C 08 02 A6 */ mflr r0 +/* 802DDF14 002DAE74 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DDF18 002DAE78 38 A1 00 0C */ addi r5, r1, 0xc +/* 802DDF1C 002DAE7C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802DDF20 002DAE80 7C 9F 23 78 */ mr r31, r4 +/* 802DDF24 002DAE84 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802DDF28 002DAE88 7C 7E 1B 78 */ mr r30, r3 +/* 802DDF2C 002DAE8C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DDF30 002DAE90 88 0D A6 C0 */ lbz r0, lbl_805A9280@sda21(r13) +/* 802DDF34 002DAE94 98 01 00 0C */ stb r0, 0xc(r1) +/* 802DDF38 002DAE98 48 00 02 55 */ bl sub_802de18c +/* 802DDF3C 002DAE9C 7F C3 F3 78 */ mr r3, r30 +/* 802DDF40 002DAEA0 38 81 00 20 */ addi r4, r1, 0x20 +/* 802DDF44 002DAEA4 48 06 02 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DDF48 002DAEA8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DDF4C 002DAEAC 48 05 FB 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DDF50 002DAEB0 88 0D A6 E0 */ lbz r0, lbl_805A92A0@sda21(r13) +/* 802DDF54 002DAEB4 7F E4 FB 78 */ mr r4, r31 +/* 802DDF58 002DAEB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DDF5C 002DAEBC 38 A1 00 08 */ addi r5, r1, 8 +/* 802DDF60 002DAEC0 98 01 00 08 */ stb r0, 8(r1) +/* 802DDF64 002DAEC4 48 00 00 39 */ bl "Get>__12CInputStreamFRC69TType>" +/* 802DDF68 002DAEC8 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802DDF6C 002DAECC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DDF70 002DAED0 4B D4 CD 4D */ bl sub_8002acbc +/* 802DDF74 002DAED4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DDF78 002DAED8 38 80 FF FF */ li r4, -1 +/* 802DDF7C 002DAEDC 4B D4 CA F1 */ bl sub_8002aa6c +/* 802DDF80 002DAEE0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DDF84 002DAEE4 7F C3 F3 78 */ mr r3, r30 +/* 802DDF88 002DAEE8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802DDF8C 002DAEEC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802DDF90 002DAEF0 7C 08 03 A6 */ mtlr r0 +/* 802DDF94 002DAEF4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DDF98 002DAEF8 4E 80 00 20 */ blr + +.global "Get>__12CInputStreamFRC69TType>" +"Get>__12CInputStreamFRC69TType>": +/* 802DDF9C 002DAEFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DDFA0 002DAF00 7C 08 02 A6 */ mflr r0 +/* 802DDFA4 002DAF04 7C 85 23 78 */ mr r5, r4 +/* 802DDFA8 002DAF08 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DDFAC 002DAF0C 38 81 00 08 */ addi r4, r1, 8 +/* 802DDFB0 002DAF10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DDFB4 002DAF14 7C 7F 1B 78 */ mr r31, r3 +/* 802DDFB8 002DAF18 88 0D A6 E4 */ lbz r0, lbl_805A92A4@sda21(r13) +/* 802DDFBC 002DAF1C 98 01 00 08 */ stb r0, 8(r1) +/* 802DDFC0 002DAF20 48 00 00 19 */ bl "cinput_stream_helper>__FRC69TType>R12CInputStream" +/* 802DDFC4 002DAF24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DDFC8 002DAF28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DDFCC 002DAF2C 7C 08 03 A6 */ mtlr r0 +/* 802DDFD0 002DAF30 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DDFD4 002DAF34 4E 80 00 20 */ blr + +.global "cinput_stream_helper>__FRC69TType>R12CInputStream" +"cinput_stream_helper>__FRC69TType>R12CInputStream": +/* 802DDFD8 002DAF38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DDFDC 002DAF3C 7C 08 02 A6 */ mflr r0 +/* 802DDFE0 002DAF40 7C A4 2B 78 */ mr r4, r5 +/* 802DDFE4 002DAF44 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DDFE8 002DAF48 38 A1 00 08 */ addi r5, r1, 8 +/* 802DDFEC 002DAF4C 48 00 00 15 */ bl "__ct__Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802DDFF0 002DAF50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DDFF4 002DAF54 7C 08 03 A6 */ mtlr r0 +/* 802DDFF8 002DAF58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DDFFC 002DAF5C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802DE000 002DAF60 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802DE004 002DAF64 7C 08 02 A6 */ mflr r0 +/* 802DE008 002DAF68 90 01 00 64 */ stw r0, 0x64(r1) +/* 802DE00C 002DAF6C 38 00 00 00 */ li r0, 0 +/* 802DE010 002DAF70 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 802DE014 002DAF74 7C 7A 1B 78 */ mr r26, r3 +/* 802DE018 002DAF78 7C 9B 23 78 */ mr r27, r4 +/* 802DE01C 002DAF7C 90 03 00 04 */ stw r0, 4(r3) +/* 802DE020 002DAF80 7F 63 DB 78 */ mr r3, r27 +/* 802DE024 002DAF84 90 1A 00 08 */ stw r0, 8(r26) +/* 802DE028 002DAF88 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802DE02C 002DAF8C 48 06 0C 59 */ bl ReadLong__12CInputStreamFv +/* 802DE030 002DAF90 7C 7E 1B 78 */ mr r30, r3 +/* 802DE034 002DAF94 7F 43 D3 78 */ mr r3, r26 +/* 802DE038 002DAF98 7F C4 F3 78 */ mr r4, r30 +/* 802DE03C 002DAF9C 48 00 0D 05 */ bl "reserve__Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>Fi" +/* 802DE040 002DAFA0 3B A1 00 24 */ addi r29, r1, 0x24 +/* 802DE044 002DAFA4 3B E1 00 08 */ addi r31, r1, 8 +/* 802DE048 002DAFA8 3B 80 00 00 */ li r28, 0 +/* 802DE04C 002DAFAC 48 00 00 C0 */ b lbl_802DE10C +lbl_802DE050: +/* 802DE050 002DAFB0 88 0D A6 E8 */ lbz r0, lbl_805A92A8@sda21(r13) +/* 802DE054 002DAFB4 7F 64 DB 78 */ mr r4, r27 +/* 802DE058 002DAFB8 7F E5 FB 78 */ mr r5, r31 +/* 802DE05C 002DAFBC 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE060 002DAFC0 98 01 00 08 */ stb r0, 8(r1) +/* 802DE064 002DAFC4 48 00 00 C9 */ bl "Get<16CEffectComponent>__12CInputStreamFRC25TType<16CEffectComponent>" +/* 802DE068 002DAFC8 80 1A 00 04 */ lwz r0, 4(r26) +/* 802DE06C 002DAFCC 80 BA 00 08 */ lwz r5, 8(r26) +/* 802DE070 002DAFD0 7C 00 28 00 */ cmpw r0, r5 +/* 802DE074 002DAFD4 41 80 00 1C */ blt lbl_802DE090 +/* 802DE078 002DAFD8 2C 05 00 00 */ cmpwi r5, 0 +/* 802DE07C 002DAFDC 7F 43 D3 78 */ mr r3, r26 +/* 802DE080 002DAFE0 38 80 00 04 */ li r4, 4 +/* 802DE084 002DAFE4 41 82 00 08 */ beq lbl_802DE08C +/* 802DE088 002DAFE8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DE08C: +/* 802DE08C 002DAFEC 48 00 0C B5 */ bl "reserve__Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>Fi" +lbl_802DE090: +/* 802DE090 002DAFF0 80 1A 00 04 */ lwz r0, 4(r26) +/* 802DE094 002DAFF4 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802DE098 002DAFF8 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802DE09C 002DAFFC 7F 23 02 15 */ add. r25, r3, r0 +/* 802DE0A0 002DB000 41 82 00 44 */ beq lbl_802DE0E4 +/* 802DE0A4 002DB004 7F 23 CB 78 */ mr r3, r25 +/* 802DE0A8 002DB008 38 81 00 0C */ addi r4, r1, 0xc +/* 802DE0AC 002DB00C 48 06 00 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE0B0 002DB010 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802DE0B4 002DB014 7F A4 EB 78 */ mr r4, r29 +/* 802DE0B8 002DB018 38 79 00 18 */ addi r3, r25, 0x18 +/* 802DE0BC 002DB01C 90 19 00 10 */ stw r0, 0x10(r25) +/* 802DE0C0 002DB020 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802DE0C4 002DB024 90 19 00 14 */ stw r0, 0x14(r25) +/* 802DE0C8 002DB028 48 06 00 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE0CC 002DB02C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802DE0D0 002DB030 D0 19 00 28 */ stfs f0, 0x28(r25) +/* 802DE0D4 002DB034 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802DE0D8 002DB038 90 19 00 2C */ stw r0, 0x2c(r25) +/* 802DE0DC 002DB03C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802DE0E0 002DB040 90 19 00 30 */ stw r0, 0x30(r25) +lbl_802DE0E4: +/* 802DE0E4 002DB044 80 7A 00 04 */ lwz r3, 4(r26) +/* 802DE0E8 002DB048 28 1D 00 00 */ cmplwi r29, 0 +/* 802DE0EC 002DB04C 38 03 00 01 */ addi r0, r3, 1 +/* 802DE0F0 002DB050 90 1A 00 04 */ stw r0, 4(r26) +/* 802DE0F4 002DB054 41 82 00 0C */ beq lbl_802DE100 +/* 802DE0F8 002DB058 7F A3 EB 78 */ mr r3, r29 +/* 802DE0FC 002DB05C 48 05 F9 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DE100: +/* 802DE100 002DB060 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE104 002DB064 48 05 F9 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DE108 002DB068 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802DE10C: +/* 802DE10C 002DB06C 7C 1C F0 00 */ cmpw r28, r30 +/* 802DE110 002DB070 41 80 FF 40 */ blt lbl_802DE050 +/* 802DE114 002DB074 7F 43 D3 78 */ mr r3, r26 +/* 802DE118 002DB078 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 802DE11C 002DB07C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802DE120 002DB080 7C 08 03 A6 */ mtlr r0 +/* 802DE124 002DB084 38 21 00 60 */ addi r1, r1, 0x60 +/* 802DE128 002DB088 4E 80 00 20 */ blr + +.global "Get<16CEffectComponent>__12CInputStreamFRC25TType<16CEffectComponent>" +"Get<16CEffectComponent>__12CInputStreamFRC25TType<16CEffectComponent>": +/* 802DE12C 002DB08C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DE130 002DB090 7C 08 02 A6 */ mflr r0 +/* 802DE134 002DB094 7C 85 23 78 */ mr r5, r4 +/* 802DE138 002DB098 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DE13C 002DB09C 38 81 00 08 */ addi r4, r1, 8 +/* 802DE140 002DB0A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DE144 002DB0A4 7C 7F 1B 78 */ mr r31, r3 +/* 802DE148 002DB0A8 88 0D A6 EC */ lbz r0, lbl_805A92AC@sda21(r13) +/* 802DE14C 002DB0AC 98 01 00 08 */ stb r0, 8(r1) +/* 802DE150 002DB0B0 48 00 00 19 */ bl "cinput_stream_helper<16CEffectComponent>__FRC25TType<16CEffectComponent>R12CInputStream" +/* 802DE154 002DB0B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DE158 002DB0B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DE15C 002DB0BC 7C 08 03 A6 */ mtlr r0 +/* 802DE160 002DB0C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DE164 002DB0C4 4E 80 00 20 */ blr + +.global "cinput_stream_helper<16CEffectComponent>__FRC25TType<16CEffectComponent>R12CInputStream" +"cinput_stream_helper<16CEffectComponent>__FRC25TType<16CEffectComponent>R12CInputStream": +/* 802DE168 002DB0C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DE16C 002DB0CC 7C 08 02 A6 */ mflr r0 +/* 802DE170 002DB0D0 7C A4 2B 78 */ mr r4, r5 +/* 802DE174 002DB0D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DE178 002DB0D8 48 07 91 F9 */ bl __ct__16CEffectComponentFR12CInputStream +/* 802DE17C 002DB0DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DE180 002DB0E0 7C 08 03 A6 */ mtlr r0 +/* 802DE184 002DB0E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DE188 002DB0E8 4E 80 00 20 */ blr + +.global sub_802de18c +sub_802de18c: +/* 802DE18C 002DB0EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DE190 002DB0F0 7C 08 02 A6 */ mflr r0 +/* 802DE194 002DB0F4 7C 85 23 78 */ mr r5, r4 +/* 802DE198 002DB0F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DE19C 002DB0FC 38 81 00 08 */ addi r4, r1, 8 +/* 802DE1A0 002DB100 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DE1A4 002DB104 7C 7F 1B 78 */ mr r31, r3 +/* 802DE1A8 002DB108 88 0D A6 C4 */ lbz r0, lbl_805A9284@sda21(r13) +/* 802DE1AC 002DB10C 98 01 00 08 */ stb r0, 8(r1) +/* 802DE1B0 002DB110 4B D7 B3 49 */ bl sub_800594f8 +/* 802DE1B4 002DB114 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DE1B8 002DB118 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DE1BC 002DB11C 7C 08 03 A6 */ mtlr r0 +/* 802DE1C0 002DB120 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DE1C4 002DB124 4E 80 00 20 */ blr + +.global "__ct__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>FRCQ24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>FRCQ24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>": +/* 802DE1C8 002DB128 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DE1CC 002DB12C 7C 08 02 A6 */ mflr r0 +/* 802DE1D0 002DB130 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DE1D4 002DB134 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802DE1D8 002DB138 7C 7F 1B 78 */ mr r31, r3 +/* 802DE1DC 002DB13C 7C 9B 23 78 */ mr r27, r4 +/* 802DE1E0 002DB140 7C 1F D8 40 */ cmplw r31, r27 +/* 802DE1E4 002DB144 40 82 00 08 */ bne lbl_802DE1EC +/* 802DE1E8 002DB148 48 00 01 00 */ b lbl_802DE2E8 +lbl_802DE1EC: +/* 802DE1EC 002DB14C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802DE1F0 002DB150 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802DE1F4 002DB154 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802DE1F8 002DB158 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DE1FC 002DB15C 7F DD 02 14 */ add r30, r29, r0 +/* 802DE200 002DB160 93 A1 00 08 */ stw r29, 8(r1) +/* 802DE204 002DB164 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802DE208 002DB168 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802DE20C 002DB16C 48 00 00 1C */ b lbl_802DE228 +lbl_802DE210: +/* 802DE210 002DB170 28 1D 00 00 */ cmplwi r29, 0 +/* 802DE214 002DB174 41 82 00 10 */ beq lbl_802DE224 +/* 802DE218 002DB178 41 82 00 0C */ beq lbl_802DE224 +/* 802DE21C 002DB17C 7F A3 EB 78 */ mr r3, r29 +/* 802DE220 002DB180 48 05 F8 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DE224: +/* 802DE224 002DB184 3B BD 00 28 */ addi r29, r29, 0x28 +lbl_802DE228: +/* 802DE228 002DB188 7C 1D F0 40 */ cmplw r29, r30 +/* 802DE22C 002DB18C 40 82 FF E4 */ bne lbl_802DE210 +/* 802DE230 002DB190 38 00 00 00 */ li r0, 0 +/* 802DE234 002DB194 90 1F 00 04 */ stw r0, 4(r31) +/* 802DE238 002DB198 80 9B 00 04 */ lwz r4, 4(r27) +/* 802DE23C 002DB19C 2C 04 00 00 */ cmpwi r4, 0 +/* 802DE240 002DB1A0 40 82 00 28 */ bne lbl_802DE268 +/* 802DE244 002DB1A4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802DE248 002DB1A8 28 03 00 00 */ cmplwi r3, 0 +/* 802DE24C 002DB1AC 41 82 00 08 */ beq lbl_802DE254 +/* 802DE250 002DB1B0 48 03 76 E1 */ bl Free__7CMemoryFPCv +lbl_802DE254: +/* 802DE254 002DB1B4 38 00 00 00 */ li r0, 0 +/* 802DE258 002DB1B8 90 1F 00 04 */ stw r0, 4(r31) +/* 802DE25C 002DB1BC 90 1F 00 08 */ stw r0, 8(r31) +/* 802DE260 002DB1C0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802DE264 002DB1C4 48 00 00 80 */ b lbl_802DE2E4 +lbl_802DE268: +/* 802DE268 002DB1C8 7F E3 FB 78 */ mr r3, r31 +/* 802DE26C 002DB1CC 48 00 0D 3D */ bl "reserve__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fi" +/* 802DE270 002DB1D0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802DE274 002DB1D4 83 9B 00 0C */ lwz r28, 0xc(r27) +/* 802DE278 002DB1D8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802DE27C 002DB1DC 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 802DE280 002DB1E0 7F BC 02 14 */ add r29, r28, r0 +/* 802DE284 002DB1E4 48 00 00 50 */ b lbl_802DE2D4 +lbl_802DE288: +/* 802DE288 002DB1E8 28 1E 00 00 */ cmplwi r30, 0 +/* 802DE28C 002DB1EC 41 82 00 40 */ beq lbl_802DE2CC +/* 802DE290 002DB1F0 7F C3 F3 78 */ mr r3, r30 +/* 802DE294 002DB1F4 7F 84 E3 78 */ mr r4, r28 +/* 802DE298 002DB1F8 48 05 FE C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE29C 002DB1FC C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 802DE2A0 002DB200 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802DE2A4 002DB204 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 802DE2A8 002DB208 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802DE2AC 002DB20C C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 802DE2B0 002DB210 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802DE2B4 002DB214 C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 802DE2B8 002DB218 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DE2BC 002DB21C C0 1C 00 20 */ lfs f0, 0x20(r28) +/* 802DE2C0 002DB220 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802DE2C4 002DB224 C0 1C 00 24 */ lfs f0, 0x24(r28) +/* 802DE2C8 002DB228 D0 1E 00 24 */ stfs f0, 0x24(r30) +lbl_802DE2CC: +/* 802DE2CC 002DB22C 3B DE 00 28 */ addi r30, r30, 0x28 +/* 802DE2D0 002DB230 3B 9C 00 28 */ addi r28, r28, 0x28 +lbl_802DE2D4: +/* 802DE2D4 002DB234 7C 1C E8 40 */ cmplw r28, r29 +/* 802DE2D8 002DB238 40 82 FF B0 */ bne lbl_802DE288 +/* 802DE2DC 002DB23C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802DE2E0 002DB240 90 1F 00 04 */ stw r0, 4(r31) +lbl_802DE2E4: +/* 802DE2E4 002DB244 7F E3 FB 78 */ mr r3, r31 +lbl_802DE2E8: +/* 802DE2E8 002DB248 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802DE2EC 002DB24C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DE2F0 002DB250 7C 08 03 A6 */ mtlr r0 +/* 802DE2F4 002DB254 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DE2F8 002DB258 4E 80 00 20 */ blr + +.global "Get,Q24rstl17rmemory_allocator>,6CAABox>>__12CInputStreamFRC105TType,Q24rstl17rmemory_allocator>,6CAABox>>" +"Get,Q24rstl17rmemory_allocator>,6CAABox>>__12CInputStreamFRC105TType,Q24rstl17rmemory_allocator>,6CAABox>>": +/* 802DE2FC 002DB25C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802DE300 002DB260 7C 08 02 A6 */ mflr r0 +/* 802DE304 002DB264 90 01 00 54 */ stw r0, 0x54(r1) +/* 802DE308 002DB268 38 00 00 00 */ li r0, 0 +/* 802DE30C 002DB26C BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802DE310 002DB270 7C 7A 1B 78 */ mr r26, r3 +/* 802DE314 002DB274 7C 9B 23 78 */ mr r27, r4 +/* 802DE318 002DB278 90 03 00 04 */ stw r0, 4(r3) +/* 802DE31C 002DB27C 7F 63 DB 78 */ mr r3, r27 +/* 802DE320 002DB280 90 1A 00 08 */ stw r0, 8(r26) +/* 802DE324 002DB284 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802DE328 002DB288 48 06 09 5D */ bl ReadLong__12CInputStreamFv +/* 802DE32C 002DB28C 7C 7D 1B 78 */ mr r29, r3 +/* 802DE330 002DB290 7F 43 D3 78 */ mr r3, r26 +/* 802DE334 002DB294 7F A4 EB 78 */ mr r4, r29 +/* 802DE338 002DB298 48 00 0C 71 */ bl "reserve__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fi" +/* 802DE33C 002DB29C 3B E1 00 08 */ addi r31, r1, 8 +/* 802DE340 002DB2A0 3B 80 00 00 */ li r28, 0 +/* 802DE344 002DB2A4 48 00 00 AC */ b lbl_802DE3F0 +lbl_802DE348: +/* 802DE348 002DB2A8 88 0D A6 D0 */ lbz r0, lbl_805A9290@sda21(r13) +/* 802DE34C 002DB2AC 7F 64 DB 78 */ mr r4, r27 +/* 802DE350 002DB2B0 7F E5 FB 78 */ mr r5, r31 +/* 802DE354 002DB2B4 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE358 002DB2B8 98 01 00 08 */ stb r0, 8(r1) +/* 802DE35C 002DB2BC 48 00 00 B5 */ bl "cinput_stream_helper,Q24rstl17rmemory_allocator>,6CAABox>>__FRC105TType,Q24rstl17rmemory_allocator>,6CAABox>>R12CInputStream" +/* 802DE360 002DB2C0 80 1A 00 04 */ lwz r0, 4(r26) +/* 802DE364 002DB2C4 80 BA 00 08 */ lwz r5, 8(r26) +/* 802DE368 002DB2C8 7C 00 28 00 */ cmpw r0, r5 +/* 802DE36C 002DB2CC 41 80 00 1C */ blt lbl_802DE388 +/* 802DE370 002DB2D0 2C 05 00 00 */ cmpwi r5, 0 +/* 802DE374 002DB2D4 7F 43 D3 78 */ mr r3, r26 +/* 802DE378 002DB2D8 38 80 00 04 */ li r4, 4 +/* 802DE37C 002DB2DC 41 82 00 08 */ beq lbl_802DE384 +/* 802DE380 002DB2E0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DE384: +/* 802DE384 002DB2E4 48 00 0C 25 */ bl "reserve__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fi" +lbl_802DE388: +/* 802DE388 002DB2E8 80 1A 00 04 */ lwz r0, 4(r26) +/* 802DE38C 002DB2EC 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802DE390 002DB2F0 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802DE394 002DB2F4 7F C3 02 15 */ add. r30, r3, r0 +/* 802DE398 002DB2F8 41 82 00 40 */ beq lbl_802DE3D8 +/* 802DE39C 002DB2FC 7F C3 F3 78 */ mr r3, r30 +/* 802DE3A0 002DB300 38 81 00 0C */ addi r4, r1, 0xc +/* 802DE3A4 002DB304 48 05 FD BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE3A8 002DB308 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802DE3AC 002DB30C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802DE3B0 002DB310 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802DE3B4 002DB314 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802DE3B8 002DB318 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802DE3BC 002DB31C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802DE3C0 002DB320 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802DE3C4 002DB324 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DE3C8 002DB328 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802DE3CC 002DB32C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802DE3D0 002DB330 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802DE3D4 002DB334 D0 1E 00 24 */ stfs f0, 0x24(r30) +lbl_802DE3D8: +/* 802DE3D8 002DB338 80 9A 00 04 */ lwz r4, 4(r26) +/* 802DE3DC 002DB33C 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE3E0 002DB340 38 04 00 01 */ addi r0, r4, 1 +/* 802DE3E4 002DB344 90 1A 00 04 */ stw r0, 4(r26) +/* 802DE3E8 002DB348 48 05 F6 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DE3EC 002DB34C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802DE3F0: +/* 802DE3F0 002DB350 7C 1C E8 00 */ cmpw r28, r29 +/* 802DE3F4 002DB354 41 80 FF 54 */ blt lbl_802DE348 +/* 802DE3F8 002DB358 7F 43 D3 78 */ mr r3, r26 +/* 802DE3FC 002DB35C BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802DE400 002DB360 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802DE404 002DB364 7C 08 03 A6 */ mtlr r0 +/* 802DE408 002DB368 38 21 00 50 */ addi r1, r1, 0x50 +/* 802DE40C 002DB36C 4E 80 00 20 */ blr + +.global "cinput_stream_helper,Q24rstl17rmemory_allocator>,6CAABox>>__FRC105TType,Q24rstl17rmemory_allocator>,6CAABox>>R12CInputStream" +"cinput_stream_helper,Q24rstl17rmemory_allocator>,6CAABox>>__FRC105TType,Q24rstl17rmemory_allocator>,6CAABox>>R12CInputStream": +/* 802DE410 002DB370 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DE414 002DB374 7C 08 02 A6 */ mflr r0 +/* 802DE418 002DB378 7C 85 23 78 */ mr r5, r4 +/* 802DE41C 002DB37C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DE420 002DB380 38 81 00 08 */ addi r4, r1, 8 +/* 802DE424 002DB384 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DE428 002DB388 7C 7F 1B 78 */ mr r31, r3 +/* 802DE42C 002DB38C 88 0D A6 D4 */ lbz r0, lbl_805A9294@sda21(r13) +/* 802DE430 002DB390 98 01 00 08 */ stb r0, 8(r1) +/* 802DE434 002DB394 48 00 00 19 */ bl "__ct__Q24rstl89pair,Q24rstl17rmemory_allocator>,6CAABox>FR12CInputStream" +/* 802DE438 002DB398 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DE43C 002DB39C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DE440 002DB3A0 7C 08 03 A6 */ mtlr r0 +/* 802DE444 002DB3A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DE448 002DB3A8 4E 80 00 20 */ blr + +.global "__ct__Q24rstl89pair,Q24rstl17rmemory_allocator>,6CAABox>FR12CInputStream" +"__ct__Q24rstl89pair,Q24rstl17rmemory_allocator>,6CAABox>FR12CInputStream": +/* 802DE44C 002DB3AC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DE450 002DB3B0 7C 08 02 A6 */ mflr r0 +/* 802DE454 002DB3B4 7C 64 1B 78 */ mr r4, r3 +/* 802DE458 002DB3B8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DE45C 002DB3BC 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE460 002DB3C0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802DE464 002DB3C4 7C BF 2B 78 */ mr r31, r5 +/* 802DE468 002DB3C8 38 A1 00 08 */ addi r5, r1, 8 +/* 802DE46C 002DB3CC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802DE470 002DB3D0 7C 9E 23 78 */ mr r30, r4 +/* 802DE474 002DB3D4 7F E4 FB 78 */ mr r4, r31 +/* 802DE478 002DB3D8 88 0D A6 C0 */ lbz r0, lbl_805A9280@sda21(r13) +/* 802DE47C 002DB3DC 98 01 00 08 */ stb r0, 8(r1) +/* 802DE480 002DB3E0 4B FF FD 0D */ bl sub_802de18c +/* 802DE484 002DB3E4 7F C3 F3 78 */ mr r3, r30 +/* 802DE488 002DB3E8 38 81 00 0C */ addi r4, r1, 0xc +/* 802DE48C 002DB3EC 48 05 FC D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE490 002DB3F0 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE494 002DB3F4 48 05 F6 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DE498 002DB3F8 7F E4 FB 78 */ mr r4, r31 +/* 802DE49C 002DB3FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 802DE4A0 002DB400 48 05 A0 9D */ bl __ct__6CAABoxFR12CInputStream +/* 802DE4A4 002DB404 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802DE4A8 002DB408 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802DE4AC 002DB40C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802DE4B0 002DB410 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802DE4B4 002DB414 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802DE4B8 002DB418 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802DE4BC 002DB41C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802DE4C0 002DB420 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802DE4C4 002DB424 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802DE4C8 002DB428 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802DE4CC 002DB42C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802DE4D0 002DB430 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 802DE4D4 002DB434 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DE4D8 002DB438 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802DE4DC 002DB43C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802DE4E0 002DB440 7C 08 03 A6 */ mtlr r0 +/* 802DE4E4 002DB444 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DE4E8 002DB448 4E 80 00 20 */ blr + +.global "Get<12CPASDatabase>__12CInputStreamFRC21TType<12CPASDatabase>" +"Get<12CPASDatabase>__12CInputStreamFRC21TType<12CPASDatabase>": +/* 802DE4EC 002DB44C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DE4F0 002DB450 7C 08 02 A6 */ mflr r0 +/* 802DE4F4 002DB454 7C 85 23 78 */ mr r5, r4 +/* 802DE4F8 002DB458 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DE4FC 002DB45C 38 81 00 08 */ addi r4, r1, 8 +/* 802DE500 002DB460 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DE504 002DB464 7C 7F 1B 78 */ mr r31, r3 +/* 802DE508 002DB468 88 0D A6 CC */ lbz r0, lbl_805A928C@sda21(r13) +/* 802DE50C 002DB46C 98 01 00 08 */ stb r0, 8(r1) +/* 802DE510 002DB470 48 00 00 19 */ bl "cinput_stream_helper<12CPASDatabase>__FRC21TType<12CPASDatabase>R12CInputStream" +/* 802DE514 002DB474 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DE518 002DB478 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DE51C 002DB47C 7C 08 03 A6 */ mtlr r0 +/* 802DE520 002DB480 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DE524 002DB484 4E 80 00 20 */ blr + +.global "cinput_stream_helper<12CPASDatabase>__FRC21TType<12CPASDatabase>R12CInputStream" +"cinput_stream_helper<12CPASDatabase>__FRC21TType<12CPASDatabase>R12CInputStream": +/* 802DE528 002DB488 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DE52C 002DB48C 7C 08 02 A6 */ mflr r0 +/* 802DE530 002DB490 7C A4 2B 78 */ mr r4, r5 +/* 802DE534 002DB494 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DE538 002DB498 48 00 6D 49 */ bl __ct__12CPASDatabaseFR12CInputStream +/* 802DE53C 002DB49C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DE540 002DB4A0 7C 08 03 A6 */ mtlr r0 +/* 802DE544 002DB4A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DE548 002DB4A8 4E 80 00 20 */ blr + +.global "_ct__Q24rstl220vector,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"_ct__Q24rstl220vector,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802DE54C 002DB4AC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802DE550 002DB4B0 7C 08 02 A6 */ mflr r0 +/* 802DE554 002DB4B4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802DE558 002DB4B8 38 00 00 00 */ li r0, 0 +/* 802DE55C 002DB4BC BF 01 00 30 */ stmw r24, 0x30(r1) +/* 802DE560 002DB4C0 7C 7D 1B 78 */ mr r29, r3 +/* 802DE564 002DB4C4 7C 9E 23 78 */ mr r30, r4 +/* 802DE568 002DB4C8 90 03 00 04 */ stw r0, 4(r3) +/* 802DE56C 002DB4CC 7F C3 F3 78 */ mr r3, r30 +/* 802DE570 002DB4D0 90 1D 00 08 */ stw r0, 8(r29) +/* 802DE574 002DB4D4 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802DE578 002DB4D8 48 06 07 0D */ bl ReadLong__12CInputStreamFv +/* 802DE57C 002DB4DC 7C 7B 1B 78 */ mr r27, r3 +/* 802DE580 002DB4E0 7F A3 EB 78 */ mr r3, r29 +/* 802DE584 002DB4E4 7F 64 DB 78 */ mr r4, r27 +/* 802DE588 002DB4E8 48 00 08 F9 */ bl "reserve__Q24rstl220vector,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>,Q24rstl17rmemory_allocator>Fi" +/* 802DE58C 002DB4EC 3B 21 00 10 */ addi r25, r1, 0x10 +/* 802DE590 002DB4F0 3B 81 00 08 */ addi r28, r1, 8 +/* 802DE594 002DB4F4 3B E0 00 00 */ li r31, 0 +/* 802DE598 002DB4F8 3B 59 00 10 */ addi r26, r25, 0x10 +/* 802DE59C 002DB4FC 48 00 00 B4 */ b lbl_802DE650 +lbl_802DE5A0: +/* 802DE5A0 002DB500 88 0D A6 B0 */ lbz r0, lbl_805A9270@sda21(r13) +/* 802DE5A4 002DB504 7F C4 F3 78 */ mr r4, r30 +/* 802DE5A8 002DB508 7F 85 E3 78 */ mr r5, r28 +/* 802DE5AC 002DB50C 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE5B0 002DB510 98 01 00 08 */ stb r0, 8(r1) +/* 802DE5B4 002DB514 48 00 00 BD */ bl "Get,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>__12CInputStreamFRC192TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>" +/* 802DE5B8 002DB518 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DE5BC 002DB51C 80 BD 00 08 */ lwz r5, 8(r29) +/* 802DE5C0 002DB520 7C 00 28 00 */ cmpw r0, r5 +/* 802DE5C4 002DB524 41 80 00 1C */ blt lbl_802DE5E0 +/* 802DE5C8 002DB528 2C 05 00 00 */ cmpwi r5, 0 +/* 802DE5CC 002DB52C 7F A3 EB 78 */ mr r3, r29 +/* 802DE5D0 002DB530 38 80 00 04 */ li r4, 4 +/* 802DE5D4 002DB534 41 82 00 08 */ beq lbl_802DE5DC +/* 802DE5D8 002DB538 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DE5DC: +/* 802DE5DC 002DB53C 48 00 08 A5 */ bl "reserve__Q24rstl220vector,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>,Q24rstl17rmemory_allocator>Fi" +lbl_802DE5E0: +/* 802DE5E0 002DB540 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DE5E4 002DB544 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DE5E8 002DB548 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802DE5EC 002DB54C 7C A3 02 15 */ add. r5, r3, r0 +/* 802DE5F0 002DB550 41 82 00 28 */ beq lbl_802DE618 +/* 802DE5F4 002DB554 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DE5F8 002DB558 3B 05 00 04 */ addi r24, r5, 4 +/* 802DE5FC 002DB55C 7F 03 C3 78 */ mr r3, r24 +/* 802DE600 002DB560 7F 24 CB 78 */ mr r4, r25 +/* 802DE604 002DB564 90 05 00 00 */ stw r0, 0(r5) +/* 802DE608 002DB568 48 05 FB 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE60C 002DB56C 7F 44 D3 78 */ mr r4, r26 +/* 802DE610 002DB570 38 78 00 10 */ addi r3, r24, 0x10 +/* 802DE614 002DB574 48 05 FB 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802DE618: +/* 802DE618 002DB578 80 7D 00 04 */ lwz r3, 4(r29) +/* 802DE61C 002DB57C 28 19 00 00 */ cmplwi r25, 0 +/* 802DE620 002DB580 38 03 00 01 */ addi r0, r3, 1 +/* 802DE624 002DB584 90 1D 00 04 */ stw r0, 4(r29) +/* 802DE628 002DB588 41 82 00 24 */ beq lbl_802DE64C +/* 802DE62C 002DB58C 28 1A 00 00 */ cmplwi r26, 0 +/* 802DE630 002DB590 41 82 00 0C */ beq lbl_802DE63C +/* 802DE634 002DB594 7F 43 D3 78 */ mr r3, r26 +/* 802DE638 002DB598 48 05 F4 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DE63C: +/* 802DE63C 002DB59C 28 19 00 00 */ cmplwi r25, 0 +/* 802DE640 002DB5A0 41 82 00 0C */ beq lbl_802DE64C +/* 802DE644 002DB5A4 7F 23 CB 78 */ mr r3, r25 +/* 802DE648 002DB5A8 48 05 F4 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DE64C: +/* 802DE64C 002DB5AC 3B FF 00 01 */ addi r31, r31, 1 +lbl_802DE650: +/* 802DE650 002DB5B0 7C 1F D8 00 */ cmpw r31, r27 +/* 802DE654 002DB5B4 41 80 FF 4C */ blt lbl_802DE5A0 +/* 802DE658 002DB5B8 7F A3 EB 78 */ mr r3, r29 +/* 802DE65C 002DB5BC BB 01 00 30 */ lmw r24, 0x30(r1) +/* 802DE660 002DB5C0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802DE664 002DB5C4 7C 08 03 A6 */ mtlr r0 +/* 802DE668 002DB5C8 38 21 00 50 */ addi r1, r1, 0x50 +/* 802DE66C 002DB5CC 4E 80 00 20 */ blr + +.global "Get,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>__12CInputStreamFRC192TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>" +"Get,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>__12CInputStreamFRC192TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>": +/* 802DE670 002DB5D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DE674 002DB5D4 7C 08 02 A6 */ mflr r0 +/* 802DE678 002DB5D8 7C 85 23 78 */ mr r5, r4 +/* 802DE67C 002DB5DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DE680 002DB5E0 38 81 00 08 */ addi r4, r1, 8 +/* 802DE684 002DB5E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DE688 002DB5E8 7C 7F 1B 78 */ mr r31, r3 +/* 802DE68C 002DB5EC 88 0D A6 B4 */ lbz r0, lbl_805A9274@sda21(r13) +/* 802DE690 002DB5F0 98 01 00 08 */ stb r0, 8(r1) +/* 802DE694 002DB5F4 48 00 00 19 */ bl "cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>__FRC192TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>R12CInputStream" +/* 802DE698 002DB5F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DE69C 002DB5FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DE6A0 002DB600 7C 08 03 A6 */ mtlr r0 +/* 802DE6A4 002DB604 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DE6A8 002DB608 4E 80 00 20 */ blr + +.global "cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>__FRC192TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>R12CInputStream" +"cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>__FRC192TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>>R12CInputStream": +/* 802DE6AC 002DB60C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DE6B0 002DB610 7C 08 02 A6 */ mflr r0 +/* 802DE6B4 002DB614 7C A4 2B 78 */ mr r4, r5 +/* 802DE6B8 002DB618 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DE6BC 002DB61C 48 00 00 15 */ bl "__ct__Q24rstl175pair,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>FR12CInputStream" +/* 802DE6C0 002DB620 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DE6C4 002DB624 7C 08 03 A6 */ mtlr r0 +/* 802DE6C8 002DB628 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DE6CC 002DB62C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl175pair,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>FR12CInputStream" +"__ct__Q24rstl175pair,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>FR12CInputStream": +/* 802DE6D0 002DB630 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DE6D4 002DB634 7C 08 02 A6 */ mflr r0 +/* 802DE6D8 002DB638 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DE6DC 002DB63C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802DE6E0 002DB640 7C 9F 23 78 */ mr r31, r4 +/* 802DE6E4 002DB644 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802DE6E8 002DB648 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802DE6EC 002DB64C 7C 7D 1B 78 */ mr r29, r3 +/* 802DE6F0 002DB650 7F E3 FB 78 */ mr r3, r31 +/* 802DE6F4 002DB654 48 06 05 91 */ bl ReadLong__12CInputStreamFv +/* 802DE6F8 002DB658 90 7D 00 00 */ stw r3, 0(r29) +/* 802DE6FC 002DB65C 7F E4 FB 78 */ mr r4, r31 +/* 802DE700 002DB660 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE704 002DB664 38 A1 00 08 */ addi r5, r1, 8 +/* 802DE708 002DB668 88 0D A6 B8 */ lbz r0, lbl_805A9278@sda21(r13) +/* 802DE70C 002DB66C 98 01 00 08 */ stb r0, 8(r1) +/* 802DE710 002DB670 48 00 00 5D */ bl "Get,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>__12CInputStreamFRC174TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>" +/* 802DE714 002DB674 3B DD 00 04 */ addi r30, r29, 4 +/* 802DE718 002DB678 38 81 00 0C */ addi r4, r1, 0xc +/* 802DE71C 002DB67C 7F C3 F3 78 */ mr r3, r30 +/* 802DE720 002DB680 48 05 FA 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE724 002DB684 3B E1 00 1C */ addi r31, r1, 0x1c +/* 802DE728 002DB688 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802DE72C 002DB68C 7F E4 FB 78 */ mr r4, r31 +/* 802DE730 002DB690 48 05 FA 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE734 002DB694 28 1F 00 00 */ cmplwi r31, 0 +/* 802DE738 002DB698 41 82 00 0C */ beq lbl_802DE744 +/* 802DE73C 002DB69C 7F E3 FB 78 */ mr r3, r31 +/* 802DE740 002DB6A0 48 05 F3 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DE744: +/* 802DE744 002DB6A4 38 61 00 0C */ addi r3, r1, 0xc +/* 802DE748 002DB6A8 48 05 F3 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DE74C 002DB6AC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DE750 002DB6B0 7F A3 EB 78 */ mr r3, r29 +/* 802DE754 002DB6B4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802DE758 002DB6B8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802DE75C 002DB6BC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802DE760 002DB6C0 7C 08 03 A6 */ mtlr r0 +/* 802DE764 002DB6C4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DE768 002DB6C8 4E 80 00 20 */ blr + +.global "Get,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>__12CInputStreamFRC174TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>" +"Get,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>__12CInputStreamFRC174TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>": +/* 802DE76C 002DB6CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DE770 002DB6D0 7C 08 02 A6 */ mflr r0 +/* 802DE774 002DB6D4 7C 85 23 78 */ mr r5, r4 +/* 802DE778 002DB6D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DE77C 002DB6DC 38 81 00 08 */ addi r4, r1, 8 +/* 802DE780 002DB6E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DE784 002DB6E4 7C 7F 1B 78 */ mr r31, r3 +/* 802DE788 002DB6E8 88 0D A6 BC */ lbz r0, lbl_805A927C@sda21(r13) +/* 802DE78C 002DB6EC 98 01 00 08 */ stb r0, 8(r1) +/* 802DE790 002DB6F0 48 00 00 19 */ bl "cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>__FRC174TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>R12CInputStream" +/* 802DE794 002DB6F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DE798 002DB6F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DE79C 002DB6FC 7C 08 03 A6 */ mtlr r0 +/* 802DE7A0 002DB700 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DE7A4 002DB704 4E 80 00 20 */ blr + +.global "cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>__FRC174TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>R12CInputStream" +"cinput_stream_helper,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>__FRC174TType,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>R12CInputStream": +/* 802DE7A8 002DB708 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DE7AC 002DB70C 7C 08 02 A6 */ mflr r0 +/* 802DE7B0 002DB710 7C 64 1B 78 */ mr r4, r3 +/* 802DE7B4 002DB714 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DE7B8 002DB718 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DE7BC 002DB71C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802DE7C0 002DB720 7C BF 2B 78 */ mr r31, r5 +/* 802DE7C4 002DB724 38 A1 00 08 */ addi r5, r1, 8 +/* 802DE7C8 002DB728 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802DE7CC 002DB72C 7C 9E 23 78 */ mr r30, r4 +/* 802DE7D0 002DB730 7F E4 FB 78 */ mr r4, r31 +/* 802DE7D4 002DB734 88 0D A6 C0 */ lbz r0, lbl_805A9280@sda21(r13) +/* 802DE7D8 002DB738 98 01 00 08 */ stb r0, 8(r1) +/* 802DE7DC 002DB73C 4B FF F9 B1 */ bl sub_802de18c +/* 802DE7E0 002DB740 7F C3 F3 78 */ mr r3, r30 +/* 802DE7E4 002DB744 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DE7E8 002DB748 48 05 F9 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE7EC 002DB74C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DE7F0 002DB750 48 05 F2 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DE7F4 002DB754 88 0D A6 C0 */ lbz r0, lbl_805A9280@sda21(r13) +/* 802DE7F8 002DB758 7F E4 FB 78 */ mr r4, r31 +/* 802DE7FC 002DB75C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DE800 002DB760 38 A1 00 0C */ addi r5, r1, 0xc +/* 802DE804 002DB764 98 01 00 0C */ stb r0, 0xc(r1) +/* 802DE808 002DB768 4B FF F9 85 */ bl sub_802de18c +/* 802DE80C 002DB76C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802DE810 002DB770 38 81 00 20 */ addi r4, r1, 0x20 +/* 802DE814 002DB774 48 05 F9 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DE818 002DB778 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DE81C 002DB77C 48 05 F2 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802DE820 002DB780 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DE824 002DB784 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802DE828 002DB788 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802DE82C 002DB78C 7C 08 03 A6 */ mtlr r0 +/* 802DE830 002DB790 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DE834 002DB794 4E 80 00 20 */ blr + +.global sub_802de838 +sub_802de838: +/* 802DE838 002DB798 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DE83C 002DB79C 7C 08 02 A6 */ mflr r0 +/* 802DE840 002DB7A0 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DE844 002DB7A4 38 00 00 00 */ li r0, 0 +/* 802DE848 002DB7A8 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 802DE84C 002DB7AC 7C 9B 23 78 */ mr r27, r4 +/* 802DE850 002DB7B0 7C 7F 1B 78 */ mr r31, r3 +/* 802DE854 002DB7B4 7C BC 2B 78 */ mr r28, r5 +/* 802DE858 002DB7B8 38 81 00 18 */ addi r4, r1, 0x18 +/* 802DE85C 002DB7BC 90 03 00 04 */ stw r0, 4(r3) +/* 802DE860 002DB7C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802DE864 002DB7C4 90 1F 00 08 */ stw r0, 8(r31) +/* 802DE868 002DB7C8 80 E5 00 00 */ lwz r7, 0(r5) +/* 802DE86C 002DB7CC 80 C5 00 04 */ lwz r6, 4(r5) +/* 802DE870 002DB7D0 80 BB 00 00 */ lwz r5, 0(r27) +/* 802DE874 002DB7D4 80 1B 00 04 */ lwz r0, 4(r27) +/* 802DE878 002DB7D8 90 E1 00 18 */ stw r7, 0x18(r1) +/* 802DE87C 002DB7DC 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 802DE880 002DB7E0 90 A1 00 20 */ stw r5, 0x20(r1) +/* 802DE884 002DB7E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DE888 002DB7E8 48 00 03 DD */ bl "distance,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator" +/* 802DE88C 002DB7EC 90 7F 00 08 */ stw r3, 8(r31) +/* 802DE890 002DB7F0 90 7F 00 04 */ stw r3, 4(r31) +/* 802DE894 002DB7F4 80 1F 00 04 */ lwz r0, 4(r31) +/* 802DE898 002DB7F8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802DE89C 002DB7FC 40 82 00 10 */ bne lbl_802DE8AC +/* 802DE8A0 002DB800 38 00 00 00 */ li r0, 0 +/* 802DE8A4 002DB804 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802DE8A8 002DB808 48 00 00 18 */ b lbl_802DE8C0 +lbl_802DE8AC: +/* 802DE8AC 002DB80C 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DE8B0 002DB810 38 A0 00 00 */ li r5, 0 +/* 802DE8B4 002DB814 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DE8B8 002DB818 48 03 6F 61 */ bl __nwa__FUlPCcPCc +/* 802DE8BC 002DB81C 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802DE8C0: +/* 802DE8C0 002DB820 80 9B 00 00 */ lwz r4, 0(r27) +/* 802DE8C4 002DB824 83 7B 00 04 */ lwz r27, 4(r27) +/* 802DE8C8 002DB828 83 BC 00 00 */ lwz r29, 0(r28) +/* 802DE8CC 002DB82C 83 DC 00 04 */ lwz r30, 4(r28) +/* 802DE8D0 002DB830 93 A1 00 08 */ stw r29, 8(r1) +/* 802DE8D4 002DB834 83 9F 00 0C */ lwz r28, 0xc(r31) +/* 802DE8D8 002DB838 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802DE8DC 002DB83C 90 81 00 10 */ stw r4, 0x10(r1) +/* 802DE8E0 002DB840 93 61 00 14 */ stw r27, 0x14(r1) +/* 802DE8E4 002DB844 48 00 00 24 */ b lbl_802DE908 +lbl_802DE8E8: +/* 802DE8E8 002DB848 28 1C 00 00 */ cmplwi r28, 0 +/* 802DE8EC 002DB84C 41 82 00 0C */ beq lbl_802DE8F8 +/* 802DE8F0 002DB850 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802DE8F4 002DB854 90 1C 00 00 */ stw r0, 0(r28) +lbl_802DE8F8: +/* 802DE8F8 002DB858 7F 63 DB 78 */ mr r3, r27 +/* 802DE8FC 002DB85C 3B 9C 00 04 */ addi r28, r28, 4 +/* 802DE900 002DB860 48 05 DC E1 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 802DE904 002DB864 7C 64 1B 78 */ mr r4, r3 +lbl_802DE908: +/* 802DE908 002DB868 7C 04 E8 40 */ cmplw r4, r29 +/* 802DE90C 002DB86C 38 00 00 00 */ li r0, 0 +/* 802DE910 002DB870 40 82 00 0C */ bne lbl_802DE91C +/* 802DE914 002DB874 7C 1B F0 40 */ cmplw r27, r30 +/* 802DE918 002DB878 41 82 00 08 */ beq lbl_802DE920 +lbl_802DE91C: +/* 802DE91C 002DB87C 38 00 00 01 */ li r0, 1 +lbl_802DE920: +/* 802DE920 002DB880 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802DE924 002DB884 40 82 FF C4 */ bne lbl_802DE8E8 +/* 802DE928 002DB888 7F E3 FB 78 */ mr r3, r31 +/* 802DE92C 002DB88C BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802DE930 002DB890 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DE934 002DB894 7C 08 03 A6 */ mtlr r0 +/* 802DE938 002DB898 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DE93C 002DB89C 4E 80 00 20 */ blr + +.global __ct__Q214CCharacterInfo16CParticleResDataFR12CInputStreamUs +__ct__Q214CCharacterInfo16CParticleResDataFR12CInputStreamUs: +/* 802DE940 002DB8A0 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802DE944 002DB8A4 7C 08 02 A6 */ mflr r0 +/* 802DE948 002DB8A8 90 01 00 94 */ stw r0, 0x94(r1) +/* 802DE94C 002DB8AC 38 00 00 00 */ li r0, 0 +/* 802DE950 002DB8B0 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 802DE954 002DB8B4 7C 7D 1B 78 */ mr r29, r3 +/* 802DE958 002DB8B8 7C 9E 23 78 */ mr r30, r4 +/* 802DE95C 002DB8BC 7C BF 2B 78 */ mr r31, r5 +/* 802DE960 002DB8C0 90 03 00 04 */ stw r0, 4(r3) +/* 802DE964 002DB8C4 90 03 00 08 */ stw r0, 8(r3) +/* 802DE968 002DB8C8 7F C3 F3 78 */ mr r3, r30 +/* 802DE96C 002DB8CC 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802DE970 002DB8D0 48 06 03 15 */ bl ReadLong__12CInputStreamFv +/* 802DE974 002DB8D4 7C 7A 1B 78 */ mr r26, r3 +/* 802DE978 002DB8D8 7F A3 EB 78 */ mr r3, r29 +/* 802DE97C 002DB8DC 7F 44 D3 78 */ mr r4, r26 +/* 802DE980 002DB8E0 4B D8 51 A5 */ bl "reserve__Q24rstl37vectorFi" +/* 802DE984 002DB8E4 3B 60 00 00 */ li r27, 0 +/* 802DE988 002DB8E8 48 00 00 60 */ b lbl_802DE9E8 +lbl_802DE98C: +/* 802DE98C 002DB8EC 7F C3 F3 78 */ mr r3, r30 +/* 802DE990 002DB8F0 48 06 02 F5 */ bl ReadLong__12CInputStreamFv +/* 802DE994 002DB8F4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DE998 002DB8F8 7C 7C 1B 78 */ mr r28, r3 +/* 802DE99C 002DB8FC 80 BD 00 08 */ lwz r5, 8(r29) +/* 802DE9A0 002DB900 7C 00 28 00 */ cmpw r0, r5 +/* 802DE9A4 002DB904 41 80 00 1C */ blt lbl_802DE9C0 +/* 802DE9A8 002DB908 2C 05 00 00 */ cmpwi r5, 0 +/* 802DE9AC 002DB90C 7F A3 EB 78 */ mr r3, r29 +/* 802DE9B0 002DB910 38 80 00 04 */ li r4, 4 +/* 802DE9B4 002DB914 41 82 00 08 */ beq lbl_802DE9BC +/* 802DE9B8 002DB918 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DE9BC: +/* 802DE9BC 002DB91C 4B D8 51 69 */ bl "reserve__Q24rstl37vectorFi" +lbl_802DE9C0: +/* 802DE9C0 002DB920 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DE9C4 002DB924 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DE9C8 002DB928 54 00 10 3A */ slwi r0, r0, 2 +/* 802DE9CC 002DB92C 7C 63 02 15 */ add. r3, r3, r0 +/* 802DE9D0 002DB930 41 82 00 08 */ beq lbl_802DE9D8 +/* 802DE9D4 002DB934 93 83 00 00 */ stw r28, 0(r3) +lbl_802DE9D8: +/* 802DE9D8 002DB938 80 7D 00 04 */ lwz r3, 4(r29) +/* 802DE9DC 002DB93C 3B 7B 00 01 */ addi r27, r27, 1 +/* 802DE9E0 002DB940 38 03 00 01 */ addi r0, r3, 1 +/* 802DE9E4 002DB944 90 1D 00 04 */ stw r0, 4(r29) +lbl_802DE9E8: +/* 802DE9E8 002DB948 7C 1B D0 00 */ cmpw r27, r26 +/* 802DE9EC 002DB94C 41 80 FF A0 */ blt lbl_802DE98C +/* 802DE9F0 002DB950 38 00 00 00 */ li r0, 0 +/* 802DE9F4 002DB954 7F C3 F3 78 */ mr r3, r30 +/* 802DE9F8 002DB958 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802DE9FC 002DB95C 90 1D 00 18 */ stw r0, 0x18(r29) +/* 802DEA00 002DB960 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 802DEA04 002DB964 48 06 02 81 */ bl ReadLong__12CInputStreamFv +/* 802DEA08 002DB968 7C 7A 1B 78 */ mr r26, r3 +/* 802DEA0C 002DB96C 38 7D 00 10 */ addi r3, r29, 0x10 +/* 802DEA10 002DB970 7F 44 D3 78 */ mr r4, r26 +/* 802DEA14 002DB974 4B D8 51 11 */ bl "reserve__Q24rstl37vectorFi" +/* 802DEA18 002DB978 3B 60 00 00 */ li r27, 0 +/* 802DEA1C 002DB97C 48 00 00 60 */ b lbl_802DEA7C +lbl_802DEA20: +/* 802DEA20 002DB980 7F C3 F3 78 */ mr r3, r30 +/* 802DEA24 002DB984 48 06 02 61 */ bl ReadLong__12CInputStreamFv +/* 802DEA28 002DB988 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 802DEA2C 002DB98C 7C 7C 1B 78 */ mr r28, r3 +/* 802DEA30 002DB990 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 802DEA34 002DB994 7C 00 28 00 */ cmpw r0, r5 +/* 802DEA38 002DB998 41 80 00 1C */ blt lbl_802DEA54 +/* 802DEA3C 002DB99C 2C 05 00 00 */ cmpwi r5, 0 +/* 802DEA40 002DB9A0 38 7D 00 10 */ addi r3, r29, 0x10 +/* 802DEA44 002DB9A4 38 80 00 04 */ li r4, 4 +/* 802DEA48 002DB9A8 41 82 00 08 */ beq lbl_802DEA50 +/* 802DEA4C 002DB9AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DEA50: +/* 802DEA50 002DB9B0 4B D8 50 D5 */ bl "reserve__Q24rstl37vectorFi" +lbl_802DEA54: +/* 802DEA54 002DB9B4 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 802DEA58 002DB9B8 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 802DEA5C 002DB9BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802DEA60 002DB9C0 7C 63 02 15 */ add. r3, r3, r0 +/* 802DEA64 002DB9C4 41 82 00 08 */ beq lbl_802DEA6C +/* 802DEA68 002DB9C8 93 83 00 00 */ stw r28, 0(r3) +lbl_802DEA6C: +/* 802DEA6C 002DB9CC 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 802DEA70 002DB9D0 3B 7B 00 01 */ addi r27, r27, 1 +/* 802DEA74 002DB9D4 38 03 00 01 */ addi r0, r3, 1 +/* 802DEA78 002DB9D8 90 1D 00 14 */ stw r0, 0x14(r29) +lbl_802DEA7C: +/* 802DEA7C 002DB9DC 7C 1B D0 00 */ cmpw r27, r26 +/* 802DEA80 002DB9E0 41 80 FF A0 */ blt lbl_802DEA20 +/* 802DEA84 002DB9E4 38 00 00 00 */ li r0, 0 +/* 802DEA88 002DB9E8 7F C3 F3 78 */ mr r3, r30 +/* 802DEA8C 002DB9EC 90 1D 00 24 */ stw r0, 0x24(r29) +/* 802DEA90 002DB9F0 90 1D 00 28 */ stw r0, 0x28(r29) +/* 802DEA94 002DB9F4 90 1D 00 2C */ stw r0, 0x2c(r29) +/* 802DEA98 002DB9F8 90 1D 00 34 */ stw r0, 0x34(r29) +/* 802DEA9C 002DB9FC 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802DEAA0 002DBA00 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 802DEAA4 002DBA04 48 06 01 E1 */ bl ReadLong__12CInputStreamFv +/* 802DEAA8 002DBA08 7C 7A 1B 78 */ mr r26, r3 +/* 802DEAAC 002DBA0C 38 7D 00 30 */ addi r3, r29, 0x30 +/* 802DEAB0 002DBA10 7F 44 D3 78 */ mr r4, r26 +/* 802DEAB4 002DBA14 4B D8 50 71 */ bl "reserve__Q24rstl37vectorFi" +/* 802DEAB8 002DBA18 3B 60 00 00 */ li r27, 0 +/* 802DEABC 002DBA1C 48 00 00 60 */ b lbl_802DEB1C +lbl_802DEAC0: +/* 802DEAC0 002DBA20 7F C3 F3 78 */ mr r3, r30 +/* 802DEAC4 002DBA24 48 06 01 C1 */ bl ReadLong__12CInputStreamFv +/* 802DEAC8 002DBA28 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 802DEACC 002DBA2C 7C 7C 1B 78 */ mr r28, r3 +/* 802DEAD0 002DBA30 80 BD 00 38 */ lwz r5, 0x38(r29) +/* 802DEAD4 002DBA34 7C 00 28 00 */ cmpw r0, r5 +/* 802DEAD8 002DBA38 41 80 00 1C */ blt lbl_802DEAF4 +/* 802DEADC 002DBA3C 2C 05 00 00 */ cmpwi r5, 0 +/* 802DEAE0 002DBA40 38 7D 00 30 */ addi r3, r29, 0x30 +/* 802DEAE4 002DBA44 38 80 00 04 */ li r4, 4 +/* 802DEAE8 002DBA48 41 82 00 08 */ beq lbl_802DEAF0 +/* 802DEAEC 002DBA4C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DEAF0: +/* 802DEAF0 002DBA50 4B D8 50 35 */ bl "reserve__Q24rstl37vectorFi" +lbl_802DEAF4: +/* 802DEAF4 002DBA54 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 802DEAF8 002DBA58 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 802DEAFC 002DBA5C 54 00 10 3A */ slwi r0, r0, 2 +/* 802DEB00 002DBA60 7C 63 02 15 */ add. r3, r3, r0 +/* 802DEB04 002DBA64 41 82 00 08 */ beq lbl_802DEB0C +/* 802DEB08 002DBA68 93 83 00 00 */ stw r28, 0(r3) +lbl_802DEB0C: +/* 802DEB0C 002DBA6C 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 802DEB10 002DBA70 3B 7B 00 01 */ addi r27, r27, 1 +/* 802DEB14 002DBA74 38 03 00 01 */ addi r0, r3, 1 +/* 802DEB18 002DBA78 90 1D 00 34 */ stw r0, 0x34(r29) +lbl_802DEB1C: +/* 802DEB1C 002DBA7C 7C 1B D0 00 */ cmpw r27, r26 +/* 802DEB20 002DBA80 41 80 FF A0 */ blt lbl_802DEAC0 +/* 802DEB24 002DBA84 57 E0 04 3E */ clrlwi r0, r31, 0x10 +/* 802DEB28 002DBA88 28 00 00 05 */ cmplwi r0, 5 +/* 802DEB2C 002DBA8C 40 81 01 20 */ ble lbl_802DEC4C +/* 802DEB30 002DBA90 88 A1 00 08 */ lbz r5, 8(r1) +/* 802DEB34 002DBA94 38 00 00 00 */ li r0, 0 +/* 802DEB38 002DBA98 88 81 00 10 */ lbz r4, 0x10(r1) +/* 802DEB3C 002DBA9C 7F C3 F3 78 */ mr r3, r30 +/* 802DEB40 002DBAA0 98 A1 00 64 */ stb r5, 0x64(r1) +/* 802DEB44 002DBAA4 3B 61 00 64 */ addi r27, r1, 0x64 +/* 802DEB48 002DBAA8 3B 41 00 6C */ addi r26, r1, 0x6c +/* 802DEB4C 002DBAAC 98 81 00 65 */ stb r4, 0x65(r1) +/* 802DEB50 002DBAB0 90 01 00 68 */ stw r0, 0x68(r1) +/* 802DEB54 002DBAB4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802DEB58 002DBAB8 90 01 00 70 */ stw r0, 0x70(r1) +/* 802DEB5C 002DBABC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802DEB60 002DBAC0 48 06 01 25 */ bl ReadLong__12CInputStreamFv +/* 802DEB64 002DBAC4 7C 7F 1B 78 */ mr r31, r3 +/* 802DEB68 002DBAC8 3B 80 00 00 */ li r28, 0 +/* 802DEB6C 002DBACC 48 00 00 28 */ b lbl_802DEB94 +lbl_802DEB70: +/* 802DEB70 002DBAD0 7F C3 F3 78 */ mr r3, r30 +/* 802DEB74 002DBAD4 48 06 01 11 */ bl ReadLong__12CInputStreamFv +/* 802DEB78 002DBAD8 90 61 00 14 */ stw r3, 0x14(r1) +/* 802DEB7C 002DBADC 7F 64 DB 78 */ mr r4, r27 +/* 802DEB80 002DBAE0 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 802DEB84 002DBAE4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802DEB88 002DBAE8 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802DEB8C 002DBAEC 48 00 07 2D */ bl "insert_into__Q24rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>4nodeRCUi" +/* 802DEB90 002DBAF0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802DEB94: +/* 802DEB94 002DBAF4 7C 1C F8 00 */ cmpw r28, r31 +/* 802DEB98 002DBAF8 41 80 FF D8 */ blt lbl_802DEB70 +/* 802DEB9C 002DBAFC 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 802DEBA0 002DBB00 38 E0 00 00 */ li r7, 0 +/* 802DEBA4 002DBB04 90 E1 00 28 */ stw r7, 0x28(r1) +/* 802DEBA8 002DBB08 38 61 00 54 */ addi r3, r1, 0x54 +/* 802DEBAC 002DBB0C 38 81 00 40 */ addi r4, r1, 0x40 +/* 802DEBB0 002DBB10 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802DEBB4 002DBB14 93 41 00 2C */ stw r26, 0x2c(r1) +/* 802DEBB8 002DBB18 38 C1 00 0C */ addi r6, r1, 0xc +/* 802DEBBC 002DBB1C 90 E1 00 30 */ stw r7, 0x30(r1) +/* 802DEBC0 002DBB20 93 41 00 34 */ stw r26, 0x34(r1) +/* 802DEBC4 002DBB24 90 01 00 38 */ stw r0, 0x38(r1) +/* 802DEBC8 002DBB28 93 41 00 3C */ stw r26, 0x3c(r1) +/* 802DEBCC 002DBB2C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802DEBD0 002DBB30 93 41 00 44 */ stw r26, 0x44(r1) +/* 802DEBD4 002DBB34 4B FF FC 65 */ bl sub_802de838 +/* 802DEBD8 002DBB38 38 7D 00 20 */ addi r3, r29, 0x20 +/* 802DEBDC 002DBB3C 38 81 00 54 */ addi r4, r1, 0x54 +/* 802DEBE0 002DBB40 4B D8 4B 1D */ bl "clear__Q24rstl37vectorFv" +/* 802DEBE4 002DBB44 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802DEBE8 002DBB48 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802DEBEC 002DBB4C 54 00 10 3A */ slwi r0, r0, 2 +/* 802DEBF0 002DBB50 7C 03 02 14 */ add r0, r3, r0 +/* 802DEBF4 002DBB54 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802DEBF8 002DBB58 7C 64 1B 78 */ mr r4, r3 +/* 802DEBFC 002DBB5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DEC00 002DBB60 90 01 00 20 */ stw r0, 0x20(r1) +/* 802DEC04 002DBB64 90 61 00 18 */ stw r3, 0x18(r1) +/* 802DEC08 002DBB68 48 00 00 08 */ b lbl_802DEC10 +lbl_802DEC0C: +/* 802DEC0C 002DBB6C 38 84 00 04 */ addi r4, r4, 4 +lbl_802DEC10: +/* 802DEC10 002DBB70 7C 04 00 40 */ cmplw r4, r0 +/* 802DEC14 002DBB74 40 82 FF F8 */ bne lbl_802DEC0C +/* 802DEC18 002DBB78 28 03 00 00 */ cmplwi r3, 0 +/* 802DEC1C 002DBB7C 41 82 00 08 */ beq lbl_802DEC24 +/* 802DEC20 002DBB80 48 03 6D 11 */ bl Free__7CMemoryFPCv +lbl_802DEC24: +/* 802DEC24 002DBB84 80 81 00 74 */ lwz r4, 0x74(r1) +/* 802DEC28 002DBB88 28 04 00 00 */ cmplwi r4, 0 +/* 802DEC2C 002DBB8C 41 82 00 0C */ beq lbl_802DEC38 +/* 802DEC30 002DBB90 38 61 00 64 */ addi r3, r1, 0x64 +/* 802DEC34 002DBB94 48 00 06 1D */ bl sub_802df250 +lbl_802DEC38: +/* 802DEC38 002DBB98 38 00 00 00 */ li r0, 0 +/* 802DEC3C 002DBB9C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802DEC40 002DBBA0 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802DEC44 002DBBA4 90 01 00 70 */ stw r0, 0x70(r1) +/* 802DEC48 002DBBA8 90 01 00 68 */ stw r0, 0x68(r1) +lbl_802DEC4C: +/* 802DEC4C 002DBBAC 7F A3 EB 78 */ mr r3, r29 +/* 802DEC50 002DBBB0 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 802DEC54 002DBBB4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802DEC58 002DBBB8 7C 08 03 A6 */ mtlr r0 +/* 802DEC5C 002DBBBC 38 21 00 90 */ addi r1, r1, 0x90 +/* 802DEC60 002DBBC0 4E 80 00 20 */ blr + +.global "distance,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator" +"distance,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator": +/* 802DEC64 002DBBC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DEC68 002DBBC8 7C 08 02 A6 */ mflr r0 +/* 802DEC6C 002DBBCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DEC70 002DBBD0 38 A1 00 0C */ addi r5, r1, 0xc +/* 802DEC74 002DBBD4 89 21 00 08 */ lbz r9, 8(r1) +/* 802DEC78 002DBBD8 81 04 00 00 */ lwz r8, 0(r4) +/* 802DEC7C 002DBBDC 80 E4 00 04 */ lwz r7, 4(r4) +/* 802DEC80 002DBBE0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802DEC84 002DBBE4 80 C3 00 00 */ lwz r6, 0(r3) +/* 802DEC88 002DBBE8 80 03 00 04 */ lwz r0, 4(r3) +/* 802DEC8C 002DBBEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DEC90 002DBBF0 99 21 00 0C */ stb r9, 0xc(r1) +/* 802DEC94 002DBBF4 91 01 00 10 */ stw r8, 0x10(r1) +/* 802DEC98 002DBBF8 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802DEC9C 002DBBFC 90 C1 00 18 */ stw r6, 0x18(r1) +/* 802DECA0 002DBC00 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802DECA4 002DBC04 48 00 00 15 */ bl "__distance,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ24rstl20forward_iterator_tag" +/* 802DECA8 002DBC08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DECAC 002DBC0C 7C 08 03 A6 */ mtlr r0 +/* 802DECB0 002DBC10 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DECB4 002DBC14 4E 80 00 20 */ blr + +.global "__distance,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ24rstl20forward_iterator_tag" +"__distance,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>14const_iteratorQ24rstl20forward_iterator_tag": +/* 802DECB8 002DBC18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DECBC 002DBC1C 7C 08 02 A6 */ mflr r0 +/* 802DECC0 002DBC20 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DECC4 002DBC24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DECC8 002DBC28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DECCC 002DBC2C 3B C0 00 00 */ li r30, 0 +/* 802DECD0 002DBC30 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DECD4 002DBC34 7C 9D 23 78 */ mr r29, r4 +/* 802DECD8 002DBC38 80 A3 00 00 */ lwz r5, 0(r3) +/* 802DECDC 002DBC3C 83 E3 00 04 */ lwz r31, 4(r3) +/* 802DECE0 002DBC40 48 00 00 18 */ b lbl_802DECF8 +lbl_802DECE4: +/* 802DECE4 002DBC44 7F E3 FB 78 */ mr r3, r31 +/* 802DECE8 002DBC48 7C A4 2B 78 */ mr r4, r5 +/* 802DECEC 002DBC4C 3B DE 00 01 */ addi r30, r30, 1 +/* 802DECF0 002DBC50 48 05 D8 F1 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 802DECF4 002DBC54 7C 65 1B 78 */ mr r5, r3 +lbl_802DECF8: +/* 802DECF8 002DBC58 80 1D 00 00 */ lwz r0, 0(r29) +/* 802DECFC 002DBC5C 38 60 00 00 */ li r3, 0 +/* 802DED00 002DBC60 7C 05 00 40 */ cmplw r5, r0 +/* 802DED04 002DBC64 40 82 00 10 */ bne lbl_802DED14 +/* 802DED08 002DBC68 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DED0C 002DBC6C 7C 1F 00 40 */ cmplw r31, r0 +/* 802DED10 002DBC70 41 82 00 08 */ beq lbl_802DED18 +lbl_802DED14: +/* 802DED14 002DBC74 38 60 00 01 */ li r3, 1 +lbl_802DED18: +/* 802DED18 002DBC78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802DED1C 002DBC7C 40 82 FF C8 */ bne lbl_802DECE4 +/* 802DED20 002DBC80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DED24 002DBC84 7F C3 F3 78 */ mr r3, r30 +/* 802DED28 002DBC88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DED2C 002DBC8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DED30 002DBC90 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DED34 002DBC94 7C 08 03 A6 */ mtlr r0 +/* 802DED38 002DBC98 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DED3C 002DBC9C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>Fi": +/* 802DED40 002DBCA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DED44 002DBCA4 7C 08 02 A6 */ mflr r0 +/* 802DED48 002DBCA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DED4C 002DBCAC BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802DED50 002DBCB0 7C 9F 23 78 */ mr r31, r4 +/* 802DED54 002DBCB4 7C 7E 1B 78 */ mr r30, r3 +/* 802DED58 002DBCB8 80 03 00 08 */ lwz r0, 8(r3) +/* 802DED5C 002DBCBC 7C 1F 00 00 */ cmpw r31, r0 +/* 802DED60 002DBCC0 40 81 01 0C */ ble lbl_802DEE6C +/* 802DED64 002DBCC4 1C 7F 00 34 */ mulli r3, r31, 0x34 +/* 802DED68 002DBCC8 2C 03 00 00 */ cmpwi r3, 0 +/* 802DED6C 002DBCCC 40 82 00 0C */ bne lbl_802DED78 +/* 802DED70 002DBCD0 3B 80 00 00 */ li r28, 0 +/* 802DED74 002DBCD4 48 00 00 18 */ b lbl_802DED8C +lbl_802DED78: +/* 802DED78 002DBCD8 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DED7C 002DBCDC 38 A0 00 00 */ li r5, 0 +/* 802DED80 002DBCE0 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DED84 002DBCE4 48 03 6A 95 */ bl __nwa__FUlPCcPCc +/* 802DED88 002DBCE8 7C 7C 1B 78 */ mr r28, r3 +lbl_802DED8C: +/* 802DED8C 002DBCEC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DED90 002DBCF0 7F 9B E3 78 */ mr r27, r28 +/* 802DED94 002DBCF4 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802DED98 002DBCF8 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802DED9C 002DBCFC 93 41 00 10 */ stw r26, 0x10(r1) +/* 802DEDA0 002DBD00 7F BA 02 14 */ add r29, r26, r0 +/* 802DEDA4 002DBD04 93 41 00 14 */ stw r26, 0x14(r1) +/* 802DEDA8 002DBD08 93 A1 00 08 */ stw r29, 8(r1) +/* 802DEDAC 002DBD0C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DEDB0 002DBD10 48 00 00 54 */ b lbl_802DEE04 +lbl_802DEDB4: +/* 802DEDB4 002DBD14 28 1B 00 00 */ cmplwi r27, 0 +/* 802DEDB8 002DBD18 41 82 00 44 */ beq lbl_802DEDFC +/* 802DEDBC 002DBD1C 7F 63 DB 78 */ mr r3, r27 +/* 802DEDC0 002DBD20 7F 44 D3 78 */ mr r4, r26 +/* 802DEDC4 002DBD24 48 05 F3 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DEDC8 002DBD28 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 802DEDCC 002DBD2C 38 7B 00 18 */ addi r3, r27, 0x18 +/* 802DEDD0 002DBD30 38 9A 00 18 */ addi r4, r26, 0x18 +/* 802DEDD4 002DBD34 90 1B 00 10 */ stw r0, 0x10(r27) +/* 802DEDD8 002DBD38 80 1A 00 14 */ lwz r0, 0x14(r26) +/* 802DEDDC 002DBD3C 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802DEDE0 002DBD40 48 05 F3 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DEDE4 002DBD44 C0 1A 00 28 */ lfs f0, 0x28(r26) +/* 802DEDE8 002DBD48 D0 1B 00 28 */ stfs f0, 0x28(r27) +/* 802DEDEC 002DBD4C 80 1A 00 2C */ lwz r0, 0x2c(r26) +/* 802DEDF0 002DBD50 90 1B 00 2C */ stw r0, 0x2c(r27) +/* 802DEDF4 002DBD54 80 1A 00 30 */ lwz r0, 0x30(r26) +/* 802DEDF8 002DBD58 90 1B 00 30 */ stw r0, 0x30(r27) +lbl_802DEDFC: +/* 802DEDFC 002DBD5C 3B 7B 00 34 */ addi r27, r27, 0x34 +/* 802DEE00 002DBD60 3B 5A 00 34 */ addi r26, r26, 0x34 +lbl_802DEE04: +/* 802DEE04 002DBD64 7C 1A E8 40 */ cmplw r26, r29 +/* 802DEE08 002DBD68 40 82 FF AC */ bne lbl_802DEDB4 +/* 802DEE0C 002DBD6C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DEE10 002DBD70 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802DEE14 002DBD74 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802DEE18 002DBD78 7F 7A 02 14 */ add r27, r26, r0 +/* 802DEE1C 002DBD7C 48 00 00 30 */ b lbl_802DEE4C +lbl_802DEE20: +/* 802DEE20 002DBD80 28 1A 00 00 */ cmplwi r26, 0 +/* 802DEE24 002DBD84 41 82 00 24 */ beq lbl_802DEE48 +/* 802DEE28 002DBD88 34 1A 00 18 */ addic. r0, r26, 0x18 +/* 802DEE2C 002DBD8C 41 82 00 0C */ beq lbl_802DEE38 +/* 802DEE30 002DBD90 38 7A 00 18 */ addi r3, r26, 0x18 +/* 802DEE34 002DBD94 48 05 EC AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DEE38: +/* 802DEE38 002DBD98 28 1A 00 00 */ cmplwi r26, 0 +/* 802DEE3C 002DBD9C 41 82 00 0C */ beq lbl_802DEE48 +/* 802DEE40 002DBDA0 7F 43 D3 78 */ mr r3, r26 +/* 802DEE44 002DBDA4 48 05 EC 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DEE48: +/* 802DEE48 002DBDA8 3B 5A 00 34 */ addi r26, r26, 0x34 +lbl_802DEE4C: +/* 802DEE4C 002DBDAC 7C 1A D8 40 */ cmplw r26, r27 +/* 802DEE50 002DBDB0 40 82 FF D0 */ bne lbl_802DEE20 +/* 802DEE54 002DBDB4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DEE58 002DBDB8 28 03 00 00 */ cmplwi r3, 0 +/* 802DEE5C 002DBDBC 41 82 00 08 */ beq lbl_802DEE64 +/* 802DEE60 002DBDC0 48 03 6A D1 */ bl Free__7CMemoryFPCv +lbl_802DEE64: +/* 802DEE64 002DBDC4 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802DEE68 002DBDC8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802DEE6C: +/* 802DEE6C 002DBDCC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802DEE70 002DBDD0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DEE74 002DBDD4 7C 08 03 A6 */ mtlr r0 +/* 802DEE78 002DBDD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DEE7C 002DBDDC 4E 80 00 20 */ blr + +.global "reserve__Q24rstl220vector,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl220vector,Q24rstl17rmemory_allocator>,Q24rstl66basic_string,Q24rstl17rmemory_allocator>>>,Q24rstl17rmemory_allocator>Fi": +/* 802DEE80 002DBDE0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802DEE84 002DBDE4 7C 08 02 A6 */ mflr r0 +/* 802DEE88 002DBDE8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802DEE8C 002DBDEC BF 21 00 24 */ stmw r25, 0x24(r1) +/* 802DEE90 002DBDF0 7C 9F 23 78 */ mr r31, r4 +/* 802DEE94 002DBDF4 7C 7E 1B 78 */ mr r30, r3 +/* 802DEE98 002DBDF8 80 03 00 08 */ lwz r0, 8(r3) +/* 802DEE9C 002DBDFC 7C 1F 00 00 */ cmpw r31, r0 +/* 802DEEA0 002DBE00 40 81 00 F4 */ ble lbl_802DEF94 +/* 802DEEA4 002DBE04 1C 7F 00 24 */ mulli r3, r31, 0x24 +/* 802DEEA8 002DBE08 2C 03 00 00 */ cmpwi r3, 0 +/* 802DEEAC 002DBE0C 40 82 00 0C */ bne lbl_802DEEB8 +/* 802DEEB0 002DBE10 3B 80 00 00 */ li r28, 0 +/* 802DEEB4 002DBE14 48 00 00 18 */ b lbl_802DEECC +lbl_802DEEB8: +/* 802DEEB8 002DBE18 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DEEBC 002DBE1C 38 A0 00 00 */ li r5, 0 +/* 802DEEC0 002DBE20 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DEEC4 002DBE24 48 03 69 55 */ bl __nwa__FUlPCcPCc +/* 802DEEC8 002DBE28 7C 7C 1B 78 */ mr r28, r3 +lbl_802DEECC: +/* 802DEECC 002DBE2C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DEED0 002DBE30 7F 9B E3 78 */ mr r27, r28 +/* 802DEED4 002DBE34 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802DEED8 002DBE38 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802DEEDC 002DBE3C 93 41 00 10 */ stw r26, 0x10(r1) +/* 802DEEE0 002DBE40 7F BA 02 14 */ add r29, r26, r0 +/* 802DEEE4 002DBE44 93 41 00 14 */ stw r26, 0x14(r1) +/* 802DEEE8 002DBE48 93 A1 00 08 */ stw r29, 8(r1) +/* 802DEEEC 002DBE4C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DEEF0 002DBE50 48 00 00 38 */ b lbl_802DEF28 +lbl_802DEEF4: +/* 802DEEF4 002DBE54 28 1B 00 00 */ cmplwi r27, 0 +/* 802DEEF8 002DBE58 41 82 00 28 */ beq lbl_802DEF20 +/* 802DEEFC 002DBE5C 80 1A 00 00 */ lwz r0, 0(r26) +/* 802DEF00 002DBE60 3B 3B 00 04 */ addi r25, r27, 4 +/* 802DEF04 002DBE64 7F 23 CB 78 */ mr r3, r25 +/* 802DEF08 002DBE68 38 9A 00 04 */ addi r4, r26, 4 +/* 802DEF0C 002DBE6C 90 1B 00 00 */ stw r0, 0(r27) +/* 802DEF10 002DBE70 48 05 F2 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DEF14 002DBE74 38 79 00 10 */ addi r3, r25, 0x10 +/* 802DEF18 002DBE78 38 9A 00 14 */ addi r4, r26, 0x14 +/* 802DEF1C 002DBE7C 48 05 F2 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802DEF20: +/* 802DEF20 002DBE80 3B 7B 00 24 */ addi r27, r27, 0x24 +/* 802DEF24 002DBE84 3B 5A 00 24 */ addi r26, r26, 0x24 +lbl_802DEF28: +/* 802DEF28 002DBE88 7C 1A E8 40 */ cmplw r26, r29 +/* 802DEF2C 002DBE8C 40 82 FF C8 */ bne lbl_802DEEF4 +/* 802DEF30 002DBE90 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DEF34 002DBE94 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802DEF38 002DBE98 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802DEF3C 002DBE9C 7F 7A 02 14 */ add r27, r26, r0 +/* 802DEF40 002DBEA0 48 00 00 34 */ b lbl_802DEF74 +lbl_802DEF44: +/* 802DEF44 002DBEA4 28 1A 00 00 */ cmplwi r26, 0 +/* 802DEF48 002DBEA8 41 82 00 28 */ beq lbl_802DEF70 +/* 802DEF4C 002DBEAC 34 1A 00 04 */ addic. r0, r26, 4 +/* 802DEF50 002DBEB0 41 82 00 20 */ beq lbl_802DEF70 +/* 802DEF54 002DBEB4 34 7A 00 14 */ addic. r3, r26, 0x14 +/* 802DEF58 002DBEB8 41 82 00 08 */ beq lbl_802DEF60 +/* 802DEF5C 002DBEBC 48 05 EB 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DEF60: +/* 802DEF60 002DBEC0 34 1A 00 04 */ addic. r0, r26, 4 +/* 802DEF64 002DBEC4 41 82 00 0C */ beq lbl_802DEF70 +/* 802DEF68 002DBEC8 38 7A 00 04 */ addi r3, r26, 4 +/* 802DEF6C 002DBECC 48 05 EB 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DEF70: +/* 802DEF70 002DBED0 3B 5A 00 24 */ addi r26, r26, 0x24 +lbl_802DEF74: +/* 802DEF74 002DBED4 7C 1A D8 40 */ cmplw r26, r27 +/* 802DEF78 002DBED8 40 82 FF CC */ bne lbl_802DEF44 +/* 802DEF7C 002DBEDC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DEF80 002DBEE0 28 03 00 00 */ cmplwi r3, 0 +/* 802DEF84 002DBEE4 41 82 00 08 */ beq lbl_802DEF8C +/* 802DEF88 002DBEE8 48 03 69 A9 */ bl Free__7CMemoryFPCv +lbl_802DEF8C: +/* 802DEF8C 002DBEEC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802DEF90 002DBEF0 93 FE 00 08 */ stw r31, 8(r30) +lbl_802DEF94: +/* 802DEF94 002DBEF4 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 802DEF98 002DBEF8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802DEF9C 002DBEFC 7C 08 03 A6 */ mtlr r0 +/* 802DEFA0 002DBF00 38 21 00 40 */ addi r1, r1, 0x40 +/* 802DEFA4 002DBF04 4E 80 00 20 */ blr + +.global "reserve__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl133vector,Q24rstl17rmemory_allocator>,6CAABox>,Q24rstl17rmemory_allocator>Fi": +/* 802DEFA8 002DBF08 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DEFAC 002DBF0C 7C 08 02 A6 */ mflr r0 +/* 802DEFB0 002DBF10 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DEFB4 002DBF14 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802DEFB8 002DBF18 7C 9F 23 78 */ mr r31, r4 +/* 802DEFBC 002DBF1C 7C 7E 1B 78 */ mr r30, r3 +/* 802DEFC0 002DBF20 80 03 00 08 */ lwz r0, 8(r3) +/* 802DEFC4 002DBF24 7C 1F 00 00 */ cmpw r31, r0 +/* 802DEFC8 002DBF28 40 81 00 F4 */ ble lbl_802DF0BC +/* 802DEFCC 002DBF2C 1C 7F 00 28 */ mulli r3, r31, 0x28 +/* 802DEFD0 002DBF30 2C 03 00 00 */ cmpwi r3, 0 +/* 802DEFD4 002DBF34 40 82 00 0C */ bne lbl_802DEFE0 +/* 802DEFD8 002DBF38 3B 80 00 00 */ li r28, 0 +/* 802DEFDC 002DBF3C 48 00 00 18 */ b lbl_802DEFF4 +lbl_802DEFE0: +/* 802DEFE0 002DBF40 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DEFE4 002DBF44 38 A0 00 00 */ li r5, 0 +/* 802DEFE8 002DBF48 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DEFEC 002DBF4C 48 03 68 2D */ bl __nwa__FUlPCcPCc +/* 802DEFF0 002DBF50 7C 7C 1B 78 */ mr r28, r3 +lbl_802DEFF4: +/* 802DEFF4 002DBF54 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DEFF8 002DBF58 7F 9B E3 78 */ mr r27, r28 +/* 802DEFFC 002DBF5C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802DF000 002DBF60 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802DF004 002DBF64 93 41 00 10 */ stw r26, 0x10(r1) +/* 802DF008 002DBF68 7F BA 02 14 */ add r29, r26, r0 +/* 802DF00C 002DBF6C 93 41 00 14 */ stw r26, 0x14(r1) +/* 802DF010 002DBF70 93 A1 00 08 */ stw r29, 8(r1) +/* 802DF014 002DBF74 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802DF018 002DBF78 48 00 00 50 */ b lbl_802DF068 +lbl_802DF01C: +/* 802DF01C 002DBF7C 28 1B 00 00 */ cmplwi r27, 0 +/* 802DF020 002DBF80 41 82 00 40 */ beq lbl_802DF060 +/* 802DF024 002DBF84 7F 63 DB 78 */ mr r3, r27 +/* 802DF028 002DBF88 7F 44 D3 78 */ mr r4, r26 +/* 802DF02C 002DBF8C 48 05 F1 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DF030 002DBF90 C0 1A 00 10 */ lfs f0, 0x10(r26) +/* 802DF034 002DBF94 D0 1B 00 10 */ stfs f0, 0x10(r27) +/* 802DF038 002DBF98 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 802DF03C 002DBF9C D0 1B 00 14 */ stfs f0, 0x14(r27) +/* 802DF040 002DBFA0 C0 1A 00 18 */ lfs f0, 0x18(r26) +/* 802DF044 002DBFA4 D0 1B 00 18 */ stfs f0, 0x18(r27) +/* 802DF048 002DBFA8 C0 1A 00 1C */ lfs f0, 0x1c(r26) +/* 802DF04C 002DBFAC D0 1B 00 1C */ stfs f0, 0x1c(r27) +/* 802DF050 002DBFB0 C0 1A 00 20 */ lfs f0, 0x20(r26) +/* 802DF054 002DBFB4 D0 1B 00 20 */ stfs f0, 0x20(r27) +/* 802DF058 002DBFB8 C0 1A 00 24 */ lfs f0, 0x24(r26) +/* 802DF05C 002DBFBC D0 1B 00 24 */ stfs f0, 0x24(r27) +lbl_802DF060: +/* 802DF060 002DBFC0 3B 7B 00 28 */ addi r27, r27, 0x28 +/* 802DF064 002DBFC4 3B 5A 00 28 */ addi r26, r26, 0x28 +lbl_802DF068: +/* 802DF068 002DBFC8 7C 1A E8 40 */ cmplw r26, r29 +/* 802DF06C 002DBFCC 40 82 FF B0 */ bne lbl_802DF01C +/* 802DF070 002DBFD0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DF074 002DBFD4 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802DF078 002DBFD8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802DF07C 002DBFDC 7F 7A 02 14 */ add r27, r26, r0 +/* 802DF080 002DBFE0 48 00 00 1C */ b lbl_802DF09C +lbl_802DF084: +/* 802DF084 002DBFE4 28 1A 00 00 */ cmplwi r26, 0 +/* 802DF088 002DBFE8 41 82 00 10 */ beq lbl_802DF098 +/* 802DF08C 002DBFEC 41 82 00 0C */ beq lbl_802DF098 +/* 802DF090 002DBFF0 7F 43 D3 78 */ mr r3, r26 +/* 802DF094 002DBFF4 48 05 EA 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DF098: +/* 802DF098 002DBFF8 3B 5A 00 28 */ addi r26, r26, 0x28 +lbl_802DF09C: +/* 802DF09C 002DBFFC 7C 1A D8 40 */ cmplw r26, r27 +/* 802DF0A0 002DC000 40 82 FF E4 */ bne lbl_802DF084 +/* 802DF0A4 002DC004 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DF0A8 002DC008 28 03 00 00 */ cmplwi r3, 0 +/* 802DF0AC 002DC00C 41 82 00 08 */ beq lbl_802DF0B4 +/* 802DF0B0 002DC010 48 03 68 81 */ bl Free__7CMemoryFPCv +lbl_802DF0B4: +/* 802DF0B4 002DC014 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802DF0B8 002DC018 93 FE 00 08 */ stw r31, 8(r30) +lbl_802DF0BC: +/* 802DF0BC 002DC01C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802DF0C0 002DC020 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DF0C4 002DC024 7C 08 03 A6 */ mtlr r0 +/* 802DF0C8 002DC028 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DF0CC 002DC02C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl189vector,Q24rstl17rmemory_allocator>,Q24rstl53vector<16CEffectComponent,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>Fi": +/* 802DF0D0 002DC030 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DF0D4 002DC034 7C 08 02 A6 */ mflr r0 +/* 802DF0D8 002DC038 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DF0DC 002DC03C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802DF0E0 002DC040 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802DF0E4 002DC044 7C 9E 23 78 */ mr r30, r4 +/* 802DF0E8 002DC048 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802DF0EC 002DC04C 7C 7D 1B 78 */ mr r29, r3 +/* 802DF0F0 002DC050 80 03 00 08 */ lwz r0, 8(r3) +/* 802DF0F4 002DC054 7C 1E 00 00 */ cmpw r30, r0 +/* 802DF0F8 002DC058 40 81 00 88 */ ble lbl_802DF180 +/* 802DF0FC 002DC05C 57 C3 28 35 */ rlwinm. r3, r30, 5, 0, 0x1a +/* 802DF100 002DC060 40 82 00 0C */ bne lbl_802DF10C +/* 802DF104 002DC064 3B E0 00 00 */ li r31, 0 +/* 802DF108 002DC068 48 00 00 18 */ b lbl_802DF120 +lbl_802DF10C: +/* 802DF10C 002DC06C 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DF110 002DC070 38 A0 00 00 */ li r5, 0 +/* 802DF114 002DC074 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DF118 002DC078 48 03 67 01 */ bl __nwa__FUlPCcPCc +/* 802DF11C 002DC07C 7C 7F 1B 78 */ mr r31, r3 +lbl_802DF120: +/* 802DF120 002DC080 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DF124 002DC084 7F E5 FB 78 */ mr r5, r31 +/* 802DF128 002DC088 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 802DF12C 002DC08C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DF130 002DC090 54 00 28 34 */ slwi r0, r0, 5 +/* 802DF134 002DC094 38 81 00 0C */ addi r4, r1, 0xc +/* 802DF138 002DC098 7C C6 02 14 */ add r6, r6, r0 +/* 802DF13C 002DC09C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802DF140 002DC0A0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802DF144 002DC0A4 90 C1 00 08 */ stw r6, 8(r1) +/* 802DF148 002DC0A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802DF14C 002DC0AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF150 002DC0B0 48 00 00 99 */ bl sub_802df1e8 +/* 802DF154 002DC0B4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DF158 002DC0B8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DF15C 002DC0BC 54 00 28 34 */ slwi r0, r0, 5 +/* 802DF160 002DC0C0 7C 83 02 14 */ add r4, r3, r0 +/* 802DF164 002DC0C4 48 00 00 39 */ bl sub_802df19c +/* 802DF168 002DC0C8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DF16C 002DC0CC 28 03 00 00 */ cmplwi r3, 0 +/* 802DF170 002DC0D0 41 82 00 08 */ beq lbl_802DF178 +/* 802DF174 002DC0D4 48 03 67 BD */ bl Free__7CMemoryFPCv +lbl_802DF178: +/* 802DF178 002DC0D8 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802DF17C 002DC0DC 93 DD 00 08 */ stw r30, 8(r29) +lbl_802DF180: +/* 802DF180 002DC0E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DF184 002DC0E4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802DF188 002DC0E8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802DF18C 002DC0EC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DF190 002DC0F0 7C 08 03 A6 */ mtlr r0 +/* 802DF194 002DC0F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DF198 002DC0F8 4E 80 00 20 */ blr + +.global sub_802df19c +sub_802df19c: +/* 802DF19C 002DC0FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF1A0 002DC100 7C 08 02 A6 */ mflr r0 +/* 802DF1A4 002DC104 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF1A8 002DC108 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DF1AC 002DC10C 7C 7F 1B 78 */ mr r31, r3 +/* 802DF1B0 002DC110 93 C1 00 08 */ stw r30, 8(r1) +/* 802DF1B4 002DC114 7C 9E 23 78 */ mr r30, r4 +/* 802DF1B8 002DC118 48 00 00 10 */ b lbl_802DF1C8 +lbl_802DF1BC: +/* 802DF1BC 002DC11C 7F E3 FB 78 */ mr r3, r31 +/* 802DF1C0 002DC120 4B FF E7 A5 */ bl sub_802dd964 +/* 802DF1C4 002DC124 3B FF 00 20 */ addi r31, r31, 0x20 +lbl_802DF1C8: +/* 802DF1C8 002DC128 7C 1F F0 40 */ cmplw r31, r30 +/* 802DF1CC 002DC12C 40 82 FF F0 */ bne lbl_802DF1BC +/* 802DF1D0 002DC130 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF1D4 002DC134 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DF1D8 002DC138 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DF1DC 002DC13C 7C 08 03 A6 */ mtlr r0 +/* 802DF1E0 002DC140 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF1E4 002DC144 4E 80 00 20 */ blr + +.global sub_802df1e8 +sub_802df1e8: +/* 802DF1E8 002DC148 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DF1EC 002DC14C 7C 08 02 A6 */ mflr r0 +/* 802DF1F0 002DC150 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DF1F4 002DC154 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DF1F8 002DC158 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DF1FC 002DC15C 7C BE 2B 78 */ mr r30, r5 +/* 802DF200 002DC160 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DF204 002DC164 7C 9D 23 78 */ mr r29, r4 +/* 802DF208 002DC168 83 E3 00 00 */ lwz r31, 0(r3) +/* 802DF20C 002DC16C 48 00 00 18 */ b lbl_802DF224 +lbl_802DF210: +/* 802DF210 002DC170 7F C3 F3 78 */ mr r3, r30 +/* 802DF214 002DC174 7F E4 FB 78 */ mr r4, r31 +/* 802DF218 002DC178 4B FF E7 71 */ bl sub_802dd988 +/* 802DF21C 002DC17C 3B DE 00 20 */ addi r30, r30, 0x20 +/* 802DF220 002DC180 3B FF 00 20 */ addi r31, r31, 0x20 +lbl_802DF224: +/* 802DF224 002DC184 80 1D 00 00 */ lwz r0, 0(r29) +/* 802DF228 002DC188 7C 1F 00 40 */ cmplw r31, r0 +/* 802DF22C 002DC18C 40 82 FF E4 */ bne lbl_802DF210 +/* 802DF230 002DC190 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DF234 002DC194 7F C3 F3 78 */ mr r3, r30 +/* 802DF238 002DC198 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DF23C 002DC19C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DF240 002DC1A0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DF244 002DC1A4 7C 08 03 A6 */ mtlr r0 +/* 802DF248 002DC1A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DF24C 002DC1AC 4E 80 00 20 */ blr + +.global sub_802df250 +sub_802df250: +/* 802DF250 002DC1B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF254 002DC1B4 7C 08 02 A6 */ mflr r0 +/* 802DF258 002DC1B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF25C 002DC1BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DF260 002DC1C0 7C 9F 23 78 */ mr r31, r4 +/* 802DF264 002DC1C4 93 C1 00 08 */ stw r30, 8(r1) +/* 802DF268 002DC1C8 7C 7E 1B 78 */ mr r30, r3 +/* 802DF26C 002DC1CC 80 84 00 00 */ lwz r4, 0(r4) +/* 802DF270 002DC1D0 28 04 00 00 */ cmplwi r4, 0 +/* 802DF274 002DC1D4 41 82 00 08 */ beq lbl_802DF27C +/* 802DF278 002DC1D8 4B FF FF D9 */ bl sub_802df250 +lbl_802DF27C: +/* 802DF27C 002DC1DC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802DF280 002DC1E0 28 04 00 00 */ cmplwi r4, 0 +/* 802DF284 002DC1E4 41 82 00 0C */ beq lbl_802DF290 +/* 802DF288 002DC1E8 7F C3 F3 78 */ mr r3, r30 +/* 802DF28C 002DC1EC 4B FF FF C5 */ bl sub_802df250 +lbl_802DF290: +/* 802DF290 002DC1F0 28 1F 00 00 */ cmplwi r31, 0 +/* 802DF294 002DC1F4 41 82 00 0C */ beq lbl_802DF2A0 +/* 802DF298 002DC1F8 7F E3 FB 78 */ mr r3, r31 +/* 802DF29C 002DC1FC 48 03 66 95 */ bl Free__7CMemoryFPCv +lbl_802DF2A0: +/* 802DF2A0 002DC200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF2A4 002DC204 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DF2A8 002DC208 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DF2AC 002DC20C 7C 08 03 A6 */ mtlr r0 +/* 802DF2B0 002DC210 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF2B4 002DC214 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>4nodeRCUi" +"insert_into__Q24rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl89red_black_tree,Q24rstl8less,Q24rstl17rmemory_allocator>4nodeRCUi": +/* 802DF2B8 002DC218 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DF2BC 002DC21C 7C 08 02 A6 */ mflr r0 +/* 802DF2C0 002DC220 28 05 00 00 */ cmplwi r5, 0 +/* 802DF2C4 002DC224 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DF2C8 002DC228 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802DF2CC 002DC22C 7C 7C 1B 78 */ mr r28, r3 +/* 802DF2D0 002DC230 7C 9D 23 78 */ mr r29, r4 +/* 802DF2D4 002DC234 7C DE 33 78 */ mr r30, r6 +/* 802DF2D8 002DC238 40 82 00 80 */ bne lbl_802DF358 +/* 802DF2DC 002DC23C 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DF2E0 002DC240 38 60 00 14 */ li r3, 0x14 +/* 802DF2E4 002DC244 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DF2E8 002DC248 38 A0 00 00 */ li r5, 0 +/* 802DF2EC 002DC24C 48 03 65 2D */ bl __nwa__FUlPCcPCc +/* 802DF2F0 002DC250 28 03 00 00 */ cmplwi r3, 0 +/* 802DF2F4 002DC254 41 82 00 28 */ beq lbl_802DF31C +/* 802DF2F8 002DC258 38 00 00 00 */ li r0, 0 +/* 802DF2FC 002DC25C 34 83 00 10 */ addic. r4, r3, 0x10 +/* 802DF300 002DC260 90 03 00 00 */ stw r0, 0(r3) +/* 802DF304 002DC264 90 03 00 04 */ stw r0, 4(r3) +/* 802DF308 002DC268 90 03 00 08 */ stw r0, 8(r3) +/* 802DF30C 002DC26C 90 03 00 0C */ stw r0, 0xc(r3) +/* 802DF310 002DC270 41 82 00 0C */ beq lbl_802DF31C +/* 802DF314 002DC274 80 1E 00 00 */ lwz r0, 0(r30) +/* 802DF318 002DC278 90 04 00 00 */ stw r0, 0(r4) +lbl_802DF31C: +/* 802DF31C 002DC27C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 802DF320 002DC280 38 1D 00 08 */ addi r0, r29, 8 +/* 802DF324 002DC284 80 7D 00 04 */ lwz r3, 4(r29) +/* 802DF328 002DC288 38 63 00 01 */ addi r3, r3, 1 +/* 802DF32C 002DC28C 90 7D 00 04 */ stw r3, 4(r29) +/* 802DF330 002DC290 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802DF334 002DC294 90 7D 00 08 */ stw r3, 8(r29) +/* 802DF338 002DC298 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802DF33C 002DC29C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802DF340 002DC2A0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802DF344 002DC2A4 90 7C 00 00 */ stw r3, 0(r28) +/* 802DF348 002DC2A8 90 1C 00 04 */ stw r0, 4(r28) +/* 802DF34C 002DC2AC 88 0D 9B 48 */ lbz r0, lbl_805A8708@sda21(r13) +/* 802DF350 002DC2B0 98 1C 00 08 */ stb r0, 8(r28) +/* 802DF354 002DC2B4 48 00 01 6C */ b lbl_802DF4C0 +lbl_802DF358: +/* 802DF358 002DC2B8 7C BF 2B 78 */ mr r31, r5 +/* 802DF35C 002DC2BC 3B 60 00 00 */ li r27, 0 +/* 802DF360 002DC2C0 48 00 01 2C */ b lbl_802DF48C +lbl_802DF364: +/* 802DF364 002DC2C4 80 7E 00 00 */ lwz r3, 0(r30) +/* 802DF368 002DC2C8 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 802DF36C 002DC2CC 7C 80 1A 78 */ xor r0, r4, r3 +/* 802DF370 002DC2D0 7C 00 00 34 */ cntlzw r0, r0 +/* 802DF374 002DC2D4 7C 80 00 30 */ slw r0, r4, r0 +/* 802DF378 002DC2D8 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 802DF37C 002DC2DC 40 82 00 24 */ bne lbl_802DF3A0 +/* 802DF380 002DC2E0 7C 04 18 40 */ cmplw r4, r3 +/* 802DF384 002DC2E4 41 80 00 1C */ blt lbl_802DF3A0 +/* 802DF388 002DC2E8 93 FC 00 00 */ stw r31, 0(r28) +/* 802DF38C 002DC2EC 38 1D 00 08 */ addi r0, r29, 8 +/* 802DF390 002DC2F0 90 1C 00 04 */ stw r0, 4(r28) +/* 802DF394 002DC2F4 88 0D 9B 49 */ lbz r0, lbl_805A8709@sda21(r13) +/* 802DF398 002DC2F8 98 1C 00 08 */ stb r0, 8(r28) +/* 802DF39C 002DC2FC 48 00 01 24 */ b lbl_802DF4C0 +lbl_802DF3A0: +/* 802DF3A0 002DC300 28 00 00 00 */ cmplwi r0, 0 +/* 802DF3A4 002DC304 41 82 00 78 */ beq lbl_802DF41C +/* 802DF3A8 002DC308 80 1F 00 00 */ lwz r0, 0(r31) +/* 802DF3AC 002DC30C 28 00 00 00 */ cmplwi r0, 0 +/* 802DF3B0 002DC310 40 82 00 64 */ bne lbl_802DF414 +/* 802DF3B4 002DC314 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DF3B8 002DC318 38 60 00 14 */ li r3, 0x14 +/* 802DF3BC 002DC31C 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DF3C0 002DC320 38 A0 00 00 */ li r5, 0 +/* 802DF3C4 002DC324 48 03 64 55 */ bl __nwa__FUlPCcPCc +/* 802DF3C8 002DC328 28 03 00 00 */ cmplwi r3, 0 +/* 802DF3CC 002DC32C 41 82 00 2C */ beq lbl_802DF3F8 +/* 802DF3D0 002DC330 38 80 00 00 */ li r4, 0 +/* 802DF3D4 002DC334 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 802DF3D8 002DC338 90 83 00 00 */ stw r4, 0(r3) +/* 802DF3DC 002DC33C 38 00 00 01 */ li r0, 1 +/* 802DF3E0 002DC340 90 83 00 04 */ stw r4, 4(r3) +/* 802DF3E4 002DC344 93 E3 00 08 */ stw r31, 8(r3) +/* 802DF3E8 002DC348 90 03 00 0C */ stw r0, 0xc(r3) +/* 802DF3EC 002DC34C 41 82 00 0C */ beq lbl_802DF3F8 +/* 802DF3F0 002DC350 80 1E 00 00 */ lwz r0, 0(r30) +/* 802DF3F4 002DC354 90 05 00 00 */ stw r0, 0(r5) +lbl_802DF3F8: +/* 802DF3F8 002DC358 90 7F 00 00 */ stw r3, 0(r31) +/* 802DF3FC 002DC35C 7C 7B 1B 78 */ mr r27, r3 +/* 802DF400 002DC360 80 1D 00 08 */ lwz r0, 8(r29) +/* 802DF404 002DC364 7C 1F 00 40 */ cmplw r31, r0 +/* 802DF408 002DC368 40 82 00 84 */ bne lbl_802DF48C +/* 802DF40C 002DC36C 90 7D 00 08 */ stw r3, 8(r29) +/* 802DF410 002DC370 48 00 00 7C */ b lbl_802DF48C +lbl_802DF414: +/* 802DF414 002DC374 7C 1F 03 78 */ mr r31, r0 +/* 802DF418 002DC378 48 00 00 74 */ b lbl_802DF48C +lbl_802DF41C: +/* 802DF41C 002DC37C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802DF420 002DC380 28 00 00 00 */ cmplwi r0, 0 +/* 802DF424 002DC384 40 82 00 64 */ bne lbl_802DF488 +/* 802DF428 002DC388 3C 80 80 3D */ lis r4, lbl_803D6D48@ha +/* 802DF42C 002DC38C 38 60 00 14 */ li r3, 0x14 +/* 802DF430 002DC390 38 84 6D 48 */ addi r4, r4, lbl_803D6D48@l +/* 802DF434 002DC394 38 A0 00 00 */ li r5, 0 +/* 802DF438 002DC398 48 03 63 E1 */ bl __nwa__FUlPCcPCc +/* 802DF43C 002DC39C 28 03 00 00 */ cmplwi r3, 0 +/* 802DF440 002DC3A0 41 82 00 2C */ beq lbl_802DF46C +/* 802DF444 002DC3A4 38 80 00 00 */ li r4, 0 +/* 802DF448 002DC3A8 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 802DF44C 002DC3AC 90 83 00 00 */ stw r4, 0(r3) +/* 802DF450 002DC3B0 38 00 00 01 */ li r0, 1 +/* 802DF454 002DC3B4 90 83 00 04 */ stw r4, 4(r3) +/* 802DF458 002DC3B8 93 E3 00 08 */ stw r31, 8(r3) +/* 802DF45C 002DC3BC 90 03 00 0C */ stw r0, 0xc(r3) +/* 802DF460 002DC3C0 41 82 00 0C */ beq lbl_802DF46C +/* 802DF464 002DC3C4 80 1E 00 00 */ lwz r0, 0(r30) +/* 802DF468 002DC3C8 90 05 00 00 */ stw r0, 0(r5) +lbl_802DF46C: +/* 802DF46C 002DC3CC 90 7F 00 04 */ stw r3, 4(r31) +/* 802DF470 002DC3D0 7C 7B 1B 78 */ mr r27, r3 +/* 802DF474 002DC3D4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802DF478 002DC3D8 7C 1F 00 40 */ cmplw r31, r0 +/* 802DF47C 002DC3DC 40 82 00 10 */ bne lbl_802DF48C +/* 802DF480 002DC3E0 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802DF484 002DC3E4 48 00 00 08 */ b lbl_802DF48C +lbl_802DF488: +/* 802DF488 002DC3E8 7C 1F 03 78 */ mr r31, r0 +lbl_802DF48C: +/* 802DF48C 002DC3EC 28 1B 00 00 */ cmplwi r27, 0 +/* 802DF490 002DC3F0 41 82 FE D4 */ beq lbl_802DF364 +/* 802DF494 002DC3F4 80 BD 00 04 */ lwz r5, 4(r29) +/* 802DF498 002DC3F8 7F 64 DB 78 */ mr r4, r27 +/* 802DF49C 002DC3FC 38 7D 00 08 */ addi r3, r29, 8 +/* 802DF4A0 002DC400 38 05 00 01 */ addi r0, r5, 1 +/* 802DF4A4 002DC404 90 1D 00 04 */ stw r0, 4(r29) +/* 802DF4A8 002DC408 48 05 D5 F1 */ bl rbtree_rebalance__4rstlFPvPv +/* 802DF4AC 002DC40C 93 7C 00 00 */ stw r27, 0(r28) +/* 802DF4B0 002DC410 38 1D 00 08 */ addi r0, r29, 8 +/* 802DF4B4 002DC414 90 1C 00 04 */ stw r0, 4(r28) +/* 802DF4B8 002DC418 88 0D 9B 4A */ lbz r0, lbl_805A870A@sda21(r13) +/* 802DF4BC 002DC41C 98 1C 00 08 */ stb r0, 8(r28) +lbl_802DF4C0: +/* 802DF4C0 002DC420 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802DF4C4 002DC424 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DF4C8 002DC428 7C 08 03 A6 */ mtlr r0 +/* 802DF4CC 002DC42C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DF4D0 002DC430 4E 80 00 20 */ blr + +.global __ct__13CCharacterSetFR12CInputStream +__ct__13CCharacterSetFR12CInputStream: +/* 802DF4D4 002DC434 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802DF4D8 002DC438 7C 08 02 A6 */ mflr r0 +/* 802DF4DC 002DC43C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802DF4E0 002DC440 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802DF4E4 002DC444 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802DF4E8 002DC448 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 802DF4EC 002DC44C 7C 9D 23 78 */ mr r29, r4 +/* 802DF4F0 002DC450 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 802DF4F4 002DC454 7C 7C 1B 78 */ mr r28, r3 +/* 802DF4F8 002DC458 7F A3 EB 78 */ mr r3, r29 +/* 802DF4FC 002DC45C 48 05 F7 B5 */ bl ReadShort__12CInputStreamFv +/* 802DF500 002DC460 B0 7C 00 00 */ sth r3, 0(r28) +/* 802DF504 002DC464 38 00 00 00 */ li r0, 0 +/* 802DF508 002DC468 7F A3 EB 78 */ mr r3, r29 +/* 802DF50C 002DC46C 90 1C 00 08 */ stw r0, 8(r28) +/* 802DF510 002DC470 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802DF514 002DC474 90 1C 00 10 */ stw r0, 0x10(r28) +/* 802DF518 002DC478 48 05 F7 6D */ bl ReadLong__12CInputStreamFv +/* 802DF51C 002DC47C 7C 7F 1B 78 */ mr r31, r3 +/* 802DF520 002DC480 38 7C 00 04 */ addi r3, r28, 4 +/* 802DF524 002DC484 7F E4 FB 78 */ mr r4, r31 +/* 802DF528 002DC488 48 00 02 3D */ bl sub_802df764 +/* 802DF52C 002DC48C 3B C0 00 00 */ li r30, 0 +/* 802DF530 002DC490 48 00 00 2C */ b lbl_802DF55C +lbl_802DF534: +/* 802DF534 002DC494 7F A4 EB 78 */ mr r4, r29 +/* 802DF538 002DC498 38 61 00 08 */ addi r3, r1, 8 +/* 802DF53C 002DC49C 48 00 01 31 */ bl "__ct__Q24rstl66map,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl7lessRCQ24rstl17rmemory_allocator" +/* 802DF540 002DC4A0 38 7C 00 04 */ addi r3, r28, 4 +/* 802DF544 002DC4A4 38 81 00 08 */ addi r4, r1, 8 +/* 802DF548 002DC4A8 48 00 00 41 */ bl sub_802df588 +/* 802DF54C 002DC4AC 38 61 00 08 */ addi r3, r1, 8 +/* 802DF550 002DC4B0 38 80 FF FF */ li r4, -1 +/* 802DF554 002DC4B4 4B FF 8E B9 */ bl __dt__13CAnimationSetFv +/* 802DF558 002DC4B8 3B DE 00 01 */ addi r30, r30, 1 +lbl_802DF55C: +/* 802DF55C 002DC4BC 7C 1E F8 00 */ cmpw r30, r31 +/* 802DF560 002DC4C0 41 80 FF D4 */ blt lbl_802DF534 +/* 802DF564 002DC4C4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802DF568 002DC4C8 7F 83 E3 78 */ mr r3, r28 +/* 802DF56C 002DC4CC 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 802DF570 002DC4D0 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 802DF574 002DC4D4 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 802DF578 002DC4D8 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 802DF57C 002DC4DC 7C 08 03 A6 */ mtlr r0 +/* 802DF580 002DC4E0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802DF584 002DC4E4 4E 80 00 20 */ blr + +.global sub_802df588 +sub_802df588: +/* 802DF588 002DC4E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF58C 002DC4EC 7C 08 02 A6 */ mflr r0 +/* 802DF590 002DC4F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF594 002DC4F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DF598 002DC4F8 7C 9F 23 78 */ mr r31, r4 +/* 802DF59C 002DC4FC 93 C1 00 08 */ stw r30, 8(r1) +/* 802DF5A0 002DC500 7C 7E 1B 78 */ mr r30, r3 +/* 802DF5A4 002DC504 80 03 00 04 */ lwz r0, 4(r3) +/* 802DF5A8 002DC508 80 A3 00 08 */ lwz r5, 8(r3) +/* 802DF5AC 002DC50C 7C 00 28 00 */ cmpw r0, r5 +/* 802DF5B0 002DC510 41 80 00 18 */ blt lbl_802DF5C8 +/* 802DF5B4 002DC514 2C 05 00 00 */ cmpwi r5, 0 +/* 802DF5B8 002DC518 38 80 00 04 */ li r4, 4 +/* 802DF5BC 002DC51C 41 82 00 08 */ beq lbl_802DF5C4 +/* 802DF5C0 002DC520 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802DF5C4: +/* 802DF5C4 002DC524 48 00 01 A1 */ bl sub_802df764 +lbl_802DF5C8: +/* 802DF5C8 002DC528 80 1E 00 04 */ lwz r0, 4(r30) +/* 802DF5CC 002DC52C 7F E4 FB 78 */ mr r4, r31 +/* 802DF5D0 002DC530 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802DF5D4 002DC534 1C 00 00 C4 */ mulli r0, r0, 0xc4 +/* 802DF5D8 002DC538 7C 63 02 14 */ add r3, r3, r0 +/* 802DF5DC 002DC53C 48 00 00 29 */ bl "__ct__Q34rstl150red_black_tree,0,Q24rstl44select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>6headerFv" +/* 802DF5E0 002DC540 80 7E 00 04 */ lwz r3, 4(r30) +/* 802DF5E4 002DC544 38 03 00 01 */ addi r0, r3, 1 +/* 802DF5E8 002DC548 90 1E 00 04 */ stw r0, 4(r30) +/* 802DF5EC 002DC54C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DF5F0 002DC550 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DF5F4 002DC554 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF5F8 002DC558 7C 08 03 A6 */ mtlr r0 +/* 802DF5FC 002DC55C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF600 002DC560 4E 80 00 20 */ blr + +.global "__ct__Q34rstl150red_black_tree,0,Q24rstl44select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>6headerFv" +"__ct__Q34rstl150red_black_tree,0,Q24rstl44select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>6headerFv": +/* 802DF604 002DC564 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF608 002DC568 7C 08 02 A6 */ mflr r0 +/* 802DF60C 002DC56C 28 03 00 00 */ cmplwi r3, 0 +/* 802DF610 002DC570 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF614 002DC574 41 82 00 08 */ beq lbl_802DF61C +/* 802DF618 002DC578 48 00 00 15 */ bl "Get>__12CInputStreamFRC40TType>" +lbl_802DF61C: +/* 802DF61C 002DC57C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF620 002DC580 7C 08 03 A6 */ mtlr r0 +/* 802DF624 002DC584 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF628 002DC588 4E 80 00 20 */ blr + +.global "Get>__12CInputStreamFRC40TType>" +"Get>__12CInputStreamFRC40TType>": +/* 802DF62C 002DC58C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF630 002DC590 7C 08 02 A6 */ mflr r0 +/* 802DF634 002DC594 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF638 002DC598 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DF63C 002DC59C 7C 7F 1B 78 */ mr r31, r3 +/* 802DF640 002DC5A0 38 7F 00 04 */ addi r3, r31, 4 +/* 802DF644 002DC5A4 80 04 00 00 */ lwz r0, 0(r4) +/* 802DF648 002DC5A8 38 84 00 04 */ addi r4, r4, 4 +/* 802DF64C 002DC5AC 90 1F 00 00 */ stw r0, 0(r31) +/* 802DF650 002DC5B0 4B D5 0E 81 */ bl __ct__14CCharacterInfoFRC14CCharacterInfo +/* 802DF654 002DC5B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF658 002DC5B8 7F E3 FB 78 */ mr r3, r31 +/* 802DF65C 002DC5BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DF660 002DC5C0 7C 08 03 A6 */ mtlr r0 +/* 802DF664 002DC5C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF668 002DC5C8 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66map,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl7lessRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl66map,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl7lessRCQ24rstl17rmemory_allocator": +/* 802DF66C 002DC5CC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802DF670 002DC5D0 7C 08 02 A6 */ mflr r0 +/* 802DF674 002DC5D4 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802DF678 002DC5D8 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802DF67C 002DC5DC 7C 9F 23 78 */ mr r31, r4 +/* 802DF680 002DC5E0 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802DF684 002DC5E4 7C 7E 1B 78 */ mr r30, r3 +/* 802DF688 002DC5E8 7F E3 FB 78 */ mr r3, r31 +/* 802DF68C 002DC5EC 48 05 F5 F9 */ bl ReadLong__12CInputStreamFv +/* 802DF690 002DC5F0 90 7E 00 00 */ stw r3, 0(r30) +/* 802DF694 002DC5F4 7F E4 FB 78 */ mr r4, r31 +/* 802DF698 002DC5F8 38 61 00 0C */ addi r3, r1, 0xc +/* 802DF69C 002DC5FC 38 A1 00 08 */ addi r5, r1, 8 +/* 802DF6A0 002DC600 88 0D A6 F0 */ lbz r0, lbl_805A92B0@sda21(r13) +/* 802DF6A4 002DC604 98 01 00 08 */ stb r0, 8(r1) +/* 802DF6A8 002DC608 48 00 00 39 */ bl "Get<14CCharacterInfo>__12CInputStreamFRC23TType<14CCharacterInfo>" +/* 802DF6AC 002DC60C 38 7E 00 04 */ addi r3, r30, 4 +/* 802DF6B0 002DC610 38 81 00 0C */ addi r4, r1, 0xc +/* 802DF6B4 002DC614 4B D5 0E 1D */ bl __ct__14CCharacterInfoFRC14CCharacterInfo +/* 802DF6B8 002DC618 38 61 00 0C */ addi r3, r1, 0xc +/* 802DF6BC 002DC61C 38 80 FF FF */ li r4, -1 +/* 802DF6C0 002DC620 4B D4 F8 05 */ bl __dt__14CCharacterInfoFv +/* 802DF6C4 002DC624 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802DF6C8 002DC628 7F C3 F3 78 */ mr r3, r30 +/* 802DF6CC 002DC62C 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 802DF6D0 002DC630 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 802DF6D4 002DC634 7C 08 03 A6 */ mtlr r0 +/* 802DF6D8 002DC638 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802DF6DC 002DC63C 4E 80 00 20 */ blr + +.global "Get<14CCharacterInfo>__12CInputStreamFRC23TType<14CCharacterInfo>" +"Get<14CCharacterInfo>__12CInputStreamFRC23TType<14CCharacterInfo>": +/* 802DF6E0 002DC640 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DF6E4 002DC644 7C 08 02 A6 */ mflr r0 +/* 802DF6E8 002DC648 7C 85 23 78 */ mr r5, r4 +/* 802DF6EC 002DC64C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DF6F0 002DC650 38 81 00 08 */ addi r4, r1, 8 +/* 802DF6F4 002DC654 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DF6F8 002DC658 7C 7F 1B 78 */ mr r31, r3 +/* 802DF6FC 002DC65C 88 0D A6 F4 */ lbz r0, lbl_805A92B4@sda21(r13) +/* 802DF700 002DC660 98 01 00 08 */ stb r0, 8(r1) +/* 802DF704 002DC664 48 00 00 19 */ bl "cinput_stream_helper<14CCharacterInfo>__FRC23TType<14CCharacterInfo>R12CInputStream" +/* 802DF708 002DC668 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DF70C 002DC66C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DF710 002DC670 7C 08 03 A6 */ mtlr r0 +/* 802DF714 002DC674 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DF718 002DC678 4E 80 00 20 */ blr + +.global "cinput_stream_helper<14CCharacterInfo>__FRC23TType<14CCharacterInfo>R12CInputStream" +"cinput_stream_helper<14CCharacterInfo>__FRC23TType<14CCharacterInfo>R12CInputStream": +/* 802DF71C 002DC67C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF720 002DC680 7C 08 02 A6 */ mflr r0 +/* 802DF724 002DC684 7C A4 2B 78 */ mr r4, r5 +/* 802DF728 002DC688 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF72C 002DC68C 4B FF E2 85 */ bl __ct__14CCharacterInfoFR12CInputStream +/* 802DF730 002DC690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF734 002DC694 7C 08 03 A6 */ mtlr r0 +/* 802DF738 002DC698 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF73C 002DC69C 4E 80 00 20 */ blr + +.global sub_802df740 +sub_802df740: +/* 802DF740 002DC6A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF744 002DC6A4 7C 08 02 A6 */ mflr r0 +/* 802DF748 002DC6A8 38 80 FF FF */ li r4, -1 +/* 802DF74C 002DC6AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF750 002DC6B0 4B FF 8C BD */ bl __dt__13CAnimationSetFv +/* 802DF754 002DC6B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF758 002DC6B8 7C 08 03 A6 */ mtlr r0 +/* 802DF75C 002DC6BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF760 002DC6C0 4E 80 00 20 */ blr + +.global sub_802df764 +sub_802df764: +/* 802DF764 002DC6C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802DF768 002DC6C8 7C 08 02 A6 */ mflr r0 +/* 802DF76C 002DC6CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802DF770 002DC6D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802DF774 002DC6D4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802DF778 002DC6D8 7C 9E 23 78 */ mr r30, r4 +/* 802DF77C 002DC6DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802DF780 002DC6E0 7C 7D 1B 78 */ mr r29, r3 +/* 802DF784 002DC6E4 80 03 00 08 */ lwz r0, 8(r3) +/* 802DF788 002DC6E8 7C 1E 00 00 */ cmpw r30, r0 +/* 802DF78C 002DC6EC 40 81 00 8C */ ble lbl_802DF818 +/* 802DF790 002DC6F0 1C 7E 00 C4 */ mulli r3, r30, 0xc4 +/* 802DF794 002DC6F4 2C 03 00 00 */ cmpwi r3, 0 +/* 802DF798 002DC6F8 40 82 00 0C */ bne lbl_802DF7A4 +/* 802DF79C 002DC6FC 3B E0 00 00 */ li r31, 0 +/* 802DF7A0 002DC700 48 00 00 18 */ b lbl_802DF7B8 +lbl_802DF7A4: +/* 802DF7A4 002DC704 3C 80 80 3D */ lis r4, lbl_803D6D50@ha +/* 802DF7A8 002DC708 38 A0 00 00 */ li r5, 0 +/* 802DF7AC 002DC70C 38 84 6D 50 */ addi r4, r4, lbl_803D6D50@l +/* 802DF7B0 002DC710 48 03 60 69 */ bl __nwa__FUlPCcPCc +/* 802DF7B4 002DC714 7C 7F 1B 78 */ mr r31, r3 +lbl_802DF7B8: +/* 802DF7B8 002DC718 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DF7BC 002DC71C 7F E5 FB 78 */ mr r5, r31 +/* 802DF7C0 002DC720 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 802DF7C4 002DC724 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DF7C8 002DC728 1C 00 00 C4 */ mulli r0, r0, 0xc4 +/* 802DF7CC 002DC72C 38 81 00 0C */ addi r4, r1, 0xc +/* 802DF7D0 002DC730 7C C6 02 14 */ add r6, r6, r0 +/* 802DF7D4 002DC734 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802DF7D8 002DC738 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802DF7DC 002DC73C 90 C1 00 08 */ stw r6, 8(r1) +/* 802DF7E0 002DC740 90 01 00 10 */ stw r0, 0x10(r1) +/* 802DF7E4 002DC744 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF7E8 002DC748 48 00 00 99 */ bl "__ct__Q24rstl150red_black_tree,0,Q24rstl44select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl44select1st>RCQ24rstl7lessRCQ24rstl17rmemory_allocator" +/* 802DF7EC 002DC74C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802DF7F0 002DC750 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DF7F4 002DC754 1C 00 00 C4 */ mulli r0, r0, 0xc4 +/* 802DF7F8 002DC758 7C 83 02 14 */ add r4, r3, r0 +/* 802DF7FC 002DC75C 48 00 00 39 */ bl sub_802df834 +/* 802DF800 002DC760 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802DF804 002DC764 28 03 00 00 */ cmplwi r3, 0 +/* 802DF808 002DC768 41 82 00 08 */ beq lbl_802DF810 +/* 802DF80C 002DC76C 48 03 61 25 */ bl Free__7CMemoryFPCv +lbl_802DF810: +/* 802DF810 002DC770 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802DF814 002DC774 93 DD 00 08 */ stw r30, 8(r29) +lbl_802DF818: +/* 802DF818 002DC778 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802DF81C 002DC77C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802DF820 002DC780 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802DF824 002DC784 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802DF828 002DC788 7C 08 03 A6 */ mtlr r0 +/* 802DF82C 002DC78C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802DF830 002DC790 4E 80 00 20 */ blr + +.global sub_802df834 +sub_802df834: +/* 802DF834 002DC794 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF838 002DC798 7C 08 02 A6 */ mflr r0 +/* 802DF83C 002DC79C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF840 002DC7A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DF844 002DC7A4 7C 7F 1B 78 */ mr r31, r3 +/* 802DF848 002DC7A8 93 C1 00 08 */ stw r30, 8(r1) +/* 802DF84C 002DC7AC 7C 9E 23 78 */ mr r30, r4 +/* 802DF850 002DC7B0 48 00 00 10 */ b lbl_802DF860 +lbl_802DF854: +/* 802DF854 002DC7B4 7F E3 FB 78 */ mr r3, r31 +/* 802DF858 002DC7B8 4B FF FE E9 */ bl sub_802df740 +/* 802DF85C 002DC7BC 3B FF 00 C4 */ addi r31, r31, 0xc4 +lbl_802DF860: +/* 802DF860 002DC7C0 7C 1F F0 40 */ cmplw r31, r30 +/* 802DF864 002DC7C4 40 82 FF F0 */ bne lbl_802DF854 +/* 802DF868 002DC7C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF86C 002DC7CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DF870 002DC7D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DF874 002DC7D4 7C 08 03 A6 */ mtlr r0 +/* 802DF878 002DC7D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF87C 002DC7DC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl150red_black_tree,0,Q24rstl44select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl44select1st>RCQ24rstl7lessRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl150red_black_tree,0,Q24rstl44select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl44select1st>RCQ24rstl7lessRCQ24rstl17rmemory_allocator": +/* 802DF880 002DC7E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DF884 002DC7E4 7C 08 02 A6 */ mflr r0 +/* 802DF888 002DC7E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DF88C 002DC7EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DF890 002DC7F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DF894 002DC7F4 7C BE 2B 78 */ mr r30, r5 +/* 802DF898 002DC7F8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802DF89C 002DC7FC 7C 9D 23 78 */ mr r29, r4 +/* 802DF8A0 002DC800 83 E3 00 00 */ lwz r31, 0(r3) +/* 802DF8A4 002DC804 48 00 00 18 */ b lbl_802DF8BC +lbl_802DF8A8: +/* 802DF8A8 002DC808 7F C3 F3 78 */ mr r3, r30 +/* 802DF8AC 002DC80C 7F E4 FB 78 */ mr r4, r31 +/* 802DF8B0 002DC810 4B FF FD 55 */ bl "__ct__Q34rstl150red_black_tree,0,Q24rstl44select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>6headerFv" +/* 802DF8B4 002DC814 3B DE 00 C4 */ addi r30, r30, 0xc4 +/* 802DF8B8 002DC818 3B FF 00 C4 */ addi r31, r31, 0xc4 +lbl_802DF8BC: +/* 802DF8BC 002DC81C 80 1D 00 00 */ lwz r0, 0(r29) +/* 802DF8C0 002DC820 7C 1F 00 40 */ cmplw r31, r0 +/* 802DF8C4 002DC824 40 82 FF E4 */ bne lbl_802DF8A8 +/* 802DF8C8 002DC828 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DF8CC 002DC82C 7F C3 F3 78 */ mr r3, r30 +/* 802DF8D0 002DC830 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DF8D4 002DC834 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DF8D8 002DC838 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802DF8DC 002DC83C 7C 08 03 A6 */ mtlr r0 +/* 802DF8E0 002DC840 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DF8E4 002DC844 4E 80 00 20 */ blr + +.global __dt__14CMetaAnimBlendFv +__dt__14CMetaAnimBlendFv: +/* 802DF8E8 002DC848 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DF8EC 002DC84C 7C 08 02 A6 */ mflr r0 +/* 802DF8F0 002DC850 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DF8F4 002DC854 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DF8F8 002DC858 7C 9F 23 78 */ mr r31, r4 +/* 802DF8FC 002DC85C 93 C1 00 08 */ stw r30, 8(r1) +/* 802DF900 002DC860 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802DF904 002DC864 41 82 00 54 */ beq lbl_802DF958 +/* 802DF908 002DC868 3C 60 80 3F */ lis r3, lbl_803ECCD0@ha +/* 802DF90C 002DC86C 34 1E 00 08 */ addic. r0, r30, 8 +/* 802DF910 002DC870 38 03 CC D0 */ addi r0, r3, lbl_803ECCD0@l +/* 802DF914 002DC874 90 1E 00 00 */ stw r0, 0(r30) +/* 802DF918 002DC878 41 82 00 0C */ beq lbl_802DF924 +/* 802DF91C 002DC87C 38 7E 00 08 */ addi r3, r30, 8 +/* 802DF920 002DC880 4B D5 16 11 */ bl sub_80030f30 +lbl_802DF924: +/* 802DF924 002DC884 34 1E 00 04 */ addic. r0, r30, 4 +/* 802DF928 002DC888 41 82 00 0C */ beq lbl_802DF934 +/* 802DF92C 002DC88C 38 7E 00 04 */ addi r3, r30, 4 +/* 802DF930 002DC890 4B D5 16 01 */ bl sub_80030f30 +lbl_802DF934: +/* 802DF934 002DC894 28 1E 00 00 */ cmplwi r30, 0 +/* 802DF938 002DC898 41 82 00 10 */ beq lbl_802DF948 +/* 802DF93C 002DC89C 3C 60 80 3F */ lis r3, lbl_803ECDF0@ha +/* 802DF940 002DC8A0 38 03 CD F0 */ addi r0, r3, lbl_803ECDF0@l +/* 802DF944 002DC8A4 90 1E 00 00 */ stw r0, 0(r30) +lbl_802DF948: +/* 802DF948 002DC8A8 7F E0 07 35 */ extsh. r0, r31 +/* 802DF94C 002DC8AC 40 81 00 0C */ ble lbl_802DF958 +/* 802DF950 002DC8B0 7F C3 F3 78 */ mr r3, r30 +/* 802DF954 002DC8B4 48 03 5F DD */ bl Free__7CMemoryFPCv +lbl_802DF958: +/* 802DF958 002DC8B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DF95C 002DC8BC 7F C3 F3 78 */ mr r3, r30 +/* 802DF960 002DC8C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DF964 002DC8C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DF968 002DC8C8 7C 08 03 A6 */ mtlr r0 +/* 802DF96C 002DC8CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DF970 002DC8D0 4E 80 00 20 */ blr + +.global GetType__14CMetaAnimBlendCFv +GetType__14CMetaAnimBlendCFv: +/* 802DF974 002DC8D4 38 60 00 01 */ li r3, 1 +/* 802DF978 002DC8D8 4E 80 00 20 */ blr + +.global WriteAnimData__14CMetaAnimBlendCFR13COutputStream +WriteAnimData__14CMetaAnimBlendCFR13COutputStream: +/* 802DF97C 002DC8DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DF980 002DC8E0 7C 08 02 A6 */ mflr r0 +/* 802DF984 002DC8E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DF988 002DC8E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DF98C 002DC8EC 7C 7F 1B 78 */ mr r31, r3 +/* 802DF990 002DC8F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DF994 002DC8F4 7C 9E 23 78 */ mr r30, r4 +/* 802DF998 002DC8F8 80 63 00 04 */ lwz r3, 4(r3) +/* 802DF99C 002DC8FC 80 63 00 00 */ lwz r3, 0(r3) +/* 802DF9A0 002DC900 48 00 79 81 */ bl PutTo__9IMetaAnimCFR13COutputStream +/* 802DF9A4 002DC904 80 7F 00 08 */ lwz r3, 8(r31) +/* 802DF9A8 002DC908 7F C4 F3 78 */ mr r4, r30 +/* 802DF9AC 002DC90C 80 63 00 00 */ lwz r3, 0(r3) +/* 802DF9B0 002DC910 48 00 79 71 */ bl PutTo__9IMetaAnimCFR13COutputStream +/* 802DF9B4 002DC914 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802DF9B8 002DC918 7F C3 F3 78 */ mr r3, r30 +/* 802DF9BC 002DC91C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802DF9C0 002DC920 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DF9C4 002DC924 90 01 00 08 */ stw r0, 8(r1) +/* 802DF9C8 002DC928 48 05 FA F1 */ bl FlushShiftRegister__13COutputStreamFv +/* 802DF9CC 002DC92C 7F C3 F3 78 */ mr r3, r30 +/* 802DF9D0 002DC930 38 81 00 08 */ addi r4, r1, 8 +/* 802DF9D4 002DC934 38 A0 00 04 */ li r5, 4 +/* 802DF9D8 002DC938 48 05 FB D1 */ bl DoPut__13COutputStreamFPCvUl +/* 802DF9DC 002DC93C 88 9F 00 10 */ lbz r4, 0x10(r31) +/* 802DF9E0 002DC940 7F C3 F3 78 */ mr r3, r30 +/* 802DF9E4 002DC944 7C 04 00 D0 */ neg r0, r4 +/* 802DF9E8 002DC948 7C 00 23 78 */ or r0, r0, r4 +/* 802DF9EC 002DC94C 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 802DF9F0 002DC950 48 05 FA C9 */ bl FlushShiftRegister__13COutputStreamFv +/* 802DF9F4 002DC954 80 7E 00 04 */ lwz r3, 4(r30) +/* 802DF9F8 002DC958 80 1E 00 08 */ lwz r0, 8(r30) +/* 802DF9FC 002DC95C 7C 03 00 40 */ cmplw r3, r0 +/* 802DFA00 002DC960 41 80 00 0C */ blt lbl_802DFA0C +/* 802DFA04 002DC964 7F C3 F3 78 */ mr r3, r30 +/* 802DFA08 002DC968 48 05 FB 1D */ bl DoFlush__13COutputStreamFv +lbl_802DFA0C: +/* 802DFA0C 002DC96C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802DFA10 002DC970 38 03 00 01 */ addi r0, r3, 1 +/* 802DFA14 002DC974 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802DFA18 002DC978 80 7E 00 04 */ lwz r3, 4(r30) +/* 802DFA1C 002DC97C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802DFA20 002DC980 38 03 00 01 */ addi r0, r3, 1 +/* 802DFA24 002DC984 90 1E 00 04 */ stw r0, 4(r30) +/* 802DFA28 002DC988 7F E4 19 AE */ stbx r31, r4, r3 +/* 802DFA2C 002DC98C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DFA30 002DC990 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DFA34 002DC994 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DFA38 002DC998 7C 08 03 A6 */ mtlr r0 +/* 802DFA3C 002DC99C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DFA40 002DC9A0 4E 80 00 20 */ blr + +.global "GetUniquePrimitives__14CMetaAnimBlendCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +"GetUniquePrimitives__14CMetaAnimBlendCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>": +/* 802DFA44 002DC9A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802DFA48 002DC9A8 7C 08 02 A6 */ mflr r0 +/* 802DFA4C 002DC9AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802DFA50 002DC9B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802DFA54 002DC9B4 7C 9F 23 78 */ mr r31, r4 +/* 802DFA58 002DC9B8 93 C1 00 08 */ stw r30, 8(r1) +/* 802DFA5C 002DC9BC 7C 7E 1B 78 */ mr r30, r3 +/* 802DFA60 002DC9C0 80 63 00 04 */ lwz r3, 4(r3) +/* 802DFA64 002DC9C4 80 63 00 00 */ lwz r3, 0(r3) +/* 802DFA68 002DC9C8 81 83 00 00 */ lwz r12, 0(r3) +/* 802DFA6C 002DC9CC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802DFA70 002DC9D0 7D 89 03 A6 */ mtctr r12 +/* 802DFA74 002DC9D4 4E 80 04 21 */ bctrl +/* 802DFA78 002DC9D8 80 7E 00 08 */ lwz r3, 8(r30) +/* 802DFA7C 002DC9DC 7F E4 FB 78 */ mr r4, r31 +/* 802DFA80 002DC9E0 80 63 00 00 */ lwz r3, 0(r3) +/* 802DFA84 002DC9E4 81 83 00 00 */ lwz r12, 0(r3) +/* 802DFA88 002DC9E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802DFA8C 002DC9EC 7D 89 03 A6 */ mtctr r12 +/* 802DFA90 002DC9F0 4E 80 04 21 */ bctrl +/* 802DFA94 002DC9F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802DFA98 002DC9F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802DFA9C 002DC9FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802DFAA0 002DCA00 7C 08 03 A6 */ mtlr r0 +/* 802DFAA4 002DCA04 38 21 00 10 */ addi r1, r1, 0x10 +/* 802DFAA8 002DCA08 4E 80 00 20 */ blr + +.global VGetAnimationTree__14CMetaAnimBlendCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders +VGetAnimationTree__14CMetaAnimBlendCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders: +/* 802DFAAC 002DCA0C 94 21 FC F0 */ stwu r1, -0x310(r1) +/* 802DFAB0 002DCA10 7C 08 02 A6 */ mflr r0 +/* 802DFAB4 002DCA14 90 01 03 14 */ stw r0, 0x314(r1) +/* 802DFAB8 002DCA18 DB E1 03 00 */ stfd f31, 0x300(r1) +/* 802DFABC 002DCA1C F3 E1 03 08 */ psq_st f31, 776(r1), 0, qr0 +/* 802DFAC0 002DCA20 BE E1 02 DC */ stmw r23, 0x2dc(r1) +/* 802DFAC4 002DCA24 7C 7C 1B 78 */ mr r28, r3 +/* 802DFAC8 002DCA28 7C 9D 23 78 */ mr r29, r4 +/* 802DFACC 002DCA2C 7C BE 2B 78 */ mr r30, r5 +/* 802DFAD0 002DCA30 7C DF 33 78 */ mr r31, r6 +/* 802DFAD4 002DCA34 38 61 01 38 */ addi r3, r1, 0x138 +/* 802DFAD8 002DCA38 48 00 7D 41 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802DFADC 002DCA3C 88 01 01 78 */ lbz r0, 0x178(r1) +/* 802DFAE0 002DCA40 3A E1 02 48 */ addi r23, r1, 0x248 +/* 802DFAE4 002DCA44 28 00 00 00 */ cmplwi r0, 0 +/* 802DFAE8 002DCA48 98 01 02 88 */ stb r0, 0x288(r1) +/* 802DFAEC 002DCA4C 41 82 00 8C */ beq lbl_802DFB78 +/* 802DFAF0 002DCA50 28 17 00 00 */ cmplwi r23, 0 +/* 802DFAF4 002DCA54 41 82 00 84 */ beq lbl_802DFB78 +/* 802DFAF8 002DCA58 8B 01 01 38 */ lbz r24, 0x138(r1) +/* 802DFAFC 002DCA5C C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 802DFB00 002DCA60 83 21 01 40 */ lwz r25, 0x140(r1) +/* 802DFB04 002DCA64 83 61 01 44 */ lwz r27, 0x144(r1) +/* 802DFB08 002DCA68 83 41 01 48 */ lwz r26, 0x148(r1) +/* 802DFB0C 002DCA6C 81 81 01 4C */ lwz r12, 0x14c(r1) +/* 802DFB10 002DCA70 81 61 01 50 */ lwz r11, 0x150(r1) +/* 802DFB14 002DCA74 81 41 01 54 */ lwz r10, 0x154(r1) +/* 802DFB18 002DCA78 81 21 01 58 */ lwz r9, 0x158(r1) +/* 802DFB1C 002DCA7C 81 01 01 5C */ lwz r8, 0x15c(r1) +/* 802DFB20 002DCA80 80 E1 01 60 */ lwz r7, 0x160(r1) +/* 802DFB24 002DCA84 80 C1 01 64 */ lwz r6, 0x164(r1) +/* 802DFB28 002DCA88 80 A1 01 68 */ lwz r5, 0x168(r1) +/* 802DFB2C 002DCA8C 80 81 01 6C */ lwz r4, 0x16c(r1) +/* 802DFB30 002DCA90 80 61 01 70 */ lwz r3, 0x170(r1) +/* 802DFB34 002DCA94 A0 01 01 74 */ lhz r0, 0x174(r1) +/* 802DFB38 002DCA98 9B 01 02 48 */ stb r24, 0x248(r1) +/* 802DFB3C 002DCA9C D0 01 02 4C */ stfs f0, 0x24c(r1) +/* 802DFB40 002DCAA0 93 21 02 50 */ stw r25, 0x250(r1) +/* 802DFB44 002DCAA4 93 61 02 54 */ stw r27, 0x254(r1) +/* 802DFB48 002DCAA8 93 41 02 58 */ stw r26, 0x258(r1) +/* 802DFB4C 002DCAAC 91 81 02 5C */ stw r12, 0x25c(r1) +/* 802DFB50 002DCAB0 91 61 02 60 */ stw r11, 0x260(r1) +/* 802DFB54 002DCAB4 91 41 02 64 */ stw r10, 0x264(r1) +/* 802DFB58 002DCAB8 91 21 02 68 */ stw r9, 0x268(r1) +/* 802DFB5C 002DCABC 91 01 02 6C */ stw r8, 0x26c(r1) +/* 802DFB60 002DCAC0 90 E1 02 70 */ stw r7, 0x270(r1) +/* 802DFB64 002DCAC4 90 C1 02 74 */ stw r6, 0x274(r1) +/* 802DFB68 002DCAC8 90 A1 02 78 */ stw r5, 0x278(r1) +/* 802DFB6C 002DCACC 90 81 02 7C */ stw r4, 0x27c(r1) +/* 802DFB70 002DCAD0 90 61 02 80 */ stw r3, 0x280(r1) +/* 802DFB74 002DCAD4 B0 01 02 84 */ sth r0, 0x284(r1) +lbl_802DFB78: +/* 802DFB78 002DCAD8 88 01 01 BC */ lbz r0, 0x1bc(r1) +/* 802DFB7C 002DCADC 28 00 00 00 */ cmplwi r0, 0 +/* 802DFB80 002DCAE0 98 01 02 CC */ stb r0, 0x2cc(r1) +/* 802DFB84 002DCAE4 41 82 00 8C */ beq lbl_802DFC10 +/* 802DFB88 002DCAE8 34 97 00 44 */ addic. r4, r23, 0x44 +/* 802DFB8C 002DCAEC 41 82 00 84 */ beq lbl_802DFC10 +/* 802DFB90 002DCAF0 88 01 01 7C */ lbz r0, 0x17c(r1) +/* 802DFB94 002DCAF4 98 04 00 00 */ stb r0, 0(r4) +/* 802DFB98 002DCAF8 C0 01 01 80 */ lfs f0, 0x180(r1) +/* 802DFB9C 002DCAFC D0 04 00 04 */ stfs f0, 4(r4) +/* 802DFBA0 002DCB00 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802DFBA4 002DCB04 90 04 00 08 */ stw r0, 8(r4) +/* 802DFBA8 002DCB08 80 61 01 88 */ lwz r3, 0x188(r1) +/* 802DFBAC 002DCB0C 80 01 01 8C */ lwz r0, 0x18c(r1) +/* 802DFBB0 002DCB10 90 64 00 0C */ stw r3, 0xc(r4) +/* 802DFBB4 002DCB14 90 04 00 10 */ stw r0, 0x10(r4) +/* 802DFBB8 002DCB18 80 61 01 90 */ lwz r3, 0x190(r1) +/* 802DFBBC 002DCB1C 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802DFBC0 002DCB20 90 64 00 14 */ stw r3, 0x14(r4) +/* 802DFBC4 002DCB24 90 04 00 18 */ stw r0, 0x18(r4) +/* 802DFBC8 002DCB28 80 61 01 98 */ lwz r3, 0x198(r1) +/* 802DFBCC 002DCB2C 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 802DFBD0 002DCB30 90 64 00 1C */ stw r3, 0x1c(r4) +/* 802DFBD4 002DCB34 90 04 00 20 */ stw r0, 0x20(r4) +/* 802DFBD8 002DCB38 80 61 01 A0 */ lwz r3, 0x1a0(r1) +/* 802DFBDC 002DCB3C 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802DFBE0 002DCB40 90 64 00 24 */ stw r3, 0x24(r4) +/* 802DFBE4 002DCB44 90 04 00 28 */ stw r0, 0x28(r4) +/* 802DFBE8 002DCB48 80 61 01 A8 */ lwz r3, 0x1a8(r1) +/* 802DFBEC 002DCB4C 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 802DFBF0 002DCB50 90 64 00 2C */ stw r3, 0x2c(r4) +/* 802DFBF4 002DCB54 90 04 00 30 */ stw r0, 0x30(r4) +/* 802DFBF8 002DCB58 80 61 01 B0 */ lwz r3, 0x1b0(r1) +/* 802DFBFC 002DCB5C 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 802DFC00 002DCB60 90 64 00 34 */ stw r3, 0x34(r4) +/* 802DFC04 002DCB64 90 04 00 38 */ stw r0, 0x38(r4) +/* 802DFC08 002DCB68 A0 01 01 B8 */ lhz r0, 0x1b8(r1) +/* 802DFC0C 002DCB6C B0 04 00 3C */ sth r0, 0x3c(r4) +lbl_802DFC10: +/* 802DFC10 002DCB70 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802DFC14 002DCB74 38 60 00 00 */ li r3, 0 +/* 802DFC18 002DCB78 98 61 01 BC */ stb r3, 0x1bc(r1) +/* 802DFC1C 002DCB7C 3B 60 00 00 */ li r27, 0 +/* 802DFC20 002DCB80 28 00 00 00 */ cmplwi r0, 0 +/* 802DFC24 002DCB84 3B 40 00 00 */ li r26, 0 +/* 802DFC28 002DCB88 98 61 01 78 */ stb r3, 0x178(r1) +/* 802DFC2C 002DCB8C 41 82 00 1C */ beq lbl_802DFC48 +/* 802DFC30 002DCB90 7F E4 FB 78 */ mr r4, r31 +/* 802DFC34 002DCB94 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802DFC38 002DCB98 48 00 79 69 */ bl PreAdvanceForAll__24CMetaAnimTreeBuildOrdersFRC20CPreAdvanceIndicator +/* 802DFC3C 002DCB9C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802DFC40 002DCBA0 3B 60 00 01 */ li r27, 1 +/* 802DFC44 002DCBA4 48 00 00 14 */ b lbl_802DFC58 +lbl_802DFC48: +/* 802DFC48 002DCBA8 38 61 00 28 */ addi r3, r1, 0x28 +/* 802DFC4C 002DCBAC 48 00 7B CD */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802DFC50 002DCBB0 3B 40 00 01 */ li r26, 1 +/* 802DFC54 002DCBB4 38 61 00 28 */ addi r3, r1, 0x28 +lbl_802DFC58: +/* 802DFC58 002DCBB8 88 03 00 40 */ lbz r0, 0x40(r3) +/* 802DFC5C 002DCBBC 38 A1 01 C0 */ addi r5, r1, 0x1c0 +/* 802DFC60 002DCBC0 28 00 00 00 */ cmplwi r0, 0 +/* 802DFC64 002DCBC4 98 01 02 00 */ stb r0, 0x200(r1) +/* 802DFC68 002DCBC8 41 82 00 8C */ beq lbl_802DFCF4 +/* 802DFC6C 002DCBCC 28 05 00 00 */ cmplwi r5, 0 +/* 802DFC70 002DCBD0 41 82 00 84 */ beq lbl_802DFCF4 +/* 802DFC74 002DCBD4 88 03 00 00 */ lbz r0, 0(r3) +/* 802DFC78 002DCBD8 98 01 01 C0 */ stb r0, 0x1c0(r1) +/* 802DFC7C 002DCBDC C0 03 00 04 */ lfs f0, 4(r3) +/* 802DFC80 002DCBE0 D0 01 01 C4 */ stfs f0, 0x1c4(r1) +/* 802DFC84 002DCBE4 80 03 00 08 */ lwz r0, 8(r3) +/* 802DFC88 002DCBE8 90 01 01 C8 */ stw r0, 0x1c8(r1) +/* 802DFC8C 002DCBEC 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802DFC90 002DCBF0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802DFC94 002DCBF4 90 81 01 CC */ stw r4, 0x1cc(r1) +/* 802DFC98 002DCBF8 90 01 01 D0 */ stw r0, 0x1d0(r1) +/* 802DFC9C 002DCBFC 80 83 00 14 */ lwz r4, 0x14(r3) +/* 802DFCA0 002DCC00 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802DFCA4 002DCC04 90 81 01 D4 */ stw r4, 0x1d4(r1) +/* 802DFCA8 002DCC08 90 01 01 D8 */ stw r0, 0x1d8(r1) +/* 802DFCAC 002DCC0C 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 802DFCB0 002DCC10 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802DFCB4 002DCC14 90 81 01 DC */ stw r4, 0x1dc(r1) +/* 802DFCB8 002DCC18 90 01 01 E0 */ stw r0, 0x1e0(r1) +/* 802DFCBC 002DCC1C 80 83 00 24 */ lwz r4, 0x24(r3) +/* 802DFCC0 002DCC20 80 03 00 28 */ lwz r0, 0x28(r3) +/* 802DFCC4 002DCC24 90 81 01 E4 */ stw r4, 0x1e4(r1) +/* 802DFCC8 002DCC28 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 802DFCCC 002DCC2C 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 802DFCD0 002DCC30 80 03 00 30 */ lwz r0, 0x30(r3) +/* 802DFCD4 002DCC34 90 81 01 EC */ stw r4, 0x1ec(r1) +/* 802DFCD8 002DCC38 90 01 01 F0 */ stw r0, 0x1f0(r1) +/* 802DFCDC 002DCC3C 80 83 00 34 */ lwz r4, 0x34(r3) +/* 802DFCE0 002DCC40 80 03 00 38 */ lwz r0, 0x38(r3) +/* 802DFCE4 002DCC44 90 81 01 F4 */ stw r4, 0x1f4(r1) +/* 802DFCE8 002DCC48 90 01 01 F8 */ stw r0, 0x1f8(r1) +/* 802DFCEC 002DCC4C A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 802DFCF0 002DCC50 B0 01 01 FC */ sth r0, 0x1fc(r1) +lbl_802DFCF4: +/* 802DFCF4 002DCC54 88 03 00 84 */ lbz r0, 0x84(r3) +/* 802DFCF8 002DCC58 28 00 00 00 */ cmplwi r0, 0 +/* 802DFCFC 002DCC5C 98 01 02 44 */ stb r0, 0x244(r1) +/* 802DFD00 002DCC60 41 82 00 8C */ beq lbl_802DFD8C +/* 802DFD04 002DCC64 34 A5 00 44 */ addic. r5, r5, 0x44 +/* 802DFD08 002DCC68 41 82 00 84 */ beq lbl_802DFD8C +/* 802DFD0C 002DCC6C 88 03 00 44 */ lbz r0, 0x44(r3) +/* 802DFD10 002DCC70 98 05 00 00 */ stb r0, 0(r5) +/* 802DFD14 002DCC74 C0 03 00 48 */ lfs f0, 0x48(r3) +/* 802DFD18 002DCC78 D0 05 00 04 */ stfs f0, 4(r5) +/* 802DFD1C 002DCC7C 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 802DFD20 002DCC80 90 05 00 08 */ stw r0, 8(r5) +/* 802DFD24 002DCC84 80 83 00 50 */ lwz r4, 0x50(r3) +/* 802DFD28 002DCC88 80 03 00 54 */ lwz r0, 0x54(r3) +/* 802DFD2C 002DCC8C 90 85 00 0C */ stw r4, 0xc(r5) +/* 802DFD30 002DCC90 90 05 00 10 */ stw r0, 0x10(r5) +/* 802DFD34 002DCC94 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802DFD38 002DCC98 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802DFD3C 002DCC9C 90 85 00 14 */ stw r4, 0x14(r5) +/* 802DFD40 002DCCA0 90 05 00 18 */ stw r0, 0x18(r5) +/* 802DFD44 002DCCA4 80 83 00 60 */ lwz r4, 0x60(r3) +/* 802DFD48 002DCCA8 80 03 00 64 */ lwz r0, 0x64(r3) +/* 802DFD4C 002DCCAC 90 85 00 1C */ stw r4, 0x1c(r5) +/* 802DFD50 002DCCB0 90 05 00 20 */ stw r0, 0x20(r5) +/* 802DFD54 002DCCB4 80 83 00 68 */ lwz r4, 0x68(r3) +/* 802DFD58 002DCCB8 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 802DFD5C 002DCCBC 90 85 00 24 */ stw r4, 0x24(r5) +/* 802DFD60 002DCCC0 90 05 00 28 */ stw r0, 0x28(r5) +/* 802DFD64 002DCCC4 80 83 00 70 */ lwz r4, 0x70(r3) +/* 802DFD68 002DCCC8 80 03 00 74 */ lwz r0, 0x74(r3) +/* 802DFD6C 002DCCCC 90 85 00 2C */ stw r4, 0x2c(r5) +/* 802DFD70 002DCCD0 90 05 00 30 */ stw r0, 0x30(r5) +/* 802DFD74 002DCCD4 80 83 00 78 */ lwz r4, 0x78(r3) +/* 802DFD78 002DCCD8 80 03 00 7C */ lwz r0, 0x7c(r3) +/* 802DFD7C 002DCCDC 90 85 00 34 */ stw r4, 0x34(r5) +/* 802DFD80 002DCCE0 90 05 00 38 */ stw r0, 0x38(r5) +/* 802DFD84 002DCCE4 A0 03 00 80 */ lhz r0, 0x80(r3) +/* 802DFD88 002DCCE8 B0 05 00 3C */ sth r0, 0x3c(r5) +lbl_802DFD8C: +/* 802DFD8C 002DCCEC 7F 40 07 75 */ extsb. r0, r26 +/* 802DFD90 002DCCF0 41 82 00 10 */ beq lbl_802DFDA0 +/* 802DFD94 002DCCF4 38 00 00 00 */ li r0, 0 +/* 802DFD98 002DCCF8 98 01 00 AC */ stb r0, 0xac(r1) +/* 802DFD9C 002DCCFC 98 01 00 68 */ stb r0, 0x68(r1) +lbl_802DFDA0: +/* 802DFDA0 002DCD00 7F 60 07 75 */ extsb. r0, r27 +/* 802DFDA4 002DCD04 41 82 00 10 */ beq lbl_802DFDB4 +/* 802DFDA8 002DCD08 38 00 00 00 */ li r0, 0 +/* 802DFDAC 002DCD0C 98 01 01 34 */ stb r0, 0x134(r1) +/* 802DFDB0 002DCD10 98 01 00 F0 */ stb r0, 0xf0(r1) +lbl_802DFDB4: +/* 802DFDB4 002DCD14 80 9D 00 04 */ lwz r4, 4(r29) +/* 802DFDB8 002DCD18 7F C5 F3 78 */ mr r5, r30 +/* 802DFDBC 002DCD1C 38 61 00 0C */ addi r3, r1, 0xc +/* 802DFDC0 002DCD20 38 C1 02 48 */ addi r6, r1, 0x248 +/* 802DFDC4 002DCD24 80 84 00 00 */ lwz r4, 0(r4) +/* 802DFDC8 002DCD28 81 84 00 00 */ lwz r12, 0(r4) +/* 802DFDCC 002DCD2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802DFDD0 002DCD30 7D 89 03 A6 */ mtctr r12 +/* 802DFDD4 002DCD34 4E 80 04 21 */ bctrl +/* 802DFDD8 002DCD38 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802DFDDC 002DCD3C 38 61 00 0C */ addi r3, r1, 0xc +/* 802DFDE0 002DCD40 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802DFDE4 002DCD44 80 85 00 04 */ lwz r4, 4(r5) +/* 802DFDE8 002DCD48 38 04 00 01 */ addi r0, r4, 1 +/* 802DFDEC 002DCD4C 90 05 00 04 */ stw r0, 4(r5) +/* 802DFDF0 002DCD50 4B D5 11 B1 */ bl sub_80030fa0 +/* 802DFDF4 002DCD54 80 9D 00 08 */ lwz r4, 8(r29) +/* 802DFDF8 002DCD58 7F C5 F3 78 */ mr r5, r30 +/* 802DFDFC 002DCD5C 38 61 00 08 */ addi r3, r1, 8 +/* 802DFE00 002DCD60 38 C1 01 C0 */ addi r6, r1, 0x1c0 +/* 802DFE04 002DCD64 80 84 00 00 */ lwz r4, 0(r4) +/* 802DFE08 002DCD68 81 84 00 00 */ lwz r12, 0(r4) +/* 802DFE0C 002DCD6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802DFE10 002DCD70 7D 89 03 A6 */ mtctr r12 +/* 802DFE14 002DCD74 4E 80 04 21 */ bctrl +/* 802DFE18 002DCD78 80 A1 00 08 */ lwz r5, 8(r1) +/* 802DFE1C 002DCD7C 38 61 00 08 */ addi r3, r1, 8 +/* 802DFE20 002DCD80 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802DFE24 002DCD84 80 85 00 04 */ lwz r4, 4(r5) +/* 802DFE28 002DCD88 38 04 00 01 */ addi r0, r4, 1 +/* 802DFE2C 002DCD8C 90 05 00 04 */ stw r0, 4(r5) +/* 802DFE30 002DCD90 4B D5 11 71 */ bl sub_80030fa0 +/* 802DFE34 002DCD94 3C 60 80 3D */ lis r3, lbl_803D6D58@ha +/* 802DFE38 002DCD98 3A E0 00 00 */ li r23, 0 +/* 802DFE3C 002DCD9C 38 83 6D 58 */ addi r4, r3, lbl_803D6D58@l +/* 802DFE40 002DCDA0 38 A0 00 00 */ li r5, 0 +/* 802DFE44 002DCDA4 38 60 00 28 */ li r3, 0x28 +/* 802DFE48 002DCDA8 48 03 5A 25 */ bl __nw__FUlPCcPCc +/* 802DFE4C 002DCDAC 7C 78 1B 79 */ or. r24, r3, r3 +/* 802DFE50 002DCDB0 41 82 00 54 */ beq lbl_802DFEA4 +/* 802DFE54 002DCDB4 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 802DFE58 002DCDB8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DFE5C 002DCDBC 38 81 00 14 */ addi r4, r1, 0x14 +/* 802DFE60 002DCDC0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802DFE64 002DCDC4 48 01 23 45 */ bl "CreatePrimitiveName__14CAnimTreeBlendFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" +/* 802DFE68 002DCDC8 80 E2 C6 B8 */ lwz r7, lbl_805AE3D8@sda21(r2) +/* 802DFE6C 002DCDCC 7F 03 C3 78 */ mr r3, r24 +/* 802DFE70 002DCDD0 80 02 C6 BC */ lwz r0, lbl_805AE3DC@sda21(r2) +/* 802DFE74 002DCDD4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802DFE78 002DCDD8 C3 FD 00 0C */ lfs f31, 0xc(r29) +/* 802DFE7C 002DCDDC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802DFE80 002DCDE0 88 9D 00 10 */ lbz r4, 0x10(r29) +/* 802DFE84 002DCDE4 7C E7 03 78 */ or r7, r7, r0 +/* 802DFE88 002DCDE8 39 01 00 18 */ addi r8, r1, 0x18 +/* 802DFE8C 002DCDEC 3A E0 00 01 */ li r23, 1 +/* 802DFE90 002DCDF0 48 01 7B 99 */ bl "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802DFE94 002DCDF4 3C 60 80 3F */ lis r3, lbl_803ED0D8@ha +/* 802DFE98 002DCDF8 38 03 D0 D8 */ addi r0, r3, lbl_803ED0D8@l +/* 802DFE9C 002DCDFC 90 18 00 00 */ stw r0, 0(r24) +/* 802DFEA0 002DCE00 D3 F8 00 24 */ stfs f31, 0x24(r24) +lbl_802DFEA4: +/* 802DFEA4 002DCE04 3C 80 80 3D */ lis r4, lbl_803D6D58@ha +/* 802DFEA8 002DCE08 38 60 00 08 */ li r3, 8 +/* 802DFEAC 002DCE0C 38 84 6D 58 */ addi r4, r4, lbl_803D6D58@l +/* 802DFEB0 002DCE10 38 A0 00 00 */ li r5, 0 +/* 802DFEB4 002DCE14 48 03 59 B9 */ bl __nw__FUlPCcPCc +/* 802DFEB8 002DCE18 28 03 00 00 */ cmplwi r3, 0 +/* 802DFEBC 002DCE1C 41 82 00 10 */ beq lbl_802DFECC +/* 802DFEC0 002DCE20 93 03 00 00 */ stw r24, 0(r3) +/* 802DFEC4 002DCE24 38 00 00 01 */ li r0, 1 +/* 802DFEC8 002DCE28 90 03 00 04 */ stw r0, 4(r3) +lbl_802DFECC: +/* 802DFECC 002DCE2C 7E E0 07 75 */ extsb. r0, r23 +/* 802DFED0 002DCE30 90 7C 00 00 */ stw r3, 0(r28) +/* 802DFED4 002DCE34 41 82 00 0C */ beq lbl_802DFEE0 +/* 802DFED8 002DCE38 38 61 00 18 */ addi r3, r1, 0x18 +/* 802DFEDC 002DCE3C 48 05 DC 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802DFEE0: +/* 802DFEE0 002DCE40 38 61 00 10 */ addi r3, r1, 0x10 +/* 802DFEE4 002DCE44 4B D5 10 BD */ bl sub_80030fa0 +/* 802DFEE8 002DCE48 38 61 00 14 */ addi r3, r1, 0x14 +/* 802DFEEC 002DCE4C 4B D5 10 B5 */ bl sub_80030fa0 +/* 802DFEF0 002DCE50 38 00 00 00 */ li r0, 0 +/* 802DFEF4 002DCE54 98 01 02 44 */ stb r0, 0x244(r1) +/* 802DFEF8 002DCE58 98 01 02 00 */ stb r0, 0x200(r1) +/* 802DFEFC 002DCE5C 98 01 02 CC */ stb r0, 0x2cc(r1) +/* 802DFF00 002DCE60 98 01 02 88 */ stb r0, 0x288(r1) +/* 802DFF04 002DCE64 E3 E1 03 08 */ psq_l f31, 776(r1), 0, qr0 +/* 802DFF08 002DCE68 CB E1 03 00 */ lfd f31, 0x300(r1) +/* 802DFF0C 002DCE6C BA E1 02 DC */ lmw r23, 0x2dc(r1) +/* 802DFF10 002DCE70 80 01 03 14 */ lwz r0, 0x314(r1) +/* 802DFF14 002DCE74 7C 08 03 A6 */ mtlr r0 +/* 802DFF18 002DCE78 38 21 03 10 */ addi r1, r1, 0x310 +/* 802DFF1C 002DCE7C 4E 80 00 20 */ blr + +.global __ct__14CMetaAnimBlendFR12CInputStream +__ct__14CMetaAnimBlendFR12CInputStream: +/* 802DFF20 002DCE80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DFF24 002DCE84 7C 08 02 A6 */ mflr r0 +/* 802DFF28 002DCE88 3C A0 80 3F */ lis r5, lbl_803ECDF0@ha +/* 802DFF2C 002DCE8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DFF30 002DCE90 38 05 CD F0 */ addi r0, r5, lbl_803ECDF0@l +/* 802DFF34 002DCE94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DFF38 002DCE98 7C 9F 23 78 */ mr r31, r4 +/* 802DFF3C 002DCE9C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DFF40 002DCEA0 7C 7E 1B 78 */ mr r30, r3 +/* 802DFF44 002DCEA4 3C 60 80 3F */ lis r3, lbl_803ECCD0@ha +/* 802DFF48 002DCEA8 90 1E 00 00 */ stw r0, 0(r30) +/* 802DFF4C 002DCEAC 38 03 CC D0 */ addi r0, r3, lbl_803ECCD0@l +/* 802DFF50 002DCEB0 38 61 00 0C */ addi r3, r1, 0xc +/* 802DFF54 002DCEB4 90 1E 00 00 */ stw r0, 0(r30) +/* 802DFF58 002DCEB8 48 00 00 85 */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802DFF5C 002DCEBC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802DFF60 002DCEC0 38 61 00 0C */ addi r3, r1, 0xc +/* 802DFF64 002DCEC4 90 1E 00 04 */ stw r0, 4(r30) +/* 802DFF68 002DCEC8 80 BE 00 04 */ lwz r5, 4(r30) +/* 802DFF6C 002DCECC 80 85 00 04 */ lwz r4, 4(r5) +/* 802DFF70 002DCED0 38 04 00 01 */ addi r0, r4, 1 +/* 802DFF74 002DCED4 90 05 00 04 */ stw r0, 4(r5) +/* 802DFF78 002DCED8 4B D5 0F B9 */ bl sub_80030f30 +/* 802DFF7C 002DCEDC 7F E4 FB 78 */ mr r4, r31 +/* 802DFF80 002DCEE0 38 61 00 08 */ addi r3, r1, 8 +/* 802DFF84 002DCEE4 48 00 00 59 */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802DFF88 002DCEE8 80 01 00 08 */ lwz r0, 8(r1) +/* 802DFF8C 002DCEEC 38 61 00 08 */ addi r3, r1, 8 +/* 802DFF90 002DCEF0 90 1E 00 08 */ stw r0, 8(r30) +/* 802DFF94 002DCEF4 80 BE 00 08 */ lwz r5, 8(r30) +/* 802DFF98 002DCEF8 80 85 00 04 */ lwz r4, 4(r5) +/* 802DFF9C 002DCEFC 38 04 00 01 */ addi r0, r4, 1 +/* 802DFFA0 002DCF00 90 05 00 04 */ stw r0, 4(r5) +/* 802DFFA4 002DCF04 4B D5 0F 8D */ bl sub_80030f30 +/* 802DFFA8 002DCF08 7F E3 FB 78 */ mr r3, r31 +/* 802DFFAC 002DCF0C 48 05 EC 7D */ bl ReadFloat__12CInputStreamFv +/* 802DFFB0 002DCF10 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 802DFFB4 002DCF14 7F E3 FB 78 */ mr r3, r31 +/* 802DFFB8 002DCF18 48 05 ED 25 */ bl ReadBool__12CInputStreamFv +/* 802DFFBC 002DCF1C 98 7E 00 10 */ stb r3, 0x10(r30) +/* 802DFFC0 002DCF20 7F C3 F3 78 */ mr r3, r30 +/* 802DFFC4 002DCF24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802DFFC8 002DCF28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802DFFCC 002DCF2C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802DFFD0 002DCF30 7C 08 03 A6 */ mtlr r0 +/* 802DFFD4 002DCF34 38 21 00 20 */ addi r1, r1, 0x20 +/* 802DFFD8 002DCF38 4E 80 00 20 */ blr + +.global CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream: +/* 802DFFDC 002DCF3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802DFFE0 002DCF40 7C 08 02 A6 */ mflr r0 +/* 802DFFE4 002DCF44 90 01 00 24 */ stw r0, 0x24(r1) +/* 802DFFE8 002DCF48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802DFFEC 002DCF4C 7C 7F 1B 78 */ mr r31, r3 +/* 802DFFF0 002DCF50 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802DFFF4 002DCF54 7C 9E 23 78 */ mr r30, r4 +/* 802DFFF8 002DCF58 7F C3 F3 78 */ mr r3, r30 +/* 802DFFFC 002DCF5C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E0000 002DCF60 48 05 EC 85 */ bl ReadLong__12CInputStreamFv +/* 802E0004 002DCF64 2C 03 00 02 */ cmpwi r3, 2 +/* 802E0008 002DCF68 41 82 00 FC */ beq lbl_802E0104 +/* 802E000C 002DCF6C 40 80 00 14 */ bge lbl_802E0020 +/* 802E0010 002DCF70 2C 03 00 00 */ cmpwi r3, 0 +/* 802E0014 002DCF74 41 82 00 1C */ beq lbl_802E0030 +/* 802E0018 002DCF78 40 80 00 94 */ bge lbl_802E00AC +/* 802E001C 002DCF7C 48 00 01 F0 */ b lbl_802E020C +lbl_802E0020: +/* 802E0020 002DCF80 2C 03 00 04 */ cmpwi r3, 4 +/* 802E0024 002DCF84 41 82 01 90 */ beq lbl_802E01B4 +/* 802E0028 002DCF88 40 80 01 E4 */ bge lbl_802E020C +/* 802E002C 002DCF8C 48 00 01 30 */ b lbl_802E015C +lbl_802E0030: +/* 802E0030 002DCF90 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E0034 002DCF94 38 60 00 24 */ li r3, 0x24 +/* 802E0038 002DCF98 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E003C 002DCF9C 38 A0 00 00 */ li r5, 0 +/* 802E0040 002DCFA0 48 03 58 2D */ bl __nw__FUlPCcPCc +/* 802E0044 002DCFA4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E0048 002DCFA8 41 82 00 34 */ beq lbl_802E007C +/* 802E004C 002DCFAC 3C 80 80 3F */ lis r4, lbl_803ECDF0@ha +/* 802E0050 002DCFB0 3C 60 80 3F */ lis r3, lbl_803ECD30@ha +/* 802E0054 002DCFB4 38 04 CD F0 */ addi r0, r4, lbl_803ECDF0@l +/* 802E0058 002DCFB8 90 1D 00 00 */ stw r0, 0(r29) +/* 802E005C 002DCFBC 38 03 CD 30 */ addi r0, r3, lbl_803ECD30@l +/* 802E0060 002DCFC0 7F C4 F3 78 */ mr r4, r30 +/* 802E0064 002DCFC4 38 7D 00 04 */ addi r3, r29, 4 +/* 802E0068 002DCFC8 90 1D 00 00 */ stw r0, 0(r29) +/* 802E006C 002DCFCC 48 00 58 BD */ bl __ct__10CPrimitiveFR12CInputStream +/* 802E0070 002DCFD0 7F C4 F3 78 */ mr r4, r30 +/* 802E0074 002DCFD4 38 7D 00 1C */ addi r3, r29, 0x1c +/* 802E0078 002DCFD8 48 06 8D 9D */ bl __ct__13CCharAnimTimeFR12CInputStream +lbl_802E007C: +/* 802E007C 002DCFDC 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E0080 002DCFE0 38 60 00 08 */ li r3, 8 +/* 802E0084 002DCFE4 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E0088 002DCFE8 38 A0 00 00 */ li r5, 0 +/* 802E008C 002DCFEC 48 03 57 E1 */ bl __nw__FUlPCcPCc +/* 802E0090 002DCFF0 28 03 00 00 */ cmplwi r3, 0 +/* 802E0094 002DCFF4 41 82 00 10 */ beq lbl_802E00A4 +/* 802E0098 002DCFF8 93 A3 00 00 */ stw r29, 0(r3) +/* 802E009C 002DCFFC 38 00 00 01 */ li r0, 1 +/* 802E00A0 002DD000 90 03 00 04 */ stw r0, 4(r3) +lbl_802E00A4: +/* 802E00A4 002DD004 90 7F 00 00 */ stw r3, 0(r31) +/* 802E00A8 002DD008 48 00 01 7C */ b lbl_802E0224 +lbl_802E00AC: +/* 802E00AC 002DD00C 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E00B0 002DD010 38 60 00 14 */ li r3, 0x14 +/* 802E00B4 002DD014 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E00B8 002DD018 38 A0 00 00 */ li r5, 0 +/* 802E00BC 002DD01C 48 03 57 B1 */ bl __nw__FUlPCcPCc +/* 802E00C0 002DD020 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E00C4 002DD024 41 82 00 10 */ beq lbl_802E00D4 +/* 802E00C8 002DD028 7F C4 F3 78 */ mr r4, r30 +/* 802E00CC 002DD02C 4B FF FE 55 */ bl __ct__14CMetaAnimBlendFR12CInputStream +/* 802E00D0 002DD030 7C 7D 1B 78 */ mr r29, r3 +lbl_802E00D4: +/* 802E00D4 002DD034 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E00D8 002DD038 38 60 00 08 */ li r3, 8 +/* 802E00DC 002DD03C 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E00E0 002DD040 38 A0 00 00 */ li r5, 0 +/* 802E00E4 002DD044 48 03 57 89 */ bl __nw__FUlPCcPCc +/* 802E00E8 002DD048 28 03 00 00 */ cmplwi r3, 0 +/* 802E00EC 002DD04C 41 82 00 10 */ beq lbl_802E00FC +/* 802E00F0 002DD050 93 A3 00 00 */ stw r29, 0(r3) +/* 802E00F4 002DD054 38 00 00 01 */ li r0, 1 +/* 802E00F8 002DD058 90 03 00 04 */ stw r0, 4(r3) +lbl_802E00FC: +/* 802E00FC 002DD05C 90 7F 00 00 */ stw r3, 0(r31) +/* 802E0100 002DD060 48 00 01 24 */ b lbl_802E0224 +lbl_802E0104: +/* 802E0104 002DD064 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E0108 002DD068 38 60 00 14 */ li r3, 0x14 +/* 802E010C 002DD06C 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E0110 002DD070 38 A0 00 00 */ li r5, 0 +/* 802E0114 002DD074 48 03 57 59 */ bl __nw__FUlPCcPCc +/* 802E0118 002DD078 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E011C 002DD07C 41 82 00 10 */ beq lbl_802E012C +/* 802E0120 002DD080 7F C4 F3 78 */ mr r4, r30 +/* 802E0124 002DD084 48 00 08 09 */ bl __ct__19CMetaAnimPhaseBlendFR12CInputStream +/* 802E0128 002DD088 7C 7D 1B 78 */ mr r29, r3 +lbl_802E012C: +/* 802E012C 002DD08C 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E0130 002DD090 38 60 00 08 */ li r3, 8 +/* 802E0134 002DD094 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E0138 002DD098 38 A0 00 00 */ li r5, 0 +/* 802E013C 002DD09C 48 03 57 31 */ bl __nw__FUlPCcPCc +/* 802E0140 002DD0A0 28 03 00 00 */ cmplwi r3, 0 +/* 802E0144 002DD0A4 41 82 00 10 */ beq lbl_802E0154 +/* 802E0148 002DD0A8 93 A3 00 00 */ stw r29, 0(r3) +/* 802E014C 002DD0AC 38 00 00 01 */ li r0, 1 +/* 802E0150 002DD0B0 90 03 00 04 */ stw r0, 4(r3) +lbl_802E0154: +/* 802E0154 002DD0B4 90 7F 00 00 */ stw r3, 0(r31) +/* 802E0158 002DD0B8 48 00 00 CC */ b lbl_802E0224 +lbl_802E015C: +/* 802E015C 002DD0BC 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E0160 002DD0C0 38 60 00 14 */ li r3, 0x14 +/* 802E0164 002DD0C4 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E0168 002DD0C8 38 A0 00 00 */ li r5, 0 +/* 802E016C 002DD0CC 48 03 57 01 */ bl __nw__FUlPCcPCc +/* 802E0170 002DD0D0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E0174 002DD0D4 41 82 00 10 */ beq lbl_802E0184 +/* 802E0178 002DD0D8 7F C4 F3 78 */ mr r4, r30 +/* 802E017C 002DD0DC 48 00 12 E9 */ bl __ct__15CMetaAnimRandomFR12CInputStream +/* 802E0180 002DD0E0 7C 7D 1B 78 */ mr r29, r3 +lbl_802E0184: +/* 802E0184 002DD0E4 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E0188 002DD0E8 38 60 00 08 */ li r3, 8 +/* 802E018C 002DD0EC 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E0190 002DD0F0 38 A0 00 00 */ li r5, 0 +/* 802E0194 002DD0F4 48 03 56 D9 */ bl __nw__FUlPCcPCc +/* 802E0198 002DD0F8 28 03 00 00 */ cmplwi r3, 0 +/* 802E019C 002DD0FC 41 82 00 10 */ beq lbl_802E01AC +/* 802E01A0 002DD100 93 A3 00 00 */ stw r29, 0(r3) +/* 802E01A4 002DD104 38 00 00 01 */ li r0, 1 +/* 802E01A8 002DD108 90 03 00 04 */ stw r0, 4(r3) +lbl_802E01AC: +/* 802E01AC 002DD10C 90 7F 00 00 */ stw r3, 0(r31) +/* 802E01B0 002DD110 48 00 00 74 */ b lbl_802E0224 +lbl_802E01B4: +/* 802E01B4 002DD114 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E01B8 002DD118 38 60 00 14 */ li r3, 0x14 +/* 802E01BC 002DD11C 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E01C0 002DD120 38 A0 00 00 */ li r5, 0 +/* 802E01C4 002DD124 48 03 56 A9 */ bl __nw__FUlPCcPCc +/* 802E01C8 002DD128 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E01CC 002DD12C 41 82 00 10 */ beq lbl_802E01DC +/* 802E01D0 002DD130 7F C4 F3 78 */ mr r4, r30 +/* 802E01D4 002DD134 48 00 1A C9 */ bl __ct__17CMetaAnimSequenceFR12CInputStream +/* 802E01D8 002DD138 7C 7D 1B 78 */ mr r29, r3 +lbl_802E01DC: +/* 802E01DC 002DD13C 3C 80 80 3D */ lis r4, lbl_803D6D60@ha +/* 802E01E0 002DD140 38 60 00 08 */ li r3, 8 +/* 802E01E4 002DD144 38 84 6D 60 */ addi r4, r4, lbl_803D6D60@l +/* 802E01E8 002DD148 38 A0 00 00 */ li r5, 0 +/* 802E01EC 002DD14C 48 03 56 81 */ bl __nw__FUlPCcPCc +/* 802E01F0 002DD150 28 03 00 00 */ cmplwi r3, 0 +/* 802E01F4 002DD154 41 82 00 10 */ beq lbl_802E0204 +/* 802E01F8 002DD158 93 A3 00 00 */ stw r29, 0(r3) +/* 802E01FC 002DD15C 38 00 00 01 */ li r0, 1 +/* 802E0200 002DD160 90 03 00 04 */ stw r0, 4(r3) +lbl_802E0204: +/* 802E0204 002DD164 90 7F 00 00 */ stw r3, 0(r31) +/* 802E0208 002DD168 48 00 00 1C */ b lbl_802E0224 +lbl_802E020C: +/* 802E020C 002DD16C 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 802E0210 002DD170 90 1F 00 00 */ stw r0, 0(r31) +/* 802E0214 002DD174 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E0218 002DD178 80 64 00 04 */ lwz r3, 4(r4) +/* 802E021C 002DD17C 38 03 00 01 */ addi r0, r3, 1 +/* 802E0220 002DD180 90 04 00 04 */ stw r0, 4(r4) +lbl_802E0224: +/* 802E0224 002DD184 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E0228 002DD188 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E022C 002DD18C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E0230 002DD190 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E0234 002DD194 7C 08 03 A6 */ mtlr r0 +/* 802E0238 002DD198 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E023C 002DD19C 4E 80 00 20 */ blr + +.global __dt__19CMetaAnimPhaseBlendFv +__dt__19CMetaAnimPhaseBlendFv: +/* 802E0240 002DD1A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E0244 002DD1A4 7C 08 02 A6 */ mflr r0 +/* 802E0248 002DD1A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E024C 002DD1AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E0250 002DD1B0 7C 9F 23 78 */ mr r31, r4 +/* 802E0254 002DD1B4 93 C1 00 08 */ stw r30, 8(r1) +/* 802E0258 002DD1B8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E025C 002DD1BC 41 82 00 54 */ beq lbl_802E02B0 +/* 802E0260 002DD1C0 3C 60 80 3F */ lis r3, lbl_803ECCF0@ha +/* 802E0264 002DD1C4 34 1E 00 08 */ addic. r0, r30, 8 +/* 802E0268 002DD1C8 38 03 CC F0 */ addi r0, r3, lbl_803ECCF0@l +/* 802E026C 002DD1CC 90 1E 00 00 */ stw r0, 0(r30) +/* 802E0270 002DD1D0 41 82 00 0C */ beq lbl_802E027C +/* 802E0274 002DD1D4 38 7E 00 08 */ addi r3, r30, 8 +/* 802E0278 002DD1D8 4B D5 0C B9 */ bl sub_80030f30 +lbl_802E027C: +/* 802E027C 002DD1DC 34 1E 00 04 */ addic. r0, r30, 4 +/* 802E0280 002DD1E0 41 82 00 0C */ beq lbl_802E028C +/* 802E0284 002DD1E4 38 7E 00 04 */ addi r3, r30, 4 +/* 802E0288 002DD1E8 4B D5 0C A9 */ bl sub_80030f30 +lbl_802E028C: +/* 802E028C 002DD1EC 28 1E 00 00 */ cmplwi r30, 0 +/* 802E0290 002DD1F0 41 82 00 10 */ beq lbl_802E02A0 +/* 802E0294 002DD1F4 3C 60 80 3F */ lis r3, lbl_803ECDF0@ha +/* 802E0298 002DD1F8 38 03 CD F0 */ addi r0, r3, lbl_803ECDF0@l +/* 802E029C 002DD1FC 90 1E 00 00 */ stw r0, 0(r30) +lbl_802E02A0: +/* 802E02A0 002DD200 7F E0 07 35 */ extsh. r0, r31 +/* 802E02A4 002DD204 40 81 00 0C */ ble lbl_802E02B0 +/* 802E02A8 002DD208 7F C3 F3 78 */ mr r3, r30 +/* 802E02AC 002DD20C 48 03 56 85 */ bl Free__7CMemoryFPCv +lbl_802E02B0: +/* 802E02B0 002DD210 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E02B4 002DD214 7F C3 F3 78 */ mr r3, r30 +/* 802E02B8 002DD218 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E02BC 002DD21C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E02C0 002DD220 7C 08 03 A6 */ mtlr r0 +/* 802E02C4 002DD224 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E02C8 002DD228 4E 80 00 20 */ blr + +.global GetType__19CMetaAnimPhaseBlendCFv +GetType__19CMetaAnimPhaseBlendCFv: +/* 802E02CC 002DD22C 38 60 00 02 */ li r3, 2 +/* 802E02D0 002DD230 4E 80 00 20 */ blr + +.global WriteAnimData__19CMetaAnimPhaseBlendCFR13COutputStream +WriteAnimData__19CMetaAnimPhaseBlendCFR13COutputStream: +/* 802E02D4 002DD234 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E02D8 002DD238 7C 08 02 A6 */ mflr r0 +/* 802E02DC 002DD23C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E02E0 002DD240 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E02E4 002DD244 7C 7F 1B 78 */ mr r31, r3 +/* 802E02E8 002DD248 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E02EC 002DD24C 7C 9E 23 78 */ mr r30, r4 +/* 802E02F0 002DD250 80 63 00 04 */ lwz r3, 4(r3) +/* 802E02F4 002DD254 80 63 00 00 */ lwz r3, 0(r3) +/* 802E02F8 002DD258 48 00 70 29 */ bl PutTo__9IMetaAnimCFR13COutputStream +/* 802E02FC 002DD25C 80 7F 00 08 */ lwz r3, 8(r31) +/* 802E0300 002DD260 7F C4 F3 78 */ mr r4, r30 +/* 802E0304 002DD264 80 63 00 00 */ lwz r3, 0(r3) +/* 802E0308 002DD268 48 00 70 19 */ bl PutTo__9IMetaAnimCFR13COutputStream +/* 802E030C 002DD26C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802E0310 002DD270 7F C3 F3 78 */ mr r3, r30 +/* 802E0314 002DD274 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802E0318 002DD278 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E031C 002DD27C 90 01 00 08 */ stw r0, 8(r1) +/* 802E0320 002DD280 48 05 F1 99 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E0324 002DD284 7F C3 F3 78 */ mr r3, r30 +/* 802E0328 002DD288 38 81 00 08 */ addi r4, r1, 8 +/* 802E032C 002DD28C 38 A0 00 04 */ li r5, 4 +/* 802E0330 002DD290 48 05 F2 79 */ bl DoPut__13COutputStreamFPCvUl +/* 802E0334 002DD294 88 9F 00 10 */ lbz r4, 0x10(r31) +/* 802E0338 002DD298 7F C3 F3 78 */ mr r3, r30 +/* 802E033C 002DD29C 7C 04 00 D0 */ neg r0, r4 +/* 802E0340 002DD2A0 7C 00 23 78 */ or r0, r0, r4 +/* 802E0344 002DD2A4 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 802E0348 002DD2A8 48 05 F1 71 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E034C 002DD2AC 80 7E 00 04 */ lwz r3, 4(r30) +/* 802E0350 002DD2B0 80 1E 00 08 */ lwz r0, 8(r30) +/* 802E0354 002DD2B4 7C 03 00 40 */ cmplw r3, r0 +/* 802E0358 002DD2B8 41 80 00 0C */ blt lbl_802E0364 +/* 802E035C 002DD2BC 7F C3 F3 78 */ mr r3, r30 +/* 802E0360 002DD2C0 48 05 F1 C5 */ bl DoFlush__13COutputStreamFv +lbl_802E0364: +/* 802E0364 002DD2C4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802E0368 002DD2C8 38 03 00 01 */ addi r0, r3, 1 +/* 802E036C 002DD2CC 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802E0370 002DD2D0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802E0374 002DD2D4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802E0378 002DD2D8 38 03 00 01 */ addi r0, r3, 1 +/* 802E037C 002DD2DC 90 1E 00 04 */ stw r0, 4(r30) +/* 802E0380 002DD2E0 7F E4 19 AE */ stbx r31, r4, r3 +/* 802E0384 002DD2E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E0388 002DD2E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E038C 002DD2EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E0390 002DD2F0 7C 08 03 A6 */ mtlr r0 +/* 802E0394 002DD2F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E0398 002DD2F8 4E 80 00 20 */ blr + +.global "GetUniquePrimitives__19CMetaAnimPhaseBlendCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +"GetUniquePrimitives__19CMetaAnimPhaseBlendCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>": +/* 802E039C 002DD2FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E03A0 002DD300 7C 08 02 A6 */ mflr r0 +/* 802E03A4 002DD304 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E03A8 002DD308 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E03AC 002DD30C 7C 9F 23 78 */ mr r31, r4 +/* 802E03B0 002DD310 93 C1 00 08 */ stw r30, 8(r1) +/* 802E03B4 002DD314 7C 7E 1B 78 */ mr r30, r3 +/* 802E03B8 002DD318 80 63 00 04 */ lwz r3, 4(r3) +/* 802E03BC 002DD31C 80 63 00 00 */ lwz r3, 0(r3) +/* 802E03C0 002DD320 81 83 00 00 */ lwz r12, 0(r3) +/* 802E03C4 002DD324 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802E03C8 002DD328 7D 89 03 A6 */ mtctr r12 +/* 802E03CC 002DD32C 4E 80 04 21 */ bctrl +/* 802E03D0 002DD330 80 7E 00 08 */ lwz r3, 8(r30) +/* 802E03D4 002DD334 7F E4 FB 78 */ mr r4, r31 +/* 802E03D8 002DD338 80 63 00 00 */ lwz r3, 0(r3) +/* 802E03DC 002DD33C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E03E0 002DD340 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802E03E4 002DD344 7D 89 03 A6 */ mtctr r12 +/* 802E03E8 002DD348 4E 80 04 21 */ bctrl +/* 802E03EC 002DD34C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E03F0 002DD350 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E03F4 002DD354 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E03F8 002DD358 7C 08 03 A6 */ mtlr r0 +/* 802E03FC 002DD35C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E0400 002DD360 4E 80 00 20 */ blr + +.global VGetAnimationTree__19CMetaAnimPhaseBlendCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders +VGetAnimationTree__19CMetaAnimPhaseBlendCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders: +/* 802E0404 002DD364 94 21 FD 20 */ stwu r1, -0x2e0(r1) +/* 802E0408 002DD368 7C 08 02 A6 */ mflr r0 +/* 802E040C 002DD36C 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 802E0410 002DD370 DB E1 02 D0 */ stfd f31, 0x2d0(r1) +/* 802E0414 002DD374 F3 E1 02 D8 */ psq_st f31, 728(r1), 0, qr0 +/* 802E0418 002DD378 DB C1 02 C0 */ stfd f30, 0x2c0(r1) +/* 802E041C 002DD37C F3 C1 02 C8 */ psq_st f30, 712(r1), 0, qr0 +/* 802E0420 002DD380 93 E1 02 BC */ stw r31, 0x2bc(r1) +/* 802E0424 002DD384 93 C1 02 B8 */ stw r30, 0x2b8(r1) +/* 802E0428 002DD388 93 A1 02 B4 */ stw r29, 0x2b4(r1) +/* 802E042C 002DD38C 93 81 02 B0 */ stw r28, 0x2b0(r1) +/* 802E0430 002DD390 88 06 00 40 */ lbz r0, 0x40(r6) +/* 802E0434 002DD394 7C 7E 1B 78 */ mr r30, r3 +/* 802E0438 002DD398 7C 9F 23 78 */ mr r31, r4 +/* 802E043C 002DD39C 7C BD 2B 78 */ mr r29, r5 +/* 802E0440 002DD3A0 28 00 00 00 */ cmplwi r0, 0 +/* 802E0444 002DD3A4 41 82 00 40 */ beq lbl_802E0484 +/* 802E0448 002DD3A8 7C C4 33 78 */ mr r4, r6 +/* 802E044C 002DD3AC 38 61 02 20 */ addi r3, r1, 0x220 +/* 802E0450 002DD3B0 48 00 71 51 */ bl PreAdvanceForAll__24CMetaAnimTreeBuildOrdersFRC20CPreAdvanceIndicator +/* 802E0454 002DD3B4 7F E4 FB 78 */ mr r4, r31 +/* 802E0458 002DD3B8 7F C3 F3 78 */ mr r3, r30 +/* 802E045C 002DD3BC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E0460 002DD3C0 7F A5 EB 78 */ mr r5, r29 +/* 802E0464 002DD3C4 38 C1 02 20 */ addi r6, r1, 0x220 +/* 802E0468 002DD3C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E046C 002DD3CC 7D 89 03 A6 */ mtctr r12 +/* 802E0470 002DD3D0 4E 80 04 21 */ bctrl +/* 802E0474 002DD3D4 38 00 00 00 */ li r0, 0 +/* 802E0478 002DD3D8 98 01 02 A4 */ stb r0, 0x2a4(r1) +/* 802E047C 002DD3DC 98 01 02 60 */ stb r0, 0x260(r1) +/* 802E0480 002DD3E0 48 00 03 78 */ b lbl_802E07F8 +lbl_802E0484: +/* 802E0484 002DD3E4 38 61 01 98 */ addi r3, r1, 0x198 +/* 802E0488 002DD3E8 48 00 73 91 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802E048C 002DD3EC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802E0490 002DD3F0 7F A5 EB 78 */ mr r5, r29 +/* 802E0494 002DD3F4 38 61 00 0C */ addi r3, r1, 0xc +/* 802E0498 002DD3F8 38 C1 01 98 */ addi r6, r1, 0x198 +/* 802E049C 002DD3FC 80 84 00 00 */ lwz r4, 0(r4) +/* 802E04A0 002DD400 81 84 00 00 */ lwz r12, 0(r4) +/* 802E04A4 002DD404 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E04A8 002DD408 7D 89 03 A6 */ mtctr r12 +/* 802E04AC 002DD40C 4E 80 04 21 */ bctrl +/* 802E04B0 002DD410 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E04B4 002DD414 38 61 00 0C */ addi r3, r1, 0xc +/* 802E04B8 002DD418 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 802E04BC 002DD41C 80 85 00 04 */ lwz r4, 4(r5) +/* 802E04C0 002DD420 38 04 00 01 */ addi r0, r4, 1 +/* 802E04C4 002DD424 90 05 00 04 */ stw r0, 4(r5) +/* 802E04C8 002DD428 4B D5 0A D9 */ bl sub_80030fa0 +/* 802E04CC 002DD42C 38 00 00 00 */ li r0, 0 +/* 802E04D0 002DD430 38 61 01 10 */ addi r3, r1, 0x110 +/* 802E04D4 002DD434 98 01 02 1C */ stb r0, 0x21c(r1) +/* 802E04D8 002DD438 98 01 01 D8 */ stb r0, 0x1d8(r1) +/* 802E04DC 002DD43C 48 00 73 3D */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802E04E0 002DD440 80 9F 00 08 */ lwz r4, 8(r31) +/* 802E04E4 002DD444 7F A5 EB 78 */ mr r5, r29 +/* 802E04E8 002DD448 38 61 00 08 */ addi r3, r1, 8 +/* 802E04EC 002DD44C 38 C1 01 10 */ addi r6, r1, 0x110 +/* 802E04F0 002DD450 80 84 00 00 */ lwz r4, 0(r4) +/* 802E04F4 002DD454 81 84 00 00 */ lwz r12, 0(r4) +/* 802E04F8 002DD458 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E04FC 002DD45C 7D 89 03 A6 */ mtctr r12 +/* 802E0500 002DD460 4E 80 04 21 */ bctrl +/* 802E0504 002DD464 80 A1 00 08 */ lwz r5, 8(r1) +/* 802E0508 002DD468 38 61 00 08 */ addi r3, r1, 8 +/* 802E050C 002DD46C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 802E0510 002DD470 80 85 00 04 */ lwz r4, 4(r5) +/* 802E0514 002DD474 38 04 00 01 */ addi r0, r4, 1 +/* 802E0518 002DD478 90 05 00 04 */ stw r0, 4(r5) +/* 802E051C 002DD47C 4B D5 0A 85 */ bl sub_80030fa0 +/* 802E0520 002DD480 38 00 00 00 */ li r0, 0 +/* 802E0524 002DD484 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 802E0528 002DD488 98 01 01 94 */ stb r0, 0x194(r1) +/* 802E052C 002DD48C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802E0530 002DD490 98 01 01 50 */ stb r0, 0x150(r1) +/* 802E0534 002DD494 80 84 00 00 */ lwz r4, 0(r4) +/* 802E0538 002DD498 4B D4 E6 51 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802E053C 002DD49C 34 61 00 DC */ addic. r3, r1, 0xdc +/* 802E0540 002DD4A0 41 82 00 08 */ beq lbl_802E0548 +/* 802E0544 002DD4A4 48 05 D5 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E0548: +/* 802E0548 002DD4A8 80 01 00 F0 */ lwz r0, 0xf0(r1) +/* 802E054C 002DD4AC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802E0550 002DD4B0 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 802E0554 002DD4B4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802E0558 002DD4B8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802E055C 002DD4BC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802E0560 002DD4C0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802E0564 002DD4C4 80 84 00 00 */ lwz r4, 0(r4) +/* 802E0568 002DD4C8 4B D4 E6 21 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802E056C 002DD4CC 34 61 00 A4 */ addic. r3, r1, 0xa4 +/* 802E0570 002DD4D0 41 82 00 08 */ beq lbl_802E0578 +/* 802E0574 002DD4D4 48 05 D5 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E0578: +/* 802E0578 002DD4D8 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 802E057C 002DD4DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802E0580 002DD4E0 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 802E0584 002DD4E4 38 81 00 60 */ addi r4, r1, 0x60 +/* 802E0588 002DD4E8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802E058C 002DD4EC 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802E0590 002DD4F0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802E0594 002DD4F4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802E0598 002DD4F8 48 06 81 CD */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E059C 002DD4FC 38 61 00 38 */ addi r3, r1, 0x38 +/* 802E05A0 002DD500 38 81 00 30 */ addi r4, r1, 0x30 +/* 802E05A4 002DD504 38 BF 00 0C */ addi r5, r31, 0xc +/* 802E05A8 002DD508 48 06 83 4D */ bl __ml__13CCharAnimTimeCFRCf +/* 802E05AC 002DD50C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802E05B0 002DD510 38 81 00 68 */ addi r4, r1, 0x68 +/* 802E05B4 002DD514 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802E05B8 002DD518 48 06 7F ED */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E05BC 002DD51C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802E05C0 002DD520 38 61 00 68 */ addi r3, r1, 0x68 +/* 802E05C4 002DD524 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E05C8 002DD528 38 81 00 58 */ addi r4, r1, 0x58 +/* 802E05CC 002DD52C D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802E05D0 002DD530 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802E05D4 002DD534 48 06 84 45 */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E05D8 002DD538 FF E0 08 90 */ fmr f31, f1 +/* 802E05DC 002DD53C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802E05E0 002DD540 38 81 00 58 */ addi r4, r1, 0x58 +/* 802E05E4 002DD544 48 06 84 35 */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E05E8 002DD548 FF C0 08 90 */ fmr f30, f1 +/* 802E05EC 002DD54C 3C 60 80 3D */ lis r3, lbl_803D6D68@ha +/* 802E05F0 002DD550 38 83 6D 68 */ addi r4, r3, lbl_803D6D68@l +/* 802E05F4 002DD554 3B 80 00 00 */ li r28, 0 +/* 802E05F8 002DD558 38 60 00 38 */ li r3, 0x38 +/* 802E05FC 002DD55C 38 A0 00 00 */ li r5, 0 +/* 802E0600 002DD560 48 03 52 6D */ bl __nw__FUlPCcPCc +/* 802E0604 002DD564 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E0608 002DD568 41 82 00 48 */ beq lbl_802E0650 +/* 802E060C 002DD56C C0 0D 9B 5C */ lfs f0, lbl_805A871C@sda21(r13) +/* 802E0610 002DD570 FC 20 F8 90 */ fmr f1, f31 +/* 802E0614 002DD574 80 0D 9B 58 */ lwz r0, lbl_805A8718@sda21(r13) +/* 802E0618 002DD578 38 61 00 90 */ addi r3, r1, 0x90 +/* 802E061C 002DD57C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802E0620 002DD580 38 81 00 1C */ addi r4, r1, 0x1c +/* 802E0624 002DD584 C0 42 C5 A8 */ lfs f2, lbl_805AE2C8@sda21(r2) +/* 802E0628 002DD588 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802E062C 002DD58C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 802E0630 002DD590 48 01 3A A5 */ bl "CreatePrimitiveName__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRC13CCharAnimTimef" +/* 802E0634 002DD594 FC 20 F8 90 */ fmr f1, f31 +/* 802E0638 002DD598 7F A3 EB 78 */ mr r3, r29 +/* 802E063C 002DD59C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802E0640 002DD5A0 38 A1 00 90 */ addi r5, r1, 0x90 +/* 802E0644 002DD5A4 3B 80 00 01 */ li r28, 1 +/* 802E0648 002DD5A8 48 00 01 E1 */ bl "__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E064C 002DD5AC 7C 7D 1B 78 */ mr r29, r3 +lbl_802E0650: +/* 802E0650 002DD5B0 3C 80 80 3D */ lis r4, lbl_803D6D68@ha +/* 802E0654 002DD5B4 38 60 00 08 */ li r3, 8 +/* 802E0658 002DD5B8 38 84 6D 68 */ addi r4, r4, lbl_803D6D68@l +/* 802E065C 002DD5BC 38 A0 00 00 */ li r5, 0 +/* 802E0660 002DD5C0 48 03 52 0D */ bl __nw__FUlPCcPCc +/* 802E0664 002DD5C4 28 03 00 00 */ cmplwi r3, 0 +/* 802E0668 002DD5C8 41 82 00 10 */ beq lbl_802E0678 +/* 802E066C 002DD5CC 93 A3 00 00 */ stw r29, 0(r3) +/* 802E0670 002DD5D0 38 00 00 01 */ li r0, 1 +/* 802E0674 002DD5D4 90 03 00 04 */ stw r0, 4(r3) +lbl_802E0678: +/* 802E0678 002DD5D8 7F 80 07 75 */ extsb. r0, r28 +/* 802E067C 002DD5DC 90 61 00 14 */ stw r3, 0x14(r1) +/* 802E0680 002DD5E0 41 82 00 0C */ beq lbl_802E068C +/* 802E0684 002DD5E4 38 61 00 90 */ addi r3, r1, 0x90 +/* 802E0688 002DD5E8 48 05 D4 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E068C: +/* 802E068C 002DD5EC 3C 60 80 3D */ lis r3, lbl_803D6D68@ha +/* 802E0690 002DD5F0 3B 80 00 00 */ li r28, 0 +/* 802E0694 002DD5F4 38 83 6D 68 */ addi r4, r3, lbl_803D6D68@l +/* 802E0698 002DD5F8 38 A0 00 00 */ li r5, 0 +/* 802E069C 002DD5FC 38 60 00 38 */ li r3, 0x38 +/* 802E06A0 002DD600 48 03 51 CD */ bl __nw__FUlPCcPCc +/* 802E06A4 002DD604 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E06A8 002DD608 41 82 00 48 */ beq lbl_802E06F0 +/* 802E06AC 002DD60C C0 0D 9B 5C */ lfs f0, lbl_805A871C@sda21(r13) +/* 802E06B0 002DD610 FC 20 F0 90 */ fmr f1, f30 +/* 802E06B4 002DD614 80 0D 9B 58 */ lwz r0, lbl_805A8718@sda21(r13) +/* 802E06B8 002DD618 38 61 00 80 */ addi r3, r1, 0x80 +/* 802E06BC 002DD61C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802E06C0 002DD620 38 81 00 18 */ addi r4, r1, 0x18 +/* 802E06C4 002DD624 C0 42 C5 A8 */ lfs f2, lbl_805AE2C8@sda21(r2) +/* 802E06C8 002DD628 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E06CC 002DD62C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802E06D0 002DD630 48 01 3A 05 */ bl "CreatePrimitiveName__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRC13CCharAnimTimef" +/* 802E06D4 002DD634 FC 20 F0 90 */ fmr f1, f30 +/* 802E06D8 002DD638 7F A3 EB 78 */ mr r3, r29 +/* 802E06DC 002DD63C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802E06E0 002DD640 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802E06E4 002DD644 3B 80 00 01 */ li r28, 1 +/* 802E06E8 002DD648 48 00 01 41 */ bl "__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E06EC 002DD64C 7C 7D 1B 78 */ mr r29, r3 +lbl_802E06F0: +/* 802E06F0 002DD650 3C 80 80 3D */ lis r4, lbl_803D6D68@ha +/* 802E06F4 002DD654 38 60 00 08 */ li r3, 8 +/* 802E06F8 002DD658 38 84 6D 68 */ addi r4, r4, lbl_803D6D68@l +/* 802E06FC 002DD65C 38 A0 00 00 */ li r5, 0 +/* 802E0700 002DD660 48 03 51 6D */ bl __nw__FUlPCcPCc +/* 802E0704 002DD664 28 03 00 00 */ cmplwi r3, 0 +/* 802E0708 002DD668 41 82 00 10 */ beq lbl_802E0718 +/* 802E070C 002DD66C 93 A3 00 00 */ stw r29, 0(r3) +/* 802E0710 002DD670 38 00 00 01 */ li r0, 1 +/* 802E0714 002DD674 90 03 00 04 */ stw r0, 4(r3) +lbl_802E0718: +/* 802E0718 002DD678 7F 80 07 75 */ extsb. r0, r28 +/* 802E071C 002DD67C 90 61 00 10 */ stw r3, 0x10(r1) +/* 802E0720 002DD680 41 82 00 0C */ beq lbl_802E072C +/* 802E0724 002DD684 38 61 00 80 */ addi r3, r1, 0x80 +/* 802E0728 002DD688 48 05 D3 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E072C: +/* 802E072C 002DD68C 3C 60 80 3D */ lis r3, lbl_803D6D68@ha +/* 802E0730 002DD690 3B 80 00 00 */ li r28, 0 +/* 802E0734 002DD694 38 83 6D 68 */ addi r4, r3, lbl_803D6D68@l +/* 802E0738 002DD698 38 A0 00 00 */ li r5, 0 +/* 802E073C 002DD69C 38 60 00 28 */ li r3, 0x28 +/* 802E0740 002DD6A0 48 03 51 2D */ bl __nw__FUlPCcPCc +/* 802E0744 002DD6A4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E0748 002DD6A8 41 82 00 54 */ beq lbl_802E079C +/* 802E074C 002DD6AC C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802E0750 002DD6B0 38 61 00 70 */ addi r3, r1, 0x70 +/* 802E0754 002DD6B4 38 81 00 14 */ addi r4, r1, 0x14 +/* 802E0758 002DD6B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802E075C 002DD6BC 48 01 1A 4D */ bl "CreatePrimitiveName__14CAnimTreeBlendFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" +/* 802E0760 002DD6C0 80 E2 C6 B8 */ lwz r7, lbl_805AE3D8@sda21(r2) +/* 802E0764 002DD6C4 7F A3 EB 78 */ mr r3, r29 +/* 802E0768 002DD6C8 80 02 C6 BC */ lwz r0, lbl_805AE3DC@sda21(r2) +/* 802E076C 002DD6CC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E0770 002DD6D0 C3 FF 00 0C */ lfs f31, 0xc(r31) +/* 802E0774 002DD6D4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802E0778 002DD6D8 88 9F 00 10 */ lbz r4, 0x10(r31) +/* 802E077C 002DD6DC 7C E7 03 78 */ or r7, r7, r0 +/* 802E0780 002DD6E0 39 01 00 70 */ addi r8, r1, 0x70 +/* 802E0784 002DD6E4 3B 80 00 01 */ li r28, 1 +/* 802E0788 002DD6E8 48 01 72 A1 */ bl "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E078C 002DD6EC 3C 60 80 3F */ lis r3, lbl_803ED0D8@ha +/* 802E0790 002DD6F0 38 03 D0 D8 */ addi r0, r3, lbl_803ED0D8@l +/* 802E0794 002DD6F4 90 1D 00 00 */ stw r0, 0(r29) +/* 802E0798 002DD6F8 D3 FD 00 24 */ stfs f31, 0x24(r29) +lbl_802E079C: +/* 802E079C 002DD6FC 3C 80 80 3D */ lis r4, lbl_803D6D68@ha +/* 802E07A0 002DD700 38 60 00 08 */ li r3, 8 +/* 802E07A4 002DD704 38 84 6D 68 */ addi r4, r4, lbl_803D6D68@l +/* 802E07A8 002DD708 38 A0 00 00 */ li r5, 0 +/* 802E07AC 002DD70C 48 03 50 C1 */ bl __nw__FUlPCcPCc +/* 802E07B0 002DD710 28 03 00 00 */ cmplwi r3, 0 +/* 802E07B4 002DD714 41 82 00 10 */ beq lbl_802E07C4 +/* 802E07B8 002DD718 93 A3 00 00 */ stw r29, 0(r3) +/* 802E07BC 002DD71C 38 00 00 01 */ li r0, 1 +/* 802E07C0 002DD720 90 03 00 04 */ stw r0, 4(r3) +lbl_802E07C4: +/* 802E07C4 002DD724 7F 80 07 75 */ extsb. r0, r28 +/* 802E07C8 002DD728 90 7E 00 00 */ stw r3, 0(r30) +/* 802E07CC 002DD72C 41 82 00 0C */ beq lbl_802E07D8 +/* 802E07D0 002DD730 38 61 00 70 */ addi r3, r1, 0x70 +/* 802E07D4 002DD734 48 05 D3 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E07D8: +/* 802E07D8 002DD738 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E07DC 002DD73C 4B D5 07 C5 */ bl sub_80030fa0 +/* 802E07E0 002DD740 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E07E4 002DD744 4B D5 07 BD */ bl sub_80030fa0 +/* 802E07E8 002DD748 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E07EC 002DD74C 4B D5 07 B5 */ bl sub_80030fa0 +/* 802E07F0 002DD750 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E07F4 002DD754 4B D5 07 AD */ bl sub_80030fa0 +lbl_802E07F8: +/* 802E07F8 002DD758 E3 E1 02 D8 */ psq_l f31, 728(r1), 0, qr0 +/* 802E07FC 002DD75C CB E1 02 D0 */ lfd f31, 0x2d0(r1) +/* 802E0800 002DD760 E3 C1 02 C8 */ psq_l f30, 712(r1), 0, qr0 +/* 802E0804 002DD764 CB C1 02 C0 */ lfd f30, 0x2c0(r1) +/* 802E0808 002DD768 83 E1 02 BC */ lwz r31, 0x2bc(r1) +/* 802E080C 002DD76C 83 C1 02 B8 */ lwz r30, 0x2b8(r1) +/* 802E0810 002DD770 83 A1 02 B4 */ lwz r29, 0x2b4(r1) +/* 802E0814 002DD774 80 01 02 E4 */ lwz r0, 0x2e4(r1) +/* 802E0818 002DD778 83 81 02 B0 */ lwz r28, 0x2b0(r1) +/* 802E081C 002DD77C 7C 08 03 A6 */ mtlr r0 +/* 802E0820 002DD780 38 21 02 E0 */ addi r1, r1, 0x2e0 +/* 802E0824 002DD784 4E 80 00 20 */ blr + +.global "__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802E0828 002DD788 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E082C 002DD78C 7C 08 02 A6 */ mflr r0 +/* 802E0830 002DD790 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E0834 002DD794 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802E0838 002DD798 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802E083C 002DD79C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E0840 002DD7A0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E0844 002DD7A4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E0848 002DD7A8 7C 7F 1B 78 */ mr r31, r3 +/* 802E084C 002DD7AC FF E0 08 90 */ fmr f31, f1 +/* 802E0850 002DD7B0 7F E0 FB 78 */ mr r0, r31 +/* 802E0854 002DD7B4 7C 9E 23 78 */ mr r30, r4 +/* 802E0858 002DD7B8 7C 1D 03 78 */ mr r29, r0 +/* 802E085C 002DD7BC 7C A4 2B 78 */ mr r4, r5 +/* 802E0860 002DD7C0 48 01 34 71 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E0864 002DD7C4 3C 60 80 3F */ lis r3, lbl_803ED240@ha +/* 802E0868 002DD7C8 3C A0 80 3F */ lis r5, lbl_803ED2B0@ha +/* 802E086C 002DD7CC 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l +/* 802E0870 002DD7D0 90 1D 00 00 */ stw r0, 0(r29) +/* 802E0874 002DD7D4 38 05 D2 B0 */ addi r0, r5, lbl_803ED2B0@l +/* 802E0878 002DD7D8 3C 60 80 3D */ lis r3, lbl_803D6D68@ha +/* 802E087C 002DD7DC 38 A0 00 00 */ li r5, 0 +/* 802E0880 002DD7E0 80 DE 00 00 */ lwz r6, 0(r30) +/* 802E0884 002DD7E4 38 83 6D 68 */ addi r4, r3, lbl_803D6D68@l +/* 802E0888 002DD7E8 38 60 00 08 */ li r3, 8 +/* 802E088C 002DD7EC 90 DD 00 14 */ stw r6, 0x14(r29) +/* 802E0890 002DD7F0 80 FD 00 14 */ lwz r7, 0x14(r29) +/* 802E0894 002DD7F4 80 C7 00 04 */ lwz r6, 4(r7) +/* 802E0898 002DD7F8 38 C6 00 01 */ addi r6, r6, 1 +/* 802E089C 002DD7FC 90 C7 00 04 */ stw r6, 4(r7) +/* 802E08A0 002DD800 90 1F 00 00 */ stw r0, 0(r31) +/* 802E08A4 002DD804 48 03 4F C9 */ bl __nw__FUlPCcPCc +/* 802E08A8 002DD808 28 03 00 00 */ cmplwi r3, 0 +/* 802E08AC 002DD80C 41 82 00 20 */ beq lbl_802E08CC +/* 802E08B0 002DD810 3C A0 80 3F */ lis r5, lbl_803ECD10@ha +/* 802E08B4 002DD814 3C 80 80 3F */ lis r4, lbl_803ED4EC@ha +/* 802E08B8 002DD818 38 05 CD 10 */ addi r0, r5, lbl_803ECD10@l +/* 802E08BC 002DD81C 90 03 00 00 */ stw r0, 0(r3) +/* 802E08C0 002DD820 38 04 D4 EC */ addi r0, r4, lbl_803ED4EC@l +/* 802E08C4 002DD824 90 03 00 00 */ stw r0, 0(r3) +/* 802E08C8 002DD828 D3 E3 00 04 */ stfs f31, 4(r3) +lbl_802E08CC: +/* 802E08CC 002DD82C 90 7F 00 18 */ stw r3, 0x18(r31) +/* 802E08D0 002DD830 38 7F 00 20 */ addi r3, r31, 0x20 +/* 802E08D4 002DD834 C0 22 C5 AC */ lfs f1, lbl_805AE2CC@sda21(r2) +/* 802E08D8 002DD838 48 06 85 15 */ bl __ct__13CCharAnimTimeFf +/* 802E08DC 002DD83C 80 0D 9B 58 */ lwz r0, lbl_805A8718@sda21(r13) +/* 802E08E0 002DD840 7F E3 FB 78 */ mr r3, r31 +/* 802E08E4 002DD844 C0 0D 9B 5C */ lfs f0, lbl_805A871C@sda21(r13) +/* 802E08E8 002DD848 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E08EC 002DD84C D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 802E08F0 002DD850 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802E08F4 002DD854 80 0D 9B 50 */ lwz r0, lbl_805A8710@sda21(r13) +/* 802E08F8 002DD858 C0 0D 9B 54 */ lfs f0, lbl_805A8714@sda21(r13) +/* 802E08FC 002DD85C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E0900 002DD860 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 802E0904 002DD864 90 1F 00 34 */ stw r0, 0x34(r31) +/* 802E0908 002DD868 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802E090C 002DD86C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E0910 002DD870 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802E0914 002DD874 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E0918 002DD878 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E091C 002DD87C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E0920 002DD880 7C 08 03 A6 */ mtlr r0 +/* 802E0924 002DD884 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E0928 002DD888 4E 80 00 20 */ blr + +.global __ct__19CMetaAnimPhaseBlendFR12CInputStream +__ct__19CMetaAnimPhaseBlendFR12CInputStream: +/* 802E092C 002DD88C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E0930 002DD890 7C 08 02 A6 */ mflr r0 +/* 802E0934 002DD894 3C A0 80 3F */ lis r5, lbl_803ECDF0@ha +/* 802E0938 002DD898 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E093C 002DD89C 38 05 CD F0 */ addi r0, r5, lbl_803ECDF0@l +/* 802E0940 002DD8A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E0944 002DD8A4 7C 9F 23 78 */ mr r31, r4 +/* 802E0948 002DD8A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E094C 002DD8AC 7C 7E 1B 78 */ mr r30, r3 +/* 802E0950 002DD8B0 3C 60 80 3F */ lis r3, lbl_803ECCF0@ha +/* 802E0954 002DD8B4 90 1E 00 00 */ stw r0, 0(r30) +/* 802E0958 002DD8B8 38 03 CC F0 */ addi r0, r3, lbl_803ECCF0@l +/* 802E095C 002DD8BC 38 61 00 0C */ addi r3, r1, 0xc +/* 802E0960 002DD8C0 90 1E 00 00 */ stw r0, 0(r30) +/* 802E0964 002DD8C4 4B FF F6 79 */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802E0968 002DD8C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E096C 002DD8CC 38 61 00 0C */ addi r3, r1, 0xc +/* 802E0970 002DD8D0 90 1E 00 04 */ stw r0, 4(r30) +/* 802E0974 002DD8D4 80 BE 00 04 */ lwz r5, 4(r30) +/* 802E0978 002DD8D8 80 85 00 04 */ lwz r4, 4(r5) +/* 802E097C 002DD8DC 38 04 00 01 */ addi r0, r4, 1 +/* 802E0980 002DD8E0 90 05 00 04 */ stw r0, 4(r5) +/* 802E0984 002DD8E4 4B D5 05 AD */ bl sub_80030f30 +/* 802E0988 002DD8E8 7F E4 FB 78 */ mr r4, r31 +/* 802E098C 002DD8EC 38 61 00 08 */ addi r3, r1, 8 +/* 802E0990 002DD8F0 4B FF F6 4D */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802E0994 002DD8F4 80 01 00 08 */ lwz r0, 8(r1) +/* 802E0998 002DD8F8 38 61 00 08 */ addi r3, r1, 8 +/* 802E099C 002DD8FC 90 1E 00 08 */ stw r0, 8(r30) +/* 802E09A0 002DD900 80 BE 00 08 */ lwz r5, 8(r30) +/* 802E09A4 002DD904 80 85 00 04 */ lwz r4, 4(r5) +/* 802E09A8 002DD908 38 04 00 01 */ addi r0, r4, 1 +/* 802E09AC 002DD90C 90 05 00 04 */ stw r0, 4(r5) +/* 802E09B0 002DD910 4B D5 05 81 */ bl sub_80030f30 +/* 802E09B4 002DD914 7F E3 FB 78 */ mr r3, r31 +/* 802E09B8 002DD918 48 05 E2 71 */ bl ReadFloat__12CInputStreamFv +/* 802E09BC 002DD91C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 802E09C0 002DD920 7F E3 FB 78 */ mr r3, r31 +/* 802E09C4 002DD924 48 05 E3 19 */ bl ReadBool__12CInputStreamFv +/* 802E09C8 002DD928 98 7E 00 10 */ stb r3, 0x10(r30) +/* 802E09CC 002DD92C 7F C3 F3 78 */ mr r3, r30 +/* 802E09D0 002DD930 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E09D4 002DD934 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E09D8 002DD938 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E09DC 002DD93C 7C 08 03 A6 */ mtlr r0 +/* 802E09E0 002DD940 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E09E4 002DD944 4E 80 00 20 */ blr + +.global __dt__13CMetaAnimPlayFv +__dt__13CMetaAnimPlayFv: +/* 802E09E8 002DD948 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E09EC 002DD94C 7C 08 02 A6 */ mflr r0 +/* 802E09F0 002DD950 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E09F4 002DD954 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E09F8 002DD958 7C 9F 23 78 */ mr r31, r4 +/* 802E09FC 002DD95C 93 C1 00 08 */ stw r30, 8(r1) +/* 802E0A00 002DD960 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E0A04 002DD964 41 82 00 48 */ beq lbl_802E0A4C +/* 802E0A08 002DD968 3C 60 80 3F */ lis r3, lbl_803ECD30@ha +/* 802E0A0C 002DD96C 34 1E 00 04 */ addic. r0, r30, 4 +/* 802E0A10 002DD970 38 03 CD 30 */ addi r0, r3, lbl_803ECD30@l +/* 802E0A14 002DD974 90 1E 00 00 */ stw r0, 0(r30) +/* 802E0A18 002DD978 41 82 00 10 */ beq lbl_802E0A28 +/* 802E0A1C 002DD97C 34 7E 00 0C */ addic. r3, r30, 0xc +/* 802E0A20 002DD980 41 82 00 08 */ beq lbl_802E0A28 +/* 802E0A24 002DD984 48 05 D0 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E0A28: +/* 802E0A28 002DD988 28 1E 00 00 */ cmplwi r30, 0 +/* 802E0A2C 002DD98C 41 82 00 10 */ beq lbl_802E0A3C +/* 802E0A30 002DD990 3C 60 80 3F */ lis r3, lbl_803ECDF0@ha +/* 802E0A34 002DD994 38 03 CD F0 */ addi r0, r3, lbl_803ECDF0@l +/* 802E0A38 002DD998 90 1E 00 00 */ stw r0, 0(r30) +lbl_802E0A3C: +/* 802E0A3C 002DD99C 7F E0 07 35 */ extsh. r0, r31 +/* 802E0A40 002DD9A0 40 81 00 0C */ ble lbl_802E0A4C +/* 802E0A44 002DD9A4 7F C3 F3 78 */ mr r3, r30 +/* 802E0A48 002DD9A8 48 03 4E E9 */ bl Free__7CMemoryFPCv +lbl_802E0A4C: +/* 802E0A4C 002DD9AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E0A50 002DD9B0 7F C3 F3 78 */ mr r3, r30 +/* 802E0A54 002DD9B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E0A58 002DD9B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E0A5C 002DD9BC 7C 08 03 A6 */ mtlr r0 +/* 802E0A60 002DD9C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E0A64 002DD9C4 4E 80 00 20 */ blr + +.global GetType__13CMetaAnimPlayCFv +GetType__13CMetaAnimPlayCFv: +/* 802E0A68 002DD9C8 38 60 00 00 */ li r3, 0 +/* 802E0A6C 002DD9CC 4E 80 00 20 */ blr + +.global WriteAnimData__13CMetaAnimPlayCFR13COutputStream +WriteAnimData__13CMetaAnimPlayCFR13COutputStream: +/* 802E0A70 002DD9D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E0A74 002DD9D4 7C 08 02 A6 */ mflr r0 +/* 802E0A78 002DD9D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E0A7C 002DD9DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E0A80 002DD9E0 7C 9F 23 78 */ mr r31, r4 +/* 802E0A84 002DD9E4 93 C1 00 08 */ stw r30, 8(r1) +/* 802E0A88 002DD9E8 7C 7E 1B 78 */ mr r30, r3 +/* 802E0A8C 002DD9EC 38 7E 00 04 */ addi r3, r30, 4 +/* 802E0A90 002DD9F0 48 00 4E 19 */ bl PutTo__10CPrimitiveCFR13COutputStream +/* 802E0A94 002DD9F4 7F E4 FB 78 */ mr r4, r31 +/* 802E0A98 002DD9F8 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802E0A9C 002DD9FC 48 06 78 99 */ bl PutTo__13CCharAnimTimeCFR13COutputStream +/* 802E0AA0 002DDA00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E0AA4 002DDA04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E0AA8 002DDA08 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E0AAC 002DDA0C 7C 08 03 A6 */ mtlr r0 +/* 802E0AB0 002DDA10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E0AB4 002DDA14 4E 80 00 20 */ blr + +.global "GetUniquePrimitives__13CMetaAnimPlayCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +"GetUniquePrimitives__13CMetaAnimPlayCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>": +/* 802E0AB8 002DDA18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E0ABC 002DDA1C 7C 08 02 A6 */ mflr r0 +/* 802E0AC0 002DDA20 7C 66 1B 78 */ mr r6, r3 +/* 802E0AC4 002DDA24 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E0AC8 002DDA28 38 61 00 08 */ addi r3, r1, 8 +/* 802E0ACC 002DDA2C 38 C6 00 04 */ addi r6, r6, 4 +/* 802E0AD0 002DDA30 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802E0AD4 002DDA34 48 00 01 FD */ bl "insert_into__Q24rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>FPQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>4nodeRC10CPrimitive" +/* 802E0AD8 002DDA38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E0ADC 002DDA3C 7C 08 03 A6 */ mtlr r0 +/* 802E0AE0 002DDA40 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E0AE4 002DDA44 4E 80 00 20 */ blr + +.global VGetAnimationTree__13CMetaAnimPlayCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders +VGetAnimationTree__13CMetaAnimPlayCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders: +/* 802E0AE8 002DDA48 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802E0AEC 002DDA4C 7C 08 02 A6 */ mflr r0 +/* 802E0AF0 002DDA50 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802E0AF4 002DDA54 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 802E0AF8 002DDA58 7C 9F 23 78 */ mr r31, r4 +/* 802E0AFC 002DDA5C 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 802E0B00 002DDA60 7C 7E 1B 78 */ mr r30, r3 +/* 802E0B04 002DDA64 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 802E0B08 002DDA68 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 802E0B0C 002DDA6C 7C BC 2B 78 */ mr r28, r5 +/* 802E0B10 002DDA70 88 06 00 40 */ lbz r0, 0x40(r6) +/* 802E0B14 002DDA74 28 00 00 00 */ cmplwi r0, 0 +/* 802E0B18 002DDA78 41 82 00 40 */ beq lbl_802E0B58 +/* 802E0B1C 002DDA7C 7C C4 33 78 */ mr r4, r6 +/* 802E0B20 002DDA80 38 61 00 34 */ addi r3, r1, 0x34 +/* 802E0B24 002DDA84 48 00 6A 7D */ bl PreAdvanceForAll__24CMetaAnimTreeBuildOrdersFRC20CPreAdvanceIndicator +/* 802E0B28 002DDA88 7F E4 FB 78 */ mr r4, r31 +/* 802E0B2C 002DDA8C 7F C3 F3 78 */ mr r3, r30 +/* 802E0B30 002DDA90 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E0B34 002DDA94 7F 85 E3 78 */ mr r5, r28 +/* 802E0B38 002DDA98 38 C1 00 34 */ addi r6, r1, 0x34 +/* 802E0B3C 002DDA9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E0B40 002DDAA0 7D 89 03 A6 */ mtctr r12 +/* 802E0B44 002DDAA4 4E 80 04 21 */ bctrl +/* 802E0B48 002DDAA8 38 00 00 00 */ li r0, 0 +/* 802E0B4C 002DDAAC 98 01 00 B8 */ stb r0, 0xb8(r1) +/* 802E0B50 002DDAB0 98 01 00 74 */ stb r0, 0x74(r1) +/* 802E0B54 002DDAB4 48 00 01 5C */ b lbl_802E0CB0 +lbl_802E0B58: +/* 802E0B58 002DDAB8 80 DF 00 04 */ lwz r6, 4(r31) +/* 802E0B5C 002DDABC 3C 60 41 4E */ lis r3, 0x414E494D@ha +/* 802E0B60 002DDAC0 38 03 49 4D */ addi r0, r3, 0x414E494D@l +/* 802E0B64 002DDAC4 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 802E0B68 002DDAC8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802E0B6C 002DDACC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E0B70 002DDAD0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802E0B74 002DDAD4 90 C1 00 24 */ stw r6, 0x24(r1) +/* 802E0B78 002DDAD8 81 84 00 00 */ lwz r12, 0(r4) +/* 802E0B7C 002DDADC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E0B80 002DDAE0 7D 89 03 A6 */ mtctr r12 +/* 802E0B84 002DDAE4 4E 80 04 21 */ bctrl +/* 802E0B88 002DDAE8 3B 81 00 28 */ addi r28, r1, 0x28 +/* 802E0B8C 002DDAEC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E0B90 002DDAF0 7F 83 E3 78 */ mr r3, r28 +/* 802E0B94 002DDAF4 48 06 03 15 */ bl __ct__6CTokenFRC6CToken +/* 802E0B98 002DDAF8 7F 83 E3 78 */ mr r3, r28 +/* 802E0B9C 002DDAFC 48 06 02 71 */ bl GetObj__6CTokenFv +/* 802E0BA0 002DDB00 80 03 00 04 */ lwz r0, 4(r3) +/* 802E0BA4 002DDB04 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E0BA8 002DDB08 38 80 FF FF */ li r4, -1 +/* 802E0BAC 002DDB0C 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E0BB0 002DDB10 48 06 02 91 */ bl __dt__6CTokenFv +/* 802E0BB4 002DDB14 38 61 00 08 */ addi r3, r1, 8 +/* 802E0BB8 002DDB18 7F 84 E3 78 */ mr r4, r28 +/* 802E0BBC 002DDB1C 38 BF 00 1C */ addi r5, r31, 0x1c +/* 802E0BC0 002DDB20 48 01 D3 B1 */ bl "GetNewReader__21CAllFormatsAnimSourceFRC37TLockedToken<21CAllFormatsAnimSource>RC13CCharAnimTime" +/* 802E0BC4 002DDB24 88 81 00 08 */ lbz r4, 8(r1) +/* 802E0BC8 002DDB28 38 00 00 00 */ li r0, 0 +/* 802E0BCC 002DDB2C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802E0BD0 002DDB30 98 81 00 18 */ stb r4, 0x18(r1) +/* 802E0BD4 002DDB34 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802E0BD8 002DDB38 98 01 00 08 */ stb r0, 8(r1) +/* 802E0BDC 002DDB3C 48 00 00 1C */ b lbl_802E0BF8 +/* 802E0BE0 002DDB40 41 82 00 18 */ beq lbl_802E0BF8 +/* 802E0BE4 002DDB44 81 83 00 00 */ lwz r12, 0(r3) +/* 802E0BE8 002DDB48 38 80 00 01 */ li r4, 1 +/* 802E0BEC 002DDB4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E0BF0 002DDB50 7D 89 03 A6 */ mtctr r12 +/* 802E0BF4 002DDB54 4E 80 04 21 */ bctrl +lbl_802E0BF8: +/* 802E0BF8 002DDB58 3C 80 80 3D */ lis r4, lbl_803D6D70@ha +/* 802E0BFC 002DDB5C 38 60 00 20 */ li r3, 0x20 +/* 802E0C00 002DDB60 38 84 6D 70 */ addi r4, r4, lbl_803D6D70@l +/* 802E0C04 002DDB64 38 A0 00 00 */ li r5, 0 +/* 802E0C08 002DDB68 48 03 4C 65 */ bl __nw__FUlPCcPCc +/* 802E0C0C 002DDB6C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E0C10 002DDB70 41 82 00 3C */ beq lbl_802E0C4C +/* 802E0C14 002DDB74 83 9F 00 08 */ lwz r28, 8(r31) +/* 802E0C18 002DDB78 38 9F 00 0C */ addi r4, r31, 0xc +/* 802E0C1C 002DDB7C 48 01 30 B5 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E0C20 002DDB80 3C 60 80 3F */ lis r3, lbl_803ED068@ha +/* 802E0C24 002DDB84 38 A0 00 00 */ li r5, 0 +/* 802E0C28 002DDB88 38 63 D0 68 */ addi r3, r3, lbl_803ED068@l +/* 802E0C2C 002DDB8C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E0C30 002DDB90 90 7D 00 00 */ stw r3, 0(r29) +/* 802E0C34 002DDB94 38 60 00 08 */ li r3, 8 +/* 802E0C38 002DDB98 38 80 00 02 */ li r4, 2 +/* 802E0C3C 002DDB9C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802E0C40 002DDBA0 98 A1 00 18 */ stb r5, 0x18(r1) +/* 802E0C44 002DDBA4 93 9D 00 1C */ stw r28, 0x1c(r29) +/* 802E0C48 002DDBA8 48 01 6F 71 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +lbl_802E0C4C: +/* 802E0C4C 002DDBAC 3C 80 80 3D */ lis r4, lbl_803D6D70@ha +/* 802E0C50 002DDBB0 38 60 00 08 */ li r3, 8 +/* 802E0C54 002DDBB4 38 84 6D 70 */ addi r4, r4, lbl_803D6D70@l +/* 802E0C58 002DDBB8 38 A0 00 00 */ li r5, 0 +/* 802E0C5C 002DDBBC 48 03 4C 11 */ bl __nw__FUlPCcPCc +/* 802E0C60 002DDBC0 28 03 00 00 */ cmplwi r3, 0 +/* 802E0C64 002DDBC4 41 82 00 10 */ beq lbl_802E0C74 +/* 802E0C68 002DDBC8 93 A3 00 00 */ stw r29, 0(r3) +/* 802E0C6C 002DDBCC 38 00 00 01 */ li r0, 1 +/* 802E0C70 002DDBD0 90 03 00 04 */ stw r0, 4(r3) +lbl_802E0C74: +/* 802E0C74 002DDBD4 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802E0C78 002DDBD8 90 7E 00 00 */ stw r3, 0(r30) +/* 802E0C7C 002DDBDC 28 00 00 00 */ cmplwi r0, 0 +/* 802E0C80 002DDBE0 41 82 00 24 */ beq lbl_802E0CA4 +/* 802E0C84 002DDBE4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802E0C88 002DDBE8 28 03 00 00 */ cmplwi r3, 0 +/* 802E0C8C 002DDBEC 41 82 00 18 */ beq lbl_802E0CA4 +/* 802E0C90 002DDBF0 81 83 00 00 */ lwz r12, 0(r3) +/* 802E0C94 002DDBF4 38 80 00 01 */ li r4, 1 +/* 802E0C98 002DDBF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E0C9C 002DDBFC 7D 89 03 A6 */ mtctr r12 +/* 802E0CA0 002DDC00 4E 80 04 21 */ bctrl +lbl_802E0CA4: +/* 802E0CA4 002DDC04 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E0CA8 002DDC08 38 80 00 00 */ li r4, 0 +/* 802E0CAC 002DDC0C 48 06 01 95 */ bl __dt__6CTokenFv +lbl_802E0CB0: +/* 802E0CB0 002DDC10 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802E0CB4 002DDC14 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 802E0CB8 002DDC18 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 802E0CBC 002DDC1C 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 802E0CC0 002DDC20 83 81 00 C0 */ lwz r28, 0xc0(r1) +/* 802E0CC4 002DDC24 7C 08 03 A6 */ mtlr r0 +/* 802E0CC8 002DDC28 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802E0CCC 002DDC2C 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>FPQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>4nodeRC10CPrimitive" +"insert_into__Q24rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>FPQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>4nodeRC10CPrimitive": +/* 802E0CD0 002DDC30 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E0CD4 002DDC34 7C 08 02 A6 */ mflr r0 +/* 802E0CD8 002DDC38 28 05 00 00 */ cmplwi r5, 0 +/* 802E0CDC 002DDC3C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E0CE0 002DDC40 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802E0CE4 002DDC44 7C 7C 1B 78 */ mr r28, r3 +/* 802E0CE8 002DDC48 7C 9D 23 78 */ mr r29, r4 +/* 802E0CEC 002DDC4C 7C DE 33 78 */ mr r30, r6 +/* 802E0CF0 002DDC50 40 82 00 94 */ bne lbl_802E0D84 +/* 802E0CF4 002DDC54 3C 80 80 3D */ lis r4, lbl_803D6D70@ha +/* 802E0CF8 002DDC58 38 60 00 28 */ li r3, 0x28 +/* 802E0CFC 002DDC5C 38 84 6D 70 */ addi r4, r4, lbl_803D6D70@l +/* 802E0D00 002DDC60 38 A0 00 00 */ li r5, 0 +/* 802E0D04 002DDC64 48 03 4B 15 */ bl __nwa__FUlPCcPCc +/* 802E0D08 002DDC68 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802E0D0C 002DDC6C 41 82 00 3C */ beq lbl_802E0D48 +/* 802E0D10 002DDC70 38 00 00 00 */ li r0, 0 +/* 802E0D14 002DDC74 34 BF 00 10 */ addic. r5, r31, 0x10 +/* 802E0D18 002DDC78 90 1F 00 00 */ stw r0, 0(r31) +/* 802E0D1C 002DDC7C 90 1F 00 04 */ stw r0, 4(r31) +/* 802E0D20 002DDC80 90 1F 00 08 */ stw r0, 8(r31) +/* 802E0D24 002DDC84 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802E0D28 002DDC88 41 82 00 20 */ beq lbl_802E0D48 +/* 802E0D2C 002DDC8C 80 1E 00 00 */ lwz r0, 0(r30) +/* 802E0D30 002DDC90 38 65 00 08 */ addi r3, r5, 8 +/* 802E0D34 002DDC94 38 9E 00 08 */ addi r4, r30, 8 +/* 802E0D38 002DDC98 90 05 00 00 */ stw r0, 0(r5) +/* 802E0D3C 002DDC9C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E0D40 002DDCA0 90 05 00 04 */ stw r0, 4(r5) +/* 802E0D44 002DDCA4 48 05 D4 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802E0D48: +/* 802E0D48 002DDCA8 93 FD 00 10 */ stw r31, 0x10(r29) +/* 802E0D4C 002DDCAC 38 1D 00 08 */ addi r0, r29, 8 +/* 802E0D50 002DDCB0 80 7D 00 04 */ lwz r3, 4(r29) +/* 802E0D54 002DDCB4 38 63 00 01 */ addi r3, r3, 1 +/* 802E0D58 002DDCB8 90 7D 00 04 */ stw r3, 4(r29) +/* 802E0D5C 002DDCBC 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802E0D60 002DDCC0 90 7D 00 08 */ stw r3, 8(r29) +/* 802E0D64 002DDCC4 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802E0D68 002DDCC8 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802E0D6C 002DDCCC 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802E0D70 002DDCD0 90 7C 00 00 */ stw r3, 0(r28) +/* 802E0D74 002DDCD4 90 1C 00 04 */ stw r0, 4(r28) +/* 802E0D78 002DDCD8 88 0D 9B 60 */ lbz r0, lbl_805A8720@sda21(r13) +/* 802E0D7C 002DDCDC 98 1C 00 08 */ stb r0, 8(r28) +/* 802E0D80 002DDCE0 48 00 01 9C */ b lbl_802E0F1C +lbl_802E0D84: +/* 802E0D84 002DDCE4 7C BF 2B 78 */ mr r31, r5 +/* 802E0D88 002DDCE8 3B 20 00 00 */ li r25, 0 +/* 802E0D8C 002DDCEC 48 00 01 5C */ b lbl_802E0EE8 +lbl_802E0D90: +/* 802E0D90 002DDCF0 3B 5F 00 18 */ addi r26, r31, 0x18 +/* 802E0D94 002DDCF4 38 7E 00 08 */ addi r3, r30, 8 +/* 802E0D98 002DDCF8 7F 44 D3 78 */ mr r4, r26 +/* 802E0D9C 002DDCFC 48 05 DC 51 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E0DA0 002DDD00 54 7B 0F FF */ rlwinm. r27, r3, 1, 0x1f, 0x1f +/* 802E0DA4 002DDD04 40 82 00 30 */ bne lbl_802E0DD4 +/* 802E0DA8 002DDD08 7F 43 D3 78 */ mr r3, r26 +/* 802E0DAC 002DDD0C 38 9E 00 08 */ addi r4, r30, 8 +/* 802E0DB0 002DDD10 48 05 DC 3D */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E0DB4 002DDD14 2C 03 00 00 */ cmpwi r3, 0 +/* 802E0DB8 002DDD18 41 80 00 1C */ blt lbl_802E0DD4 +/* 802E0DBC 002DDD1C 93 FC 00 00 */ stw r31, 0(r28) +/* 802E0DC0 002DDD20 38 1D 00 08 */ addi r0, r29, 8 +/* 802E0DC4 002DDD24 90 1C 00 04 */ stw r0, 4(r28) +/* 802E0DC8 002DDD28 88 0D 9B 61 */ lbz r0, lbl_805A8721@sda21(r13) +/* 802E0DCC 002DDD2C 98 1C 00 08 */ stb r0, 8(r28) +/* 802E0DD0 002DDD30 48 00 01 4C */ b lbl_802E0F1C +lbl_802E0DD4: +/* 802E0DD4 002DDD34 28 1B 00 00 */ cmplwi r27, 0 +/* 802E0DD8 002DDD38 41 82 00 8C */ beq lbl_802E0E64 +/* 802E0DDC 002DDD3C 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E0DE0 002DDD40 28 00 00 00 */ cmplwi r0, 0 +/* 802E0DE4 002DDD44 40 82 00 78 */ bne lbl_802E0E5C +/* 802E0DE8 002DDD48 3C 80 80 3D */ lis r4, lbl_803D6D70@ha +/* 802E0DEC 002DDD4C 38 60 00 28 */ li r3, 0x28 +/* 802E0DF0 002DDD50 38 84 6D 70 */ addi r4, r4, lbl_803D6D70@l +/* 802E0DF4 002DDD54 38 A0 00 00 */ li r5, 0 +/* 802E0DF8 002DDD58 48 03 4A 21 */ bl __nwa__FUlPCcPCc +/* 802E0DFC 002DDD5C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802E0E00 002DDD60 41 82 00 40 */ beq lbl_802E0E40 +/* 802E0E04 002DDD64 38 60 00 00 */ li r3, 0 +/* 802E0E08 002DDD68 34 BB 00 10 */ addic. r5, r27, 0x10 +/* 802E0E0C 002DDD6C 90 7B 00 00 */ stw r3, 0(r27) +/* 802E0E10 002DDD70 38 00 00 01 */ li r0, 1 +/* 802E0E14 002DDD74 90 7B 00 04 */ stw r3, 4(r27) +/* 802E0E18 002DDD78 93 FB 00 08 */ stw r31, 8(r27) +/* 802E0E1C 002DDD7C 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802E0E20 002DDD80 41 82 00 20 */ beq lbl_802E0E40 +/* 802E0E24 002DDD84 80 1E 00 00 */ lwz r0, 0(r30) +/* 802E0E28 002DDD88 38 65 00 08 */ addi r3, r5, 8 +/* 802E0E2C 002DDD8C 38 9E 00 08 */ addi r4, r30, 8 +/* 802E0E30 002DDD90 90 05 00 00 */ stw r0, 0(r5) +/* 802E0E34 002DDD94 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E0E38 002DDD98 90 05 00 04 */ stw r0, 4(r5) +/* 802E0E3C 002DDD9C 48 05 D3 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802E0E40: +/* 802E0E40 002DDDA0 93 7F 00 00 */ stw r27, 0(r31) +/* 802E0E44 002DDDA4 7F 79 DB 78 */ mr r25, r27 +/* 802E0E48 002DDDA8 80 1D 00 08 */ lwz r0, 8(r29) +/* 802E0E4C 002DDDAC 7C 1F 00 40 */ cmplw r31, r0 +/* 802E0E50 002DDDB0 40 82 00 98 */ bne lbl_802E0EE8 +/* 802E0E54 002DDDB4 93 7D 00 08 */ stw r27, 8(r29) +/* 802E0E58 002DDDB8 48 00 00 90 */ b lbl_802E0EE8 +lbl_802E0E5C: +/* 802E0E5C 002DDDBC 7C 1F 03 78 */ mr r31, r0 +/* 802E0E60 002DDDC0 48 00 00 88 */ b lbl_802E0EE8 +lbl_802E0E64: +/* 802E0E64 002DDDC4 80 1F 00 04 */ lwz r0, 4(r31) +/* 802E0E68 002DDDC8 28 00 00 00 */ cmplwi r0, 0 +/* 802E0E6C 002DDDCC 40 82 00 78 */ bne lbl_802E0EE4 +/* 802E0E70 002DDDD0 3C 80 80 3D */ lis r4, lbl_803D6D70@ha +/* 802E0E74 002DDDD4 38 60 00 28 */ li r3, 0x28 +/* 802E0E78 002DDDD8 38 84 6D 70 */ addi r4, r4, lbl_803D6D70@l +/* 802E0E7C 002DDDDC 38 A0 00 00 */ li r5, 0 +/* 802E0E80 002DDDE0 48 03 49 99 */ bl __nwa__FUlPCcPCc +/* 802E0E84 002DDDE4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802E0E88 002DDDE8 41 82 00 40 */ beq lbl_802E0EC8 +/* 802E0E8C 002DDDEC 38 60 00 00 */ li r3, 0 +/* 802E0E90 002DDDF0 34 BB 00 10 */ addic. r5, r27, 0x10 +/* 802E0E94 002DDDF4 90 7B 00 00 */ stw r3, 0(r27) +/* 802E0E98 002DDDF8 38 00 00 01 */ li r0, 1 +/* 802E0E9C 002DDDFC 90 7B 00 04 */ stw r3, 4(r27) +/* 802E0EA0 002DDE00 93 FB 00 08 */ stw r31, 8(r27) +/* 802E0EA4 002DDE04 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802E0EA8 002DDE08 41 82 00 20 */ beq lbl_802E0EC8 +/* 802E0EAC 002DDE0C 80 1E 00 00 */ lwz r0, 0(r30) +/* 802E0EB0 002DDE10 38 65 00 08 */ addi r3, r5, 8 +/* 802E0EB4 002DDE14 38 9E 00 08 */ addi r4, r30, 8 +/* 802E0EB8 002DDE18 90 05 00 00 */ stw r0, 0(r5) +/* 802E0EBC 002DDE1C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E0EC0 002DDE20 90 05 00 04 */ stw r0, 4(r5) +/* 802E0EC4 002DDE24 48 05 D2 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802E0EC8: +/* 802E0EC8 002DDE28 93 7F 00 04 */ stw r27, 4(r31) +/* 802E0ECC 002DDE2C 7F 79 DB 78 */ mr r25, r27 +/* 802E0ED0 002DDE30 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802E0ED4 002DDE34 7C 1F 00 40 */ cmplw r31, r0 +/* 802E0ED8 002DDE38 40 82 00 10 */ bne lbl_802E0EE8 +/* 802E0EDC 002DDE3C 93 7D 00 0C */ stw r27, 0xc(r29) +/* 802E0EE0 002DDE40 48 00 00 08 */ b lbl_802E0EE8 +lbl_802E0EE4: +/* 802E0EE4 002DDE44 7C 1F 03 78 */ mr r31, r0 +lbl_802E0EE8: +/* 802E0EE8 002DDE48 28 19 00 00 */ cmplwi r25, 0 +/* 802E0EEC 002DDE4C 41 82 FE A4 */ beq lbl_802E0D90 +/* 802E0EF0 002DDE50 80 BD 00 04 */ lwz r5, 4(r29) +/* 802E0EF4 002DDE54 7F 24 CB 78 */ mr r4, r25 +/* 802E0EF8 002DDE58 38 7D 00 08 */ addi r3, r29, 8 +/* 802E0EFC 002DDE5C 38 05 00 01 */ addi r0, r5, 1 +/* 802E0F00 002DDE60 90 1D 00 04 */ stw r0, 4(r29) +/* 802E0F04 002DDE64 48 05 BB 95 */ bl rbtree_rebalance__4rstlFPvPv +/* 802E0F08 002DDE68 93 3C 00 00 */ stw r25, 0(r28) +/* 802E0F0C 002DDE6C 38 1D 00 08 */ addi r0, r29, 8 +/* 802E0F10 002DDE70 90 1C 00 04 */ stw r0, 4(r28) +/* 802E0F14 002DDE74 88 0D 9B 62 */ lbz r0, lbl_805A8722@sda21(r13) +/* 802E0F18 002DDE78 98 1C 00 08 */ stb r0, 8(r28) +lbl_802E0F1C: +/* 802E0F1C 002DDE7C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802E0F20 002DDE80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E0F24 002DDE84 7C 08 03 A6 */ mtlr r0 +/* 802E0F28 002DDE88 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E0F2C 002DDE8C 4E 80 00 20 */ blr + +.global __dt__15CMetaAnimRandomFv +__dt__15CMetaAnimRandomFv: +/* 802E0F30 002DDE90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E0F34 002DDE94 7C 08 02 A6 */ mflr r0 +/* 802E0F38 002DDE98 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E0F3C 002DDE9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E0F40 002DDEA0 7C 9F 23 78 */ mr r31, r4 +/* 802E0F44 002DDEA4 93 C1 00 08 */ stw r30, 8(r1) +/* 802E0F48 002DDEA8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E0F4C 002DDEAC 41 82 00 40 */ beq lbl_802E0F8C +/* 802E0F50 002DDEB0 3C 80 80 3F */ lis r4, lbl_803ECD50@ha +/* 802E0F54 002DDEB4 38 7E 00 04 */ addi r3, r30, 4 +/* 802E0F58 002DDEB8 38 04 CD 50 */ addi r0, r4, lbl_803ECD50@l +/* 802E0F5C 002DDEBC 38 80 FF FF */ li r4, -1 +/* 802E0F60 002DDEC0 90 1E 00 00 */ stw r0, 0(r30) +/* 802E0F64 002DDEC4 48 00 00 45 */ bl sub_802e0fa8 +/* 802E0F68 002DDEC8 28 1E 00 00 */ cmplwi r30, 0 +/* 802E0F6C 002DDECC 41 82 00 10 */ beq lbl_802E0F7C +/* 802E0F70 002DDED0 3C 60 80 3F */ lis r3, lbl_803ECDF0@ha +/* 802E0F74 002DDED4 38 03 CD F0 */ addi r0, r3, lbl_803ECDF0@l +/* 802E0F78 002DDED8 90 1E 00 00 */ stw r0, 0(r30) +lbl_802E0F7C: +/* 802E0F7C 002DDEDC 7F E0 07 35 */ extsh. r0, r31 +/* 802E0F80 002DDEE0 40 81 00 0C */ ble lbl_802E0F8C +/* 802E0F84 002DDEE4 7F C3 F3 78 */ mr r3, r30 +/* 802E0F88 002DDEE8 48 03 49 A9 */ bl Free__7CMemoryFPCv +lbl_802E0F8C: +/* 802E0F8C 002DDEEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E0F90 002DDEF0 7F C3 F3 78 */ mr r3, r30 +/* 802E0F94 002DDEF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E0F98 002DDEF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E0F9C 002DDEFC 7C 08 03 A6 */ mtlr r0 +/* 802E0FA0 002DDF00 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E0FA4 002DDF04 4E 80 00 20 */ blr + +.global sub_802e0fa8 +sub_802e0fa8: +/* 802E0FA8 002DDF08 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E0FAC 002DDF0C 7C 08 02 A6 */ mflr r0 +/* 802E0FB0 002DDF10 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E0FB4 002DDF14 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E0FB8 002DDF18 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E0FBC 002DDF1C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E0FC0 002DDF20 7C 9D 23 78 */ mr r29, r4 +/* 802E0FC4 002DDF24 93 81 00 20 */ stw r28, 0x20(r1) +/* 802E0FC8 002DDF28 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802E0FCC 002DDF2C 41 82 00 68 */ beq lbl_802E1034 +/* 802E0FD0 002DDF30 80 1C 00 04 */ lwz r0, 4(r28) +/* 802E0FD4 002DDF34 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802E0FD8 002DDF38 54 00 18 38 */ slwi r0, r0, 3 +/* 802E0FDC 002DDF3C 7F FE 02 14 */ add r31, r30, r0 +/* 802E0FE0 002DDF40 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802E0FE4 002DDF44 93 E1 00 08 */ stw r31, 8(r1) +/* 802E0FE8 002DDF48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E0FEC 002DDF4C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802E0FF0 002DDF50 48 00 00 1C */ b lbl_802E100C +lbl_802E0FF4: +/* 802E0FF4 002DDF54 28 1E 00 00 */ cmplwi r30, 0 +/* 802E0FF8 002DDF58 41 82 00 10 */ beq lbl_802E1008 +/* 802E0FFC 002DDF5C 41 82 00 0C */ beq lbl_802E1008 +/* 802E1000 002DDF60 7F C3 F3 78 */ mr r3, r30 +/* 802E1004 002DDF64 4B D4 FF 2D */ bl sub_80030f30 +lbl_802E1008: +/* 802E1008 002DDF68 3B DE 00 08 */ addi r30, r30, 8 +lbl_802E100C: +/* 802E100C 002DDF6C 7C 1E F8 40 */ cmplw r30, r31 +/* 802E1010 002DDF70 40 82 FF E4 */ bne lbl_802E0FF4 +/* 802E1014 002DDF74 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802E1018 002DDF78 28 03 00 00 */ cmplwi r3, 0 +/* 802E101C 002DDF7C 41 82 00 08 */ beq lbl_802E1024 +/* 802E1020 002DDF80 48 03 49 11 */ bl Free__7CMemoryFPCv +lbl_802E1024: +/* 802E1024 002DDF84 7F A0 07 35 */ extsh. r0, r29 +/* 802E1028 002DDF88 40 81 00 0C */ ble lbl_802E1034 +/* 802E102C 002DDF8C 7F 83 E3 78 */ mr r3, r28 +/* 802E1030 002DDF90 48 03 49 01 */ bl Free__7CMemoryFPCv +lbl_802E1034: +/* 802E1034 002DDF94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E1038 002DDF98 7F 83 E3 78 */ mr r3, r28 +/* 802E103C 002DDF9C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E1040 002DDFA0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E1044 002DDFA4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E1048 002DDFA8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802E104C 002DDFAC 7C 08 03 A6 */ mtlr r0 +/* 802E1050 002DDFB0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E1054 002DDFB4 4E 80 00 20 */ blr + +.global GetType__15CMetaAnimRandomCFv +GetType__15CMetaAnimRandomCFv: +/* 802E1058 002DDFB8 38 60 00 03 */ li r3, 3 +/* 802E105C 002DDFBC 4E 80 00 20 */ blr + +.global CreateRandomData__15CMetaAnimRandomFR12CInputStream +CreateRandomData__15CMetaAnimRandomFR12CInputStream: +/* 802E1060 002DDFC0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E1064 002DDFC4 7C 08 02 A6 */ mflr r0 +/* 802E1068 002DDFC8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E106C 002DDFCC 38 00 00 00 */ li r0, 0 +/* 802E1070 002DDFD0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E1074 002DDFD4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802E1078 002DDFD8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802E107C 002DDFDC 7C 9D 23 78 */ mr r29, r4 +/* 802E1080 002DDFE0 93 81 00 30 */ stw r28, 0x30(r1) +/* 802E1084 002DDFE4 7C 7C 1B 78 */ mr r28, r3 +/* 802E1088 002DDFE8 7F A3 EB 78 */ mr r3, r29 +/* 802E108C 002DDFEC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E1090 002DDFF0 90 01 00 20 */ stw r0, 0x20(r1) +/* 802E1094 002DDFF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E1098 002DDFF8 48 05 DB ED */ bl ReadLong__12CInputStreamFv +/* 802E109C 002DDFFC 7C 7F 1B 78 */ mr r31, r3 +/* 802E10A0 002DE000 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E10A4 002DE004 7F E4 FB 78 */ mr r4, r31 +/* 802E10A8 002DE008 48 00 04 C1 */ bl "reserve__Q24rstl79vector,i>,Q24rstl17rmemory_allocator>Fi" +/* 802E10AC 002DE00C 3B C0 00 00 */ li r30, 0 +/* 802E10B0 002DE010 48 00 00 C8 */ b lbl_802E1178 +lbl_802E10B4: +/* 802E10B4 002DE014 7F A4 EB 78 */ mr r4, r29 +/* 802E10B8 002DE018 38 61 00 08 */ addi r3, r1, 8 +/* 802E10BC 002DE01C 4B FF EF 21 */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802E10C0 002DE020 80 A1 00 08 */ lwz r5, 8(r1) +/* 802E10C4 002DE024 38 61 00 08 */ addi r3, r1, 8 +/* 802E10C8 002DE028 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802E10CC 002DE02C 80 85 00 04 */ lwz r4, 4(r5) +/* 802E10D0 002DE030 38 04 00 01 */ addi r0, r4, 1 +/* 802E10D4 002DE034 90 05 00 04 */ stw r0, 4(r5) +/* 802E10D8 002DE038 4B D4 FE 59 */ bl sub_80030f30 +/* 802E10DC 002DE03C 7F A3 EB 78 */ mr r3, r29 +/* 802E10E0 002DE040 48 05 DB A5 */ bl ReadLong__12CInputStreamFv +/* 802E10E4 002DE044 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E10E8 002DE048 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802E10EC 002DE04C 80 85 00 04 */ lwz r4, 4(r5) +/* 802E10F0 002DE050 38 04 00 01 */ addi r0, r4, 1 +/* 802E10F4 002DE054 90 05 00 04 */ stw r0, 4(r5) +/* 802E10F8 002DE058 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E10FC 002DE05C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802E1100 002DE060 90 61 00 14 */ stw r3, 0x14(r1) +/* 802E1104 002DE064 7C 00 28 00 */ cmpw r0, r5 +/* 802E1108 002DE068 41 80 00 1C */ blt lbl_802E1124 +/* 802E110C 002DE06C 2C 05 00 00 */ cmpwi r5, 0 +/* 802E1110 002DE070 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E1114 002DE074 38 80 00 04 */ li r4, 4 +/* 802E1118 002DE078 41 82 00 08 */ beq lbl_802E1120 +/* 802E111C 002DE07C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E1120: +/* 802E1120 002DE080 48 00 04 49 */ bl "reserve__Q24rstl79vector,i>,Q24rstl17rmemory_allocator>Fi" +lbl_802E1124: +/* 802E1124 002DE084 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E1128 002DE088 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802E112C 002DE08C 54 00 18 38 */ slwi r0, r0, 3 +/* 802E1130 002DE090 7C A3 02 15 */ add. r5, r3, r0 +/* 802E1134 002DE094 41 82 00 24 */ beq lbl_802E1158 +/* 802E1138 002DE098 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802E113C 002DE09C 90 05 00 00 */ stw r0, 0(r5) +/* 802E1140 002DE0A0 80 85 00 00 */ lwz r4, 0(r5) +/* 802E1144 002DE0A4 80 64 00 04 */ lwz r3, 4(r4) +/* 802E1148 002DE0A8 38 03 00 01 */ addi r0, r3, 1 +/* 802E114C 002DE0AC 90 04 00 04 */ stw r0, 4(r4) +/* 802E1150 002DE0B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E1154 002DE0B4 90 05 00 04 */ stw r0, 4(r5) +lbl_802E1158: +/* 802E1158 002DE0B8 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 802E115C 002DE0BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E1160 002DE0C0 38 04 00 01 */ addi r0, r4, 1 +/* 802E1164 002DE0C4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E1168 002DE0C8 4B D4 FD C9 */ bl sub_80030f30 +/* 802E116C 002DE0CC 38 61 00 0C */ addi r3, r1, 0xc +/* 802E1170 002DE0D0 4B D4 FD C1 */ bl sub_80030f30 +/* 802E1174 002DE0D4 3B DE 00 01 */ addi r30, r30, 1 +lbl_802E1178: +/* 802E1178 002DE0D8 7C 1E F8 00 */ cmpw r30, r31 +/* 802E117C 002DE0DC 41 80 FF 38 */ blt lbl_802E10B4 +/* 802E1180 002DE0E0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E1184 002DE0E4 90 1C 00 04 */ stw r0, 4(r28) +/* 802E1188 002DE0E8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802E118C 002DE0EC 90 1C 00 08 */ stw r0, 8(r28) +/* 802E1190 002DE0F0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E1194 002DE0F4 2C 00 00 00 */ cmpwi r0, 0 +/* 802E1198 002DE0F8 40 82 00 1C */ bne lbl_802E11B4 +/* 802E119C 002DE0FC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802E11A0 002DE100 2C 00 00 00 */ cmpwi r0, 0 +/* 802E11A4 002DE104 40 82 00 10 */ bne lbl_802E11B4 +/* 802E11A8 002DE108 38 00 00 00 */ li r0, 0 +/* 802E11AC 002DE10C 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802E11B0 002DE110 48 00 00 7C */ b lbl_802E122C +lbl_802E11B4: +/* 802E11B4 002DE114 80 1C 00 08 */ lwz r0, 8(r28) +/* 802E11B8 002DE118 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802E11BC 002DE11C 40 82 00 10 */ bne lbl_802E11CC +/* 802E11C0 002DE120 38 00 00 00 */ li r0, 0 +/* 802E11C4 002DE124 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802E11C8 002DE128 48 00 00 18 */ b lbl_802E11E0 +lbl_802E11CC: +/* 802E11CC 002DE12C 3C 80 80 3D */ lis r4, lbl_803D6D78@ha +/* 802E11D0 002DE130 38 A0 00 00 */ li r5, 0 +/* 802E11D4 002DE134 38 84 6D 78 */ addi r4, r4, lbl_803D6D78@l +/* 802E11D8 002DE138 48 03 46 41 */ bl __nwa__FUlPCcPCc +/* 802E11DC 002DE13C 90 7C 00 0C */ stw r3, 0xc(r28) +lbl_802E11E0: +/* 802E11E0 002DE140 80 1C 00 04 */ lwz r0, 4(r28) +/* 802E11E4 002DE144 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 802E11E8 002DE148 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 802E11EC 002DE14C 7C 09 03 A6 */ mtctr r0 +/* 802E11F0 002DE150 2C 00 00 00 */ cmpwi r0, 0 +/* 802E11F4 002DE154 40 81 00 38 */ ble lbl_802E122C +lbl_802E11F8: +/* 802E11F8 002DE158 28 05 00 00 */ cmplwi r5, 0 +/* 802E11FC 002DE15C 41 82 00 24 */ beq lbl_802E1220 +/* 802E1200 002DE160 80 06 00 00 */ lwz r0, 0(r6) +/* 802E1204 002DE164 90 05 00 00 */ stw r0, 0(r5) +/* 802E1208 002DE168 80 85 00 00 */ lwz r4, 0(r5) +/* 802E120C 002DE16C 80 64 00 04 */ lwz r3, 4(r4) +/* 802E1210 002DE170 38 03 00 01 */ addi r0, r3, 1 +/* 802E1214 002DE174 90 04 00 04 */ stw r0, 4(r4) +/* 802E1218 002DE178 80 06 00 04 */ lwz r0, 4(r6) +/* 802E121C 002DE17C 90 05 00 04 */ stw r0, 4(r5) +lbl_802E1220: +/* 802E1220 002DE180 38 A5 00 08 */ addi r5, r5, 8 +/* 802E1224 002DE184 38 C6 00 08 */ addi r6, r6, 8 +/* 802E1228 002DE188 42 00 FF D0 */ bdnz lbl_802E11F8 +lbl_802E122C: +/* 802E122C 002DE18C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E1230 002DE190 38 80 FF FF */ li r4, -1 +/* 802E1234 002DE194 4B FF FD 75 */ bl sub_802e0fa8 +/* 802E1238 002DE198 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E123C 002DE19C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E1240 002DE1A0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802E1244 002DE1A4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802E1248 002DE1A8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802E124C 002DE1AC 7C 08 03 A6 */ mtlr r0 +/* 802E1250 002DE1B0 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E1254 002DE1B4 4E 80 00 20 */ blr + +.global WriteAnimData__15CMetaAnimRandomCFR13COutputStream +WriteAnimData__15CMetaAnimRandomCFR13COutputStream: +/* 802E1258 002DE1B8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E125C 002DE1BC 7C 08 02 A6 */ mflr r0 +/* 802E1260 002DE1C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E1264 002DE1C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E1268 002DE1C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E126C 002DE1CC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E1270 002DE1D0 93 81 00 20 */ stw r28, 0x20(r1) +/* 802E1274 002DE1D4 7C 9C 23 78 */ mr r28, r4 +/* 802E1278 002DE1D8 80 A3 00 08 */ lwz r5, 8(r3) +/* 802E127C 002DE1DC 83 C3 00 10 */ lwz r30, 0x10(r3) +/* 802E1280 002DE1E0 7F 83 E3 78 */ mr r3, r28 +/* 802E1284 002DE1E4 54 A0 18 38 */ slwi r0, r5, 3 +/* 802E1288 002DE1E8 90 A1 00 08 */ stw r5, 8(r1) +/* 802E128C 002DE1EC 7F FE 02 14 */ add r31, r30, r0 +/* 802E1290 002DE1F0 48 05 E2 29 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E1294 002DE1F4 7F 83 E3 78 */ mr r3, r28 +/* 802E1298 002DE1F8 38 81 00 08 */ addi r4, r1, 8 +/* 802E129C 002DE1FC 38 A0 00 04 */ li r5, 4 +/* 802E12A0 002DE200 48 05 E3 09 */ bl DoPut__13COutputStreamFPCvUl +/* 802E12A4 002DE204 48 00 00 54 */ b lbl_802E12F8 +lbl_802E12A8: +/* 802E12A8 002DE208 80 BE 00 00 */ lwz r5, 0(r30) +/* 802E12AC 002DE20C 7F 84 E3 78 */ mr r4, r28 +/* 802E12B0 002DE210 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802E12B4 002DE214 80 65 00 04 */ lwz r3, 4(r5) +/* 802E12B8 002DE218 38 03 00 01 */ addi r0, r3, 1 +/* 802E12BC 002DE21C 90 05 00 04 */ stw r0, 4(r5) +/* 802E12C0 002DE220 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802E12C4 002DE224 83 BE 00 04 */ lwz r29, 4(r30) +/* 802E12C8 002DE228 80 63 00 00 */ lwz r3, 0(r3) +/* 802E12CC 002DE22C 48 00 60 55 */ bl PutTo__9IMetaAnimCFR13COutputStream +/* 802E12D0 002DE230 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802E12D4 002DE234 7F 83 E3 78 */ mr r3, r28 +/* 802E12D8 002DE238 48 05 E1 E1 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E12DC 002DE23C 7F 83 E3 78 */ mr r3, r28 +/* 802E12E0 002DE240 38 81 00 0C */ addi r4, r1, 0xc +/* 802E12E4 002DE244 38 A0 00 04 */ li r5, 4 +/* 802E12E8 002DE248 48 05 E2 C1 */ bl DoPut__13COutputStreamFPCvUl +/* 802E12EC 002DE24C 3B DE 00 08 */ addi r30, r30, 8 +/* 802E12F0 002DE250 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E12F4 002DE254 4B D4 FC 3D */ bl sub_80030f30 +lbl_802E12F8: +/* 802E12F8 002DE258 7C 1E F8 40 */ cmplw r30, r31 +/* 802E12FC 002DE25C 40 82 FF AC */ bne lbl_802E12A8 +/* 802E1300 002DE260 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E1304 002DE264 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E1308 002DE268 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E130C 002DE26C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E1310 002DE270 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802E1314 002DE274 7C 08 03 A6 */ mtlr r0 +/* 802E1318 002DE278 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E131C 002DE27C 4E 80 00 20 */ blr + +.global "GetUniquePrimitives__15CMetaAnimRandomCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +"GetUniquePrimitives__15CMetaAnimRandomCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>": +/* 802E1320 002DE280 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E1324 002DE284 7C 08 02 A6 */ mflr r0 +/* 802E1328 002DE288 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E132C 002DE28C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E1330 002DE290 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E1334 002DE294 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E1338 002DE298 7C 9D 23 78 */ mr r29, r4 +/* 802E133C 002DE29C 80 03 00 08 */ lwz r0, 8(r3) +/* 802E1340 002DE2A0 83 C3 00 10 */ lwz r30, 0x10(r3) +/* 802E1344 002DE2A4 54 00 18 38 */ slwi r0, r0, 3 +/* 802E1348 002DE2A8 7F FE 02 14 */ add r31, r30, r0 +/* 802E134C 002DE2AC 48 00 00 24 */ b lbl_802E1370 +lbl_802E1350: +/* 802E1350 002DE2B0 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E1354 002DE2B4 7F A4 EB 78 */ mr r4, r29 +/* 802E1358 002DE2B8 80 63 00 00 */ lwz r3, 0(r3) +/* 802E135C 002DE2BC 81 83 00 00 */ lwz r12, 0(r3) +/* 802E1360 002DE2C0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802E1364 002DE2C4 7D 89 03 A6 */ mtctr r12 +/* 802E1368 002DE2C8 4E 80 04 21 */ bctrl +/* 802E136C 002DE2CC 3B DE 00 08 */ addi r30, r30, 8 +lbl_802E1370: +/* 802E1370 002DE2D0 7C 1E F8 40 */ cmplw r30, r31 +/* 802E1374 002DE2D4 40 82 FF DC */ bne lbl_802E1350 +/* 802E1378 002DE2D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E137C 002DE2DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E1380 002DE2E0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E1384 002DE2E4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E1388 002DE2E8 7C 08 03 A6 */ mtlr r0 +/* 802E138C 002DE2EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E1390 002DE2F0 4E 80 00 20 */ blr + +.global VGetAnimationTree__15CMetaAnimRandomCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders +VGetAnimationTree__15CMetaAnimRandomCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders: +/* 802E1394 002DE2F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E1398 002DE2F8 7C 08 02 A6 */ mflr r0 +/* 802E139C 002DE2FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E13A0 002DE300 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E13A4 002DE304 7C DF 33 78 */ mr r31, r6 +/* 802E13A8 002DE308 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E13AC 002DE30C 7C BE 2B 78 */ mr r30, r5 +/* 802E13B0 002DE310 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E13B4 002DE314 7C 9D 23 78 */ mr r29, r4 +/* 802E13B8 002DE318 38 80 00 01 */ li r4, 1 +/* 802E13BC 002DE31C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802E13C0 002DE320 7C 7C 1B 78 */ mr r28, r3 +/* 802E13C4 002DE324 80 A5 00 08 */ lwz r5, 8(r5) +/* 802E13C8 002DE328 80 65 00 00 */ lwz r3, 0(r5) +/* 802E13CC 002DE32C 38 A0 00 64 */ li r5, 0x64 +/* 802E13D0 002DE330 48 03 11 C5 */ bl Range__9CRandom16Fii +/* 802E13D4 002DE334 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 802E13D8 002DE338 38 A0 00 00 */ li r5, 0 +/* 802E13DC 002DE33C 48 00 00 1C */ b lbl_802E13F8 +lbl_802E13E0: +/* 802E13E0 002DE340 80 04 00 04 */ lwz r0, 4(r4) +/* 802E13E4 002DE344 7C 03 00 00 */ cmpw r3, r0 +/* 802E13E8 002DE348 41 81 00 0C */ bgt lbl_802E13F4 +/* 802E13EC 002DE34C 38 A0 00 01 */ li r5, 1 +/* 802E13F0 002DE350 48 00 00 08 */ b lbl_802E13F8 +lbl_802E13F4: +/* 802E13F4 002DE354 38 84 00 08 */ addi r4, r4, 8 +lbl_802E13F8: +/* 802E13F8 002DE358 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802E13FC 002DE35C 41 82 FF E4 */ beq lbl_802E13E0 +/* 802E1400 002DE360 80 84 00 00 */ lwz r4, 0(r4) +/* 802E1404 002DE364 7F C5 F3 78 */ mr r5, r30 +/* 802E1408 002DE368 7F E6 FB 78 */ mr r6, r31 +/* 802E140C 002DE36C 38 61 00 08 */ addi r3, r1, 8 +/* 802E1410 002DE370 80 84 00 00 */ lwz r4, 0(r4) +/* 802E1414 002DE374 81 84 00 00 */ lwz r12, 0(r4) +/* 802E1418 002DE378 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E141C 002DE37C 7D 89 03 A6 */ mtctr r12 +/* 802E1420 002DE380 4E 80 04 21 */ bctrl +/* 802E1424 002DE384 80 01 00 08 */ lwz r0, 8(r1) +/* 802E1428 002DE388 38 61 00 08 */ addi r3, r1, 8 +/* 802E142C 002DE38C 90 1C 00 00 */ stw r0, 0(r28) +/* 802E1430 002DE390 80 BC 00 00 */ lwz r5, 0(r28) +/* 802E1434 002DE394 80 85 00 04 */ lwz r4, 4(r5) +/* 802E1438 002DE398 38 04 00 01 */ addi r0, r4, 1 +/* 802E143C 002DE39C 90 05 00 04 */ stw r0, 4(r5) +/* 802E1440 002DE3A0 4B D4 FB 61 */ bl sub_80030fa0 +/* 802E1444 002DE3A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E1448 002DE3A8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E144C 002DE3AC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E1450 002DE3B0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E1454 002DE3B4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802E1458 002DE3B8 7C 08 03 A6 */ mtlr r0 +/* 802E145C 002DE3BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E1460 002DE3C0 4E 80 00 20 */ blr + +.global __ct__15CMetaAnimRandomFR12CInputStream +__ct__15CMetaAnimRandomFR12CInputStream: +/* 802E1464 002DE3C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E1468 002DE3C8 7C 08 02 A6 */ mflr r0 +/* 802E146C 002DE3CC 3C A0 80 3F */ lis r5, lbl_803ECDF0@ha +/* 802E1470 002DE3D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E1474 002DE3D4 38 05 CD F0 */ addi r0, r5, lbl_803ECDF0@l +/* 802E1478 002DE3D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E147C 002DE3DC 7C 7F 1B 78 */ mr r31, r3 +/* 802E1480 002DE3E0 3C 60 80 3F */ lis r3, lbl_803ECD50@ha +/* 802E1484 002DE3E4 90 1F 00 00 */ stw r0, 0(r31) +/* 802E1488 002DE3E8 38 03 CD 50 */ addi r0, r3, lbl_803ECD50@l +/* 802E148C 002DE3EC 38 61 00 08 */ addi r3, r1, 8 +/* 802E1490 002DE3F0 90 1F 00 00 */ stw r0, 0(r31) +/* 802E1494 002DE3F4 4B FF FB CD */ bl CreateRandomData__15CMetaAnimRandomFR12CInputStream +/* 802E1498 002DE3F8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E149C 002DE3FC 90 1F 00 08 */ stw r0, 8(r31) +/* 802E14A0 002DE400 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802E14A4 002DE404 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802E14A8 002DE408 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E14AC 002DE40C 2C 00 00 00 */ cmpwi r0, 0 +/* 802E14B0 002DE410 40 82 00 1C */ bne lbl_802E14CC +/* 802E14B4 002DE414 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802E14B8 002DE418 2C 00 00 00 */ cmpwi r0, 0 +/* 802E14BC 002DE41C 40 82 00 10 */ bne lbl_802E14CC +/* 802E14C0 002DE420 38 00 00 00 */ li r0, 0 +/* 802E14C4 002DE424 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E14C8 002DE428 48 00 00 7C */ b lbl_802E1544 +lbl_802E14CC: +/* 802E14CC 002DE42C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802E14D0 002DE430 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802E14D4 002DE434 40 82 00 10 */ bne lbl_802E14E4 +/* 802E14D8 002DE438 38 00 00 00 */ li r0, 0 +/* 802E14DC 002DE43C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E14E0 002DE440 48 00 00 18 */ b lbl_802E14F8 +lbl_802E14E4: +/* 802E14E4 002DE444 3C 80 80 3D */ lis r4, lbl_803D6D78@ha +/* 802E14E8 002DE448 38 A0 00 00 */ li r5, 0 +/* 802E14EC 002DE44C 38 84 6D 78 */ addi r4, r4, lbl_803D6D78@l +/* 802E14F0 002DE450 48 03 43 29 */ bl __nwa__FUlPCcPCc +/* 802E14F4 002DE454 90 7F 00 10 */ stw r3, 0x10(r31) +lbl_802E14F8: +/* 802E14F8 002DE458 80 1F 00 08 */ lwz r0, 8(r31) +/* 802E14FC 002DE45C 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 802E1500 002DE460 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 802E1504 002DE464 7C 09 03 A6 */ mtctr r0 +/* 802E1508 002DE468 2C 00 00 00 */ cmpwi r0, 0 +/* 802E150C 002DE46C 40 81 00 38 */ ble lbl_802E1544 +lbl_802E1510: +/* 802E1510 002DE470 28 05 00 00 */ cmplwi r5, 0 +/* 802E1514 002DE474 41 82 00 24 */ beq lbl_802E1538 +/* 802E1518 002DE478 80 06 00 00 */ lwz r0, 0(r6) +/* 802E151C 002DE47C 90 05 00 00 */ stw r0, 0(r5) +/* 802E1520 002DE480 80 85 00 00 */ lwz r4, 0(r5) +/* 802E1524 002DE484 80 64 00 04 */ lwz r3, 4(r4) +/* 802E1528 002DE488 38 03 00 01 */ addi r0, r3, 1 +/* 802E152C 002DE48C 90 04 00 04 */ stw r0, 4(r4) +/* 802E1530 002DE490 80 06 00 04 */ lwz r0, 4(r6) +/* 802E1534 002DE494 90 05 00 04 */ stw r0, 4(r5) +lbl_802E1538: +/* 802E1538 002DE498 38 A5 00 08 */ addi r5, r5, 8 +/* 802E153C 002DE49C 38 C6 00 08 */ addi r6, r6, 8 +/* 802E1540 002DE4A0 42 00 FF D0 */ bdnz lbl_802E1510 +lbl_802E1544: +/* 802E1544 002DE4A4 38 61 00 08 */ addi r3, r1, 8 +/* 802E1548 002DE4A8 38 80 FF FF */ li r4, -1 +/* 802E154C 002DE4AC 4B FF FA 5D */ bl sub_802e0fa8 +/* 802E1550 002DE4B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E1554 002DE4B4 7F E3 FB 78 */ mr r3, r31 +/* 802E1558 002DE4B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E155C 002DE4BC 7C 08 03 A6 */ mtlr r0 +/* 802E1560 002DE4C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E1564 002DE4C4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl79vector,i>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl79vector,i>,Q24rstl17rmemory_allocator>Fi": +/* 802E1568 002DE4C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E156C 002DE4CC 7C 08 02 A6 */ mflr r0 +/* 802E1570 002DE4D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E1574 002DE4D4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802E1578 002DE4D8 7C 9F 23 78 */ mr r31, r4 +/* 802E157C 002DE4DC 7C 7E 1B 78 */ mr r30, r3 +/* 802E1580 002DE4E0 80 03 00 08 */ lwz r0, 8(r3) +/* 802E1584 002DE4E4 7C 1F 00 00 */ cmpw r31, r0 +/* 802E1588 002DE4E8 40 81 00 D4 */ ble lbl_802E165C +/* 802E158C 002DE4EC 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802E1590 002DE4F0 40 82 00 0C */ bne lbl_802E159C +/* 802E1594 002DE4F4 3B A0 00 00 */ li r29, 0 +/* 802E1598 002DE4F8 48 00 00 18 */ b lbl_802E15B0 +lbl_802E159C: +/* 802E159C 002DE4FC 3C 80 80 3D */ lis r4, lbl_803D6D78@ha +/* 802E15A0 002DE500 38 A0 00 00 */ li r5, 0 +/* 802E15A4 002DE504 38 84 6D 78 */ addi r4, r4, lbl_803D6D78@l +/* 802E15A8 002DE508 48 03 42 71 */ bl __nwa__FUlPCcPCc +/* 802E15AC 002DE50C 7C 7D 1B 78 */ mr r29, r3 +lbl_802E15B0: +/* 802E15B0 002DE510 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E15B4 002DE514 7F A6 EB 78 */ mr r6, r29 +/* 802E15B8 002DE518 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 802E15BC 002DE51C 54 00 18 38 */ slwi r0, r0, 3 +/* 802E15C0 002DE520 7C A7 02 14 */ add r5, r7, r0 +/* 802E15C4 002DE524 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E15C8 002DE528 90 A1 00 08 */ stw r5, 8(r1) +/* 802E15CC 002DE52C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802E15D0 002DE530 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802E15D4 002DE534 48 00 00 34 */ b lbl_802E1608 +lbl_802E15D8: +/* 802E15D8 002DE538 28 06 00 00 */ cmplwi r6, 0 +/* 802E15DC 002DE53C 41 82 00 24 */ beq lbl_802E1600 +/* 802E15E0 002DE540 80 07 00 00 */ lwz r0, 0(r7) +/* 802E15E4 002DE544 90 06 00 00 */ stw r0, 0(r6) +/* 802E15E8 002DE548 80 86 00 00 */ lwz r4, 0(r6) +/* 802E15EC 002DE54C 80 64 00 04 */ lwz r3, 4(r4) +/* 802E15F0 002DE550 38 03 00 01 */ addi r0, r3, 1 +/* 802E15F4 002DE554 90 04 00 04 */ stw r0, 4(r4) +/* 802E15F8 002DE558 80 07 00 04 */ lwz r0, 4(r7) +/* 802E15FC 002DE55C 90 06 00 04 */ stw r0, 4(r6) +lbl_802E1600: +/* 802E1600 002DE560 38 C6 00 08 */ addi r6, r6, 8 +/* 802E1604 002DE564 38 E7 00 08 */ addi r7, r7, 8 +lbl_802E1608: +/* 802E1608 002DE568 7C 07 28 40 */ cmplw r7, r5 +/* 802E160C 002DE56C 40 82 FF CC */ bne lbl_802E15D8 +/* 802E1610 002DE570 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E1614 002DE574 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802E1618 002DE578 54 00 18 38 */ slwi r0, r0, 3 +/* 802E161C 002DE57C 7F 9B 02 14 */ add r28, r27, r0 +/* 802E1620 002DE580 48 00 00 1C */ b lbl_802E163C +lbl_802E1624: +/* 802E1624 002DE584 28 1B 00 00 */ cmplwi r27, 0 +/* 802E1628 002DE588 41 82 00 10 */ beq lbl_802E1638 +/* 802E162C 002DE58C 41 82 00 0C */ beq lbl_802E1638 +/* 802E1630 002DE590 7F 63 DB 78 */ mr r3, r27 +/* 802E1634 002DE594 4B D4 F8 FD */ bl sub_80030f30 +lbl_802E1638: +/* 802E1638 002DE598 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802E163C: +/* 802E163C 002DE59C 7C 1B E0 40 */ cmplw r27, r28 +/* 802E1640 002DE5A0 40 82 FF E4 */ bne lbl_802E1624 +/* 802E1644 002DE5A4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E1648 002DE5A8 28 03 00 00 */ cmplwi r3, 0 +/* 802E164C 002DE5AC 41 82 00 08 */ beq lbl_802E1654 +/* 802E1650 002DE5B0 48 03 42 E1 */ bl Free__7CMemoryFPCv +lbl_802E1654: +/* 802E1654 002DE5B4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802E1658 002DE5B8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802E165C: +/* 802E165C 002DE5BC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802E1660 002DE5C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E1664 002DE5C4 7C 08 03 A6 */ mtlr r0 +/* 802E1668 002DE5C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E166C 002DE5CC 4E 80 00 20 */ blr + +.global __dt__17CMetaAnimSequenceFv +__dt__17CMetaAnimSequenceFv: +/* 802E1670 002DE5D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E1674 002DE5D4 7C 08 02 A6 */ mflr r0 +/* 802E1678 002DE5D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E167C 002DE5DC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E1680 002DE5E0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E1684 002DE5E4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E1688 002DE5E8 7C 9D 23 78 */ mr r29, r4 +/* 802E168C 002DE5EC 93 81 00 20 */ stw r28, 0x20(r1) +/* 802E1690 002DE5F0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802E1694 002DE5F4 41 82 00 8C */ beq lbl_802E1720 +/* 802E1698 002DE5F8 3C 60 80 3F */ lis r3, lbl_803ECD70@ha +/* 802E169C 002DE5FC 34 1C 00 04 */ addic. r0, r28, 4 +/* 802E16A0 002DE600 38 03 CD 70 */ addi r0, r3, lbl_803ECD70@l +/* 802E16A4 002DE604 90 1C 00 00 */ stw r0, 0(r28) +/* 802E16A8 002DE608 41 82 00 54 */ beq lbl_802E16FC +/* 802E16AC 002DE60C 80 1C 00 08 */ lwz r0, 8(r28) +/* 802E16B0 002DE610 83 DC 00 10 */ lwz r30, 0x10(r28) +/* 802E16B4 002DE614 54 00 10 3A */ slwi r0, r0, 2 +/* 802E16B8 002DE618 7F FE 02 14 */ add r31, r30, r0 +/* 802E16BC 002DE61C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802E16C0 002DE620 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802E16C4 002DE624 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802E16C8 002DE628 93 C1 00 08 */ stw r30, 8(r1) +/* 802E16CC 002DE62C 48 00 00 18 */ b lbl_802E16E4 +lbl_802E16D0: +/* 802E16D0 002DE630 28 1E 00 00 */ cmplwi r30, 0 +/* 802E16D4 002DE634 41 82 00 0C */ beq lbl_802E16E0 +/* 802E16D8 002DE638 7F C3 F3 78 */ mr r3, r30 +/* 802E16DC 002DE63C 4B D4 F8 55 */ bl sub_80030f30 +lbl_802E16E0: +/* 802E16E0 002DE640 3B DE 00 04 */ addi r30, r30, 4 +lbl_802E16E4: +/* 802E16E4 002DE644 7C 1E F8 40 */ cmplw r30, r31 +/* 802E16E8 002DE648 40 82 FF E8 */ bne lbl_802E16D0 +/* 802E16EC 002DE64C 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802E16F0 002DE650 28 03 00 00 */ cmplwi r3, 0 +/* 802E16F4 002DE654 41 82 00 08 */ beq lbl_802E16FC +/* 802E16F8 002DE658 48 03 42 39 */ bl Free__7CMemoryFPCv +lbl_802E16FC: +/* 802E16FC 002DE65C 28 1C 00 00 */ cmplwi r28, 0 +/* 802E1700 002DE660 41 82 00 10 */ beq lbl_802E1710 +/* 802E1704 002DE664 3C 60 80 3F */ lis r3, lbl_803ECDF0@ha +/* 802E1708 002DE668 38 03 CD F0 */ addi r0, r3, lbl_803ECDF0@l +/* 802E170C 002DE66C 90 1C 00 00 */ stw r0, 0(r28) +lbl_802E1710: +/* 802E1710 002DE670 7F A0 07 35 */ extsh. r0, r29 +/* 802E1714 002DE674 40 81 00 0C */ ble lbl_802E1720 +/* 802E1718 002DE678 7F 83 E3 78 */ mr r3, r28 +/* 802E171C 002DE67C 48 03 42 15 */ bl Free__7CMemoryFPCv +lbl_802E1720: +/* 802E1720 002DE680 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E1724 002DE684 7F 83 E3 78 */ mr r3, r28 +/* 802E1728 002DE688 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E172C 002DE68C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E1730 002DE690 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E1734 002DE694 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802E1738 002DE698 7C 08 03 A6 */ mtlr r0 +/* 802E173C 002DE69C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E1740 002DE6A0 4E 80 00 20 */ blr + +.global sub_802e1744 +sub_802e1744: +/* 802E1744 002DE6A4 38 60 00 04 */ li r3, 4 +/* 802E1748 002DE6A8 4E 80 00 20 */ blr + +.global CreateSequence__17CMetaAnimSequenceFR12CInputStream +CreateSequence__17CMetaAnimSequenceFR12CInputStream: +/* 802E174C 002DE6AC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E1750 002DE6B0 7C 08 02 A6 */ mflr r0 +/* 802E1754 002DE6B4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E1758 002DE6B8 38 00 00 00 */ li r0, 0 +/* 802E175C 002DE6BC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E1760 002DE6C0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802E1764 002DE6C4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802E1768 002DE6C8 7C 9D 23 78 */ mr r29, r4 +/* 802E176C 002DE6CC 93 81 00 30 */ stw r28, 0x30(r1) +/* 802E1770 002DE6D0 7C 7C 1B 78 */ mr r28, r3 +/* 802E1774 002DE6D4 7F A3 EB 78 */ mr r3, r29 +/* 802E1778 002DE6D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E177C 002DE6DC 90 01 00 28 */ stw r0, 0x28(r1) +/* 802E1780 002DE6E0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802E1784 002DE6E4 48 05 D5 01 */ bl ReadLong__12CInputStreamFv +/* 802E1788 002DE6E8 7C 7F 1B 78 */ mr r31, r3 +/* 802E178C 002DE6EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E1790 002DE6F0 7F E4 FB 78 */ mr r4, r31 +/* 802E1794 002DE6F4 4B D8 C8 AD */ bl "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" +/* 802E1798 002DE6F8 3B C0 00 00 */ li r30, 0 +/* 802E179C 002DE6FC 48 00 00 98 */ b lbl_802E1834 +lbl_802E17A0: +/* 802E17A0 002DE700 7F A4 EB 78 */ mr r4, r29 +/* 802E17A4 002DE704 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E17A8 002DE708 4B FF E8 35 */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802E17AC 002DE70C 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 802E17B0 002DE710 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E17B4 002DE714 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 802E17B8 002DE718 80 85 00 04 */ lwz r4, 4(r5) +/* 802E17BC 002DE71C 38 04 00 01 */ addi r0, r4, 1 +/* 802E17C0 002DE720 90 05 00 04 */ stw r0, 4(r5) +/* 802E17C4 002DE724 4B D4 F7 6D */ bl sub_80030f30 +/* 802E17C8 002DE728 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E17CC 002DE72C 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 802E17D0 002DE730 7C 00 28 00 */ cmpw r0, r5 +/* 802E17D4 002DE734 41 80 00 1C */ blt lbl_802E17F0 +/* 802E17D8 002DE738 2C 05 00 00 */ cmpwi r5, 0 +/* 802E17DC 002DE73C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E17E0 002DE740 38 80 00 04 */ li r4, 4 +/* 802E17E4 002DE744 41 82 00 08 */ beq lbl_802E17EC +/* 802E17E8 002DE748 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E17EC: +/* 802E17EC 002DE74C 4B D8 C8 55 */ bl "reserve__Q24rstl62vector,Q24rstl17rmemory_allocator>Fi" +lbl_802E17F0: +/* 802E17F0 002DE750 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E17F4 002DE754 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802E17F8 002DE758 54 00 10 3A */ slwi r0, r0, 2 +/* 802E17FC 002DE75C 7C 63 02 15 */ add. r3, r3, r0 +/* 802E1800 002DE760 41 82 00 1C */ beq lbl_802E181C +/* 802E1804 002DE764 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E1808 002DE768 90 03 00 00 */ stw r0, 0(r3) +/* 802E180C 002DE76C 80 83 00 00 */ lwz r4, 0(r3) +/* 802E1810 002DE770 80 64 00 04 */ lwz r3, 4(r4) +/* 802E1814 002DE774 38 03 00 01 */ addi r0, r3, 1 +/* 802E1818 002DE778 90 04 00 04 */ stw r0, 4(r4) +lbl_802E181C: +/* 802E181C 002DE77C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802E1820 002DE780 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E1824 002DE784 38 04 00 01 */ addi r0, r4, 1 +/* 802E1828 002DE788 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E182C 002DE78C 4B D4 F7 05 */ bl sub_80030f30 +/* 802E1830 002DE790 3B DE 00 01 */ addi r30, r30, 1 +lbl_802E1834: +/* 802E1834 002DE794 7C 1E F8 00 */ cmpw r30, r31 +/* 802E1838 002DE798 41 80 FF 68 */ blt lbl_802E17A0 +/* 802E183C 002DE79C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E1840 002DE7A0 90 1C 00 04 */ stw r0, 4(r28) +/* 802E1844 002DE7A4 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802E1848 002DE7A8 90 1C 00 08 */ stw r0, 8(r28) +/* 802E184C 002DE7AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E1850 002DE7B0 2C 00 00 00 */ cmpwi r0, 0 +/* 802E1854 002DE7B4 40 82 00 1C */ bne lbl_802E1870 +/* 802E1858 002DE7B8 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802E185C 002DE7BC 2C 00 00 00 */ cmpwi r0, 0 +/* 802E1860 002DE7C0 40 82 00 10 */ bne lbl_802E1870 +/* 802E1864 002DE7C4 38 00 00 00 */ li r0, 0 +/* 802E1868 002DE7C8 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802E186C 002DE7CC 48 00 00 74 */ b lbl_802E18E0 +lbl_802E1870: +/* 802E1870 002DE7D0 80 1C 00 08 */ lwz r0, 8(r28) +/* 802E1874 002DE7D4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802E1878 002DE7D8 40 82 00 10 */ bne lbl_802E1888 +/* 802E187C 002DE7DC 38 00 00 00 */ li r0, 0 +/* 802E1880 002DE7E0 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802E1884 002DE7E4 48 00 00 18 */ b lbl_802E189C +lbl_802E1888: +/* 802E1888 002DE7E8 3C 80 80 3D */ lis r4, lbl_803D6D80@ha +/* 802E188C 002DE7EC 38 A0 00 00 */ li r5, 0 +/* 802E1890 002DE7F0 38 84 6D 80 */ addi r4, r4, lbl_803D6D80@l +/* 802E1894 002DE7F4 48 03 3F 85 */ bl __nwa__FUlPCcPCc +/* 802E1898 002DE7F8 90 7C 00 0C */ stw r3, 0xc(r28) +lbl_802E189C: +/* 802E189C 002DE7FC 80 1C 00 04 */ lwz r0, 4(r28) +/* 802E18A0 002DE800 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 802E18A4 002DE804 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 802E18A8 002DE808 7C 09 03 A6 */ mtctr r0 +/* 802E18AC 002DE80C 2C 00 00 00 */ cmpwi r0, 0 +/* 802E18B0 002DE810 40 81 00 30 */ ble lbl_802E18E0 +lbl_802E18B4: +/* 802E18B4 002DE814 28 05 00 00 */ cmplwi r5, 0 +/* 802E18B8 002DE818 41 82 00 1C */ beq lbl_802E18D4 +/* 802E18BC 002DE81C 80 06 00 00 */ lwz r0, 0(r6) +/* 802E18C0 002DE820 90 05 00 00 */ stw r0, 0(r5) +/* 802E18C4 002DE824 80 85 00 00 */ lwz r4, 0(r5) +/* 802E18C8 002DE828 80 64 00 04 */ lwz r3, 4(r4) +/* 802E18CC 002DE82C 38 03 00 01 */ addi r0, r3, 1 +/* 802E18D0 002DE830 90 04 00 04 */ stw r0, 4(r4) +lbl_802E18D4: +/* 802E18D4 002DE834 38 A5 00 04 */ addi r5, r5, 4 +/* 802E18D8 002DE838 38 C6 00 04 */ addi r6, r6, 4 +/* 802E18DC 002DE83C 42 00 FF D8 */ bdnz lbl_802E18B4 +lbl_802E18E0: +/* 802E18E0 002DE840 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E18E4 002DE844 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 802E18E8 002DE848 54 00 10 3A */ slwi r0, r0, 2 +/* 802E18EC 002DE84C 7F 9D 02 14 */ add r28, r29, r0 +/* 802E18F0 002DE850 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802E18F4 002DE854 93 81 00 14 */ stw r28, 0x14(r1) +/* 802E18F8 002DE858 93 81 00 10 */ stw r28, 0x10(r1) +/* 802E18FC 002DE85C 93 A1 00 08 */ stw r29, 8(r1) +/* 802E1900 002DE860 48 00 00 18 */ b lbl_802E1918 +lbl_802E1904: +/* 802E1904 002DE864 28 1D 00 00 */ cmplwi r29, 0 +/* 802E1908 002DE868 41 82 00 0C */ beq lbl_802E1914 +/* 802E190C 002DE86C 7F A3 EB 78 */ mr r3, r29 +/* 802E1910 002DE870 4B D4 F6 21 */ bl sub_80030f30 +lbl_802E1914: +/* 802E1914 002DE874 3B BD 00 04 */ addi r29, r29, 4 +lbl_802E1918: +/* 802E1918 002DE878 7C 1D E0 40 */ cmplw r29, r28 +/* 802E191C 002DE87C 40 82 FF E8 */ bne lbl_802E1904 +/* 802E1920 002DE880 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802E1924 002DE884 28 03 00 00 */ cmplwi r3, 0 +/* 802E1928 002DE888 41 82 00 08 */ beq lbl_802E1930 +/* 802E192C 002DE88C 48 03 40 05 */ bl Free__7CMemoryFPCv +lbl_802E1930: +/* 802E1930 002DE890 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E1934 002DE894 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E1938 002DE898 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802E193C 002DE89C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802E1940 002DE8A0 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802E1944 002DE8A4 7C 08 03 A6 */ mtlr r0 +/* 802E1948 002DE8A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E194C 002DE8AC 4E 80 00 20 */ blr + +.global WriteAnimData__17CMetaAnimSequenceCFR13COutputStream +WriteAnimData__17CMetaAnimSequenceCFR13COutputStream: +/* 802E1950 002DE8B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E1954 002DE8B4 7C 08 02 A6 */ mflr r0 +/* 802E1958 002DE8B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E195C 002DE8BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E1960 002DE8C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E1964 002DE8C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E1968 002DE8C8 7C 9D 23 78 */ mr r29, r4 +/* 802E196C 002DE8CC 80 A3 00 08 */ lwz r5, 8(r3) +/* 802E1970 002DE8D0 83 C3 00 10 */ lwz r30, 0x10(r3) +/* 802E1974 002DE8D4 7F A3 EB 78 */ mr r3, r29 +/* 802E1978 002DE8D8 54 A0 10 3A */ slwi r0, r5, 2 +/* 802E197C 002DE8DC 90 A1 00 08 */ stw r5, 8(r1) +/* 802E1980 002DE8E0 7F FE 02 14 */ add r31, r30, r0 +/* 802E1984 002DE8E4 48 05 DB 35 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E1988 002DE8E8 7F A3 EB 78 */ mr r3, r29 +/* 802E198C 002DE8EC 38 81 00 08 */ addi r4, r1, 8 +/* 802E1990 002DE8F0 38 A0 00 04 */ li r5, 4 +/* 802E1994 002DE8F4 48 05 DC 15 */ bl DoPut__13COutputStreamFPCvUl +/* 802E1998 002DE8F8 48 00 00 18 */ b lbl_802E19B0 +lbl_802E199C: +/* 802E199C 002DE8FC 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E19A0 002DE900 7F A4 EB 78 */ mr r4, r29 +/* 802E19A4 002DE904 80 63 00 00 */ lwz r3, 0(r3) +/* 802E19A8 002DE908 48 00 59 79 */ bl PutTo__9IMetaAnimCFR13COutputStream +/* 802E19AC 002DE90C 3B DE 00 04 */ addi r30, r30, 4 +lbl_802E19B0: +/* 802E19B0 002DE910 7C 1E F8 40 */ cmplw r30, r31 +/* 802E19B4 002DE914 40 82 FF E8 */ bne lbl_802E199C +/* 802E19B8 002DE918 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E19BC 002DE91C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E19C0 002DE920 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E19C4 002DE924 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E19C8 002DE928 7C 08 03 A6 */ mtlr r0 +/* 802E19CC 002DE92C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E19D0 002DE930 4E 80 00 20 */ blr + +.global "GetUniquePrimitives__17CMetaAnimSequenceCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +"GetUniquePrimitives__17CMetaAnimSequenceCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>": +/* 802E19D4 002DE934 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E19D8 002DE938 7C 08 02 A6 */ mflr r0 +/* 802E19DC 002DE93C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E19E0 002DE940 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E19E4 002DE944 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E19E8 002DE948 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E19EC 002DE94C 7C 9D 23 78 */ mr r29, r4 +/* 802E19F0 002DE950 80 03 00 08 */ lwz r0, 8(r3) +/* 802E19F4 002DE954 83 C3 00 10 */ lwz r30, 0x10(r3) +/* 802E19F8 002DE958 54 00 10 3A */ slwi r0, r0, 2 +/* 802E19FC 002DE95C 7F FE 02 14 */ add r31, r30, r0 +/* 802E1A00 002DE960 48 00 00 24 */ b lbl_802E1A24 +lbl_802E1A04: +/* 802E1A04 002DE964 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E1A08 002DE968 7F A4 EB 78 */ mr r4, r29 +/* 802E1A0C 002DE96C 80 63 00 00 */ lwz r3, 0(r3) +/* 802E1A10 002DE970 81 83 00 00 */ lwz r12, 0(r3) +/* 802E1A14 002DE974 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802E1A18 002DE978 7D 89 03 A6 */ mtctr r12 +/* 802E1A1C 002DE97C 4E 80 04 21 */ bctrl +/* 802E1A20 002DE980 3B DE 00 04 */ addi r30, r30, 4 +lbl_802E1A24: +/* 802E1A24 002DE984 7C 1E F8 40 */ cmplw r30, r31 +/* 802E1A28 002DE988 40 82 FF DC */ bne lbl_802E1A04 +/* 802E1A2C 002DE98C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E1A30 002DE990 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E1A34 002DE994 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E1A38 002DE998 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E1A3C 002DE99C 7C 08 03 A6 */ mtlr r0 +/* 802E1A40 002DE9A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E1A44 002DE9A4 4E 80 00 20 */ blr + +.global VGetAnimationTree__17CMetaAnimSequenceCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders +VGetAnimationTree__17CMetaAnimSequenceCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders: +/* 802E1A48 002DE9A8 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802E1A4C 002DE9AC 7C 08 02 A6 */ mflr r0 +/* 802E1A50 002DE9B0 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802E1A54 002DE9B4 BF 21 00 D4 */ stmw r25, 0xd4(r1) +/* 802E1A58 002DE9B8 7C DD 33 78 */ mr r29, r6 +/* 802E1A5C 002DE9BC 7C 7A 1B 78 */ mr r26, r3 +/* 802E1A60 002DE9C0 7C 9B 23 78 */ mr r27, r4 +/* 802E1A64 002DE9C4 7C BC 2B 78 */ mr r28, r5 +/* 802E1A68 002DE9C8 88 06 00 40 */ lbz r0, 0x40(r6) +/* 802E1A6C 002DE9CC 28 00 00 00 */ cmplwi r0, 0 +/* 802E1A70 002DE9D0 41 82 00 40 */ beq lbl_802E1AB0 +/* 802E1A74 002DE9D4 7F A4 EB 78 */ mr r4, r29 +/* 802E1A78 002DE9D8 38 61 00 44 */ addi r3, r1, 0x44 +/* 802E1A7C 002DE9DC 48 00 5B 25 */ bl PreAdvanceForAll__24CMetaAnimTreeBuildOrdersFRC20CPreAdvanceIndicator +/* 802E1A80 002DE9E0 7F 64 DB 78 */ mr r4, r27 +/* 802E1A84 002DE9E4 7F 43 D3 78 */ mr r3, r26 +/* 802E1A88 002DE9E8 81 9B 00 00 */ lwz r12, 0(r27) +/* 802E1A8C 002DE9EC 7F 85 E3 78 */ mr r5, r28 +/* 802E1A90 002DE9F0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802E1A94 002DE9F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E1A98 002DE9F8 7D 89 03 A6 */ mtctr r12 +/* 802E1A9C 002DE9FC 4E 80 04 21 */ bctrl +/* 802E1AA0 002DEA00 38 00 00 00 */ li r0, 0 +/* 802E1AA4 002DEA04 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 802E1AA8 002DEA08 98 01 00 84 */ stb r0, 0x84(r1) +/* 802E1AAC 002DEA0C 48 00 01 DC */ b lbl_802E1C88 +lbl_802E1AB0: +/* 802E1AB0 002DEA10 80 1B 00 08 */ lwz r0, 8(r27) +/* 802E1AB4 002DEA14 38 A0 00 00 */ li r5, 0 +/* 802E1AB8 002DEA18 83 DB 00 10 */ lwz r30, 0x10(r27) +/* 802E1ABC 002DEA1C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802E1AC0 002DEA20 54 00 10 3A */ slwi r0, r0, 2 +/* 802E1AC4 002DEA24 90 A1 00 38 */ stw r5, 0x38(r1) +/* 802E1AC8 002DEA28 7F FE 02 14 */ add r31, r30, r0 +/* 802E1ACC 002DEA2C 7C 1E F8 50 */ subf r0, r30, r31 +/* 802E1AD0 002DEA30 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802E1AD4 002DEA34 7C 00 16 70 */ srawi r0, r0, 2 +/* 802E1AD8 002DEA38 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802E1ADC 002DEA3C 7C 80 01 94 */ addze r4, r0 +/* 802E1AE0 002DEA40 4B D7 80 D5 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +/* 802E1AE4 002DEA44 48 00 00 C8 */ b lbl_802E1BAC +lbl_802E1AE8: +/* 802E1AE8 002DEA48 80 FE 00 00 */ lwz r7, 0(r30) +/* 802E1AEC 002DEA4C 7F 85 E3 78 */ mr r5, r28 +/* 802E1AF0 002DEA50 7F A6 EB 78 */ mr r6, r29 +/* 802E1AF4 002DEA54 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E1AF8 002DEA58 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802E1AFC 002DEA5C 80 87 00 04 */ lwz r4, 4(r7) +/* 802E1B00 002DEA60 38 04 00 01 */ addi r0, r4, 1 +/* 802E1B04 002DEA64 90 07 00 04 */ stw r0, 4(r7) +/* 802E1B08 002DEA68 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802E1B0C 002DEA6C 80 84 00 00 */ lwz r4, 0(r4) +/* 802E1B10 002DEA70 81 84 00 00 */ lwz r12, 0(r4) +/* 802E1B14 002DEA74 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E1B18 002DEA78 7D 89 03 A6 */ mtctr r12 +/* 802E1B1C 002DEA7C 4E 80 04 21 */ bctrl +/* 802E1B20 002DEA80 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 802E1B24 002DEA84 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E1B28 002DEA88 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 802E1B2C 002DEA8C 80 85 00 04 */ lwz r4, 4(r5) +/* 802E1B30 002DEA90 38 04 00 01 */ addi r0, r4, 1 +/* 802E1B34 002DEA94 90 05 00 04 */ stw r0, 4(r5) +/* 802E1B38 002DEA98 4B D4 F4 69 */ bl sub_80030fa0 +/* 802E1B3C 002DEA9C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802E1B40 002DEAA0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802E1B44 002DEAA4 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802E1B48 002DEAA8 80 63 00 00 */ lwz r3, 0(r3) +/* 802E1B4C 002DEAAC 7C 00 28 00 */ cmpw r0, r5 +/* 802E1B50 002DEAB0 3B 23 00 04 */ addi r25, r3, 4 +/* 802E1B54 002DEAB4 41 80 00 1C */ blt lbl_802E1B70 +/* 802E1B58 002DEAB8 2C 05 00 00 */ cmpwi r5, 0 +/* 802E1B5C 002DEABC 38 61 00 34 */ addi r3, r1, 0x34 +/* 802E1B60 002DEAC0 38 80 00 04 */ li r4, 4 +/* 802E1B64 002DEAC4 41 82 00 08 */ beq lbl_802E1B6C +/* 802E1B68 002DEAC8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E1B6C: +/* 802E1B6C 002DEACC 4B D7 80 49 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_802E1B70: +/* 802E1B70 002DEAD0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802E1B74 002DEAD4 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802E1B78 002DEAD8 54 00 20 36 */ slwi r0, r0, 4 +/* 802E1B7C 002DEADC 7C 63 02 15 */ add. r3, r3, r0 +/* 802E1B80 002DEAE0 41 82 00 0C */ beq lbl_802E1B8C +/* 802E1B84 002DEAE4 7F 24 CB 78 */ mr r4, r25 +/* 802E1B88 002DEAE8 48 05 C5 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802E1B8C: +/* 802E1B8C 002DEAEC 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802E1B90 002DEAF0 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E1B94 002DEAF4 3B DE 00 04 */ addi r30, r30, 4 +/* 802E1B98 002DEAF8 38 04 00 01 */ addi r0, r4, 1 +/* 802E1B9C 002DEAFC 90 01 00 38 */ stw r0, 0x38(r1) +/* 802E1BA0 002DEB00 4B D4 F4 01 */ bl sub_80030fa0 +/* 802E1BA4 002DEB04 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E1BA8 002DEB08 4B D4 F3 89 */ bl sub_80030f30 +lbl_802E1BAC: +/* 802E1BAC 002DEB0C 7C 1E F8 40 */ cmplw r30, r31 +/* 802E1BB0 002DEB10 40 82 FF 38 */ bne lbl_802E1AE8 +/* 802E1BB4 002DEB14 3C 60 80 3D */ lis r3, lbl_803D6D80@ha +/* 802E1BB8 002DEB18 3B A0 00 00 */ li r29, 0 +/* 802E1BBC 002DEB1C 38 83 6D 80 */ addi r4, r3, lbl_803D6D80@l +/* 802E1BC0 002DEB20 38 A0 00 00 */ li r5, 0 +/* 802E1BC4 002DEB24 38 60 00 9C */ li r3, 0x9c +/* 802E1BC8 002DEB28 48 03 3C A5 */ bl __nw__FUlPCcPCc +/* 802E1BCC 002DEB2C 7C 79 1B 79 */ or. r25, r3, r3 +/* 802E1BD0 002DEB30 41 82 00 2C */ beq lbl_802E1BFC +/* 802E1BD4 002DEB34 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E1BD8 002DEB38 38 81 00 34 */ addi r4, r1, 0x34 +/* 802E1BDC 002DEB3C 4B FF 90 BD */ bl sub_802dac98 +/* 802E1BE0 002DEB40 7F 23 CB 78 */ mr r3, r25 +/* 802E1BE4 002DEB44 7F 85 E3 78 */ mr r5, r28 +/* 802E1BE8 002DEB48 38 9B 00 04 */ addi r4, r27, 4 +/* 802E1BEC 002DEB4C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802E1BF0 002DEB50 3B A0 00 01 */ li r29, 1 +/* 802E1BF4 002DEB54 4B FF A6 99 */ bl "__ct__17CAnimTreeSequenceFRCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E1BF8 002DEB58 7C 79 1B 78 */ mr r25, r3 +lbl_802E1BFC: +/* 802E1BFC 002DEB5C 3C 80 80 3D */ lis r4, lbl_803D6D80@ha +/* 802E1C00 002DEB60 38 60 00 08 */ li r3, 8 +/* 802E1C04 002DEB64 38 84 6D 80 */ addi r4, r4, lbl_803D6D80@l +/* 802E1C08 002DEB68 38 A0 00 00 */ li r5, 0 +/* 802E1C0C 002DEB6C 48 03 3C 61 */ bl __nw__FUlPCcPCc +/* 802E1C10 002DEB70 28 03 00 00 */ cmplwi r3, 0 +/* 802E1C14 002DEB74 41 82 00 10 */ beq lbl_802E1C24 +/* 802E1C18 002DEB78 93 23 00 00 */ stw r25, 0(r3) +/* 802E1C1C 002DEB7C 38 00 00 01 */ li r0, 1 +/* 802E1C20 002DEB80 90 03 00 04 */ stw r0, 4(r3) +lbl_802E1C24: +/* 802E1C24 002DEB84 7F A0 07 75 */ extsb. r0, r29 +/* 802E1C28 002DEB88 90 7A 00 00 */ stw r3, 0(r26) +/* 802E1C2C 002DEB8C 41 82 00 0C */ beq lbl_802E1C38 +/* 802E1C30 002DEB90 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E1C34 002DEB94 48 05 BE AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E1C38: +/* 802E1C38 002DEB98 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802E1C3C 002DEB9C 83 21 00 40 */ lwz r25, 0x40(r1) +/* 802E1C40 002DEBA0 54 00 20 36 */ slwi r0, r0, 4 +/* 802E1C44 002DEBA4 7F 59 02 14 */ add r26, r25, r0 +/* 802E1C48 002DEBA8 93 21 00 0C */ stw r25, 0xc(r1) +/* 802E1C4C 002DEBAC 93 41 00 14 */ stw r26, 0x14(r1) +/* 802E1C50 002DEBB0 93 41 00 10 */ stw r26, 0x10(r1) +/* 802E1C54 002DEBB4 93 21 00 08 */ stw r25, 8(r1) +/* 802E1C58 002DEBB8 48 00 00 18 */ b lbl_802E1C70 +lbl_802E1C5C: +/* 802E1C5C 002DEBBC 28 19 00 00 */ cmplwi r25, 0 +/* 802E1C60 002DEBC0 41 82 00 0C */ beq lbl_802E1C6C +/* 802E1C64 002DEBC4 7F 23 CB 78 */ mr r3, r25 +/* 802E1C68 002DEBC8 48 05 BE 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E1C6C: +/* 802E1C6C 002DEBCC 3B 39 00 10 */ addi r25, r25, 0x10 +lbl_802E1C70: +/* 802E1C70 002DEBD0 7C 19 D0 40 */ cmplw r25, r26 +/* 802E1C74 002DEBD4 40 82 FF E8 */ bne lbl_802E1C5C +/* 802E1C78 002DEBD8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802E1C7C 002DEBDC 28 03 00 00 */ cmplwi r3, 0 +/* 802E1C80 002DEBE0 41 82 00 08 */ beq lbl_802E1C88 +/* 802E1C84 002DEBE4 48 03 3C AD */ bl Free__7CMemoryFPCv +lbl_802E1C88: +/* 802E1C88 002DEBE8 BB 21 00 D4 */ lmw r25, 0xd4(r1) +/* 802E1C8C 002DEBEC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802E1C90 002DEBF0 7C 08 03 A6 */ mtlr r0 +/* 802E1C94 002DEBF4 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802E1C98 002DEBF8 4E 80 00 20 */ blr + +.global __ct__17CMetaAnimSequenceFR12CInputStream +__ct__17CMetaAnimSequenceFR12CInputStream: +/* 802E1C9C 002DEBFC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E1CA0 002DEC00 7C 08 02 A6 */ mflr r0 +/* 802E1CA4 002DEC04 3C A0 80 3F */ lis r5, lbl_803ECDF0@ha +/* 802E1CA8 002DEC08 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E1CAC 002DEC0C 38 05 CD F0 */ addi r0, r5, lbl_803ECDF0@l +/* 802E1CB0 002DEC10 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E1CB4 002DEC14 7C 7F 1B 78 */ mr r31, r3 +/* 802E1CB8 002DEC18 3C 60 80 3F */ lis r3, lbl_803ECD70@ha +/* 802E1CBC 002DEC1C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802E1CC0 002DEC20 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802E1CC4 002DEC24 90 1F 00 00 */ stw r0, 0(r31) +/* 802E1CC8 002DEC28 38 03 CD 70 */ addi r0, r3, lbl_803ECD70@l +/* 802E1CCC 002DEC2C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E1CD0 002DEC30 90 1F 00 00 */ stw r0, 0(r31) +/* 802E1CD4 002DEC34 4B FF FA 79 */ bl CreateSequence__17CMetaAnimSequenceFR12CInputStream +/* 802E1CD8 002DEC38 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E1CDC 002DEC3C 90 1F 00 08 */ stw r0, 8(r31) +/* 802E1CE0 002DEC40 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802E1CE4 002DEC44 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802E1CE8 002DEC48 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E1CEC 002DEC4C 2C 00 00 00 */ cmpwi r0, 0 +/* 802E1CF0 002DEC50 40 82 00 1C */ bne lbl_802E1D0C +/* 802E1CF4 002DEC54 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802E1CF8 002DEC58 2C 00 00 00 */ cmpwi r0, 0 +/* 802E1CFC 002DEC5C 40 82 00 10 */ bne lbl_802E1D0C +/* 802E1D00 002DEC60 38 00 00 00 */ li r0, 0 +/* 802E1D04 002DEC64 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E1D08 002DEC68 48 00 00 74 */ b lbl_802E1D7C +lbl_802E1D0C: +/* 802E1D0C 002DEC6C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802E1D10 002DEC70 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802E1D14 002DEC74 40 82 00 10 */ bne lbl_802E1D24 +/* 802E1D18 002DEC78 38 00 00 00 */ li r0, 0 +/* 802E1D1C 002DEC7C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E1D20 002DEC80 48 00 00 18 */ b lbl_802E1D38 +lbl_802E1D24: +/* 802E1D24 002DEC84 3C 80 80 3D */ lis r4, lbl_803D6D80@ha +/* 802E1D28 002DEC88 38 A0 00 00 */ li r5, 0 +/* 802E1D2C 002DEC8C 38 84 6D 80 */ addi r4, r4, lbl_803D6D80@l +/* 802E1D30 002DEC90 48 03 3A E9 */ bl __nwa__FUlPCcPCc +/* 802E1D34 002DEC94 90 7F 00 10 */ stw r3, 0x10(r31) +lbl_802E1D38: +/* 802E1D38 002DEC98 80 1F 00 08 */ lwz r0, 8(r31) +/* 802E1D3C 002DEC9C 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 802E1D40 002DECA0 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 802E1D44 002DECA4 7C 09 03 A6 */ mtctr r0 +/* 802E1D48 002DECA8 2C 00 00 00 */ cmpwi r0, 0 +/* 802E1D4C 002DECAC 40 81 00 30 */ ble lbl_802E1D7C +lbl_802E1D50: +/* 802E1D50 002DECB0 28 05 00 00 */ cmplwi r5, 0 +/* 802E1D54 002DECB4 41 82 00 1C */ beq lbl_802E1D70 +/* 802E1D58 002DECB8 80 06 00 00 */ lwz r0, 0(r6) +/* 802E1D5C 002DECBC 90 05 00 00 */ stw r0, 0(r5) +/* 802E1D60 002DECC0 80 85 00 00 */ lwz r4, 0(r5) +/* 802E1D64 002DECC4 80 64 00 04 */ lwz r3, 4(r4) +/* 802E1D68 002DECC8 38 03 00 01 */ addi r0, r3, 1 +/* 802E1D6C 002DECCC 90 04 00 04 */ stw r0, 4(r4) +lbl_802E1D70: +/* 802E1D70 002DECD0 38 A5 00 04 */ addi r5, r5, 4 +/* 802E1D74 002DECD4 38 C6 00 04 */ addi r6, r6, 4 +/* 802E1D78 002DECD8 42 00 FF D8 */ bdnz lbl_802E1D50 +lbl_802E1D7C: +/* 802E1D7C 002DECDC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E1D80 002DECE0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E1D84 002DECE4 54 00 10 3A */ slwi r0, r0, 2 +/* 802E1D88 002DECE8 7F DD 02 14 */ add r30, r29, r0 +/* 802E1D8C 002DECEC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802E1D90 002DECF0 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802E1D94 002DECF4 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802E1D98 002DECF8 93 A1 00 08 */ stw r29, 8(r1) +/* 802E1D9C 002DECFC 48 00 00 18 */ b lbl_802E1DB4 +lbl_802E1DA0: +/* 802E1DA0 002DED00 28 1D 00 00 */ cmplwi r29, 0 +/* 802E1DA4 002DED04 41 82 00 0C */ beq lbl_802E1DB0 +/* 802E1DA8 002DED08 7F A3 EB 78 */ mr r3, r29 +/* 802E1DAC 002DED0C 4B D4 F1 85 */ bl sub_80030f30 +lbl_802E1DB0: +/* 802E1DB0 002DED10 3B BD 00 04 */ addi r29, r29, 4 +lbl_802E1DB4: +/* 802E1DB4 002DED14 7C 1D F0 40 */ cmplw r29, r30 +/* 802E1DB8 002DED18 40 82 FF E8 */ bne lbl_802E1DA0 +/* 802E1DBC 002DED1C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802E1DC0 002DED20 28 03 00 00 */ cmplwi r3, 0 +/* 802E1DC4 002DED24 41 82 00 08 */ beq lbl_802E1DCC +/* 802E1DC8 002DED28 48 03 3B 69 */ bl Free__7CMemoryFPCv +lbl_802E1DCC: +/* 802E1DCC 002DED2C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E1DD0 002DED30 7F E3 FB 78 */ mr r3, r31 +/* 802E1DD4 002DED34 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E1DD8 002DED38 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802E1DDC 002DED3C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802E1DE0 002DED40 7C 08 03 A6 */ mtlr r0 +/* 802E1DE4 002DED44 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E1DE8 002DED48 4E 80 00 20 */ blr + +.global CreateMetaTrans__17CMetaTransFactoryFR12CInputStream +CreateMetaTrans__17CMetaTransFactoryFR12CInputStream: +/* 802E1DEC 002DED4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E1DF0 002DED50 7C 08 02 A6 */ mflr r0 +/* 802E1DF4 002DED54 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E1DF8 002DED58 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E1DFC 002DED5C 7C 7F 1B 78 */ mr r31, r3 +/* 802E1E00 002DED60 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E1E04 002DED64 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E1E08 002DED68 7C 9D 23 78 */ mr r29, r4 +/* 802E1E0C 002DED6C 7F A3 EB 78 */ mr r3, r29 +/* 802E1E10 002DED70 48 05 CE 75 */ bl ReadLong__12CInputStreamFv +/* 802E1E14 002DED74 2C 03 00 02 */ cmpwi r3, 2 +/* 802E1E18 002DED78 41 82 00 D4 */ beq lbl_802E1EEC +/* 802E1E1C 002DED7C 40 80 00 14 */ bge lbl_802E1E30 +/* 802E1E20 002DED80 2C 03 00 00 */ cmpwi r3, 0 +/* 802E1E24 002DED84 41 82 00 18 */ beq lbl_802E1E3C +/* 802E1E28 002DED88 40 80 00 6C */ bge lbl_802E1E94 +/* 802E1E2C 002DED8C 48 00 01 7C */ b lbl_802E1FA8 +lbl_802E1E30: +/* 802E1E30 002DED90 2C 03 00 04 */ cmpwi r3, 4 +/* 802E1E34 002DED94 40 80 01 74 */ bge lbl_802E1FA8 +/* 802E1E38 002DED98 48 00 01 0C */ b lbl_802E1F44 +lbl_802E1E3C: +/* 802E1E3C 002DED9C 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1E40 002DEDA0 38 60 00 08 */ li r3, 8 +/* 802E1E44 002DEDA4 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1E48 002DEDA8 38 A0 00 00 */ li r5, 0 +/* 802E1E4C 002DEDAC 48 03 3A 21 */ bl __nw__FUlPCcPCc +/* 802E1E50 002DEDB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E1E54 002DEDB4 41 82 00 10 */ beq lbl_802E1E64 +/* 802E1E58 002DEDB8 7F A4 EB 78 */ mr r4, r29 +/* 802E1E5C 002DEDBC 48 00 03 55 */ bl __ct__18CMetaTransMetaAnimFR12CInputStream +/* 802E1E60 002DEDC0 7C 7E 1B 78 */ mr r30, r3 +lbl_802E1E64: +/* 802E1E64 002DEDC4 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1E68 002DEDC8 38 60 00 08 */ li r3, 8 +/* 802E1E6C 002DEDCC 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1E70 002DEDD0 38 A0 00 00 */ li r5, 0 +/* 802E1E74 002DEDD4 48 03 39 F9 */ bl __nw__FUlPCcPCc +/* 802E1E78 002DEDD8 28 03 00 00 */ cmplwi r3, 0 +/* 802E1E7C 002DEDDC 41 82 00 10 */ beq lbl_802E1E8C +/* 802E1E80 002DEDE0 93 C3 00 00 */ stw r30, 0(r3) +/* 802E1E84 002DEDE4 38 00 00 01 */ li r0, 1 +/* 802E1E88 002DEDE8 90 03 00 04 */ stw r0, 4(r3) +lbl_802E1E8C: +/* 802E1E8C 002DEDEC 90 7F 00 00 */ stw r3, 0(r31) +/* 802E1E90 002DEDF0 48 00 01 30 */ b lbl_802E1FC0 +lbl_802E1E94: +/* 802E1E94 002DEDF4 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1E98 002DEDF8 38 60 00 14 */ li r3, 0x14 +/* 802E1E9C 002DEDFC 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1EA0 002DEE00 38 A0 00 00 */ li r5, 0 +/* 802E1EA4 002DEE04 48 03 39 C9 */ bl __nw__FUlPCcPCc +/* 802E1EA8 002DEE08 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E1EAC 002DEE0C 41 82 00 10 */ beq lbl_802E1EBC +/* 802E1EB0 002DEE10 7F A4 EB 78 */ mr r4, r29 +/* 802E1EB4 002DEE14 48 00 0F 19 */ bl __ct__15CMetaTransTransFR12CInputStream +/* 802E1EB8 002DEE18 7C 7E 1B 78 */ mr r30, r3 +lbl_802E1EBC: +/* 802E1EBC 002DEE1C 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1EC0 002DEE20 38 60 00 08 */ li r3, 8 +/* 802E1EC4 002DEE24 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1EC8 002DEE28 38 A0 00 00 */ li r5, 0 +/* 802E1ECC 002DEE2C 48 03 39 A1 */ bl __nw__FUlPCcPCc +/* 802E1ED0 002DEE30 28 03 00 00 */ cmplwi r3, 0 +/* 802E1ED4 002DEE34 41 82 00 10 */ beq lbl_802E1EE4 +/* 802E1ED8 002DEE38 93 C3 00 00 */ stw r30, 0(r3) +/* 802E1EDC 002DEE3C 38 00 00 01 */ li r0, 1 +/* 802E1EE0 002DEE40 90 03 00 04 */ stw r0, 4(r3) +lbl_802E1EE4: +/* 802E1EE4 002DEE44 90 7F 00 00 */ stw r3, 0(r31) +/* 802E1EE8 002DEE48 48 00 00 D8 */ b lbl_802E1FC0 +lbl_802E1EEC: +/* 802E1EEC 002DEE4C 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1EF0 002DEE50 38 60 00 14 */ li r3, 0x14 +/* 802E1EF4 002DEE54 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1EF8 002DEE58 38 A0 00 00 */ li r5, 0 +/* 802E1EFC 002DEE5C 48 03 39 71 */ bl __nw__FUlPCcPCc +/* 802E1F00 002DEE60 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E1F04 002DEE64 41 82 00 10 */ beq lbl_802E1F14 +/* 802E1F08 002DEE68 7F A4 EB 78 */ mr r4, r29 +/* 802E1F0C 002DEE6C 48 00 0B 75 */ bl __ct__20CMetaTransPhaseTransFR12CInputStream +/* 802E1F10 002DEE70 7C 7E 1B 78 */ mr r30, r3 +lbl_802E1F14: +/* 802E1F14 002DEE74 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1F18 002DEE78 38 60 00 08 */ li r3, 8 +/* 802E1F1C 002DEE7C 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1F20 002DEE80 38 A0 00 00 */ li r5, 0 +/* 802E1F24 002DEE84 48 03 39 49 */ bl __nw__FUlPCcPCc +/* 802E1F28 002DEE88 28 03 00 00 */ cmplwi r3, 0 +/* 802E1F2C 002DEE8C 41 82 00 10 */ beq lbl_802E1F3C +/* 802E1F30 002DEE90 93 C3 00 00 */ stw r30, 0(r3) +/* 802E1F34 002DEE94 38 00 00 01 */ li r0, 1 +/* 802E1F38 002DEE98 90 03 00 04 */ stw r0, 4(r3) +lbl_802E1F3C: +/* 802E1F3C 002DEE9C 90 7F 00 00 */ stw r3, 0(r31) +/* 802E1F40 002DEEA0 48 00 00 80 */ b lbl_802E1FC0 +lbl_802E1F44: +/* 802E1F44 002DEEA4 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1F48 002DEEA8 38 60 00 04 */ li r3, 4 +/* 802E1F4C 002DEEAC 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1F50 002DEEB0 38 A0 00 00 */ li r5, 0 +/* 802E1F54 002DEEB4 48 03 39 19 */ bl __nw__FUlPCcPCc +/* 802E1F58 002DEEB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E1F5C 002DEEBC 41 82 00 1C */ beq lbl_802E1F78 +/* 802E1F60 002DEEC0 3C 80 80 3E */ lis r4, lbl_803D9C70@ha +/* 802E1F64 002DEEC4 3C 60 80 3F */ lis r3, lbl_803ECDC0@ha +/* 802E1F68 002DEEC8 38 04 9C 70 */ addi r0, r4, lbl_803D9C70@l +/* 802E1F6C 002DEECC 90 1E 00 00 */ stw r0, 0(r30) +/* 802E1F70 002DEED0 38 03 CD C0 */ addi r0, r3, lbl_803ECDC0@l +/* 802E1F74 002DEED4 90 1E 00 00 */ stw r0, 0(r30) +lbl_802E1F78: +/* 802E1F78 002DEED8 3C 80 80 3D */ lis r4, lbl_803D6D88@ha +/* 802E1F7C 002DEEDC 38 60 00 08 */ li r3, 8 +/* 802E1F80 002DEEE0 38 84 6D 88 */ addi r4, r4, lbl_803D6D88@l +/* 802E1F84 002DEEE4 38 A0 00 00 */ li r5, 0 +/* 802E1F88 002DEEE8 48 03 38 E5 */ bl __nw__FUlPCcPCc +/* 802E1F8C 002DEEEC 28 03 00 00 */ cmplwi r3, 0 +/* 802E1F90 002DEEF0 41 82 00 10 */ beq lbl_802E1FA0 +/* 802E1F94 002DEEF4 93 C3 00 00 */ stw r30, 0(r3) +/* 802E1F98 002DEEF8 38 00 00 01 */ li r0, 1 +/* 802E1F9C 002DEEFC 90 03 00 04 */ stw r0, 4(r3) +lbl_802E1FA0: +/* 802E1FA0 002DEF00 90 7F 00 00 */ stw r3, 0(r31) +/* 802E1FA4 002DEF04 48 00 00 1C */ b lbl_802E1FC0 +lbl_802E1FA8: +/* 802E1FA8 002DEF08 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 802E1FAC 002DEF0C 90 1F 00 00 */ stw r0, 0(r31) +/* 802E1FB0 002DEF10 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E1FB4 002DEF14 80 64 00 04 */ lwz r3, 4(r4) +/* 802E1FB8 002DEF18 38 03 00 01 */ addi r0, r3, 1 +/* 802E1FBC 002DEF1C 90 04 00 04 */ stw r0, 4(r4) +lbl_802E1FC0: +/* 802E1FC0 002DEF20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E1FC4 002DEF24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E1FC8 002DEF28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E1FCC 002DEF2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E1FD0 002DEF30 7C 08 03 A6 */ mtlr r0 +/* 802E1FD4 002DEF34 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E1FD8 002DEF38 4E 80 00 20 */ blr + +.global __dt__18CMetaTransMetaAnimFv +__dt__18CMetaTransMetaAnimFv: +/* 802E1FDC 002DEF3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E1FE0 002DEF40 7C 08 02 A6 */ mflr r0 +/* 802E1FE4 002DEF44 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E1FE8 002DEF48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E1FEC 002DEF4C 7C 9F 23 78 */ mr r31, r4 +/* 802E1FF0 002DEF50 93 C1 00 08 */ stw r30, 8(r1) +/* 802E1FF4 002DEF54 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E1FF8 002DEF58 41 82 00 44 */ beq lbl_802E203C +/* 802E1FFC 002DEF5C 3C 60 80 3F */ lis r3, lbl_803ECD90@ha +/* 802E2000 002DEF60 34 1E 00 04 */ addic. r0, r30, 4 +/* 802E2004 002DEF64 38 03 CD 90 */ addi r0, r3, lbl_803ECD90@l +/* 802E2008 002DEF68 90 1E 00 00 */ stw r0, 0(r30) +/* 802E200C 002DEF6C 41 82 00 0C */ beq lbl_802E2018 +/* 802E2010 002DEF70 38 7E 00 04 */ addi r3, r30, 4 +/* 802E2014 002DEF74 4B D4 EF 1D */ bl sub_80030f30 +lbl_802E2018: +/* 802E2018 002DEF78 28 1E 00 00 */ cmplwi r30, 0 +/* 802E201C 002DEF7C 41 82 00 10 */ beq lbl_802E202C +/* 802E2020 002DEF80 3C 60 80 3E */ lis r3, lbl_803D9C70@ha +/* 802E2024 002DEF84 38 03 9C 70 */ addi r0, r3, lbl_803D9C70@l +/* 802E2028 002DEF88 90 1E 00 00 */ stw r0, 0(r30) +lbl_802E202C: +/* 802E202C 002DEF8C 7F E0 07 35 */ extsh. r0, r31 +/* 802E2030 002DEF90 40 81 00 0C */ ble lbl_802E203C +/* 802E2034 002DEF94 7F C3 F3 78 */ mr r3, r30 +/* 802E2038 002DEF98 48 03 38 F9 */ bl Free__7CMemoryFPCv +lbl_802E203C: +/* 802E203C 002DEF9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E2040 002DEFA0 7F C3 F3 78 */ mr r3, r30 +/* 802E2044 002DEFA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E2048 002DEFA8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E204C 002DEFAC 7C 08 03 A6 */ mtlr r0 +/* 802E2050 002DEFB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2054 002DEFB4 4E 80 00 20 */ blr + +.global GetType__18CMetaTransMetaAnimCFv +GetType__18CMetaTransMetaAnimCFv: +/* 802E2058 002DEFB8 38 60 00 00 */ li r3, 0 +/* 802E205C 002DEFBC 4E 80 00 20 */ blr + +.global WriteTransData__18CMetaTransMetaAnimCFR13COutputStream +WriteTransData__18CMetaTransMetaAnimCFR13COutputStream: +/* 802E2060 002DEFC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2064 002DEFC4 7C 08 02 A6 */ mflr r0 +/* 802E2068 002DEFC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E206C 002DEFCC 80 63 00 04 */ lwz r3, 4(r3) +/* 802E2070 002DEFD0 80 63 00 00 */ lwz r3, 0(r3) +/* 802E2074 002DEFD4 48 00 52 AD */ bl PutTo__9IMetaAnimCFR13COutputStream +/* 802E2078 002DEFD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E207C 002DEFDC 7C 08 03 A6 */ mtlr r0 +/* 802E2080 002DEFE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2084 002DEFE4 4E 80 00 20 */ blr + +.global "VGetTransitionTree__18CMetaTransMetaAnimCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +"VGetTransitionTree__18CMetaTransMetaAnimCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext": +/* 802E2088 002DEFE8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802E208C 002DEFEC 7C 08 02 A6 */ mflr r0 +/* 802E2090 002DEFF0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802E2094 002DEFF4 BF 41 00 A8 */ stmw r26, 0xa8(r1) +/* 802E2098 002DEFF8 7C 7F 1B 78 */ mr r31, r3 +/* 802E209C 002DEFFC 7C 9E 23 78 */ mr r30, r4 +/* 802E20A0 002DF000 7C BB 2B 78 */ mr r27, r5 +/* 802E20A4 002DF004 7C DC 33 78 */ mr r28, r6 +/* 802E20A8 002DF008 7C FD 3B 78 */ mr r29, r7 +/* 802E20AC 002DF00C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E20B0 002DF010 48 00 57 69 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802E20B4 002DF014 80 9E 00 04 */ lwz r4, 4(r30) +/* 802E20B8 002DF018 7F A5 EB 78 */ mr r5, r29 +/* 802E20BC 002DF01C 38 61 00 08 */ addi r3, r1, 8 +/* 802E20C0 002DF020 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802E20C4 002DF024 80 84 00 00 */ lwz r4, 0(r4) +/* 802E20C8 002DF028 81 84 00 00 */ lwz r12, 0(r4) +/* 802E20CC 002DF02C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E20D0 002DF030 7D 89 03 A6 */ mtctr r12 +/* 802E20D4 002DF034 4E 80 04 21 */ bctrl +/* 802E20D8 002DF038 80 A1 00 08 */ lwz r5, 8(r1) +/* 802E20DC 002DF03C 38 61 00 08 */ addi r3, r1, 8 +/* 802E20E0 002DF040 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802E20E4 002DF044 80 85 00 04 */ lwz r4, 4(r5) +/* 802E20E8 002DF048 38 04 00 01 */ addi r0, r4, 1 +/* 802E20EC 002DF04C 90 05 00 04 */ stw r0, 4(r5) +/* 802E20F0 002DF050 4B D4 EE B1 */ bl sub_80030fa0 +/* 802E20F4 002DF054 38 00 00 00 */ li r0, 0 +/* 802E20F8 002DF058 3C 60 80 3D */ lis r3, lbl_803D6D90@ha +/* 802E20FC 002DF05C 98 01 00 A4 */ stb r0, 0xa4(r1) +/* 802E2100 002DF060 38 83 6D 90 */ addi r4, r3, lbl_803D6D90@l +/* 802E2104 002DF064 3B 40 00 00 */ li r26, 0 +/* 802E2108 002DF068 38 60 00 90 */ li r3, 0x90 +/* 802E210C 002DF06C 98 01 00 60 */ stb r0, 0x60(r1) +/* 802E2110 002DF070 38 A0 00 00 */ li r5, 0 +/* 802E2114 002DF074 48 03 37 59 */ bl __nw__FUlPCcPCc +/* 802E2118 002DF078 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E211C 002DF07C 41 82 00 3C */ beq lbl_802E2158 +/* 802E2120 002DF080 7F 64 DB 78 */ mr r4, r27 +/* 802E2124 002DF084 7F 85 E3 78 */ mr r5, r28 +/* 802E2128 002DF088 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E212C 002DF08C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802E2130 002DF090 4B FF 68 F5 */ bl "CreatePrimitiveName__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>" +/* 802E2134 002DF094 7F C3 F3 78 */ mr r3, r30 +/* 802E2138 002DF098 7F 64 DB 78 */ mr r4, r27 +/* 802E213C 002DF09C 7F 85 E3 78 */ mr r5, r28 +/* 802E2140 002DF0A0 7F A7 EB 78 */ mr r7, r29 +/* 802E2144 002DF0A4 38 C1 00 0C */ addi r6, r1, 0xc +/* 802E2148 002DF0A8 39 01 00 10 */ addi r8, r1, 0x10 +/* 802E214C 002DF0AC 3B 40 00 01 */ li r26, 1 +/* 802E2150 002DF0B0 4B FF 79 A1 */ bl "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E2154 002DF0B4 7C 7E 1B 78 */ mr r30, r3 +lbl_802E2158: +/* 802E2158 002DF0B8 3C 80 80 3D */ lis r4, lbl_803D6D90@ha +/* 802E215C 002DF0BC 38 60 00 08 */ li r3, 8 +/* 802E2160 002DF0C0 38 84 6D 90 */ addi r4, r4, lbl_803D6D90@l +/* 802E2164 002DF0C4 38 A0 00 00 */ li r5, 0 +/* 802E2168 002DF0C8 48 03 37 05 */ bl __nw__FUlPCcPCc +/* 802E216C 002DF0CC 28 03 00 00 */ cmplwi r3, 0 +/* 802E2170 002DF0D0 41 82 00 10 */ beq lbl_802E2180 +/* 802E2174 002DF0D4 93 C3 00 00 */ stw r30, 0(r3) +/* 802E2178 002DF0D8 38 00 00 01 */ li r0, 1 +/* 802E217C 002DF0DC 90 03 00 04 */ stw r0, 4(r3) +lbl_802E2180: +/* 802E2180 002DF0E0 7F 40 07 75 */ extsb. r0, r26 +/* 802E2184 002DF0E4 90 7F 00 00 */ stw r3, 0(r31) +/* 802E2188 002DF0E8 41 82 00 0C */ beq lbl_802E2194 +/* 802E218C 002DF0EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E2190 002DF0F0 48 05 B9 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E2194: +/* 802E2194 002DF0F4 38 61 00 0C */ addi r3, r1, 0xc +/* 802E2198 002DF0F8 4B D4 EE 09 */ bl sub_80030fa0 +/* 802E219C 002DF0FC BB 41 00 A8 */ lmw r26, 0xa8(r1) +/* 802E21A0 002DF100 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802E21A4 002DF104 7C 08 03 A6 */ mtlr r0 +/* 802E21A8 002DF108 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802E21AC 002DF10C 4E 80 00 20 */ blr + +.global __ct__18CMetaTransMetaAnimFR12CInputStream +__ct__18CMetaTransMetaAnimFR12CInputStream: +/* 802E21B0 002DF110 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E21B4 002DF114 7C 08 02 A6 */ mflr r0 +/* 802E21B8 002DF118 3C A0 80 3E */ lis r5, lbl_803D9C70@ha +/* 802E21BC 002DF11C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E21C0 002DF120 38 05 9C 70 */ addi r0, r5, lbl_803D9C70@l +/* 802E21C4 002DF124 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E21C8 002DF128 7C 7F 1B 78 */ mr r31, r3 +/* 802E21CC 002DF12C 3C 60 80 3F */ lis r3, lbl_803ECD90@ha +/* 802E21D0 002DF130 90 1F 00 00 */ stw r0, 0(r31) +/* 802E21D4 002DF134 38 03 CD 90 */ addi r0, r3, lbl_803ECD90@l +/* 802E21D8 002DF138 38 61 00 08 */ addi r3, r1, 8 +/* 802E21DC 002DF13C 90 1F 00 00 */ stw r0, 0(r31) +/* 802E21E0 002DF140 4B FF DD FD */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802E21E4 002DF144 80 01 00 08 */ lwz r0, 8(r1) +/* 802E21E8 002DF148 38 61 00 08 */ addi r3, r1, 8 +/* 802E21EC 002DF14C 90 1F 00 04 */ stw r0, 4(r31) +/* 802E21F0 002DF150 80 BF 00 04 */ lwz r5, 4(r31) +/* 802E21F4 002DF154 80 85 00 04 */ lwz r4, 4(r5) +/* 802E21F8 002DF158 38 04 00 01 */ addi r0, r4, 1 +/* 802E21FC 002DF15C 90 05 00 04 */ stw r0, 4(r5) +/* 802E2200 002DF160 4B D4 ED 31 */ bl sub_80030f30 +/* 802E2204 002DF164 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E2208 002DF168 7F E3 FB 78 */ mr r3, r31 +/* 802E220C 002DF16C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E2210 002DF170 7C 08 03 A6 */ mtlr r0 +/* 802E2214 002DF174 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E2218 002DF178 4E 80 00 20 */ blr + +.global __dt__20CMetaTransPhaseTransFv +__dt__20CMetaTransPhaseTransFv: +/* 802E221C 002DF17C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2220 002DF180 7C 08 02 A6 */ mflr r0 +/* 802E2224 002DF184 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E2228 002DF188 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E222C 002DF18C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802E2230 002DF190 41 82 00 30 */ beq lbl_802E2260 +/* 802E2234 002DF194 3C 60 80 3F */ lis r3, lbl_803ECDA8@ha +/* 802E2238 002DF198 38 03 CD A8 */ addi r0, r3, lbl_803ECDA8@l +/* 802E223C 002DF19C 90 1F 00 00 */ stw r0, 0(r31) +/* 802E2240 002DF1A0 41 82 00 10 */ beq lbl_802E2250 +/* 802E2244 002DF1A4 3C 60 80 3E */ lis r3, lbl_803D9C70@ha +/* 802E2248 002DF1A8 38 03 9C 70 */ addi r0, r3, lbl_803D9C70@l +/* 802E224C 002DF1AC 90 1F 00 00 */ stw r0, 0(r31) +lbl_802E2250: +/* 802E2250 002DF1B0 7C 80 07 35 */ extsh. r0, r4 +/* 802E2254 002DF1B4 40 81 00 0C */ ble lbl_802E2260 +/* 802E2258 002DF1B8 7F E3 FB 78 */ mr r3, r31 +/* 802E225C 002DF1BC 48 03 36 D5 */ bl Free__7CMemoryFPCv +lbl_802E2260: +/* 802E2260 002DF1C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E2264 002DF1C4 7F E3 FB 78 */ mr r3, r31 +/* 802E2268 002DF1C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E226C 002DF1CC 7C 08 03 A6 */ mtlr r0 +/* 802E2270 002DF1D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2274 002DF1D4 4E 80 00 20 */ blr + +.global GetType__20CMetaTransPhaseTransCFv +GetType__20CMetaTransPhaseTransCFv: +/* 802E2278 002DF1D8 38 60 00 02 */ li r3, 2 +/* 802E227C 002DF1DC 4E 80 00 20 */ blr + +.global WriteTransData__20CMetaTransPhaseTransCFR13COutputStream +WriteTransData__20CMetaTransPhaseTransCFR13COutputStream: +/* 802E2280 002DF1E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E2284 002DF1E4 7C 08 02 A6 */ mflr r0 +/* 802E2288 002DF1E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E228C 002DF1EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E2290 002DF1F0 7C 9F 23 78 */ mr r31, r4 +/* 802E2294 002DF1F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E2298 002DF1F8 7C 7E 1B 78 */ mr r30, r3 +/* 802E229C 002DF1FC 38 7E 00 04 */ addi r3, r30, 4 +/* 802E22A0 002DF200 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E22A4 002DF204 48 06 60 91 */ bl PutTo__13CCharAnimTimeCFR13COutputStream +/* 802E22A8 002DF208 88 9E 00 0C */ lbz r4, 0xc(r30) +/* 802E22AC 002DF20C 7F E3 FB 78 */ mr r3, r31 +/* 802E22B0 002DF210 7C 04 00 D0 */ neg r0, r4 +/* 802E22B4 002DF214 7C 00 23 78 */ or r0, r0, r4 +/* 802E22B8 002DF218 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 802E22BC 002DF21C 48 05 D1 FD */ bl FlushShiftRegister__13COutputStreamFv +/* 802E22C0 002DF220 80 7F 00 04 */ lwz r3, 4(r31) +/* 802E22C4 002DF224 80 1F 00 08 */ lwz r0, 8(r31) +/* 802E22C8 002DF228 7C 03 00 40 */ cmplw r3, r0 +/* 802E22CC 002DF22C 41 80 00 0C */ blt lbl_802E22D8 +/* 802E22D0 002DF230 7F E3 FB 78 */ mr r3, r31 +/* 802E22D4 002DF234 48 05 D2 51 */ bl DoFlush__13COutputStreamFv +lbl_802E22D8: +/* 802E22D8 002DF238 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 802E22DC 002DF23C 7F E3 FB 78 */ mr r3, r31 +/* 802E22E0 002DF240 38 04 00 01 */ addi r0, r4, 1 +/* 802E22E4 002DF244 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E22E8 002DF248 80 9F 00 04 */ lwz r4, 4(r31) +/* 802E22EC 002DF24C 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802E22F0 002DF250 38 04 00 01 */ addi r0, r4, 1 +/* 802E22F4 002DF254 90 1F 00 04 */ stw r0, 4(r31) +/* 802E22F8 002DF258 7F A5 21 AE */ stbx r29, r5, r4 +/* 802E22FC 002DF25C 88 9E 00 0D */ lbz r4, 0xd(r30) +/* 802E2300 002DF260 7C 04 00 D0 */ neg r0, r4 +/* 802E2304 002DF264 7C 00 23 78 */ or r0, r0, r4 +/* 802E2308 002DF268 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 802E230C 002DF26C 48 05 D1 AD */ bl FlushShiftRegister__13COutputStreamFv +/* 802E2310 002DF270 80 7F 00 04 */ lwz r3, 4(r31) +/* 802E2314 002DF274 80 1F 00 08 */ lwz r0, 8(r31) +/* 802E2318 002DF278 7C 03 00 40 */ cmplw r3, r0 +/* 802E231C 002DF27C 41 80 00 0C */ blt lbl_802E2328 +/* 802E2320 002DF280 7F E3 FB 78 */ mr r3, r31 +/* 802E2324 002DF284 48 05 D2 01 */ bl DoFlush__13COutputStreamFv +lbl_802E2328: +/* 802E2328 002DF288 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 802E232C 002DF28C 7F E3 FB 78 */ mr r3, r31 +/* 802E2330 002DF290 38 04 00 01 */ addi r0, r4, 1 +/* 802E2334 002DF294 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E2338 002DF298 80 9F 00 04 */ lwz r4, 4(r31) +/* 802E233C 002DF29C 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802E2340 002DF2A0 38 04 00 01 */ addi r0, r4, 1 +/* 802E2344 002DF2A4 90 1F 00 04 */ stw r0, 4(r31) +/* 802E2348 002DF2A8 7F A5 21 AE */ stbx r29, r5, r4 +/* 802E234C 002DF2AC 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802E2350 002DF2B0 90 01 00 08 */ stw r0, 8(r1) +/* 802E2354 002DF2B4 48 05 D1 65 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E2358 002DF2B8 7F E3 FB 78 */ mr r3, r31 +/* 802E235C 002DF2BC 38 81 00 08 */ addi r4, r1, 8 +/* 802E2360 002DF2C0 38 A0 00 04 */ li r5, 4 +/* 802E2364 002DF2C4 48 05 D2 45 */ bl DoPut__13COutputStreamFPCvUl +/* 802E2368 002DF2C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E236C 002DF2CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E2370 002DF2D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E2374 002DF2D4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E2378 002DF2D8 7C 08 03 A6 */ mtlr r0 +/* 802E237C 002DF2DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E2380 002DF2E0 4E 80 00 20 */ blr + +.global "VGetTransitionTree__20CMetaTransPhaseTransCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +"VGetTransitionTree__20CMetaTransPhaseTransCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext": +/* 802E2384 002DF2E4 94 21 FD B0 */ stwu r1, -0x250(r1) +/* 802E2388 002DF2E8 7C 08 02 A6 */ mflr r0 +/* 802E238C 002DF2EC 90 01 02 54 */ stw r0, 0x254(r1) +/* 802E2390 002DF2F0 DB E1 02 40 */ stfd f31, 0x240(r1) +/* 802E2394 002DF2F4 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 +/* 802E2398 002DF2F8 DB C1 02 30 */ stfd f30, 0x230(r1) +/* 802E239C 002DF2FC F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 +/* 802E23A0 002DF300 DB A1 02 20 */ stfd f29, 0x220(r1) +/* 802E23A4 002DF304 F3 A1 02 28 */ psq_st f29, 552(r1), 0, qr0 +/* 802E23A8 002DF308 DB 81 02 10 */ stfd f28, 0x210(r1) +/* 802E23AC 002DF30C F3 81 02 18 */ psq_st f28, 536(r1), 0, qr0 +/* 802E23B0 002DF310 DB 61 02 00 */ stfd f27, 0x200(r1) +/* 802E23B4 002DF314 F3 61 02 08 */ psq_st f27, 520(r1), 0, qr0 +/* 802E23B8 002DF318 DB 41 01 F0 */ stfd f26, 0x1f0(r1) +/* 802E23BC 002DF31C F3 41 01 F8 */ psq_st f26, 504(r1), 0, qr0 +/* 802E23C0 002DF320 BF 21 01 D4 */ stmw r25, 0x1d4(r1) +/* 802E23C4 002DF324 7C BB 2B 78 */ mr r27, r5 +/* 802E23C8 002DF328 7C 7F 1B 78 */ mr r31, r3 +/* 802E23CC 002DF32C 80 A5 00 00 */ lwz r5, 0(r5) +/* 802E23D0 002DF330 7C 9E 23 78 */ mr r30, r4 +/* 802E23D4 002DF334 7C DC 33 78 */ mr r28, r6 +/* 802E23D8 002DF338 38 61 01 54 */ addi r3, r1, 0x154 +/* 802E23DC 002DF33C 80 85 00 00 */ lwz r4, 0(r5) +/* 802E23E0 002DF340 4B D4 C7 A9 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802E23E4 002DF344 80 81 01 6C */ lwz r4, 0x16c(r1) +/* 802E23E8 002DF348 34 61 01 58 */ addic. r3, r1, 0x158 +/* 802E23EC 002DF34C C0 41 01 70 */ lfs f2, 0x170(r1) +/* 802E23F0 002DF350 C0 21 01 74 */ lfs f1, 0x174(r1) +/* 802E23F4 002DF354 C0 01 01 78 */ lfs f0, 0x178(r1) +/* 802E23F8 002DF358 88 01 01 7C */ lbz r0, 0x17c(r1) +/* 802E23FC 002DF35C 90 81 00 D0 */ stw r4, 0xd0(r1) +/* 802E2400 002DF360 C3 61 01 68 */ lfs f27, 0x168(r1) +/* 802E2404 002DF364 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802E2408 002DF368 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802E240C 002DF36C D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 802E2410 002DF370 98 01 00 E0 */ stb r0, 0xe0(r1) +/* 802E2414 002DF374 41 82 00 08 */ beq lbl_802E241C +/* 802E2418 002DF378 48 05 B6 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E241C: +/* 802E241C 002DF37C 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802E2420 002DF380 38 61 01 1C */ addi r3, r1, 0x11c +/* 802E2424 002DF384 D3 61 00 7C */ stfs f27, 0x7c(r1) +/* 802E2428 002DF388 80 9C 00 00 */ lwz r4, 0(r28) +/* 802E242C 002DF38C 90 01 00 80 */ stw r0, 0x80(r1) +/* 802E2430 002DF390 90 01 00 58 */ stw r0, 0x58(r1) +/* 802E2434 002DF394 80 84 00 00 */ lwz r4, 0(r4) +/* 802E2438 002DF398 4B D4 C7 51 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802E243C 002DF39C 80 81 01 34 */ lwz r4, 0x134(r1) +/* 802E2440 002DF3A0 34 61 01 20 */ addic. r3, r1, 0x120 +/* 802E2444 002DF3A4 C0 41 01 38 */ lfs f2, 0x138(r1) +/* 802E2448 002DF3A8 C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 802E244C 002DF3AC C0 01 01 40 */ lfs f0, 0x140(r1) +/* 802E2450 002DF3B0 88 01 01 44 */ lbz r0, 0x144(r1) +/* 802E2454 002DF3B4 90 81 00 B8 */ stw r4, 0xb8(r1) +/* 802E2458 002DF3B8 C3 61 01 30 */ lfs f27, 0x130(r1) +/* 802E245C 002DF3BC D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 802E2460 002DF3C0 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 802E2464 002DF3C4 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802E2468 002DF3C8 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 802E246C 002DF3CC 41 82 00 08 */ beq lbl_802E2474 +/* 802E2470 002DF3D0 48 05 B6 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E2474: +/* 802E2474 002DF3D4 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 802E2478 002DF3D8 38 61 00 7C */ addi r3, r1, 0x7c +/* 802E247C 002DF3DC D3 61 00 74 */ stfs f27, 0x74(r1) +/* 802E2480 002DF3E0 38 81 00 74 */ addi r4, r1, 0x74 +/* 802E2484 002DF3E4 90 01 00 50 */ stw r0, 0x50(r1) +/* 802E2488 002DF3E8 90 01 00 78 */ stw r0, 0x78(r1) +/* 802E248C 002DF3EC 48 06 65 8D */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E2490 002DF3F0 FF E0 08 90 */ fmr f31, f1 +/* 802E2494 002DF3F4 38 61 00 74 */ addi r3, r1, 0x74 +/* 802E2498 002DF3F8 38 81 00 7C */ addi r4, r1, 0x7c +/* 802E249C 002DF3FC 48 06 65 7D */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E24A0 002DF400 80 9B 00 00 */ lwz r4, 0(r27) +/* 802E24A4 002DF404 FF C0 08 90 */ fmr f30, f1 +/* 802E24A8 002DF408 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 802E24AC 002DF40C 80 84 00 00 */ lwz r4, 0(r4) +/* 802E24B0 002DF410 4B D4 C6 D9 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802E24B4 002DF414 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802E24B8 002DF418 3B A1 01 90 */ addi r29, r1, 0x190 +/* 802E24BC 002DF41C 3B 41 00 E8 */ addi r26, r1, 0xe8 +/* 802E24C0 002DF420 D0 01 01 8C */ stfs f0, 0x18c(r1) +/* 802E24C4 002DF424 7F A3 EB 78 */ mr r3, r29 +/* 802E24C8 002DF428 7F 44 D3 78 */ mr r4, r26 +/* 802E24CC 002DF42C 48 05 BC 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E24D0 002DF430 C0 81 00 F8 */ lfs f4, 0xf8(r1) +/* 802E24D4 002DF434 28 1A 00 00 */ cmplwi r26, 0 +/* 802E24D8 002DF438 80 A1 00 FC */ lwz r5, 0xfc(r1) +/* 802E24DC 002DF43C 3B 21 01 B8 */ addi r25, r1, 0x1b8 +/* 802E24E0 002DF440 C0 61 01 00 */ lfs f3, 0x100(r1) +/* 802E24E4 002DF444 C0 41 01 04 */ lfs f2, 0x104(r1) +/* 802E24E8 002DF448 C0 21 01 08 */ lfs f1, 0x108(r1) +/* 802E24EC 002DF44C 88 81 01 0C */ lbz r4, 0x10c(r1) +/* 802E24F0 002DF450 C0 01 01 10 */ lfs f0, 0x110(r1) +/* 802E24F4 002DF454 80 61 01 14 */ lwz r3, 0x114(r1) +/* 802E24F8 002DF458 80 01 01 18 */ lwz r0, 0x118(r1) +/* 802E24FC 002DF45C D0 81 01 A0 */ stfs f4, 0x1a0(r1) +/* 802E2500 002DF460 90 A1 01 A4 */ stw r5, 0x1a4(r1) +/* 802E2504 002DF464 D0 61 01 A8 */ stfs f3, 0x1a8(r1) +/* 802E2508 002DF468 D0 41 01 AC */ stfs f2, 0x1ac(r1) +/* 802E250C 002DF46C D0 21 01 B0 */ stfs f1, 0x1b0(r1) +/* 802E2510 002DF470 98 81 01 B4 */ stb r4, 0x1b4(r1) +/* 802E2514 002DF474 D0 01 01 B8 */ stfs f0, 0x1b8(r1) +/* 802E2518 002DF478 90 61 01 BC */ stw r3, 0x1bc(r1) +/* 802E251C 002DF47C 90 01 01 C0 */ stw r0, 0x1c0(r1) +/* 802E2520 002DF480 41 82 00 0C */ beq lbl_802E252C +/* 802E2524 002DF484 7F 43 D3 78 */ mr r3, r26 +/* 802E2528 002DF488 48 05 B5 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E252C: +/* 802E252C 002DF48C C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 802E2530 002DF490 7F 23 CB 78 */ mr r3, r25 +/* 802E2534 002DF494 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802E2538 002DF498 38 81 00 34 */ addi r4, r1, 0x34 +/* 802E253C 002DF49C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802E2540 002DF4A0 90 01 00 38 */ stw r0, 0x38(r1) +/* 802E2544 002DF4A4 48 06 64 D5 */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E2548 002DF4A8 C0 42 C5 B0 */ lfs f2, lbl_805AE2D0@sda21(r2) +/* 802E254C 002DF4AC C0 0D 9B 70 */ lfs f0, lbl_805A8730@sda21(r13) +/* 802E2550 002DF4B0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802E2554 002DF4B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802E2558 002DF4B8 D0 21 00 08 */ stfs f1, 8(r1) +/* 802E255C 002DF4BC 40 80 00 0C */ bge lbl_802E2568 +/* 802E2560 002DF4C0 38 8D 9B 70 */ addi r4, r13, lbl_805A8730@sda21 +/* 802E2564 002DF4C4 48 00 00 08 */ b lbl_802E256C +lbl_802E2568: +/* 802E2568 002DF4C8 38 81 00 08 */ addi r4, r1, 8 +lbl_802E256C: +/* 802E256C 002DF4CC C0 2D 9B 74 */ lfs f1, lbl_805A8734@sda21(r13) +/* 802E2570 002DF4D0 C0 04 00 00 */ lfs f0, 0(r4) +/* 802E2574 002DF4D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802E2578 002DF4D8 40 80 00 08 */ bge lbl_802E2580 +/* 802E257C 002DF4DC 38 8D 9B 74 */ addi r4, r13, lbl_805A8734@sda21 +lbl_802E2580: +/* 802E2580 002DF4E0 38 00 00 01 */ li r0, 1 +/* 802E2584 002DF4E4 34 61 00 6C */ addic. r3, r1, 0x6c +/* 802E2588 002DF4E8 98 01 00 70 */ stb r0, 0x70(r1) +/* 802E258C 002DF4EC C0 04 00 00 */ lfs f0, 0(r4) +/* 802E2590 002DF4F0 41 82 00 08 */ beq lbl_802E2598 +/* 802E2594 002DF4F4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_802E2598: +/* 802E2598 002DF4F8 80 7C 00 00 */ lwz r3, 0(r28) +/* 802E259C 002DF4FC C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802E25A0 002DF500 80 63 00 00 */ lwz r3, 0(r3) +/* 802E25A4 002DF504 81 83 00 00 */ lwz r12, 0(r3) +/* 802E25A8 002DF508 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802E25AC 002DF50C 7D 89 03 A6 */ mtctr r12 +/* 802E25B0 002DF510 4E 80 04 21 */ bctrl +/* 802E25B4 002DF514 3C 80 80 3D */ lis r4, lbl_803D6D98@ha +/* 802E25B8 002DF518 38 60 00 14 */ li r3, 0x14 +/* 802E25BC 002DF51C 38 84 6D 98 */ addi r4, r4, lbl_803D6D98@l +/* 802E25C0 002DF520 38 A0 00 00 */ li r5, 0 +/* 802E25C4 002DF524 48 03 32 A9 */ bl __nw__FUlPCcPCc +/* 802E25C8 002DF528 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802E25CC 002DF52C 41 82 00 8C */ beq lbl_802E2658 +/* 802E25D0 002DF530 C0 0D 9B 6C */ lfs f0, lbl_805A872C@sda21(r13) +/* 802E25D4 002DF534 3C 80 80 3F */ lis r4, lbl_803ECD10@ha +/* 802E25D8 002DF538 80 AD 9B 68 */ lwz r5, lbl_805A8728@sda21(r13) +/* 802E25DC 002DF53C 3C 60 80 3F */ lis r3, lbl_803ED4D0@ha +/* 802E25E0 002DF540 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802E25E4 002DF544 38 C4 CD 10 */ addi r6, r4, lbl_803ECD10@l +/* 802E25E8 002DF548 38 03 D4 D0 */ addi r0, r3, lbl_803ED4D0@l +/* 802E25EC 002DF54C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802E25F0 002DF550 90 A1 00 48 */ stw r5, 0x48(r1) +/* 802E25F4 002DF554 38 9E 00 04 */ addi r4, r30, 4 +/* 802E25F8 002DF558 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802E25FC 002DF55C 90 DA 00 00 */ stw r6, 0(r26) +/* 802E2600 002DF560 90 1A 00 00 */ stw r0, 0(r26) +/* 802E2604 002DF564 C3 9E 00 04 */ lfs f28, 4(r30) +/* 802E2608 002DF568 C3 61 00 44 */ lfs f27, 0x44(r1) +/* 802E260C 002DF56C 48 06 61 59 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E2610 002DF570 C0 62 C5 B0 */ lfs f3, lbl_805AE2D0@sda21(r2) +/* 802E2614 002DF574 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E2618 002DF578 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802E261C 002DF57C 38 9E 00 04 */ addi r4, r30, 4 +/* 802E2620 002DF580 EC 5F 18 28 */ fsubs f2, f31, f3 +/* 802E2624 002DF584 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802E2628 002DF588 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802E262C 002DF58C EC 22 08 24 */ fdivs f1, f2, f1 +/* 802E2630 002DF590 EF A1 18 3C */ fnmsubs f29, f1, f0, f3 +/* 802E2634 002DF594 48 06 61 31 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E2638 002DF598 C0 22 C5 B0 */ lfs f1, lbl_805AE2D0@sda21(r2) +/* 802E263C 002DF59C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802E2640 002DF5A0 EC 3F 08 28 */ fsubs f1, f31, f1 +/* 802E2644 002DF5A4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802E2648 002DF5A8 D0 1A 00 04 */ stfs f0, 4(r26) +/* 802E264C 002DF5AC D3 BA 00 08 */ stfs f29, 8(r26) +/* 802E2650 002DF5B0 D3 7A 00 0C */ stfs f27, 0xc(r26) +/* 802E2654 002DF5B4 D3 9A 00 10 */ stfs f28, 0x10(r26) +lbl_802E2658: +/* 802E2658 002DF5B8 7C 1A 00 D0 */ neg r0, r26 +/* 802E265C 002DF5BC 3C 60 80 3D */ lis r3, lbl_803D6D98@ha +/* 802E2660 002DF5C0 7C 00 D3 78 */ or r0, r0, r26 +/* 802E2664 002DF5C4 93 41 00 68 */ stw r26, 0x68(r1) +/* 802E2668 002DF5C8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802E266C 002DF5CC 38 83 6D 98 */ addi r4, r3, lbl_803D6D98@l +/* 802E2670 002DF5D0 98 01 00 64 */ stb r0, 0x64(r1) +/* 802E2674 002DF5D4 38 60 00 14 */ li r3, 0x14 +/* 802E2678 002DF5D8 38 A0 00 00 */ li r5, 0 +/* 802E267C 002DF5DC 48 03 31 F1 */ bl __nw__FUlPCcPCc +/* 802E2680 002DF5E0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802E2684 002DF5E4 41 82 00 84 */ beq lbl_802E2708 +/* 802E2688 002DF5E8 C0 0D 9B 6C */ lfs f0, lbl_805A872C@sda21(r13) +/* 802E268C 002DF5EC 3C 80 80 3F */ lis r4, lbl_803ECD10@ha +/* 802E2690 002DF5F0 80 AD 9B 68 */ lwz r5, lbl_805A8728@sda21(r13) +/* 802E2694 002DF5F4 3C 60 80 3F */ lis r3, lbl_803ED4D0@ha +/* 802E2698 002DF5F8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802E269C 002DF5FC 38 C4 CD 10 */ addi r6, r4, lbl_803ECD10@l +/* 802E26A0 002DF600 38 03 D4 D0 */ addi r0, r3, lbl_803ED4D0@l +/* 802E26A4 002DF604 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E26A8 002DF608 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802E26AC 002DF60C 38 9E 00 04 */ addi r4, r30, 4 +/* 802E26B0 002DF610 38 A1 00 3C */ addi r5, r1, 0x3c +/* 802E26B4 002DF614 90 DA 00 00 */ stw r6, 0(r26) +/* 802E26B8 002DF618 90 1A 00 00 */ stw r0, 0(r26) +/* 802E26BC 002DF61C C3 7E 00 04 */ lfs f27, 4(r30) +/* 802E26C0 002DF620 C3 81 00 3C */ lfs f28, 0x3c(r1) +/* 802E26C4 002DF624 48 06 60 A1 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E26C8 002DF628 C0 02 C5 B0 */ lfs f0, lbl_805AE2D0@sda21(r2) +/* 802E26CC 002DF62C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E26D0 002DF630 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802E26D4 002DF634 38 9E 00 04 */ addi r4, r30, 4 +/* 802E26D8 002DF638 EF 40 F0 28 */ fsubs f26, f0, f30 +/* 802E26DC 002DF63C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802E26E0 002DF640 38 A1 00 3C */ addi r5, r1, 0x3c +/* 802E26E4 002DF644 EC 3A 08 24 */ fdivs f1, f26, f1 +/* 802E26E8 002DF648 EF A1 F0 3C */ fnmsubs f29, f1, f0, f30 +/* 802E26EC 002DF64C 48 06 60 79 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E26F0 002DF650 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802E26F4 002DF654 EC 1A 00 24 */ fdivs f0, f26, f0 +/* 802E26F8 002DF658 D0 1A 00 04 */ stfs f0, 4(r26) +/* 802E26FC 002DF65C D3 BA 00 08 */ stfs f29, 8(r26) +/* 802E2700 002DF660 D3 9A 00 0C */ stfs f28, 0xc(r26) +/* 802E2704 002DF664 D3 7A 00 10 */ stfs f27, 0x10(r26) +lbl_802E2708: +/* 802E2708 002DF668 7C 1A 00 D0 */ neg r0, r26 +/* 802E270C 002DF66C 3C 60 80 3D */ lis r3, lbl_803D6D98@ha +/* 802E2710 002DF670 7C 00 D3 78 */ or r0, r0, r26 +/* 802E2714 002DF674 93 41 00 60 */ stw r26, 0x60(r1) +/* 802E2718 002DF678 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802E271C 002DF67C 38 83 6D 98 */ addi r4, r3, lbl_803D6D98@l +/* 802E2720 002DF680 98 01 00 5C */ stb r0, 0x5c(r1) +/* 802E2724 002DF684 3B 20 00 00 */ li r25, 0 +/* 802E2728 002DF688 38 60 00 38 */ li r3, 0x38 +/* 802E272C 002DF68C 38 A0 00 00 */ li r5, 0 +/* 802E2730 002DF690 48 03 31 3D */ bl __nw__FUlPCcPCc +/* 802E2734 002DF694 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802E2738 002DF698 41 82 00 3C */ beq lbl_802E2774 +/* 802E273C 002DF69C FC 40 F8 90 */ fmr f2, f31 +/* 802E2740 002DF6A0 C0 22 C5 B0 */ lfs f1, lbl_805AE2D0@sda21(r2) +/* 802E2744 002DF6A4 7F 64 DB 78 */ mr r4, r27 +/* 802E2748 002DF6A8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 802E274C 002DF6AC 38 BE 00 04 */ addi r5, r30, 4 +/* 802E2750 002DF6B0 48 01 19 85 */ bl "CreatePrimitiveName__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRC13CCharAnimTimef" +/* 802E2754 002DF6B4 7F 43 D3 78 */ mr r3, r26 +/* 802E2758 002DF6B8 7F 64 DB 78 */ mr r4, r27 +/* 802E275C 002DF6BC 38 A1 00 64 */ addi r5, r1, 0x64 +/* 802E2760 002DF6C0 38 DE 00 04 */ addi r6, r30, 4 +/* 802E2764 002DF6C4 38 E1 00 A4 */ addi r7, r1, 0xa4 +/* 802E2768 002DF6C8 3B 20 00 01 */ li r25, 1 +/* 802E276C 002DF6CC 48 00 02 09 */ bl "__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl48ownership_transfer<26IVaryingAnimationTimeScale>RC13CCharAnimTimeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E2770 002DF6D0 7C 7A 1B 78 */ mr r26, r3 +lbl_802E2774: +/* 802E2774 002DF6D4 3C 80 80 3D */ lis r4, lbl_803D6D98@ha +/* 802E2778 002DF6D8 38 60 00 08 */ li r3, 8 +/* 802E277C 002DF6DC 38 84 6D 98 */ addi r4, r4, lbl_803D6D98@l +/* 802E2780 002DF6E0 38 A0 00 00 */ li r5, 0 +/* 802E2784 002DF6E4 48 03 30 E9 */ bl __nw__FUlPCcPCc +/* 802E2788 002DF6E8 28 03 00 00 */ cmplwi r3, 0 +/* 802E278C 002DF6EC 41 82 00 10 */ beq lbl_802E279C +/* 802E2790 002DF6F0 93 43 00 00 */ stw r26, 0(r3) +/* 802E2794 002DF6F4 38 00 00 01 */ li r0, 1 +/* 802E2798 002DF6F8 90 03 00 04 */ stw r0, 4(r3) +lbl_802E279C: +/* 802E279C 002DF6FC 7F 20 07 75 */ extsb. r0, r25 +/* 802E27A0 002DF700 90 61 00 10 */ stw r3, 0x10(r1) +/* 802E27A4 002DF704 41 82 00 0C */ beq lbl_802E27B0 +/* 802E27A8 002DF708 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 802E27AC 002DF70C 48 05 B3 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E27B0: +/* 802E27B0 002DF710 3C 60 80 3D */ lis r3, lbl_803D6D98@ha +/* 802E27B4 002DF714 3B 20 00 00 */ li r25, 0 +/* 802E27B8 002DF718 38 83 6D 98 */ addi r4, r3, lbl_803D6D98@l +/* 802E27BC 002DF71C 38 A0 00 00 */ li r5, 0 +/* 802E27C0 002DF720 38 60 00 38 */ li r3, 0x38 +/* 802E27C4 002DF724 48 03 30 A9 */ bl __nw__FUlPCcPCc +/* 802E27C8 002DF728 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802E27CC 002DF72C 41 82 00 3C */ beq lbl_802E2808 +/* 802E27D0 002DF730 FC 20 F0 90 */ fmr f1, f30 +/* 802E27D4 002DF734 C0 42 C5 B0 */ lfs f2, lbl_805AE2D0@sda21(r2) +/* 802E27D8 002DF738 7F 84 E3 78 */ mr r4, r28 +/* 802E27DC 002DF73C 38 61 00 94 */ addi r3, r1, 0x94 +/* 802E27E0 002DF740 38 BE 00 04 */ addi r5, r30, 4 +/* 802E27E4 002DF744 48 01 18 F1 */ bl "CreatePrimitiveName__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRC13CCharAnimTimef" +/* 802E27E8 002DF748 7F 43 D3 78 */ mr r3, r26 +/* 802E27EC 002DF74C 7F 84 E3 78 */ mr r4, r28 +/* 802E27F0 002DF750 38 A1 00 5C */ addi r5, r1, 0x5c +/* 802E27F4 002DF754 38 DE 00 04 */ addi r6, r30, 4 +/* 802E27F8 002DF758 38 E1 00 94 */ addi r7, r1, 0x94 +/* 802E27FC 002DF75C 3B 20 00 01 */ li r25, 1 +/* 802E2800 002DF760 48 00 01 75 */ bl "__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl48ownership_transfer<26IVaryingAnimationTimeScale>RC13CCharAnimTimeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E2804 002DF764 7C 7A 1B 78 */ mr r26, r3 +lbl_802E2808: +/* 802E2808 002DF768 3C 80 80 3D */ lis r4, lbl_803D6D98@ha +/* 802E280C 002DF76C 38 60 00 08 */ li r3, 8 +/* 802E2810 002DF770 38 84 6D 98 */ addi r4, r4, lbl_803D6D98@l +/* 802E2814 002DF774 38 A0 00 00 */ li r5, 0 +/* 802E2818 002DF778 48 03 30 55 */ bl __nw__FUlPCcPCc +/* 802E281C 002DF77C 28 03 00 00 */ cmplwi r3, 0 +/* 802E2820 002DF780 41 82 00 10 */ beq lbl_802E2830 +/* 802E2824 002DF784 93 43 00 00 */ stw r26, 0(r3) +/* 802E2828 002DF788 38 00 00 01 */ li r0, 1 +/* 802E282C 002DF78C 90 03 00 04 */ stw r0, 4(r3) +lbl_802E2830: +/* 802E2830 002DF790 7F 20 07 75 */ extsb. r0, r25 +/* 802E2834 002DF794 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E2838 002DF798 41 82 00 0C */ beq lbl_802E2844 +/* 802E283C 002DF79C 38 61 00 94 */ addi r3, r1, 0x94 +/* 802E2840 002DF7A0 48 05 B2 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E2844: +/* 802E2844 002DF7A4 3C 60 80 3D */ lis r3, lbl_803D6D98@ha +/* 802E2848 002DF7A8 3B 20 00 00 */ li r25, 0 +/* 802E284C 002DF7AC 38 83 6D 98 */ addi r4, r3, lbl_803D6D98@l +/* 802E2850 002DF7B0 38 A0 00 00 */ li r5, 0 +/* 802E2854 002DF7B4 38 60 00 38 */ li r3, 0x38 +/* 802E2858 002DF7B8 48 03 30 15 */ bl __nw__FUlPCcPCc +/* 802E285C 002DF7BC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802E2860 002DF7C0 41 82 00 44 */ beq lbl_802E28A4 +/* 802E2864 002DF7C4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802E2868 002DF7C8 38 61 00 84 */ addi r3, r1, 0x84 +/* 802E286C 002DF7CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E2870 002DF7D0 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E2874 002DF7D4 48 01 32 4D */ bl "CreatePrimitiveName__19CAnimTreeTransitionFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" +/* 802E2878 002DF7D8 88 9E 00 0C */ lbz r4, 0xc(r30) +/* 802E287C 002DF7DC 7F 43 D3 78 */ mr r3, r26 +/* 802E2880 002DF7E0 89 1E 00 0D */ lbz r8, 0xd(r30) +/* 802E2884 002DF7E4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802E2888 002DF7E8 81 3E 00 10 */ lwz r9, 0x10(r30) +/* 802E288C 002DF7EC 38 C1 00 0C */ addi r6, r1, 0xc +/* 802E2890 002DF7F0 38 FE 00 04 */ addi r7, r30, 4 +/* 802E2894 002DF7F4 39 41 00 84 */ addi r10, r1, 0x84 +/* 802E2898 002DF7F8 3B 20 00 01 */ li r25, 1 +/* 802E289C 002DF7FC 48 01 40 75 */ bl "__ct__19CAnimTreeTransitionFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC13CCharAnimTimebiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E28A0 002DF800 7C 7A 1B 78 */ mr r26, r3 +lbl_802E28A4: +/* 802E28A4 002DF804 3C 80 80 3D */ lis r4, lbl_803D6D98@ha +/* 802E28A8 002DF808 38 60 00 08 */ li r3, 8 +/* 802E28AC 002DF80C 38 84 6D 98 */ addi r4, r4, lbl_803D6D98@l +/* 802E28B0 002DF810 38 A0 00 00 */ li r5, 0 +/* 802E28B4 002DF814 48 03 2F B9 */ bl __nw__FUlPCcPCc +/* 802E28B8 002DF818 28 03 00 00 */ cmplwi r3, 0 +/* 802E28BC 002DF81C 41 82 00 10 */ beq lbl_802E28CC +/* 802E28C0 002DF820 93 43 00 00 */ stw r26, 0(r3) +/* 802E28C4 002DF824 38 00 00 01 */ li r0, 1 +/* 802E28C8 002DF828 90 03 00 04 */ stw r0, 4(r3) +lbl_802E28CC: +/* 802E28CC 002DF82C 7F 20 07 75 */ extsb. r0, r25 +/* 802E28D0 002DF830 90 7F 00 00 */ stw r3, 0(r31) +/* 802E28D4 002DF834 41 82 00 0C */ beq lbl_802E28E0 +/* 802E28D8 002DF838 38 61 00 84 */ addi r3, r1, 0x84 +/* 802E28DC 002DF83C 48 05 B2 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E28E0: +/* 802E28E0 002DF840 38 61 00 0C */ addi r3, r1, 0xc +/* 802E28E4 002DF844 4B D4 E6 BD */ bl sub_80030fa0 +/* 802E28E8 002DF848 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E28EC 002DF84C 4B D4 E6 B5 */ bl sub_80030fa0 +/* 802E28F0 002DF850 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 802E28F4 002DF854 28 00 00 00 */ cmplwi r0, 0 +/* 802E28F8 002DF858 41 82 00 0C */ beq lbl_802E2904 +/* 802E28FC 002DF85C 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802E2900 002DF860 48 03 30 31 */ bl Free__7CMemoryFPCv +lbl_802E2904: +/* 802E2904 002DF864 88 01 00 64 */ lbz r0, 0x64(r1) +/* 802E2908 002DF868 28 00 00 00 */ cmplwi r0, 0 +/* 802E290C 002DF86C 41 82 00 0C */ beq lbl_802E2918 +/* 802E2910 002DF870 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802E2914 002DF874 48 03 30 1D */ bl Free__7CMemoryFPCv +lbl_802E2918: +/* 802E2918 002DF878 38 00 00 00 */ li r0, 0 +/* 802E291C 002DF87C 28 1D 00 00 */ cmplwi r29, 0 +/* 802E2920 002DF880 98 01 00 70 */ stb r0, 0x70(r1) +/* 802E2924 002DF884 41 82 00 0C */ beq lbl_802E2930 +/* 802E2928 002DF888 7F A3 EB 78 */ mr r3, r29 +/* 802E292C 002DF88C 48 05 B1 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E2930: +/* 802E2930 002DF890 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 +/* 802E2934 002DF894 CB E1 02 40 */ lfd f31, 0x240(r1) +/* 802E2938 002DF898 E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 +/* 802E293C 002DF89C CB C1 02 30 */ lfd f30, 0x230(r1) +/* 802E2940 002DF8A0 E3 A1 02 28 */ psq_l f29, 552(r1), 0, qr0 +/* 802E2944 002DF8A4 CB A1 02 20 */ lfd f29, 0x220(r1) +/* 802E2948 002DF8A8 E3 81 02 18 */ psq_l f28, 536(r1), 0, qr0 +/* 802E294C 002DF8AC CB 81 02 10 */ lfd f28, 0x210(r1) +/* 802E2950 002DF8B0 E3 61 02 08 */ psq_l f27, 520(r1), 0, qr0 +/* 802E2954 002DF8B4 CB 61 02 00 */ lfd f27, 0x200(r1) +/* 802E2958 002DF8B8 E3 41 01 F8 */ psq_l f26, 504(r1), 0, qr0 +/* 802E295C 002DF8BC CB 41 01 F0 */ lfd f26, 0x1f0(r1) +/* 802E2960 002DF8C0 BB 21 01 D4 */ lmw r25, 0x1d4(r1) +/* 802E2964 002DF8C4 80 01 02 54 */ lwz r0, 0x254(r1) +/* 802E2968 002DF8C8 7C 08 03 A6 */ mtlr r0 +/* 802E296C 002DF8CC 38 21 02 50 */ addi r1, r1, 0x250 +/* 802E2970 002DF8D0 4E 80 00 20 */ blr + +.global "__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl48ownership_transfer<26IVaryingAnimationTimeScale>RC13CCharAnimTimeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl48ownership_transfer<26IVaryingAnimationTimeScale>RC13CCharAnimTimeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802E2974 002DF8D4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802E2978 002DF8D8 7C 08 02 A6 */ mflr r0 +/* 802E297C 002DF8DC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802E2980 002DF8E0 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802E2984 002DF8E4 7C 7E 1B 78 */ mr r30, r3 +/* 802E2988 002DF8E8 7F C0 F3 78 */ mr r0, r30 +/* 802E298C 002DF8EC 7C 9F 23 78 */ mr r31, r4 +/* 802E2990 002DF8F0 7C BC 2B 78 */ mr r28, r5 +/* 802E2994 002DF8F4 7C DD 33 78 */ mr r29, r6 +/* 802E2998 002DF8F8 7C 1B 03 78 */ mr r27, r0 +/* 802E299C 002DF8FC 7C E4 3B 78 */ mr r4, r7 +/* 802E29A0 002DF900 48 01 13 31 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E29A4 002DF904 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802E29A8 002DF908 3C 60 80 3F */ lis r3, lbl_803ED2B0@ha +/* 802E29AC 002DF90C 38 84 D2 40 */ addi r4, r4, lbl_803ED240@l +/* 802E29B0 002DF910 38 00 00 00 */ li r0, 0 +/* 802E29B4 002DF914 90 9B 00 00 */ stw r4, 0(r27) +/* 802E29B8 002DF918 38 83 D2 B0 */ addi r4, r3, lbl_803ED2B0@l +/* 802E29BC 002DF91C C0 22 C5 B4 */ lfs f1, lbl_805AE2D4@sda21(r2) +/* 802E29C0 002DF920 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802E29C4 002DF924 80 BF 00 00 */ lwz r5, 0(r31) +/* 802E29C8 002DF928 90 BB 00 14 */ stw r5, 0x14(r27) +/* 802E29CC 002DF92C 80 DB 00 14 */ lwz r6, 0x14(r27) +/* 802E29D0 002DF930 80 A6 00 04 */ lwz r5, 4(r6) +/* 802E29D4 002DF934 38 A5 00 01 */ addi r5, r5, 1 +/* 802E29D8 002DF938 90 A6 00 04 */ stw r5, 4(r6) +/* 802E29DC 002DF93C 90 9E 00 00 */ stw r4, 0(r30) +/* 802E29E0 002DF940 98 1C 00 00 */ stb r0, 0(r28) +/* 802E29E4 002DF944 80 1C 00 04 */ lwz r0, 4(r28) +/* 802E29E8 002DF948 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802E29EC 002DF94C 48 06 64 01 */ bl __ct__13CCharAnimTimeFf +/* 802E29F0 002DF950 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802E29F4 002DF954 38 61 00 08 */ addi r3, r1, 8 +/* 802E29F8 002DF958 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 802E29FC 002DF95C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E2A00 002DF960 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802E2A04 002DF964 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E2A08 002DF968 80 84 00 00 */ lwz r4, 0(r4) +/* 802E2A0C 002DF96C 81 84 00 00 */ lwz r12, 0(r4) +/* 802E2A10 002DF970 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802E2A14 002DF974 7D 89 03 A6 */ mtctr r12 +/* 802E2A18 002DF978 4E 80 04 21 */ bctrl +/* 802E2A1C 002DF97C 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E2A20 002DF980 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E2A24 002DF984 80 84 00 00 */ lwz r4, 0(r4) +/* 802E2A28 002DF988 81 84 00 00 */ lwz r12, 0(r4) +/* 802E2A2C 002DF98C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802E2A30 002DF990 7D 89 03 A6 */ mtctr r12 +/* 802E2A34 002DF994 4E 80 04 21 */ bctrl +/* 802E2A38 002DF998 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802E2A3C 002DF99C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E2A40 002DF9A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E2A44 002DF9A4 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E2A48 002DF9A8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802E2A4C 002DF9AC 38 A1 00 08 */ addi r5, r1, 8 +/* 802E2A50 002DF9B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E2A54 002DF9B4 48 06 5D 11 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E2A58 002DF9B8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802E2A5C 002DF9BC 7F C3 F3 78 */ mr r3, r30 +/* 802E2A60 002DF9C0 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 802E2A64 002DF9C4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E2A68 002DF9C8 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802E2A6C 002DF9CC BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802E2A70 002DF9D0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802E2A74 002DF9D4 7C 08 03 A6 */ mtlr r0 +/* 802E2A78 002DF9D8 38 21 00 50 */ addi r1, r1, 0x50 +/* 802E2A7C 002DF9DC 4E 80 00 20 */ blr + +.global __ct__20CMetaTransPhaseTransFR12CInputStream +__ct__20CMetaTransPhaseTransFR12CInputStream: +/* 802E2A80 002DF9E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E2A84 002DF9E4 7C 08 02 A6 */ mflr r0 +/* 802E2A88 002DF9E8 3C A0 80 3E */ lis r5, lbl_803D9C70@ha +/* 802E2A8C 002DF9EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E2A90 002DF9F0 38 05 9C 70 */ addi r0, r5, lbl_803D9C70@l +/* 802E2A94 002DF9F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E2A98 002DF9F8 7C 9F 23 78 */ mr r31, r4 +/* 802E2A9C 002DF9FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E2AA0 002DFA00 7C 7E 1B 78 */ mr r30, r3 +/* 802E2AA4 002DFA04 3C 60 80 3F */ lis r3, lbl_803ECDA8@ha +/* 802E2AA8 002DFA08 90 1E 00 00 */ stw r0, 0(r30) +/* 802E2AAC 002DFA0C 38 03 CD A8 */ addi r0, r3, lbl_803ECDA8@l +/* 802E2AB0 002DFA10 38 61 00 08 */ addi r3, r1, 8 +/* 802E2AB4 002DFA14 90 1E 00 00 */ stw r0, 0(r30) +/* 802E2AB8 002DFA18 48 06 63 5D */ bl __ct__13CCharAnimTimeFR12CInputStream +/* 802E2ABC 002DFA1C C0 01 00 08 */ lfs f0, 8(r1) +/* 802E2AC0 002DFA20 7F E3 FB 78 */ mr r3, r31 +/* 802E2AC4 002DFA24 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802E2AC8 002DFA28 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E2ACC 002DFA2C 90 1E 00 08 */ stw r0, 8(r30) +/* 802E2AD0 002DFA30 48 05 C2 0D */ bl ReadBool__12CInputStreamFv +/* 802E2AD4 002DFA34 98 7E 00 0C */ stb r3, 0xc(r30) +/* 802E2AD8 002DFA38 7F E3 FB 78 */ mr r3, r31 +/* 802E2ADC 002DFA3C 48 05 C2 01 */ bl ReadBool__12CInputStreamFv +/* 802E2AE0 002DFA40 98 7E 00 0D */ stb r3, 0xd(r30) +/* 802E2AE4 002DFA44 7F E3 FB 78 */ mr r3, r31 +/* 802E2AE8 002DFA48 48 05 C1 9D */ bl ReadLong__12CInputStreamFv +/* 802E2AEC 002DFA4C 90 7E 00 10 */ stw r3, 0x10(r30) +/* 802E2AF0 002DFA50 7F C3 F3 78 */ mr r3, r30 +/* 802E2AF4 002DFA54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E2AF8 002DFA58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E2AFC 002DFA5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E2B00 002DFA60 7C 08 03 A6 */ mtlr r0 +/* 802E2B04 002DFA64 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E2B08 002DFA68 4E 80 00 20 */ blr + +.global __dt__14CMetaTransSnapFv +__dt__14CMetaTransSnapFv: +/* 802E2B0C 002DFA6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2B10 002DFA70 7C 08 02 A6 */ mflr r0 +/* 802E2B14 002DFA74 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E2B18 002DFA78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E2B1C 002DFA7C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802E2B20 002DFA80 41 82 00 30 */ beq lbl_802E2B50 +/* 802E2B24 002DFA84 3C 60 80 3F */ lis r3, lbl_803ECDC0@ha +/* 802E2B28 002DFA88 38 03 CD C0 */ addi r0, r3, lbl_803ECDC0@l +/* 802E2B2C 002DFA8C 90 1F 00 00 */ stw r0, 0(r31) +/* 802E2B30 002DFA90 41 82 00 10 */ beq lbl_802E2B40 +/* 802E2B34 002DFA94 3C 60 80 3E */ lis r3, lbl_803D9C70@ha +/* 802E2B38 002DFA98 38 03 9C 70 */ addi r0, r3, lbl_803D9C70@l +/* 802E2B3C 002DFA9C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802E2B40: +/* 802E2B40 002DFAA0 7C 80 07 35 */ extsh. r0, r4 +/* 802E2B44 002DFAA4 40 81 00 0C */ ble lbl_802E2B50 +/* 802E2B48 002DFAA8 7F E3 FB 78 */ mr r3, r31 +/* 802E2B4C 002DFAAC 48 03 2D E5 */ bl Free__7CMemoryFPCv +lbl_802E2B50: +/* 802E2B50 002DFAB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E2B54 002DFAB4 7F E3 FB 78 */ mr r3, r31 +/* 802E2B58 002DFAB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E2B5C 002DFABC 7C 08 03 A6 */ mtlr r0 +/* 802E2B60 002DFAC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2B64 002DFAC4 4E 80 00 20 */ blr + +.global GetType__14CMetaTransSnapCFv +GetType__14CMetaTransSnapCFv: +/* 802E2B68 002DFAC8 38 60 00 03 */ li r3, 3 +/* 802E2B6C 002DFACC 4E 80 00 20 */ blr + +.global WriteTransData__14CMetaTransSnapCFR13COutputStream +WriteTransData__14CMetaTransSnapCFR13COutputStream: +/* 802E2B70 002DFAD0 4E 80 00 20 */ blr + +.global "VGetTransitionTree__14CMetaTransSnapCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +"VGetTransitionTree__14CMetaTransSnapCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext": +/* 802E2B74 002DFAD4 80 06 00 00 */ lwz r0, 0(r6) +/* 802E2B78 002DFAD8 90 03 00 00 */ stw r0, 0(r3) +/* 802E2B7C 002DFADC 80 83 00 00 */ lwz r4, 0(r3) +/* 802E2B80 002DFAE0 80 64 00 04 */ lwz r3, 4(r4) +/* 802E2B84 002DFAE4 38 03 00 01 */ addi r0, r3, 1 +/* 802E2B88 002DFAE8 90 04 00 04 */ stw r0, 4(r4) +/* 802E2B8C 002DFAEC 4E 80 00 20 */ blr + +.global __dt__15CMetaTransTransFv +__dt__15CMetaTransTransFv: +/* 802E2B90 002DFAF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2B94 002DFAF4 7C 08 02 A6 */ mflr r0 +/* 802E2B98 002DFAF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E2B9C 002DFAFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E2BA0 002DFB00 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802E2BA4 002DFB04 41 82 00 30 */ beq lbl_802E2BD4 +/* 802E2BA8 002DFB08 3C 60 80 3F */ lis r3, lbl_803ECDD8@ha +/* 802E2BAC 002DFB0C 38 03 CD D8 */ addi r0, r3, lbl_803ECDD8@l +/* 802E2BB0 002DFB10 90 1F 00 00 */ stw r0, 0(r31) +/* 802E2BB4 002DFB14 41 82 00 10 */ beq lbl_802E2BC4 +/* 802E2BB8 002DFB18 3C 60 80 3E */ lis r3, lbl_803D9C70@ha +/* 802E2BBC 002DFB1C 38 03 9C 70 */ addi r0, r3, lbl_803D9C70@l +/* 802E2BC0 002DFB20 90 1F 00 00 */ stw r0, 0(r31) +lbl_802E2BC4: +/* 802E2BC4 002DFB24 7C 80 07 35 */ extsh. r0, r4 +/* 802E2BC8 002DFB28 40 81 00 0C */ ble lbl_802E2BD4 +/* 802E2BCC 002DFB2C 7F E3 FB 78 */ mr r3, r31 +/* 802E2BD0 002DFB30 48 03 2D 61 */ bl Free__7CMemoryFPCv +lbl_802E2BD4: +/* 802E2BD4 002DFB34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E2BD8 002DFB38 7F E3 FB 78 */ mr r3, r31 +/* 802E2BDC 002DFB3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E2BE0 002DFB40 7C 08 03 A6 */ mtlr r0 +/* 802E2BE4 002DFB44 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2BE8 002DFB48 4E 80 00 20 */ blr + +.global GetType__15CMetaTransTransCFv +GetType__15CMetaTransTransCFv: +/* 802E2BEC 002DFB4C 38 60 00 01 */ li r3, 1 +/* 802E2BF0 002DFB50 4E 80 00 20 */ blr + +.global WriteTransData__15CMetaTransTransCFR13COutputStream +WriteTransData__15CMetaTransTransCFR13COutputStream: +/* 802E2BF4 002DFB54 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E2BF8 002DFB58 7C 08 02 A6 */ mflr r0 +/* 802E2BFC 002DFB5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E2C00 002DFB60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E2C04 002DFB64 7C 9F 23 78 */ mr r31, r4 +/* 802E2C08 002DFB68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E2C0C 002DFB6C 7C 7E 1B 78 */ mr r30, r3 +/* 802E2C10 002DFB70 38 7E 00 04 */ addi r3, r30, 4 +/* 802E2C14 002DFB74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E2C18 002DFB78 48 06 57 1D */ bl PutTo__13CCharAnimTimeCFR13COutputStream +/* 802E2C1C 002DFB7C 88 9E 00 0C */ lbz r4, 0xc(r30) +/* 802E2C20 002DFB80 7F E3 FB 78 */ mr r3, r31 +/* 802E2C24 002DFB84 7C 04 00 D0 */ neg r0, r4 +/* 802E2C28 002DFB88 7C 00 23 78 */ or r0, r0, r4 +/* 802E2C2C 002DFB8C 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 802E2C30 002DFB90 48 05 C8 89 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E2C34 002DFB94 80 7F 00 04 */ lwz r3, 4(r31) +/* 802E2C38 002DFB98 80 1F 00 08 */ lwz r0, 8(r31) +/* 802E2C3C 002DFB9C 7C 03 00 40 */ cmplw r3, r0 +/* 802E2C40 002DFBA0 41 80 00 0C */ blt lbl_802E2C4C +/* 802E2C44 002DFBA4 7F E3 FB 78 */ mr r3, r31 +/* 802E2C48 002DFBA8 48 05 C8 DD */ bl DoFlush__13COutputStreamFv +lbl_802E2C4C: +/* 802E2C4C 002DFBAC 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 802E2C50 002DFBB0 7F E3 FB 78 */ mr r3, r31 +/* 802E2C54 002DFBB4 38 04 00 01 */ addi r0, r4, 1 +/* 802E2C58 002DFBB8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E2C5C 002DFBBC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802E2C60 002DFBC0 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802E2C64 002DFBC4 38 04 00 01 */ addi r0, r4, 1 +/* 802E2C68 002DFBC8 90 1F 00 04 */ stw r0, 4(r31) +/* 802E2C6C 002DFBCC 7F A5 21 AE */ stbx r29, r5, r4 +/* 802E2C70 002DFBD0 88 9E 00 0D */ lbz r4, 0xd(r30) +/* 802E2C74 002DFBD4 7C 04 00 D0 */ neg r0, r4 +/* 802E2C78 002DFBD8 7C 00 23 78 */ or r0, r0, r4 +/* 802E2C7C 002DFBDC 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 802E2C80 002DFBE0 48 05 C8 39 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E2C84 002DFBE4 80 7F 00 04 */ lwz r3, 4(r31) +/* 802E2C88 002DFBE8 80 1F 00 08 */ lwz r0, 8(r31) +/* 802E2C8C 002DFBEC 7C 03 00 40 */ cmplw r3, r0 +/* 802E2C90 002DFBF0 41 80 00 0C */ blt lbl_802E2C9C +/* 802E2C94 002DFBF4 7F E3 FB 78 */ mr r3, r31 +/* 802E2C98 002DFBF8 48 05 C8 8D */ bl DoFlush__13COutputStreamFv +lbl_802E2C9C: +/* 802E2C9C 002DFBFC 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 802E2CA0 002DFC00 7F E3 FB 78 */ mr r3, r31 +/* 802E2CA4 002DFC04 38 04 00 01 */ addi r0, r4, 1 +/* 802E2CA8 002DFC08 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802E2CAC 002DFC0C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802E2CB0 002DFC10 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802E2CB4 002DFC14 38 04 00 01 */ addi r0, r4, 1 +/* 802E2CB8 002DFC18 90 1F 00 04 */ stw r0, 4(r31) +/* 802E2CBC 002DFC1C 7F A5 21 AE */ stbx r29, r5, r4 +/* 802E2CC0 002DFC20 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802E2CC4 002DFC24 90 01 00 08 */ stw r0, 8(r1) +/* 802E2CC8 002DFC28 48 05 C7 F1 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E2CCC 002DFC2C 7F E3 FB 78 */ mr r3, r31 +/* 802E2CD0 002DFC30 38 81 00 08 */ addi r4, r1, 8 +/* 802E2CD4 002DFC34 38 A0 00 04 */ li r5, 4 +/* 802E2CD8 002DFC38 48 05 C8 D1 */ bl DoPut__13COutputStreamFPCvUl +/* 802E2CDC 002DFC3C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E2CE0 002DFC40 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E2CE4 002DFC44 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E2CE8 002DFC48 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E2CEC 002DFC4C 7C 08 03 A6 */ mtlr r0 +/* 802E2CF0 002DFC50 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E2CF4 002DFC54 4E 80 00 20 */ blr + +.global "VGetTransitionTree__15CMetaTransTransCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +"VGetTransitionTree__15CMetaTransTransCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext": +/* 802E2CF8 002DFC58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E2CFC 002DFC5C 7C 08 02 A6 */ mflr r0 +/* 802E2D00 002DFC60 3C E0 80 3D */ lis r7, lbl_803D6DA0@ha +/* 802E2D04 002DFC64 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E2D08 002DFC68 38 07 6D A0 */ addi r0, r7, lbl_803D6DA0@l +/* 802E2D0C 002DFC6C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802E2D10 002DFC70 7C 7B 1B 78 */ mr r27, r3 +/* 802E2D14 002DFC74 7C 9C 23 78 */ mr r28, r4 +/* 802E2D18 002DFC78 7C BD 2B 78 */ mr r29, r5 +/* 802E2D1C 002DFC7C 7C DE 33 78 */ mr r30, r6 +/* 802E2D20 002DFC80 7C 04 03 78 */ mr r4, r0 +/* 802E2D24 002DFC84 3B 40 00 00 */ li r26, 0 +/* 802E2D28 002DFC88 38 60 00 38 */ li r3, 0x38 +/* 802E2D2C 002DFC8C 38 A0 00 00 */ li r5, 0 +/* 802E2D30 002DFC90 48 03 2B 3D */ bl __nw__FUlPCcPCc +/* 802E2D34 002DFC94 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802E2D38 002DFC98 41 82 00 44 */ beq lbl_802E2D7C +/* 802E2D3C 002DFC9C C0 3C 00 04 */ lfs f1, 4(r28) +/* 802E2D40 002DFCA0 7F A4 EB 78 */ mr r4, r29 +/* 802E2D44 002DFCA4 7F C5 F3 78 */ mr r5, r30 +/* 802E2D48 002DFCA8 38 61 00 08 */ addi r3, r1, 8 +/* 802E2D4C 002DFCAC 48 01 2D 75 */ bl "CreatePrimitiveName__19CAnimTreeTransitionFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" +/* 802E2D50 002DFCB0 88 9C 00 0C */ lbz r4, 0xc(r28) +/* 802E2D54 002DFCB4 7F E3 FB 78 */ mr r3, r31 +/* 802E2D58 002DFCB8 89 1C 00 0D */ lbz r8, 0xd(r28) +/* 802E2D5C 002DFCBC 7F A5 EB 78 */ mr r5, r29 +/* 802E2D60 002DFCC0 81 3C 00 10 */ lwz r9, 0x10(r28) +/* 802E2D64 002DFCC4 7F C6 F3 78 */ mr r6, r30 +/* 802E2D68 002DFCC8 38 FC 00 04 */ addi r7, r28, 4 +/* 802E2D6C 002DFCCC 39 41 00 08 */ addi r10, r1, 8 +/* 802E2D70 002DFCD0 3B 40 00 01 */ li r26, 1 +/* 802E2D74 002DFCD4 48 01 3B 9D */ bl "__ct__19CAnimTreeTransitionFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC13CCharAnimTimebiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E2D78 002DFCD8 7C 7F 1B 78 */ mr r31, r3 +lbl_802E2D7C: +/* 802E2D7C 002DFCDC 3C 80 80 3D */ lis r4, lbl_803D6DA0@ha +/* 802E2D80 002DFCE0 38 60 00 08 */ li r3, 8 +/* 802E2D84 002DFCE4 38 84 6D A0 */ addi r4, r4, lbl_803D6DA0@l +/* 802E2D88 002DFCE8 38 A0 00 00 */ li r5, 0 +/* 802E2D8C 002DFCEC 48 03 2A E1 */ bl __nw__FUlPCcPCc +/* 802E2D90 002DFCF0 28 03 00 00 */ cmplwi r3, 0 +/* 802E2D94 002DFCF4 41 82 00 10 */ beq lbl_802E2DA4 +/* 802E2D98 002DFCF8 93 E3 00 00 */ stw r31, 0(r3) +/* 802E2D9C 002DFCFC 38 00 00 01 */ li r0, 1 +/* 802E2DA0 002DFD00 90 03 00 04 */ stw r0, 4(r3) +lbl_802E2DA4: +/* 802E2DA4 002DFD04 7F 40 07 75 */ extsb. r0, r26 +/* 802E2DA8 002DFD08 90 7B 00 00 */ stw r3, 0(r27) +/* 802E2DAC 002DFD0C 41 82 00 0C */ beq lbl_802E2DB8 +/* 802E2DB0 002DFD10 38 61 00 08 */ addi r3, r1, 8 +/* 802E2DB4 002DFD14 48 05 AD 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E2DB8: +/* 802E2DB8 002DFD18 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802E2DBC 002DFD1C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E2DC0 002DFD20 7C 08 03 A6 */ mtlr r0 +/* 802E2DC4 002DFD24 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E2DC8 002DFD28 4E 80 00 20 */ blr + +.global __ct__15CMetaTransTransFR12CInputStream +__ct__15CMetaTransTransFR12CInputStream: +/* 802E2DCC 002DFD2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E2DD0 002DFD30 7C 08 02 A6 */ mflr r0 +/* 802E2DD4 002DFD34 3C A0 80 3E */ lis r5, lbl_803D9C70@ha +/* 802E2DD8 002DFD38 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E2DDC 002DFD3C 38 05 9C 70 */ addi r0, r5, lbl_803D9C70@l +/* 802E2DE0 002DFD40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E2DE4 002DFD44 7C 9F 23 78 */ mr r31, r4 +/* 802E2DE8 002DFD48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E2DEC 002DFD4C 7C 7E 1B 78 */ mr r30, r3 +/* 802E2DF0 002DFD50 3C 60 80 3F */ lis r3, lbl_803ECDD8@ha +/* 802E2DF4 002DFD54 90 1E 00 00 */ stw r0, 0(r30) +/* 802E2DF8 002DFD58 38 03 CD D8 */ addi r0, r3, lbl_803ECDD8@l +/* 802E2DFC 002DFD5C 38 61 00 08 */ addi r3, r1, 8 +/* 802E2E00 002DFD60 90 1E 00 00 */ stw r0, 0(r30) +/* 802E2E04 002DFD64 48 06 60 11 */ bl __ct__13CCharAnimTimeFR12CInputStream +/* 802E2E08 002DFD68 C0 01 00 08 */ lfs f0, 8(r1) +/* 802E2E0C 002DFD6C 7F E3 FB 78 */ mr r3, r31 +/* 802E2E10 002DFD70 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802E2E14 002DFD74 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E2E18 002DFD78 90 1E 00 08 */ stw r0, 8(r30) +/* 802E2E1C 002DFD7C 48 05 BE C1 */ bl ReadBool__12CInputStreamFv +/* 802E2E20 002DFD80 98 7E 00 0C */ stb r3, 0xc(r30) +/* 802E2E24 002DFD84 7F E3 FB 78 */ mr r3, r31 +/* 802E2E28 002DFD88 48 05 BE B5 */ bl ReadBool__12CInputStreamFv +/* 802E2E2C 002DFD8C 98 7E 00 0D */ stb r3, 0xd(r30) +/* 802E2E30 002DFD90 7F E3 FB 78 */ mr r3, r31 +/* 802E2E34 002DFD94 48 05 BE 51 */ bl ReadLong__12CInputStreamFv +/* 802E2E38 002DFD98 90 7E 00 10 */ stw r3, 0x10(r30) +/* 802E2E3C 002DFD9C 7F C3 F3 78 */ mr r3, r30 +/* 802E2E40 002DFDA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E2E44 002DFDA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E2E48 002DFDA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E2E4C 002DFDAC 7C 08 03 A6 */ mtlr r0 +/* 802E2E50 002DFDB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E2E54 002DFDB4 4E 80 00 20 */ blr + +.global GetAnimParmValue__12CPASAnimInfoCFUi +GetAnimParmValue__12CPASAnimInfoCFUi: +/* 802E2E58 002DFDB8 54 80 10 3A */ slwi r0, r4, 2 +/* 802E2E5C 002DFDBC 7C 63 02 14 */ add r3, r3, r0 +/* 802E2E60 002DFDC0 38 63 00 08 */ addi r3, r3, 8 +/* 802E2E64 002DFDC4 4E 80 00 20 */ blr + +.global GetAnimParmData__12CPASAnimInfoCFUiQ212CPASAnimParm9EParmType +GetAnimParmData__12CPASAnimInfoCFUiQ212CPASAnimParm9EParmType: +/* 802E2E68 002DFDC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2E6C 002DFDCC 7C 08 02 A6 */ mflr r0 +/* 802E2E70 002DFDD0 2C 06 00 02 */ cmpwi r6, 2 +/* 802E2E74 002DFDD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E2E78 002DFDD8 54 A0 10 3A */ slwi r0, r5, 2 +/* 802E2E7C 002DFDDC 7C 84 02 14 */ add r4, r4, r0 +/* 802E2E80 002DFDE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E2E84 002DFDE4 7C 7F 1B 78 */ mr r31, r3 +/* 802E2E88 002DFDE8 41 82 00 40 */ beq lbl_802E2EC8 +/* 802E2E8C 002DFDEC 40 80 00 14 */ bge lbl_802E2EA0 +/* 802E2E90 002DFDF0 2C 06 00 00 */ cmpwi r6, 0 +/* 802E2E94 002DFDF4 41 82 00 1C */ beq lbl_802E2EB0 +/* 802E2E98 002DFDF8 40 80 00 24 */ bge lbl_802E2EBC +/* 802E2E9C 002DFDFC 48 00 00 50 */ b lbl_802E2EEC +lbl_802E2EA0: +/* 802E2EA0 002DFE00 2C 06 00 04 */ cmpwi r6, 4 +/* 802E2EA4 002DFE04 41 82 00 3C */ beq lbl_802E2EE0 +/* 802E2EA8 002DFE08 40 80 00 44 */ bge lbl_802E2EEC +/* 802E2EAC 002DFE0C 48 00 00 28 */ b lbl_802E2ED4 +lbl_802E2EB0: +/* 802E2EB0 002DFE10 80 84 00 08 */ lwz r4, 8(r4) +/* 802E2EB4 002DFE14 48 00 01 99 */ bl FromInt32__12CPASAnimParmFi +/* 802E2EB8 002DFE18 48 00 00 3C */ b lbl_802E2EF4 +lbl_802E2EBC: +/* 802E2EBC 002DFE1C 80 84 00 08 */ lwz r4, 8(r4) +/* 802E2EC0 002DFE20 48 00 01 5D */ bl FromUint32__12CPASAnimParmFUi +/* 802E2EC4 002DFE24 48 00 00 30 */ b lbl_802E2EF4 +lbl_802E2EC8: +/* 802E2EC8 002DFE28 C0 24 00 08 */ lfs f1, 8(r4) +/* 802E2ECC 002DFE2C 48 00 01 1D */ bl FromReal32__12CPASAnimParmFf +/* 802E2ED0 002DFE30 48 00 00 24 */ b lbl_802E2EF4 +lbl_802E2ED4: +/* 802E2ED4 002DFE34 88 84 00 08 */ lbz r4, 8(r4) +/* 802E2ED8 002DFE38 48 00 00 DD */ bl FromBool__12CPASAnimParmFb +/* 802E2EDC 002DFE3C 48 00 00 18 */ b lbl_802E2EF4 +lbl_802E2EE0: +/* 802E2EE0 002DFE40 80 84 00 08 */ lwz r4, 8(r4) +/* 802E2EE4 002DFE44 48 00 00 A1 */ bl FromEnum__12CPASAnimParmFi +/* 802E2EE8 002DFE48 48 00 00 0C */ b lbl_802E2EF4 +lbl_802E2EEC: +/* 802E2EEC 002DFE4C 7F E3 FB 78 */ mr r3, r31 +/* 802E2EF0 002DFE50 48 00 01 8D */ bl NoParameter__12CPASAnimParmFv +lbl_802E2EF4: +/* 802E2EF4 002DFE54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E2EF8 002DFE58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E2EFC 002DFE5C 7C 08 03 A6 */ mtlr r0 +/* 802E2F00 002DFE60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2F04 002DFE64 4E 80 00 20 */ blr + +.global "__ct__12CPASAnimInfoFiRCQ24rstl47reserved_vector" +"__ct__12CPASAnimInfoFiRCQ24rstl47reserved_vector": +/* 802E2F08 002DFE68 90 83 00 00 */ stw r4, 0(r3) +/* 802E2F0C 002DFE6C 38 C5 00 04 */ addi r6, r5, 4 +/* 802E2F10 002DFE70 38 83 00 08 */ addi r4, r3, 8 +/* 802E2F14 002DFE74 80 05 00 00 */ lwz r0, 0(r5) +/* 802E2F18 002DFE78 90 03 00 04 */ stw r0, 4(r3) +/* 802E2F1C 002DFE7C 80 03 00 04 */ lwz r0, 4(r3) +/* 802E2F20 002DFE80 7C 09 03 A6 */ mtctr r0 +/* 802E2F24 002DFE84 2C 00 00 00 */ cmpwi r0, 0 +/* 802E2F28 002DFE88 4C 81 00 20 */ blelr +lbl_802E2F2C: +/* 802E2F2C 002DFE8C 28 04 00 00 */ cmplwi r4, 0 +/* 802E2F30 002DFE90 41 82 00 0C */ beq lbl_802E2F3C +/* 802E2F34 002DFE94 80 06 00 00 */ lwz r0, 0(r6) +/* 802E2F38 002DFE98 90 04 00 00 */ stw r0, 0(r4) +lbl_802E2F3C: +/* 802E2F3C 002DFE9C 38 84 00 04 */ addi r4, r4, 4 +/* 802E2F40 002DFEA0 38 C6 00 04 */ addi r6, r6, 4 +/* 802E2F44 002DFEA4 42 00 FF E8 */ bdnz lbl_802E2F2C + +.global sub_802e2f48 +sub_802e2f48: +/* 802E2F48 002DFEA8 4E 80 00 20 */ blr + +.global __ct__12CPASAnimInfoFi +__ct__12CPASAnimInfoFi: +/* 802E2F4C 002DFEAC 90 83 00 00 */ stw r4, 0(r3) +/* 802E2F50 002DFEB0 38 00 00 00 */ li r0, 0 +/* 802E2F54 002DFEB4 90 03 00 04 */ stw r0, 4(r3) +/* 802E2F58 002DFEB8 4E 80 00 20 */ blr + +.global GetEnumValue__12CPASAnimParmCFv +GetEnumValue__12CPASAnimParmCFv: +/* 802E2F5C 002DFEBC 80 63 00 00 */ lwz r3, 0(r3) +/* 802E2F60 002DFEC0 4E 80 00 20 */ blr + +.global GetBoolValue__12CPASAnimParmCFv +GetBoolValue__12CPASAnimParmCFv: +/* 802E2F64 002DFEC4 88 63 00 00 */ lbz r3, 0(r3) +/* 802E2F68 002DFEC8 4E 80 00 20 */ blr + +.global GetReal32Value__12CPASAnimParmCFv +GetReal32Value__12CPASAnimParmCFv: +/* 802E2F6C 002DFECC C0 23 00 00 */ lfs f1, 0(r3) +/* 802E2F70 002DFED0 4E 80 00 20 */ blr + +.global GetUint32Value__12CPASAnimParmCFv +GetUint32Value__12CPASAnimParmCFv: +/* 802E2F74 002DFED4 80 63 00 00 */ lwz r3, 0(r3) +/* 802E2F78 002DFED8 4E 80 00 20 */ blr + +.global GetInt32Value__12CPASAnimParmCFv +GetInt32Value__12CPASAnimParmCFv: +/* 802E2F7C 002DFEDC 80 63 00 00 */ lwz r3, 0(r3) +/* 802E2F80 002DFEE0 4E 80 00 20 */ blr + +.global FromEnum__12CPASAnimParmFi +FromEnum__12CPASAnimParmFi: +/* 802E2F84 002DFEE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2F88 002DFEE8 7C 08 02 A6 */ mflr r0 +/* 802E2F8C 002DFEEC 38 A0 00 04 */ li r5, 4 +/* 802E2F90 002DFEF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E2F94 002DFEF4 90 81 00 0C */ stw r4, 0xc(r1) +/* 802E2F98 002DFEF8 90 81 00 08 */ stw r4, 8(r1) +/* 802E2F9C 002DFEFC 38 81 00 08 */ addi r4, r1, 8 +/* 802E2FA0 002DFF00 48 00 01 11 */ bl __ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType +/* 802E2FA4 002DFF04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E2FA8 002DFF08 7C 08 03 A6 */ mtlr r0 +/* 802E2FAC 002DFF0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2FB0 002DFF10 4E 80 00 20 */ blr + +.global FromBool__12CPASAnimParmFb +FromBool__12CPASAnimParmFb: +/* 802E2FB4 002DFF14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2FB8 002DFF18 7C 08 02 A6 */ mflr r0 +/* 802E2FBC 002DFF1C 38 A0 00 03 */ li r5, 3 +/* 802E2FC0 002DFF20 98 81 00 0C */ stb r4, 0xc(r1) +/* 802E2FC4 002DFF24 38 81 00 08 */ addi r4, r1, 8 +/* 802E2FC8 002DFF28 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E2FCC 002DFF2C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E2FD0 002DFF30 90 01 00 08 */ stw r0, 8(r1) +/* 802E2FD4 002DFF34 48 00 00 DD */ bl __ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType +/* 802E2FD8 002DFF38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E2FDC 002DFF3C 7C 08 03 A6 */ mtlr r0 +/* 802E2FE0 002DFF40 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E2FE4 002DFF44 4E 80 00 20 */ blr + +.global FromReal32__12CPASAnimParmFf +FromReal32__12CPASAnimParmFf: +/* 802E2FE8 002DFF48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E2FEC 002DFF4C 7C 08 02 A6 */ mflr r0 +/* 802E2FF0 002DFF50 38 A0 00 02 */ li r5, 2 +/* 802E2FF4 002DFF54 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802E2FF8 002DFF58 38 81 00 08 */ addi r4, r1, 8 +/* 802E2FFC 002DFF5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E3000 002DFF60 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802E3004 002DFF64 90 01 00 08 */ stw r0, 8(r1) +/* 802E3008 002DFF68 48 00 00 A9 */ bl __ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType +/* 802E300C 002DFF6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E3010 002DFF70 7C 08 03 A6 */ mtlr r0 +/* 802E3014 002DFF74 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E3018 002DFF78 4E 80 00 20 */ blr + +.global FromUint32__12CPASAnimParmFUi +FromUint32__12CPASAnimParmFUi: +/* 802E301C 002DFF7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E3020 002DFF80 7C 08 02 A6 */ mflr r0 +/* 802E3024 002DFF84 38 A0 00 01 */ li r5, 1 +/* 802E3028 002DFF88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E302C 002DFF8C 90 81 00 0C */ stw r4, 0xc(r1) +/* 802E3030 002DFF90 90 81 00 08 */ stw r4, 8(r1) +/* 802E3034 002DFF94 38 81 00 08 */ addi r4, r1, 8 +/* 802E3038 002DFF98 48 00 00 79 */ bl __ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType +/* 802E303C 002DFF9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E3040 002DFFA0 7C 08 03 A6 */ mtlr r0 +/* 802E3044 002DFFA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E3048 002DFFA8 4E 80 00 20 */ blr + +.global FromInt32__12CPASAnimParmFi +FromInt32__12CPASAnimParmFi: +/* 802E304C 002DFFAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E3050 002DFFB0 7C 08 02 A6 */ mflr r0 +/* 802E3054 002DFFB4 38 A0 00 00 */ li r5, 0 +/* 802E3058 002DFFB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E305C 002DFFBC 90 81 00 0C */ stw r4, 0xc(r1) +/* 802E3060 002DFFC0 90 81 00 08 */ stw r4, 8(r1) +/* 802E3064 002DFFC4 38 81 00 08 */ addi r4, r1, 8 +/* 802E3068 002DFFC8 48 00 00 49 */ bl __ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType +/* 802E306C 002DFFCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E3070 002DFFD0 7C 08 03 A6 */ mtlr r0 +/* 802E3074 002DFFD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E3078 002DFFD8 4E 80 00 20 */ blr + +.global NoParameter__12CPASAnimParmFv +NoParameter__12CPASAnimParmFv: +/* 802E307C 002DFFDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E3080 002DFFE0 7C 08 02 A6 */ mflr r0 +/* 802E3084 002DFFE4 38 A0 FF FF */ li r5, -1 +/* 802E3088 002DFFE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E308C 002DFFEC 38 00 FF FF */ li r0, -1 +/* 802E3090 002DFFF0 38 81 00 08 */ addi r4, r1, 8 +/* 802E3094 002DFFF4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E3098 002DFFF8 90 01 00 08 */ stw r0, 8(r1) +/* 802E309C 002DFFFC 48 00 00 15 */ bl __ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType +/* 802E30A0 002E0000 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E30A4 002E0004 7C 08 03 A6 */ mtlr r0 +/* 802E30A8 002E0008 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E30AC 002E000C 4E 80 00 20 */ blr + +.global __ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType +__ct__12CPASAnimParmFQ212CPASAnimParm10UParmValueQ212CPASAnimParm9EParmType: +/* 802E30B0 002E0010 80 04 00 00 */ lwz r0, 0(r4) +/* 802E30B4 002E0014 90 03 00 00 */ stw r0, 0(r3) +/* 802E30B8 002E0018 90 A3 00 04 */ stw r5, 4(r3) +/* 802E30BC 002E001C 4E 80 00 20 */ blr + +.global PickRandomAnimation__13CPASAnimStateCFR9CRandom16 +PickRandomAnimation__13CPASAnimStateCFR9CRandom16: +/* 802E30C0 002E0020 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E30C4 002E0024 7C 08 02 A6 */ mflr r0 +/* 802E30C8 002E0028 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E30CC 002E002C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E30D0 002E0030 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E30D4 002E0034 7C 7E 1B 78 */ mr r30, r3 +/* 802E30D8 002E0038 83 E3 00 28 */ lwz r31, 0x28(r3) +/* 802E30DC 002E003C 38 60 FF FF */ li r3, -1 +/* 802E30E0 002E0040 2C 1F 00 01 */ cmpwi r31, 1 +/* 802E30E4 002E0044 41 82 00 14 */ beq lbl_802E30F8 +/* 802E30E8 002E0048 40 80 00 1C */ bge lbl_802E3104 +/* 802E30EC 002E004C 2C 1F 00 00 */ cmpwi r31, 0 +/* 802E30F0 002E0050 40 80 00 64 */ bge lbl_802E3154 +/* 802E30F4 002E0054 48 00 00 10 */ b lbl_802E3104 +lbl_802E30F8: +/* 802E30F8 002E0058 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 802E30FC 002E005C 80 63 00 00 */ lwz r3, 0(r3) +/* 802E3100 002E0060 48 00 00 54 */ b lbl_802E3154 +lbl_802E3104: +/* 802E3104 002E0064 7C 83 23 78 */ mr r3, r4 +/* 802E3108 002E0068 48 02 F3 D5 */ bl Float__9CRandom16Fv +/* 802E310C 002E006C 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 802E3110 002E0070 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3114 002E0074 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E3118 002E0078 C8 42 C5 B8 */ lfd f2, lbl_805AE2D8@sda21(r2) +/* 802E311C 002E007C 90 01 00 08 */ stw r0, 8(r1) +/* 802E3120 002E0080 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 802E3124 002E0084 C8 01 00 08 */ lfd f0, 8(r1) +/* 802E3128 002E0088 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802E312C 002E008C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802E3130 002E0090 FC 00 00 1E */ fctiwz f0, f0 +/* 802E3134 002E0094 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 802E3138 002E0098 80 81 00 14 */ lwz r4, 0x14(r1) +/* 802E313C 002E009C 7C 04 00 00 */ cmpw r4, r0 +/* 802E3140 002E00A0 40 82 00 08 */ bne lbl_802E3148 +/* 802E3144 002E00A4 38 84 FF FF */ addi r4, r4, -1 +lbl_802E3148: +/* 802E3148 002E00A8 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 802E314C 002E00AC 54 80 10 3A */ slwi r0, r4, 2 +/* 802E3150 002E00B0 7C 63 00 2E */ lwzx r3, r3, r0 +lbl_802E3154: +/* 802E3154 002E00B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E3158 002E00B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E315C 002E00BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E3160 002E00C0 7C 08 03 A6 */ mtlr r0 +/* 802E3164 002E00C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E3168 002E00C8 4E 80 00 20 */ blr + +.global ComputeAngularPercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue +ComputeAngularPercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue: +/* 802E316C 002E00CC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802E3170 002E00D0 7C 08 02 A6 */ mflr r0 +/* 802E3174 002E00D4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802E3178 002E00D8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802E317C 002E00DC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802E3180 002E00E0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802E3184 002E00E4 C3 E2 C5 C0 */ lfs f31, lbl_805AE2E0@sda21(r2) +/* 802E3188 002E00E8 7C DF 33 78 */ mr r31, r6 +/* 802E318C 002E00EC 80 05 00 04 */ lwz r0, 4(r5) +/* 802E3190 002E00F0 FC 40 F8 90 */ fmr f2, f31 +/* 802E3194 002E00F4 2C 00 00 02 */ cmpwi r0, 2 +/* 802E3198 002E00F8 41 82 01 0C */ beq lbl_802E32A4 +/* 802E319C 002E00FC 40 80 00 14 */ bge lbl_802E31B0 +/* 802E31A0 002E0100 2C 00 00 00 */ cmpwi r0, 0 +/* 802E31A4 002E0104 41 82 00 1C */ beq lbl_802E31C0 +/* 802E31A8 002E0108 40 80 00 8C */ bge lbl_802E3234 +/* 802E31AC 002E010C 48 00 01 DC */ b lbl_802E3388 +lbl_802E31B0: +/* 802E31B0 002E0110 2C 00 00 04 */ cmpwi r0, 4 +/* 802E31B4 002E0114 41 82 01 60 */ beq lbl_802E3314 +/* 802E31B8 002E0118 40 80 01 D0 */ bge lbl_802E3388 +/* 802E31BC 002E011C 48 00 01 2C */ b lbl_802E32E8 +lbl_802E31C0: +/* 802E31C0 002E0120 1C 84 00 14 */ mulli r4, r4, 0x14 +/* 802E31C4 002E0124 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 802E31C8 002E0128 3C 00 43 30 */ lis r0, 0x4330 +/* 802E31CC 002E012C C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E31D0 002E0130 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E31D4 002E0134 7C A3 2B 78 */ mr r3, r5 +/* 802E31D8 002E0138 7C 86 22 14 */ add r4, r6, r4 +/* 802E31DC 002E013C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802E31E0 002E0140 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802E31E4 002E0144 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E31E8 002E0148 7C 00 20 50 */ subf r0, r0, r4 +/* 802E31EC 002E014C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E31F0 002E0150 90 81 00 28 */ stw r4, 0x28(r1) +/* 802E31F4 002E0154 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E31F8 002E0158 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E31FC 002E015C EF E0 08 28 */ fsubs f31, f0, f1 +/* 802E3200 002E0160 4B FF FD 7D */ bl GetInt32Value__12CPASAnimParmCFv +/* 802E3204 002E0164 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E3208 002E0168 3C 00 43 30 */ lis r0, 0x4330 +/* 802E320C 002E016C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802E3210 002E0170 7C 04 18 50 */ subf r0, r4, r3 +/* 802E3214 002E0174 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E3218 002E0178 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E321C 002E017C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802E3220 002E0180 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802E3224 002E0184 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802E3228 002E0188 FC 00 02 10 */ fabs f0, f0 +/* 802E322C 002E018C FC 40 00 18 */ frsp f2, f0 +/* 802E3230 002E0190 48 00 01 58 */ b lbl_802E3388 +lbl_802E3234: +/* 802E3234 002E0194 1C 84 00 14 */ mulli r4, r4, 0x14 +/* 802E3238 002E0198 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 802E323C 002E019C 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3240 002E01A0 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) +/* 802E3244 002E01A4 90 01 00 38 */ stw r0, 0x38(r1) +/* 802E3248 002E01A8 7C A3 2B 78 */ mr r3, r5 +/* 802E324C 002E01AC 7C 86 22 14 */ add r4, r6, r4 +/* 802E3250 002E01B0 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802E3254 002E01B4 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802E3258 002E01B8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E325C 002E01BC 7C 00 20 50 */ subf r0, r0, r4 +/* 802E3260 002E01C0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802E3264 002E01C4 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802E3268 002E01C8 90 81 00 20 */ stw r4, 0x20(r1) +/* 802E326C 002E01CC EF E0 08 28 */ fsubs f31, f0, f1 +/* 802E3270 002E01D0 4B FF FD 05 */ bl GetUint32Value__12CPASAnimParmCFv +/* 802E3274 002E01D4 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E3278 002E01D8 7C 03 00 40 */ cmplw r3, r0 +/* 802E327C 002E01DC 7C 83 00 50 */ subf r4, r3, r0 +/* 802E3280 002E01E0 40 81 00 08 */ ble lbl_802E3288 +/* 802E3284 002E01E4 7C 80 18 50 */ subf r4, r0, r3 +lbl_802E3288: +/* 802E3288 002E01E8 3C 00 43 30 */ lis r0, 0x4330 +/* 802E328C 002E01EC 90 81 00 34 */ stw r4, 0x34(r1) +/* 802E3290 002E01F0 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) +/* 802E3294 002E01F4 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E3298 002E01F8 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E329C 002E01FC EC 40 08 28 */ fsubs f2, f0, f1 +/* 802E32A0 002E0200 48 00 00 E8 */ b lbl_802E3388 +lbl_802E32A4: +/* 802E32A4 002E0204 1C 04 00 14 */ mulli r0, r4, 0x14 +/* 802E32A8 002E0208 80 83 00 10 */ lwz r4, 0x10(r3) +/* 802E32AC 002E020C 7C A3 2B 78 */ mr r3, r5 +/* 802E32B0 002E0210 7C A4 02 14 */ add r5, r4, r0 +/* 802E32B4 002E0214 80 85 00 0C */ lwz r4, 0xc(r5) +/* 802E32B8 002E0218 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802E32BC 002E021C 90 81 00 14 */ stw r4, 0x14(r1) +/* 802E32C0 002E0220 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E32C4 002E0224 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802E32C8 002E0228 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802E32CC 002E022C EF E1 00 28 */ fsubs f31, f1, f0 +/* 802E32D0 002E0230 4B FF FC 9D */ bl GetReal32Value__12CPASAnimParmCFv +/* 802E32D4 002E0234 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802E32D8 002E0238 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802E32DC 002E023C FC 00 02 10 */ fabs f0, f0 +/* 802E32E0 002E0240 FC 40 00 18 */ frsp f2, f0 +/* 802E32E4 002E0244 48 00 00 A4 */ b lbl_802E3388 +lbl_802E32E8: +/* 802E32E8 002E0248 7C A3 2B 78 */ mr r3, r5 +/* 802E32EC 002E024C 4B FF FC 79 */ bl GetBoolValue__12CPASAnimParmCFv +/* 802E32F0 002E0250 88 1F 00 00 */ lbz r0, 0(r31) +/* 802E32F4 002E0254 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802E32F8 002E0258 7C 00 18 40 */ cmplw r0, r3 +/* 802E32FC 002E025C 40 82 00 0C */ bne lbl_802E3308 +/* 802E3300 002E0260 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) +/* 802E3304 002E0264 48 00 00 08 */ b lbl_802E330C +lbl_802E3308: +/* 802E3308 002E0268 C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) +lbl_802E330C: +/* 802E330C 002E026C FC 40 00 90 */ fmr f2, f0 +/* 802E3310 002E0270 48 00 00 78 */ b lbl_802E3388 +lbl_802E3314: +/* 802E3314 002E0274 1C 84 00 14 */ mulli r4, r4, 0x14 +/* 802E3318 002E0278 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 802E331C 002E027C 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3320 002E0280 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E3324 002E0284 90 01 00 38 */ stw r0, 0x38(r1) +/* 802E3328 002E0288 7C A3 2B 78 */ mr r3, r5 +/* 802E332C 002E028C 7C 86 22 14 */ add r4, r6, r4 +/* 802E3330 002E0290 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802E3334 002E0294 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802E3338 002E0298 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E333C 002E029C 7C 80 28 50 */ subf r4, r0, r5 +/* 802E3340 002E02A0 38 04 00 01 */ addi r0, r4, 1 +/* 802E3344 002E02A4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802E3348 002E02A8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E334C 002E02AC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802E3350 002E02B0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802E3354 002E02B4 EF E0 08 28 */ fsubs f31, f0, f1 +/* 802E3358 002E02B8 4B FF FC 05 */ bl GetEnumValue__12CPASAnimParmCFv +/* 802E335C 002E02BC 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E3360 002E02C0 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3364 002E02C4 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E3368 002E02C8 7C 04 18 50 */ subf r0, r4, r3 +/* 802E336C 002E02CC C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E3370 002E02D0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E3374 002E02D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E3378 002E02D8 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E337C 002E02DC EC 00 08 28 */ fsubs f0, f0, f1 +/* 802E3380 002E02E0 FC 00 02 10 */ fabs f0, f0 +/* 802E3384 002E02E4 FC 40 00 18 */ frsp f2, f0 +lbl_802E3388: +/* 802E3388 002E02E8 C0 02 C5 C8 */ lfs f0, lbl_805AE2E8@sda21(r2) +/* 802E338C 002E02EC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802E3390 002E02F0 40 81 00 64 */ ble lbl_802E33F4 +/* 802E3394 002E02F4 C0 02 C5 CC */ lfs f0, lbl_805AE2EC@sda21(r2) +/* 802E3398 002E02F8 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 802E339C 002E02FC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802E33A0 002E0300 40 81 00 0C */ ble lbl_802E33AC +/* 802E33A4 002E0304 EC 1F 10 28 */ fsubs f0, f31, f2 +/* 802E33A8 002E0308 48 00 00 08 */ b lbl_802E33B0 +lbl_802E33AC: +/* 802E33AC 002E030C FC 00 10 90 */ fmr f0, f2 +lbl_802E33B0: +/* 802E33B0 002E0310 EC 20 08 24 */ fdivs f1, f0, f1 +/* 802E33B4 002E0314 C0 42 C5 C4 */ lfs f2, lbl_805AE2E4@sda21(r2) +/* 802E33B8 002E0318 C0 0D 9B 78 */ lfs f0, lbl_805A8738@sda21(r13) +/* 802E33BC 002E031C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802E33C0 002E0320 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802E33C4 002E0324 D0 21 00 08 */ stfs f1, 8(r1) +/* 802E33C8 002E0328 40 80 00 0C */ bge lbl_802E33D4 +/* 802E33CC 002E032C 38 6D 9B 78 */ addi r3, r13, lbl_805A8738@sda21 +/* 802E33D0 002E0330 48 00 00 08 */ b lbl_802E33D8 +lbl_802E33D4: +/* 802E33D4 002E0334 38 61 00 08 */ addi r3, r1, 8 +lbl_802E33D8: +/* 802E33D8 002E0338 C0 2D 9B 7C */ lfs f1, lbl_805A873C@sda21(r13) +/* 802E33DC 002E033C C0 03 00 00 */ lfs f0, 0(r3) +/* 802E33E0 002E0340 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802E33E4 002E0344 40 80 00 08 */ bge lbl_802E33EC +/* 802E33E8 002E0348 38 6D 9B 7C */ addi r3, r13, lbl_805A873C@sda21 +lbl_802E33EC: +/* 802E33EC 002E034C C0 23 00 00 */ lfs f1, 0(r3) +/* 802E33F0 002E0350 48 00 00 18 */ b lbl_802E3408 +lbl_802E33F4: +/* 802E33F4 002E0354 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802E33F8 002E0358 40 80 00 0C */ bge lbl_802E3404 +/* 802E33FC 002E035C C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) +/* 802E3400 002E0360 48 00 00 08 */ b lbl_802E3408 +lbl_802E3404: +/* 802E3404 002E0364 C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) +lbl_802E3408: +/* 802E3408 002E0368 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802E340C 002E036C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802E3410 002E0370 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802E3414 002E0374 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802E3418 002E0378 7C 08 03 A6 */ mtlr r0 +/* 802E341C 002E037C 38 21 00 60 */ addi r1, r1, 0x60 +/* 802E3420 002E0380 4E 80 00 20 */ blr + +.global ComputePercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue +ComputePercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue: +/* 802E3424 002E0384 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802E3428 002E0388 7C 08 02 A6 */ mflr r0 +/* 802E342C 002E038C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802E3430 002E0390 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802E3434 002E0394 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802E3438 002E0398 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E343C 002E039C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802E3440 002E03A0 7C BE 2B 78 */ mr r30, r5 +/* 802E3444 002E03A4 C3 E2 C5 C0 */ lfs f31, lbl_805AE2E0@sda21(r2) +/* 802E3448 002E03A8 80 05 00 04 */ lwz r0, 4(r5) +/* 802E344C 002E03AC 7C DF 33 78 */ mr r31, r6 +/* 802E3450 002E03B0 FC 20 F8 90 */ fmr f1, f31 +/* 802E3454 002E03B4 2C 00 00 02 */ cmpwi r0, 2 +/* 802E3458 002E03B8 41 82 01 40 */ beq lbl_802E3598 +/* 802E345C 002E03BC 40 80 00 14 */ bge lbl_802E3470 +/* 802E3460 002E03C0 2C 00 00 00 */ cmpwi r0, 0 +/* 802E3464 002E03C4 41 82 00 1C */ beq lbl_802E3480 +/* 802E3468 002E03C8 40 80 00 8C */ bge lbl_802E34F4 +/* 802E346C 002E03CC 48 00 02 0C */ b lbl_802E3678 +lbl_802E3470: +/* 802E3470 002E03D0 2C 00 00 04 */ cmpwi r0, 4 +/* 802E3474 002E03D4 41 82 01 94 */ beq lbl_802E3608 +/* 802E3478 002E03D8 40 80 02 00 */ bge lbl_802E3678 +/* 802E347C 002E03DC 48 00 01 60 */ b lbl_802E35DC +lbl_802E3480: +/* 802E3480 002E03E0 1C 84 00 14 */ mulli r4, r4, 0x14 +/* 802E3484 002E03E4 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802E3488 002E03E8 3C 00 43 30 */ lis r0, 0x4330 +/* 802E348C 002E03EC C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E3490 002E03F0 90 01 00 28 */ stw r0, 0x28(r1) +/* 802E3494 002E03F4 7F C3 F3 78 */ mr r3, r30 +/* 802E3498 002E03F8 7C 85 22 14 */ add r4, r5, r4 +/* 802E349C 002E03FC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802E34A0 002E0400 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802E34A4 002E0404 90 01 00 20 */ stw r0, 0x20(r1) +/* 802E34A8 002E0408 7C 00 20 50 */ subf r0, r0, r4 +/* 802E34AC 002E040C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E34B0 002E0410 90 81 00 24 */ stw r4, 0x24(r1) +/* 802E34B4 002E0414 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802E34B8 002E0418 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802E34BC 002E041C EF E0 08 28 */ fsubs f31, f0, f1 +/* 802E34C0 002E0420 4B FF FA BD */ bl GetInt32Value__12CPASAnimParmCFv +/* 802E34C4 002E0424 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E34C8 002E0428 3C 00 43 30 */ lis r0, 0x4330 +/* 802E34CC 002E042C 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E34D0 002E0430 7C 04 18 50 */ subf r0, r4, r3 +/* 802E34D4 002E0434 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E34D8 002E0438 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E34DC 002E043C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E34E0 002E0440 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E34E4 002E0444 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802E34E8 002E0448 FC 00 02 10 */ fabs f0, f0 +/* 802E34EC 002E044C FC 20 00 18 */ frsp f1, f0 +/* 802E34F0 002E0450 48 00 01 88 */ b lbl_802E3678 +lbl_802E34F4: +/* 802E34F4 002E0454 1C 84 00 14 */ mulli r4, r4, 0x14 +/* 802E34F8 002E0458 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802E34FC 002E045C 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3500 002E0460 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) +/* 802E3504 002E0464 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E3508 002E0468 7F C3 F3 78 */ mr r3, r30 +/* 802E350C 002E046C 7C 85 22 14 */ add r4, r5, r4 +/* 802E3510 002E0470 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802E3514 002E0474 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802E3518 002E0478 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E351C 002E047C 7C 00 20 50 */ subf r0, r0, r4 +/* 802E3520 002E0480 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E3524 002E0484 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E3528 002E0488 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802E352C 002E048C EF E0 08 28 */ fsubs f31, f0, f1 +/* 802E3530 002E0490 4B FF FA 45 */ bl GetUint32Value__12CPASAnimParmCFv +/* 802E3534 002E0494 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E3538 002E0498 7C 03 00 40 */ cmplw r3, r0 +/* 802E353C 002E049C 40 81 00 30 */ ble lbl_802E356C +/* 802E3540 002E04A0 7F C3 F3 78 */ mr r3, r30 +/* 802E3544 002E04A4 4B FF FA 31 */ bl GetUint32Value__12CPASAnimParmCFv +/* 802E3548 002E04A8 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E354C 002E04AC 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3550 002E04B0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E3554 002E04B4 7C 04 18 50 */ subf r0, r4, r3 +/* 802E3558 002E04B8 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) +/* 802E355C 002E04BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E3560 002E04C0 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E3564 002E04C4 EC 20 08 28 */ fsubs f1, f0, f1 +/* 802E3568 002E04C8 48 00 01 10 */ b lbl_802E3678 +lbl_802E356C: +/* 802E356C 002E04CC 7F C3 F3 78 */ mr r3, r30 +/* 802E3570 002E04D0 4B FF FA 05 */ bl GetUint32Value__12CPASAnimParmCFv +/* 802E3574 002E04D4 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E3578 002E04D8 3C 00 43 30 */ lis r0, 0x4330 +/* 802E357C 002E04DC 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E3580 002E04E0 7C 03 20 50 */ subf r0, r3, r4 +/* 802E3584 002E04E4 C8 22 C5 D0 */ lfd f1, lbl_805AE2F0@sda21(r2) +/* 802E3588 002E04E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E358C 002E04EC C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E3590 002E04F0 EC 20 08 28 */ fsubs f1, f0, f1 +/* 802E3594 002E04F4 48 00 00 E4 */ b lbl_802E3678 +lbl_802E3598: +/* 802E3598 002E04F8 1C 04 00 14 */ mulli r0, r4, 0x14 +/* 802E359C 002E04FC 80 83 00 10 */ lwz r4, 0x10(r3) +/* 802E35A0 002E0500 7F C3 F3 78 */ mr r3, r30 +/* 802E35A4 002E0504 7C A4 02 14 */ add r5, r4, r0 +/* 802E35A8 002E0508 80 85 00 0C */ lwz r4, 0xc(r5) +/* 802E35AC 002E050C 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802E35B0 002E0510 90 81 00 10 */ stw r4, 0x10(r1) +/* 802E35B4 002E0514 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E35B8 002E0518 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802E35BC 002E051C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802E35C0 002E0520 EF E1 00 28 */ fsubs f31, f1, f0 +/* 802E35C4 002E0524 4B FF F9 A9 */ bl GetReal32Value__12CPASAnimParmCFv +/* 802E35C8 002E0528 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802E35CC 002E052C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802E35D0 002E0530 FC 00 02 10 */ fabs f0, f0 +/* 802E35D4 002E0534 FC 20 00 18 */ frsp f1, f0 +/* 802E35D8 002E0538 48 00 00 A0 */ b lbl_802E3678 +lbl_802E35DC: +/* 802E35DC 002E053C 7F C3 F3 78 */ mr r3, r30 +/* 802E35E0 002E0540 4B FF F9 85 */ bl GetBoolValue__12CPASAnimParmCFv +/* 802E35E4 002E0544 88 1F 00 00 */ lbz r0, 0(r31) +/* 802E35E8 002E0548 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802E35EC 002E054C 7C 00 18 40 */ cmplw r0, r3 +/* 802E35F0 002E0550 40 82 00 0C */ bne lbl_802E35FC +/* 802E35F4 002E0554 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) +/* 802E35F8 002E0558 48 00 00 08 */ b lbl_802E3600 +lbl_802E35FC: +/* 802E35FC 002E055C C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) +lbl_802E3600: +/* 802E3600 002E0560 FC 20 00 90 */ fmr f1, f0 +/* 802E3604 002E0564 48 00 00 74 */ b lbl_802E3678 +lbl_802E3608: +/* 802E3608 002E0568 1C 84 00 14 */ mulli r4, r4, 0x14 +/* 802E360C 002E056C 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802E3610 002E0570 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3614 002E0574 C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E3618 002E0578 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E361C 002E057C 7F C3 F3 78 */ mr r3, r30 +/* 802E3620 002E0580 7C 85 22 14 */ add r4, r5, r4 +/* 802E3624 002E0584 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802E3628 002E0588 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802E362C 002E058C 90 01 00 08 */ stw r0, 8(r1) +/* 802E3630 002E0590 7C 00 20 50 */ subf r0, r0, r4 +/* 802E3634 002E0594 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E3638 002E0598 90 81 00 0C */ stw r4, 0xc(r1) +/* 802E363C 002E059C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E3640 002E05A0 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802E3644 002E05A4 EF E0 08 28 */ fsubs f31, f0, f1 +/* 802E3648 002E05A8 4B FF F9 15 */ bl GetEnumValue__12CPASAnimParmCFv +/* 802E364C 002E05AC 80 9F 00 00 */ lwz r4, 0(r31) +/* 802E3650 002E05B0 3C 00 43 30 */ lis r0, 0x4330 +/* 802E3654 002E05B4 90 01 00 28 */ stw r0, 0x28(r1) +/* 802E3658 002E05B8 7C 04 18 50 */ subf r0, r4, r3 +/* 802E365C 002E05BC C8 22 C5 B8 */ lfd f1, lbl_805AE2D8@sda21(r2) +/* 802E3660 002E05C0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802E3664 002E05C4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802E3668 002E05C8 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802E366C 002E05CC EC 00 08 28 */ fsubs f0, f0, f1 +/* 802E3670 002E05D0 FC 00 02 10 */ fabs f0, f0 +/* 802E3674 002E05D4 FC 20 00 18 */ frsp f1, f0 +lbl_802E3678: +/* 802E3678 002E05D8 C0 02 C5 C8 */ lfs f0, lbl_805AE2E8@sda21(r2) +/* 802E367C 002E05DC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802E3680 002E05E0 40 81 00 14 */ ble lbl_802E3694 +/* 802E3684 002E05E4 EC 01 F8 24 */ fdivs f0, f1, f31 +/* 802E3688 002E05E8 C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) +/* 802E368C 002E05EC EC 21 00 28 */ fsubs f1, f1, f0 +/* 802E3690 002E05F0 48 00 00 18 */ b lbl_802E36A8 +lbl_802E3694: +/* 802E3694 002E05F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802E3698 002E05F8 40 80 00 0C */ bge lbl_802E36A4 +/* 802E369C 002E05FC C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) +/* 802E36A0 002E0600 48 00 00 08 */ b lbl_802E36A8 +lbl_802E36A4: +/* 802E36A4 002E0604 C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) +lbl_802E36A8: +/* 802E36A8 002E0608 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802E36AC 002E060C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802E36B0 002E0610 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802E36B4 002E0614 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E36B8 002E0618 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802E36BC 002E061C 7C 08 03 A6 */ mtlr r0 +/* 802E36C0 002E0620 38 21 00 50 */ addi r1, r1, 0x50 +/* 802E36C4 002E0624 4E 80 00 20 */ blr + +.global ComputeExactMatchWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue +ComputeExactMatchWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue: +/* 802E36C8 002E0628 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E36CC 002E062C 7C 08 02 A6 */ mflr r0 +/* 802E36D0 002E0630 C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) +/* 802E36D4 002E0634 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E36D8 002E0638 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E36DC 002E063C 7C DF 33 78 */ mr r31, r6 +/* 802E36E0 002E0640 80 05 00 04 */ lwz r0, 4(r5) +/* 802E36E4 002E0644 2C 00 00 02 */ cmpwi r0, 2 +/* 802E36E8 002E0648 41 82 00 78 */ beq lbl_802E3760 +/* 802E36EC 002E064C 40 80 00 14 */ bge lbl_802E3700 +/* 802E36F0 002E0650 2C 00 00 00 */ cmpwi r0, 0 +/* 802E36F4 002E0654 41 82 00 1C */ beq lbl_802E3710 +/* 802E36F8 002E0658 40 80 00 40 */ bge lbl_802E3738 +/* 802E36FC 002E065C 48 00 00 E8 */ b lbl_802E37E4 +lbl_802E3700: +/* 802E3700 002E0660 2C 00 00 04 */ cmpwi r0, 4 +/* 802E3704 002E0664 41 82 00 BC */ beq lbl_802E37C0 +/* 802E3708 002E0668 40 80 00 DC */ bge lbl_802E37E4 +/* 802E370C 002E066C 48 00 00 88 */ b lbl_802E3794 +lbl_802E3710: +/* 802E3710 002E0670 7C A3 2B 78 */ mr r3, r5 +/* 802E3714 002E0674 4B FF F8 69 */ bl GetInt32Value__12CPASAnimParmCFv +/* 802E3718 002E0678 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E371C 002E067C 7C 00 18 00 */ cmpw r0, r3 +/* 802E3720 002E0680 40 82 00 0C */ bne lbl_802E372C +/* 802E3724 002E0684 C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) +/* 802E3728 002E0688 48 00 00 08 */ b lbl_802E3730 +lbl_802E372C: +/* 802E372C 002E068C C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) +lbl_802E3730: +/* 802E3730 002E0690 FC 20 00 90 */ fmr f1, f0 +/* 802E3734 002E0694 48 00 00 B0 */ b lbl_802E37E4 +lbl_802E3738: +/* 802E3738 002E0698 7C A3 2B 78 */ mr r3, r5 +/* 802E373C 002E069C 4B FF F8 39 */ bl GetUint32Value__12CPASAnimParmCFv +/* 802E3740 002E06A0 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E3744 002E06A4 7C 00 18 40 */ cmplw r0, r3 +/* 802E3748 002E06A8 40 82 00 0C */ bne lbl_802E3754 +/* 802E374C 002E06AC C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) +/* 802E3750 002E06B0 48 00 00 08 */ b lbl_802E3758 +lbl_802E3754: +/* 802E3754 002E06B4 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) +lbl_802E3758: +/* 802E3758 002E06B8 FC 20 00 90 */ fmr f1, f0 +/* 802E375C 002E06BC 48 00 00 88 */ b lbl_802E37E4 +lbl_802E3760: +/* 802E3760 002E06C0 7C A3 2B 78 */ mr r3, r5 +/* 802E3764 002E06C4 4B FF F8 09 */ bl GetReal32Value__12CPASAnimParmCFv +/* 802E3768 002E06C8 C0 5F 00 00 */ lfs f2, 0(r31) +/* 802E376C 002E06CC C0 02 C5 C8 */ lfs f0, lbl_805AE2E8@sda21(r2) +/* 802E3770 002E06D0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802E3774 002E06D4 FC 20 0A 10 */ fabs f1, f1 +/* 802E3778 002E06D8 FC 20 08 18 */ frsp f1, f1 +/* 802E377C 002E06DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802E3780 002E06E0 40 80 00 0C */ bge lbl_802E378C +/* 802E3784 002E06E4 C0 22 C5 C4 */ lfs f1, lbl_805AE2E4@sda21(r2) +/* 802E3788 002E06E8 48 00 00 5C */ b lbl_802E37E4 +lbl_802E378C: +/* 802E378C 002E06EC C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) +/* 802E3790 002E06F0 48 00 00 54 */ b lbl_802E37E4 +lbl_802E3794: +/* 802E3794 002E06F4 7C A3 2B 78 */ mr r3, r5 +/* 802E3798 002E06F8 4B FF F7 CD */ bl GetBoolValue__12CPASAnimParmCFv +/* 802E379C 002E06FC 88 1F 00 00 */ lbz r0, 0(r31) +/* 802E37A0 002E0700 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802E37A4 002E0704 7C 00 18 40 */ cmplw r0, r3 +/* 802E37A8 002E0708 40 82 00 0C */ bne lbl_802E37B4 +/* 802E37AC 002E070C C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) +/* 802E37B0 002E0710 48 00 00 08 */ b lbl_802E37B8 +lbl_802E37B4: +/* 802E37B4 002E0714 C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) +lbl_802E37B8: +/* 802E37B8 002E0718 FC 20 00 90 */ fmr f1, f0 +/* 802E37BC 002E071C 48 00 00 28 */ b lbl_802E37E4 +lbl_802E37C0: +/* 802E37C0 002E0720 7C A3 2B 78 */ mr r3, r5 +/* 802E37C4 002E0724 4B FF F7 99 */ bl GetEnumValue__12CPASAnimParmCFv +/* 802E37C8 002E0728 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E37CC 002E072C 7C 00 18 00 */ cmpw r0, r3 +/* 802E37D0 002E0730 40 82 00 0C */ bne lbl_802E37DC +/* 802E37D4 002E0734 C0 02 C5 C4 */ lfs f0, lbl_805AE2E4@sda21(r2) +/* 802E37D8 002E0738 48 00 00 08 */ b lbl_802E37E0 +lbl_802E37DC: +/* 802E37DC 002E073C C0 02 C5 C0 */ lfs f0, lbl_805AE2E0@sda21(r2) +lbl_802E37E0: +/* 802E37E0 002E0740 FC 20 00 90 */ fmr f1, f0 +lbl_802E37E4: +/* 802E37E4 002E0744 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E37E8 002E0748 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E37EC 002E074C 7C 08 03 A6 */ mtlr r0 +/* 802E37F0 002E0750 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E37F4 002E0754 4E 80 00 20 */ blr + +.global "FindBestAnimation__13CPASAnimStateCFRCQ24rstl33reserved_vector<12CPASAnimParm,8>R9CRandom16i" +"FindBestAnimation__13CPASAnimStateCFRCQ24rstl33reserved_vector<12CPASAnimParm,8>R9CRandom16i": +/* 802E37F8 002E0758 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802E37FC 002E075C 7C 08 02 A6 */ mflr r0 +/* 802E3800 002E0760 90 01 00 94 */ stw r0, 0x94(r1) +/* 802E3804 002E0764 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802E3808 002E0768 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802E380C 002E076C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802E3810 002E0770 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802E3814 002E0774 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802E3818 002E0778 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802E381C 002E077C BE C1 00 38 */ stmw r22, 0x38(r1) +/* 802E3820 002E0780 80 04 00 28 */ lwz r0, 0x28(r4) +/* 802E3824 002E0784 7C 7A 1B 78 */ mr r26, r3 +/* 802E3828 002E0788 80 64 00 30 */ lwz r3, 0x30(r4) +/* 802E382C 002E078C 7C 9B 23 78 */ mr r27, r4 +/* 802E3830 002E0790 54 00 10 3A */ slwi r0, r0, 2 +/* 802E3834 002E0794 C3 C2 C5 D8 */ lfs f30, lbl_805AE2F8@sda21(r2) +/* 802E3838 002E0798 7C 03 02 14 */ add r0, r3, r0 +/* 802E383C 002E079C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802E3840 002E07A0 7C BC 2B 78 */ mr r28, r5 +/* 802E3844 002E07A4 7C DD 33 78 */ mr r29, r6 +/* 802E3848 002E07A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E384C 002E07AC 7C FE 3B 78 */ mr r30, r7 +/* 802E3850 002E07B0 90 01 00 20 */ stw r0, 0x20(r1) +/* 802E3854 002E07B4 90 61 00 18 */ stw r3, 0x18(r1) +/* 802E3858 002E07B8 48 00 00 08 */ b lbl_802E3860 +lbl_802E385C: +/* 802E385C 002E07BC 38 63 00 04 */ addi r3, r3, 4 +lbl_802E3860: +/* 802E3860 002E07C0 7C 03 00 40 */ cmplw r3, r0 +/* 802E3864 002E07C4 40 82 FF F8 */ bne lbl_802E385C +/* 802E3868 002E07C8 38 00 00 00 */ li r0, 0 +/* 802E386C 002E07CC 90 1B 00 28 */ stw r0, 0x28(r27) +/* 802E3870 002E07D0 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 802E3874 002E07D4 28 00 00 00 */ cmplwi r0, 0 +/* 802E3878 002E07D8 41 82 02 34 */ beq lbl_802E3AAC +/* 802E387C 002E07DC 83 FB 00 20 */ lwz r31, 0x20(r27) +/* 802E3880 002E07E0 48 00 02 14 */ b lbl_802E3A94 +lbl_802E3884: +/* 802E3884 002E07E4 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E3888 002E07E8 7C 1E 00 00 */ cmpw r30, r0 +/* 802E388C 002E07EC 41 82 02 04 */ beq lbl_802E3A90 +/* 802E3890 002E07F0 80 1B 00 08 */ lwz r0, 8(r27) +/* 802E3894 002E07F4 2C 00 00 00 */ cmpwi r0, 0 +/* 802E3898 002E07F8 40 81 00 0C */ ble lbl_802E38A4 +/* 802E389C 002E07FC C3 A2 C5 C0 */ lfs f29, lbl_805AE2E0@sda21(r2) +/* 802E38A0 002E0800 48 00 00 08 */ b lbl_802E38A8 +lbl_802E38A4: +/* 802E38A4 002E0804 C3 A2 C5 C4 */ lfs f29, lbl_805AE2E4@sda21(r2) +lbl_802E38A8: +/* 802E38A8 002E0808 3A E0 00 00 */ li r23, 0 +/* 802E38AC 002E080C 3A C0 00 00 */ li r22, 0 +/* 802E38B0 002E0810 3B 20 00 00 */ li r25, 0 +/* 802E38B4 002E0814 3B 00 00 00 */ li r24, 0 +/* 802E38B8 002E0818 48 00 00 CC */ b lbl_802E3984 +lbl_802E38BC: +/* 802E38BC 002E081C 7F E3 FB 78 */ mr r3, r31 +/* 802E38C0 002E0820 7E C4 B3 78 */ mr r4, r22 +/* 802E38C4 002E0824 4B FF F5 95 */ bl GetAnimParmValue__12CPASAnimInfoCFUi +/* 802E38C8 002E0828 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 802E38CC 002E082C C0 22 C5 C0 */ lfs f1, lbl_805AE2E0@sda21(r2) +/* 802E38D0 002E0830 7C 80 C2 14 */ add r4, r0, r24 +/* 802E38D4 002E0834 80 04 00 04 */ lwz r0, 4(r4) +/* 802E38D8 002E0838 C3 E4 00 08 */ lfs f31, 8(r4) +/* 802E38DC 002E083C 2C 00 00 02 */ cmpwi r0, 2 +/* 802E38E0 002E0840 41 82 00 6C */ beq lbl_802E394C +/* 802E38E4 002E0844 40 80 00 14 */ bge lbl_802E38F8 +/* 802E38E8 002E0848 2C 00 00 00 */ cmpwi r0, 0 +/* 802E38EC 002E084C 41 82 00 18 */ beq lbl_802E3904 +/* 802E38F0 002E0850 40 80 00 38 */ bge lbl_802E3928 +/* 802E38F4 002E0854 48 00 00 80 */ b lbl_802E3974 +lbl_802E38F8: +/* 802E38F8 002E0858 2C 00 00 04 */ cmpwi r0, 4 +/* 802E38FC 002E085C 40 80 00 78 */ bge lbl_802E3974 +/* 802E3900 002E0860 48 00 00 70 */ b lbl_802E3970 +lbl_802E3904: +/* 802E3904 002E0864 80 03 00 00 */ lwz r0, 0(r3) +/* 802E3908 002E0868 7C BC CA 14 */ add r5, r28, r25 +/* 802E390C 002E086C 7F 63 DB 78 */ mr r3, r27 +/* 802E3910 002E0870 7E C4 B3 78 */ mr r4, r22 +/* 802E3914 002E0874 90 01 00 30 */ stw r0, 0x30(r1) +/* 802E3918 002E0878 38 A5 00 04 */ addi r5, r5, 4 +/* 802E391C 002E087C 38 C1 00 30 */ addi r6, r1, 0x30 +/* 802E3920 002E0880 4B FF FD A9 */ bl ComputeExactMatchWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue +/* 802E3924 002E0884 48 00 00 50 */ b lbl_802E3974 +lbl_802E3928: +/* 802E3928 002E0888 80 03 00 00 */ lwz r0, 0(r3) +/* 802E392C 002E088C 7C BC CA 14 */ add r5, r28, r25 +/* 802E3930 002E0890 7F 63 DB 78 */ mr r3, r27 +/* 802E3934 002E0894 7E C4 B3 78 */ mr r4, r22 +/* 802E3938 002E0898 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802E393C 002E089C 38 A5 00 04 */ addi r5, r5, 4 +/* 802E3940 002E08A0 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802E3944 002E08A4 4B FF FA E1 */ bl ComputePercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue +/* 802E3948 002E08A8 48 00 00 2C */ b lbl_802E3974 +lbl_802E394C: +/* 802E394C 002E08AC 80 03 00 00 */ lwz r0, 0(r3) +/* 802E3950 002E08B0 7C BC CA 14 */ add r5, r28, r25 +/* 802E3954 002E08B4 7F 63 DB 78 */ mr r3, r27 +/* 802E3958 002E08B8 7E C4 B3 78 */ mr r4, r22 +/* 802E395C 002E08BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 802E3960 002E08C0 38 A5 00 04 */ addi r5, r5, 4 +/* 802E3964 002E08C4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802E3968 002E08C8 4B FF F8 05 */ bl ComputeAngularPercentErrorWeight__13CPASAnimStateCFUiRC12CPASAnimParmQ212CPASAnimParm10UParmValue +/* 802E396C 002E08CC 48 00 00 08 */ b lbl_802E3974 +lbl_802E3970: +/* 802E3970 002E08D0 3A F7 00 01 */ addi r23, r23, 1 +lbl_802E3974: +/* 802E3974 002E08D4 EF BF E8 7A */ fmadds f29, f31, f1, f29 +/* 802E3978 002E08D8 3A D6 00 01 */ addi r22, r22, 1 +/* 802E397C 002E08DC 3B 39 00 08 */ addi r25, r25, 8 +/* 802E3980 002E08E0 3B 18 00 14 */ addi r24, r24, 0x14 +lbl_802E3984: +/* 802E3984 002E08E4 80 1B 00 08 */ lwz r0, 8(r27) +/* 802E3988 002E08E8 7C 16 00 40 */ cmplw r22, r0 +/* 802E398C 002E08EC 41 80 FF 30 */ blt lbl_802E38BC +/* 802E3990 002E08F0 7C 17 00 00 */ cmpw r23, r0 +/* 802E3994 002E08F4 40 82 00 08 */ bne lbl_802E399C +/* 802E3998 002E08F8 C3 A2 C5 C4 */ lfs f29, lbl_805AE2E4@sda21(r2) +lbl_802E399C: +/* 802E399C 002E08FC FC 1D F0 40 */ fcmpo cr0, f29, f30 +/* 802E39A0 002E0900 40 81 00 94 */ ble lbl_802E3A34 +/* 802E39A4 002E0904 80 1B 00 28 */ lwz r0, 0x28(r27) +/* 802E39A8 002E0908 80 7B 00 30 */ lwz r3, 0x30(r27) +/* 802E39AC 002E090C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E39B0 002E0910 7C 03 02 14 */ add r0, r3, r0 +/* 802E39B4 002E0914 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E39B8 002E0918 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E39BC 002E091C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E39C0 002E0920 90 61 00 08 */ stw r3, 8(r1) +/* 802E39C4 002E0924 48 00 00 08 */ b lbl_802E39CC +lbl_802E39C8: +/* 802E39C8 002E0928 38 63 00 04 */ addi r3, r3, 4 +lbl_802E39CC: +/* 802E39CC 002E092C 7C 03 00 40 */ cmplw r3, r0 +/* 802E39D0 002E0930 40 82 FF F8 */ bne lbl_802E39C8 +/* 802E39D4 002E0934 38 00 00 00 */ li r0, 0 +/* 802E39D8 002E0938 90 1B 00 28 */ stw r0, 0x28(r27) +/* 802E39DC 002E093C 80 1B 00 28 */ lwz r0, 0x28(r27) +/* 802E39E0 002E0940 80 BB 00 2C */ lwz r5, 0x2c(r27) +/* 802E39E4 002E0944 83 1F 00 00 */ lwz r24, 0(r31) +/* 802E39E8 002E0948 7C 00 28 00 */ cmpw r0, r5 +/* 802E39EC 002E094C 41 80 00 1C */ blt lbl_802E3A08 +/* 802E39F0 002E0950 2C 05 00 00 */ cmpwi r5, 0 +/* 802E39F4 002E0954 38 7B 00 24 */ addi r3, r27, 0x24 +/* 802E39F8 002E0958 38 80 00 04 */ li r4, 4 +/* 802E39FC 002E095C 41 82 00 08 */ beq lbl_802E3A04 +/* 802E3A00 002E0960 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E3A04: +/* 802E3A04 002E0964 4B D7 62 A5 */ bl "reserve__Q24rstl36vectorFi" +lbl_802E3A08: +/* 802E3A08 002E0968 80 1B 00 28 */ lwz r0, 0x28(r27) +/* 802E3A0C 002E096C 80 7B 00 30 */ lwz r3, 0x30(r27) +/* 802E3A10 002E0970 54 00 10 3A */ slwi r0, r0, 2 +/* 802E3A14 002E0974 7C 63 02 15 */ add. r3, r3, r0 +/* 802E3A18 002E0978 41 82 00 08 */ beq lbl_802E3A20 +/* 802E3A1C 002E097C 93 03 00 00 */ stw r24, 0(r3) +lbl_802E3A20: +/* 802E3A20 002E0980 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 802E3A24 002E0984 FF C0 E8 90 */ fmr f30, f29 +/* 802E3A28 002E0988 38 03 00 01 */ addi r0, r3, 1 +/* 802E3A2C 002E098C 90 1B 00 28 */ stw r0, 0x28(r27) +/* 802E3A30 002E0990 48 00 00 60 */ b lbl_802E3A90 +lbl_802E3A34: +/* 802E3A34 002E0994 FC 1D F0 00 */ fcmpu cr0, f29, f30 +/* 802E3A38 002E0998 40 82 00 58 */ bne lbl_802E3A90 +/* 802E3A3C 002E099C 80 1B 00 28 */ lwz r0, 0x28(r27) +/* 802E3A40 002E09A0 80 BB 00 2C */ lwz r5, 0x2c(r27) +/* 802E3A44 002E09A4 83 1F 00 00 */ lwz r24, 0(r31) +/* 802E3A48 002E09A8 7C 00 28 00 */ cmpw r0, r5 +/* 802E3A4C 002E09AC 41 80 00 1C */ blt lbl_802E3A68 +/* 802E3A50 002E09B0 2C 05 00 00 */ cmpwi r5, 0 +/* 802E3A54 002E09B4 38 7B 00 24 */ addi r3, r27, 0x24 +/* 802E3A58 002E09B8 38 80 00 04 */ li r4, 4 +/* 802E3A5C 002E09BC 41 82 00 08 */ beq lbl_802E3A64 +/* 802E3A60 002E09C0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E3A64: +/* 802E3A64 002E09C4 4B D7 62 45 */ bl "reserve__Q24rstl36vectorFi" +lbl_802E3A68: +/* 802E3A68 002E09C8 80 1B 00 28 */ lwz r0, 0x28(r27) +/* 802E3A6C 002E09CC 80 7B 00 30 */ lwz r3, 0x30(r27) +/* 802E3A70 002E09D0 54 00 10 3A */ slwi r0, r0, 2 +/* 802E3A74 002E09D4 7C 63 02 15 */ add. r3, r3, r0 +/* 802E3A78 002E09D8 41 82 00 08 */ beq lbl_802E3A80 +/* 802E3A7C 002E09DC 93 03 00 00 */ stw r24, 0(r3) +lbl_802E3A80: +/* 802E3A80 002E09E0 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 802E3A84 002E09E4 FF C0 E8 90 */ fmr f30, f29 +/* 802E3A88 002E09E8 38 03 00 01 */ addi r0, r3, 1 +/* 802E3A8C 002E09EC 90 1B 00 28 */ stw r0, 0x28(r27) +lbl_802E3A90: +/* 802E3A90 002E09F0 3B FF 00 28 */ addi r31, r31, 0x28 +lbl_802E3A94: +/* 802E3A94 002E09F4 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 802E3A98 002E09F8 80 7B 00 20 */ lwz r3, 0x20(r27) +/* 802E3A9C 002E09FC 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E3AA0 002E0A00 7C 03 02 14 */ add r0, r3, r0 +/* 802E3AA4 002E0A04 7C 1F 00 40 */ cmplw r31, r0 +/* 802E3AA8 002E0A08 40 82 FD DC */ bne lbl_802E3884 +lbl_802E3AAC: +/* 802E3AAC 002E0A0C 7F 63 DB 78 */ mr r3, r27 +/* 802E3AB0 002E0A10 7F A4 EB 78 */ mr r4, r29 +/* 802E3AB4 002E0A14 4B FF F6 0D */ bl PickRandomAnimation__13CPASAnimStateCFR9CRandom16 +/* 802E3AB8 002E0A18 D3 DA 00 00 */ stfs f30, 0(r26) +/* 802E3ABC 002E0A1C 90 7A 00 04 */ stw r3, 4(r26) +/* 802E3AC0 002E0A20 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802E3AC4 002E0A24 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802E3AC8 002E0A28 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802E3ACC 002E0A2C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802E3AD0 002E0A30 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802E3AD4 002E0A34 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802E3AD8 002E0A38 BA C1 00 38 */ lmw r22, 0x38(r1) +/* 802E3ADC 002E0A3C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802E3AE0 002E0A40 7C 08 03 A6 */ mtlr r0 +/* 802E3AE4 002E0A44 38 21 00 90 */ addi r1, r1, 0x90 +/* 802E3AE8 002E0A48 4E 80 00 20 */ blr + +.global "insert__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" +"insert__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo": +/* 802E3AEC 002E0A4C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E3AF0 002E0A50 7C 08 02 A6 */ mflr r0 +/* 802E3AF4 002E0A54 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E3AF8 002E0A58 38 00 00 00 */ li r0, 0 +/* 802E3AFC 002E0A5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E3B00 002E0A60 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E3B04 002E0A64 7C 9E 23 78 */ mr r30, r4 +/* 802E3B08 002E0A68 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E3B0C 002E0A6C 7C 7D 1B 78 */ mr r29, r3 +/* 802E3B10 002E0A70 7F C3 F3 78 */ mr r3, r30 +/* 802E3B14 002E0A74 81 05 00 00 */ lwz r8, 0(r5) +/* 802E3B18 002E0A78 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802E3B1C 002E0A7C 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 802E3B20 002E0A80 38 84 66 67 */ addi r4, r4, 0x66666667@l +/* 802E3B24 002E0A84 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802E3B28 002E0A88 7C A5 40 50 */ subf r5, r5, r8 +/* 802E3B2C 002E0A8C 7C E4 28 96 */ mulhw r7, r4, r5 +/* 802E3B30 002E0A90 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802E3B34 002E0A94 38 81 00 08 */ addi r4, r1, 8 +/* 802E3B38 002E0A98 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E3B3C 002E0A9C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802E3B40 002E0AA0 38 A0 00 01 */ li r5, 1 +/* 802E3B44 002E0AA4 7C E7 26 70 */ srawi r7, r7, 4 +/* 802E3B48 002E0AA8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E3B4C 002E0AAC 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 802E3B50 002E0AB0 91 01 00 08 */ stw r8, 8(r1) +/* 802E3B54 002E0AB4 7F E7 02 14 */ add r31, r7, r0 +/* 802E3B58 002E0AB8 48 00 00 31 */ bl "insert_into>__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl39const_counting_iterator<12CPASAnimInfo>" +/* 802E3B5C 002E0ABC 1C 1F 00 28 */ mulli r0, r31, 0x28 +/* 802E3B60 002E0AC0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E3B64 002E0AC4 7C 63 02 14 */ add r3, r3, r0 +/* 802E3B68 002E0AC8 90 7D 00 00 */ stw r3, 0(r29) +/* 802E3B6C 002E0ACC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E3B70 002E0AD0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E3B74 002E0AD4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E3B78 002E0AD8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E3B7C 002E0ADC 7C 08 03 A6 */ mtlr r0 +/* 802E3B80 002E0AE0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E3B84 002E0AE4 4E 80 00 20 */ blr + +.global "insert_into>__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl39const_counting_iterator<12CPASAnimInfo>" +"insert_into>__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl39const_counting_iterator<12CPASAnimInfo>": +/* 802E3B88 002E0AE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E3B8C 002E0AEC 7C 08 02 A6 */ mflr r0 +/* 802E3B90 002E0AF0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E3B94 002E0AF4 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802E3B98 002E0AF8 7C 7A 1B 78 */ mr r26, r3 +/* 802E3B9C 002E0AFC 7C BB 2B 78 */ mr r27, r5 +/* 802E3BA0 002E0B00 7C 99 23 78 */ mr r25, r4 +/* 802E3BA4 002E0B04 80 E3 00 04 */ lwz r7, 4(r3) +/* 802E3BA8 002E0B08 80 63 00 08 */ lwz r3, 8(r3) +/* 802E3BAC 002E0B0C 7C 87 DA 14 */ add r4, r7, r27 +/* 802E3BB0 002E0B10 80 BA 00 0C */ lwz r5, 0xc(r26) +/* 802E3BB4 002E0B14 7C 04 18 00 */ cmpw r4, r3 +/* 802E3BB8 002E0B18 83 C6 00 00 */ lwz r30, 0(r6) +/* 802E3BBC 002E0B1C 7C BD 2B 78 */ mr r29, r5 +/* 802E3BC0 002E0B20 41 81 01 98 */ bgt lbl_802E3D58 +/* 802E3BC4 002E0B24 80 19 00 00 */ lwz r0, 0(r25) +/* 802E3BC8 002E0B28 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 802E3BCC 002E0B2C 38 63 66 67 */ addi r3, r3, 0x66666667@l +/* 802E3BD0 002E0B30 7C 05 00 50 */ subf r0, r5, r0 +/* 802E3BD4 002E0B34 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802E3BD8 002E0B38 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E3BDC 002E0B3C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E3BE0 002E0B40 7D 00 1A 14 */ add r8, r0, r3 +/* 802E3BE4 002E0B44 7C 68 38 50 */ subf r3, r8, r7 +/* 802E3BE8 002E0B48 38 83 FF FF */ addi r4, r3, -1 +/* 802E3BEC 002E0B4C 1C 68 00 28 */ mulli r3, r8, 0x28 +/* 802E3BF0 002E0B50 1C 1B 00 28 */ mulli r0, r27, 0x28 +/* 802E3BF4 002E0B54 7C 65 1A 14 */ add r3, r5, r3 +/* 802E3BF8 002E0B58 1C A4 00 28 */ mulli r5, r4, 0x28 +/* 802E3BFC 002E0B5C 7D 20 2A 14 */ add r9, r0, r5 +/* 802E3C00 002E0B60 7D 23 4A 14 */ add r9, r3, r9 +/* 802E3C04 002E0B64 7D 43 2A 14 */ add r10, r3, r5 +/* 802E3C08 002E0B68 48 00 00 D4 */ b lbl_802E3CDC +lbl_802E3C0C: +/* 802E3C0C 002E0B6C 7C 08 22 14 */ add r0, r8, r4 +/* 802E3C10 002E0B70 28 09 00 00 */ cmplwi r9, 0 +/* 802E3C14 002E0B74 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E3C18 002E0B78 80 BA 00 0C */ lwz r5, 0xc(r26) +/* 802E3C1C 002E0B7C 7C A5 02 14 */ add r5, r5, r0 +/* 802E3C20 002E0B80 41 82 00 48 */ beq lbl_802E3C68 +/* 802E3C24 002E0B84 80 05 00 00 */ lwz r0, 0(r5) +/* 802E3C28 002E0B88 38 E5 00 08 */ addi r7, r5, 8 +/* 802E3C2C 002E0B8C 38 C9 00 08 */ addi r6, r9, 8 +/* 802E3C30 002E0B90 90 09 00 00 */ stw r0, 0(r9) +/* 802E3C34 002E0B94 80 05 00 04 */ lwz r0, 4(r5) +/* 802E3C38 002E0B98 90 09 00 04 */ stw r0, 4(r9) +/* 802E3C3C 002E0B9C 80 09 00 04 */ lwz r0, 4(r9) +/* 802E3C40 002E0BA0 7C 09 03 A6 */ mtctr r0 +/* 802E3C44 002E0BA4 2C 00 00 00 */ cmpwi r0, 0 +/* 802E3C48 002E0BA8 40 81 00 20 */ ble lbl_802E3C68 +lbl_802E3C4C: +/* 802E3C4C 002E0BAC 28 06 00 00 */ cmplwi r6, 0 +/* 802E3C50 002E0BB0 41 82 00 0C */ beq lbl_802E3C5C +/* 802E3C54 002E0BB4 80 07 00 00 */ lwz r0, 0(r7) +/* 802E3C58 002E0BB8 90 06 00 00 */ stw r0, 0(r6) +lbl_802E3C5C: +/* 802E3C5C 002E0BBC 38 C6 00 04 */ addi r6, r6, 4 +/* 802E3C60 002E0BC0 38 E7 00 04 */ addi r7, r7, 4 +/* 802E3C64 002E0BC4 42 00 FF E8 */ bdnz lbl_802E3C4C +lbl_802E3C68: +/* 802E3C68 002E0BC8 28 0A 00 00 */ cmplwi r10, 0 +/* 802E3C6C 002E0BCC 41 82 00 64 */ beq lbl_802E3CD0 +/* 802E3C70 002E0BD0 34 0A 00 04 */ addic. r0, r10, 4 +/* 802E3C74 002E0BD4 41 82 00 5C */ beq lbl_802E3CD0 +/* 802E3C78 002E0BD8 80 EA 00 04 */ lwz r7, 4(r10) +/* 802E3C7C 002E0BDC 38 A0 00 00 */ li r5, 0 +/* 802E3C80 002E0BE0 2C 07 00 00 */ cmpwi r7, 0 +/* 802E3C84 002E0BE4 40 81 00 44 */ ble lbl_802E3CC8 +/* 802E3C88 002E0BE8 2C 07 00 08 */ cmpwi r7, 8 +/* 802E3C8C 002E0BEC 38 C7 FF F8 */ addi r6, r7, -8 +/* 802E3C90 002E0BF0 40 81 00 20 */ ble lbl_802E3CB0 +/* 802E3C94 002E0BF4 38 06 00 07 */ addi r0, r6, 7 +/* 802E3C98 002E0BF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802E3C9C 002E0BFC 7C 09 03 A6 */ mtctr r0 +/* 802E3CA0 002E0C00 2C 06 00 00 */ cmpwi r6, 0 +/* 802E3CA4 002E0C04 40 81 00 0C */ ble lbl_802E3CB0 +lbl_802E3CA8: +/* 802E3CA8 002E0C08 38 A5 00 08 */ addi r5, r5, 8 +/* 802E3CAC 002E0C0C 42 00 FF FC */ bdnz lbl_802E3CA8 +lbl_802E3CB0: +/* 802E3CB0 002E0C10 7C 05 38 50 */ subf r0, r5, r7 +/* 802E3CB4 002E0C14 7C 09 03 A6 */ mtctr r0 +/* 802E3CB8 002E0C18 7C 05 38 00 */ cmpw r5, r7 +/* 802E3CBC 002E0C1C 40 80 00 0C */ bge lbl_802E3CC8 +lbl_802E3CC0: +/* 802E3CC0 002E0C20 38 A5 00 01 */ addi r5, r5, 1 +/* 802E3CC4 002E0C24 42 00 FF FC */ bdnz lbl_802E3CC0 +lbl_802E3CC8: +/* 802E3CC8 002E0C28 38 00 00 00 */ li r0, 0 +/* 802E3CCC 002E0C2C 90 0A 00 04 */ stw r0, 4(r10) +lbl_802E3CD0: +/* 802E3CD0 002E0C30 39 29 FF D8 */ addi r9, r9, -40 +/* 802E3CD4 002E0C34 39 4A FF D8 */ addi r10, r10, -40 +/* 802E3CD8 002E0C38 38 84 FF FF */ addi r4, r4, -1 +lbl_802E3CDC: +/* 802E3CDC 002E0C3C 2C 04 00 00 */ cmpwi r4, 0 +/* 802E3CE0 002E0C40 40 80 FF 2C */ bge lbl_802E3C0C +/* 802E3CE4 002E0C44 38 C0 00 00 */ li r6, 0 +/* 802E3CE8 002E0C48 48 00 00 58 */ b lbl_802E3D40 +lbl_802E3CEC: +/* 802E3CEC 002E0C4C 28 03 00 00 */ cmplwi r3, 0 +/* 802E3CF0 002E0C50 41 82 00 48 */ beq lbl_802E3D38 +/* 802E3CF4 002E0C54 80 1E 00 00 */ lwz r0, 0(r30) +/* 802E3CF8 002E0C58 38 BE 00 08 */ addi r5, r30, 8 +/* 802E3CFC 002E0C5C 38 83 00 08 */ addi r4, r3, 8 +/* 802E3D00 002E0C60 90 03 00 00 */ stw r0, 0(r3) +/* 802E3D04 002E0C64 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E3D08 002E0C68 90 03 00 04 */ stw r0, 4(r3) +/* 802E3D0C 002E0C6C 80 03 00 04 */ lwz r0, 4(r3) +/* 802E3D10 002E0C70 7C 09 03 A6 */ mtctr r0 +/* 802E3D14 002E0C74 2C 00 00 00 */ cmpwi r0, 0 +/* 802E3D18 002E0C78 40 81 00 20 */ ble lbl_802E3D38 +lbl_802E3D1C: +/* 802E3D1C 002E0C7C 28 04 00 00 */ cmplwi r4, 0 +/* 802E3D20 002E0C80 41 82 00 0C */ beq lbl_802E3D2C +/* 802E3D24 002E0C84 80 05 00 00 */ lwz r0, 0(r5) +/* 802E3D28 002E0C88 90 04 00 00 */ stw r0, 0(r4) +lbl_802E3D2C: +/* 802E3D2C 002E0C8C 38 84 00 04 */ addi r4, r4, 4 +/* 802E3D30 002E0C90 38 A5 00 04 */ addi r5, r5, 4 +/* 802E3D34 002E0C94 42 00 FF E8 */ bdnz lbl_802E3D1C +lbl_802E3D38: +/* 802E3D38 002E0C98 38 63 00 28 */ addi r3, r3, 0x28 +/* 802E3D3C 002E0C9C 38 C6 00 01 */ addi r6, r6, 1 +lbl_802E3D40: +/* 802E3D40 002E0CA0 7C 06 D8 00 */ cmpw r6, r27 +/* 802E3D44 002E0CA4 41 80 FF A8 */ blt lbl_802E3CEC +/* 802E3D48 002E0CA8 80 1A 00 04 */ lwz r0, 4(r26) +/* 802E3D4C 002E0CAC 7C 00 DA 14 */ add r0, r0, r27 +/* 802E3D50 002E0CB0 90 1A 00 04 */ stw r0, 4(r26) +/* 802E3D54 002E0CB4 48 00 02 8C */ b lbl_802E3FE0 +lbl_802E3D58: +/* 802E3D58 002E0CB8 2C 03 00 00 */ cmpwi r3, 0 +/* 802E3D5C 002E0CBC 38 00 00 04 */ li r0, 4 +/* 802E3D60 002E0CC0 41 82 00 08 */ beq lbl_802E3D68 +/* 802E3D64 002E0CC4 54 60 08 3C */ slwi r0, r3, 1 +lbl_802E3D68: +/* 802E3D68 002E0CC8 7C 1C 03 78 */ mr r28, r0 +/* 802E3D6C 002E0CCC 48 00 00 08 */ b lbl_802E3D74 +lbl_802E3D70: +/* 802E3D70 002E0CD0 57 9C 08 3C */ slwi r28, r28, 1 +lbl_802E3D74: +/* 802E3D74 002E0CD4 7C 1C 20 00 */ cmpw r28, r4 +/* 802E3D78 002E0CD8 41 80 FF F8 */ blt lbl_802E3D70 +/* 802E3D7C 002E0CDC 1C 7C 00 28 */ mulli r3, r28, 0x28 +/* 802E3D80 002E0CE0 2C 03 00 00 */ cmpwi r3, 0 +/* 802E3D84 002E0CE4 40 82 00 0C */ bne lbl_802E3D90 +/* 802E3D88 002E0CE8 3B E0 00 00 */ li r31, 0 +/* 802E3D8C 002E0CEC 48 00 00 18 */ b lbl_802E3DA4 +lbl_802E3D90: +/* 802E3D90 002E0CF0 3C 80 80 3D */ lis r4, lbl_803D6DA8@ha +/* 802E3D94 002E0CF4 38 A0 00 00 */ li r5, 0 +/* 802E3D98 002E0CF8 38 84 6D A8 */ addi r4, r4, lbl_803D6DA8@l +/* 802E3D9C 002E0CFC 48 03 1A 7D */ bl __nwa__FUlPCcPCc +/* 802E3DA0 002E0D00 7C 7F 1B 78 */ mr r31, r3 +lbl_802E3DA4: +/* 802E3DA4 002E0D04 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 802E3DA8 002E0D08 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 802E3DAC 002E0D0C 80 19 00 00 */ lwz r0, 0(r25) +/* 802E3DB0 002E0D10 38 A3 66 67 */ addi r5, r3, 0x66666667@l +/* 802E3DB4 002E0D14 7F E9 FB 78 */ mr r9, r31 +/* 802E3DB8 002E0D18 38 60 00 00 */ li r3, 0 +/* 802E3DBC 002E0D1C 7C 04 00 50 */ subf r0, r4, r0 +/* 802E3DC0 002E0D20 39 40 00 00 */ li r10, 0 +/* 802E3DC4 002E0D24 7C 05 00 96 */ mulhw r0, r5, r0 +/* 802E3DC8 002E0D28 39 00 00 00 */ li r8, 0 +/* 802E3DCC 002E0D2C 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E3DD0 002E0D30 54 04 0F FE */ srwi r4, r0, 0x1f +/* 802E3DD4 002E0D34 7C E0 22 14 */ add r7, r0, r4 +/* 802E3DD8 002E0D38 48 00 00 68 */ b lbl_802E3E40 +lbl_802E3DDC: +/* 802E3DDC 002E0D3C 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 802E3DE0 002E0D40 28 09 00 00 */ cmplwi r9, 0 +/* 802E3DE4 002E0D44 7C 80 42 14 */ add r4, r0, r8 +/* 802E3DE8 002E0D48 41 82 00 48 */ beq lbl_802E3E30 +/* 802E3DEC 002E0D4C 80 04 00 00 */ lwz r0, 0(r4) +/* 802E3DF0 002E0D50 38 C4 00 08 */ addi r6, r4, 8 +/* 802E3DF4 002E0D54 38 A9 00 08 */ addi r5, r9, 8 +/* 802E3DF8 002E0D58 90 09 00 00 */ stw r0, 0(r9) +/* 802E3DFC 002E0D5C 80 04 00 04 */ lwz r0, 4(r4) +/* 802E3E00 002E0D60 90 09 00 04 */ stw r0, 4(r9) +/* 802E3E04 002E0D64 80 09 00 04 */ lwz r0, 4(r9) +/* 802E3E08 002E0D68 7C 09 03 A6 */ mtctr r0 +/* 802E3E0C 002E0D6C 2C 00 00 00 */ cmpwi r0, 0 +/* 802E3E10 002E0D70 40 81 00 20 */ ble lbl_802E3E30 +lbl_802E3E14: +/* 802E3E14 002E0D74 28 05 00 00 */ cmplwi r5, 0 +/* 802E3E18 002E0D78 41 82 00 0C */ beq lbl_802E3E24 +/* 802E3E1C 002E0D7C 80 06 00 00 */ lwz r0, 0(r6) +/* 802E3E20 002E0D80 90 05 00 00 */ stw r0, 0(r5) +lbl_802E3E24: +/* 802E3E24 002E0D84 38 A5 00 04 */ addi r5, r5, 4 +/* 802E3E28 002E0D88 38 C6 00 04 */ addi r6, r6, 4 +/* 802E3E2C 002E0D8C 42 00 FF E8 */ bdnz lbl_802E3E14 +lbl_802E3E30: +/* 802E3E30 002E0D90 39 29 00 28 */ addi r9, r9, 0x28 +/* 802E3E34 002E0D94 38 63 00 01 */ addi r3, r3, 1 +/* 802E3E38 002E0D98 39 08 00 28 */ addi r8, r8, 0x28 +/* 802E3E3C 002E0D9C 39 4A 00 01 */ addi r10, r10, 1 +lbl_802E3E40: +/* 802E3E40 002E0DA0 7C 0A 38 00 */ cmpw r10, r7 +/* 802E3E44 002E0DA4 41 80 FF 98 */ blt lbl_802E3DDC +/* 802E3E48 002E0DA8 1C 03 00 28 */ mulli r0, r3, 0x28 +/* 802E3E4C 002E0DAC 39 00 00 00 */ li r8, 0 +/* 802E3E50 002E0DB0 7C DF 02 14 */ add r6, r31, r0 +/* 802E3E54 002E0DB4 48 00 00 5C */ b lbl_802E3EB0 +lbl_802E3E58: +/* 802E3E58 002E0DB8 28 06 00 00 */ cmplwi r6, 0 +/* 802E3E5C 002E0DBC 41 82 00 48 */ beq lbl_802E3EA4 +/* 802E3E60 002E0DC0 80 1E 00 00 */ lwz r0, 0(r30) +/* 802E3E64 002E0DC4 38 BE 00 08 */ addi r5, r30, 8 +/* 802E3E68 002E0DC8 38 86 00 08 */ addi r4, r6, 8 +/* 802E3E6C 002E0DCC 90 06 00 00 */ stw r0, 0(r6) +/* 802E3E70 002E0DD0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E3E74 002E0DD4 90 06 00 04 */ stw r0, 4(r6) +/* 802E3E78 002E0DD8 80 06 00 04 */ lwz r0, 4(r6) +/* 802E3E7C 002E0DDC 7C 09 03 A6 */ mtctr r0 +/* 802E3E80 002E0DE0 2C 00 00 00 */ cmpwi r0, 0 +/* 802E3E84 002E0DE4 40 81 00 20 */ ble lbl_802E3EA4 +lbl_802E3E88: +/* 802E3E88 002E0DE8 28 04 00 00 */ cmplwi r4, 0 +/* 802E3E8C 002E0DEC 41 82 00 0C */ beq lbl_802E3E98 +/* 802E3E90 002E0DF0 80 05 00 00 */ lwz r0, 0(r5) +/* 802E3E94 002E0DF4 90 04 00 00 */ stw r0, 0(r4) +lbl_802E3E98: +/* 802E3E98 002E0DF8 38 84 00 04 */ addi r4, r4, 4 +/* 802E3E9C 002E0DFC 38 A5 00 04 */ addi r5, r5, 4 +/* 802E3EA0 002E0E00 42 00 FF E8 */ bdnz lbl_802E3E88 +lbl_802E3EA4: +/* 802E3EA4 002E0E04 38 C6 00 28 */ addi r6, r6, 0x28 +/* 802E3EA8 002E0E08 38 63 00 01 */ addi r3, r3, 1 +/* 802E3EAC 002E0E0C 39 08 00 01 */ addi r8, r8, 1 +lbl_802E3EB0: +/* 802E3EB0 002E0E10 7C 08 D8 00 */ cmpw r8, r27 +/* 802E3EB4 002E0E14 41 80 FF A4 */ blt lbl_802E3E58 +/* 802E3EB8 002E0E18 1C 03 00 28 */ mulli r0, r3, 0x28 +/* 802E3EBC 002E0E1C 7C E8 3B 78 */ mr r8, r7 +/* 802E3EC0 002E0E20 1C C7 00 28 */ mulli r6, r7, 0x28 +/* 802E3EC4 002E0E24 7C FF 02 14 */ add r7, r31, r0 +/* 802E3EC8 002E0E28 48 00 00 64 */ b lbl_802E3F2C +lbl_802E3ECC: +/* 802E3ECC 002E0E2C 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 802E3ED0 002E0E30 28 07 00 00 */ cmplwi r7, 0 +/* 802E3ED4 002E0E34 7C 60 32 14 */ add r3, r0, r6 +/* 802E3ED8 002E0E38 41 82 00 48 */ beq lbl_802E3F20 +/* 802E3EDC 002E0E3C 80 03 00 00 */ lwz r0, 0(r3) +/* 802E3EE0 002E0E40 38 A3 00 08 */ addi r5, r3, 8 +/* 802E3EE4 002E0E44 38 87 00 08 */ addi r4, r7, 8 +/* 802E3EE8 002E0E48 90 07 00 00 */ stw r0, 0(r7) +/* 802E3EEC 002E0E4C 80 03 00 04 */ lwz r0, 4(r3) +/* 802E3EF0 002E0E50 90 07 00 04 */ stw r0, 4(r7) +/* 802E3EF4 002E0E54 80 07 00 04 */ lwz r0, 4(r7) +/* 802E3EF8 002E0E58 7C 09 03 A6 */ mtctr r0 +/* 802E3EFC 002E0E5C 2C 00 00 00 */ cmpwi r0, 0 +/* 802E3F00 002E0E60 40 81 00 20 */ ble lbl_802E3F20 +lbl_802E3F04: +/* 802E3F04 002E0E64 28 04 00 00 */ cmplwi r4, 0 +/* 802E3F08 002E0E68 41 82 00 0C */ beq lbl_802E3F14 +/* 802E3F0C 002E0E6C 80 05 00 00 */ lwz r0, 0(r5) +/* 802E3F10 002E0E70 90 04 00 00 */ stw r0, 0(r4) +lbl_802E3F14: +/* 802E3F14 002E0E74 38 84 00 04 */ addi r4, r4, 4 +/* 802E3F18 002E0E78 38 A5 00 04 */ addi r5, r5, 4 +/* 802E3F1C 002E0E7C 42 00 FF E8 */ bdnz lbl_802E3F04 +lbl_802E3F20: +/* 802E3F20 002E0E80 38 E7 00 28 */ addi r7, r7, 0x28 +/* 802E3F24 002E0E84 38 C6 00 28 */ addi r6, r6, 0x28 +/* 802E3F28 002E0E88 39 08 00 01 */ addi r8, r8, 1 +lbl_802E3F2C: +/* 802E3F2C 002E0E8C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802E3F30 002E0E90 7C 08 00 00 */ cmpw r8, r0 +/* 802E3F34 002E0E94 41 80 FF 98 */ blt lbl_802E3ECC +/* 802E3F38 002E0E98 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E3F3C 002E0E9C 7F A3 EB 78 */ mr r3, r29 +/* 802E3F40 002E0EA0 7C 9D 02 14 */ add r4, r29, r0 +/* 802E3F44 002E0EA4 48 00 00 70 */ b lbl_802E3FB4 +lbl_802E3F48: +/* 802E3F48 002E0EA8 28 03 00 00 */ cmplwi r3, 0 +/* 802E3F4C 002E0EAC 41 82 00 64 */ beq lbl_802E3FB0 +/* 802E3F50 002E0EB0 34 03 00 04 */ addic. r0, r3, 4 +/* 802E3F54 002E0EB4 41 82 00 5C */ beq lbl_802E3FB0 +/* 802E3F58 002E0EB8 80 E3 00 04 */ lwz r7, 4(r3) +/* 802E3F5C 002E0EBC 38 A0 00 00 */ li r5, 0 +/* 802E3F60 002E0EC0 2C 07 00 00 */ cmpwi r7, 0 +/* 802E3F64 002E0EC4 40 81 00 44 */ ble lbl_802E3FA8 +/* 802E3F68 002E0EC8 2C 07 00 08 */ cmpwi r7, 8 +/* 802E3F6C 002E0ECC 38 C7 FF F8 */ addi r6, r7, -8 +/* 802E3F70 002E0ED0 40 81 00 20 */ ble lbl_802E3F90 +/* 802E3F74 002E0ED4 38 06 00 07 */ addi r0, r6, 7 +/* 802E3F78 002E0ED8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802E3F7C 002E0EDC 7C 09 03 A6 */ mtctr r0 +/* 802E3F80 002E0EE0 2C 06 00 00 */ cmpwi r6, 0 +/* 802E3F84 002E0EE4 40 81 00 0C */ ble lbl_802E3F90 +lbl_802E3F88: +/* 802E3F88 002E0EE8 38 A5 00 08 */ addi r5, r5, 8 +/* 802E3F8C 002E0EEC 42 00 FF FC */ bdnz lbl_802E3F88 +lbl_802E3F90: +/* 802E3F90 002E0EF0 7C 05 38 50 */ subf r0, r5, r7 +/* 802E3F94 002E0EF4 7C 09 03 A6 */ mtctr r0 +/* 802E3F98 002E0EF8 7C 05 38 00 */ cmpw r5, r7 +/* 802E3F9C 002E0EFC 40 80 00 0C */ bge lbl_802E3FA8 +lbl_802E3FA0: +/* 802E3FA0 002E0F00 38 A5 00 01 */ addi r5, r5, 1 +/* 802E3FA4 002E0F04 42 00 FF FC */ bdnz lbl_802E3FA0 +lbl_802E3FA8: +/* 802E3FA8 002E0F08 38 00 00 00 */ li r0, 0 +/* 802E3FAC 002E0F0C 90 03 00 04 */ stw r0, 4(r3) +lbl_802E3FB0: +/* 802E3FB0 002E0F10 38 63 00 28 */ addi r3, r3, 0x28 +lbl_802E3FB4: +/* 802E3FB4 002E0F14 7C 03 20 40 */ cmplw r3, r4 +/* 802E3FB8 002E0F18 40 82 FF 90 */ bne lbl_802E3F48 +/* 802E3FBC 002E0F1C 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802E3FC0 002E0F20 28 03 00 00 */ cmplwi r3, 0 +/* 802E3FC4 002E0F24 41 82 00 08 */ beq lbl_802E3FCC +/* 802E3FC8 002E0F28 48 03 19 69 */ bl Free__7CMemoryFPCv +lbl_802E3FCC: +/* 802E3FCC 002E0F2C 93 FA 00 0C */ stw r31, 0xc(r26) +/* 802E3FD0 002E0F30 93 9A 00 08 */ stw r28, 8(r26) +/* 802E3FD4 002E0F34 80 1A 00 04 */ lwz r0, 4(r26) +/* 802E3FD8 002E0F38 7C 00 DA 14 */ add r0, r0, r27 +/* 802E3FDC 002E0F3C 90 1A 00 04 */ stw r0, 4(r26) +lbl_802E3FE0: +/* 802E3FE0 002E0F40 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802E3FE4 002E0F44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E3FE8 002E0F48 7C 08 03 A6 */ mtlr r0 +/* 802E3FEC 002E0F4C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E3FF0 002E0F50 4E 80 00 20 */ blr + +.global GetAnimParmData__13CPASAnimStateCFiUi +GetAnimParmData__13CPASAnimStateCFiUi: +/* 802E3FF4 002E0F54 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802E3FF8 002E0F58 7C 08 02 A6 */ mflr r0 +/* 802E3FFC 002E0F5C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802E4000 002E0F60 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802E4004 002E0F64 7C DF 33 78 */ mr r31, r6 +/* 802E4008 002E0F68 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802E400C 002E0F6C 7C 9E 23 78 */ mr r30, r4 +/* 802E4010 002E0F70 7C A4 2B 78 */ mr r4, r5 +/* 802E4014 002E0F74 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802E4018 002E0F78 7C 7D 1B 78 */ mr r29, r3 +/* 802E401C 002E0F7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E4020 002E0F80 4B FF EF 2D */ bl __ct__12CPASAnimInfoFi +/* 802E4024 002E0F84 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 802E4028 002E0F88 38 61 00 0C */ addi r3, r1, 0xc +/* 802E402C 002E0F8C 80 FE 00 20 */ lwz r7, 0x20(r30) +/* 802E4030 002E0F90 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E4034 002E0F94 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E4038 002E0F98 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E403C 002E0F9C 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802E4040 002E0FA0 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802E4044 002E0FA4 7C 07 02 14 */ add r0, r7, r0 +/* 802E4048 002E0FA8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E404C 002E0FAC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E4050 002E0FB0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E4054 002E0FB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4058 002E0FB8 48 00 05 8D */ bl "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" +/* 802E405C 002E0FBC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E4060 002E0FC0 38 80 00 00 */ li r4, 0 +/* 802E4064 002E0FC4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E4068 002E0FC8 90 A1 00 08 */ stw r5, 8(r1) +/* 802E406C 002E0FCC 7C 05 00 40 */ cmplw r5, r0 +/* 802E4070 002E0FD0 41 82 00 18 */ beq lbl_802E4088 +/* 802E4074 002E0FD4 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802E4078 002E0FD8 80 05 00 00 */ lwz r0, 0(r5) +/* 802E407C 002E0FDC 7C 03 00 00 */ cmpw r3, r0 +/* 802E4080 002E0FE0 41 80 00 08 */ blt lbl_802E4088 +/* 802E4084 002E0FE4 38 80 00 01 */ li r4, 1 +lbl_802E4088: +/* 802E4088 002E0FE8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802E408C 002E0FEC 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E4090 002E0FF0 41 82 00 08 */ beq lbl_802E4098 +/* 802E4094 002E0FF4 38 61 00 08 */ addi r3, r1, 8 +lbl_802E4098: +/* 802E4098 002E0FF8 34 C1 00 28 */ addic. r6, r1, 0x28 +/* 802E409C 002E0FFC 80 83 00 00 */ lwz r4, 0(r3) +/* 802E40A0 002E1000 41 82 00 58 */ beq lbl_802E40F8 +/* 802E40A4 002E1004 80 E6 00 00 */ lwz r7, 0(r6) +/* 802E40A8 002E1008 38 60 00 00 */ li r3, 0 +/* 802E40AC 002E100C 2C 07 00 00 */ cmpwi r7, 0 +/* 802E40B0 002E1010 40 81 00 40 */ ble lbl_802E40F0 +/* 802E40B4 002E1014 2C 07 00 08 */ cmpwi r7, 8 +/* 802E40B8 002E1018 38 A7 FF F8 */ addi r5, r7, -8 +/* 802E40BC 002E101C 40 81 00 20 */ ble lbl_802E40DC +/* 802E40C0 002E1020 38 05 00 07 */ addi r0, r5, 7 +/* 802E40C4 002E1024 54 00 E8 FE */ srwi r0, r0, 3 +/* 802E40C8 002E1028 7C 09 03 A6 */ mtctr r0 +/* 802E40CC 002E102C 2C 05 00 00 */ cmpwi r5, 0 +/* 802E40D0 002E1030 40 81 00 0C */ ble lbl_802E40DC +lbl_802E40D4: +/* 802E40D4 002E1034 38 63 00 08 */ addi r3, r3, 8 +/* 802E40D8 002E1038 42 00 FF FC */ bdnz lbl_802E40D4 +lbl_802E40DC: +/* 802E40DC 002E103C 7C 03 38 50 */ subf r0, r3, r7 +/* 802E40E0 002E1040 7C 09 03 A6 */ mtctr r0 +/* 802E40E4 002E1044 7C 03 38 00 */ cmpw r3, r7 +/* 802E40E8 002E1048 40 80 00 08 */ bge lbl_802E40F0 +lbl_802E40EC: +/* 802E40EC 002E104C 42 00 00 00 */ bdnz lbl_802E40EC +lbl_802E40F0: +/* 802E40F0 002E1050 38 00 00 00 */ li r0, 0 +/* 802E40F4 002E1054 90 06 00 00 */ stw r0, 0(r6) +lbl_802E40F8: +/* 802E40F8 002E1058 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 802E40FC 002E105C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 802E4100 002E1060 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E4104 002E1064 7C 03 02 14 */ add r0, r3, r0 +/* 802E4108 002E1068 7C 04 00 40 */ cmplw r4, r0 +/* 802E410C 002E106C 41 82 00 20 */ beq lbl_802E412C +/* 802E4110 002E1070 1C 1F 00 14 */ mulli r0, r31, 0x14 +/* 802E4114 002E1074 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 802E4118 002E1078 7F A3 EB 78 */ mr r3, r29 +/* 802E411C 002E107C 7C C5 00 2E */ lwzx r6, r5, r0 +/* 802E4120 002E1080 7F E5 FB 78 */ mr r5, r31 +/* 802E4124 002E1084 4B FF ED 45 */ bl GetAnimParmData__12CPASAnimInfoCFUiQ212CPASAnimParm9EParmType +/* 802E4128 002E1088 48 00 00 0C */ b lbl_802E4134 +lbl_802E412C: +/* 802E412C 002E108C 7F A3 EB 78 */ mr r3, r29 +/* 802E4130 002E1090 4B FF EF 4D */ bl NoParameter__12CPASAnimParmFv +lbl_802E4134: +/* 802E4134 002E1094 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802E4138 002E1098 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802E413C 002E109C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802E4140 002E10A0 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802E4144 002E10A4 7C 08 03 A6 */ mtlr r0 +/* 802E4148 002E10A8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802E414C 002E10AC 4E 80 00 20 */ blr + +.global __ct__13CPASAnimStateFR12CInputStream +__ct__13CPASAnimStateFR12CInputStream: +/* 802E4150 002E10B0 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802E4154 002E10B4 7C 08 02 A6 */ mflr r0 +/* 802E4158 002E10B8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802E415C 002E10BC 38 00 FF FF */ li r0, -1 +/* 802E4160 002E10C0 BE C1 00 98 */ stmw r22, 0x98(r1) +/* 802E4164 002E10C4 7C 76 1B 78 */ mr r22, r3 +/* 802E4168 002E10C8 7C 97 23 78 */ mr r23, r4 +/* 802E416C 002E10CC 90 03 00 00 */ stw r0, 0(r3) +/* 802E4170 002E10D0 38 00 00 00 */ li r0, 0 +/* 802E4174 002E10D4 90 03 00 08 */ stw r0, 8(r3) +/* 802E4178 002E10D8 7E E3 BB 78 */ mr r3, r23 +/* 802E417C 002E10DC 90 16 00 0C */ stw r0, 0xc(r22) +/* 802E4180 002E10E0 90 16 00 10 */ stw r0, 0x10(r22) +/* 802E4184 002E10E4 90 16 00 18 */ stw r0, 0x18(r22) +/* 802E4188 002E10E8 90 16 00 1C */ stw r0, 0x1c(r22) +/* 802E418C 002E10EC 90 16 00 20 */ stw r0, 0x20(r22) +/* 802E4190 002E10F0 90 16 00 28 */ stw r0, 0x28(r22) +/* 802E4194 002E10F4 90 16 00 2C */ stw r0, 0x2c(r22) +/* 802E4198 002E10F8 90 16 00 30 */ stw r0, 0x30(r22) +/* 802E419C 002E10FC 48 05 AA E9 */ bl ReadLong__12CInputStreamFv +/* 802E41A0 002E1100 90 76 00 00 */ stw r3, 0(r22) +/* 802E41A4 002E1104 7E E3 BB 78 */ mr r3, r23 +/* 802E41A8 002E1108 48 05 AA DD */ bl ReadLong__12CInputStreamFv +/* 802E41AC 002E110C 7C 7E 1B 78 */ mr r30, r3 +/* 802E41B0 002E1110 7E E3 BB 78 */ mr r3, r23 +/* 802E41B4 002E1114 48 05 AA D1 */ bl ReadLong__12CInputStreamFv +/* 802E41B8 002E1118 7C 7D 1B 78 */ mr r29, r3 +/* 802E41BC 002E111C 7F C4 F3 78 */ mr r4, r30 +/* 802E41C0 002E1120 38 76 00 04 */ addi r3, r22, 4 +/* 802E41C4 002E1124 48 00 04 E1 */ bl "reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi" +/* 802E41C8 002E1128 7F A4 EB 78 */ mr r4, r29 +/* 802E41CC 002E112C 38 76 00 14 */ addi r3, r22, 0x14 +/* 802E41D0 002E1130 48 00 05 E5 */ bl "reserve__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>Fi" +/* 802E41D4 002E1134 7F A4 EB 78 */ mr r4, r29 +/* 802E41D8 002E1138 38 76 00 24 */ addi r3, r22, 0x24 +/* 802E41DC 002E113C 4B D7 5A CD */ bl "reserve__Q24rstl36vectorFi" +/* 802E41E0 002E1140 3B 40 00 00 */ li r26, 0 +/* 802E41E4 002E1144 48 00 00 84 */ b lbl_802E4268 +lbl_802E41E8: +/* 802E41E8 002E1148 7E E4 BB 78 */ mr r4, r23 +/* 802E41EC 002E114C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802E41F0 002E1150 48 00 15 61 */ bl __ct__12CPASParmInfoFR12CInputStream +/* 802E41F4 002E1154 80 16 00 08 */ lwz r0, 8(r22) +/* 802E41F8 002E1158 80 B6 00 0C */ lwz r5, 0xc(r22) +/* 802E41FC 002E115C 7C 00 28 00 */ cmpw r0, r5 +/* 802E4200 002E1160 41 80 00 1C */ blt lbl_802E421C +/* 802E4204 002E1164 2C 05 00 00 */ cmpwi r5, 0 +/* 802E4208 002E1168 38 76 00 04 */ addi r3, r22, 4 +/* 802E420C 002E116C 38 80 00 04 */ li r4, 4 +/* 802E4210 002E1170 41 82 00 08 */ beq lbl_802E4218 +/* 802E4214 002E1174 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E4218: +/* 802E4218 002E1178 48 00 04 8D */ bl "reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi" +lbl_802E421C: +/* 802E421C 002E117C 80 16 00 08 */ lwz r0, 8(r22) +/* 802E4220 002E1180 80 76 00 10 */ lwz r3, 0x10(r22) +/* 802E4224 002E1184 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802E4228 002E1188 7C 63 02 15 */ add. r3, r3, r0 +/* 802E422C 002E118C 41 82 00 2C */ beq lbl_802E4258 +/* 802E4230 002E1190 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802E4234 002E1194 90 03 00 00 */ stw r0, 0(r3) +/* 802E4238 002E1198 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802E423C 002E119C 90 03 00 04 */ stw r0, 4(r3) +/* 802E4240 002E11A0 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802E4244 002E11A4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802E4248 002E11A8 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802E424C 002E11AC 90 03 00 0C */ stw r0, 0xc(r3) +/* 802E4250 002E11B0 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802E4254 002E11B4 90 03 00 10 */ stw r0, 0x10(r3) +lbl_802E4258: +/* 802E4258 002E11B8 80 76 00 08 */ lwz r3, 8(r22) +/* 802E425C 002E11BC 3B 5A 00 01 */ addi r26, r26, 1 +/* 802E4260 002E11C0 38 03 00 01 */ addi r0, r3, 1 +/* 802E4264 002E11C4 90 16 00 08 */ stw r0, 8(r22) +lbl_802E4268: +/* 802E4268 002E11C8 7C 1A F0 40 */ cmplw r26, r30 +/* 802E426C 002E11CC 41 80 FF 7C */ blt lbl_802E41E8 +/* 802E4270 002E11D0 38 00 00 00 */ li r0, 0 +/* 802E4274 002E11D4 3B 61 00 6C */ addi r27, r1, 0x6c +/* 802E4278 002E11D8 90 01 00 68 */ stw r0, 0x68(r1) +/* 802E427C 002E11DC 3B 41 00 44 */ addi r26, r1, 0x44 +/* 802E4280 002E11E0 3B 20 00 00 */ li r25, 0 +/* 802E4284 002E11E4 48 00 01 FC */ b lbl_802E4480 +lbl_802E4288: +/* 802E4288 002E11E8 7E E3 BB 78 */ mr r3, r23 +/* 802E428C 002E11EC 48 05 A9 F9 */ bl ReadLong__12CInputStreamFv +/* 802E4290 002E11F0 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 802E4294 002E11F4 7C 7C 1B 78 */ mr r28, r3 +/* 802E4298 002E11F8 38 60 00 00 */ li r3, 0 +/* 802E429C 002E11FC 2C 05 00 00 */ cmpwi r5, 0 +/* 802E42A0 002E1200 40 81 00 44 */ ble lbl_802E42E4 +/* 802E42A4 002E1204 2C 05 00 08 */ cmpwi r5, 8 +/* 802E42A8 002E1208 38 85 FF F8 */ addi r4, r5, -8 +/* 802E42AC 002E120C 40 81 00 20 */ ble lbl_802E42CC +/* 802E42B0 002E1210 38 04 00 07 */ addi r0, r4, 7 +/* 802E42B4 002E1214 54 00 E8 FE */ srwi r0, r0, 3 +/* 802E42B8 002E1218 7C 09 03 A6 */ mtctr r0 +/* 802E42BC 002E121C 2C 04 00 00 */ cmpwi r4, 0 +/* 802E42C0 002E1220 40 81 00 0C */ ble lbl_802E42CC +lbl_802E42C4: +/* 802E42C4 002E1224 38 63 00 08 */ addi r3, r3, 8 +/* 802E42C8 002E1228 42 00 FF FC */ bdnz lbl_802E42C4 +lbl_802E42CC: +/* 802E42CC 002E122C 7C 03 28 50 */ subf r0, r3, r5 +/* 802E42D0 002E1230 7C 09 03 A6 */ mtctr r0 +/* 802E42D4 002E1234 7C 03 28 00 */ cmpw r3, r5 +/* 802E42D8 002E1238 40 80 00 0C */ bge lbl_802E42E4 +lbl_802E42DC: +/* 802E42DC 002E123C 38 63 00 01 */ addi r3, r3, 1 +/* 802E42E0 002E1240 42 00 FF FC */ bdnz lbl_802E42DC +lbl_802E42E4: +/* 802E42E4 002E1244 3B E0 00 00 */ li r31, 0 +/* 802E42E8 002E1248 3B 00 00 00 */ li r24, 0 +/* 802E42EC 002E124C 93 E1 00 68 */ stw r31, 0x68(r1) +/* 802E42F0 002E1250 48 00 00 BC */ b lbl_802E43AC +lbl_802E42F4: +/* 802E42F4 002E1254 80 76 00 10 */ lwz r3, 0x10(r22) +/* 802E42F8 002E1258 7C 03 F8 2E */ lwzx r0, r3, r31 +/* 802E42FC 002E125C 2C 00 00 02 */ cmpwi r0, 2 +/* 802E4300 002E1260 41 82 00 48 */ beq lbl_802E4348 +/* 802E4304 002E1264 40 80 00 14 */ bge lbl_802E4318 +/* 802E4308 002E1268 2C 00 00 00 */ cmpwi r0, 0 +/* 802E430C 002E126C 41 82 00 1C */ beq lbl_802E4328 +/* 802E4310 002E1270 40 80 00 28 */ bge lbl_802E4338 +/* 802E4314 002E1274 48 00 00 64 */ b lbl_802E4378 +lbl_802E4318: +/* 802E4318 002E1278 2C 00 00 04 */ cmpwi r0, 4 +/* 802E431C 002E127C 41 82 00 4C */ beq lbl_802E4368 +/* 802E4320 002E1280 40 80 00 58 */ bge lbl_802E4378 +/* 802E4324 002E1284 48 00 00 34 */ b lbl_802E4358 +lbl_802E4328: +/* 802E4328 002E1288 7E E3 BB 78 */ mr r3, r23 +/* 802E432C 002E128C 48 05 A9 59 */ bl ReadLong__12CInputStreamFv +/* 802E4330 002E1290 90 61 00 28 */ stw r3, 0x28(r1) +/* 802E4334 002E1294 48 00 00 4C */ b lbl_802E4380 +lbl_802E4338: +/* 802E4338 002E1298 7E E3 BB 78 */ mr r3, r23 +/* 802E433C 002E129C 48 05 A9 49 */ bl ReadLong__12CInputStreamFv +/* 802E4340 002E12A0 90 61 00 28 */ stw r3, 0x28(r1) +/* 802E4344 002E12A4 48 00 00 3C */ b lbl_802E4380 +lbl_802E4348: +/* 802E4348 002E12A8 7E E3 BB 78 */ mr r3, r23 +/* 802E434C 002E12AC 48 05 A8 DD */ bl ReadFloat__12CInputStreamFv +/* 802E4350 002E12B0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802E4354 002E12B4 48 00 00 2C */ b lbl_802E4380 +lbl_802E4358: +/* 802E4358 002E12B8 7E E3 BB 78 */ mr r3, r23 +/* 802E435C 002E12BC 48 05 A9 81 */ bl ReadBool__12CInputStreamFv +/* 802E4360 002E12C0 98 61 00 28 */ stb r3, 0x28(r1) +/* 802E4364 002E12C4 48 00 00 1C */ b lbl_802E4380 +lbl_802E4368: +/* 802E4368 002E12C8 7E E3 BB 78 */ mr r3, r23 +/* 802E436C 002E12CC 48 05 A9 19 */ bl ReadLong__12CInputStreamFv +/* 802E4370 002E12D0 90 61 00 28 */ stw r3, 0x28(r1) +/* 802E4374 002E12D4 48 00 00 0C */ b lbl_802E4380 +lbl_802E4378: +/* 802E4378 002E12D8 38 00 00 00 */ li r0, 0 +/* 802E437C 002E12DC 90 01 00 28 */ stw r0, 0x28(r1) +lbl_802E4380: +/* 802E4380 002E12E0 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802E4384 002E12E4 54 00 10 3A */ slwi r0, r0, 2 +/* 802E4388 002E12E8 7C 7B 02 15 */ add. r3, r27, r0 +/* 802E438C 002E12EC 41 82 00 0C */ beq lbl_802E4398 +/* 802E4390 002E12F0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802E4394 002E12F4 90 03 00 00 */ stw r0, 0(r3) +lbl_802E4398: +/* 802E4398 002E12F8 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802E439C 002E12FC 3B 18 00 01 */ addi r24, r24, 1 +/* 802E43A0 002E1300 3B FF 00 14 */ addi r31, r31, 0x14 +/* 802E43A4 002E1304 38 03 00 01 */ addi r0, r3, 1 +/* 802E43A8 002E1308 90 01 00 68 */ stw r0, 0x68(r1) +lbl_802E43AC: +/* 802E43AC 002E130C 7C 18 F0 40 */ cmplw r24, r30 +/* 802E43B0 002E1310 41 80 FF 44 */ blt lbl_802E42F4 +/* 802E43B4 002E1314 7F 84 E3 78 */ mr r4, r28 +/* 802E43B8 002E1318 38 61 00 40 */ addi r3, r1, 0x40 +/* 802E43BC 002E131C 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802E43C0 002E1320 4B FF EB 49 */ bl "__ct__12CPASAnimInfoFiRCQ24rstl47reserved_vector" +/* 802E43C4 002E1324 80 16 00 18 */ lwz r0, 0x18(r22) +/* 802E43C8 002E1328 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E43CC 002E132C 80 F6 00 20 */ lwz r7, 0x20(r22) +/* 802E43D0 002E1330 38 81 00 1C */ addi r4, r1, 0x1c +/* 802E43D4 002E1334 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E43D8 002E1338 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E43DC 002E133C 38 C1 00 40 */ addi r6, r1, 0x40 +/* 802E43E0 002E1340 7C E7 02 14 */ add r7, r7, r0 +/* 802E43E4 002E1344 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802E43E8 002E1348 80 16 00 20 */ lwz r0, 0x20(r22) +/* 802E43EC 002E134C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E43F0 002E1350 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E43F4 002E1354 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E43F8 002E1358 48 00 01 2D */ bl "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" +/* 802E43FC 002E135C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802E4400 002E1360 38 61 00 0C */ addi r3, r1, 0xc +/* 802E4404 002E1364 38 96 00 14 */ addi r4, r22, 0x14 +/* 802E4408 002E1368 38 A1 00 08 */ addi r5, r1, 8 +/* 802E440C 002E136C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E4410 002E1370 38 C1 00 40 */ addi r6, r1, 0x40 +/* 802E4414 002E1374 90 01 00 08 */ stw r0, 8(r1) +/* 802E4418 002E1378 4B FF F6 D5 */ bl "insert__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>FQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" +/* 802E441C 002E137C 28 1A 00 00 */ cmplwi r26, 0 +/* 802E4420 002E1380 41 82 00 5C */ beq lbl_802E447C +/* 802E4424 002E1384 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 802E4428 002E1388 38 60 00 00 */ li r3, 0 +/* 802E442C 002E138C 2C 05 00 00 */ cmpwi r5, 0 +/* 802E4430 002E1390 40 81 00 44 */ ble lbl_802E4474 +/* 802E4434 002E1394 2C 05 00 08 */ cmpwi r5, 8 +/* 802E4438 002E1398 38 85 FF F8 */ addi r4, r5, -8 +/* 802E443C 002E139C 40 81 00 20 */ ble lbl_802E445C +/* 802E4440 002E13A0 38 04 00 07 */ addi r0, r4, 7 +/* 802E4444 002E13A4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802E4448 002E13A8 7C 09 03 A6 */ mtctr r0 +/* 802E444C 002E13AC 2C 04 00 00 */ cmpwi r4, 0 +/* 802E4450 002E13B0 40 81 00 0C */ ble lbl_802E445C +lbl_802E4454: +/* 802E4454 002E13B4 38 63 00 08 */ addi r3, r3, 8 +/* 802E4458 002E13B8 42 00 FF FC */ bdnz lbl_802E4454 +lbl_802E445C: +/* 802E445C 002E13BC 7C 03 28 50 */ subf r0, r3, r5 +/* 802E4460 002E13C0 7C 09 03 A6 */ mtctr r0 +/* 802E4464 002E13C4 7C 03 28 00 */ cmpw r3, r5 +/* 802E4468 002E13C8 40 80 00 0C */ bge lbl_802E4474 +lbl_802E446C: +/* 802E446C 002E13CC 38 63 00 01 */ addi r3, r3, 1 +/* 802E4470 002E13D0 42 00 FF FC */ bdnz lbl_802E446C +lbl_802E4474: +/* 802E4474 002E13D4 38 00 00 00 */ li r0, 0 +/* 802E4478 002E13D8 90 01 00 44 */ stw r0, 0x44(r1) +lbl_802E447C: +/* 802E447C 002E13DC 3B 39 00 01 */ addi r25, r25, 1 +lbl_802E4480: +/* 802E4480 002E13E0 7C 19 E8 40 */ cmplw r25, r29 +/* 802E4484 002E13E4 41 80 FE 04 */ blt lbl_802E4288 +/* 802E4488 002E13E8 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 802E448C 002E13EC 38 60 00 00 */ li r3, 0 +/* 802E4490 002E13F0 2C 05 00 00 */ cmpwi r5, 0 +/* 802E4494 002E13F4 40 81 00 40 */ ble lbl_802E44D4 +/* 802E4498 002E13F8 2C 05 00 08 */ cmpwi r5, 8 +/* 802E449C 002E13FC 38 85 FF F8 */ addi r4, r5, -8 +/* 802E44A0 002E1400 40 81 00 20 */ ble lbl_802E44C0 +/* 802E44A4 002E1404 38 04 00 07 */ addi r0, r4, 7 +/* 802E44A8 002E1408 54 00 E8 FE */ srwi r0, r0, 3 +/* 802E44AC 002E140C 7C 09 03 A6 */ mtctr r0 +/* 802E44B0 002E1410 2C 04 00 00 */ cmpwi r4, 0 +/* 802E44B4 002E1414 40 81 00 0C */ ble lbl_802E44C0 +lbl_802E44B8: +/* 802E44B8 002E1418 38 63 00 08 */ addi r3, r3, 8 +/* 802E44BC 002E141C 42 00 FF FC */ bdnz lbl_802E44B8 +lbl_802E44C0: +/* 802E44C0 002E1420 7C 03 28 50 */ subf r0, r3, r5 +/* 802E44C4 002E1424 7C 09 03 A6 */ mtctr r0 +/* 802E44C8 002E1428 7C 03 28 00 */ cmpw r3, r5 +/* 802E44CC 002E142C 40 80 00 08 */ bge lbl_802E44D4 +lbl_802E44D0: +/* 802E44D0 002E1430 42 00 00 00 */ bdnz lbl_802E44D0 +lbl_802E44D4: +/* 802E44D4 002E1434 38 00 00 00 */ li r0, 0 +/* 802E44D8 002E1438 7E C3 B3 78 */ mr r3, r22 +/* 802E44DC 002E143C 90 01 00 68 */ stw r0, 0x68(r1) +/* 802E44E0 002E1440 BA C1 00 98 */ lmw r22, 0x98(r1) +/* 802E44E4 002E1444 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802E44E8 002E1448 7C 08 03 A6 */ mtlr r0 +/* 802E44EC 002E144C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802E44F0 002E1450 4E 80 00 20 */ blr + +.global __ct__13CPASAnimStateFi +__ct__13CPASAnimStateFi: +/* 802E44F4 002E1454 90 83 00 00 */ stw r4, 0(r3) +/* 802E44F8 002E1458 38 00 00 00 */ li r0, 0 +/* 802E44FC 002E145C 90 03 00 08 */ stw r0, 8(r3) +/* 802E4500 002E1460 90 03 00 0C */ stw r0, 0xc(r3) +/* 802E4504 002E1464 90 03 00 10 */ stw r0, 0x10(r3) +/* 802E4508 002E1468 90 03 00 18 */ stw r0, 0x18(r3) +/* 802E450C 002E146C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802E4510 002E1470 90 03 00 20 */ stw r0, 0x20(r3) +/* 802E4514 002E1474 90 03 00 28 */ stw r0, 0x28(r3) +/* 802E4518 002E1478 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802E451C 002E147C 90 03 00 30 */ stw r0, 0x30(r3) +/* 802E4520 002E1480 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" +"lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo": +/* 802E4524 002E1484 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E4528 002E1488 7C 08 02 A6 */ mflr r0 +/* 802E452C 002E148C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E4530 002E1490 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802E4534 002E1494 7C 9F 23 78 */ mr r31, r4 +/* 802E4538 002E1498 7C 7E 1B 78 */ mr r30, r3 +/* 802E453C 002E149C 7C DB 33 78 */ mr r27, r6 +/* 802E4540 002E14A0 38 61 00 0C */ addi r3, r1, 0xc +/* 802E4544 002E14A4 80 85 00 00 */ lwz r4, 0(r5) +/* 802E4548 002E14A8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E454C 002E14AC 90 81 00 08 */ stw r4, 8(r1) +/* 802E4550 002E14B0 38 81 00 08 */ addi r4, r1, 8 +/* 802E4554 002E14B4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E4558 002E14B8 48 00 04 71 */ bl "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 802E455C 002E14BC 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E4560 002E14C0 7C 7D 1B 78 */ mr r29, r3 +/* 802E4564 002E14C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E4568 002E14C8 48 00 00 58 */ b lbl_802E45C0 +lbl_802E456C: +/* 802E456C 002E14CC 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 802E4570 002E14D0 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E4574 002E14D4 7C 83 EA 14 */ add r4, r3, r29 +/* 802E4578 002E14D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E457C 002E14DC 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 802E4580 002E14E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E4584 002E14E4 7F 84 E3 78 */ mr r4, r28 +/* 802E4588 002E14E8 48 00 03 C1 */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 802E458C 002E14EC 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802E4590 002E14F0 80 1B 00 00 */ lwz r0, 0(r27) +/* 802E4594 002E14F4 80 64 00 00 */ lwz r3, 0(r4) +/* 802E4598 002E14F8 7C 03 00 00 */ cmpw r3, r0 +/* 802E459C 002E14FC 40 80 00 20 */ bge lbl_802E45BC +/* 802E45A0 002E1500 90 9F 00 00 */ stw r4, 0(r31) +/* 802E45A4 002E1504 7C 7C E8 50 */ subf r3, r28, r29 +/* 802E45A8 002E1508 3B A3 FF FF */ addi r29, r3, -1 +/* 802E45AC 002E150C 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E45B0 002E1510 38 03 00 28 */ addi r0, r3, 0x28 +/* 802E45B4 002E1514 90 1F 00 00 */ stw r0, 0(r31) +/* 802E45B8 002E1518 48 00 00 08 */ b lbl_802E45C0 +lbl_802E45BC: +/* 802E45BC 002E151C 7F 9D E3 78 */ mr r29, r28 +lbl_802E45C0: +/* 802E45C0 002E1520 2C 1D 00 00 */ cmpwi r29, 0 +/* 802E45C4 002E1524 41 81 FF A8 */ bgt lbl_802E456C +/* 802E45C8 002E1528 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E45CC 002E152C 90 1E 00 00 */ stw r0, 0(r30) +/* 802E45D0 002E1530 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802E45D4 002E1534 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E45D8 002E1538 7C 08 03 A6 */ mtlr r0 +/* 802E45DC 002E153C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E45E0 002E1540 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo" +"lower_bound,Q24rstl17rmemory_allocator>,12CPASAnimInfo>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC12CPASAnimInfo": +/* 802E45E4 002E1544 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E45E8 002E1548 7C 08 02 A6 */ mflr r0 +/* 802E45EC 002E154C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E45F0 002E1550 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802E45F4 002E1554 7C 9F 23 78 */ mr r31, r4 +/* 802E45F8 002E1558 7C 7E 1B 78 */ mr r30, r3 +/* 802E45FC 002E155C 7C DB 33 78 */ mr r27, r6 +/* 802E4600 002E1560 38 61 00 0C */ addi r3, r1, 0xc +/* 802E4604 002E1564 80 85 00 00 */ lwz r4, 0(r5) +/* 802E4608 002E1568 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E460C 002E156C 90 81 00 08 */ stw r4, 8(r1) +/* 802E4610 002E1570 38 81 00 08 */ addi r4, r1, 8 +/* 802E4614 002E1574 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E4618 002E1578 48 00 03 F5 */ bl "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 802E461C 002E157C 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E4620 002E1580 7C 7D 1B 78 */ mr r29, r3 +/* 802E4624 002E1584 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E4628 002E1588 48 00 00 58 */ b lbl_802E4680 +lbl_802E462C: +/* 802E462C 002E158C 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 802E4630 002E1590 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E4634 002E1594 7C 83 EA 14 */ add r4, r3, r29 +/* 802E4638 002E1598 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E463C 002E159C 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 802E4640 002E15A0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E4644 002E15A4 7F 84 E3 78 */ mr r4, r28 +/* 802E4648 002E15A8 48 00 03 2D */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 802E464C 002E15AC 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802E4650 002E15B0 80 1B 00 00 */ lwz r0, 0(r27) +/* 802E4654 002E15B4 80 64 00 00 */ lwz r3, 0(r4) +/* 802E4658 002E15B8 7C 03 00 00 */ cmpw r3, r0 +/* 802E465C 002E15BC 40 80 00 20 */ bge lbl_802E467C +/* 802E4660 002E15C0 90 9F 00 00 */ stw r4, 0(r31) +/* 802E4664 002E15C4 7C 7C E8 50 */ subf r3, r28, r29 +/* 802E4668 002E15C8 3B A3 FF FF */ addi r29, r3, -1 +/* 802E466C 002E15CC 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E4670 002E15D0 38 03 00 28 */ addi r0, r3, 0x28 +/* 802E4674 002E15D4 90 1F 00 00 */ stw r0, 0(r31) +/* 802E4678 002E15D8 48 00 00 08 */ b lbl_802E4680 +lbl_802E467C: +/* 802E467C 002E15DC 7F 9D E3 78 */ mr r29, r28 +lbl_802E4680: +/* 802E4680 002E15E0 2C 1D 00 00 */ cmpwi r29, 0 +/* 802E4684 002E15E4 41 81 FF A8 */ bgt lbl_802E462C +/* 802E4688 002E15E8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E468C 002E15EC 90 1E 00 00 */ stw r0, 0(r30) +/* 802E4690 002E15F0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802E4694 002E15F4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E4698 002E15F8 7C 08 03 A6 */ mtlr r0 +/* 802E469C 002E15FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E46A0 002E1600 4E 80 00 20 */ blr + +.global "reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl49vector<12CPASParmInfo,Q24rstl17rmemory_allocator>Fi": +/* 802E46A4 002E1604 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E46A8 002E1608 7C 08 02 A6 */ mflr r0 +/* 802E46AC 002E160C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E46B0 002E1610 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E46B4 002E1614 7C 9F 23 78 */ mr r31, r4 +/* 802E46B8 002E1618 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E46BC 002E161C 7C 7E 1B 78 */ mr r30, r3 +/* 802E46C0 002E1620 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E46C4 002E1624 80 03 00 08 */ lwz r0, 8(r3) +/* 802E46C8 002E1628 7C 1F 00 00 */ cmpw r31, r0 +/* 802E46CC 002E162C 40 81 00 CC */ ble lbl_802E4798 +/* 802E46D0 002E1630 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 802E46D4 002E1634 2C 03 00 00 */ cmpwi r3, 0 +/* 802E46D8 002E1638 40 82 00 0C */ bne lbl_802E46E4 +/* 802E46DC 002E163C 3B A0 00 00 */ li r29, 0 +/* 802E46E0 002E1640 48 00 00 18 */ b lbl_802E46F8 +lbl_802E46E4: +/* 802E46E4 002E1644 3C 80 80 3D */ lis r4, lbl_803D6DA8@ha +/* 802E46E8 002E1648 38 A0 00 00 */ li r5, 0 +/* 802E46EC 002E164C 38 84 6D A8 */ addi r4, r4, lbl_803D6DA8@l +/* 802E46F0 002E1650 48 03 11 29 */ bl __nwa__FUlPCcPCc +/* 802E46F4 002E1654 7C 7D 1B 78 */ mr r29, r3 +lbl_802E46F8: +/* 802E46F8 002E1658 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E46FC 002E165C 7F A4 EB 78 */ mr r4, r29 +/* 802E4700 002E1660 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802E4704 002E1664 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802E4708 002E1668 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802E470C 002E166C 7C 65 02 14 */ add r3, r5, r0 +/* 802E4710 002E1670 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802E4714 002E1674 90 61 00 08 */ stw r3, 8(r1) +/* 802E4718 002E1678 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E471C 002E167C 48 00 00 3C */ b lbl_802E4758 +lbl_802E4720: +/* 802E4720 002E1680 28 04 00 00 */ cmplwi r4, 0 +/* 802E4724 002E1684 41 82 00 2C */ beq lbl_802E4750 +/* 802E4728 002E1688 80 05 00 00 */ lwz r0, 0(r5) +/* 802E472C 002E168C 90 04 00 00 */ stw r0, 0(r4) +/* 802E4730 002E1690 80 05 00 04 */ lwz r0, 4(r5) +/* 802E4734 002E1694 90 04 00 04 */ stw r0, 4(r4) +/* 802E4738 002E1698 C0 05 00 08 */ lfs f0, 8(r5) +/* 802E473C 002E169C D0 04 00 08 */ stfs f0, 8(r4) +/* 802E4740 002E16A0 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802E4744 002E16A4 90 04 00 0C */ stw r0, 0xc(r4) +/* 802E4748 002E16A8 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802E474C 002E16AC 90 04 00 10 */ stw r0, 0x10(r4) +lbl_802E4750: +/* 802E4750 002E16B0 38 84 00 14 */ addi r4, r4, 0x14 +/* 802E4754 002E16B4 38 A5 00 14 */ addi r5, r5, 0x14 +lbl_802E4758: +/* 802E4758 002E16B8 7C 05 18 40 */ cmplw r5, r3 +/* 802E475C 002E16BC 40 82 FF C4 */ bne lbl_802E4720 +/* 802E4760 002E16C0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E4764 002E16C4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E4768 002E16C8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802E476C 002E16CC 7C 64 1B 78 */ mr r4, r3 +/* 802E4770 002E16D0 7C 03 02 14 */ add r0, r3, r0 +/* 802E4774 002E16D4 48 00 00 08 */ b lbl_802E477C +lbl_802E4778: +/* 802E4778 002E16D8 38 84 00 14 */ addi r4, r4, 0x14 +lbl_802E477C: +/* 802E477C 002E16DC 7C 04 00 40 */ cmplw r4, r0 +/* 802E4780 002E16E0 40 82 FF F8 */ bne lbl_802E4778 +/* 802E4784 002E16E4 28 03 00 00 */ cmplwi r3, 0 +/* 802E4788 002E16E8 41 82 00 08 */ beq lbl_802E4790 +/* 802E478C 002E16EC 48 03 11 A5 */ bl Free__7CMemoryFPCv +lbl_802E4790: +/* 802E4790 002E16F0 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802E4794 002E16F4 93 FE 00 08 */ stw r31, 8(r30) +lbl_802E4798: +/* 802E4798 002E16F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E479C 002E16FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E47A0 002E1700 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E47A4 002E1704 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E47A8 002E1708 7C 08 03 A6 */ mtlr r0 +/* 802E47AC 002E170C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E47B0 002E1710 4E 80 00 20 */ blr + +.global "reserve__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>Fi": +/* 802E47B4 002E1714 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E47B8 002E1718 7C 08 02 A6 */ mflr r0 +/* 802E47BC 002E171C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E47C0 002E1720 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E47C4 002E1724 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E47C8 002E1728 7C 9E 23 78 */ mr r30, r4 +/* 802E47CC 002E172C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E47D0 002E1730 7C 7D 1B 78 */ mr r29, r3 +/* 802E47D4 002E1734 80 03 00 08 */ lwz r0, 8(r3) +/* 802E47D8 002E1738 7C 1E 00 00 */ cmpw r30, r0 +/* 802E47DC 002E173C 40 81 01 50 */ ble lbl_802E492C +/* 802E47E0 002E1740 1C 7E 00 28 */ mulli r3, r30, 0x28 +/* 802E47E4 002E1744 2C 03 00 00 */ cmpwi r3, 0 +/* 802E47E8 002E1748 40 82 00 0C */ bne lbl_802E47F4 +/* 802E47EC 002E174C 3B E0 00 00 */ li r31, 0 +/* 802E47F0 002E1750 48 00 00 18 */ b lbl_802E4808 +lbl_802E47F4: +/* 802E47F4 002E1754 3C 80 80 3D */ lis r4, lbl_803D6DA8@ha +/* 802E47F8 002E1758 38 A0 00 00 */ li r5, 0 +/* 802E47FC 002E175C 38 84 6D A8 */ addi r4, r4, lbl_803D6DA8@l +/* 802E4800 002E1760 48 03 10 19 */ bl __nwa__FUlPCcPCc +/* 802E4804 002E1764 7C 7F 1B 78 */ mr r31, r3 +lbl_802E4808: +/* 802E4808 002E1768 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E480C 002E176C 7F E4 FB 78 */ mr r4, r31 +/* 802E4810 002E1770 80 FD 00 0C */ lwz r7, 0xc(r29) +/* 802E4814 002E1774 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E4818 002E1778 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E481C 002E177C 7C 67 02 14 */ add r3, r7, r0 +/* 802E4820 002E1780 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802E4824 002E1784 90 61 00 08 */ stw r3, 8(r1) +/* 802E4828 002E1788 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E482C 002E178C 48 00 00 58 */ b lbl_802E4884 +lbl_802E4830: +/* 802E4830 002E1790 28 04 00 00 */ cmplwi r4, 0 +/* 802E4834 002E1794 41 82 00 48 */ beq lbl_802E487C +/* 802E4838 002E1798 80 07 00 00 */ lwz r0, 0(r7) +/* 802E483C 002E179C 38 C7 00 08 */ addi r6, r7, 8 +/* 802E4840 002E17A0 38 A4 00 08 */ addi r5, r4, 8 +/* 802E4844 002E17A4 90 04 00 00 */ stw r0, 0(r4) +/* 802E4848 002E17A8 80 07 00 04 */ lwz r0, 4(r7) +/* 802E484C 002E17AC 90 04 00 04 */ stw r0, 4(r4) +/* 802E4850 002E17B0 80 04 00 04 */ lwz r0, 4(r4) +/* 802E4854 002E17B4 7C 09 03 A6 */ mtctr r0 +/* 802E4858 002E17B8 2C 00 00 00 */ cmpwi r0, 0 +/* 802E485C 002E17BC 40 81 00 20 */ ble lbl_802E487C +lbl_802E4860: +/* 802E4860 002E17C0 28 05 00 00 */ cmplwi r5, 0 +/* 802E4864 002E17C4 41 82 00 0C */ beq lbl_802E4870 +/* 802E4868 002E17C8 80 06 00 00 */ lwz r0, 0(r6) +/* 802E486C 002E17CC 90 05 00 00 */ stw r0, 0(r5) +lbl_802E4870: +/* 802E4870 002E17D0 38 A5 00 04 */ addi r5, r5, 4 +/* 802E4874 002E17D4 38 C6 00 04 */ addi r6, r6, 4 +/* 802E4878 002E17D8 42 00 FF E8 */ bdnz lbl_802E4860 +lbl_802E487C: +/* 802E487C 002E17DC 38 84 00 28 */ addi r4, r4, 0x28 +/* 802E4880 002E17E0 38 E7 00 28 */ addi r7, r7, 0x28 +lbl_802E4884: +/* 802E4884 002E17E4 7C 07 18 40 */ cmplw r7, r3 +/* 802E4888 002E17E8 40 82 FF A8 */ bne lbl_802E4830 +/* 802E488C 002E17EC 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E4890 002E17F0 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 802E4894 002E17F4 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E4898 002E17F8 7C 66 02 14 */ add r3, r6, r0 +/* 802E489C 002E17FC 48 00 00 70 */ b lbl_802E490C +lbl_802E48A0: +/* 802E48A0 002E1800 28 06 00 00 */ cmplwi r6, 0 +/* 802E48A4 002E1804 41 82 00 64 */ beq lbl_802E4908 +/* 802E48A8 002E1808 34 06 00 04 */ addic. r0, r6, 4 +/* 802E48AC 002E180C 41 82 00 5C */ beq lbl_802E4908 +/* 802E48B0 002E1810 80 E6 00 04 */ lwz r7, 4(r6) +/* 802E48B4 002E1814 38 80 00 00 */ li r4, 0 +/* 802E48B8 002E1818 2C 07 00 00 */ cmpwi r7, 0 +/* 802E48BC 002E181C 40 81 00 44 */ ble lbl_802E4900 +/* 802E48C0 002E1820 2C 07 00 08 */ cmpwi r7, 8 +/* 802E48C4 002E1824 38 A7 FF F8 */ addi r5, r7, -8 +/* 802E48C8 002E1828 40 81 00 20 */ ble lbl_802E48E8 +/* 802E48CC 002E182C 38 05 00 07 */ addi r0, r5, 7 +/* 802E48D0 002E1830 54 00 E8 FE */ srwi r0, r0, 3 +/* 802E48D4 002E1834 7C 09 03 A6 */ mtctr r0 +/* 802E48D8 002E1838 2C 05 00 00 */ cmpwi r5, 0 +/* 802E48DC 002E183C 40 81 00 0C */ ble lbl_802E48E8 +lbl_802E48E0: +/* 802E48E0 002E1840 38 84 00 08 */ addi r4, r4, 8 +/* 802E48E4 002E1844 42 00 FF FC */ bdnz lbl_802E48E0 +lbl_802E48E8: +/* 802E48E8 002E1848 7C 04 38 50 */ subf r0, r4, r7 +/* 802E48EC 002E184C 7C 09 03 A6 */ mtctr r0 +/* 802E48F0 002E1850 7C 04 38 00 */ cmpw r4, r7 +/* 802E48F4 002E1854 40 80 00 0C */ bge lbl_802E4900 +lbl_802E48F8: +/* 802E48F8 002E1858 38 84 00 01 */ addi r4, r4, 1 +/* 802E48FC 002E185C 42 00 FF FC */ bdnz lbl_802E48F8 +lbl_802E4900: +/* 802E4900 002E1860 38 00 00 00 */ li r0, 0 +/* 802E4904 002E1864 90 06 00 04 */ stw r0, 4(r6) +lbl_802E4908: +/* 802E4908 002E1868 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_802E490C: +/* 802E490C 002E186C 7C 06 18 40 */ cmplw r6, r3 +/* 802E4910 002E1870 40 82 FF 90 */ bne lbl_802E48A0 +/* 802E4914 002E1874 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802E4918 002E1878 28 03 00 00 */ cmplwi r3, 0 +/* 802E491C 002E187C 41 82 00 08 */ beq lbl_802E4924 +/* 802E4920 002E1880 48 03 10 11 */ bl Free__7CMemoryFPCv +lbl_802E4924: +/* 802E4924 002E1884 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802E4928 002E1888 93 DD 00 08 */ stw r30, 8(r29) +lbl_802E492C: +/* 802E492C 002E188C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E4930 002E1890 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E4934 002E1894 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E4938 002E1898 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E493C 002E189C 7C 08 03 A6 */ mtlr r0 +/* 802E4940 002E18A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E4944 002E18A4 4E 80 00 20 */ blr + +.global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 802E4948 002E18A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E494C 002E18AC 7C 08 02 A6 */ mflr r0 +/* 802E4950 002E18B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4954 002E18B4 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E4958 002E18B8 88 01 00 08 */ lbz r0, 8(r1) +/* 802E495C 002E18BC 98 01 00 0C */ stb r0, 0xc(r1) +/* 802E4960 002E18C0 48 00 00 55 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 802E4964 002E18C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E4968 002E18C8 7C 08 03 A6 */ mtlr r0 +/* 802E496C 002E18CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E4970 002E18D0 4E 80 00 20 */ blr + +.global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 802E4974 002E18D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E4978 002E18D8 7C 08 02 A6 */ mflr r0 +/* 802E497C 002E18DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4980 002E18E0 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E4984 002E18E4 88 01 00 08 */ lbz r0, 8(r1) +/* 802E4988 002E18E8 98 01 00 0C */ stb r0, 0xc(r1) +/* 802E498C 002E18EC 48 00 00 15 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 802E4990 002E18F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E4994 002E18F4 7C 08 03 A6 */ mtlr r0 +/* 802E4998 002E18F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E499C 002E18FC 4E 80 00 20 */ blr + +.global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 802E49A0 002E1900 1C 04 00 28 */ mulli r0, r4, 0x28 +/* 802E49A4 002E1904 80 83 00 00 */ lwz r4, 0(r3) +/* 802E49A8 002E1908 7C 04 02 14 */ add r0, r4, r0 +/* 802E49AC 002E190C 90 03 00 00 */ stw r0, 0(r3) +/* 802E49B0 002E1910 4E 80 00 20 */ blr + +.global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 802E49B4 002E1914 1C 04 00 28 */ mulli r0, r4, 0x28 +/* 802E49B8 002E1918 80 83 00 00 */ lwz r4, 0(r3) +/* 802E49BC 002E191C 7C 04 02 14 */ add r0, r4, r0 +/* 802E49C0 002E1920 90 03 00 00 */ stw r0, 0(r3) +/* 802E49C4 002E1924 4E 80 00 20 */ blr + +.global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 802E49C8 002E1928 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E49CC 002E192C 7C 08 02 A6 */ mflr r0 +/* 802E49D0 002E1930 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E49D4 002E1934 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E49D8 002E1938 88 E1 00 08 */ lbz r7, 8(r1) +/* 802E49DC 002E193C 80 C4 00 00 */ lwz r6, 0(r4) +/* 802E49E0 002E1940 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E49E4 002E1944 80 03 00 00 */ lwz r0, 0(r3) +/* 802E49E8 002E1948 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E49EC 002E194C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802E49F0 002E1950 98 E1 00 0C */ stb r7, 0xc(r1) +/* 802E49F4 002E1954 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E49F8 002E1958 48 00 00 59 */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +/* 802E49FC 002E195C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E4A00 002E1960 7C 08 03 A6 */ mtlr r0 +/* 802E4A04 002E1964 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E4A08 002E1968 4E 80 00 20 */ blr + +.global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 802E4A0C 002E196C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E4A10 002E1970 7C 08 02 A6 */ mflr r0 +/* 802E4A14 002E1974 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E4A18 002E1978 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E4A1C 002E197C 88 E1 00 08 */ lbz r7, 8(r1) +/* 802E4A20 002E1980 80 C4 00 00 */ lwz r6, 0(r4) +/* 802E4A24 002E1984 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E4A28 002E1988 80 03 00 00 */ lwz r0, 0(r3) +/* 802E4A2C 002E198C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E4A30 002E1990 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802E4A34 002E1994 98 E1 00 0C */ stb r7, 0xc(r1) +/* 802E4A38 002E1998 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4A3C 002E199C 48 00 00 3D */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +/* 802E4A40 002E19A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E4A44 002E19A4 7C 08 03 A6 */ mtlr r0 +/* 802E4A48 002E19A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E4A4C 002E19AC 4E 80 00 20 */ blr + +.global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +"__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl118pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": +/* 802E4A50 002E19B0 80 A3 00 00 */ lwz r5, 0(r3) +/* 802E4A54 002E19B4 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 802E4A58 002E19B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802E4A5C 002E19BC 38 63 66 67 */ addi r3, r3, 0x66666667@l +/* 802E4A60 002E19C0 7C 05 00 50 */ subf r0, r5, r0 +/* 802E4A64 002E19C4 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802E4A68 002E19C8 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E4A6C 002E19CC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E4A70 002E19D0 7C 60 1A 14 */ add r3, r0, r3 +/* 802E4A74 002E19D4 4E 80 00 20 */ blr + +.global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +"__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl124const_pointer_iterator<12CPASAnimInfo,Q24rstl49vector<12CPASAnimInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": +/* 802E4A78 002E19D8 80 A3 00 00 */ lwz r5, 0(r3) +/* 802E4A7C 002E19DC 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 802E4A80 002E19E0 80 04 00 00 */ lwz r0, 0(r4) +/* 802E4A84 002E19E4 38 63 66 67 */ addi r3, r3, 0x66666667@l +/* 802E4A88 002E19E8 7C 05 00 50 */ subf r0, r5, r0 +/* 802E4A8C 002E19EC 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802E4A90 002E19F0 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E4A94 002E19F4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E4A98 002E19F8 7C 60 1A 14 */ add r3, r0, r3 +/* 802E4A9C 002E19FC 4E 80 00 20 */ blr + +.global AddAnimState__12CPASDatabaseFRC13CPASAnimState +AddAnimState__12CPASDatabaseFRC13CPASAnimState: +/* 802E4AA0 002E1A00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E4AA4 002E1A04 7C 08 02 A6 */ mflr r0 +/* 802E4AA8 002E1A08 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E4AAC 002E1A0C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E4AB0 002E1A10 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E4AB4 002E1A14 7C 9F 23 78 */ mr r31, r4 +/* 802E4AB8 002E1A18 7F E6 FB 78 */ mr r6, r31 +/* 802E4ABC 002E1A1C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802E4AC0 002E1A20 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E4AC4 002E1A24 7C 7E 1B 78 */ mr r30, r3 +/* 802E4AC8 002E1A28 80 03 00 04 */ lwz r0, 4(r3) +/* 802E4ACC 002E1A2C 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 802E4AD0 002E1A30 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E4AD4 002E1A34 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E4AD8 002E1A38 7C E7 02 14 */ add r7, r7, r0 +/* 802E4ADC 002E1A3C 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802E4AE0 002E1A40 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802E4AE4 002E1A44 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E4AE8 002E1A48 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E4AEC 002E1A4C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E4AF0 002E1A50 48 00 09 11 */ bl "lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +/* 802E4AF4 002E1A54 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802E4AF8 002E1A58 7F C4 F3 78 */ mr r4, r30 +/* 802E4AFC 002E1A5C 7F E6 FB 78 */ mr r6, r31 +/* 802E4B00 002E1A60 38 61 00 0C */ addi r3, r1, 0xc +/* 802E4B04 002E1A64 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E4B08 002E1A68 38 A1 00 08 */ addi r5, r1, 8 +/* 802E4B0C 002E1A6C 90 01 00 08 */ stw r0, 8(r1) +/* 802E4B10 002E1A70 48 00 00 1D */ bl "insert__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>FQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +/* 802E4B14 002E1A74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E4B18 002E1A78 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E4B1C 002E1A7C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E4B20 002E1A80 7C 08 03 A6 */ mtlr r0 +/* 802E4B24 002E1A84 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E4B28 002E1A88 4E 80 00 20 */ blr + +.global "insert__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>FQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +"insert__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>FQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState": +/* 802E4B2C 002E1A8C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E4B30 002E1A90 7C 08 02 A6 */ mflr r0 +/* 802E4B34 002E1A94 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E4B38 002E1A98 38 00 00 00 */ li r0, 0 +/* 802E4B3C 002E1A9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E4B40 002E1AA0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E4B44 002E1AA4 7C 9E 23 78 */ mr r30, r4 +/* 802E4B48 002E1AA8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E4B4C 002E1AAC 7C 7D 1B 78 */ mr r29, r3 +/* 802E4B50 002E1AB0 7F C3 F3 78 */ mr r3, r30 +/* 802E4B54 002E1AB4 81 05 00 00 */ lwz r8, 0(r5) +/* 802E4B58 002E1AB8 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802E4B5C 002E1ABC 3C 80 4E C5 */ lis r4, 0x4EC4EC4F@ha +/* 802E4B60 002E1AC0 38 84 EC 4F */ addi r4, r4, 0x4EC4EC4F@l +/* 802E4B64 002E1AC4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802E4B68 002E1AC8 7C A5 40 50 */ subf r5, r5, r8 +/* 802E4B6C 002E1ACC 7C E4 28 96 */ mulhw r7, r4, r5 +/* 802E4B70 002E1AD0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802E4B74 002E1AD4 38 81 00 08 */ addi r4, r1, 8 +/* 802E4B78 002E1AD8 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E4B7C 002E1ADC 38 C1 00 0C */ addi r6, r1, 0xc +/* 802E4B80 002E1AE0 38 A0 00 01 */ li r5, 1 +/* 802E4B84 002E1AE4 7C E7 26 70 */ srawi r7, r7, 4 +/* 802E4B88 002E1AE8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E4B8C 002E1AEC 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 802E4B90 002E1AF0 91 01 00 08 */ stw r8, 8(r1) +/* 802E4B94 002E1AF4 7F E7 02 14 */ add r31, r7, r0 +/* 802E4B98 002E1AF8 48 00 00 31 */ bl "insert_into>__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>FQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl40const_counting_iterator<13CPASAnimState>" +/* 802E4B9C 002E1AFC 1C 1F 00 34 */ mulli r0, r31, 0x34 +/* 802E4BA0 002E1B00 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E4BA4 002E1B04 7C 63 02 14 */ add r3, r3, r0 +/* 802E4BA8 002E1B08 90 7D 00 00 */ stw r3, 0(r29) +/* 802E4BAC 002E1B0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E4BB0 002E1B10 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E4BB4 002E1B14 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E4BB8 002E1B18 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E4BBC 002E1B1C 7C 08 03 A6 */ mtlr r0 +/* 802E4BC0 002E1B20 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E4BC4 002E1B24 4E 80 00 20 */ blr + +.global "insert_into>__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>FQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl40const_counting_iterator<13CPASAnimState>" +"insert_into>__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>FQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl40const_counting_iterator<13CPASAnimState>": +/* 802E4BC8 002E1B28 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E4BCC 002E1B2C 7C 08 02 A6 */ mflr r0 +/* 802E4BD0 002E1B30 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E4BD4 002E1B34 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 802E4BD8 002E1B38 7C BA 2B 78 */ mr r26, r5 +/* 802E4BDC 002E1B3C 7C 79 1B 78 */ mr r25, r3 +/* 802E4BE0 002E1B40 7C 95 23 78 */ mr r21, r4 +/* 802E4BE4 002E1B44 80 A3 00 04 */ lwz r5, 4(r3) +/* 802E4BE8 002E1B48 80 63 00 08 */ lwz r3, 8(r3) +/* 802E4BEC 002E1B4C 7C E5 D2 14 */ add r7, r5, r26 +/* 802E4BF0 002E1B50 80 99 00 0C */ lwz r4, 0xc(r25) +/* 802E4BF4 002E1B54 7C 07 18 00 */ cmpw r7, r3 +/* 802E4BF8 002E1B58 83 C6 00 00 */ lwz r30, 0(r6) +/* 802E4BFC 002E1B5C 7C 9D 23 78 */ mr r29, r4 +/* 802E4C00 002E1B60 41 81 00 B4 */ bgt lbl_802E4CB4 +/* 802E4C04 002E1B64 80 15 00 00 */ lwz r0, 0(r21) +/* 802E4C08 002E1B68 3C 60 4E C5 */ lis r3, 0x4EC4EC4F@ha +/* 802E4C0C 002E1B6C 38 63 EC 4F */ addi r3, r3, 0x4EC4EC4F@l +/* 802E4C10 002E1B70 7C 04 00 50 */ subf r0, r4, r0 +/* 802E4C14 002E1B74 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802E4C18 002E1B78 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E4C1C 002E1B7C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E4C20 002E1B80 7F 60 1A 14 */ add r27, r0, r3 +/* 802E4C24 002E1B84 7C 7B 28 50 */ subf r3, r27, r5 +/* 802E4C28 002E1B88 3A E3 FF FF */ addi r23, r3, -1 +/* 802E4C2C 002E1B8C 1C 7B 00 34 */ mulli r3, r27, 0x34 +/* 802E4C30 002E1B90 1C 1A 00 34 */ mulli r0, r26, 0x34 +/* 802E4C34 002E1B94 7E C4 1A 14 */ add r22, r4, r3 +/* 802E4C38 002E1B98 1C 77 00 34 */ mulli r3, r23, 0x34 +/* 802E4C3C 002E1B9C 7F 00 1A 14 */ add r24, r0, r3 +/* 802E4C40 002E1BA0 7F 16 C2 14 */ add r24, r22, r24 +/* 802E4C44 002E1BA4 7F 96 1A 14 */ add r28, r22, r3 +/* 802E4C48 002E1BA8 48 00 00 30 */ b lbl_802E4C78 +lbl_802E4C4C: +/* 802E4C4C 002E1BAC 7C 1B BA 14 */ add r0, r27, r23 +/* 802E4C50 002E1BB0 80 99 00 0C */ lwz r4, 0xc(r25) +/* 802E4C54 002E1BB4 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E4C58 002E1BB8 7F 03 C3 78 */ mr r3, r24 +/* 802E4C5C 002E1BBC 7C 84 02 14 */ add r4, r4, r0 +/* 802E4C60 002E1BC0 48 00 02 25 */ bl "__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv" +/* 802E4C64 002E1BC4 7F 83 E3 78 */ mr r3, r28 +/* 802E4C68 002E1BC8 48 00 01 F9 */ bl sub_802e4e60 +/* 802E4C6C 002E1BCC 3B 18 FF CC */ addi r24, r24, -52 +/* 802E4C70 002E1BD0 3B 9C FF CC */ addi r28, r28, -52 +/* 802E4C74 002E1BD4 3A F7 FF FF */ addi r23, r23, -1 +lbl_802E4C78: +/* 802E4C78 002E1BD8 2C 17 00 00 */ cmpwi r23, 0 +/* 802E4C7C 002E1BDC 40 80 FF D0 */ bge lbl_802E4C4C +/* 802E4C80 002E1BE0 3A E0 00 00 */ li r23, 0 +/* 802E4C84 002E1BE4 48 00 00 18 */ b lbl_802E4C9C +lbl_802E4C88: +/* 802E4C88 002E1BE8 7E C3 B3 78 */ mr r3, r22 +/* 802E4C8C 002E1BEC 7F C4 F3 78 */ mr r4, r30 +/* 802E4C90 002E1BF0 48 00 01 F5 */ bl "__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv" +/* 802E4C94 002E1BF4 3A D6 00 34 */ addi r22, r22, 0x34 +/* 802E4C98 002E1BF8 3A F7 00 01 */ addi r23, r23, 1 +lbl_802E4C9C: +/* 802E4C9C 002E1BFC 7C 17 D0 00 */ cmpw r23, r26 +/* 802E4CA0 002E1C00 41 80 FF E8 */ blt lbl_802E4C88 +/* 802E4CA4 002E1C04 80 19 00 04 */ lwz r0, 4(r25) +/* 802E4CA8 002E1C08 7C 00 D2 14 */ add r0, r0, r26 +/* 802E4CAC 002E1C0C 90 19 00 04 */ stw r0, 4(r25) +/* 802E4CB0 002E1C10 48 00 01 50 */ b lbl_802E4E00 +lbl_802E4CB4: +/* 802E4CB4 002E1C14 2C 03 00 00 */ cmpwi r3, 0 +/* 802E4CB8 002E1C18 38 00 00 04 */ li r0, 4 +/* 802E4CBC 002E1C1C 41 82 00 08 */ beq lbl_802E4CC4 +/* 802E4CC0 002E1C20 54 60 08 3C */ slwi r0, r3, 1 +lbl_802E4CC4: +/* 802E4CC4 002E1C24 7C 1C 03 78 */ mr r28, r0 +/* 802E4CC8 002E1C28 48 00 00 08 */ b lbl_802E4CD0 +lbl_802E4CCC: +/* 802E4CCC 002E1C2C 57 9C 08 3C */ slwi r28, r28, 1 +lbl_802E4CD0: +/* 802E4CD0 002E1C30 7C 1C 38 00 */ cmpw r28, r7 +/* 802E4CD4 002E1C34 41 80 FF F8 */ blt lbl_802E4CCC +/* 802E4CD8 002E1C38 1C 7C 00 34 */ mulli r3, r28, 0x34 +/* 802E4CDC 002E1C3C 2C 03 00 00 */ cmpwi r3, 0 +/* 802E4CE0 002E1C40 40 82 00 0C */ bne lbl_802E4CEC +/* 802E4CE4 002E1C44 3B E0 00 00 */ li r31, 0 +/* 802E4CE8 002E1C48 48 00 00 18 */ b lbl_802E4D00 +lbl_802E4CEC: +/* 802E4CEC 002E1C4C 3C 80 80 3D */ lis r4, lbl_803D6DB0@ha +/* 802E4CF0 002E1C50 38 A0 00 00 */ li r5, 0 +/* 802E4CF4 002E1C54 38 84 6D B0 */ addi r4, r4, lbl_803D6DB0@l +/* 802E4CF8 002E1C58 48 03 0B 21 */ bl __nwa__FUlPCcPCc +/* 802E4CFC 002E1C5C 7C 7F 1B 78 */ mr r31, r3 +lbl_802E4D00: +/* 802E4D00 002E1C60 80 99 00 0C */ lwz r4, 0xc(r25) +/* 802E4D04 002E1C64 3C 60 4E C5 */ lis r3, 0x4EC4EC4F@ha +/* 802E4D08 002E1C68 80 15 00 00 */ lwz r0, 0(r21) +/* 802E4D0C 002E1C6C 38 63 EC 4F */ addi r3, r3, 0x4EC4EC4F@l +/* 802E4D10 002E1C70 7F F6 FB 78 */ mr r22, r31 +/* 802E4D14 002E1C74 3B 60 00 00 */ li r27, 0 +/* 802E4D18 002E1C78 7C 04 00 50 */ subf r0, r4, r0 +/* 802E4D1C 002E1C7C 3A A0 00 00 */ li r21, 0 +/* 802E4D20 002E1C80 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802E4D24 002E1C84 3A E0 00 00 */ li r23, 0 +/* 802E4D28 002E1C88 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E4D2C 002E1C8C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E4D30 002E1C90 7F 00 1A 14 */ add r24, r0, r3 +/* 802E4D34 002E1C94 48 00 00 24 */ b lbl_802E4D58 +lbl_802E4D38: +/* 802E4D38 002E1C98 80 19 00 0C */ lwz r0, 0xc(r25) +/* 802E4D3C 002E1C9C 7E C3 B3 78 */ mr r3, r22 +/* 802E4D40 002E1CA0 7C 80 BA 14 */ add r4, r0, r23 +/* 802E4D44 002E1CA4 48 00 01 41 */ bl "__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv" +/* 802E4D48 002E1CA8 3A D6 00 34 */ addi r22, r22, 0x34 +/* 802E4D4C 002E1CAC 3B 7B 00 01 */ addi r27, r27, 1 +/* 802E4D50 002E1CB0 3A F7 00 34 */ addi r23, r23, 0x34 +/* 802E4D54 002E1CB4 3A B5 00 01 */ addi r21, r21, 1 +lbl_802E4D58: +/* 802E4D58 002E1CB8 7C 15 C0 00 */ cmpw r21, r24 +/* 802E4D5C 002E1CBC 41 80 FF DC */ blt lbl_802E4D38 +/* 802E4D60 002E1CC0 1C 1B 00 34 */ mulli r0, r27, 0x34 +/* 802E4D64 002E1CC4 3A A0 00 00 */ li r21, 0 +/* 802E4D68 002E1CC8 7E DF 02 14 */ add r22, r31, r0 +/* 802E4D6C 002E1CCC 48 00 00 1C */ b lbl_802E4D88 +lbl_802E4D70: +/* 802E4D70 002E1CD0 7E C3 B3 78 */ mr r3, r22 +/* 802E4D74 002E1CD4 7F C4 F3 78 */ mr r4, r30 +/* 802E4D78 002E1CD8 48 00 01 0D */ bl "__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv" +/* 802E4D7C 002E1CDC 3A D6 00 34 */ addi r22, r22, 0x34 +/* 802E4D80 002E1CE0 3B 7B 00 01 */ addi r27, r27, 1 +/* 802E4D84 002E1CE4 3A B5 00 01 */ addi r21, r21, 1 +lbl_802E4D88: +/* 802E4D88 002E1CE8 7C 15 D0 00 */ cmpw r21, r26 +/* 802E4D8C 002E1CEC 41 80 FF E4 */ blt lbl_802E4D70 +/* 802E4D90 002E1CF0 1C 1B 00 34 */ mulli r0, r27, 0x34 +/* 802E4D94 002E1CF4 7F 15 C3 78 */ mr r21, r24 +/* 802E4D98 002E1CF8 1E D8 00 34 */ mulli r22, r24, 0x34 +/* 802E4D9C 002E1CFC 7E FF 02 14 */ add r23, r31, r0 +/* 802E4DA0 002E1D00 48 00 00 20 */ b lbl_802E4DC0 +lbl_802E4DA4: +/* 802E4DA4 002E1D04 80 19 00 0C */ lwz r0, 0xc(r25) +/* 802E4DA8 002E1D08 7E E3 BB 78 */ mr r3, r23 +/* 802E4DAC 002E1D0C 7C 80 B2 14 */ add r4, r0, r22 +/* 802E4DB0 002E1D10 48 00 00 D5 */ bl "__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv" +/* 802E4DB4 002E1D14 3A F7 00 34 */ addi r23, r23, 0x34 +/* 802E4DB8 002E1D18 3A D6 00 34 */ addi r22, r22, 0x34 +/* 802E4DBC 002E1D1C 3A B5 00 01 */ addi r21, r21, 1 +lbl_802E4DC0: +/* 802E4DC0 002E1D20 80 19 00 04 */ lwz r0, 4(r25) +/* 802E4DC4 002E1D24 7C 15 00 00 */ cmpw r21, r0 +/* 802E4DC8 002E1D28 41 80 FF DC */ blt lbl_802E4DA4 +/* 802E4DCC 002E1D2C 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E4DD0 002E1D30 7F A3 EB 78 */ mr r3, r29 +/* 802E4DD4 002E1D34 7C 9D 02 14 */ add r4, r29, r0 +/* 802E4DD8 002E1D38 48 00 00 3D */ bl "allocate<13CPASAnimState>__Q24rstl17rmemory_allocatorFRP13CPASAnimStatei" +/* 802E4DDC 002E1D3C 80 79 00 0C */ lwz r3, 0xc(r25) +/* 802E4DE0 002E1D40 28 03 00 00 */ cmplwi r3, 0 +/* 802E4DE4 002E1D44 41 82 00 08 */ beq lbl_802E4DEC +/* 802E4DE8 002E1D48 48 03 0B 49 */ bl Free__7CMemoryFPCv +lbl_802E4DEC: +/* 802E4DEC 002E1D4C 93 F9 00 0C */ stw r31, 0xc(r25) +/* 802E4DF0 002E1D50 93 99 00 08 */ stw r28, 8(r25) +/* 802E4DF4 002E1D54 80 19 00 04 */ lwz r0, 4(r25) +/* 802E4DF8 002E1D58 7C 00 D2 14 */ add r0, r0, r26 +/* 802E4DFC 002E1D5C 90 19 00 04 */ stw r0, 4(r25) +lbl_802E4E00: +/* 802E4E00 002E1D60 BA A1 00 14 */ lmw r21, 0x14(r1) +/* 802E4E04 002E1D64 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E4E08 002E1D68 7C 08 03 A6 */ mtlr r0 +/* 802E4E0C 002E1D6C 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E4E10 002E1D70 4E 80 00 20 */ blr + +.global "allocate<13CPASAnimState>__Q24rstl17rmemory_allocatorFRP13CPASAnimStatei" +"allocate<13CPASAnimState>__Q24rstl17rmemory_allocatorFRP13CPASAnimStatei": +/* 802E4E14 002E1D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E4E18 002E1D78 7C 08 02 A6 */ mflr r0 +/* 802E4E1C 002E1D7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4E20 002E1D80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E4E24 002E1D84 7C 7F 1B 78 */ mr r31, r3 +/* 802E4E28 002E1D88 93 C1 00 08 */ stw r30, 8(r1) +/* 802E4E2C 002E1D8C 7C 9E 23 78 */ mr r30, r4 +/* 802E4E30 002E1D90 48 00 00 10 */ b lbl_802E4E40 +lbl_802E4E34: +/* 802E4E34 002E1D94 7F E3 FB 78 */ mr r3, r31 +/* 802E4E38 002E1D98 48 00 00 29 */ bl sub_802e4e60 +/* 802E4E3C 002E1D9C 3B FF 00 34 */ addi r31, r31, 0x34 +lbl_802E4E40: +/* 802E4E40 002E1DA0 7C 1F F0 40 */ cmplw r31, r30 +/* 802E4E44 002E1DA4 40 82 FF F0 */ bne lbl_802E4E34 +/* 802E4E48 002E1DA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E4E4C 002E1DAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E4E50 002E1DB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E4E54 002E1DB4 7C 08 03 A6 */ mtlr r0 +/* 802E4E58 002E1DB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E4E5C 002E1DBC 4E 80 00 20 */ blr + +.global sub_802e4e60 +sub_802e4e60: +/* 802E4E60 002E1DC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E4E64 002E1DC4 7C 08 02 A6 */ mflr r0 +/* 802E4E68 002E1DC8 38 80 FF FF */ li r4, -1 +/* 802E4E6C 002E1DCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4E70 002E1DD0 4B D4 A3 51 */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +/* 802E4E74 002E1DD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E4E78 002E1DD8 7C 08 03 A6 */ mtlr r0 +/* 802E4E7C 002E1DDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E4E80 002E1DE0 4E 80 00 20 */ blr + +.global "__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv" +"__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv": +/* 802E4E84 002E1DE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E4E88 002E1DE8 7C 08 02 A6 */ mflr r0 +/* 802E4E8C 002E1DEC 28 03 00 00 */ cmplwi r3, 0 +/* 802E4E90 002E1DF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4E94 002E1DF4 41 82 00 08 */ beq lbl_802E4E9C +/* 802E4E98 002E1DF8 4B D4 BD 3D */ bl sub_80030bd4 +lbl_802E4E9C: +/* 802E4E9C 002E1DFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E4EA0 002E1E00 7C 08 03 A6 */ mtlr r0 +/* 802E4EA4 002E1E04 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E4EA8 002E1E08 4E 80 00 20 */ blr + +.global SetDefaultState__12CPASDatabaseFi +SetDefaultState__12CPASDatabaseFi: +/* 802E4EAC 002E1E0C 90 83 00 10 */ stw r4, 0x10(r3) +/* 802E4EB0 002E1E10 4E 80 00 20 */ blr + +.global GetAnimStateByIndex__12CPASDatabaseCFi +GetAnimStateByIndex__12CPASDatabaseCFi: +/* 802E4EB4 002E1E14 1C 04 00 34 */ mulli r0, r4, 0x34 +/* 802E4EB8 002E1E18 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802E4EBC 002E1E1C 7C 63 02 14 */ add r3, r3, r0 +/* 802E4EC0 002E1E20 4E 80 00 20 */ blr + +.global GetAnimState__12CPASDatabaseCFi +GetAnimState__12CPASDatabaseCFi: +/* 802E4EC4 002E1E24 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802E4EC8 002E1E28 7C 08 02 A6 */ mflr r0 +/* 802E4ECC 002E1E2C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802E4ED0 002E1E30 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802E4ED4 002E1E34 7C 7F 1B 78 */ mr r31, r3 +/* 802E4ED8 002E1E38 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E4EDC 002E1E3C 4B FF F6 19 */ bl __ct__13CPASAnimStateFi +/* 802E4EE0 002E1E40 80 1F 00 04 */ lwz r0, 4(r31) +/* 802E4EE4 002E1E44 38 61 00 0C */ addi r3, r1, 0xc +/* 802E4EE8 002E1E48 80 FF 00 0C */ lwz r7, 0xc(r31) +/* 802E4EEC 002E1E4C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E4EF0 002E1E50 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E4EF4 002E1E54 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E4EF8 002E1E58 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802E4EFC 002E1E5C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802E4F00 002E1E60 7C 07 02 14 */ add r0, r7, r0 +/* 802E4F04 002E1E64 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E4F08 002E1E68 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E4F0C 002E1E6C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E4F10 002E1E70 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4F14 002E1E74 48 00 04 2D */ bl "lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +/* 802E4F18 002E1E78 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E4F1C 002E1E7C 38 80 00 00 */ li r4, 0 +/* 802E4F20 002E1E80 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E4F24 002E1E84 90 A1 00 08 */ stw r5, 8(r1) +/* 802E4F28 002E1E88 7C 05 00 40 */ cmplw r5, r0 +/* 802E4F2C 002E1E8C 41 82 00 18 */ beq lbl_802E4F44 +/* 802E4F30 002E1E90 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802E4F34 002E1E94 80 05 00 00 */ lwz r0, 0(r5) +/* 802E4F38 002E1E98 7C 03 00 00 */ cmpw r3, r0 +/* 802E4F3C 002E1E9C 41 80 00 08 */ blt lbl_802E4F44 +/* 802E4F40 002E1EA0 38 80 00 01 */ li r4, 1 +lbl_802E4F44: +/* 802E4F44 002E1EA4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802E4F48 002E1EA8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E4F4C 002E1EAC 41 82 00 08 */ beq lbl_802E4F54 +/* 802E4F50 002E1EB0 38 61 00 08 */ addi r3, r1, 8 +lbl_802E4F54: +/* 802E4F54 002E1EB4 83 E3 00 00 */ lwz r31, 0(r3) +/* 802E4F58 002E1EB8 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E4F5C 002E1EBC 38 80 FF FF */ li r4, -1 +/* 802E4F60 002E1EC0 4B D4 A2 61 */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +/* 802E4F64 002E1EC4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802E4F68 002E1EC8 7F E3 FB 78 */ mr r3, r31 +/* 802E4F6C 002E1ECC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802E4F70 002E1ED0 7C 08 03 A6 */ mtlr r0 +/* 802E4F74 002E1ED4 38 21 00 60 */ addi r1, r1, 0x60 +/* 802E4F78 002E1ED8 4E 80 00 20 */ blr + +.global HasState__12CPASDatabaseCFi +HasState__12CPASDatabaseCFi: +/* 802E4F7C 002E1EDC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802E4F80 002E1EE0 7C 08 02 A6 */ mflr r0 +/* 802E4F84 002E1EE4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802E4F88 002E1EE8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802E4F8C 002E1EEC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802E4F90 002E1EF0 7C 7E 1B 78 */ mr r30, r3 +/* 802E4F94 002E1EF4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E4F98 002E1EF8 4B FF F5 5D */ bl __ct__13CPASAnimStateFi +/* 802E4F9C 002E1EFC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E4FA0 002E1F00 38 61 00 0C */ addi r3, r1, 0xc +/* 802E4FA4 002E1F04 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 802E4FA8 002E1F08 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E4FAC 002E1F0C 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E4FB0 002E1F10 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E4FB4 002E1F14 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802E4FB8 002E1F18 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802E4FBC 002E1F1C 7C 07 02 14 */ add r0, r7, r0 +/* 802E4FC0 002E1F20 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E4FC4 002E1F24 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E4FC8 002E1F28 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E4FCC 002E1F2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E4FD0 002E1F30 48 00 03 71 */ bl "lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +/* 802E4FD4 002E1F34 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E4FD8 002E1F38 38 80 00 00 */ li r4, 0 +/* 802E4FDC 002E1F3C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E4FE0 002E1F40 90 A1 00 08 */ stw r5, 8(r1) +/* 802E4FE4 002E1F44 7C 05 00 40 */ cmplw r5, r0 +/* 802E4FE8 002E1F48 41 82 00 18 */ beq lbl_802E5000 +/* 802E4FEC 002E1F4C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802E4FF0 002E1F50 80 05 00 00 */ lwz r0, 0(r5) +/* 802E4FF4 002E1F54 7C 03 00 00 */ cmpw r3, r0 +/* 802E4FF8 002E1F58 41 80 00 08 */ blt lbl_802E5000 +/* 802E4FFC 002E1F5C 38 80 00 01 */ li r4, 1 +lbl_802E5000: +/* 802E5000 002E1F60 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802E5004 002E1F64 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E5008 002E1F68 41 82 00 08 */ beq lbl_802E5010 +/* 802E500C 002E1F6C 38 61 00 08 */ addi r3, r1, 8 +lbl_802E5010: +/* 802E5010 002E1F70 83 E3 00 00 */ lwz r31, 0(r3) +/* 802E5014 002E1F74 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E5018 002E1F78 38 80 FF FF */ li r4, -1 +/* 802E501C 002E1F7C 4B D4 A1 A5 */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +/* 802E5020 002E1F80 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E5024 002E1F84 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E5028 002E1F88 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E502C 002E1F8C 7C 03 02 14 */ add r0, r3, r0 +/* 802E5030 002E1F90 7C 7F 00 50 */ subf r3, r31, r0 +/* 802E5034 002E1F94 7C 00 F8 50 */ subf r0, r0, r31 +/* 802E5038 002E1F98 7C 60 03 78 */ or r0, r3, r0 +/* 802E503C 002E1F9C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E5040 002E1FA0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802E5044 002E1FA4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802E5048 002E1FA8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802E504C 002E1FAC 7C 08 03 A6 */ mtlr r0 +/* 802E5050 002E1FB0 38 21 00 60 */ addi r1, r1, 0x60 +/* 802E5054 002E1FB4 4E 80 00 20 */ blr + +.global GetNumAnimStates__12CPASDatabaseCFv +GetNumAnimStates__12CPASDatabaseCFv: +/* 802E5058 002E1FB8 80 63 00 04 */ lwz r3, 4(r3) +/* 802E505C 002E1FBC 4E 80 00 20 */ blr + +.global FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i: +/* 802E5060 002E1FC0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802E5064 002E1FC4 7C 08 02 A6 */ mflr r0 +/* 802E5068 002E1FC8 90 01 00 74 */ stw r0, 0x74(r1) +/* 802E506C 002E1FCC BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802E5070 002E1FD0 7C 9C 23 78 */ mr r28, r4 +/* 802E5074 002E1FD4 7C 7B 1B 78 */ mr r27, r3 +/* 802E5078 002E1FD8 7C BD 2B 78 */ mr r29, r5 +/* 802E507C 002E1FDC 7C DE 33 78 */ mr r30, r6 +/* 802E5080 002E1FE0 7C FF 3B 78 */ mr r31, r7 +/* 802E5084 002E1FE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E5088 002E1FE8 80 85 00 00 */ lwz r4, 0(r5) +/* 802E508C 002E1FEC 4B FF F4 69 */ bl __ct__13CPASAnimStateFi +/* 802E5090 002E1FF0 80 1C 00 04 */ lwz r0, 4(r28) +/* 802E5094 002E1FF4 38 61 00 0C */ addi r3, r1, 0xc +/* 802E5098 002E1FF8 80 FC 00 0C */ lwz r7, 0xc(r28) +/* 802E509C 002E1FFC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E50A0 002E2000 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E50A4 002E2004 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E50A8 002E2008 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802E50AC 002E200C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802E50B0 002E2010 7C 07 02 14 */ add r0, r7, r0 +/* 802E50B4 002E2014 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E50B8 002E2018 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E50BC 002E201C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E50C0 002E2020 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E50C4 002E2024 48 00 02 7D */ bl "lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +/* 802E50C8 002E2028 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E50CC 002E202C 38 80 00 00 */ li r4, 0 +/* 802E50D0 002E2030 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E50D4 002E2034 90 A1 00 08 */ stw r5, 8(r1) +/* 802E50D8 002E2038 7C 05 00 40 */ cmplw r5, r0 +/* 802E50DC 002E203C 41 82 00 18 */ beq lbl_802E50F4 +/* 802E50E0 002E2040 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802E50E4 002E2044 80 05 00 00 */ lwz r0, 0(r5) +/* 802E50E8 002E2048 7C 03 00 00 */ cmpw r3, r0 +/* 802E50EC 002E204C 41 80 00 08 */ blt lbl_802E50F4 +/* 802E50F0 002E2050 38 80 00 01 */ li r4, 1 +lbl_802E50F4: +/* 802E50F4 002E2054 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802E50F8 002E2058 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E50FC 002E205C 41 82 00 08 */ beq lbl_802E5104 +/* 802E5100 002E2060 38 61 00 08 */ addi r3, r1, 8 +lbl_802E5104: +/* 802E5104 002E2064 83 43 00 00 */ lwz r26, 0(r3) +/* 802E5108 002E2068 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E510C 002E206C 38 80 FF FF */ li r4, -1 +/* 802E5110 002E2070 4B D4 A0 B1 */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +/* 802E5114 002E2074 80 1C 00 04 */ lwz r0, 4(r28) +/* 802E5118 002E2078 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802E511C 002E207C 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E5120 002E2080 7C 03 02 14 */ add r0, r3, r0 +/* 802E5124 002E2084 7C 1A 00 40 */ cmplw r26, r0 +/* 802E5128 002E2088 41 82 00 20 */ beq lbl_802E5148 +/* 802E512C 002E208C 7F 63 DB 78 */ mr r3, r27 +/* 802E5130 002E2090 7F 44 D3 78 */ mr r4, r26 +/* 802E5134 002E2094 7F C6 F3 78 */ mr r6, r30 +/* 802E5138 002E2098 7F E7 FB 78 */ mr r7, r31 +/* 802E513C 002E209C 38 BD 00 04 */ addi r5, r29, 4 +/* 802E5140 002E20A0 4B FF E6 B9 */ bl "FindBestAnimation__13CPASAnimStateCFRCQ24rstl33reserved_vector<12CPASAnimParm,8>R9CRandom16i" +/* 802E5144 002E20A4 48 00 00 14 */ b lbl_802E5158 +lbl_802E5148: +/* 802E5148 002E20A8 C0 0D 9B 88 */ lfs f0, lbl_805A8748@sda21(r13) +/* 802E514C 002E20AC D0 1B 00 00 */ stfs f0, 0(r27) +/* 802E5150 002E20B0 80 0D 9B 8C */ lwz r0, lbl_805A874C@sda21(r13) +/* 802E5154 002E20B4 90 1B 00 04 */ stw r0, 4(r27) +lbl_802E5158: +/* 802E5158 002E20B8 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802E515C 002E20BC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802E5160 002E20C0 7C 08 03 A6 */ mtlr r0 +/* 802E5164 002E20C4 38 21 00 70 */ addi r1, r1, 0x70 +/* 802E5168 002E20C8 4E 80 00 20 */ blr + +.global FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai +FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai: +/* 802E516C 002E20CC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802E5170 002E20D0 7C 08 02 A6 */ mflr r0 +/* 802E5174 002E20D4 90 01 00 84 */ stw r0, 0x84(r1) +/* 802E5178 002E20D8 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 802E517C 002E20DC 7C 9B 23 78 */ mr r27, r4 +/* 802E5180 002E20E0 7C 7D 1B 78 */ mr r29, r3 +/* 802E5184 002E20E4 7C BE 2B 78 */ mr r30, r5 +/* 802E5188 002E20E8 7C DF 33 78 */ mr r31, r6 +/* 802E518C 002E20EC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E5190 002E20F0 80 85 00 00 */ lwz r4, 0(r5) +/* 802E5194 002E20F4 4B FF F3 61 */ bl __ct__13CPASAnimStateFi +/* 802E5198 002E20F8 80 1B 00 04 */ lwz r0, 4(r27) +/* 802E519C 002E20FC 38 61 00 0C */ addi r3, r1, 0xc +/* 802E51A0 002E2100 80 FB 00 0C */ lwz r7, 0xc(r27) +/* 802E51A4 002E2104 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E51A8 002E2108 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E51AC 002E210C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802E51B0 002E2110 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802E51B4 002E2114 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802E51B8 002E2118 7C 07 02 14 */ add r0, r7, r0 +/* 802E51BC 002E211C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E51C0 002E2120 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E51C4 002E2124 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E51C8 002E2128 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E51CC 002E212C 48 00 01 75 */ bl "lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +/* 802E51D0 002E2130 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E51D4 002E2134 38 80 00 00 */ li r4, 0 +/* 802E51D8 002E2138 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E51DC 002E213C 90 A1 00 08 */ stw r5, 8(r1) +/* 802E51E0 002E2140 7C 05 00 40 */ cmplw r5, r0 +/* 802E51E4 002E2144 41 82 00 18 */ beq lbl_802E51FC +/* 802E51E8 002E2148 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802E51EC 002E214C 80 05 00 00 */ lwz r0, 0(r5) +/* 802E51F0 002E2150 7C 03 00 00 */ cmpw r3, r0 +/* 802E51F4 002E2154 41 80 00 08 */ blt lbl_802E51FC +/* 802E51F8 002E2158 38 80 00 01 */ li r4, 1 +lbl_802E51FC: +/* 802E51FC 002E215C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802E5200 002E2160 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E5204 002E2164 41 82 00 08 */ beq lbl_802E520C +/* 802E5208 002E2168 38 61 00 08 */ addi r3, r1, 8 +lbl_802E520C: +/* 802E520C 002E216C 83 83 00 00 */ lwz r28, 0(r3) +/* 802E5210 002E2170 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E5214 002E2174 38 80 FF FF */ li r4, -1 +/* 802E5218 002E2178 4B D4 9F A9 */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +/* 802E521C 002E217C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802E5220 002E2180 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802E5224 002E2184 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E5228 002E2188 7C 03 02 14 */ add r0, r3, r0 +/* 802E522C 002E218C 7C 1C 00 40 */ cmplw r28, r0 +/* 802E5230 002E2190 41 82 00 2C */ beq lbl_802E525C +/* 802E5234 002E2194 38 61 00 24 */ addi r3, r1, 0x24 +/* 802E5238 002E2198 38 80 12 34 */ li r4, 0x1234 +/* 802E523C 002E219C 48 02 D3 B1 */ bl __ct__9CRandom16FUi +/* 802E5240 002E21A0 7F A3 EB 78 */ mr r3, r29 +/* 802E5244 002E21A4 7F 84 E3 78 */ mr r4, r28 +/* 802E5248 002E21A8 7F E7 FB 78 */ mr r7, r31 +/* 802E524C 002E21AC 38 BE 00 04 */ addi r5, r30, 4 +/* 802E5250 002E21B0 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802E5254 002E21B4 4B FF E5 A5 */ bl "FindBestAnimation__13CPASAnimStateCFRCQ24rstl33reserved_vector<12CPASAnimParm,8>R9CRandom16i" +/* 802E5258 002E21B8 48 00 00 14 */ b lbl_802E526C +lbl_802E525C: +/* 802E525C 002E21BC C0 0D 9B 80 */ lfs f0, lbl_805A8740@sda21(r13) +/* 802E5260 002E21C0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802E5264 002E21C4 80 0D 9B 84 */ lwz r0, lbl_805A8744@sda21(r13) +/* 802E5268 002E21C8 90 1D 00 04 */ stw r0, 4(r29) +lbl_802E526C: +/* 802E526C 002E21CC BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 802E5270 002E21D0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802E5274 002E21D4 7C 08 03 A6 */ mtlr r0 +/* 802E5278 002E21D8 38 21 00 80 */ addi r1, r1, 0x80 +/* 802E527C 002E21DC 4E 80 00 20 */ blr + +.global __ct__12CPASDatabaseFR12CInputStream +__ct__12CPASDatabaseFR12CInputStream: +/* 802E5280 002E21E0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802E5284 002E21E4 7C 08 02 A6 */ mflr r0 +/* 802E5288 002E21E8 38 A0 00 00 */ li r5, 0 +/* 802E528C 002E21EC 90 01 00 64 */ stw r0, 0x64(r1) +/* 802E5290 002E21F0 38 00 FF FF */ li r0, -1 +/* 802E5294 002E21F4 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 802E5298 002E21F8 7C 7B 1B 78 */ mr r27, r3 +/* 802E529C 002E21FC 7C 9C 23 78 */ mr r28, r4 +/* 802E52A0 002E2200 90 A3 00 04 */ stw r5, 4(r3) +/* 802E52A4 002E2204 90 A3 00 08 */ stw r5, 8(r3) +/* 802E52A8 002E2208 7F 83 E3 78 */ mr r3, r28 +/* 802E52AC 002E220C 90 BB 00 0C */ stw r5, 0xc(r27) +/* 802E52B0 002E2210 90 1B 00 10 */ stw r0, 0x10(r27) +/* 802E52B4 002E2214 48 05 99 D1 */ bl ReadLong__12CInputStreamFv +/* 802E52B8 002E2218 7F 83 E3 78 */ mr r3, r28 +/* 802E52BC 002E221C 48 05 99 C9 */ bl ReadLong__12CInputStreamFv +/* 802E52C0 002E2220 7C 7F 1B 78 */ mr r31, r3 +/* 802E52C4 002E2224 7F 63 DB 78 */ mr r3, r27 +/* 802E52C8 002E2228 7F E4 FB 78 */ mr r4, r31 +/* 802E52CC 002E222C 48 00 01 F5 */ bl "reserve__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>Fi" +/* 802E52D0 002E2230 7F 83 E3 78 */ mr r3, r28 +/* 802E52D4 002E2234 48 05 99 B1 */ bl ReadLong__12CInputStreamFv +/* 802E52D8 002E2238 3B A0 00 00 */ li r29, 0 +/* 802E52DC 002E223C 7C 7E 1B 78 */ mr r30, r3 +/* 802E52E0 002E2240 48 00 00 2C */ b lbl_802E530C +lbl_802E52E4: +/* 802E52E4 002E2244 7F 84 E3 78 */ mr r4, r28 +/* 802E52E8 002E2248 38 61 00 08 */ addi r3, r1, 8 +/* 802E52EC 002E224C 4B FF EE 65 */ bl __ct__13CPASAnimStateFR12CInputStream +/* 802E52F0 002E2250 7F 63 DB 78 */ mr r3, r27 +/* 802E52F4 002E2254 38 81 00 08 */ addi r4, r1, 8 +/* 802E52F8 002E2258 4B FF F7 A9 */ bl AddAnimState__12CPASDatabaseFRC13CPASAnimState +/* 802E52FC 002E225C 38 61 00 08 */ addi r3, r1, 8 +/* 802E5300 002E2260 38 80 FF FF */ li r4, -1 +/* 802E5304 002E2264 4B D4 9E BD */ bl "__rf__Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>CFv" +/* 802E5308 002E2268 3B BD 00 01 */ addi r29, r29, 1 +lbl_802E530C: +/* 802E530C 002E226C 7C 1D F8 40 */ cmplw r29, r31 +/* 802E5310 002E2270 41 80 FF D4 */ blt lbl_802E52E4 +/* 802E5314 002E2274 28 1F 00 00 */ cmplwi r31, 0 +/* 802E5318 002E2278 41 82 00 10 */ beq lbl_802E5328 +/* 802E531C 002E227C 7F 63 DB 78 */ mr r3, r27 +/* 802E5320 002E2280 7F C4 F3 78 */ mr r4, r30 +/* 802E5324 002E2284 4B FF FB 89 */ bl SetDefaultState__12CPASDatabaseFi +lbl_802E5328: +/* 802E5328 002E2288 7F 63 DB 78 */ mr r3, r27 +/* 802E532C 002E228C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 802E5330 002E2290 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802E5334 002E2294 7C 08 03 A6 */ mtlr r0 +/* 802E5338 002E2298 38 21 00 60 */ addi r1, r1, 0x60 +/* 802E533C 002E229C 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +"lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState": +/* 802E5340 002E22A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E5344 002E22A4 7C 08 02 A6 */ mflr r0 +/* 802E5348 002E22A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E534C 002E22AC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802E5350 002E22B0 7C 9F 23 78 */ mr r31, r4 +/* 802E5354 002E22B4 7C 7E 1B 78 */ mr r30, r3 +/* 802E5358 002E22B8 7C DB 33 78 */ mr r27, r6 +/* 802E535C 002E22BC 38 61 00 0C */ addi r3, r1, 0xc +/* 802E5360 002E22C0 80 85 00 00 */ lwz r4, 0(r5) +/* 802E5364 002E22C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E5368 002E22C8 90 81 00 08 */ stw r4, 8(r1) +/* 802E536C 002E22CC 38 81 00 08 */ addi r4, r1, 8 +/* 802E5370 002E22D0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E5374 002E22D4 48 00 03 05 */ bl "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 802E5378 002E22D8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E537C 002E22DC 7C 7D 1B 78 */ mr r29, r3 +/* 802E5380 002E22E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E5384 002E22E4 48 00 00 58 */ b lbl_802E53DC +lbl_802E5388: +/* 802E5388 002E22E8 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 802E538C 002E22EC 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E5390 002E22F0 7C 83 EA 14 */ add r4, r3, r29 +/* 802E5394 002E22F4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E5398 002E22F8 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 802E539C 002E22FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E53A0 002E2300 7F 84 E3 78 */ mr r4, r28 +/* 802E53A4 002E2304 48 00 02 55 */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 802E53A8 002E2308 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802E53AC 002E230C 80 1B 00 00 */ lwz r0, 0(r27) +/* 802E53B0 002E2310 80 64 00 00 */ lwz r3, 0(r4) +/* 802E53B4 002E2314 7C 03 00 00 */ cmpw r3, r0 +/* 802E53B8 002E2318 40 80 00 20 */ bge lbl_802E53D8 +/* 802E53BC 002E231C 90 9F 00 00 */ stw r4, 0(r31) +/* 802E53C0 002E2320 7C 7C E8 50 */ subf r3, r28, r29 +/* 802E53C4 002E2324 3B A3 FF FF */ addi r29, r3, -1 +/* 802E53C8 002E2328 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E53CC 002E232C 38 03 00 34 */ addi r0, r3, 0x34 +/* 802E53D0 002E2330 90 1F 00 00 */ stw r0, 0(r31) +/* 802E53D4 002E2334 48 00 00 08 */ b lbl_802E53DC +lbl_802E53D8: +/* 802E53D8 002E2338 7F 9D E3 78 */ mr r29, r28 +lbl_802E53DC: +/* 802E53DC 002E233C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802E53E0 002E2340 41 81 FF A8 */ bgt lbl_802E5388 +/* 802E53E4 002E2344 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E53E8 002E2348 90 1E 00 00 */ stw r0, 0(r30) +/* 802E53EC 002E234C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802E53F0 002E2350 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E53F4 002E2354 7C 08 03 A6 */ mtlr r0 +/* 802E53F8 002E2358 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E53FC 002E235C 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState" +"lower_bound,Q24rstl17rmemory_allocator>,13CPASAnimState>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC13CPASAnimState": +/* 802E5400 002E2360 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E5404 002E2364 7C 08 02 A6 */ mflr r0 +/* 802E5408 002E2368 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E540C 002E236C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802E5410 002E2370 7C 9F 23 78 */ mr r31, r4 +/* 802E5414 002E2374 7C 7E 1B 78 */ mr r30, r3 +/* 802E5418 002E2378 7C DB 33 78 */ mr r27, r6 +/* 802E541C 002E237C 38 61 00 0C */ addi r3, r1, 0xc +/* 802E5420 002E2380 80 85 00 00 */ lwz r4, 0(r5) +/* 802E5424 002E2384 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E5428 002E2388 90 81 00 08 */ stw r4, 8(r1) +/* 802E542C 002E238C 38 81 00 08 */ addi r4, r1, 8 +/* 802E5430 002E2390 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E5434 002E2394 48 00 02 89 */ bl "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 802E5438 002E2398 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E543C 002E239C 7C 7D 1B 78 */ mr r29, r3 +/* 802E5440 002E23A0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E5444 002E23A4 48 00 00 58 */ b lbl_802E549C +lbl_802E5448: +/* 802E5448 002E23A8 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 802E544C 002E23AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E5450 002E23B0 7C 83 EA 14 */ add r4, r3, r29 +/* 802E5454 002E23B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E5458 002E23B8 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 802E545C 002E23BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E5460 002E23C0 7F 84 E3 78 */ mr r4, r28 +/* 802E5464 002E23C4 48 00 01 C1 */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 802E5468 002E23C8 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802E546C 002E23CC 80 1B 00 00 */ lwz r0, 0(r27) +/* 802E5470 002E23D0 80 64 00 00 */ lwz r3, 0(r4) +/* 802E5474 002E23D4 7C 03 00 00 */ cmpw r3, r0 +/* 802E5478 002E23D8 40 80 00 20 */ bge lbl_802E5498 +/* 802E547C 002E23DC 90 9F 00 00 */ stw r4, 0(r31) +/* 802E5480 002E23E0 7C 7C E8 50 */ subf r3, r28, r29 +/* 802E5484 002E23E4 3B A3 FF FF */ addi r29, r3, -1 +/* 802E5488 002E23E8 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E548C 002E23EC 38 03 00 34 */ addi r0, r3, 0x34 +/* 802E5490 002E23F0 90 1F 00 00 */ stw r0, 0(r31) +/* 802E5494 002E23F4 48 00 00 08 */ b lbl_802E549C +lbl_802E5498: +/* 802E5498 002E23F8 7F 9D E3 78 */ mr r29, r28 +lbl_802E549C: +/* 802E549C 002E23FC 2C 1D 00 00 */ cmpwi r29, 0 +/* 802E54A0 002E2400 41 81 FF A8 */ bgt lbl_802E5448 +/* 802E54A4 002E2404 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E54A8 002E2408 90 1E 00 00 */ stw r0, 0(r30) +/* 802E54AC 002E240C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802E54B0 002E2410 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E54B4 002E2414 7C 08 03 A6 */ mtlr r0 +/* 802E54B8 002E2418 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E54BC 002E241C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>Fi": +/* 802E54C0 002E2420 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E54C4 002E2424 7C 08 02 A6 */ mflr r0 +/* 802E54C8 002E2428 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E54CC 002E242C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E54D0 002E2430 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E54D4 002E2434 7C 9E 23 78 */ mr r30, r4 +/* 802E54D8 002E2438 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E54DC 002E243C 7C 7D 1B 78 */ mr r29, r3 +/* 802E54E0 002E2440 80 03 00 08 */ lwz r0, 8(r3) +/* 802E54E4 002E2444 7C 1E 00 00 */ cmpw r30, r0 +/* 802E54E8 002E2448 40 81 00 8C */ ble lbl_802E5574 +/* 802E54EC 002E244C 1C 7E 00 34 */ mulli r3, r30, 0x34 +/* 802E54F0 002E2450 2C 03 00 00 */ cmpwi r3, 0 +/* 802E54F4 002E2454 40 82 00 0C */ bne lbl_802E5500 +/* 802E54F8 002E2458 3B E0 00 00 */ li r31, 0 +/* 802E54FC 002E245C 48 00 00 18 */ b lbl_802E5514 +lbl_802E5500: +/* 802E5500 002E2460 3C 80 80 3D */ lis r4, lbl_803D6DB0@ha +/* 802E5504 002E2464 38 A0 00 00 */ li r5, 0 +/* 802E5508 002E2468 38 84 6D B0 */ addi r4, r4, lbl_803D6DB0@l +/* 802E550C 002E246C 48 03 03 0D */ bl __nwa__FUlPCcPCc +/* 802E5510 002E2470 7C 7F 1B 78 */ mr r31, r3 +lbl_802E5514: +/* 802E5514 002E2474 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E5518 002E2478 7F E5 FB 78 */ mr r5, r31 +/* 802E551C 002E247C 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 802E5520 002E2480 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E5524 002E2484 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E5528 002E2488 38 81 00 0C */ addi r4, r1, 0xc +/* 802E552C 002E248C 7C C6 02 14 */ add r6, r6, r0 +/* 802E5530 002E2490 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802E5534 002E2494 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802E5538 002E2498 90 C1 00 08 */ stw r6, 8(r1) +/* 802E553C 002E249C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E5540 002E24A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E5544 002E24A4 48 00 00 4D */ bl "construct<13CPASAnimState>__4rstlFPvRC13CPASAnimState" +/* 802E5548 002E24A8 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E554C 002E24AC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802E5550 002E24B0 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 802E5554 002E24B4 7C 83 02 14 */ add r4, r3, r0 +/* 802E5558 002E24B8 4B FF F8 BD */ bl "allocate<13CPASAnimState>__Q24rstl17rmemory_allocatorFRP13CPASAnimStatei" +/* 802E555C 002E24BC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802E5560 002E24C0 28 03 00 00 */ cmplwi r3, 0 +/* 802E5564 002E24C4 41 82 00 08 */ beq lbl_802E556C +/* 802E5568 002E24C8 48 03 03 C9 */ bl Free__7CMemoryFPCv +lbl_802E556C: +/* 802E556C 002E24CC 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802E5570 002E24D0 93 DD 00 08 */ stw r30, 8(r29) +lbl_802E5574: +/* 802E5574 002E24D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E5578 002E24D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E557C 002E24DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E5580 002E24E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E5584 002E24E4 7C 08 03 A6 */ mtlr r0 +/* 802E5588 002E24E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E558C 002E24EC 4E 80 00 20 */ blr + +.global "construct<13CPASAnimState>__4rstlFPvRC13CPASAnimState" +"construct<13CPASAnimState>__4rstlFPvRC13CPASAnimState": +/* 802E5590 002E24F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E5594 002E24F4 7C 08 02 A6 */ mflr r0 +/* 802E5598 002E24F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E559C 002E24FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E55A0 002E2500 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E55A4 002E2504 7C BE 2B 78 */ mr r30, r5 +/* 802E55A8 002E2508 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E55AC 002E250C 7C 9D 23 78 */ mr r29, r4 +/* 802E55B0 002E2510 83 E3 00 00 */ lwz r31, 0(r3) +/* 802E55B4 002E2514 48 00 00 18 */ b lbl_802E55CC +lbl_802E55B8: +/* 802E55B8 002E2518 7F C3 F3 78 */ mr r3, r30 +/* 802E55BC 002E251C 7F E4 FB 78 */ mr r4, r31 +/* 802E55C0 002E2520 4B FF F8 C5 */ bl "__ml__Q24rstl39const_counting_iterator<12CPASAnimInfo>CFv" +/* 802E55C4 002E2524 3B DE 00 34 */ addi r30, r30, 0x34 +/* 802E55C8 002E2528 3B FF 00 34 */ addi r31, r31, 0x34 +lbl_802E55CC: +/* 802E55CC 002E252C 80 1D 00 00 */ lwz r0, 0(r29) +/* 802E55D0 002E2530 7C 1F 00 40 */ cmplw r31, r0 +/* 802E55D4 002E2534 40 82 FF E4 */ bne lbl_802E55B8 +/* 802E55D8 002E2538 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E55DC 002E253C 7F C3 F3 78 */ mr r3, r30 +/* 802E55E0 002E2540 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E55E4 002E2544 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E55E8 002E2548 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E55EC 002E254C 7C 08 03 A6 */ mtlr r0 +/* 802E55F0 002E2550 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E55F4 002E2554 4E 80 00 20 */ blr + +.global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 802E55F8 002E2558 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E55FC 002E255C 7C 08 02 A6 */ mflr r0 +/* 802E5600 002E2560 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E5604 002E2564 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E5608 002E2568 88 01 00 08 */ lbz r0, 8(r1) +/* 802E560C 002E256C 98 01 00 0C */ stb r0, 0xc(r1) +/* 802E5610 002E2570 48 00 00 55 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 802E5614 002E2574 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E5618 002E2578 7C 08 03 A6 */ mtlr r0 +/* 802E561C 002E257C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E5620 002E2580 4E 80 00 20 */ blr + +.global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 802E5624 002E2584 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E5628 002E2588 7C 08 02 A6 */ mflr r0 +/* 802E562C 002E258C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E5630 002E2590 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E5634 002E2594 88 01 00 08 */ lbz r0, 8(r1) +/* 802E5638 002E2598 98 01 00 0C */ stb r0, 0xc(r1) +/* 802E563C 002E259C 48 00 00 15 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 802E5640 002E25A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E5644 002E25A4 7C 08 03 A6 */ mtlr r0 +/* 802E5648 002E25A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E564C 002E25AC 4E 80 00 20 */ blr + +.global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 802E5650 002E25B0 1C 04 00 34 */ mulli r0, r4, 0x34 +/* 802E5654 002E25B4 80 83 00 00 */ lwz r4, 0(r3) +/* 802E5658 002E25B8 7C 04 02 14 */ add r0, r4, r0 +/* 802E565C 002E25BC 90 03 00 00 */ stw r0, 0(r3) +/* 802E5660 002E25C0 4E 80 00 20 */ blr + +.global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 802E5664 002E25C4 1C 04 00 34 */ mulli r0, r4, 0x34 +/* 802E5668 002E25C8 80 83 00 00 */ lwz r4, 0(r3) +/* 802E566C 002E25CC 7C 04 02 14 */ add r0, r4, r0 +/* 802E5670 002E25D0 90 03 00 00 */ stw r0, 0(r3) +/* 802E5674 002E25D4 4E 80 00 20 */ blr + +.global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 802E5678 002E25D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E567C 002E25DC 7C 08 02 A6 */ mflr r0 +/* 802E5680 002E25E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E5684 002E25E4 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E5688 002E25E8 88 E1 00 08 */ lbz r7, 8(r1) +/* 802E568C 002E25EC 80 C4 00 00 */ lwz r6, 0(r4) +/* 802E5690 002E25F0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E5694 002E25F4 80 03 00 00 */ lwz r0, 0(r3) +/* 802E5698 002E25F8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E569C 002E25FC 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802E56A0 002E2600 98 E1 00 0C */ stb r7, 0xc(r1) +/* 802E56A4 002E2604 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E56A8 002E2608 48 00 00 81 */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +/* 802E56AC 002E260C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E56B0 002E2610 7C 08 03 A6 */ mtlr r0 +/* 802E56B4 002E2614 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E56B8 002E2618 4E 80 00 20 */ blr + +.global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 802E56BC 002E261C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E56C0 002E2620 7C 08 02 A6 */ mflr r0 +/* 802E56C4 002E2624 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E56C8 002E2628 38 A1 00 0C */ addi r5, r1, 0xc +/* 802E56CC 002E262C 88 E1 00 08 */ lbz r7, 8(r1) +/* 802E56D0 002E2630 80 C4 00 00 */ lwz r6, 0(r4) +/* 802E56D4 002E2634 38 81 00 10 */ addi r4, r1, 0x10 +/* 802E56D8 002E2638 80 03 00 00 */ lwz r0, 0(r3) +/* 802E56DC 002E263C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E56E0 002E2640 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802E56E4 002E2644 98 E1 00 0C */ stb r7, 0xc(r1) +/* 802E56E8 002E2648 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E56EC 002E264C 48 00 00 15 */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +/* 802E56F0 002E2650 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E56F4 002E2654 7C 08 03 A6 */ mtlr r0 +/* 802E56F8 002E2658 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E56FC 002E265C 4E 80 00 20 */ blr + +.global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +"__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl120pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": +/* 802E5700 002E2660 80 A3 00 00 */ lwz r5, 0(r3) +/* 802E5704 002E2664 3C 60 4E C5 */ lis r3, 0x4EC4EC4F@ha +/* 802E5708 002E2668 80 04 00 00 */ lwz r0, 0(r4) +/* 802E570C 002E266C 38 63 EC 4F */ addi r3, r3, 0x4EC4EC4F@l +/* 802E5710 002E2670 7C 05 00 50 */ subf r0, r5, r0 +/* 802E5714 002E2674 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802E5718 002E2678 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E571C 002E267C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E5720 002E2680 7C 60 1A 14 */ add r3, r0, r3 +/* 802E5724 002E2684 4E 80 00 20 */ blr + +.global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" +"__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl126const_pointer_iterator<13CPASAnimState,Q24rstl50vector<13CPASAnimState,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": +/* 802E5728 002E2688 80 A3 00 00 */ lwz r5, 0(r3) +/* 802E572C 002E268C 3C 60 4E C5 */ lis r3, 0x4EC4EC4F@ha +/* 802E5730 002E2690 80 04 00 00 */ lwz r0, 0(r4) +/* 802E5734 002E2694 38 63 EC 4F */ addi r3, r3, 0x4EC4EC4F@l +/* 802E5738 002E2698 7C 05 00 50 */ subf r0, r5, r0 +/* 802E573C 002E269C 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802E5740 002E26A0 7C 00 26 70 */ srawi r0, r0, 4 +/* 802E5744 002E26A4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802E5748 002E26A8 7C 60 1A 14 */ add r3, r0, r3 +/* 802E574C 002E26AC 4E 80 00 20 */ blr + +.global __ct__12CPASParmInfoFR12CInputStream +__ct__12CPASParmInfoFR12CInputStream: +/* 802E5750 002E26B0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E5754 002E26B4 7C 08 02 A6 */ mflr r0 +/* 802E5758 002E26B8 C0 02 C5 E0 */ lfs f0, lbl_805AE300@sda21(r2) +/* 802E575C 002E26BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E5760 002E26C0 38 00 FF FF */ li r0, -1 +/* 802E5764 002E26C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E5768 002E26C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E576C 002E26CC 7C 9E 23 78 */ mr r30, r4 +/* 802E5770 002E26D0 38 80 00 00 */ li r4, 0 +/* 802E5774 002E26D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E5778 002E26D8 7C 7D 1B 78 */ mr r29, r3 +/* 802E577C 002E26DC 90 03 00 00 */ stw r0, 0(r3) +/* 802E5780 002E26E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E5784 002E26E4 90 1D 00 04 */ stw r0, 4(r29) +/* 802E5788 002E26E8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802E578C 002E26EC 4B FF D8 C1 */ bl FromInt32__12CPASAnimParmFi +/* 802E5790 002E26F0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802E5794 002E26F4 38 61 00 08 */ addi r3, r1, 8 +/* 802E5798 002E26F8 38 80 00 00 */ li r4, 0 +/* 802E579C 002E26FC 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802E57A0 002E2700 4B FF D8 AD */ bl FromInt32__12CPASAnimParmFi +/* 802E57A4 002E2704 80 01 00 08 */ lwz r0, 8(r1) +/* 802E57A8 002E2708 7F C3 F3 78 */ mr r3, r30 +/* 802E57AC 002E270C 90 1D 00 10 */ stw r0, 0x10(r29) +/* 802E57B0 002E2710 48 05 94 D5 */ bl ReadLong__12CInputStreamFv +/* 802E57B4 002E2714 7C 7F 1B 78 */ mr r31, r3 +/* 802E57B8 002E2718 7F C3 F3 78 */ mr r3, r30 +/* 802E57BC 002E271C 93 FD 00 00 */ stw r31, 0(r29) +/* 802E57C0 002E2720 48 05 94 C5 */ bl ReadLong__12CInputStreamFv +/* 802E57C4 002E2724 90 7D 00 04 */ stw r3, 4(r29) +/* 802E57C8 002E2728 7F C3 F3 78 */ mr r3, r30 +/* 802E57CC 002E272C 48 05 94 5D */ bl ReadFloat__12CInputStreamFv +/* 802E57D0 002E2730 2C 1F 00 02 */ cmpwi r31, 2 +/* 802E57D4 002E2734 D0 3D 00 08 */ stfs f1, 8(r29) +/* 802E57D8 002E2738 41 82 00 60 */ beq lbl_802E5838 +/* 802E57DC 002E273C 40 80 00 14 */ bge lbl_802E57F0 +/* 802E57E0 002E2740 2C 1F 00 00 */ cmpwi r31, 0 +/* 802E57E4 002E2744 41 82 00 1C */ beq lbl_802E5800 +/* 802E57E8 002E2748 40 80 00 34 */ bge lbl_802E581C +/* 802E57EC 002E274C 48 00 00 9C */ b lbl_802E5888 +lbl_802E57F0: +/* 802E57F0 002E2750 2C 1F 00 04 */ cmpwi r31, 4 +/* 802E57F4 002E2754 41 82 00 7C */ beq lbl_802E5870 +/* 802E57F8 002E2758 40 80 00 90 */ bge lbl_802E5888 +/* 802E57FC 002E275C 48 00 00 58 */ b lbl_802E5854 +lbl_802E5800: +/* 802E5800 002E2760 7F C3 F3 78 */ mr r3, r30 +/* 802E5804 002E2764 48 05 94 81 */ bl ReadLong__12CInputStreamFv +/* 802E5808 002E2768 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802E580C 002E276C 7F C3 F3 78 */ mr r3, r30 +/* 802E5810 002E2770 48 05 94 75 */ bl ReadLong__12CInputStreamFv +/* 802E5814 002E2774 90 7D 00 10 */ stw r3, 0x10(r29) +/* 802E5818 002E2778 48 00 00 70 */ b lbl_802E5888 +lbl_802E581C: +/* 802E581C 002E277C 7F C3 F3 78 */ mr r3, r30 +/* 802E5820 002E2780 48 05 94 65 */ bl ReadLong__12CInputStreamFv +/* 802E5824 002E2784 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802E5828 002E2788 7F C3 F3 78 */ mr r3, r30 +/* 802E582C 002E278C 48 05 94 59 */ bl ReadLong__12CInputStreamFv +/* 802E5830 002E2790 90 7D 00 10 */ stw r3, 0x10(r29) +/* 802E5834 002E2794 48 00 00 54 */ b lbl_802E5888 +lbl_802E5838: +/* 802E5838 002E2798 7F C3 F3 78 */ mr r3, r30 +/* 802E583C 002E279C 48 05 93 ED */ bl ReadFloat__12CInputStreamFv +/* 802E5840 002E27A0 D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 802E5844 002E27A4 7F C3 F3 78 */ mr r3, r30 +/* 802E5848 002E27A8 48 05 93 E1 */ bl ReadFloat__12CInputStreamFv +/* 802E584C 002E27AC D0 3D 00 10 */ stfs f1, 0x10(r29) +/* 802E5850 002E27B0 48 00 00 38 */ b lbl_802E5888 +lbl_802E5854: +/* 802E5854 002E27B4 7F C3 F3 78 */ mr r3, r30 +/* 802E5858 002E27B8 48 05 94 85 */ bl ReadBool__12CInputStreamFv +/* 802E585C 002E27BC 98 7D 00 0C */ stb r3, 0xc(r29) +/* 802E5860 002E27C0 7F C3 F3 78 */ mr r3, r30 +/* 802E5864 002E27C4 48 05 94 79 */ bl ReadBool__12CInputStreamFv +/* 802E5868 002E27C8 98 7D 00 10 */ stb r3, 0x10(r29) +/* 802E586C 002E27CC 48 00 00 1C */ b lbl_802E5888 +lbl_802E5870: +/* 802E5870 002E27D0 7F C3 F3 78 */ mr r3, r30 +/* 802E5874 002E27D4 48 05 94 11 */ bl ReadLong__12CInputStreamFv +/* 802E5878 002E27D8 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802E587C 002E27DC 7F C3 F3 78 */ mr r3, r30 +/* 802E5880 002E27E0 48 05 94 05 */ bl ReadLong__12CInputStreamFv +/* 802E5884 002E27E4 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_802E5888: +/* 802E5888 002E27E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E588C 002E27EC 7F A3 EB 78 */ mr r3, r29 +/* 802E5890 002E27F0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E5894 002E27F4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E5898 002E27F8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E589C 002E27FC 7C 08 03 A6 */ mtlr r0 +/* 802E58A0 002E2800 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E58A4 002E2804 4E 80 00 20 */ blr + +.global PutTo__10CPrimitiveCFR13COutputStream +PutTo__10CPrimitiveCFR13COutputStream: +/* 802E58A8 002E2808 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E58AC 002E280C 7C 08 02 A6 */ mflr r0 +/* 802E58B0 002E2810 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E58B4 002E2814 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E58B8 002E2818 7C 9F 23 78 */ mr r31, r4 +/* 802E58BC 002E281C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E58C0 002E2820 7C 7E 1B 78 */ mr r30, r3 +/* 802E58C4 002E2824 80 03 00 00 */ lwz r0, 0(r3) +/* 802E58C8 002E2828 7F E3 FB 78 */ mr r3, r31 +/* 802E58CC 002E282C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E58D0 002E2830 48 05 9B E9 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E58D4 002E2834 7F E3 FB 78 */ mr r3, r31 +/* 802E58D8 002E2838 38 81 00 0C */ addi r4, r1, 0xc +/* 802E58DC 002E283C 38 A0 00 04 */ li r5, 4 +/* 802E58E0 002E2840 48 05 9C C9 */ bl DoPut__13COutputStreamFPCvUl +/* 802E58E4 002E2844 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E58E8 002E2848 7F E3 FB 78 */ mr r3, r31 +/* 802E58EC 002E284C 90 01 00 08 */ stw r0, 8(r1) +/* 802E58F0 002E2850 48 05 9B C9 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E58F4 002E2854 7F E3 FB 78 */ mr r3, r31 +/* 802E58F8 002E2858 38 81 00 08 */ addi r4, r1, 8 +/* 802E58FC 002E285C 38 A0 00 04 */ li r5, 4 +/* 802E5900 002E2860 48 05 9C A9 */ bl DoPut__13COutputStreamFPCvUl +/* 802E5904 002E2864 7F E4 FB 78 */ mr r4, r31 +/* 802E5908 002E2868 38 7E 00 08 */ addi r3, r30, 8 +/* 802E590C 002E286C 48 05 83 A9 */ bl "PutTo__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFR13COutputStream" +/* 802E5910 002E2870 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E5914 002E2874 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E5918 002E2878 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E591C 002E287C 7C 08 03 A6 */ mtlr r0 +/* 802E5920 002E2880 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E5924 002E2884 4E 80 00 20 */ blr + +.global __ct__10CPrimitiveFR12CInputStream +__ct__10CPrimitiveFR12CInputStream: +/* 802E5928 002E2888 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E592C 002E288C 7C 08 02 A6 */ mflr r0 +/* 802E5930 002E2890 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E5934 002E2894 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E5938 002E2898 7C 9F 23 78 */ mr r31, r4 +/* 802E593C 002E289C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E5940 002E28A0 7C 7E 1B 78 */ mr r30, r3 +/* 802E5944 002E28A4 7F E3 FB 78 */ mr r3, r31 +/* 802E5948 002E28A8 48 05 93 3D */ bl ReadLong__12CInputStreamFv +/* 802E594C 002E28AC 90 7E 00 00 */ stw r3, 0(r30) +/* 802E5950 002E28B0 7F E3 FB 78 */ mr r3, r31 +/* 802E5954 002E28B4 48 05 93 31 */ bl ReadLong__12CInputStreamFv +/* 802E5958 002E28B8 90 7E 00 04 */ stw r3, 4(r30) +/* 802E595C 002E28BC 7F E4 FB 78 */ mr r4, r31 +/* 802E5960 002E28C0 38 7E 00 08 */ addi r3, r30, 8 +/* 802E5964 002E28C4 38 A1 00 08 */ addi r5, r1, 8 +/* 802E5968 002E28C8 48 05 89 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802E596C 002E28CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E5970 002E28D0 7F C3 F3 78 */ mr r3, r30 +/* 802E5974 002E28D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E5978 002E28D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E597C 002E28DC 7C 08 03 A6 */ mtlr r0 +/* 802E5980 002E28E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E5984 002E28E4 4E 80 00 20 */ blr + +.global ComputeSequenceFundamentals__15CSequenceHelperCFv +ComputeSequenceFundamentals__15CSequenceHelperCFv: +/* 802E5988 002E28E8 94 21 B3 70 */ stwu r1, -0x4c90(r1) +/* 802E598C 002E28EC 7C 08 02 A6 */ mflr r0 +/* 802E5990 002E28F0 90 01 4C 94 */ stw r0, 0x4c94(r1) +/* 802E5994 002E28F4 38 00 4C 88 */ li r0, 0x4c88 +/* 802E5998 002E28F8 DB E1 4C 80 */ stfd f31, 0x4c80(r1) +/* 802E599C 002E28FC 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 802E59A0 002E2900 38 00 4C 78 */ li r0, 0x4c78 +/* 802E59A4 002E2904 DB C1 4C 70 */ stfd f30, 0x4c70(r1) +/* 802E59A8 002E2908 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 802E59AC 002E290C 38 00 4C 68 */ li r0, 0x4c68 +/* 802E59B0 002E2910 DB A1 4C 60 */ stfd f29, 0x4c60(r1) +/* 802E59B4 002E2914 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 802E59B8 002E2918 38 00 4C 58 */ li r0, 0x4c58 +/* 802E59BC 002E291C DB 81 4C 50 */ stfd f28, 0x4c50(r1) +/* 802E59C0 002E2920 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 802E59C4 002E2924 38 00 4C 48 */ li r0, 0x4c48 +/* 802E59C8 002E2928 DB 61 4C 40 */ stfd f27, 0x4c40(r1) +/* 802E59CC 002E292C 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 802E59D0 002E2930 38 00 4C 38 */ li r0, 0x4c38 +/* 802E59D4 002E2934 DB 41 4C 30 */ stfd f26, 0x4c30(r1) +/* 802E59D8 002E2938 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 +/* 802E59DC 002E293C 38 00 4C 28 */ li r0, 0x4c28 +/* 802E59E0 002E2940 DB 21 4C 20 */ stfd f25, 0x4c20(r1) +/* 802E59E4 002E2944 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0 +/* 802E59E8 002E2948 38 00 4C 18 */ li r0, 0x4c18 +/* 802E59EC 002E294C DB 01 4C 10 */ stfd f24, 0x4c10(r1) +/* 802E59F0 002E2950 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0 +/* 802E59F4 002E2954 BD E1 4B CC */ stmw r15, 0x4bcc(r1) +/* 802E59F8 002E2958 83 C4 00 14 */ lwz r30, 0x14(r4) +/* 802E59FC 002E295C 38 00 00 00 */ li r0, 0 +/* 802E5A00 002E2960 80 AD 9B 90 */ lwz r5, lbl_805A8750@sda21(r13) +/* 802E5A04 002E2964 7C 9C 23 78 */ mr r28, r4 +/* 802E5A08 002E2968 C0 0D 9B 94 */ lfs f0, lbl_805A8754@sda21(r13) +/* 802E5A0C 002E296C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802E5A10 002E2970 C7 E4 66 A0 */ lfsu f31, skZero3f@l(r4) +/* 802E5A14 002E2974 2C 1E 00 00 */ cmpwi r30, 0 +/* 802E5A18 002E2978 90 A1 00 D8 */ stw r5, 0xd8(r1) +/* 802E5A1C 002E297C 7C 6F 1B 78 */ mr r15, r3 +/* 802E5A20 002E2980 C3 C4 00 04 */ lfs f30, 4(r4) +/* 802E5A24 002E2984 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 802E5A28 002E2988 C3 A4 00 08 */ lfs f29, 8(r4) +/* 802E5A2C 002E298C 90 A1 00 F8 */ stw r5, 0xf8(r1) +/* 802E5A30 002E2990 90 A1 00 D0 */ stw r5, 0xd0(r1) +/* 802E5A34 002E2994 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 802E5A38 002E2998 90 A1 00 F0 */ stw r5, 0xf0(r1) +/* 802E5A3C 002E299C 90 01 01 58 */ stw r0, 0x158(r1) +/* 802E5A40 002E29A0 90 01 01 5C */ stw r0, 0x15c(r1) +/* 802E5A44 002E29A4 90 01 01 60 */ stw r0, 0x160(r1) +/* 802E5A48 002E29A8 90 01 01 48 */ stw r0, 0x148(r1) +/* 802E5A4C 002E29AC 90 01 01 4C */ stw r0, 0x14c(r1) +/* 802E5A50 002E29B0 90 01 01 50 */ stw r0, 0x150(r1) +/* 802E5A54 002E29B4 90 01 01 38 */ stw r0, 0x138(r1) +/* 802E5A58 002E29B8 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802E5A5C 002E29BC 90 01 01 40 */ stw r0, 0x140(r1) +/* 802E5A60 002E29C0 90 01 01 28 */ stw r0, 0x128(r1) +/* 802E5A64 002E29C4 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802E5A68 002E29C8 90 01 01 30 */ stw r0, 0x130(r1) +/* 802E5A6C 002E29CC 40 81 08 64 */ ble lbl_802E62D0 +/* 802E5A70 002E29D0 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 802E5A74 002E29D4 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802E5A78 002E29D8 80 84 00 00 */ lwz r4, 0(r4) +/* 802E5A7C 002E29DC 80 84 00 00 */ lwz r4, 0(r4) +/* 802E5A80 002E29E0 4B F9 D0 61 */ bl Clone__11IAnimReaderCFv +/* 802E5A84 002E29E4 38 61 00 54 */ addi r3, r1, 0x54 +/* 802E5A88 002E29E8 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802E5A8C 002E29EC 48 00 E1 6D */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802E5A90 002E29F0 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802E5A94 002E29F4 38 61 00 54 */ addi r3, r1, 0x54 +/* 802E5A98 002E29F8 90 A1 00 58 */ stw r5, 0x58(r1) +/* 802E5A9C 002E29FC 80 85 00 04 */ lwz r4, 4(r5) +/* 802E5AA0 002E2A00 38 04 00 01 */ addi r0, r4, 1 +/* 802E5AA4 002E2A04 90 05 00 04 */ stw r0, 4(r5) +/* 802E5AA8 002E2A08 4B D4 B4 F9 */ bl sub_80030fa0 +/* 802E5AAC 002E2A0C 88 01 00 C4 */ lbz r0, 0xc4(r1) +/* 802E5AB0 002E2A10 28 00 00 00 */ cmplwi r0, 0 +/* 802E5AB4 002E2A14 41 82 00 24 */ beq lbl_802E5AD8 +/* 802E5AB8 002E2A18 80 61 00 C8 */ lwz r3, 0xc8(r1) +/* 802E5ABC 002E2A1C 28 03 00 00 */ cmplwi r3, 0 +/* 802E5AC0 002E2A20 41 82 00 18 */ beq lbl_802E5AD8 +/* 802E5AC4 002E2A24 81 83 00 00 */ lwz r12, 0(r3) +/* 802E5AC8 002E2A28 38 80 00 01 */ li r4, 1 +/* 802E5ACC 002E2A2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E5AD0 002E2A30 7D 89 03 A6 */ mtctr r12 +/* 802E5AD4 002E2A34 4E 80 04 21 */ bctrl +lbl_802E5AD8: +/* 802E5AD8 002E2A38 3C C0 80 03 */ lis r6, __dt__12CBoolPOINodeFv@ha +/* 802E5ADC 002E2A3C 3C A0 80 03 */ lis r5, __dt__13CInt32POINodeFv@ha +/* 802E5AE0 002E2A40 3C 80 80 03 */ lis r4, __dt__16CParticlePOINodeFv@ha +/* 802E5AE4 002E2A44 3C 60 80 03 */ lis r3, __dt__13CSoundPOINodeFv@ha +/* 802E5AE8 002E2A48 3A E6 F7 EC */ addi r23, r6, __dt__12CBoolPOINodeFv@l +/* 802E5AEC 002E2A4C 3B 25 B3 00 */ addi r25, r5, __dt__13CInt32POINodeFv@l +/* 802E5AF0 002E2A50 3B 44 F7 5C */ addi r26, r4, __dt__16CParticlePOINodeFv@l +/* 802E5AF4 002E2A54 3B 63 F6 E4 */ addi r27, r3, __dt__13CSoundPOINodeFv@l +/* 802E5AF8 002E2A58 3C C0 80 2E */ lis r6, __defctor__12CBoolPOINodeFv@ha +/* 802E5AFC 002E2A5C 3C A0 80 2E */ lis r5, __defctor__13CInt32POINodeFv@ha +/* 802E5B00 002E2A60 3C 80 80 2E */ lis r4, __defctor__16CParticlePOINodeFv@ha +/* 802E5B04 002E2A64 3C 60 80 2E */ lis r3, __defctor__13CSoundPOINodeFv@ha +/* 802E5B08 002E2A68 C3 62 C5 E8 */ lfs f27, lbl_805AE308@sda21(r2) +/* 802E5B0C 002E2A6C 3B E6 69 E8 */ addi r31, r6, __defctor__12CBoolPOINodeFv@l +/* 802E5B10 002E2A70 C3 82 C5 EC */ lfs f28, lbl_805AE30C@sda21(r2) +/* 802E5B14 002E2A74 3B 05 69 3C */ addi r24, r5, __defctor__13CInt32POINodeFv@l +/* 802E5B18 002E2A78 C3 01 01 08 */ lfs f24, 0x108(r1) +/* 802E5B1C 002E2A7C 3A 44 68 50 */ addi r18, r4, __defctor__16CParticlePOINodeFv@l +/* 802E5B20 002E2A80 C3 21 01 0C */ lfs f25, 0x10c(r1) +/* 802E5B24 002E2A84 3A 23 66 98 */ addi r17, r3, __defctor__13CSoundPOINodeFv@l +/* 802E5B28 002E2A88 C3 41 01 10 */ lfs f26, 0x110(r1) +/* 802E5B2C 002E2A8C 3A 1E FF FF */ addi r16, r30, -1 +/* 802E5B30 002E2A90 3B A0 00 00 */ li r29, 0 +/* 802E5B34 002E2A94 48 00 07 8C */ b lbl_802E62C0 +lbl_802E5B38: +/* 802E5B38 002E2A98 7F E4 FB 78 */ mr r4, r31 +/* 802E5B3C 002E2A9C 7E E5 BB 78 */ mr r5, r23 +/* 802E5B40 002E2AA0 38 61 3C C4 */ addi r3, r1, 0x3cc4 +/* 802E5B44 002E2AA4 38 C0 00 3C */ li r6, 0x3c +/* 802E5B48 002E2AA8 38 E0 00 40 */ li r7, 0x40 +/* 802E5B4C 002E2AAC 48 0A 3C 01 */ bl __construct_array +/* 802E5B50 002E2AB0 C0 0D 9B 9C */ lfs f0, lbl_805A875C@sda21(r13) +/* 802E5B54 002E2AB4 38 81 00 BC */ addi r4, r1, 0xbc +/* 802E5B58 002E2AB8 80 0D 9B 98 */ lwz r0, lbl_805A8758@sda21(r13) +/* 802E5B5C 002E2ABC 38 A1 3C C4 */ addi r5, r1, 0x3cc4 +/* 802E5B60 002E2AC0 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802E5B64 002E2AC4 38 C0 00 40 */ li r6, 0x40 +/* 802E5B68 002E2AC8 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802E5B6C 002E2ACC 38 E0 00 00 */ li r7, 0 +/* 802E5B70 002E2AD0 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 802E5B74 002E2AD4 39 00 00 00 */ li r8, 0 +/* 802E5B78 002E2AD8 80 63 00 00 */ lwz r3, 0(r3) +/* 802E5B7C 002E2ADC 48 01 82 7D */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 802E5B80 002E2AE0 80 01 01 58 */ lwz r0, 0x158(r1) +/* 802E5B84 002E2AE4 7C 74 1B 78 */ mr r20, r3 +/* 802E5B88 002E2AE8 38 61 01 54 */ addi r3, r1, 0x154 +/* 802E5B8C 002E2AEC 7C 94 02 14 */ add r4, r20, r0 +/* 802E5B90 002E2AF0 4B FF 75 C5 */ bl sub_802dd154 +/* 802E5B94 002E2AF4 3A C1 3C C4 */ addi r22, r1, 0x3cc4 +/* 802E5B98 002E2AF8 3A A0 00 00 */ li r21, 0 +/* 802E5B9C 002E2AFC 48 00 00 E8 */ b lbl_802E5C84 +lbl_802E5BA0: +/* 802E5BA0 002E2B00 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802E5BA4 002E2B04 38 96 00 1C */ addi r4, r22, 0x1c +/* 802E5BA8 002E2B08 38 A1 00 EC */ addi r5, r1, 0xec +/* 802E5BAC 002E2B0C 48 06 29 F9 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E5BB0 002E2B10 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 802E5BB4 002E2B14 80 01 01 58 */ lwz r0, 0x158(r1) +/* 802E5BB8 002E2B18 80 A1 01 5C */ lwz r5, 0x15c(r1) +/* 802E5BBC 002E2B1C D0 16 00 1C */ stfs f0, 0x1c(r22) +/* 802E5BC0 002E2B20 80 61 00 B8 */ lwz r3, 0xb8(r1) +/* 802E5BC4 002E2B24 7C 00 28 00 */ cmpw r0, r5 +/* 802E5BC8 002E2B28 90 76 00 20 */ stw r3, 0x20(r22) +/* 802E5BCC 002E2B2C 41 80 00 1C */ blt lbl_802E5BE8 +/* 802E5BD0 002E2B30 2C 05 00 00 */ cmpwi r5, 0 +/* 802E5BD4 002E2B34 38 61 01 54 */ addi r3, r1, 0x154 +/* 802E5BD8 002E2B38 38 80 00 04 */ li r4, 4 +/* 802E5BDC 002E2B3C 41 82 00 08 */ beq lbl_802E5BE4 +/* 802E5BE0 002E2B40 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E5BE4: +/* 802E5BE4 002E2B44 4B FF 75 71 */ bl sub_802dd154 +lbl_802E5BE8: +/* 802E5BE8 002E2B48 80 01 01 58 */ lwz r0, 0x158(r1) +/* 802E5BEC 002E2B4C 80 61 01 60 */ lwz r3, 0x160(r1) +/* 802E5BF0 002E2B50 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802E5BF4 002E2B54 7E 63 02 15 */ add. r19, r3, r0 +/* 802E5BF8 002E2B58 41 82 00 78 */ beq lbl_802E5C70 +/* 802E5BFC 002E2B5C 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802E5C00 002E2B60 38 73 00 08 */ addi r3, r19, 8 +/* 802E5C04 002E2B64 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802E5C08 002E2B68 38 96 00 08 */ addi r4, r22, 8 +/* 802E5C0C 002E2B6C 90 13 00 00 */ stw r0, 0(r19) +/* 802E5C10 002E2B70 A0 16 00 04 */ lhz r0, 4(r22) +/* 802E5C14 002E2B74 B0 13 00 04 */ sth r0, 4(r19) +/* 802E5C18 002E2B78 48 05 85 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E5C1C 002E2B7C A0 96 00 18 */ lhz r4, 0x18(r22) +/* 802E5C20 002E2B80 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802E5C24 002E2B84 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 802E5C28 002E2B88 B0 93 00 18 */ sth r4, 0x18(r19) +/* 802E5C2C 002E2B8C C0 16 00 1C */ lfs f0, 0x1c(r22) +/* 802E5C30 002E2B90 D0 13 00 1C */ stfs f0, 0x1c(r19) +/* 802E5C34 002E2B94 80 76 00 20 */ lwz r3, 0x20(r22) +/* 802E5C38 002E2B98 90 73 00 20 */ stw r3, 0x20(r19) +/* 802E5C3C 002E2B9C 80 76 00 24 */ lwz r3, 0x24(r22) +/* 802E5C40 002E2BA0 90 73 00 24 */ stw r3, 0x24(r19) +/* 802E5C44 002E2BA4 88 76 00 28 */ lbz r3, 0x28(r22) +/* 802E5C48 002E2BA8 98 73 00 28 */ stb r3, 0x28(r19) +/* 802E5C4C 002E2BAC C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 802E5C50 002E2BB0 D0 13 00 2C */ stfs f0, 0x2c(r19) +/* 802E5C54 002E2BB4 80 76 00 30 */ lwz r3, 0x30(r22) +/* 802E5C58 002E2BB8 90 73 00 30 */ stw r3, 0x30(r19) +/* 802E5C5C 002E2BBC 80 76 00 34 */ lwz r3, 0x34(r22) +/* 802E5C60 002E2BC0 90 73 00 34 */ stw r3, 0x34(r19) +/* 802E5C64 002E2BC4 90 13 00 00 */ stw r0, 0(r19) +/* 802E5C68 002E2BC8 88 16 00 38 */ lbz r0, 0x38(r22) +/* 802E5C6C 002E2BCC 98 13 00 38 */ stb r0, 0x38(r19) +lbl_802E5C70: +/* 802E5C70 002E2BD0 80 61 01 58 */ lwz r3, 0x158(r1) +/* 802E5C74 002E2BD4 3A D6 00 3C */ addi r22, r22, 0x3c +/* 802E5C78 002E2BD8 3A B5 00 01 */ addi r21, r21, 1 +/* 802E5C7C 002E2BDC 38 03 00 01 */ addi r0, r3, 1 +/* 802E5C80 002E2BE0 90 01 01 58 */ stw r0, 0x158(r1) +lbl_802E5C84: +/* 802E5C84 002E2BE4 7C 15 A0 40 */ cmplw r21, r20 +/* 802E5C88 002E2BE8 41 80 FF 18 */ blt lbl_802E5BA0 +/* 802E5C8C 002E2BEC 7F 04 C3 78 */ mr r4, r24 +/* 802E5C90 002E2BF0 7F 25 CB 78 */ mr r5, r25 +/* 802E5C94 002E2BF4 38 61 29 C4 */ addi r3, r1, 0x29c4 +/* 802E5C98 002E2BF8 38 C0 00 4C */ li r6, 0x4c +/* 802E5C9C 002E2BFC 38 E0 00 40 */ li r7, 0x40 +/* 802E5CA0 002E2C00 48 0A 3A AD */ bl __construct_array +/* 802E5CA4 002E2C04 C0 0D 9B 9C */ lfs f0, lbl_805A875C@sda21(r13) +/* 802E5CA8 002E2C08 38 81 00 AC */ addi r4, r1, 0xac +/* 802E5CAC 002E2C0C 80 0D 9B 98 */ lwz r0, lbl_805A8758@sda21(r13) +/* 802E5CB0 002E2C10 38 A1 29 C4 */ addi r5, r1, 0x29c4 +/* 802E5CB4 002E2C14 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 802E5CB8 002E2C18 38 C0 00 40 */ li r6, 0x40 +/* 802E5CBC 002E2C1C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802E5CC0 002E2C20 38 E0 00 00 */ li r7, 0 +/* 802E5CC4 002E2C24 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 802E5CC8 002E2C28 39 00 00 00 */ li r8, 0 +/* 802E5CCC 002E2C2C 80 63 00 00 */ lwz r3, 0(r3) +/* 802E5CD0 002E2C30 48 01 80 AD */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 802E5CD4 002E2C34 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802E5CD8 002E2C38 7C 74 1B 78 */ mr r20, r3 +/* 802E5CDC 002E2C3C 38 61 01 44 */ addi r3, r1, 0x144 +/* 802E5CE0 002E2C40 7C 94 02 14 */ add r4, r20, r0 +/* 802E5CE4 002E2C44 4B FF 76 31 */ bl "reserve__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>Fi" +/* 802E5CE8 002E2C48 3A C1 29 C4 */ addi r22, r1, 0x29c4 +/* 802E5CEC 002E2C4C 3A A0 00 00 */ li r21, 0 +/* 802E5CF0 002E2C50 48 00 00 F4 */ b lbl_802E5DE4 +lbl_802E5CF4: +/* 802E5CF4 002E2C54 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 802E5CF8 002E2C58 38 96 00 1C */ addi r4, r22, 0x1c +/* 802E5CFC 002E2C5C 38 A1 00 EC */ addi r5, r1, 0xec +/* 802E5D00 002E2C60 48 06 28 A5 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E5D04 002E2C64 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802E5D08 002E2C68 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802E5D0C 002E2C6C 80 A1 01 4C */ lwz r5, 0x14c(r1) +/* 802E5D10 002E2C70 D0 16 00 1C */ stfs f0, 0x1c(r22) +/* 802E5D14 002E2C74 80 61 00 A8 */ lwz r3, 0xa8(r1) +/* 802E5D18 002E2C78 7C 00 28 00 */ cmpw r0, r5 +/* 802E5D1C 002E2C7C 90 76 00 20 */ stw r3, 0x20(r22) +/* 802E5D20 002E2C80 41 80 00 1C */ blt lbl_802E5D3C +/* 802E5D24 002E2C84 2C 05 00 00 */ cmpwi r5, 0 +/* 802E5D28 002E2C88 38 61 01 44 */ addi r3, r1, 0x144 +/* 802E5D2C 002E2C8C 38 80 00 04 */ li r4, 4 +/* 802E5D30 002E2C90 41 82 00 08 */ beq lbl_802E5D38 +/* 802E5D34 002E2C94 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E5D38: +/* 802E5D38 002E2C98 4B FF 75 DD */ bl "reserve__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>Fi" +lbl_802E5D3C: +/* 802E5D3C 002E2C9C 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802E5D40 002E2CA0 80 61 01 50 */ lwz r3, 0x150(r1) +/* 802E5D44 002E2CA4 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802E5D48 002E2CA8 7E 63 02 15 */ add. r19, r3, r0 +/* 802E5D4C 002E2CAC 41 82 00 84 */ beq lbl_802E5DD0 +/* 802E5D50 002E2CB0 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802E5D54 002E2CB4 38 96 00 08 */ addi r4, r22, 8 +/* 802E5D58 002E2CB8 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802E5D5C 002E2CBC 90 13 00 00 */ stw r0, 0(r19) +/* 802E5D60 002E2CC0 38 73 00 08 */ addi r3, r19, 8 +/* 802E5D64 002E2CC4 A0 16 00 04 */ lhz r0, 4(r22) +/* 802E5D68 002E2CC8 B0 13 00 04 */ sth r0, 4(r19) +/* 802E5D6C 002E2CCC 48 05 83 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E5D70 002E2CD0 A0 96 00 18 */ lhz r4, 0x18(r22) +/* 802E5D74 002E2CD4 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802E5D78 002E2CD8 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802E5D7C 002E2CDC 38 73 00 3C */ addi r3, r19, 0x3c +/* 802E5D80 002E2CE0 B0 93 00 18 */ sth r4, 0x18(r19) +/* 802E5D84 002E2CE4 38 96 00 3C */ addi r4, r22, 0x3c +/* 802E5D88 002E2CE8 C0 16 00 1C */ lfs f0, 0x1c(r22) +/* 802E5D8C 002E2CEC D0 13 00 1C */ stfs f0, 0x1c(r19) +/* 802E5D90 002E2CF0 80 B6 00 20 */ lwz r5, 0x20(r22) +/* 802E5D94 002E2CF4 90 B3 00 20 */ stw r5, 0x20(r19) +/* 802E5D98 002E2CF8 80 B6 00 24 */ lwz r5, 0x24(r22) +/* 802E5D9C 002E2CFC 90 B3 00 24 */ stw r5, 0x24(r19) +/* 802E5DA0 002E2D00 88 B6 00 28 */ lbz r5, 0x28(r22) +/* 802E5DA4 002E2D04 98 B3 00 28 */ stb r5, 0x28(r19) +/* 802E5DA8 002E2D08 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 802E5DAC 002E2D0C D0 13 00 2C */ stfs f0, 0x2c(r19) +/* 802E5DB0 002E2D10 80 B6 00 30 */ lwz r5, 0x30(r22) +/* 802E5DB4 002E2D14 90 B3 00 30 */ stw r5, 0x30(r19) +/* 802E5DB8 002E2D18 80 B6 00 34 */ lwz r5, 0x34(r22) +/* 802E5DBC 002E2D1C 90 B3 00 34 */ stw r5, 0x34(r19) +/* 802E5DC0 002E2D20 90 13 00 00 */ stw r0, 0(r19) +/* 802E5DC4 002E2D24 80 16 00 38 */ lwz r0, 0x38(r22) +/* 802E5DC8 002E2D28 90 13 00 38 */ stw r0, 0x38(r19) +/* 802E5DCC 002E2D2C 48 05 83 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802E5DD0: +/* 802E5DD0 002E2D30 80 61 01 48 */ lwz r3, 0x148(r1) +/* 802E5DD4 002E2D34 3A D6 00 4C */ addi r22, r22, 0x4c +/* 802E5DD8 002E2D38 3A B5 00 01 */ addi r21, r21, 1 +/* 802E5DDC 002E2D3C 38 03 00 01 */ addi r0, r3, 1 +/* 802E5DE0 002E2D40 90 01 01 48 */ stw r0, 0x148(r1) +lbl_802E5DE4: +/* 802E5DE4 002E2D44 7C 15 A0 40 */ cmplw r21, r20 +/* 802E5DE8 002E2D48 41 80 FF 0C */ blt lbl_802E5CF4 +/* 802E5DEC 002E2D4C 7E 44 93 78 */ mr r4, r18 +/* 802E5DF0 002E2D50 7F 45 D3 78 */ mr r5, r26 +/* 802E5DF4 002E2D54 38 61 12 C4 */ addi r3, r1, 0x12c4 +/* 802E5DF8 002E2D58 38 C0 00 5C */ li r6, 0x5c +/* 802E5DFC 002E2D5C 38 E0 00 40 */ li r7, 0x40 +/* 802E5E00 002E2D60 48 0A 39 4D */ bl __construct_array +/* 802E5E04 002E2D64 C0 0D 9B 9C */ lfs f0, lbl_805A875C@sda21(r13) +/* 802E5E08 002E2D68 38 81 00 9C */ addi r4, r1, 0x9c +/* 802E5E0C 002E2D6C 80 0D 9B 98 */ lwz r0, lbl_805A8758@sda21(r13) +/* 802E5E10 002E2D70 38 A1 12 C4 */ addi r5, r1, 0x12c4 +/* 802E5E14 002E2D74 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 802E5E18 002E2D78 38 C0 00 40 */ li r6, 0x40 +/* 802E5E1C 002E2D7C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802E5E20 002E2D80 38 E0 00 00 */ li r7, 0 +/* 802E5E24 002E2D84 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 802E5E28 002E2D88 39 00 00 00 */ li r8, 0 +/* 802E5E2C 002E2D8C 80 63 00 00 */ lwz r3, 0(r3) +/* 802E5E30 002E2D90 48 01 7E D1 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 802E5E34 002E2D94 80 01 01 38 */ lwz r0, 0x138(r1) +/* 802E5E38 002E2D98 7C 73 1B 78 */ mr r19, r3 +/* 802E5E3C 002E2D9C 38 61 01 34 */ addi r3, r1, 0x134 +/* 802E5E40 002E2DA0 7C 93 02 14 */ add r4, r19, r0 +/* 802E5E44 002E2DA4 4B FF 76 9D */ bl "reserve__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>Fi" +/* 802E5E48 002E2DA8 3A 81 12 C4 */ addi r20, r1, 0x12c4 +/* 802E5E4C 002E2DAC 3A A0 00 00 */ li r21, 0 +/* 802E5E50 002E2DB0 48 00 00 38 */ b lbl_802E5E88 +lbl_802E5E54: +/* 802E5E54 002E2DB4 38 61 00 94 */ addi r3, r1, 0x94 +/* 802E5E58 002E2DB8 38 94 00 1C */ addi r4, r20, 0x1c +/* 802E5E5C 002E2DBC 38 A1 00 EC */ addi r5, r1, 0xec +/* 802E5E60 002E2DC0 48 06 27 45 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E5E64 002E2DC4 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802E5E68 002E2DC8 7E 84 A3 78 */ mr r4, r20 +/* 802E5E6C 002E2DCC 80 01 00 98 */ lwz r0, 0x98(r1) +/* 802E5E70 002E2DD0 38 61 01 34 */ addi r3, r1, 0x134 +/* 802E5E74 002E2DD4 D0 14 00 1C */ stfs f0, 0x1c(r20) +/* 802E5E78 002E2DD8 90 14 00 20 */ stw r0, 0x20(r20) +/* 802E5E7C 002E2DDC 48 00 08 B5 */ bl "push_back__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>FRC16CParticlePOINode" +/* 802E5E80 002E2DE0 3A 94 00 5C */ addi r20, r20, 0x5c +/* 802E5E84 002E2DE4 3A B5 00 01 */ addi r21, r21, 1 +lbl_802E5E88: +/* 802E5E88 002E2DE8 7C 15 98 40 */ cmplw r21, r19 +/* 802E5E8C 002E2DEC 41 80 FF C8 */ blt lbl_802E5E54 +/* 802E5E90 002E2DF0 7E 24 8B 78 */ mr r4, r17 +/* 802E5E94 002E2DF4 7F 65 DB 78 */ mr r5, r27 +/* 802E5E98 002E2DF8 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 802E5E9C 002E2DFC 38 C0 00 44 */ li r6, 0x44 +/* 802E5EA0 002E2E00 38 E0 00 40 */ li r7, 0x40 +/* 802E5EA4 002E2E04 48 0A 38 A9 */ bl __construct_array +/* 802E5EA8 002E2E08 C0 0D 9B 9C */ lfs f0, lbl_805A875C@sda21(r13) +/* 802E5EAC 002E2E0C 38 81 00 8C */ addi r4, r1, 0x8c +/* 802E5EB0 002E2E10 80 0D 9B 98 */ lwz r0, lbl_805A8758@sda21(r13) +/* 802E5EB4 002E2E14 38 A1 01 C4 */ addi r5, r1, 0x1c4 +/* 802E5EB8 002E2E18 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802E5EBC 002E2E1C 38 C0 00 40 */ li r6, 0x40 +/* 802E5EC0 002E2E20 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802E5EC4 002E2E24 38 E0 00 00 */ li r7, 0 +/* 802E5EC8 002E2E28 90 01 00 90 */ stw r0, 0x90(r1) +/* 802E5ECC 002E2E2C 39 00 00 00 */ li r8, 0 +/* 802E5ED0 002E2E30 80 63 00 00 */ lwz r3, 0(r3) +/* 802E5ED4 002E2E34 48 01 7D B1 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 802E5ED8 002E2E38 80 01 01 28 */ lwz r0, 0x128(r1) +/* 802E5EDC 002E2E3C 7C 73 1B 78 */ mr r19, r3 +/* 802E5EE0 002E2E40 38 61 01 24 */ addi r3, r1, 0x124 +/* 802E5EE4 002E2E44 7C 93 02 14 */ add r4, r19, r0 +/* 802E5EE8 002E2E48 4B FF 77 E5 */ bl "reserve__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>Fi" +/* 802E5EEC 002E2E4C 3A 81 01 C4 */ addi r20, r1, 0x1c4 +/* 802E5EF0 002E2E50 3A A0 00 00 */ li r21, 0 +/* 802E5EF4 002E2E54 48 00 00 38 */ b lbl_802E5F2C +lbl_802E5EF8: +/* 802E5EF8 002E2E58 38 61 00 84 */ addi r3, r1, 0x84 +/* 802E5EFC 002E2E5C 38 94 00 1C */ addi r4, r20, 0x1c +/* 802E5F00 002E2E60 38 A1 00 EC */ addi r5, r1, 0xec +/* 802E5F04 002E2E64 48 06 26 A1 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E5F08 002E2E68 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802E5F0C 002E2E6C 7E 84 A3 78 */ mr r4, r20 +/* 802E5F10 002E2E70 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802E5F14 002E2E74 38 61 01 24 */ addi r3, r1, 0x124 +/* 802E5F18 002E2E78 D0 14 00 1C */ stfs f0, 0x1c(r20) +/* 802E5F1C 002E2E7C 90 14 00 20 */ stw r0, 0x20(r20) +/* 802E5F20 002E2E80 48 00 06 75 */ bl "push_back__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>FRC13CSoundPOINode" +/* 802E5F24 002E2E84 3A 94 00 44 */ addi r20, r20, 0x44 +/* 802E5F28 002E2E88 3A B5 00 01 */ addi r21, r21, 1 +lbl_802E5F2C: +/* 802E5F2C 002E2E8C 7C 15 98 40 */ cmplw r21, r19 +/* 802E5F30 002E2E90 41 80 FF C8 */ blt lbl_802E5EF8 +/* 802E5F34 002E2E94 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802E5F38 002E2E98 38 61 00 7C */ addi r3, r1, 0x7c +/* 802E5F3C 002E2E9C 80 84 00 00 */ lwz r4, 0(r4) +/* 802E5F40 002E2EA0 81 84 00 00 */ lwz r12, 0(r4) +/* 802E5F44 002E2EA4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802E5F48 002E2EA8 7D 89 03 A6 */ mtctr r12 +/* 802E5F4C 002E2EAC 4E 80 04 21 */ bctrl +/* 802E5F50 002E2EB0 38 61 00 EC */ addi r3, r1, 0xec +/* 802E5F54 002E2EB4 38 81 00 7C */ addi r4, r1, 0x7c +/* 802E5F58 002E2EB8 48 06 26 01 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802E5F5C 002E2EBC 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802E5F60 002E2EC0 38 61 00 74 */ addi r3, r1, 0x74 +/* 802E5F64 002E2EC4 80 84 00 00 */ lwz r4, 0(r4) +/* 802E5F68 002E2EC8 81 84 00 00 */ lwz r12, 0(r4) +/* 802E5F6C 002E2ECC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802E5F70 002E2ED0 7D 89 03 A6 */ mtctr r12 +/* 802E5F74 002E2ED4 4E 80 04 21 */ bctrl +/* 802E5F78 002E2ED8 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802E5F7C 002E2EDC 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802E5F80 002E2EE0 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802E5F84 002E2EE4 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 802E5F88 002E2EE8 48 00 02 00 */ b lbl_802E6188 +lbl_802E5F8C: +/* 802E5F8C 002E2EEC C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802E5F90 002E2EF0 38 61 01 7C */ addi r3, r1, 0x17c +/* 802E5F94 002E2EF4 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 802E5F98 002E2EF8 38 A1 00 DC */ addi r5, r1, 0xdc +/* 802E5F9C 002E2EFC D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 802E5FA0 002E2F00 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802E5FA4 002E2F04 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 802E5FA8 002E2F08 80 84 00 00 */ lwz r4, 0(r4) +/* 802E5FAC 002E2F0C 81 84 00 00 */ lwz r12, 0(r4) +/* 802E5FB0 002E2F10 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802E5FB4 002E2F14 7D 89 03 A6 */ mtctr r12 +/* 802E5FB8 002E2F18 4E 80 04 21 */ bctrl +/* 802E5FBC 002E2F1C C0 E1 01 7C */ lfs f7, 0x17c(r1) +/* 802E5FC0 002E2F20 38 61 00 FC */ addi r3, r1, 0xfc +/* 802E5FC4 002E2F24 80 01 01 80 */ lwz r0, 0x180(r1) +/* 802E5FC8 002E2F28 C0 C1 01 84 */ lfs f6, 0x184(r1) +/* 802E5FCC 002E2F2C C0 A1 01 88 */ lfs f5, 0x188(r1) +/* 802E5FD0 002E2F30 C0 81 01 8C */ lfs f4, 0x18c(r1) +/* 802E5FD4 002E2F34 C0 61 01 90 */ lfs f3, 0x190(r1) +/* 802E5FD8 002E2F38 C0 41 01 94 */ lfs f2, 0x194(r1) +/* 802E5FDC 002E2F3C C0 21 01 98 */ lfs f1, 0x198(r1) +/* 802E5FE0 002E2F40 C0 01 01 9C */ lfs f0, 0x19c(r1) +/* 802E5FE4 002E2F44 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802E5FE8 002E2F48 D0 E1 01 A0 */ stfs f7, 0x1a0(r1) +/* 802E5FEC 002E2F4C 80 84 00 00 */ lwz r4, 0(r4) +/* 802E5FF0 002E2F50 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802E5FF4 002E2F54 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) +/* 802E5FF8 002E2F58 D0 A1 01 AC */ stfs f5, 0x1ac(r1) +/* 802E5FFC 002E2F5C D0 81 01 B0 */ stfs f4, 0x1b0(r1) +/* 802E6000 002E2F60 D0 61 01 B4 */ stfs f3, 0x1b4(r1) +/* 802E6004 002E2F64 D0 41 01 B8 */ stfs f2, 0x1b8(r1) +/* 802E6008 002E2F68 D0 21 01 BC */ stfs f1, 0x1bc(r1) +/* 802E600C 002E2F6C D0 01 01 C0 */ stfs f0, 0x1c0(r1) +/* 802E6010 002E2F70 4B D4 3F 55 */ bl Simplified__11IAnimReaderFv +/* 802E6014 002E2F74 88 01 01 04 */ lbz r0, 0x104(r1) +/* 802E6018 002E2F78 28 00 00 00 */ cmplwi r0, 0 +/* 802E601C 002E2F7C 98 01 01 20 */ stb r0, 0x120(r1) +/* 802E6020 002E2F80 41 82 00 24 */ beq lbl_802E6044 +/* 802E6024 002E2F84 34 81 01 18 */ addic. r4, r1, 0x118 +/* 802E6028 002E2F88 41 82 00 1C */ beq lbl_802E6044 +/* 802E602C 002E2F8C 88 61 00 FC */ lbz r3, 0xfc(r1) +/* 802E6030 002E2F90 38 00 00 00 */ li r0, 0 +/* 802E6034 002E2F94 98 64 00 00 */ stb r3, 0(r4) +/* 802E6038 002E2F98 80 61 01 00 */ lwz r3, 0x100(r1) +/* 802E603C 002E2F9C 90 64 00 04 */ stw r3, 4(r4) +/* 802E6040 002E2FA0 98 01 00 FC */ stb r0, 0xfc(r1) +lbl_802E6044: +/* 802E6044 002E2FA4 88 01 01 04 */ lbz r0, 0x104(r1) +/* 802E6048 002E2FA8 28 00 00 00 */ cmplwi r0, 0 +/* 802E604C 002E2FAC 41 82 00 38 */ beq lbl_802E6084 +/* 802E6050 002E2FB0 34 61 00 FC */ addic. r3, r1, 0xfc +/* 802E6054 002E2FB4 41 82 00 30 */ beq lbl_802E6084 +/* 802E6058 002E2FB8 88 03 00 00 */ lbz r0, 0(r3) +/* 802E605C 002E2FBC 28 00 00 00 */ cmplwi r0, 0 +/* 802E6060 002E2FC0 41 82 00 24 */ beq lbl_802E6084 +/* 802E6064 002E2FC4 80 63 00 04 */ lwz r3, 4(r3) +/* 802E6068 002E2FC8 28 03 00 00 */ cmplwi r3, 0 +/* 802E606C 002E2FCC 41 82 00 18 */ beq lbl_802E6084 +/* 802E6070 002E2FD0 81 83 00 00 */ lwz r12, 0(r3) +/* 802E6074 002E2FD4 38 80 00 01 */ li r4, 1 +/* 802E6078 002E2FD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E607C 002E2FDC 7D 89 03 A6 */ mtctr r12 +/* 802E6080 002E2FE0 4E 80 04 21 */ bctrl +lbl_802E6084: +/* 802E6084 002E2FE4 88 01 01 20 */ lbz r0, 0x120(r1) +/* 802E6088 002E2FE8 38 60 00 00 */ li r3, 0 +/* 802E608C 002E2FEC 98 61 01 04 */ stb r3, 0x104(r1) +/* 802E6090 002E2FF0 28 00 00 00 */ cmplwi r0, 0 +/* 802E6094 002E2FF4 41 82 00 44 */ beq lbl_802E60D8 +/* 802E6098 002E2FF8 38 61 00 50 */ addi r3, r1, 0x50 +/* 802E609C 002E2FFC 38 81 01 18 */ addi r4, r1, 0x118 +/* 802E60A0 002E3000 48 00 DB 59 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802E60A4 002E3004 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802E60A8 002E3008 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802E60AC 002E300C 7C 03 00 40 */ cmplw r3, r0 +/* 802E60B0 002E3010 41 82 00 20 */ beq lbl_802E60D0 +/* 802E60B4 002E3014 38 61 00 58 */ addi r3, r1, 0x58 +/* 802E60B8 002E3018 4B D4 AE E9 */ bl sub_80030fa0 +/* 802E60BC 002E301C 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802E60C0 002E3020 90 81 00 58 */ stw r4, 0x58(r1) +/* 802E60C4 002E3024 80 64 00 04 */ lwz r3, 4(r4) +/* 802E60C8 002E3028 38 03 00 01 */ addi r0, r3, 1 +/* 802E60CC 002E302C 90 04 00 04 */ stw r0, 4(r4) +lbl_802E60D0: +/* 802E60D0 002E3030 38 61 00 50 */ addi r3, r1, 0x50 +/* 802E60D4 002E3034 4B D4 AE CD */ bl sub_80030fa0 +lbl_802E60D8: +/* 802E60D8 002E3038 C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 802E60DC 002E303C 38 61 00 6C */ addi r3, r1, 0x6c +/* 802E60E0 002E3040 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802E60E4 002E3044 38 81 00 DC */ addi r4, r1, 0xdc +/* 802E60E8 002E3048 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802E60EC 002E304C 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 802E60F0 002E3050 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 802E60F4 002E3054 48 06 26 71 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E60F8 002E3058 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802E60FC 002E305C 38 81 00 6C */ addi r4, r1, 0x6c +/* 802E6100 002E3060 48 06 24 59 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802E6104 002E3064 38 00 00 01 */ li r0, 1 +/* 802E6108 002E3068 34 61 01 08 */ addic. r3, r1, 0x108 +/* 802E610C 002E306C 98 01 01 14 */ stb r0, 0x114(r1) +/* 802E6110 002E3070 41 82 00 1C */ beq lbl_802E612C +/* 802E6114 002E3074 C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 802E6118 002E3078 C0 21 01 AC */ lfs f1, 0x1ac(r1) +/* 802E611C 002E307C D0 03 00 00 */ stfs f0, 0(r3) +/* 802E6120 002E3080 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 802E6124 002E3084 D0 23 00 04 */ stfs f1, 4(r3) +/* 802E6128 002E3088 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802E612C: +/* 802E612C 002E308C 88 01 01 20 */ lbz r0, 0x120(r1) +/* 802E6130 002E3090 38 60 00 00 */ li r3, 0 +/* 802E6134 002E3094 EF FF C0 2A */ fadds f31, f31, f24 +/* 802E6138 002E3098 98 61 01 14 */ stb r3, 0x114(r1) +/* 802E613C 002E309C 28 00 00 00 */ cmplwi r0, 0 +/* 802E6140 002E30A0 EF DE C8 2A */ fadds f30, f30, f25 +/* 802E6144 002E30A4 EF BD D0 2A */ fadds f29, f29, f26 +/* 802E6148 002E30A8 41 82 00 38 */ beq lbl_802E6180 +/* 802E614C 002E30AC 34 61 01 18 */ addic. r3, r1, 0x118 +/* 802E6150 002E30B0 41 82 00 30 */ beq lbl_802E6180 +/* 802E6154 002E30B4 88 03 00 00 */ lbz r0, 0(r3) +/* 802E6158 002E30B8 28 00 00 00 */ cmplwi r0, 0 +/* 802E615C 002E30BC 41 82 00 24 */ beq lbl_802E6180 +/* 802E6160 002E30C0 80 63 00 04 */ lwz r3, 4(r3) +/* 802E6164 002E30C4 28 03 00 00 */ cmplwi r3, 0 +/* 802E6168 002E30C8 41 82 00 18 */ beq lbl_802E6180 +/* 802E616C 002E30CC 81 83 00 00 */ lwz r12, 0(r3) +/* 802E6170 002E30D0 38 80 00 01 */ li r4, 1 +/* 802E6174 002E30D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E6178 002E30D8 7D 89 03 A6 */ mtctr r12 +/* 802E617C 002E30DC 4E 80 04 21 */ bctrl +lbl_802E6180: +/* 802E6180 002E30E0 38 00 00 00 */ li r0, 0 +/* 802E6184 002E30E4 98 01 01 20 */ stb r0, 0x120(r1) +lbl_802E6188: +/* 802E6188 002E30E8 C0 0D 9B 94 */ lfs f0, lbl_805A8754@sda21(r13) +/* 802E618C 002E30EC 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 802E6190 002E30F0 80 0D 9B 90 */ lwz r0, lbl_805A8750@sda21(r13) +/* 802E6194 002E30F4 38 81 00 64 */ addi r4, r1, 0x64 +/* 802E6198 002E30F8 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802E619C 002E30FC 90 01 00 68 */ stw r0, 0x68(r1) +/* 802E61A0 002E3100 48 06 29 35 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E61A4 002E3104 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E61A8 002E3108 41 82 00 18 */ beq lbl_802E61C0 +/* 802E61AC 002E310C C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802E61B0 002E3110 EC 00 D8 28 */ fsubs f0, f0, f27 +/* 802E61B4 002E3114 FC 00 02 10 */ fabs f0, f0 +/* 802E61B8 002E3118 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 802E61BC 002E311C 40 80 FD D0 */ bge lbl_802E5F8C +lbl_802E61C0: +/* 802E61C0 002E3120 7C 1D 80 00 */ cmpw r29, r16 +/* 802E61C4 002E3124 40 80 00 A8 */ bge lbl_802E626C +/* 802E61C8 002E3128 38 1D 00 01 */ addi r0, r29, 1 +/* 802E61CC 002E312C 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 802E61D0 002E3130 54 00 10 3A */ slwi r0, r0, 2 +/* 802E61D4 002E3134 38 61 00 5C */ addi r3, r1, 0x5c +/* 802E61D8 002E3138 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802E61DC 002E313C 80 84 00 00 */ lwz r4, 0(r4) +/* 802E61E0 002E3140 4B F9 C9 01 */ bl Clone__11IAnimReaderCFv +/* 802E61E4 002E3144 38 61 00 4C */ addi r3, r1, 0x4c +/* 802E61E8 002E3148 38 81 00 5C */ addi r4, r1, 0x5c +/* 802E61EC 002E314C 48 00 DA 0D */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802E61F0 002E3150 7F 86 E3 78 */ mr r6, r28 +/* 802E61F4 002E3154 38 61 00 48 */ addi r3, r1, 0x48 +/* 802E61F8 002E3158 38 81 00 58 */ addi r4, r1, 0x58 +/* 802E61FC 002E315C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 802E6200 002E3160 48 00 0C ED */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802E6204 002E3164 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802E6208 002E3168 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802E620C 002E316C 7C 03 00 40 */ cmplw r3, r0 +/* 802E6210 002E3170 41 82 00 20 */ beq lbl_802E6230 +/* 802E6214 002E3174 38 61 00 58 */ addi r3, r1, 0x58 +/* 802E6218 002E3178 4B D4 AD 89 */ bl sub_80030fa0 +/* 802E621C 002E317C 80 81 00 48 */ lwz r4, 0x48(r1) +/* 802E6220 002E3180 90 81 00 58 */ stw r4, 0x58(r1) +/* 802E6224 002E3184 80 64 00 04 */ lwz r3, 4(r4) +/* 802E6228 002E3188 38 03 00 01 */ addi r0, r3, 1 +/* 802E622C 002E318C 90 04 00 04 */ stw r0, 4(r4) +lbl_802E6230: +/* 802E6230 002E3190 38 61 00 48 */ addi r3, r1, 0x48 +/* 802E6234 002E3194 4B D4 AD 6D */ bl sub_80030fa0 +/* 802E6238 002E3198 38 61 00 4C */ addi r3, r1, 0x4c +/* 802E623C 002E319C 4B D4 AD 65 */ bl sub_80030fa0 +/* 802E6240 002E31A0 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 802E6244 002E31A4 28 00 00 00 */ cmplwi r0, 0 +/* 802E6248 002E31A8 41 82 00 24 */ beq lbl_802E626C +/* 802E624C 002E31AC 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802E6250 002E31B0 28 03 00 00 */ cmplwi r3, 0 +/* 802E6254 002E31B4 41 82 00 18 */ beq lbl_802E626C +/* 802E6258 002E31B8 81 83 00 00 */ lwz r12, 0(r3) +/* 802E625C 002E31BC 38 80 00 01 */ li r4, 1 +/* 802E6260 002E31C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E6264 002E31C4 7D 89 03 A6 */ mtctr r12 +/* 802E6268 002E31C8 4E 80 04 21 */ bctrl +lbl_802E626C: +/* 802E626C 002E31CC 7F 64 DB 78 */ mr r4, r27 +/* 802E6270 002E31D0 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 802E6274 002E31D4 38 A0 00 44 */ li r5, 0x44 +/* 802E6278 002E31D8 38 C0 00 40 */ li r6, 0x40 +/* 802E627C 002E31DC 48 0A 34 59 */ bl __destroy_arr +/* 802E6280 002E31E0 7F 44 D3 78 */ mr r4, r26 +/* 802E6284 002E31E4 38 61 12 C4 */ addi r3, r1, 0x12c4 +/* 802E6288 002E31E8 38 A0 00 5C */ li r5, 0x5c +/* 802E628C 002E31EC 38 C0 00 40 */ li r6, 0x40 +/* 802E6290 002E31F0 48 0A 34 45 */ bl __destroy_arr +/* 802E6294 002E31F4 7F 24 CB 78 */ mr r4, r25 +/* 802E6298 002E31F8 38 61 29 C4 */ addi r3, r1, 0x29c4 +/* 802E629C 002E31FC 38 A0 00 4C */ li r5, 0x4c +/* 802E62A0 002E3200 38 C0 00 40 */ li r6, 0x40 +/* 802E62A4 002E3204 48 0A 34 31 */ bl __destroy_arr +/* 802E62A8 002E3208 7E E4 BB 78 */ mr r4, r23 +/* 802E62AC 002E320C 38 61 3C C4 */ addi r3, r1, 0x3cc4 +/* 802E62B0 002E3210 38 A0 00 3C */ li r5, 0x3c +/* 802E62B4 002E3214 38 C0 00 40 */ li r6, 0x40 +/* 802E62B8 002E3218 48 0A 34 1D */ bl __destroy_arr +/* 802E62BC 002E321C 3B BD 00 01 */ addi r29, r29, 1 +lbl_802E62C0: +/* 802E62C0 002E3220 7C 1D F0 00 */ cmpw r29, r30 +/* 802E62C4 002E3224 41 80 F8 74 */ blt lbl_802E5B38 +/* 802E62C8 002E3228 38 61 00 58 */ addi r3, r1, 0x58 +/* 802E62CC 002E322C 4B D4 AC D5 */ bl sub_80030fa0 +lbl_802E62D0: +/* 802E62D0 002E3230 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 802E62D4 002E3234 38 00 00 00 */ li r0, 0 +/* 802E62D8 002E3238 80 E1 00 F0 */ lwz r7, 0xf0(r1) +/* 802E62DC 002E323C 7D E3 7B 78 */ mr r3, r15 +/* 802E62E0 002E3240 D0 01 01 64 */ stfs f0, 0x164(r1) +/* 802E62E4 002E3244 38 81 01 64 */ addi r4, r1, 0x164 +/* 802E62E8 002E3248 38 A1 01 54 */ addi r5, r1, 0x154 +/* 802E62EC 002E324C 38 C1 01 44 */ addi r6, r1, 0x144 +/* 802E62F0 002E3250 90 E1 01 68 */ stw r7, 0x168(r1) +/* 802E62F4 002E3254 38 E1 01 34 */ addi r7, r1, 0x134 +/* 802E62F8 002E3258 39 01 01 24 */ addi r8, r1, 0x124 +/* 802E62FC 002E325C D3 E1 01 6C */ stfs f31, 0x16c(r1) +/* 802E6300 002E3260 D3 C1 01 70 */ stfs f30, 0x170(r1) +/* 802E6304 002E3264 D3 A1 01 74 */ stfs f29, 0x174(r1) +/* 802E6308 002E3268 98 01 01 78 */ stb r0, 0x178(r1) +/* 802E630C 002E326C 48 00 01 D9 */ bl "__ct__21CSequenceFundamentalsFRC20CSteadyStateAnimInfoRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>" +/* 802E6310 002E3270 80 01 01 28 */ lwz r0, 0x128(r1) +/* 802E6314 002E3274 82 01 01 30 */ lwz r16, 0x130(r1) +/* 802E6318 002E3278 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802E631C 002E327C 92 01 00 3C */ stw r16, 0x3c(r1) +/* 802E6320 002E3280 7D F0 02 14 */ add r15, r16, r0 +/* 802E6324 002E3284 92 01 00 38 */ stw r16, 0x38(r1) +/* 802E6328 002E3288 91 E1 00 44 */ stw r15, 0x44(r1) +/* 802E632C 002E328C 91 E1 00 40 */ stw r15, 0x40(r1) +/* 802E6330 002E3290 48 00 00 20 */ b lbl_802E6350 +lbl_802E6334: +/* 802E6334 002E3294 7E 03 83 78 */ mr r3, r16 +/* 802E6338 002E3298 38 80 FF FF */ li r4, -1 +/* 802E633C 002E329C 81 90 00 00 */ lwz r12, 0(r16) +/* 802E6340 002E32A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E6344 002E32A4 7D 89 03 A6 */ mtctr r12 +/* 802E6348 002E32A8 4E 80 04 21 */ bctrl +/* 802E634C 002E32AC 3A 10 00 44 */ addi r16, r16, 0x44 +lbl_802E6350: +/* 802E6350 002E32B0 7C 10 78 40 */ cmplw r16, r15 +/* 802E6354 002E32B4 40 82 FF E0 */ bne lbl_802E6334 +/* 802E6358 002E32B8 80 61 01 30 */ lwz r3, 0x130(r1) +/* 802E635C 002E32BC 28 03 00 00 */ cmplwi r3, 0 +/* 802E6360 002E32C0 41 82 00 08 */ beq lbl_802E6368 +/* 802E6364 002E32C4 48 02 F5 CD */ bl Free__7CMemoryFPCv +lbl_802E6368: +/* 802E6368 002E32C8 80 01 01 38 */ lwz r0, 0x138(r1) +/* 802E636C 002E32CC 82 01 01 40 */ lwz r16, 0x140(r1) +/* 802E6370 002E32D0 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802E6374 002E32D4 92 01 00 2C */ stw r16, 0x2c(r1) +/* 802E6378 002E32D8 7D F0 02 14 */ add r15, r16, r0 +/* 802E637C 002E32DC 92 01 00 28 */ stw r16, 0x28(r1) +/* 802E6380 002E32E0 91 E1 00 34 */ stw r15, 0x34(r1) +/* 802E6384 002E32E4 91 E1 00 30 */ stw r15, 0x30(r1) +/* 802E6388 002E32E8 48 00 00 20 */ b lbl_802E63A8 +lbl_802E638C: +/* 802E638C 002E32EC 7E 03 83 78 */ mr r3, r16 +/* 802E6390 002E32F0 38 80 FF FF */ li r4, -1 +/* 802E6394 002E32F4 81 90 00 00 */ lwz r12, 0(r16) +/* 802E6398 002E32F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E639C 002E32FC 7D 89 03 A6 */ mtctr r12 +/* 802E63A0 002E3300 4E 80 04 21 */ bctrl +/* 802E63A4 002E3304 3A 10 00 5C */ addi r16, r16, 0x5c +lbl_802E63A8: +/* 802E63A8 002E3308 7C 10 78 40 */ cmplw r16, r15 +/* 802E63AC 002E330C 40 82 FF E0 */ bne lbl_802E638C +/* 802E63B0 002E3310 80 61 01 40 */ lwz r3, 0x140(r1) +/* 802E63B4 002E3314 28 03 00 00 */ cmplwi r3, 0 +/* 802E63B8 002E3318 41 82 00 08 */ beq lbl_802E63C0 +/* 802E63BC 002E331C 48 02 F5 75 */ bl Free__7CMemoryFPCv +lbl_802E63C0: +/* 802E63C0 002E3320 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802E63C4 002E3324 82 01 01 50 */ lwz r16, 0x150(r1) +/* 802E63C8 002E3328 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802E63CC 002E332C 92 01 00 1C */ stw r16, 0x1c(r1) +/* 802E63D0 002E3330 7D F0 02 14 */ add r15, r16, r0 +/* 802E63D4 002E3334 92 01 00 18 */ stw r16, 0x18(r1) +/* 802E63D8 002E3338 91 E1 00 24 */ stw r15, 0x24(r1) +/* 802E63DC 002E333C 91 E1 00 20 */ stw r15, 0x20(r1) +/* 802E63E0 002E3340 48 00 00 20 */ b lbl_802E6400 +lbl_802E63E4: +/* 802E63E4 002E3344 7E 03 83 78 */ mr r3, r16 +/* 802E63E8 002E3348 38 80 FF FF */ li r4, -1 +/* 802E63EC 002E334C 81 90 00 00 */ lwz r12, 0(r16) +/* 802E63F0 002E3350 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E63F4 002E3354 7D 89 03 A6 */ mtctr r12 +/* 802E63F8 002E3358 4E 80 04 21 */ bctrl +/* 802E63FC 002E335C 3A 10 00 4C */ addi r16, r16, 0x4c +lbl_802E6400: +/* 802E6400 002E3360 7C 10 78 40 */ cmplw r16, r15 +/* 802E6404 002E3364 40 82 FF E0 */ bne lbl_802E63E4 +/* 802E6408 002E3368 80 61 01 50 */ lwz r3, 0x150(r1) +/* 802E640C 002E336C 28 03 00 00 */ cmplwi r3, 0 +/* 802E6410 002E3370 41 82 00 08 */ beq lbl_802E6418 +/* 802E6414 002E3374 48 02 F5 1D */ bl Free__7CMemoryFPCv +lbl_802E6418: +/* 802E6418 002E3378 80 01 01 58 */ lwz r0, 0x158(r1) +/* 802E641C 002E337C 82 01 01 60 */ lwz r16, 0x160(r1) +/* 802E6420 002E3380 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802E6424 002E3384 92 01 00 0C */ stw r16, 0xc(r1) +/* 802E6428 002E3388 7D F0 02 14 */ add r15, r16, r0 +/* 802E642C 002E338C 92 01 00 08 */ stw r16, 8(r1) +/* 802E6430 002E3390 91 E1 00 14 */ stw r15, 0x14(r1) +/* 802E6434 002E3394 91 E1 00 10 */ stw r15, 0x10(r1) +/* 802E6438 002E3398 48 00 00 20 */ b lbl_802E6458 +lbl_802E643C: +/* 802E643C 002E339C 7E 03 83 78 */ mr r3, r16 +/* 802E6440 002E33A0 38 80 FF FF */ li r4, -1 +/* 802E6444 002E33A4 81 90 00 00 */ lwz r12, 0(r16) +/* 802E6448 002E33A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E644C 002E33AC 7D 89 03 A6 */ mtctr r12 +/* 802E6450 002E33B0 4E 80 04 21 */ bctrl +/* 802E6454 002E33B4 3A 10 00 3C */ addi r16, r16, 0x3c +lbl_802E6458: +/* 802E6458 002E33B8 7C 10 78 40 */ cmplw r16, r15 +/* 802E645C 002E33BC 40 82 FF E0 */ bne lbl_802E643C +/* 802E6460 002E33C0 80 61 01 60 */ lwz r3, 0x160(r1) +/* 802E6464 002E33C4 28 03 00 00 */ cmplwi r3, 0 +/* 802E6468 002E33C8 41 82 00 08 */ beq lbl_802E6470 +/* 802E646C 002E33CC 48 02 F4 C5 */ bl Free__7CMemoryFPCv +lbl_802E6470: +/* 802E6470 002E33D0 38 00 4C 88 */ li r0, 0x4c88 +/* 802E6474 002E33D4 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 802E6478 002E33D8 CB E1 4C 80 */ lfd f31, 0x4c80(r1) +/* 802E647C 002E33DC 38 00 4C 78 */ li r0, 0x4c78 +/* 802E6480 002E33E0 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 802E6484 002E33E4 CB C1 4C 70 */ lfd f30, 0x4c70(r1) +/* 802E6488 002E33E8 38 00 4C 68 */ li r0, 0x4c68 +/* 802E648C 002E33EC 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 802E6490 002E33F0 CB A1 4C 60 */ lfd f29, 0x4c60(r1) +/* 802E6494 002E33F4 38 00 4C 58 */ li r0, 0x4c58 +/* 802E6498 002E33F8 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 802E649C 002E33FC CB 81 4C 50 */ lfd f28, 0x4c50(r1) +/* 802E64A0 002E3400 38 00 4C 48 */ li r0, 0x4c48 +/* 802E64A4 002E3404 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 802E64A8 002E3408 CB 61 4C 40 */ lfd f27, 0x4c40(r1) +/* 802E64AC 002E340C 38 00 4C 38 */ li r0, 0x4c38 +/* 802E64B0 002E3410 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 +/* 802E64B4 002E3414 CB 41 4C 30 */ lfd f26, 0x4c30(r1) +/* 802E64B8 002E3418 38 00 4C 28 */ li r0, 0x4c28 +/* 802E64BC 002E341C 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0 +/* 802E64C0 002E3420 CB 21 4C 20 */ lfd f25, 0x4c20(r1) +/* 802E64C4 002E3424 38 00 4C 18 */ li r0, 0x4c18 +/* 802E64C8 002E3428 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0 +/* 802E64CC 002E342C CB 01 4C 10 */ lfd f24, 0x4c10(r1) +/* 802E64D0 002E3430 B9 E1 4B CC */ lmw r15, 0x4bcc(r1) +/* 802E64D4 002E3434 80 01 4C 94 */ lwz r0, 0x4c94(r1) +/* 802E64D8 002E3438 7C 08 03 A6 */ mtlr r0 +/* 802E64DC 002E343C 38 21 4C 90 */ addi r1, r1, 0x4c90 +/* 802E64E0 002E3440 4E 80 00 20 */ blr + +.global "__ct__21CSequenceFundamentalsFRC20CSteadyStateAnimInfoRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>" +"__ct__21CSequenceFundamentalsFRC20CSteadyStateAnimInfoRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>": +/* 802E64E4 002E3444 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E64E8 002E3448 7C 08 02 A6 */ mflr r0 +/* 802E64EC 002E344C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E64F0 002E3450 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E64F4 002E3454 7D 1F 43 78 */ mr r31, r8 +/* 802E64F8 002E3458 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E64FC 002E345C 7C FE 3B 78 */ mr r30, r7 +/* 802E6500 002E3460 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E6504 002E3464 7C DD 33 78 */ mr r29, r6 +/* 802E6508 002E3468 93 81 00 10 */ stw r28, 0x10(r1) +/* 802E650C 002E346C 7C 7C 1B 78 */ mr r28, r3 +/* 802E6510 002E3470 C0 04 00 00 */ lfs f0, 0(r4) +/* 802E6514 002E3474 D0 03 00 00 */ stfs f0, 0(r3) +/* 802E6518 002E3478 38 7C 00 18 */ addi r3, r28, 0x18 +/* 802E651C 002E347C 80 04 00 04 */ lwz r0, 4(r4) +/* 802E6520 002E3480 90 1C 00 04 */ stw r0, 4(r28) +/* 802E6524 002E3484 C0 04 00 08 */ lfs f0, 8(r4) +/* 802E6528 002E3488 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802E652C 002E348C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802E6530 002E3490 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 802E6534 002E3494 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802E6538 002E3498 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 802E653C 002E349C 88 04 00 14 */ lbz r0, 0x14(r4) +/* 802E6540 002E34A0 7C A4 2B 78 */ mr r4, r5 +/* 802E6544 002E34A4 98 1C 00 14 */ stb r0, 0x14(r28) +/* 802E6548 002E34A8 4B FF 33 C1 */ bl "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" +/* 802E654C 002E34AC 7F A4 EB 78 */ mr r4, r29 +/* 802E6550 002E34B0 38 7C 00 28 */ addi r3, r28, 0x28 +/* 802E6554 002E34B4 4B FF 32 6D */ bl "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" +/* 802E6558 002E34B8 7F C4 F3 78 */ mr r4, r30 +/* 802E655C 002E34BC 38 7C 00 38 */ addi r3, r28, 0x38 +/* 802E6560 002E34C0 4B FF 30 A1 */ bl sub_802d9600 +/* 802E6564 002E34C4 7F E4 FB 78 */ mr r4, r31 +/* 802E6568 002E34C8 38 7C 00 48 */ addi r3, r28, 0x48 +/* 802E656C 002E34CC 4B FF 2F 49 */ bl sub_802d94b4 +/* 802E6570 002E34D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E6574 002E34D4 7F 83 E3 78 */ mr r3, r28 +/* 802E6578 002E34D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E657C 002E34DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E6580 002E34E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E6584 002E34E4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802E6588 002E34E8 7C 08 03 A6 */ mtlr r0 +/* 802E658C 002E34EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E6590 002E34F0 4E 80 00 20 */ blr + +.global "push_back__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>FRC13CSoundPOINode" +"push_back__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>FRC13CSoundPOINode": +/* 802E6594 002E34F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E6598 002E34F8 7C 08 02 A6 */ mflr r0 +/* 802E659C 002E34FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E65A0 002E3500 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E65A4 002E3504 7C 9F 23 78 */ mr r31, r4 +/* 802E65A8 002E3508 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E65AC 002E350C 7C 7E 1B 78 */ mr r30, r3 +/* 802E65B0 002E3510 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E65B4 002E3514 80 03 00 04 */ lwz r0, 4(r3) +/* 802E65B8 002E3518 80 A3 00 08 */ lwz r5, 8(r3) +/* 802E65BC 002E351C 7C 00 28 00 */ cmpw r0, r5 +/* 802E65C0 002E3520 41 80 00 18 */ blt lbl_802E65D8 +/* 802E65C4 002E3524 2C 05 00 00 */ cmpwi r5, 0 +/* 802E65C8 002E3528 38 80 00 04 */ li r4, 4 +/* 802E65CC 002E352C 41 82 00 08 */ beq lbl_802E65D4 +/* 802E65D0 002E3530 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E65D4: +/* 802E65D4 002E3534 4B FF 70 F9 */ bl "reserve__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>Fi" +lbl_802E65D8: +/* 802E65D8 002E3538 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E65DC 002E353C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E65E0 002E3540 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802E65E4 002E3544 7F A3 02 15 */ add. r29, r3, r0 +/* 802E65E8 002E3548 41 82 00 88 */ beq lbl_802E6670 +/* 802E65EC 002E354C 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802E65F0 002E3550 38 7D 00 08 */ addi r3, r29, 8 +/* 802E65F4 002E3554 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802E65F8 002E3558 38 9F 00 08 */ addi r4, r31, 8 +/* 802E65FC 002E355C 90 1D 00 00 */ stw r0, 0(r29) +/* 802E6600 002E3560 A0 1F 00 04 */ lhz r0, 4(r31) +/* 802E6604 002E3564 B0 1D 00 04 */ sth r0, 4(r29) +/* 802E6608 002E3568 48 05 7B 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E660C 002E356C A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802E6610 002E3570 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802E6614 002E3574 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 802E6618 002E3578 B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802E661C 002E357C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802E6620 002E3580 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802E6624 002E3584 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802E6628 002E3588 90 7D 00 20 */ stw r3, 0x20(r29) +/* 802E662C 002E358C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802E6630 002E3590 90 7D 00 24 */ stw r3, 0x24(r29) +/* 802E6634 002E3594 88 7F 00 28 */ lbz r3, 0x28(r31) +/* 802E6638 002E3598 98 7D 00 28 */ stb r3, 0x28(r29) +/* 802E663C 002E359C C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802E6640 002E35A0 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802E6644 002E35A4 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802E6648 002E35A8 90 7D 00 30 */ stw r3, 0x30(r29) +/* 802E664C 002E35AC 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 802E6650 002E35B0 90 7D 00 34 */ stw r3, 0x34(r29) +/* 802E6654 002E35B4 90 1D 00 00 */ stw r0, 0(r29) +/* 802E6658 002E35B8 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802E665C 002E35BC 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802E6660 002E35C0 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802E6664 002E35C4 D0 1D 00 3C */ stfs f0, 0x3c(r29) +/* 802E6668 002E35C8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802E666C 002E35CC D0 1D 00 40 */ stfs f0, 0x40(r29) +lbl_802E6670: +/* 802E6670 002E35D0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802E6674 002E35D4 38 03 00 01 */ addi r0, r3, 1 +/* 802E6678 002E35D8 90 1E 00 04 */ stw r0, 4(r30) +/* 802E667C 002E35DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E6680 002E35E0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E6684 002E35E4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E6688 002E35E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E668C 002E35EC 7C 08 03 A6 */ mtlr r0 +/* 802E6690 002E35F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E6694 002E35F4 4E 80 00 20 */ blr + +.global __defctor__13CSoundPOINodeFv +__defctor__13CSoundPOINodeFv: +/* 802E6698 002E35F8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E669C 002E35FC 7C 08 02 A6 */ mflr r0 +/* 802E66A0 002E3600 3C 80 80 3D */ lis r4, lbl_803D6DB8@ha +/* 802E66A4 002E3604 38 A0 FF FF */ li r5, -1 +/* 802E66A8 002E3608 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E66AC 002E360C 38 84 6D B8 */ addi r4, r4, lbl_803D6DB8@l +/* 802E66B0 002E3610 38 84 00 07 */ addi r4, r4, 7 +/* 802E66B4 002E3614 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802E66B8 002E3618 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E66BC 002E361C 7C 7F 1B 78 */ mr r31, r3 +/* 802E66C0 002E3620 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E66C4 002E3624 48 05 7A D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 802E66C8 002E3628 C0 22 C5 E8 */ lfs f1, lbl_805AE308@sda21(r2) +/* 802E66CC 002E362C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E66D0 002E3630 48 06 27 1D */ bl __ct__13CCharAnimTimeFf +/* 802E66D4 002E3634 C0 42 C5 E8 */ lfs f2, lbl_805AE308@sda21(r2) +/* 802E66D8 002E3638 38 00 00 00 */ li r0, 0 +/* 802E66DC 002E363C 7C 66 1B 78 */ mr r6, r3 +/* 802E66E0 002E3640 90 01 00 08 */ stw r0, 8(r1) +/* 802E66E4 002E3644 FC 60 10 90 */ fmr f3, f2 +/* 802E66E8 002E3648 C0 22 C5 F0 */ lfs f1, lbl_805AE310@sda21(r2) +/* 802E66EC 002E364C 7F E3 FB 78 */ mr r3, r31 +/* 802E66F0 002E3650 38 81 00 1C */ addi r4, r1, 0x1c +/* 802E66F4 002E3654 38 A0 00 08 */ li r5, 8 +/* 802E66F8 002E3658 38 E0 FF FF */ li r7, -1 +/* 802E66FC 002E365C 39 00 00 00 */ li r8, 0 +/* 802E6700 002E3660 39 20 FF FF */ li r9, -1 +/* 802E6704 002E3664 39 40 00 00 */ li r10, 0 +/* 802E6708 002E3668 4B D4 9B 49 */ bl "__ct__13CSoundPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiff" +/* 802E670C 002E366C 7C 7F 1B 78 */ mr r31, r3 +/* 802E6710 002E3670 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E6714 002E3674 48 05 73 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802E6718 002E3678 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E671C 002E367C 7F E3 FB 78 */ mr r3, r31 +/* 802E6720 002E3680 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E6724 002E3684 7C 08 03 A6 */ mtlr r0 +/* 802E6728 002E3688 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E672C 002E368C 4E 80 00 20 */ blr + +.global "push_back__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>FRC16CParticlePOINode" +"push_back__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>FRC16CParticlePOINode": +/* 802E6730 002E3690 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E6734 002E3694 7C 08 02 A6 */ mflr r0 +/* 802E6738 002E3698 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E673C 002E369C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E6740 002E36A0 7C 9F 23 78 */ mr r31, r4 +/* 802E6744 002E36A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E6748 002E36A8 7C 7E 1B 78 */ mr r30, r3 +/* 802E674C 002E36AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E6750 002E36B0 80 03 00 04 */ lwz r0, 4(r3) +/* 802E6754 002E36B4 80 A3 00 08 */ lwz r5, 8(r3) +/* 802E6758 002E36B8 7C 00 28 00 */ cmpw r0, r5 +/* 802E675C 002E36BC 41 80 00 18 */ blt lbl_802E6774 +/* 802E6760 002E36C0 2C 05 00 00 */ cmpwi r5, 0 +/* 802E6764 002E36C4 38 80 00 04 */ li r4, 4 +/* 802E6768 002E36C8 41 82 00 08 */ beq lbl_802E6770 +/* 802E676C 002E36CC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E6770: +/* 802E6770 002E36D0 4B FF 6D 71 */ bl "reserve__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>Fi" +lbl_802E6774: +/* 802E6774 002E36D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E6778 002E36D8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E677C 002E36DC 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802E6780 002E36E0 7F A3 02 15 */ add. r29, r3, r0 +/* 802E6784 002E36E4 41 82 00 A4 */ beq lbl_802E6828 +/* 802E6788 002E36E8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802E678C 002E36EC 38 9F 00 08 */ addi r4, r31, 8 +/* 802E6790 002E36F0 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802E6794 002E36F4 90 1D 00 00 */ stw r0, 0(r29) +/* 802E6798 002E36F8 38 7D 00 08 */ addi r3, r29, 8 +/* 802E679C 002E36FC A0 1F 00 04 */ lhz r0, 4(r31) +/* 802E67A0 002E3700 B0 1D 00 04 */ sth r0, 4(r29) +/* 802E67A4 002E3704 48 05 79 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E67A8 002E3708 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802E67AC 002E370C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802E67B0 002E3710 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802E67B4 002E3714 38 7D 00 44 */ addi r3, r29, 0x44 +/* 802E67B8 002E3718 B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802E67BC 002E371C 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802E67C0 002E3720 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802E67C4 002E3724 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802E67C8 002E3728 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802E67CC 002E372C 90 BD 00 20 */ stw r5, 0x20(r29) +/* 802E67D0 002E3730 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 802E67D4 002E3734 90 BD 00 24 */ stw r5, 0x24(r29) +/* 802E67D8 002E3738 88 BF 00 28 */ lbz r5, 0x28(r31) +/* 802E67DC 002E373C 98 BD 00 28 */ stb r5, 0x28(r29) +/* 802E67E0 002E3740 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802E67E4 002E3744 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802E67E8 002E3748 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 802E67EC 002E374C 90 BD 00 30 */ stw r5, 0x30(r29) +/* 802E67F0 002E3750 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802E67F4 002E3754 90 BD 00 34 */ stw r5, 0x34(r29) +/* 802E67F8 002E3758 90 1D 00 00 */ stw r0, 0(r29) +/* 802E67FC 002E375C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802E6800 002E3760 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802E6804 002E3764 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802E6808 002E3768 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 802E680C 002E376C 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 802E6810 002E3770 90 1D 00 40 */ stw r0, 0x40(r29) +/* 802E6814 002E3774 48 05 79 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E6818 002E3778 C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 802E681C 002E377C D0 1D 00 54 */ stfs f0, 0x54(r29) +/* 802E6820 002E3780 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802E6824 002E3784 90 1D 00 58 */ stw r0, 0x58(r29) +lbl_802E6828: +/* 802E6828 002E3788 80 7E 00 04 */ lwz r3, 4(r30) +/* 802E682C 002E378C 38 03 00 01 */ addi r0, r3, 1 +/* 802E6830 002E3790 90 1E 00 04 */ stw r0, 4(r30) +/* 802E6834 002E3794 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E6838 002E3798 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E683C 002E379C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E6840 002E37A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E6844 002E37A4 7C 08 03 A6 */ mtlr r0 +/* 802E6848 002E37A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E684C 002E37AC 4E 80 00 20 */ blr + +.global __defctor__16CParticlePOINodeFv +__defctor__16CParticlePOINodeFv: +/* 802E6850 002E37B0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802E6854 002E37B4 7C 08 02 A6 */ mflr r0 +/* 802E6858 002E37B8 3C 80 80 3D */ lis r4, lbl_803D6DB8@ha +/* 802E685C 002E37BC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802E6860 002E37C0 38 84 6D B8 */ addi r4, r4, lbl_803D6DB8@l +/* 802E6864 002E37C4 38 84 00 07 */ addi r4, r4, 7 +/* 802E6868 002E37C8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802E686C 002E37CC 7C 7F 1B 78 */ mr r31, r3 +/* 802E6870 002E37D0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E6874 002E37D4 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802E6878 002E37D8 4B D1 E4 41 */ bl string_l__4rstlFPCc +/* 802E687C 002E37DC 3C 80 80 3D */ lis r4, lbl_803D6DB8@ha +/* 802E6880 002E37E0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E6884 002E37E4 38 84 6D B8 */ addi r4, r4, lbl_803D6DB8@l +/* 802E6888 002E37E8 38 84 00 08 */ addi r4, r4, 8 +/* 802E688C 002E37EC 4B D1 E4 2D */ bl string_l__4rstlFPCc +/* 802E6890 002E37F0 38 00 00 00 */ li r0, 0 +/* 802E6894 002E37F4 3B C1 00 44 */ addi r30, r1, 0x44 +/* 802E6898 002E37F8 90 01 00 38 */ stw r0, 0x38(r1) +/* 802E689C 002E37FC 7F C3 F3 78 */ mr r3, r30 +/* 802E68A0 002E3800 38 81 00 18 */ addi r4, r1, 0x18 +/* 802E68A4 002E3804 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802E68A8 002E3808 90 01 00 40 */ stw r0, 0x40(r1) +/* 802E68AC 002E380C 48 05 78 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E68B0 002E3810 C0 02 C5 F0 */ lfs f0, lbl_805AE310@sda21(r2) +/* 802E68B4 002E3814 38 00 00 00 */ li r0, 0 +/* 802E68B8 002E3818 90 01 00 58 */ stw r0, 0x58(r1) +/* 802E68BC 002E381C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E68C0 002E3820 C0 22 C5 E8 */ lfs f1, lbl_805AE308@sda21(r2) +/* 802E68C4 002E3824 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802E68C8 002E3828 48 06 25 25 */ bl __ct__13CCharAnimTimeFf +/* 802E68CC 002E382C 38 01 00 38 */ addi r0, r1, 0x38 +/* 802E68D0 002E3830 7C 66 1B 78 */ mr r6, r3 +/* 802E68D4 002E3834 90 01 00 08 */ stw r0, 8(r1) +/* 802E68D8 002E3838 7F E3 FB 78 */ mr r3, r31 +/* 802E68DC 002E383C C0 22 C5 F0 */ lfs f1, lbl_805AE310@sda21(r2) +/* 802E68E0 002E3840 38 81 00 28 */ addi r4, r1, 0x28 +/* 802E68E4 002E3844 38 A0 00 05 */ li r5, 5 +/* 802E68E8 002E3848 38 E0 FF FF */ li r7, -1 +/* 802E68EC 002E384C 39 00 00 00 */ li r8, 0 +/* 802E68F0 002E3850 39 20 FF FF */ li r9, -1 +/* 802E68F4 002E3854 39 40 00 00 */ li r10, 0 +/* 802E68F8 002E3858 4B D4 9B 11 */ bl sub_80030408 +/* 802E68FC 002E385C 28 1E 00 00 */ cmplwi r30, 0 +/* 802E6900 002E3860 7C 7F 1B 78 */ mr r31, r3 +/* 802E6904 002E3864 41 82 00 0C */ beq lbl_802E6910 +/* 802E6908 002E3868 7F C3 F3 78 */ mr r3, r30 +/* 802E690C 002E386C 48 05 71 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E6910: +/* 802E6910 002E3870 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E6914 002E3874 48 05 71 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802E6918 002E3878 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E691C 002E387C 48 05 71 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802E6920 002E3880 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802E6924 002E3884 7F E3 FB 78 */ mr r3, r31 +/* 802E6928 002E3888 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802E692C 002E388C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802E6930 002E3890 7C 08 03 A6 */ mtlr r0 +/* 802E6934 002E3894 38 21 00 70 */ addi r1, r1, 0x70 +/* 802E6938 002E3898 4E 80 00 20 */ blr + +.global __defctor__13CInt32POINodeFv +__defctor__13CInt32POINodeFv: +/* 802E693C 002E389C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E6940 002E38A0 7C 08 02 A6 */ mflr r0 +/* 802E6944 002E38A4 3C 80 80 3D */ lis r4, lbl_803D6DB8@ha +/* 802E6948 002E38A8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E694C 002E38AC 38 84 6D B8 */ addi r4, r4, lbl_803D6DB8@l +/* 802E6950 002E38B0 38 84 00 07 */ addi r4, r4, 7 +/* 802E6954 002E38B4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E6958 002E38B8 7C 7F 1B 78 */ mr r31, r3 +/* 802E695C 002E38BC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E6960 002E38C0 4B D1 E3 59 */ bl string_l__4rstlFPCc +/* 802E6964 002E38C4 3C 80 80 3D */ lis r4, lbl_803D6DB8@ha +/* 802E6968 002E38C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E696C 002E38CC 38 84 6D B8 */ addi r4, r4, lbl_803D6DB8@l +/* 802E6970 002E38D0 38 84 00 08 */ addi r4, r4, 8 +/* 802E6974 002E38D4 4B D1 E3 45 */ bl string_l__4rstlFPCc +/* 802E6978 002E38D8 C0 22 C5 E8 */ lfs f1, lbl_805AE308@sda21(r2) +/* 802E697C 002E38DC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E6980 002E38E0 48 06 24 6D */ bl __ct__13CCharAnimTimeFf +/* 802E6984 002E38E4 38 00 00 00 */ li r0, 0 +/* 802E6988 002E38E8 7C 66 1B 78 */ mr r6, r3 +/* 802E698C 002E38EC 90 01 00 08 */ stw r0, 8(r1) +/* 802E6990 002E38F0 38 01 00 18 */ addi r0, r1, 0x18 +/* 802E6994 002E38F4 C0 22 C5 F0 */ lfs f1, lbl_805AE310@sda21(r2) +/* 802E6998 002E38F8 7F E3 FB 78 */ mr r3, r31 +/* 802E699C 002E38FC 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E69A0 002E3900 38 81 00 28 */ addi r4, r1, 0x28 +/* 802E69A4 002E3904 38 A0 00 02 */ li r5, 2 +/* 802E69A8 002E3908 38 E0 FF FF */ li r7, -1 +/* 802E69AC 002E390C 39 00 00 00 */ li r8, 0 +/* 802E69B0 002E3910 39 20 FF FF */ li r9, -1 +/* 802E69B4 002E3914 39 40 00 00 */ li r10, 0 +/* 802E69B8 002E3918 4B D4 49 D5 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E69BC 002E391C 7C 7F 1B 78 */ mr r31, r3 +/* 802E69C0 002E3920 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E69C4 002E3924 48 05 71 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802E69C8 002E3928 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E69CC 002E392C 48 05 71 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802E69D0 002E3930 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E69D4 002E3934 7F E3 FB 78 */ mr r3, r31 +/* 802E69D8 002E3938 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E69DC 002E393C 7C 08 03 A6 */ mtlr r0 +/* 802E69E0 002E3940 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E69E4 002E3944 4E 80 00 20 */ blr + +.global __defctor__12CBoolPOINodeFv +__defctor__12CBoolPOINodeFv: +/* 802E69E8 002E3948 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E69EC 002E394C 7C 08 02 A6 */ mflr r0 +/* 802E69F0 002E3950 3C 80 80 3D */ lis r4, lbl_803D6DB8@ha +/* 802E69F4 002E3954 38 A0 FF FF */ li r5, -1 +/* 802E69F8 002E3958 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E69FC 002E395C 38 84 6D B8 */ addi r4, r4, lbl_803D6DB8@l +/* 802E6A00 002E3960 38 84 00 07 */ addi r4, r4, 7 +/* 802E6A04 002E3964 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802E6A08 002E3968 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E6A0C 002E396C 7C 7F 1B 78 */ mr r31, r3 +/* 802E6A10 002E3970 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E6A14 002E3974 48 05 77 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 802E6A18 002E3978 C0 22 C5 E8 */ lfs f1, lbl_805AE308@sda21(r2) +/* 802E6A1C 002E397C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E6A20 002E3980 48 06 23 CD */ bl __ct__13CCharAnimTimeFf +/* 802E6A24 002E3984 38 00 00 00 */ li r0, 0 +/* 802E6A28 002E3988 7C 66 1B 78 */ mr r6, r3 +/* 802E6A2C 002E398C 90 01 00 08 */ stw r0, 8(r1) +/* 802E6A30 002E3990 7F E3 FB 78 */ mr r3, r31 +/* 802E6A34 002E3994 C0 22 C5 F0 */ lfs f1, lbl_805AE310@sda21(r2) +/* 802E6A38 002E3998 38 81 00 1C */ addi r4, r1, 0x1c +/* 802E6A3C 002E399C 38 A0 00 01 */ li r5, 1 +/* 802E6A40 002E39A0 38 E0 FF FF */ li r7, -1 +/* 802E6A44 002E39A4 39 00 00 00 */ li r8, 0 +/* 802E6A48 002E39A8 39 20 FF FF */ li r9, -1 +/* 802E6A4C 002E39AC 39 40 00 00 */ li r10, 0 +/* 802E6A50 002E39B0 4B D4 9A 35 */ bl "__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib" +/* 802E6A54 002E39B4 7C 7F 1B 78 */ mr r31, r3 +/* 802E6A58 002E39B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E6A5C 002E39BC 48 05 70 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802E6A60 002E39C0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E6A64 002E39C4 7F E3 FB 78 */ mr r3, r31 +/* 802E6A68 002E39C8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E6A6C 002E39CC 7C 08 03 A6 */ mtlr r0 +/* 802E6A70 002E39D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E6A74 002E39D4 4E 80 00 20 */ blr + +.global "__ct__15CSequenceHelperFRCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContext" +"__ct__15CSequenceHelperFRCQ24rstl62vector,Q24rstl17rmemory_allocator>RC15CAnimSysContext": +/* 802E6A78 002E39D8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802E6A7C 002E39DC 7C 08 02 A6 */ mflr r0 +/* 802E6A80 002E39E0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802E6A84 002E39E4 BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 802E6A88 002E39E8 7C 7B 1B 78 */ mr r27, r3 +/* 802E6A8C 002E39EC 7F 60 DB 78 */ mr r0, r27 +/* 802E6A90 002E39F0 7C BC 2B 78 */ mr r28, r5 +/* 802E6A94 002E39F4 7C 9D 23 78 */ mr r29, r4 +/* 802E6A98 002E39F8 7C 1E 03 78 */ mr r30, r0 +/* 802E6A9C 002E39FC 7F 84 E3 78 */ mr r4, r28 +/* 802E6AA0 002E3A00 48 05 A4 09 */ bl __ct__6CTokenFRC6CToken +/* 802E6AA4 002E3A04 80 9C 00 08 */ lwz r4, 8(r28) +/* 802E6AA8 002E3A08 38 00 00 00 */ li r0, 0 +/* 802E6AAC 002E3A0C 38 7B 00 10 */ addi r3, r27, 0x10 +/* 802E6AB0 002E3A10 90 9E 00 08 */ stw r4, 8(r30) +/* 802E6AB4 002E3A14 80 BE 00 08 */ lwz r5, 8(r30) +/* 802E6AB8 002E3A18 80 85 00 04 */ lwz r4, 4(r5) +/* 802E6ABC 002E3A1C 38 84 00 01 */ addi r4, r4, 1 +/* 802E6AC0 002E3A20 90 85 00 04 */ stw r4, 4(r5) +/* 802E6AC4 002E3A24 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 802E6AC8 002E3A28 90 9E 00 0C */ stw r4, 0xc(r30) +/* 802E6ACC 002E3A2C 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802E6AD0 002E3A30 90 1B 00 18 */ stw r0, 0x18(r27) +/* 802E6AD4 002E3A34 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 802E6AD8 002E3A38 90 1B 00 24 */ stw r0, 0x24(r27) +/* 802E6ADC 002E3A3C 90 1B 00 28 */ stw r0, 0x28(r27) +/* 802E6AE0 002E3A40 90 1B 00 2C */ stw r0, 0x2c(r27) +/* 802E6AE4 002E3A44 80 9D 00 04 */ lwz r4, 4(r29) +/* 802E6AE8 002E3A48 48 00 02 3D */ bl "reserve__Q24rstl69vector,Q24rstl17rmemory_allocator>Fi" +/* 802E6AEC 002E3A4C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E6AF0 002E3A50 3B C1 00 50 */ addi r30, r1, 0x50 +/* 802E6AF4 002E3A54 83 BD 00 0C */ lwz r29, 0xc(r29) +/* 802E6AF8 002E3A58 54 00 10 3A */ slwi r0, r0, 2 +/* 802E6AFC 002E3A5C 7F FD 02 14 */ add r31, r29, r0 +/* 802E6B00 002E3A60 48 00 00 B4 */ b lbl_802E6BB4 +lbl_802E6B04: +/* 802E6B04 002E3A64 38 61 00 0C */ addi r3, r1, 0xc +/* 802E6B08 002E3A68 48 00 0D 11 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802E6B0C 002E3A6C 80 9D 00 00 */ lwz r4, 0(r29) +/* 802E6B10 002E3A70 7F 85 E3 78 */ mr r5, r28 +/* 802E6B14 002E3A74 38 61 00 08 */ addi r3, r1, 8 +/* 802E6B18 002E3A78 38 C1 00 0C */ addi r6, r1, 0xc +/* 802E6B1C 002E3A7C 80 84 00 00 */ lwz r4, 0(r4) +/* 802E6B20 002E3A80 81 84 00 00 */ lwz r12, 0(r4) +/* 802E6B24 002E3A84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E6B28 002E3A88 7D 89 03 A6 */ mtctr r12 +/* 802E6B2C 002E3A8C 4E 80 04 21 */ bctrl +/* 802E6B30 002E3A90 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 802E6B34 002E3A94 80 BB 00 18 */ lwz r5, 0x18(r27) +/* 802E6B38 002E3A98 7C 00 28 00 */ cmpw r0, r5 +/* 802E6B3C 002E3A9C 41 80 00 1C */ blt lbl_802E6B58 +/* 802E6B40 002E3AA0 2C 05 00 00 */ cmpwi r5, 0 +/* 802E6B44 002E3AA4 38 7B 00 10 */ addi r3, r27, 0x10 +/* 802E6B48 002E3AA8 38 80 00 04 */ li r4, 4 +/* 802E6B4C 002E3AAC 41 82 00 08 */ beq lbl_802E6B54 +/* 802E6B50 002E3AB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E6B54: +/* 802E6B54 002E3AB4 48 00 01 D1 */ bl "reserve__Q24rstl69vector,Q24rstl17rmemory_allocator>Fi" +lbl_802E6B58: +/* 802E6B58 002E3AB8 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 802E6B5C 002E3ABC 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 802E6B60 002E3AC0 54 00 10 3A */ slwi r0, r0, 2 +/* 802E6B64 002E3AC4 7C 63 02 15 */ add. r3, r3, r0 +/* 802E6B68 002E3AC8 41 82 00 1C */ beq lbl_802E6B84 +/* 802E6B6C 002E3ACC 80 01 00 08 */ lwz r0, 8(r1) +/* 802E6B70 002E3AD0 90 03 00 00 */ stw r0, 0(r3) +/* 802E6B74 002E3AD4 80 83 00 00 */ lwz r4, 0(r3) +/* 802E6B78 002E3AD8 80 64 00 04 */ lwz r3, 4(r4) +/* 802E6B7C 002E3ADC 38 03 00 01 */ addi r0, r3, 1 +/* 802E6B80 002E3AE0 90 04 00 04 */ stw r0, 4(r4) +lbl_802E6B84: +/* 802E6B84 002E3AE4 80 9B 00 14 */ lwz r4, 0x14(r27) +/* 802E6B88 002E3AE8 38 61 00 08 */ addi r3, r1, 8 +/* 802E6B8C 002E3AEC 38 04 00 01 */ addi r0, r4, 1 +/* 802E6B90 002E3AF0 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802E6B94 002E3AF4 4B D4 A4 0D */ bl sub_80030fa0 +/* 802E6B98 002E3AF8 28 1E 00 00 */ cmplwi r30, 0 +/* 802E6B9C 002E3AFC 41 82 00 0C */ beq lbl_802E6BA8 +/* 802E6BA0 002E3B00 38 00 00 00 */ li r0, 0 +/* 802E6BA4 002E3B04 98 01 00 90 */ stb r0, 0x90(r1) +lbl_802E6BA8: +/* 802E6BA8 002E3B08 38 00 00 00 */ li r0, 0 +/* 802E6BAC 002E3B0C 3B BD 00 04 */ addi r29, r29, 4 +/* 802E6BB0 002E3B10 98 01 00 4C */ stb r0, 0x4c(r1) +lbl_802E6BB4: +/* 802E6BB4 002E3B14 7C 1D F8 40 */ cmplw r29, r31 +/* 802E6BB8 002E3B18 40 82 FF 4C */ bne lbl_802E6B04 +/* 802E6BBC 002E3B1C 7F 63 DB 78 */ mr r3, r27 +/* 802E6BC0 002E3B20 BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 802E6BC4 002E3B24 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802E6BC8 002E3B28 7C 08 03 A6 */ mtlr r0 +/* 802E6BCC 002E3B2C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802E6BD0 002E3B30 4E 80 00 20 */ blr + +.global "__ct__15CSequenceHelperFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +"__ct__15CSequenceHelperFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext": +/* 802E6BD4 002E3B34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E6BD8 002E3B38 7C 08 02 A6 */ mflr r0 +/* 802E6BDC 002E3B3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E6BE0 002E3B40 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802E6BE4 002E3B44 7C 7E 1B 78 */ mr r30, r3 +/* 802E6BE8 002E3B48 7F C0 F3 78 */ mr r0, r30 +/* 802E6BEC 002E3B4C 7C DD 33 78 */ mr r29, r6 +/* 802E6BF0 002E3B50 7C 9C 23 78 */ mr r28, r4 +/* 802E6BF4 002E3B54 7C BF 2B 78 */ mr r31, r5 +/* 802E6BF8 002E3B58 7F A4 EB 78 */ mr r4, r29 +/* 802E6BFC 002E3B5C 7C 1B 03 78 */ mr r27, r0 +/* 802E6C00 002E3B60 48 05 A2 A9 */ bl __ct__6CTokenFRC6CToken +/* 802E6C04 002E3B64 80 BD 00 08 */ lwz r5, 8(r29) +/* 802E6C08 002E3B68 38 00 00 00 */ li r0, 0 +/* 802E6C0C 002E3B6C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802E6C10 002E3B70 38 80 00 02 */ li r4, 2 +/* 802E6C14 002E3B74 90 BB 00 08 */ stw r5, 8(r27) +/* 802E6C18 002E3B78 80 DB 00 08 */ lwz r6, 8(r27) +/* 802E6C1C 002E3B7C 80 A6 00 04 */ lwz r5, 4(r6) +/* 802E6C20 002E3B80 38 A5 00 01 */ addi r5, r5, 1 +/* 802E6C24 002E3B84 90 A6 00 04 */ stw r5, 4(r6) +/* 802E6C28 002E3B88 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 802E6C2C 002E3B8C 90 BB 00 0C */ stw r5, 0xc(r27) +/* 802E6C30 002E3B90 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802E6C34 002E3B94 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802E6C38 002E3B98 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802E6C3C 002E3B9C 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802E6C40 002E3BA0 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802E6C44 002E3BA4 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802E6C48 002E3BA8 48 00 00 DD */ bl "reserve__Q24rstl69vector,Q24rstl17rmemory_allocator>Fi" +/* 802E6C4C 002E3BAC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802E6C50 002E3BB0 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 802E6C54 002E3BB4 7C 00 28 00 */ cmpw r0, r5 +/* 802E6C58 002E3BB8 41 80 00 1C */ blt lbl_802E6C74 +/* 802E6C5C 002E3BBC 2C 05 00 00 */ cmpwi r5, 0 +/* 802E6C60 002E3BC0 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802E6C64 002E3BC4 38 80 00 04 */ li r4, 4 +/* 802E6C68 002E3BC8 41 82 00 08 */ beq lbl_802E6C70 +/* 802E6C6C 002E3BCC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E6C70: +/* 802E6C70 002E3BD0 48 00 00 B5 */ bl "reserve__Q24rstl69vector,Q24rstl17rmemory_allocator>Fi" +lbl_802E6C74: +/* 802E6C74 002E3BD4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802E6C78 002E3BD8 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802E6C7C 002E3BDC 54 00 10 3A */ slwi r0, r0, 2 +/* 802E6C80 002E3BE0 7C 63 02 15 */ add. r3, r3, r0 +/* 802E6C84 002E3BE4 41 82 00 1C */ beq lbl_802E6CA0 +/* 802E6C88 002E3BE8 80 1C 00 00 */ lwz r0, 0(r28) +/* 802E6C8C 002E3BEC 90 03 00 00 */ stw r0, 0(r3) +/* 802E6C90 002E3BF0 80 83 00 00 */ lwz r4, 0(r3) +/* 802E6C94 002E3BF4 80 64 00 04 */ lwz r3, 4(r4) +/* 802E6C98 002E3BF8 38 03 00 01 */ addi r0, r3, 1 +/* 802E6C9C 002E3BFC 90 04 00 04 */ stw r0, 4(r4) +lbl_802E6CA0: +/* 802E6CA0 002E3C00 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802E6CA4 002E3C04 38 03 00 01 */ addi r0, r3, 1 +/* 802E6CA8 002E3C08 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802E6CAC 002E3C0C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802E6CB0 002E3C10 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 802E6CB4 002E3C14 7C 00 28 00 */ cmpw r0, r5 +/* 802E6CB8 002E3C18 41 80 00 1C */ blt lbl_802E6CD4 +/* 802E6CBC 002E3C1C 2C 05 00 00 */ cmpwi r5, 0 +/* 802E6CC0 002E3C20 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802E6CC4 002E3C24 38 80 00 04 */ li r4, 4 +/* 802E6CC8 002E3C28 41 82 00 08 */ beq lbl_802E6CD0 +/* 802E6CCC 002E3C2C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E6CD0: +/* 802E6CD0 002E3C30 48 00 00 55 */ bl "reserve__Q24rstl69vector,Q24rstl17rmemory_allocator>Fi" +lbl_802E6CD4: +/* 802E6CD4 002E3C34 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802E6CD8 002E3C38 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802E6CDC 002E3C3C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E6CE0 002E3C40 7C 63 02 15 */ add. r3, r3, r0 +/* 802E6CE4 002E3C44 41 82 00 1C */ beq lbl_802E6D00 +/* 802E6CE8 002E3C48 80 1F 00 00 */ lwz r0, 0(r31) +/* 802E6CEC 002E3C4C 90 03 00 00 */ stw r0, 0(r3) +/* 802E6CF0 002E3C50 80 83 00 00 */ lwz r4, 0(r3) +/* 802E6CF4 002E3C54 80 64 00 04 */ lwz r3, 4(r4) +/* 802E6CF8 002E3C58 38 03 00 01 */ addi r0, r3, 1 +/* 802E6CFC 002E3C5C 90 04 00 04 */ stw r0, 4(r4) +lbl_802E6D00: +/* 802E6D00 002E3C60 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802E6D04 002E3C64 7F C3 F3 78 */ mr r3, r30 +/* 802E6D08 002E3C68 38 04 00 01 */ addi r0, r4, 1 +/* 802E6D0C 002E3C6C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802E6D10 002E3C70 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802E6D14 002E3C74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E6D18 002E3C78 7C 08 03 A6 */ mtlr r0 +/* 802E6D1C 002E3C7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E6D20 002E3C80 4E 80 00 20 */ blr + +.global "reserve__Q24rstl69vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl69vector,Q24rstl17rmemory_allocator>Fi": +/* 802E6D24 002E3C84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E6D28 002E3C88 7C 08 02 A6 */ mflr r0 +/* 802E6D2C 002E3C8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E6D30 002E3C90 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802E6D34 002E3C94 7C 9F 23 78 */ mr r31, r4 +/* 802E6D38 002E3C98 7C 7E 1B 78 */ mr r30, r3 +/* 802E6D3C 002E3C9C 80 03 00 08 */ lwz r0, 8(r3) +/* 802E6D40 002E3CA0 7C 1F 00 00 */ cmpw r31, r0 +/* 802E6D44 002E3CA4 40 81 00 CC */ ble lbl_802E6E10 +/* 802E6D48 002E3CA8 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802E6D4C 002E3CAC 40 82 00 0C */ bne lbl_802E6D58 +/* 802E6D50 002E3CB0 3B A0 00 00 */ li r29, 0 +/* 802E6D54 002E3CB4 48 00 00 18 */ b lbl_802E6D6C +lbl_802E6D58: +/* 802E6D58 002E3CB8 3C 80 80 3D */ lis r4, lbl_803D6DB8@ha +/* 802E6D5C 002E3CBC 38 A0 00 00 */ li r5, 0 +/* 802E6D60 002E3CC0 38 84 6D B8 */ addi r4, r4, lbl_803D6DB8@l +/* 802E6D64 002E3CC4 48 02 EA B5 */ bl __nwa__FUlPCcPCc +/* 802E6D68 002E3CC8 7C 7D 1B 78 */ mr r29, r3 +lbl_802E6D6C: +/* 802E6D6C 002E3CCC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E6D70 002E3CD0 7F A6 EB 78 */ mr r6, r29 +/* 802E6D74 002E3CD4 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 802E6D78 002E3CD8 54 00 10 3A */ slwi r0, r0, 2 +/* 802E6D7C 002E3CDC 7C A7 02 14 */ add r5, r7, r0 +/* 802E6D80 002E3CE0 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802E6D84 002E3CE4 90 A1 00 08 */ stw r5, 8(r1) +/* 802E6D88 002E3CE8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802E6D8C 002E3CEC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802E6D90 002E3CF0 48 00 00 2C */ b lbl_802E6DBC +lbl_802E6D94: +/* 802E6D94 002E3CF4 28 06 00 00 */ cmplwi r6, 0 +/* 802E6D98 002E3CF8 41 82 00 1C */ beq lbl_802E6DB4 +/* 802E6D9C 002E3CFC 80 07 00 00 */ lwz r0, 0(r7) +/* 802E6DA0 002E3D00 90 06 00 00 */ stw r0, 0(r6) +/* 802E6DA4 002E3D04 80 86 00 00 */ lwz r4, 0(r6) +/* 802E6DA8 002E3D08 80 64 00 04 */ lwz r3, 4(r4) +/* 802E6DAC 002E3D0C 38 03 00 01 */ addi r0, r3, 1 +/* 802E6DB0 002E3D10 90 04 00 04 */ stw r0, 4(r4) +lbl_802E6DB4: +/* 802E6DB4 002E3D14 38 C6 00 04 */ addi r6, r6, 4 +/* 802E6DB8 002E3D18 38 E7 00 04 */ addi r7, r7, 4 +lbl_802E6DBC: +/* 802E6DBC 002E3D1C 7C 07 28 40 */ cmplw r7, r5 +/* 802E6DC0 002E3D20 40 82 FF D4 */ bne lbl_802E6D94 +/* 802E6DC4 002E3D24 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E6DC8 002E3D28 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802E6DCC 002E3D2C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E6DD0 002E3D30 7F 9B 02 14 */ add r28, r27, r0 +/* 802E6DD4 002E3D34 48 00 00 1C */ b lbl_802E6DF0 +lbl_802E6DD8: +/* 802E6DD8 002E3D38 28 1B 00 00 */ cmplwi r27, 0 +/* 802E6DDC 002E3D3C 41 82 00 10 */ beq lbl_802E6DEC +/* 802E6DE0 002E3D40 41 82 00 0C */ beq lbl_802E6DEC +/* 802E6DE4 002E3D44 7F 63 DB 78 */ mr r3, r27 +/* 802E6DE8 002E3D48 4B D4 A1 B9 */ bl sub_80030fa0 +lbl_802E6DEC: +/* 802E6DEC 002E3D4C 3B 7B 00 04 */ addi r27, r27, 4 +lbl_802E6DF0: +/* 802E6DF0 002E3D50 7C 1B E0 40 */ cmplw r27, r28 +/* 802E6DF4 002E3D54 40 82 FF E4 */ bne lbl_802E6DD8 +/* 802E6DF8 002E3D58 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E6DFC 002E3D5C 28 03 00 00 */ cmplwi r3, 0 +/* 802E6E00 002E3D60 41 82 00 08 */ beq lbl_802E6E08 +/* 802E6E04 002E3D64 48 02 EB 2D */ bl Free__7CMemoryFPCv +lbl_802E6E08: +/* 802E6E08 002E3D68 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802E6E0C 002E3D6C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802E6E10: +/* 802E6E10 002E3D70 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802E6E14 002E3D74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E6E18 002E3D78 7C 08 03 A6 */ mtlr r0 +/* 802E6E1C 002E3D7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E6E20 002E3D80 4E 80 00 20 */ blr + +.global __ct__11CTransitionFR12CInputStream +__ct__11CTransitionFR12CInputStream: +/* 802E6E24 002E3D84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E6E28 002E3D88 7C 08 02 A6 */ mflr r0 +/* 802E6E2C 002E3D8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E6E30 002E3D90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E6E34 002E3D94 7C 9F 23 78 */ mr r31, r4 +/* 802E6E38 002E3D98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E6E3C 002E3D9C 7C 7E 1B 78 */ mr r30, r3 +/* 802E6E40 002E3DA0 7F E3 FB 78 */ mr r3, r31 +/* 802E6E44 002E3DA4 48 05 7E 41 */ bl ReadLong__12CInputStreamFv +/* 802E6E48 002E3DA8 90 7E 00 00 */ stw r3, 0(r30) +/* 802E6E4C 002E3DAC 7F E3 FB 78 */ mr r3, r31 +/* 802E6E50 002E3DB0 48 05 7E 35 */ bl ReadLong__12CInputStreamFv +/* 802E6E54 002E3DB4 90 7E 00 04 */ stw r3, 4(r30) +/* 802E6E58 002E3DB8 7F E3 FB 78 */ mr r3, r31 +/* 802E6E5C 002E3DBC 48 05 7E 29 */ bl ReadLong__12CInputStreamFv +/* 802E6E60 002E3DC0 90 7E 00 08 */ stw r3, 8(r30) +/* 802E6E64 002E3DC4 7F E4 FB 78 */ mr r4, r31 +/* 802E6E68 002E3DC8 38 61 00 08 */ addi r3, r1, 8 +/* 802E6E6C 002E3DCC 4B FF AF 81 */ bl CreateMetaTrans__17CMetaTransFactoryFR12CInputStream +/* 802E6E70 002E3DD0 80 01 00 08 */ lwz r0, 8(r1) +/* 802E6E74 002E3DD4 38 61 00 08 */ addi r3, r1, 8 +/* 802E6E78 002E3DD8 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802E6E7C 002E3DDC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802E6E80 002E3DE0 80 85 00 04 */ lwz r4, 4(r5) +/* 802E6E84 002E3DE4 38 04 00 01 */ addi r0, r4, 1 +/* 802E6E88 002E3DE8 90 05 00 04 */ stw r0, 4(r5) +/* 802E6E8C 002E3DEC 4B D4 D4 09 */ bl __dt__17CMetaTransFactoryFv +/* 802E6E90 002E3DF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E6E94 002E3DF4 7F C3 F3 78 */ mr r3, r30 +/* 802E6E98 002E3DF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E6E9C 002E3DFC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E6EA0 002E3E00 7C 08 03 A6 */ mtlr r0 +/* 802E6EA4 002E3E04 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E6EA8 002E3E08 4E 80 00 20 */ blr + +.global "GetTransitionTree__18CTransitionManagerCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>" +"GetTransitionTree__18CTransitionManagerCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>": +/* 802E6EAC 002E3E0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E6EB0 002E3E10 7C 08 02 A6 */ mflr r0 +/* 802E6EB4 002E3E14 7C 87 23 78 */ mr r7, r4 +/* 802E6EB8 002E3E18 7C A4 2B 78 */ mr r4, r5 +/* 802E6EBC 002E3E1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E6EC0 002E3E20 7C C0 33 78 */ mr r0, r6 +/* 802E6EC4 002E3E24 7C E6 3B 78 */ mr r6, r7 +/* 802E6EC8 002E3E28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E6ECC 002E3E2C 7C 7F 1B 78 */ mr r31, r3 +/* 802E6ED0 002E3E30 7C 05 03 78 */ mr r5, r0 +/* 802E6ED4 002E3E34 48 00 00 19 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802E6ED8 002E3E38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E6EDC 002E3E3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E6EE0 002E3E40 7C 08 03 A6 */ mtlr r0 +/* 802E6EE4 002E3E44 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E6EE8 002E3E48 4E 80 00 20 */ blr + +.global "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +"GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext": +/* 802E6EEC 002E3E4C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802E6EF0 002E3E50 7C 08 02 A6 */ mflr r0 +/* 802E6EF4 002E3E54 90 01 01 14 */ stw r0, 0x114(r1) +/* 802E6EF8 002E3E58 BF 01 00 F0 */ stmw r24, 0xf0(r1) +/* 802E6EFC 002E3E5C 7C 9C 23 78 */ mr r28, r4 +/* 802E6F00 002E3E60 7C 7B 1B 78 */ mr r27, r3 +/* 802E6F04 002E3E64 7C BD 2B 78 */ mr r29, r5 +/* 802E6F08 002E3E68 7C DE 33 78 */ mr r30, r6 +/* 802E6F0C 002E3E6C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802E6F10 002E3E70 80 84 00 00 */ lwz r4, 0(r4) +/* 802E6F14 002E3E74 80 84 00 00 */ lwz r4, 0(r4) +/* 802E6F18 002E3E78 4B D4 7C 71 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802E6F1C 002E3E7C C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802E6F20 002E3E80 3B E1 00 BC */ addi r31, r1, 0xbc +/* 802E6F24 002E3E84 3B 21 00 4C */ addi r25, r1, 0x4c +/* 802E6F28 002E3E88 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802E6F2C 002E3E8C 7F E3 FB 78 */ mr r3, r31 +/* 802E6F30 002E3E90 7F 24 CB 78 */ mr r4, r25 +/* 802E6F34 002E3E94 48 05 72 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E6F38 002E3E98 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802E6F3C 002E3E9C 28 19 00 00 */ cmplwi r25, 0 +/* 802E6F40 002E3EA0 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 802E6F44 002E3EA4 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802E6F48 002E3EA8 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802E6F4C 002E3EAC C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802E6F50 002E3EB0 88 81 00 70 */ lbz r4, 0x70(r1) +/* 802E6F54 002E3EB4 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802E6F58 002E3EB8 80 61 00 78 */ lwz r3, 0x78(r1) +/* 802E6F5C 002E3EBC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802E6F60 002E3EC0 D0 81 00 CC */ stfs f4, 0xcc(r1) +/* 802E6F64 002E3EC4 90 A1 00 D0 */ stw r5, 0xd0(r1) +/* 802E6F68 002E3EC8 D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 802E6F6C 002E3ECC D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 802E6F70 002E3ED0 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 802E6F74 002E3ED4 98 81 00 E0 */ stb r4, 0xe0(r1) +/* 802E6F78 002E3ED8 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802E6F7C 002E3EDC 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802E6F80 002E3EE0 90 01 00 EC */ stw r0, 0xec(r1) +/* 802E6F84 002E3EE4 41 82 00 0C */ beq lbl_802E6F90 +/* 802E6F88 002E3EE8 7F 23 CB 78 */ mr r3, r25 +/* 802E6F8C 002E3EEC 48 05 6B 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E6F90: +/* 802E6F90 002E3EF0 80 9D 00 00 */ lwz r4, 0(r29) +/* 802E6F94 002E3EF4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E6F98 002E3EF8 80 84 00 00 */ lwz r4, 0(r4) +/* 802E6F9C 002E3EFC 4B D4 7B ED */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802E6FA0 002E3F00 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802E6FA4 002E3F04 3B 01 00 84 */ addi r24, r1, 0x84 +/* 802E6FA8 002E3F08 3B 21 00 14 */ addi r25, r1, 0x14 +/* 802E6FAC 002E3F0C D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802E6FB0 002E3F10 7F 03 C3 78 */ mr r3, r24 +/* 802E6FB4 002E3F14 7F 24 CB 78 */ mr r4, r25 +/* 802E6FB8 002E3F18 48 05 71 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802E6FBC 002E3F1C C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802E6FC0 002E3F20 28 19 00 00 */ cmplwi r25, 0 +/* 802E6FC4 002E3F24 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 802E6FC8 002E3F28 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802E6FCC 002E3F2C C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802E6FD0 002E3F30 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802E6FD4 002E3F34 88 81 00 38 */ lbz r4, 0x38(r1) +/* 802E6FD8 002E3F38 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802E6FDC 002E3F3C 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802E6FE0 002E3F40 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E6FE4 002E3F44 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 802E6FE8 002E3F48 90 A1 00 98 */ stw r5, 0x98(r1) +/* 802E6FEC 002E3F4C D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 802E6FF0 002E3F50 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 802E6FF4 002E3F54 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802E6FF8 002E3F58 98 81 00 A8 */ stb r4, 0xa8(r1) +/* 802E6FFC 002E3F5C D0 01 00 AC */ stfs f0, 0xac(r1) +/* 802E7000 002E3F60 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 802E7004 002E3F64 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802E7008 002E3F68 41 82 00 0C */ beq lbl_802E7014 +/* 802E700C 002E3F6C 7F 23 CB 78 */ mr r3, r25 +/* 802E7010 002E3F70 48 05 6A D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E7014: +/* 802E7014 002E3F74 7F C4 F3 78 */ mr r4, r30 +/* 802E7018 002E3F78 38 61 00 08 */ addi r3, r1, 8 +/* 802E701C 002E3F7C 48 00 00 C9 */ bl "NonConstCopy__29TToken<19CTransitionDatabase>CFv" +/* 802E7020 002E3F80 83 41 00 B4 */ lwz r26, 0xb4(r1) +/* 802E7024 002E3F84 38 61 00 08 */ addi r3, r1, 8 +/* 802E7028 002E3F88 83 21 00 EC */ lwz r25, 0xec(r1) +/* 802E702C 002E3F8C 48 05 9D E1 */ bl GetObj__6CTokenFv +/* 802E7030 002E3F90 80 63 00 04 */ lwz r3, 4(r3) +/* 802E7034 002E3F94 7F 24 CB 78 */ mr r4, r25 +/* 802E7038 002E3F98 7F 45 D3 78 */ mr r5, r26 +/* 802E703C 002E3F9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E7040 002E3FA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E7044 002E3FA4 7D 89 03 A6 */ mtctr r12 +/* 802E7048 002E3FA8 4E 80 04 21 */ bctrl +/* 802E704C 002E3FAC 7C 7A 1B 78 */ mr r26, r3 +/* 802E7050 002E3FB0 38 61 00 08 */ addi r3, r1, 8 +/* 802E7054 002E3FB4 38 80 00 00 */ li r4, 0 +/* 802E7058 002E3FB8 48 05 9D E9 */ bl __dt__6CTokenFv +/* 802E705C 002E3FBC 80 9A 00 00 */ lwz r4, 0(r26) +/* 802E7060 002E3FC0 7F 63 DB 78 */ mr r3, r27 +/* 802E7064 002E3FC4 7F 85 E3 78 */ mr r5, r28 +/* 802E7068 002E3FC8 7F A6 EB 78 */ mr r6, r29 +/* 802E706C 002E3FCC 80 84 00 00 */ lwz r4, 0(r4) +/* 802E7070 002E3FD0 7F C7 F3 78 */ mr r7, r30 +/* 802E7074 002E3FD4 48 00 00 39 */ bl "GetTransitionTree__10IMetaTransCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802E7078 002E3FD8 28 18 00 00 */ cmplwi r24, 0 +/* 802E707C 002E3FDC 41 82 00 0C */ beq lbl_802E7088 +/* 802E7080 002E3FE0 7F 03 C3 78 */ mr r3, r24 +/* 802E7084 002E3FE4 48 05 6A 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E7088: +/* 802E7088 002E3FE8 28 1F 00 00 */ cmplwi r31, 0 +/* 802E708C 002E3FEC 41 82 00 0C */ beq lbl_802E7098 +/* 802E7090 002E3FF0 7F E3 FB 78 */ mr r3, r31 +/* 802E7094 002E3FF4 48 05 6A 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802E7098: +/* 802E7098 002E3FF8 BB 01 00 F0 */ lmw r24, 0xf0(r1) +/* 802E709C 002E3FFC 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802E70A0 002E4000 7C 08 03 A6 */ mtlr r0 +/* 802E70A4 002E4004 38 21 01 10 */ addi r1, r1, 0x110 +/* 802E70A8 002E4008 4E 80 00 20 */ blr + +.global "GetTransitionTree__10IMetaTransCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +"GetTransitionTree__10IMetaTransCFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext": +/* 802E70AC 002E400C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E70B0 002E4010 7C 08 02 A6 */ mflr r0 +/* 802E70B4 002E4014 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E70B8 002E4018 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E70BC 002E401C 7C 7F 1B 78 */ mr r31, r3 +/* 802E70C0 002E4020 81 84 00 00 */ lwz r12, 0(r4) +/* 802E70C4 002E4024 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E70C8 002E4028 7D 89 03 A6 */ mtctr r12 +/* 802E70CC 002E402C 4E 80 04 21 */ bctrl +/* 802E70D0 002E4030 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E70D4 002E4034 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E70D8 002E4038 7C 08 03 A6 */ mtlr r0 +/* 802E70DC 002E403C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E70E0 002E4040 4E 80 00 20 */ blr + +.global "NonConstCopy__29TToken<19CTransitionDatabase>CFv" +"NonConstCopy__29TToken<19CTransitionDatabase>CFv": +/* 802E70E4 002E4044 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E70E8 002E4048 7C 08 02 A6 */ mflr r0 +/* 802E70EC 002E404C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E70F0 002E4050 48 05 9D B9 */ bl __ct__6CTokenFRC6CToken +/* 802E70F4 002E4054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E70F8 002E4058 7C 08 03 A6 */ mtlr r0 +/* 802E70FC 002E405C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E7100 002E4060 4E 80 00 20 */ blr + +.global AdvanceAnim__9IMetaAnimFR11IAnimReaderRC13CCharAnimTime +AdvanceAnim__9IMetaAnimFR11IAnimReaderRC13CCharAnimTime: +/* 802E7104 002E4064 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802E7108 002E4068 7C 08 02 A6 */ mflr r0 +/* 802E710C 002E406C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802E7110 002E4070 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802E7114 002E4074 7C 7F 1B 78 */ mr r31, r3 +/* 802E7118 002E4078 C0 04 00 00 */ lfs f0, 0(r4) +/* 802E711C 002E407C 80 04 00 04 */ lwz r0, 4(r4) +/* 802E7120 002E4080 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802E7124 002E4084 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E7128 002E4088 48 00 00 70 */ b lbl_802E7198 +lbl_802E712C: +/* 802E712C 002E408C 7F E4 FB 78 */ mr r4, r31 +/* 802E7130 002E4090 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E7134 002E4094 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E7138 002E4098 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802E713C 002E409C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802E7140 002E40A0 7D 89 03 A6 */ mtctr r12 +/* 802E7144 002E40A4 4E 80 04 21 */ bctrl +/* 802E7148 002E40A8 C0 E1 00 18 */ lfs f7, 0x18(r1) +/* 802E714C 002E40AC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E7150 002E40B0 C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 802E7154 002E40B4 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802E7158 002E40B8 C0 81 00 28 */ lfs f4, 0x28(r1) +/* 802E715C 002E40BC C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802E7160 002E40C0 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802E7164 002E40C4 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802E7168 002E40C8 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802E716C 002E40CC D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 802E7170 002E40D0 90 01 00 40 */ stw r0, 0x40(r1) +/* 802E7174 002E40D4 D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 802E7178 002E40D8 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802E717C 002E40DC D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802E7180 002E40E0 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 802E7184 002E40E4 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 802E7188 002E40E8 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 802E718C 002E40EC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802E7190 002E40F0 D0 E1 00 10 */ stfs f7, 0x10(r1) +/* 802E7194 002E40F4 90 01 00 14 */ stw r0, 0x14(r1) +lbl_802E7198: +/* 802E7198 002E40F8 C0 0D 9B A4 */ lfs f0, lbl_805A8764@sda21(r13) +/* 802E719C 002E40FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E71A0 002E4100 80 0D 9B A0 */ lwz r0, lbl_805A8760@sda21(r13) +/* 802E71A4 002E4104 38 81 00 08 */ addi r4, r1, 8 +/* 802E71A8 002E4108 D0 01 00 08 */ stfs f0, 8(r1) +/* 802E71AC 002E410C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802E71B0 002E4110 48 06 18 BD */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802E71B4 002E4114 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E71B8 002E4118 40 82 FF 74 */ bne lbl_802E712C +/* 802E71BC 002E411C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802E71C0 002E4120 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802E71C4 002E4124 7C 08 03 A6 */ mtlr r0 +/* 802E71C8 002E4128 38 21 00 70 */ addi r1, r1, 0x70 +/* 802E71CC 002E412C 4E 80 00 20 */ blr + +.global GetTime__9IMetaAnimFRC20CPreAdvanceIndicatorRC11IAnimReader +GetTime__9IMetaAnimFRC20CPreAdvanceIndicatorRC11IAnimReader: +/* 802E71D0 002E4130 94 21 F0 D0 */ stwu r1, -0xf30(r1) +/* 802E71D4 002E4134 7C 08 02 A6 */ mflr r0 +/* 802E71D8 002E4138 90 01 0F 34 */ stw r0, 0xf34(r1) +/* 802E71DC 002E413C BF 61 0F 1C */ stmw r27, 0xf1c(r1) +/* 802E71E0 002E4140 7C 9C 23 78 */ mr r28, r4 +/* 802E71E4 002E4144 7C 7F 1B 78 */ mr r31, r3 +/* 802E71E8 002E4148 7C BB 2B 78 */ mr r27, r5 +/* 802E71EC 002E414C 7F 83 E3 78 */ mr r3, r28 +/* 802E71F0 002E4150 48 00 06 75 */ bl IsTime__20CPreAdvanceIndicatorCFv +/* 802E71F4 002E4154 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E71F8 002E4158 41 82 00 20 */ beq lbl_802E7218 +/* 802E71FC 002E415C 7F 83 E3 78 */ mr r3, r28 +/* 802E7200 002E4160 48 00 06 5D */ bl GetTime__20CPreAdvanceIndicatorCFv +/* 802E7204 002E4164 C0 03 00 00 */ lfs f0, 0(r3) +/* 802E7208 002E4168 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802E720C 002E416C 80 03 00 04 */ lwz r0, 4(r3) +/* 802E7210 002E4170 90 1F 00 04 */ stw r0, 4(r31) +/* 802E7214 002E4174 48 00 00 F8 */ b lbl_802E730C +lbl_802E7218: +/* 802E7218 002E4178 3C 60 80 2E */ lis r3, __defctor__12CBoolPOINodeFv@ha +/* 802E721C 002E417C 3C A0 80 03 */ lis r5, __dt__12CBoolPOINodeFv@ha +/* 802E7220 002E4180 38 83 69 E8 */ addi r4, r3, __defctor__12CBoolPOINodeFv@l +/* 802E7224 002E4184 38 C0 00 3C */ li r6, 0x3c +/* 802E7228 002E4188 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E722C 002E418C 38 A5 F7 EC */ addi r5, r5, __dt__12CBoolPOINodeFv@l +/* 802E7230 002E4190 38 E0 00 40 */ li r7, 0x40 +/* 802E7234 002E4194 48 0A 25 19 */ bl __construct_array +/* 802E7238 002E4198 7F 83 E3 78 */ mr r3, r28 +/* 802E723C 002E419C 48 00 05 ED */ bl GetString__20CPreAdvanceIndicatorCFv +/* 802E7240 002E41A0 81 9B 00 00 */ lwz r12, 0(r27) +/* 802E7244 002E41A4 7C 7C 1B 78 */ mr r28, r3 +/* 802E7248 002E41A8 7F 64 DB 78 */ mr r4, r27 +/* 802E724C 002E41AC 38 61 00 08 */ addi r3, r1, 8 +/* 802E7250 002E41B0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802E7254 002E41B4 7D 89 03 A6 */ mtctr r12 +/* 802E7258 002E41B8 4E 80 04 21 */ bctrl +/* 802E725C 002E41BC 7F 63 DB 78 */ mr r3, r27 +/* 802E7260 002E41C0 38 81 00 08 */ addi r4, r1, 8 +/* 802E7264 002E41C4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802E7268 002E41C8 38 C0 00 40 */ li r6, 0x40 +/* 802E726C 002E41CC 38 E0 00 00 */ li r7, 0 +/* 802E7270 002E41D0 39 00 00 00 */ li r8, 0 +/* 802E7274 002E41D4 48 01 6B 85 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 802E7278 002E41D8 7C 7E 1B 78 */ mr r30, r3 +/* 802E727C 002E41DC 3B A1 00 10 */ addi r29, r1, 0x10 +/* 802E7280 002E41E0 3B 60 00 00 */ li r27, 0 +/* 802E7284 002E41E4 48 00 00 58 */ b lbl_802E72DC +lbl_802E7288: +/* 802E7288 002E41E8 80 7D 00 08 */ lwz r3, 8(r29) +/* 802E728C 002E41EC 7F 84 E3 78 */ mr r4, r28 +/* 802E7290 002E41F0 48 0A 8D 0D */ bl strcmp +/* 802E7294 002E41F4 2C 03 00 00 */ cmpwi r3, 0 +/* 802E7298 002E41F8 40 82 00 3C */ bne lbl_802E72D4 +/* 802E729C 002E41FC 88 1D 00 38 */ lbz r0, 0x38(r29) +/* 802E72A0 002E4200 28 00 00 00 */ cmplwi r0, 0 +/* 802E72A4 002E4204 41 82 00 30 */ beq lbl_802E72D4 +/* 802E72A8 002E4208 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 802E72AC 002E420C 3C 60 80 03 */ lis r3, __dt__12CBoolPOINodeFv@ha +/* 802E72B0 002E4210 38 83 F7 EC */ addi r4, r3, __dt__12CBoolPOINodeFv@l +/* 802E72B4 002E4214 38 A0 00 3C */ li r5, 0x3c +/* 802E72B8 002E4218 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802E72BC 002E421C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E72C0 002E4220 38 C0 00 40 */ li r6, 0x40 +/* 802E72C4 002E4224 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 802E72C8 002E4228 90 1F 00 04 */ stw r0, 4(r31) +/* 802E72CC 002E422C 48 0A 24 09 */ bl __destroy_arr +/* 802E72D0 002E4230 48 00 00 3C */ b lbl_802E730C +lbl_802E72D4: +/* 802E72D4 002E4234 3B BD 00 3C */ addi r29, r29, 0x3c +/* 802E72D8 002E4238 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802E72DC: +/* 802E72DC 002E423C 7C 1B F0 40 */ cmplw r27, r30 +/* 802E72E0 002E4240 41 80 FF A8 */ blt lbl_802E7288 +/* 802E72E4 002E4244 C0 0D 9B A4 */ lfs f0, lbl_805A8764@sda21(r13) +/* 802E72E8 002E4248 3C 60 80 03 */ lis r3, __dt__12CBoolPOINodeFv@ha +/* 802E72EC 002E424C 38 83 F7 EC */ addi r4, r3, __dt__12CBoolPOINodeFv@l +/* 802E72F0 002E4250 38 A0 00 3C */ li r5, 0x3c +/* 802E72F4 002E4254 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802E72F8 002E4258 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E72FC 002E425C 38 C0 00 40 */ li r6, 0x40 +/* 802E7300 002E4260 80 0D 9B A0 */ lwz r0, lbl_805A8760@sda21(r13) +/* 802E7304 002E4264 90 1F 00 04 */ stw r0, 4(r31) +/* 802E7308 002E4268 48 0A 23 CD */ bl __destroy_arr +lbl_802E730C: +/* 802E730C 002E426C BB 61 0F 1C */ lmw r27, 0xf1c(r1) +/* 802E7310 002E4270 80 01 0F 34 */ lwz r0, 0xf34(r1) +/* 802E7314 002E4274 7C 08 03 A6 */ mtlr r0 +/* 802E7318 002E4278 38 21 0F 30 */ addi r1, r1, 0xf30 +/* 802E731C 002E427C 4E 80 00 20 */ blr + +.global PutTo__9IMetaAnimCFR13COutputStream +PutTo__9IMetaAnimCFR13COutputStream: +/* 802E7320 002E4280 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E7324 002E4284 7C 08 02 A6 */ mflr r0 +/* 802E7328 002E4288 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E732C 002E428C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E7330 002E4290 7C 9F 23 78 */ mr r31, r4 +/* 802E7334 002E4294 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E7338 002E4298 7C 7E 1B 78 */ mr r30, r3 +/* 802E733C 002E429C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E7340 002E42A0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802E7344 002E42A4 7D 89 03 A6 */ mtctr r12 +/* 802E7348 002E42A8 4E 80 04 21 */ bctrl +/* 802E734C 002E42AC 90 61 00 08 */ stw r3, 8(r1) +/* 802E7350 002E42B0 7F E3 FB 78 */ mr r3, r31 +/* 802E7354 002E42B4 48 05 81 65 */ bl FlushShiftRegister__13COutputStreamFv +/* 802E7358 002E42B8 7F E3 FB 78 */ mr r3, r31 +/* 802E735C 002E42BC 38 81 00 08 */ addi r4, r1, 8 +/* 802E7360 002E42C0 38 A0 00 04 */ li r5, 4 +/* 802E7364 002E42C4 48 05 82 45 */ bl DoPut__13COutputStreamFPCvUl +/* 802E7368 002E42C8 7F C3 F3 78 */ mr r3, r30 +/* 802E736C 002E42CC 7F E4 FB 78 */ mr r4, r31 +/* 802E7370 002E42D0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802E7374 002E42D4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802E7378 002E42D8 7D 89 03 A6 */ mtctr r12 +/* 802E737C 002E42DC 4E 80 04 21 */ bctrl +/* 802E7380 002E42E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E7384 002E42E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E7388 002E42E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E738C 002E42EC 7C 08 03 A6 */ mtlr r0 +/* 802E7390 002E42F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E7394 002E42F4 4E 80 00 20 */ blr + +.global GetAnimationTree__9IMetaAnimCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders +GetAnimationTree__9IMetaAnimCFRC15CAnimSysContextRC24CMetaAnimTreeBuildOrders: +/* 802E7398 002E42F8 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802E739C 002E42FC 7C 08 02 A6 */ mflr r0 +/* 802E73A0 002E4300 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802E73A4 002E4304 93 E1 01 CC */ stw r31, 0x1cc(r1) +/* 802E73A8 002E4308 7C DF 33 78 */ mr r31, r6 +/* 802E73AC 002E430C 93 C1 01 C8 */ stw r30, 0x1c8(r1) +/* 802E73B0 002E4310 7C 7E 1B 78 */ mr r30, r3 +/* 802E73B4 002E4314 93 A1 01 C4 */ stw r29, 0x1c4(r1) +/* 802E73B8 002E4318 7C BD 2B 78 */ mr r29, r5 +/* 802E73BC 002E431C 93 81 01 C0 */ stw r28, 0x1c0(r1) +/* 802E73C0 002E4320 7C 9C 23 78 */ mr r28, r4 +/* 802E73C4 002E4324 88 06 00 84 */ lbz r0, 0x84(r6) +/* 802E73C8 002E4328 28 00 00 00 */ cmplwi r0, 0 +/* 802E73CC 002E432C 41 82 00 BC */ beq lbl_802E7488 +/* 802E73D0 002E4330 38 61 01 38 */ addi r3, r1, 0x138 +/* 802E73D4 002E4334 48 00 04 45 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802E73D8 002E4338 7F 84 E3 78 */ mr r4, r28 +/* 802E73DC 002E433C 7F A5 EB 78 */ mr r5, r29 +/* 802E73E0 002E4340 81 9C 00 00 */ lwz r12, 0(r28) +/* 802E73E4 002E4344 38 61 00 0C */ addi r3, r1, 0xc +/* 802E73E8 002E4348 38 C1 01 38 */ addi r6, r1, 0x138 +/* 802E73EC 002E434C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E73F0 002E4350 7D 89 03 A6 */ mtctr r12 +/* 802E73F4 002E4354 4E 80 04 21 */ bctrl +/* 802E73F8 002E4358 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802E73FC 002E435C 38 61 00 0C */ addi r3, r1, 0xc +/* 802E7400 002E4360 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802E7404 002E4364 80 85 00 04 */ lwz r4, 4(r5) +/* 802E7408 002E4368 38 04 00 01 */ addi r0, r4, 1 +/* 802E740C 002E436C 90 05 00 04 */ stw r0, 4(r5) +/* 802E7410 002E4370 4B D4 9B 91 */ bl sub_80030fa0 +/* 802E7414 002E4374 38 00 00 00 */ li r0, 0 +/* 802E7418 002E4378 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802E741C 002E437C 98 01 01 BC */ stb r0, 0x1bc(r1) +/* 802E7420 002E4380 98 01 01 78 */ stb r0, 0x178(r1) +/* 802E7424 002E4384 48 00 04 41 */ bl IsTime__20CPreAdvanceIndicatorCFv +/* 802E7428 002E4388 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E742C 002E438C 40 82 00 14 */ bne lbl_802E7440 +/* 802E7430 002E4390 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802E7434 002E4394 48 00 03 FD */ bl IsString__20CPreAdvanceIndicatorCFv +/* 802E7438 002E4398 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E743C 002E439C 41 82 00 28 */ beq lbl_802E7464 +lbl_802E7440: +/* 802E7440 002E43A0 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802E7444 002E43A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E7448 002E43A8 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802E744C 002E43AC 83 E5 00 00 */ lwz r31, 0(r5) +/* 802E7450 002E43B0 7F E5 FB 78 */ mr r5, r31 +/* 802E7454 002E43B4 4B FF FD 7D */ bl GetTime__9IMetaAnimFRC20CPreAdvanceIndicatorRC11IAnimReader +/* 802E7458 002E43B8 7F E3 FB 78 */ mr r3, r31 +/* 802E745C 002E43BC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802E7460 002E43C0 4B FF FC A5 */ bl AdvanceAnim__9IMetaAnimFR11IAnimReaderRC13CCharAnimTime +lbl_802E7464: +/* 802E7464 002E43C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E7468 002E43C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E746C 002E43CC 90 1E 00 00 */ stw r0, 0(r30) +/* 802E7470 002E43D0 80 BE 00 00 */ lwz r5, 0(r30) +/* 802E7474 002E43D4 80 85 00 04 */ lwz r4, 4(r5) +/* 802E7478 002E43D8 38 04 00 01 */ addi r0, r4, 1 +/* 802E747C 002E43DC 90 05 00 04 */ stw r0, 4(r5) +/* 802E7480 002E43E0 4B D4 9B 21 */ bl sub_80030fa0 +/* 802E7484 002E43E4 48 00 00 FC */ b lbl_802E7580 +lbl_802E7488: +/* 802E7488 002E43E8 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802E748C 002E43EC 28 00 00 00 */ cmplwi r0, 0 +/* 802E7490 002E43F0 41 82 00 BC */ beq lbl_802E754C +/* 802E7494 002E43F4 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802E7498 002E43F8 48 00 03 81 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802E749C 002E43FC 7F 84 E3 78 */ mr r4, r28 +/* 802E74A0 002E4400 7F A5 EB 78 */ mr r5, r29 +/* 802E74A4 002E4404 81 9C 00 00 */ lwz r12, 0(r28) +/* 802E74A8 002E4408 38 61 00 08 */ addi r3, r1, 8 +/* 802E74AC 002E440C 38 C1 00 B0 */ addi r6, r1, 0xb0 +/* 802E74B0 002E4410 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E74B4 002E4414 7D 89 03 A6 */ mtctr r12 +/* 802E74B8 002E4418 4E 80 04 21 */ bctrl +/* 802E74BC 002E441C 80 A1 00 08 */ lwz r5, 8(r1) +/* 802E74C0 002E4420 38 61 00 08 */ addi r3, r1, 8 +/* 802E74C4 002E4424 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802E74C8 002E4428 80 85 00 04 */ lwz r4, 4(r5) +/* 802E74CC 002E442C 38 04 00 01 */ addi r0, r4, 1 +/* 802E74D0 002E4430 90 05 00 04 */ stw r0, 4(r5) +/* 802E74D4 002E4434 4B D4 9A CD */ bl sub_80030fa0 +/* 802E74D8 002E4438 38 00 00 00 */ li r0, 0 +/* 802E74DC 002E443C 7F E3 FB 78 */ mr r3, r31 +/* 802E74E0 002E4440 98 01 01 34 */ stb r0, 0x134(r1) +/* 802E74E4 002E4444 98 01 00 F0 */ stb r0, 0xf0(r1) +/* 802E74E8 002E4448 48 00 03 7D */ bl IsTime__20CPreAdvanceIndicatorCFv +/* 802E74EC 002E444C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E74F0 002E4450 40 82 00 14 */ bne lbl_802E7504 +/* 802E74F4 002E4454 7F E3 FB 78 */ mr r3, r31 +/* 802E74F8 002E4458 48 00 03 39 */ bl IsString__20CPreAdvanceIndicatorCFv +/* 802E74FC 002E445C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E7500 002E4460 41 82 00 28 */ beq lbl_802E7528 +lbl_802E7504: +/* 802E7504 002E4464 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 802E7508 002E4468 7F E4 FB 78 */ mr r4, r31 +/* 802E750C 002E446C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E7510 002E4470 83 E5 00 00 */ lwz r31, 0(r5) +/* 802E7514 002E4474 7F E5 FB 78 */ mr r5, r31 +/* 802E7518 002E4478 4B FF FC B9 */ bl GetTime__9IMetaAnimFRC20CPreAdvanceIndicatorRC11IAnimReader +/* 802E751C 002E447C 7F E3 FB 78 */ mr r3, r31 +/* 802E7520 002E4480 38 81 00 18 */ addi r4, r1, 0x18 +/* 802E7524 002E4484 4B FF FB E1 */ bl AdvanceAnim__9IMetaAnimFR11IAnimReaderRC13CCharAnimTime +lbl_802E7528: +/* 802E7528 002E4488 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802E752C 002E448C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E7530 002E4490 90 1E 00 00 */ stw r0, 0(r30) +/* 802E7534 002E4494 80 BE 00 00 */ lwz r5, 0(r30) +/* 802E7538 002E4498 80 85 00 04 */ lwz r4, 4(r5) +/* 802E753C 002E449C 38 04 00 01 */ addi r0, r4, 1 +/* 802E7540 002E44A0 90 05 00 04 */ stw r0, 4(r5) +/* 802E7544 002E44A4 4B D4 9A 5D */ bl sub_80030fa0 +/* 802E7548 002E44A8 48 00 00 38 */ b lbl_802E7580 +lbl_802E754C: +/* 802E754C 002E44AC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802E7550 002E44B0 48 00 02 C9 */ bl NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +/* 802E7554 002E44B4 7F 84 E3 78 */ mr r4, r28 +/* 802E7558 002E44B8 7F C3 F3 78 */ mr r3, r30 +/* 802E755C 002E44BC 81 9C 00 00 */ lwz r12, 0(r28) +/* 802E7560 002E44C0 7F A5 EB 78 */ mr r5, r29 +/* 802E7564 002E44C4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802E7568 002E44C8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E756C 002E44CC 7D 89 03 A6 */ mtctr r12 +/* 802E7570 002E44D0 4E 80 04 21 */ bctrl +/* 802E7574 002E44D4 38 00 00 00 */ li r0, 0 +/* 802E7578 002E44D8 98 01 00 AC */ stb r0, 0xac(r1) +/* 802E757C 002E44DC 98 01 00 68 */ stb r0, 0x68(r1) +lbl_802E7580: +/* 802E7580 002E44E0 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802E7584 002E44E4 83 E1 01 CC */ lwz r31, 0x1cc(r1) +/* 802E7588 002E44E8 83 C1 01 C8 */ lwz r30, 0x1c8(r1) +/* 802E758C 002E44EC 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 802E7590 002E44F0 83 81 01 C0 */ lwz r28, 0x1c0(r1) +/* 802E7594 002E44F4 7C 08 03 A6 */ mtlr r0 +/* 802E7598 002E44F8 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802E759C 002E44FC 4E 80 00 20 */ blr + +.global PreAdvanceForAll__24CMetaAnimTreeBuildOrdersFRC20CPreAdvanceIndicator +PreAdvanceForAll__24CMetaAnimTreeBuildOrdersFRC20CPreAdvanceIndicator: +/* 802E75A0 002E4500 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802E75A4 002E4504 38 00 00 00 */ li r0, 0 +/* 802E75A8 002E4508 28 00 00 00 */ cmplwi r0, 0 +/* 802E75AC 002E450C BF 21 00 94 */ stmw r25, 0x94(r1) +/* 802E75B0 002E4510 98 01 00 48 */ stb r0, 0x48(r1) +/* 802E75B4 002E4514 98 01 00 8C */ stb r0, 0x8c(r1) +/* 802E75B8 002E4518 40 82 00 98 */ bne lbl_802E7650 +/* 802E75BC 002E451C 34 C1 00 4C */ addic. r6, r1, 0x4c +/* 802E75C0 002E4520 41 82 00 84 */ beq lbl_802E7644 +/* 802E75C4 002E4524 88 04 00 00 */ lbz r0, 0(r4) +/* 802E75C8 002E4528 98 06 00 00 */ stb r0, 0(r6) +/* 802E75CC 002E452C C0 04 00 04 */ lfs f0, 4(r4) +/* 802E75D0 002E4530 D0 06 00 04 */ stfs f0, 4(r6) +/* 802E75D4 002E4534 80 04 00 08 */ lwz r0, 8(r4) +/* 802E75D8 002E4538 90 06 00 08 */ stw r0, 8(r6) +/* 802E75DC 002E453C 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802E75E0 002E4540 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802E75E4 002E4544 90 A6 00 0C */ stw r5, 0xc(r6) +/* 802E75E8 002E4548 90 06 00 10 */ stw r0, 0x10(r6) +/* 802E75EC 002E454C 80 A4 00 14 */ lwz r5, 0x14(r4) +/* 802E75F0 002E4550 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802E75F4 002E4554 90 A6 00 14 */ stw r5, 0x14(r6) +/* 802E75F8 002E4558 90 06 00 18 */ stw r0, 0x18(r6) +/* 802E75FC 002E455C 80 A4 00 1C */ lwz r5, 0x1c(r4) +/* 802E7600 002E4560 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802E7604 002E4564 90 A6 00 1C */ stw r5, 0x1c(r6) +/* 802E7608 002E4568 90 06 00 20 */ stw r0, 0x20(r6) +/* 802E760C 002E456C 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 802E7610 002E4570 80 04 00 28 */ lwz r0, 0x28(r4) +/* 802E7614 002E4574 90 A6 00 24 */ stw r5, 0x24(r6) +/* 802E7618 002E4578 90 06 00 28 */ stw r0, 0x28(r6) +/* 802E761C 002E457C 80 A4 00 2C */ lwz r5, 0x2c(r4) +/* 802E7620 002E4580 80 04 00 30 */ lwz r0, 0x30(r4) +/* 802E7624 002E4584 90 A6 00 2C */ stw r5, 0x2c(r6) +/* 802E7628 002E4588 90 06 00 30 */ stw r0, 0x30(r6) +/* 802E762C 002E458C 80 A4 00 34 */ lwz r5, 0x34(r4) +/* 802E7630 002E4590 80 04 00 38 */ lwz r0, 0x38(r4) +/* 802E7634 002E4594 90 A6 00 34 */ stw r5, 0x34(r6) +/* 802E7638 002E4598 90 06 00 38 */ stw r0, 0x38(r6) +/* 802E763C 002E459C A0 04 00 3C */ lhz r0, 0x3c(r4) +/* 802E7640 002E45A0 B0 06 00 3C */ sth r0, 0x3c(r6) +lbl_802E7644: +/* 802E7644 002E45A4 38 00 00 01 */ li r0, 1 +/* 802E7648 002E45A8 98 01 00 8C */ stb r0, 0x8c(r1) +/* 802E764C 002E45AC 48 00 00 84 */ b lbl_802E76D0 +lbl_802E7650: +/* 802E7650 002E45B0 8B 24 00 00 */ lbz r25, 0(r4) +/* 802E7654 002E45B4 83 44 00 04 */ lwz r26, 4(r4) +/* 802E7658 002E45B8 83 64 00 08 */ lwz r27, 8(r4) +/* 802E765C 002E45BC 83 84 00 0C */ lwz r28, 0xc(r4) +/* 802E7660 002E45C0 83 A4 00 10 */ lwz r29, 0x10(r4) +/* 802E7664 002E45C4 83 C4 00 14 */ lwz r30, 0x14(r4) +/* 802E7668 002E45C8 83 E4 00 18 */ lwz r31, 0x18(r4) +/* 802E766C 002E45CC 81 84 00 1C */ lwz r12, 0x1c(r4) +/* 802E7670 002E45D0 81 64 00 20 */ lwz r11, 0x20(r4) +/* 802E7674 002E45D4 81 44 00 24 */ lwz r10, 0x24(r4) +/* 802E7678 002E45D8 81 24 00 28 */ lwz r9, 0x28(r4) +/* 802E767C 002E45DC 81 04 00 2C */ lwz r8, 0x2c(r4) +/* 802E7680 002E45E0 80 E4 00 30 */ lwz r7, 0x30(r4) +/* 802E7684 002E45E4 80 C4 00 34 */ lwz r6, 0x34(r4) +/* 802E7688 002E45E8 80 A4 00 38 */ lwz r5, 0x38(r4) +/* 802E768C 002E45EC A0 04 00 3C */ lhz r0, 0x3c(r4) +/* 802E7690 002E45F0 9B 21 00 4C */ stb r25, 0x4c(r1) +/* 802E7694 002E45F4 93 41 00 50 */ stw r26, 0x50(r1) +/* 802E7698 002E45F8 93 61 00 54 */ stw r27, 0x54(r1) +/* 802E769C 002E45FC 93 81 00 58 */ stw r28, 0x58(r1) +/* 802E76A0 002E4600 93 A1 00 5C */ stw r29, 0x5c(r1) +/* 802E76A4 002E4604 93 C1 00 60 */ stw r30, 0x60(r1) +/* 802E76A8 002E4608 93 E1 00 64 */ stw r31, 0x64(r1) +/* 802E76AC 002E460C 91 81 00 68 */ stw r12, 0x68(r1) +/* 802E76B0 002E4610 91 61 00 6C */ stw r11, 0x6c(r1) +/* 802E76B4 002E4614 91 41 00 70 */ stw r10, 0x70(r1) +/* 802E76B8 002E4618 91 21 00 74 */ stw r9, 0x74(r1) +/* 802E76BC 002E461C 91 01 00 78 */ stw r8, 0x78(r1) +/* 802E76C0 002E4620 90 E1 00 7C */ stw r7, 0x7c(r1) +/* 802E76C4 002E4624 90 C1 00 80 */ stw r6, 0x80(r1) +/* 802E76C8 002E4628 90 A1 00 84 */ stw r5, 0x84(r1) +/* 802E76CC 002E462C B0 01 00 88 */ sth r0, 0x88(r1) +lbl_802E76D0: +/* 802E76D0 002E4630 88 01 00 48 */ lbz r0, 0x48(r1) +/* 802E76D4 002E4634 28 00 00 00 */ cmplwi r0, 0 +/* 802E76D8 002E4638 98 03 00 40 */ stb r0, 0x40(r3) +/* 802E76DC 002E463C 41 82 00 8C */ beq lbl_802E7768 +/* 802E76E0 002E4640 28 03 00 00 */ cmplwi r3, 0 +/* 802E76E4 002E4644 41 82 00 84 */ beq lbl_802E7768 +/* 802E76E8 002E4648 88 01 00 08 */ lbz r0, 8(r1) +/* 802E76EC 002E464C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802E76F0 002E4650 98 03 00 00 */ stb r0, 0(r3) +/* 802E76F4 002E4654 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802E76F8 002E4658 D0 03 00 04 */ stfs f0, 4(r3) +/* 802E76FC 002E465C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E7700 002E4660 90 83 00 08 */ stw r4, 8(r3) +/* 802E7704 002E4664 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802E7708 002E4668 90 03 00 0C */ stw r0, 0xc(r3) +/* 802E770C 002E466C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802E7710 002E4670 90 83 00 10 */ stw r4, 0x10(r3) +/* 802E7714 002E4674 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802E7718 002E4678 90 03 00 14 */ stw r0, 0x14(r3) +/* 802E771C 002E467C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E7720 002E4680 90 83 00 18 */ stw r4, 0x18(r3) +/* 802E7724 002E4684 80 81 00 28 */ lwz r4, 0x28(r1) +/* 802E7728 002E4688 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802E772C 002E468C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802E7730 002E4690 90 83 00 20 */ stw r4, 0x20(r3) +/* 802E7734 002E4694 80 81 00 30 */ lwz r4, 0x30(r1) +/* 802E7738 002E4698 90 03 00 24 */ stw r0, 0x24(r3) +/* 802E773C 002E469C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E7740 002E46A0 90 83 00 28 */ stw r4, 0x28(r3) +/* 802E7744 002E46A4 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802E7748 002E46A8 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802E774C 002E46AC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802E7750 002E46B0 90 83 00 30 */ stw r4, 0x30(r3) +/* 802E7754 002E46B4 80 81 00 40 */ lwz r4, 0x40(r1) +/* 802E7758 002E46B8 90 03 00 34 */ stw r0, 0x34(r3) +/* 802E775C 002E46BC A0 01 00 44 */ lhz r0, 0x44(r1) +/* 802E7760 002E46C0 90 83 00 38 */ stw r4, 0x38(r3) +/* 802E7764 002E46C4 B0 03 00 3C */ sth r0, 0x3c(r3) +lbl_802E7768: +/* 802E7768 002E46C8 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 802E776C 002E46CC 28 00 00 00 */ cmplwi r0, 0 +/* 802E7770 002E46D0 98 03 00 84 */ stb r0, 0x84(r3) +/* 802E7774 002E46D4 41 82 00 8C */ beq lbl_802E7800 +/* 802E7778 002E46D8 34 83 00 44 */ addic. r4, r3, 0x44 +/* 802E777C 002E46DC 41 82 00 84 */ beq lbl_802E7800 +/* 802E7780 002E46E0 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 802E7784 002E46E4 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802E7788 002E46E8 98 04 00 00 */ stb r0, 0(r4) +/* 802E778C 002E46EC 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802E7790 002E46F0 D0 04 00 04 */ stfs f0, 4(r4) +/* 802E7794 002E46F4 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802E7798 002E46F8 90 64 00 08 */ stw r3, 8(r4) +/* 802E779C 002E46FC 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 802E77A0 002E4700 90 04 00 0C */ stw r0, 0xc(r4) +/* 802E77A4 002E4704 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802E77A8 002E4708 90 64 00 10 */ stw r3, 0x10(r4) +/* 802E77AC 002E470C 80 61 00 64 */ lwz r3, 0x64(r1) +/* 802E77B0 002E4710 90 04 00 14 */ stw r0, 0x14(r4) +/* 802E77B4 002E4714 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802E77B8 002E4718 90 64 00 18 */ stw r3, 0x18(r4) +/* 802E77BC 002E471C 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 802E77C0 002E4720 90 04 00 1C */ stw r0, 0x1c(r4) +/* 802E77C4 002E4724 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802E77C8 002E4728 90 64 00 20 */ stw r3, 0x20(r4) +/* 802E77CC 002E472C 80 61 00 74 */ lwz r3, 0x74(r1) +/* 802E77D0 002E4730 90 04 00 24 */ stw r0, 0x24(r4) +/* 802E77D4 002E4734 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802E77D8 002E4738 90 64 00 28 */ stw r3, 0x28(r4) +/* 802E77DC 002E473C 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 802E77E0 002E4740 90 04 00 2C */ stw r0, 0x2c(r4) +/* 802E77E4 002E4744 80 01 00 80 */ lwz r0, 0x80(r1) +/* 802E77E8 002E4748 90 64 00 30 */ stw r3, 0x30(r4) +/* 802E77EC 002E474C 80 61 00 84 */ lwz r3, 0x84(r1) +/* 802E77F0 002E4750 90 04 00 34 */ stw r0, 0x34(r4) +/* 802E77F4 002E4754 A0 01 00 88 */ lhz r0, 0x88(r1) +/* 802E77F8 002E4758 90 64 00 38 */ stw r3, 0x38(r4) +/* 802E77FC 002E475C B0 04 00 3C */ sth r0, 0x3c(r4) +lbl_802E7800: +/* 802E7800 002E4760 BB 21 00 94 */ lmw r25, 0x94(r1) +/* 802E7804 002E4764 38 00 00 00 */ li r0, 0 +/* 802E7808 002E4768 98 01 00 8C */ stb r0, 0x8c(r1) +/* 802E780C 002E476C 98 01 00 48 */ stb r0, 0x48(r1) +/* 802E7810 002E4770 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802E7814 002E4774 4E 80 00 20 */ blr + +.global NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv +NoSpecialOrders__24CMetaAnimTreeBuildOrdersFv: +/* 802E7818 002E4778 38 00 00 00 */ li r0, 0 +/* 802E781C 002E477C 98 03 00 40 */ stb r0, 0x40(r3) +/* 802E7820 002E4780 98 03 00 84 */ stb r0, 0x84(r3) +/* 802E7824 002E4784 4E 80 00 20 */ blr + +.global GetString__20CPreAdvanceIndicatorCFv +GetString__20CPreAdvanceIndicatorCFv: +/* 802E7828 002E4788 38 63 00 0C */ addi r3, r3, 0xc +/* 802E782C 002E478C 4E 80 00 20 */ blr + +.global IsString__20CPreAdvanceIndicatorCFv +IsString__20CPreAdvanceIndicatorCFv: +/* 802E7830 002E4790 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E7834 002E4794 7C 08 02 A6 */ mflr r0 +/* 802E7838 002E4798 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E783C 002E479C 48 00 00 29 */ bl IsTime__20CPreAdvanceIndicatorCFv +/* 802E7840 002E47A0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802E7844 002E47A4 7C 00 00 34 */ cntlzw r0, r0 +/* 802E7848 002E47A8 54 03 D9 7E */ srwi r3, r0, 5 +/* 802E784C 002E47AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E7850 002E47B0 7C 08 03 A6 */ mtlr r0 +/* 802E7854 002E47B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E7858 002E47B8 4E 80 00 20 */ blr + +.global GetTime__20CPreAdvanceIndicatorCFv +GetTime__20CPreAdvanceIndicatorCFv: +/* 802E785C 002E47BC 38 63 00 04 */ addi r3, r3, 4 +/* 802E7860 002E47C0 4E 80 00 20 */ blr + +.global IsTime__20CPreAdvanceIndicatorCFv +IsTime__20CPreAdvanceIndicatorCFv: +/* 802E7864 002E47C4 88 63 00 00 */ lbz r3, 0(r3) +/* 802E7868 002E47C8 4E 80 00 20 */ blr + +.global __ct__10CSfxHandleFUi +__ct__10CSfxHandleFUi: +/* 802E786C 002E47CC 80 AD A6 F8 */ lwz r5, lbl_805A92B8@sda21(r13) +/* 802E7870 002E47D0 54 80 05 3E */ clrlwi r0, r4, 0x14 +/* 802E7874 002E47D4 38 85 00 01 */ addi r4, r5, 1 +/* 802E7878 002E47D8 90 8D A6 F8 */ stw r4, lbl_805A92B8@sda21(r13) +/* 802E787C 002E47DC 50 80 70 22 */ rlwimi r0, r4, 0xe, 0, 0x11 +/* 802E7880 002E47E0 90 03 00 00 */ stw r0, 0(r3) +/* 802E7884 002E47E4 4E 80 00 20 */ blr + +.global __dt__Q211CSfxManager11CSfxWrapperFv +__dt__Q211CSfxManager11CSfxWrapperFv: +/* 802E7888 002E47E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E788C 002E47EC 7C 08 02 A6 */ mflr r0 +/* 802E7890 002E47F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E7894 002E47F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E7898 002E47F8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802E789C 002E47FC 41 82 00 30 */ beq lbl_802E78CC +/* 802E78A0 002E4800 3C 60 80 3F */ lis r3, lbl_803ECE10@ha +/* 802E78A4 002E4804 38 03 CE 10 */ addi r0, r3, lbl_803ECE10@l +/* 802E78A8 002E4808 90 1F 00 00 */ stw r0, 0(r31) +/* 802E78AC 002E480C 41 82 00 10 */ beq lbl_802E78BC +/* 802E78B0 002E4810 3C 60 80 3F */ lis r3, lbl_803ECEE4@ha +/* 802E78B4 002E4814 38 03 CE E4 */ addi r0, r3, lbl_803ECEE4@l +/* 802E78B8 002E4818 90 1F 00 00 */ stw r0, 0(r31) +lbl_802E78BC: +/* 802E78BC 002E481C 7C 80 07 35 */ extsh. r0, r4 +/* 802E78C0 002E4820 40 81 00 0C */ ble lbl_802E78CC +/* 802E78C4 002E4824 7F E3 FB 78 */ mr r3, r31 +/* 802E78C8 002E4828 48 02 E0 69 */ bl Free__7CMemoryFPCv +lbl_802E78CC: +/* 802E78CC 002E482C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E78D0 002E4830 7F E3 FB 78 */ mr r3, r31 +/* 802E78D4 002E4834 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E78D8 002E4838 7C 08 03 A6 */ mtlr r0 +/* 802E78DC 002E483C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E78E0 002E4840 4E 80 00 20 */ blr + +.global FAudioTranslationTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FAudioTranslationTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802E78E4 002E4844 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E78E8 002E4848 7C 08 02 A6 */ mflr r0 +/* 802E78EC 002E484C 3C 80 80 3D */ lis r4, lbl_803D6DC8@ha +/* 802E78F0 002E4850 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E78F4 002E4854 38 84 6D C8 */ addi r4, r4, lbl_803D6DC8@l +/* 802E78F8 002E4858 BF 41 00 08 */ stmw r26, 8(r1) +/* 802E78FC 002E485C 7C 7E 1B 78 */ mr r30, r3 +/* 802E7900 002E4860 7C BF 2B 78 */ mr r31, r5 +/* 802E7904 002E4864 38 60 00 10 */ li r3, 0x10 +/* 802E7908 002E4868 38 A0 00 00 */ li r5, 0 +/* 802E790C 002E486C 48 02 DF 61 */ bl __nw__FUlPCcPCc +/* 802E7910 002E4870 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E7914 002E4874 41 82 00 98 */ beq lbl_802E79AC +/* 802E7918 002E4878 38 00 00 00 */ li r0, 0 +/* 802E791C 002E487C 7F E3 FB 78 */ mr r3, r31 +/* 802E7920 002E4880 90 1D 00 04 */ stw r0, 4(r29) +/* 802E7924 002E4884 90 1D 00 08 */ stw r0, 8(r29) +/* 802E7928 002E4888 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802E792C 002E488C 48 05 73 59 */ bl ReadLong__12CInputStreamFv +/* 802E7930 002E4890 7C 7B 1B 78 */ mr r27, r3 +/* 802E7934 002E4894 7F A3 EB 78 */ mr r3, r29 +/* 802E7938 002E4898 7F 64 DB 78 */ mr r4, r27 +/* 802E793C 002E489C 48 00 37 2D */ bl "reserve__Q24rstl36vectorFi" +/* 802E7940 002E48A0 3B 80 00 00 */ li r28, 0 +/* 802E7944 002E48A4 48 00 00 60 */ b lbl_802E79A4 +lbl_802E7948: +/* 802E7948 002E48A8 7F E3 FB 78 */ mr r3, r31 +/* 802E794C 002E48AC 48 05 73 65 */ bl ReadShort__12CInputStreamFv +/* 802E7950 002E48B0 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E7954 002E48B4 7C 7A 07 34 */ extsh r26, r3 +/* 802E7958 002E48B8 80 BD 00 08 */ lwz r5, 8(r29) +/* 802E795C 002E48BC 7C 00 28 00 */ cmpw r0, r5 +/* 802E7960 002E48C0 41 80 00 1C */ blt lbl_802E797C +/* 802E7964 002E48C4 2C 05 00 00 */ cmpwi r5, 0 +/* 802E7968 002E48C8 7F A3 EB 78 */ mr r3, r29 +/* 802E796C 002E48CC 38 80 00 04 */ li r4, 4 +/* 802E7970 002E48D0 41 82 00 08 */ beq lbl_802E7978 +/* 802E7974 002E48D4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802E7978: +/* 802E7978 002E48D8 48 00 36 F1 */ bl "reserve__Q24rstl36vectorFi" +lbl_802E797C: +/* 802E797C 002E48DC 80 1D 00 04 */ lwz r0, 4(r29) +/* 802E7980 002E48E0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802E7984 002E48E4 54 00 08 3C */ slwi r0, r0, 1 +/* 802E7988 002E48E8 7C 63 02 15 */ add. r3, r3, r0 +/* 802E798C 002E48EC 41 82 00 08 */ beq lbl_802E7994 +/* 802E7990 002E48F0 B3 43 00 00 */ sth r26, 0(r3) +lbl_802E7994: +/* 802E7994 002E48F4 80 7D 00 04 */ lwz r3, 4(r29) +/* 802E7998 002E48F8 3B 9C 00 01 */ addi r28, r28, 1 +/* 802E799C 002E48FC 38 03 00 01 */ addi r0, r3, 1 +/* 802E79A0 002E4900 90 1D 00 04 */ stw r0, 4(r29) +lbl_802E79A4: +/* 802E79A4 002E4904 7C 1C D8 00 */ cmpw r28, r27 +/* 802E79A8 002E4908 41 80 FF A0 */ blt lbl_802E7948 +lbl_802E79AC: +/* 802E79AC 002E490C 7F C3 F3 78 */ mr r3, r30 +/* 802E79B0 002E4910 7F A4 EB 78 */ mr r4, r29 +/* 802E79B4 002E4914 48 00 00 19 */ bl sub_802e79cc +/* 802E79B8 002E4918 BB 41 00 08 */ lmw r26, 8(r1) +/* 802E79BC 002E491C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E79C0 002E4920 7C 08 03 A6 */ mtlr r0 +/* 802E79C4 002E4924 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E79C8 002E4928 4E 80 00 20 */ blr + +.global sub_802e79cc +sub_802e79cc: +/* 802E79CC 002E492C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E79D0 002E4930 7C 08 02 A6 */ mflr r0 +/* 802E79D4 002E4934 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E79D8 002E4938 7C 04 00 D0 */ neg r0, r4 +/* 802E79DC 002E493C 7C 00 23 78 */ or r0, r0, r4 +/* 802E79E0 002E4940 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E79E4 002E4944 7C 7F 1B 78 */ mr r31, r3 +/* 802E79E8 002E4948 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802E79EC 002E494C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E79F0 002E4950 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E79F4 002E4954 90 81 00 24 */ stw r4, 0x24(r1) +/* 802E79F8 002E4958 38 81 00 20 */ addi r4, r1, 0x20 +/* 802E79FC 002E495C 98 01 00 20 */ stb r0, 0x20(r1) +/* 802E7A00 002E4960 48 00 01 A9 */ bl "GetIObjObjectFor__53TToken>FRCQ24rstl55auto_ptr>" +/* 802E7A04 002E4964 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802E7A08 002E4968 38 00 00 00 */ li r0, 0 +/* 802E7A0C 002E496C 98 01 00 18 */ stb r0, 0x18(r1) +/* 802E7A10 002E4970 7C 03 00 D0 */ neg r0, r3 +/* 802E7A14 002E4974 7C 00 1B 78 */ or r0, r0, r3 +/* 802E7A18 002E4978 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802E7A1C 002E497C 98 1F 00 00 */ stb r0, 0(r31) +/* 802E7A20 002E4980 90 7F 00 04 */ stw r3, 4(r31) +/* 802E7A24 002E4984 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802E7A28 002E4988 28 00 00 00 */ cmplwi r0, 0 +/* 802E7A2C 002E498C 41 82 00 24 */ beq lbl_802E7A50 +/* 802E7A30 002E4990 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802E7A34 002E4994 28 03 00 00 */ cmplwi r3, 0 +/* 802E7A38 002E4998 41 82 00 18 */ beq lbl_802E7A50 +/* 802E7A3C 002E499C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E7A40 002E49A0 38 80 00 01 */ li r4, 1 +/* 802E7A44 002E49A4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802E7A48 002E49A8 7D 89 03 A6 */ mtctr r12 +/* 802E7A4C 002E49AC 4E 80 04 21 */ bctrl +lbl_802E7A50: +/* 802E7A50 002E49B0 88 01 00 20 */ lbz r0, 0x20(r1) +/* 802E7A54 002E49B4 28 00 00 00 */ cmplwi r0, 0 +/* 802E7A58 002E49B8 41 82 00 58 */ beq lbl_802E7AB0 +/* 802E7A5C 002E49BC 83 C1 00 24 */ lwz r30, 0x24(r1) +/* 802E7A60 002E49C0 28 1E 00 00 */ cmplwi r30, 0 +/* 802E7A64 002E49C4 41 82 00 4C */ beq lbl_802E7AB0 +/* 802E7A68 002E49C8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802E7A6C 002E49CC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802E7A70 002E49D0 54 00 08 3C */ slwi r0, r0, 1 +/* 802E7A74 002E49D4 7C 03 02 14 */ add r0, r3, r0 +/* 802E7A78 002E49D8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E7A7C 002E49DC 7C 64 1B 78 */ mr r4, r3 +/* 802E7A80 002E49E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E7A84 002E49E4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E7A88 002E49E8 90 61 00 08 */ stw r3, 8(r1) +/* 802E7A8C 002E49EC 48 00 00 08 */ b lbl_802E7A94 +lbl_802E7A90: +/* 802E7A90 002E49F0 38 84 00 02 */ addi r4, r4, 2 +lbl_802E7A94: +/* 802E7A94 002E49F4 7C 04 00 40 */ cmplw r4, r0 +/* 802E7A98 002E49F8 40 82 FF F8 */ bne lbl_802E7A90 +/* 802E7A9C 002E49FC 28 03 00 00 */ cmplwi r3, 0 +/* 802E7AA0 002E4A00 41 82 00 08 */ beq lbl_802E7AA8 +/* 802E7AA4 002E4A04 48 02 DE 8D */ bl Free__7CMemoryFPCv +lbl_802E7AA8: +/* 802E7AA8 002E4A08 7F C3 F3 78 */ mr r3, r30 +/* 802E7AAC 002E4A0C 48 02 DE 85 */ bl Free__7CMemoryFPCv +lbl_802E7AB0: +/* 802E7AB0 002E4A10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E7AB4 002E4A14 7F E3 FB 78 */ mr r3, r31 +/* 802E7AB8 002E4A18 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E7ABC 002E4A1C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E7AC0 002E4A20 7C 08 03 A6 */ mtlr r0 +/* 802E7AC4 002E4A24 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E7AC8 002E4A28 4E 80 00 20 */ blr + +.global "__dt__71TObjOwnerDerivedFromIObj>Fv" +"__dt__71TObjOwnerDerivedFromIObj>Fv": +/* 802E7ACC 002E4A2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E7AD0 002E4A30 7C 08 02 A6 */ mflr r0 +/* 802E7AD4 002E4A34 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E7AD8 002E4A38 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802E7ADC 002E4A3C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802E7AE0 002E4A40 7C 9E 23 78 */ mr r30, r4 +/* 802E7AE4 002E4A44 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802E7AE8 002E4A48 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802E7AEC 002E4A4C 41 82 00 9C */ beq lbl_802E7B88 +/* 802E7AF0 002E4A50 3C 60 80 3F */ lis r3, lbl_803ECE74@ha +/* 802E7AF4 002E4A54 38 03 CE 74 */ addi r0, r3, lbl_803ECE74@l +/* 802E7AF8 002E4A58 90 1D 00 00 */ stw r0, 0(r29) +/* 802E7AFC 002E4A5C 83 FD 00 04 */ lwz r31, 4(r29) +/* 802E7B00 002E4A60 28 1F 00 00 */ cmplwi r31, 0 +/* 802E7B04 002E4A64 41 82 00 50 */ beq lbl_802E7B54 +/* 802E7B08 002E4A68 41 82 00 4C */ beq lbl_802E7B54 +/* 802E7B0C 002E4A6C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802E7B10 002E4A70 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802E7B14 002E4A74 54 00 08 3C */ slwi r0, r0, 1 +/* 802E7B18 002E4A78 7C 03 02 14 */ add r0, r3, r0 +/* 802E7B1C 002E4A7C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E7B20 002E4A80 7C 64 1B 78 */ mr r4, r3 +/* 802E7B24 002E4A84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E7B28 002E4A88 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E7B2C 002E4A8C 90 61 00 08 */ stw r3, 8(r1) +/* 802E7B30 002E4A90 48 00 00 08 */ b lbl_802E7B38 +lbl_802E7B34: +/* 802E7B34 002E4A94 38 84 00 02 */ addi r4, r4, 2 +lbl_802E7B38: +/* 802E7B38 002E4A98 7C 04 00 40 */ cmplw r4, r0 +/* 802E7B3C 002E4A9C 40 82 FF F8 */ bne lbl_802E7B34 +/* 802E7B40 002E4AA0 28 03 00 00 */ cmplwi r3, 0 +/* 802E7B44 002E4AA4 41 82 00 08 */ beq lbl_802E7B4C +/* 802E7B48 002E4AA8 48 02 DD E9 */ bl Free__7CMemoryFPCv +lbl_802E7B4C: +/* 802E7B4C 002E4AAC 7F E3 FB 78 */ mr r3, r31 +/* 802E7B50 002E4AB0 48 02 DD E1 */ bl Free__7CMemoryFPCv +lbl_802E7B54: +/* 802E7B54 002E4AB4 28 1D 00 00 */ cmplwi r29, 0 +/* 802E7B58 002E4AB8 41 82 00 20 */ beq lbl_802E7B78 +/* 802E7B5C 002E4ABC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802E7B60 002E4AC0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802E7B64 002E4AC4 90 1D 00 00 */ stw r0, 0(r29) +/* 802E7B68 002E4AC8 41 82 00 10 */ beq lbl_802E7B78 +/* 802E7B6C 002E4ACC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802E7B70 002E4AD0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802E7B74 002E4AD4 90 1D 00 00 */ stw r0, 0(r29) +lbl_802E7B78: +/* 802E7B78 002E4AD8 7F C0 07 35 */ extsh. r0, r30 +/* 802E7B7C 002E4ADC 40 81 00 0C */ ble lbl_802E7B88 +/* 802E7B80 002E4AE0 7F A3 EB 78 */ mr r3, r29 +/* 802E7B84 002E4AE4 48 02 DD AD */ bl Free__7CMemoryFPCv +lbl_802E7B88: +/* 802E7B88 002E4AE8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E7B8C 002E4AEC 7F A3 EB 78 */ mr r3, r29 +/* 802E7B90 002E4AF0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802E7B94 002E4AF4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802E7B98 002E4AF8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802E7B9C 002E4AFC 7C 08 03 A6 */ mtlr r0 +/* 802E7BA0 002E4B00 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E7BA4 002E4B04 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__53TToken>FRCQ24rstl55auto_ptr>" +"GetIObjObjectFor__53TToken>FRCQ24rstl55auto_ptr>": +/* 802E7BA8 002E4B08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E7BAC 002E4B0C 7C 08 02 A6 */ mflr r0 +/* 802E7BB0 002E4B10 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E7BB4 002E4B14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E7BB8 002E4B18 7C 7F 1B 78 */ mr r31, r3 +/* 802E7BBC 002E4B1C 48 00 00 19 */ bl "GetNewDerivedObject__71TObjOwnerDerivedFromIObj>FRCQ24rstl55auto_ptr>" +/* 802E7BC0 002E4B20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E7BC4 002E4B24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E7BC8 002E4B28 7C 08 03 A6 */ mtlr r0 +/* 802E7BCC 002E4B2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E7BD0 002E4B30 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__71TObjOwnerDerivedFromIObj>FRCQ24rstl55auto_ptr>" +"GetNewDerivedObject__71TObjOwnerDerivedFromIObj>FRCQ24rstl55auto_ptr>": +/* 802E7BD4 002E4B34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E7BD8 002E4B38 7C 08 02 A6 */ mflr r0 +/* 802E7BDC 002E4B3C 3C A0 80 3D */ lis r5, lbl_803D6DC8@ha +/* 802E7BE0 002E4B40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E7BE4 002E4B44 38 05 6D C8 */ addi r0, r5, lbl_803D6DC8@l +/* 802E7BE8 002E4B48 38 A0 00 00 */ li r5, 0 +/* 802E7BEC 002E4B4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E7BF0 002E4B50 7C 9F 23 78 */ mr r31, r4 +/* 802E7BF4 002E4B54 7C 04 03 78 */ mr r4, r0 +/* 802E7BF8 002E4B58 93 C1 00 08 */ stw r30, 8(r1) +/* 802E7BFC 002E4B5C 7C 7E 1B 78 */ mr r30, r3 +/* 802E7C00 002E4B60 38 60 00 08 */ li r3, 8 +/* 802E7C04 002E4B64 48 02 DC 69 */ bl __nw__FUlPCcPCc +/* 802E7C08 002E4B68 28 03 00 00 */ cmplwi r3, 0 +/* 802E7C0C 002E4B6C 41 82 00 38 */ beq lbl_802E7C44 +/* 802E7C10 002E4B70 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802E7C14 002E4B74 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802E7C18 002E4B78 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802E7C1C 002E4B7C 3C 80 80 3F */ lis r4, lbl_803ECE74@ha +/* 802E7C20 002E4B80 90 03 00 00 */ stw r0, 0(r3) +/* 802E7C24 002E4B84 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802E7C28 002E4B88 38 A0 00 00 */ li r5, 0 +/* 802E7C2C 002E4B8C 38 04 CE 74 */ addi r0, r4, lbl_803ECE74@l +/* 802E7C30 002E4B90 90 C3 00 00 */ stw r6, 0(r3) +/* 802E7C34 002E4B94 98 BF 00 00 */ stb r5, 0(r31) +/* 802E7C38 002E4B98 80 9F 00 04 */ lwz r4, 4(r31) +/* 802E7C3C 002E4B9C 90 83 00 04 */ stw r4, 4(r3) +/* 802E7C40 002E4BA0 90 03 00 00 */ stw r0, 0(r3) +lbl_802E7C44: +/* 802E7C44 002E4BA4 7C 03 00 D0 */ neg r0, r3 +/* 802E7C48 002E4BA8 7C 00 1B 78 */ or r0, r0, r3 +/* 802E7C4C 002E4BAC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802E7C50 002E4BB0 98 1E 00 00 */ stb r0, 0(r30) +/* 802E7C54 002E4BB4 90 7E 00 04 */ stw r3, 4(r30) +/* 802E7C58 002E4BB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E7C5C 002E4BBC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E7C60 002E4BC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E7C64 002E4BC4 7C 08 03 A6 */ mtlr r0 +/* 802E7C68 002E4BC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E7C6C 002E4BCC 4E 80 00 20 */ blr + +.global DisableAuxCallback__11CSfxManagerFv +DisableAuxCallback__11CSfxManagerFv: +/* 802E7C70 002E4BD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E7C74 002E4BD4 7C 08 02 A6 */ mflr r0 +/* 802E7C78 002E4BD8 38 60 00 00 */ li r3, 0 +/* 802E7C7C 002E4BDC 38 80 00 00 */ li r4, 0 +/* 802E7C80 002E4BE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E7C84 002E4BE4 38 00 00 00 */ li r0, 0 +/* 802E7C88 002E4BE8 38 A0 00 00 */ li r5, 0 +/* 802E7C8C 002E4BEC 38 C0 00 FF */ li r6, 0xff +/* 802E7C90 002E4BF0 90 01 00 08 */ stw r0, 8(r1) +/* 802E7C94 002E4BF4 38 E0 00 00 */ li r7, 0 +/* 802E7C98 002E4BF8 39 00 00 00 */ li r8, 0 +/* 802E7C9C 002E4BFC 39 20 00 00 */ li r9, 0 +/* 802E7CA0 002E4C00 39 40 00 FF */ li r10, 0xff +/* 802E7CA4 002E4C04 48 0B 48 91 */ bl sndSetAuxProcessingCallbacks +/* 802E7CA8 002E4C08 80 0D 9B B0 */ lwz r0, lbl_805A8770@sda21(r13) +/* 802E7CAC 002E4C0C 2C 00 00 02 */ cmpwi r0, 2 +/* 802E7CB0 002E4C10 41 82 00 44 */ beq lbl_802E7CF4 +/* 802E7CB4 002E4C14 40 80 00 14 */ bge lbl_802E7CC8 +/* 802E7CB8 002E4C18 2C 00 00 00 */ cmpwi r0, 0 +/* 802E7CBC 002E4C1C 41 82 00 18 */ beq lbl_802E7CD4 +/* 802E7CC0 002E4C20 40 80 00 24 */ bge lbl_802E7CE4 +/* 802E7CC4 002E4C24 48 00 00 4C */ b lbl_802E7D10 +lbl_802E7CC8: +/* 802E7CC8 002E4C28 2C 00 00 04 */ cmpwi r0, 4 +/* 802E7CCC 002E4C2C 40 80 00 44 */ bge lbl_802E7D10 +/* 802E7CD0 002E4C30 48 00 00 34 */ b lbl_802E7D04 +lbl_802E7CD4: +/* 802E7CD4 002E4C34 3C 60 80 5A */ lis r3, lbl_805A4B68@ha +/* 802E7CD8 002E4C38 38 63 4B 68 */ addi r3, r3, lbl_805A4B68@l +/* 802E7CDC 002E4C3C 48 0C DE C1 */ bl sndAuxCallbackShutdownReverbHI +/* 802E7CE0 002E4C40 48 00 00 30 */ b lbl_802E7D10 +lbl_802E7CE4: +/* 802E7CE4 002E4C44 3C 60 80 5A */ lis r3, lbl_805A4D48@ha +/* 802E7CE8 002E4C48 38 63 4D 48 */ addi r3, r3, lbl_805A4D48@l +/* 802E7CEC 002E4C4C 48 0C F8 05 */ bl sndAuxCallbackShutdownChorus +/* 802E7CF0 002E4C50 48 00 00 20 */ b lbl_802E7D10 +lbl_802E7CF4: +/* 802E7CF4 002E4C54 3C 60 80 5A */ lis r3, lbl_805A4DE4@ha +/* 802E7CF8 002E4C58 38 63 4D E4 */ addi r3, r3, lbl_805A4DE4@l +/* 802E7CFC 002E4C5C 48 0C D5 25 */ bl sndAuxCallbackShutdownReverbSTD +/* 802E7D00 002E4C60 48 00 00 10 */ b lbl_802E7D10 +lbl_802E7D04: +/* 802E7D04 002E4C64 3C 60 80 5A */ lis r3, lbl_805A4F38@ha +/* 802E7D08 002E4C68 38 63 4F 38 */ addi r3, r3, lbl_805A4F38@l +/* 802E7D0C 002E4C6C 48 0C EF 59 */ bl sndAuxCallbackShutdownDelay +lbl_802E7D10: +/* 802E7D10 002E4C70 38 00 FF FF */ li r0, -1 +/* 802E7D14 002E4C74 90 0D 9B B0 */ stw r0, lbl_805A8770@sda21(r13) +/* 802E7D18 002E4C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E7D1C 002E4C7C 7C 08 03 A6 */ mtlr r0 +/* 802E7D20 002E4C80 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E7D24 002E4C84 4E 80 00 20 */ blr + +.global EnableAuxCallback__11CSfxManagerFv +EnableAuxCallback__11CSfxManagerFv: +/* 802E7D28 002E4C88 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802E7D2C 002E4C8C 7C 08 02 A6 */ mflr r0 +/* 802E7D30 002E4C90 C0 02 C6 04 */ lfs f0, lbl_805AE324@sda21(r2) +/* 802E7D34 002E4C94 90 01 00 54 */ stw r0, 0x54(r1) +/* 802E7D38 002E4C98 BE 01 00 10 */ stmw r16, 0x10(r1) +/* 802E7D3C 002E4C9C 3A 00 00 00 */ li r16, 0 +/* 802E7D40 002E4CA0 3B E0 00 00 */ li r31, 0 +/* 802E7D44 002E4CA4 D0 0D 9B A8 */ stfs f0, lbl_805A8768@sda21(r13) +/* 802E7D48 002E4CA8 48 00 06 31 */ bl ApplyReverb__11CSfxManagerFv +/* 802E7D4C 002E4CAC 80 0D 9B B0 */ lwz r0, lbl_805A8770@sda21(r13) +/* 802E7D50 002E4CB0 2C 00 FF FF */ cmpwi r0, -1 +/* 802E7D54 002E4CB4 41 82 00 08 */ beq lbl_802E7D5C +/* 802E7D58 002E4CB8 4B FF FF 19 */ bl DisableAuxCallback__11CSfxManagerFv +lbl_802E7D5C: +/* 802E7D5C 002E4CBC 80 0D 9B B4 */ lwz r0, lbl_805A8774@sda21(r13) +/* 802E7D60 002E4CC0 2C 00 FF FF */ cmpwi r0, -1 +/* 802E7D64 002E4CC4 90 0D 9B B0 */ stw r0, lbl_805A8770@sda21(r13) +/* 802E7D68 002E4CC8 41 82 02 E8 */ beq lbl_802E8050 +/* 802E7D6C 002E4CCC 2C 00 00 02 */ cmpwi r0, 2 +/* 802E7D70 002E4CD0 41 82 01 34 */ beq lbl_802E7EA4 +/* 802E7D74 002E4CD4 40 80 00 14 */ bge lbl_802E7D88 +/* 802E7D78 002E4CD8 2C 00 00 00 */ cmpwi r0, 0 +/* 802E7D7C 002E4CDC 41 82 00 18 */ beq lbl_802E7D94 +/* 802E7D80 002E4CE0 40 80 00 B0 */ bge lbl_802E7E30 +/* 802E7D84 002E4CE4 48 00 02 98 */ b lbl_802E801C +lbl_802E7D88: +/* 802E7D88 002E4CE8 2C 00 00 04 */ cmpwi r0, 4 +/* 802E7D8C 002E4CEC 40 80 02 90 */ bge lbl_802E801C +/* 802E7D90 002E4CF0 48 00 01 A8 */ b lbl_802E7F38 +lbl_802E7D94: +/* 802E7D94 002E4CF4 3C 80 80 5A */ lis r4, lbl_805A4B68@ha +/* 802E7D98 002E4CF8 3C 60 80 5A */ lis r3, lbl_805A4F98@ha +/* 802E7D9C 002E4CFC 38 84 4B 68 */ addi r4, r4, lbl_805A4B68@l +/* 802E7DA0 002E4D00 38 00 00 38 */ li r0, 0x38 +/* 802E7DA4 002E4D04 38 63 4F 98 */ addi r3, r3, lbl_805A4F98@l +/* 802E7DA8 002E4D08 38 A4 FF FC */ addi r5, r4, -4 +/* 802E7DAC 002E4D0C 38 83 FF FC */ addi r4, r3, -4 +/* 802E7DB0 002E4D10 7C 09 03 A6 */ mtctr r0 +lbl_802E7DB4: +/* 802E7DB4 002E4D14 80 64 00 04 */ lwz r3, 4(r4) +/* 802E7DB8 002E4D18 84 04 00 08 */ lwzu r0, 8(r4) +/* 802E7DBC 002E4D1C 90 65 00 04 */ stw r3, 4(r5) +/* 802E7DC0 002E4D20 94 05 00 08 */ stwu r0, 8(r5) +/* 802E7DC4 002E4D24 42 00 FF F0 */ bdnz lbl_802E7DB4 +/* 802E7DC8 002E4D28 80 04 00 04 */ lwz r0, 4(r4) +/* 802E7DCC 002E4D2C 3C 60 80 5A */ lis r3, lbl_805A4F98@ha +/* 802E7DD0 002E4D30 38 83 4F 98 */ addi r4, r3, lbl_805A4F98@l +/* 802E7DD4 002E4D34 3C 60 80 5A */ lis r3, lbl_805A4B68@ha +/* 802E7DD8 002E4D38 90 05 00 04 */ stw r0, 4(r5) +/* 802E7DDC 002E4D3C 38 63 4B 68 */ addi r3, r3, lbl_805A4B68@l +/* 802E7DE0 002E4D40 88 04 01 C4 */ lbz r0, 0x1c4(r4) +/* 802E7DE4 002E4D44 C0 A4 01 C8 */ lfs f5, 0x1c8(r4) +/* 802E7DE8 002E4D48 7C 7F 1B 78 */ mr r31, r3 +/* 802E7DEC 002E4D4C C0 84 01 CC */ lfs f4, 0x1cc(r4) +/* 802E7DF0 002E4D50 C0 64 01 D0 */ lfs f3, 0x1d0(r4) +/* 802E7DF4 002E4D54 C0 44 01 D4 */ lfs f2, 0x1d4(r4) +/* 802E7DF8 002E4D58 C0 24 01 D8 */ lfs f1, 0x1d8(r4) +/* 802E7DFC 002E4D5C C0 04 01 DC */ lfs f0, 0x1dc(r4) +/* 802E7E00 002E4D60 98 03 01 C4 */ stb r0, 0x1c4(r3) +/* 802E7E04 002E4D64 D0 A3 01 C8 */ stfs f5, 0x1c8(r3) +/* 802E7E08 002E4D68 D0 83 01 CC */ stfs f4, 0x1cc(r3) +/* 802E7E0C 002E4D6C D0 63 01 D0 */ stfs f3, 0x1d0(r3) +/* 802E7E10 002E4D70 D0 43 01 D4 */ stfs f2, 0x1d4(r3) +/* 802E7E14 002E4D74 D0 23 01 D8 */ stfs f1, 0x1d8(r3) +/* 802E7E18 002E4D78 D0 03 01 DC */ stfs f0, 0x1dc(r3) +/* 802E7E1C 002E4D7C 48 0C DD 41 */ bl sndAuxCallbackPrepareReverbHI +/* 802E7E20 002E4D80 3C 60 80 3B */ lis r3, sndAuxCallbackReverbHI@ha +/* 802E7E24 002E4D84 38 03 5B 00 */ addi r0, r3, sndAuxCallbackReverbHI@l +/* 802E7E28 002E4D88 7C 10 03 78 */ mr r16, r0 +/* 802E7E2C 002E4D8C 48 00 01 F0 */ b lbl_802E801C +lbl_802E7E30: +/* 802E7E30 002E4D90 3C 80 80 5A */ lis r4, lbl_805A4D48@ha +/* 802E7E34 002E4D94 3C 60 80 5A */ lis r3, lbl_805A5178@ha +/* 802E7E38 002E4D98 38 84 4D 48 */ addi r4, r4, lbl_805A4D48@l +/* 802E7E3C 002E4D9C 38 00 00 12 */ li r0, 0x12 +/* 802E7E40 002E4DA0 38 63 51 78 */ addi r3, r3, lbl_805A5178@l +/* 802E7E44 002E4DA4 38 A4 FF FC */ addi r5, r4, -4 +/* 802E7E48 002E4DA8 38 83 FF FC */ addi r4, r3, -4 +/* 802E7E4C 002E4DAC 7C 09 03 A6 */ mtctr r0 +lbl_802E7E50: +/* 802E7E50 002E4DB0 80 64 00 04 */ lwz r3, 4(r4) +/* 802E7E54 002E4DB4 84 04 00 08 */ lwzu r0, 8(r4) +/* 802E7E58 002E4DB8 90 65 00 04 */ stw r3, 4(r5) +/* 802E7E5C 002E4DBC 94 05 00 08 */ stwu r0, 8(r5) +/* 802E7E60 002E4DC0 42 00 FF F0 */ bdnz lbl_802E7E50 +/* 802E7E64 002E4DC4 3C 80 80 5A */ lis r4, lbl_805A5178@ha +/* 802E7E68 002E4DC8 3C 60 80 5A */ lis r3, lbl_805A4D48@ha +/* 802E7E6C 002E4DCC 38 C4 51 78 */ addi r6, r4, lbl_805A5178@l +/* 802E7E70 002E4DD0 80 A6 00 90 */ lwz r5, 0x90(r6) +/* 802E7E74 002E4DD4 38 63 4D 48 */ addi r3, r3, lbl_805A4D48@l +/* 802E7E78 002E4DD8 80 86 00 94 */ lwz r4, 0x94(r6) +/* 802E7E7C 002E4DDC 7C 7F 1B 78 */ mr r31, r3 +/* 802E7E80 002E4DE0 80 06 00 98 */ lwz r0, 0x98(r6) +/* 802E7E84 002E4DE4 90 A3 00 90 */ stw r5, 0x90(r3) +/* 802E7E88 002E4DE8 90 83 00 94 */ stw r4, 0x94(r3) +/* 802E7E8C 002E4DEC 90 03 00 98 */ stw r0, 0x98(r3) +/* 802E7E90 002E4DF0 48 0C F4 61 */ bl sndAuxCallbackPrepareChorus +/* 802E7E94 002E4DF4 3C 60 80 3B */ lis r3, sndAuxCallbackChorus@ha +/* 802E7E98 002E4DF8 38 03 70 34 */ addi r0, r3, sndAuxCallbackChorus@l +/* 802E7E9C 002E4DFC 7C 10 03 78 */ mr r16, r0 +/* 802E7EA0 002E4E00 48 00 01 7C */ b lbl_802E801C +lbl_802E7EA4: +/* 802E7EA4 002E4E04 3C 80 80 5A */ lis r4, lbl_805A4DE4@ha +/* 802E7EA8 002E4E08 3C 60 80 5A */ lis r3, lbl_805A5214@ha +/* 802E7EAC 002E4E0C 38 84 4D E4 */ addi r4, r4, lbl_805A4DE4@l +/* 802E7EB0 002E4E10 38 00 00 27 */ li r0, 0x27 +/* 802E7EB4 002E4E14 38 63 52 14 */ addi r3, r3, lbl_805A5214@l +/* 802E7EB8 002E4E18 38 A4 FF FC */ addi r5, r4, -4 +/* 802E7EBC 002E4E1C 38 83 FF FC */ addi r4, r3, -4 +/* 802E7EC0 002E4E20 7C 09 03 A6 */ mtctr r0 +lbl_802E7EC4: +/* 802E7EC4 002E4E24 80 64 00 04 */ lwz r3, 4(r4) +/* 802E7EC8 002E4E28 84 04 00 08 */ lwzu r0, 8(r4) +/* 802E7ECC 002E4E2C 90 65 00 04 */ stw r3, 4(r5) +/* 802E7ED0 002E4E30 94 05 00 08 */ stwu r0, 8(r5) +/* 802E7ED4 002E4E34 42 00 FF F0 */ bdnz lbl_802E7EC4 +/* 802E7ED8 002E4E38 80 04 00 04 */ lwz r0, 4(r4) +/* 802E7EDC 002E4E3C 3C 60 80 5A */ lis r3, lbl_805A5214@ha +/* 802E7EE0 002E4E40 38 83 52 14 */ addi r4, r3, lbl_805A5214@l +/* 802E7EE4 002E4E44 3C 60 80 5A */ lis r3, lbl_805A4DE4@ha +/* 802E7EE8 002E4E48 90 05 00 04 */ stw r0, 4(r5) +/* 802E7EEC 002E4E4C 38 63 4D E4 */ addi r3, r3, lbl_805A4DE4@l +/* 802E7EF0 002E4E50 88 04 01 3C */ lbz r0, 0x13c(r4) +/* 802E7EF4 002E4E54 C0 84 01 40 */ lfs f4, 0x140(r4) +/* 802E7EF8 002E4E58 7C 7F 1B 78 */ mr r31, r3 +/* 802E7EFC 002E4E5C C0 64 01 44 */ lfs f3, 0x144(r4) +/* 802E7F00 002E4E60 C0 44 01 48 */ lfs f2, 0x148(r4) +/* 802E7F04 002E4E64 C0 24 01 4C */ lfs f1, 0x14c(r4) +/* 802E7F08 002E4E68 C0 04 01 50 */ lfs f0, 0x150(r4) +/* 802E7F0C 002E4E6C 98 03 01 3C */ stb r0, 0x13c(r3) +/* 802E7F10 002E4E70 D0 83 01 40 */ stfs f4, 0x140(r3) +/* 802E7F14 002E4E74 D0 63 01 44 */ stfs f3, 0x144(r3) +/* 802E7F18 002E4E78 D0 43 01 48 */ stfs f2, 0x148(r3) +/* 802E7F1C 002E4E7C D0 23 01 4C */ stfs f1, 0x14c(r3) +/* 802E7F20 002E4E80 D0 03 01 50 */ stfs f0, 0x150(r3) +/* 802E7F24 002E4E84 48 0C D2 C1 */ bl sndAuxCallbackPrepareReverbSTD +/* 802E7F28 002E4E88 3C 60 80 3B */ lis r3, sndAuxCallbackReverbSTD@ha +/* 802E7F2C 002E4E8C 38 03 51 88 */ addi r0, r3, sndAuxCallbackReverbSTD@l +/* 802E7F30 002E4E90 7C 10 03 78 */ mr r16, r0 +/* 802E7F34 002E4E94 48 00 00 E8 */ b lbl_802E801C +lbl_802E7F38: +/* 802E7F38 002E4E98 3C 60 80 5A */ lis r3, lbl_805A5368@ha +/* 802E7F3C 002E4E9C 3C 80 80 5A */ lis r4, lbl_805A4F38@ha +/* 802E7F40 002E4EA0 3A 03 53 68 */ addi r16, r3, lbl_805A5368@l +/* 802E7F44 002E4EA4 38 64 4F 38 */ addi r3, r4, lbl_805A4F38@l +/* 802E7F48 002E4EA8 82 30 00 00 */ lwz r17, 0(r16) +/* 802E7F4C 002E4EAC 82 50 00 04 */ lwz r18, 4(r16) +/* 802E7F50 002E4EB0 7C 7F 1B 78 */ mr r31, r3 +/* 802E7F54 002E4EB4 82 70 00 08 */ lwz r19, 8(r16) +/* 802E7F58 002E4EB8 82 90 00 0C */ lwz r20, 0xc(r16) +/* 802E7F5C 002E4EBC 82 B0 00 10 */ lwz r21, 0x10(r16) +/* 802E7F60 002E4EC0 82 D0 00 14 */ lwz r22, 0x14(r16) +/* 802E7F64 002E4EC4 82 F0 00 18 */ lwz r23, 0x18(r16) +/* 802E7F68 002E4EC8 83 10 00 1C */ lwz r24, 0x1c(r16) +/* 802E7F6C 002E4ECC 83 30 00 20 */ lwz r25, 0x20(r16) +/* 802E7F70 002E4ED0 83 50 00 24 */ lwz r26, 0x24(r16) +/* 802E7F74 002E4ED4 83 70 00 28 */ lwz r27, 0x28(r16) +/* 802E7F78 002E4ED8 83 90 00 2C */ lwz r28, 0x2c(r16) +/* 802E7F7C 002E4EDC 83 B0 00 30 */ lwz r29, 0x30(r16) +/* 802E7F80 002E4EE0 83 D0 00 34 */ lwz r30, 0x34(r16) +/* 802E7F84 002E4EE4 81 90 00 38 */ lwz r12, 0x38(r16) +/* 802E7F88 002E4EE8 81 70 00 3C */ lwz r11, 0x3c(r16) +/* 802E7F8C 002E4EEC 81 50 00 40 */ lwz r10, 0x40(r16) +/* 802E7F90 002E4EF0 81 30 00 44 */ lwz r9, 0x44(r16) +/* 802E7F94 002E4EF4 81 10 00 48 */ lwz r8, 0x48(r16) +/* 802E7F98 002E4EF8 80 F0 00 4C */ lwz r7, 0x4c(r16) +/* 802E7F9C 002E4EFC 80 D0 00 50 */ lwz r6, 0x50(r16) +/* 802E7FA0 002E4F00 80 B0 00 54 */ lwz r5, 0x54(r16) +/* 802E7FA4 002E4F04 80 90 00 58 */ lwz r4, 0x58(r16) +/* 802E7FA8 002E4F08 80 10 00 5C */ lwz r0, 0x5c(r16) +/* 802E7FAC 002E4F0C 92 23 00 00 */ stw r17, 0(r3) +/* 802E7FB0 002E4F10 92 43 00 04 */ stw r18, 4(r3) +/* 802E7FB4 002E4F14 92 63 00 08 */ stw r19, 8(r3) +/* 802E7FB8 002E4F18 92 83 00 0C */ stw r20, 0xc(r3) +/* 802E7FBC 002E4F1C 92 A3 00 10 */ stw r21, 0x10(r3) +/* 802E7FC0 002E4F20 92 C3 00 14 */ stw r22, 0x14(r3) +/* 802E7FC4 002E4F24 92 E3 00 18 */ stw r23, 0x18(r3) +/* 802E7FC8 002E4F28 93 03 00 1C */ stw r24, 0x1c(r3) +/* 802E7FCC 002E4F2C 93 23 00 20 */ stw r25, 0x20(r3) +/* 802E7FD0 002E4F30 93 43 00 24 */ stw r26, 0x24(r3) +/* 802E7FD4 002E4F34 93 63 00 28 */ stw r27, 0x28(r3) +/* 802E7FD8 002E4F38 93 83 00 2C */ stw r28, 0x2c(r3) +/* 802E7FDC 002E4F3C 93 A3 00 30 */ stw r29, 0x30(r3) +/* 802E7FE0 002E4F40 93 C3 00 34 */ stw r30, 0x34(r3) +/* 802E7FE4 002E4F44 91 83 00 38 */ stw r12, 0x38(r3) +/* 802E7FE8 002E4F48 91 63 00 3C */ stw r11, 0x3c(r3) +/* 802E7FEC 002E4F4C 91 43 00 40 */ stw r10, 0x40(r3) +/* 802E7FF0 002E4F50 91 23 00 44 */ stw r9, 0x44(r3) +/* 802E7FF4 002E4F54 91 03 00 48 */ stw r8, 0x48(r3) +/* 802E7FF8 002E4F58 90 E3 00 4C */ stw r7, 0x4c(r3) +/* 802E7FFC 002E4F5C 90 C3 00 50 */ stw r6, 0x50(r3) +/* 802E8000 002E4F60 90 A3 00 54 */ stw r5, 0x54(r3) +/* 802E8004 002E4F64 90 83 00 58 */ stw r4, 0x58(r3) +/* 802E8008 002E4F68 90 03 00 5C */ stw r0, 0x5c(r3) +/* 802E800C 002E4F6C 48 0C EC 31 */ bl sndAuxCallbackPrepareDelay +/* 802E8010 002E4F70 3C 60 80 3B */ lis r3, sndAuxCallbackDelay@ha +/* 802E8014 002E4F74 38 03 69 04 */ addi r0, r3, sndAuxCallbackDelay@l +/* 802E8018 002E4F78 7C 10 03 78 */ mr r16, r0 +lbl_802E801C: +/* 802E801C 002E4F7C 38 00 00 00 */ li r0, 0 +/* 802E8020 002E4F80 7E 04 83 78 */ mr r4, r16 +/* 802E8024 002E4F84 90 01 00 08 */ stw r0, 8(r1) +/* 802E8028 002E4F88 7F E5 FB 78 */ mr r5, r31 +/* 802E802C 002E4F8C 38 60 00 00 */ li r3, 0 +/* 802E8030 002E4F90 38 C0 00 FF */ li r6, 0xff +/* 802E8034 002E4F94 38 E0 00 00 */ li r7, 0 +/* 802E8038 002E4F98 39 00 00 00 */ li r8, 0 +/* 802E803C 002E4F9C 39 20 00 00 */ li r9, 0 +/* 802E8040 002E4FA0 39 40 00 FF */ li r10, 0xff +/* 802E8044 002E4FA4 48 0B 44 F1 */ bl sndSetAuxProcessingCallbacks +/* 802E8048 002E4FA8 38 00 00 01 */ li r0, 1 +/* 802E804C 002E4FAC 98 0D A7 18 */ stb r0, lbl_805A92D8@sda21(r13) +lbl_802E8050: +/* 802E8050 002E4FB0 BA 01 00 10 */ lmw r16, 0x10(r1) +/* 802E8054 002E4FB4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802E8058 002E4FB8 7C 08 03 A6 */ mtlr r0 +/* 802E805C 002E4FBC 38 21 00 50 */ addi r1, r1, 0x50 +/* 802E8060 002E4FC0 4E 80 00 20 */ blr + +.global PrepareDelayCallback__11CSfxManagerFRC13SND_AUX_DELAY +PrepareDelayCallback__11CSfxManagerFRC13SND_AUX_DELAY: +/* 802E8064 002E4FC4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802E8068 002E4FC8 7C 08 02 A6 */ mflr r0 +/* 802E806C 002E4FCC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802E8070 002E4FD0 BE 01 00 10 */ stmw r16, 0x10(r1) +/* 802E8074 002E4FD4 7C 7F 1B 78 */ mr r31, r3 +/* 802E8078 002E4FD8 48 00 03 C1 */ bl DisableAuxProcessing__11CSfxManagerFv +/* 802E807C 002E4FDC C0 22 C6 04 */ lfs f1, lbl_805AE324@sda21(r2) +/* 802E8080 002E4FE0 3C 60 80 5A */ lis r3, lbl_805A5368@ha +/* 802E8084 002E4FE4 C0 0D 9B A8 */ lfs f0, lbl_805A8768@sda21(r13) +/* 802E8088 002E4FE8 3A 00 00 03 */ li r16, 3 +/* 802E808C 002E4FEC 82 5F 00 00 */ lwz r18, 0(r31) +/* 802E8090 002E4FF0 3A 23 53 68 */ addi r17, r3, lbl_805A5368@l +/* 802E8094 002E4FF4 82 7F 00 04 */ lwz r19, 4(r31) +/* 802E8098 002E4FF8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802E809C 002E4FFC 82 9F 00 08 */ lwz r20, 8(r31) +/* 802E80A0 002E5000 82 BF 00 0C */ lwz r21, 0xc(r31) +/* 802E80A4 002E5004 82 DF 00 10 */ lwz r22, 0x10(r31) +/* 802E80A8 002E5008 82 FF 00 14 */ lwz r23, 0x14(r31) +/* 802E80AC 002E500C 83 1F 00 18 */ lwz r24, 0x18(r31) +/* 802E80B0 002E5010 83 3F 00 1C */ lwz r25, 0x1c(r31) +/* 802E80B4 002E5014 83 5F 00 20 */ lwz r26, 0x20(r31) +/* 802E80B8 002E5018 83 7F 00 24 */ lwz r27, 0x24(r31) +/* 802E80BC 002E501C 83 9F 00 28 */ lwz r28, 0x28(r31) +/* 802E80C0 002E5020 83 BF 00 2C */ lwz r29, 0x2c(r31) +/* 802E80C4 002E5024 83 DF 00 30 */ lwz r30, 0x30(r31) +/* 802E80C8 002E5028 81 9F 00 34 */ lwz r12, 0x34(r31) +/* 802E80CC 002E502C 81 7F 00 38 */ lwz r11, 0x38(r31) +/* 802E80D0 002E5030 81 5F 00 3C */ lwz r10, 0x3c(r31) +/* 802E80D4 002E5034 81 3F 00 40 */ lwz r9, 0x40(r31) +/* 802E80D8 002E5038 81 1F 00 44 */ lwz r8, 0x44(r31) +/* 802E80DC 002E503C 80 FF 00 48 */ lwz r7, 0x48(r31) +/* 802E80E0 002E5040 80 DF 00 4C */ lwz r6, 0x4c(r31) +/* 802E80E4 002E5044 80 BF 00 50 */ lwz r5, 0x50(r31) +/* 802E80E8 002E5048 80 9F 00 54 */ lwz r4, 0x54(r31) +/* 802E80EC 002E504C 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 802E80F0 002E5050 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802E80F4 002E5054 92 0D 9B B4 */ stw r16, lbl_805A8774@sda21(r13) +/* 802E80F8 002E5058 92 51 00 00 */ stw r18, 0(r17) +/* 802E80FC 002E505C 92 71 00 04 */ stw r19, 4(r17) +/* 802E8100 002E5060 92 91 00 08 */ stw r20, 8(r17) +/* 802E8104 002E5064 92 B1 00 0C */ stw r21, 0xc(r17) +/* 802E8108 002E5068 92 D1 00 10 */ stw r22, 0x10(r17) +/* 802E810C 002E506C 92 F1 00 14 */ stw r23, 0x14(r17) +/* 802E8110 002E5070 93 11 00 18 */ stw r24, 0x18(r17) +/* 802E8114 002E5074 93 31 00 1C */ stw r25, 0x1c(r17) +/* 802E8118 002E5078 93 51 00 20 */ stw r26, 0x20(r17) +/* 802E811C 002E507C 93 71 00 24 */ stw r27, 0x24(r17) +/* 802E8120 002E5080 93 91 00 28 */ stw r28, 0x28(r17) +/* 802E8124 002E5084 93 B1 00 2C */ stw r29, 0x2c(r17) +/* 802E8128 002E5088 93 D1 00 30 */ stw r30, 0x30(r17) +/* 802E812C 002E508C 91 91 00 34 */ stw r12, 0x34(r17) +/* 802E8130 002E5090 91 71 00 38 */ stw r11, 0x38(r17) +/* 802E8134 002E5094 91 51 00 3C */ stw r10, 0x3c(r17) +/* 802E8138 002E5098 91 31 00 40 */ stw r9, 0x40(r17) +/* 802E813C 002E509C 91 11 00 44 */ stw r8, 0x44(r17) +/* 802E8140 002E50A0 90 F1 00 48 */ stw r7, 0x48(r17) +/* 802E8144 002E50A4 90 D1 00 4C */ stw r6, 0x4c(r17) +/* 802E8148 002E50A8 90 B1 00 50 */ stw r5, 0x50(r17) +/* 802E814C 002E50AC 90 91 00 54 */ stw r4, 0x54(r17) +/* 802E8150 002E50B0 90 71 00 58 */ stw r3, 0x58(r17) +/* 802E8154 002E50B4 90 11 00 5C */ stw r0, 0x5c(r17) +/* 802E8158 002E50B8 40 82 00 08 */ bne lbl_802E8160 +/* 802E815C 002E50BC 4B FF FB CD */ bl EnableAuxCallback__11CSfxManagerFv +lbl_802E8160: +/* 802E8160 002E50C0 BA 01 00 10 */ lmw r16, 0x10(r1) +/* 802E8164 002E50C4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802E8168 002E50C8 7C 08 03 A6 */ mtlr r0 +/* 802E816C 002E50CC 38 21 00 50 */ addi r1, r1, 0x50 +/* 802E8170 002E50D0 4E 80 00 20 */ blr + +.global PrepareReverbStdCallback__11CSfxManagerFRC17SND_AUX_REVERBSTD +PrepareReverbStdCallback__11CSfxManagerFRC17SND_AUX_REVERBSTD: +/* 802E8174 002E50D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E8178 002E50D8 7C 08 02 A6 */ mflr r0 +/* 802E817C 002E50DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E8180 002E50E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E8184 002E50E4 7C 7F 1B 78 */ mr r31, r3 +/* 802E8188 002E50E8 48 00 02 B1 */ bl DisableAuxProcessing__11CSfxManagerFv +/* 802E818C 002E50EC 3C 60 80 5A */ lis r3, lbl_805A5214@ha +/* 802E8190 002E50F0 38 80 00 02 */ li r4, 2 +/* 802E8194 002E50F4 38 63 52 14 */ addi r3, r3, lbl_805A5214@l +/* 802E8198 002E50F8 38 00 00 27 */ li r0, 0x27 +/* 802E819C 002E50FC 90 8D 9B B4 */ stw r4, lbl_805A8774@sda21(r13) +/* 802E81A0 002E5100 38 A3 FF FC */ addi r5, r3, -4 +/* 802E81A4 002E5104 38 9F FF FC */ addi r4, r31, -4 +/* 802E81A8 002E5108 7C 09 03 A6 */ mtctr r0 +lbl_802E81AC: +/* 802E81AC 002E510C 80 64 00 04 */ lwz r3, 4(r4) +/* 802E81B0 002E5110 84 04 00 08 */ lwzu r0, 8(r4) +/* 802E81B4 002E5114 90 65 00 04 */ stw r3, 4(r5) +/* 802E81B8 002E5118 94 05 00 08 */ stwu r0, 8(r5) +/* 802E81BC 002E511C 42 00 FF F0 */ bdnz lbl_802E81AC +/* 802E81C0 002E5120 80 04 00 04 */ lwz r0, 4(r4) +/* 802E81C4 002E5124 3C 60 80 5A */ lis r3, lbl_805A5214@ha +/* 802E81C8 002E5128 C0 22 C6 04 */ lfs f1, lbl_805AE324@sda21(r2) +/* 802E81CC 002E512C 38 63 52 14 */ addi r3, r3, lbl_805A5214@l +/* 802E81D0 002E5130 C0 0D 9B A8 */ lfs f0, lbl_805A8768@sda21(r13) +/* 802E81D4 002E5134 90 05 00 04 */ stw r0, 4(r5) +/* 802E81D8 002E5138 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 802E81DC 002E513C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802E81E0 002E5140 C0 9F 01 40 */ lfs f4, 0x140(r31) +/* 802E81E4 002E5144 C0 7F 01 44 */ lfs f3, 0x144(r31) +/* 802E81E8 002E5148 C0 5F 01 48 */ lfs f2, 0x148(r31) +/* 802E81EC 002E514C C0 3F 01 4C */ lfs f1, 0x14c(r31) +/* 802E81F0 002E5150 C0 1F 01 50 */ lfs f0, 0x150(r31) +/* 802E81F4 002E5154 98 03 01 3C */ stb r0, 0x13c(r3) +/* 802E81F8 002E5158 D0 83 01 40 */ stfs f4, 0x140(r3) +/* 802E81FC 002E515C D0 63 01 44 */ stfs f3, 0x144(r3) +/* 802E8200 002E5160 D0 43 01 48 */ stfs f2, 0x148(r3) +/* 802E8204 002E5164 D0 23 01 4C */ stfs f1, 0x14c(r3) +/* 802E8208 002E5168 D0 03 01 50 */ stfs f0, 0x150(r3) +/* 802E820C 002E516C 40 82 00 08 */ bne lbl_802E8214 +/* 802E8210 002E5170 4B FF FB 19 */ bl EnableAuxCallback__11CSfxManagerFv +lbl_802E8214: +/* 802E8214 002E5174 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E8218 002E5178 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E821C 002E517C 7C 08 03 A6 */ mtlr r0 +/* 802E8220 002E5180 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E8224 002E5184 4E 80 00 20 */ blr + +.global PrepareChorusCallback__11CSfxManagerFRC14SND_AUX_CHORUS +PrepareChorusCallback__11CSfxManagerFRC14SND_AUX_CHORUS: +/* 802E8228 002E5188 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E822C 002E518C 7C 08 02 A6 */ mflr r0 +/* 802E8230 002E5190 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E8234 002E5194 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E8238 002E5198 7C 7F 1B 78 */ mr r31, r3 +/* 802E823C 002E519C 48 00 01 FD */ bl DisableAuxProcessing__11CSfxManagerFv +/* 802E8240 002E51A0 3C 60 80 5A */ lis r3, lbl_805A5178@ha +/* 802E8244 002E51A4 38 80 00 01 */ li r4, 1 +/* 802E8248 002E51A8 38 63 51 78 */ addi r3, r3, lbl_805A5178@l +/* 802E824C 002E51AC 38 00 00 12 */ li r0, 0x12 +/* 802E8250 002E51B0 90 8D 9B B4 */ stw r4, lbl_805A8774@sda21(r13) +/* 802E8254 002E51B4 38 A3 FF FC */ addi r5, r3, -4 +/* 802E8258 002E51B8 38 9F FF FC */ addi r4, r31, -4 +/* 802E825C 002E51BC 7C 09 03 A6 */ mtctr r0 +lbl_802E8260: +/* 802E8260 002E51C0 80 64 00 04 */ lwz r3, 4(r4) +/* 802E8264 002E51C4 84 04 00 08 */ lwzu r0, 8(r4) +/* 802E8268 002E51C8 90 65 00 04 */ stw r3, 4(r5) +/* 802E826C 002E51CC 94 05 00 08 */ stwu r0, 8(r5) +/* 802E8270 002E51D0 42 00 FF F0 */ bdnz lbl_802E8260 +/* 802E8274 002E51D4 C0 22 C6 04 */ lfs f1, lbl_805AE324@sda21(r2) +/* 802E8278 002E51D8 3C 60 80 5A */ lis r3, lbl_805A5178@ha +/* 802E827C 002E51DC C0 0D 9B A8 */ lfs f0, lbl_805A8768@sda21(r13) +/* 802E8280 002E51E0 38 83 51 78 */ addi r4, r3, lbl_805A5178@l +/* 802E8284 002E51E4 80 BF 00 90 */ lwz r5, 0x90(r31) +/* 802E8288 002E51E8 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 802E828C 002E51EC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802E8290 002E51F0 80 1F 00 98 */ lwz r0, 0x98(r31) +/* 802E8294 002E51F4 90 A4 00 90 */ stw r5, 0x90(r4) +/* 802E8298 002E51F8 90 64 00 94 */ stw r3, 0x94(r4) +/* 802E829C 002E51FC 90 04 00 98 */ stw r0, 0x98(r4) +/* 802E82A0 002E5200 40 82 00 08 */ bne lbl_802E82A8 +/* 802E82A4 002E5204 4B FF FA 85 */ bl EnableAuxCallback__11CSfxManagerFv +lbl_802E82A8: +/* 802E82A8 002E5208 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E82AC 002E520C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E82B0 002E5210 7C 08 03 A6 */ mtlr r0 +/* 802E82B4 002E5214 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E82B8 002E5218 4E 80 00 20 */ blr + +.global PrepareReverbHiCallback__11CSfxManagerFRC16SND_AUX_REVERBHI +PrepareReverbHiCallback__11CSfxManagerFRC16SND_AUX_REVERBHI: +/* 802E82BC 002E521C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E82C0 002E5220 7C 08 02 A6 */ mflr r0 +/* 802E82C4 002E5224 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E82C8 002E5228 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E82CC 002E522C 7C 7F 1B 78 */ mr r31, r3 +/* 802E82D0 002E5230 48 00 01 69 */ bl DisableAuxProcessing__11CSfxManagerFv +/* 802E82D4 002E5234 3C 60 80 5A */ lis r3, lbl_805A4F98@ha +/* 802E82D8 002E5238 38 80 00 00 */ li r4, 0 +/* 802E82DC 002E523C 38 63 4F 98 */ addi r3, r3, lbl_805A4F98@l +/* 802E82E0 002E5240 38 00 00 38 */ li r0, 0x38 +/* 802E82E4 002E5244 90 8D 9B B4 */ stw r4, lbl_805A8774@sda21(r13) +/* 802E82E8 002E5248 38 A3 FF FC */ addi r5, r3, -4 +/* 802E82EC 002E524C 38 9F FF FC */ addi r4, r31, -4 +/* 802E82F0 002E5250 7C 09 03 A6 */ mtctr r0 +lbl_802E82F4: +/* 802E82F4 002E5254 80 64 00 04 */ lwz r3, 4(r4) +/* 802E82F8 002E5258 84 04 00 08 */ lwzu r0, 8(r4) +/* 802E82FC 002E525C 90 65 00 04 */ stw r3, 4(r5) +/* 802E8300 002E5260 94 05 00 08 */ stwu r0, 8(r5) +/* 802E8304 002E5264 42 00 FF F0 */ bdnz lbl_802E82F4 +/* 802E8308 002E5268 80 04 00 04 */ lwz r0, 4(r4) +/* 802E830C 002E526C 3C 60 80 5A */ lis r3, lbl_805A4F98@ha +/* 802E8310 002E5270 C0 22 C6 04 */ lfs f1, lbl_805AE324@sda21(r2) +/* 802E8314 002E5274 38 63 4F 98 */ addi r3, r3, lbl_805A4F98@l +/* 802E8318 002E5278 C0 0D 9B A8 */ lfs f0, lbl_805A8768@sda21(r13) +/* 802E831C 002E527C 90 05 00 04 */ stw r0, 4(r5) +/* 802E8320 002E5280 88 1F 01 C4 */ lbz r0, 0x1c4(r31) +/* 802E8324 002E5284 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802E8328 002E5288 C0 BF 01 C8 */ lfs f5, 0x1c8(r31) +/* 802E832C 002E528C C0 9F 01 CC */ lfs f4, 0x1cc(r31) +/* 802E8330 002E5290 C0 7F 01 D0 */ lfs f3, 0x1d0(r31) +/* 802E8334 002E5294 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) +/* 802E8338 002E5298 C0 3F 01 D8 */ lfs f1, 0x1d8(r31) +/* 802E833C 002E529C C0 1F 01 DC */ lfs f0, 0x1dc(r31) +/* 802E8340 002E52A0 98 03 01 C4 */ stb r0, 0x1c4(r3) +/* 802E8344 002E52A4 D0 A3 01 C8 */ stfs f5, 0x1c8(r3) +/* 802E8348 002E52A8 D0 83 01 CC */ stfs f4, 0x1cc(r3) +/* 802E834C 002E52AC D0 63 01 D0 */ stfs f3, 0x1d0(r3) +/* 802E8350 002E52B0 D0 43 01 D4 */ stfs f2, 0x1d4(r3) +/* 802E8354 002E52B4 D0 23 01 D8 */ stfs f1, 0x1d8(r3) +/* 802E8358 002E52B8 D0 03 01 DC */ stfs f0, 0x1dc(r3) +/* 802E835C 002E52BC 40 82 00 08 */ bne lbl_802E8364 +/* 802E8360 002E52C0 4B FF F9 C9 */ bl EnableAuxCallback__11CSfxManagerFv +lbl_802E8364: +/* 802E8364 002E52C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E8368 002E52C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E836C 002E52CC 7C 08 03 A6 */ mtlr r0 +/* 802E8370 002E52D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E8374 002E52D4 4E 80 00 20 */ blr + +.global ApplyReverb__11CSfxManagerFv +ApplyReverb__11CSfxManagerFv: +/* 802E8378 002E52D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E837C 002E52DC 7C 08 02 A6 */ mflr r0 +/* 802E8380 002E52E0 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E8384 002E52E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E8388 002E52E8 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E838C 002E52EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E8390 002E52F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E8394 002E52F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E8398 002E52F8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802E839C 002E52FC 80 8D A7 00 */ lwz r4, lbl_805A92C0@sda21(r13) +/* 802E83A0 002E5300 1C 64 01 6C */ mulli r3, r4, 0x16c +/* 802E83A4 002E5304 7F A0 1A 14 */ add r29, r0, r3 +/* 802E83A8 002E5308 48 00 00 69 */ bl GetReverbAmount__11CSfxManagerFv +/* 802E83AC 002E530C 7C 7F 1B 78 */ mr r31, r3 +/* 802E83B0 002E5310 3B DD 00 4C */ addi r30, r29, 0x4c +/* 802E83B4 002E5314 3B 80 00 00 */ li r28, 0 +/* 802E83B8 002E5318 48 00 00 2C */ b lbl_802E83E4 +lbl_802E83BC: +/* 802E83BC 002E531C 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E83C0 002E5320 28 03 00 00 */ cmplwi r3, 0 +/* 802E83C4 002E5324 41 82 00 18 */ beq lbl_802E83DC +/* 802E83C8 002E5328 81 83 00 00 */ lwz r12, 0(r3) +/* 802E83CC 002E532C 7F E4 07 74 */ extsb r4, r31 +/* 802E83D0 002E5330 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 802E83D4 002E5334 7D 89 03 A6 */ mtctr r12 +/* 802E83D8 002E5338 4E 80 04 21 */ bctrl +lbl_802E83DC: +/* 802E83DC 002E533C 3B DE 00 04 */ addi r30, r30, 4 +/* 802E83E0 002E5340 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802E83E4: +/* 802E83E4 002E5344 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 802E83E8 002E5348 7C 1C 00 00 */ cmpw r28, r0 +/* 802E83EC 002E534C 41 80 FF D0 */ blt lbl_802E83BC +/* 802E83F0 002E5350 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E83F4 002E5354 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E83F8 002E5358 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E83FC 002E535C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E8400 002E5360 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802E8404 002E5364 7C 08 03 A6 */ mtlr r0 +/* 802E8408 002E5368 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E840C 002E536C 4E 80 00 20 */ blr + +.global GetReverbAmount__11CSfxManagerFv +GetReverbAmount__11CSfxManagerFv: +/* 802E8410 002E5370 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E8414 002E5374 C0 22 C6 08 */ lfs f1, lbl_805AE328@sda21(r2) +/* 802E8418 002E5378 C0 0D 9B A8 */ lfs f0, lbl_805A8768@sda21(r13) +/* 802E841C 002E537C EC 41 00 32 */ fmuls f2, f1, f0 +/* 802E8420 002E5380 F0 41 D0 08 */ psq_st f2, 8(r1), 1, qr5 +/* 802E8424 002E5384 A8 61 00 08 */ lha r3, 8(r1) +/* 802E8428 002E5388 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E842C 002E538C 4E 80 00 20 */ blr + +.global IsAuxProcessingEnabled__11CSfxManagerFv +IsAuxProcessingEnabled__11CSfxManagerFv: +/* 802E8430 002E5390 88 6D A7 18 */ lbz r3, lbl_805A92D8@sda21(r13) +/* 802E8434 002E5394 4E 80 00 20 */ blr + +.global DisableAuxProcessing__11CSfxManagerFv +DisableAuxProcessing__11CSfxManagerFv: +/* 802E8438 002E5398 38 60 FF FF */ li r3, -1 +/* 802E843C 002E539C 38 00 00 00 */ li r0, 0 +/* 802E8440 002E53A0 90 6D 9B B4 */ stw r3, lbl_805A8774@sda21(r13) +/* 802E8444 002E53A4 98 0D A7 18 */ stb r0, lbl_805A92D8@sda21(r13) +/* 802E8448 002E53A8 4E 80 00 20 */ blr + +.global AllocateCSfxWrapper__11CSfxManagerFRCQ211CSfxManager11CSfxWrapper +AllocateCSfxWrapper__11CSfxManagerFRCQ211CSfxManager11CSfxWrapper: +/* 802E844C 002E53AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E8450 002E53B0 7C 08 02 A6 */ mflr r0 +/* 802E8454 002E53B4 3C 80 80 5A */ lis r4, lbl_805A4164@ha +/* 802E8458 002E53B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E845C 002E53BC BF 41 00 08 */ stmw r26, 8(r1) +/* 802E8460 002E53C0 3B 84 41 64 */ addi r28, r4, lbl_805A4164@l +/* 802E8464 002E53C4 3B FC 00 04 */ addi r31, r28, 4 +/* 802E8468 002E53C8 7C 7D 1B 78 */ mr r29, r3 +/* 802E846C 002E53CC 3B C0 00 00 */ li r30, 0 +/* 802E8470 002E53D0 3B 40 00 00 */ li r26, 0 +/* 802E8474 002E53D4 7F FB FB 78 */ mr r27, r31 +/* 802E8478 002E53D8 48 00 00 84 */ b lbl_802E84FC +lbl_802E847C: +/* 802E847C 002E53DC 7F 63 DB 78 */ mr r3, r27 +/* 802E8480 002E53E0 48 00 2B 61 */ bl Available__Q211CSfxManager15CBaseSfxWrapperCFv +/* 802E8484 002E53E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8488 002E53E8 41 82 00 6C */ beq lbl_802E84F4 +/* 802E848C 002E53EC 1C 9A 00 28 */ mulli r4, r26, 0x28 +/* 802E8490 002E53F0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 802E8494 002E53F4 A8 7D 00 08 */ lha r3, 8(r29) +/* 802E8498 002E53F8 A8 1D 00 0A */ lha r0, 0xa(r29) +/* 802E849C 002E53FC 7C DF 22 14 */ add r6, r31, r4 +/* 802E84A0 002E5400 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 802E84A4 002E5404 D0 06 00 04 */ stfs f0, 4(r6) +/* 802E84A8 002E5408 7C DE 33 78 */ mr r30, r6 +/* 802E84AC 002E540C 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 802E84B0 002E5410 B0 66 00 08 */ sth r3, 8(r6) +/* 802E84B4 002E5414 88 7D 00 14 */ lbz r3, 0x14(r29) +/* 802E84B8 002E5418 B0 06 00 0A */ sth r0, 0xa(r6) +/* 802E84BC 002E541C A0 1D 00 18 */ lhz r0, 0x18(r29) +/* 802E84C0 002E5420 90 A6 00 0C */ stw r5, 0xc(r6) +/* 802E84C4 002E5424 80 BD 00 1C */ lwz r5, 0x1c(r29) +/* 802E84C8 002E5428 90 86 00 10 */ stw r4, 0x10(r6) +/* 802E84CC 002E542C A8 9D 00 20 */ lha r4, 0x20(r29) +/* 802E84D0 002E5430 98 66 00 14 */ stb r3, 0x14(r6) +/* 802E84D4 002E5434 A8 7D 00 22 */ lha r3, 0x22(r29) +/* 802E84D8 002E5438 B0 06 00 18 */ sth r0, 0x18(r6) +/* 802E84DC 002E543C 88 1D 00 24 */ lbz r0, 0x24(r29) +/* 802E84E0 002E5440 90 A6 00 1C */ stw r5, 0x1c(r6) +/* 802E84E4 002E5444 B0 86 00 20 */ sth r4, 0x20(r6) +/* 802E84E8 002E5448 B0 66 00 22 */ sth r3, 0x22(r6) +/* 802E84EC 002E544C 98 06 00 24 */ stb r0, 0x24(r6) +/* 802E84F0 002E5450 48 00 00 18 */ b lbl_802E8508 +lbl_802E84F4: +/* 802E84F4 002E5454 3B 7B 00 28 */ addi r27, r27, 0x28 +/* 802E84F8 002E5458 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802E84FC: +/* 802E84FC 002E545C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802E8500 002E5460 7C 1A 00 00 */ cmpw r26, r0 +/* 802E8504 002E5464 41 80 FF 78 */ blt lbl_802E847C +lbl_802E8508: +/* 802E8508 002E5468 28 1E 00 00 */ cmplwi r30, 0 +/* 802E850C 002E546C 40 82 00 B0 */ bne lbl_802E85BC +/* 802E8510 002E5470 3C 60 80 5A */ lis r3, lbl_805A4164@ha +/* 802E8514 002E5474 80 03 41 64 */ lwz r0, lbl_805A4164@l(r3) +/* 802E8518 002E5478 2C 00 00 40 */ cmpwi r0, 0x40 +/* 802E851C 002E547C 41 82 00 A0 */ beq lbl_802E85BC +/* 802E8520 002E5480 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E8524 002E5484 7C BF 02 15 */ add. r5, r31, r0 +/* 802E8528 002E5488 41 82 00 74 */ beq lbl_802E859C +/* 802E852C 002E548C 3C 80 80 3F */ lis r4, lbl_803ECEE4@ha +/* 802E8530 002E5490 3C 60 80 3F */ lis r3, lbl_803ECE10@ha +/* 802E8534 002E5494 38 04 CE E4 */ addi r0, r4, lbl_803ECEE4@l +/* 802E8538 002E5498 C0 1D 00 04 */ lfs f0, 4(r29) +/* 802E853C 002E549C 90 05 00 00 */ stw r0, 0(r5) +/* 802E8540 002E54A0 38 83 CE 10 */ addi r4, r3, lbl_803ECE10@l +/* 802E8544 002E54A4 A8 1D 00 08 */ lha r0, 8(r29) +/* 802E8548 002E54A8 D0 05 00 04 */ stfs f0, 4(r5) +/* 802E854C 002E54AC A8 7D 00 0A */ lha r3, 0xa(r29) +/* 802E8550 002E54B0 B0 05 00 08 */ sth r0, 8(r5) +/* 802E8554 002E54B4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802E8558 002E54B8 B0 65 00 0A */ sth r3, 0xa(r5) +/* 802E855C 002E54BC 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802E8560 002E54C0 90 05 00 0C */ stw r0, 0xc(r5) +/* 802E8564 002E54C4 88 1D 00 14 */ lbz r0, 0x14(r29) +/* 802E8568 002E54C8 90 65 00 10 */ stw r3, 0x10(r5) +/* 802E856C 002E54CC A0 7D 00 18 */ lhz r3, 0x18(r29) +/* 802E8570 002E54D0 98 05 00 14 */ stb r0, 0x14(r5) +/* 802E8574 002E54D4 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 802E8578 002E54D8 90 85 00 00 */ stw r4, 0(r5) +/* 802E857C 002E54DC A8 9D 00 20 */ lha r4, 0x20(r29) +/* 802E8580 002E54E0 B0 65 00 18 */ sth r3, 0x18(r5) +/* 802E8584 002E54E4 A8 7D 00 22 */ lha r3, 0x22(r29) +/* 802E8588 002E54E8 90 05 00 1C */ stw r0, 0x1c(r5) +/* 802E858C 002E54EC 88 1D 00 24 */ lbz r0, 0x24(r29) +/* 802E8590 002E54F0 B0 85 00 20 */ sth r4, 0x20(r5) +/* 802E8594 002E54F4 B0 65 00 22 */ sth r3, 0x22(r5) +/* 802E8598 002E54F8 98 05 00 24 */ stb r0, 0x24(r5) +lbl_802E859C: +/* 802E859C 002E54FC 3C 60 80 5A */ lis r3, lbl_805A4164@ha +/* 802E85A0 002E5500 38 83 41 64 */ addi r4, r3, lbl_805A4164@l +/* 802E85A4 002E5504 80 64 00 00 */ lwz r3, 0(r4) +/* 802E85A8 002E5508 38 63 00 01 */ addi r3, r3, 1 +/* 802E85AC 002E550C 38 03 FF FF */ addi r0, r3, -1 +/* 802E85B0 002E5510 90 64 00 00 */ stw r3, 0(r4) +/* 802E85B4 002E5514 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 802E85B8 002E5518 7F DF 02 14 */ add r30, r31, r0 +lbl_802E85BC: +/* 802E85BC 002E551C 7F C3 F3 78 */ mr r3, r30 +/* 802E85C0 002E5520 BB 41 00 08 */ lmw r26, 8(r1) +/* 802E85C4 002E5524 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E85C8 002E5528 7C 08 03 A6 */ mtlr r0 +/* 802E85CC 002E552C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E85D0 002E5530 4E 80 00 20 */ blr + +.global sub_802e85d4 +sub_802e85d4: +/* 802E85D4 002E5534 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E85D8 002E5538 7C 08 02 A6 */ mflr r0 +/* 802E85DC 002E553C 3C 80 80 5A */ lis r4, lbl_805A2B60@ha +/* 802E85E0 002E5540 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E85E4 002E5544 BF 41 00 08 */ stmw r26, 8(r1) +/* 802E85E8 002E5548 3B 84 2B 60 */ addi r28, r4, lbl_805A2B60@l +/* 802E85EC 002E554C 3B FC 00 04 */ addi r31, r28, 4 +/* 802E85F0 002E5550 7C 7D 1B 78 */ mr r29, r3 +/* 802E85F4 002E5554 3B C0 00 00 */ li r30, 0 +/* 802E85F8 002E5558 3B 40 00 00 */ li r26, 0 +/* 802E85FC 002E555C 7F FB FB 78 */ mr r27, r31 +/* 802E8600 002E5560 48 00 00 E4 */ b lbl_802E86E4 +lbl_802E8604: +/* 802E8604 002E5564 7F 63 DB 78 */ mr r3, r27 +/* 802E8608 002E5568 48 00 29 D9 */ bl Available__Q211CSfxManager15CBaseSfxWrapperCFv +/* 802E860C 002E556C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8610 002E5570 41 82 00 CC */ beq lbl_802E86DC +/* 802E8614 002E5574 1C 9A 00 58 */ mulli r4, r26, 0x58 +/* 802E8618 002E5578 C0 1D 00 04 */ lfs f0, 4(r29) +/* 802E861C 002E557C A8 7D 00 08 */ lha r3, 8(r29) +/* 802E8620 002E5580 A8 1D 00 0A */ lha r0, 0xa(r29) +/* 802E8624 002E5584 7C DF 22 14 */ add r6, r31, r4 +/* 802E8628 002E5588 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 802E862C 002E558C D0 06 00 04 */ stfs f0, 4(r6) +/* 802E8630 002E5590 7C DE 33 78 */ mr r30, r6 +/* 802E8634 002E5594 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 802E8638 002E5598 B0 66 00 08 */ sth r3, 8(r6) +/* 802E863C 002E559C 88 7D 00 14 */ lbz r3, 0x14(r29) +/* 802E8640 002E55A0 B0 06 00 0A */ sth r0, 0xa(r6) +/* 802E8644 002E55A4 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 802E8648 002E55A8 90 A6 00 0C */ stw r5, 0xc(r6) +/* 802E864C 002E55AC 80 BD 00 1C */ lwz r5, 0x1c(r29) +/* 802E8650 002E55B0 90 86 00 10 */ stw r4, 0x10(r6) +/* 802E8654 002E55B4 80 9D 00 20 */ lwz r4, 0x20(r29) +/* 802E8658 002E55B8 98 66 00 14 */ stb r3, 0x14(r6) +/* 802E865C 002E55BC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 802E8660 002E55C0 90 06 00 18 */ stw r0, 0x18(r6) +/* 802E8664 002E55C4 80 1D 00 28 */ lwz r0, 0x28(r29) +/* 802E8668 002E55C8 90 A6 00 1C */ stw r5, 0x1c(r6) +/* 802E866C 002E55CC 80 BD 00 2C */ lwz r5, 0x2c(r29) +/* 802E8670 002E55D0 90 86 00 20 */ stw r4, 0x20(r6) +/* 802E8674 002E55D4 80 9D 00 30 */ lwz r4, 0x30(r29) +/* 802E8678 002E55D8 90 66 00 24 */ stw r3, 0x24(r6) +/* 802E867C 002E55DC 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 802E8680 002E55E0 90 06 00 28 */ stw r0, 0x28(r6) +/* 802E8684 002E55E4 80 1D 00 38 */ lwz r0, 0x38(r29) +/* 802E8688 002E55E8 90 A6 00 2C */ stw r5, 0x2c(r6) +/* 802E868C 002E55EC 80 BD 00 3C */ lwz r5, 0x3c(r29) +/* 802E8690 002E55F0 90 86 00 30 */ stw r4, 0x30(r6) +/* 802E8694 002E55F4 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802E8698 002E55F8 90 66 00 34 */ stw r3, 0x34(r6) +/* 802E869C 002E55FC 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 802E86A0 002E5600 90 06 00 38 */ stw r0, 0x38(r6) +/* 802E86A4 002E5604 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 802E86A8 002E5608 90 A6 00 3C */ stw r5, 0x3c(r6) +/* 802E86AC 002E560C 80 BD 00 4C */ lwz r5, 0x4c(r29) +/* 802E86B0 002E5610 90 86 00 40 */ stw r4, 0x40(r6) +/* 802E86B4 002E5614 80 9D 00 50 */ lwz r4, 0x50(r29) +/* 802E86B8 002E5618 90 66 00 44 */ stw r3, 0x44(r6) +/* 802E86BC 002E561C 88 7D 00 54 */ lbz r3, 0x54(r29) +/* 802E86C0 002E5620 90 06 00 48 */ stw r0, 0x48(r6) +/* 802E86C4 002E5624 88 1D 00 55 */ lbz r0, 0x55(r29) +/* 802E86C8 002E5628 90 A6 00 4C */ stw r5, 0x4c(r6) +/* 802E86CC 002E562C 90 86 00 50 */ stw r4, 0x50(r6) +/* 802E86D0 002E5630 98 66 00 54 */ stb r3, 0x54(r6) +/* 802E86D4 002E5634 98 06 00 55 */ stb r0, 0x55(r6) +/* 802E86D8 002E5638 48 00 00 18 */ b lbl_802E86F0 +lbl_802E86DC: +/* 802E86DC 002E563C 3B 7B 00 58 */ addi r27, r27, 0x58 +/* 802E86E0 002E5640 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802E86E4: +/* 802E86E4 002E5644 80 1C 00 00 */ lwz r0, 0(r28) +/* 802E86E8 002E5648 7C 1A 00 00 */ cmpw r26, r0 +/* 802E86EC 002E564C 41 80 FF 18 */ blt lbl_802E8604 +lbl_802E86F0: +/* 802E86F0 002E5650 28 1E 00 00 */ cmplwi r30, 0 +/* 802E86F4 002E5654 40 82 00 38 */ bne lbl_802E872C +/* 802E86F8 002E5658 3C 60 80 5A */ lis r3, lbl_805A2B60@ha +/* 802E86FC 002E565C 38 63 2B 60 */ addi r3, r3, lbl_805A2B60@l +/* 802E8700 002E5660 80 03 00 00 */ lwz r0, 0(r3) +/* 802E8704 002E5664 2C 00 00 40 */ cmpwi r0, 0x40 +/* 802E8708 002E5668 41 82 00 24 */ beq lbl_802E872C +/* 802E870C 002E566C 7F A4 EB 78 */ mr r4, r29 +/* 802E8710 002E5670 48 00 00 35 */ bl sub_802e8744 +/* 802E8714 002E5674 3C 60 80 5A */ lis r3, lbl_805A2B60@ha +/* 802E8718 002E5678 38 63 2B 60 */ addi r3, r3, lbl_805A2B60@l +/* 802E871C 002E567C 80 63 00 00 */ lwz r3, 0(r3) +/* 802E8720 002E5680 38 03 FF FF */ addi r0, r3, -1 +/* 802E8724 002E5684 1C 00 00 58 */ mulli r0, r0, 0x58 +/* 802E8728 002E5688 7F DF 02 14 */ add r30, r31, r0 +lbl_802E872C: +/* 802E872C 002E568C 7F C3 F3 78 */ mr r3, r30 +/* 802E8730 002E5690 BB 41 00 08 */ lmw r26, 8(r1) +/* 802E8734 002E5694 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E8738 002E5698 7C 08 03 A6 */ mtlr r0 +/* 802E873C 002E569C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E8740 002E56A0 4E 80 00 20 */ blr + +.global sub_802e8744 +sub_802e8744: +/* 802E8744 002E56A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E8748 002E56A8 7C 08 02 A6 */ mflr r0 +/* 802E874C 002E56AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E8750 002E56B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E8754 002E56B4 7C 7F 1B 78 */ mr r31, r3 +/* 802E8758 002E56B8 80 03 00 00 */ lwz r0, 0(r3) +/* 802E875C 002E56BC 1C 00 00 58 */ mulli r0, r0, 0x58 +/* 802E8760 002E56C0 7C 7F 02 14 */ add r3, r31, r0 +/* 802E8764 002E56C4 38 63 00 04 */ addi r3, r3, 4 +/* 802E8768 002E56C8 48 00 00 25 */ bl sub_802e878c +/* 802E876C 002E56CC 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E8770 002E56D0 38 03 00 01 */ addi r0, r3, 1 +/* 802E8774 002E56D4 90 1F 00 00 */ stw r0, 0(r31) +/* 802E8778 002E56D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E877C 002E56DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E8780 002E56E0 7C 08 03 A6 */ mtlr r0 +/* 802E8784 002E56E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E8788 002E56E8 4E 80 00 20 */ blr + +.global sub_802e878c +sub_802e878c: +/* 802E878C 002E56EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E8790 002E56F0 7C 08 02 A6 */ mflr r0 +/* 802E8794 002E56F4 28 03 00 00 */ cmplwi r3, 0 +/* 802E8798 002E56F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E879C 002E56FC 41 82 00 08 */ beq lbl_802E87A4 +/* 802E87A0 002E5700 48 00 00 15 */ bl sub_802e87b4 +lbl_802E87A4: +/* 802E87A4 002E5704 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E87A8 002E5708 7C 08 03 A6 */ mtlr r0 +/* 802E87AC 002E570C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E87B0 002E5710 4E 80 00 20 */ blr + +.global sub_802e87b4 +sub_802e87b4: +/* 802E87B4 002E5714 3C C0 80 3F */ lis r6, lbl_803ECEE4@ha +/* 802E87B8 002E5718 3C A0 80 3F */ lis r5, lbl_803ECE80@ha +/* 802E87BC 002E571C 38 C6 CE E4 */ addi r6, r6, lbl_803ECEE4@l +/* 802E87C0 002E5720 90 C3 00 00 */ stw r6, 0(r3) +/* 802E87C4 002E5724 38 05 CE 80 */ addi r0, r5, lbl_803ECE80@l +/* 802E87C8 002E5728 C0 04 00 04 */ lfs f0, 4(r4) +/* 802E87CC 002E572C D0 03 00 04 */ stfs f0, 4(r3) +/* 802E87D0 002E5730 A8 A4 00 08 */ lha r5, 8(r4) +/* 802E87D4 002E5734 B0 A3 00 08 */ sth r5, 8(r3) +/* 802E87D8 002E5738 A8 A4 00 0A */ lha r5, 0xa(r4) +/* 802E87DC 002E573C B0 A3 00 0A */ sth r5, 0xa(r3) +/* 802E87E0 002E5740 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802E87E4 002E5744 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802E87E8 002E5748 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802E87EC 002E574C 90 A3 00 10 */ stw r5, 0x10(r3) +/* 802E87F0 002E5750 88 A4 00 14 */ lbz r5, 0x14(r4) +/* 802E87F4 002E5754 98 A3 00 14 */ stb r5, 0x14(r3) +/* 802E87F8 002E5758 90 03 00 00 */ stw r0, 0(r3) +/* 802E87FC 002E575C 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802E8800 002E5760 90 03 00 18 */ stw r0, 0x18(r3) +/* 802E8804 002E5764 80 A4 00 1C */ lwz r5, 0x1c(r4) +/* 802E8808 002E5768 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802E880C 002E576C 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 802E8810 002E5770 90 03 00 20 */ stw r0, 0x20(r3) +/* 802E8814 002E5774 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802E8818 002E5778 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802E881C 002E577C C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802E8820 002E5780 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802E8824 002E5784 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802E8828 002E5788 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802E882C 002E578C C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802E8830 002E5790 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802E8834 002E5794 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802E8838 002E5798 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802E883C 002E579C C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802E8840 002E57A0 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802E8844 002E57A4 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 802E8848 002E57A8 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 802E884C 002E57AC C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802E8850 002E57B0 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 802E8854 002E57B4 80 04 00 44 */ lwz r0, 0x44(r4) +/* 802E8858 002E57B8 90 03 00 44 */ stw r0, 0x44(r3) +/* 802E885C 002E57BC A0 04 00 48 */ lhz r0, 0x48(r4) +/* 802E8860 002E57C0 B0 03 00 48 */ sth r0, 0x48(r3) +/* 802E8864 002E57C4 88 04 00 4A */ lbz r0, 0x4a(r4) +/* 802E8868 002E57C8 98 03 00 4A */ stb r0, 0x4a(r3) +/* 802E886C 002E57CC 88 04 00 4B */ lbz r0, 0x4b(r4) +/* 802E8870 002E57D0 98 03 00 4B */ stb r0, 0x4b(r3) +/* 802E8874 002E57D4 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 802E8878 002E57D8 98 03 00 4C */ stb r0, 0x4c(r3) +/* 802E887C 002E57DC 88 04 00 4D */ lbz r0, 0x4d(r4) +/* 802E8880 002E57E0 98 03 00 4D */ stb r0, 0x4d(r3) +/* 802E8884 002E57E4 80 04 00 50 */ lwz r0, 0x50(r4) +/* 802E8888 002E57E8 90 03 00 50 */ stw r0, 0x50(r3) +/* 802E888C 002E57EC 88 04 00 54 */ lbz r0, 0x54(r4) +/* 802E8890 002E57F0 98 03 00 54 */ stb r0, 0x54(r3) +/* 802E8894 002E57F4 88 04 00 55 */ lbz r0, 0x55(r4) +/* 802E8898 002E57F8 98 03 00 55 */ stb r0, 0x55(r3) +/* 802E889C 002E57FC 4E 80 00 20 */ blr + +.global "SetActiveAreas__11CSfxManagerFRCQ24rstl21reserved_vector" +"SetActiveAreas__11CSfxManagerFRCQ24rstl21reserved_vector": +/* 802E88A0 002E5800 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E88A4 002E5804 7C 08 02 A6 */ mflr r0 +/* 802E88A8 002E5808 3C 80 80 5A */ lis r4, lbl_8059FD48@ha +/* 802E88AC 002E580C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E88B0 002E5810 38 04 FD 48 */ addi r0, r4, lbl_8059FD48@l +/* 802E88B4 002E5814 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E88B8 002E5818 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E88BC 002E581C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E88C0 002E5820 3B A0 00 00 */ li r29, 0 +/* 802E88C4 002E5824 93 81 00 10 */ stw r28, 0x10(r1) +/* 802E88C8 002E5828 7C 7C 1B 78 */ mr r28, r3 +/* 802E88CC 002E582C 80 AD A7 00 */ lwz r5, lbl_805A92C0@sda21(r13) +/* 802E88D0 002E5830 1C 65 01 6C */ mulli r3, r5, 0x16c +/* 802E88D4 002E5834 7F C0 1A 14 */ add r30, r0, r3 +/* 802E88D8 002E5838 3B FE 00 4C */ addi r31, r30, 0x4c +/* 802E88DC 002E583C 48 00 00 A4 */ b lbl_802E8980 +lbl_802E88E0: +/* 802E88E0 002E5840 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E88E4 002E5844 28 03 00 00 */ cmplwi r3, 0 +/* 802E88E8 002E5848 41 82 00 90 */ beq lbl_802E8978 +/* 802E88EC 002E584C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E88F0 002E5850 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802E88F4 002E5854 7D 89 03 A6 */ mtctr r12 +/* 802E88F8 002E5858 4E 80 04 21 */ bctrl +/* 802E88FC 002E585C 2C 03 FF FF */ cmpwi r3, -1 +/* 802E8900 002E5860 40 82 00 20 */ bne lbl_802E8920 +/* 802E8904 002E5864 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E8908 002E5868 38 80 00 01 */ li r4, 1 +/* 802E890C 002E586C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E8910 002E5870 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802E8914 002E5874 7D 89 03 A6 */ mtctr r12 +/* 802E8918 002E5878 4E 80 04 21 */ bctrl +/* 802E891C 002E587C 48 00 00 5C */ b lbl_802E8978 +lbl_802E8920: +/* 802E8920 002E5880 80 1C 00 00 */ lwz r0, 0(r28) +/* 802E8924 002E5884 38 DC 00 04 */ addi r6, r28, 4 +/* 802E8928 002E5888 38 A0 00 00 */ li r5, 0 +/* 802E892C 002E588C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E8930 002E5890 7C 9C 02 14 */ add r4, r28, r0 +/* 802E8934 002E5894 38 84 00 04 */ addi r4, r4, 4 +/* 802E8938 002E5898 48 00 00 18 */ b lbl_802E8950 +lbl_802E893C: +/* 802E893C 002E589C 80 06 00 00 */ lwz r0, 0(r6) +/* 802E8940 002E58A0 7C 00 18 00 */ cmpw r0, r3 +/* 802E8944 002E58A4 40 82 00 08 */ bne lbl_802E894C +/* 802E8948 002E58A8 38 A0 00 01 */ li r5, 1 +lbl_802E894C: +/* 802E894C 002E58AC 38 C6 00 04 */ addi r6, r6, 4 +lbl_802E8950: +/* 802E8950 002E58B0 7C 06 20 40 */ cmplw r6, r4 +/* 802E8954 002E58B4 40 82 FF E8 */ bne lbl_802E893C +/* 802E8958 002E58B8 38 00 00 01 */ li r0, 1 +/* 802E895C 002E58BC 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E8960 002E58C0 98 0D A7 04 */ stb r0, lbl_805A92C4@sda21(r13) +/* 802E8964 002E58C4 54 A4 06 3E */ clrlwi r4, r5, 0x18 +/* 802E8968 002E58C8 81 83 00 00 */ lwz r12, 0(r3) +/* 802E896C 002E58CC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802E8970 002E58D0 7D 89 03 A6 */ mtctr r12 +/* 802E8974 002E58D4 4E 80 04 21 */ bctrl +lbl_802E8978: +/* 802E8978 002E58D8 3B FF 00 04 */ addi r31, r31, 4 +/* 802E897C 002E58DC 3B BD 00 01 */ addi r29, r29, 1 +lbl_802E8980: +/* 802E8980 002E58E0 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 802E8984 002E58E4 7F A3 07 34 */ extsh r3, r29 +/* 802E8988 002E58E8 7C 03 00 00 */ cmpw r3, r0 +/* 802E898C 002E58EC 41 80 FF 54 */ blt lbl_802E88E0 +/* 802E8990 002E58F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E8994 002E58F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E8998 002E58F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E899C 002E58FC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E89A0 002E5900 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802E89A4 002E5904 7C 08 03 A6 */ mtlr r0 +/* 802E89A8 002E5908 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E89AC 002E590C 4E 80 00 20 */ blr + +.global TranslateSFXID__11CSfxManagerFUs +TranslateSFXID__11CSfxManagerFUs: +/* 802E89B0 002E5910 80 8D A7 08 */ lwz r4, lbl_805A92C8@sda21(r13) +/* 802E89B4 002E5914 28 04 00 00 */ cmplwi r4, 0 +/* 802E89B8 002E5918 41 82 00 14 */ beq lbl_802E89CC +/* 802E89BC 002E591C 80 04 00 04 */ lwz r0, 4(r4) +/* 802E89C0 002E5920 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 802E89C4 002E5924 7C 03 00 00 */ cmpw r3, r0 +/* 802E89C8 002E5928 41 80 00 10 */ blt lbl_802E89D8 +lbl_802E89CC: +/* 802E89CC 002E592C 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 802E89D0 002E5930 38 63 FF FF */ addi r3, r3, 0x0000FFFF@l +/* 802E89D4 002E5934 4E 80 00 20 */ blr +lbl_802E89D8: +/* 802E89D8 002E5938 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802E89DC 002E593C 54 60 08 3C */ slwi r0, r3, 1 +/* 802E89E0 002E5940 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 802E89E4 002E5944 7C 84 02 AE */ lhax r4, r4, r0 +/* 802E89E8 002E5948 38 63 FF FF */ addi r3, r3, 0x0000FFFF@l +/* 802E89EC 002E594C 7C 80 07 35 */ extsh. r0, r4 +/* 802E89F0 002E5950 4D 80 00 20 */ bltlr +/* 802E89F4 002E5954 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 802E89F8 002E5958 4E 80 00 20 */ blr + +.global LoadTranslationTable__11CSfxManagerFP11CSimplePoolPC10SObjectTag +LoadTranslationTable__11CSfxManagerFP11CSimplePoolPC10SObjectTag: +/* 802E89FC 002E595C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802E8A00 002E5960 7C 08 02 A6 */ mflr r0 +/* 802E8A04 002E5964 90 01 00 44 */ stw r0, 0x44(r1) +/* 802E8A08 002E5968 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802E8A0C 002E596C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802E8A10 002E5970 7C 9E 23 79 */ or. r30, r4, r4 +/* 802E8A14 002E5974 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802E8A18 002E5978 7C 7D 1B 78 */ mr r29, r3 +/* 802E8A1C 002E597C 93 81 00 30 */ stw r28, 0x30(r1) +/* 802E8A20 002E5980 40 82 00 0C */ bne lbl_802E8A2C +/* 802E8A24 002E5984 38 60 00 00 */ li r3, 0 +/* 802E8A28 002E5988 48 00 01 48 */ b lbl_802E8B70 +lbl_802E8A2C: +/* 802E8A2C 002E598C 83 ED A7 08 */ lwz r31, lbl_805A92C8@sda21(r13) +/* 802E8A30 002E5990 28 1F 00 00 */ cmplwi r31, 0 +/* 802E8A34 002E5994 41 82 00 50 */ beq lbl_802E8A84 +/* 802E8A38 002E5998 41 82 00 4C */ beq lbl_802E8A84 +/* 802E8A3C 002E599C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802E8A40 002E59A0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802E8A44 002E59A4 54 00 08 3C */ slwi r0, r0, 1 +/* 802E8A48 002E59A8 7C 03 02 14 */ add r0, r3, r0 +/* 802E8A4C 002E59AC 90 61 00 0C */ stw r3, 0xc(r1) +/* 802E8A50 002E59B0 7C 64 1B 78 */ mr r4, r3 +/* 802E8A54 002E59B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E8A58 002E59B8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E8A5C 002E59BC 90 61 00 08 */ stw r3, 8(r1) +/* 802E8A60 002E59C0 48 00 00 08 */ b lbl_802E8A68 +lbl_802E8A64: +/* 802E8A64 002E59C4 38 84 00 02 */ addi r4, r4, 2 +lbl_802E8A68: +/* 802E8A68 002E59C8 7C 04 00 40 */ cmplw r4, r0 +/* 802E8A6C 002E59CC 40 82 FF F8 */ bne lbl_802E8A64 +/* 802E8A70 002E59D0 28 03 00 00 */ cmplwi r3, 0 +/* 802E8A74 002E59D4 41 82 00 08 */ beq lbl_802E8A7C +/* 802E8A78 002E59D8 48 02 CE B9 */ bl Free__7CMemoryFPCv +lbl_802E8A7C: +/* 802E8A7C 002E59DC 7F E3 FB 78 */ mr r3, r31 +/* 802E8A80 002E59E0 48 02 CE B1 */ bl Free__7CMemoryFPCv +lbl_802E8A84: +/* 802E8A84 002E59E4 38 00 00 00 */ li r0, 0 +/* 802E8A88 002E59E8 3C 60 80 3D */ lis r3, lbl_803D6DC8@ha +/* 802E8A8C 002E59EC 90 0D A7 08 */ stw r0, lbl_805A92C8@sda21(r13) +/* 802E8A90 002E59F0 38 83 6D C8 */ addi r4, r3, lbl_803D6DC8@l +/* 802E8A94 002E59F4 3B 80 00 00 */ li r28, 0 +/* 802E8A98 002E59F8 38 60 00 08 */ li r3, 8 +/* 802E8A9C 002E59FC 38 A0 00 00 */ li r5, 0 +/* 802E8AA0 002E5A00 48 02 CD CD */ bl __nw__FUlPCcPCc +/* 802E8AA4 002E5A04 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802E8AA8 002E5A08 41 82 00 34 */ beq lbl_802E8ADC +/* 802E8AAC 002E5A0C 7F A4 EB 78 */ mr r4, r29 +/* 802E8AB0 002E5A10 7F C5 F3 78 */ mr r5, r30 +/* 802E8AB4 002E5A14 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E8AB8 002E5A18 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E8ABC 002E5A1C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802E8AC0 002E5A20 7D 89 03 A6 */ mtctr r12 +/* 802E8AC4 002E5A24 4E 80 04 21 */ bctrl +/* 802E8AC8 002E5A28 7F E3 FB 78 */ mr r3, r31 +/* 802E8ACC 002E5A2C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802E8AD0 002E5A30 3B 80 00 01 */ li r28, 1 +/* 802E8AD4 002E5A34 48 05 83 D5 */ bl __ct__6CTokenFRC6CToken +/* 802E8AD8 002E5A38 7C 7F 1B 78 */ mr r31, r3 +lbl_802E8ADC: +/* 802E8ADC 002E5A3C 7C 7F 00 D0 */ neg r3, r31 +/* 802E8AE0 002E5A40 38 01 00 18 */ addi r0, r1, 0x18 +/* 802E8AE4 002E5A44 7C 64 FB 78 */ or r4, r3, r31 +/* 802E8AE8 002E5A48 38 6D A7 10 */ addi r3, r13, lbl_805A92D0@sda21 +/* 802E8AEC 002E5A4C 54 84 0F FE */ srwi r4, r4, 0x1f +/* 802E8AF0 002E5A50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E8AF4 002E5A54 7C 00 18 40 */ cmplw r0, r3 +/* 802E8AF8 002E5A58 98 81 00 18 */ stb r4, 0x18(r1) +/* 802E8AFC 002E5A5C 41 82 00 38 */ beq lbl_802E8B34 +/* 802E8B00 002E5A60 88 0D A7 10 */ lbz r0, lbl_805A92D0@sda21(r13) +/* 802E8B04 002E5A64 28 00 00 00 */ cmplwi r0, 0 +/* 802E8B08 002E5A68 41 82 00 10 */ beq lbl_802E8B18 +/* 802E8B0C 002E5A6C 80 63 00 04 */ lwz r3, 4(r3) +/* 802E8B10 002E5A70 38 80 00 01 */ li r4, 1 +/* 802E8B14 002E5A74 48 05 83 2D */ bl __dt__6CTokenFv +lbl_802E8B18: +/* 802E8B18 002E5A78 88 A1 00 18 */ lbz r5, 0x18(r1) +/* 802E8B1C 002E5A7C 38 00 00 00 */ li r0, 0 +/* 802E8B20 002E5A80 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 802E8B24 002E5A84 38 6D A7 10 */ addi r3, r13, lbl_805A92D0@sda21 +/* 802E8B28 002E5A88 98 AD A7 10 */ stb r5, lbl_805A92D0@sda21(r13) +/* 802E8B2C 002E5A8C 90 83 00 04 */ stw r4, 4(r3) +/* 802E8B30 002E5A90 98 01 00 18 */ stb r0, 0x18(r1) +lbl_802E8B34: +/* 802E8B34 002E5A94 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802E8B38 002E5A98 28 00 00 00 */ cmplwi r0, 0 +/* 802E8B3C 002E5A9C 41 82 00 10 */ beq lbl_802E8B4C +/* 802E8B40 002E5AA0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802E8B44 002E5AA4 38 80 00 01 */ li r4, 1 +/* 802E8B48 002E5AA8 48 05 82 F9 */ bl __dt__6CTokenFv +lbl_802E8B4C: +/* 802E8B4C 002E5AAC 7F 80 07 75 */ extsb. r0, r28 +/* 802E8B50 002E5AB0 41 82 00 10 */ beq lbl_802E8B60 +/* 802E8B54 002E5AB4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802E8B58 002E5AB8 38 80 FF FF */ li r4, -1 +/* 802E8B5C 002E5ABC 48 05 82 E5 */ bl __dt__6CTokenFv +lbl_802E8B60: +/* 802E8B60 002E5AC0 38 6D A7 10 */ addi r3, r13, lbl_805A92D0@sda21 +/* 802E8B64 002E5AC4 80 63 00 04 */ lwz r3, 4(r3) +/* 802E8B68 002E5AC8 48 05 82 1D */ bl Lock__6CTokenFv +/* 802E8B6C 002E5ACC 38 60 00 01 */ li r3, 1 +lbl_802E8B70: +/* 802E8B70 002E5AD0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802E8B74 002E5AD4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802E8B78 002E5AD8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802E8B7C 002E5ADC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802E8B80 002E5AE0 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802E8B84 002E5AE4 7C 08 03 A6 */ mtlr r0 +/* 802E8B88 002E5AE8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802E8B8C 002E5AEC 4E 80 00 20 */ blr + +.global sub_802e8b90 +sub_802e8b90: +/* 802E8B90 002E5AF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E8B94 002E5AF4 7C 08 02 A6 */ mflr r0 +/* 802E8B98 002E5AF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E8B9C 002E5AFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E8BA0 002E5B00 7C 9F 23 78 */ mr r31, r4 +/* 802E8BA4 002E5B04 93 C1 00 08 */ stw r30, 8(r1) +/* 802E8BA8 002E5B08 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802E8BAC 002E5B0C 41 82 00 2C */ beq lbl_802E8BD8 +/* 802E8BB0 002E5B10 88 1E 00 00 */ lbz r0, 0(r30) +/* 802E8BB4 002E5B14 28 00 00 00 */ cmplwi r0, 0 +/* 802E8BB8 002E5B18 41 82 00 10 */ beq lbl_802E8BC8 +/* 802E8BBC 002E5B1C 80 7E 00 04 */ lwz r3, 4(r30) +/* 802E8BC0 002E5B20 38 80 00 01 */ li r4, 1 +/* 802E8BC4 002E5B24 48 05 82 7D */ bl __dt__6CTokenFv +lbl_802E8BC8: +/* 802E8BC8 002E5B28 7F E0 07 35 */ extsh. r0, r31 +/* 802E8BCC 002E5B2C 40 81 00 0C */ ble lbl_802E8BD8 +/* 802E8BD0 002E5B30 7F C3 F3 78 */ mr r3, r30 +/* 802E8BD4 002E5B34 48 02 CD 5D */ bl Free__7CMemoryFPCv +lbl_802E8BD8: +/* 802E8BD8 002E5B38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E8BDC 002E5B3C 7F C3 F3 78 */ mr r3, r30 +/* 802E8BE0 002E5B40 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E8BE4 002E5B44 83 C1 00 08 */ lwz r30, 8(r1) +/* 802E8BE8 002E5B48 7C 08 03 A6 */ mtlr r0 +/* 802E8BEC 002E5B4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E8BF0 002E5B50 4E 80 00 20 */ blr + +.global GetRank__11CSfxManagerFPQ211CSfxManager15CBaseSfxWrapper +GetRank__11CSfxManagerFPQ211CSfxManager15CBaseSfxWrapper: +/* 802E8BF4 002E5B54 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E8BF8 002E5B58 7C 08 02 A6 */ mflr r0 +/* 802E8BFC 002E5B5C 3C 80 80 5A */ lis r4, lbl_8059FD48@ha +/* 802E8C00 002E5B60 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E8C04 002E5B64 38 04 FD 48 */ addi r0, r4, lbl_8059FD48@l +/* 802E8C08 002E5B68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E8C0C 002E5B6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E8C10 002E5B70 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E8C14 002E5B74 7C 7D 1B 78 */ mr r29, r3 +/* 802E8C18 002E5B78 80 AD A7 00 */ lwz r5, lbl_805A92C0@sda21(r13) +/* 802E8C1C 002E5B7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E8C20 002E5B80 1C 85 01 6C */ mulli r4, r5, 0x16c +/* 802E8C24 002E5B84 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802E8C28 002E5B88 7F E0 22 14 */ add r31, r0, r4 +/* 802E8C2C 002E5B8C 7D 89 03 A6 */ mtctr r12 +/* 802E8C30 002E5B90 4E 80 04 21 */ bctrl +/* 802E8C34 002E5B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8C38 002E5B98 40 82 00 0C */ bne lbl_802E8C44 +/* 802E8C3C 002E5B9C 38 60 00 00 */ li r3, 0 +/* 802E8C40 002E5BA0 48 00 00 D8 */ b lbl_802E8D18 +lbl_802E8C44: +/* 802E8C44 002E5BA4 7F A3 EB 78 */ mr r3, r29 +/* 802E8C48 002E5BA8 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E8C4C 002E5BAC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802E8C50 002E5BB0 7D 89 03 A6 */ mtctr r12 +/* 802E8C54 002E5BB4 4E 80 04 21 */ bctrl +/* 802E8C58 002E5BB8 7C 7E 16 70 */ srawi r30, r3, 2 +/* 802E8C5C 002E5BBC 7F A3 EB 78 */ mr r3, r29 +/* 802E8C60 002E5BC0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E8C64 002E5BC4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E8C68 002E5BC8 7D 89 03 A6 */ mtctr r12 +/* 802E8C6C 002E5BCC 4E 80 04 21 */ bctrl +/* 802E8C70 002E5BD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8C74 002E5BD4 41 82 00 08 */ beq lbl_802E8C7C +/* 802E8C78 002E5BD8 3B DE 00 01 */ addi r30, r30, 1 +lbl_802E8C7C: +/* 802E8C7C 002E5BDC 7F A3 EB 78 */ mr r3, r29 +/* 802E8C80 002E5BE0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E8C84 002E5BE4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E8C88 002E5BE8 7D 89 03 A6 */ mtctr r12 +/* 802E8C8C 002E5BEC 4E 80 04 21 */ bctrl +/* 802E8C90 002E5BF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8C94 002E5BF4 41 82 00 08 */ beq lbl_802E8C9C +/* 802E8C98 002E5BF8 3B DE FF FE */ addi r30, r30, -2 +lbl_802E8C9C: +/* 802E8C9C 002E5BFC 7F A3 EB 78 */ mr r3, r29 +/* 802E8CA0 002E5C00 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E8CA4 002E5C04 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802E8CA8 002E5C08 7D 89 03 A6 */ mtctr r12 +/* 802E8CAC 002E5C0C 4E 80 04 21 */ bctrl +/* 802E8CB0 002E5C10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8CB4 002E5C14 41 82 00 24 */ beq lbl_802E8CD8 +/* 802E8CB8 002E5C18 7F A3 EB 78 */ mr r3, r29 +/* 802E8CBC 002E5C1C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E8CC0 002E5C20 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E8CC4 002E5C24 7D 89 03 A6 */ mtctr r12 +/* 802E8CC8 002E5C28 4E 80 04 21 */ bctrl +/* 802E8CCC 002E5C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8CD0 002E5C30 40 82 00 08 */ bne lbl_802E8CD8 +/* 802E8CD4 002E5C34 3B DE 00 03 */ addi r30, r30, 3 +lbl_802E8CD8: +/* 802E8CD8 002E5C38 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 802E8CDC 002E5C3C 28 00 00 00 */ cmplwi r0, 0 +/* 802E8CE0 002E5C40 41 82 00 34 */ beq lbl_802E8D14 +/* 802E8CE4 002E5C44 7F A3 EB 78 */ mr r3, r29 +/* 802E8CE8 002E5C48 7F E4 FB 78 */ mr r4, r31 +/* 802E8CEC 002E5C4C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E8CF0 002E5C50 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 802E8CF4 002E5C54 7D 89 03 A6 */ mtctr r12 +/* 802E8CF8 002E5C58 4E 80 04 21 */ bctrl +/* 802E8CFC 002E5C5C 7C 60 07 35 */ extsh. r0, r3 +/* 802E8D00 002E5C60 40 82 00 0C */ bne lbl_802E8D0C +/* 802E8D04 002E5C64 3B C0 00 00 */ li r30, 0 +/* 802E8D08 002E5C68 48 00 00 0C */ b lbl_802E8D14 +lbl_802E8D0C: +/* 802E8D0C 002E5C6C 54 00 08 3C */ slwi r0, r0, 1 +/* 802E8D10 002E5C70 7F DE 02 14 */ add r30, r30, r0 +lbl_802E8D14: +/* 802E8D14 002E5C74 7F C3 F3 78 */ mr r3, r30 +lbl_802E8D18: +/* 802E8D18 002E5C78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E8D1C 002E5C7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E8D20 002E5C80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E8D24 002E5C84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E8D28 002E5C88 7C 08 03 A6 */ mtlr r0 +/* 802E8D2C 002E5C8C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E8D30 002E5C90 4E 80 00 20 */ blr + +.global IsHandleValid__11CSfxManagerF10CSfxHandle +IsHandleValid__11CSfxManagerF10CSfxHandle: +/* 802E8D34 002E5C94 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E8D38 002E5C98 7C 08 02 A6 */ mflr r0 +/* 802E8D3C 002E5C9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E8D40 002E5CA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E8D44 002E5CA4 7C 7F 1B 78 */ mr r31, r3 +/* 802E8D48 002E5CA8 80 8D A7 00 */ lwz r4, lbl_805A92C0@sda21(r13) +/* 802E8D4C 002E5CAC 80 03 00 00 */ lwz r0, 0(r3) +/* 802E8D50 002E5CB0 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E8D54 002E5CB4 1C 84 01 6C */ mulli r4, r4, 0x16c +/* 802E8D58 002E5CB8 54 05 05 3F */ clrlwi. r5, r0, 0x14 +/* 802E8D5C 002E5CBC 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E8D60 002E5CC0 7C 60 22 14 */ add r3, r0, r4 +/* 802E8D64 002E5CC4 41 80 00 10 */ blt lbl_802E8D74 +/* 802E8D68 002E5CC8 80 03 00 48 */ lwz r0, 0x48(r3) +/* 802E8D6C 002E5CCC 7C 05 00 00 */ cmpw r5, r0 +/* 802E8D70 002E5CD0 41 80 00 0C */ blt lbl_802E8D7C +lbl_802E8D74: +/* 802E8D74 002E5CD4 38 60 00 00 */ li r3, 0 +/* 802E8D78 002E5CD8 48 00 00 48 */ b lbl_802E8DC0 +lbl_802E8D7C: +/* 802E8D7C 002E5CDC 54 A0 10 3A */ slwi r0, r5, 2 +/* 802E8D80 002E5CE0 7C 63 02 14 */ add r3, r3, r0 +/* 802E8D84 002E5CE4 80 83 00 4C */ lwz r4, 0x4c(r3) +/* 802E8D88 002E5CE8 28 04 00 00 */ cmplwi r4, 0 +/* 802E8D8C 002E5CEC 41 82 00 28 */ beq lbl_802E8DB4 +/* 802E8D90 002E5CF0 81 84 00 00 */ lwz r12, 0(r4) +/* 802E8D94 002E5CF4 38 61 00 08 */ addi r3, r1, 8 +/* 802E8D98 002E5CF8 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E8D9C 002E5CFC 7D 89 03 A6 */ mtctr r12 +/* 802E8DA0 002E5D00 4E 80 04 21 */ bctrl +/* 802E8DA4 002E5D04 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E8DA8 002E5D08 80 01 00 08 */ lwz r0, 8(r1) +/* 802E8DAC 002E5D0C 7C 03 00 40 */ cmplw r3, r0 +/* 802E8DB0 002E5D10 41 82 00 0C */ beq lbl_802E8DBC +lbl_802E8DB4: +/* 802E8DB4 002E5D14 38 60 00 00 */ li r3, 0 +/* 802E8DB8 002E5D18 48 00 00 08 */ b lbl_802E8DC0 +lbl_802E8DBC: +/* 802E8DBC 002E5D1C 38 60 00 01 */ li r3, 1 +lbl_802E8DC0: +/* 802E8DC0 002E5D20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E8DC4 002E5D24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E8DC8 002E5D28 7C 08 03 A6 */ mtlr r0 +/* 802E8DCC 002E5D2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E8DD0 002E5D30 4E 80 00 20 */ blr + +.global IsPlaying__11CSfxManagerF10CSfxHandle +IsPlaying__11CSfxManagerF10CSfxHandle: +/* 802E8DD4 002E5D34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E8DD8 002E5D38 7C 08 02 A6 */ mflr r0 +/* 802E8DDC 002E5D3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E8DE0 002E5D40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E8DE4 002E5D44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E8DE8 002E5D48 7C 7E 1B 78 */ mr r30, r3 +/* 802E8DEC 002E5D4C 80 8D A7 00 */ lwz r4, lbl_805A92C0@sda21(r13) +/* 802E8DF0 002E5D50 80 03 00 00 */ lwz r0, 0(r3) +/* 802E8DF4 002E5D54 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E8DF8 002E5D58 1C 84 01 6C */ mulli r4, r4, 0x16c +/* 802E8DFC 002E5D5C 54 05 05 3F */ clrlwi. r5, r0, 0x14 +/* 802E8E00 002E5D60 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E8E04 002E5D64 7C 60 22 14 */ add r3, r0, r4 +/* 802E8E08 002E5D68 41 80 00 10 */ blt lbl_802E8E18 +/* 802E8E0C 002E5D6C 80 03 00 48 */ lwz r0, 0x48(r3) +/* 802E8E10 002E5D70 7C 05 00 00 */ cmpw r5, r0 +/* 802E8E14 002E5D74 41 80 00 0C */ blt lbl_802E8E20 +lbl_802E8E18: +/* 802E8E18 002E5D78 38 60 00 00 */ li r3, 0 +/* 802E8E1C 002E5D7C 48 00 00 78 */ b lbl_802E8E94 +lbl_802E8E20: +/* 802E8E20 002E5D80 54 A0 10 3A */ slwi r0, r5, 2 +/* 802E8E24 002E5D84 7C 63 02 14 */ add r3, r3, r0 +/* 802E8E28 002E5D88 83 E3 00 4C */ lwz r31, 0x4c(r3) +/* 802E8E2C 002E5D8C 28 1F 00 00 */ cmplwi r31, 0 +/* 802E8E30 002E5D90 41 82 00 48 */ beq lbl_802E8E78 +/* 802E8E34 002E5D94 7F E4 FB 78 */ mr r4, r31 +/* 802E8E38 002E5D98 38 61 00 08 */ addi r3, r1, 8 +/* 802E8E3C 002E5D9C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E8E40 002E5DA0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E8E44 002E5DA4 7D 89 03 A6 */ mtctr r12 +/* 802E8E48 002E5DA8 4E 80 04 21 */ bctrl +/* 802E8E4C 002E5DAC 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E8E50 002E5DB0 80 01 00 08 */ lwz r0, 8(r1) +/* 802E8E54 002E5DB4 7C 03 00 40 */ cmplw r3, r0 +/* 802E8E58 002E5DB8 40 82 00 20 */ bne lbl_802E8E78 +/* 802E8E5C 002E5DBC 7F E3 FB 78 */ mr r3, r31 +/* 802E8E60 002E5DC0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E8E64 002E5DC4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E8E68 002E5DC8 7D 89 03 A6 */ mtctr r12 +/* 802E8E6C 002E5DCC 4E 80 04 21 */ bctrl +/* 802E8E70 002E5DD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8E74 002E5DD4 40 82 00 0C */ bne lbl_802E8E80 +lbl_802E8E78: +/* 802E8E78 002E5DD8 38 60 00 00 */ li r3, 0 +/* 802E8E7C 002E5DDC 48 00 00 18 */ b lbl_802E8E94 +lbl_802E8E80: +/* 802E8E80 002E5DE0 7F E3 FB 78 */ mr r3, r31 +/* 802E8E84 002E5DE4 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E8E88 002E5DE8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E8E8C 002E5DEC 7D 89 03 A6 */ mtctr r12 +/* 802E8E90 002E5DF0 4E 80 04 21 */ bctrl +lbl_802E8E94: +/* 802E8E94 002E5DF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E8E98 002E5DF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E8E9C 002E5DFC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E8EA0 002E5E00 7C 08 03 A6 */ mtlr r0 +/* 802E8EA4 002E5E04 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E8EA8 002E5E08 4E 80 00 20 */ blr + +.global PitchBend__11CSfxManagerF10CSfxHandlei +PitchBend__11CSfxManagerF10CSfxHandlei: +/* 802E8EAC 002E5E0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E8EB0 002E5E10 7C 08 02 A6 */ mflr r0 +/* 802E8EB4 002E5E14 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E8EB8 002E5E18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E8EBC 002E5E1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E8EC0 002E5E20 7C 9E 23 78 */ mr r30, r4 +/* 802E8EC4 002E5E24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E8EC8 002E5E28 7C 7D 1B 78 */ mr r29, r3 +/* 802E8ECC 002E5E2C 80 AD A7 00 */ lwz r5, lbl_805A92C0@sda21(r13) +/* 802E8ED0 002E5E30 80 03 00 00 */ lwz r0, 0(r3) +/* 802E8ED4 002E5E34 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E8ED8 002E5E38 1C A5 01 6C */ mulli r5, r5, 0x16c +/* 802E8EDC 002E5E3C 38 63 FD 48 */ addi r3, r3, lbl_8059FD48@l +/* 802E8EE0 002E5E40 54 00 14 BA */ rlwinm r0, r0, 2, 0x12, 0x1d +/* 802E8EE4 002E5E44 7C 63 2A 14 */ add r3, r3, r5 +/* 802E8EE8 002E5E48 7C 63 02 14 */ add r3, r3, r0 +/* 802E8EEC 002E5E4C 83 E3 00 4C */ lwz r31, 0x4c(r3) +/* 802E8EF0 002E5E50 28 1F 00 00 */ cmplwi r31, 0 +/* 802E8EF4 002E5E54 41 82 00 94 */ beq lbl_802E8F88 +/* 802E8EF8 002E5E58 7F E4 FB 78 */ mr r4, r31 +/* 802E8EFC 002E5E5C 38 61 00 08 */ addi r3, r1, 8 +/* 802E8F00 002E5E60 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E8F04 002E5E64 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E8F08 002E5E68 7D 89 03 A6 */ mtctr r12 +/* 802E8F0C 002E5E6C 4E 80 04 21 */ bctrl +/* 802E8F10 002E5E70 80 7D 00 00 */ lwz r3, 0(r29) +/* 802E8F14 002E5E74 80 01 00 08 */ lwz r0, 8(r1) +/* 802E8F18 002E5E78 7C 03 00 40 */ cmplw r3, r0 +/* 802E8F1C 002E5E7C 41 82 00 08 */ beq lbl_802E8F24 +/* 802E8F20 002E5E80 48 00 00 68 */ b lbl_802E8F88 +lbl_802E8F24: +/* 802E8F24 002E5E84 7F E3 FB 78 */ mr r3, r31 +/* 802E8F28 002E5E88 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E8F2C 002E5E8C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E8F30 002E5E90 7D 89 03 A6 */ mtctr r12 +/* 802E8F34 002E5E94 4E 80 04 21 */ bctrl +/* 802E8F38 002E5E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8F3C 002E5E9C 40 82 00 0C */ bne lbl_802E8F48 +/* 802E8F40 002E5EA0 C0 22 C6 04 */ lfs f1, lbl_805AE324@sda21(r2) +/* 802E8F44 002E5EA4 48 00 00 61 */ bl Update__11CSfxManagerFf +lbl_802E8F48: +/* 802E8F48 002E5EA8 7F E3 FB 78 */ mr r3, r31 +/* 802E8F4C 002E5EAC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E8F50 002E5EB0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E8F54 002E5EB4 7D 89 03 A6 */ mtctr r12 +/* 802E8F58 002E5EB8 4E 80 04 21 */ bctrl +/* 802E8F5C 002E5EBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E8F60 002E5EC0 41 82 00 28 */ beq lbl_802E8F88 +/* 802E8F64 002E5EC4 38 00 00 01 */ li r0, 1 +/* 802E8F68 002E5EC8 7F E3 FB 78 */ mr r3, r31 +/* 802E8F6C 002E5ECC 98 0D A7 04 */ stb r0, lbl_805A92C4@sda21(r13) +/* 802E8F70 002E5ED0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E8F74 002E5ED4 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 802E8F78 002E5ED8 7D 89 03 A6 */ mtctr r12 +/* 802E8F7C 002E5EDC 4E 80 04 21 */ bctrl +/* 802E8F80 002E5EE0 57 C4 04 3E */ clrlwi r4, r30, 0x10 +/* 802E8F84 002E5EE4 48 06 25 BD */ bl SfxPitchBend__9CAudioSysFUlUs +lbl_802E8F88: +/* 802E8F88 002E5EE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E8F8C 002E5EEC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E8F90 002E5EF0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E8F94 002E5EF4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E8F98 002E5EF8 7C 08 03 A6 */ mtlr r0 +/* 802E8F9C 002E5EFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E8FA0 002E5F00 4E 80 00 20 */ blr + +.global Update__11CSfxManagerFf +Update__11CSfxManagerFf: +/* 802E8FA4 002E5F04 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802E8FA8 002E5F08 7C 08 02 A6 */ mflr r0 +/* 802E8FAC 002E5F0C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802E8FB0 002E5F10 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 802E8FB4 002E5F14 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 802E8FB8 002E5F18 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 802E8FBC 002E5F1C F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 802E8FC0 002E5F20 BE A1 00 B4 */ stmw r21, 0xb4(r1) +/* 802E8FC4 002E5F24 80 8D A7 00 */ lwz r4, lbl_805A92C0@sda21(r13) +/* 802E8FC8 002E5F28 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E8FCC 002E5F2C 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E8FD0 002E5F30 FF C0 08 90 */ fmr f30, f1 +/* 802E8FD4 002E5F34 1C 64 01 6C */ mulli r3, r4, 0x16c +/* 802E8FD8 002E5F38 3B 80 00 00 */ li r28, 0 +/* 802E8FDC 002E5F3C 3A E0 00 00 */ li r23, 0 +/* 802E8FE0 002E5F40 7F 60 1A 14 */ add r27, r0, r3 +/* 802E8FE4 002E5F44 3B BB 00 4C */ addi r29, r27, 0x4c +/* 802E8FE8 002E5F48 7F BA EB 78 */ mr r26, r29 +/* 802E8FEC 002E5F4C 48 00 00 70 */ b lbl_802E905C +lbl_802E8FF0: +/* 802E8FF0 002E5F50 80 7A 00 00 */ lwz r3, 0(r26) +/* 802E8FF4 002E5F54 28 03 00 00 */ cmplwi r3, 0 +/* 802E8FF8 002E5F58 41 82 00 5C */ beq lbl_802E9054 +/* 802E8FFC 002E5F5C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9000 002E5F60 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E9004 002E5F64 7D 89 03 A6 */ mtctr r12 +/* 802E9008 002E5F68 4E 80 04 21 */ bctrl +/* 802E900C 002E5F6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9010 002E5F70 40 82 00 44 */ bne lbl_802E9054 +/* 802E9014 002E5F74 80 7A 00 00 */ lwz r3, 0(r26) +/* 802E9018 002E5F78 48 00 1F A5 */ bl GetTimeRemaining__Q211CSfxManager15CBaseSfxWrapperFv +/* 802E901C 002E5F7C FF E0 08 90 */ fmr f31, f1 +/* 802E9020 002E5F80 80 7A 00 00 */ lwz r3, 0(r26) +/* 802E9024 002E5F84 EC 3F F0 28 */ fsubs f1, f31, f30 +/* 802E9028 002E5F88 48 00 1F 8D */ bl SetTimeRemaining__Q211CSfxManager15CBaseSfxWrapperFf +/* 802E902C 002E5F8C C0 02 C6 04 */ lfs f0, lbl_805AE324@sda21(r2) +/* 802E9030 002E5F90 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802E9034 002E5F94 40 80 00 20 */ bge lbl_802E9054 +/* 802E9038 002E5F98 80 7A 00 00 */ lwz r3, 0(r26) +/* 802E903C 002E5F9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9040 002E5FA0 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802E9044 002E5FA4 7D 89 03 A6 */ mtctr r12 +/* 802E9048 002E5FA8 4E 80 04 21 */ bctrl +/* 802E904C 002E5FAC 38 00 00 01 */ li r0, 1 +/* 802E9050 002E5FB0 98 0D A7 04 */ stb r0, lbl_805A92C4@sda21(r13) +lbl_802E9054: +/* 802E9054 002E5FB4 3B 5A 00 04 */ addi r26, r26, 4 +/* 802E9058 002E5FB8 3A F7 00 01 */ addi r23, r23, 1 +lbl_802E905C: +/* 802E905C 002E5FBC 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 802E9060 002E5FC0 7E E3 07 34 */ extsh r3, r23 +/* 802E9064 002E5FC4 7C 03 00 00 */ cmpw r3, r0 +/* 802E9068 002E5FC8 41 80 FF 88 */ blt lbl_802E8FF0 +/* 802E906C 002E5FCC 88 0D A7 04 */ lbz r0, lbl_805A92C4@sda21(r13) +/* 802E9070 002E5FD0 28 00 00 00 */ cmplwi r0, 0 +/* 802E9074 002E5FD4 41 82 01 F4 */ beq lbl_802E9268 +/* 802E9078 002E5FD8 7F BE EB 78 */ mr r30, r29 +/* 802E907C 002E5FDC 3B 41 00 20 */ addi r26, r1, 0x20 +/* 802E9080 002E5FE0 3A E0 00 00 */ li r23, 0 +/* 802E9084 002E5FE4 48 00 00 40 */ b lbl_802E90C4 +lbl_802E9088: +/* 802E9088 002E5FE8 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E908C 002E5FEC 28 03 00 00 */ cmplwi r3, 0 +/* 802E9090 002E5FF0 41 82 00 2C */ beq lbl_802E90BC +/* 802E9094 002E5FF4 57 80 0B FC */ rlwinm r0, r28, 1, 0xf, 0x1e +/* 802E9098 002E5FF8 3B 9C 00 01 */ addi r28, r28, 1 +/* 802E909C 002E5FFC 7E FA 03 2E */ sthx r23, r26, r0 +/* 802E90A0 002E6000 4B FF FB 55 */ bl GetRank__11CSfxManagerFPQ211CSfxManager15CBaseSfxWrapper +/* 802E90A4 002E6004 7C 64 07 34 */ extsh r4, r3 +/* 802E90A8 002E6008 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E90AC 002E600C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E90B0 002E6010 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802E90B4 002E6014 7D 89 03 A6 */ mtctr r12 +/* 802E90B8 002E6018 4E 80 04 21 */ bctrl +lbl_802E90BC: +/* 802E90BC 002E601C 3B DE 00 04 */ addi r30, r30, 4 +/* 802E90C0 002E6020 3A F7 00 01 */ addi r23, r23, 1 +lbl_802E90C4: +/* 802E90C4 002E6024 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 802E90C8 002E6028 7E E3 07 34 */ extsh r3, r23 +/* 802E90CC 002E602C 7C 03 00 00 */ cmpw r3, r0 +/* 802E90D0 002E6030 41 80 FF B8 */ blt lbl_802E9088 +/* 802E90D4 002E6034 57 9E 04 3E */ clrlwi r30, r28, 0x10 +/* 802E90D8 002E6038 3A E0 00 00 */ li r23, 0 +/* 802E90DC 002E603C 3B 1E FF FF */ addi r24, r30, -1 +/* 802E90E0 002E6040 48 00 00 88 */ b lbl_802E9168 +lbl_802E90E4: +/* 802E90E4 002E6044 3B 21 00 20 */ addi r25, r1, 0x20 +/* 802E90E8 002E6048 3A C0 00 01 */ li r22, 1 +/* 802E90EC 002E604C 3A A0 00 00 */ li r21, 0 +/* 802E90F0 002E6050 48 00 00 64 */ b lbl_802E9154 +lbl_802E90F4: +/* 802E90F4 002E6054 A0 19 00 02 */ lhz r0, 2(r25) +/* 802E90F8 002E6058 A0 99 00 00 */ lhz r4, 0(r25) +/* 802E90FC 002E605C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E9100 002E6060 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E9104 002E6064 54 9F 10 3A */ slwi r31, r4, 2 +/* 802E9108 002E6068 81 83 00 00 */ lwz r12, 0(r3) +/* 802E910C 002E606C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802E9110 002E6070 7D 89 03 A6 */ mtctr r12 +/* 802E9114 002E6074 4E 80 04 21 */ bctrl +/* 802E9118 002E6078 7C 7A 1B 78 */ mr r26, r3 +/* 802E911C 002E607C 7C 7D F8 2E */ lwzx r3, r29, r31 +/* 802E9120 002E6080 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9124 002E6084 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802E9128 002E6088 7D 89 03 A6 */ mtctr r12 +/* 802E912C 002E608C 4E 80 04 21 */ bctrl +/* 802E9130 002E6090 7C 03 D0 00 */ cmpw r3, r26 +/* 802E9134 002E6094 40 80 00 18 */ bge lbl_802E914C +/* 802E9138 002E6098 A0 79 00 00 */ lhz r3, 0(r25) +/* 802E913C 002E609C 3A C0 00 00 */ li r22, 0 +/* 802E9140 002E60A0 A0 19 00 02 */ lhz r0, 2(r25) +/* 802E9144 002E60A4 B0 19 00 00 */ sth r0, 0(r25) +/* 802E9148 002E60A8 B0 79 00 02 */ sth r3, 2(r25) +lbl_802E914C: +/* 802E914C 002E60AC 3B 39 00 02 */ addi r25, r25, 2 +/* 802E9150 002E60B0 3A B5 00 01 */ addi r21, r21, 1 +lbl_802E9154: +/* 802E9154 002E60B4 7C 15 C0 00 */ cmpw r21, r24 +/* 802E9158 002E60B8 41 80 FF 9C */ blt lbl_802E90F4 +/* 802E915C 002E60BC 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 802E9160 002E60C0 40 82 00 14 */ bne lbl_802E9174 +/* 802E9164 002E60C4 3A F7 00 01 */ addi r23, r23, 1 +lbl_802E9168: +/* 802E9168 002E60C8 7E E0 07 34 */ extsh r0, r23 +/* 802E916C 002E60CC 7C 00 F0 00 */ cmpw r0, r30 +/* 802E9170 002E60D0 41 80 FF 74 */ blt lbl_802E90E4 +lbl_802E9174: +/* 802E9174 002E60D4 3B 01 00 80 */ addi r24, r1, 0x80 +/* 802E9178 002E60D8 3B 20 00 30 */ li r25, 0x30 +/* 802E917C 002E60DC 48 00 00 54 */ b lbl_802E91D0 +lbl_802E9180: +/* 802E9180 002E60E0 A0 18 00 00 */ lhz r0, 0(r24) +/* 802E9184 002E60E4 54 00 10 3A */ slwi r0, r0, 2 +/* 802E9188 002E60E8 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E918C 002E60EC 28 03 00 00 */ cmplwi r3, 0 +/* 802E9190 002E60F0 41 82 00 38 */ beq lbl_802E91C8 +/* 802E9194 002E60F4 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9198 002E60F8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E919C 002E60FC 7D 89 03 A6 */ mtctr r12 +/* 802E91A0 002E6100 4E 80 04 21 */ bctrl +/* 802E91A4 002E6104 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E91A8 002E6108 41 82 00 20 */ beq lbl_802E91C8 +/* 802E91AC 002E610C A0 18 00 00 */ lhz r0, 0(r24) +/* 802E91B0 002E6110 54 00 10 3A */ slwi r0, r0, 2 +/* 802E91B4 002E6114 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E91B8 002E6118 81 83 00 00 */ lwz r12, 0(r3) +/* 802E91BC 002E611C 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802E91C0 002E6120 7D 89 03 A6 */ mtctr r12 +/* 802E91C4 002E6124 4E 80 04 21 */ bctrl +lbl_802E91C8: +/* 802E91C8 002E6128 3B 18 00 02 */ addi r24, r24, 2 +/* 802E91CC 002E612C 3B 39 00 01 */ addi r25, r25, 1 +lbl_802E91D0: +/* 802E91D0 002E6130 7F 20 07 34 */ extsh r0, r25 +/* 802E91D4 002E6134 7C 00 F0 00 */ cmpw r0, r30 +/* 802E91D8 002E6138 41 80 FF A8 */ blt lbl_802E9180 +/* 802E91DC 002E613C 3B 01 00 20 */ addi r24, r1, 0x20 +/* 802E91E0 002E6140 3B 20 00 00 */ li r25, 0 +/* 802E91E4 002E6144 48 00 00 78 */ b lbl_802E925C +lbl_802E91E8: +/* 802E91E8 002E6148 A0 18 00 00 */ lhz r0, 0(r24) +/* 802E91EC 002E614C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E91F0 002E6150 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E91F4 002E6154 28 03 00 00 */ cmplwi r3, 0 +/* 802E91F8 002E6158 41 82 00 5C */ beq lbl_802E9254 +/* 802E91FC 002E615C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9200 002E6160 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E9204 002E6164 7D 89 03 A6 */ mtctr r12 +/* 802E9208 002E6168 4E 80 04 21 */ bctrl +/* 802E920C 002E616C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9210 002E6170 41 82 00 44 */ beq lbl_802E9254 +/* 802E9214 002E6174 A0 18 00 00 */ lhz r0, 0(r24) +/* 802E9218 002E6178 54 00 10 3A */ slwi r0, r0, 2 +/* 802E921C 002E617C 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E9220 002E6180 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9224 002E6184 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802E9228 002E6188 7D 89 03 A6 */ mtctr r12 +/* 802E922C 002E618C 4E 80 04 21 */ bctrl +/* 802E9230 002E6190 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9234 002E6194 40 82 00 20 */ bne lbl_802E9254 +/* 802E9238 002E6198 A0 18 00 00 */ lhz r0, 0(r24) +/* 802E923C 002E619C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E9240 002E61A0 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E9244 002E61A4 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9248 002E61A8 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802E924C 002E61AC 7D 89 03 A6 */ mtctr r12 +/* 802E9250 002E61B0 4E 80 04 21 */ bctrl +lbl_802E9254: +/* 802E9254 002E61B4 3B 18 00 02 */ addi r24, r24, 2 +/* 802E9258 002E61B8 3B 39 00 01 */ addi r25, r25, 1 +lbl_802E925C: +/* 802E925C 002E61BC 7F 20 07 34 */ extsh r0, r25 +/* 802E9260 002E61C0 7C 00 F0 00 */ cmpw r0, r30 +/* 802E9264 002E61C4 41 80 FF 84 */ blt lbl_802E91E8 +lbl_802E9268: +/* 802E9268 002E61C8 48 06 18 65 */ bl S3dFlushUnusedEmitters__9CAudioSysFv +/* 802E926C 002E61CC 88 0D A7 04 */ lbz r0, lbl_805A92C4@sda21(r13) +/* 802E9270 002E61D0 28 00 00 00 */ cmplwi r0, 0 +/* 802E9274 002E61D4 41 82 00 D4 */ beq lbl_802E9348 +/* 802E9278 002E61D8 3B E1 00 20 */ addi r31, r1, 0x20 +/* 802E927C 002E61DC 57 9E 04 3E */ clrlwi r30, r28, 0x10 +/* 802E9280 002E61E0 3B 80 00 30 */ li r28, 0x30 +/* 802E9284 002E61E4 3B 40 00 00 */ li r26, 0 +/* 802E9288 002E61E8 48 00 00 A8 */ b lbl_802E9330 +lbl_802E928C: +/* 802E928C 002E61EC A0 1F 00 00 */ lhz r0, 0(r31) +/* 802E9290 002E61F0 54 00 10 3A */ slwi r0, r0, 2 +/* 802E9294 002E61F4 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E9298 002E61F8 28 03 00 00 */ cmplwi r3, 0 +/* 802E929C 002E61FC 41 82 00 8C */ beq lbl_802E9328 +/* 802E92A0 002E6200 81 83 00 00 */ lwz r12, 0(r3) +/* 802E92A4 002E6204 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E92A8 002E6208 7D 89 03 A6 */ mtctr r12 +/* 802E92AC 002E620C 4E 80 04 21 */ bctrl +/* 802E92B0 002E6210 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E92B4 002E6214 41 82 00 0C */ beq lbl_802E92C0 +/* 802E92B8 002E6218 3B 9C FF FF */ addi r28, r28, -1 +/* 802E92BC 002E621C 48 00 00 6C */ b lbl_802E9328 +lbl_802E92C0: +/* 802E92C0 002E6220 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802E92C4 002E6224 54 00 10 3A */ slwi r0, r0, 2 +/* 802E92C8 002E6228 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E92CC 002E622C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E92D0 002E6230 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802E92D4 002E6234 7D 89 03 A6 */ mtctr r12 +/* 802E92D8 002E6238 4E 80 04 21 */ bctrl +/* 802E92DC 002E623C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E92E0 002E6240 41 82 00 48 */ beq lbl_802E9328 +/* 802E92E4 002E6244 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802E92E8 002E6248 54 00 10 3A */ slwi r0, r0, 2 +/* 802E92EC 002E624C 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E92F0 002E6250 81 83 00 00 */ lwz r12, 0(r3) +/* 802E92F4 002E6254 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802E92F8 002E6258 7D 89 03 A6 */ mtctr r12 +/* 802E92FC 002E625C 4E 80 04 21 */ bctrl +/* 802E9300 002E6260 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9304 002E6264 41 82 00 24 */ beq lbl_802E9328 +/* 802E9308 002E6268 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802E930C 002E626C 54 00 10 3A */ slwi r0, r0, 2 +/* 802E9310 002E6270 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 802E9314 002E6274 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9318 002E6278 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 802E931C 002E627C 7D 89 03 A6 */ mtctr r12 +/* 802E9320 002E6280 4E 80 04 21 */ bctrl +/* 802E9324 002E6284 3B 9C FF FF */ addi r28, r28, -1 +lbl_802E9328: +/* 802E9328 002E6288 3B FF 00 02 */ addi r31, r31, 2 +/* 802E932C 002E628C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802E9330: +/* 802E9330 002E6290 7C 1A F0 00 */ cmpw r26, r30 +/* 802E9334 002E6294 40 80 00 0C */ bge lbl_802E9340 +/* 802E9338 002E6298 2C 1C 00 00 */ cmpwi r28, 0 +/* 802E933C 002E629C 40 82 FF 50 */ bne lbl_802E928C +lbl_802E9340: +/* 802E9340 002E62A0 38 00 00 00 */ li r0, 0 +/* 802E9344 002E62A4 98 0D A7 04 */ stb r0, lbl_805A92C4@sda21(r13) +lbl_802E9348: +/* 802E9348 002E62A8 3A A0 00 00 */ li r21, 0 +/* 802E934C 002E62AC 48 00 00 64 */ b lbl_802E93B0 +lbl_802E9350: +/* 802E9350 002E62B0 80 7D 00 00 */ lwz r3, 0(r29) +/* 802E9354 002E62B4 28 03 00 00 */ cmplwi r3, 0 +/* 802E9358 002E62B8 41 82 00 50 */ beq lbl_802E93A8 +/* 802E935C 002E62BC 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9360 002E62C0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E9364 002E62C4 7D 89 03 A6 */ mtctr r12 +/* 802E9368 002E62C8 4E 80 04 21 */ bctrl +/* 802E936C 002E62CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9370 002E62D0 40 82 00 38 */ bne lbl_802E93A8 +/* 802E9374 002E62D4 80 7D 00 00 */ lwz r3, 0(r29) +/* 802E9378 002E62D8 81 83 00 00 */ lwz r12, 0(r3) +/* 802E937C 002E62DC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E9380 002E62E0 7D 89 03 A6 */ mtctr r12 +/* 802E9384 002E62E4 4E 80 04 21 */ bctrl +/* 802E9388 002E62E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E938C 002E62EC 40 82 00 1C */ bne lbl_802E93A8 +/* 802E9390 002E62F0 80 7D 00 00 */ lwz r3, 0(r29) +/* 802E9394 002E62F4 48 00 1C 31 */ bl Release__Q211CSfxManager15CBaseSfxWrapperFv +/* 802E9398 002E62F8 38 60 00 00 */ li r3, 0 +/* 802E939C 002E62FC 38 00 00 01 */ li r0, 1 +/* 802E93A0 002E6300 90 7D 00 00 */ stw r3, 0(r29) +/* 802E93A4 002E6304 98 0D A7 04 */ stb r0, lbl_805A92C4@sda21(r13) +lbl_802E93A8: +/* 802E93A8 002E6308 3B BD 00 04 */ addi r29, r29, 4 +/* 802E93AC 002E630C 3A B5 00 01 */ addi r21, r21, 1 +lbl_802E93B0: +/* 802E93B0 002E6310 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 802E93B4 002E6314 7C 15 00 00 */ cmpw r21, r0 +/* 802E93B8 002E6318 41 80 FF 98 */ blt lbl_802E9350 +/* 802E93BC 002E631C 88 0D A7 18 */ lbz r0, lbl_805A92D8@sda21(r13) +/* 802E93C0 002E6320 28 00 00 00 */ cmplwi r0, 0 +/* 802E93C4 002E6324 41 82 00 4C */ beq lbl_802E9410 +/* 802E93C8 002E6328 C0 4D 9B A8 */ lfs f2, lbl_805A8768@sda21(r13) +/* 802E93CC 002E632C C0 02 C6 0C */ lfs f0, lbl_805AE32C@sda21(r2) +/* 802E93D0 002E6330 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802E93D4 002E6334 40 80 00 3C */ bge lbl_802E9410 +/* 802E93D8 002E6338 C0 2D 9B AC */ lfs f1, lbl_805A876C@sda21(r13) +/* 802E93DC 002E633C C0 0D 9B B8 */ lfs f0, lbl_805A8778@sda21(r13) +/* 802E93E0 002E6340 EC 3E 08 24 */ fdivs f1, f30, f1 +/* 802E93E4 002E6344 EC 22 08 2A */ fadds f1, f2, f1 +/* 802E93E8 002E6348 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802E93EC 002E634C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802E93F0 002E6350 40 80 00 0C */ bge lbl_802E93FC +/* 802E93F4 002E6354 38 61 00 0C */ addi r3, r1, 0xc +/* 802E93F8 002E6358 48 00 00 08 */ b lbl_802E9400 +lbl_802E93FC: +/* 802E93FC 002E635C 38 6D 9B B8 */ addi r3, r13, lbl_805A8778@sda21 +lbl_802E9400: +/* 802E9400 002E6360 C0 03 00 00 */ lfs f0, 0(r3) +/* 802E9404 002E6364 D0 0D 9B A8 */ stfs f0, lbl_805A8768@sda21(r13) +/* 802E9408 002E6368 4B FF EF 71 */ bl ApplyReverb__11CSfxManagerFv +/* 802E940C 002E636C 48 00 00 70 */ b lbl_802E947C +lbl_802E9410: +/* 802E9410 002E6370 28 00 00 00 */ cmplwi r0, 0 +/* 802E9414 002E6374 40 82 00 68 */ bne lbl_802E947C +/* 802E9418 002E6378 C0 6D 9B A8 */ lfs f3, lbl_805A8768@sda21(r13) +/* 802E941C 002E637C C0 02 C6 04 */ lfs f0, lbl_805AE324@sda21(r2) +/* 802E9420 002E6380 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802E9424 002E6384 40 81 00 58 */ ble lbl_802E947C +/* 802E9428 002E6388 C0 42 C6 10 */ lfs f2, lbl_805AE330@sda21(r2) +/* 802E942C 002E638C C0 2D 9B AC */ lfs f1, lbl_805A876C@sda21(r13) +/* 802E9430 002E6390 C0 0D 9B BC */ lfs f0, lbl_805A877C@sda21(r13) +/* 802E9434 002E6394 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802E9438 002E6398 EC 3E 08 24 */ fdivs f1, f30, f1 +/* 802E943C 002E639C EC 23 08 28 */ fsubs f1, f3, f1 +/* 802E9440 002E63A0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802E9444 002E63A4 D0 21 00 08 */ stfs f1, 8(r1) +/* 802E9448 002E63A8 40 80 00 0C */ bge lbl_802E9454 +/* 802E944C 002E63AC 38 61 00 08 */ addi r3, r1, 8 +/* 802E9450 002E63B0 48 00 00 08 */ b lbl_802E9458 +lbl_802E9454: +/* 802E9454 002E63B4 38 6D 9B BC */ addi r3, r13, lbl_805A877C@sda21 +lbl_802E9458: +/* 802E9458 002E63B8 C0 03 00 00 */ lfs f0, 0(r3) +/* 802E945C 002E63BC D0 0D 9B A8 */ stfs f0, lbl_805A8768@sda21(r13) +/* 802E9460 002E63C0 4B FF EF 19 */ bl ApplyReverb__11CSfxManagerFv +/* 802E9464 002E63C4 C0 22 C6 04 */ lfs f1, lbl_805AE324@sda21(r2) +/* 802E9468 002E63C8 C0 0D 9B A8 */ lfs f0, lbl_805A8768@sda21(r13) +/* 802E946C 002E63CC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802E9470 002E63D0 40 82 00 0C */ bne lbl_802E947C +/* 802E9474 002E63D4 4B FF E7 FD */ bl DisableAuxCallback__11CSfxManagerFv +/* 802E9478 002E63D8 4B FF E8 B1 */ bl EnableAuxCallback__11CSfxManagerFv +lbl_802E947C: +/* 802E947C 002E63DC 3B AD A7 10 */ addi r29, r13, lbl_805A92D0@sda21 +/* 802E9480 002E63E0 80 9D 00 04 */ lwz r4, 4(r29) +/* 802E9484 002E63E4 28 04 00 00 */ cmplwi r4, 0 +/* 802E9488 002E63E8 41 82 01 B4 */ beq lbl_802E963C +/* 802E948C 002E63EC 88 04 00 04 */ lbz r0, 4(r4) +/* 802E9490 002E63F0 28 00 00 00 */ cmplwi r0, 0 +/* 802E9494 002E63F4 41 82 01 A8 */ beq lbl_802E963C +/* 802E9498 002E63F8 80 64 00 00 */ lwz r3, 0(r4) +/* 802E949C 002E63FC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802E94A0 002E6400 28 00 00 00 */ cmplwi r0, 0 +/* 802E94A4 002E6404 41 82 01 98 */ beq lbl_802E963C +/* 802E94A8 002E6408 80 0D A7 08 */ lwz r0, lbl_805A92C8@sda21(r13) +/* 802E94AC 002E640C 28 00 00 00 */ cmplwi r0, 0 +/* 802E94B0 002E6410 40 82 01 28 */ bne lbl_802E95D8 +/* 802E94B4 002E6414 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E94B8 002E6418 48 05 79 F1 */ bl __ct__6CTokenFRC6CToken +/* 802E94BC 002E641C 3C 80 80 3D */ lis r4, lbl_803D6DC8@ha +/* 802E94C0 002E6420 38 60 00 10 */ li r3, 0x10 +/* 802E94C4 002E6424 38 84 6D C8 */ addi r4, r4, lbl_803D6DC8@l +/* 802E94C8 002E6428 38 A0 00 00 */ li r5, 0 +/* 802E94CC 002E642C 48 02 C3 A1 */ bl __nw__FUlPCcPCc +/* 802E94D0 002E6430 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802E94D4 002E6434 41 82 00 A4 */ beq lbl_802E9578 +/* 802E94D8 002E6438 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E94DC 002E643C 48 05 79 31 */ bl GetObj__6CTokenFv +/* 802E94E0 002E6440 83 63 00 04 */ lwz r27, 4(r3) +/* 802E94E4 002E6444 80 1B 00 04 */ lwz r0, 4(r27) +/* 802E94E8 002E6448 90 1A 00 04 */ stw r0, 4(r26) +/* 802E94EC 002E644C 80 1B 00 08 */ lwz r0, 8(r27) +/* 802E94F0 002E6450 90 1A 00 08 */ stw r0, 8(r26) +/* 802E94F4 002E6454 80 1B 00 04 */ lwz r0, 4(r27) +/* 802E94F8 002E6458 2C 00 00 00 */ cmpwi r0, 0 +/* 802E94FC 002E645C 40 82 00 1C */ bne lbl_802E9518 +/* 802E9500 002E6460 80 1B 00 08 */ lwz r0, 8(r27) +/* 802E9504 002E6464 2C 00 00 00 */ cmpwi r0, 0 +/* 802E9508 002E6468 40 82 00 10 */ bne lbl_802E9518 +/* 802E950C 002E646C 38 00 00 00 */ li r0, 0 +/* 802E9510 002E6470 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802E9514 002E6474 48 00 00 64 */ b lbl_802E9578 +lbl_802E9518: +/* 802E9518 002E6478 80 1A 00 08 */ lwz r0, 8(r26) +/* 802E951C 002E647C 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 802E9520 002E6480 40 82 00 10 */ bne lbl_802E9530 +/* 802E9524 002E6484 38 00 00 00 */ li r0, 0 +/* 802E9528 002E6488 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802E952C 002E648C 48 00 00 18 */ b lbl_802E9544 +lbl_802E9530: +/* 802E9530 002E6490 3C 80 80 3D */ lis r4, lbl_803D6DC8@ha +/* 802E9534 002E6494 38 A0 00 00 */ li r5, 0 +/* 802E9538 002E6498 38 84 6D C8 */ addi r4, r4, lbl_803D6DC8@l +/* 802E953C 002E649C 48 02 C2 DD */ bl __nwa__FUlPCcPCc +/* 802E9540 002E64A0 90 7A 00 0C */ stw r3, 0xc(r26) +lbl_802E9544: +/* 802E9544 002E64A4 80 1A 00 04 */ lwz r0, 4(r26) +/* 802E9548 002E64A8 80 9B 00 0C */ lwz r4, 0xc(r27) +/* 802E954C 002E64AC 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802E9550 002E64B0 7C 09 03 A6 */ mtctr r0 +/* 802E9554 002E64B4 2C 00 00 00 */ cmpwi r0, 0 +/* 802E9558 002E64B8 40 81 00 20 */ ble lbl_802E9578 +lbl_802E955C: +/* 802E955C 002E64BC 28 03 00 00 */ cmplwi r3, 0 +/* 802E9560 002E64C0 41 82 00 0C */ beq lbl_802E956C +/* 802E9564 002E64C4 A8 04 00 00 */ lha r0, 0(r4) +/* 802E9568 002E64C8 B0 03 00 00 */ sth r0, 0(r3) +lbl_802E956C: +/* 802E956C 002E64CC 38 63 00 02 */ addi r3, r3, 2 +/* 802E9570 002E64D0 38 84 00 02 */ addi r4, r4, 2 +/* 802E9574 002E64D4 42 00 FF E8 */ bdnz lbl_802E955C +lbl_802E9578: +/* 802E9578 002E64D8 93 4D A7 08 */ stw r26, lbl_805A92C8@sda21(r13) +/* 802E957C 002E64DC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E9580 002E64E0 3A A0 00 00 */ li r21, 0 +/* 802E9584 002E64E4 48 05 78 89 */ bl GetObj__6CTokenFv +/* 802E9588 002E64E8 80 63 00 04 */ lwz r3, 4(r3) +/* 802E958C 002E64EC 83 43 00 0C */ lwz r26, 0xc(r3) +/* 802E9590 002E64F0 48 00 00 18 */ b lbl_802E95A8 +lbl_802E9594: +/* 802E9594 002E64F4 A8 1A 00 00 */ lha r0, 0(r26) +/* 802E9598 002E64F8 7C 00 A8 00 */ cmpw r0, r21 +/* 802E959C 002E64FC 40 81 00 08 */ ble lbl_802E95A4 +/* 802E95A0 002E6500 7C 15 03 78 */ mr r21, r0 +lbl_802E95A4: +/* 802E95A4 002E6504 3B 5A 00 02 */ addi r26, r26, 2 +lbl_802E95A8: +/* 802E95A8 002E6508 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E95AC 002E650C 48 05 78 61 */ bl GetObj__6CTokenFv +/* 802E95B0 002E6510 80 63 00 04 */ lwz r3, 4(r3) +/* 802E95B4 002E6514 80 03 00 04 */ lwz r0, 4(r3) +/* 802E95B8 002E6518 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802E95BC 002E651C 54 00 08 3C */ slwi r0, r0, 1 +/* 802E95C0 002E6520 7C 03 02 14 */ add r0, r3, r0 +/* 802E95C4 002E6524 7C 1A 00 40 */ cmplw r26, r0 +/* 802E95C8 002E6528 40 82 FF CC */ bne lbl_802E9594 +/* 802E95CC 002E652C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802E95D0 002E6530 38 80 00 00 */ li r4, 0 +/* 802E95D4 002E6534 48 05 78 6D */ bl __dt__6CTokenFv +lbl_802E95D8: +/* 802E95D8 002E6538 38 61 00 10 */ addi r3, r1, 0x10 +/* 802E95DC 002E653C 38 0D A7 10 */ addi r0, r13, lbl_805A92D0@sda21 +/* 802E95E0 002E6540 38 80 00 00 */ li r4, 0 +/* 802E95E4 002E6544 7C 03 00 40 */ cmplw r3, r0 +/* 802E95E8 002E6548 98 81 00 10 */ stb r4, 0x10(r1) +/* 802E95EC 002E654C 90 81 00 14 */ stw r4, 0x14(r1) +/* 802E95F0 002E6550 41 82 00 34 */ beq lbl_802E9624 +/* 802E95F4 002E6554 88 0D A7 10 */ lbz r0, lbl_805A92D0@sda21(r13) +/* 802E95F8 002E6558 28 00 00 00 */ cmplwi r0, 0 +/* 802E95FC 002E655C 41 82 00 10 */ beq lbl_802E960C +/* 802E9600 002E6560 80 7D 00 04 */ lwz r3, 4(r29) +/* 802E9604 002E6564 38 80 00 01 */ li r4, 1 +/* 802E9608 002E6568 48 05 78 39 */ bl __dt__6CTokenFv +lbl_802E960C: +/* 802E960C 002E656C 88 81 00 10 */ lbz r4, 0x10(r1) +/* 802E9610 002E6570 38 00 00 00 */ li r0, 0 +/* 802E9614 002E6574 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802E9618 002E6578 98 8D A7 10 */ stb r4, lbl_805A92D0@sda21(r13) +/* 802E961C 002E657C 90 7D 00 04 */ stw r3, 4(r29) +/* 802E9620 002E6580 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802E9624: +/* 802E9624 002E6584 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802E9628 002E6588 28 00 00 00 */ cmplwi r0, 0 +/* 802E962C 002E658C 41 82 00 10 */ beq lbl_802E963C +/* 802E9630 002E6590 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802E9634 002E6594 38 80 00 01 */ li r4, 1 +/* 802E9638 002E6598 48 05 78 09 */ bl __dt__6CTokenFv +lbl_802E963C: +/* 802E963C 002E659C E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802E9640 002E65A0 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802E9644 002E65A4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 802E9648 002E65A8 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 802E964C 002E65AC BA A1 00 B4 */ lmw r21, 0xb4(r1) +/* 802E9650 002E65B0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802E9654 002E65B4 7C 08 03 A6 */ mtlr r0 +/* 802E9658 002E65B8 38 21 01 00 */ addi r1, r1, 0x100 +/* 802E965C 002E65BC 4E 80 00 20 */ blr + +.global LocateHandle__11CSfxManagerFs +LocateHandle__11CSfxManagerFs: +/* 802E9660 002E65C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E9664 002E65C4 7C 08 02 A6 */ mflr r0 +/* 802E9668 002E65C8 3C 80 80 5A */ lis r4, lbl_8059FD48@ha +/* 802E966C 002E65CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E9670 002E65D0 38 04 FD 48 */ addi r0, r4, lbl_8059FD48@l +/* 802E9674 002E65D4 38 80 00 00 */ li r4, 0 +/* 802E9678 002E65D8 80 AD A7 00 */ lwz r5, lbl_805A92C0@sda21(r13) +/* 802E967C 002E65DC 1C A5 01 6C */ mulli r5, r5, 0x16c +/* 802E9680 002E65E0 7D 00 2A 14 */ add r8, r0, r5 +/* 802E9684 002E65E4 80 C8 00 48 */ lwz r6, 0x48(r8) +/* 802E9688 002E65E8 38 E8 00 4C */ addi r7, r8, 0x4c +/* 802E968C 002E65EC 7C E5 3B 78 */ mr r5, r7 +/* 802E9690 002E65F0 7C C9 03 A6 */ mtctr r6 +/* 802E9694 002E65F4 2C 06 00 00 */ cmpwi r6, 0 +/* 802E9698 002E65F8 40 81 00 24 */ ble lbl_802E96BC +lbl_802E969C: +/* 802E969C 002E65FC 80 05 00 00 */ lwz r0, 0(r5) +/* 802E96A0 002E6600 28 00 00 00 */ cmplwi r0, 0 +/* 802E96A4 002E6604 40 82 00 0C */ bne lbl_802E96B0 +/* 802E96A8 002E6608 4B FF E1 C5 */ bl __ct__10CSfxHandleFUi +/* 802E96AC 002E660C 48 00 00 50 */ b lbl_802E96FC +lbl_802E96B0: +/* 802E96B0 002E6610 38 A5 00 04 */ addi r5, r5, 4 +/* 802E96B4 002E6614 38 84 00 01 */ addi r4, r4, 1 +/* 802E96B8 002E6618 42 00 FF E4 */ bdnz lbl_802E969C +lbl_802E96BC: +/* 802E96BC 002E661C 2C 06 00 48 */ cmpwi r6, 0x48 +/* 802E96C0 002E6620 40 82 00 10 */ bne lbl_802E96D0 +/* 802E96C4 002E6624 38 00 00 00 */ li r0, 0 +/* 802E96C8 002E6628 90 03 00 00 */ stw r0, 0(r3) +/* 802E96CC 002E662C 48 00 00 30 */ b lbl_802E96FC +lbl_802E96D0: +/* 802E96D0 002E6630 54 C0 10 3A */ slwi r0, r6, 2 +/* 802E96D4 002E6634 7C 87 02 15 */ add. r4, r7, r0 +/* 802E96D8 002E6638 41 82 00 0C */ beq lbl_802E96E4 +/* 802E96DC 002E663C 38 00 00 00 */ li r0, 0 +/* 802E96E0 002E6640 90 04 00 00 */ stw r0, 0(r4) +lbl_802E96E4: +/* 802E96E4 002E6644 80 88 00 48 */ lwz r4, 0x48(r8) +/* 802E96E8 002E6648 38 04 00 01 */ addi r0, r4, 1 +/* 802E96EC 002E664C 90 08 00 48 */ stw r0, 0x48(r8) +/* 802E96F0 002E6650 80 88 00 48 */ lwz r4, 0x48(r8) +/* 802E96F4 002E6654 38 84 FF FF */ addi r4, r4, -1 +/* 802E96F8 002E6658 4B FF E1 75 */ bl __ct__10CSfxHandleFUi +lbl_802E96FC: +/* 802E96FC 002E665C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E9700 002E6660 7C 08 03 A6 */ mtlr r0 +/* 802E9704 002E6664 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E9708 002E6668 4E 80 00 20 */ blr + +.global TurnOnChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +TurnOnChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels: +/* 802E970C 002E666C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E9710 002E6670 7C 08 02 A6 */ mflr r0 +/* 802E9714 002E6674 1C C3 01 6C */ mulli r6, r3, 0x16c +/* 802E9718 002E6678 3C A0 80 5A */ lis r5, lbl_8059FD48@ha +/* 802E971C 002E667C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E9720 002E6680 38 80 00 01 */ li r4, 1 +/* 802E9724 002E6684 38 05 FD 48 */ addi r0, r5, lbl_8059FD48@l +/* 802E9728 002E6688 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E972C 002E668C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E9730 002E6690 7F C0 32 14 */ add r30, r0, r6 +/* 802E9734 002E6694 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E9738 002E6698 88 1E 00 44 */ lbz r0, 0x44(r30) +/* 802E973C 002E669C 90 6D A7 00 */ stw r3, lbl_805A92C0@sda21(r13) +/* 802E9740 002E66A0 28 00 00 00 */ cmplwi r0, 0 +/* 802E9744 002E66A4 98 8D A7 04 */ stb r4, lbl_805A92C4@sda21(r13) +/* 802E9748 002E66A8 41 82 00 40 */ beq lbl_802E9788 +/* 802E974C 002E66AC 3B FE 00 4C */ addi r31, r30, 0x4c +/* 802E9750 002E66B0 3B A0 00 00 */ li r29, 0 +/* 802E9754 002E66B4 48 00 00 28 */ b lbl_802E977C +lbl_802E9758: +/* 802E9758 002E66B8 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E975C 002E66BC 28 03 00 00 */ cmplwi r3, 0 +/* 802E9760 002E66C0 41 82 00 14 */ beq lbl_802E9774 +/* 802E9764 002E66C4 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9768 002E66C8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802E976C 002E66CC 7D 89 03 A6 */ mtctr r12 +/* 802E9770 002E66D0 4E 80 04 21 */ bctrl +lbl_802E9774: +/* 802E9774 002E66D4 3B FF 00 04 */ addi r31, r31, 4 +/* 802E9778 002E66D8 3B BD 00 01 */ addi r29, r29, 1 +lbl_802E977C: +/* 802E977C 002E66DC 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 802E9780 002E66E0 7C 1D 00 00 */ cmpw r29, r0 +/* 802E9784 002E66E4 41 80 FF D4 */ blt lbl_802E9758 +lbl_802E9788: +/* 802E9788 002E66E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E978C 002E66EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E9790 002E66F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E9794 002E66F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E9798 002E66F8 7C 08 03 A6 */ mtlr r0 +/* 802E979C 002E66FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E97A0 002E6700 4E 80 00 20 */ blr + +.global TurnOffChannel__11CSfxManagerFi +TurnOffChannel__11CSfxManagerFi: +/* 802E97A4 002E6704 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E97A8 002E6708 7C 08 02 A6 */ mflr r0 +/* 802E97AC 002E670C 1C 83 01 6C */ mulli r4, r3, 0x16c +/* 802E97B0 002E6710 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E97B4 002E6714 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E97B8 002E6718 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E97BC 002E671C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E97C0 002E6720 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E97C4 002E6724 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E97C8 002E6728 7F A0 22 14 */ add r29, r0, r4 +/* 802E97CC 002E672C 3B DD 00 4C */ addi r30, r29, 0x4c +/* 802E97D0 002E6730 93 81 00 10 */ stw r28, 0x10(r1) +/* 802E97D4 002E6734 3B 80 00 00 */ li r28, 0 +/* 802E97D8 002E6738 7F DF F3 78 */ mr r31, r30 +/* 802E97DC 002E673C 48 00 00 5C */ b lbl_802E9838 +lbl_802E97E0: +/* 802E97E0 002E6740 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E97E4 002E6744 28 03 00 00 */ cmplwi r3, 0 +/* 802E97E8 002E6748 41 82 00 48 */ beq lbl_802E9830 +/* 802E97EC 002E674C 81 83 00 00 */ lwz r12, 0(r3) +/* 802E97F0 002E6750 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E97F4 002E6754 7D 89 03 A6 */ mtctr r12 +/* 802E97F8 002E6758 4E 80 04 21 */ bctrl +/* 802E97FC 002E675C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9800 002E6760 41 82 00 1C */ beq lbl_802E981C +/* 802E9804 002E6764 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E9808 002E6768 81 83 00 00 */ lwz r12, 0(r3) +/* 802E980C 002E676C 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802E9810 002E6770 7D 89 03 A6 */ mtctr r12 +/* 802E9814 002E6774 4E 80 04 21 */ bctrl +/* 802E9818 002E6778 48 00 00 18 */ b lbl_802E9830 +lbl_802E981C: +/* 802E981C 002E677C 80 7F 00 00 */ lwz r3, 0(r31) +/* 802E9820 002E6780 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9824 002E6784 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802E9828 002E6788 7D 89 03 A6 */ mtctr r12 +/* 802E982C 002E678C 4E 80 04 21 */ bctrl +lbl_802E9830: +/* 802E9830 002E6790 3B FF 00 04 */ addi r31, r31, 4 +/* 802E9834 002E6794 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802E9838: +/* 802E9838 002E6798 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 802E983C 002E679C 7C 1C 00 00 */ cmpw r28, r0 +/* 802E9840 002E67A0 41 80 FF A0 */ blt lbl_802E97E0 +/* 802E9844 002E67A4 3B 80 00 00 */ li r28, 0 +/* 802E9848 002E67A8 3B E0 00 00 */ li r31, 0 +/* 802E984C 002E67AC 48 00 00 3C */ b lbl_802E9888 +lbl_802E9850: +/* 802E9850 002E67B0 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E9854 002E67B4 28 03 00 00 */ cmplwi r3, 0 +/* 802E9858 002E67B8 41 82 00 28 */ beq lbl_802E9880 +/* 802E985C 002E67BC 81 83 00 00 */ lwz r12, 0(r3) +/* 802E9860 002E67C0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802E9864 002E67C4 7D 89 03 A6 */ mtctr r12 +/* 802E9868 002E67C8 4E 80 04 21 */ bctrl +/* 802E986C 002E67CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9870 002E67D0 40 82 00 10 */ bne lbl_802E9880 +/* 802E9874 002E67D4 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E9878 002E67D8 48 00 17 4D */ bl Release__Q211CSfxManager15CBaseSfxWrapperFv +/* 802E987C 002E67DC 93 FE 00 00 */ stw r31, 0(r30) +lbl_802E9880: +/* 802E9880 002E67E0 3B DE 00 04 */ addi r30, r30, 4 +/* 802E9884 002E67E4 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802E9888: +/* 802E9888 002E67E8 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 802E988C 002E67EC 7C 1C 00 00 */ cmpw r28, r0 +/* 802E9890 002E67F0 41 80 FF C0 */ blt lbl_802E9850 +/* 802E9894 002E67F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E9898 002E67F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E989C 002E67FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E98A0 002E6800 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E98A4 002E6804 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802E98A8 002E6808 7C 08 03 A6 */ mtlr r0 +/* 802E98AC 002E680C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E98B0 002E6810 4E 80 00 20 */ blr + +.global SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels: +/* 802E98B4 002E6814 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E98B8 002E6818 7C 08 02 A6 */ mflr r0 +/* 802E98BC 002E681C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E98C0 002E6820 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802E98C4 002E6824 7C 7F 1B 78 */ mr r31, r3 +/* 802E98C8 002E6828 80 0D A7 00 */ lwz r0, lbl_805A92C0@sda21(r13) +/* 802E98CC 002E682C 7C 1F 00 00 */ cmpw r31, r0 +/* 802E98D0 002E6830 41 82 00 20 */ beq lbl_802E98F0 +/* 802E98D4 002E6834 2C 00 FF FF */ cmpwi r0, -1 +/* 802E98D8 002E6838 41 82 00 0C */ beq lbl_802E98E4 +/* 802E98DC 002E683C 7C 03 03 78 */ mr r3, r0 +/* 802E98E0 002E6840 4B FF FE C5 */ bl TurnOffChannel__11CSfxManagerFi +lbl_802E98E4: +/* 802E98E4 002E6844 7F E3 FB 78 */ mr r3, r31 +/* 802E98E8 002E6848 4B FF FE 25 */ bl TurnOnChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 802E98EC 002E684C 93 ED A7 00 */ stw r31, lbl_805A92C0@sda21(r13) +lbl_802E98F0: +/* 802E98F0 002E6850 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E98F4 002E6854 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802E98F8 002E6858 7C 08 03 A6 */ mtlr r0 +/* 802E98FC 002E685C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E9900 002E6860 4E 80 00 20 */ blr + +.global SetDuration__10CSfxHandleFf +SetDuration__10CSfxHandleFf: +/* 802E9904 002E6864 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E9908 002E6868 7C 08 02 A6 */ mflr r0 +/* 802E990C 002E686C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E9910 002E6870 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802E9914 002E6874 FF E0 08 90 */ fmr f31, f1 +/* 802E9918 002E6878 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802E991C 002E687C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802E9920 002E6880 7C 7E 1B 78 */ mr r30, r3 +/* 802E9924 002E6884 80 8D A7 00 */ lwz r4, lbl_805A92C0@sda21(r13) +/* 802E9928 002E6888 80 03 00 00 */ lwz r0, 0(r3) +/* 802E992C 002E688C 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E9930 002E6890 1C 84 01 6C */ mulli r4, r4, 0x16c +/* 802E9934 002E6894 54 05 05 3F */ clrlwi. r5, r0, 0x14 +/* 802E9938 002E6898 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E993C 002E689C 7C 60 22 14 */ add r3, r0, r4 +/* 802E9940 002E68A0 41 80 00 60 */ blt lbl_802E99A0 +/* 802E9944 002E68A4 80 03 00 48 */ lwz r0, 0x48(r3) +/* 802E9948 002E68A8 7C 05 00 00 */ cmpw r5, r0 +/* 802E994C 002E68AC 41 80 00 08 */ blt lbl_802E9954 +/* 802E9950 002E68B0 48 00 00 50 */ b lbl_802E99A0 +lbl_802E9954: +/* 802E9954 002E68B4 54 A0 10 3A */ slwi r0, r5, 2 +/* 802E9958 002E68B8 7C 63 02 14 */ add r3, r3, r0 +/* 802E995C 002E68BC 83 E3 00 4C */ lwz r31, 0x4c(r3) +/* 802E9960 002E68C0 28 1F 00 00 */ cmplwi r31, 0 +/* 802E9964 002E68C4 41 82 00 3C */ beq lbl_802E99A0 +/* 802E9968 002E68C8 7F E4 FB 78 */ mr r4, r31 +/* 802E996C 002E68CC 38 61 00 08 */ addi r3, r1, 8 +/* 802E9970 002E68D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E9974 002E68D4 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E9978 002E68D8 7D 89 03 A6 */ mtctr r12 +/* 802E997C 002E68DC 4E 80 04 21 */ bctrl +/* 802E9980 002E68E0 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E9984 002E68E4 80 01 00 08 */ lwz r0, 8(r1) +/* 802E9988 002E68E8 7C 03 00 40 */ cmplw r3, r0 +/* 802E998C 002E68EC 41 82 00 08 */ beq lbl_802E9994 +/* 802E9990 002E68F0 48 00 00 10 */ b lbl_802E99A0 +lbl_802E9994: +/* 802E9994 002E68F4 FC 20 F8 90 */ fmr f1, f31 +/* 802E9998 002E68F8 7F E3 FB 78 */ mr r3, r31 +/* 802E999C 002E68FC 48 00 16 19 */ bl SetTimeRemaining__Q211CSfxManager15CBaseSfxWrapperFf +lbl_802E99A0: +/* 802E99A0 002E6900 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E99A4 002E6904 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 802E99A8 002E6908 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 802E99AC 002E690C 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 802E99B0 002E6910 7C 08 03 A6 */ mtlr r0 +/* 802E99B4 002E6914 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E99B8 002E6918 4E 80 00 20 */ blr + +.global StopSound__11CSfxManagerFRC10CSfxHandle +StopSound__11CSfxManagerFRC10CSfxHandle: +/* 802E99BC 002E691C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E99C0 002E6920 7C 08 02 A6 */ mflr r0 +/* 802E99C4 002E6924 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E99C8 002E6928 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E99CC 002E692C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E99D0 002E6930 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E99D4 002E6934 7C 7D 1B 78 */ mr r29, r3 +/* 802E99D8 002E6938 80 8D A7 00 */ lwz r4, lbl_805A92C0@sda21(r13) +/* 802E99DC 002E693C 80 03 00 00 */ lwz r0, 0(r3) +/* 802E99E0 002E6940 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E99E4 002E6944 1C 84 01 6C */ mulli r4, r4, 0x16c +/* 802E99E8 002E6948 54 05 05 3F */ clrlwi. r5, r0, 0x14 +/* 802E99EC 002E694C 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E99F0 002E6950 7C 60 22 14 */ add r3, r0, r4 +/* 802E99F4 002E6954 41 80 00 A4 */ blt lbl_802E9A98 +/* 802E99F8 002E6958 80 03 00 48 */ lwz r0, 0x48(r3) +/* 802E99FC 002E695C 7C 05 00 00 */ cmpw r5, r0 +/* 802E9A00 002E6960 41 80 00 08 */ blt lbl_802E9A08 +/* 802E9A04 002E6964 48 00 00 94 */ b lbl_802E9A98 +lbl_802E9A08: +/* 802E9A08 002E6968 3B E3 00 4C */ addi r31, r3, 0x4c +/* 802E9A0C 002E696C 54 A0 10 3A */ slwi r0, r5, 2 +/* 802E9A10 002E6970 7F DF 00 2E */ lwzx r30, r31, r0 +/* 802E9A14 002E6974 28 1E 00 00 */ cmplwi r30, 0 +/* 802E9A18 002E6978 41 82 00 80 */ beq lbl_802E9A98 +/* 802E9A1C 002E697C 7F C4 F3 78 */ mr r4, r30 +/* 802E9A20 002E6980 38 61 00 08 */ addi r3, r1, 8 +/* 802E9A24 002E6984 81 9E 00 00 */ lwz r12, 0(r30) +/* 802E9A28 002E6988 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E9A2C 002E698C 7D 89 03 A6 */ mtctr r12 +/* 802E9A30 002E6990 4E 80 04 21 */ bctrl +/* 802E9A34 002E6994 80 7D 00 00 */ lwz r3, 0(r29) +/* 802E9A38 002E6998 80 01 00 08 */ lwz r0, 8(r1) +/* 802E9A3C 002E699C 7C 03 00 40 */ cmplw r3, r0 +/* 802E9A40 002E69A0 41 82 00 08 */ beq lbl_802E9A48 +/* 802E9A44 002E69A4 48 00 00 54 */ b lbl_802E9A98 +lbl_802E9A48: +/* 802E9A48 002E69A8 38 00 00 01 */ li r0, 1 +/* 802E9A4C 002E69AC 7F C3 F3 78 */ mr r3, r30 +/* 802E9A50 002E69B0 98 0D A7 04 */ stb r0, lbl_805A92C4@sda21(r13) +/* 802E9A54 002E69B4 81 9E 00 00 */ lwz r12, 0(r30) +/* 802E9A58 002E69B8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E9A5C 002E69BC 7D 89 03 A6 */ mtctr r12 +/* 802E9A60 002E69C0 4E 80 04 21 */ bctrl +/* 802E9A64 002E69C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9A68 002E69C8 41 82 00 18 */ beq lbl_802E9A80 +/* 802E9A6C 002E69CC 7F C3 F3 78 */ mr r3, r30 +/* 802E9A70 002E69D0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802E9A74 002E69D4 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802E9A78 002E69D8 7D 89 03 A6 */ mtctr r12 +/* 802E9A7C 002E69DC 4E 80 04 21 */ bctrl +lbl_802E9A80: +/* 802E9A80 002E69E0 7F C3 F3 78 */ mr r3, r30 +/* 802E9A84 002E69E4 48 00 15 41 */ bl Release__Q211CSfxManager15CBaseSfxWrapperFv +/* 802E9A88 002E69E8 80 1D 00 00 */ lwz r0, 0(r29) +/* 802E9A8C 002E69EC 38 60 00 00 */ li r3, 0 +/* 802E9A90 002E69F0 54 00 14 BA */ rlwinm r0, r0, 2, 0x12, 0x1d +/* 802E9A94 002E69F4 7C 7F 01 2E */ stwx r3, r31, r0 +lbl_802E9A98: +/* 802E9A98 002E69F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E9A9C 002E69FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E9AA0 002E6A00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E9AA4 002E6A04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E9AA8 002E6A08 7C 08 03 A6 */ mtlr r0 +/* 802E9AAC 002E6A0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E9AB0 002E6A10 4E 80 00 20 */ blr + +.global KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels +KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels: +/* 802E9AB4 002E6A14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E9AB8 002E6A18 7C 08 02 A6 */ mflr r0 +/* 802E9ABC 002E6A1C 1C 83 01 6C */ mulli r4, r3, 0x16c +/* 802E9AC0 002E6A20 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E9AC4 002E6A24 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E9AC8 002E6A28 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E9ACC 002E6A2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E9AD0 002E6A30 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E9AD4 002E6A34 7F C0 22 14 */ add r30, r0, r4 +/* 802E9AD8 002E6A38 3B FE 00 4C */ addi r31, r30, 0x4c +/* 802E9ADC 002E6A3C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E9AE0 002E6A40 3B A0 00 00 */ li r29, 0 +/* 802E9AE4 002E6A44 93 81 00 10 */ stw r28, 0x10(r1) +/* 802E9AE8 002E6A48 48 00 00 60 */ b lbl_802E9B48 +lbl_802E9AEC: +/* 802E9AEC 002E6A4C 83 9F 00 00 */ lwz r28, 0(r31) +/* 802E9AF0 002E6A50 28 1C 00 00 */ cmplwi r28, 0 +/* 802E9AF4 002E6A54 41 82 00 34 */ beq lbl_802E9B28 +/* 802E9AF8 002E6A58 7F 83 E3 78 */ mr r3, r28 +/* 802E9AFC 002E6A5C 81 9C 00 00 */ lwz r12, 0(r28) +/* 802E9B00 002E6A60 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E9B04 002E6A64 7D 89 03 A6 */ mtctr r12 +/* 802E9B08 002E6A68 4E 80 04 21 */ bctrl +/* 802E9B0C 002E6A6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9B10 002E6A70 41 82 00 18 */ beq lbl_802E9B28 +/* 802E9B14 002E6A74 7F 83 E3 78 */ mr r3, r28 +/* 802E9B18 002E6A78 81 9C 00 00 */ lwz r12, 0(r28) +/* 802E9B1C 002E6A7C 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802E9B20 002E6A80 7D 89 03 A6 */ mtctr r12 +/* 802E9B24 002E6A84 4E 80 04 21 */ bctrl +lbl_802E9B28: +/* 802E9B28 002E6A88 28 1C 00 00 */ cmplwi r28, 0 +/* 802E9B2C 002E6A8C 41 82 00 0C */ beq lbl_802E9B38 +/* 802E9B30 002E6A90 7F 83 E3 78 */ mr r3, r28 +/* 802E9B34 002E6A94 48 00 14 91 */ bl Release__Q211CSfxManager15CBaseSfxWrapperFv +lbl_802E9B38: +/* 802E9B38 002E6A98 38 00 00 00 */ li r0, 0 +/* 802E9B3C 002E6A9C 3B BD 00 01 */ addi r29, r29, 1 +/* 802E9B40 002E6AA0 90 1F 00 00 */ stw r0, 0(r31) +/* 802E9B44 002E6AA4 3B FF 00 04 */ addi r31, r31, 4 +lbl_802E9B48: +/* 802E9B48 002E6AA8 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 802E9B4C 002E6AAC 7C 1D 00 00 */ cmpw r29, r0 +/* 802E9B50 002E6AB0 41 80 FF 9C */ blt lbl_802E9AEC +/* 802E9B54 002E6AB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E9B58 002E6AB8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E9B5C 002E6ABC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E9B60 002E6AC0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E9B64 002E6AC4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802E9B68 002E6AC8 7C 08 03 A6 */ mtlr r0 +/* 802E9B6C 002E6ACC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E9B70 002E6AD0 4E 80 00 20 */ blr + +.global SfxSpan__11CSfxManagerF10CSfxHandleUc +SfxSpan__11CSfxManagerF10CSfxHandleUc: +/* 802E9B74 002E6AD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E9B78 002E6AD8 7C 08 02 A6 */ mflr r0 +/* 802E9B7C 002E6ADC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E9B80 002E6AE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E9B84 002E6AE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E9B88 002E6AE8 7C 9E 23 78 */ mr r30, r4 +/* 802E9B8C 002E6AEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E9B90 002E6AF0 7C 7D 1B 78 */ mr r29, r3 +/* 802E9B94 002E6AF4 80 AD A7 00 */ lwz r5, lbl_805A92C0@sda21(r13) +/* 802E9B98 002E6AF8 80 03 00 00 */ lwz r0, 0(r3) +/* 802E9B9C 002E6AFC 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E9BA0 002E6B00 1C A5 01 6C */ mulli r5, r5, 0x16c +/* 802E9BA4 002E6B04 54 04 05 3F */ clrlwi. r4, r0, 0x14 +/* 802E9BA8 002E6B08 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E9BAC 002E6B0C 7C 60 2A 14 */ add r3, r0, r5 +/* 802E9BB0 002E6B10 41 80 00 8C */ blt lbl_802E9C3C +/* 802E9BB4 002E6B14 80 03 00 48 */ lwz r0, 0x48(r3) +/* 802E9BB8 002E6B18 7C 04 00 00 */ cmpw r4, r0 +/* 802E9BBC 002E6B1C 41 80 00 08 */ blt lbl_802E9BC4 +/* 802E9BC0 002E6B20 48 00 00 7C */ b lbl_802E9C3C +lbl_802E9BC4: +/* 802E9BC4 002E6B24 54 80 10 3A */ slwi r0, r4, 2 +/* 802E9BC8 002E6B28 7C 63 02 14 */ add r3, r3, r0 +/* 802E9BCC 002E6B2C 83 E3 00 4C */ lwz r31, 0x4c(r3) +/* 802E9BD0 002E6B30 28 1F 00 00 */ cmplwi r31, 0 +/* 802E9BD4 002E6B34 41 82 00 68 */ beq lbl_802E9C3C +/* 802E9BD8 002E6B38 7F E4 FB 78 */ mr r4, r31 +/* 802E9BDC 002E6B3C 38 61 00 08 */ addi r3, r1, 8 +/* 802E9BE0 002E6B40 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E9BE4 002E6B44 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E9BE8 002E6B48 7D 89 03 A6 */ mtctr r12 +/* 802E9BEC 002E6B4C 4E 80 04 21 */ bctrl +/* 802E9BF0 002E6B50 80 7D 00 00 */ lwz r3, 0(r29) +/* 802E9BF4 002E6B54 80 01 00 08 */ lwz r0, 8(r1) +/* 802E9BF8 002E6B58 7C 03 00 40 */ cmplw r3, r0 +/* 802E9BFC 002E6B5C 41 82 00 08 */ beq lbl_802E9C04 +/* 802E9C00 002E6B60 48 00 00 3C */ b lbl_802E9C3C +lbl_802E9C04: +/* 802E9C04 002E6B64 7F E3 FB 78 */ mr r3, r31 +/* 802E9C08 002E6B68 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E9C0C 002E6B6C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E9C10 002E6B70 7D 89 03 A6 */ mtctr r12 +/* 802E9C14 002E6B74 4E 80 04 21 */ bctrl +/* 802E9C18 002E6B78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9C1C 002E6B7C 41 82 00 20 */ beq lbl_802E9C3C +/* 802E9C20 002E6B80 7F E3 FB 78 */ mr r3, r31 +/* 802E9C24 002E6B84 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E9C28 002E6B88 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 802E9C2C 002E6B8C 7D 89 03 A6 */ mtctr r12 +/* 802E9C30 002E6B90 4E 80 04 21 */ bctrl +/* 802E9C34 002E6B94 7F C4 F3 78 */ mr r4, r30 +/* 802E9C38 002E6B98 48 06 19 61 */ bl SfxSpan__9CAudioSysFUlUc +lbl_802E9C3C: +/* 802E9C3C 002E6B9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E9C40 002E6BA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E9C44 002E6BA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E9C48 002E6BA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E9C4C 002E6BAC 7C 08 03 A6 */ mtlr r0 +/* 802E9C50 002E6BB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E9C54 002E6BB4 4E 80 00 20 */ blr + +.global SfxVolume__11CSfxManagerF10CSfxHandleUc +SfxVolume__11CSfxManagerF10CSfxHandleUc: +/* 802E9C58 002E6BB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802E9C5C 002E6BBC 7C 08 02 A6 */ mflr r0 +/* 802E9C60 002E6BC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802E9C64 002E6BC4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802E9C68 002E6BC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802E9C6C 002E6BCC 7C 9E 23 78 */ mr r30, r4 +/* 802E9C70 002E6BD0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802E9C74 002E6BD4 7C 7D 1B 78 */ mr r29, r3 +/* 802E9C78 002E6BD8 80 AD A7 00 */ lwz r5, lbl_805A92C0@sda21(r13) +/* 802E9C7C 002E6BDC 80 03 00 00 */ lwz r0, 0(r3) +/* 802E9C80 002E6BE0 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E9C84 002E6BE4 1C A5 01 6C */ mulli r5, r5, 0x16c +/* 802E9C88 002E6BE8 54 04 05 3F */ clrlwi. r4, r0, 0x14 +/* 802E9C8C 002E6BEC 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E9C90 002E6BF0 7C 60 2A 14 */ add r3, r0, r5 +/* 802E9C94 002E6BF4 41 80 00 98 */ blt lbl_802E9D2C +/* 802E9C98 002E6BF8 80 03 00 48 */ lwz r0, 0x48(r3) +/* 802E9C9C 002E6BFC 7C 04 00 00 */ cmpw r4, r0 +/* 802E9CA0 002E6C00 41 80 00 08 */ blt lbl_802E9CA8 +/* 802E9CA4 002E6C04 48 00 00 88 */ b lbl_802E9D2C +lbl_802E9CA8: +/* 802E9CA8 002E6C08 54 80 10 3A */ slwi r0, r4, 2 +/* 802E9CAC 002E6C0C 7C 63 02 14 */ add r3, r3, r0 +/* 802E9CB0 002E6C10 83 E3 00 4C */ lwz r31, 0x4c(r3) +/* 802E9CB4 002E6C14 28 1F 00 00 */ cmplwi r31, 0 +/* 802E9CB8 002E6C18 41 82 00 74 */ beq lbl_802E9D2C +/* 802E9CBC 002E6C1C 7F E4 FB 78 */ mr r4, r31 +/* 802E9CC0 002E6C20 38 61 00 08 */ addi r3, r1, 8 +/* 802E9CC4 002E6C24 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E9CC8 002E6C28 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E9CCC 002E6C2C 7D 89 03 A6 */ mtctr r12 +/* 802E9CD0 002E6C30 4E 80 04 21 */ bctrl +/* 802E9CD4 002E6C34 80 7D 00 00 */ lwz r3, 0(r29) +/* 802E9CD8 002E6C38 80 01 00 08 */ lwz r0, 8(r1) +/* 802E9CDC 002E6C3C 7C 03 00 40 */ cmplw r3, r0 +/* 802E9CE0 002E6C40 41 82 00 08 */ beq lbl_802E9CE8 +/* 802E9CE4 002E6C44 48 00 00 48 */ b lbl_802E9D2C +lbl_802E9CE8: +/* 802E9CE8 002E6C48 7F E3 FB 78 */ mr r3, r31 +/* 802E9CEC 002E6C4C 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 802E9CF0 002E6C50 48 00 0A 7D */ bl SetVolume__Q211CSfxManager11CSfxWrapperFs +/* 802E9CF4 002E6C54 7F E3 FB 78 */ mr r3, r31 +/* 802E9CF8 002E6C58 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E9CFC 002E6C5C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E9D00 002E6C60 7D 89 03 A6 */ mtctr r12 +/* 802E9D04 002E6C64 4E 80 04 21 */ bctrl +/* 802E9D08 002E6C68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9D0C 002E6C6C 41 82 00 20 */ beq lbl_802E9D2C +/* 802E9D10 002E6C70 7F E3 FB 78 */ mr r3, r31 +/* 802E9D14 002E6C74 81 9F 00 00 */ lwz r12, 0(r31) +/* 802E9D18 002E6C78 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 802E9D1C 002E6C7C 7D 89 03 A6 */ mtctr r12 +/* 802E9D20 002E6C80 4E 80 04 21 */ bctrl +/* 802E9D24 002E6C84 7F C4 F3 78 */ mr r4, r30 +/* 802E9D28 002E6C88 48 06 18 45 */ bl SfxVolume__9CAudioSysFUlUc +lbl_802E9D2C: +/* 802E9D2C 002E6C8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802E9D30 002E6C90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802E9D34 002E6C94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802E9D38 002E6C98 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802E9D3C 002E6C9C 7C 08 03 A6 */ mtlr r0 +/* 802E9D40 002E6CA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802E9D44 002E6CA4 4E 80 00 20 */ blr + +.global SfxStop__11CSfxManagerFRC10CSfxHandle +SfxStop__11CSfxManagerFRC10CSfxHandle: +/* 802E9D48 002E6CA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E9D4C 002E6CAC 7C 08 02 A6 */ mflr r0 +/* 802E9D50 002E6CB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E9D54 002E6CB4 80 03 00 00 */ lwz r0, 0(r3) +/* 802E9D58 002E6CB8 38 61 00 08 */ addi r3, r1, 8 +/* 802E9D5C 002E6CBC 90 01 00 08 */ stw r0, 8(r1) +/* 802E9D60 002E6CC0 4B FF FC 5D */ bl StopSound__11CSfxManagerFRC10CSfxHandle +/* 802E9D64 002E6CC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E9D68 002E6CC8 7C 08 03 A6 */ mtlr r0 +/* 802E9D6C 002E6CCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E9D70 002E6CD0 4E 80 00 20 */ blr + +.global SfxStart__11CSfxManagerFUsssbsbi +SfxStart__11CSfxManagerFUsssbsbi: +/* 802E9D74 002E6CD4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802E9D78 002E6CD8 7C 08 02 A6 */ mflr r0 +/* 802E9D7C 002E6CDC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802E9D80 002E6CE0 BE E1 00 4C */ stmw r23, 0x4c(r1) +/* 802E9D84 002E6CE4 7C 7D 1B 78 */ mr r29, r3 +/* 802E9D88 002E6CE8 7C 9E 23 78 */ mr r30, r4 +/* 802E9D8C 002E6CEC 7C BF 2B 78 */ mr r31, r5 +/* 802E9D90 002E6CF0 7C D7 33 78 */ mr r23, r6 +/* 802E9D94 002E6CF4 7C F8 3B 78 */ mr r24, r7 +/* 802E9D98 002E6CF8 7D 19 43 78 */ mr r25, r8 +/* 802E9D9C 002E6CFC 7D 3A 4B 78 */ mr r26, r9 +/* 802E9DA0 002E6D00 7D 5B 53 78 */ mr r27, r10 +/* 802E9DA4 002E6D04 88 0D A7 0C */ lbz r0, lbl_805A92CC@sda21(r13) +/* 802E9DA8 002E6D08 28 00 00 00 */ cmplwi r0, 0 +/* 802E9DAC 002E6D0C 40 82 00 1C */ bne lbl_802E9DC8 +/* 802E9DB0 002E6D10 57 C3 04 3E */ clrlwi r3, r30, 0x10 +/* 802E9DB4 002E6D14 3C 03 00 01 */ addis r0, r3, 1 +/* 802E9DB8 002E6D18 28 00 FF FF */ cmplwi r0, 0xffff +/* 802E9DBC 002E6D1C 41 82 00 0C */ beq lbl_802E9DC8 +/* 802E9DC0 002E6D20 28 03 FF FF */ cmplwi r3, 0xffff +/* 802E9DC4 002E6D24 40 82 00 10 */ bne lbl_802E9DD4 +lbl_802E9DC8: +/* 802E9DC8 002E6D28 38 00 00 00 */ li r0, 0 +/* 802E9DCC 002E6D2C 90 1D 00 00 */ stw r0, 0(r29) +/* 802E9DD0 002E6D30 48 00 00 A0 */ b lbl_802E9E70 +lbl_802E9DD4: +/* 802E9DD4 002E6D34 80 0D A7 00 */ lwz r0, lbl_805A92C0@sda21(r13) +/* 802E9DD8 002E6D38 38 60 00 01 */ li r3, 1 +/* 802E9DDC 002E6D3C 3C 80 80 5A */ lis r4, lbl_8059FD48@ha +/* 802E9DE0 002E6D40 98 6D A7 04 */ stb r3, lbl_805A92C4@sda21(r13) +/* 802E9DE4 002E6D44 1C A0 01 6C */ mulli r5, r0, 0x16c +/* 802E9DE8 002E6D48 38 61 00 14 */ addi r3, r1, 0x14 +/* 802E9DEC 002E6D4C 38 04 FD 48 */ addi r0, r4, lbl_8059FD48@l +/* 802E9DF0 002E6D50 7F 24 07 34 */ extsh r4, r25 +/* 802E9DF4 002E6D54 7F 80 2A 14 */ add r28, r0, r5 +/* 802E9DF8 002E6D58 4B FF F8 69 */ bl LocateHandle__11CSfxManagerFs +/* 802E9DFC 002E6D5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E9E00 002E6D60 28 00 00 00 */ cmplwi r0, 0 +/* 802E9E04 002E6D64 90 01 00 18 */ stw r0, 0x18(r1) +/* 802E9E08 002E6D68 41 82 00 60 */ beq lbl_802E9E68 +/* 802E9E0C 002E6D6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802E9E10 002E6D70 7F 44 D3 78 */ mr r4, r26 +/* 802E9E14 002E6D74 7F 25 CB 78 */ mr r5, r25 +/* 802E9E18 002E6D78 7F C6 F3 78 */ mr r6, r30 +/* 802E9E1C 002E6D7C 93 61 00 08 */ stw r27, 8(r1) +/* 802E9E20 002E6D80 7F E7 FB 78 */ mr r7, r31 +/* 802E9E24 002E6D84 7E E8 BB 78 */ mr r8, r23 +/* 802E9E28 002E6D88 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E9E2C 002E6D8C 39 21 00 10 */ addi r9, r1, 0x10 +/* 802E9E30 002E6D90 57 0A 06 3E */ clrlwi r10, r24, 0x18 +/* 802E9E34 002E6D94 48 00 0B 95 */ bl __ct__Q211CSfxManager11CSfxWrapperFbsUsss10CSfxHandlebi +/* 802E9E38 002E6D98 38 61 00 1C */ addi r3, r1, 0x1c +/* 802E9E3C 002E6D9C 4B FF E6 11 */ bl AllocateCSfxWrapper__11CSfxManagerFRCQ211CSfxManager11CSfxWrapper +/* 802E9E40 002E6DA0 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 802E9E44 002E6DA4 3C 80 80 3F */ lis r4, lbl_803ECE10@ha +/* 802E9E48 002E6DA8 38 04 CE 10 */ addi r0, r4, lbl_803ECE10@l +/* 802E9E4C 002E6DAC 54 A5 14 BA */ rlwinm r5, r5, 2, 0x12, 0x1d +/* 802E9E50 002E6DB0 3C 80 80 3F */ lis r4, lbl_803ECEE4@ha +/* 802E9E54 002E6DB4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802E9E58 002E6DB8 7C BC 2A 14 */ add r5, r28, r5 +/* 802E9E5C 002E6DBC 38 04 CE E4 */ addi r0, r4, lbl_803ECEE4@l +/* 802E9E60 002E6DC0 90 65 00 4C */ stw r3, 0x4c(r5) +/* 802E9E64 002E6DC4 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_802E9E68: +/* 802E9E68 002E6DC8 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802E9E6C 002E6DCC 90 1D 00 00 */ stw r0, 0(r29) +lbl_802E9E70: +/* 802E9E70 002E6DD0 BA E1 00 4C */ lmw r23, 0x4c(r1) +/* 802E9E74 002E6DD4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802E9E78 002E6DD8 7C 08 03 A6 */ mtlr r0 +/* 802E9E7C 002E6DDC 38 21 00 70 */ addi r1, r1, 0x70 +/* 802E9E80 002E6DE0 4E 80 00 20 */ blr + +.global RemoveEmitter__11CSfxManagerFRC10CSfxHandle +RemoveEmitter__11CSfxManagerFRC10CSfxHandle: +/* 802E9E84 002E6DE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802E9E88 002E6DE8 7C 08 02 A6 */ mflr r0 +/* 802E9E8C 002E6DEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802E9E90 002E6DF0 80 03 00 00 */ lwz r0, 0(r3) +/* 802E9E94 002E6DF4 38 61 00 08 */ addi r3, r1, 8 +/* 802E9E98 002E6DF8 90 01 00 08 */ stw r0, 8(r1) +/* 802E9E9C 002E6DFC 4B FF FB 21 */ bl StopSound__11CSfxManagerFRC10CSfxHandle +/* 802E9EA0 002E6E00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802E9EA4 002E6E04 7C 08 03 A6 */ mtlr r0 +/* 802E9EA8 002E6E08 38 21 00 10 */ addi r1, r1, 0x10 +/* 802E9EAC 002E6E0C 4E 80 00 20 */ blr + +.global UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc: +/* 802E9EB0 002E6E10 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802E9EB4 002E6E14 7C 08 02 A6 */ mflr r0 +/* 802E9EB8 002E6E18 90 01 00 34 */ stw r0, 0x34(r1) +/* 802E9EBC 002E6E1C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802E9EC0 002E6E20 7C 7E 1B 78 */ mr r30, r3 +/* 802E9EC4 002E6E24 7C 9F 23 78 */ mr r31, r4 +/* 802E9EC8 002E6E28 7C BB 2B 78 */ mr r27, r5 +/* 802E9ECC 002E6E2C 7C DC 33 78 */ mr r28, r6 +/* 802E9ED0 002E6E30 80 ED A7 00 */ lwz r7, lbl_805A92C0@sda21(r13) +/* 802E9ED4 002E6E34 80 03 00 00 */ lwz r0, 0(r3) +/* 802E9ED8 002E6E38 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802E9EDC 002E6E3C 1C E7 01 6C */ mulli r7, r7, 0x16c +/* 802E9EE0 002E6E40 54 04 05 3F */ clrlwi. r4, r0, 0x14 +/* 802E9EE4 002E6E44 38 03 FD 48 */ addi r0, r3, lbl_8059FD48@l +/* 802E9EE8 002E6E48 7C 60 3A 14 */ add r3, r0, r7 +/* 802E9EEC 002E6E4C 41 80 00 E0 */ blt lbl_802E9FCC +/* 802E9EF0 002E6E50 80 03 00 48 */ lwz r0, 0x48(r3) +/* 802E9EF4 002E6E54 7C 04 00 00 */ cmpw r4, r0 +/* 802E9EF8 002E6E58 41 80 00 08 */ blt lbl_802E9F00 +/* 802E9EFC 002E6E5C 48 00 00 D0 */ b lbl_802E9FCC +lbl_802E9F00: +/* 802E9F00 002E6E60 54 80 10 3A */ slwi r0, r4, 2 +/* 802E9F04 002E6E64 7C 63 02 14 */ add r3, r3, r0 +/* 802E9F08 002E6E68 83 A3 00 4C */ lwz r29, 0x4c(r3) +/* 802E9F0C 002E6E6C 28 1D 00 00 */ cmplwi r29, 0 +/* 802E9F10 002E6E70 41 82 00 BC */ beq lbl_802E9FCC +/* 802E9F14 002E6E74 7F A4 EB 78 */ mr r4, r29 +/* 802E9F18 002E6E78 38 61 00 08 */ addi r3, r1, 8 +/* 802E9F1C 002E6E7C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E9F20 002E6E80 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802E9F24 002E6E84 7D 89 03 A6 */ mtctr r12 +/* 802E9F28 002E6E88 4E 80 04 21 */ bctrl +/* 802E9F2C 002E6E8C 80 7E 00 00 */ lwz r3, 0(r30) +/* 802E9F30 002E6E90 80 01 00 08 */ lwz r0, 8(r1) +/* 802E9F34 002E6E94 7C 03 00 40 */ cmplw r3, r0 +/* 802E9F38 002E6E98 40 82 00 94 */ bne lbl_802E9FCC +/* 802E9F3C 002E6E9C 7F A3 EB 78 */ mr r3, r29 +/* 802E9F40 002E6EA0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802E9F44 002E6EA4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802E9F48 002E6EA8 7D 89 03 A6 */ mtctr r12 +/* 802E9F4C 002E6EAC 4E 80 04 21 */ bctrl +/* 802E9F50 002E6EB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802E9F54 002E6EB4 40 82 00 08 */ bne lbl_802E9F5C +/* 802E9F58 002E6EB8 48 00 00 74 */ b lbl_802E9FCC +lbl_802E9F5C: +/* 802E9F5C 002E6EBC 38 00 00 01 */ li r0, 1 +/* 802E9F60 002E6EC0 7F A3 EB 78 */ mr r3, r29 +/* 802E9F64 002E6EC4 98 0D A7 04 */ stb r0, lbl_805A92C4@sda21(r13) +/* 802E9F68 002E6EC8 48 00 0D 31 */ bl GetEmitter__Q211CSfxManager18CSfxEmitterWrapperFv +/* 802E9F6C 002E6ECC C0 1F 00 00 */ lfs f0, 0(r31) +/* 802E9F70 002E6ED0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802E9F74 002E6ED4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802E9F78 002E6ED8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802E9F7C 002E6EDC C0 1F 00 08 */ lfs f0, 8(r31) +/* 802E9F80 002E6EE0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802E9F84 002E6EE4 7F A3 EB 78 */ mr r3, r29 +/* 802E9F88 002E6EE8 48 00 0D 11 */ bl GetEmitter__Q211CSfxManager18CSfxEmitterWrapperFv +/* 802E9F8C 002E6EEC C0 1B 00 00 */ lfs f0, 0(r27) +/* 802E9F90 002E6EF0 57 9E 06 3E */ clrlwi r30, r28, 0x18 +/* 802E9F94 002E6EF4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802E9F98 002E6EF8 C0 1B 00 04 */ lfs f0, 4(r27) +/* 802E9F9C 002E6EFC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802E9FA0 002E6F00 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802E9FA4 002E6F04 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802E9FA8 002E6F08 7F A3 EB 78 */ mr r3, r29 +/* 802E9FAC 002E6F0C 48 00 0C ED */ bl GetEmitter__Q211CSfxManager18CSfxEmitterWrapperFv +/* 802E9FB0 002E6F10 9B C3 00 26 */ stb r30, 0x26(r3) +/* 802E9FB4 002E6F14 7F A3 EB 78 */ mr r3, r29 +/* 802E9FB8 002E6F18 48 00 0C D9 */ bl GetHandle__Q211CSfxManager18CSfxEmitterWrapperCFv +/* 802E9FBC 002E6F1C 7F E4 FB 78 */ mr r4, r31 +/* 802E9FC0 002E6F20 7F 65 DB 78 */ mr r5, r27 +/* 802E9FC4 002E6F24 7F 86 E3 78 */ mr r6, r28 +/* 802E9FC8 002E6F28 48 06 0C 79 */ bl S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc +lbl_802E9FCC: +/* 802E9FCC 002E6F2C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802E9FD0 002E6F30 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802E9FD4 002E6F34 7C 08 03 A6 */ mtlr r0 +/* 802E9FD8 002E6F38 38 21 00 30 */ addi r1, r1, 0x30 +/* 802E9FDC 002E6F3C 4E 80 00 20 */ blr + +.global AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi: +/* 802E9FE0 002E6F40 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802E9FE4 002E6F44 7C 08 02 A6 */ mflr r0 +/* 802E9FE8 002E6F48 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802E9FEC 002E6F4C BF 41 00 98 */ stmw r26, 0x98(r1) +/* 802E9FF0 002E6F50 7C 7B 1B 78 */ mr r27, r3 +/* 802E9FF4 002E6F54 7C BC 2B 78 */ mr r28, r5 +/* 802E9FF8 002E6F58 7C DD 33 78 */ mr r29, r6 +/* 802E9FFC 002E6F5C 7C FE 3B 78 */ mr r30, r7 +/* 802EA000 002E6F60 7D 1F 43 78 */ mr r31, r8 +/* 802EA004 002E6F64 88 0D A7 0C */ lbz r0, lbl_805A92CC@sda21(r13) +/* 802EA008 002E6F68 28 00 00 00 */ cmplwi r0, 0 +/* 802EA00C 002E6F6C 40 82 00 1C */ bne lbl_802EA028 +/* 802EA010 002E6F70 A0 64 00 24 */ lhz r3, 0x24(r4) +/* 802EA014 002E6F74 3C 03 00 01 */ addis r0, r3, 1 +/* 802EA018 002E6F78 28 00 FF FF */ cmplwi r0, 0xffff +/* 802EA01C 002E6F7C 41 82 00 0C */ beq lbl_802EA028 +/* 802EA020 002E6F80 28 03 FF FF */ cmplwi r3, 0xffff +/* 802EA024 002E6F84 40 82 00 10 */ bne lbl_802EA034 +lbl_802EA028: +/* 802EA028 002E6F88 38 00 00 00 */ li r0, 0 +/* 802EA02C 002E6F8C 90 1B 00 00 */ stw r0, 0(r27) +/* 802EA030 002E6F90 48 00 01 18 */ b lbl_802EA148 +lbl_802EA034: +/* 802EA034 002E6F94 C0 04 00 00 */ lfs f0, 0(r4) +/* 802EA038 002E6F98 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802EA03C 002E6F9C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802EA040 002E6FA0 C0 04 00 04 */ lfs f0, 4(r4) +/* 802EA044 002E6FA4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802EA048 002E6FA8 C0 04 00 08 */ lfs f0, 8(r4) +/* 802EA04C 002E6FAC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802EA050 002E6FB0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802EA054 002E6FB4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802EA058 002E6FB8 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802EA05C 002E6FBC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802EA060 002E6FC0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802EA064 002E6FC4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802EA068 002E6FC8 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802EA06C 002E6FCC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802EA070 002E6FD0 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802EA074 002E6FD4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802EA078 002E6FD8 80 64 00 20 */ lwz r3, 0x20(r4) +/* 802EA07C 002E6FDC 90 61 00 34 */ stw r3, 0x34(r1) +/* 802EA080 002E6FE0 A0 04 00 24 */ lhz r0, 0x24(r4) +/* 802EA084 002E6FE4 B0 01 00 38 */ sth r0, 0x38(r1) +/* 802EA088 002E6FE8 88 04 00 26 */ lbz r0, 0x26(r4) +/* 802EA08C 002E6FEC 98 01 00 3A */ stb r0, 0x3a(r1) +/* 802EA090 002E6FF0 88 04 00 27 */ lbz r0, 0x27(r4) +/* 802EA094 002E6FF4 98 01 00 3B */ stb r0, 0x3b(r1) +/* 802EA098 002E6FF8 88 04 00 28 */ lbz r0, 0x28(r4) +/* 802EA09C 002E6FFC 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802EA0A0 002E7000 88 04 00 29 */ lbz r0, 0x29(r4) +/* 802EA0A4 002E7004 98 01 00 3D */ stb r0, 0x3d(r1) +/* 802EA0A8 002E7008 41 82 00 0C */ beq lbl_802EA0B4 +/* 802EA0AC 002E700C 60 60 00 06 */ ori r0, r3, 6 +/* 802EA0B0 002E7010 90 01 00 34 */ stw r0, 0x34(r1) +lbl_802EA0B4: +/* 802EA0B4 002E7014 80 0D A7 00 */ lwz r0, lbl_805A92C0@sda21(r13) +/* 802EA0B8 002E7018 38 60 00 01 */ li r3, 1 +/* 802EA0BC 002E701C 3C 80 80 5A */ lis r4, lbl_8059FD48@ha +/* 802EA0C0 002E7020 98 6D A7 04 */ stb r3, lbl_805A92C4@sda21(r13) +/* 802EA0C4 002E7024 1C A0 01 6C */ mulli r5, r0, 0x16c +/* 802EA0C8 002E7028 38 61 00 0C */ addi r3, r1, 0xc +/* 802EA0CC 002E702C 38 04 FD 48 */ addi r0, r4, lbl_8059FD48@l +/* 802EA0D0 002E7030 7F A4 07 34 */ extsh r4, r29 +/* 802EA0D4 002E7034 7F 40 2A 14 */ add r26, r0, r5 +/* 802EA0D8 002E7038 4B FF F5 89 */ bl LocateHandle__11CSfxManagerFs +/* 802EA0DC 002E703C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802EA0E0 002E7040 28 00 00 00 */ cmplwi r0, 0 +/* 802EA0E4 002E7044 90 01 00 10 */ stw r0, 0x10(r1) +/* 802EA0E8 002E7048 41 82 00 58 */ beq lbl_802EA140 +/* 802EA0EC 002E704C 90 01 00 08 */ stw r0, 8(r1) +/* 802EA0F0 002E7050 7F C4 F3 78 */ mr r4, r30 +/* 802EA0F4 002E7054 7F A5 EB 78 */ mr r5, r29 +/* 802EA0F8 002E7058 7F E9 FB 78 */ mr r9, r31 +/* 802EA0FC 002E705C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802EA100 002E7060 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802EA104 002E7064 38 E1 00 08 */ addi r7, r1, 8 +/* 802EA108 002E7068 57 88 06 3E */ clrlwi r8, r28, 0x18 +/* 802EA10C 002E706C 48 00 0D 35 */ bl __ct__Q211CSfxManager18CSfxEmitterWrapperFbsRQ29CAudioSys18C3DEmitterParmData10CSfxHandlebi +/* 802EA110 002E7070 38 61 00 40 */ addi r3, r1, 0x40 +/* 802EA114 002E7074 4B FF E4 C1 */ bl sub_802e85d4 +/* 802EA118 002E7078 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 802EA11C 002E707C 3C 80 80 3F */ lis r4, lbl_803ECE80@ha +/* 802EA120 002E7080 38 04 CE 80 */ addi r0, r4, lbl_803ECE80@l +/* 802EA124 002E7084 54 A5 14 BA */ rlwinm r5, r5, 2, 0x12, 0x1d +/* 802EA128 002E7088 3C 80 80 3F */ lis r4, lbl_803ECEE4@ha +/* 802EA12C 002E708C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802EA130 002E7090 7C BA 2A 14 */ add r5, r26, r5 +/* 802EA134 002E7094 38 04 CE E4 */ addi r0, r4, lbl_803ECEE4@l +/* 802EA138 002E7098 90 65 00 4C */ stw r3, 0x4c(r5) +/* 802EA13C 002E709C 90 01 00 40 */ stw r0, 0x40(r1) +lbl_802EA140: +/* 802EA140 002E70A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802EA144 002E70A4 90 1B 00 00 */ stw r0, 0(r27) +lbl_802EA148: +/* 802EA148 002E70A8 BB 41 00 98 */ lmw r26, 0x98(r1) +/* 802EA14C 002E70AC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802EA150 002E70B0 7C 08 03 A6 */ mtlr r0 +/* 802EA154 002E70B4 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802EA158 002E70B8 4E 80 00 20 */ blr + +.global __dt__Q211CSfxManager18CSfxEmitterWrapperFv +__dt__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EA15C 002E70BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA160 002E70C0 7C 08 02 A6 */ mflr r0 +/* 802EA164 002E70C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA168 002E70C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EA16C 002E70CC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802EA170 002E70D0 41 82 00 30 */ beq lbl_802EA1A0 +/* 802EA174 002E70D4 3C 60 80 3F */ lis r3, lbl_803ECE80@ha +/* 802EA178 002E70D8 38 03 CE 80 */ addi r0, r3, lbl_803ECE80@l +/* 802EA17C 002E70DC 90 1F 00 00 */ stw r0, 0(r31) +/* 802EA180 002E70E0 41 82 00 10 */ beq lbl_802EA190 +/* 802EA184 002E70E4 3C 60 80 3F */ lis r3, lbl_803ECEE4@ha +/* 802EA188 002E70E8 38 03 CE E4 */ addi r0, r3, lbl_803ECEE4@l +/* 802EA18C 002E70EC 90 1F 00 00 */ stw r0, 0(r31) +lbl_802EA190: +/* 802EA190 002E70F0 7C 80 07 35 */ extsh. r0, r4 +/* 802EA194 002E70F4 40 81 00 0C */ ble lbl_802EA1A0 +/* 802EA198 002E70F8 7F E3 FB 78 */ mr r3, r31 +/* 802EA19C 002E70FC 48 02 B7 95 */ bl Free__7CMemoryFPCv +lbl_802EA1A0: +/* 802EA1A0 002E7100 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA1A4 002E7104 7F E3 FB 78 */ mr r3, r31 +/* 802EA1A8 002E7108 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EA1AC 002E710C 7C 08 03 A6 */ mtlr r0 +/* 802EA1B0 002E7110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA1B4 002E7114 4E 80 00 20 */ blr + +.global AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi: +/* 802EA1B8 002E7118 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EA1BC 002E711C 7C 08 02 A6 */ mflr r0 +/* 802EA1C0 002E7120 C0 42 C6 04 */ lfs f2, lbl_805AE324@sda21(r2) +/* 802EA1C4 002E7124 39 60 00 01 */ li r11, 1 +/* 802EA1C8 002E7128 90 01 00 54 */ stw r0, 0x54(r1) +/* 802EA1CC 002E712C 54 E0 06 3E */ clrlwi r0, r7, 0x18 +/* 802EA1D0 002E7130 C0 22 C6 14 */ lfs f1, lbl_805AE334@sda21(r2) +/* 802EA1D4 002E7134 38 E0 00 00 */ li r7, 0 +/* 802EA1D8 002E7138 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802EA1DC 002E713C 28 00 00 14 */ cmplwi r0, 0x14 +/* 802EA1E0 002E7140 C0 02 C6 18 */ lfs f0, lbl_805AE338@sda21(r2) +/* 802EA1E4 002E7144 3B E0 00 15 */ li r31, 0x15 +/* 802EA1E8 002E7148 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802EA1EC 002E714C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802EA1F0 002E7150 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802EA1F4 002E7154 7C 7D 1B 78 */ mr r29, r3 +/* 802EA1F8 002E7158 D0 41 00 08 */ stfs f2, 8(r1) +/* 802EA1FC 002E715C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802EA200 002E7160 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802EA204 002E7164 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802EA208 002E7168 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802EA20C 002E716C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802EA210 002E7170 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802EA214 002E7174 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802EA218 002E7178 91 61 00 28 */ stw r11, 0x28(r1) +/* 802EA21C 002E717C B0 E1 00 2C */ sth r7, 0x2c(r1) +/* 802EA220 002E7180 40 81 00 08 */ ble lbl_802EA228 +/* 802EA224 002E7184 7C 1F 03 78 */ mr r31, r0 +lbl_802EA228: +/* 802EA228 002E7188 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 802EA22C 002E718C 39 80 00 14 */ li r12, 0x14 +/* 802EA230 002E7190 C0 A5 00 00 */ lfs f5, 0(r5) +/* 802EA234 002E7194 39 60 00 00 */ li r11, 0 +/* 802EA238 002E7198 C0 85 00 04 */ lfs f4, 4(r5) +/* 802EA23C 002E719C 7F A3 EB 78 */ mr r3, r29 +/* 802EA240 002E71A0 C0 65 00 08 */ lfs f3, 8(r5) +/* 802EA244 002E71A4 7D 05 43 78 */ mr r5, r8 +/* 802EA248 002E71A8 C0 46 00 00 */ lfs f2, 0(r6) +/* 802EA24C 002E71AC 7D 27 4B 78 */ mr r7, r9 +/* 802EA250 002E71B0 C0 26 00 04 */ lfs f1, 4(r6) +/* 802EA254 002E71B4 7F C8 F3 78 */ mr r8, r30 +/* 802EA258 002E71B8 C0 06 00 08 */ lfs f0, 8(r6) +/* 802EA25C 002E71BC 7D 46 53 78 */ mr r6, r10 +/* 802EA260 002E71C0 B0 81 00 2C */ sth r4, 0x2c(r1) +/* 802EA264 002E71C4 38 81 00 08 */ addi r4, r1, 8 +/* 802EA268 002E71C8 9B E1 00 2E */ stb r31, 0x2e(r1) +/* 802EA26C 002E71CC 99 81 00 2F */ stb r12, 0x2f(r1) +/* 802EA270 002E71D0 99 61 00 30 */ stb r11, 0x30(r1) +/* 802EA274 002E71D4 98 01 00 31 */ stb r0, 0x31(r1) +/* 802EA278 002E71D8 D0 A1 00 08 */ stfs f5, 8(r1) +/* 802EA27C 002E71DC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802EA280 002E71E0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802EA284 002E71E4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802EA288 002E71E8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802EA28C 002E71EC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802EA290 002E71F0 4B FF FD 51 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 802EA294 002E71F4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EA298 002E71F8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802EA29C 002E71FC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802EA2A0 002E7200 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802EA2A4 002E7204 7C 08 03 A6 */ mtlr r0 +/* 802EA2A8 002E7208 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EA2AC 002E720C 4E 80 00 20 */ blr + +.global AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi: +/* 802EA2B0 002E7210 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EA2B4 002E7214 7C 08 02 A6 */ mflr r0 +/* 802EA2B8 002E7218 C1 02 C6 04 */ lfs f8, lbl_805AE324@sda21(r2) +/* 802EA2BC 002E721C 39 80 00 7F */ li r12, 0x7f +/* 802EA2C0 002E7220 90 01 00 54 */ stw r0, 0x54(r1) +/* 802EA2C4 002E7224 39 60 00 14 */ li r11, 0x14 +/* 802EA2C8 002E7228 C0 E2 C6 14 */ lfs f7, lbl_805AE334@sda21(r2) +/* 802EA2CC 002E722C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802EA2D0 002E7230 3B E0 00 00 */ li r31, 0 +/* 802EA2D4 002E7234 C0 C2 C6 18 */ lfs f6, lbl_805AE338@sda21(r2) +/* 802EA2D8 002E7238 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802EA2DC 002E723C 3B C0 00 01 */ li r30, 1 +/* 802EA2E0 002E7240 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 802EA2E4 002E7244 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802EA2E8 002E7248 7C FD 3B 78 */ mr r29, r7 +/* 802EA2EC 002E724C 7D 07 43 78 */ mr r7, r8 +/* 802EA2F0 002E7250 7D 48 53 78 */ mr r8, r10 +/* 802EA2F4 002E7254 93 81 00 40 */ stw r28, 0x40(r1) +/* 802EA2F8 002E7258 7C 7C 1B 78 */ mr r28, r3 +/* 802EA2FC 002E725C B3 E1 00 2C */ sth r31, 0x2c(r1) +/* 802EA300 002E7260 C0 A5 00 00 */ lfs f5, 0(r5) +/* 802EA304 002E7264 D1 01 00 08 */ stfs f8, 8(r1) +/* 802EA308 002E7268 C0 85 00 04 */ lfs f4, 4(r5) +/* 802EA30C 002E726C D1 01 00 0C */ stfs f8, 0xc(r1) +/* 802EA310 002E7270 C0 65 00 08 */ lfs f3, 8(r5) +/* 802EA314 002E7274 7F A5 EB 78 */ mr r5, r29 +/* 802EA318 002E7278 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 802EA31C 002E727C C0 46 00 00 */ lfs f2, 0(r6) +/* 802EA320 002E7280 D1 01 00 14 */ stfs f8, 0x14(r1) +/* 802EA324 002E7284 C0 26 00 04 */ lfs f1, 4(r6) +/* 802EA328 002E7288 D1 01 00 18 */ stfs f8, 0x18(r1) +/* 802EA32C 002E728C C0 06 00 08 */ lfs f0, 8(r6) +/* 802EA330 002E7290 7D 26 4B 78 */ mr r6, r9 +/* 802EA334 002E7294 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 802EA338 002E7298 B0 81 00 2C */ sth r4, 0x2c(r1) +/* 802EA33C 002E729C 38 81 00 08 */ addi r4, r1, 8 +/* 802EA340 002E72A0 D0 E1 00 20 */ stfs f7, 0x20(r1) +/* 802EA344 002E72A4 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 802EA348 002E72A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EA34C 002E72AC 99 81 00 2E */ stb r12, 0x2e(r1) +/* 802EA350 002E72B0 99 61 00 2F */ stb r11, 0x2f(r1) +/* 802EA354 002E72B4 9B E1 00 30 */ stb r31, 0x30(r1) +/* 802EA358 002E72B8 98 01 00 31 */ stb r0, 0x31(r1) +/* 802EA35C 002E72BC D0 A1 00 08 */ stfs f5, 8(r1) +/* 802EA360 002E72C0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802EA364 002E72C4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802EA368 002E72C8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802EA36C 002E72CC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802EA370 002E72D0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802EA374 002E72D4 4B FF FC 6D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 802EA378 002E72D8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EA37C 002E72DC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802EA380 002E72E0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802EA384 002E72E4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802EA388 002E72E8 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802EA38C 002E72EC 7C 08 03 A6 */ mtlr r0 +/* 802EA390 002E72F0 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EA394 002E72F4 4E 80 00 20 */ blr + +.global UpdateListener__11CSfxManagerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc +UpdateListener__11CSfxManagerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc: +/* 802EA398 002E72F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA39C 002E72FC 7C 08 02 A6 */ mflr r0 +/* 802EA3A0 002E7300 3D 00 80 5A */ lis r8, lbl_8059FD48@ha +/* 802EA3A4 002E7304 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA3A8 002E7308 39 08 FD 48 */ addi r8, r8, lbl_8059FD48@l +/* 802EA3AC 002E730C 80 0D A7 00 */ lwz r0, lbl_805A92C0@sda21(r13) +/* 802EA3B0 002E7310 C0 23 00 00 */ lfs f1, 0(r3) +/* 802EA3B4 002E7314 1D 20 01 6C */ mulli r9, r0, 0x16c +/* 802EA3B8 002E7318 C0 03 00 04 */ lfs f0, 4(r3) +/* 802EA3BC 002E731C C0 83 00 08 */ lfs f4, 8(r3) +/* 802EA3C0 002E7320 38 00 00 01 */ li r0, 1 +/* 802EA3C4 002E7324 C0 64 00 00 */ lfs f3, 0(r4) +/* 802EA3C8 002E7328 7D 08 4A 14 */ add r8, r8, r9 +/* 802EA3CC 002E732C D0 28 00 00 */ stfs f1, 0(r8) +/* 802EA3D0 002E7330 C0 44 00 04 */ lfs f2, 4(r4) +/* 802EA3D4 002E7334 D0 08 00 04 */ stfs f0, 4(r8) +/* 802EA3D8 002E7338 C0 24 00 08 */ lfs f1, 8(r4) +/* 802EA3DC 002E733C D0 88 00 08 */ stfs f4, 8(r8) +/* 802EA3E0 002E7340 C0 05 00 00 */ lfs f0, 0(r5) +/* 802EA3E4 002E7344 D0 68 00 0C */ stfs f3, 0xc(r8) +/* 802EA3E8 002E7348 C0 85 00 04 */ lfs f4, 4(r5) +/* 802EA3EC 002E734C D0 48 00 10 */ stfs f2, 0x10(r8) +/* 802EA3F0 002E7350 C0 65 00 08 */ lfs f3, 8(r5) +/* 802EA3F4 002E7354 D0 28 00 14 */ stfs f1, 0x14(r8) +/* 802EA3F8 002E7358 C0 46 00 00 */ lfs f2, 0(r6) +/* 802EA3FC 002E735C D0 08 00 18 */ stfs f0, 0x18(r8) +/* 802EA400 002E7360 C0 26 00 04 */ lfs f1, 4(r6) +/* 802EA404 002E7364 D0 88 00 1C */ stfs f4, 0x1c(r8) +/* 802EA408 002E7368 C0 06 00 08 */ lfs f0, 8(r6) +/* 802EA40C 002E736C D0 68 00 20 */ stfs f3, 0x20(r8) +/* 802EA410 002E7370 D0 48 00 24 */ stfs f2, 0x24(r8) +/* 802EA414 002E7374 D0 28 00 28 */ stfs f1, 0x28(r8) +/* 802EA418 002E7378 D0 08 00 2C */ stfs f0, 0x2c(r8) +/* 802EA41C 002E737C 98 E8 00 40 */ stb r7, 0x40(r8) +/* 802EA420 002E7380 98 08 00 44 */ stb r0, 0x44(r8) +/* 802EA424 002E7384 48 06 0A 55 */ bl S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc +/* 802EA428 002E7388 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA42C 002E738C 7C 08 03 A6 */ mtlr r0 +/* 802EA430 002E7390 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA434 002E7394 4E 80 00 20 */ blr + +.global AddListener__11CSfxManagerFQ211CSfxManager12ESfxChannelsRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc +AddListener__11CSfxManagerFQ211CSfxManager12ESfxChannelsRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc: +/* 802EA438 002E7398 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802EA43C 002E739C 7C 08 02 A6 */ mflr r0 +/* 802EA440 002E73A0 1D 83 01 6C */ mulli r12, r3, 0x16c +/* 802EA444 002E73A4 3D 60 80 5A */ lis r11, lbl_8059FD48@ha +/* 802EA448 002E73A8 90 01 00 84 */ stw r0, 0x84(r1) +/* 802EA44C 002E73AC FC A0 08 18 */ frsp f5, f1 +/* 802EA450 002E73B0 38 6B FD 48 */ addi r3, r11, lbl_8059FD48@l +/* 802EA454 002E73B4 FC 80 10 18 */ frsp f4, f2 +/* 802EA458 002E73B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802EA45C 002E73BC 81 44 00 04 */ lwz r10, 4(r4) +/* 802EA460 002E73C0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802EA464 002E73C4 80 04 00 08 */ lwz r0, 8(r4) +/* 802EA468 002E73C8 91 41 00 30 */ stw r10, 0x30(r1) +/* 802EA46C 002E73CC 7D 43 62 14 */ add r10, r3, r12 +/* 802EA470 002E73D0 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802EA474 002E73D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EA478 002E73D8 80 05 00 00 */ lwz r0, 0(r5) +/* 802EA47C 002E73DC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802EA480 002E73E0 FC 00 18 18 */ frsp f0, f3 +/* 802EA484 002E73E4 C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 802EA488 002E73E8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802EA48C 002E73EC 80 05 00 04 */ lwz r0, 4(r5) +/* 802EA490 002E73F0 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 802EA494 002E73F4 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 802EA498 002E73F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EA49C 002E73FC 80 05 00 08 */ lwz r0, 8(r5) +/* 802EA4A0 002E7400 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802EA4A4 002E7404 90 01 00 28 */ stw r0, 0x28(r1) +/* 802EA4A8 002E7408 80 06 00 00 */ lwz r0, 0(r6) +/* 802EA4AC 002E740C D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 802EA4B0 002E7410 C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 802EA4B4 002E7414 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA4B8 002E7418 80 06 00 04 */ lwz r0, 4(r6) +/* 802EA4BC 002E741C 90 6A 00 00 */ stw r3, 0(r10) +/* 802EA4C0 002E7420 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802EA4C4 002E7424 90 01 00 18 */ stw r0, 0x18(r1) +/* 802EA4C8 002E7428 80 06 00 08 */ lwz r0, 8(r6) +/* 802EA4CC 002E742C D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 802EA4D0 002E7430 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 802EA4D4 002E7434 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802EA4D8 002E7438 80 07 00 00 */ lwz r0, 0(r7) +/* 802EA4DC 002E743C D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802EA4E0 002E7440 C0 C1 00 28 */ lfs f6, 0x28(r1) +/* 802EA4E4 002E7444 90 01 00 08 */ stw r0, 8(r1) +/* 802EA4E8 002E7448 80 07 00 04 */ lwz r0, 4(r7) +/* 802EA4EC 002E744C D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 802EA4F0 002E7450 C0 C1 00 14 */ lfs f6, 0x14(r1) +/* 802EA4F4 002E7454 90 01 00 0C */ stw r0, 0xc(r1) +/* 802EA4F8 002E7458 80 07 00 08 */ lwz r0, 8(r7) +/* 802EA4FC 002E745C D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802EA500 002E7460 C0 C1 00 18 */ lfs f6, 0x18(r1) +/* 802EA504 002E7464 90 01 00 10 */ stw r0, 0x10(r1) +/* 802EA508 002E7468 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802EA50C 002E746C D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 802EA510 002E7470 C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 802EA514 002E7474 90 0A 00 04 */ stw r0, 4(r10) +/* 802EA518 002E7478 C0 E1 00 0C */ lfs f7, 0xc(r1) +/* 802EA51C 002E747C 90 6A 00 08 */ stw r3, 8(r10) +/* 802EA520 002E7480 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802EA524 002E7484 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 802EA528 002E7488 C0 C1 00 08 */ lfs f6, 8(r1) +/* 802EA52C 002E748C 90 0A 00 0C */ stw r0, 0xc(r10) +/* 802EA530 002E7490 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802EA534 002E7494 D0 C1 00 5C */ stfs f6, 0x5c(r1) +/* 802EA538 002E7498 C0 C1 00 10 */ lfs f6, 0x10(r1) +/* 802EA53C 002E749C 90 6A 00 10 */ stw r3, 0x10(r10) +/* 802EA540 002E74A0 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802EA544 002E74A4 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802EA548 002E74A8 90 0A 00 14 */ stw r0, 0x14(r10) +/* 802EA54C 002E74AC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EA550 002E74B0 90 6A 00 18 */ stw r3, 0x18(r10) +/* 802EA554 002E74B4 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802EA558 002E74B8 90 0A 00 1C */ stw r0, 0x1c(r10) +/* 802EA55C 002E74BC 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 802EA560 002E74C0 90 6A 00 20 */ stw r3, 0x20(r10) +/* 802EA564 002E74C4 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802EA568 002E74C8 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802EA56C 002E74CC 90 0A 00 24 */ stw r0, 0x24(r10) +/* 802EA570 002E74D0 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 802EA574 002E74D4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802EA578 002E74D8 90 6A 00 28 */ stw r3, 0x28(r10) +/* 802EA57C 002E74DC 90 0A 00 2C */ stw r0, 0x2c(r10) +/* 802EA580 002E74E0 D0 AA 00 30 */ stfs f5, 0x30(r10) +/* 802EA584 002E74E4 D0 8A 00 34 */ stfs f4, 0x34(r10) +/* 802EA588 002E74E8 D0 0A 00 38 */ stfs f0, 0x38(r10) +/* 802EA58C 002E74EC 91 0A 00 3C */ stw r8, 0x3c(r10) +/* 802EA590 002E74F0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802EA594 002E74F4 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802EA598 002E74F8 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802EA59C 002E74FC 91 01 00 74 */ stw r8, 0x74(r1) +/* 802EA5A0 002E7500 99 21 00 78 */ stb r9, 0x78(r1) +/* 802EA5A4 002E7504 99 2A 00 40 */ stb r9, 0x40(r10) +/* 802EA5A8 002E7508 38 00 00 01 */ li r0, 1 +/* 802EA5AC 002E750C 7C 83 23 78 */ mr r3, r4 +/* 802EA5B0 002E7510 98 0A 00 44 */ stb r0, 0x44(r10) +/* 802EA5B4 002E7514 7C A4 2B 78 */ mr r4, r5 +/* 802EA5B8 002E7518 7C C5 33 78 */ mr r5, r6 +/* 802EA5BC 002E751C 7C E6 3B 78 */ mr r6, r7 +/* 802EA5C0 002E7520 7D 07 43 78 */ mr r7, r8 +/* 802EA5C4 002E7524 7D 28 4B 78 */ mr r8, r9 +/* 802EA5C8 002E7528 48 06 09 65 */ bl S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc +/* 802EA5CC 002E752C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802EA5D0 002E7530 7C 08 03 A6 */ mtlr r0 +/* 802EA5D4 002E7534 38 21 00 80 */ addi r1, r1, 0x80 +/* 802EA5D8 002E7538 4E 80 00 20 */ blr + +.global StopAndRemoveAllEmitters__11CSfxManagerFv +StopAndRemoveAllEmitters__11CSfxManagerFv: +/* 802EA5DC 002E753C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EA5E0 002E7540 7C 08 02 A6 */ mflr r0 +/* 802EA5E4 002E7544 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802EA5E8 002E7548 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EA5EC 002E754C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802EA5F0 002E7550 3B 80 00 00 */ li r28, 0 +/* 802EA5F4 002E7554 3B A3 FD 48 */ addi r29, r3, lbl_8059FD48@l +lbl_802EA5F8: +/* 802EA5F8 002E7558 3B DD 00 4C */ addi r30, r29, 0x4c +/* 802EA5FC 002E755C 3B 60 00 00 */ li r27, 0 +/* 802EA600 002E7560 3B E0 00 00 */ li r31, 0 +/* 802EA604 002E7564 48 00 00 50 */ b lbl_802EA654 +lbl_802EA608: +/* 802EA608 002E7568 80 7E 00 00 */ lwz r3, 0(r30) +/* 802EA60C 002E756C 28 03 00 00 */ cmplwi r3, 0 +/* 802EA610 002E7570 41 82 00 3C */ beq lbl_802EA64C +/* 802EA614 002E7574 81 83 00 00 */ lwz r12, 0(r3) +/* 802EA618 002E7578 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802EA61C 002E757C 7D 89 03 A6 */ mtctr r12 +/* 802EA620 002E7580 4E 80 04 21 */ bctrl +/* 802EA624 002E7584 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EA628 002E7588 41 82 00 18 */ beq lbl_802EA640 +/* 802EA62C 002E758C 80 7E 00 00 */ lwz r3, 0(r30) +/* 802EA630 002E7590 81 83 00 00 */ lwz r12, 0(r3) +/* 802EA634 002E7594 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802EA638 002E7598 7D 89 03 A6 */ mtctr r12 +/* 802EA63C 002E759C 4E 80 04 21 */ bctrl +lbl_802EA640: +/* 802EA640 002E75A0 80 7E 00 00 */ lwz r3, 0(r30) +/* 802EA644 002E75A4 48 00 09 81 */ bl Release__Q211CSfxManager15CBaseSfxWrapperFv +/* 802EA648 002E75A8 93 FE 00 00 */ stw r31, 0(r30) +lbl_802EA64C: +/* 802EA64C 002E75AC 3B DE 00 04 */ addi r30, r30, 4 +/* 802EA650 002E75B0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802EA654: +/* 802EA654 002E75B4 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 802EA658 002E75B8 7C 1B 00 00 */ cmpw r27, r0 +/* 802EA65C 002E75BC 41 80 FF AC */ blt lbl_802EA608 +/* 802EA660 002E75C0 3B 9C 00 01 */ addi r28, r28, 1 +/* 802EA664 002E75C4 3B BD 01 6C */ addi r29, r29, 0x16c +/* 802EA668 002E75C8 2C 1C 00 04 */ cmpwi r28, 4 +/* 802EA66C 002E75CC 41 80 FF 8C */ blt lbl_802EA5F8 +/* 802EA670 002E75D0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802EA674 002E75D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EA678 002E75D8 7C 08 03 A6 */ mtlr r0 +/* 802EA67C 002E75DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EA680 002E75E0 4E 80 00 20 */ blr + +.global Shutdown__11CSfxManagerFv +Shutdown__11CSfxManagerFv: +/* 802EA684 002E75E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EA688 002E75E8 7C 08 02 A6 */ mflr r0 +/* 802EA68C 002E75EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EA690 002E75F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EA694 002E75F4 83 ED A7 08 */ lwz r31, lbl_805A92C8@sda21(r13) +/* 802EA698 002E75F8 28 1F 00 00 */ cmplwi r31, 0 +/* 802EA69C 002E75FC 41 82 00 4C */ beq lbl_802EA6E8 +/* 802EA6A0 002E7600 80 1F 00 04 */ lwz r0, 4(r31) +/* 802EA6A4 002E7604 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802EA6A8 002E7608 54 00 08 3C */ slwi r0, r0, 1 +/* 802EA6AC 002E760C 7C 03 02 14 */ add r0, r3, r0 +/* 802EA6B0 002E7610 90 61 00 0C */ stw r3, 0xc(r1) +/* 802EA6B4 002E7614 7C 64 1B 78 */ mr r4, r3 +/* 802EA6B8 002E7618 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA6BC 002E761C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802EA6C0 002E7620 90 61 00 08 */ stw r3, 8(r1) +/* 802EA6C4 002E7624 48 00 00 08 */ b lbl_802EA6CC +lbl_802EA6C8: +/* 802EA6C8 002E7628 38 84 00 02 */ addi r4, r4, 2 +lbl_802EA6CC: +/* 802EA6CC 002E762C 7C 04 00 40 */ cmplw r4, r0 +/* 802EA6D0 002E7630 40 82 FF F8 */ bne lbl_802EA6C8 +/* 802EA6D4 002E7634 28 03 00 00 */ cmplwi r3, 0 +/* 802EA6D8 002E7638 41 82 00 08 */ beq lbl_802EA6E0 +/* 802EA6DC 002E763C 48 02 B2 55 */ bl Free__7CMemoryFPCv +lbl_802EA6E0: +/* 802EA6E0 002E7640 7F E3 FB 78 */ mr r3, r31 +/* 802EA6E4 002E7644 48 02 B2 4D */ bl Free__7CMemoryFPCv +lbl_802EA6E8: +/* 802EA6E8 002E7648 38 00 00 00 */ li r0, 0 +/* 802EA6EC 002E764C 90 0D A7 08 */ stw r0, lbl_805A92C8@sda21(r13) +/* 802EA6F0 002E7650 4B FF FE ED */ bl StopAndRemoveAllEmitters__11CSfxManagerFv +/* 802EA6F4 002E7654 80 0D 9B B0 */ lwz r0, lbl_805A8770@sda21(r13) +/* 802EA6F8 002E7658 2C 00 FF FF */ cmpwi r0, -1 +/* 802EA6FC 002E765C 41 82 00 08 */ beq lbl_802EA704 +/* 802EA700 002E7660 4B FF D5 71 */ bl DisableAuxCallback__11CSfxManagerFv +lbl_802EA704: +/* 802EA704 002E7664 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EA708 002E7668 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EA70C 002E766C 7C 08 03 A6 */ mtlr r0 +/* 802EA710 002E7670 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EA714 002E7674 4E 80 00 20 */ blr + +.global UpdateEmitter__Q211CSfxManager11CSfxWrapperFv +UpdateEmitter__Q211CSfxManager11CSfxWrapperFv: +/* 802EA718 002E7678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA71C 002E767C 7C 08 02 A6 */ mflr r0 +/* 802EA720 002E7680 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA724 002E7684 A8 03 00 20 */ lha r0, 0x20(r3) +/* 802EA728 002E7688 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802EA72C 002E768C 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 802EA730 002E7690 48 06 0E 3D */ bl SfxVolume__9CAudioSysFUlUc +/* 802EA734 002E7694 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA738 002E7698 7C 08 03 A6 */ mtlr r0 +/* 802EA73C 002E769C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA740 002E76A0 4E 80 00 20 */ blr + +.global UpdateEmitterSilent__Q211CSfxManager11CSfxWrapperFv +UpdateEmitterSilent__Q211CSfxManager11CSfxWrapperFv: +/* 802EA744 002E76A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA748 002E76A8 7C 08 02 A6 */ mflr r0 +/* 802EA74C 002E76AC 38 80 00 01 */ li r4, 1 +/* 802EA750 002E76B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA754 002E76B4 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802EA758 002E76B8 48 06 0E 15 */ bl SfxVolume__9CAudioSysFUlUc +/* 802EA75C 002E76BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA760 002E76C0 7C 08 03 A6 */ mtlr r0 +/* 802EA764 002E76C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA768 002E76C8 4E 80 00 20 */ blr + +.global SetVolume__Q211CSfxManager11CSfxWrapperFs +SetVolume__Q211CSfxManager11CSfxWrapperFs: +/* 802EA76C 002E76CC B0 83 00 20 */ sth r4, 0x20(r3) +/* 802EA770 002E76D0 4E 80 00 20 */ blr + +.global GetVoice__Q211CSfxManager11CSfxWrapperCFv +GetVoice__Q211CSfxManager11CSfxWrapperCFv: +/* 802EA774 002E76D4 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802EA778 002E76D8 4E 80 00 20 */ blr + +.global GetAudible__Q211CSfxManager11CSfxWrapperFRC9CVector3f +GetAudible__Q211CSfxManager11CSfxWrapperFRC9CVector3f: +/* 802EA77C 002E76DC 38 60 00 03 */ li r3, 3 +/* 802EA780 002E76E0 4E 80 00 20 */ blr + +.global Ready__Q211CSfxManager11CSfxWrapperFv +Ready__Q211CSfxManager11CSfxWrapperFv: +/* 802EA784 002E76E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA788 002E76E8 7C 08 02 A6 */ mflr r0 +/* 802EA78C 002E76EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA790 002E76F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EA794 002E76F4 3B E0 00 00 */ li r31, 0 +/* 802EA798 002E76F8 93 C1 00 08 */ stw r30, 8(r1) +/* 802EA79C 002E76FC 7C 7E 1B 78 */ mr r30, r3 +/* 802EA7A0 002E7700 81 83 00 00 */ lwz r12, 0(r3) +/* 802EA7A4 002E7704 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802EA7A8 002E7708 7D 89 03 A6 */ mtctr r12 +/* 802EA7AC 002E770C 4E 80 04 21 */ bctrl +/* 802EA7B0 002E7710 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EA7B4 002E7714 40 82 00 10 */ bne lbl_802EA7C4 +/* 802EA7B8 002E7718 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 802EA7BC 002E771C 28 00 00 00 */ cmplwi r0, 0 +/* 802EA7C0 002E7720 41 82 00 08 */ beq lbl_802EA7C8 +lbl_802EA7C4: +/* 802EA7C4 002E7724 3B E0 00 01 */ li r31, 1 +lbl_802EA7C8: +/* 802EA7C8 002E7728 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA7CC 002E772C 7F E3 FB 78 */ mr r3, r31 +/* 802EA7D0 002E7730 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EA7D4 002E7734 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EA7D8 002E7738 7C 08 03 A6 */ mtlr r0 +/* 802EA7DC 002E773C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA7E0 002E7740 4E 80 00 20 */ blr + +.global IsPlaying__Q211CSfxManager11CSfxWrapperCFv +IsPlaying__Q211CSfxManager11CSfxWrapperCFv: +/* 802EA7E4 002E7744 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA7E8 002E7748 7C 08 02 A6 */ mflr r0 +/* 802EA7EC 002E774C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA7F0 002E7750 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EA7F4 002E7754 3B E0 00 00 */ li r31, 0 +/* 802EA7F8 002E7758 93 C1 00 08 */ stw r30, 8(r1) +/* 802EA7FC 002E775C 7C 7E 1B 78 */ mr r30, r3 +/* 802EA800 002E7760 48 00 07 59 */ bl IsPlaying__Q211CSfxManager15CBaseSfxWrapperCFv +/* 802EA804 002E7764 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EA808 002E7768 41 82 00 1C */ beq lbl_802EA824 +/* 802EA80C 002E776C 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802EA810 002E7770 48 06 0D B5 */ bl SfxCheck__9CAudioSysFUl +/* 802EA814 002E7774 3C 03 00 01 */ addis r0, r3, 1 +/* 802EA818 002E7778 28 00 FF FF */ cmplwi r0, 0xffff +/* 802EA81C 002E777C 41 82 00 08 */ beq lbl_802EA824 +/* 802EA820 002E7780 3B E0 00 01 */ li r31, 1 +lbl_802EA824: +/* 802EA824 002E7784 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA828 002E7788 7F E3 FB 78 */ mr r3, r31 +/* 802EA82C 002E778C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EA830 002E7790 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EA834 002E7794 7C 08 03 A6 */ mtlr r0 +/* 802EA838 002E7798 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA83C 002E779C 4E 80 00 20 */ blr + +.global Stop__Q211CSfxManager11CSfxWrapperFv +Stop__Q211CSfxManager11CSfxWrapperFv: +/* 802EA840 002E77A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA844 002E77A4 7C 08 02 A6 */ mflr r0 +/* 802EA848 002E77A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA84C 002E77AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EA850 002E77B0 7C 7F 1B 78 */ mr r31, r3 +/* 802EA854 002E77B4 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802EA858 002E77B8 3C 03 00 01 */ addis r0, r3, 1 +/* 802EA85C 002E77BC 28 00 FF FF */ cmplwi r0, 0xffff +/* 802EA860 002E77C0 41 82 00 28 */ beq lbl_802EA888 +/* 802EA864 002E77C4 48 06 0D 81 */ bl SfxStop__9CAudioSysFUl +/* 802EA868 002E77C8 7F E3 FB 78 */ mr r3, r31 +/* 802EA86C 002E77CC 38 80 00 00 */ li r4, 0 +/* 802EA870 002E77D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EA874 002E77D4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802EA878 002E77D8 7D 89 03 A6 */ mtctr r12 +/* 802EA87C 002E77DC 4E 80 04 21 */ bctrl +/* 802EA880 002E77E0 38 00 FF FF */ li r0, -1 +/* 802EA884 002E77E4 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_802EA888: +/* 802EA888 002E77E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA88C 002E77EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EA890 002E77F0 7C 08 03 A6 */ mtlr r0 +/* 802EA894 002E77F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA898 002E77F8 4E 80 00 20 */ blr + +.global GetSFXId__Q211CSfxManager11CSfxWrapperCFv +GetSFXId__Q211CSfxManager11CSfxWrapperCFv: +/* 802EA89C 002E77FC A0 63 00 18 */ lhz r3, 0x18(r3) +/* 802EA8A0 002E7800 4E 80 00 20 */ blr + +.global Play__Q211CSfxManager11CSfxWrapperFv +Play__Q211CSfxManager11CSfxWrapperFv: +/* 802EA8A4 002E7804 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA8A8 002E7808 7C 08 02 A6 */ mflr r0 +/* 802EA8AC 002E780C 38 C0 00 00 */ li r6, 0 +/* 802EA8B0 002E7810 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA8B4 002E7814 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EA8B8 002E7818 7C 7F 1B 78 */ mr r31, r3 +/* 802EA8BC 002E781C A8 9F 00 20 */ lha r4, 0x20(r31) +/* 802EA8C0 002E7820 A8 1F 00 22 */ lha r0, 0x22(r31) +/* 802EA8C4 002E7824 A0 63 00 18 */ lhz r3, 0x18(r3) +/* 802EA8C8 002E7828 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 802EA8CC 002E782C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 802EA8D0 002E7830 48 06 0D 35 */ bl SfxStart__9CAudioSysFUsUcUcUc +/* 802EA8D4 002E7834 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 802EA8D8 002E7838 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802EA8DC 002E783C 3C 03 00 01 */ addis r0, r3, 1 +/* 802EA8E0 002E7840 28 00 FF FF */ cmplwi r0, 0xffff +/* 802EA8E4 002E7844 41 82 00 5C */ beq lbl_802EA940 +/* 802EA8E8 002E7848 4B FF DB 49 */ bl IsAuxProcessingEnabled__11CSfxManagerFv +/* 802EA8EC 002E784C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EA8F0 002E7850 41 82 00 38 */ beq lbl_802EA928 +/* 802EA8F4 002E7854 7F E3 FB 78 */ mr r3, r31 +/* 802EA8F8 002E7858 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EA8FC 002E785C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802EA900 002E7860 7D 89 03 A6 */ mtctr r12 +/* 802EA904 002E7864 4E 80 04 21 */ bctrl +/* 802EA908 002E7868 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EA90C 002E786C 41 82 00 1C */ beq lbl_802EA928 +/* 802EA910 002E7870 4B FF DB 01 */ bl GetReverbAmount__11CSfxManagerFv +/* 802EA914 002E7874 7C 60 1B 78 */ mr r0, r3 +/* 802EA918 002E7878 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802EA91C 002E787C 38 80 00 5B */ li r4, 0x5b +/* 802EA920 002E7880 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 802EA924 002E7884 48 06 0B FD */ bl SfxCtrl__9CAudioSysFUlUcUc +lbl_802EA928: +/* 802EA928 002E7888 7F E3 FB 78 */ mr r3, r31 +/* 802EA92C 002E788C 38 80 00 01 */ li r4, 1 +/* 802EA930 002E7890 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EA934 002E7894 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802EA938 002E7898 7D 89 03 A6 */ mtctr r12 +/* 802EA93C 002E789C 4E 80 04 21 */ bctrl +lbl_802EA940: +/* 802EA940 002E78A0 38 00 00 00 */ li r0, 0 +/* 802EA944 002E78A4 98 1F 00 24 */ stb r0, 0x24(r31) +/* 802EA948 002E78A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA94C 002E78AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EA950 002E78B0 7C 08 03 A6 */ mtlr r0 +/* 802EA954 002E78B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA958 002E78B8 4E 80 00 20 */ blr + +.global SetReverb__Q211CSfxManager11CSfxWrapperFc +SetReverb__Q211CSfxManager11CSfxWrapperFc: +/* 802EA95C 002E78BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EA960 002E78C0 7C 08 02 A6 */ mflr r0 +/* 802EA964 002E78C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EA968 002E78C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EA96C 002E78CC 7C 9F 23 78 */ mr r31, r4 +/* 802EA970 002E78D0 93 C1 00 08 */ stw r30, 8(r1) +/* 802EA974 002E78D4 7C 7E 1B 78 */ mr r30, r3 +/* 802EA978 002E78D8 4B FF DA B9 */ bl IsAuxProcessingEnabled__11CSfxManagerFv +/* 802EA97C 002E78DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EA980 002E78E0 41 82 00 30 */ beq lbl_802EA9B0 +/* 802EA984 002E78E4 7F C3 F3 78 */ mr r3, r30 +/* 802EA988 002E78E8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802EA98C 002E78EC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802EA990 002E78F0 7D 89 03 A6 */ mtctr r12 +/* 802EA994 002E78F4 4E 80 04 21 */ bctrl +/* 802EA998 002E78F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EA99C 002E78FC 41 82 00 14 */ beq lbl_802EA9B0 +/* 802EA9A0 002E7900 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802EA9A4 002E7904 57 E5 06 3E */ clrlwi r5, r31, 0x18 +/* 802EA9A8 002E7908 38 80 00 5B */ li r4, 0x5b +/* 802EA9AC 002E790C 48 06 0B 75 */ bl SfxCtrl__9CAudioSysFUlUcUc +lbl_802EA9B0: +/* 802EA9B0 002E7910 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EA9B4 002E7914 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EA9B8 002E7918 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EA9BC 002E791C 7C 08 03 A6 */ mtlr r0 +/* 802EA9C0 002E7920 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EA9C4 002E7924 4E 80 00 20 */ blr + +.global __ct__Q211CSfxManager11CSfxWrapperFbsUsss10CSfxHandlebi +__ct__Q211CSfxManager11CSfxWrapperFbsUsss10CSfxHandlebi: +/* 802EA9C8 002E7928 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EA9CC 002E792C 7C 08 02 A6 */ mflr r0 +/* 802EA9D0 002E7930 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EA9D4 002E7934 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EA9D8 002E7938 7D 1F 43 78 */ mr r31, r8 +/* 802EA9DC 002E793C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EA9E0 002E7940 7C FE 3B 78 */ mr r30, r7 +/* 802EA9E4 002E7944 7D 47 53 78 */ mr r7, r10 +/* 802EA9E8 002E7948 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EA9EC 002E794C 7C DD 33 78 */ mr r29, r6 +/* 802EA9F0 002E7950 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 802EA9F4 002E7954 93 81 00 10 */ stw r28, 0x10(r1) +/* 802EA9F8 002E7958 7C 7C 1B 78 */ mr r28, r3 +/* 802EA9FC 002E795C 7C C8 33 78 */ mr r8, r6 +/* 802EAA00 002E7960 38 C1 00 08 */ addi r6, r1, 8 +/* 802EAA04 002E7964 80 09 00 00 */ lwz r0, 0(r9) +/* 802EAA08 002E7968 90 01 00 08 */ stw r0, 8(r1) +/* 802EAA0C 002E796C 48 00 05 E1 */ bl __ct__Q211CSfxManager15CBaseSfxWrapperFbs10CSfxHandlebi +/* 802EAA10 002E7970 3C 60 80 3F */ lis r3, lbl_803ECE10@ha +/* 802EAA14 002E7974 38 80 FF FF */ li r4, -1 +/* 802EAA18 002E7978 38 63 CE 10 */ addi r3, r3, lbl_803ECE10@l +/* 802EAA1C 002E797C 38 00 00 01 */ li r0, 1 +/* 802EAA20 002E7980 90 7C 00 00 */ stw r3, 0(r28) +/* 802EAA24 002E7984 7F 83 E3 78 */ mr r3, r28 +/* 802EAA28 002E7988 B3 BC 00 18 */ sth r29, 0x18(r28) +/* 802EAA2C 002E798C 90 9C 00 1C */ stw r4, 0x1c(r28) +/* 802EAA30 002E7990 B3 DC 00 20 */ sth r30, 0x20(r28) +/* 802EAA34 002E7994 B3 FC 00 22 */ sth r31, 0x22(r28) +/* 802EAA38 002E7998 98 1C 00 24 */ stb r0, 0x24(r28) +/* 802EAA3C 002E799C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EAA40 002E79A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EAA44 002E79A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EAA48 002E79A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802EAA4C 002E79AC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802EAA50 002E79B0 7C 08 03 A6 */ mtlr r0 +/* 802EAA54 002E79B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EAA58 002E79B8 4E 80 00 20 */ blr + +.global UpdateEmitter__Q211CSfxManager18CSfxEmitterWrapperFv +UpdateEmitter__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EAA5C 002E79BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EAA60 002E79C0 7C 08 02 A6 */ mflr r0 +/* 802EAA64 002E79C4 7C 65 1B 78 */ mr r5, r3 +/* 802EAA68 002E79C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EAA6C 002E79CC 38 85 00 24 */ addi r4, r5, 0x24 +/* 802EAA70 002E79D0 38 A5 00 30 */ addi r5, r5, 0x30 +/* 802EAA74 002E79D4 88 C3 00 55 */ lbz r6, 0x55(r3) +/* 802EAA78 002E79D8 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802EAA7C 002E79DC 48 06 01 C5 */ bl S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc +/* 802EAA80 002E79E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EAA84 002E79E4 7C 08 03 A6 */ mtlr r0 +/* 802EAA88 002E79E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EAA8C 002E79EC 4E 80 00 20 */ blr + +.global UpdateEmitterSilent__Q211CSfxManager18CSfxEmitterWrapperFv +UpdateEmitterSilent__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EAA90 002E79F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EAA94 002E79F4 7C 08 02 A6 */ mflr r0 +/* 802EAA98 002E79F8 38 83 00 24 */ addi r4, r3, 0x24 +/* 802EAA9C 002E79FC 38 A3 00 30 */ addi r5, r3, 0x30 +/* 802EAAA0 002E7A00 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EAAA4 002E7A04 38 C0 00 01 */ li r6, 1 +/* 802EAAA8 002E7A08 88 03 00 4A */ lbz r0, 0x4a(r3) +/* 802EAAAC 002E7A0C 98 03 00 55 */ stb r0, 0x55(r3) +/* 802EAAB0 002E7A10 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802EAAB4 002E7A14 48 06 01 8D */ bl S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc +/* 802EAAB8 002E7A18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EAABC 002E7A1C 7C 08 03 A6 */ mtlr r0 +/* 802EAAC0 002E7A20 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EAAC4 002E7A24 4E 80 00 20 */ blr + +.global GetVoice__Q211CSfxManager18CSfxEmitterWrapperCFv +GetVoice__Q211CSfxManager18CSfxEmitterWrapperCFv: +/* 802EAAC8 002E7A28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EAACC 002E7A2C 7C 08 02 A6 */ mflr r0 +/* 802EAAD0 002E7A30 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EAAD4 002E7A34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EAAD8 002E7A38 7C 7F 1B 78 */ mr r31, r3 +/* 802EAADC 002E7A3C 81 83 00 00 */ lwz r12, 0(r3) +/* 802EAAE0 002E7A40 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802EAAE4 002E7A44 7D 89 03 A6 */ mtctr r12 +/* 802EAAE8 002E7A48 4E 80 04 21 */ bctrl +/* 802EAAEC 002E7A4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAAF0 002E7A50 41 82 00 10 */ beq lbl_802EAB00 +/* 802EAAF4 002E7A54 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 802EAAF8 002E7A58 48 05 FF 25 */ bl S3dEmitterVoiceID__9CAudioSysFUi +/* 802EAAFC 002E7A5C 48 00 00 08 */ b lbl_802EAB04 +lbl_802EAB00: +/* 802EAB00 002E7A60 38 60 FF FF */ li r3, -1 +lbl_802EAB04: +/* 802EAB04 002E7A64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EAB08 002E7A68 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EAB0C 002E7A6C 7C 08 03 A6 */ mtlr r0 +/* 802EAB10 002E7A70 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EAB14 002E7A74 4E 80 00 20 */ blr + +.global GetAudible__Q211CSfxManager18CSfxEmitterWrapperFRC9CVector3f +GetAudible__Q211CSfxManager18CSfxEmitterWrapperFRC9CVector3f: +/* 802EAB18 002E7A78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EAB1C 002E7A7C C0 43 00 28 */ lfs f2, 0x28(r3) +/* 802EAB20 002E7A80 C0 04 00 04 */ lfs f0, 4(r4) +/* 802EAB24 002E7A84 C0 23 00 24 */ lfs f1, 0x24(r3) +/* 802EAB28 002E7A88 EC A2 00 28 */ fsubs f5, f2, f0 +/* 802EAB2C 002E7A8C C0 04 00 00 */ lfs f0, 0(r4) +/* 802EAB30 002E7A90 C0 63 00 3C */ lfs f3, 0x3c(r3) +/* 802EAB34 002E7A94 EC 21 00 28 */ fsubs f1, f1, f0 +/* 802EAB38 002E7A98 C0 43 00 2C */ lfs f2, 0x2c(r3) +/* 802EAB3C 002E7A9C C0 04 00 08 */ lfs f0, 8(r4) +/* 802EAB40 002E7AA0 EC C3 00 F2 */ fmuls f6, f3, f3 +/* 802EAB44 002E7AA4 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802EAB48 002E7AA8 EC 82 00 28 */ fsubs f4, f2, f0 +/* 802EAB4C 002E7AAC EC 41 00 72 */ fmuls f2, f1, f1 +/* 802EAB50 002E7AB0 D0 21 00 08 */ stfs f1, 8(r1) +/* 802EAB54 002E7AB4 EC 25 01 72 */ fmuls f1, f5, f5 +/* 802EAB58 002E7AB8 C0 02 C6 1C */ lfs f0, lbl_805AE33C@sda21(r2) +/* 802EAB5C 002E7ABC EC 64 01 32 */ fmuls f3, f4, f4 +/* 802EAB60 002E7AC0 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802EAB64 002E7AC4 EC 22 08 2A */ fadds f1, f2, f1 +/* 802EAB68 002E7AC8 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802EAB6C 002E7ACC EC 23 08 2A */ fadds f1, f3, f1 +/* 802EAB70 002E7AD0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802EAB74 002E7AD4 40 80 00 0C */ bge lbl_802EAB80 +/* 802EAB78 002E7AD8 38 60 00 03 */ li r3, 3 +/* 802EAB7C 002E7ADC 48 00 00 2C */ b lbl_802EABA8 +lbl_802EAB80: +/* 802EAB80 002E7AE0 C0 02 C6 20 */ lfs f0, lbl_805AE340@sda21(r2) +/* 802EAB84 002E7AE4 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802EAB88 002E7AE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802EAB8C 002E7AEC 40 80 00 0C */ bge lbl_802EAB98 +/* 802EAB90 002E7AF0 38 60 00 02 */ li r3, 2 +/* 802EAB94 002E7AF4 48 00 00 14 */ b lbl_802EABA8 +lbl_802EAB98: +/* 802EAB98 002E7AF8 FC 01 30 40 */ fcmpo cr0, f1, f6 +/* 802EAB9C 002E7AFC 7C 00 00 26 */ mfcr r0 +/* 802EABA0 002E7B00 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802EABA4 002E7B04 7C 03 07 34 */ extsh r3, r0 +lbl_802EABA8: +/* 802EABA8 002E7B08 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EABAC 002E7B0C 4E 80 00 20 */ blr + +.global Ready__Q211CSfxManager18CSfxEmitterWrapperFv +Ready__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EABB0 002E7B10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EABB4 002E7B14 7C 08 02 A6 */ mflr r0 +/* 802EABB8 002E7B18 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EABBC 002E7B1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EABC0 002E7B20 3B E0 00 00 */ li r31, 0 +/* 802EABC4 002E7B24 93 C1 00 08 */ stw r30, 8(r1) +/* 802EABC8 002E7B28 7C 7E 1B 78 */ mr r30, r3 +/* 802EABCC 002E7B2C 81 83 00 00 */ lwz r12, 0(r3) +/* 802EABD0 002E7B30 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802EABD4 002E7B34 7D 89 03 A6 */ mtctr r12 +/* 802EABD8 002E7B38 4E 80 04 21 */ bctrl +/* 802EABDC 002E7B3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EABE0 002E7B40 40 82 00 10 */ bne lbl_802EABF0 +/* 802EABE4 002E7B44 88 1E 00 54 */ lbz r0, 0x54(r30) +/* 802EABE8 002E7B48 28 00 00 00 */ cmplwi r0, 0 +/* 802EABEC 002E7B4C 41 82 00 08 */ beq lbl_802EABF4 +lbl_802EABF0: +/* 802EABF0 002E7B50 3B E0 00 01 */ li r31, 1 +lbl_802EABF4: +/* 802EABF4 002E7B54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EABF8 002E7B58 7F E3 FB 78 */ mr r3, r31 +/* 802EABFC 002E7B5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EAC00 002E7B60 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EAC04 002E7B64 7C 08 03 A6 */ mtlr r0 +/* 802EAC08 002E7B68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EAC0C 002E7B6C 4E 80 00 20 */ blr + +.global IsPlaying__Q211CSfxManager18CSfxEmitterWrapperCFv +IsPlaying__Q211CSfxManager18CSfxEmitterWrapperCFv: +/* 802EAC10 002E7B70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EAC14 002E7B74 7C 08 02 A6 */ mflr r0 +/* 802EAC18 002E7B78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EAC1C 002E7B7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EAC20 002E7B80 93 C1 00 08 */ stw r30, 8(r1) +/* 802EAC24 002E7B84 7C 7E 1B 78 */ mr r30, r3 +/* 802EAC28 002E7B88 81 83 00 00 */ lwz r12, 0(r3) +/* 802EAC2C 002E7B8C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802EAC30 002E7B90 7D 89 03 A6 */ mtctr r12 +/* 802EAC34 002E7B94 4E 80 04 21 */ bctrl +/* 802EAC38 002E7B98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAC3C 002E7B9C 41 82 00 10 */ beq lbl_802EAC4C +/* 802EAC40 002E7BA0 7F C3 F3 78 */ mr r3, r30 +/* 802EAC44 002E7BA4 48 00 03 15 */ bl IsPlaying__Q211CSfxManager15CBaseSfxWrapperCFv +/* 802EAC48 002E7BA8 48 00 00 30 */ b lbl_802EAC78 +lbl_802EAC4C: +/* 802EAC4C 002E7BAC 7F C3 F3 78 */ mr r3, r30 +/* 802EAC50 002E7BB0 3B E0 00 00 */ li r31, 0 +/* 802EAC54 002E7BB4 48 00 03 05 */ bl IsPlaying__Q211CSfxManager15CBaseSfxWrapperCFv +/* 802EAC58 002E7BB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAC5C 002E7BBC 41 82 00 18 */ beq lbl_802EAC74 +/* 802EAC60 002E7BC0 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 802EAC64 002E7BC4 48 05 FE 11 */ bl S3dCheckEmitter__9CAudioSysFUi +/* 802EAC68 002E7BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAC6C 002E7BCC 41 82 00 08 */ beq lbl_802EAC74 +/* 802EAC70 002E7BD0 3B E0 00 01 */ li r31, 1 +lbl_802EAC74: +/* 802EAC74 002E7BD4 7F E3 FB 78 */ mr r3, r31 +lbl_802EAC78: +/* 802EAC78 002E7BD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EAC7C 002E7BDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EAC80 002E7BE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EAC84 002E7BE4 7C 08 03 A6 */ mtlr r0 +/* 802EAC88 002E7BE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EAC8C 002E7BEC 4E 80 00 20 */ blr + +.global GetHandle__Q211CSfxManager18CSfxEmitterWrapperCFv +GetHandle__Q211CSfxManager18CSfxEmitterWrapperCFv: +/* 802EAC90 002E7BF0 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802EAC94 002E7BF4 4E 80 00 20 */ blr + +.global GetEmitter__Q211CSfxManager18CSfxEmitterWrapperFv +GetEmitter__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EAC98 002E7BF8 38 63 00 24 */ addi r3, r3, 0x24 +/* 802EAC9C 002E7BFC 4E 80 00 20 */ blr + +.global Stop__Q211CSfxManager18CSfxEmitterWrapperFv +Stop__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EACA0 002E7C00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EACA4 002E7C04 7C 08 02 A6 */ mflr r0 +/* 802EACA8 002E7C08 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EACAC 002E7C0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EACB0 002E7C10 7C 7F 1B 78 */ mr r31, r3 +/* 802EACB4 002E7C14 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802EACB8 002E7C18 3C 03 00 01 */ addis r0, r3, 1 +/* 802EACBC 002E7C1C 28 00 FF FF */ cmplwi r0, 0xffff +/* 802EACC0 002E7C20 41 82 00 28 */ beq lbl_802EACE8 +/* 802EACC4 002E7C24 48 05 FF 15 */ bl S3dRemoveEmitter__9CAudioSysFUi +/* 802EACC8 002E7C28 7F E3 FB 78 */ mr r3, r31 +/* 802EACCC 002E7C2C 38 80 00 00 */ li r4, 0 +/* 802EACD0 002E7C30 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EACD4 002E7C34 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802EACD8 002E7C38 7D 89 03 A6 */ mtctr r12 +/* 802EACDC 002E7C3C 4E 80 04 21 */ bctrl +/* 802EACE0 002E7C40 38 00 FF FF */ li r0, -1 +/* 802EACE4 002E7C44 90 1F 00 50 */ stw r0, 0x50(r31) +lbl_802EACE8: +/* 802EACE8 002E7C48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EACEC 002E7C4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EACF0 002E7C50 7C 08 03 A6 */ mtlr r0 +/* 802EACF4 002E7C54 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EACF8 002E7C58 4E 80 00 20 */ blr + +.global GetSfxId__Q211CSfxManager18CSfxEmitterWrapperFv +GetSfxId__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EACFC 002E7C5C A0 63 00 48 */ lhz r3, 0x48(r3) +/* 802EAD00 002E7C60 4E 80 00 20 */ blr + +.global Play__Q211CSfxManager18CSfxEmitterWrapperFv +Play__Q211CSfxManager18CSfxEmitterWrapperFv: +/* 802EAD04 002E7C64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EAD08 002E7C68 7C 08 02 A6 */ mflr r0 +/* 802EAD0C 002E7C6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EAD10 002E7C70 38 00 00 01 */ li r0, 1 +/* 802EAD14 002E7C74 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EAD18 002E7C78 7C 7F 1B 78 */ mr r31, r3 +/* 802EAD1C 002E7C7C 98 03 00 1C */ stb r0, 0x1c(r3) +/* 802EAD20 002E7C80 38 7F 00 18 */ addi r3, r31, 0x18 +/* 802EAD24 002E7C84 38 00 00 5B */ li r0, 0x5b +/* 802EAD28 002E7C88 90 7F 00 20 */ stw r3, 0x20(r31) +/* 802EAD2C 002E7C8C 98 1F 00 18 */ stb r0, 0x18(r31) +/* 802EAD30 002E7C90 4B FF D7 01 */ bl IsAuxProcessingEnabled__11CSfxManagerFv +/* 802EAD34 002E7C94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAD38 002E7C98 41 82 00 2C */ beq lbl_802EAD64 +/* 802EAD3C 002E7C9C 7F E3 FB 78 */ mr r3, r31 +/* 802EAD40 002E7CA0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EAD44 002E7CA4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802EAD48 002E7CA8 7D 89 03 A6 */ mtctr r12 +/* 802EAD4C 002E7CAC 4E 80 04 21 */ bctrl +/* 802EAD50 002E7CB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAD54 002E7CB4 41 82 00 10 */ beq lbl_802EAD64 +/* 802EAD58 002E7CB8 4B FF D6 B9 */ bl GetReverbAmount__11CSfxManagerFv +/* 802EAD5C 002E7CBC 98 7F 00 1A */ stb r3, 0x1a(r31) +/* 802EAD60 002E7CC0 48 00 00 0C */ b lbl_802EAD6C +lbl_802EAD64: +/* 802EAD64 002E7CC4 38 00 00 00 */ li r0, 0 +/* 802EAD68 002E7CC8 98 1F 00 1A */ stb r0, 0x1a(r31) +lbl_802EAD6C: +/* 802EAD6C 002E7CCC 7F E4 FB 78 */ mr r4, r31 +/* 802EAD70 002E7CD0 38 61 00 08 */ addi r3, r1, 8 +/* 802EAD74 002E7CD4 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EAD78 002E7CD8 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802EAD7C 002E7CDC 7D 89 03 A6 */ mtctr r12 +/* 802EAD80 002E7CE0 4E 80 04 21 */ bctrl +/* 802EAD84 002E7CE4 80 01 00 08 */ lwz r0, 8(r1) +/* 802EAD88 002E7CE8 38 7F 00 24 */ addi r3, r31, 0x24 +/* 802EAD8C 002E7CEC 38 BF 00 1C */ addi r5, r31, 0x1c +/* 802EAD90 002E7CF0 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 802EAD94 002E7CF4 48 05 FF 31 */ bl S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO +/* 802EAD98 002E7CF8 90 7F 00 50 */ stw r3, 0x50(r31) +/* 802EAD9C 002E7CFC 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 802EADA0 002E7D00 3C 03 00 01 */ addis r0, r3, 1 +/* 802EADA4 002E7D04 28 00 FF FF */ cmplwi r0, 0xffff +/* 802EADA8 002E7D08 41 82 00 1C */ beq lbl_802EADC4 +/* 802EADAC 002E7D0C 7F E3 FB 78 */ mr r3, r31 +/* 802EADB0 002E7D10 38 80 00 01 */ li r4, 1 +/* 802EADB4 002E7D14 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EADB8 002E7D18 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802EADBC 002E7D1C 7D 89 03 A6 */ mtctr r12 +/* 802EADC0 002E7D20 4E 80 04 21 */ bctrl +lbl_802EADC4: +/* 802EADC4 002E7D24 38 00 00 00 */ li r0, 0 +/* 802EADC8 002E7D28 98 1F 00 54 */ stb r0, 0x54(r31) +/* 802EADCC 002E7D2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EADD0 002E7D30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EADD4 002E7D34 7C 08 03 A6 */ mtlr r0 +/* 802EADD8 002E7D38 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EADDC 002E7D3C 4E 80 00 20 */ blr + +.global SetReverb__Q211CSfxManager18CSfxEmitterWrapperFc +SetReverb__Q211CSfxManager18CSfxEmitterWrapperFc: +/* 802EADE0 002E7D40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EADE4 002E7D44 7C 08 02 A6 */ mflr r0 +/* 802EADE8 002E7D48 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EADEC 002E7D4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EADF0 002E7D50 7C 9F 23 78 */ mr r31, r4 +/* 802EADF4 002E7D54 93 C1 00 08 */ stw r30, 8(r1) +/* 802EADF8 002E7D58 7C 7E 1B 78 */ mr r30, r3 +/* 802EADFC 002E7D5C 4B FF D6 35 */ bl IsAuxProcessingEnabled__11CSfxManagerFv +/* 802EAE00 002E7D60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAE04 002E7D64 41 82 00 24 */ beq lbl_802EAE28 +/* 802EAE08 002E7D68 7F C3 F3 78 */ mr r3, r30 +/* 802EAE0C 002E7D6C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802EAE10 002E7D70 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802EAE14 002E7D74 7D 89 03 A6 */ mtctr r12 +/* 802EAE18 002E7D78 4E 80 04 21 */ bctrl +/* 802EAE1C 002E7D7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EAE20 002E7D80 41 82 00 08 */ beq lbl_802EAE28 +/* 802EAE24 002E7D84 9B FE 00 1A */ stb r31, 0x1a(r30) +lbl_802EAE28: +/* 802EAE28 002E7D88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EAE2C 002E7D8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EAE30 002E7D90 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EAE34 002E7D94 7C 08 03 A6 */ mtlr r0 +/* 802EAE38 002E7D98 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EAE3C 002E7D9C 4E 80 00 20 */ blr + +.global __ct__Q211CSfxManager18CSfxEmitterWrapperFbsRQ29CAudioSys18C3DEmitterParmData10CSfxHandlebi +__ct__Q211CSfxManager18CSfxEmitterWrapperFbsRQ29CAudioSys18C3DEmitterParmData10CSfxHandlebi: +/* 802EAE40 002E7DA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EAE44 002E7DA4 7C 08 02 A6 */ mflr r0 +/* 802EAE48 002E7DA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EAE4C 002E7DAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EAE50 002E7DB0 7C DF 33 78 */ mr r31, r6 +/* 802EAE54 002E7DB4 38 C1 00 08 */ addi r6, r1, 8 +/* 802EAE58 002E7DB8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EAE5C 002E7DBC 7C 7E 1B 78 */ mr r30, r3 +/* 802EAE60 002E7DC0 80 07 00 00 */ lwz r0, 0(r7) +/* 802EAE64 002E7DC4 7D 07 43 78 */ mr r7, r8 +/* 802EAE68 002E7DC8 7D 28 4B 78 */ mr r8, r9 +/* 802EAE6C 002E7DCC 90 01 00 08 */ stw r0, 8(r1) +/* 802EAE70 002E7DD0 48 00 01 7D */ bl __ct__Q211CSfxManager15CBaseSfxWrapperFbs10CSfxHandlebi +/* 802EAE74 002E7DD4 3C 60 80 3F */ lis r3, lbl_803ECE80@ha +/* 802EAE78 002E7DD8 38 80 FF FF */ li r4, -1 +/* 802EAE7C 002E7DDC 38 63 CE 80 */ addi r3, r3, lbl_803ECE80@l +/* 802EAE80 002E7DE0 38 00 00 01 */ li r0, 1 +/* 802EAE84 002E7DE4 90 7E 00 00 */ stw r3, 0(r30) +/* 802EAE88 002E7DE8 7F C3 F3 78 */ mr r3, r30 +/* 802EAE8C 002E7DEC C0 1F 00 00 */ lfs f0, 0(r31) +/* 802EAE90 002E7DF0 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 802EAE94 002E7DF4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802EAE98 002E7DF8 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 802EAE9C 002E7DFC C0 1F 00 08 */ lfs f0, 8(r31) +/* 802EAEA0 002E7E00 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802EAEA4 002E7E04 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802EAEA8 002E7E08 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 802EAEAC 002E7E0C C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 802EAEB0 002E7E10 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 802EAEB4 002E7E14 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802EAEB8 002E7E18 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 802EAEBC 002E7E1C C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 802EAEC0 002E7E20 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802EAEC4 002E7E24 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802EAEC8 002E7E28 D0 1E 00 40 */ stfs f0, 0x40(r30) +/* 802EAECC 002E7E2C 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802EAED0 002E7E30 90 BE 00 44 */ stw r5, 0x44(r30) +/* 802EAED4 002E7E34 A0 BF 00 24 */ lhz r5, 0x24(r31) +/* 802EAED8 002E7E38 B0 BE 00 48 */ sth r5, 0x48(r30) +/* 802EAEDC 002E7E3C 88 BF 00 26 */ lbz r5, 0x26(r31) +/* 802EAEE0 002E7E40 98 BE 00 4A */ stb r5, 0x4a(r30) +/* 802EAEE4 002E7E44 88 BF 00 27 */ lbz r5, 0x27(r31) +/* 802EAEE8 002E7E48 98 BE 00 4B */ stb r5, 0x4b(r30) +/* 802EAEEC 002E7E4C 88 BF 00 28 */ lbz r5, 0x28(r31) +/* 802EAEF0 002E7E50 98 BE 00 4C */ stb r5, 0x4c(r30) +/* 802EAEF4 002E7E54 88 BF 00 29 */ lbz r5, 0x29(r31) +/* 802EAEF8 002E7E58 98 BE 00 4D */ stb r5, 0x4d(r30) +/* 802EAEFC 002E7E5C 90 9E 00 50 */ stw r4, 0x50(r30) +/* 802EAF00 002E7E60 98 1E 00 54 */ stb r0, 0x54(r30) +/* 802EAF04 002E7E64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EAF08 002E7E68 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EAF0C 002E7E6C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EAF10 002E7E70 7C 08 03 A6 */ mtlr r0 +/* 802EAF14 002E7E74 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EAF18 002E7E78 4E 80 00 20 */ blr + +.global GetArea__Q211CSfxManager15CBaseSfxWrapperCFv +GetArea__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF1C 002E7E7C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802EAF20 002E7E80 4E 80 00 20 */ blr + +.global GetSfxHandle__Q211CSfxManager15CBaseSfxWrapperCFv +GetSfxHandle__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF24 002E7E84 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802EAF28 002E7E88 90 03 00 00 */ stw r0, 0(r3) +/* 802EAF2C 002E7E8C 4E 80 00 20 */ blr + +.global GetPriority__Q211CSfxManager15CBaseSfxWrapperCFv +GetPriority__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF30 002E7E90 A8 63 00 0A */ lha r3, 0xa(r3) +/* 802EAF34 002E7E94 4E 80 00 20 */ blr + +.global GetRank__Q211CSfxManager15CBaseSfxWrapperCFv +GetRank__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF38 002E7E98 A8 63 00 08 */ lha r3, 8(r3) +/* 802EAF3C 002E7E9C 4E 80 00 20 */ blr + +.global UseAcoustics__Q211CSfxManager15CBaseSfxWrapperCFv +UseAcoustics__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF40 002E7EA0 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAF44 002E7EA4 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f +/* 802EAF48 002E7EA8 4E 80 00 20 */ blr + +.global IsActive__Q211CSfxManager15CBaseSfxWrapperCFv +IsActive__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF4C 002E7EAC 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAF50 002E7EB0 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 802EAF54 002E7EB4 4E 80 00 20 */ blr + +.global IsPlaying__Q211CSfxManager15CBaseSfxWrapperCFv +IsPlaying__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF58 002E7EB8 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAF5C 002E7EBC 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 802EAF60 002E7EC0 4E 80 00 20 */ blr + +.global IsInArea__Q211CSfxManager15CBaseSfxWrapperCFv +IsInArea__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF64 002E7EC4 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAF68 002E7EC8 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 802EAF6C 002E7ECC 4E 80 00 20 */ blr + +.global IsLooped__Q211CSfxManager15CBaseSfxWrapperCFv +IsLooped__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAF70 002E7ED0 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAF74 002E7ED4 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f +/* 802EAF78 002E7ED8 4E 80 00 20 */ blr + +.global SetRank__Q211CSfxManager15CBaseSfxWrapperFs +SetRank__Q211CSfxManager15CBaseSfxWrapperFs: +/* 802EAF7C 002E7EDC B0 83 00 08 */ sth r4, 8(r3) +/* 802EAF80 002E7EE0 4E 80 00 20 */ blr + +.global SetInArea__Q211CSfxManager15CBaseSfxWrapperFb +SetInArea__Q211CSfxManager15CBaseSfxWrapperFb: +/* 802EAF84 002E7EE4 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAF88 002E7EE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 802EAF8C 002E7EEC 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EAF90 002E7EF0 4E 80 00 20 */ blr + +.global SetPlaying__Q211CSfxManager15CBaseSfxWrapperFb +SetPlaying__Q211CSfxManager15CBaseSfxWrapperFb: +/* 802EAF94 002E7EF4 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAF98 002E7EF8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802EAF9C 002E7EFC 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EAFA0 002E7F00 4E 80 00 20 */ blr + +.global SetActive__Q211CSfxManager15CBaseSfxWrapperFb +SetActive__Q211CSfxManager15CBaseSfxWrapperFb: +/* 802EAFA4 002E7F04 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAFA8 002E7F08 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802EAFAC 002E7F0C 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EAFB0 002E7F10 4E 80 00 20 */ blr + +.global SetTimeRemaining__Q211CSfxManager15CBaseSfxWrapperFf +SetTimeRemaining__Q211CSfxManager15CBaseSfxWrapperFf: +/* 802EAFB4 002E7F14 D0 23 00 04 */ stfs f1, 4(r3) +/* 802EAFB8 002E7F18 4E 80 00 20 */ blr + +.global GetTimeRemaining__Q211CSfxManager15CBaseSfxWrapperFv +GetTimeRemaining__Q211CSfxManager15CBaseSfxWrapperFv: +/* 802EAFBC 002E7F1C C0 23 00 04 */ lfs f1, 4(r3) +/* 802EAFC0 002E7F20 4E 80 00 20 */ blr + +.global Release__Q211CSfxManager15CBaseSfxWrapperFv +Release__Q211CSfxManager15CBaseSfxWrapperFv: +/* 802EAFC4 002E7F24 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAFC8 002E7F28 38 80 00 01 */ li r4, 1 +/* 802EAFCC 002E7F2C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 802EAFD0 002E7F30 C0 02 C6 24 */ lfs f0, lbl_805AE344@sda21(r2) +/* 802EAFD4 002E7F34 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EAFD8 002E7F38 D0 03 00 04 */ stfs f0, 4(r3) +/* 802EAFDC 002E7F3C 4E 80 00 20 */ blr + +.global Available__Q211CSfxManager15CBaseSfxWrapperCFv +Available__Q211CSfxManager15CBaseSfxWrapperCFv: +/* 802EAFE0 002E7F40 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EAFE4 002E7F44 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 802EAFE8 002E7F48 4E 80 00 20 */ blr + +.global __ct__Q211CSfxManager15CBaseSfxWrapperFbs10CSfxHandlebi +__ct__Q211CSfxManager15CBaseSfxWrapperFbs10CSfxHandlebi: +/* 802EAFEC 002E7F4C 3D 20 80 3F */ lis r9, lbl_803ECEE4@ha +/* 802EAFF0 002E7F50 C0 02 C6 24 */ lfs f0, lbl_805AE344@sda21(r2) +/* 802EAFF4 002E7F54 38 09 CE E4 */ addi r0, r9, lbl_803ECEE4@l +/* 802EAFF8 002E7F58 39 60 00 00 */ li r11, 0 +/* 802EAFFC 002E7F5C 90 03 00 00 */ stw r0, 0(r3) +/* 802EB000 002E7F60 39 40 00 01 */ li r10, 1 +/* 802EB004 002E7F64 D0 03 00 04 */ stfs f0, 4(r3) +/* 802EB008 002E7F68 B1 63 00 08 */ sth r11, 8(r3) +/* 802EB00C 002E7F6C B0 A3 00 0A */ sth r5, 0xa(r3) +/* 802EB010 002E7F70 80 06 00 00 */ lwz r0, 0(r6) +/* 802EB014 002E7F74 90 03 00 0C */ stw r0, 0xc(r3) +/* 802EB018 002E7F78 91 03 00 10 */ stw r8, 0x10(r3) +/* 802EB01C 002E7F7C 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EB020 002E7F80 51 40 3E 30 */ rlwimi r0, r10, 7, 0x18, 0x18 +/* 802EB024 002E7F84 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EB028 002E7F88 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EB02C 002E7F8C 51 60 36 72 */ rlwimi r0, r11, 6, 0x19, 0x19 +/* 802EB030 002E7F90 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EB034 002E7F94 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EB038 002E7F98 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802EB03C 002E7F9C 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EB040 002E7FA0 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EB044 002E7FA4 51 40 26 F6 */ rlwimi r0, r10, 4, 0x1b, 0x1b +/* 802EB048 002E7FA8 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EB04C 002E7FAC 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EB050 002E7FB0 51 60 1F 38 */ rlwimi r0, r11, 3, 0x1c, 0x1c +/* 802EB054 002E7FB4 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EB058 002E7FB8 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802EB05C 002E7FBC 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 802EB060 002E7FC0 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EB064 002E7FC4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl36vectorFi" +"reserve__Q24rstl36vectorFi": +/* 802EB068 002E7FC8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EB06C 002E7FCC 7C 08 02 A6 */ mflr r0 +/* 802EB070 002E7FD0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EB074 002E7FD4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802EB078 002E7FD8 7C 9F 23 78 */ mr r31, r4 +/* 802EB07C 002E7FDC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EB080 002E7FE0 7C 7E 1B 78 */ mr r30, r3 +/* 802EB084 002E7FE4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EB088 002E7FE8 80 03 00 08 */ lwz r0, 8(r3) +/* 802EB08C 002E7FEC 7C 1F 00 00 */ cmpw r31, r0 +/* 802EB090 002E7FF0 40 81 00 A8 */ ble lbl_802EB138 +/* 802EB094 002E7FF4 57 E3 08 3D */ rlwinm. r3, r31, 1, 0, 0x1e +/* 802EB098 002E7FF8 40 82 00 0C */ bne lbl_802EB0A4 +/* 802EB09C 002E7FFC 3B A0 00 00 */ li r29, 0 +/* 802EB0A0 002E8000 48 00 00 18 */ b lbl_802EB0B8 +lbl_802EB0A4: +/* 802EB0A4 002E8004 3C 80 80 3D */ lis r4, lbl_803D6DC8@ha +/* 802EB0A8 002E8008 38 A0 00 00 */ li r5, 0 +/* 802EB0AC 002E800C 38 84 6D C8 */ addi r4, r4, lbl_803D6DC8@l +/* 802EB0B0 002E8010 48 02 A7 69 */ bl __nwa__FUlPCcPCc +/* 802EB0B4 002E8014 7C 7D 1B 78 */ mr r29, r3 +lbl_802EB0B8: +/* 802EB0B8 002E8018 80 1E 00 04 */ lwz r0, 4(r30) +/* 802EB0BC 002E801C 7F A4 EB 78 */ mr r4, r29 +/* 802EB0C0 002E8020 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802EB0C4 002E8024 54 00 08 3C */ slwi r0, r0, 1 +/* 802EB0C8 002E8028 7C 65 02 14 */ add r3, r5, r0 +/* 802EB0CC 002E802C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802EB0D0 002E8030 90 61 00 08 */ stw r3, 8(r1) +/* 802EB0D4 002E8034 90 61 00 0C */ stw r3, 0xc(r1) +/* 802EB0D8 002E8038 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802EB0DC 002E803C 48 00 00 1C */ b lbl_802EB0F8 +lbl_802EB0E0: +/* 802EB0E0 002E8040 28 04 00 00 */ cmplwi r4, 0 +/* 802EB0E4 002E8044 41 82 00 0C */ beq lbl_802EB0F0 +/* 802EB0E8 002E8048 A8 05 00 00 */ lha r0, 0(r5) +/* 802EB0EC 002E804C B0 04 00 00 */ sth r0, 0(r4) +lbl_802EB0F0: +/* 802EB0F0 002E8050 38 84 00 02 */ addi r4, r4, 2 +/* 802EB0F4 002E8054 38 A5 00 02 */ addi r5, r5, 2 +lbl_802EB0F8: +/* 802EB0F8 002E8058 7C 05 18 40 */ cmplw r5, r3 +/* 802EB0FC 002E805C 40 82 FF E4 */ bne lbl_802EB0E0 +/* 802EB100 002E8060 80 1E 00 04 */ lwz r0, 4(r30) +/* 802EB104 002E8064 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802EB108 002E8068 54 00 08 3C */ slwi r0, r0, 1 +/* 802EB10C 002E806C 7C 64 1B 78 */ mr r4, r3 +/* 802EB110 002E8070 7C 03 02 14 */ add r0, r3, r0 +/* 802EB114 002E8074 48 00 00 08 */ b lbl_802EB11C +lbl_802EB118: +/* 802EB118 002E8078 38 84 00 02 */ addi r4, r4, 2 +lbl_802EB11C: +/* 802EB11C 002E807C 7C 04 00 40 */ cmplw r4, r0 +/* 802EB120 002E8080 40 82 FF F8 */ bne lbl_802EB118 +/* 802EB124 002E8084 28 03 00 00 */ cmplwi r3, 0 +/* 802EB128 002E8088 41 82 00 08 */ beq lbl_802EB130 +/* 802EB12C 002E808C 48 02 A8 05 */ bl Free__7CMemoryFPCv +lbl_802EB130: +/* 802EB130 002E8090 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802EB134 002E8094 93 FE 00 08 */ stw r31, 8(r30) +lbl_802EB138: +/* 802EB138 002E8098 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802EB13C 002E809C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802EB140 002E80A0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802EB144 002E80A4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802EB148 002E80A8 7C 08 03 A6 */ mtlr r0 +/* 802EB14C 002E80AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802EB150 002E80B0 4E 80 00 20 */ blr + +.global __sinit_CSfxManager_cpp +__sinit_CSfxManager_cpp: +/* 802EB154 002E80B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EB158 002E80B8 7C 08 02 A6 */ mflr r0 +/* 802EB15C 002E80BC 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802EB160 002E80C0 3C 80 80 2F */ lis r4, __ct__Q211CSfxManager11CSfxChannelFv@ha +/* 802EB164 002E80C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EB168 002E80C8 3C A0 80 2F */ lis r5, __dt__Q211CSfxManager11CSfxChannelFv@ha +/* 802EB16C 002E80CC 3C C0 80 48 */ lis r6, lbl_80479BA0@ha +/* 802EB170 002E80D0 38 63 FD 48 */ addi r3, r3, lbl_8059FD48@l +/* 802EB174 002E80D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EB178 002E80D8 3B E6 9B A0 */ addi r31, r6, lbl_80479BA0@l +/* 802EB17C 002E80DC 38 84 B4 20 */ addi r4, r4, __ct__Q211CSfxManager11CSfxChannelFv@l +/* 802EB180 002E80E0 38 A5 B3 84 */ addi r5, r5, __dt__Q211CSfxManager11CSfxChannelFv@l +/* 802EB184 002E80E4 38 C0 01 6C */ li r6, 0x16c +/* 802EB188 002E80E8 38 E0 00 04 */ li r7, 4 +/* 802EB18C 002E80EC 48 09 E5 C1 */ bl __construct_array +/* 802EB190 002E80F0 3C 60 80 2F */ lis r3, __arraydtor$2309@ha +/* 802EB194 002E80F4 38 BF 00 00 */ addi r5, r31, 0 +/* 802EB198 002E80F8 38 83 B3 4C */ addi r4, r3, __arraydtor$2309@l +/* 802EB19C 002E80FC 38 60 00 00 */ li r3, 0 +/* 802EB1A0 002E8100 48 09 E4 ED */ bl __register_global_object +/* 802EB1A4 002E8104 38 00 00 00 */ li r0, 0 +/* 802EB1A8 002E8108 38 CD A7 10 */ addi r6, r13, lbl_805A92D0@sda21 +/* 802EB1AC 002E810C 3C 60 80 2F */ lis r3, sub_802e8b90@ha +/* 802EB1B0 002E8110 98 0D A7 10 */ stb r0, lbl_805A92D0@sda21(r13) +/* 802EB1B4 002E8114 38 83 8B 90 */ addi r4, r3, sub_802e8b90@l +/* 802EB1B8 002E8118 38 BF 00 0C */ addi r5, r31, 0xc +/* 802EB1BC 002E811C 90 06 00 04 */ stw r0, 4(r6) +/* 802EB1C0 002E8120 38 6D A7 10 */ addi r3, r13, lbl_805A92D0@sda21 +/* 802EB1C4 002E8124 48 09 E4 C9 */ bl __register_global_object +/* 802EB1C8 002E8128 38 00 00 00 */ li r0, 0 +/* 802EB1CC 002E812C 3C 60 80 5A */ lis r3, lbl_805A2B60@ha +/* 802EB1D0 002E8130 3C 80 80 2F */ lis r4, "__dt__Q24rstl56reserved_vectorFv"@ha +/* 802EB1D4 002E8134 94 03 2B 60 */ stwu r0, lbl_805A2B60@l(r3) +/* 802EB1D8 002E8138 38 84 B2 B0 */ addi r4, r4, "__dt__Q24rstl56reserved_vectorFv"@l +/* 802EB1DC 002E813C 38 BF 00 18 */ addi r5, r31, 0x18 +/* 802EB1E0 002E8140 48 09 E4 AD */ bl __register_global_object +/* 802EB1E4 002E8144 38 00 00 00 */ li r0, 0 +/* 802EB1E8 002E8148 3C 60 80 5A */ lis r3, lbl_805A4164@ha +/* 802EB1EC 002E814C 3C 80 80 2F */ lis r4, "__dt__Q24rstl49reserved_vectorFv"@ha +/* 802EB1F0 002E8150 94 03 41 64 */ stwu r0, lbl_805A4164@l(r3) +/* 802EB1F4 002E8154 38 84 B2 14 */ addi r4, r4, "__dt__Q24rstl49reserved_vectorFv"@l +/* 802EB1F8 002E8158 38 BF 00 24 */ addi r5, r31, 0x24 +/* 802EB1FC 002E815C 48 09 E4 91 */ bl __register_global_object +/* 802EB200 002E8160 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EB204 002E8164 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EB208 002E8168 7C 08 03 A6 */ mtlr r0 +/* 802EB20C 002E816C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EB210 002E8170 4E 80 00 20 */ blr + +.global "__dt__Q24rstl49reserved_vectorFv" +"__dt__Q24rstl49reserved_vectorFv": +/* 802EB214 002E8174 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EB218 002E8178 7C 08 02 A6 */ mflr r0 +/* 802EB21C 002E817C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EB220 002E8180 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EB224 002E8184 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EB228 002E8188 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EB22C 002E818C 7C 9D 23 78 */ mr r29, r4 +/* 802EB230 002E8190 93 81 00 10 */ stw r28, 0x10(r1) +/* 802EB234 002E8194 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802EB238 002E8198 41 82 00 54 */ beq lbl_802EB28C +/* 802EB23C 002E819C 3B DC 00 04 */ addi r30, r28, 4 +/* 802EB240 002E81A0 3B E0 00 00 */ li r31, 0 +/* 802EB244 002E81A4 48 00 00 24 */ b lbl_802EB268 +lbl_802EB248: +/* 802EB248 002E81A8 7F C3 F3 78 */ mr r3, r30 +/* 802EB24C 002E81AC 38 80 FF FF */ li r4, -1 +/* 802EB250 002E81B0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802EB254 002E81B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EB258 002E81B8 7D 89 03 A6 */ mtctr r12 +/* 802EB25C 002E81BC 4E 80 04 21 */ bctrl +/* 802EB260 002E81C0 3B DE 00 28 */ addi r30, r30, 0x28 +/* 802EB264 002E81C4 3B FF 00 01 */ addi r31, r31, 1 +lbl_802EB268: +/* 802EB268 002E81C8 80 1C 00 00 */ lwz r0, 0(r28) +/* 802EB26C 002E81CC 7C 1F 00 00 */ cmpw r31, r0 +/* 802EB270 002E81D0 41 80 FF D8 */ blt lbl_802EB248 +/* 802EB274 002E81D4 38 60 00 00 */ li r3, 0 +/* 802EB278 002E81D8 7F A0 07 35 */ extsh. r0, r29 +/* 802EB27C 002E81DC 90 7C 00 00 */ stw r3, 0(r28) +/* 802EB280 002E81E0 40 81 00 0C */ ble lbl_802EB28C +/* 802EB284 002E81E4 7F 83 E3 78 */ mr r3, r28 +/* 802EB288 002E81E8 48 02 A6 A9 */ bl Free__7CMemoryFPCv +lbl_802EB28C: +/* 802EB28C 002E81EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EB290 002E81F0 7F 83 E3 78 */ mr r3, r28 +/* 802EB294 002E81F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EB298 002E81F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EB29C 002E81FC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802EB2A0 002E8200 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802EB2A4 002E8204 7C 08 03 A6 */ mtlr r0 +/* 802EB2A8 002E8208 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EB2AC 002E820C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl56reserved_vectorFv" +"__dt__Q24rstl56reserved_vectorFv": +/* 802EB2B0 002E8210 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EB2B4 002E8214 7C 08 02 A6 */ mflr r0 +/* 802EB2B8 002E8218 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EB2BC 002E821C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EB2C0 002E8220 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EB2C4 002E8224 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EB2C8 002E8228 7C 9D 23 78 */ mr r29, r4 +/* 802EB2CC 002E822C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802EB2D0 002E8230 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802EB2D4 002E8234 41 82 00 54 */ beq lbl_802EB328 +/* 802EB2D8 002E8238 3B DC 00 04 */ addi r30, r28, 4 +/* 802EB2DC 002E823C 3B E0 00 00 */ li r31, 0 +/* 802EB2E0 002E8240 48 00 00 24 */ b lbl_802EB304 +lbl_802EB2E4: +/* 802EB2E4 002E8244 7F C3 F3 78 */ mr r3, r30 +/* 802EB2E8 002E8248 38 80 FF FF */ li r4, -1 +/* 802EB2EC 002E824C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802EB2F0 002E8250 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EB2F4 002E8254 7D 89 03 A6 */ mtctr r12 +/* 802EB2F8 002E8258 4E 80 04 21 */ bctrl +/* 802EB2FC 002E825C 3B DE 00 58 */ addi r30, r30, 0x58 +/* 802EB300 002E8260 3B FF 00 01 */ addi r31, r31, 1 +lbl_802EB304: +/* 802EB304 002E8264 80 1C 00 00 */ lwz r0, 0(r28) +/* 802EB308 002E8268 7C 1F 00 00 */ cmpw r31, r0 +/* 802EB30C 002E826C 41 80 FF D8 */ blt lbl_802EB2E4 +/* 802EB310 002E8270 38 60 00 00 */ li r3, 0 +/* 802EB314 002E8274 7F A0 07 35 */ extsh. r0, r29 +/* 802EB318 002E8278 90 7C 00 00 */ stw r3, 0(r28) +/* 802EB31C 002E827C 40 81 00 0C */ ble lbl_802EB328 +/* 802EB320 002E8280 7F 83 E3 78 */ mr r3, r28 +/* 802EB324 002E8284 48 02 A6 0D */ bl Free__7CMemoryFPCv +lbl_802EB328: +/* 802EB328 002E8288 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EB32C 002E828C 7F 83 E3 78 */ mr r3, r28 +/* 802EB330 002E8290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EB334 002E8294 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EB338 002E8298 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802EB33C 002E829C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802EB340 002E82A0 7C 08 03 A6 */ mtlr r0 +/* 802EB344 002E82A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EB348 002E82A8 4E 80 00 20 */ blr + +.global __arraydtor$2309 +__arraydtor$2309: +/* 802EB34C 002E82AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EB350 002E82B0 7C 08 02 A6 */ mflr r0 +/* 802EB354 002E82B4 3C 60 80 5A */ lis r3, lbl_8059FD48@ha +/* 802EB358 002E82B8 3C 80 80 2F */ lis r4, __dt__Q211CSfxManager11CSfxChannelFv@ha +/* 802EB35C 002E82BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EB360 002E82C0 38 63 FD 48 */ addi r3, r3, lbl_8059FD48@l +/* 802EB364 002E82C4 38 A0 01 6C */ li r5, 0x16c +/* 802EB368 002E82C8 38 84 B3 84 */ addi r4, r4, __dt__Q211CSfxManager11CSfxChannelFv@l +/* 802EB36C 002E82CC 38 C0 00 04 */ li r6, 4 +/* 802EB370 002E82D0 48 09 E3 65 */ bl __destroy_arr +/* 802EB374 002E82D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EB378 002E82D8 7C 08 03 A6 */ mtlr r0 +/* 802EB37C 002E82DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EB380 002E82E0 4E 80 00 20 */ blr + +.global __dt__Q211CSfxManager11CSfxChannelFv +__dt__Q211CSfxManager11CSfxChannelFv: +/* 802EB384 002E82E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EB388 002E82E8 7C 08 02 A6 */ mflr r0 +/* 802EB38C 002E82EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EB390 002E82F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EB394 002E82F4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802EB398 002E82F8 41 82 00 70 */ beq lbl_802EB408 +/* 802EB39C 002E82FC 34 1F 00 48 */ addic. r0, r31, 0x48 +/* 802EB3A0 002E8300 41 82 00 58 */ beq lbl_802EB3F8 +/* 802EB3A4 002E8304 80 DF 00 48 */ lwz r6, 0x48(r31) +/* 802EB3A8 002E8308 38 60 00 00 */ li r3, 0 +/* 802EB3AC 002E830C 2C 06 00 00 */ cmpwi r6, 0 +/* 802EB3B0 002E8310 40 81 00 40 */ ble lbl_802EB3F0 +/* 802EB3B4 002E8314 2C 06 00 08 */ cmpwi r6, 8 +/* 802EB3B8 002E8318 38 A6 FF F8 */ addi r5, r6, -8 +/* 802EB3BC 002E831C 40 81 00 20 */ ble lbl_802EB3DC +/* 802EB3C0 002E8320 38 05 00 07 */ addi r0, r5, 7 +/* 802EB3C4 002E8324 54 00 E8 FE */ srwi r0, r0, 3 +/* 802EB3C8 002E8328 7C 09 03 A6 */ mtctr r0 +/* 802EB3CC 002E832C 2C 05 00 00 */ cmpwi r5, 0 +/* 802EB3D0 002E8330 40 81 00 0C */ ble lbl_802EB3DC +lbl_802EB3D4: +/* 802EB3D4 002E8334 38 63 00 08 */ addi r3, r3, 8 +/* 802EB3D8 002E8338 42 00 FF FC */ bdnz lbl_802EB3D4 +lbl_802EB3DC: +/* 802EB3DC 002E833C 7C 03 30 50 */ subf r0, r3, r6 +/* 802EB3E0 002E8340 7C 09 03 A6 */ mtctr r0 +/* 802EB3E4 002E8344 7C 03 30 00 */ cmpw r3, r6 +/* 802EB3E8 002E8348 40 80 00 08 */ bge lbl_802EB3F0 +lbl_802EB3EC: +/* 802EB3EC 002E834C 42 00 00 00 */ bdnz lbl_802EB3EC +lbl_802EB3F0: +/* 802EB3F0 002E8350 38 00 00 00 */ li r0, 0 +/* 802EB3F4 002E8354 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_802EB3F8: +/* 802EB3F8 002E8358 7C 80 07 35 */ extsh. r0, r4 +/* 802EB3FC 002E835C 40 81 00 0C */ ble lbl_802EB408 +/* 802EB400 002E8360 7F E3 FB 78 */ mr r3, r31 +/* 802EB404 002E8364 48 02 A5 2D */ bl Free__7CMemoryFPCv +lbl_802EB408: +/* 802EB408 002E8368 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EB40C 002E836C 7F E3 FB 78 */ mr r3, r31 +/* 802EB410 002E8370 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EB414 002E8374 7C 08 03 A6 */ mtlr r0 +/* 802EB418 002E8378 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EB41C 002E837C 4E 80 00 20 */ blr + +.global __ct__Q211CSfxManager11CSfxChannelFv +__ct__Q211CSfxManager11CSfxChannelFv: +/* 802EB420 002E8380 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EB424 002E8384 3C 80 80 5A */ lis r4, lbl_805A0004@ha +/* 802EB428 002E8388 C0 02 C6 04 */ lfs f0, lbl_805AE324@sda21(r2) +/* 802EB42C 002E838C 38 00 00 00 */ li r0, 0 +/* 802EB430 002E8390 84 C4 66 A0 */ lwzu r6, 0x66a0(r4) +/* 802EB434 002E8394 80 A4 00 04 */ lwz r5, lbl_805A0004@l(r4) +/* 802EB438 002E8398 90 C1 00 38 */ stw r6, 0x38(r1) +/* 802EB43C 002E839C 80 84 00 08 */ lwz r4, 8(r4) +/* 802EB440 002E83A0 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802EB444 002E83A4 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802EB448 002E83A8 90 81 00 40 */ stw r4, 0x40(r1) +/* 802EB44C 002E83AC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802EB450 002E83B0 D0 43 00 00 */ stfs f2, 0(r3) +/* 802EB454 002E83B4 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802EB458 002E83B8 D0 23 00 04 */ stfs f1, 4(r3) +/* 802EB45C 002E83BC 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 802EB460 002E83C0 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802EB464 002E83C4 D0 43 00 08 */ stfs f2, 8(r3) +/* 802EB468 002E83C8 90 A1 00 30 */ stw r5, 0x30(r1) +/* 802EB46C 002E83CC C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802EB470 002E83D0 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 802EB474 002E83D4 90 81 00 34 */ stw r4, 0x34(r1) +/* 802EB478 002E83D8 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802EB47C 002E83DC D0 43 00 10 */ stfs f2, 0x10(r3) +/* 802EB480 002E83E0 90 C1 00 20 */ stw r6, 0x20(r1) +/* 802EB484 002E83E4 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802EB488 002E83E8 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 802EB48C 002E83EC 90 A1 00 24 */ stw r5, 0x24(r1) +/* 802EB490 002E83F0 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802EB494 002E83F4 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 802EB498 002E83F8 90 81 00 28 */ stw r4, 0x28(r1) +/* 802EB49C 002E83FC C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802EB4A0 002E8400 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 802EB4A4 002E8404 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802EB4A8 002E8408 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802EB4AC 002E840C D0 43 00 20 */ stfs f2, 0x20(r3) +/* 802EB4B0 002E8410 90 A1 00 18 */ stw r5, 0x18(r1) +/* 802EB4B4 002E8414 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 802EB4B8 002E8418 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802EB4BC 002E841C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802EB4C0 002E8420 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802EB4C4 002E8424 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 802EB4C8 002E8428 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 802EB4CC 002E842C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802EB4D0 002E8430 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802EB4D4 002E8434 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802EB4D8 002E8438 90 03 00 3C */ stw r0, 0x3c(r3) +/* 802EB4DC 002E843C 98 03 00 40 */ stb r0, 0x40(r3) +/* 802EB4E0 002E8440 98 03 00 44 */ stb r0, 0x44(r3) +/* 802EB4E4 002E8444 90 C1 00 08 */ stw r6, 8(r1) +/* 802EB4E8 002E8448 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802EB4EC 002E844C 90 81 00 10 */ stw r4, 0x10(r1) +/* 802EB4F0 002E8450 90 03 00 48 */ stw r0, 0x48(r3) +/* 802EB4F4 002E8454 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EB4F8 002E8458 4E 80 00 20 */ blr + +.global Blend__18CAdvancementDeltasFRC18CAdvancementDeltasRC18CAdvancementDeltasf +Blend__18CAdvancementDeltasFRC18CAdvancementDeltasRC18CAdvancementDeltasf: +/* 802EB4FC 002E845C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802EB500 002E8460 7C 08 02 A6 */ mflr r0 +/* 802EB504 002E8464 90 01 00 44 */ stw r0, 0x44(r1) +/* 802EB508 002E8468 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802EB50C 002E846C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802EB510 002E8470 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802EB514 002E8474 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EB518 002E8478 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EB51C 002E847C FF E0 08 90 */ fmr f31, f1 +/* 802EB520 002E8480 7C 9E 23 78 */ mr r30, r4 +/* 802EB524 002E8484 7C BF 2B 78 */ mr r31, r5 +/* 802EB528 002E8488 7C 7D 1B 78 */ mr r29, r3 +/* 802EB52C 002E848C 38 61 00 08 */ addi r3, r1, 8 +/* 802EB530 002E8490 38 9E 00 0C */ addi r4, r30, 0xc +/* 802EB534 002E8494 38 BF 00 0C */ addi r5, r31, 0xc +/* 802EB538 002E8498 48 00 02 61 */ bl Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802EB53C 002E849C C0 22 C6 28 */ lfs f1, lbl_805AE348@sda21(r2) +/* 802EB540 002E84A0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802EB544 002E84A4 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802EB548 002E84A8 EC C1 F8 28 */ fsubs f6, f1, f31 +/* 802EB54C 002E84AC EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802EB550 002E84B0 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802EB554 002E84B4 EC 83 07 F2 */ fmuls f4, f3, f31 +/* 802EB558 002E84B8 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802EB55C 002E84BC C0 BE 00 04 */ lfs f5, 4(r30) +/* 802EB560 002E84C0 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 802EB564 002E84C4 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802EB568 002E84C8 EC 22 07 F2 */ fmuls f1, f2, f31 +/* 802EB56C 002E84CC EC 45 21 BA */ fmadds f2, f5, f6, f4 +/* 802EB570 002E84D0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802EB574 002E84D4 EC 03 09 BA */ fmadds f0, f3, f6, f1 +/* 802EB578 002E84D8 D0 5D 00 04 */ stfs f2, 4(r29) +/* 802EB57C 002E84DC D0 1D 00 08 */ stfs f0, 8(r29) +/* 802EB580 002E84E0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802EB584 002E84E4 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802EB588 002E84E8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802EB58C 002E84EC D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802EB590 002E84F0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802EB594 002E84F4 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802EB598 002E84F8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802EB59C 002E84FC D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 802EB5A0 002E8500 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802EB5A4 002E8504 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802EB5A8 002E8508 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802EB5AC 002E850C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802EB5B0 002E8510 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802EB5B4 002E8514 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802EB5B8 002E8518 7C 08 03 A6 */ mtlr r0 +/* 802EB5BC 002E851C 38 21 00 40 */ addi r1, r1, 0x40 +/* 802EB5C0 002E8520 4E 80 00 20 */ blr + +.global Interpolate__18CAdvancementDeltasFRC18CAdvancementDeltasRC18CAdvancementDeltasff +Interpolate__18CAdvancementDeltasFRC18CAdvancementDeltasRC18CAdvancementDeltasff: +/* 802EB5C4 002E8524 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802EB5C8 002E8528 7C 08 02 A6 */ mflr r0 +/* 802EB5CC 002E852C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802EB5D0 002E8530 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802EB5D4 002E8534 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802EB5D8 002E8538 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802EB5DC 002E853C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EB5E0 002E8540 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EB5E4 002E8544 EF E1 10 2A */ fadds f31, f1, f2 +/* 802EB5E8 002E8548 C0 02 C6 2C */ lfs f0, lbl_805AE34C@sda21(r2) +/* 802EB5EC 002E854C 7C 9E 23 78 */ mr r30, r4 +/* 802EB5F0 002E8550 7C BF 2B 78 */ mr r31, r5 +/* 802EB5F4 002E8554 7C 7D 1B 78 */ mr r29, r3 +/* 802EB5F8 002E8558 38 61 00 08 */ addi r3, r1, 8 +/* 802EB5FC 002E855C EC 20 07 F2 */ fmuls f1, f0, f31 +/* 802EB600 002E8560 38 9E 00 0C */ addi r4, r30, 0xc +/* 802EB604 002E8564 38 BF 00 0C */ addi r5, r31, 0xc +/* 802EB608 002E8568 48 00 01 91 */ bl Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802EB60C 002E856C C0 22 C6 30 */ lfs f1, lbl_805AE350@sda21(r2) +/* 802EB610 002E8570 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802EB614 002E8574 ED 1F 08 28 */ fsubs f8, f31, f1 +/* 802EB618 002E8578 C0 7E 00 00 */ lfs f3, 0(r30) +/* 802EB61C 002E857C C0 5F 00 04 */ lfs f2, 4(r31) +/* 802EB620 002E8580 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802EB624 002E8584 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802EB628 002E8588 EC E8 00 F2 */ fmuls f7, f8, f3 +/* 802EB62C 002E858C EC BF 00 B2 */ fmuls f5, f31, f2 +/* 802EB630 002E8590 C0 C2 C6 2C */ lfs f6, lbl_805AE34C@sda21(r2) +/* 802EB634 002E8594 EC 88 00 72 */ fmuls f4, f8, f1 +/* 802EB638 002E8598 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802EB63C 002E859C C0 3E 00 08 */ lfs f1, 8(r30) +/* 802EB640 002E85A0 EC 7F 00 B2 */ fmuls f3, f31, f2 +/* 802EB644 002E85A4 EC 48 00 72 */ fmuls f2, f8, f1 +/* 802EB648 002E85A8 EC 26 00 32 */ fmuls f1, f6, f0 +/* 802EB64C 002E85AC EC 06 01 F2 */ fmuls f0, f6, f7 +/* 802EB650 002E85B0 EC A6 01 72 */ fmuls f5, f6, f5 +/* 802EB654 002E85B4 EC 86 01 32 */ fmuls f4, f6, f4 +/* 802EB658 002E85B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802EB65C 002E85BC EC 26 00 B2 */ fmuls f1, f6, f2 +/* 802EB660 002E85C0 EC 66 00 F2 */ fmuls f3, f6, f3 +/* 802EB664 002E85C4 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802EB668 002E85C8 EC 45 20 28 */ fsubs f2, f5, f4 +/* 802EB66C 002E85CC EC 03 08 28 */ fsubs f0, f3, f1 +/* 802EB670 002E85D0 D0 5D 00 04 */ stfs f2, 4(r29) +/* 802EB674 002E85D4 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802EB678 002E85D8 C0 01 00 08 */ lfs f0, 8(r1) +/* 802EB67C 002E85DC D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802EB680 002E85E0 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802EB684 002E85E4 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802EB688 002E85E8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802EB68C 002E85EC D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802EB690 002E85F0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802EB694 002E85F4 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 802EB698 002E85F8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802EB69C 002E85FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802EB6A0 002E8600 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802EB6A4 002E8604 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802EB6A8 002E8608 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802EB6AC 002E860C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802EB6B0 002E8610 7C 08 03 A6 */ mtlr r0 +/* 802EB6B4 002E8614 38 21 00 40 */ addi r1, r1, 0x40 +/* 802EB6B8 002E8618 4E 80 00 20 */ blr + +.global SlerpLocal__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +SlerpLocal__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf: +/* 802EB6BC 002E861C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EB6C0 002E8620 7C 08 02 A6 */ mflr r0 +/* 802EB6C4 002E8624 90 01 00 54 */ stw r0, 0x54(r1) +/* 802EB6C8 002E8628 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802EB6CC 002E862C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802EB6D0 002E8630 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802EB6D4 002E8634 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802EB6D8 002E8638 C0 44 00 08 */ lfs f2, 8(r4) +/* 802EB6DC 002E863C FF E0 08 90 */ fmr f31, f1 +/* 802EB6E0 002E8640 C0 05 00 08 */ lfs f0, 8(r5) +/* 802EB6E4 002E8644 7C 9F 23 78 */ mr r31, r4 +/* 802EB6E8 002E8648 C0 64 00 04 */ lfs f3, 4(r4) +/* 802EB6EC 002E864C 7C 7E 1B 78 */ mr r30, r3 +/* 802EB6F0 002E8650 EC 02 00 32 */ fmuls f0, f2, f0 +/* 802EB6F4 002E8654 C0 45 00 04 */ lfs f2, 4(r5) +/* 802EB6F8 002E8658 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 802EB6FC 002E865C EC 43 00 BA */ fmadds f2, f3, f2, f0 +/* 802EB700 002E8660 C0 85 00 0C */ lfs f4, 0xc(r5) +/* 802EB704 002E8664 C0 C4 00 00 */ lfs f6, 0(r4) +/* 802EB708 002E8668 C0 65 00 00 */ lfs f3, 0(r5) +/* 802EB70C 002E866C EC 45 11 3A */ fmadds f2, f5, f4, f2 +/* 802EB710 002E8670 C0 02 C6 3C */ lfs f0, lbl_805AE35C@sda21(r2) +/* 802EB714 002E8674 EC 46 10 FA */ fmadds f2, f6, f3, f2 +/* 802EB718 002E8678 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802EB71C 002E867C 4C 41 13 82 */ cror 2, 1, 2 +/* 802EB720 002E8680 40 82 00 14 */ bne lbl_802EB734 +/* 802EB724 002E8684 38 61 00 28 */ addi r3, r1, 0x28 +/* 802EB728 002E8688 48 00 00 71 */ bl Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802EB72C 002E868C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802EB730 002E8690 48 00 00 28 */ b lbl_802EB758 +lbl_802EB734: +/* 802EB734 002E8694 7C A4 2B 78 */ mr r4, r5 +/* 802EB738 002E8698 38 61 00 18 */ addi r3, r1, 0x18 +/* 802EB73C 002E869C 48 02 5C F5 */ bl BuildEquivalent__11CQuaternionCFv +/* 802EB740 002E86A0 FC 20 F8 90 */ fmr f1, f31 +/* 802EB744 002E86A4 7F E4 FB 78 */ mr r4, r31 +/* 802EB748 002E86A8 38 61 00 08 */ addi r3, r1, 8 +/* 802EB74C 002E86AC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802EB750 002E86B0 48 00 00 49 */ bl Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802EB754 002E86B4 38 61 00 08 */ addi r3, r1, 8 +lbl_802EB758: +/* 802EB758 002E86B8 C0 03 00 00 */ lfs f0, 0(r3) +/* 802EB75C 002E86BC D0 1E 00 00 */ stfs f0, 0(r30) +/* 802EB760 002E86C0 C0 03 00 04 */ lfs f0, 4(r3) +/* 802EB764 002E86C4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802EB768 002E86C8 C0 03 00 08 */ lfs f0, 8(r3) +/* 802EB76C 002E86CC D0 1E 00 08 */ stfs f0, 8(r30) +/* 802EB770 002E86D0 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802EB774 002E86D4 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802EB778 002E86D8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802EB77C 002E86DC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EB780 002E86E0 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802EB784 002E86E4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802EB788 002E86E8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802EB78C 002E86EC 7C 08 03 A6 */ mtlr r0 +/* 802EB790 002E86F0 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EB794 002E86F4 4E 80 00 20 */ blr + +.global Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf: +/* 802EB798 002E86F8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802EB79C 002E86FC 7C 08 02 A6 */ mflr r0 +/* 802EB7A0 002E8700 90 01 00 64 */ stw r0, 0x64(r1) +/* 802EB7A4 002E8704 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802EB7A8 002E8708 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802EB7AC 002E870C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802EB7B0 002E8710 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802EB7B4 002E8714 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802EB7B8 002E8718 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802EB7BC 002E871C DB 81 00 20 */ stfd f28, 0x20(r1) +/* 802EB7C0 002E8720 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 802EB7C4 002E8724 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EB7C8 002E8728 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EB7CC 002E872C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EB7D0 002E8730 FF E0 08 90 */ fmr f31, f1 +/* 802EB7D4 002E8734 C0 02 C6 40 */ lfs f0, lbl_805AE360@sda21(r2) +/* 802EB7D8 002E8738 7C 7D 1B 78 */ mr r29, r3 +/* 802EB7DC 002E873C 7C 9E 23 78 */ mr r30, r4 +/* 802EB7E0 002E8740 7C BF 2B 78 */ mr r31, r5 +/* 802EB7E4 002E8744 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802EB7E8 002E8748 4C 40 13 82 */ cror 2, 0, 2 +/* 802EB7EC 002E874C 40 82 00 28 */ bne lbl_802EB814 +/* 802EB7F0 002E8750 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802EB7F4 002E8754 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802EB7F8 002E8758 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802EB7FC 002E875C D0 1D 00 04 */ stfs f0, 4(r29) +/* 802EB800 002E8760 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802EB804 002E8764 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802EB808 002E8768 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802EB80C 002E876C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802EB810 002E8770 48 00 01 AC */ b lbl_802EB9BC +lbl_802EB814: +/* 802EB814 002E8774 C0 02 C6 44 */ lfs f0, lbl_805AE364@sda21(r2) +/* 802EB818 002E8778 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802EB81C 002E877C 4C 41 13 82 */ cror 2, 1, 2 +/* 802EB820 002E8780 40 82 00 28 */ bne lbl_802EB848 +/* 802EB824 002E8784 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802EB828 002E8788 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802EB82C 002E878C C0 1F 00 04 */ lfs f0, 4(r31) +/* 802EB830 002E8790 D0 1D 00 04 */ stfs f0, 4(r29) +/* 802EB834 002E8794 C0 1F 00 08 */ lfs f0, 8(r31) +/* 802EB838 002E8798 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802EB83C 002E879C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802EB840 002E87A0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802EB844 002E87A4 48 00 01 78 */ b lbl_802EB9BC +lbl_802EB848: +/* 802EB848 002E87A8 C0 9E 00 08 */ lfs f4, 8(r30) +/* 802EB84C 002E87AC C0 5F 00 08 */ lfs f2, 8(r31) +/* 802EB850 002E87B0 C0 BE 00 04 */ lfs f5, 4(r30) +/* 802EB854 002E87B4 EC 04 00 B2 */ fmuls f0, f4, f2 +/* 802EB858 002E87B8 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802EB85C 002E87BC C0 FE 00 0C */ lfs f7, 0xc(r30) +/* 802EB860 002E87C0 C0 DF 00 0C */ lfs f6, 0xc(r31) +/* 802EB864 002E87C4 EC 25 00 FA */ fmadds f1, f5, f3, f0 +/* 802EB868 002E87C8 C1 1E 00 00 */ lfs f8, 0(r30) +/* 802EB86C 002E87CC C1 3F 00 00 */ lfs f9, 0(r31) +/* 802EB870 002E87D0 C0 02 C6 48 */ lfs f0, lbl_805AE368@sda21(r2) +/* 802EB874 002E87D4 EC 27 09 BA */ fmadds f1, f7, f6, f1 +/* 802EB878 002E87D8 EC 28 0A 7A */ fmadds f1, f8, f9, f1 +/* 802EB87C 002E87DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802EB880 002E87E0 4C 41 13 82 */ cror 2, 1, 2 +/* 802EB884 002E87E4 40 82 00 24 */ bne lbl_802EB8A8 +/* 802EB888 002E87E8 D1 1D 00 00 */ stfs f8, 0(r29) +/* 802EB88C 002E87EC C0 1E 00 04 */ lfs f0, 4(r30) +/* 802EB890 002E87F0 D0 1D 00 04 */ stfs f0, 4(r29) +/* 802EB894 002E87F4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802EB898 002E87F8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802EB89C 002E87FC C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802EB8A0 002E8800 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802EB8A4 002E8804 48 00 01 18 */ b lbl_802EB9BC +lbl_802EB8A8: +/* 802EB8A8 002E8808 C0 02 C6 4C */ lfs f0, lbl_805AE36C@sda21(r2) +/* 802EB8AC 002E880C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802EB8B0 002E8810 40 81 00 68 */ ble lbl_802EB918 +/* 802EB8B4 002E8814 EC 22 20 28 */ fsubs f1, f2, f4 +/* 802EB8B8 002E8818 EC 63 28 28 */ fsubs f3, f3, f5 +/* 802EB8BC 002E881C EC 06 38 28 */ fsubs f0, f6, f7 +/* 802EB8C0 002E8820 EC 5F 00 72 */ fmuls f2, f31, f1 +/* 802EB8C4 002E8824 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 802EB8C8 002E8828 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 802EB8CC 002E882C EF C4 10 2A */ fadds f30, f4, f2 +/* 802EB8D0 002E8830 EC 49 40 28 */ fsubs f2, f9, f8 +/* 802EB8D4 002E8834 EF 85 18 2A */ fadds f28, f5, f3 +/* 802EB8D8 002E8838 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 802EB8DC 002E883C EF A7 08 2A */ fadds f29, f7, f1 +/* 802EB8E0 002E8840 EF FF 40 BA */ fmadds f31, f31, f2, f8 +/* 802EB8E4 002E8844 EC 1C 07 3A */ fmadds f0, f28, f28, f0 +/* 802EB8E8 002E8848 EC 1D 07 7A */ fmadds f0, f29, f29, f0 +/* 802EB8EC 002E884C EC 3F 07 FA */ fmadds f1, f31, f31, f0 +/* 802EB8F0 002E8850 48 02 9A E9 */ bl InvSqrtF__5CMathFf +/* 802EB8F4 002E8854 EC 01 07 F2 */ fmuls f0, f1, f31 +/* 802EB8F8 002E8858 EC 61 07 32 */ fmuls f3, f1, f28 +/* 802EB8FC 002E885C EC 41 07 B2 */ fmuls f2, f1, f30 +/* 802EB900 002E8860 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802EB904 002E8864 EC 01 07 72 */ fmuls f0, f1, f29 +/* 802EB908 002E8868 D0 7D 00 04 */ stfs f3, 4(r29) +/* 802EB90C 002E886C D0 5D 00 08 */ stfs f2, 8(r29) +/* 802EB910 002E8870 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802EB914 002E8874 48 00 00 A8 */ b lbl_802EB9BC +lbl_802EB918: +/* 802EB918 002E8878 48 02 93 BD */ bl FastArcCosR__5CMathFf +/* 802EB91C 002E887C C0 02 C6 48 */ lfs f0, lbl_805AE368@sda21(r2) +/* 802EB920 002E8880 FF A0 08 90 */ fmr f29, f1 +/* 802EB924 002E8884 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802EB928 002E8888 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 802EB92C 002E888C 48 02 94 C5 */ bl FastSinR__5CMathFf +/* 802EB930 002E8890 FF C0 08 90 */ fmr f30, f1 +/* 802EB934 002E8894 EC 3D 07 F2 */ fmuls f1, f29, f31 +/* 802EB938 002E8898 48 02 94 B9 */ bl FastSinR__5CMathFf +/* 802EB93C 002E889C C0 5E 00 08 */ lfs f2, 8(r30) +/* 802EB940 002E88A0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 802EB944 002E88A4 EC 9E 00 B2 */ fmuls f4, f30, f2 +/* 802EB948 002E88A8 C0 BE 00 04 */ lfs f5, 4(r30) +/* 802EB94C 002E88AC EC 61 00 32 */ fmuls f3, f1, f0 +/* 802EB950 002E88B0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802EB954 002E88B4 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 802EB958 002E88B8 EC DE 01 72 */ fmuls f6, f30, f5 +/* 802EB95C 002E88BC EC A1 00 32 */ fmuls f5, f1, f0 +/* 802EB960 002E88C0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802EB964 002E88C4 EF A4 18 2A */ fadds f29, f4, f3 +/* 802EB968 002E88C8 C0 9F 00 00 */ lfs f4, 0(r31) +/* 802EB96C 002E88CC EC 7E 00 B2 */ fmuls f3, f30, f2 +/* 802EB970 002E88D0 C0 FE 00 00 */ lfs f7, 0(r30) +/* 802EB974 002E88D4 EC 41 00 32 */ fmuls f2, f1, f0 +/* 802EB978 002E88D8 EC 21 01 32 */ fmuls f1, f1, f4 +/* 802EB97C 002E88DC EF E6 28 2A */ fadds f31, f6, f5 +/* 802EB980 002E88E0 EC 1D 07 72 */ fmuls f0, f29, f29 +/* 802EB984 002E88E4 EF 83 10 2A */ fadds f28, f3, f2 +/* 802EB988 002E88E8 EF DE 09 FA */ fmadds f30, f30, f7, f1 +/* 802EB98C 002E88EC EC 1F 07 FA */ fmadds f0, f31, f31, f0 +/* 802EB990 002E88F0 EC 1C 07 3A */ fmadds f0, f28, f28, f0 +/* 802EB994 002E88F4 EC 3E 07 BA */ fmadds f1, f30, f30, f0 +/* 802EB998 002E88F8 48 02 9A 41 */ bl InvSqrtF__5CMathFf +/* 802EB99C 002E88FC EC 01 07 B2 */ fmuls f0, f1, f30 +/* 802EB9A0 002E8900 EC 61 07 F2 */ fmuls f3, f1, f31 +/* 802EB9A4 002E8904 EC 41 07 72 */ fmuls f2, f1, f29 +/* 802EB9A8 002E8908 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802EB9AC 002E890C EC 01 07 32 */ fmuls f0, f1, f28 +/* 802EB9B0 002E8910 D0 7D 00 04 */ stfs f3, 4(r29) +/* 802EB9B4 002E8914 D0 5D 00 08 */ stfs f2, 8(r29) +/* 802EB9B8 002E8918 D0 1D 00 0C */ stfs f0, 0xc(r29) +lbl_802EB9BC: +/* 802EB9BC 002E891C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802EB9C0 002E8920 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802EB9C4 002E8924 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802EB9C8 002E8928 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802EB9CC 002E892C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802EB9D0 002E8930 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802EB9D4 002E8934 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 802EB9D8 002E8938 CB 81 00 20 */ lfd f28, 0x20(r1) +/* 802EB9DC 002E893C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EB9E0 002E8940 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EB9E4 002E8944 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802EB9E8 002E8948 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802EB9EC 002E894C 7C 08 03 A6 */ mtlr r0 +/* 802EB9F0 002E8950 38 21 00 60 */ addi r1, r1, 0x60 +/* 802EB9F4 002E8954 4E 80 00 20 */ blr + +.global "__ct__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802EB9F8 002E8958 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EB9FC 002E895C 7C 08 02 A6 */ mflr r0 +/* 802EBA00 002E8960 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EBA04 002E8964 38 00 00 00 */ li r0, 0 +/* 802EBA08 002E8968 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802EBA0C 002E896C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EBA10 002E8970 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EBA14 002E8974 7C 9D 23 78 */ mr r29, r4 +/* 802EBA18 002E8978 93 81 00 20 */ stw r28, 0x20(r1) +/* 802EBA1C 002E897C 7C 7C 1B 78 */ mr r28, r3 +/* 802EBA20 002E8980 90 03 00 04 */ stw r0, 4(r3) +/* 802EBA24 002E8984 7F A3 EB 78 */ mr r3, r29 +/* 802EBA28 002E8988 90 1C 00 08 */ stw r0, 8(r28) +/* 802EBA2C 002E898C 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802EBA30 002E8990 48 05 32 55 */ bl ReadLong__12CInputStreamFv +/* 802EBA34 002E8994 7C 7F 1B 78 */ mr r31, r3 +/* 802EBA38 002E8998 7F 83 E3 78 */ mr r3, r28 +/* 802EBA3C 002E899C 7F E4 FB 78 */ mr r4, r31 +/* 802EBA40 002E89A0 4B DA 9B 49 */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +/* 802EBA44 002E89A4 3B C0 00 00 */ li r30, 0 +/* 802EBA48 002E89A8 48 00 00 7C */ b lbl_802EBAC4 +lbl_802EBA4C: +/* 802EBA4C 002E89AC 7F A4 EB 78 */ mr r4, r29 +/* 802EBA50 002E89B0 38 61 00 08 */ addi r3, r1, 8 +/* 802EBA54 002E89B4 48 02 69 DD */ bl __ct__11CQuaternionFR12CInputStream +/* 802EBA58 002E89B8 80 1C 00 04 */ lwz r0, 4(r28) +/* 802EBA5C 002E89BC 80 BC 00 08 */ lwz r5, 8(r28) +/* 802EBA60 002E89C0 7C 00 28 00 */ cmpw r0, r5 +/* 802EBA64 002E89C4 41 80 00 1C */ blt lbl_802EBA80 +/* 802EBA68 002E89C8 2C 05 00 00 */ cmpwi r5, 0 +/* 802EBA6C 002E89CC 7F 83 E3 78 */ mr r3, r28 +/* 802EBA70 002E89D0 38 80 00 04 */ li r4, 4 +/* 802EBA74 002E89D4 41 82 00 08 */ beq lbl_802EBA7C +/* 802EBA78 002E89D8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802EBA7C: +/* 802EBA7C 002E89DC 4B DA 9B 0D */ bl "reserve__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>Fi" +lbl_802EBA80: +/* 802EBA80 002E89E0 80 1C 00 04 */ lwz r0, 4(r28) +/* 802EBA84 002E89E4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802EBA88 002E89E8 54 00 20 36 */ slwi r0, r0, 4 +/* 802EBA8C 002E89EC 7C 63 02 15 */ add. r3, r3, r0 +/* 802EBA90 002E89F0 41 82 00 24 */ beq lbl_802EBAB4 +/* 802EBA94 002E89F4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802EBA98 002E89F8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802EBA9C 002E89FC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802EBAA0 002E8A00 D0 03 00 04 */ stfs f0, 4(r3) +/* 802EBAA4 002E8A04 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802EBAA8 002E8A08 D0 03 00 08 */ stfs f0, 8(r3) +/* 802EBAAC 002E8A0C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802EBAB0 002E8A10 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_802EBAB4: +/* 802EBAB4 002E8A14 80 7C 00 04 */ lwz r3, 4(r28) +/* 802EBAB8 002E8A18 3B DE 00 01 */ addi r30, r30, 1 +/* 802EBABC 002E8A1C 38 03 00 01 */ addi r0, r3, 1 +/* 802EBAC0 002E8A20 90 1C 00 04 */ stw r0, 4(r28) +lbl_802EBAC4: +/* 802EBAC4 002E8A24 7C 1E F8 00 */ cmpw r30, r31 +/* 802EBAC8 002E8A28 41 80 FF 84 */ blt lbl_802EBA4C +/* 802EBACC 002E8A2C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802EBAD0 002E8A30 7F 83 E3 78 */ mr r3, r28 +/* 802EBAD4 002E8A34 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802EBAD8 002E8A38 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802EBADC 002E8A3C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802EBAE0 002E8A40 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802EBAE4 002E8A44 7C 08 03 A6 */ mtlr r0 +/* 802EBAE8 002E8A48 38 21 00 30 */ addi r1, r1, 0x30 +/* 802EBAEC 002E8A4C 4E 80 00 20 */ blr + +.global AnimPOIDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +AnimPOIDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802EBAF0 002E8A50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EBAF4 002E8A54 7C 08 02 A6 */ mflr r0 +/* 802EBAF8 002E8A58 3C 80 80 3D */ lis r4, lbl_803D6DD0@ha +/* 802EBAFC 002E8A5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EBB00 002E8A60 38 84 6D D0 */ addi r4, r4, lbl_803D6DD0@l +/* 802EBB04 002E8A64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EBB08 002E8A68 7C BF 2B 78 */ mr r31, r5 +/* 802EBB0C 002E8A6C 38 A0 00 00 */ li r5, 0 +/* 802EBB10 002E8A70 93 C1 00 08 */ stw r30, 8(r1) +/* 802EBB14 002E8A74 7C 7E 1B 78 */ mr r30, r3 +/* 802EBB18 002E8A78 38 60 00 44 */ li r3, 0x44 +/* 802EBB1C 002E8A7C 48 02 9D 51 */ bl __nw__FUlPCcPCc +/* 802EBB20 002E8A80 7C 64 1B 79 */ or. r4, r3, r3 +/* 802EBB24 002E8A84 41 82 00 10 */ beq lbl_802EBB34 +/* 802EBB28 002E8A88 7F E4 FB 78 */ mr r4, r31 +/* 802EBB2C 002E8A8C 48 00 04 65 */ bl __ct__12CAnimPOIDataFR12CInputStream +/* 802EBB30 002E8A90 7C 64 1B 78 */ mr r4, r3 +lbl_802EBB34: +/* 802EBB34 002E8A94 7F C3 F3 78 */ mr r3, r30 +/* 802EBB38 002E8A98 48 00 00 1D */ bl "__ct<12CAnimPOIData>__16CFactoryFnReturnFP12CAnimPOIData" +/* 802EBB3C 002E8A9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EBB40 002E8AA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EBB44 002E8AA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EBB48 002E8AA8 7C 08 03 A6 */ mtlr r0 +/* 802EBB4C 002E8AAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EBB50 002E8AB0 4E 80 00 20 */ blr + +.global "__ct<12CAnimPOIData>__16CFactoryFnReturnFP12CAnimPOIData" +"__ct<12CAnimPOIData>__16CFactoryFnReturnFP12CAnimPOIData": +/* 802EBB54 002E8AB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EBB58 002E8AB8 7C 08 02 A6 */ mflr r0 +/* 802EBB5C 002E8ABC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EBB60 002E8AC0 7C 04 00 D0 */ neg r0, r4 +/* 802EBB64 002E8AC4 7C 00 23 78 */ or r0, r0, r4 +/* 802EBB68 002E8AC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EBB6C 002E8ACC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802EBB70 002E8AD0 7C 7F 1B 78 */ mr r31, r3 +/* 802EBB74 002E8AD4 38 61 00 08 */ addi r3, r1, 8 +/* 802EBB78 002E8AD8 90 81 00 14 */ stw r4, 0x14(r1) +/* 802EBB7C 002E8ADC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802EBB80 002E8AE0 98 01 00 10 */ stb r0, 0x10(r1) +/* 802EBB84 002E8AE4 48 00 02 E1 */ bl "GetIObjObjectFor__22TToken<12CAnimPOIData>FRCQ24rstl24auto_ptr<12CAnimPOIData>" +/* 802EBB88 002E8AE8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802EBB8C 002E8AEC 38 00 00 00 */ li r0, 0 +/* 802EBB90 002E8AF0 98 01 00 08 */ stb r0, 8(r1) +/* 802EBB94 002E8AF4 7C 03 00 D0 */ neg r0, r3 +/* 802EBB98 002E8AF8 7C 00 1B 78 */ or r0, r0, r3 +/* 802EBB9C 002E8AFC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802EBBA0 002E8B00 98 1F 00 00 */ stb r0, 0(r31) +/* 802EBBA4 002E8B04 90 7F 00 04 */ stw r3, 4(r31) +/* 802EBBA8 002E8B08 88 01 00 08 */ lbz r0, 8(r1) +/* 802EBBAC 002E8B0C 28 00 00 00 */ cmplwi r0, 0 +/* 802EBBB0 002E8B10 41 82 00 24 */ beq lbl_802EBBD4 +/* 802EBBB4 002E8B14 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802EBBB8 002E8B18 28 03 00 00 */ cmplwi r3, 0 +/* 802EBBBC 002E8B1C 41 82 00 18 */ beq lbl_802EBBD4 +/* 802EBBC0 002E8B20 81 83 00 00 */ lwz r12, 0(r3) +/* 802EBBC4 002E8B24 38 80 00 01 */ li r4, 1 +/* 802EBBC8 002E8B28 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EBBCC 002E8B2C 7D 89 03 A6 */ mtctr r12 +/* 802EBBD0 002E8B30 4E 80 04 21 */ bctrl +lbl_802EBBD4: +/* 802EBBD4 002E8B34 38 61 00 10 */ addi r3, r1, 0x10 +/* 802EBBD8 002E8B38 38 80 FF FF */ li r4, -1 +/* 802EBBDC 002E8B3C 48 00 03 51 */ bl __dt__12CAnimPOIDataFv +/* 802EBBE0 002E8B40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EBBE4 002E8B44 7F E3 FB 78 */ mr r3, r31 +/* 802EBBE8 002E8B48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EBBEC 002E8B4C 7C 08 03 A6 */ mtlr r0 +/* 802EBBF0 002E8B50 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EBBF4 002E8B54 4E 80 00 20 */ blr + +.global sub_802ebbf8 +sub_802ebbf8: +/* 802EBBF8 002E8B58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EBBFC 002E8B5C 7C 08 02 A6 */ mflr r0 +/* 802EBC00 002E8B60 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EBC04 002E8B64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EBC08 002E8B68 7C 9F 23 78 */ mr r31, r4 +/* 802EBC0C 002E8B6C 93 C1 00 08 */ stw r30, 8(r1) +/* 802EBC10 002E8B70 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802EBC14 002E8B74 41 82 00 58 */ beq lbl_802EBC6C +/* 802EBC18 002E8B78 3C 60 80 3F */ lis r3, lbl_803ECF48@ha +/* 802EBC1C 002E8B7C 38 03 CF 48 */ addi r0, r3, lbl_803ECF48@l +/* 802EBC20 002E8B80 90 1E 00 00 */ stw r0, 0(r30) +/* 802EBC24 002E8B84 80 7E 00 04 */ lwz r3, 4(r30) +/* 802EBC28 002E8B88 28 03 00 00 */ cmplwi r3, 0 +/* 802EBC2C 002E8B8C 41 82 00 0C */ beq lbl_802EBC38 +/* 802EBC30 002E8B90 38 80 00 01 */ li r4, 1 +/* 802EBC34 002E8B94 48 00 00 55 */ bl sub_802ebc88 +lbl_802EBC38: +/* 802EBC38 002E8B98 28 1E 00 00 */ cmplwi r30, 0 +/* 802EBC3C 002E8B9C 41 82 00 20 */ beq lbl_802EBC5C +/* 802EBC40 002E8BA0 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802EBC44 002E8BA4 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802EBC48 002E8BA8 90 1E 00 00 */ stw r0, 0(r30) +/* 802EBC4C 002E8BAC 41 82 00 10 */ beq lbl_802EBC5C +/* 802EBC50 002E8BB0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802EBC54 002E8BB4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802EBC58 002E8BB8 90 1E 00 00 */ stw r0, 0(r30) +lbl_802EBC5C: +/* 802EBC5C 002E8BBC 7F E0 07 35 */ extsh. r0, r31 +/* 802EBC60 002E8BC0 40 81 00 0C */ ble lbl_802EBC6C +/* 802EBC64 002E8BC4 7F C3 F3 78 */ mr r3, r30 +/* 802EBC68 002E8BC8 48 02 9C C9 */ bl Free__7CMemoryFPCv +lbl_802EBC6C: +/* 802EBC6C 002E8BCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EBC70 002E8BD0 7F C3 F3 78 */ mr r3, r30 +/* 802EBC74 002E8BD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EBC78 002E8BD8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EBC7C 002E8BDC 7C 08 03 A6 */ mtlr r0 +/* 802EBC80 002E8BE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EBC84 002E8BE4 4E 80 00 20 */ blr + +.global sub_802ebc88 +sub_802ebc88: +/* 802EBC88 002E8BE8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802EBC8C 002E8BEC 7C 08 02 A6 */ mflr r0 +/* 802EBC90 002E8BF0 90 01 00 64 */ stw r0, 0x64(r1) +/* 802EBC94 002E8BF4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802EBC98 002E8BF8 7C 9F 23 78 */ mr r31, r4 +/* 802EBC9C 002E8BFC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802EBCA0 002E8C00 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802EBCA4 002E8C04 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802EBCA8 002E8C08 93 81 00 50 */ stw r28, 0x50(r1) +/* 802EBCAC 002E8C0C 41 82 01 94 */ beq lbl_802EBE40 +/* 802EBCB0 002E8C10 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 802EBCB4 002E8C14 41 82 00 5C */ beq lbl_802EBD10 +/* 802EBCB8 002E8C18 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802EBCBC 002E8C1C 83 9E 00 40 */ lwz r28, 0x40(r30) +/* 802EBCC0 002E8C20 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802EBCC4 002E8C24 93 81 00 3C */ stw r28, 0x3c(r1) +/* 802EBCC8 002E8C28 7F BC 02 14 */ add r29, r28, r0 +/* 802EBCCC 002E8C2C 93 81 00 38 */ stw r28, 0x38(r1) +/* 802EBCD0 002E8C30 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802EBCD4 002E8C34 93 A1 00 40 */ stw r29, 0x40(r1) +/* 802EBCD8 002E8C38 48 00 00 20 */ b lbl_802EBCF8 +lbl_802EBCDC: +/* 802EBCDC 002E8C3C 7F 83 E3 78 */ mr r3, r28 +/* 802EBCE0 002E8C40 38 80 FF FF */ li r4, -1 +/* 802EBCE4 002E8C44 81 9C 00 00 */ lwz r12, 0(r28) +/* 802EBCE8 002E8C48 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EBCEC 002E8C4C 7D 89 03 A6 */ mtctr r12 +/* 802EBCF0 002E8C50 4E 80 04 21 */ bctrl +/* 802EBCF4 002E8C54 3B 9C 00 44 */ addi r28, r28, 0x44 +lbl_802EBCF8: +/* 802EBCF8 002E8C58 7C 1C E8 40 */ cmplw r28, r29 +/* 802EBCFC 002E8C5C 40 82 FF E0 */ bne lbl_802EBCDC +/* 802EBD00 002E8C60 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802EBD04 002E8C64 28 03 00 00 */ cmplwi r3, 0 +/* 802EBD08 002E8C68 41 82 00 08 */ beq lbl_802EBD10 +/* 802EBD0C 002E8C6C 48 02 9C 25 */ bl Free__7CMemoryFPCv +lbl_802EBD10: +/* 802EBD10 002E8C70 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 802EBD14 002E8C74 41 82 00 5C */ beq lbl_802EBD70 +/* 802EBD18 002E8C78 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 802EBD1C 002E8C7C 83 9E 00 30 */ lwz r28, 0x30(r30) +/* 802EBD20 002E8C80 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802EBD24 002E8C84 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802EBD28 002E8C88 7F BC 02 14 */ add r29, r28, r0 +/* 802EBD2C 002E8C8C 93 81 00 28 */ stw r28, 0x28(r1) +/* 802EBD30 002E8C90 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802EBD34 002E8C94 93 A1 00 30 */ stw r29, 0x30(r1) +/* 802EBD38 002E8C98 48 00 00 20 */ b lbl_802EBD58 +lbl_802EBD3C: +/* 802EBD3C 002E8C9C 7F 83 E3 78 */ mr r3, r28 +/* 802EBD40 002E8CA0 38 80 FF FF */ li r4, -1 +/* 802EBD44 002E8CA4 81 9C 00 00 */ lwz r12, 0(r28) +/* 802EBD48 002E8CA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EBD4C 002E8CAC 7D 89 03 A6 */ mtctr r12 +/* 802EBD50 002E8CB0 4E 80 04 21 */ bctrl +/* 802EBD54 002E8CB4 3B 9C 00 5C */ addi r28, r28, 0x5c +lbl_802EBD58: +/* 802EBD58 002E8CB8 7C 1C E8 40 */ cmplw r28, r29 +/* 802EBD5C 002E8CBC 40 82 FF E0 */ bne lbl_802EBD3C +/* 802EBD60 002E8CC0 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 802EBD64 002E8CC4 28 03 00 00 */ cmplwi r3, 0 +/* 802EBD68 002E8CC8 41 82 00 08 */ beq lbl_802EBD70 +/* 802EBD6C 002E8CCC 48 02 9B C5 */ bl Free__7CMemoryFPCv +lbl_802EBD70: +/* 802EBD70 002E8CD0 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802EBD74 002E8CD4 41 82 00 5C */ beq lbl_802EBDD0 +/* 802EBD78 002E8CD8 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 802EBD7C 002E8CDC 83 9E 00 20 */ lwz r28, 0x20(r30) +/* 802EBD80 002E8CE0 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802EBD84 002E8CE4 93 81 00 1C */ stw r28, 0x1c(r1) +/* 802EBD88 002E8CE8 7F BC 02 14 */ add r29, r28, r0 +/* 802EBD8C 002E8CEC 93 81 00 18 */ stw r28, 0x18(r1) +/* 802EBD90 002E8CF0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EBD94 002E8CF4 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802EBD98 002E8CF8 48 00 00 20 */ b lbl_802EBDB8 +lbl_802EBD9C: +/* 802EBD9C 002E8CFC 7F 83 E3 78 */ mr r3, r28 +/* 802EBDA0 002E8D00 38 80 FF FF */ li r4, -1 +/* 802EBDA4 002E8D04 81 9C 00 00 */ lwz r12, 0(r28) +/* 802EBDA8 002E8D08 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EBDAC 002E8D0C 7D 89 03 A6 */ mtctr r12 +/* 802EBDB0 002E8D10 4E 80 04 21 */ bctrl +/* 802EBDB4 002E8D14 3B 9C 00 4C */ addi r28, r28, 0x4c +lbl_802EBDB8: +/* 802EBDB8 002E8D18 7C 1C E8 40 */ cmplw r28, r29 +/* 802EBDBC 002E8D1C 40 82 FF E0 */ bne lbl_802EBD9C +/* 802EBDC0 002E8D20 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 802EBDC4 002E8D24 28 03 00 00 */ cmplwi r3, 0 +/* 802EBDC8 002E8D28 41 82 00 08 */ beq lbl_802EBDD0 +/* 802EBDCC 002E8D2C 48 02 9B 65 */ bl Free__7CMemoryFPCv +lbl_802EBDD0: +/* 802EBDD0 002E8D30 34 1E 00 04 */ addic. r0, r30, 4 +/* 802EBDD4 002E8D34 41 82 00 5C */ beq lbl_802EBE30 +/* 802EBDD8 002E8D38 80 1E 00 08 */ lwz r0, 8(r30) +/* 802EBDDC 002E8D3C 83 9E 00 10 */ lwz r28, 0x10(r30) +/* 802EBDE0 002E8D40 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802EBDE4 002E8D44 93 81 00 0C */ stw r28, 0xc(r1) +/* 802EBDE8 002E8D48 7F BC 02 14 */ add r29, r28, r0 +/* 802EBDEC 002E8D4C 93 81 00 08 */ stw r28, 8(r1) +/* 802EBDF0 002E8D50 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EBDF4 002E8D54 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802EBDF8 002E8D58 48 00 00 20 */ b lbl_802EBE18 +lbl_802EBDFC: +/* 802EBDFC 002E8D5C 7F 83 E3 78 */ mr r3, r28 +/* 802EBE00 002E8D60 38 80 FF FF */ li r4, -1 +/* 802EBE04 002E8D64 81 9C 00 00 */ lwz r12, 0(r28) +/* 802EBE08 002E8D68 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EBE0C 002E8D6C 7D 89 03 A6 */ mtctr r12 +/* 802EBE10 002E8D70 4E 80 04 21 */ bctrl +/* 802EBE14 002E8D74 3B 9C 00 3C */ addi r28, r28, 0x3c +lbl_802EBE18: +/* 802EBE18 002E8D78 7C 1C E8 40 */ cmplw r28, r29 +/* 802EBE1C 002E8D7C 40 82 FF E0 */ bne lbl_802EBDFC +/* 802EBE20 002E8D80 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802EBE24 002E8D84 28 03 00 00 */ cmplwi r3, 0 +/* 802EBE28 002E8D88 41 82 00 08 */ beq lbl_802EBE30 +/* 802EBE2C 002E8D8C 48 02 9B 05 */ bl Free__7CMemoryFPCv +lbl_802EBE30: +/* 802EBE30 002E8D90 7F E0 07 35 */ extsh. r0, r31 +/* 802EBE34 002E8D94 40 81 00 0C */ ble lbl_802EBE40 +/* 802EBE38 002E8D98 7F C3 F3 78 */ mr r3, r30 +/* 802EBE3C 002E8D9C 48 02 9A F5 */ bl Free__7CMemoryFPCv +lbl_802EBE40: +/* 802EBE40 002E8DA0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802EBE44 002E8DA4 7F C3 F3 78 */ mr r3, r30 +/* 802EBE48 002E8DA8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802EBE4C 002E8DAC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802EBE50 002E8DB0 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802EBE54 002E8DB4 83 81 00 50 */ lwz r28, 0x50(r1) +/* 802EBE58 002E8DB8 7C 08 03 A6 */ mtlr r0 +/* 802EBE5C 002E8DBC 38 21 00 60 */ addi r1, r1, 0x60 +/* 802EBE60 002E8DC0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__22TToken<12CAnimPOIData>FRCQ24rstl24auto_ptr<12CAnimPOIData>" +"GetIObjObjectFor__22TToken<12CAnimPOIData>FRCQ24rstl24auto_ptr<12CAnimPOIData>": +/* 802EBE64 002E8DC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EBE68 002E8DC8 7C 08 02 A6 */ mflr r0 +/* 802EBE6C 002E8DCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EBE70 002E8DD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EBE74 002E8DD4 7C 7F 1B 78 */ mr r31, r3 +/* 802EBE78 002E8DD8 48 00 00 19 */ bl "__ct__40TObjOwnerDerivedFromIObj<12CAnimPOIData>FRCQ24rstl24auto_ptr<12CAnimPOIData>" +/* 802EBE7C 002E8DDC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EBE80 002E8DE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EBE84 002E8DE4 7C 08 03 A6 */ mtlr r0 +/* 802EBE88 002E8DE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EBE8C 002E8DEC 4E 80 00 20 */ blr + +.global "__ct__40TObjOwnerDerivedFromIObj<12CAnimPOIData>FRCQ24rstl24auto_ptr<12CAnimPOIData>" +"__ct__40TObjOwnerDerivedFromIObj<12CAnimPOIData>FRCQ24rstl24auto_ptr<12CAnimPOIData>": +/* 802EBE90 002E8DF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EBE94 002E8DF4 7C 08 02 A6 */ mflr r0 +/* 802EBE98 002E8DF8 3C A0 80 3D */ lis r5, lbl_803D6DD0@ha +/* 802EBE9C 002E8DFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EBEA0 002E8E00 38 05 6D D0 */ addi r0, r5, lbl_803D6DD0@l +/* 802EBEA4 002E8E04 38 A0 00 00 */ li r5, 0 +/* 802EBEA8 002E8E08 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EBEAC 002E8E0C 7C 9F 23 78 */ mr r31, r4 +/* 802EBEB0 002E8E10 7C 04 03 78 */ mr r4, r0 +/* 802EBEB4 002E8E14 93 C1 00 08 */ stw r30, 8(r1) +/* 802EBEB8 002E8E18 7C 7E 1B 78 */ mr r30, r3 +/* 802EBEBC 002E8E1C 38 60 00 08 */ li r3, 8 +/* 802EBEC0 002E8E20 48 02 99 AD */ bl __nw__FUlPCcPCc +/* 802EBEC4 002E8E24 28 03 00 00 */ cmplwi r3, 0 +/* 802EBEC8 002E8E28 41 82 00 38 */ beq lbl_802EBF00 +/* 802EBECC 002E8E2C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802EBED0 002E8E30 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802EBED4 002E8E34 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802EBED8 002E8E38 3C 80 80 3F */ lis r4, lbl_803ECF48@ha +/* 802EBEDC 002E8E3C 90 03 00 00 */ stw r0, 0(r3) +/* 802EBEE0 002E8E40 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802EBEE4 002E8E44 38 A0 00 00 */ li r5, 0 +/* 802EBEE8 002E8E48 38 04 CF 48 */ addi r0, r4, lbl_803ECF48@l +/* 802EBEEC 002E8E4C 90 C3 00 00 */ stw r6, 0(r3) +/* 802EBEF0 002E8E50 98 BF 00 00 */ stb r5, 0(r31) +/* 802EBEF4 002E8E54 80 9F 00 04 */ lwz r4, 4(r31) +/* 802EBEF8 002E8E58 90 83 00 04 */ stw r4, 4(r3) +/* 802EBEFC 002E8E5C 90 03 00 00 */ stw r0, 0(r3) +lbl_802EBF00: +/* 802EBF00 002E8E60 7C 03 00 D0 */ neg r0, r3 +/* 802EBF04 002E8E64 7C 00 1B 78 */ or r0, r0, r3 +/* 802EBF08 002E8E68 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802EBF0C 002E8E6C 98 1E 00 00 */ stb r0, 0(r30) +/* 802EBF10 002E8E70 90 7E 00 04 */ stw r3, 4(r30) +/* 802EBF14 002E8E74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EBF18 002E8E78 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EBF1C 002E8E7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EBF20 002E8E80 7C 08 03 A6 */ mtlr r0 +/* 802EBF24 002E8E84 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EBF28 002E8E88 4E 80 00 20 */ blr + +.global __dt__12CAnimPOIDataFv +__dt__12CAnimPOIDataFv: +/* 802EBF2C 002E8E8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EBF30 002E8E90 7C 08 02 A6 */ mflr r0 +/* 802EBF34 002E8E94 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EBF38 002E8E98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EBF3C 002E8E9C 7C 9F 23 78 */ mr r31, r4 +/* 802EBF40 002E8EA0 93 C1 00 08 */ stw r30, 8(r1) +/* 802EBF44 002E8EA4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802EBF48 002E8EA8 41 82 00 2C */ beq lbl_802EBF74 +/* 802EBF4C 002E8EAC 88 1E 00 00 */ lbz r0, 0(r30) +/* 802EBF50 002E8EB0 28 00 00 00 */ cmplwi r0, 0 +/* 802EBF54 002E8EB4 41 82 00 10 */ beq lbl_802EBF64 +/* 802EBF58 002E8EB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802EBF5C 002E8EBC 38 80 00 01 */ li r4, 1 +/* 802EBF60 002E8EC0 4B FF FD 29 */ bl sub_802ebc88 +lbl_802EBF64: +/* 802EBF64 002E8EC4 7F E0 07 35 */ extsh. r0, r31 +/* 802EBF68 002E8EC8 40 81 00 0C */ ble lbl_802EBF74 +/* 802EBF6C 002E8ECC 7F C3 F3 78 */ mr r3, r30 +/* 802EBF70 002E8ED0 48 02 99 C1 */ bl Free__7CMemoryFPCv +lbl_802EBF74: +/* 802EBF74 002E8ED4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EBF78 002E8ED8 7F C3 F3 78 */ mr r3, r30 +/* 802EBF7C 002E8EDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EBF80 002E8EE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EBF84 002E8EE4 7C 08 03 A6 */ mtlr r0 +/* 802EBF88 002E8EE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EBF8C 002E8EEC 4E 80 00 20 */ blr + +.global __ct__12CAnimPOIDataFR12CInputStream +__ct__12CAnimPOIDataFR12CInputStream: +/* 802EBF90 002E8EF0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EBF94 002E8EF4 7C 08 02 A6 */ mflr r0 +/* 802EBF98 002E8EF8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802EBF9C 002E8EFC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802EBFA0 002E8F00 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802EBFA4 002E8F04 7C 9E 23 78 */ mr r30, r4 +/* 802EBFA8 002E8F08 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802EBFAC 002E8F0C 7C 7D 1B 78 */ mr r29, r3 +/* 802EBFB0 002E8F10 7F C3 F3 78 */ mr r3, r30 +/* 802EBFB4 002E8F14 48 05 2C D1 */ bl ReadLong__12CInputStreamFv +/* 802EBFB8 002E8F18 90 7D 00 00 */ stw r3, 0(r29) +/* 802EBFBC 002E8F1C 7F C4 F3 78 */ mr r4, r30 +/* 802EBFC0 002E8F20 38 7D 00 04 */ addi r3, r29, 4 +/* 802EBFC4 002E8F24 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802EBFC8 002E8F28 48 00 05 6D */ bl "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802EBFCC 002E8F2C 7F C4 F3 78 */ mr r4, r30 +/* 802EBFD0 002E8F30 38 7D 00 14 */ addi r3, r29, 0x14 +/* 802EBFD4 002E8F34 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802EBFD8 002E8F38 48 00 03 6D */ bl "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802EBFDC 002E8F3C 7F C4 F3 78 */ mr r4, r30 +/* 802EBFE0 002E8F40 38 7D 00 24 */ addi r3, r29, 0x24 +/* 802EBFE4 002E8F44 38 A1 00 0C */ addi r5, r1, 0xc +/* 802EBFE8 002E8F48 48 00 02 1D */ bl "__ct__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802EBFEC 002E8F4C 38 00 00 00 */ li r0, 0 +/* 802EBFF0 002E8F50 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802EBFF4 002E8F54 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 802EBFF8 002E8F58 90 1D 00 40 */ stw r0, 0x40(r29) +/* 802EBFFC 002E8F5C 80 1D 00 00 */ lwz r0, 0(r29) +/* 802EC000 002E8F60 28 00 00 01 */ cmplwi r0, 1 +/* 802EC004 002E8F64 40 81 00 78 */ ble lbl_802EC07C +/* 802EC008 002E8F68 7F C4 F3 78 */ mr r4, r30 +/* 802EC00C 002E8F6C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802EC010 002E8F70 38 A1 00 08 */ addi r5, r1, 8 +/* 802EC014 002E8F74 48 00 00 89 */ bl "__ct__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802EC018 002E8F78 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802EC01C 002E8F7C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802EC020 002E8F80 4B FE FA 6D */ bl sub_802dba8c +/* 802EC024 002E8F84 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802EC028 002E8F88 83 C1 00 34 */ lwz r30, 0x34(r1) +/* 802EC02C 002E8F8C 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802EC030 002E8F90 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 802EC034 002E8F94 7F FE 02 14 */ add r31, r30, r0 +/* 802EC038 002E8F98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EC03C 002E8F9C 93 E1 00 24 */ stw r31, 0x24(r1) +/* 802EC040 002E8FA0 93 E1 00 20 */ stw r31, 0x20(r1) +/* 802EC044 002E8FA4 48 00 00 20 */ b lbl_802EC064 +lbl_802EC048: +/* 802EC048 002E8FA8 7F C3 F3 78 */ mr r3, r30 +/* 802EC04C 002E8FAC 38 80 FF FF */ li r4, -1 +/* 802EC050 002E8FB0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802EC054 002E8FB4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EC058 002E8FB8 7D 89 03 A6 */ mtctr r12 +/* 802EC05C 002E8FBC 4E 80 04 21 */ bctrl +/* 802EC060 002E8FC0 3B DE 00 44 */ addi r30, r30, 0x44 +lbl_802EC064: +/* 802EC064 002E8FC4 7C 1E F8 40 */ cmplw r30, r31 +/* 802EC068 002E8FC8 40 82 FF E0 */ bne lbl_802EC048 +/* 802EC06C 002E8FCC 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802EC070 002E8FD0 28 03 00 00 */ cmplwi r3, 0 +/* 802EC074 002E8FD4 41 82 00 08 */ beq lbl_802EC07C +/* 802EC078 002E8FD8 48 02 98 B9 */ bl Free__7CMemoryFPCv +lbl_802EC07C: +/* 802EC07C 002E8FDC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EC080 002E8FE0 7F A3 EB 78 */ mr r3, r29 +/* 802EC084 002E8FE4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802EC088 002E8FE8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802EC08C 002E8FEC 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802EC090 002E8FF0 7C 08 03 A6 */ mtlr r0 +/* 802EC094 002E8FF4 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EC098 002E8FF8 4E 80 00 20 */ blr + +.global "__ct__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802EC09C 002E8FFC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802EC0A0 002E9000 7C 08 02 A6 */ mflr r0 +/* 802EC0A4 002E9004 90 01 00 74 */ stw r0, 0x74(r1) +/* 802EC0A8 002E9008 38 00 00 00 */ li r0, 0 +/* 802EC0AC 002E900C BF 01 00 50 */ stmw r24, 0x50(r1) +/* 802EC0B0 002E9010 7C 78 1B 78 */ mr r24, r3 +/* 802EC0B4 002E9014 7C 99 23 78 */ mr r25, r4 +/* 802EC0B8 002E9018 90 03 00 04 */ stw r0, 4(r3) +/* 802EC0BC 002E901C 7F 23 CB 78 */ mr r3, r25 +/* 802EC0C0 002E9020 90 18 00 08 */ stw r0, 8(r24) +/* 802EC0C4 002E9024 90 18 00 0C */ stw r0, 0xc(r24) +/* 802EC0C8 002E9028 48 05 2B BD */ bl ReadLong__12CInputStreamFv +/* 802EC0CC 002E902C 7C 7C 1B 78 */ mr r28, r3 +/* 802EC0D0 002E9030 7F 03 C3 78 */ mr r3, r24 +/* 802EC0D4 002E9034 7F 84 E3 78 */ mr r4, r28 +/* 802EC0D8 002E9038 4B FF 15 F5 */ bl "reserve__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>Fi" +/* 802EC0DC 002E903C 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 802EC0E0 002E9040 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802EC0E4 002E9044 3B 61 00 14 */ addi r27, r1, 0x14 +/* 802EC0E8 002E9048 3B A1 00 08 */ addi r29, r1, 8 +/* 802EC0EC 002E904C 3B C4 9B 80 */ addi r30, r4, lbl_803D9B80@l +/* 802EC0F0 002E9050 3B E3 9B 8C */ addi r31, r3, lbl_803D9B8C@l +/* 802EC0F4 002E9054 3B 40 00 00 */ li r26, 0 +/* 802EC0F8 002E9058 48 00 00 44 */ b lbl_802EC13C +lbl_802EC0FC: +/* 802EC0FC 002E905C 88 0D A7 38 */ lbz r0, lbl_805A92F8@sda21(r13) +/* 802EC100 002E9060 7F 24 CB 78 */ mr r4, r25 +/* 802EC104 002E9064 7F A5 EB 78 */ mr r5, r29 +/* 802EC108 002E9068 38 61 00 0C */ addi r3, r1, 0xc +/* 802EC10C 002E906C 98 01 00 08 */ stb r0, 8(r1) +/* 802EC110 002E9070 48 00 00 4D */ bl "Get<13CSoundPOINode>__12CInputStreamFRC22TType<13CSoundPOINode>" +/* 802EC114 002E9074 7F 03 C3 78 */ mr r3, r24 +/* 802EC118 002E9078 38 81 00 0C */ addi r4, r1, 0xc +/* 802EC11C 002E907C 4B FF A4 79 */ bl "push_back__Q24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>FRC13CSoundPOINode" +/* 802EC120 002E9080 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802EC124 002E9084 28 1B 00 00 */ cmplwi r27, 0 +/* 802EC128 002E9088 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EC12C 002E908C 41 82 00 0C */ beq lbl_802EC138 +/* 802EC130 002E9090 7F 63 DB 78 */ mr r3, r27 +/* 802EC134 002E9094 48 05 19 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EC138: +/* 802EC138 002E9098 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802EC13C: +/* 802EC13C 002E909C 7C 1A E0 00 */ cmpw r26, r28 +/* 802EC140 002E90A0 41 80 FF BC */ blt lbl_802EC0FC +/* 802EC144 002E90A4 7F 03 C3 78 */ mr r3, r24 +/* 802EC148 002E90A8 BB 01 00 50 */ lmw r24, 0x50(r1) +/* 802EC14C 002E90AC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802EC150 002E90B0 7C 08 03 A6 */ mtlr r0 +/* 802EC154 002E90B4 38 21 00 70 */ addi r1, r1, 0x70 +/* 802EC158 002E90B8 4E 80 00 20 */ blr + +.global "Get<13CSoundPOINode>__12CInputStreamFRC22TType<13CSoundPOINode>" +"Get<13CSoundPOINode>__12CInputStreamFRC22TType<13CSoundPOINode>": +/* 802EC15C 002E90BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EC160 002E90C0 7C 08 02 A6 */ mflr r0 +/* 802EC164 002E90C4 7C 85 23 78 */ mr r5, r4 +/* 802EC168 002E90C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EC16C 002E90CC 38 81 00 08 */ addi r4, r1, 8 +/* 802EC170 002E90D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EC174 002E90D4 7C 7F 1B 78 */ mr r31, r3 +/* 802EC178 002E90D8 88 0D A7 3C */ lbz r0, lbl_805A92FC@sda21(r13) +/* 802EC17C 002E90DC 98 01 00 08 */ stb r0, 8(r1) +/* 802EC180 002E90E0 48 00 00 19 */ bl __ct__13CSoundPOINodeFR12CInputStream +/* 802EC184 002E90E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EC188 002E90E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EC18C 002E90EC 7C 08 03 A6 */ mtlr r0 +/* 802EC190 002E90F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EC194 002E90F4 4E 80 00 20 */ blr + +.global __ct__13CSoundPOINodeFR12CInputStream +__ct__13CSoundPOINodeFR12CInputStream: +/* 802EC198 002E90F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EC19C 002E90FC 7C 08 02 A6 */ mflr r0 +/* 802EC1A0 002E9100 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EC1A4 002E9104 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EC1A8 002E9108 7C BF 2B 78 */ mr r31, r5 +/* 802EC1AC 002E910C 7F E4 FB 78 */ mr r4, r31 +/* 802EC1B0 002E9110 93 C1 00 08 */ stw r30, 8(r1) +/* 802EC1B4 002E9114 7C 7E 1B 78 */ mr r30, r3 +/* 802EC1B8 002E9118 48 01 0F A5 */ bl __ct__8CPOINodeFR12CInputStream +/* 802EC1BC 002E911C 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 802EC1C0 002E9120 7F E3 FB 78 */ mr r3, r31 +/* 802EC1C4 002E9124 38 04 9B 80 */ addi r0, r4, lbl_803D9B80@l +/* 802EC1C8 002E9128 90 1E 00 00 */ stw r0, 0(r30) +/* 802EC1CC 002E912C 48 05 2A B9 */ bl ReadLong__12CInputStreamFv +/* 802EC1D0 002E9130 90 7E 00 38 */ stw r3, 0x38(r30) +/* 802EC1D4 002E9134 7F E3 FB 78 */ mr r3, r31 +/* 802EC1D8 002E9138 48 05 2A 51 */ bl ReadFloat__12CInputStreamFv +/* 802EC1DC 002E913C D0 3E 00 3C */ stfs f1, 0x3c(r30) +/* 802EC1E0 002E9140 7F E3 FB 78 */ mr r3, r31 +/* 802EC1E4 002E9144 48 05 2A 45 */ bl ReadFloat__12CInputStreamFv +/* 802EC1E8 002E9148 D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 802EC1EC 002E914C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EC1F0 002E9150 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EC1F4 002E9154 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EC1F8 002E9158 7C 08 03 A6 */ mtlr r0 +/* 802EC1FC 002E915C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EC200 002E9160 4E 80 00 20 */ blr + +.global "__ct__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802EC204 002E9164 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802EC208 002E9168 7C 08 02 A6 */ mflr r0 +/* 802EC20C 002E916C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802EC210 002E9170 38 00 00 00 */ li r0, 0 +/* 802EC214 002E9174 BE C1 00 68 */ stmw r22, 0x68(r1) +/* 802EC218 002E9178 7C 76 1B 78 */ mr r22, r3 +/* 802EC21C 002E917C 7C 97 23 78 */ mr r23, r4 +/* 802EC220 002E9180 90 03 00 04 */ stw r0, 4(r3) +/* 802EC224 002E9184 7E E3 BB 78 */ mr r3, r23 +/* 802EC228 002E9188 90 16 00 08 */ stw r0, 8(r22) +/* 802EC22C 002E918C 90 16 00 0C */ stw r0, 0xc(r22) +/* 802EC230 002E9190 48 05 2A 55 */ bl ReadLong__12CInputStreamFv +/* 802EC234 002E9194 7C 7C 1B 78 */ mr r28, r3 +/* 802EC238 002E9198 7E C3 B3 78 */ mr r3, r22 +/* 802EC23C 002E919C 7F 84 E3 78 */ mr r4, r28 +/* 802EC240 002E91A0 4B FF 12 A1 */ bl "reserve__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>Fi" +/* 802EC244 002E91A4 3B 21 00 44 */ addi r25, r1, 0x44 +/* 802EC248 002E91A8 3C 80 80 3E */ lis r4, lbl_803D9B74@ha +/* 802EC24C 002E91AC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802EC250 002E91B0 3B 41 00 14 */ addi r26, r1, 0x14 +/* 802EC254 002E91B4 3B 79 00 0C */ addi r27, r25, 0xc +/* 802EC258 002E91B8 3B A1 00 08 */ addi r29, r1, 8 +/* 802EC25C 002E91BC 3B C4 9B 74 */ addi r30, r4, lbl_803D9B74@l +/* 802EC260 002E91C0 3B E3 9B 8C */ addi r31, r3, lbl_803D9B8C@l +/* 802EC264 002E91C4 3B 00 00 00 */ li r24, 0 +/* 802EC268 002E91C8 48 00 00 5C */ b lbl_802EC2C4 +lbl_802EC26C: +/* 802EC26C 002E91CC 88 0D A7 30 */ lbz r0, lbl_805A92F0@sda21(r13) +/* 802EC270 002E91D0 7E E4 BB 78 */ mr r4, r23 +/* 802EC274 002E91D4 7F A5 EB 78 */ mr r5, r29 +/* 802EC278 002E91D8 38 61 00 0C */ addi r3, r1, 0xc +/* 802EC27C 002E91DC 98 01 00 08 */ stb r0, 8(r1) +/* 802EC280 002E91E0 48 00 00 65 */ bl "Get<16CParticlePOINode>__12CInputStreamFRC25TType<16CParticlePOINode>" +/* 802EC284 002E91E4 7E C3 B3 78 */ mr r3, r22 +/* 802EC288 002E91E8 38 81 00 0C */ addi r4, r1, 0xc +/* 802EC28C 002E91EC 4B FF A4 A5 */ bl "push_back__Q24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>FRC16CParticlePOINode" +/* 802EC290 002E91F0 28 19 00 00 */ cmplwi r25, 0 +/* 802EC294 002E91F4 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802EC298 002E91F8 41 82 00 14 */ beq lbl_802EC2AC +/* 802EC29C 002E91FC 28 1B 00 00 */ cmplwi r27, 0 +/* 802EC2A0 002E9200 41 82 00 0C */ beq lbl_802EC2AC +/* 802EC2A4 002E9204 7F 63 DB 78 */ mr r3, r27 +/* 802EC2A8 002E9208 48 05 18 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EC2AC: +/* 802EC2AC 002E920C 28 1A 00 00 */ cmplwi r26, 0 +/* 802EC2B0 002E9210 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EC2B4 002E9214 41 82 00 0C */ beq lbl_802EC2C0 +/* 802EC2B8 002E9218 7F 43 D3 78 */ mr r3, r26 +/* 802EC2BC 002E921C 48 05 18 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EC2C0: +/* 802EC2C0 002E9220 3B 18 00 01 */ addi r24, r24, 1 +lbl_802EC2C4: +/* 802EC2C4 002E9224 7C 18 E0 00 */ cmpw r24, r28 +/* 802EC2C8 002E9228 41 80 FF A4 */ blt lbl_802EC26C +/* 802EC2CC 002E922C 7E C3 B3 78 */ mr r3, r22 +/* 802EC2D0 002E9230 BA C1 00 68 */ lmw r22, 0x68(r1) +/* 802EC2D4 002E9234 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802EC2D8 002E9238 7C 08 03 A6 */ mtlr r0 +/* 802EC2DC 002E923C 38 21 00 90 */ addi r1, r1, 0x90 +/* 802EC2E0 002E9240 4E 80 00 20 */ blr + +.global "Get<16CParticlePOINode>__12CInputStreamFRC25TType<16CParticlePOINode>" +"Get<16CParticlePOINode>__12CInputStreamFRC25TType<16CParticlePOINode>": +/* 802EC2E4 002E9244 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EC2E8 002E9248 7C 08 02 A6 */ mflr r0 +/* 802EC2EC 002E924C 7C 85 23 78 */ mr r5, r4 +/* 802EC2F0 002E9250 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EC2F4 002E9254 38 81 00 08 */ addi r4, r1, 8 +/* 802EC2F8 002E9258 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EC2FC 002E925C 7C 7F 1B 78 */ mr r31, r3 +/* 802EC300 002E9260 88 0D A7 34 */ lbz r0, lbl_805A92F4@sda21(r13) +/* 802EC304 002E9264 98 01 00 08 */ stb r0, 8(r1) +/* 802EC308 002E9268 48 00 00 19 */ bl "cinput_stream_helper<16CParticlePOINode>__FRC25TType<16CParticlePOINode>R12CInputStream" +/* 802EC30C 002E926C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EC310 002E9270 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EC314 002E9274 7C 08 03 A6 */ mtlr r0 +/* 802EC318 002E9278 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EC31C 002E927C 4E 80 00 20 */ blr + +.global "cinput_stream_helper<16CParticlePOINode>__FRC25TType<16CParticlePOINode>R12CInputStream" +"cinput_stream_helper<16CParticlePOINode>__FRC25TType<16CParticlePOINode>R12CInputStream": +/* 802EC320 002E9280 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EC324 002E9284 7C 08 02 A6 */ mflr r0 +/* 802EC328 002E9288 7C A4 2B 78 */ mr r4, r5 +/* 802EC32C 002E928C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EC330 002E9290 48 01 0D 25 */ bl __ct__16CParticlePOINodeFR12CInputStream +/* 802EC334 002E9294 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EC338 002E9298 7C 08 03 A6 */ mtlr r0 +/* 802EC33C 002E929C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EC340 002E92A0 4E 80 00 20 */ blr + +.global "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802EC344 002E92A4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802EC348 002E92A8 7C 08 02 A6 */ mflr r0 +/* 802EC34C 002E92AC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802EC350 002E92B0 38 00 00 00 */ li r0, 0 +/* 802EC354 002E92B4 BE C1 00 58 */ stmw r22, 0x58(r1) +/* 802EC358 002E92B8 7C 78 1B 78 */ mr r24, r3 +/* 802EC35C 002E92BC 7C 99 23 78 */ mr r25, r4 +/* 802EC360 002E92C0 90 03 00 04 */ stw r0, 4(r3) +/* 802EC364 002E92C4 7F 23 CB 78 */ mr r3, r25 +/* 802EC368 002E92C8 90 18 00 08 */ stw r0, 8(r24) +/* 802EC36C 002E92CC 90 18 00 0C */ stw r0, 0xc(r24) +/* 802EC370 002E92D0 48 05 29 15 */ bl ReadLong__12CInputStreamFv +/* 802EC374 002E92D4 7C 7D 1B 78 */ mr r29, r3 +/* 802EC378 002E92D8 7F 03 C3 78 */ mr r3, r24 +/* 802EC37C 002E92DC 7F A4 EB 78 */ mr r4, r29 +/* 802EC380 002E92E0 4B FF 0F 95 */ bl "reserve__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>Fi" +/* 802EC384 002E92E4 3C 80 80 3E */ lis r4, lbl_803D9B98@ha +/* 802EC388 002E92E8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802EC38C 002E92EC 3B 81 00 14 */ addi r28, r1, 0x14 +/* 802EC390 002E92F0 3B 61 00 48 */ addi r27, r1, 0x48 +/* 802EC394 002E92F4 3B E1 00 08 */ addi r31, r1, 8 +/* 802EC398 002E92F8 3A C4 9B 98 */ addi r22, r4, lbl_803D9B98@l +/* 802EC39C 002E92FC 3A E3 9B 8C */ addi r23, r3, lbl_803D9B8C@l +/* 802EC3A0 002E9300 3B 40 00 00 */ li r26, 0 +/* 802EC3A4 002E9304 48 00 01 10 */ b lbl_802EC4B4 +lbl_802EC3A8: +/* 802EC3A8 002E9308 88 0D A7 28 */ lbz r0, lbl_805A92E8@sda21(r13) +/* 802EC3AC 002E930C 7F 24 CB 78 */ mr r4, r25 +/* 802EC3B0 002E9310 7F E5 FB 78 */ mr r5, r31 +/* 802EC3B4 002E9314 38 61 00 0C */ addi r3, r1, 0xc +/* 802EC3B8 002E9318 98 01 00 08 */ stb r0, 8(r1) +/* 802EC3BC 002E931C 48 00 01 19 */ bl "Get<13CInt32POINode>__12CInputStreamFRC22TType<13CInt32POINode>" +/* 802EC3C0 002E9320 80 18 00 04 */ lwz r0, 4(r24) +/* 802EC3C4 002E9324 80 B8 00 08 */ lwz r5, 8(r24) +/* 802EC3C8 002E9328 7C 00 28 00 */ cmpw r0, r5 +/* 802EC3CC 002E932C 41 80 00 1C */ blt lbl_802EC3E8 +/* 802EC3D0 002E9330 2C 05 00 00 */ cmpwi r5, 0 +/* 802EC3D4 002E9334 7F 03 C3 78 */ mr r3, r24 +/* 802EC3D8 002E9338 38 80 00 04 */ li r4, 4 +/* 802EC3DC 002E933C 41 82 00 08 */ beq lbl_802EC3E4 +/* 802EC3E0 002E9340 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802EC3E4: +/* 802EC3E4 002E9344 4B FF 0F 31 */ bl "reserve__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>Fi" +lbl_802EC3E8: +/* 802EC3E8 002E9348 80 18 00 04 */ lwz r0, 4(r24) +/* 802EC3EC 002E934C 80 78 00 0C */ lwz r3, 0xc(r24) +/* 802EC3F0 002E9350 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802EC3F4 002E9354 7F C3 02 15 */ add. r30, r3, r0 +/* 802EC3F8 002E9358 41 82 00 84 */ beq lbl_802EC47C +/* 802EC3FC 002E935C 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802EC400 002E9360 7F 84 E3 78 */ mr r4, r28 +/* 802EC404 002E9364 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802EC408 002E9368 90 1E 00 00 */ stw r0, 0(r30) +/* 802EC40C 002E936C 38 7E 00 08 */ addi r3, r30, 8 +/* 802EC410 002E9370 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802EC414 002E9374 B0 1E 00 04 */ sth r0, 4(r30) +/* 802EC418 002E9378 48 05 1D 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EC41C 002E937C A0 A1 00 24 */ lhz r5, 0x24(r1) +/* 802EC420 002E9380 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802EC424 002E9384 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802EC428 002E9388 7F 64 DB 78 */ mr r4, r27 +/* 802EC42C 002E938C B0 BE 00 18 */ sth r5, 0x18(r30) +/* 802EC430 002E9390 38 7E 00 3C */ addi r3, r30, 0x3c +/* 802EC434 002E9394 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802EC438 002E9398 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802EC43C 002E939C 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 802EC440 002E93A0 90 BE 00 20 */ stw r5, 0x20(r30) +/* 802EC444 002E93A4 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 802EC448 002E93A8 90 BE 00 24 */ stw r5, 0x24(r30) +/* 802EC44C 002E93AC 88 A1 00 34 */ lbz r5, 0x34(r1) +/* 802EC450 002E93B0 98 BE 00 28 */ stb r5, 0x28(r30) +/* 802EC454 002E93B4 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802EC458 002E93B8 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802EC45C 002E93BC 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802EC460 002E93C0 90 BE 00 30 */ stw r5, 0x30(r30) +/* 802EC464 002E93C4 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802EC468 002E93C8 90 BE 00 34 */ stw r5, 0x34(r30) +/* 802EC46C 002E93CC 90 1E 00 00 */ stw r0, 0(r30) +/* 802EC470 002E93D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802EC474 002E93D4 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802EC478 002E93D8 48 05 1C E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802EC47C: +/* 802EC47C 002E93DC 80 78 00 04 */ lwz r3, 4(r24) +/* 802EC480 002E93E0 28 1B 00 00 */ cmplwi r27, 0 +/* 802EC484 002E93E4 38 03 00 01 */ addi r0, r3, 1 +/* 802EC488 002E93E8 90 18 00 04 */ stw r0, 4(r24) +/* 802EC48C 002E93EC 92 C1 00 0C */ stw r22, 0xc(r1) +/* 802EC490 002E93F0 41 82 00 0C */ beq lbl_802EC49C +/* 802EC494 002E93F4 7F 63 DB 78 */ mr r3, r27 +/* 802EC498 002E93F8 48 05 16 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EC49C: +/* 802EC49C 002E93FC 28 1C 00 00 */ cmplwi r28, 0 +/* 802EC4A0 002E9400 92 E1 00 0C */ stw r23, 0xc(r1) +/* 802EC4A4 002E9404 41 82 00 0C */ beq lbl_802EC4B0 +/* 802EC4A8 002E9408 7F 83 E3 78 */ mr r3, r28 +/* 802EC4AC 002E940C 48 05 16 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EC4B0: +/* 802EC4B0 002E9410 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802EC4B4: +/* 802EC4B4 002E9414 7C 1A E8 00 */ cmpw r26, r29 +/* 802EC4B8 002E9418 41 80 FE F0 */ blt lbl_802EC3A8 +/* 802EC4BC 002E941C 7F 03 C3 78 */ mr r3, r24 +/* 802EC4C0 002E9420 BA C1 00 58 */ lmw r22, 0x58(r1) +/* 802EC4C4 002E9424 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802EC4C8 002E9428 7C 08 03 A6 */ mtlr r0 +/* 802EC4CC 002E942C 38 21 00 80 */ addi r1, r1, 0x80 +/* 802EC4D0 002E9430 4E 80 00 20 */ blr + +.global "Get<13CInt32POINode>__12CInputStreamFRC22TType<13CInt32POINode>" +"Get<13CInt32POINode>__12CInputStreamFRC22TType<13CInt32POINode>": +/* 802EC4D4 002E9434 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EC4D8 002E9438 7C 08 02 A6 */ mflr r0 +/* 802EC4DC 002E943C 7C 85 23 78 */ mr r5, r4 +/* 802EC4E0 002E9440 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EC4E4 002E9444 38 81 00 08 */ addi r4, r1, 8 +/* 802EC4E8 002E9448 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EC4EC 002E944C 7C 7F 1B 78 */ mr r31, r3 +/* 802EC4F0 002E9450 88 0D A7 2C */ lbz r0, lbl_805A92EC@sda21(r13) +/* 802EC4F4 002E9454 98 01 00 08 */ stb r0, 8(r1) +/* 802EC4F8 002E9458 48 00 00 19 */ bl "cinput_stream_helper<13CInt32POINode>__FRC22TType<13CInt32POINode>R12CInputStream" +/* 802EC4FC 002E945C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EC500 002E9460 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EC504 002E9464 7C 08 03 A6 */ mtlr r0 +/* 802EC508 002E9468 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EC50C 002E946C 4E 80 00 20 */ blr + +.global "cinput_stream_helper<13CInt32POINode>__FRC22TType<13CInt32POINode>R12CInputStream" +"cinput_stream_helper<13CInt32POINode>__FRC22TType<13CInt32POINode>R12CInputStream": +/* 802EC510 002E9470 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EC514 002E9474 7C 08 02 A6 */ mflr r0 +/* 802EC518 002E9478 7C A4 2B 78 */ mr r4, r5 +/* 802EC51C 002E947C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EC520 002E9480 48 01 0A 31 */ bl __ct__13CInt32POINodeFR12CInputStream +/* 802EC524 002E9484 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EC528 002E9488 7C 08 03 A6 */ mtlr r0 +/* 802EC52C 002E948C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EC530 002E9490 4E 80 00 20 */ blr + +.global "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802EC534 002E9494 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802EC538 002E9498 7C 08 02 A6 */ mflr r0 +/* 802EC53C 002E949C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802EC540 002E94A0 38 00 00 00 */ li r0, 0 +/* 802EC544 002E94A4 BE E1 00 4C */ stmw r23, 0x4c(r1) +/* 802EC548 002E94A8 7C 79 1B 78 */ mr r25, r3 +/* 802EC54C 002E94AC 7C 9A 23 78 */ mr r26, r4 +/* 802EC550 002E94B0 90 03 00 04 */ stw r0, 4(r3) +/* 802EC554 002E94B4 7F 43 D3 78 */ mr r3, r26 +/* 802EC558 002E94B8 90 19 00 08 */ stw r0, 8(r25) +/* 802EC55C 002E94BC 90 19 00 0C */ stw r0, 0xc(r25) +/* 802EC560 002E94C0 48 05 27 25 */ bl ReadLong__12CInputStreamFv +/* 802EC564 002E94C4 7C 7D 1B 78 */ mr r29, r3 +/* 802EC568 002E94C8 7F 23 CB 78 */ mr r3, r25 +/* 802EC56C 002E94CC 7F A4 EB 78 */ mr r4, r29 +/* 802EC570 002E94D0 4B FF 0B E5 */ bl sub_802dd154 +/* 802EC574 002E94D4 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 802EC578 002E94D8 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802EC57C 002E94DC 3B 81 00 14 */ addi r28, r1, 0x14 +/* 802EC580 002E94E0 3B E1 00 08 */ addi r31, r1, 8 +/* 802EC584 002E94E4 3A E4 9B 68 */ addi r23, r4, lbl_803D9B68@l +/* 802EC588 002E94E8 3B 03 9B 8C */ addi r24, r3, lbl_803D9B8C@l +/* 802EC58C 002E94EC 3B 60 00 00 */ li r27, 0 +/* 802EC590 002E94F0 48 00 00 F4 */ b lbl_802EC684 +lbl_802EC594: +/* 802EC594 002E94F4 88 0D A7 20 */ lbz r0, lbl_805A92E0@sda21(r13) +/* 802EC598 002E94F8 7F 44 D3 78 */ mr r4, r26 +/* 802EC59C 002E94FC 7F E5 FB 78 */ mr r5, r31 +/* 802EC5A0 002E9500 38 61 00 0C */ addi r3, r1, 0xc +/* 802EC5A4 002E9504 98 01 00 08 */ stb r0, 8(r1) +/* 802EC5A8 002E9508 48 00 00 FD */ bl "Get<12CBoolPOINode>__12CInputStreamFRC21TType<12CBoolPOINode>" +/* 802EC5AC 002E950C 80 19 00 04 */ lwz r0, 4(r25) +/* 802EC5B0 002E9510 80 B9 00 08 */ lwz r5, 8(r25) +/* 802EC5B4 002E9514 7C 00 28 00 */ cmpw r0, r5 +/* 802EC5B8 002E9518 41 80 00 1C */ blt lbl_802EC5D4 +/* 802EC5BC 002E951C 2C 05 00 00 */ cmpwi r5, 0 +/* 802EC5C0 002E9520 7F 23 CB 78 */ mr r3, r25 +/* 802EC5C4 002E9524 38 80 00 04 */ li r4, 4 +/* 802EC5C8 002E9528 41 82 00 08 */ beq lbl_802EC5D0 +/* 802EC5CC 002E952C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802EC5D0: +/* 802EC5D0 002E9530 4B FF 0B 85 */ bl sub_802dd154 +lbl_802EC5D4: +/* 802EC5D4 002E9534 80 19 00 04 */ lwz r0, 4(r25) +/* 802EC5D8 002E9538 80 79 00 0C */ lwz r3, 0xc(r25) +/* 802EC5DC 002E953C 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802EC5E0 002E9540 7F C3 02 15 */ add. r30, r3, r0 +/* 802EC5E4 002E9544 41 82 00 78 */ beq lbl_802EC65C +/* 802EC5E8 002E9548 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802EC5EC 002E954C 7F 84 E3 78 */ mr r4, r28 +/* 802EC5F0 002E9550 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802EC5F4 002E9554 38 7E 00 08 */ addi r3, r30, 8 +/* 802EC5F8 002E9558 90 1E 00 00 */ stw r0, 0(r30) +/* 802EC5FC 002E955C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802EC600 002E9560 B0 1E 00 04 */ sth r0, 4(r30) +/* 802EC604 002E9564 48 05 1B 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EC608 002E9568 A0 81 00 24 */ lhz r4, 0x24(r1) +/* 802EC60C 002E956C 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802EC610 002E9570 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 802EC614 002E9574 B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802EC618 002E9578 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802EC61C 002E957C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802EC620 002E9580 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802EC624 002E9584 90 7E 00 20 */ stw r3, 0x20(r30) +/* 802EC628 002E9588 80 61 00 30 */ lwz r3, 0x30(r1) +/* 802EC62C 002E958C 90 7E 00 24 */ stw r3, 0x24(r30) +/* 802EC630 002E9590 88 61 00 34 */ lbz r3, 0x34(r1) +/* 802EC634 002E9594 98 7E 00 28 */ stb r3, 0x28(r30) +/* 802EC638 002E9598 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802EC63C 002E959C D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802EC640 002E95A0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802EC644 002E95A4 90 7E 00 30 */ stw r3, 0x30(r30) +/* 802EC648 002E95A8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802EC64C 002E95AC 90 7E 00 34 */ stw r3, 0x34(r30) +/* 802EC650 002E95B0 90 1E 00 00 */ stw r0, 0(r30) +/* 802EC654 002E95B4 88 01 00 44 */ lbz r0, 0x44(r1) +/* 802EC658 002E95B8 98 1E 00 38 */ stb r0, 0x38(r30) +lbl_802EC65C: +/* 802EC65C 002E95BC 80 79 00 04 */ lwz r3, 4(r25) +/* 802EC660 002E95C0 28 1C 00 00 */ cmplwi r28, 0 +/* 802EC664 002E95C4 38 03 00 01 */ addi r0, r3, 1 +/* 802EC668 002E95C8 90 19 00 04 */ stw r0, 4(r25) +/* 802EC66C 002E95CC 92 E1 00 0C */ stw r23, 0xc(r1) +/* 802EC670 002E95D0 93 01 00 0C */ stw r24, 0xc(r1) +/* 802EC674 002E95D4 41 82 00 0C */ beq lbl_802EC680 +/* 802EC678 002E95D8 7F 83 E3 78 */ mr r3, r28 +/* 802EC67C 002E95DC 48 05 14 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EC680: +/* 802EC680 002E95E0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802EC684: +/* 802EC684 002E95E4 7C 1B E8 00 */ cmpw r27, r29 +/* 802EC688 002E95E8 41 80 FF 0C */ blt lbl_802EC594 +/* 802EC68C 002E95EC 7F 23 CB 78 */ mr r3, r25 +/* 802EC690 002E95F0 BA E1 00 4C */ lmw r23, 0x4c(r1) +/* 802EC694 002E95F4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802EC698 002E95F8 7C 08 03 A6 */ mtlr r0 +/* 802EC69C 002E95FC 38 21 00 70 */ addi r1, r1, 0x70 +/* 802EC6A0 002E9600 4E 80 00 20 */ blr + +.global "Get<12CBoolPOINode>__12CInputStreamFRC21TType<12CBoolPOINode>" +"Get<12CBoolPOINode>__12CInputStreamFRC21TType<12CBoolPOINode>": +/* 802EC6A4 002E9604 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EC6A8 002E9608 7C 08 02 A6 */ mflr r0 +/* 802EC6AC 002E960C 7C 85 23 78 */ mr r5, r4 +/* 802EC6B0 002E9610 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EC6B4 002E9614 38 81 00 08 */ addi r4, r1, 8 +/* 802EC6B8 002E9618 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EC6BC 002E961C 7C 7F 1B 78 */ mr r31, r3 +/* 802EC6C0 002E9620 88 0D A7 24 */ lbz r0, lbl_805A92E4@sda21(r13) +/* 802EC6C4 002E9624 98 01 00 08 */ stb r0, 8(r1) +/* 802EC6C8 002E9628 48 00 00 19 */ bl "cinput_stream_helper<12CBoolPOINode>__FRC21TType<12CBoolPOINode>R12CInputStream" +/* 802EC6CC 002E962C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EC6D0 002E9630 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EC6D4 002E9634 7C 08 03 A6 */ mtlr r0 +/* 802EC6D8 002E9638 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EC6DC 002E963C 4E 80 00 20 */ blr + +.global "cinput_stream_helper<12CBoolPOINode>__FRC21TType<12CBoolPOINode>R12CInputStream" +"cinput_stream_helper<12CBoolPOINode>__FRC21TType<12CBoolPOINode>R12CInputStream": +/* 802EC6E0 002E9640 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EC6E4 002E9644 7C 08 02 A6 */ mflr r0 +/* 802EC6E8 002E9648 7C A4 2B 78 */ mr r4, r5 +/* 802EC6EC 002E964C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EC6F0 002E9650 48 00 B4 65 */ bl __ct__12CBoolPOINodeFR12CInputStream +/* 802EC6F4 002E9654 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EC6F8 002E9658 7C 08 03 A6 */ mtlr r0 +/* 802EC6FC 002E965C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EC700 002E9660 4E 80 00 20 */ blr + +.global GetSegStatementSet__11CAnimSourceCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +GetSegStatementSet__11CAnimSourceCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime: +/* 802EC704 002E9664 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802EC708 002E9668 7C 08 02 A6 */ mflr r0 +/* 802EC70C 002E966C 90 01 00 84 */ stw r0, 0x84(r1) +/* 802EC710 002E9670 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802EC714 002E9674 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802EC718 002E9678 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 802EC71C 002E967C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 802EC720 002E9680 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 802EC724 002E9684 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 802EC728 002E9688 BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 802EC72C 002E968C 7C 77 1B 78 */ mr r23, r3 +/* 802EC730 002E9690 C3 C6 00 00 */ lfs f30, 0(r6) +/* 802EC734 002E9694 C3 E3 00 08 */ lfs f31, 8(r3) +/* 802EC738 002E9698 7C 98 23 78 */ mr r24, r4 +/* 802EC73C 002E969C 7C B9 2B 78 */ mr r25, r5 +/* 802EC740 002E96A0 EF A0 F8 30 */ fres f29, f31 +/* 802EC744 002E96A4 EC 3E 07 72 */ fmuls f1, f30, f29 +/* 802EC748 002E96A8 48 09 D2 0D */ bl __cvt_fp2unsigned +/* 802EC74C 002E96AC 7C 7E 1B 78 */ mr r30, r3 +/* 802EC750 002E96B0 3C 00 43 30 */ lis r0, 0x4330 +/* 802EC754 002E96B4 93 C1 00 24 */ stw r30, 0x24(r1) +/* 802EC758 002E96B8 C8 42 C6 68 */ lfd f2, lbl_805AE388@sda21(r2) +/* 802EC75C 002E96BC 90 01 00 20 */ stw r0, 0x20(r1) +/* 802EC760 002E96C0 C8 02 C6 58 */ lfd f0, lbl_805AE378@sda21(r2) +/* 802EC764 002E96C4 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 802EC768 002E96C8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802EC76C 002E96CC EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802EC770 002E96D0 EC 5E 08 28 */ fsubs f2, f30, f1 +/* 802EC774 002E96D4 FC 20 12 10 */ fabs f1, f2 +/* 802EC778 002E96D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802EC77C 002E96DC 40 80 00 08 */ bge lbl_802EC784 +/* 802EC780 002E96E0 C0 42 C6 50 */ lfs f2, lbl_805AE370@sda21(r2) +lbl_802EC784: +/* 802EC784 002E96E4 EC 22 07 72 */ fmuls f1, f2, f29 +/* 802EC788 002E96E8 48 00 13 71 */ bl clamp_zero_to_one__Ff +/* 802EC78C 002E96EC 80 97 00 10 */ lwz r4, 0x10(r23) +/* 802EC790 002E96F0 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802EC794 002E96F4 FF C0 08 90 */ fmr f30, f1 +/* 802EC798 002E96F8 C0 02 C6 60 */ lfs f0, lbl_805AE380@sda21(r2) +/* 802EC79C 002E96FC 38 84 FF FF */ addi r4, r4, -1 +/* 802EC7A0 002E9700 38 1E 00 01 */ addi r0, r30, 1 +/* 802EC7A4 002E9704 7C A4 F0 50 */ subf r5, r4, r30 +/* 802EC7A8 002E9708 83 98 00 04 */ lwz r28, 4(r24) +/* 802EC7AC 002E970C 7C 9E 20 50 */ subf r4, r30, r4 +/* 802EC7B0 002E9710 EF E0 F0 28 */ fsubs f31, f0, f30 +/* 802EC7B4 002E9714 7C A4 20 F8 */ nor r4, r5, r4 +/* 802EC7B8 002E9718 3B E3 66 60 */ addi r31, r3, lbl_805A6660@l +/* 802EC7BC 002E971C 7C 83 FE 70 */ srawi r3, r4, 0x1f +/* 802EC7C0 002E9720 3B 61 00 08 */ addi r27, r1, 8 +/* 802EC7C4 002E9724 7C 1D 18 78 */ andc r29, r0, r3 +/* 802EC7C8 002E9728 3B 40 00 00 */ li r26, 0 +/* 802EC7CC 002E972C 48 00 03 80 */ b lbl_802ECB4C +lbl_802EC7D0: +/* 802EC7D0 002E9730 80 98 00 0C */ lwz r4, 0xc(r24) +/* 802EC7D4 002E9734 80 77 00 2C */ lwz r3, 0x2c(r23) +/* 802EC7D8 002E9738 7C 04 D0 AE */ lbzx r0, r4, r26 +/* 802EC7DC 002E973C 98 01 00 08 */ stb r0, 8(r1) +/* 802EC7E0 002E9740 7C 83 00 AE */ lbzx r4, r3, r0 +/* 802EC7E4 002E9744 7C 84 07 75 */ extsb. r4, r4 +/* 802EC7E8 002E9748 41 80 03 30 */ blt lbl_802ECB18 +/* 802EC7EC 002E974C C0 02 C6 38 */ lfs f0, lbl_805AE358@sda21(r2) +/* 802EC7F0 002E9750 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802EC7F4 002E9754 40 80 00 F0 */ bge lbl_802EC8E4 +/* 802EC7F8 002E9758 80 77 00 50 */ lwz r3, 0x50(r23) +/* 802EC7FC 002E975C 54 85 20 36 */ slwi r5, r4, 4 +/* 802EC800 002E9760 80 D7 00 4C */ lwz r6, 0x4c(r23) +/* 802EC804 002E9764 54 00 28 34 */ slwi r0, r0, 5 +/* 802EC808 002E9768 1C 83 00 03 */ mulli r4, r3, 3 +/* 802EC80C 002E976C 80 79 00 04 */ lwz r3, 4(r25) +/* 802EC810 002E9770 54 C6 10 3A */ slwi r6, r6, 2 +/* 802EC814 002E9774 80 F7 00 44 */ lwz r7, 0x44(r23) +/* 802EC818 002E9778 7D 03 02 14 */ add r8, r3, r0 +/* 802EC81C 002E977C 7C 06 22 14 */ add r0, r6, r4 +/* 802EC820 002E9780 7C 1D 01 D6 */ mullw r0, r29, r0 +/* 802EC824 002E9784 7E E3 BB 78 */ mr r3, r23 +/* 802EC828 002E9788 7F 64 DB 78 */ mr r4, r27 +/* 802EC82C 002E978C 54 00 10 3A */ slwi r0, r0, 2 +/* 802EC830 002E9790 7C C0 2A 14 */ add r6, r0, r5 +/* 802EC834 002E9794 7C C7 32 14 */ add r6, r7, r6 +/* 802EC838 002E9798 C0 06 00 00 */ lfs f0, 0(r6) +/* 802EC83C 002E979C D0 08 00 00 */ stfs f0, 0(r8) +/* 802EC840 002E97A0 80 A6 00 04 */ lwz r5, 4(r6) +/* 802EC844 002E97A4 80 06 00 08 */ lwz r0, 8(r6) +/* 802EC848 002E97A8 90 A8 00 04 */ stw r5, 4(r8) +/* 802EC84C 002E97AC 90 08 00 08 */ stw r0, 8(r8) +/* 802EC850 002E97B0 80 06 00 0C */ lwz r0, 0xc(r6) +/* 802EC854 002E97B4 90 08 00 0C */ stw r0, 0xc(r8) +/* 802EC858 002E97B8 48 00 07 E9 */ bl HasOffset__11CAnimSourceCFRC6CSegId +/* 802EC85C 002E97BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EC860 002E97C0 41 82 02 E8 */ beq lbl_802ECB48 +/* 802EC864 002E97C4 88 E1 00 08 */ lbz r7, 8(r1) +/* 802EC868 002E97C8 38 00 00 01 */ li r0, 1 +/* 802EC86C 002E97CC 80 97 00 2C */ lwz r4, 0x2c(r23) +/* 802EC870 002E97D0 80 B7 00 50 */ lwz r5, 0x50(r23) +/* 802EC874 002E97D4 54 E3 2C F4 */ rlwinm r3, r7, 5, 0x13, 0x1a +/* 802EC878 002E97D8 80 D7 00 4C */ lwz r6, 0x4c(r23) +/* 802EC87C 002E97DC 7C 84 38 AE */ lbzx r4, r4, r7 +/* 802EC880 002E97E0 1C E5 00 03 */ mulli r7, r5, 3 +/* 802EC884 002E97E4 54 C9 10 3A */ slwi r9, r6, 2 +/* 802EC888 002E97E8 80 D7 00 3C */ lwz r6, 0x3c(r23) +/* 802EC88C 002E97EC 7C 85 07 74 */ extsb r5, r4 +/* 802EC890 002E97F0 80 99 00 04 */ lwz r4, 4(r25) +/* 802EC894 002E97F4 7C E9 3A 14 */ add r7, r9, r7 +/* 802EC898 002E97F8 7C A6 28 AE */ lbzx r5, r6, r5 +/* 802EC89C 002E97FC 7C DD 39 D6 */ mullw r6, r29, r7 +/* 802EC8A0 002E9800 80 F7 00 44 */ lwz r7, 0x44(r23) +/* 802EC8A4 002E9804 7D 04 1A 14 */ add r8, r4, r3 +/* 802EC8A8 002E9808 7C A3 07 74 */ extsb r3, r5 +/* 802EC8AC 002E980C 1C 63 00 03 */ mulli r3, r3, 3 +/* 802EC8B0 002E9810 54 C4 10 3A */ slwi r4, r6, 2 +/* 802EC8B4 002E9814 7C 69 1A 14 */ add r3, r9, r3 +/* 802EC8B8 002E9818 7C 87 22 14 */ add r4, r7, r4 +/* 802EC8BC 002E981C 54 63 10 3A */ slwi r3, r3, 2 +/* 802EC8C0 002E9820 7C 64 1A 14 */ add r3, r4, r3 +/* 802EC8C4 002E9824 C0 03 00 00 */ lfs f0, 0(r3) +/* 802EC8C8 002E9828 D0 08 00 10 */ stfs f0, 0x10(r8) +/* 802EC8CC 002E982C C0 03 00 04 */ lfs f0, 4(r3) +/* 802EC8D0 002E9830 D0 08 00 14 */ stfs f0, 0x14(r8) +/* 802EC8D4 002E9834 C0 03 00 08 */ lfs f0, 8(r3) +/* 802EC8D8 002E9838 D0 08 00 18 */ stfs f0, 0x18(r8) +/* 802EC8DC 002E983C 90 08 00 1C */ stw r0, 0x1c(r8) +/* 802EC8E0 002E9840 48 00 02 68 */ b lbl_802ECB48 +lbl_802EC8E4: +/* 802EC8E4 002E9844 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802EC8E8 002E9848 40 80 00 F0 */ bge lbl_802EC9D8 +/* 802EC8EC 002E984C 80 77 00 50 */ lwz r3, 0x50(r23) +/* 802EC8F0 002E9850 54 85 20 36 */ slwi r5, r4, 4 +/* 802EC8F4 002E9854 80 D7 00 4C */ lwz r6, 0x4c(r23) +/* 802EC8F8 002E9858 54 00 28 34 */ slwi r0, r0, 5 +/* 802EC8FC 002E985C 1C 83 00 03 */ mulli r4, r3, 3 +/* 802EC900 002E9860 80 79 00 04 */ lwz r3, 4(r25) +/* 802EC904 002E9864 54 C6 10 3A */ slwi r6, r6, 2 +/* 802EC908 002E9868 80 F7 00 44 */ lwz r7, 0x44(r23) +/* 802EC90C 002E986C 7D 03 02 14 */ add r8, r3, r0 +/* 802EC910 002E9870 7C 06 22 14 */ add r0, r6, r4 +/* 802EC914 002E9874 7C 1E 01 D6 */ mullw r0, r30, r0 +/* 802EC918 002E9878 7E E3 BB 78 */ mr r3, r23 +/* 802EC91C 002E987C 7F 64 DB 78 */ mr r4, r27 +/* 802EC920 002E9880 54 00 10 3A */ slwi r0, r0, 2 +/* 802EC924 002E9884 7C C0 2A 14 */ add r6, r0, r5 +/* 802EC928 002E9888 7C C7 32 14 */ add r6, r7, r6 +/* 802EC92C 002E988C C0 06 00 00 */ lfs f0, 0(r6) +/* 802EC930 002E9890 D0 08 00 00 */ stfs f0, 0(r8) +/* 802EC934 002E9894 80 A6 00 04 */ lwz r5, 4(r6) +/* 802EC938 002E9898 80 06 00 08 */ lwz r0, 8(r6) +/* 802EC93C 002E989C 90 A8 00 04 */ stw r5, 4(r8) +/* 802EC940 002E98A0 90 08 00 08 */ stw r0, 8(r8) +/* 802EC944 002E98A4 80 06 00 0C */ lwz r0, 0xc(r6) +/* 802EC948 002E98A8 90 08 00 0C */ stw r0, 0xc(r8) +/* 802EC94C 002E98AC 48 00 06 F5 */ bl HasOffset__11CAnimSourceCFRC6CSegId +/* 802EC950 002E98B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EC954 002E98B4 41 82 01 F4 */ beq lbl_802ECB48 +/* 802EC958 002E98B8 88 E1 00 08 */ lbz r7, 8(r1) +/* 802EC95C 002E98BC 38 00 00 01 */ li r0, 1 +/* 802EC960 002E98C0 80 97 00 2C */ lwz r4, 0x2c(r23) +/* 802EC964 002E98C4 80 B7 00 50 */ lwz r5, 0x50(r23) +/* 802EC968 002E98C8 54 E3 2C F4 */ rlwinm r3, r7, 5, 0x13, 0x1a +/* 802EC96C 002E98CC 80 D7 00 4C */ lwz r6, 0x4c(r23) +/* 802EC970 002E98D0 7C 84 38 AE */ lbzx r4, r4, r7 +/* 802EC974 002E98D4 1C E5 00 03 */ mulli r7, r5, 3 +/* 802EC978 002E98D8 54 C9 10 3A */ slwi r9, r6, 2 +/* 802EC97C 002E98DC 80 D7 00 3C */ lwz r6, 0x3c(r23) +/* 802EC980 002E98E0 7C 85 07 74 */ extsb r5, r4 +/* 802EC984 002E98E4 80 99 00 04 */ lwz r4, 4(r25) +/* 802EC988 002E98E8 7C E9 3A 14 */ add r7, r9, r7 +/* 802EC98C 002E98EC 7C A6 28 AE */ lbzx r5, r6, r5 +/* 802EC990 002E98F0 7C DE 39 D6 */ mullw r6, r30, r7 +/* 802EC994 002E98F4 80 F7 00 44 */ lwz r7, 0x44(r23) +/* 802EC998 002E98F8 7D 04 1A 14 */ add r8, r4, r3 +/* 802EC99C 002E98FC 7C A3 07 74 */ extsb r3, r5 +/* 802EC9A0 002E9900 1C 63 00 03 */ mulli r3, r3, 3 +/* 802EC9A4 002E9904 54 C4 10 3A */ slwi r4, r6, 2 +/* 802EC9A8 002E9908 7C 69 1A 14 */ add r3, r9, r3 +/* 802EC9AC 002E990C 7C 87 22 14 */ add r4, r7, r4 +/* 802EC9B0 002E9910 54 63 10 3A */ slwi r3, r3, 2 +/* 802EC9B4 002E9914 7C 64 1A 14 */ add r3, r4, r3 +/* 802EC9B8 002E9918 C0 03 00 00 */ lfs f0, 0(r3) +/* 802EC9BC 002E991C D0 08 00 10 */ stfs f0, 0x10(r8) +/* 802EC9C0 002E9920 C0 03 00 04 */ lfs f0, 4(r3) +/* 802EC9C4 002E9924 D0 08 00 14 */ stfs f0, 0x14(r8) +/* 802EC9C8 002E9928 C0 03 00 08 */ lfs f0, 8(r3) +/* 802EC9CC 002E992C D0 08 00 18 */ stfs f0, 0x18(r8) +/* 802EC9D0 002E9930 90 08 00 1C */ stw r0, 0x1c(r8) +/* 802EC9D4 002E9934 48 00 01 74 */ b lbl_802ECB48 +lbl_802EC9D8: +/* 802EC9D8 002E9938 80 17 00 50 */ lwz r0, 0x50(r23) +/* 802EC9DC 002E993C 54 85 20 36 */ slwi r5, r4, 4 +/* 802EC9E0 002E9940 80 77 00 4C */ lwz r3, 0x4c(r23) +/* 802EC9E4 002E9944 FC 20 F0 90 */ fmr f1, f30 +/* 802EC9E8 002E9948 1C 00 00 03 */ mulli r0, r0, 3 +/* 802EC9EC 002E994C 80 D7 00 44 */ lwz r6, 0x44(r23) +/* 802EC9F0 002E9950 54 64 10 3A */ slwi r4, r3, 2 +/* 802EC9F4 002E9954 38 61 00 0C */ addi r3, r1, 0xc +/* 802EC9F8 002E9958 7C 04 02 14 */ add r0, r4, r0 +/* 802EC9FC 002E995C 7C 9E 01 D6 */ mullw r4, r30, r0 +/* 802ECA00 002E9960 7C 1D 01 D6 */ mullw r0, r29, r0 +/* 802ECA04 002E9964 54 84 10 3A */ slwi r4, r4, 2 +/* 802ECA08 002E9968 7C 86 22 14 */ add r4, r6, r4 +/* 802ECA0C 002E996C 54 00 10 3A */ slwi r0, r0, 2 +/* 802ECA10 002E9970 7C 84 2A 14 */ add r4, r4, r5 +/* 802ECA14 002E9974 7C A0 2A 14 */ add r5, r0, r5 +/* 802ECA18 002E9978 7C A6 2A 14 */ add r5, r6, r5 +/* 802ECA1C 002E997C 4B FF ED 7D */ bl Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802ECA20 002E9980 88 01 00 08 */ lbz r0, 8(r1) +/* 802ECA24 002E9984 7E E3 BB 78 */ mr r3, r23 +/* 802ECA28 002E9988 80 B9 00 04 */ lwz r5, 4(r25) +/* 802ECA2C 002E998C 7F 64 DB 78 */ mr r4, r27 +/* 802ECA30 002E9990 54 00 28 34 */ slwi r0, r0, 5 +/* 802ECA34 002E9994 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802ECA38 002E9998 7C C5 02 14 */ add r6, r5, r0 +/* 802ECA3C 002E999C D0 06 00 00 */ stfs f0, 0(r6) +/* 802ECA40 002E99A0 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 802ECA44 002E99A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802ECA48 002E99A8 90 A6 00 04 */ stw r5, 4(r6) +/* 802ECA4C 002E99AC 90 06 00 08 */ stw r0, 8(r6) +/* 802ECA50 002E99B0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802ECA54 002E99B4 90 06 00 0C */ stw r0, 0xc(r6) +/* 802ECA58 002E99B8 48 00 05 E9 */ bl HasOffset__11CAnimSourceCFRC6CSegId +/* 802ECA5C 002E99BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ECA60 002E99C0 41 82 00 E8 */ beq lbl_802ECB48 +/* 802ECA64 002E99C4 88 C1 00 08 */ lbz r6, 8(r1) +/* 802ECA68 002E99C8 38 00 00 01 */ li r0, 1 +/* 802ECA6C 002E99CC 80 97 00 2C */ lwz r4, 0x2c(r23) +/* 802ECA70 002E99D0 80 B7 00 50 */ lwz r5, 0x50(r23) +/* 802ECA74 002E99D4 54 C3 2C F4 */ rlwinm r3, r6, 5, 0x13, 0x1a +/* 802ECA78 002E99D8 7C 84 30 AE */ lbzx r4, r4, r6 +/* 802ECA7C 002E99DC 81 17 00 4C */ lwz r8, 0x4c(r23) +/* 802ECA80 002E99E0 1C E5 00 03 */ mulli r7, r5, 3 +/* 802ECA84 002E99E4 80 D7 00 3C */ lwz r6, 0x3c(r23) +/* 802ECA88 002E99E8 7C 85 07 74 */ extsb r5, r4 +/* 802ECA8C 002E99EC 55 08 10 3A */ slwi r8, r8, 2 +/* 802ECA90 002E99F0 80 99 00 04 */ lwz r4, 4(r25) +/* 802ECA94 002E99F4 7D 28 3A 14 */ add r9, r8, r7 +/* 802ECA98 002E99F8 7C C6 28 AE */ lbzx r6, r6, r5 +/* 802ECA9C 002E99FC 7C BD 49 D6 */ mullw r5, r29, r9 +/* 802ECAA0 002E9A00 81 57 00 44 */ lwz r10, 0x44(r23) +/* 802ECAA4 002E9A04 7C E4 1A 14 */ add r7, r4, r3 +/* 802ECAA8 002E9A08 7C C3 07 74 */ extsb r3, r6 +/* 802ECAAC 002E9A0C 1C 83 00 03 */ mulli r4, r3, 3 +/* 802ECAB0 002E9A10 54 A3 10 3A */ slwi r3, r5, 2 +/* 802ECAB4 002E9A14 7C BE 49 D6 */ mullw r5, r30, r9 +/* 802ECAB8 002E9A18 7C 88 22 14 */ add r4, r8, r4 +/* 802ECABC 002E9A1C 54 86 10 3A */ slwi r6, r4, 2 +/* 802ECAC0 002E9A20 7C 83 32 14 */ add r4, r3, r6 +/* 802ECAC4 002E9A24 7C 8A 22 14 */ add r4, r10, r4 +/* 802ECAC8 002E9A28 54 A3 10 3A */ slwi r3, r5, 2 +/* 802ECACC 002E9A2C C0 04 00 00 */ lfs f0, 0(r4) +/* 802ECAD0 002E9A30 7C 6A 1A 14 */ add r3, r10, r3 +/* 802ECAD4 002E9A34 7C 63 32 14 */ add r3, r3, r6 +/* 802ECAD8 002E9A38 C0 64 00 04 */ lfs f3, 4(r4) +/* 802ECADC 002E9A3C C0 44 00 08 */ lfs f2, 8(r4) +/* 802ECAE0 002E9A40 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 802ECAE4 002E9A44 C0 23 00 00 */ lfs f1, 0(r3) +/* 802ECAE8 002E9A48 EC 83 07 B2 */ fmuls f4, f3, f30 +/* 802ECAEC 002E9A4C C0 A3 00 04 */ lfs f5, 4(r3) +/* 802ECAF0 002E9A50 EC 42 07 B2 */ fmuls f2, f2, f30 +/* 802ECAF4 002E9A54 C0 63 00 08 */ lfs f3, 8(r3) +/* 802ECAF8 002E9A58 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 802ECAFC 002E9A5C EC 85 27 FA */ fmadds f4, f5, f31, f4 +/* 802ECB00 002E9A60 EC 23 17 FA */ fmadds f1, f3, f31, f2 +/* 802ECB04 002E9A64 D0 07 00 10 */ stfs f0, 0x10(r7) +/* 802ECB08 002E9A68 D0 87 00 14 */ stfs f4, 0x14(r7) +/* 802ECB0C 002E9A6C D0 27 00 18 */ stfs f1, 0x18(r7) +/* 802ECB10 002E9A70 90 07 00 1C */ stw r0, 0x1c(r7) +/* 802ECB14 002E9A74 48 00 00 34 */ b lbl_802ECB48 +lbl_802ECB18: +/* 802ECB18 002E9A78 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802ECB1C 002E9A7C 80 99 00 04 */ lwz r4, 4(r25) +/* 802ECB20 002E9A80 54 00 28 34 */ slwi r0, r0, 5 +/* 802ECB24 002E9A84 C0 03 66 60 */ lfs f0, lbl_805A6660@l(r3) +/* 802ECB28 002E9A88 7C 84 02 14 */ add r4, r4, r0 +/* 802ECB2C 002E9A8C D0 04 00 00 */ stfs f0, 0(r4) +/* 802ECB30 002E9A90 80 7F 00 04 */ lwz r3, 4(r31) +/* 802ECB34 002E9A94 80 1F 00 08 */ lwz r0, 8(r31) +/* 802ECB38 002E9A98 90 64 00 04 */ stw r3, 4(r4) +/* 802ECB3C 002E9A9C 90 04 00 08 */ stw r0, 8(r4) +/* 802ECB40 002E9AA0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802ECB44 002E9AA4 90 04 00 0C */ stw r0, 0xc(r4) +lbl_802ECB48: +/* 802ECB48 002E9AA8 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802ECB4C: +/* 802ECB4C 002E9AAC 7C 1A E0 00 */ cmpw r26, r28 +/* 802ECB50 002E9AB0 41 80 FC 80 */ blt lbl_802EC7D0 +/* 802ECB54 002E9AB4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802ECB58 002E9AB8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802ECB5C 002E9ABC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 802ECB60 002E9AC0 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 802ECB64 002E9AC4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 802ECB68 002E9AC8 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 802ECB6C 002E9ACC BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 802ECB70 002E9AD0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802ECB74 002E9AD4 7C 08 03 A6 */ mtlr r0 +/* 802ECB78 002E9AD8 38 21 00 80 */ addi r1, r1, 0x80 +/* 802ECB7C 002E9ADC 4E 80 00 20 */ blr + +.global GetSoundPOIStream__11CAnimSourceCFv +GetSoundPOIStream__11CAnimSourceCFv: +/* 802ECB80 002E9AE0 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 802ECB84 002E9AE4 80 63 00 08 */ lwz r3, 8(r3) +/* 802ECB88 002E9AE8 38 63 00 34 */ addi r3, r3, 0x34 +/* 802ECB8C 002E9AEC 4E 80 00 20 */ blr + +.global GetParticlePOIStream__11CAnimSourceCFv +GetParticlePOIStream__11CAnimSourceCFv: +/* 802ECB90 002E9AF0 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 802ECB94 002E9AF4 80 63 00 08 */ lwz r3, 8(r3) +/* 802ECB98 002E9AF8 38 63 00 24 */ addi r3, r3, 0x24 +/* 802ECB9C 002E9AFC 4E 80 00 20 */ blr + +.global GetInt32POIStream__11CAnimSourceCFv +GetInt32POIStream__11CAnimSourceCFv: +/* 802ECBA0 002E9B00 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 802ECBA4 002E9B04 80 63 00 08 */ lwz r3, 8(r3) +/* 802ECBA8 002E9B08 38 63 00 14 */ addi r3, r3, 0x14 +/* 802ECBAC 002E9B0C 4E 80 00 20 */ blr + +.global GetBoolPOIStream__11CAnimSourceCFv +GetBoolPOIStream__11CAnimSourceCFv: +/* 802ECBB0 002E9B10 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 802ECBB4 002E9B14 80 63 00 08 */ lwz r3, 8(r3) +/* 802ECBB8 002E9B18 38 63 00 04 */ addi r3, r3, 4 +/* 802ECBBC 002E9B1C 4E 80 00 20 */ blr + +.global CalcAverageVelocity__11CAnimSourceFv +CalcAverageVelocity__11CAnimSourceFv: +/* 802ECBC0 002E9B20 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802ECBC4 002E9B24 7C 08 02 A6 */ mflr r0 +/* 802ECBC8 002E9B28 90 01 00 74 */ stw r0, 0x74(r1) +/* 802ECBCC 002E9B2C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802ECBD0 002E9B30 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802ECBD4 002E9B34 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802ECBD8 002E9B38 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802ECBDC 002E9B3C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802ECBE0 002E9B40 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802ECBE4 002E9B44 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802ECBE8 002E9B48 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802ECBEC 002E9B4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802ECBF0 002E9B50 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802ECBF4 002E9B54 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802ECBF8 002E9B58 7C 7D 1B 78 */ mr r29, r3 +/* 802ECBFC 002E9B5C C3 82 C6 50 */ lfs f28, lbl_805AE370@sda21(r2) +/* 802ECC00 002E9B60 C0 22 C6 60 */ lfs f1, lbl_805AE380@sda21(r2) +/* 802ECC04 002E9B64 3B C0 00 01 */ li r30, 1 +/* 802ECC08 002E9B68 C0 03 00 00 */ lfs f0, 0(r3) +/* 802ECC0C 002E9B6C FF C0 E0 90 */ fmr f30, f28 +/* 802ECC10 002E9B70 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 802ECC14 002E9B74 EF A1 00 24 */ fdivs f29, f1, f0 +/* 802ECC18 002E9B78 80 9D 00 3C */ lwz r4, 0x3c(r29) +/* 802ECC1C 002E9B7C 88 03 00 03 */ lbz r0, 3(r3) +/* 802ECC20 002E9B80 C3 E2 C6 70 */ lfs f31, lbl_805AE390@sda21(r2) +/* 802ECC24 002E9B84 7C 00 07 74 */ extsb r0, r0 +/* 802ECC28 002E9B88 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802ECC2C 002E9B8C 7C 00 07 74 */ extsb r0, r0 +/* 802ECC30 002E9B90 1F E0 00 03 */ mulli r31, r0, 3 +/* 802ECC34 002E9B94 48 00 00 A0 */ b lbl_802ECCD4 +lbl_802ECC38: +/* 802ECC38 002E9B98 80 1D 00 50 */ lwz r0, 0x50(r29) +/* 802ECC3C 002E9B9C 38 BE FF FF */ addi r5, r30, -1 +/* 802ECC40 002E9BA0 80 9D 00 4C */ lwz r4, 0x4c(r29) +/* 802ECC44 002E9BA4 38 61 00 08 */ addi r3, r1, 8 +/* 802ECC48 002E9BA8 1C 00 00 03 */ mulli r0, r0, 3 +/* 802ECC4C 002E9BAC 80 FD 00 44 */ lwz r7, 0x44(r29) +/* 802ECC50 002E9BB0 54 84 10 3A */ slwi r4, r4, 2 +/* 802ECC54 002E9BB4 7C C4 02 14 */ add r6, r4, r0 +/* 802ECC58 002E9BB8 7C 04 FA 14 */ add r0, r4, r31 +/* 802ECC5C 002E9BBC 7C 85 31 D6 */ mullw r4, r5, r6 +/* 802ECC60 002E9BC0 54 05 10 3A */ slwi r5, r0, 2 +/* 802ECC64 002E9BC4 7C 1E 31 D6 */ mullw r0, r30, r6 +/* 802ECC68 002E9BC8 54 84 10 3A */ slwi r4, r4, 2 +/* 802ECC6C 002E9BCC 7C 87 22 14 */ add r4, r7, r4 +/* 802ECC70 002E9BD0 7C 84 2A 14 */ add r4, r4, r5 +/* 802ECC74 002E9BD4 54 00 10 3A */ slwi r0, r0, 2 +/* 802ECC78 002E9BD8 C0 84 00 04 */ lfs f4, 4(r4) +/* 802ECC7C 002E9BDC 7C A0 2A 14 */ add r5, r0, r5 +/* 802ECC80 002E9BE0 C0 44 00 08 */ lfs f2, 8(r4) +/* 802ECC84 002E9BE4 7C A7 2A 14 */ add r5, r7, r5 +/* 802ECC88 002E9BE8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802ECC8C 002E9BEC C0 A5 00 04 */ lfs f5, 4(r5) +/* 802ECC90 002E9BF0 C0 65 00 08 */ lfs f3, 8(r5) +/* 802ECC94 002E9BF4 C0 25 00 00 */ lfs f1, 0(r5) +/* 802ECC98 002E9BF8 EC 85 20 28 */ fsubs f4, f5, f4 +/* 802ECC9C 002E9BFC EC 43 10 28 */ fsubs f2, f3, f2 +/* 802ECCA0 002E9C00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802ECCA4 002E9C04 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802ECCA8 002E9C08 D0 01 00 08 */ stfs f0, 8(r1) +/* 802ECCAC 002E9C0C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802ECCB0 002E9C10 48 02 7C 09 */ bl Magnitude__9CVector3fCFv +/* 802ECCB4 002E9C14 EC 01 F0 28 */ fsubs f0, f1, f30 +/* 802ECCB8 002E9C18 FC 00 02 10 */ fabs f0, f0 +/* 802ECCBC 002E9C1C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802ECCC0 002E9C20 7C 00 00 26 */ mfcr r0 +/* 802ECCC4 002E9C24 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 802ECCC8 002E9C28 40 82 00 08 */ bne lbl_802ECCD0 +/* 802ECCCC 002E9C2C EF 9C 08 2A */ fadds f28, f28, f1 +lbl_802ECCD0: +/* 802ECCD0 002E9C30 3B DE 00 01 */ addi r30, r30, 1 +lbl_802ECCD4: +/* 802ECCD4 002E9C34 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 802ECCD8 002E9C38 7C 1E 00 40 */ cmplw r30, r0 +/* 802ECCDC 002E9C3C 41 80 FF 5C */ blt lbl_802ECC38 +/* 802ECCE0 002E9C40 EF 9C 07 72 */ fmuls f28, f28, f29 +/* 802ECCE4 002E9C44 D3 9D 00 60 */ stfs f28, 0x60(r29) +/* 802ECCE8 002E9C48 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802ECCEC 002E9C4C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802ECCF0 002E9C50 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802ECCF4 002E9C54 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802ECCF8 002E9C58 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802ECCFC 002E9C5C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802ECD00 002E9C60 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 802ECD04 002E9C64 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 802ECD08 002E9C68 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802ECD0C 002E9C6C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802ECD10 002E9C70 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802ECD14 002E9C74 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802ECD18 002E9C78 7C 08 03 A6 */ mtlr r0 +/* 802ECD1C 002E9C7C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802ECD20 002E9C80 4E 80 00 20 */ blr + +.global GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime: +/* 802ECD24 002E9C84 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802ECD28 002E9C88 7C 08 02 A6 */ mflr r0 +/* 802ECD2C 002E9C8C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802ECD30 002E9C90 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802ECD34 002E9C94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802ECD38 002E9C98 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 802ECD3C 002E9C9C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 802ECD40 002E9CA0 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 802ECD44 002E9CA4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 802ECD48 002E9CA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802ECD4C 002E9CAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802ECD50 002E9CB0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802ECD54 002E9CB4 93 81 00 10 */ stw r28, 0x10(r1) +/* 802ECD58 002E9CB8 7C 9C 23 78 */ mr r28, r4 +/* 802ECD5C 002E9CBC 88 05 00 00 */ lbz r0, 0(r5) +/* 802ECD60 002E9CC0 C3 E4 00 08 */ lfs f31, 8(r4) +/* 802ECD64 002E9CC4 7C 7F 1B 78 */ mr r31, r3 +/* 802ECD68 002E9CC8 80 64 00 2C */ lwz r3, 0x2c(r4) +/* 802ECD6C 002E9CCC EF A0 F8 30 */ fres f29, f31 +/* 802ECD70 002E9CD0 7F A3 00 AE */ lbzx r29, r3, r0 +/* 802ECD74 002E9CD4 7F BD 07 75 */ extsb. r29, r29 +/* 802ECD78 002E9CD8 41 80 00 B8 */ blt lbl_802ECE30 +/* 802ECD7C 002E9CDC C3 C6 00 00 */ lfs f30, 0(r6) +/* 802ECD80 002E9CE0 EC 3E 07 72 */ fmuls f1, f30, f29 +/* 802ECD84 002E9CE4 48 09 CB D1 */ bl __cvt_fp2unsigned +/* 802ECD88 002E9CE8 7C 7E 1B 78 */ mr r30, r3 +/* 802ECD8C 002E9CEC 3C 00 43 30 */ lis r0, 0x4330 +/* 802ECD90 002E9CF0 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802ECD94 002E9CF4 C8 42 C6 68 */ lfd f2, lbl_805AE388@sda21(r2) +/* 802ECD98 002E9CF8 90 01 00 08 */ stw r0, 8(r1) +/* 802ECD9C 002E9CFC C8 02 C6 58 */ lfd f0, lbl_805AE378@sda21(r2) +/* 802ECDA0 002E9D00 C8 21 00 08 */ lfd f1, 8(r1) +/* 802ECDA4 002E9D04 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802ECDA8 002E9D08 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802ECDAC 002E9D0C EC 5E 08 28 */ fsubs f2, f30, f1 +/* 802ECDB0 002E9D10 FC 20 12 10 */ fabs f1, f2 +/* 802ECDB4 002E9D14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802ECDB8 002E9D18 40 80 00 08 */ bge lbl_802ECDC0 +/* 802ECDBC 002E9D1C C0 42 C6 50 */ lfs f2, lbl_805AE370@sda21(r2) +lbl_802ECDC0: +/* 802ECDC0 002E9D20 EC 22 07 72 */ fmuls f1, f2, f29 +/* 802ECDC4 002E9D24 48 00 0D 35 */ bl clamp_zero_to_one__Ff +/* 802ECDC8 002E9D28 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802ECDCC 002E9D2C 38 BE 00 01 */ addi r5, r30, 1 +/* 802ECDD0 002E9D30 80 1C 00 50 */ lwz r0, 0x50(r28) +/* 802ECDD4 002E9D34 57 A9 20 36 */ slwi r9, r29, 4 +/* 802ECDD8 002E9D38 38 C3 FF FF */ addi r6, r3, -1 +/* 802ECDDC 002E9D3C 80 7C 00 4C */ lwz r3, 0x4c(r28) +/* 802ECDE0 002E9D40 7C E6 F0 50 */ subf r7, r6, r30 +/* 802ECDE4 002E9D44 81 1C 00 44 */ lwz r8, 0x44(r28) +/* 802ECDE8 002E9D48 7C DE 30 50 */ subf r6, r30, r6 +/* 802ECDEC 002E9D4C 54 64 10 3A */ slwi r4, r3, 2 +/* 802ECDF0 002E9D50 1C 00 00 03 */ mulli r0, r0, 3 +/* 802ECDF4 002E9D54 7F E3 FB 78 */ mr r3, r31 +/* 802ECDF8 002E9D58 7C E6 30 F8 */ nor r6, r7, r6 +/* 802ECDFC 002E9D5C 7C E4 02 14 */ add r7, r4, r0 +/* 802ECE00 002E9D60 7C C0 FE 70 */ srawi r0, r6, 0x1f +/* 802ECE04 002E9D64 7C A0 00 78 */ andc r0, r5, r0 +/* 802ECE08 002E9D68 7C 9E 39 D6 */ mullw r4, r30, r7 +/* 802ECE0C 002E9D6C 7C 00 39 D6 */ mullw r0, r0, r7 +/* 802ECE10 002E9D70 54 84 10 3A */ slwi r4, r4, 2 +/* 802ECE14 002E9D74 7C 88 22 14 */ add r4, r8, r4 +/* 802ECE18 002E9D78 54 00 10 3A */ slwi r0, r0, 2 +/* 802ECE1C 002E9D7C 7C 84 4A 14 */ add r4, r4, r9 +/* 802ECE20 002E9D80 7C A0 4A 14 */ add r5, r0, r9 +/* 802ECE24 002E9D84 7C A8 2A 14 */ add r5, r8, r5 +/* 802ECE28 002E9D88 4B FF E9 71 */ bl Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802ECE2C 002E9D8C 48 00 00 28 */ b lbl_802ECE54 +lbl_802ECE30: +/* 802ECE30 002E9D90 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802ECE34 002E9D94 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 802ECE38 002E9D98 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802ECE3C 002E9D9C C0 03 00 04 */ lfs f0, 4(r3) +/* 802ECE40 002E9DA0 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802ECE44 002E9DA4 C0 03 00 08 */ lfs f0, 8(r3) +/* 802ECE48 002E9DA8 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802ECE4C 002E9DAC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802ECE50 002E9DB0 D0 1F 00 0C */ stfs f0, 0xc(r31) +lbl_802ECE54: +/* 802ECE54 002E9DB4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802ECE58 002E9DB8 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802ECE5C 002E9DBC E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 802ECE60 002E9DC0 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 802ECE64 002E9DC4 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 802ECE68 002E9DC8 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 802ECE6C 002E9DCC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802ECE70 002E9DD0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802ECE74 002E9DD4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802ECE78 002E9DD8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802ECE7C 002E9DDC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802ECE80 002E9DE0 7C 08 03 A6 */ mtlr r0 +/* 802ECE84 002E9DE4 38 21 00 50 */ addi r1, r1, 0x50 +/* 802ECE88 002E9DE8 4E 80 00 20 */ blr + +.global GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime: +/* 802ECE8C 002E9DEC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802ECE90 002E9DF0 7C 08 02 A6 */ mflr r0 +/* 802ECE94 002E9DF4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802ECE98 002E9DF8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802ECE9C 002E9DFC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802ECEA0 002E9E00 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 802ECEA4 002E9E04 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 802ECEA8 002E9E08 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 802ECEAC 002E9E0C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 802ECEB0 002E9E10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802ECEB4 002E9E14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802ECEB8 002E9E18 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802ECEBC 002E9E1C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802ECEC0 002E9E20 7C 9E 23 78 */ mr r30, r4 +/* 802ECEC4 002E9E24 C3 E6 00 00 */ lfs f31, 0(r6) +/* 802ECEC8 002E9E28 C3 C4 00 08 */ lfs f30, 8(r4) +/* 802ECECC 002E9E2C 7C 7D 1B 78 */ mr r29, r3 +/* 802ECED0 002E9E30 7C BC 2B 78 */ mr r28, r5 +/* 802ECED4 002E9E34 EF A0 F0 30 */ fres f29, f30 +/* 802ECED8 002E9E38 EC 3F 07 72 */ fmuls f1, f31, f29 +/* 802ECEDC 002E9E3C 48 09 CA 79 */ bl __cvt_fp2unsigned +/* 802ECEE0 002E9E40 7C 7F 1B 78 */ mr r31, r3 +/* 802ECEE4 002E9E44 3C 00 43 30 */ lis r0, 0x4330 +/* 802ECEE8 002E9E48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802ECEEC 002E9E4C C8 42 C6 68 */ lfd f2, lbl_805AE388@sda21(r2) +/* 802ECEF0 002E9E50 90 01 00 08 */ stw r0, 8(r1) +/* 802ECEF4 002E9E54 C8 02 C6 58 */ lfd f0, lbl_805AE378@sda21(r2) +/* 802ECEF8 002E9E58 C8 21 00 08 */ lfd f1, 8(r1) +/* 802ECEFC 002E9E5C EC 21 10 28 */ fsubs f1, f1, f2 +/* 802ECF00 002E9E60 EC 3E 00 72 */ fmuls f1, f30, f1 +/* 802ECF04 002E9E64 EC 5F 08 28 */ fsubs f2, f31, f1 +/* 802ECF08 002E9E68 FC 20 12 10 */ fabs f1, f2 +/* 802ECF0C 002E9E6C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802ECF10 002E9E70 40 80 00 08 */ bge lbl_802ECF18 +/* 802ECF14 002E9E74 C0 42 C6 50 */ lfs f2, lbl_805AE370@sda21(r2) +lbl_802ECF18: +/* 802ECF18 002E9E78 EC 22 07 72 */ fmuls f1, f2, f29 +/* 802ECF1C 002E9E7C 48 00 0B DD */ bl clamp_zero_to_one__Ff +/* 802ECF20 002E9E80 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802ECF24 002E9E84 88 1C 00 00 */ lbz r0, 0(r28) +/* 802ECF28 002E9E88 7D 03 00 AE */ lbzx r8, r3, r0 +/* 802ECF2C 002E9E8C 7D 08 07 75 */ extsb. r8, r8 +/* 802ECF30 002E9E90 41 80 00 BC */ blt lbl_802ECFEC +/* 802ECF34 002E9E94 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802ECF38 002E9E98 38 9F 00 01 */ addi r4, r31, 1 +/* 802ECF3C 002E9E9C 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 802ECF40 002E9EA0 38 A3 FF FF */ addi r5, r3, -1 +/* 802ECF44 002E9EA4 80 FE 00 3C */ lwz r7, 0x3c(r30) +/* 802ECF48 002E9EA8 7C C5 F8 50 */ subf r6, r5, r31 +/* 802ECF4C 002E9EAC 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802ECF50 002E9EB0 7C BF 28 50 */ subf r5, r31, r5 +/* 802ECF54 002E9EB4 7D 07 40 AE */ lbzx r8, r7, r8 +/* 802ECF58 002E9EB8 7C C5 28 F8 */ nor r5, r6, r5 +/* 802ECF5C 002E9EBC 54 66 10 3A */ slwi r6, r3, 2 +/* 802ECF60 002E9EC0 1C 00 00 03 */ mulli r0, r0, 3 +/* 802ECF64 002E9EC4 C0 02 C6 60 */ lfs f0, lbl_805AE380@sda21(r2) +/* 802ECF68 002E9EC8 7C A3 FE 70 */ srawi r3, r5, 0x1f +/* 802ECF6C 002E9ECC 80 FE 00 44 */ lwz r7, 0x44(r30) +/* 802ECF70 002E9ED0 7D 08 07 74 */ extsb r8, r8 +/* 802ECF74 002E9ED4 EC C0 08 28 */ fsubs f6, f0, f1 +/* 802ECF78 002E9ED8 7C A6 02 14 */ add r5, r6, r0 +/* 802ECF7C 002E9EDC 7C 80 18 78 */ andc r0, r4, r3 +/* 802ECF80 002E9EE0 7C 00 29 D6 */ mullw r0, r0, r5 +/* 802ECF84 002E9EE4 1C 68 00 03 */ mulli r3, r8, 3 +/* 802ECF88 002E9EE8 54 00 10 3A */ slwi r0, r0, 2 +/* 802ECF8C 002E9EEC 7C 66 1A 14 */ add r3, r6, r3 +/* 802ECF90 002E9EF0 7C 9F 29 D6 */ mullw r4, r31, r5 +/* 802ECF94 002E9EF4 54 63 10 3A */ slwi r3, r3, 2 +/* 802ECF98 002E9EF8 7C A0 1A 14 */ add r5, r0, r3 +/* 802ECF9C 002E9EFC 7C A7 2A 14 */ add r5, r7, r5 +/* 802ECFA0 002E9F00 54 80 10 3A */ slwi r0, r4, 2 +/* 802ECFA4 002E9F04 C0 05 00 00 */ lfs f0, 0(r5) +/* 802ECFA8 002E9F08 7C 07 02 14 */ add r0, r7, r0 +/* 802ECFAC 002E9F0C C0 85 00 04 */ lfs f4, 4(r5) +/* 802ECFB0 002E9F10 7C 60 1A 14 */ add r3, r0, r3 +/* 802ECFB4 002E9F14 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802ECFB8 002E9F18 C0 43 00 00 */ lfs f2, 0(r3) +/* 802ECFBC 002E9F1C EC 84 00 72 */ fmuls f4, f4, f1 +/* 802ECFC0 002E9F20 C0 65 00 08 */ lfs f3, 8(r5) +/* 802ECFC4 002E9F24 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802ECFC8 002E9F28 EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 802ECFCC 002E9F2C EC 23 00 72 */ fmuls f1, f3, f1 +/* 802ECFD0 002E9F30 C0 63 00 08 */ lfs f3, 8(r3) +/* 802ECFD4 002E9F34 EC 45 21 BA */ fmadds f2, f5, f6, f4 +/* 802ECFD8 002E9F38 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802ECFDC 002E9F3C EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 802ECFE0 002E9F40 D0 5D 00 04 */ stfs f2, 4(r29) +/* 802ECFE4 002E9F44 D0 3D 00 08 */ stfs f1, 8(r29) +/* 802ECFE8 002E9F48 48 00 00 20 */ b lbl_802ED008 +lbl_802ECFEC: +/* 802ECFEC 002E9F4C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802ECFF0 002E9F50 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 802ECFF4 002E9F54 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802ECFF8 002E9F58 C0 03 00 04 */ lfs f0, 4(r3) +/* 802ECFFC 002E9F5C D0 1D 00 04 */ stfs f0, 4(r29) +/* 802ED000 002E9F60 C0 03 00 08 */ lfs f0, 8(r3) +/* 802ED004 002E9F64 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_802ED008: +/* 802ED008 002E9F68 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802ED00C 002E9F6C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802ED010 002E9F70 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 802ED014 002E9F74 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 802ED018 002E9F78 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 802ED01C 002E9F7C CB A1 00 20 */ lfd f29, 0x20(r1) +/* 802ED020 002E9F80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802ED024 002E9F84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802ED028 002E9F88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802ED02C 002E9F8C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802ED030 002E9F90 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802ED034 002E9F94 7C 08 03 A6 */ mtlr r0 +/* 802ED038 002E9F98 38 21 00 50 */ addi r1, r1, 0x50 +/* 802ED03C 002E9F9C 4E 80 00 20 */ blr + +.global HasOffset__11CAnimSourceCFRC6CSegId +HasOffset__11CAnimSourceCFRC6CSegId: +/* 802ED040 002E9FA0 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 802ED044 002E9FA4 88 04 00 00 */ lbz r0, 0(r4) +/* 802ED048 002E9FA8 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 802ED04C 002E9FAC 7C 05 00 AE */ lbzx r0, r5, r0 +/* 802ED050 002E9FB0 7C 00 07 74 */ extsb r0, r0 +/* 802ED054 002E9FB4 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802ED058 002E9FB8 7C 00 07 74 */ extsb r0, r0 +/* 802ED05C 002E9FBC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802ED060 002E9FC0 68 03 00 01 */ xori r3, r0, 1 +/* 802ED064 002E9FC4 4E 80 00 20 */ blr + +.global __dt__11CAnimSourceFv +__dt__11CAnimSourceFv: +/* 802ED068 002E9FC8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802ED06C 002E9FCC 7C 08 02 A6 */ mflr r0 +/* 802ED070 002E9FD0 90 01 00 44 */ stw r0, 0x44(r1) +/* 802ED074 002E9FD4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802ED078 002E9FD8 7C 9F 23 78 */ mr r31, r4 +/* 802ED07C 002E9FDC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802ED080 002E9FE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802ED084 002E9FE4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802ED088 002E9FE8 41 82 01 28 */ beq lbl_802ED1B0 +/* 802ED08C 002E9FEC 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 802ED090 002E9FF0 38 7E 00 40 */ addi r3, r30, 0x40 +/* 802ED094 002E9FF4 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802ED098 002E9FF8 3B A4 00 1D */ addi r29, r4, 0x1d +/* 802ED09C 002E9FFC 7F BD 02 14 */ add r29, r29, r0 +/* 802ED0A0 002EA000 48 00 06 2D */ bl GetFrameSizeInBytes__24RotationAndOffsetStorageCFv +/* 802ED0A4 002EA004 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802ED0A8 002EA008 38 80 00 02 */ li r4, 2 +/* 802ED0AC 002EA00C 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802ED0B0 002EA010 7F BD 02 14 */ add r29, r29, r0 +/* 802ED0B4 002EA014 38 7D 00 08 */ addi r3, r29, 8 +/* 802ED0B8 002EA018 48 00 AA F1 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802ED0BC 002EA01C 34 1E 00 58 */ addic. r0, r30, 0x58 +/* 802ED0C0 002EA020 41 82 00 34 */ beq lbl_802ED0F4 +/* 802ED0C4 002EA024 88 1E 00 58 */ lbz r0, 0x58(r30) +/* 802ED0C8 002EA028 28 00 00 00 */ cmplwi r0, 0 +/* 802ED0CC 002EA02C 41 82 00 28 */ beq lbl_802ED0F4 +/* 802ED0D0 002EA030 83 BE 00 5C */ lwz r29, 0x5c(r30) +/* 802ED0D4 002EA034 28 1D 00 00 */ cmplwi r29, 0 +/* 802ED0D8 002EA038 41 82 00 1C */ beq lbl_802ED0F4 +/* 802ED0DC 002EA03C 41 82 00 10 */ beq lbl_802ED0EC +/* 802ED0E0 002EA040 7F A3 EB 78 */ mr r3, r29 +/* 802ED0E4 002EA044 38 80 00 00 */ li r4, 0 +/* 802ED0E8 002EA048 48 05 3D 59 */ bl __dt__6CTokenFv +lbl_802ED0EC: +/* 802ED0EC 002EA04C 7F A3 EB 78 */ mr r3, r29 +/* 802ED0F0 002EA050 48 02 88 41 */ bl Free__7CMemoryFPCv +lbl_802ED0F4: +/* 802ED0F4 002EA054 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 802ED0F8 002EA058 41 82 00 20 */ beq lbl_802ED118 +/* 802ED0FC 002EA05C 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 802ED100 002EA060 41 82 00 18 */ beq lbl_802ED118 +/* 802ED104 002EA064 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802ED108 002EA068 28 00 00 00 */ cmplwi r0, 0 +/* 802ED10C 002EA06C 41 82 00 0C */ beq lbl_802ED118 +/* 802ED110 002EA070 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 802ED114 002EA074 48 02 88 1D */ bl Free__7CMemoryFPCv +lbl_802ED118: +/* 802ED118 002EA078 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 802ED11C 002EA07C 41 82 00 40 */ beq lbl_802ED15C +/* 802ED120 002EA080 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802ED124 002EA084 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802ED128 002EA088 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802ED12C 002EA08C 7C 83 02 14 */ add r4, r3, r0 +/* 802ED130 002EA090 7C 03 20 50 */ subf r0, r3, r4 +/* 802ED134 002EA094 90 81 00 24 */ stw r4, 0x24(r1) +/* 802ED138 002EA098 90 81 00 20 */ stw r4, 0x20(r1) +/* 802ED13C 002EA09C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802ED140 002EA0A0 7C 09 03 A6 */ mtctr r0 +/* 802ED144 002EA0A4 7C 03 20 40 */ cmplw r3, r4 +/* 802ED148 002EA0A8 41 82 00 08 */ beq lbl_802ED150 +lbl_802ED14C: +/* 802ED14C 002EA0AC 42 00 00 00 */ bdnz lbl_802ED14C +lbl_802ED150: +/* 802ED150 002EA0B0 28 03 00 00 */ cmplwi r3, 0 +/* 802ED154 002EA0B4 41 82 00 08 */ beq lbl_802ED15C +/* 802ED158 002EA0B8 48 02 87 D9 */ bl Free__7CMemoryFPCv +lbl_802ED15C: +/* 802ED15C 002EA0BC 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802ED160 002EA0C0 41 82 00 40 */ beq lbl_802ED1A0 +/* 802ED164 002EA0C4 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802ED168 002EA0C8 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802ED16C 002EA0CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 802ED170 002EA0D0 7C 83 02 14 */ add r4, r3, r0 +/* 802ED174 002EA0D4 7C 03 20 50 */ subf r0, r3, r4 +/* 802ED178 002EA0D8 90 81 00 14 */ stw r4, 0x14(r1) +/* 802ED17C 002EA0DC 90 81 00 10 */ stw r4, 0x10(r1) +/* 802ED180 002EA0E0 90 61 00 08 */ stw r3, 8(r1) +/* 802ED184 002EA0E4 7C 09 03 A6 */ mtctr r0 +/* 802ED188 002EA0E8 7C 03 20 40 */ cmplw r3, r4 +/* 802ED18C 002EA0EC 41 82 00 08 */ beq lbl_802ED194 +lbl_802ED190: +/* 802ED190 002EA0F0 42 00 00 00 */ bdnz lbl_802ED190 +lbl_802ED194: +/* 802ED194 002EA0F4 28 03 00 00 */ cmplwi r3, 0 +/* 802ED198 002EA0F8 41 82 00 08 */ beq lbl_802ED1A0 +/* 802ED19C 002EA0FC 48 02 87 95 */ bl Free__7CMemoryFPCv +lbl_802ED1A0: +/* 802ED1A0 002EA100 7F E0 07 35 */ extsh. r0, r31 +/* 802ED1A4 002EA104 40 81 00 0C */ ble lbl_802ED1B0 +/* 802ED1A8 002EA108 7F C3 F3 78 */ mr r3, r30 +/* 802ED1AC 002EA10C 48 02 87 85 */ bl Free__7CMemoryFPCv +lbl_802ED1B0: +/* 802ED1B0 002EA110 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802ED1B4 002EA114 7F C3 F3 78 */ mr r3, r30 +/* 802ED1B8 002EA118 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802ED1BC 002EA11C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802ED1C0 002EA120 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802ED1C4 002EA124 7C 08 03 A6 */ mtlr r0 +/* 802ED1C8 002EA128 38 21 00 40 */ addi r1, r1, 0x40 +/* 802ED1CC 002EA12C 4E 80 00 20 */ blr + +.global __ct__11CAnimSourceFR12CInputStreamR12IObjectStore +__ct__11CAnimSourceFR12CInputStreamR12IObjectStore: +/* 802ED1D0 002EA130 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802ED1D4 002EA134 7C 08 02 A6 */ mflr r0 +/* 802ED1D8 002EA138 90 01 00 64 */ stw r0, 0x64(r1) +/* 802ED1DC 002EA13C BF 41 00 48 */ stmw r26, 0x48(r1) +/* 802ED1E0 002EA140 7C 7D 1B 78 */ mr r29, r3 +/* 802ED1E4 002EA144 7C 9E 23 78 */ mr r30, r4 +/* 802ED1E8 002EA148 7C BF 2B 78 */ mr r31, r5 +/* 802ED1EC 002EA14C 48 05 BC 29 */ bl __ct__13CCharAnimTimeFR12CInputStream +/* 802ED1F0 002EA150 7F C4 F3 78 */ mr r4, r30 +/* 802ED1F4 002EA154 38 7D 00 08 */ addi r3, r29, 8 +/* 802ED1F8 002EA158 48 05 BC 1D */ bl __ct__13CCharAnimTimeFR12CInputStream +/* 802ED1FC 002EA15C 7F C3 F3 78 */ mr r3, r30 +/* 802ED200 002EA160 48 05 1A 85 */ bl ReadLong__12CInputStreamFv +/* 802ED204 002EA164 90 7D 00 10 */ stw r3, 0x10(r29) +/* 802ED208 002EA168 7F C3 F3 78 */ mr r3, r30 +/* 802ED20C 002EA16C 48 05 1A 79 */ bl ReadLong__12CInputStreamFv +/* 802ED210 002EA170 98 7D 00 1C */ stb r3, 0x1c(r29) +/* 802ED214 002EA174 38 00 00 00 */ li r0, 0 +/* 802ED218 002EA178 7F C3 F3 78 */ mr r3, r30 +/* 802ED21C 002EA17C 90 1D 00 24 */ stw r0, 0x24(r29) +/* 802ED220 002EA180 90 1D 00 28 */ stw r0, 0x28(r29) +/* 802ED224 002EA184 90 1D 00 2C */ stw r0, 0x2c(r29) +/* 802ED228 002EA188 48 05 1A 5D */ bl ReadLong__12CInputStreamFv +/* 802ED22C 002EA18C 7C 7B 1B 78 */ mr r27, r3 +/* 802ED230 002EA190 38 7D 00 20 */ addi r3, r29, 0x20 +/* 802ED234 002EA194 7F 64 DB 78 */ mr r4, r27 +/* 802ED238 002EA198 4B FD D1 C5 */ bl "reserve__Q24rstl37vectorFi" +/* 802ED23C 002EA19C 3B 80 00 00 */ li r28, 0 +/* 802ED240 002EA1A0 48 00 00 5C */ b lbl_802ED29C +lbl_802ED244: +/* 802ED244 002EA1A4 7F C3 F3 78 */ mr r3, r30 +/* 802ED248 002EA1A8 48 05 1A C5 */ bl ReadChar__12CInputStreamFv +/* 802ED24C 002EA1AC 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 802ED250 002EA1B0 7C 7A 07 74 */ extsb r26, r3 +/* 802ED254 002EA1B4 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 802ED258 002EA1B8 7C 00 28 00 */ cmpw r0, r5 +/* 802ED25C 002EA1BC 41 80 00 1C */ blt lbl_802ED278 +/* 802ED260 002EA1C0 2C 05 00 00 */ cmpwi r5, 0 +/* 802ED264 002EA1C4 38 7D 00 20 */ addi r3, r29, 0x20 +/* 802ED268 002EA1C8 38 80 00 04 */ li r4, 4 +/* 802ED26C 002EA1CC 41 82 00 08 */ beq lbl_802ED274 +/* 802ED270 002EA1D0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ED274: +/* 802ED274 002EA1D4 4B FD D1 89 */ bl "reserve__Q24rstl37vectorFi" +lbl_802ED278: +/* 802ED278 002EA1D8 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 802ED27C 002EA1DC 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 802ED280 002EA1E0 7C 63 02 15 */ add. r3, r3, r0 +/* 802ED284 002EA1E4 41 82 00 08 */ beq lbl_802ED28C +/* 802ED288 002EA1E8 9B 43 00 00 */ stb r26, 0(r3) +lbl_802ED28C: +/* 802ED28C 002EA1EC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 802ED290 002EA1F0 3B 9C 00 01 */ addi r28, r28, 1 +/* 802ED294 002EA1F4 38 03 00 01 */ addi r0, r3, 1 +/* 802ED298 002EA1F8 90 1D 00 24 */ stw r0, 0x24(r29) +lbl_802ED29C: +/* 802ED29C 002EA1FC 7C 1C D8 00 */ cmpw r28, r27 +/* 802ED2A0 002EA200 41 80 FF A4 */ blt lbl_802ED244 +/* 802ED2A4 002EA204 38 00 00 00 */ li r0, 0 +/* 802ED2A8 002EA208 7F C3 F3 78 */ mr r3, r30 +/* 802ED2AC 002EA20C 90 1D 00 34 */ stw r0, 0x34(r29) +/* 802ED2B0 002EA210 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802ED2B4 002EA214 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 802ED2B8 002EA218 48 05 19 CD */ bl ReadLong__12CInputStreamFv +/* 802ED2BC 002EA21C 7C 7A 1B 78 */ mr r26, r3 +/* 802ED2C0 002EA220 38 7D 00 30 */ addi r3, r29, 0x30 +/* 802ED2C4 002EA224 7F 44 D3 78 */ mr r4, r26 +/* 802ED2C8 002EA228 4B FD D1 35 */ bl "reserve__Q24rstl37vectorFi" +/* 802ED2CC 002EA22C 3B 80 00 00 */ li r28, 0 +/* 802ED2D0 002EA230 48 00 00 5C */ b lbl_802ED32C +lbl_802ED2D4: +/* 802ED2D4 002EA234 7F C3 F3 78 */ mr r3, r30 +/* 802ED2D8 002EA238 48 05 1A 35 */ bl ReadChar__12CInputStreamFv +/* 802ED2DC 002EA23C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 802ED2E0 002EA240 7C 7B 07 74 */ extsb r27, r3 +/* 802ED2E4 002EA244 80 BD 00 38 */ lwz r5, 0x38(r29) +/* 802ED2E8 002EA248 7C 00 28 00 */ cmpw r0, r5 +/* 802ED2EC 002EA24C 41 80 00 1C */ blt lbl_802ED308 +/* 802ED2F0 002EA250 2C 05 00 00 */ cmpwi r5, 0 +/* 802ED2F4 002EA254 38 7D 00 30 */ addi r3, r29, 0x30 +/* 802ED2F8 002EA258 38 80 00 04 */ li r4, 4 +/* 802ED2FC 002EA25C 41 82 00 08 */ beq lbl_802ED304 +/* 802ED300 002EA260 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ED304: +/* 802ED304 002EA264 4B FD D0 F9 */ bl "reserve__Q24rstl37vectorFi" +lbl_802ED308: +/* 802ED308 002EA268 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 802ED30C 002EA26C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 802ED310 002EA270 7C 63 02 15 */ add. r3, r3, r0 +/* 802ED314 002EA274 41 82 00 08 */ beq lbl_802ED31C +/* 802ED318 002EA278 9B 63 00 00 */ stb r27, 0(r3) +lbl_802ED31C: +/* 802ED31C 002EA27C 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 802ED320 002EA280 3B 9C 00 01 */ addi r28, r28, 1 +/* 802ED324 002EA284 38 03 00 01 */ addi r0, r3, 1 +/* 802ED328 002EA288 90 1D 00 34 */ stw r0, 0x34(r29) +lbl_802ED32C: +/* 802ED32C 002EA28C 7C 1C D0 00 */ cmpw r28, r26 +/* 802ED330 002EA290 41 80 FF A4 */ blt lbl_802ED2D4 +/* 802ED334 002EA294 7F C4 F3 78 */ mr r4, r30 +/* 802ED338 002EA298 38 61 00 20 */ addi r3, r1, 0x20 +/* 802ED33C 002EA29C 48 00 02 99 */ bl __ct__Q224RotationAndOffsetStorage25CRotationAndOffsetVectorsFR12CInputStream +/* 802ED340 002EA2A0 80 BD 00 10 */ lwz r5, 0x10(r29) +/* 802ED344 002EA2A4 38 7D 00 40 */ addi r3, r29, 0x40 +/* 802ED348 002EA2A8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802ED34C 002EA2AC 48 00 07 01 */ bl __ct__24RotationAndOffsetStorageFRCQ224RotationAndOffsetStorage25CRotationAndOffsetVectorsUi +/* 802ED350 002EA2B0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802ED354 002EA2B4 38 80 FF FF */ li r4, -1 +/* 802ED358 002EA2B8 48 00 01 A1 */ bl __dt__Q224RotationAndOffsetStorage25CRotationAndOffsetVectorsFv +/* 802ED35C 002EA2BC 7F C3 F3 78 */ mr r3, r30 +/* 802ED360 002EA2C0 48 05 19 25 */ bl ReadLong__12CInputStreamFv +/* 802ED364 002EA2C4 90 7D 00 54 */ stw r3, 0x54(r29) +/* 802ED368 002EA2C8 38 00 00 00 */ li r0, 0 +/* 802ED36C 002EA2CC C0 02 C6 50 */ lfs f0, lbl_805AE370@sda21(r2) +/* 802ED370 002EA2D0 98 1D 00 58 */ stb r0, 0x58(r29) +/* 802ED374 002EA2D4 90 1D 00 5C */ stw r0, 0x5c(r29) +/* 802ED378 002EA2D8 D0 1D 00 60 */ stfs f0, 0x60(r29) +/* 802ED37C 002EA2DC 80 1D 00 54 */ lwz r0, 0x54(r29) +/* 802ED380 002EA2E0 28 00 00 00 */ cmplwi r0, 0 +/* 802ED384 002EA2E4 41 82 01 24 */ beq lbl_802ED4A8 +/* 802ED388 002EA2E8 3C 60 80 3D */ lis r3, lbl_803D6DD8@ha +/* 802ED38C 002EA2EC 3B C0 00 00 */ li r30, 0 +/* 802ED390 002EA2F0 38 83 6D D8 */ addi r4, r3, lbl_803D6DD8@l +/* 802ED394 002EA2F4 38 A0 00 00 */ li r5, 0 +/* 802ED398 002EA2F8 38 60 00 0C */ li r3, 0xc +/* 802ED39C 002EA2FC 48 02 84 D1 */ bl __nw__FUlPCcPCc +/* 802ED3A0 002EA300 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802ED3A4 002EA304 41 82 00 54 */ beq lbl_802ED3F8 +/* 802ED3A8 002EA308 80 DD 00 54 */ lwz r6, 0x54(r29) +/* 802ED3AC 002EA30C 3C 60 45 56 */ lis r3, 0x45564E54@ha +/* 802ED3B0 002EA310 38 03 4E 54 */ addi r0, r3, 0x45564E54@l +/* 802ED3B4 002EA314 7F E4 FB 78 */ mr r4, r31 +/* 802ED3B8 002EA318 90 01 00 18 */ stw r0, 0x18(r1) +/* 802ED3BC 002EA31C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ED3C0 002EA320 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802ED3C4 002EA324 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 802ED3C8 002EA328 81 9F 00 00 */ lwz r12, 0(r31) +/* 802ED3CC 002EA32C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802ED3D0 002EA330 7D 89 03 A6 */ mtctr r12 +/* 802ED3D4 002EA334 4E 80 04 21 */ bctrl +/* 802ED3D8 002EA338 7F 83 E3 78 */ mr r3, r28 +/* 802ED3DC 002EA33C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802ED3E0 002EA340 3B C0 00 01 */ li r30, 1 +/* 802ED3E4 002EA344 48 05 3A C5 */ bl __ct__6CTokenFRC6CToken +/* 802ED3E8 002EA348 7F 83 E3 78 */ mr r3, r28 +/* 802ED3EC 002EA34C 48 05 3A 21 */ bl GetObj__6CTokenFv +/* 802ED3F0 002EA350 80 03 00 04 */ lwz r0, 4(r3) +/* 802ED3F4 002EA354 90 1C 00 08 */ stw r0, 8(r28) +lbl_802ED3F8: +/* 802ED3F8 002EA358 7C 7C 00 D0 */ neg r3, r28 +/* 802ED3FC 002EA35C 38 01 00 08 */ addi r0, r1, 8 +/* 802ED400 002EA360 7C 63 E3 78 */ or r3, r3, r28 +/* 802ED404 002EA364 38 9D 00 58 */ addi r4, r29, 0x58 +/* 802ED408 002EA368 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802ED40C 002EA36C 93 81 00 0C */ stw r28, 0xc(r1) +/* 802ED410 002EA370 7C 00 20 40 */ cmplw r0, r4 +/* 802ED414 002EA374 98 61 00 08 */ stb r3, 8(r1) +/* 802ED418 002EA378 41 82 00 4C */ beq lbl_802ED464 +/* 802ED41C 002EA37C 88 04 00 00 */ lbz r0, 0(r4) +/* 802ED420 002EA380 28 00 00 00 */ cmplwi r0, 0 +/* 802ED424 002EA384 41 82 00 28 */ beq lbl_802ED44C +/* 802ED428 002EA388 83 9D 00 5C */ lwz r28, 0x5c(r29) +/* 802ED42C 002EA38C 28 1C 00 00 */ cmplwi r28, 0 +/* 802ED430 002EA390 41 82 00 1C */ beq lbl_802ED44C +/* 802ED434 002EA394 41 82 00 10 */ beq lbl_802ED444 +/* 802ED438 002EA398 7F 83 E3 78 */ mr r3, r28 +/* 802ED43C 002EA39C 38 80 00 00 */ li r4, 0 +/* 802ED440 002EA3A0 48 05 3A 01 */ bl __dt__6CTokenFv +lbl_802ED444: +/* 802ED444 002EA3A4 7F 83 E3 78 */ mr r3, r28 +/* 802ED448 002EA3A8 48 02 84 E9 */ bl Free__7CMemoryFPCv +lbl_802ED44C: +/* 802ED44C 002EA3AC 88 61 00 08 */ lbz r3, 8(r1) +/* 802ED450 002EA3B0 38 00 00 00 */ li r0, 0 +/* 802ED454 002EA3B4 98 7D 00 58 */ stb r3, 0x58(r29) +/* 802ED458 002EA3B8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802ED45C 002EA3BC 90 7D 00 5C */ stw r3, 0x5c(r29) +/* 802ED460 002EA3C0 98 01 00 08 */ stb r0, 8(r1) +lbl_802ED464: +/* 802ED464 002EA3C4 88 01 00 08 */ lbz r0, 8(r1) +/* 802ED468 002EA3C8 28 00 00 00 */ cmplwi r0, 0 +/* 802ED46C 002EA3CC 41 82 00 28 */ beq lbl_802ED494 +/* 802ED470 002EA3D0 83 81 00 0C */ lwz r28, 0xc(r1) +/* 802ED474 002EA3D4 28 1C 00 00 */ cmplwi r28, 0 +/* 802ED478 002EA3D8 41 82 00 1C */ beq lbl_802ED494 +/* 802ED47C 002EA3DC 41 82 00 10 */ beq lbl_802ED48C +/* 802ED480 002EA3E0 7F 83 E3 78 */ mr r3, r28 +/* 802ED484 002EA3E4 38 80 00 00 */ li r4, 0 +/* 802ED488 002EA3E8 48 05 39 B9 */ bl __dt__6CTokenFv +lbl_802ED48C: +/* 802ED48C 002EA3EC 7F 83 E3 78 */ mr r3, r28 +/* 802ED490 002EA3F0 48 02 84 A1 */ bl Free__7CMemoryFPCv +lbl_802ED494: +/* 802ED494 002EA3F4 7F C0 07 75 */ extsb. r0, r30 +/* 802ED498 002EA3F8 41 82 00 10 */ beq lbl_802ED4A8 +/* 802ED49C 002EA3FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ED4A0 002EA400 38 80 FF FF */ li r4, -1 +/* 802ED4A4 002EA404 48 05 39 9D */ bl __dt__6CTokenFv +lbl_802ED4A8: +/* 802ED4A8 002EA408 7F A3 EB 78 */ mr r3, r29 +/* 802ED4AC 002EA40C 4B FF F7 15 */ bl CalcAverageVelocity__11CAnimSourceFv +/* 802ED4B0 002EA410 80 9D 00 24 */ lwz r4, 0x24(r29) +/* 802ED4B4 002EA414 38 7D 00 40 */ addi r3, r29, 0x40 +/* 802ED4B8 002EA418 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 802ED4BC 002EA41C 3B 44 00 1D */ addi r26, r4, 0x1d +/* 802ED4C0 002EA420 7F 5A 02 14 */ add r26, r26, r0 +/* 802ED4C4 002EA424 48 00 02 09 */ bl GetFrameSizeInBytes__24RotationAndOffsetStorageCFv +/* 802ED4C8 002EA428 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 802ED4CC 002EA42C 38 80 00 02 */ li r4, 2 +/* 802ED4D0 002EA430 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802ED4D4 002EA434 7F 5A 02 14 */ add r26, r26, r0 +/* 802ED4D8 002EA438 38 7A 00 08 */ addi r3, r26, 8 +/* 802ED4DC 002EA43C 48 00 A6 DD */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802ED4E0 002EA440 7F A3 EB 78 */ mr r3, r29 +/* 802ED4E4 002EA444 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 802ED4E8 002EA448 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802ED4EC 002EA44C 7C 08 03 A6 */ mtlr r0 +/* 802ED4F0 002EA450 38 21 00 60 */ addi r1, r1, 0x60 +/* 802ED4F4 002EA454 4E 80 00 20 */ blr + +.global __dt__Q224RotationAndOffsetStorage25CRotationAndOffsetVectorsFv +__dt__Q224RotationAndOffsetStorage25CRotationAndOffsetVectorsFv: +/* 802ED4F8 002EA458 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802ED4FC 002EA45C 7C 08 02 A6 */ mflr r0 +/* 802ED500 002EA460 90 01 00 34 */ stw r0, 0x34(r1) +/* 802ED504 002EA464 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802ED508 002EA468 7C 9F 23 78 */ mr r31, r4 +/* 802ED50C 002EA46C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802ED510 002EA470 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802ED514 002EA474 41 82 00 A4 */ beq lbl_802ED5B8 +/* 802ED518 002EA478 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802ED51C 002EA47C 41 82 00 44 */ beq lbl_802ED560 +/* 802ED520 002EA480 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802ED524 002EA484 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802ED528 002EA488 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802ED52C 002EA48C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802ED530 002EA490 7C 64 1B 78 */ mr r4, r3 +/* 802ED534 002EA494 7C 03 02 14 */ add r0, r3, r0 +/* 802ED538 002EA498 90 61 00 18 */ stw r3, 0x18(r1) +/* 802ED53C 002EA49C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802ED540 002EA4A0 90 01 00 20 */ stw r0, 0x20(r1) +/* 802ED544 002EA4A4 48 00 00 08 */ b lbl_802ED54C +lbl_802ED548: +/* 802ED548 002EA4A8 38 84 00 0C */ addi r4, r4, 0xc +lbl_802ED54C: +/* 802ED54C 002EA4AC 7C 04 00 40 */ cmplw r4, r0 +/* 802ED550 002EA4B0 40 82 FF F8 */ bne lbl_802ED548 +/* 802ED554 002EA4B4 28 03 00 00 */ cmplwi r3, 0 +/* 802ED558 002EA4B8 41 82 00 08 */ beq lbl_802ED560 +/* 802ED55C 002EA4BC 48 02 83 D5 */ bl Free__7CMemoryFPCv +lbl_802ED560: +/* 802ED560 002EA4C0 28 1E 00 00 */ cmplwi r30, 0 +/* 802ED564 002EA4C4 41 82 00 44 */ beq lbl_802ED5A8 +/* 802ED568 002EA4C8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802ED56C 002EA4CC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802ED570 002EA4D0 54 00 20 36 */ slwi r0, r0, 4 +/* 802ED574 002EA4D4 7C 03 02 14 */ add r0, r3, r0 +/* 802ED578 002EA4D8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802ED57C 002EA4DC 7C 64 1B 78 */ mr r4, r3 +/* 802ED580 002EA4E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802ED584 002EA4E4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802ED588 002EA4E8 90 61 00 08 */ stw r3, 8(r1) +/* 802ED58C 002EA4EC 48 00 00 08 */ b lbl_802ED594 +lbl_802ED590: +/* 802ED590 002EA4F0 38 84 00 10 */ addi r4, r4, 0x10 +lbl_802ED594: +/* 802ED594 002EA4F4 7C 04 00 40 */ cmplw r4, r0 +/* 802ED598 002EA4F8 40 82 FF F8 */ bne lbl_802ED590 +/* 802ED59C 002EA4FC 28 03 00 00 */ cmplwi r3, 0 +/* 802ED5A0 002EA500 41 82 00 08 */ beq lbl_802ED5A8 +/* 802ED5A4 002EA504 48 02 83 8D */ bl Free__7CMemoryFPCv +lbl_802ED5A8: +/* 802ED5A8 002EA508 7F E0 07 35 */ extsh. r0, r31 +/* 802ED5AC 002EA50C 40 81 00 0C */ ble lbl_802ED5B8 +/* 802ED5B0 002EA510 7F C3 F3 78 */ mr r3, r30 +/* 802ED5B4 002EA514 48 02 83 7D */ bl Free__7CMemoryFPCv +lbl_802ED5B8: +/* 802ED5B8 002EA518 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802ED5BC 002EA51C 7F C3 F3 78 */ mr r3, r30 +/* 802ED5C0 002EA520 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802ED5C4 002EA524 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802ED5C8 002EA528 7C 08 03 A6 */ mtlr r0 +/* 802ED5CC 002EA52C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802ED5D0 002EA530 4E 80 00 20 */ blr + +.global __ct__Q224RotationAndOffsetStorage25CRotationAndOffsetVectorsFR12CInputStream +__ct__Q224RotationAndOffsetStorage25CRotationAndOffsetVectorsFR12CInputStream: +/* 802ED5D4 002EA534 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802ED5D8 002EA538 7C 08 02 A6 */ mflr r0 +/* 802ED5DC 002EA53C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802ED5E0 002EA540 38 A1 00 08 */ addi r5, r1, 8 +/* 802ED5E4 002EA544 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802ED5E8 002EA548 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802ED5EC 002EA54C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802ED5F0 002EA550 7C 9D 23 78 */ mr r29, r4 +/* 802ED5F4 002EA554 93 81 00 20 */ stw r28, 0x20(r1) +/* 802ED5F8 002EA558 7C 7C 1B 78 */ mr r28, r3 +/* 802ED5FC 002EA55C 4B FF E3 FD */ bl "__ct__Q24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802ED600 002EA560 38 00 00 00 */ li r0, 0 +/* 802ED604 002EA564 7F A3 EB 78 */ mr r3, r29 +/* 802ED608 002EA568 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802ED60C 002EA56C 90 1C 00 18 */ stw r0, 0x18(r28) +/* 802ED610 002EA570 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 802ED614 002EA574 48 05 16 71 */ bl ReadLong__12CInputStreamFv +/* 802ED618 002EA578 7C 7E 1B 78 */ mr r30, r3 +/* 802ED61C 002EA57C 38 7C 00 10 */ addi r3, r28, 0x10 +/* 802ED620 002EA580 7F C4 F3 78 */ mr r4, r30 +/* 802ED624 002EA584 4B D7 06 D5 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 802ED628 002EA588 3B E0 00 00 */ li r31, 0 +/* 802ED62C 002EA58C 48 00 00 74 */ b lbl_802ED6A0 +lbl_802ED630: +/* 802ED630 002EA590 7F A4 EB 78 */ mr r4, r29 +/* 802ED634 002EA594 38 61 00 0C */ addi r3, r1, 0xc +/* 802ED638 002EA598 48 02 75 55 */ bl __ct__9CVector3fFR12CInputStream +/* 802ED63C 002EA59C 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 802ED640 002EA5A0 80 BC 00 18 */ lwz r5, 0x18(r28) +/* 802ED644 002EA5A4 7C 00 28 00 */ cmpw r0, r5 +/* 802ED648 002EA5A8 41 80 00 1C */ blt lbl_802ED664 +/* 802ED64C 002EA5AC 2C 05 00 00 */ cmpwi r5, 0 +/* 802ED650 002EA5B0 38 7C 00 10 */ addi r3, r28, 0x10 +/* 802ED654 002EA5B4 38 80 00 04 */ li r4, 4 +/* 802ED658 002EA5B8 41 82 00 08 */ beq lbl_802ED660 +/* 802ED65C 002EA5BC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ED660: +/* 802ED660 002EA5C0 4B D7 06 99 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_802ED664: +/* 802ED664 002EA5C4 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 802ED668 002EA5C8 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 802ED66C 002EA5CC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802ED670 002EA5D0 7C 63 02 15 */ add. r3, r3, r0 +/* 802ED674 002EA5D4 41 82 00 1C */ beq lbl_802ED690 +/* 802ED678 002EA5D8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802ED67C 002EA5DC D0 03 00 00 */ stfs f0, 0(r3) +/* 802ED680 002EA5E0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802ED684 002EA5E4 D0 03 00 04 */ stfs f0, 4(r3) +/* 802ED688 002EA5E8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802ED68C 002EA5EC D0 03 00 08 */ stfs f0, 8(r3) +lbl_802ED690: +/* 802ED690 002EA5F0 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 802ED694 002EA5F4 3B FF 00 01 */ addi r31, r31, 1 +/* 802ED698 002EA5F8 38 03 00 01 */ addi r0, r3, 1 +/* 802ED69C 002EA5FC 90 1C 00 14 */ stw r0, 0x14(r28) +lbl_802ED6A0: +/* 802ED6A0 002EA600 7C 1F F0 00 */ cmpw r31, r30 +/* 802ED6A4 002EA604 41 80 FF 8C */ blt lbl_802ED630 +/* 802ED6A8 002EA608 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802ED6AC 002EA60C 7F 83 E3 78 */ mr r3, r28 +/* 802ED6B0 002EA610 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802ED6B4 002EA614 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802ED6B8 002EA618 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802ED6BC 002EA61C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802ED6C0 002EA620 7C 08 03 A6 */ mtlr r0 +/* 802ED6C4 002EA624 38 21 00 30 */ addi r1, r1, 0x30 +/* 802ED6C8 002EA628 4E 80 00 20 */ blr + +.global GetFrameSizeInBytes__24RotationAndOffsetStorageCFv +GetFrameSizeInBytes__24RotationAndOffsetStorageCFv: +/* 802ED6CC 002EA62C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802ED6D0 002EA630 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802ED6D4 002EA634 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802ED6D8 002EA638 54 63 20 36 */ slwi r3, r3, 4 +/* 802ED6DC 002EA63C 7C 63 02 14 */ add r3, r3, r0 +/* 802ED6E0 002EA640 4E 80 00 20 */ blr + +.global "CopyRotationsAndOffsets__24RotationAndOffsetStorageFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>RCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>UiPf" +"CopyRotationsAndOffsets__24RotationAndOffsetStorageFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>RCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>UiPf": +/* 802ED6E4 002EA644 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802ED6E8 002EA648 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802ED6EC 002EA64C 3B E0 00 00 */ li r31, 0 +/* 802ED6F0 002EA650 80 E3 00 04 */ lwz r7, 4(r3) +/* 802ED6F4 002EA654 80 04 00 04 */ lwz r0, 4(r4) +/* 802ED6F8 002EA658 7D 67 2B 96 */ divwu r11, r7, r5 +/* 802ED6FC 002EA65C 7D 80 2B 96 */ divwu r12, r0, r5 +/* 802ED700 002EA660 48 00 02 58 */ b lbl_802ED958 +lbl_802ED704: +/* 802ED704 002EA664 28 0B 00 00 */ cmplwi r11, 0 +/* 802ED708 002EA668 7D 67 5B 78 */ mr r7, r11 +/* 802ED70C 002EA66C 39 40 00 00 */ li r10, 0 +/* 802ED710 002EA670 40 81 01 30 */ ble lbl_802ED840 +/* 802ED714 002EA674 55 60 F0 BF */ rlwinm. r0, r11, 0x1e, 2, 0x1f +/* 802ED718 002EA678 7C 09 03 A6 */ mtctr r0 +/* 802ED71C 002EA67C 41 82 00 E4 */ beq lbl_802ED800 +lbl_802ED720: +/* 802ED720 002EA680 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED724 002EA684 81 23 00 0C */ lwz r9, 0xc(r3) +/* 802ED728 002EA688 55 00 20 36 */ slwi r0, r8, 4 +/* 802ED72C 002EA68C 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED730 002EA690 7D 29 02 14 */ add r9, r9, r0 +/* 802ED734 002EA694 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED738 002EA698 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED73C 002EA69C 55 00 20 36 */ slwi r0, r8, 4 +/* 802ED740 002EA6A0 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED744 002EA6A4 D0 06 00 00 */ stfs f0, 0(r6) +/* 802ED748 002EA6A8 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED74C 002EA6AC 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED750 002EA6B0 C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED754 002EA6B4 D0 06 00 04 */ stfs f0, 4(r6) +/* 802ED758 002EA6B8 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED75C 002EA6BC D0 06 00 08 */ stfs f0, 8(r6) +/* 802ED760 002EA6C0 C0 09 00 0C */ lfs f0, 0xc(r9) +/* 802ED764 002EA6C4 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 802ED768 002EA6C8 81 23 00 0C */ lwz r9, 0xc(r3) +/* 802ED76C 002EA6CC 7D 29 02 14 */ add r9, r9, r0 +/* 802ED770 002EA6D0 55 00 20 36 */ slwi r0, r8, 4 +/* 802ED774 002EA6D4 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED778 002EA6D8 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED77C 002EA6DC 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED780 002EA6E0 D0 06 00 10 */ stfs f0, 0x10(r6) +/* 802ED784 002EA6E4 C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED788 002EA6E8 D0 06 00 14 */ stfs f0, 0x14(r6) +/* 802ED78C 002EA6EC C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED790 002EA6F0 D0 06 00 18 */ stfs f0, 0x18(r6) +/* 802ED794 002EA6F4 C0 09 00 0C */ lfs f0, 0xc(r9) +/* 802ED798 002EA6F8 D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 802ED79C 002EA6FC 81 23 00 0C */ lwz r9, 0xc(r3) +/* 802ED7A0 002EA700 7D 29 02 14 */ add r9, r9, r0 +/* 802ED7A4 002EA704 55 00 20 36 */ slwi r0, r8, 4 +/* 802ED7A8 002EA708 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED7AC 002EA70C D0 06 00 20 */ stfs f0, 0x20(r6) +/* 802ED7B0 002EA710 C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED7B4 002EA714 D0 06 00 24 */ stfs f0, 0x24(r6) +/* 802ED7B8 002EA718 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED7BC 002EA71C D0 06 00 28 */ stfs f0, 0x28(r6) +/* 802ED7C0 002EA720 C0 09 00 0C */ lfs f0, 0xc(r9) +/* 802ED7C4 002EA724 D0 06 00 2C */ stfs f0, 0x2c(r6) +/* 802ED7C8 002EA728 81 23 00 0C */ lwz r9, 0xc(r3) +/* 802ED7CC 002EA72C 7D 29 02 14 */ add r9, r9, r0 +/* 802ED7D0 002EA730 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED7D4 002EA734 D0 06 00 30 */ stfs f0, 0x30(r6) +/* 802ED7D8 002EA738 C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED7DC 002EA73C D0 06 00 34 */ stfs f0, 0x34(r6) +/* 802ED7E0 002EA740 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED7E4 002EA744 D0 06 00 38 */ stfs f0, 0x38(r6) +/* 802ED7E8 002EA748 C0 09 00 0C */ lfs f0, 0xc(r9) +/* 802ED7EC 002EA74C D0 06 00 3C */ stfs f0, 0x3c(r6) +/* 802ED7F0 002EA750 38 C6 00 40 */ addi r6, r6, 0x40 +/* 802ED7F4 002EA754 42 00 FF 2C */ bdnz lbl_802ED720 +/* 802ED7F8 002EA758 70 E7 00 03 */ andi. r7, r7, 3 +/* 802ED7FC 002EA75C 41 82 00 44 */ beq lbl_802ED840 +lbl_802ED800: +/* 802ED800 002EA760 7C E9 03 A6 */ mtctr r7 +lbl_802ED804: +/* 802ED804 002EA764 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED808 002EA768 81 23 00 0C */ lwz r9, 0xc(r3) +/* 802ED80C 002EA76C 55 00 20 36 */ slwi r0, r8, 4 +/* 802ED810 002EA770 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED814 002EA774 7D 29 02 14 */ add r9, r9, r0 +/* 802ED818 002EA778 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED81C 002EA77C D0 06 00 00 */ stfs f0, 0(r6) +/* 802ED820 002EA780 C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED824 002EA784 D0 06 00 04 */ stfs f0, 4(r6) +/* 802ED828 002EA788 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED82C 002EA78C D0 06 00 08 */ stfs f0, 8(r6) +/* 802ED830 002EA790 C0 09 00 0C */ lfs f0, 0xc(r9) +/* 802ED834 002EA794 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 802ED838 002EA798 38 C6 00 10 */ addi r6, r6, 0x10 +/* 802ED83C 002EA79C 42 00 FF C8 */ bdnz lbl_802ED804 +lbl_802ED840: +/* 802ED840 002EA7A0 28 0C 00 00 */ cmplwi r12, 0 +/* 802ED844 002EA7A4 7D 87 63 78 */ mr r7, r12 +/* 802ED848 002EA7A8 39 40 00 00 */ li r10, 0 +/* 802ED84C 002EA7AC 40 81 01 08 */ ble lbl_802ED954 +/* 802ED850 002EA7B0 55 80 F0 BF */ rlwinm. r0, r12, 0x1e, 2, 0x1f +/* 802ED854 002EA7B4 7C 09 03 A6 */ mtctr r0 +/* 802ED858 002EA7B8 41 82 00 C4 */ beq lbl_802ED91C +lbl_802ED85C: +/* 802ED85C 002EA7BC 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED860 002EA7C0 81 24 00 0C */ lwz r9, 0xc(r4) +/* 802ED864 002EA7C4 1C 08 00 0C */ mulli r0, r8, 0xc +/* 802ED868 002EA7C8 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED86C 002EA7CC 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED870 002EA7D0 7D 29 02 14 */ add r9, r9, r0 +/* 802ED874 002EA7D4 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED878 002EA7D8 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED87C 002EA7DC 1C 08 00 0C */ mulli r0, r8, 0xc +/* 802ED880 002EA7E0 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED884 002EA7E4 D0 06 00 00 */ stfs f0, 0(r6) +/* 802ED888 002EA7E8 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED88C 002EA7EC C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED890 002EA7F0 D0 06 00 04 */ stfs f0, 4(r6) +/* 802ED894 002EA7F4 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED898 002EA7F8 D0 06 00 08 */ stfs f0, 8(r6) +/* 802ED89C 002EA7FC 81 24 00 0C */ lwz r9, 0xc(r4) +/* 802ED8A0 002EA800 7D 29 02 14 */ add r9, r9, r0 +/* 802ED8A4 002EA804 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED8A8 002EA808 1C 08 00 0C */ mulli r0, r8, 0xc +/* 802ED8AC 002EA80C 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED8B0 002EA810 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 802ED8B4 002EA814 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED8B8 002EA818 C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED8BC 002EA81C D0 06 00 10 */ stfs f0, 0x10(r6) +/* 802ED8C0 002EA820 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED8C4 002EA824 D0 06 00 14 */ stfs f0, 0x14(r6) +/* 802ED8C8 002EA828 81 24 00 0C */ lwz r9, 0xc(r4) +/* 802ED8CC 002EA82C 7D 29 02 14 */ add r9, r9, r0 +/* 802ED8D0 002EA830 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED8D4 002EA834 1C 08 00 0C */ mulli r0, r8, 0xc +/* 802ED8D8 002EA838 D0 06 00 18 */ stfs f0, 0x18(r6) +/* 802ED8DC 002EA83C C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED8E0 002EA840 D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 802ED8E4 002EA844 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED8E8 002EA848 D0 06 00 20 */ stfs f0, 0x20(r6) +/* 802ED8EC 002EA84C 81 24 00 0C */ lwz r9, 0xc(r4) +/* 802ED8F0 002EA850 7D 29 02 14 */ add r9, r9, r0 +/* 802ED8F4 002EA854 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED8F8 002EA858 D0 06 00 24 */ stfs f0, 0x24(r6) +/* 802ED8FC 002EA85C C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED900 002EA860 D0 06 00 28 */ stfs f0, 0x28(r6) +/* 802ED904 002EA864 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED908 002EA868 D0 06 00 2C */ stfs f0, 0x2c(r6) +/* 802ED90C 002EA86C 38 C6 00 30 */ addi r6, r6, 0x30 +/* 802ED910 002EA870 42 00 FF 4C */ bdnz lbl_802ED85C +/* 802ED914 002EA874 70 E7 00 03 */ andi. r7, r7, 3 +/* 802ED918 002EA878 41 82 00 3C */ beq lbl_802ED954 +lbl_802ED91C: +/* 802ED91C 002EA87C 7C E9 03 A6 */ mtctr r7 +lbl_802ED920: +/* 802ED920 002EA880 7D 1F 52 14 */ add r8, r31, r10 +/* 802ED924 002EA884 81 24 00 0C */ lwz r9, 0xc(r4) +/* 802ED928 002EA888 1C 08 00 0C */ mulli r0, r8, 0xc +/* 802ED92C 002EA88C 7D 4A 2A 14 */ add r10, r10, r5 +/* 802ED930 002EA890 7D 29 02 14 */ add r9, r9, r0 +/* 802ED934 002EA894 C0 09 00 00 */ lfs f0, 0(r9) +/* 802ED938 002EA898 D0 06 00 00 */ stfs f0, 0(r6) +/* 802ED93C 002EA89C C0 09 00 04 */ lfs f0, 4(r9) +/* 802ED940 002EA8A0 D0 06 00 04 */ stfs f0, 4(r6) +/* 802ED944 002EA8A4 C0 09 00 08 */ lfs f0, 8(r9) +/* 802ED948 002EA8A8 D0 06 00 08 */ stfs f0, 8(r6) +/* 802ED94C 002EA8AC 38 C6 00 0C */ addi r6, r6, 0xc +/* 802ED950 002EA8B0 42 00 FF D0 */ bdnz lbl_802ED920 +lbl_802ED954: +/* 802ED954 002EA8B4 3B FF 00 01 */ addi r31, r31, 1 +lbl_802ED958: +/* 802ED958 002EA8B8 7C 1F 28 40 */ cmplw r31, r5 +/* 802ED95C 002EA8BC 41 80 FD A8 */ blt lbl_802ED704 +/* 802ED960 002EA8C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802ED964 002EA8C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802ED968 002EA8C8 4E 80 00 20 */ blr + +.global "GetRotationsAndOffsets__24RotationAndOffsetStorageFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>RCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Ui" +"GetRotationsAndOffsets__24RotationAndOffsetStorageFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>RCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Ui": +/* 802ED96C 002EA8CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802ED970 002EA8D0 7C 08 02 A6 */ mflr r0 +/* 802ED974 002EA8D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802ED978 002EA8D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802ED97C 002EA8DC 7C 7F 1B 78 */ mr r31, r3 +/* 802ED980 002EA8E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802ED984 002EA8E4 7C FE 3B 78 */ mr r30, r7 +/* 802ED988 002EA8E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802ED98C 002EA8EC 7C DD 33 78 */ mr r29, r6 +/* 802ED990 002EA8F0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802ED994 002EA8F4 7C BC 2B 78 */ mr r28, r5 +/* 802ED998 002EA8F8 80 05 00 04 */ lwz r0, 4(r5) +/* 802ED99C 002EA8FC 7F C5 F3 78 */ mr r5, r30 +/* 802ED9A0 002EA900 7C 00 F3 96 */ divwu r0, r0, r30 +/* 802ED9A4 002EA904 90 04 00 0C */ stw r0, 0xc(r4) +/* 802ED9A8 002EA908 80 06 00 04 */ lwz r0, 4(r6) +/* 802ED9AC 002EA90C 7C 00 F3 96 */ divwu r0, r0, r30 +/* 802ED9B0 002EA910 90 04 00 10 */ stw r0, 0x10(r4) +/* 802ED9B4 002EA914 80 7C 00 04 */ lwz r3, 4(r28) +/* 802ED9B8 002EA918 80 06 00 04 */ lwz r0, 4(r6) +/* 802ED9BC 002EA91C 7C 63 F3 96 */ divwu r3, r3, r30 +/* 802ED9C0 002EA920 7C 80 F3 96 */ divwu r4, r0, r30 +/* 802ED9C4 002EA924 48 00 01 21 */ bl DataSizeInBytes__24RotationAndOffsetStorageFUiUiUi +/* 802ED9C8 002EA928 54 63 F0 BE */ srwi r3, r3, 2 +/* 802ED9CC 002EA92C 3C 80 80 3D */ lis r4, lbl_803D6DD8@ha +/* 802ED9D0 002EA930 38 03 00 01 */ addi r0, r3, 1 +/* 802ED9D4 002EA934 38 A0 00 00 */ li r5, 0 +/* 802ED9D8 002EA938 54 03 10 3A */ slwi r3, r0, 2 +/* 802ED9DC 002EA93C 38 84 6D D8 */ addi r4, r4, lbl_803D6DD8@l +/* 802ED9E0 002EA940 48 02 7E 39 */ bl __nwa__FUlPCcPCc +/* 802ED9E4 002EA944 7C 66 1B 78 */ mr r6, r3 +/* 802ED9E8 002EA948 7F 83 E3 78 */ mr r3, r28 +/* 802ED9EC 002EA94C 7C 06 00 D0 */ neg r0, r6 +/* 802ED9F0 002EA950 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802ED9F4 002EA954 7C 00 33 78 */ or r0, r0, r6 +/* 802ED9F8 002EA958 7F A4 EB 78 */ mr r4, r29 +/* 802ED9FC 002EA95C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802EDA00 002EA960 7F C5 F3 78 */ mr r5, r30 +/* 802EDA04 002EA964 98 01 00 08 */ stb r0, 8(r1) +/* 802EDA08 002EA968 4B FF FC DD */ bl "CopyRotationsAndOffsets__24RotationAndOffsetStorageFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>RCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>UiPf" +/* 802EDA0C 002EA96C 88 81 00 08 */ lbz r4, 8(r1) +/* 802EDA10 002EA970 38 00 00 00 */ li r0, 0 +/* 802EDA14 002EA974 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802EDA18 002EA978 98 9F 00 00 */ stb r4, 0(r31) +/* 802EDA1C 002EA97C 90 7F 00 04 */ stw r3, 4(r31) +/* 802EDA20 002EA980 98 01 00 08 */ stb r0, 8(r1) +/* 802EDA24 002EA984 48 00 00 08 */ b lbl_802EDA2C +/* 802EDA28 002EA988 48 02 7F 09 */ bl Free__7CMemoryFPCv +lbl_802EDA2C: +/* 802EDA2C 002EA98C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EDA30 002EA990 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EDA34 002EA994 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EDA38 002EA998 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802EDA3C 002EA99C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802EDA40 002EA9A0 7C 08 03 A6 */ mtlr r0 +/* 802EDA44 002EA9A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EDA48 002EA9A8 4E 80 00 20 */ blr + +.global __ct__24RotationAndOffsetStorageFRCQ224RotationAndOffsetStorage25CRotationAndOffsetVectorsUi +__ct__24RotationAndOffsetStorageFRCQ224RotationAndOffsetStorage25CRotationAndOffsetVectorsUi: +/* 802EDA4C 002EA9AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EDA50 002EA9B0 7C 08 02 A6 */ mflr r0 +/* 802EDA54 002EA9B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EDA58 002EA9B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EDA5C 002EA9BC 7C BF 2B 78 */ mr r31, r5 +/* 802EDA60 002EA9C0 7F E7 FB 78 */ mr r7, r31 +/* 802EDA64 002EA9C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EDA68 002EA9C8 7C 9E 23 78 */ mr r30, r4 +/* 802EDA6C 002EA9CC 7F C5 F3 78 */ mr r5, r30 +/* 802EDA70 002EA9D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EDA74 002EA9D4 7C 7D 1B 78 */ mr r29, r3 +/* 802EDA78 002EA9D8 38 61 00 08 */ addi r3, r1, 8 +/* 802EDA7C 002EA9DC 38 DE 00 10 */ addi r6, r30, 0x10 +/* 802EDA80 002EA9E0 7F A4 EB 78 */ mr r4, r29 +/* 802EDA84 002EA9E4 4B FF FE E9 */ bl "GetRotationsAndOffsets__24RotationAndOffsetStorageFRCQ24rstl48vector<11CQuaternion,Q24rstl17rmemory_allocator>RCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Ui" +/* 802EDA88 002EA9E8 88 61 00 08 */ lbz r3, 8(r1) +/* 802EDA8C 002EA9EC 38 00 00 00 */ li r0, 0 +/* 802EDA90 002EA9F0 98 7D 00 00 */ stb r3, 0(r29) +/* 802EDA94 002EA9F4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802EDA98 002EA9F8 90 7D 00 04 */ stw r3, 4(r29) +/* 802EDA9C 002EA9FC 98 01 00 08 */ stb r0, 8(r1) +/* 802EDAA0 002EAA00 48 00 00 08 */ b lbl_802EDAA8 +/* 802EDAA4 002EAA04 48 02 7E 8D */ bl Free__7CMemoryFPCv +lbl_802EDAA8: +/* 802EDAA8 002EAA08 93 FD 00 08 */ stw r31, 8(r29) +/* 802EDAAC 002EAA0C 7F A3 EB 78 */ mr r3, r29 +/* 802EDAB0 002EAA10 80 1E 00 04 */ lwz r0, 4(r30) +/* 802EDAB4 002EAA14 7C 00 FB 96 */ divwu r0, r0, r31 +/* 802EDAB8 002EAA18 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802EDABC 002EAA1C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802EDAC0 002EAA20 7C 00 FB 96 */ divwu r0, r0, r31 +/* 802EDAC4 002EAA24 90 1D 00 10 */ stw r0, 0x10(r29) +/* 802EDAC8 002EAA28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EDACC 002EAA2C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EDAD0 002EAA30 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802EDAD4 002EAA34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EDAD8 002EAA38 7C 08 03 A6 */ mtlr r0 +/* 802EDADC 002EAA3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EDAE0 002EAA40 4E 80 00 20 */ blr + +.global DataSizeInBytes__24RotationAndOffsetStorageFUiUiUi +DataSizeInBytes__24RotationAndOffsetStorageFUiUiUi: +/* 802EDAE4 002EAA44 1C 04 00 0C */ mulli r0, r4, 0xc +/* 802EDAE8 002EAA48 54 63 20 36 */ slwi r3, r3, 4 +/* 802EDAEC 002EAA4C 7C 03 02 14 */ add r0, r3, r0 +/* 802EDAF0 002EAA50 7C 65 01 D6 */ mullw r3, r5, r0 +/* 802EDAF4 002EAA54 4E 80 00 20 */ blr + +.global clamp_zero_to_one__Ff +clamp_zero_to_one__Ff: +/* 802EDAF8 002EAA58 C0 02 C6 50 */ lfs f0, lbl_805AE370@sda21(r2) +/* 802EDAFC 002EAA5C C0 42 C6 60 */ lfs f2, lbl_805AE380@sda21(r2) +/* 802EDB00 002EAA60 FC 01 00 6E */ fsel f0, f1, f1, f0 +/* 802EDB04 002EAA64 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802EDB08 002EAA68 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 802EDB0C 002EAA6C FC 20 00 90 */ fmr f1, f0 +/* 802EDB10 002EAA70 4E 80 00 20 */ blr + +.global "copy_from__Q24rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EDBB8 002EAB18 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802EDBBC 002EAB1C 90 1C 00 10 */ stw r0, 0x10(r28) +lbl_802EDBC0: +/* 802EDBC0 002EAB20 28 1B 00 00 */ cmplwi r27, 0 +/* 802EDBC4 002EAB24 7F E3 FB 78 */ mr r3, r31 +/* 802EDBC8 002EAB28 41 82 00 08 */ beq lbl_802EDBD0 +/* 802EDBCC 002EAB2C 93 FB 00 08 */ stw r31, 8(r27) +lbl_802EDBD0: +/* 802EDBD0 002EAB30 28 1A 00 00 */ cmplwi r26, 0 +/* 802EDBD4 002EAB34 41 82 00 08 */ beq lbl_802EDBDC +/* 802EDBD8 002EAB38 90 7A 00 08 */ stw r3, 8(r26) +lbl_802EDBDC: +/* 802EDBDC 002EAB3C BB 41 00 08 */ lmw r26, 8(r1) +/* 802EDBE0 002EAB40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EDBE4 002EAB44 7C 08 03 A6 */ mtlr r0 +/* 802EDBE8 002EAB48 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EDBEC 002EAB4C 4E 80 00 20 */ blr + +.global sub_802edbf0 +sub_802edbf0: +/* 802EDBF0 002EAB50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EDBF4 002EAB54 7C 08 02 A6 */ mflr r0 +/* 802EDBF8 002EAB58 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EDBFC 002EAB5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EDC00 002EAB60 7C 9F 23 78 */ mr r31, r4 +/* 802EDC04 002EAB64 93 C1 00 08 */ stw r30, 8(r1) +/* 802EDC08 002EAB68 7C 7E 1B 78 */ mr r30, r3 +/* 802EDC0C 002EAB6C 80 84 00 00 */ lwz r4, 0(r4) +/* 802EDC10 002EAB70 28 04 00 00 */ cmplwi r4, 0 +/* 802EDC14 002EAB74 41 82 00 08 */ beq lbl_802EDC1C +/* 802EDC18 002EAB78 4B FF FF D9 */ bl sub_802edbf0 +lbl_802EDC1C: +/* 802EDC1C 002EAB7C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802EDC20 002EAB80 28 04 00 00 */ cmplwi r4, 0 +/* 802EDC24 002EAB84 41 82 00 0C */ beq lbl_802EDC30 +/* 802EDC28 002EAB88 7F C3 F3 78 */ mr r3, r30 +/* 802EDC2C 002EAB8C 4B FF FF C5 */ bl sub_802edbf0 +lbl_802EDC30: +/* 802EDC30 002EAB90 28 1F 00 00 */ cmplwi r31, 0 +/* 802EDC34 002EAB94 41 82 00 1C */ beq lbl_802EDC50 +/* 802EDC38 002EAB98 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 802EDC3C 002EAB9C 41 82 00 14 */ beq lbl_802EDC50 +/* 802EDC40 002EABA0 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 802EDC44 002EABA4 41 82 00 0C */ beq lbl_802EDC50 +/* 802EDC48 002EABA8 38 7F 00 10 */ addi r3, r31, 0x10 +/* 802EDC4C 002EABAC 48 04 FE 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EDC50: +/* 802EDC50 002EABB0 28 1F 00 00 */ cmplwi r31, 0 +/* 802EDC54 002EABB4 41 82 00 0C */ beq lbl_802EDC60 +/* 802EDC58 002EABB8 7F E3 FB 78 */ mr r3, r31 +/* 802EDC5C 002EABBC 48 02 7C D5 */ bl Free__7CMemoryFPCv +lbl_802EDC60: +/* 802EDC60 002EABC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EDC64 002EABC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EDC68 002EABC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EDC6C 002EABCC 7C 08 03 A6 */ mtlr r0 +/* 802EDC70 002EABD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EDC74 002EABD4 4E 80 00 20 */ blr + +.global sub_802edc78 +sub_802edc78: +/* 802EDC78 002EABD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EDC7C 002EABDC 7C 08 02 A6 */ mflr r0 +/* 802EDC80 002EABE0 28 05 00 00 */ cmplwi r5, 0 +/* 802EDC84 002EABE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EDC88 002EABE8 BF 41 00 08 */ stmw r26, 8(r1) +/* 802EDC8C 002EABEC 7C 7C 1B 78 */ mr r28, r3 +/* 802EDC90 002EABF0 7C 9D 23 78 */ mr r29, r4 +/* 802EDC94 002EABF4 7C DE 33 78 */ mr r30, r6 +/* 802EDC98 002EABF8 40 82 00 8C */ bne lbl_802EDD24 +/* 802EDC9C 002EABFC 3C 80 80 3D */ lis r4, lbl_803D6DD8@ha +/* 802EDCA0 002EAC00 38 60 00 24 */ li r3, 0x24 +/* 802EDCA4 002EAC04 38 84 6D D8 */ addi r4, r4, lbl_803D6DD8@l +/* 802EDCA8 002EAC08 38 A0 00 00 */ li r5, 0 +/* 802EDCAC 002EAC0C 48 02 7B 6D */ bl __nwa__FUlPCcPCc +/* 802EDCB0 002EAC10 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802EDCB4 002EAC14 41 82 00 34 */ beq lbl_802EDCE8 +/* 802EDCB8 002EAC18 38 00 00 00 */ li r0, 0 +/* 802EDCBC 002EAC1C 37 FB 00 10 */ addic. r31, r27, 0x10 +/* 802EDCC0 002EAC20 90 1B 00 00 */ stw r0, 0(r27) +/* 802EDCC4 002EAC24 90 1B 00 04 */ stw r0, 4(r27) +/* 802EDCC8 002EAC28 90 1B 00 08 */ stw r0, 8(r27) +/* 802EDCCC 002EAC2C 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802EDCD0 002EAC30 41 82 00 18 */ beq lbl_802EDCE8 +/* 802EDCD4 002EAC34 7F E3 FB 78 */ mr r3, r31 +/* 802EDCD8 002EAC38 7F C4 F3 78 */ mr r4, r30 +/* 802EDCDC 002EAC3C 48 05 04 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EDCE0 002EAC40 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802EDCE4 002EAC44 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_802EDCE8: +/* 802EDCE8 002EAC48 93 7D 00 10 */ stw r27, 0x10(r29) +/* 802EDCEC 002EAC4C 38 1D 00 08 */ addi r0, r29, 8 +/* 802EDCF0 002EAC50 80 7D 00 04 */ lwz r3, 4(r29) +/* 802EDCF4 002EAC54 38 63 00 01 */ addi r3, r3, 1 +/* 802EDCF8 002EAC58 90 7D 00 04 */ stw r3, 4(r29) +/* 802EDCFC 002EAC5C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802EDD00 002EAC60 90 7D 00 08 */ stw r3, 8(r29) +/* 802EDD04 002EAC64 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802EDD08 002EAC68 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802EDD0C 002EAC6C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802EDD10 002EAC70 90 7C 00 00 */ stw r3, 0(r28) +/* 802EDD14 002EAC74 90 1C 00 04 */ stw r0, 4(r28) +/* 802EDD18 002EAC78 88 0D 9B C0 */ lbz r0, lbl_805A8780@sda21(r13) +/* 802EDD1C 002EAC7C 98 1C 00 08 */ stb r0, 8(r28) +/* 802EDD20 002EAC80 48 00 01 94 */ b lbl_802EDEB4 +lbl_802EDD24: +/* 802EDD24 002EAC84 7C BF 2B 78 */ mr r31, r5 +/* 802EDD28 002EAC88 3B 40 00 00 */ li r26, 0 +/* 802EDD2C 002EAC8C 48 00 01 54 */ b lbl_802EDE80 +lbl_802EDD30: +/* 802EDD30 002EAC90 7F C4 F3 78 */ mr r4, r30 +/* 802EDD34 002EAC94 38 7D 00 01 */ addi r3, r29, 1 +/* 802EDD38 002EAC98 38 BF 00 10 */ addi r5, r31, 0x10 +/* 802EDD3C 002EAC9C 48 00 01 8D */ bl sub_802edec8 +/* 802EDD40 002EACA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EDD44 002EACA4 7C 7B 1B 78 */ mr r27, r3 +/* 802EDD48 002EACA8 40 82 00 34 */ bne lbl_802EDD7C +/* 802EDD4C 002EACAC 7F C5 F3 78 */ mr r5, r30 +/* 802EDD50 002EACB0 38 7D 00 01 */ addi r3, r29, 1 +/* 802EDD54 002EACB4 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802EDD58 002EACB8 48 00 01 71 */ bl sub_802edec8 +/* 802EDD5C 002EACBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EDD60 002EACC0 40 82 00 1C */ bne lbl_802EDD7C +/* 802EDD64 002EACC4 93 FC 00 00 */ stw r31, 0(r28) +/* 802EDD68 002EACC8 38 1D 00 08 */ addi r0, r29, 8 +/* 802EDD6C 002EACCC 90 1C 00 04 */ stw r0, 4(r28) +/* 802EDD70 002EACD0 88 0D 9B C1 */ lbz r0, lbl_805A8781@sda21(r13) +/* 802EDD74 002EACD4 98 1C 00 08 */ stb r0, 8(r28) +/* 802EDD78 002EACD8 48 00 01 3C */ b lbl_802EDEB4 +lbl_802EDD7C: +/* 802EDD7C 002EACDC 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 802EDD80 002EACE0 41 82 00 84 */ beq lbl_802EDE04 +/* 802EDD84 002EACE4 80 1F 00 00 */ lwz r0, 0(r31) +/* 802EDD88 002EACE8 28 00 00 00 */ cmplwi r0, 0 +/* 802EDD8C 002EACEC 40 82 00 70 */ bne lbl_802EDDFC +/* 802EDD90 002EACF0 3C 80 80 3D */ lis r4, lbl_803D6DD8@ha +/* 802EDD94 002EACF4 38 60 00 24 */ li r3, 0x24 +/* 802EDD98 002EACF8 38 84 6D D8 */ addi r4, r4, lbl_803D6DD8@l +/* 802EDD9C 002EACFC 38 A0 00 00 */ li r5, 0 +/* 802EDDA0 002EAD00 48 02 7A 79 */ bl __nwa__FUlPCcPCc +/* 802EDDA4 002EAD04 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802EDDA8 002EAD08 41 82 00 38 */ beq lbl_802EDDE0 +/* 802EDDAC 002EAD0C 38 60 00 00 */ li r3, 0 +/* 802EDDB0 002EAD10 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 802EDDB4 002EAD14 90 7B 00 00 */ stw r3, 0(r27) +/* 802EDDB8 002EAD18 38 00 00 01 */ li r0, 1 +/* 802EDDBC 002EAD1C 90 7B 00 04 */ stw r3, 4(r27) +/* 802EDDC0 002EAD20 93 FB 00 08 */ stw r31, 8(r27) +/* 802EDDC4 002EAD24 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802EDDC8 002EAD28 41 82 00 18 */ beq lbl_802EDDE0 +/* 802EDDCC 002EAD2C 7F 43 D3 78 */ mr r3, r26 +/* 802EDDD0 002EAD30 7F C4 F3 78 */ mr r4, r30 +/* 802EDDD4 002EAD34 48 05 03 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EDDD8 002EAD38 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802EDDDC 002EAD3C 90 1A 00 10 */ stw r0, 0x10(r26) +lbl_802EDDE0: +/* 802EDDE0 002EAD40 93 7F 00 00 */ stw r27, 0(r31) +/* 802EDDE4 002EAD44 7F 7A DB 78 */ mr r26, r27 +/* 802EDDE8 002EAD48 80 1D 00 08 */ lwz r0, 8(r29) +/* 802EDDEC 002EAD4C 7C 1F 00 40 */ cmplw r31, r0 +/* 802EDDF0 002EAD50 40 82 00 90 */ bne lbl_802EDE80 +/* 802EDDF4 002EAD54 93 7D 00 08 */ stw r27, 8(r29) +/* 802EDDF8 002EAD58 48 00 00 88 */ b lbl_802EDE80 +lbl_802EDDFC: +/* 802EDDFC 002EAD5C 7C 1F 03 78 */ mr r31, r0 +/* 802EDE00 002EAD60 48 00 00 80 */ b lbl_802EDE80 +lbl_802EDE04: +/* 802EDE04 002EAD64 80 1F 00 04 */ lwz r0, 4(r31) +/* 802EDE08 002EAD68 28 00 00 00 */ cmplwi r0, 0 +/* 802EDE0C 002EAD6C 40 82 00 70 */ bne lbl_802EDE7C +/* 802EDE10 002EAD70 3C 80 80 3D */ lis r4, lbl_803D6DD8@ha +/* 802EDE14 002EAD74 38 60 00 24 */ li r3, 0x24 +/* 802EDE18 002EAD78 38 84 6D D8 */ addi r4, r4, lbl_803D6DD8@l +/* 802EDE1C 002EAD7C 38 A0 00 00 */ li r5, 0 +/* 802EDE20 002EAD80 48 02 79 F9 */ bl __nwa__FUlPCcPCc +/* 802EDE24 002EAD84 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802EDE28 002EAD88 41 82 00 38 */ beq lbl_802EDE60 +/* 802EDE2C 002EAD8C 38 60 00 00 */ li r3, 0 +/* 802EDE30 002EAD90 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 802EDE34 002EAD94 90 7B 00 00 */ stw r3, 0(r27) +/* 802EDE38 002EAD98 38 00 00 01 */ li r0, 1 +/* 802EDE3C 002EAD9C 90 7B 00 04 */ stw r3, 4(r27) +/* 802EDE40 002EADA0 93 FB 00 08 */ stw r31, 8(r27) +/* 802EDE44 002EADA4 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802EDE48 002EADA8 41 82 00 18 */ beq lbl_802EDE60 +/* 802EDE4C 002EADAC 7F 43 D3 78 */ mr r3, r26 +/* 802EDE50 002EADB0 7F C4 F3 78 */ mr r4, r30 +/* 802EDE54 002EADB4 48 05 03 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EDE58 002EADB8 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802EDE5C 002EADBC 90 1A 00 10 */ stw r0, 0x10(r26) +lbl_802EDE60: +/* 802EDE60 002EADC0 93 7F 00 04 */ stw r27, 4(r31) +/* 802EDE64 002EADC4 7F 7A DB 78 */ mr r26, r27 +/* 802EDE68 002EADC8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802EDE6C 002EADCC 7C 1F 00 40 */ cmplw r31, r0 +/* 802EDE70 002EADD0 40 82 00 10 */ bne lbl_802EDE80 +/* 802EDE74 002EADD4 93 7D 00 0C */ stw r27, 0xc(r29) +/* 802EDE78 002EADD8 48 00 00 08 */ b lbl_802EDE80 +lbl_802EDE7C: +/* 802EDE7C 002EADDC 7C 1F 03 78 */ mr r31, r0 +lbl_802EDE80: +/* 802EDE80 002EADE0 28 1A 00 00 */ cmplwi r26, 0 +/* 802EDE84 002EADE4 41 82 FE AC */ beq lbl_802EDD30 +/* 802EDE88 002EADE8 80 BD 00 04 */ lwz r5, 4(r29) +/* 802EDE8C 002EADEC 7F 44 D3 78 */ mr r4, r26 +/* 802EDE90 002EADF0 38 7D 00 08 */ addi r3, r29, 8 +/* 802EDE94 002EADF4 38 05 00 01 */ addi r0, r5, 1 +/* 802EDE98 002EADF8 90 1D 00 04 */ stw r0, 4(r29) +/* 802EDE9C 002EADFC 48 04 EB FD */ bl rbtree_rebalance__4rstlFPvPv +/* 802EDEA0 002EAE00 93 5C 00 00 */ stw r26, 0(r28) +/* 802EDEA4 002EAE04 38 1D 00 08 */ addi r0, r29, 8 +/* 802EDEA8 002EAE08 90 1C 00 04 */ stw r0, 4(r28) +/* 802EDEAC 002EAE0C 88 0D 9B C2 */ lbz r0, lbl_805A8782@sda21(r13) +/* 802EDEB0 002EAE10 98 1C 00 08 */ stb r0, 8(r28) +lbl_802EDEB4: +/* 802EDEB4 002EAE14 BB 41 00 08 */ lmw r26, 8(r1) +/* 802EDEB8 002EAE18 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EDEBC 002EAE1C 7C 08 03 A6 */ mtlr r0 +/* 802EDEC0 002EAE20 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EDEC4 002EAE24 4E 80 00 20 */ blr + +.global sub_802edec8 +sub_802edec8: +/* 802EDEC8 002EAE28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EDECC 002EAE2C 7C 08 02 A6 */ mflr r0 +/* 802EDED0 002EAE30 7C 83 23 78 */ mr r3, r4 +/* 802EDED4 002EAE34 7C A4 2B 78 */ mr r4, r5 +/* 802EDED8 002EAE38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EDEDC 002EAE3C 48 00 00 15 */ bl sub_802edef0 +/* 802EDEE0 002EAE40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EDEE4 002EAE44 7C 08 03 A6 */ mtlr r0 +/* 802EDEE8 002EAE48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EDEEC 002EAE4C 4E 80 00 20 */ blr + +.global sub_802edef0 +sub_802edef0: +/* 802EDEF0 002EAE50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EDEF4 002EAE54 7C 08 02 A6 */ mflr r0 +/* 802EDEF8 002EAE58 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EDEFC 002EAE5C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EDF00 002EAE60 3B E0 00 00 */ li r31, 0 +/* 802EDF04 002EAE64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EDF08 002EAE68 7C 9E 23 78 */ mr r30, r4 +/* 802EDF0C 002EAE6C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EDF10 002EAE70 7C 7D 1B 78 */ mr r29, r3 +/* 802EDF14 002EAE74 4B D3 C8 3D */ bl sub_8002a750 +/* 802EDF18 002EAE78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EDF1C 002EAE7C 40 82 00 28 */ bne lbl_802EDF44 +/* 802EDF20 002EAE80 7F A3 EB 78 */ mr r3, r29 +/* 802EDF24 002EAE84 7F C4 F3 78 */ mr r4, r30 +/* 802EDF28 002EAE88 4B D6 46 B9 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 802EDF2C 002EAE8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EDF30 002EAE90 41 82 00 18 */ beq lbl_802EDF48 +/* 802EDF34 002EAE94 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802EDF38 002EAE98 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802EDF3C 002EAE9C 7C 03 00 00 */ cmpw r3, r0 +/* 802EDF40 002EAEA0 40 80 00 08 */ bge lbl_802EDF48 +lbl_802EDF44: +/* 802EDF44 002EAEA4 3B E0 00 01 */ li r31, 1 +lbl_802EDF48: +/* 802EDF48 002EAEA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EDF4C 002EAEAC 7F E3 FB 78 */ mr r3, r31 +/* 802EDF50 002EAEB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EDF54 002EAEB4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EDF58 002EAEB8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802EDF5C 002EAEBC 7C 08 03 A6 */ mtlr r0 +/* 802EDF60 002EAEC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EDF64 002EAEC4 4E 80 00 20 */ blr + +.global sub_802edf68 +sub_802edf68: +/* 802EDF68 002EAEC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EDF6C 002EAECC 7C 08 02 A6 */ mflr r0 +/* 802EDF70 002EAED0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EDF74 002EAED4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EDF78 002EAED8 7C 9F 23 78 */ mr r31, r4 +/* 802EDF7C 002EAEDC 93 C1 00 08 */ stw r30, 8(r1) +/* 802EDF80 002EAEE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802EDF84 002EAEE4 41 82 00 50 */ beq lbl_802EDFD4 +/* 802EDF88 002EAEE8 3C 60 80 3F */ lis r3, lbl_803ECF58@ha +/* 802EDF8C 002EAEEC 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 802EDF90 002EAEF0 38 03 CF 58 */ addi r0, r3, lbl_803ECF58@l +/* 802EDF94 002EAEF4 90 1E 00 00 */ stw r0, 0(r30) +/* 802EDF98 002EAEF8 41 82 00 20 */ beq lbl_802EDFB8 +/* 802EDF9C 002EAEFC 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 802EDFA0 002EAF00 41 82 00 18 */ beq lbl_802EDFB8 +/* 802EDFA4 002EAF04 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 802EDFA8 002EAF08 41 82 00 10 */ beq lbl_802EDFB8 +/* 802EDFAC 002EAF0C 38 7E 00 54 */ addi r3, r30, 0x54 +/* 802EDFB0 002EAF10 38 80 00 00 */ li r4, 0 +/* 802EDFB4 002EAF14 48 05 2E 8D */ bl __dt__6CTokenFv +lbl_802EDFB8: +/* 802EDFB8 002EAF18 7F C3 F3 78 */ mr r3, r30 +/* 802EDFBC 002EAF1C 38 80 00 00 */ li r4, 0 +/* 802EDFC0 002EAF20 48 00 00 31 */ bl sub_802edff0 +/* 802EDFC4 002EAF24 7F E0 07 35 */ extsh. r0, r31 +/* 802EDFC8 002EAF28 40 81 00 0C */ ble lbl_802EDFD4 +/* 802EDFCC 002EAF2C 7F C3 F3 78 */ mr r3, r30 +/* 802EDFD0 002EAF30 48 02 79 61 */ bl Free__7CMemoryFPCv +lbl_802EDFD4: +/* 802EDFD4 002EAF34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EDFD8 002EAF38 7F C3 F3 78 */ mr r3, r30 +/* 802EDFDC 002EAF3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EDFE0 002EAF40 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EDFE4 002EAF44 7C 08 03 A6 */ mtlr r0 +/* 802EDFE8 002EAF48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EDFEC 002EAF4C 4E 80 00 20 */ blr + +.global sub_802edff0 +sub_802edff0: +/* 802EDFF0 002EAF50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EDFF4 002EAF54 7C 08 02 A6 */ mflr r0 +/* 802EDFF8 002EAF58 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EDFFC 002EAF5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EE000 002EAF60 7C 9F 23 78 */ mr r31, r4 +/* 802EE004 002EAF64 93 C1 00 08 */ stw r30, 8(r1) +/* 802EE008 002EAF68 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802EE00C 002EAF6C 41 82 00 78 */ beq lbl_802EE084 +/* 802EE010 002EAF70 3C 80 80 3F */ lis r4, lbl_803ED008@ha +/* 802EE014 002EAF74 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802EE018 002EAF78 38 04 D0 08 */ addi r0, r4, lbl_803ED008@l +/* 802EE01C 002EAF7C 38 80 FF FF */ li r4, -1 +/* 802EE020 002EAF80 90 1E 00 00 */ stw r0, 0(r30) +/* 802EE024 002EAF84 48 00 02 25 */ bl "__dt__Q24rstl159vector,Q24rstl17rmemory_allocator>,Q213CParticleData13EParentedMode>,Q24rstl17rmemory_allocator>Fv" +/* 802EE028 002EAF88 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802EE02C 002EAF8C 38 80 FF FF */ li r4, -1 +/* 802EE030 002EAF90 48 00 01 69 */ bl "__dt__Q24rstl127vector,Q24rstl17rmemory_allocator>,i>,Q24rstl17rmemory_allocator>Fv" +/* 802EE034 002EAF94 38 7E 00 24 */ addi r3, r30, 0x24 +/* 802EE038 002EAF98 38 80 FF FF */ li r4, -1 +/* 802EE03C 002EAF9C 48 00 00 AD */ bl "__dt__Q24rstl127vector,Q24rstl17rmemory_allocator>,b>,Q24rstl17rmemory_allocator>Fv" +/* 802EE040 002EAFA0 34 1E 00 04 */ addic. r0, r30, 4 +/* 802EE044 002EAFA4 41 82 00 24 */ beq lbl_802EE068 +/* 802EE048 002EAFA8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802EE04C 002EAFAC 28 03 00 00 */ cmplwi r3, 0 +/* 802EE050 002EAFB0 41 82 00 18 */ beq lbl_802EE068 +/* 802EE054 002EAFB4 81 83 00 00 */ lwz r12, 0(r3) +/* 802EE058 002EAFB8 38 80 00 01 */ li r4, 1 +/* 802EE05C 002EAFBC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802EE060 002EAFC0 7D 89 03 A6 */ mtctr r12 +/* 802EE064 002EAFC4 4E 80 04 21 */ bctrl +lbl_802EE068: +/* 802EE068 002EAFC8 7F C3 F3 78 */ mr r3, r30 +/* 802EE06C 002EAFCC 38 80 00 00 */ li r4, 0 +/* 802EE070 002EAFD0 48 00 FE 65 */ bl __dt__11IAnimReaderFv +/* 802EE074 002EAFD4 7F E0 07 35 */ extsh. r0, r31 +/* 802EE078 002EAFD8 40 81 00 0C */ ble lbl_802EE084 +/* 802EE07C 002EAFDC 7F C3 F3 78 */ mr r3, r30 +/* 802EE080 002EAFE0 48 02 78 B1 */ bl Free__7CMemoryFPCv +lbl_802EE084: +/* 802EE084 002EAFE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EE088 002EAFE8 7F C3 F3 78 */ mr r3, r30 +/* 802EE08C 002EAFEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EE090 002EAFF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EE094 002EAFF4 7C 08 03 A6 */ mtlr r0 +/* 802EE098 002EAFF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EE09C 002EAFFC 4E 80 00 20 */ blr + +.global sub_802ee0a0 +sub_802ee0a0: +/* 802EE0A0 002EB000 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EE0A4 002EB004 7C 08 02 A6 */ mflr r0 +/* 802EE0A8 002EB008 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EE0AC 002EB00C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EE0B0 002EB010 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802EE0B4 002EB014 41 82 00 1C */ beq lbl_802EE0D0 +/* 802EE0B8 002EB018 3C A0 80 3F */ lis r5, lbl_803ECFE4@ha +/* 802EE0BC 002EB01C 7C 80 07 35 */ extsh. r0, r4 +/* 802EE0C0 002EB020 38 05 CF E4 */ addi r0, r5, lbl_803ECFE4@l +/* 802EE0C4 002EB024 90 1F 00 00 */ stw r0, 0(r31) +/* 802EE0C8 002EB028 40 81 00 08 */ ble lbl_802EE0D0 +/* 802EE0CC 002EB02C 48 02 78 65 */ bl Free__7CMemoryFPCv +lbl_802EE0D0: +/* 802EE0D0 002EB030 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EE0D4 002EB034 7F E3 FB 78 */ mr r3, r31 +/* 802EE0D8 002EB038 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EE0DC 002EB03C 7C 08 03 A6 */ mtlr r0 +/* 802EE0E0 002EB040 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EE0E4 002EB044 4E 80 00 20 */ blr + +.global "__dt__Q24rstl127vector,Q24rstl17rmemory_allocator>,b>,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl127vector,Q24rstl17rmemory_allocator>,b>,Q24rstl17rmemory_allocator>Fv": +/* 802EE0E8 002EB048 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EE0EC 002EB04C 7C 08 02 A6 */ mflr r0 +/* 802EE0F0 002EB050 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EE0F4 002EB054 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802EE0F8 002EB058 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EE0FC 002EB05C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EE100 002EB060 7C 9D 23 78 */ mr r29, r4 +/* 802EE104 002EB064 93 81 00 20 */ stw r28, 0x20(r1) +/* 802EE108 002EB068 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802EE10C 002EB06C 41 82 00 68 */ beq lbl_802EE174 +/* 802EE110 002EB070 80 1C 00 04 */ lwz r0, 4(r28) +/* 802EE114 002EB074 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802EE118 002EB078 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802EE11C 002EB07C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802EE120 002EB080 7F FE 02 14 */ add r31, r30, r0 +/* 802EE124 002EB084 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802EE128 002EB088 93 E1 00 08 */ stw r31, 8(r1) +/* 802EE12C 002EB08C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EE130 002EB090 48 00 00 1C */ b lbl_802EE14C +lbl_802EE134: +/* 802EE134 002EB094 28 1E 00 00 */ cmplwi r30, 0 +/* 802EE138 002EB098 41 82 00 10 */ beq lbl_802EE148 +/* 802EE13C 002EB09C 41 82 00 0C */ beq lbl_802EE148 +/* 802EE140 002EB0A0 7F C3 F3 78 */ mr r3, r30 +/* 802EE144 002EB0A4 48 04 F9 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EE148: +/* 802EE148 002EB0A8 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802EE14C: +/* 802EE14C 002EB0AC 7C 1E F8 40 */ cmplw r30, r31 +/* 802EE150 002EB0B0 40 82 FF E4 */ bne lbl_802EE134 +/* 802EE154 002EB0B4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802EE158 002EB0B8 28 03 00 00 */ cmplwi r3, 0 +/* 802EE15C 002EB0BC 41 82 00 08 */ beq lbl_802EE164 +/* 802EE160 002EB0C0 48 02 77 D1 */ bl Free__7CMemoryFPCv +lbl_802EE164: +/* 802EE164 002EB0C4 7F A0 07 35 */ extsh. r0, r29 +/* 802EE168 002EB0C8 40 81 00 0C */ ble lbl_802EE174 +/* 802EE16C 002EB0CC 7F 83 E3 78 */ mr r3, r28 +/* 802EE170 002EB0D0 48 02 77 C1 */ bl Free__7CMemoryFPCv +lbl_802EE174: +/* 802EE174 002EB0D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802EE178 002EB0D8 7F 83 E3 78 */ mr r3, r28 +/* 802EE17C 002EB0DC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802EE180 002EB0E0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802EE184 002EB0E4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802EE188 002EB0E8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802EE18C 002EB0EC 7C 08 03 A6 */ mtlr r0 +/* 802EE190 002EB0F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802EE194 002EB0F4 4E 80 00 20 */ blr + +.global "__dt__Q24rstl127vector,Q24rstl17rmemory_allocator>,i>,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl127vector,Q24rstl17rmemory_allocator>,i>,Q24rstl17rmemory_allocator>Fv": +/* 802EE198 002EB0F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EE19C 002EB0FC 7C 08 02 A6 */ mflr r0 +/* 802EE1A0 002EB100 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EE1A4 002EB104 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802EE1A8 002EB108 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EE1AC 002EB10C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EE1B0 002EB110 7C 9D 23 78 */ mr r29, r4 +/* 802EE1B4 002EB114 93 81 00 20 */ stw r28, 0x20(r1) +/* 802EE1B8 002EB118 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802EE1BC 002EB11C 41 82 00 68 */ beq lbl_802EE224 +/* 802EE1C0 002EB120 80 1C 00 04 */ lwz r0, 4(r28) +/* 802EE1C4 002EB124 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802EE1C8 002EB128 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802EE1CC 002EB12C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802EE1D0 002EB130 7F FE 02 14 */ add r31, r30, r0 +/* 802EE1D4 002EB134 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802EE1D8 002EB138 93 E1 00 08 */ stw r31, 8(r1) +/* 802EE1DC 002EB13C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EE1E0 002EB140 48 00 00 1C */ b lbl_802EE1FC +lbl_802EE1E4: +/* 802EE1E4 002EB144 28 1E 00 00 */ cmplwi r30, 0 +/* 802EE1E8 002EB148 41 82 00 10 */ beq lbl_802EE1F8 +/* 802EE1EC 002EB14C 41 82 00 0C */ beq lbl_802EE1F8 +/* 802EE1F0 002EB150 7F C3 F3 78 */ mr r3, r30 +/* 802EE1F4 002EB154 48 04 F8 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EE1F8: +/* 802EE1F8 002EB158 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802EE1FC: +/* 802EE1FC 002EB15C 7C 1E F8 40 */ cmplw r30, r31 +/* 802EE200 002EB160 40 82 FF E4 */ bne lbl_802EE1E4 +/* 802EE204 002EB164 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802EE208 002EB168 28 03 00 00 */ cmplwi r3, 0 +/* 802EE20C 002EB16C 41 82 00 08 */ beq lbl_802EE214 +/* 802EE210 002EB170 48 02 77 21 */ bl Free__7CMemoryFPCv +lbl_802EE214: +/* 802EE214 002EB174 7F A0 07 35 */ extsh. r0, r29 +/* 802EE218 002EB178 40 81 00 0C */ ble lbl_802EE224 +/* 802EE21C 002EB17C 7F 83 E3 78 */ mr r3, r28 +/* 802EE220 002EB180 48 02 77 11 */ bl Free__7CMemoryFPCv +lbl_802EE224: +/* 802EE224 002EB184 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802EE228 002EB188 7F 83 E3 78 */ mr r3, r28 +/* 802EE22C 002EB18C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802EE230 002EB190 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802EE234 002EB194 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802EE238 002EB198 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802EE23C 002EB19C 7C 08 03 A6 */ mtlr r0 +/* 802EE240 002EB1A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802EE244 002EB1A4 4E 80 00 20 */ blr + +.global "__dt__Q24rstl159vector,Q24rstl17rmemory_allocator>,Q213CParticleData13EParentedMode>,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl159vector,Q24rstl17rmemory_allocator>,Q213CParticleData13EParentedMode>,Q24rstl17rmemory_allocator>Fv": +/* 802EE248 002EB1A8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EE24C 002EB1AC 7C 08 02 A6 */ mflr r0 +/* 802EE250 002EB1B0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EE254 002EB1B4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802EE258 002EB1B8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802EE25C 002EB1BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802EE260 002EB1C0 7C 9D 23 78 */ mr r29, r4 +/* 802EE264 002EB1C4 93 81 00 20 */ stw r28, 0x20(r1) +/* 802EE268 002EB1C8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802EE26C 002EB1CC 41 82 00 68 */ beq lbl_802EE2D4 +/* 802EE270 002EB1D0 80 1C 00 04 */ lwz r0, 4(r28) +/* 802EE274 002EB1D4 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802EE278 002EB1D8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802EE27C 002EB1DC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802EE280 002EB1E0 7F FE 02 14 */ add r31, r30, r0 +/* 802EE284 002EB1E4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802EE288 002EB1E8 93 E1 00 08 */ stw r31, 8(r1) +/* 802EE28C 002EB1EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EE290 002EB1F0 48 00 00 1C */ b lbl_802EE2AC +lbl_802EE294: +/* 802EE294 002EB1F4 28 1E 00 00 */ cmplwi r30, 0 +/* 802EE298 002EB1F8 41 82 00 10 */ beq lbl_802EE2A8 +/* 802EE29C 002EB1FC 41 82 00 0C */ beq lbl_802EE2A8 +/* 802EE2A0 002EB200 7F C3 F3 78 */ mr r3, r30 +/* 802EE2A4 002EB204 48 04 F8 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EE2A8: +/* 802EE2A8 002EB208 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802EE2AC: +/* 802EE2AC 002EB20C 7C 1E F8 40 */ cmplw r30, r31 +/* 802EE2B0 002EB210 40 82 FF E4 */ bne lbl_802EE294 +/* 802EE2B4 002EB214 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802EE2B8 002EB218 28 03 00 00 */ cmplwi r3, 0 +/* 802EE2BC 002EB21C 41 82 00 08 */ beq lbl_802EE2C4 +/* 802EE2C0 002EB220 48 02 76 71 */ bl Free__7CMemoryFPCv +lbl_802EE2C4: +/* 802EE2C4 002EB224 7F A0 07 35 */ extsh. r0, r29 +/* 802EE2C8 002EB228 40 81 00 0C */ ble lbl_802EE2D4 +/* 802EE2CC 002EB22C 7F 83 E3 78 */ mr r3, r28 +/* 802EE2D0 002EB230 48 02 76 61 */ bl Free__7CMemoryFPCv +lbl_802EE2D4: +/* 802EE2D4 002EB234 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802EE2D8 002EB238 7F 83 E3 78 */ mr r3, r28 +/* 802EE2DC 002EB23C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802EE2E0 002EB240 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802EE2E4 002EB244 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802EE2E8 002EB248 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802EE2EC 002EB24C 7C 08 03 A6 */ mtlr r0 +/* 802EE2F0 002EB250 38 21 00 30 */ addi r1, r1, 0x30 +/* 802EE2F4 002EB254 4E 80 00 20 */ blr + +.global VGetAdvancementResults__17CAnimSourceReaderCFRC13CCharAnimTimeRC13CCharAnimTime +VGetAdvancementResults__17CAnimSourceReaderCFRC13CCharAnimTimeRC13CCharAnimTime: +/* 802EE2F8 002EB258 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 802EE2FC 002EB25C 7C 08 02 A6 */ mflr r0 +/* 802EE300 002EB260 90 01 01 94 */ stw r0, 0x194(r1) +/* 802EE304 002EB264 DB E1 01 80 */ stfd f31, 0x180(r1) +/* 802EE308 002EB268 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 802EE30C 002EB26C DB C1 01 70 */ stfd f30, 0x170(r1) +/* 802EE310 002EB270 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 802EE314 002EB274 DB A1 01 60 */ stfd f29, 0x160(r1) +/* 802EE318 002EB278 F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 +/* 802EE31C 002EB27C DB 81 01 50 */ stfd f28, 0x150(r1) +/* 802EE320 002EB280 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 +/* 802EE324 002EB284 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 802EE328 002EB288 93 C1 01 48 */ stw r30, 0x148(r1) +/* 802EE32C 002EB28C 93 A1 01 44 */ stw r29, 0x144(r1) +/* 802EE330 002EB290 93 81 01 40 */ stw r28, 0x140(r1) +/* 802EE334 002EB294 7C 9C 23 78 */ mr r28, r4 +/* 802EE338 002EB298 7C DE 33 78 */ mr r30, r6 +/* 802EE33C 002EB29C 7C 7F 1B 78 */ mr r31, r3 +/* 802EE340 002EB2A0 7C BD 2B 78 */ mr r29, r5 +/* 802EE344 002EB2A4 7F C5 F3 78 */ mr r5, r30 +/* 802EE348 002EB2A8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802EE34C 002EB2AC 38 9C 00 0C */ addi r4, r28, 0xc +/* 802EE350 002EB2B0 48 05 A2 55 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EE354 002EB2B4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802EE358 002EB2B8 7F C5 F3 78 */ mr r5, r30 +/* 802EE35C 002EB2BC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802EE360 002EB2C0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802EE364 002EB2C4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802EE368 002EB2C8 38 9C 00 0C */ addi r4, r28, 0xc +/* 802EE36C 002EB2CC 90 01 00 48 */ stw r0, 0x48(r1) +/* 802EE370 002EB2D0 48 05 A2 35 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EE374 002EB2D4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802EE378 002EB2D8 38 61 00 44 */ addi r3, r1, 0x44 +/* 802EE37C 002EB2DC 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802EE380 002EB2E0 83 DC 00 60 */ lwz r30, 0x60(r28) +/* 802EE384 002EB2E4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802EE388 002EB2E8 7F C4 F3 78 */ mr r4, r30 +/* 802EE38C 002EB2EC 90 01 00 40 */ stw r0, 0x40(r1) +/* 802EE390 002EB2F0 48 05 A0 AD */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EE394 002EB2F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE398 002EB2F8 41 82 00 58 */ beq lbl_802EE3F0 +/* 802EE39C 002EB2FC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802EE3A0 002EB300 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802EE3A4 002EB304 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802EE3A8 002EB308 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802EE3AC 002EB30C C0 1D 00 00 */ lfs f0, 0(r29) +/* 802EE3B0 002EB310 C0 44 00 04 */ lfs f2, 4(r4) +/* 802EE3B4 002EB314 C0 64 00 08 */ lfs f3, 8(r4) +/* 802EE3B8 002EB318 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802EE3BC 002EB31C C0 C3 00 08 */ lfs f6, 8(r3) +/* 802EE3C0 002EB320 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802EE3C4 002EB324 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802EE3C8 002EB328 80 1D 00 04 */ lwz r0, 4(r29) +/* 802EE3CC 002EB32C 90 1F 00 04 */ stw r0, 4(r31) +/* 802EE3D0 002EB330 D0 3F 00 08 */ stfs f1, 8(r31) +/* 802EE3D4 002EB334 D0 5F 00 0C */ stfs f2, 0xc(r31) +/* 802EE3D8 002EB338 D0 7F 00 10 */ stfs f3, 0x10(r31) +/* 802EE3DC 002EB33C D0 9F 00 14 */ stfs f4, 0x14(r31) +/* 802EE3E0 002EB340 D0 BF 00 18 */ stfs f5, 0x18(r31) +/* 802EE3E4 002EB344 D0 DF 00 1C */ stfs f6, 0x1c(r31) +/* 802EE3E8 002EB348 D0 FF 00 20 */ stfs f7, 0x20(r31) +/* 802EE3EC 002EB34C 48 00 02 A0 */ b lbl_802EE68C +lbl_802EE3F0: +/* 802EE3F0 002EB350 7F A3 EB 78 */ mr r3, r29 +/* 802EE3F4 002EB354 48 05 9F BD */ bl EqualsZero__13CCharAnimTimeCFv +/* 802EE3F8 002EB358 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE3FC 002EB35C 41 82 00 5C */ beq lbl_802EE458 +/* 802EE400 002EB360 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802EE404 002EB364 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802EE408 002EB368 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802EE40C 002EB36C C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802EE410 002EB370 80 0D 9B C8 */ lwz r0, lbl_805A8788@sda21(r13) +/* 802EE414 002EB374 C0 44 00 04 */ lfs f2, 4(r4) +/* 802EE418 002EB378 C0 64 00 08 */ lfs f3, 8(r4) +/* 802EE41C 002EB37C C0 A3 00 04 */ lfs f5, 4(r3) +/* 802EE420 002EB380 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802EE424 002EB384 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802EE428 002EB388 C0 0D 9B CC */ lfs f0, lbl_805A878C@sda21(r13) +/* 802EE42C 002EB38C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802EE430 002EB390 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802EE434 002EB394 90 1F 00 04 */ stw r0, 4(r31) +/* 802EE438 002EB398 D0 3F 00 08 */ stfs f1, 8(r31) +/* 802EE43C 002EB39C D0 5F 00 0C */ stfs f2, 0xc(r31) +/* 802EE440 002EB3A0 D0 7F 00 10 */ stfs f3, 0x10(r31) +/* 802EE444 002EB3A4 D0 9F 00 14 */ stfs f4, 0x14(r31) +/* 802EE448 002EB3A8 D0 BF 00 18 */ stfs f5, 0x18(r31) +/* 802EE44C 002EB3AC D0 DF 00 1C */ stfs f6, 0x1c(r31) +/* 802EE450 002EB3B0 D0 FF 00 20 */ stfs f7, 0x20(r31) +/* 802EE454 002EB3B4 48 00 02 38 */ b lbl_802EE68C +lbl_802EE458: +/* 802EE458 002EB3B8 7F A4 EB 78 */ mr r4, r29 +/* 802EE45C 002EB3BC 38 61 00 3C */ addi r3, r1, 0x3c +/* 802EE460 002EB3C0 48 05 A0 F9 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802EE464 002EB3C4 80 0D 9B C8 */ lwz r0, lbl_805A8788@sda21(r13) +/* 802EE468 002EB3C8 7F C4 F3 78 */ mr r4, r30 +/* 802EE46C 002EB3CC C3 ED 9B CC */ lfs f31, lbl_805A878C@sda21(r13) +/* 802EE470 002EB3D0 38 61 00 3C */ addi r3, r1, 0x3c +/* 802EE474 002EB3D4 90 01 00 18 */ stw r0, 0x18(r1) +/* 802EE478 002EB3D8 90 01 00 38 */ stw r0, 0x38(r1) +/* 802EE47C 002EB3DC 48 05 A5 F1 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EE480 002EB3E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE484 002EB3E4 41 82 00 30 */ beq lbl_802EE4B4 +/* 802EE488 002EB3E8 7F C5 F3 78 */ mr r5, r30 +/* 802EE48C 002EB3EC 38 61 00 0C */ addi r3, r1, 0xc +/* 802EE490 002EB3F0 38 81 00 3C */ addi r4, r1, 0x3c +/* 802EE494 002EB3F4 48 05 A2 D1 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EE498 002EB3F8 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802EE49C 002EB3FC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802EE4A0 002EB400 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802EE4A4 002EB404 C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 802EE4A8 002EB408 80 1E 00 04 */ lwz r0, 4(r30) +/* 802EE4AC 002EB40C 90 61 00 38 */ stw r3, 0x38(r1) +/* 802EE4B0 002EB410 90 01 00 40 */ stw r0, 0x40(r1) +lbl_802EE4B4: +/* 802EE4B4 002EB414 C0 02 C6 78 */ lfs f0, lbl_805AE398@sda21(r2) +/* 802EE4B8 002EB418 38 00 00 03 */ li r0, 3 +/* 802EE4BC 002EB41C 98 01 00 08 */ stb r0, 8(r1) +/* 802EE4C0 002EB420 38 61 00 90 */ addi r3, r1, 0x90 +/* 802EE4C4 002EB424 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 802EE4C8 002EB428 38 A1 00 08 */ addi r5, r1, 8 +/* 802EE4CC 002EB42C D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 802EE4D0 002EB430 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802EE4D4 002EB434 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802EE4D8 002EB438 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802EE4DC 002EB43C 4B FF E8 49 */ bl GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EE4E0 002EB440 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802EE4E4 002EB444 38 61 00 80 */ addi r3, r1, 0x80 +/* 802EE4E8 002EB448 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802EE4EC 002EB44C 38 A1 00 08 */ addi r5, r1, 8 +/* 802EE4F0 002EB450 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 802EE4F4 002EB454 38 C1 00 3C */ addi r6, r1, 0x3c +/* 802EE4F8 002EB458 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802EE4FC 002EB45C D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802EE500 002EB460 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 802EE504 002EB464 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802EE508 002EB468 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802EE50C 002EB46C D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 802EE510 002EB470 4B FF E8 15 */ bl GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EE514 002EB474 C0 41 00 DC */ lfs f2, 0xdc(r1) +/* 802EE518 002EB478 38 81 00 08 */ addi r4, r1, 8 +/* 802EE51C 002EB47C C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 802EE520 002EB480 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 802EE524 002EB484 FC E0 10 50 */ fneg f7, f2 +/* 802EE528 002EB488 FC C0 08 50 */ fneg f6, f1 +/* 802EE52C 002EB48C C0 81 00 80 */ lfs f4, 0x80(r1) +/* 802EE530 002EB490 FC A0 00 50 */ fneg f5, f0 +/* 802EE534 002EB494 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802EE538 002EB498 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802EE53C 002EB49C C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 802EE540 002EB4A0 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 802EE544 002EB4A4 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 802EE548 002EB4A8 80 7C 00 60 */ lwz r3, 0x60(r28) +/* 802EE54C 002EB4AC D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 802EE550 002EB4B0 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 802EE554 002EB4B4 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 802EE558 002EB4B8 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802EE55C 002EB4BC D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 802EE560 002EB4C0 D0 C1 00 B8 */ stfs f6, 0xb8(r1) +/* 802EE564 002EB4C4 D0 E1 00 BC */ stfs f7, 0xbc(r1) +/* 802EE568 002EB4C8 4B FF EA D9 */ bl HasOffset__11CAnimSourceCFRC6CSegId +/* 802EE56C 002EB4CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE570 002EB4D0 41 82 00 C8 */ beq lbl_802EE638 +/* 802EE574 002EB4D4 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 802EE578 002EB4D8 38 61 00 74 */ addi r3, r1, 0x74 +/* 802EE57C 002EB4DC 38 A1 00 08 */ addi r5, r1, 8 +/* 802EE580 002EB4E0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802EE584 002EB4E4 4B FF E9 09 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EE588 002EB4E8 C3 C1 00 74 */ lfs f30, 0x74(r1) +/* 802EE58C 002EB4EC 38 61 00 68 */ addi r3, r1, 0x68 +/* 802EE590 002EB4F0 C3 A1 00 78 */ lfs f29, 0x78(r1) +/* 802EE594 002EB4F4 38 A1 00 08 */ addi r5, r1, 8 +/* 802EE598 002EB4F8 C3 81 00 7C */ lfs f28, 0x7c(r1) +/* 802EE59C 002EB4FC 38 C1 00 3C */ addi r6, r1, 0x3c +/* 802EE5A0 002EB500 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 802EE5A4 002EB504 4B FF E8 E9 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EE5A8 002EB508 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802EE5AC 002EB50C 38 61 00 EC */ addi r3, r1, 0xec +/* 802EE5B0 002EB510 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802EE5B4 002EB514 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802EE5B8 002EB518 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802EE5BC 002EB51C EC A0 E0 28 */ fsubs f5, f0, f28 +/* 802EE5C0 002EB520 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 802EE5C4 002EB524 EC 82 F0 28 */ fsubs f4, f2, f30 +/* 802EE5C8 002EB528 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802EE5CC 002EB52C EC 61 E8 28 */ fsubs f3, f1, f29 +/* 802EE5D0 002EB530 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 802EE5D4 002EB534 FC C0 00 50 */ fneg f6, f0 +/* 802EE5D8 002EB538 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 802EE5DC 002EB53C FC 40 10 50 */ fneg f2, f2 +/* 802EE5E0 002EB540 D0 81 00 E0 */ stfs f4, 0xe0(r1) +/* 802EE5E4 002EB544 FC 20 08 50 */ fneg f1, f1 +/* 802EE5E8 002EB548 D0 61 00 E4 */ stfs f3, 0xe4(r1) +/* 802EE5EC 002EB54C D0 A1 00 E8 */ stfs f5, 0xe8(r1) +/* 802EE5F0 002EB550 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802EE5F4 002EB554 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802EE5F8 002EB558 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 802EE5FC 002EB55C D0 C1 00 AC */ stfs f6, 0xac(r1) +/* 802EE600 002EB560 48 02 3A 8D */ bl BuildTransform__11CQuaternionCFv +/* 802EE604 002EB564 38 61 01 10 */ addi r3, r1, 0x110 +/* 802EE608 002EB568 38 81 00 EC */ addi r4, r1, 0xec +/* 802EE60C 002EB56C 48 02 1A 19 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 802EE610 002EB570 38 61 00 5C */ addi r3, r1, 0x5c +/* 802EE614 002EB574 38 81 01 10 */ addi r4, r1, 0x110 +/* 802EE618 002EB578 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 802EE61C 002EB57C 48 02 1C 79 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802EE620 002EB580 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 802EE624 002EB584 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802EE628 002EB588 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802EE62C 002EB58C D0 41 00 E0 */ stfs f2, 0xe0(r1) +/* 802EE630 002EB590 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 802EE634 002EB594 D0 01 00 E8 */ stfs f0, 0xe8(r1) +lbl_802EE638: +/* 802EE638 002EB598 38 61 00 4C */ addi r3, r1, 0x4c +/* 802EE63C 002EB59C 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802EE640 002EB5A0 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 802EE644 002EB5A4 48 02 2B 5D */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802EE648 002EB5A8 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802EE64C 002EB5AC C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 802EE650 002EB5B0 C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 802EE654 002EB5B4 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 802EE658 002EB5B8 C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802EE65C 002EB5BC C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 802EE660 002EB5C0 C0 C1 00 58 */ lfs f6, 0x58(r1) +/* 802EE664 002EB5C4 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802EE668 002EB5C8 D3 FF 00 00 */ stfs f31, 0(r31) +/* 802EE66C 002EB5CC 90 1F 00 04 */ stw r0, 4(r31) +/* 802EE670 002EB5D0 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802EE674 002EB5D4 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 802EE678 002EB5D8 D0 5F 00 10 */ stfs f2, 0x10(r31) +/* 802EE67C 002EB5DC D0 7F 00 14 */ stfs f3, 0x14(r31) +/* 802EE680 002EB5E0 D0 9F 00 18 */ stfs f4, 0x18(r31) +/* 802EE684 002EB5E4 D0 BF 00 1C */ stfs f5, 0x1c(r31) +/* 802EE688 002EB5E8 D0 DF 00 20 */ stfs f6, 0x20(r31) +lbl_802EE68C: +/* 802EE68C 002EB5EC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 802EE690 002EB5F0 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 802EE694 002EB5F4 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 802EE698 002EB5F8 CB C1 01 70 */ lfd f30, 0x170(r1) +/* 802EE69C 002EB5FC E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 +/* 802EE6A0 002EB600 CB A1 01 60 */ lfd f29, 0x160(r1) +/* 802EE6A4 002EB604 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 +/* 802EE6A8 002EB608 CB 81 01 50 */ lfd f28, 0x150(r1) +/* 802EE6AC 002EB60C 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 802EE6B0 002EB610 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 802EE6B4 002EB614 83 A1 01 44 */ lwz r29, 0x144(r1) +/* 802EE6B8 002EB618 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802EE6BC 002EB61C 83 81 01 40 */ lwz r28, 0x140(r1) +/* 802EE6C0 002EB620 7C 08 03 A6 */ mtlr r0 +/* 802EE6C4 002EB624 38 21 01 90 */ addi r1, r1, 0x190 +/* 802EE6C8 002EB628 4E 80 00 20 */ blr + +.global VSupportsReverseView__17CAnimSourceReaderCFv +VSupportsReverseView__17CAnimSourceReaderCFv: +/* 802EE6CC 002EB62C 38 60 00 01 */ li r3, 1 +/* 802EE6D0 002EB630 4E 80 00 20 */ blr + +.global VSetPhase__17CAnimSourceReaderFf +VSetPhase__17CAnimSourceReaderFf: +/* 802EE6D4 002EB634 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EE6D8 002EB638 7C 08 02 A6 */ mflr r0 +/* 802EE6DC 002EB63C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802EE6E0 002EB640 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802EE6E4 002EB644 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802EE6E8 002EB648 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802EE6EC 002EB64C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802EE6F0 002EB650 7C 7E 1B 78 */ mr r30, r3 +/* 802EE6F4 002EB654 FF E0 08 90 */ fmr f31, f1 +/* 802EE6F8 002EB658 83 E3 00 60 */ lwz r31, 0x60(r3) +/* 802EE6FC 002EB65C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802EE700 002EB660 38 A1 00 08 */ addi r5, r1, 8 +/* 802EE704 002EB664 38 DE 00 0C */ addi r6, r30, 0xc +/* 802EE708 002EB668 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 802EE70C 002EB66C 7F E4 FB 78 */ mr r4, r31 +/* 802EE710 002EB670 98 01 00 08 */ stb r0, 8(r1) +/* 802EE714 002EB674 4B FF E7 79 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EE718 002EB678 C0 9F 00 00 */ lfs f4, 0(r31) +/* 802EE71C 002EB67C 38 00 00 00 */ li r0, 0 +/* 802EE720 002EB680 80 9F 00 04 */ lwz r4, 4(r31) +/* 802EE724 002EB684 38 61 00 0C */ addi r3, r1, 0xc +/* 802EE728 002EB688 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802EE72C 002EB68C EC 3F 01 32 */ fmuls f1, f31, f4 +/* 802EE730 002EB690 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 802EE734 002EB694 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802EE738 002EB698 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802EE73C 002EB69C 90 81 00 24 */ stw r4, 0x24(r1) +/* 802EE740 002EB6A0 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802EE744 002EB6A4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802EE748 002EB6A8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802EE74C 002EB6AC 98 01 00 34 */ stb r0, 0x34(r1) +/* 802EE750 002EB6B0 48 05 A6 9D */ bl __ct__13CCharAnimTimeFf +/* 802EE754 002EB6B4 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802EE758 002EB6B8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802EE75C 002EB6BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802EE760 002EB6C0 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802EE764 002EB6C4 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 802EE768 002EB6C8 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802EE76C 002EB6CC 28 00 00 00 */ cmplwi r0, 0 +/* 802EE770 002EB6D0 41 82 00 30 */ beq lbl_802EE7A0 +/* 802EE774 002EB6D4 7F C3 F3 78 */ mr r3, r30 +/* 802EE778 002EB6D8 48 00 1E 2D */ bl UpdatePOIStates__21CAnimSourceReaderBaseFv +/* 802EE77C 002EB6DC 38 7E 00 0C */ addi r3, r30, 0xc +/* 802EE780 002EB6E0 48 05 9C 6D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802EE784 002EB6E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE788 002EB6E8 40 82 00 18 */ bne lbl_802EE7A0 +/* 802EE78C 002EB6EC 38 00 00 00 */ li r0, 0 +/* 802EE790 002EB6F0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802EE794 002EB6F4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802EE798 002EB6F8 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802EE79C 002EB6FC 90 1E 00 20 */ stw r0, 0x20(r30) +lbl_802EE7A0: +/* 802EE7A0 002EB700 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802EE7A4 002EB704 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EE7A8 002EB708 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802EE7AC 002EB70C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802EE7B0 002EB710 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802EE7B4 002EB714 7C 08 03 A6 */ mtlr r0 +/* 802EE7B8 002EB718 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EE7BC 002EB71C 4E 80 00 20 */ blr + +.global VReverseView__17CAnimSourceReaderFRC13CCharAnimTime +VReverseView__17CAnimSourceReaderFRC13CCharAnimTime: +/* 802EE7C0 002EB720 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 802EE7C4 002EB724 7C 08 02 A6 */ mflr r0 +/* 802EE7C8 002EB728 90 01 01 94 */ stw r0, 0x194(r1) +/* 802EE7CC 002EB72C DB E1 01 80 */ stfd f31, 0x180(r1) +/* 802EE7D0 002EB730 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 802EE7D4 002EB734 DB C1 01 70 */ stfd f30, 0x170(r1) +/* 802EE7D8 002EB738 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 802EE7DC 002EB73C DB A1 01 60 */ stfd f29, 0x160(r1) +/* 802EE7E0 002EB740 F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 +/* 802EE7E4 002EB744 DB 81 01 50 */ stfd f28, 0x150(r1) +/* 802EE7E8 002EB748 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 +/* 802EE7EC 002EB74C 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 802EE7F0 002EB750 93 C1 01 48 */ stw r30, 0x148(r1) +/* 802EE7F4 002EB754 93 A1 01 44 */ stw r29, 0x144(r1) +/* 802EE7F8 002EB758 93 81 01 40 */ stw r28, 0x140(r1) +/* 802EE7FC 002EB75C 7C 9F 23 78 */ mr r31, r4 +/* 802EE800 002EB760 7C 7E 1B 78 */ mr r30, r3 +/* 802EE804 002EB764 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802EE808 002EB768 7C BC 2B 78 */ mr r28, r5 +/* 802EE80C 002EB76C 38 61 00 44 */ addi r3, r1, 0x44 +/* 802EE810 002EB770 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802EE814 002EB774 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802EE818 002EB778 90 01 00 48 */ stw r0, 0x48(r1) +/* 802EE81C 002EB77C 83 A4 00 60 */ lwz r29, 0x60(r4) +/* 802EE820 002EB780 48 05 9B 91 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802EE824 002EB784 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE828 002EB788 41 82 00 68 */ beq lbl_802EE890 +/* 802EE82C 002EB78C C0 1D 00 00 */ lfs f0, 0(r29) +/* 802EE830 002EB790 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802EE834 002EB794 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802EE838 002EB798 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802EE83C 002EB79C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802EE840 002EB7A0 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802EE844 002EB7A4 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802EE848 002EB7A8 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802EE84C 002EB7AC C0 A3 00 04 */ lfs f5, 4(r3) +/* 802EE850 002EB7B0 C0 44 00 04 */ lfs f2, 4(r4) +/* 802EE854 002EB7B4 C0 64 00 08 */ lfs f3, 8(r4) +/* 802EE858 002EB7B8 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802EE85C 002EB7BC C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802EE860 002EB7C0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802EE864 002EB7C4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802EE868 002EB7C8 80 1C 00 04 */ lwz r0, 4(r28) +/* 802EE86C 002EB7CC 90 1E 00 04 */ stw r0, 4(r30) +/* 802EE870 002EB7D0 D0 3E 00 08 */ stfs f1, 8(r30) +/* 802EE874 002EB7D4 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 802EE878 002EB7D8 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 802EE87C 002EB7DC D0 9E 00 14 */ stfs f4, 0x14(r30) +/* 802EE880 002EB7E0 D0 BE 00 18 */ stfs f5, 0x18(r30) +/* 802EE884 002EB7E4 D0 DE 00 1C */ stfs f6, 0x1c(r30) +/* 802EE888 002EB7E8 D0 FE 00 20 */ stfs f7, 0x20(r30) +/* 802EE88C 002EB7EC 48 00 02 C4 */ b lbl_802EEB50 +lbl_802EE890: +/* 802EE890 002EB7F0 7F 83 E3 78 */ mr r3, r28 +/* 802EE894 002EB7F4 48 05 9B 1D */ bl EqualsZero__13CCharAnimTimeCFv +/* 802EE898 002EB7F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE89C 002EB7FC 41 82 00 5C */ beq lbl_802EE8F8 +/* 802EE8A0 002EB800 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802EE8A4 002EB804 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802EE8A8 002EB808 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802EE8AC 002EB80C C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802EE8B0 002EB810 80 0D 9B C8 */ lwz r0, lbl_805A8788@sda21(r13) +/* 802EE8B4 002EB814 C0 44 00 04 */ lfs f2, 4(r4) +/* 802EE8B8 002EB818 C0 64 00 08 */ lfs f3, 8(r4) +/* 802EE8BC 002EB81C C0 A3 00 04 */ lfs f5, 4(r3) +/* 802EE8C0 002EB820 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802EE8C4 002EB824 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802EE8C8 002EB828 C0 0D 9B CC */ lfs f0, lbl_805A878C@sda21(r13) +/* 802EE8CC 002EB82C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802EE8D0 002EB830 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802EE8D4 002EB834 90 1E 00 04 */ stw r0, 4(r30) +/* 802EE8D8 002EB838 D0 3E 00 08 */ stfs f1, 8(r30) +/* 802EE8DC 002EB83C D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 802EE8E0 002EB840 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 802EE8E4 002EB844 D0 9E 00 14 */ stfs f4, 0x14(r30) +/* 802EE8E8 002EB848 D0 BE 00 18 */ stfs f5, 0x18(r30) +/* 802EE8EC 002EB84C D0 DE 00 1C */ stfs f6, 0x1c(r30) +/* 802EE8F0 002EB850 D0 FE 00 20 */ stfs f7, 0x20(r30) +/* 802EE8F4 002EB854 48 00 02 5C */ b lbl_802EEB50 +lbl_802EE8F8: +/* 802EE8F8 002EB858 7F 84 E3 78 */ mr r4, r28 +/* 802EE8FC 002EB85C 38 7F 00 0C */ addi r3, r31, 0xc +/* 802EE900 002EB860 48 05 9C 0D */ bl __ami__13CCharAnimTimeFRC13CCharAnimTime +/* 802EE904 002EB864 80 0D 9B C8 */ lwz r0, lbl_805A8788@sda21(r13) +/* 802EE908 002EB868 38 61 00 24 */ addi r3, r1, 0x24 +/* 802EE90C 002EB86C C3 ED 9B CC */ lfs f31, lbl_805A878C@sda21(r13) +/* 802EE910 002EB870 90 01 00 30 */ stw r0, 0x30(r1) +/* 802EE914 002EB874 C0 22 C6 78 */ lfs f1, lbl_805AE398@sda21(r2) +/* 802EE918 002EB878 90 01 00 40 */ stw r0, 0x40(r1) +/* 802EE91C 002EB87C 48 05 A4 D1 */ bl __ct__13CCharAnimTimeFf +/* 802EE920 002EB880 7C 64 1B 78 */ mr r4, r3 +/* 802EE924 002EB884 38 7F 00 0C */ addi r3, r31, 0xc +/* 802EE928 002EB888 48 05 A3 15 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EE92C 002EB88C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EE930 002EB890 41 82 00 48 */ beq lbl_802EE978 +/* 802EE934 002EB894 C0 22 C6 78 */ lfs f1, lbl_805AE398@sda21(r2) +/* 802EE938 002EB898 38 61 00 14 */ addi r3, r1, 0x14 +/* 802EE93C 002EB89C 48 05 A4 B1 */ bl __ct__13CCharAnimTimeFf +/* 802EE940 002EB8A0 7C 64 1B 78 */ mr r4, r3 +/* 802EE944 002EB8A4 38 61 00 1C */ addi r3, r1, 0x1c +/* 802EE948 002EB8A8 38 BF 00 0C */ addi r5, r31, 0xc +/* 802EE94C 002EB8AC 48 05 9E 19 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EE950 002EB8B0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802EE954 002EB8B4 38 61 00 0C */ addi r3, r1, 0xc +/* 802EE958 002EB8B8 C3 E1 00 1C */ lfs f31, 0x1c(r1) +/* 802EE95C 002EB8BC 90 01 00 40 */ stw r0, 0x40(r1) +/* 802EE960 002EB8C0 C0 22 C6 78 */ lfs f1, lbl_805AE398@sda21(r2) +/* 802EE964 002EB8C4 48 05 A4 89 */ bl __ct__13CCharAnimTimeFf +/* 802EE968 002EB8C8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802EE96C 002EB8CC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802EE970 002EB8D0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802EE974 002EB8D4 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_802EE978: +/* 802EE978 002EB8D8 38 00 00 03 */ li r0, 3 +/* 802EE97C 002EB8DC 38 61 00 90 */ addi r3, r1, 0x90 +/* 802EE980 002EB8E0 98 01 00 08 */ stb r0, 8(r1) +/* 802EE984 002EB8E4 38 A1 00 08 */ addi r5, r1, 8 +/* 802EE988 002EB8E8 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802EE98C 002EB8EC 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EE990 002EB8F0 4B FF E3 95 */ bl GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EE994 002EB8F4 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802EE998 002EB8F8 38 61 00 80 */ addi r3, r1, 0x80 +/* 802EE99C 002EB8FC C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802EE9A0 002EB900 38 A1 00 08 */ addi r5, r1, 8 +/* 802EE9A4 002EB904 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 802EE9A8 002EB908 38 DF 00 0C */ addi r6, r31, 0xc +/* 802EE9AC 002EB90C C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802EE9B0 002EB910 D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 802EE9B4 002EB914 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EE9B8 002EB918 D0 41 00 E0 */ stfs f2, 0xe0(r1) +/* 802EE9BC 002EB91C D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 802EE9C0 002EB920 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802EE9C4 002EB924 4B FF E3 61 */ bl GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EE9C8 002EB928 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802EE9CC 002EB92C 38 81 00 08 */ addi r4, r1, 8 +/* 802EE9D0 002EB930 C0 41 00 E4 */ lfs f2, 0xe4(r1) +/* 802EE9D4 002EB934 C0 21 00 E0 */ lfs f1, 0xe0(r1) +/* 802EE9D8 002EB938 FD 00 00 50 */ fneg f8, f0 +/* 802EE9DC 002EB93C C0 02 C6 78 */ lfs f0, lbl_805AE398@sda21(r2) +/* 802EE9E0 002EB940 FC E0 10 50 */ fneg f7, f2 +/* 802EE9E4 002EB944 FC C0 08 50 */ fneg f6, f1 +/* 802EE9E8 002EB948 C0 A1 00 80 */ lfs f5, 0x80(r1) +/* 802EE9EC 002EB94C C0 81 00 84 */ lfs f4, 0x84(r1) +/* 802EE9F0 002EB950 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 802EE9F4 002EB954 C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 802EE9F8 002EB958 C0 21 00 DC */ lfs f1, 0xdc(r1) +/* 802EE9FC 002EB95C D0 A1 00 CC */ stfs f5, 0xcc(r1) +/* 802EEA00 002EB960 D0 81 00 D0 */ stfs f4, 0xd0(r1) +/* 802EEA04 002EB964 D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 802EEA08 002EB968 D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 802EEA0C 002EB96C D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 802EEA10 002EB970 D0 C1 00 C0 */ stfs f6, 0xc0(r1) +/* 802EEA14 002EB974 D0 E1 00 C4 */ stfs f7, 0xc4(r1) +/* 802EEA18 002EB978 D1 01 00 C8 */ stfs f8, 0xc8(r1) +/* 802EEA1C 002EB97C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802EEA20 002EB980 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 802EEA24 002EB984 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802EEA28 002EB988 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 802EEA2C 002EB98C 4B FF E6 15 */ bl HasOffset__11CAnimSourceCFRC6CSegId +/* 802EEA30 002EB990 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EEA34 002EB994 41 82 00 C8 */ beq lbl_802EEAFC +/* 802EEA38 002EB998 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EEA3C 002EB99C 38 61 00 74 */ addi r3, r1, 0x74 +/* 802EEA40 002EB9A0 38 A1 00 08 */ addi r5, r1, 8 +/* 802EEA44 002EB9A4 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802EEA48 002EB9A8 4B FF E4 45 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EEA4C 002EB9AC C3 C1 00 74 */ lfs f30, 0x74(r1) +/* 802EEA50 002EB9B0 38 61 00 68 */ addi r3, r1, 0x68 +/* 802EEA54 002EB9B4 C3 A1 00 78 */ lfs f29, 0x78(r1) +/* 802EEA58 002EB9B8 38 A1 00 08 */ addi r5, r1, 8 +/* 802EEA5C 002EB9BC C3 81 00 7C */ lfs f28, 0x7c(r1) +/* 802EEA60 002EB9C0 38 DF 00 0C */ addi r6, r31, 0xc +/* 802EEA64 002EB9C4 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EEA68 002EB9C8 4B FF E4 25 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EEA6C 002EB9CC C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802EEA70 002EB9D0 38 61 00 EC */ addi r3, r1, 0xec +/* 802EEA74 002EB9D4 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802EEA78 002EB9D8 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802EEA7C 002EB9DC C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802EEA80 002EB9E0 EC A0 E0 28 */ fsubs f5, f0, f28 +/* 802EEA84 002EB9E4 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 802EEA88 002EB9E8 EC 82 F0 28 */ fsubs f4, f2, f30 +/* 802EEA8C 002EB9EC C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 802EEA90 002EB9F0 EC 61 E8 28 */ fsubs f3, f1, f29 +/* 802EEA94 002EB9F4 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 802EEA98 002EB9F8 FC C0 00 50 */ fneg f6, f0 +/* 802EEA9C 002EB9FC C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 802EEAA0 002EBA00 FC 40 10 50 */ fneg f2, f2 +/* 802EEAA4 002EBA04 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 802EEAA8 002EBA08 FC 20 08 50 */ fneg f1, f1 +/* 802EEAAC 002EBA0C D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 802EEAB0 002EBA10 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 802EEAB4 002EBA14 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802EEAB8 002EBA18 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802EEABC 002EBA1C D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 802EEAC0 002EBA20 D0 C1 00 AC */ stfs f6, 0xac(r1) +/* 802EEAC4 002EBA24 48 02 35 C9 */ bl BuildTransform__11CQuaternionCFv +/* 802EEAC8 002EBA28 38 61 01 10 */ addi r3, r1, 0x110 +/* 802EEACC 002EBA2C 38 81 00 EC */ addi r4, r1, 0xec +/* 802EEAD0 002EBA30 48 02 15 55 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 802EEAD4 002EBA34 38 61 00 5C */ addi r3, r1, 0x5c +/* 802EEAD8 002EBA38 38 81 01 10 */ addi r4, r1, 0x110 +/* 802EEADC 002EBA3C 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 802EEAE0 002EBA40 48 02 17 B5 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802EEAE4 002EBA44 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 802EEAE8 002EBA48 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802EEAEC 002EBA4C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802EEAF0 002EBA50 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 802EEAF4 002EBA54 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 802EEAF8 002EBA58 D0 01 00 B8 */ stfs f0, 0xb8(r1) +lbl_802EEAFC: +/* 802EEAFC 002EBA5C 38 61 00 4C */ addi r3, r1, 0x4c +/* 802EEB00 002EBA60 38 81 00 CC */ addi r4, r1, 0xcc +/* 802EEB04 002EBA64 38 A1 00 BC */ addi r5, r1, 0xbc +/* 802EEB08 002EBA68 48 02 26 99 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802EEB0C 002EBA6C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802EEB10 002EBA70 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 802EEB14 002EBA74 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 802EEB18 002EBA78 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 802EEB1C 002EBA7C C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802EEB20 002EBA80 C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 802EEB24 002EBA84 C0 C1 00 58 */ lfs f6, 0x58(r1) +/* 802EEB28 002EBA88 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802EEB2C 002EBA8C D3 FE 00 00 */ stfs f31, 0(r30) +/* 802EEB30 002EBA90 90 1E 00 04 */ stw r0, 4(r30) +/* 802EEB34 002EBA94 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802EEB38 002EBA98 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 802EEB3C 002EBA9C D0 5E 00 10 */ stfs f2, 0x10(r30) +/* 802EEB40 002EBAA0 D0 7E 00 14 */ stfs f3, 0x14(r30) +/* 802EEB44 002EBAA4 D0 9E 00 18 */ stfs f4, 0x18(r30) +/* 802EEB48 002EBAA8 D0 BE 00 1C */ stfs f5, 0x1c(r30) +/* 802EEB4C 002EBAAC D0 DE 00 20 */ stfs f6, 0x20(r30) +lbl_802EEB50: +/* 802EEB50 002EBAB0 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 802EEB54 002EBAB4 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 802EEB58 002EBAB8 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 802EEB5C 002EBABC CB C1 01 70 */ lfd f30, 0x170(r1) +/* 802EEB60 002EBAC0 E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 +/* 802EEB64 002EBAC4 CB A1 01 60 */ lfd f29, 0x160(r1) +/* 802EEB68 002EBAC8 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 +/* 802EEB6C 002EBACC CB 81 01 50 */ lfd f28, 0x150(r1) +/* 802EEB70 002EBAD0 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 802EEB74 002EBAD4 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 802EEB78 002EBAD8 83 A1 01 44 */ lwz r29, 0x144(r1) +/* 802EEB7C 002EBADC 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802EEB80 002EBAE0 83 81 01 40 */ lwz r28, 0x140(r1) +/* 802EEB84 002EBAE4 7C 08 03 A6 */ mtlr r0 +/* 802EEB88 002EBAE8 38 21 01 90 */ addi r1, r1, 0x190 +/* 802EEB8C 002EBAEC 4E 80 00 20 */ blr + +.global sub_802eeb90 +sub_802eeb90: +/* 802EEB90 002EBAF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802EEB94 002EBAF4 7C 08 02 A6 */ mflr r0 +/* 802EEB98 002EBAF8 3C A0 80 3D */ lis r5, lbl_803D6DE0@ha +/* 802EEB9C 002EBAFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802EEBA0 002EBB00 38 05 6D E0 */ addi r0, r5, lbl_803D6DE0@l +/* 802EEBA4 002EBB04 38 A0 00 00 */ li r5, 0 +/* 802EEBA8 002EBB08 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802EEBAC 002EBB0C 7C 9F 23 78 */ mr r31, r4 +/* 802EEBB0 002EBB10 7C 04 03 78 */ mr r4, r0 +/* 802EEBB4 002EBB14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802EEBB8 002EBB18 7C 7E 1B 78 */ mr r30, r3 +/* 802EEBBC 002EBB1C 38 60 00 7C */ li r3, 0x7c +/* 802EEBC0 002EBB20 48 02 6C AD */ bl __nw__FUlPCcPCc +/* 802EEBC4 002EBB24 7C 64 1B 79 */ or. r4, r3, r3 +/* 802EEBC8 002EBB28 41 82 00 40 */ beq lbl_802EEC08 +/* 802EEBCC 002EBB2C 38 1F 00 24 */ addi r0, r31, 0x24 +/* 802EEBD0 002EBB30 38 DF 00 34 */ addi r6, r31, 0x34 +/* 802EEBD4 002EBB34 90 01 00 08 */ stw r0, 8(r1) +/* 802EEBD8 002EBB38 38 1F 00 44 */ addi r0, r31, 0x44 +/* 802EEBDC 002EBB3C 38 9F 00 54 */ addi r4, r31, 0x54 +/* 802EEBE0 002EBB40 38 BF 00 0C */ addi r5, r31, 0xc +/* 802EEBE4 002EBB44 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802EEBE8 002EBB48 38 DF 00 64 */ addi r6, r31, 0x64 +/* 802EEBEC 002EBB4C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802EEBF0 002EBB50 80 FF 00 14 */ lwz r7, 0x14(r31) +/* 802EEBF4 002EBB54 81 1F 00 18 */ lwz r8, 0x18(r31) +/* 802EEBF8 002EBB58 81 3F 00 1C */ lwz r9, 0x1c(r31) +/* 802EEBFC 002EBB5C 81 5F 00 20 */ lwz r10, 0x20(r31) +/* 802EEC00 002EBB60 48 00 00 35 */ bl sub_802eec34 +/* 802EEC04 002EBB64 7C 64 1B 78 */ mr r4, r3 +lbl_802EEC08: +/* 802EEC08 002EBB68 7C 04 00 D0 */ neg r0, r4 +/* 802EEC0C 002EBB6C 7C 00 23 78 */ or r0, r0, r4 +/* 802EEC10 002EBB70 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802EEC14 002EBB74 98 1E 00 00 */ stb r0, 0(r30) +/* 802EEC18 002EBB78 90 9E 00 04 */ stw r4, 4(r30) +/* 802EEC1C 002EBB7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802EEC20 002EBB80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802EEC24 002EBB84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802EEC28 002EBB88 7C 08 03 A6 */ mtlr r0 +/* 802EEC2C 002EBB8C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802EEC30 002EBB90 4E 80 00 20 */ blr + +.global sub_802eec34 +sub_802eec34: +/* 802EEC34 002EBB94 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EEC38 002EBB98 7C 08 02 A6 */ mflr r0 +/* 802EEC3C 002EBB9C 3D 60 80 3D */ lis r11, lbl_803D6DE0@ha +/* 802EEC40 002EBBA0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802EEC44 002EBBA4 38 0B 6D E0 */ addi r0, r11, lbl_803D6DE0@l +/* 802EEC48 002EBBA8 BE 61 00 1C */ stmw r19, 0x1c(r1) +/* 802EEC4C 002EBBAC 7C 73 1B 78 */ mr r19, r3 +/* 802EEC50 002EBBB0 7C 95 23 78 */ mr r21, r4 +/* 802EEC54 002EBBB4 7C B6 2B 78 */ mr r22, r5 +/* 802EEC58 002EBBB8 83 81 00 58 */ lwz r28, 0x58(r1) +/* 802EEC5C 002EBBBC 7C D7 33 78 */ mr r23, r6 +/* 802EEC60 002EBBC0 83 A1 00 5C */ lwz r29, 0x5c(r1) +/* 802EEC64 002EBBC4 7C F8 3B 78 */ mr r24, r7 +/* 802EEC68 002EBBC8 83 C1 00 60 */ lwz r30, 0x60(r1) +/* 802EEC6C 002EBBCC 7D 19 43 78 */ mr r25, r8 +/* 802EEC70 002EBBD0 7D 3A 4B 78 */ mr r26, r9 +/* 802EEC74 002EBBD4 7D 5B 53 78 */ mr r27, r10 +/* 802EEC78 002EBBD8 7C 04 03 78 */ mr r4, r0 +/* 802EEC7C 002EBBDC 38 60 00 14 */ li r3, 0x14 +/* 802EEC80 002EBBE0 38 A0 00 00 */ li r5, 0 +/* 802EEC84 002EBBE4 48 02 6B E9 */ bl __nw__FUlPCcPCc +/* 802EEC88 002EBBE8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802EEC8C 002EBBEC 41 82 00 48 */ beq lbl_802EECD4 +/* 802EEC90 002EBBF0 3C 80 80 3F */ lis r4, lbl_803ECFE4@ha +/* 802EEC94 002EBBF4 7F E5 FB 78 */ mr r5, r31 +/* 802EEC98 002EBBF8 38 04 CF E4 */ addi r0, r4, lbl_803ECFE4@l +/* 802EEC9C 002EBBFC 3C 60 80 3F */ lis r3, lbl_803ECFC0@ha +/* 802EECA0 002EBC00 90 1F 00 00 */ stw r0, 0(r31) +/* 802EECA4 002EBC04 38 03 CF C0 */ addi r0, r3, lbl_803ECFC0@l +/* 802EECA8 002EBC08 3A 85 00 04 */ addi r20, r5, 4 +/* 802EECAC 002EBC0C 7E A4 AB 78 */ mr r4, r21 +/* 802EECB0 002EBC10 90 1F 00 00 */ stw r0, 0(r31) +/* 802EECB4 002EBC14 7E 83 A3 78 */ mr r3, r20 +/* 802EECB8 002EBC18 48 05 21 F1 */ bl __ct__6CTokenFRC6CToken +/* 802EECBC 002EBC1C 80 15 00 08 */ lwz r0, 8(r21) +/* 802EECC0 002EBC20 7E 83 A3 78 */ mr r3, r20 +/* 802EECC4 002EBC24 90 14 00 08 */ stw r0, 8(r20) +/* 802EECC8 002EBC28 48 05 20 BD */ bl Lock__6CTokenFv +/* 802EECCC 002EBC2C 80 15 00 0C */ lwz r0, 0xc(r21) +/* 802EECD0 002EBC30 90 14 00 0C */ stw r0, 0xc(r20) +lbl_802EECD4: +/* 802EECD4 002EBC34 7C 1F 00 D0 */ neg r0, r31 +/* 802EECD8 002EBC38 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802EECDC 002EBC3C 7C 00 FB 78 */ or r0, r0, r31 +/* 802EECE0 002EBC40 7E 63 9B 78 */ mr r3, r19 +/* 802EECE4 002EBC44 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802EECE8 002EBC48 7E C5 B3 78 */ mr r5, r22 +/* 802EECEC 002EBC4C 98 01 00 10 */ stb r0, 0x10(r1) +/* 802EECF0 002EBC50 7F 06 C3 78 */ mr r6, r24 +/* 802EECF4 002EBC54 7F 27 CB 78 */ mr r7, r25 +/* 802EECF8 002EBC58 7F 48 D3 78 */ mr r8, r26 +/* 802EECFC 002EBC5C 93 A1 00 08 */ stw r29, 8(r1) +/* 802EED00 002EBC60 7F 69 DB 78 */ mr r9, r27 +/* 802EED04 002EBC64 7F 8A E3 78 */ mr r10, r28 +/* 802EED08 002EBC68 38 81 00 10 */ addi r4, r1, 0x10 +/* 802EED0C 002EBC6C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802EED10 002EBC70 48 00 00 AD */ bl sub_802eedbc +/* 802EED14 002EBC74 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802EED18 002EBC78 28 00 00 00 */ cmplwi r0, 0 +/* 802EED1C 002EBC7C 41 82 00 24 */ beq lbl_802EED40 +/* 802EED20 002EBC80 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802EED24 002EBC84 28 03 00 00 */ cmplwi r3, 0 +/* 802EED28 002EBC88 41 82 00 18 */ beq lbl_802EED40 +/* 802EED2C 002EBC8C 81 83 00 00 */ lwz r12, 0(r3) +/* 802EED30 002EBC90 38 80 00 01 */ li r4, 1 +/* 802EED34 002EBC94 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802EED38 002EBC98 7D 89 03 A6 */ mtctr r12 +/* 802EED3C 002EBC9C 4E 80 04 21 */ bctrl +lbl_802EED40: +/* 802EED40 002EBCA0 3C 60 80 3F */ lis r3, lbl_803ECF58@ha +/* 802EED44 002EBCA4 3A 93 00 54 */ addi r20, r19, 0x54 +/* 802EED48 002EBCA8 38 03 CF 58 */ addi r0, r3, lbl_803ECF58@l +/* 802EED4C 002EBCAC 7E A4 AB 78 */ mr r4, r21 +/* 802EED50 002EBCB0 90 13 00 00 */ stw r0, 0(r19) +/* 802EED54 002EBCB4 7E 83 A3 78 */ mr r3, r20 +/* 802EED58 002EBCB8 48 05 21 51 */ bl __ct__6CTokenFRC6CToken +/* 802EED5C 002EBCBC 80 15 00 08 */ lwz r0, 8(r21) +/* 802EED60 002EBCC0 7E 83 A3 78 */ mr r3, r20 +/* 802EED64 002EBCC4 90 14 00 08 */ stw r0, 8(r20) +/* 802EED68 002EBCC8 48 05 20 1D */ bl Lock__6CTokenFv +/* 802EED6C 002EBCCC 80 15 00 0C */ lwz r0, 0xc(r21) +/* 802EED70 002EBCD0 7E 63 9B 78 */ mr r3, r19 +/* 802EED74 002EBCD4 90 14 00 0C */ stw r0, 0xc(r20) +/* 802EED78 002EBCD8 C0 17 00 00 */ lfs f0, 0(r23) +/* 802EED7C 002EBCDC D0 13 00 64 */ stfs f0, 0x64(r19) +/* 802EED80 002EBCE0 80 17 00 04 */ lwz r0, 4(r23) +/* 802EED84 002EBCE4 90 13 00 68 */ stw r0, 0x68(r19) +/* 802EED88 002EBCE8 C0 17 00 08 */ lfs f0, 8(r23) +/* 802EED8C 002EBCEC D0 13 00 6C */ stfs f0, 0x6c(r19) +/* 802EED90 002EBCF0 C0 17 00 0C */ lfs f0, 0xc(r23) +/* 802EED94 002EBCF4 D0 13 00 70 */ stfs f0, 0x70(r19) +/* 802EED98 002EBCF8 C0 17 00 10 */ lfs f0, 0x10(r23) +/* 802EED9C 002EBCFC D0 13 00 74 */ stfs f0, 0x74(r19) +/* 802EEDA0 002EBD00 88 17 00 14 */ lbz r0, 0x14(r23) +/* 802EEDA4 002EBD04 98 13 00 78 */ stb r0, 0x78(r19) +/* 802EEDA8 002EBD08 BA 61 00 1C */ lmw r19, 0x1c(r1) +/* 802EEDAC 002EBD0C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EEDB0 002EBD10 7C 08 03 A6 */ mtlr r0 +/* 802EEDB4 002EBD14 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EEDB8 002EBD18 4E 80 00 20 */ blr + +.global sub_802eedbc +sub_802eedbc: +/* 802EEDBC 002EBD1C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EEDC0 002EBD20 7C 08 02 A6 */ mflr r0 +/* 802EEDC4 002EBD24 3D 80 80 3F */ lis r12, lbl_803ED508@ha +/* 802EEDC8 002EBD28 3D 60 80 3F */ lis r11, lbl_803ED008@ha +/* 802EEDCC 002EBD2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EEDD0 002EBD30 39 8C D5 08 */ addi r12, r12, lbl_803ED508@l +/* 802EEDD4 002EBD34 38 0B D0 08 */ addi r0, r11, lbl_803ED008@l +/* 802EEDD8 002EBD38 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802EEDDC 002EBD3C 7C 7C 1B 78 */ mr r28, r3 +/* 802EEDE0 002EBD40 38 60 00 00 */ li r3, 0 +/* 802EEDE4 002EBD44 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802EEDE8 002EBD48 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802EEDEC 002EBD4C 7D 5D 53 78 */ mr r29, r10 +/* 802EEDF0 002EBD50 91 9C 00 00 */ stw r12, 0(r28) +/* 802EEDF4 002EBD54 90 1C 00 00 */ stw r0, 0(r28) +/* 802EEDF8 002EBD58 98 64 00 00 */ stb r3, 0(r4) +/* 802EEDFC 002EBD5C 80 04 00 04 */ lwz r0, 4(r4) +/* 802EEE00 002EBD60 90 1C 00 04 */ stw r0, 4(r28) +/* 802EEE04 002EBD64 C0 05 00 00 */ lfs f0, 0(r5) +/* 802EEE08 002EBD68 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 802EEE0C 002EBD6C 80 05 00 04 */ lwz r0, 4(r5) +/* 802EEE10 002EBD70 90 1C 00 10 */ stw r0, 0x10(r28) +/* 802EEE14 002EBD74 90 DC 00 14 */ stw r6, 0x14(r28) +/* 802EEE18 002EBD78 90 FC 00 18 */ stw r7, 0x18(r28) +/* 802EEE1C 002EBD7C 91 1C 00 1C */ stw r8, 0x1c(r28) +/* 802EEE20 002EBD80 91 3C 00 20 */ stw r9, 0x20(r28) +/* 802EEE24 002EBD84 80 0A 00 04 */ lwz r0, 4(r10) +/* 802EEE28 002EBD88 90 1C 00 28 */ stw r0, 0x28(r28) +/* 802EEE2C 002EBD8C 80 0A 00 08 */ lwz r0, 8(r10) +/* 802EEE30 002EBD90 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 802EEE34 002EBD94 80 0A 00 04 */ lwz r0, 4(r10) +/* 802EEE38 002EBD98 2C 00 00 00 */ cmpwi r0, 0 +/* 802EEE3C 002EBD9C 40 82 00 18 */ bne lbl_802EEE54 +/* 802EEE40 002EBDA0 80 1D 00 08 */ lwz r0, 8(r29) +/* 802EEE44 002EBDA4 2C 00 00 00 */ cmpwi r0, 0 +/* 802EEE48 002EBDA8 40 82 00 0C */ bne lbl_802EEE54 +/* 802EEE4C 002EBDAC 90 7C 00 30 */ stw r3, 0x30(r28) +/* 802EEE50 002EBDB0 48 00 00 78 */ b lbl_802EEEC8 +lbl_802EEE54: +/* 802EEE54 002EBDB4 80 1C 00 2C */ lwz r0, 0x2c(r28) +/* 802EEE58 002EBDB8 1C 60 00 14 */ mulli r3, r0, 0x14 +/* 802EEE5C 002EBDBC 2C 03 00 00 */ cmpwi r3, 0 +/* 802EEE60 002EBDC0 40 82 00 10 */ bne lbl_802EEE70 +/* 802EEE64 002EBDC4 38 00 00 00 */ li r0, 0 +/* 802EEE68 002EBDC8 90 1C 00 30 */ stw r0, 0x30(r28) +/* 802EEE6C 002EBDCC 48 00 00 18 */ b lbl_802EEE84 +lbl_802EEE70: +/* 802EEE70 002EBDD0 3C 80 80 3D */ lis r4, lbl_803D6DE0@ha +/* 802EEE74 002EBDD4 38 A0 00 00 */ li r5, 0 +/* 802EEE78 002EBDD8 38 84 6D E0 */ addi r4, r4, lbl_803D6DE0@l +/* 802EEE7C 002EBDDC 48 02 69 9D */ bl __nwa__FUlPCcPCc +/* 802EEE80 002EBDE0 90 7C 00 30 */ stw r3, 0x30(r28) +lbl_802EEE84: +/* 802EEE84 002EBDE4 83 3C 00 28 */ lwz r25, 0x28(r28) +/* 802EEE88 002EBDE8 3B 60 00 00 */ li r27, 0 +/* 802EEE8C 002EBDEC 83 5D 00 0C */ lwz r26, 0xc(r29) +/* 802EEE90 002EBDF0 83 BC 00 30 */ lwz r29, 0x30(r28) +/* 802EEE94 002EBDF4 48 00 00 2C */ b lbl_802EEEC0 +lbl_802EEE98: +/* 802EEE98 002EBDF8 28 1D 00 00 */ cmplwi r29, 0 +/* 802EEE9C 002EBDFC 41 82 00 18 */ beq lbl_802EEEB4 +/* 802EEEA0 002EBE00 7F A3 EB 78 */ mr r3, r29 +/* 802EEEA4 002EBE04 7F 44 D3 78 */ mr r4, r26 +/* 802EEEA8 002EBE08 48 04 F2 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EEEAC 002EBE0C 88 1A 00 10 */ lbz r0, 0x10(r26) +/* 802EEEB0 002EBE10 98 1D 00 10 */ stb r0, 0x10(r29) +lbl_802EEEB4: +/* 802EEEB4 002EBE14 3B BD 00 14 */ addi r29, r29, 0x14 +/* 802EEEB8 002EBE18 3B 7B 00 01 */ addi r27, r27, 1 +/* 802EEEBC 002EBE1C 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802EEEC0: +/* 802EEEC0 002EBE20 7C 1B C8 00 */ cmpw r27, r25 +/* 802EEEC4 002EBE24 41 80 FF D4 */ blt lbl_802EEE98 +lbl_802EEEC8: +/* 802EEEC8 002EBE28 80 1E 00 04 */ lwz r0, 4(r30) +/* 802EEECC 002EBE2C 90 1C 00 38 */ stw r0, 0x38(r28) +/* 802EEED0 002EBE30 80 1E 00 08 */ lwz r0, 8(r30) +/* 802EEED4 002EBE34 90 1C 00 3C */ stw r0, 0x3c(r28) +/* 802EEED8 002EBE38 80 1E 00 04 */ lwz r0, 4(r30) +/* 802EEEDC 002EBE3C 2C 00 00 00 */ cmpwi r0, 0 +/* 802EEEE0 002EBE40 40 82 00 1C */ bne lbl_802EEEFC +/* 802EEEE4 002EBE44 80 1E 00 08 */ lwz r0, 8(r30) +/* 802EEEE8 002EBE48 2C 00 00 00 */ cmpwi r0, 0 +/* 802EEEEC 002EBE4C 40 82 00 10 */ bne lbl_802EEEFC +/* 802EEEF0 002EBE50 38 00 00 00 */ li r0, 0 +/* 802EEEF4 002EBE54 90 1C 00 40 */ stw r0, 0x40(r28) +/* 802EEEF8 002EBE58 48 00 00 78 */ b lbl_802EEF70 +lbl_802EEEFC: +/* 802EEEFC 002EBE5C 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 802EEF00 002EBE60 1C 60 00 14 */ mulli r3, r0, 0x14 +/* 802EEF04 002EBE64 2C 03 00 00 */ cmpwi r3, 0 +/* 802EEF08 002EBE68 40 82 00 10 */ bne lbl_802EEF18 +/* 802EEF0C 002EBE6C 38 00 00 00 */ li r0, 0 +/* 802EEF10 002EBE70 90 1C 00 40 */ stw r0, 0x40(r28) +/* 802EEF14 002EBE74 48 00 00 18 */ b lbl_802EEF2C +lbl_802EEF18: +/* 802EEF18 002EBE78 3C 80 80 3D */ lis r4, lbl_803D6DE0@ha +/* 802EEF1C 002EBE7C 38 A0 00 00 */ li r5, 0 +/* 802EEF20 002EBE80 38 84 6D E0 */ addi r4, r4, lbl_803D6DE0@l +/* 802EEF24 002EBE84 48 02 68 F5 */ bl __nwa__FUlPCcPCc +/* 802EEF28 002EBE88 90 7C 00 40 */ stw r3, 0x40(r28) +lbl_802EEF2C: +/* 802EEF2C 002EBE8C 83 BC 00 38 */ lwz r29, 0x38(r28) +/* 802EEF30 002EBE90 3B 20 00 00 */ li r25, 0 +/* 802EEF34 002EBE94 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802EEF38 002EBE98 83 5C 00 40 */ lwz r26, 0x40(r28) +/* 802EEF3C 002EBE9C 48 00 00 2C */ b lbl_802EEF68 +lbl_802EEF40: +/* 802EEF40 002EBEA0 28 1A 00 00 */ cmplwi r26, 0 +/* 802EEF44 002EBEA4 41 82 00 18 */ beq lbl_802EEF5C +/* 802EEF48 002EBEA8 7F 43 D3 78 */ mr r3, r26 +/* 802EEF4C 002EBEAC 7F 64 DB 78 */ mr r4, r27 +/* 802EEF50 002EBEB0 48 04 F2 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EEF54 002EBEB4 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 802EEF58 002EBEB8 90 1A 00 10 */ stw r0, 0x10(r26) +lbl_802EEF5C: +/* 802EEF5C 002EBEBC 3B 5A 00 14 */ addi r26, r26, 0x14 +/* 802EEF60 002EBEC0 3B 39 00 01 */ addi r25, r25, 1 +/* 802EEF64 002EBEC4 3B 7B 00 14 */ addi r27, r27, 0x14 +lbl_802EEF68: +/* 802EEF68 002EBEC8 7C 19 E8 00 */ cmpw r25, r29 +/* 802EEF6C 002EBECC 41 80 FF D4 */ blt lbl_802EEF40 +lbl_802EEF70: +/* 802EEF70 002EBED0 80 1F 00 04 */ lwz r0, 4(r31) +/* 802EEF74 002EBED4 90 1C 00 48 */ stw r0, 0x48(r28) +/* 802EEF78 002EBED8 80 1F 00 08 */ lwz r0, 8(r31) +/* 802EEF7C 002EBEDC 90 1C 00 4C */ stw r0, 0x4c(r28) +/* 802EEF80 002EBEE0 80 1F 00 04 */ lwz r0, 4(r31) +/* 802EEF84 002EBEE4 2C 00 00 00 */ cmpwi r0, 0 +/* 802EEF88 002EBEE8 40 82 00 1C */ bne lbl_802EEFA4 +/* 802EEF8C 002EBEEC 80 1F 00 08 */ lwz r0, 8(r31) +/* 802EEF90 002EBEF0 2C 00 00 00 */ cmpwi r0, 0 +/* 802EEF94 002EBEF4 40 82 00 10 */ bne lbl_802EEFA4 +/* 802EEF98 002EBEF8 38 00 00 00 */ li r0, 0 +/* 802EEF9C 002EBEFC 90 1C 00 50 */ stw r0, 0x50(r28) +/* 802EEFA0 002EBF00 48 00 00 78 */ b lbl_802EF018 +lbl_802EEFA4: +/* 802EEFA4 002EBF04 80 1C 00 4C */ lwz r0, 0x4c(r28) +/* 802EEFA8 002EBF08 1C 60 00 14 */ mulli r3, r0, 0x14 +/* 802EEFAC 002EBF0C 2C 03 00 00 */ cmpwi r3, 0 +/* 802EEFB0 002EBF10 40 82 00 10 */ bne lbl_802EEFC0 +/* 802EEFB4 002EBF14 38 00 00 00 */ li r0, 0 +/* 802EEFB8 002EBF18 90 1C 00 50 */ stw r0, 0x50(r28) +/* 802EEFBC 002EBF1C 48 00 00 18 */ b lbl_802EEFD4 +lbl_802EEFC0: +/* 802EEFC0 002EBF20 3C 80 80 3D */ lis r4, lbl_803D6DE0@ha +/* 802EEFC4 002EBF24 38 A0 00 00 */ li r5, 0 +/* 802EEFC8 002EBF28 38 84 6D E0 */ addi r4, r4, lbl_803D6DE0@l +/* 802EEFCC 002EBF2C 48 02 68 4D */ bl __nwa__FUlPCcPCc +/* 802EEFD0 002EBF30 90 7C 00 50 */ stw r3, 0x50(r28) +lbl_802EEFD4: +/* 802EEFD4 002EBF34 83 BC 00 48 */ lwz r29, 0x48(r28) +/* 802EEFD8 002EBF38 3B 20 00 00 */ li r25, 0 +/* 802EEFDC 002EBF3C 83 7F 00 0C */ lwz r27, 0xc(r31) +/* 802EEFE0 002EBF40 83 5C 00 50 */ lwz r26, 0x50(r28) +/* 802EEFE4 002EBF44 48 00 00 2C */ b lbl_802EF010 +lbl_802EEFE8: +/* 802EEFE8 002EBF48 28 1A 00 00 */ cmplwi r26, 0 +/* 802EEFEC 002EBF4C 41 82 00 18 */ beq lbl_802EF004 +/* 802EEFF0 002EBF50 7F 43 D3 78 */ mr r3, r26 +/* 802EEFF4 002EBF54 7F 64 DB 78 */ mr r4, r27 +/* 802EEFF8 002EBF58 48 04 F1 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EEFFC 002EBF5C 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 802EF000 002EBF60 90 1A 00 10 */ stw r0, 0x10(r26) +lbl_802EF004: +/* 802EF004 002EBF64 3B 5A 00 14 */ addi r26, r26, 0x14 +/* 802EF008 002EBF68 3B 39 00 01 */ addi r25, r25, 1 +/* 802EF00C 002EBF6C 3B 7B 00 14 */ addi r27, r27, 0x14 +lbl_802EF010: +/* 802EF010 002EBF70 7C 19 E8 00 */ cmpw r25, r29 +/* 802EF014 002EBF74 41 80 FF D4 */ blt lbl_802EEFE8 +lbl_802EF018: +/* 802EF018 002EBF78 7F 83 E3 78 */ mr r3, r28 +/* 802EF01C 002EBF7C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802EF020 002EBF80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802EF024 002EBF84 7C 08 03 A6 */ mtlr r0 +/* 802EF028 002EBF88 38 21 00 30 */ addi r1, r1, 0x30 +/* 802EF02C 002EBF8C 4E 80 00 20 */ blr + +.global VGetSegStatementSet__17CAnimSourceReaderCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +VGetSegStatementSet__17CAnimSourceReaderCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime: +/* 802EF030 002EBF90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF034 002EBF94 7C 08 02 A6 */ mflr r0 +/* 802EF038 002EBF98 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF03C 002EBF9C 80 63 00 60 */ lwz r3, 0x60(r3) +/* 802EF040 002EBFA0 4B FF D6 C5 */ bl GetSegStatementSet__11CAnimSourceCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +/* 802EF044 002EBFA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF048 002EBFA8 7C 08 03 A6 */ mtlr r0 +/* 802EF04C 002EBFAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF050 002EBFB0 4E 80 00 20 */ blr + +.global VGetSegStatementSet__17CAnimSourceReaderCFRC10CSegIdListR16CSegStatementSet +VGetSegStatementSet__17CAnimSourceReaderCFRC10CSegIdListR16CSegStatementSet: +/* 802EF054 002EBFB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF058 002EBFB8 7C 08 02 A6 */ mflr r0 +/* 802EF05C 002EBFBC 7C 66 1B 78 */ mr r6, r3 +/* 802EF060 002EBFC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF064 002EBFC4 38 C6 00 0C */ addi r6, r6, 0xc +/* 802EF068 002EBFC8 80 63 00 60 */ lwz r3, 0x60(r3) +/* 802EF06C 002EBFCC 4B FF D6 99 */ bl GetSegStatementSet__11CAnimSourceCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +/* 802EF070 002EBFD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF074 002EBFD4 7C 08 03 A6 */ mtlr r0 +/* 802EF078 002EBFD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF07C 002EBFDC 4E 80 00 20 */ blr + +.global VGetRotation__17CAnimSourceReaderCFRC6CSegId +VGetRotation__17CAnimSourceReaderCFRC6CSegId: +/* 802EF080 002EBFE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF084 002EBFE4 7C 08 02 A6 */ mflr r0 +/* 802EF088 002EBFE8 7C 86 23 78 */ mr r6, r4 +/* 802EF08C 002EBFEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF090 002EBFF0 38 C6 00 0C */ addi r6, r6, 0xc +/* 802EF094 002EBFF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EF098 002EBFF8 7C 7F 1B 78 */ mr r31, r3 +/* 802EF09C 002EBFFC 80 84 00 60 */ lwz r4, 0x60(r4) +/* 802EF0A0 002EC000 4B FF DC 85 */ bl GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF0A4 002EC004 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF0A8 002EC008 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EF0AC 002EC00C 7C 08 03 A6 */ mtlr r0 +/* 802EF0B0 002EC010 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF0B4 002EC014 4E 80 00 20 */ blr + +.global VGetOffset__17CAnimSourceReaderCFRC6CSegIdRC13CCharAnimTime +VGetOffset__17CAnimSourceReaderCFRC6CSegIdRC13CCharAnimTime: +/* 802EF0B8 002EC018 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF0BC 002EC01C 7C 08 02 A6 */ mflr r0 +/* 802EF0C0 002EC020 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF0C4 002EC024 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EF0C8 002EC028 7C 7F 1B 78 */ mr r31, r3 +/* 802EF0CC 002EC02C 80 84 00 60 */ lwz r4, 0x60(r4) +/* 802EF0D0 002EC030 4B FF DD BD */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF0D4 002EC034 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF0D8 002EC038 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EF0DC 002EC03C 7C 08 03 A6 */ mtlr r0 +/* 802EF0E0 002EC040 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF0E4 002EC044 4E 80 00 20 */ blr + +.global VGetOffset__17CAnimSourceReaderCFRC6CSegId +VGetOffset__17CAnimSourceReaderCFRC6CSegId: +/* 802EF0E8 002EC048 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF0EC 002EC04C 7C 08 02 A6 */ mflr r0 +/* 802EF0F0 002EC050 7C 86 23 78 */ mr r6, r4 +/* 802EF0F4 002EC054 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF0F8 002EC058 38 C6 00 0C */ addi r6, r6, 0xc +/* 802EF0FC 002EC05C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EF100 002EC060 7C 7F 1B 78 */ mr r31, r3 +/* 802EF104 002EC064 80 84 00 60 */ lwz r4, 0x60(r4) +/* 802EF108 002EC068 4B FF DD 85 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF10C 002EC06C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF110 002EC070 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EF114 002EC074 7C 08 03 A6 */ mtlr r0 +/* 802EF118 002EC078 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF11C 002EC07C 4E 80 00 20 */ blr + +.global VHasOffset__17CAnimSourceReaderCFRC6CSegId +VHasOffset__17CAnimSourceReaderCFRC6CSegId: +/* 802EF120 002EC080 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF124 002EC084 7C 08 02 A6 */ mflr r0 +/* 802EF128 002EC088 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF12C 002EC08C 80 63 00 60 */ lwz r3, 0x60(r3) +/* 802EF130 002EC090 4B FF DF 11 */ bl HasOffset__11CAnimSourceCFRC6CSegId +/* 802EF134 002EC094 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF138 002EC098 7C 08 03 A6 */ mtlr r0 +/* 802EF13C 002EC09C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF140 002EC0A0 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__17CAnimSourceReaderCFv +VGetSteadyStateAnimInfo__17CAnimSourceReaderCFv: +/* 802EF144 002EC0A4 C0 04 00 64 */ lfs f0, 0x64(r4) +/* 802EF148 002EC0A8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802EF14C 002EC0AC 80 04 00 68 */ lwz r0, 0x68(r4) +/* 802EF150 002EC0B0 90 03 00 04 */ stw r0, 4(r3) +/* 802EF154 002EC0B4 C0 04 00 6C */ lfs f0, 0x6c(r4) +/* 802EF158 002EC0B8 D0 03 00 08 */ stfs f0, 8(r3) +/* 802EF15C 002EC0BC C0 04 00 70 */ lfs f0, 0x70(r4) +/* 802EF160 002EC0C0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802EF164 002EC0C4 C0 04 00 74 */ lfs f0, 0x74(r4) +/* 802EF168 002EC0C8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802EF16C 002EC0CC 88 04 00 78 */ lbz r0, 0x78(r4) +/* 802EF170 002EC0D0 98 03 00 14 */ stb r0, 0x14(r3) +/* 802EF174 002EC0D4 4E 80 00 20 */ blr + +.global VGetTimeRemaining__17CAnimSourceReaderCFv +VGetTimeRemaining__17CAnimSourceReaderCFv: +/* 802EF178 002EC0D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF17C 002EC0DC 7C 08 02 A6 */ mflr r0 +/* 802EF180 002EC0E0 7C 85 23 78 */ mr r5, r4 +/* 802EF184 002EC0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF188 002EC0E8 38 A5 00 0C */ addi r5, r5, 0xc +/* 802EF18C 002EC0EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EF190 002EC0F0 7C 7F 1B 78 */ mr r31, r3 +/* 802EF194 002EC0F4 80 84 00 60 */ lwz r4, 0x60(r4) +/* 802EF198 002EC0F8 48 05 95 CD */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EF19C 002EC0FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF1A0 002EC100 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EF1A4 002EC104 7C 08 03 A6 */ mtlr r0 +/* 802EF1A8 002EC108 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF1AC 002EC10C 4E 80 00 20 */ blr + +.global VAdvanceView__17CAnimSourceReaderFRC13CCharAnimTime +VAdvanceView__17CAnimSourceReaderFRC13CCharAnimTime: +/* 802EF1B0 002EC110 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802EF1B4 002EC114 7C 08 02 A6 */ mflr r0 +/* 802EF1B8 002EC118 90 01 01 84 */ stw r0, 0x184(r1) +/* 802EF1BC 002EC11C DB E1 01 70 */ stfd f31, 0x170(r1) +/* 802EF1C0 002EC120 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 802EF1C4 002EC124 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 802EF1C8 002EC128 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 802EF1CC 002EC12C DB A1 01 50 */ stfd f29, 0x150(r1) +/* 802EF1D0 002EC130 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 802EF1D4 002EC134 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 802EF1D8 002EC138 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 802EF1DC 002EC13C 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 802EF1E0 002EC140 93 C1 01 38 */ stw r30, 0x138(r1) +/* 802EF1E4 002EC144 93 A1 01 34 */ stw r29, 0x134(r1) +/* 802EF1E8 002EC148 93 81 01 30 */ stw r28, 0x130(r1) +/* 802EF1EC 002EC14C 7C 9F 23 78 */ mr r31, r4 +/* 802EF1F0 002EC150 7C 7E 1B 78 */ mr r30, r3 +/* 802EF1F4 002EC154 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802EF1F8 002EC158 7C BC 2B 78 */ mr r28, r5 +/* 802EF1FC 002EC15C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802EF200 002EC160 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802EF204 002EC164 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802EF208 002EC168 90 01 00 38 */ stw r0, 0x38(r1) +/* 802EF20C 002EC16C 83 A4 00 60 */ lwz r29, 0x60(r4) +/* 802EF210 002EC170 7F A4 EB 78 */ mr r4, r29 +/* 802EF214 002EC174 48 05 98 ED */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EF218 002EC178 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EF21C 002EC17C 41 82 00 80 */ beq lbl_802EF29C +/* 802EF220 002EC180 80 AD 9B C8 */ lwz r5, lbl_805A8788@sda21(r13) +/* 802EF224 002EC184 38 00 00 00 */ li r0, 0 +/* 802EF228 002EC188 C0 0D 9B CC */ lfs f0, lbl_805A878C@sda21(r13) +/* 802EF22C 002EC18C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802EF230 002EC190 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802EF234 002EC194 90 A1 00 28 */ stw r5, 0x28(r1) +/* 802EF238 002EC198 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802EF23C 002EC19C 90 BF 00 10 */ stw r5, 0x10(r31) +/* 802EF240 002EC1A0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802EF244 002EC1A4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802EF248 002EC1A8 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802EF24C 002EC1AC 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802EF250 002EC1B0 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802EF254 002EC1B4 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802EF258 002EC1B8 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802EF25C 002EC1BC C0 44 00 04 */ lfs f2, 4(r4) +/* 802EF260 002EC1C0 C0 64 00 08 */ lfs f3, 8(r4) +/* 802EF264 002EC1C4 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802EF268 002EC1C8 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802EF26C 002EC1CC C0 1C 00 00 */ lfs f0, 0(r28) +/* 802EF270 002EC1D0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802EF274 002EC1D4 80 1C 00 04 */ lwz r0, 4(r28) +/* 802EF278 002EC1D8 90 1E 00 04 */ stw r0, 4(r30) +/* 802EF27C 002EC1DC D0 3E 00 08 */ stfs f1, 8(r30) +/* 802EF280 002EC1E0 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 802EF284 002EC1E4 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 802EF288 002EC1E8 D0 9E 00 14 */ stfs f4, 0x14(r30) +/* 802EF28C 002EC1EC D0 BE 00 18 */ stfs f5, 0x18(r30) +/* 802EF290 002EC1F0 D0 DE 00 1C */ stfs f6, 0x1c(r30) +/* 802EF294 002EC1F4 D0 FE 00 20 */ stfs f7, 0x20(r30) +/* 802EF298 002EC1F8 48 00 02 B8 */ b lbl_802EF550 +lbl_802EF29C: +/* 802EF29C 002EC1FC 7F 83 E3 78 */ mr r3, r28 +/* 802EF2A0 002EC200 48 05 91 11 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802EF2A4 002EC204 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EF2A8 002EC208 41 82 00 5C */ beq lbl_802EF304 +/* 802EF2AC 002EC20C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802EF2B0 002EC210 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802EF2B4 002EC214 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802EF2B8 002EC218 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802EF2BC 002EC21C 80 0D 9B C8 */ lwz r0, lbl_805A8788@sda21(r13) +/* 802EF2C0 002EC220 C0 44 00 04 */ lfs f2, 4(r4) +/* 802EF2C4 002EC224 C0 64 00 08 */ lfs f3, 8(r4) +/* 802EF2C8 002EC228 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802EF2CC 002EC22C C0 C3 00 08 */ lfs f6, 8(r3) +/* 802EF2D0 002EC230 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802EF2D4 002EC234 C0 0D 9B CC */ lfs f0, lbl_805A878C@sda21(r13) +/* 802EF2D8 002EC238 90 01 00 20 */ stw r0, 0x20(r1) +/* 802EF2DC 002EC23C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802EF2E0 002EC240 90 1E 00 04 */ stw r0, 4(r30) +/* 802EF2E4 002EC244 D0 3E 00 08 */ stfs f1, 8(r30) +/* 802EF2E8 002EC248 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 802EF2EC 002EC24C D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 802EF2F0 002EC250 D0 9E 00 14 */ stfs f4, 0x14(r30) +/* 802EF2F4 002EC254 D0 BE 00 18 */ stfs f5, 0x18(r30) +/* 802EF2F8 002EC258 D0 DE 00 1C */ stfs f6, 0x1c(r30) +/* 802EF2FC 002EC25C D0 FE 00 20 */ stfs f7, 0x20(r30) +/* 802EF300 002EC260 48 00 02 50 */ b lbl_802EF550 +lbl_802EF304: +/* 802EF304 002EC264 7F 84 E3 78 */ mr r4, r28 +/* 802EF308 002EC268 38 7F 00 0C */ addi r3, r31, 0xc +/* 802EF30C 002EC26C 48 05 92 4D */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802EF310 002EC270 80 0D 9B C8 */ lwz r0, lbl_805A8788@sda21(r13) +/* 802EF314 002EC274 7F A4 EB 78 */ mr r4, r29 +/* 802EF318 002EC278 C3 ED 9B CC */ lfs f31, lbl_805A878C@sda21(r13) +/* 802EF31C 002EC27C 38 7F 00 0C */ addi r3, r31, 0xc +/* 802EF320 002EC280 90 01 00 18 */ stw r0, 0x18(r1) +/* 802EF324 002EC284 90 01 00 30 */ stw r0, 0x30(r1) +/* 802EF328 002EC288 48 05 97 45 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EF32C 002EC28C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EF330 002EC290 41 82 00 30 */ beq lbl_802EF360 +/* 802EF334 002EC294 7F A5 EB 78 */ mr r5, r29 +/* 802EF338 002EC298 38 61 00 0C */ addi r3, r1, 0xc +/* 802EF33C 002EC29C 38 9F 00 0C */ addi r4, r31, 0xc +/* 802EF340 002EC2A0 48 05 94 25 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802EF344 002EC2A4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802EF348 002EC2A8 C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 802EF34C 002EC2AC C0 1D 00 00 */ lfs f0, 0(r29) +/* 802EF350 002EC2B0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802EF354 002EC2B4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802EF358 002EC2B8 80 1D 00 04 */ lwz r0, 4(r29) +/* 802EF35C 002EC2BC 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_802EF360: +/* 802EF360 002EC2C0 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 802EF364 002EC2C4 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802EF368 002EC2C8 28 00 00 00 */ cmplwi r0, 0 +/* 802EF36C 002EC2CC 41 82 00 0C */ beq lbl_802EF378 +/* 802EF370 002EC2D0 7F E3 FB 78 */ mr r3, r31 +/* 802EF374 002EC2D4 48 00 12 31 */ bl UpdatePOIStates__21CAnimSourceReaderBaseFv +lbl_802EF378: +/* 802EF378 002EC2D8 38 00 00 03 */ li r0, 3 +/* 802EF37C 002EC2DC 38 61 00 80 */ addi r3, r1, 0x80 +/* 802EF380 002EC2E0 98 01 00 08 */ stb r0, 8(r1) +/* 802EF384 002EC2E4 38 A1 00 08 */ addi r5, r1, 8 +/* 802EF388 002EC2E8 38 C1 00 34 */ addi r6, r1, 0x34 +/* 802EF38C 002EC2EC 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EF390 002EC2F0 4B FF D9 95 */ bl GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF394 002EC2F4 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 802EF398 002EC2F8 38 61 00 70 */ addi r3, r1, 0x70 +/* 802EF39C 002EC2FC C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802EF3A0 002EC300 38 A1 00 08 */ addi r5, r1, 8 +/* 802EF3A4 002EC304 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802EF3A8 002EC308 38 DF 00 0C */ addi r6, r31, 0xc +/* 802EF3AC 002EC30C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802EF3B0 002EC310 D0 61 00 CC */ stfs f3, 0xcc(r1) +/* 802EF3B4 002EC314 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EF3B8 002EC318 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 802EF3BC 002EC31C D0 21 00 D4 */ stfs f1, 0xd4(r1) +/* 802EF3C0 002EC320 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 802EF3C4 002EC324 4B FF D9 61 */ bl GetRotation__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF3C8 002EC328 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 802EF3CC 002EC32C 38 81 00 08 */ addi r4, r1, 8 +/* 802EF3D0 002EC330 C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 802EF3D4 002EC334 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 802EF3D8 002EC338 FD 00 00 50 */ fneg f8, f0 +/* 802EF3DC 002EC33C C0 02 C6 78 */ lfs f0, lbl_805AE398@sda21(r2) +/* 802EF3E0 002EC340 FC E0 10 50 */ fneg f7, f2 +/* 802EF3E4 002EC344 FC C0 08 50 */ fneg f6, f1 +/* 802EF3E8 002EC348 C0 A1 00 70 */ lfs f5, 0x70(r1) +/* 802EF3EC 002EC34C C0 81 00 74 */ lfs f4, 0x74(r1) +/* 802EF3F0 002EC350 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 802EF3F4 002EC354 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 802EF3F8 002EC358 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 802EF3FC 002EC35C D0 A1 00 BC */ stfs f5, 0xbc(r1) +/* 802EF400 002EC360 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 802EF404 002EC364 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 802EF408 002EC368 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 802EF40C 002EC36C D0 21 00 AC */ stfs f1, 0xac(r1) +/* 802EF410 002EC370 D0 C1 00 B0 */ stfs f6, 0xb0(r1) +/* 802EF414 002EC374 D0 E1 00 B4 */ stfs f7, 0xb4(r1) +/* 802EF418 002EC378 D1 01 00 B8 */ stfs f8, 0xb8(r1) +/* 802EF41C 002EC37C D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802EF420 002EC380 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802EF424 002EC384 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802EF428 002EC388 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 802EF42C 002EC38C 4B FF DC 15 */ bl HasOffset__11CAnimSourceCFRC6CSegId +/* 802EF430 002EC390 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EF434 002EC394 41 82 00 C8 */ beq lbl_802EF4FC +/* 802EF438 002EC398 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EF43C 002EC39C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802EF440 002EC3A0 38 A1 00 08 */ addi r5, r1, 8 +/* 802EF444 002EC3A4 38 C1 00 34 */ addi r6, r1, 0x34 +/* 802EF448 002EC3A8 4B FF DA 45 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF44C 002EC3AC C3 C1 00 64 */ lfs f30, 0x64(r1) +/* 802EF450 002EC3B0 38 61 00 58 */ addi r3, r1, 0x58 +/* 802EF454 002EC3B4 C3 A1 00 68 */ lfs f29, 0x68(r1) +/* 802EF458 002EC3B8 38 A1 00 08 */ addi r5, r1, 8 +/* 802EF45C 002EC3BC C3 81 00 6C */ lfs f28, 0x6c(r1) +/* 802EF460 002EC3C0 38 DF 00 0C */ addi r6, r31, 0xc +/* 802EF464 002EC3C4 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802EF468 002EC3C8 4B FF DA 25 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF46C 002EC3CC C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802EF470 002EC3D0 38 61 00 DC */ addi r3, r1, 0xdc +/* 802EF474 002EC3D4 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802EF478 002EC3D8 38 81 00 90 */ addi r4, r1, 0x90 +/* 802EF47C 002EC3DC C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802EF480 002EC3E0 EC A0 E0 28 */ fsubs f5, f0, f28 +/* 802EF484 002EC3E4 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 802EF488 002EC3E8 EC 82 F0 28 */ fsubs f4, f2, f30 +/* 802EF48C 002EC3EC C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 802EF490 002EC3F0 EC 61 E8 28 */ fsubs f3, f1, f29 +/* 802EF494 002EC3F4 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 802EF498 002EC3F8 FC C0 00 50 */ fneg f6, f0 +/* 802EF49C 002EC3FC C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 802EF4A0 002EC400 FC 40 10 50 */ fneg f2, f2 +/* 802EF4A4 002EC404 D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 802EF4A8 002EC408 FC 20 08 50 */ fneg f1, f1 +/* 802EF4AC 002EC40C D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 802EF4B0 002EC410 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 802EF4B4 002EC414 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802EF4B8 002EC418 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 802EF4BC 002EC41C D0 41 00 98 */ stfs f2, 0x98(r1) +/* 802EF4C0 002EC420 D0 C1 00 9C */ stfs f6, 0x9c(r1) +/* 802EF4C4 002EC424 48 02 2B C9 */ bl BuildTransform__11CQuaternionCFv +/* 802EF4C8 002EC428 38 61 01 00 */ addi r3, r1, 0x100 +/* 802EF4CC 002EC42C 38 81 00 DC */ addi r4, r1, 0xdc +/* 802EF4D0 002EC430 48 02 0B 55 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 802EF4D4 002EC434 38 61 00 4C */ addi r3, r1, 0x4c +/* 802EF4D8 002EC438 38 81 01 00 */ addi r4, r1, 0x100 +/* 802EF4DC 002EC43C 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 802EF4E0 002EC440 48 02 0D B5 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802EF4E4 002EC444 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802EF4E8 002EC448 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802EF4EC 002EC44C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802EF4F0 002EC450 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 802EF4F4 002EC454 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802EF4F8 002EC458 D0 01 00 A8 */ stfs f0, 0xa8(r1) +lbl_802EF4FC: +/* 802EF4FC 002EC45C 38 61 00 3C */ addi r3, r1, 0x3c +/* 802EF500 002EC460 38 81 00 BC */ addi r4, r1, 0xbc +/* 802EF504 002EC464 38 A1 00 AC */ addi r5, r1, 0xac +/* 802EF508 002EC468 48 02 1C 99 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802EF50C 002EC46C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 802EF510 002EC470 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 802EF514 002EC474 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 802EF518 002EC478 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 802EF51C 002EC47C C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802EF520 002EC480 C0 A1 00 44 */ lfs f5, 0x44(r1) +/* 802EF524 002EC484 C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 802EF528 002EC488 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802EF52C 002EC48C D3 FE 00 00 */ stfs f31, 0(r30) +/* 802EF530 002EC490 90 1E 00 04 */ stw r0, 4(r30) +/* 802EF534 002EC494 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802EF538 002EC498 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 802EF53C 002EC49C D0 5E 00 10 */ stfs f2, 0x10(r30) +/* 802EF540 002EC4A0 D0 7E 00 14 */ stfs f3, 0x14(r30) +/* 802EF544 002EC4A4 D0 9E 00 18 */ stfs f4, 0x18(r30) +/* 802EF548 002EC4A8 D0 BE 00 1C */ stfs f5, 0x1c(r30) +/* 802EF54C 002EC4AC D0 DE 00 20 */ stfs f6, 0x20(r30) +lbl_802EF550: +/* 802EF550 002EC4B0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 802EF554 002EC4B4 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 802EF558 002EC4B8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 802EF55C 002EC4BC CB C1 01 60 */ lfd f30, 0x160(r1) +/* 802EF560 002EC4C0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 802EF564 002EC4C4 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 802EF568 002EC4C8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 802EF56C 002EC4CC CB 81 01 40 */ lfd f28, 0x140(r1) +/* 802EF570 002EC4D0 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 802EF574 002EC4D4 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 802EF578 002EC4D8 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 802EF57C 002EC4DC 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802EF580 002EC4E0 83 81 01 30 */ lwz r28, 0x130(r1) +/* 802EF584 002EC4E4 7C 08 03 A6 */ mtlr r0 +/* 802EF588 002EC4E8 38 21 01 80 */ addi r1, r1, 0x180 +/* 802EF58C 002EC4EC 4E 80 00 20 */ blr + +.global "__ct__17CAnimSourceReaderFRC32TSubAnimTypeToken<11CAnimSource>RC13CCharAnimTime" +"__ct__17CAnimSourceReaderFRC32TSubAnimTypeToken<11CAnimSource>RC13CCharAnimTime": +/* 802EF590 002EC4F0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802EF594 002EC4F4 7C 08 02 A6 */ mflr r0 +/* 802EF598 002EC4F8 3C C0 80 3D */ lis r6, lbl_803D6DE0@ha +/* 802EF59C 002EC4FC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802EF5A0 002EC500 38 06 6D E0 */ addi r0, r6, lbl_803D6DE0@l +/* 802EF5A4 002EC504 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802EF5A8 002EC508 7C 7C 1B 78 */ mr r28, r3 +/* 802EF5AC 002EC50C 7C 9D 23 78 */ mr r29, r4 +/* 802EF5B0 002EC510 7C BE 2B 78 */ mr r30, r5 +/* 802EF5B4 002EC514 38 60 00 14 */ li r3, 0x14 +/* 802EF5B8 002EC518 7C 04 03 78 */ mr r4, r0 +/* 802EF5BC 002EC51C 38 A0 00 00 */ li r5, 0 +/* 802EF5C0 002EC520 48 02 62 AD */ bl __nw__FUlPCcPCc +/* 802EF5C4 002EC524 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802EF5C8 002EC528 41 82 00 48 */ beq lbl_802EF610 +/* 802EF5CC 002EC52C 3C 80 80 3F */ lis r4, lbl_803ECFE4@ha +/* 802EF5D0 002EC530 7F E5 FB 78 */ mr r5, r31 +/* 802EF5D4 002EC534 38 04 CF E4 */ addi r0, r4, lbl_803ECFE4@l +/* 802EF5D8 002EC538 3C 60 80 3F */ lis r3, lbl_803ECFC0@ha +/* 802EF5DC 002EC53C 90 1F 00 00 */ stw r0, 0(r31) +/* 802EF5E0 002EC540 38 03 CF C0 */ addi r0, r3, lbl_803ECFC0@l +/* 802EF5E4 002EC544 3B 65 00 04 */ addi r27, r5, 4 +/* 802EF5E8 002EC548 7F A4 EB 78 */ mr r4, r29 +/* 802EF5EC 002EC54C 90 1F 00 00 */ stw r0, 0(r31) +/* 802EF5F0 002EC550 7F 63 DB 78 */ mr r3, r27 +/* 802EF5F4 002EC554 48 05 18 B5 */ bl __ct__6CTokenFRC6CToken +/* 802EF5F8 002EC558 80 1D 00 08 */ lwz r0, 8(r29) +/* 802EF5FC 002EC55C 7F 63 DB 78 */ mr r3, r27 +/* 802EF600 002EC560 90 1B 00 08 */ stw r0, 8(r27) +/* 802EF604 002EC564 48 05 17 81 */ bl Lock__6CTokenFv +/* 802EF608 002EC568 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802EF60C 002EC56C 90 1B 00 0C */ stw r0, 0xc(r27) +lbl_802EF610: +/* 802EF610 002EC570 3C 60 80 3F */ lis r3, lbl_803ED508@ha +/* 802EF614 002EC574 7C 9F 00 D0 */ neg r4, r31 +/* 802EF618 002EC578 38 03 D5 08 */ addi r0, r3, lbl_803ED508@l +/* 802EF61C 002EC57C C0 22 C6 78 */ lfs f1, lbl_805AE398@sda21(r2) +/* 802EF620 002EC580 7C 84 FB 78 */ or r4, r4, r31 +/* 802EF624 002EC584 3C 60 80 3F */ lis r3, lbl_803ED008@ha +/* 802EF628 002EC588 90 1C 00 00 */ stw r0, 0(r28) +/* 802EF62C 002EC58C 38 03 D0 08 */ addi r0, r3, lbl_803ED008@l +/* 802EF630 002EC590 54 84 0F FE */ srwi r4, r4, 0x1f +/* 802EF634 002EC594 38 7C 00 0C */ addi r3, r28, 0xc +/* 802EF638 002EC598 90 1C 00 00 */ stw r0, 0(r28) +/* 802EF63C 002EC59C 38 00 00 00 */ li r0, 0 +/* 802EF640 002EC5A0 98 81 00 0C */ stb r4, 0xc(r1) +/* 802EF644 002EC5A4 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802EF648 002EC5A8 98 01 00 0C */ stb r0, 0xc(r1) +/* 802EF64C 002EC5AC 93 FC 00 04 */ stw r31, 4(r28) +/* 802EF650 002EC5B0 48 05 97 9D */ bl __ct__13CCharAnimTimeFf +/* 802EF654 002EC5B4 38 60 00 00 */ li r3, 0 +/* 802EF658 002EC5B8 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802EF65C 002EC5BC 90 7C 00 28 */ stw r3, 0x28(r28) +/* 802EF660 002EC5C0 28 00 00 00 */ cmplwi r0, 0 +/* 802EF664 002EC5C4 90 7C 00 2C */ stw r3, 0x2c(r28) +/* 802EF668 002EC5C8 90 7C 00 30 */ stw r3, 0x30(r28) +/* 802EF66C 002EC5CC 90 7C 00 38 */ stw r3, 0x38(r28) +/* 802EF670 002EC5D0 90 7C 00 3C */ stw r3, 0x3c(r28) +/* 802EF674 002EC5D4 90 7C 00 40 */ stw r3, 0x40(r28) +/* 802EF678 002EC5D8 90 7C 00 48 */ stw r3, 0x48(r28) +/* 802EF67C 002EC5DC 90 7C 00 4C */ stw r3, 0x4c(r28) +/* 802EF680 002EC5E0 90 7C 00 50 */ stw r3, 0x50(r28) +/* 802EF684 002EC5E4 41 82 00 20 */ beq lbl_802EF6A4 +/* 802EF688 002EC5E8 7F E3 FB 79 */ or. r3, r31, r31 +/* 802EF68C 002EC5EC 41 82 00 18 */ beq lbl_802EF6A4 +/* 802EF690 002EC5F0 81 83 00 00 */ lwz r12, 0(r3) +/* 802EF694 002EC5F4 38 80 00 01 */ li r4, 1 +/* 802EF698 002EC5F8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802EF69C 002EC5FC 7D 89 03 A6 */ mtctr r12 +/* 802EF6A0 002EC600 4E 80 04 21 */ bctrl +lbl_802EF6A4: +/* 802EF6A4 002EC604 3C 60 80 3F */ lis r3, lbl_803ECF58@ha +/* 802EF6A8 002EC608 3B 7C 00 54 */ addi r27, r28, 0x54 +/* 802EF6AC 002EC60C 38 03 CF 58 */ addi r0, r3, lbl_803ECF58@l +/* 802EF6B0 002EC610 7F A4 EB 78 */ mr r4, r29 +/* 802EF6B4 002EC614 90 1C 00 00 */ stw r0, 0(r28) +/* 802EF6B8 002EC618 7F 63 DB 78 */ mr r3, r27 +/* 802EF6BC 002EC61C 48 05 17 ED */ bl __ct__6CTokenFRC6CToken +/* 802EF6C0 002EC620 80 1D 00 08 */ lwz r0, 8(r29) +/* 802EF6C4 002EC624 7F 63 DB 78 */ mr r3, r27 +/* 802EF6C8 002EC628 90 1B 00 08 */ stw r0, 8(r27) +/* 802EF6CC 002EC62C 48 05 16 B9 */ bl Lock__6CTokenFv +/* 802EF6D0 002EC630 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802EF6D4 002EC634 7F C6 F3 78 */ mr r6, r30 +/* 802EF6D8 002EC638 38 61 00 14 */ addi r3, r1, 0x14 +/* 802EF6DC 002EC63C 38 A1 00 08 */ addi r5, r1, 8 +/* 802EF6E0 002EC640 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802EF6E4 002EC644 83 BC 00 60 */ lwz r29, 0x60(r28) +/* 802EF6E8 002EC648 88 1D 00 1C */ lbz r0, 0x1c(r29) +/* 802EF6EC 002EC64C 7F A4 EB 78 */ mr r4, r29 +/* 802EF6F0 002EC650 98 01 00 08 */ stb r0, 8(r1) +/* 802EF6F4 002EC654 4B FF D7 99 */ bl GetOffset__11CAnimSourceCFRC6CSegIdRC13CCharAnimTime +/* 802EF6F8 002EC658 80 BD 00 04 */ lwz r5, 4(r29) +/* 802EF6FC 002EC65C 38 00 00 00 */ li r0, 0 +/* 802EF700 002EC660 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802EF704 002EC664 7F 83 E3 78 */ mr r3, r28 +/* 802EF708 002EC668 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 802EF70C 002EC66C 7F C4 F3 78 */ mr r4, r30 +/* 802EF710 002EC670 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802EF714 002EC674 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802EF718 002EC678 90 A1 00 24 */ stw r5, 0x24(r1) +/* 802EF71C 002EC67C D0 1C 00 64 */ stfs f0, 0x64(r28) +/* 802EF720 002EC680 90 BC 00 68 */ stw r5, 0x68(r28) +/* 802EF724 002EC684 D0 7C 00 6C */ stfs f3, 0x6c(r28) +/* 802EF728 002EC688 D0 5C 00 70 */ stfs f2, 0x70(r28) +/* 802EF72C 002EC68C D0 3C 00 74 */ stfs f1, 0x74(r28) +/* 802EF730 002EC690 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802EF734 002EC694 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802EF738 002EC698 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802EF73C 002EC69C 98 01 00 34 */ stb r0, 0x34(r1) +/* 802EF740 002EC6A0 98 1C 00 78 */ stb r0, 0x78(r28) +/* 802EF744 002EC6A4 48 00 01 6D */ bl PostConstruct__21CAnimSourceReaderBaseFRC13CCharAnimTime +/* 802EF748 002EC6A8 7F 83 E3 78 */ mr r3, r28 +/* 802EF74C 002EC6AC BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802EF750 002EC6B0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802EF754 002EC6B4 7C 08 03 A6 */ mtlr r0 +/* 802EF758 002EC6B8 38 21 00 50 */ addi r1, r1, 0x50 +/* 802EF75C 002EC6BC 4E 80 00 20 */ blr + +.global __dt__15CAnimSourceInfoFv +__dt__15CAnimSourceInfoFv: +/* 802EF760 002EC6C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF764 002EC6C4 7C 08 02 A6 */ mflr r0 +/* 802EF768 002EC6C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF76C 002EC6CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EF770 002EC6D0 7C 9F 23 78 */ mr r31, r4 +/* 802EF774 002EC6D4 93 C1 00 08 */ stw r30, 8(r1) +/* 802EF778 002EC6D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802EF77C 002EC6DC 41 82 00 58 */ beq lbl_802EF7D4 +/* 802EF780 002EC6E0 3C 60 80 3F */ lis r3, lbl_803ECFC0@ha +/* 802EF784 002EC6E4 34 1E 00 04 */ addic. r0, r30, 4 +/* 802EF788 002EC6E8 38 03 CF C0 */ addi r0, r3, lbl_803ECFC0@l +/* 802EF78C 002EC6EC 90 1E 00 00 */ stw r0, 0(r30) +/* 802EF790 002EC6F0 41 82 00 20 */ beq lbl_802EF7B0 +/* 802EF794 002EC6F4 34 1E 00 04 */ addic. r0, r30, 4 +/* 802EF798 002EC6F8 41 82 00 18 */ beq lbl_802EF7B0 +/* 802EF79C 002EC6FC 34 1E 00 04 */ addic. r0, r30, 4 +/* 802EF7A0 002EC700 41 82 00 10 */ beq lbl_802EF7B0 +/* 802EF7A4 002EC704 38 7E 00 04 */ addi r3, r30, 4 +/* 802EF7A8 002EC708 38 80 00 00 */ li r4, 0 +/* 802EF7AC 002EC70C 48 05 16 95 */ bl __dt__6CTokenFv +lbl_802EF7B0: +/* 802EF7B0 002EC710 28 1E 00 00 */ cmplwi r30, 0 +/* 802EF7B4 002EC714 41 82 00 10 */ beq lbl_802EF7C4 +/* 802EF7B8 002EC718 3C 60 80 3F */ lis r3, lbl_803ECFE4@ha +/* 802EF7BC 002EC71C 38 03 CF E4 */ addi r0, r3, lbl_803ECFE4@l +/* 802EF7C0 002EC720 90 1E 00 00 */ stw r0, 0(r30) +lbl_802EF7C4: +/* 802EF7C4 002EC724 7F E0 07 35 */ extsh. r0, r31 +/* 802EF7C8 002EC728 40 81 00 0C */ ble lbl_802EF7D4 +/* 802EF7CC 002EC72C 7F C3 F3 78 */ mr r3, r30 +/* 802EF7D0 002EC730 48 02 61 61 */ bl Free__7CMemoryFPCv +lbl_802EF7D4: +/* 802EF7D4 002EC734 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF7D8 002EC738 7F C3 F3 78 */ mr r3, r30 +/* 802EF7DC 002EC73C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802EF7E0 002EC740 83 C1 00 08 */ lwz r30, 8(r1) +/* 802EF7E4 002EC744 7C 08 03 A6 */ mtlr r0 +/* 802EF7E8 002EC748 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF7EC 002EC74C 4E 80 00 20 */ blr + +.global HasPOIData__15CAnimSourceInfoCFv +HasPOIData__15CAnimSourceInfoCFv: +/* 802EF7F0 002EC750 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802EF7F4 002EC754 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 802EF7F8 002EC758 7C 03 00 D0 */ neg r0, r3 +/* 802EF7FC 002EC75C 7C 00 1B 78 */ or r0, r0, r3 +/* 802EF800 002EC760 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802EF804 002EC764 4E 80 00 20 */ blr + +.global GetBoolPOIStream__15CAnimSourceInfoCFv +GetBoolPOIStream__15CAnimSourceInfoCFv: +/* 802EF808 002EC768 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF80C 002EC76C 7C 08 02 A6 */ mflr r0 +/* 802EF810 002EC770 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF814 002EC774 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802EF818 002EC778 4B FF D3 99 */ bl GetBoolPOIStream__11CAnimSourceCFv +/* 802EF81C 002EC77C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF820 002EC780 7C 08 03 A6 */ mtlr r0 +/* 802EF824 002EC784 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF828 002EC788 4E 80 00 20 */ blr + +.global GetInt32POIStream__15CAnimSourceInfoCFv +GetInt32POIStream__15CAnimSourceInfoCFv: +/* 802EF82C 002EC78C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF830 002EC790 7C 08 02 A6 */ mflr r0 +/* 802EF834 002EC794 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF838 002EC798 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802EF83C 002EC79C 4B FF D3 65 */ bl GetInt32POIStream__11CAnimSourceCFv +/* 802EF840 002EC7A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF844 002EC7A4 7C 08 03 A6 */ mtlr r0 +/* 802EF848 002EC7A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF84C 002EC7AC 4E 80 00 20 */ blr + +.global GetParticlePOIStream__15CAnimSourceInfoCFv +GetParticlePOIStream__15CAnimSourceInfoCFv: +/* 802EF850 002EC7B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF854 002EC7B4 7C 08 02 A6 */ mflr r0 +/* 802EF858 002EC7B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF85C 002EC7BC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802EF860 002EC7C0 4B FF D3 31 */ bl GetParticlePOIStream__11CAnimSourceCFv +/* 802EF864 002EC7C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF868 002EC7C8 7C 08 03 A6 */ mtlr r0 +/* 802EF86C 002EC7CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF870 002EC7D0 4E 80 00 20 */ blr + +.global GetSoundPOIStream__15CAnimSourceInfoCFv +GetSoundPOIStream__15CAnimSourceInfoCFv: +/* 802EF874 002EC7D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802EF878 002EC7D8 7C 08 02 A6 */ mflr r0 +/* 802EF87C 002EC7DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802EF880 002EC7E0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802EF884 002EC7E4 4B FF D2 FD */ bl GetSoundPOIStream__11CAnimSourceCFv +/* 802EF888 002EC7E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802EF88C 002EC7EC 7C 08 03 A6 */ mtlr r0 +/* 802EF890 002EC7F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802EF894 002EC7F4 4E 80 00 20 */ blr + +.global GetAnimationDuration__15CAnimSourceInfoCFv +GetAnimationDuration__15CAnimSourceInfoCFv: +/* 802EF898 002EC7F8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802EF89C 002EC7FC C0 04 00 00 */ lfs f0, 0(r4) +/* 802EF8A0 002EC800 D0 03 00 00 */ stfs f0, 0(r3) +/* 802EF8A4 002EC804 80 04 00 04 */ lwz r0, 4(r4) +/* 802EF8A8 002EC808 90 03 00 04 */ stw r0, 4(r3) +/* 802EF8AC 002EC80C 4E 80 00 20 */ blr + +.global PostConstruct__21CAnimSourceReaderBaseFRC13CCharAnimTime +PostConstruct__21CAnimSourceReaderBaseFRC13CCharAnimTime: +/* 802EF8B0 002EC810 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 802EF8B4 002EC814 7C 08 02 A6 */ mflr r0 +/* 802EF8B8 002EC818 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 802EF8BC 002EC81C 38 00 00 00 */ li r0, 0 +/* 802EF8C0 002EC820 BE E1 01 8C */ stmw r23, 0x18c(r1) +/* 802EF8C4 002EC824 7C 7F 1B 78 */ mr r31, r3 +/* 802EF8C8 002EC828 7C 9D 23 78 */ mr r29, r4 +/* 802EF8CC 002EC82C 90 03 00 14 */ stw r0, 0x14(r3) +/* 802EF8D0 002EC830 90 03 00 18 */ stw r0, 0x18(r3) +/* 802EF8D4 002EC834 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802EF8D8 002EC838 90 03 00 20 */ stw r0, 0x20(r3) +/* 802EF8DC 002EC83C 83 63 00 04 */ lwz r27, 4(r3) +/* 802EF8E0 002EC840 81 9B 00 00 */ lwz r12, 0(r27) +/* 802EF8E4 002EC844 7F 63 DB 78 */ mr r3, r27 +/* 802EF8E8 002EC848 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EF8EC 002EC84C 7D 89 03 A6 */ mtctr r12 +/* 802EF8F0 002EC850 4E 80 04 21 */ bctrl +/* 802EF8F4 002EC854 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EF8F8 002EC858 41 82 05 14 */ beq lbl_802EFE0C +/* 802EF8FC 002EC85C 7F E4 FB 78 */ mr r4, r31 +/* 802EF900 002EC860 38 61 01 10 */ addi r3, r1, 0x110 +/* 802EF904 002EC864 48 00 0B 39 */ bl GetUniqueBoolPOIs__21CAnimSourceReaderBaseCFv +/* 802EF908 002EC868 88 81 01 10 */ lbz r4, 0x110(r1) +/* 802EF90C 002EC86C 38 00 00 00 */ li r0, 0 +/* 802EF910 002EC870 88 C1 01 11 */ lbz r6, 0x111(r1) +/* 802EF914 002EC874 38 61 01 4C */ addi r3, r1, 0x14c +/* 802EF918 002EC878 80 A1 01 14 */ lwz r5, 0x114(r1) +/* 802EF91C 002EC87C 3B C1 01 54 */ addi r30, r1, 0x154 +/* 802EF920 002EC880 98 81 01 4C */ stb r4, 0x14c(r1) +/* 802EF924 002EC884 80 81 01 20 */ lwz r4, 0x120(r1) +/* 802EF928 002EC888 98 C1 01 4D */ stb r6, 0x14d(r1) +/* 802EF92C 002EC88C 90 A1 01 50 */ stw r5, 0x150(r1) +/* 802EF930 002EC890 90 01 01 54 */ stw r0, 0x154(r1) +/* 802EF934 002EC894 90 01 01 58 */ stw r0, 0x158(r1) +/* 802EF938 002EC898 90 01 01 5C */ stw r0, 0x15c(r1) +/* 802EF93C 002EC89C 4B FF E1 D9 */ bl "copy_from__Q24rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFB40 002ECAA0 88 0D 9B D0 */ lbz r0, lbl_805A8790@sda21(r13) +/* 802EFB44 002ECAA4 7F 24 CB 78 */ mr r4, r25 +/* 802EFB48 002ECAA8 38 7F 00 24 */ addi r3, r31, 0x24 +/* 802EFB4C 002ECAAC 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 802EFB50 002ECAB0 98 01 00 E4 */ stb r0, 0xe4(r1) +/* 802EFB54 002ECAB4 48 00 05 39 */ bl sub_802f008c +/* 802EFB58 002ECAB8 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802EFB5C 002ECABC 48 04 DF 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFB60 002ECAC0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802EFB64 002ECAC4 48 04 DF 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFB68 002ECAC8 3C 80 80 3D */ lis r4, lbl_803D6DE8@ha +/* 802EFB6C 002ECACC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802EFB70 002ECAD0 38 84 6D E8 */ addi r4, r4, lbl_803D6DE8@l +/* 802EFB74 002ECAD4 4B D1 51 45 */ bl string_l__4rstlFPCc +/* 802EFB78 002ECAD8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802EFB7C 002ECADC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802EFB80 002ECAE0 48 04 E5 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFB84 002ECAE4 80 0D 9B D4 */ lwz r0, lbl_805A8794@sda21(r13) +/* 802EFB88 002ECAE8 7F 04 C3 78 */ mr r4, r24 +/* 802EFB8C 002ECAEC 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802EFB90 002ECAF0 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 802EFB94 002ECAF4 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 802EFB98 002ECAF8 48 00 04 15 */ bl sub_802effac +/* 802EFB9C 002ECAFC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802EFBA0 002ECB00 48 04 DF 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFBA4 002ECB04 38 61 00 20 */ addi r3, r1, 0x20 +/* 802EFBA8 002ECB08 48 04 DF 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFBAC 002ECB0C 3C 80 80 3D */ lis r4, lbl_803D6DE8@ha +/* 802EFBB0 002ECB10 38 61 00 10 */ addi r3, r1, 0x10 +/* 802EFBB4 002ECB14 38 84 6D E8 */ addi r4, r4, lbl_803D6DE8@l +/* 802EFBB8 002ECB18 4B D1 51 01 */ bl string_l__4rstlFPCc +/* 802EFBBC 002ECB1C 38 61 00 AC */ addi r3, r1, 0xac +/* 802EFBC0 002ECB20 38 81 00 10 */ addi r4, r1, 0x10 +/* 802EFBC4 002ECB24 48 04 E5 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFBC8 002ECB28 80 0D 9B D8 */ lwz r0, lbl_805A8798@sda21(r13) +/* 802EFBCC 002ECB2C 7E E4 BB 78 */ mr r4, r23 +/* 802EFBD0 002ECB30 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802EFBD4 002ECB34 38 A1 00 AC */ addi r5, r1, 0xac +/* 802EFBD8 002ECB38 90 01 00 BC */ stw r0, 0xbc(r1) +/* 802EFBDC 002ECB3C 48 00 02 F1 */ bl sub_802efecc +/* 802EFBE0 002ECB40 38 61 00 AC */ addi r3, r1, 0xac +/* 802EFBE4 002ECB44 48 04 DE FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFBE8 002ECB48 38 61 00 10 */ addi r3, r1, 0x10 +/* 802EFBEC 002ECB4C 48 04 DE F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFBF0 002ECB50 83 01 01 54 */ lwz r24, 0x154(r1) +/* 802EFBF4 002ECB54 48 00 00 68 */ b lbl_802EFC5C +lbl_802EFBF8: +/* 802EFBF8 002ECB58 38 61 00 60 */ addi r3, r1, 0x60 +/* 802EFBFC 002ECB5C 38 98 00 10 */ addi r4, r24, 0x10 +/* 802EFC00 002ECB60 48 04 E5 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFC04 002ECB64 82 F8 00 20 */ lwz r23, 0x20(r24) +/* 802EFC08 002ECB68 38 61 00 98 */ addi r3, r1, 0x98 +/* 802EFC0C 002ECB6C 38 81 00 60 */ addi r4, r1, 0x60 +/* 802EFC10 002ECB70 48 04 E5 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFC14 002ECB74 88 6D 9B DC */ lbz r3, lbl_805A879C@sda21(r13) +/* 802EFC18 002ECB78 1C 17 00 14 */ mulli r0, r23, 0x14 +/* 802EFC1C 002ECB7C 38 81 00 98 */ addi r4, r1, 0x98 +/* 802EFC20 002ECB80 98 61 00 A8 */ stb r3, 0xa8(r1) +/* 802EFC24 002ECB84 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802EFC28 002ECB88 7E E3 02 14 */ add r23, r3, r0 +/* 802EFC2C 002ECB8C 7E E3 BB 78 */ mr r3, r23 +/* 802EFC30 002ECB90 48 04 E1 2D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFC34 002ECB94 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 802EFC38 002ECB98 38 61 00 98 */ addi r3, r1, 0x98 +/* 802EFC3C 002ECB9C 98 17 00 10 */ stb r0, 0x10(r23) +/* 802EFC40 002ECBA0 48 04 DE A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFC44 002ECBA4 7F C3 F3 78 */ mr r3, r30 +/* 802EFC48 002ECBA8 7F 04 C3 78 */ mr r4, r24 +/* 802EFC4C 002ECBAC 48 04 C9 95 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 802EFC50 002ECBB0 7C 78 1B 78 */ mr r24, r3 +/* 802EFC54 002ECBB4 38 61 00 60 */ addi r3, r1, 0x60 +/* 802EFC58 002ECBB8 48 04 DE 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EFC5C: +/* 802EFC5C 002ECBBC 28 18 00 00 */ cmplwi r24, 0 +/* 802EFC60 002ECBC0 38 00 00 00 */ li r0, 0 +/* 802EFC64 002ECBC4 40 82 00 0C */ bne lbl_802EFC70 +/* 802EFC68 002ECBC8 7C 1E F0 40 */ cmplw r30, r30 +/* 802EFC6C 002ECBCC 41 82 00 08 */ beq lbl_802EFC74 +lbl_802EFC70: +/* 802EFC70 002ECBD0 38 00 00 01 */ li r0, 1 +lbl_802EFC74: +/* 802EFC74 002ECBD4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802EFC78 002ECBD8 40 82 FF 80 */ bne lbl_802EFBF8 +/* 802EFC7C 002ECBDC 83 01 01 40 */ lwz r24, 0x140(r1) +/* 802EFC80 002ECBE0 48 00 00 68 */ b lbl_802EFCE8 +lbl_802EFC84: +/* 802EFC84 002ECBE4 38 61 00 50 */ addi r3, r1, 0x50 +/* 802EFC88 002ECBE8 38 98 00 10 */ addi r4, r24, 0x10 +/* 802EFC8C 002ECBEC 48 04 E4 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFC90 002ECBF0 82 F8 00 20 */ lwz r23, 0x20(r24) +/* 802EFC94 002ECBF4 38 61 00 84 */ addi r3, r1, 0x84 +/* 802EFC98 002ECBF8 38 81 00 50 */ addi r4, r1, 0x50 +/* 802EFC9C 002ECBFC 48 04 E4 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFCA0 002ECC00 80 6D 9B E0 */ lwz r3, lbl_805A87A0@sda21(r13) +/* 802EFCA4 002ECC04 1C 17 00 14 */ mulli r0, r23, 0x14 +/* 802EFCA8 002ECC08 38 81 00 84 */ addi r4, r1, 0x84 +/* 802EFCAC 002ECC0C 90 61 00 94 */ stw r3, 0x94(r1) +/* 802EFCB0 002ECC10 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 802EFCB4 002ECC14 7E E3 02 14 */ add r23, r3, r0 +/* 802EFCB8 002ECC18 7E E3 BB 78 */ mr r3, r23 +/* 802EFCBC 002ECC1C 48 04 E0 A1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFCC0 002ECC20 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802EFCC4 002ECC24 38 61 00 84 */ addi r3, r1, 0x84 +/* 802EFCC8 002ECC28 90 17 00 10 */ stw r0, 0x10(r23) +/* 802EFCCC 002ECC2C 48 04 DE 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFCD0 002ECC30 7F 83 E3 78 */ mr r3, r28 +/* 802EFCD4 002ECC34 7F 04 C3 78 */ mr r4, r24 +/* 802EFCD8 002ECC38 48 04 C9 09 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 802EFCDC 002ECC3C 7C 78 1B 78 */ mr r24, r3 +/* 802EFCE0 002ECC40 38 61 00 50 */ addi r3, r1, 0x50 +/* 802EFCE4 002ECC44 48 04 DD FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EFCE8: +/* 802EFCE8 002ECC48 28 18 00 00 */ cmplwi r24, 0 +/* 802EFCEC 002ECC4C 38 00 00 00 */ li r0, 0 +/* 802EFCF0 002ECC50 40 82 00 0C */ bne lbl_802EFCFC +/* 802EFCF4 002ECC54 7C 1C E0 40 */ cmplw r28, r28 +/* 802EFCF8 002ECC58 41 82 00 08 */ beq lbl_802EFD00 +lbl_802EFCFC: +/* 802EFCFC 002ECC5C 38 00 00 01 */ li r0, 1 +lbl_802EFD00: +/* 802EFD00 002ECC60 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802EFD04 002ECC64 40 82 FF 80 */ bne lbl_802EFC84 +/* 802EFD08 002ECC68 83 01 01 2C */ lwz r24, 0x12c(r1) +/* 802EFD0C 002ECC6C 48 00 00 68 */ b lbl_802EFD74 +lbl_802EFD10: +/* 802EFD10 002ECC70 38 61 00 40 */ addi r3, r1, 0x40 +/* 802EFD14 002ECC74 38 98 00 10 */ addi r4, r24, 0x10 +/* 802EFD18 002ECC78 48 04 E4 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFD1C 002ECC7C 82 F8 00 20 */ lwz r23, 0x20(r24) +/* 802EFD20 002ECC80 38 61 00 70 */ addi r3, r1, 0x70 +/* 802EFD24 002ECC84 38 81 00 40 */ addi r4, r1, 0x40 +/* 802EFD28 002ECC88 48 04 E4 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFD2C 002ECC8C 80 6D 9B E4 */ lwz r3, lbl_805A87A4@sda21(r13) +/* 802EFD30 002ECC90 1C 17 00 14 */ mulli r0, r23, 0x14 +/* 802EFD34 002ECC94 38 81 00 70 */ addi r4, r1, 0x70 +/* 802EFD38 002ECC98 90 61 00 80 */ stw r3, 0x80(r1) +/* 802EFD3C 002ECC9C 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 802EFD40 002ECCA0 7E E3 02 14 */ add r23, r3, r0 +/* 802EFD44 002ECCA4 7E E3 BB 78 */ mr r3, r23 +/* 802EFD48 002ECCA8 48 04 E0 15 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFD4C 002ECCAC 80 01 00 80 */ lwz r0, 0x80(r1) +/* 802EFD50 002ECCB0 38 61 00 70 */ addi r3, r1, 0x70 +/* 802EFD54 002ECCB4 90 17 00 10 */ stw r0, 0x10(r23) +/* 802EFD58 002ECCB8 48 04 DD 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802EFD5C 002ECCBC 7F 43 D3 78 */ mr r3, r26 +/* 802EFD60 002ECCC0 7F 04 C3 78 */ mr r4, r24 +/* 802EFD64 002ECCC4 48 04 C8 7D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 802EFD68 002ECCC8 7C 78 1B 78 */ mr r24, r3 +/* 802EFD6C 002ECCCC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802EFD70 002ECCD0 48 04 DD 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EFD74: +/* 802EFD74 002ECCD4 28 18 00 00 */ cmplwi r24, 0 +/* 802EFD78 002ECCD8 38 00 00 00 */ li r0, 0 +/* 802EFD7C 002ECCDC 40 82 00 0C */ bne lbl_802EFD88 +/* 802EFD80 002ECCE0 7C 1A D0 40 */ cmplw r26, r26 +/* 802EFD84 002ECCE4 41 82 00 08 */ beq lbl_802EFD8C +lbl_802EFD88: +/* 802EFD88 002ECCE8 38 00 00 01 */ li r0, 1 +lbl_802EFD8C: +/* 802EFD8C 002ECCEC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802EFD90 002ECCF0 40 82 FF 80 */ bne lbl_802EFD10 +/* 802EFD94 002ECCF4 80 81 01 34 */ lwz r4, 0x134(r1) +/* 802EFD98 002ECCF8 28 04 00 00 */ cmplwi r4, 0 +/* 802EFD9C 002ECCFC 41 82 00 0C */ beq lbl_802EFDA8 +/* 802EFDA0 002ECD00 38 61 01 24 */ addi r3, r1, 0x124 +/* 802EFDA4 002ECD04 4B FF DE 4D */ bl sub_802edbf0 +lbl_802EFDA8: +/* 802EFDA8 002ECD08 80 81 01 48 */ lwz r4, 0x148(r1) +/* 802EFDAC 002ECD0C 38 00 00 00 */ li r0, 0 +/* 802EFDB0 002ECD10 90 01 01 34 */ stw r0, 0x134(r1) +/* 802EFDB4 002ECD14 28 04 00 00 */ cmplwi r4, 0 +/* 802EFDB8 002ECD18 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802EFDBC 002ECD1C 90 01 01 30 */ stw r0, 0x130(r1) +/* 802EFDC0 002ECD20 90 01 01 28 */ stw r0, 0x128(r1) +/* 802EFDC4 002ECD24 41 82 00 0C */ beq lbl_802EFDD0 +/* 802EFDC8 002ECD28 38 61 01 38 */ addi r3, r1, 0x138 +/* 802EFDCC 002ECD2C 4B FF DE 25 */ bl sub_802edbf0 +lbl_802EFDD0: +/* 802EFDD0 002ECD30 80 81 01 5C */ lwz r4, 0x15c(r1) +/* 802EFDD4 002ECD34 38 00 00 00 */ li r0, 0 +/* 802EFDD8 002ECD38 90 01 01 48 */ stw r0, 0x148(r1) +/* 802EFDDC 002ECD3C 28 04 00 00 */ cmplwi r4, 0 +/* 802EFDE0 002ECD40 90 01 01 40 */ stw r0, 0x140(r1) +/* 802EFDE4 002ECD44 90 01 01 44 */ stw r0, 0x144(r1) +/* 802EFDE8 002ECD48 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802EFDEC 002ECD4C 41 82 00 0C */ beq lbl_802EFDF8 +/* 802EFDF0 002ECD50 38 61 01 4C */ addi r3, r1, 0x14c +/* 802EFDF4 002ECD54 4B FF DD FD */ bl sub_802edbf0 +lbl_802EFDF8: +/* 802EFDF8 002ECD58 38 00 00 00 */ li r0, 0 +/* 802EFDFC 002ECD5C 90 01 01 5C */ stw r0, 0x15c(r1) +/* 802EFE00 002ECD60 90 01 01 54 */ stw r0, 0x154(r1) +/* 802EFE04 002ECD64 90 01 01 58 */ stw r0, 0x158(r1) +/* 802EFE08 002ECD68 90 01 01 50 */ stw r0, 0x150(r1) +lbl_802EFE0C: +/* 802EFE0C 002ECD6C C0 1D 00 00 */ lfs f0, 0(r29) +/* 802EFE10 002ECD70 38 61 00 08 */ addi r3, r1, 8 +/* 802EFE14 002ECD74 80 1D 00 04 */ lwz r0, 4(r29) +/* 802EFE18 002ECD78 D0 01 00 08 */ stfs f0, 8(r1) +/* 802EFE1C 002ECD7C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802EFE20 002ECD80 48 05 85 CD */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802EFE24 002ECD84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EFE28 002ECD88 41 82 00 48 */ beq lbl_802EFE70 +/* 802EFE2C 002ECD8C 48 00 00 30 */ b lbl_802EFE5C +lbl_802EFE30: +/* 802EFE30 002ECD90 7F E4 FB 78 */ mr r4, r31 +/* 802EFE34 002ECD94 38 61 01 60 */ addi r3, r1, 0x160 +/* 802EFE38 002ECD98 81 9F 00 00 */ lwz r12, 0(r31) +/* 802EFE3C 002ECD9C 38 A1 00 08 */ addi r5, r1, 8 +/* 802EFE40 002ECDA0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802EFE44 002ECDA4 7D 89 03 A6 */ mtctr r12 +/* 802EFE48 002ECDA8 4E 80 04 21 */ bctrl +/* 802EFE4C 002ECDAC C0 01 01 60 */ lfs f0, 0x160(r1) +/* 802EFE50 002ECDB0 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802EFE54 002ECDB4 D0 01 00 08 */ stfs f0, 8(r1) +/* 802EFE58 002ECDB8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802EFE5C: +/* 802EFE5C 002ECDBC 38 61 00 08 */ addi r3, r1, 8 +/* 802EFE60 002ECDC0 48 05 85 8D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802EFE64 002ECDC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EFE68 002ECDC8 40 82 FF C8 */ bne lbl_802EFE30 +/* 802EFE6C 002ECDCC 48 00 00 4C */ b lbl_802EFEB8 +lbl_802EFE70: +/* 802EFE70 002ECDD0 7F 63 DB 78 */ mr r3, r27 +/* 802EFE74 002ECDD4 81 9B 00 00 */ lwz r12, 0(r27) +/* 802EFE78 002ECDD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802EFE7C 002ECDDC 7D 89 03 A6 */ mtctr r12 +/* 802EFE80 002ECDE0 4E 80 04 21 */ bctrl +/* 802EFE84 002ECDE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EFE88 002ECDE8 41 82 00 30 */ beq lbl_802EFEB8 +/* 802EFE8C 002ECDEC 7F E3 FB 78 */ mr r3, r31 +/* 802EFE90 002ECDF0 48 00 07 15 */ bl UpdatePOIStates__21CAnimSourceReaderBaseFv +/* 802EFE94 002ECDF4 7F A3 EB 78 */ mr r3, r29 +/* 802EFE98 002ECDF8 48 05 85 55 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802EFE9C 002ECDFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802EFEA0 002ECE00 40 82 00 18 */ bne lbl_802EFEB8 +/* 802EFEA4 002ECE04 38 00 00 00 */ li r0, 0 +/* 802EFEA8 002ECE08 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802EFEAC 002ECE0C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802EFEB0 002ECE10 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802EFEB4 002ECE14 90 1F 00 20 */ stw r0, 0x20(r31) +lbl_802EFEB8: +/* 802EFEB8 002ECE18 BA E1 01 8C */ lmw r23, 0x18c(r1) +/* 802EFEBC 002ECE1C 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 802EFEC0 002ECE20 7C 08 03 A6 */ mtlr r0 +/* 802EFEC4 002ECE24 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 802EFEC8 002ECE28 4E 80 00 20 */ blr + +.global sub_802efecc +sub_802efecc: +/* 802EFECC 002ECE2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EFED0 002ECE30 7C 08 02 A6 */ mflr r0 +/* 802EFED4 002ECE34 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EFED8 002ECE38 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802EFEDC 002ECE3C 7C 9B 23 78 */ mr r27, r4 +/* 802EFEE0 002ECE40 7C 7A 1B 78 */ mr r26, r3 +/* 802EFEE4 002ECE44 7C BC 2B 78 */ mr r28, r5 +/* 802EFEE8 002ECE48 80 03 00 04 */ lwz r0, 4(r3) +/* 802EFEEC 002ECE4C 7C 00 D8 00 */ cmpw r0, r27 +/* 802EFEF0 002ECE50 41 82 00 A8 */ beq lbl_802EFF98 +/* 802EFEF4 002ECE54 7C 1B 00 00 */ cmpw r27, r0 +/* 802EFEF8 002ECE58 40 81 00 54 */ ble lbl_802EFF4C +/* 802EFEFC 002ECE5C 48 00 18 39 */ bl "reserve__Q24rstl159vector,Q24rstl17rmemory_allocator>,Q213CParticleData13EParentedMode>,Q24rstl17rmemory_allocator>Fi" +/* 802EFF00 002ECE60 80 9A 00 04 */ lwz r4, 4(r26) +/* 802EFF04 002ECE64 3B E0 00 00 */ li r31, 0 +/* 802EFF08 002ECE68 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802EFF0C 002ECE6C 1C 04 00 14 */ mulli r0, r4, 0x14 +/* 802EFF10 002ECE70 7F A4 D8 50 */ subf r29, r4, r27 +/* 802EFF14 002ECE74 7F C3 02 14 */ add r30, r3, r0 +/* 802EFF18 002ECE78 48 00 00 28 */ b lbl_802EFF40 +lbl_802EFF1C: +/* 802EFF1C 002ECE7C 28 1E 00 00 */ cmplwi r30, 0 +/* 802EFF20 002ECE80 41 82 00 18 */ beq lbl_802EFF38 +/* 802EFF24 002ECE84 7F C3 F3 78 */ mr r3, r30 +/* 802EFF28 002ECE88 7F 84 E3 78 */ mr r4, r28 +/* 802EFF2C 002ECE8C 48 04 E2 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802EFF30 002ECE90 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 802EFF34 002ECE94 90 1E 00 10 */ stw r0, 0x10(r30) +lbl_802EFF38: +/* 802EFF38 002ECE98 3B FF 00 01 */ addi r31, r31, 1 +/* 802EFF3C 002ECE9C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802EFF40: +/* 802EFF40 002ECEA0 7C 1F E8 00 */ cmpw r31, r29 +/* 802EFF44 002ECEA4 41 80 FF D8 */ blt lbl_802EFF1C +/* 802EFF48 002ECEA8 48 00 00 4C */ b lbl_802EFF94 +lbl_802EFF4C: +/* 802EFF4C 002ECEAC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802EFF50 002ECEB0 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802EFF54 002ECEB4 7F E3 02 14 */ add r31, r3, r0 +/* 802EFF58 002ECEB8 1C 1B 00 14 */ mulli r0, r27, 0x14 +/* 802EFF5C 002ECEBC 93 E1 00 08 */ stw r31, 8(r1) +/* 802EFF60 002ECEC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802EFF64 002ECEC4 7F A3 02 14 */ add r29, r3, r0 +/* 802EFF68 002ECEC8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802EFF6C 002ECECC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802EFF70 002ECED0 48 00 00 1C */ b lbl_802EFF8C +lbl_802EFF74: +/* 802EFF74 002ECED4 28 1D 00 00 */ cmplwi r29, 0 +/* 802EFF78 002ECED8 41 82 00 10 */ beq lbl_802EFF88 +/* 802EFF7C 002ECEDC 41 82 00 0C */ beq lbl_802EFF88 +/* 802EFF80 002ECEE0 7F A3 EB 78 */ mr r3, r29 +/* 802EFF84 002ECEE4 48 04 DB 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802EFF88: +/* 802EFF88 002ECEE8 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_802EFF8C: +/* 802EFF8C 002ECEEC 7C 1D F8 40 */ cmplw r29, r31 +/* 802EFF90 002ECEF0 40 82 FF E4 */ bne lbl_802EFF74 +lbl_802EFF94: +/* 802EFF94 002ECEF4 93 7A 00 04 */ stw r27, 4(r26) +lbl_802EFF98: +/* 802EFF98 002ECEF8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802EFF9C 002ECEFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802EFFA0 002ECF00 7C 08 03 A6 */ mtlr r0 +/* 802EFFA4 002ECF04 38 21 00 30 */ addi r1, r1, 0x30 +/* 802EFFA8 002ECF08 4E 80 00 20 */ blr + +.global sub_802effac +sub_802effac: +/* 802EFFAC 002ECF0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802EFFB0 002ECF10 7C 08 02 A6 */ mflr r0 +/* 802EFFB4 002ECF14 90 01 00 34 */ stw r0, 0x34(r1) +/* 802EFFB8 002ECF18 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802EFFBC 002ECF1C 7C 9B 23 78 */ mr r27, r4 +/* 802EFFC0 002ECF20 7C 7A 1B 78 */ mr r26, r3 +/* 802EFFC4 002ECF24 7C BC 2B 78 */ mr r28, r5 +/* 802EFFC8 002ECF28 80 03 00 04 */ lwz r0, 4(r3) +/* 802EFFCC 002ECF2C 7C 00 D8 00 */ cmpw r0, r27 +/* 802EFFD0 002ECF30 41 82 00 A8 */ beq lbl_802F0078 +/* 802EFFD4 002ECF34 7C 1B 00 00 */ cmpw r27, r0 +/* 802EFFD8 002ECF38 40 81 00 54 */ ble lbl_802F002C +/* 802EFFDC 002ECF3C 48 00 16 55 */ bl "reserve__Q24rstl127vector,Q24rstl17rmemory_allocator>,i>,Q24rstl17rmemory_allocator>Fi" +/* 802EFFE0 002ECF40 80 9A 00 04 */ lwz r4, 4(r26) +/* 802EFFE4 002ECF44 3B E0 00 00 */ li r31, 0 +/* 802EFFE8 002ECF48 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802EFFEC 002ECF4C 1C 04 00 14 */ mulli r0, r4, 0x14 +/* 802EFFF0 002ECF50 7F A4 D8 50 */ subf r29, r4, r27 +/* 802EFFF4 002ECF54 7F C3 02 14 */ add r30, r3, r0 +/* 802EFFF8 002ECF58 48 00 00 28 */ b lbl_802F0020 +lbl_802EFFFC: +/* 802EFFFC 002ECF5C 28 1E 00 00 */ cmplwi r30, 0 +/* 802F0000 002ECF60 41 82 00 18 */ beq lbl_802F0018 +/* 802F0004 002ECF64 7F C3 F3 78 */ mr r3, r30 +/* 802F0008 002ECF68 7F 84 E3 78 */ mr r4, r28 +/* 802F000C 002ECF6C 48 04 E1 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F0010 002ECF70 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 802F0014 002ECF74 90 1E 00 10 */ stw r0, 0x10(r30) +lbl_802F0018: +/* 802F0018 002ECF78 3B FF 00 01 */ addi r31, r31, 1 +/* 802F001C 002ECF7C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802F0020: +/* 802F0020 002ECF80 7C 1F E8 00 */ cmpw r31, r29 +/* 802F0024 002ECF84 41 80 FF D8 */ blt lbl_802EFFFC +/* 802F0028 002ECF88 48 00 00 4C */ b lbl_802F0074 +lbl_802F002C: +/* 802F002C 002ECF8C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F0030 002ECF90 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802F0034 002ECF94 7F E3 02 14 */ add r31, r3, r0 +/* 802F0038 002ECF98 1C 1B 00 14 */ mulli r0, r27, 0x14 +/* 802F003C 002ECF9C 93 E1 00 08 */ stw r31, 8(r1) +/* 802F0040 002ECFA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F0044 002ECFA4 7F A3 02 14 */ add r29, r3, r0 +/* 802F0048 002ECFA8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802F004C 002ECFAC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F0050 002ECFB0 48 00 00 1C */ b lbl_802F006C +lbl_802F0054: +/* 802F0054 002ECFB4 28 1D 00 00 */ cmplwi r29, 0 +/* 802F0058 002ECFB8 41 82 00 10 */ beq lbl_802F0068 +/* 802F005C 002ECFBC 41 82 00 0C */ beq lbl_802F0068 +/* 802F0060 002ECFC0 7F A3 EB 78 */ mr r3, r29 +/* 802F0064 002ECFC4 48 04 DA 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F0068: +/* 802F0068 002ECFC8 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_802F006C: +/* 802F006C 002ECFCC 7C 1D F8 40 */ cmplw r29, r31 +/* 802F0070 002ECFD0 40 82 FF E4 */ bne lbl_802F0054 +lbl_802F0074: +/* 802F0074 002ECFD4 93 7A 00 04 */ stw r27, 4(r26) +lbl_802F0078: +/* 802F0078 002ECFD8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802F007C 002ECFDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F0080 002ECFE0 7C 08 03 A6 */ mtlr r0 +/* 802F0084 002ECFE4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F0088 002ECFE8 4E 80 00 20 */ blr + +.global sub_802f008c +sub_802f008c: +/* 802F008C 002ECFEC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F0090 002ECFF0 7C 08 02 A6 */ mflr r0 +/* 802F0094 002ECFF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F0098 002ECFF8 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802F009C 002ECFFC 7C 9B 23 78 */ mr r27, r4 +/* 802F00A0 002ED000 7C 7A 1B 78 */ mr r26, r3 +/* 802F00A4 002ED004 7C BC 2B 78 */ mr r28, r5 +/* 802F00A8 002ED008 80 03 00 04 */ lwz r0, 4(r3) +/* 802F00AC 002ED00C 7C 00 D8 00 */ cmpw r0, r27 +/* 802F00B0 002ED010 41 82 00 A8 */ beq lbl_802F0158 +/* 802F00B4 002ED014 7C 1B 00 00 */ cmpw r27, r0 +/* 802F00B8 002ED018 40 81 00 54 */ ble lbl_802F010C +/* 802F00BC 002ED01C 48 00 14 71 */ bl "reserve__Q24rstl127vector,Q24rstl17rmemory_allocator>,b>,Q24rstl17rmemory_allocator>Fi" +/* 802F00C0 002ED020 80 9A 00 04 */ lwz r4, 4(r26) +/* 802F00C4 002ED024 3B E0 00 00 */ li r31, 0 +/* 802F00C8 002ED028 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802F00CC 002ED02C 1C 04 00 14 */ mulli r0, r4, 0x14 +/* 802F00D0 002ED030 7F A4 D8 50 */ subf r29, r4, r27 +/* 802F00D4 002ED034 7F C3 02 14 */ add r30, r3, r0 +/* 802F00D8 002ED038 48 00 00 28 */ b lbl_802F0100 +lbl_802F00DC: +/* 802F00DC 002ED03C 28 1E 00 00 */ cmplwi r30, 0 +/* 802F00E0 002ED040 41 82 00 18 */ beq lbl_802F00F8 +/* 802F00E4 002ED044 7F C3 F3 78 */ mr r3, r30 +/* 802F00E8 002ED048 7F 84 E3 78 */ mr r4, r28 +/* 802F00EC 002ED04C 48 04 E0 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F00F0 002ED050 88 1C 00 10 */ lbz r0, 0x10(r28) +/* 802F00F4 002ED054 98 1E 00 10 */ stb r0, 0x10(r30) +lbl_802F00F8: +/* 802F00F8 002ED058 3B FF 00 01 */ addi r31, r31, 1 +/* 802F00FC 002ED05C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802F0100: +/* 802F0100 002ED060 7C 1F E8 00 */ cmpw r31, r29 +/* 802F0104 002ED064 41 80 FF D8 */ blt lbl_802F00DC +/* 802F0108 002ED068 48 00 00 4C */ b lbl_802F0154 +lbl_802F010C: +/* 802F010C 002ED06C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F0110 002ED070 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802F0114 002ED074 7F E3 02 14 */ add r31, r3, r0 +/* 802F0118 002ED078 1C 1B 00 14 */ mulli r0, r27, 0x14 +/* 802F011C 002ED07C 93 E1 00 08 */ stw r31, 8(r1) +/* 802F0120 002ED080 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F0124 002ED084 7F A3 02 14 */ add r29, r3, r0 +/* 802F0128 002ED088 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802F012C 002ED08C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F0130 002ED090 48 00 00 1C */ b lbl_802F014C +lbl_802F0134: +/* 802F0134 002ED094 28 1D 00 00 */ cmplwi r29, 0 +/* 802F0138 002ED098 41 82 00 10 */ beq lbl_802F0148 +/* 802F013C 002ED09C 41 82 00 0C */ beq lbl_802F0148 +/* 802F0140 002ED0A0 7F A3 EB 78 */ mr r3, r29 +/* 802F0144 002ED0A4 48 04 D9 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F0148: +/* 802F0148 002ED0A8 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_802F014C: +/* 802F014C 002ED0AC 7C 1D F8 40 */ cmplw r29, r31 +/* 802F0150 002ED0B0 40 82 FF E4 */ bne lbl_802F0134 +lbl_802F0154: +/* 802F0154 002ED0B4 93 7A 00 04 */ stw r27, 4(r26) +lbl_802F0158: +/* 802F0158 002ED0B8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802F015C 002ED0BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F0160 002ED0C0 7C 08 03 A6 */ mtlr r0 +/* 802F0164 002ED0C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F0168 002ED0C8 4E 80 00 20 */ blr + +.global GetUniqueParticlePOIs__21CAnimSourceReaderBaseCFv +GetUniqueParticlePOIs__21CAnimSourceReaderBaseCFv: +/* 802F016C 002ED0CC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802F0170 002ED0D0 7C 08 02 A6 */ mflr r0 +/* 802F0174 002ED0D4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F0178 002ED0D8 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 802F017C 002ED0DC 7C 7F 1B 78 */ mr r31, r3 +/* 802F0180 002ED0E0 80 64 00 04 */ lwz r3, 4(r4) +/* 802F0184 002ED0E4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F0188 002ED0E8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F018C 002ED0EC 7D 89 03 A6 */ mtctr r12 +/* 802F0190 002ED0F0 4E 80 04 21 */ bctrl +/* 802F0194 002ED0F4 7C 7E 1B 78 */ mr r30, r3 +/* 802F0198 002ED0F8 83 A3 00 04 */ lwz r29, 4(r3) +/* 802F019C 002ED0FC 3B 60 00 00 */ li r27, 0 +/* 802F01A0 002ED100 88 61 00 08 */ lbz r3, 8(r1) +/* 802F01A4 002ED104 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802F01A8 002ED108 3B 40 00 00 */ li r26, 0 +/* 802F01AC 002ED10C 98 61 00 30 */ stb r3, 0x30(r1) +/* 802F01B0 002ED110 98 01 00 31 */ stb r0, 0x31(r1) +/* 802F01B4 002ED114 93 61 00 34 */ stw r27, 0x34(r1) +/* 802F01B8 002ED118 93 61 00 38 */ stw r27, 0x38(r1) +/* 802F01BC 002ED11C 93 61 00 3C */ stw r27, 0x3c(r1) +/* 802F01C0 002ED120 93 61 00 40 */ stw r27, 0x40(r1) +/* 802F01C4 002ED124 48 00 00 50 */ b lbl_802F0214 +lbl_802F01C8: +/* 802F01C8 002ED128 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802F01CC 002ED12C 7C 80 DA 14 */ add r4, r0, r27 +/* 802F01D0 002ED130 88 04 00 28 */ lbz r0, 0x28(r4) +/* 802F01D4 002ED134 28 00 00 00 */ cmplwi r0, 0 +/* 802F01D8 002ED138 41 82 00 34 */ beq lbl_802F020C +/* 802F01DC 002ED13C 83 84 00 24 */ lwz r28, 0x24(r4) +/* 802F01E0 002ED140 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F01E4 002ED144 38 84 00 08 */ addi r4, r4, 8 +/* 802F01E8 002ED148 48 04 DF 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F01EC 002ED14C 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802F01F0 002ED150 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F01F4 002ED154 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802F01F8 002ED158 38 81 00 30 */ addi r4, r1, 0x30 +/* 802F01FC 002ED15C 38 C1 00 1C */ addi r6, r1, 0x1c +/* 802F0200 002ED160 4B FF DA 79 */ bl sub_802edc78 +/* 802F0204 002ED164 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F0208 002ED168 48 04 D8 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F020C: +/* 802F020C 002ED16C 3B 7B 00 5C */ addi r27, r27, 0x5c +/* 802F0210 002ED170 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802F0214: +/* 802F0214 002ED174 7C 1A E8 00 */ cmpw r26, r29 +/* 802F0218 002ED178 41 80 FF B0 */ blt lbl_802F01C8 +/* 802F021C 002ED17C 88 81 00 30 */ lbz r4, 0x30(r1) +/* 802F0220 002ED180 38 00 00 00 */ li r0, 0 +/* 802F0224 002ED184 7F E3 FB 78 */ mr r3, r31 +/* 802F0228 002ED188 98 9F 00 00 */ stb r4, 0(r31) +/* 802F022C 002ED18C 88 81 00 31 */ lbz r4, 0x31(r1) +/* 802F0230 002ED190 98 9F 00 01 */ stb r4, 1(r31) +/* 802F0234 002ED194 80 81 00 34 */ lwz r4, 0x34(r1) +/* 802F0238 002ED198 90 9F 00 04 */ stw r4, 4(r31) +/* 802F023C 002ED19C 90 1F 00 08 */ stw r0, 8(r31) +/* 802F0240 002ED1A0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802F0244 002ED1A4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802F0248 002ED1A8 80 81 00 40 */ lwz r4, 0x40(r1) +/* 802F024C 002ED1AC 4B FF D8 C9 */ bl "copy_from__Q24rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F0354 002ED2B4 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802F0358 002ED2B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F035C 002ED2BC 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802F0360 002ED2C0 38 81 00 30 */ addi r4, r1, 0x30 +/* 802F0364 002ED2C4 38 C1 00 1C */ addi r6, r1, 0x1c +/* 802F0368 002ED2C8 4B FF D9 11 */ bl sub_802edc78 +/* 802F036C 002ED2CC 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F0370 002ED2D0 48 04 D7 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F0374: +/* 802F0374 002ED2D4 3B 7B 00 4C */ addi r27, r27, 0x4c +/* 802F0378 002ED2D8 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802F037C: +/* 802F037C 002ED2DC 7C 1A E8 00 */ cmpw r26, r29 +/* 802F0380 002ED2E0 41 80 FF B0 */ blt lbl_802F0330 +/* 802F0384 002ED2E4 88 81 00 30 */ lbz r4, 0x30(r1) +/* 802F0388 002ED2E8 38 00 00 00 */ li r0, 0 +/* 802F038C 002ED2EC 7F E3 FB 78 */ mr r3, r31 +/* 802F0390 002ED2F0 98 9F 00 00 */ stb r4, 0(r31) +/* 802F0394 002ED2F4 88 81 00 31 */ lbz r4, 0x31(r1) +/* 802F0398 002ED2F8 98 9F 00 01 */ stb r4, 1(r31) +/* 802F039C 002ED2FC 80 81 00 34 */ lwz r4, 0x34(r1) +/* 802F03A0 002ED300 90 9F 00 04 */ stw r4, 4(r31) +/* 802F03A4 002ED304 90 1F 00 08 */ stw r0, 8(r31) +/* 802F03A8 002ED308 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802F03AC 002ED30C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802F03B0 002ED310 80 81 00 40 */ lwz r4, 0x40(r1) +/* 802F03B4 002ED314 4B FF D7 61 */ bl "copy_from__Q24rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F04BC 002ED41C 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802F04C0 002ED420 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F04C4 002ED424 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802F04C8 002ED428 38 81 00 30 */ addi r4, r1, 0x30 +/* 802F04CC 002ED42C 38 C1 00 1C */ addi r6, r1, 0x1c +/* 802F04D0 002ED430 4B FF D7 A9 */ bl sub_802edc78 +/* 802F04D4 002ED434 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F04D8 002ED438 48 04 D6 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F04DC: +/* 802F04DC 002ED43C 3B 7B 00 3C */ addi r27, r27, 0x3c +/* 802F04E0 002ED440 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802F04E4: +/* 802F04E4 002ED444 7C 1A E8 00 */ cmpw r26, r29 +/* 802F04E8 002ED448 41 80 FF B0 */ blt lbl_802F0498 +/* 802F04EC 002ED44C 88 81 00 30 */ lbz r4, 0x30(r1) +/* 802F04F0 002ED450 38 00 00 00 */ li r0, 0 +/* 802F04F4 002ED454 7F E3 FB 78 */ mr r3, r31 +/* 802F04F8 002ED458 98 9F 00 00 */ stb r4, 0(r31) +/* 802F04FC 002ED45C 88 81 00 31 */ lbz r4, 0x31(r1) +/* 802F0500 002ED460 98 9F 00 01 */ stb r4, 1(r31) +/* 802F0504 002ED464 80 81 00 34 */ lwz r4, 0x34(r1) +/* 802F0508 002ED468 90 9F 00 04 */ stw r4, 4(r31) +/* 802F050C 002ED46C 90 1F 00 08 */ stw r0, 8(r31) +/* 802F0510 002ED470 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802F0514 002ED474 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802F0518 002ED478 80 81 00 40 */ lwz r4, 0x40(r1) +/* 802F051C 002ED47C 4B FF D5 F9 */ bl "copy_from__Q24rstl451red_black_tree,Q24rstl17rmemory_allocator>,i>,Q24rstl83pair,Q24rstl17rmemory_allocator>,i>,0,Q24rstl102identity,Q24rstl17rmemory_allocator>,i>>,Q24rstl98less,Q24rstl17rmemory_allocator>,i>>,Q24rstl17rmemory_allocator>FPQ34rstl451red_black_tree,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F0664 002ED5C4 9A C1 00 40 */ stb r22, 0x40(r1) +/* 802F0668 002ED5C8 38 81 00 30 */ addi r4, r1, 0x30 +/* 802F066C 002ED5CC 80 17 00 30 */ lwz r0, 0x30(r23) +/* 802F0670 002ED5D0 7E C0 AA 14 */ add r22, r0, r21 +/* 802F0674 002ED5D4 7E C3 B3 78 */ mr r3, r22 +/* 802F0678 002ED5D8 48 04 D6 E5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F067C 002ED5DC 88 01 00 40 */ lbz r0, 0x40(r1) +/* 802F0680 002ED5E0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F0684 002ED5E4 98 16 00 10 */ stb r0, 0x10(r22) +/* 802F0688 002ED5E8 48 04 D4 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F068C: +/* 802F068C 002ED5EC 80 77 00 14 */ lwz r3, 0x14(r23) +/* 802F0690 002ED5F0 38 03 00 01 */ addi r0, r3, 1 +/* 802F0694 002ED5F4 90 17 00 14 */ stw r0, 0x14(r23) +lbl_802F0698: +/* 802F0698 002ED5F8 80 17 00 14 */ lwz r0, 0x14(r23) +/* 802F069C 002ED5FC 7C 00 D8 00 */ cmpw r0, r27 +/* 802F06A0 002ED600 40 80 00 90 */ bge lbl_802F0730 +/* 802F06A4 002ED604 1C 60 00 3C */ mulli r3, r0, 0x3c +/* 802F06A8 002ED608 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 802F06AC 002ED60C 38 97 00 0C */ addi r4, r23, 0xc +/* 802F06B0 002ED610 38 63 00 1C */ addi r3, r3, 0x1c +/* 802F06B4 002ED614 7C 60 1A 14 */ add r3, r0, r3 +/* 802F06B8 002ED618 48 05 7D ED */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F06BC 002ED61C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F06C0 002ED620 40 82 FF 70 */ bne lbl_802F0630 +/* 802F06C4 002ED624 48 00 00 6C */ b lbl_802F0730 +lbl_802F06C8: +/* 802F06C8 002ED628 80 17 00 18 */ lwz r0, 0x18(r23) +/* 802F06CC 002ED62C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802F06D0 002ED630 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802F06D4 002ED634 7C 63 02 14 */ add r3, r3, r0 +/* 802F06D8 002ED638 80 03 00 24 */ lwz r0, 0x24(r3) +/* 802F06DC 002ED63C 2C 00 00 00 */ cmpwi r0, 0 +/* 802F06E0 002ED640 41 80 00 44 */ blt lbl_802F0724 +/* 802F06E4 002ED644 1E A0 00 14 */ mulli r21, r0, 0x14 +/* 802F06E8 002ED648 80 17 00 40 */ lwz r0, 0x40(r23) +/* 802F06EC 002ED64C 82 C3 00 38 */ lwz r22, 0x38(r3) +/* 802F06F0 002ED650 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F06F4 002ED654 7C 80 AA 14 */ add r4, r0, r21 +/* 802F06F8 002ED658 48 04 DA 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F06FC 002ED65C 92 C1 00 2C */ stw r22, 0x2c(r1) +/* 802F0700 002ED660 38 81 00 1C */ addi r4, r1, 0x1c +/* 802F0704 002ED664 80 17 00 40 */ lwz r0, 0x40(r23) +/* 802F0708 002ED668 7E C0 AA 14 */ add r22, r0, r21 +/* 802F070C 002ED66C 7E C3 B3 78 */ mr r3, r22 +/* 802F0710 002ED670 48 04 D6 4D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F0714 002ED674 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802F0718 002ED678 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F071C 002ED67C 90 16 00 10 */ stw r0, 0x10(r22) +/* 802F0720 002ED680 48 04 D3 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F0724: +/* 802F0724 002ED684 80 77 00 18 */ lwz r3, 0x18(r23) +/* 802F0728 002ED688 38 03 00 01 */ addi r0, r3, 1 +/* 802F072C 002ED68C 90 17 00 18 */ stw r0, 0x18(r23) +lbl_802F0730: +/* 802F0730 002ED690 80 17 00 18 */ lwz r0, 0x18(r23) +/* 802F0734 002ED694 7C 00 D0 00 */ cmpw r0, r26 +/* 802F0738 002ED698 40 80 00 90 */ bge lbl_802F07C8 +/* 802F073C 002ED69C 1C 60 00 4C */ mulli r3, r0, 0x4c +/* 802F0740 002ED6A0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802F0744 002ED6A4 38 97 00 0C */ addi r4, r23, 0xc +/* 802F0748 002ED6A8 38 63 00 1C */ addi r3, r3, 0x1c +/* 802F074C 002ED6AC 7C 60 1A 14 */ add r3, r0, r3 +/* 802F0750 002ED6B0 48 05 7D 55 */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F0754 002ED6B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0758 002ED6B8 40 82 FF 70 */ bne lbl_802F06C8 +/* 802F075C 002ED6BC 48 00 00 6C */ b lbl_802F07C8 +lbl_802F0760: +/* 802F0760 002ED6C0 80 17 00 1C */ lwz r0, 0x1c(r23) +/* 802F0764 002ED6C4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F0768 002ED6C8 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802F076C 002ED6CC 7C 63 02 14 */ add r3, r3, r0 +/* 802F0770 002ED6D0 80 03 00 24 */ lwz r0, 0x24(r3) +/* 802F0774 002ED6D4 2C 00 00 00 */ cmpwi r0, 0 +/* 802F0778 002ED6D8 41 80 00 44 */ blt lbl_802F07BC +/* 802F077C 002ED6DC 1E A0 00 14 */ mulli r21, r0, 0x14 +/* 802F0780 002ED6E0 80 17 00 50 */ lwz r0, 0x50(r23) +/* 802F0784 002ED6E4 82 C3 00 58 */ lwz r22, 0x58(r3) +/* 802F0788 002ED6E8 38 61 00 08 */ addi r3, r1, 8 +/* 802F078C 002ED6EC 7C 80 AA 14 */ add r4, r0, r21 +/* 802F0790 002ED6F0 48 04 D9 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F0794 002ED6F4 92 C1 00 18 */ stw r22, 0x18(r1) +/* 802F0798 002ED6F8 38 81 00 08 */ addi r4, r1, 8 +/* 802F079C 002ED6FC 80 17 00 50 */ lwz r0, 0x50(r23) +/* 802F07A0 002ED700 7E C0 AA 14 */ add r22, r0, r21 +/* 802F07A4 002ED704 7E C3 B3 78 */ mr r3, r22 +/* 802F07A8 002ED708 48 04 D5 B5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F07AC 002ED70C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802F07B0 002ED710 38 61 00 08 */ addi r3, r1, 8 +/* 802F07B4 002ED714 90 16 00 10 */ stw r0, 0x10(r22) +/* 802F07B8 002ED718 48 04 D3 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F07BC: +/* 802F07BC 002ED71C 80 77 00 1C */ lwz r3, 0x1c(r23) +/* 802F07C0 002ED720 38 03 00 01 */ addi r0, r3, 1 +/* 802F07C4 002ED724 90 17 00 1C */ stw r0, 0x1c(r23) +lbl_802F07C8: +/* 802F07C8 002ED728 80 17 00 1C */ lwz r0, 0x1c(r23) +/* 802F07CC 002ED72C 7C 00 C8 00 */ cmpw r0, r25 +/* 802F07D0 002ED730 40 80 00 34 */ bge lbl_802F0804 +/* 802F07D4 002ED734 1C 60 00 5C */ mulli r3, r0, 0x5c +/* 802F07D8 002ED738 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802F07DC 002ED73C 38 97 00 0C */ addi r4, r23, 0xc +/* 802F07E0 002ED740 38 63 00 1C */ addi r3, r3, 0x1c +/* 802F07E4 002ED744 7C 60 1A 14 */ add r3, r0, r3 +/* 802F07E8 002ED748 48 05 7C BD */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F07EC 002ED74C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F07F0 002ED750 40 82 FF 70 */ bne lbl_802F0760 +/* 802F07F4 002ED754 48 00 00 10 */ b lbl_802F0804 +lbl_802F07F8: +/* 802F07F8 002ED758 80 77 00 20 */ lwz r3, 0x20(r23) +/* 802F07FC 002ED75C 38 03 00 01 */ addi r0, r3, 1 +/* 802F0800 002ED760 90 17 00 20 */ stw r0, 0x20(r23) +lbl_802F0804: +/* 802F0804 002ED764 80 17 00 20 */ lwz r0, 0x20(r23) +/* 802F0808 002ED768 7C 00 C0 00 */ cmpw r0, r24 +/* 802F080C 002ED76C 40 80 00 24 */ bge lbl_802F0830 +/* 802F0810 002ED770 1C 60 00 44 */ mulli r3, r0, 0x44 +/* 802F0814 002ED774 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802F0818 002ED778 38 97 00 0C */ addi r4, r23, 0xc +/* 802F081C 002ED77C 38 63 00 1C */ addi r3, r3, 0x1c +/* 802F0820 002ED780 7C 60 1A 14 */ add r3, r0, r3 +/* 802F0824 002ED784 48 05 7C 81 */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F0828 002ED788 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F082C 002ED78C 40 82 FF CC */ bne lbl_802F07F8 +lbl_802F0830: +/* 802F0830 002ED790 BA A1 00 54 */ lmw r21, 0x54(r1) +/* 802F0834 002ED794 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802F0838 002ED798 7C 08 03 A6 */ mtlr r0 +/* 802F083C 002ED79C 38 21 00 80 */ addi r1, r1, 0x80 +/* 802F0840 002ED7A0 4E 80 00 20 */ blr + +.global VGetParticlePOIState__21CAnimSourceReaderBaseCFPCc +VGetParticlePOIState__21CAnimSourceReaderBaseCFPCc: +/* 802F0844 002ED7A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F0848 002ED7A8 7C 08 02 A6 */ mflr r0 +/* 802F084C 002ED7AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F0850 002ED7B0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802F0854 002ED7B4 7C 7B 1B 78 */ mr r27, r3 +/* 802F0858 002ED7B8 7C 9C 23 78 */ mr r28, r4 +/* 802F085C 002ED7BC 3B A0 00 00 */ li r29, 0 +/* 802F0860 002ED7C0 3B C0 00 00 */ li r30, 0 +/* 802F0864 002ED7C4 83 E3 00 48 */ lwz r31, 0x48(r3) +/* 802F0868 002ED7C8 48 00 00 38 */ b lbl_802F08A0 +lbl_802F086C: +/* 802F086C 002ED7CC 80 1B 00 50 */ lwz r0, 0x50(r27) +/* 802F0870 002ED7D0 7F 84 E3 78 */ mr r4, r28 +/* 802F0874 002ED7D4 7C 60 F2 14 */ add r3, r0, r30 +/* 802F0878 002ED7D8 48 00 00 49 */ bl AreStringsEqual__21CAnimSourceReaderBaseFPCcPCc +/* 802F087C 002ED7DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0880 002ED7E0 41 82 00 18 */ beq lbl_802F0898 +/* 802F0884 002ED7E4 1C 7D 00 14 */ mulli r3, r29, 0x14 +/* 802F0888 002ED7E8 80 9B 00 50 */ lwz r4, 0x50(r27) +/* 802F088C 002ED7EC 38 03 00 10 */ addi r0, r3, 0x10 +/* 802F0890 002ED7F0 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802F0894 002ED7F4 48 00 00 18 */ b lbl_802F08AC +lbl_802F0898: +/* 802F0898 002ED7F8 3B DE 00 14 */ addi r30, r30, 0x14 +/* 802F089C 002ED7FC 3B BD 00 01 */ addi r29, r29, 1 +lbl_802F08A0: +/* 802F08A0 002ED800 7C 1D F8 00 */ cmpw r29, r31 +/* 802F08A4 002ED804 41 80 FF C8 */ blt lbl_802F086C +/* 802F08A8 002ED808 38 60 00 00 */ li r3, 0 +lbl_802F08AC: +/* 802F08AC 002ED80C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802F08B0 002ED810 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F08B4 002ED814 7C 08 03 A6 */ mtlr r0 +/* 802F08B8 002ED818 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F08BC 002ED81C 4E 80 00 20 */ blr + +.global AreStringsEqual__21CAnimSourceReaderBaseFPCcPCc +AreStringsEqual__21CAnimSourceReaderBaseFPCcPCc: +/* 802F08C0 002ED820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F08C4 002ED824 7C 08 02 A6 */ mflr r0 +/* 802F08C8 002ED828 38 A0 FF FF */ li r5, -1 +/* 802F08CC 002ED82C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F08D0 002ED830 4B D8 9B BD */ bl CompareStateString__10CPatternedFPCcPCci +/* 802F08D4 002ED834 7C 60 00 34 */ cntlzw r0, r3 +/* 802F08D8 002ED838 54 03 D9 7E */ srwi r3, r0, 5 +/* 802F08DC 002ED83C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F08E0 002ED840 7C 08 03 A6 */ mtlr r0 +/* 802F08E4 002ED844 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F08E8 002ED848 4E 80 00 20 */ blr + +.global VGetInt32POIState__21CAnimSourceReaderBaseCFPCc +VGetInt32POIState__21CAnimSourceReaderBaseCFPCc: +/* 802F08EC 002ED84C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F08F0 002ED850 7C 08 02 A6 */ mflr r0 +/* 802F08F4 002ED854 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F08F8 002ED858 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802F08FC 002ED85C 7C 7B 1B 78 */ mr r27, r3 +/* 802F0900 002ED860 7C 9C 23 78 */ mr r28, r4 +/* 802F0904 002ED864 3B A0 00 00 */ li r29, 0 +/* 802F0908 002ED868 3B C0 00 00 */ li r30, 0 +/* 802F090C 002ED86C 83 E3 00 38 */ lwz r31, 0x38(r3) +/* 802F0910 002ED870 48 00 00 38 */ b lbl_802F0948 +lbl_802F0914: +/* 802F0914 002ED874 80 1B 00 40 */ lwz r0, 0x40(r27) +/* 802F0918 002ED878 7F 84 E3 78 */ mr r4, r28 +/* 802F091C 002ED87C 7C 60 F2 14 */ add r3, r0, r30 +/* 802F0920 002ED880 4B FF FF A1 */ bl AreStringsEqual__21CAnimSourceReaderBaseFPCcPCc +/* 802F0924 002ED884 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0928 002ED888 41 82 00 18 */ beq lbl_802F0940 +/* 802F092C 002ED88C 1C 7D 00 14 */ mulli r3, r29, 0x14 +/* 802F0930 002ED890 80 9B 00 40 */ lwz r4, 0x40(r27) +/* 802F0934 002ED894 38 03 00 10 */ addi r0, r3, 0x10 +/* 802F0938 002ED898 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802F093C 002ED89C 48 00 00 18 */ b lbl_802F0954 +lbl_802F0940: +/* 802F0940 002ED8A0 3B DE 00 14 */ addi r30, r30, 0x14 +/* 802F0944 002ED8A4 3B BD 00 01 */ addi r29, r29, 1 +lbl_802F0948: +/* 802F0948 002ED8A8 7C 1D F8 00 */ cmpw r29, r31 +/* 802F094C 002ED8AC 41 80 FF C8 */ blt lbl_802F0914 +/* 802F0950 002ED8B0 38 60 00 00 */ li r3, 0 +lbl_802F0954: +/* 802F0954 002ED8B4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802F0958 002ED8B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F095C 002ED8BC 7C 08 03 A6 */ mtlr r0 +/* 802F0960 002ED8C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F0964 002ED8C4 4E 80 00 20 */ blr + +.global VGetBoolPOIState__21CAnimSourceReaderBaseCFPCc +VGetBoolPOIState__21CAnimSourceReaderBaseCFPCc: +/* 802F0968 002ED8C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F096C 002ED8CC 7C 08 02 A6 */ mflr r0 +/* 802F0970 002ED8D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F0974 002ED8D4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802F0978 002ED8D8 7C 7B 1B 78 */ mr r27, r3 +/* 802F097C 002ED8DC 7C 9C 23 78 */ mr r28, r4 +/* 802F0980 002ED8E0 3B A0 00 00 */ li r29, 0 +/* 802F0984 002ED8E4 3B C0 00 00 */ li r30, 0 +/* 802F0988 002ED8E8 83 E3 00 28 */ lwz r31, 0x28(r3) +/* 802F098C 002ED8EC 48 00 00 38 */ b lbl_802F09C4 +lbl_802F0990: +/* 802F0990 002ED8F0 80 1B 00 30 */ lwz r0, 0x30(r27) +/* 802F0994 002ED8F4 7F 84 E3 78 */ mr r4, r28 +/* 802F0998 002ED8F8 7C 60 F2 14 */ add r3, r0, r30 +/* 802F099C 002ED8FC 4B FF FF 25 */ bl AreStringsEqual__21CAnimSourceReaderBaseFPCcPCc +/* 802F09A0 002ED900 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F09A4 002ED904 41 82 00 18 */ beq lbl_802F09BC +/* 802F09A8 002ED908 1C 7D 00 14 */ mulli r3, r29, 0x14 +/* 802F09AC 002ED90C 80 9B 00 30 */ lwz r4, 0x30(r27) +/* 802F09B0 002ED910 38 03 00 10 */ addi r0, r3, 0x10 +/* 802F09B4 002ED914 7C 64 00 AE */ lbzx r3, r4, r0 +/* 802F09B8 002ED918 48 00 00 18 */ b lbl_802F09D0 +lbl_802F09BC: +/* 802F09BC 002ED91C 3B DE 00 14 */ addi r30, r30, 0x14 +/* 802F09C0 002ED920 3B BD 00 01 */ addi r29, r29, 1 +lbl_802F09C4: +/* 802F09C4 002ED924 7C 1D F8 00 */ cmpw r29, r31 +/* 802F09C8 002ED928 41 80 FF C8 */ blt lbl_802F0990 +/* 802F09CC 002ED92C 38 60 00 00 */ li r3, 0 +lbl_802F09D0: +/* 802F09D0 002ED930 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802F09D4 002ED934 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F09D8 002ED938 7C 08 03 A6 */ mtlr r0 +/* 802F09DC 002ED93C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F09E0 002ED940 4E 80 00 20 */ blr + +.global VGetSoundPOIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802F09E4 002ED944 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F09E8 002ED948 7C 08 02 A6 */ mflr r0 +/* 802F09EC 002ED94C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F09F0 002ED950 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802F09F4 002ED954 7C 79 1B 78 */ mr r25, r3 +/* 802F09F8 002ED958 7C 9A 23 78 */ mr r26, r4 +/* 802F09FC 002ED95C 7C BB 2B 78 */ mr r27, r5 +/* 802F0A00 002ED960 7C DC 33 78 */ mr r28, r6 +/* 802F0A04 002ED964 7C FD 3B 78 */ mr r29, r7 +/* 802F0A08 002ED968 7D 1E 43 78 */ mr r30, r8 +/* 802F0A0C 002ED96C 80 63 00 04 */ lwz r3, 4(r3) +/* 802F0A10 002ED970 81 83 00 00 */ lwz r12, 0(r3) +/* 802F0A14 002ED974 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F0A18 002ED978 7D 89 03 A6 */ mtctr r12 +/* 802F0A1C 002ED97C 4E 80 04 21 */ bctrl +/* 802F0A20 002ED980 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0A24 002ED984 41 82 00 4C */ beq lbl_802F0A70 +/* 802F0A28 002ED988 83 F9 00 04 */ lwz r31, 4(r25) +/* 802F0A2C 002ED98C 7F E3 FB 78 */ mr r3, r31 +/* 802F0A30 002ED990 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F0A34 002ED994 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F0A38 002ED998 7D 89 03 A6 */ mtctr r12 +/* 802F0A3C 002ED99C 4E 80 04 21 */ bctrl +/* 802F0A40 002ED9A0 80 19 00 20 */ lwz r0, 0x20(r25) +/* 802F0A44 002ED9A4 7C 68 1B 78 */ mr r8, r3 +/* 802F0A48 002ED9A8 7F 43 D3 78 */ mr r3, r26 +/* 802F0A4C 002ED9AC 7F 64 DB 78 */ mr r4, r27 +/* 802F0A50 002ED9B0 90 01 00 08 */ stw r0, 8(r1) +/* 802F0A54 002ED9B4 7F 85 E3 78 */ mr r5, r28 +/* 802F0A58 002ED9B8 7F A6 EB 78 */ mr r6, r29 +/* 802F0A5C 002ED9BC 7F C7 F3 78 */ mr r7, r30 +/* 802F0A60 002ED9C0 7F EA FB 78 */ mr r10, r31 +/* 802F0A64 002ED9C4 39 39 00 0C */ addi r9, r25, 0xc +/* 802F0A68 002ED9C8 48 00 08 A5 */ bl "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +/* 802F0A6C 002ED9CC 48 00 00 08 */ b lbl_802F0A74 +lbl_802F0A70: +/* 802F0A70 002ED9D0 38 60 00 00 */ li r3, 0 +lbl_802F0A74: +/* 802F0A74 002ED9D4 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802F0A78 002ED9D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F0A7C 002ED9DC 7C 08 03 A6 */ mtlr r0 +/* 802F0A80 002ED9E0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F0A84 002ED9E4 4E 80 00 20 */ blr + +.global VGetParticlePOIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802F0A88 002ED9E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F0A8C 002ED9EC 7C 08 02 A6 */ mflr r0 +/* 802F0A90 002ED9F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F0A94 002ED9F4 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802F0A98 002ED9F8 7C 79 1B 78 */ mr r25, r3 +/* 802F0A9C 002ED9FC 7C 9A 23 78 */ mr r26, r4 +/* 802F0AA0 002EDA00 7C BB 2B 78 */ mr r27, r5 +/* 802F0AA4 002EDA04 7C DC 33 78 */ mr r28, r6 +/* 802F0AA8 002EDA08 7C FD 3B 78 */ mr r29, r7 +/* 802F0AAC 002EDA0C 7D 1E 43 78 */ mr r30, r8 +/* 802F0AB0 002EDA10 80 63 00 04 */ lwz r3, 4(r3) +/* 802F0AB4 002EDA14 81 83 00 00 */ lwz r12, 0(r3) +/* 802F0AB8 002EDA18 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F0ABC 002EDA1C 7D 89 03 A6 */ mtctr r12 +/* 802F0AC0 002EDA20 4E 80 04 21 */ bctrl +/* 802F0AC4 002EDA24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0AC8 002EDA28 41 82 00 4C */ beq lbl_802F0B14 +/* 802F0ACC 002EDA2C 83 F9 00 04 */ lwz r31, 4(r25) +/* 802F0AD0 002EDA30 7F E3 FB 78 */ mr r3, r31 +/* 802F0AD4 002EDA34 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F0AD8 002EDA38 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F0ADC 002EDA3C 7D 89 03 A6 */ mtctr r12 +/* 802F0AE0 002EDA40 4E 80 04 21 */ bctrl +/* 802F0AE4 002EDA44 80 19 00 1C */ lwz r0, 0x1c(r25) +/* 802F0AE8 002EDA48 7C 68 1B 78 */ mr r8, r3 +/* 802F0AEC 002EDA4C 7F 43 D3 78 */ mr r3, r26 +/* 802F0AF0 002EDA50 7F 64 DB 78 */ mr r4, r27 +/* 802F0AF4 002EDA54 90 01 00 08 */ stw r0, 8(r1) +/* 802F0AF8 002EDA58 7F 85 E3 78 */ mr r5, r28 +/* 802F0AFC 002EDA5C 7F A6 EB 78 */ mr r6, r29 +/* 802F0B00 002EDA60 7F C7 F3 78 */ mr r7, r30 +/* 802F0B04 002EDA64 7F EA FB 78 */ mr r10, r31 +/* 802F0B08 002EDA68 39 39 00 0C */ addi r9, r25, 0xc +/* 802F0B0C 002EDA6C 48 00 05 A9 */ bl "_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +/* 802F0B10 002EDA70 48 00 00 08 */ b lbl_802F0B18 +lbl_802F0B14: +/* 802F0B14 002EDA74 38 60 00 00 */ li r3, 0 +lbl_802F0B18: +/* 802F0B18 002EDA78 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802F0B1C 002EDA7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F0B20 002EDA80 7C 08 03 A6 */ mtlr r0 +/* 802F0B24 002EDA84 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F0B28 002EDA88 4E 80 00 20 */ blr + +.global VGetInt32POIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802F0B2C 002EDA8C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F0B30 002EDA90 7C 08 02 A6 */ mflr r0 +/* 802F0B34 002EDA94 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F0B38 002EDA98 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802F0B3C 002EDA9C 7C 79 1B 78 */ mr r25, r3 +/* 802F0B40 002EDAA0 7C 9A 23 78 */ mr r26, r4 +/* 802F0B44 002EDAA4 7C BB 2B 78 */ mr r27, r5 +/* 802F0B48 002EDAA8 7C DC 33 78 */ mr r28, r6 +/* 802F0B4C 002EDAAC 7C FD 3B 78 */ mr r29, r7 +/* 802F0B50 002EDAB0 7D 1E 43 78 */ mr r30, r8 +/* 802F0B54 002EDAB4 80 63 00 04 */ lwz r3, 4(r3) +/* 802F0B58 002EDAB8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F0B5C 002EDABC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F0B60 002EDAC0 7D 89 03 A6 */ mtctr r12 +/* 802F0B64 002EDAC4 4E 80 04 21 */ bctrl +/* 802F0B68 002EDAC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0B6C 002EDACC 41 82 00 4C */ beq lbl_802F0BB8 +/* 802F0B70 002EDAD0 83 F9 00 04 */ lwz r31, 4(r25) +/* 802F0B74 002EDAD4 7F E3 FB 78 */ mr r3, r31 +/* 802F0B78 002EDAD8 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F0B7C 002EDADC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F0B80 002EDAE0 7D 89 03 A6 */ mtctr r12 +/* 802F0B84 002EDAE4 4E 80 04 21 */ bctrl +/* 802F0B88 002EDAE8 80 19 00 18 */ lwz r0, 0x18(r25) +/* 802F0B8C 002EDAEC 7C 68 1B 78 */ mr r8, r3 +/* 802F0B90 002EDAF0 7F 43 D3 78 */ mr r3, r26 +/* 802F0B94 002EDAF4 7F 64 DB 78 */ mr r4, r27 +/* 802F0B98 002EDAF8 90 01 00 08 */ stw r0, 8(r1) +/* 802F0B9C 002EDAFC 7F 85 E3 78 */ mr r5, r28 +/* 802F0BA0 002EDB00 7F A6 EB 78 */ mr r6, r29 +/* 802F0BA4 002EDB04 7F C7 F3 78 */ mr r7, r30 +/* 802F0BA8 002EDB08 7F EA FB 78 */ mr r10, r31 +/* 802F0BAC 002EDB0C 39 39 00 0C */ addi r9, r25, 0xc +/* 802F0BB0 002EDB10 48 00 02 D5 */ bl "_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +/* 802F0BB4 002EDB14 48 00 00 08 */ b lbl_802F0BBC +lbl_802F0BB8: +/* 802F0BB8 002EDB18 38 60 00 00 */ li r3, 0 +lbl_802F0BBC: +/* 802F0BBC 002EDB1C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802F0BC0 002EDB20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F0BC4 002EDB24 7C 08 03 A6 */ mtlr r0 +/* 802F0BC8 002EDB28 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F0BCC 002EDB2C 4E 80 00 20 */ blr + +.global VGetBoolPOIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__21CAnimSourceReaderBaseCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802F0BD0 002EDB30 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F0BD4 002EDB34 7C 08 02 A6 */ mflr r0 +/* 802F0BD8 002EDB38 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F0BDC 002EDB3C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802F0BE0 002EDB40 7C 79 1B 78 */ mr r25, r3 +/* 802F0BE4 002EDB44 7C 9A 23 78 */ mr r26, r4 +/* 802F0BE8 002EDB48 7C BB 2B 78 */ mr r27, r5 +/* 802F0BEC 002EDB4C 7C DC 33 78 */ mr r28, r6 +/* 802F0BF0 002EDB50 7C FD 3B 78 */ mr r29, r7 +/* 802F0BF4 002EDB54 7D 1E 43 78 */ mr r30, r8 +/* 802F0BF8 002EDB58 80 63 00 04 */ lwz r3, 4(r3) +/* 802F0BFC 002EDB5C 81 83 00 00 */ lwz r12, 0(r3) +/* 802F0C00 002EDB60 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F0C04 002EDB64 7D 89 03 A6 */ mtctr r12 +/* 802F0C08 002EDB68 4E 80 04 21 */ bctrl +/* 802F0C0C 002EDB6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0C10 002EDB70 41 82 00 4C */ beq lbl_802F0C5C +/* 802F0C14 002EDB74 83 F9 00 04 */ lwz r31, 4(r25) +/* 802F0C18 002EDB78 7F E3 FB 78 */ mr r3, r31 +/* 802F0C1C 002EDB7C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F0C20 002EDB80 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802F0C24 002EDB84 7D 89 03 A6 */ mtctr r12 +/* 802F0C28 002EDB88 4E 80 04 21 */ bctrl +/* 802F0C2C 002EDB8C 80 19 00 14 */ lwz r0, 0x14(r25) +/* 802F0C30 002EDB90 7C 68 1B 78 */ mr r8, r3 +/* 802F0C34 002EDB94 7F 43 D3 78 */ mr r3, r26 +/* 802F0C38 002EDB98 7F 64 DB 78 */ mr r4, r27 +/* 802F0C3C 002EDB9C 90 01 00 08 */ stw r0, 8(r1) +/* 802F0C40 002EDBA0 7F 85 E3 78 */ mr r5, r28 +/* 802F0C44 002EDBA4 7F A6 EB 78 */ mr r6, r29 +/* 802F0C48 002EDBA8 7F C7 F3 78 */ mr r7, r30 +/* 802F0C4C 002EDBAC 7F EA FB 78 */ mr r10, r31 +/* 802F0C50 002EDBB0 39 39 00 0C */ addi r9, r25, 0xc +/* 802F0C54 002EDBB4 48 00 00 21 */ bl "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +/* 802F0C58 002EDBB8 48 00 00 08 */ b lbl_802F0C60 +lbl_802F0C5C: +/* 802F0C5C 002EDBBC 38 60 00 00 */ li r3, 0 +lbl_802F0C60: +/* 802F0C60 002EDBC0 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802F0C64 002EDBC4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F0C68 002EDBC8 7C 08 03 A6 */ mtlr r0 +/* 802F0C6C 002EDBCC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F0C70 002EDBD0 4E 80 00 20 */ blr + +.global "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +"_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi": +/* 802F0C74 002EDBD4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802F0C78 002EDBD8 7C 08 02 A6 */ mflr r0 +/* 802F0C7C 002EDBDC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802F0C80 002EDBE0 BE A1 00 74 */ stmw r21, 0x74(r1) +/* 802F0C84 002EDBE4 7D 5A 53 78 */ mr r26, r10 +/* 802F0C88 002EDBE8 7C 7D 1B 78 */ mr r29, r3 +/* 802F0C8C 002EDBEC 7C 95 23 78 */ mr r21, r4 +/* 802F0C90 002EDBF0 7F 43 D3 78 */ mr r3, r26 +/* 802F0C94 002EDBF4 7C B6 2B 78 */ mr r22, r5 +/* 802F0C98 002EDBF8 7C D7 33 78 */ mr r23, r6 +/* 802F0C9C 002EDBFC 7D 18 43 78 */ mr r24, r8 +/* 802F0CA0 002EDC00 7D 39 4B 78 */ mr r25, r9 +/* 802F0CA4 002EDC04 83 81 00 A8 */ lwz r28, 0xa8(r1) +/* 802F0CA8 002EDC08 3B 60 00 00 */ li r27, 0 +/* 802F0CAC 002EDC0C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802F0CB0 002EDC10 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F0CB4 002EDC14 7D 89 03 A6 */ mtctr r12 +/* 802F0CB8 002EDC18 4E 80 04 21 */ bctrl +/* 802F0CBC 002EDC1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0CC0 002EDC20 41 82 01 AC */ beq lbl_802F0E6C +/* 802F0CC4 002EDC24 83 F8 00 04 */ lwz r31, 4(r24) +/* 802F0CC8 002EDC28 2C 1F 00 00 */ cmpwi r31, 0 +/* 802F0CCC 002EDC2C 40 81 01 A0 */ ble lbl_802F0E6C +/* 802F0CD0 002EDC30 7F 44 D3 78 */ mr r4, r26 +/* 802F0CD4 002EDC34 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F0CD8 002EDC38 81 9A 00 00 */ lwz r12, 0(r26) +/* 802F0CDC 002EDC3C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F0CE0 002EDC40 7D 89 03 A6 */ mtctr r12 +/* 802F0CE4 002EDC44 4E 80 04 21 */ bctrl +/* 802F0CE8 002EDC48 7F 24 CB 78 */ mr r4, r25 +/* 802F0CEC 002EDC4C 7F A5 EB 78 */ mr r5, r29 +/* 802F0CF0 002EDC50 3B 41 00 10 */ addi r26, r1, 0x10 +/* 802F0CF4 002EDC54 38 61 00 08 */ addi r3, r1, 8 +/* 802F0CF8 002EDC58 48 05 78 AD */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F0CFC 002EDC5C C0 01 00 08 */ lfs f0, 8(r1) +/* 802F0D00 002EDC60 7F 44 D3 78 */ mr r4, r26 +/* 802F0D04 002EDC64 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F0D08 002EDC68 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F0D0C 002EDC6C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F0D10 002EDC70 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F0D14 002EDC74 48 05 7F 29 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F0D18 002EDC78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0D1C 002EDC7C 41 82 00 0C */ beq lbl_802F0D28 +/* 802F0D20 002EDC80 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F0D24 002EDC84 48 00 00 08 */ b lbl_802F0D2C +lbl_802F0D28: +/* 802F0D28 002EDC88 7F 43 D3 78 */ mr r3, r26 +lbl_802F0D2C: +/* 802F0D2C 002EDC8C C0 03 00 00 */ lfs f0, 0(r3) +/* 802F0D30 002EDC90 7C 1C F8 00 */ cmpw r28, r31 +/* 802F0D34 002EDC94 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802F0D38 002EDC98 80 03 00 04 */ lwz r0, 4(r3) +/* 802F0D3C 002EDC9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F0D40 002EDCA0 40 80 01 2C */ bge lbl_802F0E6C +/* 802F0D44 002EDCA4 1F DC 00 3C */ mulli r30, r28, 0x3c +/* 802F0D48 002EDCA8 80 18 00 0C */ lwz r0, 0xc(r24) +/* 802F0D4C 002EDCAC 7F 9A E3 78 */ mr r26, r28 +/* 802F0D50 002EDCB0 3B A1 00 38 */ addi r29, r1, 0x38 +/* 802F0D54 002EDCB4 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F0D58 002EDCB8 7C 60 1A 14 */ add r3, r0, r3 +/* 802F0D5C 002EDCBC C0 03 00 00 */ lfs f0, 0(r3) +/* 802F0D60 002EDCC0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F0D64 002EDCC4 80 03 00 04 */ lwz r0, 4(r3) +/* 802F0D68 002EDCC8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802F0D6C 002EDCCC 48 00 00 E4 */ b lbl_802F0E50 +lbl_802F0D70: +/* 802F0D70 002EDCD0 7C 1B BA 14 */ add r0, r27, r23 +/* 802F0D74 002EDCD4 80 78 00 0C */ lwz r3, 0xc(r24) +/* 802F0D78 002EDCD8 7C 00 B0 40 */ cmplw r0, r22 +/* 802F0D7C 002EDCDC 7C 83 F2 14 */ add r4, r3, r30 +/* 802F0D80 002EDCE0 40 80 00 A4 */ bge lbl_802F0E24 +/* 802F0D84 002EDCE4 7F 25 CB 78 */ mr r5, r25 +/* 802F0D88 002EDCE8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F0D8C 002EDCEC 48 00 6D 29 */ bl CopyNodeMinusStartTime__12CBoolPOINodeFRC12CBoolPOINodeRC13CCharAnimTime +/* 802F0D90 002EDCF0 7C 17 DA 14 */ add r0, r23, r27 +/* 802F0D94 002EDCF4 A0 61 00 34 */ lhz r3, 0x34(r1) +/* 802F0D98 002EDCF8 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802F0D9C 002EDCFC 7F A4 EB 78 */ mr r4, r29 +/* 802F0DA0 002EDD00 7F 95 02 14 */ add r28, r21, r0 +/* 802F0DA4 002EDD04 B0 7C 00 04 */ sth r3, 4(r28) +/* 802F0DA8 002EDD08 38 7C 00 08 */ addi r3, r28, 8 +/* 802F0DAC 002EDD0C 48 04 CF B1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F0DB0 002EDD10 A0 01 00 48 */ lhz r0, 0x48(r1) +/* 802F0DB4 002EDD14 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 802F0DB8 002EDD18 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802F0DBC 002EDD1C 28 1D 00 00 */ cmplwi r29, 0 +/* 802F0DC0 002EDD20 B0 1C 00 18 */ sth r0, 0x18(r28) +/* 802F0DC4 002EDD24 38 84 9B 68 */ addi r4, r4, lbl_803D9B68@l +/* 802F0DC8 002EDD28 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802F0DCC 002EDD2C 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 802F0DD0 002EDD30 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802F0DD4 002EDD34 90 BC 00 1C */ stw r5, 0x1c(r28) +/* 802F0DD8 002EDD38 90 7C 00 20 */ stw r3, 0x20(r28) +/* 802F0DDC 002EDD3C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802F0DE0 002EDD40 90 7C 00 24 */ stw r3, 0x24(r28) +/* 802F0DE4 002EDD44 88 61 00 58 */ lbz r3, 0x58(r1) +/* 802F0DE8 002EDD48 98 7C 00 28 */ stb r3, 0x28(r28) +/* 802F0DEC 002EDD4C C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802F0DF0 002EDD50 D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 802F0DF4 002EDD54 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802F0DF8 002EDD58 90 7C 00 30 */ stw r3, 0x30(r28) +/* 802F0DFC 002EDD5C 80 61 00 64 */ lwz r3, 0x64(r1) +/* 802F0E00 002EDD60 90 7C 00 34 */ stw r3, 0x34(r28) +/* 802F0E04 002EDD64 88 61 00 68 */ lbz r3, 0x68(r1) +/* 802F0E08 002EDD68 98 7C 00 38 */ stb r3, 0x38(r28) +/* 802F0E0C 002EDD6C 90 81 00 30 */ stw r4, 0x30(r1) +/* 802F0E10 002EDD70 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F0E14 002EDD74 41 82 00 0C */ beq lbl_802F0E20 +/* 802F0E18 002EDD78 7F A3 EB 78 */ mr r3, r29 +/* 802F0E1C 002EDD7C 48 04 CC C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F0E20: +/* 802F0E20 002EDD80 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802F0E24: +/* 802F0E24 002EDD84 3B 5A 00 01 */ addi r26, r26, 1 +/* 802F0E28 002EDD88 3B DE 00 3C */ addi r30, r30, 0x3c +/* 802F0E2C 002EDD8C 7C 1A F8 00 */ cmpw r26, r31 +/* 802F0E30 002EDD90 40 80 00 20 */ bge lbl_802F0E50 +/* 802F0E34 002EDD94 80 18 00 0C */ lwz r0, 0xc(r24) +/* 802F0E38 002EDD98 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F0E3C 002EDD9C 7C 60 1A 14 */ add r3, r0, r3 +/* 802F0E40 002EDDA0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F0E44 002EDDA4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F0E48 002EDDA8 80 03 00 04 */ lwz r0, 4(r3) +/* 802F0E4C 002EDDAC 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_802F0E50: +/* 802F0E50 002EDDB0 7C 1A F8 00 */ cmpw r26, r31 +/* 802F0E54 002EDDB4 40 80 00 18 */ bge lbl_802F0E6C +/* 802F0E58 002EDDB8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F0E5C 002EDDBC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802F0E60 002EDDC0 48 05 76 45 */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F0E64 002EDDC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0E68 002EDDC8 40 82 FF 08 */ bne lbl_802F0D70 +lbl_802F0E6C: +/* 802F0E6C 002EDDCC 7F 63 DB 78 */ mr r3, r27 +/* 802F0E70 002EDDD0 BA A1 00 74 */ lmw r21, 0x74(r1) +/* 802F0E74 002EDDD4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802F0E78 002EDDD8 7C 08 03 A6 */ mtlr r0 +/* 802F0E7C 002EDDDC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802F0E80 002EDDE0 4E 80 00 20 */ blr + +.global "_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +"_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi": +/* 802F0E84 002EDDE4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802F0E88 002EDDE8 7C 08 02 A6 */ mflr r0 +/* 802F0E8C 002EDDEC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802F0E90 002EDDF0 BE 81 00 80 */ stmw r20, 0x80(r1) +/* 802F0E94 002EDDF4 7D 59 53 78 */ mr r25, r10 +/* 802F0E98 002EDDF8 7C 7C 1B 78 */ mr r28, r3 +/* 802F0E9C 002EDDFC 7C 94 23 78 */ mr r20, r4 +/* 802F0EA0 002EDE00 7F 23 CB 78 */ mr r3, r25 +/* 802F0EA4 002EDE04 7C B5 2B 78 */ mr r21, r5 +/* 802F0EA8 002EDE08 7C D6 33 78 */ mr r22, r6 +/* 802F0EAC 002EDE0C 7D 17 43 78 */ mr r23, r8 +/* 802F0EB0 002EDE10 7D 38 4B 78 */ mr r24, r9 +/* 802F0EB4 002EDE14 83 61 00 B8 */ lwz r27, 0xb8(r1) +/* 802F0EB8 002EDE18 3B 40 00 00 */ li r26, 0 +/* 802F0EBC 002EDE1C 81 99 00 00 */ lwz r12, 0(r25) +/* 802F0EC0 002EDE20 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F0EC4 002EDE24 7D 89 03 A6 */ mtctr r12 +/* 802F0EC8 002EDE28 4E 80 04 21 */ bctrl +/* 802F0ECC 002EDE2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0ED0 002EDE30 41 82 01 CC */ beq lbl_802F109C +/* 802F0ED4 002EDE34 83 F7 00 04 */ lwz r31, 4(r23) +/* 802F0ED8 002EDE38 2C 1F 00 00 */ cmpwi r31, 0 +/* 802F0EDC 002EDE3C 40 81 01 C0 */ ble lbl_802F109C +/* 802F0EE0 002EDE40 7F 24 CB 78 */ mr r4, r25 +/* 802F0EE4 002EDE44 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F0EE8 002EDE48 81 99 00 00 */ lwz r12, 0(r25) +/* 802F0EEC 002EDE4C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F0EF0 002EDE50 7D 89 03 A6 */ mtctr r12 +/* 802F0EF4 002EDE54 4E 80 04 21 */ bctrl +/* 802F0EF8 002EDE58 7F 04 C3 78 */ mr r4, r24 +/* 802F0EFC 002EDE5C 7F 85 E3 78 */ mr r5, r28 +/* 802F0F00 002EDE60 3B 21 00 10 */ addi r25, r1, 0x10 +/* 802F0F04 002EDE64 38 61 00 08 */ addi r3, r1, 8 +/* 802F0F08 002EDE68 48 05 76 9D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F0F0C 002EDE6C C0 01 00 08 */ lfs f0, 8(r1) +/* 802F0F10 002EDE70 7F 24 CB 78 */ mr r4, r25 +/* 802F0F14 002EDE74 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F0F18 002EDE78 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F0F1C 002EDE7C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F0F20 002EDE80 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F0F24 002EDE84 48 05 7D 19 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F0F28 002EDE88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F0F2C 002EDE8C 41 82 00 0C */ beq lbl_802F0F38 +/* 802F0F30 002EDE90 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F0F34 002EDE94 48 00 00 08 */ b lbl_802F0F3C +lbl_802F0F38: +/* 802F0F38 002EDE98 7F 23 CB 78 */ mr r3, r25 +lbl_802F0F3C: +/* 802F0F3C 002EDE9C C0 03 00 00 */ lfs f0, 0(r3) +/* 802F0F40 002EDEA0 7C 1B F8 00 */ cmpw r27, r31 +/* 802F0F44 002EDEA4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802F0F48 002EDEA8 80 03 00 04 */ lwz r0, 4(r3) +/* 802F0F4C 002EDEAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F0F50 002EDEB0 40 80 01 4C */ bge lbl_802F109C +/* 802F0F54 002EDEB4 1F DB 00 4C */ mulli r30, r27, 0x4c +/* 802F0F58 002EDEB8 80 17 00 0C */ lwz r0, 0xc(r23) +/* 802F0F5C 002EDEBC 7F 79 DB 78 */ mr r25, r27 +/* 802F0F60 002EDEC0 3B A1 00 38 */ addi r29, r1, 0x38 +/* 802F0F64 002EDEC4 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F0F68 002EDEC8 3B 81 00 6C */ addi r28, r1, 0x6c +/* 802F0F6C 002EDECC 7C 60 1A 14 */ add r3, r0, r3 +/* 802F0F70 002EDED0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F0F74 002EDED4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F0F78 002EDED8 80 03 00 04 */ lwz r0, 4(r3) +/* 802F0F7C 002EDEDC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802F0F80 002EDEE0 48 00 01 00 */ b lbl_802F1080 +lbl_802F0F84: +/* 802F0F84 002EDEE4 7C 1A B2 14 */ add r0, r26, r22 +/* 802F0F88 002EDEE8 80 77 00 0C */ lwz r3, 0xc(r23) +/* 802F0F8C 002EDEEC 7C 00 A8 40 */ cmplw r0, r21 +/* 802F0F90 002EDEF0 7C 83 F2 14 */ add r4, r3, r30 +/* 802F0F94 002EDEF4 40 80 00 C0 */ bge lbl_802F1054 +/* 802F0F98 002EDEF8 7F 05 C3 78 */ mr r5, r24 +/* 802F0F9C 002EDEFC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F0FA0 002EDF00 48 00 BF 09 */ bl CopyNodeMinusStartTime__13CInt32POINodeFRC13CInt32POINodeRC13CCharAnimTime +/* 802F0FA4 002EDF04 7C 16 D2 14 */ add r0, r22, r26 +/* 802F0FA8 002EDF08 A0 61 00 34 */ lhz r3, 0x34(r1) +/* 802F0FAC 002EDF0C 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802F0FB0 002EDF10 7F A4 EB 78 */ mr r4, r29 +/* 802F0FB4 002EDF14 7F 74 02 14 */ add r27, r20, r0 +/* 802F0FB8 002EDF18 B0 7B 00 04 */ sth r3, 4(r27) +/* 802F0FBC 002EDF1C 38 7B 00 08 */ addi r3, r27, 8 +/* 802F0FC0 002EDF20 48 04 CD 9D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F0FC4 002EDF24 A0 01 00 48 */ lhz r0, 0x48(r1) +/* 802F0FC8 002EDF28 7F 84 E3 78 */ mr r4, r28 +/* 802F0FCC 002EDF2C 38 7B 00 3C */ addi r3, r27, 0x3c +/* 802F0FD0 002EDF30 B0 1B 00 18 */ sth r0, 0x18(r27) +/* 802F0FD4 002EDF34 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 802F0FD8 002EDF38 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802F0FDC 002EDF3C 90 BB 00 1C */ stw r5, 0x1c(r27) +/* 802F0FE0 002EDF40 90 1B 00 20 */ stw r0, 0x20(r27) +/* 802F0FE4 002EDF44 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F0FE8 002EDF48 90 1B 00 24 */ stw r0, 0x24(r27) +/* 802F0FEC 002EDF4C 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802F0FF0 002EDF50 98 1B 00 28 */ stb r0, 0x28(r27) +/* 802F0FF4 002EDF54 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802F0FF8 002EDF58 D0 1B 00 2C */ stfs f0, 0x2c(r27) +/* 802F0FFC 002EDF5C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802F1000 002EDF60 90 1B 00 30 */ stw r0, 0x30(r27) +/* 802F1004 002EDF64 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F1008 002EDF68 90 1B 00 34 */ stw r0, 0x34(r27) +/* 802F100C 002EDF6C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802F1010 002EDF70 90 1B 00 38 */ stw r0, 0x38(r27) +/* 802F1014 002EDF74 48 04 CD 49 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F1018 002EDF78 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802F101C 002EDF7C 28 1C 00 00 */ cmplwi r28, 0 +/* 802F1020 002EDF80 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802F1024 002EDF84 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F1028 002EDF88 41 82 00 0C */ beq lbl_802F1034 +/* 802F102C 002EDF8C 7F 83 E3 78 */ mr r3, r28 +/* 802F1030 002EDF90 48 04 CA B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F1034: +/* 802F1034 002EDF94 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802F1038 002EDF98 28 1D 00 00 */ cmplwi r29, 0 +/* 802F103C 002EDF9C 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802F1040 002EDFA0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F1044 002EDFA4 41 82 00 0C */ beq lbl_802F1050 +/* 802F1048 002EDFA8 7F A3 EB 78 */ mr r3, r29 +/* 802F104C 002EDFAC 48 04 CA 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F1050: +/* 802F1050 002EDFB0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802F1054: +/* 802F1054 002EDFB4 3B 39 00 01 */ addi r25, r25, 1 +/* 802F1058 002EDFB8 3B DE 00 4C */ addi r30, r30, 0x4c +/* 802F105C 002EDFBC 7C 19 F8 00 */ cmpw r25, r31 +/* 802F1060 002EDFC0 40 80 00 20 */ bge lbl_802F1080 +/* 802F1064 002EDFC4 80 17 00 0C */ lwz r0, 0xc(r23) +/* 802F1068 002EDFC8 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F106C 002EDFCC 7C 60 1A 14 */ add r3, r0, r3 +/* 802F1070 002EDFD0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F1074 002EDFD4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F1078 002EDFD8 80 03 00 04 */ lwz r0, 4(r3) +/* 802F107C 002EDFDC 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_802F1080: +/* 802F1080 002EDFE0 7C 19 F8 00 */ cmpw r25, r31 +/* 802F1084 002EDFE4 40 80 00 18 */ bge lbl_802F109C +/* 802F1088 002EDFE8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F108C 002EDFEC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802F1090 002EDFF0 48 05 74 15 */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F1094 002EDFF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F1098 002EDFF8 40 82 FE EC */ bne lbl_802F0F84 +lbl_802F109C: +/* 802F109C 002EDFFC 7F 43 D3 78 */ mr r3, r26 +/* 802F10A0 002EE000 BA 81 00 80 */ lmw r20, 0x80(r1) +/* 802F10A4 002EE004 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802F10A8 002EE008 7C 08 03 A6 */ mtlr r0 +/* 802F10AC 002EE00C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802F10B0 002EE010 4E 80 00 20 */ blr + +.global "_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +"_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi": +/* 802F10B4 002EE014 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802F10B8 002EE018 7C 08 02 A6 */ mflr r0 +/* 802F10BC 002EE01C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802F10C0 002EE020 BE 61 00 9C */ stmw r19, 0x9c(r1) +/* 802F10C4 002EE024 7D 5A 53 78 */ mr r26, r10 +/* 802F10C8 002EE028 7C 7B 1B 78 */ mr r27, r3 +/* 802F10CC 002EE02C 7C 93 23 78 */ mr r19, r4 +/* 802F10D0 002EE030 7F 43 D3 78 */ mr r3, r26 +/* 802F10D4 002EE034 7C B4 2B 78 */ mr r20, r5 +/* 802F10D8 002EE038 7C D5 33 78 */ mr r21, r6 +/* 802F10DC 002EE03C 7D 16 43 78 */ mr r22, r8 +/* 802F10E0 002EE040 7D 37 4B 78 */ mr r23, r9 +/* 802F10E4 002EE044 83 01 00 D8 */ lwz r24, 0xd8(r1) +/* 802F10E8 002EE048 3B 20 00 00 */ li r25, 0 +/* 802F10EC 002EE04C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802F10F0 002EE050 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F10F4 002EE054 7D 89 03 A6 */ mtctr r12 +/* 802F10F8 002EE058 4E 80 04 21 */ bctrl +/* 802F10FC 002EE05C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F1100 002EE060 41 82 01 F4 */ beq lbl_802F12F4 +/* 802F1104 002EE064 83 F6 00 04 */ lwz r31, 4(r22) +/* 802F1108 002EE068 2C 1F 00 00 */ cmpwi r31, 0 +/* 802F110C 002EE06C 40 81 01 E8 */ ble lbl_802F12F4 +/* 802F1110 002EE070 7F 44 D3 78 */ mr r4, r26 +/* 802F1114 002EE074 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F1118 002EE078 81 9A 00 00 */ lwz r12, 0(r26) +/* 802F111C 002EE07C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F1120 002EE080 7D 89 03 A6 */ mtctr r12 +/* 802F1124 002EE084 4E 80 04 21 */ bctrl +/* 802F1128 002EE088 7E E4 BB 78 */ mr r4, r23 +/* 802F112C 002EE08C 7F 65 DB 78 */ mr r5, r27 +/* 802F1130 002EE090 3B 41 00 10 */ addi r26, r1, 0x10 +/* 802F1134 002EE094 38 61 00 08 */ addi r3, r1, 8 +/* 802F1138 002EE098 48 05 74 6D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F113C 002EE09C C0 01 00 08 */ lfs f0, 8(r1) +/* 802F1140 002EE0A0 7F 44 D3 78 */ mr r4, r26 +/* 802F1144 002EE0A4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F1148 002EE0A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F114C 002EE0AC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F1150 002EE0B0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F1154 002EE0B4 48 05 7A E9 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F1158 002EE0B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F115C 002EE0BC 41 82 00 0C */ beq lbl_802F1168 +/* 802F1160 002EE0C0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F1164 002EE0C4 48 00 00 08 */ b lbl_802F116C +lbl_802F1168: +/* 802F1168 002EE0C8 7F 43 D3 78 */ mr r3, r26 +lbl_802F116C: +/* 802F116C 002EE0CC C0 03 00 00 */ lfs f0, 0(r3) +/* 802F1170 002EE0D0 7C 18 F8 00 */ cmpw r24, r31 +/* 802F1174 002EE0D4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802F1178 002EE0D8 80 03 00 04 */ lwz r0, 4(r3) +/* 802F117C 002EE0DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F1180 002EE0E0 40 80 01 74 */ bge lbl_802F12F4 +/* 802F1184 002EE0E4 1F D8 00 5C */ mulli r30, r24, 0x5c +/* 802F1188 002EE0E8 3B 61 00 68 */ addi r27, r1, 0x68 +/* 802F118C 002EE0EC 80 16 00 0C */ lwz r0, 0xc(r22) +/* 802F1190 002EE0F0 3B A1 00 38 */ addi r29, r1, 0x38 +/* 802F1194 002EE0F4 3B 9B 00 0C */ addi r28, r27, 0xc +/* 802F1198 002EE0F8 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F119C 002EE0FC 7C 60 1A 14 */ add r3, r0, r3 +/* 802F11A0 002EE100 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F11A4 002EE104 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F11A8 002EE108 80 03 00 04 */ lwz r0, 4(r3) +/* 802F11AC 002EE10C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802F11B0 002EE110 48 00 01 28 */ b lbl_802F12D8 +lbl_802F11B4: +/* 802F11B4 002EE114 7C 19 AA 14 */ add r0, r25, r21 +/* 802F11B8 002EE118 80 76 00 0C */ lwz r3, 0xc(r22) +/* 802F11BC 002EE11C 7C 00 A0 40 */ cmplw r0, r20 +/* 802F11C0 002EE120 7C 83 F2 14 */ add r4, r3, r30 +/* 802F11C4 002EE124 40 80 00 E8 */ bge lbl_802F12AC +/* 802F11C8 002EE128 7E E5 BB 78 */ mr r5, r23 +/* 802F11CC 002EE12C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F11D0 002EE130 48 00 BD E5 */ bl CopyNodeMinusStartTime__16CParticlePOINodeFRC16CParticlePOINodeRC13CCharAnimTime +/* 802F11D4 002EE134 7C 15 CA 14 */ add r0, r21, r25 +/* 802F11D8 002EE138 A0 61 00 34 */ lhz r3, 0x34(r1) +/* 802F11DC 002EE13C 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802F11E0 002EE140 7F A4 EB 78 */ mr r4, r29 +/* 802F11E4 002EE144 7F 53 02 14 */ add r26, r19, r0 +/* 802F11E8 002EE148 B0 7A 00 04 */ sth r3, 4(r26) +/* 802F11EC 002EE14C 38 7A 00 08 */ addi r3, r26, 8 +/* 802F11F0 002EE150 48 04 CB 6D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F11F4 002EE154 A0 01 00 48 */ lhz r0, 0x48(r1) +/* 802F11F8 002EE158 7F 84 E3 78 */ mr r4, r28 +/* 802F11FC 002EE15C 38 7A 00 44 */ addi r3, r26, 0x44 +/* 802F1200 002EE160 B0 1A 00 18 */ sth r0, 0x18(r26) +/* 802F1204 002EE164 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 802F1208 002EE168 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802F120C 002EE16C 90 BA 00 1C */ stw r5, 0x1c(r26) +/* 802F1210 002EE170 90 1A 00 20 */ stw r0, 0x20(r26) +/* 802F1214 002EE174 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F1218 002EE178 90 1A 00 24 */ stw r0, 0x24(r26) +/* 802F121C 002EE17C 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802F1220 002EE180 98 1A 00 28 */ stb r0, 0x28(r26) +/* 802F1224 002EE184 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802F1228 002EE188 D0 1A 00 2C */ stfs f0, 0x2c(r26) +/* 802F122C 002EE18C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802F1230 002EE190 90 1A 00 30 */ stw r0, 0x30(r26) +/* 802F1234 002EE194 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F1238 002EE198 90 1A 00 34 */ stw r0, 0x34(r26) +/* 802F123C 002EE19C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802F1240 002EE1A0 90 1A 00 38 */ stw r0, 0x38(r26) +/* 802F1244 002EE1A4 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 802F1248 002EE1A8 90 1A 00 3C */ stw r0, 0x3c(r26) +/* 802F124C 002EE1AC 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802F1250 002EE1B0 90 1A 00 40 */ stw r0, 0x40(r26) +/* 802F1254 002EE1B4 48 04 CB 09 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F1258 002EE1B8 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802F125C 002EE1BC 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802F1260 002EE1C0 28 1B 00 00 */ cmplwi r27, 0 +/* 802F1264 002EE1C4 D0 1A 00 54 */ stfs f0, 0x54(r26) +/* 802F1268 002EE1C8 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802F126C 002EE1CC 80 61 00 88 */ lwz r3, 0x88(r1) +/* 802F1270 002EE1D0 90 7A 00 58 */ stw r3, 0x58(r26) +/* 802F1274 002EE1D4 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F1278 002EE1D8 41 82 00 14 */ beq lbl_802F128C +/* 802F127C 002EE1DC 28 1C 00 00 */ cmplwi r28, 0 +/* 802F1280 002EE1E0 41 82 00 0C */ beq lbl_802F128C +/* 802F1284 002EE1E4 7F 83 E3 78 */ mr r3, r28 +/* 802F1288 002EE1E8 48 04 C8 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F128C: +/* 802F128C 002EE1EC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802F1290 002EE1F0 28 1D 00 00 */ cmplwi r29, 0 +/* 802F1294 002EE1F4 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802F1298 002EE1F8 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F129C 002EE1FC 41 82 00 0C */ beq lbl_802F12A8 +/* 802F12A0 002EE200 7F A3 EB 78 */ mr r3, r29 +/* 802F12A4 002EE204 48 04 C8 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F12A8: +/* 802F12A8 002EE208 3B 39 00 01 */ addi r25, r25, 1 +lbl_802F12AC: +/* 802F12AC 002EE20C 3B 18 00 01 */ addi r24, r24, 1 +/* 802F12B0 002EE210 3B DE 00 5C */ addi r30, r30, 0x5c +/* 802F12B4 002EE214 7C 18 F8 00 */ cmpw r24, r31 +/* 802F12B8 002EE218 40 80 00 20 */ bge lbl_802F12D8 +/* 802F12BC 002EE21C 80 16 00 0C */ lwz r0, 0xc(r22) +/* 802F12C0 002EE220 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F12C4 002EE224 7C 60 1A 14 */ add r3, r0, r3 +/* 802F12C8 002EE228 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F12CC 002EE22C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F12D0 002EE230 80 03 00 04 */ lwz r0, 4(r3) +/* 802F12D4 002EE234 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_802F12D8: +/* 802F12D8 002EE238 7C 18 F8 00 */ cmpw r24, r31 +/* 802F12DC 002EE23C 40 80 00 18 */ bge lbl_802F12F4 +/* 802F12E0 002EE240 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F12E4 002EE244 38 81 00 20 */ addi r4, r1, 0x20 +/* 802F12E8 002EE248 48 05 71 BD */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F12EC 002EE24C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F12F0 002EE250 40 82 FE C4 */ bne lbl_802F11B4 +lbl_802F12F4: +/* 802F12F4 002EE254 7F 23 CB 78 */ mr r3, r25 +/* 802F12F8 002EE258 BA 61 00 9C */ lmw r19, 0x9c(r1) +/* 802F12FC 002EE25C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802F1300 002EE260 7C 08 03 A6 */ mtlr r0 +/* 802F1304 002EE264 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802F1308 002EE268 4E 80 00 20 */ blr + +.global "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi" +"_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTimeRC15IAnimSourceInfoi": +/* 802F130C 002EE26C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802F1310 002EE270 7C 08 02 A6 */ mflr r0 +/* 802F1314 002EE274 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802F1318 002EE278 BE A1 00 84 */ stmw r21, 0x84(r1) +/* 802F131C 002EE27C 7D 5A 53 78 */ mr r26, r10 +/* 802F1320 002EE280 7C 7D 1B 78 */ mr r29, r3 +/* 802F1324 002EE284 7C 95 23 78 */ mr r21, r4 +/* 802F1328 002EE288 7F 43 D3 78 */ mr r3, r26 +/* 802F132C 002EE28C 7C B6 2B 78 */ mr r22, r5 +/* 802F1330 002EE290 7C D7 33 78 */ mr r23, r6 +/* 802F1334 002EE294 7D 18 43 78 */ mr r24, r8 +/* 802F1338 002EE298 7D 39 4B 78 */ mr r25, r9 +/* 802F133C 002EE29C 83 81 00 B8 */ lwz r28, 0xb8(r1) +/* 802F1340 002EE2A0 3B 60 00 00 */ li r27, 0 +/* 802F1344 002EE2A4 81 9A 00 00 */ lwz r12, 0(r26) +/* 802F1348 002EE2A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F134C 002EE2AC 7D 89 03 A6 */ mtctr r12 +/* 802F1350 002EE2B0 4E 80 04 21 */ bctrl +/* 802F1354 002EE2B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F1358 002EE2B8 41 82 01 BC */ beq lbl_802F1514 +/* 802F135C 002EE2BC 83 F8 00 04 */ lwz r31, 4(r24) +/* 802F1360 002EE2C0 2C 1F 00 00 */ cmpwi r31, 0 +/* 802F1364 002EE2C4 40 81 01 B0 */ ble lbl_802F1514 +/* 802F1368 002EE2C8 7F 44 D3 78 */ mr r4, r26 +/* 802F136C 002EE2CC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F1370 002EE2D0 81 9A 00 00 */ lwz r12, 0(r26) +/* 802F1374 002EE2D4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F1378 002EE2D8 7D 89 03 A6 */ mtctr r12 +/* 802F137C 002EE2DC 4E 80 04 21 */ bctrl +/* 802F1380 002EE2E0 7F 24 CB 78 */ mr r4, r25 +/* 802F1384 002EE2E4 7F A5 EB 78 */ mr r5, r29 +/* 802F1388 002EE2E8 3B 41 00 10 */ addi r26, r1, 0x10 +/* 802F138C 002EE2EC 38 61 00 08 */ addi r3, r1, 8 +/* 802F1390 002EE2F0 48 05 72 15 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F1394 002EE2F4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F1398 002EE2F8 7F 44 D3 78 */ mr r4, r26 +/* 802F139C 002EE2FC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F13A0 002EE300 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F13A4 002EE304 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F13A8 002EE308 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F13AC 002EE30C 48 05 78 91 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F13B0 002EE310 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F13B4 002EE314 41 82 00 0C */ beq lbl_802F13C0 +/* 802F13B8 002EE318 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F13BC 002EE31C 48 00 00 08 */ b lbl_802F13C4 +lbl_802F13C0: +/* 802F13C0 002EE320 7F 43 D3 78 */ mr r3, r26 +lbl_802F13C4: +/* 802F13C4 002EE324 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F13C8 002EE328 7C 1C F8 00 */ cmpw r28, r31 +/* 802F13CC 002EE32C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802F13D0 002EE330 80 03 00 04 */ lwz r0, 4(r3) +/* 802F13D4 002EE334 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F13D8 002EE338 40 80 01 3C */ bge lbl_802F1514 +/* 802F13DC 002EE33C 1F DC 00 44 */ mulli r30, r28, 0x44 +/* 802F13E0 002EE340 80 18 00 0C */ lwz r0, 0xc(r24) +/* 802F13E4 002EE344 7F 9A E3 78 */ mr r26, r28 +/* 802F13E8 002EE348 3B A1 00 38 */ addi r29, r1, 0x38 +/* 802F13EC 002EE34C 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F13F0 002EE350 7C 60 1A 14 */ add r3, r0, r3 +/* 802F13F4 002EE354 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F13F8 002EE358 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F13FC 002EE35C 80 03 00 04 */ lwz r0, 4(r3) +/* 802F1400 002EE360 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802F1404 002EE364 48 00 00 F4 */ b lbl_802F14F8 +lbl_802F1408: +/* 802F1408 002EE368 7C 1B BA 14 */ add r0, r27, r23 +/* 802F140C 002EE36C 80 78 00 0C */ lwz r3, 0xc(r24) +/* 802F1410 002EE370 7C 00 B0 40 */ cmplw r0, r22 +/* 802F1414 002EE374 7C 83 F2 14 */ add r4, r3, r30 +/* 802F1418 002EE378 40 80 00 B4 */ bge lbl_802F14CC +/* 802F141C 002EE37C 7F 25 CB 78 */ mr r5, r25 +/* 802F1420 002EE380 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F1424 002EE384 4B FE 96 69 */ bl CopyNodeMinusStartTime__13CSoundPOINodeFRC13CSoundPOINodeRC13CCharAnimTime +/* 802F1428 002EE388 7C 17 DA 14 */ add r0, r23, r27 +/* 802F142C 002EE38C A0 61 00 34 */ lhz r3, 0x34(r1) +/* 802F1430 002EE390 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802F1434 002EE394 7F A4 EB 78 */ mr r4, r29 +/* 802F1438 002EE398 7F 95 02 14 */ add r28, r21, r0 +/* 802F143C 002EE39C B0 7C 00 04 */ sth r3, 4(r28) +/* 802F1440 002EE3A0 38 7C 00 08 */ addi r3, r28, 8 +/* 802F1444 002EE3A4 48 04 C9 19 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F1448 002EE3A8 A0 01 00 48 */ lhz r0, 0x48(r1) +/* 802F144C 002EE3AC 3C 80 80 3E */ lis r4, lbl_803D9B80@ha +/* 802F1450 002EE3B0 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802F1454 002EE3B4 28 1D 00 00 */ cmplwi r29, 0 +/* 802F1458 002EE3B8 B0 1C 00 18 */ sth r0, 0x18(r28) +/* 802F145C 002EE3BC 38 84 9B 80 */ addi r4, r4, lbl_803D9B80@l +/* 802F1460 002EE3C0 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802F1464 002EE3C4 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 802F1468 002EE3C8 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802F146C 002EE3CC 90 BC 00 1C */ stw r5, 0x1c(r28) +/* 802F1470 002EE3D0 90 7C 00 20 */ stw r3, 0x20(r28) +/* 802F1474 002EE3D4 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802F1478 002EE3D8 90 7C 00 24 */ stw r3, 0x24(r28) +/* 802F147C 002EE3DC 88 61 00 58 */ lbz r3, 0x58(r1) +/* 802F1480 002EE3E0 98 7C 00 28 */ stb r3, 0x28(r28) +/* 802F1484 002EE3E4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802F1488 002EE3E8 D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 802F148C 002EE3EC 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802F1490 002EE3F0 90 7C 00 30 */ stw r3, 0x30(r28) +/* 802F1494 002EE3F4 80 61 00 64 */ lwz r3, 0x64(r1) +/* 802F1498 002EE3F8 90 7C 00 34 */ stw r3, 0x34(r28) +/* 802F149C 002EE3FC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802F14A0 002EE400 90 7C 00 38 */ stw r3, 0x38(r28) +/* 802F14A4 002EE404 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802F14A8 002EE408 D0 1C 00 3C */ stfs f0, 0x3c(r28) +/* 802F14AC 002EE40C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802F14B0 002EE410 D0 1C 00 40 */ stfs f0, 0x40(r28) +/* 802F14B4 002EE414 90 81 00 30 */ stw r4, 0x30(r1) +/* 802F14B8 002EE418 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F14BC 002EE41C 41 82 00 0C */ beq lbl_802F14C8 +/* 802F14C0 002EE420 7F A3 EB 78 */ mr r3, r29 +/* 802F14C4 002EE424 48 04 C6 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F14C8: +/* 802F14C8 002EE428 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802F14CC: +/* 802F14CC 002EE42C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802F14D0 002EE430 3B DE 00 44 */ addi r30, r30, 0x44 +/* 802F14D4 002EE434 7C 1A F8 00 */ cmpw r26, r31 +/* 802F14D8 002EE438 40 80 00 20 */ bge lbl_802F14F8 +/* 802F14DC 002EE43C 80 18 00 0C */ lwz r0, 0xc(r24) +/* 802F14E0 002EE440 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802F14E4 002EE444 7C 60 1A 14 */ add r3, r0, r3 +/* 802F14E8 002EE448 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F14EC 002EE44C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F14F0 002EE450 80 03 00 04 */ lwz r0, 4(r3) +/* 802F14F4 002EE454 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_802F14F8: +/* 802F14F8 002EE458 7C 1A F8 00 */ cmpw r26, r31 +/* 802F14FC 002EE45C 40 80 00 18 */ bge lbl_802F1514 +/* 802F1500 002EE460 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F1504 002EE464 38 81 00 20 */ addi r4, r1, 0x20 +/* 802F1508 002EE468 48 05 6F 9D */ bl __le__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F150C 002EE46C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F1510 002EE470 40 82 FE F8 */ bne lbl_802F1408 +lbl_802F1514: +/* 802F1514 002EE474 7F 63 DB 78 */ mr r3, r27 +/* 802F1518 002EE478 BA A1 00 84 */ lmw r21, 0x84(r1) +/* 802F151C 002EE47C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802F1520 002EE480 7C 08 03 A6 */ mtlr r0 +/* 802F1524 002EE484 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802F1528 002EE488 4E 80 00 20 */ blr + +.global "reserve__Q24rstl127vector,Q24rstl17rmemory_allocator>,b>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl127vector,Q24rstl17rmemory_allocator>,b>,Q24rstl17rmemory_allocator>Fi": +/* 802F152C 002EE48C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F1530 002EE490 7C 08 02 A6 */ mflr r0 +/* 802F1534 002EE494 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F1538 002EE498 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802F153C 002EE49C 7C 9F 23 78 */ mr r31, r4 +/* 802F1540 002EE4A0 7C 7E 1B 78 */ mr r30, r3 +/* 802F1544 002EE4A4 80 03 00 08 */ lwz r0, 8(r3) +/* 802F1548 002EE4A8 7C 1F 00 00 */ cmpw r31, r0 +/* 802F154C 002EE4AC 40 81 00 D0 */ ble lbl_802F161C +/* 802F1550 002EE4B0 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 802F1554 002EE4B4 2C 03 00 00 */ cmpwi r3, 0 +/* 802F1558 002EE4B8 40 82 00 0C */ bne lbl_802F1564 +/* 802F155C 002EE4BC 3B 80 00 00 */ li r28, 0 +/* 802F1560 002EE4C0 48 00 00 1C */ b lbl_802F157C +lbl_802F1564: +/* 802F1564 002EE4C4 3C 80 80 3D */ lis r4, lbl_803D6DE8@ha +/* 802F1568 002EE4C8 38 A0 00 00 */ li r5, 0 +/* 802F156C 002EE4CC 38 84 6D E8 */ addi r4, r4, lbl_803D6DE8@l +/* 802F1570 002EE4D0 38 84 00 01 */ addi r4, r4, 1 +/* 802F1574 002EE4D4 48 02 42 A5 */ bl __nwa__FUlPCcPCc +/* 802F1578 002EE4D8 7C 7C 1B 78 */ mr r28, r3 +lbl_802F157C: +/* 802F157C 002EE4DC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F1580 002EE4E0 7F 9B E3 78 */ mr r27, r28 +/* 802F1584 002EE4E4 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802F1588 002EE4E8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F158C 002EE4EC 93 41 00 10 */ stw r26, 0x10(r1) +/* 802F1590 002EE4F0 7F BA 02 14 */ add r29, r26, r0 +/* 802F1594 002EE4F4 93 41 00 14 */ stw r26, 0x14(r1) +/* 802F1598 002EE4F8 93 A1 00 08 */ stw r29, 8(r1) +/* 802F159C 002EE4FC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802F15A0 002EE500 48 00 00 28 */ b lbl_802F15C8 +lbl_802F15A4: +/* 802F15A4 002EE504 28 1B 00 00 */ cmplwi r27, 0 +/* 802F15A8 002EE508 41 82 00 18 */ beq lbl_802F15C0 +/* 802F15AC 002EE50C 7F 63 DB 78 */ mr r3, r27 +/* 802F15B0 002EE510 7F 44 D3 78 */ mr r4, r26 +/* 802F15B4 002EE514 48 04 CB AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F15B8 002EE518 88 1A 00 10 */ lbz r0, 0x10(r26) +/* 802F15BC 002EE51C 98 1B 00 10 */ stb r0, 0x10(r27) +lbl_802F15C0: +/* 802F15C0 002EE520 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 802F15C4 002EE524 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802F15C8: +/* 802F15C8 002EE528 7C 1A E8 40 */ cmplw r26, r29 +/* 802F15CC 002EE52C 40 82 FF D8 */ bne lbl_802F15A4 +/* 802F15D0 002EE530 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F15D4 002EE534 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802F15D8 002EE538 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F15DC 002EE53C 7F 7A 02 14 */ add r27, r26, r0 +/* 802F15E0 002EE540 48 00 00 1C */ b lbl_802F15FC +lbl_802F15E4: +/* 802F15E4 002EE544 28 1A 00 00 */ cmplwi r26, 0 +/* 802F15E8 002EE548 41 82 00 10 */ beq lbl_802F15F8 +/* 802F15EC 002EE54C 41 82 00 0C */ beq lbl_802F15F8 +/* 802F15F0 002EE550 7F 43 D3 78 */ mr r3, r26 +/* 802F15F4 002EE554 48 04 C4 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F15F8: +/* 802F15F8 002EE558 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802F15FC: +/* 802F15FC 002EE55C 7C 1A D8 40 */ cmplw r26, r27 +/* 802F1600 002EE560 40 82 FF E4 */ bne lbl_802F15E4 +/* 802F1604 002EE564 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F1608 002EE568 28 03 00 00 */ cmplwi r3, 0 +/* 802F160C 002EE56C 41 82 00 08 */ beq lbl_802F1614 +/* 802F1610 002EE570 48 02 43 21 */ bl Free__7CMemoryFPCv +lbl_802F1614: +/* 802F1614 002EE574 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802F1618 002EE578 93 FE 00 08 */ stw r31, 8(r30) +lbl_802F161C: +/* 802F161C 002EE57C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802F1620 002EE580 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F1624 002EE584 7C 08 03 A6 */ mtlr r0 +/* 802F1628 002EE588 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F162C 002EE58C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl127vector,Q24rstl17rmemory_allocator>,i>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl127vector,Q24rstl17rmemory_allocator>,i>,Q24rstl17rmemory_allocator>Fi": +/* 802F1630 002EE590 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F1634 002EE594 7C 08 02 A6 */ mflr r0 +/* 802F1638 002EE598 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F163C 002EE59C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802F1640 002EE5A0 7C 9F 23 78 */ mr r31, r4 +/* 802F1644 002EE5A4 7C 7E 1B 78 */ mr r30, r3 +/* 802F1648 002EE5A8 80 03 00 08 */ lwz r0, 8(r3) +/* 802F164C 002EE5AC 7C 1F 00 00 */ cmpw r31, r0 +/* 802F1650 002EE5B0 40 81 00 D0 */ ble lbl_802F1720 +/* 802F1654 002EE5B4 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 802F1658 002EE5B8 2C 03 00 00 */ cmpwi r3, 0 +/* 802F165C 002EE5BC 40 82 00 0C */ bne lbl_802F1668 +/* 802F1660 002EE5C0 3B 80 00 00 */ li r28, 0 +/* 802F1664 002EE5C4 48 00 00 1C */ b lbl_802F1680 +lbl_802F1668: +/* 802F1668 002EE5C8 3C 80 80 3D */ lis r4, lbl_803D6DE8@ha +/* 802F166C 002EE5CC 38 A0 00 00 */ li r5, 0 +/* 802F1670 002EE5D0 38 84 6D E8 */ addi r4, r4, lbl_803D6DE8@l +/* 802F1674 002EE5D4 38 84 00 01 */ addi r4, r4, 1 +/* 802F1678 002EE5D8 48 02 41 A1 */ bl __nwa__FUlPCcPCc +/* 802F167C 002EE5DC 7C 7C 1B 78 */ mr r28, r3 +lbl_802F1680: +/* 802F1680 002EE5E0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F1684 002EE5E4 7F 9B E3 78 */ mr r27, r28 +/* 802F1688 002EE5E8 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802F168C 002EE5EC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F1690 002EE5F0 93 41 00 10 */ stw r26, 0x10(r1) +/* 802F1694 002EE5F4 7F BA 02 14 */ add r29, r26, r0 +/* 802F1698 002EE5F8 93 41 00 14 */ stw r26, 0x14(r1) +/* 802F169C 002EE5FC 93 A1 00 08 */ stw r29, 8(r1) +/* 802F16A0 002EE600 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802F16A4 002EE604 48 00 00 28 */ b lbl_802F16CC +lbl_802F16A8: +/* 802F16A8 002EE608 28 1B 00 00 */ cmplwi r27, 0 +/* 802F16AC 002EE60C 41 82 00 18 */ beq lbl_802F16C4 +/* 802F16B0 002EE610 7F 63 DB 78 */ mr r3, r27 +/* 802F16B4 002EE614 7F 44 D3 78 */ mr r4, r26 +/* 802F16B8 002EE618 48 04 CA A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F16BC 002EE61C 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 802F16C0 002EE620 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_802F16C4: +/* 802F16C4 002EE624 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 802F16C8 002EE628 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802F16CC: +/* 802F16CC 002EE62C 7C 1A E8 40 */ cmplw r26, r29 +/* 802F16D0 002EE630 40 82 FF D8 */ bne lbl_802F16A8 +/* 802F16D4 002EE634 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F16D8 002EE638 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802F16DC 002EE63C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F16E0 002EE640 7F 7A 02 14 */ add r27, r26, r0 +/* 802F16E4 002EE644 48 00 00 1C */ b lbl_802F1700 +lbl_802F16E8: +/* 802F16E8 002EE648 28 1A 00 00 */ cmplwi r26, 0 +/* 802F16EC 002EE64C 41 82 00 10 */ beq lbl_802F16FC +/* 802F16F0 002EE650 41 82 00 0C */ beq lbl_802F16FC +/* 802F16F4 002EE654 7F 43 D3 78 */ mr r3, r26 +/* 802F16F8 002EE658 48 04 C3 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F16FC: +/* 802F16FC 002EE65C 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802F1700: +/* 802F1700 002EE660 7C 1A D8 40 */ cmplw r26, r27 +/* 802F1704 002EE664 40 82 FF E4 */ bne lbl_802F16E8 +/* 802F1708 002EE668 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F170C 002EE66C 28 03 00 00 */ cmplwi r3, 0 +/* 802F1710 002EE670 41 82 00 08 */ beq lbl_802F1718 +/* 802F1714 002EE674 48 02 42 1D */ bl Free__7CMemoryFPCv +lbl_802F1718: +/* 802F1718 002EE678 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802F171C 002EE67C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802F1720: +/* 802F1720 002EE680 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802F1724 002EE684 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F1728 002EE688 7C 08 03 A6 */ mtlr r0 +/* 802F172C 002EE68C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F1730 002EE690 4E 80 00 20 */ blr + +.global "reserve__Q24rstl159vector,Q24rstl17rmemory_allocator>,Q213CParticleData13EParentedMode>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl159vector,Q24rstl17rmemory_allocator>,Q213CParticleData13EParentedMode>,Q24rstl17rmemory_allocator>Fi": +/* 802F1734 002EE694 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F1738 002EE698 7C 08 02 A6 */ mflr r0 +/* 802F173C 002EE69C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F1740 002EE6A0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802F1744 002EE6A4 7C 9F 23 78 */ mr r31, r4 +/* 802F1748 002EE6A8 7C 7E 1B 78 */ mr r30, r3 +/* 802F174C 002EE6AC 80 03 00 08 */ lwz r0, 8(r3) +/* 802F1750 002EE6B0 7C 1F 00 00 */ cmpw r31, r0 +/* 802F1754 002EE6B4 40 81 00 D0 */ ble lbl_802F1824 +/* 802F1758 002EE6B8 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 802F175C 002EE6BC 2C 03 00 00 */ cmpwi r3, 0 +/* 802F1760 002EE6C0 40 82 00 0C */ bne lbl_802F176C +/* 802F1764 002EE6C4 3B 80 00 00 */ li r28, 0 +/* 802F1768 002EE6C8 48 00 00 1C */ b lbl_802F1784 +lbl_802F176C: +/* 802F176C 002EE6CC 3C 80 80 3D */ lis r4, lbl_803D6DE8@ha +/* 802F1770 002EE6D0 38 A0 00 00 */ li r5, 0 +/* 802F1774 002EE6D4 38 84 6D E8 */ addi r4, r4, lbl_803D6DE8@l +/* 802F1778 002EE6D8 38 84 00 01 */ addi r4, r4, 1 +/* 802F177C 002EE6DC 48 02 40 9D */ bl __nwa__FUlPCcPCc +/* 802F1780 002EE6E0 7C 7C 1B 78 */ mr r28, r3 +lbl_802F1784: +/* 802F1784 002EE6E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F1788 002EE6E8 7F 9B E3 78 */ mr r27, r28 +/* 802F178C 002EE6EC 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802F1790 002EE6F0 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F1794 002EE6F4 93 41 00 10 */ stw r26, 0x10(r1) +/* 802F1798 002EE6F8 7F BA 02 14 */ add r29, r26, r0 +/* 802F179C 002EE6FC 93 41 00 14 */ stw r26, 0x14(r1) +/* 802F17A0 002EE700 93 A1 00 08 */ stw r29, 8(r1) +/* 802F17A4 002EE704 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802F17A8 002EE708 48 00 00 28 */ b lbl_802F17D0 +lbl_802F17AC: +/* 802F17AC 002EE70C 28 1B 00 00 */ cmplwi r27, 0 +/* 802F17B0 002EE710 41 82 00 18 */ beq lbl_802F17C8 +/* 802F17B4 002EE714 7F 63 DB 78 */ mr r3, r27 +/* 802F17B8 002EE718 7F 44 D3 78 */ mr r4, r26 +/* 802F17BC 002EE71C 48 04 C9 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F17C0 002EE720 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 802F17C4 002EE724 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_802F17C8: +/* 802F17C8 002EE728 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 802F17CC 002EE72C 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802F17D0: +/* 802F17D0 002EE730 7C 1A E8 40 */ cmplw r26, r29 +/* 802F17D4 002EE734 40 82 FF D8 */ bne lbl_802F17AC +/* 802F17D8 002EE738 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F17DC 002EE73C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802F17E0 002EE740 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802F17E4 002EE744 7F 7A 02 14 */ add r27, r26, r0 +/* 802F17E8 002EE748 48 00 00 1C */ b lbl_802F1804 +lbl_802F17EC: +/* 802F17EC 002EE74C 28 1A 00 00 */ cmplwi r26, 0 +/* 802F17F0 002EE750 41 82 00 10 */ beq lbl_802F1800 +/* 802F17F4 002EE754 41 82 00 0C */ beq lbl_802F1800 +/* 802F17F8 002EE758 7F 43 D3 78 */ mr r3, r26 +/* 802F17FC 002EE75C 48 04 C2 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F1800: +/* 802F1800 002EE760 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802F1804: +/* 802F1804 002EE764 7C 1A D8 40 */ cmplw r26, r27 +/* 802F1808 002EE768 40 82 FF E4 */ bne lbl_802F17EC +/* 802F180C 002EE76C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F1810 002EE770 28 03 00 00 */ cmplwi r3, 0 +/* 802F1814 002EE774 41 82 00 08 */ beq lbl_802F181C +/* 802F1818 002EE778 48 02 41 19 */ bl Free__7CMemoryFPCv +lbl_802F181C: +/* 802F181C 002EE77C 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802F1820 002EE780 93 FE 00 08 */ stw r31, 8(r30) +lbl_802F1824: +/* 802F1824 002EE784 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802F1828 002EE788 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F182C 002EE78C 7C 08 03 A6 */ mtlr r0 +/* 802F1830 002EE790 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F1834 002EE794 4E 80 00 20 */ blr + +.global __dt__28CAnimTreeAnimReaderContainerFv +__dt__28CAnimTreeAnimReaderContainerFv: +/* 802F1838 002EE798 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F183C 002EE79C 7C 08 02 A6 */ mflr r0 +/* 802F1840 002EE7A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1844 002EE7A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F1848 002EE7A8 7C 9F 23 78 */ mr r31, r4 +/* 802F184C 002EE7AC 93 C1 00 08 */ stw r30, 8(r1) +/* 802F1850 002EE7B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F1854 002EE7B4 41 82 00 90 */ beq lbl_802F18E4 +/* 802F1858 002EE7B8 3C 80 80 3F */ lis r4, lbl_803ED068@ha +/* 802F185C 002EE7BC 38 60 00 08 */ li r3, 8 +/* 802F1860 002EE7C0 38 04 D0 68 */ addi r0, r4, lbl_803ED068@l +/* 802F1864 002EE7C4 38 80 00 02 */ li r4, 2 +/* 802F1868 002EE7C8 90 1E 00 00 */ stw r0, 0(r30) +/* 802F186C 002EE7CC 48 00 63 3D */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F1870 002EE7D0 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802F1874 002EE7D4 41 82 00 24 */ beq lbl_802F1898 +/* 802F1878 002EE7D8 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802F187C 002EE7DC 28 03 00 00 */ cmplwi r3, 0 +/* 802F1880 002EE7E0 41 82 00 18 */ beq lbl_802F1898 +/* 802F1884 002EE7E4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1888 002EE7E8 38 80 00 01 */ li r4, 1 +/* 802F188C 002EE7EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F1890 002EE7F0 7D 89 03 A6 */ mtctr r12 +/* 802F1894 002EE7F4 4E 80 04 21 */ bctrl +lbl_802F1898: +/* 802F1898 002EE7F8 28 1E 00 00 */ cmplwi r30, 0 +/* 802F189C 002EE7FC 41 82 00 38 */ beq lbl_802F18D4 +/* 802F18A0 002EE800 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802F18A4 002EE804 38 80 00 02 */ li r4, 2 +/* 802F18A8 002EE808 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802F18AC 002EE80C 90 1E 00 00 */ stw r0, 0(r30) +/* 802F18B0 002EE810 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F18B4 002EE814 48 00 62 F5 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F18B8 002EE818 34 1E 00 04 */ addic. r0, r30, 4 +/* 802F18BC 002EE81C 41 82 00 0C */ beq lbl_802F18C8 +/* 802F18C0 002EE820 38 7E 00 04 */ addi r3, r30, 4 +/* 802F18C4 002EE824 48 04 C2 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F18C8: +/* 802F18C8 002EE828 7F C3 F3 78 */ mr r3, r30 +/* 802F18CC 002EE82C 38 80 00 00 */ li r4, 0 +/* 802F18D0 002EE830 48 00 C6 05 */ bl __dt__11IAnimReaderFv +lbl_802F18D4: +/* 802F18D4 002EE834 7F E0 07 35 */ extsh. r0, r31 +/* 802F18D8 002EE838 40 81 00 0C */ ble lbl_802F18E4 +/* 802F18DC 002EE83C 7F C3 F3 78 */ mr r3, r30 +/* 802F18E0 002EE840 48 02 40 51 */ bl Free__7CMemoryFPCv +lbl_802F18E4: +/* 802F18E4 002EE844 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F18E8 002EE848 7F C3 F3 78 */ mr r3, r30 +/* 802F18EC 002EE84C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F18F0 002EE850 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F18F4 002EE854 7C 08 03 A6 */ mtlr r0 +/* 802F18F8 002EE858 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F18FC 002EE85C 4E 80 00 20 */ blr + +.global Depth__28CAnimTreeAnimReaderContainerCFv +Depth__28CAnimTreeAnimReaderContainerCFv: +/* 802F1900 002EE860 38 60 00 01 */ li r3, 1 +/* 802F1904 002EE864 4E 80 00 20 */ blr + +.global VGetNumChildren__28CAnimTreeAnimReaderContainerCFv +VGetNumChildren__28CAnimTreeAnimReaderContainerCFv: +/* 802F1908 002EE868 38 60 00 00 */ li r3, 0 +/* 802F190C 002EE86C 4E 80 00 20 */ blr + +.global "VGetWeightedReaders__28CAnimTreeAnimReaderContainerFfRQ24rstl48reserved_vector>" +"VGetWeightedReaders__28CAnimTreeAnimReaderContainerFfRQ24rstl48reserved_vector>": +/* 802F1910 002EE870 80 04 00 00 */ lwz r0, 0(r4) +/* 802F1914 002EE874 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 802F1918 002EE878 54 00 18 38 */ slwi r0, r0, 3 +/* 802F191C 002EE87C 7C 64 02 14 */ add r3, r4, r0 +/* 802F1920 002EE880 34 63 00 04 */ addic. r3, r3, 4 +/* 802F1924 002EE884 41 82 00 0C */ beq lbl_802F1930 +/* 802F1928 002EE888 D0 23 00 00 */ stfs f1, 0(r3) +/* 802F192C 002EE88C 90 A3 00 04 */ stw r5, 4(r3) +lbl_802F1930: +/* 802F1930 002EE890 80 64 00 00 */ lwz r3, 0(r4) +/* 802F1934 002EE894 38 03 00 01 */ addi r0, r3, 1 +/* 802F1938 002EE898 90 04 00 00 */ stw r0, 0(r4) +/* 802F193C 002EE89C 4E 80 00 20 */ blr + +.global VGetBestUnblendedChild__28CAnimTreeAnimReaderContainerCFv +VGetBestUnblendedChild__28CAnimTreeAnimReaderContainerCFv: +/* 802F1940 002EE8A0 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 802F1944 002EE8A4 90 03 00 00 */ stw r0, 0(r3) +/* 802F1948 002EE8A8 80 83 00 00 */ lwz r4, 0(r3) +/* 802F194C 002EE8AC 80 64 00 04 */ lwz r3, 4(r4) +/* 802F1950 002EE8B0 38 03 00 01 */ addi r0, r3, 1 +/* 802F1954 002EE8B4 90 04 00 04 */ stw r0, 4(r4) +/* 802F1958 002EE8B8 4E 80 00 20 */ blr + +.global VGetAdvancementResults__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeRC13CCharAnimTime +VGetAdvancementResults__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeRC13CCharAnimTime: +/* 802F195C 002EE8BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1960 002EE8C0 7C 08 02 A6 */ mflr r0 +/* 802F1964 002EE8C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1968 002EE8C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F196C 002EE8CC 7C 7F 1B 78 */ mr r31, r3 +/* 802F1970 002EE8D0 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F1974 002EE8D4 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1978 002EE8D8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802F197C 002EE8DC 7D 89 03 A6 */ mtctr r12 +/* 802F1980 002EE8E0 4E 80 04 21 */ bctrl +/* 802F1984 002EE8E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1988 002EE8E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F198C 002EE8EC 7C 08 03 A6 */ mtlr r0 +/* 802F1990 002EE8F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1994 002EE8F4 4E 80 00 20 */ blr + +.global VSetPhase__28CAnimTreeAnimReaderContainerFf +VSetPhase__28CAnimTreeAnimReaderContainerFf: +/* 802F1998 002EE8F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F199C 002EE8FC 7C 08 02 A6 */ mflr r0 +/* 802F19A0 002EE900 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F19A4 002EE904 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F19A8 002EE908 81 83 00 00 */ lwz r12, 0(r3) +/* 802F19AC 002EE90C 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802F19B0 002EE910 7D 89 03 A6 */ mtctr r12 +/* 802F19B4 002EE914 4E 80 04 21 */ bctrl +/* 802F19B8 002EE918 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F19BC 002EE91C 7C 08 03 A6 */ mtlr r0 +/* 802F19C0 002EE920 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F19C4 002EE924 4E 80 00 20 */ blr + +.global VSimplified__28CAnimTreeAnimReaderContainerFv +VSimplified__28CAnimTreeAnimReaderContainerFv: +/* 802F19C8 002EE928 38 00 00 00 */ li r0, 0 +/* 802F19CC 002EE92C 98 03 00 08 */ stb r0, 8(r3) +/* 802F19D0 002EE930 4E 80 00 20 */ blr + +.global VGetContributionOfHighestInfluence__28CAnimTreeAnimReaderContainerCFv +VGetContributionOfHighestInfluence__28CAnimTreeAnimReaderContainerCFv: +/* 802F19D4 002EE934 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802F19D8 002EE938 7C 08 02 A6 */ mflr r0 +/* 802F19DC 002EE93C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802F19E0 002EE940 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802F19E4 002EE944 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802F19E8 002EE948 7C 9E 23 78 */ mr r30, r4 +/* 802F19EC 002EE94C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802F19F0 002EE950 7C 7D 1B 78 */ mr r29, r3 +/* 802F19F4 002EE954 38 61 00 08 */ addi r3, r1, 8 +/* 802F19F8 002EE958 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F19FC 002EE95C 83 FE 00 1C */ lwz r31, 0x1c(r30) +/* 802F1A00 002EE960 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1A04 002EE964 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F1A08 002EE968 7D 89 03 A6 */ mtctr r12 +/* 802F1A0C 002EE96C 4E 80 04 21 */ bctrl +/* 802F1A10 002EE970 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F1A14 002EE974 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F1A18 002EE978 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1A1C 002EE97C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F1A20 002EE980 7D 89 03 A6 */ mtctr r12 +/* 802F1A24 002EE984 4E 80 04 21 */ bctrl +/* 802F1A28 002EE988 C0 02 C6 80 */ lfs f0, lbl_805AE3A0@sda21(r2) +/* 802F1A2C 002EE98C 38 7D 00 04 */ addi r3, r29, 4 +/* 802F1A30 002EE990 38 9E 00 04 */ addi r4, r30, 4 +/* 802F1A34 002EE994 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F1A38 002EE998 48 04 C7 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F1A3C 002EE99C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802F1A40 002EE9A0 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802F1A44 002EE9A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1A48 002EE9A8 90 1D 00 18 */ stw r0, 0x18(r29) +/* 802F1A4C 002EE9AC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802F1A50 002EE9B0 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802F1A54 002EE9B4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802F1A58 002EE9B8 D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 802F1A5C 002EE9BC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802F1A60 002EE9C0 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 802F1A64 002EE9C4 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802F1A68 002EE9C8 98 1D 00 28 */ stb r0, 0x28(r29) +/* 802F1A6C 002EE9CC C0 01 00 08 */ lfs f0, 8(r1) +/* 802F1A70 002EE9D0 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802F1A74 002EE9D4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F1A78 002EE9D8 90 1D 00 30 */ stw r0, 0x30(r29) +/* 802F1A7C 002EE9DC 93 FD 00 34 */ stw r31, 0x34(r29) +/* 802F1A80 002EE9E0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802F1A84 002EE9E4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802F1A88 002EE9E8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802F1A8C 002EE9EC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802F1A90 002EE9F0 7C 08 03 A6 */ mtlr r0 +/* 802F1A94 002EE9F4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802F1A98 002EE9F8 4E 80 00 20 */ blr + +.global VClone__28CAnimTreeAnimReaderContainerCFv +VClone__28CAnimTreeAnimReaderContainerCFv: +/* 802F1A9C 002EE9FC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F1AA0 002EEA00 7C 08 02 A6 */ mflr r0 +/* 802F1AA4 002EEA04 3C A0 80 3D */ lis r5, lbl_803D6DF0@ha +/* 802F1AA8 002EEA08 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F1AAC 002EEA0C 38 05 6D F0 */ addi r0, r5, lbl_803D6DF0@l +/* 802F1AB0 002EEA10 38 A0 00 00 */ li r5, 0 +/* 802F1AB4 002EEA14 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802F1AB8 002EEA18 7C 7C 1B 78 */ mr r28, r3 +/* 802F1ABC 002EEA1C 7C 9D 23 78 */ mr r29, r4 +/* 802F1AC0 002EEA20 7C 04 03 78 */ mr r4, r0 +/* 802F1AC4 002EEA24 3B 60 00 00 */ li r27, 0 +/* 802F1AC8 002EEA28 38 60 00 20 */ li r3, 0x20 +/* 802F1ACC 002EEA2C 48 02 3D A1 */ bl __nw__FUlPCcPCc +/* 802F1AD0 002EEA30 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802F1AD4 002EEA34 41 82 00 50 */ beq lbl_802F1B24 +/* 802F1AD8 002EEA38 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802F1ADC 002EEA3C 38 61 00 08 */ addi r3, r1, 8 +/* 802F1AE0 002EEA40 4B F9 10 01 */ bl Clone__11IAnimReaderCFv +/* 802F1AE4 002EEA44 83 DD 00 1C */ lwz r30, 0x1c(r29) +/* 802F1AE8 002EEA48 7F E3 FB 78 */ mr r3, r31 +/* 802F1AEC 002EEA4C 38 9D 00 04 */ addi r4, r29, 4 +/* 802F1AF0 002EEA50 3B 60 00 01 */ li r27, 1 +/* 802F1AF4 002EEA54 48 00 21 DD */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F1AF8 002EEA58 3C 60 80 3F */ lis r3, lbl_803ED068@ha +/* 802F1AFC 002EEA5C 38 00 00 00 */ li r0, 0 +/* 802F1B00 002EEA60 38 83 D0 68 */ addi r4, r3, lbl_803ED068@l +/* 802F1B04 002EEA64 38 60 00 08 */ li r3, 8 +/* 802F1B08 002EEA68 90 9F 00 00 */ stw r4, 0(r31) +/* 802F1B0C 002EEA6C 38 80 00 02 */ li r4, 2 +/* 802F1B10 002EEA70 98 01 00 08 */ stb r0, 8(r1) +/* 802F1B14 002EEA74 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F1B18 002EEA78 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802F1B1C 002EEA7C 93 DF 00 1C */ stw r30, 0x1c(r31) +/* 802F1B20 002EEA80 48 00 60 99 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +lbl_802F1B24: +/* 802F1B24 002EEA84 7C 7F 00 D0 */ neg r3, r31 +/* 802F1B28 002EEA88 7F 60 07 75 */ extsb. r0, r27 +/* 802F1B2C 002EEA8C 7C 60 FB 78 */ or r0, r3, r31 +/* 802F1B30 002EEA90 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802F1B34 002EEA94 98 1C 00 00 */ stb r0, 0(r28) +/* 802F1B38 002EEA98 93 FC 00 04 */ stw r31, 4(r28) +/* 802F1B3C 002EEA9C 41 82 00 30 */ beq lbl_802F1B6C +/* 802F1B40 002EEAA0 88 01 00 08 */ lbz r0, 8(r1) +/* 802F1B44 002EEAA4 28 00 00 00 */ cmplwi r0, 0 +/* 802F1B48 002EEAA8 41 82 00 24 */ beq lbl_802F1B6C +/* 802F1B4C 002EEAAC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F1B50 002EEAB0 28 03 00 00 */ cmplwi r3, 0 +/* 802F1B54 002EEAB4 41 82 00 18 */ beq lbl_802F1B6C +/* 802F1B58 002EEAB8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1B5C 002EEABC 38 80 00 01 */ li r4, 1 +/* 802F1B60 002EEAC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F1B64 002EEAC4 7D 89 03 A6 */ mtctr r12 +/* 802F1B68 002EEAC8 4E 80 04 21 */ bctrl +lbl_802F1B6C: +/* 802F1B6C 002EEACC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802F1B70 002EEAD0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F1B74 002EEAD4 7C 08 03 A6 */ mtlr r0 +/* 802F1B78 002EEAD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F1B7C 002EEADC 4E 80 00 20 */ blr + +.global VGetSegStatementSet__28CAnimTreeAnimReaderContainerCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +VGetSegStatementSet__28CAnimTreeAnimReaderContainerCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime: +/* 802F1B80 002EEAE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1B84 002EEAE4 7C 08 02 A6 */ mflr r0 +/* 802F1B88 002EEAE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1B8C 002EEAEC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1B90 002EEAF0 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1B94 002EEAF4 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802F1B98 002EEAF8 7D 89 03 A6 */ mtctr r12 +/* 802F1B9C 002EEAFC 4E 80 04 21 */ bctrl +/* 802F1BA0 002EEB00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1BA4 002EEB04 7C 08 03 A6 */ mtlr r0 +/* 802F1BA8 002EEB08 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1BAC 002EEB0C 4E 80 00 20 */ blr + +.global VGetSegStatementSet__28CAnimTreeAnimReaderContainerCFRC10CSegIdListR16CSegStatementSet +VGetSegStatementSet__28CAnimTreeAnimReaderContainerCFRC10CSegIdListR16CSegStatementSet: +/* 802F1BB0 002EEB10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1BB4 002EEB14 7C 08 02 A6 */ mflr r0 +/* 802F1BB8 002EEB18 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1BBC 002EEB1C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1BC0 002EEB20 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1BC4 002EEB24 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802F1BC8 002EEB28 7D 89 03 A6 */ mtctr r12 +/* 802F1BCC 002EEB2C 4E 80 04 21 */ bctrl +/* 802F1BD0 002EEB30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1BD4 002EEB34 7C 08 03 A6 */ mtlr r0 +/* 802F1BD8 002EEB38 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1BDC 002EEB3C 4E 80 00 20 */ blr + +.global VGetParticlePOIState__28CAnimTreeAnimReaderContainerCFPCc +VGetParticlePOIState__28CAnimTreeAnimReaderContainerCFPCc: +/* 802F1BE0 002EEB40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1BE4 002EEB44 7C 08 02 A6 */ mflr r0 +/* 802F1BE8 002EEB48 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1BEC 002EEB4C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1BF0 002EEB50 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1BF4 002EEB54 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 802F1BF8 002EEB58 7D 89 03 A6 */ mtctr r12 +/* 802F1BFC 002EEB5C 4E 80 04 21 */ bctrl +/* 802F1C00 002EEB60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1C04 002EEB64 7C 08 03 A6 */ mtlr r0 +/* 802F1C08 002EEB68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1C0C 002EEB6C 4E 80 00 20 */ blr + +.global VGetInt32POIState__28CAnimTreeAnimReaderContainerCFPCc +VGetInt32POIState__28CAnimTreeAnimReaderContainerCFPCc: +/* 802F1C10 002EEB70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1C14 002EEB74 7C 08 02 A6 */ mflr r0 +/* 802F1C18 002EEB78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1C1C 002EEB7C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1C20 002EEB80 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1C24 002EEB84 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802F1C28 002EEB88 7D 89 03 A6 */ mtctr r12 +/* 802F1C2C 002EEB8C 4E 80 04 21 */ bctrl +/* 802F1C30 002EEB90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1C34 002EEB94 7C 08 03 A6 */ mtlr r0 +/* 802F1C38 002EEB98 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1C3C 002EEB9C 4E 80 00 20 */ blr + +.global VGetBoolPOIState__28CAnimTreeAnimReaderContainerCFPCc +VGetBoolPOIState__28CAnimTreeAnimReaderContainerCFPCc: +/* 802F1C40 002EEBA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1C44 002EEBA4 7C 08 02 A6 */ mflr r0 +/* 802F1C48 002EEBA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1C4C 002EEBAC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1C50 002EEBB0 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1C54 002EEBB4 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802F1C58 002EEBB8 7D 89 03 A6 */ mtctr r12 +/* 802F1C5C 002EEBBC 4E 80 04 21 */ bctrl +/* 802F1C60 002EEBC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1C64 002EEBC4 7C 08 03 A6 */ mtlr r0 +/* 802F1C68 002EEBC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1C6C 002EEBCC 4E 80 00 20 */ blr + +.global VGetSoundPOIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802F1C70 002EEBD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1C74 002EEBD4 7C 08 02 A6 */ mflr r0 +/* 802F1C78 002EEBD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1C7C 002EEBDC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1C80 002EEBE0 48 00 C0 05 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 802F1C84 002EEBE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1C88 002EEBE8 7C 08 03 A6 */ mtlr r0 +/* 802F1C8C 002EEBEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1C90 002EEBF0 4E 80 00 20 */ blr + +.global VGetParticlePOIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802F1C94 002EEBF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1C98 002EEBF8 7C 08 02 A6 */ mflr r0 +/* 802F1C9C 002EEBFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1CA0 002EEC00 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1CA4 002EEC04 48 00 C0 5D */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 802F1CA8 002EEC08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1CAC 002EEC0C 7C 08 03 A6 */ mtlr r0 +/* 802F1CB0 002EEC10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1CB4 002EEC14 4E 80 00 20 */ blr + +.global VGetInt32POIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802F1CB8 002EEC18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1CBC 002EEC1C 7C 08 02 A6 */ mflr r0 +/* 802F1CC0 002EEC20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1CC4 002EEC24 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1CC8 002EEC28 48 00 C0 B5 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 802F1CCC 002EEC2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1CD0 002EEC30 7C 08 03 A6 */ mtlr r0 +/* 802F1CD4 002EEC34 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1CD8 002EEC38 4E 80 00 20 */ blr + +.global VGetBoolPOIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__28CAnimTreeAnimReaderContainerCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802F1CDC 002EEC3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1CE0 002EEC40 7C 08 02 A6 */ mflr r0 +/* 802F1CE4 002EEC44 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1CE8 002EEC48 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1CEC 002EEC4C 48 00 C1 0D */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 802F1CF0 002EEC50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1CF4 002EEC54 7C 08 03 A6 */ mtlr r0 +/* 802F1CF8 002EEC58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1CFC 002EEC5C 4E 80 00 20 */ blr + +.global VGetRotation__28CAnimTreeAnimReaderContainerCFRC6CSegId +VGetRotation__28CAnimTreeAnimReaderContainerCFRC6CSegId: +/* 802F1D00 002EEC60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1D04 002EEC64 7C 08 02 A6 */ mflr r0 +/* 802F1D08 002EEC68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1D0C 002EEC6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F1D10 002EEC70 7C 7F 1B 78 */ mr r31, r3 +/* 802F1D14 002EEC74 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F1D18 002EEC78 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1D1C 002EEC7C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802F1D20 002EEC80 7D 89 03 A6 */ mtctr r12 +/* 802F1D24 002EEC84 4E 80 04 21 */ bctrl +/* 802F1D28 002EEC88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1D2C 002EEC8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F1D30 002EEC90 7C 08 03 A6 */ mtlr r0 +/* 802F1D34 002EEC94 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1D38 002EEC98 4E 80 00 20 */ blr + +.global VGetOffset__28CAnimTreeAnimReaderContainerCFRC6CSegId +VGetOffset__28CAnimTreeAnimReaderContainerCFRC6CSegId: +/* 802F1D3C 002EEC9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1D40 002EECA0 7C 08 02 A6 */ mflr r0 +/* 802F1D44 002EECA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1D48 002EECA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F1D4C 002EECAC 7C 7F 1B 78 */ mr r31, r3 +/* 802F1D50 002EECB0 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F1D54 002EECB4 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1D58 002EECB8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802F1D5C 002EECBC 7D 89 03 A6 */ mtctr r12 +/* 802F1D60 002EECC0 4E 80 04 21 */ bctrl +/* 802F1D64 002EECC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1D68 002EECC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F1D6C 002EECCC 7C 08 03 A6 */ mtlr r0 +/* 802F1D70 002EECD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1D74 002EECD4 4E 80 00 20 */ blr + +.global VHasOffset__28CAnimTreeAnimReaderContainerCFRC6CSegId +VHasOffset__28CAnimTreeAnimReaderContainerCFRC6CSegId: +/* 802F1D78 002EECD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1D7C 002EECDC 7C 08 02 A6 */ mflr r0 +/* 802F1D80 002EECE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1D84 002EECE4 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F1D88 002EECE8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1D8C 002EECEC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F1D90 002EECF0 7D 89 03 A6 */ mtctr r12 +/* 802F1D94 002EECF4 4E 80 04 21 */ bctrl +/* 802F1D98 002EECF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1D9C 002EECFC 7C 08 03 A6 */ mtlr r0 +/* 802F1DA0 002EED00 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1DA4 002EED04 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__28CAnimTreeAnimReaderContainerCFv +VGetSteadyStateAnimInfo__28CAnimTreeAnimReaderContainerCFv: +/* 802F1DA8 002EED08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1DAC 002EED0C 7C 08 02 A6 */ mflr r0 +/* 802F1DB0 002EED10 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1DB4 002EED14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F1DB8 002EED18 7C 7F 1B 78 */ mr r31, r3 +/* 802F1DBC 002EED1C 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F1DC0 002EED20 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1DC4 002EED24 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F1DC8 002EED28 7D 89 03 A6 */ mtctr r12 +/* 802F1DCC 002EED2C 4E 80 04 21 */ bctrl +/* 802F1DD0 002EED30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1DD4 002EED34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F1DD8 002EED38 7C 08 03 A6 */ mtlr r0 +/* 802F1DDC 002EED3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1DE0 002EED40 4E 80 00 20 */ blr + +.global VGetTimeRemaining__28CAnimTreeAnimReaderContainerCFv +VGetTimeRemaining__28CAnimTreeAnimReaderContainerCFv: +/* 802F1DE4 002EED44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1DE8 002EED48 7C 08 02 A6 */ mflr r0 +/* 802F1DEC 002EED4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1DF0 002EED50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F1DF4 002EED54 7C 7F 1B 78 */ mr r31, r3 +/* 802F1DF8 002EED58 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F1DFC 002EED5C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1E00 002EED60 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F1E04 002EED64 7D 89 03 A6 */ mtctr r12 +/* 802F1E08 002EED68 4E 80 04 21 */ bctrl +/* 802F1E0C 002EED6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1E10 002EED70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F1E14 002EED74 7C 08 03 A6 */ mtlr r0 +/* 802F1E18 002EED78 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1E1C 002EED7C 4E 80 00 20 */ blr + +.global VAdvanceView__28CAnimTreeAnimReaderContainerFRC13CCharAnimTime +VAdvanceView__28CAnimTreeAnimReaderContainerFRC13CCharAnimTime: +/* 802F1E20 002EED80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1E24 002EED84 7C 08 02 A6 */ mflr r0 +/* 802F1E28 002EED88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1E2C 002EED8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F1E30 002EED90 7C 7F 1B 78 */ mr r31, r3 +/* 802F1E34 002EED94 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F1E38 002EED98 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1E3C 002EED9C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F1E40 002EEDA0 7D 89 03 A6 */ mtctr r12 +/* 802F1E44 002EEDA4 4E 80 04 21 */ bctrl +/* 802F1E48 002EEDA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1E4C 002EEDAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F1E50 002EEDB0 7C 08 03 A6 */ mtlr r0 +/* 802F1E54 002EEDB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1E58 002EEDB8 4E 80 00 20 */ blr + +.global __dt__14CAnimTreeBlendFv +__dt__14CAnimTreeBlendFv: +/* 802F1E5C 002EEDBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F1E60 002EEDC0 7C 08 02 A6 */ mflr r0 +/* 802F1E64 002EEDC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F1E68 002EEDC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F1E6C 002EEDCC 7C 9F 23 78 */ mr r31, r4 +/* 802F1E70 002EEDD0 93 C1 00 08 */ stw r30, 8(r1) +/* 802F1E74 002EEDD4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F1E78 002EEDD8 41 82 00 28 */ beq lbl_802F1EA0 +/* 802F1E7C 002EEDDC 3C A0 80 3F */ lis r5, lbl_803ED0D8@ha +/* 802F1E80 002EEDE0 38 80 00 00 */ li r4, 0 +/* 802F1E84 002EEDE4 38 05 D0 D8 */ addi r0, r5, lbl_803ED0D8@l +/* 802F1E88 002EEDE8 90 1E 00 00 */ stw r0, 0(r30) +/* 802F1E8C 002EEDEC 48 00 5B 2D */ bl __dt__18CAnimTreeTweenBaseFv +/* 802F1E90 002EEDF0 7F E0 07 35 */ extsh. r0, r31 +/* 802F1E94 002EEDF4 40 81 00 0C */ ble lbl_802F1EA0 +/* 802F1E98 002EEDF8 7F C3 F3 78 */ mr r3, r30 +/* 802F1E9C 002EEDFC 48 02 3A 95 */ bl Free__7CMemoryFPCv +lbl_802F1EA0: +/* 802F1EA0 002EEE00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F1EA4 002EEE04 7F C3 F3 78 */ mr r3, r30 +/* 802F1EA8 002EEE08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F1EAC 002EEE0C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F1EB0 002EEE10 7C 08 03 A6 */ mtlr r0 +/* 802F1EB4 002EEE14 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F1EB8 002EEE18 4E 80 00 20 */ blr + +.global Depth__20CAnimTreeDoubleChildCFv +Depth__20CAnimTreeDoubleChildCFv: +/* 802F1EBC 002EEE1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F1EC0 002EEE20 7C 08 02 A6 */ mflr r0 +/* 802F1EC4 002EEE24 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F1EC8 002EEE28 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F1ECC 002EEE2C 7C 7F 1B 78 */ mr r31, r3 +/* 802F1ED0 002EEE30 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802F1ED4 002EEE34 80 63 00 00 */ lwz r3, 0(r3) +/* 802F1ED8 002EEE38 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1EDC 002EEE3C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802F1EE0 002EEE40 7D 89 03 A6 */ mtctr r12 +/* 802F1EE4 002EEE44 4E 80 04 21 */ bctrl +/* 802F1EE8 002EEE48 90 61 00 08 */ stw r3, 8(r1) +/* 802F1EEC 002EEE4C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802F1EF0 002EEE50 80 63 00 00 */ lwz r3, 0(r3) +/* 802F1EF4 002EEE54 81 83 00 00 */ lwz r12, 0(r3) +/* 802F1EF8 002EEE58 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802F1EFC 002EEE5C 7D 89 03 A6 */ mtctr r12 +/* 802F1F00 002EEE60 4E 80 04 21 */ bctrl +/* 802F1F04 002EEE64 80 01 00 08 */ lwz r0, 8(r1) +/* 802F1F08 002EEE68 38 81 00 0C */ addi r4, r1, 0xc +/* 802F1F0C 002EEE6C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802F1F10 002EEE70 7C 03 00 40 */ cmplw r3, r0 +/* 802F1F14 002EEE74 40 80 00 08 */ bge lbl_802F1F1C +/* 802F1F18 002EEE78 38 81 00 08 */ addi r4, r1, 8 +lbl_802F1F1C: +/* 802F1F1C 002EEE7C 80 64 00 00 */ lwz r3, 0(r4) +/* 802F1F20 002EEE80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F1F24 002EEE84 38 63 00 01 */ addi r3, r3, 1 +/* 802F1F28 002EEE88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F1F2C 002EEE8C 7C 08 03 A6 */ mtlr r0 +/* 802F1F30 002EEE90 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F1F34 002EEE94 4E 80 00 20 */ blr + +.global VAdvanceView__14CAnimTreeBlendFRC13CCharAnimTime +VAdvanceView__14CAnimTreeBlendFRC13CCharAnimTime: +/* 802F1F38 002EEE98 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802F1F3C 002EEE9C 7C 08 02 A6 */ mflr r0 +/* 802F1F40 002EEEA0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802F1F44 002EEEA4 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802F1F48 002EEEA8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802F1F4C 002EEEAC 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 802F1F50 002EEEB0 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 802F1F54 002EEEB4 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 802F1F58 002EEEB8 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 802F1F5C 002EEEBC 80 CD A7 40 */ lwz r6, lbl_805A9300@sda21(r13) +/* 802F1F60 002EEEC0 7C 7C 1B 78 */ mr r28, r3 +/* 802F1F64 002EEEC4 7C 9D 23 78 */ mr r29, r4 +/* 802F1F68 002EEEC8 7C BE 2B 78 */ mr r30, r5 +/* 802F1F6C 002EEECC 38 06 00 01 */ addi r0, r6, 1 +/* 802F1F70 002EEED0 38 61 00 50 */ addi r3, r1, 0x50 +/* 802F1F74 002EEED4 90 0D A7 40 */ stw r0, lbl_805A9300@sda21(r13) +/* 802F1F78 002EEED8 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F1F7C 002EEEDC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F1F80 002EEEE0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1F84 002EEEE4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F1F88 002EEEE8 7D 89 03 A6 */ mtctr r12 +/* 802F1F8C 002EEEEC 4E 80 04 21 */ bctrl +/* 802F1F90 002EEEF0 C0 E1 00 50 */ lfs f7, 0x50(r1) +/* 802F1F94 002EEEF4 7F C5 F3 78 */ mr r5, r30 +/* 802F1F98 002EEEF8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F1F9C 002EEEFC 3B E1 00 A0 */ addi r31, r1, 0xa0 +/* 802F1FA0 002EEF00 C0 C1 00 58 */ lfs f6, 0x58(r1) +/* 802F1FA4 002EEF04 38 61 00 2C */ addi r3, r1, 0x2c +/* 802F1FA8 002EEF08 C0 A1 00 5C */ lfs f5, 0x5c(r1) +/* 802F1FAC 002EEF0C C0 81 00 60 */ lfs f4, 0x60(r1) +/* 802F1FB0 002EEF10 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802F1FB4 002EEF14 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802F1FB8 002EEF18 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802F1FBC 002EEF1C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802F1FC0 002EEF20 D0 E1 00 98 */ stfs f7, 0x98(r1) +/* 802F1FC4 002EEF24 90 01 00 9C */ stw r0, 0x9c(r1) +/* 802F1FC8 002EEF28 D0 C1 00 A0 */ stfs f6, 0xa0(r1) +/* 802F1FCC 002EEF2C D0 A1 00 A4 */ stfs f5, 0xa4(r1) +/* 802F1FD0 002EEF30 D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 802F1FD4 002EEF34 D0 61 00 AC */ stfs f3, 0xac(r1) +/* 802F1FD8 002EEF38 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 802F1FDC 002EEF3C D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 802F1FE0 002EEF40 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802F1FE4 002EEF44 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 802F1FE8 002EEF48 80 84 00 00 */ lwz r4, 0(r4) +/* 802F1FEC 002EEF4C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F1FF0 002EEF50 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F1FF4 002EEF54 7D 89 03 A6 */ mtctr r12 +/* 802F1FF8 002EEF58 4E 80 04 21 */ bctrl +/* 802F1FFC 002EEF5C 80 6D A7 40 */ lwz r3, lbl_805A9300@sda21(r13) +/* 802F2000 002EEF60 3B C1 00 7C */ addi r30, r1, 0x7c +/* 802F2004 002EEF64 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 802F2008 002EEF68 80 81 00 30 */ lwz r4, 0x30(r1) +/* 802F200C 002EEF6C 38 03 FF FF */ addi r0, r3, -1 +/* 802F2010 002EEF70 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 802F2014 002EEF74 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 802F2018 002EEF78 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 802F201C 002EEF7C C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802F2020 002EEF80 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802F2024 002EEF84 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802F2028 002EEF88 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802F202C 002EEF8C D0 E1 00 74 */ stfs f7, 0x74(r1) +/* 802F2030 002EEF90 90 81 00 78 */ stw r4, 0x78(r1) +/* 802F2034 002EEF94 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 802F2038 002EEF98 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 802F203C 002EEF9C D0 81 00 84 */ stfs f4, 0x84(r1) +/* 802F2040 002EEFA0 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802F2044 002EEFA4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802F2048 002EEFA8 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802F204C 002EEFAC D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802F2050 002EEFB0 90 0D A7 40 */ stw r0, lbl_805A9300@sda21(r13) +/* 802F2054 002EEFB4 48 00 4F A9 */ bl ShouldCullTree__18CAnimTreeTweenBaseFv +/* 802F2058 002EEFB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F205C 002EEFBC 41 82 00 3C */ beq lbl_802F2098 +/* 802F2060 002EEFC0 7F A3 EB 78 */ mr r3, r29 +/* 802F2064 002EEFC4 48 00 4F B5 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F2068 002EEFC8 C0 02 C6 88 */ lfs f0, lbl_805AE3A8@sda21(r2) +/* 802F206C 002EEFCC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802F2070 002EEFD0 40 80 00 18 */ bge lbl_802F2088 +/* 802F2074 002EEFD4 88 1D 00 20 */ lbz r0, 0x20(r29) +/* 802F2078 002EEFD8 38 60 00 01 */ li r3, 1 +/* 802F207C 002EEFDC 50 60 2E 74 */ rlwimi r0, r3, 5, 0x19, 0x1a +/* 802F2080 002EEFE0 98 1D 00 20 */ stb r0, 0x20(r29) +/* 802F2084 002EEFE4 48 00 00 14 */ b lbl_802F2098 +lbl_802F2088: +/* 802F2088 002EEFE8 88 1D 00 20 */ lbz r0, 0x20(r29) +/* 802F208C 002EEFEC 38 60 00 02 */ li r3, 2 +/* 802F2090 002EEFF0 50 60 2E 74 */ rlwimi r0, r3, 5, 0x19, 0x1a +/* 802F2094 002EEFF4 98 1D 00 20 */ stb r0, 0x20(r29) +lbl_802F2098: +/* 802F2098 002EEFF8 38 61 00 98 */ addi r3, r1, 0x98 +/* 802F209C 002EEFFC 38 81 00 74 */ addi r4, r1, 0x74 +/* 802F20A0 002EF000 48 05 6B 9D */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F20A4 002EF004 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F20A8 002EF008 38 A1 00 98 */ addi r5, r1, 0x98 +/* 802F20AC 002EF00C 41 82 00 08 */ beq lbl_802F20B4 +/* 802F20B0 002EF010 38 A1 00 74 */ addi r5, r1, 0x74 +lbl_802F20B4: +/* 802F20B4 002EF014 80 62 C6 B8 */ lwz r3, lbl_805AE3D8@sda21(r2) +/* 802F20B8 002EF018 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 802F20BC 002EF01C 80 85 00 04 */ lwz r4, 4(r5) +/* 802F20C0 002EF020 7C 60 00 39 */ and. r0, r3, r0 +/* 802F20C4 002EF024 C3 E5 00 00 */ lfs f31, 0(r5) +/* 802F20C8 002EF028 90 81 00 0C */ stw r4, 0xc(r1) +/* 802F20CC 002EF02C 41 82 00 64 */ beq lbl_802F2130 +/* 802F20D0 002EF030 7F A3 EB 78 */ mr r3, r29 +/* 802F20D4 002EF034 48 00 4F 45 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F20D8 002EF038 7F E4 FB 78 */ mr r4, r31 +/* 802F20DC 002EF03C 7F C5 F3 78 */ mr r5, r30 +/* 802F20E0 002EF040 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F20E4 002EF044 4B FF 94 19 */ bl Blend__18CAdvancementDeltasFRC18CAdvancementDeltasRC18CAdvancementDeltasf +/* 802F20E8 002EF048 D3 FC 00 00 */ stfs f31, 0(r28) +/* 802F20EC 002EF04C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F20F0 002EF050 90 1C 00 04 */ stw r0, 4(r28) +/* 802F20F4 002EF054 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802F20F8 002EF058 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802F20FC 002EF05C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802F2100 002EF060 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 802F2104 002EF064 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802F2108 002EF068 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 802F210C 002EF06C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802F2110 002EF070 D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 802F2114 002EF074 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802F2118 002EF078 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 802F211C 002EF07C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802F2120 002EF080 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802F2124 002EF084 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802F2128 002EF088 D0 1C 00 20 */ stfs f0, 0x20(r28) +/* 802F212C 002EF08C 48 00 00 4C */ b lbl_802F2178 +lbl_802F2130: +/* 802F2130 002EF090 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802F2134 002EF094 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802F2138 002EF098 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802F213C 002EF09C 90 1C 00 04 */ stw r0, 4(r28) +/* 802F2140 002EF0A0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802F2144 002EF0A4 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802F2148 002EF0A8 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802F214C 002EF0AC D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 802F2150 002EF0B0 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802F2154 002EF0B4 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 802F2158 002EF0B8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802F215C 002EF0BC D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 802F2160 002EF0C0 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802F2164 002EF0C4 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 802F2168 002EF0C8 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 802F216C 002EF0CC D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802F2170 002EF0D0 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802F2174 002EF0D4 D0 1C 00 20 */ stfs f0, 0x20(r28) +lbl_802F2178: +/* 802F2178 002EF0D8 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802F217C 002EF0DC 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802F2180 002EF0E0 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802F2184 002EF0E4 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 802F2188 002EF0E8 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 802F218C 002EF0EC 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 802F2190 002EF0F0 83 81 00 C0 */ lwz r28, 0xc0(r1) +/* 802F2194 002EF0F4 7C 08 03 A6 */ mtlr r0 +/* 802F2198 002EF0F8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802F219C 002EF0FC 4E 80 00 20 */ blr + +.global SetBlendingWeight__14CAnimTreeBlendFf +SetBlendingWeight__14CAnimTreeBlendFf: +/* 802F21A0 002EF100 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802F21A4 002EF104 4E 80 00 20 */ blr + +.global "CreatePrimitiveName__14CAnimTreeBlendFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" +"CreatePrimitiveName__14CAnimTreeBlendFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f": +/* 802F21A8 002EF108 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F21AC 002EF10C 7C 08 02 A6 */ mflr r0 +/* 802F21B0 002EF110 3C 80 80 3D */ lis r4, lbl_803D6DF8@ha +/* 802F21B4 002EF114 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F21B8 002EF118 38 84 6D F8 */ addi r4, r4, lbl_803D6DF8@l +/* 802F21BC 002EF11C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F21C0 002EF120 7C 7F 1B 78 */ mr r31, r3 +/* 802F21C4 002EF124 4B D1 2A F5 */ bl string_l__4rstlFPCc +/* 802F21C8 002EF128 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F21CC 002EF12C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F21D0 002EF130 7C 08 03 A6 */ mtlr r0 +/* 802F21D4 002EF134 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F21D8 002EF138 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__14CAnimTreeBlendCFv +VGetSteadyStateAnimInfo__14CAnimTreeBlendCFv: +/* 802F21DC 002EF13C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802F21E0 002EF140 7C 08 02 A6 */ mflr r0 +/* 802F21E4 002EF144 90 01 01 34 */ stw r0, 0x134(r1) +/* 802F21E8 002EF148 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 802F21EC 002EF14C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 802F21F0 002EF150 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 802F21F4 002EF154 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 802F21F8 002EF158 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 802F21FC 002EF15C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 802F2200 002EF160 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 802F2204 002EF164 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 802F2208 002EF168 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 802F220C 002EF16C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 802F2210 002EF170 DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 802F2214 002EF174 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 802F2218 002EF178 DB 21 00 C0 */ stfd f25, 0xc0(r1) +/* 802F221C 002EF17C F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 +/* 802F2220 002EF180 DB 01 00 B0 */ stfd f24, 0xb0(r1) +/* 802F2224 002EF184 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 +/* 802F2228 002EF188 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802F222C 002EF18C 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802F2230 002EF190 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 802F2234 002EF194 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 802F2238 002EF198 7C 9D 23 78 */ mr r29, r4 +/* 802F223C 002EF19C 7C 7C 1B 78 */ mr r28, r3 +/* 802F2240 002EF1A0 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F2244 002EF1A4 38 61 00 50 */ addi r3, r1, 0x50 +/* 802F2248 002EF1A8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F224C 002EF1AC 81 84 00 00 */ lwz r12, 0(r4) +/* 802F2250 002EF1B0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F2254 002EF1B4 7D 89 03 A6 */ mtctr r12 +/* 802F2258 002EF1B8 4E 80 04 21 */ bctrl +/* 802F225C 002EF1BC 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 802F2260 002EF1C0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802F2264 002EF1C4 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802F2268 002EF1C8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F226C 002EF1CC C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802F2270 002EF1D0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F2274 002EF1D4 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802F2278 002EF1D8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802F227C 002EF1DC 88 01 00 64 */ lbz r0, 0x64(r1) +/* 802F2280 002EF1E0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F2284 002EF1E4 90 A1 00 84 */ stw r5, 0x84(r1) +/* 802F2288 002EF1E8 C3 E1 00 50 */ lfs f31, 0x50(r1) +/* 802F228C 002EF1EC D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802F2290 002EF1F0 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802F2294 002EF1F4 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802F2298 002EF1F8 98 01 00 94 */ stb r0, 0x94(r1) +/* 802F229C 002EF1FC 7D 89 03 A6 */ mtctr r12 +/* 802F22A0 002EF200 4E 80 04 21 */ bctrl +/* 802F22A4 002EF204 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802F22A8 002EF208 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F22AC 002EF20C 83 C1 00 84 */ lwz r30, 0x84(r1) +/* 802F22B0 002EF210 38 81 00 28 */ addi r4, r1, 0x28 +/* 802F22B4 002EF214 C3 A1 00 38 */ lfs f29, 0x38(r1) +/* 802F22B8 002EF218 C3 41 00 40 */ lfs f26, 0x40(r1) +/* 802F22BC 002EF21C C3 61 00 44 */ lfs f27, 0x44(r1) +/* 802F22C0 002EF220 C3 81 00 48 */ lfs f28, 0x48(r1) +/* 802F22C4 002EF224 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 802F22C8 002EF228 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802F22CC 002EF22C C3 21 00 88 */ lfs f25, 0x88(r1) +/* 802F22D0 002EF230 D3 41 00 70 */ stfs f26, 0x70(r1) +/* 802F22D4 002EF234 C3 01 00 8C */ lfs f24, 0x8c(r1) +/* 802F22D8 002EF238 D3 61 00 74 */ stfs f27, 0x74(r1) +/* 802F22DC 002EF23C C3 C1 00 90 */ lfs f30, 0x90(r1) +/* 802F22E0 002EF240 D3 81 00 78 */ stfs f28, 0x78(r1) +/* 802F22E4 002EF244 98 01 00 7C */ stb r0, 0x7c(r1) +/* 802F22E8 002EF248 93 C1 00 24 */ stw r30, 0x24(r1) +/* 802F22EC 002EF24C D3 E1 00 30 */ stfs f31, 0x30(r1) +/* 802F22F0 002EF250 93 C1 00 34 */ stw r30, 0x34(r1) +/* 802F22F4 002EF254 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F22F8 002EF258 D3 A1 00 28 */ stfs f29, 0x28(r1) +/* 802F22FC 002EF25C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802F2300 002EF260 48 05 69 3D */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F2304 002EF264 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F2308 002EF268 41 82 00 50 */ beq lbl_802F2358 +/* 802F230C 002EF26C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F2310 002EF270 38 81 00 30 */ addi r4, r1, 0x30 +/* 802F2314 002EF274 48 05 67 05 */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F2318 002EF278 C0 82 C6 8C */ lfs f4, lbl_805AE3AC@sda21(r2) +/* 802F231C 002EF27C EC 61 06 72 */ fmuls f3, f1, f25 +/* 802F2320 002EF280 C0 FD 00 24 */ lfs f7, 0x24(r29) +/* 802F2324 002EF284 EC 41 06 32 */ fmuls f2, f1, f24 +/* 802F2328 002EF288 EC 01 07 B2 */ fmuls f0, f1, f30 +/* 802F232C 002EF28C EC C4 38 28 */ fsubs f6, f4, f7 +/* 802F2330 002EF290 EC A7 00 F2 */ fmuls f5, f7, f3 +/* 802F2334 002EF294 EC 67 00 B2 */ fmuls f3, f7, f2 +/* 802F2338 002EF298 EC 86 06 B2 */ fmuls f4, f6, f26 +/* 802F233C 002EF29C EC 46 06 F2 */ fmuls f2, f6, f27 +/* 802F2340 002EF2A0 EC 27 00 32 */ fmuls f1, f7, f0 +/* 802F2344 002EF2A4 EC 06 07 32 */ fmuls f0, f6, f28 +/* 802F2348 002EF2A8 EF 25 20 2A */ fadds f25, f5, f4 +/* 802F234C 002EF2AC EF 03 10 2A */ fadds f24, f3, f2 +/* 802F2350 002EF2B0 EF 41 00 2A */ fadds f26, f1, f0 +/* 802F2354 002EF2B4 48 00 00 70 */ b lbl_802F23C4 +lbl_802F2358: +/* 802F2358 002EF2B8 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F235C 002EF2BC 38 81 00 30 */ addi r4, r1, 0x30 +/* 802F2360 002EF2C0 48 05 68 DD */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F2364 002EF2C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F2368 002EF2C8 41 82 00 50 */ beq lbl_802F23B8 +/* 802F236C 002EF2CC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F2370 002EF2D0 38 81 00 28 */ addi r4, r1, 0x28 +/* 802F2374 002EF2D4 48 05 66 A5 */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F2378 002EF2D8 C0 FD 00 24 */ lfs f7, 0x24(r29) +/* 802F237C 002EF2DC EC 81 06 B2 */ fmuls f4, f1, f26 +/* 802F2380 002EF2E0 C0 62 C6 8C */ lfs f3, lbl_805AE3AC@sda21(r2) +/* 802F2384 002EF2E4 EC 41 06 F2 */ fmuls f2, f1, f27 +/* 802F2388 002EF2E8 EC 01 07 32 */ fmuls f0, f1, f28 +/* 802F238C 002EF2EC EC C3 38 28 */ fsubs f6, f3, f7 +/* 802F2390 002EF2F0 EC A7 06 72 */ fmuls f5, f7, f25 +/* 802F2394 002EF2F4 EC 67 06 32 */ fmuls f3, f7, f24 +/* 802F2398 002EF2F8 EC 86 01 32 */ fmuls f4, f6, f4 +/* 802F239C 002EF2FC EC 46 00 B2 */ fmuls f2, f6, f2 +/* 802F23A0 002EF300 EC 27 07 B2 */ fmuls f1, f7, f30 +/* 802F23A4 002EF304 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802F23A8 002EF308 EF 25 20 2A */ fadds f25, f5, f4 +/* 802F23AC 002EF30C EF 03 10 2A */ fadds f24, f3, f2 +/* 802F23B0 002EF310 EF 41 00 2A */ fadds f26, f1, f0 +/* 802F23B4 002EF314 48 00 00 10 */ b lbl_802F23C4 +lbl_802F23B8: +/* 802F23B8 002EF318 EF 39 D0 2A */ fadds f25, f25, f26 +/* 802F23BC 002EF31C EF 18 D8 2A */ fadds f24, f24, f27 +/* 802F23C0 002EF320 EF 5E E0 2A */ fadds f26, f30, f28 +lbl_802F23C4: +/* 802F23C4 002EF324 D3 A1 00 08 */ stfs f29, 8(r1) +/* 802F23C8 002EF328 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F23CC 002EF32C 38 81 00 08 */ addi r4, r1, 8 +/* 802F23D0 002EF330 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F23D4 002EF334 D3 E1 00 10 */ stfs f31, 0x10(r1) +/* 802F23D8 002EF338 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802F23DC 002EF33C 48 05 68 61 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F23E0 002EF340 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F23E4 002EF344 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F23E8 002EF348 41 82 00 08 */ beq lbl_802F23F0 +/* 802F23EC 002EF34C 38 61 00 08 */ addi r3, r1, 8 +lbl_802F23F0: +/* 802F23F0 002EF350 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F23F4 002EF354 88 81 00 7C */ lbz r4, 0x7c(r1) +/* 802F23F8 002EF358 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802F23FC 002EF35C 80 03 00 04 */ lwz r0, 4(r3) +/* 802F2400 002EF360 90 1C 00 04 */ stw r0, 4(r28) +/* 802F2404 002EF364 D3 3C 00 08 */ stfs f25, 8(r28) +/* 802F2408 002EF368 D3 1C 00 0C */ stfs f24, 0xc(r28) +/* 802F240C 002EF36C D3 5C 00 10 */ stfs f26, 0x10(r28) +/* 802F2410 002EF370 98 9C 00 14 */ stb r4, 0x14(r28) +/* 802F2414 002EF374 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 802F2418 002EF378 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802F241C 002EF37C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 802F2420 002EF380 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 802F2424 002EF384 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 802F2428 002EF388 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 802F242C 002EF38C E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 802F2430 002EF390 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 802F2434 002EF394 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 802F2438 002EF398 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 802F243C 002EF39C E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 802F2440 002EF3A0 CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 802F2444 002EF3A4 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 +/* 802F2448 002EF3A8 CB 21 00 C0 */ lfd f25, 0xc0(r1) +/* 802F244C 002EF3AC E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 +/* 802F2450 002EF3B0 CB 01 00 B0 */ lfd f24, 0xb0(r1) +/* 802F2454 002EF3B4 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802F2458 002EF3B8 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802F245C 002EF3BC 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 802F2460 002EF3C0 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802F2464 002EF3C4 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 802F2468 002EF3C8 7C 08 03 A6 */ mtlr r0 +/* 802F246C 002EF3CC 38 21 01 30 */ addi r1, r1, 0x130 +/* 802F2470 002EF3D0 4E 80 00 20 */ blr + +.global VGetTimeRemaining__14CAnimTreeBlendCFv +VGetTimeRemaining__14CAnimTreeBlendCFv: +/* 802F2474 002EF3D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F2478 002EF3D8 7C 08 02 A6 */ mflr r0 +/* 802F247C 002EF3DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F2480 002EF3E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F2484 002EF3E4 7C 9F 23 78 */ mr r31, r4 +/* 802F2488 002EF3E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F248C 002EF3EC 7C 7E 1B 78 */ mr r30, r3 +/* 802F2490 002EF3F0 38 61 00 08 */ addi r3, r1, 8 +/* 802F2494 002EF3F4 80 84 00 18 */ lwz r4, 0x18(r4) +/* 802F2498 002EF3F8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F249C 002EF3FC 81 84 00 00 */ lwz r12, 0(r4) +/* 802F24A0 002EF400 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F24A4 002EF404 7D 89 03 A6 */ mtctr r12 +/* 802F24A8 002EF408 4E 80 04 21 */ bctrl +/* 802F24AC 002EF40C 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F24B0 002EF410 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F24B4 002EF414 80 84 00 00 */ lwz r4, 0(r4) +/* 802F24B8 002EF418 81 84 00 00 */ lwz r12, 0(r4) +/* 802F24BC 002EF41C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F24C0 002EF420 7D 89 03 A6 */ mtctr r12 +/* 802F24C4 002EF424 4E 80 04 21 */ bctrl +/* 802F24C8 002EF428 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F24CC 002EF42C 38 81 00 08 */ addi r4, r1, 8 +/* 802F24D0 002EF430 48 05 67 6D */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F24D4 002EF434 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F24D8 002EF438 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F24DC 002EF43C 41 82 00 08 */ beq lbl_802F24E4 +/* 802F24E0 002EF440 38 61 00 08 */ addi r3, r1, 8 +lbl_802F24E4: +/* 802F24E4 002EF444 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F24E8 002EF448 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F24EC 002EF44C 80 03 00 04 */ lwz r0, 4(r3) +/* 802F24F0 002EF450 90 1E 00 04 */ stw r0, 4(r30) +/* 802F24F4 002EF454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F24F8 002EF458 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F24FC 002EF45C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F2500 002EF460 7C 08 03 A6 */ mtlr r0 +/* 802F2504 002EF464 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F2508 002EF468 4E 80 00 20 */ blr + +.global VGetBlendingWeight__14CAnimTreeBlendCFv +VGetBlendingWeight__14CAnimTreeBlendCFv: +/* 802F250C 002EF46C C0 23 00 24 */ lfs f1, 0x24(r3) +/* 802F2510 002EF470 4E 80 00 20 */ blr + +.global VClone__14CAnimTreeBlendCFv +VClone__14CAnimTreeBlendCFv: +/* 802F2514 002EF474 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802F2518 002EF478 7C 08 02 A6 */ mflr r0 +/* 802F251C 002EF47C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F2520 002EF480 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802F2524 002EF484 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802F2528 002EF488 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 802F252C 002EF48C 3C A0 80 3D */ lis r5, lbl_803D6DF8@ha +/* 802F2530 002EF490 7C 7E 1B 78 */ mr r30, r3 +/* 802F2534 002EF494 38 65 6D F8 */ addi r3, r5, lbl_803D6DF8@l +/* 802F2538 002EF498 7C 9B 23 78 */ mr r27, r4 +/* 802F253C 002EF49C 38 83 00 01 */ addi r4, r3, 1 +/* 802F2540 002EF4A0 3B A0 00 00 */ li r29, 0 +/* 802F2544 002EF4A4 3B 80 00 00 */ li r28, 0 +/* 802F2548 002EF4A8 3B 40 00 00 */ li r26, 0 +/* 802F254C 002EF4AC 3B 20 00 00 */ li r25, 0 +/* 802F2550 002EF4B0 38 60 00 28 */ li r3, 0x28 +/* 802F2554 002EF4B4 38 A0 00 00 */ li r5, 0 +/* 802F2558 002EF4B8 48 02 33 15 */ bl __nw__FUlPCcPCc +/* 802F255C 002EF4BC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802F2560 002EF4C0 41 82 00 A0 */ beq lbl_802F2600 +/* 802F2564 002EF4C4 88 1B 00 20 */ lbz r0, 0x20(r27) +/* 802F2568 002EF4C8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F256C 002EF4CC 80 9B 00 14 */ lwz r4, 0x14(r27) +/* 802F2570 002EF4D0 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 +/* 802F2574 002EF4D4 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 802F2578 002EF4D8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F257C 002EF4DC 7C 05 07 74 */ extsb r5, r0 +/* 802F2580 002EF4E0 7C 05 00 D0 */ neg r0, r5 +/* 802F2584 002EF4E4 7C 00 2B 78 */ or r0, r0, r5 +/* 802F2588 002EF4E8 54 1C 0F FE */ srwi r28, r0, 0x1f +/* 802F258C 002EF4EC 4B F9 05 55 */ bl Clone__11IAnimReaderCFv +/* 802F2590 002EF4F0 38 61 00 08 */ addi r3, r1, 8 +/* 802F2594 002EF4F4 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F2598 002EF4F8 3B 40 00 01 */ li r26, 1 +/* 802F259C 002EF4FC 48 00 16 5D */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F25A0 002EF500 80 9B 00 18 */ lwz r4, 0x18(r27) +/* 802F25A4 002EF504 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F25A8 002EF508 3B 20 00 01 */ li r25, 1 +/* 802F25AC 002EF50C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F25B0 002EF510 4B F9 05 31 */ bl Clone__11IAnimReaderCFv +/* 802F25B4 002EF514 38 61 00 0C */ addi r3, r1, 0xc +/* 802F25B8 002EF518 38 81 00 18 */ addi r4, r1, 0x18 +/* 802F25BC 002EF51C 3B A0 00 01 */ li r29, 1 +/* 802F25C0 002EF520 48 00 16 39 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F25C4 002EF524 80 E2 C6 B8 */ lwz r7, lbl_805AE3D8@sda21(r2) +/* 802F25C8 002EF528 7F E3 FB 78 */ mr r3, r31 +/* 802F25CC 002EF52C 80 02 C6 BC */ lwz r0, lbl_805AE3DC@sda21(r2) +/* 802F25D0 002EF530 7F 84 E3 78 */ mr r4, r28 +/* 802F25D4 002EF534 C3 FB 00 24 */ lfs f31, 0x24(r27) +/* 802F25D8 002EF538 38 A1 00 08 */ addi r5, r1, 8 +/* 802F25DC 002EF53C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802F25E0 002EF540 7C E7 03 78 */ or r7, r7, r0 +/* 802F25E4 002EF544 39 1B 00 04 */ addi r8, r27, 4 +/* 802F25E8 002EF548 3B 80 00 01 */ li r28, 1 +/* 802F25EC 002EF54C 48 00 54 3D */ bl "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F25F0 002EF550 3C 60 80 3F */ lis r3, lbl_803ED0D8@ha +/* 802F25F4 002EF554 38 03 D0 D8 */ addi r0, r3, lbl_803ED0D8@l +/* 802F25F8 002EF558 90 1F 00 00 */ stw r0, 0(r31) +/* 802F25FC 002EF55C D3 FF 00 24 */ stfs f31, 0x24(r31) +lbl_802F2600: +/* 802F2600 002EF560 7C 7F 00 D0 */ neg r3, r31 +/* 802F2604 002EF564 7F 20 07 75 */ extsb. r0, r25 +/* 802F2608 002EF568 7C 60 FB 78 */ or r0, r3, r31 +/* 802F260C 002EF56C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802F2610 002EF570 98 1E 00 00 */ stb r0, 0(r30) +/* 802F2614 002EF574 93 FE 00 04 */ stw r31, 4(r30) +/* 802F2618 002EF578 41 82 00 0C */ beq lbl_802F2624 +/* 802F261C 002EF57C 38 61 00 08 */ addi r3, r1, 8 +/* 802F2620 002EF580 4B D3 E9 81 */ bl sub_80030fa0 +lbl_802F2624: +/* 802F2624 002EF584 7F 40 07 75 */ extsb. r0, r26 +/* 802F2628 002EF588 41 82 00 30 */ beq lbl_802F2658 +/* 802F262C 002EF58C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802F2630 002EF590 28 00 00 00 */ cmplwi r0, 0 +/* 802F2634 002EF594 41 82 00 24 */ beq lbl_802F2658 +/* 802F2638 002EF598 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802F263C 002EF59C 28 03 00 00 */ cmplwi r3, 0 +/* 802F2640 002EF5A0 41 82 00 18 */ beq lbl_802F2658 +/* 802F2644 002EF5A4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F2648 002EF5A8 38 80 00 01 */ li r4, 1 +/* 802F264C 002EF5AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F2650 002EF5B0 7D 89 03 A6 */ mtctr r12 +/* 802F2654 002EF5B4 4E 80 04 21 */ bctrl +lbl_802F2658: +/* 802F2658 002EF5B8 7F 80 07 75 */ extsb. r0, r28 +/* 802F265C 002EF5BC 41 82 00 0C */ beq lbl_802F2668 +/* 802F2660 002EF5C0 38 61 00 0C */ addi r3, r1, 0xc +/* 802F2664 002EF5C4 4B D3 E9 3D */ bl sub_80030fa0 +lbl_802F2668: +/* 802F2668 002EF5C8 7F A0 07 75 */ extsb. r0, r29 +/* 802F266C 002EF5CC 41 82 00 30 */ beq lbl_802F269C +/* 802F2670 002EF5D0 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802F2674 002EF5D4 28 00 00 00 */ cmplwi r0, 0 +/* 802F2678 002EF5D8 41 82 00 24 */ beq lbl_802F269C +/* 802F267C 002EF5DC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802F2680 002EF5E0 28 03 00 00 */ cmplwi r3, 0 +/* 802F2684 002EF5E4 41 82 00 18 */ beq lbl_802F269C +/* 802F2688 002EF5E8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F268C 002EF5EC 38 80 00 01 */ li r4, 1 +/* 802F2690 002EF5F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F2694 002EF5F4 7D 89 03 A6 */ mtctr r12 +/* 802F2698 002EF5F8 4E 80 04 21 */ bctrl +lbl_802F269C: +/* 802F269C 002EF5FC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802F26A0 002EF600 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802F26A4 002EF604 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 802F26A8 002EF608 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F26AC 002EF60C 7C 08 03 A6 */ mtlr r0 +/* 802F26B0 002EF610 38 21 00 50 */ addi r1, r1, 0x50 +/* 802F26B4 002EF614 4E 80 00 20 */ blr + +.global __dt__18CAnimTreeTimeScaleFv +__dt__18CAnimTreeTimeScaleFv: +/* 802F26B8 002EF618 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F26BC 002EF61C 7C 08 02 A6 */ mflr r0 +/* 802F26C0 002EF620 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F26C4 002EF624 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F26C8 002EF628 7C 9F 23 78 */ mr r31, r4 +/* 802F26CC 002EF62C 93 C1 00 08 */ stw r30, 8(r1) +/* 802F26D0 002EF630 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F26D4 002EF634 41 82 00 98 */ beq lbl_802F276C +/* 802F26D8 002EF638 3C 60 80 3F */ lis r3, lbl_803ED2B0@ha +/* 802F26DC 002EF63C 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802F26E0 002EF640 38 03 D2 B0 */ addi r0, r3, lbl_803ED2B0@l +/* 802F26E4 002EF644 90 1E 00 00 */ stw r0, 0(r30) +/* 802F26E8 002EF648 41 82 00 0C */ beq lbl_802F26F4 +/* 802F26EC 002EF64C 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F26F0 002EF650 48 02 32 41 */ bl Free__7CMemoryFPCv +lbl_802F26F4: +/* 802F26F4 002EF654 28 1E 00 00 */ cmplwi r30, 0 +/* 802F26F8 002EF658 41 82 00 64 */ beq lbl_802F275C +/* 802F26FC 002EF65C 3C 60 80 3F */ lis r3, lbl_803ED240@ha +/* 802F2700 002EF660 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802F2704 002EF664 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l +/* 802F2708 002EF668 90 1E 00 00 */ stw r0, 0(r30) +/* 802F270C 002EF66C 41 82 00 14 */ beq lbl_802F2720 +/* 802F2710 002EF670 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802F2714 002EF674 41 82 00 0C */ beq lbl_802F2720 +/* 802F2718 002EF678 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802F271C 002EF67C 4B D3 E8 85 */ bl sub_80030fa0 +lbl_802F2720: +/* 802F2720 002EF680 28 1E 00 00 */ cmplwi r30, 0 +/* 802F2724 002EF684 41 82 00 38 */ beq lbl_802F275C +/* 802F2728 002EF688 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802F272C 002EF68C 38 80 00 02 */ li r4, 2 +/* 802F2730 002EF690 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802F2734 002EF694 90 1E 00 00 */ stw r0, 0(r30) +/* 802F2738 002EF698 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F273C 002EF69C 48 00 54 6D */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F2740 002EF6A0 34 1E 00 04 */ addic. r0, r30, 4 +/* 802F2744 002EF6A4 41 82 00 0C */ beq lbl_802F2750 +/* 802F2748 002EF6A8 38 7E 00 04 */ addi r3, r30, 4 +/* 802F274C 002EF6AC 48 04 B3 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F2750: +/* 802F2750 002EF6B0 7F C3 F3 78 */ mr r3, r30 +/* 802F2754 002EF6B4 38 80 00 00 */ li r4, 0 +/* 802F2758 002EF6B8 48 00 B7 7D */ bl __dt__11IAnimReaderFv +lbl_802F275C: +/* 802F275C 002EF6BC 7F E0 07 35 */ extsh. r0, r31 +/* 802F2760 002EF6C0 40 81 00 0C */ ble lbl_802F276C +/* 802F2764 002EF6C4 7F C3 F3 78 */ mr r3, r30 +/* 802F2768 002EF6C8 48 02 31 C9 */ bl Free__7CMemoryFPCv +lbl_802F276C: +/* 802F276C 002EF6CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F2770 002EF6D0 7F C3 F3 78 */ mr r3, r30 +/* 802F2774 002EF6D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F2778 002EF6D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F277C 002EF6DC 7C 08 03 A6 */ mtlr r0 +/* 802F2780 002EF6E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F2784 002EF6E4 4E 80 00 20 */ blr + +.global "VGetWeightedReaders__20CAnimTreeDoubleChildFfRQ24rstl48reserved_vector>" +"VGetWeightedReaders__20CAnimTreeDoubleChildFfRQ24rstl48reserved_vector>": +/* 802F2788 002EF6E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F278C 002EF6EC 7C 08 02 A6 */ mflr r0 +/* 802F2790 002EF6F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F2794 002EF6F4 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802F2798 002EF6F8 FF E0 08 90 */ fmr f31, f1 +/* 802F279C 002EF6FC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802F27A0 002EF700 7C 9F 23 78 */ mr r31, r4 +/* 802F27A4 002EF704 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802F27A8 002EF708 7C 7E 1B 78 */ mr r30, r3 +/* 802F27AC 002EF70C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F27B0 002EF710 80 63 00 00 */ lwz r3, 0(r3) +/* 802F27B4 002EF714 81 83 00 00 */ lwz r12, 0(r3) +/* 802F27B8 002EF718 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 802F27BC 002EF71C 7D 89 03 A6 */ mtctr r12 +/* 802F27C0 002EF720 4E 80 04 21 */ bctrl +/* 802F27C4 002EF724 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F27C8 002EF728 FC 20 F8 90 */ fmr f1, f31 +/* 802F27CC 002EF72C 7F E4 FB 78 */ mr r4, r31 +/* 802F27D0 002EF730 80 63 00 00 */ lwz r3, 0(r3) +/* 802F27D4 002EF734 81 83 00 00 */ lwz r12, 0(r3) +/* 802F27D8 002EF738 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 802F27DC 002EF73C 7D 89 03 A6 */ mtctr r12 +/* 802F27E0 002EF740 4E 80 04 21 */ bctrl +/* 802F27E4 002EF744 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F27E8 002EF748 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 802F27EC 002EF74C 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 802F27F0 002EF750 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 802F27F4 002EF754 7C 08 03 A6 */ mtlr r0 +/* 802F27F8 002EF758 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F27FC 002EF75C 4E 80 00 20 */ blr + +.global VGetBestUnblendedChild__20CAnimTreeDoubleChildCFv +VGetBestUnblendedChild__20CAnimTreeDoubleChildCFv: +/* 802F2800 002EF760 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F2804 002EF764 7C 08 02 A6 */ mflr r0 +/* 802F2808 002EF768 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F280C 002EF76C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F2810 002EF770 7C 9F 23 78 */ mr r31, r4 +/* 802F2814 002EF774 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F2818 002EF778 7C 7E 1B 78 */ mr r30, r3 +/* 802F281C 002EF77C 7F E3 FB 78 */ mr r3, r31 +/* 802F2820 002EF780 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F2824 002EF784 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 802F2828 002EF788 7D 89 03 A6 */ mtctr r12 +/* 802F282C 002EF78C 4E 80 04 21 */ bctrl +/* 802F2830 002EF790 C0 02 C6 90 */ lfs f0, lbl_805AE3B0@sda21(r2) +/* 802F2834 002EF794 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802F2838 002EF798 40 81 00 0C */ ble lbl_802F2844 +/* 802F283C 002EF79C 38 7F 00 18 */ addi r3, r31, 0x18 +/* 802F2840 002EF7A0 48 00 00 08 */ b lbl_802F2848 +lbl_802F2844: +/* 802F2844 002EF7A4 38 7F 00 14 */ addi r3, r31, 0x14 +lbl_802F2848: +/* 802F2848 002EF7A8 80 83 00 00 */ lwz r4, 0(r3) +/* 802F284C 002EF7AC 90 81 00 10 */ stw r4, 0x10(r1) +/* 802F2850 002EF7B0 80 64 00 04 */ lwz r3, 4(r4) +/* 802F2854 002EF7B4 38 03 00 01 */ addi r0, r3, 1 +/* 802F2858 002EF7B8 90 04 00 04 */ stw r0, 4(r4) +/* 802F285C 002EF7BC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F2860 002EF7C0 80 83 00 00 */ lwz r4, 0(r3) +/* 802F2864 002EF7C4 28 04 00 00 */ cmplwi r4, 0 +/* 802F2868 002EF7C8 40 82 00 24 */ bne lbl_802F288C +/* 802F286C 002EF7CC 90 7E 00 00 */ stw r3, 0(r30) +/* 802F2870 002EF7D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F2874 002EF7D4 80 BE 00 00 */ lwz r5, 0(r30) +/* 802F2878 002EF7D8 80 85 00 04 */ lwz r4, 4(r5) +/* 802F287C 002EF7DC 38 04 00 01 */ addi r0, r4, 1 +/* 802F2880 002EF7E0 90 05 00 04 */ stw r0, 4(r5) +/* 802F2884 002EF7E4 4B D3 E7 1D */ bl sub_80030fa0 +/* 802F2888 002EF7E8 48 00 00 88 */ b lbl_802F2910 +lbl_802F288C: +/* 802F288C 002EF7EC 38 61 00 08 */ addi r3, r1, 8 +/* 802F2890 002EF7F0 4B FE 65 F1 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802F2894 002EF7F4 80 A1 00 08 */ lwz r5, 8(r1) +/* 802F2898 002EF7F8 38 61 00 08 */ addi r3, r1, 8 +/* 802F289C 002EF7FC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802F28A0 002EF800 80 85 00 04 */ lwz r4, 4(r5) +/* 802F28A4 002EF804 38 04 00 01 */ addi r0, r4, 1 +/* 802F28A8 002EF808 90 05 00 04 */ stw r0, 4(r5) +/* 802F28AC 002EF80C 4B D3 E6 F5 */ bl sub_80030fa0 +/* 802F28B0 002EF810 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F28B4 002EF814 80 03 00 00 */ lwz r0, 0(r3) +/* 802F28B8 002EF818 28 00 00 00 */ cmplwi r0, 0 +/* 802F28BC 002EF81C 40 82 00 30 */ bne lbl_802F28EC +/* 802F28C0 002EF820 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802F28C4 002EF824 38 61 00 0C */ addi r3, r1, 0xc +/* 802F28C8 002EF828 90 1E 00 00 */ stw r0, 0(r30) +/* 802F28CC 002EF82C 80 BE 00 00 */ lwz r5, 0(r30) +/* 802F28D0 002EF830 80 85 00 04 */ lwz r4, 4(r5) +/* 802F28D4 002EF834 38 04 00 01 */ addi r0, r4, 1 +/* 802F28D8 002EF838 90 05 00 04 */ stw r0, 4(r5) +/* 802F28DC 002EF83C 4B D3 E6 C5 */ bl sub_80030fa0 +/* 802F28E0 002EF840 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F28E4 002EF844 4B D3 E6 BD */ bl sub_80030fa0 +/* 802F28E8 002EF848 48 00 00 28 */ b lbl_802F2910 +lbl_802F28EC: +/* 802F28EC 002EF84C 90 7E 00 00 */ stw r3, 0(r30) +/* 802F28F0 002EF850 38 61 00 0C */ addi r3, r1, 0xc +/* 802F28F4 002EF854 80 BE 00 00 */ lwz r5, 0(r30) +/* 802F28F8 002EF858 80 85 00 04 */ lwz r4, 4(r5) +/* 802F28FC 002EF85C 38 04 00 01 */ addi r0, r4, 1 +/* 802F2900 002EF860 90 05 00 04 */ stw r0, 4(r5) +/* 802F2904 002EF864 4B D3 E6 9D */ bl sub_80030fa0 +/* 802F2908 002EF868 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F290C 002EF86C 4B D3 E6 95 */ bl sub_80030fa0 +lbl_802F2910: +/* 802F2910 002EF870 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F2914 002EF874 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F2918 002EF878 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F291C 002EF87C 7C 08 03 A6 */ mtlr r0 +/* 802F2920 002EF880 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F2924 002EF884 4E 80 00 20 */ blr + +.global VGetAdvancementResults__20CAnimTreeDoubleChildCFRC13CCharAnimTimeRC13CCharAnimTime +VGetAdvancementResults__20CAnimTreeDoubleChildCFRC13CCharAnimTimeRC13CCharAnimTime: +/* 802F2928 002EF888 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802F292C 002EF88C 7C 08 02 A6 */ mflr r0 +/* 802F2930 002EF890 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802F2934 002EF894 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802F2938 002EF898 7C DF 33 78 */ mr r31, r6 +/* 802F293C 002EF89C 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802F2940 002EF8A0 7C BE 2B 78 */ mr r30, r5 +/* 802F2944 002EF8A4 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 802F2948 002EF8A8 7C 9D 23 78 */ mr r29, r4 +/* 802F294C 002EF8AC 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 802F2950 002EF8B0 7C 7C 1B 78 */ mr r28, r3 +/* 802F2954 002EF8B4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802F2958 002EF8B8 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F295C 002EF8BC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F2960 002EF8C0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F2964 002EF8C4 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802F2968 002EF8C8 7D 89 03 A6 */ mtctr r12 +/* 802F296C 002EF8CC 4E 80 04 21 */ bctrl +/* 802F2970 002EF8D0 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 802F2974 002EF8D4 7F C5 F3 78 */ mr r5, r30 +/* 802F2978 002EF8D8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802F297C 002EF8DC 7F E6 FB 78 */ mr r6, r31 +/* 802F2980 002EF8E0 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 802F2984 002EF8E4 38 61 00 08 */ addi r3, r1, 8 +/* 802F2988 002EF8E8 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 802F298C 002EF8EC C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 802F2990 002EF8F0 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802F2994 002EF8F4 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802F2998 002EF8F8 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802F299C 002EF8FC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802F29A0 002EF900 D0 E1 00 74 */ stfs f7, 0x74(r1) +/* 802F29A4 002EF904 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 802F29A8 002EF908 90 01 00 78 */ stw r0, 0x78(r1) +/* 802F29AC 002EF90C D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 802F29B0 002EF910 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 802F29B4 002EF914 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 802F29B8 002EF918 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802F29BC 002EF91C D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802F29C0 002EF920 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802F29C4 002EF924 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802F29C8 002EF928 80 84 00 00 */ lwz r4, 0(r4) +/* 802F29CC 002EF92C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F29D0 002EF930 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802F29D4 002EF934 7D 89 03 A6 */ mtctr r12 +/* 802F29D8 002EF938 4E 80 04 21 */ bctrl +/* 802F29DC 002EF93C C0 E1 00 08 */ lfs f7, 8(r1) +/* 802F29E0 002EF940 38 61 00 74 */ addi r3, r1, 0x74 +/* 802F29E4 002EF944 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F29E8 002EF948 38 81 00 50 */ addi r4, r1, 0x50 +/* 802F29EC 002EF94C C0 C1 00 10 */ lfs f6, 0x10(r1) +/* 802F29F0 002EF950 C0 A1 00 14 */ lfs f5, 0x14(r1) +/* 802F29F4 002EF954 C0 81 00 18 */ lfs f4, 0x18(r1) +/* 802F29F8 002EF958 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 802F29FC 002EF95C C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802F2A00 002EF960 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802F2A04 002EF964 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802F2A08 002EF968 D0 E1 00 50 */ stfs f7, 0x50(r1) +/* 802F2A0C 002EF96C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F2A10 002EF970 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 802F2A14 002EF974 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802F2A18 002EF978 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802F2A1C 002EF97C D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802F2A20 002EF980 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802F2A24 002EF984 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802F2A28 002EF988 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802F2A2C 002EF98C 48 05 60 41 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F2A30 002EF990 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F2A34 002EF994 38 61 00 50 */ addi r3, r1, 0x50 +/* 802F2A38 002EF998 41 82 00 08 */ beq lbl_802F2A40 +/* 802F2A3C 002EF99C 38 61 00 74 */ addi r3, r1, 0x74 +lbl_802F2A40: +/* 802F2A40 002EF9A0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F2A44 002EF9A4 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802F2A48 002EF9A8 80 03 00 04 */ lwz r0, 4(r3) +/* 802F2A4C 002EF9AC 90 1C 00 04 */ stw r0, 4(r28) +/* 802F2A50 002EF9B0 C0 03 00 08 */ lfs f0, 8(r3) +/* 802F2A54 002EF9B4 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802F2A58 002EF9B8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802F2A5C 002EF9BC D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 802F2A60 002EF9C0 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802F2A64 002EF9C4 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 802F2A68 002EF9C8 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802F2A6C 002EF9CC D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 802F2A70 002EF9D0 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802F2A74 002EF9D4 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 802F2A78 002EF9D8 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 802F2A7C 002EF9DC D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802F2A80 002EF9E0 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 802F2A84 002EF9E4 D0 1C 00 20 */ stfs f0, 0x20(r28) +/* 802F2A88 002EF9E8 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802F2A8C 002EF9EC 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802F2A90 002EF9F0 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 802F2A94 002EF9F4 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 802F2A98 002EF9F8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802F2A9C 002EF9FC 7C 08 03 A6 */ mtlr r0 +/* 802F2AA0 002EFA00 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802F2AA4 002EFA04 4E 80 00 20 */ blr + +.global VSetPhase__20CAnimTreeDoubleChildFf +VSetPhase__20CAnimTreeDoubleChildFf: +/* 802F2AA8 002EFA08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F2AAC 002EFA0C 7C 08 02 A6 */ mflr r0 +/* 802F2AB0 002EFA10 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F2AB4 002EFA14 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802F2AB8 002EFA18 FF E0 08 90 */ fmr f31, f1 +/* 802F2ABC 002EFA1C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802F2AC0 002EFA20 7C 7F 1B 78 */ mr r31, r3 +/* 802F2AC4 002EFA24 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F2AC8 002EFA28 80 63 00 00 */ lwz r3, 0(r3) +/* 802F2ACC 002EFA2C 81 83 00 00 */ lwz r12, 0(r3) +/* 802F2AD0 002EFA30 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802F2AD4 002EFA34 7D 89 03 A6 */ mtctr r12 +/* 802F2AD8 002EFA38 4E 80 04 21 */ bctrl +/* 802F2ADC 002EFA3C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802F2AE0 002EFA40 FC 20 F8 90 */ fmr f1, f31 +/* 802F2AE4 002EFA44 80 63 00 00 */ lwz r3, 0(r3) +/* 802F2AE8 002EFA48 81 83 00 00 */ lwz r12, 0(r3) +/* 802F2AEC 002EFA4C 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802F2AF0 002EFA50 7D 89 03 A6 */ mtctr r12 +/* 802F2AF4 002EFA54 4E 80 04 21 */ bctrl +/* 802F2AF8 002EFA58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F2AFC 002EFA5C CB E1 00 18 */ lfd f31, 0x18(r1) +/* 802F2B00 002EFA60 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 802F2B04 002EFA64 7C 08 03 A6 */ mtlr r0 +/* 802F2B08 002EFA68 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F2B0C 002EFA6C 4E 80 00 20 */ blr + +.global AdvanceViewBothChildren__20CAnimTreeDoubleChildFRC13CCharAnimTimebb +AdvanceViewBothChildren__20CAnimTreeDoubleChildFRC13CCharAnimTimebb: +/* 802F2B10 002EFA70 94 21 FD 90 */ stwu r1, -0x270(r1) +/* 802F2B14 002EFA74 7C 08 02 A6 */ mflr r0 +/* 802F2B18 002EFA78 90 01 02 74 */ stw r0, 0x274(r1) +/* 802F2B1C 002EFA7C DB E1 02 60 */ stfd f31, 0x260(r1) +/* 802F2B20 002EFA80 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 +/* 802F2B24 002EFA84 DB C1 02 50 */ stfd f30, 0x250(r1) +/* 802F2B28 002EFA88 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 +/* 802F2B2C 002EFA8C DB A1 02 40 */ stfd f29, 0x240(r1) +/* 802F2B30 002EFA90 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 +/* 802F2B34 002EFA94 DB 81 02 30 */ stfd f28, 0x230(r1) +/* 802F2B38 002EFA98 F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0 +/* 802F2B3C 002EFA9C DB 61 02 20 */ stfd f27, 0x220(r1) +/* 802F2B40 002EFAA0 F3 61 02 28 */ psq_st f27, 552(r1), 0, qr0 +/* 802F2B44 002EFAA4 DB 41 02 10 */ stfd f26, 0x210(r1) +/* 802F2B48 002EFAA8 F3 41 02 18 */ psq_st f26, 536(r1), 0, qr0 +/* 802F2B4C 002EFAAC DB 21 02 00 */ stfd f25, 0x200(r1) +/* 802F2B50 002EFAB0 F3 21 02 08 */ psq_st f25, 520(r1), 0, qr0 +/* 802F2B54 002EFAB4 DB 01 01 F0 */ stfd f24, 0x1f0(r1) +/* 802F2B58 002EFAB8 F3 01 01 F8 */ psq_st f24, 504(r1), 0, qr0 +/* 802F2B5C 002EFABC 93 E1 01 EC */ stw r31, 0x1ec(r1) +/* 802F2B60 002EFAC0 93 C1 01 E8 */ stw r30, 0x1e8(r1) +/* 802F2B64 002EFAC4 93 A1 01 E4 */ stw r29, 0x1e4(r1) +/* 802F2B68 002EFAC8 93 81 01 E0 */ stw r28, 0x1e0(r1) +/* 802F2B6C 002EFACC 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802F2B70 002EFAD0 C0 05 00 00 */ lfs f0, 0(r5) +/* 802F2B74 002EFAD4 80 05 00 04 */ lwz r0, 4(r5) +/* 802F2B78 002EFAD8 7C BF 2B 78 */ mr r31, r5 +/* 802F2B7C 002EFADC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802F2B80 002EFAE0 7C 7D 1B 78 */ mr r29, r3 +/* 802F2B84 002EFAE4 7C 9E 23 78 */ mr r30, r4 +/* 802F2B88 002EFAE8 7C FC 3B 78 */ mr r28, r7 +/* 802F2B8C 002EFAEC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802F2B90 002EFAF0 40 82 00 1C */ bne lbl_802F2BAC +/* 802F2B94 002EFAF4 C0 0D 9B EC */ lfs f0, lbl_805A87AC@sda21(r13) +/* 802F2B98 002EFAF8 38 A1 00 28 */ addi r5, r1, 0x28 +/* 802F2B9C 002EFAFC 80 0D 9B E8 */ lwz r0, lbl_805A87A8@sda21(r13) +/* 802F2BA0 002EFB00 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F2BA4 002EFB04 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F2BA8 002EFB08 48 00 00 44 */ b lbl_802F2BEC +lbl_802F2BAC: +/* 802F2BAC 002EFB0C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802F2BB0 002EFB10 41 82 00 1C */ beq lbl_802F2BCC +/* 802F2BB4 002EFB14 C0 0D 9B F4 */ lfs f0, lbl_805A87B4@sda21(r13) +/* 802F2BB8 002EFB18 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802F2BBC 002EFB1C 80 0D 9B F0 */ lwz r0, lbl_805A87B0@sda21(r13) +/* 802F2BC0 002EFB20 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802F2BC4 002EFB24 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F2BC8 002EFB28 48 00 00 24 */ b lbl_802F2BEC +lbl_802F2BCC: +/* 802F2BCC 002EFB2C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F2BD0 002EFB30 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F2BD4 002EFB34 80 84 00 00 */ lwz r4, 0(r4) +/* 802F2BD8 002EFB38 81 84 00 00 */ lwz r12, 0(r4) +/* 802F2BDC 002EFB3C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F2BE0 002EFB40 7D 89 03 A6 */ mtctr r12 +/* 802F2BE4 002EFB44 4E 80 04 21 */ bctrl +/* 802F2BE8 002EFB48 38 A1 00 18 */ addi r5, r1, 0x18 +lbl_802F2BEC: +/* 802F2BEC 002EFB4C C0 05 00 00 */ lfs f0, 0(r5) +/* 802F2BF0 002EFB50 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F2BF4 002EFB54 C3 E2 C6 94 */ lfs f31, lbl_805AE3B4@sda21(r2) +/* 802F2BF8 002EFB58 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 802F2BFC 002EFB5C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802F2C00 002EFB60 7F E3 FB 78 */ mr r3, r31 +/* 802F2C04 002EFB64 C0 24 00 00 */ lfs f1, 0(r4) +/* 802F2C08 002EFB68 FF C0 F8 90 */ fmr f30, f31 +/* 802F2C0C 002EFB6C 80 A5 00 04 */ lwz r5, 4(r5) +/* 802F2C10 002EFB70 FF A0 F8 90 */ fmr f29, f31 +/* 802F2C14 002EFB74 C0 44 00 04 */ lfs f2, 4(r4) +/* 802F2C18 002EFB78 FF 80 F8 90 */ fmr f28, f31 +/* 802F2C1C 002EFB7C C0 64 00 08 */ lfs f3, 8(r4) +/* 802F2C20 002EFB80 C0 84 00 0C */ lfs f4, 0xc(r4) +/* 802F2C24 002EFB84 FF 60 F8 90 */ fmr f27, f31 +/* 802F2C28 002EFB88 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802F2C2C 002EFB8C FF 40 F8 90 */ fmr f26, f31 +/* 802F2C30 002EFB90 80 1F 00 04 */ lwz r0, 4(r31) +/* 802F2C34 002EFB94 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802F2C38 002EFB98 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 802F2C3C 002EFB9C D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802F2C40 002EFBA0 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802F2C44 002EFBA4 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 802F2C48 002EFBA8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802F2C4C 002EFBAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F2C50 002EFBB0 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 802F2C54 002EFBB4 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 802F2C58 002EFBB8 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 802F2C5C 002EFBBC D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 802F2C60 002EFBC0 48 05 57 8D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F2C64 002EFBC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F2C68 002EFBC8 41 82 05 08 */ beq lbl_802F3170 +/* 802F2C6C 002EFBCC C3 22 C6 94 */ lfs f25, lbl_805AE3B4@sda21(r2) +/* 802F2C70 002EFBD0 57 9C 06 3E */ clrlwi r28, r28, 0x18 +/* 802F2C74 002EFBD4 C3 02 C6 98 */ lfs f24, lbl_805AE3B8@sda21(r2) +/* 802F2C78 002EFBD8 48 00 02 54 */ b lbl_802F2ECC +lbl_802F2C7C: +/* 802F2C7C 002EFBDC 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F2C80 002EFBE0 38 61 01 6C */ addi r3, r1, 0x16c +/* 802F2C84 002EFBE4 38 A1 00 40 */ addi r5, r1, 0x40 +/* 802F2C88 002EFBE8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F2C8C 002EFBEC 81 84 00 00 */ lwz r12, 0(r4) +/* 802F2C90 002EFBF0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F2C94 002EFBF4 7D 89 03 A6 */ mtctr r12 +/* 802F2C98 002EFBF8 4E 80 04 21 */ bctrl +/* 802F2C9C 002EFBFC C0 E1 01 6C */ lfs f7, 0x16c(r1) +/* 802F2CA0 002EFC00 38 61 00 74 */ addi r3, r1, 0x74 +/* 802F2CA4 002EFC04 80 01 01 70 */ lwz r0, 0x170(r1) +/* 802F2CA8 002EFC08 C0 C1 01 74 */ lfs f6, 0x174(r1) +/* 802F2CAC 002EFC0C C0 A1 01 78 */ lfs f5, 0x178(r1) +/* 802F2CB0 002EFC10 C0 81 01 7C */ lfs f4, 0x17c(r1) +/* 802F2CB4 002EFC14 C0 61 01 80 */ lfs f3, 0x180(r1) +/* 802F2CB8 002EFC18 C0 41 01 84 */ lfs f2, 0x184(r1) +/* 802F2CBC 002EFC1C C0 21 01 88 */ lfs f1, 0x188(r1) +/* 802F2CC0 002EFC20 C0 01 01 8C */ lfs f0, 0x18c(r1) +/* 802F2CC4 002EFC24 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F2CC8 002EFC28 D0 E1 01 B4 */ stfs f7, 0x1b4(r1) +/* 802F2CCC 002EFC2C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F2CD0 002EFC30 90 01 01 B8 */ stw r0, 0x1b8(r1) +/* 802F2CD4 002EFC34 D0 C1 01 BC */ stfs f6, 0x1bc(r1) +/* 802F2CD8 002EFC38 D0 A1 01 C0 */ stfs f5, 0x1c0(r1) +/* 802F2CDC 002EFC3C D0 81 01 C4 */ stfs f4, 0x1c4(r1) +/* 802F2CE0 002EFC40 D0 61 01 C8 */ stfs f3, 0x1c8(r1) +/* 802F2CE4 002EFC44 D0 41 01 CC */ stfs f2, 0x1cc(r1) +/* 802F2CE8 002EFC48 D0 21 01 D0 */ stfs f1, 0x1d0(r1) +/* 802F2CEC 002EFC4C D0 01 01 D4 */ stfs f0, 0x1d4(r1) +/* 802F2CF0 002EFC50 4B D3 72 75 */ bl Simplified__11IAnimReaderFv +/* 802F2CF4 002EFC54 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 802F2CF8 002EFC58 28 00 00 00 */ cmplwi r0, 0 +/* 802F2CFC 002EFC5C 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 802F2D00 002EFC60 41 82 00 24 */ beq lbl_802F2D24 +/* 802F2D04 002EFC64 34 81 00 AC */ addic. r4, r1, 0xac +/* 802F2D08 002EFC68 41 82 00 1C */ beq lbl_802F2D24 +/* 802F2D0C 002EFC6C 88 61 00 74 */ lbz r3, 0x74(r1) +/* 802F2D10 002EFC70 38 00 00 00 */ li r0, 0 +/* 802F2D14 002EFC74 98 64 00 00 */ stb r3, 0(r4) +/* 802F2D18 002EFC78 80 61 00 78 */ lwz r3, 0x78(r1) +/* 802F2D1C 002EFC7C 90 64 00 04 */ stw r3, 4(r4) +/* 802F2D20 002EFC80 98 01 00 74 */ stb r0, 0x74(r1) +lbl_802F2D24: +/* 802F2D24 002EFC84 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 802F2D28 002EFC88 28 00 00 00 */ cmplwi r0, 0 +/* 802F2D2C 002EFC8C 41 82 00 38 */ beq lbl_802F2D64 +/* 802F2D30 002EFC90 34 61 00 74 */ addic. r3, r1, 0x74 +/* 802F2D34 002EFC94 41 82 00 30 */ beq lbl_802F2D64 +/* 802F2D38 002EFC98 88 03 00 00 */ lbz r0, 0(r3) +/* 802F2D3C 002EFC9C 28 00 00 00 */ cmplwi r0, 0 +/* 802F2D40 002EFCA0 41 82 00 24 */ beq lbl_802F2D64 +/* 802F2D44 002EFCA4 80 63 00 04 */ lwz r3, 4(r3) +/* 802F2D48 002EFCA8 28 03 00 00 */ cmplwi r3, 0 +/* 802F2D4C 002EFCAC 41 82 00 18 */ beq lbl_802F2D64 +/* 802F2D50 002EFCB0 81 83 00 00 */ lwz r12, 0(r3) +/* 802F2D54 002EFCB4 38 80 00 01 */ li r4, 1 +/* 802F2D58 002EFCB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F2D5C 002EFCBC 7D 89 03 A6 */ mtctr r12 +/* 802F2D60 002EFCC0 4E 80 04 21 */ bctrl +lbl_802F2D64: +/* 802F2D64 002EFCC4 88 01 00 B4 */ lbz r0, 0xb4(r1) +/* 802F2D68 002EFCC8 38 60 00 00 */ li r3, 0 +/* 802F2D6C 002EFCCC 98 61 00 7C */ stb r3, 0x7c(r1) +/* 802F2D70 002EFCD0 28 00 00 00 */ cmplwi r0, 0 +/* 802F2D74 002EFCD4 41 82 00 48 */ beq lbl_802F2DBC +/* 802F2D78 002EFCD8 38 61 00 0C */ addi r3, r1, 0xc +/* 802F2D7C 002EFCDC 38 81 00 AC */ addi r4, r1, 0xac +/* 802F2D80 002EFCE0 48 00 0E 79 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F2D84 002EFCE4 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802F2D88 002EFCE8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F2D8C 002EFCEC 7C 03 00 40 */ cmplw r3, r0 +/* 802F2D90 002EFCF0 41 82 00 24 */ beq lbl_802F2DB4 +/* 802F2D94 002EFCF4 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802F2D98 002EFCF8 4B D3 E2 09 */ bl sub_80030fa0 +/* 802F2D9C 002EFCFC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F2DA0 002EFD00 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802F2DA4 002EFD04 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F2DA8 002EFD08 80 64 00 04 */ lwz r3, 4(r4) +/* 802F2DAC 002EFD0C 38 03 00 01 */ addi r0, r3, 1 +/* 802F2DB0 002EFD10 90 04 00 04 */ stw r0, 4(r4) +lbl_802F2DB4: +/* 802F2DB4 002EFD14 38 61 00 0C */ addi r3, r1, 0xc +/* 802F2DB8 002EFD18 4B D3 E1 E9 */ bl sub_80030fa0 +lbl_802F2DBC: +/* 802F2DBC 002EFD1C C0 C1 01 BC */ lfs f6, 0x1bc(r1) +/* 802F2DC0 002EFD20 38 61 00 58 */ addi r3, r1, 0x58 +/* 802F2DC4 002EFD24 C0 A1 01 C0 */ lfs f5, 0x1c0(r1) +/* 802F2DC8 002EFD28 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 802F2DCC 002EFD2C C0 81 01 C4 */ lfs f4, 0x1c4(r1) +/* 802F2DD0 002EFD30 EF FF 30 2A */ fadds f31, f31, f6 +/* 802F2DD4 002EFD34 C0 61 01 C8 */ lfs f3, 0x1c8(r1) +/* 802F2DD8 002EFD38 EF DE 28 2A */ fadds f30, f30, f5 +/* 802F2DDC 002EFD3C C0 41 01 CC */ lfs f2, 0x1cc(r1) +/* 802F2DE0 002EFD40 EF BD 20 2A */ fadds f29, f29, f4 +/* 802F2DE4 002EFD44 C0 21 01 D0 */ lfs f1, 0x1d0(r1) +/* 802F2DE8 002EFD48 C0 01 01 D4 */ lfs f0, 0x1d4(r1) +/* 802F2DEC 002EFD4C 38 A1 00 9C */ addi r5, r1, 0x9c +/* 802F2DF0 002EFD50 D0 C1 01 2C */ stfs f6, 0x12c(r1) +/* 802F2DF4 002EFD54 D0 A1 01 30 */ stfs f5, 0x130(r1) +/* 802F2DF8 002EFD58 D0 81 01 34 */ stfs f4, 0x134(r1) +/* 802F2DFC 002EFD5C D0 61 01 38 */ stfs f3, 0x138(r1) +/* 802F2E00 002EFD60 D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 802F2E04 002EFD64 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802F2E08 002EFD68 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 802F2E0C 002EFD6C D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 802F2E10 002EFD70 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 802F2E14 002EFD74 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802F2E18 002EFD78 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802F2E1C 002EFD7C 48 01 E3 85 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802F2E20 002EFD80 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802F2E24 002EFD84 28 1C 00 00 */ cmplwi r28, 0 +/* 802F2E28 002EFD88 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 802F2E2C 002EFD8C 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802F2E30 002EFD90 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F2E34 002EFD94 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802F2E38 002EFD98 90 81 00 CC */ stw r4, 0xcc(r1) +/* 802F2E3C 002EFD9C 90 61 00 D0 */ stw r3, 0xd0(r1) +/* 802F2E40 002EFDA0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802F2E44 002EFDA4 40 82 00 30 */ bne lbl_802F2E74 +/* 802F2E48 002EFDA8 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F2E4C 002EFDAC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F2E50 002EFDB0 80 84 00 00 */ lwz r4, 0(r4) +/* 802F2E54 002EFDB4 81 84 00 00 */ lwz r12, 0(r4) +/* 802F2E58 002EFDB8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F2E5C 002EFDBC 7D 89 03 A6 */ mtctr r12 +/* 802F2E60 002EFDC0 4E 80 04 21 */ bctrl +/* 802F2E64 002EFDC4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802F2E68 002EFDC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F2E6C 002EFDCC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802F2E70 002EFDD0 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_802F2E74: +/* 802F2E74 002EFDD4 88 01 00 B4 */ lbz r0, 0xb4(r1) +/* 802F2E78 002EFDD8 C0 01 01 B4 */ lfs f0, 0x1b4(r1) +/* 802F2E7C 002EFDDC 80 61 01 B8 */ lwz r3, 0x1b8(r1) +/* 802F2E80 002EFDE0 28 00 00 00 */ cmplwi r0, 0 +/* 802F2E84 002EFDE4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802F2E88 002EFDE8 90 61 00 44 */ stw r3, 0x44(r1) +/* 802F2E8C 002EFDEC 41 82 00 38 */ beq lbl_802F2EC4 +/* 802F2E90 002EFDF0 34 61 00 AC */ addic. r3, r1, 0xac +/* 802F2E94 002EFDF4 41 82 00 30 */ beq lbl_802F2EC4 +/* 802F2E98 002EFDF8 88 03 00 00 */ lbz r0, 0(r3) +/* 802F2E9C 002EFDFC 28 00 00 00 */ cmplwi r0, 0 +/* 802F2EA0 002EFE00 41 82 00 24 */ beq lbl_802F2EC4 +/* 802F2EA4 002EFE04 80 63 00 04 */ lwz r3, 4(r3) +/* 802F2EA8 002EFE08 28 03 00 00 */ cmplwi r3, 0 +/* 802F2EAC 002EFE0C 41 82 00 18 */ beq lbl_802F2EC4 +/* 802F2EB0 002EFE10 81 83 00 00 */ lwz r12, 0(r3) +/* 802F2EB4 002EFE14 38 80 00 01 */ li r4, 1 +/* 802F2EB8 002EFE18 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F2EBC 002EFE1C 7D 89 03 A6 */ mtctr r12 +/* 802F2EC0 002EFE20 4E 80 04 21 */ bctrl +lbl_802F2EC4: +/* 802F2EC4 002EFE24 38 00 00 00 */ li r0, 0 +/* 802F2EC8 002EFE28 98 01 00 B4 */ stb r0, 0xb4(r1) +lbl_802F2ECC: +/* 802F2ECC 002EFE2C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802F2ED0 002EFE30 48 05 55 1D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F2ED4 002EFE34 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F2ED8 002EFE38 41 82 00 4C */ beq lbl_802F2F24 +/* 802F2EDC 002EFE3C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802F2EE0 002EFE40 EC 00 C8 28 */ fsubs f0, f0, f25 +/* 802F2EE4 002EFE44 FC 00 02 10 */ fabs f0, f0 +/* 802F2EE8 002EFE48 FC 00 C0 40 */ fcmpo cr0, f0, f24 +/* 802F2EEC 002EFE4C 41 80 00 38 */ blt lbl_802F2F24 +/* 802F2EF0 002EFE50 38 61 00 38 */ addi r3, r1, 0x38 +/* 802F2EF4 002EFE54 48 05 54 F9 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F2EF8 002EFE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F2EFC 002EFE5C 41 82 00 28 */ beq lbl_802F2F24 +/* 802F2F00 002EFE60 28 1C 00 00 */ cmplwi r28, 0 +/* 802F2F04 002EFE64 40 82 FD 78 */ bne lbl_802F2C7C +/* 802F2F08 002EFE68 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802F2F0C 002EFE6C C0 22 C6 94 */ lfs f1, lbl_805AE3B4@sda21(r2) +/* 802F2F10 002EFE70 C0 02 C6 98 */ lfs f0, lbl_805AE3B8@sda21(r2) +/* 802F2F14 002EFE74 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802F2F18 002EFE78 FC 20 0A 10 */ fabs f1, f1 +/* 802F2F1C 002EFE7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802F2F20 002EFE80 40 80 FD 5C */ bge lbl_802F2C7C +lbl_802F2F24: +/* 802F2F24 002EFE84 C3 02 C6 94 */ lfs f24, lbl_805AE3B4@sda21(r2) +/* 802F2F28 002EFE88 C3 22 C6 98 */ lfs f25, lbl_805AE3B8@sda21(r2) +/* 802F2F2C 002EFE8C 48 00 02 20 */ b lbl_802F314C +lbl_802F2F30: +/* 802F2F30 002EFE90 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F2F34 002EFE94 38 61 01 48 */ addi r3, r1, 0x148 +/* 802F2F38 002EFE98 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802F2F3C 002EFE9C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F2F40 002EFEA0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F2F44 002EFEA4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F2F48 002EFEA8 7D 89 03 A6 */ mtctr r12 +/* 802F2F4C 002EFEAC 4E 80 04 21 */ bctrl +/* 802F2F50 002EFEB0 C0 E1 01 48 */ lfs f7, 0x148(r1) +/* 802F2F54 002EFEB4 38 61 00 68 */ addi r3, r1, 0x68 +/* 802F2F58 002EFEB8 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 802F2F5C 002EFEBC C0 C1 01 50 */ lfs f6, 0x150(r1) +/* 802F2F60 002EFEC0 C0 A1 01 54 */ lfs f5, 0x154(r1) +/* 802F2F64 002EFEC4 C0 81 01 58 */ lfs f4, 0x158(r1) +/* 802F2F68 002EFEC8 C0 61 01 5C */ lfs f3, 0x15c(r1) +/* 802F2F6C 002EFECC C0 41 01 60 */ lfs f2, 0x160(r1) +/* 802F2F70 002EFED0 C0 21 01 64 */ lfs f1, 0x164(r1) +/* 802F2F74 002EFED4 C0 01 01 68 */ lfs f0, 0x168(r1) +/* 802F2F78 002EFED8 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F2F7C 002EFEDC D0 E1 01 90 */ stfs f7, 0x190(r1) +/* 802F2F80 002EFEE0 80 84 00 00 */ lwz r4, 0(r4) +/* 802F2F84 002EFEE4 90 01 01 94 */ stw r0, 0x194(r1) +/* 802F2F88 002EFEE8 D0 C1 01 98 */ stfs f6, 0x198(r1) +/* 802F2F8C 002EFEEC D0 A1 01 9C */ stfs f5, 0x19c(r1) +/* 802F2F90 002EFEF0 D0 81 01 A0 */ stfs f4, 0x1a0(r1) +/* 802F2F94 002EFEF4 D0 61 01 A4 */ stfs f3, 0x1a4(r1) +/* 802F2F98 002EFEF8 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 802F2F9C 002EFEFC D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 802F2FA0 002EFF00 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 802F2FA4 002EFF04 4B D3 6F C1 */ bl Simplified__11IAnimReaderFv +/* 802F2FA8 002EFF08 88 01 00 70 */ lbz r0, 0x70(r1) +/* 802F2FAC 002EFF0C 28 00 00 00 */ cmplwi r0, 0 +/* 802F2FB0 002EFF10 98 01 00 98 */ stb r0, 0x98(r1) +/* 802F2FB4 002EFF14 41 82 00 24 */ beq lbl_802F2FD8 +/* 802F2FB8 002EFF18 34 81 00 90 */ addic. r4, r1, 0x90 +/* 802F2FBC 002EFF1C 41 82 00 1C */ beq lbl_802F2FD8 +/* 802F2FC0 002EFF20 88 61 00 68 */ lbz r3, 0x68(r1) +/* 802F2FC4 002EFF24 38 00 00 00 */ li r0, 0 +/* 802F2FC8 002EFF28 98 64 00 00 */ stb r3, 0(r4) +/* 802F2FCC 002EFF2C 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 802F2FD0 002EFF30 90 64 00 04 */ stw r3, 4(r4) +/* 802F2FD4 002EFF34 98 01 00 68 */ stb r0, 0x68(r1) +lbl_802F2FD8: +/* 802F2FD8 002EFF38 88 01 00 70 */ lbz r0, 0x70(r1) +/* 802F2FDC 002EFF3C 28 00 00 00 */ cmplwi r0, 0 +/* 802F2FE0 002EFF40 41 82 00 38 */ beq lbl_802F3018 +/* 802F2FE4 002EFF44 34 61 00 68 */ addic. r3, r1, 0x68 +/* 802F2FE8 002EFF48 41 82 00 30 */ beq lbl_802F3018 +/* 802F2FEC 002EFF4C 88 03 00 00 */ lbz r0, 0(r3) +/* 802F2FF0 002EFF50 28 00 00 00 */ cmplwi r0, 0 +/* 802F2FF4 002EFF54 41 82 00 24 */ beq lbl_802F3018 +/* 802F2FF8 002EFF58 80 63 00 04 */ lwz r3, 4(r3) +/* 802F2FFC 002EFF5C 28 03 00 00 */ cmplwi r3, 0 +/* 802F3000 002EFF60 41 82 00 18 */ beq lbl_802F3018 +/* 802F3004 002EFF64 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3008 002EFF68 38 80 00 01 */ li r4, 1 +/* 802F300C 002EFF6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F3010 002EFF70 7D 89 03 A6 */ mtctr r12 +/* 802F3014 002EFF74 4E 80 04 21 */ bctrl +lbl_802F3018: +/* 802F3018 002EFF78 88 01 00 98 */ lbz r0, 0x98(r1) +/* 802F301C 002EFF7C 38 60 00 00 */ li r3, 0 +/* 802F3020 002EFF80 98 61 00 70 */ stb r3, 0x70(r1) +/* 802F3024 002EFF84 28 00 00 00 */ cmplwi r0, 0 +/* 802F3028 002EFF88 41 82 00 48 */ beq lbl_802F3070 +/* 802F302C 002EFF8C 38 61 00 08 */ addi r3, r1, 8 +/* 802F3030 002EFF90 38 81 00 90 */ addi r4, r1, 0x90 +/* 802F3034 002EFF94 48 00 0B C5 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F3038 002EFF98 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F303C 002EFF9C 80 01 00 08 */ lwz r0, 8(r1) +/* 802F3040 002EFFA0 7C 03 00 40 */ cmplw r3, r0 +/* 802F3044 002EFFA4 41 82 00 24 */ beq lbl_802F3068 +/* 802F3048 002EFFA8 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802F304C 002EFFAC 4B D3 DF 55 */ bl sub_80030fa0 +/* 802F3050 002EFFB0 80 01 00 08 */ lwz r0, 8(r1) +/* 802F3054 002EFFB4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802F3058 002EFFB8 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F305C 002EFFBC 80 64 00 04 */ lwz r3, 4(r4) +/* 802F3060 002EFFC0 38 03 00 01 */ addi r0, r3, 1 +/* 802F3064 002EFFC4 90 04 00 04 */ stw r0, 4(r4) +lbl_802F3068: +/* 802F3068 002EFFC8 38 61 00 08 */ addi r3, r1, 8 +/* 802F306C 002EFFCC 4B D3 DF 35 */ bl sub_80030fa0 +lbl_802F3070: +/* 802F3070 002EFFD0 C0 C1 01 98 */ lfs f6, 0x198(r1) +/* 802F3074 002EFFD4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802F3078 002EFFD8 C0 A1 01 9C */ lfs f5, 0x19c(r1) +/* 802F307C 002EFFDC 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802F3080 002EFFE0 C0 81 01 A0 */ lfs f4, 0x1a0(r1) +/* 802F3084 002EFFE4 EF 9C 30 2A */ fadds f28, f28, f6 +/* 802F3088 002EFFE8 C0 61 01 A4 */ lfs f3, 0x1a4(r1) +/* 802F308C 002EFFEC EF 7B 28 2A */ fadds f27, f27, f5 +/* 802F3090 002EFFF0 C0 41 01 A8 */ lfs f2, 0x1a8(r1) +/* 802F3094 002EFFF4 EF 5A 20 2A */ fadds f26, f26, f4 +/* 802F3098 002EFFF8 C0 21 01 AC */ lfs f1, 0x1ac(r1) +/* 802F309C 002EFFFC C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 802F30A0 002F0000 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802F30A4 002F0004 D0 C1 01 10 */ stfs f6, 0x110(r1) +/* 802F30A8 002F0008 D0 A1 01 14 */ stfs f5, 0x114(r1) +/* 802F30AC 002F000C D0 81 01 18 */ stfs f4, 0x118(r1) +/* 802F30B0 002F0010 D0 61 01 1C */ stfs f3, 0x11c(r1) +/* 802F30B4 002F0014 D0 41 01 20 */ stfs f2, 0x120(r1) +/* 802F30B8 002F0018 D0 21 01 24 */ stfs f1, 0x124(r1) +/* 802F30BC 002F001C D0 01 01 28 */ stfs f0, 0x128(r1) +/* 802F30C0 002F0020 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802F30C4 002F0024 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 802F30C8 002F0028 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802F30CC 002F002C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802F30D0 002F0030 48 01 E0 D1 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802F30D4 002F0034 88 01 00 98 */ lbz r0, 0x98(r1) +/* 802F30D8 002F0038 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802F30DC 002F003C 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 802F30E0 002F0040 28 00 00 00 */ cmplwi r0, 0 +/* 802F30E4 002F0044 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802F30E8 002F0048 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802F30EC 002F004C C0 01 01 90 */ lfs f0, 0x190(r1) +/* 802F30F0 002F0050 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802F30F4 002F0054 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 802F30F8 002F0058 90 A1 00 BC */ stw r5, 0xbc(r1) +/* 802F30FC 002F005C 90 81 00 C0 */ stw r4, 0xc0(r1) +/* 802F3100 002F0060 90 61 00 C4 */ stw r3, 0xc4(r1) +/* 802F3104 002F0064 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802F3108 002F0068 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F310C 002F006C 41 82 00 38 */ beq lbl_802F3144 +/* 802F3110 002F0070 34 61 00 90 */ addic. r3, r1, 0x90 +/* 802F3114 002F0074 41 82 00 30 */ beq lbl_802F3144 +/* 802F3118 002F0078 88 03 00 00 */ lbz r0, 0(r3) +/* 802F311C 002F007C 28 00 00 00 */ cmplwi r0, 0 +/* 802F3120 002F0080 41 82 00 24 */ beq lbl_802F3144 +/* 802F3124 002F0084 80 63 00 04 */ lwz r3, 4(r3) +/* 802F3128 002F0088 28 03 00 00 */ cmplwi r3, 0 +/* 802F312C 002F008C 41 82 00 18 */ beq lbl_802F3144 +/* 802F3130 002F0090 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3134 002F0094 38 80 00 01 */ li r4, 1 +/* 802F3138 002F0098 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F313C 002F009C 7D 89 03 A6 */ mtctr r12 +/* 802F3140 002F00A0 4E 80 04 21 */ bctrl +lbl_802F3144: +/* 802F3144 002F00A4 38 00 00 00 */ li r0, 0 +/* 802F3148 002F00A8 98 01 00 98 */ stb r0, 0x98(r1) +lbl_802F314C: +/* 802F314C 002F00AC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F3150 002F00B0 48 05 52 9D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F3154 002F00B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F3158 002F00B8 41 82 00 18 */ beq lbl_802F3170 +/* 802F315C 002F00BC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802F3160 002F00C0 EC 00 C0 28 */ fsubs f0, f0, f24 +/* 802F3164 002F00C4 FC 00 02 10 */ fabs f0, f0 +/* 802F3168 002F00C8 FC 00 C8 40 */ fcmpo cr0, f0, f25 +/* 802F316C 002F00CC 40 80 FD C4 */ bge lbl_802F2F30 +lbl_802F3170: +/* 802F3170 002F00D0 C0 E1 00 B8 */ lfs f7, 0xb8(r1) +/* 802F3174 002F00D4 7F A3 EB 78 */ mr r3, r29 +/* 802F3178 002F00D8 C0 C1 00 BC */ lfs f6, 0xbc(r1) +/* 802F317C 002F00DC 7F E4 FB 78 */ mr r4, r31 +/* 802F3180 002F00E0 C0 A1 00 C0 */ lfs f5, 0xc0(r1) +/* 802F3184 002F00E4 38 A1 00 F4 */ addi r5, r1, 0xf4 +/* 802F3188 002F00E8 C0 81 00 C4 */ lfs f4, 0xc4(r1) +/* 802F318C 002F00EC 38 C1 00 D8 */ addi r6, r1, 0xd8 +/* 802F3190 002F00F0 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 802F3194 002F00F4 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 802F3198 002F00F8 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 802F319C 002F00FC C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 802F31A0 002F0100 D3 81 00 D8 */ stfs f28, 0xd8(r1) +/* 802F31A4 002F0104 D3 61 00 DC */ stfs f27, 0xdc(r1) +/* 802F31A8 002F0108 D3 41 00 E0 */ stfs f26, 0xe0(r1) +/* 802F31AC 002F010C D0 E1 00 E4 */ stfs f7, 0xe4(r1) +/* 802F31B0 002F0110 D0 C1 00 E8 */ stfs f6, 0xe8(r1) +/* 802F31B4 002F0114 D0 A1 00 EC */ stfs f5, 0xec(r1) +/* 802F31B8 002F0118 D0 81 00 F0 */ stfs f4, 0xf0(r1) +/* 802F31BC 002F011C D3 E1 00 F4 */ stfs f31, 0xf4(r1) +/* 802F31C0 002F0120 D3 C1 00 F8 */ stfs f30, 0xf8(r1) +/* 802F31C4 002F0124 D3 A1 00 FC */ stfs f29, 0xfc(r1) +/* 802F31C8 002F0128 D0 61 01 00 */ stfs f3, 0x100(r1) +/* 802F31CC 002F012C D0 41 01 04 */ stfs f2, 0x104(r1) +/* 802F31D0 002F0130 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 802F31D4 002F0134 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 802F31D8 002F0138 48 00 00 65 */ bl __ct__Q220CAnimTreeDoubleChild29CDoubleChildAdvancementResultFRC13CCharAnimTimeRC18SAdvancementDeltasRC18SAdvancementDeltas +/* 802F31DC 002F013C E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 +/* 802F31E0 002F0140 CB E1 02 60 */ lfd f31, 0x260(r1) +/* 802F31E4 002F0144 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 +/* 802F31E8 002F0148 CB C1 02 50 */ lfd f30, 0x250(r1) +/* 802F31EC 002F014C E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 +/* 802F31F0 002F0150 CB A1 02 40 */ lfd f29, 0x240(r1) +/* 802F31F4 002F0154 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0 +/* 802F31F8 002F0158 CB 81 02 30 */ lfd f28, 0x230(r1) +/* 802F31FC 002F015C E3 61 02 28 */ psq_l f27, 552(r1), 0, qr0 +/* 802F3200 002F0160 CB 61 02 20 */ lfd f27, 0x220(r1) +/* 802F3204 002F0164 E3 41 02 18 */ psq_l f26, 536(r1), 0, qr0 +/* 802F3208 002F0168 CB 41 02 10 */ lfd f26, 0x210(r1) +/* 802F320C 002F016C E3 21 02 08 */ psq_l f25, 520(r1), 0, qr0 +/* 802F3210 002F0170 CB 21 02 00 */ lfd f25, 0x200(r1) +/* 802F3214 002F0174 E3 01 01 F8 */ psq_l f24, 504(r1), 0, qr0 +/* 802F3218 002F0178 CB 01 01 F0 */ lfd f24, 0x1f0(r1) +/* 802F321C 002F017C 83 E1 01 EC */ lwz r31, 0x1ec(r1) +/* 802F3220 002F0180 83 C1 01 E8 */ lwz r30, 0x1e8(r1) +/* 802F3224 002F0184 83 A1 01 E4 */ lwz r29, 0x1e4(r1) +/* 802F3228 002F0188 80 01 02 74 */ lwz r0, 0x274(r1) +/* 802F322C 002F018C 83 81 01 E0 */ lwz r28, 0x1e0(r1) +/* 802F3230 002F0190 7C 08 03 A6 */ mtlr r0 +/* 802F3234 002F0194 38 21 02 70 */ addi r1, r1, 0x270 +/* 802F3238 002F0198 4E 80 00 20 */ blr + +.global __ct__Q220CAnimTreeDoubleChild29CDoubleChildAdvancementResultFRC13CCharAnimTimeRC18SAdvancementDeltasRC18SAdvancementDeltas +__ct__Q220CAnimTreeDoubleChild29CDoubleChildAdvancementResultFRC13CCharAnimTimeRC18SAdvancementDeltasRC18SAdvancementDeltas: +/* 802F323C 002F019C C0 04 00 00 */ lfs f0, 0(r4) +/* 802F3240 002F01A0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802F3244 002F01A4 80 04 00 04 */ lwz r0, 4(r4) +/* 802F3248 002F01A8 90 03 00 04 */ stw r0, 4(r3) +/* 802F324C 002F01AC C0 05 00 00 */ lfs f0, 0(r5) +/* 802F3250 002F01B0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802F3254 002F01B4 C0 05 00 04 */ lfs f0, 4(r5) +/* 802F3258 002F01B8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802F325C 002F01BC C0 05 00 08 */ lfs f0, 8(r5) +/* 802F3260 002F01C0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802F3264 002F01C4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802F3268 002F01C8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802F326C 002F01CC C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802F3270 002F01D0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802F3274 002F01D4 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802F3278 002F01D8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802F327C 002F01DC C0 05 00 18 */ lfs f0, 0x18(r5) +/* 802F3280 002F01E0 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802F3284 002F01E4 C0 06 00 00 */ lfs f0, 0(r6) +/* 802F3288 002F01E8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802F328C 002F01EC C0 06 00 04 */ lfs f0, 4(r6) +/* 802F3290 002F01F0 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802F3294 002F01F4 C0 06 00 08 */ lfs f0, 8(r6) +/* 802F3298 002F01F8 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802F329C 002F01FC C0 06 00 0C */ lfs f0, 0xc(r6) +/* 802F32A0 002F0200 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802F32A4 002F0204 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 802F32A8 002F0208 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802F32AC 002F020C C0 06 00 14 */ lfs f0, 0x14(r6) +/* 802F32B0 002F0210 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802F32B4 002F0214 C0 06 00 18 */ lfs f0, 0x18(r6) +/* 802F32B8 002F0218 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 802F32BC 002F021C 4E 80 00 20 */ blr + +.global VGetNumChildren__20CAnimTreeDoubleChildCFv +VGetNumChildren__20CAnimTreeDoubleChildCFv: +/* 802F32C0 002F0220 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F32C4 002F0224 7C 08 02 A6 */ mflr r0 +/* 802F32C8 002F0228 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F32CC 002F022C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F32D0 002F0230 7C 7F 1B 78 */ mr r31, r3 +/* 802F32D4 002F0234 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802F32D8 002F0238 80 63 00 00 */ lwz r3, 0(r3) +/* 802F32DC 002F023C 81 83 00 00 */ lwz r12, 0(r3) +/* 802F32E0 002F0240 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 802F32E4 002F0244 7D 89 03 A6 */ mtctr r12 +/* 802F32E8 002F0248 4E 80 04 21 */ bctrl +/* 802F32EC 002F024C 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F32F0 002F0250 7C 7F 1B 78 */ mr r31, r3 +/* 802F32F4 002F0254 80 64 00 00 */ lwz r3, 0(r4) +/* 802F32F8 002F0258 81 83 00 00 */ lwz r12, 0(r3) +/* 802F32FC 002F025C 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 802F3300 002F0260 7D 89 03 A6 */ mtctr r12 +/* 802F3304 002F0264 4E 80 04 21 */ bctrl +/* 802F3308 002F0268 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F330C 002F026C 7C 63 FA 14 */ add r3, r3, r31 +/* 802F3310 002F0270 38 63 00 02 */ addi r3, r3, 2 +/* 802F3314 002F0274 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F3318 002F0278 7C 08 03 A6 */ mtlr r0 +/* 802F331C 002F027C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3320 002F0280 4E 80 00 20 */ blr + +.global VGetContributionOfHighestInfluence__20CAnimTreeDoubleChildCFv +VGetContributionOfHighestInfluence__20CAnimTreeDoubleChildCFv: +/* 802F3324 002F0284 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 802F3328 002F0288 7C 08 02 A6 */ mflr r0 +/* 802F332C 002F028C 90 01 01 94 */ stw r0, 0x194(r1) +/* 802F3330 002F0290 DB E1 01 80 */ stfd f31, 0x180(r1) +/* 802F3334 002F0294 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 802F3338 002F0298 BF 21 01 64 */ stmw r25, 0x164(r1) +/* 802F333C 002F029C 7C 9B 23 78 */ mr r27, r4 +/* 802F3340 002F02A0 7C 7D 1B 78 */ mr r29, r3 +/* 802F3344 002F02A4 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F3348 002F02A8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802F334C 002F02AC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F3350 002F02B0 4B D3 B8 39 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802F3354 002F02B4 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802F3358 002F02B8 3B E1 01 24 */ addi r31, r1, 0x124 +/* 802F335C 002F02BC 3B 41 00 B4 */ addi r26, r1, 0xb4 +/* 802F3360 002F02C0 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 802F3364 002F02C4 7F E3 FB 78 */ mr r3, r31 +/* 802F3368 002F02C8 7F 44 D3 78 */ mr r4, r26 +/* 802F336C 002F02CC 48 04 AD F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F3370 002F02D0 C0 81 00 C4 */ lfs f4, 0xc4(r1) +/* 802F3374 002F02D4 28 1A 00 00 */ cmplwi r26, 0 +/* 802F3378 002F02D8 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 802F337C 002F02DC C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 802F3380 002F02E0 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 802F3384 002F02E4 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 802F3388 002F02E8 88 81 00 D8 */ lbz r4, 0xd8(r1) +/* 802F338C 002F02EC C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 802F3390 002F02F0 80 61 00 E0 */ lwz r3, 0xe0(r1) +/* 802F3394 002F02F4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802F3398 002F02F8 D0 81 01 34 */ stfs f4, 0x134(r1) +/* 802F339C 002F02FC 90 A1 01 38 */ stw r5, 0x138(r1) +/* 802F33A0 002F0300 D0 61 01 3C */ stfs f3, 0x13c(r1) +/* 802F33A4 002F0304 D0 41 01 40 */ stfs f2, 0x140(r1) +/* 802F33A8 002F0308 D0 21 01 44 */ stfs f1, 0x144(r1) +/* 802F33AC 002F030C 98 81 01 48 */ stb r4, 0x148(r1) +/* 802F33B0 002F0310 D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 802F33B4 002F0314 90 61 01 50 */ stw r3, 0x150(r1) +/* 802F33B8 002F0318 90 01 01 54 */ stw r0, 0x154(r1) +/* 802F33BC 002F031C 41 82 00 0C */ beq lbl_802F33C8 +/* 802F33C0 002F0320 7F 43 D3 78 */ mr r3, r26 +/* 802F33C4 002F0324 48 04 A7 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F33C8: +/* 802F33C8 002F0328 80 9B 00 18 */ lwz r4, 0x18(r27) +/* 802F33CC 002F032C 38 61 00 78 */ addi r3, r1, 0x78 +/* 802F33D0 002F0330 80 84 00 00 */ lwz r4, 0(r4) +/* 802F33D4 002F0334 4B D3 B7 B5 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802F33D8 002F0338 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802F33DC 002F033C 3B C1 00 EC */ addi r30, r1, 0xec +/* 802F33E0 002F0340 3B 41 00 7C */ addi r26, r1, 0x7c +/* 802F33E4 002F0344 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802F33E8 002F0348 7F C3 F3 78 */ mr r3, r30 +/* 802F33EC 002F034C 7F 44 D3 78 */ mr r4, r26 +/* 802F33F0 002F0350 48 04 AD 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F33F4 002F0354 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802F33F8 002F0358 28 1A 00 00 */ cmplwi r26, 0 +/* 802F33FC 002F035C 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 802F3400 002F0360 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 802F3404 002F0364 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802F3408 002F0368 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802F340C 002F036C 88 81 00 A0 */ lbz r4, 0xa0(r1) +/* 802F3410 002F0370 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802F3414 002F0374 80 61 00 A8 */ lwz r3, 0xa8(r1) +/* 802F3418 002F0378 80 01 00 AC */ lwz r0, 0xac(r1) +/* 802F341C 002F037C D0 81 00 FC */ stfs f4, 0xfc(r1) +/* 802F3420 002F0380 90 A1 01 00 */ stw r5, 0x100(r1) +/* 802F3424 002F0384 D0 61 01 04 */ stfs f3, 0x104(r1) +/* 802F3428 002F0388 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 802F342C 002F038C D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 802F3430 002F0390 98 81 01 10 */ stb r4, 0x110(r1) +/* 802F3434 002F0394 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 802F3438 002F0398 90 61 01 18 */ stw r3, 0x118(r1) +/* 802F343C 002F039C 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802F3440 002F03A0 41 82 00 0C */ beq lbl_802F344C +/* 802F3444 002F03A4 7F 43 D3 78 */ mr r3, r26 +/* 802F3448 002F03A8 48 04 A6 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F344C: +/* 802F344C 002F03AC 7F 63 DB 78 */ mr r3, r27 +/* 802F3450 002F03B0 81 9B 00 00 */ lwz r12, 0(r27) +/* 802F3454 002F03B4 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 802F3458 002F03B8 7D 89 03 A6 */ mtctr r12 +/* 802F345C 002F03BC 4E 80 04 21 */ bctrl +/* 802F3460 002F03C0 C0 02 C6 9C */ lfs f0, lbl_805AE3BC@sda21(r2) +/* 802F3464 002F03C4 7F 63 DB 78 */ mr r3, r27 +/* 802F3468 002F03C8 81 9B 00 00 */ lwz r12, 0(r27) +/* 802F346C 002F03CC EC 20 08 28 */ fsubs f1, f0, f1 +/* 802F3470 002F03D0 C0 01 01 20 */ lfs f0, 0x120(r1) +/* 802F3474 002F03D4 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 802F3478 002F03D8 EF E0 00 72 */ fmuls f31, f0, f1 +/* 802F347C 002F03DC 7D 89 03 A6 */ mtctr r12 +/* 802F3480 002F03E0 4E 80 04 21 */ bctrl +/* 802F3484 002F03E4 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802F3488 002F03E8 3B 80 00 00 */ li r28, 0 +/* 802F348C 002F03EC 3B 20 00 00 */ li r25, 0 +/* 802F3490 002F03F0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802F3494 002F03F4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802F3498 002F03F8 40 81 00 68 */ ble lbl_802F3500 +/* 802F349C 002F03FC D3 E1 00 40 */ stfs f31, 0x40(r1) +/* 802F34A0 002F0400 7F E4 FB 78 */ mr r4, r31 +/* 802F34A4 002F0404 83 61 01 54 */ lwz r27, 0x154(r1) +/* 802F34A8 002F0408 38 61 00 44 */ addi r3, r1, 0x44 +/* 802F34AC 002F040C 48 04 AC B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F34B0 002F0410 C0 81 01 34 */ lfs f4, 0x134(r1) +/* 802F34B4 002F0414 3B 41 00 40 */ addi r26, r1, 0x40 +/* 802F34B8 002F0418 80 81 01 38 */ lwz r4, 0x138(r1) +/* 802F34BC 002F041C 3B 80 00 01 */ li r28, 1 +/* 802F34C0 002F0420 C0 61 01 3C */ lfs f3, 0x13c(r1) +/* 802F34C4 002F0424 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 802F34C8 002F0428 C0 21 01 44 */ lfs f1, 0x144(r1) +/* 802F34CC 002F042C 88 61 01 48 */ lbz r3, 0x148(r1) +/* 802F34D0 002F0430 C0 01 01 4C */ lfs f0, 0x14c(r1) +/* 802F34D4 002F0434 80 01 01 50 */ lwz r0, 0x150(r1) +/* 802F34D8 002F0438 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802F34DC 002F043C 90 81 00 58 */ stw r4, 0x58(r1) +/* 802F34E0 002F0440 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802F34E4 002F0444 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802F34E8 002F0448 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 802F34EC 002F044C 98 61 00 68 */ stb r3, 0x68(r1) +/* 802F34F0 002F0450 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802F34F4 002F0454 90 01 00 70 */ stw r0, 0x70(r1) +/* 802F34F8 002F0458 93 61 00 74 */ stw r27, 0x74(r1) +/* 802F34FC 002F045C 48 00 00 64 */ b lbl_802F3560 +lbl_802F3500: +/* 802F3500 002F0460 D0 01 00 08 */ stfs f0, 8(r1) +/* 802F3504 002F0464 7F C4 F3 78 */ mr r4, r30 +/* 802F3508 002F0468 83 61 01 1C */ lwz r27, 0x11c(r1) +/* 802F350C 002F046C 38 61 00 0C */ addi r3, r1, 0xc +/* 802F3510 002F0470 48 04 AC 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F3514 002F0474 C0 81 00 FC */ lfs f4, 0xfc(r1) +/* 802F3518 002F0478 3B 41 00 08 */ addi r26, r1, 8 +/* 802F351C 002F047C 80 81 01 00 */ lwz r4, 0x100(r1) +/* 802F3520 002F0480 3B 20 00 01 */ li r25, 1 +/* 802F3524 002F0484 C0 61 01 04 */ lfs f3, 0x104(r1) +/* 802F3528 002F0488 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 802F352C 002F048C C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 802F3530 002F0490 88 61 01 10 */ lbz r3, 0x110(r1) +/* 802F3534 002F0494 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 802F3538 002F0498 80 01 01 18 */ lwz r0, 0x118(r1) +/* 802F353C 002F049C D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 802F3540 002F04A0 90 81 00 20 */ stw r4, 0x20(r1) +/* 802F3544 002F04A4 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802F3548 002F04A8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802F354C 002F04AC D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802F3550 002F04B0 98 61 00 30 */ stb r3, 0x30(r1) +/* 802F3554 002F04B4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802F3558 002F04B8 90 01 00 38 */ stw r0, 0x38(r1) +/* 802F355C 002F04BC 93 61 00 3C */ stw r27, 0x3c(r1) +lbl_802F3560: +/* 802F3560 002F04C0 C0 1A 00 00 */ lfs f0, 0(r26) +/* 802F3564 002F04C4 38 7D 00 04 */ addi r3, r29, 4 +/* 802F3568 002F04C8 38 9A 00 04 */ addi r4, r26, 4 +/* 802F356C 002F04CC D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F3570 002F04D0 48 04 AB F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F3574 002F04D4 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 802F3578 002F04D8 7F 20 07 75 */ extsb. r0, r25 +/* 802F357C 002F04DC D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802F3580 002F04E0 80 1A 00 18 */ lwz r0, 0x18(r26) +/* 802F3584 002F04E4 90 1D 00 18 */ stw r0, 0x18(r29) +/* 802F3588 002F04E8 C0 1A 00 1C */ lfs f0, 0x1c(r26) +/* 802F358C 002F04EC D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802F3590 002F04F0 C0 1A 00 20 */ lfs f0, 0x20(r26) +/* 802F3594 002F04F4 D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 802F3598 002F04F8 C0 1A 00 24 */ lfs f0, 0x24(r26) +/* 802F359C 002F04FC D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 802F35A0 002F0500 88 1A 00 28 */ lbz r0, 0x28(r26) +/* 802F35A4 002F0504 98 1D 00 28 */ stb r0, 0x28(r29) +/* 802F35A8 002F0508 C0 1A 00 2C */ lfs f0, 0x2c(r26) +/* 802F35AC 002F050C D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802F35B0 002F0510 80 1A 00 30 */ lwz r0, 0x30(r26) +/* 802F35B4 002F0514 90 1D 00 30 */ stw r0, 0x30(r29) +/* 802F35B8 002F0518 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 802F35BC 002F051C 90 1D 00 34 */ stw r0, 0x34(r29) +/* 802F35C0 002F0520 41 82 00 10 */ beq lbl_802F35D0 +/* 802F35C4 002F0524 34 61 00 0C */ addic. r3, r1, 0xc +/* 802F35C8 002F0528 41 82 00 08 */ beq lbl_802F35D0 +/* 802F35CC 002F052C 48 04 A5 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F35D0: +/* 802F35D0 002F0530 7F 80 07 75 */ extsb. r0, r28 +/* 802F35D4 002F0534 41 82 00 10 */ beq lbl_802F35E4 +/* 802F35D8 002F0538 34 61 00 44 */ addic. r3, r1, 0x44 +/* 802F35DC 002F053C 41 82 00 08 */ beq lbl_802F35E4 +/* 802F35E0 002F0540 48 04 A5 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F35E4: +/* 802F35E4 002F0544 28 1E 00 00 */ cmplwi r30, 0 +/* 802F35E8 002F0548 41 82 00 0C */ beq lbl_802F35F4 +/* 802F35EC 002F054C 7F C3 F3 78 */ mr r3, r30 +/* 802F35F0 002F0550 48 04 A4 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F35F4: +/* 802F35F4 002F0554 28 1F 00 00 */ cmplwi r31, 0 +/* 802F35F8 002F0558 41 82 00 0C */ beq lbl_802F3604 +/* 802F35FC 002F055C 7F E3 FB 78 */ mr r3, r31 +/* 802F3600 002F0560 48 04 A4 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F3604: +/* 802F3604 002F0564 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 802F3608 002F0568 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 802F360C 002F056C BB 21 01 64 */ lmw r25, 0x164(r1) +/* 802F3610 002F0570 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802F3614 002F0574 7C 08 03 A6 */ mtlr r0 +/* 802F3618 002F0578 38 21 01 90 */ addi r1, r1, 0x190 +/* 802F361C 002F057C 4E 80 00 20 */ blr + +.global VGetParticlePOIState__20CAnimTreeDoubleChildCFPCc +VGetParticlePOIState__20CAnimTreeDoubleChildCFPCc: +/* 802F3620 002F0580 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3624 002F0584 7C 08 02 A6 */ mflr r0 +/* 802F3628 002F0588 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F362C 002F058C 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802F3630 002F0590 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3634 002F0594 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3638 002F0598 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 802F363C 002F059C 7D 89 03 A6 */ mtctr r12 +/* 802F3640 002F05A0 4E 80 04 21 */ bctrl +/* 802F3644 002F05A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3648 002F05A8 7C 08 03 A6 */ mtlr r0 +/* 802F364C 002F05AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3650 002F05B0 4E 80 00 20 */ blr + +.global VGetInt32POIState__20CAnimTreeDoubleChildCFPCc +VGetInt32POIState__20CAnimTreeDoubleChildCFPCc: +/* 802F3654 002F05B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3658 002F05B8 7C 08 02 A6 */ mflr r0 +/* 802F365C 002F05BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3660 002F05C0 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802F3664 002F05C4 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3668 002F05C8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F366C 002F05CC 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802F3670 002F05D0 7D 89 03 A6 */ mtctr r12 +/* 802F3674 002F05D4 4E 80 04 21 */ bctrl +/* 802F3678 002F05D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F367C 002F05DC 7C 08 03 A6 */ mtlr r0 +/* 802F3680 002F05E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3684 002F05E4 4E 80 00 20 */ blr + +.global VGetBoolPOIState__20CAnimTreeDoubleChildCFPCc +VGetBoolPOIState__20CAnimTreeDoubleChildCFPCc: +/* 802F3688 002F05E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F368C 002F05EC 7C 08 02 A6 */ mflr r0 +/* 802F3690 002F05F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3694 002F05F4 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802F3698 002F05F8 80 63 00 00 */ lwz r3, 0(r3) +/* 802F369C 002F05FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F36A0 002F0600 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802F36A4 002F0604 7D 89 03 A6 */ mtctr r12 +/* 802F36A8 002F0608 4E 80 04 21 */ bctrl +/* 802F36AC 002F060C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F36B0 002F0610 7C 08 03 A6 */ mtlr r0 +/* 802F36B4 002F0614 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F36B8 002F0618 4E 80 00 20 */ blr + +.global VGetSoundPOIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802F36BC 002F061C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F36C0 002F0620 7C 08 02 A6 */ mflr r0 +/* 802F36C4 002F0624 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F36C8 002F0628 BF 41 00 08 */ stmw r26, 8(r1) +/* 802F36CC 002F062C 7C 7F 1B 78 */ mr r31, r3 +/* 802F36D0 002F0630 7C 9A 23 78 */ mr r26, r4 +/* 802F36D4 002F0634 7C BB 2B 78 */ mr r27, r5 +/* 802F36D8 002F0638 7C DC 33 78 */ mr r28, r6 +/* 802F36DC 002F063C 7C FD 3B 78 */ mr r29, r7 +/* 802F36E0 002F0640 7D 1E 43 78 */ mr r30, r8 +/* 802F36E4 002F0644 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F36E8 002F0648 80 63 00 00 */ lwz r3, 0(r3) +/* 802F36EC 002F064C 48 00 A5 99 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 802F36F0 002F0650 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 802F36F4 002F0654 7C 7F 1B 78 */ mr r31, r3 +/* 802F36F8 002F0658 7F 44 D3 78 */ mr r4, r26 +/* 802F36FC 002F065C 7F 65 DB 78 */ mr r5, r27 +/* 802F3700 002F0660 80 66 00 00 */ lwz r3, 0(r6) +/* 802F3704 002F0664 7F 86 E3 78 */ mr r6, r28 +/* 802F3708 002F0668 7F C8 F3 78 */ mr r8, r30 +/* 802F370C 002F066C 7C FF EA 14 */ add r7, r31, r29 +/* 802F3710 002F0670 48 00 A5 75 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 802F3714 002F0674 7F FF 1A 14 */ add r31, r31, r3 +/* 802F3718 002F0678 7C 1F E0 40 */ cmplw r31, r28 +/* 802F371C 002F067C 40 81 00 08 */ ble lbl_802F3724 +/* 802F3720 002F0680 7F 9F E3 78 */ mr r31, r28 +lbl_802F3724: +/* 802F3724 002F0684 3C 80 80 30 */ lis r4, compare__8CPOINodeFPCvPCv@ha +/* 802F3728 002F0688 7F 63 DB 78 */ mr r3, r27 +/* 802F372C 002F068C 38 C4 D0 A8 */ addi r6, r4, compare__8CPOINodeFPCvPCv@l +/* 802F3730 002F0690 38 A0 00 44 */ li r5, 0x44 +/* 802F3734 002F0694 7F E4 FB 78 */ mr r4, r31 +/* 802F3738 002F0698 48 09 C5 CD */ bl qsort +/* 802F373C 002F069C 7F E3 FB 78 */ mr r3, r31 +/* 802F3740 002F06A0 BB 41 00 08 */ lmw r26, 8(r1) +/* 802F3744 002F06A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F3748 002F06A8 7C 08 03 A6 */ mtlr r0 +/* 802F374C 002F06AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F3750 002F06B0 4E 80 00 20 */ blr + +.global VGetParticlePOIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802F3754 002F06B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F3758 002F06B8 7C 08 02 A6 */ mflr r0 +/* 802F375C 002F06BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F3760 002F06C0 BF 41 00 08 */ stmw r26, 8(r1) +/* 802F3764 002F06C4 7C 7F 1B 78 */ mr r31, r3 +/* 802F3768 002F06C8 7C 9A 23 78 */ mr r26, r4 +/* 802F376C 002F06CC 7C BB 2B 78 */ mr r27, r5 +/* 802F3770 002F06D0 7C DC 33 78 */ mr r28, r6 +/* 802F3774 002F06D4 7C FD 3B 78 */ mr r29, r7 +/* 802F3778 002F06D8 7D 1E 43 78 */ mr r30, r8 +/* 802F377C 002F06DC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3780 002F06E0 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3784 002F06E4 48 00 A5 7D */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 802F3788 002F06E8 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 802F378C 002F06EC 7C 7F 1B 78 */ mr r31, r3 +/* 802F3790 002F06F0 7F 44 D3 78 */ mr r4, r26 +/* 802F3794 002F06F4 7F 65 DB 78 */ mr r5, r27 +/* 802F3798 002F06F8 80 66 00 00 */ lwz r3, 0(r6) +/* 802F379C 002F06FC 7F 86 E3 78 */ mr r6, r28 +/* 802F37A0 002F0700 7F C8 F3 78 */ mr r8, r30 +/* 802F37A4 002F0704 7C FF EA 14 */ add r7, r31, r29 +/* 802F37A8 002F0708 48 00 A5 59 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 802F37AC 002F070C 7F FF 1A 14 */ add r31, r31, r3 +/* 802F37B0 002F0710 7C 1F E0 40 */ cmplw r31, r28 +/* 802F37B4 002F0714 40 81 00 08 */ ble lbl_802F37BC +/* 802F37B8 002F0718 7F 9F E3 78 */ mr r31, r28 +lbl_802F37BC: +/* 802F37BC 002F071C 3C 80 80 30 */ lis r4, compare__8CPOINodeFPCvPCv@ha +/* 802F37C0 002F0720 7F 63 DB 78 */ mr r3, r27 +/* 802F37C4 002F0724 38 C4 D0 A8 */ addi r6, r4, compare__8CPOINodeFPCvPCv@l +/* 802F37C8 002F0728 38 A0 00 5C */ li r5, 0x5c +/* 802F37CC 002F072C 7F E4 FB 78 */ mr r4, r31 +/* 802F37D0 002F0730 48 09 C5 35 */ bl qsort +/* 802F37D4 002F0734 7F E3 FB 78 */ mr r3, r31 +/* 802F37D8 002F0738 BB 41 00 08 */ lmw r26, 8(r1) +/* 802F37DC 002F073C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F37E0 002F0740 7C 08 03 A6 */ mtlr r0 +/* 802F37E4 002F0744 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F37E8 002F0748 4E 80 00 20 */ blr + +.global VGetInt32POIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802F37EC 002F074C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F37F0 002F0750 7C 08 02 A6 */ mflr r0 +/* 802F37F4 002F0754 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F37F8 002F0758 BF 41 00 08 */ stmw r26, 8(r1) +/* 802F37FC 002F075C 7C 7F 1B 78 */ mr r31, r3 +/* 802F3800 002F0760 7C 9A 23 78 */ mr r26, r4 +/* 802F3804 002F0764 7C BB 2B 78 */ mr r27, r5 +/* 802F3808 002F0768 7C DC 33 78 */ mr r28, r6 +/* 802F380C 002F076C 7C FD 3B 78 */ mr r29, r7 +/* 802F3810 002F0770 7D 1E 43 78 */ mr r30, r8 +/* 802F3814 002F0774 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3818 002F0778 80 63 00 00 */ lwz r3, 0(r3) +/* 802F381C 002F077C 48 00 A5 61 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 802F3820 002F0780 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 802F3824 002F0784 7C 7F 1B 78 */ mr r31, r3 +/* 802F3828 002F0788 7F 44 D3 78 */ mr r4, r26 +/* 802F382C 002F078C 7F 65 DB 78 */ mr r5, r27 +/* 802F3830 002F0790 80 66 00 00 */ lwz r3, 0(r6) +/* 802F3834 002F0794 7F 86 E3 78 */ mr r6, r28 +/* 802F3838 002F0798 7F C8 F3 78 */ mr r8, r30 +/* 802F383C 002F079C 7C FF EA 14 */ add r7, r31, r29 +/* 802F3840 002F07A0 48 00 A5 3D */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 802F3844 002F07A4 7F FF 1A 14 */ add r31, r31, r3 +/* 802F3848 002F07A8 7C 1F E0 40 */ cmplw r31, r28 +/* 802F384C 002F07AC 40 81 00 08 */ ble lbl_802F3854 +/* 802F3850 002F07B0 7F 9F E3 78 */ mr r31, r28 +lbl_802F3854: +/* 802F3854 002F07B4 3C 80 80 30 */ lis r4, compare__8CPOINodeFPCvPCv@ha +/* 802F3858 002F07B8 7F 63 DB 78 */ mr r3, r27 +/* 802F385C 002F07BC 38 C4 D0 A8 */ addi r6, r4, compare__8CPOINodeFPCvPCv@l +/* 802F3860 002F07C0 38 A0 00 4C */ li r5, 0x4c +/* 802F3864 002F07C4 7F E4 FB 78 */ mr r4, r31 +/* 802F3868 002F07C8 48 09 C4 9D */ bl qsort +/* 802F386C 002F07CC 7F E3 FB 78 */ mr r3, r31 +/* 802F3870 002F07D0 BB 41 00 08 */ lmw r26, 8(r1) +/* 802F3874 002F07D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F3878 002F07D8 7C 08 03 A6 */ mtlr r0 +/* 802F387C 002F07DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F3880 002F07E0 4E 80 00 20 */ blr + +.global VGetBoolPOIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__20CAnimTreeDoubleChildCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802F3884 002F07E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F3888 002F07E8 7C 08 02 A6 */ mflr r0 +/* 802F388C 002F07EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F3890 002F07F0 BF 41 00 08 */ stmw r26, 8(r1) +/* 802F3894 002F07F4 7C 7F 1B 78 */ mr r31, r3 +/* 802F3898 002F07F8 7C 9A 23 78 */ mr r26, r4 +/* 802F389C 002F07FC 7C BB 2B 78 */ mr r27, r5 +/* 802F38A0 002F0800 7C DC 33 78 */ mr r28, r6 +/* 802F38A4 002F0804 7C FD 3B 78 */ mr r29, r7 +/* 802F38A8 002F0808 7D 1E 43 78 */ mr r30, r8 +/* 802F38AC 002F080C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F38B0 002F0810 80 63 00 00 */ lwz r3, 0(r3) +/* 802F38B4 002F0814 48 00 A5 45 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 802F38B8 002F0818 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 802F38BC 002F081C 7C 7F 1B 78 */ mr r31, r3 +/* 802F38C0 002F0820 7F 44 D3 78 */ mr r4, r26 +/* 802F38C4 002F0824 7F 65 DB 78 */ mr r5, r27 +/* 802F38C8 002F0828 80 66 00 00 */ lwz r3, 0(r6) +/* 802F38CC 002F082C 7F 86 E3 78 */ mr r6, r28 +/* 802F38D0 002F0830 7F C8 F3 78 */ mr r8, r30 +/* 802F38D4 002F0834 7C FF EA 14 */ add r7, r31, r29 +/* 802F38D8 002F0838 48 00 A5 21 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 802F38DC 002F083C 7F FF 1A 14 */ add r31, r31, r3 +/* 802F38E0 002F0840 7C 1F E0 40 */ cmplw r31, r28 +/* 802F38E4 002F0844 40 81 00 08 */ ble lbl_802F38EC +/* 802F38E8 002F0848 7F 9F E3 78 */ mr r31, r28 +lbl_802F38EC: +/* 802F38EC 002F084C 3C 80 80 30 */ lis r4, compare__8CPOINodeFPCvPCv@ha +/* 802F38F0 002F0850 7F 63 DB 78 */ mr r3, r27 +/* 802F38F4 002F0854 38 C4 D0 A8 */ addi r6, r4, compare__8CPOINodeFPCvPCv@l +/* 802F38F8 002F0858 38 A0 00 3C */ li r5, 0x3c +/* 802F38FC 002F085C 7F E4 FB 78 */ mr r4, r31 +/* 802F3900 002F0860 48 09 C4 05 */ bl qsort +/* 802F3904 002F0864 7F E3 FB 78 */ mr r3, r31 +/* 802F3908 002F0868 BB 41 00 08 */ lmw r26, 8(r1) +/* 802F390C 002F086C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F3910 002F0870 7C 08 03 A6 */ mtlr r0 +/* 802F3914 002F0874 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F3918 002F0878 4E 80 00 20 */ blr + +.global __dt__20CAnimTreeDoubleChildFv +__dt__20CAnimTreeDoubleChildFv: +/* 802F391C 002F087C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3920 002F0880 7C 08 02 A6 */ mflr r0 +/* 802F3924 002F0884 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3928 002F0888 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F392C 002F088C 7C 9F 23 78 */ mr r31, r4 +/* 802F3930 002F0890 93 C1 00 08 */ stw r30, 8(r1) +/* 802F3934 002F0894 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F3938 002F0898 41 82 00 98 */ beq lbl_802F39D0 +/* 802F393C 002F089C 3C 80 80 3F */ lis r4, lbl_803ED158@ha +/* 802F3940 002F08A0 38 60 00 08 */ li r3, 8 +/* 802F3944 002F08A4 38 04 D1 58 */ addi r0, r4, lbl_803ED158@l +/* 802F3948 002F08A8 38 80 00 02 */ li r4, 2 +/* 802F394C 002F08AC 90 1E 00 00 */ stw r0, 0(r30) +/* 802F3950 002F08B0 48 00 42 59 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F3954 002F08B4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802F3958 002F08B8 41 82 00 14 */ beq lbl_802F396C +/* 802F395C 002F08BC 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802F3960 002F08C0 41 82 00 0C */ beq lbl_802F396C +/* 802F3964 002F08C4 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802F3968 002F08C8 4B D3 D6 39 */ bl sub_80030fa0 +lbl_802F396C: +/* 802F396C 002F08CC 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802F3970 002F08D0 41 82 00 14 */ beq lbl_802F3984 +/* 802F3974 002F08D4 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802F3978 002F08D8 41 82 00 0C */ beq lbl_802F3984 +/* 802F397C 002F08DC 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802F3980 002F08E0 4B D3 D6 21 */ bl sub_80030fa0 +lbl_802F3984: +/* 802F3984 002F08E4 28 1E 00 00 */ cmplwi r30, 0 +/* 802F3988 002F08E8 41 82 00 38 */ beq lbl_802F39C0 +/* 802F398C 002F08EC 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802F3990 002F08F0 38 80 00 02 */ li r4, 2 +/* 802F3994 002F08F4 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802F3998 002F08F8 90 1E 00 00 */ stw r0, 0(r30) +/* 802F399C 002F08FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F39A0 002F0900 48 00 42 09 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F39A4 002F0904 34 1E 00 04 */ addic. r0, r30, 4 +/* 802F39A8 002F0908 41 82 00 0C */ beq lbl_802F39B4 +/* 802F39AC 002F090C 38 7E 00 04 */ addi r3, r30, 4 +/* 802F39B0 002F0910 48 04 A1 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F39B4: +/* 802F39B4 002F0914 7F C3 F3 78 */ mr r3, r30 +/* 802F39B8 002F0918 38 80 00 00 */ li r4, 0 +/* 802F39BC 002F091C 48 00 A5 19 */ bl __dt__11IAnimReaderFv +lbl_802F39C0: +/* 802F39C0 002F0920 7F E0 07 35 */ extsh. r0, r31 +/* 802F39C4 002F0924 40 81 00 0C */ ble lbl_802F39D0 +/* 802F39C8 002F0928 7F C3 F3 78 */ mr r3, r30 +/* 802F39CC 002F092C 48 02 1F 65 */ bl Free__7CMemoryFPCv +lbl_802F39D0: +/* 802F39D0 002F0930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F39D4 002F0934 7F C3 F3 78 */ mr r3, r30 +/* 802F39D8 002F0938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F39DC 002F093C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F39E0 002F0940 7C 08 03 A6 */ mtlr r0 +/* 802F39E4 002F0944 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F39E8 002F0948 4E 80 00 20 */ blr + +.global VAdvanceView__20CAnimTreeDoubleChildFRC13CCharAnimTime +VAdvanceView__20CAnimTreeDoubleChildFRC13CCharAnimTime: +/* 802F39EC 002F094C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802F39F0 002F0950 7C 08 02 A6 */ mflr r0 +/* 802F39F4 002F0954 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802F39F8 002F0958 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802F39FC 002F095C 7C BF 2B 78 */ mr r31, r5 +/* 802F3A00 002F0960 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802F3A04 002F0964 7C 9E 23 78 */ mr r30, r4 +/* 802F3A08 002F0968 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 802F3A0C 002F096C 7C 7D 1B 78 */ mr r29, r3 +/* 802F3A10 002F0970 38 61 00 2C */ addi r3, r1, 0x2c +/* 802F3A14 002F0974 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F3A18 002F0978 80 84 00 00 */ lwz r4, 0(r4) +/* 802F3A1C 002F097C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F3A20 002F0980 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F3A24 002F0984 7D 89 03 A6 */ mtctr r12 +/* 802F3A28 002F0988 4E 80 04 21 */ bctrl +/* 802F3A2C 002F098C C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 802F3A30 002F0990 7F E5 FB 78 */ mr r5, r31 +/* 802F3A34 002F0994 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802F3A38 002F0998 38 61 00 08 */ addi r3, r1, 8 +/* 802F3A3C 002F099C C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 802F3A40 002F09A0 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 802F3A44 002F09A4 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 802F3A48 002F09A8 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802F3A4C 002F09AC C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802F3A50 002F09B0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802F3A54 002F09B4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802F3A58 002F09B8 D0 E1 00 74 */ stfs f7, 0x74(r1) +/* 802F3A5C 002F09BC 90 01 00 78 */ stw r0, 0x78(r1) +/* 802F3A60 002F09C0 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 802F3A64 002F09C4 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 802F3A68 002F09C8 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 802F3A6C 002F09CC D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802F3A70 002F09D0 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802F3A74 002F09D4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802F3A78 002F09D8 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802F3A7C 002F09DC 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F3A80 002F09E0 80 84 00 00 */ lwz r4, 0(r4) +/* 802F3A84 002F09E4 81 84 00 00 */ lwz r12, 0(r4) +/* 802F3A88 002F09E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F3A8C 002F09EC 7D 89 03 A6 */ mtctr r12 +/* 802F3A90 002F09F0 4E 80 04 21 */ bctrl +/* 802F3A94 002F09F4 C0 E1 00 08 */ lfs f7, 8(r1) +/* 802F3A98 002F09F8 38 61 00 74 */ addi r3, r1, 0x74 +/* 802F3A9C 002F09FC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F3AA0 002F0A00 38 81 00 50 */ addi r4, r1, 0x50 +/* 802F3AA4 002F0A04 C0 C1 00 10 */ lfs f6, 0x10(r1) +/* 802F3AA8 002F0A08 C0 A1 00 14 */ lfs f5, 0x14(r1) +/* 802F3AAC 002F0A0C C0 81 00 18 */ lfs f4, 0x18(r1) +/* 802F3AB0 002F0A10 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 802F3AB4 002F0A14 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802F3AB8 002F0A18 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802F3ABC 002F0A1C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802F3AC0 002F0A20 D0 E1 00 50 */ stfs f7, 0x50(r1) +/* 802F3AC4 002F0A24 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F3AC8 002F0A28 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 802F3ACC 002F0A2C D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802F3AD0 002F0A30 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802F3AD4 002F0A34 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802F3AD8 002F0A38 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802F3ADC 002F0A3C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802F3AE0 002F0A40 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802F3AE4 002F0A44 48 05 4F 89 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F3AE8 002F0A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F3AEC 002F0A4C 38 61 00 50 */ addi r3, r1, 0x50 +/* 802F3AF0 002F0A50 41 82 00 08 */ beq lbl_802F3AF8 +/* 802F3AF4 002F0A54 38 61 00 74 */ addi r3, r1, 0x74 +lbl_802F3AF8: +/* 802F3AF8 002F0A58 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F3AFC 002F0A5C D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F3B00 002F0A60 80 03 00 04 */ lwz r0, 4(r3) +/* 802F3B04 002F0A64 90 1D 00 04 */ stw r0, 4(r29) +/* 802F3B08 002F0A68 C0 03 00 08 */ lfs f0, 8(r3) +/* 802F3B0C 002F0A6C D0 1D 00 08 */ stfs f0, 8(r29) +/* 802F3B10 002F0A70 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802F3B14 002F0A74 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802F3B18 002F0A78 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802F3B1C 002F0A7C D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802F3B20 002F0A80 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802F3B24 002F0A84 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802F3B28 002F0A88 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802F3B2C 002F0A8C D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 802F3B30 002F0A90 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 802F3B34 002F0A94 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802F3B38 002F0A98 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 802F3B3C 002F0A9C D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 802F3B40 002F0AA0 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802F3B44 002F0AA4 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802F3B48 002F0AA8 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 802F3B4C 002F0AAC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802F3B50 002F0AB0 7C 08 03 A6 */ mtlr r0 +/* 802F3B54 002F0AB4 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802F3B58 002F0AB8 4E 80 00 20 */ blr + +.global "__ct__20CAnimTreeDoubleChildFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__20CAnimTreeDoubleChildFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802F3B5C 002F0ABC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F3B60 002F0AC0 7C 08 02 A6 */ mflr r0 +/* 802F3B64 002F0AC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F3B68 002F0AC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F3B6C 002F0ACC 7C BF 2B 78 */ mr r31, r5 +/* 802F3B70 002F0AD0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F3B74 002F0AD4 7C 9E 23 78 */ mr r30, r4 +/* 802F3B78 002F0AD8 7C C4 33 78 */ mr r4, r6 +/* 802F3B7C 002F0ADC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F3B80 002F0AE0 7C 7D 1B 78 */ mr r29, r3 +/* 802F3B84 002F0AE4 48 00 01 4D */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F3B88 002F0AE8 3C 80 80 3F */ lis r4, lbl_803ED158@ha +/* 802F3B8C 002F0AEC 38 60 00 08 */ li r3, 8 +/* 802F3B90 002F0AF0 38 04 D1 58 */ addi r0, r4, lbl_803ED158@l +/* 802F3B94 002F0AF4 38 80 00 02 */ li r4, 2 +/* 802F3B98 002F0AF8 90 1D 00 00 */ stw r0, 0(r29) +/* 802F3B9C 002F0AFC 80 1E 00 00 */ lwz r0, 0(r30) +/* 802F3BA0 002F0B00 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802F3BA4 002F0B04 80 DD 00 14 */ lwz r6, 0x14(r29) +/* 802F3BA8 002F0B08 80 A6 00 04 */ lwz r5, 4(r6) +/* 802F3BAC 002F0B0C 38 05 00 01 */ addi r0, r5, 1 +/* 802F3BB0 002F0B10 90 06 00 04 */ stw r0, 4(r6) +/* 802F3BB4 002F0B14 80 1F 00 00 */ lwz r0, 0(r31) +/* 802F3BB8 002F0B18 90 1D 00 18 */ stw r0, 0x18(r29) +/* 802F3BBC 002F0B1C 80 DD 00 18 */ lwz r6, 0x18(r29) +/* 802F3BC0 002F0B20 80 A6 00 04 */ lwz r5, 4(r6) +/* 802F3BC4 002F0B24 38 05 00 01 */ addi r0, r5, 1 +/* 802F3BC8 002F0B28 90 06 00 04 */ stw r0, 4(r6) +/* 802F3BCC 002F0B2C 48 00 3F ED */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F3BD0 002F0B30 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F3BD4 002F0B34 7F A3 EB 78 */ mr r3, r29 +/* 802F3BD8 002F0B38 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F3BDC 002F0B3C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F3BE0 002F0B40 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F3BE4 002F0B44 7C 08 03 A6 */ mtlr r0 +/* 802F3BE8 002F0B48 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F3BEC 002F0B4C 4E 80 00 20 */ blr + +.global IsCAnimTreeNode__13CAnimTreeNodeCFv +IsCAnimTreeNode__13CAnimTreeNodeCFv: +/* 802F3BF0 002F0B50 38 60 00 01 */ li r3, 1 +/* 802F3BF4 002F0B54 4E 80 00 20 */ blr + +.global "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +"Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>": +/* 802F3BF8 002F0B58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F3BFC 002F0B5C 7C 08 02 A6 */ mflr r0 +/* 802F3C00 002F0B60 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F3C04 002F0B64 38 00 00 00 */ li r0, 0 +/* 802F3C08 002F0B68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F3C0C 002F0B6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F3C10 002F0B70 7C 7E 1B 78 */ mr r30, r3 +/* 802F3C14 002F0B74 98 04 00 00 */ stb r0, 0(r4) +/* 802F3C18 002F0B78 83 E4 00 04 */ lwz r31, 4(r4) +/* 802F3C1C 002F0B7C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F3C20 002F0B80 7F E3 FB 78 */ mr r3, r31 +/* 802F3C24 002F0B84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802F3C28 002F0B88 7D 89 03 A6 */ mtctr r12 +/* 802F3C2C 002F0B8C 4E 80 04 21 */ bctrl +/* 802F3C30 002F0B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F3C34 002F0B94 41 82 00 34 */ beq lbl_802F3C68 +/* 802F3C38 002F0B98 3C 80 80 3D */ lis r4, lbl_803D6E00@ha +/* 802F3C3C 002F0B9C 38 60 00 08 */ li r3, 8 +/* 802F3C40 002F0BA0 38 84 6E 00 */ addi r4, r4, lbl_803D6E00@l +/* 802F3C44 002F0BA4 38 A0 00 00 */ li r5, 0 +/* 802F3C48 002F0BA8 48 02 1C 25 */ bl __nw__FUlPCcPCc +/* 802F3C4C 002F0BAC 28 03 00 00 */ cmplwi r3, 0 +/* 802F3C50 002F0BB0 41 82 00 10 */ beq lbl_802F3C60 +/* 802F3C54 002F0BB4 93 E3 00 00 */ stw r31, 0(r3) +/* 802F3C58 002F0BB8 38 00 00 01 */ li r0, 1 +/* 802F3C5C 002F0BBC 90 03 00 04 */ stw r0, 4(r3) +lbl_802F3C60: +/* 802F3C60 002F0BC0 90 7E 00 00 */ stw r3, 0(r30) +/* 802F3C64 002F0BC4 48 00 00 54 */ b lbl_802F3CB8 +lbl_802F3C68: +/* 802F3C68 002F0BC8 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 802F3C6C 002F0BCC 7C 7F 00 D0 */ neg r3, r31 +/* 802F3C70 002F0BD0 90 1E 00 00 */ stw r0, 0(r30) +/* 802F3C74 002F0BD4 7C 60 FB 78 */ or r0, r3, r31 +/* 802F3C78 002F0BD8 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 802F3C7C 002F0BDC 80 9E 00 00 */ lwz r4, 0(r30) +/* 802F3C80 002F0BE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F3C84 002F0BE4 80 64 00 04 */ lwz r3, 4(r4) +/* 802F3C88 002F0BE8 98 01 00 08 */ stb r0, 8(r1) +/* 802F3C8C 002F0BEC 38 03 00 01 */ addi r0, r3, 1 +/* 802F3C90 002F0BF0 90 04 00 04 */ stw r0, 4(r4) +/* 802F3C94 002F0BF4 41 82 00 24 */ beq lbl_802F3CB8 +/* 802F3C98 002F0BF8 28 1F 00 00 */ cmplwi r31, 0 +/* 802F3C9C 002F0BFC 41 82 00 1C */ beq lbl_802F3CB8 +/* 802F3CA0 002F0C00 7F E3 FB 78 */ mr r3, r31 +/* 802F3CA4 002F0C04 38 80 00 01 */ li r4, 1 +/* 802F3CA8 002F0C08 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F3CAC 002F0C0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F3CB0 002F0C10 7D 89 03 A6 */ mtctr r12 +/* 802F3CB4 002F0C14 4E 80 04 21 */ bctrl +lbl_802F3CB8: +/* 802F3CB8 002F0C18 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F3CBC 002F0C1C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F3CC0 002F0C20 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F3CC4 002F0C24 7C 08 03 A6 */ mtlr r0 +/* 802F3CC8 002F0C28 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F3CCC 002F0C2C 4E 80 00 20 */ blr + +.global "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802F3CD0 002F0C30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3CD4 002F0C34 7C 08 02 A6 */ mflr r0 +/* 802F3CD8 002F0C38 3C A0 80 3F */ lis r5, lbl_803ED508@ha +/* 802F3CDC 002F0C3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3CE0 002F0C40 38 05 D5 08 */ addi r0, r5, lbl_803ED508@l +/* 802F3CE4 002F0C44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F3CE8 002F0C48 7C 7F 1B 78 */ mr r31, r3 +/* 802F3CEC 002F0C4C 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802F3CF0 002F0C50 90 1F 00 00 */ stw r0, 0(r31) +/* 802F3CF4 002F0C54 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802F3CF8 002F0C58 38 7F 00 04 */ addi r3, r31, 4 +/* 802F3CFC 002F0C5C 90 1F 00 00 */ stw r0, 0(r31) +/* 802F3D00 002F0C60 48 04 A4 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F3D04 002F0C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3D08 002F0C68 7F E3 FB 78 */ mr r3, r31 +/* 802F3D0C 002F0C6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F3D10 002F0C70 7C 08 03 A6 */ mtlr r0 +/* 802F3D14 002F0C74 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3D18 002F0C78 4E 80 00 20 */ blr + +.global "VGetWeightedReaders__20CAnimTreeSingleChildFfRQ24rstl48reserved_vector>" +"VGetWeightedReaders__20CAnimTreeSingleChildFfRQ24rstl48reserved_vector>": +/* 802F3D1C 002F0C7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3D20 002F0C80 7C 08 02 A6 */ mflr r0 +/* 802F3D24 002F0C84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3D28 002F0C88 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3D2C 002F0C8C 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3D30 002F0C90 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3D34 002F0C94 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 802F3D38 002F0C98 7D 89 03 A6 */ mtctr r12 +/* 802F3D3C 002F0C9C 4E 80 04 21 */ bctrl +/* 802F3D40 002F0CA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3D44 002F0CA4 7C 08 03 A6 */ mtlr r0 +/* 802F3D48 002F0CA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3D4C 002F0CAC 4E 80 00 20 */ blr + +.global VGetAdvancementResults__20CAnimTreeSingleChildCFRC13CCharAnimTimeRC13CCharAnimTime +VGetAdvancementResults__20CAnimTreeSingleChildCFRC13CCharAnimTimeRC13CCharAnimTime: +/* 802F3D50 002F0CB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3D54 002F0CB4 7C 08 02 A6 */ mflr r0 +/* 802F3D58 002F0CB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3D5C 002F0CBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F3D60 002F0CC0 7C 7F 1B 78 */ mr r31, r3 +/* 802F3D64 002F0CC4 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F3D68 002F0CC8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F3D6C 002F0CCC 81 84 00 00 */ lwz r12, 0(r4) +/* 802F3D70 002F0CD0 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802F3D74 002F0CD4 7D 89 03 A6 */ mtctr r12 +/* 802F3D78 002F0CD8 4E 80 04 21 */ bctrl +/* 802F3D7C 002F0CDC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3D80 002F0CE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F3D84 002F0CE4 7C 08 03 A6 */ mtlr r0 +/* 802F3D88 002F0CE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3D8C 002F0CEC 4E 80 00 20 */ blr + +.global VSetPhase__20CAnimTreeSingleChildFf +VSetPhase__20CAnimTreeSingleChildFf: +/* 802F3D90 002F0CF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3D94 002F0CF4 7C 08 02 A6 */ mflr r0 +/* 802F3D98 002F0CF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3D9C 002F0CFC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3DA0 002F0D00 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3DA4 002F0D04 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3DA8 002F0D08 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802F3DAC 002F0D0C 7D 89 03 A6 */ mtctr r12 +/* 802F3DB0 002F0D10 4E 80 04 21 */ bctrl +/* 802F3DB4 002F0D14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3DB8 002F0D18 7C 08 03 A6 */ mtlr r0 +/* 802F3DBC 002F0D1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3DC0 002F0D20 4E 80 00 20 */ blr + +.global VGetNumChildren__20CAnimTreeSingleChildCFv +VGetNumChildren__20CAnimTreeSingleChildCFv: +/* 802F3DC4 002F0D24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3DC8 002F0D28 7C 08 02 A6 */ mflr r0 +/* 802F3DCC 002F0D2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3DD0 002F0D30 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3DD4 002F0D34 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3DD8 002F0D38 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3DDC 002F0D3C 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 802F3DE0 002F0D40 7D 89 03 A6 */ mtctr r12 +/* 802F3DE4 002F0D44 4E 80 04 21 */ bctrl +/* 802F3DE8 002F0D48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3DEC 002F0D4C 38 63 00 01 */ addi r3, r3, 1 +/* 802F3DF0 002F0D50 7C 08 03 A6 */ mtlr r0 +/* 802F3DF4 002F0D54 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3DF8 002F0D58 4E 80 00 20 */ blr + +.global VGetParticlePOIState__20CAnimTreeSingleChildCFPCc +VGetParticlePOIState__20CAnimTreeSingleChildCFPCc: +/* 802F3DFC 002F0D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3E00 002F0D60 7C 08 02 A6 */ mflr r0 +/* 802F3E04 002F0D64 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3E08 002F0D68 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3E0C 002F0D6C 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3E10 002F0D70 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3E14 002F0D74 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 802F3E18 002F0D78 7D 89 03 A6 */ mtctr r12 +/* 802F3E1C 002F0D7C 4E 80 04 21 */ bctrl +/* 802F3E20 002F0D80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3E24 002F0D84 7C 08 03 A6 */ mtlr r0 +/* 802F3E28 002F0D88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3E2C 002F0D8C 4E 80 00 20 */ blr + +.global VGetInt32POIState__20CAnimTreeSingleChildCFPCc +VGetInt32POIState__20CAnimTreeSingleChildCFPCc: +/* 802F3E30 002F0D90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3E34 002F0D94 7C 08 02 A6 */ mflr r0 +/* 802F3E38 002F0D98 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3E3C 002F0D9C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3E40 002F0DA0 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3E44 002F0DA4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3E48 002F0DA8 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802F3E4C 002F0DAC 7D 89 03 A6 */ mtctr r12 +/* 802F3E50 002F0DB0 4E 80 04 21 */ bctrl +/* 802F3E54 002F0DB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3E58 002F0DB8 7C 08 03 A6 */ mtlr r0 +/* 802F3E5C 002F0DBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3E60 002F0DC0 4E 80 00 20 */ blr + +.global VGetBoolPOIState__20CAnimTreeSingleChildCFPCc +VGetBoolPOIState__20CAnimTreeSingleChildCFPCc: +/* 802F3E64 002F0DC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3E68 002F0DC8 7C 08 02 A6 */ mflr r0 +/* 802F3E6C 002F0DCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3E70 002F0DD0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3E74 002F0DD4 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3E78 002F0DD8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3E7C 002F0DDC 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802F3E80 002F0DE0 7D 89 03 A6 */ mtctr r12 +/* 802F3E84 002F0DE4 4E 80 04 21 */ bctrl +/* 802F3E88 002F0DE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3E8C 002F0DEC 7C 08 03 A6 */ mtlr r0 +/* 802F3E90 002F0DF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3E94 002F0DF4 4E 80 00 20 */ blr + +.global VGetSoundPOIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802F3E98 002F0DF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3E9C 002F0DFC 7C 08 02 A6 */ mflr r0 +/* 802F3EA0 002F0E00 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3EA4 002F0E04 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3EA8 002F0E08 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3EAC 002F0E0C 48 00 9D D9 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 802F3EB0 002F0E10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3EB4 002F0E14 7C 08 03 A6 */ mtlr r0 +/* 802F3EB8 002F0E18 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3EBC 002F0E1C 4E 80 00 20 */ blr + +.global VGetParticlePOIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802F3EC0 002F0E20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3EC4 002F0E24 7C 08 02 A6 */ mflr r0 +/* 802F3EC8 002F0E28 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3ECC 002F0E2C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3ED0 002F0E30 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3ED4 002F0E34 48 00 9E 2D */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 802F3ED8 002F0E38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3EDC 002F0E3C 7C 08 03 A6 */ mtlr r0 +/* 802F3EE0 002F0E40 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3EE4 002F0E44 4E 80 00 20 */ blr + +.global VGetInt32POIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802F3EE8 002F0E48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3EEC 002F0E4C 7C 08 02 A6 */ mflr r0 +/* 802F3EF0 002F0E50 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3EF4 002F0E54 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3EF8 002F0E58 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3EFC 002F0E5C 48 00 9E 81 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 802F3F00 002F0E60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3F04 002F0E64 7C 08 03 A6 */ mtlr r0 +/* 802F3F08 002F0E68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3F0C 002F0E6C 4E 80 00 20 */ blr + +.global VGetBoolPOIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__20CAnimTreeSingleChildCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802F3F10 002F0E70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3F14 002F0E74 7C 08 02 A6 */ mflr r0 +/* 802F3F18 002F0E78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3F1C 002F0E7C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3F20 002F0E80 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3F24 002F0E84 48 00 9E D5 */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 802F3F28 002F0E88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3F2C 002F0E8C 7C 08 03 A6 */ mtlr r0 +/* 802F3F30 002F0E90 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3F34 002F0E94 4E 80 00 20 */ blr + +.global VGetSegStatementSet__20CAnimTreeSingleChildCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +VGetSegStatementSet__20CAnimTreeSingleChildCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime: +/* 802F3F38 002F0E98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3F3C 002F0E9C 7C 08 02 A6 */ mflr r0 +/* 802F3F40 002F0EA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3F44 002F0EA4 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3F48 002F0EA8 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3F4C 002F0EAC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3F50 002F0EB0 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802F3F54 002F0EB4 7D 89 03 A6 */ mtctr r12 +/* 802F3F58 002F0EB8 4E 80 04 21 */ bctrl +/* 802F3F5C 002F0EBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3F60 002F0EC0 7C 08 03 A6 */ mtlr r0 +/* 802F3F64 002F0EC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3F68 002F0EC8 4E 80 00 20 */ blr + +.global VGetSegStatementSet__20CAnimTreeSingleChildCFRC10CSegIdListR16CSegStatementSet +VGetSegStatementSet__20CAnimTreeSingleChildCFRC10CSegIdListR16CSegStatementSet: +/* 802F3F6C 002F0ECC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3F70 002F0ED0 7C 08 02 A6 */ mflr r0 +/* 802F3F74 002F0ED4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3F78 002F0ED8 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F3F7C 002F0EDC 80 63 00 00 */ lwz r3, 0(r3) +/* 802F3F80 002F0EE0 81 83 00 00 */ lwz r12, 0(r3) +/* 802F3F84 002F0EE4 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802F3F88 002F0EE8 7D 89 03 A6 */ mtctr r12 +/* 802F3F8C 002F0EEC 4E 80 04 21 */ bctrl +/* 802F3F90 002F0EF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3F94 002F0EF4 7C 08 03 A6 */ mtlr r0 +/* 802F3F98 002F0EF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3F9C 002F0EFC 4E 80 00 20 */ blr + +.global VGetRotation__20CAnimTreeSingleChildCFRC6CSegId +VGetRotation__20CAnimTreeSingleChildCFRC6CSegId: +/* 802F3FA0 002F0F00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3FA4 002F0F04 7C 08 02 A6 */ mflr r0 +/* 802F3FA8 002F0F08 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3FAC 002F0F0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F3FB0 002F0F10 7C 7F 1B 78 */ mr r31, r3 +/* 802F3FB4 002F0F14 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F3FB8 002F0F18 80 84 00 00 */ lwz r4, 0(r4) +/* 802F3FBC 002F0F1C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F3FC0 002F0F20 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802F3FC4 002F0F24 7D 89 03 A6 */ mtctr r12 +/* 802F3FC8 002F0F28 4E 80 04 21 */ bctrl +/* 802F3FCC 002F0F2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F3FD0 002F0F30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F3FD4 002F0F34 7C 08 03 A6 */ mtlr r0 +/* 802F3FD8 002F0F38 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F3FDC 002F0F3C 4E 80 00 20 */ blr + +.global VGetOffset__20CAnimTreeSingleChildCFRC6CSegId +VGetOffset__20CAnimTreeSingleChildCFRC6CSegId: +/* 802F3FE0 002F0F40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F3FE4 002F0F44 7C 08 02 A6 */ mflr r0 +/* 802F3FE8 002F0F48 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F3FEC 002F0F4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F3FF0 002F0F50 7C 7F 1B 78 */ mr r31, r3 +/* 802F3FF4 002F0F54 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F3FF8 002F0F58 80 84 00 00 */ lwz r4, 0(r4) +/* 802F3FFC 002F0F5C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F4000 002F0F60 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802F4004 002F0F64 7D 89 03 A6 */ mtctr r12 +/* 802F4008 002F0F68 4E 80 04 21 */ bctrl +/* 802F400C 002F0F6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F4010 002F0F70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F4014 002F0F74 7C 08 03 A6 */ mtlr r0 +/* 802F4018 002F0F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F401C 002F0F7C 4E 80 00 20 */ blr + +.global VHasOffset__20CAnimTreeSingleChildCFRC6CSegId +VHasOffset__20CAnimTreeSingleChildCFRC6CSegId: +/* 802F4020 002F0F80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F4024 002F0F84 7C 08 02 A6 */ mflr r0 +/* 802F4028 002F0F88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F402C 002F0F8C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F4030 002F0F90 80 63 00 00 */ lwz r3, 0(r3) +/* 802F4034 002F0F94 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4038 002F0F98 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F403C 002F0F9C 7D 89 03 A6 */ mtctr r12 +/* 802F4040 002F0FA0 4E 80 04 21 */ bctrl +/* 802F4044 002F0FA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F4048 002F0FA8 7C 08 03 A6 */ mtlr r0 +/* 802F404C 002F0FAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F4050 002F0FB0 4E 80 00 20 */ blr + +.global VGetTimeRemaining__20CAnimTreeSingleChildCFv +VGetTimeRemaining__20CAnimTreeSingleChildCFv: +/* 802F4054 002F0FB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F4058 002F0FB8 7C 08 02 A6 */ mflr r0 +/* 802F405C 002F0FBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F4060 002F0FC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F4064 002F0FC4 7C 7F 1B 78 */ mr r31, r3 +/* 802F4068 002F0FC8 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F406C 002F0FCC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4070 002F0FD0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F4074 002F0FD4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F4078 002F0FD8 7D 89 03 A6 */ mtctr r12 +/* 802F407C 002F0FDC 4E 80 04 21 */ bctrl +/* 802F4080 002F0FE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F4084 002F0FE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F4088 002F0FE8 7C 08 03 A6 */ mtlr r0 +/* 802F408C 002F0FEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F4090 002F0FF0 4E 80 00 20 */ blr + +.global VAdvanceView__20CAnimTreeSingleChildFRC13CCharAnimTime +VAdvanceView__20CAnimTreeSingleChildFRC13CCharAnimTime: +/* 802F4094 002F0FF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F4098 002F0FF8 7C 08 02 A6 */ mflr r0 +/* 802F409C 002F0FFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F40A0 002F1000 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F40A4 002F1004 7C 7F 1B 78 */ mr r31, r3 +/* 802F40A8 002F1008 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F40AC 002F100C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F40B0 002F1010 81 84 00 00 */ lwz r12, 0(r4) +/* 802F40B4 002F1014 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F40B8 002F1018 7D 89 03 A6 */ mtctr r12 +/* 802F40BC 002F101C 4E 80 04 21 */ bctrl +/* 802F40C0 002F1020 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F40C4 002F1024 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F40C8 002F1028 7C 08 03 A6 */ mtlr r0 +/* 802F40CC 002F102C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F40D0 002F1030 4E 80 00 20 */ blr + +.global "CreatePrimitiveName__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRC13CCharAnimTimef" +"CreatePrimitiveName__18CAnimTreeTimeScaleFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fRC13CCharAnimTimef": +/* 802F40D4 002F1034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F40D8 002F1038 7C 08 02 A6 */ mflr r0 +/* 802F40DC 002F103C 3C 80 80 3D */ lis r4, lbl_803D6E08@ha +/* 802F40E0 002F1040 38 A0 FF FF */ li r5, -1 +/* 802F40E4 002F1044 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F40E8 002F1048 38 C1 00 08 */ addi r6, r1, 8 +/* 802F40EC 002F104C 38 84 6E 08 */ addi r4, r4, lbl_803D6E08@l +/* 802F40F0 002F1050 48 04 A0 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 802F40F4 002F1054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F40F8 002F1058 7C 08 03 A6 */ mtlr r0 +/* 802F40FC 002F105C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F4100 002F1060 4E 80 00 20 */ blr + +.global GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime: +/* 802F4104 002F1064 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802F4108 002F1068 7C 08 02 A6 */ mflr r0 +/* 802F410C 002F106C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802F4110 002F1070 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802F4114 002F1074 7C BF 2B 78 */ mr r31, r5 +/* 802F4118 002F1078 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802F411C 002F107C 7C 9E 23 78 */ mr r30, r4 +/* 802F4120 002F1080 93 A1 00 84 */ stw r29, 0x84(r1) +/* 802F4124 002F1084 7C 7D 1B 78 */ mr r29, r3 +/* 802F4128 002F1088 38 61 00 58 */ addi r3, r1, 0x58 +/* 802F412C 002F108C 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F4130 002F1090 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4134 002F1094 81 84 00 00 */ lwz r12, 0(r4) +/* 802F4138 002F1098 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F413C 002F109C 7D 89 03 A6 */ mtctr r12 +/* 802F4140 002F10A0 4E 80 04 21 */ bctrl +/* 802F4144 002F10A4 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802F4148 002F10A8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802F414C 002F10AC D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802F4150 002F10B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802F4154 002F10B4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802F4158 002F10B8 40 80 00 0C */ bge lbl_802F4164 +/* 802F415C 002F10BC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F4160 002F10C0 48 00 00 08 */ b lbl_802F4168 +lbl_802F4164: +/* 802F4164 002F10C4 38 61 00 24 */ addi r3, r1, 0x24 +lbl_802F4168: +/* 802F4168 002F10C8 C0 23 00 00 */ lfs f1, 0(r3) +/* 802F416C 002F10CC 38 61 00 78 */ addi r3, r1, 0x78 +/* 802F4170 002F10D0 48 05 4C 7D */ bl __ct__13CCharAnimTimeFf +/* 802F4174 002F10D4 C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F4178 002F10D8 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802F417C 002F10DC 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F4180 002F10E0 38 81 00 50 */ addi r4, r1, 0x50 +/* 802F4184 002F10E4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802F4188 002F10E8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F418C 002F10EC 48 05 48 E1 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4190 002F10F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4194 002F10F4 41 82 01 54 */ beq lbl_802F42E8 +/* 802F4198 002F10F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 802F419C 002F10FC 38 9E 00 28 */ addi r4, r30, 0x28 +/* 802F41A0 002F1100 38 BE 00 20 */ addi r5, r30, 0x20 +/* 802F41A4 002F1104 48 05 45 C1 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F41A8 002F1108 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802F41AC 002F110C 38 61 00 78 */ addi r3, r1, 0x78 +/* 802F41B0 002F1110 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802F41B4 002F1114 38 81 00 70 */ addi r4, r1, 0x70 +/* 802F41B8 002F1118 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802F41BC 002F111C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802F41C0 002F1120 48 05 4A 7D */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F41C4 002F1124 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F41C8 002F1128 41 82 00 4C */ beq lbl_802F4214 +/* 802F41CC 002F112C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802F41D0 002F1130 38 9E 00 20 */ addi r4, r30, 0x20 +/* 802F41D4 002F1134 38 A1 00 78 */ addi r5, r1, 0x78 +/* 802F41D8 002F1138 48 05 43 CD */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F41DC 002F113C C0 21 00 40 */ lfs f1, 0x40(r1) +/* 802F41E0 002F1140 38 81 00 18 */ addi r4, r1, 0x18 +/* 802F41E4 002F1144 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802F41E8 002F1148 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802F41EC 002F114C 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F41F0 002F1150 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802F41F4 002F1154 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F41F8 002F1158 81 83 00 00 */ lwz r12, 0(r3) +/* 802F41FC 002F115C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802F4200 002F1160 7D 89 03 A6 */ mtctr r12 +/* 802F4204 002F1164 4E 80 04 21 */ bctrl +/* 802F4208 002F1168 7F A3 EB 78 */ mr r3, r29 +/* 802F420C 002F116C 48 05 4B E1 */ bl __ct__13CCharAnimTimeFf +/* 802F4210 002F1170 48 00 00 E8 */ b lbl_802F42F8 +lbl_802F4214: +/* 802F4214 002F1174 C0 3E 00 28 */ lfs f1, 0x28(r30) +/* 802F4218 002F1178 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F421C 002F117C C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802F4220 002F1180 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802F4224 002F1184 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F4228 002F1188 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802F422C 002F118C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802F4230 002F1190 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4234 002F1194 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802F4238 002F1198 7D 89 03 A6 */ mtctr r12 +/* 802F423C 002F119C 4E 80 04 21 */ bctrl +/* 802F4240 002F11A0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802F4244 002F11A4 48 05 4B A9 */ bl __ct__13CCharAnimTimeFf +/* 802F4248 002F11A8 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802F424C 002F11AC 38 61 00 68 */ addi r3, r1, 0x68 +/* 802F4250 002F11B0 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802F4254 002F11B4 38 81 00 78 */ addi r4, r1, 0x78 +/* 802F4258 002F11B8 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802F425C 002F11BC 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802F4260 002F11C0 48 05 48 0D */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4264 002F11C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4268 002F11C8 41 82 00 5C */ beq lbl_802F42C4 +/* 802F426C 002F11CC C0 21 00 78 */ lfs f1, 0x78(r1) +/* 802F4270 002F11D0 38 81 00 08 */ addi r4, r1, 8 +/* 802F4274 002F11D4 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802F4278 002F11D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 802F427C 002F11DC 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F4280 002F11E0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802F4284 002F11E4 D0 01 00 08 */ stfs f0, 8(r1) +/* 802F4288 002F11E8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F428C 002F11EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F4290 002F11F0 7D 89 03 A6 */ mtctr r12 +/* 802F4294 002F11F4 4E 80 04 21 */ bctrl +/* 802F4298 002F11F8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F429C 002F11FC 48 05 4B 51 */ bl __ct__13CCharAnimTimeFf +/* 802F42A0 002F1200 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802F42A4 002F1204 7F A3 EB 78 */ mr r3, r29 +/* 802F42A8 002F1208 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F42AC 002F120C 38 81 00 60 */ addi r4, r1, 0x60 +/* 802F42B0 002F1210 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802F42B4 002F1214 38 BE 00 20 */ addi r5, r30, 0x20 +/* 802F42B8 002F1218 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F42BC 002F121C 48 05 44 A9 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F42C0 002F1220 48 00 00 38 */ b lbl_802F42F8 +lbl_802F42C4: +/* 802F42C4 002F1224 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F42C8 002F1228 38 81 00 78 */ addi r4, r1, 0x78 +/* 802F42CC 002F122C 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802F42D0 002F1230 48 05 44 95 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F42D4 002F1234 7F A3 EB 78 */ mr r3, r29 +/* 802F42D8 002F1238 38 81 00 68 */ addi r4, r1, 0x68 +/* 802F42DC 002F123C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 802F42E0 002F1240 48 05 42 C5 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F42E4 002F1244 48 00 00 14 */ b lbl_802F42F8 +lbl_802F42E8: +/* 802F42E8 002F1248 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802F42EC 002F124C D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F42F0 002F1250 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802F42F4 002F1254 90 1D 00 04 */ stw r0, 4(r29) +lbl_802F42F8: +/* 802F42F8 002F1258 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802F42FC 002F125C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802F4300 002F1260 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802F4304 002F1264 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802F4308 002F1268 7C 08 03 A6 */ mtlr r0 +/* 802F430C 002F126C 38 21 00 90 */ addi r1, r1, 0x90 +/* 802F4310 002F1270 4E 80 00 20 */ blr + +.global VSetPhase__18CAnimTreeTimeScaleFf +VSetPhase__18CAnimTreeTimeScaleFf: +/* 802F4314 002F1274 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F4318 002F1278 7C 08 02 A6 */ mflr r0 +/* 802F431C 002F127C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F4320 002F1280 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F4324 002F1284 80 63 00 00 */ lwz r3, 0(r3) +/* 802F4328 002F1288 81 83 00 00 */ lwz r12, 0(r3) +/* 802F432C 002F128C 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802F4330 002F1290 7D 89 03 A6 */ mtctr r12 +/* 802F4334 002F1294 4E 80 04 21 */ bctrl +/* 802F4338 002F1298 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F433C 002F129C 7C 08 03 A6 */ mtlr r0 +/* 802F4340 002F12A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F4344 002F12A4 4E 80 00 20 */ blr + +.global VSimplified__18CAnimTreeTimeScaleFv +VSimplified__18CAnimTreeTimeScaleFv: +/* 802F4348 002F12A8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802F434C 002F12AC 7C 08 02 A6 */ mflr r0 +/* 802F4350 002F12B0 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F4354 002F12B4 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 802F4358 002F12B8 7C 9E 23 78 */ mr r30, r4 +/* 802F435C 002F12BC 7C 7D 1B 78 */ mr r29, r3 +/* 802F4360 002F12C0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802F4364 002F12C4 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F4368 002F12C8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F436C 002F12CC 4B D3 5B F9 */ bl Simplified__11IAnimReaderFv +/* 802F4370 002F12D0 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 802F4374 002F12D4 28 00 00 00 */ cmplwi r0, 0 +/* 802F4378 002F12D8 98 01 00 38 */ stb r0, 0x38(r1) +/* 802F437C 002F12DC 41 82 00 24 */ beq lbl_802F43A0 +/* 802F4380 002F12E0 34 81 00 30 */ addic. r4, r1, 0x30 +/* 802F4384 002F12E4 41 82 00 1C */ beq lbl_802F43A0 +/* 802F4388 002F12E8 88 61 00 24 */ lbz r3, 0x24(r1) +/* 802F438C 002F12EC 38 00 00 00 */ li r0, 0 +/* 802F4390 002F12F0 98 64 00 00 */ stb r3, 0(r4) +/* 802F4394 002F12F4 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802F4398 002F12F8 90 64 00 04 */ stw r3, 4(r4) +/* 802F439C 002F12FC 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802F43A0: +/* 802F43A0 002F1300 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 802F43A4 002F1304 28 00 00 00 */ cmplwi r0, 0 +/* 802F43A8 002F1308 41 82 00 38 */ beq lbl_802F43E0 +/* 802F43AC 002F130C 34 61 00 24 */ addic. r3, r1, 0x24 +/* 802F43B0 002F1310 41 82 00 30 */ beq lbl_802F43E0 +/* 802F43B4 002F1314 88 03 00 00 */ lbz r0, 0(r3) +/* 802F43B8 002F1318 28 00 00 00 */ cmplwi r0, 0 +/* 802F43BC 002F131C 41 82 00 24 */ beq lbl_802F43E0 +/* 802F43C0 002F1320 80 63 00 04 */ lwz r3, 4(r3) +/* 802F43C4 002F1324 28 03 00 00 */ cmplwi r3, 0 +/* 802F43C8 002F1328 41 82 00 18 */ beq lbl_802F43E0 +/* 802F43CC 002F132C 81 83 00 00 */ lwz r12, 0(r3) +/* 802F43D0 002F1330 38 80 00 01 */ li r4, 1 +/* 802F43D4 002F1334 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F43D8 002F1338 7D 89 03 A6 */ mtctr r12 +/* 802F43DC 002F133C 4E 80 04 21 */ bctrl +lbl_802F43E0: +/* 802F43E0 002F1340 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802F43E4 002F1344 38 60 00 00 */ li r3, 0 +/* 802F43E8 002F1348 98 61 00 2C */ stb r3, 0x2c(r1) +/* 802F43EC 002F134C 28 00 00 00 */ cmplwi r0, 0 +/* 802F43F0 002F1350 41 82 01 A0 */ beq lbl_802F4590 +/* 802F43F4 002F1354 3C 60 80 3D */ lis r3, lbl_803D6E08@ha +/* 802F43F8 002F1358 3B 80 00 00 */ li r28, 0 +/* 802F43FC 002F135C 38 63 6E 08 */ addi r3, r3, lbl_803D6E08@l +/* 802F4400 002F1360 3B 60 00 00 */ li r27, 0 +/* 802F4404 002F1364 38 83 00 01 */ addi r4, r3, 1 +/* 802F4408 002F1368 38 60 00 38 */ li r3, 0x38 +/* 802F440C 002F136C 38 A0 00 00 */ li r5, 0 +/* 802F4410 002F1370 48 02 14 5D */ bl __nw__FUlPCcPCc +/* 802F4414 002F1374 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802F4418 002F1378 41 82 00 A0 */ beq lbl_802F44B8 +/* 802F441C 002F137C 38 61 00 08 */ addi r3, r1, 8 +/* 802F4420 002F1380 38 81 00 30 */ addi r4, r1, 0x30 +/* 802F4424 002F1384 4B FF F7 D5 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F4428 002F1388 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F442C 002F138C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F4430 002F1390 3B 60 00 01 */ li r27, 1 +/* 802F4434 002F1394 48 00 02 85 */ bl Clone__26IVaryingAnimationTimeScaleCFv +/* 802F4438 002F1398 7F E3 FB 78 */ mr r3, r31 +/* 802F443C 002F139C 38 9E 00 04 */ addi r4, r30, 4 +/* 802F4440 002F13A0 3B 80 00 01 */ li r28, 1 +/* 802F4444 002F13A4 4B FF F8 8D */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F4448 002F13A8 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802F444C 002F13AC 3C 60 80 3F */ lis r3, lbl_803ED2B0@ha +/* 802F4450 002F13B0 38 84 D2 40 */ addi r4, r4, lbl_803ED240@l +/* 802F4454 002F13B4 38 00 00 00 */ li r0, 0 +/* 802F4458 002F13B8 90 9F 00 00 */ stw r4, 0(r31) +/* 802F445C 002F13BC 38 63 D2 B0 */ addi r3, r3, lbl_803ED2B0@l +/* 802F4460 002F13C0 80 81 00 08 */ lwz r4, 8(r1) +/* 802F4464 002F13C4 90 9F 00 14 */ stw r4, 0x14(r31) +/* 802F4468 002F13C8 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802F446C 002F13CC 80 85 00 04 */ lwz r4, 4(r5) +/* 802F4470 002F13D0 38 84 00 01 */ addi r4, r4, 1 +/* 802F4474 002F13D4 90 85 00 04 */ stw r4, 4(r5) +/* 802F4478 002F13D8 90 7F 00 00 */ stw r3, 0(r31) +/* 802F447C 002F13DC 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802F4480 002F13E0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802F4484 002F13E4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802F4488 002F13E8 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802F448C 002F13EC D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 802F4490 002F13F0 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802F4494 002F13F4 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802F4498 002F13F8 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 802F449C 002F13FC D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 802F44A0 002F1400 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802F44A4 002F1404 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802F44A8 002F1408 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 802F44AC 002F140C D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 802F44B0 002F1410 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802F44B4 002F1414 90 1F 00 34 */ stw r0, 0x34(r31) +lbl_802F44B8: +/* 802F44B8 002F1418 7C 7F 00 D0 */ neg r3, r31 +/* 802F44BC 002F141C 38 00 00 01 */ li r0, 1 +/* 802F44C0 002F1420 7C 63 FB 78 */ or r3, r3, r31 +/* 802F44C4 002F1424 28 1D 00 00 */ cmplwi r29, 0 +/* 802F44C8 002F1428 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802F44CC 002F142C 93 E1 00 18 */ stw r31, 0x18(r1) +/* 802F44D0 002F1430 98 61 00 14 */ stb r3, 0x14(r1) +/* 802F44D4 002F1434 98 1D 00 08 */ stb r0, 8(r29) +/* 802F44D8 002F1438 41 82 00 14 */ beq lbl_802F44EC +/* 802F44DC 002F143C 98 7D 00 00 */ stb r3, 0(r29) +/* 802F44E0 002F1440 38 00 00 00 */ li r0, 0 +/* 802F44E4 002F1444 93 FD 00 04 */ stw r31, 4(r29) +/* 802F44E8 002F1448 98 01 00 14 */ stb r0, 0x14(r1) +lbl_802F44EC: +/* 802F44EC 002F144C 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802F44F0 002F1450 28 00 00 00 */ cmplwi r0, 0 +/* 802F44F4 002F1454 41 82 00 24 */ beq lbl_802F4518 +/* 802F44F8 002F1458 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802F44FC 002F145C 28 03 00 00 */ cmplwi r3, 0 +/* 802F4500 002F1460 41 82 00 18 */ beq lbl_802F4518 +/* 802F4504 002F1464 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4508 002F1468 38 80 00 01 */ li r4, 1 +/* 802F450C 002F146C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F4510 002F1470 7D 89 03 A6 */ mtctr r12 +/* 802F4514 002F1474 4E 80 04 21 */ bctrl +lbl_802F4518: +/* 802F4518 002F1478 7F 60 07 75 */ extsb. r0, r27 +/* 802F451C 002F147C 41 82 00 0C */ beq lbl_802F4528 +/* 802F4520 002F1480 38 61 00 08 */ addi r3, r1, 8 +/* 802F4524 002F1484 4B D3 CA 7D */ bl sub_80030fa0 +lbl_802F4528: +/* 802F4528 002F1488 7F 80 07 75 */ extsb. r0, r28 +/* 802F452C 002F148C 41 82 00 18 */ beq lbl_802F4544 +/* 802F4530 002F1490 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 802F4534 002F1494 28 00 00 00 */ cmplwi r0, 0 +/* 802F4538 002F1498 41 82 00 0C */ beq lbl_802F4544 +/* 802F453C 002F149C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802F4540 002F14A0 48 02 13 F1 */ bl Free__7CMemoryFPCv +lbl_802F4544: +/* 802F4544 002F14A4 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802F4548 002F14A8 28 00 00 00 */ cmplwi r0, 0 +/* 802F454C 002F14AC 41 82 00 38 */ beq lbl_802F4584 +/* 802F4550 002F14B0 34 61 00 30 */ addic. r3, r1, 0x30 +/* 802F4554 002F14B4 41 82 00 30 */ beq lbl_802F4584 +/* 802F4558 002F14B8 88 03 00 00 */ lbz r0, 0(r3) +/* 802F455C 002F14BC 28 00 00 00 */ cmplwi r0, 0 +/* 802F4560 002F14C0 41 82 00 24 */ beq lbl_802F4584 +/* 802F4564 002F14C4 80 63 00 04 */ lwz r3, 4(r3) +/* 802F4568 002F14C8 28 03 00 00 */ cmplwi r3, 0 +/* 802F456C 002F14CC 41 82 00 18 */ beq lbl_802F4584 +/* 802F4570 002F14D0 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4574 002F14D4 38 80 00 01 */ li r4, 1 +/* 802F4578 002F14D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F457C 002F14DC 7D 89 03 A6 */ mtctr r12 +/* 802F4580 002F14E0 4E 80 04 21 */ bctrl +lbl_802F4584: +/* 802F4584 002F14E4 38 00 00 00 */ li r0, 0 +/* 802F4588 002F14E8 98 01 00 38 */ stb r0, 0x38(r1) +/* 802F458C 002F14EC 48 00 01 18 */ b lbl_802F46A4 +lbl_802F4590: +/* 802F4590 002F14F0 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802F4594 002F14F4 38 9E 00 28 */ addi r4, r30, 0x28 +/* 802F4598 002F14F8 48 05 45 69 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F459C 002F14FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F45A0 002F1500 41 82 00 B4 */ beq lbl_802F4654 +/* 802F45A4 002F1504 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F45A8 002F1508 38 61 00 0C */ addi r3, r1, 0xc +/* 802F45AC 002F150C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F45B0 002F1510 4B F8 E5 31 */ bl Clone__11IAnimReaderCFv +/* 802F45B4 002F1514 38 00 00 01 */ li r0, 1 +/* 802F45B8 002F1518 28 1D 00 00 */ cmplwi r29, 0 +/* 802F45BC 002F151C 98 1D 00 08 */ stb r0, 8(r29) +/* 802F45C0 002F1520 41 82 00 1C */ beq lbl_802F45DC +/* 802F45C4 002F1524 88 61 00 0C */ lbz r3, 0xc(r1) +/* 802F45C8 002F1528 38 00 00 00 */ li r0, 0 +/* 802F45CC 002F152C 98 7D 00 00 */ stb r3, 0(r29) +/* 802F45D0 002F1530 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F45D4 002F1534 90 7D 00 04 */ stw r3, 4(r29) +/* 802F45D8 002F1538 98 01 00 0C */ stb r0, 0xc(r1) +lbl_802F45DC: +/* 802F45DC 002F153C 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802F45E0 002F1540 28 00 00 00 */ cmplwi r0, 0 +/* 802F45E4 002F1544 41 82 00 24 */ beq lbl_802F4608 +/* 802F45E8 002F1548 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F45EC 002F154C 28 03 00 00 */ cmplwi r3, 0 +/* 802F45F0 002F1550 41 82 00 18 */ beq lbl_802F4608 +/* 802F45F4 002F1554 81 83 00 00 */ lwz r12, 0(r3) +/* 802F45F8 002F1558 38 80 00 01 */ li r4, 1 +/* 802F45FC 002F155C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F4600 002F1560 7D 89 03 A6 */ mtctr r12 +/* 802F4604 002F1564 4E 80 04 21 */ bctrl +lbl_802F4608: +/* 802F4608 002F1568 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802F460C 002F156C 28 00 00 00 */ cmplwi r0, 0 +/* 802F4610 002F1570 41 82 00 38 */ beq lbl_802F4648 +/* 802F4614 002F1574 34 61 00 30 */ addic. r3, r1, 0x30 +/* 802F4618 002F1578 41 82 00 30 */ beq lbl_802F4648 +/* 802F461C 002F157C 88 03 00 00 */ lbz r0, 0(r3) +/* 802F4620 002F1580 28 00 00 00 */ cmplwi r0, 0 +/* 802F4624 002F1584 41 82 00 24 */ beq lbl_802F4648 +/* 802F4628 002F1588 80 63 00 04 */ lwz r3, 4(r3) +/* 802F462C 002F158C 28 03 00 00 */ cmplwi r3, 0 +/* 802F4630 002F1590 41 82 00 18 */ beq lbl_802F4648 +/* 802F4634 002F1594 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4638 002F1598 38 80 00 01 */ li r4, 1 +/* 802F463C 002F159C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F4640 002F15A0 7D 89 03 A6 */ mtctr r12 +/* 802F4644 002F15A4 4E 80 04 21 */ bctrl +lbl_802F4648: +/* 802F4648 002F15A8 38 00 00 00 */ li r0, 0 +/* 802F464C 002F15AC 98 01 00 38 */ stb r0, 0x38(r1) +/* 802F4650 002F15B0 48 00 00 54 */ b lbl_802F46A4 +lbl_802F4654: +/* 802F4654 002F15B4 38 00 00 00 */ li r0, 0 +/* 802F4658 002F15B8 98 1D 00 08 */ stb r0, 8(r29) +/* 802F465C 002F15BC 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802F4660 002F15C0 28 00 00 00 */ cmplwi r0, 0 +/* 802F4664 002F15C4 41 82 00 38 */ beq lbl_802F469C +/* 802F4668 002F15C8 34 61 00 30 */ addic. r3, r1, 0x30 +/* 802F466C 002F15CC 41 82 00 30 */ beq lbl_802F469C +/* 802F4670 002F15D0 88 03 00 00 */ lbz r0, 0(r3) +/* 802F4674 002F15D4 28 00 00 00 */ cmplwi r0, 0 +/* 802F4678 002F15D8 41 82 00 24 */ beq lbl_802F469C +/* 802F467C 002F15DC 80 63 00 04 */ lwz r3, 4(r3) +/* 802F4680 002F15E0 28 03 00 00 */ cmplwi r3, 0 +/* 802F4684 002F15E4 41 82 00 18 */ beq lbl_802F469C +/* 802F4688 002F15E8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F468C 002F15EC 38 80 00 01 */ li r4, 1 +/* 802F4690 002F15F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F4694 002F15F4 7D 89 03 A6 */ mtctr r12 +/* 802F4698 002F15F8 4E 80 04 21 */ bctrl +lbl_802F469C: +/* 802F469C 002F15FC 38 00 00 00 */ li r0, 0 +/* 802F46A0 002F1600 98 01 00 38 */ stb r0, 0x38(r1) +lbl_802F46A4: +/* 802F46A4 002F1604 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 802F46A8 002F1608 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F46AC 002F160C 7C 08 03 A6 */ mtlr r0 +/* 802F46B0 002F1610 38 21 00 60 */ addi r1, r1, 0x60 +/* 802F46B4 002F1614 4E 80 00 20 */ blr + +.global Clone__26IVaryingAnimationTimeScaleCFv +Clone__26IVaryingAnimationTimeScaleCFv: +/* 802F46B8 002F1618 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F46BC 002F161C 7C 08 02 A6 */ mflr r0 +/* 802F46C0 002F1620 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F46C4 002F1624 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F46C8 002F1628 7C 7F 1B 78 */ mr r31, r3 +/* 802F46CC 002F162C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F46D0 002F1630 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F46D4 002F1634 7D 89 03 A6 */ mtctr r12 +/* 802F46D8 002F1638 4E 80 04 21 */ bctrl +/* 802F46DC 002F163C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F46E0 002F1640 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F46E4 002F1644 7C 08 03 A6 */ mtlr r0 +/* 802F46E8 002F1648 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F46EC 002F164C 4E 80 00 20 */ blr + +.global VGetParticlePOIState__18CAnimTreeTimeScaleCFPCc +VGetParticlePOIState__18CAnimTreeTimeScaleCFPCc: +/* 802F46F0 002F1650 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F46F4 002F1654 7C 08 02 A6 */ mflr r0 +/* 802F46F8 002F1658 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F46FC 002F165C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F4700 002F1660 80 63 00 00 */ lwz r3, 0(r3) +/* 802F4704 002F1664 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4708 002F1668 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 802F470C 002F166C 7D 89 03 A6 */ mtctr r12 +/* 802F4710 002F1670 4E 80 04 21 */ bctrl +/* 802F4714 002F1674 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F4718 002F1678 7C 08 03 A6 */ mtlr r0 +/* 802F471C 002F167C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F4720 002F1680 4E 80 00 20 */ blr + +.global VGetInt32POIState__18CAnimTreeTimeScaleCFPCc +VGetInt32POIState__18CAnimTreeTimeScaleCFPCc: +/* 802F4724 002F1684 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F4728 002F1688 7C 08 02 A6 */ mflr r0 +/* 802F472C 002F168C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F4730 002F1690 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F4734 002F1694 80 63 00 00 */ lwz r3, 0(r3) +/* 802F4738 002F1698 81 83 00 00 */ lwz r12, 0(r3) +/* 802F473C 002F169C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802F4740 002F16A0 7D 89 03 A6 */ mtctr r12 +/* 802F4744 002F16A4 4E 80 04 21 */ bctrl +/* 802F4748 002F16A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F474C 002F16AC 7C 08 03 A6 */ mtlr r0 +/* 802F4750 002F16B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F4754 002F16B4 4E 80 00 20 */ blr + +.global VGetBoolPOIState__18CAnimTreeTimeScaleCFPCc +VGetBoolPOIState__18CAnimTreeTimeScaleCFPCc: +/* 802F4758 002F16B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F475C 002F16BC 7C 08 02 A6 */ mflr r0 +/* 802F4760 002F16C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F4764 002F16C4 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F4768 002F16C8 80 63 00 00 */ lwz r3, 0(r3) +/* 802F476C 002F16CC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4770 002F16D0 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802F4774 002F16D4 7D 89 03 A6 */ mtctr r12 +/* 802F4778 002F16D8 4E 80 04 21 */ bctrl +/* 802F477C 002F16DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F4780 002F16E0 7C 08 03 A6 */ mtlr r0 +/* 802F4784 002F16E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F4788 002F16E8 4E 80 00 20 */ blr + +.global VGetSoundPOIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802F478C 002F16EC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802F4790 002F16F0 7C 08 02 A6 */ mflr r0 +/* 802F4794 002F16F4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F4798 002F16F8 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 802F479C 002F16FC 7C 9C 23 78 */ mr r28, r4 +/* 802F47A0 002F1700 7C 7D 1B 78 */ mr r29, r3 +/* 802F47A4 002F1704 7C BE 2B 78 */ mr r30, r5 +/* 802F47A8 002F1708 7C DB 33 78 */ mr r27, r6 +/* 802F47AC 002F170C 7C FF 3B 78 */ mr r31, r7 +/* 802F47B0 002F1710 7D 1A 43 78 */ mr r26, r8 +/* 802F47B4 002F1714 7F 83 E3 78 */ mr r3, r28 +/* 802F47B8 002F1718 38 81 00 28 */ addi r4, r1, 0x28 +/* 802F47BC 002F171C C0 0D 9C 04 */ lfs f0, lbl_805A87C4@sda21(r13) +/* 802F47C0 002F1720 80 0D 9C 00 */ lwz r0, lbl_805A87C0@sda21(r13) +/* 802F47C4 002F1724 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F47C8 002F1728 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F47CC 002F172C 48 05 43 35 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F47D0 002F1730 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F47D4 002F1734 41 82 00 28 */ beq lbl_802F47FC +/* 802F47D8 002F1738 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802F47DC 002F173C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F47E0 002F1740 80 84 00 00 */ lwz r4, 0(r4) +/* 802F47E4 002F1744 81 84 00 00 */ lwz r12, 0(r4) +/* 802F47E8 002F1748 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F47EC 002F174C 7D 89 03 A6 */ mtctr r12 +/* 802F47F0 002F1750 4E 80 04 21 */ bctrl +/* 802F47F4 002F1754 39 21 00 20 */ addi r9, r1, 0x20 +/* 802F47F8 002F1758 48 00 00 18 */ b lbl_802F4810 +lbl_802F47FC: +/* 802F47FC 002F175C 7F A4 EB 78 */ mr r4, r29 +/* 802F4800 002F1760 7F 85 E3 78 */ mr r5, r28 +/* 802F4804 002F1764 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F4808 002F1768 4B FF F8 FD */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F480C 002F176C 39 21 00 18 */ addi r9, r1, 0x18 +lbl_802F4810: +/* 802F4810 002F1770 C0 09 00 00 */ lfs f0, 0(r9) +/* 802F4814 002F1774 7F C5 F3 78 */ mr r5, r30 +/* 802F4818 002F1778 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 802F481C 002F177C 7F 66 DB 78 */ mr r6, r27 +/* 802F4820 002F1780 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802F4824 002F1784 7F E7 FB 78 */ mr r7, r31 +/* 802F4828 002F1788 7F 48 D3 78 */ mr r8, r26 +/* 802F482C 002F178C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802F4830 002F1790 80 09 00 04 */ lwz r0, 4(r9) +/* 802F4834 002F1794 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802F4838 002F1798 80 63 00 00 */ lwz r3, 0(r3) +/* 802F483C 002F179C 48 00 94 49 */ bl GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +/* 802F4840 002F17A0 C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F4844 002F17A4 7C 7B 1B 78 */ mr r27, r3 +/* 802F4848 002F17A8 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F484C 002F17AC 38 7D 00 28 */ addi r3, r29, 0x28 +/* 802F4850 002F17B0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802F4854 002F17B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F4858 002F17B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F485C 002F17BC 48 05 42 11 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4860 002F17C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4864 002F17C4 41 82 00 50 */ beq lbl_802F48B4 +/* 802F4868 002F17C8 7F DC F3 78 */ mr r28, r30 +/* 802F486C 002F17CC 3B 40 00 00 */ li r26, 0 +/* 802F4870 002F17D0 48 00 00 3C */ b lbl_802F48AC +lbl_802F4874: +/* 802F4874 002F17D4 7F A4 EB 78 */ mr r4, r29 +/* 802F4878 002F17D8 38 61 00 08 */ addi r3, r1, 8 +/* 802F487C 002F17DC 38 BC 00 1C */ addi r5, r28, 0x1c +/* 802F4880 002F17E0 4B FF F8 85 */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F4884 002F17E4 7C 1A FA 14 */ add r0, r26, r31 +/* 802F4888 002F17E8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F488C 002F17EC 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802F4890 002F17F0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F4894 002F17F4 90 61 00 34 */ stw r3, 0x34(r1) +/* 802F4898 002F17F8 3B 9C 00 44 */ addi r28, r28, 0x44 +/* 802F489C 002F17FC 3B 5A 00 01 */ addi r26, r26, 1 +/* 802F48A0 002F1800 7C 9E 02 14 */ add r4, r30, r0 +/* 802F48A4 002F1804 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 802F48A8 002F1808 90 64 00 20 */ stw r3, 0x20(r4) +lbl_802F48AC: +/* 802F48AC 002F180C 7C 1A D8 40 */ cmplw r26, r27 +/* 802F48B0 002F1810 41 80 FF C4 */ blt lbl_802F4874 +lbl_802F48B4: +/* 802F48B4 002F1814 7F 63 DB 78 */ mr r3, r27 +/* 802F48B8 002F1818 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 802F48BC 002F181C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F48C0 002F1820 7C 08 03 A6 */ mtlr r0 +/* 802F48C4 002F1824 38 21 00 60 */ addi r1, r1, 0x60 +/* 802F48C8 002F1828 4E 80 00 20 */ blr + +.global VGetParticlePOIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802F48CC 002F182C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802F48D0 002F1830 7C 08 02 A6 */ mflr r0 +/* 802F48D4 002F1834 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F48D8 002F1838 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 802F48DC 002F183C 7C 9C 23 78 */ mr r28, r4 +/* 802F48E0 002F1840 7C 7D 1B 78 */ mr r29, r3 +/* 802F48E4 002F1844 7C BE 2B 78 */ mr r30, r5 +/* 802F48E8 002F1848 7C DB 33 78 */ mr r27, r6 +/* 802F48EC 002F184C 7C FF 3B 78 */ mr r31, r7 +/* 802F48F0 002F1850 7D 1A 43 78 */ mr r26, r8 +/* 802F48F4 002F1854 7F 83 E3 78 */ mr r3, r28 +/* 802F48F8 002F1858 38 81 00 28 */ addi r4, r1, 0x28 +/* 802F48FC 002F185C C0 0D 9C 04 */ lfs f0, lbl_805A87C4@sda21(r13) +/* 802F4900 002F1860 80 0D 9C 00 */ lwz r0, lbl_805A87C0@sda21(r13) +/* 802F4904 002F1864 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F4908 002F1868 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F490C 002F186C 48 05 41 F5 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4910 002F1870 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4914 002F1874 41 82 00 28 */ beq lbl_802F493C +/* 802F4918 002F1878 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802F491C 002F187C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F4920 002F1880 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4924 002F1884 81 84 00 00 */ lwz r12, 0(r4) +/* 802F4928 002F1888 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F492C 002F188C 7D 89 03 A6 */ mtctr r12 +/* 802F4930 002F1890 4E 80 04 21 */ bctrl +/* 802F4934 002F1894 39 21 00 20 */ addi r9, r1, 0x20 +/* 802F4938 002F1898 48 00 00 18 */ b lbl_802F4950 +lbl_802F493C: +/* 802F493C 002F189C 7F A4 EB 78 */ mr r4, r29 +/* 802F4940 002F18A0 7F 85 E3 78 */ mr r5, r28 +/* 802F4944 002F18A4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F4948 002F18A8 4B FF F7 BD */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F494C 002F18AC 39 21 00 18 */ addi r9, r1, 0x18 +lbl_802F4950: +/* 802F4950 002F18B0 C0 09 00 00 */ lfs f0, 0(r9) +/* 802F4954 002F18B4 7F C5 F3 78 */ mr r5, r30 +/* 802F4958 002F18B8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 802F495C 002F18BC 7F 66 DB 78 */ mr r6, r27 +/* 802F4960 002F18C0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802F4964 002F18C4 7F E7 FB 78 */ mr r7, r31 +/* 802F4968 002F18C8 7F 48 D3 78 */ mr r8, r26 +/* 802F496C 002F18CC 38 81 00 38 */ addi r4, r1, 0x38 +/* 802F4970 002F18D0 80 09 00 04 */ lwz r0, 4(r9) +/* 802F4974 002F18D4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802F4978 002F18D8 80 63 00 00 */ lwz r3, 0(r3) +/* 802F497C 002F18DC 48 00 93 85 */ bl GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +/* 802F4980 002F18E0 C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F4984 002F18E4 7C 7B 1B 78 */ mr r27, r3 +/* 802F4988 002F18E8 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F498C 002F18EC 38 7D 00 28 */ addi r3, r29, 0x28 +/* 802F4990 002F18F0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802F4994 002F18F4 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F4998 002F18F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F499C 002F18FC 48 05 40 D1 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F49A0 002F1900 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F49A4 002F1904 41 82 00 50 */ beq lbl_802F49F4 +/* 802F49A8 002F1908 7F DC F3 78 */ mr r28, r30 +/* 802F49AC 002F190C 3B 40 00 00 */ li r26, 0 +/* 802F49B0 002F1910 48 00 00 3C */ b lbl_802F49EC +lbl_802F49B4: +/* 802F49B4 002F1914 7F A4 EB 78 */ mr r4, r29 +/* 802F49B8 002F1918 38 61 00 08 */ addi r3, r1, 8 +/* 802F49BC 002F191C 38 BC 00 1C */ addi r5, r28, 0x1c +/* 802F49C0 002F1920 4B FF F7 45 */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F49C4 002F1924 7C 1A FA 14 */ add r0, r26, r31 +/* 802F49C8 002F1928 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F49CC 002F192C 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802F49D0 002F1930 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F49D4 002F1934 90 61 00 34 */ stw r3, 0x34(r1) +/* 802F49D8 002F1938 3B 9C 00 5C */ addi r28, r28, 0x5c +/* 802F49DC 002F193C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802F49E0 002F1940 7C 9E 02 14 */ add r4, r30, r0 +/* 802F49E4 002F1944 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 802F49E8 002F1948 90 64 00 20 */ stw r3, 0x20(r4) +lbl_802F49EC: +/* 802F49EC 002F194C 7C 1A D8 40 */ cmplw r26, r27 +/* 802F49F0 002F1950 41 80 FF C4 */ blt lbl_802F49B4 +lbl_802F49F4: +/* 802F49F4 002F1954 7F 63 DB 78 */ mr r3, r27 +/* 802F49F8 002F1958 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 802F49FC 002F195C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F4A00 002F1960 7C 08 03 A6 */ mtlr r0 +/* 802F4A04 002F1964 38 21 00 60 */ addi r1, r1, 0x60 +/* 802F4A08 002F1968 4E 80 00 20 */ blr + +.global VGetInt32POIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802F4A0C 002F196C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802F4A10 002F1970 7C 08 02 A6 */ mflr r0 +/* 802F4A14 002F1974 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F4A18 002F1978 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 802F4A1C 002F197C 7C 9C 23 78 */ mr r28, r4 +/* 802F4A20 002F1980 7C 7D 1B 78 */ mr r29, r3 +/* 802F4A24 002F1984 7C BE 2B 78 */ mr r30, r5 +/* 802F4A28 002F1988 7C DB 33 78 */ mr r27, r6 +/* 802F4A2C 002F198C 7C FF 3B 78 */ mr r31, r7 +/* 802F4A30 002F1990 7D 1A 43 78 */ mr r26, r8 +/* 802F4A34 002F1994 7F 83 E3 78 */ mr r3, r28 +/* 802F4A38 002F1998 38 81 00 28 */ addi r4, r1, 0x28 +/* 802F4A3C 002F199C C0 0D 9C 04 */ lfs f0, lbl_805A87C4@sda21(r13) +/* 802F4A40 002F19A0 80 0D 9C 00 */ lwz r0, lbl_805A87C0@sda21(r13) +/* 802F4A44 002F19A4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F4A48 002F19A8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F4A4C 002F19AC 48 05 40 B5 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4A50 002F19B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4A54 002F19B4 41 82 00 28 */ beq lbl_802F4A7C +/* 802F4A58 002F19B8 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802F4A5C 002F19BC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F4A60 002F19C0 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4A64 002F19C4 81 84 00 00 */ lwz r12, 0(r4) +/* 802F4A68 002F19C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F4A6C 002F19CC 7D 89 03 A6 */ mtctr r12 +/* 802F4A70 002F19D0 4E 80 04 21 */ bctrl +/* 802F4A74 002F19D4 39 21 00 20 */ addi r9, r1, 0x20 +/* 802F4A78 002F19D8 48 00 00 18 */ b lbl_802F4A90 +lbl_802F4A7C: +/* 802F4A7C 002F19DC 7F A4 EB 78 */ mr r4, r29 +/* 802F4A80 002F19E0 7F 85 E3 78 */ mr r5, r28 +/* 802F4A84 002F19E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F4A88 002F19E8 4B FF F6 7D */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F4A8C 002F19EC 39 21 00 18 */ addi r9, r1, 0x18 +lbl_802F4A90: +/* 802F4A90 002F19F0 C0 09 00 00 */ lfs f0, 0(r9) +/* 802F4A94 002F19F4 7F C5 F3 78 */ mr r5, r30 +/* 802F4A98 002F19F8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 802F4A9C 002F19FC 7F 66 DB 78 */ mr r6, r27 +/* 802F4AA0 002F1A00 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802F4AA4 002F1A04 7F E7 FB 78 */ mr r7, r31 +/* 802F4AA8 002F1A08 7F 48 D3 78 */ mr r8, r26 +/* 802F4AAC 002F1A0C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802F4AB0 002F1A10 80 09 00 04 */ lwz r0, 4(r9) +/* 802F4AB4 002F1A14 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802F4AB8 002F1A18 80 63 00 00 */ lwz r3, 0(r3) +/* 802F4ABC 002F1A1C 48 00 92 C1 */ bl GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +/* 802F4AC0 002F1A20 C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F4AC4 002F1A24 7C 7B 1B 78 */ mr r27, r3 +/* 802F4AC8 002F1A28 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F4ACC 002F1A2C 38 7D 00 28 */ addi r3, r29, 0x28 +/* 802F4AD0 002F1A30 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802F4AD4 002F1A34 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F4AD8 002F1A38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F4ADC 002F1A3C 48 05 3F 91 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4AE0 002F1A40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4AE4 002F1A44 41 82 00 50 */ beq lbl_802F4B34 +/* 802F4AE8 002F1A48 7F DC F3 78 */ mr r28, r30 +/* 802F4AEC 002F1A4C 3B 40 00 00 */ li r26, 0 +/* 802F4AF0 002F1A50 48 00 00 3C */ b lbl_802F4B2C +lbl_802F4AF4: +/* 802F4AF4 002F1A54 7F A4 EB 78 */ mr r4, r29 +/* 802F4AF8 002F1A58 38 61 00 08 */ addi r3, r1, 8 +/* 802F4AFC 002F1A5C 38 BC 00 1C */ addi r5, r28, 0x1c +/* 802F4B00 002F1A60 4B FF F6 05 */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F4B04 002F1A64 7C 1A FA 14 */ add r0, r26, r31 +/* 802F4B08 002F1A68 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F4B0C 002F1A6C 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802F4B10 002F1A70 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F4B14 002F1A74 90 61 00 34 */ stw r3, 0x34(r1) +/* 802F4B18 002F1A78 3B 9C 00 4C */ addi r28, r28, 0x4c +/* 802F4B1C 002F1A7C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802F4B20 002F1A80 7C 9E 02 14 */ add r4, r30, r0 +/* 802F4B24 002F1A84 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 802F4B28 002F1A88 90 64 00 20 */ stw r3, 0x20(r4) +lbl_802F4B2C: +/* 802F4B2C 002F1A8C 7C 1A D8 40 */ cmplw r26, r27 +/* 802F4B30 002F1A90 41 80 FF C4 */ blt lbl_802F4AF4 +lbl_802F4B34: +/* 802F4B34 002F1A94 7F 63 DB 78 */ mr r3, r27 +/* 802F4B38 002F1A98 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 802F4B3C 002F1A9C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F4B40 002F1AA0 7C 08 03 A6 */ mtlr r0 +/* 802F4B44 002F1AA4 38 21 00 60 */ addi r1, r1, 0x60 +/* 802F4B48 002F1AA8 4E 80 00 20 */ blr + +.global VGetBoolPOIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__18CAnimTreeTimeScaleCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802F4B4C 002F1AAC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802F4B50 002F1AB0 7C 08 02 A6 */ mflr r0 +/* 802F4B54 002F1AB4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F4B58 002F1AB8 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 802F4B5C 002F1ABC 7C 9C 23 78 */ mr r28, r4 +/* 802F4B60 002F1AC0 7C 7D 1B 78 */ mr r29, r3 +/* 802F4B64 002F1AC4 7C BE 2B 78 */ mr r30, r5 +/* 802F4B68 002F1AC8 7C DB 33 78 */ mr r27, r6 +/* 802F4B6C 002F1ACC 7C FF 3B 78 */ mr r31, r7 +/* 802F4B70 002F1AD0 7D 1A 43 78 */ mr r26, r8 +/* 802F4B74 002F1AD4 7F 83 E3 78 */ mr r3, r28 +/* 802F4B78 002F1AD8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802F4B7C 002F1ADC C0 0D 9C 04 */ lfs f0, lbl_805A87C4@sda21(r13) +/* 802F4B80 002F1AE0 80 0D 9C 00 */ lwz r0, lbl_805A87C0@sda21(r13) +/* 802F4B84 002F1AE4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802F4B88 002F1AE8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802F4B8C 002F1AEC 48 05 3F 75 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4B90 002F1AF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4B94 002F1AF4 41 82 00 28 */ beq lbl_802F4BBC +/* 802F4B98 002F1AF8 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802F4B9C 002F1AFC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F4BA0 002F1B00 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4BA4 002F1B04 81 84 00 00 */ lwz r12, 0(r4) +/* 802F4BA8 002F1B08 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F4BAC 002F1B0C 7D 89 03 A6 */ mtctr r12 +/* 802F4BB0 002F1B10 4E 80 04 21 */ bctrl +/* 802F4BB4 002F1B14 39 21 00 20 */ addi r9, r1, 0x20 +/* 802F4BB8 002F1B18 48 00 00 18 */ b lbl_802F4BD0 +lbl_802F4BBC: +/* 802F4BBC 002F1B1C 7F A4 EB 78 */ mr r4, r29 +/* 802F4BC0 002F1B20 7F 85 E3 78 */ mr r5, r28 +/* 802F4BC4 002F1B24 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F4BC8 002F1B28 4B FF F5 3D */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F4BCC 002F1B2C 39 21 00 18 */ addi r9, r1, 0x18 +lbl_802F4BD0: +/* 802F4BD0 002F1B30 C0 09 00 00 */ lfs f0, 0(r9) +/* 802F4BD4 002F1B34 7F C5 F3 78 */ mr r5, r30 +/* 802F4BD8 002F1B38 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 802F4BDC 002F1B3C 7F 66 DB 78 */ mr r6, r27 +/* 802F4BE0 002F1B40 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802F4BE4 002F1B44 7F E7 FB 78 */ mr r7, r31 +/* 802F4BE8 002F1B48 7F 48 D3 78 */ mr r8, r26 +/* 802F4BEC 002F1B4C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802F4BF0 002F1B50 80 09 00 04 */ lwz r0, 4(r9) +/* 802F4BF4 002F1B54 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802F4BF8 002F1B58 80 63 00 00 */ lwz r3, 0(r3) +/* 802F4BFC 002F1B5C 48 00 91 FD */ bl GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +/* 802F4C00 002F1B60 C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F4C04 002F1B64 7C 7B 1B 78 */ mr r27, r3 +/* 802F4C08 002F1B68 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F4C0C 002F1B6C 38 7D 00 28 */ addi r3, r29, 0x28 +/* 802F4C10 002F1B70 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802F4C14 002F1B74 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F4C18 002F1B78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F4C1C 002F1B7C 48 05 3E 51 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F4C20 002F1B80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F4C24 002F1B84 41 82 00 50 */ beq lbl_802F4C74 +/* 802F4C28 002F1B88 7F DC F3 78 */ mr r28, r30 +/* 802F4C2C 002F1B8C 3B 40 00 00 */ li r26, 0 +/* 802F4C30 002F1B90 48 00 00 3C */ b lbl_802F4C6C +lbl_802F4C34: +/* 802F4C34 002F1B94 7F A4 EB 78 */ mr r4, r29 +/* 802F4C38 002F1B98 38 61 00 08 */ addi r3, r1, 8 +/* 802F4C3C 002F1B9C 38 BC 00 1C */ addi r5, r28, 0x1c +/* 802F4C40 002F1BA0 4B FF F4 C5 */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +/* 802F4C44 002F1BA4 7C 1F D2 14 */ add r0, r31, r26 +/* 802F4C48 002F1BA8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F4C4C 002F1BAC 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802F4C50 002F1BB0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F4C54 002F1BB4 90 61 00 34 */ stw r3, 0x34(r1) +/* 802F4C58 002F1BB8 3B 9C 00 3C */ addi r28, r28, 0x3c +/* 802F4C5C 002F1BBC 3B 5A 00 01 */ addi r26, r26, 1 +/* 802F4C60 002F1BC0 7C 9E 02 14 */ add r4, r30, r0 +/* 802F4C64 002F1BC4 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 802F4C68 002F1BC8 90 64 00 20 */ stw r3, 0x20(r4) +lbl_802F4C6C: +/* 802F4C6C 002F1BCC 7C 1A D8 40 */ cmplw r26, r27 +/* 802F4C70 002F1BD0 41 80 FF C4 */ blt lbl_802F4C34 +lbl_802F4C74: +/* 802F4C74 002F1BD4 7F 63 DB 78 */ mr r3, r27 +/* 802F4C78 002F1BD8 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 802F4C7C 002F1BDC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802F4C80 002F1BE0 7C 08 03 A6 */ mtlr r0 +/* 802F4C84 002F1BE4 38 21 00 60 */ addi r1, r1, 0x60 +/* 802F4C88 002F1BE8 4E 80 00 20 */ blr + +.global VGetContributionOfHighestInfluence__18CAnimTreeTimeScaleCFv +VGetContributionOfHighestInfluence__18CAnimTreeTimeScaleCFv: +/* 802F4C8C 002F1BEC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802F4C90 002F1BF0 7C 08 02 A6 */ mflr r0 +/* 802F4C94 002F1BF4 90 01 01 14 */ stw r0, 0x114(r1) +/* 802F4C98 002F1BF8 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802F4C9C 002F1BFC F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802F4CA0 002F1C00 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802F4CA4 002F1C04 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802F4CA8 002F1C08 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802F4CAC 002F1C0C F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802F4CB0 002F1C10 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802F4CB4 002F1C14 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802F4CB8 002F1C18 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 802F4CBC 002F1C1C 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 802F4CC0 002F1C20 7C 9D 23 78 */ mr r29, r4 +/* 802F4CC4 002F1C24 7C 7C 1B 78 */ mr r28, r3 +/* 802F4CC8 002F1C28 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F4CCC 002F1C2C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802F4CD0 002F1C30 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4CD4 002F1C34 4B D3 9E B5 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802F4CD8 002F1C38 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802F4CDC 002F1C3C 3B C1 00 94 */ addi r30, r1, 0x94 +/* 802F4CE0 002F1C40 3B E1 00 5C */ addi r31, r1, 0x5c +/* 802F4CE4 002F1C44 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802F4CE8 002F1C48 7F C3 F3 78 */ mr r3, r30 +/* 802F4CEC 002F1C4C 7F E4 FB 78 */ mr r4, r31 +/* 802F4CF0 002F1C50 48 04 94 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F4CF4 002F1C54 C0 81 00 6C */ lfs f4, 0x6c(r1) +/* 802F4CF8 002F1C58 28 1F 00 00 */ cmplwi r31, 0 +/* 802F4CFC 002F1C5C 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 802F4D00 002F1C60 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 802F4D04 002F1C64 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 802F4D08 002F1C68 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 802F4D0C 002F1C6C 88 81 00 80 */ lbz r4, 0x80(r1) +/* 802F4D10 002F1C70 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802F4D14 002F1C74 80 61 00 88 */ lwz r3, 0x88(r1) +/* 802F4D18 002F1C78 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802F4D1C 002F1C7C D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 802F4D20 002F1C80 90 A1 00 A8 */ stw r5, 0xa8(r1) +/* 802F4D24 002F1C84 D0 61 00 AC */ stfs f3, 0xac(r1) +/* 802F4D28 002F1C88 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 802F4D2C 002F1C8C D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 802F4D30 002F1C90 98 81 00 B8 */ stb r4, 0xb8(r1) +/* 802F4D34 002F1C94 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802F4D38 002F1C98 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 802F4D3C 002F1C9C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802F4D40 002F1CA0 41 82 00 0C */ beq lbl_802F4D4C +/* 802F4D44 002F1CA4 7F E3 FB 78 */ mr r3, r31 +/* 802F4D48 002F1CA8 48 04 8D 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F4D4C: +/* 802F4D4C 002F1CAC C3 E1 00 90 */ lfs f31, 0x90(r1) +/* 802F4D50 002F1CB0 7F C4 F3 78 */ mr r4, r30 +/* 802F4D54 002F1CB4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F4D58 002F1CB8 48 04 94 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F4D5C 002F1CBC 7F A4 EB 78 */ mr r4, r29 +/* 802F4D60 002F1CC0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F4D64 002F1CC4 81 9D 00 00 */ lwz r12, 0(r29) +/* 802F4D68 002F1CC8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F4D6C 002F1CCC 7D 89 03 A6 */ mtctr r12 +/* 802F4D70 002F1CD0 4E 80 04 21 */ bctrl +/* 802F4D74 002F1CD4 7F A4 EB 78 */ mr r4, r29 +/* 802F4D78 002F1CD8 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 802F4D7C 002F1CDC 81 9D 00 00 */ lwz r12, 0(r29) +/* 802F4D80 002F1CE0 38 61 00 08 */ addi r3, r1, 8 +/* 802F4D84 002F1CE4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802F4D88 002F1CE8 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802F4D8C 002F1CEC C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802F4D90 002F1CF0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802F4D94 002F1CF4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F4D98 002F1CF8 90 A1 00 44 */ stw r5, 0x44(r1) +/* 802F4D9C 002F1CFC C3 C1 00 28 */ lfs f30, 0x28(r1) +/* 802F4DA0 002F1D00 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802F4DA4 002F1D04 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802F4DA8 002F1D08 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802F4DAC 002F1D0C 98 01 00 54 */ stb r0, 0x54(r1) +/* 802F4DB0 002F1D10 7D 89 03 A6 */ mtctr r12 +/* 802F4DB4 002F1D14 4E 80 04 21 */ bctrl +/* 802F4DB8 002F1D18 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F4DBC 002F1D1C 38 7C 00 04 */ addi r3, r28, 4 +/* 802F4DC0 002F1D20 C3 A1 00 08 */ lfs f29, 8(r1) +/* 802F4DC4 002F1D24 38 81 00 18 */ addi r4, r1, 0x18 +/* 802F4DC8 002F1D28 83 E1 00 C4 */ lwz r31, 0xc4(r1) +/* 802F4DCC 002F1D2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F4DD0 002F1D30 D3 FC 00 00 */ stfs f31, 0(r28) +/* 802F4DD4 002F1D34 48 04 93 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F4DD8 002F1D38 D3 DC 00 14 */ stfs f30, 0x14(r28) +/* 802F4DDC 002F1D3C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F4DE0 002F1D40 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802F4DE4 002F1D44 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802F4DE8 002F1D48 90 1C 00 18 */ stw r0, 0x18(r28) +/* 802F4DEC 002F1D4C C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802F4DF0 002F1D50 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802F4DF4 002F1D54 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802F4DF8 002F1D58 D0 3C 00 20 */ stfs f1, 0x20(r28) +/* 802F4DFC 002F1D5C 88 81 00 54 */ lbz r4, 0x54(r1) +/* 802F4E00 002F1D60 D0 1C 00 24 */ stfs f0, 0x24(r28) +/* 802F4E04 002F1D64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F4E08 002F1D68 98 9C 00 28 */ stb r4, 0x28(r28) +/* 802F4E0C 002F1D6C D3 BC 00 2C */ stfs f29, 0x2c(r28) +/* 802F4E10 002F1D70 90 1C 00 30 */ stw r0, 0x30(r28) +/* 802F4E14 002F1D74 93 FC 00 34 */ stw r31, 0x34(r28) +/* 802F4E18 002F1D78 48 04 8C C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802F4E1C 002F1D7C 28 1E 00 00 */ cmplwi r30, 0 +/* 802F4E20 002F1D80 41 82 00 0C */ beq lbl_802F4E2C +/* 802F4E24 002F1D84 7F C3 F3 78 */ mr r3, r30 +/* 802F4E28 002F1D88 48 04 8C B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F4E2C: +/* 802F4E2C 002F1D8C E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802F4E30 002F1D90 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802F4E34 002F1D94 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802F4E38 002F1D98 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802F4E3C 002F1D9C E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802F4E40 002F1DA0 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802F4E44 002F1DA4 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 802F4E48 002F1DA8 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 802F4E4C 002F1DAC 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 802F4E50 002F1DB0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802F4E54 002F1DB4 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 802F4E58 002F1DB8 7C 08 03 A6 */ mtlr r0 +/* 802F4E5C 002F1DBC 38 21 01 10 */ addi r1, r1, 0x110 +/* 802F4E60 002F1DC0 4E 80 00 20 */ blr + +.global VGetBestUnblendedChild__18CAnimTreeTimeScaleCFv +VGetBestUnblendedChild__18CAnimTreeTimeScaleCFv: +/* 802F4E64 002F1DC4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802F4E68 002F1DC8 7C 08 02 A6 */ mflr r0 +/* 802F4E6C 002F1DCC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802F4E70 002F1DD0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802F4E74 002F1DD4 7C 9E 23 78 */ mr r30, r4 +/* 802F4E78 002F1DD8 7C 7D 1B 78 */ mr r29, r3 +/* 802F4E7C 002F1DDC 38 61 00 0C */ addi r3, r1, 0xc +/* 802F4E80 002F1DE0 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F4E84 002F1DE4 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4E88 002F1DE8 4B FE 3F F9 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802F4E8C 002F1DEC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802F4E90 002F1DF0 38 61 00 0C */ addi r3, r1, 0xc +/* 802F4E94 002F1DF4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802F4E98 002F1DF8 80 85 00 04 */ lwz r4, 4(r5) +/* 802F4E9C 002F1DFC 38 04 00 01 */ addi r0, r4, 1 +/* 802F4EA0 002F1E00 90 05 00 04 */ stw r0, 4(r5) +/* 802F4EA4 002F1E04 4B D3 C0 FD */ bl sub_80030fa0 +/* 802F4EA8 002F1E08 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F4EAC 002F1E0C 80 03 00 00 */ lwz r0, 0(r3) +/* 802F4EB0 002F1E10 28 00 00 00 */ cmplwi r0, 0 +/* 802F4EB4 002F1E14 41 82 01 7C */ beq lbl_802F5030 +/* 802F4EB8 002F1E18 3C 60 80 3D */ lis r3, lbl_803D6E08@ha +/* 802F4EBC 002F1E1C 3B 80 00 00 */ li r28, 0 +/* 802F4EC0 002F1E20 38 63 6E 08 */ addi r3, r3, lbl_803D6E08@l +/* 802F4EC4 002F1E24 3B 60 00 00 */ li r27, 0 +/* 802F4EC8 002F1E28 38 83 00 01 */ addi r4, r3, 1 +/* 802F4ECC 002F1E2C 3B 40 00 00 */ li r26, 0 +/* 802F4ED0 002F1E30 38 60 00 38 */ li r3, 0x38 +/* 802F4ED4 002F1E34 38 A0 00 00 */ li r5, 0 +/* 802F4ED8 002F1E38 48 02 09 95 */ bl __nw__FUlPCcPCc +/* 802F4EDC 002F1E3C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802F4EE0 002F1E40 41 82 00 B4 */ beq lbl_802F4F94 +/* 802F4EE4 002F1E44 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802F4EE8 002F1E48 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F4EEC 002F1E4C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F4EF0 002F1E50 4B F8 DB F1 */ bl Clone__11IAnimReaderCFv +/* 802F4EF4 002F1E54 38 61 00 08 */ addi r3, r1, 8 +/* 802F4EF8 002F1E58 38 81 00 14 */ addi r4, r1, 0x14 +/* 802F4EFC 002F1E5C 3B 60 00 01 */ li r27, 1 +/* 802F4F00 002F1E60 4B FF EC F9 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F4F04 002F1E64 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F4F08 002F1E68 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F4F0C 002F1E6C 3B 40 00 01 */ li r26, 1 +/* 802F4F10 002F1E70 4B FF F7 A9 */ bl Clone__26IVaryingAnimationTimeScaleCFv +/* 802F4F14 002F1E74 7F E3 FB 78 */ mr r3, r31 +/* 802F4F18 002F1E78 38 9E 00 04 */ addi r4, r30, 4 +/* 802F4F1C 002F1E7C 3B 80 00 01 */ li r28, 1 +/* 802F4F20 002F1E80 4B FF ED B1 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F4F24 002F1E84 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802F4F28 002F1E88 3C 60 80 3F */ lis r3, lbl_803ED2B0@ha +/* 802F4F2C 002F1E8C 38 84 D2 40 */ addi r4, r4, lbl_803ED240@l +/* 802F4F30 002F1E90 38 00 00 00 */ li r0, 0 +/* 802F4F34 002F1E94 90 9F 00 00 */ stw r4, 0(r31) +/* 802F4F38 002F1E98 38 63 D2 B0 */ addi r3, r3, lbl_803ED2B0@l +/* 802F4F3C 002F1E9C 80 81 00 08 */ lwz r4, 8(r1) +/* 802F4F40 002F1EA0 90 9F 00 14 */ stw r4, 0x14(r31) +/* 802F4F44 002F1EA4 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802F4F48 002F1EA8 80 85 00 04 */ lwz r4, 4(r5) +/* 802F4F4C 002F1EAC 38 84 00 01 */ addi r4, r4, 1 +/* 802F4F50 002F1EB0 90 85 00 04 */ stw r4, 4(r5) +/* 802F4F54 002F1EB4 90 7F 00 00 */ stw r3, 0(r31) +/* 802F4F58 002F1EB8 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802F4F5C 002F1EBC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802F4F60 002F1EC0 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802F4F64 002F1EC4 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802F4F68 002F1EC8 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 802F4F6C 002F1ECC 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802F4F70 002F1ED0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802F4F74 002F1ED4 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 802F4F78 002F1ED8 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 802F4F7C 002F1EDC 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802F4F80 002F1EE0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802F4F84 002F1EE4 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 802F4F88 002F1EE8 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 802F4F8C 002F1EEC 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802F4F90 002F1EF0 90 1F 00 34 */ stw r0, 0x34(r31) +lbl_802F4F94: +/* 802F4F94 002F1EF4 3C 80 80 3D */ lis r4, lbl_803D6E08@ha +/* 802F4F98 002F1EF8 38 60 00 08 */ li r3, 8 +/* 802F4F9C 002F1EFC 38 84 6E 08 */ addi r4, r4, lbl_803D6E08@l +/* 802F4FA0 002F1F00 38 A0 00 00 */ li r5, 0 +/* 802F4FA4 002F1F04 38 84 00 01 */ addi r4, r4, 1 +/* 802F4FA8 002F1F08 48 02 08 C5 */ bl __nw__FUlPCcPCc +/* 802F4FAC 002F1F0C 28 03 00 00 */ cmplwi r3, 0 +/* 802F4FB0 002F1F10 41 82 00 10 */ beq lbl_802F4FC0 +/* 802F4FB4 002F1F14 93 E3 00 00 */ stw r31, 0(r3) +/* 802F4FB8 002F1F18 38 00 00 01 */ li r0, 1 +/* 802F4FBC 002F1F1C 90 03 00 04 */ stw r0, 4(r3) +lbl_802F4FC0: +/* 802F4FC0 002F1F20 7F 40 07 75 */ extsb. r0, r26 +/* 802F4FC4 002F1F24 90 7D 00 00 */ stw r3, 0(r29) +/* 802F4FC8 002F1F28 41 82 00 0C */ beq lbl_802F4FD4 +/* 802F4FCC 002F1F2C 38 61 00 08 */ addi r3, r1, 8 +/* 802F4FD0 002F1F30 4B D3 BF D1 */ bl sub_80030fa0 +lbl_802F4FD4: +/* 802F4FD4 002F1F34 7F 60 07 75 */ extsb. r0, r27 +/* 802F4FD8 002F1F38 41 82 00 30 */ beq lbl_802F5008 +/* 802F4FDC 002F1F3C 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802F4FE0 002F1F40 28 00 00 00 */ cmplwi r0, 0 +/* 802F4FE4 002F1F44 41 82 00 24 */ beq lbl_802F5008 +/* 802F4FE8 002F1F48 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802F4FEC 002F1F4C 28 03 00 00 */ cmplwi r3, 0 +/* 802F4FF0 002F1F50 41 82 00 18 */ beq lbl_802F5008 +/* 802F4FF4 002F1F54 81 83 00 00 */ lwz r12, 0(r3) +/* 802F4FF8 002F1F58 38 80 00 01 */ li r4, 1 +/* 802F4FFC 002F1F5C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F5000 002F1F60 7D 89 03 A6 */ mtctr r12 +/* 802F5004 002F1F64 4E 80 04 21 */ bctrl +lbl_802F5008: +/* 802F5008 002F1F68 7F 80 07 75 */ extsb. r0, r28 +/* 802F500C 002F1F6C 41 82 00 18 */ beq lbl_802F5024 +/* 802F5010 002F1F70 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 802F5014 002F1F74 28 00 00 00 */ cmplwi r0, 0 +/* 802F5018 002F1F78 41 82 00 0C */ beq lbl_802F5024 +/* 802F501C 002F1F7C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802F5020 002F1F80 48 02 09 11 */ bl Free__7CMemoryFPCv +lbl_802F5024: +/* 802F5024 002F1F84 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5028 002F1F88 4B D3 BF 79 */ bl sub_80030fa0 +/* 802F502C 002F1F8C 48 00 00 20 */ b lbl_802F504C +lbl_802F5030: +/* 802F5030 002F1F90 90 7D 00 00 */ stw r3, 0(r29) +/* 802F5034 002F1F94 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5038 002F1F98 80 BD 00 00 */ lwz r5, 0(r29) +/* 802F503C 002F1F9C 80 85 00 04 */ lwz r4, 4(r5) +/* 802F5040 002F1FA0 38 04 00 01 */ addi r0, r4, 1 +/* 802F5044 002F1FA4 90 05 00 04 */ stw r0, 4(r5) +/* 802F5048 002F1FA8 4B D3 BF 59 */ bl sub_80030fa0 +lbl_802F504C: +/* 802F504C 002F1FAC BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802F5050 002F1FB0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802F5054 002F1FB4 7C 08 03 A6 */ mtlr r0 +/* 802F5058 002F1FB8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802F505C 002F1FBC 4E 80 00 20 */ blr + +.global VClone__18CAnimTreeTimeScaleCFv +VClone__18CAnimTreeTimeScaleCFv: +/* 802F5060 002F1FC0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802F5064 002F1FC4 7C 08 02 A6 */ mflr r0 +/* 802F5068 002F1FC8 3C A0 80 3D */ lis r5, lbl_803D6E08@ha +/* 802F506C 002F1FCC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802F5070 002F1FD0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802F5074 002F1FD4 7C 7D 1B 78 */ mr r29, r3 +/* 802F5078 002F1FD8 38 65 6E 08 */ addi r3, r5, lbl_803D6E08@l +/* 802F507C 002F1FDC 7C 9E 23 78 */ mr r30, r4 +/* 802F5080 002F1FE0 38 83 00 01 */ addi r4, r3, 1 +/* 802F5084 002F1FE4 3B 80 00 00 */ li r28, 0 +/* 802F5088 002F1FE8 3B 60 00 00 */ li r27, 0 +/* 802F508C 002F1FEC 3B 40 00 00 */ li r26, 0 +/* 802F5090 002F1FF0 38 60 00 38 */ li r3, 0x38 +/* 802F5094 002F1FF4 38 A0 00 00 */ li r5, 0 +/* 802F5098 002F1FF8 48 02 07 D5 */ bl __nw__FUlPCcPCc +/* 802F509C 002F1FFC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802F50A0 002F2000 41 82 00 B4 */ beq lbl_802F5154 +/* 802F50A4 002F2004 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F50A8 002F2008 38 61 00 0C */ addi r3, r1, 0xc +/* 802F50AC 002F200C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F50B0 002F2010 4B F8 DA 31 */ bl Clone__11IAnimReaderCFv +/* 802F50B4 002F2014 38 61 00 08 */ addi r3, r1, 8 +/* 802F50B8 002F2018 38 81 00 0C */ addi r4, r1, 0xc +/* 802F50BC 002F201C 3B 60 00 01 */ li r27, 1 +/* 802F50C0 002F2020 4B FF EB 39 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F50C4 002F2024 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F50C8 002F2028 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F50CC 002F202C 3B 40 00 01 */ li r26, 1 +/* 802F50D0 002F2030 4B FF F5 E9 */ bl Clone__26IVaryingAnimationTimeScaleCFv +/* 802F50D4 002F2034 7F E3 FB 78 */ mr r3, r31 +/* 802F50D8 002F2038 38 9E 00 04 */ addi r4, r30, 4 +/* 802F50DC 002F203C 3B 80 00 01 */ li r28, 1 +/* 802F50E0 002F2040 4B FF EB F1 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F50E4 002F2044 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802F50E8 002F2048 3C 60 80 3F */ lis r3, lbl_803ED2B0@ha +/* 802F50EC 002F204C 38 84 D2 40 */ addi r4, r4, lbl_803ED240@l +/* 802F50F0 002F2050 38 00 00 00 */ li r0, 0 +/* 802F50F4 002F2054 90 9F 00 00 */ stw r4, 0(r31) +/* 802F50F8 002F2058 38 63 D2 B0 */ addi r3, r3, lbl_803ED2B0@l +/* 802F50FC 002F205C 80 81 00 08 */ lwz r4, 8(r1) +/* 802F5100 002F2060 90 9F 00 14 */ stw r4, 0x14(r31) +/* 802F5104 002F2064 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802F5108 002F2068 80 85 00 04 */ lwz r4, 4(r5) +/* 802F510C 002F206C 38 84 00 01 */ addi r4, r4, 1 +/* 802F5110 002F2070 90 85 00 04 */ stw r4, 4(r5) +/* 802F5114 002F2074 90 7F 00 00 */ stw r3, 0(r31) +/* 802F5118 002F2078 98 01 00 14 */ stb r0, 0x14(r1) +/* 802F511C 002F207C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802F5120 002F2080 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802F5124 002F2084 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802F5128 002F2088 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 802F512C 002F208C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802F5130 002F2090 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802F5134 002F2094 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 802F5138 002F2098 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 802F513C 002F209C 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802F5140 002F20A0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802F5144 002F20A4 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 802F5148 002F20A8 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 802F514C 002F20AC 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802F5150 002F20B0 90 1F 00 34 */ stw r0, 0x34(r31) +lbl_802F5154: +/* 802F5154 002F20B4 7C 7F 00 D0 */ neg r3, r31 +/* 802F5158 002F20B8 7F 40 07 75 */ extsb. r0, r26 +/* 802F515C 002F20BC 7C 60 FB 78 */ or r0, r3, r31 +/* 802F5160 002F20C0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802F5164 002F20C4 98 1D 00 00 */ stb r0, 0(r29) +/* 802F5168 002F20C8 93 FD 00 04 */ stw r31, 4(r29) +/* 802F516C 002F20CC 41 82 00 0C */ beq lbl_802F5178 +/* 802F5170 002F20D0 38 61 00 08 */ addi r3, r1, 8 +/* 802F5174 002F20D4 4B D3 BE 2D */ bl sub_80030fa0 +lbl_802F5178: +/* 802F5178 002F20D8 7F 60 07 75 */ extsb. r0, r27 +/* 802F517C 002F20DC 41 82 00 30 */ beq lbl_802F51AC +/* 802F5180 002F20E0 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802F5184 002F20E4 28 00 00 00 */ cmplwi r0, 0 +/* 802F5188 002F20E8 41 82 00 24 */ beq lbl_802F51AC +/* 802F518C 002F20EC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F5190 002F20F0 28 03 00 00 */ cmplwi r3, 0 +/* 802F5194 002F20F4 41 82 00 18 */ beq lbl_802F51AC +/* 802F5198 002F20F8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F519C 002F20FC 38 80 00 01 */ li r4, 1 +/* 802F51A0 002F2100 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F51A4 002F2104 7D 89 03 A6 */ mtctr r12 +/* 802F51A8 002F2108 4E 80 04 21 */ bctrl +lbl_802F51AC: +/* 802F51AC 002F210C 7F 80 07 75 */ extsb. r0, r28 +/* 802F51B0 002F2110 41 82 00 18 */ beq lbl_802F51C8 +/* 802F51B4 002F2114 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802F51B8 002F2118 28 00 00 00 */ cmplwi r0, 0 +/* 802F51BC 002F211C 41 82 00 0C */ beq lbl_802F51C8 +/* 802F51C0 002F2120 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802F51C4 002F2124 48 02 07 6D */ bl Free__7CMemoryFPCv +lbl_802F51C8: +/* 802F51C8 002F2128 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802F51CC 002F212C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802F51D0 002F2130 7C 08 03 A6 */ mtlr r0 +/* 802F51D4 002F2134 38 21 00 40 */ addi r1, r1, 0x40 +/* 802F51D8 002F2138 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__18CAnimTreeTimeScaleCFv +VGetSteadyStateAnimInfo__18CAnimTreeTimeScaleCFv: +/* 802F51DC 002F213C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802F51E0 002F2140 7C 08 02 A6 */ mflr r0 +/* 802F51E4 002F2144 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802F51E8 002F2148 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 802F51EC 002F214C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 802F51F0 002F2150 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802F51F4 002F2154 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802F51F8 002F2158 7C 9E 23 78 */ mr r30, r4 +/* 802F51FC 002F215C 7C 7F 1B 78 */ mr r31, r3 +/* 802F5200 002F2160 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F5204 002F2164 38 61 00 70 */ addi r3, r1, 0x70 +/* 802F5208 002F2168 80 84 00 00 */ lwz r4, 0(r4) +/* 802F520C 002F216C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5210 002F2170 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F5214 002F2174 7D 89 03 A6 */ mtctr r12 +/* 802F5218 002F2178 4E 80 04 21 */ bctrl +/* 802F521C 002F217C 80 C1 00 74 */ lwz r6, 0x74(r1) +/* 802F5220 002F2180 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802F5224 002F2184 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 802F5228 002F2188 38 81 00 48 */ addi r4, r1, 0x48 +/* 802F522C 002F218C C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 802F5230 002F2190 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 802F5234 002F2194 88 A1 00 84 */ lbz r5, 0x84(r1) +/* 802F5238 002F2198 C0 0D 9C 04 */ lfs f0, lbl_805A87C4@sda21(r13) +/* 802F523C 002F219C 80 0D 9C 00 */ lwz r0, lbl_805A87C0@sda21(r13) +/* 802F5240 002F21A0 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 802F5244 002F21A4 C3 E1 00 70 */ lfs f31, 0x70(r1) +/* 802F5248 002F21A8 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 802F524C 002F21AC D0 41 00 94 */ stfs f2, 0x94(r1) +/* 802F5250 002F21B0 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 802F5254 002F21B4 98 A1 00 9C */ stb r5, 0x9c(r1) +/* 802F5258 002F21B8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802F525C 002F21BC 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802F5260 002F21C0 48 05 38 A1 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5264 002F21C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5268 002F21C8 41 82 00 6C */ beq lbl_802F52D4 +/* 802F526C 002F21CC C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F5270 002F21D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F5274 002F21D4 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F5278 002F21D8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802F527C 002F21DC D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 802F5280 002F21E0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802F5284 002F21E4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F5288 002F21E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F528C 002F21EC 7D 89 03 A6 */ mtctr r12 +/* 802F5290 002F21F0 4E 80 04 21 */ bctrl +/* 802F5294 002F21F4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802F5298 002F21F8 48 05 3B 55 */ bl __ct__13CCharAnimTimeFf +/* 802F529C 002F21FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802F52A0 002F2200 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802F52A4 002F2204 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802F52A8 002F2208 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802F52AC 002F220C C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802F52B0 002F2210 90 1F 00 04 */ stw r0, 4(r31) +/* 802F52B4 002F2214 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802F52B8 002F2218 D0 5F 00 08 */ stfs f2, 8(r31) +/* 802F52BC 002F221C 88 61 00 9C */ lbz r3, 0x9c(r1) +/* 802F52C0 002F2220 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 802F52C4 002F2224 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802F52C8 002F2228 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802F52CC 002F222C 98 7F 00 14 */ stb r3, 0x14(r31) +/* 802F52D0 002F2230 48 00 00 F0 */ b lbl_802F53C0 +lbl_802F52D4: +/* 802F52D4 002F2234 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802F52D8 002F2238 48 05 31 15 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F52DC 002F223C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F52E0 002F2240 41 82 00 40 */ beq lbl_802F5320 +/* 802F52E4 002F2244 C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 802F52E8 002F2248 38 81 00 08 */ addi r4, r1, 8 +/* 802F52EC 002F224C C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F52F0 002F2250 38 A1 00 0C */ addi r5, r1, 0xc +/* 802F52F4 002F2254 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F52F8 002F2258 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802F52FC 002F225C D0 01 00 08 */ stfs f0, 8(r1) +/* 802F5300 002F2260 81 83 00 00 */ lwz r12, 0(r3) +/* 802F5304 002F2264 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802F5308 002F2268 7D 89 03 A6 */ mtctr r12 +/* 802F530C 002F226C 4E 80 04 21 */ bctrl +/* 802F5310 002F2270 38 61 00 38 */ addi r3, r1, 0x38 +/* 802F5314 002F2274 48 05 3A D9 */ bl __ct__13CCharAnimTimeFf +/* 802F5318 002F2278 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802F531C 002F227C 48 00 00 18 */ b lbl_802F5334 +lbl_802F5320: +/* 802F5320 002F2280 C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F5324 002F2284 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802F5328 002F2288 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F532C 002F228C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802F5330 002F2290 90 01 00 34 */ stw r0, 0x34(r1) +lbl_802F5334: +/* 802F5334 002F2294 C0 05 00 00 */ lfs f0, 0(r5) +/* 802F5338 002F2298 7F C4 F3 78 */ mr r4, r30 +/* 802F533C 002F229C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F5340 002F22A0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802F5344 002F22A4 80 05 00 04 */ lwz r0, 4(r5) +/* 802F5348 002F22A8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F534C 002F22AC 81 9E 00 00 */ lwz r12, 0(r30) +/* 802F5350 002F22B0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F5354 002F22B4 7D 89 03 A6 */ mtctr r12 +/* 802F5358 002F22B8 4E 80 04 21 */ bctrl +/* 802F535C 002F22BC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802F5360 002F22C0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F5364 002F22C4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802F5368 002F22C8 38 9E 00 30 */ addi r4, r30, 0x30 +/* 802F536C 002F22CC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802F5370 002F22D0 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802F5374 002F22D4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802F5378 002F22D8 48 05 32 2D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F537C 002F22DC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F5380 002F22E0 38 81 00 18 */ addi r4, r1, 0x18 +/* 802F5384 002F22E4 38 A1 00 58 */ addi r5, r1, 0x58 +/* 802F5388 002F22E8 48 05 32 1D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F538C 002F22EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F5390 002F22F0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802F5394 002F22F4 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802F5398 002F22F8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802F539C 002F22FC C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802F53A0 002F2300 90 1F 00 04 */ stw r0, 4(r31) +/* 802F53A4 002F2304 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802F53A8 002F2308 D0 5F 00 08 */ stfs f2, 8(r31) +/* 802F53AC 002F230C 88 61 00 9C */ lbz r3, 0x9c(r1) +/* 802F53B0 002F2310 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 802F53B4 002F2314 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802F53B8 002F2318 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F53BC 002F231C 98 7F 00 14 */ stb r3, 0x14(r31) +lbl_802F53C0: +/* 802F53C0 002F2320 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 802F53C4 002F2324 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802F53C8 002F2328 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 802F53CC 002F232C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802F53D0 002F2330 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802F53D4 002F2334 7C 08 03 A6 */ mtlr r0 +/* 802F53D8 002F2338 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802F53DC 002F233C 4E 80 00 20 */ blr + +.global VGetTimeRemaining__18CAnimTreeTimeScaleCFv +VGetTimeRemaining__18CAnimTreeTimeScaleCFv: +/* 802F53E0 002F2340 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802F53E4 002F2344 7C 08 02 A6 */ mflr r0 +/* 802F53E8 002F2348 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F53EC 002F234C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802F53F0 002F2350 7C 9F 23 78 */ mr r31, r4 +/* 802F53F4 002F2354 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802F53F8 002F2358 7C 7E 1B 78 */ mr r30, r3 +/* 802F53FC 002F235C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F5400 002F2360 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802F5404 002F2364 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5408 002F2368 81 84 00 00 */ lwz r12, 0(r4) +/* 802F540C 002F236C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F5410 002F2370 7D 89 03 A6 */ mtctr r12 +/* 802F5414 002F2374 4E 80 04 21 */ bctrl +/* 802F5418 002F2378 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802F541C 002F237C 38 7F 00 28 */ addi r3, r31, 0x28 +/* 802F5420 002F2380 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 802F5424 002F2384 38 81 00 20 */ addi r4, r1, 0x20 +/* 802F5428 002F2388 C0 0D 9C 04 */ lfs f0, lbl_805A87C4@sda21(r13) +/* 802F542C 002F238C 80 0D 9C 00 */ lwz r0, lbl_805A87C0@sda21(r13) +/* 802F5430 002F2390 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802F5434 002F2394 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802F5438 002F2398 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802F543C 002F239C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F5440 002F23A0 48 05 36 C1 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5444 002F23A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5448 002F23A8 41 82 00 60 */ beq lbl_802F54A8 +/* 802F544C 002F23AC C0 21 00 38 */ lfs f1, 0x38(r1) +/* 802F5450 002F23B0 38 81 00 08 */ addi r4, r1, 8 +/* 802F5454 002F23B4 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 802F5458 002F23B8 38 A1 00 0C */ addi r5, r1, 0xc +/* 802F545C 002F23BC 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802F5460 002F23C0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802F5464 002F23C4 D0 01 00 08 */ stfs f0, 8(r1) +/* 802F5468 002F23C8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F546C 002F23CC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F5470 002F23D0 7D 89 03 A6 */ mtctr r12 +/* 802F5474 002F23D4 4E 80 04 21 */ bctrl +/* 802F5478 002F23D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F547C 002F23DC 48 05 39 71 */ bl __ct__13CCharAnimTimeFf +/* 802F5480 002F23E0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F5484 002F23E4 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F5488 002F23E8 38 BF 00 20 */ addi r5, r31, 0x20 +/* 802F548C 002F23EC 48 05 32 D9 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5490 002F23F0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802F5494 002F23F4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802F5498 002F23F8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F549C 002F23FC D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F54A0 002F2400 90 1E 00 04 */ stw r0, 4(r30) +/* 802F54A4 002F2404 48 00 00 14 */ b lbl_802F54B8 +lbl_802F54A8: +/* 802F54A8 002F2408 7F C3 F3 78 */ mr r3, r30 +/* 802F54AC 002F240C 7F E4 FB 78 */ mr r4, r31 +/* 802F54B0 002F2410 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802F54B4 002F2414 4B FF EC 51 */ bl GetRealLifeTime__18CAnimTreeTimeScaleCFRC13CCharAnimTime +lbl_802F54B8: +/* 802F54B8 002F2418 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F54BC 002F241C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802F54C0 002F2420 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802F54C4 002F2424 7C 08 03 A6 */ mtlr r0 +/* 802F54C8 002F2428 38 21 00 50 */ addi r1, r1, 0x50 +/* 802F54CC 002F242C 4E 80 00 20 */ blr + +.global VAdvanceView__18CAnimTreeTimeScaleFRC13CCharAnimTime +VAdvanceView__18CAnimTreeTimeScaleFRC13CCharAnimTime: +/* 802F54D0 002F2430 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802F54D4 002F2434 7C 08 02 A6 */ mflr r0 +/* 802F54D8 002F2438 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802F54DC 002F243C DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802F54E0 002F2440 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802F54E4 002F2444 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802F54E8 002F2448 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802F54EC 002F244C DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 802F54F0 002F2450 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 802F54F4 002F2454 DB 81 01 90 */ stfd f28, 0x190(r1) +/* 802F54F8 002F2458 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 +/* 802F54FC 002F245C DB 61 01 80 */ stfd f27, 0x180(r1) +/* 802F5500 002F2460 F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 +/* 802F5504 002F2464 DB 41 01 70 */ stfd f26, 0x170(r1) +/* 802F5508 002F2468 F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 +/* 802F550C 002F246C DB 21 01 60 */ stfd f25, 0x160(r1) +/* 802F5510 002F2470 F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 +/* 802F5514 002F2474 93 E1 01 5C */ stw r31, 0x15c(r1) +/* 802F5518 002F2478 93 C1 01 58 */ stw r30, 0x158(r1) +/* 802F551C 002F247C 93 A1 01 54 */ stw r29, 0x154(r1) +/* 802F5520 002F2480 7C BD 2B 78 */ mr r29, r5 +/* 802F5524 002F2484 7C 7E 1B 78 */ mr r30, r3 +/* 802F5528 002F2488 7C 9F 23 78 */ mr r31, r4 +/* 802F552C 002F248C 7F A3 EB 78 */ mr r3, r29 +/* 802F5530 002F2490 48 05 2E 81 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802F5534 002F2494 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5538 002F2498 41 82 00 4C */ beq lbl_802F5584 +/* 802F553C 002F249C C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F5540 002F24A0 7F A3 EB 78 */ mr r3, r29 +/* 802F5544 002F24A4 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F5548 002F24A8 38 81 00 78 */ addi r4, r1, 0x78 +/* 802F554C 002F24AC D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802F5550 002F24B0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802F5554 002F24B4 48 05 35 19 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5558 002F24B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F555C 002F24BC 41 82 00 28 */ beq lbl_802F5584 +/* 802F5560 002F24C0 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F5564 002F24C4 7F C3 F3 78 */ mr r3, r30 +/* 802F5568 002F24C8 7F A5 EB 78 */ mr r5, r29 +/* 802F556C 002F24CC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5570 002F24D0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5574 002F24D4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F5578 002F24D8 7D 89 03 A6 */ mtctr r12 +/* 802F557C 002F24DC 4E 80 04 21 */ bctrl +/* 802F5580 002F24E0 48 00 03 D4 */ b lbl_802F5954 +lbl_802F5584: +/* 802F5584 002F24E4 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 802F5588 002F24E8 7F A5 EB 78 */ mr r5, r29 +/* 802F558C 002F24EC 38 61 00 70 */ addi r3, r1, 0x70 +/* 802F5590 002F24F0 38 9F 00 20 */ addi r4, r31, 0x20 +/* 802F5594 002F24F4 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802F5598 002F24F8 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802F559C 002F24FC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802F55A0 002F2500 48 05 30 05 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F55A4 002F2504 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802F55A8 002F2508 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802F55AC 002F250C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802F55B0 002F2510 38 9F 00 28 */ addi r4, r31, 0x28 +/* 802F55B4 002F2514 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802F55B8 002F2518 90 01 00 AC */ stw r0, 0xac(r1) +/* 802F55BC 002F251C 48 05 36 81 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F55C0 002F2520 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F55C4 002F2524 41 82 01 F4 */ beq lbl_802F57B8 +/* 802F55C8 002F2528 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802F55CC 002F252C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802F55D0 002F2530 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 802F55D4 002F2534 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802F55D8 002F2538 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802F55DC 002F253C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802F55E0 002F2540 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802F55E4 002F2544 81 83 00 00 */ lwz r12, 0(r3) +/* 802F55E8 002F2548 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802F55EC 002F254C 7D 89 03 A6 */ mtctr r12 +/* 802F55F0 002F2550 4E 80 04 21 */ bctrl +/* 802F55F4 002F2554 38 61 00 68 */ addi r3, r1, 0x68 +/* 802F55F8 002F2558 48 05 37 F5 */ bl __ct__13CCharAnimTimeFf +/* 802F55FC 002F255C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802F5600 002F2560 38 61 00 DC */ addi r3, r1, 0xdc +/* 802F5604 002F2564 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 802F5608 002F2568 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 802F560C 002F256C D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802F5610 002F2570 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802F5614 002F2574 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F5618 002F2578 80 84 00 00 */ lwz r4, 0(r4) +/* 802F561C 002F257C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5620 002F2580 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F5624 002F2584 7D 89 03 A6 */ mtctr r12 +/* 802F5628 002F2588 4E 80 04 21 */ bctrl +/* 802F562C 002F258C C0 E1 00 DC */ lfs f7, 0xdc(r1) +/* 802F5630 002F2590 38 61 01 24 */ addi r3, r1, 0x124 +/* 802F5634 002F2594 80 01 00 E0 */ lwz r0, 0xe0(r1) +/* 802F5638 002F2598 C0 C1 00 E4 */ lfs f6, 0xe4(r1) +/* 802F563C 002F259C C0 A1 00 E8 */ lfs f5, 0xe8(r1) +/* 802F5640 002F25A0 C0 81 00 EC */ lfs f4, 0xec(r1) +/* 802F5644 002F25A4 C0 61 00 F0 */ lfs f3, 0xf0(r1) +/* 802F5648 002F25A8 C0 41 00 F4 */ lfs f2, 0xf4(r1) +/* 802F564C 002F25AC C0 21 00 F8 */ lfs f1, 0xf8(r1) +/* 802F5650 002F25B0 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 802F5654 002F25B4 D0 E1 01 24 */ stfs f7, 0x124(r1) +/* 802F5658 002F25B8 90 01 01 28 */ stw r0, 0x128(r1) +/* 802F565C 002F25BC D0 C1 01 2C */ stfs f6, 0x12c(r1) +/* 802F5660 002F25C0 D0 A1 01 30 */ stfs f5, 0x130(r1) +/* 802F5664 002F25C4 D0 81 01 34 */ stfs f4, 0x134(r1) +/* 802F5668 002F25C8 D0 61 01 38 */ stfs f3, 0x138(r1) +/* 802F566C 002F25CC D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 802F5670 002F25D0 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802F5674 002F25D4 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 802F5678 002F25D8 48 05 2D 39 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802F567C 002F25DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5680 002F25E0 41 82 00 64 */ beq lbl_802F56E4 +/* 802F5684 002F25E4 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802F5688 002F25E8 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 802F568C 002F25EC 80 01 00 AC */ lwz r0, 0xac(r1) +/* 802F5690 002F25F0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802F5694 002F25F4 80 0D 9B F8 */ lwz r0, lbl_805A87B8@sda21(r13) +/* 802F5698 002F25F8 C0 0D 9B FC */ lfs f0, lbl_805A87BC@sda21(r13) +/* 802F569C 002F25FC 90 01 00 64 */ stw r0, 0x64(r1) +/* 802F56A0 002F2600 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F56A4 002F2604 90 1E 00 04 */ stw r0, 4(r30) +/* 802F56A8 002F2608 C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 802F56AC 002F260C D0 1E 00 08 */ stfs f0, 8(r30) +/* 802F56B0 002F2610 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 802F56B4 002F2614 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802F56B8 002F2618 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 802F56BC 002F261C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802F56C0 002F2620 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 802F56C4 002F2624 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802F56C8 002F2628 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 802F56CC 002F262C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802F56D0 002F2630 C0 01 01 40 */ lfs f0, 0x140(r1) +/* 802F56D4 002F2634 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802F56D8 002F2638 C0 01 01 44 */ lfs f0, 0x144(r1) +/* 802F56DC 002F263C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802F56E0 002F2640 48 00 02 74 */ b lbl_802F5954 +lbl_802F56E4: +/* 802F56E4 002F2644 38 61 00 50 */ addi r3, r1, 0x50 +/* 802F56E8 002F2648 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802F56EC 002F264C 38 A1 01 24 */ addi r5, r1, 0x124 +/* 802F56F0 002F2650 48 05 30 75 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F56F4 002F2654 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802F56F8 002F2658 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F56FC 002F265C C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802F5700 002F2660 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802F5704 002F2664 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802F5708 002F2668 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802F570C 002F266C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802F5710 002F2670 81 83 00 00 */ lwz r12, 0(r3) +/* 802F5714 002F2674 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F5718 002F2678 7D 89 03 A6 */ mtctr r12 +/* 802F571C 002F267C 4E 80 04 21 */ bctrl +/* 802F5720 002F2680 38 61 00 58 */ addi r3, r1, 0x58 +/* 802F5724 002F2684 48 05 36 C9 */ bl __ct__13CCharAnimTimeFf +/* 802F5728 002F2688 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802F572C 002F268C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802F5730 002F2690 38 9F 00 20 */ addi r4, r31, 0x20 +/* 802F5734 002F2694 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 802F5738 002F2698 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 802F573C 002F269C 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 802F5740 002F26A0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802F5744 002F26A4 48 05 30 21 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5748 002F26A8 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802F574C 002F26AC 7F A4 EB 78 */ mr r4, r29 +/* 802F5750 002F26B0 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802F5754 002F26B4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802F5758 002F26B8 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802F575C 002F26BC 38 A1 00 98 */ addi r5, r1, 0x98 +/* 802F5760 002F26C0 90 01 00 9C */ stw r0, 0x9c(r1) +/* 802F5764 002F26C4 48 05 30 01 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5768 002F26C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802F576C 002F26CC C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802F5770 002F26D0 90 01 00 94 */ stw r0, 0x94(r1) +/* 802F5774 002F26D4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F5778 002F26D8 90 1E 00 04 */ stw r0, 4(r30) +/* 802F577C 002F26DC C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 802F5780 002F26E0 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802F5784 002F26E4 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 802F5788 002F26E8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802F578C 002F26EC C0 01 01 34 */ lfs f0, 0x134(r1) +/* 802F5790 002F26F0 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802F5794 002F26F4 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 802F5798 002F26F8 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802F579C 002F26FC C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 802F57A0 002F2700 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802F57A4 002F2704 C0 01 01 40 */ lfs f0, 0x140(r1) +/* 802F57A8 002F2708 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802F57AC 002F270C C0 01 01 44 */ lfs f0, 0x144(r1) +/* 802F57B0 002F2710 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802F57B4 002F2714 48 00 01 A0 */ b lbl_802F5954 +lbl_802F57B8: +/* 802F57B8 002F2718 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802F57BC 002F271C 38 81 00 08 */ addi r4, r1, 8 +/* 802F57C0 002F2720 C0 3F 00 28 */ lfs f1, 0x28(r31) +/* 802F57C4 002F2724 38 A1 00 0C */ addi r5, r1, 0xc +/* 802F57C8 002F2728 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802F57CC 002F272C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802F57D0 002F2730 D0 01 00 08 */ stfs f0, 8(r1) +/* 802F57D4 002F2734 81 83 00 00 */ lwz r12, 0(r3) +/* 802F57D8 002F2738 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802F57DC 002F273C 7D 89 03 A6 */ mtctr r12 +/* 802F57E0 002F2740 4E 80 04 21 */ bctrl +/* 802F57E4 002F2744 38 61 00 38 */ addi r3, r1, 0x38 +/* 802F57E8 002F2748 48 05 36 05 */ bl __ct__13CCharAnimTimeFf +/* 802F57EC 002F274C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802F57F0 002F2750 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802F57F4 002F2754 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802F57F8 002F2758 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802F57FC 002F275C 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F5800 002F2760 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802F5804 002F2764 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 802F5808 002F2768 C3 E5 00 00 */ lfs f31, 0(r5) +/* 802F580C 002F276C 90 01 00 8C */ stw r0, 0x8c(r1) +/* 802F5810 002F2770 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F5814 002F2774 C3 C5 00 04 */ lfs f30, 4(r5) +/* 802F5818 002F2778 C3 A5 00 08 */ lfs f29, 8(r5) +/* 802F581C 002F277C C3 84 00 00 */ lfs f28, 0(r4) +/* 802F5820 002F2780 C3 64 00 04 */ lfs f27, 4(r4) +/* 802F5824 002F2784 C3 44 00 08 */ lfs f26, 8(r4) +/* 802F5828 002F2788 C3 24 00 0C */ lfs f25, 0xc(r4) +/* 802F582C 002F278C C0 22 C6 A0 */ lfs f1, lbl_805AE3C0@sda21(r2) +/* 802F5830 002F2790 48 05 35 BD */ bl __ct__13CCharAnimTimeFf +/* 802F5834 002F2794 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802F5838 002F2798 38 61 00 88 */ addi r3, r1, 0x88 +/* 802F583C 002F279C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F5840 002F27A0 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 802F5844 002F27A4 90 01 01 04 */ stw r0, 0x104(r1) +/* 802F5848 002F27A8 D3 E1 01 08 */ stfs f31, 0x108(r1) +/* 802F584C 002F27AC D3 C1 01 0C */ stfs f30, 0x10c(r1) +/* 802F5850 002F27B0 D3 A1 01 10 */ stfs f29, 0x110(r1) +/* 802F5854 002F27B4 D3 81 01 14 */ stfs f28, 0x114(r1) +/* 802F5858 002F27B8 D3 61 01 18 */ stfs f27, 0x118(r1) +/* 802F585C 002F27BC D3 41 01 1C */ stfs f26, 0x11c(r1) +/* 802F5860 002F27C0 D3 21 01 20 */ stfs f25, 0x120(r1) +/* 802F5864 002F27C4 48 05 2B 89 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F5868 002F27C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F586C 002F27CC 41 82 00 6C */ beq lbl_802F58D8 +/* 802F5870 002F27D0 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F5874 002F27D4 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802F5878 002F27D8 38 A1 00 88 */ addi r5, r1, 0x88 +/* 802F587C 002F27DC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5880 002F27E0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5884 002F27E4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F5888 002F27E8 7D 89 03 A6 */ mtctr r12 +/* 802F588C 002F27EC 4E 80 04 21 */ bctrl +/* 802F5890 002F27F0 81 41 00 B8 */ lwz r10, 0xb8(r1) +/* 802F5894 002F27F4 81 21 00 BC */ lwz r9, 0xbc(r1) +/* 802F5898 002F27F8 81 01 00 C0 */ lwz r8, 0xc0(r1) +/* 802F589C 002F27FC 80 E1 00 C4 */ lwz r7, 0xc4(r1) +/* 802F58A0 002F2800 80 C1 00 C8 */ lwz r6, 0xc8(r1) +/* 802F58A4 002F2804 80 A1 00 CC */ lwz r5, 0xcc(r1) +/* 802F58A8 002F2808 80 81 00 D0 */ lwz r4, 0xd0(r1) +/* 802F58AC 002F280C 80 61 00 D4 */ lwz r3, 0xd4(r1) +/* 802F58B0 002F2810 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 802F58B4 002F2814 91 41 01 00 */ stw r10, 0x100(r1) +/* 802F58B8 002F2818 91 21 01 04 */ stw r9, 0x104(r1) +/* 802F58BC 002F281C 91 01 01 08 */ stw r8, 0x108(r1) +/* 802F58C0 002F2820 90 E1 01 0C */ stw r7, 0x10c(r1) +/* 802F58C4 002F2824 90 C1 01 10 */ stw r6, 0x110(r1) +/* 802F58C8 002F2828 90 A1 01 14 */ stw r5, 0x114(r1) +/* 802F58CC 002F282C 90 81 01 18 */ stw r4, 0x118(r1) +/* 802F58D0 002F2830 90 61 01 1C */ stw r3, 0x11c(r1) +/* 802F58D4 002F2834 90 01 01 20 */ stw r0, 0x120(r1) +lbl_802F58D8: +/* 802F58D8 002F2838 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F58DC 002F283C 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802F58E0 002F2840 38 BF 00 28 */ addi r5, r31, 0x28 +/* 802F58E4 002F2844 48 05 2E 81 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F58E8 002F2848 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F58EC 002F284C 38 81 01 00 */ addi r4, r1, 0x100 +/* 802F58F0 002F2850 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802F58F4 002F2854 48 05 2C B1 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F58F8 002F2858 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802F58FC 002F285C C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802F5900 002F2860 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 802F5904 002F2864 90 61 00 84 */ stw r3, 0x84(r1) +/* 802F5908 002F2868 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 802F590C 002F286C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 802F5910 002F2870 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802F5914 002F2874 D0 3E 00 00 */ stfs f1, 0(r30) +/* 802F5918 002F2878 90 7E 00 04 */ stw r3, 4(r30) +/* 802F591C 002F287C C0 01 01 08 */ lfs f0, 0x108(r1) +/* 802F5920 002F2880 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802F5924 002F2884 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 802F5928 002F2888 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802F592C 002F288C C0 01 01 10 */ lfs f0, 0x110(r1) +/* 802F5930 002F2890 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802F5934 002F2894 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 802F5938 002F2898 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802F593C 002F289C C0 01 01 18 */ lfs f0, 0x118(r1) +/* 802F5940 002F28A0 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802F5944 002F28A4 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 802F5948 002F28A8 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802F594C 002F28AC C0 01 01 20 */ lfs f0, 0x120(r1) +/* 802F5950 002F28B0 D0 1E 00 20 */ stfs f0, 0x20(r30) +lbl_802F5954: +/* 802F5954 002F28B4 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802F5958 002F28B8 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802F595C 002F28BC E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802F5960 002F28C0 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802F5964 002F28C4 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 802F5968 002F28C8 CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 802F596C 002F28CC E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 +/* 802F5970 002F28D0 CB 81 01 90 */ lfd f28, 0x190(r1) +/* 802F5974 002F28D4 E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 +/* 802F5978 002F28D8 CB 61 01 80 */ lfd f27, 0x180(r1) +/* 802F597C 002F28DC E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 +/* 802F5980 002F28E0 CB 41 01 70 */ lfd f26, 0x170(r1) +/* 802F5984 002F28E4 E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 +/* 802F5988 002F28E8 CB 21 01 60 */ lfd f25, 0x160(r1) +/* 802F598C 002F28EC 83 E1 01 5C */ lwz r31, 0x15c(r1) +/* 802F5990 002F28F0 83 C1 01 58 */ lwz r30, 0x158(r1) +/* 802F5994 002F28F4 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802F5998 002F28F8 83 A1 01 54 */ lwz r29, 0x154(r1) +/* 802F599C 002F28FC 7C 08 03 A6 */ mtlr r0 +/* 802F59A0 002F2900 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802F59A4 002F2904 4E 80 00 20 */ blr + +.global VGetBestUnblendedChild__19CAnimTreeTransitionCFv +VGetBestUnblendedChild__19CAnimTreeTransitionCFv: +/* 802F59A8 002F2908 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F59AC 002F290C 7C 08 02 A6 */ mflr r0 +/* 802F59B0 002F2910 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F59B4 002F2914 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F59B8 002F2918 7C 7F 1B 78 */ mr r31, r3 +/* 802F59BC 002F291C 38 61 00 08 */ addi r3, r1, 8 +/* 802F59C0 002F2920 80 A4 00 18 */ lwz r5, 0x18(r4) +/* 802F59C4 002F2924 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802F59C8 002F2928 80 85 00 04 */ lwz r4, 4(r5) +/* 802F59CC 002F292C 38 04 00 01 */ addi r0, r4, 1 +/* 802F59D0 002F2930 90 05 00 04 */ stw r0, 4(r5) +/* 802F59D4 002F2934 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802F59D8 002F2938 80 84 00 00 */ lwz r4, 0(r4) +/* 802F59DC 002F293C 4B FE 34 A5 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802F59E0 002F2940 80 A1 00 08 */ lwz r5, 8(r1) +/* 802F59E4 002F2944 38 61 00 08 */ addi r3, r1, 8 +/* 802F59E8 002F2948 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802F59EC 002F294C 80 85 00 04 */ lwz r4, 4(r5) +/* 802F59F0 002F2950 38 04 00 01 */ addi r0, r4, 1 +/* 802F59F4 002F2954 90 05 00 04 */ stw r0, 4(r5) +/* 802F59F8 002F2958 4B D3 B5 A9 */ bl sub_80030fa0 +/* 802F59FC 002F295C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F5A00 002F2960 80 03 00 00 */ lwz r0, 0(r3) +/* 802F5A04 002F2964 28 00 00 00 */ cmplwi r0, 0 +/* 802F5A08 002F2968 40 82 00 30 */ bne lbl_802F5A38 +/* 802F5A0C 002F296C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802F5A10 002F2970 38 61 00 0C */ addi r3, r1, 0xc +/* 802F5A14 002F2974 90 1F 00 00 */ stw r0, 0(r31) +/* 802F5A18 002F2978 80 BF 00 00 */ lwz r5, 0(r31) +/* 802F5A1C 002F297C 80 85 00 04 */ lwz r4, 4(r5) +/* 802F5A20 002F2980 38 04 00 01 */ addi r0, r4, 1 +/* 802F5A24 002F2984 90 05 00 04 */ stw r0, 4(r5) +/* 802F5A28 002F2988 4B D3 B5 79 */ bl sub_80030fa0 +/* 802F5A2C 002F298C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5A30 002F2990 4B D3 B5 71 */ bl sub_80030fa0 +/* 802F5A34 002F2994 48 00 00 28 */ b lbl_802F5A5C +lbl_802F5A38: +/* 802F5A38 002F2998 90 7F 00 00 */ stw r3, 0(r31) +/* 802F5A3C 002F299C 38 61 00 0C */ addi r3, r1, 0xc +/* 802F5A40 002F29A0 80 BF 00 00 */ lwz r5, 0(r31) +/* 802F5A44 002F29A4 80 85 00 04 */ lwz r4, 4(r5) +/* 802F5A48 002F29A8 38 04 00 01 */ addi r0, r4, 1 +/* 802F5A4C 002F29AC 90 05 00 04 */ stw r0, 4(r5) +/* 802F5A50 002F29B0 4B D3 B5 51 */ bl sub_80030fa0 +/* 802F5A54 002F29B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5A58 002F29B8 4B D3 B5 49 */ bl sub_80030fa0 +lbl_802F5A5C: +/* 802F5A5C 002F29BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F5A60 002F29C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F5A64 002F29C4 7C 08 03 A6 */ mtlr r0 +/* 802F5A68 002F29C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F5A6C 002F29CC 4E 80 00 20 */ blr + +.global SetBlendingWeight__19CAnimTreeTransitionFf +SetBlendingWeight__19CAnimTreeTransitionFf: +/* 802F5A70 002F29D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F5A74 002F29D4 7C 08 02 A6 */ mflr r0 +/* 802F5A78 002F29D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F5A7C 002F29DC 80 83 00 18 */ lwz r4, 0x18(r3) +/* 802F5A80 002F29E0 90 81 00 08 */ stw r4, 8(r1) +/* 802F5A84 002F29E4 80 64 00 04 */ lwz r3, 4(r4) +/* 802F5A88 002F29E8 38 03 00 01 */ addi r0, r3, 1 +/* 802F5A8C 002F29EC 90 04 00 04 */ stw r0, 4(r4) +/* 802F5A90 002F29F0 80 61 00 08 */ lwz r3, 8(r1) +/* 802F5A94 002F29F4 80 63 00 00 */ lwz r3, 0(r3) +/* 802F5A98 002F29F8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F5A9C 002F29FC 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 802F5AA0 002F2A00 7D 89 03 A6 */ mtctr r12 +/* 802F5AA4 002F2A04 4E 80 04 21 */ bctrl +/* 802F5AA8 002F2A08 38 61 00 08 */ addi r3, r1, 8 +/* 802F5AAC 002F2A0C 4B D3 B4 F5 */ bl sub_80030fa0 +/* 802F5AB0 002F2A10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F5AB4 002F2A14 7C 08 03 A6 */ mtlr r0 +/* 802F5AB8 002F2A18 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F5ABC 002F2A1C 4E 80 00 20 */ blr + +.global "CreatePrimitiveName__19CAnimTreeTransitionFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f" +"CreatePrimitiveName__19CAnimTreeTransitionFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>f": +/* 802F5AC0 002F2A20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F5AC4 002F2A24 7C 08 02 A6 */ mflr r0 +/* 802F5AC8 002F2A28 3C 80 80 3D */ lis r4, lbl_803D6E10@ha +/* 802F5ACC 002F2A2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F5AD0 002F2A30 38 84 6E 10 */ addi r4, r4, lbl_803D6E10@l +/* 802F5AD4 002F2A34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F5AD8 002F2A38 7C 7F 1B 78 */ mr r31, r3 +/* 802F5ADC 002F2A3C 4B D0 F1 DD */ bl string_l__4rstlFPCc +/* 802F5AE0 002F2A40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F5AE4 002F2A44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F5AE8 002F2A48 7C 08 03 A6 */ mtlr r0 +/* 802F5AEC 002F2A4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F5AF0 002F2A50 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__19CAnimTreeTransitionCFv +VGetSteadyStateAnimInfo__19CAnimTreeTransitionCFv: +/* 802F5AF4 002F2A54 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802F5AF8 002F2A58 7C 08 02 A6 */ mflr r0 +/* 802F5AFC 002F2A5C 90 01 00 84 */ stw r0, 0x84(r1) +/* 802F5B00 002F2A60 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802F5B04 002F2A64 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802F5B08 002F2A68 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 802F5B0C 002F2A6C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 802F5B10 002F2A70 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 802F5B14 002F2A74 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 802F5B18 002F2A78 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802F5B1C 002F2A7C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802F5B20 002F2A80 7C 9F 23 78 */ mr r31, r4 +/* 802F5B24 002F2A84 7C 7E 1B 78 */ mr r30, r3 +/* 802F5B28 002F2A88 80 84 00 18 */ lwz r4, 0x18(r4) +/* 802F5B2C 002F2A8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5B30 002F2A90 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5B34 002F2A94 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5B38 002F2A98 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802F5B3C 002F2A9C 7D 89 03 A6 */ mtctr r12 +/* 802F5B40 002F2AA0 4E 80 04 21 */ bctrl +/* 802F5B44 002F2AA4 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802F5B48 002F2AA8 38 7F 00 24 */ addi r3, r31, 0x24 +/* 802F5B4C 002F2AAC C3 A1 00 18 */ lfs f29, 0x18(r1) +/* 802F5B50 002F2AB0 38 81 00 08 */ addi r4, r1, 8 +/* 802F5B54 002F2AB4 C3 C1 00 1C */ lfs f30, 0x1c(r1) +/* 802F5B58 002F2AB8 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 802F5B5C 002F2ABC 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802F5B60 002F2AC0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802F5B64 002F2AC4 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 802F5B68 002F2AC8 D3 A1 00 30 */ stfs f29, 0x30(r1) +/* 802F5B6C 002F2ACC D3 C1 00 34 */ stfs f30, 0x34(r1) +/* 802F5B70 002F2AD0 D3 E1 00 38 */ stfs f31, 0x38(r1) +/* 802F5B74 002F2AD4 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802F5B78 002F2AD8 D0 01 00 08 */ stfs f0, 8(r1) +/* 802F5B7C 002F2ADC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802F5B80 002F2AE0 48 05 30 BD */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5B84 002F2AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5B88 002F2AE8 41 82 00 0C */ beq lbl_802F5B94 +/* 802F5B8C 002F2AEC 38 61 00 08 */ addi r3, r1, 8 +/* 802F5B90 002F2AF0 48 00 00 08 */ b lbl_802F5B98 +lbl_802F5B94: +/* 802F5B94 002F2AF4 38 7F 00 24 */ addi r3, r31, 0x24 +lbl_802F5B98: +/* 802F5B98 002F2AF8 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F5B9C 002F2AFC 88 81 00 3C */ lbz r4, 0x3c(r1) +/* 802F5BA0 002F2B00 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F5BA4 002F2B04 80 03 00 04 */ lwz r0, 4(r3) +/* 802F5BA8 002F2B08 90 1E 00 04 */ stw r0, 4(r30) +/* 802F5BAC 002F2B0C D3 BE 00 08 */ stfs f29, 8(r30) +/* 802F5BB0 002F2B10 D3 DE 00 0C */ stfs f30, 0xc(r30) +/* 802F5BB4 002F2B14 D3 FE 00 10 */ stfs f31, 0x10(r30) +/* 802F5BB8 002F2B18 98 9E 00 14 */ stb r4, 0x14(r30) +/* 802F5BBC 002F2B1C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802F5BC0 002F2B20 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802F5BC4 002F2B24 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 802F5BC8 002F2B28 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 802F5BCC 002F2B2C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 802F5BD0 002F2B30 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 802F5BD4 002F2B34 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802F5BD8 002F2B38 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802F5BDC 002F2B3C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802F5BE0 002F2B40 7C 08 03 A6 */ mtlr r0 +/* 802F5BE4 002F2B44 38 21 00 80 */ addi r1, r1, 0x80 +/* 802F5BE8 002F2B48 4E 80 00 20 */ blr + +.global VGetTimeRemaining__19CAnimTreeTransitionCFv +VGetTimeRemaining__19CAnimTreeTransitionCFv: +/* 802F5BEC 002F2B4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F5BF0 002F2B50 7C 08 02 A6 */ mflr r0 +/* 802F5BF4 002F2B54 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F5BF8 002F2B58 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F5BFC 002F2B5C 7C 9F 23 78 */ mr r31, r4 +/* 802F5C00 002F2B60 38 9F 00 24 */ addi r4, r31, 0x24 +/* 802F5C04 002F2B64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F5C08 002F2B68 7C 7E 1B 78 */ mr r30, r3 +/* 802F5C0C 002F2B6C 38 61 00 08 */ addi r3, r1, 8 +/* 802F5C10 002F2B70 38 BF 00 2C */ addi r5, r31, 0x2c +/* 802F5C14 002F2B74 48 05 2B 51 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5C18 002F2B78 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 802F5C1C 002F2B7C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5C20 002F2B80 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5C24 002F2B84 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5C28 002F2B88 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802F5C2C 002F2B8C 7D 89 03 A6 */ mtctr r12 +/* 802F5C30 002F2B90 4E 80 04 21 */ bctrl +/* 802F5C34 002F2B94 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5C38 002F2B98 38 81 00 08 */ addi r4, r1, 8 +/* 802F5C3C 002F2B9C 48 05 30 01 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5C40 002F2BA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5C44 002F2BA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F5C48 002F2BA8 41 82 00 08 */ beq lbl_802F5C50 +/* 802F5C4C 002F2BAC 38 61 00 08 */ addi r3, r1, 8 +lbl_802F5C50: +/* 802F5C50 002F2BB0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802F5C54 002F2BB4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F5C58 002F2BB8 80 03 00 04 */ lwz r0, 4(r3) +/* 802F5C5C 002F2BBC 90 1E 00 04 */ stw r0, 4(r30) +/* 802F5C60 002F2BC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F5C64 002F2BC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F5C68 002F2BC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F5C6C 002F2BCC 7C 08 03 A6 */ mtlr r0 +/* 802F5C70 002F2BD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F5C74 002F2BD4 4E 80 00 20 */ blr + +.global VGetBlendingWeight__19CAnimTreeTransitionCFv +VGetBlendingWeight__19CAnimTreeTransitionCFv: +/* 802F5C78 002F2BD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F5C7C 002F2BDC 7C 08 02 A6 */ mflr r0 +/* 802F5C80 002F2BE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F5C84 002F2BE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F5C88 002F2BE8 7C 7F 1B 78 */ mr r31, r3 +/* 802F5C8C 002F2BEC 38 7F 00 24 */ addi r3, r31, 0x24 +/* 802F5C90 002F2BF0 48 05 27 5D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F5C94 002F2BF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5C98 002F2BF8 41 82 00 1C */ beq lbl_802F5CB4 +/* 802F5C9C 002F2BFC C0 42 C6 A8 */ lfs f2, lbl_805AE3C8@sda21(r2) +/* 802F5CA0 002F2C00 C0 3F 00 24 */ lfs f1, 0x24(r31) +/* 802F5CA4 002F2C04 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802F5CA8 002F2C08 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802F5CAC 002F2C0C EC 21 00 32 */ fmuls f1, f1, f0 +/* 802F5CB0 002F2C10 48 00 00 08 */ b lbl_802F5CB8 +lbl_802F5CB4: +/* 802F5CB4 002F2C14 C0 22 C6 A8 */ lfs f1, lbl_805AE3C8@sda21(r2) +lbl_802F5CB8: +/* 802F5CB8 002F2C18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F5CBC 002F2C1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F5CC0 002F2C20 7C 08 03 A6 */ mtlr r0 +/* 802F5CC4 002F2C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F5CC8 002F2C28 4E 80 00 20 */ blr + +.global VClone__19CAnimTreeTransitionCFv +VClone__19CAnimTreeTransitionCFv: +/* 802F5CCC 002F2C2C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802F5CD0 002F2C30 7C 08 02 A6 */ mflr r0 +/* 802F5CD4 002F2C34 3C A0 80 3D */ lis r5, lbl_803D6E10@ha +/* 802F5CD8 002F2C38 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F5CDC 002F2C3C BF 21 00 34 */ stmw r25, 0x34(r1) +/* 802F5CE0 002F2C40 7C 7F 1B 78 */ mr r31, r3 +/* 802F5CE4 002F2C44 38 65 6E 10 */ addi r3, r5, lbl_803D6E10@l +/* 802F5CE8 002F2C48 7C 99 23 78 */ mr r25, r4 +/* 802F5CEC 002F2C4C 38 83 00 01 */ addi r4, r3, 1 +/* 802F5CF0 002F2C50 3B C0 00 00 */ li r30, 0 +/* 802F5CF4 002F2C54 3B A0 00 00 */ li r29, 0 +/* 802F5CF8 002F2C58 3B 80 00 00 */ li r28, 0 +/* 802F5CFC 002F2C5C 3B 40 00 00 */ li r26, 0 +/* 802F5D00 002F2C60 38 60 00 38 */ li r3, 0x38 +/* 802F5D04 002F2C64 38 A0 00 00 */ li r5, 0 +/* 802F5D08 002F2C68 48 01 FB 65 */ bl __nw__FUlPCcPCc +/* 802F5D0C 002F2C6C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802F5D10 002F2C70 41 82 00 A4 */ beq lbl_802F5DB4 +/* 802F5D14 002F2C74 80 99 00 18 */ lwz r4, 0x18(r25) +/* 802F5D18 002F2C78 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F5D1C 002F2C7C 83 59 00 1C */ lwz r26, 0x1c(r25) +/* 802F5D20 002F2C80 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5D24 002F2C84 4B F8 CD BD */ bl Clone__11IAnimReaderCFv +/* 802F5D28 002F2C88 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F5D2C 002F2C8C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802F5D30 002F2C90 3B C0 00 01 */ li r30, 1 +/* 802F5D34 002F2C94 4B FF DE C5 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F5D38 002F2C98 80 99 00 14 */ lwz r4, 0x14(r25) +/* 802F5D3C 002F2C9C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F5D40 002F2CA0 3B A0 00 01 */ li r29, 1 +/* 802F5D44 002F2CA4 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5D48 002F2CA8 4B F8 CD 99 */ bl Clone__11IAnimReaderCFv +/* 802F5D4C 002F2CAC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F5D50 002F2CB0 38 81 00 20 */ addi r4, r1, 0x20 +/* 802F5D54 002F2CB4 3B 80 00 01 */ li r28, 1 +/* 802F5D58 002F2CB8 4B FF DE A1 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802F5D5C 002F2CBC 93 41 00 08 */ stw r26, 8(r1) +/* 802F5D60 002F2CC0 38 19 00 04 */ addi r0, r25, 4 +/* 802F5D64 002F2CC4 7F 63 DB 78 */ mr r3, r27 +/* 802F5D68 002F2CC8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802F5D6C 002F2CCC 90 01 00 0C */ stw r0, 0xc(r1) +/* 802F5D70 002F2CD0 38 C1 00 1C */ addi r6, r1, 0x1c +/* 802F5D74 002F2CD4 38 F9 00 24 */ addi r7, r25, 0x24 +/* 802F5D78 002F2CD8 39 19 00 2C */ addi r8, r25, 0x2c +/* 802F5D7C 002F2CDC 88 19 00 36 */ lbz r0, 0x36(r25) +/* 802F5D80 002F2CE0 3B 40 00 01 */ li r26, 1 +/* 802F5D84 002F2CE4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802F5D88 002F2CE8 88 19 00 20 */ lbz r0, 0x20(r25) +/* 802F5D8C 002F2CEC 89 39 00 34 */ lbz r9, 0x34(r25) +/* 802F5D90 002F2CF0 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 +/* 802F5D94 002F2CF4 89 59 00 35 */ lbz r10, 0x35(r25) +/* 802F5D98 002F2CF8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 802F5D9C 002F2CFC 7C 04 07 74 */ extsb r4, r0 +/* 802F5DA0 002F2D00 7C 04 00 D0 */ neg r0, r4 +/* 802F5DA4 002F2D04 7C 00 23 78 */ or r0, r0, r4 +/* 802F5DA8 002F2D08 54 04 0F FE */ srwi r4, r0, 0x1f +/* 802F5DAC 002F2D0C 48 00 0A CD */ bl "__ct__19CAnimTreeTransitionFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC13CCharAnimTimeRC13CCharAnimTimebbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +/* 802F5DB0 002F2D10 7C 7B 1B 78 */ mr r27, r3 +lbl_802F5DB4: +/* 802F5DB4 002F2D14 7C 7B 00 D0 */ neg r3, r27 +/* 802F5DB8 002F2D18 7F 40 07 75 */ extsb. r0, r26 +/* 802F5DBC 002F2D1C 7C 60 DB 78 */ or r0, r3, r27 +/* 802F5DC0 002F2D20 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802F5DC4 002F2D24 98 1F 00 00 */ stb r0, 0(r31) +/* 802F5DC8 002F2D28 93 7F 00 04 */ stw r27, 4(r31) +/* 802F5DCC 002F2D2C 41 82 00 0C */ beq lbl_802F5DD8 +/* 802F5DD0 002F2D30 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F5DD4 002F2D34 4B D3 B1 CD */ bl sub_80030fa0 +lbl_802F5DD8: +/* 802F5DD8 002F2D38 7F 80 07 75 */ extsb. r0, r28 +/* 802F5DDC 002F2D3C 41 82 00 30 */ beq lbl_802F5E0C +/* 802F5DE0 002F2D40 88 01 00 20 */ lbz r0, 0x20(r1) +/* 802F5DE4 002F2D44 28 00 00 00 */ cmplwi r0, 0 +/* 802F5DE8 002F2D48 41 82 00 24 */ beq lbl_802F5E0C +/* 802F5DEC 002F2D4C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802F5DF0 002F2D50 28 03 00 00 */ cmplwi r3, 0 +/* 802F5DF4 002F2D54 41 82 00 18 */ beq lbl_802F5E0C +/* 802F5DF8 002F2D58 81 83 00 00 */ lwz r12, 0(r3) +/* 802F5DFC 002F2D5C 38 80 00 01 */ li r4, 1 +/* 802F5E00 002F2D60 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F5E04 002F2D64 7D 89 03 A6 */ mtctr r12 +/* 802F5E08 002F2D68 4E 80 04 21 */ bctrl +lbl_802F5E0C: +/* 802F5E0C 002F2D6C 7F A0 07 75 */ extsb. r0, r29 +/* 802F5E10 002F2D70 41 82 00 0C */ beq lbl_802F5E1C +/* 802F5E14 002F2D74 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F5E18 002F2D78 4B D3 B1 89 */ bl sub_80030fa0 +lbl_802F5E1C: +/* 802F5E1C 002F2D7C 7F C0 07 75 */ extsb. r0, r30 +/* 802F5E20 002F2D80 41 82 00 30 */ beq lbl_802F5E50 +/* 802F5E24 002F2D84 88 01 00 28 */ lbz r0, 0x28(r1) +/* 802F5E28 002F2D88 28 00 00 00 */ cmplwi r0, 0 +/* 802F5E2C 002F2D8C 41 82 00 24 */ beq lbl_802F5E50 +/* 802F5E30 002F2D90 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802F5E34 002F2D94 28 03 00 00 */ cmplwi r3, 0 +/* 802F5E38 002F2D98 41 82 00 18 */ beq lbl_802F5E50 +/* 802F5E3C 002F2D9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802F5E40 002F2DA0 38 80 00 01 */ li r4, 1 +/* 802F5E44 002F2DA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F5E48 002F2DA8 7D 89 03 A6 */ mtctr r12 +/* 802F5E4C 002F2DAC 4E 80 04 21 */ bctrl +lbl_802F5E50: +/* 802F5E50 002F2DB0 BB 21 00 34 */ lmw r25, 0x34(r1) +/* 802F5E54 002F2DB4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F5E58 002F2DB8 7C 08 03 A6 */ mtlr r0 +/* 802F5E5C 002F2DBC 38 21 00 50 */ addi r1, r1, 0x50 +/* 802F5E60 002F2DC0 4E 80 00 20 */ blr + +.global VAdvanceView__19CAnimTreeTransitionFRC13CCharAnimTime +VAdvanceView__19CAnimTreeTransitionFRC13CCharAnimTime: +/* 802F5E64 002F2DC4 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 802F5E68 002F2DC8 7C 08 02 A6 */ mflr r0 +/* 802F5E6C 002F2DCC 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802F5E70 002F2DD0 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 802F5E74 002F2DD4 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 802F5E78 002F2DD8 DB C1 01 80 */ stfd f30, 0x180(r1) +/* 802F5E7C 002F2DDC F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 802F5E80 002F2DE0 DB A1 01 70 */ stfd f29, 0x170(r1) +/* 802F5E84 002F2DE4 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 802F5E88 002F2DE8 DB 81 01 60 */ stfd f28, 0x160(r1) +/* 802F5E8C 002F2DEC F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 +/* 802F5E90 002F2DF0 DB 61 01 50 */ stfd f27, 0x150(r1) +/* 802F5E94 002F2DF4 F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 +/* 802F5E98 002F2DF8 DB 41 01 40 */ stfd f26, 0x140(r1) +/* 802F5E9C 002F2DFC F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 +/* 802F5EA0 002F2E00 DB 21 01 30 */ stfd f25, 0x130(r1) +/* 802F5EA4 002F2E04 F3 21 01 38 */ psq_st f25, 312(r1), 0, qr0 +/* 802F5EA8 002F2E08 93 E1 01 2C */ stw r31, 0x12c(r1) +/* 802F5EAC 002F2E0C 93 C1 01 28 */ stw r30, 0x128(r1) +/* 802F5EB0 002F2E10 93 A1 01 24 */ stw r29, 0x124(r1) +/* 802F5EB4 002F2E14 7C BF 2B 78 */ mr r31, r5 +/* 802F5EB8 002F2E18 7C 7D 1B 78 */ mr r29, r3 +/* 802F5EBC 002F2E1C 7C 9E 23 78 */ mr r30, r4 +/* 802F5EC0 002F2E20 7F E3 FB 78 */ mr r3, r31 +/* 802F5EC4 002F2E24 48 05 24 ED */ bl EqualsZero__13CCharAnimTimeCFv +/* 802F5EC8 002F2E28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5ECC 002F2E2C 41 82 00 DC */ beq lbl_802F5FA8 +/* 802F5ED0 002F2E30 80 8D A7 40 */ lwz r4, lbl_805A9300@sda21(r13) +/* 802F5ED4 002F2E34 7F E5 FB 78 */ mr r5, r31 +/* 802F5ED8 002F2E38 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802F5EDC 002F2E3C 38 04 00 01 */ addi r0, r4, 1 +/* 802F5EE0 002F2E40 90 0D A7 40 */ stw r0, lbl_805A9300@sda21(r13) +/* 802F5EE4 002F2E44 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F5EE8 002F2E48 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5EEC 002F2E4C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5EF0 002F2E50 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F5EF4 002F2E54 7D 89 03 A6 */ mtctr r12 +/* 802F5EF8 002F2E58 4E 80 04 21 */ bctrl +/* 802F5EFC 002F2E5C 88 1E 00 34 */ lbz r0, 0x34(r30) +/* 802F5F00 002F2E60 28 00 00 00 */ cmplwi r0, 0 +/* 802F5F04 002F2E64 41 82 00 24 */ beq lbl_802F5F28 +/* 802F5F08 002F2E68 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F5F0C 002F2E6C 7F E5 FB 78 */ mr r5, r31 +/* 802F5F10 002F2E70 38 61 00 90 */ addi r3, r1, 0x90 +/* 802F5F14 002F2E74 80 84 00 00 */ lwz r4, 0(r4) +/* 802F5F18 002F2E78 81 84 00 00 */ lwz r12, 0(r4) +/* 802F5F1C 002F2E7C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802F5F20 002F2E80 7D 89 03 A6 */ mtctr r12 +/* 802F5F24 002F2E84 4E 80 04 21 */ bctrl +lbl_802F5F28: +/* 802F5F28 002F2E88 80 6D A7 40 */ lwz r3, lbl_805A9300@sda21(r13) +/* 802F5F2C 002F2E8C 38 03 FF FF */ addi r0, r3, -1 +/* 802F5F30 002F2E90 90 0D A7 40 */ stw r0, lbl_805A9300@sda21(r13) +/* 802F5F34 002F2E94 48 00 10 C9 */ bl ShouldCullTree__18CAnimTreeTweenBaseFv +/* 802F5F38 002F2E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5F3C 002F2E9C 41 82 00 14 */ beq lbl_802F5F50 +/* 802F5F40 002F2EA0 88 1E 00 20 */ lbz r0, 0x20(r30) +/* 802F5F44 002F2EA4 38 60 00 01 */ li r3, 1 +/* 802F5F48 002F2EA8 50 60 2E 74 */ rlwimi r0, r3, 5, 0x19, 0x1a +/* 802F5F4C 002F2EAC 98 1E 00 20 */ stb r0, 0x20(r30) +lbl_802F5F50: +/* 802F5F50 002F2EB0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802F5F54 002F2EB4 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802F5F58 002F2EB8 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F5F5C 002F2EBC C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802F5F60 002F2EC0 80 0D 9C 08 */ lwz r0, lbl_805A87C8@sda21(r13) +/* 802F5F64 002F2EC4 C0 44 00 04 */ lfs f2, 4(r4) +/* 802F5F68 002F2EC8 C0 64 00 08 */ lfs f3, 8(r4) +/* 802F5F6C 002F2ECC C0 A3 00 04 */ lfs f5, 4(r3) +/* 802F5F70 002F2ED0 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802F5F74 002F2ED4 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802F5F78 002F2ED8 C0 0D 9C 0C */ lfs f0, lbl_805A87CC@sda21(r13) +/* 802F5F7C 002F2EDC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F5F80 002F2EE0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F5F84 002F2EE4 90 1D 00 04 */ stw r0, 4(r29) +/* 802F5F88 002F2EE8 D0 3D 00 08 */ stfs f1, 8(r29) +/* 802F5F8C 002F2EEC D0 5D 00 0C */ stfs f2, 0xc(r29) +/* 802F5F90 002F2EF0 D0 7D 00 10 */ stfs f3, 0x10(r29) +/* 802F5F94 002F2EF4 D0 9D 00 14 */ stfs f4, 0x14(r29) +/* 802F5F98 002F2EF8 D0 BD 00 18 */ stfs f5, 0x18(r29) +/* 802F5F9C 002F2EFC D0 DD 00 1C */ stfs f6, 0x1c(r29) +/* 802F5FA0 002F2F00 D0 FD 00 20 */ stfs f7, 0x20(r29) +/* 802F5FA4 002F2F04 48 00 02 98 */ b lbl_802F623C +lbl_802F5FA8: +/* 802F5FA8 002F2F08 88 1E 00 36 */ lbz r0, 0x36(r30) +/* 802F5FAC 002F2F0C 28 00 00 00 */ cmplwi r0, 0 +/* 802F5FB0 002F2F10 40 82 00 0C */ bne lbl_802F5FBC +/* 802F5FB4 002F2F14 38 00 00 01 */ li r0, 1 +/* 802F5FB8 002F2F18 98 1E 00 36 */ stb r0, 0x36(r30) +lbl_802F5FBC: +/* 802F5FBC 002F2F1C 7F E5 FB 78 */ mr r5, r31 +/* 802F5FC0 002F2F20 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F5FC4 002F2F24 38 9E 00 2C */ addi r4, r30, 0x2c +/* 802F5FC8 002F2F28 48 05 25 DD */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5FCC 002F2F2C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802F5FD0 002F2F30 38 9E 00 24 */ addi r4, r30, 0x24 +/* 802F5FD4 002F2F34 48 05 2C 69 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F5FD8 002F2F38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F5FDC 002F2F3C 41 82 00 B8 */ beq lbl_802F6094 +/* 802F5FE0 002F2F40 7F C4 F3 78 */ mr r4, r30 +/* 802F5FE4 002F2F44 7F E5 FB 78 */ mr r5, r31 +/* 802F5FE8 002F2F48 38 61 00 6C */ addi r3, r1, 0x6c +/* 802F5FEC 002F2F4C 48 00 02 A5 */ bl AdvanceViewForTransitionalPeriod__19CAnimTreeTransitionFRC13CCharAnimTime +/* 802F5FF0 002F2F50 C0 E1 00 6C */ lfs f7, 0x6c(r1) +/* 802F5FF4 002F2F54 7F E4 FB 78 */ mr r4, r31 +/* 802F5FF8 002F2F58 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802F5FFC 002F2F5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F6000 002F2F60 C0 C1 00 74 */ lfs f6, 0x74(r1) +/* 802F6004 002F2F64 38 A1 00 FC */ addi r5, r1, 0xfc +/* 802F6008 002F2F68 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 802F600C 002F2F6C C0 81 00 7C */ lfs f4, 0x7c(r1) +/* 802F6010 002F2F70 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 802F6014 002F2F74 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802F6018 002F2F78 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802F601C 002F2F7C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802F6020 002F2F80 D0 E1 00 FC */ stfs f7, 0xfc(r1) +/* 802F6024 002F2F84 90 01 01 00 */ stw r0, 0x100(r1) +/* 802F6028 002F2F88 D0 C1 01 04 */ stfs f6, 0x104(r1) +/* 802F602C 002F2F8C D0 A1 01 08 */ stfs f5, 0x108(r1) +/* 802F6030 002F2F90 D0 81 01 0C */ stfs f4, 0x10c(r1) +/* 802F6034 002F2F94 D0 61 01 10 */ stfs f3, 0x110(r1) +/* 802F6038 002F2F98 D0 41 01 14 */ stfs f2, 0x114(r1) +/* 802F603C 002F2F9C D0 21 01 18 */ stfs f1, 0x118(r1) +/* 802F6040 002F2FA0 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 802F6044 002F2FA4 48 05 27 21 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F6048 002F2FA8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802F604C 002F2FAC D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F6050 002F2FB0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F6054 002F2FB4 90 1D 00 04 */ stw r0, 4(r29) +/* 802F6058 002F2FB8 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 802F605C 002F2FBC D0 1D 00 08 */ stfs f0, 8(r29) +/* 802F6060 002F2FC0 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 802F6064 002F2FC4 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802F6068 002F2FC8 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 802F606C 002F2FCC D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802F6070 002F2FD0 C0 01 01 10 */ lfs f0, 0x110(r1) +/* 802F6074 002F2FD4 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802F6078 002F2FD8 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 802F607C 002F2FDC D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 802F6080 002F2FE0 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 802F6084 002F2FE4 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802F6088 002F2FE8 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 802F608C 002F2FEC D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 802F6090 002F2FF0 48 00 01 AC */ b lbl_802F623C +lbl_802F6094: +/* 802F6094 002F2FF4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F6098 002F2FF8 38 9E 00 24 */ addi r4, r30, 0x24 +/* 802F609C 002F2FFC 38 BE 00 2C */ addi r5, r30, 0x2c +/* 802F60A0 002F3000 48 05 26 C5 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F60A4 002F3004 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802F60A8 002F3008 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802F60AC 002F300C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802F60B0 002F3010 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802F60B4 002F3014 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F60B8 002F3018 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802F60BC 002F301C 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 802F60C0 002F3020 C3 E5 00 00 */ lfs f31, 0(r5) +/* 802F60C4 002F3024 90 01 00 44 */ stw r0, 0x44(r1) +/* 802F60C8 002F3028 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F60CC 002F302C C3 C5 00 04 */ lfs f30, 4(r5) +/* 802F60D0 002F3030 C3 A5 00 08 */ lfs f29, 8(r5) +/* 802F60D4 002F3034 C3 84 00 00 */ lfs f28, 0(r4) +/* 802F60D8 002F3038 C3 64 00 04 */ lfs f27, 4(r4) +/* 802F60DC 002F303C C3 44 00 08 */ lfs f26, 8(r4) +/* 802F60E0 002F3040 C3 24 00 0C */ lfs f25, 0xc(r4) +/* 802F60E4 002F3044 C0 22 C6 AC */ lfs f1, lbl_805AE3CC@sda21(r2) +/* 802F60E8 002F3048 48 05 2D 05 */ bl __ct__13CCharAnimTimeFf +/* 802F60EC 002F304C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802F60F0 002F3050 38 61 00 40 */ addi r3, r1, 0x40 +/* 802F60F4 002F3054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F60F8 002F3058 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 802F60FC 002F305C 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802F6100 002F3060 D3 E1 00 E0 */ stfs f31, 0xe0(r1) +/* 802F6104 002F3064 D3 C1 00 E4 */ stfs f30, 0xe4(r1) +/* 802F6108 002F3068 D3 A1 00 E8 */ stfs f29, 0xe8(r1) +/* 802F610C 002F306C D3 81 00 EC */ stfs f28, 0xec(r1) +/* 802F6110 002F3070 D3 61 00 F0 */ stfs f27, 0xf0(r1) +/* 802F6114 002F3074 D3 41 00 F4 */ stfs f26, 0xf4(r1) +/* 802F6118 002F3078 D3 21 00 F8 */ stfs f25, 0xf8(r1) +/* 802F611C 002F307C 48 05 22 D1 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F6120 002F3080 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F6124 002F3084 41 82 00 BC */ beq lbl_802F61E0 +/* 802F6128 002F3088 7F C4 F3 78 */ mr r4, r30 +/* 802F612C 002F308C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802F6130 002F3090 38 A1 00 40 */ addi r5, r1, 0x40 +/* 802F6134 002F3094 48 00 01 5D */ bl AdvanceViewForTransitionalPeriod__19CAnimTreeTransitionFRC13CCharAnimTime +/* 802F6138 002F3098 81 81 00 48 */ lwz r12, 0x48(r1) +/* 802F613C 002F309C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802F6140 002F30A0 81 61 00 4C */ lwz r11, 0x4c(r1) +/* 802F6144 002F30A4 38 81 00 40 */ addi r4, r1, 0x40 +/* 802F6148 002F30A8 81 41 00 50 */ lwz r10, 0x50(r1) +/* 802F614C 002F30AC 81 21 00 54 */ lwz r9, 0x54(r1) +/* 802F6150 002F30B0 81 01 00 58 */ lwz r8, 0x58(r1) +/* 802F6154 002F30B4 80 E1 00 5C */ lwz r7, 0x5c(r1) +/* 802F6158 002F30B8 80 C1 00 60 */ lwz r6, 0x60(r1) +/* 802F615C 002F30BC 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 802F6160 002F30C0 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802F6164 002F30C4 91 81 00 D8 */ stw r12, 0xd8(r1) +/* 802F6168 002F30C8 91 61 00 DC */ stw r11, 0xdc(r1) +/* 802F616C 002F30CC 91 41 00 E0 */ stw r10, 0xe0(r1) +/* 802F6170 002F30D0 91 21 00 E4 */ stw r9, 0xe4(r1) +/* 802F6174 002F30D4 91 01 00 E8 */ stw r8, 0xe8(r1) +/* 802F6178 002F30D8 90 E1 00 EC */ stw r7, 0xec(r1) +/* 802F617C 002F30DC 90 C1 00 F0 */ stw r6, 0xf0(r1) +/* 802F6180 002F30E0 90 A1 00 F4 */ stw r5, 0xf4(r1) +/* 802F6184 002F30E4 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802F6188 002F30E8 48 05 29 4D */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F618C 002F30EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F6190 002F30F0 41 82 00 50 */ beq lbl_802F61E0 +/* 802F6194 002F30F4 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 802F6198 002F30F8 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F619C 002F30FC 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 802F61A0 002F3100 90 1D 00 04 */ stw r0, 4(r29) +/* 802F61A4 002F3104 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802F61A8 002F3108 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802F61AC 002F310C C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802F61B0 002F3110 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802F61B4 002F3114 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802F61B8 002F3118 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802F61BC 002F311C C0 01 00 EC */ lfs f0, 0xec(r1) +/* 802F61C0 002F3120 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802F61C4 002F3124 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802F61C8 002F3128 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 802F61CC 002F312C C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802F61D0 002F3130 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802F61D4 002F3134 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 802F61D8 002F3138 D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 802F61DC 002F313C 48 00 00 60 */ b lbl_802F623C +lbl_802F61E0: +/* 802F61E0 002F3140 7F E4 FB 78 */ mr r4, r31 +/* 802F61E4 002F3144 38 61 00 08 */ addi r3, r1, 8 +/* 802F61E8 002F3148 38 A1 00 40 */ addi r5, r1, 0x40 +/* 802F61EC 002F314C 48 05 25 79 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F61F0 002F3150 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F61F4 002F3154 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F61F8 002F3158 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802F61FC 002F315C D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F6200 002F3160 90 1D 00 04 */ stw r0, 4(r29) +/* 802F6204 002F3164 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802F6208 002F3168 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802F620C 002F316C C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802F6210 002F3170 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802F6214 002F3174 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802F6218 002F3178 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802F621C 002F317C C0 01 00 EC */ lfs f0, 0xec(r1) +/* 802F6220 002F3180 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802F6224 002F3184 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802F6228 002F3188 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 802F622C 002F318C C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802F6230 002F3190 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802F6234 002F3194 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 802F6238 002F3198 D0 1D 00 20 */ stfs f0, 0x20(r29) +lbl_802F623C: +/* 802F623C 002F319C E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 802F6240 002F31A0 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 802F6244 002F31A4 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 802F6248 002F31A8 CB C1 01 80 */ lfd f30, 0x180(r1) +/* 802F624C 002F31AC E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 802F6250 002F31B0 CB A1 01 70 */ lfd f29, 0x170(r1) +/* 802F6254 002F31B4 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 +/* 802F6258 002F31B8 CB 81 01 60 */ lfd f28, 0x160(r1) +/* 802F625C 002F31BC E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 +/* 802F6260 002F31C0 CB 61 01 50 */ lfd f27, 0x150(r1) +/* 802F6264 002F31C4 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 +/* 802F6268 002F31C8 CB 41 01 40 */ lfd f26, 0x140(r1) +/* 802F626C 002F31CC E3 21 01 38 */ psq_l f25, 312(r1), 0, qr0 +/* 802F6270 002F31D0 CB 21 01 30 */ lfd f25, 0x130(r1) +/* 802F6274 002F31D4 83 E1 01 2C */ lwz r31, 0x12c(r1) +/* 802F6278 002F31D8 83 C1 01 28 */ lwz r30, 0x128(r1) +/* 802F627C 002F31DC 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802F6280 002F31E0 83 A1 01 24 */ lwz r29, 0x124(r1) +/* 802F6284 002F31E4 7C 08 03 A6 */ mtlr r0 +/* 802F6288 002F31E8 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 802F628C 002F31EC 4E 80 00 20 */ blr + +.global AdvanceViewForTransitionalPeriod__19CAnimTreeTransitionFRC13CCharAnimTime +AdvanceViewForTransitionalPeriod__19CAnimTreeTransitionFRC13CCharAnimTime: +/* 802F6290 002F31F0 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802F6294 002F31F4 7C 08 02 A6 */ mflr r0 +/* 802F6298 002F31F8 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802F629C 002F31FC DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802F62A0 002F3200 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802F62A4 002F3204 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 802F62A8 002F3208 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 802F62AC 002F320C 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 802F62B0 002F3210 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 802F62B4 002F3214 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 802F62B8 002F3218 80 CD A7 40 */ lwz r6, lbl_805A9300@sda21(r13) +/* 802F62BC 002F321C 7C 7F 1B 78 */ mr r31, r3 +/* 802F62C0 002F3220 7C 9D 23 78 */ mr r29, r4 +/* 802F62C4 002F3224 38 61 00 2C */ addi r3, r1, 0x2c +/* 802F62C8 002F3228 38 06 00 01 */ addi r0, r6, 1 +/* 802F62CC 002F322C 90 0D A7 40 */ stw r0, lbl_805A9300@sda21(r13) +/* 802F62D0 002F3230 88 C4 00 34 */ lbz r6, 0x34(r4) +/* 802F62D4 002F3234 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 802F62D8 002F3238 4B FF C8 39 */ bl AdvanceViewBothChildren__20CAnimTreeDoubleChildFRC13CCharAnimTimebb +/* 802F62DC 002F323C 38 61 00 6C */ addi r3, r1, 0x6c +/* 802F62E0 002F3240 38 81 00 2C */ addi r4, r1, 0x2c +/* 802F62E4 002F3244 48 00 01 C5 */ bl __ct__Q220CAnimTreeDoubleChild29CDoubleChildAdvancementResultFRCQ220CAnimTreeDoubleChild29CDoubleChildAdvancementResult +/* 802F62E8 002F3248 80 8D A7 40 */ lwz r4, lbl_805A9300@sda21(r13) +/* 802F62EC 002F324C 3B C1 00 6C */ addi r30, r1, 0x6c +/* 802F62F0 002F3250 7F C3 F3 78 */ mr r3, r30 +/* 802F62F4 002F3254 38 04 FF FF */ addi r0, r4, -1 +/* 802F62F8 002F3258 90 0D A7 40 */ stw r0, lbl_805A9300@sda21(r13) +/* 802F62FC 002F325C 48 05 20 B5 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802F6300 002F3260 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F6304 002F3264 41 82 00 5C */ beq lbl_802F6360 +/* 802F6308 002F3268 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802F630C 002F326C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802F6310 002F3270 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F6314 002F3274 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802F6318 002F3278 80 0D 9C 08 */ lwz r0, lbl_805A87C8@sda21(r13) +/* 802F631C 002F327C C0 44 00 04 */ lfs f2, 4(r4) +/* 802F6320 002F3280 C0 64 00 08 */ lfs f3, 8(r4) +/* 802F6324 002F3284 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802F6328 002F3288 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802F632C 002F328C C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802F6330 002F3290 C0 0D 9C 0C */ lfs f0, lbl_805A87CC@sda21(r13) +/* 802F6334 002F3294 90 01 00 0C */ stw r0, 0xc(r1) +/* 802F6338 002F3298 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802F633C 002F329C 90 1F 00 04 */ stw r0, 4(r31) +/* 802F6340 002F32A0 D0 3F 00 08 */ stfs f1, 8(r31) +/* 802F6344 002F32A4 D0 5F 00 0C */ stfs f2, 0xc(r31) +/* 802F6348 002F32A8 D0 7F 00 10 */ stfs f3, 0x10(r31) +/* 802F634C 002F32AC D0 9F 00 14 */ stfs f4, 0x14(r31) +/* 802F6350 002F32B0 D0 BF 00 18 */ stfs f5, 0x18(r31) +/* 802F6354 002F32B4 D0 DF 00 1C */ stfs f6, 0x1c(r31) +/* 802F6358 002F32B8 D0 FF 00 20 */ stfs f7, 0x20(r31) +/* 802F635C 002F32BC 48 00 01 20 */ b lbl_802F647C +lbl_802F6360: +/* 802F6360 002F32C0 7F A3 EB 78 */ mr r3, r29 +/* 802F6364 002F32C4 48 00 0C B5 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F6368 002F32C8 FF E0 08 90 */ fmr f31, f1 +/* 802F636C 002F32CC 7F C4 F3 78 */ mr r4, r30 +/* 802F6370 002F32D0 38 7D 00 2C */ addi r3, r29, 0x2c +/* 802F6374 002F32D4 48 05 21 E5 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802F6378 002F32D8 7F A3 EB 78 */ mr r3, r29 +/* 802F637C 002F32DC 48 00 0C 9D */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F6380 002F32E0 FF C0 08 90 */ fmr f30, f1 +/* 802F6384 002F32E4 48 00 0C 79 */ bl ShouldCullTree__18CAnimTreeTweenBaseFv +/* 802F6388 002F32E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F638C 002F32EC 41 82 00 34 */ beq lbl_802F63C0 +/* 802F6390 002F32F0 C0 02 C6 B0 */ lfs f0, lbl_805AE3D0@sda21(r2) +/* 802F6394 002F32F4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802F6398 002F32F8 40 80 00 18 */ bge lbl_802F63B0 +/* 802F639C 002F32FC 88 1D 00 20 */ lbz r0, 0x20(r29) +/* 802F63A0 002F3300 38 60 00 01 */ li r3, 1 +/* 802F63A4 002F3304 50 60 2E 74 */ rlwimi r0, r3, 5, 0x19, 0x1a +/* 802F63A8 002F3308 98 1D 00 20 */ stb r0, 0x20(r29) +/* 802F63AC 002F330C 48 00 00 14 */ b lbl_802F63C0 +lbl_802F63B0: +/* 802F63B0 002F3310 88 1D 00 20 */ lbz r0, 0x20(r29) +/* 802F63B4 002F3314 38 60 00 02 */ li r3, 2 +/* 802F63B8 002F3318 50 60 2E 74 */ rlwimi r0, r3, 5, 0x19, 0x1a +/* 802F63BC 002F331C 98 1D 00 20 */ stb r0, 0x20(r29) +lbl_802F63C0: +/* 802F63C0 002F3320 80 62 C6 B8 */ lwz r3, lbl_805AE3D8@sda21(r2) +/* 802F63C4 002F3324 38 81 00 74 */ addi r4, r1, 0x74 +/* 802F63C8 002F3328 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 802F63CC 002F332C 38 A1 00 90 */ addi r5, r1, 0x90 +/* 802F63D0 002F3330 7C 60 00 39 */ and. r0, r3, r0 +/* 802F63D4 002F3334 41 82 00 60 */ beq lbl_802F6434 +/* 802F63D8 002F3338 FC 20 F8 90 */ fmr f1, f31 +/* 802F63DC 002F333C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F63E0 002F3340 FC 40 F0 90 */ fmr f2, f30 +/* 802F63E4 002F3344 4B FF 51 E1 */ bl Interpolate__18CAdvancementDeltasFRC18CAdvancementDeltasRC18CAdvancementDeltasff +/* 802F63E8 002F3348 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802F63EC 002F334C D0 1F 00 00 */ stfs f0, 0(r31) +/* 802F63F0 002F3350 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802F63F4 002F3354 90 1F 00 04 */ stw r0, 4(r31) +/* 802F63F8 002F3358 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802F63FC 002F335C D0 1F 00 08 */ stfs f0, 8(r31) +/* 802F6400 002F3360 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802F6404 002F3364 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802F6408 002F3368 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802F640C 002F336C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802F6410 002F3370 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802F6414 002F3374 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 802F6418 002F3378 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802F641C 002F337C D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 802F6420 002F3380 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802F6424 002F3384 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 802F6428 002F3388 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802F642C 002F338C D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 802F6430 002F3390 48 00 00 4C */ b lbl_802F647C +lbl_802F6434: +/* 802F6434 002F3394 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802F6438 002F3398 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802F643C 002F339C 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802F6440 002F33A0 90 1F 00 04 */ stw r0, 4(r31) +/* 802F6444 002F33A4 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 802F6448 002F33A8 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802F644C 002F33AC C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802F6450 002F33B0 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802F6454 002F33B4 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802F6458 002F33B8 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802F645C 002F33BC C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802F6460 002F33C0 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 802F6464 002F33C4 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 802F6468 002F33C8 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 802F646C 002F33CC C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802F6470 002F33D0 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 802F6474 002F33D4 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802F6478 002F33D8 D0 1F 00 20 */ stfs f0, 0x20(r31) +lbl_802F647C: +/* 802F647C 002F33DC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802F6480 002F33E0 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802F6484 002F33E4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 802F6488 002F33E8 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 802F648C 002F33EC 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 802F6490 002F33F0 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 802F6494 002F33F4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802F6498 002F33F8 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 802F649C 002F33FC 7C 08 03 A6 */ mtlr r0 +/* 802F64A0 002F3400 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802F64A4 002F3404 4E 80 00 20 */ blr + +.global __ct__Q220CAnimTreeDoubleChild29CDoubleChildAdvancementResultFRCQ220CAnimTreeDoubleChild29CDoubleChildAdvancementResult +__ct__Q220CAnimTreeDoubleChild29CDoubleChildAdvancementResultFRCQ220CAnimTreeDoubleChild29CDoubleChildAdvancementResult: +/* 802F64A8 002F3408 C0 04 00 00 */ lfs f0, 0(r4) +/* 802F64AC 002F340C D0 03 00 00 */ stfs f0, 0(r3) +/* 802F64B0 002F3410 80 04 00 04 */ lwz r0, 4(r4) +/* 802F64B4 002F3414 90 03 00 04 */ stw r0, 4(r3) +/* 802F64B8 002F3418 C0 04 00 08 */ lfs f0, 8(r4) +/* 802F64BC 002F341C D0 03 00 08 */ stfs f0, 8(r3) +/* 802F64C0 002F3420 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802F64C4 002F3424 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802F64C8 002F3428 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802F64CC 002F342C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802F64D0 002F3430 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802F64D4 002F3434 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802F64D8 002F3438 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802F64DC 002F343C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802F64E0 002F3440 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802F64E4 002F3444 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802F64E8 002F3448 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802F64EC 002F344C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802F64F0 002F3450 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802F64F4 002F3454 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802F64F8 002F3458 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802F64FC 002F345C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802F6500 002F3460 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802F6504 002F3464 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802F6508 002F3468 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802F650C 002F346C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802F6510 002F3470 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802F6514 002F3474 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802F6518 002F3478 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802F651C 002F347C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802F6520 002F3480 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 802F6524 002F3484 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 802F6528 002F3488 4E 80 00 20 */ blr + +.global VReverseSimplified__19CAnimTreeTransitionFv +VReverseSimplified__19CAnimTreeTransitionFv: +/* 802F652C 002F348C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F6530 002F3490 7C 08 02 A6 */ mflr r0 +/* 802F6534 002F3494 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F6538 002F3498 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F653C 002F349C 7C 9F 23 78 */ mr r31, r4 +/* 802F6540 002F34A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F6544 002F34A4 7C 7E 1B 78 */ mr r30, r3 +/* 802F6548 002F34A8 7F E3 FB 78 */ mr r3, r31 +/* 802F654C 002F34AC 48 00 0A CD */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F6550 002F34B0 C0 42 C6 AC */ lfs f2, lbl_805AE3CC@sda21(r2) +/* 802F6554 002F34B4 C0 02 C6 B4 */ lfs f0, lbl_805AE3D4@sda21(r2) +/* 802F6558 002F34B8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802F655C 002F34BC FC 20 0A 10 */ fabs f1, f1 +/* 802F6560 002F34C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802F6564 002F34C4 40 80 00 6C */ bge lbl_802F65D0 +/* 802F6568 002F34C8 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F656C 002F34CC 38 61 00 08 */ addi r3, r1, 8 +/* 802F6570 002F34D0 80 84 00 00 */ lwz r4, 0(r4) +/* 802F6574 002F34D4 4B F8 C5 6D */ bl Clone__11IAnimReaderCFv +/* 802F6578 002F34D8 38 00 00 01 */ li r0, 1 +/* 802F657C 002F34DC 28 1E 00 00 */ cmplwi r30, 0 +/* 802F6580 002F34E0 98 1E 00 08 */ stb r0, 8(r30) +/* 802F6584 002F34E4 41 82 00 1C */ beq lbl_802F65A0 +/* 802F6588 002F34E8 88 61 00 08 */ lbz r3, 8(r1) +/* 802F658C 002F34EC 38 00 00 00 */ li r0, 0 +/* 802F6590 002F34F0 98 7E 00 00 */ stb r3, 0(r30) +/* 802F6594 002F34F4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F6598 002F34F8 90 7E 00 04 */ stw r3, 4(r30) +/* 802F659C 002F34FC 98 01 00 08 */ stb r0, 8(r1) +lbl_802F65A0: +/* 802F65A0 002F3500 88 01 00 08 */ lbz r0, 8(r1) +/* 802F65A4 002F3504 28 00 00 00 */ cmplwi r0, 0 +/* 802F65A8 002F3508 41 82 00 34 */ beq lbl_802F65DC +/* 802F65AC 002F350C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F65B0 002F3510 28 03 00 00 */ cmplwi r3, 0 +/* 802F65B4 002F3514 41 82 00 28 */ beq lbl_802F65DC +/* 802F65B8 002F3518 81 83 00 00 */ lwz r12, 0(r3) +/* 802F65BC 002F351C 38 80 00 01 */ li r4, 1 +/* 802F65C0 002F3520 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F65C4 002F3524 7D 89 03 A6 */ mtctr r12 +/* 802F65C8 002F3528 4E 80 04 21 */ bctrl +/* 802F65CC 002F352C 48 00 00 10 */ b lbl_802F65DC +lbl_802F65D0: +/* 802F65D0 002F3530 7F C3 F3 78 */ mr r3, r30 +/* 802F65D4 002F3534 7F E4 FB 78 */ mr r4, r31 +/* 802F65D8 002F3538 48 00 04 A5 */ bl VReverseSimplified__18CAnimTreeTweenBaseFv +lbl_802F65DC: +/* 802F65DC 002F353C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F65E0 002F3540 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F65E4 002F3544 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F65E8 002F3548 7C 08 03 A6 */ mtlr r0 +/* 802F65EC 002F354C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F65F0 002F3550 4E 80 00 20 */ blr + +.global VSimplified__19CAnimTreeTransitionFv +VSimplified__19CAnimTreeTransitionFv: +/* 802F65F4 002F3554 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F65F8 002F3558 7C 08 02 A6 */ mflr r0 +/* 802F65FC 002F355C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F6600 002F3560 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802F6604 002F3564 7C 7F 1B 78 */ mr r31, r3 +/* 802F6608 002F3568 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802F660C 002F356C 7C 9E 23 78 */ mr r30, r4 +/* 802F6610 002F3570 7F C3 F3 78 */ mr r3, r30 +/* 802F6614 002F3574 48 00 0A 05 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F6618 002F3578 C0 42 C6 A8 */ lfs f2, lbl_805AE3C8@sda21(r2) +/* 802F661C 002F357C C0 02 C6 B4 */ lfs f0, lbl_805AE3D4@sda21(r2) +/* 802F6620 002F3580 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802F6624 002F3584 FC 20 0A 10 */ fabs f1, f1 +/* 802F6628 002F3588 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802F662C 002F358C 40 80 01 B8 */ bge lbl_802F67E4 +/* 802F6630 002F3590 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F6634 002F3594 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F6638 002F3598 80 84 00 00 */ lwz r4, 0(r4) +/* 802F663C 002F359C 4B D3 39 29 */ bl Simplified__11IAnimReaderFv +/* 802F6640 002F35A0 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802F6644 002F35A4 28 00 00 00 */ cmplwi r0, 0 +/* 802F6648 002F35A8 98 01 00 24 */ stb r0, 0x24(r1) +/* 802F664C 002F35AC 41 82 00 24 */ beq lbl_802F6670 +/* 802F6650 002F35B0 34 81 00 1C */ addic. r4, r1, 0x1c +/* 802F6654 002F35B4 41 82 00 1C */ beq lbl_802F6670 +/* 802F6658 002F35B8 88 61 00 10 */ lbz r3, 0x10(r1) +/* 802F665C 002F35BC 38 00 00 00 */ li r0, 0 +/* 802F6660 002F35C0 98 64 00 00 */ stb r3, 0(r4) +/* 802F6664 002F35C4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802F6668 002F35C8 90 64 00 04 */ stw r3, 4(r4) +/* 802F666C 002F35CC 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802F6670: +/* 802F6670 002F35D0 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802F6674 002F35D4 28 00 00 00 */ cmplwi r0, 0 +/* 802F6678 002F35D8 41 82 00 38 */ beq lbl_802F66B0 +/* 802F667C 002F35DC 34 61 00 10 */ addic. r3, r1, 0x10 +/* 802F6680 002F35E0 41 82 00 30 */ beq lbl_802F66B0 +/* 802F6684 002F35E4 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6688 002F35E8 28 00 00 00 */ cmplwi r0, 0 +/* 802F668C 002F35EC 41 82 00 24 */ beq lbl_802F66B0 +/* 802F6690 002F35F0 80 63 00 04 */ lwz r3, 4(r3) +/* 802F6694 002F35F4 28 03 00 00 */ cmplwi r3, 0 +/* 802F6698 002F35F8 41 82 00 18 */ beq lbl_802F66B0 +/* 802F669C 002F35FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F66A0 002F3600 38 80 00 01 */ li r4, 1 +/* 802F66A4 002F3604 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F66A8 002F3608 7D 89 03 A6 */ mtctr r12 +/* 802F66AC 002F360C 4E 80 04 21 */ bctrl +lbl_802F66B0: +/* 802F66B0 002F3610 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802F66B4 002F3614 38 80 00 00 */ li r4, 0 +/* 802F66B8 002F3618 98 81 00 18 */ stb r4, 0x18(r1) +/* 802F66BC 002F361C 28 00 00 00 */ cmplwi r0, 0 +/* 802F66C0 002F3620 41 82 00 74 */ beq lbl_802F6734 +/* 802F66C4 002F3624 98 1F 00 08 */ stb r0, 8(r31) +/* 802F66C8 002F3628 41 82 00 20 */ beq lbl_802F66E8 +/* 802F66CC 002F362C 28 1F 00 00 */ cmplwi r31, 0 +/* 802F66D0 002F3630 41 82 00 18 */ beq lbl_802F66E8 +/* 802F66D4 002F3634 88 61 00 1C */ lbz r3, 0x1c(r1) +/* 802F66D8 002F3638 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802F66DC 002F363C 98 7F 00 00 */ stb r3, 0(r31) +/* 802F66E0 002F3640 90 1F 00 04 */ stw r0, 4(r31) +/* 802F66E4 002F3644 98 81 00 1C */ stb r4, 0x1c(r1) +lbl_802F66E8: +/* 802F66E8 002F3648 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802F66EC 002F364C 28 00 00 00 */ cmplwi r0, 0 +/* 802F66F0 002F3650 41 82 00 38 */ beq lbl_802F6728 +/* 802F66F4 002F3654 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802F66F8 002F3658 41 82 00 30 */ beq lbl_802F6728 +/* 802F66FC 002F365C 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6700 002F3660 28 00 00 00 */ cmplwi r0, 0 +/* 802F6704 002F3664 41 82 00 24 */ beq lbl_802F6728 +/* 802F6708 002F3668 80 63 00 04 */ lwz r3, 4(r3) +/* 802F670C 002F366C 28 03 00 00 */ cmplwi r3, 0 +/* 802F6710 002F3670 41 82 00 18 */ beq lbl_802F6728 +/* 802F6714 002F3674 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6718 002F3678 38 80 00 01 */ li r4, 1 +/* 802F671C 002F367C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6720 002F3680 7D 89 03 A6 */ mtctr r12 +/* 802F6724 002F3684 4E 80 04 21 */ bctrl +lbl_802F6728: +/* 802F6728 002F3688 38 00 00 00 */ li r0, 0 +/* 802F672C 002F368C 98 01 00 24 */ stb r0, 0x24(r1) +/* 802F6730 002F3690 48 00 00 C0 */ b lbl_802F67F0 +lbl_802F6734: +/* 802F6734 002F3694 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F6738 002F3698 38 61 00 08 */ addi r3, r1, 8 +/* 802F673C 002F369C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F6740 002F36A0 4B F8 C3 A1 */ bl Clone__11IAnimReaderCFv +/* 802F6744 002F36A4 38 00 00 01 */ li r0, 1 +/* 802F6748 002F36A8 28 1F 00 00 */ cmplwi r31, 0 +/* 802F674C 002F36AC 98 1F 00 08 */ stb r0, 8(r31) +/* 802F6750 002F36B0 41 82 00 1C */ beq lbl_802F676C +/* 802F6754 002F36B4 88 61 00 08 */ lbz r3, 8(r1) +/* 802F6758 002F36B8 38 00 00 00 */ li r0, 0 +/* 802F675C 002F36BC 98 7F 00 00 */ stb r3, 0(r31) +/* 802F6760 002F36C0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F6764 002F36C4 90 7F 00 04 */ stw r3, 4(r31) +/* 802F6768 002F36C8 98 01 00 08 */ stb r0, 8(r1) +lbl_802F676C: +/* 802F676C 002F36CC 88 01 00 08 */ lbz r0, 8(r1) +/* 802F6770 002F36D0 28 00 00 00 */ cmplwi r0, 0 +/* 802F6774 002F36D4 41 82 00 24 */ beq lbl_802F6798 +/* 802F6778 002F36D8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F677C 002F36DC 28 03 00 00 */ cmplwi r3, 0 +/* 802F6780 002F36E0 41 82 00 18 */ beq lbl_802F6798 +/* 802F6784 002F36E4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6788 002F36E8 38 80 00 01 */ li r4, 1 +/* 802F678C 002F36EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6790 002F36F0 7D 89 03 A6 */ mtctr r12 +/* 802F6794 002F36F4 4E 80 04 21 */ bctrl +lbl_802F6798: +/* 802F6798 002F36F8 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802F679C 002F36FC 28 00 00 00 */ cmplwi r0, 0 +/* 802F67A0 002F3700 41 82 00 38 */ beq lbl_802F67D8 +/* 802F67A4 002F3704 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802F67A8 002F3708 41 82 00 30 */ beq lbl_802F67D8 +/* 802F67AC 002F370C 88 03 00 00 */ lbz r0, 0(r3) +/* 802F67B0 002F3710 28 00 00 00 */ cmplwi r0, 0 +/* 802F67B4 002F3714 41 82 00 24 */ beq lbl_802F67D8 +/* 802F67B8 002F3718 80 63 00 04 */ lwz r3, 4(r3) +/* 802F67BC 002F371C 28 03 00 00 */ cmplwi r3, 0 +/* 802F67C0 002F3720 41 82 00 18 */ beq lbl_802F67D8 +/* 802F67C4 002F3724 81 83 00 00 */ lwz r12, 0(r3) +/* 802F67C8 002F3728 38 80 00 01 */ li r4, 1 +/* 802F67CC 002F372C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F67D0 002F3730 7D 89 03 A6 */ mtctr r12 +/* 802F67D4 002F3734 4E 80 04 21 */ bctrl +lbl_802F67D8: +/* 802F67D8 002F3738 38 00 00 00 */ li r0, 0 +/* 802F67DC 002F373C 98 01 00 24 */ stb r0, 0x24(r1) +/* 802F67E0 002F3740 48 00 00 10 */ b lbl_802F67F0 +lbl_802F67E4: +/* 802F67E4 002F3744 7F E3 FB 78 */ mr r3, r31 +/* 802F67E8 002F3748 7F C4 F3 78 */ mr r4, r30 +/* 802F67EC 002F374C 48 00 02 BD */ bl VSimplified__18CAnimTreeTweenBaseFv +lbl_802F67F0: +/* 802F67F0 002F3750 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F67F4 002F3754 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802F67F8 002F3758 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802F67FC 002F375C 7C 08 03 A6 */ mtlr r0 +/* 802F6800 002F3760 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F6804 002F3764 4E 80 00 20 */ blr + +.global __dt__19CAnimTreeTransitionFv +__dt__19CAnimTreeTransitionFv: +/* 802F6808 002F3768 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F680C 002F376C 7C 08 02 A6 */ mflr r0 +/* 802F6810 002F3770 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F6814 002F3774 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F6818 002F3778 7C 9F 23 78 */ mr r31, r4 +/* 802F681C 002F377C 93 C1 00 08 */ stw r30, 8(r1) +/* 802F6820 002F3780 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F6824 002F3784 41 82 00 38 */ beq lbl_802F685C +/* 802F6828 002F3788 3C 80 80 3F */ lis r4, lbl_803ED320@ha +/* 802F682C 002F378C 38 60 00 13 */ li r3, 0x13 +/* 802F6830 002F3790 38 04 D3 20 */ addi r0, r4, lbl_803ED320@l +/* 802F6834 002F3794 38 80 00 02 */ li r4, 2 +/* 802F6838 002F3798 90 1E 00 00 */ stw r0, 0(r30) +/* 802F683C 002F379C 48 00 13 6D */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F6840 002F37A0 7F C3 F3 78 */ mr r3, r30 +/* 802F6844 002F37A4 38 80 00 00 */ li r4, 0 +/* 802F6848 002F37A8 48 00 11 71 */ bl __dt__18CAnimTreeTweenBaseFv +/* 802F684C 002F37AC 7F E0 07 35 */ extsh. r0, r31 +/* 802F6850 002F37B0 40 81 00 0C */ ble lbl_802F685C +/* 802F6854 002F37B4 7F C3 F3 78 */ mr r3, r30 +/* 802F6858 002F37B8 48 01 F0 D9 */ bl Free__7CMemoryFPCv +lbl_802F685C: +/* 802F685C 002F37BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F6860 002F37C0 7F C3 F3 78 */ mr r3, r30 +/* 802F6864 002F37C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F6868 002F37C8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F686C 002F37CC 7C 08 03 A6 */ mtlr r0 +/* 802F6870 002F37D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F6874 002F37D4 4E 80 00 20 */ blr + +.global "__ct__19CAnimTreeTransitionFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC13CCharAnimTimeRC13CCharAnimTimebbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +"__ct__19CAnimTreeTransitionFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC13CCharAnimTimeRC13CCharAnimTimebbiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b": +/* 802F6878 002F37D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F687C 002F37DC 7C 08 02 A6 */ mflr r0 +/* 802F6880 002F37E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F6884 002F37E4 81 61 00 28 */ lwz r11, 0x28(r1) +/* 802F6888 002F37E8 BF 41 00 08 */ stmw r26, 8(r1) +/* 802F688C 002F37EC 7C FB 3B 78 */ mr r27, r7 +/* 802F6890 002F37F0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802F6894 002F37F4 7D 1C 43 78 */ mr r28, r8 +/* 802F6898 002F37F8 8B E1 00 33 */ lbz r31, 0x33(r1) +/* 802F689C 002F37FC 7C 7A 1B 78 */ mr r26, r3 +/* 802F68A0 002F3800 7D 3D 4B 78 */ mr r29, r9 +/* 802F68A4 002F3804 7D 5E 53 78 */ mr r30, r10 +/* 802F68A8 002F3808 7D 67 5B 78 */ mr r7, r11 +/* 802F68AC 002F380C 7C 08 03 78 */ mr r8, r0 +/* 802F68B0 002F3810 48 00 11 79 */ bl "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F68B4 002F3814 3C 60 80 3F */ lis r3, lbl_803ED320@ha +/* 802F68B8 002F3818 38 80 00 02 */ li r4, 2 +/* 802F68BC 002F381C 38 03 D3 20 */ addi r0, r3, lbl_803ED320@l +/* 802F68C0 002F3820 90 1A 00 00 */ stw r0, 0(r26) +/* 802F68C4 002F3824 38 60 00 13 */ li r3, 0x13 +/* 802F68C8 002F3828 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802F68CC 002F382C D0 1A 00 24 */ stfs f0, 0x24(r26) +/* 802F68D0 002F3830 80 1B 00 04 */ lwz r0, 4(r27) +/* 802F68D4 002F3834 90 1A 00 28 */ stw r0, 0x28(r26) +/* 802F68D8 002F3838 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802F68DC 002F383C D0 1A 00 2C */ stfs f0, 0x2c(r26) +/* 802F68E0 002F3840 80 1C 00 04 */ lwz r0, 4(r28) +/* 802F68E4 002F3844 90 1A 00 30 */ stw r0, 0x30(r26) +/* 802F68E8 002F3848 9B BA 00 34 */ stb r29, 0x34(r26) +/* 802F68EC 002F384C 9B DA 00 35 */ stb r30, 0x35(r26) +/* 802F68F0 002F3850 9B FA 00 36 */ stb r31, 0x36(r26) +/* 802F68F4 002F3854 48 00 12 C5 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F68F8 002F3858 7F 43 D3 78 */ mr r3, r26 +/* 802F68FC 002F385C BB 41 00 08 */ lmw r26, 8(r1) +/* 802F6900 002F3860 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F6904 002F3864 7C 08 03 A6 */ mtlr r0 +/* 802F6908 002F3868 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F690C 002F386C 4E 80 00 20 */ blr + +.global "__ct__19CAnimTreeTransitionFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC13CCharAnimTimebiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__19CAnimTreeTransitionFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC13CCharAnimTimebiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802F6910 002F3870 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F6914 002F3874 7C 08 02 A6 */ mflr r0 +/* 802F6918 002F3878 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F691C 002F387C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F6920 002F3880 7D 1F 43 78 */ mr r31, r8 +/* 802F6924 002F3884 7D 48 53 78 */ mr r8, r10 +/* 802F6928 002F3888 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F692C 002F388C 7C FE 3B 78 */ mr r30, r7 +/* 802F6930 002F3890 7D 27 4B 78 */ mr r7, r9 +/* 802F6934 002F3894 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F6938 002F3898 7C BD 2B 78 */ mr r29, r5 +/* 802F693C 002F389C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802F6940 002F38A0 7C 7C 1B 78 */ mr r28, r3 +/* 802F6944 002F38A4 48 00 10 E5 */ bl "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F6948 002F38A8 3C 60 80 3F */ lis r3, lbl_803ED320@ha +/* 802F694C 002F38AC C0 22 C6 AC */ lfs f1, lbl_805AE3CC@sda21(r2) +/* 802F6950 002F38B0 38 03 D3 20 */ addi r0, r3, lbl_803ED320@l +/* 802F6954 002F38B4 38 7C 00 2C */ addi r3, r28, 0x2c +/* 802F6958 002F38B8 90 1C 00 00 */ stw r0, 0(r28) +/* 802F695C 002F38BC C0 1E 00 00 */ lfs f0, 0(r30) +/* 802F6960 002F38C0 D0 1C 00 24 */ stfs f0, 0x24(r28) +/* 802F6964 002F38C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F6968 002F38C8 90 1C 00 28 */ stw r0, 0x28(r28) +/* 802F696C 002F38CC 48 05 24 81 */ bl __ct__13CCharAnimTimeFf +/* 802F6970 002F38D0 9B FC 00 34 */ stb r31, 0x34(r28) +/* 802F6974 002F38D4 3C 60 80 3D */ lis r3, lbl_803D6E10@ha +/* 802F6978 002F38D8 38 63 6E 10 */ addi r3, r3, lbl_803D6E10@l +/* 802F697C 002F38DC 80 BD 00 00 */ lwz r5, 0(r29) +/* 802F6980 002F38E0 38 83 00 08 */ addi r4, r3, 8 +/* 802F6984 002F38E4 80 65 00 00 */ lwz r3, 0(r5) +/* 802F6988 002F38E8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F698C 002F38EC 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802F6990 002F38F0 7D 89 03 A6 */ mtctr r12 +/* 802F6994 002F38F4 4E 80 04 21 */ bctrl +/* 802F6998 002F38F8 98 7C 00 35 */ stb r3, 0x35(r28) +/* 802F699C 002F38FC 38 00 00 00 */ li r0, 0 +/* 802F69A0 002F3900 38 60 00 13 */ li r3, 0x13 +/* 802F69A4 002F3904 38 80 00 02 */ li r4, 2 +/* 802F69A8 002F3908 98 1C 00 36 */ stb r0, 0x36(r28) +/* 802F69AC 002F390C 48 00 12 0D */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F69B0 002F3910 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F69B4 002F3914 7F 83 E3 78 */ mr r3, r28 +/* 802F69B8 002F3918 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F69BC 002F391C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F69C0 002F3920 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F69C4 002F3924 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802F69C8 002F3928 7C 08 03 A6 */ mtlr r0 +/* 802F69CC 002F392C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F69D0 002F3930 4E 80 00 20 */ blr + +.global "VGetWeightedReaders__18CAnimTreeTweenBaseFfRQ24rstl48reserved_vector>" +"VGetWeightedReaders__18CAnimTreeTweenBaseFfRQ24rstl48reserved_vector>": +/* 802F69D4 002F3934 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F69D8 002F3938 7C 08 02 A6 */ mflr r0 +/* 802F69DC 002F393C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F69E0 002F3940 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802F69E4 002F3944 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802F69E8 002F3948 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 802F69EC 002F394C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 802F69F0 002F3950 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F69F4 002F3954 93 C1 00 08 */ stw r30, 8(r1) +/* 802F69F8 002F3958 FF C0 08 90 */ fmr f30, f1 +/* 802F69FC 002F395C 7C 7E 1B 78 */ mr r30, r3 +/* 802F6A00 002F3960 7C 9F 23 78 */ mr r31, r4 +/* 802F6A04 002F3964 48 00 06 15 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F6A08 002F3968 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802F6A0C 002F396C FF E0 08 90 */ fmr f31, f1 +/* 802F6A10 002F3970 C0 02 C6 C0 */ lfs f0, lbl_805AE3E0@sda21(r2) +/* 802F6A14 002F3974 7F E4 FB 78 */ mr r4, r31 +/* 802F6A18 002F3978 80 63 00 00 */ lwz r3, 0(r3) +/* 802F6A1C 002F397C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802F6A20 002F3980 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6A24 002F3984 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 802F6A28 002F3988 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 802F6A2C 002F398C 7D 89 03 A6 */ mtctr r12 +/* 802F6A30 002F3990 4E 80 04 21 */ bctrl +/* 802F6A34 002F3994 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F6A38 002F3998 EC 3E 07 F2 */ fmuls f1, f30, f31 +/* 802F6A3C 002F399C 7F E4 FB 78 */ mr r4, r31 +/* 802F6A40 002F39A0 80 63 00 00 */ lwz r3, 0(r3) +/* 802F6A44 002F39A4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6A48 002F39A8 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 802F6A4C 002F39AC 7D 89 03 A6 */ mtctr r12 +/* 802F6A50 002F39B0 4E 80 04 21 */ bctrl +/* 802F6A54 002F39B4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802F6A58 002F39B8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802F6A5C 002F39BC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 802F6A60 002F39C0 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 802F6A64 002F39C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F6A68 002F39C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F6A6C 002F39CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F6A70 002F39D0 7C 08 03 A6 */ mtlr r0 +/* 802F6A74 002F39D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F6A78 002F39D8 4E 80 00 20 */ blr + +.global VReverseSimplified__18CAnimTreeTweenBaseFv +VReverseSimplified__18CAnimTreeTweenBaseFv: +/* 802F6A7C 002F39DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F6A80 002F39E0 7C 08 02 A6 */ mflr r0 +/* 802F6A84 002F39E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F6A88 002F39E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F6A8C 002F39EC 7C 7F 1B 78 */ mr r31, r3 +/* 802F6A90 002F39F0 48 00 00 19 */ bl VSimplified__18CAnimTreeTweenBaseFv +/* 802F6A94 002F39F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F6A98 002F39F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F6A9C 002F39FC 7C 08 03 A6 */ mtlr r0 +/* 802F6AA0 002F3A00 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F6AA4 002F3A04 4E 80 00 20 */ blr + +.global VSimplified__18CAnimTreeTweenBaseFv +VSimplified__18CAnimTreeTweenBaseFv: +/* 802F6AA8 002F3A08 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802F6AAC 002F3A0C 7C 08 02 A6 */ mflr r0 +/* 802F6AB0 002F3A10 90 01 00 84 */ stw r0, 0x84(r1) +/* 802F6AB4 002F3A14 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802F6AB8 002F3A18 7C 9F 23 78 */ mr r31, r4 +/* 802F6ABC 002F3A1C 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802F6AC0 002F3A20 7C 7E 1B 78 */ mr r30, r3 +/* 802F6AC4 002F3A24 93 A1 00 74 */ stw r29, 0x74(r1) +/* 802F6AC8 002F3A28 93 81 00 70 */ stw r28, 0x70(r1) +/* 802F6ACC 002F3A2C 88 04 00 20 */ lbz r0, 0x20(r4) +/* 802F6AD0 002F3A30 54 00 C8 04 */ rlwinm r0, r0, 0x19, 0, 2 +/* 802F6AD4 002F3A34 7C 03 F6 70 */ srawi r3, r0, 0x1e +/* 802F6AD8 002F3A38 7C 60 07 75 */ extsb. r0, r3 +/* 802F6ADC 002F3A3C 40 82 03 D8 */ bne lbl_802F6EB4 +/* 802F6AE0 002F3A40 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F6AE4 002F3A44 38 61 00 44 */ addi r3, r1, 0x44 +/* 802F6AE8 002F3A48 80 84 00 00 */ lwz r4, 0(r4) +/* 802F6AEC 002F3A4C 4B D3 34 79 */ bl Simplified__11IAnimReaderFv +/* 802F6AF0 002F3A50 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 802F6AF4 002F3A54 28 00 00 00 */ cmplwi r0, 0 +/* 802F6AF8 002F3A58 98 01 00 64 */ stb r0, 0x64(r1) +/* 802F6AFC 002F3A5C 41 82 00 24 */ beq lbl_802F6B20 +/* 802F6B00 002F3A60 34 81 00 5C */ addic. r4, r1, 0x5c +/* 802F6B04 002F3A64 41 82 00 1C */ beq lbl_802F6B20 +/* 802F6B08 002F3A68 88 61 00 44 */ lbz r3, 0x44(r1) +/* 802F6B0C 002F3A6C 38 00 00 00 */ li r0, 0 +/* 802F6B10 002F3A70 98 64 00 00 */ stb r3, 0(r4) +/* 802F6B14 002F3A74 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802F6B18 002F3A78 90 64 00 04 */ stw r3, 4(r4) +/* 802F6B1C 002F3A7C 98 01 00 44 */ stb r0, 0x44(r1) +lbl_802F6B20: +/* 802F6B20 002F3A80 88 01 00 4C */ lbz r0, 0x4c(r1) +/* 802F6B24 002F3A84 28 00 00 00 */ cmplwi r0, 0 +/* 802F6B28 002F3A88 41 82 00 38 */ beq lbl_802F6B60 +/* 802F6B2C 002F3A8C 34 61 00 44 */ addic. r3, r1, 0x44 +/* 802F6B30 002F3A90 41 82 00 30 */ beq lbl_802F6B60 +/* 802F6B34 002F3A94 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6B38 002F3A98 28 00 00 00 */ cmplwi r0, 0 +/* 802F6B3C 002F3A9C 41 82 00 24 */ beq lbl_802F6B60 +/* 802F6B40 002F3AA0 80 63 00 04 */ lwz r3, 4(r3) +/* 802F6B44 002F3AA4 28 03 00 00 */ cmplwi r3, 0 +/* 802F6B48 002F3AA8 41 82 00 18 */ beq lbl_802F6B60 +/* 802F6B4C 002F3AAC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6B50 002F3AB0 38 80 00 01 */ li r4, 1 +/* 802F6B54 002F3AB4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6B58 002F3AB8 7D 89 03 A6 */ mtctr r12 +/* 802F6B5C 002F3ABC 4E 80 04 21 */ bctrl +lbl_802F6B60: +/* 802F6B60 002F3AC0 38 00 00 00 */ li r0, 0 +/* 802F6B64 002F3AC4 38 61 00 38 */ addi r3, r1, 0x38 +/* 802F6B68 002F3AC8 98 01 00 4C */ stb r0, 0x4c(r1) +/* 802F6B6C 002F3ACC 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 802F6B70 002F3AD0 80 84 00 00 */ lwz r4, 0(r4) +/* 802F6B74 002F3AD4 4B D3 33 F1 */ bl Simplified__11IAnimReaderFv +/* 802F6B78 002F3AD8 88 01 00 40 */ lbz r0, 0x40(r1) +/* 802F6B7C 002F3ADC 28 00 00 00 */ cmplwi r0, 0 +/* 802F6B80 002F3AE0 98 01 00 58 */ stb r0, 0x58(r1) +/* 802F6B84 002F3AE4 41 82 00 24 */ beq lbl_802F6BA8 +/* 802F6B88 002F3AE8 34 81 00 50 */ addic. r4, r1, 0x50 +/* 802F6B8C 002F3AEC 41 82 00 1C */ beq lbl_802F6BA8 +/* 802F6B90 002F3AF0 88 61 00 38 */ lbz r3, 0x38(r1) +/* 802F6B94 002F3AF4 38 00 00 00 */ li r0, 0 +/* 802F6B98 002F3AF8 98 64 00 00 */ stb r3, 0(r4) +/* 802F6B9C 002F3AFC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802F6BA0 002F3B00 90 64 00 04 */ stw r3, 4(r4) +/* 802F6BA4 002F3B04 98 01 00 38 */ stb r0, 0x38(r1) +lbl_802F6BA8: +/* 802F6BA8 002F3B08 88 01 00 40 */ lbz r0, 0x40(r1) +/* 802F6BAC 002F3B0C 28 00 00 00 */ cmplwi r0, 0 +/* 802F6BB0 002F3B10 41 82 00 38 */ beq lbl_802F6BE8 +/* 802F6BB4 002F3B14 34 61 00 38 */ addic. r3, r1, 0x38 +/* 802F6BB8 002F3B18 41 82 00 30 */ beq lbl_802F6BE8 +/* 802F6BBC 002F3B1C 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6BC0 002F3B20 28 00 00 00 */ cmplwi r0, 0 +/* 802F6BC4 002F3B24 41 82 00 24 */ beq lbl_802F6BE8 +/* 802F6BC8 002F3B28 80 63 00 04 */ lwz r3, 4(r3) +/* 802F6BCC 002F3B2C 28 03 00 00 */ cmplwi r3, 0 +/* 802F6BD0 002F3B30 41 82 00 18 */ beq lbl_802F6BE8 +/* 802F6BD4 002F3B34 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6BD8 002F3B38 38 80 00 01 */ li r4, 1 +/* 802F6BDC 002F3B3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6BE0 002F3B40 7D 89 03 A6 */ mtctr r12 +/* 802F6BE4 002F3B44 4E 80 04 21 */ bctrl +lbl_802F6BE8: +/* 802F6BE8 002F3B48 8B A1 00 64 */ lbz r29, 0x64(r1) +/* 802F6BEC 002F3B4C 38 60 00 00 */ li r3, 0 +/* 802F6BF0 002F3B50 98 61 00 40 */ stb r3, 0x40(r1) +/* 802F6BF4 002F3B54 28 1D 00 00 */ cmplwi r29, 0 +/* 802F6BF8 002F3B58 8B 81 00 58 */ lbz r28, 0x58(r1) +/* 802F6BFC 002F3B5C 40 82 00 A4 */ bne lbl_802F6CA0 +/* 802F6C00 002F3B60 28 1C 00 00 */ cmplwi r28, 0 +/* 802F6C04 002F3B64 40 82 00 9C */ bne lbl_802F6CA0 +/* 802F6C08 002F3B68 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802F6C0C 002F3B6C 98 7E 00 08 */ stb r3, 8(r30) +/* 802F6C10 002F3B70 28 00 00 00 */ cmplwi r0, 0 +/* 802F6C14 002F3B74 41 82 00 38 */ beq lbl_802F6C4C +/* 802F6C18 002F3B78 34 61 00 50 */ addic. r3, r1, 0x50 +/* 802F6C1C 002F3B7C 41 82 00 30 */ beq lbl_802F6C4C +/* 802F6C20 002F3B80 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6C24 002F3B84 28 00 00 00 */ cmplwi r0, 0 +/* 802F6C28 002F3B88 41 82 00 24 */ beq lbl_802F6C4C +/* 802F6C2C 002F3B8C 80 63 00 04 */ lwz r3, 4(r3) +/* 802F6C30 002F3B90 28 03 00 00 */ cmplwi r3, 0 +/* 802F6C34 002F3B94 41 82 00 18 */ beq lbl_802F6C4C +/* 802F6C38 002F3B98 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6C3C 002F3B9C 38 80 00 01 */ li r4, 1 +/* 802F6C40 002F3BA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6C44 002F3BA4 7D 89 03 A6 */ mtctr r12 +/* 802F6C48 002F3BA8 4E 80 04 21 */ bctrl +lbl_802F6C4C: +/* 802F6C4C 002F3BAC 88 01 00 64 */ lbz r0, 0x64(r1) +/* 802F6C50 002F3BB0 38 60 00 00 */ li r3, 0 +/* 802F6C54 002F3BB4 98 61 00 58 */ stb r3, 0x58(r1) +/* 802F6C58 002F3BB8 28 00 00 00 */ cmplwi r0, 0 +/* 802F6C5C 002F3BBC 41 82 00 38 */ beq lbl_802F6C94 +/* 802F6C60 002F3BC0 34 61 00 5C */ addic. r3, r1, 0x5c +/* 802F6C64 002F3BC4 41 82 00 30 */ beq lbl_802F6C94 +/* 802F6C68 002F3BC8 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6C6C 002F3BCC 28 00 00 00 */ cmplwi r0, 0 +/* 802F6C70 002F3BD0 41 82 00 24 */ beq lbl_802F6C94 +/* 802F6C74 002F3BD4 80 63 00 04 */ lwz r3, 4(r3) +/* 802F6C78 002F3BD8 28 03 00 00 */ cmplwi r3, 0 +/* 802F6C7C 002F3BDC 41 82 00 18 */ beq lbl_802F6C94 +/* 802F6C80 002F3BE0 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6C84 002F3BE4 38 80 00 01 */ li r4, 1 +/* 802F6C88 002F3BE8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6C8C 002F3BEC 7D 89 03 A6 */ mtctr r12 +/* 802F6C90 002F3BF0 4E 80 04 21 */ bctrl +lbl_802F6C94: +/* 802F6C94 002F3BF4 38 00 00 00 */ li r0, 0 +/* 802F6C98 002F3BF8 98 01 00 64 */ stb r0, 0x64(r1) +/* 802F6C9C 002F3BFC 48 00 03 40 */ b lbl_802F6FDC +lbl_802F6CA0: +/* 802F6CA0 002F3C00 7F E4 FB 78 */ mr r4, r31 +/* 802F6CA4 002F3C04 38 61 00 30 */ addi r3, r1, 0x30 +/* 802F6CA8 002F3C08 4B F8 BE 39 */ bl Clone__11IAnimReaderCFv +/* 802F6CAC 002F3C0C 38 00 00 00 */ li r0, 0 +/* 802F6CB0 002F3C10 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 802F6CB4 002F3C14 98 01 00 30 */ stb r0, 0x30(r1) +/* 802F6CB8 002F3C18 48 00 00 20 */ b lbl_802F6CD8 +/* 802F6CBC 002F3C1C 41 82 00 1C */ beq lbl_802F6CD8 +/* 802F6CC0 002F3C20 7F E3 FB 78 */ mr r3, r31 +/* 802F6CC4 002F3C24 38 80 00 01 */ li r4, 1 +/* 802F6CC8 002F3C28 81 9F 00 00 */ lwz r12, 0(r31) +/* 802F6CCC 002F3C2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6CD0 002F3C30 7D 89 03 A6 */ mtctr r12 +/* 802F6CD4 002F3C34 4E 80 04 21 */ bctrl +lbl_802F6CD8: +/* 802F6CD8 002F3C38 28 1D 00 00 */ cmplwi r29, 0 +/* 802F6CDC 002F3C3C 41 82 00 70 */ beq lbl_802F6D4C +/* 802F6CE0 002F3C40 38 00 00 00 */ li r0, 0 +/* 802F6CE4 002F3C44 3C 60 80 3D */ lis r3, lbl_803D6E20@ha +/* 802F6CE8 002F3C48 98 01 00 5C */ stb r0, 0x5c(r1) +/* 802F6CEC 002F3C4C 38 83 6E 20 */ addi r4, r3, lbl_803D6E20@l +/* 802F6CF0 002F3C50 83 A1 00 60 */ lwz r29, 0x60(r1) +/* 802F6CF4 002F3C54 38 60 00 08 */ li r3, 8 +/* 802F6CF8 002F3C58 38 A0 00 00 */ li r5, 0 +/* 802F6CFC 002F3C5C 48 01 EB 71 */ bl __nw__FUlPCcPCc +/* 802F6D00 002F3C60 28 03 00 00 */ cmplwi r3, 0 +/* 802F6D04 002F3C64 41 82 00 10 */ beq lbl_802F6D14 +/* 802F6D08 002F3C68 93 A3 00 00 */ stw r29, 0(r3) +/* 802F6D0C 002F3C6C 38 00 00 01 */ li r0, 1 +/* 802F6D10 002F3C70 90 03 00 04 */ stw r0, 4(r3) +lbl_802F6D14: +/* 802F6D14 002F3C74 90 61 00 10 */ stw r3, 0x10(r1) +/* 802F6D18 002F3C78 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802F6D1C 002F3C7C 7C 00 18 40 */ cmplw r0, r3 +/* 802F6D20 002F3C80 41 82 00 24 */ beq lbl_802F6D44 +/* 802F6D24 002F3C84 38 7F 00 14 */ addi r3, r31, 0x14 +/* 802F6D28 002F3C88 4B D3 A2 79 */ bl sub_80030fa0 +/* 802F6D2C 002F3C8C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802F6D30 002F3C90 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802F6D34 002F3C94 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802F6D38 002F3C98 80 64 00 04 */ lwz r3, 4(r4) +/* 802F6D3C 002F3C9C 38 03 00 01 */ addi r0, r3, 1 +/* 802F6D40 002F3CA0 90 04 00 04 */ stw r0, 4(r4) +lbl_802F6D44: +/* 802F6D44 002F3CA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F6D48 002F3CA8 4B D3 A2 59 */ bl sub_80030fa0 +lbl_802F6D4C: +/* 802F6D4C 002F3CAC 28 1C 00 00 */ cmplwi r28, 0 +/* 802F6D50 002F3CB0 41 82 00 70 */ beq lbl_802F6DC0 +/* 802F6D54 002F3CB4 38 00 00 00 */ li r0, 0 +/* 802F6D58 002F3CB8 3C 60 80 3D */ lis r3, lbl_803D6E20@ha +/* 802F6D5C 002F3CBC 98 01 00 50 */ stb r0, 0x50(r1) +/* 802F6D60 002F3CC0 38 83 6E 20 */ addi r4, r3, lbl_803D6E20@l +/* 802F6D64 002F3CC4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802F6D68 002F3CC8 38 60 00 08 */ li r3, 8 +/* 802F6D6C 002F3CCC 38 A0 00 00 */ li r5, 0 +/* 802F6D70 002F3CD0 48 01 EA FD */ bl __nw__FUlPCcPCc +/* 802F6D74 002F3CD4 28 03 00 00 */ cmplwi r3, 0 +/* 802F6D78 002F3CD8 41 82 00 10 */ beq lbl_802F6D88 +/* 802F6D7C 002F3CDC 93 A3 00 00 */ stw r29, 0(r3) +/* 802F6D80 002F3CE0 38 00 00 01 */ li r0, 1 +/* 802F6D84 002F3CE4 90 03 00 04 */ stw r0, 4(r3) +lbl_802F6D88: +/* 802F6D88 002F3CE8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802F6D8C 002F3CEC 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802F6D90 002F3CF0 7C 00 18 40 */ cmplw r0, r3 +/* 802F6D94 002F3CF4 41 82 00 24 */ beq lbl_802F6DB8 +/* 802F6D98 002F3CF8 38 7F 00 18 */ addi r3, r31, 0x18 +/* 802F6D9C 002F3CFC 4B D3 A2 05 */ bl sub_80030fa0 +/* 802F6DA0 002F3D00 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F6DA4 002F3D04 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802F6DA8 002F3D08 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 802F6DAC 002F3D0C 80 64 00 04 */ lwz r3, 4(r4) +/* 802F6DB0 002F3D10 38 03 00 01 */ addi r0, r3, 1 +/* 802F6DB4 002F3D14 90 04 00 04 */ stw r0, 4(r4) +lbl_802F6DB8: +/* 802F6DB8 002F3D18 38 61 00 0C */ addi r3, r1, 0xc +/* 802F6DBC 002F3D1C 4B D3 A1 E5 */ bl sub_80030fa0 +lbl_802F6DC0: +/* 802F6DC0 002F3D20 7C 7F 00 D0 */ neg r3, r31 +/* 802F6DC4 002F3D24 38 00 00 01 */ li r0, 1 +/* 802F6DC8 002F3D28 7C 63 FB 78 */ or r3, r3, r31 +/* 802F6DCC 002F3D2C 28 1E 00 00 */ cmplwi r30, 0 +/* 802F6DD0 002F3D30 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802F6DD4 002F3D34 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802F6DD8 002F3D38 98 61 00 28 */ stb r3, 0x28(r1) +/* 802F6DDC 002F3D3C 98 1E 00 08 */ stb r0, 8(r30) +/* 802F6DE0 002F3D40 41 82 00 14 */ beq lbl_802F6DF4 +/* 802F6DE4 002F3D44 98 7E 00 00 */ stb r3, 0(r30) +/* 802F6DE8 002F3D48 38 00 00 00 */ li r0, 0 +/* 802F6DEC 002F3D4C 93 FE 00 04 */ stw r31, 4(r30) +/* 802F6DF0 002F3D50 98 01 00 28 */ stb r0, 0x28(r1) +lbl_802F6DF4: +/* 802F6DF4 002F3D54 88 01 00 28 */ lbz r0, 0x28(r1) +/* 802F6DF8 002F3D58 28 00 00 00 */ cmplwi r0, 0 +/* 802F6DFC 002F3D5C 41 82 00 24 */ beq lbl_802F6E20 +/* 802F6E00 002F3D60 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802F6E04 002F3D64 28 03 00 00 */ cmplwi r3, 0 +/* 802F6E08 002F3D68 41 82 00 18 */ beq lbl_802F6E20 +/* 802F6E0C 002F3D6C 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6E10 002F3D70 38 80 00 01 */ li r4, 1 +/* 802F6E14 002F3D74 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6E18 002F3D78 7D 89 03 A6 */ mtctr r12 +/* 802F6E1C 002F3D7C 4E 80 04 21 */ bctrl +lbl_802F6E20: +/* 802F6E20 002F3D80 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802F6E24 002F3D84 28 00 00 00 */ cmplwi r0, 0 +/* 802F6E28 002F3D88 41 82 00 38 */ beq lbl_802F6E60 +/* 802F6E2C 002F3D8C 34 61 00 50 */ addic. r3, r1, 0x50 +/* 802F6E30 002F3D90 41 82 00 30 */ beq lbl_802F6E60 +/* 802F6E34 002F3D94 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6E38 002F3D98 28 00 00 00 */ cmplwi r0, 0 +/* 802F6E3C 002F3D9C 41 82 00 24 */ beq lbl_802F6E60 +/* 802F6E40 002F3DA0 80 63 00 04 */ lwz r3, 4(r3) +/* 802F6E44 002F3DA4 28 03 00 00 */ cmplwi r3, 0 +/* 802F6E48 002F3DA8 41 82 00 18 */ beq lbl_802F6E60 +/* 802F6E4C 002F3DAC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6E50 002F3DB0 38 80 00 01 */ li r4, 1 +/* 802F6E54 002F3DB4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6E58 002F3DB8 7D 89 03 A6 */ mtctr r12 +/* 802F6E5C 002F3DBC 4E 80 04 21 */ bctrl +lbl_802F6E60: +/* 802F6E60 002F3DC0 88 01 00 64 */ lbz r0, 0x64(r1) +/* 802F6E64 002F3DC4 38 60 00 00 */ li r3, 0 +/* 802F6E68 002F3DC8 98 61 00 58 */ stb r3, 0x58(r1) +/* 802F6E6C 002F3DCC 28 00 00 00 */ cmplwi r0, 0 +/* 802F6E70 002F3DD0 41 82 00 38 */ beq lbl_802F6EA8 +/* 802F6E74 002F3DD4 34 61 00 5C */ addic. r3, r1, 0x5c +/* 802F6E78 002F3DD8 41 82 00 30 */ beq lbl_802F6EA8 +/* 802F6E7C 002F3DDC 88 03 00 00 */ lbz r0, 0(r3) +/* 802F6E80 002F3DE0 28 00 00 00 */ cmplwi r0, 0 +/* 802F6E84 002F3DE4 41 82 00 24 */ beq lbl_802F6EA8 +/* 802F6E88 002F3DE8 80 63 00 04 */ lwz r3, 4(r3) +/* 802F6E8C 002F3DEC 28 03 00 00 */ cmplwi r3, 0 +/* 802F6E90 002F3DF0 41 82 00 18 */ beq lbl_802F6EA8 +/* 802F6E94 002F3DF4 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6E98 002F3DF8 38 80 00 01 */ li r4, 1 +/* 802F6E9C 002F3DFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6EA0 002F3E00 7D 89 03 A6 */ mtctr r12 +/* 802F6EA4 002F3E04 4E 80 04 21 */ bctrl +lbl_802F6EA8: +/* 802F6EA8 002F3E08 38 00 00 00 */ li r0, 0 +/* 802F6EAC 002F3E0C 98 01 00 64 */ stb r0, 0x64(r1) +/* 802F6EB0 002F3E10 48 00 01 2C */ b lbl_802F6FDC +lbl_802F6EB4: +/* 802F6EB4 002F3E14 7C 60 07 74 */ extsb r0, r3 +/* 802F6EB8 002F3E18 2C 00 00 01 */ cmpwi r0, 1 +/* 802F6EBC 002F3E1C 40 82 00 0C */ bne lbl_802F6EC8 +/* 802F6EC0 002F3E20 3B 9F 00 18 */ addi r28, r31, 0x18 +/* 802F6EC4 002F3E24 48 00 00 08 */ b lbl_802F6ECC +lbl_802F6EC8: +/* 802F6EC8 002F3E28 3B 9F 00 14 */ addi r28, r31, 0x14 +lbl_802F6ECC: +/* 802F6ECC 002F3E2C 80 9C 00 00 */ lwz r4, 0(r28) +/* 802F6ED0 002F3E30 38 61 00 08 */ addi r3, r1, 8 +/* 802F6ED4 002F3E34 80 84 00 00 */ lwz r4, 0(r4) +/* 802F6ED8 002F3E38 4B FE 1F A9 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802F6EDC 002F3E3C 80 A1 00 08 */ lwz r5, 8(r1) +/* 802F6EE0 002F3E40 38 61 00 08 */ addi r3, r1, 8 +/* 802F6EE4 002F3E44 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802F6EE8 002F3E48 80 85 00 04 */ lwz r4, 4(r5) +/* 802F6EEC 002F3E4C 38 04 00 01 */ addi r0, r4, 1 +/* 802F6EF0 002F3E50 90 05 00 04 */ stw r0, 4(r5) +/* 802F6EF4 002F3E54 4B D3 A0 AD */ bl sub_80030fa0 +/* 802F6EF8 002F3E58 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802F6EFC 002F3E5C 80 83 00 00 */ lwz r4, 0(r3) +/* 802F6F00 002F3E60 28 04 00 00 */ cmplwi r4, 0 +/* 802F6F04 002F3E64 40 82 00 74 */ bne lbl_802F6F78 +/* 802F6F08 002F3E68 80 9C 00 00 */ lwz r4, 0(r28) +/* 802F6F0C 002F3E6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802F6F10 002F3E70 80 84 00 00 */ lwz r4, 0(r4) +/* 802F6F14 002F3E74 4B F8 BB CD */ bl Clone__11IAnimReaderCFv +/* 802F6F18 002F3E78 38 00 00 01 */ li r0, 1 +/* 802F6F1C 002F3E7C 28 1E 00 00 */ cmplwi r30, 0 +/* 802F6F20 002F3E80 98 1E 00 08 */ stb r0, 8(r30) +/* 802F6F24 002F3E84 41 82 00 1C */ beq lbl_802F6F40 +/* 802F6F28 002F3E88 88 61 00 20 */ lbz r3, 0x20(r1) +/* 802F6F2C 002F3E8C 38 00 00 00 */ li r0, 0 +/* 802F6F30 002F3E90 98 7E 00 00 */ stb r3, 0(r30) +/* 802F6F34 002F3E94 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802F6F38 002F3E98 90 7E 00 04 */ stw r3, 4(r30) +/* 802F6F3C 002F3E9C 98 01 00 20 */ stb r0, 0x20(r1) +lbl_802F6F40: +/* 802F6F40 002F3EA0 88 01 00 20 */ lbz r0, 0x20(r1) +/* 802F6F44 002F3EA4 28 00 00 00 */ cmplwi r0, 0 +/* 802F6F48 002F3EA8 41 82 00 24 */ beq lbl_802F6F6C +/* 802F6F4C 002F3EAC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802F6F50 002F3EB0 28 03 00 00 */ cmplwi r3, 0 +/* 802F6F54 002F3EB4 41 82 00 18 */ beq lbl_802F6F6C +/* 802F6F58 002F3EB8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6F5C 002F3EBC 38 80 00 01 */ li r4, 1 +/* 802F6F60 002F3EC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6F64 002F3EC4 7D 89 03 A6 */ mtctr r12 +/* 802F6F68 002F3EC8 4E 80 04 21 */ bctrl +lbl_802F6F6C: +/* 802F6F6C 002F3ECC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F6F70 002F3ED0 4B D3 A0 31 */ bl sub_80030fa0 +/* 802F6F74 002F3ED4 48 00 00 68 */ b lbl_802F6FDC +lbl_802F6F78: +/* 802F6F78 002F3ED8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F6F7C 002F3EDC 4B F8 BB 65 */ bl Clone__11IAnimReaderCFv +/* 802F6F80 002F3EE0 38 00 00 01 */ li r0, 1 +/* 802F6F84 002F3EE4 28 1E 00 00 */ cmplwi r30, 0 +/* 802F6F88 002F3EE8 98 1E 00 08 */ stb r0, 8(r30) +/* 802F6F8C 002F3EEC 41 82 00 1C */ beq lbl_802F6FA8 +/* 802F6F90 002F3EF0 88 61 00 18 */ lbz r3, 0x18(r1) +/* 802F6F94 002F3EF4 38 00 00 00 */ li r0, 0 +/* 802F6F98 002F3EF8 98 7E 00 00 */ stb r3, 0(r30) +/* 802F6F9C 002F3EFC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802F6FA0 002F3F00 90 7E 00 04 */ stw r3, 4(r30) +/* 802F6FA4 002F3F04 98 01 00 18 */ stb r0, 0x18(r1) +lbl_802F6FA8: +/* 802F6FA8 002F3F08 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802F6FAC 002F3F0C 28 00 00 00 */ cmplwi r0, 0 +/* 802F6FB0 002F3F10 41 82 00 24 */ beq lbl_802F6FD4 +/* 802F6FB4 002F3F14 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802F6FB8 002F3F18 28 03 00 00 */ cmplwi r3, 0 +/* 802F6FBC 002F3F1C 41 82 00 18 */ beq lbl_802F6FD4 +/* 802F6FC0 002F3F20 81 83 00 00 */ lwz r12, 0(r3) +/* 802F6FC4 002F3F24 38 80 00 01 */ li r4, 1 +/* 802F6FC8 002F3F28 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F6FCC 002F3F2C 7D 89 03 A6 */ mtctr r12 +/* 802F6FD0 002F3F30 4E 80 04 21 */ bctrl +lbl_802F6FD4: +/* 802F6FD4 002F3F34 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F6FD8 002F3F38 4B D3 9F C9 */ bl sub_80030fa0 +lbl_802F6FDC: +/* 802F6FDC 002F3F3C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802F6FE0 002F3F40 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802F6FE4 002F3F44 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802F6FE8 002F3F48 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802F6FEC 002F3F4C 83 81 00 70 */ lwz r28, 0x70(r1) +/* 802F6FF0 002F3F50 7C 08 03 A6 */ mtlr r0 +/* 802F6FF4 002F3F54 38 21 00 80 */ addi r1, r1, 0x80 +/* 802F6FF8 002F3F58 4E 80 00 20 */ blr + +.global ShouldCullTree__18CAnimTreeTweenBaseFv +ShouldCullTree__18CAnimTreeTweenBaseFv: +/* 802F6FFC 002F3F5C 80 AD A7 40 */ lwz r5, lbl_805A9300@sda21(r13) +/* 802F7000 002F3F60 38 00 00 03 */ li r0, 3 +/* 802F7004 002F3F64 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802F7008 002F3F68 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 802F700C 002F3F6C 7C 00 28 10 */ subfc r0, r0, r5 +/* 802F7010 002F3F70 7C 64 19 14 */ adde r3, r4, r3 +/* 802F7014 002F3F74 4E 80 00 20 */ blr + +.global GetBlendingWeight__18CAnimTreeTweenBaseCFv +GetBlendingWeight__18CAnimTreeTweenBaseCFv: +/* 802F7018 002F3F78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F701C 002F3F7C 7C 08 02 A6 */ mflr r0 +/* 802F7020 002F3F80 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F7024 002F3F84 81 83 00 00 */ lwz r12, 0(r3) +/* 802F7028 002F3F88 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 802F702C 002F3F8C 7D 89 03 A6 */ mtctr r12 +/* 802F7030 002F3F90 4E 80 04 21 */ bctrl +/* 802F7034 002F3F94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F7038 002F3F98 7C 08 03 A6 */ mtlr r0 +/* 802F703C 002F3F9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F7040 002F3FA0 4E 80 00 20 */ blr + +.global VGetRightChildWeight__18CAnimTreeTweenBaseCFv +VGetRightChildWeight__18CAnimTreeTweenBaseCFv: +/* 802F7044 002F3FA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F7048 002F3FA8 7C 08 02 A6 */ mflr r0 +/* 802F704C 002F3FAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F7050 002F3FB0 4B FF FF C9 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F7054 002F3FB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F7058 002F3FB8 7C 08 03 A6 */ mtlr r0 +/* 802F705C 002F3FBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F7060 002F3FC0 4E 80 00 20 */ blr + +.global VGetSegStatementSet__18CAnimTreeTweenBaseCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +VGetSegStatementSet__18CAnimTreeTweenBaseCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime: +/* 802F7064 002F3FC4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802F7068 002F3FC8 7C 08 02 A6 */ mflr r0 +/* 802F706C 002F3FCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802F7070 002F3FD0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802F7074 002F3FD4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802F7078 002F3FD8 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802F707C 002F3FDC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802F7080 002F3FE0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802F7084 002F3FE4 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802F7088 002F3FE8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802F708C 002F3FEC 93 81 00 40 */ stw r28, 0x40(r1) +/* 802F7090 002F3FF0 7C 7F 1B 78 */ mr r31, r3 +/* 802F7094 002F3FF4 7C 9C 23 78 */ mr r28, r4 +/* 802F7098 002F3FF8 7C BD 2B 78 */ mr r29, r5 +/* 802F709C 002F3FFC 7C DE 33 78 */ mr r30, r6 +/* 802F70A0 002F4000 4B FF FF 79 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F70A4 002F4004 88 0D A7 50 */ lbz r0, lbl_805A9310@sda21(r13) +/* 802F70A8 002F4008 FF C0 08 90 */ fmr f30, f1 +/* 802F70AC 002F400C 7C 00 07 75 */ extsb. r0, r0 +/* 802F70B0 002F4010 40 82 00 14 */ bne lbl_802F70C4 +/* 802F70B4 002F4014 38 60 00 00 */ li r3, 0 +/* 802F70B8 002F4018 38 00 00 01 */ li r0, 1 +/* 802F70BC 002F401C 90 6D A7 4C */ stw r3, lbl_805A930C@sda21(r13) +/* 802F70C0 002F4020 98 0D A7 50 */ stb r0, lbl_805A9310@sda21(r13) +lbl_802F70C4: +/* 802F70C4 002F4024 C8 02 C6 C8 */ lfd f0, lbl_805AE3E8@sda21(r2) +/* 802F70C8 002F4028 80 6D A7 4C */ lwz r3, lbl_805A930C@sda21(r13) +/* 802F70CC 002F402C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802F70D0 002F4030 38 03 00 01 */ addi r0, r3, 1 +/* 802F70D4 002F4034 90 0D A7 4C */ stw r0, lbl_805A930C@sda21(r13) +/* 802F70D8 002F4038 4C 41 13 82 */ cror 2, 1, 2 +/* 802F70DC 002F403C 40 82 00 2C */ bne lbl_802F7108 +/* 802F70E0 002F4040 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802F70E4 002F4044 7F 84 E3 78 */ mr r4, r28 +/* 802F70E8 002F4048 7F A5 EB 78 */ mr r5, r29 +/* 802F70EC 002F404C 7F C6 F3 78 */ mr r6, r30 +/* 802F70F0 002F4050 80 63 00 00 */ lwz r3, 0(r3) +/* 802F70F4 002F4054 81 83 00 00 */ lwz r12, 0(r3) +/* 802F70F8 002F4058 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802F70FC 002F405C 7D 89 03 A6 */ mtctr r12 +/* 802F7100 002F4060 4E 80 04 21 */ bctrl +/* 802F7104 002F4064 48 00 02 20 */ b lbl_802F7324 +lbl_802F7108: +/* 802F7108 002F4068 2C 00 00 03 */ cmpwi r0, 3 +/* 802F710C 002F406C 40 81 00 B0 */ ble lbl_802F71BC +/* 802F7110 002F4070 C0 02 C6 D0 */ lfs f0, lbl_805AE3F0@sda21(r2) +/* 802F7114 002F4074 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802F7118 002F4078 40 81 00 0C */ ble lbl_802F7124 +/* 802F711C 002F407C 3B FF 00 18 */ addi r31, r31, 0x18 +/* 802F7120 002F4080 48 00 00 08 */ b lbl_802F7128 +lbl_802F7124: +/* 802F7124 002F4084 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_802F7128: +/* 802F7128 002F4088 80 9F 00 00 */ lwz r4, 0(r31) +/* 802F712C 002F408C 38 61 00 0C */ addi r3, r1, 0xc +/* 802F7130 002F4090 80 84 00 00 */ lwz r4, 0(r4) +/* 802F7134 002F4094 4B FE 1D 4D */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802F7138 002F4098 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802F713C 002F409C 38 61 00 0C */ addi r3, r1, 0xc +/* 802F7140 002F40A0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802F7144 002F40A4 80 85 00 04 */ lwz r4, 4(r5) +/* 802F7148 002F40A8 38 04 00 01 */ addi r0, r4, 1 +/* 802F714C 002F40AC 90 05 00 04 */ stw r0, 4(r5) +/* 802F7150 002F40B0 4B D3 9E 51 */ bl sub_80030fa0 +/* 802F7154 002F40B4 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F7158 002F40B8 80 03 00 00 */ lwz r0, 0(r3) +/* 802F715C 002F40BC 28 00 00 00 */ cmplwi r0, 0 +/* 802F7160 002F40C0 40 82 00 2C */ bne lbl_802F718C +/* 802F7164 002F40C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 802F7168 002F40C8 7C 03 00 40 */ cmplw r3, r0 +/* 802F716C 002F40CC 41 82 00 20 */ beq lbl_802F718C +/* 802F7170 002F40D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F7174 002F40D4 4B D3 9E 2D */ bl sub_80030fa0 +/* 802F7178 002F40D8 80 9F 00 00 */ lwz r4, 0(r31) +/* 802F717C 002F40DC 90 81 00 10 */ stw r4, 0x10(r1) +/* 802F7180 002F40E0 80 64 00 04 */ lwz r3, 4(r4) +/* 802F7184 002F40E4 38 03 00 01 */ addi r0, r3, 1 +/* 802F7188 002F40E8 90 04 00 04 */ stw r0, 4(r4) +lbl_802F718C: +/* 802F718C 002F40EC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F7190 002F40F0 7F 84 E3 78 */ mr r4, r28 +/* 802F7194 002F40F4 7F A5 EB 78 */ mr r5, r29 +/* 802F7198 002F40F8 7F C6 F3 78 */ mr r6, r30 +/* 802F719C 002F40FC 80 63 00 00 */ lwz r3, 0(r3) +/* 802F71A0 002F4100 81 83 00 00 */ lwz r12, 0(r3) +/* 802F71A4 002F4104 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802F71A8 002F4108 7D 89 03 A6 */ mtctr r12 +/* 802F71AC 002F410C 4E 80 04 21 */ bctrl +/* 802F71B0 002F4110 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F71B4 002F4114 4B D3 9D ED */ bl sub_80030fa0 +/* 802F71B8 002F4118 48 00 01 6C */ b lbl_802F7324 +lbl_802F71BC: +/* 802F71BC 002F411C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F71C0 002F4120 48 00 61 AD */ bl __ct__21CStackSegStatementSetFv +/* 802F71C4 002F4124 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802F71C8 002F4128 7F 84 E3 78 */ mr r4, r28 +/* 802F71CC 002F412C 7F C6 F3 78 */ mr r6, r30 +/* 802F71D0 002F4130 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802F71D4 002F4134 80 63 00 00 */ lwz r3, 0(r3) +/* 802F71D8 002F4138 81 83 00 00 */ lwz r12, 0(r3) +/* 802F71DC 002F413C 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802F71E0 002F4140 7D 89 03 A6 */ mtctr r12 +/* 802F71E4 002F4144 4E 80 04 21 */ bctrl +/* 802F71E8 002F4148 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F71EC 002F414C 48 00 61 81 */ bl __ct__21CStackSegStatementSetFv +/* 802F71F0 002F4150 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802F71F4 002F4154 7F 84 E3 78 */ mr r4, r28 +/* 802F71F8 002F4158 7F C6 F3 78 */ mr r6, r30 +/* 802F71FC 002F415C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802F7200 002F4160 80 63 00 00 */ lwz r3, 0(r3) +/* 802F7204 002F4164 81 83 00 00 */ lwz r12, 0(r3) +/* 802F7208 002F4168 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802F720C 002F416C 7D 89 03 A6 */ mtctr r12 +/* 802F7210 002F4170 4E 80 04 21 */ bctrl +/* 802F7214 002F4174 C0 02 C6 C0 */ lfs f0, lbl_805AE3E0@sda21(r2) +/* 802F7218 002F4178 3B C0 00 00 */ li r30, 0 +/* 802F721C 002F417C 83 FC 00 04 */ lwz r31, 4(r28) +/* 802F7220 002F4180 EF E0 F0 28 */ fsubs f31, f0, f30 +/* 802F7224 002F4184 48 00 00 E0 */ b lbl_802F7304 +lbl_802F7228: +/* 802F7228 002F4188 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 802F722C 002F418C FC 20 F0 90 */ fmr f1, f30 +/* 802F7230 002F4190 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802F7234 002F4194 38 61 00 24 */ addi r3, r1, 0x24 +/* 802F7238 002F4198 7C A5 F0 AE */ lbzx r5, r5, r30 +/* 802F723C 002F419C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802F7240 002F41A0 54 A6 28 34 */ slwi r6, r5, 5 +/* 802F7244 002F41A4 98 A1 00 08 */ stb r5, 8(r1) +/* 802F7248 002F41A8 7C 84 32 14 */ add r4, r4, r6 +/* 802F724C 002F41AC 7C A0 32 14 */ add r5, r0, r6 +/* 802F7250 002F41B0 4B FF 44 6D */ bl SlerpLocal__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802F7254 002F41B4 88 01 00 08 */ lbz r0, 8(r1) +/* 802F7258 002F41B8 80 7D 00 04 */ lwz r3, 4(r29) +/* 802F725C 002F41BC 54 04 28 34 */ slwi r4, r0, 5 +/* 802F7260 002F41C0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802F7264 002F41C4 7C A3 22 14 */ add r5, r3, r4 +/* 802F7268 002F41C8 D0 05 00 00 */ stfs f0, 0(r5) +/* 802F726C 002F41CC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802F7270 002F41D0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802F7274 002F41D4 90 65 00 04 */ stw r3, 4(r5) +/* 802F7278 002F41D8 90 05 00 08 */ stw r0, 8(r5) +/* 802F727C 002F41DC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802F7280 002F41E0 90 05 00 0C */ stw r0, 0xc(r5) +/* 802F7284 002F41E4 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 802F7288 002F41E8 7C 66 22 14 */ add r3, r6, r4 +/* 802F728C 002F41EC 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802F7290 002F41F0 28 00 00 00 */ cmplwi r0, 0 +/* 802F7294 002F41F4 41 82 00 6C */ beq lbl_802F7300 +/* 802F7298 002F41F8 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802F729C 002F41FC 7C 60 22 14 */ add r3, r0, r4 +/* 802F72A0 002F4200 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802F72A4 002F4204 28 00 00 00 */ cmplwi r0, 0 +/* 802F72A8 002F4208 41 82 00 58 */ beq lbl_802F7300 +/* 802F72AC 002F420C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802F72B0 002F4210 38 A4 00 10 */ addi r5, r4, 0x10 +/* 802F72B4 002F4214 7C A6 2A 14 */ add r5, r6, r5 +/* 802F72B8 002F4218 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 802F72BC 002F421C EC 00 07 B2 */ fmuls f0, f0, f30 +/* 802F72C0 002F4220 C0 25 00 00 */ lfs f1, 0(r5) +/* 802F72C4 002F4224 C0 43 00 18 */ lfs f2, 0x18(r3) +/* 802F72C8 002F4228 EC 63 07 B2 */ fmuls f3, f3, f30 +/* 802F72CC 002F422C C0 85 00 04 */ lfs f4, 4(r5) +/* 802F72D0 002F4230 38 00 00 01 */ li r0, 1 +/* 802F72D4 002F4234 80 7D 00 04 */ lwz r3, 4(r29) +/* 802F72D8 002F4238 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 802F72DC 002F423C EC 22 07 B2 */ fmuls f1, f2, f30 +/* 802F72E0 002F4240 C0 45 00 08 */ lfs f2, 8(r5) +/* 802F72E4 002F4244 7C 63 22 14 */ add r3, r3, r4 +/* 802F72E8 002F4248 EC 64 1F FA */ fmadds f3, f4, f31, f3 +/* 802F72EC 002F424C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802F72F0 002F4250 EC 02 0F FA */ fmadds f0, f2, f31, f1 +/* 802F72F4 002F4254 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 802F72F8 002F4258 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802F72FC 002F425C 90 03 00 1C */ stw r0, 0x1c(r3) +lbl_802F7300: +/* 802F7300 002F4260 3B DE 00 01 */ addi r30, r30, 1 +lbl_802F7304: +/* 802F7304 002F4264 7C 1E F8 00 */ cmpw r30, r31 +/* 802F7308 002F4268 41 80 FF 20 */ blt lbl_802F7228 +/* 802F730C 002F426C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F7310 002F4270 38 80 FF FF */ li r4, -1 +/* 802F7314 002F4274 48 00 5F 99 */ bl __dt__21CStackSegStatementSetFv +/* 802F7318 002F4278 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F731C 002F427C 38 80 FF FF */ li r4, -1 +/* 802F7320 002F4280 48 00 5F 8D */ bl __dt__21CStackSegStatementSetFv +lbl_802F7324: +/* 802F7324 002F4284 80 6D A7 4C */ lwz r3, lbl_805A930C@sda21(r13) +/* 802F7328 002F4288 38 03 FF FF */ addi r0, r3, -1 +/* 802F732C 002F428C 90 0D A7 4C */ stw r0, lbl_805A930C@sda21(r13) +/* 802F7330 002F4290 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802F7334 002F4294 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802F7338 002F4298 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802F733C 002F429C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802F7340 002F42A0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802F7344 002F42A4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802F7348 002F42A8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802F734C 002F42AC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802F7350 002F42B0 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802F7354 002F42B4 7C 08 03 A6 */ mtlr r0 +/* 802F7358 002F42B8 38 21 00 70 */ addi r1, r1, 0x70 +/* 802F735C 002F42BC 4E 80 00 20 */ blr + +.global VGetSegStatementSet__18CAnimTreeTweenBaseCFRC10CSegIdListR16CSegStatementSet +VGetSegStatementSet__18CAnimTreeTweenBaseCFRC10CSegIdListR16CSegStatementSet: +/* 802F7360 002F42C0 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802F7364 002F42C4 7C 08 02 A6 */ mflr r0 +/* 802F7368 002F42C8 90 01 00 84 */ stw r0, 0x84(r1) +/* 802F736C 002F42CC DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802F7370 002F42D0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802F7374 002F42D4 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 802F7378 002F42D8 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 802F737C 002F42DC DB A1 00 50 */ stfd f29, 0x50(r1) +/* 802F7380 002F42E0 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 802F7384 002F42E4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802F7388 002F42E8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802F738C 002F42EC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802F7390 002F42F0 93 81 00 40 */ stw r28, 0x40(r1) +/* 802F7394 002F42F4 7C 7E 1B 78 */ mr r30, r3 +/* 802F7398 002F42F8 7C 9C 23 78 */ mr r28, r4 +/* 802F739C 002F42FC 7C BD 2B 78 */ mr r29, r5 +/* 802F73A0 002F4300 4B FF FC 79 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F73A4 002F4304 88 0D A7 48 */ lbz r0, lbl_805A9308@sda21(r13) +/* 802F73A8 002F4308 FF C0 08 90 */ fmr f30, f1 +/* 802F73AC 002F430C 7C 00 07 75 */ extsb. r0, r0 +/* 802F73B0 002F4310 40 82 00 14 */ bne lbl_802F73C4 +/* 802F73B4 002F4314 38 60 00 00 */ li r3, 0 +/* 802F73B8 002F4318 38 00 00 01 */ li r0, 1 +/* 802F73BC 002F431C 90 6D A7 44 */ stw r3, lbl_805A9304@sda21(r13) +/* 802F73C0 002F4320 98 0D A7 48 */ stb r0, lbl_805A9308@sda21(r13) +lbl_802F73C4: +/* 802F73C4 002F4324 C8 02 C6 C8 */ lfd f0, lbl_805AE3E8@sda21(r2) +/* 802F73C8 002F4328 80 6D A7 44 */ lwz r3, lbl_805A9304@sda21(r13) +/* 802F73CC 002F432C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802F73D0 002F4330 38 03 00 01 */ addi r0, r3, 1 +/* 802F73D4 002F4334 90 0D A7 44 */ stw r0, lbl_805A9304@sda21(r13) +/* 802F73D8 002F4338 4C 41 13 82 */ cror 2, 1, 2 +/* 802F73DC 002F433C 40 82 00 28 */ bne lbl_802F7404 +/* 802F73E0 002F4340 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F73E4 002F4344 7F 84 E3 78 */ mr r4, r28 +/* 802F73E8 002F4348 7F A5 EB 78 */ mr r5, r29 +/* 802F73EC 002F434C 80 63 00 00 */ lwz r3, 0(r3) +/* 802F73F0 002F4350 81 83 00 00 */ lwz r12, 0(r3) +/* 802F73F4 002F4354 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802F73F8 002F4358 7D 89 03 A6 */ mtctr r12 +/* 802F73FC 002F435C 4E 80 04 21 */ bctrl +/* 802F7400 002F4360 48 00 02 80 */ b lbl_802F7680 +lbl_802F7404: +/* 802F7404 002F4364 2C 00 00 03 */ cmpwi r0, 3 +/* 802F7408 002F4368 40 81 00 AC */ ble lbl_802F74B4 +/* 802F740C 002F436C C0 02 C6 D0 */ lfs f0, lbl_805AE3F0@sda21(r2) +/* 802F7410 002F4370 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802F7414 002F4374 40 81 00 0C */ ble lbl_802F7420 +/* 802F7418 002F4378 3B DE 00 18 */ addi r30, r30, 0x18 +/* 802F741C 002F437C 48 00 00 08 */ b lbl_802F7424 +lbl_802F7420: +/* 802F7420 002F4380 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802F7424: +/* 802F7424 002F4384 80 9E 00 00 */ lwz r4, 0(r30) +/* 802F7428 002F4388 38 61 00 0C */ addi r3, r1, 0xc +/* 802F742C 002F438C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F7430 002F4390 4B FE 1A 51 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802F7434 002F4394 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802F7438 002F4398 38 61 00 0C */ addi r3, r1, 0xc +/* 802F743C 002F439C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802F7440 002F43A0 80 85 00 04 */ lwz r4, 4(r5) +/* 802F7444 002F43A4 38 04 00 01 */ addi r0, r4, 1 +/* 802F7448 002F43A8 90 05 00 04 */ stw r0, 4(r5) +/* 802F744C 002F43AC 4B D3 9B 55 */ bl sub_80030fa0 +/* 802F7450 002F43B0 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F7454 002F43B4 80 03 00 00 */ lwz r0, 0(r3) +/* 802F7458 002F43B8 28 00 00 00 */ cmplwi r0, 0 +/* 802F745C 002F43BC 40 82 00 2C */ bne lbl_802F7488 +/* 802F7460 002F43C0 80 1E 00 00 */ lwz r0, 0(r30) +/* 802F7464 002F43C4 7C 03 00 40 */ cmplw r3, r0 +/* 802F7468 002F43C8 41 82 00 20 */ beq lbl_802F7488 +/* 802F746C 002F43CC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F7470 002F43D0 4B D3 9B 31 */ bl sub_80030fa0 +/* 802F7474 002F43D4 80 9E 00 00 */ lwz r4, 0(r30) +/* 802F7478 002F43D8 90 81 00 10 */ stw r4, 0x10(r1) +/* 802F747C 002F43DC 80 64 00 04 */ lwz r3, 4(r4) +/* 802F7480 002F43E0 38 03 00 01 */ addi r0, r3, 1 +/* 802F7484 002F43E4 90 04 00 04 */ stw r0, 4(r4) +lbl_802F7488: +/* 802F7488 002F43E8 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802F748C 002F43EC 7F 84 E3 78 */ mr r4, r28 +/* 802F7490 002F43F0 7F A5 EB 78 */ mr r5, r29 +/* 802F7494 002F43F4 80 63 00 00 */ lwz r3, 0(r3) +/* 802F7498 002F43F8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F749C 002F43FC 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802F74A0 002F4400 7D 89 03 A6 */ mtctr r12 +/* 802F74A4 002F4404 4E 80 04 21 */ bctrl +/* 802F74A8 002F4408 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F74AC 002F440C 4B D3 9A F5 */ bl sub_80030fa0 +/* 802F74B0 002F4410 48 00 01 D0 */ b lbl_802F7680 +lbl_802F74B4: +/* 802F74B4 002F4414 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F74B8 002F4418 48 00 5E B5 */ bl __ct__21CStackSegStatementSetFv +/* 802F74BC 002F441C 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802F74C0 002F4420 7F 84 E3 78 */ mr r4, r28 +/* 802F74C4 002F4424 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802F74C8 002F4428 80 63 00 00 */ lwz r3, 0(r3) +/* 802F74CC 002F442C 81 83 00 00 */ lwz r12, 0(r3) +/* 802F74D0 002F4430 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802F74D4 002F4434 7D 89 03 A6 */ mtctr r12 +/* 802F74D8 002F4438 4E 80 04 21 */ bctrl +/* 802F74DC 002F443C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F74E0 002F4440 48 00 5E 8D */ bl __ct__21CStackSegStatementSetFv +/* 802F74E4 002F4444 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F74E8 002F4448 7F 84 E3 78 */ mr r4, r28 +/* 802F74EC 002F444C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802F74F0 002F4450 80 63 00 00 */ lwz r3, 0(r3) +/* 802F74F4 002F4454 81 83 00 00 */ lwz r12, 0(r3) +/* 802F74F8 002F4458 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802F74FC 002F445C 7D 89 03 A6 */ mtctr r12 +/* 802F7500 002F4460 4E 80 04 21 */ bctrl +/* 802F7504 002F4464 C0 02 C6 C0 */ lfs f0, lbl_805AE3E0@sda21(r2) +/* 802F7508 002F4468 3B C0 00 00 */ li r30, 0 +/* 802F750C 002F446C 83 FC 00 04 */ lwz r31, 4(r28) +/* 802F7510 002F4470 EF E0 F0 28 */ fsubs f31, f0, f30 +/* 802F7514 002F4474 C3 A2 C6 38 */ lfs f29, lbl_805AE358@sda21(r2) +/* 802F7518 002F4478 48 00 01 48 */ b lbl_802F7660 +lbl_802F751C: +/* 802F751C 002F447C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802F7520 002F4480 FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 802F7524 002F4484 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802F7528 002F4488 7C 63 F0 AE */ lbzx r3, r3, r30 +/* 802F752C 002F448C 54 65 28 34 */ slwi r5, r3, 5 +/* 802F7530 002F4490 98 61 00 08 */ stb r3, 8(r1) +/* 802F7534 002F4494 7C 80 2A 14 */ add r4, r0, r5 +/* 802F7538 002F4498 40 80 00 6C */ bge lbl_802F75A4 +/* 802F753C 002F449C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802F7540 002F44A0 C0 04 00 00 */ lfs f0, 0(r4) +/* 802F7544 002F44A4 7C C0 2A 14 */ add r6, r0, r5 +/* 802F7548 002F44A8 D0 06 00 00 */ stfs f0, 0(r6) +/* 802F754C 002F44AC 80 64 00 04 */ lwz r3, 4(r4) +/* 802F7550 002F44B0 80 04 00 08 */ lwz r0, 8(r4) +/* 802F7554 002F44B4 90 66 00 04 */ stw r3, 4(r6) +/* 802F7558 002F44B8 90 06 00 08 */ stw r0, 8(r6) +/* 802F755C 002F44BC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802F7560 002F44C0 90 06 00 0C */ stw r0, 0xc(r6) +/* 802F7564 002F44C4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802F7568 002F44C8 7C 80 2A 14 */ add r4, r0, r5 +/* 802F756C 002F44CC 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 802F7570 002F44D0 28 00 00 00 */ cmplwi r0, 0 +/* 802F7574 002F44D4 41 82 00 E8 */ beq lbl_802F765C +/* 802F7578 002F44D8 80 7D 00 04 */ lwz r3, 4(r29) +/* 802F757C 002F44DC 38 00 00 01 */ li r0, 1 +/* 802F7580 002F44E0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802F7584 002F44E4 7C 63 2A 14 */ add r3, r3, r5 +/* 802F7588 002F44E8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802F758C 002F44EC C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802F7590 002F44F0 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802F7594 002F44F4 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802F7598 002F44F8 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802F759C 002F44FC 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802F75A0 002F4500 48 00 00 BC */ b lbl_802F765C +lbl_802F75A4: +/* 802F75A4 002F4504 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802F75A8 002F4508 FC 20 F0 90 */ fmr f1, f30 +/* 802F75AC 002F450C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802F75B0 002F4510 7C A0 2A 14 */ add r5, r0, r5 +/* 802F75B4 002F4514 4B FF 41 09 */ bl SlerpLocal__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802F75B8 002F4518 88 01 00 08 */ lbz r0, 8(r1) +/* 802F75BC 002F451C 80 7D 00 04 */ lwz r3, 4(r29) +/* 802F75C0 002F4520 54 04 28 34 */ slwi r4, r0, 5 +/* 802F75C4 002F4524 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802F75C8 002F4528 7C A3 22 14 */ add r5, r3, r4 +/* 802F75CC 002F452C D0 05 00 00 */ stfs f0, 0(r5) +/* 802F75D0 002F4530 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802F75D4 002F4534 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802F75D8 002F4538 90 65 00 04 */ stw r3, 4(r5) +/* 802F75DC 002F453C 90 05 00 08 */ stw r0, 8(r5) +/* 802F75E0 002F4540 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802F75E4 002F4544 90 05 00 0C */ stw r0, 0xc(r5) +/* 802F75E8 002F4548 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802F75EC 002F454C 7C A0 22 14 */ add r5, r0, r4 +/* 802F75F0 002F4550 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 802F75F4 002F4554 28 00 00 00 */ cmplwi r0, 0 +/* 802F75F8 002F4558 41 82 00 64 */ beq lbl_802F765C +/* 802F75FC 002F455C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802F7600 002F4560 7C 60 22 14 */ add r3, r0, r4 +/* 802F7604 002F4564 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802F7608 002F4568 28 00 00 00 */ cmplwi r0, 0 +/* 802F760C 002F456C 41 82 00 50 */ beq lbl_802F765C +/* 802F7610 002F4570 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802F7614 002F4574 38 00 00 01 */ li r0, 1 +/* 802F7618 002F4578 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 802F761C 002F457C EC 00 07 B2 */ fmuls f0, f0, f30 +/* 802F7620 002F4580 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802F7624 002F4584 C0 43 00 18 */ lfs f2, 0x18(r3) +/* 802F7628 002F4588 EC 83 07 B2 */ fmuls f4, f3, f30 +/* 802F762C 002F458C C0 A5 00 14 */ lfs f5, 0x14(r5) +/* 802F7630 002F4590 80 7D 00 04 */ lwz r3, 4(r29) +/* 802F7634 002F4594 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 802F7638 002F4598 C0 65 00 18 */ lfs f3, 0x18(r5) +/* 802F763C 002F459C EC 22 07 B2 */ fmuls f1, f2, f30 +/* 802F7640 002F45A0 7C 63 22 14 */ add r3, r3, r4 +/* 802F7644 002F45A4 EC 45 27 FA */ fmadds f2, f5, f31, f4 +/* 802F7648 002F45A8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802F764C 002F45AC EC 03 0F FA */ fmadds f0, f3, f31, f1 +/* 802F7650 002F45B0 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 802F7654 002F45B4 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802F7658 002F45B8 90 03 00 1C */ stw r0, 0x1c(r3) +lbl_802F765C: +/* 802F765C 002F45BC 3B DE 00 01 */ addi r30, r30, 1 +lbl_802F7660: +/* 802F7660 002F45C0 7C 1E F8 00 */ cmpw r30, r31 +/* 802F7664 002F45C4 41 80 FE B8 */ blt lbl_802F751C +/* 802F7668 002F45C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F766C 002F45CC 38 80 FF FF */ li r4, -1 +/* 802F7670 002F45D0 48 00 5C 3D */ bl __dt__21CStackSegStatementSetFv +/* 802F7674 002F45D4 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F7678 002F45D8 38 80 FF FF */ li r4, -1 +/* 802F767C 002F45DC 48 00 5C 31 */ bl __dt__21CStackSegStatementSetFv +lbl_802F7680: +/* 802F7680 002F45E0 80 6D A7 44 */ lwz r3, lbl_805A9304@sda21(r13) +/* 802F7684 002F45E4 38 03 FF FF */ addi r0, r3, -1 +/* 802F7688 002F45E8 90 0D A7 44 */ stw r0, lbl_805A9304@sda21(r13) +/* 802F768C 002F45EC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802F7690 002F45F0 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802F7694 002F45F4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 802F7698 002F45F8 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 802F769C 002F45FC E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 802F76A0 002F4600 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 802F76A4 002F4604 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802F76A8 002F4608 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802F76AC 002F460C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802F76B0 002F4610 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802F76B4 002F4614 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802F76B8 002F4618 7C 08 03 A6 */ mtlr r0 +/* 802F76BC 002F461C 38 21 00 80 */ addi r1, r1, 0x80 +/* 802F76C0 002F4620 4E 80 00 20 */ blr + +.global VGetRotation__18CAnimTreeTweenBaseCFRC6CSegId +VGetRotation__18CAnimTreeTweenBaseCFRC6CSegId: +/* 802F76C4 002F4624 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802F76C8 002F4628 7C 08 02 A6 */ mflr r0 +/* 802F76CC 002F462C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802F76D0 002F4630 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802F76D4 002F4634 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802F76D8 002F4638 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802F76DC 002F463C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802F76E0 002F4640 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802F76E4 002F4644 7C 9E 23 78 */ mr r30, r4 +/* 802F76E8 002F4648 7C 7D 1B 78 */ mr r29, r3 +/* 802F76EC 002F464C 7C BF 2B 78 */ mr r31, r5 +/* 802F76F0 002F4650 7F C3 F3 78 */ mr r3, r30 +/* 802F76F4 002F4654 4B FF F9 25 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F76F8 002F4658 FF E0 08 90 */ fmr f31, f1 +/* 802F76FC 002F465C C8 02 C6 C8 */ lfd f0, lbl_805AE3E8@sda21(r2) +/* 802F7700 002F4660 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802F7704 002F4664 4C 41 13 82 */ cror 2, 1, 2 +/* 802F7708 002F4668 40 82 00 28 */ bne lbl_802F7730 +/* 802F770C 002F466C 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F7710 002F4670 7F A3 EB 78 */ mr r3, r29 +/* 802F7714 002F4674 7F E5 FB 78 */ mr r5, r31 +/* 802F7718 002F4678 80 84 00 00 */ lwz r4, 0(r4) +/* 802F771C 002F467C 81 84 00 00 */ lwz r12, 0(r4) +/* 802F7720 002F4680 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802F7724 002F4684 7D 89 03 A6 */ mtctr r12 +/* 802F7728 002F4688 4E 80 04 21 */ bctrl +/* 802F772C 002F468C 48 00 00 98 */ b lbl_802F77C4 +lbl_802F7730: +/* 802F7730 002F4690 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F7734 002F4694 7F E5 FB 78 */ mr r5, r31 +/* 802F7738 002F4698 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F773C 002F469C 80 84 00 00 */ lwz r4, 0(r4) +/* 802F7740 002F46A0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F7744 002F46A4 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802F7748 002F46A8 7D 89 03 A6 */ mtctr r12 +/* 802F774C 002F46AC 4E 80 04 21 */ bctrl +/* 802F7750 002F46B0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802F7754 002F46B4 7F E5 FB 78 */ mr r5, r31 +/* 802F7758 002F46B8 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802F775C 002F46BC 38 61 00 08 */ addi r3, r1, 8 +/* 802F7760 002F46C0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802F7764 002F46C4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802F7768 002F46C8 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802F776C 002F46CC 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F7770 002F46D0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802F7774 002F46D4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802F7778 002F46D8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802F777C 002F46DC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F7780 002F46E0 81 84 00 00 */ lwz r12, 0(r4) +/* 802F7784 002F46E4 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802F7788 002F46E8 7D 89 03 A6 */ mtctr r12 +/* 802F778C 002F46EC 4E 80 04 21 */ bctrl +/* 802F7790 002F46F0 C0 81 00 08 */ lfs f4, 8(r1) +/* 802F7794 002F46F4 FC 20 F8 90 */ fmr f1, f31 +/* 802F7798 002F46F8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 802F779C 002F46FC 7F A3 EB 78 */ mr r3, r29 +/* 802F77A0 002F4700 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802F77A4 002F4704 38 81 00 38 */ addi r4, r1, 0x38 +/* 802F77A8 002F4708 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802F77AC 002F470C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802F77B0 002F4710 38 A1 00 28 */ addi r5, r1, 0x28 +/* 802F77B4 002F4714 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 802F77B8 002F4718 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802F77BC 002F471C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802F77C0 002F4720 4B FF 3E FD */ bl SlerpLocal__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +lbl_802F77C4: +/* 802F77C4 002F4724 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802F77C8 002F4728 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802F77CC 002F472C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802F77D0 002F4730 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802F77D4 002F4734 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802F77D8 002F4738 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802F77DC 002F473C 7C 08 03 A6 */ mtlr r0 +/* 802F77E0 002F4740 38 21 00 70 */ addi r1, r1, 0x70 +/* 802F77E4 002F4744 4E 80 00 20 */ blr + +.global VGetOffset__18CAnimTreeTweenBaseCFRC6CSegId +VGetOffset__18CAnimTreeTweenBaseCFRC6CSegId: +/* 802F77E8 002F4748 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802F77EC 002F474C 7C 08 02 A6 */ mflr r0 +/* 802F77F0 002F4750 90 01 00 74 */ stw r0, 0x74(r1) +/* 802F77F4 002F4754 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802F77F8 002F4758 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802F77FC 002F475C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802F7800 002F4760 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802F7804 002F4764 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802F7808 002F4768 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802F780C 002F476C DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802F7810 002F4770 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802F7814 002F4774 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802F7818 002F4778 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802F781C 002F477C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802F7820 002F4780 7C 9E 23 78 */ mr r30, r4 +/* 802F7824 002F4784 7C 7D 1B 78 */ mr r29, r3 +/* 802F7828 002F4788 7C BF 2B 78 */ mr r31, r5 +/* 802F782C 002F478C 7F C3 F3 78 */ mr r3, r30 +/* 802F7830 002F4790 4B FF F7 E9 */ bl GetBlendingWeight__18CAnimTreeTweenBaseCFv +/* 802F7834 002F4794 FF E0 08 90 */ fmr f31, f1 +/* 802F7838 002F4798 C8 02 C6 C8 */ lfd f0, lbl_805AE3E8@sda21(r2) +/* 802F783C 002F479C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802F7840 002F47A0 4C 41 13 82 */ cror 2, 1, 2 +/* 802F7844 002F47A4 40 82 00 28 */ bne lbl_802F786C +/* 802F7848 002F47A8 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F784C 002F47AC 7F A3 EB 78 */ mr r3, r29 +/* 802F7850 002F47B0 7F E5 FB 78 */ mr r5, r31 +/* 802F7854 002F47B4 80 84 00 00 */ lwz r4, 0(r4) +/* 802F7858 002F47B8 81 84 00 00 */ lwz r12, 0(r4) +/* 802F785C 002F47BC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802F7860 002F47C0 7D 89 03 A6 */ mtctr r12 +/* 802F7864 002F47C4 4E 80 04 21 */ bctrl +/* 802F7868 002F47C8 48 00 00 88 */ b lbl_802F78F0 +lbl_802F786C: +/* 802F786C 002F47CC 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802F7870 002F47D0 7F E5 FB 78 */ mr r5, r31 +/* 802F7874 002F47D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F7878 002F47D8 80 84 00 00 */ lwz r4, 0(r4) +/* 802F787C 002F47DC 81 84 00 00 */ lwz r12, 0(r4) +/* 802F7880 002F47E0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802F7884 002F47E4 7D 89 03 A6 */ mtctr r12 +/* 802F7888 002F47E8 4E 80 04 21 */ bctrl +/* 802F788C 002F47EC 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 802F7890 002F47F0 7F E5 FB 78 */ mr r5, r31 +/* 802F7894 002F47F4 38 61 00 08 */ addi r3, r1, 8 +/* 802F7898 002F47F8 C3 C1 00 14 */ lfs f30, 0x14(r1) +/* 802F789C 002F47FC 80 84 00 00 */ lwz r4, 0(r4) +/* 802F78A0 002F4800 C3 A1 00 18 */ lfs f29, 0x18(r1) +/* 802F78A4 002F4804 81 84 00 00 */ lwz r12, 0(r4) +/* 802F78A8 002F4808 C3 81 00 1C */ lfs f28, 0x1c(r1) +/* 802F78AC 002F480C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802F78B0 002F4810 7D 89 03 A6 */ mtctr r12 +/* 802F78B4 002F4814 4E 80 04 21 */ bctrl +/* 802F78B8 002F4818 C0 22 C6 C0 */ lfs f1, lbl_805AE3E0@sda21(r2) +/* 802F78BC 002F481C C0 01 00 08 */ lfs f0, 8(r1) +/* 802F78C0 002F4820 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802F78C4 002F4824 EC 61 F8 28 */ fsubs f3, f1, f31 +/* 802F78C8 002F4828 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802F78CC 002F482C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802F78D0 002F4830 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 802F78D4 002F4834 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 802F78D8 002F4838 EC 1E 00 FA */ fmadds f0, f30, f3, f0 +/* 802F78DC 002F483C EC 5D 10 FA */ fmadds f2, f29, f3, f2 +/* 802F78E0 002F4840 EC 3C 08 FA */ fmadds f1, f28, f3, f1 +/* 802F78E4 002F4844 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802F78E8 002F4848 D0 5D 00 04 */ stfs f2, 4(r29) +/* 802F78EC 002F484C D0 3D 00 08 */ stfs f1, 8(r29) +lbl_802F78F0: +/* 802F78F0 002F4850 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802F78F4 002F4854 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802F78F8 002F4858 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802F78FC 002F485C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802F7900 002F4860 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802F7904 002F4864 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802F7908 002F4868 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 802F790C 002F486C CB 81 00 30 */ lfd f28, 0x30(r1) +/* 802F7910 002F4870 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802F7914 002F4874 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802F7918 002F4878 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802F791C 002F487C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802F7920 002F4880 7C 08 03 A6 */ mtlr r0 +/* 802F7924 002F4884 38 21 00 70 */ addi r1, r1, 0x70 +/* 802F7928 002F4888 4E 80 00 20 */ blr + +.global VHasOffset__18CAnimTreeTweenBaseCFRC6CSegId +VHasOffset__18CAnimTreeTweenBaseCFRC6CSegId: +/* 802F792C 002F488C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7930 002F4890 7C 08 02 A6 */ mflr r0 +/* 802F7934 002F4894 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7938 002F4898 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F793C 002F489C 3B E0 00 00 */ li r31, 0 +/* 802F7940 002F48A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F7944 002F48A4 7C 9E 23 78 */ mr r30, r4 +/* 802F7948 002F48A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F794C 002F48AC 7C 7D 1B 78 */ mr r29, r3 +/* 802F7950 002F48B0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802F7954 002F48B4 80 63 00 00 */ lwz r3, 0(r3) +/* 802F7958 002F48B8 81 83 00 00 */ lwz r12, 0(r3) +/* 802F795C 002F48BC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F7960 002F48C0 7D 89 03 A6 */ mtctr r12 +/* 802F7964 002F48C4 4E 80 04 21 */ bctrl +/* 802F7968 002F48C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F796C 002F48CC 41 82 00 2C */ beq lbl_802F7998 +/* 802F7970 002F48D0 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 802F7974 002F48D4 7F C4 F3 78 */ mr r4, r30 +/* 802F7978 002F48D8 80 63 00 00 */ lwz r3, 0(r3) +/* 802F797C 002F48DC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F7980 002F48E0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F7984 002F48E4 7D 89 03 A6 */ mtctr r12 +/* 802F7988 002F48E8 4E 80 04 21 */ bctrl +/* 802F798C 002F48EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F7990 002F48F0 41 82 00 08 */ beq lbl_802F7998 +/* 802F7994 002F48F4 3B E0 00 01 */ li r31, 1 +lbl_802F7998: +/* 802F7998 002F48F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F799C 002F48FC 7F E3 FB 78 */ mr r3, r31 +/* 802F79A0 002F4900 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F79A4 002F4904 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F79A8 002F4908 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F79AC 002F490C 7C 08 03 A6 */ mtlr r0 +/* 802F79B0 002F4910 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F79B4 002F4914 4E 80 00 20 */ blr + +.global __dt__18CAnimTreeTweenBaseFv +__dt__18CAnimTreeTweenBaseFv: +/* 802F79B8 002F4918 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F79BC 002F491C 7C 08 02 A6 */ mflr r0 +/* 802F79C0 002F4920 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F79C4 002F4924 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F79C8 002F4928 7C 9F 23 78 */ mr r31, r4 +/* 802F79CC 002F492C 93 C1 00 08 */ stw r30, 8(r1) +/* 802F79D0 002F4930 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F79D4 002F4934 41 82 00 38 */ beq lbl_802F7A0C +/* 802F79D8 002F4938 3C 80 80 3F */ lis r4, lbl_803ED3A0@ha +/* 802F79DC 002F493C 38 60 00 08 */ li r3, 8 +/* 802F79E0 002F4940 38 04 D3 A0 */ addi r0, r4, lbl_803ED3A0@l +/* 802F79E4 002F4944 38 80 00 02 */ li r4, 2 +/* 802F79E8 002F4948 90 1E 00 00 */ stw r0, 0(r30) +/* 802F79EC 002F494C 48 00 01 BD */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F79F0 002F4950 7F C3 F3 78 */ mr r3, r30 +/* 802F79F4 002F4954 38 80 00 00 */ li r4, 0 +/* 802F79F8 002F4958 4B FF BF 25 */ bl __dt__20CAnimTreeDoubleChildFv +/* 802F79FC 002F495C 7F E0 07 35 */ extsh. r0, r31 +/* 802F7A00 002F4960 40 81 00 0C */ ble lbl_802F7A0C +/* 802F7A04 002F4964 7F C3 F3 78 */ mr r3, r30 +/* 802F7A08 002F4968 48 01 DF 29 */ bl Free__7CMemoryFPCv +lbl_802F7A0C: +/* 802F7A0C 002F496C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F7A10 002F4970 7F C3 F3 78 */ mr r3, r30 +/* 802F7A14 002F4974 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F7A18 002F4978 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F7A1C 002F497C 7C 08 03 A6 */ mtlr r0 +/* 802F7A20 002F4980 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F7A24 002F4984 4E 80 00 20 */ blr + +.global "__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__18CAnimTreeTweenBaseFbRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>iRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802F7A28 002F4988 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7A2C 002F498C 7C 08 02 A6 */ mflr r0 +/* 802F7A30 002F4990 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7A34 002F4994 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F7A38 002F4998 7C FF 3B 78 */ mr r31, r7 +/* 802F7A3C 002F499C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F7A40 002F49A0 7C 9E 23 78 */ mr r30, r4 +/* 802F7A44 002F49A4 7C A4 2B 78 */ mr r4, r5 +/* 802F7A48 002F49A8 7C C5 33 78 */ mr r5, r6 +/* 802F7A4C 002F49AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F7A50 002F49B0 7C 7D 1B 78 */ mr r29, r3 +/* 802F7A54 002F49B4 7D 06 43 78 */ mr r6, r8 +/* 802F7A58 002F49B8 4B FF C1 05 */ bl "__ct__20CAnimTreeDoubleChildFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F7A5C 002F49BC 3C 60 80 3F */ lis r3, lbl_803ED3A0@ha +/* 802F7A60 002F49C0 38 A0 00 00 */ li r5, 0 +/* 802F7A64 002F49C4 38 03 D3 A0 */ addi r0, r3, lbl_803ED3A0@l +/* 802F7A68 002F49C8 38 80 00 02 */ li r4, 2 +/* 802F7A6C 002F49CC 90 1D 00 00 */ stw r0, 0(r29) +/* 802F7A70 002F49D0 38 60 00 08 */ li r3, 8 +/* 802F7A74 002F49D4 93 FD 00 1C */ stw r31, 0x1c(r29) +/* 802F7A78 002F49D8 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 802F7A7C 002F49DC 53 C0 F8 00 */ rlwimi r0, r30, 0x1f, 0, 0 +/* 802F7A80 002F49E0 90 1D 00 20 */ stw r0, 0x20(r29) +/* 802F7A84 002F49E4 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 802F7A88 002F49E8 50 A0 E8 44 */ rlwimi r0, r5, 0x1d, 1, 2 +/* 802F7A8C 002F49EC 90 1D 00 20 */ stw r0, 0x20(r29) +/* 802F7A90 002F49F0 48 00 01 29 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F7A94 002F49F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F7A98 002F49F8 7F A3 EB 78 */ mr r3, r29 +/* 802F7A9C 002F49FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F7AA0 002F4A00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F7AA4 002F4A04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F7AA8 002F4A08 7C 08 03 A6 */ mtlr r0 +/* 802F7AAC 002F4A0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F7AB0 002F4A10 4E 80 00 20 */ blr + +.global CopyNodeMinusStartTime__12CBoolPOINodeFRC12CBoolPOINodeRC13CCharAnimTime +CopyNodeMinusStartTime__12CBoolPOINodeFRC12CBoolPOINodeRC13CCharAnimTime: +/* 802F7AB4 002F4A14 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802F7AB8 002F4A18 7C 08 02 A6 */ mflr r0 +/* 802F7ABC 002F4A1C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802F7AC0 002F4A20 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802F7AC4 002F4A24 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802F7AC8 002F4A28 7C BE 2B 78 */ mr r30, r5 +/* 802F7ACC 002F4A2C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802F7AD0 002F4A30 7C 9D 23 78 */ mr r29, r4 +/* 802F7AD4 002F4A34 38 9D 00 08 */ addi r4, r29, 8 +/* 802F7AD8 002F4A38 93 81 00 30 */ stw r28, 0x30(r1) +/* 802F7ADC 002F4A3C 7C 7C 1B 78 */ mr r28, r3 +/* 802F7AE0 002F4A40 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F7AE4 002F4A44 48 04 66 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F7AE8 002F4A48 A3 FD 00 18 */ lhz r31, 0x18(r29) +/* 802F7AEC 002F4A4C 7F C5 F3 78 */ mr r5, r30 +/* 802F7AF0 002F4A50 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F7AF4 002F4A54 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802F7AF8 002F4A58 48 05 0C 6D */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F7AFC 002F4A5C 88 1D 00 38 */ lbz r0, 0x38(r29) +/* 802F7B00 002F4A60 7F 83 E3 78 */ mr r3, r28 +/* 802F7B04 002F4A64 7F E5 FB 78 */ mr r5, r31 +/* 802F7B08 002F4A68 38 81 00 18 */ addi r4, r1, 0x18 +/* 802F7B0C 002F4A6C 90 01 00 08 */ stw r0, 8(r1) +/* 802F7B10 002F4A70 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802F7B14 002F4A74 80 FD 00 24 */ lwz r7, 0x24(r29) +/* 802F7B18 002F4A78 89 1D 00 28 */ lbz r8, 0x28(r29) +/* 802F7B1C 002F4A7C C0 3D 00 2C */ lfs f1, 0x2c(r29) +/* 802F7B20 002F4A80 81 3D 00 30 */ lwz r9, 0x30(r29) +/* 802F7B24 002F4A84 81 5D 00 34 */ lwz r10, 0x34(r29) +/* 802F7B28 002F4A88 4B D3 89 5D */ bl "__ct__12CBoolPOINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiib" +/* 802F7B2C 002F4A8C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F7B30 002F4A90 48 04 5F B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802F7B34 002F4A94 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802F7B38 002F4A98 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802F7B3C 002F4A9C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802F7B40 002F4AA0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802F7B44 002F4AA4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802F7B48 002F4AA8 7C 08 03 A6 */ mtlr r0 +/* 802F7B4C 002F4AAC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802F7B50 002F4AB0 4E 80 00 20 */ blr + +.global __ct__12CBoolPOINodeFR12CInputStream +__ct__12CBoolPOINodeFR12CInputStream: +/* 802F7B54 002F4AB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F7B58 002F4AB8 7C 08 02 A6 */ mflr r0 +/* 802F7B5C 002F4ABC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F7B60 002F4AC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F7B64 002F4AC4 7C 9F 23 78 */ mr r31, r4 +/* 802F7B68 002F4AC8 93 C1 00 08 */ stw r30, 8(r1) +/* 802F7B6C 002F4ACC 7C 7E 1B 78 */ mr r30, r3 +/* 802F7B70 002F4AD0 48 00 55 ED */ bl __ct__8CPOINodeFR12CInputStream +/* 802F7B74 002F4AD4 3C 80 80 3E */ lis r4, lbl_803D9B68@ha +/* 802F7B78 002F4AD8 7F E3 FB 78 */ mr r3, r31 +/* 802F7B7C 002F4ADC 38 04 9B 68 */ addi r0, r4, lbl_803D9B68@l +/* 802F7B80 002F4AE0 90 1E 00 00 */ stw r0, 0(r30) +/* 802F7B84 002F4AE4 48 04 71 59 */ bl ReadBool__12CInputStreamFv +/* 802F7B88 002F4AE8 98 7E 00 38 */ stb r3, 0x38(r30) +/* 802F7B8C 002F4AEC 7F C3 F3 78 */ mr r3, r30 +/* 802F7B90 002F4AF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F7B94 002F4AF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F7B98 002F4AF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F7B9C 002F4AFC 7C 08 03 A6 */ mtlr r0 +/* 802F7BA0 002F4B00 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F7BA4 002F4B04 4E 80 00 20 */ blr + +.global SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem: +/* 802F7BA8 002F4B08 80 0D A7 58 */ lwz r0, lbl_805A9318@sda21(r13) +/* 802F7BAC 002F4B0C 7C 03 00 50 */ subf r0, r3, r0 +/* 802F7BB0 002F4B10 90 0D A7 58 */ stw r0, lbl_805A9318@sda21(r13) +/* 802F7BB4 002F4B14 4E 80 00 20 */ blr + +.global AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem: +/* 802F7BB8 002F4B18 80 0D A7 58 */ lwz r0, lbl_805A9318@sda21(r13) +/* 802F7BBC 002F4B1C 7C 00 1A 14 */ add r0, r0, r3 +/* 802F7BC0 002F4B20 90 0D A7 58 */ stw r0, lbl_805A9318@sda21(r13) +/* 802F7BC4 002F4B24 4E 80 00 20 */ blr + +.global sub_802f7bc8 +sub_802f7bc8: +/* 802F7BC8 002F4B28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7BCC 002F4B2C 7C 08 02 A6 */ mflr r0 +/* 802F7BD0 002F4B30 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7BD4 002F4B34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F7BD8 002F4B38 7C 9F 23 78 */ mr r31, r4 +/* 802F7BDC 002F4B3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F7BE0 002F4B40 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F7BE4 002F4B44 41 82 00 64 */ beq lbl_802F7C48 +/* 802F7BE8 002F4B48 80 7E 00 08 */ lwz r3, 8(r30) +/* 802F7BEC 002F4B4C 38 80 00 02 */ li r4, 2 +/* 802F7BF0 002F4B50 4B FF FF B9 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802F7BF4 002F4B54 28 1E 00 00 */ cmplwi r30, 0 +/* 802F7BF8 002F4B58 41 82 00 40 */ beq lbl_802F7C38 +/* 802F7BFC 002F4B5C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F7C00 002F4B60 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F7C04 002F4B64 90 61 00 0C */ stw r3, 0xc(r1) +/* 802F7C08 002F4B68 7C 83 02 14 */ add r4, r3, r0 +/* 802F7C0C 002F4B6C 7C 03 20 50 */ subf r0, r3, r4 +/* 802F7C10 002F4B70 90 81 00 14 */ stw r4, 0x14(r1) +/* 802F7C14 002F4B74 90 81 00 10 */ stw r4, 0x10(r1) +/* 802F7C18 002F4B78 90 61 00 08 */ stw r3, 8(r1) +/* 802F7C1C 002F4B7C 7C 09 03 A6 */ mtctr r0 +/* 802F7C20 002F4B80 7C 03 20 40 */ cmplw r3, r4 +/* 802F7C24 002F4B84 41 82 00 08 */ beq lbl_802F7C2C +lbl_802F7C28: +/* 802F7C28 002F4B88 42 00 00 00 */ bdnz lbl_802F7C28 +lbl_802F7C2C: +/* 802F7C2C 002F4B8C 28 03 00 00 */ cmplwi r3, 0 +/* 802F7C30 002F4B90 41 82 00 08 */ beq lbl_802F7C38 +/* 802F7C34 002F4B94 48 01 DC FD */ bl Free__7CMemoryFPCv +lbl_802F7C38: +/* 802F7C38 002F4B98 7F E0 07 35 */ extsh. r0, r31 +/* 802F7C3C 002F4B9C 40 81 00 0C */ ble lbl_802F7C48 +/* 802F7C40 002F4BA0 7F C3 F3 78 */ mr r3, r30 +/* 802F7C44 002F4BA4 48 01 DC ED */ bl Free__7CMemoryFPCv +lbl_802F7C48: +/* 802F7C48 002F4BA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F7C4C 002F4BAC 7F C3 F3 78 */ mr r3, r30 +/* 802F7C50 002F4BB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F7C54 002F4BB4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F7C58 002F4BB8 7C 08 03 A6 */ mtlr r0 +/* 802F7C5C 002F4BBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F7C60 002F4BC0 4E 80 00 20 */ blr + +.global "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802F7C64 002F4BC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7C68 002F4BC8 7C 08 02 A6 */ mflr r0 +/* 802F7C6C 002F4BCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7C70 002F4BD0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F7C74 002F4BD4 7C 9F 23 78 */ mr r31, r4 +/* 802F7C78 002F4BD8 38 9F 00 18 */ addi r4, r31, 0x18 +/* 802F7C7C 002F4BDC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F7C80 002F4BE0 7C 7E 1B 78 */ mr r30, r3 +/* 802F7C84 002F4BE4 38 61 00 08 */ addi r3, r1, 8 +/* 802F7C88 002F4BE8 48 00 00 5D */ bl "find__Q24rstl430red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rme" +/* 802F7C8C 002F4BEC 80 A1 00 08 */ lwz r5, 8(r1) +/* 802F7C90 002F4BF0 38 9F 00 20 */ addi r4, r31, 0x20 +/* 802F7C94 002F4BF4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F7C98 002F4BF8 38 00 00 00 */ li r0, 0 +/* 802F7C9C 002F4BFC 28 05 00 00 */ cmplwi r5, 0 +/* 802F7CA0 002F4C00 40 82 00 0C */ bne lbl_802F7CAC +/* 802F7CA4 002F4C04 7C 03 20 40 */ cmplw r3, r4 +/* 802F7CA8 002F4C08 41 82 00 08 */ beq lbl_802F7CB0 +lbl_802F7CAC: +/* 802F7CAC 002F4C0C 38 00 00 01 */ li r0, 1 +lbl_802F7CB0: +/* 802F7CB0 002F4C10 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802F7CB4 002F4C14 41 82 00 10 */ beq lbl_802F7CC4 +/* 802F7CB8 002F4C18 88 05 00 20 */ lbz r0, 0x20(r5) +/* 802F7CBC 002F4C1C 98 1E 00 00 */ stb r0, 0(r30) +/* 802F7CC0 002F4C20 48 00 00 0C */ b lbl_802F7CCC +lbl_802F7CC4: +/* 802F7CC4 002F4C24 38 00 00 FF */ li r0, 0xff +/* 802F7CC8 002F4C28 98 1E 00 00 */ stb r0, 0(r30) +lbl_802F7CCC: +/* 802F7CCC 002F4C2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F7CD0 002F4C30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F7CD4 002F4C34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F7CD8 002F4C38 7C 08 03 A6 */ mtlr r0 +/* 802F7CDC 002F4C3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F7CE0 002F4C40 4E 80 00 20 */ blr + +.global "find__Q24rstl430red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rme" +"find__Q24rstl430red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rme": +/* 802F7CE4 002F4C44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F7CE8 002F4C48 7C 08 02 A6 */ mflr r0 +/* 802F7CEC 002F4C4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F7CF0 002F4C50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F7CF4 002F4C54 7C 9F 23 78 */ mr r31, r4 +/* 802F7CF8 002F4C58 7C A4 2B 78 */ mr r4, r5 +/* 802F7CFC 002F4C5C 93 C1 00 08 */ stw r30, 8(r1) +/* 802F7D00 002F4C60 7C 7E 1B 78 */ mr r30, r3 +/* 802F7D04 002F4C64 7F E3 FB 78 */ mr r3, r31 +/* 802F7D08 002F4C68 48 00 00 29 */ bl "find_node__Q24rstl430red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl" +/* 802F7D0C 002F4C6C 90 7E 00 00 */ stw r3, 0(r30) +/* 802F7D10 002F4C70 38 1F 00 08 */ addi r0, r31, 8 +/* 802F7D14 002F4C74 90 1E 00 04 */ stw r0, 4(r30) +/* 802F7D18 002F4C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F7D1C 002F4C7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F7D20 002F4C80 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F7D24 002F4C84 7C 08 03 A6 */ mtlr r0 +/* 802F7D28 002F4C88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F7D2C 002F4C8C 4E 80 00 20 */ blr + +.global "find_node__Q24rstl430red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl" +"find_node__Q24rstl430red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl": +/* 802F7D30 002F4C90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7D34 002F4C94 7C 08 02 A6 */ mflr r0 +/* 802F7D38 002F4C98 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7D3C 002F4C9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F7D40 002F4CA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F7D44 002F4CA4 3B C0 00 00 */ li r30, 0 +/* 802F7D48 002F4CA8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F7D4C 002F4CAC 7C 9D 23 78 */ mr r29, r4 +/* 802F7D50 002F4CB0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802F7D54 002F4CB4 7C 7C 1B 78 */ mr r28, r3 +/* 802F7D58 002F4CB8 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 802F7D5C 002F4CBC 48 00 00 2C */ b lbl_802F7D88 +lbl_802F7D60: +/* 802F7D60 002F4CC0 7F A5 EB 78 */ mr r5, r29 +/* 802F7D64 002F4CC4 38 7C 00 01 */ addi r3, r28, 1 +/* 802F7D68 002F4CC8 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802F7D6C 002F4CCC 4B D3 29 BD */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 802F7D70 002F4CD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F7D74 002F4CD4 40 82 00 10 */ bne lbl_802F7D84 +/* 802F7D78 002F4CD8 7F FE FB 78 */ mr r30, r31 +/* 802F7D7C 002F4CDC 83 FF 00 00 */ lwz r31, 0(r31) +/* 802F7D80 002F4CE0 48 00 00 08 */ b lbl_802F7D88 +lbl_802F7D84: +/* 802F7D84 002F4CE4 83 FF 00 04 */ lwz r31, 4(r31) +lbl_802F7D88: +/* 802F7D88 002F4CE8 28 1F 00 00 */ cmplwi r31, 0 +/* 802F7D8C 002F4CEC 40 82 FF D4 */ bne lbl_802F7D60 +/* 802F7D90 002F4CF0 28 1E 00 00 */ cmplwi r30, 0 +/* 802F7D94 002F4CF4 3B E0 00 00 */ li r31, 0 +/* 802F7D98 002F4CF8 41 82 00 1C */ beq lbl_802F7DB4 +/* 802F7D9C 002F4CFC 7F A4 EB 78 */ mr r4, r29 +/* 802F7DA0 002F4D00 38 7C 00 01 */ addi r3, r28, 1 +/* 802F7DA4 002F4D04 38 BE 00 10 */ addi r5, r30, 0x10 +/* 802F7DA8 002F4D08 4B D3 29 81 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 802F7DAC 002F4D0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F7DB0 002F4D10 41 82 00 08 */ beq lbl_802F7DB8 +lbl_802F7DB4: +/* 802F7DB4 002F4D14 3B E0 00 01 */ li r31, 1 +lbl_802F7DB8: +/* 802F7DB8 002F4D18 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802F7DBC 002F4D1C 41 82 00 0C */ beq lbl_802F7DC8 +/* 802F7DC0 002F4D20 38 60 00 00 */ li r3, 0 +/* 802F7DC4 002F4D24 48 00 00 08 */ b lbl_802F7DCC +lbl_802F7DC8: +/* 802F7DC8 002F4D28 7F C3 F3 78 */ mr r3, r30 +lbl_802F7DCC: +/* 802F7DCC 002F4D2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F7DD0 002F4D30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F7DD4 002F4D34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F7DD8 002F4D38 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F7DDC 002F4D3C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802F7DE0 002F4D40 7C 08 03 A6 */ mtlr r0 +/* 802F7DE4 002F4D44 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F7DE8 002F4D48 4E 80 00 20 */ blr + +.global __ct__15CCharLayoutInfoFR12CInputStream +__ct__15CCharLayoutInfoFR12CInputStream: +/* 802F7DEC 002F4D4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7DF0 002F4D50 7C 08 02 A6 */ mflr r0 +/* 802F7DF4 002F4D54 3C A0 80 3D */ lis r5, lbl_803D6E28@ha +/* 802F7DF8 002F4D58 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7DFC 002F4D5C 38 05 6E 28 */ addi r0, r5, lbl_803D6E28@l +/* 802F7E00 002F4D60 38 A0 00 00 */ li r5, 0 +/* 802F7E04 002F4D64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F7E08 002F4D68 7C 9F 23 78 */ mr r31, r4 +/* 802F7E0C 002F4D6C 7C 04 03 78 */ mr r4, r0 +/* 802F7E10 002F4D70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F7E14 002F4D74 7C 7E 1B 78 */ mr r30, r3 +/* 802F7E18 002F4D78 38 60 00 D8 */ li r3, 0xd8 +/* 802F7E1C 002F4D7C 48 01 DA 51 */ bl __nw__FUlPCcPCc +/* 802F7E20 002F4D80 7C 64 1B 79 */ or. r4, r3, r3 +/* 802F7E24 002F4D84 41 82 00 10 */ beq lbl_802F7E34 +/* 802F7E28 002F4D88 7F E4 FB 78 */ mr r4, r31 +/* 802F7E2C 002F4D8C 48 00 06 C9 */ bl "__ct__28TSegIdMap<15CCharLayoutNode>FR12CInputStream" +/* 802F7E30 002F4D90 7C 64 1B 78 */ mr r4, r3 +lbl_802F7E34: +/* 802F7E34 002F4D94 7C 64 00 D0 */ neg r3, r4 +/* 802F7E38 002F4D98 38 00 00 00 */ li r0, 0 +/* 802F7E3C 002F4D9C 7C 63 23 78 */ or r3, r3, r4 +/* 802F7E40 002F4DA0 90 81 00 14 */ stw r4, 0x14(r1) +/* 802F7E44 002F4DA4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802F7E48 002F4DA8 98 61 00 10 */ stb r3, 0x10(r1) +/* 802F7E4C 002F4DAC 98 01 00 10 */ stb r0, 0x10(r1) +/* 802F7E50 002F4DB0 90 9E 00 00 */ stw r4, 0(r30) +/* 802F7E54 002F4DB4 48 00 00 08 */ b lbl_802F7E5C +/* 802F7E58 002F4DB8 48 00 0D B5 */ bl sub_802f8c0c +lbl_802F7E5C: +/* 802F7E5C 002F4DBC 7F E4 FB 78 */ mr r4, r31 +/* 802F7E60 002F4DC0 38 7E 00 08 */ addi r3, r30, 8 +/* 802F7E64 002F4DC4 48 05 10 01 */ bl __ct__10CSegIdListFR12CInputStream +/* 802F7E68 002F4DC8 7F E4 FB 78 */ mr r4, r31 +/* 802F7E6C 002F4DCC 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802F7E70 002F4DD0 38 A1 00 0C */ addi r5, r1, 0xc +/* 802F7E74 002F4DD4 38 C1 00 08 */ addi r6, r1, 8 +/* 802F7E78 002F4DD8 48 00 00 21 */ bl "__ct__Q24rstl206map,Q24rstl17rmemory_allocator>,6CSegId,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl81less,Q24rstl17rmemory_allocator>>RCQ24rstl17rmemory_allocator" +/* 802F7E7C 002F4DDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F7E80 002F4DE0 7F C3 F3 78 */ mr r3, r30 +/* 802F7E84 002F4DE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F7E88 002F4DE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F7E8C 002F4DEC 7C 08 03 A6 */ mtlr r0 +/* 802F7E90 002F4DF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F7E94 002F4DF4 4E 80 00 20 */ blr + +.global "__ct__Q24rstl206map,Q24rstl17rmemory_allocator>,6CSegId,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl81less,Q24rstl17rmemory_allocator>>RCQ24rstl17rmemory_allocator" +"__ct__Q24rstl206map,Q24rstl17rmemory_allocator>,6CSegId,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl81less,Q24rstl17rmemory_allocator>>RCQ24rstl17rmemory_allocator": +/* 802F7E98 002F4DF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7E9C 002F4DFC 7C 08 02 A6 */ mflr r0 +/* 802F7EA0 002F4E00 7C C7 33 78 */ mr r7, r6 +/* 802F7EA4 002F4E04 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7EA8 002F4E08 7C A0 2B 78 */ mr r0, r5 +/* 802F7EAC 002F4E0C 38 A1 00 08 */ addi r5, r1, 8 +/* 802F7EB0 002F4E10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F7EB4 002F4E14 7C 7F 1B 78 */ mr r31, r3 +/* 802F7EB8 002F4E18 7C 06 03 78 */ mr r6, r0 +/* 802F7EBC 002F4E1C 48 00 00 1D */ bl "__ct__Q24rstl430red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl109select1st,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl109select1st,Q24rstl17rmemory_allocator>,Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>,0,Q24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl109select1st,Q24rstl17rmemory_allocator>,6CSegId>>__12CInputStreamFRC105TType,Q24rstl17rmemory_allocator>,6CSegId>>" +/* 802F7F44 002F4EA4 80 BB 00 10 */ lwz r5, 0x10(r27) +/* 802F7F48 002F4EA8 7F 64 DB 78 */ mr r4, r27 +/* 802F7F4C 002F4EAC 38 61 00 0C */ addi r3, r1, 0xc +/* 802F7F50 002F4EB0 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802F7F54 002F4EB4 48 00 09 01 */ bl sub_802f8854 +/* 802F7F58 002F4EB8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802F7F5C 002F4EBC 48 04 5B 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802F7F60 002F4EC0 3B BD 00 01 */ addi r29, r29, 1 +lbl_802F7F64: +/* 802F7F64 002F4EC4 7C 1D F8 00 */ cmpw r29, r31 +/* 802F7F68 002F4EC8 41 80 FF C4 */ blt lbl_802F7F2C +/* 802F7F6C 002F4ECC 7F 63 DB 78 */ mr r3, r27 +/* 802F7F70 002F4ED0 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802F7F74 002F4ED4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F7F78 002F4ED8 7C 08 03 A6 */ mtlr r0 +/* 802F7F7C 002F4EDC 38 21 00 50 */ addi r1, r1, 0x50 +/* 802F7F80 002F4EE0 4E 80 00 20 */ blr + +.global "Get,Q24rstl17rmemory_allocator>,6CSegId>>__12CInputStreamFRC105TType,Q24rstl17rmemory_allocator>,6CSegId>>" +"Get,Q24rstl17rmemory_allocator>,6CSegId>>__12CInputStreamFRC105TType,Q24rstl17rmemory_allocator>,6CSegId>>": +/* 802F7F84 002F4EE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F7F88 002F4EE8 7C 08 02 A6 */ mflr r0 +/* 802F7F8C 002F4EEC 7C 85 23 78 */ mr r5, r4 +/* 802F7F90 002F4EF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F7F94 002F4EF4 38 81 00 08 */ addi r4, r1, 8 +/* 802F7F98 002F4EF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F7F9C 002F4EFC 7C 7F 1B 78 */ mr r31, r3 +/* 802F7FA0 002F4F00 88 0D A7 64 */ lbz r0, lbl_805A9324@sda21(r13) +/* 802F7FA4 002F4F04 98 01 00 08 */ stb r0, 8(r1) +/* 802F7FA8 002F4F08 48 00 00 19 */ bl "cinput_stream_helper,Q24rstl17rmemory_allocator>,6CSegId>>__FRC105TType,Q24rstl17rmemory_allocator>,6CSegId>>R12CInputStream" +/* 802F7FAC 002F4F0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F7FB0 002F4F10 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F7FB4 002F4F14 7C 08 03 A6 */ mtlr r0 +/* 802F7FB8 002F4F18 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F7FBC 002F4F1C 4E 80 00 20 */ blr + +.global "cinput_stream_helper,Q24rstl17rmemory_allocator>,6CSegId>>__FRC105TType,Q24rstl17rmemory_allocator>,6CSegId>>R12CInputStream" +"cinput_stream_helper,Q24rstl17rmemory_allocator>,6CSegId>>__FRC105TType,Q24rstl17rmemory_allocator>,6CSegId>>R12CInputStream": +/* 802F7FC0 002F4F20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F7FC4 002F4F24 7C 08 02 A6 */ mflr r0 +/* 802F7FC8 002F4F28 7C 64 1B 78 */ mr r4, r3 +/* 802F7FCC 002F4F2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F7FD0 002F4F30 38 61 00 0C */ addi r3, r1, 0xc +/* 802F7FD4 002F4F34 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802F7FD8 002F4F38 7C BF 2B 78 */ mr r31, r5 +/* 802F7FDC 002F4F3C 38 A1 00 08 */ addi r5, r1, 8 +/* 802F7FE0 002F4F40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802F7FE4 002F4F44 7C 9E 23 78 */ mr r30, r4 +/* 802F7FE8 002F4F48 7F E4 FB 78 */ mr r4, r31 +/* 802F7FEC 002F4F4C 88 0D A7 68 */ lbz r0, lbl_805A9328@sda21(r13) +/* 802F7FF0 002F4F50 98 01 00 08 */ stb r0, 8(r1) +/* 802F7FF4 002F4F54 48 00 00 3D */ bl "__ct__Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>FR12CInputStream" +/* 802F7FF8 002F4F58 7F C3 F3 78 */ mr r3, r30 +/* 802F7FFC 002F4F5C 38 81 00 0C */ addi r4, r1, 0xc +/* 802F8000 002F4F60 48 04 61 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F8004 002F4F64 38 61 00 0C */ addi r3, r1, 0xc +/* 802F8008 002F4F68 48 04 5A D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802F800C 002F4F6C 7F E3 FB 78 */ mr r3, r31 +/* 802F8010 002F4F70 48 04 6C 75 */ bl ReadLong__12CInputStreamFv +/* 802F8014 002F4F74 98 7E 00 10 */ stb r3, 0x10(r30) +/* 802F8018 002F4F78 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F801C 002F4F7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802F8020 002F4F80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802F8024 002F4F84 7C 08 03 A6 */ mtlr r0 +/* 802F8028 002F4F88 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F802C 002F4F8C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>FR12CInputStream" +"__ct__Q24rstl89pair,Q24rstl17rmemory_allocator>,6CSegId>FR12CInputStream": +/* 802F8030 002F4F90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F8034 002F4F94 7C 08 02 A6 */ mflr r0 +/* 802F8038 002F4F98 7C 85 23 78 */ mr r5, r4 +/* 802F803C 002F4F9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F8040 002F4FA0 38 81 00 08 */ addi r4, r1, 8 +/* 802F8044 002F4FA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F8048 002F4FA8 7C 7F 1B 78 */ mr r31, r3 +/* 802F804C 002F4FAC 88 0D A7 6C */ lbz r0, lbl_805A932C@sda21(r13) +/* 802F8050 002F4FB0 98 01 00 08 */ stb r0, 8(r1) +/* 802F8054 002F4FB4 4B D6 14 A5 */ bl sub_800594f8 +/* 802F8058 002F4FB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F805C 002F4FBC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F8060 002F4FC0 7C 08 03 A6 */ mtlr r0 +/* 802F8064 002F4FC4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F8068 002F4FC8 4E 80 00 20 */ blr + +.global __ct__15CCharLayoutNodeFR12CInputStream +__ct__15CCharLayoutNodeFR12CInputStream: +/* 802F806C 002F4FCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F8070 002F4FD0 7C 08 02 A6 */ mflr r0 +/* 802F8074 002F4FD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F8078 002F4FD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F807C 002F4FDC 7C 9F 23 78 */ mr r31, r4 +/* 802F8080 002F4FE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F8084 002F4FE4 7C 7E 1B 78 */ mr r30, r3 +/* 802F8088 002F4FE8 7F E3 FB 78 */ mr r3, r31 +/* 802F808C 002F4FEC 48 04 6B F9 */ bl ReadLong__12CInputStreamFv +/* 802F8090 002F4FF0 98 7E 00 00 */ stb r3, 0(r30) +/* 802F8094 002F4FF4 7F E4 FB 78 */ mr r4, r31 +/* 802F8098 002F4FF8 38 7E 00 04 */ addi r3, r30, 4 +/* 802F809C 002F4FFC 48 01 CA F1 */ bl __ct__9CVector3fFR12CInputStream +/* 802F80A0 002F5000 7F E4 FB 78 */ mr r4, r31 +/* 802F80A4 002F5004 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802F80A8 002F5008 38 A1 00 08 */ addi r5, r1, 8 +/* 802F80AC 002F500C 48 00 00 21 */ bl "__ct__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802F80B0 002F5010 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F80B4 002F5014 7F C3 F3 78 */ mr r3, r30 +/* 802F80B8 002F5018 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F80BC 002F501C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F80C0 002F5020 7C 08 03 A6 */ mtlr r0 +/* 802F80C4 002F5024 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F80C8 002F5028 4E 80 00 20 */ blr + +.global "__ct__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802F80CC 002F502C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F80D0 002F5030 7C 08 02 A6 */ mflr r0 +/* 802F80D4 002F5034 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F80D8 002F5038 38 00 00 00 */ li r0, 0 +/* 802F80DC 002F503C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802F80E0 002F5040 7C 7B 1B 78 */ mr r27, r3 +/* 802F80E4 002F5044 7C 9C 23 78 */ mr r28, r4 +/* 802F80E8 002F5048 90 03 00 04 */ stw r0, 4(r3) +/* 802F80EC 002F504C 7F 83 E3 78 */ mr r3, r28 +/* 802F80F0 002F5050 90 1B 00 08 */ stw r0, 8(r27) +/* 802F80F4 002F5054 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802F80F8 002F5058 48 04 6B 8D */ bl ReadLong__12CInputStreamFv +/* 802F80FC 002F505C 7C 7F 1B 78 */ mr r31, r3 +/* 802F8100 002F5060 7F 63 DB 78 */ mr r3, r27 +/* 802F8104 002F5064 7F E4 FB 78 */ mr r4, r31 +/* 802F8108 002F5068 48 00 05 D9 */ bl "reserve__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>Fi" +/* 802F810C 002F506C 3B A0 00 00 */ li r29, 0 +/* 802F8110 002F5070 48 00 00 5C */ b lbl_802F816C +lbl_802F8114: +/* 802F8114 002F5074 7F 83 E3 78 */ mr r3, r28 +/* 802F8118 002F5078 48 04 6B 6D */ bl ReadLong__12CInputStreamFv +/* 802F811C 002F507C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802F8120 002F5080 54 7E 06 3E */ clrlwi r30, r3, 0x18 +/* 802F8124 002F5084 80 BB 00 08 */ lwz r5, 8(r27) +/* 802F8128 002F5088 7C 00 28 00 */ cmpw r0, r5 +/* 802F812C 002F508C 41 80 00 1C */ blt lbl_802F8148 +/* 802F8130 002F5090 2C 05 00 00 */ cmpwi r5, 0 +/* 802F8134 002F5094 7F 63 DB 78 */ mr r3, r27 +/* 802F8138 002F5098 38 80 00 04 */ li r4, 4 +/* 802F813C 002F509C 41 82 00 08 */ beq lbl_802F8144 +/* 802F8140 002F50A0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802F8144: +/* 802F8144 002F50A4 48 00 05 9D */ bl "reserve__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>Fi" +lbl_802F8148: +/* 802F8148 002F50A8 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802F814C 002F50AC 80 1B 00 04 */ lwz r0, 4(r27) +/* 802F8150 002F50B0 7C 63 02 15 */ add. r3, r3, r0 +/* 802F8154 002F50B4 41 82 00 08 */ beq lbl_802F815C +/* 802F8158 002F50B8 9B C3 00 00 */ stb r30, 0(r3) +lbl_802F815C: +/* 802F815C 002F50BC 80 7B 00 04 */ lwz r3, 4(r27) +/* 802F8160 002F50C0 3B BD 00 01 */ addi r29, r29, 1 +/* 802F8164 002F50C4 38 03 00 01 */ addi r0, r3, 1 +/* 802F8168 002F50C8 90 1B 00 04 */ stw r0, 4(r27) +lbl_802F816C: +/* 802F816C 002F50CC 7C 1D F8 00 */ cmpw r29, r31 +/* 802F8170 002F50D0 41 80 FF A4 */ blt lbl_802F8114 +/* 802F8174 002F50D4 7F 63 DB 78 */ mr r3, r27 +/* 802F8178 002F50D8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802F817C 002F50DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F8180 002F50E0 7C 08 03 A6 */ mtlr r0 +/* 802F8184 002F50E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F8188 002F50E8 4E 80 00 20 */ blr + +.global FCharLayoutInfo__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FCharLayoutInfo__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802F818C 002F50EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F8190 002F50F0 7C 08 02 A6 */ mflr r0 +/* 802F8194 002F50F4 3C 80 80 3D */ lis r4, lbl_803D6E28@ha +/* 802F8198 002F50F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F819C 002F50FC 38 84 6E 28 */ addi r4, r4, lbl_803D6E28@l +/* 802F81A0 002F5100 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F81A4 002F5104 7C BF 2B 78 */ mr r31, r5 +/* 802F81A8 002F5108 38 A0 00 00 */ li r5, 0 +/* 802F81AC 002F510C 93 C1 00 08 */ stw r30, 8(r1) +/* 802F81B0 002F5110 7C 7E 1B 78 */ mr r30, r3 +/* 802F81B4 002F5114 38 60 00 2C */ li r3, 0x2c +/* 802F81B8 002F5118 48 01 D6 B5 */ bl __nw__FUlPCcPCc +/* 802F81BC 002F511C 7C 64 1B 79 */ or. r4, r3, r3 +/* 802F81C0 002F5120 41 82 00 10 */ beq lbl_802F81D0 +/* 802F81C4 002F5124 7F E4 FB 78 */ mr r4, r31 +/* 802F81C8 002F5128 4B FF FC 25 */ bl __ct__15CCharLayoutInfoFR12CInputStream +/* 802F81CC 002F512C 7C 64 1B 78 */ mr r4, r3 +lbl_802F81D0: +/* 802F81D0 002F5130 7F C3 F3 78 */ mr r3, r30 +/* 802F81D4 002F5134 48 00 00 1D */ bl sub_802f81f0 +/* 802F81D8 002F5138 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F81DC 002F513C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F81E0 002F5140 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F81E4 002F5144 7C 08 03 A6 */ mtlr r0 +/* 802F81E8 002F5148 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F81EC 002F514C 4E 80 00 20 */ blr + +.global sub_802f81f0 +sub_802f81f0: +/* 802F81F0 002F5150 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F81F4 002F5154 7C 08 02 A6 */ mflr r0 +/* 802F81F8 002F5158 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F81FC 002F515C 7C 04 00 D0 */ neg r0, r4 +/* 802F8200 002F5160 7C 00 23 78 */ or r0, r0, r4 +/* 802F8204 002F5164 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F8208 002F5168 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802F820C 002F516C 7C 7F 1B 78 */ mr r31, r3 +/* 802F8210 002F5170 38 61 00 08 */ addi r3, r1, 8 +/* 802F8214 002F5174 90 81 00 14 */ stw r4, 0x14(r1) +/* 802F8218 002F5178 38 81 00 10 */ addi r4, r1, 0x10 +/* 802F821C 002F517C 98 01 00 10 */ stb r0, 0x10(r1) +/* 802F8220 002F5180 48 00 01 A9 */ bl sub_802f83c8 +/* 802F8224 002F5184 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F8228 002F5188 38 00 00 00 */ li r0, 0 +/* 802F822C 002F518C 98 01 00 08 */ stb r0, 8(r1) +/* 802F8230 002F5190 7C 03 00 D0 */ neg r0, r3 +/* 802F8234 002F5194 7C 00 1B 78 */ or r0, r0, r3 +/* 802F8238 002F5198 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802F823C 002F519C 98 1F 00 00 */ stb r0, 0(r31) +/* 802F8240 002F51A0 90 7F 00 04 */ stw r3, 4(r31) +/* 802F8244 002F51A4 88 01 00 08 */ lbz r0, 8(r1) +/* 802F8248 002F51A8 28 00 00 00 */ cmplwi r0, 0 +/* 802F824C 002F51AC 41 82 00 24 */ beq lbl_802F8270 +/* 802F8250 002F51B0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F8254 002F51B4 28 03 00 00 */ cmplwi r3, 0 +/* 802F8258 002F51B8 41 82 00 18 */ beq lbl_802F8270 +/* 802F825C 002F51BC 81 83 00 00 */ lwz r12, 0(r3) +/* 802F8260 002F51C0 38 80 00 01 */ li r4, 1 +/* 802F8264 002F51C4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802F8268 002F51C8 7D 89 03 A6 */ mtctr r12 +/* 802F826C 002F51CC 4E 80 04 21 */ bctrl +lbl_802F8270: +/* 802F8270 002F51D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802F8274 002F51D4 38 80 FF FF */ li r4, -1 +/* 802F8278 002F51D8 48 00 02 19 */ bl sub_802f8490 +/* 802F827C 002F51DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F8280 002F51E0 7F E3 FB 78 */ mr r3, r31 +/* 802F8284 002F51E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F8288 002F51E8 7C 08 03 A6 */ mtlr r0 +/* 802F828C 002F51EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F8290 002F51F0 4E 80 00 20 */ blr + +.global sub_802f8294 +sub_802f8294: +/* 802F8294 002F51F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F8298 002F51F8 7C 08 02 A6 */ mflr r0 +/* 802F829C 002F51FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F82A0 002F5200 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F82A4 002F5204 7C 9F 23 78 */ mr r31, r4 +/* 802F82A8 002F5208 93 C1 00 08 */ stw r30, 8(r1) +/* 802F82AC 002F520C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F82B0 002F5210 41 82 00 58 */ beq lbl_802F8308 +/* 802F82B4 002F5214 3C 60 80 3F */ lis r3, lbl_803ED420@ha +/* 802F82B8 002F5218 38 03 D4 20 */ addi r0, r3, lbl_803ED420@l +/* 802F82BC 002F521C 90 1E 00 00 */ stw r0, 0(r30) +/* 802F82C0 002F5220 80 7E 00 04 */ lwz r3, 4(r30) +/* 802F82C4 002F5224 28 03 00 00 */ cmplwi r3, 0 +/* 802F82C8 002F5228 41 82 00 0C */ beq lbl_802F82D4 +/* 802F82CC 002F522C 38 80 00 01 */ li r4, 1 +/* 802F82D0 002F5230 48 00 00 55 */ bl sub_802f8324 +lbl_802F82D4: +/* 802F82D4 002F5234 28 1E 00 00 */ cmplwi r30, 0 +/* 802F82D8 002F5238 41 82 00 20 */ beq lbl_802F82F8 +/* 802F82DC 002F523C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802F82E0 002F5240 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802F82E4 002F5244 90 1E 00 00 */ stw r0, 0(r30) +/* 802F82E8 002F5248 41 82 00 10 */ beq lbl_802F82F8 +/* 802F82EC 002F524C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802F82F0 002F5250 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802F82F4 002F5254 90 1E 00 00 */ stw r0, 0(r30) +lbl_802F82F8: +/* 802F82F8 002F5258 7F E0 07 35 */ extsh. r0, r31 +/* 802F82FC 002F525C 40 81 00 0C */ ble lbl_802F8308 +/* 802F8300 002F5260 7F C3 F3 78 */ mr r3, r30 +/* 802F8304 002F5264 48 01 D6 2D */ bl Free__7CMemoryFPCv +lbl_802F8308: +/* 802F8308 002F5268 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F830C 002F526C 7F C3 F3 78 */ mr r3, r30 +/* 802F8310 002F5270 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F8314 002F5274 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F8318 002F5278 7C 08 03 A6 */ mtlr r0 +/* 802F831C 002F527C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F8320 002F5280 4E 80 00 20 */ blr + +.global sub_802f8324 +sub_802f8324: +/* 802F8324 002F5284 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F8328 002F5288 7C 08 02 A6 */ mflr r0 +/* 802F832C 002F528C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F8330 002F5290 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F8334 002F5294 7C 9F 23 78 */ mr r31, r4 +/* 802F8338 002F5298 93 C1 00 08 */ stw r30, 8(r1) +/* 802F833C 002F529C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F8340 002F52A0 41 82 00 6C */ beq lbl_802F83AC +/* 802F8344 002F52A4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802F8348 002F52A8 41 82 00 34 */ beq lbl_802F837C +/* 802F834C 002F52AC 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802F8350 002F52B0 41 82 00 2C */ beq lbl_802F837C +/* 802F8354 002F52B4 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 802F8358 002F52B8 28 04 00 00 */ cmplwi r4, 0 +/* 802F835C 002F52BC 41 82 00 0C */ beq lbl_802F8368 +/* 802F8360 002F52C0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802F8364 002F52C4 48 00 04 69 */ bl sub_802f87cc +lbl_802F8368: +/* 802F8368 002F52C8 38 00 00 00 */ li r0, 0 +/* 802F836C 002F52CC 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802F8370 002F52D0 90 1E 00 20 */ stw r0, 0x20(r30) +/* 802F8374 002F52D4 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802F8378 002F52D8 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_802F837C: +/* 802F837C 002F52DC 38 7E 00 08 */ addi r3, r30, 8 +/* 802F8380 002F52E0 38 80 FF FF */ li r4, -1 +/* 802F8384 002F52E4 4B FF F8 45 */ bl sub_802f7bc8 +/* 802F8388 002F52E8 28 1E 00 00 */ cmplwi r30, 0 +/* 802F838C 002F52EC 41 82 00 10 */ beq lbl_802F839C +/* 802F8390 002F52F0 80 7E 00 00 */ lwz r3, 0(r30) +/* 802F8394 002F52F4 38 80 00 01 */ li r4, 1 +/* 802F8398 002F52F8 48 00 08 75 */ bl sub_802f8c0c +lbl_802F839C: +/* 802F839C 002F52FC 7F E0 07 35 */ extsh. r0, r31 +/* 802F83A0 002F5300 40 81 00 0C */ ble lbl_802F83AC +/* 802F83A4 002F5304 7F C3 F3 78 */ mr r3, r30 +/* 802F83A8 002F5308 48 01 D5 89 */ bl Free__7CMemoryFPCv +lbl_802F83AC: +/* 802F83AC 002F530C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F83B0 002F5310 7F C3 F3 78 */ mr r3, r30 +/* 802F83B4 002F5314 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F83B8 002F5318 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F83BC 002F531C 7C 08 03 A6 */ mtlr r0 +/* 802F83C0 002F5320 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F83C4 002F5324 4E 80 00 20 */ blr + +.global sub_802f83c8 +sub_802f83c8: +/* 802F83C8 002F5328 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F83CC 002F532C 7C 08 02 A6 */ mflr r0 +/* 802F83D0 002F5330 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F83D4 002F5334 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F83D8 002F5338 7C 7F 1B 78 */ mr r31, r3 +/* 802F83DC 002F533C 48 00 00 19 */ bl sub_802f83f4 +/* 802F83E0 002F5340 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F83E4 002F5344 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F83E8 002F5348 7C 08 03 A6 */ mtlr r0 +/* 802F83EC 002F534C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F83F0 002F5350 4E 80 00 20 */ blr + +.global sub_802f83f4 +sub_802f83f4: +/* 802F83F4 002F5354 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F83F8 002F5358 7C 08 02 A6 */ mflr r0 +/* 802F83FC 002F535C 3C A0 80 3D */ lis r5, lbl_803D6E28@ha +/* 802F8400 002F5360 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F8404 002F5364 38 05 6E 28 */ addi r0, r5, lbl_803D6E28@l +/* 802F8408 002F5368 38 A0 00 00 */ li r5, 0 +/* 802F840C 002F536C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F8410 002F5370 7C 9F 23 78 */ mr r31, r4 +/* 802F8414 002F5374 7C 04 03 78 */ mr r4, r0 +/* 802F8418 002F5378 93 C1 00 08 */ stw r30, 8(r1) +/* 802F841C 002F537C 7C 7E 1B 78 */ mr r30, r3 +/* 802F8420 002F5380 38 60 00 08 */ li r3, 8 +/* 802F8424 002F5384 48 01 D4 49 */ bl __nw__FUlPCcPCc +/* 802F8428 002F5388 28 03 00 00 */ cmplwi r3, 0 +/* 802F842C 002F538C 41 82 00 38 */ beq lbl_802F8464 +/* 802F8430 002F5390 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802F8434 002F5394 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802F8438 002F5398 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802F843C 002F539C 3C 80 80 3F */ lis r4, lbl_803ED420@ha +/* 802F8440 002F53A0 90 03 00 00 */ stw r0, 0(r3) +/* 802F8444 002F53A4 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802F8448 002F53A8 38 A0 00 00 */ li r5, 0 +/* 802F844C 002F53AC 38 04 D4 20 */ addi r0, r4, lbl_803ED420@l +/* 802F8450 002F53B0 90 C3 00 00 */ stw r6, 0(r3) +/* 802F8454 002F53B4 98 BF 00 00 */ stb r5, 0(r31) +/* 802F8458 002F53B8 80 9F 00 04 */ lwz r4, 4(r31) +/* 802F845C 002F53BC 90 83 00 04 */ stw r4, 4(r3) +/* 802F8460 002F53C0 90 03 00 00 */ stw r0, 0(r3) +lbl_802F8464: +/* 802F8464 002F53C4 7C 03 00 D0 */ neg r0, r3 +/* 802F8468 002F53C8 7C 00 1B 78 */ or r0, r0, r3 +/* 802F846C 002F53CC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802F8470 002F53D0 98 1E 00 00 */ stb r0, 0(r30) +/* 802F8474 002F53D4 90 7E 00 04 */ stw r3, 4(r30) +/* 802F8478 002F53D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F847C 002F53DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F8480 002F53E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F8484 002F53E4 7C 08 03 A6 */ mtlr r0 +/* 802F8488 002F53E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F848C 002F53EC 4E 80 00 20 */ blr + +.global sub_802f8490 +sub_802f8490: +/* 802F8490 002F53F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F8494 002F53F4 7C 08 02 A6 */ mflr r0 +/* 802F8498 002F53F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F849C 002F53FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F84A0 002F5400 7C 9F 23 78 */ mr r31, r4 +/* 802F84A4 002F5404 93 C1 00 08 */ stw r30, 8(r1) +/* 802F84A8 002F5408 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802F84AC 002F540C 41 82 00 2C */ beq lbl_802F84D8 +/* 802F84B0 002F5410 88 1E 00 00 */ lbz r0, 0(r30) +/* 802F84B4 002F5414 28 00 00 00 */ cmplwi r0, 0 +/* 802F84B8 002F5418 41 82 00 10 */ beq lbl_802F84C8 +/* 802F84BC 002F541C 80 7E 00 04 */ lwz r3, 4(r30) +/* 802F84C0 002F5420 38 80 00 01 */ li r4, 1 +/* 802F84C4 002F5424 4B FF FE 61 */ bl sub_802f8324 +lbl_802F84C8: +/* 802F84C8 002F5428 7F E0 07 35 */ extsh. r0, r31 +/* 802F84CC 002F542C 40 81 00 0C */ ble lbl_802F84D8 +/* 802F84D0 002F5430 7F C3 F3 78 */ mr r3, r30 +/* 802F84D4 002F5434 48 01 D4 5D */ bl Free__7CMemoryFPCv +lbl_802F84D8: +/* 802F84D8 002F5438 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F84DC 002F543C 7F C3 F3 78 */ mr r3, r30 +/* 802F84E0 002F5440 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F84E4 002F5444 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F84E8 002F5448 7C 08 03 A6 */ mtlr r0 +/* 802F84EC 002F544C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F84F0 002F5450 4E 80 00 20 */ blr + +.global "__ct__28TSegIdMap<15CCharLayoutNode>FR12CInputStream" +"__ct__28TSegIdMap<15CCharLayoutNode>FR12CInputStream": +/* 802F84F4 002F5454 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802F84F8 002F5458 7C 08 02 A6 */ mflr r0 +/* 802F84FC 002F545C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802F8500 002F5460 38 00 00 00 */ li r0, 0 +/* 802F8504 002F5464 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802F8508 002F5468 7C 9F 23 78 */ mr r31, r4 +/* 802F850C 002F546C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802F8510 002F5470 7C 7E 1B 78 */ mr r30, r3 +/* 802F8514 002F5474 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802F8518 002F5478 93 81 00 40 */ stw r28, 0x40(r1) +/* 802F851C 002F547C 98 03 00 00 */ stb r0, 0(r3) +/* 802F8520 002F5480 7F E3 FB 78 */ mr r3, r31 +/* 802F8524 002F5484 48 04 67 61 */ bl ReadLong__12CInputStreamFv +/* 802F8528 002F5488 98 7E 00 01 */ stb r3, 1(r30) +/* 802F852C 002F548C 38 60 00 64 */ li r3, 0x64 +/* 802F8530 002F5490 38 00 00 0A */ li r0, 0xa +/* 802F8534 002F5494 38 FE 00 08 */ addi r7, r30, 8 +/* 802F8538 002F5498 88 AD 9C 10 */ lbz r5, lbl_805A87D0@sda21(r13) +/* 802F853C 002F549C 38 C0 00 00 */ li r6, 0 +/* 802F8540 002F54A0 88 8D 9C 11 */ lbz r4, lbl_805A87D1@sda21(r13) +/* 802F8544 002F54A4 7C A5 07 74 */ extsb r5, r5 +/* 802F8548 002F54A8 90 7E 00 04 */ stw r3, 4(r30) +/* 802F854C 002F54AC 7C 83 07 74 */ extsb r3, r4 +/* 802F8550 002F54B0 7C 09 03 A6 */ mtctr r0 +lbl_802F8554: +/* 802F8554 002F54B4 28 07 00 00 */ cmplwi r7, 0 +/* 802F8558 002F54B8 41 82 00 0C */ beq lbl_802F8564 +/* 802F855C 002F54BC 98 A7 00 00 */ stb r5, 0(r7) +/* 802F8560 002F54C0 98 67 00 01 */ stb r3, 1(r7) +lbl_802F8564: +/* 802F8564 002F54C4 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F8568 002F54C8 41 82 00 0C */ beq lbl_802F8574 +/* 802F856C 002F54CC 98 A7 00 00 */ stb r5, 0(r7) +/* 802F8570 002F54D0 98 67 00 01 */ stb r3, 1(r7) +lbl_802F8574: +/* 802F8574 002F54D4 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F8578 002F54D8 41 82 00 0C */ beq lbl_802F8584 +/* 802F857C 002F54DC 98 A7 00 00 */ stb r5, 0(r7) +/* 802F8580 002F54E0 98 67 00 01 */ stb r3, 1(r7) +lbl_802F8584: +/* 802F8584 002F54E4 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F8588 002F54E8 41 82 00 0C */ beq lbl_802F8594 +/* 802F858C 002F54EC 98 A7 00 00 */ stb r5, 0(r7) +/* 802F8590 002F54F0 98 67 00 01 */ stb r3, 1(r7) +lbl_802F8594: +/* 802F8594 002F54F4 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F8598 002F54F8 41 82 00 0C */ beq lbl_802F85A4 +/* 802F859C 002F54FC 98 A7 00 00 */ stb r5, 0(r7) +/* 802F85A0 002F5500 98 67 00 01 */ stb r3, 1(r7) +lbl_802F85A4: +/* 802F85A4 002F5504 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F85A8 002F5508 41 82 00 0C */ beq lbl_802F85B4 +/* 802F85AC 002F550C 98 A7 00 00 */ stb r5, 0(r7) +/* 802F85B0 002F5510 98 67 00 01 */ stb r3, 1(r7) +lbl_802F85B4: +/* 802F85B4 002F5514 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F85B8 002F5518 41 82 00 0C */ beq lbl_802F85C4 +/* 802F85BC 002F551C 98 A7 00 00 */ stb r5, 0(r7) +/* 802F85C0 002F5520 98 67 00 01 */ stb r3, 1(r7) +lbl_802F85C4: +/* 802F85C4 002F5524 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F85C8 002F5528 41 82 00 0C */ beq lbl_802F85D4 +/* 802F85CC 002F552C 98 A7 00 00 */ stb r5, 0(r7) +/* 802F85D0 002F5530 98 67 00 01 */ stb r3, 1(r7) +lbl_802F85D4: +/* 802F85D4 002F5534 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F85D8 002F5538 41 82 00 0C */ beq lbl_802F85E4 +/* 802F85DC 002F553C 98 A7 00 00 */ stb r5, 0(r7) +/* 802F85E0 002F5540 98 67 00 01 */ stb r3, 1(r7) +lbl_802F85E4: +/* 802F85E4 002F5544 34 E7 00 02 */ addic. r7, r7, 2 +/* 802F85E8 002F5548 41 82 00 0C */ beq lbl_802F85F4 +/* 802F85EC 002F554C 98 A7 00 00 */ stb r5, 0(r7) +/* 802F85F0 002F5550 98 67 00 01 */ stb r3, 1(r7) +lbl_802F85F4: +/* 802F85F4 002F5554 38 C6 00 09 */ addi r6, r6, 9 +/* 802F85F8 002F5558 38 E7 00 02 */ addi r7, r7, 2 +/* 802F85FC 002F555C 42 00 FF 58 */ bdnz lbl_802F8554 +/* 802F8600 002F5560 88 1E 00 01 */ lbz r0, 1(r30) +/* 802F8604 002F5564 3C 60 80 3D */ lis r3, lbl_803D6E28@ha +/* 802F8608 002F5568 38 83 6E 28 */ addi r4, r3, lbl_803D6E28@l +/* 802F860C 002F556C 38 A0 00 00 */ li r5, 0 +/* 802F8610 002F5570 7C 00 07 74 */ extsb r0, r0 +/* 802F8614 002F5574 54 03 28 34 */ slwi r3, r0, 5 +/* 802F8618 002F5578 48 01 D2 01 */ bl __nwa__FUlPCcPCc +/* 802F861C 002F557C 90 7E 00 D0 */ stw r3, 0xd0(r30) +/* 802F8620 002F5580 38 00 00 00 */ li r0, 0 +/* 802F8624 002F5584 3B A1 00 2C */ addi r29, r1, 0x2c +/* 802F8628 002F5588 3B 80 00 00 */ li r28, 0 +/* 802F862C 002F558C 98 1E 00 D4 */ stb r0, 0xd4(r30) +/* 802F8630 002F5590 48 00 00 7C */ b lbl_802F86AC +lbl_802F8634: +/* 802F8634 002F5594 7F E3 FB 78 */ mr r3, r31 +/* 802F8638 002F5598 48 04 66 4D */ bl ReadLong__12CInputStreamFv +/* 802F863C 002F559C 98 61 00 08 */ stb r3, 8(r1) +/* 802F8640 002F55A0 7F E4 FB 78 */ mr r4, r31 +/* 802F8644 002F55A4 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F8648 002F55A8 4B FF FA 25 */ bl __ct__15CCharLayoutNodeFR12CInputStream +/* 802F864C 002F55AC 7F C3 F3 78 */ mr r3, r30 +/* 802F8650 002F55B0 38 81 00 08 */ addi r4, r1, 8 +/* 802F8654 002F55B4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802F8658 002F55B8 48 00 04 4D */ bl "insert__28TSegIdMap<15CCharLayoutNode>FRC6CSegIdRC15CCharLayoutNode" +/* 802F865C 002F55BC 28 1D 00 00 */ cmplwi r29, 0 +/* 802F8660 002F55C0 41 82 00 48 */ beq lbl_802F86A8 +/* 802F8664 002F55C4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802F8668 002F55C8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802F866C 002F55CC 7C 65 1B 78 */ mr r5, r3 +/* 802F8670 002F55D0 90 61 00 10 */ stw r3, 0x10(r1) +/* 802F8674 002F55D4 7C 83 02 14 */ add r4, r3, r0 +/* 802F8678 002F55D8 7C 03 20 50 */ subf r0, r3, r4 +/* 802F867C 002F55DC 90 81 00 18 */ stw r4, 0x18(r1) +/* 802F8680 002F55E0 90 81 00 14 */ stw r4, 0x14(r1) +/* 802F8684 002F55E4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802F8688 002F55E8 7C 09 03 A6 */ mtctr r0 +/* 802F868C 002F55EC 7C 03 20 40 */ cmplw r3, r4 +/* 802F8690 002F55F0 41 82 00 0C */ beq lbl_802F869C +lbl_802F8694: +/* 802F8694 002F55F4 38 A5 00 01 */ addi r5, r5, 1 +/* 802F8698 002F55F8 42 00 FF FC */ bdnz lbl_802F8694 +lbl_802F869C: +/* 802F869C 002F55FC 28 03 00 00 */ cmplwi r3, 0 +/* 802F86A0 002F5600 41 82 00 08 */ beq lbl_802F86A8 +/* 802F86A4 002F5604 48 01 D2 8D */ bl Free__7CMemoryFPCv +lbl_802F86A8: +/* 802F86A8 002F5608 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802F86AC: +/* 802F86AC 002F560C 88 1E 00 01 */ lbz r0, 1(r30) +/* 802F86B0 002F5610 7C 00 07 74 */ extsb r0, r0 +/* 802F86B4 002F5614 7C 1C 00 00 */ cmpw r28, r0 +/* 802F86B8 002F5618 41 80 FF 7C */ blt lbl_802F8634 +/* 802F86BC 002F561C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802F86C0 002F5620 7F C3 F3 78 */ mr r3, r30 +/* 802F86C4 002F5624 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802F86C8 002F5628 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802F86CC 002F562C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802F86D0 002F5630 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802F86D4 002F5634 7C 08 03 A6 */ mtlr r0 +/* 802F86D8 002F5638 38 21 00 50 */ addi r1, r1, 0x50 +/* 802F86DC 002F563C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>Fi": +/* 802F86E0 002F5640 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F86E4 002F5644 7C 08 02 A6 */ mflr r0 +/* 802F86E8 002F5648 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F86EC 002F564C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802F86F0 002F5650 7C 9F 23 78 */ mr r31, r4 +/* 802F86F4 002F5654 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802F86F8 002F5658 7C 7E 1B 78 */ mr r30, r3 +/* 802F86FC 002F565C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802F8700 002F5660 80 03 00 08 */ lwz r0, 8(r3) +/* 802F8704 002F5664 7C 1F 00 00 */ cmpw r31, r0 +/* 802F8708 002F5668 40 81 00 A8 */ ble lbl_802F87B0 +/* 802F870C 002F566C 7F E3 FB 79 */ or. r3, r31, r31 +/* 802F8710 002F5670 40 82 00 0C */ bne lbl_802F871C +/* 802F8714 002F5674 3B A0 00 00 */ li r29, 0 +/* 802F8718 002F5678 48 00 00 18 */ b lbl_802F8730 +lbl_802F871C: +/* 802F871C 002F567C 3C 80 80 3D */ lis r4, lbl_803D6E28@ha +/* 802F8720 002F5680 38 A0 00 00 */ li r5, 0 +/* 802F8724 002F5684 38 84 6E 28 */ addi r4, r4, lbl_803D6E28@l +/* 802F8728 002F5688 48 01 D0 F1 */ bl __nwa__FUlPCcPCc +/* 802F872C 002F568C 7C 7D 1B 78 */ mr r29, r3 +lbl_802F8730: +/* 802F8730 002F5690 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802F8734 002F5694 7F A4 EB 78 */ mr r4, r29 +/* 802F8738 002F5698 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F873C 002F569C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802F8740 002F56A0 7C 65 02 14 */ add r3, r5, r0 +/* 802F8744 002F56A4 7C 05 18 50 */ subf r0, r5, r3 +/* 802F8748 002F56A8 90 61 00 08 */ stw r3, 8(r1) +/* 802F874C 002F56AC 90 61 00 0C */ stw r3, 0xc(r1) +/* 802F8750 002F56B0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802F8754 002F56B4 7C 09 03 A6 */ mtctr r0 +/* 802F8758 002F56B8 7C 05 18 40 */ cmplw r5, r3 +/* 802F875C 002F56BC 41 82 00 20 */ beq lbl_802F877C +lbl_802F8760: +/* 802F8760 002F56C0 28 04 00 00 */ cmplwi r4, 0 +/* 802F8764 002F56C4 41 82 00 0C */ beq lbl_802F8770 +/* 802F8768 002F56C8 88 05 00 00 */ lbz r0, 0(r5) +/* 802F876C 002F56CC 98 04 00 00 */ stb r0, 0(r4) +lbl_802F8770: +/* 802F8770 002F56D0 38 84 00 01 */ addi r4, r4, 1 +/* 802F8774 002F56D4 38 A5 00 01 */ addi r5, r5, 1 +/* 802F8778 002F56D8 42 00 FF E8 */ bdnz lbl_802F8760 +lbl_802F877C: +/* 802F877C 002F56DC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802F8780 002F56E0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F8784 002F56E4 7C 83 02 14 */ add r4, r3, r0 +/* 802F8788 002F56E8 7C 03 20 50 */ subf r0, r3, r4 +/* 802F878C 002F56EC 7C 09 03 A6 */ mtctr r0 +/* 802F8790 002F56F0 7C 03 20 40 */ cmplw r3, r4 +/* 802F8794 002F56F4 41 82 00 08 */ beq lbl_802F879C +lbl_802F8798: +/* 802F8798 002F56F8 42 00 00 00 */ bdnz lbl_802F8798 +lbl_802F879C: +/* 802F879C 002F56FC 28 03 00 00 */ cmplwi r3, 0 +/* 802F87A0 002F5700 41 82 00 08 */ beq lbl_802F87A8 +/* 802F87A4 002F5704 48 01 D1 8D */ bl Free__7CMemoryFPCv +lbl_802F87A8: +/* 802F87A8 002F5708 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802F87AC 002F570C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802F87B0: +/* 802F87B0 002F5710 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F87B4 002F5714 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802F87B8 002F5718 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802F87BC 002F571C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802F87C0 002F5720 7C 08 03 A6 */ mtlr r0 +/* 802F87C4 002F5724 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F87C8 002F5728 4E 80 00 20 */ blr + +.global sub_802f87cc +sub_802f87cc: +/* 802F87CC 002F572C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F87D0 002F5730 7C 08 02 A6 */ mflr r0 +/* 802F87D4 002F5734 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F87D8 002F5738 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F87DC 002F573C 7C 9F 23 78 */ mr r31, r4 +/* 802F87E0 002F5740 93 C1 00 08 */ stw r30, 8(r1) +/* 802F87E4 002F5744 7C 7E 1B 78 */ mr r30, r3 +/* 802F87E8 002F5748 80 84 00 00 */ lwz r4, 0(r4) +/* 802F87EC 002F574C 28 04 00 00 */ cmplwi r4, 0 +/* 802F87F0 002F5750 41 82 00 08 */ beq lbl_802F87F8 +/* 802F87F4 002F5754 4B FF FF D9 */ bl sub_802f87cc +lbl_802F87F8: +/* 802F87F8 002F5758 80 9F 00 04 */ lwz r4, 4(r31) +/* 802F87FC 002F575C 28 04 00 00 */ cmplwi r4, 0 +/* 802F8800 002F5760 41 82 00 0C */ beq lbl_802F880C +/* 802F8804 002F5764 7F C3 F3 78 */ mr r3, r30 +/* 802F8808 002F5768 4B FF FF C5 */ bl sub_802f87cc +lbl_802F880C: +/* 802F880C 002F576C 28 1F 00 00 */ cmplwi r31, 0 +/* 802F8810 002F5770 41 82 00 1C */ beq lbl_802F882C +/* 802F8814 002F5774 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 802F8818 002F5778 41 82 00 14 */ beq lbl_802F882C +/* 802F881C 002F577C 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 802F8820 002F5780 41 82 00 0C */ beq lbl_802F882C +/* 802F8824 002F5784 38 7F 00 10 */ addi r3, r31, 0x10 +/* 802F8828 002F5788 48 04 52 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802F882C: +/* 802F882C 002F578C 28 1F 00 00 */ cmplwi r31, 0 +/* 802F8830 002F5790 41 82 00 0C */ beq lbl_802F883C +/* 802F8834 002F5794 7F E3 FB 78 */ mr r3, r31 +/* 802F8838 002F5798 48 01 D0 F9 */ bl Free__7CMemoryFPCv +lbl_802F883C: +/* 802F883C 002F579C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F8840 002F57A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F8844 002F57A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F8848 002F57A8 7C 08 03 A6 */ mtlr r0 +/* 802F884C 002F57AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F8850 002F57B0 4E 80 00 20 */ blr + +.global sub_802f8854 +sub_802f8854: +/* 802F8854 002F57B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F8858 002F57B8 7C 08 02 A6 */ mflr r0 +/* 802F885C 002F57BC 28 05 00 00 */ cmplwi r5, 0 +/* 802F8860 002F57C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F8864 002F57C4 BF 41 00 08 */ stmw r26, 8(r1) +/* 802F8868 002F57C8 7C 7C 1B 78 */ mr r28, r3 +/* 802F886C 002F57CC 7C 9D 23 78 */ mr r29, r4 +/* 802F8870 002F57D0 7C DE 33 78 */ mr r30, r6 +/* 802F8874 002F57D4 40 82 00 8C */ bne lbl_802F8900 +/* 802F8878 002F57D8 3C 80 80 3D */ lis r4, lbl_803D6E28@ha +/* 802F887C 002F57DC 38 60 00 24 */ li r3, 0x24 +/* 802F8880 002F57E0 38 84 6E 28 */ addi r4, r4, lbl_803D6E28@l +/* 802F8884 002F57E4 38 A0 00 00 */ li r5, 0 +/* 802F8888 002F57E8 48 01 CF 91 */ bl __nwa__FUlPCcPCc +/* 802F888C 002F57EC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802F8890 002F57F0 41 82 00 34 */ beq lbl_802F88C4 +/* 802F8894 002F57F4 38 00 00 00 */ li r0, 0 +/* 802F8898 002F57F8 37 FB 00 10 */ addic. r31, r27, 0x10 +/* 802F889C 002F57FC 90 1B 00 00 */ stw r0, 0(r27) +/* 802F88A0 002F5800 90 1B 00 04 */ stw r0, 4(r27) +/* 802F88A4 002F5804 90 1B 00 08 */ stw r0, 8(r27) +/* 802F88A8 002F5808 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802F88AC 002F580C 41 82 00 18 */ beq lbl_802F88C4 +/* 802F88B0 002F5810 7F E3 FB 78 */ mr r3, r31 +/* 802F88B4 002F5814 7F C4 F3 78 */ mr r4, r30 +/* 802F88B8 002F5818 48 04 58 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F88BC 002F581C 88 1E 00 10 */ lbz r0, 0x10(r30) +/* 802F88C0 002F5820 98 1F 00 10 */ stb r0, 0x10(r31) +lbl_802F88C4: +/* 802F88C4 002F5824 93 7D 00 10 */ stw r27, 0x10(r29) +/* 802F88C8 002F5828 38 1D 00 08 */ addi r0, r29, 8 +/* 802F88CC 002F582C 80 7D 00 04 */ lwz r3, 4(r29) +/* 802F88D0 002F5830 38 63 00 01 */ addi r3, r3, 1 +/* 802F88D4 002F5834 90 7D 00 04 */ stw r3, 4(r29) +/* 802F88D8 002F5838 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802F88DC 002F583C 90 7D 00 08 */ stw r3, 8(r29) +/* 802F88E0 002F5840 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802F88E4 002F5844 90 7D 00 0C */ stw r3, 0xc(r29) +/* 802F88E8 002F5848 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802F88EC 002F584C 90 7C 00 00 */ stw r3, 0(r28) +/* 802F88F0 002F5850 90 1C 00 04 */ stw r0, 4(r28) +/* 802F88F4 002F5854 88 0D 9C 12 */ lbz r0, lbl_805A87D2@sda21(r13) +/* 802F88F8 002F5858 98 1C 00 08 */ stb r0, 8(r28) +/* 802F88FC 002F585C 48 00 01 94 */ b lbl_802F8A90 +lbl_802F8900: +/* 802F8900 002F5860 7C BF 2B 78 */ mr r31, r5 +/* 802F8904 002F5864 3B 40 00 00 */ li r26, 0 +/* 802F8908 002F5868 48 00 01 54 */ b lbl_802F8A5C +lbl_802F890C: +/* 802F890C 002F586C 7F C4 F3 78 */ mr r4, r30 +/* 802F8910 002F5870 38 7D 00 01 */ addi r3, r29, 1 +/* 802F8914 002F5874 38 BF 00 10 */ addi r5, r31, 0x10 +/* 802F8918 002F5878 4B D3 1E 11 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 802F891C 002F587C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F8920 002F5880 7C 7B 1B 78 */ mr r27, r3 +/* 802F8924 002F5884 40 82 00 34 */ bne lbl_802F8958 +/* 802F8928 002F5888 7F C5 F3 78 */ mr r5, r30 +/* 802F892C 002F588C 38 7D 00 01 */ addi r3, r29, 1 +/* 802F8930 002F5890 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802F8934 002F5894 4B D3 1D F5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 802F8938 002F5898 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F893C 002F589C 40 82 00 1C */ bne lbl_802F8958 +/* 802F8940 002F58A0 93 FC 00 00 */ stw r31, 0(r28) +/* 802F8944 002F58A4 38 1D 00 08 */ addi r0, r29, 8 +/* 802F8948 002F58A8 90 1C 00 04 */ stw r0, 4(r28) +/* 802F894C 002F58AC 88 0D 9C 13 */ lbz r0, lbl_805A87D3@sda21(r13) +/* 802F8950 002F58B0 98 1C 00 08 */ stb r0, 8(r28) +/* 802F8954 002F58B4 48 00 01 3C */ b lbl_802F8A90 +lbl_802F8958: +/* 802F8958 002F58B8 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 802F895C 002F58BC 41 82 00 84 */ beq lbl_802F89E0 +/* 802F8960 002F58C0 80 1F 00 00 */ lwz r0, 0(r31) +/* 802F8964 002F58C4 28 00 00 00 */ cmplwi r0, 0 +/* 802F8968 002F58C8 40 82 00 70 */ bne lbl_802F89D8 +/* 802F896C 002F58CC 3C 80 80 3D */ lis r4, lbl_803D6E28@ha +/* 802F8970 002F58D0 38 60 00 24 */ li r3, 0x24 +/* 802F8974 002F58D4 38 84 6E 28 */ addi r4, r4, lbl_803D6E28@l +/* 802F8978 002F58D8 38 A0 00 00 */ li r5, 0 +/* 802F897C 002F58DC 48 01 CE 9D */ bl __nwa__FUlPCcPCc +/* 802F8980 002F58E0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802F8984 002F58E4 41 82 00 38 */ beq lbl_802F89BC +/* 802F8988 002F58E8 38 60 00 00 */ li r3, 0 +/* 802F898C 002F58EC 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 802F8990 002F58F0 90 7B 00 00 */ stw r3, 0(r27) +/* 802F8994 002F58F4 38 00 00 01 */ li r0, 1 +/* 802F8998 002F58F8 90 7B 00 04 */ stw r3, 4(r27) +/* 802F899C 002F58FC 93 FB 00 08 */ stw r31, 8(r27) +/* 802F89A0 002F5900 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802F89A4 002F5904 41 82 00 18 */ beq lbl_802F89BC +/* 802F89A8 002F5908 7F 43 D3 78 */ mr r3, r26 +/* 802F89AC 002F590C 7F C4 F3 78 */ mr r4, r30 +/* 802F89B0 002F5910 48 04 57 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F89B4 002F5914 88 1E 00 10 */ lbz r0, 0x10(r30) +/* 802F89B8 002F5918 98 1A 00 10 */ stb r0, 0x10(r26) +lbl_802F89BC: +/* 802F89BC 002F591C 93 7F 00 00 */ stw r27, 0(r31) +/* 802F89C0 002F5920 7F 7A DB 78 */ mr r26, r27 +/* 802F89C4 002F5924 80 1D 00 08 */ lwz r0, 8(r29) +/* 802F89C8 002F5928 7C 1F 00 40 */ cmplw r31, r0 +/* 802F89CC 002F592C 40 82 00 90 */ bne lbl_802F8A5C +/* 802F89D0 002F5930 93 7D 00 08 */ stw r27, 8(r29) +/* 802F89D4 002F5934 48 00 00 88 */ b lbl_802F8A5C +lbl_802F89D8: +/* 802F89D8 002F5938 7C 1F 03 78 */ mr r31, r0 +/* 802F89DC 002F593C 48 00 00 80 */ b lbl_802F8A5C +lbl_802F89E0: +/* 802F89E0 002F5940 80 1F 00 04 */ lwz r0, 4(r31) +/* 802F89E4 002F5944 28 00 00 00 */ cmplwi r0, 0 +/* 802F89E8 002F5948 40 82 00 70 */ bne lbl_802F8A58 +/* 802F89EC 002F594C 3C 80 80 3D */ lis r4, lbl_803D6E28@ha +/* 802F89F0 002F5950 38 60 00 24 */ li r3, 0x24 +/* 802F89F4 002F5954 38 84 6E 28 */ addi r4, r4, lbl_803D6E28@l +/* 802F89F8 002F5958 38 A0 00 00 */ li r5, 0 +/* 802F89FC 002F595C 48 01 CE 1D */ bl __nwa__FUlPCcPCc +/* 802F8A00 002F5960 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802F8A04 002F5964 41 82 00 38 */ beq lbl_802F8A3C +/* 802F8A08 002F5968 38 60 00 00 */ li r3, 0 +/* 802F8A0C 002F596C 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 802F8A10 002F5970 90 7B 00 00 */ stw r3, 0(r27) +/* 802F8A14 002F5974 38 00 00 01 */ li r0, 1 +/* 802F8A18 002F5978 90 7B 00 04 */ stw r3, 4(r27) +/* 802F8A1C 002F597C 93 FB 00 08 */ stw r31, 8(r27) +/* 802F8A20 002F5980 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802F8A24 002F5984 41 82 00 18 */ beq lbl_802F8A3C +/* 802F8A28 002F5988 7F 43 D3 78 */ mr r3, r26 +/* 802F8A2C 002F598C 7F C4 F3 78 */ mr r4, r30 +/* 802F8A30 002F5990 48 04 57 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802F8A34 002F5994 88 1E 00 10 */ lbz r0, 0x10(r30) +/* 802F8A38 002F5998 98 1A 00 10 */ stb r0, 0x10(r26) +lbl_802F8A3C: +/* 802F8A3C 002F599C 93 7F 00 04 */ stw r27, 4(r31) +/* 802F8A40 002F59A0 7F 7A DB 78 */ mr r26, r27 +/* 802F8A44 002F59A4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802F8A48 002F59A8 7C 1F 00 40 */ cmplw r31, r0 +/* 802F8A4C 002F59AC 40 82 00 10 */ bne lbl_802F8A5C +/* 802F8A50 002F59B0 93 7D 00 0C */ stw r27, 0xc(r29) +/* 802F8A54 002F59B4 48 00 00 08 */ b lbl_802F8A5C +lbl_802F8A58: +/* 802F8A58 002F59B8 7C 1F 03 78 */ mr r31, r0 +lbl_802F8A5C: +/* 802F8A5C 002F59BC 28 1A 00 00 */ cmplwi r26, 0 +/* 802F8A60 002F59C0 41 82 FE AC */ beq lbl_802F890C +/* 802F8A64 002F59C4 80 BD 00 04 */ lwz r5, 4(r29) +/* 802F8A68 002F59C8 7F 44 D3 78 */ mr r4, r26 +/* 802F8A6C 002F59CC 38 7D 00 08 */ addi r3, r29, 8 +/* 802F8A70 002F59D0 38 05 00 01 */ addi r0, r5, 1 +/* 802F8A74 002F59D4 90 1D 00 04 */ stw r0, 4(r29) +/* 802F8A78 002F59D8 48 04 40 21 */ bl rbtree_rebalance__4rstlFPvPv +/* 802F8A7C 002F59DC 93 5C 00 00 */ stw r26, 0(r28) +/* 802F8A80 002F59E0 38 1D 00 08 */ addi r0, r29, 8 +/* 802F8A84 002F59E4 90 1C 00 04 */ stw r0, 4(r28) +/* 802F8A88 002F59E8 88 0D 9C 14 */ lbz r0, lbl_805A87D4@sda21(r13) +/* 802F8A8C 002F59EC 98 1C 00 08 */ stb r0, 8(r28) +lbl_802F8A90: +/* 802F8A90 002F59F0 BB 41 00 08 */ lmw r26, 8(r1) +/* 802F8A94 002F59F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F8A98 002F59F8 7C 08 03 A6 */ mtlr r0 +/* 802F8A9C 002F59FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F8AA0 002F5A00 4E 80 00 20 */ blr + +.global "insert__28TSegIdMap<15CCharLayoutNode>FRC6CSegIdRC15CCharLayoutNode" +"insert__28TSegIdMap<15CCharLayoutNode>FRC6CSegIdRC15CCharLayoutNode": +/* 802F8AA4 002F5A04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F8AA8 002F5A08 7C 08 02 A6 */ mflr r0 +/* 802F8AAC 002F5A0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F8AB0 002F5A10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F8AB4 002F5A14 93 C1 00 08 */ stw r30, 8(r1) +/* 802F8AB8 002F5A18 7C 7E 1B 78 */ mr r30, r3 +/* 802F8ABC 002F5A1C 88 03 00 00 */ lbz r0, 0(r3) +/* 802F8AC0 002F5A20 80 63 00 D0 */ lwz r3, 0xd0(r3) +/* 802F8AC4 002F5A24 7C 00 07 74 */ extsb r0, r0 +/* 802F8AC8 002F5A28 8B E4 00 00 */ lbz r31, 0(r4) +/* 802F8ACC 002F5A2C 54 00 28 34 */ slwi r0, r0, 5 +/* 802F8AD0 002F5A30 7C 63 02 15 */ add. r3, r3, r0 +/* 802F8AD4 002F5A34 41 82 00 0C */ beq lbl_802F8AE0 +/* 802F8AD8 002F5A38 7C A4 2B 78 */ mr r4, r5 +/* 802F8ADC 002F5A3C 48 00 00 45 */ bl __ct__15CCharLayoutNodeFRC15CCharLayoutNode +lbl_802F8AE0: +/* 802F8AE0 002F5A40 57 E3 0D FC */ rlwinm r3, r31, 1, 0x17, 0x1e +/* 802F8AE4 002F5A44 88 9E 00 00 */ lbz r4, 0(r30) +/* 802F8AE8 002F5A48 88 1E 00 D4 */ lbz r0, 0xd4(r30) +/* 802F8AEC 002F5A4C 7C 7E 1A 14 */ add r3, r30, r3 +/* 802F8AF0 002F5A50 98 03 00 08 */ stb r0, 8(r3) +/* 802F8AF4 002F5A54 98 83 00 09 */ stb r4, 9(r3) +/* 802F8AF8 002F5A58 9B FE 00 D4 */ stb r31, 0xd4(r30) +/* 802F8AFC 002F5A5C 88 7E 00 00 */ lbz r3, 0(r30) +/* 802F8B00 002F5A60 38 03 00 01 */ addi r0, r3, 1 +/* 802F8B04 002F5A64 98 1E 00 00 */ stb r0, 0(r30) +/* 802F8B08 002F5A68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F8B0C 002F5A6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F8B10 002F5A70 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F8B14 002F5A74 7C 08 03 A6 */ mtlr r0 +/* 802F8B18 002F5A78 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F8B1C 002F5A7C 4E 80 00 20 */ blr + +.global __ct__15CCharLayoutNodeFRC15CCharLayoutNode +__ct__15CCharLayoutNodeFRC15CCharLayoutNode: +/* 802F8B20 002F5A80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F8B24 002F5A84 7C 08 02 A6 */ mflr r0 +/* 802F8B28 002F5A88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F8B2C 002F5A8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F8B30 002F5A90 7C 9F 23 78 */ mr r31, r4 +/* 802F8B34 002F5A94 93 C1 00 08 */ stw r30, 8(r1) +/* 802F8B38 002F5A98 7C 7E 1B 78 */ mr r30, r3 +/* 802F8B3C 002F5A9C 88 04 00 00 */ lbz r0, 0(r4) +/* 802F8B40 002F5AA0 98 03 00 00 */ stb r0, 0(r3) +/* 802F8B44 002F5AA4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802F8B48 002F5AA8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802F8B4C 002F5AAC C0 04 00 08 */ lfs f0, 8(r4) +/* 802F8B50 002F5AB0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802F8B54 002F5AB4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802F8B58 002F5AB8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802F8B5C 002F5ABC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802F8B60 002F5AC0 90 03 00 14 */ stw r0, 0x14(r3) +/* 802F8B64 002F5AC4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802F8B68 002F5AC8 90 03 00 18 */ stw r0, 0x18(r3) +/* 802F8B6C 002F5ACC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802F8B70 002F5AD0 2C 00 00 00 */ cmpwi r0, 0 +/* 802F8B74 002F5AD4 40 82 00 1C */ bne lbl_802F8B90 +/* 802F8B78 002F5AD8 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802F8B7C 002F5ADC 2C 00 00 00 */ cmpwi r0, 0 +/* 802F8B80 002F5AE0 40 82 00 10 */ bne lbl_802F8B90 +/* 802F8B84 002F5AE4 38 00 00 00 */ li r0, 0 +/* 802F8B88 002F5AE8 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802F8B8C 002F5AEC 48 00 00 64 */ b lbl_802F8BF0 +lbl_802F8B90: +/* 802F8B90 002F5AF0 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802F8B94 002F5AF4 2C 03 00 00 */ cmpwi r3, 0 +/* 802F8B98 002F5AF8 40 82 00 10 */ bne lbl_802F8BA8 +/* 802F8B9C 002F5AFC 38 00 00 00 */ li r0, 0 +/* 802F8BA0 002F5B00 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802F8BA4 002F5B04 48 00 00 18 */ b lbl_802F8BBC +lbl_802F8BA8: +/* 802F8BA8 002F5B08 3C 80 80 3D */ lis r4, lbl_803D6E28@ha +/* 802F8BAC 002F5B0C 38 A0 00 00 */ li r5, 0 +/* 802F8BB0 002F5B10 38 84 6E 28 */ addi r4, r4, lbl_803D6E28@l +/* 802F8BB4 002F5B14 48 01 CC 65 */ bl __nwa__FUlPCcPCc +/* 802F8BB8 002F5B18 90 7E 00 1C */ stw r3, 0x1c(r30) +lbl_802F8BBC: +/* 802F8BBC 002F5B1C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802F8BC0 002F5B20 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 802F8BC4 002F5B24 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802F8BC8 002F5B28 7C 09 03 A6 */ mtctr r0 +/* 802F8BCC 002F5B2C 2C 00 00 00 */ cmpwi r0, 0 +/* 802F8BD0 002F5B30 40 81 00 20 */ ble lbl_802F8BF0 +lbl_802F8BD4: +/* 802F8BD4 002F5B34 28 03 00 00 */ cmplwi r3, 0 +/* 802F8BD8 002F5B38 41 82 00 0C */ beq lbl_802F8BE4 +/* 802F8BDC 002F5B3C 88 04 00 00 */ lbz r0, 0(r4) +/* 802F8BE0 002F5B40 98 03 00 00 */ stb r0, 0(r3) +lbl_802F8BE4: +/* 802F8BE4 002F5B44 38 63 00 01 */ addi r3, r3, 1 +/* 802F8BE8 002F5B48 38 84 00 01 */ addi r4, r4, 1 +/* 802F8BEC 002F5B4C 42 00 FF E8 */ bdnz lbl_802F8BD4 +lbl_802F8BF0: +/* 802F8BF0 002F5B50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F8BF4 002F5B54 7F C3 F3 78 */ mr r3, r30 +/* 802F8BF8 002F5B58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F8BFC 002F5B5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F8C00 002F5B60 7C 08 03 A6 */ mtlr r0 +/* 802F8C04 002F5B64 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F8C08 002F5B68 4E 80 00 20 */ blr + +.global sub_802f8c0c +sub_802f8c0c: +/* 802F8C0C 002F5B6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802F8C10 002F5B70 7C 08 02 A6 */ mflr r0 +/* 802F8C14 002F5B74 90 01 00 34 */ stw r0, 0x34(r1) +/* 802F8C18 002F5B78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802F8C1C 002F5B7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802F8C20 002F5B80 7C 9E 23 78 */ mr r30, r4 +/* 802F8C24 002F5B84 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802F8C28 002F5B88 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802F8C2C 002F5B8C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802F8C30 002F5B90 41 82 00 F8 */ beq lbl_802F8D28 +/* 802F8C34 002F5B94 88 7D 00 D4 */ lbz r3, 0xd4(r29) +/* 802F8C38 002F5B98 3B FD 00 08 */ addi r31, r29, 8 +/* 802F8C3C 002F5B9C 48 00 00 70 */ b lbl_802F8CAC +lbl_802F8C40: +/* 802F8C40 002F5BA0 54 7C 0D FC */ rlwinm r28, r3, 1, 0x17, 0x1e +/* 802F8C44 002F5BA4 80 7D 00 D0 */ lwz r3, 0xd0(r29) +/* 802F8C48 002F5BA8 7C 9F E2 14 */ add r4, r31, r28 +/* 802F8C4C 002F5BAC 88 04 00 01 */ lbz r0, 1(r4) +/* 802F8C50 002F5BB0 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 802F8C54 002F5BB4 7C 83 02 15 */ add. r4, r3, r0 +/* 802F8C58 002F5BB8 41 82 00 50 */ beq lbl_802F8CA8 +/* 802F8C5C 002F5BBC 34 04 00 10 */ addic. r0, r4, 0x10 +/* 802F8C60 002F5BC0 41 82 00 48 */ beq lbl_802F8CA8 +/* 802F8C64 002F5BC4 80 64 00 1C */ lwz r3, 0x1c(r4) +/* 802F8C68 002F5BC8 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802F8C6C 002F5BCC 7C 65 1B 78 */ mr r5, r3 +/* 802F8C70 002F5BD0 90 61 00 0C */ stw r3, 0xc(r1) +/* 802F8C74 002F5BD4 7C 83 02 14 */ add r4, r3, r0 +/* 802F8C78 002F5BD8 7C 03 20 50 */ subf r0, r3, r4 +/* 802F8C7C 002F5BDC 90 81 00 14 */ stw r4, 0x14(r1) +/* 802F8C80 002F5BE0 90 81 00 10 */ stw r4, 0x10(r1) +/* 802F8C84 002F5BE4 90 61 00 08 */ stw r3, 8(r1) +/* 802F8C88 002F5BE8 7C 09 03 A6 */ mtctr r0 +/* 802F8C8C 002F5BEC 7C 03 20 40 */ cmplw r3, r4 +/* 802F8C90 002F5BF0 41 82 00 0C */ beq lbl_802F8C9C +lbl_802F8C94: +/* 802F8C94 002F5BF4 38 A5 00 01 */ addi r5, r5, 1 +/* 802F8C98 002F5BF8 42 00 FF FC */ bdnz lbl_802F8C94 +lbl_802F8C9C: +/* 802F8C9C 002F5BFC 28 03 00 00 */ cmplwi r3, 0 +/* 802F8CA0 002F5C00 41 82 00 08 */ beq lbl_802F8CA8 +/* 802F8CA4 002F5C04 48 01 CC 8D */ bl Free__7CMemoryFPCv +lbl_802F8CA8: +/* 802F8CA8 002F5C08 7C 7F E0 AE */ lbzx r3, r31, r28 +lbl_802F8CAC: +/* 802F8CAC 002F5C0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F8CB0 002F5C10 40 82 FF 90 */ bne lbl_802F8C40 +/* 802F8CB4 002F5C14 80 7D 00 D0 */ lwz r3, 0xd0(r29) +/* 802F8CB8 002F5C18 48 01 CC 79 */ bl Free__7CMemoryFPCv +/* 802F8CBC 002F5C1C 34 1D 00 04 */ addic. r0, r29, 4 +/* 802F8CC0 002F5C20 41 82 00 58 */ beq lbl_802F8D18 +/* 802F8CC4 002F5C24 80 BD 00 04 */ lwz r5, 4(r29) +/* 802F8CC8 002F5C28 38 60 00 00 */ li r3, 0 +/* 802F8CCC 002F5C2C 2C 05 00 00 */ cmpwi r5, 0 +/* 802F8CD0 002F5C30 40 81 00 40 */ ble lbl_802F8D10 +/* 802F8CD4 002F5C34 2C 05 00 08 */ cmpwi r5, 8 +/* 802F8CD8 002F5C38 38 85 FF F8 */ addi r4, r5, -8 +/* 802F8CDC 002F5C3C 40 81 00 20 */ ble lbl_802F8CFC +/* 802F8CE0 002F5C40 38 04 00 07 */ addi r0, r4, 7 +/* 802F8CE4 002F5C44 54 00 E8 FE */ srwi r0, r0, 3 +/* 802F8CE8 002F5C48 7C 09 03 A6 */ mtctr r0 +/* 802F8CEC 002F5C4C 2C 04 00 00 */ cmpwi r4, 0 +/* 802F8CF0 002F5C50 40 81 00 0C */ ble lbl_802F8CFC +lbl_802F8CF4: +/* 802F8CF4 002F5C54 38 63 00 08 */ addi r3, r3, 8 +/* 802F8CF8 002F5C58 42 00 FF FC */ bdnz lbl_802F8CF4 +lbl_802F8CFC: +/* 802F8CFC 002F5C5C 7C 03 28 50 */ subf r0, r3, r5 +/* 802F8D00 002F5C60 7C 09 03 A6 */ mtctr r0 +/* 802F8D04 002F5C64 7C 03 28 00 */ cmpw r3, r5 +/* 802F8D08 002F5C68 40 80 00 08 */ bge lbl_802F8D10 +lbl_802F8D0C: +/* 802F8D0C 002F5C6C 42 00 00 00 */ bdnz lbl_802F8D0C +lbl_802F8D10: +/* 802F8D10 002F5C70 38 00 00 00 */ li r0, 0 +/* 802F8D14 002F5C74 90 1D 00 04 */ stw r0, 4(r29) +lbl_802F8D18: +/* 802F8D18 002F5C78 7F C0 07 35 */ extsh. r0, r30 +/* 802F8D1C 002F5C7C 40 81 00 0C */ ble lbl_802F8D28 +/* 802F8D20 002F5C80 7F A3 EB 78 */ mr r3, r29 +/* 802F8D24 002F5C84 48 01 CC 0D */ bl Free__7CMemoryFPCv +lbl_802F8D28: +/* 802F8D28 002F5C88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802F8D2C 002F5C8C 7F A3 EB 78 */ mr r3, r29 +/* 802F8D30 002F5C90 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802F8D34 002F5C94 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802F8D38 002F5C98 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802F8D3C 002F5C9C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802F8D40 002F5CA0 7C 08 03 A6 */ mtlr r0 +/* 802F8D44 002F5CA4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802F8D48 002F5CA8 4E 80 00 20 */ blr + +.global VGetAdvancementResults__21CFBStreamedAnimReaderCFRC13CCharAnimTimeRC13CCharAnimTime +VGetAdvancementResults__21CFBStreamedAnimReaderCFRC13CCharAnimTimeRC13CCharAnimTime: +/* 802F8D4C 002F5CAC 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802F8D50 002F5CB0 7C 08 02 A6 */ mflr r0 +/* 802F8D54 002F5CB4 90 01 01 34 */ stw r0, 0x134(r1) +/* 802F8D58 002F5CB8 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 802F8D5C 002F5CBC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 802F8D60 002F5CC0 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 802F8D64 002F5CC4 93 C1 01 18 */ stw r30, 0x118(r1) +/* 802F8D68 002F5CC8 93 A1 01 14 */ stw r29, 0x114(r1) +/* 802F8D6C 002F5CCC 93 81 01 10 */ stw r28, 0x110(r1) +/* 802F8D70 002F5CD0 7C 9D 23 78 */ mr r29, r4 +/* 802F8D74 002F5CD4 7C DF 33 78 */ mr r31, r6 +/* 802F8D78 002F5CD8 7C 7C 1B 78 */ mr r28, r3 +/* 802F8D7C 002F5CDC 7C BE 2B 78 */ mr r30, r5 +/* 802F8D80 002F5CE0 7F E5 FB 78 */ mr r5, r31 +/* 802F8D84 002F5CE4 38 61 00 44 */ addi r3, r1, 0x44 +/* 802F8D88 002F5CE8 38 9D 00 0C */ addi r4, r29, 0xc +/* 802F8D8C 002F5CEC 48 04 F8 19 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F8D90 002F5CF0 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802F8D94 002F5CF4 7F E5 FB 78 */ mr r5, r31 +/* 802F8D98 002F5CF8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802F8D9C 002F5CFC 38 61 00 3C */ addi r3, r1, 0x3c +/* 802F8DA0 002F5D00 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802F8DA4 002F5D04 38 9D 00 0C */ addi r4, r29, 0xc +/* 802F8DA8 002F5D08 90 01 00 60 */ stw r0, 0x60(r1) +/* 802F8DAC 002F5D0C 48 04 F7 F9 */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F8DB0 002F5D10 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802F8DB4 002F5D14 38 61 00 34 */ addi r3, r1, 0x34 +/* 802F8DB8 002F5D18 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802F8DBC 002F5D1C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802F8DC0 002F5D20 80 9D 00 60 */ lwz r4, 0x60(r29) +/* 802F8DC4 002F5D24 90 01 00 58 */ stw r0, 0x58(r1) +/* 802F8DC8 002F5D28 48 00 2B 5D */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 802F8DCC 002F5D2C 3B E1 00 34 */ addi r31, r1, 0x34 +/* 802F8DD0 002F5D30 38 61 00 5C */ addi r3, r1, 0x5c +/* 802F8DD4 002F5D34 7F E4 FB 78 */ mr r4, r31 +/* 802F8DD8 002F5D38 48 04 F6 65 */ bl __ge__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F8DDC 002F5D3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F8DE0 002F5D40 41 82 00 58 */ beq lbl_802F8E38 +/* 802F8DE4 002F5D44 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802F8DE8 002F5D48 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802F8DEC 002F5D4C 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F8DF0 002F5D50 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802F8DF4 002F5D54 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802F8DF8 002F5D58 C0 44 00 04 */ lfs f2, 4(r4) +/* 802F8DFC 002F5D5C C0 64 00 08 */ lfs f3, 8(r4) +/* 802F8E00 002F5D60 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802F8E04 002F5D64 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802F8E08 002F5D68 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802F8E0C 002F5D6C D0 1C 00 00 */ stfs f0, 0(r28) +/* 802F8E10 002F5D70 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F8E14 002F5D74 90 1C 00 04 */ stw r0, 4(r28) +/* 802F8E18 002F5D78 D0 3C 00 08 */ stfs f1, 8(r28) +/* 802F8E1C 002F5D7C D0 5C 00 0C */ stfs f2, 0xc(r28) +/* 802F8E20 002F5D80 D0 7C 00 10 */ stfs f3, 0x10(r28) +/* 802F8E24 002F5D84 D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 802F8E28 002F5D88 D0 BC 00 18 */ stfs f5, 0x18(r28) +/* 802F8E2C 002F5D8C D0 DC 00 1C */ stfs f6, 0x1c(r28) +/* 802F8E30 002F5D90 D0 FC 00 20 */ stfs f7, 0x20(r28) +/* 802F8E34 002F5D94 48 00 03 9C */ b lbl_802F91D0 +lbl_802F8E38: +/* 802F8E38 002F5D98 7F C3 F3 78 */ mr r3, r30 +/* 802F8E3C 002F5D9C 48 04 F5 75 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802F8E40 002F5DA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F8E44 002F5DA4 41 82 00 5C */ beq lbl_802F8EA0 +/* 802F8E48 002F5DA8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802F8E4C 002F5DAC C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802F8E50 002F5DB0 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F8E54 002F5DB4 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802F8E58 002F5DB8 80 0D 9C 18 */ lwz r0, lbl_805A87D8@sda21(r13) +/* 802F8E5C 002F5DBC C0 44 00 04 */ lfs f2, 4(r4) +/* 802F8E60 002F5DC0 C0 64 00 08 */ lfs f3, 8(r4) +/* 802F8E64 002F5DC4 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802F8E68 002F5DC8 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802F8E6C 002F5DCC C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802F8E70 002F5DD0 C0 0D 9C 1C */ lfs f0, lbl_805A87DC@sda21(r13) +/* 802F8E74 002F5DD4 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F8E78 002F5DD8 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802F8E7C 002F5DDC 90 1C 00 04 */ stw r0, 4(r28) +/* 802F8E80 002F5DE0 D0 3C 00 08 */ stfs f1, 8(r28) +/* 802F8E84 002F5DE4 D0 5C 00 0C */ stfs f2, 0xc(r28) +/* 802F8E88 002F5DE8 D0 7C 00 10 */ stfs f3, 0x10(r28) +/* 802F8E8C 002F5DEC D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 802F8E90 002F5DF0 D0 BC 00 18 */ stfs f5, 0x18(r28) +/* 802F8E94 002F5DF4 D0 DC 00 1C */ stfs f6, 0x1c(r28) +/* 802F8E98 002F5DF8 D0 FC 00 20 */ stfs f7, 0x20(r28) +/* 802F8E9C 002F5DFC 48 00 03 34 */ b lbl_802F91D0 +lbl_802F8EA0: +/* 802F8EA0 002F5E00 7F A3 EB 78 */ mr r3, r29 +/* 802F8EA4 002F5E04 38 81 00 5C */ addi r4, r1, 0x5c +/* 802F8EA8 002F5E08 48 00 07 E5 */ bl sub_802f968c +/* 802F8EAC 002F5E0C 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F8EB0 002F5E10 38 00 00 00 */ li r0, 0 +/* 802F8EB4 002F5E14 90 01 01 08 */ stw r0, 0x108(r1) +/* 802F8EB8 002F5E18 28 04 00 00 */ cmplwi r4, 0 +/* 802F8EBC 002F5E1C 41 82 00 0C */ beq lbl_802F8EC8 +/* 802F8EC0 002F5E20 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F8EC4 002F5E24 48 00 00 08 */ b lbl_802F8ECC +lbl_802F8EC8: +/* 802F8EC8 002F5E28 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F8ECC: +/* 802F8ECC 002F5E2C 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F8ED0 002F5E30 28 00 00 00 */ cmplwi r0, 0 +/* 802F8ED4 002F5E34 40 82 00 1C */ bne lbl_802F8EF0 +/* 802F8ED8 002F5E38 28 04 00 00 */ cmplwi r4, 0 +/* 802F8EDC 002F5E3C 41 82 00 0C */ beq lbl_802F8EE8 +/* 802F8EE0 002F5E40 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F8EE4 002F5E44 48 00 00 08 */ b lbl_802F8EEC +lbl_802F8EE8: +/* 802F8EE8 002F5E48 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F8EEC: +/* 802F8EEC 002F5E4C 48 00 23 9D */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F8EF0: +/* 802F8EF0 002F5E50 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F8EF4 002F5E54 28 04 00 00 */ cmplwi r4, 0 +/* 802F8EF8 002F5E58 41 82 00 0C */ beq lbl_802F8F04 +/* 802F8EFC 002F5E5C 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F8F00 002F5E60 48 00 00 08 */ b lbl_802F8F08 +lbl_802F8F04: +/* 802F8F04 002F5E64 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F8F08: +/* 802F8F08 002F5E68 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F8F0C 002F5E6C 28 00 00 00 */ cmplwi r0, 0 +/* 802F8F10 002F5E70 40 82 00 1C */ bne lbl_802F8F2C +/* 802F8F14 002F5E74 28 04 00 00 */ cmplwi r4, 0 +/* 802F8F18 002F5E78 41 82 00 0C */ beq lbl_802F8F24 +/* 802F8F1C 002F5E7C 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F8F20 002F5E80 48 00 00 08 */ b lbl_802F8F28 +lbl_802F8F24: +/* 802F8F24 002F5E84 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F8F28: +/* 802F8F28 002F5E88 48 00 23 61 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F8F2C: +/* 802F8F2C 002F5E8C 38 00 00 03 */ li r0, 3 +/* 802F8F30 002F5E90 7F A3 EB 78 */ mr r3, r29 +/* 802F8F34 002F5E94 98 01 00 10 */ stb r0, 0x10(r1) +/* 802F8F38 002F5E98 38 81 00 EC */ addi r4, r1, 0xec +/* 802F8F3C 002F5E9C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802F8F40 002F5EA0 48 00 02 B9 */ bl sub_802f91f8 +/* 802F8F44 002F5EA4 7F C4 F3 78 */ mr r4, r30 +/* 802F8F48 002F5EA8 38 61 00 54 */ addi r3, r1, 0x54 +/* 802F8F4C 002F5EAC 48 04 F6 0D */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802F8F50 002F5EB0 80 0D 9C 18 */ lwz r0, lbl_805A87D8@sda21(r13) +/* 802F8F54 002F5EB4 7F E4 FB 78 */ mr r4, r31 +/* 802F8F58 002F5EB8 C3 ED 9C 1C */ lfs f31, lbl_805A87DC@sda21(r13) +/* 802F8F5C 002F5EBC 38 61 00 54 */ addi r3, r1, 0x54 +/* 802F8F60 002F5EC0 90 01 00 28 */ stw r0, 0x28(r1) +/* 802F8F64 002F5EC4 90 01 00 50 */ stw r0, 0x50(r1) +/* 802F8F68 002F5EC8 48 04 FB 05 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F8F6C 002F5ECC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F8F70 002F5ED0 41 82 00 30 */ beq lbl_802F8FA0 +/* 802F8F74 002F5ED4 7F E5 FB 78 */ mr r5, r31 +/* 802F8F78 002F5ED8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F8F7C 002F5EDC 38 81 00 54 */ addi r4, r1, 0x54 +/* 802F8F80 002F5EE0 48 04 F7 E5 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F8F84 002F5EE4 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802F8F88 002F5EE8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802F8F8C 002F5EEC 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802F8F90 002F5EF0 90 61 00 50 */ stw r3, 0x50(r1) +/* 802F8F94 002F5EF4 C3 E1 00 1C */ lfs f31, 0x1c(r1) +/* 802F8F98 002F5EF8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802F8F9C 002F5EFC 90 01 00 58 */ stw r0, 0x58(r1) +lbl_802F8FA0: +/* 802F8FA0 002F5F00 7F A3 EB 78 */ mr r3, r29 +/* 802F8FA4 002F5F04 38 81 00 54 */ addi r4, r1, 0x54 +/* 802F8FA8 002F5F08 48 00 06 E5 */ bl sub_802f968c +/* 802F8FAC 002F5F0C 80 9D 00 60 */ lwz r4, 0x60(r29) +/* 802F8FB0 002F5F10 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F8FB4 002F5F14 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802F8FB8 002F5F18 C0 24 00 08 */ lfs f1, 8(r4) +/* 802F8FBC 002F5F1C 48 04 FE 31 */ bl __ct__13CCharAnimTimeFf +/* 802F8FC0 002F5F20 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F8FC4 002F5F24 28 04 00 00 */ cmplwi r4, 0 +/* 802F8FC8 002F5F28 41 82 00 0C */ beq lbl_802F8FD4 +/* 802F8FCC 002F5F2C 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F8FD0 002F5F30 48 00 00 08 */ b lbl_802F8FD8 +lbl_802F8FD4: +/* 802F8FD4 002F5F34 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F8FD8: +/* 802F8FD8 002F5F38 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F8FDC 002F5F3C 28 00 00 00 */ cmplwi r0, 0 +/* 802F8FE0 002F5F40 40 82 00 1C */ bne lbl_802F8FFC +/* 802F8FE4 002F5F44 28 04 00 00 */ cmplwi r4, 0 +/* 802F8FE8 002F5F48 41 82 00 0C */ beq lbl_802F8FF4 +/* 802F8FEC 002F5F4C 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F8FF0 002F5F50 48 00 00 08 */ b lbl_802F8FF8 +lbl_802F8FF4: +/* 802F8FF4 002F5F54 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F8FF8: +/* 802F8FF8 002F5F58 48 00 22 91 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F8FFC: +/* 802F8FFC 002F5F5C 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F9000 002F5F60 28 04 00 00 */ cmplwi r4, 0 +/* 802F9004 002F5F64 41 82 00 0C */ beq lbl_802F9010 +/* 802F9008 002F5F68 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F900C 002F5F6C 48 00 00 08 */ b lbl_802F9014 +lbl_802F9010: +/* 802F9010 002F5F70 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9014: +/* 802F9014 002F5F74 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F9018 002F5F78 28 00 00 00 */ cmplwi r0, 0 +/* 802F901C 002F5F7C 40 82 00 1C */ bne lbl_802F9038 +/* 802F9020 002F5F80 28 04 00 00 */ cmplwi r4, 0 +/* 802F9024 002F5F84 41 82 00 0C */ beq lbl_802F9030 +/* 802F9028 002F5F88 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F902C 002F5F8C 48 00 00 08 */ b lbl_802F9034 +lbl_802F9030: +/* 802F9030 002F5F90 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9034: +/* 802F9034 002F5F94 48 00 22 55 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F9038: +/* 802F9038 002F5F98 38 60 00 00 */ li r3, 0 +/* 802F903C 002F5F9C 38 00 00 03 */ li r0, 3 +/* 802F9040 002F5FA0 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802F9044 002F5FA4 7F A3 EB 78 */ mr r3, r29 +/* 802F9048 002F5FA8 38 81 00 CC */ addi r4, r1, 0xcc +/* 802F904C 002F5FAC 38 A1 00 0C */ addi r5, r1, 0xc +/* 802F9050 002F5FB0 98 01 00 0C */ stb r0, 0xc(r1) +/* 802F9054 002F5FB4 48 00 01 A5 */ bl sub_802f91f8 +/* 802F9058 002F5FB8 C0 E1 00 F0 */ lfs f7, 0xf0(r1) +/* 802F905C 002F5FBC 38 00 00 03 */ li r0, 3 +/* 802F9060 002F5FC0 C0 C1 00 F4 */ lfs f6, 0xf4(r1) +/* 802F9064 002F5FC4 7F A3 EB 78 */ mr r3, r29 +/* 802F9068 002F5FC8 C0 A1 00 F8 */ lfs f5, 0xf8(r1) +/* 802F906C 002F5FCC FD 20 38 50 */ fneg f9, f7 +/* 802F9070 002F5FD0 C0 02 C6 D8 */ lfs f0, lbl_805AE3F8@sda21(r2) +/* 802F9074 002F5FD4 FD 40 30 50 */ fneg f10, f6 +/* 802F9078 002F5FD8 C1 01 00 EC */ lfs f8, 0xec(r1) +/* 802F907C 002F5FDC FD 60 28 50 */ fneg f11, f5 +/* 802F9080 002F5FE0 C0 81 00 CC */ lfs f4, 0xcc(r1) +/* 802F9084 002F5FE4 C0 61 00 D0 */ lfs f3, 0xd0(r1) +/* 802F9088 002F5FE8 38 81 00 08 */ addi r4, r1, 8 +/* 802F908C 002F5FEC C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 802F9090 002F5FF0 C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 802F9094 002F5FF4 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 802F9098 002F5FF8 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 802F909C 002F5FFC D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 802F90A0 002F6000 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 802F90A4 002F6004 D1 01 00 9C */ stfs f8, 0x9c(r1) +/* 802F90A8 002F6008 D1 21 00 A0 */ stfs f9, 0xa0(r1) +/* 802F90AC 002F600C D1 41 00 A4 */ stfs f10, 0xa4(r1) +/* 802F90B0 002F6010 D1 61 00 A8 */ stfs f11, 0xa8(r1) +/* 802F90B4 002F6014 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802F90B8 002F6018 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802F90BC 002F601C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802F90C0 002F6020 98 01 00 08 */ stb r0, 8(r1) +/* 802F90C4 002F6024 81 9D 00 00 */ lwz r12, 0(r29) +/* 802F90C8 002F6028 D1 01 00 BC */ stfs f8, 0xbc(r1) +/* 802F90CC 002F602C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F90D0 002F6030 D0 E1 00 C0 */ stfs f7, 0xc0(r1) +/* 802F90D4 002F6034 D0 C1 00 C4 */ stfs f6, 0xc4(r1) +/* 802F90D8 002F6038 D0 A1 00 C8 */ stfs f5, 0xc8(r1) +/* 802F90DC 002F603C 7D 89 03 A6 */ mtctr r12 +/* 802F90E0 002F6040 4E 80 04 21 */ bctrl +/* 802F90E4 002F6044 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F90E8 002F6048 41 82 00 88 */ beq lbl_802F9170 +/* 802F90EC 002F604C C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 802F90F0 002F6050 38 61 00 74 */ addi r3, r1, 0x74 +/* 802F90F4 002F6054 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 802F90F8 002F6058 38 81 00 80 */ addi r4, r1, 0x80 +/* 802F90FC 002F605C C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 802F9100 002F6060 FD 00 10 50 */ fneg f8, f2 +/* 802F9104 002F6064 FC E0 00 50 */ fneg f7, f0 +/* 802F9108 002F6068 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 802F910C 002F606C FC C0 08 50 */ fneg f6, f1 +/* 802F9110 002F6070 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802F9114 002F6074 C0 21 01 00 */ lfs f1, 0x100(r1) +/* 802F9118 002F6078 C0 81 00 E4 */ lfs f4, 0xe4(r1) +/* 802F911C 002F607C C0 61 01 04 */ lfs f3, 0x104(r1) +/* 802F9120 002F6080 EC A2 08 28 */ fsubs f5, f2, f1 +/* 802F9124 002F6084 C0 41 00 DC */ lfs f2, 0xdc(r1) +/* 802F9128 002F6088 38 A1 00 90 */ addi r5, r1, 0x90 +/* 802F912C 002F608C C0 21 00 FC */ lfs f1, 0xfc(r1) +/* 802F9130 002F6090 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802F9134 002F6094 D0 A1 00 94 */ stfs f5, 0x94(r1) +/* 802F9138 002F6098 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802F913C 002F609C D0 61 00 98 */ stfs f3, 0x98(r1) +/* 802F9140 002F60A0 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802F9144 002F60A4 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802F9148 002F60A8 D0 C1 00 84 */ stfs f6, 0x84(r1) +/* 802F914C 002F60AC D0 E1 00 88 */ stfs f7, 0x88(r1) +/* 802F9150 002F60B0 D1 01 00 8C */ stfs f8, 0x8c(r1) +/* 802F9154 002F60B4 48 01 81 11 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 802F9158 002F60B8 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 802F915C 002F60BC C0 21 00 78 */ lfs f1, 0x78(r1) +/* 802F9160 002F60C0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802F9164 002F60C4 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 802F9168 002F60C8 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 802F916C 002F60CC D0 01 00 98 */ stfs f0, 0x98(r1) +lbl_802F9170: +/* 802F9170 002F60D0 7F A3 EB 78 */ mr r3, r29 +/* 802F9174 002F60D4 38 9D 00 0C */ addi r4, r29, 0xc +/* 802F9178 002F60D8 48 00 05 15 */ bl sub_802f968c +/* 802F917C 002F60DC 38 61 00 64 */ addi r3, r1, 0x64 +/* 802F9180 002F60E0 38 81 00 AC */ addi r4, r1, 0xac +/* 802F9184 002F60E4 38 A1 00 9C */ addi r5, r1, 0x9c +/* 802F9188 002F60E8 48 01 80 19 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802F918C 002F60EC C0 01 00 90 */ lfs f0, 0x90(r1) +/* 802F9190 002F60F0 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802F9194 002F60F4 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802F9198 002F60F8 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802F919C 002F60FC C0 81 00 68 */ lfs f4, 0x68(r1) +/* 802F91A0 002F6100 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 802F91A4 002F6104 C0 C1 00 70 */ lfs f6, 0x70(r1) +/* 802F91A8 002F6108 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802F91AC 002F610C D3 FC 00 00 */ stfs f31, 0(r28) +/* 802F91B0 002F6110 90 1C 00 04 */ stw r0, 4(r28) +/* 802F91B4 002F6114 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802F91B8 002F6118 D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 802F91BC 002F611C D0 5C 00 10 */ stfs f2, 0x10(r28) +/* 802F91C0 002F6120 D0 7C 00 14 */ stfs f3, 0x14(r28) +/* 802F91C4 002F6124 D0 9C 00 18 */ stfs f4, 0x18(r28) +/* 802F91C8 002F6128 D0 BC 00 1C */ stfs f5, 0x1c(r28) +/* 802F91CC 002F612C D0 DC 00 20 */ stfs f6, 0x20(r28) +lbl_802F91D0: +/* 802F91D0 002F6130 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 802F91D4 002F6134 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802F91D8 002F6138 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802F91DC 002F613C 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 802F91E0 002F6140 83 C1 01 18 */ lwz r30, 0x118(r1) +/* 802F91E4 002F6144 83 A1 01 14 */ lwz r29, 0x114(r1) +/* 802F91E8 002F6148 83 81 01 10 */ lwz r28, 0x110(r1) +/* 802F91EC 002F614C 7C 08 03 A6 */ mtlr r0 +/* 802F91F0 002F6150 38 21 01 30 */ addi r1, r1, 0x130 +/* 802F91F4 002F6154 4E 80 00 20 */ blr + +.global sub_802f91f8 +sub_802f91f8: +/* 802F91F8 002F6158 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802F91FC 002F615C 7C 08 02 A6 */ mflr r0 +/* 802F9200 002F6160 90 01 00 94 */ stw r0, 0x94(r1) +/* 802F9204 002F6164 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802F9208 002F6168 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802F920C 002F616C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802F9210 002F6170 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802F9214 002F6174 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802F9218 002F6178 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802F921C 002F617C DB 81 00 50 */ stfd f28, 0x50(r1) +/* 802F9220 002F6180 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 802F9224 002F6184 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 802F9228 002F6188 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 802F922C 002F618C DB 41 00 30 */ stfd f26, 0x30(r1) +/* 802F9230 002F6190 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 802F9234 002F6194 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802F9238 002F6198 88 05 00 00 */ lbz r0, 0(r5) +/* 802F923C 002F619C 7C 7D 1B 78 */ mr r29, r3 +/* 802F9240 002F61A0 7C 9E 23 78 */ mr r30, r4 +/* 802F9244 002F61A4 54 00 10 3A */ slwi r0, r0, 2 +/* 802F9248 002F61A8 7C 7D 02 14 */ add r3, r29, r0 +/* 802F924C 002F61AC 83 E3 01 14 */ lwz r31, 0x114(r3) +/* 802F9250 002F61B0 3C 1F 00 01 */ addis r0, r31, 1 +/* 802F9254 002F61B4 28 00 FF FF */ cmplwi r0, 0xffff +/* 802F9258 002F61B8 40 82 00 30 */ bne lbl_802F9288 +/* 802F925C 002F61BC 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F9260 002F61C0 38 83 66 60 */ addi r4, r3, lbl_805A6660@l +/* 802F9264 002F61C4 C0 04 00 00 */ lfs f0, 0(r4) +/* 802F9268 002F61C8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F926C 002F61CC 80 64 00 04 */ lwz r3, 4(r4) +/* 802F9270 002F61D0 80 04 00 08 */ lwz r0, 8(r4) +/* 802F9274 002F61D4 90 7E 00 04 */ stw r3, 4(r30) +/* 802F9278 002F61D8 90 1E 00 08 */ stw r0, 8(r30) +/* 802F927C 002F61DC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802F9280 002F61E0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802F9284 002F61E4 48 00 01 3C */ b lbl_802F93C0 +lbl_802F9288: +/* 802F9288 002F61E8 88 1D 00 8C */ lbz r0, 0x8c(r29) +/* 802F928C 002F61EC 28 00 00 00 */ cmplwi r0, 0 +/* 802F9290 002F61F0 41 82 00 0C */ beq lbl_802F929C +/* 802F9294 002F61F4 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F9298 002F61F8 48 00 00 08 */ b lbl_802F92A0 +lbl_802F929C: +/* 802F929C 002F61FC 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F92A0: +/* 802F92A0 002F6200 28 00 00 00 */ cmplwi r0, 0 +/* 802F92A4 002F6204 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802F92A8 002F6208 57 E4 28 34 */ slwi r4, r31, 5 +/* 802F92AC 002F620C 7F 80 22 14 */ add r28, r0, r4 +/* 802F92B0 002F6210 41 82 00 0C */ beq lbl_802F92BC +/* 802F92B4 002F6214 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F92B8 002F6218 48 00 00 08 */ b lbl_802F92C0 +lbl_802F92BC: +/* 802F92BC 002F621C 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F92C0: +/* 802F92C0 002F6220 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802F92C4 002F6224 38 7D 00 7C */ addi r3, r29, 0x7c +/* 802F92C8 002F6228 7F 60 22 14 */ add r27, r0, r4 +/* 802F92CC 002F622C 48 00 1B 71 */ bl sub_802fae3c +/* 802F92D0 002F6230 7F 64 DB 78 */ mr r4, r27 +/* 802F92D4 002F6234 7F 85 E3 78 */ mr r5, r28 +/* 802F92D8 002F6238 38 61 00 08 */ addi r3, r1, 8 +/* 802F92DC 002F623C 4B FF 24 BD */ bl Slerp__14CAnimMathUtilsFRC11CQuaternionRC11CQuaternionf +/* 802F92E0 002F6240 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F92E4 002F6244 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802F92E8 002F6248 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802F92EC 002F624C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802F92F0 002F6250 90 7E 00 04 */ stw r3, 4(r30) +/* 802F92F4 002F6254 90 1E 00 08 */ stw r0, 8(r30) +/* 802F92F8 002F6258 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F92FC 002F625C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802F9300 002F6260 88 BD 00 8C */ lbz r5, 0x8c(r29) +/* 802F9304 002F6264 28 05 00 00 */ cmplwi r5, 0 +/* 802F9308 002F6268 41 82 00 0C */ beq lbl_802F9314 +/* 802F930C 002F626C 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F9310 002F6270 48 00 00 08 */ b lbl_802F9318 +lbl_802F9314: +/* 802F9314 002F6274 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9318: +/* 802F9318 002F6278 80 63 00 08 */ lwz r3, 8(r3) +/* 802F931C 002F627C 7C 03 F8 AE */ lbzx r0, r3, r31 +/* 802F9320 002F6280 28 00 00 00 */ cmplwi r0, 0 +/* 802F9324 002F6284 41 82 00 9C */ beq lbl_802F93C0 +/* 802F9328 002F6288 28 05 00 00 */ cmplwi r5, 0 +/* 802F932C 002F628C 41 82 00 0C */ beq lbl_802F9338 +/* 802F9330 002F6290 38 9D 00 90 */ addi r4, r29, 0x90 +/* 802F9334 002F6294 48 00 00 08 */ b lbl_802F933C +lbl_802F9338: +/* 802F9338 002F6298 38 9D 00 B8 */ addi r4, r29, 0xb8 +lbl_802F933C: +/* 802F933C 002F629C 57 E3 18 38 */ slwi r3, r31, 3 +/* 802F9340 002F62A0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802F9344 002F62A4 38 03 00 04 */ addi r0, r3, 4 +/* 802F9348 002F62A8 28 05 00 00 */ cmplwi r5, 0 +/* 802F934C 002F62AC 54 05 10 3A */ slwi r5, r0, 2 +/* 802F9350 002F62B0 7C 64 2A 14 */ add r3, r4, r5 +/* 802F9354 002F62B4 C3 E3 00 00 */ lfs f31, 0(r3) +/* 802F9358 002F62B8 C3 C3 00 04 */ lfs f30, 4(r3) +/* 802F935C 002F62BC C3 A3 00 08 */ lfs f29, 8(r3) +/* 802F9360 002F62C0 41 82 00 0C */ beq lbl_802F936C +/* 802F9364 002F62C4 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F9368 002F62C8 48 00 00 08 */ b lbl_802F9370 +lbl_802F936C: +/* 802F936C 002F62CC 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9370: +/* 802F9370 002F62D0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802F9374 002F62D4 38 7D 00 7C */ addi r3, r29, 0x7c +/* 802F9378 002F62D8 7C 80 2A 14 */ add r4, r0, r5 +/* 802F937C 002F62DC C3 84 00 00 */ lfs f28, 0(r4) +/* 802F9380 002F62E0 C3 64 00 04 */ lfs f27, 4(r4) +/* 802F9384 002F62E4 C3 44 00 08 */ lfs f26, 8(r4) +/* 802F9388 002F62E8 48 00 1A B5 */ bl sub_802fae3c +/* 802F938C 002F62EC C0 02 C6 DC */ lfs f0, lbl_805AE3FC@sda21(r2) +/* 802F9390 002F62F0 EC 7C 00 72 */ fmuls f3, f28, f1 +/* 802F9394 002F62F4 EC 5B 00 72 */ fmuls f2, f27, f1 +/* 802F9398 002F62F8 38 00 00 01 */ li r0, 1 +/* 802F939C 002F62FC EC 80 08 28 */ fsubs f4, f0, f1 +/* 802F93A0 002F6300 EC 1A 00 72 */ fmuls f0, f26, f1 +/* 802F93A4 002F6304 EC 7F 19 3A */ fmadds f3, f31, f4, f3 +/* 802F93A8 002F6308 EC 3E 11 3A */ fmadds f1, f30, f4, f2 +/* 802F93AC 002F630C EC 1D 01 3A */ fmadds f0, f29, f4, f0 +/* 802F93B0 002F6310 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 802F93B4 002F6314 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 802F93B8 002F6318 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802F93BC 002F631C 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_802F93C0: +/* 802F93C0 002F6320 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802F93C4 002F6324 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802F93C8 002F6328 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802F93CC 002F632C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802F93D0 002F6330 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802F93D4 002F6334 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802F93D8 002F6338 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 802F93DC 002F633C CB 81 00 50 */ lfd f28, 0x50(r1) +/* 802F93E0 002F6340 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 802F93E4 002F6344 CB 61 00 40 */ lfd f27, 0x40(r1) +/* 802F93E8 002F6348 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 802F93EC 002F634C CB 41 00 30 */ lfd f26, 0x30(r1) +/* 802F93F0 002F6350 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802F93F4 002F6354 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802F93F8 002F6358 7C 08 03 A6 */ mtlr r0 +/* 802F93FC 002F635C 38 21 00 90 */ addi r1, r1, 0x90 +/* 802F9400 002F6360 4E 80 00 20 */ blr + +.global sub_802f9404 +sub_802f9404: +/* 802F9404 002F6364 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F9408 002F6368 38 C4 00 04 */ addi r6, r4, 4 +/* 802F940C 002F636C 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802F9410 002F6370 80 04 00 04 */ lwz r0, 4(r4) +/* 802F9414 002F6374 C0 64 00 00 */ lfs f3, 0(r4) +/* 802F9418 002F6378 7C 05 00 40 */ cmplw r5, r0 +/* 802F941C 002F637C 40 80 00 08 */ bge lbl_802F9424 +/* 802F9420 002F6380 38 C3 00 0C */ addi r6, r3, 0xc +lbl_802F9424: +/* 802F9424 002F6384 80 86 00 00 */ lwz r4, 0(r6) +/* 802F9428 002F6388 80 03 00 04 */ lwz r0, 4(r3) +/* 802F942C 002F638C 7C 04 00 40 */ cmplw r4, r0 +/* 802F9430 002F6390 40 80 00 4C */ bge lbl_802F947C +/* 802F9434 002F6394 38 A0 00 00 */ li r5, 0 +/* 802F9438 002F6398 38 C0 00 01 */ li r6, 1 +/* 802F943C 002F639C 90 A3 00 04 */ stw r5, 4(r3) +/* 802F9440 002F63A0 80 83 00 00 */ lwz r4, 0(r3) +/* 802F9444 002F63A4 38 84 00 04 */ addi r4, r4, 4 +lbl_802F9448: +/* 802F9448 002F63A8 54 C6 08 3D */ rlwinm. r6, r6, 1, 0, 0x1e +/* 802F944C 002F63AC 38 A5 00 01 */ addi r5, r5, 1 +/* 802F9450 002F63B0 40 82 00 0C */ bne lbl_802F945C +/* 802F9454 002F63B4 38 C0 00 01 */ li r6, 1 +/* 802F9458 002F63B8 38 84 00 04 */ addi r4, r4, 4 +lbl_802F945C: +/* 802F945C 002F63BC 80 04 00 00 */ lwz r0, 0(r4) +/* 802F9460 002F63C0 7C 00 30 39 */ and. r0, r0, r6 +/* 802F9464 002F63C4 41 82 FF E4 */ beq lbl_802F9448 +/* 802F9468 002F63C8 90 A3 00 08 */ stw r5, 8(r3) +/* 802F946C 002F63CC 38 80 00 00 */ li r4, 0 +/* 802F9470 002F63D0 38 00 00 01 */ li r0, 1 +/* 802F9474 002F63D4 90 83 00 18 */ stw r4, 0x18(r3) +/* 802F9478 002F63D8 90 03 00 1C */ stw r0, 0x1c(r3) +lbl_802F947C: +/* 802F947C 002F63DC C8 22 C6 E0 */ lfd f1, lbl_805AE400@sda21(r2) +/* 802F9480 002F63E0 3C 80 43 30 */ lis r4, 0x4330 +/* 802F9484 002F63E4 48 00 00 68 */ b lbl_802F94EC +lbl_802F9488: +/* 802F9488 002F63E8 80 E3 00 00 */ lwz r7, 0(r3) +/* 802F948C 002F63EC 55 06 E8 FA */ rlwinm r6, r8, 0x1d, 3, 0x1d +/* 802F9490 002F63F0 55 00 00 34 */ rlwinm r0, r8, 0, 0, 0x1a +/* 802F9494 002F63F4 38 A0 00 01 */ li r5, 1 +/* 802F9498 002F63F8 7C E7 32 14 */ add r7, r7, r6 +/* 802F949C 002F63FC 7D 06 43 78 */ mr r6, r8 +/* 802F94A0 002F6400 7C 00 40 50 */ subf r0, r0, r8 +/* 802F94A4 002F6404 7C A5 00 30 */ slw r5, r5, r0 +/* 802F94A8 002F6408 38 E7 00 04 */ addi r7, r7, 4 +lbl_802F94AC: +/* 802F94AC 002F640C 54 A5 08 3D */ rlwinm. r5, r5, 1, 0, 0x1e +/* 802F94B0 002F6410 38 C6 00 01 */ addi r6, r6, 1 +/* 802F94B4 002F6414 40 82 00 0C */ bne lbl_802F94C0 +/* 802F94B8 002F6418 38 A0 00 01 */ li r5, 1 +/* 802F94BC 002F641C 38 E7 00 04 */ addi r7, r7, 4 +lbl_802F94C0: +/* 802F94C0 002F6420 80 07 00 00 */ lwz r0, 0(r7) +/* 802F94C4 002F6424 7C 00 28 39 */ and. r0, r0, r5 +/* 802F94C8 002F6428 41 82 FF E4 */ beq lbl_802F94AC +/* 802F94CC 002F642C 91 03 00 04 */ stw r8, 4(r3) +/* 802F94D0 002F6430 90 C3 00 08 */ stw r6, 8(r3) +/* 802F94D4 002F6434 80 A3 00 18 */ lwz r5, 0x18(r3) +/* 802F94D8 002F6438 38 05 00 01 */ addi r0, r5, 1 +/* 802F94DC 002F643C 90 03 00 18 */ stw r0, 0x18(r3) +/* 802F94E0 002F6440 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 802F94E4 002F6444 38 05 00 01 */ addi r0, r5, 1 +/* 802F94E8 002F6448 90 03 00 1C */ stw r0, 0x1c(r3) +lbl_802F94EC: +/* 802F94EC 002F644C 81 03 00 08 */ lwz r8, 8(r3) +/* 802F94F0 002F6450 90 81 00 08 */ stw r4, 8(r1) +/* 802F94F4 002F6454 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 802F94F8 002F6458 91 01 00 0C */ stw r8, 0xc(r1) +/* 802F94FC 002F645C C8 01 00 08 */ lfd f0, 8(r1) +/* 802F9500 002F6460 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802F9504 002F6464 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802F9508 002F6468 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802F950C 002F646C 40 81 00 10 */ ble lbl_802F951C +/* 802F9510 002F6470 80 03 00 0C */ lwz r0, 0xc(r3) +/* 802F9514 002F6474 7C 08 00 40 */ cmplw r8, r0 +/* 802F9518 002F6478 41 80 FF 70 */ blt lbl_802F9488 +lbl_802F951C: +/* 802F951C 002F647C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 802F9520 002F6480 7C 08 00 40 */ cmplw r8, r0 +/* 802F9524 002F6484 40 82 00 48 */ bne lbl_802F956C +/* 802F9528 002F6488 EC 23 10 24 */ fdivs f1, f3, f2 +/* 802F952C 002F648C 80 A3 00 04 */ lwz r5, 4(r3) +/* 802F9530 002F6490 3C 80 43 30 */ lis r4, 0x4330 +/* 802F9534 002F6494 C8 42 C6 E0 */ lfd f2, lbl_805AE400@sda21(r2) +/* 802F9538 002F6498 7C 05 40 50 */ subf r0, r5, r8 +/* 802F953C 002F649C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802F9540 002F64A0 90 81 00 08 */ stw r4, 8(r1) +/* 802F9544 002F64A4 C8 01 00 08 */ lfd f0, 8(r1) +/* 802F9548 002F64A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F954C 002F64AC EC 60 10 28 */ fsubs f3, f0, f2 +/* 802F9550 002F64B0 90 81 00 10 */ stw r4, 0x10(r1) +/* 802F9554 002F64B4 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802F9558 002F64B8 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802F955C 002F64BC EC 00 10 28 */ fsubs f0, f0, f2 +/* 802F9560 002F64C0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802F9564 002F64C4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802F9568 002F64C8 48 00 00 44 */ b lbl_802F95AC +lbl_802F956C: +/* 802F956C 002F64CC EC 23 10 24 */ fdivs f1, f3, f2 +/* 802F9570 002F64D0 80 A3 00 04 */ lwz r5, 4(r3) +/* 802F9574 002F64D4 3C 80 43 30 */ lis r4, 0x4330 +/* 802F9578 002F64D8 C8 42 C6 E0 */ lfd f2, lbl_805AE400@sda21(r2) +/* 802F957C 002F64DC 7C 05 40 50 */ subf r0, r5, r8 +/* 802F9580 002F64E0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802F9584 002F64E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 802F9588 002F64E8 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802F958C 002F64EC 90 01 00 0C */ stw r0, 0xc(r1) +/* 802F9590 002F64F0 EC 60 10 28 */ fsubs f3, f0, f2 +/* 802F9594 002F64F4 90 81 00 08 */ stw r4, 8(r1) +/* 802F9598 002F64F8 C8 01 00 08 */ lfd f0, 8(r1) +/* 802F959C 002F64FC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802F95A0 002F6500 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802F95A4 002F6504 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802F95A8 002F6508 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802F95AC: +/* 802F95AC 002F650C C0 2D 9C 28 */ lfs f1, lbl_805A87E8@sda21(r13) +/* 802F95B0 002F6510 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802F95B4 002F6514 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802F95B8 002F6518 40 80 00 0C */ bge lbl_802F95C4 +/* 802F95BC 002F651C 38 8D 9C 28 */ addi r4, r13, lbl_805A87E8@sda21 +/* 802F95C0 002F6520 48 00 00 08 */ b lbl_802F95C8 +lbl_802F95C4: +/* 802F95C4 002F6524 38 83 00 14 */ addi r4, r3, 0x14 +lbl_802F95C8: +/* 802F95C8 002F6528 C0 04 00 00 */ lfs f0, 0(r4) +/* 802F95CC 002F652C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802F95D0 002F6530 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F95D4 002F6534 4E 80 00 20 */ blr + +.global sub_802f95d8 +sub_802f95d8: +/* 802F95D8 002F6538 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F95DC 002F653C 7C 08 02 A6 */ mflr r0 +/* 802F95E0 002F6540 C0 42 C6 E8 */ lfs f2, lbl_805AE408@sda21(r2) +/* 802F95E4 002F6544 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F95E8 002F6548 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802F95EC 002F654C 7C BF 2B 78 */ mr r31, r5 +/* 802F95F0 002F6550 93 C1 00 08 */ stw r30, 8(r1) +/* 802F95F4 002F6554 7C 7E 1B 78 */ mr r30, r3 +/* 802F95F8 002F6558 90 83 00 00 */ stw r4, 0(r3) +/* 802F95FC 002F655C C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802F9600 002F6560 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802F9604 002F6564 C0 26 00 00 */ lfs f1, 0(r6) +/* 802F9608 002F6568 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802F960C 002F656C EC 01 00 24 */ fdivs f0, f1, f0 +/* 802F9610 002F6570 EC 22 00 2A */ fadds f1, f2, f0 +/* 802F9614 002F6574 48 09 03 41 */ bl __cvt_fp2unsigned +/* 802F9618 002F6578 90 7E 00 0C */ stw r3, 0xc(r30) +/* 802F961C 002F657C 38 80 00 00 */ li r4, 0 +/* 802F9620 002F6580 38 A0 00 01 */ li r5, 1 +/* 802F9624 002F6584 90 9E 00 04 */ stw r4, 4(r30) +/* 802F9628 002F6588 80 7E 00 00 */ lwz r3, 0(r30) +/* 802F962C 002F658C 38 63 00 04 */ addi r3, r3, 4 +lbl_802F9630: +/* 802F9630 002F6590 54 A5 08 3D */ rlwinm. r5, r5, 1, 0, 0x1e +/* 802F9634 002F6594 38 84 00 01 */ addi r4, r4, 1 +/* 802F9638 002F6598 40 82 00 0C */ bne lbl_802F9644 +/* 802F963C 002F659C 38 A0 00 01 */ li r5, 1 +/* 802F9640 002F65A0 38 63 00 04 */ addi r3, r3, 4 +lbl_802F9644: +/* 802F9644 002F65A4 80 03 00 00 */ lwz r0, 0(r3) +/* 802F9648 002F65A8 7C 00 28 39 */ and. r0, r0, r5 +/* 802F964C 002F65AC 41 82 FF E4 */ beq lbl_802F9630 +/* 802F9650 002F65B0 90 9E 00 08 */ stw r4, 8(r30) +/* 802F9654 002F65B4 38 80 00 00 */ li r4, 0 +/* 802F9658 002F65B8 38 00 00 01 */ li r0, 1 +/* 802F965C 002F65BC 7F C3 F3 78 */ mr r3, r30 +/* 802F9660 002F65C0 90 9E 00 18 */ stw r4, 0x18(r30) +/* 802F9664 002F65C4 7F E4 FB 78 */ mr r4, r31 +/* 802F9668 002F65C8 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802F966C 002F65CC 4B FF FD 99 */ bl sub_802f9404 +/* 802F9670 002F65D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F9674 002F65D4 7F C3 F3 78 */ mr r3, r30 +/* 802F9678 002F65D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802F967C 002F65DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802F9680 002F65E0 7C 08 03 A6 */ mtlr r0 +/* 802F9684 002F65E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F9688 002F65E8 4E 80 00 20 */ blr + +.global sub_802f968c +sub_802f968c: +/* 802F968C 002F65EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F9690 002F65F0 7C 08 02 A6 */ mflr r0 +/* 802F9694 002F65F4 7C 65 1B 78 */ mr r5, r3 +/* 802F9698 002F65F8 7C 86 23 78 */ mr r6, r4 +/* 802F969C 002F65FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802F96A0 002F6600 38 65 00 7C */ addi r3, r5, 0x7c +/* 802F96A4 002F6604 38 85 01 04 */ addi r4, r5, 0x104 +/* 802F96A8 002F6608 38 A5 01 08 */ addi r5, r5, 0x108 +/* 802F96AC 002F660C 48 00 17 F5 */ bl sub_802faea0 +/* 802F96B0 002F6610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802F96B4 002F6614 7C 08 03 A6 */ mtlr r0 +/* 802F96B8 002F6618 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F96BC 002F661C 4E 80 00 20 */ blr + +.global VGetSegStatementSet__21CFBStreamedAnimReaderCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime +VGetSegStatementSet__21CFBStreamedAnimReaderCFRC10CSegIdListR16CSegStatementSetRC13CCharAnimTime: +/* 802F96C0 002F6620 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F96C4 002F6624 7C 08 02 A6 */ mflr r0 +/* 802F96C8 002F6628 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F96CC 002F662C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F96D0 002F6630 7C 7F 1B 78 */ mr r31, r3 +/* 802F96D4 002F6634 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F96D8 002F6638 7C 9E 23 78 */ mr r30, r4 +/* 802F96DC 002F663C 7C C4 33 78 */ mr r4, r6 +/* 802F96E0 002F6640 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F96E4 002F6644 93 81 00 10 */ stw r28, 0x10(r1) +/* 802F96E8 002F6648 7C BC 2B 78 */ mr r28, r5 +/* 802F96EC 002F664C 4B FF FF A1 */ bl sub_802f968c +/* 802F96F0 002F6650 88 9F 00 8C */ lbz r4, 0x8c(r31) +/* 802F96F4 002F6654 28 04 00 00 */ cmplwi r4, 0 +/* 802F96F8 002F6658 41 82 00 0C */ beq lbl_802F9704 +/* 802F96FC 002F665C 38 7F 00 90 */ addi r3, r31, 0x90 +/* 802F9700 002F6660 48 00 00 08 */ b lbl_802F9708 +lbl_802F9704: +/* 802F9704 002F6664 38 7F 00 B8 */ addi r3, r31, 0xb8 +lbl_802F9708: +/* 802F9708 002F6668 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F970C 002F666C 28 00 00 00 */ cmplwi r0, 0 +/* 802F9710 002F6670 40 82 00 1C */ bne lbl_802F972C +/* 802F9714 002F6674 28 04 00 00 */ cmplwi r4, 0 +/* 802F9718 002F6678 41 82 00 0C */ beq lbl_802F9724 +/* 802F971C 002F667C 38 7F 00 90 */ addi r3, r31, 0x90 +/* 802F9720 002F6680 48 00 00 08 */ b lbl_802F9728 +lbl_802F9724: +/* 802F9724 002F6684 38 7F 00 B8 */ addi r3, r31, 0xb8 +lbl_802F9728: +/* 802F9728 002F6688 48 00 1B 61 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F972C: +/* 802F972C 002F668C 88 9F 00 8C */ lbz r4, 0x8c(r31) +/* 802F9730 002F6690 28 04 00 00 */ cmplwi r4, 0 +/* 802F9734 002F6694 41 82 00 0C */ beq lbl_802F9740 +/* 802F9738 002F6698 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 802F973C 002F669C 48 00 00 08 */ b lbl_802F9744 +lbl_802F9740: +/* 802F9740 002F66A0 38 7F 00 90 */ addi r3, r31, 0x90 +lbl_802F9744: +/* 802F9744 002F66A4 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F9748 002F66A8 28 00 00 00 */ cmplwi r0, 0 +/* 802F974C 002F66AC 40 82 00 1C */ bne lbl_802F9768 +/* 802F9750 002F66B0 28 04 00 00 */ cmplwi r4, 0 +/* 802F9754 002F66B4 41 82 00 0C */ beq lbl_802F9760 +/* 802F9758 002F66B8 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 802F975C 002F66BC 48 00 00 08 */ b lbl_802F9764 +lbl_802F9760: +/* 802F9760 002F66C0 38 7F 00 90 */ addi r3, r31, 0x90 +lbl_802F9764: +/* 802F9764 002F66C4 48 00 1B 25 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F9768: +/* 802F9768 002F66C8 83 BE 00 0C */ lwz r29, 0xc(r30) +/* 802F976C 002F66CC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F9770 002F66D0 7F DD 02 14 */ add r30, r29, r0 +/* 802F9774 002F66D4 48 00 00 24 */ b lbl_802F9798 +lbl_802F9778: +/* 802F9778 002F66D8 88 1D 00 00 */ lbz r0, 0(r29) +/* 802F977C 002F66DC 7F E3 FB 78 */ mr r3, r31 +/* 802F9780 002F66E0 80 9C 00 04 */ lwz r4, 4(r28) +/* 802F9784 002F66E4 7F A5 EB 78 */ mr r5, r29 +/* 802F9788 002F66E8 54 00 28 34 */ slwi r0, r0, 5 +/* 802F978C 002F66EC 7C 84 02 14 */ add r4, r4, r0 +/* 802F9790 002F66F0 4B FF FA 69 */ bl sub_802f91f8 +/* 802F9794 002F66F4 3B BD 00 01 */ addi r29, r29, 1 +lbl_802F9798: +/* 802F9798 002F66F8 7C 1D F0 40 */ cmplw r29, r30 +/* 802F979C 002F66FC 40 82 FF DC */ bne lbl_802F9778 +/* 802F97A0 002F6700 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F97A4 002F6704 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F97A8 002F6708 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F97AC 002F670C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F97B0 002F6710 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802F97B4 002F6714 7C 08 03 A6 */ mtlr r0 +/* 802F97B8 002F6718 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F97BC 002F671C 4E 80 00 20 */ blr + +.global VGetSegStatementSet__21CFBStreamedAnimReaderCFRC10CSegIdListR16CSegStatementSet +VGetSegStatementSet__21CFBStreamedAnimReaderCFRC10CSegIdListR16CSegStatementSet: +/* 802F97C0 002F6720 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F97C4 002F6724 7C 08 02 A6 */ mflr r0 +/* 802F97C8 002F6728 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F97CC 002F672C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F97D0 002F6730 7C 9F 23 78 */ mr r31, r4 +/* 802F97D4 002F6734 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F97D8 002F6738 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F97DC 002F673C 7C BD 2B 78 */ mr r29, r5 +/* 802F97E0 002F6740 93 81 00 10 */ stw r28, 0x10(r1) +/* 802F97E4 002F6744 7C 7C 1B 78 */ mr r28, r3 +/* 802F97E8 002F6748 38 9C 00 0C */ addi r4, r28, 0xc +/* 802F97EC 002F674C 4B FF FE A1 */ bl sub_802f968c +/* 802F97F0 002F6750 88 9C 00 8C */ lbz r4, 0x8c(r28) +/* 802F97F4 002F6754 28 04 00 00 */ cmplwi r4, 0 +/* 802F97F8 002F6758 41 82 00 0C */ beq lbl_802F9804 +/* 802F97FC 002F675C 38 7C 00 90 */ addi r3, r28, 0x90 +/* 802F9800 002F6760 48 00 00 08 */ b lbl_802F9808 +lbl_802F9804: +/* 802F9804 002F6764 38 7C 00 B8 */ addi r3, r28, 0xb8 +lbl_802F9808: +/* 802F9808 002F6768 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F980C 002F676C 28 00 00 00 */ cmplwi r0, 0 +/* 802F9810 002F6770 40 82 00 1C */ bne lbl_802F982C +/* 802F9814 002F6774 28 04 00 00 */ cmplwi r4, 0 +/* 802F9818 002F6778 41 82 00 0C */ beq lbl_802F9824 +/* 802F981C 002F677C 38 7C 00 90 */ addi r3, r28, 0x90 +/* 802F9820 002F6780 48 00 00 08 */ b lbl_802F9828 +lbl_802F9824: +/* 802F9824 002F6784 38 7C 00 B8 */ addi r3, r28, 0xb8 +lbl_802F9828: +/* 802F9828 002F6788 48 00 1A 61 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F982C: +/* 802F982C 002F678C 88 9C 00 8C */ lbz r4, 0x8c(r28) +/* 802F9830 002F6790 28 04 00 00 */ cmplwi r4, 0 +/* 802F9834 002F6794 41 82 00 0C */ beq lbl_802F9840 +/* 802F9838 002F6798 38 7C 00 B8 */ addi r3, r28, 0xb8 +/* 802F983C 002F679C 48 00 00 08 */ b lbl_802F9844 +lbl_802F9840: +/* 802F9840 002F67A0 38 7C 00 90 */ addi r3, r28, 0x90 +lbl_802F9844: +/* 802F9844 002F67A4 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F9848 002F67A8 28 00 00 00 */ cmplwi r0, 0 +/* 802F984C 002F67AC 40 82 00 1C */ bne lbl_802F9868 +/* 802F9850 002F67B0 28 04 00 00 */ cmplwi r4, 0 +/* 802F9854 002F67B4 41 82 00 0C */ beq lbl_802F9860 +/* 802F9858 002F67B8 38 7C 00 B8 */ addi r3, r28, 0xb8 +/* 802F985C 002F67BC 48 00 00 08 */ b lbl_802F9864 +lbl_802F9860: +/* 802F9860 002F67C0 38 7C 00 90 */ addi r3, r28, 0x90 +lbl_802F9864: +/* 802F9864 002F67C4 48 00 1A 25 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F9868: +/* 802F9868 002F67C8 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 802F986C 002F67CC 80 1F 00 04 */ lwz r0, 4(r31) +/* 802F9870 002F67D0 7F FE 02 14 */ add r31, r30, r0 +/* 802F9874 002F67D4 48 00 00 24 */ b lbl_802F9898 +lbl_802F9878: +/* 802F9878 002F67D8 88 1E 00 00 */ lbz r0, 0(r30) +/* 802F987C 002F67DC 7F 83 E3 78 */ mr r3, r28 +/* 802F9880 002F67E0 80 9D 00 04 */ lwz r4, 4(r29) +/* 802F9884 002F67E4 7F C5 F3 78 */ mr r5, r30 +/* 802F9888 002F67E8 54 00 28 34 */ slwi r0, r0, 5 +/* 802F988C 002F67EC 7C 84 02 14 */ add r4, r4, r0 +/* 802F9890 002F67F0 4B FF F9 69 */ bl sub_802f91f8 +/* 802F9894 002F67F4 3B DE 00 01 */ addi r30, r30, 1 +lbl_802F9898: +/* 802F9898 002F67F8 7C 1E F8 40 */ cmplw r30, r31 +/* 802F989C 002F67FC 40 82 FF DC */ bne lbl_802F9878 +/* 802F98A0 002F6800 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F98A4 002F6804 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F98A8 002F6808 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F98AC 002F680C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F98B0 002F6810 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802F98B4 002F6814 7C 08 03 A6 */ mtlr r0 +/* 802F98B8 002F6818 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F98BC 002F681C 4E 80 00 20 */ blr + +.global VSetPhase__21CFBStreamedAnimReaderFf +VSetPhase__21CFBStreamedAnimReaderFf: +/* 802F98C0 002F6820 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F98C4 002F6824 7C 08 02 A6 */ mflr r0 +/* 802F98C8 002F6828 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F98CC 002F682C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F98D0 002F6830 7C 7F 1B 78 */ mr r31, r3 +/* 802F98D4 002F6834 C0 03 00 64 */ lfs f0, 0x64(r3) +/* 802F98D8 002F6838 38 61 00 08 */ addi r3, r1, 8 +/* 802F98DC 002F683C EC 21 00 32 */ fmuls f1, f1, f0 +/* 802F98E0 002F6840 48 04 F5 0D */ bl __ct__13CCharAnimTimeFf +/* 802F98E4 002F6844 C0 01 00 08 */ lfs f0, 8(r1) +/* 802F98E8 002F6848 7F E3 FB 78 */ mr r3, r31 +/* 802F98EC 002F684C 38 9F 00 0C */ addi r4, r31, 0xc +/* 802F98F0 002F6850 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802F98F4 002F6854 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802F98F8 002F6858 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802F98FC 002F685C 4B FF FD 91 */ bl sub_802f968c +/* 802F9900 002F6860 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 802F9904 002F6864 80 03 00 08 */ lwz r0, 8(r3) +/* 802F9908 002F6868 28 00 00 00 */ cmplwi r0, 0 +/* 802F990C 002F686C 41 82 00 30 */ beq lbl_802F993C +/* 802F9910 002F6870 7F E3 FB 78 */ mr r3, r31 +/* 802F9914 002F6874 4B FF 6C 91 */ bl UpdatePOIStates__21CAnimSourceReaderBaseFv +/* 802F9918 002F6878 38 7F 00 0C */ addi r3, r31, 0xc +/* 802F991C 002F687C 48 04 EA D1 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802F9920 002F6880 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F9924 002F6884 40 82 00 18 */ bne lbl_802F993C +/* 802F9928 002F6888 38 00 00 00 */ li r0, 0 +/* 802F992C 002F688C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802F9930 002F6890 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802F9934 002F6894 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802F9938 002F6898 90 1F 00 20 */ stw r0, 0x20(r31) +lbl_802F993C: +/* 802F993C 002F689C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F9940 002F68A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F9944 002F68A4 7C 08 03 A6 */ mtlr r0 +/* 802F9948 002F68A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F994C 002F68AC 4E 80 00 20 */ blr + +.global VAdvanceView__21CFBStreamedAnimReaderFRC13CCharAnimTime +VAdvanceView__21CFBStreamedAnimReaderFRC13CCharAnimTime: +/* 802F9950 002F68B0 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 802F9954 002F68B4 7C 08 02 A6 */ mflr r0 +/* 802F9958 002F68B8 90 01 01 24 */ stw r0, 0x124(r1) +/* 802F995C 002F68BC DB E1 01 10 */ stfd f31, 0x110(r1) +/* 802F9960 002F68C0 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 802F9964 002F68C4 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 802F9968 002F68C8 93 C1 01 08 */ stw r30, 0x108(r1) +/* 802F996C 002F68CC 93 A1 01 04 */ stw r29, 0x104(r1) +/* 802F9970 002F68D0 93 81 01 00 */ stw r28, 0x100(r1) +/* 802F9974 002F68D4 7C 9D 23 78 */ mr r29, r4 +/* 802F9978 002F68D8 7C 7C 1B 78 */ mr r28, r3 +/* 802F997C 002F68DC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802F9980 002F68E0 7C BE 2B 78 */ mr r30, r5 +/* 802F9984 002F68E4 38 61 00 3C */ addi r3, r1, 0x3c +/* 802F9988 002F68E8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802F998C 002F68EC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802F9990 002F68F0 90 01 00 50 */ stw r0, 0x50(r1) +/* 802F9994 002F68F4 80 84 00 60 */ lwz r4, 0x60(r4) +/* 802F9998 002F68F8 48 00 1F 8D */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 802F999C 002F68FC 3B E1 00 3C */ addi r31, r1, 0x3c +/* 802F99A0 002F6900 38 61 00 4C */ addi r3, r1, 0x4c +/* 802F99A4 002F6904 7F E4 FB 78 */ mr r4, r31 +/* 802F99A8 002F6908 48 04 F1 59 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F99AC 002F690C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F99B0 002F6910 41 82 00 8C */ beq lbl_802F9A3C +/* 802F99B4 002F6914 80 0D 9C 18 */ lwz r0, lbl_805A87D8@sda21(r13) +/* 802F99B8 002F6918 7F A3 EB 78 */ mr r3, r29 +/* 802F99BC 002F691C C0 0D 9C 1C */ lfs f0, lbl_805A87DC@sda21(r13) +/* 802F99C0 002F6920 38 9D 00 0C */ addi r4, r29, 0xc +/* 802F99C4 002F6924 90 01 00 38 */ stw r0, 0x38(r1) +/* 802F99C8 002F6928 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802F99CC 002F692C 90 1D 00 10 */ stw r0, 0x10(r29) +/* 802F99D0 002F6930 4B FF FC BD */ bl sub_802f968c +/* 802F99D4 002F6934 38 00 00 00 */ li r0, 0 +/* 802F99D8 002F6938 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802F99DC 002F693C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802F99E0 002F6940 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F99E4 002F6944 90 1D 00 18 */ stw r0, 0x18(r29) +/* 802F99E8 002F6948 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 802F99EC 002F694C 90 1D 00 20 */ stw r0, 0x20(r29) +/* 802F99F0 002F6950 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802F99F4 002F6954 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802F99F8 002F6958 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802F99FC 002F695C C0 44 00 04 */ lfs f2, 4(r4) +/* 802F9A00 002F6960 C0 64 00 08 */ lfs f3, 8(r4) +/* 802F9A04 002F6964 C0 C3 00 08 */ lfs f6, 8(r3) +/* 802F9A08 002F6968 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802F9A0C 002F696C C0 1E 00 00 */ lfs f0, 0(r30) +/* 802F9A10 002F6970 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802F9A14 002F6974 80 1E 00 04 */ lwz r0, 4(r30) +/* 802F9A18 002F6978 90 1C 00 04 */ stw r0, 4(r28) +/* 802F9A1C 002F697C D0 3C 00 08 */ stfs f1, 8(r28) +/* 802F9A20 002F6980 D0 5C 00 0C */ stfs f2, 0xc(r28) +/* 802F9A24 002F6984 D0 7C 00 10 */ stfs f3, 0x10(r28) +/* 802F9A28 002F6988 D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 802F9A2C 002F698C D0 BC 00 18 */ stfs f5, 0x18(r28) +/* 802F9A30 002F6990 D0 DC 00 1C */ stfs f6, 0x1c(r28) +/* 802F9A34 002F6994 D0 FC 00 20 */ stfs f7, 0x20(r28) +/* 802F9A38 002F6998 48 00 03 9C */ b lbl_802F9DD4 +lbl_802F9A3C: +/* 802F9A3C 002F699C 7F C3 F3 78 */ mr r3, r30 +/* 802F9A40 002F69A0 48 04 E9 71 */ bl EqualsZero__13CCharAnimTimeCFv +/* 802F9A44 002F69A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F9A48 002F69A8 41 82 00 5C */ beq lbl_802F9AA4 +/* 802F9A4C 002F69AC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802F9A50 002F69B0 C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 802F9A54 002F69B4 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F9A58 002F69B8 C4 83 66 60 */ lfsu f4, lbl_805A6660@l(r3) +/* 802F9A5C 002F69BC 80 0D 9C 18 */ lwz r0, lbl_805A87D8@sda21(r13) +/* 802F9A60 002F69C0 C0 44 00 04 */ lfs f2, 4(r4) +/* 802F9A64 002F69C4 C0 64 00 08 */ lfs f3, 8(r4) +/* 802F9A68 002F69C8 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802F9A6C 002F69CC C0 C3 00 08 */ lfs f6, 8(r3) +/* 802F9A70 002F69D0 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802F9A74 002F69D4 C0 0D 9C 1C */ lfs f0, lbl_805A87DC@sda21(r13) +/* 802F9A78 002F69D8 90 01 00 30 */ stw r0, 0x30(r1) +/* 802F9A7C 002F69DC D0 1C 00 00 */ stfs f0, 0(r28) +/* 802F9A80 002F69E0 90 1C 00 04 */ stw r0, 4(r28) +/* 802F9A84 002F69E4 D0 3C 00 08 */ stfs f1, 8(r28) +/* 802F9A88 002F69E8 D0 5C 00 0C */ stfs f2, 0xc(r28) +/* 802F9A8C 002F69EC D0 7C 00 10 */ stfs f3, 0x10(r28) +/* 802F9A90 002F69F0 D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 802F9A94 002F69F4 D0 BC 00 18 */ stfs f5, 0x18(r28) +/* 802F9A98 002F69F8 D0 DC 00 1C */ stfs f6, 0x1c(r28) +/* 802F9A9C 002F69FC D0 FC 00 20 */ stfs f7, 0x20(r28) +/* 802F9AA0 002F6A00 48 00 03 34 */ b lbl_802F9DD4 +lbl_802F9AA4: +/* 802F9AA4 002F6A04 38 00 00 00 */ li r0, 0 +/* 802F9AA8 002F6A08 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802F9AAC 002F6A0C 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F9AB0 002F6A10 28 04 00 00 */ cmplwi r4, 0 +/* 802F9AB4 002F6A14 41 82 00 0C */ beq lbl_802F9AC0 +/* 802F9AB8 002F6A18 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F9ABC 002F6A1C 48 00 00 08 */ b lbl_802F9AC4 +lbl_802F9AC0: +/* 802F9AC0 002F6A20 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F9AC4: +/* 802F9AC4 002F6A24 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F9AC8 002F6A28 28 00 00 00 */ cmplwi r0, 0 +/* 802F9ACC 002F6A2C 40 82 00 1C */ bne lbl_802F9AE8 +/* 802F9AD0 002F6A30 28 04 00 00 */ cmplwi r4, 0 +/* 802F9AD4 002F6A34 41 82 00 0C */ beq lbl_802F9AE0 +/* 802F9AD8 002F6A38 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F9ADC 002F6A3C 48 00 00 08 */ b lbl_802F9AE4 +lbl_802F9AE0: +/* 802F9AE0 002F6A40 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F9AE4: +/* 802F9AE4 002F6A44 48 00 17 A5 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F9AE8: +/* 802F9AE8 002F6A48 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F9AEC 002F6A4C 28 04 00 00 */ cmplwi r4, 0 +/* 802F9AF0 002F6A50 41 82 00 0C */ beq lbl_802F9AFC +/* 802F9AF4 002F6A54 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F9AF8 002F6A58 48 00 00 08 */ b lbl_802F9B00 +lbl_802F9AFC: +/* 802F9AFC 002F6A5C 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9B00: +/* 802F9B00 002F6A60 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F9B04 002F6A64 28 00 00 00 */ cmplwi r0, 0 +/* 802F9B08 002F6A68 40 82 00 1C */ bne lbl_802F9B24 +/* 802F9B0C 002F6A6C 28 04 00 00 */ cmplwi r4, 0 +/* 802F9B10 002F6A70 41 82 00 0C */ beq lbl_802F9B1C +/* 802F9B14 002F6A74 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F9B18 002F6A78 48 00 00 08 */ b lbl_802F9B20 +lbl_802F9B1C: +/* 802F9B1C 002F6A7C 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9B20: +/* 802F9B20 002F6A80 48 00 17 69 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F9B24: +/* 802F9B24 002F6A84 38 00 00 03 */ li r0, 3 +/* 802F9B28 002F6A88 7F A3 EB 78 */ mr r3, r29 +/* 802F9B2C 002F6A8C 98 01 00 10 */ stb r0, 0x10(r1) +/* 802F9B30 002F6A90 38 81 00 DC */ addi r4, r1, 0xdc +/* 802F9B34 002F6A94 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802F9B38 002F6A98 4B FF F6 C1 */ bl sub_802f91f8 +/* 802F9B3C 002F6A9C 7F C4 F3 78 */ mr r4, r30 +/* 802F9B40 002F6AA0 38 7D 00 0C */ addi r3, r29, 0xc +/* 802F9B44 002F6AA4 48 04 EA 15 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802F9B48 002F6AA8 80 0D 9C 18 */ lwz r0, lbl_805A87D8@sda21(r13) +/* 802F9B4C 002F6AAC 7F E4 FB 78 */ mr r4, r31 +/* 802F9B50 002F6AB0 C3 ED 9C 1C */ lfs f31, lbl_805A87DC@sda21(r13) +/* 802F9B54 002F6AB4 38 7D 00 0C */ addi r3, r29, 0xc +/* 802F9B58 002F6AB8 90 01 00 28 */ stw r0, 0x28(r1) +/* 802F9B5C 002F6ABC 90 01 00 48 */ stw r0, 0x48(r1) +/* 802F9B60 002F6AC0 48 04 EF 0D */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F9B64 002F6AC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F9B68 002F6AC8 41 82 00 30 */ beq lbl_802F9B98 +/* 802F9B6C 002F6ACC 7F E5 FB 78 */ mr r5, r31 +/* 802F9B70 002F6AD0 38 61 00 1C */ addi r3, r1, 0x1c +/* 802F9B74 002F6AD4 38 9D 00 0C */ addi r4, r29, 0xc +/* 802F9B78 002F6AD8 48 04 EB ED */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802F9B7C 002F6ADC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802F9B80 002F6AE0 C3 E1 00 1C */ lfs f31, 0x1c(r1) +/* 802F9B84 002F6AE4 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802F9B88 002F6AE8 90 01 00 48 */ stw r0, 0x48(r1) +/* 802F9B8C 002F6AEC D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802F9B90 002F6AF0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802F9B94 002F6AF4 90 1D 00 10 */ stw r0, 0x10(r29) +lbl_802F9B98: +/* 802F9B98 002F6AF8 7F A3 EB 78 */ mr r3, r29 +/* 802F9B9C 002F6AFC 38 9D 00 0C */ addi r4, r29, 0xc +/* 802F9BA0 002F6B00 4B FF FA ED */ bl sub_802f968c +/* 802F9BA4 002F6B04 80 7D 00 60 */ lwz r3, 0x60(r29) +/* 802F9BA8 002F6B08 80 03 00 08 */ lwz r0, 8(r3) +/* 802F9BAC 002F6B0C 28 00 00 00 */ cmplwi r0, 0 +/* 802F9BB0 002F6B10 41 82 00 0C */ beq lbl_802F9BBC +/* 802F9BB4 002F6B14 7F A3 EB 78 */ mr r3, r29 +/* 802F9BB8 002F6B18 4B FF 69 ED */ bl UpdatePOIStates__21CAnimSourceReaderBaseFv +lbl_802F9BBC: +/* 802F9BBC 002F6B1C 80 9D 00 60 */ lwz r4, 0x60(r29) +/* 802F9BC0 002F6B20 38 61 00 14 */ addi r3, r1, 0x14 +/* 802F9BC4 002F6B24 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802F9BC8 002F6B28 C0 24 00 08 */ lfs f1, 8(r4) +/* 802F9BCC 002F6B2C 48 04 F2 21 */ bl __ct__13CCharAnimTimeFf +/* 802F9BD0 002F6B30 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F9BD4 002F6B34 28 04 00 00 */ cmplwi r4, 0 +/* 802F9BD8 002F6B38 41 82 00 0C */ beq lbl_802F9BE4 +/* 802F9BDC 002F6B3C 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F9BE0 002F6B40 48 00 00 08 */ b lbl_802F9BE8 +lbl_802F9BE4: +/* 802F9BE4 002F6B44 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F9BE8: +/* 802F9BE8 002F6B48 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F9BEC 002F6B4C 28 00 00 00 */ cmplwi r0, 0 +/* 802F9BF0 002F6B50 40 82 00 1C */ bne lbl_802F9C0C +/* 802F9BF4 002F6B54 28 04 00 00 */ cmplwi r4, 0 +/* 802F9BF8 002F6B58 41 82 00 0C */ beq lbl_802F9C04 +/* 802F9BFC 002F6B5C 38 7D 00 90 */ addi r3, r29, 0x90 +/* 802F9C00 002F6B60 48 00 00 08 */ b lbl_802F9C08 +lbl_802F9C04: +/* 802F9C04 002F6B64 38 7D 00 B8 */ addi r3, r29, 0xb8 +lbl_802F9C08: +/* 802F9C08 002F6B68 48 00 16 81 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F9C0C: +/* 802F9C0C 002F6B6C 88 9D 00 8C */ lbz r4, 0x8c(r29) +/* 802F9C10 002F6B70 28 04 00 00 */ cmplwi r4, 0 +/* 802F9C14 002F6B74 41 82 00 0C */ beq lbl_802F9C20 +/* 802F9C18 002F6B78 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F9C1C 002F6B7C 48 00 00 08 */ b lbl_802F9C24 +lbl_802F9C20: +/* 802F9C20 002F6B80 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9C24: +/* 802F9C24 002F6B84 88 03 00 20 */ lbz r0, 0x20(r3) +/* 802F9C28 002F6B88 28 00 00 00 */ cmplwi r0, 0 +/* 802F9C2C 002F6B8C 40 82 00 1C */ bne lbl_802F9C48 +/* 802F9C30 002F6B90 28 04 00 00 */ cmplwi r4, 0 +/* 802F9C34 002F6B94 41 82 00 0C */ beq lbl_802F9C40 +/* 802F9C38 002F6B98 38 7D 00 B8 */ addi r3, r29, 0xb8 +/* 802F9C3C 002F6B9C 48 00 00 08 */ b lbl_802F9C44 +lbl_802F9C40: +/* 802F9C40 002F6BA0 38 7D 00 90 */ addi r3, r29, 0x90 +lbl_802F9C44: +/* 802F9C44 002F6BA4 48 00 16 45 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +lbl_802F9C48: +/* 802F9C48 002F6BA8 38 60 00 00 */ li r3, 0 +/* 802F9C4C 002F6BAC 38 00 00 03 */ li r0, 3 +/* 802F9C50 002F6BB0 90 61 00 D8 */ stw r3, 0xd8(r1) +/* 802F9C54 002F6BB4 7F A3 EB 78 */ mr r3, r29 +/* 802F9C58 002F6BB8 38 81 00 BC */ addi r4, r1, 0xbc +/* 802F9C5C 002F6BBC 38 A1 00 0C */ addi r5, r1, 0xc +/* 802F9C60 002F6BC0 98 01 00 0C */ stb r0, 0xc(r1) +/* 802F9C64 002F6BC4 4B FF F5 95 */ bl sub_802f91f8 +/* 802F9C68 002F6BC8 C0 E1 00 E0 */ lfs f7, 0xe0(r1) +/* 802F9C6C 002F6BCC 38 00 00 03 */ li r0, 3 +/* 802F9C70 002F6BD0 C0 C1 00 E4 */ lfs f6, 0xe4(r1) +/* 802F9C74 002F6BD4 7F A3 EB 78 */ mr r3, r29 +/* 802F9C78 002F6BD8 C0 A1 00 E8 */ lfs f5, 0xe8(r1) +/* 802F9C7C 002F6BDC FD 20 38 50 */ fneg f9, f7 +/* 802F9C80 002F6BE0 C0 02 C6 D8 */ lfs f0, lbl_805AE3F8@sda21(r2) +/* 802F9C84 002F6BE4 FD 40 30 50 */ fneg f10, f6 +/* 802F9C88 002F6BE8 C1 01 00 DC */ lfs f8, 0xdc(r1) +/* 802F9C8C 002F6BEC FD 60 28 50 */ fneg f11, f5 +/* 802F9C90 002F6BF0 C0 81 00 BC */ lfs f4, 0xbc(r1) +/* 802F9C94 002F6BF4 C0 61 00 C0 */ lfs f3, 0xc0(r1) +/* 802F9C98 002F6BF8 38 81 00 08 */ addi r4, r1, 8 +/* 802F9C9C 002F6BFC C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 802F9CA0 002F6C00 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 802F9CA4 002F6C04 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 802F9CA8 002F6C08 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 802F9CAC 002F6C0C D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 802F9CB0 002F6C10 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 802F9CB4 002F6C14 D1 01 00 8C */ stfs f8, 0x8c(r1) +/* 802F9CB8 002F6C18 D1 21 00 90 */ stfs f9, 0x90(r1) +/* 802F9CBC 002F6C1C D1 41 00 94 */ stfs f10, 0x94(r1) +/* 802F9CC0 002F6C20 D1 61 00 98 */ stfs f11, 0x98(r1) +/* 802F9CC4 002F6C24 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802F9CC8 002F6C28 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802F9CCC 002F6C2C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802F9CD0 002F6C30 98 01 00 08 */ stb r0, 8(r1) +/* 802F9CD4 002F6C34 81 9D 00 00 */ lwz r12, 0(r29) +/* 802F9CD8 002F6C38 D1 01 00 AC */ stfs f8, 0xac(r1) +/* 802F9CDC 002F6C3C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802F9CE0 002F6C40 D0 E1 00 B0 */ stfs f7, 0xb0(r1) +/* 802F9CE4 002F6C44 D0 C1 00 B4 */ stfs f6, 0xb4(r1) +/* 802F9CE8 002F6C48 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 802F9CEC 002F6C4C 7D 89 03 A6 */ mtctr r12 +/* 802F9CF0 002F6C50 4E 80 04 21 */ bctrl +/* 802F9CF4 002F6C54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802F9CF8 002F6C58 41 82 00 88 */ beq lbl_802F9D80 +/* 802F9CFC 002F6C5C C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 802F9D00 002F6C60 38 61 00 64 */ addi r3, r1, 0x64 +/* 802F9D04 002F6C64 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802F9D08 002F6C68 38 81 00 70 */ addi r4, r1, 0x70 +/* 802F9D0C 002F6C6C C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 802F9D10 002F6C70 FD 00 10 50 */ fneg f8, f2 +/* 802F9D14 002F6C74 FC E0 00 50 */ fneg f7, f0 +/* 802F9D18 002F6C78 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802F9D1C 002F6C7C FC C0 08 50 */ fneg f6, f1 +/* 802F9D20 002F6C80 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 802F9D24 002F6C84 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 802F9D28 002F6C88 C0 81 00 D4 */ lfs f4, 0xd4(r1) +/* 802F9D2C 002F6C8C C0 61 00 F4 */ lfs f3, 0xf4(r1) +/* 802F9D30 002F6C90 EC A2 08 28 */ fsubs f5, f2, f1 +/* 802F9D34 002F6C94 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 802F9D38 002F6C98 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802F9D3C 002F6C9C C0 21 00 EC */ lfs f1, 0xec(r1) +/* 802F9D40 002F6CA0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802F9D44 002F6CA4 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 802F9D48 002F6CA8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802F9D4C 002F6CAC D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802F9D50 002F6CB0 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802F9D54 002F6CB4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802F9D58 002F6CB8 D0 C1 00 74 */ stfs f6, 0x74(r1) +/* 802F9D5C 002F6CBC D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 802F9D60 002F6CC0 D1 01 00 7C */ stfs f8, 0x7c(r1) +/* 802F9D64 002F6CC4 48 01 75 01 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 802F9D68 002F6CC8 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802F9D6C 002F6CCC C0 21 00 68 */ lfs f1, 0x68(r1) +/* 802F9D70 002F6CD0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802F9D74 002F6CD4 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802F9D78 002F6CD8 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802F9D7C 002F6CDC D0 01 00 88 */ stfs f0, 0x88(r1) +lbl_802F9D80: +/* 802F9D80 002F6CE0 38 61 00 54 */ addi r3, r1, 0x54 +/* 802F9D84 002F6CE4 38 81 00 9C */ addi r4, r1, 0x9c +/* 802F9D88 002F6CE8 38 A1 00 8C */ addi r5, r1, 0x8c +/* 802F9D8C 002F6CEC 48 01 74 15 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802F9D90 002F6CF0 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802F9D94 002F6CF4 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 802F9D98 002F6CF8 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802F9D9C 002F6CFC C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802F9DA0 002F6D00 C0 81 00 58 */ lfs f4, 0x58(r1) +/* 802F9DA4 002F6D04 C0 A1 00 5C */ lfs f5, 0x5c(r1) +/* 802F9DA8 002F6D08 C0 C1 00 60 */ lfs f6, 0x60(r1) +/* 802F9DAC 002F6D0C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802F9DB0 002F6D10 D3 FC 00 00 */ stfs f31, 0(r28) +/* 802F9DB4 002F6D14 90 1C 00 04 */ stw r0, 4(r28) +/* 802F9DB8 002F6D18 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802F9DBC 002F6D1C D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 802F9DC0 002F6D20 D0 5C 00 10 */ stfs f2, 0x10(r28) +/* 802F9DC4 002F6D24 D0 7C 00 14 */ stfs f3, 0x14(r28) +/* 802F9DC8 002F6D28 D0 9C 00 18 */ stfs f4, 0x18(r28) +/* 802F9DCC 002F6D2C D0 BC 00 1C */ stfs f5, 0x1c(r28) +/* 802F9DD0 002F6D30 D0 DC 00 20 */ stfs f6, 0x20(r28) +lbl_802F9DD4: +/* 802F9DD4 002F6D34 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 802F9DD8 002F6D38 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802F9DDC 002F6D3C CB E1 01 10 */ lfd f31, 0x110(r1) +/* 802F9DE0 002F6D40 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 802F9DE4 002F6D44 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 802F9DE8 002F6D48 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 802F9DEC 002F6D4C 83 81 01 00 */ lwz r28, 0x100(r1) +/* 802F9DF0 002F6D50 7C 08 03 A6 */ mtlr r0 +/* 802F9DF4 002F6D54 38 21 01 20 */ addi r1, r1, 0x120 +/* 802F9DF8 002F6D58 4E 80 00 20 */ blr + +.global VReverseView__21CFBStreamedAnimReaderFRC13CCharAnimTime +VReverseView__21CFBStreamedAnimReaderFRC13CCharAnimTime: +/* 802F9DFC 002F6D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802F9E00 002F6D60 3C A0 80 5A */ lis r5, skZero3f@ha +/* 802F9E04 002F6D64 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 802F9E08 002F6D68 C4 84 66 60 */ lfsu f4, lbl_805A6660@l(r4) +/* 802F9E0C 002F6D6C C4 25 66 A0 */ lfsu f1, skZero3f@l(r5) +/* 802F9E10 002F6D70 80 0D 9C 18 */ lwz r0, lbl_805A87D8@sda21(r13) +/* 802F9E14 002F6D74 C0 45 00 04 */ lfs f2, 4(r5) +/* 802F9E18 002F6D78 C0 65 00 08 */ lfs f3, 8(r5) +/* 802F9E1C 002F6D7C C0 A4 00 04 */ lfs f5, 4(r4) +/* 802F9E20 002F6D80 C0 C4 00 08 */ lfs f6, 8(r4) +/* 802F9E24 002F6D84 C0 E4 00 0C */ lfs f7, 0xc(r4) +/* 802F9E28 002F6D88 C0 0D 9C 1C */ lfs f0, lbl_805A87DC@sda21(r13) +/* 802F9E2C 002F6D8C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802F9E30 002F6D90 D0 03 00 00 */ stfs f0, 0(r3) +/* 802F9E34 002F6D94 90 03 00 04 */ stw r0, 4(r3) +/* 802F9E38 002F6D98 D0 23 00 08 */ stfs f1, 8(r3) +/* 802F9E3C 002F6D9C D0 43 00 0C */ stfs f2, 0xc(r3) +/* 802F9E40 002F6DA0 D0 63 00 10 */ stfs f3, 0x10(r3) +/* 802F9E44 002F6DA4 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 802F9E48 002F6DA8 D0 A3 00 18 */ stfs f5, 0x18(r3) +/* 802F9E4C 002F6DAC D0 C3 00 1C */ stfs f6, 0x1c(r3) +/* 802F9E50 002F6DB0 D0 E3 00 20 */ stfs f7, 0x20(r3) +/* 802F9E54 002F6DB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802F9E58 002F6DB8 4E 80 00 20 */ blr + +.global VSupportsReverseView__21CFBStreamedAnimReaderCFv +VSupportsReverseView__21CFBStreamedAnimReaderCFv: +/* 802F9E5C 002F6DBC 38 60 00 00 */ li r3, 0 +/* 802F9E60 002F6DC0 4E 80 00 20 */ blr + +.global VGetRotation__21CFBStreamedAnimReaderCFRC6CSegId +VGetRotation__21CFBStreamedAnimReaderCFRC6CSegId: +/* 802F9E64 002F6DC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F9E68 002F6DC8 7C 08 02 A6 */ mflr r0 +/* 802F9E6C 002F6DCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F9E70 002F6DD0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F9E74 002F6DD4 7C 7F 1B 78 */ mr r31, r3 +/* 802F9E78 002F6DD8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F9E7C 002F6DDC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F9E80 002F6DE0 7C BD 2B 78 */ mr r29, r5 +/* 802F9E84 002F6DE4 93 81 00 10 */ stw r28, 0x10(r1) +/* 802F9E88 002F6DE8 7C 9C 23 78 */ mr r28, r4 +/* 802F9E8C 002F6DEC 7F 83 E3 78 */ mr r3, r28 +/* 802F9E90 002F6DF0 38 9C 00 0C */ addi r4, r28, 0xc +/* 802F9E94 002F6DF4 4B FF F7 F9 */ bl sub_802f968c +/* 802F9E98 002F6DF8 88 1D 00 00 */ lbz r0, 0(r29) +/* 802F9E9C 002F6DFC 54 00 10 3A */ slwi r0, r0, 2 +/* 802F9EA0 002F6E00 7C 7C 02 14 */ add r3, r28, r0 +/* 802F9EA4 002F6E04 80 83 01 14 */ lwz r4, 0x114(r3) +/* 802F9EA8 002F6E08 54 80 10 3A */ slwi r0, r4, 2 +/* 802F9EAC 002F6E0C 7C 7C 02 14 */ add r3, r28, r0 +/* 802F9EB0 002F6E10 80 63 01 14 */ lwz r3, 0x114(r3) +/* 802F9EB4 002F6E14 3C 03 00 01 */ addis r0, r3, 1 +/* 802F9EB8 002F6E18 28 00 FF FF */ cmplwi r0, 0xffff +/* 802F9EBC 002F6E1C 40 82 00 2C */ bne lbl_802F9EE8 +/* 802F9EC0 002F6E20 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802F9EC4 002F6E24 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 802F9EC8 002F6E28 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802F9ECC 002F6E2C C0 03 00 04 */ lfs f0, 4(r3) +/* 802F9ED0 002F6E30 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802F9ED4 002F6E34 C0 03 00 08 */ lfs f0, 8(r3) +/* 802F9ED8 002F6E38 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802F9EDC 002F6E3C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802F9EE0 002F6E40 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802F9EE4 002F6E44 48 00 00 5C */ b lbl_802F9F40 +lbl_802F9EE8: +/* 802F9EE8 002F6E48 88 1C 00 8C */ lbz r0, 0x8c(r28) +/* 802F9EEC 002F6E4C 28 00 00 00 */ cmplwi r0, 0 +/* 802F9EF0 002F6E50 41 82 00 0C */ beq lbl_802F9EFC +/* 802F9EF4 002F6E54 38 7C 00 B8 */ addi r3, r28, 0xb8 +/* 802F9EF8 002F6E58 48 00 00 08 */ b lbl_802F9F00 +lbl_802F9EFC: +/* 802F9EFC 002F6E5C 38 7C 00 90 */ addi r3, r28, 0x90 +lbl_802F9F00: +/* 802F9F00 002F6E60 28 00 00 00 */ cmplwi r0, 0 +/* 802F9F04 002F6E64 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802F9F08 002F6E68 54 84 28 34 */ slwi r4, r4, 5 +/* 802F9F0C 002F6E6C 7F C0 22 14 */ add r30, r0, r4 +/* 802F9F10 002F6E70 41 82 00 0C */ beq lbl_802F9F1C +/* 802F9F14 002F6E74 38 7C 00 90 */ addi r3, r28, 0x90 +/* 802F9F18 002F6E78 48 00 00 08 */ b lbl_802F9F20 +lbl_802F9F1C: +/* 802F9F1C 002F6E7C 38 7C 00 B8 */ addi r3, r28, 0xb8 +lbl_802F9F20: +/* 802F9F20 002F6E80 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802F9F24 002F6E84 38 7C 00 7C */ addi r3, r28, 0x7c +/* 802F9F28 002F6E88 7F A0 22 14 */ add r29, r0, r4 +/* 802F9F2C 002F6E8C 48 00 0F 11 */ bl sub_802fae3c +/* 802F9F30 002F6E90 7F E3 FB 78 */ mr r3, r31 +/* 802F9F34 002F6E94 7F A4 EB 78 */ mr r4, r29 +/* 802F9F38 002F6E98 7F C5 F3 78 */ mr r5, r30 +/* 802F9F3C 002F6E9C 48 01 7D BD */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +lbl_802F9F40: +/* 802F9F40 002F6EA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802F9F44 002F6EA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802F9F48 002F6EA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802F9F4C 002F6EAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802F9F50 002F6EB0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802F9F54 002F6EB4 7C 08 03 A6 */ mtlr r0 +/* 802F9F58 002F6EB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802F9F5C 002F6EBC 4E 80 00 20 */ blr + +.global VGetOffset__21CFBStreamedAnimReaderCFRC6CSegId +VGetOffset__21CFBStreamedAnimReaderCFRC6CSegId: +/* 802F9F60 002F6EC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802F9F64 002F6EC4 7C 08 02 A6 */ mflr r0 +/* 802F9F68 002F6EC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802F9F6C 002F6ECC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802F9F70 002F6ED0 7C 7F 1B 78 */ mr r31, r3 +/* 802F9F74 002F6ED4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802F9F78 002F6ED8 7C BE 2B 78 */ mr r30, r5 +/* 802F9F7C 002F6EDC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802F9F80 002F6EE0 7C 9D 23 78 */ mr r29, r4 +/* 802F9F84 002F6EE4 7F A3 EB 78 */ mr r3, r29 +/* 802F9F88 002F6EE8 38 9D 00 0C */ addi r4, r29, 0xc +/* 802F9F8C 002F6EEC 4B FF F7 01 */ bl sub_802f968c +/* 802F9F90 002F6EF0 88 1E 00 00 */ lbz r0, 0(r30) +/* 802F9F94 002F6EF4 54 00 10 3A */ slwi r0, r0, 2 +/* 802F9F98 002F6EF8 7C 7D 02 14 */ add r3, r29, r0 +/* 802F9F9C 002F6EFC 83 C3 01 14 */ lwz r30, 0x114(r3) +/* 802F9FA0 002F6F00 3C 1E 00 01 */ addis r0, r30, 1 +/* 802F9FA4 002F6F04 28 00 FF FF */ cmplwi r0, 0xffff +/* 802F9FA8 002F6F08 40 82 00 24 */ bne lbl_802F9FCC +/* 802F9FAC 002F6F0C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802F9FB0 002F6F10 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 802F9FB4 002F6F14 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802F9FB8 002F6F18 C0 03 00 04 */ lfs f0, 4(r3) +/* 802F9FBC 002F6F1C D0 1F 00 04 */ stfs f0, 4(r31) +/* 802F9FC0 002F6F20 C0 03 00 08 */ lfs f0, 8(r3) +/* 802F9FC4 002F6F24 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802F9FC8 002F6F28 48 00 00 98 */ b lbl_802FA060 +lbl_802F9FCC: +/* 802F9FCC 002F6F2C 38 7D 00 7C */ addi r3, r29, 0x7c +/* 802F9FD0 002F6F30 48 00 0E 6D */ bl sub_802fae3c +/* 802F9FD4 002F6F34 88 1D 00 8C */ lbz r0, 0x8c(r29) +/* 802F9FD8 002F6F38 28 00 00 00 */ cmplwi r0, 0 +/* 802F9FDC 002F6F3C 41 82 00 0C */ beq lbl_802F9FE8 +/* 802F9FE0 002F6F40 38 9D 00 B8 */ addi r4, r29, 0xb8 +/* 802F9FE4 002F6F44 48 00 00 08 */ b lbl_802F9FEC +lbl_802F9FE8: +/* 802F9FE8 002F6F48 38 9D 00 90 */ addi r4, r29, 0x90 +lbl_802F9FEC: +/* 802F9FEC 002F6F4C 57 C3 18 38 */ slwi r3, r30, 3 +/* 802F9FF0 002F6F50 28 00 00 00 */ cmplwi r0, 0 +/* 802F9FF4 002F6F54 38 03 00 04 */ addi r0, r3, 4 +/* 802F9FF8 002F6F58 80 64 00 10 */ lwz r3, 0x10(r4) +/* 802F9FFC 002F6F5C 54 05 10 3A */ slwi r5, r0, 2 +/* 802FA000 002F6F60 7C 63 2A 14 */ add r3, r3, r5 +/* 802FA004 002F6F64 41 82 00 0C */ beq lbl_802FA010 +/* 802FA008 002F6F68 38 9D 00 90 */ addi r4, r29, 0x90 +/* 802FA00C 002F6F6C 48 00 00 08 */ b lbl_802FA014 +lbl_802FA010: +/* 802FA010 002F6F70 38 9D 00 B8 */ addi r4, r29, 0xb8 +lbl_802FA014: +/* 802FA014 002F6F74 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802FA018 002F6F78 C0 42 C6 DC */ lfs f2, lbl_805AE3FC@sda21(r2) +/* 802FA01C 002F6F7C C0 03 00 00 */ lfs f0, 0(r3) +/* 802FA020 002F6F80 7C 80 2A 14 */ add r4, r0, r5 +/* 802FA024 002F6F84 C0 83 00 04 */ lfs f4, 4(r3) +/* 802FA028 002F6F88 EC C2 08 28 */ fsubs f6, f2, f1 +/* 802FA02C 002F6F8C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802FA030 002F6F90 C0 44 00 00 */ lfs f2, 0(r4) +/* 802FA034 002F6F94 C0 63 00 08 */ lfs f3, 8(r3) +/* 802FA038 002F6F98 EC 84 00 72 */ fmuls f4, f4, f1 +/* 802FA03C 002F6F9C C0 A4 00 04 */ lfs f5, 4(r4) +/* 802FA040 002F6FA0 EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 802FA044 002F6FA4 C0 44 00 08 */ lfs f2, 8(r4) +/* 802FA048 002F6FA8 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802FA04C 002F6FAC EC 65 21 BA */ fmadds f3, f5, f6, f4 +/* 802FA050 002F6FB0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802FA054 002F6FB4 EC 02 09 BA */ fmadds f0, f2, f6, f1 +/* 802FA058 002F6FB8 D0 7F 00 04 */ stfs f3, 4(r31) +/* 802FA05C 002F6FBC D0 1F 00 08 */ stfs f0, 8(r31) +lbl_802FA060: +/* 802FA060 002F6FC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FA064 002F6FC4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FA068 002F6FC8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FA06C 002F6FCC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FA070 002F6FD0 7C 08 03 A6 */ mtlr r0 +/* 802FA074 002F6FD4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FA078 002F6FD8 4E 80 00 20 */ blr + +.global VHasOffset__21CFBStreamedAnimReaderCFRC6CSegId +VHasOffset__21CFBStreamedAnimReaderCFRC6CSegId: +/* 802FA07C 002F6FDC 88 04 00 00 */ lbz r0, 0(r4) +/* 802FA080 002F6FE0 54 00 10 3A */ slwi r0, r0, 2 +/* 802FA084 002F6FE4 7C 83 02 14 */ add r4, r3, r0 +/* 802FA088 002F6FE8 80 84 01 14 */ lwz r4, 0x114(r4) +/* 802FA08C 002F6FEC 3C 04 00 01 */ addis r0, r4, 1 +/* 802FA090 002F6FF0 28 00 FF FF */ cmplwi r0, 0xffff +/* 802FA094 002F6FF4 40 82 00 0C */ bne lbl_802FA0A0 +/* 802FA098 002F6FF8 38 60 00 00 */ li r3, 0 +/* 802FA09C 002F6FFC 4E 80 00 20 */ blr +lbl_802FA0A0: +/* 802FA0A0 002F7000 88 03 00 8C */ lbz r0, 0x8c(r3) +/* 802FA0A4 002F7004 28 00 00 00 */ cmplwi r0, 0 +/* 802FA0A8 002F7008 41 82 00 0C */ beq lbl_802FA0B4 +/* 802FA0AC 002F700C 38 63 00 B8 */ addi r3, r3, 0xb8 +/* 802FA0B0 002F7010 48 00 00 08 */ b lbl_802FA0B8 +lbl_802FA0B4: +/* 802FA0B4 002F7014 38 63 00 90 */ addi r3, r3, 0x90 +lbl_802FA0B8: +/* 802FA0B8 002F7018 80 63 00 08 */ lwz r3, 8(r3) +/* 802FA0BC 002F701C 7C 63 20 AE */ lbzx r3, r3, r4 +/* 802FA0C0 002F7020 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__21CFBStreamedAnimReaderCFv +VGetSteadyStateAnimInfo__21CFBStreamedAnimReaderCFv: +/* 802FA0C4 002F7024 C0 04 00 64 */ lfs f0, 0x64(r4) +/* 802FA0C8 002F7028 D0 03 00 00 */ stfs f0, 0(r3) +/* 802FA0CC 002F702C 80 04 00 68 */ lwz r0, 0x68(r4) +/* 802FA0D0 002F7030 90 03 00 04 */ stw r0, 4(r3) +/* 802FA0D4 002F7034 C0 04 00 6C */ lfs f0, 0x6c(r4) +/* 802FA0D8 002F7038 D0 03 00 08 */ stfs f0, 8(r3) +/* 802FA0DC 002F703C C0 04 00 70 */ lfs f0, 0x70(r4) +/* 802FA0E0 002F7040 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802FA0E4 002F7044 C0 04 00 74 */ lfs f0, 0x74(r4) +/* 802FA0E8 002F7048 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802FA0EC 002F704C 88 04 00 78 */ lbz r0, 0x78(r4) +/* 802FA0F0 002F7050 98 03 00 14 */ stb r0, 0x14(r3) +/* 802FA0F4 002F7054 4E 80 00 20 */ blr + +.global VGetTimeRemaining__21CFBStreamedAnimReaderCFv +VGetTimeRemaining__21CFBStreamedAnimReaderCFv: +/* 802FA0F8 002F7058 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FA0FC 002F705C 7C 08 02 A6 */ mflr r0 +/* 802FA100 002F7060 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FA104 002F7064 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FA108 002F7068 7C 9F 23 78 */ mr r31, r4 +/* 802FA10C 002F706C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FA110 002F7070 7C 7E 1B 78 */ mr r30, r3 +/* 802FA114 002F7074 38 61 00 08 */ addi r3, r1, 8 +/* 802FA118 002F7078 80 84 00 60 */ lwz r4, 0x60(r4) +/* 802FA11C 002F707C 48 00 18 09 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 802FA120 002F7080 7F C3 F3 78 */ mr r3, r30 +/* 802FA124 002F7084 38 81 00 08 */ addi r4, r1, 8 +/* 802FA128 002F7088 38 BF 00 0C */ addi r5, r31, 0xc +/* 802FA12C 002F708C 48 04 E6 39 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FA130 002F7090 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FA134 002F7094 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FA138 002F7098 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FA13C 002F709C 7C 08 03 A6 */ mtlr r0 +/* 802FA140 002F70A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FA144 002F70A4 4E 80 00 20 */ blr + +.global VClone__21CFBStreamedAnimReaderCFv +VClone__21CFBStreamedAnimReaderCFv: +/* 802FA148 002F70A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FA14C 002F70AC 7C 08 02 A6 */ mflr r0 +/* 802FA150 002F70B0 3C A0 80 3D */ lis r5, lbl_803D6E30@ha +/* 802FA154 002F70B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FA158 002F70B8 38 05 6E 30 */ addi r0, r5, lbl_803D6E30@l +/* 802FA15C 002F70BC 38 A0 00 00 */ li r5, 0 +/* 802FA160 002F70C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FA164 002F70C4 7C 9F 23 78 */ mr r31, r4 +/* 802FA168 002F70C8 7C 04 03 78 */ mr r4, r0 +/* 802FA16C 002F70CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FA170 002F70D0 7C 7E 1B 78 */ mr r30, r3 +/* 802FA174 002F70D4 38 60 02 A4 */ li r3, 0x2a4 +/* 802FA178 002F70D8 48 01 B6 F5 */ bl __nw__FUlPCcPCc +/* 802FA17C 002F70DC 7C 64 1B 79 */ or. r4, r3, r3 +/* 802FA180 002F70E0 41 82 00 24 */ beq lbl_802FA1A4 +/* 802FA184 002F70E4 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 802FA188 002F70E8 38 9F 00 54 */ addi r4, r31, 0x54 +/* 802FA18C 002F70EC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 802FA190 002F70F0 38 A1 00 08 */ addi r5, r1, 8 +/* 802FA194 002F70F4 90 C1 00 08 */ stw r6, 8(r1) +/* 802FA198 002F70F8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802FA19C 002F70FC 48 00 01 0D */ bl "__ct__21CFBStreamedAnimReaderFRC43TSubAnimTypeToken<22CFBStreamedCompression>13CCharAnimTime" +/* 802FA1A0 002F7100 7C 64 1B 78 */ mr r4, r3 +lbl_802FA1A4: +/* 802FA1A4 002F7104 7C 04 00 D0 */ neg r0, r4 +/* 802FA1A8 002F7108 7C 00 23 78 */ or r0, r0, r4 +/* 802FA1AC 002F710C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FA1B0 002F7110 98 1E 00 00 */ stb r0, 0(r30) +/* 802FA1B4 002F7114 90 9E 00 04 */ stw r4, 4(r30) +/* 802FA1B8 002F7118 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FA1BC 002F711C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FA1C0 002F7120 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FA1C4 002F7124 7C 08 03 A6 */ mtlr r0 +/* 802FA1C8 002F7128 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FA1CC 002F712C 4E 80 00 20 */ blr + +.global __dt__21CFBStreamedAnimReaderFv +__dt__21CFBStreamedAnimReaderFv: +/* 802FA1D0 002F7130 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FA1D4 002F7134 7C 08 02 A6 */ mflr r0 +/* 802FA1D8 002F7138 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FA1DC 002F713C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FA1E0 002F7140 7C 9F 23 78 */ mr r31, r4 +/* 802FA1E4 002F7144 93 C1 00 08 */ stw r30, 8(r1) +/* 802FA1E8 002F7148 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FA1EC 002F714C 41 82 00 A0 */ beq lbl_802FA28C +/* 802FA1F0 002F7150 3C 80 80 3F */ lis r4, lbl_803ED430@ha +/* 802FA1F4 002F7154 38 60 02 A4 */ li r3, 0x2a4 +/* 802FA1F8 002F7158 38 04 D4 30 */ addi r0, r4, lbl_803ED430@l +/* 802FA1FC 002F715C 38 80 00 02 */ li r4, 2 +/* 802FA200 002F7160 90 1E 00 00 */ stw r0, 0(r30) +/* 802FA204 002F7164 4B FF D9 A5 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802FA208 002F7168 34 1E 00 7C */ addic. r0, r30, 0x7c +/* 802FA20C 002F716C 41 82 00 40 */ beq lbl_802FA24C +/* 802FA210 002F7170 38 7E 00 B8 */ addi r3, r30, 0xb8 +/* 802FA214 002F7174 38 80 FF FF */ li r4, -1 +/* 802FA218 002F7178 48 00 13 F5 */ bl sub_802fb60c +/* 802FA21C 002F717C 38 7E 00 90 */ addi r3, r30, 0x90 +/* 802FA220 002F7180 38 80 FF FF */ li r4, -1 +/* 802FA224 002F7184 48 00 13 E9 */ bl sub_802fb60c +/* 802FA228 002F7188 34 1E 00 7C */ addic. r0, r30, 0x7c +/* 802FA22C 002F718C 41 82 00 20 */ beq lbl_802FA24C +/* 802FA230 002F7190 34 1E 00 7C */ addic. r0, r30, 0x7c +/* 802FA234 002F7194 41 82 00 18 */ beq lbl_802FA24C +/* 802FA238 002F7198 34 1E 00 7C */ addic. r0, r30, 0x7c +/* 802FA23C 002F719C 41 82 00 10 */ beq lbl_802FA24C +/* 802FA240 002F71A0 38 7E 00 7C */ addi r3, r30, 0x7c +/* 802FA244 002F71A4 38 80 00 00 */ li r4, 0 +/* 802FA248 002F71A8 48 04 6B F9 */ bl __dt__6CTokenFv +lbl_802FA24C: +/* 802FA24C 002F71AC 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 802FA250 002F71B0 41 82 00 20 */ beq lbl_802FA270 +/* 802FA254 002F71B4 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 802FA258 002F71B8 41 82 00 18 */ beq lbl_802FA270 +/* 802FA25C 002F71BC 34 1E 00 54 */ addic. r0, r30, 0x54 +/* 802FA260 002F71C0 41 82 00 10 */ beq lbl_802FA270 +/* 802FA264 002F71C4 38 7E 00 54 */ addi r3, r30, 0x54 +/* 802FA268 002F71C8 38 80 00 00 */ li r4, 0 +/* 802FA26C 002F71CC 48 04 6B D5 */ bl __dt__6CTokenFv +lbl_802FA270: +/* 802FA270 002F71D0 7F C3 F3 78 */ mr r3, r30 +/* 802FA274 002F71D4 38 80 00 00 */ li r4, 0 +/* 802FA278 002F71D8 4B FF 3D 79 */ bl sub_802edff0 +/* 802FA27C 002F71DC 7F E0 07 35 */ extsh. r0, r31 +/* 802FA280 002F71E0 40 81 00 0C */ ble lbl_802FA28C +/* 802FA284 002F71E4 7F C3 F3 78 */ mr r3, r30 +/* 802FA288 002F71E8 48 01 B6 A9 */ bl Free__7CMemoryFPCv +lbl_802FA28C: +/* 802FA28C 002F71EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FA290 002F71F0 7F C3 F3 78 */ mr r3, r30 +/* 802FA294 002F71F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FA298 002F71F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FA29C 002F71FC 7C 08 03 A6 */ mtlr r0 +/* 802FA2A0 002F7200 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FA2A4 002F7204 4E 80 00 20 */ blr + +.global "__ct__21CFBStreamedAnimReaderFRC43TSubAnimTypeToken<22CFBStreamedCompression>13CCharAnimTime" +"__ct__21CFBStreamedAnimReaderFRC43TSubAnimTypeToken<22CFBStreamedCompression>13CCharAnimTime": +/* 802FA2A8 002F7208 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802FA2AC 002F720C 7C 08 02 A6 */ mflr r0 +/* 802FA2B0 002F7210 3C C0 80 3D */ lis r6, lbl_803D6E30@ha +/* 802FA2B4 002F7214 90 01 00 64 */ stw r0, 0x64(r1) +/* 802FA2B8 002F7218 38 06 6E 30 */ addi r0, r6, lbl_803D6E30@l +/* 802FA2BC 002F721C BE C1 00 38 */ stmw r22, 0x38(r1) +/* 802FA2C0 002F7220 7C 7C 1B 78 */ mr r28, r3 +/* 802FA2C4 002F7224 7C 9D 23 78 */ mr r29, r4 +/* 802FA2C8 002F7228 7C BE 2B 78 */ mr r30, r5 +/* 802FA2CC 002F722C 38 60 00 14 */ li r3, 0x14 +/* 802FA2D0 002F7230 7C 04 03 78 */ mr r4, r0 +/* 802FA2D4 002F7234 38 A0 00 00 */ li r5, 0 +/* 802FA2D8 002F7238 48 01 B5 95 */ bl __nw__FUlPCcPCc +/* 802FA2DC 002F723C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FA2E0 002F7240 41 82 00 48 */ beq lbl_802FA328 +/* 802FA2E4 002F7244 3C 80 80 3F */ lis r4, lbl_803ECFE4@ha +/* 802FA2E8 002F7248 7F E5 FB 78 */ mr r5, r31 +/* 802FA2EC 002F724C 38 04 CF E4 */ addi r0, r4, lbl_803ECFE4@l +/* 802FA2F0 002F7250 3C 60 80 3F */ lis r3, lbl_803ED494@ha +/* 802FA2F4 002F7254 90 1F 00 00 */ stw r0, 0(r31) +/* 802FA2F8 002F7258 38 03 D4 94 */ addi r0, r3, lbl_803ED494@l +/* 802FA2FC 002F725C 3A C5 00 04 */ addi r22, r5, 4 +/* 802FA300 002F7260 7F A4 EB 78 */ mr r4, r29 +/* 802FA304 002F7264 90 1F 00 00 */ stw r0, 0(r31) +/* 802FA308 002F7268 7E C3 B3 78 */ mr r3, r22 +/* 802FA30C 002F726C 48 04 6B 9D */ bl __ct__6CTokenFRC6CToken +/* 802FA310 002F7270 80 1D 00 08 */ lwz r0, 8(r29) +/* 802FA314 002F7274 7E C3 B3 78 */ mr r3, r22 +/* 802FA318 002F7278 90 16 00 08 */ stw r0, 8(r22) +/* 802FA31C 002F727C 48 04 6A 69 */ bl Lock__6CTokenFv +/* 802FA320 002F7280 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802FA324 002F7284 90 16 00 0C */ stw r0, 0xc(r22) +lbl_802FA328: +/* 802FA328 002F7288 3C 60 80 3F */ lis r3, lbl_803ED508@ha +/* 802FA32C 002F728C 7C 9F 00 D0 */ neg r4, r31 +/* 802FA330 002F7290 38 03 D5 08 */ addi r0, r3, lbl_803ED508@l +/* 802FA334 002F7294 C0 22 C6 D8 */ lfs f1, lbl_805AE3F8@sda21(r2) +/* 802FA338 002F7298 7C 84 FB 78 */ or r4, r4, r31 +/* 802FA33C 002F729C 3C 60 80 3F */ lis r3, lbl_803ED008@ha +/* 802FA340 002F72A0 90 1C 00 00 */ stw r0, 0(r28) +/* 802FA344 002F72A4 38 03 D0 08 */ addi r0, r3, lbl_803ED008@l +/* 802FA348 002F72A8 54 84 0F FE */ srwi r4, r4, 0x1f +/* 802FA34C 002F72AC 38 7C 00 0C */ addi r3, r28, 0xc +/* 802FA350 002F72B0 90 1C 00 00 */ stw r0, 0(r28) +/* 802FA354 002F72B4 38 00 00 00 */ li r0, 0 +/* 802FA358 002F72B8 98 81 00 10 */ stb r4, 0x10(r1) +/* 802FA35C 002F72BC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802FA360 002F72C0 98 01 00 10 */ stb r0, 0x10(r1) +/* 802FA364 002F72C4 93 FC 00 04 */ stw r31, 4(r28) +/* 802FA368 002F72C8 48 04 EA 85 */ bl __ct__13CCharAnimTimeFf +/* 802FA36C 002F72CC 38 60 00 00 */ li r3, 0 +/* 802FA370 002F72D0 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802FA374 002F72D4 90 7C 00 28 */ stw r3, 0x28(r28) +/* 802FA378 002F72D8 28 00 00 00 */ cmplwi r0, 0 +/* 802FA37C 002F72DC 90 7C 00 2C */ stw r3, 0x2c(r28) +/* 802FA380 002F72E0 90 7C 00 30 */ stw r3, 0x30(r28) +/* 802FA384 002F72E4 90 7C 00 38 */ stw r3, 0x38(r28) +/* 802FA388 002F72E8 90 7C 00 3C */ stw r3, 0x3c(r28) +/* 802FA38C 002F72EC 90 7C 00 40 */ stw r3, 0x40(r28) +/* 802FA390 002F72F0 90 7C 00 48 */ stw r3, 0x48(r28) +/* 802FA394 002F72F4 90 7C 00 4C */ stw r3, 0x4c(r28) +/* 802FA398 002F72F8 90 7C 00 50 */ stw r3, 0x50(r28) +/* 802FA39C 002F72FC 41 82 00 20 */ beq lbl_802FA3BC +/* 802FA3A0 002F7300 7F E3 FB 79 */ or. r3, r31, r31 +/* 802FA3A4 002F7304 41 82 00 18 */ beq lbl_802FA3BC +/* 802FA3A8 002F7308 81 83 00 00 */ lwz r12, 0(r3) +/* 802FA3AC 002F730C 38 80 00 01 */ li r4, 1 +/* 802FA3B0 002F7310 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802FA3B4 002F7314 7D 89 03 A6 */ mtctr r12 +/* 802FA3B8 002F7318 4E 80 04 21 */ bctrl +lbl_802FA3BC: +/* 802FA3BC 002F731C 3C 60 80 3F */ lis r3, lbl_803ED430@ha +/* 802FA3C0 002F7320 3A DC 00 54 */ addi r22, r28, 0x54 +/* 802FA3C4 002F7324 38 03 D4 30 */ addi r0, r3, lbl_803ED430@l +/* 802FA3C8 002F7328 7F A4 EB 78 */ mr r4, r29 +/* 802FA3CC 002F732C 90 1C 00 00 */ stw r0, 0(r28) +/* 802FA3D0 002F7330 7E C3 B3 78 */ mr r3, r22 +/* 802FA3D4 002F7334 48 04 6A D5 */ bl __ct__6CTokenFRC6CToken +/* 802FA3D8 002F7338 80 1D 00 08 */ lwz r0, 8(r29) +/* 802FA3DC 002F733C 7E C3 B3 78 */ mr r3, r22 +/* 802FA3E0 002F7340 90 16 00 08 */ stw r0, 8(r22) +/* 802FA3E4 002F7344 48 04 69 A1 */ bl Lock__6CTokenFv +/* 802FA3E8 002F7348 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802FA3EC 002F734C 38 61 00 08 */ addi r3, r1, 8 +/* 802FA3F0 002F7350 90 16 00 0C */ stw r0, 0xc(r22) +/* 802FA3F4 002F7354 82 DC 00 60 */ lwz r22, 0x60(r28) +/* 802FA3F8 002F7358 7E C4 B3 78 */ mr r4, r22 +/* 802FA3FC 002F735C 48 00 15 29 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 802FA400 002F7360 80 B6 00 0C */ lwz r5, 0xc(r22) +/* 802FA404 002F7364 7F A4 EB 78 */ mr r4, r29 +/* 802FA408 002F7368 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802FA40C 002F736C 38 7C 00 7C */ addi r3, r28, 0x7c +/* 802FA410 002F7370 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 802FA414 002F7374 C0 76 00 14 */ lfs f3, 0x14(r22) +/* 802FA418 002F7378 C0 56 00 18 */ lfs f2, 0x18(r22) +/* 802FA41C 002F737C 7C A6 00 D0 */ neg r5, r6 +/* 802FA420 002F7380 C0 36 00 1C */ lfs f1, 0x1c(r22) +/* 802FA424 002F7384 7C A5 33 78 */ or r5, r5, r6 +/* 802FA428 002F7388 C0 01 00 08 */ lfs f0, 8(r1) +/* 802FA42C 002F738C 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 802FA430 002F7390 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802FA434 002F7394 D0 1C 00 64 */ stfs f0, 0x64(r28) +/* 802FA438 002F7398 90 1C 00 68 */ stw r0, 0x68(r28) +/* 802FA43C 002F739C D0 7C 00 6C */ stfs f3, 0x6c(r28) +/* 802FA440 002F73A0 D0 5C 00 70 */ stfs f2, 0x70(r28) +/* 802FA444 002F73A4 D0 3C 00 74 */ stfs f1, 0x74(r28) +/* 802FA448 002F73A8 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 802FA44C 002F73AC D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802FA450 002F73B0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802FA454 002F73B4 98 A1 00 2C */ stb r5, 0x2c(r1) +/* 802FA458 002F73B8 98 BC 00 78 */ stb r5, 0x78(r28) +/* 802FA45C 002F73BC 48 00 0C D9 */ bl "__ct__23CFBStreamedPairOfTotalsFRC43TSubAnimTypeToken<22CFBStreamedCompression>" +/* 802FA460 002F73C0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802FA464 002F73C4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802FA468 002F73C8 38 83 00 24 */ addi r4, r3, 0x24 +/* 802FA46C 002F73CC 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802FA470 002F73D0 54 60 06 FF */ clrlwi. r0, r3, 0x1b +/* 802FA474 002F73D4 54 63 D9 7E */ srwi r3, r3, 5 +/* 802FA478 002F73D8 38 03 00 01 */ addi r0, r3, 1 +/* 802FA47C 002F73DC 40 82 00 08 */ bne lbl_802FA484 +/* 802FA480 002F73E0 7C 60 1B 78 */ mr r0, r3 +lbl_802FA484: +/* 802FA484 002F73E4 54 00 10 3A */ slwi r0, r0, 2 +/* 802FA488 002F73E8 7C 64 02 14 */ add r3, r4, r0 +/* 802FA48C 002F73EC 80 03 00 04 */ lwz r0, 4(r3) +/* 802FA490 002F73F0 38 63 00 08 */ addi r3, r3, 8 +/* 802FA494 002F73F4 7C 09 03 A6 */ mtctr r0 +/* 802FA498 002F73F8 2C 00 00 00 */ cmpwi r0, 0 +/* 802FA49C 002F73FC 40 81 00 38 */ ble lbl_802FA4D4 +lbl_802FA4A0: +/* 802FA4A0 002F7400 A0 03 00 04 */ lhz r0, 4(r3) +/* 802FA4A4 002F7404 28 00 00 00 */ cmplwi r0, 0 +/* 802FA4A8 002F7408 40 82 00 0C */ bne lbl_802FA4B4 +/* 802FA4AC 002F740C 38 63 00 06 */ addi r3, r3, 6 +/* 802FA4B0 002F7410 48 00 00 08 */ b lbl_802FA4B8 +lbl_802FA4B4: +/* 802FA4B4 002F7414 38 63 00 0F */ addi r3, r3, 0xf +lbl_802FA4B8: +/* 802FA4B8 002F7418 A0 03 00 00 */ lhz r0, 0(r3) +/* 802FA4BC 002F741C 28 00 00 00 */ cmplwi r0, 0 +/* 802FA4C0 002F7420 40 82 00 0C */ bne lbl_802FA4CC +/* 802FA4C4 002F7424 38 63 00 02 */ addi r3, r3, 2 +/* 802FA4C8 002F7428 48 00 00 08 */ b lbl_802FA4D0 +lbl_802FA4CC: +/* 802FA4CC 002F742C 38 63 00 0B */ addi r3, r3, 0xb +lbl_802FA4D0: +/* 802FA4D0 002F7430 42 00 FF D0 */ bdnz lbl_802FA4A0 +lbl_802FA4D4: +/* 802FA4D4 002F7434 38 03 FF FC */ addi r0, r3, -4 +/* 802FA4D8 002F7438 38 7C 01 04 */ addi r3, r28, 0x104 +/* 802FA4DC 002F743C 90 1C 01 04 */ stw r0, 0x104(r28) +/* 802FA4E0 002F7440 38 00 00 00 */ li r0, 0 +/* 802FA4E4 002F7444 90 7C 01 08 */ stw r3, 0x108(r28) +/* 802FA4E8 002F7448 80 9C 01 08 */ lwz r4, 0x108(r28) +/* 802FA4EC 002F744C 80 64 00 00 */ lwz r3, 0(r4) +/* 802FA4F0 002F7450 38 63 00 04 */ addi r3, r3, 4 +/* 802FA4F4 002F7454 90 64 00 00 */ stw r3, 0(r4) +/* 802FA4F8 002F7458 80 64 00 00 */ lwz r3, 0(r4) +/* 802FA4FC 002F745C 80 63 00 00 */ lwz r3, 0(r3) +/* 802FA500 002F7460 90 7C 01 0C */ stw r3, 0x10c(r28) +/* 802FA504 002F7464 90 1C 01 10 */ stw r0, 0x110(r28) +/* 802FA508 002F7468 88 1C 00 8C */ lbz r0, 0x8c(r28) +/* 802FA50C 002F746C 28 00 00 00 */ cmplwi r0, 0 +/* 802FA510 002F7470 41 82 00 0C */ beq lbl_802FA51C +/* 802FA514 002F7474 38 9C 00 90 */ addi r4, r28, 0x90 +/* 802FA518 002F7478 48 00 00 08 */ b lbl_802FA520 +lbl_802FA51C: +/* 802FA51C 002F747C 38 9C 00 B8 */ addi r4, r28, 0xb8 +lbl_802FA520: +/* 802FA520 002F7480 39 80 00 00 */ li r12, 0 +/* 802FA524 002F7484 38 00 00 06 */ li r0, 6 +/* 802FA528 002F7488 7D 96 63 78 */ mr r22, r12 +/* 802FA52C 002F748C 7C 09 03 A6 */ mtctr r0 +lbl_802FA530: +/* 802FA530 002F7490 39 56 01 14 */ addi r10, r22, 0x114 +/* 802FA534 002F7494 39 60 FF FF */ li r11, -1 +/* 802FA538 002F7498 7D 7C 51 2E */ stwx r11, r28, r10 +/* 802FA53C 002F749C 39 2A 00 04 */ addi r9, r10, 4 +/* 802FA540 002F74A0 39 0A 00 08 */ addi r8, r10, 8 +/* 802FA544 002F74A4 38 EA 00 0C */ addi r7, r10, 0xc +/* 802FA548 002F74A8 7D 7C 49 2E */ stwx r11, r28, r9 +/* 802FA54C 002F74AC 38 CA 00 10 */ addi r6, r10, 0x10 +/* 802FA550 002F74B0 38 AA 00 14 */ addi r5, r10, 0x14 +/* 802FA554 002F74B4 38 6A 00 18 */ addi r3, r10, 0x18 +/* 802FA558 002F74B8 7D 7C 41 2E */ stwx r11, r28, r8 +/* 802FA55C 002F74BC 38 0A 00 1C */ addi r0, r10, 0x1c +/* 802FA560 002F74C0 39 56 01 34 */ addi r10, r22, 0x134 +/* 802FA564 002F74C4 3A D6 00 40 */ addi r22, r22, 0x40 +/* 802FA568 002F74C8 7D 7C 39 2E */ stwx r11, r28, r7 +/* 802FA56C 002F74CC 39 2A 00 04 */ addi r9, r10, 4 +/* 802FA570 002F74D0 39 0A 00 08 */ addi r8, r10, 8 +/* 802FA574 002F74D4 38 EA 00 0C */ addi r7, r10, 0xc +/* 802FA578 002F74D8 7D 7C 31 2E */ stwx r11, r28, r6 +/* 802FA57C 002F74DC 38 CA 00 10 */ addi r6, r10, 0x10 +/* 802FA580 002F74E0 39 8C 00 10 */ addi r12, r12, 0x10 +/* 802FA584 002F74E4 7D 7C 29 2E */ stwx r11, r28, r5 +/* 802FA588 002F74E8 38 AA 00 14 */ addi r5, r10, 0x14 +/* 802FA58C 002F74EC 7D 7C 19 2E */ stwx r11, r28, r3 +/* 802FA590 002F74F0 38 6A 00 18 */ addi r3, r10, 0x18 +/* 802FA594 002F74F4 7D 7C 01 2E */ stwx r11, r28, r0 +/* 802FA598 002F74F8 38 0A 00 1C */ addi r0, r10, 0x1c +/* 802FA59C 002F74FC 7D 7C 51 2E */ stwx r11, r28, r10 +/* 802FA5A0 002F7500 7D 7C 49 2E */ stwx r11, r28, r9 +/* 802FA5A4 002F7504 7D 7C 41 2E */ stwx r11, r28, r8 +/* 802FA5A8 002F7508 7D 7C 39 2E */ stwx r11, r28, r7 +/* 802FA5AC 002F750C 7D 7C 31 2E */ stwx r11, r28, r6 +/* 802FA5B0 002F7510 7D 7C 29 2E */ stwx r11, r28, r5 +/* 802FA5B4 002F7514 7D 7C 19 2E */ stwx r11, r28, r3 +/* 802FA5B8 002F7518 7D 7C 01 2E */ stwx r11, r28, r0 +/* 802FA5BC 002F751C 42 00 FF 74 */ bdnz lbl_802FA530 +/* 802FA5C0 002F7520 20 0C 00 64 */ subfic r0, r12, 0x64 +/* 802FA5C4 002F7524 55 83 10 3A */ slwi r3, r12, 2 +/* 802FA5C8 002F7528 7C 09 03 A6 */ mtctr r0 +/* 802FA5CC 002F752C 28 0C 00 64 */ cmplwi r12, 0x64 +/* 802FA5D0 002F7530 40 80 00 14 */ bge lbl_802FA5E4 +lbl_802FA5D4: +/* 802FA5D4 002F7534 38 03 01 14 */ addi r0, r3, 0x114 +/* 802FA5D8 002F7538 38 63 00 04 */ addi r3, r3, 4 +/* 802FA5DC 002F753C 7D 7C 01 2E */ stwx r11, r28, r0 +/* 802FA5E0 002F7540 42 00 FF F4 */ bdnz lbl_802FA5D4 +lbl_802FA5E4: +/* 802FA5E4 002F7544 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 802FA5E8 002F7548 38 60 00 00 */ li r3, 0 +/* 802FA5EC 002F754C 28 05 00 00 */ cmplwi r5, 0 +/* 802FA5F0 002F7550 40 81 01 40 */ ble lbl_802FA730 +/* 802FA5F4 002F7554 28 05 00 08 */ cmplwi r5, 8 +/* 802FA5F8 002F7558 38 E5 FF F8 */ addi r7, r5, -8 +/* 802FA5FC 002F755C 40 81 01 00 */ ble lbl_802FA6FC +/* 802FA600 002F7560 38 07 00 07 */ addi r0, r7, 7 +/* 802FA604 002F7564 7C 66 1B 78 */ mr r6, r3 +/* 802FA608 002F7568 54 00 E8 FE */ srwi r0, r0, 3 +/* 802FA60C 002F756C 7C 09 03 A6 */ mtctr r0 +/* 802FA610 002F7570 28 07 00 00 */ cmplwi r7, 0 +/* 802FA614 002F7574 40 81 00 E8 */ ble lbl_802FA6FC +lbl_802FA618: +/* 802FA618 002F7578 80 E4 00 0C */ lwz r7, 0xc(r4) +/* 802FA61C 002F757C 3B 06 00 02 */ addi r24, r6, 2 +/* 802FA620 002F7580 3A E3 00 01 */ addi r23, r3, 1 +/* 802FA624 002F7584 3B 46 00 04 */ addi r26, r6, 4 +/* 802FA628 002F7588 7C 07 32 AE */ lhax r0, r7, r6 +/* 802FA62C 002F758C 3B 23 00 02 */ addi r25, r3, 2 +/* 802FA630 002F7590 3B E6 00 06 */ addi r31, r6, 6 +/* 802FA634 002F7594 3B 63 00 03 */ addi r27, r3, 3 +/* 802FA638 002F7598 54 07 10 3A */ slwi r7, r0, 2 +/* 802FA63C 002F759C 39 86 00 08 */ addi r12, r6, 8 +/* 802FA640 002F75A0 38 07 01 14 */ addi r0, r7, 0x114 +/* 802FA644 002F75A4 3B A3 00 04 */ addi r29, r3, 4 +/* 802FA648 002F75A8 7C 7C 01 2E */ stwx r3, r28, r0 +/* 802FA64C 002F75AC 39 46 00 0A */ addi r10, r6, 0xa +/* 802FA650 002F75B0 39 63 00 05 */ addi r11, r3, 5 +/* 802FA654 002F75B4 38 E6 00 0C */ addi r7, r6, 0xc +/* 802FA658 002F75B8 82 C4 00 0C */ lwz r22, 0xc(r4) +/* 802FA65C 002F75BC 38 06 00 0E */ addi r0, r6, 0xe +/* 802FA660 002F75C0 39 23 00 06 */ addi r9, r3, 6 +/* 802FA664 002F75C4 39 03 00 07 */ addi r8, r3, 7 +/* 802FA668 002F75C8 7E D6 C2 AE */ lhax r22, r22, r24 +/* 802FA66C 002F75CC 38 C6 00 10 */ addi r6, r6, 0x10 +/* 802FA670 002F75D0 38 63 00 08 */ addi r3, r3, 8 +/* 802FA674 002F75D4 56 D8 10 3A */ slwi r24, r22, 2 +/* 802FA678 002F75D8 3B 18 01 14 */ addi r24, r24, 0x114 +/* 802FA67C 002F75DC 7E FC C1 2E */ stwx r23, r28, r24 +/* 802FA680 002F75E0 83 04 00 0C */ lwz r24, 0xc(r4) +/* 802FA684 002F75E4 7E D8 D2 AE */ lhax r22, r24, r26 +/* 802FA688 002F75E8 56 DA 10 3A */ slwi r26, r22, 2 +/* 802FA68C 002F75EC 3B 5A 01 14 */ addi r26, r26, 0x114 +/* 802FA690 002F75F0 7F 3C D1 2E */ stwx r25, r28, r26 +/* 802FA694 002F75F4 83 44 00 0C */ lwz r26, 0xc(r4) +/* 802FA698 002F75F8 7E DA FA AE */ lhax r22, r26, r31 +/* 802FA69C 002F75FC 56 DF 10 3A */ slwi r31, r22, 2 +/* 802FA6A0 002F7600 3B FF 01 14 */ addi r31, r31, 0x114 +/* 802FA6A4 002F7604 7F 7C F9 2E */ stwx r27, r28, r31 +/* 802FA6A8 002F7608 83 E4 00 0C */ lwz r31, 0xc(r4) +/* 802FA6AC 002F760C 7D 9F 62 AE */ lhax r12, r31, r12 +/* 802FA6B0 002F7610 55 8C 10 3A */ slwi r12, r12, 2 +/* 802FA6B4 002F7614 39 8C 01 14 */ addi r12, r12, 0x114 +/* 802FA6B8 002F7618 7F BC 61 2E */ stwx r29, r28, r12 +/* 802FA6BC 002F761C 81 84 00 0C */ lwz r12, 0xc(r4) +/* 802FA6C0 002F7620 7D 4C 52 AE */ lhax r10, r12, r10 +/* 802FA6C4 002F7624 55 4A 10 3A */ slwi r10, r10, 2 +/* 802FA6C8 002F7628 39 4A 01 14 */ addi r10, r10, 0x114 +/* 802FA6CC 002F762C 7D 7C 51 2E */ stwx r11, r28, r10 +/* 802FA6D0 002F7630 81 44 00 0C */ lwz r10, 0xc(r4) +/* 802FA6D4 002F7634 7C EA 3A AE */ lhax r7, r10, r7 +/* 802FA6D8 002F7638 54 E7 10 3A */ slwi r7, r7, 2 +/* 802FA6DC 002F763C 38 E7 01 14 */ addi r7, r7, 0x114 +/* 802FA6E0 002F7640 7D 3C 39 2E */ stwx r9, r28, r7 +/* 802FA6E4 002F7644 80 E4 00 0C */ lwz r7, 0xc(r4) +/* 802FA6E8 002F7648 7C 07 02 AE */ lhax r0, r7, r0 +/* 802FA6EC 002F764C 54 07 10 3A */ slwi r7, r0, 2 +/* 802FA6F0 002F7650 38 07 01 14 */ addi r0, r7, 0x114 +/* 802FA6F4 002F7654 7D 1C 01 2E */ stwx r8, r28, r0 +/* 802FA6F8 002F7658 42 00 FF 20 */ bdnz lbl_802FA618 +lbl_802FA6FC: +/* 802FA6FC 002F765C 7C 03 28 50 */ subf r0, r3, r5 +/* 802FA700 002F7660 54 66 08 3C */ slwi r6, r3, 1 +/* 802FA704 002F7664 7C 09 03 A6 */ mtctr r0 +/* 802FA708 002F7668 7C 03 28 40 */ cmplw r3, r5 +/* 802FA70C 002F766C 40 80 00 24 */ bge lbl_802FA730 +lbl_802FA710: +/* 802FA710 002F7670 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802FA714 002F7674 7C 05 32 AE */ lhax r0, r5, r6 +/* 802FA718 002F7678 38 C6 00 02 */ addi r6, r6, 2 +/* 802FA71C 002F767C 54 05 10 3A */ slwi r5, r0, 2 +/* 802FA720 002F7680 38 05 01 14 */ addi r0, r5, 0x114 +/* 802FA724 002F7684 7C 7C 01 2E */ stwx r3, r28, r0 +/* 802FA728 002F7688 38 63 00 01 */ addi r3, r3, 1 +/* 802FA72C 002F768C 42 00 FF E4 */ bdnz lbl_802FA710 +lbl_802FA730: +/* 802FA730 002F7690 7F 83 E3 78 */ mr r3, r28 +/* 802FA734 002F7694 7F C4 F3 78 */ mr r4, r30 +/* 802FA738 002F7698 4B FF 51 79 */ bl PostConstruct__21CAnimSourceReaderBaseFRC13CCharAnimTime +/* 802FA73C 002F769C 38 60 02 A4 */ li r3, 0x2a4 +/* 802FA740 002F76A0 38 80 00 02 */ li r4, 2 +/* 802FA744 002F76A4 4B FF D4 75 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802FA748 002F76A8 7F 83 E3 78 */ mr r3, r28 +/* 802FA74C 002F76AC BA C1 00 38 */ lmw r22, 0x38(r1) +/* 802FA750 002F76B0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802FA754 002F76B4 7C 08 03 A6 */ mtlr r0 +/* 802FA758 002F76B8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802FA75C 002F76BC 4E 80 00 20 */ blr + +.global "IncrementInto__27CFBStreamedAnimReaderTotalsFR47CBitLevelLoader<28CMemoryInputToBitLevelLoader>RC22CFBStreamedCompressionR27CFBStreamedAnimReaderTotals" +"IncrementInto__27CFBStreamedAnimReaderTotalsFR47CBitLevelLoader<28CMemoryInputToBitLevelLoader>RC22CFBStreamedCompressionR27CFBStreamedAnimReaderTotals": +/* 802FA760 002F76C0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802FA764 002F76C4 38 00 00 00 */ li r0, 0 +/* 802FA768 002F76C8 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 802FA76C 002F76CC 98 06 00 20 */ stb r0, 0x20(r6) +/* 802FA770 002F76D0 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802FA774 002F76D4 39 05 00 24 */ addi r8, r5, 0x24 +/* 802FA778 002F76D8 80 A5 00 24 */ lwz r5, 0x24(r5) +/* 802FA77C 002F76DC 54 A0 06 FF */ clrlwi. r0, r5, 0x1b +/* 802FA780 002F76E0 54 A5 D9 7E */ srwi r5, r5, 5 +/* 802FA784 002F76E4 38 05 00 01 */ addi r0, r5, 1 +/* 802FA788 002F76E8 40 82 00 08 */ bne lbl_802FA790 +/* 802FA78C 002F76EC 7C A0 2B 78 */ mr r0, r5 +lbl_802FA790: +/* 802FA790 002F76F0 54 00 10 3A */ slwi r0, r0, 2 +/* 802FA794 002F76F4 80 E3 00 04 */ lwz r7, 4(r3) +/* 802FA798 002F76F8 7C A8 02 14 */ add r5, r8, r0 +/* 802FA79C 002F76FC 81 06 00 04 */ lwz r8, 4(r6) +/* 802FA7A0 002F7700 80 05 00 04 */ lwz r0, 4(r5) +/* 802FA7A4 002F7704 38 A5 00 08 */ addi r5, r5, 8 +/* 802FA7A8 002F7708 39 20 00 00 */ li r9, 0 +/* 802FA7AC 002F770C 7C 09 03 A6 */ mtctr r0 +/* 802FA7B0 002F7710 2C 00 00 00 */ cmpwi r0, 0 +/* 802FA7B4 002F7714 41 82 06 70 */ beq lbl_802FAE24 +lbl_802FA7B8: +/* 802FA7B8 002F7718 38 00 00 01 */ li r0, 1 +/* 802FA7BC 002F771C 39 40 00 00 */ li r10, 0 +/* 802FA7C0 002F7720 90 01 00 38 */ stw r0, 0x38(r1) +/* 802FA7C4 002F7724 7D 40 53 78 */ mr r0, r10 +/* 802FA7C8 002F7728 48 00 00 8C */ b lbl_802FA854 +lbl_802FA7CC: +/* 802FA7CC 002F772C 81 84 00 08 */ lwz r12, 8(r4) +/* 802FA7D0 002F7730 39 61 00 3C */ addi r11, r1, 0x3c +/* 802FA7D4 002F7734 21 8C 00 20 */ subfic r12, r12, 0x20 +/* 802FA7D8 002F7738 7C 1B 60 40 */ cmplw r27, r12 +/* 802FA7DC 002F773C 91 81 00 3C */ stw r12, 0x3c(r1) +/* 802FA7E0 002F7740 40 80 00 08 */ bge lbl_802FA7E8 +/* 802FA7E4 002F7744 39 61 00 38 */ addi r11, r1, 0x38 +lbl_802FA7E8: +/* 802FA7E8 002F7748 83 EB 00 00 */ lwz r31, 0(r11) +/* 802FA7EC 002F774C 81 84 00 08 */ lwz r12, 8(r4) +/* 802FA7F0 002F7750 83 A4 00 04 */ lwz r29, 4(r4) +/* 802FA7F4 002F7754 23 DF 00 20 */ subfic r30, r31, 0x20 +/* 802FA7F8 002F7758 7D 6C FA 14 */ add r11, r12, r31 +/* 802FA7FC 002F775C 91 64 00 08 */ stw r11, 8(r4) +/* 802FA800 002F7760 7F BD 64 30 */ srw r29, r29, r12 +/* 802FA804 002F7764 7D 80 F0 50 */ subf r12, r0, r30 +/* 802FA808 002F7768 7C 00 FA 14 */ add r0, r0, r31 +/* 802FA80C 002F776C 81 61 00 38 */ lwz r11, 0x38(r1) +/* 802FA810 002F7770 7F BD F0 30 */ slw r29, r29, r30 +/* 802FA814 002F7774 7F AC 64 30 */ srw r12, r29, r12 +/* 802FA818 002F7778 7D 7F 58 50 */ subf r11, r31, r11 +/* 802FA81C 002F777C 91 61 00 38 */ stw r11, 0x38(r1) +/* 802FA820 002F7780 7D 4A 63 78 */ or r10, r10, r12 +/* 802FA824 002F7784 81 64 00 08 */ lwz r11, 8(r4) +/* 802FA828 002F7788 28 0B 00 20 */ cmplwi r11, 0x20 +/* 802FA82C 002F778C 40 82 00 28 */ bne lbl_802FA854 +/* 802FA830 002F7790 39 60 00 00 */ li r11, 0 +/* 802FA834 002F7794 91 64 00 08 */ stw r11, 8(r4) +/* 802FA838 002F7798 81 84 00 00 */ lwz r12, 0(r4) +/* 802FA83C 002F779C 81 6C 00 00 */ lwz r11, 0(r12) +/* 802FA840 002F77A0 39 6B 00 04 */ addi r11, r11, 4 +/* 802FA844 002F77A4 91 6C 00 00 */ stw r11, 0(r12) +/* 802FA848 002F77A8 81 6C 00 00 */ lwz r11, 0(r12) +/* 802FA84C 002F77AC 81 6B 00 00 */ lwz r11, 0(r11) +/* 802FA850 002F77B0 91 64 00 04 */ stw r11, 4(r4) +lbl_802FA854: +/* 802FA854 002F77B4 83 61 00 38 */ lwz r27, 0x38(r1) +/* 802FA858 002F77B8 28 1B 00 00 */ cmplwi r27, 0 +/* 802FA85C 002F77BC 40 82 FF 70 */ bne lbl_802FA7CC +/* 802FA860 002F77C0 B1 48 00 00 */ sth r10, 0(r8) +/* 802FA864 002F77C4 89 45 00 08 */ lbz r10, 8(r5) +/* 802FA868 002F77C8 28 0A 00 00 */ cmplwi r10, 0 +/* 802FA86C 002F77CC 40 82 00 0C */ bne lbl_802FA878 +/* 802FA870 002F77D0 39 60 00 00 */ li r11, 0 +/* 802FA874 002F77D4 48 00 00 C8 */ b lbl_802FA93C +lbl_802FA878: +/* 802FA878 002F77D8 39 60 00 00 */ li r11, 0 +/* 802FA87C 002F77DC 91 41 00 30 */ stw r10, 0x30(r1) +/* 802FA880 002F77E0 7D 60 5B 78 */ mr r0, r11 +/* 802FA884 002F77E4 48 00 00 8C */ b lbl_802FA910 +lbl_802FA888: +/* 802FA888 002F77E8 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FA88C 002F77EC 39 81 00 34 */ addi r12, r1, 0x34 +/* 802FA890 002F77F0 23 BD 00 20 */ subfic r29, r29, 0x20 +/* 802FA894 002F77F4 7C 1B E8 40 */ cmplw r27, r29 +/* 802FA898 002F77F8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802FA89C 002F77FC 40 80 00 08 */ bge lbl_802FA8A4 +/* 802FA8A0 002F7800 39 81 00 30 */ addi r12, r1, 0x30 +lbl_802FA8A4: +/* 802FA8A4 002F7804 83 8C 00 00 */ lwz r28, 0(r12) +/* 802FA8A8 002F7808 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FA8AC 002F780C 83 C4 00 04 */ lwz r30, 4(r4) +/* 802FA8B0 002F7810 23 FC 00 20 */ subfic r31, r28, 0x20 +/* 802FA8B4 002F7814 7D 9D E2 14 */ add r12, r29, r28 +/* 802FA8B8 002F7818 91 84 00 08 */ stw r12, 8(r4) +/* 802FA8BC 002F781C 7F DE EC 30 */ srw r30, r30, r29 +/* 802FA8C0 002F7820 7F A0 F8 50 */ subf r29, r0, r31 +/* 802FA8C4 002F7824 7C 00 E2 14 */ add r0, r0, r28 +/* 802FA8C8 002F7828 81 81 00 30 */ lwz r12, 0x30(r1) +/* 802FA8CC 002F782C 7F DE F8 30 */ slw r30, r30, r31 +/* 802FA8D0 002F7830 7F DD EC 30 */ srw r29, r30, r29 +/* 802FA8D4 002F7834 7D 9C 60 50 */ subf r12, r28, r12 +/* 802FA8D8 002F7838 91 81 00 30 */ stw r12, 0x30(r1) +/* 802FA8DC 002F783C 7D 6B EB 78 */ or r11, r11, r29 +/* 802FA8E0 002F7840 81 84 00 08 */ lwz r12, 8(r4) +/* 802FA8E4 002F7844 28 0C 00 20 */ cmplwi r12, 0x20 +/* 802FA8E8 002F7848 40 82 00 28 */ bne lbl_802FA910 +/* 802FA8EC 002F784C 39 80 00 00 */ li r12, 0 +/* 802FA8F0 002F7850 91 84 00 08 */ stw r12, 8(r4) +/* 802FA8F4 002F7854 83 64 00 00 */ lwz r27, 0(r4) +/* 802FA8F8 002F7858 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FA8FC 002F785C 39 8C 00 04 */ addi r12, r12, 4 +/* 802FA900 002F7860 91 9B 00 00 */ stw r12, 0(r27) +/* 802FA904 002F7864 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FA908 002F7868 81 8C 00 00 */ lwz r12, 0(r12) +/* 802FA90C 002F786C 91 84 00 04 */ stw r12, 4(r4) +lbl_802FA910: +/* 802FA910 002F7870 83 61 00 30 */ lwz r27, 0x30(r1) +/* 802FA914 002F7874 28 1B 00 00 */ cmplwi r27, 0 +/* 802FA918 002F7878 40 82 FF 70 */ bne lbl_802FA888 +/* 802FA91C 002F787C 38 0A FF FF */ addi r0, r10, -1 +/* 802FA920 002F7880 39 80 00 01 */ li r12, 1 +/* 802FA924 002F7884 7D 80 00 30 */ slw r0, r12, r0 +/* 802FA928 002F7888 7D 60 00 39 */ and. r0, r11, r0 +/* 802FA92C 002F788C 41 82 00 10 */ beq lbl_802FA93C +/* 802FA930 002F7890 38 00 FF FF */ li r0, -1 +/* 802FA934 002F7894 7C 00 50 30 */ slw r0, r0, r10 +/* 802FA938 002F7898 7D 6B 03 78 */ or r11, r11, r0 +lbl_802FA93C: +/* 802FA93C 002F789C A8 07 00 02 */ lha r0, 2(r7) +/* 802FA940 002F78A0 7C 00 5A 14 */ add r0, r0, r11 +/* 802FA944 002F78A4 B0 08 00 02 */ sth r0, 2(r8) +/* 802FA948 002F78A8 89 45 00 0B */ lbz r10, 0xb(r5) +/* 802FA94C 002F78AC 28 0A 00 00 */ cmplwi r10, 0 +/* 802FA950 002F78B0 40 82 00 0C */ bne lbl_802FA95C +/* 802FA954 002F78B4 39 60 00 00 */ li r11, 0 +/* 802FA958 002F78B8 48 00 00 C8 */ b lbl_802FAA20 +lbl_802FA95C: +/* 802FA95C 002F78BC 39 60 00 00 */ li r11, 0 +/* 802FA960 002F78C0 91 41 00 28 */ stw r10, 0x28(r1) +/* 802FA964 002F78C4 7D 60 5B 78 */ mr r0, r11 +/* 802FA968 002F78C8 48 00 00 8C */ b lbl_802FA9F4 +lbl_802FA96C: +/* 802FA96C 002F78CC 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FA970 002F78D0 39 81 00 2C */ addi r12, r1, 0x2c +/* 802FA974 002F78D4 23 BD 00 20 */ subfic r29, r29, 0x20 +/* 802FA978 002F78D8 7C 1B E8 40 */ cmplw r27, r29 +/* 802FA97C 002F78DC 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 802FA980 002F78E0 40 80 00 08 */ bge lbl_802FA988 +/* 802FA984 002F78E4 39 81 00 28 */ addi r12, r1, 0x28 +lbl_802FA988: +/* 802FA988 002F78E8 83 EC 00 00 */ lwz r31, 0(r12) +/* 802FA98C 002F78EC 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FA990 002F78F0 83 C4 00 04 */ lwz r30, 4(r4) +/* 802FA994 002F78F4 23 9F 00 20 */ subfic r28, r31, 0x20 +/* 802FA998 002F78F8 7D 9D FA 14 */ add r12, r29, r31 +/* 802FA99C 002F78FC 91 84 00 08 */ stw r12, 8(r4) +/* 802FA9A0 002F7900 7F DE EC 30 */ srw r30, r30, r29 +/* 802FA9A4 002F7904 7F A0 E0 50 */ subf r29, r0, r28 +/* 802FA9A8 002F7908 7C 00 FA 14 */ add r0, r0, r31 +/* 802FA9AC 002F790C 81 81 00 28 */ lwz r12, 0x28(r1) +/* 802FA9B0 002F7910 7F DE E0 30 */ slw r30, r30, r28 +/* 802FA9B4 002F7914 7F DD EC 30 */ srw r29, r30, r29 +/* 802FA9B8 002F7918 7D 9F 60 50 */ subf r12, r31, r12 +/* 802FA9BC 002F791C 91 81 00 28 */ stw r12, 0x28(r1) +/* 802FA9C0 002F7920 7D 6B EB 78 */ or r11, r11, r29 +/* 802FA9C4 002F7924 81 84 00 08 */ lwz r12, 8(r4) +/* 802FA9C8 002F7928 28 0C 00 20 */ cmplwi r12, 0x20 +/* 802FA9CC 002F792C 40 82 00 28 */ bne lbl_802FA9F4 +/* 802FA9D0 002F7930 39 80 00 00 */ li r12, 0 +/* 802FA9D4 002F7934 91 84 00 08 */ stw r12, 8(r4) +/* 802FA9D8 002F7938 83 64 00 00 */ lwz r27, 0(r4) +/* 802FA9DC 002F793C 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FA9E0 002F7940 39 8C 00 04 */ addi r12, r12, 4 +/* 802FA9E4 002F7944 91 9B 00 00 */ stw r12, 0(r27) +/* 802FA9E8 002F7948 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FA9EC 002F794C 81 8C 00 00 */ lwz r12, 0(r12) +/* 802FA9F0 002F7950 91 84 00 04 */ stw r12, 4(r4) +lbl_802FA9F4: +/* 802FA9F4 002F7954 83 61 00 28 */ lwz r27, 0x28(r1) +/* 802FA9F8 002F7958 28 1B 00 00 */ cmplwi r27, 0 +/* 802FA9FC 002F795C 40 82 FF 70 */ bne lbl_802FA96C +/* 802FAA00 002F7960 38 0A FF FF */ addi r0, r10, -1 +/* 802FAA04 002F7964 39 80 00 01 */ li r12, 1 +/* 802FAA08 002F7968 7D 80 00 30 */ slw r0, r12, r0 +/* 802FAA0C 002F796C 7D 60 00 39 */ and. r0, r11, r0 +/* 802FAA10 002F7970 41 82 00 10 */ beq lbl_802FAA20 +/* 802FAA14 002F7974 38 00 FF FF */ li r0, -1 +/* 802FAA18 002F7978 7C 00 50 30 */ slw r0, r0, r10 +/* 802FAA1C 002F797C 7D 6B 03 78 */ or r11, r11, r0 +lbl_802FAA20: +/* 802FAA20 002F7980 A8 07 00 04 */ lha r0, 4(r7) +/* 802FAA24 002F7984 7C 00 5A 14 */ add r0, r0, r11 +/* 802FAA28 002F7988 B0 08 00 04 */ sth r0, 4(r8) +/* 802FAA2C 002F798C 89 45 00 0E */ lbz r10, 0xe(r5) +/* 802FAA30 002F7990 28 0A 00 00 */ cmplwi r10, 0 +/* 802FAA34 002F7994 40 82 00 0C */ bne lbl_802FAA40 +/* 802FAA38 002F7998 39 60 00 00 */ li r11, 0 +/* 802FAA3C 002F799C 48 00 00 C8 */ b lbl_802FAB04 +lbl_802FAA40: +/* 802FAA40 002F79A0 39 60 00 00 */ li r11, 0 +/* 802FAA44 002F79A4 91 41 00 20 */ stw r10, 0x20(r1) +/* 802FAA48 002F79A8 7D 60 5B 78 */ mr r0, r11 +/* 802FAA4C 002F79AC 48 00 00 8C */ b lbl_802FAAD8 +lbl_802FAA50: +/* 802FAA50 002F79B0 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FAA54 002F79B4 39 81 00 24 */ addi r12, r1, 0x24 +/* 802FAA58 002F79B8 23 BD 00 20 */ subfic r29, r29, 0x20 +/* 802FAA5C 002F79BC 7C 1B E8 40 */ cmplw r27, r29 +/* 802FAA60 002F79C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802FAA64 002F79C4 40 80 00 08 */ bge lbl_802FAA6C +/* 802FAA68 002F79C8 39 81 00 20 */ addi r12, r1, 0x20 +lbl_802FAA6C: +/* 802FAA6C 002F79CC 83 EC 00 00 */ lwz r31, 0(r12) +/* 802FAA70 002F79D0 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FAA74 002F79D4 83 C4 00 04 */ lwz r30, 4(r4) +/* 802FAA78 002F79D8 23 9F 00 20 */ subfic r28, r31, 0x20 +/* 802FAA7C 002F79DC 7D 9D FA 14 */ add r12, r29, r31 +/* 802FAA80 002F79E0 91 84 00 08 */ stw r12, 8(r4) +/* 802FAA84 002F79E4 7F DE EC 30 */ srw r30, r30, r29 +/* 802FAA88 002F79E8 7F A0 E0 50 */ subf r29, r0, r28 +/* 802FAA8C 002F79EC 7C 00 FA 14 */ add r0, r0, r31 +/* 802FAA90 002F79F0 81 81 00 20 */ lwz r12, 0x20(r1) +/* 802FAA94 002F79F4 7F DE E0 30 */ slw r30, r30, r28 +/* 802FAA98 002F79F8 7F DD EC 30 */ srw r29, r30, r29 +/* 802FAA9C 002F79FC 7D 9F 60 50 */ subf r12, r31, r12 +/* 802FAAA0 002F7A00 91 81 00 20 */ stw r12, 0x20(r1) +/* 802FAAA4 002F7A04 7D 6B EB 78 */ or r11, r11, r29 +/* 802FAAA8 002F7A08 81 84 00 08 */ lwz r12, 8(r4) +/* 802FAAAC 002F7A0C 28 0C 00 20 */ cmplwi r12, 0x20 +/* 802FAAB0 002F7A10 40 82 00 28 */ bne lbl_802FAAD8 +/* 802FAAB4 002F7A14 39 80 00 00 */ li r12, 0 +/* 802FAAB8 002F7A18 91 84 00 08 */ stw r12, 8(r4) +/* 802FAABC 002F7A1C 83 64 00 00 */ lwz r27, 0(r4) +/* 802FAAC0 002F7A20 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FAAC4 002F7A24 39 8C 00 04 */ addi r12, r12, 4 +/* 802FAAC8 002F7A28 91 9B 00 00 */ stw r12, 0(r27) +/* 802FAACC 002F7A2C 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FAAD0 002F7A30 81 8C 00 00 */ lwz r12, 0(r12) +/* 802FAAD4 002F7A34 91 84 00 04 */ stw r12, 4(r4) +lbl_802FAAD8: +/* 802FAAD8 002F7A38 83 61 00 20 */ lwz r27, 0x20(r1) +/* 802FAADC 002F7A3C 28 1B 00 00 */ cmplwi r27, 0 +/* 802FAAE0 002F7A40 40 82 FF 70 */ bne lbl_802FAA50 +/* 802FAAE4 002F7A44 38 0A FF FF */ addi r0, r10, -1 +/* 802FAAE8 002F7A48 39 80 00 01 */ li r12, 1 +/* 802FAAEC 002F7A4C 7D 80 00 30 */ slw r0, r12, r0 +/* 802FAAF0 002F7A50 7D 60 00 39 */ and. r0, r11, r0 +/* 802FAAF4 002F7A54 41 82 00 10 */ beq lbl_802FAB04 +/* 802FAAF8 002F7A58 38 00 FF FF */ li r0, -1 +/* 802FAAFC 002F7A5C 7C 00 50 30 */ slw r0, r0, r10 +/* 802FAB00 002F7A60 7D 6B 03 78 */ or r11, r11, r0 +lbl_802FAB04: +/* 802FAB04 002F7A64 A8 07 00 06 */ lha r0, 6(r7) +/* 802FAB08 002F7A68 7C 00 5A 14 */ add r0, r0, r11 +/* 802FAB0C 002F7A6C B0 08 00 06 */ sth r0, 6(r8) +/* 802FAB10 002F7A70 81 43 00 08 */ lwz r10, 8(r3) +/* 802FAB14 002F7A74 7C 0A 48 AE */ lbzx r0, r10, r9 +/* 802FAB18 002F7A78 28 00 00 00 */ cmplwi r0, 0 +/* 802FAB1C 002F7A7C 41 82 02 C8 */ beq lbl_802FADE4 +/* 802FAB20 002F7A80 A0 05 00 04 */ lhz r0, 4(r5) +/* 802FAB24 002F7A84 28 00 00 00 */ cmplwi r0, 0 +/* 802FAB28 002F7A88 40 82 00 0C */ bne lbl_802FAB34 +/* 802FAB2C 002F7A8C 39 65 00 06 */ addi r11, r5, 6 +/* 802FAB30 002F7A90 48 00 00 08 */ b lbl_802FAB38 +lbl_802FAB34: +/* 802FAB34 002F7A94 39 65 00 0F */ addi r11, r5, 0xf +lbl_802FAB38: +/* 802FAB38 002F7A98 89 4B 00 04 */ lbz r10, 4(r11) +/* 802FAB3C 002F7A9C 28 0A 00 00 */ cmplwi r10, 0 +/* 802FAB40 002F7AA0 40 82 00 0C */ bne lbl_802FAB4C +/* 802FAB44 002F7AA4 39 80 00 00 */ li r12, 0 +/* 802FAB48 002F7AA8 48 00 00 C8 */ b lbl_802FAC10 +lbl_802FAB4C: +/* 802FAB4C 002F7AAC 39 80 00 00 */ li r12, 0 +/* 802FAB50 002F7AB0 91 41 00 18 */ stw r10, 0x18(r1) +/* 802FAB54 002F7AB4 7D 80 63 78 */ mr r0, r12 +/* 802FAB58 002F7AB8 48 00 00 8C */ b lbl_802FABE4 +lbl_802FAB5C: +/* 802FAB5C 002F7ABC 83 C4 00 08 */ lwz r30, 8(r4) +/* 802FAB60 002F7AC0 3B A1 00 1C */ addi r29, r1, 0x1c +/* 802FAB64 002F7AC4 23 DE 00 20 */ subfic r30, r30, 0x20 +/* 802FAB68 002F7AC8 7C 1B F0 40 */ cmplw r27, r30 +/* 802FAB6C 002F7ACC 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 802FAB70 002F7AD0 40 80 00 08 */ bge lbl_802FAB78 +/* 802FAB74 002F7AD4 3B A1 00 18 */ addi r29, r1, 0x18 +lbl_802FAB78: +/* 802FAB78 002F7AD8 83 7D 00 00 */ lwz r27, 0(r29) +/* 802FAB7C 002F7ADC 83 C4 00 08 */ lwz r30, 8(r4) +/* 802FAB80 002F7AE0 83 E4 00 04 */ lwz r31, 4(r4) +/* 802FAB84 002F7AE4 23 9B 00 20 */ subfic r28, r27, 0x20 +/* 802FAB88 002F7AE8 7F BE DA 14 */ add r29, r30, r27 +/* 802FAB8C 002F7AEC 93 A4 00 08 */ stw r29, 8(r4) +/* 802FAB90 002F7AF0 7F FF F4 30 */ srw r31, r31, r30 +/* 802FAB94 002F7AF4 7F C0 E0 50 */ subf r30, r0, r28 +/* 802FAB98 002F7AF8 7C 00 DA 14 */ add r0, r0, r27 +/* 802FAB9C 002F7AFC 83 A1 00 18 */ lwz r29, 0x18(r1) +/* 802FABA0 002F7B00 7F FF E0 30 */ slw r31, r31, r28 +/* 802FABA4 002F7B04 7F FE F4 30 */ srw r30, r31, r30 +/* 802FABA8 002F7B08 7F BB E8 50 */ subf r29, r27, r29 +/* 802FABAC 002F7B0C 93 A1 00 18 */ stw r29, 0x18(r1) +/* 802FABB0 002F7B10 7D 8C F3 78 */ or r12, r12, r30 +/* 802FABB4 002F7B14 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FABB8 002F7B18 28 1D 00 20 */ cmplwi r29, 0x20 +/* 802FABBC 002F7B1C 40 82 00 28 */ bne lbl_802FABE4 +/* 802FABC0 002F7B20 3B A0 00 00 */ li r29, 0 +/* 802FABC4 002F7B24 93 A4 00 08 */ stw r29, 8(r4) +/* 802FABC8 002F7B28 83 64 00 00 */ lwz r27, 0(r4) +/* 802FABCC 002F7B2C 83 BB 00 00 */ lwz r29, 0(r27) +/* 802FABD0 002F7B30 3B BD 00 04 */ addi r29, r29, 4 +/* 802FABD4 002F7B34 93 BB 00 00 */ stw r29, 0(r27) +/* 802FABD8 002F7B38 83 BB 00 00 */ lwz r29, 0(r27) +/* 802FABDC 002F7B3C 83 BD 00 00 */ lwz r29, 0(r29) +/* 802FABE0 002F7B40 93 A4 00 04 */ stw r29, 4(r4) +lbl_802FABE4: +/* 802FABE4 002F7B44 83 61 00 18 */ lwz r27, 0x18(r1) +/* 802FABE8 002F7B48 28 1B 00 00 */ cmplwi r27, 0 +/* 802FABEC 002F7B4C 40 82 FF 70 */ bne lbl_802FAB5C +/* 802FABF0 002F7B50 38 0A FF FF */ addi r0, r10, -1 +/* 802FABF4 002F7B54 3B A0 00 01 */ li r29, 1 +/* 802FABF8 002F7B58 7F A0 00 30 */ slw r0, r29, r0 +/* 802FABFC 002F7B5C 7D 80 00 39 */ and. r0, r12, r0 +/* 802FAC00 002F7B60 41 82 00 10 */ beq lbl_802FAC10 +/* 802FAC04 002F7B64 38 00 FF FF */ li r0, -1 +/* 802FAC08 002F7B68 7C 00 50 30 */ slw r0, r0, r10 +/* 802FAC0C 002F7B6C 7D 8C 03 78 */ or r12, r12, r0 +lbl_802FAC10: +/* 802FAC10 002F7B70 A8 07 00 08 */ lha r0, 8(r7) +/* 802FAC14 002F7B74 7C 00 62 14 */ add r0, r0, r12 +/* 802FAC18 002F7B78 B0 08 00 08 */ sth r0, 8(r8) +/* 802FAC1C 002F7B7C 89 4B 00 07 */ lbz r10, 7(r11) +/* 802FAC20 002F7B80 28 0A 00 00 */ cmplwi r10, 0 +/* 802FAC24 002F7B84 40 82 00 0C */ bne lbl_802FAC30 +/* 802FAC28 002F7B88 39 80 00 00 */ li r12, 0 +/* 802FAC2C 002F7B8C 48 00 00 C8 */ b lbl_802FACF4 +lbl_802FAC30: +/* 802FAC30 002F7B90 39 80 00 00 */ li r12, 0 +/* 802FAC34 002F7B94 91 41 00 10 */ stw r10, 0x10(r1) +/* 802FAC38 002F7B98 7D 80 63 78 */ mr r0, r12 +/* 802FAC3C 002F7B9C 48 00 00 8C */ b lbl_802FACC8 +lbl_802FAC40: +/* 802FAC40 002F7BA0 83 C4 00 08 */ lwz r30, 8(r4) +/* 802FAC44 002F7BA4 3B A1 00 14 */ addi r29, r1, 0x14 +/* 802FAC48 002F7BA8 23 DE 00 20 */ subfic r30, r30, 0x20 +/* 802FAC4C 002F7BAC 7C 1B F0 40 */ cmplw r27, r30 +/* 802FAC50 002F7BB0 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802FAC54 002F7BB4 40 80 00 08 */ bge lbl_802FAC5C +/* 802FAC58 002F7BB8 3B A1 00 10 */ addi r29, r1, 0x10 +lbl_802FAC5C: +/* 802FAC5C 002F7BBC 83 9D 00 00 */ lwz r28, 0(r29) +/* 802FAC60 002F7BC0 83 A4 00 08 */ lwz r29, 8(r4) +/* 802FAC64 002F7BC4 83 E4 00 04 */ lwz r31, 4(r4) +/* 802FAC68 002F7BC8 23 7C 00 20 */ subfic r27, r28, 0x20 +/* 802FAC6C 002F7BCC 7F DD E2 14 */ add r30, r29, r28 +/* 802FAC70 002F7BD0 93 C4 00 08 */ stw r30, 8(r4) +/* 802FAC74 002F7BD4 7F FD EC 30 */ srw r29, r31, r29 +/* 802FAC78 002F7BD8 7F E0 D8 50 */ subf r31, r0, r27 +/* 802FAC7C 002F7BDC 7C 00 E2 14 */ add r0, r0, r28 +/* 802FAC80 002F7BE0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 802FAC84 002F7BE4 7F BD D8 30 */ slw r29, r29, r27 +/* 802FAC88 002F7BE8 7F BF FC 30 */ srw r31, r29, r31 +/* 802FAC8C 002F7BEC 7F DC F0 50 */ subf r30, r28, r30 +/* 802FAC90 002F7BF0 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802FAC94 002F7BF4 7D 8C FB 78 */ or r12, r12, r31 +/* 802FAC98 002F7BF8 83 C4 00 08 */ lwz r30, 8(r4) +/* 802FAC9C 002F7BFC 28 1E 00 20 */ cmplwi r30, 0x20 +/* 802FACA0 002F7C00 40 82 00 28 */ bne lbl_802FACC8 +/* 802FACA4 002F7C04 3B C0 00 00 */ li r30, 0 +/* 802FACA8 002F7C08 93 C4 00 08 */ stw r30, 8(r4) +/* 802FACAC 002F7C0C 83 64 00 00 */ lwz r27, 0(r4) +/* 802FACB0 002F7C10 83 DB 00 00 */ lwz r30, 0(r27) +/* 802FACB4 002F7C14 3B DE 00 04 */ addi r30, r30, 4 +/* 802FACB8 002F7C18 93 DB 00 00 */ stw r30, 0(r27) +/* 802FACBC 002F7C1C 83 DB 00 00 */ lwz r30, 0(r27) +/* 802FACC0 002F7C20 83 DE 00 00 */ lwz r30, 0(r30) +/* 802FACC4 002F7C24 93 C4 00 04 */ stw r30, 4(r4) +lbl_802FACC8: +/* 802FACC8 002F7C28 83 61 00 10 */ lwz r27, 0x10(r1) +/* 802FACCC 002F7C2C 28 1B 00 00 */ cmplwi r27, 0 +/* 802FACD0 002F7C30 40 82 FF 70 */ bne lbl_802FAC40 +/* 802FACD4 002F7C34 38 0A FF FF */ addi r0, r10, -1 +/* 802FACD8 002F7C38 3B C0 00 01 */ li r30, 1 +/* 802FACDC 002F7C3C 7F C0 00 30 */ slw r0, r30, r0 +/* 802FACE0 002F7C40 7D 80 00 39 */ and. r0, r12, r0 +/* 802FACE4 002F7C44 41 82 00 10 */ beq lbl_802FACF4 +/* 802FACE8 002F7C48 38 00 FF FF */ li r0, -1 +/* 802FACEC 002F7C4C 7C 00 50 30 */ slw r0, r0, r10 +/* 802FACF0 002F7C50 7D 8C 03 78 */ or r12, r12, r0 +lbl_802FACF4: +/* 802FACF4 002F7C54 A8 07 00 0A */ lha r0, 0xa(r7) +/* 802FACF8 002F7C58 7C 00 62 14 */ add r0, r0, r12 +/* 802FACFC 002F7C5C B0 08 00 0A */ sth r0, 0xa(r8) +/* 802FAD00 002F7C60 89 4B 00 0A */ lbz r10, 0xa(r11) +/* 802FAD04 002F7C64 28 0A 00 00 */ cmplwi r10, 0 +/* 802FAD08 002F7C68 40 82 00 0C */ bne lbl_802FAD14 +/* 802FAD0C 002F7C6C 39 60 00 00 */ li r11, 0 +/* 802FAD10 002F7C70 48 00 00 C8 */ b lbl_802FADD8 +lbl_802FAD14: +/* 802FAD14 002F7C74 39 60 00 00 */ li r11, 0 +/* 802FAD18 002F7C78 91 41 00 08 */ stw r10, 8(r1) +/* 802FAD1C 002F7C7C 7D 60 5B 78 */ mr r0, r11 +/* 802FAD20 002F7C80 48 00 00 8C */ b lbl_802FADAC +lbl_802FAD24: +/* 802FAD24 002F7C84 83 C4 00 08 */ lwz r30, 8(r4) +/* 802FAD28 002F7C88 39 81 00 0C */ addi r12, r1, 0xc +/* 802FAD2C 002F7C8C 23 DE 00 20 */ subfic r30, r30, 0x20 +/* 802FAD30 002F7C90 7C 1B F0 40 */ cmplw r27, r30 +/* 802FAD34 002F7C94 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802FAD38 002F7C98 40 80 00 08 */ bge lbl_802FAD40 +/* 802FAD3C 002F7C9C 39 81 00 08 */ addi r12, r1, 8 +lbl_802FAD40: +/* 802FAD40 002F7CA0 83 8C 00 00 */ lwz r28, 0(r12) +/* 802FAD44 002F7CA4 83 C4 00 08 */ lwz r30, 8(r4) +/* 802FAD48 002F7CA8 83 E4 00 04 */ lwz r31, 4(r4) +/* 802FAD4C 002F7CAC 23 7C 00 20 */ subfic r27, r28, 0x20 +/* 802FAD50 002F7CB0 7D 9E E2 14 */ add r12, r30, r28 +/* 802FAD54 002F7CB4 91 84 00 08 */ stw r12, 8(r4) +/* 802FAD58 002F7CB8 7F FE F4 30 */ srw r30, r31, r30 +/* 802FAD5C 002F7CBC 7F E0 D8 50 */ subf r31, r0, r27 +/* 802FAD60 002F7CC0 7C 00 E2 14 */ add r0, r0, r28 +/* 802FAD64 002F7CC4 81 81 00 08 */ lwz r12, 8(r1) +/* 802FAD68 002F7CC8 7F DE D8 30 */ slw r30, r30, r27 +/* 802FAD6C 002F7CCC 7F DF FC 30 */ srw r31, r30, r31 +/* 802FAD70 002F7CD0 7D 9C 60 50 */ subf r12, r28, r12 +/* 802FAD74 002F7CD4 91 81 00 08 */ stw r12, 8(r1) +/* 802FAD78 002F7CD8 7D 6B FB 78 */ or r11, r11, r31 +/* 802FAD7C 002F7CDC 81 84 00 08 */ lwz r12, 8(r4) +/* 802FAD80 002F7CE0 28 0C 00 20 */ cmplwi r12, 0x20 +/* 802FAD84 002F7CE4 40 82 00 28 */ bne lbl_802FADAC +/* 802FAD88 002F7CE8 39 80 00 00 */ li r12, 0 +/* 802FAD8C 002F7CEC 91 84 00 08 */ stw r12, 8(r4) +/* 802FAD90 002F7CF0 83 64 00 00 */ lwz r27, 0(r4) +/* 802FAD94 002F7CF4 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FAD98 002F7CF8 39 8C 00 04 */ addi r12, r12, 4 +/* 802FAD9C 002F7CFC 91 9B 00 00 */ stw r12, 0(r27) +/* 802FADA0 002F7D00 81 9B 00 00 */ lwz r12, 0(r27) +/* 802FADA4 002F7D04 81 8C 00 00 */ lwz r12, 0(r12) +/* 802FADA8 002F7D08 91 84 00 04 */ stw r12, 4(r4) +lbl_802FADAC: +/* 802FADAC 002F7D0C 83 61 00 08 */ lwz r27, 8(r1) +/* 802FADB0 002F7D10 28 1B 00 00 */ cmplwi r27, 0 +/* 802FADB4 002F7D14 40 82 FF 70 */ bne lbl_802FAD24 +/* 802FADB8 002F7D18 38 0A FF FF */ addi r0, r10, -1 +/* 802FADBC 002F7D1C 39 80 00 01 */ li r12, 1 +/* 802FADC0 002F7D20 7D 80 00 30 */ slw r0, r12, r0 +/* 802FADC4 002F7D24 7D 60 00 39 */ and. r0, r11, r0 +/* 802FADC8 002F7D28 41 82 00 10 */ beq lbl_802FADD8 +/* 802FADCC 002F7D2C 38 00 FF FF */ li r0, -1 +/* 802FADD0 002F7D30 7C 00 50 30 */ slw r0, r0, r10 +/* 802FADD4 002F7D34 7D 6B 03 78 */ or r11, r11, r0 +lbl_802FADD8: +/* 802FADD8 002F7D38 A8 07 00 0C */ lha r0, 0xc(r7) +/* 802FADDC 002F7D3C 7C 00 5A 14 */ add r0, r0, r11 +/* 802FADE0 002F7D40 B0 08 00 0C */ sth r0, 0xc(r8) +lbl_802FADE4: +/* 802FADE4 002F7D44 A0 05 00 04 */ lhz r0, 4(r5) +/* 802FADE8 002F7D48 39 08 00 10 */ addi r8, r8, 0x10 +/* 802FADEC 002F7D4C 38 E7 00 10 */ addi r7, r7, 0x10 +/* 802FADF0 002F7D50 28 00 00 00 */ cmplwi r0, 0 +/* 802FADF4 002F7D54 40 82 00 0C */ bne lbl_802FAE00 +/* 802FADF8 002F7D58 38 A5 00 06 */ addi r5, r5, 6 +/* 802FADFC 002F7D5C 48 00 00 08 */ b lbl_802FAE04 +lbl_802FAE00: +/* 802FAE00 002F7D60 38 A5 00 0F */ addi r5, r5, 0xf +lbl_802FAE04: +/* 802FAE04 002F7D64 A0 05 00 00 */ lhz r0, 0(r5) +/* 802FAE08 002F7D68 28 00 00 00 */ cmplwi r0, 0 +/* 802FAE0C 002F7D6C 40 82 00 0C */ bne lbl_802FAE18 +/* 802FAE10 002F7D70 38 A5 00 02 */ addi r5, r5, 2 +/* 802FAE14 002F7D74 48 00 00 08 */ b lbl_802FAE1C +lbl_802FAE18: +/* 802FAE18 002F7D78 38 A5 00 0B */ addi r5, r5, 0xb +lbl_802FAE1C: +/* 802FAE1C 002F7D7C 39 29 00 01 */ addi r9, r9, 1 +/* 802FAE20 002F7D80 42 00 F9 98 */ bdnz lbl_802FA7B8 +lbl_802FAE24: +/* 802FAE24 002F7D84 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802FAE28 002F7D88 38 03 00 01 */ addi r0, r3, 1 +/* 802FAE2C 002F7D8C 90 06 00 1C */ stw r0, 0x1c(r6) +/* 802FAE30 002F7D90 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 802FAE34 002F7D94 38 21 00 60 */ addi r1, r1, 0x60 +/* 802FAE38 002F7D98 4E 80 00 20 */ blr + +.global sub_802fae3c +sub_802fae3c: +/* 802FAE3C 002F7D9C C0 23 00 78 */ lfs f1, 0x78(r3) +/* 802FAE40 002F7DA0 4E 80 00 20 */ blr + +.global sub_802fae44 +sub_802fae44: +/* 802FAE44 002F7DA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FAE48 002F7DA8 7C 08 02 A6 */ mflr r0 +/* 802FAE4C 002F7DAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FAE50 002F7DB0 80 C3 00 84 */ lwz r6, 0x84(r3) +/* 802FAE54 002F7DB4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802FAE58 002F7DB8 38 06 00 01 */ addi r0, r6, 1 +/* 802FAE5C 002F7DBC 90 03 00 84 */ stw r0, 0x84(r3) +/* 802FAE60 002F7DC0 88 03 00 10 */ lbz r0, 0x10(r3) +/* 802FAE64 002F7DC4 28 00 00 00 */ cmplwi r0, 0 +/* 802FAE68 002F7DC8 41 82 00 0C */ beq lbl_802FAE74 +/* 802FAE6C 002F7DCC 38 C3 00 3C */ addi r6, r3, 0x3c +/* 802FAE70 002F7DD0 48 00 00 08 */ b lbl_802FAE78 +lbl_802FAE74: +/* 802FAE74 002F7DD4 38 C3 00 14 */ addi r6, r3, 0x14 +lbl_802FAE78: +/* 802FAE78 002F7DD8 28 00 00 00 */ cmplwi r0, 0 +/* 802FAE7C 002F7DDC 41 82 00 0C */ beq lbl_802FAE88 +/* 802FAE80 002F7DE0 38 63 00 14 */ addi r3, r3, 0x14 +/* 802FAE84 002F7DE4 48 00 00 08 */ b lbl_802FAE8C +lbl_802FAE88: +/* 802FAE88 002F7DE8 38 63 00 3C */ addi r3, r3, 0x3c +lbl_802FAE8C: +/* 802FAE8C 002F7DEC 4B FF F8 D5 */ bl "IncrementInto__27CFBStreamedAnimReaderTotalsFR47CBitLevelLoader<28CMemoryInputToBitLevelLoader>RC22CFBStreamedCompressionR27CFBStreamedAnimReaderTotals" +/* 802FAE90 002F7DF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FAE94 002F7DF4 7C 08 03 A6 */ mtlr r0 +/* 802FAE98 002F7DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FAE9C 002F7DFC 4E 80 00 20 */ blr + +.global sub_802faea0 +sub_802faea0: +/* 802FAEA0 002F7E00 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802FAEA4 002F7E04 7C 08 02 A6 */ mflr r0 +/* 802FAEA8 002F7E08 90 01 00 54 */ stw r0, 0x54(r1) +/* 802FAEAC 002F7E0C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802FAEB0 002F7E10 7C 9C 23 78 */ mr r28, r4 +/* 802FAEB4 002F7E14 7C 7B 1B 78 */ mr r27, r3 +/* 802FAEB8 002F7E18 7C BD 2B 78 */ mr r29, r5 +/* 802FAEBC 002F7E1C 7C DE 33 78 */ mr r30, r6 +/* 802FAEC0 002F7E20 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802FAEC4 002F7E24 38 61 00 0C */ addi r3, r1, 0xc +/* 802FAEC8 002F7E28 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802FAECC 002F7E2C C0 24 00 08 */ lfs f1, 8(r4) +/* 802FAED0 002F7E30 48 04 DF 1D */ bl __ct__13CCharAnimTimeFf +/* 802FAED4 002F7E34 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802FAED8 002F7E38 7F C3 F3 78 */ mr r3, r30 +/* 802FAEDC 002F7E3C 38 81 00 0C */ addi r4, r1, 0xc +/* 802FAEE0 002F7E40 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802FAEE4 002F7E44 48 04 DB 35 */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FAEE8 002F7E48 48 08 EA 6D */ bl __cvt_fp2unsigned +/* 802FAEEC 002F7E4C 3C 00 43 30 */ lis r0, 0x4330 +/* 802FAEF0 002F7E50 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802FAEF4 002F7E54 C8 42 C6 E0 */ lfd f2, lbl_805AE400@sda21(r2) +/* 802FAEF8 002F7E58 90 01 00 28 */ stw r0, 0x28(r1) +/* 802FAEFC 002F7E5C C0 61 00 0C */ lfs f3, 0xc(r1) +/* 802FAF00 002F7E60 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802FAF04 002F7E64 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802FAF08 002F7E68 EC 40 10 28 */ fsubs f2, f0, f2 +/* 802FAF0C 002F7E6C C0 0D 9C 20 */ lfs f0, lbl_805A87E0@sda21(r13) +/* 802FAF10 002F7E70 90 61 00 18 */ stw r3, 0x18(r1) +/* 802FAF14 002F7E74 EC 22 08 FC */ fnmsubs f1, f2, f3, f1 +/* 802FAF18 002F7E78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802FAF1C 002F7E7C D0 21 00 08 */ stfs f1, 8(r1) +/* 802FAF20 002F7E80 40 80 00 0C */ bge lbl_802FAF2C +/* 802FAF24 002F7E84 38 6D 9C 20 */ addi r3, r13, lbl_805A87E0@sda21 +/* 802FAF28 002F7E88 48 00 00 08 */ b lbl_802FAF30 +lbl_802FAF2C: +/* 802FAF2C 002F7E8C 38 61 00 08 */ addi r3, r1, 8 +lbl_802FAF30: +/* 802FAF30 002F7E90 C0 23 00 00 */ lfs f1, 0(r3) +/* 802FAF34 002F7E94 38 7B 00 64 */ addi r3, r27, 0x64 +/* 802FAF38 002F7E98 38 81 00 14 */ addi r4, r1, 0x14 +/* 802FAF3C 002F7E9C EC 01 18 24 */ fdivs f0, f1, f3 +/* 802FAF40 002F7EA0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802FAF44 002F7EA4 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802FAF48 002F7EA8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802FAF4C 002F7EAC 4B FF E4 B9 */ bl sub_802f9404 +/* 802FAF50 002F7EB0 83 DB 00 0C */ lwz r30, 0xc(r27) +/* 802FAF54 002F7EB4 83 FB 00 7C */ lwz r31, 0x7c(r27) +/* 802FAF58 002F7EB8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802FAF5C 002F7EBC 38 83 00 24 */ addi r4, r3, 0x24 +/* 802FAF60 002F7EC0 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802FAF64 002F7EC4 54 60 06 FF */ clrlwi. r0, r3, 0x1b +/* 802FAF68 002F7EC8 54 63 D9 7E */ srwi r3, r3, 5 +/* 802FAF6C 002F7ECC 38 03 00 01 */ addi r0, r3, 1 +/* 802FAF70 002F7ED0 40 82 00 08 */ bne lbl_802FAF78 +/* 802FAF74 002F7ED4 7C 60 1B 78 */ mr r0, r3 +lbl_802FAF78: +/* 802FAF78 002F7ED8 88 BB 00 10 */ lbz r5, 0x10(r27) +/* 802FAF7C 002F7EDC 54 00 10 3A */ slwi r0, r0, 2 +/* 802FAF80 002F7EE0 7C 84 02 14 */ add r4, r4, r0 +/* 802FAF84 002F7EE4 28 05 00 00 */ cmplwi r5, 0 +/* 802FAF88 002F7EE8 38 84 00 04 */ addi r4, r4, 4 +/* 802FAF8C 002F7EEC 41 82 00 0C */ beq lbl_802FAF98 +/* 802FAF90 002F7EF0 38 7B 00 14 */ addi r3, r27, 0x14 +/* 802FAF94 002F7EF4 48 00 00 08 */ b lbl_802FAF9C +lbl_802FAF98: +/* 802FAF98 002F7EF8 38 7B 00 3C */ addi r3, r27, 0x3c +lbl_802FAF9C: +/* 802FAF9C 002F7EFC 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802FAFA0 002F7F00 7C 00 F8 40 */ cmplw r0, r31 +/* 802FAFA4 002F7F04 40 81 00 A8 */ ble lbl_802FB04C +/* 802FAFA8 002F7F08 7F C3 F3 78 */ mr r3, r30 +/* 802FAFAC 002F7F0C 48 00 01 3D */ bl sub_802fb0e8 +/* 802FAFB0 002F7F10 38 63 FF FC */ addi r3, r3, -4 +/* 802FAFB4 002F7F14 38 00 00 00 */ li r0, 0 +/* 802FAFB8 002F7F18 90 7C 00 00 */ stw r3, 0(r28) +/* 802FAFBC 002F7F1C 80 7C 00 00 */ lwz r3, 0(r28) +/* 802FAFC0 002F7F20 38 63 00 04 */ addi r3, r3, 4 +/* 802FAFC4 002F7F24 90 7C 00 00 */ stw r3, 0(r28) +/* 802FAFC8 002F7F28 80 7C 00 00 */ lwz r3, 0(r28) +/* 802FAFCC 002F7F2C 80 63 00 00 */ lwz r3, 0(r3) +/* 802FAFD0 002F7F30 93 9D 00 00 */ stw r28, 0(r29) +/* 802FAFD4 002F7F34 90 7D 00 04 */ stw r3, 4(r29) +/* 802FAFD8 002F7F38 90 1D 00 08 */ stw r0, 8(r29) +/* 802FAFDC 002F7F3C 88 1B 00 10 */ lbz r0, 0x10(r27) +/* 802FAFE0 002F7F40 28 00 00 00 */ cmplwi r0, 0 +/* 802FAFE4 002F7F44 41 82 00 0C */ beq lbl_802FAFF0 +/* 802FAFE8 002F7F48 38 7B 00 14 */ addi r3, r27, 0x14 +/* 802FAFEC 002F7F4C 48 00 00 08 */ b lbl_802FAFF4 +lbl_802FAFF0: +/* 802FAFF0 002F7F50 38 7B 00 3C */ addi r3, r27, 0x3c +lbl_802FAFF4: +/* 802FAFF4 002F7F54 7F C4 F3 78 */ mr r4, r30 +/* 802FAFF8 002F7F58 48 00 04 55 */ bl sub_802fb44c +/* 802FAFFC 002F7F5C 38 00 00 00 */ li r0, 0 +/* 802FB000 002F7F60 90 1B 00 84 */ stw r0, 0x84(r27) +/* 802FB004 002F7F64 88 1B 00 10 */ lbz r0, 0x10(r27) +/* 802FB008 002F7F68 28 00 00 00 */ cmplwi r0, 0 +/* 802FB00C 002F7F6C 41 82 00 0C */ beq lbl_802FB018 +/* 802FB010 002F7F70 38 DB 00 3C */ addi r6, r27, 0x3c +/* 802FB014 002F7F74 48 00 00 08 */ b lbl_802FB01C +lbl_802FB018: +/* 802FB018 002F7F78 38 DB 00 14 */ addi r6, r27, 0x14 +lbl_802FB01C: +/* 802FB01C 002F7F7C 28 00 00 00 */ cmplwi r0, 0 +/* 802FB020 002F7F80 41 82 00 0C */ beq lbl_802FB02C +/* 802FB024 002F7F84 38 7B 00 14 */ addi r3, r27, 0x14 +/* 802FB028 002F7F88 48 00 00 08 */ b lbl_802FB030 +lbl_802FB02C: +/* 802FB02C 002F7F8C 38 7B 00 3C */ addi r3, r27, 0x3c +lbl_802FB030: +/* 802FB030 002F7F90 7F A4 EB 78 */ mr r4, r29 +/* 802FB034 002F7F94 7F C5 F3 78 */ mr r5, r30 +/* 802FB038 002F7F98 4B FF F7 29 */ bl "IncrementInto__27CFBStreamedAnimReaderTotalsFR47CBitLevelLoader<28CMemoryInputToBitLevelLoader>RC22CFBStreamedCompressionR27CFBStreamedAnimReaderTotals" +/* 802FB03C 002F7F9C 80 7B 00 84 */ lwz r3, 0x84(r27) +/* 802FB040 002F7FA0 38 03 00 01 */ addi r0, r3, 1 +/* 802FB044 002F7FA4 90 1B 00 84 */ stw r0, 0x84(r27) +/* 802FB048 002F7FA8 48 00 00 8C */ b lbl_802FB0D4 +lbl_802FB04C: +/* 802FB04C 002F7FAC 28 05 00 00 */ cmplwi r5, 0 +/* 802FB050 002F7FB0 41 82 00 0C */ beq lbl_802FB05C +/* 802FB054 002F7FB4 38 7B 00 14 */ addi r3, r27, 0x14 +/* 802FB058 002F7FB8 48 00 00 08 */ b lbl_802FB060 +lbl_802FB05C: +/* 802FB05C 002F7FBC 38 7B 00 3C */ addi r3, r27, 0x3c +lbl_802FB060: +/* 802FB060 002F7FC0 28 05 00 00 */ cmplwi r5, 0 +/* 802FB064 002F7FC4 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 802FB068 002F7FC8 41 82 00 0C */ beq lbl_802FB074 +/* 802FB06C 002F7FCC 38 7B 00 3C */ addi r3, r27, 0x3c +/* 802FB070 002F7FD0 48 00 00 08 */ b lbl_802FB078 +lbl_802FB074: +/* 802FB074 002F7FD4 38 7B 00 14 */ addi r3, r27, 0x14 +lbl_802FB078: +/* 802FB078 002F7FD8 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802FB07C 002F7FDC 38 04 00 01 */ addi r0, r4, 1 +/* 802FB080 002F7FE0 7C 03 00 40 */ cmplw r3, r0 +/* 802FB084 002F7FE4 41 82 00 2C */ beq lbl_802FB0B0 +/* 802FB088 002F7FE8 7F 63 DB 78 */ mr r3, r27 +/* 802FB08C 002F7FEC 7F A4 EB 78 */ mr r4, r29 +/* 802FB090 002F7FF0 4B FF FD B5 */ bl sub_802fae44 +/* 802FB094 002F7FF4 48 00 00 1C */ b lbl_802FB0B0 +lbl_802FB098: +/* 802FB098 002F7FF8 7C 80 00 34 */ cntlzw r0, r4 +/* 802FB09C 002F7FFC 7F 63 DB 78 */ mr r3, r27 +/* 802FB0A0 002F8000 54 00 D9 7E */ srwi r0, r0, 5 +/* 802FB0A4 002F8004 7F A4 EB 78 */ mr r4, r29 +/* 802FB0A8 002F8008 98 1B 00 10 */ stb r0, 0x10(r27) +/* 802FB0AC 002F800C 4B FF FD 99 */ bl sub_802fae44 +lbl_802FB0B0: +/* 802FB0B0 002F8010 88 9B 00 10 */ lbz r4, 0x10(r27) +/* 802FB0B4 002F8014 28 04 00 00 */ cmplwi r4, 0 +/* 802FB0B8 002F8018 41 82 00 0C */ beq lbl_802FB0C4 +/* 802FB0BC 002F801C 38 7B 00 14 */ addi r3, r27, 0x14 +/* 802FB0C0 002F8020 48 00 00 08 */ b lbl_802FB0C8 +lbl_802FB0C4: +/* 802FB0C4 002F8024 38 7B 00 3C */ addi r3, r27, 0x3c +lbl_802FB0C8: +/* 802FB0C8 002F8028 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802FB0CC 002F802C 7C 00 F8 40 */ cmplw r0, r31 +/* 802FB0D0 002F8030 41 80 FF C8 */ blt lbl_802FB098 +lbl_802FB0D4: +/* 802FB0D4 002F8034 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802FB0D8 002F8038 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802FB0DC 002F803C 7C 08 03 A6 */ mtlr r0 +/* 802FB0E0 002F8040 38 21 00 50 */ addi r1, r1, 0x50 +/* 802FB0E4 002F8044 4E 80 00 20 */ blr + +.global sub_802fb0e8 +sub_802fb0e8: +/* 802FB0E8 002F8048 80 04 00 00 */ lwz r0, 0(r4) +/* 802FB0EC 002F804C 38 64 00 04 */ addi r3, r4, 4 +/* 802FB0F0 002F8050 7C 09 03 A6 */ mtctr r0 +/* 802FB0F4 002F8054 2C 00 00 00 */ cmpwi r0, 0 +/* 802FB0F8 002F8058 4C 81 00 20 */ blelr +lbl_802FB0FC: +/* 802FB0FC 002F805C A0 03 00 04 */ lhz r0, 4(r3) +/* 802FB100 002F8060 28 00 00 00 */ cmplwi r0, 0 +/* 802FB104 002F8064 40 82 00 0C */ bne lbl_802FB110 +/* 802FB108 002F8068 38 63 00 06 */ addi r3, r3, 6 +/* 802FB10C 002F806C 48 00 00 08 */ b lbl_802FB114 +lbl_802FB110: +/* 802FB110 002F8070 38 63 00 0F */ addi r3, r3, 0xf +lbl_802FB114: +/* 802FB114 002F8074 A0 03 00 00 */ lhz r0, 0(r3) +/* 802FB118 002F8078 28 00 00 00 */ cmplwi r0, 0 +/* 802FB11C 002F807C 40 82 00 0C */ bne lbl_802FB128 +/* 802FB120 002F8080 38 63 00 02 */ addi r3, r3, 2 +/* 802FB124 002F8084 48 00 00 08 */ b lbl_802FB12C +lbl_802FB128: +/* 802FB128 002F8088 38 63 00 0B */ addi r3, r3, 0xb +lbl_802FB12C: +/* 802FB12C 002F808C 42 00 FF D0 */ bdnz lbl_802FB0FC + +.global sub_802fb130 +sub_802fb130: +/* 802FB130 002F8090 4E 80 00 20 */ blr + +.global "__ct__23CFBStreamedPairOfTotalsFRC43TSubAnimTypeToken<22CFBStreamedCompression>" +"__ct__23CFBStreamedPairOfTotalsFRC43TSubAnimTypeToken<22CFBStreamedCompression>": +/* 802FB134 002F8094 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802FB138 002F8098 7C 08 02 A6 */ mflr r0 +/* 802FB13C 002F809C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802FB140 002F80A0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802FB144 002F80A4 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802FB148 002F80A8 7C 9E 23 78 */ mr r30, r4 +/* 802FB14C 002F80AC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802FB150 002F80B0 93 81 00 40 */ stw r28, 0x40(r1) +/* 802FB154 002F80B4 7C 7C 1B 78 */ mr r28, r3 +/* 802FB158 002F80B8 7F 80 E3 78 */ mr r0, r28 +/* 802FB15C 002F80BC 7C 1D 03 78 */ mr r29, r0 +/* 802FB160 002F80C0 7C 1F 03 78 */ mr r31, r0 +/* 802FB164 002F80C4 48 04 5D 45 */ bl __ct__6CTokenFRC6CToken +/* 802FB168 002F80C8 80 1E 00 08 */ lwz r0, 8(r30) +/* 802FB16C 002F80CC 7F E3 FB 78 */ mr r3, r31 +/* 802FB170 002F80D0 90 1F 00 08 */ stw r0, 8(r31) +/* 802FB174 002F80D4 48 04 5C 11 */ bl Lock__6CTokenFv +/* 802FB178 002F80D8 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802FB17C 002F80DC 38 00 00 01 */ li r0, 1 +/* 802FB180 002F80E0 38 7C 00 14 */ addi r3, r28, 0x14 +/* 802FB184 002F80E4 90 9D 00 0C */ stw r4, 0xc(r29) +/* 802FB188 002F80E8 98 1C 00 10 */ stb r0, 0x10(r28) +/* 802FB18C 002F80EC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802FB190 002F80F0 48 00 05 B5 */ bl __ct__27CFBStreamedAnimReaderTotalsFRC22CFBStreamedCompression +/* 802FB194 002F80F4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802FB198 002F80F8 38 7C 00 3C */ addi r3, r28, 0x3c +/* 802FB19C 002F80FC 48 00 05 A9 */ bl __ct__27CFBStreamedAnimReaderTotalsFRC22CFBStreamedCompression +/* 802FB1A0 002F8100 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 802FB1A4 002F8104 38 61 00 14 */ addi r3, r1, 0x14 +/* 802FB1A8 002F8108 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802FB1AC 002F810C C0 24 00 08 */ lfs f1, 8(r4) +/* 802FB1B0 002F8110 48 04 DC 3D */ bl __ct__13CCharAnimTimeFf +/* 802FB1B4 002F8114 C0 0D 9C 1C */ lfs f0, lbl_805A87DC@sda21(r13) +/* 802FB1B8 002F8118 38 61 00 1C */ addi r3, r1, 0x1c +/* 802FB1BC 002F811C 80 0D 9C 18 */ lwz r0, lbl_805A87D8@sda21(r13) +/* 802FB1C0 002F8120 38 81 00 14 */ addi r4, r1, 0x14 +/* 802FB1C4 002F8124 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802FB1C8 002F8128 90 01 00 20 */ stw r0, 0x20(r1) +/* 802FB1CC 002F812C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802FB1D0 002F8130 48 04 D8 49 */ bl __dv__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FB1D4 002F8134 48 08 E7 81 */ bl __cvt_fp2unsigned +/* 802FB1D8 002F8138 3C 00 43 30 */ lis r0, 0x4330 +/* 802FB1DC 002F813C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 802FB1E0 002F8140 C8 42 C6 E0 */ lfd f2, lbl_805AE400@sda21(r2) +/* 802FB1E4 002F8144 90 01 00 38 */ stw r0, 0x38(r1) +/* 802FB1E8 002F8148 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802FB1EC 002F814C C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802FB1F0 002F8150 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802FB1F4 002F8154 EC 40 10 28 */ fsubs f2, f0, f2 +/* 802FB1F8 002F8158 C0 0D 9C 20 */ lfs f0, lbl_805A87E0@sda21(r13) +/* 802FB1FC 002F815C 90 61 00 28 */ stw r3, 0x28(r1) +/* 802FB200 002F8160 EC 22 08 FC */ fnmsubs f1, f2, f3, f1 +/* 802FB204 002F8164 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802FB208 002F8168 D0 21 00 08 */ stfs f1, 8(r1) +/* 802FB20C 002F816C 40 80 00 0C */ bge lbl_802FB218 +/* 802FB210 002F8170 38 6D 9C 20 */ addi r3, r13, lbl_805A87E0@sda21 +/* 802FB214 002F8174 48 00 00 08 */ b lbl_802FB21C +lbl_802FB218: +/* 802FB218 002F8178 38 61 00 08 */ addi r3, r1, 8 +lbl_802FB21C: +/* 802FB21C 002F817C C0 23 00 00 */ lfs f1, 0(r3) +/* 802FB220 002F8180 7F E4 FB 78 */ mr r4, r31 +/* 802FB224 002F8184 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802FB228 002F8188 38 61 00 0C */ addi r3, r1, 0xc +/* 802FB22C 002F818C EC 01 18 24 */ fdivs f0, f1, f3 +/* 802FB230 002F8190 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802FB234 002F8194 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802FB238 002F8198 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802FB23C 002F819C 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802FB240 002F81A0 3B E5 00 24 */ addi r31, r5, 0x24 +/* 802FB244 002F81A4 48 00 06 E1 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 802FB248 002F81A8 7F E4 FB 78 */ mr r4, r31 +/* 802FB24C 002F81AC 38 7C 00 64 */ addi r3, r28, 0x64 +/* 802FB250 002F81B0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802FB254 002F81B4 38 C1 00 0C */ addi r6, r1, 0xc +/* 802FB258 002F81B8 4B FF E3 81 */ bl sub_802f95d8 +/* 802FB25C 002F81BC 38 00 00 00 */ li r0, 0 +/* 802FB260 002F81C0 7F 83 E3 78 */ mr r3, r28 +/* 802FB264 002F81C4 90 1C 00 84 */ stw r0, 0x84(r28) +/* 802FB268 002F81C8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802FB26C 002F81CC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802FB270 002F81D0 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802FB274 002F81D4 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802FB278 002F81D8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802FB27C 002F81DC 7C 08 03 A6 */ mtlr r0 +/* 802FB280 002F81E0 38 21 00 50 */ addi r1, r1, 0x50 +/* 802FB284 002F81E4 4E 80 00 20 */ blr + +.global CalculateDown__27CFBStreamedAnimReaderTotalsFv +CalculateDown__27CFBStreamedAnimReaderTotalsFv: +/* 802FB288 002F81E8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802FB28C 002F81EC 7C 08 02 A6 */ mflr r0 +/* 802FB290 002F81F0 90 01 00 64 */ stw r0, 0x64(r1) +/* 802FB294 002F81F4 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802FB298 002F81F8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802FB29C 002F81FC DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802FB2A0 002F8200 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802FB2A4 002F8204 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802FB2A8 002F8208 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802FB2AC 002F820C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802FB2B0 002F8210 93 81 00 30 */ stw r28, 0x30(r1) +/* 802FB2B4 002F8214 7C 7F 1B 78 */ mr r31, r3 +/* 802FB2B8 002F8218 3C 00 43 30 */ lis r0, 0x4330 +/* 802FB2BC 002F821C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802FB2C0 002F8220 3B 80 00 00 */ li r28, 0 +/* 802FB2C4 002F8224 90 01 00 10 */ stw r0, 0x10(r1) +/* 802FB2C8 002F8228 C8 22 C6 E0 */ lfd f1, lbl_805AE400@sda21(r2) +/* 802FB2CC 002F822C 90 61 00 14 */ stw r3, 0x14(r1) +/* 802FB2D0 002F8230 C0 42 C6 EC */ lfs f2, lbl_805AE40C@sda21(r2) +/* 802FB2D4 002F8234 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802FB2D8 002F8238 83 DF 00 04 */ lwz r30, 4(r31) +/* 802FB2DC 002F823C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802FB2E0 002F8240 83 BF 00 10 */ lwz r29, 0x10(r31) +/* 802FB2E4 002F8244 C3 E2 C6 DC */ lfs f31, lbl_805AE3FC@sda21(r2) +/* 802FB2E8 002F8248 EF C2 00 24 */ fdivs f30, f2, f0 +/* 802FB2EC 002F824C 48 00 01 1C */ b lbl_802FB408 +lbl_802FB2F0: +/* 802FB2F0 002F8250 E0 1E D0 02 */ psq_l f0, 2(r30), 1, qr5 +/* 802FB2F4 002F8254 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 802FB2F8 002F8258 48 01 9A F9 */ bl FastSinR__5CMathFf +/* 802FB2FC 002F825C D0 3D 00 04 */ stfs f1, 4(r29) +/* 802FB300 002F8260 E0 1E D0 04 */ psq_l f0, 4(r30), 1, qr5 +/* 802FB304 002F8264 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 802FB308 002F8268 48 01 9A E9 */ bl FastSinR__5CMathFf +/* 802FB30C 002F826C D0 3D 00 08 */ stfs f1, 8(r29) +/* 802FB310 002F8270 E0 1E D0 06 */ psq_l f0, 6(r30), 1, qr5 +/* 802FB314 002F8274 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 802FB318 002F8278 48 01 9A D9 */ bl FastSinR__5CMathFf +/* 802FB31C 002F827C D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 802FB320 002F8280 38 81 00 08 */ addi r4, r1, 8 +/* 802FB324 002F8284 38 6D 9C 24 */ addi r3, r13, lbl_805A87E4@sda21 +/* 802FB328 002F8288 C0 3D 00 04 */ lfs f1, 4(r29) +/* 802FB32C 002F828C C0 1D 00 08 */ lfs f0, 8(r29) +/* 802FB330 002F8290 EC 21 00 72 */ fmuls f1, f1, f1 +/* 802FB334 002F8294 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 802FB338 002F8298 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802FB33C 002F829C EC 42 00 B2 */ fmuls f2, f2, f2 +/* 802FB340 002F82A0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802FB344 002F82A4 EC 02 00 2A */ fadds f0, f2, f0 +/* 802FB348 002F82A8 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 802FB34C 002F82AC D0 01 00 08 */ stfs f0, 8(r1) +/* 802FB350 002F82B0 4B D5 43 E1 */ bl "Max__5CMathFRCfRCf" +/* 802FB354 002F82B4 C0 23 00 00 */ lfs f1, 0(r3) +/* 802FB358 002F82B8 48 01 A1 A9 */ bl SqrtF__5CMathFf +/* 802FB35C 002F82BC A8 1E 00 00 */ lha r0, 0(r30) +/* 802FB360 002F82C0 2C 00 00 00 */ cmpwi r0, 0 +/* 802FB364 002F82C4 41 82 00 10 */ beq lbl_802FB374 +/* 802FB368 002F82C8 FC 00 08 50 */ fneg f0, f1 +/* 802FB36C 002F82CC D0 1D 00 00 */ stfs f0, 0(r29) +/* 802FB370 002F82D0 48 00 00 08 */ b lbl_802FB378 +lbl_802FB374: +/* 802FB374 002F82D4 D0 3D 00 00 */ stfs f1, 0(r29) +lbl_802FB378: +/* 802FB378 002F82D8 80 7F 00 08 */ lwz r3, 8(r31) +/* 802FB37C 002F82DC 7C 03 E0 AE */ lbzx r0, r3, r28 +/* 802FB380 002F82E0 28 00 00 00 */ cmplwi r0, 0 +/* 802FB384 002F82E4 41 82 00 78 */ beq lbl_802FB3FC +/* 802FB388 002F82E8 A8 7E 00 08 */ lha r3, 8(r30) +/* 802FB38C 002F82EC 3C 00 43 30 */ lis r0, 0x4330 +/* 802FB390 002F82F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802FB394 002F82F4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802FB398 002F82F8 C8 42 C6 F0 */ lfd f2, lbl_805AE410@sda21(r2) +/* 802FB39C 002F82FC 90 61 00 14 */ stw r3, 0x14(r1) +/* 802FB3A0 002F8300 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 802FB3A4 002F8304 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 802FB3A8 002F8308 90 01 00 18 */ stw r0, 0x18(r1) +/* 802FB3AC 002F830C EC 21 10 28 */ fsubs f1, f1, f2 +/* 802FB3B0 002F8310 90 01 00 20 */ stw r0, 0x20(r1) +/* 802FB3B4 002F8314 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802FB3B8 002F8318 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802FB3BC 002F831C A8 1E 00 0A */ lha r0, 0xa(r30) +/* 802FB3C0 002F8320 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 802FB3C4 002F8324 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802FB3C8 002F8328 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802FB3CC 002F832C C8 21 00 18 */ lfd f1, 0x18(r1) +/* 802FB3D0 002F8330 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802FB3D4 002F8334 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802FB3D8 002F8338 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802FB3DC 002F833C A8 1E 00 0C */ lha r0, 0xc(r30) +/* 802FB3E0 002F8340 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 802FB3E4 002F8344 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802FB3E8 002F8348 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FB3EC 002F834C C8 21 00 20 */ lfd f1, 0x20(r1) +/* 802FB3F0 002F8350 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802FB3F4 002F8354 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802FB3F8 002F8358 D0 1D 00 18 */ stfs f0, 0x18(r29) +lbl_802FB3FC: +/* 802FB3FC 002F835C 3B DE 00 10 */ addi r30, r30, 0x10 +/* 802FB400 002F8360 3B BD 00 20 */ addi r29, r29, 0x20 +/* 802FB404 002F8364 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802FB408: +/* 802FB408 002F8368 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802FB40C 002F836C 7C 1C 00 40 */ cmplw r28, r0 +/* 802FB410 002F8370 41 80 FE E0 */ blt lbl_802FB2F0 +/* 802FB414 002F8374 38 00 00 01 */ li r0, 1 +/* 802FB418 002F8378 98 1F 00 20 */ stb r0, 0x20(r31) +/* 802FB41C 002F837C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802FB420 002F8380 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802FB424 002F8384 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802FB428 002F8388 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802FB42C 002F838C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802FB430 002F8390 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802FB434 002F8394 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802FB438 002F8398 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802FB43C 002F839C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802FB440 002F83A0 7C 08 03 A6 */ mtlr r0 +/* 802FB444 002F83A4 38 21 00 60 */ addi r1, r1, 0x60 +/* 802FB448 002F83A8 4E 80 00 20 */ blr + +.global sub_802fb44c +sub_802fb44c: +/* 802FB44C 002F83AC 38 00 00 00 */ li r0, 0 +/* 802FB450 002F83B0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802FB454 002F83B4 98 03 00 20 */ stb r0, 0x20(r3) +/* 802FB458 002F83B8 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802FB45C 002F83BC 38 A4 00 24 */ addi r5, r4, 0x24 +/* 802FB460 002F83C0 80 84 00 24 */ lwz r4, 0x24(r4) +/* 802FB464 002F83C4 54 80 06 FF */ clrlwi. r0, r4, 0x1b +/* 802FB468 002F83C8 54 84 D9 7E */ srwi r4, r4, 5 +/* 802FB46C 002F83CC 38 04 00 01 */ addi r0, r4, 1 +/* 802FB470 002F83D0 40 82 00 08 */ bne lbl_802FB478 +/* 802FB474 002F83D4 7C 80 23 78 */ mr r0, r4 +lbl_802FB478: +/* 802FB478 002F83D8 54 00 10 3A */ slwi r0, r0, 2 +/* 802FB47C 002F83DC 38 80 00 00 */ li r4, 0 +/* 802FB480 002F83E0 7C A5 02 14 */ add r5, r5, r0 +/* 802FB484 002F83E4 39 00 00 00 */ li r8, 0 +/* 802FB488 002F83E8 80 05 00 04 */ lwz r0, 4(r5) +/* 802FB48C 002F83EC 38 E5 00 08 */ addi r7, r5, 8 +/* 802FB490 002F83F0 90 03 00 24 */ stw r0, 0x24(r3) +/* 802FB494 002F83F4 80 05 00 04 */ lwz r0, 4(r5) +/* 802FB498 002F83F8 81 23 00 04 */ lwz r9, 4(r3) +/* 802FB49C 002F83FC 7C 09 03 A6 */ mtctr r0 +/* 802FB4A0 002F8400 2C 00 00 00 */ cmpwi r0, 0 +/* 802FB4A4 002F8404 4D 82 00 20 */ beqlr +lbl_802FB4A8: +/* 802FB4A8 002F8408 80 07 00 00 */ lwz r0, 0(r7) +/* 802FB4AC 002F840C 39 40 00 00 */ li r10, 0 +/* 802FB4B0 002F8410 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802FB4B4 002F8414 28 0A 00 00 */ cmplwi r10, 0 +/* 802FB4B8 002F8418 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 802FB4BC 002F841C 38 C7 00 04 */ addi r6, r7, 4 +/* 802FB4C0 002F8420 7C 05 43 2E */ sthx r0, r5, r8 +/* 802FB4C4 002F8424 40 82 00 0C */ bne lbl_802FB4D0 +/* 802FB4C8 002F8428 38 00 00 00 */ li r0, 0 +/* 802FB4CC 002F842C 48 00 00 14 */ b lbl_802FB4E0 +lbl_802FB4D0: +/* 802FB4D0 002F8430 38 00 FF FF */ li r0, -1 +/* 802FB4D4 002F8434 1C A0 00 03 */ mulli r5, r0, 3 +/* 802FB4D8 002F8438 38 05 00 02 */ addi r0, r5, 2 +/* 802FB4DC 002F843C 7C 06 02 AE */ lhax r0, r6, r0 +lbl_802FB4E0: +/* 802FB4E0 002F8440 B0 09 00 00 */ sth r0, 0(r9) +/* 802FB4E4 002F8444 48 00 00 08 */ b lbl_802FB4EC +/* 802FB4E8 002F8448 48 00 00 14 */ b lbl_802FB4FC +lbl_802FB4EC: +/* 802FB4EC 002F844C 38 00 00 00 */ li r0, 0 +/* 802FB4F0 002F8450 1C A0 00 03 */ mulli r5, r0, 3 +/* 802FB4F4 002F8454 38 05 00 02 */ addi r0, r5, 2 +/* 802FB4F8 002F8458 7C 06 02 AE */ lhax r0, r6, r0 +lbl_802FB4FC: +/* 802FB4FC 002F845C B0 09 00 02 */ sth r0, 2(r9) +/* 802FB500 002F8460 48 00 00 08 */ b lbl_802FB508 +/* 802FB504 002F8464 48 00 00 14 */ b lbl_802FB518 +lbl_802FB508: +/* 802FB508 002F8468 38 00 00 01 */ li r0, 1 +/* 802FB50C 002F846C 1C A0 00 03 */ mulli r5, r0, 3 +/* 802FB510 002F8470 38 05 00 02 */ addi r0, r5, 2 +/* 802FB514 002F8474 7C 06 02 AE */ lhax r0, r6, r0 +lbl_802FB518: +/* 802FB518 002F8478 B0 09 00 04 */ sth r0, 4(r9) +/* 802FB51C 002F847C 48 00 00 08 */ b lbl_802FB524 +/* 802FB520 002F8480 48 00 00 14 */ b lbl_802FB534 +lbl_802FB524: +/* 802FB524 002F8484 38 00 00 02 */ li r0, 2 +/* 802FB528 002F8488 1C A0 00 03 */ mulli r5, r0, 3 +/* 802FB52C 002F848C 38 05 00 02 */ addi r0, r5, 2 +/* 802FB530 002F8490 7C 06 02 AE */ lhax r0, r6, r0 +lbl_802FB534: +/* 802FB534 002F8494 B0 09 00 06 */ sth r0, 6(r9) +/* 802FB538 002F8498 A0 07 00 04 */ lhz r0, 4(r7) +/* 802FB53C 002F849C 28 00 00 00 */ cmplwi r0, 0 +/* 802FB540 002F84A0 40 82 00 0C */ bne lbl_802FB54C +/* 802FB544 002F84A4 38 A7 00 06 */ addi r5, r7, 6 +/* 802FB548 002F84A8 48 00 00 08 */ b lbl_802FB550 +lbl_802FB54C: +/* 802FB54C 002F84AC 38 A7 00 0F */ addi r5, r7, 0xf +lbl_802FB550: +/* 802FB550 002F84B0 38 C0 00 00 */ li r6, 0 +/* 802FB554 002F84B4 3C 06 FF FF */ addis r0, r6, 0xffff +/* 802FB558 002F84B8 28 00 86 A0 */ cmplwi r0, 0x86a0 +/* 802FB55C 002F84BC 40 82 00 0C */ bne lbl_802FB568 +/* 802FB560 002F84C0 38 00 00 00 */ li r0, 0 +/* 802FB564 002F84C4 48 00 00 08 */ b lbl_802FB56C +lbl_802FB568: +/* 802FB568 002F84C8 A8 05 00 02 */ lha r0, 2(r5) +lbl_802FB56C: +/* 802FB56C 002F84CC 38 C0 00 01 */ li r6, 1 +/* 802FB570 002F84D0 B0 09 00 08 */ sth r0, 8(r9) +/* 802FB574 002F84D4 3C 06 FF FF */ addis r0, r6, 0xffff +/* 802FB578 002F84D8 28 00 86 A0 */ cmplwi r0, 0x86a0 +/* 802FB57C 002F84DC 40 82 00 0C */ bne lbl_802FB588 +/* 802FB580 002F84E0 38 00 00 00 */ li r0, 0 +/* 802FB584 002F84E4 48 00 00 08 */ b lbl_802FB58C +lbl_802FB588: +/* 802FB588 002F84E8 A8 05 00 05 */ lha r0, 5(r5) +lbl_802FB58C: +/* 802FB58C 002F84EC 38 C0 00 02 */ li r6, 2 +/* 802FB590 002F84F0 B0 09 00 0A */ sth r0, 0xa(r9) +/* 802FB594 002F84F4 3C 06 FF FF */ addis r0, r6, 0xffff +/* 802FB598 002F84F8 28 00 86 A0 */ cmplwi r0, 0x86a0 +/* 802FB59C 002F84FC 40 82 00 0C */ bne lbl_802FB5A8 +/* 802FB5A0 002F8500 38 00 00 00 */ li r0, 0 +/* 802FB5A4 002F8504 48 00 00 08 */ b lbl_802FB5AC +lbl_802FB5A8: +/* 802FB5A8 002F8508 A8 05 00 08 */ lha r0, 8(r5) +lbl_802FB5AC: +/* 802FB5AC 002F850C B0 09 00 0C */ sth r0, 0xc(r9) +/* 802FB5B0 002F8510 39 29 00 10 */ addi r9, r9, 0x10 +/* 802FB5B4 002F8514 A0 C5 00 00 */ lhz r6, 0(r5) +/* 802FB5B8 002F8518 80 A3 00 08 */ lwz r5, 8(r3) +/* 802FB5BC 002F851C 7C 06 00 D0 */ neg r0, r6 +/* 802FB5C0 002F8520 7C 00 33 78 */ or r0, r0, r6 +/* 802FB5C4 002F8524 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FB5C8 002F8528 7C 05 21 AE */ stbx r0, r5, r4 +/* 802FB5CC 002F852C A0 07 00 04 */ lhz r0, 4(r7) +/* 802FB5D0 002F8530 28 00 00 00 */ cmplwi r0, 0 +/* 802FB5D4 002F8534 40 82 00 0C */ bne lbl_802FB5E0 +/* 802FB5D8 002F8538 38 A7 00 06 */ addi r5, r7, 6 +/* 802FB5DC 002F853C 48 00 00 08 */ b lbl_802FB5E4 +lbl_802FB5E0: +/* 802FB5E0 002F8540 38 A7 00 0F */ addi r5, r7, 0xf +lbl_802FB5E4: +/* 802FB5E4 002F8544 A0 05 00 00 */ lhz r0, 0(r5) +/* 802FB5E8 002F8548 28 00 00 00 */ cmplwi r0, 0 +/* 802FB5EC 002F854C 40 82 00 0C */ bne lbl_802FB5F8 +/* 802FB5F0 002F8550 38 E5 00 02 */ addi r7, r5, 2 +/* 802FB5F4 002F8554 48 00 00 08 */ b lbl_802FB5FC +lbl_802FB5F8: +/* 802FB5F8 002F8558 38 E5 00 0B */ addi r7, r5, 0xb +lbl_802FB5FC: +/* 802FB5FC 002F855C 39 08 00 02 */ addi r8, r8, 2 +/* 802FB600 002F8560 38 84 00 01 */ addi r4, r4, 1 +/* 802FB604 002F8564 42 00 FE A4 */ bdnz lbl_802FB4A8 + +.global sub_802fb608 +sub_802fb608: +/* 802FB608 002F8568 4E 80 00 20 */ blr + +.global sub_802fb60c +sub_802fb60c: +/* 802FB60C 002F856C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FB610 002F8570 7C 08 02 A6 */ mflr r0 +/* 802FB614 002F8574 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FB618 002F8578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FB61C 002F857C 7C 9F 23 78 */ mr r31, r4 +/* 802FB620 002F8580 93 C1 00 08 */ stw r30, 8(r1) +/* 802FB624 002F8584 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FB628 002F8588 41 82 00 24 */ beq lbl_802FB64C +/* 802FB62C 002F858C 80 7E 00 00 */ lwz r3, 0(r30) +/* 802FB630 002F8590 28 03 00 00 */ cmplwi r3, 0 +/* 802FB634 002F8594 41 82 00 08 */ beq lbl_802FB63C +/* 802FB638 002F8598 48 01 A2 F9 */ bl Free__7CMemoryFPCv +lbl_802FB63C: +/* 802FB63C 002F859C 7F E0 07 35 */ extsh. r0, r31 +/* 802FB640 002F85A0 40 81 00 0C */ ble lbl_802FB64C +/* 802FB644 002F85A4 7F C3 F3 78 */ mr r3, r30 +/* 802FB648 002F85A8 48 01 A2 E9 */ bl Free__7CMemoryFPCv +lbl_802FB64C: +/* 802FB64C 002F85AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FB650 002F85B0 7F C3 F3 78 */ mr r3, r30 +/* 802FB654 002F85B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FB658 002F85B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FB65C 002F85BC 7C 08 03 A6 */ mtlr r0 +/* 802FB660 002F85C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FB664 002F85C4 4E 80 00 20 */ blr + +.global sub_802fb668 +sub_802fb668: +/* 802FB668 002F85C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FB66C 002F85CC 7C 08 02 A6 */ mflr r0 +/* 802FB670 002F85D0 54 88 20 36 */ slwi r8, r4, 4 +/* 802FB674 002F85D4 54 89 08 3C */ slwi r9, r4, 1 +/* 802FB678 002F85D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FB67C 002F85DC 55 00 07 BE */ clrlwi r0, r8, 0x1e +/* 802FB680 002F85E0 20 E0 00 04 */ subfic r7, r0, 4 +/* 802FB684 002F85E4 54 8A 28 34 */ slwi r10, r4, 5 +/* 802FB688 002F85E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FB68C 002F85EC 54 80 07 BE */ clrlwi r0, r4, 0x1e +/* 802FB690 002F85F0 20 C0 00 04 */ subfic r6, r0, 4 +/* 802FB694 002F85F4 3C A0 80 3D */ lis r5, lbl_803D6E30@ha +/* 802FB698 002F85F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FB69C 002F85FC 54 80 0F BC */ rlwinm r0, r4, 1, 0x1e, 0x1e +/* 802FB6A0 002F8600 20 00 00 04 */ subfic r0, r0, 4 +/* 802FB6A4 002F8604 7F C8 3A 14 */ add r30, r8, r7 +/* 802FB6A8 002F8608 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FB6AC 002F860C 7F A4 32 14 */ add r29, r4, r6 +/* 802FB6B0 002F8610 55 46 07 BE */ clrlwi r6, r10, 0x1e +/* 802FB6B4 002F8614 38 85 6E 30 */ addi r4, r5, lbl_803D6E30@l +/* 802FB6B8 002F8618 93 81 00 10 */ stw r28, 0x10(r1) +/* 802FB6BC 002F861C 7F 89 02 14 */ add r28, r9, r0 +/* 802FB6C0 002F8620 7C 1D E2 14 */ add r0, r29, r28 +/* 802FB6C4 002F8624 7C 7F 1B 78 */ mr r31, r3 +/* 802FB6C8 002F8628 20 A6 00 04 */ subfic r5, r6, 4 +/* 802FB6CC 002F862C 7C 7E 02 14 */ add r3, r30, r0 +/* 802FB6D0 002F8630 7C 63 2A 14 */ add r3, r3, r5 +/* 802FB6D4 002F8634 38 A0 00 00 */ li r5, 0 +/* 802FB6D8 002F8638 7C 6A 1A 14 */ add r3, r10, r3 +/* 802FB6DC 002F863C 54 60 07 BE */ clrlwi r0, r3, 0x1e +/* 802FB6E0 002F8640 20 00 00 04 */ subfic r0, r0, 4 +/* 802FB6E4 002F8644 7C 63 02 14 */ add r3, r3, r0 +/* 802FB6E8 002F8648 48 01 A1 31 */ bl __nwa__FUlPCcPCc +/* 802FB6EC 002F864C 90 7F 00 00 */ stw r3, 0(r31) +/* 802FB6F0 002F8650 7C 7E EA 14 */ add r3, r30, r29 +/* 802FB6F4 002F8654 80 1F 00 00 */ lwz r0, 0(r31) +/* 802FB6F8 002F8658 90 1F 00 04 */ stw r0, 4(r31) +/* 802FB6FC 002F865C 80 1F 00 00 */ lwz r0, 0(r31) +/* 802FB700 002F8660 7C 00 F2 14 */ add r0, r0, r30 +/* 802FB704 002F8664 90 1F 00 08 */ stw r0, 8(r31) +/* 802FB708 002F8668 80 1F 00 00 */ lwz r0, 0(r31) +/* 802FB70C 002F866C 7C 00 1A 14 */ add r0, r0, r3 +/* 802FB710 002F8670 7C 63 E2 14 */ add r3, r3, r28 +/* 802FB714 002F8674 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802FB718 002F8678 80 1F 00 00 */ lwz r0, 0(r31) +/* 802FB71C 002F867C 7C 00 1A 14 */ add r0, r0, r3 +/* 802FB720 002F8680 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802FB724 002F8684 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FB728 002F8688 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FB72C 002F868C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FB730 002F8690 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802FB734 002F8694 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FB738 002F8698 7C 08 03 A6 */ mtlr r0 +/* 802FB73C 002F869C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FB740 002F86A0 4E 80 00 20 */ blr + +.global __ct__27CFBStreamedAnimReaderTotalsFRC22CFBStreamedCompression +__ct__27CFBStreamedAnimReaderTotalsFRC22CFBStreamedCompression: +/* 802FB744 002F86A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FB748 002F86A8 7C 08 02 A6 */ mflr r0 +/* 802FB74C 002F86AC 38 A0 00 00 */ li r5, 0 +/* 802FB750 002F86B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FB754 002F86B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FB758 002F86B8 7C 9F 23 78 */ mr r31, r4 +/* 802FB75C 002F86BC 93 C1 00 08 */ stw r30, 8(r1) +/* 802FB760 002F86C0 7C 7E 1B 78 */ mr r30, r3 +/* 802FB764 002F86C4 90 A3 00 00 */ stw r5, 0(r3) +/* 802FB768 002F86C8 90 A3 00 04 */ stw r5, 4(r3) +/* 802FB76C 002F86CC 90 A3 00 08 */ stw r5, 8(r3) +/* 802FB770 002F86D0 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802FB774 002F86D4 90 A3 00 10 */ stw r5, 0x10(r3) +/* 802FB778 002F86D8 80 64 00 0C */ lwz r3, 0xc(r4) +/* 802FB77C 002F86DC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 802FB780 002F86E0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802FB784 002F86E4 80 64 00 0C */ lwz r3, 0xc(r4) +/* 802FB788 002F86E8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802FB78C 002F86EC D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802FB790 002F86F0 90 BE 00 1C */ stw r5, 0x1c(r30) +/* 802FB794 002F86F4 98 BE 00 20 */ stb r5, 0x20(r30) +/* 802FB798 002F86F8 80 64 00 0C */ lwz r3, 0xc(r4) +/* 802FB79C 002F86FC 38 83 00 24 */ addi r4, r3, 0x24 +/* 802FB7A0 002F8700 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802FB7A4 002F8704 54 60 06 FF */ clrlwi. r0, r3, 0x1b +/* 802FB7A8 002F8708 54 63 D9 7E */ srwi r3, r3, 5 +/* 802FB7AC 002F870C 38 03 00 01 */ addi r0, r3, 1 +/* 802FB7B0 002F8710 40 82 00 08 */ bne lbl_802FB7B8 +/* 802FB7B4 002F8714 7C 60 1B 78 */ mr r0, r3 +lbl_802FB7B8: +/* 802FB7B8 002F8718 54 00 10 3A */ slwi r0, r0, 2 +/* 802FB7BC 002F871C 7F C3 F3 78 */ mr r3, r30 +/* 802FB7C0 002F8720 7C 84 02 14 */ add r4, r4, r0 +/* 802FB7C4 002F8724 80 04 00 04 */ lwz r0, 4(r4) +/* 802FB7C8 002F8728 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802FB7CC 002F872C 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 802FB7D0 002F8730 4B FF FE 99 */ bl sub_802fb668 +/* 802FB7D4 002F8734 7F C3 F3 78 */ mr r3, r30 +/* 802FB7D8 002F8738 7F E4 FB 78 */ mr r4, r31 +/* 802FB7DC 002F873C 4B FF FC 71 */ bl sub_802fb44c +/* 802FB7E0 002F8740 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FB7E4 002F8744 7F C3 F3 78 */ mr r3, r30 +/* 802FB7E8 002F8748 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FB7EC 002F874C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FB7F0 002F8750 7C 08 03 A6 */ mtlr r0 +/* 802FB7F4 002F8754 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FB7F8 002F8758 4E 80 00 20 */ blr + +.global "__dt__41TAnimSourceInfo<22CFBStreamedCompression>Fv" +"__dt__41TAnimSourceInfo<22CFBStreamedCompression>Fv": +/* 802FB7FC 002F875C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FB800 002F8760 7C 08 02 A6 */ mflr r0 +/* 802FB804 002F8764 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FB808 002F8768 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FB80C 002F876C 7C 9F 23 78 */ mr r31, r4 +/* 802FB810 002F8770 93 C1 00 08 */ stw r30, 8(r1) +/* 802FB814 002F8774 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FB818 002F8778 41 82 00 58 */ beq lbl_802FB870 +/* 802FB81C 002F877C 3C 60 80 3F */ lis r3, lbl_803ED494@ha +/* 802FB820 002F8780 34 1E 00 04 */ addic. r0, r30, 4 +/* 802FB824 002F8784 38 03 D4 94 */ addi r0, r3, lbl_803ED494@l +/* 802FB828 002F8788 90 1E 00 00 */ stw r0, 0(r30) +/* 802FB82C 002F878C 41 82 00 20 */ beq lbl_802FB84C +/* 802FB830 002F8790 34 1E 00 04 */ addic. r0, r30, 4 +/* 802FB834 002F8794 41 82 00 18 */ beq lbl_802FB84C +/* 802FB838 002F8798 34 1E 00 04 */ addic. r0, r30, 4 +/* 802FB83C 002F879C 41 82 00 10 */ beq lbl_802FB84C +/* 802FB840 002F87A0 38 7E 00 04 */ addi r3, r30, 4 +/* 802FB844 002F87A4 38 80 00 00 */ li r4, 0 +/* 802FB848 002F87A8 48 04 55 F9 */ bl __dt__6CTokenFv +lbl_802FB84C: +/* 802FB84C 002F87AC 28 1E 00 00 */ cmplwi r30, 0 +/* 802FB850 002F87B0 41 82 00 10 */ beq lbl_802FB860 +/* 802FB854 002F87B4 3C 60 80 3F */ lis r3, lbl_803ECFE4@ha +/* 802FB858 002F87B8 38 03 CF E4 */ addi r0, r3, lbl_803ECFE4@l +/* 802FB85C 002F87BC 90 1E 00 00 */ stw r0, 0(r30) +lbl_802FB860: +/* 802FB860 002F87C0 7F E0 07 35 */ extsh. r0, r31 +/* 802FB864 002F87C4 40 81 00 0C */ ble lbl_802FB870 +/* 802FB868 002F87C8 7F C3 F3 78 */ mr r3, r30 +/* 802FB86C 002F87CC 48 01 A0 C5 */ bl Free__7CMemoryFPCv +lbl_802FB870: +/* 802FB870 002F87D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FB874 002F87D4 7F C3 F3 78 */ mr r3, r30 +/* 802FB878 002F87D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FB87C 002F87DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FB880 002F87E0 7C 08 03 A6 */ mtlr r0 +/* 802FB884 002F87E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FB888 002F87E8 4E 80 00 20 */ blr + +.global "HasPOIData__41TAnimSourceInfo<22CFBStreamedCompression>CFv" +"HasPOIData__41TAnimSourceInfo<22CFBStreamedCompression>CFv": +/* 802FB88C 002F87EC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802FB890 002F87F0 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB894 002F87F4 7C 03 00 D0 */ neg r0, r3 +/* 802FB898 002F87F8 7C 00 1B 78 */ or r0, r0, r3 +/* 802FB89C 002F87FC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802FB8A0 002F8800 4E 80 00 20 */ blr + +.global "GetAnimationDuration__41TAnimSourceInfo<22CFBStreamedCompression>CFv" +"GetAnimationDuration__41TAnimSourceInfo<22CFBStreamedCompression>CFv": +/* 802FB8A4 002F8804 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FB8A8 002F8808 7C 08 02 A6 */ mflr r0 +/* 802FB8AC 002F880C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FB8B0 002F8810 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FB8B4 002F8814 7C 7F 1B 78 */ mr r31, r3 +/* 802FB8B8 002F8818 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802FB8BC 002F881C 48 00 00 69 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 802FB8C0 002F8820 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FB8C4 002F8824 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FB8C8 002F8828 7C 08 03 A6 */ mtlr r0 +/* 802FB8CC 002F882C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FB8D0 002F8830 4E 80 00 20 */ blr + +.global "GetSoundPOIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv" +"GetSoundPOIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv": +/* 802FB8D4 002F8834 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802FB8D8 002F8838 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB8DC 002F883C 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB8E0 002F8840 38 63 00 34 */ addi r3, r3, 0x34 +/* 802FB8E4 002F8844 4E 80 00 20 */ blr + +.global "GetParticlePOIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv" +"GetParticlePOIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv": +/* 802FB8E8 002F8848 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802FB8EC 002F884C 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB8F0 002F8850 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB8F4 002F8854 38 63 00 24 */ addi r3, r3, 0x24 +/* 802FB8F8 002F8858 4E 80 00 20 */ blr + +.global "GetInt32POIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv" +"GetInt32POIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv": +/* 802FB8FC 002F885C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802FB900 002F8860 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB904 002F8864 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB908 002F8868 38 63 00 14 */ addi r3, r3, 0x14 +/* 802FB90C 002F886C 4E 80 00 20 */ blr + +.global "GetBoolPOIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv" +"GetBoolPOIStream__41TAnimSourceInfo<22CFBStreamedCompression>CFv": +/* 802FB910 002F8870 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802FB914 002F8874 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB918 002F8878 80 63 00 08 */ lwz r3, 8(r3) +/* 802FB91C 002F887C 38 63 00 04 */ addi r3, r3, 4 +/* 802FB920 002F8880 4E 80 00 20 */ blr + +.global GetAnimationDuration__22CFBStreamedCompressionCFv +GetAnimationDuration__22CFBStreamedCompressionCFv: +/* 802FB924 002F8884 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FB928 002F8888 7C 08 02 A6 */ mflr r0 +/* 802FB92C 002F888C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FB930 002F8890 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FB934 002F8894 7C 7F 1B 78 */ mr r31, r3 +/* 802FB938 002F8898 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802FB93C 002F889C C0 24 00 04 */ lfs f1, 4(r4) +/* 802FB940 002F88A0 48 04 D4 AD */ bl __ct__13CCharAnimTimeFf +/* 802FB944 002F88A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FB948 002F88A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FB94C 002F88AC 7C 08 03 A6 */ mtlr r0 +/* 802FB950 002F88B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FB954 002F88B4 4E 80 00 20 */ blr + +.global __dt__22CFBStreamedCompressionFv +__dt__22CFBStreamedCompressionFv: +/* 802FB958 002F88B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FB95C 002F88BC 7C 08 02 A6 */ mflr r0 +/* 802FB960 002F88C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FB964 002F88C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FB968 002F88C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FB96C 002F88CC 7C 9E 23 78 */ mr r30, r4 +/* 802FB970 002F88D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FB974 002F88D4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802FB978 002F88D8 41 82 00 50 */ beq lbl_802FB9C8 +/* 802FB97C 002F88DC 34 1D 00 0C */ addic. r0, r29, 0xc +/* 802FB980 002F88E0 41 82 00 0C */ beq lbl_802FB98C +/* 802FB984 002F88E4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802FB988 002F88E8 48 01 9F A9 */ bl Free__7CMemoryFPCv +lbl_802FB98C: +/* 802FB98C 002F88EC 34 1D 00 08 */ addic. r0, r29, 8 +/* 802FB990 002F88F0 41 82 00 28 */ beq lbl_802FB9B8 +/* 802FB994 002F88F4 83 FD 00 08 */ lwz r31, 8(r29) +/* 802FB998 002F88F8 28 1F 00 00 */ cmplwi r31, 0 +/* 802FB99C 002F88FC 41 82 00 1C */ beq lbl_802FB9B8 +/* 802FB9A0 002F8900 41 82 00 10 */ beq lbl_802FB9B0 +/* 802FB9A4 002F8904 7F E3 FB 78 */ mr r3, r31 +/* 802FB9A8 002F8908 38 80 00 00 */ li r4, 0 +/* 802FB9AC 002F890C 48 04 54 95 */ bl __dt__6CTokenFv +lbl_802FB9B0: +/* 802FB9B0 002F8910 7F E3 FB 78 */ mr r3, r31 +/* 802FB9B4 002F8914 48 01 9F 7D */ bl Free__7CMemoryFPCv +lbl_802FB9B8: +/* 802FB9B8 002F8918 7F C0 07 35 */ extsh. r0, r30 +/* 802FB9BC 002F891C 40 81 00 0C */ ble lbl_802FB9C8 +/* 802FB9C0 002F8920 7F A3 EB 78 */ mr r3, r29 +/* 802FB9C4 002F8924 48 01 9F 6D */ bl Free__7CMemoryFPCv +lbl_802FB9C8: +/* 802FB9C8 002F8928 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FB9CC 002F892C 7F A3 EB 78 */ mr r3, r29 +/* 802FB9D0 002F8930 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FB9D4 002F8934 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FB9D8 002F8938 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FB9DC 002F893C 7C 08 03 A6 */ mtlr r0 +/* 802FB9E0 002F8940 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FB9E4 002F8944 4E 80 00 20 */ blr + +.global __ct__22CFBStreamedCompressionFR12CInputStreamR12IObjectStore +__ct__22CFBStreamedCompressionFR12CInputStreamR12IObjectStore: +/* 802FB9E8 002F8948 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802FB9EC 002F894C 7C 08 02 A6 */ mflr r0 +/* 802FB9F0 002F8950 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802FB9F4 002F8954 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 802FB9F8 002F8958 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 802FB9FC 002F895C DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 802FBA00 002F8960 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 802FBA04 002F8964 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 802FBA08 002F8968 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 802FBA0C 002F896C DB 81 00 B0 */ stfd f28, 0xb0(r1) +/* 802FBA10 002F8970 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 +/* 802FBA14 002F8974 DB 61 00 A0 */ stfd f27, 0xa0(r1) +/* 802FBA18 002F8978 F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 +/* 802FBA1C 002F897C DB 41 00 90 */ stfd f26, 0x90(r1) +/* 802FBA20 002F8980 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 +/* 802FBA24 002F8984 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802FBA28 002F8988 7C 9D 23 78 */ mr r29, r4 +/* 802FBA2C 002F898C 7C 7E 1B 78 */ mr r30, r3 +/* 802FBA30 002F8990 7C BC 2B 78 */ mr r28, r5 +/* 802FBA34 002F8994 7F A3 EB 78 */ mr r3, r29 +/* 802FBA38 002F8998 48 04 32 4D */ bl ReadLong__12CInputStreamFv +/* 802FBA3C 002F899C 90 7E 00 00 */ stw r3, 0(r30) +/* 802FBA40 002F89A0 7F A3 EB 78 */ mr r3, r29 +/* 802FBA44 002F89A4 48 04 32 41 */ bl ReadLong__12CInputStreamFv +/* 802FBA48 002F89A8 90 7E 00 04 */ stw r3, 4(r30) +/* 802FBA4C 002F89AC 38 00 00 00 */ li r0, 0 +/* 802FBA50 002F89B0 7F A5 EB 78 */ mr r5, r29 +/* 802FBA54 002F89B4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802FBA58 002F89B8 90 1E 00 08 */ stw r0, 8(r30) +/* 802FBA5C 002F89BC 80 1E 00 00 */ lwz r0, 0(r30) +/* 802FBA60 002F89C0 54 04 F0 BE */ srwi r4, r0, 2 +/* 802FBA64 002F89C4 38 84 00 01 */ addi r4, r4, 1 +/* 802FBA68 002F89C8 48 00 03 49 */ bl GetRotationsAndOffsets__22CFBStreamedCompressionFUiR12CInputStream +/* 802FBA6C 002F89CC 38 00 00 00 */ li r0, 0 +/* 802FBA70 002F89D0 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802FBA74 002F89D4 98 01 00 24 */ stb r0, 0x24(r1) +/* 802FBA78 002F89D8 90 7E 00 0C */ stw r3, 0xc(r30) +/* 802FBA7C 002F89DC 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802FBA80 002F89E0 28 00 00 00 */ cmplwi r0, 0 +/* 802FBA84 002F89E4 41 82 00 0C */ beq lbl_802FBA90 +/* 802FBA88 002F89E8 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802FBA8C 002F89EC 48 01 9E A5 */ bl Free__7CMemoryFPCv +lbl_802FBA90: +/* 802FBA90 002F89F0 C0 02 C6 F8 */ lfs f0, lbl_805AE418@sda21(r2) +/* 802FBA94 002F89F4 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802FBA98 002F89F8 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802FBA9C 002F89FC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802FBAA0 002F8A00 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FBAA4 002F8A04 28 00 00 00 */ cmplwi r0, 0 +/* 802FBAA8 002F8A08 41 82 00 B0 */ beq lbl_802FBB58 +/* 802FBAAC 002F8A0C 3C 60 80 3D */ lis r3, lbl_803D6E38@ha +/* 802FBAB0 002F8A10 3B 60 00 00 */ li r27, 0 +/* 802FBAB4 002F8A14 38 83 6E 38 */ addi r4, r3, lbl_803D6E38@l +/* 802FBAB8 002F8A18 38 A0 00 00 */ li r5, 0 +/* 802FBABC 002F8A1C 38 60 00 0C */ li r3, 0xc +/* 802FBAC0 002F8A20 48 01 9D AD */ bl __nw__FUlPCcPCc +/* 802FBAC4 002F8A24 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FBAC8 002F8A28 41 82 00 54 */ beq lbl_802FBB1C +/* 802FBACC 002F8A2C 80 DE 00 04 */ lwz r6, 4(r30) +/* 802FBAD0 002F8A30 3C 60 45 56 */ lis r3, 0x45564E54@ha +/* 802FBAD4 002F8A34 38 03 4E 54 */ addi r0, r3, 0x45564E54@l +/* 802FBAD8 002F8A38 7F 84 E3 78 */ mr r4, r28 +/* 802FBADC 002F8A3C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802FBAE0 002F8A40 38 61 00 14 */ addi r3, r1, 0x14 +/* 802FBAE4 002F8A44 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802FBAE8 002F8A48 90 C1 00 20 */ stw r6, 0x20(r1) +/* 802FBAEC 002F8A4C 81 9C 00 00 */ lwz r12, 0(r28) +/* 802FBAF0 002F8A50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FBAF4 002F8A54 7D 89 03 A6 */ mtctr r12 +/* 802FBAF8 002F8A58 4E 80 04 21 */ bctrl +/* 802FBAFC 002F8A5C 7F E3 FB 78 */ mr r3, r31 +/* 802FBB00 002F8A60 38 81 00 14 */ addi r4, r1, 0x14 +/* 802FBB04 002F8A64 3B 60 00 01 */ li r27, 1 +/* 802FBB08 002F8A68 48 04 53 A1 */ bl __ct__6CTokenFRC6CToken +/* 802FBB0C 002F8A6C 7F E3 FB 78 */ mr r3, r31 +/* 802FBB10 002F8A70 48 04 52 FD */ bl GetObj__6CTokenFv +/* 802FBB14 002F8A74 80 03 00 04 */ lwz r0, 4(r3) +/* 802FBB18 002F8A78 90 1F 00 08 */ stw r0, 8(r31) +lbl_802FBB1C: +/* 802FBB1C 002F8A7C 83 BE 00 08 */ lwz r29, 8(r30) +/* 802FBB20 002F8A80 28 1D 00 00 */ cmplwi r29, 0 +/* 802FBB24 002F8A84 41 82 00 1C */ beq lbl_802FBB40 +/* 802FBB28 002F8A88 41 82 00 10 */ beq lbl_802FBB38 +/* 802FBB2C 002F8A8C 7F A3 EB 78 */ mr r3, r29 +/* 802FBB30 002F8A90 38 80 00 00 */ li r4, 0 +/* 802FBB34 002F8A94 48 04 53 0D */ bl __dt__6CTokenFv +lbl_802FBB38: +/* 802FBB38 002F8A98 7F A3 EB 78 */ mr r3, r29 +/* 802FBB3C 002F8A9C 48 01 9D F5 */ bl Free__7CMemoryFPCv +lbl_802FBB40: +/* 802FBB40 002F8AA0 7F 60 07 75 */ extsb. r0, r27 +/* 802FBB44 002F8AA4 93 FE 00 08 */ stw r31, 8(r30) +/* 802FBB48 002F8AA8 41 82 00 10 */ beq lbl_802FBB58 +/* 802FBB4C 002F8AAC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802FBB50 002F8AB0 38 80 FF FF */ li r4, -1 +/* 802FBB54 002F8AB4 48 04 52 ED */ bl __dt__6CTokenFv +lbl_802FBB58: +/* 802FBB58 002F8AB8 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 802FBB5C 002F8ABC 80 67 00 24 */ lwz r3, 0x24(r7) +/* 802FBB60 002F8AC0 38 87 00 24 */ addi r4, r7, 0x24 +/* 802FBB64 002F8AC4 54 60 06 FF */ clrlwi. r0, r3, 0x1b +/* 802FBB68 002F8AC8 54 63 D9 7E */ srwi r3, r3, 5 +/* 802FBB6C 002F8ACC 38 03 00 01 */ addi r0, r3, 1 +/* 802FBB70 002F8AD0 40 82 00 08 */ bne lbl_802FBB78 +/* 802FBB74 002F8AD4 7C 60 1B 78 */ mr r0, r3 +lbl_802FBB78: +/* 802FBB78 002F8AD8 54 00 10 3A */ slwi r0, r0, 2 +/* 802FBB7C 002F8ADC 7C C4 02 14 */ add r6, r4, r0 +/* 802FBB80 002F8AE0 80 06 00 04 */ lwz r0, 4(r6) +/* 802FBB84 002F8AE4 39 06 00 08 */ addi r8, r6, 8 +/* 802FBB88 002F8AE8 7D 05 43 78 */ mr r5, r8 +/* 802FBB8C 002F8AEC 7C 09 03 A6 */ mtctr r0 +/* 802FBB90 002F8AF0 2C 00 00 00 */ cmpwi r0, 0 +/* 802FBB94 002F8AF4 40 81 00 38 */ ble lbl_802FBBCC +lbl_802FBB98: +/* 802FBB98 002F8AF8 A0 05 00 04 */ lhz r0, 4(r5) +/* 802FBB9C 002F8AFC 28 00 00 00 */ cmplwi r0, 0 +/* 802FBBA0 002F8B00 40 82 00 0C */ bne lbl_802FBBAC +/* 802FBBA4 002F8B04 38 65 00 06 */ addi r3, r5, 6 +/* 802FBBA8 002F8B08 48 00 00 08 */ b lbl_802FBBB0 +lbl_802FBBAC: +/* 802FBBAC 002F8B0C 38 65 00 0F */ addi r3, r5, 0xf +lbl_802FBBB0: +/* 802FBBB0 002F8B10 A0 03 00 00 */ lhz r0, 0(r3) +/* 802FBBB4 002F8B14 28 00 00 00 */ cmplwi r0, 0 +/* 802FBBB8 002F8B18 40 82 00 0C */ bne lbl_802FBBC4 +/* 802FBBBC 002F8B1C 38 A3 00 02 */ addi r5, r3, 2 +/* 802FBBC0 002F8B20 48 00 00 08 */ b lbl_802FBBC8 +lbl_802FBBC4: +/* 802FBBC4 002F8B24 38 A3 00 0B */ addi r5, r3, 0xb +lbl_802FBBC8: +/* 802FBBC8 002F8B28 42 00 FF D0 */ bdnz lbl_802FBB98 +lbl_802FBBCC: +/* 802FBBCC 002F8B2C 80 67 00 24 */ lwz r3, 0x24(r7) +/* 802FBBD0 002F8B30 38 87 00 24 */ addi r4, r7, 0x24 +/* 802FBBD4 002F8B34 54 60 06 FF */ clrlwi. r0, r3, 0x1b +/* 802FBBD8 002F8B38 54 63 D9 7E */ srwi r3, r3, 5 +/* 802FBBDC 002F8B3C 38 03 00 01 */ addi r0, r3, 1 +/* 802FBBE0 002F8B40 40 82 00 08 */ bne lbl_802FBBE8 +/* 802FBBE4 002F8B44 7C 60 1B 78 */ mr r0, r3 +lbl_802FBBE8: +/* 802FBBE8 002F8B48 54 00 10 3A */ slwi r0, r0, 2 +/* 802FBBEC 002F8B4C 38 A5 FF FC */ addi r5, r5, -4 +/* 802FBBF0 002F8B50 7C 64 02 14 */ add r3, r4, r0 +/* 802FBBF4 002F8B54 38 81 00 08 */ addi r4, r1, 8 +/* 802FBBF8 002F8B58 A3 E3 00 0C */ lhz r31, 0xc(r3) +/* 802FBBFC 002F8B5C 38 65 00 04 */ addi r3, r5, 4 +/* 802FBC00 002F8B60 38 00 00 00 */ li r0, 0 +/* 802FBC04 002F8B64 3B A0 00 00 */ li r29, 0 +/* 802FBC08 002F8B68 90 A1 00 08 */ stw r5, 8(r1) +/* 802FBC0C 002F8B6C 90 81 00 38 */ stw r4, 0x38(r1) +/* 802FBC10 002F8B70 90 61 00 08 */ stw r3, 8(r1) +/* 802FBC14 002F8B74 80 63 00 00 */ lwz r3, 0(r3) +/* 802FBC18 002F8B78 90 61 00 3C */ stw r3, 0x3c(r1) +/* 802FBC1C 002F8B7C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802FBC20 002F8B80 80 06 00 04 */ lwz r0, 4(r6) +/* 802FBC24 002F8B84 7C 09 03 A6 */ mtctr r0 +/* 802FBC28 002F8B88 2C 00 00 00 */ cmpwi r0, 0 +/* 802FBC2C 002F8B8C 41 82 00 4C */ beq lbl_802FBC78 +lbl_802FBC30: +/* 802FBC30 002F8B90 80 08 00 00 */ lwz r0, 0(r8) +/* 802FBC34 002F8B94 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 802FBC38 002F8B98 28 00 00 03 */ cmplwi r0, 3 +/* 802FBC3C 002F8B9C 41 82 00 3C */ beq lbl_802FBC78 +/* 802FBC40 002F8BA0 A0 08 00 04 */ lhz r0, 4(r8) +/* 802FBC44 002F8BA4 3B BD 00 01 */ addi r29, r29, 1 +/* 802FBC48 002F8BA8 28 00 00 00 */ cmplwi r0, 0 +/* 802FBC4C 002F8BAC 40 82 00 0C */ bne lbl_802FBC58 +/* 802FBC50 002F8BB0 38 68 00 06 */ addi r3, r8, 6 +/* 802FBC54 002F8BB4 48 00 00 08 */ b lbl_802FBC5C +lbl_802FBC58: +/* 802FBC58 002F8BB8 38 68 00 0F */ addi r3, r8, 0xf +lbl_802FBC5C: +/* 802FBC5C 002F8BBC A0 03 00 00 */ lhz r0, 0(r3) +/* 802FBC60 002F8BC0 28 00 00 00 */ cmplwi r0, 0 +/* 802FBC64 002F8BC4 40 82 00 0C */ bne lbl_802FBC70 +/* 802FBC68 002F8BC8 39 03 00 02 */ addi r8, r3, 2 +/* 802FBC6C 002F8BCC 48 00 00 08 */ b lbl_802FBC74 +lbl_802FBC70: +/* 802FBC70 002F8BD0 39 03 00 0B */ addi r8, r3, 0xb +lbl_802FBC74: +/* 802FBC74 002F8BD4 42 00 FF BC */ bdnz lbl_802FBC30 +lbl_802FBC78: +/* 802FBC78 002F8BD8 7F C4 F3 78 */ mr r4, r30 +/* 802FBC7C 002F8BDC 38 61 00 44 */ addi r3, r1, 0x44 +/* 802FBC80 002F8BE0 4B FF FA C5 */ bl __ct__27CFBStreamedAnimReaderTotalsFRC22CFBStreamedCompression +/* 802FBC84 002F8BE4 38 61 00 44 */ addi r3, r1, 0x44 +/* 802FBC88 002F8BE8 4B FF F6 01 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +/* 802FBC8C 002F8BEC 57 A3 18 38 */ slwi r3, r29, 3 +/* 802FBC90 002F8BF0 C3 42 C6 F8 */ lfs f26, lbl_805AE418@sda21(r2) +/* 802FBC94 002F8BF4 38 03 00 04 */ addi r0, r3, 4 +/* 802FBC98 002F8BF8 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802FBC9C 002F8BFC 54 1D 10 3A */ slwi r29, r0, 2 +/* 802FBCA0 002F8C00 FF C0 D0 90 */ fmr f30, f26 +/* 802FBCA4 002F8C04 7C 63 EA 14 */ add r3, r3, r29 +/* 802FBCA8 002F8C08 C3 E2 C6 FC */ lfs f31, lbl_805AE41C@sda21(r2) +/* 802FBCAC 002F8C0C C3 A3 00 00 */ lfs f29, 0(r3) +/* 802FBCB0 002F8C10 3B 80 00 00 */ li r28, 0 +/* 802FBCB4 002F8C14 C3 83 00 04 */ lfs f28, 4(r3) +/* 802FBCB8 002F8C18 C3 63 00 08 */ lfs f27, 8(r3) +/* 802FBCBC 002F8C1C 48 00 00 80 */ b lbl_802FBD3C +lbl_802FBCC0: +/* 802FBCC0 002F8C20 38 61 00 44 */ addi r3, r1, 0x44 +/* 802FBCC4 002F8C24 7F C5 F3 78 */ mr r5, r30 +/* 802FBCC8 002F8C28 7C 66 1B 78 */ mr r6, r3 +/* 802FBCCC 002F8C2C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802FBCD0 002F8C30 4B FF EA 91 */ bl "IncrementInto__27CFBStreamedAnimReaderTotalsFR47CBitLevelLoader<28CMemoryInputToBitLevelLoader>RC22CFBStreamedCompressionR27CFBStreamedAnimReaderTotals" +/* 802FBCD4 002F8C34 38 61 00 44 */ addi r3, r1, 0x44 +/* 802FBCD8 002F8C38 4B FF F5 B1 */ bl CalculateDown__27CFBStreamedAnimReaderTotalsFv +/* 802FBCDC 002F8C3C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802FBCE0 002F8C40 38 61 00 2C */ addi r3, r1, 0x2c +/* 802FBCE4 002F8C44 7C 80 EA 14 */ add r4, r0, r29 +/* 802FBCE8 002F8C48 C0 64 00 00 */ lfs f3, 0(r4) +/* 802FBCEC 002F8C4C C0 84 00 04 */ lfs f4, 4(r4) +/* 802FBCF0 002F8C50 C0 A4 00 08 */ lfs f5, 8(r4) +/* 802FBCF4 002F8C54 EC 43 E8 28 */ fsubs f2, f3, f29 +/* 802FBCF8 002F8C58 EC 24 E0 28 */ fsubs f1, f4, f28 +/* 802FBCFC 002F8C5C EC 05 D8 28 */ fsubs f0, f5, f27 +/* 802FBD00 002F8C60 FF A0 18 90 */ fmr f29, f3 +/* 802FBD04 002F8C64 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802FBD08 002F8C68 FF 80 20 90 */ fmr f28, f4 +/* 802FBD0C 002F8C6C FF 60 28 90 */ fmr f27, f5 +/* 802FBD10 002F8C70 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802FBD14 002F8C74 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802FBD18 002F8C78 48 01 8B A1 */ bl Magnitude__9CVector3fCFv +/* 802FBD1C 002F8C7C EC 01 F0 28 */ fsubs f0, f1, f30 +/* 802FBD20 002F8C80 FC 00 02 10 */ fabs f0, f0 +/* 802FBD24 002F8C84 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802FBD28 002F8C88 7C 00 00 26 */ mfcr r0 +/* 802FBD2C 002F8C8C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 802FBD30 002F8C90 40 82 00 08 */ bne lbl_802FBD38 +/* 802FBD34 002F8C94 EF 5A 08 2A */ fadds f26, f26, f1 +lbl_802FBD38: +/* 802FBD38 002F8C98 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802FBD3C: +/* 802FBD3C 002F8C9C 7C 1C F8 40 */ cmplw r28, r31 +/* 802FBD40 002F8CA0 41 80 FF 80 */ blt lbl_802FBCC0 +/* 802FBD44 002F8CA4 7F C4 F3 78 */ mr r4, r30 +/* 802FBD48 002F8CA8 38 61 00 0C */ addi r3, r1, 0xc +/* 802FBD4C 002F8CAC 4B FF FB D9 */ bl GetAnimationDuration__22CFBStreamedCompressionCFv +/* 802FBD50 002F8CB0 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802FBD54 002F8CB4 38 61 00 44 */ addi r3, r1, 0x44 +/* 802FBD58 002F8CB8 38 80 FF FF */ li r4, -1 +/* 802FBD5C 002F8CBC EC 1A 00 24 */ fdivs f0, f26, f0 +/* 802FBD60 002F8CC0 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802FBD64 002F8CC4 4B FF F8 A9 */ bl sub_802fb60c +/* 802FBD68 002F8CC8 7F C3 F3 78 */ mr r3, r30 +/* 802FBD6C 002F8CCC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802FBD70 002F8CD0 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802FBD74 002F8CD4 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802FBD78 002F8CD8 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802FBD7C 002F8CDC E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802FBD80 002F8CE0 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802FBD84 002F8CE4 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 +/* 802FBD88 002F8CE8 CB 81 00 B0 */ lfd f28, 0xb0(r1) +/* 802FBD8C 002F8CEC E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 +/* 802FBD90 002F8CF0 CB 61 00 A0 */ lfd f27, 0xa0(r1) +/* 802FBD94 002F8CF4 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 +/* 802FBD98 002F8CF8 CB 41 00 90 */ lfd f26, 0x90(r1) +/* 802FBD9C 002F8CFC BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802FBDA0 002F8D00 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802FBDA4 002F8D04 7C 08 03 A6 */ mtlr r0 +/* 802FBDA8 002F8D08 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802FBDAC 002F8D0C 4E 80 00 20 */ blr + +.global GetRotationsAndOffsets__22CFBStreamedCompressionFUiR12CInputStream +GetRotationsAndOffsets__22CFBStreamedCompressionFUiR12CInputStream: +/* 802FBDB0 002F8D10 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802FBDB4 002F8D14 7C 08 02 A6 */ mflr r0 +/* 802FBDB8 002F8D18 3C C0 80 3D */ lis r6, lbl_803D6E38@ha +/* 802FBDBC 002F8D1C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802FBDC0 002F8D20 38 06 6E 38 */ addi r0, r6, lbl_803D6E38@l +/* 802FBDC4 002F8D24 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802FBDC8 002F8D28 7C 7E 1B 78 */ mr r30, r3 +/* 802FBDCC 002F8D2C 7C BF 2B 78 */ mr r31, r5 +/* 802FBDD0 002F8D30 54 83 10 3A */ slwi r3, r4, 2 +/* 802FBDD4 002F8D34 38 A0 00 00 */ li r5, 0 +/* 802FBDD8 002F8D38 7C 04 03 78 */ mr r4, r0 +/* 802FBDDC 002F8D3C 48 01 9A 3D */ bl __nwa__FUlPCcPCc +/* 802FBDE0 002F8D40 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802FBDE4 002F8D44 7C 1D 00 D0 */ neg r0, r29 +/* 802FBDE8 002F8D48 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802FBDEC 002F8D4C 7C 00 EB 78 */ or r0, r0, r29 +/* 802FBDF0 002F8D50 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FBDF4 002F8D54 98 01 00 08 */ stb r0, 8(r1) +/* 802FBDF8 002F8D58 41 82 00 0C */ beq lbl_802FBE04 +/* 802FBDFC 002F8D5C 7F E4 FB 78 */ mr r4, r31 +/* 802FBE00 002F8D60 48 00 04 B5 */ bl sub_802fc2b4 +lbl_802FBE04: +/* 802FBE04 002F8D64 37 5D 00 24 */ addic. r26, r29, 0x24 +/* 802FBE08 002F8D68 41 82 00 50 */ beq lbl_802FBE58 +/* 802FBE0C 002F8D6C 7F E3 FB 78 */ mr r3, r31 +/* 802FBE10 002F8D70 48 04 2E 75 */ bl ReadLong__12CInputStreamFv +/* 802FBE14 002F8D74 90 7A 00 00 */ stw r3, 0(r26) +/* 802FBE18 002F8D78 80 7A 00 00 */ lwz r3, 0(r26) +/* 802FBE1C 002F8D7C 54 60 06 FF */ clrlwi. r0, r3, 0x1b +/* 802FBE20 002F8D80 54 63 D9 7E */ srwi r3, r3, 5 +/* 802FBE24 002F8D84 3B A3 00 01 */ addi r29, r3, 1 +/* 802FBE28 002F8D88 40 82 00 08 */ bne lbl_802FBE30 +/* 802FBE2C 002F8D8C 7C 7D 1B 78 */ mr r29, r3 +lbl_802FBE30: +/* 802FBE30 002F8D90 3B 7A 00 04 */ addi r27, r26, 4 +/* 802FBE34 002F8D94 3B 80 00 00 */ li r28, 0 +/* 802FBE38 002F8D98 48 00 00 18 */ b lbl_802FBE50 +lbl_802FBE3C: +/* 802FBE3C 002F8D9C 7F E3 FB 78 */ mr r3, r31 +/* 802FBE40 002F8DA0 48 04 2E 45 */ bl ReadLong__12CInputStreamFv +/* 802FBE44 002F8DA4 90 7B 00 00 */ stw r3, 0(r27) +/* 802FBE48 002F8DA8 3B 7B 00 04 */ addi r27, r27, 4 +/* 802FBE4C 002F8DAC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802FBE50: +/* 802FBE50 002F8DB0 7C 1C E8 40 */ cmplw r28, r29 +/* 802FBE54 002F8DB4 41 80 FF E8 */ blt lbl_802FBE3C +lbl_802FBE58: +/* 802FBE58 002F8DB8 80 7A 00 00 */ lwz r3, 0(r26) +/* 802FBE5C 002F8DBC 54 60 06 FF */ clrlwi. r0, r3, 0x1b +/* 802FBE60 002F8DC0 54 63 D9 7E */ srwi r3, r3, 5 +/* 802FBE64 002F8DC4 3B A3 00 01 */ addi r29, r3, 1 +/* 802FBE68 002F8DC8 40 82 00 08 */ bne lbl_802FBE70 +/* 802FBE6C 002F8DCC 7C 7D 1B 78 */ mr r29, r3 +lbl_802FBE70: +/* 802FBE70 002F8DD0 7F E3 FB 78 */ mr r3, r31 +/* 802FBE74 002F8DD4 48 04 2E 11 */ bl ReadLong__12CInputStreamFv +/* 802FBE78 002F8DD8 57 A0 10 3A */ slwi r0, r29, 2 +/* 802FBE7C 002F8DDC 7F 5A 02 14 */ add r26, r26, r0 +/* 802FBE80 002F8DE0 37 5A 00 04 */ addic. r26, r26, 4 +/* 802FBE84 002F8DE4 41 82 00 10 */ beq lbl_802FBE94 +/* 802FBE88 002F8DE8 7F 43 D3 78 */ mr r3, r26 +/* 802FBE8C 002F8DEC 7F E4 FB 78 */ mr r4, r31 +/* 802FBE90 002F8DF0 48 00 02 41 */ bl sub_802fc0d0 +lbl_802FBE94: +/* 802FBE94 002F8DF4 80 1A 00 00 */ lwz r0, 0(r26) +/* 802FBE98 002F8DF8 3B 7A 00 04 */ addi r27, r26, 4 +/* 802FBE9C 002F8DFC 7F 63 DB 78 */ mr r3, r27 +/* 802FBEA0 002F8E00 7C 09 03 A6 */ mtctr r0 +/* 802FBEA4 002F8E04 2C 00 00 00 */ cmpwi r0, 0 +/* 802FBEA8 002F8E08 40 81 00 38 */ ble lbl_802FBEE0 +lbl_802FBEAC: +/* 802FBEAC 002F8E0C A0 03 00 04 */ lhz r0, 4(r3) +/* 802FBEB0 002F8E10 28 00 00 00 */ cmplwi r0, 0 +/* 802FBEB4 002F8E14 40 82 00 0C */ bne lbl_802FBEC0 +/* 802FBEB8 002F8E18 38 63 00 06 */ addi r3, r3, 6 +/* 802FBEBC 002F8E1C 48 00 00 08 */ b lbl_802FBEC4 +lbl_802FBEC0: +/* 802FBEC0 002F8E20 38 63 00 0F */ addi r3, r3, 0xf +lbl_802FBEC4: +/* 802FBEC4 002F8E24 A0 03 00 00 */ lhz r0, 0(r3) +/* 802FBEC8 002F8E28 28 00 00 00 */ cmplwi r0, 0 +/* 802FBECC 002F8E2C 40 82 00 0C */ bne lbl_802FBED8 +/* 802FBED0 002F8E30 38 63 00 02 */ addi r3, r3, 2 +/* 802FBED4 002F8E34 48 00 00 08 */ b lbl_802FBEDC +lbl_802FBED8: +/* 802FBED8 002F8E38 38 63 00 0B */ addi r3, r3, 0xb +lbl_802FBEDC: +/* 802FBEDC 002F8E3C 42 00 FF D0 */ bdnz lbl_802FBEAC +lbl_802FBEE0: +/* 802FBEE0 002F8E40 7C 7C 1B 78 */ mr r28, r3 +/* 802FBEE4 002F8E44 7F 43 D3 78 */ mr r3, r26 +/* 802FBEE8 002F8E48 48 00 00 91 */ bl sub_802fbf78 +/* 802FBEEC 002F8E4C A0 9B 00 04 */ lhz r4, 4(r27) +/* 802FBEF0 002F8E50 3C 00 43 30 */ lis r0, 0x4330 +/* 802FBEF4 002F8E54 90 01 00 10 */ stw r0, 0x10(r1) +/* 802FBEF8 002F8E58 7C 63 21 D6 */ mullw r3, r3, r4 +/* 802FBEFC 002F8E5C C8 42 C7 08 */ lfd f2, lbl_805AE428@sda21(r2) +/* 802FBF00 002F8E60 C0 02 C7 00 */ lfs f0, lbl_805AE420@sda21(r2) +/* 802FBF04 002F8E64 38 03 00 1F */ addi r0, r3, 0x1f +/* 802FBF08 002F8E68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FBF0C 002F8E6C C8 21 00 10 */ lfd f1, 0x10(r1) +/* 802FBF10 002F8E70 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802FBF14 002F8E74 EC 21 00 32 */ fmuls f1, f1, f0 +/* 802FBF18 002F8E78 48 08 DA 3D */ bl __cvt_fp2unsigned +/* 802FBF1C 002F8E7C 7C 7D 1B 78 */ mr r29, r3 +/* 802FBF20 002F8E80 3B 40 00 00 */ li r26, 0 +/* 802FBF24 002F8E84 48 00 00 18 */ b lbl_802FBF3C +lbl_802FBF28: +/* 802FBF28 002F8E88 7F E3 FB 78 */ mr r3, r31 +/* 802FBF2C 002F8E8C 48 04 2D 59 */ bl ReadLong__12CInputStreamFv +/* 802FBF30 002F8E90 90 7C 00 00 */ stw r3, 0(r28) +/* 802FBF34 002F8E94 3B 9C 00 04 */ addi r28, r28, 4 +/* 802FBF38 002F8E98 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802FBF3C: +/* 802FBF3C 002F8E9C 7C 1A E8 40 */ cmplw r26, r29 +/* 802FBF40 002F8EA0 41 80 FF E8 */ blt lbl_802FBF28 +/* 802FBF44 002F8EA4 88 81 00 08 */ lbz r4, 8(r1) +/* 802FBF48 002F8EA8 38 00 00 00 */ li r0, 0 +/* 802FBF4C 002F8EAC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802FBF50 002F8EB0 98 9E 00 00 */ stb r4, 0(r30) +/* 802FBF54 002F8EB4 90 7E 00 04 */ stw r3, 4(r30) +/* 802FBF58 002F8EB8 98 01 00 08 */ stb r0, 8(r1) +/* 802FBF5C 002F8EBC 48 00 00 08 */ b lbl_802FBF64 +/* 802FBF60 002F8EC0 48 01 99 D1 */ bl Free__7CMemoryFPCv +lbl_802FBF64: +/* 802FBF64 002F8EC4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802FBF68 002F8EC8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802FBF6C 002F8ECC 7C 08 03 A6 */ mtlr r0 +/* 802FBF70 002F8ED0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802FBF74 002F8ED4 4E 80 00 20 */ blr + +.global sub_802fbf78 +sub_802fbf78: +/* 802FBF78 002F8ED8 80 03 00 00 */ lwz r0, 0(r3) +/* 802FBF7C 002F8EDC 39 03 00 04 */ addi r8, r3, 4 +/* 802FBF80 002F8EE0 38 60 00 00 */ li r3, 0 +/* 802FBF84 002F8EE4 7C 09 03 A6 */ mtctr r0 +/* 802FBF88 002F8EE8 2C 00 00 00 */ cmpwi r0, 0 +/* 802FBF8C 002F8EEC 4D 82 00 20 */ beqlr +lbl_802FBF90: +/* 802FBF90 002F8EF0 A0 08 00 04 */ lhz r0, 4(r8) +/* 802FBF94 002F8EF4 28 00 00 00 */ cmplwi r0, 0 +/* 802FBF98 002F8EF8 40 82 00 0C */ bne lbl_802FBFA4 +/* 802FBF9C 002F8EFC 38 88 00 06 */ addi r4, r8, 6 +/* 802FBFA0 002F8F00 48 00 00 08 */ b lbl_802FBFA8 +lbl_802FBFA4: +/* 802FBFA4 002F8F04 38 88 00 0F */ addi r4, r8, 0xf +lbl_802FBFA8: +/* 802FBFA8 002F8F08 A0 08 00 04 */ lhz r0, 4(r8) +/* 802FBFAC 002F8F0C 28 00 00 00 */ cmplwi r0, 0 +/* 802FBFB0 002F8F10 40 82 00 0C */ bne lbl_802FBFBC +/* 802FBFB4 002F8F14 38 C0 00 00 */ li r6, 0 +/* 802FBFB8 002F8F18 48 00 00 5C */ b lbl_802FC014 +lbl_802FBFBC: +/* 802FBFBC 002F8F1C 38 00 00 00 */ li r0, 0 +/* 802FBFC0 002F8F20 38 A8 00 06 */ addi r5, r8, 6 +/* 802FBFC4 002F8F24 28 00 00 00 */ cmplwi r0, 0 +/* 802FBFC8 002F8F28 40 82 00 0C */ bne lbl_802FBFD4 +/* 802FBFCC 002F8F2C 38 C0 00 01 */ li r6, 1 +/* 802FBFD0 002F8F30 48 00 00 14 */ b lbl_802FBFE4 +lbl_802FBFD4: +/* 802FBFD4 002F8F34 88 C5 00 02 */ lbz r6, 2(r5) +/* 802FBFD8 002F8F38 38 A5 00 03 */ addi r5, r5, 3 +/* 802FBFDC 002F8F3C 48 00 00 08 */ b lbl_802FBFE4 +/* 802FBFE0 002F8F40 48 00 00 18 */ b lbl_802FBFF8 +lbl_802FBFE4: +/* 802FBFE4 002F8F44 88 05 00 02 */ lbz r0, 2(r5) +/* 802FBFE8 002F8F48 38 A5 00 03 */ addi r5, r5, 3 +/* 802FBFEC 002F8F4C 7C C6 02 14 */ add r6, r6, r0 +/* 802FBFF0 002F8F50 48 00 00 08 */ b lbl_802FBFF8 +/* 802FBFF4 002F8F54 48 00 00 18 */ b lbl_802FC00C +lbl_802FBFF8: +/* 802FBFF8 002F8F58 88 05 00 02 */ lbz r0, 2(r5) +/* 802FBFFC 002F8F5C 38 A5 00 03 */ addi r5, r5, 3 +/* 802FC000 002F8F60 7C C6 02 14 */ add r6, r6, r0 +/* 802FC004 002F8F64 48 00 00 08 */ b lbl_802FC00C +/* 802FC008 002F8F68 48 00 00 0C */ b lbl_802FC014 +lbl_802FC00C: +/* 802FC00C 002F8F6C 88 05 00 02 */ lbz r0, 2(r5) +/* 802FC010 002F8F70 7C C6 02 14 */ add r6, r6, r0 +lbl_802FC014: +/* 802FC014 002F8F74 A0 04 00 00 */ lhz r0, 0(r4) +/* 802FC018 002F8F78 28 00 00 00 */ cmplwi r0, 0 +/* 802FC01C 002F8F7C 40 82 00 0C */ bne lbl_802FC028 +/* 802FC020 002F8F80 38 E0 00 00 */ li r7, 0 +/* 802FC024 002F8F84 48 00 00 6C */ b lbl_802FC090 +lbl_802FC028: +/* 802FC028 002F8F88 38 A0 00 00 */ li r5, 0 +/* 802FC02C 002F8F8C 38 84 00 02 */ addi r4, r4, 2 +/* 802FC030 002F8F90 3C 05 FF FF */ addis r0, r5, 0xffff +/* 802FC034 002F8F94 28 00 86 A0 */ cmplwi r0, 0x86a0 +/* 802FC038 002F8F98 40 82 00 0C */ bne lbl_802FC044 +/* 802FC03C 002F8F9C 38 E0 00 01 */ li r7, 1 +/* 802FC040 002F8FA0 48 00 00 0C */ b lbl_802FC04C +lbl_802FC044: +/* 802FC044 002F8FA4 88 E4 00 02 */ lbz r7, 2(r4) +/* 802FC048 002F8FA8 38 84 00 03 */ addi r4, r4, 3 +lbl_802FC04C: +/* 802FC04C 002F8FAC 38 A0 00 01 */ li r5, 1 +/* 802FC050 002F8FB0 3C 05 FF FF */ addis r0, r5, 0xffff +/* 802FC054 002F8FB4 28 00 86 A0 */ cmplwi r0, 0x86a0 +/* 802FC058 002F8FB8 40 82 00 0C */ bne lbl_802FC064 +/* 802FC05C 002F8FBC 38 E7 00 01 */ addi r7, r7, 1 +/* 802FC060 002F8FC0 48 00 00 10 */ b lbl_802FC070 +lbl_802FC064: +/* 802FC064 002F8FC4 88 04 00 02 */ lbz r0, 2(r4) +/* 802FC068 002F8FC8 38 84 00 03 */ addi r4, r4, 3 +/* 802FC06C 002F8FCC 7C E7 02 14 */ add r7, r7, r0 +lbl_802FC070: +/* 802FC070 002F8FD0 38 A0 00 02 */ li r5, 2 +/* 802FC074 002F8FD4 3C 05 FF FF */ addis r0, r5, 0xffff +/* 802FC078 002F8FD8 28 00 86 A0 */ cmplwi r0, 0x86a0 +/* 802FC07C 002F8FDC 40 82 00 0C */ bne lbl_802FC088 +/* 802FC080 002F8FE0 38 E7 00 01 */ addi r7, r7, 1 +/* 802FC084 002F8FE4 48 00 00 0C */ b lbl_802FC090 +lbl_802FC088: +/* 802FC088 002F8FE8 88 04 00 02 */ lbz r0, 2(r4) +/* 802FC08C 002F8FEC 7C E7 02 14 */ add r7, r7, r0 +lbl_802FC090: +/* 802FC090 002F8FF0 A0 08 00 04 */ lhz r0, 4(r8) +/* 802FC094 002F8FF4 7C 67 1A 14 */ add r3, r7, r3 +/* 802FC098 002F8FF8 7C 66 1A 14 */ add r3, r6, r3 +/* 802FC09C 002F8FFC 28 00 00 00 */ cmplwi r0, 0 +/* 802FC0A0 002F9000 40 82 00 0C */ bne lbl_802FC0AC +/* 802FC0A4 002F9004 38 88 00 06 */ addi r4, r8, 6 +/* 802FC0A8 002F9008 48 00 00 08 */ b lbl_802FC0B0 +lbl_802FC0AC: +/* 802FC0AC 002F900C 38 88 00 0F */ addi r4, r8, 0xf +lbl_802FC0B0: +/* 802FC0B0 002F9010 A0 04 00 00 */ lhz r0, 0(r4) +/* 802FC0B4 002F9014 28 00 00 00 */ cmplwi r0, 0 +/* 802FC0B8 002F9018 40 82 00 0C */ bne lbl_802FC0C4 +/* 802FC0BC 002F901C 39 04 00 02 */ addi r8, r4, 2 +/* 802FC0C0 002F9020 48 00 00 08 */ b lbl_802FC0C8 +lbl_802FC0C4: +/* 802FC0C4 002F9024 39 04 00 0B */ addi r8, r4, 0xb +lbl_802FC0C8: +/* 802FC0C8 002F9028 42 00 FE C8 */ bdnz lbl_802FBF90 + +.global sub_802fc0cc +sub_802fc0cc: +/* 802FC0CC 002F902C 4E 80 00 20 */ blr + +.global sub_802fc0d0 +sub_802fc0d0: +/* 802FC0D0 002F9030 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FC0D4 002F9034 7C 08 02 A6 */ mflr r0 +/* 802FC0D8 002F9038 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FC0DC 002F903C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FC0E0 002F9040 7C 7F 1B 78 */ mr r31, r3 +/* 802FC0E4 002F9044 48 00 00 1D */ bl sub_802fc100 +/* 802FC0E8 002F9048 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FC0EC 002F904C 7F E3 FB 78 */ mr r3, r31 +/* 802FC0F0 002F9050 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FC0F4 002F9054 7C 08 03 A6 */ mtlr r0 +/* 802FC0F8 002F9058 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FC0FC 002F905C 4E 80 00 20 */ blr + +.global sub_802fc100 +sub_802fc100: +/* 802FC100 002F9060 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FC104 002F9064 7C 08 02 A6 */ mflr r0 +/* 802FC108 002F9068 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FC10C 002F906C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802FC110 002F9070 7C 9C 23 78 */ mr r28, r4 +/* 802FC114 002F9074 7C 7B 1B 78 */ mr r27, r3 +/* 802FC118 002F9078 7F 83 E3 78 */ mr r3, r28 +/* 802FC11C 002F907C 48 04 2B 69 */ bl ReadLong__12CInputStreamFv +/* 802FC120 002F9080 90 7B 00 00 */ stw r3, 0(r27) +/* 802FC124 002F9084 3B DB 00 04 */ addi r30, r27, 4 +/* 802FC128 002F9088 3B A0 00 00 */ li r29, 0 +/* 802FC12C 002F908C 83 FB 00 00 */ lwz r31, 0(r27) +/* 802FC130 002F9090 48 00 00 4C */ b lbl_802FC17C +lbl_802FC134: +/* 802FC134 002F9094 28 1E 00 00 */ cmplwi r30, 0 +/* 802FC138 002F9098 41 82 00 10 */ beq lbl_802FC148 +/* 802FC13C 002F909C 7F C3 F3 78 */ mr r3, r30 +/* 802FC140 002F90A0 7F 84 E3 78 */ mr r4, r28 +/* 802FC144 002F90A4 48 00 00 59 */ bl sub_802fc19c +lbl_802FC148: +/* 802FC148 002F90A8 A0 1E 00 04 */ lhz r0, 4(r30) +/* 802FC14C 002F90AC 28 00 00 00 */ cmplwi r0, 0 +/* 802FC150 002F90B0 40 82 00 0C */ bne lbl_802FC15C +/* 802FC154 002F90B4 38 7E 00 06 */ addi r3, r30, 6 +/* 802FC158 002F90B8 48 00 00 08 */ b lbl_802FC160 +lbl_802FC15C: +/* 802FC15C 002F90BC 38 7E 00 0F */ addi r3, r30, 0xf +lbl_802FC160: +/* 802FC160 002F90C0 A0 03 00 00 */ lhz r0, 0(r3) +/* 802FC164 002F90C4 28 00 00 00 */ cmplwi r0, 0 +/* 802FC168 002F90C8 40 82 00 0C */ bne lbl_802FC174 +/* 802FC16C 002F90CC 3B C3 00 02 */ addi r30, r3, 2 +/* 802FC170 002F90D0 48 00 00 08 */ b lbl_802FC178 +lbl_802FC174: +/* 802FC174 002F90D4 3B C3 00 0B */ addi r30, r3, 0xb +lbl_802FC178: +/* 802FC178 002F90D8 3B BD 00 01 */ addi r29, r29, 1 +lbl_802FC17C: +/* 802FC17C 002F90DC 7C 1D F8 00 */ cmpw r29, r31 +/* 802FC180 002F90E0 41 80 FF B4 */ blt lbl_802FC134 +/* 802FC184 002F90E4 7F 63 DB 78 */ mr r3, r27 +/* 802FC188 002F90E8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802FC18C 002F90EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FC190 002F90F0 7C 08 03 A6 */ mtlr r0 +/* 802FC194 002F90F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FC198 002F90F8 4E 80 00 20 */ blr + +.global sub_802fc19c +sub_802fc19c: +/* 802FC19C 002F90FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FC1A0 002F9100 7C 08 02 A6 */ mflr r0 +/* 802FC1A4 002F9104 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FC1A8 002F9108 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FC1AC 002F910C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FC1B0 002F9110 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FC1B4 002F9114 7C 9D 23 78 */ mr r29, r4 +/* 802FC1B8 002F9118 93 81 00 10 */ stw r28, 0x10(r1) +/* 802FC1BC 002F911C 7C 7C 1B 78 */ mr r28, r3 +/* 802FC1C0 002F9120 7F A3 EB 78 */ mr r3, r29 +/* 802FC1C4 002F9124 48 04 2A C1 */ bl ReadLong__12CInputStreamFv +/* 802FC1C8 002F9128 37 FC 00 04 */ addic. r31, r28, 4 +/* 802FC1CC 002F912C 90 7C 00 00 */ stw r3, 0(r28) +/* 802FC1D0 002F9130 41 82 00 50 */ beq lbl_802FC220 +/* 802FC1D4 002F9134 7F A3 EB 78 */ mr r3, r29 +/* 802FC1D8 002F9138 48 04 2A D9 */ bl ReadShort__12CInputStreamFv +/* 802FC1DC 002F913C 54 60 04 3F */ clrlwi. r0, r3, 0x10 +/* 802FC1E0 002F9140 B0 7F 00 00 */ sth r3, 0(r31) +/* 802FC1E4 002F9144 3B DF 00 02 */ addi r30, r31, 2 +/* 802FC1E8 002F9148 41 82 00 38 */ beq lbl_802FC220 +/* 802FC1EC 002F914C 3B E0 00 00 */ li r31, 0 +lbl_802FC1F0: +/* 802FC1F0 002F9150 28 1F 00 00 */ cmplwi r31, 0 +/* 802FC1F4 002F9154 41 82 00 20 */ beq lbl_802FC214 +/* 802FC1F8 002F9158 7F A3 EB 78 */ mr r3, r29 +/* 802FC1FC 002F915C 48 04 2A B5 */ bl ReadShort__12CInputStreamFv +/* 802FC200 002F9160 B0 7E 00 00 */ sth r3, 0(r30) +/* 802FC204 002F9164 7F A3 EB 78 */ mr r3, r29 +/* 802FC208 002F9168 48 04 2B 05 */ bl ReadChar__12CInputStreamFv +/* 802FC20C 002F916C 98 7E 00 02 */ stb r3, 2(r30) +/* 802FC210 002F9170 3B DE 00 03 */ addi r30, r30, 3 +lbl_802FC214: +/* 802FC214 002F9174 3B FF 00 01 */ addi r31, r31, 1 +/* 802FC218 002F9178 28 1F 00 04 */ cmplwi r31, 4 +/* 802FC21C 002F917C 41 80 FF D4 */ blt lbl_802FC1F0 +lbl_802FC220: +/* 802FC220 002F9180 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802FC224 002F9184 28 00 00 00 */ cmplwi r0, 0 +/* 802FC228 002F9188 40 82 00 0C */ bne lbl_802FC234 +/* 802FC22C 002F918C 3B DC 00 06 */ addi r30, r28, 6 +/* 802FC230 002F9190 48 00 00 08 */ b lbl_802FC238 +lbl_802FC234: +/* 802FC234 002F9194 3B DC 00 0F */ addi r30, r28, 0xf +lbl_802FC238: +/* 802FC238 002F9198 28 1E 00 00 */ cmplwi r30, 0 +/* 802FC23C 002F919C 41 82 00 54 */ beq lbl_802FC290 +/* 802FC240 002F91A0 7F A3 EB 78 */ mr r3, r29 +/* 802FC244 002F91A4 48 04 2A 6D */ bl ReadShort__12CInputStreamFv +/* 802FC248 002F91A8 54 60 04 3F */ clrlwi. r0, r3, 0x10 +/* 802FC24C 002F91AC B0 7E 00 00 */ sth r3, 0(r30) +/* 802FC250 002F91B0 3B FE 00 02 */ addi r31, r30, 2 +/* 802FC254 002F91B4 41 82 00 3C */ beq lbl_802FC290 +/* 802FC258 002F91B8 3B C0 00 00 */ li r30, 0 +lbl_802FC25C: +/* 802FC25C 002F91BC 3C 1E FF FF */ addis r0, r30, 0xffff +/* 802FC260 002F91C0 28 00 86 A0 */ cmplwi r0, 0x86a0 +/* 802FC264 002F91C4 41 82 00 20 */ beq lbl_802FC284 +/* 802FC268 002F91C8 7F A3 EB 78 */ mr r3, r29 +/* 802FC26C 002F91CC 48 04 2A 45 */ bl ReadShort__12CInputStreamFv +/* 802FC270 002F91D0 B0 7F 00 00 */ sth r3, 0(r31) +/* 802FC274 002F91D4 7F A3 EB 78 */ mr r3, r29 +/* 802FC278 002F91D8 48 04 2A 95 */ bl ReadChar__12CInputStreamFv +/* 802FC27C 002F91DC 98 7F 00 02 */ stb r3, 2(r31) +/* 802FC280 002F91E0 3B FF 00 03 */ addi r31, r31, 3 +lbl_802FC284: +/* 802FC284 002F91E4 3B DE 00 01 */ addi r30, r30, 1 +/* 802FC288 002F91E8 28 1E 00 03 */ cmplwi r30, 3 +/* 802FC28C 002F91EC 41 80 FF D0 */ blt lbl_802FC25C +lbl_802FC290: +/* 802FC290 002F91F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FC294 002F91F4 7F 83 E3 78 */ mr r3, r28 +/* 802FC298 002F91F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FC29C 002F91FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FC2A0 002F9200 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FC2A4 002F9204 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802FC2A8 002F9208 7C 08 03 A6 */ mtlr r0 +/* 802FC2AC 002F920C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FC2B0 002F9210 4E 80 00 20 */ blr + +.global sub_802fc2b4 +sub_802fc2b4: +/* 802FC2B4 002F9214 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FC2B8 002F9218 7C 08 02 A6 */ mflr r0 +/* 802FC2BC 002F921C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FC2C0 002F9220 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FC2C4 002F9224 7C 9F 23 78 */ mr r31, r4 +/* 802FC2C8 002F9228 93 C1 00 08 */ stw r30, 8(r1) +/* 802FC2CC 002F922C 7C 7E 1B 78 */ mr r30, r3 +/* 802FC2D0 002F9230 7F E3 FB 78 */ mr r3, r31 +/* 802FC2D4 002F9234 48 04 29 B1 */ bl ReadLong__12CInputStreamFv +/* 802FC2D8 002F9238 90 7E 00 00 */ stw r3, 0(r30) +/* 802FC2DC 002F923C 7F E3 FB 78 */ mr r3, r31 +/* 802FC2E0 002F9240 48 04 29 49 */ bl ReadFloat__12CInputStreamFv +/* 802FC2E4 002F9244 D0 3E 00 04 */ stfs f1, 4(r30) +/* 802FC2E8 002F9248 7F E3 FB 78 */ mr r3, r31 +/* 802FC2EC 002F924C 48 04 29 3D */ bl ReadFloat__12CInputStreamFv +/* 802FC2F0 002F9250 D0 3E 00 08 */ stfs f1, 8(r30) +/* 802FC2F4 002F9254 7F E3 FB 78 */ mr r3, r31 +/* 802FC2F8 002F9258 48 04 29 8D */ bl ReadLong__12CInputStreamFv +/* 802FC2FC 002F925C 90 7E 00 0C */ stw r3, 0xc(r30) +/* 802FC300 002F9260 7F E3 FB 78 */ mr r3, r31 +/* 802FC304 002F9264 48 04 29 81 */ bl ReadLong__12CInputStreamFv +/* 802FC308 002F9268 90 7E 00 10 */ stw r3, 0x10(r30) +/* 802FC30C 002F926C 7F E3 FB 78 */ mr r3, r31 +/* 802FC310 002F9270 48 04 29 75 */ bl ReadLong__12CInputStreamFv +/* 802FC314 002F9274 90 7E 00 14 */ stw r3, 0x14(r30) +/* 802FC318 002F9278 7F E3 FB 78 */ mr r3, r31 +/* 802FC31C 002F927C 48 04 29 0D */ bl ReadFloat__12CInputStreamFv +/* 802FC320 002F9280 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 802FC324 002F9284 7F E3 FB 78 */ mr r3, r31 +/* 802FC328 002F9288 48 04 29 5D */ bl ReadLong__12CInputStreamFv +/* 802FC32C 002F928C 90 7E 00 1C */ stw r3, 0x1c(r30) +/* 802FC330 002F9290 7F E3 FB 78 */ mr r3, r31 +/* 802FC334 002F9294 48 04 29 51 */ bl ReadLong__12CInputStreamFv +/* 802FC338 002F9298 90 7E 00 20 */ stw r3, 0x20(r30) +/* 802FC33C 002F929C 7F C3 F3 78 */ mr r3, r30 +/* 802FC340 002F92A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FC344 002F92A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FC348 002F92A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FC34C 002F92AC 7C 08 03 A6 */ mtlr r0 +/* 802FC350 002F92B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FC354 002F92B4 4E 80 00 20 */ blr + +.global sub_802fc358 +sub_802fc358: +/* 802FC358 002F92B8 80 63 00 08 */ lwz r3, 8(r3) +/* 802FC35C 002F92BC 80 03 00 0C */ lwz r0, 0xc(r3) +/* 802FC360 002F92C0 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 802FC364 002F92C4 4E 80 00 20 */ blr + +.global BuildTransform__21CHierarchyPoseBuilderCFRC6CSegIdR12CTransform4f +BuildTransform__21CHierarchyPoseBuilderCFRC6CSegIdR12CTransform4f: +/* 802FC368 002F92C8 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 802FC36C 002F92CC 7C 08 02 A6 */ mflr r0 +/* 802FC370 002F92D0 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 802FC374 002F92D4 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 802FC378 002F92D8 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 802FC37C 002F92DC DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 802FC380 002F92E0 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 802FC384 002F92E4 DB A1 01 C0 */ stfd f29, 0x1c0(r1) +/* 802FC388 002F92E8 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 +/* 802FC38C 002F92EC DB 81 01 B0 */ stfd f28, 0x1b0(r1) +/* 802FC390 002F92F0 F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 +/* 802FC394 002F92F4 DB 61 01 A0 */ stfd f27, 0x1a0(r1) +/* 802FC398 002F92F8 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 +/* 802FC39C 002F92FC BF 21 01 84 */ stmw r25, 0x184(r1) +/* 802FC3A0 002F9300 7C 7D 1B 78 */ mr r29, r3 +/* 802FC3A4 002F9304 38 00 00 00 */ li r0, 0 +/* 802FC3A8 002F9308 88 C3 00 2C */ lbz r6, 0x2c(r3) +/* 802FC3AC 002F930C 7C BE 2B 78 */ mr r30, r5 +/* 802FC3B0 002F9310 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802FC3B4 002F9314 28 06 00 00 */ cmplwi r6, 0 +/* 802FC3B8 002F9318 88 84 00 00 */ lbz r4, 0(r4) +/* 802FC3BC 002F931C 41 82 00 08 */ beq lbl_802FC3C4 +/* 802FC3C0 002F9320 38 7D 00 0C */ addi r3, r29, 0xc +lbl_802FC3C4: +/* 802FC3C4 002F9324 28 06 00 00 */ cmplwi r6, 0 +/* 802FC3C8 002F9328 80 A3 00 08 */ lwz r5, 8(r3) +/* 802FC3CC 002F932C 41 82 00 0C */ beq lbl_802FC3D8 +/* 802FC3D0 002F9330 C3 DD 00 18 */ lfs f30, 0x18(r29) +/* 802FC3D4 002F9334 48 00 00 08 */ b lbl_802FC3DC +lbl_802FC3D8: +/* 802FC3D8 002F9338 C3 C2 C7 10 */ lfs f30, lbl_805AE430@sda21(r2) +lbl_802FC3DC: +/* 802FC3DC 002F933C 3B E1 01 10 */ addi r31, r1, 0x110 +/* 802FC3E0 002F9340 48 00 00 3C */ b lbl_802FC41C +lbl_802FC3E4: +/* 802FC3E4 002F9344 80 01 01 0C */ lwz r0, 0x10c(r1) +/* 802FC3E8 002F9348 7C 7F 02 15 */ add. r3, r31, r0 +/* 802FC3EC 002F934C 41 82 00 08 */ beq lbl_802FC3F4 +/* 802FC3F0 002F9350 98 83 00 00 */ stb r4, 0(r3) +lbl_802FC3F4: +/* 802FC3F4 002F9354 80 61 01 0C */ lwz r3, 0x10c(r1) +/* 802FC3F8 002F9358 54 80 0D FC */ rlwinm r0, r4, 1, 0x17, 0x1e +/* 802FC3FC 002F935C 38 63 00 01 */ addi r3, r3, 1 +/* 802FC400 002F9360 90 61 01 0C */ stw r3, 0x10c(r1) +/* 802FC404 002F9364 80 85 00 00 */ lwz r4, 0(r5) +/* 802FC408 002F9368 7C 64 02 14 */ add r3, r4, r0 +/* 802FC40C 002F936C 80 84 00 D0 */ lwz r4, 0xd0(r4) +/* 802FC410 002F9370 88 03 00 09 */ lbz r0, 9(r3) +/* 802FC414 002F9374 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 802FC418 002F9378 7C 84 00 AE */ lbzx r4, r4, r0 +lbl_802FC41C: +/* 802FC41C 002F937C 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 802FC420 002F9380 28 00 00 02 */ cmplwi r0, 2 +/* 802FC424 002F9384 40 82 FF C0 */ bne lbl_802FC3E4 +/* 802FC428 002F9388 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802FC42C 002F938C C3 A2 C7 14 */ lfs f29, lbl_805AE434@sda21(r2) +/* 802FC430 002F9390 38 A3 66 60 */ addi r5, r3, lbl_805A6660@l +/* 802FC434 002F9394 C0 65 00 00 */ lfs f3, 0(r5) +/* 802FC438 002F9398 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 802FC43C 002F939C C0 45 00 04 */ lfs f2, 4(r5) +/* 802FC440 002F93A0 FF 80 E8 90 */ fmr f28, f29 +/* 802FC444 002F93A4 C0 25 00 08 */ lfs f1, 8(r5) +/* 802FC448 002F93A8 FF 60 E8 90 */ fmr f27, f29 +/* 802FC44C 002F93AC C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802FC450 002F93B0 38 83 65 FC */ addi r4, r3, lbl_805A65FC@l +/* 802FC454 002F93B4 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802FC458 002F93B8 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802FC45C 002F93BC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802FC460 002F93C0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802FC464 002F93C4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802FC468 002F93C8 48 01 3B BD */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 802FC46C 002F93CC 80 01 01 0C */ lwz r0, 0x10c(r1) +/* 802FC470 002F93D0 3B 5D 00 40 */ addi r26, r29, 0x40 +/* 802FC474 002F93D4 C3 E2 C7 10 */ lfs f31, lbl_805AE430@sda21(r2) +/* 802FC478 002F93D8 7F 3F 02 14 */ add r25, r31, r0 +/* 802FC47C 002F93DC 48 00 00 FC */ b lbl_802FC578 +lbl_802FC480: +/* 802FC480 002F93E0 88 19 FF FF */ lbz r0, -1(r25) +/* 802FC484 002F93E4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802FC488 002F93E8 80 DD 01 08 */ lwz r6, 0x108(r29) +/* 802FC48C 002F93EC 38 81 00 24 */ addi r4, r1, 0x24 +/* 802FC490 002F93F0 54 05 08 3C */ slwi r5, r0, 1 +/* 802FC494 002F93F4 38 05 00 01 */ addi r0, r5, 1 +/* 802FC498 002F93F8 7C 1A 00 AE */ lbzx r0, r26, r0 +/* 802FC49C 002F93FC 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 802FC4A0 002F9400 7F 86 02 14 */ add r28, r6, r0 +/* 802FC4A4 002F9404 3B 7C 00 04 */ addi r27, r28, 4 +/* 802FC4A8 002F9408 7F 65 DB 78 */ mr r5, r27 +/* 802FC4AC 002F940C 48 01 4C F5 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802FC4B0 002F9410 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802FC4B4 002F9414 38 61 00 08 */ addi r3, r1, 8 +/* 802FC4B8 002F9418 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 802FC4BC 002F941C 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 802FC4C0 002F9420 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 802FC4C4 002F9424 38 BC 00 14 */ addi r5, r28, 0x14 +/* 802FC4C8 002F9428 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802FC4CC 002F942C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802FC4D0 002F9430 90 E1 00 28 */ stw r7, 0x28(r1) +/* 802FC4D4 002F9434 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 802FC4D8 002F9438 90 01 00 30 */ stw r0, 0x30(r1) +/* 802FC4DC 002F943C 48 01 3D B9 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802FC4E0 002F9440 C0 41 00 08 */ lfs f2, 8(r1) +/* 802FC4E4 002F9444 FC 1F F0 00 */ fcmpu cr0, f31, f30 +/* 802FC4E8 002F9448 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802FC4EC 002F944C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802FC4F0 002F9450 EF BD 10 2A */ fadds f29, f29, f2 +/* 802FC4F4 002F9454 EF 9C 08 2A */ fadds f28, f28, f1 +/* 802FC4F8 002F9458 EF 7B 00 2A */ fadds f27, f27, f0 +/* 802FC4FC 002F945C 40 82 00 18 */ bne lbl_802FC514 +/* 802FC500 002F9460 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802FC504 002F9464 38 81 00 24 */ addi r4, r1, 0x24 +/* 802FC508 002F9468 48 01 5B 85 */ bl BuildTransform__11CQuaternionCFv +/* 802FC50C 002F946C 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802FC510 002F9470 48 00 00 5C */ b lbl_802FC56C +lbl_802FC514: +/* 802FC514 002F9474 C0 02 C7 14 */ lfs f0, lbl_805AE434@sda21(r2) +/* 802FC518 002F9478 7F 64 DB 78 */ mr r4, r27 +/* 802FC51C 002F947C D3 C1 00 A0 */ stfs f30, 0xa0(r1) +/* 802FC520 002F9480 38 61 00 7C */ addi r3, r1, 0x7c +/* 802FC524 002F9484 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802FC528 002F9488 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802FC52C 002F948C D0 01 00 AC */ stfs f0, 0xac(r1) +/* 802FC530 002F9490 D3 C1 00 B0 */ stfs f30, 0xb0(r1) +/* 802FC534 002F9494 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 802FC538 002F9498 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802FC53C 002F949C D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802FC540 002F94A0 D3 C1 00 C0 */ stfs f30, 0xc0(r1) +/* 802FC544 002F94A4 48 01 5B 49 */ bl BuildTransform__11CQuaternionCFv +/* 802FC548 002F94A8 38 61 00 58 */ addi r3, r1, 0x58 +/* 802FC54C 002F94AC 38 81 00 7C */ addi r4, r1, 0x7c +/* 802FC550 002F94B0 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 802FC554 002F94B4 48 01 3B DD */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 802FC558 002F94B8 38 61 00 34 */ addi r3, r1, 0x34 +/* 802FC55C 002F94BC 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 802FC560 002F94C0 38 A1 00 58 */ addi r5, r1, 0x58 +/* 802FC564 002F94C4 48 01 3B CD */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 802FC568 002F94C8 38 81 00 34 */ addi r4, r1, 0x34 +lbl_802FC56C: +/* 802FC56C 002F94CC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802FC570 002F94D0 48 01 3A 89 */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 802FC574 002F94D4 3B 39 FF FF */ addi r25, r25, -1 +lbl_802FC578: +/* 802FC578 002F94D8 7C 19 F8 40 */ cmplw r25, r31 +/* 802FC57C 002F94DC 40 82 FF 04 */ bne lbl_802FC480 +/* 802FC580 002F94E0 7F C3 F3 78 */ mr r3, r30 +/* 802FC584 002F94E4 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 802FC588 002F94E8 48 01 66 6D */ bl SetRotation__12CTransform4fFRC9CMatrix3f +/* 802FC58C 002F94EC D3 BE 00 0C */ stfs f29, 0xc(r30) +/* 802FC590 002F94F0 38 60 00 00 */ li r3, 0 +/* 802FC594 002F94F4 D3 9E 00 1C */ stfs f28, 0x1c(r30) +/* 802FC598 002F94F8 D3 7E 00 2C */ stfs f27, 0x2c(r30) +/* 802FC59C 002F94FC 80 A1 01 0C */ lwz r5, 0x10c(r1) +/* 802FC5A0 002F9500 2C 05 00 00 */ cmpwi r5, 0 +/* 802FC5A4 002F9504 40 81 00 40 */ ble lbl_802FC5E4 +/* 802FC5A8 002F9508 2C 05 00 08 */ cmpwi r5, 8 +/* 802FC5AC 002F950C 38 85 FF F8 */ addi r4, r5, -8 +/* 802FC5B0 002F9510 40 81 00 20 */ ble lbl_802FC5D0 +/* 802FC5B4 002F9514 38 04 00 07 */ addi r0, r4, 7 +/* 802FC5B8 002F9518 54 00 E8 FE */ srwi r0, r0, 3 +/* 802FC5BC 002F951C 7C 09 03 A6 */ mtctr r0 +/* 802FC5C0 002F9520 2C 04 00 00 */ cmpwi r4, 0 +/* 802FC5C4 002F9524 40 81 00 0C */ ble lbl_802FC5D0 +lbl_802FC5C8: +/* 802FC5C8 002F9528 38 63 00 08 */ addi r3, r3, 8 +/* 802FC5CC 002F952C 42 00 FF FC */ bdnz lbl_802FC5C8 +lbl_802FC5D0: +/* 802FC5D0 002F9530 7C 03 28 50 */ subf r0, r3, r5 +/* 802FC5D4 002F9534 7C 09 03 A6 */ mtctr r0 +/* 802FC5D8 002F9538 7C 03 28 00 */ cmpw r3, r5 +/* 802FC5DC 002F953C 40 80 00 08 */ bge lbl_802FC5E4 +lbl_802FC5E0: +/* 802FC5E0 002F9540 42 00 00 00 */ bdnz lbl_802FC5E0 +lbl_802FC5E4: +/* 802FC5E4 002F9544 38 00 00 00 */ li r0, 0 +/* 802FC5E8 002F9548 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802FC5EC 002F954C E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 802FC5F0 002F9550 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 802FC5F4 002F9554 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 802FC5F8 002F9558 CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 802FC5FC 002F955C E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 +/* 802FC600 002F9560 CB A1 01 C0 */ lfd f29, 0x1c0(r1) +/* 802FC604 002F9564 E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 +/* 802FC608 002F9568 CB 81 01 B0 */ lfd f28, 0x1b0(r1) +/* 802FC60C 002F956C E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 +/* 802FC610 002F9570 CB 61 01 A0 */ lfd f27, 0x1a0(r1) +/* 802FC614 002F9574 BB 21 01 84 */ lmw r25, 0x184(r1) +/* 802FC618 002F9578 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 802FC61C 002F957C 7C 08 03 A6 */ mtlr r0 +/* 802FC620 002F9580 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 802FC624 002F9584 4E 80 00 20 */ blr + +.global RecursivelyBuildNoScale__21CHierarchyPoseBuilderCFRC6CSegIdRCQ221CHierarchyPoseBuilder9CTreeNodeR17CPoseAsTransformsRC11CQuaternionRC9CMatrix3fRC9CVector3f +RecursivelyBuildNoScale__21CHierarchyPoseBuilderCFRC6CSegIdRCQ221CHierarchyPoseBuilder9CTreeNodeR17CPoseAsTransformsRC11CQuaternionRC9CMatrix3fRC9CVector3f: +/* 802FC628 002F9588 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802FC62C 002F958C 7C 08 02 A6 */ mflr r0 +/* 802FC630 002F9590 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802FC634 002F9594 BF 41 00 98 */ stmw r26, 0x98(r1) +/* 802FC638 002F9598 7C BC 2B 78 */ mr r28, r5 +/* 802FC63C 002F959C 7C 7A 1B 78 */ mr r26, r3 +/* 802FC640 002F95A0 7C 9B 23 78 */ mr r27, r4 +/* 802FC644 002F95A4 7C DD 33 78 */ mr r29, r6 +/* 802FC648 002F95A8 7D 1F 43 78 */ mr r31, r8 +/* 802FC64C 002F95AC 7D 3E 4B 78 */ mr r30, r9 +/* 802FC650 002F95B0 7C E4 3B 78 */ mr r4, r7 +/* 802FC654 002F95B4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FC658 002F95B8 38 BC 00 04 */ addi r5, r28, 4 +/* 802FC65C 002F95BC 48 01 4B 45 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802FC660 002F95C0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802FC664 002F95C4 38 61 00 44 */ addi r3, r1, 0x44 +/* 802FC668 002F95C8 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802FC66C 002F95CC 38 81 00 34 */ addi r4, r1, 0x34 +/* 802FC670 002F95D0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802FC674 002F95D4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802FC678 002F95D8 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802FC67C 002F95DC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802FC680 002F95E0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802FC684 002F95E4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802FC688 002F95E8 48 01 5A 05 */ bl BuildTransform__11CQuaternionCFv +/* 802FC68C 002F95EC 38 61 00 68 */ addi r3, r1, 0x68 +/* 802FC690 002F95F0 38 81 00 44 */ addi r4, r1, 0x44 +/* 802FC694 002F95F4 48 01 39 91 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 802FC698 002F95F8 7F E4 FB 78 */ mr r4, r31 +/* 802FC69C 002F95FC 38 61 00 0C */ addi r3, r1, 0xc +/* 802FC6A0 002F9600 38 BC 00 14 */ addi r5, r28, 0x14 +/* 802FC6A4 002F9604 48 01 3B F1 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802FC6A8 002F9608 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802FC6AC 002F960C 7F A3 EB 78 */ mr r3, r29 +/* 802FC6B0 002F9610 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802FC6B4 002F9614 7F 64 DB 78 */ mr r4, r27 +/* 802FC6B8 002F9618 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802FC6BC 002F961C 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802FC6C0 002F9620 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802FC6C4 002F9624 EC 81 00 2A */ fadds f4, f1, f0 +/* 802FC6C8 002F9628 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802FC6CC 002F962C 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802FC6D0 002F9630 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802FC6D4 002F9634 EC 43 10 2A */ fadds f2, f3, f2 +/* 802FC6D8 002F9638 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802FC6DC 002F963C EC 01 00 2A */ fadds f0, f1, f0 +/* 802FC6E0 002F9640 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802FC6E4 002F9644 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802FC6E8 002F9648 48 06 C8 D5 */ bl Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f +/* 802FC6EC 002F964C 88 9C 00 00 */ lbz r4, 0(r28) +/* 802FC6F0 002F9650 3B DA 00 40 */ addi r30, r26, 0x40 +/* 802FC6F4 002F9654 48 00 00 44 */ b lbl_802FC738 +lbl_802FC6F8: +/* 802FC6F8 002F9658 54 83 0D FC */ rlwinm r3, r4, 1, 0x17, 0x1e +/* 802FC6FC 002F965C 98 81 00 08 */ stb r4, 8(r1) +/* 802FC700 002F9660 38 03 00 01 */ addi r0, r3, 1 +/* 802FC704 002F9664 80 BA 01 08 */ lwz r5, 0x108(r26) +/* 802FC708 002F9668 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802FC70C 002F966C 7F 43 D3 78 */ mr r3, r26 +/* 802FC710 002F9670 7F A6 EB 78 */ mr r6, r29 +/* 802FC714 002F9674 38 81 00 08 */ addi r4, r1, 8 +/* 802FC718 002F9678 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 802FC71C 002F967C 38 E1 00 34 */ addi r7, r1, 0x34 +/* 802FC720 002F9680 7F E5 02 14 */ add r31, r5, r0 +/* 802FC724 002F9684 39 01 00 68 */ addi r8, r1, 0x68 +/* 802FC728 002F9688 7F E5 FB 78 */ mr r5, r31 +/* 802FC72C 002F968C 39 21 00 28 */ addi r9, r1, 0x28 +/* 802FC730 002F9690 48 00 00 25 */ bl RecursivelyBuild__21CHierarchyPoseBuilderCFRC6CSegIdRCQ221CHierarchyPoseBuilder9CTreeNodeR17CPoseAsTransformsRC11CQuaternionRC9CMatrix3fRC9CVector3f +/* 802FC734 002F9694 88 9F 00 01 */ lbz r4, 1(r31) +lbl_802FC738: +/* 802FC738 002F9698 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802FC73C 002F969C 40 82 FF BC */ bne lbl_802FC6F8 +/* 802FC740 002F96A0 BB 41 00 98 */ lmw r26, 0x98(r1) +/* 802FC744 002F96A4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802FC748 002F96A8 7C 08 03 A6 */ mtlr r0 +/* 802FC74C 002F96AC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802FC750 002F96B0 4E 80 00 20 */ blr + +.global RecursivelyBuild__21CHierarchyPoseBuilderCFRC6CSegIdRCQ221CHierarchyPoseBuilder9CTreeNodeR17CPoseAsTransformsRC11CQuaternionRC9CMatrix3fRC9CVector3f +RecursivelyBuild__21CHierarchyPoseBuilderCFRC6CSegIdRCQ221CHierarchyPoseBuilder9CTreeNodeR17CPoseAsTransformsRC11CQuaternionRC9CMatrix3fRC9CVector3f: +/* 802FC754 002F96B4 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 802FC758 002F96B8 7C 08 02 A6 */ mflr r0 +/* 802FC75C 002F96BC 90 01 01 64 */ stw r0, 0x164(r1) +/* 802FC760 002F96C0 BF 21 01 44 */ stmw r25, 0x144(r1) +/* 802FC764 002F96C4 7C BA 2B 78 */ mr r26, r5 +/* 802FC768 002F96C8 3B DA 00 04 */ addi r30, r26, 4 +/* 802FC76C 002F96CC 7C 7F 1B 78 */ mr r31, r3 +/* 802FC770 002F96D0 7C 99 23 78 */ mr r25, r4 +/* 802FC774 002F96D4 7C DB 33 78 */ mr r27, r6 +/* 802FC778 002F96D8 7D 1C 43 78 */ mr r28, r8 +/* 802FC77C 002F96DC 7D 3D 4B 78 */ mr r29, r9 +/* 802FC780 002F96E0 7C E4 3B 78 */ mr r4, r7 +/* 802FC784 002F96E4 7F C5 F3 78 */ mr r5, r30 +/* 802FC788 002F96E8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FC78C 002F96EC 48 01 4A 15 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802FC790 002F96F0 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 802FC794 002F96F4 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802FC798 002F96F8 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802FC79C 002F96FC 28 00 00 00 */ cmplwi r0, 0 +/* 802FC7A0 002F9700 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802FC7A4 002F9704 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802FC7A8 002F9708 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802FC7AC 002F970C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802FC7B0 002F9710 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802FC7B4 002F9714 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802FC7B8 002F9718 41 82 00 0C */ beq lbl_802FC7C4 +/* 802FC7BC 002F971C C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 802FC7C0 002F9720 48 00 00 08 */ b lbl_802FC7C8 +lbl_802FC7C4: +/* 802FC7C4 002F9724 C0 22 C7 10 */ lfs f1, lbl_805AE430@sda21(r2) +lbl_802FC7C8: +/* 802FC7C8 002F9728 C0 02 C7 10 */ lfs f0, lbl_805AE430@sda21(r2) +/* 802FC7CC 002F972C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802FC7D0 002F9730 40 82 00 18 */ bne lbl_802FC7E8 +/* 802FC7D4 002F9734 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802FC7D8 002F9738 38 81 00 34 */ addi r4, r1, 0x34 +/* 802FC7DC 002F973C 48 01 58 B1 */ bl BuildTransform__11CQuaternionCFv +/* 802FC7E0 002F9740 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 802FC7E4 002F9744 48 00 00 5C */ b lbl_802FC840 +lbl_802FC7E8: +/* 802FC7E8 002F9748 C0 02 C7 14 */ lfs f0, lbl_805AE434@sda21(r2) +/* 802FC7EC 002F974C 7F C4 F3 78 */ mr r4, r30 +/* 802FC7F0 002F9750 D0 21 00 D4 */ stfs f1, 0xd4(r1) +/* 802FC7F4 002F9754 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802FC7F8 002F9758 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 802FC7FC 002F975C D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 802FC800 002F9760 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 802FC804 002F9764 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 802FC808 002F9768 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802FC80C 002F976C D0 01 00 EC */ stfs f0, 0xec(r1) +/* 802FC810 002F9770 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 802FC814 002F9774 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 802FC818 002F9778 48 01 58 75 */ bl BuildTransform__11CQuaternionCFv +/* 802FC81C 002F977C 38 61 00 8C */ addi r3, r1, 0x8c +/* 802FC820 002F9780 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802FC824 002F9784 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 802FC828 002F9788 48 01 39 09 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 802FC82C 002F978C 7F 84 E3 78 */ mr r4, r28 +/* 802FC830 002F9790 38 61 00 68 */ addi r3, r1, 0x68 +/* 802FC834 002F9794 38 A1 00 8C */ addi r5, r1, 0x8c +/* 802FC838 002F9798 48 01 38 F9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 802FC83C 002F979C 38 81 00 68 */ addi r4, r1, 0x68 +lbl_802FC840: +/* 802FC840 002F97A0 38 61 01 1C */ addi r3, r1, 0x11c +/* 802FC844 002F97A4 48 01 37 E1 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 802FC848 002F97A8 7F 84 E3 78 */ mr r4, r28 +/* 802FC84C 002F97AC 38 61 00 0C */ addi r3, r1, 0xc +/* 802FC850 002F97B0 38 BA 00 14 */ addi r5, r26, 0x14 +/* 802FC854 002F97B4 48 01 3A 41 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802FC858 002F97B8 C0 3D 00 04 */ lfs f1, 4(r29) +/* 802FC85C 002F97BC 7F 63 DB 78 */ mr r3, r27 +/* 802FC860 002F97C0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802FC864 002F97C4 7F 24 CB 78 */ mr r4, r25 +/* 802FC868 002F97C8 C0 7D 00 08 */ lfs f3, 8(r29) +/* 802FC86C 002F97CC 38 A1 01 1C */ addi r5, r1, 0x11c +/* 802FC870 002F97D0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802FC874 002F97D4 EC 81 00 2A */ fadds f4, f1, f0 +/* 802FC878 002F97D8 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802FC87C 002F97DC 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802FC880 002F97E0 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802FC884 002F97E4 EC 43 10 2A */ fadds f2, f3, f2 +/* 802FC888 002F97E8 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802FC88C 002F97EC EC 01 00 2A */ fadds f0, f1, f0 +/* 802FC890 002F97F0 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802FC894 002F97F4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802FC898 002F97F8 48 06 C7 25 */ bl Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f +/* 802FC89C 002F97FC 88 9A 00 00 */ lbz r4, 0(r26) +/* 802FC8A0 002F9800 3B BF 00 40 */ addi r29, r31, 0x40 +/* 802FC8A4 002F9804 48 00 00 50 */ b lbl_802FC8F4 +lbl_802FC8A8: +/* 802FC8A8 002F9808 54 83 0D FC */ rlwinm r3, r4, 1, 0x17, 0x1e +/* 802FC8AC 002F980C 98 81 00 08 */ stb r4, 8(r1) +/* 802FC8B0 002F9810 38 03 00 01 */ addi r0, r3, 1 +/* 802FC8B4 002F9814 80 BF 01 08 */ lwz r5, 0x108(r31) +/* 802FC8B8 002F9818 7C 1D 00 AE */ lbzx r0, r29, r0 +/* 802FC8BC 002F981C 38 61 00 44 */ addi r3, r1, 0x44 +/* 802FC8C0 002F9820 38 81 00 34 */ addi r4, r1, 0x34 +/* 802FC8C4 002F9824 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 802FC8C8 002F9828 7F C5 02 14 */ add r30, r5, r0 +/* 802FC8CC 002F982C 48 01 57 C1 */ bl BuildTransform__11CQuaternionCFv +/* 802FC8D0 002F9830 7F E3 FB 78 */ mr r3, r31 +/* 802FC8D4 002F9834 7F C5 F3 78 */ mr r5, r30 +/* 802FC8D8 002F9838 7F 66 DB 78 */ mr r6, r27 +/* 802FC8DC 002F983C 38 81 00 08 */ addi r4, r1, 8 +/* 802FC8E0 002F9840 38 E1 00 34 */ addi r7, r1, 0x34 +/* 802FC8E4 002F9844 39 01 00 44 */ addi r8, r1, 0x44 +/* 802FC8E8 002F9848 39 21 00 28 */ addi r9, r1, 0x28 +/* 802FC8EC 002F984C 4B FF FE 69 */ bl RecursivelyBuild__21CHierarchyPoseBuilderCFRC6CSegIdRCQ221CHierarchyPoseBuilder9CTreeNodeR17CPoseAsTransformsRC11CQuaternionRC9CMatrix3fRC9CVector3f +/* 802FC8F0 002F9850 88 9E 00 01 */ lbz r4, 1(r30) +lbl_802FC8F4: +/* 802FC8F4 002F9854 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802FC8F8 002F9858 40 82 FF B0 */ bne lbl_802FC8A8 +/* 802FC8FC 002F985C BB 21 01 44 */ lmw r25, 0x144(r1) +/* 802FC900 002F9860 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802FC904 002F9864 7C 08 03 A6 */ mtlr r0 +/* 802FC908 002F9868 38 21 01 60 */ addi r1, r1, 0x160 +/* 802FC90C 002F986C 4E 80 00 20 */ blr + +.global BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms +BuildNoScale__21CHierarchyPoseBuilderFR17CPoseAsTransforms: +/* 802FC910 002F9870 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FC914 002F9874 7C 08 02 A6 */ mflr r0 +/* 802FC918 002F9878 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FC91C 002F987C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FC920 002F9880 7C 9F 23 78 */ mr r31, r4 +/* 802FC924 002F9884 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FC928 002F9888 7C 7E 1B 78 */ mr r30, r3 +/* 802FC92C 002F988C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802FC930 002F9890 7F E3 FB 78 */ mr r3, r31 +/* 802FC934 002F9894 98 01 00 08 */ stb r0, 8(r1) +/* 802FC938 002F9898 48 06 C5 6D */ bl Clear__17CPoseAsTransformsFv +/* 802FC93C 002F989C 88 01 00 08 */ lbz r0, 8(r1) +/* 802FC940 002F98A0 3C A0 80 5A */ lis r5, lbl_805A6660@ha +/* 802FC944 002F98A4 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 802FC948 002F98A8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802FC94C 002F98AC 54 00 08 3C */ slwi r0, r0, 1 +/* 802FC950 002F98B0 38 E5 66 60 */ addi r7, r5, lbl_805A6660@l +/* 802FC954 002F98B4 7C BE 02 14 */ add r5, r30, r0 +/* 802FC958 002F98B8 39 04 65 FC */ addi r8, r4, lbl_805A65FC@l +/* 802FC95C 002F98BC 88 05 00 41 */ lbz r0, 0x41(r5) +/* 802FC960 002F98C0 39 23 66 A0 */ addi r9, r3, skZero3f@l +/* 802FC964 002F98C4 80 BE 01 08 */ lwz r5, 0x108(r30) +/* 802FC968 002F98C8 7F C3 F3 78 */ mr r3, r30 +/* 802FC96C 002F98CC 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 802FC970 002F98D0 7F E6 FB 78 */ mr r6, r31 +/* 802FC974 002F98D4 38 81 00 08 */ addi r4, r1, 8 +/* 802FC978 002F98D8 7C A5 02 14 */ add r5, r5, r0 +/* 802FC97C 002F98DC 4B FF FC AD */ bl RecursivelyBuildNoScale__21CHierarchyPoseBuilderCFRC6CSegIdRCQ221CHierarchyPoseBuilder9CTreeNodeR17CPoseAsTransformsRC11CQuaternionRC9CMatrix3fRC9CVector3f +/* 802FC980 002F98E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FC984 002F98E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FC988 002F98E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FC98C 002F98EC 7C 08 03 A6 */ mtlr r0 +/* 802FC990 002F98F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FC994 002F98F4 4E 80 00 20 */ blr + +.global sub_802fc998 +sub_802fc998: +/* 802FC998 002F98F8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802FC99C 002F98FC 7C 08 02 A6 */ mflr r0 +/* 802FC9A0 002F9900 90 01 00 84 */ stw r0, 0x84(r1) +/* 802FC9A4 002F9904 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802FC9A8 002F9908 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802FC9AC 002F990C 7C BE 2B 78 */ mr r30, r5 +/* 802FC9B0 002F9910 93 A1 00 74 */ stw r29, 0x74(r1) +/* 802FC9B4 002F9914 7C 9D 23 78 */ mr r29, r4 +/* 802FC9B8 002F9918 93 81 00 70 */ stw r28, 0x70(r1) +/* 802FC9BC 002F991C 7C 7C 1B 78 */ mr r28, r3 +/* 802FC9C0 002F9920 3B FC 00 40 */ addi r31, r28, 0x40 +/* 802FC9C4 002F9924 89 05 00 00 */ lbz r8, 0(r5) +/* 802FC9C8 002F9928 88 0D 9C 32 */ lbz r0, lbl_805A87F2@sda21(r13) +/* 802FC9CC 002F992C 55 03 0D FC */ rlwinm r3, r8, 1, 0x17, 0x1e +/* 802FC9D0 002F9930 88 8D 9C 33 */ lbz r4, lbl_805A87F3@sda21(r13) +/* 802FC9D4 002F9934 7C BF 1A 14 */ add r5, r31, r3 +/* 802FC9D8 002F9938 7C 00 07 74 */ extsb r0, r0 +/* 802FC9DC 002F993C 88 65 00 00 */ lbz r3, 0(r5) +/* 802FC9E0 002F9940 7C 87 07 74 */ extsb r7, r4 +/* 802FC9E4 002F9944 38 80 00 00 */ li r4, 0 +/* 802FC9E8 002F9948 7C 63 07 74 */ extsb r3, r3 +/* 802FC9EC 002F994C 7C 03 00 00 */ cmpw r3, r0 +/* 802FC9F0 002F9950 40 82 00 14 */ bne lbl_802FCA04 +/* 802FC9F4 002F9954 88 05 00 01 */ lbz r0, 1(r5) +/* 802FC9F8 002F9958 7C 00 07 74 */ extsb r0, r0 +/* 802FC9FC 002F995C 7C 00 38 00 */ cmpw r0, r7 +/* 802FCA00 002F9960 41 82 00 08 */ beq lbl_802FCA08 +lbl_802FCA04: +/* 802FCA04 002F9964 38 80 00 01 */ li r4, 1 +lbl_802FCA08: +/* 802FCA08 002F9968 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802FCA0C 002F996C 40 82 01 5C */ bne lbl_802FCB68 +/* 802FCA10 002F9970 80 9D 00 00 */ lwz r4, 0(r29) +/* 802FCA14 002F9974 55 03 0D FC */ rlwinm r3, r8, 1, 0x17, 0x1e +/* 802FCA18 002F9978 88 06 00 00 */ lbz r0, 0(r6) +/* 802FCA1C 002F997C 7C 64 1A 14 */ add r3, r4, r3 +/* 802FCA20 002F9980 80 84 00 D0 */ lwz r4, 0xd0(r4) +/* 802FCA24 002F9984 88 63 00 09 */ lbz r3, 9(r3) +/* 802FCA28 002F9988 54 63 2C F4 */ rlwinm r3, r3, 5, 0x13, 0x1a +/* 802FCA2C 002F998C 7C 84 18 AE */ lbzx r4, r4, r3 +/* 802FCA30 002F9990 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 802FCA34 002F9994 98 81 00 08 */ stb r4, 8(r1) +/* 802FCA38 002F9998 7C 03 00 40 */ cmplw r3, r0 +/* 802FCA3C 002F999C 40 82 00 8C */ bne lbl_802FCAC8 +/* 802FCA40 002F99A0 38 00 00 01 */ li r0, 1 +/* 802FCA44 002F99A4 34 7C 00 30 */ addic. r3, r28, 0x30 +/* 802FCA48 002F99A8 98 1C 00 34 */ stb r0, 0x34(r28) +/* 802FCA4C 002F99AC 41 82 00 0C */ beq lbl_802FCA58 +/* 802FCA50 002F99B0 88 1E 00 00 */ lbz r0, 0(r30) +/* 802FCA54 002F99B4 98 03 00 00 */ stb r0, 0(r3) +lbl_802FCA58: +/* 802FCA58 002F99B8 7F A4 EB 78 */ mr r4, r29 +/* 802FCA5C 002F99BC 7F C5 F3 78 */ mr r5, r30 +/* 802FCA60 002F99C0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FCA64 002F99C4 4B E2 EF 3D */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId +/* 802FCA68 002F99C8 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802FCA6C 002F99CC 38 00 00 00 */ li r0, 0 +/* 802FCA70 002F99D0 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 802FCA74 002F99D4 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 802FCA78 002F99D8 C0 C6 00 00 */ lfs f6, 0(r6) +/* 802FCA7C 002F99DC 7F C4 F3 78 */ mr r4, r30 +/* 802FCA80 002F99E0 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802FCA84 002F99E4 38 7C 00 38 */ addi r3, r28, 0x38 +/* 802FCA88 002F99E8 C0 86 00 08 */ lfs f4, 8(r6) +/* 802FCA8C 002F99EC 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802FCA90 002F99F0 C0 66 00 0C */ lfs f3, 0xc(r6) +/* 802FCA94 002F99F4 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802FCA98 002F99F8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802FCA9C 002F99FC 98 01 00 44 */ stb r0, 0x44(r1) +/* 802FCAA0 002F9A00 98 01 00 45 */ stb r0, 0x45(r1) +/* 802FCAA4 002F9A04 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802FCAA8 002F9A08 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 802FCAAC 002F9A0C D0 81 00 50 */ stfs f4, 0x50(r1) +/* 802FCAB0 002F9A10 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 802FCAB4 002F9A14 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802FCAB8 002F9A18 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802FCABC 002F9A1C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802FCAC0 002F9A20 48 00 03 59 */ bl sub_802fce18 +/* 802FCAC4 002F9A24 48 00 00 A4 */ b lbl_802FCB68 +lbl_802FCAC8: +/* 802FCAC8 002F9A28 7F 83 E3 78 */ mr r3, r28 +/* 802FCACC 002F9A2C 7F A4 EB 78 */ mr r4, r29 +/* 802FCAD0 002F9A30 38 A1 00 08 */ addi r5, r1, 8 +/* 802FCAD4 002F9A34 4B FF FE C5 */ bl sub_802fc998 +/* 802FCAD8 002F9A38 7F A4 EB 78 */ mr r4, r29 +/* 802FCADC 002F9A3C 7F C5 F3 78 */ mr r5, r30 +/* 802FCAE0 002F9A40 38 61 00 0C */ addi r3, r1, 0xc +/* 802FCAE4 002F9A44 4B E2 EE BD */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId +/* 802FCAE8 002F9A48 88 01 00 08 */ lbz r0, 8(r1) +/* 802FCAEC 002F9A4C 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 802FCAF0 002F9A50 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 802FCAF4 002F9A54 81 3C 01 08 */ lwz r9, 0x108(r28) +/* 802FCAF8 002F9A58 54 03 08 3C */ slwi r3, r0, 1 +/* 802FCAFC 002F9A5C 88 FE 00 00 */ lbz r7, 0(r30) +/* 802FCB00 002F9A60 38 63 00 01 */ addi r3, r3, 1 +/* 802FCB04 002F9A64 38 00 00 00 */ li r0, 0 +/* 802FCB08 002F9A68 7D 1F 18 AE */ lbzx r8, r31, r3 +/* 802FCB0C 002F9A6C 7F C4 F3 78 */ mr r4, r30 +/* 802FCB10 002F9A70 38 7C 00 38 */ addi r3, r28, 0x38 +/* 802FCB14 002F9A74 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802FCB18 002F9A78 55 08 2C F4 */ rlwinm r8, r8, 5, 0x13, 0x1a +/* 802FCB1C 002F9A7C 7D 49 40 AE */ lbzx r10, r9, r8 +/* 802FCB20 002F9A80 7C E9 41 AE */ stbx r7, r9, r8 +/* 802FCB24 002F9A84 C0 C6 00 00 */ lfs f6, 0(r6) +/* 802FCB28 002F9A88 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802FCB2C 002F9A8C C0 86 00 08 */ lfs f4, 8(r6) +/* 802FCB30 002F9A90 C0 66 00 0C */ lfs f3, 0xc(r6) +/* 802FCB34 002F9A94 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802FCB38 002F9A98 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802FCB3C 002F9A9C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802FCB40 002F9AA0 98 01 00 24 */ stb r0, 0x24(r1) +/* 802FCB44 002F9AA4 99 41 00 25 */ stb r10, 0x25(r1) +/* 802FCB48 002F9AA8 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802FCB4C 002F9AAC D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802FCB50 002F9AB0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 802FCB54 002F9AB4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802FCB58 002F9AB8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802FCB5C 002F9ABC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802FCB60 002F9AC0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802FCB64 002F9AC4 48 00 02 B5 */ bl sub_802fce18 +lbl_802FCB68: +/* 802FCB68 002F9AC8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802FCB6C 002F9ACC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802FCB70 002F9AD0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802FCB74 002F9AD4 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802FCB78 002F9AD8 83 81 00 70 */ lwz r28, 0x70(r1) +/* 802FCB7C 002F9ADC 7C 08 03 A6 */ mtlr r0 +/* 802FCB80 002F9AE0 38 21 00 80 */ addi r1, r1, 0x80 +/* 802FCB84 002F9AE4 4E 80 00 20 */ blr + +.global __ct__21CHierarchyPoseBuilderFRC18CLayoutDescription +__ct__21CHierarchyPoseBuilderFRC18CLayoutDescription: +/* 802FCB88 002F9AE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802FCB8C 002F9AEC 7C 08 02 A6 */ mflr r0 +/* 802FCB90 002F9AF0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802FCB94 002F9AF4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802FCB98 002F9AF8 7C 7F 1B 78 */ mr r31, r3 +/* 802FCB9C 002F9AFC 7C 9B 23 78 */ mr r27, r4 +/* 802FCBA0 002F9B00 48 00 01 A5 */ bl sub_802fcd44 +/* 802FCBA4 002F9B04 38 00 00 00 */ li r0, 0 +/* 802FCBA8 002F9B08 7F 63 DB 78 */ mr r3, r27 +/* 802FCBAC 002F9B0C 98 1F 00 34 */ stb r0, 0x34(r31) +/* 802FCBB0 002F9B10 4B FF F7 A9 */ bl sub_802fc358 +/* 802FCBB4 002F9B14 38 E0 00 00 */ li r7, 0 +/* 802FCBB8 002F9B18 38 80 00 64 */ li r4, 0x64 +/* 802FCBBC 002F9B1C 98 FF 00 38 */ stb r7, 0x38(r31) +/* 802FCBC0 002F9B20 38 00 00 0A */ li r0, 0xa +/* 802FCBC4 002F9B24 39 1F 00 40 */ addi r8, r31, 0x40 +/* 802FCBC8 002F9B28 98 7F 00 39 */ stb r3, 0x39(r31) +/* 802FCBCC 002F9B2C 88 CD 9C 30 */ lbz r6, lbl_805A87F0@sda21(r13) +/* 802FCBD0 002F9B30 88 AD 9C 31 */ lbz r5, lbl_805A87F1@sda21(r13) +/* 802FCBD4 002F9B34 7C C6 07 74 */ extsb r6, r6 +/* 802FCBD8 002F9B38 90 9F 00 3C */ stw r4, 0x3c(r31) +/* 802FCBDC 002F9B3C 7C A4 07 74 */ extsb r4, r5 +/* 802FCBE0 002F9B40 7C 09 03 A6 */ mtctr r0 +lbl_802FCBE4: +/* 802FCBE4 002F9B44 28 08 00 00 */ cmplwi r8, 0 +/* 802FCBE8 002F9B48 41 82 00 0C */ beq lbl_802FCBF4 +/* 802FCBEC 002F9B4C 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCBF0 002F9B50 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCBF4: +/* 802FCBF4 002F9B54 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCBF8 002F9B58 41 82 00 0C */ beq lbl_802FCC04 +/* 802FCBFC 002F9B5C 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC00 002F9B60 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC04: +/* 802FCC04 002F9B64 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC08 002F9B68 41 82 00 0C */ beq lbl_802FCC14 +/* 802FCC0C 002F9B6C 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC10 002F9B70 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC14: +/* 802FCC14 002F9B74 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC18 002F9B78 41 82 00 0C */ beq lbl_802FCC24 +/* 802FCC1C 002F9B7C 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC20 002F9B80 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC24: +/* 802FCC24 002F9B84 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC28 002F9B88 41 82 00 0C */ beq lbl_802FCC34 +/* 802FCC2C 002F9B8C 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC30 002F9B90 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC34: +/* 802FCC34 002F9B94 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC38 002F9B98 41 82 00 0C */ beq lbl_802FCC44 +/* 802FCC3C 002F9B9C 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC40 002F9BA0 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC44: +/* 802FCC44 002F9BA4 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC48 002F9BA8 41 82 00 0C */ beq lbl_802FCC54 +/* 802FCC4C 002F9BAC 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC50 002F9BB0 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC54: +/* 802FCC54 002F9BB4 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC58 002F9BB8 41 82 00 0C */ beq lbl_802FCC64 +/* 802FCC5C 002F9BBC 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC60 002F9BC0 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC64: +/* 802FCC64 002F9BC4 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC68 002F9BC8 41 82 00 0C */ beq lbl_802FCC74 +/* 802FCC6C 002F9BCC 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC70 002F9BD0 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC74: +/* 802FCC74 002F9BD4 35 08 00 02 */ addic. r8, r8, 2 +/* 802FCC78 002F9BD8 41 82 00 0C */ beq lbl_802FCC84 +/* 802FCC7C 002F9BDC 98 C8 00 00 */ stb r6, 0(r8) +/* 802FCC80 002F9BE0 98 88 00 01 */ stb r4, 1(r8) +lbl_802FCC84: +/* 802FCC84 002F9BE4 38 E7 00 09 */ addi r7, r7, 9 +/* 802FCC88 002F9BE8 39 08 00 02 */ addi r8, r8, 2 +/* 802FCC8C 002F9BEC 42 00 FF 58 */ bdnz lbl_802FCBE4 +/* 802FCC90 002F9BF0 38 00 00 00 */ li r0, 0 +/* 802FCC94 002F9BF4 3C 80 80 3D */ lis r4, lbl_803D6E40@ha +/* 802FCC98 002F9BF8 90 1F 01 08 */ stw r0, 0x108(r31) +/* 802FCC9C 002F9BFC 38 84 6E 40 */ addi r4, r4, lbl_803D6E40@l +/* 802FCCA0 002F9C00 54 63 2C F4 */ rlwinm r3, r3, 5, 0x13, 0x1a +/* 802FCCA4 002F9C04 38 A0 00 00 */ li r5, 0 +/* 802FCCA8 002F9C08 98 1F 01 0C */ stb r0, 0x10c(r31) +/* 802FCCAC 002F9C0C 48 01 8B 6D */ bl __nwa__FUlPCcPCc +/* 802FCCB0 002F9C10 90 7F 01 08 */ stw r3, 0x108(r31) +/* 802FCCB4 002F9C14 88 1B 00 2C */ lbz r0, 0x2c(r27) +/* 802FCCB8 002F9C18 28 00 00 00 */ cmplwi r0, 0 +/* 802FCCBC 002F9C1C 41 82 00 0C */ beq lbl_802FCCC8 +/* 802FCCC0 002F9C20 38 9B 00 0C */ addi r4, r27, 0xc +/* 802FCCC4 002F9C24 48 00 00 08 */ b lbl_802FCCCC +lbl_802FCCC8: +/* 802FCCC8 002F9C28 7F 64 DB 78 */ mr r4, r27 +lbl_802FCCCC: +/* 802FCCCC 002F9C2C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802FCCD0 002F9C30 48 04 41 D9 */ bl __ct__6CTokenFRC6CToken +/* 802FCCD4 002F9C34 38 61 00 10 */ addi r3, r1, 0x10 +/* 802FCCD8 002F9C38 48 04 41 35 */ bl GetObj__6CTokenFv +/* 802FCCDC 002F9C3C 83 A3 00 04 */ lwz r29, 4(r3) +/* 802FCCE0 002F9C40 3B C0 00 02 */ li r30, 2 +/* 802FCCE4 002F9C44 83 7D 00 14 */ lwz r27, 0x14(r29) +/* 802FCCE8 002F9C48 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802FCCEC 002F9C4C 7F 9B 02 14 */ add r28, r27, r0 +/* 802FCCF0 002F9C50 48 00 00 28 */ b lbl_802FCD18 +lbl_802FCCF4: +/* 802FCCF4 002F9C54 88 1B 00 00 */ lbz r0, 0(r27) +/* 802FCCF8 002F9C58 7F E3 FB 78 */ mr r3, r31 +/* 802FCCFC 002F9C5C 7F A4 EB 78 */ mr r4, r29 +/* 802FCD00 002F9C60 38 A1 00 0C */ addi r5, r1, 0xc +/* 802FCD04 002F9C64 98 01 00 0C */ stb r0, 0xc(r1) +/* 802FCD08 002F9C68 38 C1 00 08 */ addi r6, r1, 8 +/* 802FCD0C 002F9C6C 9B C1 00 08 */ stb r30, 8(r1) +/* 802FCD10 002F9C70 4B FF FC 89 */ bl sub_802fc998 +/* 802FCD14 002F9C74 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802FCD18: +/* 802FCD18 002F9C78 7C 1B E0 40 */ cmplw r27, r28 +/* 802FCD1C 002F9C7C 40 82 FF D8 */ bne lbl_802FCCF4 +/* 802FCD20 002F9C80 38 61 00 10 */ addi r3, r1, 0x10 +/* 802FCD24 002F9C84 38 80 00 00 */ li r4, 0 +/* 802FCD28 002F9C88 48 04 41 19 */ bl __dt__6CTokenFv +/* 802FCD2C 002F9C8C 7F E3 FB 78 */ mr r3, r31 +/* 802FCD30 002F9C90 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802FCD34 002F9C94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802FCD38 002F9C98 7C 08 03 A6 */ mtlr r0 +/* 802FCD3C 002F9C9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802FCD40 002F9CA0 4E 80 00 20 */ blr + +.global sub_802fcd44 +sub_802fcd44: +/* 802FCD44 002F9CA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FCD48 002F9CA8 7C 08 02 A6 */ mflr r0 +/* 802FCD4C 002F9CAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FCD50 002F9CB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FCD54 002F9CB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FCD58 002F9CB8 7C 9E 23 78 */ mr r30, r4 +/* 802FCD5C 002F9CBC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FCD60 002F9CC0 7C 7D 1B 78 */ mr r29, r3 +/* 802FCD64 002F9CC4 7F A0 EB 78 */ mr r0, r29 +/* 802FCD68 002F9CC8 7C 1F 03 78 */ mr r31, r0 +/* 802FCD6C 002F9CCC 48 04 41 3D */ bl __ct__6CTokenFRC6CToken +/* 802FCD70 002F9CD0 80 1E 00 08 */ lwz r0, 8(r30) +/* 802FCD74 002F9CD4 7F E3 FB 78 */ mr r3, r31 +/* 802FCD78 002F9CD8 90 1F 00 08 */ stw r0, 8(r31) +/* 802FCD7C 002F9CDC 48 04 40 09 */ bl Lock__6CTokenFv +/* 802FCD80 002F9CE0 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 802FCD84 002F9CE4 98 1D 00 2C */ stb r0, 0x2c(r29) +/* 802FCD88 002F9CE8 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 802FCD8C 002F9CEC 28 00 00 00 */ cmplwi r0, 0 +/* 802FCD90 002F9CF0 41 82 00 68 */ beq lbl_802FCDF8 +/* 802FCD94 002F9CF4 37 FD 00 0C */ addic. r31, r29, 0xc +/* 802FCD98 002F9CF8 3B DE 00 0C */ addi r30, r30, 0xc +/* 802FCD9C 002F9CFC 41 82 00 5C */ beq lbl_802FCDF8 +/* 802FCDA0 002F9D00 7F E3 FB 78 */ mr r3, r31 +/* 802FCDA4 002F9D04 7F C4 F3 78 */ mr r4, r30 +/* 802FCDA8 002F9D08 48 04 41 01 */ bl __ct__6CTokenFRC6CToken +/* 802FCDAC 002F9D0C 80 1E 00 08 */ lwz r0, 8(r30) +/* 802FCDB0 002F9D10 7F E3 FB 78 */ mr r3, r31 +/* 802FCDB4 002F9D14 90 1F 00 08 */ stw r0, 8(r31) +/* 802FCDB8 002F9D18 48 04 3F CD */ bl Lock__6CTokenFv +/* 802FCDBC 002F9D1C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802FCDC0 002F9D20 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802FCDC4 002F9D24 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 802FCDC8 002F9D28 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 802FCDCC 002F9D2C 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 802FCDD0 002F9D30 28 00 00 00 */ cmplwi r0, 0 +/* 802FCDD4 002F9D34 41 82 00 24 */ beq lbl_802FCDF8 +/* 802FCDD8 002F9D38 34 7F 00 10 */ addic. r3, r31, 0x10 +/* 802FCDDC 002F9D3C 41 82 00 1C */ beq lbl_802FCDF8 +/* 802FCDE0 002F9D40 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802FCDE4 002F9D44 90 03 00 00 */ stw r0, 0(r3) +/* 802FCDE8 002F9D48 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802FCDEC 002F9D4C 90 03 00 04 */ stw r0, 4(r3) +/* 802FCDF0 002F9D50 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 802FCDF4 002F9D54 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802FCDF8: +/* 802FCDF8 002F9D58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FCDFC 002F9D5C 7F A3 EB 78 */ mr r3, r29 +/* 802FCE00 002F9D60 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FCE04 002F9D64 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FCE08 002F9D68 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FCE0C 002F9D6C 7C 08 03 A6 */ mtlr r0 +/* 802FCE10 002F9D70 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FCE14 002F9D74 4E 80 00 20 */ blr + +.global sub_802fce18 +sub_802fce18: +/* 802FCE18 002F9D78 88 03 00 00 */ lbz r0, 0(r3) +/* 802FCE1C 002F9D7C 80 C3 00 D0 */ lwz r6, 0xd0(r3) +/* 802FCE20 002F9D80 7C 00 07 74 */ extsb r0, r0 +/* 802FCE24 002F9D84 88 E4 00 00 */ lbz r7, 0(r4) +/* 802FCE28 002F9D88 54 00 28 34 */ slwi r0, r0, 5 +/* 802FCE2C 002F9D8C 7C 86 02 15 */ add. r4, r6, r0 +/* 802FCE30 002F9D90 41 82 00 4C */ beq lbl_802FCE7C +/* 802FCE34 002F9D94 88 05 00 00 */ lbz r0, 0(r5) +/* 802FCE38 002F9D98 98 04 00 00 */ stb r0, 0(r4) +/* 802FCE3C 002F9D9C 88 05 00 01 */ lbz r0, 1(r5) +/* 802FCE40 002F9DA0 98 04 00 01 */ stb r0, 1(r4) +/* 802FCE44 002F9DA4 C0 05 00 04 */ lfs f0, 4(r5) +/* 802FCE48 002F9DA8 D0 04 00 04 */ stfs f0, 4(r4) +/* 802FCE4C 002F9DAC C0 05 00 08 */ lfs f0, 8(r5) +/* 802FCE50 002F9DB0 D0 04 00 08 */ stfs f0, 8(r4) +/* 802FCE54 002F9DB4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802FCE58 002F9DB8 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 802FCE5C 002F9DBC C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802FCE60 002F9DC0 D0 04 00 10 */ stfs f0, 0x10(r4) +/* 802FCE64 002F9DC4 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802FCE68 002F9DC8 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 802FCE6C 002F9DCC C0 05 00 18 */ lfs f0, 0x18(r5) +/* 802FCE70 002F9DD0 D0 04 00 18 */ stfs f0, 0x18(r4) +/* 802FCE74 002F9DD4 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 802FCE78 002F9DD8 D0 04 00 1C */ stfs f0, 0x1c(r4) +lbl_802FCE7C: +/* 802FCE7C 002F9DDC 54 E4 0D FC */ rlwinm r4, r7, 1, 0x17, 0x1e +/* 802FCE80 002F9DE0 88 A3 00 00 */ lbz r5, 0(r3) +/* 802FCE84 002F9DE4 88 03 00 D4 */ lbz r0, 0xd4(r3) +/* 802FCE88 002F9DE8 7C 83 22 14 */ add r4, r3, r4 +/* 802FCE8C 002F9DEC 98 04 00 08 */ stb r0, 8(r4) +/* 802FCE90 002F9DF0 98 A4 00 09 */ stb r5, 9(r4) +/* 802FCE94 002F9DF4 98 E3 00 D4 */ stb r7, 0xd4(r3) +/* 802FCE98 002F9DF8 88 83 00 00 */ lbz r4, 0(r3) +/* 802FCE9C 002F9DFC 38 04 00 01 */ addi r0, r4, 1 +/* 802FCEA0 002F9E00 98 03 00 00 */ stb r0, 0(r3) +/* 802FCEA4 002F9E04 4E 80 00 20 */ blr + +.global CopyNodeMinusStartTime__13CInt32POINodeFRC13CInt32POINodeRC13CCharAnimTime +CopyNodeMinusStartTime__13CInt32POINodeFRC13CInt32POINodeRC13CCharAnimTime: +/* 802FCEA8 002F9E08 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802FCEAC 002F9E0C 7C 08 02 A6 */ mflr r0 +/* 802FCEB0 002F9E10 90 01 00 44 */ stw r0, 0x44(r1) +/* 802FCEB4 002F9E14 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802FCEB8 002F9E18 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802FCEBC 002F9E1C 7C BE 2B 78 */ mr r30, r5 +/* 802FCEC0 002F9E20 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802FCEC4 002F9E24 7C 9D 23 78 */ mr r29, r4 +/* 802FCEC8 002F9E28 38 9D 00 08 */ addi r4, r29, 8 +/* 802FCECC 002F9E2C 93 81 00 30 */ stw r28, 0x30(r1) +/* 802FCED0 002F9E30 7C 7C 1B 78 */ mr r28, r3 +/* 802FCED4 002F9E34 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FCED8 002F9E38 48 04 12 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802FCEDC 002F9E3C A3 FD 00 18 */ lhz r31, 0x18(r29) +/* 802FCEE0 002F9E40 7F C5 F3 78 */ mr r5, r30 +/* 802FCEE4 002F9E44 38 61 00 10 */ addi r3, r1, 0x10 +/* 802FCEE8 002F9E48 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802FCEEC 002F9E4C 48 04 B8 79 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FCEF0 002F9E50 80 9D 00 38 */ lwz r4, 0x38(r29) +/* 802FCEF4 002F9E54 38 1D 00 3C */ addi r0, r29, 0x3c +/* 802FCEF8 002F9E58 7F 83 E3 78 */ mr r3, r28 +/* 802FCEFC 002F9E5C 7F E5 FB 78 */ mr r5, r31 +/* 802FCF00 002F9E60 90 81 00 08 */ stw r4, 8(r1) +/* 802FCF04 002F9E64 38 81 00 18 */ addi r4, r1, 0x18 +/* 802FCF08 002F9E68 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802FCF0C 002F9E6C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802FCF10 002F9E70 80 FD 00 24 */ lwz r7, 0x24(r29) +/* 802FCF14 002F9E74 89 1D 00 28 */ lbz r8, 0x28(r29) +/* 802FCF18 002F9E78 C0 3D 00 2C */ lfs f1, 0x2c(r29) +/* 802FCF1C 002F9E7C 81 3D 00 30 */ lwz r9, 0x30(r29) +/* 802FCF20 002F9E80 81 5D 00 34 */ lwz r10, 0x34(r29) +/* 802FCF24 002F9E84 4B D2 E4 69 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802FCF28 002F9E88 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FCF2C 002F9E8C 48 04 0B B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802FCF30 002F9E90 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802FCF34 002F9E94 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802FCF38 002F9E98 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802FCF3C 002F9E9C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802FCF40 002F9EA0 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802FCF44 002F9EA4 7C 08 03 A6 */ mtlr r0 +/* 802FCF48 002F9EA8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802FCF4C 002F9EAC 4E 80 00 20 */ blr + +.global __ct__13CInt32POINodeFR12CInputStream +__ct__13CInt32POINodeFR12CInputStream: +/* 802FCF50 002F9EB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FCF54 002F9EB4 7C 08 02 A6 */ mflr r0 +/* 802FCF58 002F9EB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FCF5C 002F9EBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FCF60 002F9EC0 7C 9F 23 78 */ mr r31, r4 +/* 802FCF64 002F9EC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FCF68 002F9EC8 7C 7E 1B 78 */ mr r30, r3 +/* 802FCF6C 002F9ECC 48 00 01 F1 */ bl __ct__8CPOINodeFR12CInputStream +/* 802FCF70 002F9ED0 3C 80 80 3E */ lis r4, lbl_803D9B98@ha +/* 802FCF74 002F9ED4 7F E3 FB 78 */ mr r3, r31 +/* 802FCF78 002F9ED8 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l +/* 802FCF7C 002F9EDC 90 1E 00 00 */ stw r0, 0(r30) +/* 802FCF80 002F9EE0 48 04 1D 05 */ bl ReadLong__12CInputStreamFv +/* 802FCF84 002F9EE4 90 7E 00 38 */ stw r3, 0x38(r30) +/* 802FCF88 002F9EE8 7F E4 FB 78 */ mr r4, r31 +/* 802FCF8C 002F9EEC 38 7E 00 3C */ addi r3, r30, 0x3c +/* 802FCF90 002F9EF0 38 A1 00 08 */ addi r5, r1, 8 +/* 802FCF94 002F9EF4 48 04 13 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802FCF98 002F9EF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FCF9C 002F9EFC 7F C3 F3 78 */ mr r3, r30 +/* 802FCFA0 002F9F00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FCFA4 002F9F04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FCFA8 002F9F08 7C 08 03 A6 */ mtlr r0 +/* 802FCFAC 002F9F0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FCFB0 002F9F10 4E 80 00 20 */ blr + +.global CopyNodeMinusStartTime__16CParticlePOINodeFRC16CParticlePOINodeRC13CCharAnimTime +CopyNodeMinusStartTime__16CParticlePOINodeFRC16CParticlePOINodeRC13CCharAnimTime: +/* 802FCFB4 002F9F14 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802FCFB8 002F9F18 7C 08 02 A6 */ mflr r0 +/* 802FCFBC 002F9F1C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802FCFC0 002F9F20 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802FCFC4 002F9F24 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802FCFC8 002F9F28 7C BE 2B 78 */ mr r30, r5 +/* 802FCFCC 002F9F2C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802FCFD0 002F9F30 7C 9D 23 78 */ mr r29, r4 +/* 802FCFD4 002F9F34 38 9D 00 08 */ addi r4, r29, 8 +/* 802FCFD8 002F9F38 93 81 00 30 */ stw r28, 0x30(r1) +/* 802FCFDC 002F9F3C 7C 7C 1B 78 */ mr r28, r3 +/* 802FCFE0 002F9F40 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FCFE4 002F9F44 48 04 11 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802FCFE8 002F9F48 A3 FD 00 18 */ lhz r31, 0x18(r29) +/* 802FCFEC 002F9F4C 7F C5 F3 78 */ mr r5, r30 +/* 802FCFF0 002F9F50 38 61 00 10 */ addi r3, r1, 0x10 +/* 802FCFF4 002F9F54 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802FCFF8 002F9F58 48 04 B7 6D */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FCFFC 002F9F5C 38 1D 00 38 */ addi r0, r29, 0x38 +/* 802FD000 002F9F60 7F 83 E3 78 */ mr r3, r28 +/* 802FD004 002F9F64 90 01 00 08 */ stw r0, 8(r1) +/* 802FD008 002F9F68 7F E5 FB 78 */ mr r5, r31 +/* 802FD00C 002F9F6C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802FD010 002F9F70 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802FD014 002F9F74 80 FD 00 24 */ lwz r7, 0x24(r29) +/* 802FD018 002F9F78 89 1D 00 28 */ lbz r8, 0x28(r29) +/* 802FD01C 002F9F7C C0 3D 00 2C */ lfs f1, 0x2c(r29) +/* 802FD020 002F9F80 81 3D 00 30 */ lwz r9, 0x30(r29) +/* 802FD024 002F9F84 81 5D 00 34 */ lwz r10, 0x34(r29) +/* 802FD028 002F9F88 4B D3 33 E1 */ bl sub_80030408 +/* 802FD02C 002F9F8C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FD030 002F9F90 48 04 0A B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802FD034 002F9F94 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802FD038 002F9F98 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802FD03C 002F9F9C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802FD040 002F9FA0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802FD044 002F9FA4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802FD048 002F9FA8 7C 08 03 A6 */ mtlr r0 +/* 802FD04C 002F9FAC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802FD050 002F9FB0 4E 80 00 20 */ blr + +.global __ct__16CParticlePOINodeFR12CInputStream +__ct__16CParticlePOINodeFR12CInputStream: +/* 802FD054 002F9FB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FD058 002F9FB8 7C 08 02 A6 */ mflr r0 +/* 802FD05C 002F9FBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FD060 002F9FC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FD064 002F9FC4 7C 9F 23 78 */ mr r31, r4 +/* 802FD068 002F9FC8 93 C1 00 08 */ stw r30, 8(r1) +/* 802FD06C 002F9FCC 7C 7E 1B 78 */ mr r30, r3 +/* 802FD070 002F9FD0 48 00 00 ED */ bl __ct__8CPOINodeFR12CInputStream +/* 802FD074 002F9FD4 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802FD078 002F9FD8 7F E4 FB 78 */ mr r4, r31 +/* 802FD07C 002F9FDC 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802FD080 002F9FE0 38 7E 00 38 */ addi r3, r30, 0x38 +/* 802FD084 002F9FE4 90 1E 00 00 */ stw r0, 0(r30) +/* 802FD088 002F9FE8 48 05 A3 7D */ bl __ct__13CParticleDataFR12CInputStream +/* 802FD08C 002F9FEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FD090 002F9FF0 7F C3 F3 78 */ mr r3, r30 +/* 802FD094 002F9FF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FD098 002F9FF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FD09C 002F9FFC 7C 08 03 A6 */ mtlr r0 +/* 802FD0A0 002FA000 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FD0A4 002FA004 4E 80 00 20 */ blr + +.global compare__8CPOINodeFPCvPCv +compare__8CPOINodeFPCvPCv: +/* 802FD0A8 002FA008 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FD0AC 002FA00C 7C 08 02 A6 */ mflr r0 +/* 802FD0B0 002FA010 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FD0B4 002FA014 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FD0B8 002FA018 7C 7F 1B 78 */ mr r31, r3 +/* 802FD0BC 002FA01C 93 C1 00 08 */ stw r30, 8(r1) +/* 802FD0C0 002FA020 7C 9E 23 78 */ mr r30, r4 +/* 802FD0C4 002FA024 48 00 00 71 */ bl __gt__8CPOINodeCFRC8CPOINode +/* 802FD0C8 002FA028 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FD0CC 002FA02C 41 82 00 0C */ beq lbl_802FD0D8 +/* 802FD0D0 002FA030 38 60 00 01 */ li r3, 1 +/* 802FD0D4 002FA034 48 00 00 20 */ b lbl_802FD0F4 +lbl_802FD0D8: +/* 802FD0D8 002FA038 7F E3 FB 78 */ mr r3, r31 +/* 802FD0DC 002FA03C 7F C4 F3 78 */ mr r4, r30 +/* 802FD0E0 002FA040 48 00 00 2D */ bl __lt__8CPOINodeCFRC8CPOINode +/* 802FD0E4 002FA044 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802FD0E8 002FA048 7C 03 00 D0 */ neg r0, r3 +/* 802FD0EC 002FA04C 7C 00 1B 78 */ or r0, r0, r3 +/* 802FD0F0 002FA050 7C 03 FE 70 */ srawi r3, r0, 0x1f +lbl_802FD0F4: +/* 802FD0F4 002FA054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FD0F8 002FA058 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FD0FC 002FA05C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FD100 002FA060 7C 08 03 A6 */ mtlr r0 +/* 802FD104 002FA064 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FD108 002FA068 4E 80 00 20 */ blr + +.global __lt__8CPOINodeCFRC8CPOINode +__lt__8CPOINodeCFRC8CPOINode: +/* 802FD10C 002FA06C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FD110 002FA070 7C 08 02 A6 */ mflr r0 +/* 802FD114 002FA074 38 63 00 1C */ addi r3, r3, 0x1c +/* 802FD118 002FA078 38 84 00 1C */ addi r4, r4, 0x1c +/* 802FD11C 002FA07C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FD120 002FA080 48 04 BB 1D */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FD124 002FA084 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FD128 002FA088 7C 08 03 A6 */ mtlr r0 +/* 802FD12C 002FA08C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FD130 002FA090 4E 80 00 20 */ blr + +.global __gt__8CPOINodeCFRC8CPOINode +__gt__8CPOINodeCFRC8CPOINode: +/* 802FD134 002FA094 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FD138 002FA098 7C 08 02 A6 */ mflr r0 +/* 802FD13C 002FA09C 38 63 00 1C */ addi r3, r3, 0x1c +/* 802FD140 002FA0A0 38 84 00 1C */ addi r4, r4, 0x1c +/* 802FD144 002FA0A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FD148 002FA0A8 48 04 B9 25 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FD14C 002FA0AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FD150 002FA0B0 7C 08 03 A6 */ mtlr r0 +/* 802FD154 002FA0B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FD158 002FA0B8 4E 80 00 20 */ blr + +.global __ct__8CPOINodeFR12CInputStream +__ct__8CPOINodeFR12CInputStream: +/* 802FD15C 002FA0BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FD160 002FA0C0 7C 08 02 A6 */ mflr r0 +/* 802FD164 002FA0C4 3C A0 80 3E */ lis r5, lbl_803D9B8C@ha +/* 802FD168 002FA0C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FD16C 002FA0CC 38 05 9B 8C */ addi r0, r5, lbl_803D9B8C@l +/* 802FD170 002FA0D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FD174 002FA0D4 7C 9F 23 78 */ mr r31, r4 +/* 802FD178 002FA0D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FD17C 002FA0DC 7C 7E 1B 78 */ mr r30, r3 +/* 802FD180 002FA0E0 90 03 00 00 */ stw r0, 0(r3) +/* 802FD184 002FA0E4 7F E3 FB 78 */ mr r3, r31 +/* 802FD188 002FA0E8 48 04 1B 29 */ bl ReadShort__12CInputStreamFv +/* 802FD18C 002FA0EC B0 7E 00 04 */ sth r3, 4(r30) +/* 802FD190 002FA0F0 7F E4 FB 78 */ mr r4, r31 +/* 802FD194 002FA0F4 38 7E 00 08 */ addi r3, r30, 8 +/* 802FD198 002FA0F8 38 A1 00 08 */ addi r5, r1, 8 +/* 802FD19C 002FA0FC 48 04 11 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802FD1A0 002FA100 7F E3 FB 78 */ mr r3, r31 +/* 802FD1A4 002FA104 48 04 1B 0D */ bl ReadShort__12CInputStreamFv +/* 802FD1A8 002FA108 B0 7E 00 18 */ sth r3, 0x18(r30) +/* 802FD1AC 002FA10C 7F E4 FB 78 */ mr r4, r31 +/* 802FD1B0 002FA110 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802FD1B4 002FA114 48 04 BC 61 */ bl __ct__13CCharAnimTimeFR12CInputStream +/* 802FD1B8 002FA118 7F E3 FB 78 */ mr r3, r31 +/* 802FD1BC 002FA11C 48 04 1A C9 */ bl ReadLong__12CInputStreamFv +/* 802FD1C0 002FA120 90 7E 00 24 */ stw r3, 0x24(r30) +/* 802FD1C4 002FA124 7F E3 FB 78 */ mr r3, r31 +/* 802FD1C8 002FA128 48 04 1B 15 */ bl ReadBool__12CInputStreamFv +/* 802FD1CC 002FA12C 98 7E 00 28 */ stb r3, 0x28(r30) +/* 802FD1D0 002FA130 7F E3 FB 78 */ mr r3, r31 +/* 802FD1D4 002FA134 48 04 1A 55 */ bl ReadFloat__12CInputStreamFv +/* 802FD1D8 002FA138 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 802FD1DC 002FA13C 7F E3 FB 78 */ mr r3, r31 +/* 802FD1E0 002FA140 48 04 1A A5 */ bl ReadLong__12CInputStreamFv +/* 802FD1E4 002FA144 90 7E 00 30 */ stw r3, 0x30(r30) +/* 802FD1E8 002FA148 7F E3 FB 78 */ mr r3, r31 +/* 802FD1EC 002FA14C 48 04 1A 99 */ bl ReadLong__12CInputStreamFv +/* 802FD1F0 002FA150 90 7E 00 34 */ stw r3, 0x34(r30) +/* 802FD1F4 002FA154 7F C3 F3 78 */ mr r3, r30 +/* 802FD1F8 002FA158 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FD1FC 002FA15C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FD200 002FA160 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FD204 002FA164 7C 08 03 A6 */ mtlr r0 +/* 802FD208 002FA168 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FD20C 002FA16C 4E 80 00 20 */ blr + +.global "__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii" +"__ct__8CPOINodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfii": +/* 802FD210 002FA170 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802FD214 002FA174 7C 08 02 A6 */ mflr r0 +/* 802FD218 002FA178 90 01 00 44 */ stw r0, 0x44(r1) +/* 802FD21C 002FA17C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802FD220 002FA180 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802FD224 002FA184 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802FD228 002FA188 3D 60 80 3E */ lis r11, lbl_803D9B8C@ha +/* 802FD22C 002FA18C 7C 79 1B 78 */ mr r25, r3 +/* 802FD230 002FA190 38 0B 9B 8C */ addi r0, r11, lbl_803D9B8C@l +/* 802FD234 002FA194 FF E0 08 90 */ fmr f31, f1 +/* 802FD238 002FA198 90 03 00 00 */ stw r0, 0(r3) +/* 802FD23C 002FA19C 38 00 00 01 */ li r0, 1 +/* 802FD240 002FA1A0 7C BA 2B 78 */ mr r26, r5 +/* 802FD244 002FA1A4 7C DB 33 78 */ mr r27, r6 +/* 802FD248 002FA1A8 B0 03 00 04 */ sth r0, 4(r3) +/* 802FD24C 002FA1AC 7C FC 3B 78 */ mr r28, r7 +/* 802FD250 002FA1B0 7D 1D 43 78 */ mr r29, r8 +/* 802FD254 002FA1B4 7D 3E 4B 78 */ mr r30, r9 +/* 802FD258 002FA1B8 7D 5F 53 78 */ mr r31, r10 +/* 802FD25C 002FA1BC 38 79 00 08 */ addi r3, r25, 8 +/* 802FD260 002FA1C0 48 04 0F 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802FD264 002FA1C4 B3 59 00 18 */ sth r26, 0x18(r25) +/* 802FD268 002FA1C8 7F 23 CB 78 */ mr r3, r25 +/* 802FD26C 002FA1CC C0 1B 00 00 */ lfs f0, 0(r27) +/* 802FD270 002FA1D0 D0 19 00 1C */ stfs f0, 0x1c(r25) +/* 802FD274 002FA1D4 80 1B 00 04 */ lwz r0, 4(r27) +/* 802FD278 002FA1D8 90 19 00 20 */ stw r0, 0x20(r25) +/* 802FD27C 002FA1DC 93 99 00 24 */ stw r28, 0x24(r25) +/* 802FD280 002FA1E0 9B B9 00 28 */ stb r29, 0x28(r25) +/* 802FD284 002FA1E4 D3 F9 00 2C */ stfs f31, 0x2c(r25) +/* 802FD288 002FA1E8 93 D9 00 30 */ stw r30, 0x30(r25) +/* 802FD28C 002FA1EC 93 F9 00 34 */ stw r31, 0x34(r25) +/* 802FD290 002FA1F0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802FD294 002FA1F4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802FD298 002FA1F8 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802FD29C 002FA1FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802FD2A0 002FA200 7C 08 03 A6 */ mtlr r0 +/* 802FD2A4 002FA204 38 21 00 40 */ addi r1, r1, 0x40 +/* 802FD2A8 002FA208 4E 80 00 20 */ blr + +.global __dt__21CStackSegStatementSetFv +__dt__21CStackSegStatementSetFv: +/* 802FD2AC 002FA20C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FD2B0 002FA210 7C 08 02 A6 */ mflr r0 +/* 802FD2B4 002FA214 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FD2B8 002FA218 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FD2BC 002FA21C 7C 9F 23 78 */ mr r31, r4 +/* 802FD2C0 002FA220 93 C1 00 08 */ stw r30, 8(r1) +/* 802FD2C4 002FA224 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FD2C8 002FA228 41 82 00 88 */ beq lbl_802FD350 +/* 802FD2CC 002FA22C 3C 60 80 3F */ lis r3, lbl_803ED4B8@ha +/* 802FD2D0 002FA230 3C A0 E0 00 */ lis r5, 0xe000 +/* 802FD2D4 002FA234 38 03 D4 B8 */ addi r0, r3, lbl_803ED4B8@l +/* 802FD2D8 002FA238 90 1E 00 00 */ stw r0, 0(r30) +/* 802FD2DC 002FA23C 80 7E 00 04 */ lwz r3, 4(r30) +/* 802FD2E0 002FA240 7C 03 28 40 */ cmplw r3, r5 +/* 802FD2E4 002FA244 41 80 00 44 */ blt lbl_802FD328 +/* 802FD2E8 002FA248 38 05 3E 80 */ addi r0, r5, 0x3e80 +/* 802FD2EC 002FA24C 7C 03 00 40 */ cmplw r3, r0 +/* 802FD2F0 002FA250 40 80 00 38 */ bge lbl_802FD328 +/* 802FD2F4 002FA254 3C 80 51 EC */ lis r4, 0x51EB851F@ha +/* 802FD2F8 002FA258 7C 05 18 50 */ subf r0, r5, r3 +/* 802FD2FC 002FA25C 38 64 85 1F */ addi r3, r4, 0x51EB851F@l +/* 802FD300 002FA260 80 AD 9C 38 */ lwz r5, lbl_805A87F8@sda21(r13) +/* 802FD304 002FA264 7C 03 00 96 */ mulhw r0, r3, r0 +/* 802FD308 002FA268 38 80 00 01 */ li r4, 1 +/* 802FD30C 002FA26C 7C 00 56 70 */ srawi r0, r0, 0xa +/* 802FD310 002FA270 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802FD314 002FA274 7C 00 1A 14 */ add r0, r0, r3 +/* 802FD318 002FA278 7C 80 00 30 */ slw r0, r4, r0 +/* 802FD31C 002FA27C 7C A0 03 78 */ or r0, r5, r0 +/* 802FD320 002FA280 90 0D 9C 38 */ stw r0, lbl_805A87F8@sda21(r13) +/* 802FD324 002FA284 48 00 00 08 */ b lbl_802FD32C +lbl_802FD328: +/* 802FD328 002FA288 48 01 86 09 */ bl Free__7CMemoryFPCv +lbl_802FD32C: +/* 802FD32C 002FA28C 28 1E 00 00 */ cmplwi r30, 0 +/* 802FD330 002FA290 41 82 00 10 */ beq lbl_802FD340 +/* 802FD334 002FA294 3C 60 80 3F */ lis r3, lbl_803ED4C4@ha +/* 802FD338 002FA298 38 03 D4 C4 */ addi r0, r3, lbl_803ED4C4@l +/* 802FD33C 002FA29C 90 1E 00 00 */ stw r0, 0(r30) +lbl_802FD340: +/* 802FD340 002FA2A0 7F E0 07 35 */ extsh. r0, r31 +/* 802FD344 002FA2A4 40 81 00 0C */ ble lbl_802FD350 +/* 802FD348 002FA2A8 7F C3 F3 78 */ mr r3, r30 +/* 802FD34C 002FA2AC 48 01 85 E5 */ bl Free__7CMemoryFPCv +lbl_802FD350: +/* 802FD350 002FA2B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FD354 002FA2B4 7F C3 F3 78 */ mr r3, r30 +/* 802FD358 002FA2B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FD35C 002FA2BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FD360 002FA2C0 7C 08 03 A6 */ mtlr r0 +/* 802FD364 002FA2C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FD368 002FA2C8 4E 80 00 20 */ blr + +.global __ct__21CStackSegStatementSetFv +__ct__21CStackSegStatementSetFv: +/* 802FD36C 002FA2CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FD370 002FA2D0 7C 08 02 A6 */ mflr r0 +/* 802FD374 002FA2D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FD378 002FA2D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FD37C 002FA2DC 7C 7F 1B 78 */ mr r31, r3 +/* 802FD380 002FA2E0 38 60 00 00 */ li r3, 0 +/* 802FD384 002FA2E4 48 08 1B 41 */ bl LCQueueWait +/* 802FD388 002FA2E8 80 8D 9C 38 */ lwz r4, lbl_805A87F8@sda21(r13) +/* 802FD38C 002FA2EC 2C 04 00 00 */ cmpwi r4, 0 +/* 802FD390 002FA2F0 41 82 00 44 */ beq lbl_802FD3D4 +/* 802FD394 002FA2F4 38 00 00 05 */ li r0, 5 +/* 802FD398 002FA2F8 38 C0 00 00 */ li r6, 0 +/* 802FD39C 002FA2FC 38 60 00 01 */ li r3, 1 +/* 802FD3A0 002FA300 7C 09 03 A6 */ mtctr r0 +lbl_802FD3A4: +/* 802FD3A4 002FA304 7C 65 30 30 */ slw r5, r3, r6 +/* 802FD3A8 002FA308 7C 80 28 39 */ and. r0, r4, r5 +/* 802FD3AC 002FA30C 41 82 00 20 */ beq lbl_802FD3CC +/* 802FD3B0 002FA310 80 8D 9C 38 */ lwz r4, lbl_805A87F8@sda21(r13) +/* 802FD3B4 002FA314 1C 66 0C 80 */ mulli r3, r6, 0xc80 +/* 802FD3B8 002FA318 3C 00 E0 00 */ lis r0, 0xe000 +/* 802FD3BC 002FA31C 7C 84 2A 78 */ xor r4, r4, r5 +/* 802FD3C0 002FA320 90 8D 9C 38 */ stw r4, lbl_805A87F8@sda21(r13) +/* 802FD3C4 002FA324 7C 80 1A 14 */ add r4, r0, r3 +/* 802FD3C8 002FA328 48 00 00 44 */ b lbl_802FD40C +lbl_802FD3CC: +/* 802FD3CC 002FA32C 38 C6 00 01 */ addi r6, r6, 1 +/* 802FD3D0 002FA330 42 00 FF D4 */ bdnz lbl_802FD3A4 +lbl_802FD3D4: +/* 802FD3D4 002FA334 3C 60 80 3D */ lis r3, lbl_803D6E48@ha +/* 802FD3D8 002FA338 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 802FD3DC 002FA33C 38 A3 6E 48 */ addi r5, r3, lbl_803D6E48@l +/* 802FD3E0 002FA340 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 802FD3E4 002FA344 38 61 00 08 */ addi r3, r1, 8 +/* 802FD3E8 002FA348 38 80 FF FF */ li r4, -1 +/* 802FD3EC 002FA34C 4B FD 8F E9 */ bl __ct__10CCallStackFUiPCcPCc +/* 802FD3F0 002FA350 7C 67 1B 78 */ mr r7, r3 +/* 802FD3F4 002FA354 38 60 0C 80 */ li r3, 0xc80 +/* 802FD3F8 002FA358 38 80 00 00 */ li r4, 0 +/* 802FD3FC 002FA35C 38 A0 00 01 */ li r5, 1 +/* 802FD400 002FA360 38 C0 00 00 */ li r6, 0 +/* 802FD404 002FA364 48 01 85 91 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802FD408 002FA368 7C 64 1B 78 */ mr r4, r3 +lbl_802FD40C: +/* 802FD40C 002FA36C 7F E3 FB 78 */ mr r3, r31 +/* 802FD410 002FA370 48 00 01 D5 */ bl __ct__16CSegStatementSetFPv +/* 802FD414 002FA374 3C 80 80 3F */ lis r4, lbl_803ED4B8@ha +/* 802FD418 002FA378 7F E3 FB 78 */ mr r3, r31 +/* 802FD41C 002FA37C 38 04 D4 B8 */ addi r0, r4, lbl_803ED4B8@l +/* 802FD420 002FA380 90 1F 00 00 */ stw r0, 0(r31) +/* 802FD424 002FA384 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FD428 002FA388 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FD42C 002FA38C 7C 08 03 A6 */ mtlr r0 +/* 802FD430 002FA390 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FD434 002FA394 4E 80 00 20 */ blr + +.global Add__16CSegStatementSetFRC10CSegIdListRC15CCharLayoutInfoRC16CSegStatementSetf +Add__16CSegStatementSetFRC10CSegIdListRC15CCharLayoutInfoRC16CSegStatementSetf: +/* 802FD438 002FA398 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802FD43C 002FA39C 7C 08 02 A6 */ mflr r0 +/* 802FD440 002FA3A0 90 01 00 94 */ stw r0, 0x94(r1) +/* 802FD444 002FA3A4 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802FD448 002FA3A8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802FD44C 002FA3AC BE C1 00 58 */ stmw r22, 0x58(r1) +/* 802FD450 002FA3B0 7C 99 23 78 */ mr r25, r4 +/* 802FD454 002FA3B4 FF E0 08 90 */ fmr f31, f1 +/* 802FD458 002FA3B8 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 802FD45C 002FA3BC 83 D9 00 04 */ lwz r30, 4(r25) +/* 802FD460 002FA3C0 7C 78 1B 78 */ mr r24, r3 +/* 802FD464 002FA3C4 7C BA 2B 78 */ mr r26, r5 +/* 802FD468 002FA3C8 7C DB 33 78 */ mr r27, r6 +/* 802FD46C 002FA3CC 3B A1 00 08 */ addi r29, r1, 8 +/* 802FD470 002FA3D0 3B E4 66 60 */ addi r31, r4, lbl_805A6660@l +/* 802FD474 002FA3D4 3B 80 00 00 */ li r28, 0 +/* 802FD478 002FA3D8 48 00 01 48 */ b lbl_802FD5C0 +lbl_802FD47C: +/* 802FD47C 002FA3DC 80 99 00 0C */ lwz r4, 0xc(r25) +/* 802FD480 002FA3E0 38 60 00 00 */ li r3, 0 +/* 802FD484 002FA3E4 80 1B 00 04 */ lwz r0, 4(r27) +/* 802FD488 002FA3E8 FC 20 F8 90 */ fmr f1, f31 +/* 802FD48C 002FA3EC 7C A4 E0 AE */ lbzx r5, r4, r28 +/* 802FD490 002FA3F0 7F E4 FB 78 */ mr r4, r31 +/* 802FD494 002FA3F4 90 61 00 54 */ stw r3, 0x54(r1) +/* 802FD498 002FA3F8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FD49C 002FA3FC 54 A6 28 34 */ slwi r6, r5, 5 +/* 802FD4A0 002FA400 98 A1 00 08 */ stb r5, 8(r1) +/* 802FD4A4 002FA404 7E C0 32 14 */ add r22, r0, r6 +/* 802FD4A8 002FA408 7E C5 B3 78 */ mr r5, r22 +/* 802FD4AC 002FA40C 80 18 00 04 */ lwz r0, 4(r24) +/* 802FD4B0 002FA410 7E E0 32 14 */ add r23, r0, r6 +/* 802FD4B4 002FA414 48 01 48 45 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 802FD4B8 002FA418 7E E4 BB 78 */ mr r4, r23 +/* 802FD4BC 002FA41C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802FD4C0 002FA420 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802FD4C4 002FA424 48 01 3C DD */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 802FD4C8 002FA428 80 16 00 1C */ lwz r0, 0x1c(r22) +/* 802FD4CC 002FA42C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802FD4D0 002FA430 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 802FD4D4 002FA434 28 00 00 00 */ cmplwi r0, 0 +/* 802FD4D8 002FA438 80 61 00 30 */ lwz r3, 0x30(r1) +/* 802FD4DC 002FA43C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802FD4E0 002FA440 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802FD4E4 002FA444 90 81 00 3C */ stw r4, 0x3c(r1) +/* 802FD4E8 002FA448 90 61 00 40 */ stw r3, 0x40(r1) +/* 802FD4EC 002FA44C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802FD4F0 002FA450 41 82 00 7C */ beq lbl_802FD56C +/* 802FD4F4 002FA454 80 17 00 1C */ lwz r0, 0x1c(r23) +/* 802FD4F8 002FA458 28 00 00 00 */ cmplwi r0, 0 +/* 802FD4FC 002FA45C 41 82 00 70 */ beq lbl_802FD56C +/* 802FD500 002FA460 7F 44 D3 78 */ mr r4, r26 +/* 802FD504 002FA464 7F A5 EB 78 */ mr r5, r29 +/* 802FD508 002FA468 38 61 00 0C */ addi r3, r1, 0xc +/* 802FD50C 002FA46C 4B E2 E4 95 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId +/* 802FD510 002FA470 C0 36 00 14 */ lfs f1, 0x14(r22) +/* 802FD514 002FA474 38 00 00 01 */ li r0, 1 +/* 802FD518 002FA478 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802FD51C 002FA47C C0 76 00 18 */ lfs f3, 0x18(r22) +/* 802FD520 002FA480 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802FD524 002FA484 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802FD528 002FA488 C0 36 00 10 */ lfs f1, 0x10(r22) +/* 802FD52C 002FA48C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802FD530 002FA490 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802FD534 002FA494 EC 9F 01 32 */ fmuls f4, f31, f4 +/* 802FD538 002FA498 C0 B7 00 14 */ lfs f5, 0x14(r23) +/* 802FD53C 002FA49C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802FD540 002FA4A0 C0 77 00 18 */ lfs f3, 0x18(r23) +/* 802FD544 002FA4A4 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 802FD548 002FA4A8 EC 85 20 2A */ fadds f4, f5, f4 +/* 802FD54C 002FA4AC EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802FD550 002FA4B0 C0 37 00 10 */ lfs f1, 0x10(r23) +/* 802FD554 002FA4B4 EC 43 10 2A */ fadds f2, f3, f2 +/* 802FD558 002FA4B8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802FD55C 002FA4BC EC 01 00 2A */ fadds f0, f1, f0 +/* 802FD560 002FA4C0 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802FD564 002FA4C4 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802FD568 002FA4C8 D0 01 00 48 */ stfs f0, 0x48(r1) +lbl_802FD56C: +/* 802FD56C 002FA4CC 88 01 00 08 */ lbz r0, 8(r1) +/* 802FD570 002FA4D0 3B 9C 00 01 */ addi r28, r28, 1 +/* 802FD574 002FA4D4 80 98 00 04 */ lwz r4, 4(r24) +/* 802FD578 002FA4D8 54 00 28 34 */ slwi r0, r0, 5 +/* 802FD57C 002FA4DC 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802FD580 002FA4E0 7C 84 02 14 */ add r4, r4, r0 +/* 802FD584 002FA4E4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802FD588 002FA4E8 90 64 00 00 */ stw r3, 0(r4) +/* 802FD58C 002FA4EC 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802FD590 002FA4F0 90 04 00 04 */ stw r0, 4(r4) +/* 802FD594 002FA4F4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802FD598 002FA4F8 90 64 00 08 */ stw r3, 8(r4) +/* 802FD59C 002FA4FC 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802FD5A0 002FA500 90 04 00 0C */ stw r0, 0xc(r4) +/* 802FD5A4 002FA504 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802FD5A8 002FA508 90 64 00 10 */ stw r3, 0x10(r4) +/* 802FD5AC 002FA50C 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802FD5B0 002FA510 90 04 00 14 */ stw r0, 0x14(r4) +/* 802FD5B4 002FA514 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802FD5B8 002FA518 90 64 00 18 */ stw r3, 0x18(r4) +/* 802FD5BC 002FA51C 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_802FD5C0: +/* 802FD5C0 002FA520 7C 1C F0 00 */ cmpw r28, r30 +/* 802FD5C4 002FA524 41 80 FE B8 */ blt lbl_802FD47C +/* 802FD5C8 002FA528 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802FD5CC 002FA52C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802FD5D0 002FA530 BA C1 00 58 */ lmw r22, 0x58(r1) +/* 802FD5D4 002FA534 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802FD5D8 002FA538 7C 08 03 A6 */ mtlr r0 +/* 802FD5DC 002FA53C 38 21 00 90 */ addi r1, r1, 0x90 +/* 802FD5E0 002FA540 4E 80 00 20 */ blr + +.global __ct__16CSegStatementSetFPv +__ct__16CSegStatementSetFPv: +/* 802FD5E4 002FA544 3C A0 80 3F */ lis r5, lbl_803ED4C4@ha +/* 802FD5E8 002FA548 38 E0 00 00 */ li r7, 0 +/* 802FD5EC 002FA54C 38 C5 D4 C4 */ addi r6, r5, lbl_803ED4C4@l +/* 802FD5F0 002FA550 38 00 00 0A */ li r0, 0xa +/* 802FD5F4 002FA554 90 C3 00 00 */ stw r6, 0(r3) +/* 802FD5F8 002FA558 7C E5 3B 78 */ mr r5, r7 +/* 802FD5FC 002FA55C 38 C0 00 00 */ li r6, 0 +/* 802FD600 002FA560 90 83 00 04 */ stw r4, 4(r3) +/* 802FD604 002FA564 7C 09 03 A6 */ mtctr r0 +lbl_802FD608: +/* 802FD608 002FA568 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD60C 002FA56C 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD610 002FA570 41 82 00 08 */ beq lbl_802FD618 +/* 802FD614 002FA574 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD618: +/* 802FD618 002FA578 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD61C 002FA57C 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD620 002FA580 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD624 002FA584 41 82 00 08 */ beq lbl_802FD62C +/* 802FD628 002FA588 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD62C: +/* 802FD62C 002FA58C 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD630 002FA590 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD634 002FA594 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD638 002FA598 41 82 00 08 */ beq lbl_802FD640 +/* 802FD63C 002FA59C 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD640: +/* 802FD640 002FA5A0 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD644 002FA5A4 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD648 002FA5A8 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD64C 002FA5AC 41 82 00 08 */ beq lbl_802FD654 +/* 802FD650 002FA5B0 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD654: +/* 802FD654 002FA5B4 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD658 002FA5B8 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD65C 002FA5BC 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD660 002FA5C0 41 82 00 08 */ beq lbl_802FD668 +/* 802FD664 002FA5C4 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD668: +/* 802FD668 002FA5C8 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD66C 002FA5CC 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD670 002FA5D0 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD674 002FA5D4 41 82 00 08 */ beq lbl_802FD67C +/* 802FD678 002FA5D8 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD67C: +/* 802FD67C 002FA5DC 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD680 002FA5E0 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD684 002FA5E4 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD688 002FA5E8 41 82 00 08 */ beq lbl_802FD690 +/* 802FD68C 002FA5EC 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD690: +/* 802FD690 002FA5F0 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD694 002FA5F4 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD698 002FA5F8 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD69C 002FA5FC 41 82 00 08 */ beq lbl_802FD6A4 +/* 802FD6A0 002FA600 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD6A4: +/* 802FD6A4 002FA604 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD6A8 002FA608 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD6AC 002FA60C 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD6B0 002FA610 41 82 00 08 */ beq lbl_802FD6B8 +/* 802FD6B4 002FA614 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD6B8: +/* 802FD6B8 002FA618 80 03 00 04 */ lwz r0, 4(r3) +/* 802FD6BC 002FA61C 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD6C0 002FA620 7C 80 3A 15 */ add. r4, r0, r7 +/* 802FD6C4 002FA624 41 82 00 08 */ beq lbl_802FD6CC +/* 802FD6C8 002FA628 90 A4 00 1C */ stw r5, 0x1c(r4) +lbl_802FD6CC: +/* 802FD6CC 002FA62C 38 E7 00 20 */ addi r7, r7, 0x20 +/* 802FD6D0 002FA630 38 C6 00 09 */ addi r6, r6, 9 +/* 802FD6D4 002FA634 42 00 FF 34 */ bdnz lbl_802FD608 +/* 802FD6D8 002FA638 4E 80 00 20 */ blr + +.global GetType__25CLinearAnimationTimeScaleCFv +GetType__25CLinearAnimationTimeScaleCFv: +/* 802FD6DC 002FA63C 38 60 00 01 */ li r3, 1 +/* 802FD6E0 002FA640 4E 80 00 20 */ blr + +.global VGetFunctionMirrored__25CLinearAnimationTimeScaleCFRCf +VGetFunctionMirrored__25CLinearAnimationTimeScaleCFRCf: +/* 802FD6E4 002FA644 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802FD6E8 002FA648 7C 08 02 A6 */ mflr r0 +/* 802FD6EC 002FA64C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802FD6F0 002FA650 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802FD6F4 002FA654 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802FD6F8 002FA658 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802FD6FC 002FA65C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802FD700 002FA660 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802FD704 002FA664 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802FD708 002FA668 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 802FD70C 002FA66C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 802FD710 002FA670 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 802FD714 002FA674 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 802FD718 002FA678 DB 41 00 30 */ stfd f26, 0x30(r1) +/* 802FD71C 002FA67C F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 802FD720 002FA680 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802FD724 002FA684 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802FD728 002FA688 C0 05 00 00 */ lfs f0, 0(r5) +/* 802FD72C 002FA68C 3C A0 80 3D */ lis r5, lbl_803D6E50@ha +/* 802FD730 002FA690 C0 22 C7 18 */ lfs f1, lbl_805AE438@sda21(r2) +/* 802FD734 002FA694 7C 7E 1B 78 */ mr r30, r3 +/* 802FD738 002FA698 C0 84 00 04 */ lfs f4, 4(r4) +/* 802FD73C 002FA69C 38 05 6E 50 */ addi r0, r5, lbl_803D6E50@l +/* 802FD740 002FA6A0 EC 61 00 32 */ fmuls f3, f1, f0 +/* 802FD744 002FA6A4 C0 44 00 08 */ lfs f2, 8(r4) +/* 802FD748 002FA6A8 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802FD74C 002FA6AC FF 80 20 50 */ fneg f28, f4 +/* 802FD750 002FA6B0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802FD754 002FA6B4 7C 04 03 78 */ mr r4, r0 +/* 802FD758 002FA6B8 EF 64 10 FC */ fnmsubs f27, f4, f3, f2 +/* 802FD75C 002FA6BC 38 60 00 14 */ li r3, 0x14 +/* 802FD760 002FA6C0 EF A3 08 28 */ fsubs f29, f3, f1 +/* 802FD764 002FA6C4 38 A0 00 00 */ li r5, 0 +/* 802FD768 002FA6C8 EF 43 00 28 */ fsubs f26, f3, f0 +/* 802FD76C 002FA6CC 48 01 81 01 */ bl __nw__FUlPCcPCc +/* 802FD770 002FA6D0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FD774 002FA6D4 41 82 00 90 */ beq lbl_802FD804 +/* 802FD778 002FA6D8 FC 20 D0 90 */ fmr f1, f26 +/* 802FD77C 002FA6DC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802FD780 002FA6E0 48 04 B6 6D */ bl __ct__13CCharAnimTimeFf +/* 802FD784 002FA6E4 FC 20 E8 90 */ fmr f1, f29 +/* 802FD788 002FA6E8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FD78C 002FA6EC EF FC DF 7A */ fmadds f31, f28, f29, f27 +/* 802FD790 002FA6F0 48 04 B6 5D */ bl __ct__13CCharAnimTimeFf +/* 802FD794 002FA6F4 3C 60 80 3F */ lis r3, lbl_803ECD10@ha +/* 802FD798 002FA6F8 3C 80 80 3F */ lis r4, lbl_803ED4D0@ha +/* 802FD79C 002FA6FC 38 03 CD 10 */ addi r0, r3, lbl_803ECD10@l +/* 802FD7A0 002FA700 38 61 00 10 */ addi r3, r1, 0x10 +/* 802FD7A4 002FA704 90 1F 00 00 */ stw r0, 0(r31) +/* 802FD7A8 002FA708 38 04 D4 D0 */ addi r0, r4, lbl_803ED4D0@l +/* 802FD7AC 002FA70C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802FD7B0 002FA710 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802FD7B4 002FA714 90 1F 00 00 */ stw r0, 0(r31) +/* 802FD7B8 002FA718 C3 C1 00 20 */ lfs f30, 0x20(r1) +/* 802FD7BC 002FA71C C3 A1 00 18 */ lfs f29, 0x18(r1) +/* 802FD7C0 002FA720 48 04 AF A5 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FD7C4 002FA724 EC 5C DE BA */ fmadds f2, f28, f26, f27 +/* 802FD7C8 002FA728 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802FD7CC 002FA72C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802FD7D0 002FA730 38 61 00 08 */ addi r3, r1, 8 +/* 802FD7D4 002FA734 38 81 00 20 */ addi r4, r1, 0x20 +/* 802FD7D8 002FA738 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802FD7DC 002FA73C EF 42 F8 28 */ fsubs f26, f2, f31 +/* 802FD7E0 002FA740 EC 3A 08 24 */ fdivs f1, f26, f1 +/* 802FD7E4 002FA744 EF E1 F8 3C */ fnmsubs f31, f1, f0, f31 +/* 802FD7E8 002FA748 48 04 AF 7D */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FD7EC 002FA74C C0 01 00 08 */ lfs f0, 8(r1) +/* 802FD7F0 002FA750 EC 1A 00 24 */ fdivs f0, f26, f0 +/* 802FD7F4 002FA754 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802FD7F8 002FA758 D3 FF 00 08 */ stfs f31, 8(r31) +/* 802FD7FC 002FA75C D3 BF 00 0C */ stfs f29, 0xc(r31) +/* 802FD800 002FA760 D3 DF 00 10 */ stfs f30, 0x10(r31) +lbl_802FD804: +/* 802FD804 002FA764 7C 1F 00 D0 */ neg r0, r31 +/* 802FD808 002FA768 7C 00 FB 78 */ or r0, r0, r31 +/* 802FD80C 002FA76C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FD810 002FA770 98 1E 00 00 */ stb r0, 0(r30) +/* 802FD814 002FA774 93 FE 00 04 */ stw r31, 4(r30) +/* 802FD818 002FA778 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802FD81C 002FA77C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802FD820 002FA780 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802FD824 002FA784 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802FD828 002FA788 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802FD82C 002FA78C CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802FD830 002FA790 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 802FD834 002FA794 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 802FD838 002FA798 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 802FD83C 002FA79C CB 61 00 40 */ lfd f27, 0x40(r1) +/* 802FD840 002FA7A0 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 802FD844 002FA7A4 CB 41 00 30 */ lfd f26, 0x30(r1) +/* 802FD848 002FA7A8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802FD84C 002FA7AC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802FD850 002FA7B0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802FD854 002FA7B4 7C 08 03 A6 */ mtlr r0 +/* 802FD858 002FA7B8 38 21 00 90 */ addi r1, r1, 0x90 +/* 802FD85C 002FA7BC 4E 80 00 20 */ blr + +.global VClone__25CLinearAnimationTimeScaleCFv +VClone__25CLinearAnimationTimeScaleCFv: +/* 802FD860 002FA7C0 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802FD864 002FA7C4 7C 08 02 A6 */ mflr r0 +/* 802FD868 002FA7C8 90 01 00 94 */ stw r0, 0x94(r1) +/* 802FD86C 002FA7CC DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802FD870 002FA7D0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802FD874 002FA7D4 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802FD878 002FA7D8 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802FD87C 002FA7DC DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802FD880 002FA7E0 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802FD884 002FA7E4 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 802FD888 002FA7E8 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 802FD88C 002FA7EC DB 61 00 40 */ stfd f27, 0x40(r1) +/* 802FD890 002FA7F0 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 802FD894 002FA7F4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802FD898 002FA7F8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802FD89C 002FA7FC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802FD8A0 002FA800 3C A0 80 3D */ lis r5, lbl_803D6E50@ha +/* 802FD8A4 002FA804 7C 7D 1B 78 */ mr r29, r3 +/* 802FD8A8 002FA808 38 05 6E 50 */ addi r0, r5, lbl_803D6E50@l +/* 802FD8AC 002FA80C 7C 9E 23 78 */ mr r30, r4 +/* 802FD8B0 002FA810 7C 04 03 78 */ mr r4, r0 +/* 802FD8B4 002FA814 38 60 00 14 */ li r3, 0x14 +/* 802FD8B8 002FA818 38 A0 00 00 */ li r5, 0 +/* 802FD8BC 002FA81C 48 01 7F B1 */ bl __nw__FUlPCcPCc +/* 802FD8C0 002FA820 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FD8C4 002FA824 41 82 00 A0 */ beq lbl_802FD964 +/* 802FD8C8 002FA828 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 802FD8CC 002FA82C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802FD8D0 002FA830 C0 5E 00 04 */ lfs f2, 4(r30) +/* 802FD8D4 002FA834 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802FD8D8 002FA838 EF E2 00 7A */ fmadds f31, f2, f1, f0 +/* 802FD8DC 002FA83C 48 04 B5 11 */ bl __ct__13CCharAnimTimeFf +/* 802FD8E0 002FA840 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 802FD8E4 002FA844 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FD8E8 002FA848 C0 5E 00 04 */ lfs f2, 4(r30) +/* 802FD8EC 002FA84C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802FD8F0 002FA850 EF C2 00 7A */ fmadds f30, f2, f1, f0 +/* 802FD8F4 002FA854 48 04 B4 F9 */ bl __ct__13CCharAnimTimeFf +/* 802FD8F8 002FA858 3C 60 80 3F */ lis r3, lbl_803ECD10@ha +/* 802FD8FC 002FA85C 3C 80 80 3F */ lis r4, lbl_803ED4D0@ha +/* 802FD900 002FA860 38 03 CD 10 */ addi r0, r3, lbl_803ECD10@l +/* 802FD904 002FA864 38 61 00 10 */ addi r3, r1, 0x10 +/* 802FD908 002FA868 90 1F 00 00 */ stw r0, 0(r31) +/* 802FD90C 002FA86C 38 04 D4 D0 */ addi r0, r4, lbl_803ED4D0@l +/* 802FD910 002FA870 38 81 00 20 */ addi r4, r1, 0x20 +/* 802FD914 002FA874 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802FD918 002FA878 90 1F 00 00 */ stw r0, 0(r31) +/* 802FD91C 002FA87C C3 A1 00 20 */ lfs f29, 0x20(r1) +/* 802FD920 002FA880 C3 81 00 18 */ lfs f28, 0x18(r1) +/* 802FD924 002FA884 48 04 AE 41 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FD928 002FA888 EF 7F F0 28 */ fsubs f27, f31, f30 +/* 802FD92C 002FA88C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802FD930 002FA890 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802FD934 002FA894 38 61 00 08 */ addi r3, r1, 8 +/* 802FD938 002FA898 38 81 00 20 */ addi r4, r1, 0x20 +/* 802FD93C 002FA89C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802FD940 002FA8A0 EC 3B 08 24 */ fdivs f1, f27, f1 +/* 802FD944 002FA8A4 EF E1 F0 3C */ fnmsubs f31, f1, f0, f30 +/* 802FD948 002FA8A8 48 04 AE 1D */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802FD94C 002FA8AC C0 01 00 08 */ lfs f0, 8(r1) +/* 802FD950 002FA8B0 EC 1B 00 24 */ fdivs f0, f27, f0 +/* 802FD954 002FA8B4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802FD958 002FA8B8 D3 FF 00 08 */ stfs f31, 8(r31) +/* 802FD95C 002FA8BC D3 9F 00 0C */ stfs f28, 0xc(r31) +/* 802FD960 002FA8C0 D3 BF 00 10 */ stfs f29, 0x10(r31) +lbl_802FD964: +/* 802FD964 002FA8C4 7C 1F 00 D0 */ neg r0, r31 +/* 802FD968 002FA8C8 7C 00 FB 78 */ or r0, r0, r31 +/* 802FD96C 002FA8CC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FD970 002FA8D0 98 1D 00 00 */ stb r0, 0(r29) +/* 802FD974 002FA8D4 93 FD 00 04 */ stw r31, 4(r29) +/* 802FD978 002FA8D8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802FD97C 002FA8DC CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802FD980 002FA8E0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802FD984 002FA8E4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802FD988 002FA8E8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802FD98C 002FA8EC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802FD990 002FA8F0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 802FD994 002FA8F4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 802FD998 002FA8F8 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 802FD99C 002FA8FC CB 61 00 40 */ lfd f27, 0x40(r1) +/* 802FD9A0 002FA900 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802FD9A4 002FA904 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802FD9A8 002FA908 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802FD9AC 002FA90C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802FD9B0 002FA910 7C 08 03 A6 */ mtlr r0 +/* 802FD9B4 002FA914 38 21 00 90 */ addi r1, r1, 0x90 +/* 802FD9B8 002FA918 4E 80 00 20 */ blr + +.global VFindUpperLimit__25CLinearAnimationTimeScaleCFRCfRCf +VFindUpperLimit__25CLinearAnimationTimeScaleCFRCfRCf: +/* 802FD9BC 002FA91C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FD9C0 002FA920 7C 08 02 A6 */ mflr r0 +/* 802FD9C4 002FA924 38 63 00 04 */ addi r3, r3, 4 +/* 802FD9C8 002FA928 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FD9CC 002FA92C 48 00 00 15 */ bl FindUpperLimitFromRoot__25CLinearAnimationTimeScaleFRCQ225CLinearAnimationTimeScale20CFunctionDescriptionRCfRCf +/* 802FD9D0 002FA930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FD9D4 002FA934 7C 08 03 A6 */ mtlr r0 +/* 802FD9D8 002FA938 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FD9DC 002FA93C 4E 80 00 20 */ blr + +.global FindUpperLimitFromRoot__25CLinearAnimationTimeScaleFRCQ225CLinearAnimationTimeScale20CFunctionDescriptionRCfRCf +FindUpperLimitFromRoot__25CLinearAnimationTimeScaleFRCQ225CLinearAnimationTimeScale20CFunctionDescriptionRCfRCf: +/* 802FD9E0 002FA940 C0 22 C7 1C */ lfs f1, lbl_805AE43C@sda21(r2) +/* 802FD9E4 002FA944 38 00 00 04 */ li r0, 4 +/* 802FD9E8 002FA948 C0 03 00 00 */ lfs f0, 0(r3) +/* 802FD9EC 002FA94C 38 C0 00 00 */ li r6, 0 +/* 802FD9F0 002FA950 C0 A4 00 00 */ lfs f5, 0(r4) +/* 802FD9F4 002FA954 EC E1 00 32 */ fmuls f7, f1, f0 +/* 802FD9F8 002FA958 C1 03 00 04 */ lfs f8, 4(r3) +/* 802FD9FC 002FA95C C0 42 C7 18 */ lfs f2, lbl_805AE438@sda21(r2) +/* 802FDA00 002FA960 FC 20 28 90 */ fmr f1, f5 +/* 802FDA04 002FA964 EC 68 01 72 */ fmuls f3, f8, f5 +/* 802FDA08 002FA968 C8 02 C7 20 */ lfd f0, lbl_805AE440@sda21(r2) +/* 802FDA0C 002FA96C EC 87 01 72 */ fmuls f4, f7, f5 +/* 802FDA10 002FA970 EC C2 01 F2 */ fmuls f6, f2, f7 +/* 802FDA14 002FA974 ED 25 19 3A */ fmadds f9, f5, f4, f3 +/* 802FDA18 002FA978 7C 09 03 A6 */ mtctr r0 +lbl_802FDA1C: +/* 802FDA1C 002FA97C EC A7 00 72 */ fmuls f5, f7, f1 +/* 802FDA20 002FA980 C0 85 00 00 */ lfs f4, 0(r5) +/* 802FDA24 002FA984 EC 68 00 72 */ fmuls f3, f8, f1 +/* 802FDA28 002FA988 EC 46 40 7A */ fmadds f2, f6, f1, f8 +/* 802FDA2C 002FA98C EC 61 19 7A */ fmadds f3, f1, f5, f3 +/* 802FDA30 002FA990 EC 63 48 28 */ fsubs f3, f3, f9 +/* 802FDA34 002FA994 EC 63 20 28 */ fsubs f3, f3, f4 +/* 802FDA38 002FA998 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802FDA3C 002FA99C FC 40 1A 10 */ fabs f2, f3 +/* 802FDA40 002FA9A0 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802FDA44 002FA9A4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802FDA48 002FA9A8 4D 80 00 20 */ bltlr +/* 802FDA4C 002FA9AC EC A7 00 72 */ fmuls f5, f7, f1 +/* 802FDA50 002FA9B0 EC 68 00 72 */ fmuls f3, f8, f1 +/* 802FDA54 002FA9B4 EC 46 40 7A */ fmadds f2, f6, f1, f8 +/* 802FDA58 002FA9B8 EC 61 19 7A */ fmadds f3, f1, f5, f3 +/* 802FDA5C 002FA9BC EC 63 48 28 */ fsubs f3, f3, f9 +/* 802FDA60 002FA9C0 EC 63 20 28 */ fsubs f3, f3, f4 +/* 802FDA64 002FA9C4 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802FDA68 002FA9C8 FC 40 1A 10 */ fabs f2, f3 +/* 802FDA6C 002FA9CC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802FDA70 002FA9D0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802FDA74 002FA9D4 4D 80 00 20 */ bltlr +/* 802FDA78 002FA9D8 EC A7 00 72 */ fmuls f5, f7, f1 +/* 802FDA7C 002FA9DC EC 68 00 72 */ fmuls f3, f8, f1 +/* 802FDA80 002FA9E0 EC 46 40 7A */ fmadds f2, f6, f1, f8 +/* 802FDA84 002FA9E4 EC 61 19 7A */ fmadds f3, f1, f5, f3 +/* 802FDA88 002FA9E8 EC 63 48 28 */ fsubs f3, f3, f9 +/* 802FDA8C 002FA9EC EC 63 20 28 */ fsubs f3, f3, f4 +/* 802FDA90 002FA9F0 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802FDA94 002FA9F4 FC 40 1A 10 */ fabs f2, f3 +/* 802FDA98 002FA9F8 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802FDA9C 002FA9FC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802FDAA0 002FAA00 4D 80 00 20 */ bltlr +/* 802FDAA4 002FAA04 EC A7 00 72 */ fmuls f5, f7, f1 +/* 802FDAA8 002FAA08 EC 68 00 72 */ fmuls f3, f8, f1 +/* 802FDAAC 002FAA0C EC 46 40 7A */ fmadds f2, f6, f1, f8 +/* 802FDAB0 002FAA10 EC 61 19 7A */ fmadds f3, f1, f5, f3 +/* 802FDAB4 002FAA14 EC 63 48 28 */ fsubs f3, f3, f9 +/* 802FDAB8 002FAA18 EC 63 20 28 */ fsubs f3, f3, f4 +/* 802FDABC 002FAA1C EC 63 10 24 */ fdivs f3, f3, f2 +/* 802FDAC0 002FAA20 FC 40 1A 10 */ fabs f2, f3 +/* 802FDAC4 002FAA24 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802FDAC8 002FAA28 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802FDACC 002FAA2C 4D 80 00 20 */ bltlr +/* 802FDAD0 002FAA30 EC A7 00 72 */ fmuls f5, f7, f1 +/* 802FDAD4 002FAA34 EC 68 00 72 */ fmuls f3, f8, f1 +/* 802FDAD8 002FAA38 EC 46 40 7A */ fmadds f2, f6, f1, f8 +/* 802FDADC 002FAA3C EC 61 19 7A */ fmadds f3, f1, f5, f3 +/* 802FDAE0 002FAA40 EC 63 48 28 */ fsubs f3, f3, f9 +/* 802FDAE4 002FAA44 EC 63 20 28 */ fsubs f3, f3, f4 +/* 802FDAE8 002FAA48 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802FDAEC 002FAA4C FC 40 1A 10 */ fabs f2, f3 +/* 802FDAF0 002FAA50 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802FDAF4 002FAA54 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802FDAF8 002FAA58 4D 80 00 20 */ bltlr +/* 802FDAFC 002FAA5C 38 C6 00 04 */ addi r6, r6, 4 +/* 802FDB00 002FAA60 42 00 FF 1C */ bdnz lbl_802FDA1C +/* 802FDB04 002FAA64 C0 22 C7 28 */ lfs f1, lbl_805AE448@sda21(r2) +/* 802FDB08 002FAA68 4E 80 00 20 */ blr + +.global VTimeScaleIntegral__25CLinearAnimationTimeScaleCFRCfRCf +VTimeScaleIntegral__25CLinearAnimationTimeScaleCFRCfRCf: +/* 802FDB0C 002FAA6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FDB10 002FAA70 7C 08 02 A6 */ mflr r0 +/* 802FDB14 002FAA74 7C 86 23 78 */ mr r6, r4 +/* 802FDB18 002FAA78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FDB1C 002FAA7C C0 24 00 00 */ lfs f1, 0(r4) +/* 802FDB20 002FAA80 C0 05 00 00 */ lfs f0, 0(r5) +/* 802FDB24 002FAA84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802FDB28 002FAA88 4C 40 13 82 */ cror 2, 0, 2 +/* 802FDB2C 002FAA8C 40 82 00 10 */ bne lbl_802FDB3C +/* 802FDB30 002FAA90 38 63 00 04 */ addi r3, r3, 4 +/* 802FDB34 002FAA94 48 00 00 2D */ bl TimeScaleIntegralWithSortedLimits__25CLinearAnimationTimeScaleFRCQ225CLinearAnimationTimeScale20CFunctionDescriptionRCfRCf +/* 802FDB38 002FAA98 48 00 00 18 */ b lbl_802FDB50 +lbl_802FDB3C: +/* 802FDB3C 002FAA9C 7C A4 2B 78 */ mr r4, r5 +/* 802FDB40 002FAAA0 7C C5 33 78 */ mr r5, r6 +/* 802FDB44 002FAAA4 38 63 00 04 */ addi r3, r3, 4 +/* 802FDB48 002FAAA8 48 00 00 19 */ bl TimeScaleIntegralWithSortedLimits__25CLinearAnimationTimeScaleFRCQ225CLinearAnimationTimeScale20CFunctionDescriptionRCfRCf +/* 802FDB4C 002FAAAC FC 20 08 50 */ fneg f1, f1 +lbl_802FDB50: +/* 802FDB50 002FAAB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FDB54 002FAAB4 7C 08 03 A6 */ mtlr r0 +/* 802FDB58 002FAAB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FDB5C 002FAABC 4E 80 00 20 */ blr + +.global TimeScaleIntegralWithSortedLimits__25CLinearAnimationTimeScaleFRCQ225CLinearAnimationTimeScale20CFunctionDescriptionRCfRCf +TimeScaleIntegralWithSortedLimits__25CLinearAnimationTimeScaleFRCQ225CLinearAnimationTimeScale20CFunctionDescriptionRCfRCf: +/* 802FDB60 002FAAC0 C0 24 00 00 */ lfs f1, 0(r4) +/* 802FDB64 002FAAC4 C0 A5 00 00 */ lfs f5, 0(r5) +/* 802FDB68 002FAAC8 C0 03 00 00 */ lfs f0, 0(r3) +/* 802FDB6C 002FAACC C0 83 00 04 */ lfs f4, 4(r3) +/* 802FDB70 002FAAD0 EC 65 08 28 */ fsubs f3, f5, f1 +/* 802FDB74 002FAAD4 C0 42 C7 1C */ lfs f2, lbl_805AE43C@sda21(r2) +/* 802FDB78 002FAAD8 EC 20 20 7A */ fmadds f1, f0, f1, f4 +/* 802FDB7C 002FAADC EC 00 21 7A */ fmadds f0, f0, f5, f4 +/* 802FDB80 002FAAE0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802FDB84 002FAAE4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 802FDB88 002FAAE8 EC 23 00 32 */ fmuls f1, f3, f0 +/* 802FDB8C 002FAAEC 4E 80 00 20 */ blr + +.global VGetFunctionMirrored__27CConstantAnimationTimeScaleCFRCf +VGetFunctionMirrored__27CConstantAnimationTimeScaleCFRCf: +/* 802FDB90 002FAAF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FDB94 002FAAF4 7C 08 02 A6 */ mflr r0 +/* 802FDB98 002FAAF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FDB9C 002FAAFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FDBA0 002FAB00 7C 7F 1B 78 */ mr r31, r3 +/* 802FDBA4 002FAB04 4B FF 6B 15 */ bl Clone__26IVaryingAnimationTimeScaleCFv +/* 802FDBA8 002FAB08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FDBAC 002FAB0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FDBB0 002FAB10 7C 08 03 A6 */ mtlr r0 +/* 802FDBB4 002FAB14 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FDBB8 002FAB18 4E 80 00 20 */ blr + +.global VClone__27CConstantAnimationTimeScaleCFv +VClone__27CConstantAnimationTimeScaleCFv: +/* 802FDBBC 002FAB1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FDBC0 002FAB20 7C 08 02 A6 */ mflr r0 +/* 802FDBC4 002FAB24 3C A0 80 3D */ lis r5, lbl_803D6E50@ha +/* 802FDBC8 002FAB28 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FDBCC 002FAB2C 38 05 6E 50 */ addi r0, r5, lbl_803D6E50@l +/* 802FDBD0 002FAB30 38 A0 00 00 */ li r5, 0 +/* 802FDBD4 002FAB34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FDBD8 002FAB38 7C 9F 23 78 */ mr r31, r4 +/* 802FDBDC 002FAB3C 7C 04 03 78 */ mr r4, r0 +/* 802FDBE0 002FAB40 93 C1 00 08 */ stw r30, 8(r1) +/* 802FDBE4 002FAB44 7C 7E 1B 78 */ mr r30, r3 +/* 802FDBE8 002FAB48 38 60 00 08 */ li r3, 8 +/* 802FDBEC 002FAB4C 48 01 7C 81 */ bl __nw__FUlPCcPCc +/* 802FDBF0 002FAB50 28 03 00 00 */ cmplwi r3, 0 +/* 802FDBF4 002FAB54 41 82 00 24 */ beq lbl_802FDC18 +/* 802FDBF8 002FAB58 3C 80 80 3F */ lis r4, lbl_803ECD10@ha +/* 802FDBFC 002FAB5C C0 1F 00 04 */ lfs f0, 4(r31) +/* 802FDC00 002FAB60 38 04 CD 10 */ addi r0, r4, lbl_803ECD10@l +/* 802FDC04 002FAB64 3C 80 80 3F */ lis r4, lbl_803ED4EC@ha +/* 802FDC08 002FAB68 90 03 00 00 */ stw r0, 0(r3) +/* 802FDC0C 002FAB6C 38 04 D4 EC */ addi r0, r4, lbl_803ED4EC@l +/* 802FDC10 002FAB70 90 03 00 00 */ stw r0, 0(r3) +/* 802FDC14 002FAB74 D0 03 00 04 */ stfs f0, 4(r3) +lbl_802FDC18: +/* 802FDC18 002FAB78 7C 03 00 D0 */ neg r0, r3 +/* 802FDC1C 002FAB7C 7C 00 1B 78 */ or r0, r0, r3 +/* 802FDC20 002FAB80 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FDC24 002FAB84 98 1E 00 00 */ stb r0, 0(r30) +/* 802FDC28 002FAB88 90 7E 00 04 */ stw r3, 4(r30) +/* 802FDC2C 002FAB8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FDC30 002FAB90 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FDC34 002FAB94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FDC38 002FAB98 7C 08 03 A6 */ mtlr r0 +/* 802FDC3C 002FAB9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FDC40 002FABA0 4E 80 00 20 */ blr + +.global VFindUpperLimit__27CConstantAnimationTimeScaleCFRCfRCf +VFindUpperLimit__27CConstantAnimationTimeScaleCFRCfRCf: +/* 802FDC44 002FABA4 C0 25 00 00 */ lfs f1, 0(r5) +/* 802FDC48 002FABA8 C0 03 00 04 */ lfs f0, 4(r3) +/* 802FDC4C 002FABAC C0 44 00 00 */ lfs f2, 0(r4) +/* 802FDC50 002FABB0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802FDC54 002FABB4 EC 22 00 2A */ fadds f1, f2, f0 +/* 802FDC58 002FABB8 4E 80 00 20 */ blr + +.global VTimeScaleIntegral__27CConstantAnimationTimeScaleCFRCfRCf +VTimeScaleIntegral__27CConstantAnimationTimeScaleCFRCfRCf: +/* 802FDC5C 002FABBC C0 25 00 00 */ lfs f1, 0(r5) +/* 802FDC60 002FABC0 C0 04 00 00 */ lfs f0, 0(r4) +/* 802FDC64 002FABC4 C0 43 00 04 */ lfs f2, 4(r3) +/* 802FDC68 002FABC8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802FDC6C 002FABCC EC 22 00 32 */ fmuls f1, f2, f0 +/* 802FDC70 002FABD0 4E 80 00 20 */ blr + +.global GetType__27CConstantAnimationTimeScaleCFv +GetType__27CConstantAnimationTimeScaleCFv: +/* 802FDC74 002FABD4 38 60 00 00 */ li r3, 0 +/* 802FDC78 002FABD8 4E 80 00 20 */ blr + +.global IsCAnimTreeNode__11IAnimReaderCFv +IsCAnimTreeNode__11IAnimReaderCFv: +/* 802FDC7C 002FABDC 38 60 00 00 */ li r3, 0 +/* 802FDC80 002FABE0 4E 80 00 20 */ blr + +.global GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +GetSoundPOIList__11IAnimReaderCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802FDC84 002FABE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FDC88 002FABE8 7C 08 02 A6 */ mflr r0 +/* 802FDC8C 002FABEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FDC90 002FABF0 BF 41 00 08 */ stmw r26, 8(r1) +/* 802FDC94 002FABF4 7C 9B 23 78 */ mr r27, r4 +/* 802FDC98 002FABF8 7C 7A 1B 78 */ mr r26, r3 +/* 802FDC9C 002FABFC 7C BC 2B 78 */ mr r28, r5 +/* 802FDCA0 002FAC00 7C DD 33 78 */ mr r29, r6 +/* 802FDCA4 002FAC04 7C FE 3B 78 */ mr r30, r7 +/* 802FDCA8 002FAC08 7D 1F 43 78 */ mr r31, r8 +/* 802FDCAC 002FAC0C 7F 63 DB 78 */ mr r3, r27 +/* 802FDCB0 002FAC10 48 04 A7 3D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802FDCB4 002FAC14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FDCB8 002FAC18 41 82 00 30 */ beq lbl_802FDCE8 +/* 802FDCBC 002FAC1C 7F 43 D3 78 */ mr r3, r26 +/* 802FDCC0 002FAC20 7F 64 DB 78 */ mr r4, r27 +/* 802FDCC4 002FAC24 81 9A 00 00 */ lwz r12, 0(r26) +/* 802FDCC8 002FAC28 7F 85 E3 78 */ mr r5, r28 +/* 802FDCCC 002FAC2C 7F A6 EB 78 */ mr r6, r29 +/* 802FDCD0 002FAC30 7F C7 F3 78 */ mr r7, r30 +/* 802FDCD4 002FAC34 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802FDCD8 002FAC38 7F E8 FB 78 */ mr r8, r31 +/* 802FDCDC 002FAC3C 7D 89 03 A6 */ mtctr r12 +/* 802FDCE0 002FAC40 4E 80 04 21 */ bctrl +/* 802FDCE4 002FAC44 48 00 00 08 */ b lbl_802FDCEC +lbl_802FDCE8: +/* 802FDCE8 002FAC48 38 60 00 00 */ li r3, 0 +lbl_802FDCEC: +/* 802FDCEC 002FAC4C BB 41 00 08 */ lmw r26, 8(r1) +/* 802FDCF0 002FAC50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FDCF4 002FAC54 7C 08 03 A6 */ mtlr r0 +/* 802FDCF8 002FAC58 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FDCFC 002FAC5C 4E 80 00 20 */ blr + +.global GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +GetParticlePOIList__11IAnimReaderCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802FDD00 002FAC60 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FDD04 002FAC64 7C 08 02 A6 */ mflr r0 +/* 802FDD08 002FAC68 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FDD0C 002FAC6C BF 41 00 08 */ stmw r26, 8(r1) +/* 802FDD10 002FAC70 7C 9B 23 78 */ mr r27, r4 +/* 802FDD14 002FAC74 7C 7A 1B 78 */ mr r26, r3 +/* 802FDD18 002FAC78 7C BC 2B 78 */ mr r28, r5 +/* 802FDD1C 002FAC7C 7C DD 33 78 */ mr r29, r6 +/* 802FDD20 002FAC80 7C FE 3B 78 */ mr r30, r7 +/* 802FDD24 002FAC84 7D 1F 43 78 */ mr r31, r8 +/* 802FDD28 002FAC88 7F 63 DB 78 */ mr r3, r27 +/* 802FDD2C 002FAC8C 48 04 A6 C1 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802FDD30 002FAC90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FDD34 002FAC94 41 82 00 30 */ beq lbl_802FDD64 +/* 802FDD38 002FAC98 7F 43 D3 78 */ mr r3, r26 +/* 802FDD3C 002FAC9C 7F 64 DB 78 */ mr r4, r27 +/* 802FDD40 002FACA0 81 9A 00 00 */ lwz r12, 0(r26) +/* 802FDD44 002FACA4 7F 85 E3 78 */ mr r5, r28 +/* 802FDD48 002FACA8 7F A6 EB 78 */ mr r6, r29 +/* 802FDD4C 002FACAC 7F C7 F3 78 */ mr r7, r30 +/* 802FDD50 002FACB0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802FDD54 002FACB4 7F E8 FB 78 */ mr r8, r31 +/* 802FDD58 002FACB8 7D 89 03 A6 */ mtctr r12 +/* 802FDD5C 002FACBC 4E 80 04 21 */ bctrl +/* 802FDD60 002FACC0 48 00 00 08 */ b lbl_802FDD68 +lbl_802FDD64: +/* 802FDD64 002FACC4 38 60 00 00 */ li r3, 0 +lbl_802FDD68: +/* 802FDD68 002FACC8 BB 41 00 08 */ lmw r26, 8(r1) +/* 802FDD6C 002FACCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FDD70 002FACD0 7C 08 03 A6 */ mtlr r0 +/* 802FDD74 002FACD4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FDD78 002FACD8 4E 80 00 20 */ blr + +.global GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii +GetInt32POIList__11IAnimReaderCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802FDD7C 002FACDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FDD80 002FACE0 7C 08 02 A6 */ mflr r0 +/* 802FDD84 002FACE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FDD88 002FACE8 BF 41 00 08 */ stmw r26, 8(r1) +/* 802FDD8C 002FACEC 7C 9B 23 78 */ mr r27, r4 +/* 802FDD90 002FACF0 7C 7A 1B 78 */ mr r26, r3 +/* 802FDD94 002FACF4 7C BC 2B 78 */ mr r28, r5 +/* 802FDD98 002FACF8 7C DD 33 78 */ mr r29, r6 +/* 802FDD9C 002FACFC 7C FE 3B 78 */ mr r30, r7 +/* 802FDDA0 002FAD00 7D 1F 43 78 */ mr r31, r8 +/* 802FDDA4 002FAD04 7F 63 DB 78 */ mr r3, r27 +/* 802FDDA8 002FAD08 48 04 A6 45 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802FDDAC 002FAD0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FDDB0 002FAD10 41 82 00 30 */ beq lbl_802FDDE0 +/* 802FDDB4 002FAD14 7F 43 D3 78 */ mr r3, r26 +/* 802FDDB8 002FAD18 7F 64 DB 78 */ mr r4, r27 +/* 802FDDBC 002FAD1C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802FDDC0 002FAD20 7F 85 E3 78 */ mr r5, r28 +/* 802FDDC4 002FAD24 7F A6 EB 78 */ mr r6, r29 +/* 802FDDC8 002FAD28 7F C7 F3 78 */ mr r7, r30 +/* 802FDDCC 002FAD2C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802FDDD0 002FAD30 7F E8 FB 78 */ mr r8, r31 +/* 802FDDD4 002FAD34 7D 89 03 A6 */ mtctr r12 +/* 802FDDD8 002FAD38 4E 80 04 21 */ bctrl +/* 802FDDDC 002FAD3C 48 00 00 08 */ b lbl_802FDDE4 +lbl_802FDDE0: +/* 802FDDE0 002FAD40 38 60 00 00 */ li r3, 0 +lbl_802FDDE4: +/* 802FDDE4 002FAD44 BB 41 00 08 */ lmw r26, 8(r1) +/* 802FDDE8 002FAD48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FDDEC 002FAD4C 7C 08 03 A6 */ mtlr r0 +/* 802FDDF0 002FAD50 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FDDF4 002FAD54 4E 80 00 20 */ blr + +.global GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +GetBoolPOIList__11IAnimReaderCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802FDDF8 002FAD58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FDDFC 002FAD5C 7C 08 02 A6 */ mflr r0 +/* 802FDE00 002FAD60 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FDE04 002FAD64 BF 41 00 08 */ stmw r26, 8(r1) +/* 802FDE08 002FAD68 7C 9B 23 78 */ mr r27, r4 +/* 802FDE0C 002FAD6C 7C 7A 1B 78 */ mr r26, r3 +/* 802FDE10 002FAD70 7C BC 2B 78 */ mr r28, r5 +/* 802FDE14 002FAD74 7C DD 33 78 */ mr r29, r6 +/* 802FDE18 002FAD78 7C FE 3B 78 */ mr r30, r7 +/* 802FDE1C 002FAD7C 7D 1F 43 78 */ mr r31, r8 +/* 802FDE20 002FAD80 7F 63 DB 78 */ mr r3, r27 +/* 802FDE24 002FAD84 48 04 A5 C9 */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802FDE28 002FAD88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FDE2C 002FAD8C 41 82 00 30 */ beq lbl_802FDE5C +/* 802FDE30 002FAD90 7F 43 D3 78 */ mr r3, r26 +/* 802FDE34 002FAD94 7F 64 DB 78 */ mr r4, r27 +/* 802FDE38 002FAD98 81 9A 00 00 */ lwz r12, 0(r26) +/* 802FDE3C 002FAD9C 7F 85 E3 78 */ mr r5, r28 +/* 802FDE40 002FADA0 7F A6 EB 78 */ mr r6, r29 +/* 802FDE44 002FADA4 7F C7 F3 78 */ mr r7, r30 +/* 802FDE48 002FADA8 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802FDE4C 002FADAC 7F E8 FB 78 */ mr r8, r31 +/* 802FDE50 002FADB0 7D 89 03 A6 */ mtctr r12 +/* 802FDE54 002FADB4 4E 80 04 21 */ bctrl +/* 802FDE58 002FADB8 48 00 00 08 */ b lbl_802FDE60 +lbl_802FDE5C: +/* 802FDE5C 002FADBC 38 60 00 00 */ li r3, 0 +lbl_802FDE60: +/* 802FDE60 002FADC0 BB 41 00 08 */ lmw r26, 8(r1) +/* 802FDE64 002FADC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FDE68 002FADC8 7C 08 03 A6 */ mtlr r0 +/* 802FDE6C 002FADCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FDE70 002FADD0 4E 80 00 20 */ blr + +.global VGetAdvancementResults__11IAnimReaderCFRC13CCharAnimTimeRC13CCharAnimTime +VGetAdvancementResults__11IAnimReaderCFRC13CCharAnimTimeRC13CCharAnimTime: +/* 802FDE74 002FADD4 C0 05 00 00 */ lfs f0, 0(r5) +/* 802FDE78 002FADD8 3C C0 80 5A */ lis r6, skZero3f@ha +/* 802FDE7C 002FADDC 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 802FDE80 002FADE0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802FDE84 002FADE4 80 05 00 04 */ lwz r0, 4(r5) +/* 802FDE88 002FADE8 90 03 00 04 */ stw r0, 4(r3) +/* 802FDE8C 002FADEC C4 06 66 A0 */ lfsu f0, skZero3f@l(r6) +/* 802FDE90 002FADF0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802FDE94 002FADF4 C0 06 00 04 */ lfs f0, 4(r6) +/* 802FDE98 002FADF8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802FDE9C 002FADFC C0 06 00 08 */ lfs f0, 8(r6) +/* 802FDEA0 002FAE00 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802FDEA4 002FAE04 C4 04 66 60 */ lfsu f0, lbl_805A6660@l(r4) +/* 802FDEA8 002FAE08 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802FDEAC 002FAE0C C0 04 00 04 */ lfs f0, 4(r4) +/* 802FDEB0 002FAE10 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802FDEB4 002FAE14 C0 04 00 08 */ lfs f0, 8(r4) +/* 802FDEB8 002FAE18 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802FDEBC 002FAE1C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802FDEC0 002FAE20 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802FDEC4 002FAE24 4E 80 00 20 */ blr + +.global VSimplified__11IAnimReaderFv +VSimplified__11IAnimReaderFv: +/* 802FDEC8 002FAE28 38 00 00 00 */ li r0, 0 +/* 802FDECC 002FAE2C 98 03 00 08 */ stb r0, 8(r3) +/* 802FDED0 002FAE30 4E 80 00 20 */ blr + +.global __dt__11IAnimReaderFv +__dt__11IAnimReaderFv: +/* 802FDED4 002FAE34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FDED8 002FAE38 7C 08 02 A6 */ mflr r0 +/* 802FDEDC 002FAE3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FDEE0 002FAE40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FDEE4 002FAE44 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FDEE8 002FAE48 41 82 00 1C */ beq lbl_802FDF04 +/* 802FDEEC 002FAE4C 3C A0 80 3F */ lis r5, lbl_803ED508@ha +/* 802FDEF0 002FAE50 7C 80 07 35 */ extsh. r0, r4 +/* 802FDEF4 002FAE54 38 05 D5 08 */ addi r0, r5, lbl_803ED508@l +/* 802FDEF8 002FAE58 90 1F 00 00 */ stw r0, 0(r31) +/* 802FDEFC 002FAE5C 40 81 00 08 */ ble lbl_802FDF04 +/* 802FDF00 002FAE60 48 01 7A 31 */ bl Free__7CMemoryFPCv +lbl_802FDF04: +/* 802FDF04 002FAE64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FDF08 002FAE68 7F E3 FB 78 */ mr r3, r31 +/* 802FDF0C 002FAE6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FDF10 002FAE70 7C 08 03 A6 */ mtlr r0 +/* 802FDF14 002FAE74 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FDF18 002FAE78 4E 80 00 20 */ blr + +.global __dt__21CAllFormatsAnimSourceFv +__dt__21CAllFormatsAnimSourceFv: +/* 802FDF1C 002FAE7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FDF20 002FAE80 7C 08 02 A6 */ mflr r0 +/* 802FDF24 002FAE84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FDF28 002FAE88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FDF2C 002FAE8C 7C 9F 23 78 */ mr r31, r4 +/* 802FDF30 002FAE90 93 C1 00 08 */ stw r30, 8(r1) +/* 802FDF34 002FAE94 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FDF38 002FAE98 41 82 00 1C */ beq lbl_802FDF54 +/* 802FDF3C 002FAE9C 38 80 FF FF */ li r4, -1 +/* 802FDF40 002FAEA0 48 00 05 A1 */ bl __dt__16CAnimFormatUnionFv +/* 802FDF44 002FAEA4 7F E0 07 35 */ extsh. r0, r31 +/* 802FDF48 002FAEA8 40 81 00 0C */ ble lbl_802FDF54 +/* 802FDF4C 002FAEAC 7F C3 F3 78 */ mr r3, r30 +/* 802FDF50 002FAEB0 48 01 79 E1 */ bl Free__7CMemoryFPCv +lbl_802FDF54: +/* 802FDF54 002FAEB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FDF58 002FAEB8 7F C3 F3 78 */ mr r3, r30 +/* 802FDF5C 002FAEBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FDF60 002FAEC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FDF64 002FAEC4 7C 08 03 A6 */ mtlr r0 +/* 802FDF68 002FAEC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FDF6C 002FAECC 4E 80 00 20 */ blr + +.global "GetNewReader__21CAllFormatsAnimSourceFRC37TLockedToken<21CAllFormatsAnimSource>RC13CCharAnimTime" +"GetNewReader__21CAllFormatsAnimSourceFRC37TLockedToken<21CAllFormatsAnimSource>RC13CCharAnimTime": +/* 802FDF70 002FAED0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802FDF74 002FAED4 7C 08 02 A6 */ mflr r0 +/* 802FDF78 002FAED8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802FDF7C 002FAEDC BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 802FDF80 002FAEE0 7C 7E 1B 78 */ mr r30, r3 +/* 802FDF84 002FAEE4 7C 9C 23 78 */ mr r28, r4 +/* 802FDF88 002FAEE8 7C BF 2B 78 */ mr r31, r5 +/* 802FDF8C 002FAEEC 80 64 00 08 */ lwz r3, 8(r4) +/* 802FDF90 002FAEF0 80 03 00 00 */ lwz r0, 0(r3) +/* 802FDF94 002FAEF4 2C 00 00 01 */ cmpwi r0, 1 +/* 802FDF98 002FAEF8 41 82 01 50 */ beq lbl_802FE0E8 +/* 802FDF9C 002FAEFC 40 80 00 10 */ bge lbl_802FDFAC +/* 802FDFA0 002FAF00 2C 00 00 00 */ cmpwi r0, 0 +/* 802FDFA4 002FAF04 40 80 00 14 */ bge lbl_802FDFB8 +/* 802FDFA8 002FAF08 48 00 01 40 */ b lbl_802FE0E8 +lbl_802FDFAC: +/* 802FDFAC 002FAF0C 2C 00 00 03 */ cmpwi r0, 3 +/* 802FDFB0 002FAF10 40 80 01 38 */ bge lbl_802FE0E8 +/* 802FDFB4 002FAF14 48 00 00 94 */ b lbl_802FE048 +lbl_802FDFB8: +/* 802FDFB8 002FAF18 3C 60 80 3D */ lis r3, lbl_803D6E58@ha +/* 802FDFBC 002FAF1C 3B 60 00 00 */ li r27, 0 +/* 802FDFC0 002FAF20 38 83 6E 58 */ addi r4, r3, lbl_803D6E58@l +/* 802FDFC4 002FAF24 38 A0 00 00 */ li r5, 0 +/* 802FDFC8 002FAF28 38 60 00 7C */ li r3, 0x7c +/* 802FDFCC 002FAF2C 48 01 78 A1 */ bl __nw__FUlPCcPCc +/* 802FDFD0 002FAF30 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802FDFD4 002FAF34 41 82 00 48 */ beq lbl_802FE01C +/* 802FDFD8 002FAF38 3B 61 00 38 */ addi r27, r1, 0x38 +/* 802FDFDC 002FAF3C 7F 84 E3 78 */ mr r4, r28 +/* 802FDFE0 002FAF40 7F 63 DB 78 */ mr r3, r27 +/* 802FDFE4 002FAF44 48 04 2E C5 */ bl __ct__6CTokenFRC6CToken +/* 802FDFE8 002FAF48 80 1C 00 08 */ lwz r0, 8(r28) +/* 802FDFEC 002FAF4C 7F 63 DB 78 */ mr r3, r27 +/* 802FDFF0 002FAF50 90 01 00 40 */ stw r0, 0x40(r1) +/* 802FDFF4 002FAF54 48 04 2D 91 */ bl Lock__6CTokenFv +/* 802FDFF8 002FAF58 80 C1 00 40 */ lwz r6, 0x40(r1) +/* 802FDFFC 002FAF5C 7F 64 DB 78 */ mr r4, r27 +/* 802FE000 002FAF60 7F A3 EB 78 */ mr r3, r29 +/* 802FE004 002FAF64 7F E5 FB 78 */ mr r5, r31 +/* 802FE008 002FAF68 38 06 00 04 */ addi r0, r6, 4 +/* 802FE00C 002FAF6C 3B 60 00 01 */ li r27, 1 +/* 802FE010 002FAF70 90 01 00 44 */ stw r0, 0x44(r1) +/* 802FE014 002FAF74 4B FF 15 7D */ bl "__ct__17CAnimSourceReaderFRC32TSubAnimTypeToken<11CAnimSource>RC13CCharAnimTime" +/* 802FE018 002FAF78 7C 7D 1B 78 */ mr r29, r3 +lbl_802FE01C: +/* 802FE01C 002FAF7C 7C 7D 00 D0 */ neg r3, r29 +/* 802FE020 002FAF80 7F 60 07 75 */ extsb. r0, r27 +/* 802FE024 002FAF84 7C 60 EB 78 */ or r0, r3, r29 +/* 802FE028 002FAF88 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FE02C 002FAF8C 98 1E 00 00 */ stb r0, 0(r30) +/* 802FE030 002FAF90 93 BE 00 04 */ stw r29, 4(r30) +/* 802FE034 002FAF94 41 82 01 50 */ beq lbl_802FE184 +/* 802FE038 002FAF98 38 61 00 38 */ addi r3, r1, 0x38 +/* 802FE03C 002FAF9C 38 80 00 00 */ li r4, 0 +/* 802FE040 002FAFA0 48 04 2E 01 */ bl __dt__6CTokenFv +/* 802FE044 002FAFA4 48 00 01 40 */ b lbl_802FE184 +lbl_802FE048: +/* 802FE048 002FAFA8 3C 60 80 3D */ lis r3, lbl_803D6E58@ha +/* 802FE04C 002FAFAC 3B 60 00 00 */ li r27, 0 +/* 802FE050 002FAFB0 38 83 6E 58 */ addi r4, r3, lbl_803D6E58@l +/* 802FE054 002FAFB4 38 A0 00 00 */ li r5, 0 +/* 802FE058 002FAFB8 38 60 02 A4 */ li r3, 0x2a4 +/* 802FE05C 002FAFBC 48 01 78 11 */ bl __nw__FUlPCcPCc +/* 802FE060 002FAFC0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802FE064 002FAFC4 41 82 00 58 */ beq lbl_802FE0BC +/* 802FE068 002FAFC8 3B 61 00 28 */ addi r27, r1, 0x28 +/* 802FE06C 002FAFCC 7F 84 E3 78 */ mr r4, r28 +/* 802FE070 002FAFD0 7F 63 DB 78 */ mr r3, r27 +/* 802FE074 002FAFD4 48 04 2E 35 */ bl __ct__6CTokenFRC6CToken +/* 802FE078 002FAFD8 80 1C 00 08 */ lwz r0, 8(r28) +/* 802FE07C 002FAFDC 7F 63 DB 78 */ mr r3, r27 +/* 802FE080 002FAFE0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802FE084 002FAFE4 48 04 2D 01 */ bl Lock__6CTokenFv +/* 802FE088 002FAFE8 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 802FE08C 002FAFEC 7F 64 DB 78 */ mr r4, r27 +/* 802FE090 002FAFF0 80 DF 00 00 */ lwz r6, 0(r31) +/* 802FE094 002FAFF4 7F A3 EB 78 */ mr r3, r29 +/* 802FE098 002FAFF8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FE09C 002FAFFC 38 A5 00 04 */ addi r5, r5, 4 +/* 802FE0A0 002FB000 90 A1 00 34 */ stw r5, 0x34(r1) +/* 802FE0A4 002FB004 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802FE0A8 002FB008 3B 60 00 01 */ li r27, 1 +/* 802FE0AC 002FB00C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802FE0B0 002FB010 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE0B4 002FB014 4B FF C1 F5 */ bl "__ct__21CFBStreamedAnimReaderFRC43TSubAnimTypeToken<22CFBStreamedCompression>13CCharAnimTime" +/* 802FE0B8 002FB018 7C 7D 1B 78 */ mr r29, r3 +lbl_802FE0BC: +/* 802FE0BC 002FB01C 7C 7D 00 D0 */ neg r3, r29 +/* 802FE0C0 002FB020 7F 60 07 75 */ extsb. r0, r27 +/* 802FE0C4 002FB024 7C 60 EB 78 */ or r0, r3, r29 +/* 802FE0C8 002FB028 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FE0CC 002FB02C 98 1E 00 00 */ stb r0, 0(r30) +/* 802FE0D0 002FB030 93 BE 00 04 */ stw r29, 4(r30) +/* 802FE0D4 002FB034 41 82 00 B0 */ beq lbl_802FE184 +/* 802FE0D8 002FB038 38 61 00 28 */ addi r3, r1, 0x28 +/* 802FE0DC 002FB03C 38 80 00 00 */ li r4, 0 +/* 802FE0E0 002FB040 48 04 2D 61 */ bl __dt__6CTokenFv +/* 802FE0E4 002FB044 48 00 00 A0 */ b lbl_802FE184 +lbl_802FE0E8: +/* 802FE0E8 002FB048 3C 60 80 3D */ lis r3, lbl_803D6E58@ha +/* 802FE0EC 002FB04C 3B 60 00 00 */ li r27, 0 +/* 802FE0F0 002FB050 38 83 6E 58 */ addi r4, r3, lbl_803D6E58@l +/* 802FE0F4 002FB054 38 A0 00 00 */ li r5, 0 +/* 802FE0F8 002FB058 38 60 02 A4 */ li r3, 0x2a4 +/* 802FE0FC 002FB05C 48 01 77 71 */ bl __nw__FUlPCcPCc +/* 802FE100 002FB060 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802FE104 002FB064 41 82 00 58 */ beq lbl_802FE15C +/* 802FE108 002FB068 3B 61 00 18 */ addi r27, r1, 0x18 +/* 802FE10C 002FB06C 7F 84 E3 78 */ mr r4, r28 +/* 802FE110 002FB070 7F 63 DB 78 */ mr r3, r27 +/* 802FE114 002FB074 48 04 2D 95 */ bl __ct__6CTokenFRC6CToken +/* 802FE118 002FB078 80 1C 00 08 */ lwz r0, 8(r28) +/* 802FE11C 002FB07C 7F 63 DB 78 */ mr r3, r27 +/* 802FE120 002FB080 90 01 00 20 */ stw r0, 0x20(r1) +/* 802FE124 002FB084 48 04 2C 61 */ bl Lock__6CTokenFv +/* 802FE128 002FB088 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802FE12C 002FB08C 7F 64 DB 78 */ mr r4, r27 +/* 802FE130 002FB090 80 DF 00 00 */ lwz r6, 0(r31) +/* 802FE134 002FB094 7F A3 EB 78 */ mr r3, r29 +/* 802FE138 002FB098 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FE13C 002FB09C 38 A5 00 04 */ addi r5, r5, 4 +/* 802FE140 002FB0A0 90 A1 00 24 */ stw r5, 0x24(r1) +/* 802FE144 002FB0A4 38 A1 00 08 */ addi r5, r1, 8 +/* 802FE148 002FB0A8 3B 60 00 01 */ li r27, 1 +/* 802FE14C 002FB0AC 90 C1 00 08 */ stw r6, 8(r1) +/* 802FE150 002FB0B0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802FE154 002FB0B4 4B FF C1 55 */ bl "__ct__21CFBStreamedAnimReaderFRC43TSubAnimTypeToken<22CFBStreamedCompression>13CCharAnimTime" +/* 802FE158 002FB0B8 7C 7D 1B 78 */ mr r29, r3 +lbl_802FE15C: +/* 802FE15C 002FB0BC 7C 7D 00 D0 */ neg r3, r29 +/* 802FE160 002FB0C0 7F 60 07 75 */ extsb. r0, r27 +/* 802FE164 002FB0C4 7C 60 EB 78 */ or r0, r3, r29 +/* 802FE168 002FB0C8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FE16C 002FB0CC 98 1E 00 00 */ stb r0, 0(r30) +/* 802FE170 002FB0D0 93 BE 00 04 */ stw r29, 4(r30) +/* 802FE174 002FB0D4 41 82 00 10 */ beq lbl_802FE184 +/* 802FE178 002FB0D8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802FE17C 002FB0DC 38 80 00 00 */ li r4, 0 +/* 802FE180 002FB0E0 48 04 2C C1 */ bl __dt__6CTokenFv +lbl_802FE184: +/* 802FE184 002FB0E4 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 802FE188 002FB0E8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802FE18C 002FB0EC 7C 08 03 A6 */ mtlr r0 +/* 802FE190 002FB0F0 38 21 00 60 */ addi r1, r1, 0x60 +/* 802FE194 002FB0F4 4E 80 00 20 */ blr + +.global AnimSourceFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +AnimSourceFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802FE198 002FB0F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802FE19C 002FB0FC 7C 08 02 A6 */ mflr r0 +/* 802FE1A0 002FB100 90 01 00 34 */ stw r0, 0x34(r1) +/* 802FE1A4 002FB104 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802FE1A8 002FB108 7C 7F 1B 78 */ mr r31, r3 +/* 802FE1AC 002FB10C 38 60 00 7C */ li r3, 0x7c +/* 802FE1B0 002FB110 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802FE1B4 002FB114 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802FE1B8 002FB118 7C BD 2B 78 */ mr r29, r5 +/* 802FE1BC 002FB11C 38 A0 00 00 */ li r5, 0 +/* 802FE1C0 002FB120 93 81 00 20 */ stw r28, 0x20(r1) +/* 802FE1C4 002FB124 7C 9C 23 78 */ mr r28, r4 +/* 802FE1C8 002FB128 80 E6 00 00 */ lwz r7, 0(r6) +/* 802FE1CC 002FB12C 3C C0 80 3D */ lis r6, lbl_803D6E58@ha +/* 802FE1D0 002FB130 38 06 6E 58 */ addi r0, r6, lbl_803D6E58@l +/* 802FE1D4 002FB134 90 E1 00 08 */ stw r7, 8(r1) +/* 802FE1D8 002FB138 7C 04 03 78 */ mr r4, r0 +/* 802FE1DC 002FB13C 80 C7 00 04 */ lwz r6, 4(r7) +/* 802FE1E0 002FB140 38 06 00 01 */ addi r0, r6, 1 +/* 802FE1E4 002FB144 90 07 00 04 */ stw r0, 4(r7) +/* 802FE1E8 002FB148 80 C1 00 08 */ lwz r6, 8(r1) +/* 802FE1EC 002FB14C 80 C6 00 00 */ lwz r6, 0(r6) +/* 802FE1F0 002FB150 83 C6 00 04 */ lwz r30, 4(r6) +/* 802FE1F4 002FB154 48 01 76 79 */ bl __nw__FUlPCcPCc +/* 802FE1F8 002FB158 7C 64 1B 79 */ or. r4, r3, r3 +/* 802FE1FC 002FB15C 41 82 00 18 */ beq lbl_802FE214 +/* 802FE200 002FB160 7F A4 EB 78 */ mr r4, r29 +/* 802FE204 002FB164 7F C5 F3 78 */ mr r5, r30 +/* 802FE208 002FB168 7F 86 E3 78 */ mr r6, r28 +/* 802FE20C 002FB16C 48 00 02 0D */ bl __ct__21CAllFormatsAnimSourceFR12CInputStreamR12IObjectStoreRC10SObjectTag +/* 802FE210 002FB170 7C 64 1B 78 */ mr r4, r3 +lbl_802FE214: +/* 802FE214 002FB174 7C 04 00 D0 */ neg r0, r4 +/* 802FE218 002FB178 90 81 00 10 */ stw r4, 0x10(r1) +/* 802FE21C 002FB17C 7C 00 23 78 */ or r0, r0, r4 +/* 802FE220 002FB180 38 61 00 14 */ addi r3, r1, 0x14 +/* 802FE224 002FB184 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FE228 002FB188 38 81 00 0C */ addi r4, r1, 0xc +/* 802FE22C 002FB18C 98 01 00 0C */ stb r0, 0xc(r1) +/* 802FE230 002FB190 48 00 01 21 */ bl "GetIObjObjectFor__31TToken<21CAllFormatsAnimSource>FRCQ24rstl33auto_ptr<21CAllFormatsAnimSource>" +/* 802FE234 002FB194 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802FE238 002FB198 38 00 00 00 */ li r0, 0 +/* 802FE23C 002FB19C 98 01 00 14 */ stb r0, 0x14(r1) +/* 802FE240 002FB1A0 7C 03 00 D0 */ neg r0, r3 +/* 802FE244 002FB1A4 7C 00 1B 78 */ or r0, r0, r3 +/* 802FE248 002FB1A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FE24C 002FB1AC 98 1F 00 00 */ stb r0, 0(r31) +/* 802FE250 002FB1B0 90 7F 00 04 */ stw r3, 4(r31) +/* 802FE254 002FB1B4 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802FE258 002FB1B8 28 00 00 00 */ cmplwi r0, 0 +/* 802FE25C 002FB1BC 41 82 00 24 */ beq lbl_802FE280 +/* 802FE260 002FB1C0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802FE264 002FB1C4 28 03 00 00 */ cmplwi r3, 0 +/* 802FE268 002FB1C8 41 82 00 18 */ beq lbl_802FE280 +/* 802FE26C 002FB1CC 81 83 00 00 */ lwz r12, 0(r3) +/* 802FE270 002FB1D0 38 80 00 01 */ li r4, 1 +/* 802FE274 002FB1D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802FE278 002FB1D8 7D 89 03 A6 */ mtctr r12 +/* 802FE27C 002FB1DC 4E 80 04 21 */ bctrl +lbl_802FE280: +/* 802FE280 002FB1E0 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802FE284 002FB1E4 28 00 00 00 */ cmplwi r0, 0 +/* 802FE288 002FB1E8 41 82 00 10 */ beq lbl_802FE298 +/* 802FE28C 002FB1EC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802FE290 002FB1F0 38 80 00 01 */ li r4, 1 +/* 802FE294 002FB1F4 4B FF FC 89 */ bl __dt__21CAllFormatsAnimSourceFv +lbl_802FE298: +/* 802FE298 002FB1F8 38 61 00 08 */ addi r3, r1, 8 +/* 802FE29C 002FB1FC 4B D3 60 69 */ bl sub_80034304 +/* 802FE2A0 002FB200 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802FE2A4 002FB204 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802FE2A8 002FB208 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802FE2AC 002FB20C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802FE2B0 002FB210 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802FE2B4 002FB214 7C 08 03 A6 */ mtlr r0 +/* 802FE2B8 002FB218 38 21 00 30 */ addi r1, r1, 0x30 +/* 802FE2BC 002FB21C 4E 80 00 20 */ blr + +.global "__dt__49TObjOwnerDerivedFromIObj<21CAllFormatsAnimSource>Fv" +"__dt__49TObjOwnerDerivedFromIObj<21CAllFormatsAnimSource>Fv": +/* 802FE2C0 002FB220 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE2C4 002FB224 7C 08 02 A6 */ mflr r0 +/* 802FE2C8 002FB228 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE2CC 002FB22C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE2D0 002FB230 7C 9F 23 78 */ mr r31, r4 +/* 802FE2D4 002FB234 93 C1 00 08 */ stw r30, 8(r1) +/* 802FE2D8 002FB238 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FE2DC 002FB23C 41 82 00 58 */ beq lbl_802FE334 +/* 802FE2E0 002FB240 3C 60 80 3F */ lis r3, lbl_803ED568@ha +/* 802FE2E4 002FB244 38 03 D5 68 */ addi r0, r3, lbl_803ED568@l +/* 802FE2E8 002FB248 90 1E 00 00 */ stw r0, 0(r30) +/* 802FE2EC 002FB24C 80 7E 00 04 */ lwz r3, 4(r30) +/* 802FE2F0 002FB250 28 03 00 00 */ cmplwi r3, 0 +/* 802FE2F4 002FB254 41 82 00 0C */ beq lbl_802FE300 +/* 802FE2F8 002FB258 38 80 00 01 */ li r4, 1 +/* 802FE2FC 002FB25C 4B FF FC 21 */ bl __dt__21CAllFormatsAnimSourceFv +lbl_802FE300: +/* 802FE300 002FB260 28 1E 00 00 */ cmplwi r30, 0 +/* 802FE304 002FB264 41 82 00 20 */ beq lbl_802FE324 +/* 802FE308 002FB268 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802FE30C 002FB26C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802FE310 002FB270 90 1E 00 00 */ stw r0, 0(r30) +/* 802FE314 002FB274 41 82 00 10 */ beq lbl_802FE324 +/* 802FE318 002FB278 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802FE31C 002FB27C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802FE320 002FB280 90 1E 00 00 */ stw r0, 0(r30) +lbl_802FE324: +/* 802FE324 002FB284 7F E0 07 35 */ extsh. r0, r31 +/* 802FE328 002FB288 40 81 00 0C */ ble lbl_802FE334 +/* 802FE32C 002FB28C 7F C3 F3 78 */ mr r3, r30 +/* 802FE330 002FB290 48 01 76 01 */ bl Free__7CMemoryFPCv +lbl_802FE334: +/* 802FE334 002FB294 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE338 002FB298 7F C3 F3 78 */ mr r3, r30 +/* 802FE33C 002FB29C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE340 002FB2A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FE344 002FB2A4 7C 08 03 A6 */ mtlr r0 +/* 802FE348 002FB2A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE34C 002FB2AC 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__31TToken<21CAllFormatsAnimSource>FRCQ24rstl33auto_ptr<21CAllFormatsAnimSource>" +"GetIObjObjectFor__31TToken<21CAllFormatsAnimSource>FRCQ24rstl33auto_ptr<21CAllFormatsAnimSource>": +/* 802FE350 002FB2B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE354 002FB2B4 7C 08 02 A6 */ mflr r0 +/* 802FE358 002FB2B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE35C 002FB2BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE360 002FB2C0 7C 7F 1B 78 */ mr r31, r3 +/* 802FE364 002FB2C4 48 00 00 19 */ bl "GetNewDerivedObject__49TObjOwnerDerivedFromIObj<21CAllFormatsAnimSource>FRCQ24rstl33auto_ptr<21CAllFormatsAnimSource>" +/* 802FE368 002FB2C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE36C 002FB2CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE370 002FB2D0 7C 08 03 A6 */ mtlr r0 +/* 802FE374 002FB2D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE378 002FB2D8 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__49TObjOwnerDerivedFromIObj<21CAllFormatsAnimSource>FRCQ24rstl33auto_ptr<21CAllFormatsAnimSource>" +"GetNewDerivedObject__49TObjOwnerDerivedFromIObj<21CAllFormatsAnimSource>FRCQ24rstl33auto_ptr<21CAllFormatsAnimSource>": +/* 802FE37C 002FB2DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE380 002FB2E0 7C 08 02 A6 */ mflr r0 +/* 802FE384 002FB2E4 3C A0 80 3D */ lis r5, lbl_803D6E58@ha +/* 802FE388 002FB2E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE38C 002FB2EC 38 05 6E 58 */ addi r0, r5, lbl_803D6E58@l +/* 802FE390 002FB2F0 38 A0 00 00 */ li r5, 0 +/* 802FE394 002FB2F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE398 002FB2F8 7C 9F 23 78 */ mr r31, r4 +/* 802FE39C 002FB2FC 7C 04 03 78 */ mr r4, r0 +/* 802FE3A0 002FB300 93 C1 00 08 */ stw r30, 8(r1) +/* 802FE3A4 002FB304 7C 7E 1B 78 */ mr r30, r3 +/* 802FE3A8 002FB308 38 60 00 08 */ li r3, 8 +/* 802FE3AC 002FB30C 48 01 74 C1 */ bl __nw__FUlPCcPCc +/* 802FE3B0 002FB310 28 03 00 00 */ cmplwi r3, 0 +/* 802FE3B4 002FB314 41 82 00 38 */ beq lbl_802FE3EC +/* 802FE3B8 002FB318 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802FE3BC 002FB31C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802FE3C0 002FB320 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802FE3C4 002FB324 3C 80 80 3F */ lis r4, lbl_803ED568@ha +/* 802FE3C8 002FB328 90 03 00 00 */ stw r0, 0(r3) +/* 802FE3CC 002FB32C 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802FE3D0 002FB330 38 A0 00 00 */ li r5, 0 +/* 802FE3D4 002FB334 38 04 D5 68 */ addi r0, r4, lbl_803ED568@l +/* 802FE3D8 002FB338 90 C3 00 00 */ stw r6, 0(r3) +/* 802FE3DC 002FB33C 98 BF 00 00 */ stb r5, 0(r31) +/* 802FE3E0 002FB340 80 9F 00 04 */ lwz r4, 4(r31) +/* 802FE3E4 002FB344 90 83 00 04 */ stw r4, 4(r3) +/* 802FE3E8 002FB348 90 03 00 00 */ stw r0, 0(r3) +lbl_802FE3EC: +/* 802FE3EC 002FB34C 7C 03 00 D0 */ neg r0, r3 +/* 802FE3F0 002FB350 7C 00 1B 78 */ or r0, r0, r3 +/* 802FE3F4 002FB354 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802FE3F8 002FB358 98 1E 00 00 */ stb r0, 0(r30) +/* 802FE3FC 002FB35C 90 7E 00 04 */ stw r3, 4(r30) +/* 802FE400 002FB360 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE404 002FB364 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FE408 002FB368 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE40C 002FB36C 7C 08 03 A6 */ mtlr r0 +/* 802FE410 002FB370 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE414 002FB374 4E 80 00 20 */ blr + +.global __ct__21CAllFormatsAnimSourceFR12CInputStreamR12IObjectStoreRC10SObjectTag +__ct__21CAllFormatsAnimSourceFR12CInputStreamR12IObjectStoreRC10SObjectTag: +/* 802FE418 002FB378 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE41C 002FB37C 7C 08 02 A6 */ mflr r0 +/* 802FE420 002FB380 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE424 002FB384 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE428 002FB388 7C DF 33 78 */ mr r31, r6 +/* 802FE42C 002FB38C 93 C1 00 08 */ stw r30, 8(r1) +/* 802FE430 002FB390 7C 7E 1B 78 */ mr r30, r3 +/* 802FE434 002FB394 48 00 01 3D */ bl __ct__16CAnimFormatUnionFR12CInputStreamR12IObjectStore +/* 802FE438 002FB398 C0 02 C7 30 */ lfs f0, lbl_805AE450@sda21(r2) +/* 802FE43C 002FB39C 7F C3 F3 78 */ mr r3, r30 +/* 802FE440 002FB3A0 D0 1E 00 68 */ stfs f0, 0x68(r30) +/* 802FE444 002FB3A4 D0 1E 00 6C */ stfs f0, 0x6c(r30) +/* 802FE448 002FB3A8 D0 1E 00 70 */ stfs f0, 0x70(r30) +/* 802FE44C 002FB3AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 802FE450 002FB3B0 90 1E 00 74 */ stw r0, 0x74(r30) +/* 802FE454 002FB3B4 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FE458 002FB3B8 90 1E 00 78 */ stw r0, 0x78(r30) +/* 802FE45C 002FB3BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE460 002FB3C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FE464 002FB3C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE468 002FB3C8 7C 08 03 A6 */ mtlr r0 +/* 802FE46C 002FB3CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE470 002FB3D0 4E 80 00 20 */ blr + +.global SubConstruct__16CAnimFormatUnionFPUcUiR12CInputStreamR12IObjectStore +SubConstruct__16CAnimFormatUnionFPUcUiR12CInputStreamR12IObjectStore: +/* 802FE474 002FB3D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE478 002FB3D8 7C 08 02 A6 */ mflr r0 +/* 802FE47C 002FB3DC 2C 04 00 01 */ cmpwi r4, 1 +/* 802FE480 002FB3E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE484 002FB3E4 41 82 00 4C */ beq lbl_802FE4D0 +/* 802FE488 002FB3E8 40 80 00 10 */ bge lbl_802FE498 +/* 802FE48C 002FB3EC 2C 04 00 00 */ cmpwi r4, 0 +/* 802FE490 002FB3F0 40 80 00 14 */ bge lbl_802FE4A4 +/* 802FE494 002FB3F4 48 00 00 3C */ b lbl_802FE4D0 +lbl_802FE498: +/* 802FE498 002FB3F8 2C 04 00 03 */ cmpwi r4, 3 +/* 802FE49C 002FB3FC 40 80 00 34 */ bge lbl_802FE4D0 +/* 802FE4A0 002FB400 48 00 00 1C */ b lbl_802FE4BC +lbl_802FE4A4: +/* 802FE4A4 002FB404 28 03 00 00 */ cmplwi r3, 0 +/* 802FE4A8 002FB408 41 82 00 28 */ beq lbl_802FE4D0 +/* 802FE4AC 002FB40C 7C A4 2B 78 */ mr r4, r5 +/* 802FE4B0 002FB410 7C C5 33 78 */ mr r5, r6 +/* 802FE4B4 002FB414 4B FE ED 1D */ bl __ct__11CAnimSourceFR12CInputStreamR12IObjectStore +/* 802FE4B8 002FB418 48 00 00 18 */ b lbl_802FE4D0 +lbl_802FE4BC: +/* 802FE4BC 002FB41C 28 03 00 00 */ cmplwi r3, 0 +/* 802FE4C0 002FB420 41 82 00 10 */ beq lbl_802FE4D0 +/* 802FE4C4 002FB424 7C A4 2B 78 */ mr r4, r5 +/* 802FE4C8 002FB428 7C C5 33 78 */ mr r5, r6 +/* 802FE4CC 002FB42C 4B FF D5 1D */ bl __ct__22CFBStreamedCompressionFR12CInputStreamR12IObjectStore +lbl_802FE4D0: +/* 802FE4D0 002FB430 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE4D4 002FB434 7C 08 03 A6 */ mtlr r0 +/* 802FE4D8 002FB438 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE4DC 002FB43C 4E 80 00 20 */ blr + +.global __dt__16CAnimFormatUnionFv +__dt__16CAnimFormatUnionFv: +/* 802FE4E0 002FB440 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE4E4 002FB444 7C 08 02 A6 */ mflr r0 +/* 802FE4E8 002FB448 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE4EC 002FB44C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE4F0 002FB450 7C 9F 23 78 */ mr r31, r4 +/* 802FE4F4 002FB454 93 C1 00 08 */ stw r30, 8(r1) +/* 802FE4F8 002FB458 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FE4FC 002FB45C 41 82 00 58 */ beq lbl_802FE554 +/* 802FE500 002FB460 80 1E 00 00 */ lwz r0, 0(r30) +/* 802FE504 002FB464 2C 00 00 01 */ cmpwi r0, 1 +/* 802FE508 002FB468 41 82 00 3C */ beq lbl_802FE544 +/* 802FE50C 002FB46C 40 80 00 10 */ bge lbl_802FE51C +/* 802FE510 002FB470 2C 00 00 00 */ cmpwi r0, 0 +/* 802FE514 002FB474 40 80 00 14 */ bge lbl_802FE528 +/* 802FE518 002FB478 48 00 00 2C */ b lbl_802FE544 +lbl_802FE51C: +/* 802FE51C 002FB47C 2C 00 00 03 */ cmpwi r0, 3 +/* 802FE520 002FB480 40 80 00 24 */ bge lbl_802FE544 +/* 802FE524 002FB484 48 00 00 14 */ b lbl_802FE538 +lbl_802FE528: +/* 802FE528 002FB488 38 7E 00 04 */ addi r3, r30, 4 +/* 802FE52C 002FB48C 38 80 FF FF */ li r4, -1 +/* 802FE530 002FB490 4B FE EB 39 */ bl __dt__11CAnimSourceFv +/* 802FE534 002FB494 48 00 00 10 */ b lbl_802FE544 +lbl_802FE538: +/* 802FE538 002FB498 38 7E 00 04 */ addi r3, r30, 4 +/* 802FE53C 002FB49C 38 80 FF FF */ li r4, -1 +/* 802FE540 002FB4A0 4B FF D4 19 */ bl __dt__22CFBStreamedCompressionFv +lbl_802FE544: +/* 802FE544 002FB4A4 7F E0 07 35 */ extsh. r0, r31 +/* 802FE548 002FB4A8 40 81 00 0C */ ble lbl_802FE554 +/* 802FE54C 002FB4AC 7F C3 F3 78 */ mr r3, r30 +/* 802FE550 002FB4B0 48 01 73 E1 */ bl Free__7CMemoryFPCv +lbl_802FE554: +/* 802FE554 002FB4B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE558 002FB4B8 7F C3 F3 78 */ mr r3, r30 +/* 802FE55C 002FB4BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE560 002FB4C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FE564 002FB4C4 7C 08 03 A6 */ mtlr r0 +/* 802FE568 002FB4C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE56C 002FB4CC 4E 80 00 20 */ blr + +.global __ct__16CAnimFormatUnionFR12CInputStreamR12IObjectStore +__ct__16CAnimFormatUnionFR12CInputStreamR12IObjectStore: +/* 802FE570 002FB4D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FE574 002FB4D4 7C 08 02 A6 */ mflr r0 +/* 802FE578 002FB4D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FE57C 002FB4DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FE580 002FB4E0 7C BF 2B 78 */ mr r31, r5 +/* 802FE584 002FB4E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FE588 002FB4E8 7C 9E 23 78 */ mr r30, r4 +/* 802FE58C 002FB4EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FE590 002FB4F0 7C 7D 1B 78 */ mr r29, r3 +/* 802FE594 002FB4F4 7F C3 F3 78 */ mr r3, r30 +/* 802FE598 002FB4F8 48 04 06 ED */ bl ReadLong__12CInputStreamFv +/* 802FE59C 002FB4FC 90 7D 00 00 */ stw r3, 0(r29) +/* 802FE5A0 002FB500 7F C5 F3 78 */ mr r5, r30 +/* 802FE5A4 002FB504 7F E6 FB 78 */ mr r6, r31 +/* 802FE5A8 002FB508 38 7D 00 04 */ addi r3, r29, 4 +/* 802FE5AC 002FB50C 80 9D 00 00 */ lwz r4, 0(r29) +/* 802FE5B0 002FB510 4B FF FE C5 */ bl SubConstruct__16CAnimFormatUnionFPUcUiR12CInputStreamR12IObjectStore +/* 802FE5B4 002FB514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FE5B8 002FB518 7F A3 EB 78 */ mr r3, r29 +/* 802FE5BC 002FB51C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FE5C0 002FB520 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FE5C4 002FB524 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FE5C8 002FB528 7C 08 03 A6 */ mtlr r0 +/* 802FE5CC 002FB52C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FE5D0 002FB530 4E 80 00 20 */ blr + +.global __dt__15CARAMDvdRequestFv +__dt__15CARAMDvdRequestFv: +/* 802FE5D4 002FB534 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE5D8 002FB538 7C 08 02 A6 */ mflr r0 +/* 802FE5DC 002FB53C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE5E0 002FB540 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE5E4 002FB544 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FE5E8 002FB548 41 82 00 30 */ beq lbl_802FE618 +/* 802FE5EC 002FB54C 3C 60 80 3F */ lis r3, lbl_803ED578@ha +/* 802FE5F0 002FB550 38 03 D5 78 */ addi r0, r3, lbl_803ED578@l +/* 802FE5F4 002FB554 90 1F 00 00 */ stw r0, 0(r31) +/* 802FE5F8 002FB558 41 82 00 10 */ beq lbl_802FE608 +/* 802FE5FC 002FB55C 3C 60 80 3E */ lis r3, lbl_803D9FF8@ha +/* 802FE600 002FB560 38 03 9F F8 */ addi r0, r3, lbl_803D9FF8@l +/* 802FE604 002FB564 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FE608: +/* 802FE608 002FB568 7C 80 07 35 */ extsh. r0, r4 +/* 802FE60C 002FB56C 40 81 00 0C */ ble lbl_802FE618 +/* 802FE610 002FB570 7F E3 FB 78 */ mr r3, r31 +/* 802FE614 002FB574 48 01 73 1D */ bl Free__7CMemoryFPCv +lbl_802FE618: +/* 802FE618 002FB578 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE61C 002FB57C 7F E3 FB 78 */ mr r3, r31 +/* 802FE620 002FB580 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE624 002FB584 7C 08 03 A6 */ mtlr r0 +/* 802FE628 002FB588 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE62C 002FB58C 4E 80 00 20 */ blr + +.global GetMediaType__15CARAMDvdRequestCFv +GetMediaType__15CARAMDvdRequestCFv: +/* 802FE630 002FB590 38 60 00 00 */ li r3, 0 +/* 802FE634 002FB594 4E 80 00 20 */ blr + +.global PostCancelRequest__15CARAMDvdRequestFv +PostCancelRequest__15CARAMDvdRequestFv: +/* 802FE638 002FB598 4E 80 00 20 */ blr + +.global IsComplete__15CARAMDvdRequestFv +IsComplete__15CARAMDvdRequestFv: +/* 802FE63C 002FB59C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE640 002FB5A0 7C 08 02 A6 */ mflr r0 +/* 802FE644 002FB5A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE648 002FB5A8 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 802FE64C 002FB5AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE650 002FB5B0 7C 7F 1B 78 */ mr r31, r3 +/* 802FE654 002FB5B4 80 63 00 04 */ lwz r3, 4(r3) +/* 802FE658 002FB5B8 7C 03 00 40 */ cmplw r3, r0 +/* 802FE65C 002FB5BC 41 82 00 20 */ beq lbl_802FE67C +/* 802FE660 002FB5C0 48 04 61 65 */ bl IsDMACompleted__12CARAMManagerFUi +/* 802FE664 002FB5C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FE668 002FB5C8 40 82 00 0C */ bne lbl_802FE674 +/* 802FE66C 002FB5CC 38 60 00 00 */ li r3, 0 +/* 802FE670 002FB5D0 48 00 00 10 */ b lbl_802FE680 +lbl_802FE674: +/* 802FE674 002FB5D4 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 802FE678 002FB5D8 90 1F 00 04 */ stw r0, 4(r31) +lbl_802FE67C: +/* 802FE67C 002FB5DC 38 60 00 01 */ li r3, 1 +lbl_802FE680: +/* 802FE680 002FB5E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE684 002FB5E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE688 002FB5E8 7C 08 03 A6 */ mtlr r0 +/* 802FE68C 002FB5EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE690 002FB5F0 4E 80 00 20 */ blr + +.global WaitUntilComplete__15CARAMDvdRequestFv +WaitUntilComplete__15CARAMDvdRequestFv: +/* 802FE694 002FB5F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE698 002FB5F8 7C 08 02 A6 */ mflr r0 +/* 802FE69C 002FB5FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE6A0 002FB600 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 802FE6A4 002FB604 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE6A8 002FB608 7C 7F 1B 78 */ mr r31, r3 +/* 802FE6AC 002FB60C 80 63 00 04 */ lwz r3, 4(r3) +/* 802FE6B0 002FB610 7C 03 00 40 */ cmplw r3, r0 +/* 802FE6B4 002FB614 41 82 00 10 */ beq lbl_802FE6C4 +/* 802FE6B8 002FB618 48 04 60 91 */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 802FE6BC 002FB61C 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 802FE6C0 002FB620 90 1F 00 04 */ stw r0, 4(r31) +lbl_802FE6C4: +/* 802FE6C4 002FB624 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE6C8 002FB628 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE6CC 002FB62C 7C 08 03 A6 */ mtlr r0 +/* 802FE6D0 002FB630 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE6D4 002FB634 4E 80 00 20 */ blr + +.global GetMediaType__15CRealDvdRequestCFv +GetMediaType__15CRealDvdRequestCFv: +/* 802FE6D8 002FB638 38 60 00 01 */ li r3, 1 +/* 802FE6DC 002FB63C 4E 80 00 20 */ blr + +.global PostCancelRequest__15CRealDvdRequestFv +PostCancelRequest__15CRealDvdRequestFv: +/* 802FE6E0 002FB640 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE6E4 002FB644 7C 08 02 A6 */ mflr r0 +/* 802FE6E8 002FB648 38 80 00 00 */ li r4, 0 +/* 802FE6EC 002FB64C 38 63 00 04 */ addi r3, r3, 4 +/* 802FE6F0 002FB650 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE6F4 002FB654 48 07 5B 19 */ bl DVDCancelAsync +/* 802FE6F8 002FB658 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE6FC 002FB65C 7C 08 03 A6 */ mtlr r0 +/* 802FE700 002FB660 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE704 002FB664 4E 80 00 20 */ blr + +.global IsComplete__15CRealDvdRequestFv +IsComplete__15CRealDvdRequestFv: +/* 802FE708 002FB668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE70C 002FB66C 7C 08 02 A6 */ mflr r0 +/* 802FE710 002FB670 38 63 00 04 */ addi r3, r3, 4 +/* 802FE714 002FB674 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE718 002FB678 48 07 59 ED */ bl DVDGetCommandBlockStatus +/* 802FE71C 002FB67C 2C 03 00 00 */ cmpwi r3, 0 +/* 802FE720 002FB680 38 00 00 00 */ li r0, 0 +/* 802FE724 002FB684 41 82 00 0C */ beq lbl_802FE730 +/* 802FE728 002FB688 2C 03 00 0A */ cmpwi r3, 0xa +/* 802FE72C 002FB68C 40 82 00 08 */ bne lbl_802FE734 +lbl_802FE730: +/* 802FE730 002FB690 38 00 00 01 */ li r0, 1 +lbl_802FE734: +/* 802FE734 002FB694 7C 03 03 78 */ mr r3, r0 +/* 802FE738 002FB698 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE73C 002FB69C 7C 08 03 A6 */ mtlr r0 +/* 802FE740 002FB6A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE744 002FB6A4 4E 80 00 20 */ blr + +.global WaitUntilComplete__15CRealDvdRequestFv +WaitUntilComplete__15CRealDvdRequestFv: +/* 802FE748 002FB6A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE74C 002FB6AC 7C 08 02 A6 */ mflr r0 +/* 802FE750 002FB6B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE754 002FB6B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE758 002FB6B8 7C 7F 1B 78 */ mr r31, r3 +lbl_802FE75C: +/* 802FE75C 002FB6BC 7F E3 FB 78 */ mr r3, r31 +/* 802FE760 002FB6C0 4B FF FF A9 */ bl IsComplete__15CRealDvdRequestFv +/* 802FE764 002FB6C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FE768 002FB6C8 41 82 FF F4 */ beq lbl_802FE75C +/* 802FE76C 002FB6CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE770 002FB6D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE774 002FB6D4 7C 08 03 A6 */ mtlr r0 +/* 802FE778 002FB6D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE77C 002FB6DC 4E 80 00 20 */ blr + +.global __dt__15CRealDvdRequestFv +__dt__15CRealDvdRequestFv: +/* 802FE780 002FB6E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE784 002FB6E4 7C 08 02 A6 */ mflr r0 +/* 802FE788 002FB6E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE78C 002FB6EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE790 002FB6F0 7C 9F 23 78 */ mr r31, r4 +/* 802FE794 002FB6F4 93 C1 00 08 */ stw r30, 8(r1) +/* 802FE798 002FB6F8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FE79C 002FB6FC 41 82 00 7C */ beq lbl_802FE818 +/* 802FE7A0 002FB700 3C 80 80 3F */ lis r4, lbl_803ED594@ha +/* 802FE7A4 002FB704 38 04 D5 94 */ addi r0, r4, lbl_803ED594@l +/* 802FE7A8 002FB708 90 1E 00 00 */ stw r0, 0(r30) +/* 802FE7AC 002FB70C 81 83 00 00 */ lwz r12, 0(r3) +/* 802FE7B0 002FB710 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802FE7B4 002FB714 7D 89 03 A6 */ mtctr r12 +/* 802FE7B8 002FB718 4E 80 04 21 */ bctrl +/* 802FE7BC 002FB71C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FE7C0 002FB720 40 82 00 2C */ bne lbl_802FE7EC +/* 802FE7C4 002FB724 7F C3 F3 78 */ mr r3, r30 +/* 802FE7C8 002FB728 81 9E 00 00 */ lwz r12, 0(r30) +/* 802FE7CC 002FB72C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802FE7D0 002FB730 7D 89 03 A6 */ mtctr r12 +/* 802FE7D4 002FB734 4E 80 04 21 */ bctrl +/* 802FE7D8 002FB738 7F C3 F3 78 */ mr r3, r30 +/* 802FE7DC 002FB73C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802FE7E0 002FB740 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FE7E4 002FB744 7D 89 03 A6 */ mtctr r12 +/* 802FE7E8 002FB748 4E 80 04 21 */ bctrl +lbl_802FE7EC: +/* 802FE7EC 002FB74C 38 7E 00 04 */ addi r3, r30, 4 +/* 802FE7F0 002FB750 48 07 2F 5D */ bl DVDClose +/* 802FE7F4 002FB754 28 1E 00 00 */ cmplwi r30, 0 +/* 802FE7F8 002FB758 41 82 00 10 */ beq lbl_802FE808 +/* 802FE7FC 002FB75C 3C 60 80 3E */ lis r3, lbl_803D9FF8@ha +/* 802FE800 002FB760 38 03 9F F8 */ addi r0, r3, lbl_803D9FF8@l +/* 802FE804 002FB764 90 1E 00 00 */ stw r0, 0(r30) +lbl_802FE808: +/* 802FE808 002FB768 7F E0 07 35 */ extsh. r0, r31 +/* 802FE80C 002FB76C 40 81 00 0C */ ble lbl_802FE818 +/* 802FE810 002FB770 7F C3 F3 78 */ mr r3, r30 +/* 802FE814 002FB774 48 01 71 1D */ bl Free__7CMemoryFPCv +lbl_802FE818: +/* 802FE818 002FB778 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE81C 002FB77C 7F C3 F3 78 */ mr r3, r30 +/* 802FE820 002FB780 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE824 002FB784 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FE828 002FB788 7C 08 03 A6 */ mtlr r0 +/* 802FE82C 002FB78C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE830 002FB790 4E 80 00 20 */ blr + +.global __dt__17CColorInstructionFv +__dt__17CColorInstructionFv: +/* 802FE834 002FB794 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE838 002FB798 7C 08 02 A6 */ mflr r0 +/* 802FE83C 002FB79C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE840 002FB7A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE844 002FB7A4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FE848 002FB7A8 41 82 00 30 */ beq lbl_802FE878 +/* 802FE84C 002FB7AC 3C 60 80 3F */ lis r3, lbl_803ED5B0@ha +/* 802FE850 002FB7B0 38 03 D5 B0 */ addi r0, r3, lbl_803ED5B0@l +/* 802FE854 002FB7B4 90 1F 00 00 */ stw r0, 0(r31) +/* 802FE858 002FB7B8 41 82 00 10 */ beq lbl_802FE868 +/* 802FE85C 002FB7BC 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FE860 002FB7C0 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FE864 002FB7C4 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FE868: +/* 802FE868 002FB7C8 7C 80 07 35 */ extsh. r0, r4 +/* 802FE86C 002FB7CC 40 81 00 0C */ ble lbl_802FE878 +/* 802FE870 002FB7D0 7F E3 FB 78 */ mr r3, r31 +/* 802FE874 002FB7D4 48 01 70 BD */ bl Free__7CMemoryFPCv +lbl_802FE878: +/* 802FE878 002FB7D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE87C 002FB7DC 7F E3 FB 78 */ mr r3, r31 +/* 802FE880 002FB7E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE884 002FB7E4 7C 08 03 A6 */ mtlr r0 +/* 802FE888 002FB7E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE88C 002FB7EC 4E 80 00 20 */ blr + +.global PageInvoke__17CColorInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__17CColorInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FE890 002FB7F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE894 002FB7F4 7C 08 02 A6 */ mflr r0 +/* 802FE898 002FB7F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE89C 002FB7FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802FE8A0 002FB800 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FE8A4 002FB804 7D 89 03 A6 */ mtctr r12 +/* 802FE8A8 002FB808 4E 80 04 21 */ bctrl +/* 802FE8AC 002FB80C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE8B0 002FB810 7C 08 03 A6 */ mtlr r0 +/* 802FE8B4 002FB814 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE8B8 002FB818 4E 80 00 20 */ blr + +.global Invoke__17CColorInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__17CColorInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FE8BC 002FB81C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE8C0 002FB820 7C 08 02 A6 */ mflr r0 +/* 802FE8C4 002FB824 7C 65 1B 78 */ mr r5, r3 +/* 802FE8C8 002FB828 7C 83 23 78 */ mr r3, r4 +/* 802FE8CC 002FB82C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE8D0 002FB830 80 85 00 04 */ lwz r4, 4(r5) +/* 802FE8D4 002FB834 38 A5 00 08 */ addi r5, r5, 8 +/* 802FE8D8 002FB838 48 00 0A 4D */ bl SetColor__16CFontRenderStateF10EColorTypeRC10CTextColor +/* 802FE8DC 002FB83C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE8E0 002FB840 7C 08 03 A6 */ mtlr r0 +/* 802FE8E4 002FB844 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE8E8 002FB848 4E 80 00 20 */ blr + +.global __dt__25CColorOverrideInstructionFv +__dt__25CColorOverrideInstructionFv: +/* 802FE8EC 002FB84C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE8F0 002FB850 7C 08 02 A6 */ mflr r0 +/* 802FE8F4 002FB854 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE8F8 002FB858 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE8FC 002FB85C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FE900 002FB860 41 82 00 30 */ beq lbl_802FE930 +/* 802FE904 002FB864 3C 60 80 3F */ lis r3, lbl_803ED5D0@ha +/* 802FE908 002FB868 38 03 D5 D0 */ addi r0, r3, lbl_803ED5D0@l +/* 802FE90C 002FB86C 90 1F 00 00 */ stw r0, 0(r31) +/* 802FE910 002FB870 41 82 00 10 */ beq lbl_802FE920 +/* 802FE914 002FB874 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FE918 002FB878 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FE91C 002FB87C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FE920: +/* 802FE920 002FB880 7C 80 07 35 */ extsh. r0, r4 +/* 802FE924 002FB884 40 81 00 0C */ ble lbl_802FE930 +/* 802FE928 002FB888 7F E3 FB 78 */ mr r3, r31 +/* 802FE92C 002FB88C 48 01 70 05 */ bl Free__7CMemoryFPCv +lbl_802FE930: +/* 802FE930 002FB890 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE934 002FB894 7F E3 FB 78 */ mr r3, r31 +/* 802FE938 002FB898 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE93C 002FB89C 7C 08 03 A6 */ mtlr r0 +/* 802FE940 002FB8A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE944 002FB8A4 4E 80 00 20 */ blr + +.global PageInvoke__25CColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__25CColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FE948 002FB8A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE94C 002FB8AC 7C 08 02 A6 */ mflr r0 +/* 802FE950 002FB8B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE954 002FB8B4 81 83 00 00 */ lwz r12, 0(r3) +/* 802FE958 002FB8B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FE95C 002FB8BC 7D 89 03 A6 */ mtctr r12 +/* 802FE960 002FB8C0 4E 80 04 21 */ bctrl +/* 802FE964 002FB8C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE968 002FB8C8 7C 08 03 A6 */ mtlr r0 +/* 802FE96C 002FB8CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE970 002FB8D0 4E 80 00 20 */ blr + +.global Invoke__25CColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__25CColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FE974 002FB8D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FE978 002FB8D8 7C 08 02 A6 */ mflr r0 +/* 802FE97C 002FB8DC 38 C0 00 01 */ li r6, 1 +/* 802FE980 002FB8E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FE984 002FB8E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FE988 002FB8E8 7C 9F 23 78 */ mr r31, r4 +/* 802FE98C 002FB8EC 93 C1 00 08 */ stw r30, 8(r1) +/* 802FE990 002FB8F0 7C 7E 1B 78 */ mr r30, r3 +/* 802FE994 002FB8F4 80 A4 00 70 */ lwz r5, 0x70(r4) +/* 802FE998 002FB8F8 38 9E 00 08 */ addi r4, r30, 8 +/* 802FE99C 002FB8FC 80 03 00 04 */ lwz r0, 4(r3) +/* 802FE9A0 002FB900 7F E3 FB 78 */ mr r3, r31 +/* 802FE9A4 002FB904 7C C5 01 AE */ stbx r6, r5, r0 +/* 802FE9A8 002FB908 48 00 03 1D */ bl ConvertToTextureSpace__16CFontRenderStateCFRC10CTextColor +/* 802FE9AC 002FB90C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FE9B0 002FB910 54 00 10 3A */ slwi r0, r0, 2 +/* 802FE9B4 002FB914 7C 9F 02 14 */ add r4, r31, r0 +/* 802FE9B8 002FB918 90 64 00 08 */ stw r3, 8(r4) +/* 802FE9BC 002FB91C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FE9C0 002FB920 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FE9C4 002FB924 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FE9C8 002FB928 7C 08 03 A6 */ mtlr r0 +/* 802FE9CC 002FB92C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FE9D0 002FB930 4E 80 00 20 */ blr + +.global __ct__18CDrawStringOptionsFv +__ct__18CDrawStringOptionsFv: +/* 802FE9D4 002FB934 38 A0 00 00 */ li r5, 0 +/* 802FE9D8 002FB938 38 80 00 10 */ li r4, 0x10 +/* 802FE9DC 002FB93C 90 A3 00 00 */ stw r5, 0(r3) +/* 802FE9E0 002FB940 38 00 00 02 */ li r0, 2 +/* 802FE9E4 002FB944 90 83 00 04 */ stw r4, 4(r3) +/* 802FE9E8 002FB948 38 83 00 08 */ addi r4, r3, 8 +/* 802FE9EC 002FB94C 7C 09 03 A6 */ mtctr r0 +lbl_802FE9F0: +/* 802FE9F0 002FB950 28 04 00 00 */ cmplwi r4, 0 +/* 802FE9F4 002FB954 41 82 00 0C */ beq lbl_802FEA00 +/* 802FE9F8 002FB958 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FE9FC 002FB95C 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA00: +/* 802FEA00 002FB960 34 84 00 04 */ addic. r4, r4, 4 +/* 802FEA04 002FB964 41 82 00 0C */ beq lbl_802FEA10 +/* 802FEA08 002FB968 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FEA0C 002FB96C 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA10: +/* 802FEA10 002FB970 34 84 00 04 */ addic. r4, r4, 4 +/* 802FEA14 002FB974 41 82 00 0C */ beq lbl_802FEA20 +/* 802FEA18 002FB978 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FEA1C 002FB97C 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA20: +/* 802FEA20 002FB980 34 84 00 04 */ addic. r4, r4, 4 +/* 802FEA24 002FB984 41 82 00 0C */ beq lbl_802FEA30 +/* 802FEA28 002FB988 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FEA2C 002FB98C 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA30: +/* 802FEA30 002FB990 34 84 00 04 */ addic. r4, r4, 4 +/* 802FEA34 002FB994 41 82 00 0C */ beq lbl_802FEA40 +/* 802FEA38 002FB998 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FEA3C 002FB99C 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA40: +/* 802FEA40 002FB9A0 34 84 00 04 */ addic. r4, r4, 4 +/* 802FEA44 002FB9A4 41 82 00 0C */ beq lbl_802FEA50 +/* 802FEA48 002FB9A8 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FEA4C 002FB9AC 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA50: +/* 802FEA50 002FB9B0 34 84 00 04 */ addic. r4, r4, 4 +/* 802FEA54 002FB9B4 41 82 00 0C */ beq lbl_802FEA60 +/* 802FEA58 002FB9B8 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FEA5C 002FB9BC 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA60: +/* 802FEA60 002FB9C0 34 84 00 04 */ addic. r4, r4, 4 +/* 802FEA64 002FB9C4 41 82 00 0C */ beq lbl_802FEA70 +/* 802FEA68 002FB9C8 80 0D 9C 40 */ lwz r0, lbl_805A8800@sda21(r13) +/* 802FEA6C 002FB9CC 90 04 00 00 */ stw r0, 0(r4) +lbl_802FEA70: +/* 802FEA70 002FB9D0 38 A5 00 07 */ addi r5, r5, 7 +/* 802FEA74 002FB9D4 38 84 00 04 */ addi r4, r4, 4 +/* 802FEA78 002FB9D8 42 00 FF 78 */ bdnz lbl_802FE9F0 +/* 802FEA7C 002FB9DC 4E 80 00 20 */ blr + +.global __dt__16CFontInstructionFv +__dt__16CFontInstructionFv: +/* 802FEA80 002FB9E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FEA84 002FB9E4 7C 08 02 A6 */ mflr r0 +/* 802FEA88 002FB9E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FEA8C 002FB9EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FEA90 002FB9F0 7C 9F 23 78 */ mr r31, r4 +/* 802FEA94 002FB9F4 93 C1 00 08 */ stw r30, 8(r1) +/* 802FEA98 002FB9F8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802FEA9C 002FB9FC 41 82 00 48 */ beq lbl_802FEAE4 +/* 802FEAA0 002FBA00 3C 60 80 3F */ lis r3, lbl_803ED5F0@ha +/* 802FEAA4 002FBA04 34 1E 00 04 */ addic. r0, r30, 4 +/* 802FEAA8 002FBA08 38 03 D5 F0 */ addi r0, r3, lbl_803ED5F0@l +/* 802FEAAC 002FBA0C 90 1E 00 00 */ stw r0, 0(r30) +/* 802FEAB0 002FBA10 41 82 00 10 */ beq lbl_802FEAC0 +/* 802FEAB4 002FBA14 38 7E 00 04 */ addi r3, r30, 4 +/* 802FEAB8 002FBA18 38 80 00 00 */ li r4, 0 +/* 802FEABC 002FBA1C 48 04 23 85 */ bl __dt__6CTokenFv +lbl_802FEAC0: +/* 802FEAC0 002FBA20 28 1E 00 00 */ cmplwi r30, 0 +/* 802FEAC4 002FBA24 41 82 00 10 */ beq lbl_802FEAD4 +/* 802FEAC8 002FBA28 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FEACC 002FBA2C 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FEAD0 002FBA30 90 1E 00 00 */ stw r0, 0(r30) +lbl_802FEAD4: +/* 802FEAD4 002FBA34 7F E0 07 35 */ extsh. r0, r31 +/* 802FEAD8 002FBA38 40 81 00 0C */ ble lbl_802FEAE4 +/* 802FEADC 002FBA3C 7F C3 F3 78 */ mr r3, r30 +/* 802FEAE0 002FBA40 48 01 6E 51 */ bl Free__7CMemoryFPCv +lbl_802FEAE4: +/* 802FEAE4 002FBA44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FEAE8 002FBA48 7F C3 F3 78 */ mr r3, r30 +/* 802FEAEC 002FBA4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FEAF0 002FBA50 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FEAF4 002FBA54 7C 08 03 A6 */ mtlr r0 +/* 802FEAF8 002FBA58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FEAFC 002FBA5C 4E 80 00 20 */ blr + +.global PageInvoke__16CFontInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__16CFontInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FEB00 002FBA60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FEB04 002FBA64 7C 08 02 A6 */ mflr r0 +/* 802FEB08 002FBA68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FEB0C 002FBA6C 81 83 00 00 */ lwz r12, 0(r3) +/* 802FEB10 002FBA70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FEB14 002FBA74 7D 89 03 A6 */ mtctr r12 +/* 802FEB18 002FBA78 4E 80 04 21 */ bctrl +/* 802FEB1C 002FBA7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FEB20 002FBA80 7C 08 03 A6 */ mtlr r0 +/* 802FEB24 002FBA84 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FEB28 002FBA88 4E 80 00 20 */ blr + +.global GetAssetCount__16CFontInstructionCFv +GetAssetCount__16CFontInstructionCFv: +/* 802FEB2C 002FBA8C 38 60 00 02 */ li r3, 2 +/* 802FEB30 002FBA90 4E 80 00 20 */ blr + +.global "GetAssets__16CFontInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"GetAssets__16CFontInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 802FEB34 002FBA94 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FEB38 002FBA98 7C 08 02 A6 */ mflr r0 +/* 802FEB3C 002FBA9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FEB40 002FBAA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FEB44 002FBAA4 7C 9F 23 78 */ mr r31, r4 +/* 802FEB48 002FBAA8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FEB4C 002FBAAC 7C 7E 1B 78 */ mr r30, r3 +/* 802FEB50 002FBAB0 80 04 00 04 */ lwz r0, 4(r4) +/* 802FEB54 002FBAB4 80 A4 00 08 */ lwz r5, 8(r4) +/* 802FEB58 002FBAB8 7C 00 28 00 */ cmpw r0, r5 +/* 802FEB5C 002FBABC 41 80 00 1C */ blt lbl_802FEB78 +/* 802FEB60 002FBAC0 2C 05 00 00 */ cmpwi r5, 0 +/* 802FEB64 002FBAC4 7F E3 FB 78 */ mr r3, r31 +/* 802FEB68 002FBAC8 38 80 00 04 */ li r4, 4 +/* 802FEB6C 002FBACC 41 82 00 08 */ beq lbl_802FEB74 +/* 802FEB70 002FBAD0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802FEB74: +/* 802FEB74 002FBAD4 4B D0 9D E9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_802FEB78: +/* 802FEB78 002FBAD8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FEB7C 002FBADC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802FEB80 002FBAE0 54 00 18 38 */ slwi r0, r0, 3 +/* 802FEB84 002FBAE4 7C 63 02 15 */ add. r3, r3, r0 +/* 802FEB88 002FBAE8 41 82 00 0C */ beq lbl_802FEB94 +/* 802FEB8C 002FBAEC 38 9E 00 04 */ addi r4, r30, 4 +/* 802FEB90 002FBAF0 48 04 23 19 */ bl __ct__6CTokenFRC6CToken +lbl_802FEB94: +/* 802FEB94 002FBAF4 80 7F 00 04 */ lwz r3, 4(r31) +/* 802FEB98 002FBAF8 38 03 00 01 */ addi r0, r3, 1 +/* 802FEB9C 002FBAFC 90 1F 00 04 */ stw r0, 4(r31) +/* 802FEBA0 002FBB00 80 7E 00 04 */ lwz r3, 4(r30) +/* 802FEBA4 002FBB04 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802FEBA8 002FBB08 28 00 00 00 */ cmplwi r0, 0 +/* 802FEBAC 002FBB0C 41 82 00 7C */ beq lbl_802FEC28 +/* 802FEBB0 002FBB10 38 61 00 08 */ addi r3, r1, 8 +/* 802FEBB4 002FBB14 38 9E 00 04 */ addi r4, r30, 4 +/* 802FEBB8 002FBB18 48 04 22 F1 */ bl __ct__6CTokenFRC6CToken +/* 802FEBBC 002FBB1C 38 61 00 08 */ addi r3, r1, 8 +/* 802FEBC0 002FBB20 48 04 22 4D */ bl GetObj__6CTokenFv +/* 802FEBC4 002FBB24 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FEBC8 002FBB28 80 BF 00 08 */ lwz r5, 8(r31) +/* 802FEBCC 002FBB2C 80 63 00 04 */ lwz r3, 4(r3) +/* 802FEBD0 002FBB30 7C 00 28 00 */ cmpw r0, r5 +/* 802FEBD4 002FBB34 3B C3 00 80 */ addi r30, r3, 0x80 +/* 802FEBD8 002FBB38 41 80 00 1C */ blt lbl_802FEBF4 +/* 802FEBDC 002FBB3C 2C 05 00 00 */ cmpwi r5, 0 +/* 802FEBE0 002FBB40 7F E3 FB 78 */ mr r3, r31 +/* 802FEBE4 002FBB44 38 80 00 04 */ li r4, 4 +/* 802FEBE8 002FBB48 41 82 00 08 */ beq lbl_802FEBF0 +/* 802FEBEC 002FBB4C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802FEBF0: +/* 802FEBF0 002FBB50 4B D0 9D 6D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_802FEBF4: +/* 802FEBF4 002FBB54 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FEBF8 002FBB58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802FEBFC 002FBB5C 54 00 18 38 */ slwi r0, r0, 3 +/* 802FEC00 002FBB60 7C 63 02 15 */ add. r3, r3, r0 +/* 802FEC04 002FBB64 41 82 00 0C */ beq lbl_802FEC10 +/* 802FEC08 002FBB68 7F C4 F3 78 */ mr r4, r30 +/* 802FEC0C 002FBB6C 48 04 22 9D */ bl __ct__6CTokenFRC6CToken +lbl_802FEC10: +/* 802FEC10 002FBB70 80 BF 00 04 */ lwz r5, 4(r31) +/* 802FEC14 002FBB74 38 61 00 08 */ addi r3, r1, 8 +/* 802FEC18 002FBB78 38 80 00 00 */ li r4, 0 +/* 802FEC1C 002FBB7C 38 05 00 01 */ addi r0, r5, 1 +/* 802FEC20 002FBB80 90 1F 00 04 */ stw r0, 4(r31) +/* 802FEC24 002FBB84 48 04 22 1D */ bl __dt__6CTokenFv +lbl_802FEC28: +/* 802FEC28 002FBB88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FEC2C 002FBB8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FEC30 002FBB90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FEC34 002FBB94 7C 08 03 A6 */ mtlr r0 +/* 802FEC38 002FBB98 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FEC3C 002FBB9C 4E 80 00 20 */ blr + +.global Invoke__16CFontInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__16CFontInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FEC40 002FBBA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FEC44 002FBBA4 7C 08 02 A6 */ mflr r0 +/* 802FEC48 002FBBA8 28 05 00 00 */ cmplwi r5, 0 +/* 802FEC4C 002FBBAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FEC50 002FBBB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FEC54 002FBBB4 7C 9F 23 78 */ mr r31, r4 +/* 802FEC58 002FBBB8 93 C1 00 08 */ stw r30, 8(r1) +/* 802FEC5C 002FBBBC 7C 7E 1B 78 */ mr r30, r3 +/* 802FEC60 002FBBC0 41 82 00 10 */ beq lbl_802FEC70 +/* 802FEC64 002FBBC4 7C A3 2B 78 */ mr r3, r5 +/* 802FEC68 002FBBC8 38 9E 00 04 */ addi r4, r30, 4 +/* 802FEC6C 002FBBCC 48 05 C5 45 */ bl "AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>" +lbl_802FEC70: +/* 802FEC70 002FBBD0 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802FEC74 002FBBD4 28 00 00 00 */ cmplwi r0, 0 +/* 802FEC78 002FBBD8 40 82 00 20 */ bne lbl_802FEC98 +/* 802FEC7C 002FBBDC 34 7F 00 48 */ addic. r3, r31, 0x48 +/* 802FEC80 002FBBE0 41 82 00 0C */ beq lbl_802FEC8C +/* 802FEC84 002FBBE4 38 9E 00 04 */ addi r4, r30, 4 +/* 802FEC88 002FBBE8 48 04 22 21 */ bl __ct__6CTokenFRC6CToken +lbl_802FEC8C: +/* 802FEC8C 002FBBEC 38 00 00 01 */ li r0, 1 +/* 802FEC90 002FBBF0 98 1F 00 50 */ stb r0, 0x50(r31) +/* 802FEC94 002FBBF4 48 00 00 10 */ b lbl_802FECA4 +lbl_802FEC98: +/* 802FEC98 002FBBF8 38 7F 00 48 */ addi r3, r31, 0x48 +/* 802FEC9C 002FBBFC 38 9E 00 04 */ addi r4, r30, 4 +/* 802FECA0 002FBC00 48 04 20 25 */ bl __as__6CTokenFRC6CToken +lbl_802FECA4: +/* 802FECA4 002FBC04 7F E3 FB 78 */ mr r3, r31 +/* 802FECA8 002FBC08 48 00 07 3D */ bl RefreshPalette__16CFontRenderStateFv +/* 802FECAC 002FBC0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FECB0 002FBC10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FECB4 002FBC14 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FECB8 002FBC18 7C 08 03 A6 */ mtlr r0 +/* 802FECBC 002FBC1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FECC0 002FBC20 4E 80 00 20 */ blr + +.global ConvertToTextureSpace__16CFontRenderStateCFRC10CTextColor +ConvertToTextureSpace__16CFontRenderStateCFRC10CTextColor: +/* 802FECC4 002FBC24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FECC8 002FBC28 88 C4 00 00 */ lbz r6, 0(r4) +/* 802FECCC 002FBC2C 88 A4 00 01 */ lbz r5, 1(r4) +/* 802FECD0 002FBC30 88 64 00 02 */ lbz r3, 2(r4) +/* 802FECD4 002FBC34 88 04 00 03 */ lbz r0, 3(r4) +/* 802FECD8 002FBC38 98 C1 00 08 */ stb r6, 8(r1) +/* 802FECDC 002FBC3C 98 A1 00 09 */ stb r5, 9(r1) +/* 802FECE0 002FBC40 98 61 00 0A */ stb r3, 0xa(r1) +/* 802FECE4 002FBC44 98 01 00 0B */ stb r0, 0xb(r1) +/* 802FECE8 002FBC48 80 61 00 08 */ lwz r3, 8(r1) +/* 802FECEC 002FBC4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FECF0 002FBC50 4E 80 00 20 */ blr + +.global sub_802fecf4 +sub_802fecf4: +/* 802FECF4 002FBC54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FECF8 002FBC58 7C 08 02 A6 */ mflr r0 +/* 802FECFC 002FBC5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FED00 002FBC60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FED04 002FBC64 7C 7F 1B 78 */ mr r31, r3 +/* 802FED08 002FBC68 80 83 01 10 */ lwz r4, 0x110(r3) +/* 802FED0C 002FBC6C 38 84 00 08 */ addi r4, r4, 8 +/* 802FED10 002FBC70 48 00 00 2D */ bl __as__14CSaveableStateFRC14CSaveableState +/* 802FED14 002FBC74 80 9F 01 10 */ lwz r4, 0x110(r31) +/* 802FED18 002FBC78 38 7F 01 0C */ addi r3, r31, 0x10c +/* 802FED1C 002FBC7C 48 00 09 59 */ bl sub_802ff674 +/* 802FED20 002FBC80 7F E3 FB 78 */ mr r3, r31 +/* 802FED24 002FBC84 48 00 06 C1 */ bl RefreshPalette__16CFontRenderStateFv +/* 802FED28 002FBC88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FED2C 002FBC8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FED30 002FBC90 7C 08 03 A6 */ mtlr r0 +/* 802FED34 002FBC94 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FED38 002FBC98 4E 80 00 20 */ blr + +.global __as__14CSaveableStateFRC14CSaveableState +__as__14CSaveableStateFRC14CSaveableState: +/* 802FED3C 002FBC9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FED40 002FBCA0 7C 08 02 A6 */ mflr r0 +/* 802FED44 002FBCA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FED48 002FBCA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FED4C 002FBCAC 7C 9F 23 78 */ mr r31, r4 +/* 802FED50 002FBCB0 38 1F 00 04 */ addi r0, r31, 4 +/* 802FED54 002FBCB4 93 C1 00 08 */ stw r30, 8(r1) +/* 802FED58 002FBCB8 7C 7E 1B 78 */ mr r30, r3 +/* 802FED5C 002FBCBC 38 7E 00 04 */ addi r3, r30, 4 +/* 802FED60 002FBCC0 80 84 00 00 */ lwz r4, 0(r4) +/* 802FED64 002FBCC4 7C 03 00 40 */ cmplw r3, r0 +/* 802FED68 002FBCC8 90 9E 00 00 */ stw r4, 0(r30) +/* 802FED6C 002FBCCC 41 82 00 98 */ beq lbl_802FEE04 +/* 802FED70 002FBCD0 80 BE 00 04 */ lwz r5, 4(r30) +/* 802FED74 002FBCD4 38 DE 00 08 */ addi r6, r30, 8 +/* 802FED78 002FBCD8 38 60 00 00 */ li r3, 0 +/* 802FED7C 002FBCDC 2C 05 00 00 */ cmpwi r5, 0 +/* 802FED80 002FBCE0 40 81 00 40 */ ble lbl_802FEDC0 +/* 802FED84 002FBCE4 2C 05 00 08 */ cmpwi r5, 8 +/* 802FED88 002FBCE8 38 85 FF F8 */ addi r4, r5, -8 +/* 802FED8C 002FBCEC 40 81 00 20 */ ble lbl_802FEDAC +/* 802FED90 002FBCF0 38 04 00 07 */ addi r0, r4, 7 +/* 802FED94 002FBCF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802FED98 002FBCF8 7C 09 03 A6 */ mtctr r0 +/* 802FED9C 002FBCFC 2C 04 00 00 */ cmpwi r4, 0 +/* 802FEDA0 002FBD00 40 81 00 0C */ ble lbl_802FEDAC +lbl_802FEDA4: +/* 802FEDA4 002FBD04 38 63 00 08 */ addi r3, r3, 8 +/* 802FEDA8 002FBD08 42 00 FF FC */ bdnz lbl_802FEDA4 +lbl_802FEDAC: +/* 802FEDAC 002FBD0C 7C 03 28 50 */ subf r0, r3, r5 +/* 802FEDB0 002FBD10 7C 09 03 A6 */ mtctr r0 +/* 802FEDB4 002FBD14 7C 03 28 00 */ cmpw r3, r5 +/* 802FEDB8 002FBD18 40 80 00 08 */ bge lbl_802FEDC0 +lbl_802FEDBC: +/* 802FEDBC 002FBD1C 42 00 00 00 */ bdnz lbl_802FEDBC +lbl_802FEDC0: +/* 802FEDC0 002FBD20 38 00 00 00 */ li r0, 0 +/* 802FEDC4 002FBD24 38 9F 00 08 */ addi r4, r31, 8 +/* 802FEDC8 002FBD28 90 1E 00 04 */ stw r0, 4(r30) +/* 802FEDCC 002FBD2C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FEDD0 002FBD30 54 00 10 3A */ slwi r0, r0, 2 +/* 802FEDD4 002FBD34 7C 64 02 14 */ add r3, r4, r0 +/* 802FEDD8 002FBD38 48 00 00 1C */ b lbl_802FEDF4 +lbl_802FEDDC: +/* 802FEDDC 002FBD3C 28 06 00 00 */ cmplwi r6, 0 +/* 802FEDE0 002FBD40 41 82 00 0C */ beq lbl_802FEDEC +/* 802FEDE4 002FBD44 80 04 00 00 */ lwz r0, 0(r4) +/* 802FEDE8 002FBD48 90 06 00 00 */ stw r0, 0(r6) +lbl_802FEDEC: +/* 802FEDEC 002FBD4C 38 C6 00 04 */ addi r6, r6, 4 +/* 802FEDF0 002FBD50 38 84 00 04 */ addi r4, r4, 4 +lbl_802FEDF4: +/* 802FEDF4 002FBD54 7C 04 18 40 */ cmplw r4, r3 +/* 802FEDF8 002FBD58 40 82 FF E4 */ bne lbl_802FEDDC +/* 802FEDFC 002FBD5C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FEE00 002FBD60 90 1E 00 04 */ stw r0, 4(r30) +lbl_802FEE04: +/* 802FEE04 002FBD64 38 7E 00 48 */ addi r3, r30, 0x48 +/* 802FEE08 002FBD68 38 9F 00 48 */ addi r4, r31, 0x48 +/* 802FEE0C 002FBD6C 7C 03 20 40 */ cmplw r3, r4 +/* 802FEE10 002FBD70 41 82 00 60 */ beq lbl_802FEE70 +/* 802FEE14 002FBD74 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802FEE18 002FBD78 28 00 00 00 */ cmplwi r0, 0 +/* 802FEE1C 002FBD7C 41 82 00 30 */ beq lbl_802FEE4C +/* 802FEE20 002FBD80 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 802FEE24 002FBD84 28 00 00 00 */ cmplwi r0, 0 +/* 802FEE28 002FBD88 40 82 00 1C */ bne lbl_802FEE44 +/* 802FEE2C 002FBD8C 34 7E 00 48 */ addic. r3, r30, 0x48 +/* 802FEE30 002FBD90 41 82 00 08 */ beq lbl_802FEE38 +/* 802FEE34 002FBD94 48 04 20 75 */ bl __ct__6CTokenFRC6CToken +lbl_802FEE38: +/* 802FEE38 002FBD98 38 00 00 01 */ li r0, 1 +/* 802FEE3C 002FBD9C 98 1E 00 50 */ stb r0, 0x50(r30) +/* 802FEE40 002FBDA0 48 00 00 30 */ b lbl_802FEE70 +lbl_802FEE44: +/* 802FEE44 002FBDA4 48 04 1E 81 */ bl __as__6CTokenFRC6CToken +/* 802FEE48 002FBDA8 48 00 00 28 */ b lbl_802FEE70 +lbl_802FEE4C: +/* 802FEE4C 002FBDAC 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 802FEE50 002FBDB0 28 00 00 00 */ cmplwi r0, 0 +/* 802FEE54 002FBDB4 41 82 00 14 */ beq lbl_802FEE68 +/* 802FEE58 002FBDB8 34 7E 00 48 */ addic. r3, r30, 0x48 +/* 802FEE5C 002FBDBC 41 82 00 0C */ beq lbl_802FEE68 +/* 802FEE60 002FBDC0 38 80 00 00 */ li r4, 0 +/* 802FEE64 002FBDC4 48 04 1F DD */ bl __dt__6CTokenFv +lbl_802FEE68: +/* 802FEE68 002FBDC8 38 00 00 00 */ li r0, 0 +/* 802FEE6C 002FBDCC 98 1E 00 50 */ stb r0, 0x50(r30) +lbl_802FEE70: +/* 802FEE70 002FBDD0 38 7E 00 54 */ addi r3, r30, 0x54 +/* 802FEE74 002FBDD4 38 9F 00 54 */ addi r4, r31, 0x54 +/* 802FEE78 002FBDD8 48 00 00 55 */ bl sub_802feecc +/* 802FEE7C 002FBDDC 38 7E 00 64 */ addi r3, r30, 0x64 +/* 802FEE80 002FBDE0 38 9F 00 64 */ addi r4, r31, 0x64 +/* 802FEE84 002FBDE4 4B DA 29 B5 */ bl sub_800a1838 +/* 802FEE88 002FBDE8 C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 802FEE8C 002FBDEC 7F C3 F3 78 */ mr r3, r30 +/* 802FEE90 002FBDF0 D0 1E 00 74 */ stfs f0, 0x74(r30) +/* 802FEE94 002FBDF4 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 802FEE98 002FBDF8 90 1E 00 78 */ stw r0, 0x78(r30) +/* 802FEE9C 002FBDFC 88 1F 00 7C */ lbz r0, 0x7c(r31) +/* 802FEEA0 002FBE00 98 1E 00 7C */ stb r0, 0x7c(r30) +/* 802FEEA4 002FBE04 80 1F 00 80 */ lwz r0, 0x80(r31) +/* 802FEEA8 002FBE08 90 1E 00 80 */ stw r0, 0x80(r30) +/* 802FEEAC 002FBE0C 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 802FEEB0 002FBE10 90 1E 00 84 */ stw r0, 0x84(r30) +/* 802FEEB4 002FBE14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FEEB8 002FBE18 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FEEBC 002FBE1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FEEC0 002FBE20 7C 08 03 A6 */ mtlr r0 +/* 802FEEC4 002FBE24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FEEC8 002FBE28 4E 80 00 20 */ blr + +.global sub_802feecc +sub_802feecc: +/* 802FEECC 002FBE2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FEED0 002FBE30 7C 08 02 A6 */ mflr r0 +/* 802FEED4 002FBE34 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FEED8 002FBE38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FEEDC 002FBE3C 7C 9F 23 78 */ mr r31, r4 +/* 802FEEE0 002FBE40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FEEE4 002FBE44 7C 7E 1B 78 */ mr r30, r3 +/* 802FEEE8 002FBE48 7C 1E F8 40 */ cmplw r30, r31 +/* 802FEEEC 002FBE4C 40 82 00 08 */ bne lbl_802FEEF4 +/* 802FEEF0 002FBE50 48 00 00 D0 */ b lbl_802FEFC0 +lbl_802FEEF4: +/* 802FEEF4 002FBE54 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FEEF8 002FBE58 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802FEEFC 002FBE5C 54 00 10 3A */ slwi r0, r0, 2 +/* 802FEF00 002FBE60 7C 03 02 14 */ add r0, r3, r0 +/* 802FEF04 002FBE64 90 61 00 0C */ stw r3, 0xc(r1) +/* 802FEF08 002FBE68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FEF0C 002FBE6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802FEF10 002FBE70 90 61 00 08 */ stw r3, 8(r1) +/* 802FEF14 002FBE74 48 00 00 08 */ b lbl_802FEF1C +lbl_802FEF18: +/* 802FEF18 002FBE78 38 63 00 04 */ addi r3, r3, 4 +lbl_802FEF1C: +/* 802FEF1C 002FBE7C 7C 03 00 40 */ cmplw r3, r0 +/* 802FEF20 002FBE80 40 82 FF F8 */ bne lbl_802FEF18 +/* 802FEF24 002FBE84 38 00 00 00 */ li r0, 0 +/* 802FEF28 002FBE88 90 1E 00 04 */ stw r0, 4(r30) +/* 802FEF2C 002FBE8C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802FEF30 002FBE90 2C 04 00 00 */ cmpwi r4, 0 +/* 802FEF34 002FBE94 40 82 00 28 */ bne lbl_802FEF5C +/* 802FEF38 002FBE98 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802FEF3C 002FBE9C 28 03 00 00 */ cmplwi r3, 0 +/* 802FEF40 002FBEA0 41 82 00 08 */ beq lbl_802FEF48 +/* 802FEF44 002FBEA4 48 01 69 ED */ bl Free__7CMemoryFPCv +lbl_802FEF48: +/* 802FEF48 002FBEA8 38 00 00 00 */ li r0, 0 +/* 802FEF4C 002FBEAC 90 1E 00 04 */ stw r0, 4(r30) +/* 802FEF50 002FBEB0 90 1E 00 08 */ stw r0, 8(r30) +/* 802FEF54 002FBEB4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802FEF58 002FBEB8 48 00 00 64 */ b lbl_802FEFBC +lbl_802FEF5C: +/* 802FEF5C 002FBEBC 7F C3 F3 78 */ mr r3, r30 +/* 802FEF60 002FBEC0 48 00 07 A9 */ bl sub_802ff708 +/* 802FEF64 002FBEC4 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FEF68 002FBEC8 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802FEF6C 002FBECC 54 00 10 3A */ slwi r0, r0, 2 +/* 802FEF70 002FBED0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802FEF74 002FBED4 7C 85 02 14 */ add r4, r5, r0 +/* 802FEF78 002FBED8 48 00 00 34 */ b lbl_802FEFAC +lbl_802FEF7C: +/* 802FEF7C 002FBEDC 28 03 00 00 */ cmplwi r3, 0 +/* 802FEF80 002FBEE0 41 82 00 24 */ beq lbl_802FEFA4 +/* 802FEF84 002FBEE4 88 05 00 00 */ lbz r0, 0(r5) +/* 802FEF88 002FBEE8 98 03 00 00 */ stb r0, 0(r3) +/* 802FEF8C 002FBEEC 88 05 00 01 */ lbz r0, 1(r5) +/* 802FEF90 002FBEF0 98 03 00 01 */ stb r0, 1(r3) +/* 802FEF94 002FBEF4 88 05 00 02 */ lbz r0, 2(r5) +/* 802FEF98 002FBEF8 98 03 00 02 */ stb r0, 2(r3) +/* 802FEF9C 002FBEFC 88 05 00 03 */ lbz r0, 3(r5) +/* 802FEFA0 002FBF00 98 03 00 03 */ stb r0, 3(r3) +lbl_802FEFA4: +/* 802FEFA4 002FBF04 38 63 00 04 */ addi r3, r3, 4 +/* 802FEFA8 002FBF08 38 A5 00 04 */ addi r5, r5, 4 +lbl_802FEFAC: +/* 802FEFAC 002FBF0C 7C 05 20 40 */ cmplw r5, r4 +/* 802FEFB0 002FBF10 40 82 FF CC */ bne lbl_802FEF7C +/* 802FEFB4 002FBF14 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FEFB8 002FBF18 90 1E 00 04 */ stw r0, 4(r30) +lbl_802FEFBC: +/* 802FEFBC 002FBF1C 7F C3 F3 78 */ mr r3, r30 +lbl_802FEFC0: +/* 802FEFC0 002FBF20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FEFC4 002FBF24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FEFC8 002FBF28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FEFCC 002FBF2C 7C 08 03 A6 */ mtlr r0 +/* 802FEFD0 002FBF30 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FEFD4 002FBF34 4E 80 00 20 */ blr + +.global sub_802fefd8 +sub_802fefd8: +/* 802FEFD8 002FBF38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FEFDC 002FBF3C 7C 08 02 A6 */ mflr r0 +/* 802FEFE0 002FBF40 7C 64 1B 78 */ mr r4, r3 +/* 802FEFE4 002FBF44 38 63 01 0C */ addi r3, r3, 0x10c +/* 802FEFE8 002FBF48 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FEFEC 002FBF4C 48 00 00 15 */ bl sub_802ff000 +/* 802FEFF0 002FBF50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FEFF4 002FBF54 7C 08 03 A6 */ mtlr r0 +/* 802FEFF8 002FBF58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FEFFC 002FBF5C 4E 80 00 20 */ blr + +.global sub_802ff000 +sub_802ff000: +/* 802FF000 002FBF60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF004 002FBF64 7C 08 02 A6 */ mflr r0 +/* 802FF008 002FBF68 7C 85 23 78 */ mr r5, r4 +/* 802FF00C 002FBF6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF010 002FBF70 80 83 00 04 */ lwz r4, 4(r3) +/* 802FF014 002FBF74 48 00 00 15 */ bl sub_802ff028 +/* 802FF018 002FBF78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF01C 002FBF7C 7C 08 03 A6 */ mtlr r0 +/* 802FF020 002FBF80 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF024 002FBF84 4E 80 00 20 */ blr + +.global sub_802ff028 +sub_802ff028: +/* 802FF028 002FBF88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF02C 002FBF8C 7C 08 02 A6 */ mflr r0 +/* 802FF030 002FBF90 7C A6 2B 78 */ mr r6, r5 +/* 802FF034 002FBF94 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF038 002FBF98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FF03C 002FBF9C 7C 9F 23 78 */ mr r31, r4 +/* 802FF040 002FBFA0 7F E5 FB 78 */ mr r5, r31 +/* 802FF044 002FBFA4 93 C1 00 08 */ stw r30, 8(r1) +/* 802FF048 002FBFA8 7C 7E 1B 78 */ mr r30, r3 +/* 802FF04C 002FBFAC 80 84 00 00 */ lwz r4, 0(r4) +/* 802FF050 002FBFB0 48 00 00 49 */ bl sub_802ff098 +/* 802FF054 002FBFB4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FF058 002FBFB8 7C 1F 00 40 */ cmplw r31, r0 +/* 802FF05C 002FBFBC 40 82 00 08 */ bne lbl_802FF064 +/* 802FF060 002FBFC0 90 7E 00 04 */ stw r3, 4(r30) +lbl_802FF064: +/* 802FF064 002FBFC4 80 83 00 00 */ lwz r4, 0(r3) +/* 802FF068 002FBFC8 90 64 00 04 */ stw r3, 4(r4) +/* 802FF06C 002FBFCC 80 83 00 04 */ lwz r4, 4(r3) +/* 802FF070 002FBFD0 90 64 00 00 */ stw r3, 0(r4) +/* 802FF074 002FBFD4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802FF078 002FBFD8 38 04 00 01 */ addi r0, r4, 1 +/* 802FF07C 002FBFDC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802FF080 002FBFE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF084 002FBFE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FF088 002FBFE8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FF08C 002FBFEC 7C 08 03 A6 */ mtlr r0 +/* 802FF090 002FBFF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF094 002FBFF4 4E 80 00 20 */ blr + +.global sub_802ff098 +sub_802ff098: +/* 802FF098 002FBFF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FF09C 002FBFFC 7C 08 02 A6 */ mflr r0 +/* 802FF0A0 002FC000 3C 60 80 3D */ lis r3, lbl_803D6E60@ha +/* 802FF0A4 002FC004 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FF0A8 002FC008 38 03 6E 60 */ addi r0, r3, lbl_803D6E60@l +/* 802FF0AC 002FC00C 38 60 00 90 */ li r3, 0x90 +/* 802FF0B0 002FC010 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FF0B4 002FC014 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FF0B8 002FC018 7C DE 33 78 */ mr r30, r6 +/* 802FF0BC 002FC01C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FF0C0 002FC020 7C BD 2B 78 */ mr r29, r5 +/* 802FF0C4 002FC024 38 A0 00 00 */ li r5, 0 +/* 802FF0C8 002FC028 93 81 00 10 */ stw r28, 0x10(r1) +/* 802FF0CC 002FC02C 7C 9C 23 78 */ mr r28, r4 +/* 802FF0D0 002FC030 7C 04 03 78 */ mr r4, r0 +/* 802FF0D4 002FC034 48 01 67 45 */ bl __nwa__FUlPCcPCc +/* 802FF0D8 002FC038 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FF0DC 002FC03C 41 82 00 0C */ beq lbl_802FF0E8 +/* 802FF0E0 002FC040 93 9F 00 00 */ stw r28, 0(r31) +/* 802FF0E4 002FC044 93 BF 00 04 */ stw r29, 4(r31) +lbl_802FF0E8: +/* 802FF0E8 002FC048 34 7F 00 08 */ addic. r3, r31, 8 +/* 802FF0EC 002FC04C 41 82 00 0C */ beq lbl_802FF0F8 +/* 802FF0F0 002FC050 7F C4 F3 78 */ mr r4, r30 +/* 802FF0F4 002FC054 48 00 00 29 */ bl sub_802ff11c +lbl_802FF0F8: +/* 802FF0F8 002FC058 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FF0FC 002FC05C 7F E3 FB 78 */ mr r3, r31 +/* 802FF100 002FC060 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FF104 002FC064 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FF108 002FC068 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FF10C 002FC06C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802FF110 002FC070 7C 08 03 A6 */ mtlr r0 +/* 802FF114 002FC074 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FF118 002FC078 4E 80 00 20 */ blr + +.global sub_802ff11c +sub_802ff11c: +/* 802FF11C 002FC07C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF120 002FC080 7C 08 02 A6 */ mflr r0 +/* 802FF124 002FC084 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF128 002FC088 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FF12C 002FC08C 7C 9F 23 78 */ mr r31, r4 +/* 802FF130 002FC090 93 C1 00 08 */ stw r30, 8(r1) +/* 802FF134 002FC094 7C 7E 1B 78 */ mr r30, r3 +/* 802FF138 002FC098 38 7E 00 08 */ addi r3, r30, 8 +/* 802FF13C 002FC09C 80 04 00 00 */ lwz r0, 0(r4) +/* 802FF140 002FC0A0 38 9F 00 08 */ addi r4, r31, 8 +/* 802FF144 002FC0A4 90 1E 00 00 */ stw r0, 0(r30) +/* 802FF148 002FC0A8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802FF14C 002FC0AC 90 1E 00 04 */ stw r0, 4(r30) +/* 802FF150 002FC0B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FF154 002FC0B4 7C 09 03 A6 */ mtctr r0 +/* 802FF158 002FC0B8 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF15C 002FC0BC 40 81 00 20 */ ble lbl_802FF17C +lbl_802FF160: +/* 802FF160 002FC0C0 28 03 00 00 */ cmplwi r3, 0 +/* 802FF164 002FC0C4 41 82 00 0C */ beq lbl_802FF170 +/* 802FF168 002FC0C8 80 04 00 00 */ lwz r0, 0(r4) +/* 802FF16C 002FC0CC 90 03 00 00 */ stw r0, 0(r3) +lbl_802FF170: +/* 802FF170 002FC0D0 38 63 00 04 */ addi r3, r3, 4 +/* 802FF174 002FC0D4 38 84 00 04 */ addi r4, r4, 4 +/* 802FF178 002FC0D8 42 00 FF E8 */ bdnz lbl_802FF160 +lbl_802FF17C: +/* 802FF17C 002FC0DC 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802FF180 002FC0E0 98 1E 00 50 */ stb r0, 0x50(r30) +/* 802FF184 002FC0E4 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802FF188 002FC0E8 28 00 00 00 */ cmplwi r0, 0 +/* 802FF18C 002FC0EC 41 82 00 14 */ beq lbl_802FF1A0 +/* 802FF190 002FC0F0 34 7E 00 48 */ addic. r3, r30, 0x48 +/* 802FF194 002FC0F4 38 9F 00 48 */ addi r4, r31, 0x48 +/* 802FF198 002FC0F8 41 82 00 08 */ beq lbl_802FF1A0 +/* 802FF19C 002FC0FC 48 04 1D 0D */ bl __ct__6CTokenFRC6CToken +lbl_802FF1A0: +/* 802FF1A0 002FC100 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802FF1A4 002FC104 90 1E 00 58 */ stw r0, 0x58(r30) +/* 802FF1A8 002FC108 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802FF1AC 002FC10C 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802FF1B0 002FC110 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802FF1B4 002FC114 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF1B8 002FC118 40 82 00 1C */ bne lbl_802FF1D4 +/* 802FF1BC 002FC11C 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802FF1C0 002FC120 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF1C4 002FC124 40 82 00 10 */ bne lbl_802FF1D4 +/* 802FF1C8 002FC128 38 00 00 00 */ li r0, 0 +/* 802FF1CC 002FC12C 90 1E 00 60 */ stw r0, 0x60(r30) +/* 802FF1D0 002FC130 48 00 00 7C */ b lbl_802FF24C +lbl_802FF1D4: +/* 802FF1D4 002FC134 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802FF1D8 002FC138 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802FF1DC 002FC13C 40 82 00 10 */ bne lbl_802FF1EC +/* 802FF1E0 002FC140 38 00 00 00 */ li r0, 0 +/* 802FF1E4 002FC144 90 1E 00 60 */ stw r0, 0x60(r30) +/* 802FF1E8 002FC148 48 00 00 18 */ b lbl_802FF200 +lbl_802FF1EC: +/* 802FF1EC 002FC14C 3C 80 80 3D */ lis r4, lbl_803D6E60@ha +/* 802FF1F0 002FC150 38 A0 00 00 */ li r5, 0 +/* 802FF1F4 002FC154 38 84 6E 60 */ addi r4, r4, lbl_803D6E60@l +/* 802FF1F8 002FC158 48 01 66 21 */ bl __nwa__FUlPCcPCc +/* 802FF1FC 002FC15C 90 7E 00 60 */ stw r3, 0x60(r30) +lbl_802FF200: +/* 802FF200 002FC160 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 802FF204 002FC164 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF208 002FC168 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 802FF20C 002FC16C 7C 09 03 A6 */ mtctr r0 +/* 802FF210 002FC170 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF214 002FC174 40 81 00 38 */ ble lbl_802FF24C +lbl_802FF218: +/* 802FF218 002FC178 28 03 00 00 */ cmplwi r3, 0 +/* 802FF21C 002FC17C 41 82 00 24 */ beq lbl_802FF240 +/* 802FF220 002FC180 88 04 00 00 */ lbz r0, 0(r4) +/* 802FF224 002FC184 98 03 00 00 */ stb r0, 0(r3) +/* 802FF228 002FC188 88 04 00 01 */ lbz r0, 1(r4) +/* 802FF22C 002FC18C 98 03 00 01 */ stb r0, 1(r3) +/* 802FF230 002FC190 88 04 00 02 */ lbz r0, 2(r4) +/* 802FF234 002FC194 98 03 00 02 */ stb r0, 2(r3) +/* 802FF238 002FC198 88 04 00 03 */ lbz r0, 3(r4) +/* 802FF23C 002FC19C 98 03 00 03 */ stb r0, 3(r3) +lbl_802FF240: +/* 802FF240 002FC1A0 38 63 00 04 */ addi r3, r3, 4 +/* 802FF244 002FC1A4 38 84 00 04 */ addi r4, r4, 4 +/* 802FF248 002FC1A8 42 00 FF D0 */ bdnz lbl_802FF218 +lbl_802FF24C: +/* 802FF24C 002FC1AC 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 802FF250 002FC1B0 90 1E 00 68 */ stw r0, 0x68(r30) +/* 802FF254 002FC1B4 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 802FF258 002FC1B8 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 802FF25C 002FC1BC 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 802FF260 002FC1C0 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF264 002FC1C4 40 82 00 1C */ bne lbl_802FF280 +/* 802FF268 002FC1C8 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 802FF26C 002FC1CC 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF270 002FC1D0 40 82 00 10 */ bne lbl_802FF280 +/* 802FF274 002FC1D4 38 00 00 00 */ li r0, 0 +/* 802FF278 002FC1D8 90 1E 00 70 */ stw r0, 0x70(r30) +/* 802FF27C 002FC1DC 48 00 00 64 */ b lbl_802FF2E0 +lbl_802FF280: +/* 802FF280 002FC1E0 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802FF284 002FC1E4 2C 03 00 00 */ cmpwi r3, 0 +/* 802FF288 002FC1E8 40 82 00 10 */ bne lbl_802FF298 +/* 802FF28C 002FC1EC 38 00 00 00 */ li r0, 0 +/* 802FF290 002FC1F0 90 1E 00 70 */ stw r0, 0x70(r30) +/* 802FF294 002FC1F4 48 00 00 18 */ b lbl_802FF2AC +lbl_802FF298: +/* 802FF298 002FC1F8 3C 80 80 3D */ lis r4, lbl_803D6E60@ha +/* 802FF29C 002FC1FC 38 A0 00 00 */ li r5, 0 +/* 802FF2A0 002FC200 38 84 6E 60 */ addi r4, r4, lbl_803D6E60@l +/* 802FF2A4 002FC204 48 01 65 75 */ bl __nwa__FUlPCcPCc +/* 802FF2A8 002FC208 90 7E 00 70 */ stw r3, 0x70(r30) +lbl_802FF2AC: +/* 802FF2AC 002FC20C 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 802FF2B0 002FC210 80 9F 00 70 */ lwz r4, 0x70(r31) +/* 802FF2B4 002FC214 80 7E 00 70 */ lwz r3, 0x70(r30) +/* 802FF2B8 002FC218 7C 09 03 A6 */ mtctr r0 +/* 802FF2BC 002FC21C 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF2C0 002FC220 40 81 00 20 */ ble lbl_802FF2E0 +lbl_802FF2C4: +/* 802FF2C4 002FC224 28 03 00 00 */ cmplwi r3, 0 +/* 802FF2C8 002FC228 41 82 00 0C */ beq lbl_802FF2D4 +/* 802FF2CC 002FC22C 88 04 00 00 */ lbz r0, 0(r4) +/* 802FF2D0 002FC230 98 03 00 00 */ stb r0, 0(r3) +lbl_802FF2D4: +/* 802FF2D4 002FC234 38 63 00 01 */ addi r3, r3, 1 +/* 802FF2D8 002FC238 38 84 00 01 */ addi r4, r4, 1 +/* 802FF2DC 002FC23C 42 00 FF E8 */ bdnz lbl_802FF2C4 +lbl_802FF2E0: +/* 802FF2E0 002FC240 C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 802FF2E4 002FC244 7F C3 F3 78 */ mr r3, r30 +/* 802FF2E8 002FC248 D0 1E 00 74 */ stfs f0, 0x74(r30) +/* 802FF2EC 002FC24C 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 802FF2F0 002FC250 90 1E 00 78 */ stw r0, 0x78(r30) +/* 802FF2F4 002FC254 88 1F 00 7C */ lbz r0, 0x7c(r31) +/* 802FF2F8 002FC258 98 1E 00 7C */ stb r0, 0x7c(r30) +/* 802FF2FC 002FC25C 80 1F 00 80 */ lwz r0, 0x80(r31) +/* 802FF300 002FC260 90 1E 00 80 */ stw r0, 0x80(r30) +/* 802FF304 002FC264 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 802FF308 002FC268 90 1E 00 84 */ stw r0, 0x84(r30) +/* 802FF30C 002FC26C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FF310 002FC270 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FF314 002FC274 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF318 002FC278 7C 08 03 A6 */ mtlr r0 +/* 802FF31C 002FC27C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF320 002FC280 4E 80 00 20 */ blr + +.global SetColor__16CFontRenderStateF10EColorTypeRC10CTextColor +SetColor__16CFontRenderStateF10EColorTypeRC10CTextColor: +/* 802FF324 002FC284 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF328 002FC288 7C 08 02 A6 */ mflr r0 +/* 802FF32C 002FC28C 2C 04 00 03 */ cmpwi r4, 3 +/* 802FF330 002FC290 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF334 002FC294 41 82 00 50 */ beq lbl_802FF384 +/* 802FF338 002FC298 40 80 00 10 */ bge lbl_802FF348 +/* 802FF33C 002FC29C 2C 04 00 00 */ cmpwi r4, 0 +/* 802FF340 002FC2A0 40 80 00 14 */ bge lbl_802FF354 +/* 802FF344 002FC2A4 48 00 00 8C */ b lbl_802FF3D0 +lbl_802FF348: +/* 802FF348 002FC2A8 2C 04 00 05 */ cmpwi r4, 5 +/* 802FF34C 002FC2AC 40 80 00 84 */ bge lbl_802FF3D0 +/* 802FF350 002FC2B0 48 00 00 5C */ b lbl_802FF3AC +lbl_802FF354: +/* 802FF354 002FC2B4 80 E3 00 60 */ lwz r7, 0x60(r3) +/* 802FF358 002FC2B8 54 86 10 3A */ slwi r6, r4, 2 +/* 802FF35C 002FC2BC 88 05 00 00 */ lbz r0, 0(r5) +/* 802FF360 002FC2C0 7C C7 32 14 */ add r6, r7, r6 +/* 802FF364 002FC2C4 98 06 00 00 */ stb r0, 0(r6) +/* 802FF368 002FC2C8 88 05 00 01 */ lbz r0, 1(r5) +/* 802FF36C 002FC2CC 98 06 00 01 */ stb r0, 1(r6) +/* 802FF370 002FC2D0 88 05 00 02 */ lbz r0, 2(r5) +/* 802FF374 002FC2D4 98 06 00 02 */ stb r0, 2(r6) +/* 802FF378 002FC2D8 88 05 00 03 */ lbz r0, 3(r5) +/* 802FF37C 002FC2DC 98 06 00 03 */ stb r0, 3(r6) +/* 802FF380 002FC2E0 48 00 00 50 */ b lbl_802FF3D0 +lbl_802FF384: +/* 802FF384 002FC2E4 80 C3 00 60 */ lwz r6, 0x60(r3) +/* 802FF388 002FC2E8 88 05 00 00 */ lbz r0, 0(r5) +/* 802FF38C 002FC2EC 98 06 00 00 */ stb r0, 0(r6) +/* 802FF390 002FC2F0 88 05 00 01 */ lbz r0, 1(r5) +/* 802FF394 002FC2F4 98 06 00 01 */ stb r0, 1(r6) +/* 802FF398 002FC2F8 88 05 00 02 */ lbz r0, 2(r5) +/* 802FF39C 002FC2FC 98 06 00 02 */ stb r0, 2(r6) +/* 802FF3A0 002FC300 88 05 00 03 */ lbz r0, 3(r5) +/* 802FF3A4 002FC304 98 06 00 03 */ stb r0, 3(r6) +/* 802FF3A8 002FC308 48 00 00 28 */ b lbl_802FF3D0 +lbl_802FF3AC: +/* 802FF3AC 002FC30C 80 C3 00 60 */ lwz r6, 0x60(r3) +/* 802FF3B0 002FC310 88 05 00 00 */ lbz r0, 0(r5) +/* 802FF3B4 002FC314 98 06 00 04 */ stb r0, 4(r6) +/* 802FF3B8 002FC318 88 05 00 01 */ lbz r0, 1(r5) +/* 802FF3BC 002FC31C 98 06 00 05 */ stb r0, 5(r6) +/* 802FF3C0 002FC320 88 05 00 02 */ lbz r0, 2(r5) +/* 802FF3C4 002FC324 98 06 00 06 */ stb r0, 6(r6) +/* 802FF3C8 002FC328 88 05 00 03 */ lbz r0, 3(r5) +/* 802FF3CC 002FC32C 98 06 00 07 */ stb r0, 7(r6) +lbl_802FF3D0: +/* 802FF3D0 002FC330 48 00 00 51 */ bl RefreshColor__16CFontRenderStateF10EColorType +/* 802FF3D4 002FC334 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF3D8 002FC338 7C 08 03 A6 */ mtlr r0 +/* 802FF3DC 002FC33C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF3E0 002FC340 4E 80 00 20 */ blr + +.global RefreshPalette__16CFontRenderStateFv +RefreshPalette__16CFontRenderStateFv: +/* 802FF3E4 002FC344 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF3E8 002FC348 7C 08 02 A6 */ mflr r0 +/* 802FF3EC 002FC34C 38 80 00 03 */ li r4, 3 +/* 802FF3F0 002FC350 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF3F4 002FC354 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FF3F8 002FC358 7C 7F 1B 78 */ mr r31, r3 +/* 802FF3FC 002FC35C 48 00 00 25 */ bl RefreshColor__16CFontRenderStateF10EColorType +/* 802FF400 002FC360 7F E3 FB 78 */ mr r3, r31 +/* 802FF404 002FC364 38 80 00 04 */ li r4, 4 +/* 802FF408 002FC368 48 00 00 19 */ bl RefreshColor__16CFontRenderStateF10EColorType +/* 802FF40C 002FC36C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF410 002FC370 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FF414 002FC374 7C 08 03 A6 */ mtlr r0 +/* 802FF418 002FC378 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF41C 002FC37C 4E 80 00 20 */ blr + +.global RefreshColor__16CFontRenderStateF10EColorType +RefreshColor__16CFontRenderStateF10EColorType: +/* 802FF420 002FC380 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF424 002FC384 7C 08 02 A6 */ mflr r0 +/* 802FF428 002FC388 2C 04 00 02 */ cmpwi r4, 2 +/* 802FF42C 002FC38C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF430 002FC390 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FF434 002FC394 7C 7F 1B 78 */ mr r31, r3 +/* 802FF438 002FC398 41 82 00 B4 */ beq lbl_802FF4EC +/* 802FF43C 002FC39C 40 80 00 14 */ bge lbl_802FF450 +/* 802FF440 002FC3A0 2C 04 00 00 */ cmpwi r4, 0 +/* 802FF444 002FC3A4 41 82 00 1C */ beq lbl_802FF460 +/* 802FF448 002FC3A8 40 80 00 C8 */ bge lbl_802FF510 +/* 802FF44C 002FC3AC 48 00 01 40 */ b lbl_802FF58C +lbl_802FF450: +/* 802FF450 002FC3B0 2C 04 00 04 */ cmpwi r4, 4 +/* 802FF454 002FC3B4 41 82 01 30 */ beq lbl_802FF584 +/* 802FF458 002FC3B8 40 80 01 34 */ bge lbl_802FF58C +/* 802FF45C 002FC3BC 48 00 01 10 */ b lbl_802FF56C +lbl_802FF460: +/* 802FF460 002FC3C0 48 00 24 99 */ bl IsFinishedLoading__14CSaveableStateFv +/* 802FF464 002FC3C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FF468 002FC3C8 41 82 01 24 */ beq lbl_802FF58C +/* 802FF46C 002FC3CC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 802FF470 002FC3D0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802FF474 002FC3D4 28 00 00 00 */ cmplwi r0, 0 +/* 802FF478 002FC3D8 41 82 01 14 */ beq lbl_802FF58C +/* 802FF47C 002FC3DC 38 7F 00 48 */ addi r3, r31, 0x48 +/* 802FF480 002FC3E0 48 04 19 8D */ bl GetObj__6CTokenFv +/* 802FF484 002FC3E4 80 63 00 04 */ lwz r3, 4(r3) +/* 802FF488 002FC3E8 48 00 13 95 */ bl GetMode__11CRasterFontCFv +/* 802FF48C 002FC3EC 2C 03 00 01 */ cmpwi r3, 1 +/* 802FF490 002FC3F0 41 82 00 38 */ beq lbl_802FF4C8 +/* 802FF494 002FC3F4 40 80 00 F8 */ bge lbl_802FF58C +/* 802FF498 002FC3F8 2C 03 00 00 */ cmpwi r3, 0 +/* 802FF49C 002FC3FC 40 80 00 08 */ bge lbl_802FF4A4 +/* 802FF4A0 002FC400 48 00 00 EC */ b lbl_802FF58C +lbl_802FF4A4: +/* 802FF4A4 002FC404 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 802FF4A8 002FC408 88 03 00 00 */ lbz r0, 0(r3) +/* 802FF4AC 002FC40C 28 00 00 00 */ cmplwi r0, 0 +/* 802FF4B0 002FC410 40 82 00 DC */ bne lbl_802FF58C +/* 802FF4B4 002FC414 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF4B8 002FC418 7F E3 FB 78 */ mr r3, r31 +/* 802FF4BC 002FC41C 4B FF F8 09 */ bl ConvertToTextureSpace__16CFontRenderStateCFRC10CTextColor +/* 802FF4C0 002FC420 90 7F 00 08 */ stw r3, 8(r31) +/* 802FF4C4 002FC424 48 00 00 C8 */ b lbl_802FF58C +lbl_802FF4C8: +/* 802FF4C8 002FC428 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 802FF4CC 002FC42C 88 03 00 00 */ lbz r0, 0(r3) +/* 802FF4D0 002FC430 28 00 00 00 */ cmplwi r0, 0 +/* 802FF4D4 002FC434 40 82 00 B8 */ bne lbl_802FF58C +/* 802FF4D8 002FC438 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF4DC 002FC43C 7F E3 FB 78 */ mr r3, r31 +/* 802FF4E0 002FC440 4B FF F7 E5 */ bl ConvertToTextureSpace__16CFontRenderStateCFRC10CTextColor +/* 802FF4E4 002FC444 90 7F 00 08 */ stw r3, 8(r31) +/* 802FF4E8 002FC448 48 00 00 A4 */ b lbl_802FF58C +lbl_802FF4EC: +/* 802FF4EC 002FC44C 80 9F 00 70 */ lwz r4, 0x70(r31) +/* 802FF4F0 002FC450 88 04 00 02 */ lbz r0, 2(r4) +/* 802FF4F4 002FC454 28 00 00 00 */ cmplwi r0, 0 +/* 802FF4F8 002FC458 40 82 00 94 */ bne lbl_802FF58C +/* 802FF4FC 002FC45C 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF500 002FC460 38 84 00 08 */ addi r4, r4, 8 +/* 802FF504 002FC464 4B FF F7 C1 */ bl ConvertToTextureSpace__16CFontRenderStateCFRC10CTextColor +/* 802FF508 002FC468 90 7F 00 10 */ stw r3, 0x10(r31) +/* 802FF50C 002FC46C 48 00 00 80 */ b lbl_802FF58C +lbl_802FF510: +/* 802FF510 002FC470 48 00 23 E9 */ bl IsFinishedLoading__14CSaveableStateFv +/* 802FF514 002FC474 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802FF518 002FC478 41 82 00 74 */ beq lbl_802FF58C +/* 802FF51C 002FC47C 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 802FF520 002FC480 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802FF524 002FC484 28 00 00 00 */ cmplwi r0, 0 +/* 802FF528 002FC488 41 82 00 64 */ beq lbl_802FF58C +/* 802FF52C 002FC48C 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 802FF530 002FC490 88 03 00 01 */ lbz r0, 1(r3) +/* 802FF534 002FC494 28 00 00 00 */ cmplwi r0, 0 +/* 802FF538 002FC498 40 82 00 54 */ bne lbl_802FF58C +/* 802FF53C 002FC49C 38 7F 00 48 */ addi r3, r31, 0x48 +/* 802FF540 002FC4A0 48 04 18 CD */ bl GetObj__6CTokenFv +/* 802FF544 002FC4A4 80 63 00 04 */ lwz r3, 4(r3) +/* 802FF548 002FC4A8 48 00 12 D5 */ bl GetMode__11CRasterFontCFv +/* 802FF54C 002FC4AC 2C 03 00 01 */ cmpwi r3, 1 +/* 802FF550 002FC4B0 40 82 00 3C */ bne lbl_802FF58C +/* 802FF554 002FC4B4 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF558 002FC4B8 7F E3 FB 78 */ mr r3, r31 +/* 802FF55C 002FC4BC 38 84 00 04 */ addi r4, r4, 4 +/* 802FF560 002FC4C0 4B FF F7 65 */ bl ConvertToTextureSpace__16CFontRenderStateCFRC10CTextColor +/* 802FF564 002FC4C4 90 7F 00 0C */ stw r3, 0xc(r31) +/* 802FF568 002FC4C8 48 00 00 24 */ b lbl_802FF58C +lbl_802FF56C: +/* 802FF56C 002FC4CC 38 80 00 00 */ li r4, 0 +/* 802FF570 002FC4D0 4B FF FE B1 */ bl RefreshColor__16CFontRenderStateF10EColorType +/* 802FF574 002FC4D4 7F E3 FB 78 */ mr r3, r31 +/* 802FF578 002FC4D8 38 80 00 02 */ li r4, 2 +/* 802FF57C 002FC4DC 4B FF FE A5 */ bl RefreshColor__16CFontRenderStateF10EColorType +/* 802FF580 002FC4E0 48 00 00 0C */ b lbl_802FF58C +lbl_802FF584: +/* 802FF584 002FC4E4 38 80 00 01 */ li r4, 1 +/* 802FF588 002FC4E8 4B FF FE 99 */ bl RefreshColor__16CFontRenderStateF10EColorType +lbl_802FF58C: +/* 802FF58C 002FC4EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF590 002FC4F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FF594 002FC4F4 7C 08 03 A6 */ mtlr r0 +/* 802FF598 002FC4F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF59C 002FC4FC 4E 80 00 20 */ blr + +.global __ct__16CFontRenderStateFv +__ct__16CFontRenderStateFv: +/* 802FF5A0 002FC500 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF5A4 002FC504 7C 08 02 A6 */ mflr r0 +/* 802FF5A8 002FC508 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF5AC 002FC50C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FF5B0 002FC510 7C 7F 1B 78 */ mr r31, r3 +/* 802FF5B4 002FC514 48 00 23 CD */ bl __ct__14CSaveableStateFv +/* 802FF5B8 002FC518 38 00 00 00 */ li r0, 0 +/* 802FF5BC 002FC51C 38 7F 00 8C */ addi r3, r31, 0x8c +/* 802FF5C0 002FC520 90 1F 00 88 */ stw r0, 0x88(r31) +/* 802FF5C4 002FC524 4B FF F4 11 */ bl __ct__18CDrawStringOptionsFv +/* 802FF5C8 002FC528 38 E0 00 00 */ li r7, 0 +/* 802FF5CC 002FC52C 38 C0 00 01 */ li r6, 1 +/* 802FF5D0 002FC530 90 FF 00 D4 */ stw r7, 0xd4(r31) +/* 802FF5D4 002FC534 38 9F 01 18 */ addi r4, r31, 0x118 +/* 802FF5D8 002FC538 38 A0 00 FF */ li r5, 0xff +/* 802FF5DC 002FC53C 38 00 00 80 */ li r0, 0x80 +/* 802FF5E0 002FC540 90 FF 00 D8 */ stw r7, 0xd8(r31) +/* 802FF5E4 002FC544 7F E3 FB 78 */ mr r3, r31 +/* 802FF5E8 002FC548 90 FF 00 DC */ stw r7, 0xdc(r31) +/* 802FF5EC 002FC54C 90 FF 00 EC */ stw r7, 0xec(r31) +/* 802FF5F0 002FC550 90 FF 00 F0 */ stw r7, 0xf0(r31) +/* 802FF5F4 002FC554 90 FF 00 F4 */ stw r7, 0xf4(r31) +/* 802FF5F8 002FC558 90 FF 00 FC */ stw r7, 0xfc(r31) +/* 802FF5FC 002FC55C 90 FF 01 00 */ stw r7, 0x100(r31) +/* 802FF600 002FC560 90 FF 01 04 */ stw r7, 0x104(r31) +/* 802FF604 002FC564 98 DF 01 08 */ stb r6, 0x108(r31) +/* 802FF608 002FC568 90 9F 01 10 */ stw r4, 0x110(r31) +/* 802FF60C 002FC56C 90 9F 01 14 */ stw r4, 0x114(r31) +/* 802FF610 002FC570 90 9F 01 18 */ stw r4, 0x118(r31) +/* 802FF614 002FC574 90 9F 01 1C */ stw r4, 0x11c(r31) +/* 802FF618 002FC578 90 FF 01 20 */ stw r7, 0x120(r31) +/* 802FF61C 002FC57C 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF620 002FC580 98 A4 00 00 */ stb r5, 0(r4) +/* 802FF624 002FC584 98 A4 00 01 */ stb r5, 1(r4) +/* 802FF628 002FC588 98 A4 00 02 */ stb r5, 2(r4) +/* 802FF62C 002FC58C 98 A4 00 03 */ stb r5, 3(r4) +/* 802FF630 002FC590 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF634 002FC594 98 04 00 04 */ stb r0, 4(r4) +/* 802FF638 002FC598 98 04 00 05 */ stb r0, 5(r4) +/* 802FF63C 002FC59C 98 04 00 06 */ stb r0, 6(r4) +/* 802FF640 002FC5A0 98 A4 00 07 */ stb r5, 7(r4) +/* 802FF644 002FC5A4 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 802FF648 002FC5A8 98 A4 00 08 */ stb r5, 8(r4) +/* 802FF64C 002FC5AC 98 A4 00 09 */ stb r5, 9(r4) +/* 802FF650 002FC5B0 98 A4 00 0A */ stb r5, 0xa(r4) +/* 802FF654 002FC5B4 98 A4 00 0B */ stb r5, 0xb(r4) +/* 802FF658 002FC5B8 4B FF FD 8D */ bl RefreshPalette__16CFontRenderStateFv +/* 802FF65C 002FC5BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF660 002FC5C0 7F E3 FB 78 */ mr r3, r31 +/* 802FF664 002FC5C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FF668 002FC5C8 7C 08 03 A6 */ mtlr r0 +/* 802FF66C 002FC5CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF670 002FC5D0 4E 80 00 20 */ blr + +.global sub_802ff674 +sub_802ff674: +/* 802FF674 002FC5D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FF678 002FC5D8 7C 08 02 A6 */ mflr r0 +/* 802FF67C 002FC5DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FF680 002FC5E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FF684 002FC5E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FF688 002FC5E8 7C 9E 23 78 */ mr r30, r4 +/* 802FF68C 002FC5EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FF690 002FC5F0 7C 7D 1B 78 */ mr r29, r3 +/* 802FF694 002FC5F4 80 03 00 04 */ lwz r0, 4(r3) +/* 802FF698 002FC5F8 83 E4 00 04 */ lwz r31, 4(r4) +/* 802FF69C 002FC5FC 7C 1E 00 40 */ cmplw r30, r0 +/* 802FF6A0 002FC600 40 82 00 08 */ bne lbl_802FF6A8 +/* 802FF6A4 002FC604 93 FD 00 04 */ stw r31, 4(r29) +lbl_802FF6A8: +/* 802FF6A8 002FC608 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FF6AC 002FC60C 38 7E 00 08 */ addi r3, r30, 8 +/* 802FF6B0 002FC610 80 BE 00 00 */ lwz r5, 0(r30) +/* 802FF6B4 002FC614 38 80 FF FF */ li r4, -1 +/* 802FF6B8 002FC618 90 05 00 04 */ stw r0, 4(r5) +/* 802FF6BC 002FC61C 80 1E 00 00 */ lwz r0, 0(r30) +/* 802FF6C0 002FC620 80 BE 00 04 */ lwz r5, 4(r30) +/* 802FF6C4 002FC624 90 05 00 00 */ stw r0, 0(r5) +/* 802FF6C8 002FC628 4B D2 96 5D */ bl __dt__14CSaveableStateFv +/* 802FF6CC 002FC62C 28 1E 00 00 */ cmplwi r30, 0 +/* 802FF6D0 002FC630 41 82 00 0C */ beq lbl_802FF6DC +/* 802FF6D4 002FC634 7F C3 F3 78 */ mr r3, r30 +/* 802FF6D8 002FC638 48 01 62 59 */ bl Free__7CMemoryFPCv +lbl_802FF6DC: +/* 802FF6DC 002FC63C 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802FF6E0 002FC640 7F E3 FB 78 */ mr r3, r31 +/* 802FF6E4 002FC644 38 04 FF FF */ addi r0, r4, -1 +/* 802FF6E8 002FC648 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802FF6EC 002FC64C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FF6F0 002FC650 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FF6F4 002FC654 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FF6F8 002FC658 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FF6FC 002FC65C 7C 08 03 A6 */ mtlr r0 +/* 802FF700 002FC660 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FF704 002FC664 4E 80 00 20 */ blr + +.global sub_802ff708 +sub_802ff708: +/* 802FF708 002FC668 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802FF70C 002FC66C 7C 08 02 A6 */ mflr r0 +/* 802FF710 002FC670 90 01 00 34 */ stw r0, 0x34(r1) +/* 802FF714 002FC674 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802FF718 002FC678 7C 9F 23 78 */ mr r31, r4 +/* 802FF71C 002FC67C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802FF720 002FC680 7C 7E 1B 78 */ mr r30, r3 +/* 802FF724 002FC684 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802FF728 002FC688 80 03 00 08 */ lwz r0, 8(r3) +/* 802FF72C 002FC68C 7C 1F 00 00 */ cmpw r31, r0 +/* 802FF730 002FC690 40 81 00 C0 */ ble lbl_802FF7F0 +/* 802FF734 002FC694 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802FF738 002FC698 40 82 00 0C */ bne lbl_802FF744 +/* 802FF73C 002FC69C 3B A0 00 00 */ li r29, 0 +/* 802FF740 002FC6A0 48 00 00 18 */ b lbl_802FF758 +lbl_802FF744: +/* 802FF744 002FC6A4 3C 80 80 3D */ lis r4, lbl_803D6E60@ha +/* 802FF748 002FC6A8 38 A0 00 00 */ li r5, 0 +/* 802FF74C 002FC6AC 38 84 6E 60 */ addi r4, r4, lbl_803D6E60@l +/* 802FF750 002FC6B0 48 01 60 C9 */ bl __nwa__FUlPCcPCc +/* 802FF754 002FC6B4 7C 7D 1B 78 */ mr r29, r3 +lbl_802FF758: +/* 802FF758 002FC6B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FF75C 002FC6BC 7F A4 EB 78 */ mr r4, r29 +/* 802FF760 002FC6C0 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802FF764 002FC6C4 54 00 10 3A */ slwi r0, r0, 2 +/* 802FF768 002FC6C8 7C 65 02 14 */ add r3, r5, r0 +/* 802FF76C 002FC6CC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802FF770 002FC6D0 90 61 00 08 */ stw r3, 8(r1) +/* 802FF774 002FC6D4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802FF778 002FC6D8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802FF77C 002FC6DC 48 00 00 34 */ b lbl_802FF7B0 +lbl_802FF780: +/* 802FF780 002FC6E0 28 04 00 00 */ cmplwi r4, 0 +/* 802FF784 002FC6E4 41 82 00 24 */ beq lbl_802FF7A8 +/* 802FF788 002FC6E8 88 05 00 00 */ lbz r0, 0(r5) +/* 802FF78C 002FC6EC 98 04 00 00 */ stb r0, 0(r4) +/* 802FF790 002FC6F0 88 05 00 01 */ lbz r0, 1(r5) +/* 802FF794 002FC6F4 98 04 00 01 */ stb r0, 1(r4) +/* 802FF798 002FC6F8 88 05 00 02 */ lbz r0, 2(r5) +/* 802FF79C 002FC6FC 98 04 00 02 */ stb r0, 2(r4) +/* 802FF7A0 002FC700 88 05 00 03 */ lbz r0, 3(r5) +/* 802FF7A4 002FC704 98 04 00 03 */ stb r0, 3(r4) +lbl_802FF7A8: +/* 802FF7A8 002FC708 38 84 00 04 */ addi r4, r4, 4 +/* 802FF7AC 002FC70C 38 A5 00 04 */ addi r5, r5, 4 +lbl_802FF7B0: +/* 802FF7B0 002FC710 7C 05 18 40 */ cmplw r5, r3 +/* 802FF7B4 002FC714 40 82 FF CC */ bne lbl_802FF780 +/* 802FF7B8 002FC718 80 1E 00 04 */ lwz r0, 4(r30) +/* 802FF7BC 002FC71C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802FF7C0 002FC720 54 00 10 3A */ slwi r0, r0, 2 +/* 802FF7C4 002FC724 7C 64 1B 78 */ mr r4, r3 +/* 802FF7C8 002FC728 7C 03 02 14 */ add r0, r3, r0 +/* 802FF7CC 002FC72C 48 00 00 08 */ b lbl_802FF7D4 +lbl_802FF7D0: +/* 802FF7D0 002FC730 38 84 00 04 */ addi r4, r4, 4 +lbl_802FF7D4: +/* 802FF7D4 002FC734 7C 04 00 40 */ cmplw r4, r0 +/* 802FF7D8 002FC738 40 82 FF F8 */ bne lbl_802FF7D0 +/* 802FF7DC 002FC73C 28 03 00 00 */ cmplwi r3, 0 +/* 802FF7E0 002FC740 41 82 00 08 */ beq lbl_802FF7E8 +/* 802FF7E4 002FC744 48 01 61 4D */ bl Free__7CMemoryFPCv +lbl_802FF7E8: +/* 802FF7E8 002FC748 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802FF7EC 002FC74C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802FF7F0: +/* 802FF7F0 002FC750 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802FF7F4 002FC754 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802FF7F8 002FC758 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802FF7FC 002FC75C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802FF800 002FC760 7C 08 03 A6 */ mtlr r0 +/* 802FF804 002FC764 38 21 00 30 */ addi r1, r1, 0x30 +/* 802FF808 002FC768 4E 80 00 20 */ blr + +.global __dt__26CLineExtraSpaceInstructionFv +__dt__26CLineExtraSpaceInstructionFv: +/* 802FF80C 002FC76C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF810 002FC770 7C 08 02 A6 */ mflr r0 +/* 802FF814 002FC774 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF818 002FC778 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FF81C 002FC77C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FF820 002FC780 41 82 00 30 */ beq lbl_802FF850 +/* 802FF824 002FC784 3C 60 80 3F */ lis r3, lbl_803ED610@ha +/* 802FF828 002FC788 38 03 D6 10 */ addi r0, r3, lbl_803ED610@l +/* 802FF82C 002FC78C 90 1F 00 00 */ stw r0, 0(r31) +/* 802FF830 002FC790 41 82 00 10 */ beq lbl_802FF840 +/* 802FF834 002FC794 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FF838 002FC798 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FF83C 002FC79C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FF840: +/* 802FF840 002FC7A0 7C 80 07 35 */ extsh. r0, r4 +/* 802FF844 002FC7A4 40 81 00 0C */ ble lbl_802FF850 +/* 802FF848 002FC7A8 7F E3 FB 78 */ mr r3, r31 +/* 802FF84C 002FC7AC 48 01 60 E5 */ bl Free__7CMemoryFPCv +lbl_802FF850: +/* 802FF850 002FC7B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF854 002FC7B4 7F E3 FB 78 */ mr r3, r31 +/* 802FF858 002FC7B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FF85C 002FC7BC 7C 08 03 A6 */ mtlr r0 +/* 802FF860 002FC7C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF864 002FC7C4 4E 80 00 20 */ blr + +.global PageInvoke__26CLineExtraSpaceInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__26CLineExtraSpaceInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FF868 002FC7C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF86C 002FC7CC 7C 08 02 A6 */ mflr r0 +/* 802FF870 002FC7D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF874 002FC7D4 81 83 00 00 */ lwz r12, 0(r3) +/* 802FF878 002FC7D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FF87C 002FC7DC 7D 89 03 A6 */ mtctr r12 +/* 802FF880 002FC7E0 4E 80 04 21 */ bctrl +/* 802FF884 002FC7E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF888 002FC7E8 7C 08 03 A6 */ mtlr r0 +/* 802FF88C 002FC7EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF890 002FC7F0 4E 80 00 20 */ blr + +.global Invoke__26CLineExtraSpaceInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__26CLineExtraSpaceInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FF894 002FC7F4 80 03 00 04 */ lwz r0, 4(r3) +/* 802FF898 002FC7F8 90 04 00 78 */ stw r0, 0x78(r4) +/* 802FF89C 002FC7FC 4E 80 00 20 */ blr + +.global __dt__16CLineInstructionFv +__dt__16CLineInstructionFv: +/* 802FF8A0 002FC800 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FF8A4 002FC804 7C 08 02 A6 */ mflr r0 +/* 802FF8A8 002FC808 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FF8AC 002FC80C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FF8B0 002FC810 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FF8B4 002FC814 41 82 00 30 */ beq lbl_802FF8E4 +/* 802FF8B8 002FC818 3C 60 80 3F */ lis r3, lbl_803ED630@ha +/* 802FF8BC 002FC81C 38 03 D6 30 */ addi r0, r3, lbl_803ED630@l +/* 802FF8C0 002FC820 90 1F 00 00 */ stw r0, 0(r31) +/* 802FF8C4 002FC824 41 82 00 10 */ beq lbl_802FF8D4 +/* 802FF8C8 002FC828 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FF8CC 002FC82C 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FF8D0 002FC830 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FF8D4: +/* 802FF8D4 002FC834 7C 80 07 35 */ extsh. r0, r4 +/* 802FF8D8 002FC838 40 81 00 0C */ ble lbl_802FF8E4 +/* 802FF8DC 002FC83C 7F E3 FB 78 */ mr r3, r31 +/* 802FF8E0 002FC840 48 01 60 51 */ bl Free__7CMemoryFPCv +lbl_802FF8E4: +/* 802FF8E4 002FC844 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FF8E8 002FC848 7F E3 FB 78 */ mr r3, r31 +/* 802FF8EC 002FC84C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FF8F0 002FC850 7C 08 03 A6 */ mtlr r0 +/* 802FF8F4 002FC854 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FF8F8 002FC858 4E 80 00 20 */ blr + +.global GetBaseline__16CLineInstructionFv +GetBaseline__16CLineInstructionFv: +/* 802FF8FC 002FC85C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802FF900 002FC860 38 80 00 00 */ li r4, 0 +/* 802FF904 002FC864 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF908 002FC868 41 82 00 14 */ beq lbl_802FF91C +/* 802FF90C 002FC86C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802FF910 002FC870 28 00 00 00 */ cmplwi r0, 0 +/* 802FF914 002FC874 40 82 00 08 */ bne lbl_802FF91C +/* 802FF918 002FC878 38 80 00 01 */ li r4, 1 +lbl_802FF91C: +/* 802FF91C 002FC87C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802FF920 002FC880 41 82 00 0C */ beq lbl_802FF92C +/* 802FF924 002FC884 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802FF928 002FC888 4E 80 00 20 */ blr +lbl_802FF92C: +/* 802FF92C 002FC88C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802FF930 002FC890 4E 80 00 20 */ blr + +.global GetHeight__16CLineInstructionFv +GetHeight__16CLineInstructionFv: +/* 802FF934 002FC894 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802FF938 002FC898 38 80 00 00 */ li r4, 0 +/* 802FF93C 002FC89C 2C 05 00 00 */ cmpwi r5, 0 +/* 802FF940 002FC8A0 41 82 00 14 */ beq lbl_802FF954 +/* 802FF944 002FC8A4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802FF948 002FC8A8 28 00 00 00 */ cmplwi r0, 0 +/* 802FF94C 002FC8AC 40 82 00 08 */ bne lbl_802FF954 +/* 802FF950 002FC8B0 38 80 00 01 */ li r4, 1 +lbl_802FF954: +/* 802FF954 002FC8B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802FF958 002FC8B8 41 82 00 08 */ beq lbl_802FF960 +/* 802FF95C 002FC8BC 48 00 00 08 */ b lbl_802FF964 +lbl_802FF960: +/* 802FF960 002FC8C0 80 A3 00 1C */ lwz r5, 0x1c(r3) +lbl_802FF964: +/* 802FF964 002FC8C4 7C A3 2B 78 */ mr r3, r5 +/* 802FF968 002FC8C8 4E 80 00 20 */ blr + +.global TestLargestImage__16CLineInstructionFiii +TestLargestImage__16CLineInstructionFiii: +/* 802FF96C 002FC8CC 80 03 00 24 */ lwz r0, 0x24(r3) +/* 802FF970 002FC8D0 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF974 002FC8D4 40 82 00 08 */ bne lbl_802FF97C +/* 802FF978 002FC8D8 90 C3 00 24 */ stw r6, 0x24(r3) +lbl_802FF97C: +/* 802FF97C 002FC8DC 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802FF980 002FC8E0 7C 00 20 00 */ cmpw r0, r4 +/* 802FF984 002FC8E4 40 80 00 08 */ bge lbl_802FF98C +/* 802FF988 002FC8E8 90 83 00 20 */ stw r4, 0x20(r3) +lbl_802FF98C: +/* 802FF98C 002FC8EC 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802FF990 002FC8F0 7C 00 28 00 */ cmpw r0, r5 +/* 802FF994 002FC8F4 4C 80 00 20 */ bgelr +/* 802FF998 002FC8F8 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 802FF99C 002FC8FC 90 C3 00 24 */ stw r6, 0x24(r3) +/* 802FF9A0 002FC900 4E 80 00 20 */ blr + +.global TestLargestFont__16CLineInstructionFiii +TestLargestFont__16CLineInstructionFiii: +/* 802FF9A4 002FC904 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802FF9A8 002FC908 2C 00 00 00 */ cmpwi r0, 0 +/* 802FF9AC 002FC90C 40 82 00 08 */ bne lbl_802FF9B4 +/* 802FF9B0 002FC910 90 C3 00 18 */ stw r6, 0x18(r3) +lbl_802FF9B4: +/* 802FF9B4 002FC914 80 03 00 14 */ lwz r0, 0x14(r3) +/* 802FF9B8 002FC918 7C 00 20 00 */ cmpw r0, r4 +/* 802FF9BC 002FC91C 40 80 00 08 */ bge lbl_802FF9C4 +/* 802FF9C0 002FC920 90 83 00 14 */ stw r4, 0x14(r3) +lbl_802FF9C4: +/* 802FF9C4 002FC924 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802FF9C8 002FC928 7C 00 28 00 */ cmpw r0, r5 +/* 802FF9CC 002FC92C 4C 80 00 20 */ bgelr +/* 802FF9D0 002FC930 90 A3 00 10 */ stw r5, 0x10(r3) +/* 802FF9D4 002FC934 90 C3 00 18 */ stw r6, 0x18(r3) +/* 802FF9D8 002FC938 4E 80 00 20 */ blr + +.global SetLineSpacing__16CFontRenderStateFf +SetLineSpacing__16CFontRenderStateFf: +/* 802FF9DC 002FC93C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FF9E0 002FC940 80 03 00 28 */ lwz r0, 0x28(r3) +/* 802FF9E4 002FC944 28 00 00 09 */ cmplwi r0, 9 +/* 802FF9E8 002FC948 41 81 01 1C */ bgt lbl_802FFB04 +/* 802FF9EC 002FC94C 3C A0 80 3F */ lis r5, lbl_803ED64C@ha +/* 802FF9F0 002FC950 54 00 10 3A */ slwi r0, r0, 2 +/* 802FF9F4 002FC954 38 A5 D6 4C */ addi r5, r5, lbl_803ED64C@l +/* 802FF9F8 002FC958 7C 05 00 2E */ lwzx r0, r5, r0 +/* 802FF9FC 002FC95C 7C 09 03 A6 */ mtctr r0 +/* 802FFA00 002FC960 4E 80 04 20 */ bctr +/* 802FFA04 002FC964 80 64 00 88 */ lwz r3, 0x88(r4) +/* 802FFA08 002FC968 80 03 00 04 */ lwz r0, 4(r3) +/* 802FFA0C 002FC96C 90 04 00 D4 */ stw r0, 0xd4(r4) +/* 802FFA10 002FC970 48 00 00 F4 */ b lbl_802FFB04 +/* 802FFA14 002FC974 80 A4 00 88 */ lwz r5, 0x88(r4) +/* 802FFA18 002FC978 80 C3 00 08 */ lwz r6, 8(r3) +/* 802FFA1C 002FC97C 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802FFA20 002FC980 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802FFA24 002FC984 80 A5 00 04 */ lwz r5, 4(r5) +/* 802FFA28 002FC988 7C C0 32 14 */ add r6, r0, r6 +/* 802FFA2C 002FC98C 54 60 0F FE */ srwi r0, r3, 0x1f +/* 802FFA30 002FC990 7C C6 0E 70 */ srawi r6, r6, 1 +/* 802FFA34 002FC994 7C 00 1A 14 */ add r0, r0, r3 +/* 802FFA38 002FC998 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802FFA3C 002FC99C 7C 05 02 14 */ add r0, r5, r0 +/* 802FFA40 002FC9A0 7C 06 00 50 */ subf r0, r6, r0 +/* 802FFA44 002FC9A4 90 04 00 D4 */ stw r0, 0xd4(r4) +/* 802FFA48 002FC9A8 48 00 00 BC */ b lbl_802FFB04 +/* 802FFA4C 002FC9AC 80 03 00 04 */ lwz r0, 4(r3) +/* 802FFA50 002FC9B0 2C 00 00 01 */ cmpwi r0, 1 +/* 802FFA54 002FC9B4 40 82 00 3C */ bne lbl_802FFA90 +/* 802FFA58 002FC9B8 80 A4 00 88 */ lwz r5, 0x88(r4) +/* 802FFA5C 002FC9BC 80 C3 00 08 */ lwz r6, 8(r3) +/* 802FFA60 002FC9C0 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802FFA64 002FC9C4 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802FFA68 002FC9C8 80 A5 00 04 */ lwz r5, 4(r5) +/* 802FFA6C 002FC9CC 7C C0 32 14 */ add r6, r0, r6 +/* 802FFA70 002FC9D0 54 60 0F FE */ srwi r0, r3, 0x1f +/* 802FFA74 002FC9D4 7C C6 0E 70 */ srawi r6, r6, 1 +/* 802FFA78 002FC9D8 7C 00 1A 14 */ add r0, r0, r3 +/* 802FFA7C 002FC9DC 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802FFA80 002FC9E0 7C 05 02 14 */ add r0, r5, r0 +/* 802FFA84 002FC9E4 7C 06 00 50 */ subf r0, r6, r0 +/* 802FFA88 002FC9E8 90 04 00 D4 */ stw r0, 0xd4(r4) +/* 802FFA8C 002FC9EC 48 00 00 78 */ b lbl_802FFB04 +lbl_802FFA90: +/* 802FFA90 002FC9F0 80 A4 00 88 */ lwz r5, 0x88(r4) +/* 802FFA94 002FC9F4 80 C5 00 2C */ lwz r6, 0x2c(r5) +/* 802FFA98 002FC9F8 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802FFA9C 002FC9FC 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802FFAA0 002FCA00 80 A5 00 04 */ lwz r5, 4(r5) +/* 802FFAA4 002FCA04 7C C0 32 14 */ add r6, r0, r6 +/* 802FFAA8 002FCA08 54 60 0F FE */ srwi r0, r3, 0x1f +/* 802FFAAC 002FCA0C 7C C6 0E 70 */ srawi r6, r6, 1 +/* 802FFAB0 002FCA10 7C 00 1A 14 */ add r0, r0, r3 +/* 802FFAB4 002FCA14 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802FFAB8 002FCA18 7C 05 02 14 */ add r0, r5, r0 +/* 802FFABC 002FCA1C 7C 06 00 50 */ subf r0, r6, r0 +/* 802FFAC0 002FCA20 90 04 00 D4 */ stw r0, 0xd4(r4) +/* 802FFAC4 002FCA24 48 00 00 40 */ b lbl_802FFB04 +/* 802FFAC8 002FCA28 80 C4 00 88 */ lwz r6, 0x88(r4) +/* 802FFACC 002FCA2C 80 A3 00 08 */ lwz r5, 8(r3) +/* 802FFAD0 002FCA30 80 66 00 04 */ lwz r3, 4(r6) +/* 802FFAD4 002FCA34 80 06 00 0C */ lwz r0, 0xc(r6) +/* 802FFAD8 002FCA38 7C 03 02 14 */ add r0, r3, r0 +/* 802FFADC 002FCA3C 7C 05 00 50 */ subf r0, r5, r0 +/* 802FFAE0 002FCA40 90 04 00 D4 */ stw r0, 0xd4(r4) +/* 802FFAE4 002FCA44 48 00 00 20 */ b lbl_802FFB04 +/* 802FFAE8 002FCA48 80 A4 00 88 */ lwz r5, 0x88(r4) +/* 802FFAEC 002FCA4C 80 65 00 04 */ lwz r3, 4(r5) +/* 802FFAF0 002FCA50 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802FFAF4 002FCA54 80 A5 00 2C */ lwz r5, 0x2c(r5) +/* 802FFAF8 002FCA58 7C 03 02 14 */ add r0, r3, r0 +/* 802FFAFC 002FCA5C 7C 05 00 50 */ subf r0, r5, r0 +/* 802FFB00 002FCA60 90 04 00 D4 */ stw r0, 0xd4(r4) +lbl_802FFB04: +/* 802FFB04 002FCA64 80 A4 00 DC */ lwz r5, 0xdc(r4) +/* 802FFB08 002FCA68 28 05 00 00 */ cmplwi r5, 0 +/* 802FFB0C 002FCA6C 41 82 01 0C */ beq lbl_802FFC18 +/* 802FFB10 002FCA70 80 C4 00 88 */ lwz r6, 0x88(r4) +/* 802FFB14 002FCA74 38 60 00 00 */ li r3, 0 +/* 802FFB18 002FCA78 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 802FFB1C 002FCA7C 2C 00 00 07 */ cmpwi r0, 7 +/* 802FFB20 002FCA80 41 82 00 6C */ beq lbl_802FFB8C +/* 802FFB24 002FCA84 40 80 00 1C */ bge lbl_802FFB40 +/* 802FFB28 002FCA88 2C 00 00 03 */ cmpwi r0, 3 +/* 802FFB2C 002FCA8C 41 82 00 2C */ beq lbl_802FFB58 +/* 802FFB30 002FCA90 40 80 00 20 */ bge lbl_802FFB50 +/* 802FFB34 002FCA94 2C 00 00 00 */ cmpwi r0, 0 +/* 802FFB38 002FCA98 40 80 00 18 */ bge lbl_802FFB50 +/* 802FFB3C 002FCA9C 48 00 00 88 */ b lbl_802FFBC4 +lbl_802FFB40: +/* 802FFB40 002FCAA0 2C 00 00 09 */ cmpwi r0, 9 +/* 802FFB44 002FCAA4 41 82 00 70 */ beq lbl_802FFBB4 +/* 802FFB48 002FCAA8 40 80 00 7C */ bge lbl_802FFBC4 +/* 802FFB4C 002FCAAC 48 00 00 48 */ b lbl_802FFB94 +lbl_802FFB50: +/* 802FFB50 002FCAB0 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802FFB54 002FCAB4 48 00 00 70 */ b lbl_802FFBC4 +lbl_802FFB58: +/* 802FFB58 002FCAB8 80 E6 00 34 */ lwz r7, 0x34(r6) +/* 802FFB5C 002FCABC 80 66 00 30 */ lwz r3, 0x30(r6) +/* 802FFB60 002FCAC0 80 06 00 10 */ lwz r0, 0x10(r6) +/* 802FFB64 002FCAC4 2C 07 00 01 */ cmpwi r7, 1 +/* 802FFB68 002FCAC8 7C 63 00 50 */ subf r3, r3, r0 +/* 802FFB6C 002FCACC 40 81 00 10 */ ble lbl_802FFB7C +/* 802FFB70 002FCAD0 38 07 FF FF */ addi r0, r7, -1 +/* 802FFB74 002FCAD4 7C 63 03 D6 */ divw r3, r3, r0 +/* 802FFB78 002FCAD8 48 00 00 08 */ b lbl_802FFB80 +lbl_802FFB7C: +/* 802FFB7C 002FCADC 38 60 00 00 */ li r3, 0 +lbl_802FFB80: +/* 802FFB80 002FCAE0 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802FFB84 002FCAE4 7C 60 1A 14 */ add r3, r0, r3 +/* 802FFB88 002FCAE8 48 00 00 3C */ b lbl_802FFBC4 +lbl_802FFB8C: +/* 802FFB8C 002FCAEC 80 66 00 24 */ lwz r3, 0x24(r6) +/* 802FFB90 002FCAF0 48 00 00 34 */ b lbl_802FFBC4 +lbl_802FFB94: +/* 802FFB94 002FCAF4 80 E6 00 24 */ lwz r7, 0x24(r6) +/* 802FFB98 002FCAF8 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802FFB9C 002FCAFC 7C 67 00 50 */ subf r3, r7, r0 +/* 802FFBA0 002FCB00 54 60 0F FE */ srwi r0, r3, 0x1f +/* 802FFBA4 002FCB04 7C 00 1A 14 */ add r0, r0, r3 +/* 802FFBA8 002FCB08 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802FFBAC 002FCB0C 7C 67 02 14 */ add r3, r7, r0 +/* 802FFBB0 002FCB10 48 00 00 14 */ b lbl_802FFBC4 +lbl_802FFBB4: +/* 802FFBB4 002FCB14 80 06 00 24 */ lwz r0, 0x24(r6) +/* 802FFBB8 002FCB18 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802FFBBC 002FCB1C 54 00 08 3C */ slwi r0, r0, 1 +/* 802FFBC0 002FCB20 7C 63 00 50 */ subf r3, r3, r0 +lbl_802FFBC4: +/* 802FFBC4 002FCB24 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 802FFBC8 002FCB28 2C 00 00 03 */ cmpwi r0, 3 +/* 802FFBCC 002FCB2C 40 82 00 08 */ bne lbl_802FFBD4 +/* 802FFBD0 002FCB30 48 00 00 3C */ b lbl_802FFC0C +lbl_802FFBD4: +/* 802FFBD4 002FCB34 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802FFBD8 002FCB38 3C 00 43 30 */ lis r0, 0x4330 +/* 802FFBDC 002FCB3C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802FFBE0 002FCB40 C8 42 C7 38 */ lfd f2, lbl_805AE458@sda21(r2) +/* 802FFBE4 002FCB44 90 01 00 08 */ stw r0, 8(r1) +/* 802FFBE8 002FCB48 C0 04 00 74 */ lfs f0, 0x74(r4) +/* 802FFBEC 002FCB4C C8 21 00 08 */ lfd f1, 8(r1) +/* 802FFBF0 002FCB50 80 04 00 78 */ lwz r0, 0x78(r4) +/* 802FFBF4 002FCB54 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802FFBF8 002FCB58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802FFBFC 002FCB5C FC 00 00 1E */ fctiwz f0, f0 +/* 802FFC00 002FCB60 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 802FFC04 002FCB64 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802FFC08 002FCB68 7C 63 02 14 */ add r3, r3, r0 +lbl_802FFC0C: +/* 802FFC0C 002FCB6C 80 04 00 D8 */ lwz r0, 0xd8(r4) +/* 802FFC10 002FCB70 7C 00 1A 14 */ add r0, r0, r3 +/* 802FFC14 002FCB74 90 04 00 D8 */ stw r0, 0xd8(r4) +lbl_802FFC18: +/* 802FFC18 002FCB78 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FFC1C 002FCB7C 4E 80 00 20 */ blr + +.global PageInvoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFC20 002FCB80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFC24 002FCB84 7C 08 02 A6 */ mflr r0 +/* 802FFC28 002FCB88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFC2C 002FCB8C 80 04 00 DC */ lwz r0, 0xdc(r4) +/* 802FFC30 002FCB90 28 00 00 00 */ cmplwi r0, 0 +/* 802FFC34 002FCB94 40 82 00 14 */ bne lbl_802FFC48 +/* 802FFC38 002FCB98 81 83 00 00 */ lwz r12, 0(r3) +/* 802FFC3C 002FCB9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FFC40 002FCBA0 7D 89 03 A6 */ mtctr r12 +/* 802FFC44 002FCBA4 4E 80 04 21 */ bctrl +lbl_802FFC48: +/* 802FFC48 002FCBA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFC4C 002FCBAC 7C 08 03 A6 */ mtlr r0 +/* 802FFC50 002FCBB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFC54 002FCBB4 4E 80 00 20 */ blr + +.global Invoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFC58 002FCBB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFC5C 002FCBBC 7C 08 02 A6 */ mflr r0 +/* 802FFC60 002FCBC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFC64 002FCBC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FFC68 002FCBC8 7C 9F 23 78 */ mr r31, r4 +/* 802FFC6C 002FCBCC 93 C1 00 08 */ stw r30, 8(r1) +/* 802FFC70 002FCBD0 7C 7E 1B 78 */ mr r30, r3 +/* 802FFC74 002FCBD4 80 A4 00 88 */ lwz r5, 0x88(r4) +/* 802FFC78 002FCBD8 80 05 00 14 */ lwz r0, 0x14(r5) +/* 802FFC7C 002FCBDC 2C 00 00 00 */ cmpwi r0, 0 +/* 802FFC80 002FCBE0 40 82 00 08 */ bne lbl_802FFC88 +/* 802FFC84 002FCBE4 4B FF FD 59 */ bl SetLineSpacing__16CFontRenderStateFf +lbl_802FFC88: +/* 802FFC88 002FCBE8 38 00 00 01 */ li r0, 1 +/* 802FFC8C 002FCBEC 98 1F 01 08 */ stb r0, 0x108(r31) +/* 802FFC90 002FCBF0 93 DF 00 DC */ stw r30, 0xdc(r31) +/* 802FFC94 002FCBF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FFC98 002FCBF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802FFC9C 002FCBFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFCA0 002FCC00 7C 08 03 A6 */ mtlr r0 +/* 802FFCA4 002FCC04 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFCA8 002FCC08 4E 80 00 20 */ blr + +.global __dt__23CLineSpacingInstructionFv +__dt__23CLineSpacingInstructionFv: +/* 802FFCAC 002FCC0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFCB0 002FCC10 7C 08 02 A6 */ mflr r0 +/* 802FFCB4 002FCC14 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFCB8 002FCC18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FFCBC 002FCC1C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FFCC0 002FCC20 41 82 00 30 */ beq lbl_802FFCF0 +/* 802FFCC4 002FCC24 3C 60 80 3F */ lis r3, lbl_803ED678@ha +/* 802FFCC8 002FCC28 38 03 D6 78 */ addi r0, r3, lbl_803ED678@l +/* 802FFCCC 002FCC2C 90 1F 00 00 */ stw r0, 0(r31) +/* 802FFCD0 002FCC30 41 82 00 10 */ beq lbl_802FFCE0 +/* 802FFCD4 002FCC34 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FFCD8 002FCC38 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FFCDC 002FCC3C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FFCE0: +/* 802FFCE0 002FCC40 7C 80 07 35 */ extsh. r0, r4 +/* 802FFCE4 002FCC44 40 81 00 0C */ ble lbl_802FFCF0 +/* 802FFCE8 002FCC48 7F E3 FB 78 */ mr r3, r31 +/* 802FFCEC 002FCC4C 48 01 5C 45 */ bl Free__7CMemoryFPCv +lbl_802FFCF0: +/* 802FFCF0 002FCC50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFCF4 002FCC54 7F E3 FB 78 */ mr r3, r31 +/* 802FFCF8 002FCC58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FFCFC 002FCC5C 7C 08 03 A6 */ mtlr r0 +/* 802FFD00 002FCC60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFD04 002FCC64 4E 80 00 20 */ blr + +.global PageInvoke__23CLineSpacingInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__23CLineSpacingInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFD08 002FCC68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFD0C 002FCC6C 7C 08 02 A6 */ mflr r0 +/* 802FFD10 002FCC70 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFD14 002FCC74 81 83 00 00 */ lwz r12, 0(r3) +/* 802FFD18 002FCC78 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FFD1C 002FCC7C 7D 89 03 A6 */ mtctr r12 +/* 802FFD20 002FCC80 4E 80 04 21 */ bctrl +/* 802FFD24 002FCC84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFD28 002FCC88 7C 08 03 A6 */ mtlr r0 +/* 802FFD2C 002FCC8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFD30 002FCC90 4E 80 00 20 */ blr + +.global Invoke__23CLineSpacingInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__23CLineSpacingInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFD34 002FCC94 C0 03 00 04 */ lfs f0, 4(r3) +/* 802FFD38 002FCC98 D0 04 00 74 */ stfs f0, 0x74(r4) +/* 802FFD3C 002FCC9C 4E 80 00 20 */ blr + +.global __dt__20CPopStateInstructionFv +__dt__20CPopStateInstructionFv: +/* 802FFD40 002FCCA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFD44 002FCCA4 7C 08 02 A6 */ mflr r0 +/* 802FFD48 002FCCA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFD4C 002FCCAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FFD50 002FCCB0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FFD54 002FCCB4 41 82 00 30 */ beq lbl_802FFD84 +/* 802FFD58 002FCCB8 3C 60 80 3F */ lis r3, lbl_803ED698@ha +/* 802FFD5C 002FCCBC 38 03 D6 98 */ addi r0, r3, lbl_803ED698@l +/* 802FFD60 002FCCC0 90 1F 00 00 */ stw r0, 0(r31) +/* 802FFD64 002FCCC4 41 82 00 10 */ beq lbl_802FFD74 +/* 802FFD68 002FCCC8 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FFD6C 002FCCCC 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FFD70 002FCCD0 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FFD74: +/* 802FFD74 002FCCD4 7C 80 07 35 */ extsh. r0, r4 +/* 802FFD78 002FCCD8 40 81 00 0C */ ble lbl_802FFD84 +/* 802FFD7C 002FCCDC 7F E3 FB 78 */ mr r3, r31 +/* 802FFD80 002FCCE0 48 01 5B B1 */ bl Free__7CMemoryFPCv +lbl_802FFD84: +/* 802FFD84 002FCCE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFD88 002FCCE8 7F E3 FB 78 */ mr r3, r31 +/* 802FFD8C 002FCCEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FFD90 002FCCF0 7C 08 03 A6 */ mtlr r0 +/* 802FFD94 002FCCF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFD98 002FCCF8 4E 80 00 20 */ blr + +.global PageInvoke__20CPopStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__20CPopStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFD9C 002FCCFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFDA0 002FCD00 7C 08 02 A6 */ mflr r0 +/* 802FFDA4 002FCD04 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFDA8 002FCD08 81 83 00 00 */ lwz r12, 0(r3) +/* 802FFDAC 002FCD0C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FFDB0 002FCD10 7D 89 03 A6 */ mtctr r12 +/* 802FFDB4 002FCD14 4E 80 04 21 */ bctrl +/* 802FFDB8 002FCD18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFDBC 002FCD1C 7C 08 03 A6 */ mtlr r0 +/* 802FFDC0 002FCD20 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFDC4 002FCD24 4E 80 00 20 */ blr + +.global Invoke__20CPopStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__20CPopStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFDC8 002FCD28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FFDCC 002FCD2C 7C 08 02 A6 */ mflr r0 +/* 802FFDD0 002FCD30 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FFDD4 002FCD34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FFDD8 002FCD38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802FFDDC 002FCD3C 7C BE 2B 78 */ mr r30, r5 +/* 802FFDE0 002FCD40 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802FFDE4 002FCD44 7C 9D 23 78 */ mr r29, r4 +/* 802FFDE8 002FCD48 7F A3 EB 78 */ mr r3, r29 +/* 802FFDEC 002FCD4C 83 E4 00 48 */ lwz r31, 0x48(r4) +/* 802FFDF0 002FCD50 4B FF EF 05 */ bl sub_802fecf4 +/* 802FFDF4 002FCD54 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 802FFDF8 002FCD58 7C 00 F8 40 */ cmplw r0, r31 +/* 802FFDFC 002FCD5C 41 82 00 10 */ beq lbl_802FFE0C +/* 802FFE00 002FCD60 7F C3 F3 78 */ mr r3, r30 +/* 802FFE04 002FCD64 38 9D 00 48 */ addi r4, r29, 0x48 +/* 802FFE08 002FCD68 48 05 B3 A9 */ bl "AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>" +lbl_802FFE0C: +/* 802FFE0C 002FCD6C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802FFE10 002FCD70 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802FFE14 002FCD74 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802FFE18 002FCD78 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802FFE1C 002FCD7C 7C 08 03 A6 */ mtlr r0 +/* 802FFE20 002FCD80 38 21 00 20 */ addi r1, r1, 0x20 +/* 802FFE24 002FCD84 4E 80 00 20 */ blr + +.global __dt__21CPushStateInstructionFv +__dt__21CPushStateInstructionFv: +/* 802FFE28 002FCD88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFE2C 002FCD8C 7C 08 02 A6 */ mflr r0 +/* 802FFE30 002FCD90 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFE34 002FCD94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FFE38 002FCD98 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802FFE3C 002FCD9C 41 82 00 30 */ beq lbl_802FFE6C +/* 802FFE40 002FCDA0 3C 60 80 3F */ lis r3, lbl_803ED6B8@ha +/* 802FFE44 002FCDA4 38 03 D6 B8 */ addi r0, r3, lbl_803ED6B8@l +/* 802FFE48 002FCDA8 90 1F 00 00 */ stw r0, 0(r31) +/* 802FFE4C 002FCDAC 41 82 00 10 */ beq lbl_802FFE5C +/* 802FFE50 002FCDB0 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 802FFE54 002FCDB4 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 802FFE58 002FCDB8 90 1F 00 00 */ stw r0, 0(r31) +lbl_802FFE5C: +/* 802FFE5C 002FCDBC 7C 80 07 35 */ extsh. r0, r4 +/* 802FFE60 002FCDC0 40 81 00 0C */ ble lbl_802FFE6C +/* 802FFE64 002FCDC4 7F E3 FB 78 */ mr r3, r31 +/* 802FFE68 002FCDC8 48 01 5A C9 */ bl Free__7CMemoryFPCv +lbl_802FFE6C: +/* 802FFE6C 002FCDCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFE70 002FCDD0 7F E3 FB 78 */ mr r3, r31 +/* 802FFE74 002FCDD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FFE78 002FCDD8 7C 08 03 A6 */ mtlr r0 +/* 802FFE7C 002FCDDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFE80 002FCDE0 4E 80 00 20 */ blr + +.global PageInvoke__21CPushStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__21CPushStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFE84 002FCDE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFE88 002FCDE8 7C 08 02 A6 */ mflr r0 +/* 802FFE8C 002FCDEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFE90 002FCDF0 81 83 00 00 */ lwz r12, 0(r3) +/* 802FFE94 002FCDF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802FFE98 002FCDF8 7D 89 03 A6 */ mtctr r12 +/* 802FFE9C 002FCDFC 4E 80 04 21 */ bctrl +/* 802FFEA0 002FCE00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFEA4 002FCE04 7C 08 03 A6 */ mtlr r0 +/* 802FFEA8 002FCE08 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFEAC 002FCE0C 4E 80 00 20 */ blr + +.global Invoke__21CPushStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__21CPushStateInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 802FFEB0 002FCE10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFEB4 002FCE14 7C 08 02 A6 */ mflr r0 +/* 802FFEB8 002FCE18 7C 83 23 78 */ mr r3, r4 +/* 802FFEBC 002FCE1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFEC0 002FCE20 4B FF F1 19 */ bl sub_802fefd8 +/* 802FFEC4 002FCE24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFEC8 002FCE28 7C 08 03 A6 */ mtlr r0 +/* 802FFECC 002FCE2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFED0 002FCE30 4E 80 00 20 */ blr + +.global sub_802ffed4 +sub_802ffed4: +/* 802FFED4 002FCE34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802FFED8 002FCE38 7C 08 02 A6 */ mflr r0 +/* 802FFEDC 002FCE3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802FFEE0 002FCE40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802FFEE4 002FCE44 7C 7F 1B 78 */ mr r31, r3 +/* 802FFEE8 002FCE48 88 03 00 88 */ lbz r0, 0x88(r3) +/* 802FFEEC 002FCE4C 28 00 00 00 */ cmplwi r0, 0 +/* 802FFEF0 002FCE50 40 82 00 1C */ bne lbl_802FFF0C +/* 802FFEF4 002FCE54 34 7F 00 80 */ addic. r3, r31, 0x80 +/* 802FFEF8 002FCE58 41 82 00 08 */ beq lbl_802FFF00 +/* 802FFEFC 002FCE5C 48 04 0F AD */ bl __ct__6CTokenFRC6CToken +lbl_802FFF00: +/* 802FFF00 002FCE60 38 00 00 01 */ li r0, 1 +/* 802FFF04 002FCE64 98 1F 00 88 */ stb r0, 0x88(r31) +/* 802FFF08 002FCE68 48 00 00 0C */ b lbl_802FFF14 +lbl_802FFF0C: +/* 802FFF0C 002FCE6C 38 7F 00 80 */ addi r3, r31, 0x80 +/* 802FFF10 002FCE70 48 04 0D B5 */ bl __as__6CTokenFRC6CToken +lbl_802FFF14: +/* 802FFF14 002FCE74 38 7F 00 80 */ addi r3, r31, 0x80 +/* 802FFF18 002FCE78 48 04 0E 6D */ bl Lock__6CTokenFv +/* 802FFF1C 002FCE7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802FFF20 002FCE80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802FFF24 002FCE84 7C 08 03 A6 */ mtlr r0 +/* 802FFF28 002FCE88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802FFF2C 002FCE8C 4E 80 00 20 */ blr + +.global IsFinishedLoading__11CRasterFontFv +IsFinishedLoading__11CRasterFontFv: +/* 802FFF30 002FCE90 88 03 00 88 */ lbz r0, 0x88(r3) +/* 802FFF34 002FCE94 38 80 00 00 */ li r4, 0 +/* 802FFF38 002FCE98 28 00 00 00 */ cmplwi r0, 0 +/* 802FFF3C 002FCE9C 41 82 00 18 */ beq lbl_802FFF54 +/* 802FFF40 002FCEA0 80 63 00 80 */ lwz r3, 0x80(r3) +/* 802FFF44 002FCEA4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802FFF48 002FCEA8 28 00 00 00 */ cmplwi r0, 0 +/* 802FFF4C 002FCEAC 41 82 00 08 */ beq lbl_802FFF54 +/* 802FFF50 002FCEB0 38 80 00 01 */ li r4, 1 +lbl_802FFF54: +/* 802FFF54 002FCEB4 7C 83 23 78 */ mr r3, r4 +/* 802FFF58 002FCEB8 4E 80 00 20 */ blr + +.global GetLineMargin__11CRasterFontFv +GetLineMargin__11CRasterFontFv: +/* 802FFF5C 002FCEBC 80 63 00 90 */ lwz r3, 0x90(r3) +/* 802FFF60 002FCEC0 4E 80 00 20 */ blr + +.global GetBaseLine__11CRasterFontCFv +GetBaseLine__11CRasterFontCFv: +/* 802FFF64 002FCEC4 80 63 00 8C */ lwz r3, 0x8c(r3) +/* 802FFF68 002FCEC8 4E 80 00 20 */ blr + +.global SetupRenderState__11CRasterFontFv +SetupRenderState__11CRasterFontFv: +/* 802FFF6C 002FCECC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802FFF70 002FCED0 7C 08 02 A6 */ mflr r0 +/* 802FFF74 002FCED4 7C 64 1B 78 */ mr r4, r3 +/* 802FFF78 002FCED8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802FFF7C 002FCEDC 38 84 00 80 */ addi r4, r4, 0x80 +/* 802FFF80 002FCEE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802FFF84 002FCEE4 3B E1 00 08 */ addi r31, r1, 8 +/* 802FFF88 002FCEE8 7F E3 FB 78 */ mr r3, r31 +/* 802FFF8C 002FCEEC 48 04 0F 1D */ bl __ct__6CTokenFRC6CToken +/* 802FFF90 002FCEF0 7F E3 FB 78 */ mr r3, r31 +/* 802FFF94 002FCEF4 48 04 0E 79 */ bl GetObj__6CTokenFv +/* 802FFF98 002FCEF8 80 63 00 04 */ lwz r3, 4(r3) +/* 802FFF9C 002FCEFC 38 80 00 00 */ li r4, 0 +/* 802FFFA0 002FCF00 38 A0 00 00 */ li r5, 0 +/* 802FFFA4 002FCF04 90 61 00 10 */ stw r3, 0x10(r1) +/* 802FFFA8 002FCF08 48 00 F7 95 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802FFFAC 002FCF0C 38 60 00 00 */ li r3, 0 +/* 802FFFB0 002FCF10 38 80 00 1C */ li r4, 0x1c +/* 802FFFB4 002FCF14 48 00 89 E9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802FFFB8 002FCF18 38 60 00 00 */ li r3, 0 +/* 802FFFBC 002FCF1C 38 80 00 0C */ li r4, 0xc +/* 802FFFC0 002FCF20 48 00 8A 21 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802FFFC4 002FCF24 38 60 00 00 */ li r3, 0 +/* 802FFFC8 002FCF28 38 80 00 0F */ li r4, 0xf +/* 802FFFCC 002FCF2C 38 A0 00 08 */ li r5, 8 +/* 802FFFD0 002FCF30 38 C0 00 0E */ li r6, 0xe +/* 802FFFD4 002FCF34 38 E0 00 0F */ li r7, 0xf +/* 802FFFD8 002FCF38 48 00 8C 15 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802FFFDC 002FCF3C 38 60 00 00 */ li r3, 0 +/* 802FFFE0 002FCF40 38 80 00 07 */ li r4, 7 +/* 802FFFE4 002FCF44 38 A0 00 04 */ li r5, 4 +/* 802FFFE8 002FCF48 38 C0 00 06 */ li r6, 6 +/* 802FFFEC 002FCF4C 38 E0 00 07 */ li r7, 7 +/* 802FFFF0 002FCF50 48 00 8B A5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802FFFF4 002FCF54 38 60 00 00 */ li r3, 0 +/* 802FFFF8 002FCF58 48 00 7C 59 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802FFFFC 002FCF5C 38 60 00 00 */ li r3, 0 +/* 80300000 002FCF60 48 00 87 45 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80300004 002FCF64 3C 60 80 3D */ lis r3, lbl_803D6E68@ha +/* 80300008 002FCF68 38 63 6E 68 */ addi r3, r3, lbl_803D6E68@l +/* 8030000C 002FCF6C 48 00 7E 1D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80300010 002FCF70 38 60 00 00 */ li r3, 0 +/* 80300014 002FCF74 48 00 8E 3D */ bl SetNumChans__3CGXFUc +/* 80300018 002FCF78 38 60 00 01 */ li r3, 1 +/* 8030001C 002FCF7C 48 00 8D F9 */ bl SetNumTexGens__3CGXFUc +/* 80300020 002FCF80 38 60 00 01 */ li r3, 1 +/* 80300024 002FCF84 48 00 8C 6D */ bl SetNumTevStages__3CGXFUc +/* 80300028 002FCF88 38 60 00 00 */ li r3, 0 +/* 8030002C 002FCF8C 48 00 86 65 */ bl SetNumIndStages__3CGXFUc +/* 80300030 002FCF90 38 60 00 00 */ li r3, 0 +/* 80300034 002FCF94 38 80 00 00 */ li r4, 0 +/* 80300038 002FCF98 38 A0 00 00 */ li r5, 0 +/* 8030003C 002FCF9C 38 C0 00 FF */ li r6, 0xff +/* 80300040 002FCFA0 48 00 89 0D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80300044 002FCFA4 38 60 00 00 */ li r3, 0 +/* 80300048 002FCFA8 38 80 00 01 */ li r4, 1 +/* 8030004C 002FCFAC 38 A0 00 04 */ li r5, 4 +/* 80300050 002FCFB0 38 C0 00 3C */ li r6, 0x3c +/* 80300054 002FCFB4 38 E0 00 00 */ li r7, 0 +/* 80300058 002FCFB8 39 00 00 7D */ li r8, 0x7d +/* 8030005C 002FCFBC 48 00 86 71 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80300060 002FCFC0 7F E3 FB 78 */ mr r3, r31 +/* 80300064 002FCFC4 38 80 00 00 */ li r4, 0 +/* 80300068 002FCFC8 48 04 0D D9 */ bl __dt__6CTokenFv +/* 8030006C 002FCFCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80300070 002FCFD0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80300074 002FCFD4 7C 08 03 A6 */ mtlr r0 +/* 80300078 002FCFD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030007C 002FCFDC 4E 80 00 20 */ blr + +.global FRasterFontFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FRasterFontFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80300080 002FCFE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80300084 002FCFE4 7C 08 02 A6 */ mflr r0 +/* 80300088 002FCFE8 3C 80 80 3D */ lis r4, lbl_803D6E80@ha +/* 8030008C 002FCFEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80300090 002FCFF0 38 84 6E 80 */ addi r4, r4, lbl_803D6E80@l +/* 80300094 002FCFF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80300098 002FCFF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030009C 002FCFFC 7C BE 2B 78 */ mr r30, r5 +/* 803000A0 002FD000 38 A0 00 00 */ li r5, 0 +/* 803000A4 002FD004 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803000A8 002FD008 7C 7D 1B 78 */ mr r29, r3 +/* 803000AC 002FD00C 38 60 00 94 */ li r3, 0x94 +/* 803000B0 002FD010 80 E6 00 00 */ lwz r7, 0(r6) +/* 803000B4 002FD014 90 E1 00 08 */ stw r7, 8(r1) +/* 803000B8 002FD018 80 C7 00 04 */ lwz r6, 4(r7) +/* 803000BC 002FD01C 38 06 00 01 */ addi r0, r6, 1 +/* 803000C0 002FD020 90 07 00 04 */ stw r0, 4(r7) +/* 803000C4 002FD024 80 C1 00 08 */ lwz r6, 8(r1) +/* 803000C8 002FD028 80 C6 00 00 */ lwz r6, 0(r6) +/* 803000CC 002FD02C 83 E6 00 04 */ lwz r31, 4(r6) +/* 803000D0 002FD030 48 01 57 9D */ bl __nw__FUlPCcPCc +/* 803000D4 002FD034 7C 64 1B 79 */ or. r4, r3, r3 +/* 803000D8 002FD038 41 82 00 14 */ beq lbl_803000EC +/* 803000DC 002FD03C 7F C4 F3 78 */ mr r4, r30 +/* 803000E0 002FD040 7F E5 FB 78 */ mr r5, r31 +/* 803000E4 002FD044 48 00 07 41 */ bl __ct__11CRasterFontFR12CInputStreamR12IObjectStore +/* 803000E8 002FD048 7C 64 1B 78 */ mr r4, r3 +lbl_803000EC: +/* 803000EC 002FD04C 7F A3 EB 78 */ mr r3, r29 +/* 803000F0 002FD050 48 00 00 29 */ bl sub_80300118 +/* 803000F4 002FD054 38 61 00 08 */ addi r3, r1, 8 +/* 803000F8 002FD058 4B D3 42 0D */ bl sub_80034304 +/* 803000FC 002FD05C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80300100 002FD060 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80300104 002FD064 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80300108 002FD068 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030010C 002FD06C 7C 08 03 A6 */ mtlr r0 +/* 80300110 002FD070 38 21 00 20 */ addi r1, r1, 0x20 +/* 80300114 002FD074 4E 80 00 20 */ blr + +.global sub_80300118 +sub_80300118: +/* 80300118 002FD078 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030011C 002FD07C 7C 08 02 A6 */ mflr r0 +/* 80300120 002FD080 90 01 00 24 */ stw r0, 0x24(r1) +/* 80300124 002FD084 7C 04 00 D0 */ neg r0, r4 +/* 80300128 002FD088 7C 00 23 78 */ or r0, r0, r4 +/* 8030012C 002FD08C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80300130 002FD090 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80300134 002FD094 7C 7F 1B 78 */ mr r31, r3 +/* 80300138 002FD098 38 61 00 08 */ addi r3, r1, 8 +/* 8030013C 002FD09C 90 81 00 14 */ stw r4, 0x14(r1) +/* 80300140 002FD0A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80300144 002FD0A4 98 01 00 10 */ stb r0, 0x10(r1) +/* 80300148 002FD0A8 48 00 00 75 */ bl sub_803001bc +/* 8030014C 002FD0AC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80300150 002FD0B0 38 00 00 00 */ li r0, 0 +/* 80300154 002FD0B4 98 01 00 08 */ stb r0, 8(r1) +/* 80300158 002FD0B8 7C 03 00 D0 */ neg r0, r3 +/* 8030015C 002FD0BC 7C 00 1B 78 */ or r0, r0, r3 +/* 80300160 002FD0C0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80300164 002FD0C4 98 1F 00 00 */ stb r0, 0(r31) +/* 80300168 002FD0C8 90 7F 00 04 */ stw r3, 4(r31) +/* 8030016C 002FD0CC 88 01 00 08 */ lbz r0, 8(r1) +/* 80300170 002FD0D0 28 00 00 00 */ cmplwi r0, 0 +/* 80300174 002FD0D4 41 82 00 24 */ beq lbl_80300198 +/* 80300178 002FD0D8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8030017C 002FD0DC 28 03 00 00 */ cmplwi r3, 0 +/* 80300180 002FD0E0 41 82 00 18 */ beq lbl_80300198 +/* 80300184 002FD0E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80300188 002FD0E8 38 80 00 01 */ li r4, 1 +/* 8030018C 002FD0EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80300190 002FD0F0 7D 89 03 A6 */ mtctr r12 +/* 80300194 002FD0F4 4E 80 04 21 */ bctrl +lbl_80300198: +/* 80300198 002FD0F8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8030019C 002FD0FC 38 80 FF FF */ li r4, -1 +/* 803001A0 002FD100 48 00 00 E5 */ bl sub_80300284 +/* 803001A4 002FD104 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803001A8 002FD108 7F E3 FB 78 */ mr r3, r31 +/* 803001AC 002FD10C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803001B0 002FD110 7C 08 03 A6 */ mtlr r0 +/* 803001B4 002FD114 38 21 00 20 */ addi r1, r1, 0x20 +/* 803001B8 002FD118 4E 80 00 20 */ blr + +.global sub_803001bc +sub_803001bc: +/* 803001BC 002FD11C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803001C0 002FD120 7C 08 02 A6 */ mflr r0 +/* 803001C4 002FD124 90 01 00 14 */ stw r0, 0x14(r1) +/* 803001C8 002FD128 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803001CC 002FD12C 7C 7F 1B 78 */ mr r31, r3 +/* 803001D0 002FD130 48 00 00 19 */ bl sub_803001e8 +/* 803001D4 002FD134 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803001D8 002FD138 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803001DC 002FD13C 7C 08 03 A6 */ mtlr r0 +/* 803001E0 002FD140 38 21 00 10 */ addi r1, r1, 0x10 +/* 803001E4 002FD144 4E 80 00 20 */ blr + +.global sub_803001e8 +sub_803001e8: +/* 803001E8 002FD148 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803001EC 002FD14C 7C 08 02 A6 */ mflr r0 +/* 803001F0 002FD150 3C A0 80 3D */ lis r5, lbl_803D6E80@ha +/* 803001F4 002FD154 90 01 00 14 */ stw r0, 0x14(r1) +/* 803001F8 002FD158 38 05 6E 80 */ addi r0, r5, lbl_803D6E80@l +/* 803001FC 002FD15C 38 A0 00 00 */ li r5, 0 +/* 80300200 002FD160 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80300204 002FD164 7C 9F 23 78 */ mr r31, r4 +/* 80300208 002FD168 7C 04 03 78 */ mr r4, r0 +/* 8030020C 002FD16C 93 C1 00 08 */ stw r30, 8(r1) +/* 80300210 002FD170 7C 7E 1B 78 */ mr r30, r3 +/* 80300214 002FD174 38 60 00 08 */ li r3, 8 +/* 80300218 002FD178 48 01 56 55 */ bl __nw__FUlPCcPCc +/* 8030021C 002FD17C 28 03 00 00 */ cmplwi r3, 0 +/* 80300220 002FD180 41 82 00 38 */ beq lbl_80300258 +/* 80300224 002FD184 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80300228 002FD188 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8030022C 002FD18C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80300230 002FD190 3C 80 80 3E */ lis r4, lbl_803D8D60@ha +/* 80300234 002FD194 90 03 00 00 */ stw r0, 0(r3) +/* 80300238 002FD198 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8030023C 002FD19C 38 A0 00 00 */ li r5, 0 +/* 80300240 002FD1A0 38 04 8D 60 */ addi r0, r4, lbl_803D8D60@l +/* 80300244 002FD1A4 90 C3 00 00 */ stw r6, 0(r3) +/* 80300248 002FD1A8 98 BF 00 00 */ stb r5, 0(r31) +/* 8030024C 002FD1AC 80 9F 00 04 */ lwz r4, 4(r31) +/* 80300250 002FD1B0 90 83 00 04 */ stw r4, 4(r3) +/* 80300254 002FD1B4 90 03 00 00 */ stw r0, 0(r3) +lbl_80300258: +/* 80300258 002FD1B8 7C 03 00 D0 */ neg r0, r3 +/* 8030025C 002FD1BC 7C 00 1B 78 */ or r0, r0, r3 +/* 80300260 002FD1C0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80300264 002FD1C4 98 1E 00 00 */ stb r0, 0(r30) +/* 80300268 002FD1C8 90 7E 00 04 */ stw r3, 4(r30) +/* 8030026C 002FD1CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80300270 002FD1D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80300274 002FD1D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80300278 002FD1D8 7C 08 03 A6 */ mtlr r0 +/* 8030027C 002FD1DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80300280 002FD1E0 4E 80 00 20 */ blr + +.global sub_80300284 +sub_80300284: +/* 80300284 002FD1E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80300288 002FD1E8 7C 08 02 A6 */ mflr r0 +/* 8030028C 002FD1EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80300290 002FD1F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80300294 002FD1F4 7C 9F 23 78 */ mr r31, r4 +/* 80300298 002FD1F8 93 C1 00 08 */ stw r30, 8(r1) +/* 8030029C 002FD1FC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803002A0 002FD200 41 82 00 2C */ beq lbl_803002CC +/* 803002A4 002FD204 88 1E 00 00 */ lbz r0, 0(r30) +/* 803002A8 002FD208 28 00 00 00 */ cmplwi r0, 0 +/* 803002AC 002FD20C 41 82 00 10 */ beq lbl_803002BC +/* 803002B0 002FD210 80 7E 00 04 */ lwz r3, 4(r30) +/* 803002B4 002FD214 38 80 00 01 */ li r4, 1 +/* 803002B8 002FD218 4B D0 7A 09 */ bl sub_80007cc0 +lbl_803002BC: +/* 803002BC 002FD21C 7F E0 07 35 */ extsh. r0, r31 +/* 803002C0 002FD220 40 81 00 0C */ ble lbl_803002CC +/* 803002C4 002FD224 7F C3 F3 78 */ mr r3, r30 +/* 803002C8 002FD228 48 01 56 69 */ bl Free__7CMemoryFPCv +lbl_803002CC: +/* 803002CC 002FD22C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803002D0 002FD230 7F C3 F3 78 */ mr r3, r30 +/* 803002D4 002FD234 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803002D8 002FD238 83 C1 00 08 */ lwz r30, 8(r1) +/* 803002DC 002FD23C 7C 08 03 A6 */ mtlr r0 +/* 803002E0 002FD240 38 21 00 10 */ addi r1, r1, 0x10 +/* 803002E4 002FD244 4E 80 00 20 */ blr + +.global InternalGetGlyph__11CRasterFontCFw +InternalGetGlyph__11CRasterFontCFw: +/* 803002E8 002FD248 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803002EC 002FD24C 7C 08 02 A6 */ mflr r0 +/* 803002F0 002FD250 90 01 00 44 */ stw r0, 0x44(r1) +/* 803002F4 002FD254 38 A1 00 24 */ addi r5, r1, 0x24 +/* 803002F8 002FD258 89 21 00 14 */ lbz r9, 0x14(r1) +/* 803002FC 002FD25C 38 C1 00 08 */ addi r6, r1, 8 +/* 80300300 002FD260 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80300304 002FD264 7C 7F 1B 78 */ mr r31, r3 +/* 80300308 002FD268 38 E1 00 0C */ addi r7, r1, 0xc +/* 8030030C 002FD26C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80300310 002FD270 38 61 00 1C */ addi r3, r1, 0x1c +/* 80300314 002FD274 81 1F 00 18 */ lwz r8, 0x18(r31) +/* 80300318 002FD278 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8030031C 002FD27C B0 81 00 08 */ sth r4, 8(r1) +/* 80300320 002FD280 38 81 00 20 */ addi r4, r1, 0x20 +/* 80300324 002FD284 99 21 00 10 */ stb r9, 0x10(r1) +/* 80300328 002FD288 7C 08 02 14 */ add r0, r8, r0 +/* 8030032C 002FD28C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80300330 002FD290 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80300334 002FD294 91 01 00 28 */ stw r8, 0x28(r1) +/* 80300338 002FD298 99 21 00 0C */ stb r9, 0xc(r1) +/* 8030033C 002FD29C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80300340 002FD2A0 91 01 00 20 */ stw r8, 0x20(r1) +/* 80300344 002FD2A4 48 00 0D 39 */ bl "lower_bound,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,w,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17r" +/* 80300348 002FD2A8 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8030034C 002FD2AC 38 80 00 00 */ li r4, 0 +/* 80300350 002FD2B0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80300354 002FD2B4 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80300358 002FD2B8 7C 05 00 40 */ cmplw r5, r0 +/* 8030035C 002FD2BC 41 82 00 18 */ beq lbl_80300374 +/* 80300360 002FD2C0 A0 61 00 08 */ lhz r3, 8(r1) +/* 80300364 002FD2C4 A0 05 00 00 */ lhz r0, 0(r5) +/* 80300368 002FD2C8 7C 03 00 40 */ cmplw r3, r0 +/* 8030036C 002FD2CC 41 80 00 08 */ blt lbl_80300374 +/* 80300370 002FD2D0 38 80 00 01 */ li r4, 1 +lbl_80300374: +/* 80300374 002FD2D4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80300378 002FD2D8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8030037C 002FD2DC 41 82 00 08 */ beq lbl_80300384 +/* 80300380 002FD2E0 38 81 00 18 */ addi r4, r1, 0x18 +lbl_80300384: +/* 80300384 002FD2E4 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80300388 002FD2E8 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8030038C 002FD2EC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80300390 002FD2F0 80 84 00 00 */ lwz r4, 0(r4) +/* 80300394 002FD2F4 7C 03 02 14 */ add r0, r3, r0 +/* 80300398 002FD2F8 7C 04 00 40 */ cmplw r4, r0 +/* 8030039C 002FD2FC 40 82 00 0C */ bne lbl_803003A8 +/* 803003A0 002FD300 38 60 00 00 */ li r3, 0 +/* 803003A4 002FD304 48 00 00 08 */ b lbl_803003AC +lbl_803003A8: +/* 803003A8 002FD308 38 64 00 04 */ addi r3, r4, 4 +lbl_803003AC: +/* 803003AC 002FD30C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803003B0 002FD310 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803003B4 002FD314 7C 08 03 A6 */ mtlr r0 +/* 803003B8 002FD318 38 21 00 40 */ addi r1, r1, 0x40 +/* 803003BC 002FD31C 4E 80 00 20 */ blr + +.global SinglePassDrawString__11CRasterFontCFRC18CDrawStringOptionsiiRiRiP17CTextRenderBufferPCwi +SinglePassDrawString__11CRasterFontCFRC18CDrawStringOptionsiiRiRiP17CTextRenderBufferPCwi: +/* 803003C0 002FD320 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803003C4 002FD324 7C 08 02 A6 */ mflr r0 +/* 803003C8 002FD328 90 01 00 44 */ stw r0, 0x44(r1) +/* 803003CC 002FD32C BE 81 00 10 */ stmw r20, 0x10(r1) +/* 803003D0 002FD330 7C 74 1B 78 */ mr r20, r3 +/* 803003D4 002FD334 83 61 00 48 */ lwz r27, 0x48(r1) +/* 803003D8 002FD338 7C 95 23 78 */ mr r21, r4 +/* 803003DC 002FD33C 7C D6 33 78 */ mr r22, r6 +/* 803003E0 002FD340 7C F7 3B 78 */ mr r23, r7 +/* 803003E4 002FD344 7D 18 43 78 */ mr r24, r8 +/* 803003E8 002FD348 7D 39 4B 78 */ mr r25, r9 +/* 803003EC 002FD34C 7D 5A 53 78 */ mr r26, r10 +/* 803003F0 002FD350 88 03 00 00 */ lbz r0, 0(r3) +/* 803003F4 002FD354 28 00 00 00 */ cmplwi r0, 0 +/* 803003F8 002FD358 41 82 00 F4 */ beq lbl_803004EC +/* 803003FC 002FD35C 7C BF 2B 78 */ mr r31, r5 +/* 80300400 002FD360 7F 5D D3 78 */ mr r29, r26 +/* 80300404 002FD364 3B C0 00 00 */ li r30, 0 +/* 80300408 002FD368 48 00 00 B0 */ b lbl_803004B8 +lbl_8030040C: +/* 8030040C 002FD36C 7E 83 A3 78 */ mr r3, r20 +/* 80300410 002FD370 48 00 02 89 */ bl GetGlyph__11CRasterFontCFw +/* 80300414 002FD374 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80300418 002FD378 41 82 00 98 */ beq lbl_803004B0 +/* 8030041C 002FD37C 80 15 00 00 */ lwz r0, 0(r21) +/* 80300420 002FD380 38 80 00 00 */ li r4, 0 +/* 80300424 002FD384 38 A0 00 00 */ li r5, 0 +/* 80300428 002FD388 2C 00 00 00 */ cmpwi r0, 0 +/* 8030042C 002FD38C 40 82 00 30 */ bne lbl_8030045C +/* 80300430 002FD390 A8 1C 00 00 */ lha r0, 0(r28) +/* 80300434 002FD394 28 1E 00 00 */ cmplwi r30, 0 +/* 80300438 002FD398 7F FF 02 14 */ add r31, r31, r0 +/* 8030043C 002FD39C 41 82 00 18 */ beq lbl_80300454 +/* 80300440 002FD3A0 A8 9E 00 1E */ lha r4, 0x1e(r30) +/* 80300444 002FD3A4 38 74 00 1C */ addi r3, r20, 0x1c +/* 80300448 002FD3A8 A0 BD 00 00 */ lhz r5, 0(r29) +/* 8030044C 002FD3AC 48 00 00 B5 */ bl "KernLookup__11CRasterFontFRCQ24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>ii" +/* 80300450 002FD3B0 7F FF 1A 14 */ add r31, r31, r3 +lbl_80300454: +/* 80300454 002FD3B4 38 80 00 00 */ li r4, 0 +/* 80300458 002FD3B8 38 A0 00 00 */ li r5, 0 +lbl_8030045C: +/* 8030045C 002FD3BC 28 19 00 00 */ cmplwi r25, 0 +/* 80300460 002FD3C0 41 82 00 34 */ beq lbl_80300494 +/* 80300464 002FD3C4 A8 1C 00 1C */ lha r0, 0x1c(r28) +/* 80300468 002FD3C8 38 61 00 08 */ addi r3, r1, 8 +/* 8030046C 002FD3CC 7C 9F 22 14 */ add r4, r31, r4 +/* 80300470 002FD3D0 7C 00 B0 50 */ subf r0, r0, r22 +/* 80300474 002FD3D4 7C A5 02 14 */ add r5, r5, r0 +/* 80300478 002FD3D8 48 01 3E D5 */ bl __ct__9CVector2iFii +/* 8030047C 002FD3DC A0 1D 00 00 */ lhz r0, 0(r29) +/* 80300480 002FD3E0 7C 64 1B 78 */ mr r4, r3 +/* 80300484 002FD3E4 80 D5 00 10 */ lwz r6, 0x10(r21) +/* 80300488 002FD3E8 7F 23 CB 78 */ mr r3, r25 +/* 8030048C 002FD3EC 7C 05 07 34 */ extsh r5, r0 +/* 80300490 002FD3F0 48 05 A9 F1 */ bl AddCharacter__17CTextRenderBufferFRC9CVector2isUi +lbl_80300494: +/* 80300494 002FD3F4 80 15 00 00 */ lwz r0, 0(r21) +/* 80300498 002FD3F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8030049C 002FD3FC 40 82 00 14 */ bne lbl_803004B0 +/* 803004A0 002FD400 A8 1C 00 04 */ lha r0, 4(r28) +/* 803004A4 002FD404 A8 7C 00 02 */ lha r3, 2(r28) +/* 803004A8 002FD408 7F E0 FA 14 */ add r31, r0, r31 +/* 803004AC 002FD40C 7F E3 FA 14 */ add r31, r3, r31 +lbl_803004B0: +/* 803004B0 002FD410 7F 9E E3 78 */ mr r30, r28 +/* 803004B4 002FD414 3B BD 00 02 */ addi r29, r29, 2 +lbl_803004B8: +/* 803004B8 002FD418 A0 9D 00 00 */ lhz r4, 0(r29) +/* 803004BC 002FD41C 28 04 00 00 */ cmplwi r4, 0 +/* 803004C0 002FD420 41 82 00 24 */ beq lbl_803004E4 +/* 803004C4 002FD424 2C 1B FF FF */ cmpwi r27, -1 +/* 803004C8 002FD428 41 82 FF 44 */ beq lbl_8030040C +/* 803004CC 002FD42C 7C 7A E8 50 */ subf r3, r26, r29 +/* 803004D0 002FD430 54 60 0F FE */ srwi r0, r3, 0x1f +/* 803004D4 002FD434 7C 00 1A 14 */ add r0, r0, r3 +/* 803004D8 002FD438 7C 00 0E 70 */ srawi r0, r0, 1 +/* 803004DC 002FD43C 7C 00 D8 00 */ cmpw r0, r27 +/* 803004E0 002FD440 41 80 FF 2C */ blt lbl_8030040C +lbl_803004E4: +/* 803004E4 002FD444 93 F7 00 00 */ stw r31, 0(r23) +/* 803004E8 002FD448 92 D8 00 00 */ stw r22, 0(r24) +lbl_803004EC: +/* 803004EC 002FD44C BA 81 00 10 */ lmw r20, 0x10(r1) +/* 803004F0 002FD450 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803004F4 002FD454 7C 08 03 A6 */ mtlr r0 +/* 803004F8 002FD458 38 21 00 40 */ addi r1, r1, 0x40 +/* 803004FC 002FD45C 4E 80 00 20 */ blr + +.global "KernLookup__11CRasterFontFRCQ24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>ii" +"KernLookup__11CRasterFontFRCQ24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>ii": +/* 80300500 002FD460 80 03 00 04 */ lwz r0, 4(r3) +/* 80300504 002FD464 54 88 18 38 */ slwi r8, r4, 3 +/* 80300508 002FD468 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 8030050C 002FD46C 54 00 18 38 */ slwi r0, r0, 3 +/* 80300510 002FD470 7C 87 42 14 */ add r4, r7, r8 +/* 80300514 002FD474 7C C7 02 14 */ add r6, r7, r0 +/* 80300518 002FD478 48 00 00 1C */ b lbl_80300534 +lbl_8030051C: +/* 8030051C 002FD47C A0 04 00 02 */ lhz r0, 2(r4) +/* 80300520 002FD480 7C 05 00 00 */ cmpw r5, r0 +/* 80300524 002FD484 40 82 00 0C */ bne lbl_80300530 +/* 80300528 002FD488 80 64 00 04 */ lwz r3, 4(r4) +/* 8030052C 002FD48C 4E 80 00 20 */ blr +lbl_80300530: +/* 80300530 002FD490 38 84 00 08 */ addi r4, r4, 8 +lbl_80300534: +/* 80300534 002FD494 7C 04 30 40 */ cmplw r4, r6 +/* 80300538 002FD498 41 82 00 14 */ beq lbl_8030054C +/* 8030053C 002FD49C A0 64 00 00 */ lhz r3, 0(r4) +/* 80300540 002FD4A0 7C 07 42 2E */ lhzx r0, r7, r8 +/* 80300544 002FD4A4 7C 03 00 40 */ cmplw r3, r0 +/* 80300548 002FD4A8 41 82 FF D4 */ beq lbl_8030051C +lbl_8030054C: +/* 8030054C 002FD4AC 38 60 00 00 */ li r3, 0 +/* 80300550 002FD4B0 4E 80 00 20 */ blr + +.global DrawSpace__11CRasterFontCFRC18CDrawStringOptionsiiRiRii +DrawSpace__11CRasterFontCFRC18CDrawStringOptionsiiRiRii: +/* 80300554 002FD4B4 80 04 00 00 */ lwz r0, 0(r4) +/* 80300558 002FD4B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8030055C 002FD4BC 4C 82 00 20 */ bnelr +/* 80300560 002FD4C0 7C 05 4A 14 */ add r0, r5, r9 +/* 80300564 002FD4C4 90 07 00 00 */ stw r0, 0(r7) +/* 80300568 002FD4C8 90 C8 00 00 */ stw r6, 0(r8) +/* 8030056C 002FD4CC 4E 80 00 20 */ blr + +.global DrawString__11CRasterFontCFRC18CDrawStringOptionsiiRiRiP17CTextRenderBufferPCwi +DrawString__11CRasterFontCFRC18CDrawStringOptionsiiRiRiP17CTextRenderBufferPCwi: +/* 80300570 002FD4D0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80300574 002FD4D4 7C 08 02 A6 */ mflr r0 +/* 80300578 002FD4D8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8030057C 002FD4DC BE C1 00 48 */ stmw r22, 0x48(r1) +/* 80300580 002FD4E0 7C 76 1B 78 */ mr r22, r3 +/* 80300584 002FD4E4 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80300588 002FD4E8 7C 97 23 78 */ mr r23, r4 +/* 8030058C 002FD4EC 7C B8 2B 78 */ mr r24, r5 +/* 80300590 002FD4F0 7C D9 33 78 */ mr r25, r6 +/* 80300594 002FD4F4 7C FA 3B 78 */ mr r26, r7 +/* 80300598 002FD4F8 7D 1B 43 78 */ mr r27, r8 +/* 8030059C 002FD4FC 7D 3C 4B 78 */ mr r28, r9 +/* 803005A0 002FD500 7D 5D 53 78 */ mr r29, r10 +/* 803005A4 002FD504 88 03 00 00 */ lbz r0, 0(r3) +/* 803005A8 002FD508 28 00 00 00 */ cmplwi r0, 0 +/* 803005AC 002FD50C 41 82 00 D8 */ beq lbl_80300684 +/* 803005B0 002FD510 28 1C 00 00 */ cmplwi r28, 0 +/* 803005B4 002FD514 41 82 00 A8 */ beq lbl_8030065C +/* 803005B8 002FD518 38 61 00 20 */ addi r3, r1, 0x20 +/* 803005BC 002FD51C 38 80 00 02 */ li r4, 2 +/* 803005C0 002FD520 38 A0 00 04 */ li r5, 4 +/* 803005C4 002FD524 48 00 DA B1 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati +/* 803005C8 002FD528 C0 22 C7 40 */ lfs f1, lbl_805AE460@sda21(r2) +/* 803005CC 002FD52C 38 00 00 01 */ li r0, 1 +/* 803005D0 002FD530 98 01 00 3C */ stb r0, 0x3c(r1) +/* 803005D4 002FD534 38 61 00 1C */ addi r3, r1, 0x1c +/* 803005D8 002FD538 FC 40 08 90 */ fmr f2, f1 +/* 803005DC 002FD53C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803005E0 002FD540 FC 60 08 90 */ fmr f3, f1 +/* 803005E4 002FD544 FC 80 08 90 */ fmr f4, f1 +/* 803005E8 002FD548 48 06 2E 05 */ bl __ct__6CColorFffff +/* 803005EC 002FD54C 48 06 2A 81 */ bl ToRGB5A3__6CColorCFv +/* 803005F0 002FD550 B0 7F 00 00 */ sth r3, 0(r31) +/* 803005F4 002FD554 38 61 00 18 */ addi r3, r1, 0x18 +/* 803005F8 002FD558 80 17 00 08 */ lwz r0, 8(r23) +/* 803005FC 002FD55C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80300600 002FD560 48 06 2A 6D */ bl ToRGB5A3__6CColorCFv +/* 80300604 002FD564 B0 7F 00 02 */ sth r3, 2(r31) +/* 80300608 002FD568 38 61 00 14 */ addi r3, r1, 0x14 +/* 8030060C 002FD56C 80 17 00 0C */ lwz r0, 0xc(r23) +/* 80300610 002FD570 90 01 00 14 */ stw r0, 0x14(r1) +/* 80300614 002FD574 48 06 2A 59 */ bl ToRGB5A3__6CColorCFv +/* 80300618 002FD578 C0 22 C7 40 */ lfs f1, lbl_805AE460@sda21(r2) +/* 8030061C 002FD57C B0 7F 00 04 */ sth r3, 4(r31) +/* 80300620 002FD580 38 61 00 10 */ addi r3, r1, 0x10 +/* 80300624 002FD584 FC 40 08 90 */ fmr f2, f1 +/* 80300628 002FD588 FC 60 08 90 */ fmr f3, f1 +/* 8030062C 002FD58C FC 80 08 90 */ fmr f4, f1 +/* 80300630 002FD590 48 06 2D BD */ bl __ct__6CColorFffff +/* 80300634 002FD594 48 06 2A 39 */ bl ToRGB5A3__6CColorCFv +/* 80300638 002FD598 B0 7F 00 06 */ sth r3, 6(r31) +/* 8030063C 002FD59C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80300640 002FD5A0 48 00 D8 1D */ bl UnLock__16CGraphicsPaletteFv +/* 80300644 002FD5A4 7F 83 E3 78 */ mr r3, r28 +/* 80300648 002FD5A8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8030064C 002FD5AC 48 05 A9 E5 */ bl AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette +/* 80300650 002FD5B0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80300654 002FD5B4 38 80 FF FF */ li r4, -1 +/* 80300658 002FD5B8 48 00 D8 A9 */ bl __dt__16CGraphicsPaletteFv +lbl_8030065C: +/* 8030065C 002FD5BC 93 C1 00 08 */ stw r30, 8(r1) +/* 80300660 002FD5C0 7E C3 B3 78 */ mr r3, r22 +/* 80300664 002FD5C4 7E E4 BB 78 */ mr r4, r23 +/* 80300668 002FD5C8 7F 05 C3 78 */ mr r5, r24 +/* 8030066C 002FD5CC 7F 26 CB 78 */ mr r6, r25 +/* 80300670 002FD5D0 7F 47 D3 78 */ mr r7, r26 +/* 80300674 002FD5D4 7F 68 DB 78 */ mr r8, r27 +/* 80300678 002FD5D8 7F 89 E3 78 */ mr r9, r28 +/* 8030067C 002FD5DC 7F AA EB 78 */ mr r10, r29 +/* 80300680 002FD5E0 4B FF FD 41 */ bl SinglePassDrawString__11CRasterFontCFRC18CDrawStringOptionsiiRiRiP17CTextRenderBufferPCwi +lbl_80300684: +/* 80300684 002FD5E4 BA C1 00 48 */ lmw r22, 0x48(r1) +/* 80300688 002FD5E8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8030068C 002FD5EC 7C 08 03 A6 */ mtlr r0 +/* 80300690 002FD5F0 38 21 00 70 */ addi r1, r1, 0x70 +/* 80300694 002FD5F4 4E 80 00 20 */ blr + +.global GetGlyph__11CRasterFontCFw +GetGlyph__11CRasterFontCFw: +/* 80300698 002FD5F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030069C 002FD5FC 7C 08 02 A6 */ mflr r0 +/* 803006A0 002FD600 90 01 00 14 */ stw r0, 0x14(r1) +/* 803006A4 002FD604 4B FF FC 45 */ bl InternalGetGlyph__11CRasterFontCFw +/* 803006A8 002FD608 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803006AC 002FD60C 7C 08 03 A6 */ mtlr r0 +/* 803006B0 002FD610 38 21 00 10 */ addi r1, r1, 0x10 +/* 803006B4 002FD614 4E 80 00 20 */ blr + +.global GetCarriageAdvance__11CRasterFontFv +GetCarriageAdvance__11CRasterFontFv: +/* 803006B8 002FD618 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803006BC 002FD61C 7C 08 02 A6 */ mflr r0 +/* 803006C0 002FD620 90 01 00 14 */ stw r0, 0x14(r1) +/* 803006C4 002FD624 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803006C8 002FD628 93 C1 00 08 */ stw r30, 8(r1) +/* 803006CC 002FD62C 7C 7E 1B 78 */ mr r30, r3 +/* 803006D0 002FD630 4B FF F8 8D */ bl GetLineMargin__11CRasterFontFv +/* 803006D4 002FD634 7C 7F 1B 78 */ mr r31, r3 +/* 803006D8 002FD638 7F C3 F3 78 */ mr r3, r30 +/* 803006DC 002FD63C 48 00 00 21 */ bl GetMonoHeight__11CRasterFontCFv +/* 803006E0 002FD640 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803006E4 002FD644 7C 63 FA 14 */ add r3, r3, r31 +/* 803006E8 002FD648 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803006EC 002FD64C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803006F0 002FD650 7C 08 03 A6 */ mtlr r0 +/* 803006F4 002FD654 38 21 00 10 */ addi r1, r1, 0x10 +/* 803006F8 002FD658 4E 80 00 20 */ blr + +.global GetMonoHeight__11CRasterFontCFv +GetMonoHeight__11CRasterFontCFv: +/* 803006FC 002FD65C 80 63 00 08 */ lwz r3, 8(r3) +/* 80300700 002FD660 4E 80 00 20 */ blr + +.global GetMonoWidth__11CRasterFontCFv +GetMonoWidth__11CRasterFontCFv: +/* 80300704 002FD664 80 63 00 04 */ lwz r3, 4(r3) +/* 80300708 002FD668 4E 80 00 20 */ blr + +.global GetSize__11CRasterFontCFRC18CDrawStringOptionsRiRiPCwi +GetSize__11CRasterFontCFRC18CDrawStringOptionsRiRiPCwi: +/* 8030070C 002FD66C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80300710 002FD670 7C 08 02 A6 */ mflr r0 +/* 80300714 002FD674 90 01 00 34 */ stw r0, 0x34(r1) +/* 80300718 002FD678 38 00 00 00 */ li r0, 0 +/* 8030071C 002FD67C BE C1 00 08 */ stmw r22, 8(r1) +/* 80300720 002FD680 7C FB 3B 78 */ mr r27, r7 +/* 80300724 002FD684 7C B9 2B 78 */ mr r25, r5 +/* 80300728 002FD688 7C DA 33 78 */ mr r26, r6 +/* 8030072C 002FD68C 7C 77 1B 78 */ mr r23, r3 +/* 80300730 002FD690 7C 98 23 78 */ mr r24, r4 +/* 80300734 002FD694 7D 1C 43 78 */ mr r28, r8 +/* 80300738 002FD698 7F 7E DB 78 */ mr r30, r27 +/* 8030073C 002FD69C 3B E0 00 00 */ li r31, 0 +/* 80300740 002FD6A0 3A C0 00 00 */ li r22, 0 +/* 80300744 002FD6A4 90 05 00 00 */ stw r0, 0(r5) +/* 80300748 002FD6A8 90 06 00 00 */ stw r0, 0(r6) +/* 8030074C 002FD6AC 48 00 00 90 */ b lbl_803007DC +lbl_80300750: +/* 80300750 002FD6B0 7E E3 BB 78 */ mr r3, r23 +/* 80300754 002FD6B4 4B FF FF 45 */ bl GetGlyph__11CRasterFontCFw +/* 80300758 002FD6B8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030075C 002FD6BC 41 82 00 78 */ beq lbl_803007D4 +/* 80300760 002FD6C0 28 16 00 00 */ cmplwi r22, 0 +/* 80300764 002FD6C4 41 82 00 18 */ beq lbl_8030077C +/* 80300768 002FD6C8 A8 96 00 1E */ lha r4, 0x1e(r22) +/* 8030076C 002FD6CC 38 77 00 1C */ addi r3, r23, 0x1c +/* 80300770 002FD6D0 A0 BE 00 00 */ lhz r5, 0(r30) +/* 80300774 002FD6D4 4B FF FD 8D */ bl "KernLookup__11CRasterFontFRCQ24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>ii" +/* 80300778 002FD6D8 48 00 00 08 */ b lbl_80300780 +lbl_8030077C: +/* 8030077C 002FD6DC 38 60 00 00 */ li r3, 0 +lbl_80300780: +/* 80300780 002FD6E0 A8 BD 00 00 */ lha r5, 0(r29) +/* 80300784 002FD6E4 A8 9D 00 02 */ lha r4, 2(r29) +/* 80300788 002FD6E8 80 18 00 00 */ lwz r0, 0(r24) +/* 8030078C 002FD6EC A8 FD 00 04 */ lha r7, 4(r29) +/* 80300790 002FD6F0 7C C5 22 14 */ add r6, r5, r4 +/* 80300794 002FD6F4 A8 BD 00 1C */ lha r5, 0x1c(r29) +/* 80300798 002FD6F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8030079C 002FD6FC 80 97 00 08 */ lwz r4, 8(r23) +/* 803007A0 002FD700 7C 06 3A 14 */ add r0, r6, r7 +/* 803007A4 002FD704 7C C0 1A 14 */ add r6, r0, r3 +/* 803007A8 002FD708 A8 1D 00 1A */ lha r0, 0x1a(r29) +/* 803007AC 002FD70C 7C 65 20 50 */ subf r3, r5, r4 +/* 803007B0 002FD710 7C DF 32 14 */ add r6, r31, r6 +/* 803007B4 002FD714 7C 63 02 14 */ add r3, r3, r0 +/* 803007B8 002FD718 40 82 00 1C */ bne lbl_803007D4 +/* 803007BC 002FD71C 90 D9 00 00 */ stw r6, 0(r25) +/* 803007C0 002FD720 7C DF 33 78 */ mr r31, r6 +/* 803007C4 002FD724 80 1A 00 00 */ lwz r0, 0(r26) +/* 803007C8 002FD728 7C 03 00 00 */ cmpw r3, r0 +/* 803007CC 002FD72C 40 81 00 08 */ ble lbl_803007D4 +/* 803007D0 002FD730 90 7A 00 00 */ stw r3, 0(r26) +lbl_803007D4: +/* 803007D4 002FD734 7F B6 EB 78 */ mr r22, r29 +/* 803007D8 002FD738 3B DE 00 02 */ addi r30, r30, 2 +lbl_803007DC: +/* 803007DC 002FD73C A0 9E 00 00 */ lhz r4, 0(r30) +/* 803007E0 002FD740 28 04 00 00 */ cmplwi r4, 0 +/* 803007E4 002FD744 41 82 00 24 */ beq lbl_80300808 +/* 803007E8 002FD748 2C 1C FF FF */ cmpwi r28, -1 +/* 803007EC 002FD74C 41 82 FF 64 */ beq lbl_80300750 +/* 803007F0 002FD750 7C 7B F0 50 */ subf r3, r27, r30 +/* 803007F4 002FD754 54 60 0F FE */ srwi r0, r3, 0x1f +/* 803007F8 002FD758 7C 00 1A 14 */ add r0, r0, r3 +/* 803007FC 002FD75C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80300800 002FD760 7C 00 E0 00 */ cmpw r0, r28 +/* 80300804 002FD764 41 80 FF 4C */ blt lbl_80300750 +lbl_80300808: +/* 80300808 002FD768 BA C1 00 08 */ lmw r22, 8(r1) +/* 8030080C 002FD76C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80300810 002FD770 7C 08 03 A6 */ mtlr r0 +/* 80300814 002FD774 38 21 00 30 */ addi r1, r1, 0x30 +/* 80300818 002FD778 4E 80 00 20 */ blr + +.global GetMode__11CRasterFontCFv +GetMode__11CRasterFontCFv: +/* 8030081C 002FD77C 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 80300820 002FD780 4E 80 00 20 */ blr + +.global __ct__11CRasterFontFR12CInputStreamR12IObjectStore +__ct__11CRasterFontFR12CInputStreamR12IObjectStore: +/* 80300824 002FD784 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80300828 002FD788 7C 08 02 A6 */ mflr r0 +/* 8030082C 002FD78C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80300830 002FD790 39 61 00 F0 */ addi r11, r1, 0xf0 +/* 80300834 002FD794 48 08 91 B5 */ bl sub_803899e8 +/* 80300838 002FD798 BE 81 00 A0 */ stmw r20, 0xa0(r1) +/* 8030083C 002FD79C 7C 7E 1B 78 */ mr r30, r3 +/* 80300840 002FD7A0 38 C0 00 00 */ li r6, 0 +/* 80300844 002FD7A4 98 C3 00 00 */ stb r6, 0(r3) +/* 80300848 002FD7A8 38 00 00 10 */ li r0, 0x10 +/* 8030084C 002FD7AC 7C 9F 23 78 */ mr r31, r4 +/* 80300850 002FD7B0 7C B8 2B 78 */ mr r24, r5 +/* 80300854 002FD7B4 90 03 00 04 */ stw r0, 4(r3) +/* 80300858 002FD7B8 7F E3 FB 78 */ mr r3, r31 +/* 8030085C 002FD7BC 90 1E 00 08 */ stw r0, 8(r30) +/* 80300860 002FD7C0 90 DE 00 10 */ stw r6, 0x10(r30) +/* 80300864 002FD7C4 90 DE 00 14 */ stw r6, 0x14(r30) +/* 80300868 002FD7C8 90 DE 00 18 */ stw r6, 0x18(r30) +/* 8030086C 002FD7CC 90 DE 00 20 */ stw r6, 0x20(r30) +/* 80300870 002FD7D0 90 DE 00 24 */ stw r6, 0x24(r30) +/* 80300874 002FD7D4 90 DE 00 28 */ stw r6, 0x28(r30) +/* 80300878 002FD7D8 90 DE 00 2C */ stw r6, 0x2c(r30) +/* 8030087C 002FD7DC 98 DE 00 7C */ stb r6, 0x7c(r30) +/* 80300880 002FD7E0 98 DE 00 88 */ stb r6, 0x88(r30) +/* 80300884 002FD7E4 90 DE 00 90 */ stw r6, 0x90(r30) +/* 80300888 002FD7E8 48 03 E3 FD */ bl ReadLong__12CInputStreamFv +/* 8030088C 002FD7EC 3C 03 B9 B1 */ addis r0, r3, 0xb9b1 +/* 80300890 002FD7F0 28 00 4E 54 */ cmplwi r0, 0x4e54 +/* 80300894 002FD7F4 40 82 05 40 */ bne lbl_80300DD4 +/* 80300898 002FD7F8 7F E3 FB 78 */ mr r3, r31 +/* 8030089C 002FD7FC 48 03 E3 E9 */ bl ReadLong__12CInputStreamFv +/* 803008A0 002FD800 7C 74 1B 79 */ or. r20, r3, r3 +/* 803008A4 002FD804 41 80 05 30 */ blt lbl_80300DD4 +/* 803008A8 002FD808 2C 14 00 02 */ cmpwi r20, 2 +/* 803008AC 002FD80C 41 81 05 28 */ bgt lbl_80300DD4 +/* 803008B0 002FD810 7F E3 FB 78 */ mr r3, r31 +/* 803008B4 002FD814 48 03 E3 D1 */ bl ReadLong__12CInputStreamFv +/* 803008B8 002FD818 90 7E 00 04 */ stw r3, 4(r30) +/* 803008BC 002FD81C 7F E3 FB 78 */ mr r3, r31 +/* 803008C0 002FD820 48 03 E3 C5 */ bl ReadLong__12CInputStreamFv +/* 803008C4 002FD824 2C 14 00 01 */ cmpwi r20, 1 +/* 803008C8 002FD828 90 7E 00 08 */ stw r3, 8(r30) +/* 803008CC 002FD82C 41 80 00 14 */ blt lbl_803008E0 +/* 803008D0 002FD830 7F E3 FB 78 */ mr r3, r31 +/* 803008D4 002FD834 48 03 E3 B1 */ bl ReadLong__12CInputStreamFv +/* 803008D8 002FD838 90 7E 00 8C */ stw r3, 0x8c(r30) +/* 803008DC 002FD83C 48 00 00 0C */ b lbl_803008E8 +lbl_803008E0: +/* 803008E0 002FD840 80 1E 00 08 */ lwz r0, 8(r30) +/* 803008E4 002FD844 90 1E 00 8C */ stw r0, 0x8c(r30) +lbl_803008E8: +/* 803008E8 002FD848 2C 14 00 02 */ cmpwi r20, 2 +/* 803008EC 002FD84C 41 80 00 10 */ blt lbl_803008FC +/* 803008F0 002FD850 7F E3 FB 78 */ mr r3, r31 +/* 803008F4 002FD854 48 03 E3 91 */ bl ReadLong__12CInputStreamFv +/* 803008F8 002FD858 90 7E 00 90 */ stw r3, 0x90(r30) +lbl_803008FC: +/* 803008FC 002FD85C 7F E3 FB 78 */ mr r3, r31 +/* 80300900 002FD860 48 03 E3 DD */ bl ReadBool__12CInputStreamFv +/* 80300904 002FD864 7C 77 1B 78 */ mr r23, r3 +/* 80300908 002FD868 7F E3 FB 78 */ mr r3, r31 +/* 8030090C 002FD86C 48 03 E3 D1 */ bl ReadBool__12CInputStreamFv +/* 80300910 002FD870 7C 76 1B 78 */ mr r22, r3 +/* 80300914 002FD874 7F E3 FB 78 */ mr r3, r31 +/* 80300918 002FD878 48 03 E3 6D */ bl ReadLong__12CInputStreamFv +/* 8030091C 002FD87C 7C 75 1B 78 */ mr r21, r3 +/* 80300920 002FD880 7F E3 FB 78 */ mr r3, r31 +/* 80300924 002FD884 48 03 E3 61 */ bl ReadLong__12CInputStreamFv +/* 80300928 002FD888 7C 74 1B 78 */ mr r20, r3 +/* 8030092C 002FD88C 7F E4 FB 78 */ mr r4, r31 +/* 80300930 002FD890 38 61 00 40 */ addi r3, r1, 0x40 +/* 80300934 002FD894 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80300938 002FD898 48 03 D9 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 8030093C 002FD89C 7F E3 FB 78 */ mr r3, r31 +/* 80300940 002FD8A0 48 03 E3 45 */ bl ReadLong__12CInputStreamFv +/* 80300944 002FD8A4 28 18 00 00 */ cmplwi r24, 0 +/* 80300948 002FD8A8 41 82 00 90 */ beq lbl_803009D8 +/* 8030094C 002FD8AC 3C 80 54 58 */ lis r4, 0x54585452@ha +/* 80300950 002FD8B0 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80300954 002FD8B4 38 04 54 52 */ addi r0, r4, 0x54585452@l +/* 80300958 002FD8B8 7F 04 C3 78 */ mr r4, r24 +/* 8030095C 002FD8BC 90 01 00 38 */ stw r0, 0x38(r1) +/* 80300960 002FD8C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80300964 002FD8C4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80300968 002FD8C8 81 98 00 00 */ lwz r12, 0(r24) +/* 8030096C 002FD8CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80300970 002FD8D0 7D 89 03 A6 */ mtctr r12 +/* 80300974 002FD8D4 4E 80 04 21 */ bctrl +/* 80300978 002FD8D8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030097C 002FD8DC 38 81 00 30 */ addi r4, r1, 0x30 +/* 80300980 002FD8E0 48 04 05 29 */ bl __ct__6CTokenFRC6CToken +/* 80300984 002FD8E4 88 1E 00 88 */ lbz r0, 0x88(r30) +/* 80300988 002FD8E8 28 00 00 00 */ cmplwi r0, 0 +/* 8030098C 002FD8EC 40 82 00 20 */ bne lbl_803009AC +/* 80300990 002FD8F0 34 7E 00 80 */ addic. r3, r30, 0x80 +/* 80300994 002FD8F4 41 82 00 0C */ beq lbl_803009A0 +/* 80300998 002FD8F8 38 81 00 28 */ addi r4, r1, 0x28 +/* 8030099C 002FD8FC 48 04 05 0D */ bl __ct__6CTokenFRC6CToken +lbl_803009A0: +/* 803009A0 002FD900 38 00 00 01 */ li r0, 1 +/* 803009A4 002FD904 98 1E 00 88 */ stb r0, 0x88(r30) +/* 803009A8 002FD908 48 00 00 10 */ b lbl_803009B8 +lbl_803009AC: +/* 803009AC 002FD90C 38 7E 00 80 */ addi r3, r30, 0x80 +/* 803009B0 002FD910 38 81 00 28 */ addi r4, r1, 0x28 +/* 803009B4 002FD914 48 04 03 11 */ bl __as__6CTokenFRC6CToken +lbl_803009B8: +/* 803009B8 002FD918 38 61 00 28 */ addi r3, r1, 0x28 +/* 803009BC 002FD91C 38 80 00 00 */ li r4, 0 +/* 803009C0 002FD920 48 04 04 81 */ bl __dt__6CTokenFv +/* 803009C4 002FD924 38 61 00 30 */ addi r3, r1, 0x30 +/* 803009C8 002FD928 38 80 FF FF */ li r4, -1 +/* 803009CC 002FD92C 48 04 04 75 */ bl __dt__6CTokenFv +/* 803009D0 002FD930 38 7E 00 80 */ addi r3, r30, 0x80 +/* 803009D4 002FD934 48 04 03 B1 */ bl Lock__6CTokenFv +lbl_803009D8: +/* 803009D8 002FD938 9A E1 00 50 */ stb r23, 0x50(r1) +/* 803009DC 002FD93C 38 61 00 5C */ addi r3, r1, 0x5c +/* 803009E0 002FD940 80 81 00 40 */ lwz r4, 0x40(r1) +/* 803009E4 002FD944 9A C1 00 51 */ stb r22, 0x51(r1) +/* 803009E8 002FD948 92 A1 00 54 */ stw r21, 0x54(r1) +/* 803009EC 002FD94C 92 81 00 58 */ stw r20, 0x58(r1) +/* 803009F0 002FD950 48 08 F7 19 */ bl strcpy +/* 803009F4 002FD954 88 1E 00 7C */ lbz r0, 0x7c(r30) +/* 803009F8 002FD958 28 00 00 00 */ cmplwi r0, 0 +/* 803009FC 002FD95C 40 82 00 B8 */ bne lbl_80300AB4 +/* 80300A00 002FD960 34 9E 00 30 */ addic. r4, r30, 0x30 +/* 80300A04 002FD964 41 82 00 A4 */ beq lbl_80300AA8 +/* 80300A08 002FD968 88 01 00 50 */ lbz r0, 0x50(r1) +/* 80300A0C 002FD96C 98 04 00 00 */ stb r0, 0(r4) +/* 80300A10 002FD970 88 01 00 51 */ lbz r0, 0x51(r1) +/* 80300A14 002FD974 98 04 00 01 */ stb r0, 1(r4) +/* 80300A18 002FD978 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80300A1C 002FD97C 90 04 00 04 */ stw r0, 4(r4) +/* 80300A20 002FD980 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80300A24 002FD984 90 04 00 08 */ stw r0, 8(r4) +/* 80300A28 002FD988 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80300A2C 002FD98C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 80300A30 002FD990 90 64 00 0C */ stw r3, 0xc(r4) +/* 80300A34 002FD994 90 04 00 10 */ stw r0, 0x10(r4) +/* 80300A38 002FD998 80 61 00 64 */ lwz r3, 0x64(r1) +/* 80300A3C 002FD99C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 80300A40 002FD9A0 90 64 00 14 */ stw r3, 0x14(r4) +/* 80300A44 002FD9A4 90 04 00 18 */ stw r0, 0x18(r4) +/* 80300A48 002FD9A8 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 80300A4C 002FD9AC 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80300A50 002FD9B0 90 64 00 1C */ stw r3, 0x1c(r4) +/* 80300A54 002FD9B4 90 04 00 20 */ stw r0, 0x20(r4) +/* 80300A58 002FD9B8 80 61 00 74 */ lwz r3, 0x74(r1) +/* 80300A5C 002FD9BC 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80300A60 002FD9C0 90 64 00 24 */ stw r3, 0x24(r4) +/* 80300A64 002FD9C4 90 04 00 28 */ stw r0, 0x28(r4) +/* 80300A68 002FD9C8 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 80300A6C 002FD9CC 80 01 00 80 */ lwz r0, 0x80(r1) +/* 80300A70 002FD9D0 90 64 00 2C */ stw r3, 0x2c(r4) +/* 80300A74 002FD9D4 90 04 00 30 */ stw r0, 0x30(r4) +/* 80300A78 002FD9D8 80 61 00 84 */ lwz r3, 0x84(r1) +/* 80300A7C 002FD9DC 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80300A80 002FD9E0 90 64 00 34 */ stw r3, 0x34(r4) +/* 80300A84 002FD9E4 90 04 00 38 */ stw r0, 0x38(r4) +/* 80300A88 002FD9E8 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 80300A8C 002FD9EC 80 01 00 90 */ lwz r0, 0x90(r1) +/* 80300A90 002FD9F0 90 64 00 3C */ stw r3, 0x3c(r4) +/* 80300A94 002FD9F4 90 04 00 40 */ stw r0, 0x40(r4) +/* 80300A98 002FD9F8 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80300A9C 002FD9FC 80 01 00 98 */ lwz r0, 0x98(r1) +/* 80300AA0 002FDA00 90 64 00 44 */ stw r3, 0x44(r4) +/* 80300AA4 002FDA04 90 04 00 48 */ stw r0, 0x48(r4) +lbl_80300AA8: +/* 80300AA8 002FDA08 38 00 00 01 */ li r0, 1 +/* 80300AAC 002FDA0C 98 1E 00 7C */ stb r0, 0x7c(r30) +/* 80300AB0 002FDA10 48 00 00 A4 */ b lbl_80300B54 +lbl_80300AB4: +/* 80300AB4 002FDA14 88 01 00 50 */ lbz r0, 0x50(r1) +/* 80300AB8 002FDA18 98 1E 00 30 */ stb r0, 0x30(r30) +/* 80300ABC 002FDA1C 88 01 00 51 */ lbz r0, 0x51(r1) +/* 80300AC0 002FDA20 98 1E 00 31 */ stb r0, 0x31(r30) +/* 80300AC4 002FDA24 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80300AC8 002FDA28 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80300ACC 002FDA2C 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80300AD0 002FDA30 90 1E 00 38 */ stw r0, 0x38(r30) +/* 80300AD4 002FDA34 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80300AD8 002FDA38 80 01 00 60 */ lwz r0, 0x60(r1) +/* 80300ADC 002FDA3C 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 80300AE0 002FDA40 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80300AE4 002FDA44 80 61 00 64 */ lwz r3, 0x64(r1) +/* 80300AE8 002FDA48 80 01 00 68 */ lwz r0, 0x68(r1) +/* 80300AEC 002FDA4C 90 7E 00 44 */ stw r3, 0x44(r30) +/* 80300AF0 002FDA50 90 1E 00 48 */ stw r0, 0x48(r30) +/* 80300AF4 002FDA54 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 80300AF8 002FDA58 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80300AFC 002FDA5C 90 7E 00 4C */ stw r3, 0x4c(r30) +/* 80300B00 002FDA60 90 1E 00 50 */ stw r0, 0x50(r30) +/* 80300B04 002FDA64 80 61 00 74 */ lwz r3, 0x74(r1) +/* 80300B08 002FDA68 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80300B0C 002FDA6C 90 7E 00 54 */ stw r3, 0x54(r30) +/* 80300B10 002FDA70 90 1E 00 58 */ stw r0, 0x58(r30) +/* 80300B14 002FDA74 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 80300B18 002FDA78 80 01 00 80 */ lwz r0, 0x80(r1) +/* 80300B1C 002FDA7C 90 7E 00 5C */ stw r3, 0x5c(r30) +/* 80300B20 002FDA80 90 1E 00 60 */ stw r0, 0x60(r30) +/* 80300B24 002FDA84 80 61 00 84 */ lwz r3, 0x84(r1) +/* 80300B28 002FDA88 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80300B2C 002FDA8C 90 7E 00 64 */ stw r3, 0x64(r30) +/* 80300B30 002FDA90 90 1E 00 68 */ stw r0, 0x68(r30) +/* 80300B34 002FDA94 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 80300B38 002FDA98 80 01 00 90 */ lwz r0, 0x90(r1) +/* 80300B3C 002FDA9C 90 7E 00 6C */ stw r3, 0x6c(r30) +/* 80300B40 002FDAA0 90 1E 00 70 */ stw r0, 0x70(r30) +/* 80300B44 002FDAA4 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80300B48 002FDAA8 80 01 00 98 */ lwz r0, 0x98(r1) +/* 80300B4C 002FDAAC 90 7E 00 74 */ stw r3, 0x74(r30) +/* 80300B50 002FDAB0 90 1E 00 78 */ stw r0, 0x78(r30) +lbl_80300B54: +/* 80300B54 002FDAB4 7F E3 FB 78 */ mr r3, r31 +/* 80300B58 002FDAB8 48 03 E1 2D */ bl ReadLong__12CInputStreamFv +/* 80300B5C 002FDABC 2C 03 00 01 */ cmpwi r3, 1 +/* 80300B60 002FDAC0 41 82 00 20 */ beq lbl_80300B80 +/* 80300B64 002FDAC4 40 80 00 24 */ bge lbl_80300B88 +/* 80300B68 002FDAC8 2C 03 00 00 */ cmpwi r3, 0 +/* 80300B6C 002FDACC 40 80 00 08 */ bge lbl_80300B74 +/* 80300B70 002FDAD0 48 00 00 18 */ b lbl_80300B88 +lbl_80300B74: +/* 80300B74 002FDAD4 38 00 00 00 */ li r0, 0 +/* 80300B78 002FDAD8 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80300B7C 002FDADC 48 00 00 0C */ b lbl_80300B88 +lbl_80300B80: +/* 80300B80 002FDAE0 38 00 00 01 */ li r0, 1 +/* 80300B84 002FDAE4 90 1E 00 2C */ stw r0, 0x2c(r30) +lbl_80300B88: +/* 80300B88 002FDAE8 7F E3 FB 78 */ mr r3, r31 +/* 80300B8C 002FDAEC 48 03 E0 F9 */ bl ReadLong__12CInputStreamFv +/* 80300B90 002FDAF0 7C 7C 1B 78 */ mr r28, r3 +/* 80300B94 002FDAF4 38 7E 00 0C */ addi r3, r30, 0xc +/* 80300B98 002FDAF8 7F 84 E3 78 */ mr r4, r28 +/* 80300B9C 002FDAFC 48 00 05 A1 */ bl "reserve__Q24rstl59vector,Q24rstl17rmemory_allocator>Fi" +/* 80300BA0 002FDB00 3A 80 00 00 */ li r20, 0 +/* 80300BA4 002FDB04 48 00 01 2C */ b lbl_80300CD0 +lbl_80300BA8: +/* 80300BA8 002FDB08 7F E3 FB 78 */ mr r3, r31 +/* 80300BAC 002FDB0C 48 03 E1 05 */ bl ReadShort__12CInputStreamFv +/* 80300BB0 002FDB10 7C 7D 1B 78 */ mr r29, r3 +/* 80300BB4 002FDB14 7F E3 FB 78 */ mr r3, r31 +/* 80300BB8 002FDB18 48 03 E0 71 */ bl ReadFloat__12CInputStreamFv +/* 80300BBC 002FDB1C FF 80 08 90 */ fmr f28, f1 +/* 80300BC0 002FDB20 7F E3 FB 78 */ mr r3, r31 +/* 80300BC4 002FDB24 48 03 E0 65 */ bl ReadFloat__12CInputStreamFv +/* 80300BC8 002FDB28 FF A0 08 90 */ fmr f29, f1 +/* 80300BCC 002FDB2C 7F E3 FB 78 */ mr r3, r31 +/* 80300BD0 002FDB30 48 03 E0 59 */ bl ReadFloat__12CInputStreamFv +/* 80300BD4 002FDB34 FF C0 08 90 */ fmr f30, f1 +/* 80300BD8 002FDB38 7F E3 FB 78 */ mr r3, r31 +/* 80300BDC 002FDB3C 48 03 E0 4D */ bl ReadFloat__12CInputStreamFv +/* 80300BE0 002FDB40 FF E0 08 90 */ fmr f31, f1 +/* 80300BE4 002FDB44 7F E3 FB 78 */ mr r3, r31 +/* 80300BE8 002FDB48 48 03 E0 9D */ bl ReadLong__12CInputStreamFv +/* 80300BEC 002FDB4C 7C 7A 1B 78 */ mr r26, r3 +/* 80300BF0 002FDB50 7F E3 FB 78 */ mr r3, r31 +/* 80300BF4 002FDB54 48 03 E0 91 */ bl ReadLong__12CInputStreamFv +/* 80300BF8 002FDB58 7C 79 1B 78 */ mr r25, r3 +/* 80300BFC 002FDB5C 7F E3 FB 78 */ mr r3, r31 +/* 80300C00 002FDB60 48 03 E0 85 */ bl ReadLong__12CInputStreamFv +/* 80300C04 002FDB64 7C 78 1B 78 */ mr r24, r3 +/* 80300C08 002FDB68 7F E3 FB 78 */ mr r3, r31 +/* 80300C0C 002FDB6C 48 03 E0 79 */ bl ReadLong__12CInputStreamFv +/* 80300C10 002FDB70 7C 77 1B 78 */ mr r23, r3 +/* 80300C14 002FDB74 7F E3 FB 78 */ mr r3, r31 +/* 80300C18 002FDB78 48 03 E0 6D */ bl ReadLong__12CInputStreamFv +/* 80300C1C 002FDB7C 7C 76 1B 78 */ mr r22, r3 +/* 80300C20 002FDB80 7F E3 FB 78 */ mr r3, r31 +/* 80300C24 002FDB84 48 03 E0 61 */ bl ReadLong__12CInputStreamFv +/* 80300C28 002FDB88 7C 75 1B 78 */ mr r21, r3 +/* 80300C2C 002FDB8C 7F E3 FB 78 */ mr r3, r31 +/* 80300C30 002FDB90 48 03 E0 55 */ bl ReadLong__12CInputStreamFv +/* 80300C34 002FDB94 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80300C38 002FDB98 7F 5B 07 34 */ extsh r27, r26 +/* 80300C3C 002FDB9C 80 BE 00 14 */ lwz r5, 0x14(r30) +/* 80300C40 002FDBA0 7F 3A 07 34 */ extsh r26, r25 +/* 80300C44 002FDBA4 7F 19 07 34 */ extsh r25, r24 +/* 80300C48 002FDBA8 7E F8 07 34 */ extsh r24, r23 +/* 80300C4C 002FDBAC 7C 00 28 00 */ cmpw r0, r5 +/* 80300C50 002FDBB0 7E D7 07 34 */ extsh r23, r22 +/* 80300C54 002FDBB4 7E B6 07 34 */ extsh r22, r21 +/* 80300C58 002FDBB8 7C 75 07 34 */ extsh r21, r3 +/* 80300C5C 002FDBBC 57 BD 04 3E */ clrlwi r29, r29, 0x10 +/* 80300C60 002FDBC0 41 80 00 1C */ blt lbl_80300C7C +/* 80300C64 002FDBC4 2C 05 00 00 */ cmpwi r5, 0 +/* 80300C68 002FDBC8 38 7E 00 0C */ addi r3, r30, 0xc +/* 80300C6C 002FDBCC 38 80 00 04 */ li r4, 4 +/* 80300C70 002FDBD0 41 82 00 08 */ beq lbl_80300C78 +/* 80300C74 002FDBD4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80300C78: +/* 80300C78 002FDBD8 48 00 04 C5 */ bl "reserve__Q24rstl59vector,Q24rstl17rmemory_allocator>Fi" +lbl_80300C7C: +/* 80300C7C 002FDBDC 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80300C80 002FDBE0 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 80300C84 002FDBE4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80300C88 002FDBE8 7C 63 02 15 */ add. r3, r3, r0 +/* 80300C8C 002FDBEC 41 82 00 34 */ beq lbl_80300CC0 +/* 80300C90 002FDBF0 B3 A3 00 00 */ sth r29, 0(r3) +/* 80300C94 002FDBF4 B3 63 00 04 */ sth r27, 4(r3) +/* 80300C98 002FDBF8 B3 43 00 06 */ sth r26, 6(r3) +/* 80300C9C 002FDBFC B3 23 00 08 */ sth r25, 8(r3) +/* 80300CA0 002FDC00 D3 83 00 0C */ stfs f28, 0xc(r3) +/* 80300CA4 002FDC04 D3 A3 00 10 */ stfs f29, 0x10(r3) +/* 80300CA8 002FDC08 D3 C3 00 14 */ stfs f30, 0x14(r3) +/* 80300CAC 002FDC0C D3 E3 00 18 */ stfs f31, 0x18(r3) +/* 80300CB0 002FDC10 B3 03 00 1C */ sth r24, 0x1c(r3) +/* 80300CB4 002FDC14 B2 E3 00 1E */ sth r23, 0x1e(r3) +/* 80300CB8 002FDC18 B2 C3 00 20 */ sth r22, 0x20(r3) +/* 80300CBC 002FDC1C B2 A3 00 22 */ sth r21, 0x22(r3) +lbl_80300CC0: +/* 80300CC0 002FDC20 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80300CC4 002FDC24 3A 94 00 01 */ addi r20, r20, 1 +/* 80300CC8 002FDC28 38 03 00 01 */ addi r0, r3, 1 +/* 80300CCC 002FDC2C 90 1E 00 10 */ stw r0, 0x10(r30) +lbl_80300CD0: +/* 80300CD0 002FDC30 7C 14 E0 00 */ cmpw r20, r28 +/* 80300CD4 002FDC34 41 80 FE D4 */ blt lbl_80300BA8 +/* 80300CD8 002FDC38 88 E1 00 10 */ lbz r7, 0x10(r1) +/* 80300CDC 002FDC3C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80300CE0 002FDC40 38 81 00 20 */ addi r4, r1, 0x20 +/* 80300CE4 002FDC44 38 A1 00 08 */ addi r5, r1, 8 +/* 80300CE8 002FDC48 98 E1 00 08 */ stb r7, 8(r1) +/* 80300CEC 002FDC4C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80300CF0 002FDC50 80 DE 00 18 */ lwz r6, 0x18(r30) +/* 80300CF4 002FDC54 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80300CF8 002FDC58 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80300CFC 002FDC5C 7C C6 02 14 */ add r6, r6, r0 +/* 80300D00 002FDC60 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80300D04 002FDC64 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80300D08 002FDC68 90 C1 00 24 */ stw r6, 0x24(r1) +/* 80300D0C 002FDC6C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80300D10 002FDC70 90 01 00 18 */ stw r0, 0x18(r1) +/* 80300D14 002FDC74 48 00 00 E1 */ bl "sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17" +/* 80300D18 002FDC78 7F E3 FB 78 */ mr r3, r31 +/* 80300D1C 002FDC7C 48 03 DF 69 */ bl ReadLong__12CInputStreamFv +/* 80300D20 002FDC80 7C 78 1B 78 */ mr r24, r3 +/* 80300D24 002FDC84 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80300D28 002FDC88 7F 04 C3 78 */ mr r4, r24 +/* 80300D2C 002FDC8C 48 00 05 59 */ bl "reserve__Q24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>Fi" +/* 80300D30 002FDC90 3A 80 00 00 */ li r20, 0 +/* 80300D34 002FDC94 48 00 00 88 */ b lbl_80300DBC +lbl_80300D38: +/* 80300D38 002FDC98 7F E3 FB 78 */ mr r3, r31 +/* 80300D3C 002FDC9C 48 03 DF 75 */ bl ReadShort__12CInputStreamFv +/* 80300D40 002FDCA0 7C 75 07 34 */ extsh r21, r3 +/* 80300D44 002FDCA4 7F E3 FB 78 */ mr r3, r31 +/* 80300D48 002FDCA8 48 03 DF 69 */ bl ReadShort__12CInputStreamFv +/* 80300D4C 002FDCAC 7C 76 07 34 */ extsh r22, r3 +/* 80300D50 002FDCB0 7F E3 FB 78 */ mr r3, r31 +/* 80300D54 002FDCB4 48 03 DF 31 */ bl ReadLong__12CInputStreamFv +/* 80300D58 002FDCB8 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 80300D5C 002FDCBC 7C 77 1B 78 */ mr r23, r3 +/* 80300D60 002FDCC0 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 80300D64 002FDCC4 56 D6 04 3E */ clrlwi r22, r22, 0x10 +/* 80300D68 002FDCC8 56 B5 04 3E */ clrlwi r21, r21, 0x10 +/* 80300D6C 002FDCCC 7C 00 28 00 */ cmpw r0, r5 +/* 80300D70 002FDCD0 41 80 00 1C */ blt lbl_80300D8C +/* 80300D74 002FDCD4 2C 05 00 00 */ cmpwi r5, 0 +/* 80300D78 002FDCD8 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80300D7C 002FDCDC 38 80 00 04 */ li r4, 4 +/* 80300D80 002FDCE0 41 82 00 08 */ beq lbl_80300D88 +/* 80300D84 002FDCE4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80300D88: +/* 80300D88 002FDCE8 48 00 04 FD */ bl "reserve__Q24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>Fi" +lbl_80300D8C: +/* 80300D8C 002FDCEC 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 80300D90 002FDCF0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80300D94 002FDCF4 54 00 18 38 */ slwi r0, r0, 3 +/* 80300D98 002FDCF8 7C 63 02 15 */ add. r3, r3, r0 +/* 80300D9C 002FDCFC 41 82 00 10 */ beq lbl_80300DAC +/* 80300DA0 002FDD00 B2 A3 00 00 */ sth r21, 0(r3) +/* 80300DA4 002FDD04 B2 C3 00 02 */ sth r22, 2(r3) +/* 80300DA8 002FDD08 92 E3 00 04 */ stw r23, 4(r3) +lbl_80300DAC: +/* 80300DAC 002FDD0C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80300DB0 002FDD10 3A 94 00 01 */ addi r20, r20, 1 +/* 80300DB4 002FDD14 38 03 00 01 */ addi r0, r3, 1 +/* 80300DB8 002FDD18 90 1E 00 20 */ stw r0, 0x20(r30) +lbl_80300DBC: +/* 80300DBC 002FDD1C 7C 14 C0 00 */ cmpw r20, r24 +/* 80300DC0 002FDD20 41 80 FF 78 */ blt lbl_80300D38 +/* 80300DC4 002FDD24 38 00 00 01 */ li r0, 1 +/* 80300DC8 002FDD28 38 61 00 40 */ addi r3, r1, 0x40 +/* 80300DCC 002FDD2C 98 1E 00 00 */ stb r0, 0(r30) +/* 80300DD0 002FDD30 48 03 CD 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80300DD4: +/* 80300DD4 002FDD34 7F C3 F3 78 */ mr r3, r30 +/* 80300DD8 002FDD38 39 61 00 F0 */ addi r11, r1, 0xf0 +/* 80300DDC 002FDD3C 48 08 8C 59 */ bl sub_80389a34 +/* 80300DE0 002FDD40 BA 81 00 A0 */ lmw r20, 0xa0(r1) +/* 80300DE4 002FDD44 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80300DE8 002FDD48 7C 08 03 A6 */ mtlr r0 +/* 80300DEC 002FDD4C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80300DF0 002FDD50 4E 80 00 20 */ blr + +.global "sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17" +"sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17": +/* 80300DF4 002FDD54 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80300DF8 002FDD58 7C 08 02 A6 */ mflr r0 +/* 80300DFC 002FDD5C 90 01 00 94 */ stw r0, 0x94(r1) +/* 80300E00 002FDD60 BE E1 00 6C */ stmw r23, 0x6c(r1) +/* 80300E04 002FDD64 7C 9E 23 78 */ mr r30, r4 +/* 80300E08 002FDD68 7C 7D 1B 78 */ mr r29, r3 +/* 80300E0C 002FDD6C 3C 80 38 E4 */ lis r4, 0x38E38E39@ha +/* 80300E10 002FDD70 38 84 8E 39 */ addi r4, r4, 0x38E38E39@l +/* 80300E14 002FDD74 7C BF 2B 78 */ mr r31, r5 +/* 80300E18 002FDD78 80 63 00 00 */ lwz r3, 0(r3) +/* 80300E1C 002FDD7C 80 DE 00 00 */ lwz r6, 0(r30) +/* 80300E20 002FDD80 7C 03 30 50 */ subf r0, r3, r6 +/* 80300E24 002FDD84 7C 04 00 96 */ mulhw r0, r4, r0 +/* 80300E28 002FDD88 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80300E2C 002FDD8C 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80300E30 002FDD90 7C 80 22 14 */ add r4, r0, r4 +/* 80300E34 002FDD94 2C 04 00 01 */ cmpwi r4, 1 +/* 80300E38 002FDD98 40 81 02 30 */ ble lbl_80301068 +/* 80300E3C 002FDD9C 2C 04 00 14 */ cmpwi r4, 0x14 +/* 80300E40 002FDDA0 41 81 00 30 */ bgt lbl_80300E70 +/* 80300E44 002FDDA4 88 FF 00 00 */ lbz r7, 0(r31) +/* 80300E48 002FDDA8 38 61 00 34 */ addi r3, r1, 0x34 +/* 80300E4C 002FDDAC 80 DE 00 00 */ lwz r6, 0(r30) +/* 80300E50 002FDDB0 38 81 00 30 */ addi r4, r1, 0x30 +/* 80300E54 002FDDB4 80 1D 00 00 */ lwz r0, 0(r29) +/* 80300E58 002FDDB8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80300E5C 002FDDBC 98 E1 00 14 */ stb r7, 0x14(r1) +/* 80300E60 002FDDC0 90 C1 00 30 */ stw r6, 0x30(r1) +/* 80300E64 002FDDC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80300E68 002FDDC8 48 00 08 75 */ bl "__insertion_sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocato" +/* 80300E6C 002FDDCC 48 00 01 FC */ b lbl_80301068 +lbl_80300E70: +/* 80300E70 002FDDD0 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80300E74 002FDDD4 38 A6 FF DC */ addi r5, r6, -36 +/* 80300E78 002FDDD8 7C 80 22 14 */ add r4, r0, r4 +/* 80300E7C 002FDDDC 88 1F 00 00 */ lbz r0, 0(r31) +/* 80300E80 002FDDE0 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80300E84 002FDDE4 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 80300E88 002FDDE8 1C 84 00 24 */ mulli r4, r4, 0x24 +/* 80300E8C 002FDDEC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80300E90 002FDDF0 98 01 00 10 */ stb r0, 0x10(r1) +/* 80300E94 002FDDF4 7E E3 22 14 */ add r23, r3, r4 +/* 80300E98 002FDDF8 7E E4 BB 78 */ mr r4, r23 +/* 80300E9C 002FDDFC 48 00 05 91 */ bl "__sort3,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFRQ24rstl15pairRQ24rstl15pairRQ24rstl15pairQ24rstl60pair_sorter_finder,Q24rstl7less>" +/* 80300EA0 002FDE00 80 9D 00 00 */ lwz r4, 0(r29) +/* 80300EA4 002FDE04 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80300EA8 002FDE08 38 84 00 24 */ addi r4, r4, 0x24 +/* 80300EAC 002FDE0C A0 B7 00 00 */ lhz r5, 0(r23) +/* 80300EB0 002FDE10 38 03 FF DC */ addi r0, r3, -36 +/* 80300EB4 002FDE14 90 81 00 38 */ stw r4, 0x38(r1) +/* 80300EB8 002FDE18 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80300EBC 002FDE1C 48 00 00 10 */ b lbl_80300ECC +lbl_80300EC0: +/* 80300EC0 002FDE20 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80300EC4 002FDE24 38 03 00 24 */ addi r0, r3, 0x24 +/* 80300EC8 002FDE28 90 01 00 38 */ stw r0, 0x38(r1) +lbl_80300ECC: +/* 80300ECC 002FDE2C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80300ED0 002FDE30 A0 03 00 00 */ lhz r0, 0(r3) +/* 80300ED4 002FDE34 7C 00 28 40 */ cmplw r0, r5 +/* 80300ED8 002FDE38 41 80 FF E8 */ blt lbl_80300EC0 +/* 80300EDC 002FDE3C 48 00 00 10 */ b lbl_80300EEC +lbl_80300EE0: +/* 80300EE0 002FDE40 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80300EE4 002FDE44 38 03 FF DC */ addi r0, r3, -36 +/* 80300EE8 002FDE48 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80300EEC: +/* 80300EEC 002FDE4C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80300EF0 002FDE50 A0 03 00 00 */ lhz r0, 0(r3) +/* 80300EF4 002FDE54 7C 05 00 40 */ cmplw r5, r0 +/* 80300EF8 002FDE58 41 80 FF E8 */ blt lbl_80300EE0 +/* 80300EFC 002FDE5C 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80300F00 002FDE60 7C 00 18 40 */ cmplw r0, r3 +/* 80300F04 002FDE64 40 80 01 14 */ bge lbl_80301018 +/* 80300F08 002FDE68 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80300F0C 002FDE6C 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80300F10 002FDE70 A0 03 00 00 */ lhz r0, 0(r3) +/* 80300F14 002FDE74 38 E3 00 24 */ addi r7, r3, 0x24 +/* 80300F18 002FDE78 AB 63 00 04 */ lha r27, 4(r3) +/* 80300F1C 002FDE7C 38 C4 FF DC */ addi r6, r4, -36 +/* 80300F20 002FDE80 A9 43 00 06 */ lha r10, 6(r3) +/* 80300F24 002FDE84 A9 23 00 08 */ lha r9, 8(r3) +/* 80300F28 002FDE88 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 80300F2C 002FDE8C C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80300F30 002FDE90 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80300F34 002FDE94 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80300F38 002FDE98 AA E3 00 1C */ lha r23, 0x1c(r3) +/* 80300F3C 002FDE9C AB 03 00 1E */ lha r24, 0x1e(r3) +/* 80300F40 002FDEA0 AB 23 00 20 */ lha r25, 0x20(r3) +/* 80300F44 002FDEA4 AB 43 00 22 */ lha r26, 0x22(r3) +/* 80300F48 002FDEA8 A1 04 00 00 */ lhz r8, 0(r4) +/* 80300F4C 002FDEAC B1 21 00 48 */ sth r9, 0x48(r1) +/* 80300F50 002FDEB0 B1 03 00 00 */ sth r8, 0(r3) +/* 80300F54 002FDEB4 81 81 00 48 */ lwz r12, 0x48(r1) +/* 80300F58 002FDEB8 81 24 00 04 */ lwz r9, 4(r4) +/* 80300F5C 002FDEBC 81 04 00 08 */ lwz r8, 8(r4) +/* 80300F60 002FDEC0 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80300F64 002FDEC4 91 23 00 04 */ stw r9, 4(r3) +/* 80300F68 002FDEC8 81 61 00 4C */ lwz r11, 0x4c(r1) +/* 80300F6C 002FDECC 91 03 00 08 */ stw r8, 8(r3) +/* 80300F70 002FDED0 81 24 00 0C */ lwz r9, 0xc(r4) +/* 80300F74 002FDED4 81 04 00 10 */ lwz r8, 0x10(r4) +/* 80300F78 002FDED8 B3 61 00 44 */ sth r27, 0x44(r1) +/* 80300F7C 002FDEDC 91 23 00 0C */ stw r9, 0xc(r3) +/* 80300F80 002FDEE0 91 03 00 10 */ stw r8, 0x10(r3) +/* 80300F84 002FDEE4 B1 41 00 46 */ sth r10, 0x46(r1) +/* 80300F88 002FDEE8 81 24 00 14 */ lwz r9, 0x14(r4) +/* 80300F8C 002FDEEC 81 04 00 18 */ lwz r8, 0x18(r4) +/* 80300F90 002FDEF0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80300F94 002FDEF4 83 81 00 44 */ lwz r28, 0x44(r1) +/* 80300F98 002FDEF8 91 23 00 14 */ stw r9, 0x14(r3) +/* 80300F9C 002FDEFC 81 41 00 50 */ lwz r10, 0x50(r1) +/* 80300FA0 002FDF00 91 03 00 18 */ stw r8, 0x18(r3) +/* 80300FA4 002FDF04 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80300FA8 002FDF08 81 04 00 1C */ lwz r8, 0x1c(r4) +/* 80300FAC 002FDF0C 83 64 00 20 */ lwz r27, 0x20(r4) +/* 80300FB0 002FDF10 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80300FB4 002FDF14 81 21 00 54 */ lwz r9, 0x54(r1) +/* 80300FB8 002FDF18 91 03 00 1C */ stw r8, 0x1c(r3) +/* 80300FBC 002FDF1C 81 01 00 58 */ lwz r8, 0x58(r1) +/* 80300FC0 002FDF20 93 63 00 20 */ stw r27, 0x20(r3) +/* 80300FC4 002FDF24 B0 04 00 00 */ sth r0, 0(r4) +/* 80300FC8 002FDF28 93 84 00 04 */ stw r28, 4(r4) +/* 80300FCC 002FDF2C 91 84 00 08 */ stw r12, 8(r4) +/* 80300FD0 002FDF30 91 64 00 0C */ stw r11, 0xc(r4) +/* 80300FD4 002FDF34 91 44 00 10 */ stw r10, 0x10(r4) +/* 80300FD8 002FDF38 91 24 00 14 */ stw r9, 0x14(r4) +/* 80300FDC 002FDF3C B2 E1 00 5C */ sth r23, 0x5c(r1) +/* 80300FE0 002FDF40 B3 01 00 5E */ sth r24, 0x5e(r1) +/* 80300FE4 002FDF44 B3 21 00 60 */ sth r25, 0x60(r1) +/* 80300FE8 002FDF48 81 21 00 5C */ lwz r9, 0x5c(r1) +/* 80300FEC 002FDF4C B3 41 00 62 */ sth r26, 0x62(r1) +/* 80300FF0 002FDF50 91 04 00 18 */ stw r8, 0x18(r4) +/* 80300FF4 002FDF54 81 01 00 60 */ lwz r8, 0x60(r1) +/* 80300FF8 002FDF58 91 24 00 1C */ stw r9, 0x1c(r4) +/* 80300FFC 002FDF5C 90 81 00 28 */ stw r4, 0x28(r1) +/* 80301000 002FDF60 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80301004 002FDF64 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80301008 002FDF68 91 04 00 20 */ stw r8, 0x20(r4) +/* 8030100C 002FDF6C 90 E1 00 38 */ stw r7, 0x38(r1) +/* 80301010 002FDF70 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80301014 002FDF74 4B FF FE B8 */ b lbl_80300ECC +lbl_80301018: +/* 80301018 002FDF78 88 FF 00 00 */ lbz r7, 0(r31) +/* 8030101C 002FDF7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80301020 002FDF80 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 80301024 002FDF84 38 81 00 20 */ addi r4, r1, 0x20 +/* 80301028 002FDF88 80 1D 00 00 */ lwz r0, 0(r29) +/* 8030102C 002FDF8C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80301030 002FDF90 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80301034 002FDF94 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80301038 002FDF98 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030103C 002FDF9C 4B FF FD B9 */ bl "sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17" +/* 80301040 002FDFA0 88 FF 00 00 */ lbz r7, 0(r31) +/* 80301044 002FDFA4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80301048 002FDFA8 80 DE 00 00 */ lwz r6, 0(r30) +/* 8030104C 002FDFAC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80301050 002FDFB0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80301054 002FDFB4 38 A1 00 08 */ addi r5, r1, 8 +/* 80301058 002FDFB8 98 E1 00 08 */ stb r7, 8(r1) +/* 8030105C 002FDFBC 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80301060 002FDFC0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80301064 002FDFC4 4B FF FD 91 */ bl "sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17" +lbl_80301068: +/* 80301068 002FDFC8 BA E1 00 6C */ lmw r23, 0x6c(r1) +/* 8030106C 002FDFCC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80301070 002FDFD0 7C 08 03 A6 */ mtlr r0 +/* 80301074 002FDFD4 38 21 00 90 */ addi r1, r1, 0x90 +/* 80301078 002FDFD8 4E 80 00 20 */ blr + +.global "lower_bound,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,w,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17r" +"lower_bound,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,w,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17r": +/* 8030107C 002FDFDC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80301080 002FDFE0 7C 08 02 A6 */ mflr r0 +/* 80301084 002FDFE4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80301088 002FDFE8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8030108C 002FDFEC 7C 9F 23 78 */ mr r31, r4 +/* 80301090 002FDFF0 7C 7E 1B 78 */ mr r30, r3 +/* 80301094 002FDFF4 7C DB 33 78 */ mr r27, r6 +/* 80301098 002FDFF8 38 61 00 0C */ addi r3, r1, 0xc +/* 8030109C 002FDFFC 80 85 00 00 */ lwz r4, 0(r5) +/* 803010A0 002FE000 80 1F 00 00 */ lwz r0, 0(r31) +/* 803010A4 002FE004 90 81 00 08 */ stw r4, 8(r1) +/* 803010A8 002FE008 38 81 00 08 */ addi r4, r1, 8 +/* 803010AC 002FE00C 90 01 00 0C */ stw r0, 0xc(r1) +/* 803010B0 002FE010 48 00 03 11 */ bl "distance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 803010B4 002FE014 80 1F 00 00 */ lwz r0, 0(r31) +/* 803010B8 002FE018 7C 7D 1B 78 */ mr r29, r3 +/* 803010BC 002FE01C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803010C0 002FE020 48 00 00 58 */ b lbl_80301118 +lbl_803010C4: +/* 803010C4 002FE024 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 803010C8 002FE028 80 1F 00 00 */ lwz r0, 0(r31) +/* 803010CC 002FE02C 7C 83 EA 14 */ add r4, r3, r29 +/* 803010D0 002FE030 38 61 00 10 */ addi r3, r1, 0x10 +/* 803010D4 002FE034 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 803010D8 002FE038 90 01 00 10 */ stw r0, 0x10(r1) +/* 803010DC 002FE03C 7F 84 E3 78 */ mr r4, r28 +/* 803010E0 002FE040 48 00 02 A1 */ bl "advance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +/* 803010E4 002FE044 80 81 00 10 */ lwz r4, 0x10(r1) +/* 803010E8 002FE048 A0 1B 00 00 */ lhz r0, 0(r27) +/* 803010EC 002FE04C A0 64 00 00 */ lhz r3, 0(r4) +/* 803010F0 002FE050 7C 03 00 40 */ cmplw r3, r0 +/* 803010F4 002FE054 40 80 00 20 */ bge lbl_80301114 +/* 803010F8 002FE058 90 9F 00 00 */ stw r4, 0(r31) +/* 803010FC 002FE05C 7C 7C E8 50 */ subf r3, r28, r29 +/* 80301100 002FE060 3B A3 FF FF */ addi r29, r3, -1 +/* 80301104 002FE064 80 7F 00 00 */ lwz r3, 0(r31) +/* 80301108 002FE068 38 03 00 24 */ addi r0, r3, 0x24 +/* 8030110C 002FE06C 90 1F 00 00 */ stw r0, 0(r31) +/* 80301110 002FE070 48 00 00 08 */ b lbl_80301118 +lbl_80301114: +/* 80301114 002FE074 7F 9D E3 78 */ mr r29, r28 +lbl_80301118: +/* 80301118 002FE078 2C 1D 00 00 */ cmpwi r29, 0 +/* 8030111C 002FE07C 41 81 FF A8 */ bgt lbl_803010C4 +/* 80301120 002FE080 80 1F 00 00 */ lwz r0, 0(r31) +/* 80301124 002FE084 90 1E 00 00 */ stw r0, 0(r30) +/* 80301128 002FE088 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8030112C 002FE08C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80301130 002FE090 7C 08 03 A6 */ mtlr r0 +/* 80301134 002FE094 38 21 00 30 */ addi r1, r1, 0x30 +/* 80301138 002FE098 4E 80 00 20 */ blr + +.global "reserve__Q24rstl59vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl59vector,Q24rstl17rmemory_allocator>Fi": +/* 8030113C 002FE09C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80301140 002FE0A0 7C 08 02 A6 */ mflr r0 +/* 80301144 002FE0A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80301148 002FE0A8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8030114C 002FE0AC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80301150 002FE0B0 7C 9E 23 78 */ mr r30, r4 +/* 80301154 002FE0B4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80301158 002FE0B8 7C 7D 1B 78 */ mr r29, r3 +/* 8030115C 002FE0BC 80 03 00 08 */ lwz r0, 8(r3) +/* 80301160 002FE0C0 7C 1E 00 00 */ cmpw r30, r0 +/* 80301164 002FE0C4 40 81 01 04 */ ble lbl_80301268 +/* 80301168 002FE0C8 1C 7E 00 24 */ mulli r3, r30, 0x24 +/* 8030116C 002FE0CC 2C 03 00 00 */ cmpwi r3, 0 +/* 80301170 002FE0D0 40 82 00 0C */ bne lbl_8030117C +/* 80301174 002FE0D4 3B E0 00 00 */ li r31, 0 +/* 80301178 002FE0D8 48 00 00 18 */ b lbl_80301190 +lbl_8030117C: +/* 8030117C 002FE0DC 3C 80 80 3D */ lis r4, lbl_803D6E80@ha +/* 80301180 002FE0E0 38 A0 00 00 */ li r5, 0 +/* 80301184 002FE0E4 38 84 6E 80 */ addi r4, r4, lbl_803D6E80@l +/* 80301188 002FE0E8 48 01 46 91 */ bl __nwa__FUlPCcPCc +/* 8030118C 002FE0EC 7C 7F 1B 78 */ mr r31, r3 +lbl_80301190: +/* 80301190 002FE0F0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80301194 002FE0F4 7F E4 FB 78 */ mr r4, r31 +/* 80301198 002FE0F8 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 8030119C 002FE0FC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 803011A0 002FE100 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803011A4 002FE104 7C 65 02 14 */ add r3, r5, r0 +/* 803011A8 002FE108 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803011AC 002FE10C 90 61 00 08 */ stw r3, 8(r1) +/* 803011B0 002FE110 90 61 00 0C */ stw r3, 0xc(r1) +/* 803011B4 002FE114 48 00 00 74 */ b lbl_80301228 +lbl_803011B8: +/* 803011B8 002FE118 28 04 00 00 */ cmplwi r4, 0 +/* 803011BC 002FE11C 41 82 00 64 */ beq lbl_80301220 +/* 803011C0 002FE120 A0 05 00 00 */ lhz r0, 0(r5) +/* 803011C4 002FE124 B0 04 00 00 */ sth r0, 0(r4) +/* 803011C8 002FE128 A8 05 00 04 */ lha r0, 4(r5) +/* 803011CC 002FE12C B0 04 00 04 */ sth r0, 4(r4) +/* 803011D0 002FE130 A8 05 00 06 */ lha r0, 6(r5) +/* 803011D4 002FE134 B0 04 00 06 */ sth r0, 6(r4) +/* 803011D8 002FE138 A8 05 00 08 */ lha r0, 8(r5) +/* 803011DC 002FE13C B0 04 00 08 */ sth r0, 8(r4) +/* 803011E0 002FE140 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 803011E4 002FE144 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 803011E8 002FE148 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 803011EC 002FE14C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 803011F0 002FE150 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 803011F4 002FE154 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 803011F8 002FE158 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 803011FC 002FE15C D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80301200 002FE160 A8 05 00 1C */ lha r0, 0x1c(r5) +/* 80301204 002FE164 B0 04 00 1C */ sth r0, 0x1c(r4) +/* 80301208 002FE168 A8 05 00 1E */ lha r0, 0x1e(r5) +/* 8030120C 002FE16C B0 04 00 1E */ sth r0, 0x1e(r4) +/* 80301210 002FE170 A8 05 00 20 */ lha r0, 0x20(r5) +/* 80301214 002FE174 B0 04 00 20 */ sth r0, 0x20(r4) +/* 80301218 002FE178 A8 05 00 22 */ lha r0, 0x22(r5) +/* 8030121C 002FE17C B0 04 00 22 */ sth r0, 0x22(r4) +lbl_80301220: +/* 80301220 002FE180 38 84 00 24 */ addi r4, r4, 0x24 +/* 80301224 002FE184 38 A5 00 24 */ addi r5, r5, 0x24 +lbl_80301228: +/* 80301228 002FE188 7C 05 18 40 */ cmplw r5, r3 +/* 8030122C 002FE18C 40 82 FF 8C */ bne lbl_803011B8 +/* 80301230 002FE190 80 1D 00 04 */ lwz r0, 4(r29) +/* 80301234 002FE194 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80301238 002FE198 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8030123C 002FE19C 7C 64 1B 78 */ mr r4, r3 +/* 80301240 002FE1A0 7C 03 02 14 */ add r0, r3, r0 +/* 80301244 002FE1A4 48 00 00 08 */ b lbl_8030124C +lbl_80301248: +/* 80301248 002FE1A8 38 84 00 24 */ addi r4, r4, 0x24 +lbl_8030124C: +/* 8030124C 002FE1AC 7C 04 00 40 */ cmplw r4, r0 +/* 80301250 002FE1B0 40 82 FF F8 */ bne lbl_80301248 +/* 80301254 002FE1B4 28 03 00 00 */ cmplwi r3, 0 +/* 80301258 002FE1B8 41 82 00 08 */ beq lbl_80301260 +/* 8030125C 002FE1BC 48 01 46 D5 */ bl Free__7CMemoryFPCv +lbl_80301260: +/* 80301260 002FE1C0 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80301264 002FE1C4 93 DD 00 08 */ stw r30, 8(r29) +lbl_80301268: +/* 80301268 002FE1C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030126C 002FE1CC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80301270 002FE1D0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80301274 002FE1D4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80301278 002FE1D8 7C 08 03 A6 */ mtlr r0 +/* 8030127C 002FE1DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80301280 002FE1E0 4E 80 00 20 */ blr + +.global "reserve__Q24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl45vector<9CKernPair,Q24rstl17rmemory_allocator>Fi": +/* 80301284 002FE1E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80301288 002FE1E8 7C 08 02 A6 */ mflr r0 +/* 8030128C 002FE1EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80301290 002FE1F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80301294 002FE1F4 7C 9F 23 78 */ mr r31, r4 +/* 80301298 002FE1F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8030129C 002FE1FC 7C 7E 1B 78 */ mr r30, r3 +/* 803012A0 002FE200 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803012A4 002FE204 80 03 00 08 */ lwz r0, 8(r3) +/* 803012A8 002FE208 7C 1F 00 00 */ cmpw r31, r0 +/* 803012AC 002FE20C 40 81 00 B8 */ ble lbl_80301364 +/* 803012B0 002FE210 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 803012B4 002FE214 40 82 00 0C */ bne lbl_803012C0 +/* 803012B8 002FE218 3B A0 00 00 */ li r29, 0 +/* 803012BC 002FE21C 48 00 00 18 */ b lbl_803012D4 +lbl_803012C0: +/* 803012C0 002FE220 3C 80 80 3D */ lis r4, lbl_803D6E80@ha +/* 803012C4 002FE224 38 A0 00 00 */ li r5, 0 +/* 803012C8 002FE228 38 84 6E 80 */ addi r4, r4, lbl_803D6E80@l +/* 803012CC 002FE22C 48 01 45 4D */ bl __nwa__FUlPCcPCc +/* 803012D0 002FE230 7C 7D 1B 78 */ mr r29, r3 +lbl_803012D4: +/* 803012D4 002FE234 80 1E 00 04 */ lwz r0, 4(r30) +/* 803012D8 002FE238 7F A4 EB 78 */ mr r4, r29 +/* 803012DC 002FE23C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 803012E0 002FE240 54 00 18 38 */ slwi r0, r0, 3 +/* 803012E4 002FE244 7C 65 02 14 */ add r3, r5, r0 +/* 803012E8 002FE248 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803012EC 002FE24C 90 61 00 08 */ stw r3, 8(r1) +/* 803012F0 002FE250 90 61 00 0C */ stw r3, 0xc(r1) +/* 803012F4 002FE254 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803012F8 002FE258 48 00 00 2C */ b lbl_80301324 +lbl_803012FC: +/* 803012FC 002FE25C 28 04 00 00 */ cmplwi r4, 0 +/* 80301300 002FE260 41 82 00 1C */ beq lbl_8030131C +/* 80301304 002FE264 A0 05 00 00 */ lhz r0, 0(r5) +/* 80301308 002FE268 B0 04 00 00 */ sth r0, 0(r4) +/* 8030130C 002FE26C A0 05 00 02 */ lhz r0, 2(r5) +/* 80301310 002FE270 B0 04 00 02 */ sth r0, 2(r4) +/* 80301314 002FE274 80 05 00 04 */ lwz r0, 4(r5) +/* 80301318 002FE278 90 04 00 04 */ stw r0, 4(r4) +lbl_8030131C: +/* 8030131C 002FE27C 38 84 00 08 */ addi r4, r4, 8 +/* 80301320 002FE280 38 A5 00 08 */ addi r5, r5, 8 +lbl_80301324: +/* 80301324 002FE284 7C 05 18 40 */ cmplw r5, r3 +/* 80301328 002FE288 40 82 FF D4 */ bne lbl_803012FC +/* 8030132C 002FE28C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80301330 002FE290 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80301334 002FE294 54 00 18 38 */ slwi r0, r0, 3 +/* 80301338 002FE298 7C 64 1B 78 */ mr r4, r3 +/* 8030133C 002FE29C 7C 03 02 14 */ add r0, r3, r0 +/* 80301340 002FE2A0 48 00 00 08 */ b lbl_80301348 +lbl_80301344: +/* 80301344 002FE2A4 38 84 00 08 */ addi r4, r4, 8 +lbl_80301348: +/* 80301348 002FE2A8 7C 04 00 40 */ cmplw r4, r0 +/* 8030134C 002FE2AC 40 82 FF F8 */ bne lbl_80301344 +/* 80301350 002FE2B0 28 03 00 00 */ cmplwi r3, 0 +/* 80301354 002FE2B4 41 82 00 08 */ beq lbl_8030135C +/* 80301358 002FE2B8 48 01 45 D9 */ bl Free__7CMemoryFPCv +lbl_8030135C: +/* 8030135C 002FE2BC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80301360 002FE2C0 93 FE 00 08 */ stw r31, 8(r30) +lbl_80301364: +/* 80301364 002FE2C4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80301368 002FE2C8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030136C 002FE2CC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80301370 002FE2D0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80301374 002FE2D4 7C 08 03 A6 */ mtlr r0 +/* 80301378 002FE2D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030137C 002FE2DC 4E 80 00 20 */ blr + +.global "advance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" +"advance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": +/* 80301380 002FE2E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80301384 002FE2E4 7C 08 02 A6 */ mflr r0 +/* 80301388 002FE2E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030138C 002FE2EC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80301390 002FE2F0 88 01 00 08 */ lbz r0, 8(r1) +/* 80301394 002FE2F4 98 01 00 0C */ stb r0, 0xc(r1) +/* 80301398 002FE2F8 48 00 00 15 */ bl "__advance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +/* 8030139C 002FE2FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803013A0 002FE300 7C 08 03 A6 */ mtlr r0 +/* 803013A4 002FE304 38 21 00 10 */ addi r1, r1, 0x10 +/* 803013A8 002FE308 4E 80 00 20 */ blr + +.global "__advance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" +"__advance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": +/* 803013AC 002FE30C 1C 04 00 24 */ mulli r0, r4, 0x24 +/* 803013B0 002FE310 80 83 00 00 */ lwz r4, 0(r3) +/* 803013B4 002FE314 7C 04 02 14 */ add r0, r4, r0 +/* 803013B8 002FE318 90 03 00 00 */ stw r0, 0(r3) +/* 803013BC 002FE31C 4E 80 00 20 */ blr + +.global "distance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"distance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 803013C0 002FE320 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803013C4 002FE324 7C 08 02 A6 */ mflr r0 +/* 803013C8 002FE328 90 01 00 24 */ stw r0, 0x24(r1) +/* 803013CC 002FE32C 38 A1 00 0C */ addi r5, r1, 0xc +/* 803013D0 002FE330 88 E1 00 08 */ lbz r7, 8(r1) +/* 803013D4 002FE334 80 C4 00 00 */ lwz r6, 0(r4) +/* 803013D8 002FE338 38 81 00 10 */ addi r4, r1, 0x10 +/* 803013DC 002FE33C 80 03 00 00 */ lwz r0, 0(r3) +/* 803013E0 002FE340 38 61 00 14 */ addi r3, r1, 0x14 +/* 803013E4 002FE344 90 C1 00 10 */ stw r6, 0x10(r1) +/* 803013E8 002FE348 98 E1 00 0C */ stb r7, 0xc(r1) +/* 803013EC 002FE34C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803013F0 002FE350 48 00 00 15 */ bl "__distance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_itera" +/* 803013F4 002FE354 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803013F8 002FE358 7C 08 03 A6 */ mtlr r0 +/* 803013FC 002FE35C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80301400 002FE360 4E 80 00 20 */ blr + +.global "__distance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_itera" +"__distance,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl144const_pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_itera": +/* 80301404 002FE364 80 A3 00 00 */ lwz r5, 0(r3) +/* 80301408 002FE368 3C 60 38 E4 */ lis r3, 0x38E38E39@ha +/* 8030140C 002FE36C 80 04 00 00 */ lwz r0, 0(r4) +/* 80301410 002FE370 38 63 8E 39 */ addi r3, r3, 0x38E38E39@l +/* 80301414 002FE374 7C 05 00 50 */ subf r0, r5, r0 +/* 80301418 002FE378 7C 03 00 96 */ mulhw r0, r3, r0 +/* 8030141C 002FE37C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80301420 002FE380 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80301424 002FE384 7C 60 1A 14 */ add r3, r0, r3 +/* 80301428 002FE388 4E 80 00 20 */ blr + +.global "__sort3,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFRQ24rstl15pairRQ24rstl15pairRQ24rstl15pairQ24rstl60pair_sorter_finder,Q24rstl7less>" +"__sort3,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFRQ24rstl15pairRQ24rstl15pairRQ24rstl15pairQ24rstl60pair_sorter_finder,Q24rstl7less>": +/* 8030142C 002FE38C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80301430 002FE390 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80301434 002FE394 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80301438 002FE398 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8030143C 002FE39C 93 81 00 50 */ stw r28, 0x50(r1) +/* 80301440 002FE3A0 A0 C4 00 00 */ lhz r6, 0(r4) +/* 80301444 002FE3A4 A3 83 00 00 */ lhz r28, 0(r3) +/* 80301448 002FE3A8 7C 06 E0 40 */ cmplw r6, r28 +/* 8030144C 002FE3AC 40 80 00 E8 */ bge lbl_80301534 +/* 80301450 002FE3B0 AB E3 00 04 */ lha r31, 4(r3) +/* 80301454 002FE3B4 A9 43 00 06 */ lha r10, 6(r3) +/* 80301458 002FE3B8 A8 03 00 08 */ lha r0, 8(r3) +/* 8030145C 002FE3BC C0 63 00 0C */ lfs f3, 0xc(r3) +/* 80301460 002FE3C0 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80301464 002FE3C4 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80301468 002FE3C8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8030146C 002FE3CC AB C3 00 1C */ lha r30, 0x1c(r3) +/* 80301470 002FE3D0 AB A3 00 1E */ lha r29, 0x1e(r3) +/* 80301474 002FE3D4 A9 83 00 20 */ lha r12, 0x20(r3) +/* 80301478 002FE3D8 A9 63 00 22 */ lha r11, 0x22(r3) +/* 8030147C 002FE3DC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80301480 002FE3E0 B0 C3 00 00 */ sth r6, 0(r3) +/* 80301484 002FE3E4 81 01 00 10 */ lwz r8, 0x10(r1) +/* 80301488 002FE3E8 80 C4 00 04 */ lwz r6, 4(r4) +/* 8030148C 002FE3EC 80 04 00 08 */ lwz r0, 8(r4) +/* 80301490 002FE3F0 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80301494 002FE3F4 90 C3 00 04 */ stw r6, 4(r3) +/* 80301498 002FE3F8 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 8030149C 002FE3FC 90 03 00 08 */ stw r0, 8(r3) +/* 803014A0 002FE400 80 04 00 0C */ lwz r0, 0xc(r4) +/* 803014A4 002FE404 80 C4 00 10 */ lwz r6, 0x10(r4) +/* 803014A8 002FE408 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 803014AC 002FE40C 90 03 00 0C */ stw r0, 0xc(r3) +/* 803014B0 002FE410 80 01 00 18 */ lwz r0, 0x18(r1) +/* 803014B4 002FE414 90 C3 00 10 */ stw r6, 0x10(r3) +/* 803014B8 002FE418 81 24 00 14 */ lwz r9, 0x14(r4) +/* 803014BC 002FE41C 80 C4 00 18 */ lwz r6, 0x18(r4) +/* 803014C0 002FE420 B3 E1 00 0C */ sth r31, 0xc(r1) +/* 803014C4 002FE424 91 23 00 14 */ stw r9, 0x14(r3) +/* 803014C8 002FE428 90 C3 00 18 */ stw r6, 0x18(r3) +/* 803014CC 002FE42C B1 41 00 0E */ sth r10, 0xe(r1) +/* 803014D0 002FE430 80 C4 00 1C */ lwz r6, 0x1c(r4) +/* 803014D4 002FE434 81 44 00 20 */ lwz r10, 0x20(r4) +/* 803014D8 002FE438 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 803014DC 002FE43C 81 21 00 0C */ lwz r9, 0xc(r1) +/* 803014E0 002FE440 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 803014E4 002FE444 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 803014E8 002FE448 91 43 00 20 */ stw r10, 0x20(r3) +/* 803014EC 002FE44C B3 84 00 00 */ sth r28, 0(r4) +/* 803014F0 002FE450 91 24 00 04 */ stw r9, 4(r4) +/* 803014F4 002FE454 91 04 00 08 */ stw r8, 8(r4) +/* 803014F8 002FE458 90 E4 00 0C */ stw r7, 0xc(r4) +/* 803014FC 002FE45C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80301500 002FE460 90 04 00 10 */ stw r0, 0x10(r4) +/* 80301504 002FE464 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80301508 002FE468 90 C4 00 14 */ stw r6, 0x14(r4) +/* 8030150C 002FE46C B3 C1 00 24 */ sth r30, 0x24(r1) +/* 80301510 002FE470 B3 A1 00 26 */ sth r29, 0x26(r1) +/* 80301514 002FE474 B1 81 00 28 */ sth r12, 0x28(r1) +/* 80301518 002FE478 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8030151C 002FE47C B1 61 00 2A */ sth r11, 0x2a(r1) +/* 80301520 002FE480 90 04 00 18 */ stw r0, 0x18(r4) +/* 80301524 002FE484 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80301528 002FE488 90 C4 00 1C */ stw r6, 0x1c(r4) +/* 8030152C 002FE48C B3 81 00 08 */ sth r28, 8(r1) +/* 80301530 002FE490 90 04 00 20 */ stw r0, 0x20(r4) +lbl_80301534: +/* 80301534 002FE494 A0 05 00 00 */ lhz r0, 0(r5) +/* 80301538 002FE498 A0 E4 00 00 */ lhz r7, 0(r4) +/* 8030153C 002FE49C 7C 00 38 40 */ cmplw r0, r7 +/* 80301540 002FE4A0 40 80 01 84 */ bge lbl_803016C4 +/* 80301544 002FE4A4 AB A5 00 04 */ lha r29, 4(r5) +/* 80301548 002FE4A8 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030154C 002FE4AC AB E5 00 06 */ lha r31, 6(r5) +/* 80301550 002FE4B0 AB C5 00 08 */ lha r30, 8(r5) +/* 80301554 002FE4B4 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 80301558 002FE4B8 C0 45 00 10 */ lfs f2, 0x10(r5) +/* 8030155C 002FE4BC C0 25 00 14 */ lfs f1, 0x14(r5) +/* 80301560 002FE4C0 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 80301564 002FE4C4 A9 85 00 1C */ lha r12, 0x1c(r5) +/* 80301568 002FE4C8 A9 65 00 1E */ lha r11, 0x1e(r5) +/* 8030156C 002FE4CC A9 45 00 20 */ lha r10, 0x20(r5) +/* 80301570 002FE4D0 A9 25 00 22 */ lha r9, 0x22(r5) +/* 80301574 002FE4D4 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80301578 002FE4D8 B0 E5 00 00 */ sth r7, 0(r5) +/* 8030157C 002FE4DC 81 04 00 04 */ lwz r8, 4(r4) +/* 80301580 002FE4E0 80 E4 00 08 */ lwz r7, 8(r4) +/* 80301584 002FE4E4 B3 A1 00 30 */ sth r29, 0x30(r1) +/* 80301588 002FE4E8 91 05 00 04 */ stw r8, 4(r5) +/* 8030158C 002FE4EC 90 E5 00 08 */ stw r7, 8(r5) +/* 80301590 002FE4F0 81 04 00 0C */ lwz r8, 0xc(r4) +/* 80301594 002FE4F4 80 E4 00 10 */ lwz r7, 0x10(r4) +/* 80301598 002FE4F8 B3 E1 00 32 */ sth r31, 0x32(r1) +/* 8030159C 002FE4FC 91 05 00 0C */ stw r8, 0xc(r5) +/* 803015A0 002FE500 90 E5 00 10 */ stw r7, 0x10(r5) +/* 803015A4 002FE504 81 04 00 14 */ lwz r8, 0x14(r4) +/* 803015A8 002FE508 80 E4 00 18 */ lwz r7, 0x18(r4) +/* 803015AC 002FE50C B3 C1 00 34 */ sth r30, 0x34(r1) +/* 803015B0 002FE510 91 05 00 14 */ stw r8, 0x14(r5) +/* 803015B4 002FE514 90 E5 00 18 */ stw r7, 0x18(r5) +/* 803015B8 002FE518 81 04 00 1C */ lwz r8, 0x1c(r4) +/* 803015BC 002FE51C 80 E4 00 20 */ lwz r7, 0x20(r4) +/* 803015C0 002FE520 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 803015C4 002FE524 91 05 00 1C */ stw r8, 0x1c(r5) +/* 803015C8 002FE528 90 E5 00 20 */ stw r7, 0x20(r5) +/* 803015CC 002FE52C A0 A3 00 00 */ lhz r5, 0(r3) +/* 803015D0 002FE530 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 803015D4 002FE534 7C 06 28 40 */ cmplw r6, r5 +/* 803015D8 002FE538 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 803015DC 002FE53C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 803015E0 002FE540 B1 81 00 48 */ sth r12, 0x48(r1) +/* 803015E4 002FE544 B1 61 00 4A */ sth r11, 0x4a(r1) +/* 803015E8 002FE548 B1 41 00 4C */ sth r10, 0x4c(r1) +/* 803015EC 002FE54C B1 21 00 4E */ sth r9, 0x4e(r1) +/* 803015F0 002FE550 40 80 00 90 */ bge lbl_80301680 +/* 803015F4 002FE554 B0 A4 00 00 */ sth r5, 0(r4) +/* 803015F8 002FE558 81 81 00 30 */ lwz r12, 0x30(r1) +/* 803015FC 002FE55C 80 C3 00 04 */ lwz r6, 4(r3) +/* 80301600 002FE560 80 A3 00 08 */ lwz r5, 8(r3) +/* 80301604 002FE564 81 61 00 34 */ lwz r11, 0x34(r1) +/* 80301608 002FE568 90 C4 00 04 */ stw r6, 4(r4) +/* 8030160C 002FE56C 81 41 00 38 */ lwz r10, 0x38(r1) +/* 80301610 002FE570 90 A4 00 08 */ stw r5, 8(r4) +/* 80301614 002FE574 81 21 00 3C */ lwz r9, 0x3c(r1) +/* 80301618 002FE578 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 8030161C 002FE57C 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 80301620 002FE580 81 01 00 40 */ lwz r8, 0x40(r1) +/* 80301624 002FE584 90 C4 00 0C */ stw r6, 0xc(r4) +/* 80301628 002FE588 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 8030162C 002FE58C 90 A4 00 10 */ stw r5, 0x10(r4) +/* 80301630 002FE590 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 80301634 002FE594 83 E3 00 14 */ lwz r31, 0x14(r3) +/* 80301638 002FE598 83 C3 00 18 */ lwz r30, 0x18(r3) +/* 8030163C 002FE59C 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 80301640 002FE5A0 93 E4 00 14 */ stw r31, 0x14(r4) +/* 80301644 002FE5A4 93 C4 00 18 */ stw r30, 0x18(r4) +/* 80301648 002FE5A8 83 C3 00 1C */ lwz r30, 0x1c(r3) +/* 8030164C 002FE5AC 83 E3 00 20 */ lwz r31, 0x20(r3) +/* 80301650 002FE5B0 93 C4 00 1C */ stw r30, 0x1c(r4) +/* 80301654 002FE5B4 93 E4 00 20 */ stw r31, 0x20(r4) +/* 80301658 002FE5B8 B0 03 00 00 */ sth r0, 0(r3) +/* 8030165C 002FE5BC 91 83 00 04 */ stw r12, 4(r3) +/* 80301660 002FE5C0 91 63 00 08 */ stw r11, 8(r3) +/* 80301664 002FE5C4 91 43 00 0C */ stw r10, 0xc(r3) +/* 80301668 002FE5C8 91 23 00 10 */ stw r9, 0x10(r3) +/* 8030166C 002FE5CC 91 03 00 14 */ stw r8, 0x14(r3) +/* 80301670 002FE5D0 90 E3 00 18 */ stw r7, 0x18(r3) +/* 80301674 002FE5D4 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 80301678 002FE5D8 90 A3 00 20 */ stw r5, 0x20(r3) +/* 8030167C 002FE5DC 48 00 00 48 */ b lbl_803016C4 +lbl_80301680: +/* 80301680 002FE5E0 B0 04 00 00 */ sth r0, 0(r4) +/* 80301684 002FE5E4 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80301688 002FE5E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030168C 002FE5EC 90 64 00 04 */ stw r3, 4(r4) +/* 80301690 002FE5F0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80301694 002FE5F4 90 04 00 08 */ stw r0, 8(r4) +/* 80301698 002FE5F8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8030169C 002FE5FC 90 64 00 0C */ stw r3, 0xc(r4) +/* 803016A0 002FE600 80 61 00 40 */ lwz r3, 0x40(r1) +/* 803016A4 002FE604 90 04 00 10 */ stw r0, 0x10(r4) +/* 803016A8 002FE608 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803016AC 002FE60C 90 64 00 14 */ stw r3, 0x14(r4) +/* 803016B0 002FE610 80 61 00 48 */ lwz r3, 0x48(r1) +/* 803016B4 002FE614 90 04 00 18 */ stw r0, 0x18(r4) +/* 803016B8 002FE618 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 803016BC 002FE61C 90 64 00 1C */ stw r3, 0x1c(r4) +/* 803016C0 002FE620 90 04 00 20 */ stw r0, 0x20(r4) +lbl_803016C4: +/* 803016C4 002FE624 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 803016C8 002FE628 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 803016CC 002FE62C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 803016D0 002FE630 83 81 00 50 */ lwz r28, 0x50(r1) +/* 803016D4 002FE634 38 21 00 60 */ addi r1, r1, 0x60 +/* 803016D8 002FE638 4E 80 00 20 */ blr + +.global "__insertion_sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocato" +"__insertion_sort,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl60pair_sorter_finder,Q24rstl7less>>__4rstlFQ24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl138pointer_iterator,Q24rstl59vector,Q24rstl17rmemory_allocato": +/* 803016DC 002FE63C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803016E0 002FE640 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803016E4 002FE644 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803016E8 002FE648 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803016EC 002FE64C 80 A3 00 00 */ lwz r5, 0(r3) +/* 803016F0 002FE650 38 A5 00 24 */ addi r5, r5, 0x24 +/* 803016F4 002FE654 48 00 01 28 */ b lbl_8030181C +lbl_803016F8: +/* 803016F8 002FE658 A3 C5 00 00 */ lhz r30, 0(r5) +/* 803016FC 002FE65C 7C A6 2B 78 */ mr r6, r5 +/* 80301700 002FE660 AB E5 00 04 */ lha r31, 4(r5) +/* 80301704 002FE664 3B A5 FF DC */ addi r29, r5, -36 +/* 80301708 002FE668 A9 85 00 06 */ lha r12, 6(r5) +/* 8030170C 002FE66C 57 C7 04 3E */ clrlwi r7, r30, 0x10 +/* 80301710 002FE670 A9 65 00 08 */ lha r11, 8(r5) +/* 80301714 002FE674 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 80301718 002FE678 C0 45 00 10 */ lfs f2, 0x10(r5) +/* 8030171C 002FE67C C0 25 00 14 */ lfs f1, 0x14(r5) +/* 80301720 002FE680 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 80301724 002FE684 A9 45 00 1C */ lha r10, 0x1c(r5) +/* 80301728 002FE688 A9 25 00 1E */ lha r9, 0x1e(r5) +/* 8030172C 002FE68C A9 05 00 20 */ lha r8, 0x20(r5) +/* 80301730 002FE690 A8 05 00 22 */ lha r0, 0x22(r5) +/* 80301734 002FE694 B3 C1 00 08 */ sth r30, 8(r1) +/* 80301738 002FE698 B3 E1 00 0C */ sth r31, 0xc(r1) +/* 8030173C 002FE69C B1 81 00 0E */ sth r12, 0xe(r1) +/* 80301740 002FE6A0 B1 61 00 10 */ sth r11, 0x10(r1) +/* 80301744 002FE6A4 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80301748 002FE6A8 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8030174C 002FE6AC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80301750 002FE6B0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80301754 002FE6B4 B1 41 00 24 */ sth r10, 0x24(r1) +/* 80301758 002FE6B8 B1 21 00 26 */ sth r9, 0x26(r1) +/* 8030175C 002FE6BC B1 01 00 28 */ sth r8, 0x28(r1) +/* 80301760 002FE6C0 B0 01 00 2A */ sth r0, 0x2a(r1) +/* 80301764 002FE6C4 48 00 00 54 */ b lbl_803017B8 +lbl_80301768: +/* 80301768 002FE6C8 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8030176C 002FE6CC B0 06 00 00 */ sth r0, 0(r6) +/* 80301770 002FE6D0 81 1D 00 04 */ lwz r8, 4(r29) +/* 80301774 002FE6D4 80 1D 00 08 */ lwz r0, 8(r29) +/* 80301778 002FE6D8 91 06 00 04 */ stw r8, 4(r6) +/* 8030177C 002FE6DC 90 06 00 08 */ stw r0, 8(r6) +/* 80301780 002FE6E0 81 1D 00 0C */ lwz r8, 0xc(r29) +/* 80301784 002FE6E4 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80301788 002FE6E8 91 06 00 0C */ stw r8, 0xc(r6) +/* 8030178C 002FE6EC 90 06 00 10 */ stw r0, 0x10(r6) +/* 80301790 002FE6F0 81 1D 00 14 */ lwz r8, 0x14(r29) +/* 80301794 002FE6F4 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 80301798 002FE6F8 91 06 00 14 */ stw r8, 0x14(r6) +/* 8030179C 002FE6FC 90 06 00 18 */ stw r0, 0x18(r6) +/* 803017A0 002FE700 81 1D 00 1C */ lwz r8, 0x1c(r29) +/* 803017A4 002FE704 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 803017A8 002FE708 3B BD FF DC */ addi r29, r29, -36 +/* 803017AC 002FE70C 91 06 00 1C */ stw r8, 0x1c(r6) +/* 803017B0 002FE710 90 06 00 20 */ stw r0, 0x20(r6) +/* 803017B4 002FE714 38 C6 FF DC */ addi r6, r6, -36 +lbl_803017B8: +/* 803017B8 002FE718 80 03 00 00 */ lwz r0, 0(r3) +/* 803017BC 002FE71C 7C 00 30 40 */ cmplw r0, r6 +/* 803017C0 002FE720 40 80 00 10 */ bge lbl_803017D0 +/* 803017C4 002FE724 A0 1D 00 00 */ lhz r0, 0(r29) +/* 803017C8 002FE728 7C 07 00 40 */ cmplw r7, r0 +/* 803017CC 002FE72C 41 80 FF 9C */ blt lbl_80301768 +lbl_803017D0: +/* 803017D0 002FE730 A0 01 00 08 */ lhz r0, 8(r1) +/* 803017D4 002FE734 38 A5 00 24 */ addi r5, r5, 0x24 +/* 803017D8 002FE738 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 803017DC 002FE73C B0 06 00 00 */ sth r0, 0(r6) +/* 803017E0 002FE740 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803017E4 002FE744 90 E6 00 04 */ stw r7, 4(r6) +/* 803017E8 002FE748 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 803017EC 002FE74C 90 06 00 08 */ stw r0, 8(r6) +/* 803017F0 002FE750 80 01 00 18 */ lwz r0, 0x18(r1) +/* 803017F4 002FE754 90 E6 00 0C */ stw r7, 0xc(r6) +/* 803017F8 002FE758 80 E1 00 1C */ lwz r7, 0x1c(r1) +/* 803017FC 002FE75C 90 06 00 10 */ stw r0, 0x10(r6) +/* 80301800 002FE760 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80301804 002FE764 90 E6 00 14 */ stw r7, 0x14(r6) +/* 80301808 002FE768 80 E1 00 24 */ lwz r7, 0x24(r1) +/* 8030180C 002FE76C 90 06 00 18 */ stw r0, 0x18(r6) +/* 80301810 002FE770 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80301814 002FE774 90 E6 00 1C */ stw r7, 0x1c(r6) +/* 80301818 002FE778 90 06 00 20 */ stw r0, 0x20(r6) +lbl_8030181C: +/* 8030181C 002FE77C 80 04 00 00 */ lwz r0, 0(r4) +/* 80301820 002FE780 7C 05 00 40 */ cmplw r5, r0 +/* 80301824 002FE784 41 80 FE D4 */ blt lbl_803016F8 +/* 80301828 002FE788 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8030182C 002FE78C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80301830 002FE790 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80301834 002FE794 38 21 00 40 */ addi r1, r1, 0x40 +/* 80301838 002FE798 4E 80 00 20 */ blr + +.global __dt__31CRemoveColorOverrideInstructionFv +__dt__31CRemoveColorOverrideInstructionFv: +/* 8030183C 002FE79C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80301840 002FE7A0 7C 08 02 A6 */ mflr r0 +/* 80301844 002FE7A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80301848 002FE7A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030184C 002FE7AC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80301850 002FE7B0 41 82 00 30 */ beq lbl_80301880 +/* 80301854 002FE7B4 3C 60 80 3F */ lis r3, lbl_803ED6D8@ha +/* 80301858 002FE7B8 38 03 D6 D8 */ addi r0, r3, lbl_803ED6D8@l +/* 8030185C 002FE7BC 90 1F 00 00 */ stw r0, 0(r31) +/* 80301860 002FE7C0 41 82 00 10 */ beq lbl_80301870 +/* 80301864 002FE7C4 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 80301868 002FE7C8 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 8030186C 002FE7CC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80301870: +/* 80301870 002FE7D0 7C 80 07 35 */ extsh. r0, r4 +/* 80301874 002FE7D4 40 81 00 0C */ ble lbl_80301880 +/* 80301878 002FE7D8 7F E3 FB 78 */ mr r3, r31 +/* 8030187C 002FE7DC 48 01 40 B5 */ bl Free__7CMemoryFPCv +lbl_80301880: +/* 80301880 002FE7E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80301884 002FE7E4 7F E3 FB 78 */ mr r3, r31 +/* 80301888 002FE7E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030188C 002FE7EC 7C 08 03 A6 */ mtlr r0 +/* 80301890 002FE7F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80301894 002FE7F4 4E 80 00 20 */ blr + +.global PageInvoke__31CRemoveColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__31CRemoveColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 80301898 002FE7F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030189C 002FE7FC 7C 08 02 A6 */ mflr r0 +/* 803018A0 002FE800 90 01 00 14 */ stw r0, 0x14(r1) +/* 803018A4 002FE804 81 83 00 00 */ lwz r12, 0(r3) +/* 803018A8 002FE808 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803018AC 002FE80C 7D 89 03 A6 */ mtctr r12 +/* 803018B0 002FE810 4E 80 04 21 */ bctrl +/* 803018B4 002FE814 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803018B8 002FE818 7C 08 03 A6 */ mtlr r0 +/* 803018BC 002FE81C 38 21 00 10 */ addi r1, r1, 0x10 + +.global sub_803018c0 +sub_803018c0: +/* 803018C0 002FE820 4E 80 00 20 */ blr + +.global Invoke__31CRemoveColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__31CRemoveColorOverrideInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 803018C4 002FE824 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803018C8 002FE828 7C 08 02 A6 */ mflr r0 +/* 803018CC 002FE82C 38 C0 00 00 */ li r6, 0 +/* 803018D0 002FE830 90 01 00 14 */ stw r0, 0x14(r1) +/* 803018D4 002FE834 80 03 00 04 */ lwz r0, 4(r3) +/* 803018D8 002FE838 7C 83 23 78 */ mr r3, r4 +/* 803018DC 002FE83C 80 A4 00 70 */ lwz r5, 0x70(r4) +/* 803018E0 002FE840 7C C5 01 AE */ stbx r6, r5, r0 +/* 803018E4 002FE844 4B FF DB 01 */ bl RefreshPalette__16CFontRenderStateFv +/* 803018E8 002FE848 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803018EC 002FE84C 7C 08 03 A6 */ mtlr r0 +/* 803018F0 002FE850 38 21 00 10 */ addi r1, r1, 0x10 +/* 803018F4 002FE854 4E 80 00 20 */ blr + +.global IsFinishedLoading__14CSaveableStateFv +IsFinishedLoading__14CSaveableStateFv: +/* 803018F8 002FE858 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803018FC 002FE85C 7C 08 02 A6 */ mflr r0 +/* 80301900 002FE860 7C 64 1B 78 */ mr r4, r3 +/* 80301904 002FE864 90 01 00 24 */ stw r0, 0x24(r1) +/* 80301908 002FE868 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030190C 002FE86C 88 03 00 50 */ lbz r0, 0x50(r3) +/* 80301910 002FE870 28 00 00 00 */ cmplwi r0, 0 +/* 80301914 002FE874 41 82 00 54 */ beq lbl_80301968 +/* 80301918 002FE878 38 61 00 08 */ addi r3, r1, 8 +/* 8030191C 002FE87C 38 84 00 48 */ addi r4, r4, 0x48 +/* 80301920 002FE880 48 03 F5 89 */ bl __ct__6CTokenFRC6CToken +/* 80301924 002FE884 80 61 00 08 */ lwz r3, 8(r1) +/* 80301928 002FE888 3B E0 00 00 */ li r31, 0 +/* 8030192C 002FE88C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80301930 002FE890 28 00 00 00 */ cmplwi r0, 0 +/* 80301934 002FE894 41 82 00 20 */ beq lbl_80301954 +/* 80301938 002FE898 38 61 00 08 */ addi r3, r1, 8 +/* 8030193C 002FE89C 48 03 F4 D1 */ bl GetObj__6CTokenFv +/* 80301940 002FE8A0 80 63 00 04 */ lwz r3, 4(r3) +/* 80301944 002FE8A4 4B FF E5 ED */ bl IsFinishedLoading__11CRasterFontFv +/* 80301948 002FE8A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030194C 002FE8AC 41 82 00 08 */ beq lbl_80301954 +/* 80301950 002FE8B0 3B E0 00 01 */ li r31, 1 +lbl_80301954: +/* 80301954 002FE8B4 38 61 00 08 */ addi r3, r1, 8 +/* 80301958 002FE8B8 38 80 00 00 */ li r4, 0 +/* 8030195C 002FE8BC 48 03 F4 E5 */ bl __dt__6CTokenFv +/* 80301960 002FE8C0 7F E3 FB 78 */ mr r3, r31 +/* 80301964 002FE8C4 48 00 00 08 */ b lbl_8030196C +lbl_80301968: +/* 80301968 002FE8C8 38 60 00 00 */ li r3, 0 +lbl_8030196C: +/* 8030196C 002FE8CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80301970 002FE8D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80301974 002FE8D4 7C 08 03 A6 */ mtlr r0 +/* 80301978 002FE8D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030197C 002FE8DC 4E 80 00 20 */ blr + +.global __ct__14CSaveableStateFv +__ct__14CSaveableStateFv: +/* 80301980 002FE8E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80301984 002FE8E4 7C 08 02 A6 */ mflr r0 +/* 80301988 002FE8E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030198C 002FE8EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80301990 002FE8F0 7C 7F 1B 78 */ mr r31, r3 +/* 80301994 002FE8F4 4B FF D0 41 */ bl __ct__18CDrawStringOptionsFv +/* 80301998 002FE8F8 38 80 00 00 */ li r4, 0 +/* 8030199C 002FE8FC 38 00 00 03 */ li r0, 3 +/* 803019A0 002FE900 98 9F 00 50 */ stb r4, 0x50(r31) +/* 803019A4 002FE904 90 1F 00 58 */ stw r0, 0x58(r31) +/* 803019A8 002FE908 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 803019AC 002FE90C 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 803019B0 002FE910 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 803019B4 002FE914 40 82 00 0C */ bne lbl_803019C0 +/* 803019B8 002FE918 90 9F 00 60 */ stw r4, 0x60(r31) +/* 803019BC 002FE91C 48 00 00 18 */ b lbl_803019D4 +lbl_803019C0: +/* 803019C0 002FE920 3C 80 80 3D */ lis r4, lbl_803D6E88@ha +/* 803019C4 002FE924 38 A0 00 00 */ li r5, 0 +/* 803019C8 002FE928 38 84 6E 88 */ addi r4, r4, lbl_803D6E88@l +/* 803019CC 002FE92C 48 01 3E 4D */ bl __nwa__FUlPCcPCc +/* 803019D0 002FE930 90 7F 00 60 */ stw r3, 0x60(r31) +lbl_803019D4: +/* 803019D4 002FE934 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 803019D8 002FE938 38 60 00 00 */ li r3, 0 +/* 803019DC 002FE93C 38 00 00 FF */ li r0, 0xff +/* 803019E0 002FE940 28 04 00 00 */ cmplwi r4, 0 +/* 803019E4 002FE944 41 82 00 14 */ beq lbl_803019F8 +/* 803019E8 002FE948 98 64 00 00 */ stb r3, 0(r4) +/* 803019EC 002FE94C 98 64 00 01 */ stb r3, 1(r4) +/* 803019F0 002FE950 98 64 00 02 */ stb r3, 2(r4) +/* 803019F4 002FE954 98 04 00 03 */ stb r0, 3(r4) +lbl_803019F8: +/* 803019F8 002FE958 34 84 00 04 */ addic. r4, r4, 4 +/* 803019FC 002FE95C 41 82 00 14 */ beq lbl_80301A10 +/* 80301A00 002FE960 98 64 00 00 */ stb r3, 0(r4) +/* 80301A04 002FE964 98 64 00 01 */ stb r3, 1(r4) +/* 80301A08 002FE968 98 64 00 02 */ stb r3, 2(r4) +/* 80301A0C 002FE96C 98 04 00 03 */ stb r0, 3(r4) +lbl_80301A10: +/* 80301A10 002FE970 34 84 00 04 */ addic. r4, r4, 4 +/* 80301A14 002FE974 41 82 00 14 */ beq lbl_80301A28 +/* 80301A18 002FE978 98 64 00 00 */ stb r3, 0(r4) +/* 80301A1C 002FE97C 98 64 00 01 */ stb r3, 1(r4) +/* 80301A20 002FE980 98 64 00 02 */ stb r3, 2(r4) +/* 80301A24 002FE984 98 04 00 03 */ stb r0, 3(r4) +lbl_80301A28: +/* 80301A28 002FE988 38 00 00 10 */ li r0, 0x10 +/* 80301A2C 002FE98C 90 1F 00 68 */ stw r0, 0x68(r31) +/* 80301A30 002FE990 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 80301A34 002FE994 80 7F 00 68 */ lwz r3, 0x68(r31) +/* 80301A38 002FE998 2C 03 00 00 */ cmpwi r3, 0 +/* 80301A3C 002FE99C 40 82 00 10 */ bne lbl_80301A4C +/* 80301A40 002FE9A0 38 00 00 00 */ li r0, 0 +/* 80301A44 002FE9A4 90 1F 00 70 */ stw r0, 0x70(r31) +/* 80301A48 002FE9A8 48 00 00 18 */ b lbl_80301A60 +lbl_80301A4C: +/* 80301A4C 002FE9AC 3C 80 80 3D */ lis r4, lbl_803D6E88@ha +/* 80301A50 002FE9B0 38 A0 00 00 */ li r5, 0 +/* 80301A54 002FE9B4 38 84 6E 88 */ addi r4, r4, lbl_803D6E88@l +/* 80301A58 002FE9B8 48 01 3D C1 */ bl __nwa__FUlPCcPCc +/* 80301A5C 002FE9BC 90 7F 00 70 */ stw r3, 0x70(r31) +lbl_80301A60: +/* 80301A60 002FE9C0 38 00 00 02 */ li r0, 2 +/* 80301A64 002FE9C4 80 9F 00 70 */ lwz r4, 0x70(r31) +/* 80301A68 002FE9C8 38 60 00 00 */ li r3, 0 +/* 80301A6C 002FE9CC 7C 09 03 A6 */ mtctr r0 +lbl_80301A70: +/* 80301A70 002FE9D0 28 04 00 00 */ cmplwi r4, 0 +/* 80301A74 002FE9D4 41 82 00 0C */ beq lbl_80301A80 +/* 80301A78 002FE9D8 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301A7C 002FE9DC 98 04 00 00 */ stb r0, 0(r4) +lbl_80301A80: +/* 80301A80 002FE9E0 34 84 00 01 */ addic. r4, r4, 1 +/* 80301A84 002FE9E4 41 82 00 0C */ beq lbl_80301A90 +/* 80301A88 002FE9E8 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301A8C 002FE9EC 98 04 00 00 */ stb r0, 0(r4) +lbl_80301A90: +/* 80301A90 002FE9F0 34 84 00 01 */ addic. r4, r4, 1 +/* 80301A94 002FE9F4 41 82 00 0C */ beq lbl_80301AA0 +/* 80301A98 002FE9F8 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301A9C 002FE9FC 98 04 00 00 */ stb r0, 0(r4) +lbl_80301AA0: +/* 80301AA0 002FEA00 34 84 00 01 */ addic. r4, r4, 1 +/* 80301AA4 002FEA04 41 82 00 0C */ beq lbl_80301AB0 +/* 80301AA8 002FEA08 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301AAC 002FEA0C 98 04 00 00 */ stb r0, 0(r4) +lbl_80301AB0: +/* 80301AB0 002FEA10 34 84 00 01 */ addic. r4, r4, 1 +/* 80301AB4 002FEA14 41 82 00 0C */ beq lbl_80301AC0 +/* 80301AB8 002FEA18 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301ABC 002FEA1C 98 04 00 00 */ stb r0, 0(r4) +lbl_80301AC0: +/* 80301AC0 002FEA20 34 84 00 01 */ addic. r4, r4, 1 +/* 80301AC4 002FEA24 41 82 00 0C */ beq lbl_80301AD0 +/* 80301AC8 002FEA28 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301ACC 002FEA2C 98 04 00 00 */ stb r0, 0(r4) +lbl_80301AD0: +/* 80301AD0 002FEA30 34 84 00 01 */ addic. r4, r4, 1 +/* 80301AD4 002FEA34 41 82 00 0C */ beq lbl_80301AE0 +/* 80301AD8 002FEA38 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301ADC 002FEA3C 98 04 00 00 */ stb r0, 0(r4) +lbl_80301AE0: +/* 80301AE0 002FEA40 34 84 00 01 */ addic. r4, r4, 1 +/* 80301AE4 002FEA44 41 82 00 0C */ beq lbl_80301AF0 +/* 80301AE8 002FEA48 88 0D 9C 48 */ lbz r0, lbl_805A8808@sda21(r13) +/* 80301AEC 002FEA4C 98 04 00 00 */ stb r0, 0(r4) +lbl_80301AF0: +/* 80301AF0 002FEA50 38 63 00 07 */ addi r3, r3, 7 +/* 80301AF4 002FEA54 38 84 00 01 */ addi r4, r4, 1 +/* 80301AF8 002FEA58 42 00 FF 78 */ bdnz lbl_80301A70 +/* 80301AFC 002FEA5C C0 02 C7 48 */ lfs f0, lbl_805AE468@sda21(r2) +/* 80301B00 002FEA60 38 00 00 00 */ li r0, 0 +/* 80301B04 002FEA64 7F E3 FB 78 */ mr r3, r31 +/* 80301B08 002FEA68 D0 1F 00 74 */ stfs f0, 0x74(r31) +/* 80301B0C 002FEA6C 90 1F 00 78 */ stw r0, 0x78(r31) +/* 80301B10 002FEA70 98 1F 00 7C */ stb r0, 0x7c(r31) +/* 80301B14 002FEA74 90 1F 00 80 */ stw r0, 0x80(r31) +/* 80301B18 002FEA78 90 1F 00 84 */ stw r0, 0x84(r31) +/* 80301B1C 002FEA7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80301B20 002FEA80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80301B24 002FEA84 7C 08 03 A6 */ mtlr r0 +/* 80301B28 002FEA88 38 21 00 10 */ addi r1, r1, 0x10 +/* 80301B2C 002FEA8C 4E 80 00 20 */ blr + +.global BuildRenderBufferPages__18CTextExecuteBufferFRC9CVector2i +BuildRenderBufferPages__18CTextExecuteBufferFRC9CVector2i: +/* 80301B30 002FEA90 94 21 F8 B0 */ stwu r1, -0x750(r1) +/* 80301B34 002FEA94 7C 08 02 A6 */ mflr r0 +/* 80301B38 002FEA98 90 01 07 54 */ stw r0, 0x754(r1) +/* 80301B3C 002FEA9C 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80301B40 002FEAA0 BF 41 07 38 */ stmw r26, 0x738(r1) +/* 80301B44 002FEAA4 7C 9E 23 78 */ mr r30, r4 +/* 80301B48 002FEAA8 7C 7D 1B 78 */ mr r29, r3 +/* 80301B4C 002FEAAC 7C BF 2B 78 */ mr r31, r5 +/* 80301B50 002FEAB0 80 04 00 04 */ lwz r0, 4(r4) +/* 80301B54 002FEAB4 38 80 00 00 */ li r4, 0 +/* 80301B58 002FEAB8 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80301B5C 002FEABC 90 C1 00 30 */ stw r6, 0x30(r1) +/* 80301B60 002FEAC0 90 C1 00 34 */ stw r6, 0x34(r1) +/* 80301B64 002FEAC4 90 C1 00 38 */ stw r6, 0x38(r1) +/* 80301B68 002FEAC8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80301B6C 002FEACC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80301B70 002FEAD0 48 00 01 8C */ b lbl_80301CFC +lbl_80301B74: +/* 80301B74 002FEAD4 38 61 04 E0 */ addi r3, r1, 0x4e0 +/* 80301B78 002FEAD8 38 80 00 00 */ li r4, 0 +/* 80301B7C 002FEADC 48 05 9A 01 */ bl __ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +/* 80301B80 002FEAE0 38 61 01 64 */ addi r3, r1, 0x164 +/* 80301B84 002FEAE4 4B FF DA 1D */ bl __ct__16CFontRenderStateFv +/* 80301B88 002FEAE8 83 9E 00 04 */ lwz r28, 4(r30) +/* 80301B8C 002FEAEC 48 00 00 28 */ b lbl_80301BB4 +lbl_80301B90: +/* 80301B90 002FEAF0 80 7C 00 08 */ lwz r3, 8(r28) +/* 80301B94 002FEAF4 38 81 01 64 */ addi r4, r1, 0x164 +/* 80301B98 002FEAF8 38 A1 04 E0 */ addi r5, r1, 0x4e0 +/* 80301B9C 002FEAFC 80 63 00 00 */ lwz r3, 0(r3) +/* 80301BA0 002FEB00 81 83 00 00 */ lwz r12, 0(r3) +/* 80301BA4 002FEB04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80301BA8 002FEB08 7D 89 03 A6 */ mtctr r12 +/* 80301BAC 002FEB0C 4E 80 04 21 */ bctrl +/* 80301BB0 002FEB10 83 9C 00 04 */ lwz r28, 4(r28) +lbl_80301BB4: +/* 80301BB4 002FEB14 80 1E 00 08 */ lwz r0, 8(r30) +/* 80301BB8 002FEB18 7C 1C 00 40 */ cmplw r28, r0 +/* 80301BBC 002FEB1C 40 82 FF D4 */ bne lbl_80301B90 +/* 80301BC0 002FEB20 38 61 01 64 */ addi r3, r1, 0x164 +/* 80301BC4 002FEB24 38 80 FF FF */ li r4, -1 +/* 80301BC8 002FEB28 48 00 03 31 */ bl __dt__16CFontRenderStateFv +/* 80301BCC 002FEB2C 38 61 04 E0 */ addi r3, r1, 0x4e0 +/* 80301BD0 002FEB30 38 80 00 01 */ li r4, 1 +/* 80301BD4 002FEB34 48 05 87 E9 */ bl SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +/* 80301BD8 002FEB38 38 61 00 40 */ addi r3, r1, 0x40 +/* 80301BDC 002FEB3C 4B FF D9 C5 */ bl __ct__16CFontRenderStateFv +/* 80301BE0 002FEB40 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80301BE4 002FEB44 3B 40 00 01 */ li r26, 1 +/* 80301BE8 002FEB48 83 7E 00 04 */ lwz r27, 4(r30) +/* 80301BEC 002FEB4C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80301BF0 002FEB50 83 81 00 1C */ lwz r28, 0x1c(r1) +/* 80301BF4 002FEB54 48 00 00 94 */ b lbl_80301C88 +lbl_80301BF8: +/* 80301BF8 002FEB58 7C 1B E0 40 */ cmplw r27, r28 +/* 80301BFC 002FEB5C 40 82 00 08 */ bne lbl_80301C04 +/* 80301C00 002FEB60 3B 40 00 00 */ li r26, 0 +lbl_80301C04: +/* 80301C04 002FEB64 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80301C08 002FEB68 41 82 00 28 */ beq lbl_80301C30 +/* 80301C0C 002FEB6C 80 7B 00 08 */ lwz r3, 8(r27) +/* 80301C10 002FEB70 38 81 00 40 */ addi r4, r1, 0x40 +/* 80301C14 002FEB74 38 A1 04 E0 */ addi r5, r1, 0x4e0 +/* 80301C18 002FEB78 80 63 00 00 */ lwz r3, 0(r3) +/* 80301C1C 002FEB7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80301C20 002FEB80 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80301C24 002FEB84 7D 89 03 A6 */ mtctr r12 +/* 80301C28 002FEB88 4E 80 04 21 */ bctrl +/* 80301C2C 002FEB8C 48 00 00 58 */ b lbl_80301C84 +lbl_80301C30: +/* 80301C30 002FEB90 80 7B 00 08 */ lwz r3, 8(r27) +/* 80301C34 002FEB94 38 81 00 40 */ addi r4, r1, 0x40 +/* 80301C38 002FEB98 38 A1 04 E0 */ addi r5, r1, 0x4e0 +/* 80301C3C 002FEB9C 80 63 00 00 */ lwz r3, 0(r3) +/* 80301C40 002FEBA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80301C44 002FEBA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80301C48 002FEBA8 7D 89 03 A6 */ mtctr r12 +/* 80301C4C 002FEBAC 4E 80 04 21 */ bctrl +/* 80301C50 002FEBB0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80301C54 002FEBB4 38 80 00 00 */ li r4, 0 +/* 80301C58 002FEBB8 38 A0 00 00 */ li r5, 0 +/* 80301C5C 002FEBBC 48 01 26 F1 */ bl __ct__9CVector2iFii +/* 80301C60 002FEBC0 7C 64 1B 78 */ mr r4, r3 +/* 80301C64 002FEBC4 7F E5 FB 78 */ mr r5, r31 +/* 80301C68 002FEBC8 38 61 04 E0 */ addi r3, r1, 0x4e0 +/* 80301C6C 002FEBCC 48 05 82 4D */ bl HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i +/* 80301C70 002FEBD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80301C74 002FEBD4 41 82 00 20 */ beq lbl_80301C94 +/* 80301C78 002FEBD8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80301C7C 002FEBDC 80 03 00 04 */ lwz r0, 4(r3) +/* 80301C80 002FEBE0 90 01 00 18 */ stw r0, 0x18(r1) +lbl_80301C84: +/* 80301C84 002FEBE4 83 7B 00 04 */ lwz r27, 4(r27) +lbl_80301C88: +/* 80301C88 002FEBE8 80 1E 00 08 */ lwz r0, 8(r30) +/* 80301C8C 002FEBEC 7C 1B 00 40 */ cmplw r27, r0 +/* 80301C90 002FEBF0 40 82 FF 68 */ bne lbl_80301BF8 +lbl_80301C94: +/* 80301C94 002FEBF4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80301C98 002FEBF8 38 61 02 88 */ addi r3, r1, 0x288 +/* 80301C9C 002FEBFC 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 80301CA0 002FEC00 38 81 00 14 */ addi r4, r1, 0x14 +/* 80301CA4 002FEC04 80 E1 00 1C */ lwz r7, 0x1c(r1) +/* 80301CA8 002FEC08 38 A1 00 0C */ addi r5, r1, 0xc +/* 80301CAC 002FEC0C 90 C1 00 08 */ stw r6, 8(r1) +/* 80301CB0 002FEC10 38 C1 00 08 */ addi r6, r1, 8 +/* 80301CB4 002FEC14 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80301CB8 002FEC18 90 01 00 10 */ stw r0, 0x10(r1) +/* 80301CBC 002FEC1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80301CC0 002FEC20 48 00 03 8D */ bl BuildRenderBufferPage__18CTextExecuteBufferFv +/* 80301CC4 002FEC24 38 61 00 28 */ addi r3, r1, 0x28 +/* 80301CC8 002FEC28 38 81 02 88 */ addi r4, r1, 0x288 +/* 80301CCC 002FEC2C 48 00 02 05 */ bl sub_80301ed0 +/* 80301CD0 002FEC30 38 61 02 88 */ addi r3, r1, 0x288 +/* 80301CD4 002FEC34 38 80 FF FF */ li r4, -1 +/* 80301CD8 002FEC38 4B D2 6C 85 */ bl __dt__17CTextRenderBufferFv +/* 80301CDC 002FEC3C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80301CE0 002FEC40 38 61 00 40 */ addi r3, r1, 0x40 +/* 80301CE4 002FEC44 38 80 FF FF */ li r4, -1 +/* 80301CE8 002FEC48 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80301CEC 002FEC4C 48 00 02 0D */ bl __dt__16CFontRenderStateFv +/* 80301CF0 002FEC50 38 61 04 E0 */ addi r3, r1, 0x4e0 +/* 80301CF4 002FEC54 38 80 FF FF */ li r4, -1 +/* 80301CF8 002FEC58 4B D2 6C 65 */ bl __dt__17CTextRenderBufferFv +lbl_80301CFC: +/* 80301CFC 002FEC5C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80301D00 002FEC60 80 1E 00 08 */ lwz r0, 8(r30) +/* 80301D04 002FEC64 7C 03 00 40 */ cmplw r3, r0 +/* 80301D08 002FEC68 40 82 FE 6C */ bne lbl_80301B74 +/* 80301D0C 002FEC6C 7F A3 EB 78 */ mr r3, r29 +/* 80301D10 002FEC70 38 81 00 28 */ addi r4, r1, 0x28 +/* 80301D14 002FEC74 48 00 00 25 */ bl sub_80301d38 +/* 80301D18 002FEC78 38 61 00 28 */ addi r3, r1, 0x28 +/* 80301D1C 002FEC7C 38 80 FF FF */ li r4, -1 +/* 80301D20 002FEC80 4B FC 83 D1 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +/* 80301D24 002FEC84 BB 41 07 38 */ lmw r26, 0x738(r1) +/* 80301D28 002FEC88 80 01 07 54 */ lwz r0, 0x754(r1) +/* 80301D2C 002FEC8C 7C 08 03 A6 */ mtlr r0 +/* 80301D30 002FEC90 38 21 07 50 */ addi r1, r1, 0x750 +/* 80301D34 002FEC94 4E 80 00 20 */ blr + +.global sub_80301d38 +sub_80301d38: +/* 80301D38 002FEC98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80301D3C 002FEC9C 7C 08 02 A6 */ mflr r0 +/* 80301D40 002FECA0 38 E0 00 00 */ li r7, 0 +/* 80301D44 002FECA4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80301D48 002FECA8 38 00 00 01 */ li r0, 1 +/* 80301D4C 002FECAC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80301D50 002FECB0 38 C1 00 0C */ addi r6, r1, 0xc +/* 80301D54 002FECB4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80301D58 002FECB8 7C 7F 1B 78 */ mr r31, r3 +/* 80301D5C 002FECBC 39 1F 00 0C */ addi r8, r31, 0xc +/* 80301D60 002FECC0 91 03 00 04 */ stw r8, 4(r3) +/* 80301D64 002FECC4 91 03 00 08 */ stw r8, 8(r3) +/* 80301D68 002FECC8 91 03 00 0C */ stw r8, 0xc(r3) +/* 80301D6C 002FECCC 91 03 00 10 */ stw r8, 0x10(r3) +/* 80301D70 002FECD0 90 E3 00 14 */ stw r7, 0x14(r3) +/* 80301D74 002FECD4 81 04 00 08 */ lwz r8, 8(r4) +/* 80301D78 002FECD8 80 E4 00 04 */ lwz r7, 4(r4) +/* 80301D7C 002FECDC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80301D80 002FECE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80301D84 002FECE4 98 01 00 20 */ stb r0, 0x20(r1) +/* 80301D88 002FECE8 91 01 00 0C */ stw r8, 0xc(r1) +/* 80301D8C 002FECEC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 80301D90 002FECF0 80 03 00 08 */ lwz r0, 8(r3) +/* 80301D94 002FECF4 91 01 00 08 */ stw r8, 8(r1) +/* 80301D98 002FECF8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 80301D9C 002FECFC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80301DA0 002FED00 48 00 00 31 */ bl sub_80301dd0 +/* 80301DA4 002FED04 38 00 00 00 */ li r0, 0 +/* 80301DA8 002FED08 38 61 00 1C */ addi r3, r1, 0x1c +/* 80301DAC 002FED0C 98 01 00 20 */ stb r0, 0x20(r1) +/* 80301DB0 002FED10 38 80 FF FF */ li r4, -1 +/* 80301DB4 002FED14 48 00 00 91 */ bl sub_80301e44 +/* 80301DB8 002FED18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80301DBC 002FED1C 7F E3 FB 78 */ mr r3, r31 +/* 80301DC0 002FED20 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80301DC4 002FED24 7C 08 03 A6 */ mtlr r0 +/* 80301DC8 002FED28 38 21 00 30 */ addi r1, r1, 0x30 +/* 80301DCC 002FED2C 4E 80 00 20 */ blr + +.global sub_80301dd0 +sub_80301dd0: +/* 80301DD0 002FED30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80301DD4 002FED34 7C 08 02 A6 */ mflr r0 +/* 80301DD8 002FED38 90 01 00 24 */ stw r0, 0x24(r1) +/* 80301DDC 002FED3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80301DE0 002FED40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80301DE4 002FED44 7C DE 33 78 */ mr r30, r6 +/* 80301DE8 002FED48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80301DEC 002FED4C 7C 9D 23 78 */ mr r29, r4 +/* 80301DF0 002FED50 93 81 00 10 */ stw r28, 0x10(r1) +/* 80301DF4 002FED54 7C 7C 1B 78 */ mr r28, r3 +/* 80301DF8 002FED58 83 E5 00 00 */ lwz r31, 0(r5) +/* 80301DFC 002FED5C 48 00 00 1C */ b lbl_80301E18 +lbl_80301E00: +/* 80301E00 002FED60 7F 84 E3 78 */ mr r4, r28 +/* 80301E04 002FED64 7F A5 EB 78 */ mr r5, r29 +/* 80301E08 002FED68 38 61 00 08 */ addi r3, r1, 8 +/* 80301E0C 002FED6C 38 DF 00 08 */ addi r6, r31, 8 +/* 80301E10 002FED70 4B FC 66 CD */ bl sub_802c84dc +/* 80301E14 002FED74 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80301E18: +/* 80301E18 002FED78 80 1E 00 00 */ lwz r0, 0(r30) +/* 80301E1C 002FED7C 7C 1F 00 40 */ cmplw r31, r0 +/* 80301E20 002FED80 40 82 FF E0 */ bne lbl_80301E00 +/* 80301E24 002FED84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80301E28 002FED88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80301E2C 002FED8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80301E30 002FED90 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80301E34 002FED94 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80301E38 002FED98 7C 08 03 A6 */ mtlr r0 +/* 80301E3C 002FED9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80301E40 002FEDA0 4E 80 00 20 */ blr + +.global sub_80301e44 +sub_80301e44: +/* 80301E44 002FEDA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80301E48 002FEDA8 7C 08 02 A6 */ mflr r0 +/* 80301E4C 002FEDAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80301E50 002FEDB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80301E54 002FEDB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80301E58 002FEDB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80301E5C 002FEDBC 7C 9D 23 78 */ mr r29, r4 +/* 80301E60 002FEDC0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80301E64 002FEDC4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80301E68 002FEDC8 41 82 00 44 */ beq lbl_80301EAC +/* 80301E6C 002FEDCC 88 1C 00 04 */ lbz r0, 4(r28) +/* 80301E70 002FEDD0 28 00 00 00 */ cmplwi r0, 0 +/* 80301E74 002FEDD4 41 82 00 28 */ beq lbl_80301E9C +/* 80301E78 002FEDD8 83 FC 00 00 */ lwz r31, 0(r28) +/* 80301E7C 002FEDDC 83 DF 00 08 */ lwz r30, 8(r31) +/* 80301E80 002FEDE0 80 9F 00 04 */ lwz r4, 4(r31) +/* 80301E84 002FEDE4 48 00 00 10 */ b lbl_80301E94 +lbl_80301E88: +/* 80301E88 002FEDE8 7F E3 FB 78 */ mr r3, r31 +/* 80301E8C 002FEDEC 4B FC 81 D1 */ bl sub_802ca05c +/* 80301E90 002FEDF0 7C 64 1B 78 */ mr r4, r3 +lbl_80301E94: +/* 80301E94 002FEDF4 7C 04 F0 40 */ cmplw r4, r30 +/* 80301E98 002FEDF8 40 82 FF F0 */ bne lbl_80301E88 +lbl_80301E9C: +/* 80301E9C 002FEDFC 7F A0 07 35 */ extsh. r0, r29 +/* 80301EA0 002FEE00 40 81 00 0C */ ble lbl_80301EAC +/* 80301EA4 002FEE04 7F 83 E3 78 */ mr r3, r28 +/* 80301EA8 002FEE08 48 01 3A 89 */ bl Free__7CMemoryFPCv +lbl_80301EAC: +/* 80301EAC 002FEE0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80301EB0 002FEE10 7F 83 E3 78 */ mr r3, r28 +/* 80301EB4 002FEE14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80301EB8 002FEE18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80301EBC 002FEE1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80301EC0 002FEE20 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80301EC4 002FEE24 7C 08 03 A6 */ mtlr r0 +/* 80301EC8 002FEE28 38 21 00 20 */ addi r1, r1, 0x20 +/* 80301ECC 002FEE2C 4E 80 00 20 */ blr + +.global sub_80301ed0 +sub_80301ed0: +/* 80301ED0 002FEE30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80301ED4 002FEE34 7C 08 02 A6 */ mflr r0 +/* 80301ED8 002FEE38 7C 85 23 78 */ mr r5, r4 +/* 80301EDC 002FEE3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80301EE0 002FEE40 80 83 00 08 */ lwz r4, 8(r3) +/* 80301EE4 002FEE44 4B FC 66 39 */ bl sub_802c851c +/* 80301EE8 002FEE48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80301EEC 002FEE4C 7C 08 03 A6 */ mtlr r0 +/* 80301EF0 002FEE50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80301EF4 002FEE54 4E 80 00 20 */ blr + +.global __dt__16CFontRenderStateFv +__dt__16CFontRenderStateFv: +/* 80301EF8 002FEE58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80301EFC 002FEE5C 7C 08 02 A6 */ mflr r0 +/* 80301F00 002FEE60 90 01 00 34 */ stw r0, 0x34(r1) +/* 80301F04 002FEE64 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80301F08 002FEE68 7C 9F 23 78 */ mr r31, r4 +/* 80301F0C 002FEE6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80301F10 002FEE70 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80301F14 002FEE74 41 82 01 1C */ beq lbl_80302030 +/* 80301F18 002FEE78 38 7E 01 0C */ addi r3, r30, 0x10c +/* 80301F1C 002FEE7C 38 80 FF FF */ li r4, -1 +/* 80301F20 002FEE80 4B D2 74 59 */ bl sub_80029378 +/* 80301F24 002FEE84 34 1E 00 F8 */ addic. r0, r30, 0xf8 +/* 80301F28 002FEE88 41 82 00 40 */ beq lbl_80301F68 +/* 80301F2C 002FEE8C 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80301F30 002FEE90 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 80301F34 002FEE94 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80301F38 002FEE98 7C 83 02 14 */ add r4, r3, r0 +/* 80301F3C 002FEE9C 7C 03 20 50 */ subf r0, r3, r4 +/* 80301F40 002FEEA0 90 81 00 24 */ stw r4, 0x24(r1) +/* 80301F44 002FEEA4 90 81 00 20 */ stw r4, 0x20(r1) +/* 80301F48 002FEEA8 90 61 00 18 */ stw r3, 0x18(r1) +/* 80301F4C 002FEEAC 7C 09 03 A6 */ mtctr r0 +/* 80301F50 002FEEB0 7C 03 20 40 */ cmplw r3, r4 +/* 80301F54 002FEEB4 41 82 00 08 */ beq lbl_80301F5C +lbl_80301F58: +/* 80301F58 002FEEB8 42 00 00 00 */ bdnz lbl_80301F58 +lbl_80301F5C: +/* 80301F5C 002FEEBC 28 03 00 00 */ cmplwi r3, 0 +/* 80301F60 002FEEC0 41 82 00 08 */ beq lbl_80301F68 +/* 80301F64 002FEEC4 48 01 39 CD */ bl Free__7CMemoryFPCv +lbl_80301F68: +/* 80301F68 002FEEC8 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 80301F6C 002FEECC 41 82 00 44 */ beq lbl_80301FB0 +/* 80301F70 002FEED0 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 80301F74 002FEED4 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 80301F78 002FEED8 54 00 10 3A */ slwi r0, r0, 2 +/* 80301F7C 002FEEDC 7C 03 02 14 */ add r0, r3, r0 +/* 80301F80 002FEEE0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80301F84 002FEEE4 7C 64 1B 78 */ mr r4, r3 +/* 80301F88 002FEEE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80301F8C 002FEEEC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80301F90 002FEEF0 90 61 00 08 */ stw r3, 8(r1) +/* 80301F94 002FEEF4 48 00 00 08 */ b lbl_80301F9C +lbl_80301F98: +/* 80301F98 002FEEF8 38 84 00 04 */ addi r4, r4, 4 +lbl_80301F9C: +/* 80301F9C 002FEEFC 7C 04 00 40 */ cmplw r4, r0 +/* 80301FA0 002FEF00 40 82 FF F8 */ bne lbl_80301F98 +/* 80301FA4 002FEF04 28 03 00 00 */ cmplwi r3, 0 +/* 80301FA8 002FEF08 41 82 00 08 */ beq lbl_80301FB0 +/* 80301FAC 002FEF0C 48 01 39 85 */ bl Free__7CMemoryFPCv +lbl_80301FB0: +/* 80301FB0 002FEF10 34 1E 00 8C */ addic. r0, r30, 0x8c +/* 80301FB4 002FEF14 41 82 00 60 */ beq lbl_80302014 +/* 80301FB8 002FEF18 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 80301FBC 002FEF1C 41 82 00 58 */ beq lbl_80302014 +/* 80301FC0 002FEF20 80 BE 00 90 */ lwz r5, 0x90(r30) +/* 80301FC4 002FEF24 38 60 00 00 */ li r3, 0 +/* 80301FC8 002FEF28 2C 05 00 00 */ cmpwi r5, 0 +/* 80301FCC 002FEF2C 40 81 00 40 */ ble lbl_8030200C +/* 80301FD0 002FEF30 2C 05 00 08 */ cmpwi r5, 8 +/* 80301FD4 002FEF34 38 85 FF F8 */ addi r4, r5, -8 +/* 80301FD8 002FEF38 40 81 00 20 */ ble lbl_80301FF8 +/* 80301FDC 002FEF3C 38 04 00 07 */ addi r0, r4, 7 +/* 80301FE0 002FEF40 54 00 E8 FE */ srwi r0, r0, 3 +/* 80301FE4 002FEF44 7C 09 03 A6 */ mtctr r0 +/* 80301FE8 002FEF48 2C 04 00 00 */ cmpwi r4, 0 +/* 80301FEC 002FEF4C 40 81 00 0C */ ble lbl_80301FF8 +lbl_80301FF0: +/* 80301FF0 002FEF50 38 63 00 08 */ addi r3, r3, 8 +/* 80301FF4 002FEF54 42 00 FF FC */ bdnz lbl_80301FF0 +lbl_80301FF8: +/* 80301FF8 002FEF58 7C 03 28 50 */ subf r0, r3, r5 +/* 80301FFC 002FEF5C 7C 09 03 A6 */ mtctr r0 +/* 80302000 002FEF60 7C 03 28 00 */ cmpw r3, r5 +/* 80302004 002FEF64 40 80 00 08 */ bge lbl_8030200C +lbl_80302008: +/* 80302008 002FEF68 42 00 00 00 */ bdnz lbl_80302008 +lbl_8030200C: +/* 8030200C 002FEF6C 38 00 00 00 */ li r0, 0 +/* 80302010 002FEF70 90 1E 00 90 */ stw r0, 0x90(r30) +lbl_80302014: +/* 80302014 002FEF74 7F C3 F3 78 */ mr r3, r30 +/* 80302018 002FEF78 38 80 FF FF */ li r4, -1 +/* 8030201C 002FEF7C 4B D2 6D 09 */ bl __dt__14CSaveableStateFv +/* 80302020 002FEF80 7F E0 07 35 */ extsh. r0, r31 +/* 80302024 002FEF84 40 81 00 0C */ ble lbl_80302030 +/* 80302028 002FEF88 7F C3 F3 78 */ mr r3, r30 +/* 8030202C 002FEF8C 48 01 39 05 */ bl Free__7CMemoryFPCv +lbl_80302030: +/* 80302030 002FEF90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80302034 002FEF94 7F C3 F3 78 */ mr r3, r30 +/* 80302038 002FEF98 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030203C 002FEF9C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80302040 002FEFA0 7C 08 03 A6 */ mtlr r0 +/* 80302044 002FEFA4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80302048 002FEFA8 4E 80 00 20 */ blr + +.global BuildRenderBufferPage__18CTextExecuteBufferFv +BuildRenderBufferPage__18CTextExecuteBufferFv: +/* 8030204C 002FEFAC 94 21 FB 40 */ stwu r1, -0x4c0(r1) +/* 80302050 002FEFB0 7C 08 02 A6 */ mflr r0 +/* 80302054 002FEFB4 90 01 04 C4 */ stw r0, 0x4c4(r1) +/* 80302058 002FEFB8 BF 41 04 A8 */ stmw r26, 0x4a8(r1) +/* 8030205C 002FEFBC 7C 7A 1B 78 */ mr r26, r3 +/* 80302060 002FEFC0 7C 9B 23 78 */ mr r27, r4 +/* 80302064 002FEFC4 7C BC 2B 78 */ mr r28, r5 +/* 80302068 002FEFC8 7C DD 33 78 */ mr r29, r6 +/* 8030206C 002FEFCC 38 61 02 50 */ addi r3, r1, 0x250 +/* 80302070 002FEFD0 38 80 00 00 */ li r4, 0 +/* 80302074 002FEFD4 48 05 95 09 */ bl __ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +/* 80302078 002FEFD8 38 61 01 2C */ addi r3, r1, 0x12c +/* 8030207C 002FEFDC 4B FF D5 25 */ bl __ct__16CFontRenderStateFv +/* 80302080 002FEFE0 83 FB 00 00 */ lwz r31, 0(r27) +/* 80302084 002FEFE4 48 00 00 28 */ b lbl_803020AC +lbl_80302088: +/* 80302088 002FEFE8 80 7F 00 08 */ lwz r3, 8(r31) +/* 8030208C 002FEFEC 38 81 01 2C */ addi r4, r1, 0x12c +/* 80302090 002FEFF0 38 A1 02 50 */ addi r5, r1, 0x250 +/* 80302094 002FEFF4 80 63 00 00 */ lwz r3, 0(r3) +/* 80302098 002FEFF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8030209C 002FEFFC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803020A0 002FF000 7D 89 03 A6 */ mtctr r12 +/* 803020A4 002FF004 4E 80 04 21 */ bctrl +/* 803020A8 002FF008 83 FF 00 04 */ lwz r31, 4(r31) +lbl_803020AC: +/* 803020AC 002FF00C 83 DC 00 00 */ lwz r30, 0(r28) +/* 803020B0 002FF010 7C 1F F0 40 */ cmplw r31, r30 +/* 803020B4 002FF014 40 82 FF D4 */ bne lbl_80302088 +/* 803020B8 002FF018 48 00 00 28 */ b lbl_803020E0 +lbl_803020BC: +/* 803020BC 002FF01C 80 7E 00 08 */ lwz r3, 8(r30) +/* 803020C0 002FF020 38 81 01 2C */ addi r4, r1, 0x12c +/* 803020C4 002FF024 38 A1 02 50 */ addi r5, r1, 0x250 +/* 803020C8 002FF028 80 63 00 00 */ lwz r3, 0(r3) +/* 803020CC 002FF02C 81 83 00 00 */ lwz r12, 0(r3) +/* 803020D0 002FF030 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803020D4 002FF034 7D 89 03 A6 */ mtctr r12 +/* 803020D8 002FF038 4E 80 04 21 */ bctrl +/* 803020DC 002FF03C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_803020E0: +/* 803020E0 002FF040 80 1D 00 00 */ lwz r0, 0(r29) +/* 803020E4 002FF044 7C 1E 00 40 */ cmplw r30, r0 +/* 803020E8 002FF048 40 82 FF D4 */ bne lbl_803020BC +/* 803020EC 002FF04C 38 61 01 2C */ addi r3, r1, 0x12c +/* 803020F0 002FF050 38 80 FF FF */ li r4, -1 +/* 803020F4 002FF054 4B FF FE 05 */ bl __dt__16CFontRenderStateFv +/* 803020F8 002FF058 38 61 02 50 */ addi r3, r1, 0x250 +/* 803020FC 002FF05C 38 80 00 01 */ li r4, 1 +/* 80302100 002FF060 48 05 82 BD */ bl SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +/* 80302104 002FF064 38 61 00 08 */ addi r3, r1, 8 +/* 80302108 002FF068 4B FF D4 99 */ bl __ct__16CFontRenderStateFv +/* 8030210C 002FF06C 83 FB 00 00 */ lwz r31, 0(r27) +/* 80302110 002FF070 48 00 00 28 */ b lbl_80302138 +lbl_80302114: +/* 80302114 002FF074 80 7F 00 08 */ lwz r3, 8(r31) +/* 80302118 002FF078 38 81 00 08 */ addi r4, r1, 8 +/* 8030211C 002FF07C 38 A1 02 50 */ addi r5, r1, 0x250 +/* 80302120 002FF080 80 63 00 00 */ lwz r3, 0(r3) +/* 80302124 002FF084 81 83 00 00 */ lwz r12, 0(r3) +/* 80302128 002FF088 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8030212C 002FF08C 7D 89 03 A6 */ mtctr r12 +/* 80302130 002FF090 4E 80 04 21 */ bctrl +/* 80302134 002FF094 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80302138: +/* 80302138 002FF098 83 DC 00 00 */ lwz r30, 0(r28) +/* 8030213C 002FF09C 7C 1F F0 40 */ cmplw r31, r30 +/* 80302140 002FF0A0 40 82 FF D4 */ bne lbl_80302114 +/* 80302144 002FF0A4 48 00 00 28 */ b lbl_8030216C +lbl_80302148: +/* 80302148 002FF0A8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8030214C 002FF0AC 38 81 00 08 */ addi r4, r1, 8 +/* 80302150 002FF0B0 38 A1 02 50 */ addi r5, r1, 0x250 +/* 80302154 002FF0B4 80 63 00 00 */ lwz r3, 0(r3) +/* 80302158 002FF0B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8030215C 002FF0BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80302160 002FF0C0 7D 89 03 A6 */ mtctr r12 +/* 80302164 002FF0C4 4E 80 04 21 */ bctrl +/* 80302168 002FF0C8 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8030216C: +/* 8030216C 002FF0CC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80302170 002FF0D0 7C 1E 00 40 */ cmplw r30, r0 +/* 80302174 002FF0D4 40 82 FF D4 */ bne lbl_80302148 +/* 80302178 002FF0D8 38 61 00 08 */ addi r3, r1, 8 +/* 8030217C 002FF0DC 38 80 FF FF */ li r4, -1 +/* 80302180 002FF0E0 4B FF FD 79 */ bl __dt__16CFontRenderStateFv +/* 80302184 002FF0E4 7F 43 D3 78 */ mr r3, r26 +/* 80302188 002FF0E8 38 81 02 50 */ addi r4, r1, 0x250 +/* 8030218C 002FF0EC 4B FC 64 85 */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer +/* 80302190 002FF0F0 38 61 02 50 */ addi r3, r1, 0x250 +/* 80302194 002FF0F4 38 80 FF FF */ li r4, -1 +/* 80302198 002FF0F8 4B D2 67 C5 */ bl __dt__17CTextRenderBufferFv +/* 8030219C 002FF0FC BB 41 04 A8 */ lmw r26, 0x4a8(r1) +/* 803021A0 002FF100 80 01 04 C4 */ lwz r0, 0x4c4(r1) +/* 803021A4 002FF104 7C 08 03 A6 */ mtlr r0 +/* 803021A8 002FF108 38 21 04 C0 */ addi r1, r1, 0x4c0 +/* 803021AC 002FF10C 4E 80 00 20 */ blr + +.global BuildRenderBuffer__18CTextExecuteBufferFv +BuildRenderBuffer__18CTextExecuteBufferFv: +/* 803021B0 002FF110 94 21 FB 40 */ stwu r1, -0x4c0(r1) +/* 803021B4 002FF114 7C 08 02 A6 */ mflr r0 +/* 803021B8 002FF118 90 01 04 C4 */ stw r0, 0x4c4(r1) +/* 803021BC 002FF11C 93 E1 04 BC */ stw r31, 0x4bc(r1) +/* 803021C0 002FF120 93 C1 04 B8 */ stw r30, 0x4b8(r1) +/* 803021C4 002FF124 7C 9E 23 78 */ mr r30, r4 +/* 803021C8 002FF128 38 80 00 00 */ li r4, 0 +/* 803021CC 002FF12C 93 A1 04 B4 */ stw r29, 0x4b4(r1) +/* 803021D0 002FF130 7C 7D 1B 78 */ mr r29, r3 +/* 803021D4 002FF134 38 61 02 50 */ addi r3, r1, 0x250 +/* 803021D8 002FF138 48 05 93 A5 */ bl __ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +/* 803021DC 002FF13C 38 61 01 2C */ addi r3, r1, 0x12c +/* 803021E0 002FF140 4B FF D3 C1 */ bl __ct__16CFontRenderStateFv +/* 803021E4 002FF144 83 FE 00 04 */ lwz r31, 4(r30) +/* 803021E8 002FF148 48 00 00 28 */ b lbl_80302210 +lbl_803021EC: +/* 803021EC 002FF14C 80 7F 00 08 */ lwz r3, 8(r31) +/* 803021F0 002FF150 38 81 01 2C */ addi r4, r1, 0x12c +/* 803021F4 002FF154 38 A1 02 50 */ addi r5, r1, 0x250 +/* 803021F8 002FF158 80 63 00 00 */ lwz r3, 0(r3) +/* 803021FC 002FF15C 81 83 00 00 */ lwz r12, 0(r3) +/* 80302200 002FF160 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80302204 002FF164 7D 89 03 A6 */ mtctr r12 +/* 80302208 002FF168 4E 80 04 21 */ bctrl +/* 8030220C 002FF16C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80302210: +/* 80302210 002FF170 80 1E 00 08 */ lwz r0, 8(r30) +/* 80302214 002FF174 7C 1F 00 40 */ cmplw r31, r0 +/* 80302218 002FF178 40 82 FF D4 */ bne lbl_803021EC +/* 8030221C 002FF17C 38 61 01 2C */ addi r3, r1, 0x12c +/* 80302220 002FF180 38 80 FF FF */ li r4, -1 +/* 80302224 002FF184 4B FF FC D5 */ bl __dt__16CFontRenderStateFv +/* 80302228 002FF188 38 61 02 50 */ addi r3, r1, 0x250 +/* 8030222C 002FF18C 38 80 00 01 */ li r4, 1 +/* 80302230 002FF190 48 05 81 8D */ bl SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +/* 80302234 002FF194 38 61 00 08 */ addi r3, r1, 8 +/* 80302238 002FF198 4B FF D3 69 */ bl __ct__16CFontRenderStateFv +/* 8030223C 002FF19C 83 FE 00 04 */ lwz r31, 4(r30) +/* 80302240 002FF1A0 48 00 00 28 */ b lbl_80302268 +lbl_80302244: +/* 80302244 002FF1A4 80 7F 00 08 */ lwz r3, 8(r31) +/* 80302248 002FF1A8 38 81 00 08 */ addi r4, r1, 8 +/* 8030224C 002FF1AC 38 A1 02 50 */ addi r5, r1, 0x250 +/* 80302250 002FF1B0 80 63 00 00 */ lwz r3, 0(r3) +/* 80302254 002FF1B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80302258 002FF1B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8030225C 002FF1BC 7D 89 03 A6 */ mtctr r12 +/* 80302260 002FF1C0 4E 80 04 21 */ bctrl +/* 80302264 002FF1C4 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80302268: +/* 80302268 002FF1C8 80 1E 00 08 */ lwz r0, 8(r30) +/* 8030226C 002FF1CC 7C 1F 00 40 */ cmplw r31, r0 +/* 80302270 002FF1D0 40 82 FF D4 */ bne lbl_80302244 +/* 80302274 002FF1D4 38 61 00 08 */ addi r3, r1, 8 +/* 80302278 002FF1D8 38 80 FF FF */ li r4, -1 +/* 8030227C 002FF1DC 4B FF FC 7D */ bl __dt__16CFontRenderStateFv +/* 80302280 002FF1E0 7F A3 EB 78 */ mr r3, r29 +/* 80302284 002FF1E4 38 81 02 50 */ addi r4, r1, 0x250 +/* 80302288 002FF1E8 4B FC 63 89 */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer +/* 8030228C 002FF1EC 38 61 02 50 */ addi r3, r1, 0x250 +/* 80302290 002FF1F0 38 80 FF FF */ li r4, -1 +/* 80302294 002FF1F4 4B D2 66 C9 */ bl __dt__17CTextRenderBufferFv +/* 80302298 002FF1F8 80 01 04 C4 */ lwz r0, 0x4c4(r1) +/* 8030229C 002FF1FC 83 E1 04 BC */ lwz r31, 0x4bc(r1) +/* 803022A0 002FF200 83 C1 04 B8 */ lwz r30, 0x4b8(r1) +/* 803022A4 002FF204 83 A1 04 B4 */ lwz r29, 0x4b4(r1) +/* 803022A8 002FF208 7C 08 03 A6 */ mtlr r0 +/* 803022AC 002FF20C 38 21 04 C0 */ addi r1, r1, 0x4c0 +/* 803022B0 002FF210 4E 80 00 20 */ blr + +.global GetAssets__18CTextExecuteBufferFv +GetAssets__18CTextExecuteBufferFv: +/* 803022B4 002FF214 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803022B8 002FF218 7C 08 02 A6 */ mflr r0 +/* 803022BC 002FF21C 90 01 00 44 */ stw r0, 0x44(r1) +/* 803022C0 002FF220 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803022C4 002FF224 7C 7F 1B 78 */ mr r31, r3 +/* 803022C8 002FF228 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803022CC 002FF22C 7C 9E 23 78 */ mr r30, r4 +/* 803022D0 002FF230 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803022D4 002FF234 3B A0 00 00 */ li r29, 0 +/* 803022D8 002FF238 93 81 00 30 */ stw r28, 0x30(r1) +/* 803022DC 002FF23C 83 84 00 04 */ lwz r28, 4(r4) +/* 803022E0 002FF240 48 00 00 24 */ b lbl_80302304 +lbl_803022E4: +/* 803022E4 002FF244 80 7C 00 08 */ lwz r3, 8(r28) +/* 803022E8 002FF248 80 63 00 00 */ lwz r3, 0(r3) +/* 803022EC 002FF24C 81 83 00 00 */ lwz r12, 0(r3) +/* 803022F0 002FF250 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 803022F4 002FF254 7D 89 03 A6 */ mtctr r12 +/* 803022F8 002FF258 4E 80 04 21 */ bctrl +/* 803022FC 002FF25C 7F BD 1A 14 */ add r29, r29, r3 +/* 80302300 002FF260 83 9C 00 04 */ lwz r28, 4(r28) +lbl_80302304: +/* 80302304 002FF264 80 1E 00 08 */ lwz r0, 8(r30) +/* 80302308 002FF268 7C 1C 00 40 */ cmplw r28, r0 +/* 8030230C 002FF26C 40 82 FF D8 */ bne lbl_803022E4 +/* 80302310 002FF270 38 00 00 00 */ li r0, 0 +/* 80302314 002FF274 2C 1D 00 00 */ cmpwi r29, 0 +/* 80302318 002FF278 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8030231C 002FF27C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80302320 002FF280 90 01 00 24 */ stw r0, 0x24(r1) +/* 80302324 002FF284 40 81 00 44 */ ble lbl_80302368 +/* 80302328 002FF288 7F A4 EB 78 */ mr r4, r29 +/* 8030232C 002FF28C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80302330 002FF290 4B D0 66 2D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 80302334 002FF294 83 9E 00 04 */ lwz r28, 4(r30) +/* 80302338 002FF298 48 00 00 24 */ b lbl_8030235C +lbl_8030233C: +/* 8030233C 002FF29C 80 7C 00 08 */ lwz r3, 8(r28) +/* 80302340 002FF2A0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80302344 002FF2A4 80 63 00 00 */ lwz r3, 0(r3) +/* 80302348 002FF2A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8030234C 002FF2AC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80302350 002FF2B0 7D 89 03 A6 */ mtctr r12 +/* 80302354 002FF2B4 4E 80 04 21 */ bctrl +/* 80302358 002FF2B8 83 9C 00 04 */ lwz r28, 4(r28) +lbl_8030235C: +/* 8030235C 002FF2BC 80 1E 00 08 */ lwz r0, 8(r30) +/* 80302360 002FF2C0 7C 1C 00 40 */ cmplw r28, r0 +/* 80302364 002FF2C4 40 82 FF D8 */ bne lbl_8030233C +lbl_80302368: +/* 80302368 002FF2C8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8030236C 002FF2CC 90 1F 00 04 */ stw r0, 4(r31) +/* 80302370 002FF2D0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80302374 002FF2D4 90 1F 00 08 */ stw r0, 8(r31) +/* 80302378 002FF2D8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8030237C 002FF2DC 2C 00 00 00 */ cmpwi r0, 0 +/* 80302380 002FF2E0 40 82 00 1C */ bne lbl_8030239C +/* 80302384 002FF2E4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80302388 002FF2E8 2C 00 00 00 */ cmpwi r0, 0 +/* 8030238C 002FF2EC 40 82 00 10 */ bne lbl_8030239C +/* 80302390 002FF2F0 38 00 00 00 */ li r0, 0 +/* 80302394 002FF2F4 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80302398 002FF2F8 48 00 00 6C */ b lbl_80302404 +lbl_8030239C: +/* 8030239C 002FF2FC 80 1F 00 08 */ lwz r0, 8(r31) +/* 803023A0 002FF300 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 803023A4 002FF304 40 82 00 10 */ bne lbl_803023B4 +/* 803023A8 002FF308 38 00 00 00 */ li r0, 0 +/* 803023AC 002FF30C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 803023B0 002FF310 48 00 00 18 */ b lbl_803023C8 +lbl_803023B4: +/* 803023B4 002FF314 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 803023B8 002FF318 38 A0 00 00 */ li r5, 0 +/* 803023BC 002FF31C 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 803023C0 002FF320 48 01 34 59 */ bl __nwa__FUlPCcPCc +/* 803023C4 002FF324 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_803023C8: +/* 803023C8 002FF328 83 9F 00 04 */ lwz r28, 4(r31) +/* 803023CC 002FF32C 3B C0 00 00 */ li r30, 0 +/* 803023D0 002FF330 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803023D4 002FF334 83 FF 00 0C */ lwz r31, 0xc(r31) +/* 803023D8 002FF338 48 00 00 24 */ b lbl_803023FC +lbl_803023DC: +/* 803023DC 002FF33C 28 1F 00 00 */ cmplwi r31, 0 +/* 803023E0 002FF340 41 82 00 10 */ beq lbl_803023F0 +/* 803023E4 002FF344 7F E3 FB 78 */ mr r3, r31 +/* 803023E8 002FF348 7F A4 EB 78 */ mr r4, r29 +/* 803023EC 002FF34C 48 03 EA BD */ bl __ct__6CTokenFRC6CToken +lbl_803023F0: +/* 803023F0 002FF350 3B FF 00 08 */ addi r31, r31, 8 +/* 803023F4 002FF354 3B DE 00 01 */ addi r30, r30, 1 +/* 803023F8 002FF358 3B BD 00 08 */ addi r29, r29, 8 +lbl_803023FC: +/* 803023FC 002FF35C 7C 1E E0 00 */ cmpw r30, r28 +/* 80302400 002FF360 41 80 FF DC */ blt lbl_803023DC +lbl_80302404: +/* 80302404 002FF364 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80302408 002FF368 83 81 00 24 */ lwz r28, 0x24(r1) +/* 8030240C 002FF36C 54 00 18 38 */ slwi r0, r0, 3 +/* 80302410 002FF370 7F FC 02 14 */ add r31, r28, r0 +/* 80302414 002FF374 93 81 00 0C */ stw r28, 0xc(r1) +/* 80302418 002FF378 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8030241C 002FF37C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80302420 002FF380 93 81 00 08 */ stw r28, 8(r1) +/* 80302424 002FF384 48 00 00 14 */ b lbl_80302438 +lbl_80302428: +/* 80302428 002FF388 7F 83 E3 78 */ mr r3, r28 +/* 8030242C 002FF38C 38 80 FF FF */ li r4, -1 +/* 80302430 002FF390 48 03 EA 11 */ bl __dt__6CTokenFv +/* 80302434 002FF394 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80302438: +/* 80302438 002FF398 7C 1C F8 40 */ cmplw r28, r31 +/* 8030243C 002FF39C 40 82 FF EC */ bne lbl_80302428 +/* 80302440 002FF3A0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80302444 002FF3A4 28 03 00 00 */ cmplwi r3, 0 +/* 80302448 002FF3A8 41 82 00 08 */ beq lbl_80302450 +/* 8030244C 002FF3AC 48 01 34 E5 */ bl Free__7CMemoryFPCv +lbl_80302450: +/* 80302450 002FF3B0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80302454 002FF3B4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80302458 002FF3B8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8030245C 002FF3BC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80302460 002FF3C0 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80302464 002FF3C4 7C 08 03 A6 */ mtlr r0 +/* 80302468 002FF3C8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030246C 002FF3CC 4E 80 00 20 */ blr + +.global AddString__18CTextExecuteBufferFPCwi +AddString__18CTextExecuteBufferFPCwi: +/* 80302470 002FF3D0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80302474 002FF3D4 7C 08 02 A6 */ mflr r0 +/* 80302478 002FF3D8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030247C 002FF3DC BF 21 00 24 */ stmw r25, 0x24(r1) +/* 80302480 002FF3E0 7C 79 1B 78 */ mr r25, r3 +/* 80302484 002FF3E4 7C 9A 23 78 */ mr r26, r4 +/* 80302488 002FF3E8 7C BB 2B 78 */ mr r27, r5 +/* 8030248C 002FF3EC 80 03 00 A4 */ lwz r0, 0xa4(r3) +/* 80302490 002FF3F0 28 00 00 00 */ cmplwi r0, 0 +/* 80302494 002FF3F4 40 82 00 08 */ bne lbl_8030249C +/* 80302498 002FF3F8 48 00 07 E1 */ bl StartNewLine__18CTextExecuteBufferFv +lbl_8030249C: +/* 8030249C 002FF3FC 7F 5F D3 78 */ mr r31, r26 +/* 803024A0 002FF400 3B D9 00 60 */ addi r30, r25, 0x60 +/* 803024A4 002FF404 3B A0 00 00 */ li r29, 0 +/* 803024A8 002FF408 3B 80 00 00 */ li r28, 0 +/* 803024AC 002FF40C 48 00 00 E8 */ b lbl_80302594 +lbl_803024B0: +/* 803024B0 002FF410 28 00 00 0A */ cmplwi r0, 0xa +/* 803024B4 002FF414 41 82 00 0C */ beq lbl_803024C0 +/* 803024B8 002FF418 28 00 00 20 */ cmplwi r0, 0x20 +/* 803024BC 002FF41C 40 82 00 D0 */ bne lbl_8030258C +lbl_803024C0: +/* 803024C0 002FF420 57 A0 08 3C */ slwi r0, r29, 1 +/* 803024C4 002FF424 7F 23 CB 78 */ mr r3, r25 +/* 803024C8 002FF428 7C 9A 02 14 */ add r4, r26, r0 +/* 803024CC 002FF42C 7C BD E0 50 */ subf r5, r29, r28 +/* 803024D0 002FF430 48 00 01 11 */ bl AddStringFragment__18CTextExecuteBufferFPCwi +/* 803024D4 002FF434 A0 1F 00 00 */ lhz r0, 0(r31) +/* 803024D8 002FF438 3B BC 00 01 */ addi r29, r28, 1 +/* 803024DC 002FF43C 28 00 00 0A */ cmplwi r0, 0xa +/* 803024E0 002FF440 40 82 00 10 */ bne lbl_803024F0 +/* 803024E4 002FF444 7F 23 CB 78 */ mr r3, r25 +/* 803024E8 002FF448 48 00 07 91 */ bl StartNewLine__18CTextExecuteBufferFv +/* 803024EC 002FF44C 48 00 00 A0 */ b lbl_8030258C +lbl_803024F0: +/* 803024F0 002FF450 7F 23 CB 78 */ mr r3, r25 +/* 803024F4 002FF454 48 00 08 C9 */ bl StartNewWord__18CTextExecuteBufferFv +/* 803024F8 002FF458 38 00 00 00 */ li r0, 0 +/* 803024FC 002FF45C 38 79 00 18 */ addi r3, r25, 0x18 +/* 80302500 002FF460 90 01 00 10 */ stw r0, 0x10(r1) +/* 80302504 002FF464 90 01 00 0C */ stw r0, 0xc(r1) +/* 80302508 002FF468 4B FF F3 F1 */ bl IsFinishedLoading__14CSaveableStateFv +/* 8030250C 002FF46C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80302510 002FF470 41 82 00 30 */ beq lbl_80302540 +/* 80302514 002FF474 38 00 00 20 */ li r0, 0x20 +/* 80302518 002FF478 7F C3 F3 78 */ mr r3, r30 +/* 8030251C 002FF47C B0 01 00 08 */ sth r0, 8(r1) +/* 80302520 002FF480 48 03 E8 ED */ bl GetObj__6CTokenFv +/* 80302524 002FF484 80 63 00 04 */ lwz r3, 4(r3) +/* 80302528 002FF488 38 99 00 18 */ addi r4, r25, 0x18 +/* 8030252C 002FF48C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80302530 002FF490 38 C1 00 0C */ addi r6, r1, 0xc +/* 80302534 002FF494 38 E1 00 08 */ addi r7, r1, 8 +/* 80302538 002FF498 39 00 00 01 */ li r8, 1 +/* 8030253C 002FF49C 4B FF E1 D1 */ bl GetSize__11CRasterFontCFRC18CDrawStringOptionsRiRiPCwi +lbl_80302540: +/* 80302540 002FF4A0 80 79 00 A0 */ lwz r3, 0xa0(r25) +/* 80302544 002FF4A4 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80302548 002FF4A8 2C 00 00 00 */ cmpwi r0, 0 +/* 8030254C 002FF4AC 40 82 00 24 */ bne lbl_80302570 +/* 80302550 002FF4B0 80 99 00 A4 */ lwz r4, 0xa4(r25) +/* 80302554 002FF4B4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80302558 002FF4B8 80 64 00 08 */ lwz r3, 8(r4) +/* 8030255C 002FF4BC 7C 03 02 14 */ add r0, r3, r0 +/* 80302560 002FF4C0 90 04 00 08 */ stw r0, 8(r4) +/* 80302564 002FF4C4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80302568 002FF4C8 90 19 00 BC */ stw r0, 0xbc(r25) +/* 8030256C 002FF4CC 48 00 00 20 */ b lbl_8030258C +lbl_80302570: +/* 80302570 002FF4D0 80 99 00 A4 */ lwz r4, 0xa4(r25) +/* 80302574 002FF4D4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80302578 002FF4D8 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8030257C 002FF4DC 7C 03 02 14 */ add r0, r3, r0 +/* 80302580 002FF4E0 90 04 00 0C */ stw r0, 0xc(r4) +/* 80302584 002FF4E4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80302588 002FF4E8 90 19 00 BC */ stw r0, 0xbc(r25) +lbl_8030258C: +/* 8030258C 002FF4EC 3B FF 00 02 */ addi r31, r31, 2 +/* 80302590 002FF4F0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80302594: +/* 80302594 002FF4F4 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80302598 002FF4F8 28 00 00 00 */ cmplwi r0, 0 +/* 8030259C 002FF4FC 41 82 00 14 */ beq lbl_803025B0 +/* 803025A0 002FF500 7C 1C D8 00 */ cmpw r28, r27 +/* 803025A4 002FF504 41 80 FF 0C */ blt lbl_803024B0 +/* 803025A8 002FF508 2C 1B FF FF */ cmpwi r27, -1 +/* 803025AC 002FF50C 41 82 FF 04 */ beq lbl_803024B0 +lbl_803025B0: +/* 803025B0 002FF510 7C 1C E8 00 */ cmpw r28, r29 +/* 803025B4 002FF514 40 81 00 18 */ ble lbl_803025CC +/* 803025B8 002FF518 57 A0 08 3C */ slwi r0, r29, 1 +/* 803025BC 002FF51C 7F 23 CB 78 */ mr r3, r25 +/* 803025C0 002FF520 7C 9A 02 14 */ add r4, r26, r0 +/* 803025C4 002FF524 7C BD E0 50 */ subf r5, r29, r28 +/* 803025C8 002FF528 48 00 00 19 */ bl AddStringFragment__18CTextExecuteBufferFPCwi +lbl_803025CC: +/* 803025CC 002FF52C BB 21 00 24 */ lmw r25, 0x24(r1) +/* 803025D0 002FF530 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803025D4 002FF534 7C 08 03 A6 */ mtlr r0 +/* 803025D8 002FF538 38 21 00 40 */ addi r1, r1, 0x40 +/* 803025DC 002FF53C 4E 80 00 20 */ blr + +.global AddStringFragment__18CTextExecuteBufferFPCwi +AddStringFragment__18CTextExecuteBufferFPCwi: +/* 803025E0 002FF540 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803025E4 002FF544 7C 08 02 A6 */ mflr r0 +/* 803025E8 002FF548 90 01 00 24 */ stw r0, 0x24(r1) +/* 803025EC 002FF54C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803025F0 002FF550 3B E0 00 00 */ li r31, 0 +/* 803025F4 002FF554 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803025F8 002FF558 7C BE 2B 78 */ mr r30, r5 +/* 803025FC 002FF55C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80302600 002FF560 7C 9D 23 78 */ mr r29, r4 +/* 80302604 002FF564 93 81 00 10 */ stw r28, 0x10(r1) +/* 80302608 002FF568 7C 7C 1B 78 */ mr r28, r3 +/* 8030260C 002FF56C 80 63 00 A0 */ lwz r3, 0xa0(r3) +/* 80302610 002FF570 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80302614 002FF574 2C 00 00 00 */ cmpwi r0, 0 +/* 80302618 002FF578 40 82 00 28 */ bne lbl_80302640 +/* 8030261C 002FF57C 48 00 00 1C */ b lbl_80302638 +lbl_80302620: +/* 80302620 002FF580 57 E0 08 3C */ slwi r0, r31, 1 +/* 80302624 002FF584 7F 83 E3 78 */ mr r3, r28 +/* 80302628 002FF588 7C 9D 02 14 */ add r4, r29, r0 +/* 8030262C 002FF58C 7C BF F0 50 */ subf r5, r31, r30 +/* 80302630 002FF590 48 00 00 31 */ bl WrapOneLTR__18CTextExecuteBufferFPCwi +/* 80302634 002FF594 7F FF 1A 14 */ add r31, r31, r3 +lbl_80302638: +/* 80302638 002FF598 7C 1F F0 00 */ cmpw r31, r30 +/* 8030263C 002FF59C 40 82 FF E4 */ bne lbl_80302620 +lbl_80302640: +/* 80302640 002FF5A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80302644 002FF5A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80302648 002FF5A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030264C 002FF5AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80302650 002FF5B0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80302654 002FF5B4 7C 08 03 A6 */ mtlr r0 +/* 80302658 002FF5B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030265C 002FF5BC 4E 80 00 20 */ blr + +.global WrapOneLTR__18CTextExecuteBufferFPCwi +WrapOneLTR__18CTextExecuteBufferFPCwi: +/* 80302660 002FF5C0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80302664 002FF5C4 7C 08 02 A6 */ mflr r0 +/* 80302668 002FF5C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030266C 002FF5CC BF 01 00 20 */ stmw r24, 0x20(r1) +/* 80302670 002FF5D0 7C 79 1B 78 */ mr r25, r3 +/* 80302674 002FF5D4 7C BB 2B 78 */ mr r27, r5 +/* 80302678 002FF5D8 7C 9A 23 78 */ mr r26, r4 +/* 8030267C 002FF5DC 7F 7D DB 78 */ mr r29, r27 +/* 80302680 002FF5E0 38 79 00 18 */ addi r3, r25, 0x18 +/* 80302684 002FF5E4 4B FF F2 75 */ bl IsFinishedLoading__14CSaveableStateFv +/* 80302688 002FF5E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030268C 002FF5EC 41 82 02 84 */ beq lbl_80302910 +/* 80302690 002FF5F0 3B D9 00 60 */ addi r30, r25, 0x60 +/* 80302694 002FF5F4 7F C3 F3 78 */ mr r3, r30 +/* 80302698 002FF5F8 48 03 E7 75 */ bl GetObj__6CTokenFv +/* 8030269C 002FF5FC 80 63 00 04 */ lwz r3, 4(r3) +/* 803026A0 002FF600 7F 47 D3 78 */ mr r7, r26 +/* 803026A4 002FF604 7F 68 DB 78 */ mr r8, r27 +/* 803026A8 002FF608 38 99 00 18 */ addi r4, r25, 0x18 +/* 803026AC 002FF60C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803026B0 002FF610 38 C1 00 10 */ addi r6, r1, 0x10 +/* 803026B4 002FF614 4B FF E0 59 */ bl GetSize__11CRasterFontCFRC18CDrawStringOptionsRiRiPCwi +/* 803026B8 002FF618 88 19 00 94 */ lbz r0, 0x94(r25) +/* 803026BC 002FF61C 28 00 00 00 */ cmplwi r0, 0 +/* 803026C0 002FF620 41 82 01 24 */ beq lbl_803027E4 +/* 803026C4 002FF624 80 99 00 A4 */ lwz r4, 0xa4(r25) +/* 803026C8 002FF628 80 79 00 A0 */ lwz r3, 0xa0(r25) +/* 803026CC 002FF62C 80 04 00 08 */ lwz r0, 8(r4) +/* 803026D0 002FF630 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 803026D4 002FF634 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803026D8 002FF638 7C 05 02 14 */ add r0, r5, r0 +/* 803026DC 002FF63C 7C 00 18 00 */ cmpw r0, r3 +/* 803026E0 002FF640 40 81 00 28 */ ble lbl_80302708 +/* 803026E4 002FF644 80 04 00 04 */ lwz r0, 4(r4) +/* 803026E8 002FF648 2C 00 00 01 */ cmpwi r0, 1 +/* 803026EC 002FF64C 40 81 00 1C */ ble lbl_80302708 +/* 803026F0 002FF650 80 19 00 B0 */ lwz r0, 0xb0(r25) +/* 803026F4 002FF654 7C 00 2A 14 */ add r0, r0, r5 +/* 803026F8 002FF658 7C 00 18 00 */ cmpw r0, r3 +/* 803026FC 002FF65C 40 80 00 0C */ bge lbl_80302708 +/* 80302700 002FF660 7F 23 CB 78 */ mr r3, r25 +/* 80302704 002FF664 48 00 02 E9 */ bl MoveWordLTR__18CTextExecuteBufferFv +lbl_80302708: +/* 80302708 002FF668 80 99 00 A4 */ lwz r4, 0xa4(r25) +/* 8030270C 002FF66C 80 79 00 A0 */ lwz r3, 0xa0(r25) +/* 80302710 002FF670 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80302714 002FF674 80 84 00 08 */ lwz r4, 8(r4) +/* 80302718 002FF678 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8030271C 002FF67C 7C 65 22 14 */ add r3, r5, r4 +/* 80302720 002FF680 7C 03 00 00 */ cmpw r3, r0 +/* 80302724 002FF684 40 81 00 C0 */ ble lbl_803027E4 +/* 80302728 002FF688 2C 1B 00 01 */ cmpwi r27, 1 +/* 8030272C 002FF68C 40 81 00 B8 */ ble lbl_803027E4 +/* 80302730 002FF690 57 60 08 3C */ slwi r0, r27, 1 +/* 80302734 002FF694 3B 80 00 05 */ li r28, 5 +/* 80302738 002FF698 7F FA 02 14 */ add r31, r26, r0 +lbl_8030273C: +/* 8030273C 002FF69C 3B BD FF FF */ addi r29, r29, -1 +/* 80302740 002FF6A0 3B FF FF FE */ addi r31, r31, -2 +/* 80302744 002FF6A4 2C 1D 00 01 */ cmpwi r29, 1 +/* 80302748 002FF6A8 40 81 00 14 */ ble lbl_8030275C +/* 8030274C 002FF6AC A0 7F FF FE */ lhz r3, -2(r31) +/* 80302750 002FF6B0 48 00 32 51 */ bl GetEndRank__16CWordBreakTablesFw +/* 80302754 002FF6B4 7C 78 1B 78 */ mr r24, r3 +/* 80302758 002FF6B8 48 00 00 08 */ b lbl_80302760 +lbl_8030275C: +/* 8030275C 002FF6BC 3B 00 00 04 */ li r24, 4 +lbl_80302760: +/* 80302760 002FF6C0 A0 7F 00 00 */ lhz r3, 0(r31) +/* 80302764 002FF6C4 48 00 32 D1 */ bl GetBeginRank__16CWordBreakTablesFw +/* 80302768 002FF6C8 7C 18 E0 00 */ cmpw r24, r28 +/* 8030276C 002FF6CC 40 80 00 14 */ bge lbl_80302780 +/* 80302770 002FF6D0 7C 18 18 00 */ cmpw r24, r3 +/* 80302774 002FF6D4 41 81 00 0C */ bgt lbl_80302780 +/* 80302778 002FF6D8 7F 1C C3 78 */ mr r28, r24 +/* 8030277C 002FF6DC 48 00 00 40 */ b lbl_803027BC +lbl_80302780: +/* 80302780 002FF6E0 7C 03 E0 00 */ cmpw r3, r28 +/* 80302784 002FF6E4 40 80 00 14 */ bge lbl_80302798 +/* 80302788 002FF6E8 7C 03 C0 00 */ cmpw r3, r24 +/* 8030278C 002FF6EC 41 81 00 0C */ bgt lbl_80302798 +/* 80302790 002FF6F0 7F 1C C3 78 */ mr r28, r24 +/* 80302794 002FF6F4 48 00 00 28 */ b lbl_803027BC +lbl_80302798: +/* 80302798 002FF6F8 7F C3 F3 78 */ mr r3, r30 +/* 8030279C 002FF6FC 48 03 E6 71 */ bl GetObj__6CTokenFv +/* 803027A0 002FF700 80 63 00 04 */ lwz r3, 4(r3) +/* 803027A4 002FF704 7F 47 D3 78 */ mr r7, r26 +/* 803027A8 002FF708 7F A8 EB 78 */ mr r8, r29 +/* 803027AC 002FF70C 38 99 00 18 */ addi r4, r25, 0x18 +/* 803027B0 002FF710 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803027B4 002FF714 38 C1 00 10 */ addi r6, r1, 0x10 +/* 803027B8 002FF718 4B FF DF 55 */ bl GetSize__11CRasterFontCFRC18CDrawStringOptionsRiRiPCwi +lbl_803027BC: +/* 803027BC 002FF71C 80 99 00 A4 */ lwz r4, 0xa4(r25) +/* 803027C0 002FF720 80 79 00 A0 */ lwz r3, 0xa0(r25) +/* 803027C4 002FF724 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 803027C8 002FF728 80 84 00 08 */ lwz r4, 8(r4) +/* 803027CC 002FF72C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 803027D0 002FF730 7C 65 22 14 */ add r3, r5, r4 +/* 803027D4 002FF734 7C 03 00 00 */ cmpw r3, r0 +/* 803027D8 002FF738 40 81 00 0C */ ble lbl_803027E4 +/* 803027DC 002FF73C 2C 1D 00 01 */ cmpwi r29, 1 +/* 803027E0 002FF740 41 81 FF 5C */ bgt lbl_8030273C +lbl_803027E4: +/* 803027E4 002FF744 7F C3 F3 78 */ mr r3, r30 +/* 803027E8 002FF748 48 03 E6 25 */ bl GetObj__6CTokenFv +/* 803027EC 002FF74C 80 63 00 04 */ lwz r3, 4(r3) +/* 803027F0 002FF750 4B FF DE C9 */ bl GetCarriageAdvance__11CRasterFontFv +/* 803027F4 002FF754 80 19 00 AC */ lwz r0, 0xac(r25) +/* 803027F8 002FF758 7C 03 00 00 */ cmpw r3, r0 +/* 803027FC 002FF75C 40 81 00 18 */ ble lbl_80302814 +/* 80302800 002FF760 7F C3 F3 78 */ mr r3, r30 +/* 80302804 002FF764 48 03 E6 09 */ bl GetObj__6CTokenFv +/* 80302808 002FF768 80 63 00 04 */ lwz r3, 4(r3) +/* 8030280C 002FF76C 4B FF DE AD */ bl GetCarriageAdvance__11CRasterFontFv +/* 80302810 002FF770 90 79 00 AC */ stw r3, 0xac(r25) +lbl_80302814: +/* 80302814 002FF774 7F C3 F3 78 */ mr r3, r30 +/* 80302818 002FF778 48 03 E5 F5 */ bl GetObj__6CTokenFv +/* 8030281C 002FF77C 83 03 00 04 */ lwz r24, 4(r3) +/* 80302820 002FF780 7F C3 F3 78 */ mr r3, r30 +/* 80302824 002FF784 48 03 E5 E9 */ bl GetObj__6CTokenFv +/* 80302828 002FF788 83 83 00 04 */ lwz r28, 4(r3) +/* 8030282C 002FF78C 7F C3 F3 78 */ mr r3, r30 +/* 80302830 002FF790 48 03 E5 DD */ bl GetObj__6CTokenFv +/* 80302834 002FF794 83 E3 00 04 */ lwz r31, 4(r3) +/* 80302838 002FF798 7F 03 C3 78 */ mr r3, r24 +/* 8030283C 002FF79C 4B FF D7 29 */ bl GetBaseLine__11CRasterFontCFv +/* 80302840 002FF7A0 7C 7E 1B 78 */ mr r30, r3 +/* 80302844 002FF7A4 7F 83 E3 78 */ mr r3, r28 +/* 80302848 002FF7A8 4B FF DE 71 */ bl GetCarriageAdvance__11CRasterFontFv +/* 8030284C 002FF7AC 7C 7C 1B 78 */ mr r28, r3 +/* 80302850 002FF7B0 7F E3 FB 78 */ mr r3, r31 +/* 80302854 002FF7B4 4B FF DE B1 */ bl GetMonoWidth__11CRasterFontCFv +/* 80302858 002FF7B8 7C 64 1B 78 */ mr r4, r3 +/* 8030285C 002FF7BC 80 79 00 A4 */ lwz r3, 0xa4(r25) +/* 80302860 002FF7C0 7F 85 E3 78 */ mr r5, r28 +/* 80302864 002FF7C4 7F C6 F3 78 */ mr r6, r30 +/* 80302868 002FF7C8 4B FF D1 3D */ bl TestLargestFont__16CLineInstructionFiii +/* 8030286C 002FF7CC 80 99 00 A4 */ lwz r4, 0xa4(r25) +/* 80302870 002FF7D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80302874 002FF7D4 80 64 00 08 */ lwz r3, 8(r4) +/* 80302878 002FF7D8 7C 03 02 14 */ add r0, r3, r0 +/* 8030287C 002FF7DC 90 04 00 08 */ stw r0, 8(r4) +/* 80302880 002FF7E0 80 99 00 A0 */ lwz r4, 0xa0(r25) +/* 80302884 002FF7E4 80 79 00 A4 */ lwz r3, 0xa4(r25) +/* 80302888 002FF7E8 80 04 00 2C */ lwz r0, 0x2c(r4) +/* 8030288C 002FF7EC 80 63 00 08 */ lwz r3, 8(r3) +/* 80302890 002FF7F0 7C 03 00 00 */ cmpw r3, r0 +/* 80302894 002FF7F4 40 81 00 08 */ ble lbl_8030289C +/* 80302898 002FF7F8 90 64 00 2C */ stw r3, 0x2c(r4) +lbl_8030289C: +/* 8030289C 002FF7FC 80 B9 00 B0 */ lwz r5, 0xb0(r25) +/* 803028A0 002FF800 7F 43 D3 78 */ mr r3, r26 +/* 803028A4 002FF804 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803028A8 002FF808 7F A4 EB 78 */ mr r4, r29 +/* 803028AC 002FF80C 7C 05 02 14 */ add r0, r5, r0 +/* 803028B0 002FF810 90 19 00 B0 */ stw r0, 0xb0(r25) +/* 803028B4 002FF814 48 00 19 E1 */ bl Create__16CTextInstructionFPCwi +/* 803028B8 002FF818 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 803028BC 002FF81C 7C 7A 1B 78 */ mr r26, r3 +/* 803028C0 002FF820 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 803028C4 002FF824 38 60 00 08 */ li r3, 8 +/* 803028C8 002FF828 38 A0 00 00 */ li r5, 0 +/* 803028CC 002FF82C 48 01 2F A1 */ bl __nw__FUlPCcPCc +/* 803028D0 002FF830 28 03 00 00 */ cmplwi r3, 0 +/* 803028D4 002FF834 41 82 00 10 */ beq lbl_803028E4 +/* 803028D8 002FF838 93 43 00 00 */ stw r26, 0(r3) +/* 803028DC 002FF83C 38 00 00 01 */ li r0, 1 +/* 803028E0 002FF840 90 03 00 04 */ stw r0, 4(r3) +lbl_803028E4: +/* 803028E4 002FF844 90 61 00 0C */ stw r3, 0xc(r1) +/* 803028E8 002FF848 7F 24 CB 78 */ mr r4, r25 +/* 803028EC 002FF84C 38 61 00 08 */ addi r3, r1, 8 +/* 803028F0 002FF850 38 A1 00 0C */ addi r5, r1, 0xc +/* 803028F4 002FF854 48 00 00 35 */ bl sub_80302928 +/* 803028F8 002FF858 7C 1D D8 00 */ cmpw r29, r27 +/* 803028FC 002FF85C 41 82 00 0C */ beq lbl_80302908 +/* 80302900 002FF860 7F 23 CB 78 */ mr r3, r25 +/* 80302904 002FF864 48 00 03 75 */ bl StartNewLine__18CTextExecuteBufferFv +lbl_80302908: +/* 80302908 002FF868 38 61 00 0C */ addi r3, r1, 0xc +/* 8030290C 002FF86C 4B D2 6B 01 */ bl sub_8002940c +lbl_80302910: +/* 80302910 002FF870 7F A3 EB 78 */ mr r3, r29 +/* 80302914 002FF874 BB 01 00 20 */ lmw r24, 0x20(r1) +/* 80302918 002FF878 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030291C 002FF87C 7C 08 03 A6 */ mtlr r0 +/* 80302920 002FF880 38 21 00 40 */ addi r1, r1, 0x40 +/* 80302924 002FF884 4E 80 00 20 */ blr + +.global sub_80302928 +sub_80302928: +/* 80302928 002FF888 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030292C 002FF88C 7C 08 02 A6 */ mflr r0 +/* 80302930 002FF890 90 01 00 34 */ stw r0, 0x34(r1) +/* 80302934 002FF894 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80302938 002FF898 7C 9F 23 78 */ mr r31, r4 +/* 8030293C 002FF89C 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302940 002FF8A0 7C 7E 1B 78 */ mr r30, r3 +/* 80302944 002FF8A4 7C BB 2B 78 */ mr r27, r5 +/* 80302948 002FF8A8 38 60 00 0C */ li r3, 0xc +/* 8030294C 002FF8AC 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302950 002FF8B0 38 A0 00 00 */ li r5, 0 +/* 80302954 002FF8B4 83 BF 00 08 */ lwz r29, 8(r31) +/* 80302958 002FF8B8 83 9D 00 00 */ lwz r28, 0(r29) +/* 8030295C 002FF8BC 48 01 2E BD */ bl __nwa__FUlPCcPCc +/* 80302960 002FF8C0 7C 67 1B 79 */ or. r7, r3, r3 +/* 80302964 002FF8C4 41 82 00 0C */ beq lbl_80302970 +/* 80302968 002FF8C8 93 87 00 00 */ stw r28, 0(r7) +/* 8030296C 002FF8CC 93 A7 00 04 */ stw r29, 4(r7) +lbl_80302970: +/* 80302970 002FF8D0 34 67 00 08 */ addic. r3, r7, 8 +/* 80302974 002FF8D4 41 82 00 1C */ beq lbl_80302990 +/* 80302978 002FF8D8 80 1B 00 00 */ lwz r0, 0(r27) +/* 8030297C 002FF8DC 90 03 00 00 */ stw r0, 0(r3) +/* 80302980 002FF8E0 80 83 00 00 */ lwz r4, 0(r3) +/* 80302984 002FF8E4 80 64 00 04 */ lwz r3, 4(r4) +/* 80302988 002FF8E8 38 03 00 01 */ addi r0, r3, 1 +/* 8030298C 002FF8EC 90 04 00 04 */ stw r0, 4(r4) +lbl_80302990: +/* 80302990 002FF8F0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80302994 002FF8F4 7C 1D 00 40 */ cmplw r29, r0 +/* 80302998 002FF8F8 40 82 00 08 */ bne lbl_803029A0 +/* 8030299C 002FF8FC 90 FF 00 04 */ stw r7, 4(r31) +lbl_803029A0: +/* 803029A0 002FF900 80 C7 00 00 */ lwz r6, 0(r7) +/* 803029A4 002FF904 7F C3 F3 78 */ mr r3, r30 +/* 803029A8 002FF908 38 81 00 0C */ addi r4, r1, 0xc +/* 803029AC 002FF90C 38 A0 FF FF */ li r5, -1 +/* 803029B0 002FF910 90 E6 00 04 */ stw r7, 4(r6) +/* 803029B4 002FF914 80 C7 00 04 */ lwz r6, 4(r7) +/* 803029B8 002FF918 90 E6 00 00 */ stw r7, 0(r6) +/* 803029BC 002FF91C 80 DF 00 14 */ lwz r6, 0x14(r31) +/* 803029C0 002FF920 38 06 00 01 */ addi r0, r6, 1 +/* 803029C4 002FF924 90 1F 00 14 */ stw r0, 0x14(r31) +/* 803029C8 002FF928 80 1F 00 04 */ lwz r0, 4(r31) +/* 803029CC 002FF92C 90 01 00 08 */ stw r0, 8(r1) +/* 803029D0 002FF930 90 01 00 0C */ stw r0, 0xc(r1) +/* 803029D4 002FF934 48 00 14 31 */ bl sub_80303e04 +/* 803029D8 002FF938 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 803029DC 002FF93C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803029E0 002FF940 7C 08 03 A6 */ mtlr r0 +/* 803029E4 002FF944 38 21 00 30 */ addi r1, r1, 0x30 +/* 803029E8 002FF948 4E 80 00 20 */ blr + +.global MoveWordLTR__18CTextExecuteBufferFv +MoveWordLTR__18CTextExecuteBufferFv: +/* 803029EC 002FF94C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803029F0 002FF950 7C 08 02 A6 */ mflr r0 +/* 803029F4 002FF954 90 01 00 24 */ stw r0, 0x24(r1) +/* 803029F8 002FF958 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803029FC 002FF95C 7C 7F 1B 78 */ mr r31, r3 +/* 80302A00 002FF960 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80302A04 002FF964 80 63 00 A4 */ lwz r3, 0xa4(r3) +/* 80302A08 002FF968 80 BF 00 B0 */ lwz r5, 0xb0(r31) +/* 80302A0C 002FF96C 80 9F 00 BC */ lwz r4, 0xbc(r31) +/* 80302A10 002FF970 80 03 00 08 */ lwz r0, 8(r3) +/* 80302A14 002FF974 7C 85 22 14 */ add r4, r5, r4 +/* 80302A18 002FF978 7C 04 00 50 */ subf r0, r4, r0 +/* 80302A1C 002FF97C 90 03 00 08 */ stw r0, 8(r3) +/* 80302A20 002FF980 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80302A24 002FF984 80 9F 00 B8 */ lwz r4, 0xb8(r31) +/* 80302A28 002FF988 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80302A2C 002FF98C 7C 00 20 00 */ cmpw r0, r4 +/* 80302A30 002FF990 40 81 00 08 */ ble lbl_80302A38 +/* 80302A34 002FF994 90 83 00 0C */ stw r4, 0xc(r3) +lbl_80302A38: +/* 80302A38 002FF998 38 00 00 00 */ li r0, 0 +/* 80302A3C 002FF99C 7F E3 FB 78 */ mr r3, r31 +/* 80302A40 002FF9A0 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 80302A44 002FF9A4 80 BF 00 A4 */ lwz r5, 0xa4(r31) +/* 80302A48 002FF9A8 80 85 00 04 */ lwz r4, 4(r5) +/* 80302A4C 002FF9AC 38 04 FF FF */ addi r0, r4, -1 +/* 80302A50 002FF9B0 90 05 00 04 */ stw r0, 4(r5) +/* 80302A54 002FF9B4 48 00 04 7D */ bl TerminateLineLTR__18CTextExecuteBufferFv +/* 80302A58 002FF9B8 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302A5C 002FF9BC 38 60 00 34 */ li r3, 0x34 +/* 80302A60 002FF9C0 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302A64 002FF9C4 38 A0 00 00 */ li r5, 0 +/* 80302A68 002FF9C8 48 01 2E 05 */ bl __nw__FUlPCcPCc +/* 80302A6C 002FF9CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80302A70 002FF9D0 41 82 00 68 */ beq lbl_80302AD8 +/* 80302A74 002FF9D4 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 80302A78 002FF9D8 80 FF 00 98 */ lwz r7, 0x98(r31) +/* 80302A7C 002FF9DC 81 1F 00 9C */ lwz r8, 0x9c(r31) +/* 80302A80 002FF9E0 38 A3 9A 6C */ addi r5, r3, lbl_803D9A6C@l +/* 80302A84 002FF9E4 3C 60 80 3F */ lis r3, lbl_803ED630@ha +/* 80302A88 002FF9E8 88 DF 00 C0 */ lbz r6, 0xc0(r31) +/* 80302A8C 002FF9EC 81 5F 00 AC */ lwz r10, 0xac(r31) +/* 80302A90 002FF9F0 38 83 D6 30 */ addi r4, r3, lbl_803ED630@l +/* 80302A94 002FF9F4 81 3F 00 B0 */ lwz r9, 0xb0(r31) +/* 80302A98 002FF9F8 38 60 00 01 */ li r3, 1 +/* 80302A9C 002FF9FC 38 00 00 00 */ li r0, 0 +/* 80302AA0 002FFA00 90 BE 00 00 */ stw r5, 0(r30) +/* 80302AA4 002FFA04 90 9E 00 00 */ stw r4, 0(r30) +/* 80302AA8 002FFA08 90 7E 00 04 */ stw r3, 4(r30) +/* 80302AAC 002FFA0C 91 3E 00 08 */ stw r9, 8(r30) +/* 80302AB0 002FFA10 91 5E 00 0C */ stw r10, 0xc(r30) +/* 80302AB4 002FFA14 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80302AB8 002FFA18 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80302ABC 002FFA1C 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80302AC0 002FFA20 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80302AC4 002FFA24 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80302AC8 002FFA28 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80302ACC 002FFA2C 90 FE 00 28 */ stw r7, 0x28(r30) +/* 80302AD0 002FFA30 91 1E 00 2C */ stw r8, 0x2c(r30) +/* 80302AD4 002FFA34 98 DE 00 30 */ stb r6, 0x30(r30) +lbl_80302AD8: +/* 80302AD8 002FFA38 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302ADC 002FFA3C 38 60 00 08 */ li r3, 8 +/* 80302AE0 002FFA40 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302AE4 002FFA44 38 A0 00 00 */ li r5, 0 +/* 80302AE8 002FFA48 48 01 2D 85 */ bl __nw__FUlPCcPCc +/* 80302AEC 002FFA4C 28 03 00 00 */ cmplwi r3, 0 +/* 80302AF0 002FFA50 41 82 00 10 */ beq lbl_80302B00 +/* 80302AF4 002FFA54 93 C3 00 00 */ stw r30, 0(r3) +/* 80302AF8 002FFA58 38 00 00 01 */ li r0, 1 +/* 80302AFC 002FFA5C 90 03 00 04 */ stw r0, 4(r3) +lbl_80302B00: +/* 80302B00 002FFA60 90 61 00 14 */ stw r3, 0x14(r1) +/* 80302B04 002FFA64 7F E4 FB 78 */ mr r4, r31 +/* 80302B08 002FFA68 38 BF 00 A8 */ addi r5, r31, 0xa8 +/* 80302B0C 002FFA6C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80302B10 002FFA70 80 03 00 00 */ lwz r0, 0(r3) +/* 80302B14 002FFA74 38 61 00 10 */ addi r3, r1, 0x10 +/* 80302B18 002FFA78 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 80302B1C 002FFA7C 48 00 00 B1 */ bl sub_80302bcc +/* 80302B20 002FFA80 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302B24 002FFA84 38 60 00 04 */ li r3, 4 +/* 80302B28 002FFA88 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302B2C 002FFA8C 38 A0 00 00 */ li r5, 0 +/* 80302B30 002FFA90 48 01 2D 3D */ bl __nw__FUlPCcPCc +/* 80302B34 002FFA94 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80302B38 002FFA98 41 82 00 1C */ beq lbl_80302B54 +/* 80302B3C 002FFA9C 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80302B40 002FFAA0 3C 60 80 3F */ lis r3, lbl_803ED8A8@ha +/* 80302B44 002FFAA4 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 80302B48 002FFAA8 90 1E 00 00 */ stw r0, 0(r30) +/* 80302B4C 002FFAAC 38 03 D8 A8 */ addi r0, r3, lbl_803ED8A8@l +/* 80302B50 002FFAB0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80302B54: +/* 80302B54 002FFAB4 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302B58 002FFAB8 38 60 00 08 */ li r3, 8 +/* 80302B5C 002FFABC 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302B60 002FFAC0 38 A0 00 00 */ li r5, 0 +/* 80302B64 002FFAC4 48 01 2D 09 */ bl __nw__FUlPCcPCc +/* 80302B68 002FFAC8 28 03 00 00 */ cmplwi r3, 0 +/* 80302B6C 002FFACC 41 82 00 10 */ beq lbl_80302B7C +/* 80302B70 002FFAD0 93 C3 00 00 */ stw r30, 0(r3) +/* 80302B74 002FFAD4 38 00 00 01 */ li r0, 1 +/* 80302B78 002FFAD8 90 03 00 04 */ stw r0, 4(r3) +lbl_80302B7C: +/* 80302B7C 002FFADC 90 61 00 08 */ stw r3, 8(r1) +/* 80302B80 002FFAE0 7F E4 FB 78 */ mr r4, r31 +/* 80302B84 002FFAE4 38 61 00 0C */ addi r3, r1, 0xc +/* 80302B88 002FFAE8 38 BF 00 A8 */ addi r5, r31, 0xa8 +/* 80302B8C 002FFAEC 38 C1 00 08 */ addi r6, r1, 8 +/* 80302B90 002FFAF0 48 00 00 3D */ bl sub_80302bcc +/* 80302B94 002FFAF4 38 61 00 08 */ addi r3, r1, 8 +/* 80302B98 002FFAF8 4B D2 68 75 */ bl sub_8002940c +/* 80302B9C 002FFAFC 80 BF 00 A0 */ lwz r5, 0xa0(r31) +/* 80302BA0 002FFB00 38 61 00 14 */ addi r3, r1, 0x14 +/* 80302BA4 002FFB04 80 85 00 34 */ lwz r4, 0x34(r5) +/* 80302BA8 002FFB08 38 04 00 01 */ addi r0, r4, 1 +/* 80302BAC 002FFB0C 90 05 00 34 */ stw r0, 0x34(r5) +/* 80302BB0 002FFB10 4B D2 68 5D */ bl sub_8002940c +/* 80302BB4 002FFB14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80302BB8 002FFB18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80302BBC 002FFB1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80302BC0 002FFB20 7C 08 03 A6 */ mtlr r0 +/* 80302BC4 002FFB24 38 21 00 20 */ addi r1, r1, 0x20 +/* 80302BC8 002FFB28 4E 80 00 20 */ blr + +.global sub_80302bcc +sub_80302bcc: +/* 80302BCC 002FFB2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80302BD0 002FFB30 7C 08 02 A6 */ mflr r0 +/* 80302BD4 002FFB34 90 01 00 24 */ stw r0, 0x24(r1) +/* 80302BD8 002FFB38 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80302BDC 002FFB3C 7C 7B 1B 78 */ mr r27, r3 +/* 80302BE0 002FFB40 7C 9C 23 78 */ mr r28, r4 +/* 80302BE4 002FFB44 7C DD 33 78 */ mr r29, r6 +/* 80302BE8 002FFB48 38 60 00 0C */ li r3, 0xc +/* 80302BEC 002FFB4C 83 E5 00 00 */ lwz r31, 0(r5) +/* 80302BF0 002FFB50 3C A0 80 3D */ lis r5, lbl_803D6E90@ha +/* 80302BF4 002FFB54 38 85 6E 90 */ addi r4, r5, lbl_803D6E90@l +/* 80302BF8 002FFB58 83 DF 00 00 */ lwz r30, 0(r31) +/* 80302BFC 002FFB5C 38 A0 00 00 */ li r5, 0 +/* 80302C00 002FFB60 48 01 2C 19 */ bl __nwa__FUlPCcPCc +/* 80302C04 002FFB64 28 03 00 00 */ cmplwi r3, 0 +/* 80302C08 002FFB68 41 82 00 0C */ beq lbl_80302C14 +/* 80302C0C 002FFB6C 93 C3 00 00 */ stw r30, 0(r3) +/* 80302C10 002FFB70 93 E3 00 04 */ stw r31, 4(r3) +lbl_80302C14: +/* 80302C14 002FFB74 34 83 00 08 */ addic. r4, r3, 8 +/* 80302C18 002FFB78 41 82 00 1C */ beq lbl_80302C34 +/* 80302C1C 002FFB7C 80 1D 00 00 */ lwz r0, 0(r29) +/* 80302C20 002FFB80 90 04 00 00 */ stw r0, 0(r4) +/* 80302C24 002FFB84 80 A4 00 00 */ lwz r5, 0(r4) +/* 80302C28 002FFB88 80 85 00 04 */ lwz r4, 4(r5) +/* 80302C2C 002FFB8C 38 04 00 01 */ addi r0, r4, 1 +/* 80302C30 002FFB90 90 05 00 04 */ stw r0, 4(r5) +lbl_80302C34: +/* 80302C34 002FFB94 80 1C 00 04 */ lwz r0, 4(r28) +/* 80302C38 002FFB98 7C 1F 00 40 */ cmplw r31, r0 +/* 80302C3C 002FFB9C 40 82 00 08 */ bne lbl_80302C44 +/* 80302C40 002FFBA0 90 7C 00 04 */ stw r3, 4(r28) +lbl_80302C44: +/* 80302C44 002FFBA4 80 83 00 00 */ lwz r4, 0(r3) +/* 80302C48 002FFBA8 90 64 00 04 */ stw r3, 4(r4) +/* 80302C4C 002FFBAC 80 83 00 04 */ lwz r4, 4(r3) +/* 80302C50 002FFBB0 90 64 00 00 */ stw r3, 0(r4) +/* 80302C54 002FFBB4 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 80302C58 002FFBB8 38 04 00 01 */ addi r0, r4, 1 +/* 80302C5C 002FFBBC 90 1C 00 14 */ stw r0, 0x14(r28) +/* 80302C60 002FFBC0 90 7B 00 00 */ stw r3, 0(r27) +/* 80302C64 002FFBC4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80302C68 002FFBC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80302C6C 002FFBCC 7C 08 03 A6 */ mtlr r0 +/* 80302C70 002FFBD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80302C74 002FFBD4 4E 80 00 20 */ blr + +.global StartNewLine__18CTextExecuteBufferFv +StartNewLine__18CTextExecuteBufferFv: +/* 80302C78 002FFBD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80302C7C 002FFBDC 7C 08 02 A6 */ mflr r0 +/* 80302C80 002FFBE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80302C84 002FFBE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80302C88 002FFBE8 7C 7F 1B 78 */ mr r31, r3 +/* 80302C8C 002FFBEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80302C90 002FFBF0 80 03 00 A4 */ lwz r0, 0xa4(r3) +/* 80302C94 002FFBF4 28 00 00 00 */ cmplwi r0, 0 +/* 80302C98 002FFBF8 41 82 00 08 */ beq lbl_80302CA0 +/* 80302C9C 002FFBFC 48 00 02 05 */ bl sub_80302ea0 +lbl_80302CA0: +/* 80302CA0 002FFC00 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302CA4 002FFC04 38 60 00 34 */ li r3, 0x34 +/* 80302CA8 002FFC08 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302CAC 002FFC0C 38 A0 00 00 */ li r5, 0 +/* 80302CB0 002FFC10 48 01 2B BD */ bl __nw__FUlPCcPCc +/* 80302CB4 002FFC14 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80302CB8 002FFC18 41 82 00 5C */ beq lbl_80302D14 +/* 80302CBC 002FFC1C 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 80302CC0 002FFC20 80 DF 00 98 */ lwz r6, 0x98(r31) +/* 80302CC4 002FFC24 80 FF 00 9C */ lwz r7, 0x9c(r31) +/* 80302CC8 002FFC28 38 83 9A 6C */ addi r4, r3, lbl_803D9A6C@l +/* 80302CCC 002FFC2C 88 BF 00 C0 */ lbz r5, 0xc0(r31) +/* 80302CD0 002FFC30 3C 60 80 3F */ lis r3, lbl_803ED630@ha +/* 80302CD4 002FFC34 38 63 D6 30 */ addi r3, r3, lbl_803ED630@l +/* 80302CD8 002FFC38 38 00 00 00 */ li r0, 0 +/* 80302CDC 002FFC3C 90 9E 00 00 */ stw r4, 0(r30) +/* 80302CE0 002FFC40 90 7E 00 00 */ stw r3, 0(r30) +/* 80302CE4 002FFC44 90 1E 00 04 */ stw r0, 4(r30) +/* 80302CE8 002FFC48 90 1E 00 08 */ stw r0, 8(r30) +/* 80302CEC 002FFC4C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80302CF0 002FFC50 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80302CF4 002FFC54 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80302CF8 002FFC58 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80302CFC 002FFC5C 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80302D00 002FFC60 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80302D04 002FFC64 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80302D08 002FFC68 90 DE 00 28 */ stw r6, 0x28(r30) +/* 80302D0C 002FFC6C 90 FE 00 2C */ stw r7, 0x2c(r30) +/* 80302D10 002FFC70 98 BE 00 30 */ stb r5, 0x30(r30) +lbl_80302D14: +/* 80302D14 002FFC74 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302D18 002FFC78 38 60 00 08 */ li r3, 8 +/* 80302D1C 002FFC7C 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302D20 002FFC80 38 A0 00 00 */ li r5, 0 +/* 80302D24 002FFC84 48 01 2B 49 */ bl __nw__FUlPCcPCc +/* 80302D28 002FFC88 28 03 00 00 */ cmplwi r3, 0 +/* 80302D2C 002FFC8C 41 82 00 10 */ beq lbl_80302D3C +/* 80302D30 002FFC90 93 C3 00 00 */ stw r30, 0(r3) +/* 80302D34 002FFC94 38 00 00 01 */ li r0, 1 +/* 80302D38 002FFC98 90 03 00 04 */ stw r0, 4(r3) +lbl_80302D3C: +/* 80302D3C 002FFC9C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80302D40 002FFCA0 90 61 00 10 */ stw r3, 0x10(r1) +/* 80302D44 002FFCA4 80 83 00 04 */ lwz r4, 4(r3) +/* 80302D48 002FFCA8 38 04 00 01 */ addi r0, r4, 1 +/* 80302D4C 002FFCAC 90 03 00 04 */ stw r0, 4(r3) +/* 80302D50 002FFCB0 38 61 00 0C */ addi r3, r1, 0xc +/* 80302D54 002FFCB4 4B D2 66 B9 */ bl sub_8002940c +/* 80302D58 002FFCB8 7F E4 FB 78 */ mr r4, r31 +/* 80302D5C 002FFCBC 38 61 00 08 */ addi r3, r1, 8 +/* 80302D60 002FFCC0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80302D64 002FFCC4 4B FF FB C5 */ bl sub_80302928 +/* 80302D68 002FFCC8 80 81 00 08 */ lwz r4, 8(r1) +/* 80302D6C 002FFCCC 38 00 00 00 */ li r0, 0 +/* 80302D70 002FFCD0 7F E3 FB 78 */ mr r3, r31 +/* 80302D74 002FFCD4 90 9F 00 A8 */ stw r4, 0xa8(r31) +/* 80302D78 002FFCD8 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80302D7C 002FFCDC 80 84 00 00 */ lwz r4, 0(r4) +/* 80302D80 002FFCE0 90 9F 00 A4 */ stw r4, 0xa4(r31) +/* 80302D84 002FFCE4 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 80302D88 002FFCE8 48 00 00 35 */ bl StartNewWord__18CTextExecuteBufferFv +/* 80302D8C 002FFCEC 80 BF 00 A0 */ lwz r5, 0xa0(r31) +/* 80302D90 002FFCF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80302D94 002FFCF4 80 85 00 34 */ lwz r4, 0x34(r5) +/* 80302D98 002FFCF8 38 04 00 01 */ addi r0, r4, 1 +/* 80302D9C 002FFCFC 90 05 00 34 */ stw r0, 0x34(r5) +/* 80302DA0 002FFD00 4B D2 66 6D */ bl sub_8002940c +/* 80302DA4 002FFD04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80302DA8 002FFD08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80302DAC 002FFD0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80302DB0 002FFD10 7C 08 03 A6 */ mtlr r0 +/* 80302DB4 002FFD14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80302DB8 002FFD18 4E 80 00 20 */ blr + +.global StartNewWord__18CTextExecuteBufferFv +StartNewWord__18CTextExecuteBufferFv: +/* 80302DBC 002FFD1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80302DC0 002FFD20 7C 08 02 A6 */ mflr r0 +/* 80302DC4 002FFD24 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302DC8 002FFD28 38 A0 00 00 */ li r5, 0 +/* 80302DCC 002FFD2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80302DD0 002FFD30 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302DD4 002FFD34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80302DD8 002FFD38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80302DDC 002FFD3C 7C 7E 1B 78 */ mr r30, r3 +/* 80302DE0 002FFD40 38 60 00 04 */ li r3, 4 +/* 80302DE4 002FFD44 48 01 2A 89 */ bl __nw__FUlPCcPCc +/* 80302DE8 002FFD48 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80302DEC 002FFD4C 41 82 00 1C */ beq lbl_80302E08 +/* 80302DF0 002FFD50 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80302DF4 002FFD54 3C 60 80 3F */ lis r3, lbl_803ED8A8@ha +/* 80302DF8 002FFD58 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 80302DFC 002FFD5C 90 1F 00 00 */ stw r0, 0(r31) +/* 80302E00 002FFD60 38 03 D8 A8 */ addi r0, r3, lbl_803ED8A8@l +/* 80302E04 002FFD64 90 1F 00 00 */ stw r0, 0(r31) +lbl_80302E08: +/* 80302E08 002FFD68 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302E0C 002FFD6C 38 60 00 08 */ li r3, 8 +/* 80302E10 002FFD70 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302E14 002FFD74 38 A0 00 00 */ li r5, 0 +/* 80302E18 002FFD78 48 01 2A 55 */ bl __nw__FUlPCcPCc +/* 80302E1C 002FFD7C 28 03 00 00 */ cmplwi r3, 0 +/* 80302E20 002FFD80 41 82 00 10 */ beq lbl_80302E30 +/* 80302E24 002FFD84 93 E3 00 00 */ stw r31, 0(r3) +/* 80302E28 002FFD88 38 00 00 01 */ li r0, 1 +/* 80302E2C 002FFD8C 90 03 00 04 */ stw r0, 4(r3) +lbl_80302E30: +/* 80302E30 002FFD90 90 61 00 0C */ stw r3, 0xc(r1) +/* 80302E34 002FFD94 7F C4 F3 78 */ mr r4, r30 +/* 80302E38 002FFD98 38 61 00 08 */ addi r3, r1, 8 +/* 80302E3C 002FFD9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80302E40 002FFDA0 4B FF FA E9 */ bl sub_80302928 +/* 80302E44 002FFDA4 80 81 00 08 */ lwz r4, 8(r1) +/* 80302E48 002FFDA8 38 00 00 00 */ li r0, 0 +/* 80302E4C 002FFDAC 38 61 00 0C */ addi r3, r1, 0xc +/* 80302E50 002FFDB0 90 9E 00 A8 */ stw r4, 0xa8(r30) +/* 80302E54 002FFDB4 90 1E 00 B0 */ stw r0, 0xb0(r30) +/* 80302E58 002FFDB8 90 1E 00 AC */ stw r0, 0xac(r30) +/* 80302E5C 002FFDBC 80 9E 00 A4 */ lwz r4, 0xa4(r30) +/* 80302E60 002FFDC0 80 04 00 08 */ lwz r0, 8(r4) +/* 80302E64 002FFDC4 90 1E 00 B4 */ stw r0, 0xb4(r30) +/* 80302E68 002FFDC8 80 9E 00 A4 */ lwz r4, 0xa4(r30) +/* 80302E6C 002FFDCC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80302E70 002FFDD0 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 80302E74 002FFDD4 80 BE 00 A4 */ lwz r5, 0xa4(r30) +/* 80302E78 002FFDD8 80 85 00 04 */ lwz r4, 4(r5) +/* 80302E7C 002FFDDC 38 04 00 01 */ addi r0, r4, 1 +/* 80302E80 002FFDE0 90 05 00 04 */ stw r0, 4(r5) +/* 80302E84 002FFDE4 4B D2 65 89 */ bl sub_8002940c +/* 80302E88 002FFDE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80302E8C 002FFDEC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80302E90 002FFDF0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80302E94 002FFDF4 7C 08 03 A6 */ mtlr r0 +/* 80302E98 002FFDF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80302E9C 002FFDFC 4E 80 00 20 */ blr + +.global sub_80302ea0 +sub_80302ea0: +/* 80302EA0 002FFE00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80302EA4 002FFE04 7C 08 02 A6 */ mflr r0 +/* 80302EA8 002FFE08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80302EAC 002FFE0C 80 83 00 A0 */ lwz r4, 0xa0(r3) +/* 80302EB0 002FFE10 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80302EB4 002FFE14 2C 00 00 00 */ cmpwi r0, 0 +/* 80302EB8 002FFE18 40 82 00 08 */ bne lbl_80302EC0 +/* 80302EBC 002FFE1C 48 00 00 15 */ bl TerminateLineLTR__18CTextExecuteBufferFv +lbl_80302EC0: +/* 80302EC0 002FFE20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80302EC4 002FFE24 7C 08 03 A6 */ mtlr r0 +/* 80302EC8 002FFE28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80302ECC 002FFE2C 4E 80 00 20 */ blr + +.global TerminateLineLTR__18CTextExecuteBufferFv +TerminateLineLTR__18CTextExecuteBufferFv: +/* 80302ED0 002FFE30 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80302ED4 002FFE34 7C 08 02 A6 */ mflr r0 +/* 80302ED8 002FFE38 90 01 00 34 */ stw r0, 0x34(r1) +/* 80302EDC 002FFE3C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80302EE0 002FFE40 7C 7F 1B 78 */ mr r31, r3 +/* 80302EE4 002FFE44 80 63 00 A4 */ lwz r3, 0xa4(r3) +/* 80302EE8 002FFE48 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80302EEC 002FFE4C 2C 00 00 00 */ cmpwi r0, 0 +/* 80302EF0 002FFE50 40 82 00 54 */ bne lbl_80302F44 +/* 80302EF4 002FFE54 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80302EF8 002FFE58 4B FF EA 01 */ bl IsFinishedLoading__14CSaveableStateFv +/* 80302EFC 002FFE5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80302F00 002FFE60 41 82 00 44 */ beq lbl_80302F44 +/* 80302F04 002FFE64 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80302F08 002FFE68 4B FF CA 2D */ bl GetHeight__16CLineInstructionFv +/* 80302F0C 002FFE6C 90 61 00 08 */ stw r3, 8(r1) +/* 80302F10 002FFE70 38 7F 00 60 */ addi r3, r31, 0x60 +/* 80302F14 002FFE74 48 03 DE F9 */ bl GetObj__6CTokenFv +/* 80302F18 002FFE78 80 63 00 04 */ lwz r3, 4(r3) +/* 80302F1C 002FFE7C 4B FF D7 9D */ bl GetCarriageAdvance__11CRasterFontFv +/* 80302F20 002FFE80 80 01 00 08 */ lwz r0, 8(r1) +/* 80302F24 002FFE84 38 81 00 0C */ addi r4, r1, 0xc +/* 80302F28 002FFE88 90 61 00 0C */ stw r3, 0xc(r1) +/* 80302F2C 002FFE8C 7C 03 00 00 */ cmpw r3, r0 +/* 80302F30 002FFE90 40 80 00 08 */ bge lbl_80302F38 +/* 80302F34 002FFE94 38 81 00 08 */ addi r4, r1, 8 +lbl_80302F38: +/* 80302F38 002FFE98 80 04 00 00 */ lwz r0, 0(r4) +/* 80302F3C 002FFE9C 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80302F40 002FFEA0 90 03 00 0C */ stw r0, 0xc(r3) +lbl_80302F44: +/* 80302F44 002FFEA4 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 80302F48 002FFEA8 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 80302F4C 002FFEAC 2C 00 00 03 */ cmpwi r0, 3 +/* 80302F50 002FFEB0 40 82 00 10 */ bne lbl_80302F60 +/* 80302F54 002FFEB4 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80302F58 002FFEB8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80302F5C 002FFEBC 48 00 00 44 */ b lbl_80302FA0 +lbl_80302F60: +/* 80302F60 002FFEC0 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80302F64 002FFEC4 3C 00 43 30 */ lis r0, 0x4330 +/* 80302F68 002FFEC8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80302F6C 002FFECC 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80302F70 002FFED0 C8 42 C7 50 */ lfd f2, lbl_805AE470@sda21(r2) +/* 80302F74 002FFED4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80302F78 002FFED8 C0 1F 00 8C */ lfs f0, 0x8c(r31) +/* 80302F7C 002FFEDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80302F80 002FFEE0 80 7F 00 90 */ lwz r3, 0x90(r31) +/* 80302F84 002FFEE4 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80302F88 002FFEE8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80302F8C 002FFEEC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80302F90 002FFEF0 FC 00 00 1E */ fctiwz f0, f0 +/* 80302F94 002FFEF4 D8 01 00 18 */ stfd f0, 0x18(r1) +/* 80302F98 002FFEF8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80302F9C 002FFEFC 7C 63 02 14 */ add r3, r3, r0 +lbl_80302FA0: +/* 80302FA0 002FFF00 80 04 00 30 */ lwz r0, 0x30(r4) +/* 80302FA4 002FFF04 7C 00 1A 14 */ add r0, r0, r3 +/* 80302FA8 002FFF08 90 04 00 30 */ stw r0, 0x30(r4) +/* 80302FAC 002FFF0C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80302FB0 002FFF10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80302FB4 002FFF14 7C 08 03 A6 */ mtlr r0 +/* 80302FB8 002FFF18 38 21 00 30 */ addi r1, r1, 0x30 +/* 80302FBC 002FFF1C 4E 80 00 20 */ blr + +.global __ct__20CPopStateInstructionFv +__ct__20CPopStateInstructionFv: +/* 80302FC0 002FFF20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80302FC4 002FFF24 7C 08 02 A6 */ mflr r0 +/* 80302FC8 002FFF28 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80302FCC 002FFF2C 38 A0 00 00 */ li r5, 0 +/* 80302FD0 002FFF30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80302FD4 002FFF34 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80302FD8 002FFF38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80302FDC 002FFF3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80302FE0 002FFF40 7C 7E 1B 78 */ mr r30, r3 +/* 80302FE4 002FFF44 38 60 00 04 */ li r3, 4 +/* 80302FE8 002FFF48 48 01 28 85 */ bl __nw__FUlPCcPCc +/* 80302FEC 002FFF4C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80302FF0 002FFF50 41 82 00 1C */ beq lbl_8030300C +/* 80302FF4 002FFF54 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80302FF8 002FFF58 3C 60 80 3F */ lis r3, lbl_803ED698@ha +/* 80302FFC 002FFF5C 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 80303000 002FFF60 90 1F 00 00 */ stw r0, 0(r31) +/* 80303004 002FFF64 38 03 D6 98 */ addi r0, r3, lbl_803ED698@l +/* 80303008 002FFF68 90 1F 00 00 */ stw r0, 0(r31) +lbl_8030300C: +/* 8030300C 002FFF6C 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80303010 002FFF70 38 60 00 08 */ li r3, 8 +/* 80303014 002FFF74 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80303018 002FFF78 38 A0 00 00 */ li r5, 0 +/* 8030301C 002FFF7C 48 01 28 51 */ bl __nw__FUlPCcPCc +/* 80303020 002FFF80 28 03 00 00 */ cmplwi r3, 0 +/* 80303024 002FFF84 41 82 00 10 */ beq lbl_80303034 +/* 80303028 002FFF88 93 E3 00 00 */ stw r31, 0(r3) +/* 8030302C 002FFF8C 38 00 00 01 */ li r0, 1 +/* 80303030 002FFF90 90 03 00 04 */ stw r0, 4(r3) +lbl_80303034: +/* 80303034 002FFF94 90 61 00 0C */ stw r3, 0xc(r1) +/* 80303038 002FFF98 7F C4 F3 78 */ mr r4, r30 +/* 8030303C 002FFF9C 38 61 00 08 */ addi r3, r1, 8 +/* 80303040 002FFFA0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80303044 002FFFA4 4B FF F8 E5 */ bl sub_80302928 +/* 80303048 002FFFA8 80 9E 00 C8 */ lwz r4, 0xc8(r30) +/* 8030304C 002FFFAC 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80303050 002FFFB0 38 84 00 08 */ addi r4, r4, 8 +/* 80303054 002FFFB4 4B FF BC E9 */ bl __as__14CSaveableStateFRC14CSaveableState +/* 80303058 002FFFB8 80 9E 00 C8 */ lwz r4, 0xc8(r30) +/* 8030305C 002FFFBC 38 7E 00 C4 */ addi r3, r30, 0xc4 +/* 80303060 002FFFC0 4B FF C6 15 */ bl sub_802ff674 +/* 80303064 002FFFC4 80 7E 00 A4 */ lwz r3, 0xa4(r30) +/* 80303068 002FFFC8 80 03 00 08 */ lwz r0, 8(r3) +/* 8030306C 002FFFCC 2C 00 00 00 */ cmpwi r0, 0 +/* 80303070 002FFFD0 40 82 00 18 */ bne lbl_80303088 +/* 80303074 002FFFD4 80 1E 00 98 */ lwz r0, 0x98(r30) +/* 80303078 002FFFD8 90 03 00 28 */ stw r0, 0x28(r3) +/* 8030307C 002FFFDC 80 1E 00 9C */ lwz r0, 0x9c(r30) +/* 80303080 002FFFE0 80 7E 00 A4 */ lwz r3, 0xa4(r30) +/* 80303084 002FFFE4 90 03 00 2C */ stw r0, 0x2c(r3) +lbl_80303088: +/* 80303088 002FFFE8 38 61 00 0C */ addi r3, r1, 0xc +/* 8030308C 002FFFEC 4B D2 63 81 */ bl sub_8002940c +/* 80303090 002FFFF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80303094 002FFFF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80303098 002FFFF8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030309C 002FFFFC 7C 08 03 A6 */ mtlr r0 +/* 803030A0 00300000 38 21 00 20 */ addi r1, r1, 0x20 +/* 803030A4 00300004 4E 80 00 20 */ blr + +.global __ct__21CPushStateInstructionFv +__ct__21CPushStateInstructionFv: +/* 803030A8 00300008 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803030AC 0030000C 7C 08 02 A6 */ mflr r0 +/* 803030B0 00300010 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 803030B4 00300014 38 A0 00 00 */ li r5, 0 +/* 803030B8 00300018 90 01 00 24 */ stw r0, 0x24(r1) +/* 803030BC 0030001C 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 803030C0 00300020 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803030C4 00300024 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803030C8 00300028 7C 7E 1B 78 */ mr r30, r3 +/* 803030CC 0030002C 38 60 00 04 */ li r3, 4 +/* 803030D0 00300030 48 01 27 9D */ bl __nw__FUlPCcPCc +/* 803030D4 00300034 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803030D8 00300038 41 82 00 1C */ beq lbl_803030F4 +/* 803030DC 0030003C 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 803030E0 00300040 3C 60 80 3F */ lis r3, lbl_803ED6B8@ha +/* 803030E4 00300044 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 803030E8 00300048 90 1F 00 00 */ stw r0, 0(r31) +/* 803030EC 0030004C 38 03 D6 B8 */ addi r0, r3, lbl_803ED6B8@l +/* 803030F0 00300050 90 1F 00 00 */ stw r0, 0(r31) +lbl_803030F4: +/* 803030F4 00300054 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 803030F8 00300058 38 60 00 08 */ li r3, 8 +/* 803030FC 0030005C 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80303100 00300060 38 A0 00 00 */ li r5, 0 +/* 80303104 00300064 48 01 27 69 */ bl __nw__FUlPCcPCc +/* 80303108 00300068 28 03 00 00 */ cmplwi r3, 0 +/* 8030310C 0030006C 41 82 00 10 */ beq lbl_8030311C +/* 80303110 00300070 93 E3 00 00 */ stw r31, 0(r3) +/* 80303114 00300074 38 00 00 01 */ li r0, 1 +/* 80303118 00300078 90 03 00 04 */ stw r0, 4(r3) +lbl_8030311C: +/* 8030311C 0030007C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80303120 00300080 7F C4 F3 78 */ mr r4, r30 +/* 80303124 00300084 38 61 00 08 */ addi r3, r1, 8 +/* 80303128 00300088 38 A1 00 0C */ addi r5, r1, 0xc +/* 8030312C 0030008C 4B FF F7 FD */ bl sub_80302928 +/* 80303130 00300090 38 7E 00 C4 */ addi r3, r30, 0xc4 +/* 80303134 00300094 38 9E 00 18 */ addi r4, r30, 0x18 +/* 80303138 00300098 4B FF BE C9 */ bl sub_802ff000 +/* 8030313C 0030009C 38 61 00 0C */ addi r3, r1, 0xc +/* 80303140 003000A0 4B D2 62 CD */ bl sub_8002940c +/* 80303144 003000A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80303148 003000A8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030314C 003000AC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80303150 003000B0 7C 08 03 A6 */ mtlr r0 +/* 80303154 003000B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80303158 003000B8 4E 80 00 20 */ blr + +.global sub_8030315c +sub_8030315c: +/* 8030315C 003000BC 90 83 00 9C */ stw r4, 0x9c(r3) +/* 80303160 003000C0 80 63 00 A4 */ lwz r3, 0xa4(r3) +/* 80303164 003000C4 28 03 00 00 */ cmplwi r3, 0 +/* 80303168 003000C8 4D 82 00 20 */ beqlr +/* 8030316C 003000CC 80 03 00 08 */ lwz r0, 8(r3) +/* 80303170 003000D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80303174 003000D4 4C 82 00 20 */ bnelr +/* 80303178 003000D8 90 83 00 2C */ stw r4, 0x2c(r3) +/* 8030317C 003000DC 4E 80 00 20 */ blr + +.global sub_80303180 +sub_80303180: +/* 80303180 003000E0 90 83 00 98 */ stw r4, 0x98(r3) +/* 80303184 003000E4 80 63 00 A4 */ lwz r3, 0xa4(r3) +/* 80303188 003000E8 28 03 00 00 */ cmplwi r3, 0 +/* 8030318C 003000EC 4D 82 00 20 */ beqlr +/* 80303190 003000F0 80 03 00 08 */ lwz r0, 8(r3) +/* 80303194 003000F4 2C 00 00 00 */ cmpwi r0, 0 +/* 80303198 003000F8 4C 82 00 20 */ bnelr +/* 8030319C 003000FC 90 83 00 28 */ stw r4, 0x28(r3) +/* 803031A0 00300100 4E 80 00 20 */ blr + +.global __ct__26CLineExtraSpaceInstructionFi +__ct__26CLineExtraSpaceInstructionFi: +/* 803031A4 00300104 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803031A8 00300108 7C 08 02 A6 */ mflr r0 +/* 803031AC 0030010C 3C A0 80 3D */ lis r5, lbl_803D6E90@ha +/* 803031B0 00300110 90 01 00 24 */ stw r0, 0x24(r1) +/* 803031B4 00300114 38 05 6E 90 */ addi r0, r5, lbl_803D6E90@l +/* 803031B8 00300118 38 A0 00 00 */ li r5, 0 +/* 803031BC 0030011C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803031C0 00300120 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803031C4 00300124 7C 9E 23 78 */ mr r30, r4 +/* 803031C8 00300128 7C 04 03 78 */ mr r4, r0 +/* 803031CC 0030012C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803031D0 00300130 7C 7D 1B 78 */ mr r29, r3 +/* 803031D4 00300134 38 60 00 08 */ li r3, 8 +/* 803031D8 00300138 48 01 26 95 */ bl __nw__FUlPCcPCc +/* 803031DC 0030013C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803031E0 00300140 41 82 00 20 */ beq lbl_80303200 +/* 803031E4 00300144 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 803031E8 00300148 3C 60 80 3F */ lis r3, lbl_803ED610@ha +/* 803031EC 0030014C 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 803031F0 00300150 90 1F 00 00 */ stw r0, 0(r31) +/* 803031F4 00300154 38 03 D6 10 */ addi r0, r3, lbl_803ED610@l +/* 803031F8 00300158 90 1F 00 00 */ stw r0, 0(r31) +/* 803031FC 0030015C 93 DF 00 04 */ stw r30, 4(r31) +lbl_80303200: +/* 80303200 00300160 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80303204 00300164 38 60 00 08 */ li r3, 8 +/* 80303208 00300168 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 8030320C 0030016C 38 A0 00 00 */ li r5, 0 +/* 80303210 00300170 48 01 26 5D */ bl __nw__FUlPCcPCc +/* 80303214 00300174 28 03 00 00 */ cmplwi r3, 0 +/* 80303218 00300178 41 82 00 10 */ beq lbl_80303228 +/* 8030321C 0030017C 93 E3 00 00 */ stw r31, 0(r3) +/* 80303220 00300180 38 00 00 01 */ li r0, 1 +/* 80303224 00300184 90 03 00 04 */ stw r0, 4(r3) +lbl_80303228: +/* 80303228 00300188 90 61 00 0C */ stw r3, 0xc(r1) +/* 8030322C 0030018C 7F A4 EB 78 */ mr r4, r29 +/* 80303230 00300190 38 61 00 08 */ addi r3, r1, 8 +/* 80303234 00300194 38 A1 00 0C */ addi r5, r1, 0xc +/* 80303238 00300198 4B FF F6 F1 */ bl sub_80302928 +/* 8030323C 0030019C 93 DD 00 90 */ stw r30, 0x90(r29) +/* 80303240 003001A0 38 61 00 0C */ addi r3, r1, 0xc +/* 80303244 003001A4 4B D2 61 C9 */ bl sub_8002940c +/* 80303248 003001A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030324C 003001AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80303250 003001B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80303254 003001B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80303258 003001B8 7C 08 03 A6 */ mtlr r0 +/* 8030325C 003001BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80303260 003001C0 4E 80 00 20 */ blr + +.global __ct__23CLineSpacingInstructionFf +__ct__23CLineSpacingInstructionFf: +/* 80303264 003001C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80303268 003001C8 7C 08 02 A6 */ mflr r0 +/* 8030326C 003001CC 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80303270 003001D0 38 A0 00 00 */ li r5, 0 +/* 80303274 003001D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80303278 003001D8 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 8030327C 003001DC DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80303280 003001E0 FF E0 08 90 */ fmr f31, f1 +/* 80303284 003001E4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80303288 003001E8 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8030328C 003001EC 7C 7E 1B 78 */ mr r30, r3 +/* 80303290 003001F0 38 60 00 08 */ li r3, 8 +/* 80303294 003001F4 48 01 25 D9 */ bl __nw__FUlPCcPCc +/* 80303298 003001F8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8030329C 003001FC 41 82 00 20 */ beq lbl_803032BC +/* 803032A0 00300200 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 803032A4 00300204 3C 60 80 3F */ lis r3, lbl_803ED678@ha +/* 803032A8 00300208 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 803032AC 0030020C 90 1F 00 00 */ stw r0, 0(r31) +/* 803032B0 00300210 38 03 D6 78 */ addi r0, r3, lbl_803ED678@l +/* 803032B4 00300214 90 1F 00 00 */ stw r0, 0(r31) +/* 803032B8 00300218 D3 FF 00 04 */ stfs f31, 4(r31) +lbl_803032BC: +/* 803032BC 0030021C 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 803032C0 00300220 38 60 00 08 */ li r3, 8 +/* 803032C4 00300224 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 803032C8 00300228 38 A0 00 00 */ li r5, 0 +/* 803032CC 0030022C 48 01 25 A1 */ bl __nw__FUlPCcPCc +/* 803032D0 00300230 28 03 00 00 */ cmplwi r3, 0 +/* 803032D4 00300234 41 82 00 10 */ beq lbl_803032E4 +/* 803032D8 00300238 93 E3 00 00 */ stw r31, 0(r3) +/* 803032DC 0030023C 38 00 00 01 */ li r0, 1 +/* 803032E0 00300240 90 03 00 04 */ stw r0, 4(r3) +lbl_803032E4: +/* 803032E4 00300244 90 61 00 0C */ stw r3, 0xc(r1) +/* 803032E8 00300248 7F C4 F3 78 */ mr r4, r30 +/* 803032EC 0030024C 38 61 00 08 */ addi r3, r1, 8 +/* 803032F0 00300250 38 A1 00 0C */ addi r5, r1, 0xc +/* 803032F4 00300254 4B FF F6 35 */ bl sub_80302928 +/* 803032F8 00300258 D3 FE 00 8C */ stfs f31, 0x8c(r30) +/* 803032FC 0030025C 38 61 00 0C */ addi r3, r1, 0xc +/* 80303300 00300260 4B D2 61 0D */ bl sub_8002940c +/* 80303304 00300264 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80303308 00300268 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8030330C 0030026C 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80303310 00300270 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80303314 00300274 7C 08 03 A6 */ mtlr r0 +/* 80303318 00300278 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030331C 0030027C 4E 80 00 20 */ blr + +.global __ct__31CRemoveColorOverrideInstructionFi +__ct__31CRemoveColorOverrideInstructionFi: +/* 80303320 00300280 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80303324 00300284 7C 08 02 A6 */ mflr r0 +/* 80303328 00300288 3C A0 80 3D */ lis r5, lbl_803D6E90@ha +/* 8030332C 0030028C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80303330 00300290 38 05 6E 90 */ addi r0, r5, lbl_803D6E90@l +/* 80303334 00300294 38 A0 00 00 */ li r5, 0 +/* 80303338 00300298 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030333C 0030029C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80303340 003002A0 7C 9E 23 78 */ mr r30, r4 +/* 80303344 003002A4 7C 04 03 78 */ mr r4, r0 +/* 80303348 003002A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030334C 003002AC 7C 7D 1B 78 */ mr r29, r3 +/* 80303350 003002B0 38 60 00 08 */ li r3, 8 +/* 80303354 003002B4 48 01 25 19 */ bl __nw__FUlPCcPCc +/* 80303358 003002B8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8030335C 003002BC 41 82 00 20 */ beq lbl_8030337C +/* 80303360 003002C0 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80303364 003002C4 3C 60 80 3F */ lis r3, lbl_803ED6D8@ha +/* 80303368 003002C8 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 8030336C 003002CC 90 1F 00 00 */ stw r0, 0(r31) +/* 80303370 003002D0 38 03 D6 D8 */ addi r0, r3, lbl_803ED6D8@l +/* 80303374 003002D4 90 1F 00 00 */ stw r0, 0(r31) +/* 80303378 003002D8 93 DF 00 04 */ stw r30, 4(r31) +lbl_8030337C: +/* 8030337C 003002DC 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80303380 003002E0 38 60 00 08 */ li r3, 8 +/* 80303384 003002E4 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80303388 003002E8 38 A0 00 00 */ li r5, 0 +/* 8030338C 003002EC 48 01 24 E1 */ bl __nw__FUlPCcPCc +/* 80303390 003002F0 28 03 00 00 */ cmplwi r3, 0 +/* 80303394 003002F4 41 82 00 10 */ beq lbl_803033A4 +/* 80303398 003002F8 93 E3 00 00 */ stw r31, 0(r3) +/* 8030339C 003002FC 38 00 00 01 */ li r0, 1 +/* 803033A0 00300300 90 03 00 04 */ stw r0, 4(r3) +lbl_803033A4: +/* 803033A4 00300304 90 61 00 0C */ stw r3, 0xc(r1) +/* 803033A8 00300308 7F A4 EB 78 */ mr r4, r29 +/* 803033AC 0030030C 38 61 00 08 */ addi r3, r1, 8 +/* 803033B0 00300310 38 A1 00 0C */ addi r5, r1, 0xc +/* 803033B4 00300314 4B FF F5 75 */ bl sub_80302928 +/* 803033B8 00300318 38 61 00 0C */ addi r3, r1, 0xc +/* 803033BC 0030031C 4B D2 60 51 */ bl sub_8002940c +/* 803033C0 00300320 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803033C4 00300324 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803033C8 00300328 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803033CC 0030032C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803033D0 00300330 7C 08 03 A6 */ mtlr r0 +/* 803033D4 00300334 38 21 00 20 */ addi r1, r1, 0x20 +/* 803033D8 00300338 4E 80 00 20 */ blr + +.global __ct__25CColorOverrideInstructionFv +__ct__25CColorOverrideInstructionFv: +/* 803033DC 0030033C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803033E0 00300340 7C 08 02 A6 */ mflr r0 +/* 803033E4 00300344 3C C0 80 3D */ lis r6, lbl_803D6E90@ha +/* 803033E8 00300348 90 01 00 24 */ stw r0, 0x24(r1) +/* 803033EC 0030034C 38 06 6E 90 */ addi r0, r6, lbl_803D6E90@l +/* 803033F0 00300350 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803033F4 00300354 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803033F8 00300358 7C BE 2B 78 */ mr r30, r5 +/* 803033FC 0030035C 38 A0 00 00 */ li r5, 0 +/* 80303400 00300360 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80303404 00300364 7C 9D 23 78 */ mr r29, r4 +/* 80303408 00300368 7C 04 03 78 */ mr r4, r0 +/* 8030340C 0030036C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80303410 00300370 7C 7C 1B 78 */ mr r28, r3 +/* 80303414 00300374 38 60 00 0C */ li r3, 0xc +/* 80303418 00300378 48 01 24 55 */ bl __nw__FUlPCcPCc +/* 8030341C 0030037C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80303420 00300380 41 82 00 40 */ beq lbl_80303460 +/* 80303424 00300384 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80303428 00300388 3C 60 80 3F */ lis r3, lbl_803ED5D0@ha +/* 8030342C 0030038C 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 80303430 00300390 90 1F 00 00 */ stw r0, 0(r31) +/* 80303434 00300394 38 03 D5 D0 */ addi r0, r3, lbl_803ED5D0@l +/* 80303438 00300398 90 1F 00 00 */ stw r0, 0(r31) +/* 8030343C 0030039C 93 BF 00 04 */ stw r29, 4(r31) +/* 80303440 003003A0 88 1E 00 00 */ lbz r0, 0(r30) +/* 80303444 003003A4 98 1F 00 08 */ stb r0, 8(r31) +/* 80303448 003003A8 88 1E 00 01 */ lbz r0, 1(r30) +/* 8030344C 003003AC 98 1F 00 09 */ stb r0, 9(r31) +/* 80303450 003003B0 88 1E 00 02 */ lbz r0, 2(r30) +/* 80303454 003003B4 98 1F 00 0A */ stb r0, 0xa(r31) +/* 80303458 003003B8 88 1E 00 03 */ lbz r0, 3(r30) +/* 8030345C 003003BC 98 1F 00 0B */ stb r0, 0xb(r31) +lbl_80303460: +/* 80303460 003003C0 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80303464 003003C4 38 60 00 08 */ li r3, 8 +/* 80303468 003003C8 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 8030346C 003003CC 38 A0 00 00 */ li r5, 0 +/* 80303470 003003D0 48 01 23 FD */ bl __nw__FUlPCcPCc +/* 80303474 003003D4 28 03 00 00 */ cmplwi r3, 0 +/* 80303478 003003D8 41 82 00 10 */ beq lbl_80303488 +/* 8030347C 003003DC 93 E3 00 00 */ stw r31, 0(r3) +/* 80303480 003003E0 38 00 00 01 */ li r0, 1 +/* 80303484 003003E4 90 03 00 04 */ stw r0, 4(r3) +lbl_80303488: +/* 80303488 003003E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8030348C 003003EC 7F 84 E3 78 */ mr r4, r28 +/* 80303490 003003F0 38 61 00 08 */ addi r3, r1, 8 +/* 80303494 003003F4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80303498 003003F8 4B FF F4 91 */ bl sub_80302928 +/* 8030349C 003003FC 38 61 00 0C */ addi r3, r1, 0xc +/* 803034A0 00300400 4B D2 5F 6D */ bl sub_8002940c +/* 803034A4 00300404 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803034A8 00300408 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803034AC 0030040C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803034B0 00300410 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803034B4 00300414 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803034B8 00300418 7C 08 03 A6 */ mtlr r0 +/* 803034BC 0030041C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803034C0 00300420 4E 80 00 20 */ blr + +.global __ct__17CColorInstructionFiRC6CColor +__ct__17CColorInstructionFiRC6CColor: +/* 803034C4 00300424 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803034C8 00300428 7C 08 02 A6 */ mflr r0 +/* 803034CC 0030042C 3C C0 80 3D */ lis r6, lbl_803D6E90@ha +/* 803034D0 00300430 90 01 00 24 */ stw r0, 0x24(r1) +/* 803034D4 00300434 38 06 6E 90 */ addi r0, r6, lbl_803D6E90@l +/* 803034D8 00300438 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803034DC 0030043C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803034E0 00300440 7C BE 2B 78 */ mr r30, r5 +/* 803034E4 00300444 38 A0 00 00 */ li r5, 0 +/* 803034E8 00300448 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803034EC 0030044C 7C 9D 23 78 */ mr r29, r4 +/* 803034F0 00300450 7C 04 03 78 */ mr r4, r0 +/* 803034F4 00300454 93 81 00 10 */ stw r28, 0x10(r1) +/* 803034F8 00300458 7C 7C 1B 78 */ mr r28, r3 +/* 803034FC 0030045C 38 60 00 0C */ li r3, 0xc +/* 80303500 00300460 48 01 23 6D */ bl __nw__FUlPCcPCc +/* 80303504 00300464 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80303508 00300468 41 82 00 40 */ beq lbl_80303548 +/* 8030350C 0030046C 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80303510 00300470 3C 60 80 3F */ lis r3, lbl_803ED5B0@ha +/* 80303514 00300474 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 80303518 00300478 90 1F 00 00 */ stw r0, 0(r31) +/* 8030351C 0030047C 38 03 D5 B0 */ addi r0, r3, lbl_803ED5B0@l +/* 80303520 00300480 90 1F 00 00 */ stw r0, 0(r31) +/* 80303524 00300484 93 BF 00 04 */ stw r29, 4(r31) +/* 80303528 00300488 88 1E 00 00 */ lbz r0, 0(r30) +/* 8030352C 0030048C 98 1F 00 08 */ stb r0, 8(r31) +/* 80303530 00300490 88 1E 00 01 */ lbz r0, 1(r30) +/* 80303534 00300494 98 1F 00 09 */ stb r0, 9(r31) +/* 80303538 00300498 88 1E 00 02 */ lbz r0, 2(r30) +/* 8030353C 0030049C 98 1F 00 0A */ stb r0, 0xa(r31) +/* 80303540 003004A0 88 1E 00 03 */ lbz r0, 3(r30) +/* 80303544 003004A4 98 1F 00 0B */ stb r0, 0xb(r31) +lbl_80303548: +/* 80303548 003004A8 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 8030354C 003004AC 38 60 00 08 */ li r3, 8 +/* 80303550 003004B0 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80303554 003004B4 38 A0 00 00 */ li r5, 0 +/* 80303558 003004B8 48 01 23 15 */ bl __nw__FUlPCcPCc +/* 8030355C 003004BC 28 03 00 00 */ cmplwi r3, 0 +/* 80303560 003004C0 41 82 00 10 */ beq lbl_80303570 +/* 80303564 003004C4 93 E3 00 00 */ stw r31, 0(r3) +/* 80303568 003004C8 38 00 00 01 */ li r0, 1 +/* 8030356C 003004CC 90 03 00 04 */ stw r0, 4(r3) +lbl_80303570: +/* 80303570 003004D0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80303574 003004D4 7F 84 E3 78 */ mr r4, r28 +/* 80303578 003004D8 38 61 00 08 */ addi r3, r1, 8 +/* 8030357C 003004DC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80303580 003004E0 4B FF F3 A9 */ bl sub_80302928 +/* 80303584 003004E4 38 61 00 0C */ addi r3, r1, 0xc +/* 80303588 003004E8 4B D2 5E 85 */ bl sub_8002940c +/* 8030358C 003004EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80303590 003004F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80303594 003004F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80303598 003004F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030359C 003004FC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803035A0 00300500 7C 08 03 A6 */ mtlr r0 +/* 803035A4 00300504 38 21 00 20 */ addi r1, r1, 0x20 +/* 803035A8 00300508 4E 80 00 20 */ blr + +.global AddImage__18CTextExecuteBufferFRC13CFontImageDef +AddImage__18CTextExecuteBufferFRC13CFontImageDef: +/* 803035AC 0030050C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803035B0 00300510 7C 08 02 A6 */ mflr r0 +/* 803035B4 00300514 90 01 00 74 */ stw r0, 0x74(r1) +/* 803035B8 00300518 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 803035BC 0030051C 7C 9F 23 78 */ mr r31, r4 +/* 803035C0 00300520 93 C1 00 68 */ stw r30, 0x68(r1) +/* 803035C4 00300524 7C 7E 1B 78 */ mr r30, r3 +/* 803035C8 00300528 93 A1 00 64 */ stw r29, 0x64(r1) +/* 803035CC 0030052C 93 81 00 60 */ stw r28, 0x60(r1) +/* 803035D0 00300530 80 03 00 A4 */ lwz r0, 0xa4(r3) +/* 803035D4 00300534 28 00 00 00 */ cmplwi r0, 0 +/* 803035D8 00300538 40 82 00 08 */ bne lbl_803035E0 +/* 803035DC 0030053C 4B FF F6 9D */ bl StartNewLine__18CTextExecuteBufferFv +lbl_803035E0: +/* 803035E0 00300540 80 1E 00 A0 */ lwz r0, 0xa0(r30) +/* 803035E4 00300544 28 00 00 00 */ cmplwi r0, 0 +/* 803035E8 00300548 41 82 02 94 */ beq lbl_8030387C +/* 803035EC 0030054C 7F E3 FB 78 */ mr r3, r31 +/* 803035F0 00300550 48 05 5F 05 */ bl IsLoaded__13CFontImageDefCFv +/* 803035F4 00300554 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803035F8 00300558 41 82 02 84 */ beq lbl_8030387C +/* 803035FC 0030055C 88 7E 00 94 */ lbz r3, 0x94(r30) +/* 80303600 00300560 28 03 00 00 */ cmplwi r3, 0 +/* 80303604 00300564 41 82 00 84 */ beq lbl_80303688 +/* 80303608 00300568 80 BE 00 A4 */ lwz r5, 0xa4(r30) +/* 8030360C 0030056C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80303610 00300570 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80303614 00300574 83 85 00 08 */ lwz r28, 8(r5) +/* 80303618 00300578 48 03 D8 91 */ bl __ct__6CTokenFRC6CToken +/* 8030361C 0030057C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80303620 00300580 48 03 D7 ED */ bl GetObj__6CTokenFv +/* 80303624 00300584 80 83 00 04 */ lwz r4, 4(r3) +/* 80303628 00300588 3C 00 43 30 */ lis r0, 0x4330 +/* 8030362C 0030058C 90 01 00 38 */ stw r0, 0x38(r1) +/* 80303630 00300590 38 61 00 20 */ addi r3, r1, 0x20 +/* 80303634 00300594 A8 04 00 04 */ lha r0, 4(r4) +/* 80303638 00300598 38 80 00 00 */ li r4, 0 +/* 8030363C 0030059C C8 42 C7 50 */ lfd f2, lbl_805AE470@sda21(r2) +/* 80303640 003005A0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80303644 003005A4 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80303648 003005A8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8030364C 003005AC C8 21 00 38 */ lfd f1, 0x38(r1) +/* 80303650 003005B0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80303654 003005B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80303658 003005B8 FC 00 00 1E */ fctiwz f0, f0 +/* 8030365C 003005BC D8 01 00 40 */ stfd f0, 0x40(r1) +/* 80303660 003005C0 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80303664 003005C4 48 03 D7 DD */ bl __dt__6CTokenFv +/* 80303668 003005C8 80 7E 00 A0 */ lwz r3, 0xa0(r30) +/* 8030366C 003005CC 7C 9C EA 14 */ add r4, r28, r29 +/* 80303670 003005D0 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80303674 003005D4 7C 80 02 78 */ xor r0, r4, r0 +/* 80303678 003005D8 7C 03 0E 70 */ srawi r3, r0, 1 +/* 8030367C 003005DC 7C 00 20 38 */ and r0, r0, r4 +/* 80303680 003005E0 7C 00 18 50 */ subf r0, r0, r3 +/* 80303684 003005E4 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_80303688: +/* 80303688 003005E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030368C 003005EC 41 82 00 24 */ beq lbl_803036B0 +/* 80303690 003005F0 80 7E 00 A4 */ lwz r3, 0xa4(r30) +/* 80303694 003005F4 38 00 00 01 */ li r0, 1 +/* 80303698 003005F8 80 83 00 04 */ lwz r4, 4(r3) +/* 8030369C 003005FC 7C 80 02 78 */ xor r0, r4, r0 +/* 803036A0 00300600 7C 03 0E 70 */ srawi r3, r0, 1 +/* 803036A4 00300604 7C 00 20 38 */ and r0, r0, r4 +/* 803036A8 00300608 7C 00 18 50 */ subf r0, r0, r3 +/* 803036AC 0030060C 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_803036B0: +/* 803036B0 00300610 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803036B4 00300614 41 82 00 0C */ beq lbl_803036C0 +/* 803036B8 00300618 7F C3 F3 78 */ mr r3, r30 +/* 803036BC 0030061C 4B FF F5 BD */ bl StartNewLine__18CTextExecuteBufferFv +lbl_803036C0: +/* 803036C0 00300620 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 803036C4 00300624 38 61 00 30 */ addi r3, r1, 0x30 +/* 803036C8 00300628 48 03 D7 E1 */ bl __ct__6CTokenFRC6CToken +/* 803036CC 0030062C 38 61 00 30 */ addi r3, r1, 0x30 +/* 803036D0 00300630 48 03 D7 3D */ bl GetObj__6CTokenFv +/* 803036D4 00300634 80 83 00 04 */ lwz r4, 4(r3) +/* 803036D8 00300638 3C 00 43 30 */ lis r0, 0x4330 +/* 803036DC 0030063C 90 01 00 40 */ stw r0, 0x40(r1) +/* 803036E0 00300640 38 61 00 30 */ addi r3, r1, 0x30 +/* 803036E4 00300644 A8 04 00 04 */ lha r0, 4(r4) +/* 803036E8 00300648 38 80 00 00 */ li r4, 0 +/* 803036EC 0030064C C8 42 C7 50 */ lfd f2, lbl_805AE470@sda21(r2) +/* 803036F0 00300650 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 803036F4 00300654 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 803036F8 00300658 90 01 00 44 */ stw r0, 0x44(r1) +/* 803036FC 0030065C C8 21 00 40 */ lfd f1, 0x40(r1) +/* 80303700 00300660 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80303704 00300664 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80303708 00300668 FC 00 00 1E */ fctiwz f0, f0 +/* 8030370C 0030066C D8 01 00 38 */ stfd f0, 0x38(r1) +/* 80303710 00300670 83 A1 00 3C */ lwz r29, 0x3c(r1) +/* 80303714 00300674 48 03 D7 2D */ bl __dt__6CTokenFv +/* 80303718 00300678 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8030371C 0030067C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80303720 00300680 48 03 D7 89 */ bl __ct__6CTokenFRC6CToken +/* 80303724 00300684 38 61 00 28 */ addi r3, r1, 0x28 +/* 80303728 00300688 48 03 D6 E5 */ bl GetObj__6CTokenFv +/* 8030372C 0030068C 80 83 00 04 */ lwz r4, 4(r3) +/* 80303730 00300690 3C 00 43 30 */ lis r0, 0x4330 +/* 80303734 00300694 90 01 00 48 */ stw r0, 0x48(r1) +/* 80303738 00300698 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030373C 0030069C A8 04 00 06 */ lha r0, 6(r4) +/* 80303740 003006A0 38 80 00 00 */ li r4, 0 +/* 80303744 003006A4 C8 42 C7 50 */ lfd f2, lbl_805AE470@sda21(r2) +/* 80303748 003006A8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8030374C 003006AC C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80303750 003006B0 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80303754 003006B4 C8 21 00 48 */ lfd f1, 0x48(r1) +/* 80303758 003006B8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8030375C 003006BC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80303760 003006C0 FC 00 00 1E */ fctiwz f0, f0 +/* 80303764 003006C4 D8 01 00 50 */ stfd f0, 0x50(r1) +/* 80303768 003006C8 83 81 00 54 */ lwz r28, 0x54(r1) +/* 8030376C 003006CC 48 03 D6 D5 */ bl __dt__6CTokenFv +/* 80303770 003006D0 7F E3 FB 78 */ mr r3, r31 +/* 80303774 003006D4 48 05 5C C9 */ bl CalculateBaseline__13CFontImageDefFv +/* 80303778 003006D8 7C 66 1B 78 */ mr r6, r3 +/* 8030377C 003006DC 80 7E 00 A4 */ lwz r3, 0xa4(r30) +/* 80303780 003006E0 7F A4 EB 78 */ mr r4, r29 +/* 80303784 003006E4 7F 85 E3 78 */ mr r5, r28 +/* 80303788 003006E8 4B FF C1 E5 */ bl TestLargestImage__16CLineInstructionFiii +/* 8030378C 003006EC 80 7E 00 A0 */ lwz r3, 0xa0(r30) +/* 80303790 003006F0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80303794 003006F4 2C 00 00 00 */ cmpwi r0, 0 +/* 80303798 003006F8 40 82 00 E4 */ bne lbl_8030387C +/* 8030379C 003006FC 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 803037A0 00300700 38 61 00 10 */ addi r3, r1, 0x10 +/* 803037A4 00300704 48 03 D7 05 */ bl __ct__6CTokenFRC6CToken +/* 803037A8 00300708 38 61 00 10 */ addi r3, r1, 0x10 +/* 803037AC 0030070C 48 03 D6 61 */ bl GetObj__6CTokenFv +/* 803037B0 00300710 80 83 00 04 */ lwz r4, 4(r3) +/* 803037B4 00300714 3C 00 43 30 */ lis r0, 0x4330 +/* 803037B8 00300718 90 01 00 50 */ stw r0, 0x50(r1) +/* 803037BC 0030071C 38 61 00 10 */ addi r3, r1, 0x10 +/* 803037C0 00300720 A8 04 00 04 */ lha r0, 4(r4) +/* 803037C4 00300724 38 80 00 00 */ li r4, 0 +/* 803037C8 00300728 C8 42 C7 50 */ lfd f2, lbl_805AE470@sda21(r2) +/* 803037CC 0030072C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 803037D0 00300730 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 803037D4 00300734 90 01 00 54 */ stw r0, 0x54(r1) +/* 803037D8 00300738 C8 21 00 50 */ lfd f1, 0x50(r1) +/* 803037DC 0030073C EC 21 10 28 */ fsubs f1, f1, f2 +/* 803037E0 00300740 EC 01 00 32 */ fmuls f0, f1, f0 +/* 803037E4 00300744 FC 00 00 1E */ fctiwz f0, f0 +/* 803037E8 00300748 D8 01 00 48 */ stfd f0, 0x48(r1) +/* 803037EC 0030074C 83 81 00 4C */ lwz r28, 0x4c(r1) +/* 803037F0 00300750 48 03 D6 51 */ bl __dt__6CTokenFv +/* 803037F4 00300754 80 9E 00 A4 */ lwz r4, 0xa4(r30) +/* 803037F8 00300758 38 61 00 18 */ addi r3, r1, 0x18 +/* 803037FC 0030075C 80 04 00 08 */ lwz r0, 8(r4) +/* 80303800 00300760 7C 00 E2 14 */ add r0, r0, r28 +/* 80303804 00300764 90 04 00 08 */ stw r0, 8(r4) +/* 80303808 00300768 80 BE 00 A4 */ lwz r5, 0xa4(r30) +/* 8030380C 0030076C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80303810 00300770 83 85 00 08 */ lwz r28, 8(r5) +/* 80303814 00300774 48 03 D6 95 */ bl __ct__6CTokenFRC6CToken +/* 80303818 00300778 38 61 00 18 */ addi r3, r1, 0x18 +/* 8030381C 0030077C 48 03 D5 F1 */ bl GetObj__6CTokenFv +/* 80303820 00300780 80 83 00 04 */ lwz r4, 4(r3) +/* 80303824 00300784 3C 00 43 30 */ lis r0, 0x4330 +/* 80303828 00300788 90 01 00 40 */ stw r0, 0x40(r1) +/* 8030382C 0030078C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80303830 00300790 A8 04 00 04 */ lha r0, 4(r4) +/* 80303834 00300794 38 80 00 00 */ li r4, 0 +/* 80303838 00300798 C8 42 C7 50 */ lfd f2, lbl_805AE470@sda21(r2) +/* 8030383C 0030079C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80303840 003007A0 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80303844 003007A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80303848 003007A8 C8 21 00 40 */ lfd f1, 0x40(r1) +/* 8030384C 003007AC EC 21 10 28 */ fsubs f1, f1, f2 +/* 80303850 003007B0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80303854 003007B4 FC 00 00 1E */ fctiwz f0, f0 +/* 80303858 003007B8 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 8030385C 003007BC 83 A1 00 3C */ lwz r29, 0x3c(r1) +/* 80303860 003007C0 48 03 D5 E1 */ bl __dt__6CTokenFv +/* 80303864 003007C4 7C 1C E8 00 */ cmpw r28, r29 +/* 80303868 003007C8 40 81 00 14 */ ble lbl_8030387C +/* 8030386C 003007CC 80 9E 00 A4 */ lwz r4, 0xa4(r30) +/* 80303870 003007D0 80 7E 00 A0 */ lwz r3, 0xa0(r30) +/* 80303874 003007D4 80 04 00 08 */ lwz r0, 8(r4) +/* 80303878 003007D8 90 03 00 2C */ stw r0, 0x2c(r3) +lbl_8030387C: +/* 8030387C 003007DC 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80303880 003007E0 38 60 00 20 */ li r3, 0x20 +/* 80303884 003007E4 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80303888 003007E8 38 A0 00 00 */ li r5, 0 +/* 8030388C 003007EC 48 01 1F E1 */ bl __nw__FUlPCcPCc +/* 80303890 003007F0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80303894 003007F4 41 82 00 10 */ beq lbl_803038A4 +/* 80303898 003007F8 7F E4 FB 78 */ mr r4, r31 +/* 8030389C 003007FC 48 00 00 6D */ bl __ct__17CImageInstructionFRC13CFontImageDef +/* 803038A0 00300800 7C 7C 1B 78 */ mr r28, r3 +lbl_803038A4: +/* 803038A4 00300804 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 803038A8 00300808 38 60 00 08 */ li r3, 8 +/* 803038AC 0030080C 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 803038B0 00300810 38 A0 00 00 */ li r5, 0 +/* 803038B4 00300814 48 01 1F B9 */ bl __nw__FUlPCcPCc +/* 803038B8 00300818 28 03 00 00 */ cmplwi r3, 0 +/* 803038BC 0030081C 41 82 00 10 */ beq lbl_803038CC +/* 803038C0 00300820 93 83 00 00 */ stw r28, 0(r3) +/* 803038C4 00300824 38 00 00 01 */ li r0, 1 +/* 803038C8 00300828 90 03 00 04 */ stw r0, 4(r3) +lbl_803038CC: +/* 803038CC 0030082C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803038D0 00300830 7F C4 F3 78 */ mr r4, r30 +/* 803038D4 00300834 38 61 00 08 */ addi r3, r1, 8 +/* 803038D8 00300838 38 A1 00 0C */ addi r5, r1, 0xc +/* 803038DC 0030083C 4B FF F0 4D */ bl sub_80302928 +/* 803038E0 00300840 38 61 00 0C */ addi r3, r1, 0xc +/* 803038E4 00300844 4B D2 5B 29 */ bl sub_8002940c +/* 803038E8 00300848 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803038EC 0030084C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 803038F0 00300850 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 803038F4 00300854 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 803038F8 00300858 83 81 00 60 */ lwz r28, 0x60(r1) +/* 803038FC 0030085C 7C 08 03 A6 */ mtlr r0 +/* 80303900 00300860 38 21 00 70 */ addi r1, r1, 0x70 +/* 80303904 00300864 4E 80 00 20 */ blr + +.global __ct__17CImageInstructionFRC13CFontImageDef +__ct__17CImageInstructionFRC13CFontImageDef: +/* 80303908 00300868 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030390C 0030086C 7C 08 02 A6 */ mflr r0 +/* 80303910 00300870 3C A0 80 3E */ lis r5, lbl_803D9A6C@ha +/* 80303914 00300874 90 01 00 14 */ stw r0, 0x14(r1) +/* 80303918 00300878 38 05 9A 6C */ addi r0, r5, lbl_803D9A6C@l +/* 8030391C 0030087C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80303920 00300880 7C 7F 1B 78 */ mr r31, r3 +/* 80303924 00300884 3C 60 80 3F */ lis r3, lbl_803EF798@ha +/* 80303928 00300888 90 1F 00 00 */ stw r0, 0(r31) +/* 8030392C 0030088C 38 03 F7 98 */ addi r0, r3, lbl_803EF798@l +/* 80303930 00300890 38 7F 00 04 */ addi r3, r31, 4 +/* 80303934 00300894 90 1F 00 00 */ stw r0, 0(r31) +/* 80303938 00300898 4B FC 50 AD */ bl sub_802c89e4 +/* 8030393C 0030089C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80303940 003008A0 7F E3 FB 78 */ mr r3, r31 +/* 80303944 003008A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80303948 003008A8 7C 08 03 A6 */ mtlr r0 +/* 8030394C 003008AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80303950 003008B0 4E 80 00 20 */ blr + +.global "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>" +"AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>": +/* 80303954 003008B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80303958 003008B8 7C 08 02 A6 */ mflr r0 +/* 8030395C 003008BC 3C A0 80 3D */ lis r5, lbl_803D6E90@ha +/* 80303960 003008C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80303964 003008C4 38 05 6E 90 */ addi r0, r5, lbl_803D6E90@l +/* 80303968 003008C8 38 A0 00 00 */ li r5, 0 +/* 8030396C 003008CC BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80303970 003008D0 7C 7F 1B 78 */ mr r31, r3 +/* 80303974 003008D4 7C 9A 23 78 */ mr r26, r4 +/* 80303978 003008D8 7C 04 03 78 */ mr r4, r0 +/* 8030397C 003008DC 38 60 00 0C */ li r3, 0xc +/* 80303980 003008E0 48 01 1E ED */ bl __nw__FUlPCcPCc +/* 80303984 003008E4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80303988 003008E8 41 82 00 34 */ beq lbl_803039BC +/* 8030398C 003008EC 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80303990 003008F0 3C 60 80 3F */ lis r3, lbl_803ED5F0@ha +/* 80303994 003008F4 38 04 9A 6C */ addi r0, r4, lbl_803D9A6C@l +/* 80303998 003008F8 7F BB EB 78 */ mr r27, r29 +/* 8030399C 003008FC 90 1D 00 00 */ stw r0, 0(r29) +/* 803039A0 00300900 38 03 D5 F0 */ addi r0, r3, lbl_803ED5F0@l +/* 803039A4 00300904 7F 44 D3 78 */ mr r4, r26 +/* 803039A8 00300908 38 7B 00 04 */ addi r3, r27, 4 +/* 803039AC 0030090C 90 1D 00 00 */ stw r0, 0(r29) +/* 803039B0 00300910 48 03 D4 F9 */ bl __ct__6CTokenFRC6CToken +/* 803039B4 00300914 38 7B 00 04 */ addi r3, r27, 4 +/* 803039B8 00300918 48 03 D3 CD */ bl Lock__6CTokenFv +lbl_803039BC: +/* 803039BC 0030091C 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 803039C0 00300920 38 60 00 08 */ li r3, 8 +/* 803039C4 00300924 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 803039C8 00300928 38 A0 00 00 */ li r5, 0 +/* 803039CC 0030092C 48 01 1E A1 */ bl __nw__FUlPCcPCc +/* 803039D0 00300930 28 03 00 00 */ cmplwi r3, 0 +/* 803039D4 00300934 41 82 00 10 */ beq lbl_803039E4 +/* 803039D8 00300938 93 A3 00 00 */ stw r29, 0(r3) +/* 803039DC 0030093C 38 00 00 01 */ li r0, 1 +/* 803039E0 00300940 90 03 00 04 */ stw r0, 4(r3) +lbl_803039E4: +/* 803039E4 00300944 90 61 00 0C */ stw r3, 0xc(r1) +/* 803039E8 00300948 7F E4 FB 78 */ mr r4, r31 +/* 803039EC 0030094C 38 61 00 08 */ addi r3, r1, 8 +/* 803039F0 00300950 38 A1 00 0C */ addi r5, r1, 0xc +/* 803039F4 00300954 4B FF EF 35 */ bl sub_80302928 +/* 803039F8 00300958 88 1F 00 68 */ lbz r0, 0x68(r31) +/* 803039FC 0030095C 28 00 00 00 */ cmplwi r0, 0 +/* 80303A00 00300960 40 82 00 20 */ bne lbl_80303A20 +/* 80303A04 00300964 34 7F 00 60 */ addic. r3, r31, 0x60 +/* 80303A08 00300968 41 82 00 0C */ beq lbl_80303A14 +/* 80303A0C 0030096C 7F 44 D3 78 */ mr r4, r26 +/* 80303A10 00300970 48 03 D4 99 */ bl __ct__6CTokenFRC6CToken +lbl_80303A14: +/* 80303A14 00300974 38 00 00 01 */ li r0, 1 +/* 80303A18 00300978 98 1F 00 68 */ stb r0, 0x68(r31) +/* 80303A1C 0030097C 48 00 00 10 */ b lbl_80303A2C +lbl_80303A20: +/* 80303A20 00300980 7F 44 D3 78 */ mr r4, r26 +/* 80303A24 00300984 38 7F 00 60 */ addi r3, r31, 0x60 +/* 80303A28 00300988 48 03 D2 9D */ bl __as__6CTokenFRC6CToken +lbl_80303A2C: +/* 80303A2C 0030098C 80 7A 00 00 */ lwz r3, 0(r26) +/* 80303A30 00300990 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80303A34 00300994 28 00 00 00 */ cmplwi r0, 0 +/* 80303A38 00300998 41 82 00 D4 */ beq lbl_80303B0C +/* 80303A3C 0030099C 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 80303A40 003009A0 28 00 00 00 */ cmplwi r0, 0 +/* 80303A44 003009A4 41 82 00 60 */ beq lbl_80303AA4 +/* 80303A48 003009A8 3B 5F 00 60 */ addi r26, r31, 0x60 +/* 80303A4C 003009AC 7F 43 D3 78 */ mr r3, r26 +/* 80303A50 003009B0 48 03 D3 BD */ bl GetObj__6CTokenFv +/* 80303A54 003009B4 83 A3 00 04 */ lwz r29, 4(r3) +/* 80303A58 003009B8 7F 43 D3 78 */ mr r3, r26 +/* 80303A5C 003009BC 48 03 D3 B1 */ bl GetObj__6CTokenFv +/* 80303A60 003009C0 83 83 00 04 */ lwz r28, 4(r3) +/* 80303A64 003009C4 7F 43 D3 78 */ mr r3, r26 +/* 80303A68 003009C8 48 03 D3 A5 */ bl GetObj__6CTokenFv +/* 80303A6C 003009CC 83 63 00 04 */ lwz r27, 4(r3) +/* 80303A70 003009D0 7F A3 EB 78 */ mr r3, r29 +/* 80303A74 003009D4 4B FF C4 F1 */ bl GetBaseLine__11CRasterFontCFv +/* 80303A78 003009D8 7C 7E 1B 78 */ mr r30, r3 +/* 80303A7C 003009DC 7F 83 E3 78 */ mr r3, r28 +/* 80303A80 003009E0 4B FF CC 39 */ bl GetCarriageAdvance__11CRasterFontFv +/* 80303A84 003009E4 7C 7D 1B 78 */ mr r29, r3 +/* 80303A88 003009E8 7F 63 DB 78 */ mr r3, r27 +/* 80303A8C 003009EC 4B FF CC 79 */ bl GetMonoWidth__11CRasterFontCFv +/* 80303A90 003009F0 7C 64 1B 78 */ mr r4, r3 +/* 80303A94 003009F4 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 80303A98 003009F8 7F A5 EB 78 */ mr r5, r29 +/* 80303A9C 003009FC 7F C6 F3 78 */ mr r6, r30 +/* 80303AA0 00300A00 48 00 23 C1 */ bl TestLargestFont__17CBlockInstructionFiii +lbl_80303AA4: +/* 80303AA4 00300A04 80 1F 00 A4 */ lwz r0, 0xa4(r31) +/* 80303AA8 00300A08 28 00 00 00 */ cmplwi r0, 0 +/* 80303AAC 00300A0C 41 82 00 60 */ beq lbl_80303B0C +/* 80303AB0 00300A10 3B 5F 00 60 */ addi r26, r31, 0x60 +/* 80303AB4 00300A14 7F 43 D3 78 */ mr r3, r26 +/* 80303AB8 00300A18 48 03 D3 55 */ bl GetObj__6CTokenFv +/* 80303ABC 00300A1C 83 63 00 04 */ lwz r27, 4(r3) +/* 80303AC0 00300A20 7F 43 D3 78 */ mr r3, r26 +/* 80303AC4 00300A24 48 03 D3 49 */ bl GetObj__6CTokenFv +/* 80303AC8 00300A28 83 83 00 04 */ lwz r28, 4(r3) +/* 80303ACC 00300A2C 7F 43 D3 78 */ mr r3, r26 +/* 80303AD0 00300A30 48 03 D3 3D */ bl GetObj__6CTokenFv +/* 80303AD4 00300A34 83 43 00 04 */ lwz r26, 4(r3) +/* 80303AD8 00300A38 7F 63 DB 78 */ mr r3, r27 +/* 80303ADC 00300A3C 4B FF C4 89 */ bl GetBaseLine__11CRasterFontCFv +/* 80303AE0 00300A40 7C 7D 1B 78 */ mr r29, r3 +/* 80303AE4 00300A44 7F 83 E3 78 */ mr r3, r28 +/* 80303AE8 00300A48 4B FF CB D1 */ bl GetCarriageAdvance__11CRasterFontFv +/* 80303AEC 00300A4C 7C 7E 1B 78 */ mr r30, r3 +/* 80303AF0 00300A50 7F 43 D3 78 */ mr r3, r26 +/* 80303AF4 00300A54 4B FF CC 11 */ bl GetMonoWidth__11CRasterFontCFv +/* 80303AF8 00300A58 7C 64 1B 78 */ mr r4, r3 +/* 80303AFC 00300A5C 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 80303B00 00300A60 7F C5 F3 78 */ mr r5, r30 +/* 80303B04 00300A64 7F A6 EB 78 */ mr r6, r29 +/* 80303B08 00300A68 4B FF BE 9D */ bl TestLargestFont__16CLineInstructionFiii +lbl_80303B0C: +/* 80303B0C 00300A6C 38 61 00 0C */ addi r3, r1, 0xc +/* 80303B10 00300A70 4B D2 58 FD */ bl sub_8002940c +/* 80303B14 00300A74 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80303B18 00300A78 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80303B1C 00300A7C 7C 08 03 A6 */ mtlr r0 +/* 80303B20 00300A80 38 21 00 30 */ addi r1, r1, 0x30 +/* 80303B24 00300A84 4E 80 00 20 */ blr + +.global EndBlock__18CTextExecuteBufferFv +EndBlock__18CTextExecuteBufferFv: +/* 80303B28 00300A88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80303B2C 00300A8C 7C 08 02 A6 */ mflr r0 +/* 80303B30 00300A90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80303B34 00300A94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80303B38 00300A98 7C 7F 1B 78 */ mr r31, r3 +/* 80303B3C 00300A9C 80 03 00 A4 */ lwz r0, 0xa4(r3) +/* 80303B40 00300AA0 28 00 00 00 */ cmplwi r0, 0 +/* 80303B44 00300AA4 41 82 00 08 */ beq lbl_80303B4C +/* 80303B48 00300AA8 4B FF F3 59 */ bl sub_80302ea0 +lbl_80303B4C: +/* 80303B4C 00300AAC 38 00 00 00 */ li r0, 0 +/* 80303B50 00300AB0 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 80303B54 00300AB4 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 80303B58 00300AB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80303B5C 00300ABC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80303B60 00300AC0 7C 08 03 A6 */ mtlr r0 +/* 80303B64 00300AC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80303B68 00300AC8 4E 80 00 20 */ blr + +.global BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification +BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification: +/* 80303B6C 00300ACC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80303B70 00300AD0 7C 08 02 A6 */ mflr r0 +/* 80303B74 00300AD4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80303B78 00300AD8 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 80303B7C 00300ADC 7C 7C 1B 78 */ mr r28, r3 +/* 80303B80 00300AE0 3C 60 80 3D */ lis r3, lbl_803D6E90@ha +/* 80303B84 00300AE4 7C B8 2B 78 */ mr r24, r5 +/* 80303B88 00300AE8 38 03 6E 90 */ addi r0, r3, lbl_803D6E90@l +/* 80303B8C 00300AEC 7C 97 23 78 */ mr r23, r4 +/* 80303B90 00300AF0 83 E1 00 48 */ lwz r31, 0x48(r1) +/* 80303B94 00300AF4 7C DB 33 78 */ mr r27, r6 +/* 80303B98 00300AF8 7C F9 3B 78 */ mr r25, r7 +/* 80303B9C 00300AFC 7D 3D 4B 78 */ mr r29, r9 +/* 80303BA0 00300B00 7D 5E 53 78 */ mr r30, r10 +/* 80303BA4 00300B04 7C 04 03 78 */ mr r4, r0 +/* 80303BA8 00300B08 38 60 00 38 */ li r3, 0x38 +/* 80303BAC 00300B0C 38 A0 00 00 */ li r5, 0 +/* 80303BB0 00300B10 99 1C 00 C0 */ stb r8, 0xc0(r28) +/* 80303BB4 00300B14 48 01 1C B9 */ bl __nw__FUlPCcPCc +/* 80303BB8 00300B18 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80303BBC 00300B1C 41 82 00 54 */ beq lbl_80303C10 +/* 80303BC0 00300B20 3C 80 80 3E */ lis r4, lbl_803D9A6C@ha +/* 80303BC4 00300B24 3C 60 80 3F */ lis r3, lbl_803ED8C8@ha +/* 80303BC8 00300B28 38 84 9A 6C */ addi r4, r4, lbl_803D9A6C@l +/* 80303BCC 00300B2C 38 00 00 00 */ li r0, 0 +/* 80303BD0 00300B30 90 9A 00 00 */ stw r4, 0(r26) +/* 80303BD4 00300B34 38 63 D8 C8 */ addi r3, r3, lbl_803ED8C8@l +/* 80303BD8 00300B38 90 7A 00 00 */ stw r3, 0(r26) +/* 80303BDC 00300B3C 92 FA 00 04 */ stw r23, 4(r26) +/* 80303BE0 00300B40 93 1A 00 08 */ stw r24, 8(r26) +/* 80303BE4 00300B44 93 7A 00 0C */ stw r27, 0xc(r26) +/* 80303BE8 00300B48 93 3A 00 10 */ stw r25, 0x10(r26) +/* 80303BEC 00300B4C 93 BA 00 14 */ stw r29, 0x14(r26) +/* 80303BF0 00300B50 93 DA 00 18 */ stw r30, 0x18(r26) +/* 80303BF4 00300B54 93 FA 00 1C */ stw r31, 0x1c(r26) +/* 80303BF8 00300B58 90 1A 00 20 */ stw r0, 0x20(r26) +/* 80303BFC 00300B5C 90 1A 00 24 */ stw r0, 0x24(r26) +/* 80303C00 00300B60 90 1A 00 28 */ stw r0, 0x28(r26) +/* 80303C04 00300B64 90 1A 00 2C */ stw r0, 0x2c(r26) +/* 80303C08 00300B68 90 1A 00 30 */ stw r0, 0x30(r26) +/* 80303C0C 00300B6C 90 1A 00 34 */ stw r0, 0x34(r26) +lbl_80303C10: +/* 80303C10 00300B70 3C 80 80 3D */ lis r4, lbl_803D6E90@ha +/* 80303C14 00300B74 38 60 00 08 */ li r3, 8 +/* 80303C18 00300B78 38 84 6E 90 */ addi r4, r4, lbl_803D6E90@l +/* 80303C1C 00300B7C 38 A0 00 00 */ li r5, 0 +/* 80303C20 00300B80 48 01 1C 4D */ bl __nw__FUlPCcPCc +/* 80303C24 00300B84 28 03 00 00 */ cmplwi r3, 0 +/* 80303C28 00300B88 41 82 00 10 */ beq lbl_80303C38 +/* 80303C2C 00300B8C 93 43 00 00 */ stw r26, 0(r3) +/* 80303C30 00300B90 38 00 00 01 */ li r0, 1 +/* 80303C34 00300B94 90 03 00 04 */ stw r0, 4(r3) +lbl_80303C38: +/* 80303C38 00300B98 90 61 00 0C */ stw r3, 0xc(r1) +/* 80303C3C 00300B9C 80 03 00 00 */ lwz r0, 0(r3) +/* 80303C40 00300BA0 38 7C 00 18 */ addi r3, r28, 0x18 +/* 80303C44 00300BA4 90 1C 00 A0 */ stw r0, 0xa0(r28) +/* 80303C48 00300BA8 4B FF DC B1 */ bl IsFinishedLoading__14CSaveableStateFv +/* 80303C4C 00300BAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80303C50 00300BB0 41 82 00 60 */ beq lbl_80303CB0 +/* 80303C54 00300BB4 3B 3C 00 60 */ addi r25, r28, 0x60 +/* 80303C58 00300BB8 7F 23 CB 78 */ mr r3, r25 +/* 80303C5C 00300BBC 48 03 D1 B1 */ bl GetObj__6CTokenFv +/* 80303C60 00300BC0 83 43 00 04 */ lwz r26, 4(r3) +/* 80303C64 00300BC4 7F 23 CB 78 */ mr r3, r25 +/* 80303C68 00300BC8 48 03 D1 A5 */ bl GetObj__6CTokenFv +/* 80303C6C 00300BCC 83 63 00 04 */ lwz r27, 4(r3) +/* 80303C70 00300BD0 7F 23 CB 78 */ mr r3, r25 +/* 80303C74 00300BD4 48 03 D1 99 */ bl GetObj__6CTokenFv +/* 80303C78 00300BD8 83 23 00 04 */ lwz r25, 4(r3) +/* 80303C7C 00300BDC 7F 43 D3 78 */ mr r3, r26 +/* 80303C80 00300BE0 4B FF C2 E5 */ bl GetBaseLine__11CRasterFontCFv +/* 80303C84 00300BE4 7C 7A 1B 78 */ mr r26, r3 +/* 80303C88 00300BE8 7F 63 DB 78 */ mr r3, r27 +/* 80303C8C 00300BEC 4B FF CA 2D */ bl GetCarriageAdvance__11CRasterFontFv +/* 80303C90 00300BF0 7C 7B 1B 78 */ mr r27, r3 +/* 80303C94 00300BF4 7F 23 CB 78 */ mr r3, r25 +/* 80303C98 00300BF8 4B FF CA 6D */ bl GetMonoWidth__11CRasterFontCFv +/* 80303C9C 00300BFC 7C 64 1B 78 */ mr r4, r3 +/* 80303CA0 00300C00 80 7C 00 A0 */ lwz r3, 0xa0(r28) +/* 80303CA4 00300C04 7F 65 DB 78 */ mr r5, r27 +/* 80303CA8 00300C08 7F 46 D3 78 */ mr r6, r26 +/* 80303CAC 00300C0C 48 00 21 B5 */ bl TestLargestFont__17CBlockInstructionFiii +lbl_80303CB0: +/* 80303CB0 00300C10 7F 84 E3 78 */ mr r4, r28 +/* 80303CB4 00300C14 38 61 00 08 */ addi r3, r1, 8 +/* 80303CB8 00300C18 38 A1 00 0C */ addi r5, r1, 0xc +/* 80303CBC 00300C1C 4B FF EC 6D */ bl sub_80302928 +/* 80303CC0 00300C20 93 BC 00 18 */ stw r29, 0x18(r28) +/* 80303CC4 00300C24 38 61 00 0C */ addi r3, r1, 0xc +/* 80303CC8 00300C28 93 DC 00 98 */ stw r30, 0x98(r28) +/* 80303CCC 00300C2C 93 FC 00 9C */ stw r31, 0x9c(r28) +/* 80303CD0 00300C30 4B D2 57 3D */ bl sub_8002940c +/* 80303CD4 00300C34 BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 80303CD8 00300C38 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80303CDC 00300C3C 7C 08 03 A6 */ mtlr r0 +/* 80303CE0 00300C40 38 21 00 40 */ addi r1, r1, 0x40 +/* 80303CE4 00300C44 4E 80 00 20 */ blr + +.global Clear__18CTextExecuteBufferFv +Clear__18CTextExecuteBufferFv: +/* 80303CE8 00300C48 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80303CEC 00300C4C 7C 08 02 A6 */ mflr r0 +/* 80303CF0 00300C50 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80303CF4 00300C54 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 80303CF8 00300C58 93 C1 00 98 */ stw r30, 0x98(r1) +/* 80303CFC 00300C5C 7C 7E 1B 78 */ mr r30, r3 +/* 80303D00 00300C60 83 E3 00 08 */ lwz r31, 8(r3) +/* 80303D04 00300C64 80 83 00 04 */ lwz r4, 4(r3) +/* 80303D08 00300C68 48 00 00 10 */ b lbl_80303D18 +lbl_80303D0C: +/* 80303D0C 00300C6C 7F C3 F3 78 */ mr r3, r30 +/* 80303D10 00300C70 48 00 02 B9 */ bl sub_80303fc8 +/* 80303D14 00300C74 7C 64 1B 78 */ mr r4, r3 +lbl_80303D18: +/* 80303D18 00300C78 7C 04 F8 40 */ cmplw r4, r31 +/* 80303D1C 00300C7C 40 82 FF F0 */ bne lbl_80303D0C +/* 80303D20 00300C80 38 61 00 08 */ addi r3, r1, 8 +/* 80303D24 00300C84 4B FF DC 5D */ bl __ct__14CSaveableStateFv +/* 80303D28 00300C88 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80303D2C 00300C8C 38 81 00 08 */ addi r4, r1, 8 +/* 80303D30 00300C90 4B FF B0 0D */ bl __as__14CSaveableStateFRC14CSaveableState +/* 80303D34 00300C94 38 61 00 08 */ addi r3, r1, 8 +/* 80303D38 00300C98 38 80 FF FF */ li r4, -1 +/* 80303D3C 00300C9C 4B D2 4F E9 */ bl __dt__14CSaveableStateFv +/* 80303D40 00300CA0 38 60 00 00 */ li r3, 0 +/* 80303D44 00300CA4 90 7E 00 A0 */ stw r3, 0xa0(r30) +/* 80303D48 00300CA8 90 7E 00 A4 */ stw r3, 0xa4(r30) +/* 80303D4C 00300CAC 80 1E 00 08 */ lwz r0, 8(r30) +/* 80303D50 00300CB0 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 80303D54 00300CB4 90 7E 00 B4 */ stw r3, 0xb4(r30) +/* 80303D58 00300CB8 90 7E 00 B8 */ stw r3, 0xb8(r30) +/* 80303D5C 00300CBC 90 7E 00 BC */ stw r3, 0xbc(r30) +/* 80303D60 00300CC0 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80303D64 00300CC4 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80303D68 00300CC8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80303D6C 00300CCC 7C 08 03 A6 */ mtlr r0 +/* 80303D70 00300CD0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80303D74 00300CD4 4E 80 00 20 */ blr + +.global __ct__18CTextExecuteBufferFv +__ct__18CTextExecuteBufferFv: +/* 80303D78 00300CD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80303D7C 00300CDC 7C 08 02 A6 */ mflr r0 +/* 80303D80 00300CE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80303D84 00300CE4 38 00 00 00 */ li r0, 0 +/* 80303D88 00300CE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80303D8C 00300CEC 7C 7F 1B 78 */ mr r31, r3 +/* 80303D90 00300CF0 38 9F 00 0C */ addi r4, r31, 0xc +/* 80303D94 00300CF4 90 83 00 04 */ stw r4, 4(r3) +/* 80303D98 00300CF8 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80303D9C 00300CFC 90 9F 00 08 */ stw r4, 8(r31) +/* 80303DA0 00300D00 90 84 00 00 */ stw r4, 0(r4) +/* 80303DA4 00300D04 90 9F 00 10 */ stw r4, 0x10(r31) +/* 80303DA8 00300D08 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80303DAC 00300D0C 4B FF DB D5 */ bl __ct__14CSaveableStateFv +/* 80303DB0 00300D10 38 A0 00 00 */ li r5, 0 +/* 80303DB4 00300D14 38 1F 00 D0 */ addi r0, r31, 0xd0 +/* 80303DB8 00300D18 90 BF 00 A0 */ stw r5, 0xa0(r31) +/* 80303DBC 00300D1C 7F E3 FB 78 */ mr r3, r31 +/* 80303DC0 00300D20 90 BF 00 A4 */ stw r5, 0xa4(r31) +/* 80303DC4 00300D24 80 9F 00 08 */ lwz r4, 8(r31) +/* 80303DC8 00300D28 90 9F 00 A8 */ stw r4, 0xa8(r31) +/* 80303DCC 00300D2C 90 BF 00 B4 */ stw r5, 0xb4(r31) +/* 80303DD0 00300D30 90 BF 00 B8 */ stw r5, 0xb8(r31) +/* 80303DD4 00300D34 90 BF 00 BC */ stw r5, 0xbc(r31) +/* 80303DD8 00300D38 98 BF 00 C0 */ stb r5, 0xc0(r31) +/* 80303DDC 00300D3C 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 80303DE0 00300D40 90 1F 00 CC */ stw r0, 0xcc(r31) +/* 80303DE4 00300D44 90 1F 00 D0 */ stw r0, 0xd0(r31) +/* 80303DE8 00300D48 90 1F 00 D4 */ stw r0, 0xd4(r31) +/* 80303DEC 00300D4C 90 BF 00 D8 */ stw r5, 0xd8(r31) +/* 80303DF0 00300D50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80303DF4 00300D54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80303DF8 00300D58 7C 08 03 A6 */ mtlr r0 +/* 80303DFC 00300D5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80303E00 00300D60 4E 80 00 20 */ blr + +.global sub_80303e04 +sub_80303e04: +/* 80303E04 00300D64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80303E08 00300D68 7C 08 02 A6 */ mflr r0 +/* 80303E0C 00300D6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80303E10 00300D70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80303E14 00300D74 7C 7F 1B 78 */ mr r31, r3 +/* 80303E18 00300D78 38 61 00 08 */ addi r3, r1, 8 +/* 80303E1C 00300D7C 80 04 00 00 */ lwz r0, 0(r4) +/* 80303E20 00300D80 7C A4 2B 78 */ mr r4, r5 +/* 80303E24 00300D84 90 01 00 08 */ stw r0, 8(r1) +/* 80303E28 00300D88 48 00 00 21 */ bl sub_80303e48 +/* 80303E2C 00300D8C 80 01 00 08 */ lwz r0, 8(r1) +/* 80303E30 00300D90 90 1F 00 00 */ stw r0, 0(r31) +/* 80303E34 00300D94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80303E38 00300D98 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80303E3C 00300D9C 7C 08 03 A6 */ mtlr r0 +/* 80303E40 00300DA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80303E44 00300DA4 4E 80 00 20 */ blr + +.global sub_80303e48 +sub_80303e48: +/* 80303E48 00300DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80303E4C 00300DAC 7C 08 02 A6 */ mflr r0 +/* 80303E50 00300DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80303E54 00300DB4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80303E58 00300DB8 88 01 00 08 */ lbz r0, 8(r1) +/* 80303E5C 00300DBC 98 01 00 0C */ stb r0, 0xc(r1) +/* 80303E60 00300DC0 48 00 00 15 */ bl sub_80303e74 +/* 80303E64 00300DC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80303E68 00300DC8 7C 08 03 A6 */ mtlr r0 +/* 80303E6C 00300DCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80303E70 00300DD0 4E 80 00 20 */ blr + +.global sub_80303e74 +sub_80303e74: +/* 80303E74 00300DD4 2C 04 00 00 */ cmpwi r4, 0 +/* 80303E78 00300DD8 40 81 00 B8 */ ble lbl_80303F30 +/* 80303E7C 00300DDC 38 C0 00 00 */ li r6, 0 +/* 80303E80 00300DE0 4C 81 00 20 */ blelr +/* 80303E84 00300DE4 2C 04 00 08 */ cmpwi r4, 8 +/* 80303E88 00300DE8 38 A4 FF F8 */ addi r5, r4, -8 +/* 80303E8C 00300DEC 40 81 00 80 */ ble lbl_80303F0C +/* 80303E90 00300DF0 38 05 00 07 */ addi r0, r5, 7 +/* 80303E94 00300DF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80303E98 00300DF8 7C 09 03 A6 */ mtctr r0 +/* 80303E9C 00300DFC 2C 05 00 00 */ cmpwi r5, 0 +/* 80303EA0 00300E00 40 81 00 6C */ ble lbl_80303F0C +lbl_80303EA4: +/* 80303EA4 00300E04 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303EA8 00300E08 38 C6 00 08 */ addi r6, r6, 8 +/* 80303EAC 00300E0C 80 05 00 04 */ lwz r0, 4(r5) +/* 80303EB0 00300E10 90 03 00 00 */ stw r0, 0(r3) +/* 80303EB4 00300E14 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303EB8 00300E18 80 05 00 04 */ lwz r0, 4(r5) +/* 80303EBC 00300E1C 90 03 00 00 */ stw r0, 0(r3) +/* 80303EC0 00300E20 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303EC4 00300E24 80 05 00 04 */ lwz r0, 4(r5) +/* 80303EC8 00300E28 90 03 00 00 */ stw r0, 0(r3) +/* 80303ECC 00300E2C 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303ED0 00300E30 80 05 00 04 */ lwz r0, 4(r5) +/* 80303ED4 00300E34 90 03 00 00 */ stw r0, 0(r3) +/* 80303ED8 00300E38 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303EDC 00300E3C 80 05 00 04 */ lwz r0, 4(r5) +/* 80303EE0 00300E40 90 03 00 00 */ stw r0, 0(r3) +/* 80303EE4 00300E44 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303EE8 00300E48 80 05 00 04 */ lwz r0, 4(r5) +/* 80303EEC 00300E4C 90 03 00 00 */ stw r0, 0(r3) +/* 80303EF0 00300E50 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303EF4 00300E54 80 05 00 04 */ lwz r0, 4(r5) +/* 80303EF8 00300E58 90 03 00 00 */ stw r0, 0(r3) +/* 80303EFC 00300E5C 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F00 00300E60 80 05 00 04 */ lwz r0, 4(r5) +/* 80303F04 00300E64 90 03 00 00 */ stw r0, 0(r3) +/* 80303F08 00300E68 42 00 FF 9C */ bdnz lbl_80303EA4 +lbl_80303F0C: +/* 80303F0C 00300E6C 7C 06 20 50 */ subf r0, r6, r4 +/* 80303F10 00300E70 7C 09 03 A6 */ mtctr r0 +/* 80303F14 00300E74 7C 06 20 00 */ cmpw r6, r4 +/* 80303F18 00300E78 4C 80 00 20 */ bgelr +lbl_80303F1C: +/* 80303F1C 00300E7C 80 83 00 00 */ lwz r4, 0(r3) +/* 80303F20 00300E80 80 04 00 04 */ lwz r0, 4(r4) +/* 80303F24 00300E84 90 03 00 00 */ stw r0, 0(r3) +/* 80303F28 00300E88 42 00 FF F4 */ bdnz lbl_80303F1C +/* 80303F2C 00300E8C 4E 80 00 20 */ blr +lbl_80303F30: +/* 80303F30 00300E90 7C 84 00 D0 */ neg r4, r4 +/* 80303F34 00300E94 4C 80 00 20 */ bgelr +/* 80303F38 00300E98 54 80 E8 FF */ rlwinm. r0, r4, 0x1d, 3, 0x1f +/* 80303F3C 00300E9C 7C 09 03 A6 */ mtctr r0 +/* 80303F40 00300EA0 41 82 00 70 */ beq lbl_80303FB0 +lbl_80303F44: +/* 80303F44 00300EA4 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F48 00300EA8 80 05 00 00 */ lwz r0, 0(r5) +/* 80303F4C 00300EAC 90 03 00 00 */ stw r0, 0(r3) +/* 80303F50 00300EB0 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F54 00300EB4 80 05 00 00 */ lwz r0, 0(r5) +/* 80303F58 00300EB8 90 03 00 00 */ stw r0, 0(r3) +/* 80303F5C 00300EBC 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F60 00300EC0 80 05 00 00 */ lwz r0, 0(r5) +/* 80303F64 00300EC4 90 03 00 00 */ stw r0, 0(r3) +/* 80303F68 00300EC8 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F6C 00300ECC 80 05 00 00 */ lwz r0, 0(r5) +/* 80303F70 00300ED0 90 03 00 00 */ stw r0, 0(r3) +/* 80303F74 00300ED4 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F78 00300ED8 80 05 00 00 */ lwz r0, 0(r5) +/* 80303F7C 00300EDC 90 03 00 00 */ stw r0, 0(r3) +/* 80303F80 00300EE0 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F84 00300EE4 80 05 00 00 */ lwz r0, 0(r5) +/* 80303F88 00300EE8 90 03 00 00 */ stw r0, 0(r3) +/* 80303F8C 00300EEC 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F90 00300EF0 80 05 00 00 */ lwz r0, 0(r5) +/* 80303F94 00300EF4 90 03 00 00 */ stw r0, 0(r3) +/* 80303F98 00300EF8 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303F9C 00300EFC 80 05 00 00 */ lwz r0, 0(r5) +/* 80303FA0 00300F00 90 03 00 00 */ stw r0, 0(r3) +/* 80303FA4 00300F04 42 00 FF A0 */ bdnz lbl_80303F44 +/* 80303FA8 00300F08 70 84 00 07 */ andi. r4, r4, 7 +/* 80303FAC 00300F0C 4D 82 00 20 */ beqlr +lbl_80303FB0: +/* 80303FB0 00300F10 7C 89 03 A6 */ mtctr r4 +lbl_80303FB4: +/* 80303FB4 00300F14 80 A3 00 00 */ lwz r5, 0(r3) +/* 80303FB8 00300F18 80 05 00 00 */ lwz r0, 0(r5) +/* 80303FBC 00300F1C 90 03 00 00 */ stw r0, 0(r3) +/* 80303FC0 00300F20 42 00 FF F4 */ bdnz lbl_80303FB4 +/* 80303FC4 00300F24 4E 80 00 20 */ blr + +.global sub_80303fc8 +sub_80303fc8: +/* 80303FC8 00300F28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80303FCC 00300F2C 7C 08 02 A6 */ mflr r0 +/* 80303FD0 00300F30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80303FD4 00300F34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80303FD8 00300F38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80303FDC 00300F3C 7C 9E 23 78 */ mr r30, r4 +/* 80303FE0 00300F40 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80303FE4 00300F44 7C 7D 1B 78 */ mr r29, r3 +/* 80303FE8 00300F48 80 03 00 04 */ lwz r0, 4(r3) +/* 80303FEC 00300F4C 83 E4 00 04 */ lwz r31, 4(r4) +/* 80303FF0 00300F50 7C 1E 00 40 */ cmplw r30, r0 +/* 80303FF4 00300F54 40 82 00 08 */ bne lbl_80303FFC +/* 80303FF8 00300F58 93 FD 00 04 */ stw r31, 4(r29) +lbl_80303FFC: +/* 80303FFC 00300F5C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80304000 00300F60 34 7E 00 08 */ addic. r3, r30, 8 +/* 80304004 00300F64 80 9E 00 00 */ lwz r4, 0(r30) +/* 80304008 00300F68 90 04 00 04 */ stw r0, 4(r4) +/* 8030400C 00300F6C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80304010 00300F70 80 9E 00 04 */ lwz r4, 4(r30) +/* 80304014 00300F74 90 04 00 00 */ stw r0, 0(r4) +/* 80304018 00300F78 41 82 00 10 */ beq lbl_80304028 +/* 8030401C 00300F7C 28 03 00 00 */ cmplwi r3, 0 +/* 80304020 00300F80 41 82 00 08 */ beq lbl_80304028 +/* 80304024 00300F84 4B D2 53 E9 */ bl sub_8002940c +lbl_80304028: +/* 80304028 00300F88 28 1E 00 00 */ cmplwi r30, 0 +/* 8030402C 00300F8C 41 82 00 0C */ beq lbl_80304038 +/* 80304030 00300F90 7F C3 F3 78 */ mr r3, r30 +/* 80304034 00300F94 48 01 18 FD */ bl Free__7CMemoryFPCv +lbl_80304038: +/* 80304038 00300F98 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8030403C 00300F9C 7F E3 FB 78 */ mr r3, r31 +/* 80304040 00300FA0 38 04 FF FF */ addi r0, r4, -1 +/* 80304044 00300FA4 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80304048 00300FA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030404C 00300FAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80304050 00300FB0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80304054 00300FB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80304058 00300FB8 7C 08 03 A6 */ mtlr r0 +/* 8030405C 00300FBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80304060 00300FC0 4E 80 00 20 */ blr + +.global __dt__16CTextInstructionFv +__dt__16CTextInstructionFv: +/* 80304064 00300FC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80304068 00300FC8 7C 08 02 A6 */ mflr r0 +/* 8030406C 00300FCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80304070 00300FD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80304074 00300FD4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80304078 00300FD8 41 82 00 30 */ beq lbl_803040A8 +/* 8030407C 00300FDC 3C 60 80 3F */ lis r3, lbl_803ED6F8@ha +/* 80304080 00300FE0 38 03 D6 F8 */ addi r0, r3, lbl_803ED6F8@l +/* 80304084 00300FE4 90 1F 00 00 */ stw r0, 0(r31) +/* 80304088 00300FE8 41 82 00 10 */ beq lbl_80304098 +/* 8030408C 00300FEC 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 80304090 00300FF0 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 80304094 00300FF4 90 1F 00 00 */ stw r0, 0(r31) +lbl_80304098: +/* 80304098 00300FF8 7C 80 07 35 */ extsh. r0, r4 +/* 8030409C 00300FFC 40 81 00 0C */ ble lbl_803040A8 +/* 803040A0 00301000 7F E3 FB 78 */ mr r3, r31 +/* 803040A4 00301004 48 01 18 8D */ bl Free__7CMemoryFPCv +lbl_803040A8: +/* 803040A8 00301008 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803040AC 0030100C 7F E3 FB 78 */ mr r3, r31 +/* 803040B0 00301010 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803040B4 00301014 7C 08 03 A6 */ mtlr r0 +/* 803040B8 00301018 38 21 00 10 */ addi r1, r1, 0x10 +/* 803040BC 0030101C 4E 80 00 20 */ blr + +.global __ct__16CTextInstructionFPCwi +__ct__16CTextInstructionFPCwi: +/* 803040C0 00301020 3C E0 80 3E */ lis r7, lbl_803D9A6C@ha +/* 803040C4 00301024 3C C0 80 3F */ lis r6, lbl_803ED6F8@ha +/* 803040C8 00301028 38 E7 9A 6C */ addi r7, r7, lbl_803D9A6C@l +/* 803040CC 0030102C 2C 05 00 00 */ cmpwi r5, 0 +/* 803040D0 00301030 90 E3 00 00 */ stw r7, 0(r3) +/* 803040D4 00301034 38 06 D6 F8 */ addi r0, r6, lbl_803ED6F8@l +/* 803040D8 00301038 39 20 00 00 */ li r9, 0 +/* 803040DC 0030103C 90 03 00 00 */ stw r0, 0(r3) +/* 803040E0 00301040 90 A3 00 04 */ stw r5, 4(r3) +/* 803040E4 00301044 4C 81 00 20 */ blelr +/* 803040E8 00301048 2C 05 00 08 */ cmpwi r5, 8 +/* 803040EC 0030104C 38 C5 FF F8 */ addi r6, r5, -8 +/* 803040F0 00301050 40 81 00 70 */ ble lbl_80304160 +/* 803040F4 00301054 38 06 00 07 */ addi r0, r6, 7 +/* 803040F8 00301058 7C 87 23 78 */ mr r7, r4 +/* 803040FC 0030105C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80304100 00301060 7C 68 1B 78 */ mr r8, r3 +/* 80304104 00301064 7C 09 03 A6 */ mtctr r0 +/* 80304108 00301068 2C 06 00 00 */ cmpwi r6, 0 +/* 8030410C 0030106C 40 81 00 54 */ ble lbl_80304160 +lbl_80304110: +/* 80304110 00301070 A0 07 00 00 */ lhz r0, 0(r7) +/* 80304114 00301074 39 29 00 08 */ addi r9, r9, 8 +/* 80304118 00301078 B0 08 00 08 */ sth r0, 8(r8) +/* 8030411C 0030107C A0 07 00 02 */ lhz r0, 2(r7) +/* 80304120 00301080 B0 08 00 0A */ sth r0, 0xa(r8) +/* 80304124 00301084 A0 07 00 04 */ lhz r0, 4(r7) +/* 80304128 00301088 B0 08 00 0C */ sth r0, 0xc(r8) +/* 8030412C 0030108C A0 07 00 06 */ lhz r0, 6(r7) +/* 80304130 00301090 B0 08 00 0E */ sth r0, 0xe(r8) +/* 80304134 00301094 A0 07 00 08 */ lhz r0, 8(r7) +/* 80304138 00301098 B0 08 00 10 */ sth r0, 0x10(r8) +/* 8030413C 0030109C A0 07 00 0A */ lhz r0, 0xa(r7) +/* 80304140 003010A0 B0 08 00 12 */ sth r0, 0x12(r8) +/* 80304144 003010A4 A0 07 00 0C */ lhz r0, 0xc(r7) +/* 80304148 003010A8 B0 08 00 14 */ sth r0, 0x14(r8) +/* 8030414C 003010AC A0 07 00 0E */ lhz r0, 0xe(r7) +/* 80304150 003010B0 38 E7 00 10 */ addi r7, r7, 0x10 +/* 80304154 003010B4 B0 08 00 16 */ sth r0, 0x16(r8) +/* 80304158 003010B8 39 08 00 10 */ addi r8, r8, 0x10 +/* 8030415C 003010BC 42 00 FF B4 */ bdnz lbl_80304110 +lbl_80304160: +/* 80304160 003010C0 55 26 08 3C */ slwi r6, r9, 1 +/* 80304164 003010C4 7C 09 28 50 */ subf r0, r9, r5 +/* 80304168 003010C8 7C 84 32 14 */ add r4, r4, r6 +/* 8030416C 003010CC 7C C3 32 14 */ add r6, r3, r6 +/* 80304170 003010D0 7C 09 03 A6 */ mtctr r0 +/* 80304174 003010D4 7C 09 28 00 */ cmpw r9, r5 +/* 80304178 003010D8 4C 80 00 20 */ bgelr +lbl_8030417C: +/* 8030417C 003010DC A0 04 00 00 */ lhz r0, 0(r4) +/* 80304180 003010E0 38 84 00 02 */ addi r4, r4, 2 +/* 80304184 003010E4 B0 06 00 08 */ sth r0, 8(r6) +/* 80304188 003010E8 38 C6 00 02 */ addi r6, r6, 2 +/* 8030418C 003010EC 42 00 FF F0 */ bdnz lbl_8030417C +/* 80304190 003010F0 4E 80 00 20 */ blr + +.global Invoke__16CTextInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__16CTextInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 80304194 003010F4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80304198 003010F8 7C 08 02 A6 */ mflr r0 +/* 8030419C 003010FC 90 01 00 44 */ stw r0, 0x44(r1) +/* 803041A0 00301100 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 803041A4 00301104 7C 7D 1B 78 */ mr r29, r3 +/* 803041A8 00301108 7C 9E 23 78 */ mr r30, r4 +/* 803041AC 0030110C 7C BF 2B 78 */ mr r31, r5 +/* 803041B0 00301110 80 64 00 88 */ lwz r3, 0x88(r4) +/* 803041B4 00301114 80 03 00 14 */ lwz r0, 0x14(r3) +/* 803041B8 00301118 2C 00 00 00 */ cmpwi r0, 0 +/* 803041BC 0030111C 40 82 00 58 */ bne lbl_80304214 +/* 803041C0 00301120 80 7E 00 DC */ lwz r3, 0xdc(r30) +/* 803041C4 00301124 4B FF B7 39 */ bl GetBaseline__16CLineInstructionFv +/* 803041C8 00301128 83 7E 00 D8 */ lwz r27, 0xd8(r30) +/* 803041CC 0030112C 7C 7C 1B 78 */ mr r28, r3 +/* 803041D0 00301130 83 5E 00 D4 */ lwz r26, 0xd4(r30) +/* 803041D4 00301134 38 7E 00 48 */ addi r3, r30, 0x48 +/* 803041D8 00301138 48 03 CC 35 */ bl GetObj__6CTokenFv +/* 803041DC 0030113C 80 1D 00 04 */ lwz r0, 4(r29) +/* 803041E0 00301140 7F C4 F3 78 */ mr r4, r30 +/* 803041E4 00301144 7F 45 D3 78 */ mr r5, r26 +/* 803041E8 00301148 7F E9 FB 78 */ mr r9, r31 +/* 803041EC 0030114C 90 01 00 08 */ stw r0, 8(r1) +/* 803041F0 00301150 7C DC DA 14 */ add r6, r28, r27 +/* 803041F4 00301154 38 E1 00 1C */ addi r7, r1, 0x1c +/* 803041F8 00301158 39 01 00 18 */ addi r8, r1, 0x18 +/* 803041FC 0030115C 80 63 00 04 */ lwz r3, 4(r3) +/* 80304200 00301160 39 5D 00 08 */ addi r10, r29, 8 +/* 80304204 00301164 4B FF C3 6D */ bl DrawString__11CRasterFontCFRC18CDrawStringOptionsiiRiRiP17CTextRenderBufferPCwi +/* 80304208 00301168 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8030420C 0030116C 90 1E 00 D4 */ stw r0, 0xd4(r30) +/* 80304210 00301170 48 00 00 70 */ b lbl_80304280 +lbl_80304214: +/* 80304214 00301174 38 7E 00 48 */ addi r3, r30, 0x48 +/* 80304218 00301178 48 03 CB F5 */ bl GetObj__6CTokenFv +/* 8030421C 0030117C 80 9E 00 DC */ lwz r4, 0xdc(r30) +/* 80304220 00301180 80 63 00 04 */ lwz r3, 4(r3) +/* 80304224 00301184 83 44 00 08 */ lwz r26, 8(r4) +/* 80304228 00301188 4B FF C4 DD */ bl GetMonoWidth__11CRasterFontCFv +/* 8030422C 0030118C 7C 63 D0 50 */ subf r3, r3, r26 +/* 80304230 00301190 83 5E 00 D8 */ lwz r26, 0xd8(r30) +/* 80304234 00301194 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80304238 00301198 83 7E 00 D4 */ lwz r27, 0xd4(r30) +/* 8030423C 0030119C 7C 00 1A 14 */ add r0, r0, r3 +/* 80304240 003011A0 38 7E 00 48 */ addi r3, r30, 0x48 +/* 80304244 003011A4 7C 1C 0E 70 */ srawi r28, r0, 1 +/* 80304248 003011A8 48 03 CB C5 */ bl GetObj__6CTokenFv +/* 8030424C 003011AC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80304250 003011B0 7F C4 F3 78 */ mr r4, r30 +/* 80304254 003011B4 7F 46 D3 78 */ mr r6, r26 +/* 80304258 003011B8 7F E9 FB 78 */ mr r9, r31 +/* 8030425C 003011BC 90 01 00 08 */ stw r0, 8(r1) +/* 80304260 003011C0 7C BC DA 14 */ add r5, r28, r27 +/* 80304264 003011C4 38 E1 00 14 */ addi r7, r1, 0x14 +/* 80304268 003011C8 39 01 00 10 */ addi r8, r1, 0x10 +/* 8030426C 003011CC 80 63 00 04 */ lwz r3, 4(r3) +/* 80304270 003011D0 39 5D 00 08 */ addi r10, r29, 8 +/* 80304274 003011D4 4B FF C2 FD */ bl DrawString__11CRasterFontCFRC18CDrawStringOptionsiiRiRiP17CTextRenderBufferPCwi +/* 80304278 003011D8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8030427C 003011DC 90 1E 00 D8 */ stw r0, 0xd8(r30) +lbl_80304280: +/* 80304280 003011E0 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 80304284 003011E4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80304288 003011E8 7C 08 03 A6 */ mtlr r0 +/* 8030428C 003011EC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80304290 003011F0 4E 80 00 20 */ blr + +.global Create__16CTextInstructionFPCwi +Create__16CTextInstructionFPCwi: +/* 80304294 003011F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80304298 003011F8 7C 08 02 A6 */ mflr r0 +/* 8030429C 003011FC 38 A0 00 00 */ li r5, 0 +/* 803042A0 00301200 90 01 00 14 */ stw r0, 0x14(r1) +/* 803042A4 00301204 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803042A8 00301208 7C 9F 23 78 */ mr r31, r4 +/* 803042AC 0030120C 3C 80 80 3D */ lis r4, lbl_803D6E98@ha +/* 803042B0 00301210 93 C1 00 08 */ stw r30, 8(r1) +/* 803042B4 00301214 7C 7E 1B 78 */ mr r30, r3 +/* 803042B8 00301218 57 E3 08 3C */ slwi r3, r31, 1 +/* 803042BC 0030121C 38 84 6E 98 */ addi r4, r4, lbl_803D6E98@l +/* 803042C0 00301220 38 63 00 0E */ addi r3, r3, 0xe +/* 803042C4 00301224 48 01 15 55 */ bl __nwa__FUlPCcPCc +/* 803042C8 00301228 7C 60 1B 79 */ or. r0, r3, r3 +/* 803042CC 0030122C 41 82 00 14 */ beq lbl_803042E0 +/* 803042D0 00301230 7F C4 F3 78 */ mr r4, r30 +/* 803042D4 00301234 7F E5 FB 78 */ mr r5, r31 +/* 803042D8 00301238 4B FF FD E9 */ bl __ct__16CTextInstructionFPCwi +/* 803042DC 0030123C 7C 60 1B 78 */ mr r0, r3 +lbl_803042E0: +/* 803042E0 00301240 7C 03 03 78 */ mr r3, r0 +/* 803042E4 00301244 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803042E8 00301248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803042EC 0030124C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803042F0 00301250 7C 08 03 A6 */ mtlr r0 +/* 803042F4 00301254 38 21 00 10 */ addi r1, r1, 0x10 +/* 803042F8 00301258 4E 80 00 20 */ blr + +.global ParseColor__11CTextParserFPCwi +ParseColor__11CTextParserFPCwi: +/* 803042FC 0030125C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80304300 00301260 7C 08 02 A6 */ mflr r0 +/* 80304304 00301264 90 01 00 24 */ stw r0, 0x24(r1) +/* 80304308 00301268 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8030430C 0030126C 7C BC 2B 78 */ mr r28, r5 +/* 80304310 00301270 7C 7B 1B 78 */ mr r27, r3 +/* 80304314 00301274 7C DF 33 78 */ mr r31, r6 +/* 80304318 00301278 38 7C 00 02 */ addi r3, r28, 2 +/* 8030431C 0030127C 48 00 00 5D */ bl GetColorValue__11CTextParserFPCw +/* 80304320 00301280 7C 7D 1B 78 */ mr r29, r3 +/* 80304324 00301284 38 7C 00 06 */ addi r3, r28, 6 +/* 80304328 00301288 48 00 00 51 */ bl GetColorValue__11CTextParserFPCw +/* 8030432C 0030128C 7C 7E 1B 78 */ mr r30, r3 +/* 80304330 00301290 38 7C 00 0A */ addi r3, r28, 0xa +/* 80304334 00301294 48 00 00 45 */ bl GetColorValue__11CTextParserFPCw +/* 80304338 00301298 2C 1F 00 09 */ cmpwi r31, 9 +/* 8030433C 0030129C 7C 7F 1B 78 */ mr r31, r3 +/* 80304340 003012A0 40 82 00 10 */ bne lbl_80304350 +/* 80304344 003012A4 38 7C 00 0E */ addi r3, r28, 0xe +/* 80304348 003012A8 48 00 00 31 */ bl GetColorValue__11CTextParserFPCw +/* 8030434C 003012AC 48 00 00 08 */ b lbl_80304354 +lbl_80304350: +/* 80304350 003012B0 38 60 00 FF */ li r3, 0xff +lbl_80304354: +/* 80304354 003012B4 9B BB 00 00 */ stb r29, 0(r27) +/* 80304358 003012B8 9B DB 00 01 */ stb r30, 1(r27) +/* 8030435C 003012BC 9B FB 00 02 */ stb r31, 2(r27) +/* 80304360 003012C0 98 7B 00 03 */ stb r3, 3(r27) +/* 80304364 003012C4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80304368 003012C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030436C 003012CC 7C 08 03 A6 */ mtlr r0 +/* 80304370 003012D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80304374 003012D4 4E 80 00 20 */ blr + +.global GetColorValue__11CTextParserFPCw +GetColorValue__11CTextParserFPCw: +/* 80304378 003012D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030437C 003012DC 7C 08 02 A6 */ mflr r0 +/* 80304380 003012E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80304384 003012E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80304388 003012E8 7C 7F 1B 78 */ mr r31, r3 +/* 8030438C 003012EC A0 63 00 00 */ lhz r3, 0(r3) +/* 80304390 003012F0 48 00 00 2D */ bl FromHex__11CTextParserFw +/* 80304394 003012F4 A0 1F 00 02 */ lhz r0, 2(r31) +/* 80304398 003012F8 54 7F 20 36 */ slwi r31, r3, 4 +/* 8030439C 003012FC 7C 03 03 78 */ mr r3, r0 +/* 803043A0 00301300 48 00 00 1D */ bl FromHex__11CTextParserFw +/* 803043A4 00301304 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803043A8 00301308 7C 63 FA 14 */ add r3, r3, r31 +/* 803043AC 0030130C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803043B0 00301310 7C 08 03 A6 */ mtlr r0 +/* 803043B4 00301314 38 21 00 10 */ addi r1, r1, 0x10 +/* 803043B8 00301318 4E 80 00 20 */ blr + +.global FromHex__11CTextParserFw +FromHex__11CTextParserFw: +/* 803043BC 0030131C 54 64 04 3E */ clrlwi r4, r3, 0x10 +/* 803043C0 00301320 28 04 00 30 */ cmplwi r4, 0x30 +/* 803043C4 00301324 41 80 00 14 */ blt lbl_803043D8 +/* 803043C8 00301328 28 04 00 39 */ cmplwi r4, 0x39 +/* 803043CC 0030132C 41 81 00 0C */ bgt lbl_803043D8 +/* 803043D0 00301330 38 64 FF D0 */ addi r3, r4, -48 +/* 803043D4 00301334 4E 80 00 20 */ blr +lbl_803043D8: +/* 803043D8 00301338 54 64 04 3E */ clrlwi r4, r3, 0x10 +/* 803043DC 0030133C 28 04 00 41 */ cmplwi r4, 0x41 +/* 803043E0 00301340 41 80 00 14 */ blt lbl_803043F4 +/* 803043E4 00301344 28 04 00 46 */ cmplwi r4, 0x46 +/* 803043E8 00301348 41 81 00 0C */ bgt lbl_803043F4 +/* 803043EC 0030134C 38 64 FF C9 */ addi r3, r4, -55 +/* 803043F0 00301350 4E 80 00 20 */ blr +lbl_803043F4: +/* 803043F4 00301354 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 803043F8 00301358 28 03 00 61 */ cmplwi r3, 0x61 +/* 803043FC 0030135C 41 80 00 14 */ blt lbl_80304410 +/* 80304400 00301360 28 03 00 66 */ cmplwi r3, 0x66 +/* 80304404 00301364 41 81 00 0C */ bgt lbl_80304410 +/* 80304408 00301368 38 63 FF A9 */ addi r3, r3, -87 +/* 8030440C 0030136C 4E 80 00 20 */ blr +lbl_80304410: +/* 80304410 00301370 38 60 00 00 */ li r3, 0 +/* 80304414 00301374 4E 80 00 20 */ blr + +.global ParseInt__11CTextParserFPCwib +ParseInt__11CTextParserFPCwib: +/* 80304418 00301378 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8030441C 0030137C 38 C0 00 00 */ li r6, 0 +/* 80304420 00301380 38 E0 00 00 */ li r7, 0 +/* 80304424 00301384 41 82 00 20 */ beq lbl_80304444 +/* 80304428 00301388 2C 04 00 00 */ cmpwi r4, 0 +/* 8030442C 0030138C 40 81 00 18 */ ble lbl_80304444 +/* 80304430 00301390 A0 03 00 00 */ lhz r0, 0(r3) +/* 80304434 00301394 28 00 00 2D */ cmplwi r0, 0x2d +/* 80304438 00301398 40 82 00 0C */ bne lbl_80304444 +/* 8030443C 0030139C 38 C0 00 01 */ li r6, 1 +/* 80304440 003013A0 38 E0 00 01 */ li r7, 1 +lbl_80304444: +/* 80304444 003013A4 7C 07 20 00 */ cmpw r7, r4 +/* 80304448 003013A8 54 E0 08 3C */ slwi r0, r7, 1 +/* 8030444C 003013AC 7C A3 02 14 */ add r5, r3, r0 +/* 80304450 003013B0 7C 67 20 50 */ subf r3, r7, r4 +/* 80304454 003013B4 38 80 00 00 */ li r4, 0 +/* 80304458 003013B8 40 80 00 BC */ bge lbl_80304514 +/* 8030445C 003013BC 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 80304460 003013C0 7C 09 03 A6 */ mtctr r0 +/* 80304464 003013C4 41 82 00 94 */ beq lbl_803044F8 +lbl_80304468: +/* 80304468 003013C8 1C 84 00 0A */ mulli r4, r4, 0xa +/* 8030446C 003013CC A0 05 00 00 */ lhz r0, 0(r5) +/* 80304470 003013D0 7C 80 22 14 */ add r4, r0, r4 +/* 80304474 003013D4 A0 05 00 02 */ lhz r0, 2(r5) +/* 80304478 003013D8 38 84 FF D0 */ addi r4, r4, -48 +/* 8030447C 003013DC 1C 84 00 0A */ mulli r4, r4, 0xa +/* 80304480 003013E0 7C 80 22 14 */ add r4, r0, r4 +/* 80304484 003013E4 A0 05 00 04 */ lhz r0, 4(r5) +/* 80304488 003013E8 38 84 FF D0 */ addi r4, r4, -48 +/* 8030448C 003013EC 1C 84 00 0A */ mulli r4, r4, 0xa +/* 80304490 003013F0 7C 80 22 14 */ add r4, r0, r4 +/* 80304494 003013F4 A0 05 00 06 */ lhz r0, 6(r5) +/* 80304498 003013F8 38 84 FF D0 */ addi r4, r4, -48 +/* 8030449C 003013FC 1C 84 00 0A */ mulli r4, r4, 0xa +/* 803044A0 00301400 7C 80 22 14 */ add r4, r0, r4 +/* 803044A4 00301404 A0 05 00 08 */ lhz r0, 8(r5) +/* 803044A8 00301408 38 84 FF D0 */ addi r4, r4, -48 +/* 803044AC 0030140C 1C 84 00 0A */ mulli r4, r4, 0xa +/* 803044B0 00301410 7C 80 22 14 */ add r4, r0, r4 +/* 803044B4 00301414 A0 05 00 0A */ lhz r0, 0xa(r5) +/* 803044B8 00301418 38 84 FF D0 */ addi r4, r4, -48 +/* 803044BC 0030141C 1C 84 00 0A */ mulli r4, r4, 0xa +/* 803044C0 00301420 7C 80 22 14 */ add r4, r0, r4 +/* 803044C4 00301424 A0 05 00 0C */ lhz r0, 0xc(r5) +/* 803044C8 00301428 38 84 FF D0 */ addi r4, r4, -48 +/* 803044CC 0030142C 1C 84 00 0A */ mulli r4, r4, 0xa +/* 803044D0 00301430 7C 80 22 14 */ add r4, r0, r4 +/* 803044D4 00301434 A0 05 00 0E */ lhz r0, 0xe(r5) +/* 803044D8 00301438 38 84 FF D0 */ addi r4, r4, -48 +/* 803044DC 0030143C 38 A5 00 10 */ addi r5, r5, 0x10 +/* 803044E0 00301440 1C 84 00 0A */ mulli r4, r4, 0xa +/* 803044E4 00301444 7C 80 22 14 */ add r4, r0, r4 +/* 803044E8 00301448 38 84 FF D0 */ addi r4, r4, -48 +/* 803044EC 0030144C 42 00 FF 7C */ bdnz lbl_80304468 +/* 803044F0 00301450 70 63 00 07 */ andi. r3, r3, 7 +/* 803044F4 00301454 41 82 00 20 */ beq lbl_80304514 +lbl_803044F8: +/* 803044F8 00301458 7C 69 03 A6 */ mtctr r3 +lbl_803044FC: +/* 803044FC 0030145C 1C 84 00 0A */ mulli r4, r4, 0xa +/* 80304500 00301460 A0 05 00 00 */ lhz r0, 0(r5) +/* 80304504 00301464 38 A5 00 02 */ addi r5, r5, 2 +/* 80304508 00301468 7C 80 22 14 */ add r4, r0, r4 +/* 8030450C 0030146C 38 84 FF D0 */ addi r4, r4, -48 +/* 80304510 00301470 42 00 FF EC */ bdnz lbl_803044FC +lbl_80304514: +/* 80304514 00301474 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80304518 00301478 7C 83 23 78 */ mr r3, r4 +/* 8030451C 0030147C 4D 82 00 20 */ beqlr +/* 80304520 00301480 7C 64 00 D0 */ neg r3, r4 +/* 80304524 00301484 4E 80 00 20 */ blr + +.global Equals__11CTextParserFPCwiPCw +Equals__11CTextParserFPCwiPCw: +/* 80304528 00301488 7C A6 2B 78 */ mr r6, r5 +/* 8030452C 0030148C 39 00 00 00 */ li r8, 0 +/* 80304530 00301490 48 00 00 24 */ b lbl_80304554 +lbl_80304534: +/* 80304534 00301494 A0 03 00 00 */ lhz r0, 0(r3) +/* 80304538 00301498 7C 00 38 40 */ cmplw r0, r7 +/* 8030453C 0030149C 41 82 00 0C */ beq lbl_80304548 +/* 80304540 003014A0 38 60 00 00 */ li r3, 0 +/* 80304544 003014A4 4E 80 00 20 */ blr +lbl_80304548: +/* 80304548 003014A8 38 C6 00 02 */ addi r6, r6, 2 +/* 8030454C 003014AC 38 63 00 02 */ addi r3, r3, 2 +/* 80304550 003014B0 39 08 00 01 */ addi r8, r8, 1 +lbl_80304554: +/* 80304554 003014B4 A0 E6 00 00 */ lhz r7, 0(r6) +/* 80304558 003014B8 28 07 00 00 */ cmplwi r7, 0 +/* 8030455C 003014BC 41 82 00 0C */ beq lbl_80304568 +/* 80304560 003014C0 7C 08 20 00 */ cmpw r8, r4 +/* 80304564 003014C4 41 80 FF D0 */ blt lbl_80304534 +lbl_80304568: +/* 80304568 003014C8 55 00 08 3C */ slwi r0, r8, 1 +/* 8030456C 003014CC 7C 05 02 2E */ lhzx r0, r5, r0 +/* 80304570 003014D0 7C 00 00 34 */ cntlzw r0, r0 +/* 80304574 003014D4 54 03 D9 7E */ srwi r3, r0, 5 +/* 80304578 003014D8 4E 80 00 20 */ blr + +.global BeginsWith__11CTextParserFPCwiPCw +BeginsWith__11CTextParserFPCwiPCw: +/* 8030457C 003014DC 7C A6 2B 78 */ mr r6, r5 +/* 80304580 003014E0 39 00 00 00 */ li r8, 0 +/* 80304584 003014E4 48 00 00 24 */ b lbl_803045A8 +lbl_80304588: +/* 80304588 003014E8 A0 03 00 00 */ lhz r0, 0(r3) +/* 8030458C 003014EC 7C 00 38 40 */ cmplw r0, r7 +/* 80304590 003014F0 41 82 00 0C */ beq lbl_8030459C +/* 80304594 003014F4 38 60 00 00 */ li r3, 0 +/* 80304598 003014F8 4E 80 00 20 */ blr +lbl_8030459C: +/* 8030459C 003014FC 38 C6 00 02 */ addi r6, r6, 2 +/* 803045A0 00301500 38 63 00 02 */ addi r3, r3, 2 +/* 803045A4 00301504 39 08 00 01 */ addi r8, r8, 1 +lbl_803045A8: +/* 803045A8 00301508 A0 E6 00 00 */ lhz r7, 0(r6) +/* 803045AC 0030150C 28 07 00 00 */ cmplwi r7, 0 +/* 803045B0 00301510 41 82 00 0C */ beq lbl_803045BC +/* 803045B4 00301514 7C 08 20 00 */ cmpw r8, r4 +/* 803045B8 00301518 41 80 FF D0 */ blt lbl_80304588 +lbl_803045BC: +/* 803045BC 0030151C 55 00 08 3C */ slwi r0, r8, 1 +/* 803045C0 00301520 7C 05 02 2E */ lhzx r0, r5, r0 +/* 803045C4 00301524 7C 00 00 34 */ cntlzw r0, r0 +/* 803045C8 00301528 54 03 D9 7E */ srwi r3, r0, 5 +/* 803045CC 0030152C 4E 80 00 20 */ blr + +.global ParseTag__11CTextParserFR18CTextExecuteBufferPCwi +ParseTag__11CTextParserFR18CTextExecuteBufferPCwi: +/* 803045D0 00301530 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 803045D4 00301534 7C 08 02 A6 */ mflr r0 +/* 803045D8 00301538 3D 00 80 3F */ lis r8, lbl_803ED718@ha +/* 803045DC 0030153C 90 01 00 94 */ stw r0, 0x94(r1) +/* 803045E0 00301540 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 803045E4 00301544 7C BE 2B 78 */ mr r30, r5 +/* 803045E8 00301548 7C 7C 1B 78 */ mr r28, r3 +/* 803045EC 0030154C 7C DF 33 78 */ mr r31, r6 +/* 803045F0 00301550 7C 9D 23 78 */ mr r29, r4 +/* 803045F4 00301554 38 A8 D7 18 */ addi r5, r8, lbl_803ED718@l +/* 803045F8 00301558 7C FB 3B 78 */ mr r27, r7 +/* 803045FC 0030155C 7F C3 F3 78 */ mr r3, r30 +/* 80304600 00301560 7F E4 FB 78 */ mr r4, r31 +/* 80304604 00301564 4B FF FF 79 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 80304608 00301568 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030460C 0030156C 41 82 00 4C */ beq lbl_80304658 +/* 80304610 00301570 7F 84 E3 78 */ mr r4, r28 +/* 80304614 00301574 38 61 00 1C */ addi r3, r1, 0x1c +/* 80304618 00301578 38 BE 00 0A */ addi r5, r30, 0xa +/* 8030461C 0030157C 38 DF FF FB */ addi r6, r31, -5 +/* 80304620 00301580 48 00 0F 09 */ bl GetFont__11CTextParserFPCwi +/* 80304624 00301584 38 61 00 24 */ addi r3, r1, 0x24 +/* 80304628 00301588 38 81 00 1C */ addi r4, r1, 0x1c +/* 8030462C 0030158C 48 03 C8 7D */ bl __ct__6CTokenFRC6CToken +/* 80304630 00301590 38 61 00 1C */ addi r3, r1, 0x1c +/* 80304634 00301594 38 80 00 00 */ li r4, 0 +/* 80304638 00301598 48 03 C8 09 */ bl __dt__6CTokenFv +/* 8030463C 0030159C 7F A3 EB 78 */ mr r3, r29 +/* 80304640 003015A0 38 81 00 24 */ addi r4, r1, 0x24 +/* 80304644 003015A4 4B FF F3 11 */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>" +/* 80304648 003015A8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8030464C 003015AC 38 80 00 00 */ li r4, 0 +/* 80304650 003015B0 48 03 C7 F1 */ bl __dt__6CTokenFv +/* 80304654 003015B4 48 00 06 3C */ b lbl_80304C90 +lbl_80304658: +/* 80304658 003015B8 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 8030465C 003015BC 7F C3 F3 78 */ mr r3, r30 +/* 80304660 003015C0 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304664 003015C4 7F E4 FB 78 */ mr r4, r31 +/* 80304668 003015C8 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030466C 003015CC 4B FF FF 11 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 80304670 003015D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304674 003015D4 41 82 00 50 */ beq lbl_803046C4 +/* 80304678 003015D8 7F 84 E3 78 */ mr r4, r28 +/* 8030467C 003015DC 7F 67 DB 78 */ mr r7, r27 +/* 80304680 003015E0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80304684 003015E4 38 BE 00 0C */ addi r5, r30, 0xc +/* 80304688 003015E8 38 DF FF FA */ addi r6, r31, -6 +/* 8030468C 003015EC 48 00 06 21 */ bl GetImage__11CTextParserFPCwi +/* 80304690 003015F0 38 61 00 48 */ addi r3, r1, 0x48 +/* 80304694 003015F4 38 81 00 2C */ addi r4, r1, 0x2c +/* 80304698 003015F8 4B FC 43 4D */ bl sub_802c89e4 +/* 8030469C 003015FC 38 61 00 2C */ addi r3, r1, 0x2c +/* 803046A0 00301600 38 80 FF FF */ li r4, -1 +/* 803046A4 00301604 4B D2 45 59 */ bl sub_80028bfc +/* 803046A8 00301608 7F A3 EB 78 */ mr r3, r29 +/* 803046AC 0030160C 38 81 00 48 */ addi r4, r1, 0x48 +/* 803046B0 00301610 4B FF EE FD */ bl AddImage__18CTextExecuteBufferFRC13CFontImageDef +/* 803046B4 00301614 38 61 00 48 */ addi r3, r1, 0x48 +/* 803046B8 00301618 38 80 FF FF */ li r4, -1 +/* 803046BC 0030161C 4B D2 45 41 */ bl sub_80028bfc +/* 803046C0 00301620 48 00 05 D0 */ b lbl_80304C90 +lbl_803046C4: +/* 803046C4 00301624 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 803046C8 00301628 7F C3 F3 78 */ mr r3, r30 +/* 803046CC 0030162C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 803046D0 00301630 7F E4 FB 78 */ mr r4, r31 +/* 803046D4 00301634 38 A5 00 1A */ addi r5, r5, 0x1a +/* 803046D8 00301638 4B FF FE A5 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 803046DC 0030163C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803046E0 00301640 41 82 00 2C */ beq lbl_8030470C +/* 803046E4 00301644 7F 84 E3 78 */ mr r4, r28 +/* 803046E8 00301648 38 61 00 18 */ addi r3, r1, 0x18 +/* 803046EC 0030164C 38 BE 00 12 */ addi r5, r30, 0x12 +/* 803046F0 00301650 38 DF FF F7 */ addi r6, r31, -9 +/* 803046F4 00301654 4B FF FC 09 */ bl ParseColor__11CTextParserFPCwi +/* 803046F8 00301658 7F A3 EB 78 */ mr r3, r29 +/* 803046FC 0030165C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80304700 00301660 38 80 00 03 */ li r4, 3 +/* 80304704 00301664 4B FF ED C1 */ bl __ct__17CColorInstructionFiRC6CColor +/* 80304708 00301668 48 00 05 88 */ b lbl_80304C90 +lbl_8030470C: +/* 8030470C 0030166C 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304710 00301670 7F C3 F3 78 */ mr r3, r30 +/* 80304714 00301674 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304718 00301678 7F E4 FB 78 */ mr r4, r31 +/* 8030471C 0030167C 38 A5 00 2E */ addi r5, r5, 0x2e +/* 80304720 00301680 4B FF FE 5D */ bl BeginsWith__11CTextParserFPCwiPCw +/* 80304724 00301684 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304728 00301688 41 82 00 2C */ beq lbl_80304754 +/* 8030472C 0030168C 7F 84 E3 78 */ mr r4, r28 +/* 80304730 00301690 38 61 00 14 */ addi r3, r1, 0x14 +/* 80304734 00301694 38 BE 00 16 */ addi r5, r30, 0x16 +/* 80304738 00301698 38 DF FF F5 */ addi r6, r31, -11 +/* 8030473C 0030169C 4B FF FB C1 */ bl ParseColor__11CTextParserFPCwi +/* 80304740 003016A0 7F A3 EB 78 */ mr r3, r29 +/* 80304744 003016A4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80304748 003016A8 38 80 00 00 */ li r4, 0 +/* 8030474C 003016AC 4B FF ED 79 */ bl __ct__17CColorInstructionFiRC6CColor +/* 80304750 003016B0 48 00 05 40 */ b lbl_80304C90 +lbl_80304754: +/* 80304754 003016B4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304758 003016B8 7F C3 F3 78 */ mr r3, r30 +/* 8030475C 003016BC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304760 003016C0 7F E4 FB 78 */ mr r4, r31 +/* 80304764 003016C4 38 A5 00 46 */ addi r5, r5, 0x46 +/* 80304768 003016C8 4B FF FE 15 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 8030476C 003016CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304770 003016D0 41 82 00 2C */ beq lbl_8030479C +/* 80304774 003016D4 7F 84 E3 78 */ mr r4, r28 +/* 80304778 003016D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8030477C 003016DC 38 BE 00 16 */ addi r5, r30, 0x16 +/* 80304780 003016E0 38 DF FF F5 */ addi r6, r31, -11 +/* 80304784 003016E4 4B FF FB 79 */ bl ParseColor__11CTextParserFPCwi +/* 80304788 003016E8 7F A3 EB 78 */ mr r3, r29 +/* 8030478C 003016EC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80304790 003016F0 38 80 00 02 */ li r4, 2 +/* 80304794 003016F4 4B FF ED 31 */ bl __ct__17CColorInstructionFiRC6CColor +/* 80304798 003016F8 48 00 04 F8 */ b lbl_80304C90 +lbl_8030479C: +/* 8030479C 003016FC 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 803047A0 00301700 7F C3 F3 78 */ mr r3, r30 +/* 803047A4 00301704 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 803047A8 00301708 7F E4 FB 78 */ mr r4, r31 +/* 803047AC 0030170C 38 A5 00 66 */ addi r5, r5, 0x66 +/* 803047B0 00301710 4B FF FD CD */ bl BeginsWith__11CTextParserFPCwiPCw +/* 803047B4 00301714 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803047B8 00301718 41 82 00 2C */ beq lbl_803047E4 +/* 803047BC 0030171C 7F 84 E3 78 */ mr r4, r28 +/* 803047C0 00301720 38 61 00 0C */ addi r3, r1, 0xc +/* 803047C4 00301724 38 BE 00 1C */ addi r5, r30, 0x1c +/* 803047C8 00301728 38 DF FF F2 */ addi r6, r31, -14 +/* 803047CC 0030172C 4B FF FB 31 */ bl ParseColor__11CTextParserFPCwi +/* 803047D0 00301730 7F A3 EB 78 */ mr r3, r29 +/* 803047D4 00301734 38 A1 00 0C */ addi r5, r1, 0xc +/* 803047D8 00301738 38 80 00 01 */ li r4, 1 +/* 803047DC 0030173C 4B FF EC E9 */ bl __ct__17CColorInstructionFiRC6CColor +/* 803047E0 00301740 48 00 04 B0 */ b lbl_80304C90 +lbl_803047E4: +/* 803047E4 00301744 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 803047E8 00301748 7F C3 F3 78 */ mr r3, r30 +/* 803047EC 0030174C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 803047F0 00301750 7F E4 FB 78 */ mr r4, r31 +/* 803047F4 00301754 38 A5 00 84 */ addi r5, r5, 0x84 +/* 803047F8 00301758 4B FF FD 85 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 803047FC 0030175C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304800 00301760 41 82 00 A4 */ beq lbl_803048A4 +/* 80304804 00301764 A0 7E 00 0C */ lhz r3, 0xc(r30) +/* 80304808 00301768 37 63 FF D0 */ addic. r27, r3, -48 +/* 8030480C 0030176C 41 80 04 84 */ blt lbl_80304C90 +/* 80304810 00301770 2C 1B 00 09 */ cmpwi r27, 9 +/* 80304814 00301774 40 81 00 08 */ ble lbl_8030481C +/* 80304818 00301778 48 00 04 78 */ b lbl_80304C90 +lbl_8030481C: +/* 8030481C 0030177C 3B DE 00 0E */ addi r30, r30, 0xe +/* 80304820 00301780 3B FF FF F9 */ addi r31, r31, -7 +/* 80304824 00301784 A0 7E 00 00 */ lhz r3, 0(r30) +/* 80304828 00301788 28 03 00 30 */ cmplwi r3, 0x30 +/* 8030482C 0030178C 41 80 00 20 */ blt lbl_8030484C +/* 80304830 00301790 28 03 00 39 */ cmplwi r3, 0x39 +/* 80304834 00301794 41 81 00 18 */ bgt lbl_8030484C +/* 80304838 00301798 1C 1B 00 0A */ mulli r0, r27, 0xa +/* 8030483C 0030179C 3B DE 00 02 */ addi r30, r30, 2 +/* 80304840 003017A0 3B FF FF FF */ addi r31, r31, -1 +/* 80304844 003017A4 7F 63 02 14 */ add r27, r3, r0 +/* 80304848 003017A8 3B 7B FF D0 */ addi r27, r27, -48 +lbl_8030484C: +/* 8030484C 003017AC 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304850 003017B0 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80304854 003017B4 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304858 003017B8 38 9F FF F6 */ addi r4, r31, -10 +/* 8030485C 003017BC 38 A5 00 90 */ addi r5, r5, 0x90 +/* 80304860 003017C0 4B FF FC C9 */ bl Equals__11CTextParserFPCwiPCw +/* 80304864 003017C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304868 003017C8 41 82 00 14 */ beq lbl_8030487C +/* 8030486C 003017CC 7F A3 EB 78 */ mr r3, r29 +/* 80304870 003017D0 7F 64 DB 78 */ mr r4, r27 +/* 80304874 003017D4 4B FF EA AD */ bl __ct__31CRemoveColorOverrideInstructionFi +/* 80304878 003017D8 48 00 04 18 */ b lbl_80304C90 +lbl_8030487C: +/* 8030487C 003017DC 7F 84 E3 78 */ mr r4, r28 +/* 80304880 003017E0 38 61 00 08 */ addi r3, r1, 8 +/* 80304884 003017E4 38 BE 00 14 */ addi r5, r30, 0x14 +/* 80304888 003017E8 38 DF FF F6 */ addi r6, r31, -10 +/* 8030488C 003017EC 4B FF FA 71 */ bl ParseColor__11CTextParserFPCwi +/* 80304890 003017F0 7F A3 EB 78 */ mr r3, r29 +/* 80304894 003017F4 7F 64 DB 78 */ mr r4, r27 +/* 80304898 003017F8 38 A1 00 08 */ addi r5, r1, 8 +/* 8030489C 003017FC 4B FF EB 41 */ bl __ct__25CColorOverrideInstructionFv +/* 803048A0 00301800 48 00 03 F0 */ b lbl_80304C90 +lbl_803048A4: +/* 803048A4 00301804 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 803048A8 00301808 7F C3 F3 78 */ mr r3, r30 +/* 803048AC 0030180C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 803048B0 00301810 7F E4 FB 78 */ mr r4, r31 +/* 803048B4 00301814 38 A5 00 96 */ addi r5, r5, 0x96 +/* 803048B8 00301818 4B FF FC C5 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 803048BC 0030181C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803048C0 00301820 41 82 00 44 */ beq lbl_80304904 +/* 803048C4 00301824 38 7E 00 1A */ addi r3, r30, 0x1a +/* 803048C8 00301828 38 9F FF F3 */ addi r4, r31, -13 +/* 803048CC 0030182C 38 A0 00 01 */ li r5, 1 +/* 803048D0 00301830 4B FF FB 49 */ bl ParseInt__11CTextParserFPCwib +/* 803048D4 00301834 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 803048D8 00301838 3C 00 43 30 */ lis r0, 0x4330 +/* 803048DC 0030183C 90 61 00 6C */ stw r3, 0x6c(r1) +/* 803048E0 00301840 7F A3 EB 78 */ mr r3, r29 +/* 803048E4 00301844 C8 42 C7 60 */ lfd f2, lbl_805AE480@sda21(r2) +/* 803048E8 00301848 90 01 00 68 */ stw r0, 0x68(r1) +/* 803048EC 0030184C C0 02 C7 58 */ lfs f0, lbl_805AE478@sda21(r2) +/* 803048F0 00301850 C8 21 00 68 */ lfd f1, 0x68(r1) +/* 803048F4 00301854 EC 21 10 28 */ fsubs f1, f1, f2 +/* 803048F8 00301858 EC 21 00 24 */ fdivs f1, f1, f0 +/* 803048FC 0030185C 4B FF E9 69 */ bl __ct__23CLineSpacingInstructionFf +/* 80304900 00301860 48 00 03 90 */ b lbl_80304C90 +lbl_80304904: +/* 80304904 00301864 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304908 00301868 7F C3 F3 78 */ mr r3, r30 +/* 8030490C 0030186C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304910 00301870 7F E4 FB 78 */ mr r4, r31 +/* 80304914 00301874 38 A5 00 B2 */ addi r5, r5, 0xb2 +/* 80304918 00301878 4B FF FC 65 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 8030491C 0030187C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304920 00301880 41 82 00 24 */ beq lbl_80304944 +/* 80304924 00301884 38 7E 00 22 */ addi r3, r30, 0x22 +/* 80304928 00301888 38 9F FF EF */ addi r4, r31, -17 +/* 8030492C 0030188C 38 A0 00 01 */ li r5, 1 +/* 80304930 00301890 4B FF FA E9 */ bl ParseInt__11CTextParserFPCwib +/* 80304934 00301894 7C 64 1B 78 */ mr r4, r3 +/* 80304938 00301898 7F A3 EB 78 */ mr r3, r29 +/* 8030493C 0030189C 4B FF E8 69 */ bl __ct__26CLineExtraSpaceInstructionFi +/* 80304940 003018A0 48 00 03 50 */ b lbl_80304C90 +lbl_80304944: +/* 80304944 003018A4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304948 003018A8 7F C3 F3 78 */ mr r3, r30 +/* 8030494C 003018AC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304950 003018B0 7F E4 FB 78 */ mr r4, r31 +/* 80304954 003018B4 38 A5 00 D6 */ addi r5, r5, 0xd6 +/* 80304958 003018B8 4B FF FC 25 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 8030495C 003018BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304960 003018C0 41 82 01 54 */ beq lbl_80304AB4 +/* 80304964 003018C4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304968 003018C8 38 7E 00 0A */ addi r3, r30, 0xa +/* 8030496C 003018CC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304970 003018D0 38 9F FF FB */ addi r4, r31, -5 +/* 80304974 003018D4 38 A5 00 E2 */ addi r5, r5, 0xe2 +/* 80304978 003018D8 4B FF FB B1 */ bl Equals__11CTextParserFPCwiPCw +/* 8030497C 003018DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304980 003018E0 41 82 00 14 */ beq lbl_80304994 +/* 80304984 003018E4 7F A3 EB 78 */ mr r3, r29 +/* 80304988 003018E8 38 80 00 00 */ li r4, 0 +/* 8030498C 003018EC 4B FF E7 F5 */ bl sub_80303180 +/* 80304990 003018F0 48 00 03 00 */ b lbl_80304C90 +lbl_80304994: +/* 80304994 003018F4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304998 003018F8 38 7E 00 0A */ addi r3, r30, 0xa +/* 8030499C 003018FC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 803049A0 00301900 38 9F FF FB */ addi r4, r31, -5 +/* 803049A4 00301904 38 A5 00 EC */ addi r5, r5, 0xec +/* 803049A8 00301908 4B FF FB 81 */ bl Equals__11CTextParserFPCwiPCw +/* 803049AC 0030190C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803049B0 00301910 41 82 00 14 */ beq lbl_803049C4 +/* 803049B4 00301914 7F A3 EB 78 */ mr r3, r29 +/* 803049B8 00301918 38 80 00 01 */ li r4, 1 +/* 803049BC 0030191C 4B FF E7 C5 */ bl sub_80303180 +/* 803049C0 00301920 48 00 02 D0 */ b lbl_80304C90 +lbl_803049C4: +/* 803049C4 00301924 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 803049C8 00301928 38 7E 00 0A */ addi r3, r30, 0xa +/* 803049CC 0030192C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 803049D0 00301930 38 9F FF FB */ addi r4, r31, -5 +/* 803049D4 00301934 38 A5 00 FA */ addi r5, r5, 0xfa +/* 803049D8 00301938 4B FF FB 51 */ bl Equals__11CTextParserFPCwiPCw +/* 803049DC 0030193C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803049E0 00301940 41 82 00 14 */ beq lbl_803049F4 +/* 803049E4 00301944 7F A3 EB 78 */ mr r3, r29 +/* 803049E8 00301948 38 80 00 02 */ li r4, 2 +/* 803049EC 0030194C 4B FF E7 95 */ bl sub_80303180 +/* 803049F0 00301950 48 00 02 A0 */ b lbl_80304C90 +lbl_803049F4: +/* 803049F4 00301954 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 803049F8 00301958 38 7E 00 0A */ addi r3, r30, 0xa +/* 803049FC 0030195C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304A00 00301960 38 9F FF FB */ addi r4, r31, -5 +/* 80304A04 00301964 38 A5 01 06 */ addi r5, r5, 0x106 +/* 80304A08 00301968 4B FF FB 21 */ bl Equals__11CTextParserFPCwiPCw +/* 80304A0C 0030196C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304A10 00301970 41 82 00 14 */ beq lbl_80304A24 +/* 80304A14 00301974 7F A3 EB 78 */ mr r3, r29 +/* 80304A18 00301978 38 80 00 03 */ li r4, 3 +/* 80304A1C 0030197C 4B FF E7 65 */ bl sub_80303180 +/* 80304A20 00301980 48 00 02 70 */ b lbl_80304C90 +lbl_80304A24: +/* 80304A24 00301984 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304A28 00301988 38 7E 00 0A */ addi r3, r30, 0xa +/* 80304A2C 0030198C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304A30 00301990 38 9F FF FB */ addi r4, r31, -5 +/* 80304A34 00301994 38 A5 01 10 */ addi r5, r5, 0x110 +/* 80304A38 00301998 4B FF FA F1 */ bl Equals__11CTextParserFPCwiPCw +/* 80304A3C 0030199C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304A40 003019A0 41 82 00 14 */ beq lbl_80304A54 +/* 80304A44 003019A4 7F A3 EB 78 */ mr r3, r29 +/* 80304A48 003019A8 38 80 00 04 */ li r4, 4 +/* 80304A4C 003019AC 4B FF E7 35 */ bl sub_80303180 +/* 80304A50 003019B0 48 00 02 40 */ b lbl_80304C90 +lbl_80304A54: +/* 80304A54 003019B4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304A58 003019B8 38 7E 00 0A */ addi r3, r30, 0xa +/* 80304A5C 003019BC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304A60 003019C0 38 9F FF FB */ addi r4, r31, -5 +/* 80304A64 003019C4 38 A5 01 1C */ addi r5, r5, 0x11c +/* 80304A68 003019C8 4B FF FA C1 */ bl Equals__11CTextParserFPCwiPCw +/* 80304A6C 003019CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304A70 003019D0 41 82 00 14 */ beq lbl_80304A84 +/* 80304A74 003019D4 7F A3 EB 78 */ mr r3, r29 +/* 80304A78 003019D8 38 80 00 05 */ li r4, 5 +/* 80304A7C 003019DC 4B FF E7 05 */ bl sub_80303180 +/* 80304A80 003019E0 48 00 02 10 */ b lbl_80304C90 +lbl_80304A84: +/* 80304A84 003019E4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304A88 003019E8 38 7E 00 0A */ addi r3, r30, 0xa +/* 80304A8C 003019EC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304A90 003019F0 38 9F FF FB */ addi r4, r31, -5 +/* 80304A94 003019F4 38 A5 01 2C */ addi r5, r5, 0x12c +/* 80304A98 003019F8 4B FF FA 91 */ bl Equals__11CTextParserFPCwiPCw +/* 80304A9C 003019FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304AA0 00301A00 41 82 01 F0 */ beq lbl_80304C90 +/* 80304AA4 00301A04 7F A3 EB 78 */ mr r3, r29 +/* 80304AA8 00301A08 38 80 00 06 */ li r4, 6 +/* 80304AAC 00301A0C 4B FF E6 D5 */ bl sub_80303180 +/* 80304AB0 00301A10 48 00 01 E0 */ b lbl_80304C90 +lbl_80304AB4: +/* 80304AB4 00301A14 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304AB8 00301A18 7F C3 F3 78 */ mr r3, r30 +/* 80304ABC 00301A1C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304AC0 00301A20 7F E4 FB 78 */ mr r4, r31 +/* 80304AC4 00301A24 38 A5 01 3A */ addi r5, r5, 0x13a +/* 80304AC8 00301A28 4B FF FA B5 */ bl BeginsWith__11CTextParserFPCwiPCw +/* 80304ACC 00301A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304AD0 00301A30 41 82 01 54 */ beq lbl_80304C24 +/* 80304AD4 00301A34 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304AD8 00301A38 38 7E 00 0C */ addi r3, r30, 0xc +/* 80304ADC 00301A3C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304AE0 00301A40 38 9F FF FA */ addi r4, r31, -6 +/* 80304AE4 00301A44 38 A5 01 48 */ addi r5, r5, 0x148 +/* 80304AE8 00301A48 4B FF FA 41 */ bl Equals__11CTextParserFPCwiPCw +/* 80304AEC 00301A4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304AF0 00301A50 41 82 00 14 */ beq lbl_80304B04 +/* 80304AF4 00301A54 7F A3 EB 78 */ mr r3, r29 +/* 80304AF8 00301A58 38 80 00 00 */ li r4, 0 +/* 80304AFC 00301A5C 4B FF E6 61 */ bl sub_8030315c +/* 80304B00 00301A60 48 00 01 90 */ b lbl_80304C90 +lbl_80304B04: +/* 80304B04 00301A64 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304B08 00301A68 38 7E 00 0C */ addi r3, r30, 0xc +/* 80304B0C 00301A6C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304B10 00301A70 38 9F FF FA */ addi r4, r31, -6 +/* 80304B14 00301A74 38 A5 00 EC */ addi r5, r5, 0xec +/* 80304B18 00301A78 4B FF FA 11 */ bl Equals__11CTextParserFPCwiPCw +/* 80304B1C 00301A7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304B20 00301A80 41 82 00 14 */ beq lbl_80304B34 +/* 80304B24 00301A84 7F A3 EB 78 */ mr r3, r29 +/* 80304B28 00301A88 38 80 00 01 */ li r4, 1 +/* 80304B2C 00301A8C 4B FF E6 31 */ bl sub_8030315c +/* 80304B30 00301A90 48 00 01 60 */ b lbl_80304C90 +lbl_80304B34: +/* 80304B34 00301A94 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304B38 00301A98 38 7E 00 0C */ addi r3, r30, 0xc +/* 80304B3C 00301A9C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304B40 00301AA0 38 9F FF FA */ addi r4, r31, -6 +/* 80304B44 00301AA4 38 A5 01 50 */ addi r5, r5, 0x150 +/* 80304B48 00301AA8 4B FF F9 E1 */ bl Equals__11CTextParserFPCwiPCw +/* 80304B4C 00301AAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304B50 00301AB0 41 82 00 14 */ beq lbl_80304B64 +/* 80304B54 00301AB4 7F A3 EB 78 */ mr r3, r29 +/* 80304B58 00301AB8 38 80 00 02 */ li r4, 2 +/* 80304B5C 00301ABC 4B FF E6 01 */ bl sub_8030315c +/* 80304B60 00301AC0 48 00 01 30 */ b lbl_80304C90 +lbl_80304B64: +/* 80304B64 00301AC4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304B68 00301AC8 38 7E 00 0C */ addi r3, r30, 0xc +/* 80304B6C 00301ACC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304B70 00301AD0 38 9F FF FA */ addi r4, r31, -6 +/* 80304B74 00301AD4 38 A5 01 06 */ addi r5, r5, 0x106 +/* 80304B78 00301AD8 4B FF F9 B1 */ bl Equals__11CTextParserFPCwiPCw +/* 80304B7C 00301ADC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304B80 00301AE0 41 82 00 14 */ beq lbl_80304B94 +/* 80304B84 00301AE4 7F A3 EB 78 */ mr r3, r29 +/* 80304B88 00301AE8 38 80 00 03 */ li r4, 3 +/* 80304B8C 00301AEC 4B FF E5 D1 */ bl sub_8030315c +/* 80304B90 00301AF0 48 00 01 00 */ b lbl_80304C90 +lbl_80304B94: +/* 80304B94 00301AF4 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304B98 00301AF8 38 7E 00 0C */ addi r3, r30, 0xc +/* 80304B9C 00301AFC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304BA0 00301B00 38 9F FF FA */ addi r4, r31, -6 +/* 80304BA4 00301B04 38 A5 01 5E */ addi r5, r5, 0x15e +/* 80304BA8 00301B08 4B FF F9 81 */ bl Equals__11CTextParserFPCwiPCw +/* 80304BAC 00301B0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304BB0 00301B10 41 82 00 14 */ beq lbl_80304BC4 +/* 80304BB4 00301B14 7F A3 EB 78 */ mr r3, r29 +/* 80304BB8 00301B18 38 80 00 04 */ li r4, 4 +/* 80304BBC 00301B1C 4B FF E5 A1 */ bl sub_8030315c +/* 80304BC0 00301B20 48 00 00 D0 */ b lbl_80304C90 +lbl_80304BC4: +/* 80304BC4 00301B24 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304BC8 00301B28 38 7E 00 0C */ addi r3, r30, 0xc +/* 80304BCC 00301B2C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304BD0 00301B30 38 9F FF FA */ addi r4, r31, -6 +/* 80304BD4 00301B34 38 A5 01 1C */ addi r5, r5, 0x11c +/* 80304BD8 00301B38 4B FF F9 51 */ bl Equals__11CTextParserFPCwiPCw +/* 80304BDC 00301B3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304BE0 00301B40 41 82 00 14 */ beq lbl_80304BF4 +/* 80304BE4 00301B44 7F A3 EB 78 */ mr r3, r29 +/* 80304BE8 00301B48 38 80 00 05 */ li r4, 5 +/* 80304BEC 00301B4C 4B FF E5 71 */ bl sub_8030315c +/* 80304BF0 00301B50 48 00 00 A0 */ b lbl_80304C90 +lbl_80304BF4: +/* 80304BF4 00301B54 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304BF8 00301B58 38 7E 00 0C */ addi r3, r30, 0xc +/* 80304BFC 00301B5C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304C00 00301B60 38 9F FF FA */ addi r4, r31, -6 +/* 80304C04 00301B64 38 A5 01 68 */ addi r5, r5, 0x168 +/* 80304C08 00301B68 4B FF F9 21 */ bl Equals__11CTextParserFPCwiPCw +/* 80304C0C 00301B6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304C10 00301B70 41 82 00 80 */ beq lbl_80304C90 +/* 80304C14 00301B74 7F A3 EB 78 */ mr r3, r29 +/* 80304C18 00301B78 38 80 00 06 */ li r4, 6 +/* 80304C1C 00301B7C 4B FF E5 41 */ bl sub_8030315c +/* 80304C20 00301B80 48 00 00 70 */ b lbl_80304C90 +lbl_80304C24: +/* 80304C24 00301B84 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304C28 00301B88 7F C3 F3 78 */ mr r3, r30 +/* 80304C2C 00301B8C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304C30 00301B90 7F E4 FB 78 */ mr r4, r31 +/* 80304C34 00301B94 38 A5 01 78 */ addi r5, r5, 0x178 +/* 80304C38 00301B98 4B FF F8 F1 */ bl Equals__11CTextParserFPCwiPCw +/* 80304C3C 00301B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304C40 00301BA0 41 82 00 10 */ beq lbl_80304C50 +/* 80304C44 00301BA4 7F A3 EB 78 */ mr r3, r29 +/* 80304C48 00301BA8 4B FF E4 61 */ bl __ct__21CPushStateInstructionFv +/* 80304C4C 00301BAC 48 00 00 44 */ b lbl_80304C90 +lbl_80304C50: +/* 80304C50 00301BB0 3C 80 80 3F */ lis r4, lbl_803ED718@ha +/* 80304C54 00301BB4 7F C3 F3 78 */ mr r3, r30 +/* 80304C58 00301BB8 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l +/* 80304C5C 00301BBC 7F E4 FB 78 */ mr r4, r31 +/* 80304C60 00301BC0 38 A5 01 82 */ addi r5, r5, 0x182 +/* 80304C64 00301BC4 4B FF F8 C5 */ bl Equals__11CTextParserFPCwiPCw +/* 80304C68 00301BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80304C6C 00301BCC 41 82 00 10 */ beq lbl_80304C7C +/* 80304C70 00301BD0 7F A3 EB 78 */ mr r3, r29 +/* 80304C74 00301BD4 4B FF E3 4D */ bl __ct__20CPopStateInstructionFv +/* 80304C78 00301BD8 48 00 00 18 */ b lbl_80304C90 +lbl_80304C7C: +/* 80304C7C 00301BDC 7F 83 E3 78 */ mr r3, r28 +/* 80304C80 00301BE0 7F A4 EB 78 */ mr r4, r29 +/* 80304C84 00301BE4 7F C5 F3 78 */ mr r5, r30 +/* 80304C88 00301BE8 7F E6 FB 78 */ mr r6, r31 +/* 80304C8C 00301BEC 48 00 00 19 */ bl HandleUserTag__11CTextParserFR18CTextExecuteBufferPCwi +lbl_80304C90: +/* 80304C90 00301BF0 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 80304C94 00301BF4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80304C98 00301BF8 7C 08 03 A6 */ mtlr r0 +/* 80304C9C 00301BFC 38 21 00 90 */ addi r1, r1, 0x90 +/* 80304CA0 00301C00 4E 80 00 20 */ blr + +.global HandleUserTag__11CTextParserFR18CTextExecuteBufferPCwi +HandleUserTag__11CTextParserFR18CTextExecuteBufferPCwi: +/* 80304CA4 00301C04 38 60 00 00 */ li r3, 0 +/* 80304CA8 00301C08 4E 80 00 20 */ blr + +.global GetImage__11CTextParserFPCwi +GetImage__11CTextParserFPCwi: +/* 80304CAC 00301C0C 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 80304CB0 00301C10 7C 08 02 A6 */ mflr r0 +/* 80304CB4 00301C14 90 01 02 34 */ stw r0, 0x234(r1) +/* 80304CB8 00301C18 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 80304CBC 00301C1C F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 80304CC0 00301C20 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 80304CC4 00301C24 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 80304CC8 00301C28 DB A1 02 00 */ stfd f29, 0x200(r1) +/* 80304CCC 00301C2C F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 80304CD0 00301C30 BF 01 01 E0 */ stmw r24, 0x1e0(r1) +/* 80304CD4 00301C34 7C 7F 1B 78 */ mr r31, r3 +/* 80304CD8 00301C38 7C 9D 23 78 */ mr r29, r4 +/* 80304CDC 00301C3C 7C A4 2B 78 */ mr r4, r5 +/* 80304CE0 00301C40 7C C5 33 78 */ mr r5, r6 +/* 80304CE4 00301C44 7C FE 3B 78 */ mr r30, r7 +/* 80304CE8 00301C48 38 61 01 88 */ addi r3, r1, 0x188 +/* 80304CEC 00301C4C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80304CF0 00301C50 48 03 8A CD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 80304CF4 00301C54 38 61 01 78 */ addi r3, r1, 0x178 +/* 80304CF8 00301C58 38 81 01 88 */ addi r4, r1, 0x188 +/* 80304CFC 00301C5C 48 03 9A CD */ bl "ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80304D00 00301C60 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80304D04 00301C64 38 81 01 78 */ addi r4, r1, 0x178 +/* 80304D08 00301C68 48 03 94 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80304D0C 00301C6C 38 61 01 78 */ addi r3, r1, 0x178 +/* 80304D10 00301C70 48 03 8D D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80304D14 00301C74 38 61 01 88 */ addi r3, r1, 0x188 +/* 80304D18 00301C78 48 03 84 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80304D1C 00301C7C 3B 20 00 00 */ li r25, 0 +/* 80304D20 00301C80 38 A0 00 00 */ li r5, 0 +lbl_80304D24: +/* 80304D24 00301C84 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80304D28 00301C88 38 80 00 2C */ li r4, 0x2c +/* 80304D2C 00301C8C 4B F0 74 29 */ bl sub_8020c154 +/* 80304D30 00301C90 2C 03 FF FF */ cmpwi r3, -1 +/* 80304D34 00301C94 41 82 00 10 */ beq lbl_80304D44 +/* 80304D38 00301C98 3B 39 00 01 */ addi r25, r25, 1 +/* 80304D3C 00301C9C 38 A3 00 01 */ addi r5, r3, 1 +/* 80304D40 00301CA0 4B FF FF E4 */ b lbl_80304D24 +lbl_80304D44: +/* 80304D44 00301CA4 2C 19 00 00 */ cmpwi r25, 0 +/* 80304D48 00301CA8 40 81 07 30 */ ble lbl_80305478 +/* 80304D4C 00301CAC 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha +/* 80304D50 00301CB0 38 61 01 68 */ addi r3, r1, 0x168 +/* 80304D54 00301CB4 38 A4 6E A0 */ addi r5, r4, lbl_803D6EA0@l +/* 80304D58 00301CB8 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 80304D5C 00301CBC 38 A5 00 18 */ addi r5, r5, 0x18 +/* 80304D60 00301CC0 38 D9 00 01 */ addi r6, r25, 1 +/* 80304D64 00301CC4 48 03 96 CD */ bl "TokenizeString__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCci" +/* 80304D68 00301CC8 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 80304D6C 00301CCC 80 61 01 70 */ lwz r3, 0x170(r1) +/* 80304D70 00301CD0 2C 00 00 00 */ cmpwi r0, 0 +/* 80304D74 00301CD4 90 01 01 BC */ stw r0, 0x1bc(r1) +/* 80304D78 00301CD8 90 61 01 C0 */ stw r3, 0x1c0(r1) +/* 80304D7C 00301CDC 40 82 00 18 */ bne lbl_80304D94 +/* 80304D80 00301CE0 2C 03 00 00 */ cmpwi r3, 0 +/* 80304D84 00301CE4 40 82 00 10 */ bne lbl_80304D94 +/* 80304D88 00301CE8 38 00 00 00 */ li r0, 0 +/* 80304D8C 00301CEC 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80304D90 00301CF0 48 00 00 70 */ b lbl_80304E00 +lbl_80304D94: +/* 80304D94 00301CF4 80 01 01 C0 */ lwz r0, 0x1c0(r1) +/* 80304D98 00301CF8 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b +/* 80304D9C 00301CFC 40 82 00 10 */ bne lbl_80304DAC +/* 80304DA0 00301D00 38 00 00 00 */ li r0, 0 +/* 80304DA4 00301D04 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80304DA8 00301D08 48 00 00 1C */ b lbl_80304DC4 +lbl_80304DAC: +/* 80304DAC 00301D0C 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha +/* 80304DB0 00301D10 38 A0 00 00 */ li r5, 0 +/* 80304DB4 00301D14 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l +/* 80304DB8 00301D18 38 84 00 11 */ addi r4, r4, 0x11 +/* 80304DBC 00301D1C 48 01 0A 5D */ bl __nwa__FUlPCcPCc +/* 80304DC0 00301D20 90 61 01 C4 */ stw r3, 0x1c4(r1) +lbl_80304DC4: +/* 80304DC4 00301D24 83 21 01 BC */ lwz r25, 0x1bc(r1) +/* 80304DC8 00301D28 3B 40 00 00 */ li r26, 0 +/* 80304DCC 00301D2C 83 81 01 74 */ lwz r28, 0x174(r1) +/* 80304DD0 00301D30 83 61 01 C4 */ lwz r27, 0x1c4(r1) +/* 80304DD4 00301D34 48 00 00 24 */ b lbl_80304DF8 +lbl_80304DD8: +/* 80304DD8 00301D38 28 1B 00 00 */ cmplwi r27, 0 +/* 80304DDC 00301D3C 41 82 00 10 */ beq lbl_80304DEC +/* 80304DE0 00301D40 7F 63 DB 78 */ mr r3, r27 +/* 80304DE4 00301D44 7F 84 E3 78 */ mr r4, r28 +/* 80304DE8 00301D48 48 03 93 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80304DEC: +/* 80304DEC 00301D4C 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 80304DF0 00301D50 3B 5A 00 01 */ addi r26, r26, 1 +/* 80304DF4 00301D54 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_80304DF8: +/* 80304DF8 00301D58 7C 1A C8 00 */ cmpw r26, r25 +/* 80304DFC 00301D5C 41 80 FF DC */ blt lbl_80304DD8 +lbl_80304E00: +/* 80304E00 00301D60 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 80304E04 00301D64 83 21 01 74 */ lwz r25, 0x174(r1) +/* 80304E08 00301D68 54 00 20 36 */ slwi r0, r0, 4 +/* 80304E0C 00301D6C 7F 59 02 14 */ add r26, r25, r0 +/* 80304E10 00301D70 93 21 00 7C */ stw r25, 0x7c(r1) +/* 80304E14 00301D74 93 41 00 84 */ stw r26, 0x84(r1) +/* 80304E18 00301D78 93 41 00 80 */ stw r26, 0x80(r1) +/* 80304E1C 00301D7C 93 21 00 78 */ stw r25, 0x78(r1) +/* 80304E20 00301D80 48 00 00 18 */ b lbl_80304E38 +lbl_80304E24: +/* 80304E24 00301D84 28 19 00 00 */ cmplwi r25, 0 +/* 80304E28 00301D88 41 82 00 0C */ beq lbl_80304E34 +/* 80304E2C 00301D8C 7F 23 CB 78 */ mr r3, r25 +/* 80304E30 00301D90 48 03 8C B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80304E34: +/* 80304E34 00301D94 3B 39 00 10 */ addi r25, r25, 0x10 +lbl_80304E38: +/* 80304E38 00301D98 7C 19 D0 40 */ cmplw r25, r26 +/* 80304E3C 00301D9C 40 82 FF E8 */ bne lbl_80304E24 +/* 80304E40 00301DA0 80 61 01 74 */ lwz r3, 0x174(r1) +/* 80304E44 00301DA4 28 03 00 00 */ cmplwi r3, 0 +/* 80304E48 00301DA8 41 82 00 08 */ beq lbl_80304E50 +/* 80304E4C 00301DAC 48 01 0A E5 */ bl Free__7CMemoryFPCv +lbl_80304E50: +/* 80304E50 00301DB0 80 81 01 C4 */ lwz r4, 0x1c4(r1) +/* 80304E54 00301DB4 38 61 01 58 */ addi r3, r1, 0x158 +/* 80304E58 00301DB8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80304E5C 00301DBC 38 A0 FF FF */ li r5, -1 +/* 80304E60 00301DC0 80 84 00 00 */ lwz r4, 0(r4) +/* 80304E64 00301DC4 48 03 7F 2D */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80304E68 00301DC8 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha +/* 80304E6C 00301DCC 38 61 01 48 */ addi r3, r1, 0x148 +/* 80304E70 00301DD0 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l +/* 80304E74 00301DD4 38 84 00 1A */ addi r4, r4, 0x1a +/* 80304E78 00301DD8 4B F1 7D C5 */ bl sub_8021cc3c +/* 80304E7C 00301DDC 38 61 01 58 */ addi r3, r1, 0x158 +/* 80304E80 00301DE0 38 81 01 48 */ addi r4, r1, 0x148 +/* 80304E84 00301DE4 4B F1 7E E5 */ bl sub_8021cd68 +/* 80304E88 00301DE8 7C 7A 1B 78 */ mr r26, r3 +/* 80304E8C 00301DEC 38 61 01 48 */ addi r3, r1, 0x148 +/* 80304E90 00301DF0 48 03 7E 3D */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80304E94 00301DF4 38 61 01 58 */ addi r3, r1, 0x158 +/* 80304E98 00301DF8 48 03 7E 35 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80304E9C 00301DFC 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80304EA0 00301E00 41 82 01 D8 */ beq lbl_80305078 +/* 80304EA4 00301E04 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 80304EA8 00301E08 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80304EAC 00301E0C 48 08 B3 31 */ bl atof +/* 80304EB0 00301E10 38 00 00 00 */ li r0, 0 +/* 80304EB4 00301E14 80 81 01 BC */ lwz r4, 0x1bc(r1) +/* 80304EB8 00301E18 FF E0 08 18 */ frsp f31, f1 +/* 80304EBC 00301E1C 90 01 01 AC */ stw r0, 0x1ac(r1) +/* 80304EC0 00301E20 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 80304EC4 00301E24 38 84 FF FE */ addi r4, r4, -2 +/* 80304EC8 00301E28 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 80304ECC 00301E2C 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 80304ED0 00301E30 48 00 09 D9 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +/* 80304ED4 00301E34 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80304ED8 00301E38 83 81 01 C4 */ lwz r28, 0x1c4(r1) +/* 80304EDC 00301E3C 83 41 01 BC */ lwz r26, 0x1bc(r1) +/* 80304EE0 00301E40 3B 63 54 52 */ addi r27, r3, 0x54585452@l +/* 80304EE4 00301E44 3B 00 00 02 */ li r24, 2 +/* 80304EE8 00301E48 3B 20 00 20 */ li r25, 0x20 +/* 80304EEC 00301E4C 48 00 00 B0 */ b lbl_80304F9C +lbl_80304EF0: +/* 80304EF0 00301E50 7F C4 F3 78 */ mr r4, r30 +/* 80304EF4 00301E54 7C 7C CA 14 */ add r3, r28, r25 +/* 80304EF8 00301E58 48 00 06 F5 */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80304EFC 00301E5C 90 61 01 04 */ stw r3, 0x104(r1) +/* 80304F00 00301E60 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80304F04 00301E64 38 A1 01 00 */ addi r5, r1, 0x100 +/* 80304F08 00301E68 93 61 01 00 */ stw r27, 0x100(r1) +/* 80304F0C 00301E6C 80 9D 00 00 */ lwz r4, 0(r29) +/* 80304F10 00301E70 81 84 00 00 */ lwz r12, 0(r4) +/* 80304F14 00301E74 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80304F18 00301E78 7D 89 03 A6 */ mtctr r12 +/* 80304F1C 00301E7C 4E 80 04 21 */ bctrl +/* 80304F20 00301E80 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80304F24 00301E84 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80304F28 00301E88 48 03 BF 81 */ bl __ct__6CTokenFRC6CToken +/* 80304F2C 00301E8C 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 80304F30 00301E90 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 80304F34 00301E94 7C 00 28 00 */ cmpw r0, r5 +/* 80304F38 00301E98 41 80 00 1C */ blt lbl_80304F54 +/* 80304F3C 00301E9C 2C 05 00 00 */ cmpwi r5, 0 +/* 80304F40 00301EA0 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 80304F44 00301EA4 38 80 00 04 */ li r4, 4 +/* 80304F48 00301EA8 41 82 00 08 */ beq lbl_80304F50 +/* 80304F4C 00301EAC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80304F50: +/* 80304F50 00301EB0 48 00 09 59 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +lbl_80304F54: +/* 80304F54 00301EB4 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 80304F58 00301EB8 80 61 01 B4 */ lwz r3, 0x1b4(r1) +/* 80304F5C 00301EBC 54 00 18 38 */ slwi r0, r0, 3 +/* 80304F60 00301EC0 7C 63 02 15 */ add. r3, r3, r0 +/* 80304F64 00301EC4 41 82 00 0C */ beq lbl_80304F70 +/* 80304F68 00301EC8 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80304F6C 00301ECC 48 03 BF 3D */ bl __ct__6CTokenFRC6CToken +lbl_80304F70: +/* 80304F70 00301ED0 80 A1 01 AC */ lwz r5, 0x1ac(r1) +/* 80304F74 00301ED4 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80304F78 00301ED8 38 80 00 00 */ li r4, 0 +/* 80304F7C 00301EDC 38 05 00 01 */ addi r0, r5, 1 +/* 80304F80 00301EE0 90 01 01 AC */ stw r0, 0x1ac(r1) +/* 80304F84 00301EE4 48 03 BE BD */ bl __dt__6CTokenFv +/* 80304F88 00301EE8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80304F8C 00301EEC 38 80 FF FF */ li r4, -1 +/* 80304F90 00301EF0 48 03 BE B1 */ bl __dt__6CTokenFv +/* 80304F94 00301EF4 3B 39 00 10 */ addi r25, r25, 0x10 +/* 80304F98 00301EF8 3B 18 00 01 */ addi r24, r24, 1 +lbl_80304F9C: +/* 80304F9C 00301EFC 7C 18 D0 00 */ cmpw r24, r26 +/* 80304FA0 00301F00 41 80 FF 50 */ blt lbl_80304EF0 +/* 80304FA4 00301F04 C0 22 C7 68 */ lfs f1, lbl_805AE488@sda21(r2) +/* 80304FA8 00301F08 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80304FAC 00301F0C FC 40 08 90 */ fmr f2, f1 +/* 80304FB0 00301F10 48 00 F2 51 */ bl __ct__9CVector2fFff +/* 80304FB4 00301F14 FC 20 F8 90 */ fmr f1, f31 +/* 80304FB8 00301F18 7C 65 1B 78 */ mr r5, r3 +/* 80304FBC 00301F1C 7F E3 FB 78 */ mr r3, r31 +/* 80304FC0 00301F20 38 81 01 A8 */ addi r4, r1, 0x1a8 +/* 80304FC4 00301F24 48 05 45 71 */ bl "__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f" +/* 80304FC8 00301F28 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 80304FCC 00301F2C 83 21 01 B4 */ lwz r25, 0x1b4(r1) +/* 80304FD0 00301F30 54 00 18 38 */ slwi r0, r0, 3 +/* 80304FD4 00301F34 7F 59 02 14 */ add r26, r25, r0 +/* 80304FD8 00301F38 93 21 00 6C */ stw r25, 0x6c(r1) +/* 80304FDC 00301F3C 93 41 00 74 */ stw r26, 0x74(r1) +/* 80304FE0 00301F40 93 41 00 70 */ stw r26, 0x70(r1) +/* 80304FE4 00301F44 93 21 00 68 */ stw r25, 0x68(r1) +/* 80304FE8 00301F48 48 00 00 1C */ b lbl_80305004 +lbl_80304FEC: +/* 80304FEC 00301F4C 28 19 00 00 */ cmplwi r25, 0 +/* 80304FF0 00301F50 41 82 00 10 */ beq lbl_80305000 +/* 80304FF4 00301F54 7F 23 CB 78 */ mr r3, r25 +/* 80304FF8 00301F58 38 80 00 00 */ li r4, 0 +/* 80304FFC 00301F5C 48 03 BE 45 */ bl __dt__6CTokenFv +lbl_80305000: +/* 80305000 00301F60 3B 39 00 08 */ addi r25, r25, 8 +lbl_80305004: +/* 80305004 00301F64 7C 19 D0 40 */ cmplw r25, r26 +/* 80305008 00301F68 40 82 FF E4 */ bne lbl_80304FEC +/* 8030500C 00301F6C 80 61 01 B4 */ lwz r3, 0x1b4(r1) +/* 80305010 00301F70 28 03 00 00 */ cmplwi r3, 0 +/* 80305014 00301F74 41 82 00 08 */ beq lbl_8030501C +/* 80305018 00301F78 48 01 09 19 */ bl Free__7CMemoryFPCv +lbl_8030501C: +/* 8030501C 00301F7C 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 80305020 00301F80 83 21 01 C4 */ lwz r25, 0x1c4(r1) +/* 80305024 00301F84 54 00 20 36 */ slwi r0, r0, 4 +/* 80305028 00301F88 7F 59 02 14 */ add r26, r25, r0 +/* 8030502C 00301F8C 93 21 00 5C */ stw r25, 0x5c(r1) +/* 80305030 00301F90 93 41 00 64 */ stw r26, 0x64(r1) +/* 80305034 00301F94 93 41 00 60 */ stw r26, 0x60(r1) +/* 80305038 00301F98 93 21 00 58 */ stw r25, 0x58(r1) +/* 8030503C 00301F9C 48 00 00 18 */ b lbl_80305054 +lbl_80305040: +/* 80305040 00301FA0 28 19 00 00 */ cmplwi r25, 0 +/* 80305044 00301FA4 41 82 00 0C */ beq lbl_80305050 +/* 80305048 00301FA8 7F 23 CB 78 */ mr r3, r25 +/* 8030504C 00301FAC 48 03 8A 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80305050: +/* 80305050 00301FB0 3B 39 00 10 */ addi r25, r25, 0x10 +lbl_80305054: +/* 80305054 00301FB4 7C 19 D0 40 */ cmplw r25, r26 +/* 80305058 00301FB8 40 82 FF E8 */ bne lbl_80305040 +/* 8030505C 00301FBC 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 80305060 00301FC0 28 03 00 00 */ cmplwi r3, 0 +/* 80305064 00301FC4 41 82 00 08 */ beq lbl_8030506C +/* 80305068 00301FC8 48 01 08 C9 */ bl Free__7CMemoryFPCv +lbl_8030506C: +/* 8030506C 00301FCC 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80305070 00301FD0 48 03 8A 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80305074 00301FD4 48 00 04 88 */ b lbl_803054FC +lbl_80305078: +/* 80305078 00301FD8 80 81 01 C4 */ lwz r4, 0x1c4(r1) +/* 8030507C 00301FDC 38 61 01 38 */ addi r3, r1, 0x138 +/* 80305080 00301FE0 38 C1 00 0C */ addi r6, r1, 0xc +/* 80305084 00301FE4 38 A0 FF FF */ li r5, -1 +/* 80305088 00301FE8 80 84 00 00 */ lwz r4, 0(r4) +/* 8030508C 00301FEC 48 03 7D 05 */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80305090 00301FF0 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha +/* 80305094 00301FF4 38 61 01 28 */ addi r3, r1, 0x128 +/* 80305098 00301FF8 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l +/* 8030509C 00301FFC 38 84 00 1C */ addi r4, r4, 0x1c +/* 803050A0 00302000 4B F1 7B 9D */ bl sub_8021cc3c +/* 803050A4 00302004 38 61 01 38 */ addi r3, r1, 0x138 +/* 803050A8 00302008 38 81 01 28 */ addi r4, r1, 0x128 +/* 803050AC 0030200C 4B F1 7C BD */ bl sub_8021cd68 +/* 803050B0 00302010 7C 7A 1B 78 */ mr r26, r3 +/* 803050B4 00302014 38 61 01 28 */ addi r3, r1, 0x128 +/* 803050B8 00302018 48 03 7C 15 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803050BC 0030201C 38 61 01 38 */ addi r3, r1, 0x138 +/* 803050C0 00302020 48 03 7C 0D */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803050C4 00302024 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 803050C8 00302028 41 82 02 04 */ beq lbl_803052CC +/* 803050CC 0030202C 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 803050D0 00302030 2C 00 00 05 */ cmpwi r0, 5 +/* 803050D4 00302034 41 80 01 F8 */ blt lbl_803052CC +/* 803050D8 00302038 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 803050DC 0030203C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 803050E0 00302040 48 08 B0 FD */ bl atof +/* 803050E4 00302044 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 803050E8 00302048 FF E0 08 18 */ frsp f31, f1 +/* 803050EC 0030204C 80 63 00 20 */ lwz r3, 0x20(r3) +/* 803050F0 00302050 48 08 B0 ED */ bl atof +/* 803050F4 00302054 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 803050F8 00302058 FF C0 08 18 */ frsp f30, f1 +/* 803050FC 0030205C 80 63 00 30 */ lwz r3, 0x30(r3) +/* 80305100 00302060 48 08 B0 DD */ bl atof +/* 80305104 00302064 38 00 00 00 */ li r0, 0 +/* 80305108 00302068 80 81 01 BC */ lwz r4, 0x1bc(r1) +/* 8030510C 0030206C FF A0 08 18 */ frsp f29, f1 +/* 80305110 00302070 90 01 01 9C */ stw r0, 0x19c(r1) +/* 80305114 00302074 38 61 01 98 */ addi r3, r1, 0x198 +/* 80305118 00302078 38 84 FF FC */ addi r4, r4, -4 +/* 8030511C 0030207C 90 01 01 A0 */ stw r0, 0x1a0(r1) +/* 80305120 00302080 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 80305124 00302084 48 00 07 85 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +/* 80305128 00302088 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8030512C 0030208C 83 41 01 C4 */ lwz r26, 0x1c4(r1) +/* 80305130 00302090 83 81 01 BC */ lwz r28, 0x1bc(r1) +/* 80305134 00302094 3B 63 54 52 */ addi r27, r3, 0x54585452@l +/* 80305138 00302098 3B 00 00 04 */ li r24, 4 +/* 8030513C 0030209C 3B 20 00 40 */ li r25, 0x40 +/* 80305140 003020A0 48 00 00 B0 */ b lbl_803051F0 +lbl_80305144: +/* 80305144 003020A4 7F C4 F3 78 */ mr r4, r30 +/* 80305148 003020A8 7C 7A CA 14 */ add r3, r26, r25 +/* 8030514C 003020AC 48 00 04 A1 */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80305150 003020B0 90 61 00 E4 */ stw r3, 0xe4(r1) +/* 80305154 003020B4 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80305158 003020B8 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8030515C 003020BC 93 61 00 E0 */ stw r27, 0xe0(r1) +/* 80305160 003020C0 80 9D 00 00 */ lwz r4, 0(r29) +/* 80305164 003020C4 81 84 00 00 */ lwz r12, 0(r4) +/* 80305168 003020C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8030516C 003020CC 7D 89 03 A6 */ mtctr r12 +/* 80305170 003020D0 4E 80 04 21 */ bctrl +/* 80305174 003020D4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80305178 003020D8 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8030517C 003020DC 48 03 BD 2D */ bl __ct__6CTokenFRC6CToken +/* 80305180 003020E0 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 80305184 003020E4 80 A1 01 A0 */ lwz r5, 0x1a0(r1) +/* 80305188 003020E8 7C 00 28 00 */ cmpw r0, r5 +/* 8030518C 003020EC 41 80 00 1C */ blt lbl_803051A8 +/* 80305190 003020F0 2C 05 00 00 */ cmpwi r5, 0 +/* 80305194 003020F4 38 61 01 98 */ addi r3, r1, 0x198 +/* 80305198 003020F8 38 80 00 04 */ li r4, 4 +/* 8030519C 003020FC 41 82 00 08 */ beq lbl_803051A4 +/* 803051A0 00302100 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803051A4: +/* 803051A4 00302104 48 00 07 05 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +lbl_803051A8: +/* 803051A8 00302108 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 803051AC 0030210C 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 803051B0 00302110 54 00 18 38 */ slwi r0, r0, 3 +/* 803051B4 00302114 7C 63 02 15 */ add. r3, r3, r0 +/* 803051B8 00302118 41 82 00 0C */ beq lbl_803051C4 +/* 803051BC 0030211C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 803051C0 00302120 48 03 BC E9 */ bl __ct__6CTokenFRC6CToken +lbl_803051C4: +/* 803051C4 00302124 80 A1 01 9C */ lwz r5, 0x19c(r1) +/* 803051C8 00302128 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 803051CC 0030212C 38 80 00 00 */ li r4, 0 +/* 803051D0 00302130 38 05 00 01 */ addi r0, r5, 1 +/* 803051D4 00302134 90 01 01 9C */ stw r0, 0x19c(r1) +/* 803051D8 00302138 48 03 BC 69 */ bl __dt__6CTokenFv +/* 803051DC 0030213C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 803051E0 00302140 38 80 FF FF */ li r4, -1 +/* 803051E4 00302144 48 03 BC 5D */ bl __dt__6CTokenFv +/* 803051E8 00302148 3B 39 00 10 */ addi r25, r25, 0x10 +/* 803051EC 0030214C 3B 18 00 01 */ addi r24, r24, 1 +lbl_803051F0: +/* 803051F0 00302150 7C 18 E0 00 */ cmpw r24, r28 +/* 803051F4 00302154 41 80 FF 50 */ blt lbl_80305144 +/* 803051F8 00302158 FC 20 F0 90 */ fmr f1, f30 +/* 803051FC 0030215C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80305200 00302160 FC 40 E8 90 */ fmr f2, f29 +/* 80305204 00302164 48 00 EF FD */ bl __ct__9CVector2fFff +/* 80305208 00302168 FC 20 F8 90 */ fmr f1, f31 +/* 8030520C 0030216C 7C 65 1B 78 */ mr r5, r3 +/* 80305210 00302170 7F E3 FB 78 */ mr r3, r31 +/* 80305214 00302174 38 81 01 98 */ addi r4, r1, 0x198 +/* 80305218 00302178 48 05 43 1D */ bl "__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f" +/* 8030521C 0030217C 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 80305220 00302180 83 21 01 A4 */ lwz r25, 0x1a4(r1) +/* 80305224 00302184 54 00 18 38 */ slwi r0, r0, 3 +/* 80305228 00302188 7F 99 02 14 */ add r28, r25, r0 +/* 8030522C 0030218C 93 21 00 4C */ stw r25, 0x4c(r1) +/* 80305230 00302190 93 81 00 54 */ stw r28, 0x54(r1) +/* 80305234 00302194 93 81 00 50 */ stw r28, 0x50(r1) +/* 80305238 00302198 93 21 00 48 */ stw r25, 0x48(r1) +/* 8030523C 0030219C 48 00 00 1C */ b lbl_80305258 +lbl_80305240: +/* 80305240 003021A0 28 19 00 00 */ cmplwi r25, 0 +/* 80305244 003021A4 41 82 00 10 */ beq lbl_80305254 +/* 80305248 003021A8 7F 23 CB 78 */ mr r3, r25 +/* 8030524C 003021AC 38 80 00 00 */ li r4, 0 +/* 80305250 003021B0 48 03 BB F1 */ bl __dt__6CTokenFv +lbl_80305254: +/* 80305254 003021B4 3B 39 00 08 */ addi r25, r25, 8 +lbl_80305258: +/* 80305258 003021B8 7C 19 E0 40 */ cmplw r25, r28 +/* 8030525C 003021BC 40 82 FF E4 */ bne lbl_80305240 +/* 80305260 003021C0 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 80305264 003021C4 28 03 00 00 */ cmplwi r3, 0 +/* 80305268 003021C8 41 82 00 08 */ beq lbl_80305270 +/* 8030526C 003021CC 48 01 06 C5 */ bl Free__7CMemoryFPCv +lbl_80305270: +/* 80305270 003021D0 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 80305274 003021D4 83 21 01 C4 */ lwz r25, 0x1c4(r1) +/* 80305278 003021D8 54 00 20 36 */ slwi r0, r0, 4 +/* 8030527C 003021DC 7F 99 02 14 */ add r28, r25, r0 +/* 80305280 003021E0 93 21 00 3C */ stw r25, 0x3c(r1) +/* 80305284 003021E4 93 81 00 44 */ stw r28, 0x44(r1) +/* 80305288 003021E8 93 81 00 40 */ stw r28, 0x40(r1) +/* 8030528C 003021EC 93 21 00 38 */ stw r25, 0x38(r1) +/* 80305290 003021F0 48 00 00 18 */ b lbl_803052A8 +lbl_80305294: +/* 80305294 003021F4 28 19 00 00 */ cmplwi r25, 0 +/* 80305298 003021F8 41 82 00 0C */ beq lbl_803052A4 +/* 8030529C 003021FC 7F 23 CB 78 */ mr r3, r25 +/* 803052A0 00302200 48 03 88 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803052A4: +/* 803052A4 00302204 3B 39 00 10 */ addi r25, r25, 0x10 +lbl_803052A8: +/* 803052A8 00302208 7C 19 E0 40 */ cmplw r25, r28 +/* 803052AC 0030220C 40 82 FF E8 */ bne lbl_80305294 +/* 803052B0 00302210 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 803052B4 00302214 28 03 00 00 */ cmplwi r3, 0 +/* 803052B8 00302218 41 82 00 08 */ beq lbl_803052C0 +/* 803052BC 0030221C 48 01 06 75 */ bl Free__7CMemoryFPCv +lbl_803052C0: +/* 803052C0 00302220 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 803052C4 00302224 48 03 88 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803052C8 00302228 48 00 02 34 */ b lbl_803054FC +lbl_803052CC: +/* 803052CC 0030222C 80 81 01 C4 */ lwz r4, 0x1c4(r1) +/* 803052D0 00302230 38 61 01 18 */ addi r3, r1, 0x118 +/* 803052D4 00302234 38 C1 00 08 */ addi r6, r1, 8 +/* 803052D8 00302238 38 A0 FF FF */ li r5, -1 +/* 803052DC 0030223C 80 84 00 00 */ lwz r4, 0(r4) +/* 803052E0 00302240 48 03 7A B1 */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 803052E4 00302244 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha +/* 803052E8 00302248 38 61 01 08 */ addi r3, r1, 0x108 +/* 803052EC 0030224C 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l +/* 803052F0 00302250 38 84 00 1F */ addi r4, r4, 0x1f +/* 803052F4 00302254 4B F1 79 49 */ bl sub_8021cc3c +/* 803052F8 00302258 38 61 01 18 */ addi r3, r1, 0x118 +/* 803052FC 0030225C 38 81 01 08 */ addi r4, r1, 0x108 +/* 80305300 00302260 4B F1 7A 69 */ bl sub_8021cd68 +/* 80305304 00302264 7C 7C 1B 78 */ mr r28, r3 +/* 80305308 00302268 38 61 01 08 */ addi r3, r1, 0x108 +/* 8030530C 0030226C 48 03 79 C1 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80305310 00302270 38 61 01 18 */ addi r3, r1, 0x118 +/* 80305314 00302274 48 03 79 B9 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80305318 00302278 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8030531C 0030227C 41 82 01 0C */ beq lbl_80305428 +/* 80305320 00302280 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 80305324 00302284 2C 00 00 04 */ cmpwi r0, 4 +/* 80305328 00302288 40 82 01 00 */ bne lbl_80305428 +/* 8030532C 0030228C 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 80305330 00302290 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80305334 00302294 48 08 AE A9 */ bl atof +/* 80305338 00302298 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 8030533C 0030229C FF A0 08 18 */ frsp f29, f1 +/* 80305340 003022A0 80 63 00 20 */ lwz r3, 0x20(r3) +/* 80305344 003022A4 48 08 AE 99 */ bl atof +/* 80305348 003022A8 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 8030534C 003022AC FF C0 08 18 */ frsp f30, f1 +/* 80305350 003022B0 7F C4 F3 78 */ mr r4, r30 +/* 80305354 003022B4 38 63 00 30 */ addi r3, r3, 0x30 +/* 80305358 003022B8 48 00 02 95 */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8030535C 003022BC 3C 80 54 58 */ lis r4, 0x54585452@ha +/* 80305360 003022C0 90 61 00 C4 */ stw r3, 0xc4(r1) +/* 80305364 003022C4 38 04 54 52 */ addi r0, r4, 0x54585452@l +/* 80305368 003022C8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8030536C 003022CC 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80305370 003022D0 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 80305374 003022D4 80 9D 00 00 */ lwz r4, 0(r29) +/* 80305378 003022D8 81 84 00 00 */ lwz r12, 0(r4) +/* 8030537C 003022DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80305380 003022E0 7D 89 03 A6 */ mtctr r12 +/* 80305384 003022E4 4E 80 04 21 */ bctrl +/* 80305388 003022E8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8030538C 003022EC 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80305390 003022F0 48 03 BB 19 */ bl __ct__6CTokenFRC6CToken +/* 80305394 003022F4 FC 20 E8 90 */ fmr f1, f29 +/* 80305398 003022F8 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8030539C 003022FC FC 40 F0 90 */ fmr f2, f30 +/* 803053A0 00302300 48 00 EE 61 */ bl __ct__9CVector2fFff +/* 803053A4 00302304 7C 65 1B 78 */ mr r5, r3 +/* 803053A8 00302308 7F E3 FB 78 */ mr r3, r31 +/* 803053AC 0030230C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 803053B0 00302310 48 05 42 95 */ bl "__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f" +/* 803053B4 00302314 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 803053B8 00302318 38 80 00 00 */ li r4, 0 +/* 803053BC 0030231C 48 03 BA 85 */ bl __dt__6CTokenFv +/* 803053C0 00302320 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 803053C4 00302324 38 80 FF FF */ li r4, -1 +/* 803053C8 00302328 48 03 BA 79 */ bl __dt__6CTokenFv +/* 803053CC 0030232C 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 803053D0 00302330 83 21 01 C4 */ lwz r25, 0x1c4(r1) +/* 803053D4 00302334 54 00 20 36 */ slwi r0, r0, 4 +/* 803053D8 00302338 7F 99 02 14 */ add r28, r25, r0 +/* 803053DC 0030233C 93 21 00 2C */ stw r25, 0x2c(r1) +/* 803053E0 00302340 93 81 00 34 */ stw r28, 0x34(r1) +/* 803053E4 00302344 93 81 00 30 */ stw r28, 0x30(r1) +/* 803053E8 00302348 93 21 00 28 */ stw r25, 0x28(r1) +/* 803053EC 0030234C 48 00 00 18 */ b lbl_80305404 +lbl_803053F0: +/* 803053F0 00302350 28 19 00 00 */ cmplwi r25, 0 +/* 803053F4 00302354 41 82 00 0C */ beq lbl_80305400 +/* 803053F8 00302358 7F 23 CB 78 */ mr r3, r25 +/* 803053FC 0030235C 48 03 86 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80305400: +/* 80305400 00302360 3B 39 00 10 */ addi r25, r25, 0x10 +lbl_80305404: +/* 80305404 00302364 7C 19 E0 40 */ cmplw r25, r28 +/* 80305408 00302368 40 82 FF E8 */ bne lbl_803053F0 +/* 8030540C 0030236C 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 80305410 00302370 28 03 00 00 */ cmplwi r3, 0 +/* 80305414 00302374 41 82 00 08 */ beq lbl_8030541C +/* 80305418 00302378 48 01 05 19 */ bl Free__7CMemoryFPCv +lbl_8030541C: +/* 8030541C 0030237C 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80305420 00302380 48 03 86 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80305424 00302384 48 00 00 D8 */ b lbl_803054FC +lbl_80305428: +/* 80305428 00302388 80 01 01 BC */ lwz r0, 0x1bc(r1) +/* 8030542C 0030238C 83 21 01 C4 */ lwz r25, 0x1c4(r1) +/* 80305430 00302390 54 00 20 36 */ slwi r0, r0, 4 +/* 80305434 00302394 7F 99 02 14 */ add r28, r25, r0 +/* 80305438 00302398 93 21 00 1C */ stw r25, 0x1c(r1) +/* 8030543C 0030239C 93 81 00 24 */ stw r28, 0x24(r1) +/* 80305440 003023A0 93 81 00 20 */ stw r28, 0x20(r1) +/* 80305444 003023A4 93 21 00 18 */ stw r25, 0x18(r1) +/* 80305448 003023A8 48 00 00 18 */ b lbl_80305460 +lbl_8030544C: +/* 8030544C 003023AC 28 19 00 00 */ cmplwi r25, 0 +/* 80305450 003023B0 41 82 00 0C */ beq lbl_8030545C +/* 80305454 003023B4 7F 23 CB 78 */ mr r3, r25 +/* 80305458 003023B8 48 03 86 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8030545C: +/* 8030545C 003023BC 3B 39 00 10 */ addi r25, r25, 0x10 +lbl_80305460: +/* 80305460 003023C0 7C 19 E0 40 */ cmplw r25, r28 +/* 80305464 003023C4 40 82 FF E8 */ bne lbl_8030544C +/* 80305468 003023C8 80 61 01 C4 */ lwz r3, 0x1c4(r1) +/* 8030546C 003023CC 28 03 00 00 */ cmplwi r3, 0 +/* 80305470 003023D0 41 82 00 08 */ beq lbl_80305478 +/* 80305474 003023D4 48 01 04 BD */ bl Free__7CMemoryFPCv +lbl_80305478: +/* 80305478 003023D8 7F C4 F3 78 */ mr r4, r30 +/* 8030547C 003023DC 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80305480 003023E0 48 00 01 6D */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80305484 003023E4 3C 80 54 58 */ lis r4, 0x54585452@ha +/* 80305488 003023E8 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 8030548C 003023EC 38 04 54 52 */ addi r0, r4, 0x54585452@l +/* 80305490 003023F0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80305494 003023F4 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80305498 003023F8 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 8030549C 003023FC 80 9D 00 00 */ lwz r4, 0(r29) +/* 803054A0 00302400 81 84 00 00 */ lwz r12, 0(r4) +/* 803054A4 00302404 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803054A8 00302408 7D 89 03 A6 */ mtctr r12 +/* 803054AC 0030240C 4E 80 04 21 */ bctrl +/* 803054B0 00302410 38 61 00 90 */ addi r3, r1, 0x90 +/* 803054B4 00302414 38 81 00 98 */ addi r4, r1, 0x98 +/* 803054B8 00302418 48 03 B9 F1 */ bl __ct__6CTokenFRC6CToken +/* 803054BC 0030241C C0 22 C7 68 */ lfs f1, lbl_805AE488@sda21(r2) +/* 803054C0 00302420 38 61 00 88 */ addi r3, r1, 0x88 +/* 803054C4 00302424 FC 40 08 90 */ fmr f2, f1 +/* 803054C8 00302428 48 00 ED 39 */ bl __ct__9CVector2fFff +/* 803054CC 0030242C 7C 65 1B 78 */ mr r5, r3 +/* 803054D0 00302430 7F E3 FB 78 */ mr r3, r31 +/* 803054D4 00302434 38 81 00 90 */ addi r4, r1, 0x90 +/* 803054D8 00302438 48 05 41 6D */ bl "__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f" +/* 803054DC 0030243C 38 61 00 90 */ addi r3, r1, 0x90 +/* 803054E0 00302440 38 80 00 00 */ li r4, 0 +/* 803054E4 00302444 48 03 B9 5D */ bl __dt__6CTokenFv +/* 803054E8 00302448 38 61 00 98 */ addi r3, r1, 0x98 +/* 803054EC 0030244C 38 80 FF FF */ li r4, -1 +/* 803054F0 00302450 48 03 B9 51 */ bl __dt__6CTokenFv +/* 803054F4 00302454 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 803054F8 00302458 48 03 85 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803054FC: +/* 803054FC 0030245C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 80305500 00302460 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 80305504 00302464 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 80305508 00302468 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 8030550C 0030246C E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 80305510 00302470 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 80305514 00302474 BB 01 01 E0 */ lmw r24, 0x1e0(r1) +/* 80305518 00302478 80 01 02 34 */ lwz r0, 0x234(r1) +/* 8030551C 0030247C 7C 08 03 A6 */ mtlr r0 +/* 80305520 00302480 38 21 02 30 */ addi r1, r1, 0x230 +/* 80305524 00302484 4E 80 00 20 */ blr + +.global GetFont__11CTextParserFPCwi +GetFont__11CTextParserFPCwi: +/* 80305528 00302488 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030552C 0030248C 7C 08 02 A6 */ mflr r0 +/* 80305530 00302490 90 01 00 34 */ stw r0, 0x34(r1) +/* 80305534 00302494 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80305538 00302498 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8030553C 0030249C 7C BE 2B 78 */ mr r30, r5 +/* 80305540 003024A0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80305544 003024A4 7C 9D 23 78 */ mr r29, r4 +/* 80305548 003024A8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8030554C 003024AC 7C 7C 1B 78 */ mr r28, r3 +/* 80305550 003024B0 38 7E 00 04 */ addi r3, r30, 4 +/* 80305554 003024B4 4B FF EE 25 */ bl GetColorValue__11CTextParserFPCw +/* 80305558 003024B8 54 7F 80 1E */ slwi r31, r3, 0x10 +/* 8030555C 003024BC 7F C3 F3 78 */ mr r3, r30 +/* 80305560 003024C0 4B FF EE 19 */ bl GetColorValue__11CTextParserFPCw +/* 80305564 003024C4 54 60 C0 0E */ slwi r0, r3, 0x18 +/* 80305568 003024C8 38 7E 00 08 */ addi r3, r30, 8 +/* 8030556C 003024CC 7C 1F FB 78 */ or r31, r0, r31 +/* 80305570 003024D0 4B FF EE 09 */ bl GetColorValue__11CTextParserFPCw +/* 80305574 003024D4 54 60 40 2E */ slwi r0, r3, 8 +/* 80305578 003024D8 38 7E 00 0C */ addi r3, r30, 0xc +/* 8030557C 003024DC 7C 1F FB 78 */ or r31, r0, r31 +/* 80305580 003024E0 4B FF ED F9 */ bl GetColorValue__11CTextParserFPCw +/* 80305584 003024E4 3C 80 46 4F */ lis r4, 0x464F4E54@ha +/* 80305588 003024E8 7C 63 FB 78 */ or r3, r3, r31 +/* 8030558C 003024EC 38 04 4E 54 */ addi r0, r4, 0x464F4E54@l +/* 80305590 003024F0 90 61 00 14 */ stw r3, 0x14(r1) +/* 80305594 003024F4 38 61 00 08 */ addi r3, r1, 8 +/* 80305598 003024F8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8030559C 003024FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 803055A0 00302500 80 9D 00 00 */ lwz r4, 0(r29) +/* 803055A4 00302504 81 84 00 00 */ lwz r12, 0(r4) +/* 803055A8 00302508 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803055AC 0030250C 7D 89 03 A6 */ mtctr r12 +/* 803055B0 00302510 4E 80 04 21 */ bctrl +/* 803055B4 00302514 7F 83 E3 78 */ mr r3, r28 +/* 803055B8 00302518 38 81 00 08 */ addi r4, r1, 8 +/* 803055BC 0030251C 48 03 B8 ED */ bl __ct__6CTokenFRC6CToken +/* 803055C0 00302520 38 61 00 08 */ addi r3, r1, 8 +/* 803055C4 00302524 38 80 FF FF */ li r4, -1 +/* 803055C8 00302528 48 03 B8 79 */ bl __dt__6CTokenFv +/* 803055CC 0030252C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803055D0 00302530 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803055D4 00302534 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803055D8 00302538 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803055DC 0030253C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 803055E0 00302540 7C 08 03 A6 */ mtlr r0 +/* 803055E4 00302544 38 21 00 30 */ addi r1, r1, 0x30 +/* 803055E8 00302548 4E 80 00 20 */ blr + +.global "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 803055EC 0030254C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803055F0 00302550 7C 08 02 A6 */ mflr r0 +/* 803055F4 00302554 90 01 00 74 */ stw r0, 0x74(r1) +/* 803055F8 00302558 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 803055FC 0030255C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80305600 00302560 7C 9E 23 78 */ mr r30, r4 +/* 80305604 00302564 7C 64 1B 78 */ mr r4, r3 +/* 80305608 00302568 38 61 00 34 */ addi r3, r1, 0x34 +/* 8030560C 0030256C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80305610 00302570 48 03 91 11 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80305614 00302574 38 61 00 44 */ addi r3, r1, 0x44 +/* 80305618 00302578 38 81 00 34 */ addi r4, r1, 0x34 +/* 8030561C 0030257C 48 03 81 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80305620 00302580 38 61 00 34 */ addi r3, r1, 0x34 +/* 80305624 00302584 48 03 7B 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80305628 00302588 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8030562C 0030258C 38 7D 00 04 */ addi r3, r29, 4 +/* 80305630 00302590 4B FF ED 49 */ bl GetColorValue__11CTextParserFPCw +/* 80305634 00302594 54 7F 80 1E */ slwi r31, r3, 0x10 +/* 80305638 00302598 7F A3 EB 78 */ mr r3, r29 +/* 8030563C 0030259C 4B FF ED 3D */ bl GetColorValue__11CTextParserFPCw +/* 80305640 003025A0 54 60 C0 0E */ slwi r0, r3, 0x18 +/* 80305644 003025A4 38 7D 00 08 */ addi r3, r29, 8 +/* 80305648 003025A8 7C 1F FB 78 */ or r31, r0, r31 +/* 8030564C 003025AC 4B FF ED 2D */ bl GetColorValue__11CTextParserFPCw +/* 80305650 003025B0 54 60 40 2E */ slwi r0, r3, 8 +/* 80305654 003025B4 38 7D 00 0C */ addi r3, r29, 0xc +/* 80305658 003025B8 7C 1F FB 78 */ or r31, r0, r31 +/* 8030565C 003025BC 4B FF ED 1D */ bl GetColorValue__11CTextParserFPCw +/* 80305660 003025C0 28 1E 00 00 */ cmplwi r30, 0 +/* 80305664 003025C4 7C 7F FB 78 */ or r31, r3, r31 +/* 80305668 003025C8 41 82 00 BC */ beq lbl_80305724 +/* 8030566C 003025CC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80305670 003025D0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80305674 003025D4 81 1E 00 0C */ lwz r8, 0xc(r30) +/* 80305678 003025D8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8030567C 003025DC 89 21 00 0C */ lbz r9, 0xc(r1) +/* 80305680 003025E0 54 00 18 38 */ slwi r0, r0, 3 +/* 80305684 003025E4 7C 08 02 14 */ add r0, r8, r0 +/* 80305688 003025E8 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8030568C 003025EC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80305690 003025F0 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80305694 003025F4 99 21 00 10 */ stb r9, 0x10(r1) +/* 80305698 003025F8 38 E1 00 08 */ addi r7, r1, 8 +/* 8030569C 003025FC 90 01 00 28 */ stw r0, 0x28(r1) +/* 803056A0 00302600 90 01 00 2C */ stw r0, 0x2c(r1) +/* 803056A4 00302604 91 01 00 30 */ stw r8, 0x30(r1) +/* 803056A8 00302608 99 21 00 08 */ stb r9, 8(r1) +/* 803056AC 0030260C 90 01 00 20 */ stw r0, 0x20(r1) +/* 803056B0 00302610 91 01 00 1C */ stw r8, 0x1c(r1) +/* 803056B4 00302614 4B F9 69 85 */ bl sub_8029c038 +/* 803056B8 00302618 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 803056BC 0030261C 38 80 00 00 */ li r4, 0 +/* 803056C0 00302620 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 803056C4 00302624 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803056C8 00302628 7C 05 00 40 */ cmplw r5, r0 +/* 803056CC 0030262C 41 82 00 18 */ beq lbl_803056E4 +/* 803056D0 00302630 80 61 00 24 */ lwz r3, 0x24(r1) +/* 803056D4 00302634 80 05 00 00 */ lwz r0, 0(r5) +/* 803056D8 00302638 7C 03 00 40 */ cmplw r3, r0 +/* 803056DC 0030263C 41 80 00 08 */ blt lbl_803056E4 +/* 803056E0 00302640 38 80 00 01 */ li r4, 1 +lbl_803056E4: +/* 803056E4 00302644 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 803056E8 00302648 38 81 00 2C */ addi r4, r1, 0x2c +/* 803056EC 0030264C 41 82 00 08 */ beq lbl_803056F4 +/* 803056F0 00302650 38 81 00 14 */ addi r4, r1, 0x14 +lbl_803056F4: +/* 803056F4 00302654 80 1E 00 04 */ lwz r0, 4(r30) +/* 803056F8 00302658 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803056FC 0030265C 54 00 18 38 */ slwi r0, r0, 3 +/* 80305700 00302660 80 84 00 00 */ lwz r4, 0(r4) +/* 80305704 00302664 7C 03 02 14 */ add r0, r3, r0 +/* 80305708 00302668 7C 04 00 40 */ cmplw r4, r0 +/* 8030570C 0030266C 41 82 00 18 */ beq lbl_80305724 +/* 80305710 00302670 83 C4 00 04 */ lwz r30, 4(r4) +/* 80305714 00302674 38 61 00 44 */ addi r3, r1, 0x44 +/* 80305718 00302678 48 03 7A 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8030571C 0030267C 7F C3 F3 78 */ mr r3, r30 +/* 80305720 00302680 48 00 00 10 */ b lbl_80305730 +lbl_80305724: +/* 80305724 00302684 38 61 00 44 */ addi r3, r1, 0x44 +/* 80305728 00302688 48 03 7A 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8030572C 0030268C 7F E3 FB 78 */ mr r3, r31 +lbl_80305730: +/* 80305730 00302690 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80305734 00302694 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80305738 00302698 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8030573C 0030269C 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80305740 003026A0 7C 08 03 A6 */ mtlr r0 +/* 80305744 003026A4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80305748 003026A8 4E 80 00 20 */ blr + +.global ParseText__11CTextParserFR18CTextExecuteBufferPCwi +ParseText__11CTextParserFR18CTextExecuteBufferPCwi: +/* 8030574C 003026AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80305750 003026B0 7C 08 02 A6 */ mflr r0 +/* 80305754 003026B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80305758 003026B8 BF 41 00 08 */ stmw r26, 8(r1) +/* 8030575C 003026BC 7C BC 2B 78 */ mr r28, r5 +/* 80305760 003026C0 7C 7A 1B 78 */ mr r26, r3 +/* 80305764 003026C4 7C 9B 23 78 */ mr r27, r4 +/* 80305768 003026C8 7C DD 33 78 */ mr r29, r6 +/* 8030576C 003026CC 7C FE 3B 78 */ mr r30, r7 +/* 80305770 003026D0 38 A0 00 00 */ li r5, 0 +/* 80305774 003026D4 3B E0 00 00 */ li r31, 0 +/* 80305778 003026D8 48 00 00 D4 */ b lbl_8030584C +lbl_8030577C: +/* 8030577C 003026DC 28 00 00 26 */ cmplwi r0, 0x26 +/* 80305780 003026E0 40 82 00 C8 */ bne lbl_80305848 +/* 80305784 003026E4 2C 1D FF FF */ cmpwi r29, -1 +/* 80305788 003026E8 41 82 00 10 */ beq lbl_80305798 +/* 8030578C 003026EC 38 1F 00 01 */ addi r0, r31, 1 +/* 80305790 003026F0 7C 00 E8 00 */ cmpw r0, r29 +/* 80305794 003026F4 40 80 00 90 */ bge lbl_80305824 +lbl_80305798: +/* 80305798 003026F8 A0 03 00 02 */ lhz r0, 2(r3) +/* 8030579C 003026FC 28 00 00 26 */ cmplwi r0, 0x26 +/* 803057A0 00302700 41 82 00 84 */ beq lbl_80305824 +/* 803057A4 00302704 7C 1F 28 00 */ cmpw r31, r5 +/* 803057A8 00302708 40 81 00 18 */ ble lbl_803057C0 +/* 803057AC 0030270C 54 A0 08 3C */ slwi r0, r5, 1 +/* 803057B0 00302710 7F 63 DB 78 */ mr r3, r27 +/* 803057B4 00302714 7C 9C 02 14 */ add r4, r28, r0 +/* 803057B8 00302718 7C A5 F8 50 */ subf r5, r5, r31 +/* 803057BC 0030271C 4B FF CC B5 */ bl AddString__18CTextExecuteBufferFPCwi +lbl_803057C0: +/* 803057C0 00302720 3B FF 00 01 */ addi r31, r31, 1 +/* 803057C4 00302724 57 E0 08 3C */ slwi r0, r31, 1 +/* 803057C8 00302728 7F E6 FB 78 */ mr r6, r31 +/* 803057CC 0030272C 7C 7C 02 14 */ add r3, r28, r0 +/* 803057D0 00302730 48 00 00 0C */ b lbl_803057DC +lbl_803057D4: +/* 803057D4 00302734 38 63 00 02 */ addi r3, r3, 2 +/* 803057D8 00302738 3B FF 00 01 */ addi r31, r31, 1 +lbl_803057DC: +/* 803057DC 0030273C 2C 1D FF FF */ cmpwi r29, -1 +/* 803057E0 00302740 41 82 00 0C */ beq lbl_803057EC +/* 803057E4 00302744 7C 1F E8 00 */ cmpw r31, r29 +/* 803057E8 00302748 40 80 00 18 */ bge lbl_80305800 +lbl_803057EC: +/* 803057EC 0030274C A0 03 00 00 */ lhz r0, 0(r3) +/* 803057F0 00302750 28 00 00 00 */ cmplwi r0, 0 +/* 803057F4 00302754 41 82 00 0C */ beq lbl_80305800 +/* 803057F8 00302758 28 00 00 3B */ cmplwi r0, 0x3b +/* 803057FC 0030275C 40 82 FF D8 */ bne lbl_803057D4 +lbl_80305800: +/* 80305800 00302760 54 C0 08 3C */ slwi r0, r6, 1 +/* 80305804 00302764 7F 43 D3 78 */ mr r3, r26 +/* 80305808 00302768 7F 64 DB 78 */ mr r4, r27 +/* 8030580C 0030276C 7F C7 F3 78 */ mr r7, r30 +/* 80305810 00302770 7C BC 02 14 */ add r5, r28, r0 +/* 80305814 00302774 7C C6 F8 50 */ subf r6, r6, r31 +/* 80305818 00302778 4B FF ED B9 */ bl ParseTag__11CTextParserFR18CTextExecuteBufferPCwi +/* 8030581C 0030277C 38 BF 00 01 */ addi r5, r31, 1 +/* 80305820 00302780 48 00 00 2C */ b lbl_8030584C +lbl_80305824: +/* 80305824 00302784 54 A4 08 3C */ slwi r4, r5, 1 +/* 80305828 00302788 38 1F 00 01 */ addi r0, r31, 1 +/* 8030582C 0030278C 7F 63 DB 78 */ mr r3, r27 +/* 80305830 00302790 7C 9C 22 14 */ add r4, r28, r4 +/* 80305834 00302794 7C A5 00 50 */ subf r5, r5, r0 +/* 80305838 00302798 4B FF CC 39 */ bl AddString__18CTextExecuteBufferFPCwi +/* 8030583C 0030279C 3B FF 00 02 */ addi r31, r31, 2 +/* 80305840 003027A0 7F E5 FB 78 */ mr r5, r31 +/* 80305844 003027A4 48 00 00 08 */ b lbl_8030584C +lbl_80305848: +/* 80305848 003027A8 3B FF 00 01 */ addi r31, r31, 1 +lbl_8030584C: +/* 8030584C 003027AC 57 E0 08 3C */ slwi r0, r31, 1 +/* 80305850 003027B0 7C 7C 02 14 */ add r3, r28, r0 +/* 80305854 003027B4 A0 03 00 00 */ lhz r0, 0(r3) +/* 80305858 003027B8 28 00 00 00 */ cmplwi r0, 0 +/* 8030585C 003027BC 41 82 00 14 */ beq lbl_80305870 +/* 80305860 003027C0 2C 1D FF FF */ cmpwi r29, -1 +/* 80305864 003027C4 41 82 FF 18 */ beq lbl_8030577C +/* 80305868 003027C8 7C 1F E8 00 */ cmpw r31, r29 +/* 8030586C 003027CC 41 80 FF 10 */ blt lbl_8030577C +lbl_80305870: +/* 80305870 003027D0 7C 1F 28 00 */ cmpw r31, r5 +/* 80305874 003027D4 40 81 00 18 */ ble lbl_8030588C +/* 80305878 003027D8 54 A0 08 3C */ slwi r0, r5, 1 +/* 8030587C 003027DC 7F 63 DB 78 */ mr r3, r27 +/* 80305880 003027E0 7C 9C 02 14 */ add r4, r28, r0 +/* 80305884 003027E4 7C A5 F8 50 */ subf r5, r5, r31 +/* 80305888 003027E8 4B FF CB E9 */ bl AddString__18CTextExecuteBufferFPCwi +lbl_8030588C: +/* 8030588C 003027EC BB 41 00 08 */ lmw r26, 8(r1) +/* 80305890 003027F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80305894 003027F4 7C 08 03 A6 */ mtlr r0 +/* 80305898 003027F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030589C 003027FC 4E 80 00 20 */ blr + +.global __ct__11CTextParserFR12IObjectStore +__ct__11CTextParserFR12IObjectStore: +/* 803058A0 00302800 90 83 00 00 */ stw r4, 0(r3) +/* 803058A4 00302804 4E 80 00 20 */ blr + +.global "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi": +/* 803058A8 00302808 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803058AC 0030280C 7C 08 02 A6 */ mflr r0 +/* 803058B0 00302810 90 01 00 34 */ stw r0, 0x34(r1) +/* 803058B4 00302814 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 803058B8 00302818 7C 9F 23 78 */ mr r31, r4 +/* 803058BC 0030281C 7C 7E 1B 78 */ mr r30, r3 +/* 803058C0 00302820 80 03 00 08 */ lwz r0, 8(r3) +/* 803058C4 00302824 7C 1F 00 00 */ cmpw r31, r0 +/* 803058C8 00302828 40 81 00 C4 */ ble lbl_8030598C +/* 803058CC 0030282C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 803058D0 00302830 40 82 00 0C */ bne lbl_803058DC +/* 803058D4 00302834 3B 80 00 00 */ li r28, 0 +/* 803058D8 00302838 48 00 00 1C */ b lbl_803058F4 +lbl_803058DC: +/* 803058DC 0030283C 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha +/* 803058E0 00302840 38 A0 00 00 */ li r5, 0 +/* 803058E4 00302844 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l +/* 803058E8 00302848 38 84 00 11 */ addi r4, r4, 0x11 +/* 803058EC 0030284C 48 00 FF 2D */ bl __nwa__FUlPCcPCc +/* 803058F0 00302850 7C 7C 1B 78 */ mr r28, r3 +lbl_803058F4: +/* 803058F4 00302854 80 1E 00 04 */ lwz r0, 4(r30) +/* 803058F8 00302858 7F 9B E3 78 */ mr r27, r28 +/* 803058FC 0030285C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80305900 00302860 54 00 18 38 */ slwi r0, r0, 3 +/* 80305904 00302864 7F BA 02 14 */ add r29, r26, r0 +/* 80305908 00302868 93 41 00 10 */ stw r26, 0x10(r1) +/* 8030590C 0030286C 93 A1 00 08 */ stw r29, 8(r1) +/* 80305910 00302870 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80305914 00302874 93 41 00 14 */ stw r26, 0x14(r1) +/* 80305918 00302878 48 00 00 20 */ b lbl_80305938 +lbl_8030591C: +/* 8030591C 0030287C 28 1B 00 00 */ cmplwi r27, 0 +/* 80305920 00302880 41 82 00 10 */ beq lbl_80305930 +/* 80305924 00302884 7F 63 DB 78 */ mr r3, r27 +/* 80305928 00302888 7F 44 D3 78 */ mr r4, r26 +/* 8030592C 0030288C 48 03 B5 7D */ bl __ct__6CTokenFRC6CToken +lbl_80305930: +/* 80305930 00302890 3B 7B 00 08 */ addi r27, r27, 8 +/* 80305934 00302894 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80305938: +/* 80305938 00302898 7C 1A E8 40 */ cmplw r26, r29 +/* 8030593C 0030289C 40 82 FF E0 */ bne lbl_8030591C +/* 80305940 003028A0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80305944 003028A4 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80305948 003028A8 54 00 18 38 */ slwi r0, r0, 3 +/* 8030594C 003028AC 7F 7A 02 14 */ add r27, r26, r0 +/* 80305950 003028B0 48 00 00 1C */ b lbl_8030596C +lbl_80305954: +/* 80305954 003028B4 28 1A 00 00 */ cmplwi r26, 0 +/* 80305958 003028B8 41 82 00 10 */ beq lbl_80305968 +/* 8030595C 003028BC 7F 43 D3 78 */ mr r3, r26 +/* 80305960 003028C0 38 80 00 00 */ li r4, 0 +/* 80305964 003028C4 48 03 B4 DD */ bl __dt__6CTokenFv +lbl_80305968: +/* 80305968 003028C8 3B 5A 00 08 */ addi r26, r26, 8 +lbl_8030596C: +/* 8030596C 003028CC 7C 1A D8 40 */ cmplw r26, r27 +/* 80305970 003028D0 40 82 FF E4 */ bne lbl_80305954 +/* 80305974 003028D4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80305978 003028D8 28 03 00 00 */ cmplwi r3, 0 +/* 8030597C 003028DC 41 82 00 08 */ beq lbl_80305984 +/* 80305980 003028E0 48 00 FF B1 */ bl Free__7CMemoryFPCv +lbl_80305984: +/* 80305984 003028E4 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80305988 003028E8 93 FE 00 08 */ stw r31, 8(r30) +lbl_8030598C: +/* 8030598C 003028EC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80305990 003028F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80305994 003028F4 7C 08 03 A6 */ mtlr r0 +/* 80305998 003028F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030599C 003028FC 4E 80 00 20 */ blr + +.global GetEndRank__16CWordBreakTablesFw +GetEndRank__16CWordBreakTablesFw: +/* 803059A0 00302900 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803059A4 00302904 7C 08 02 A6 */ mflr r0 +/* 803059A8 00302908 3C 80 80 3D */ lis r4, lbl_803D70C0@ha +/* 803059AC 0030290C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803059B0 00302910 38 84 70 C0 */ addi r4, r4, lbl_803D70C0@l +/* 803059B4 00302914 38 A1 00 08 */ addi r5, r1, 8 +/* 803059B8 00302918 38 C1 00 0C */ addi r6, r1, 0xc +/* 803059BC 0030291C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803059C0 00302920 3B E4 02 C8 */ addi r31, r4, 0x2c8 +/* 803059C4 00302924 88 0D A7 7C */ lbz r0, lbl_805A933C@sda21(r13) +/* 803059C8 00302928 B0 61 00 08 */ sth r3, 8(r1) +/* 803059CC 0030292C 7C 83 23 78 */ mr r3, r4 +/* 803059D0 00302930 7F E4 FB 78 */ mr r4, r31 +/* 803059D4 00302934 98 01 00 0C */ stb r0, 0xc(r1) +/* 803059D8 00302938 48 00 00 F1 */ bl "lower_bound__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifierRCwQ220CCharacterIdentifier7Compare" +/* 803059DC 0030293C 7C 03 F8 40 */ cmplw r3, r31 +/* 803059E0 00302940 38 A0 00 00 */ li r5, 0 +/* 803059E4 00302944 41 82 00 18 */ beq lbl_803059FC +/* 803059E8 00302948 A0 81 00 08 */ lhz r4, 8(r1) +/* 803059EC 0030294C A0 03 00 00 */ lhz r0, 0(r3) +/* 803059F0 00302950 7C 04 00 40 */ cmplw r4, r0 +/* 803059F4 00302954 41 80 00 08 */ blt lbl_803059FC +/* 803059F8 00302958 38 A0 00 01 */ li r5, 1 +lbl_803059FC: +/* 803059FC 0030295C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80305A00 00302960 41 82 00 08 */ beq lbl_80305A08 +/* 80305A04 00302964 48 00 00 08 */ b lbl_80305A0C +lbl_80305A08: +/* 80305A08 00302968 7F E3 FB 78 */ mr r3, r31 +lbl_80305A0C: +/* 80305A0C 0030296C 7C 03 F8 40 */ cmplw r3, r31 +/* 80305A10 00302970 41 82 00 0C */ beq lbl_80305A1C +/* 80305A14 00302974 80 63 00 04 */ lwz r3, 4(r3) +/* 80305A18 00302978 48 00 00 08 */ b lbl_80305A20 +lbl_80305A1C: +/* 80305A1C 0030297C 38 60 00 05 */ li r3, 5 +lbl_80305A20: +/* 80305A20 00302980 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80305A24 00302984 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80305A28 00302988 7C 08 03 A6 */ mtlr r0 +/* 80305A2C 0030298C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80305A30 00302990 4E 80 00 20 */ blr + +.global GetBeginRank__16CWordBreakTablesFw +GetBeginRank__16CWordBreakTablesFw: +/* 80305A34 00302994 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80305A38 00302998 7C 08 02 A6 */ mflr r0 +/* 80305A3C 0030299C 3C 80 80 3D */ lis r4, lbl_803D6EC8@ha +/* 80305A40 003029A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80305A44 003029A4 38 84 6E C8 */ addi r4, r4, lbl_803D6EC8@l +/* 80305A48 003029A8 38 A1 00 08 */ addi r5, r1, 8 +/* 80305A4C 003029AC 38 C1 00 0C */ addi r6, r1, 0xc +/* 80305A50 003029B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80305A54 003029B4 3B E4 01 F8 */ addi r31, r4, 0x1f8 +/* 80305A58 003029B8 88 0D A7 78 */ lbz r0, lbl_805A9338@sda21(r13) +/* 80305A5C 003029BC B0 61 00 08 */ sth r3, 8(r1) +/* 80305A60 003029C0 7C 83 23 78 */ mr r3, r4 +/* 80305A64 003029C4 7F E4 FB 78 */ mr r4, r31 +/* 80305A68 003029C8 98 01 00 0C */ stb r0, 0xc(r1) +/* 80305A6C 003029CC 48 00 00 5D */ bl "lower_bound__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifierRCwQ220CCharacterIdentifier7Compare" +/* 80305A70 003029D0 7C 03 F8 40 */ cmplw r3, r31 +/* 80305A74 003029D4 38 A0 00 00 */ li r5, 0 +/* 80305A78 003029D8 41 82 00 18 */ beq lbl_80305A90 +/* 80305A7C 003029DC A0 81 00 08 */ lhz r4, 8(r1) +/* 80305A80 003029E0 A0 03 00 00 */ lhz r0, 0(r3) +/* 80305A84 003029E4 7C 04 00 40 */ cmplw r4, r0 +/* 80305A88 003029E8 41 80 00 08 */ blt lbl_80305A90 +/* 80305A8C 003029EC 38 A0 00 01 */ li r5, 1 +lbl_80305A90: +/* 80305A90 003029F0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80305A94 003029F4 41 82 00 08 */ beq lbl_80305A9C +/* 80305A98 003029F8 48 00 00 08 */ b lbl_80305AA0 +lbl_80305A9C: +/* 80305A9C 003029FC 7F E3 FB 78 */ mr r3, r31 +lbl_80305AA0: +/* 80305AA0 00302A00 7C 03 F8 40 */ cmplw r3, r31 +/* 80305AA4 00302A04 41 82 00 0C */ beq lbl_80305AB0 +/* 80305AA8 00302A08 80 63 00 04 */ lwz r3, 4(r3) +/* 80305AAC 00302A0C 48 00 00 08 */ b lbl_80305AB4 +lbl_80305AB0: +/* 80305AB0 00302A10 38 60 00 05 */ li r3, 5 +lbl_80305AB4: +/* 80305AB4 00302A14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80305AB8 00302A18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80305ABC 00302A1C 7C 08 03 A6 */ mtlr r0 +/* 80305AC0 00302A20 38 21 00 20 */ addi r1, r1, 0x20 +/* 80305AC4 00302A24 4E 80 00 20 */ blr + +.global "lower_bound__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifierRCwQ220CCharacterIdentifier7Compare" +"lower_bound__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifierRCwQ220CCharacterIdentifier7Compare": +/* 80305AC8 00302A28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80305ACC 00302A2C 7C 08 02 A6 */ mflr r0 +/* 80305AD0 00302A30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80305AD4 00302A34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80305AD8 00302A38 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80305ADC 00302A3C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80305AE0 00302A40 7C BD 2B 78 */ mr r29, r5 +/* 80305AE4 00302A44 93 81 00 10 */ stw r28, 0x10(r1) +/* 80305AE8 00302A48 7C 7C 1B 78 */ mr r28, r3 +/* 80305AEC 00302A4C 48 00 00 C1 */ bl "distance__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifier" +/* 80305AF0 00302A50 93 81 00 08 */ stw r28, 8(r1) +/* 80305AF4 00302A54 7C 7F 1B 78 */ mr r31, r3 +/* 80305AF8 00302A58 48 00 00 48 */ b lbl_80305B40 +lbl_80305AFC: +/* 80305AFC 00302A5C 57 E0 0F FE */ srwi r0, r31, 0x1f +/* 80305B00 00302A60 93 81 00 08 */ stw r28, 8(r1) +/* 80305B04 00302A64 7C 00 FA 14 */ add r0, r0, r31 +/* 80305B08 00302A68 38 61 00 08 */ addi r3, r1, 8 +/* 80305B0C 00302A6C 7C 1E 0E 70 */ srawi r30, r0, 1 +/* 80305B10 00302A70 7F C4 F3 78 */ mr r4, r30 +/* 80305B14 00302A74 48 00 00 59 */ bl "advance__4rstlFRPC20CCharacterIdentifieri" +/* 80305B18 00302A78 80 81 00 08 */ lwz r4, 8(r1) +/* 80305B1C 00302A7C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80305B20 00302A80 A0 64 00 00 */ lhz r3, 0(r4) +/* 80305B24 00302A84 7C 03 00 40 */ cmplw r3, r0 +/* 80305B28 00302A88 40 80 00 14 */ bge lbl_80305B3C +/* 80305B2C 00302A8C 7C 7E F8 50 */ subf r3, r30, r31 +/* 80305B30 00302A90 3B 84 00 08 */ addi r28, r4, 8 +/* 80305B34 00302A94 3B E3 FF FF */ addi r31, r3, -1 +/* 80305B38 00302A98 48 00 00 08 */ b lbl_80305B40 +lbl_80305B3C: +/* 80305B3C 00302A9C 7F DF F3 78 */ mr r31, r30 +lbl_80305B40: +/* 80305B40 00302AA0 2C 1F 00 00 */ cmpwi r31, 0 +/* 80305B44 00302AA4 41 81 FF B8 */ bgt lbl_80305AFC +/* 80305B48 00302AA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80305B4C 00302AAC 7F 83 E3 78 */ mr r3, r28 +/* 80305B50 00302AB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80305B54 00302AB4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80305B58 00302AB8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80305B5C 00302ABC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80305B60 00302AC0 7C 08 03 A6 */ mtlr r0 +/* 80305B64 00302AC4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80305B68 00302AC8 4E 80 00 20 */ blr + +.global "advance__4rstlFRPC20CCharacterIdentifieri" +"advance__4rstlFRPC20CCharacterIdentifieri": +/* 80305B6C 00302ACC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305B70 00302AD0 7C 08 02 A6 */ mflr r0 +/* 80305B74 00302AD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305B78 00302AD8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80305B7C 00302ADC 88 01 00 08 */ lbz r0, 8(r1) +/* 80305B80 00302AE0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80305B84 00302AE4 48 00 00 15 */ bl "__advance__4rstlFRPC20CCharacterIdentifieriQ24rstl26random_access_iterator_tag" +/* 80305B88 00302AE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305B8C 00302AEC 7C 08 03 A6 */ mtlr r0 +/* 80305B90 00302AF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305B94 00302AF4 4E 80 00 20 */ blr + +.global "__advance__4rstlFRPC20CCharacterIdentifieriQ24rstl26random_access_iterator_tag" +"__advance__4rstlFRPC20CCharacterIdentifieriQ24rstl26random_access_iterator_tag": +/* 80305B98 00302AF8 80 A3 00 00 */ lwz r5, 0(r3) +/* 80305B9C 00302AFC 54 80 18 38 */ slwi r0, r4, 3 +/* 80305BA0 00302B00 7C 05 02 14 */ add r0, r5, r0 +/* 80305BA4 00302B04 90 03 00 00 */ stw r0, 0(r3) +/* 80305BA8 00302B08 4E 80 00 20 */ blr + +.global "distance__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifier" +"distance__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifier": +/* 80305BAC 00302B0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305BB0 00302B10 7C 08 02 A6 */ mflr r0 +/* 80305BB4 00302B14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305BB8 00302B18 38 A1 00 0C */ addi r5, r1, 0xc +/* 80305BBC 00302B1C 88 01 00 08 */ lbz r0, 8(r1) +/* 80305BC0 00302B20 98 01 00 0C */ stb r0, 0xc(r1) +/* 80305BC4 00302B24 48 00 00 15 */ bl "__distance__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifierQ24rstl26random_access_iterator_tag" +/* 80305BC8 00302B28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305BCC 00302B2C 7C 08 03 A6 */ mtlr r0 +/* 80305BD0 00302B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305BD4 00302B34 4E 80 00 20 */ blr + +.global "__distance__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifierQ24rstl26random_access_iterator_tag" +"__distance__4rstlFPC20CCharacterIdentifierPC20CCharacterIdentifierQ24rstl26random_access_iterator_tag": +/* 80305BD8 00302B38 7C 03 20 50 */ subf r0, r3, r4 +/* 80305BDC 00302B3C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80305BE0 00302B40 7C 60 01 94 */ addze r3, r0 +/* 80305BE4 00302B44 4E 80 00 20 */ blr + +.global __dt__16CWordInstructionFv +__dt__16CWordInstructionFv: +/* 80305BE8 00302B48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305BEC 00302B4C 7C 08 02 A6 */ mflr r0 +/* 80305BF0 00302B50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305BF4 00302B54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80305BF8 00302B58 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80305BFC 00302B5C 41 82 00 30 */ beq lbl_80305C2C +/* 80305C00 00302B60 3C 60 80 3F */ lis r3, lbl_803ED8A8@ha +/* 80305C04 00302B64 38 03 D8 A8 */ addi r0, r3, lbl_803ED8A8@l +/* 80305C08 00302B68 90 1F 00 00 */ stw r0, 0(r31) +/* 80305C0C 00302B6C 41 82 00 10 */ beq lbl_80305C1C +/* 80305C10 00302B70 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 80305C14 00302B74 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 80305C18 00302B78 90 1F 00 00 */ stw r0, 0(r31) +lbl_80305C1C: +/* 80305C1C 00302B7C 7C 80 07 35 */ extsh. r0, r4 +/* 80305C20 00302B80 40 81 00 0C */ ble lbl_80305C2C +/* 80305C24 00302B84 7F E3 FB 78 */ mr r3, r31 +/* 80305C28 00302B88 48 00 FD 09 */ bl Free__7CMemoryFPCv +lbl_80305C2C: +/* 80305C2C 00302B8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305C30 00302B90 7F E3 FB 78 */ mr r3, r31 +/* 80305C34 00302B94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80305C38 00302B98 7C 08 03 A6 */ mtlr r0 +/* 80305C3C 00302B9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305C40 00302BA0 4E 80 00 20 */ blr + +.global InvokeLTR__16CWordInstructionCFR16CFontRenderState +InvokeLTR__16CWordInstructionCFR16CFontRenderState: +/* 80305C44 00302BA4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80305C48 00302BA8 7C 08 02 A6 */ mflr r0 +/* 80305C4C 00302BAC 38 60 00 00 */ li r3, 0 +/* 80305C50 00302BB0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80305C54 00302BB4 38 00 00 20 */ li r0, 0x20 +/* 80305C58 00302BB8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80305C5C 00302BBC 7C 9F 23 78 */ mr r31, r4 +/* 80305C60 00302BC0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80305C64 00302BC4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80305C68 00302BC8 90 61 00 10 */ stw r3, 0x10(r1) +/* 80305C6C 00302BCC 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80305C70 00302BD0 B0 01 00 08 */ sth r0, 8(r1) +/* 80305C74 00302BD4 48 03 B1 99 */ bl GetObj__6CTokenFv +/* 80305C78 00302BD8 80 63 00 04 */ lwz r3, 4(r3) +/* 80305C7C 00302BDC 7F E4 FB 78 */ mr r4, r31 +/* 80305C80 00302BE0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80305C84 00302BE4 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80305C88 00302BE8 38 E1 00 08 */ addi r7, r1, 8 +/* 80305C8C 00302BEC 39 00 00 01 */ li r8, 1 +/* 80305C90 00302BF0 4B FF AA 7D */ bl GetSize__11CRasterFontCFRC18CDrawStringOptionsRiRiPCwi +/* 80305C94 00302BF4 80 7F 00 88 */ lwz r3, 0x88(r31) +/* 80305C98 00302BF8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80305C9C 00302BFC 2C 00 00 03 */ cmpwi r0, 3 +/* 80305CA0 00302C00 41 82 00 20 */ beq lbl_80305CC0 +/* 80305CA4 00302C04 40 80 00 08 */ bge lbl_80305CAC +/* 80305CA8 00302C08 48 00 00 6C */ b lbl_80305D14 +lbl_80305CAC: +/* 80305CAC 00302C0C 2C 00 00 0A */ cmpwi r0, 0xa +/* 80305CB0 00302C10 40 80 00 64 */ bge lbl_80305D14 +/* 80305CB4 00302C14 2C 00 00 07 */ cmpwi r0, 7 +/* 80305CB8 00302C18 40 80 00 5C */ bge lbl_80305D14 +/* 80305CBC 00302C1C 48 00 00 30 */ b lbl_80305CEC +lbl_80305CC0: +/* 80305CC0 00302C20 80 BF 00 DC */ lwz r5, 0xdc(r31) +/* 80305CC4 00302C24 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80305CC8 00302C28 80 85 00 08 */ lwz r4, 8(r5) +/* 80305CCC 00302C2C 80 65 00 04 */ lwz r3, 4(r5) +/* 80305CD0 00302C30 7C 84 00 50 */ subf r4, r4, r0 +/* 80305CD4 00302C34 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80305CD8 00302C38 38 03 FF FF */ addi r0, r3, -1 +/* 80305CDC 00302C3C 7C 04 03 D6 */ divw r0, r4, r0 +/* 80305CE0 00302C40 7C 05 02 14 */ add r0, r5, r0 +/* 80305CE4 00302C44 90 01 00 10 */ stw r0, 0x10(r1) +/* 80305CE8 00302C48 48 00 00 2C */ b lbl_80305D14 +lbl_80305CEC: +/* 80305CEC 00302C4C 80 BF 00 DC */ lwz r5, 0xdc(r31) +/* 80305CF0 00302C50 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80305CF4 00302C54 80 85 00 08 */ lwz r4, 8(r5) +/* 80305CF8 00302C58 80 65 00 04 */ lwz r3, 4(r5) +/* 80305CFC 00302C5C 7C 84 00 50 */ subf r4, r4, r0 +/* 80305D00 00302C60 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80305D04 00302C64 38 03 FF FF */ addi r0, r3, -1 +/* 80305D08 00302C68 7C 04 03 D6 */ divw r0, r4, r0 +/* 80305D0C 00302C6C 7C 05 02 14 */ add r0, r5, r0 +/* 80305D10 00302C70 90 01 00 10 */ stw r0, 0x10(r1) +lbl_80305D14: +/* 80305D14 00302C74 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80305D18 00302C78 48 03 B0 F5 */ bl GetObj__6CTokenFv +/* 80305D1C 00302C7C 80 9F 00 DC */ lwz r4, 0xdc(r31) +/* 80305D20 00302C80 80 63 00 04 */ lwz r3, 4(r3) +/* 80305D24 00302C84 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 80305D28 00302C88 4B FF A9 91 */ bl GetCarriageAdvance__11CRasterFontFv +/* 80305D2C 00302C8C 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 80305D30 00302C90 7F A3 F0 50 */ subf r29, r3, r30 +/* 80305D34 00302C94 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80305D38 00302C98 90 01 00 0C */ stw r0, 0xc(r1) +/* 80305D3C 00302C9C 83 DF 00 D8 */ lwz r30, 0xd8(r31) +/* 80305D40 00302CA0 48 03 B0 CD */ bl GetObj__6CTokenFv +/* 80305D44 00302CA4 80 63 00 04 */ lwz r3, 4(r3) +/* 80305D48 00302CA8 7F E4 FB 78 */ mr r4, r31 +/* 80305D4C 00302CAC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80305D50 00302CB0 7C DD F2 14 */ add r6, r29, r30 +/* 80305D54 00302CB4 81 21 00 10 */ lwz r9, 0x10(r1) +/* 80305D58 00302CB8 38 E1 00 0C */ addi r7, r1, 0xc +/* 80305D5C 00302CBC 39 01 00 14 */ addi r8, r1, 0x14 +/* 80305D60 00302CC0 4B FF A7 F5 */ bl DrawSpace__11CRasterFontCFRC18CDrawStringOptionsiiRiRii +/* 80305D64 00302CC4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80305D68 00302CC8 90 1F 00 D4 */ stw r0, 0xd4(r31) +/* 80305D6C 00302CCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80305D70 00302CD0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80305D74 00302CD4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80305D78 00302CD8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80305D7C 00302CDC 7C 08 03 A6 */ mtlr r0 +/* 80305D80 00302CE0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80305D84 00302CE4 4E 80 00 20 */ blr + +.global PageInvoke__16CWordInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__16CWordInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 80305D88 00302CE8 38 00 00 00 */ li r0, 0 +/* 80305D8C 00302CEC 98 04 01 08 */ stb r0, 0x108(r4) +/* 80305D90 00302CF0 4E 80 00 20 */ blr + +.global Invoke__16CWordInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__16CWordInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 80305D94 00302CF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305D98 00302CF8 7C 08 02 A6 */ mflr r0 +/* 80305D9C 00302CFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305DA0 00302D00 88 04 01 08 */ lbz r0, 0x108(r4) +/* 80305DA4 00302D04 28 00 00 00 */ cmplwi r0, 0 +/* 80305DA8 00302D08 40 82 00 18 */ bne lbl_80305DC0 +/* 80305DAC 00302D0C 80 04 00 00 */ lwz r0, 0(r4) +/* 80305DB0 00302D10 2C 00 00 00 */ cmpwi r0, 0 +/* 80305DB4 00302D14 40 82 00 14 */ bne lbl_80305DC8 +/* 80305DB8 00302D18 4B FF FE 8D */ bl InvokeLTR__16CWordInstructionCFR16CFontRenderState +/* 80305DBC 00302D1C 48 00 00 0C */ b lbl_80305DC8 +lbl_80305DC0: +/* 80305DC0 00302D20 38 00 00 00 */ li r0, 0 +/* 80305DC4 00302D24 98 04 01 08 */ stb r0, 0x108(r4) +lbl_80305DC8: +/* 80305DC8 00302D28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305DCC 00302D2C 7C 08 03 A6 */ mtlr r0 +/* 80305DD0 00302D30 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305DD4 00302D34 4E 80 00 20 */ blr + +.global __dt__17CBlockInstructionFv +__dt__17CBlockInstructionFv: +/* 80305DD8 00302D38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305DDC 00302D3C 7C 08 02 A6 */ mflr r0 +/* 80305DE0 00302D40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305DE4 00302D44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80305DE8 00302D48 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80305DEC 00302D4C 41 82 00 30 */ beq lbl_80305E1C +/* 80305DF0 00302D50 3C 60 80 3F */ lis r3, lbl_803ED8C8@ha +/* 80305DF4 00302D54 38 03 D8 C8 */ addi r0, r3, lbl_803ED8C8@l +/* 80305DF8 00302D58 90 1F 00 00 */ stw r0, 0(r31) +/* 80305DFC 00302D5C 41 82 00 10 */ beq lbl_80305E0C +/* 80305E00 00302D60 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 80305E04 00302D64 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 80305E08 00302D68 90 1F 00 00 */ stw r0, 0(r31) +lbl_80305E0C: +/* 80305E0C 00302D6C 7C 80 07 35 */ extsh. r0, r4 +/* 80305E10 00302D70 40 81 00 0C */ ble lbl_80305E1C +/* 80305E14 00302D74 7F E3 FB 78 */ mr r3, r31 +/* 80305E18 00302D78 48 00 FB 19 */ bl Free__7CMemoryFPCv +lbl_80305E1C: +/* 80305E1C 00302D7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305E20 00302D80 7F E3 FB 78 */ mr r3, r31 +/* 80305E24 00302D84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80305E28 00302D88 7C 08 03 A6 */ mtlr r0 +/* 80305E2C 00302D8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305E30 00302D90 4E 80 00 20 */ blr + +.global PageInvoke__17CBlockInstructionCFR16CFontRenderStateP17CTextRenderBuffer +PageInvoke__17CBlockInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 80305E34 00302D94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305E38 00302D98 7C 08 02 A6 */ mflr r0 +/* 80305E3C 00302D9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305E40 00302DA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80305E44 00302DA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80305E48 00302DA8 7D 89 03 A6 */ mtctr r12 +/* 80305E4C 00302DAC 4E 80 04 21 */ bctrl +/* 80305E50 00302DB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305E54 00302DB4 7C 08 03 A6 */ mtlr r0 +/* 80305E58 00302DB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305E5C 00302DBC 4E 80 00 20 */ blr + +.global TestLargestFont__17CBlockInstructionFiii +TestLargestFont__17CBlockInstructionFiii: +/* 80305E60 00302DC0 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80305E64 00302DC4 2C 00 00 00 */ cmpwi r0, 0 +/* 80305E68 00302DC8 40 82 00 08 */ bne lbl_80305E70 +/* 80305E6C 00302DCC 90 C3 00 28 */ stw r6, 0x28(r3) +lbl_80305E70: +/* 80305E70 00302DD0 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80305E74 00302DD4 7C 00 20 00 */ cmpw r0, r4 +/* 80305E78 00302DD8 40 80 00 08 */ bge lbl_80305E80 +/* 80305E7C 00302DDC 90 83 00 20 */ stw r4, 0x20(r3) +lbl_80305E80: +/* 80305E80 00302DE0 80 03 00 24 */ lwz r0, 0x24(r3) +/* 80305E84 00302DE4 7C 00 28 00 */ cmpw r0, r5 +/* 80305E88 00302DE8 4C 80 00 20 */ bgelr +/* 80305E8C 00302DEC 90 A3 00 24 */ stw r5, 0x24(r3) +/* 80305E90 00302DF0 90 C3 00 28 */ stw r6, 0x28(r3) +/* 80305E94 00302DF4 4E 80 00 20 */ blr + +.global SetupPositionLTR__17CBlockInstructionCFR16CFontRenderState +SetupPositionLTR__17CBlockInstructionCFR16CFontRenderState: +/* 80305E98 00302DF8 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80305E9C 00302DFC 28 00 00 09 */ cmplwi r0, 9 +/* 80305EA0 00302E00 4D 81 00 20 */ bgtlr +/* 80305EA4 00302E04 3C A0 80 3F */ lis r5, lbl_803ED8E4@ha +/* 80305EA8 00302E08 54 00 10 3A */ slwi r0, r0, 2 +/* 80305EAC 00302E0C 38 A5 D8 E4 */ addi r5, r5, lbl_803ED8E4@l +/* 80305EB0 00302E10 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80305EB4 00302E14 7C 09 03 A6 */ mtctr r0 +/* 80305EB8 00302E18 4E 80 04 20 */ bctr +/* 80305EBC 00302E1C 80 03 00 08 */ lwz r0, 8(r3) +/* 80305EC0 00302E20 90 04 00 D8 */ stw r0, 0xd8(r4) +/* 80305EC4 00302E24 4E 80 00 20 */ blr +/* 80305EC8 00302E28 80 A3 00 30 */ lwz r5, 0x30(r3) +/* 80305ECC 00302E2C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80305ED0 00302E30 80 C3 00 08 */ lwz r6, 8(r3) +/* 80305ED4 00302E34 7C 65 00 50 */ subf r3, r5, r0 +/* 80305ED8 00302E38 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80305EDC 00302E3C 7C 00 1A 14 */ add r0, r0, r3 +/* 80305EE0 00302E40 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80305EE4 00302E44 7C 06 02 14 */ add r0, r6, r0 +/* 80305EE8 00302E48 90 04 00 D8 */ stw r0, 0xd8(r4) +/* 80305EEC 00302E4C 4E 80 00 20 */ blr +/* 80305EF0 00302E50 80 C3 00 34 */ lwz r6, 0x34(r3) +/* 80305EF4 00302E54 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 80305EF8 00302E58 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80305EFC 00302E5C 7C A6 29 D6 */ mullw r5, r6, r5 +/* 80305F00 00302E60 80 C3 00 08 */ lwz r6, 8(r3) +/* 80305F04 00302E64 7C 65 00 50 */ subf r3, r5, r0 +/* 80305F08 00302E68 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80305F0C 00302E6C 7C 00 1A 14 */ add r0, r0, r3 +/* 80305F10 00302E70 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80305F14 00302E74 7C 06 02 14 */ add r0, r6, r0 +/* 80305F18 00302E78 90 04 00 D8 */ stw r0, 0xd8(r4) +/* 80305F1C 00302E7C 4E 80 00 20 */ blr +/* 80305F20 00302E80 80 A3 00 08 */ lwz r5, 8(r3) +/* 80305F24 00302E84 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80305F28 00302E88 80 63 00 30 */ lwz r3, 0x30(r3) +/* 80305F2C 00302E8C 7C 05 02 14 */ add r0, r5, r0 +/* 80305F30 00302E90 7C 03 00 50 */ subf r0, r3, r0 +/* 80305F34 00302E94 90 04 00 D8 */ stw r0, 0xd8(r4) +/* 80305F38 00302E98 4E 80 00 20 */ blr +/* 80305F3C 00302E9C 80 C3 00 34 */ lwz r6, 0x34(r3) +/* 80305F40 00302EA0 80 03 00 24 */ lwz r0, 0x24(r3) +/* 80305F44 00302EA4 80 A3 00 08 */ lwz r5, 8(r3) +/* 80305F48 00302EA8 7C C6 01 D6 */ mullw r6, r6, r0 +/* 80305F4C 00302EAC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80305F50 00302EB0 7C 05 02 14 */ add r0, r5, r0 +/* 80305F54 00302EB4 7C 06 00 50 */ subf r0, r6, r0 +/* 80305F58 00302EB8 90 04 00 D8 */ stw r0, 0xd8(r4) +/* 80305F5C 00302EBC 4E 80 00 20 */ blr + +.global Invoke__17CBlockInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__17CBlockInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 80305F60 00302EC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305F64 00302EC4 7C 08 02 A6 */ mflr r0 +/* 80305F68 00302EC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305F6C 00302ECC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80305F70 00302ED0 90 04 00 00 */ stw r0, 0(r4) +/* 80305F74 00302ED4 90 64 00 88 */ stw r3, 0x88(r4) +/* 80305F78 00302ED8 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80305F7C 00302EDC 2C 00 00 00 */ cmpwi r0, 0 +/* 80305F80 00302EE0 40 82 00 08 */ bne lbl_80305F88 +/* 80305F84 00302EE4 4B FF FF 15 */ bl SetupPositionLTR__17CBlockInstructionCFR16CFontRenderState +lbl_80305F88: +/* 80305F88 00302EE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305F8C 00302EEC 7C 08 03 A6 */ mtlr r0 +/* 80305F90 00302EF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305F94 00302EF4 4E 80 00 20 */ blr + +.global DrawString__5CFontCFPCcllRC6CColor +DrawString__5CFontCFPCcllRC6CColor: +/* 80305F98 00302EF8 4E 80 00 20 */ blr + +.global CharWidth__5CFontCFc +CharWidth__5CFontCFc: +/* 80305F9C 00302EFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305FA0 00302F00 C0 22 C7 70 */ lfs f1, lbl_805AE490@sda21(r2) +/* 80305FA4 00302F04 C0 03 00 04 */ lfs f0, 4(r3) +/* 80305FA8 00302F08 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80305FAC 00302F0C FC 00 00 1E */ fctiwz f0, f0 +/* 80305FB0 00302F10 D8 01 00 08 */ stfd f0, 8(r1) +/* 80305FB4 00302F14 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80305FB8 00302F18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305FBC 00302F1C 4E 80 00 20 */ blr + +.global __dt__5CFontFv +__dt__5CFontFv: +/* 80305FC0 00302F20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80305FC4 00302F24 7C 08 02 A6 */ mflr r0 +/* 80305FC8 00302F28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80305FCC 00302F2C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80305FD0 00302F30 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80305FD4 00302F34 41 82 00 10 */ beq lbl_80305FE4 +/* 80305FD8 00302F38 7C 80 07 35 */ extsh. r0, r4 +/* 80305FDC 00302F3C 40 81 00 08 */ ble lbl_80305FE4 +/* 80305FE0 00302F40 48 00 F9 51 */ bl Free__7CMemoryFPCv +lbl_80305FE4: +/* 80305FE4 00302F44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80305FE8 00302F48 7F E3 FB 78 */ mr r3, r31 +/* 80305FEC 00302F4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80305FF0 00302F50 7C 08 03 A6 */ mtlr r0 +/* 80305FF4 00302F54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80305FF8 00302F58 4E 80 00 20 */ blr + +.global __ct__5CFontFf +__ct__5CFontFf: +/* 80305FFC 00302F5C C0 02 C7 74 */ lfs f0, lbl_805AE494@sda21(r2) +/* 80306000 00302F60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80306004 00302F64 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80306008 00302F68 FC 00 00 1E */ fctiwz f0, f0 +/* 8030600C 00302F6C D8 01 00 08 */ stfd f0, 8(r1) +/* 80306010 00302F70 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80306014 00302F74 90 03 00 00 */ stw r0, 0(r3) +/* 80306018 00302F78 D0 23 00 04 */ stfs f1, 4(r3) +/* 8030601C 00302F7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306020 00302F80 4E 80 00 20 */ blr + +.global GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f +GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f: +/* 80306024 00302F84 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80306028 00302F88 7C 08 02 A6 */ mflr r0 +/* 8030602C 00302F8C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80306030 00302F90 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80306034 00302F94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80306038 00302F98 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8030603C 00302F9C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80306040 00302FA0 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80306044 00302FA4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80306048 00302FA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030604C 00302FAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306050 00302FB0 7C 7E 1B 78 */ mr r30, r3 +/* 80306054 00302FB4 7C 9F 23 78 */ mr r31, r4 +/* 80306058 00302FB8 E0 3F A0 1A */ psq_l f1, 26(r31), 1, qr2 +/* 8030605C 00302FBC C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) +/* 80306060 00302FC0 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80306064 00302FC4 E0 3F A0 19 */ psq_l f1, 25(r31), 1, qr2 +/* 80306068 00302FC8 EF C0 00 72 */ fmuls f30, f0, f1 +/* 8030606C 00302FCC E0 3F A0 18 */ psq_l f1, 24(r31), 1, qr2 +/* 80306070 00302FD0 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80306074 00302FD4 EF A0 00 72 */ fmuls f29, f0, f1 +/* 80306078 00302FD8 2C 00 00 03 */ cmpwi r0, 3 +/* 8030607C 00302FDC 40 82 00 14 */ bne lbl_80306090 +/* 80306080 00302FE0 D3 BE 00 00 */ stfs f29, 0(r30) +/* 80306084 00302FE4 D3 DE 00 04 */ stfs f30, 4(r30) +/* 80306088 00302FE8 D3 FE 00 08 */ stfs f31, 8(r30) +/* 8030608C 00302FEC 48 00 00 98 */ b lbl_80306124 +lbl_80306090: +/* 80306090 00302FF0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80306094 00302FF4 38 61 00 0C */ addi r3, r1, 0xc +/* 80306098 00302FF8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8030609C 00302FFC C0 7F 00 08 */ lfs f3, 8(r31) +/* 803060A0 00303000 C0 45 00 08 */ lfs f2, 8(r5) +/* 803060A4 00303004 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803060A8 00303008 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803060AC 0030300C C0 05 00 00 */ lfs f0, 0(r5) +/* 803060B0 00303010 EC 43 10 28 */ fsubs f2, f3, f2 +/* 803060B4 00303014 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 803060B8 00303018 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803060BC 0030301C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 803060C0 00303020 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803060C4 00303024 48 00 E7 F5 */ bl Magnitude__9CVector3fCFv +/* 803060C8 00303028 FC 40 08 18 */ frsp f2, f1 +/* 803060CC 0030302C C0 02 C7 78 */ lfs f0, lbl_805AE498@sda21(r2) +/* 803060D0 00303030 D0 21 00 08 */ stfs f1, 8(r1) +/* 803060D4 00303034 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803060D8 00303038 40 80 00 0C */ bge lbl_803060E4 +/* 803060DC 0030303C 38 62 C7 78 */ addi r3, r2, lbl_805AE498@sda21 +/* 803060E0 00303040 48 00 00 08 */ b lbl_803060E8 +lbl_803060E4: +/* 803060E4 00303044 38 61 00 08 */ addi r3, r1, 8 +lbl_803060E8: +/* 803060E8 00303048 C0 83 00 00 */ lfs f4, 0(r3) +/* 803060EC 0030304C C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 803060F0 00303050 C0 3F 00 28 */ lfs f1, 0x28(r31) +/* 803060F4 00303054 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 803060F8 00303058 EC 42 01 32 */ fmuls f2, f2, f4 +/* 803060FC 0030305C C0 62 C7 80 */ lfs f3, lbl_805AE4A0@sda21(r2) +/* 80306100 00303060 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 80306104 00303064 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80306108 00303068 EC 03 00 24 */ fdivs f0, f3, f0 +/* 8030610C 0030306C EC 40 07 72 */ fmuls f2, f0, f29 +/* 80306110 00303070 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80306114 00303074 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80306118 00303078 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8030611C 0030307C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80306120 00303080 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80306124: +/* 80306124 00303084 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80306128 00303088 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8030612C 0030308C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80306130 00303090 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80306134 00303094 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80306138 00303098 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 8030613C 0030309C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306140 003030A0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80306144 003030A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306148 003030A8 7C 08 03 A6 */ mtlr r0 +/* 8030614C 003030AC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80306150 003030B0 4E 80 00 20 */ blr + +.global GetIntensity__6CLightCFv +GetIntensity__6CLightCFv: +/* 80306154 003030B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306158 003030B8 88 83 00 4C */ lbz r4, 0x4c(r3) +/* 8030615C 003030BC 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80306160 003030C0 41 82 00 84 */ beq lbl_803061E4 +/* 80306164 003030C4 38 00 00 00 */ li r0, 0 +/* 80306168 003030C8 C0 62 C7 80 */ lfs f3, lbl_805AE4A0@sda21(r2) +/* 8030616C 003030CC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 80306170 003030D0 98 83 00 4C */ stb r4, 0x4c(r3) +/* 80306174 003030D4 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80306178 003030D8 2C 00 00 04 */ cmpwi r0, 4 +/* 8030617C 003030DC 40 82 00 08 */ bne lbl_80306184 +/* 80306180 003030E0 C0 63 00 30 */ lfs f3, 0x30(r3) +lbl_80306184: +/* 80306184 003030E4 E0 23 A0 1A */ psq_l f1, 26(r3), 1, qr2 +/* 80306188 003030E8 C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) +/* 8030618C 003030EC EC 20 00 72 */ fmuls f1, f0, f1 +/* 80306190 003030F0 D0 21 00 08 */ stfs f1, 8(r1) +/* 80306194 003030F4 E0 43 A0 19 */ psq_l f2, 25(r3), 1, qr2 +/* 80306198 003030F8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8030619C 003030FC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803061A0 00303100 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803061A4 00303104 40 80 00 0C */ bge lbl_803061B0 +/* 803061A8 00303108 38 81 00 08 */ addi r4, r1, 8 +/* 803061AC 0030310C 48 00 00 08 */ b lbl_803061B4 +lbl_803061B0: +/* 803061B0 00303110 38 81 00 0C */ addi r4, r1, 0xc +lbl_803061B4: +/* 803061B4 00303114 E0 23 A0 18 */ psq_l f1, 24(r3), 1, qr2 +/* 803061B8 00303118 C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) +/* 803061BC 0030311C EC 20 00 72 */ fmuls f1, f0, f1 +/* 803061C0 00303120 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 803061C4 00303124 C0 04 00 00 */ lfs f0, 0(r4) +/* 803061C8 00303128 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803061CC 0030312C 40 80 00 08 */ bge lbl_803061D4 +/* 803061D0 00303130 48 00 00 08 */ b lbl_803061D8 +lbl_803061D4: +/* 803061D4 00303134 38 81 00 10 */ addi r4, r1, 0x10 +lbl_803061D8: +/* 803061D8 00303138 C0 04 00 00 */ lfs f0, 0(r4) +/* 803061DC 0030313C EC 03 00 32 */ fmuls f0, f3, f0 +/* 803061E0 00303140 D0 03 00 48 */ stfs f0, 0x48(r3) +lbl_803061E4: +/* 803061E4 00303144 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 803061E8 00303148 38 21 00 20 */ addi r1, r1, 0x20 +/* 803061EC 0030314C 4E 80 00 20 */ blr + +.global CalculateLightRadius__6CLightCFv +CalculateLightRadius__6CLightCFv: +/* 803061F0 00303150 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803061F4 00303154 7C 08 02 A6 */ mflr r0 +/* 803061F8 00303158 C0 22 C7 8C */ lfs f1, lbl_805AE4AC@sda21(r2) +/* 803061FC 0030315C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306200 00303160 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80306204 00303164 7C 7F 1B 78 */ mr r31, r3 +/* 80306208 00303168 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8030620C 0030316C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80306210 00303170 40 80 00 18 */ bge lbl_80306228 +/* 80306214 00303174 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80306218 00303178 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030621C 0030317C 40 80 00 0C */ bge lbl_80306228 +/* 80306220 00303180 C0 22 C7 90 */ lfs f1, lbl_805AE4B0@sda21(r2) +/* 80306224 00303184 48 00 00 9C */ b lbl_803062C0 +lbl_80306228: +/* 80306228 00303188 7F E3 FB 78 */ mr r3, r31 +/* 8030622C 0030318C 4B FF FF 29 */ bl GetIntensity__6CLightCFv +/* 80306230 00303190 C0 7F 00 2C */ lfs f3, 0x2c(r31) +/* 80306234 00303194 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) +/* 80306238 00303198 C0 82 C7 88 */ lfs f4, lbl_805AE4A8@sda21(r2) +/* 8030623C 0030319C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80306240 003031A0 40 81 00 44 */ ble lbl_80306284 +/* 80306244 003031A4 C0 4D 9C 54 */ lfs f2, lbl_805A8814@sda21(r13) +/* 80306248 003031A8 C0 0D 9C 50 */ lfs f0, lbl_805A8810@sda21(r13) +/* 8030624C 003031AC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80306250 003031B0 40 80 00 0C */ bge lbl_8030625C +/* 80306254 003031B4 38 6D 9C 54 */ addi r3, r13, lbl_805A8814@sda21 +/* 80306258 003031B8 48 00 00 08 */ b lbl_80306260 +lbl_8030625C: +/* 8030625C 003031BC 38 6D 9C 50 */ addi r3, r13, lbl_805A8810@sda21 +lbl_80306260: +/* 80306260 003031C0 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) +/* 80306264 003031C4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80306268 003031C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8030626C 003031CC 40 81 00 50 */ ble lbl_803062BC +/* 80306270 003031D0 EC 02 00 F2 */ fmuls f0, f2, f3 +/* 80306274 003031D4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80306278 003031D8 48 00 F2 89 */ bl SqrtF__5CMathFf +/* 8030627C 003031DC FC 80 08 90 */ fmr f4, f1 +/* 80306280 003031E0 48 00 00 3C */ b lbl_803062BC +lbl_80306284: +/* 80306284 003031E4 C0 4D 9C 5C */ lfs f2, lbl_805A881C@sda21(r13) +/* 80306288 003031E8 C0 0D 9C 58 */ lfs f0, lbl_805A8818@sda21(r13) +/* 8030628C 003031EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80306290 003031F0 40 80 00 0C */ bge lbl_8030629C +/* 80306294 003031F4 38 6D 9C 5C */ addi r3, r13, lbl_805A881C@sda21 +/* 80306298 003031F8 48 00 00 08 */ b lbl_803062A0 +lbl_8030629C: +/* 8030629C 003031FC 38 6D 9C 58 */ addi r3, r13, lbl_805A8818@sda21 +lbl_803062A0: +/* 803062A0 00303200 C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 803062A4 00303204 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) +/* 803062A8 00303208 C0 63 00 00 */ lfs f3, 0(r3) +/* 803062AC 0030320C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803062B0 00303210 40 81 00 0C */ ble lbl_803062BC +/* 803062B4 00303214 EC 03 00 B2 */ fmuls f0, f3, f2 +/* 803062B8 00303218 EC 81 00 24 */ fdivs f4, f1, f0 +lbl_803062BC: +/* 803062BC 0030321C FC 20 20 90 */ fmr f1, f4 +lbl_803062C0: +/* 803062C0 00303220 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803062C4 00303224 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803062C8 00303228 7C 08 03 A6 */ mtlr r0 +/* 803062CC 0030322C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803062D0 00303230 4E 80 00 20 */ blr + +.global GetRadius__6CLightCFv +GetRadius__6CLightCFv: +/* 803062D4 00303234 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803062D8 00303238 7C 08 02 A6 */ mflr r0 +/* 803062DC 0030323C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803062E0 00303240 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803062E4 00303244 7C 7F 1B 78 */ mr r31, r3 +/* 803062E8 00303248 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803062EC 0030324C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803062F0 00303250 41 82 00 1C */ beq lbl_8030630C +/* 803062F4 00303254 4B FF FE FD */ bl CalculateLightRadius__6CLightCFv +/* 803062F8 00303258 D0 3F 00 44 */ stfs f1, 0x44(r31) +/* 803062FC 0030325C 38 60 00 00 */ li r3, 0 +/* 80306300 00303260 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80306304 00303264 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80306308 00303268 98 1F 00 4C */ stb r0, 0x4c(r31) +lbl_8030630C: +/* 8030630C 0030326C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306310 00303270 C0 3F 00 44 */ lfs f1, 0x44(r31) +/* 80306314 00303274 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80306318 00303278 7C 08 03 A6 */ mtlr r0 +/* 8030631C 0030327C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306320 00303280 4E 80 00 20 */ blr + +.global SetDirection__6CLightFRC9CVector3f +SetDirection__6CLightFRC9CVector3f: +/* 80306324 00303284 C0 04 00 00 */ lfs f0, 0(r4) +/* 80306328 00303288 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8030632C 0030328C C0 04 00 04 */ lfs f0, 4(r4) +/* 80306330 00303290 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80306334 00303294 C0 04 00 08 */ lfs f0, 8(r4) +/* 80306338 00303298 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8030633C 0030329C 4E 80 00 20 */ blr + +.global SetPosition__6CLightFRC9CVector3f +SetPosition__6CLightFRC9CVector3f: +/* 80306340 003032A0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80306344 003032A4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80306348 003032A8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8030634C 003032AC D0 03 00 04 */ stfs f0, 4(r3) +/* 80306350 003032B0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80306354 003032B4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80306358 003032B8 4E 80 00 20 */ blr + +.global SetColor__6CLightFRC6CColor +SetColor__6CLightFRC6CColor: +/* 8030635C 003032BC 80 04 00 00 */ lwz r0, 0(r4) +/* 80306360 003032C0 38 80 00 01 */ li r4, 1 +/* 80306364 003032C4 90 03 00 18 */ stw r0, 0x18(r3) +/* 80306368 003032C8 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 8030636C 003032CC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80306370 003032D0 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306374 003032D4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306378 003032D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8030637C 003032DC 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306380 003032E0 4E 80 00 20 */ blr + +.global SetAngleAttenuation__6CLightFfff +SetAngleAttenuation__6CLightFfff: +/* 80306384 003032E4 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 80306388 003032E8 38 80 00 01 */ li r4, 1 +/* 8030638C 003032EC D0 43 00 34 */ stfs f2, 0x34(r3) +/* 80306390 003032F0 D0 63 00 38 */ stfs f3, 0x38(r3) +/* 80306394 003032F4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306398 003032F8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8030639C 003032FC 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063A0 00303300 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803063A4 00303304 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 803063A8 00303308 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063AC 0030330C 4E 80 00 20 */ blr + +.global SetAttenuation__6CLightFfff +SetAttenuation__6CLightFfff: +/* 803063B0 00303310 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 803063B4 00303314 38 80 00 01 */ li r4, 1 +/* 803063B8 00303318 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 803063BC 0030331C D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 803063C0 00303320 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803063C4 00303324 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803063C8 00303328 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063CC 0030332C 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803063D0 00303330 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 803063D4 00303334 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063D8 00303338 4E 80 00 20 */ blr + +.global BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff: +/* 803063DC 0030333C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803063E0 00303340 7C 08 02 A6 */ mflr r0 +/* 803063E4 00303344 90 01 00 14 */ stw r0, 0x14(r1) +/* 803063E8 00303348 48 00 00 F5 */ bl __ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +/* 803063EC 0030334C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803063F0 00303350 7C 08 03 A6 */ mtlr r0 +/* 803063F4 00303354 38 21 00 10 */ addi r1, r1, 0x10 +/* 803063F8 00303358 4E 80 00 20 */ blr + +.global BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf: +/* 803063FC 0030335C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80306400 00303360 7C 08 02 A6 */ mflr r0 +/* 80306404 00303364 7C 88 23 78 */ mr r8, r4 +/* 80306408 00303368 7C C7 33 78 */ mr r7, r6 +/* 8030640C 0030336C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306410 00303370 7C A0 2B 78 */ mr r0, r5 +/* 80306414 00303374 38 80 00 00 */ li r4, 0 +/* 80306418 00303378 7D 05 43 78 */ mr r5, r8 +/* 8030641C 0030337C 7C 06 03 78 */ mr r6, r0 +/* 80306420 00303380 48 00 01 51 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 80306424 00303384 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306428 00303388 7C 08 03 A6 */ mtlr r0 +/* 8030642C 0030338C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306430 00303390 4E 80 00 20 */ blr + +.global BuildPoint__6CLightFRC9CVector3fRC6CColor +BuildPoint__6CLightFRC9CVector3fRC6CColor: +/* 80306434 00303394 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80306438 00303398 7C 08 02 A6 */ mflr r0 +/* 8030643C 0030339C 3C C0 80 5A */ lis r6, lbl_805A53E0@ha +/* 80306440 003033A0 7C A7 2B 78 */ mr r7, r5 +/* 80306444 003033A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306448 003033A8 7C 85 23 78 */ mr r5, r4 +/* 8030644C 003033AC C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) +/* 80306450 003033B0 38 C6 53 E0 */ addi r6, r6, lbl_805A53E0@l +/* 80306454 003033B4 38 80 00 01 */ li r4, 1 +/* 80306458 003033B8 48 00 01 19 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 8030645C 003033BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306460 003033C0 7C 08 03 A6 */ mtlr r0 +/* 80306464 003033C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306468 003033C8 4E 80 00 20 */ blr + +.global BuildDirectional__6CLightFRC9CVector3fRC6CColor +BuildDirectional__6CLightFRC9CVector3fRC6CColor: +/* 8030646C 003033CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80306470 003033D0 7C 08 02 A6 */ mflr r0 +/* 80306474 003033D4 3C C0 80 5A */ lis r6, lbl_805A53C8@ha +/* 80306478 003033D8 7C A7 2B 78 */ mr r7, r5 +/* 8030647C 003033DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306480 003033E0 38 A6 53 C8 */ addi r5, r6, lbl_805A53C8@l +/* 80306484 003033E4 7C 86 23 78 */ mr r6, r4 +/* 80306488 003033E8 C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) +/* 8030648C 003033EC 38 80 00 02 */ li r4, 2 +/* 80306490 003033F0 48 00 00 E1 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 80306494 003033F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306498 003033F8 7C 08 03 A6 */ mtlr r0 +/* 8030649C 003033FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803064A0 00303400 4E 80 00 20 */ blr + +.global BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor: +/* 803064A4 00303404 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803064A8 00303408 7C 08 02 A6 */ mflr r0 +/* 803064AC 0030340C 3C C0 80 5A */ lis r6, lbl_805A53E0@ha +/* 803064B0 00303410 7C A7 2B 78 */ mr r7, r5 +/* 803064B4 00303414 90 01 00 14 */ stw r0, 0x14(r1) +/* 803064B8 00303418 7C 85 23 78 */ mr r5, r4 +/* 803064BC 0030341C C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) +/* 803064C0 00303420 38 C6 53 E0 */ addi r6, r6, lbl_805A53E0@l +/* 803064C4 00303424 38 80 00 03 */ li r4, 3 +/* 803064C8 00303428 48 00 00 A9 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 803064CC 0030342C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803064D0 00303430 7C 08 03 A6 */ mtlr r0 +/* 803064D4 00303434 38 21 00 10 */ addi r1, r1, 0x10 +/* 803064D8 00303438 4E 80 00 20 */ blr + +.global __ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +__ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff: +/* 803064DC 0030343C C0 E4 00 00 */ lfs f7, 0(r4) +/* 803064E0 00303440 39 00 00 04 */ li r8, 4 +/* 803064E4 00303444 C0 02 C7 88 */ lfs f0, lbl_805AE4A8@sda21(r2) +/* 803064E8 00303448 38 00 00 00 */ li r0, 0 +/* 803064EC 0030344C D0 E3 00 00 */ stfs f7, 0(r3) +/* 803064F0 00303450 38 E0 00 01 */ li r7, 1 +/* 803064F4 00303454 C0 E4 00 04 */ lfs f7, 4(r4) +/* 803064F8 00303458 D0 E3 00 04 */ stfs f7, 4(r3) +/* 803064FC 0030345C C0 E4 00 08 */ lfs f7, 8(r4) +/* 80306500 00303460 D0 E3 00 08 */ stfs f7, 8(r3) +/* 80306504 00303464 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80306508 00303468 D0 E3 00 0C */ stfs f7, 0xc(r3) +/* 8030650C 0030346C C0 E5 00 04 */ lfs f7, 4(r5) +/* 80306510 00303470 D0 E3 00 10 */ stfs f7, 0x10(r3) +/* 80306514 00303474 C0 E5 00 08 */ lfs f7, 8(r5) +/* 80306518 00303478 D0 E3 00 14 */ stfs f7, 0x14(r3) +/* 8030651C 0030347C 80 86 00 00 */ lwz r4, 0(r6) +/* 80306520 00303480 90 83 00 18 */ stw r4, 0x18(r3) +/* 80306524 00303484 91 03 00 1C */ stw r8, 0x1c(r3) +/* 80306528 00303488 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8030652C 0030348C D0 23 00 24 */ stfs f1, 0x24(r3) +/* 80306530 00303490 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80306534 00303494 D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 80306538 00303498 D0 83 00 30 */ stfs f4, 0x30(r3) +/* 8030653C 0030349C D0 A3 00 34 */ stfs f5, 0x34(r3) +/* 80306540 003034A0 D0 C3 00 38 */ stfs f6, 0x38(r3) +/* 80306544 003034A4 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80306548 003034A8 90 03 00 40 */ stw r0, 0x40(r3) +/* 8030654C 003034AC D0 03 00 44 */ stfs f0, 0x44(r3) +/* 80306550 003034B0 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 80306554 003034B4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306558 003034B8 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 8030655C 003034BC 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306560 003034C0 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306564 003034C4 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 80306568 003034C8 98 03 00 4C */ stb r0, 0x4c(r3) +/* 8030656C 003034CC 4E 80 00 20 */ blr + +.global __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +__ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf: +/* 80306570 003034D0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80306574 003034D4 38 00 00 00 */ li r0, 0 +/* 80306578 003034D8 C0 42 C7 88 */ lfs f2, lbl_805AE4A8@sda21(r2) +/* 8030657C 003034DC 39 00 00 01 */ li r8, 1 +/* 80306580 003034E0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80306584 003034E4 C0 02 C7 80 */ lfs f0, lbl_805AE4A0@sda21(r2) +/* 80306588 003034E8 C0 65 00 04 */ lfs f3, 4(r5) +/* 8030658C 003034EC D0 63 00 04 */ stfs f3, 4(r3) +/* 80306590 003034F0 C0 65 00 08 */ lfs f3, 8(r5) +/* 80306594 003034F4 D0 63 00 08 */ stfs f3, 8(r3) +/* 80306598 003034F8 C0 66 00 00 */ lfs f3, 0(r6) +/* 8030659C 003034FC D0 63 00 0C */ stfs f3, 0xc(r3) +/* 803065A0 00303500 C0 66 00 04 */ lfs f3, 4(r6) +/* 803065A4 00303504 D0 63 00 10 */ stfs f3, 0x10(r3) +/* 803065A8 00303508 C0 66 00 08 */ lfs f3, 8(r6) +/* 803065AC 0030350C D0 63 00 14 */ stfs f3, 0x14(r3) +/* 803065B0 00303510 80 A7 00 00 */ lwz r5, 0(r7) +/* 803065B4 00303514 90 A3 00 18 */ stw r5, 0x18(r3) +/* 803065B8 00303518 90 83 00 1C */ stw r4, 0x1c(r3) +/* 803065BC 0030351C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 803065C0 00303520 D0 43 00 24 */ stfs f2, 0x24(r3) +/* 803065C4 00303524 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 803065C8 00303528 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 803065CC 0030352C D0 43 00 30 */ stfs f2, 0x30(r3) +/* 803065D0 00303530 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 803065D4 00303534 D0 43 00 38 */ stfs f2, 0x38(r3) +/* 803065D8 00303538 90 03 00 3C */ stw r0, 0x3c(r3) +/* 803065DC 0030353C 90 03 00 40 */ stw r0, 0x40(r3) +/* 803065E0 00303540 D0 43 00 44 */ stfs f2, 0x44(r3) +/* 803065E4 00303544 D0 43 00 48 */ stfs f2, 0x48(r3) +/* 803065E8 00303548 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803065EC 0030354C 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 +/* 803065F0 00303550 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803065F4 00303554 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803065F8 00303558 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 803065FC 0030355C 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306600 00303560 4E 80 00 20 */ blr + +.global __sinit_CLight_cpp +__sinit_CLight_cpp: +/* 80306604 00303564 C0 22 C7 88 */ lfs f1, lbl_805AE4A8@sda21(r2) +/* 80306608 00303568 3C 80 80 5A */ lis r4, lbl_805A53C8@ha +/* 8030660C 0030356C 3C 60 80 5A */ lis r3, lbl_805A53E0@ha +/* 80306610 00303570 C0 02 C7 84 */ lfs f0, lbl_805AE4A4@sda21(r2) +/* 80306614 00303574 D4 24 53 C8 */ stfsu f1, lbl_805A53C8@l(r4) +/* 80306618 00303578 D4 23 53 E0 */ stfsu f1, lbl_805A53E0@l(r3) +/* 8030661C 0030357C D0 24 00 04 */ stfs f1, 4(r4) +/* 80306620 00303580 D0 24 00 08 */ stfs f1, 8(r4) +/* 80306624 00303584 D0 03 00 04 */ stfs f0, 4(r3) +/* 80306628 00303588 D0 23 00 08 */ stfs f1, 8(r3) +/* 8030662C 0030358C 4E 80 00 20 */ blr + +.global sub_80306630 +sub_80306630: +/* 80306630 00303590 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306634 00303594 7C 08 02 A6 */ mflr r0 +/* 80306638 00303598 3C E0 80 5A */ lis r7, lbl_805A53EC@ha +/* 8030663C 0030359C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306640 003035A0 38 E7 53 EC */ addi r7, r7, lbl_805A53EC@l +/* 80306644 003035A4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80306648 003035A8 7C 7C 1B 78 */ mr r28, r3 +/* 8030664C 003035AC 7C 9D 23 78 */ mr r29, r4 +/* 80306650 003035B0 7C BE 2B 78 */ mr r30, r5 +/* 80306654 003035B4 7C DF 33 78 */ mr r31, r6 +/* 80306658 003035B8 88 07 00 51 */ lbz r0, 0x51(r7) +/* 8030665C 003035BC 28 00 00 00 */ cmplwi r0, 0 +/* 80306660 003035C0 41 82 00 14 */ beq lbl_80306674 +/* 80306664 003035C4 38 00 00 00 */ li r0, 0 +/* 80306668 003035C8 38 60 00 00 */ li r3, 0 +/* 8030666C 003035CC 98 07 00 51 */ stb r0, 0x51(r7) +/* 80306670 003035D0 48 07 4C 49 */ bl GXSetNumIndStages +lbl_80306674: +/* 80306674 003035D4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306678 003035D8 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 8030667C 003035DC 88 04 00 50 */ lbz r0, 0x50(r4) +/* 80306680 003035E0 28 00 00 01 */ cmplwi r0, 1 +/* 80306684 003035E4 41 82 00 14 */ beq lbl_80306698 +/* 80306688 003035E8 38 00 00 01 */ li r0, 1 +/* 8030668C 003035EC 38 60 00 01 */ li r3, 1 +/* 80306690 003035F0 98 04 00 50 */ stb r0, 0x50(r4) +/* 80306694 003035F4 48 07 55 39 */ bl GXSetNumTevStages +lbl_80306698: +/* 80306698 003035F8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030669C 003035FC 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 803066A0 00303600 88 04 00 4F */ lbz r0, 0x4f(r4) +/* 803066A4 00303604 28 00 00 01 */ cmplwi r0, 1 +/* 803066A8 00303608 41 82 00 14 */ beq lbl_803066BC +/* 803066AC 0030360C 38 00 00 01 */ li r0, 1 +/* 803066B0 00303610 38 60 00 01 */ li r3, 1 +/* 803066B4 00303614 98 04 00 4F */ stb r0, 0x4f(r4) +/* 803066B8 00303618 48 07 1B AD */ bl GXSetNumTexGens +lbl_803066BC: +/* 803066BC 0030361C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803066C0 00303620 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 803066C4 00303624 88 04 00 52 */ lbz r0, 0x52(r4) +/* 803066C8 00303628 28 00 00 0F */ cmplwi r0, 0xf +/* 803066CC 0030362C 41 82 00 1C */ beq lbl_803066E8 +/* 803066D0 00303630 38 00 00 0F */ li r0, 0xf +/* 803066D4 00303634 38 60 00 01 */ li r3, 1 +/* 803066D8 00303638 98 04 00 52 */ stb r0, 0x52(r4) +/* 803066DC 0030363C 38 80 00 03 */ li r4, 3 +/* 803066E0 00303640 38 A0 00 01 */ li r5, 1 +/* 803066E4 00303644 48 07 58 75 */ bl GXSetZMode +lbl_803066E8: +/* 803066E8 00303648 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803066EC 0030364C 3B 63 53 EC */ addi r27, r3, lbl_805A53EC@l +/* 803066F0 00303650 80 7B 00 7C */ lwz r3, 0x7c(r27) +/* 803066F4 00303654 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 803066F8 00303658 28 00 FF FF */ cmplwi r0, 0xffff +/* 803066FC 0030365C 41 82 00 24 */ beq lbl_80306720 +/* 80306700 00303660 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80306704 00303664 38 60 00 00 */ li r3, 0 +/* 80306708 00303668 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 8030670C 0030366C 38 80 00 FF */ li r4, 0xff +/* 80306710 00303670 90 1B 00 7C */ stw r0, 0x7c(r27) +/* 80306714 00303674 38 A0 00 FF */ li r5, 0xff +/* 80306718 00303678 38 C0 00 FF */ li r6, 0xff +/* 8030671C 0030367C 48 07 52 D9 */ bl GXSetTevOrder +lbl_80306720: +/* 80306720 00303680 80 7B 00 68 */ lwz r3, 0x68(r27) +/* 80306724 00303684 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 80306728 00303688 28 00 BD EF */ cmplwi r0, 0xbdef +/* 8030672C 0030368C 41 82 00 28 */ beq lbl_80306754 +/* 80306730 00303690 3C 80 00 08 */ lis r4, 0x0007BDEF@ha +/* 80306734 00303694 38 60 00 00 */ li r3, 0 +/* 80306738 00303698 38 04 BD EF */ addi r0, r4, 0x0007BDEF@l +/* 8030673C 0030369C 38 80 00 0F */ li r4, 0xf +/* 80306740 003036A0 90 1B 00 68 */ stw r0, 0x68(r27) +/* 80306744 003036A4 38 A0 00 0F */ li r5, 0xf +/* 80306748 003036A8 38 C0 00 0F */ li r6, 0xf +/* 8030674C 003036AC 38 E0 00 0F */ li r7, 0xf +/* 80306750 003036B0 48 07 4D 55 */ bl GXSetTevColorIn +lbl_80306754: +/* 80306754 003036B4 80 7B 00 6C */ lwz r3, 0x6c(r27) +/* 80306758 003036B8 3C 03 FF FD */ addis r0, r3, 0xfffd +/* 8030675C 003036BC 28 00 9C E7 */ cmplwi r0, 0x9ce7 +/* 80306760 003036C0 41 82 00 28 */ beq lbl_80306788 +/* 80306764 003036C4 3C 80 00 04 */ lis r4, 0x00039CE7@ha +/* 80306768 003036C8 38 60 00 00 */ li r3, 0 +/* 8030676C 003036CC 38 04 9C E7 */ addi r0, r4, 0x00039CE7@l +/* 80306770 003036D0 38 80 00 07 */ li r4, 7 +/* 80306774 003036D4 90 1B 00 6C */ stw r0, 0x6c(r27) +/* 80306778 003036D8 38 A0 00 07 */ li r5, 7 +/* 8030677C 003036DC 38 C0 00 07 */ li r6, 7 +/* 80306780 003036E0 38 E0 00 07 */ li r7, 7 +/* 80306784 003036E4 48 07 4D 65 */ bl GXSetTevAlphaIn +lbl_80306788: +/* 80306788 003036E8 38 60 00 00 */ li r3, 0 +/* 8030678C 003036EC 48 00 14 C5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80306790 003036F0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306794 003036F4 3B 63 53 EC */ addi r27, r3, lbl_805A53EC@l +/* 80306798 003036F8 A0 1B 00 56 */ lhz r0, 0x56(r27) +/* 8030679C 003036FC 28 00 00 21 */ cmplwi r0, 0x21 +/* 803067A0 00303700 41 82 00 28 */ beq lbl_803067C8 +/* 803067A4 00303704 38 60 00 21 */ li r3, 0x21 +/* 803067A8 00303708 4B DA DB D1 */ bl update_fog__3CGXFUi +/* 803067AC 0030370C 38 00 00 21 */ li r0, 0x21 +/* 803067B0 00303710 38 60 00 01 */ li r3, 1 +/* 803067B4 00303714 B0 1B 00 56 */ sth r0, 0x56(r27) +/* 803067B8 00303718 38 80 00 00 */ li r4, 0 +/* 803067BC 0030371C 38 A0 00 01 */ li r5, 1 +/* 803067C0 00303720 38 C0 00 00 */ li r6, 0 +/* 803067C4 00303724 48 07 56 E9 */ bl GXSetBlendMode +lbl_803067C8: +/* 803067C8 00303728 7F 83 E3 78 */ mr r3, r28 +/* 803067CC 0030372C 7F A4 EB 78 */ mr r4, r29 +/* 803067D0 00303730 7F C5 F3 78 */ mr r5, r30 +/* 803067D4 00303734 7F E6 FB 78 */ mr r6, r31 +/* 803067D8 00303738 48 00 02 19 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 803067DC 0030373C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803067E0 00303740 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803067E4 00303744 7C 08 03 A6 */ mtlr r0 +/* 803067E8 00303748 38 21 00 20 */ addi r1, r1, 0x20 +/* 803067EC 0030374C 4E 80 00 20 */ blr + +.global "RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>" +"RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>": +/* 803067F0 00303750 90 83 00 04 */ stw r4, 4(r3) +/* 803067F4 00303754 38 80 00 00 */ li r4, 0 +/* 803067F8 00303758 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 803067FC 0030375C 88 03 00 40 */ lbz r0, 0x40(r3) +/* 80306800 00303760 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80306804 00303764 98 03 00 40 */ stb r0, 0x40(r3) +/* 80306808 00303768 4E 80 00 20 */ blr + +.global UnlockTextures__10CCubeModelCFv +UnlockTextures__10CCubeModelCFv: +/* 8030680C 0030376C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306810 00303770 7C 08 02 A6 */ mflr r0 +/* 80306814 00303774 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306818 00303778 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030681C 0030377C 3B E0 00 00 */ li r31, 0 +/* 80306820 00303780 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306824 00303784 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80306828 00303788 7C 7D 1B 78 */ mr r29, r3 +/* 8030682C 0030378C 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80306830 00303790 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 80306834 00303794 48 00 00 14 */ b lbl_80306848 +lbl_80306838: +/* 80306838 00303798 93 FE 00 08 */ stw r31, 8(r30) +/* 8030683C 0030379C 7F C3 F3 78 */ mr r3, r30 +/* 80306840 003037A0 48 03 A5 01 */ bl Unlock__6CTokenFv +/* 80306844 003037A4 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80306848: +/* 80306848 003037A8 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 8030684C 003037AC 80 03 00 04 */ lwz r0, 4(r3) +/* 80306850 003037B0 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80306854 003037B4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80306858 003037B8 7C 03 02 14 */ add r0, r3, r0 +/* 8030685C 003037BC 7C 1E 00 40 */ cmplw r30, r0 +/* 80306860 003037C0 40 82 FF D8 */ bne lbl_80306838 +/* 80306864 003037C4 88 1D 00 40 */ lbz r0, 0x40(r29) +/* 80306868 003037C8 38 60 00 00 */ li r3, 0 +/* 8030686C 003037CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80306870 003037D0 98 1D 00 40 */ stb r0, 0x40(r29) +/* 80306874 003037D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306878 003037D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030687C 003037DC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80306880 003037E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306884 003037E4 7C 08 03 A6 */ mtlr r0 +/* 80306888 003037E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030688C 003037EC 4E 80 00 20 */ blr + +.global SetModelWireframe__10CCubeModelFb +SetModelWireframe__10CCubeModelFb: +/* 80306890 003037F0 98 6D A7 81 */ stb r3, lbl_805A9341@sda21(r13) +/* 80306894 003037F4 4E 80 00 20 */ blr + +.global SetDrawingOccluders__10CCubeModelFb +SetDrawingOccluders__10CCubeModelFb: +/* 80306898 003037F8 98 6D A7 80 */ stb r3, lbl_805A9340@sda21(r13) +/* 8030689C 003037FC 4E 80 00 20 */ blr + +.global DrawAlpha__10CCubeModelCFRC11CModelFlags +DrawAlpha__10CCubeModelCFRC11CModelFlags: +/* 803068A0 00303800 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803068A4 00303804 7C 08 02 A6 */ mflr r0 +/* 803068A8 00303808 90 01 00 14 */ stw r0, 0x14(r1) +/* 803068AC 0030380C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803068B0 00303810 7C 9F 23 78 */ mr r31, r4 +/* 803068B4 00303814 93 C1 00 08 */ stw r30, 8(r1) +/* 803068B8 00303818 7C 7E 1B 78 */ mr r30, r3 +/* 803068BC 0030381C 48 03 F0 85 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 803068C0 00303820 7F C3 F3 78 */ mr r3, r30 +/* 803068C4 00303824 48 00 0D 5D */ bl SetArraysCurrent__10CCubeModelCFv +/* 803068C8 00303828 7F C3 F3 78 */ mr r3, r30 +/* 803068CC 0030382C 7F E4 FB 78 */ mr r4, r31 +/* 803068D0 00303830 48 00 02 61 */ bl DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags +/* 803068D4 00303834 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803068D8 00303838 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803068DC 0030383C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803068E0 00303840 7C 08 03 A6 */ mtlr r0 +/* 803068E4 00303844 38 21 00 10 */ addi r1, r1, 0x10 +/* 803068E8 00303848 4E 80 00 20 */ blr + +.global DrawNormal__10CCubeModelCFRC11CModelFlags +DrawNormal__10CCubeModelCFRC11CModelFlags: +/* 803068EC 0030384C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803068F0 00303850 7C 08 02 A6 */ mflr r0 +/* 803068F4 00303854 90 01 00 14 */ stw r0, 0x14(r1) +/* 803068F8 00303858 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803068FC 0030385C 7C 9F 23 78 */ mr r31, r4 +/* 80306900 00303860 93 C1 00 08 */ stw r30, 8(r1) +/* 80306904 00303864 7C 7E 1B 78 */ mr r30, r3 +/* 80306908 00303868 48 03 F0 39 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 8030690C 0030386C 7F C3 F3 78 */ mr r3, r30 +/* 80306910 00303870 48 00 0D 11 */ bl SetArraysCurrent__10CCubeModelCFv +/* 80306914 00303874 7F C3 F3 78 */ mr r3, r30 +/* 80306918 00303878 7F E4 FB 78 */ mr r4, r31 +/* 8030691C 0030387C 48 00 02 C9 */ bl DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags +/* 80306920 00303880 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306924 00303884 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80306928 00303888 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030692C 0030388C 7C 08 03 A6 */ mtlr r0 +/* 80306930 00303890 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306934 00303894 4E 80 00 20 */ blr + +.global Draw__10CCubeModelCFPCfPCfRC11CModelFlags +Draw__10CCubeModelCFPCfPCfRC11CModelFlags: +/* 80306938 00303898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030693C 0030389C 7C 08 02 A6 */ mflr r0 +/* 80306940 003038A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306944 003038A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306948 003038A8 7C DF 33 78 */ mr r31, r6 +/* 8030694C 003038AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306950 003038B0 7C BE 2B 78 */ mr r30, r5 +/* 80306954 003038B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80306958 003038B8 7C 9D 23 78 */ mr r29, r4 +/* 8030695C 003038BC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80306960 003038C0 7C 7C 1B 78 */ mr r28, r3 +/* 80306964 003038C4 48 03 EF DD */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 80306968 003038C8 7F 83 E3 78 */ mr r3, r28 +/* 8030696C 003038CC 7F A4 EB 78 */ mr r4, r29 +/* 80306970 003038D0 7F C5 F3 78 */ mr r5, r30 +/* 80306974 003038D4 48 00 0C 71 */ bl SetSkinningArraysCurrent__10CCubeModelCFPCfPCf +/* 80306978 003038D8 7F 83 E3 78 */ mr r3, r28 +/* 8030697C 003038DC 7F E4 FB 78 */ mr r4, r31 +/* 80306980 003038E0 48 00 03 19 */ bl DrawSurfaces__10CCubeModelCFRC11CModelFlags +/* 80306984 003038E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306988 003038E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030698C 003038EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306990 003038F0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80306994 003038F4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80306998 003038F8 7C 08 03 A6 */ mtlr r0 +/* 8030699C 003038FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803069A0 00303900 4E 80 00 20 */ blr + +.global Draw__10CCubeModelCFRC11CModelFlags +Draw__10CCubeModelCFRC11CModelFlags: +/* 803069A4 00303904 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803069A8 00303908 7C 08 02 A6 */ mflr r0 +/* 803069AC 0030390C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803069B0 00303910 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803069B4 00303914 7C 9F 23 78 */ mr r31, r4 +/* 803069B8 00303918 93 C1 00 08 */ stw r30, 8(r1) +/* 803069BC 0030391C 7C 7E 1B 78 */ mr r30, r3 +/* 803069C0 00303920 48 03 EF 81 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 803069C4 00303924 7F C3 F3 78 */ mr r3, r30 +/* 803069C8 00303928 48 00 0C 59 */ bl SetArraysCurrent__10CCubeModelCFv +/* 803069CC 0030392C 7F C3 F3 78 */ mr r3, r30 +/* 803069D0 00303930 7F E4 FB 78 */ mr r4, r31 +/* 803069D4 00303934 48 00 02 C5 */ bl DrawSurfaces__10CCubeModelCFRC11CModelFlags +/* 803069D8 00303938 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803069DC 0030393C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803069E0 00303940 83 C1 00 08 */ lwz r30, 8(r1) +/* 803069E4 00303944 7C 08 03 A6 */ mtlr r0 +/* 803069E8 00303948 38 21 00 10 */ addi r1, r1, 0x10 +/* 803069EC 0030394C 4E 80 00 20 */ blr + +.global DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection: +/* 803069F0 00303950 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803069F4 00303954 7C 08 02 A6 */ mflr r0 +/* 803069F8 00303958 28 04 00 00 */ cmplwi r4, 0 +/* 803069FC 0030395C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80306A00 00303960 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80306A04 00303964 7C 7F 1B 78 */ mr r31, r3 +/* 80306A08 00303968 7C DA 33 78 */ mr r26, r6 +/* 80306A0C 0030396C 41 82 00 0C */ beq lbl_80306A18 +/* 80306A10 00303970 48 00 0B D5 */ bl SetSkinningArraysCurrent__10CCubeModelCFPCfPCf +/* 80306A14 00303974 48 00 00 08 */ b lbl_80306A1C +lbl_80306A18: +/* 80306A18 00303978 48 00 0C 09 */ bl SetArraysCurrent__10CCubeModelCFv +lbl_80306A1C: +/* 80306A1C 0030397C 2C 1A 00 01 */ cmpwi r26, 1 +/* 80306A20 00303980 41 82 00 7C */ beq lbl_80306A9C +/* 80306A24 00303984 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306A28 00303988 83 7F 00 38 */ lwz r27, 0x38(r31) +/* 80306A2C 0030398C 3B C3 53 EC */ addi r30, r3, lbl_805A53EC@l +/* 80306A30 00303990 48 00 00 64 */ b lbl_80306A94 +lbl_80306A34: +/* 80306A34 00303994 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 80306A38 00303998 7F E4 FB 78 */ mr r4, r31 +/* 80306A3C 0030399C 38 61 00 0C */ addi r3, r1, 0xc +/* 80306A40 003039A0 48 00 0A CD */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80306A44 003039A4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80306A48 003039A8 80 04 00 04 */ lwz r0, 4(r4) +/* 80306A4C 003039AC 54 03 10 3A */ slwi r3, r0, 2 +/* 80306A50 003039B0 38 03 00 08 */ addi r0, r3, 8 +/* 80306A54 003039B4 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80306A58 003039B8 48 00 14 A5 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80306A5C 003039BC 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 80306A60 003039C0 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 80306A64 003039C4 38 63 00 4B */ addi r3, r3, 0x4b +/* 80306A68 003039C8 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 80306A6C 003039CC 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80306A70 003039D0 28 00 00 00 */ cmplwi r0, 0 +/* 80306A74 003039D4 54 9D 00 7E */ clrlwi r29, r4, 1 +/* 80306A78 003039D8 7F 9B 1A 14 */ add r28, r27, r3 +/* 80306A7C 003039DC 41 82 00 08 */ beq lbl_80306A84 +/* 80306A80 003039E0 48 00 15 65 */ bl FlushState__3CGXFv +lbl_80306A84: +/* 80306A84 003039E4 7F 83 E3 78 */ mr r3, r28 +/* 80306A88 003039E8 7F A4 EB 78 */ mr r4, r29 +/* 80306A8C 003039EC 48 07 57 49 */ bl GXCallDisplayList +/* 80306A90 003039F0 83 7B 00 18 */ lwz r27, 0x18(r27) +lbl_80306A94: +/* 80306A94 003039F4 28 1B 00 00 */ cmplwi r27, 0 +/* 80306A98 003039F8 40 82 FF 9C */ bne lbl_80306A34 +lbl_80306A9C: +/* 80306A9C 003039FC 2C 1A 00 00 */ cmpwi r26, 0 +/* 80306AA0 00303A00 41 82 00 7C */ beq lbl_80306B1C +/* 80306AA4 00303A04 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306AA8 00303A08 83 7F 00 3C */ lwz r27, 0x3c(r31) +/* 80306AAC 00303A0C 3B C3 53 EC */ addi r30, r3, lbl_805A53EC@l +/* 80306AB0 00303A10 48 00 00 64 */ b lbl_80306B14 +lbl_80306AB4: +/* 80306AB4 00303A14 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 80306AB8 00303A18 7F E4 FB 78 */ mr r4, r31 +/* 80306ABC 00303A1C 38 61 00 08 */ addi r3, r1, 8 +/* 80306AC0 00303A20 48 00 0A 4D */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80306AC4 00303A24 80 81 00 08 */ lwz r4, 8(r1) +/* 80306AC8 00303A28 80 04 00 04 */ lwz r0, 4(r4) +/* 80306ACC 00303A2C 54 03 10 3A */ slwi r3, r0, 2 +/* 80306AD0 00303A30 38 03 00 08 */ addi r0, r3, 8 +/* 80306AD4 00303A34 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80306AD8 00303A38 48 00 14 25 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80306ADC 00303A3C 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 80306AE0 00303A40 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 80306AE4 00303A44 38 63 00 4B */ addi r3, r3, 0x4b +/* 80306AE8 00303A48 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 80306AEC 00303A4C 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80306AF0 00303A50 28 00 00 00 */ cmplwi r0, 0 +/* 80306AF4 00303A54 54 9D 00 7E */ clrlwi r29, r4, 1 +/* 80306AF8 00303A58 7F 9B 1A 14 */ add r28, r27, r3 +/* 80306AFC 00303A5C 41 82 00 08 */ beq lbl_80306B04 +/* 80306B00 00303A60 48 00 14 E5 */ bl FlushState__3CGXFv +lbl_80306B04: +/* 80306B04 00303A64 7F 83 E3 78 */ mr r3, r28 +/* 80306B08 00303A68 7F A4 EB 78 */ mr r4, r29 +/* 80306B0C 00303A6C 48 07 56 C9 */ bl GXCallDisplayList +/* 80306B10 00303A70 83 7B 00 18 */ lwz r27, 0x18(r27) +lbl_80306B14: +/* 80306B14 00303A74 28 1B 00 00 */ cmplwi r27, 0 +/* 80306B18 00303A78 40 82 FF 9C */ bne lbl_80306AB4 +lbl_80306B1C: +/* 80306B1C 00303A7C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80306B20 00303A80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80306B24 00303A84 7C 08 03 A6 */ mtlr r0 +/* 80306B28 00303A88 38 21 00 30 */ addi r1, r1, 0x30 +/* 80306B2C 00303A8C 4E 80 00 20 */ blr + +.global DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags +DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags: +/* 80306B30 00303A90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306B34 00303A94 7C 08 02 A6 */ mflr r0 +/* 80306B38 00303A98 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306B3C 00303A9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306B40 00303AA0 7C 9F 23 78 */ mr r31, r4 +/* 80306B44 00303AA4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306B48 00303AA8 7C 7E 1B 78 */ mr r30, r3 +/* 80306B4C 00303AAC 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) +/* 80306B50 00303AB0 28 00 00 00 */ cmplwi r0, 0 +/* 80306B54 00303AB4 41 82 00 38 */ beq lbl_80306B8C +/* 80306B58 00303AB8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80306B5C 00303ABC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80306B60 00303AC0 48 00 00 1C */ b lbl_80306B7C +lbl_80306B64: +/* 80306B64 00303AC4 7F C3 F3 78 */ mr r3, r30 +/* 80306B68 00303AC8 38 81 00 0C */ addi r4, r1, 0xc +/* 80306B6C 00303ACC 48 00 03 6D */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306B70 00303AD0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80306B74 00303AD4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306B78 00303AD8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80306B7C: +/* 80306B7C 00303ADC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80306B80 00303AE0 28 00 00 00 */ cmplwi r0, 0 +/* 80306B84 00303AE4 40 82 FF E0 */ bne lbl_80306B64 +/* 80306B88 00303AE8 48 00 00 44 */ b lbl_80306BCC +lbl_80306B8C: +/* 80306B8C 00303AEC 48 00 02 31 */ bl TryLockTextures__10CCubeModelCFv +/* 80306B90 00303AF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306B94 00303AF4 41 82 00 38 */ beq lbl_80306BCC +/* 80306B98 00303AF8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80306B9C 00303AFC 90 01 00 08 */ stw r0, 8(r1) +/* 80306BA0 00303B00 48 00 00 20 */ b lbl_80306BC0 +lbl_80306BA4: +/* 80306BA4 00303B04 7F C3 F3 78 */ mr r3, r30 +/* 80306BA8 00303B08 7F E5 FB 78 */ mr r5, r31 +/* 80306BAC 00303B0C 38 81 00 08 */ addi r4, r1, 8 +/* 80306BB0 00303B10 48 00 08 95 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306BB4 00303B14 80 61 00 08 */ lwz r3, 8(r1) +/* 80306BB8 00303B18 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306BBC 00303B1C 90 01 00 08 */ stw r0, 8(r1) +lbl_80306BC0: +/* 80306BC0 00303B20 80 01 00 08 */ lwz r0, 8(r1) +/* 80306BC4 00303B24 28 00 00 00 */ cmplwi r0, 0 +/* 80306BC8 00303B28 40 82 FF DC */ bne lbl_80306BA4 +lbl_80306BCC: +/* 80306BCC 00303B2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306BD0 00303B30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306BD4 00303B34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306BD8 00303B38 7C 08 03 A6 */ mtlr r0 +/* 80306BDC 00303B3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306BE0 00303B40 4E 80 00 20 */ blr + +.global DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags +DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags: +/* 80306BE4 00303B44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306BE8 00303B48 7C 08 02 A6 */ mflr r0 +/* 80306BEC 00303B4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306BF0 00303B50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306BF4 00303B54 7C 9F 23 78 */ mr r31, r4 +/* 80306BF8 00303B58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306BFC 00303B5C 7C 7E 1B 78 */ mr r30, r3 +/* 80306C00 00303B60 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) +/* 80306C04 00303B64 28 00 00 00 */ cmplwi r0, 0 +/* 80306C08 00303B68 41 82 00 38 */ beq lbl_80306C40 +/* 80306C0C 00303B6C 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80306C10 00303B70 90 01 00 0C */ stw r0, 0xc(r1) +/* 80306C14 00303B74 48 00 00 1C */ b lbl_80306C30 +lbl_80306C18: +/* 80306C18 00303B78 7F C3 F3 78 */ mr r3, r30 +/* 80306C1C 00303B7C 38 81 00 0C */ addi r4, r1, 0xc +/* 80306C20 00303B80 48 00 02 B9 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306C24 00303B84 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80306C28 00303B88 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306C2C 00303B8C 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80306C30: +/* 80306C30 00303B90 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80306C34 00303B94 28 00 00 00 */ cmplwi r0, 0 +/* 80306C38 00303B98 40 82 FF E0 */ bne lbl_80306C18 +/* 80306C3C 00303B9C 48 00 00 44 */ b lbl_80306C80 +lbl_80306C40: +/* 80306C40 00303BA0 48 00 01 7D */ bl TryLockTextures__10CCubeModelCFv +/* 80306C44 00303BA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306C48 00303BA8 41 82 00 38 */ beq lbl_80306C80 +/* 80306C4C 00303BAC 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80306C50 00303BB0 90 01 00 08 */ stw r0, 8(r1) +/* 80306C54 00303BB4 48 00 00 20 */ b lbl_80306C74 +lbl_80306C58: +/* 80306C58 00303BB8 7F C3 F3 78 */ mr r3, r30 +/* 80306C5C 00303BBC 7F E5 FB 78 */ mr r5, r31 +/* 80306C60 00303BC0 38 81 00 08 */ addi r4, r1, 8 +/* 80306C64 00303BC4 48 00 07 E1 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306C68 00303BC8 80 61 00 08 */ lwz r3, 8(r1) +/* 80306C6C 00303BCC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306C70 00303BD0 90 01 00 08 */ stw r0, 8(r1) +lbl_80306C74: +/* 80306C74 00303BD4 80 01 00 08 */ lwz r0, 8(r1) +/* 80306C78 00303BD8 28 00 00 00 */ cmplwi r0, 0 +/* 80306C7C 00303BDC 40 82 FF DC */ bne lbl_80306C58 +lbl_80306C80: +/* 80306C80 00303BE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306C84 00303BE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306C88 00303BE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306C8C 00303BEC 7C 08 03 A6 */ mtlr r0 +/* 80306C90 00303BF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306C94 00303BF4 4E 80 00 20 */ blr + +.global DrawSurfaces__10CCubeModelCFRC11CModelFlags +DrawSurfaces__10CCubeModelCFRC11CModelFlags: +/* 80306C98 00303BF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306C9C 00303BFC 7C 08 02 A6 */ mflr r0 +/* 80306CA0 00303C00 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306CA4 00303C04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306CA8 00303C08 7C 7F 1B 78 */ mr r31, r3 +/* 80306CAC 00303C0C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306CB0 00303C10 7C 9E 23 78 */ mr r30, r4 +/* 80306CB4 00303C14 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) +/* 80306CB8 00303C18 28 00 00 00 */ cmplwi r0, 0 +/* 80306CBC 00303C1C 41 82 00 68 */ beq lbl_80306D24 +/* 80306CC0 00303C20 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80306CC4 00303C24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306CC8 00303C28 48 00 00 1C */ b lbl_80306CE4 +lbl_80306CCC: +/* 80306CCC 00303C2C 7F E3 FB 78 */ mr r3, r31 +/* 80306CD0 00303C30 38 81 00 14 */ addi r4, r1, 0x14 +/* 80306CD4 00303C34 48 00 02 05 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306CD8 00303C38 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80306CDC 00303C3C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306CE0 00303C40 90 01 00 14 */ stw r0, 0x14(r1) +lbl_80306CE4: +/* 80306CE4 00303C44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306CE8 00303C48 28 00 00 00 */ cmplwi r0, 0 +/* 80306CEC 00303C4C 40 82 FF E0 */ bne lbl_80306CCC +/* 80306CF0 00303C50 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80306CF4 00303C54 90 01 00 10 */ stw r0, 0x10(r1) +/* 80306CF8 00303C58 48 00 00 1C */ b lbl_80306D14 +lbl_80306CFC: +/* 80306CFC 00303C5C 7F E3 FB 78 */ mr r3, r31 +/* 80306D00 00303C60 38 81 00 10 */ addi r4, r1, 0x10 +/* 80306D04 00303C64 48 00 01 D5 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306D08 00303C68 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80306D0C 00303C6C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306D10 00303C70 90 01 00 10 */ stw r0, 0x10(r1) +lbl_80306D14: +/* 80306D14 00303C74 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80306D18 00303C78 28 00 00 00 */ cmplwi r0, 0 +/* 80306D1C 00303C7C 40 82 FF E0 */ bne lbl_80306CFC +/* 80306D20 00303C80 48 00 00 84 */ b lbl_80306DA4 +lbl_80306D24: +/* 80306D24 00303C84 A0 1E 00 02 */ lhz r0, 2(r30) +/* 80306D28 00303C88 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 80306D2C 00303C8C 40 82 00 10 */ bne lbl_80306D3C +/* 80306D30 00303C90 48 00 00 8D */ bl TryLockTextures__10CCubeModelCFv +/* 80306D34 00303C94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306D38 00303C98 41 82 00 6C */ beq lbl_80306DA4 +lbl_80306D3C: +/* 80306D3C 00303C9C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80306D40 00303CA0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80306D44 00303CA4 48 00 00 20 */ b lbl_80306D64 +lbl_80306D48: +/* 80306D48 00303CA8 7F E3 FB 78 */ mr r3, r31 +/* 80306D4C 00303CAC 7F C5 F3 78 */ mr r5, r30 +/* 80306D50 00303CB0 38 81 00 0C */ addi r4, r1, 0xc +/* 80306D54 00303CB4 48 00 06 F1 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306D58 00303CB8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80306D5C 00303CBC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306D60 00303CC0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80306D64: +/* 80306D64 00303CC4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80306D68 00303CC8 28 00 00 00 */ cmplwi r0, 0 +/* 80306D6C 00303CCC 40 82 FF DC */ bne lbl_80306D48 +/* 80306D70 00303CD0 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80306D74 00303CD4 90 01 00 08 */ stw r0, 8(r1) +/* 80306D78 00303CD8 48 00 00 20 */ b lbl_80306D98 +lbl_80306D7C: +/* 80306D7C 00303CDC 7F E3 FB 78 */ mr r3, r31 +/* 80306D80 00303CE0 7F C5 F3 78 */ mr r5, r30 +/* 80306D84 00303CE4 38 81 00 08 */ addi r4, r1, 8 +/* 80306D88 00303CE8 48 00 06 BD */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306D8C 00303CEC 80 61 00 08 */ lwz r3, 8(r1) +/* 80306D90 00303CF0 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306D94 00303CF4 90 01 00 08 */ stw r0, 8(r1) +lbl_80306D98: +/* 80306D98 00303CF8 80 01 00 08 */ lwz r0, 8(r1) +/* 80306D9C 00303CFC 28 00 00 00 */ cmplwi r0, 0 +/* 80306DA0 00303D00 40 82 FF DC */ bne lbl_80306D7C +lbl_80306DA4: +/* 80306DA4 00303D04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306DA8 00303D08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306DAC 00303D0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306DB0 00303D10 7C 08 03 A6 */ mtlr r0 +/* 80306DB4 00303D14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306DB8 00303D18 4E 80 00 20 */ blr + +.global TryLockTextures__10CCubeModelCFv +TryLockTextures__10CCubeModelCFv: +/* 80306DBC 00303D1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306DC0 00303D20 7C 08 02 A6 */ mflr r0 +/* 80306DC4 00303D24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306DC8 00303D28 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80306DCC 00303D2C 7C 7C 1B 78 */ mr r28, r3 +/* 80306DD0 00303D30 88 03 00 40 */ lbz r0, 0x40(r3) +/* 80306DD4 00303D34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80306DD8 00303D38 40 82 00 D8 */ bne lbl_80306EB0 +/* 80306DDC 00303D3C 3B C0 00 00 */ li r30, 0 +/* 80306DE0 00303D40 3B A0 00 00 */ li r29, 0 +/* 80306DE4 00303D44 3B E0 00 00 */ li r31, 0 +/* 80306DE8 00303D48 48 00 00 A0 */ b lbl_80306E88 +lbl_80306DEC: +/* 80306DEC 00303D4C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80306DF0 00303D50 7C 60 FA 14 */ add r3, r0, r31 +/* 80306DF4 00303D54 48 03 9F 91 */ bl Lock__6CTokenFv +/* 80306DF8 00303D58 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80306DFC 00303D5C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80306E00 00303D60 7F 60 FA 14 */ add r27, r0, r31 +/* 80306E04 00303D64 80 1B 00 08 */ lwz r0, 8(r27) +/* 80306E08 00303D68 28 00 00 00 */ cmplwi r0, 0 +/* 80306E0C 00303D6C 41 82 00 0C */ beq lbl_80306E18 +/* 80306E10 00303D70 38 60 00 01 */ li r3, 1 +/* 80306E14 00303D74 48 00 00 3C */ b lbl_80306E50 +lbl_80306E18: +/* 80306E18 00303D78 88 1B 00 04 */ lbz r0, 4(r27) +/* 80306E1C 00303D7C 28 00 00 00 */ cmplwi r0, 0 +/* 80306E20 00303D80 41 82 00 2C */ beq lbl_80306E4C +/* 80306E24 00303D84 80 7B 00 00 */ lwz r3, 0(r27) +/* 80306E28 00303D88 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80306E2C 00303D8C 28 00 00 00 */ cmplwi r0, 0 +/* 80306E30 00303D90 41 82 00 1C */ beq lbl_80306E4C +/* 80306E34 00303D94 7F 63 DB 78 */ mr r3, r27 +/* 80306E38 00303D98 48 03 9F D5 */ bl GetObj__6CTokenFv +/* 80306E3C 00303D9C 80 03 00 04 */ lwz r0, 4(r3) +/* 80306E40 00303DA0 38 60 00 01 */ li r3, 1 +/* 80306E44 00303DA4 90 1B 00 08 */ stw r0, 8(r27) +/* 80306E48 00303DA8 48 00 00 08 */ b lbl_80306E50 +lbl_80306E4C: +/* 80306E4C 00303DAC 38 60 00 00 */ li r3, 0 +lbl_80306E50: +/* 80306E50 00303DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306E54 00303DB4 40 82 00 0C */ bne lbl_80306E60 +/* 80306E58 00303DB8 3B C0 00 01 */ li r30, 1 +/* 80306E5C 00303DBC 48 00 00 24 */ b lbl_80306E80 +lbl_80306E60: +/* 80306E60 00303DC0 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80306E64 00303DC4 38 1F 00 08 */ addi r0, r31, 8 +/* 80306E68 00303DC8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80306E6C 00303DCC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80306E70 00303DD0 48 00 7D B9 */ bl LoadToMRAM__8CTextureCFv +/* 80306E74 00303DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306E78 00303DD8 40 82 00 08 */ bne lbl_80306E80 +/* 80306E7C 00303DDC 3B C0 00 01 */ li r30, 1 +lbl_80306E80: +/* 80306E80 00303DE0 3B FF 00 0C */ addi r31, r31, 0xc +/* 80306E84 00303DE4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80306E88: +/* 80306E88 00303DE8 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80306E8C 00303DEC 80 03 00 04 */ lwz r0, 4(r3) +/* 80306E90 00303DF0 7C 1D 00 00 */ cmpw r29, r0 +/* 80306E94 00303DF4 41 80 FF 58 */ blt lbl_80306DEC +/* 80306E98 00303DF8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80306E9C 00303DFC 40 82 00 14 */ bne lbl_80306EB0 +/* 80306EA0 00303E00 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 80306EA4 00303E04 38 60 00 01 */ li r3, 1 +/* 80306EA8 00303E08 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80306EAC 00303E0C 98 1C 00 40 */ stb r0, 0x40(r28) +lbl_80306EB0: +/* 80306EB0 00303E10 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 80306EB4 00303E14 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80306EB8 00303E18 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 80306EBC 00303E1C 7C 03 00 D0 */ neg r0, r3 +/* 80306EC0 00303E20 7C 00 1B 78 */ or r0, r0, r3 +/* 80306EC4 00303E24 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80306EC8 00303E28 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306ECC 00303E2C 7C 08 03 A6 */ mtlr r0 +/* 80306ED0 00303E30 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306ED4 00303E34 4E 80 00 20 */ blr + +.global DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface: +/* 80306ED8 00303E38 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80306EDC 00303E3C 7C 08 02 A6 */ mflr r0 +/* 80306EE0 00303E40 90 01 00 84 */ stw r0, 0x84(r1) +/* 80306EE4 00303E44 BE 61 00 4C */ stmw r19, 0x4c(r1) +/* 80306EE8 00303E48 7C 94 23 78 */ mr r20, r4 +/* 80306EEC 00303E4C 80 A4 00 00 */ lwz r5, 0(r4) +/* 80306EF0 00303E50 7C 64 1B 78 */ mr r4, r3 +/* 80306EF4 00303E54 38 61 00 44 */ addi r3, r1, 0x44 +/* 80306EF8 00303E58 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80306EFC 00303E5C 48 00 06 11 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80306F00 00303E60 88 0D A7 88 */ lbz r0, lbl_805A9348@sda21(r13) +/* 80306F04 00303E64 80 81 00 44 */ lwz r4, 0x44(r1) +/* 80306F08 00303E68 7C 00 07 75 */ extsb. r0, r0 +/* 80306F0C 00303E6C 40 82 00 14 */ bne lbl_80306F20 +/* 80306F10 00303E70 38 60 00 00 */ li r3, 0 +/* 80306F14 00303E74 38 00 00 01 */ li r0, 1 +/* 80306F18 00303E78 90 6D A7 84 */ stw r3, lbl_805A9344@sda21(r13) +/* 80306F1C 00303E7C 98 0D A7 88 */ stb r0, lbl_805A9348@sda21(r13) +lbl_80306F20: +/* 80306F20 00303E80 88 0D A7 90 */ lbz r0, lbl_805A9350@sda21(r13) +/* 80306F24 00303E84 7C 00 07 75 */ extsb. r0, r0 +/* 80306F28 00303E88 40 82 00 14 */ bne lbl_80306F3C +/* 80306F2C 00303E8C 38 60 00 00 */ li r3, 0 +/* 80306F30 00303E90 38 00 00 01 */ li r0, 1 +/* 80306F34 00303E94 90 6D A7 8C */ stw r3, lbl_805A934C@sda21(r13) +/* 80306F38 00303E98 98 0D A7 90 */ stb r0, lbl_805A9350@sda21(r13) +lbl_80306F3C: +/* 80306F3C 00303E9C 80 64 00 04 */ lwz r3, 4(r4) +/* 80306F40 00303EA0 80 0D A7 84 */ lwz r0, lbl_805A9344@sda21(r13) +/* 80306F44 00303EA4 54 63 10 3A */ slwi r3, r3, 2 +/* 80306F48 00303EA8 7C 64 1A 14 */ add r3, r4, r3 +/* 80306F4C 00303EAC 80 83 00 08 */ lwz r4, 8(r3) +/* 80306F50 00303EB0 7C 04 00 40 */ cmplw r4, r0 +/* 80306F54 00303EB4 41 82 00 94 */ beq lbl_80306FE8 +/* 80306F58 00303EB8 38 A0 00 00 */ li r5, 0 +/* 80306F5C 00303EBC 38 00 00 04 */ li r0, 4 +/* 80306F60 00303EC0 90 AD A7 8C */ stw r5, lbl_805A934C@sda21(r13) +/* 80306F64 00303EC4 38 C0 00 00 */ li r6, 0 +/* 80306F68 00303EC8 7C 09 03 A6 */ mtctr r0 +lbl_80306F6C: +/* 80306F6C 00303ECC 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306F70 00303ED0 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306F74 00303ED4 41 82 00 10 */ beq lbl_80306F84 +/* 80306F78 00303ED8 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306F7C 00303EDC 38 03 00 01 */ addi r0, r3, 1 +/* 80306F80 00303EE0 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306F84: +/* 80306F84 00303EE4 38 A5 00 02 */ addi r5, r5, 2 +/* 80306F88 00303EE8 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306F8C 00303EEC 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306F90 00303EF0 41 82 00 10 */ beq lbl_80306FA0 +/* 80306F94 00303EF4 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306F98 00303EF8 38 03 00 01 */ addi r0, r3, 1 +/* 80306F9C 00303EFC 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306FA0: +/* 80306FA0 00303F00 38 A5 00 02 */ addi r5, r5, 2 +/* 80306FA4 00303F04 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306FA8 00303F08 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306FAC 00303F0C 41 82 00 10 */ beq lbl_80306FBC +/* 80306FB0 00303F10 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306FB4 00303F14 38 03 00 01 */ addi r0, r3, 1 +/* 80306FB8 00303F18 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306FBC: +/* 80306FBC 00303F1C 38 A5 00 02 */ addi r5, r5, 2 +/* 80306FC0 00303F20 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306FC4 00303F24 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306FC8 00303F28 41 82 00 10 */ beq lbl_80306FD8 +/* 80306FCC 00303F2C 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306FD0 00303F30 38 03 00 01 */ addi r0, r3, 1 +/* 80306FD4 00303F34 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306FD8: +/* 80306FD8 00303F38 38 A5 00 02 */ addi r5, r5, 2 +/* 80306FDC 00303F3C 38 C6 00 03 */ addi r6, r6, 3 +/* 80306FE0 00303F40 42 00 FF 8C */ bdnz lbl_80306F6C +/* 80306FE4 00303F44 90 8D A7 84 */ stw r4, lbl_805A9344@sda21(r13) +lbl_80306FE8: +/* 80306FE8 00303F48 80 0D A7 8C */ lwz r0, lbl_805A934C@sda21(r13) +/* 80306FEC 00303F4C 3C 60 80 3D */ lis r3, lbl_803D7388@ha +/* 80306FF0 00303F50 38 63 73 88 */ addi r3, r3, lbl_803D7388@l +/* 80306FF4 00303F54 54 19 08 3C */ slwi r25, r0, 1 +/* 80306FF8 00303F58 48 00 0E 31 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80306FFC 00303F5C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307000 00303F60 3A A3 53 EC */ addi r21, r3, lbl_805A53EC@l +/* 80307004 00303F64 80 15 00 78 */ lwz r0, 0x78(r21) +/* 80307008 00303F68 28 00 00 00 */ cmplwi r0, 0 +/* 8030700C 00303F6C 41 82 00 14 */ beq lbl_80307020 +/* 80307010 00303F70 38 00 00 00 */ li r0, 0 +/* 80307014 00303F74 38 60 00 00 */ li r3, 0 +/* 80307018 00303F78 90 15 00 78 */ stw r0, 0x78(r21) +/* 8030701C 00303F7C 48 07 42 C5 */ bl GXSetTevDirect +lbl_80307020: +/* 80307020 00303F80 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307024 00303F84 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80307028 00303F88 88 04 00 51 */ lbz r0, 0x51(r4) +/* 8030702C 00303F8C 28 00 00 00 */ cmplwi r0, 0 +/* 80307030 00303F90 41 82 00 14 */ beq lbl_80307044 +/* 80307034 00303F94 38 00 00 00 */ li r0, 0 +/* 80307038 00303F98 38 60 00 00 */ li r3, 0 +/* 8030703C 00303F9C 98 04 00 51 */ stb r0, 0x51(r4) +/* 80307040 00303FA0 48 07 42 79 */ bl GXSetNumIndStages +lbl_80307044: +/* 80307044 00303FA4 80 75 00 68 */ lwz r3, 0x68(r21) +/* 80307048 00303FA8 3C 03 FF FA */ addis r0, r3, 0xfffa +/* 8030704C 00303FAC 28 00 3D EF */ cmplwi r0, 0x3def +/* 80307050 00303FB0 41 82 00 28 */ beq lbl_80307078 +/* 80307054 00303FB4 3C 80 00 06 */ lis r4, 0x00063DEF@ha +/* 80307058 00303FB8 38 60 00 00 */ li r3, 0 +/* 8030705C 00303FBC 38 04 3D EF */ addi r0, r4, 0x00063DEF@l +/* 80307060 00303FC0 38 80 00 0F */ li r4, 0xf +/* 80307064 00303FC4 90 15 00 68 */ stw r0, 0x68(r21) +/* 80307068 00303FC8 38 A0 00 0F */ li r5, 0xf +/* 8030706C 00303FCC 38 C0 00 0F */ li r6, 0xf +/* 80307070 00303FD0 38 E0 00 0C */ li r7, 0xc +/* 80307074 00303FD4 48 07 44 31 */ bl GXSetTevColorIn +lbl_80307078: +/* 80307078 00303FD8 80 15 00 70 */ lwz r0, 0x70(r21) +/* 8030707C 00303FDC 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307080 00303FE0 41 82 00 28 */ beq lbl_803070A8 +/* 80307084 00303FE4 38 00 01 00 */ li r0, 0x100 +/* 80307088 00303FE8 38 60 00 00 */ li r3, 0 +/* 8030708C 00303FEC 90 15 00 70 */ stw r0, 0x70(r21) +/* 80307090 00303FF0 38 80 00 00 */ li r4, 0 +/* 80307094 00303FF4 38 A0 00 00 */ li r5, 0 +/* 80307098 00303FF8 38 C0 00 00 */ li r6, 0 +/* 8030709C 00303FFC 38 E0 00 01 */ li r7, 1 +/* 803070A0 00304000 39 00 00 00 */ li r8, 0 +/* 803070A4 00304004 48 07 44 89 */ bl GXSetTevColorOp +lbl_803070A8: +/* 803070A8 00304008 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803070AC 0030400C 38 C0 00 00 */ li r6, 0 +/* 803070B0 00304010 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 803070B4 00304014 88 BD 00 4D */ lbz r5, 0x4d(r29) +/* 803070B8 00304018 88 1D 00 4F */ lbz r0, 0x4f(r29) +/* 803070BC 0030401C 7C 85 00 D0 */ neg r4, r5 +/* 803070C0 00304020 88 7D 00 4C */ lbz r3, 0x4c(r29) +/* 803070C4 00304024 7C 84 2B 78 */ or r4, r4, r5 +/* 803070C8 00304028 28 00 00 01 */ cmplwi r0, 1 +/* 803070CC 0030402C 50 83 0F FE */ rlwimi r3, r4, 1, 0x1f, 0x1f +/* 803070D0 00304030 98 DD 00 4E */ stb r6, 0x4e(r29) +/* 803070D4 00304034 98 7D 00 4C */ stb r3, 0x4c(r29) +/* 803070D8 00304038 41 82 00 14 */ beq lbl_803070EC +/* 803070DC 0030403C 38 00 00 01 */ li r0, 1 +/* 803070E0 00304040 38 60 00 01 */ li r3, 1 +/* 803070E4 00304044 98 1D 00 4F */ stb r0, 0x4f(r29) +/* 803070E8 00304048 48 07 11 7D */ bl GXSetNumTexGens +lbl_803070EC: +/* 803070EC 0030404C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803070F0 00304050 3A A3 53 EC */ addi r21, r3, lbl_805A53EC@l +/* 803070F4 00304054 A0 15 00 56 */ lhz r0, 0x56(r21) +/* 803070F8 00304058 28 00 00 05 */ cmplwi r0, 5 +/* 803070FC 0030405C 41 82 00 28 */ beq lbl_80307124 +/* 80307100 00304060 38 60 00 05 */ li r3, 5 +/* 80307104 00304064 4B DA D2 75 */ bl update_fog__3CGXFUi +/* 80307108 00304068 38 00 00 05 */ li r0, 5 +/* 8030710C 0030406C 38 60 00 01 */ li r3, 1 +/* 80307110 00304070 B0 15 00 56 */ sth r0, 0x56(r21) +/* 80307114 00304074 38 80 00 01 */ li r4, 1 +/* 80307118 00304078 38 A0 00 00 */ li r5, 0 +/* 8030711C 0030407C 38 C0 00 00 */ li r6, 0 +/* 80307120 00304080 48 07 4D 8D */ bl GXSetBlendMode +lbl_80307124: +/* 80307124 00304084 80 B4 00 00 */ lwz r5, 0(r20) +/* 80307128 00304088 1F 59 00 03 */ mulli r26, r25, 3 +/* 8030712C 0030408C 57 3B 08 3C */ slwi r27, r25, 1 +/* 80307130 00304090 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 80307134 00304094 3A C0 00 00 */ li r22, 0 +/* 80307138 00304098 80 85 00 10 */ lwz r4, 0x10(r5) +/* 8030713C 0030409C 3F C0 CC 01 */ lis r30, 0xcc01 +/* 80307140 003040A0 38 03 00 4B */ addi r0, r3, 0x4b +/* 80307144 003040A4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80307148 003040A8 54 98 00 7E */ clrlwi r24, r4, 1 +/* 8030714C 003040AC 7E E5 02 14 */ add r23, r5, r0 +/* 80307150 003040B0 48 00 02 D8 */ b lbl_80307428 +lbl_80307154: +/* 80307154 003040B4 88 17 00 00 */ lbz r0, 0(r23) +/* 80307158 003040B8 54 1F 06 39 */ rlwinm. r31, r0, 0, 0x18, 0x1c +/* 8030715C 003040BC 41 82 02 D4 */ beq lbl_80307430 +/* 80307160 003040C0 88 77 00 01 */ lbz r3, 1(r23) +/* 80307164 003040C4 3A D6 00 03 */ addi r22, r22, 3 +/* 80307168 003040C8 88 17 00 02 */ lbz r0, 2(r23) +/* 8030716C 003040CC 3A F7 00 03 */ addi r23, r23, 3 +/* 80307170 003040D0 98 61 00 40 */ stb r3, 0x40(r1) +/* 80307174 003040D4 98 01 00 41 */ stb r0, 0x41(r1) +/* 80307178 003040D8 A3 81 00 40 */ lhz r28, 0x40(r1) +/* 8030717C 003040DC 28 1C 00 03 */ cmplwi r28, 3 +/* 80307180 003040E0 41 80 02 B0 */ blt lbl_80307430 +/* 80307184 003040E4 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 80307188 003040E8 28 00 00 00 */ cmplwi r0, 0 +/* 8030718C 003040EC 41 82 00 08 */ beq lbl_80307194 +/* 80307190 003040F0 48 00 0E 55 */ bl FlushState__3CGXFv +lbl_80307194: +/* 80307194 003040F4 38 60 00 B0 */ li r3, 0xb0 +/* 80307198 003040F8 38 80 00 00 */ li r4, 0 +/* 8030719C 003040FC 38 A0 00 04 */ li r5, 4 +/* 803071A0 00304100 48 07 17 55 */ bl GXBegin +/* 803071A4 00304104 88 97 00 00 */ lbz r4, 0(r23) +/* 803071A8 00304108 7C 1C C9 D6 */ mullw r0, r28, r25 +/* 803071AC 0030410C 88 77 00 01 */ lbz r3, 1(r23) +/* 803071B0 00304110 7C B9 BA 14 */ add r5, r25, r23 +/* 803071B4 00304114 98 81 00 3C */ stb r4, 0x3c(r1) +/* 803071B8 00304118 7C 9B BA 14 */ add r4, r27, r23 +/* 803071BC 0030411C 28 1F 00 90 */ cmplwi r31, 0x90 +/* 803071C0 00304120 98 61 00 3D */ stb r3, 0x3d(r1) +/* 803071C4 00304124 7E D6 02 14 */ add r22, r22, r0 +/* 803071C8 00304128 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 803071CC 0030412C B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 803071D0 00304130 88 65 00 00 */ lbz r3, 0(r5) +/* 803071D4 00304134 88 05 00 01 */ lbz r0, 1(r5) +/* 803071D8 00304138 98 61 00 38 */ stb r3, 0x38(r1) +/* 803071DC 0030413C 98 01 00 39 */ stb r0, 0x39(r1) +/* 803071E0 00304140 A0 01 00 38 */ lhz r0, 0x38(r1) +/* 803071E4 00304144 B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 803071E8 00304148 88 64 00 00 */ lbz r3, 0(r4) +/* 803071EC 0030414C 88 04 00 01 */ lbz r0, 1(r4) +/* 803071F0 00304150 98 61 00 34 */ stb r3, 0x34(r1) +/* 803071F4 00304154 98 01 00 35 */ stb r0, 0x35(r1) +/* 803071F8 00304158 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 803071FC 0030415C B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 80307200 00304160 88 77 00 00 */ lbz r3, 0(r23) +/* 80307204 00304164 88 17 00 01 */ lbz r0, 1(r23) +/* 80307208 00304168 7E F7 D2 14 */ add r23, r23, r26 +/* 8030720C 0030416C 98 61 00 30 */ stb r3, 0x30(r1) +/* 80307210 00304170 98 01 00 31 */ stb r0, 0x31(r1) +/* 80307214 00304174 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80307218 00304178 B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 8030721C 0030417C 40 82 00 B4 */ bne lbl_803072D0 +/* 80307220 00304180 3B 9C FF FD */ addi r28, r28, -3 +/* 80307224 00304184 3A A0 00 00 */ li r21, 0 +/* 80307228 00304188 57 9C 04 3E */ clrlwi r28, r28, 0x10 +/* 8030722C 0030418C 3F E0 CC 01 */ lis r31, 0xcc01 +/* 80307230 00304190 48 00 00 94 */ b lbl_803072C4 +lbl_80307234: +/* 80307234 00304194 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 80307238 00304198 28 00 00 00 */ cmplwi r0, 0 +/* 8030723C 0030419C 41 82 00 08 */ beq lbl_80307244 +/* 80307240 003041A0 48 00 0D A5 */ bl FlushState__3CGXFv +lbl_80307244: +/* 80307244 003041A4 38 60 00 B0 */ li r3, 0xb0 +/* 80307248 003041A8 38 80 00 00 */ li r4, 0 +/* 8030724C 003041AC 38 A0 00 04 */ li r5, 4 +/* 80307250 003041B0 48 07 16 A5 */ bl GXBegin +/* 80307254 003041B4 88 77 00 00 */ lbz r3, 0(r23) +/* 80307258 003041B8 7C 99 BA 14 */ add r4, r25, r23 +/* 8030725C 003041BC 88 17 00 01 */ lbz r0, 1(r23) +/* 80307260 003041C0 7C BB BA 14 */ add r5, r27, r23 +/* 80307264 003041C4 98 61 00 2C */ stb r3, 0x2c(r1) +/* 80307268 003041C8 3A B5 00 03 */ addi r21, r21, 3 +/* 8030726C 003041CC 98 01 00 2D */ stb r0, 0x2d(r1) +/* 80307270 003041D0 A0 01 00 2C */ lhz r0, 0x2c(r1) +/* 80307274 003041D4 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307278 003041D8 88 64 00 00 */ lbz r3, 0(r4) +/* 8030727C 003041DC 88 04 00 01 */ lbz r0, 1(r4) +/* 80307280 003041E0 98 61 00 28 */ stb r3, 0x28(r1) +/* 80307284 003041E4 98 01 00 29 */ stb r0, 0x29(r1) +/* 80307288 003041E8 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 8030728C 003041EC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307290 003041F0 88 65 00 00 */ lbz r3, 0(r5) +/* 80307294 003041F4 88 05 00 01 */ lbz r0, 1(r5) +/* 80307298 003041F8 98 61 00 24 */ stb r3, 0x24(r1) +/* 8030729C 003041FC 98 01 00 25 */ stb r0, 0x25(r1) +/* 803072A0 00304200 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 803072A4 00304204 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 803072A8 00304208 88 77 00 00 */ lbz r3, 0(r23) +/* 803072AC 0030420C 88 17 00 01 */ lbz r0, 1(r23) +/* 803072B0 00304210 7E F7 D2 14 */ add r23, r23, r26 +/* 803072B4 00304214 98 61 00 20 */ stb r3, 0x20(r1) +/* 803072B8 00304218 98 01 00 21 */ stb r0, 0x21(r1) +/* 803072BC 0030421C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 803072C0 00304220 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_803072C4: +/* 803072C4 00304224 7C 15 E0 00 */ cmpw r21, r28 +/* 803072C8 00304228 41 80 FF 6C */ blt lbl_80307234 +/* 803072CC 0030422C 48 00 01 5C */ b lbl_80307428 +lbl_803072D0: +/* 803072D0 00304230 28 1F 00 98 */ cmplwi r31, 0x98 +/* 803072D4 00304234 40 82 00 B8 */ bne lbl_8030738C +/* 803072D8 00304238 3B 9C FF FD */ addi r28, r28, -3 +/* 803072DC 0030423C 3A A0 00 01 */ li r21, 1 +/* 803072E0 00304240 57 9C 04 3E */ clrlwi r28, r28, 0x10 +/* 803072E4 00304244 3A 80 00 00 */ li r20, 0 +/* 803072E8 00304248 3F E0 CC 01 */ lis r31, 0xcc01 +/* 803072EC 0030424C 48 00 00 94 */ b lbl_80307380 +lbl_803072F0: +/* 803072F0 00304250 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 803072F4 00304254 28 00 00 00 */ cmplwi r0, 0 +/* 803072F8 00304258 41 82 00 08 */ beq lbl_80307300 +/* 803072FC 0030425C 48 00 0C E9 */ bl FlushState__3CGXFv +lbl_80307300: +/* 80307300 00304260 38 60 00 B0 */ li r3, 0xb0 +/* 80307304 00304264 38 80 00 00 */ li r4, 0 +/* 80307308 00304268 38 A0 00 03 */ li r5, 3 +/* 8030730C 0030426C 48 07 15 E9 */ bl GXBegin +/* 80307310 00304270 38 15 00 01 */ addi r0, r21, 1 +/* 80307314 00304274 6A A3 00 01 */ xori r3, r21, 1 +/* 80307318 00304278 7C 19 01 D6 */ mullw r0, r25, r0 +/* 8030731C 0030427C 6A B5 00 01 */ xori r21, r21, 1 +/* 80307320 00304280 38 83 00 01 */ addi r4, r3, 1 +/* 80307324 00304284 3A 94 00 01 */ addi r20, r20, 1 +/* 80307328 00304288 7C A0 B8 50 */ subf r5, r0, r23 +/* 8030732C 0030428C 88 65 00 00 */ lbz r3, 0(r5) +/* 80307330 00304290 7C 99 21 D6 */ mullw r4, r25, r4 +/* 80307334 00304294 88 05 00 01 */ lbz r0, 1(r5) +/* 80307338 00304298 98 61 00 1C */ stb r3, 0x1c(r1) +/* 8030733C 0030429C 98 01 00 1D */ stb r0, 0x1d(r1) +/* 80307340 003042A0 7C 84 B8 50 */ subf r4, r4, r23 +/* 80307344 003042A4 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80307348 003042A8 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 8030734C 003042AC 88 77 00 00 */ lbz r3, 0(r23) +/* 80307350 003042B0 88 17 00 01 */ lbz r0, 1(r23) +/* 80307354 003042B4 7E F7 CA 14 */ add r23, r23, r25 +/* 80307358 003042B8 98 61 00 18 */ stb r3, 0x18(r1) +/* 8030735C 003042BC 98 01 00 19 */ stb r0, 0x19(r1) +/* 80307360 003042C0 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 80307364 003042C4 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307368 003042C8 88 64 00 00 */ lbz r3, 0(r4) +/* 8030736C 003042CC 88 04 00 01 */ lbz r0, 1(r4) +/* 80307370 003042D0 98 61 00 14 */ stb r3, 0x14(r1) +/* 80307374 003042D4 98 01 00 15 */ stb r0, 0x15(r1) +/* 80307378 003042D8 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8030737C 003042DC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_80307380: +/* 80307380 003042E0 7C 14 E0 00 */ cmpw r20, r28 +/* 80307384 003042E4 41 80 FF 6C */ blt lbl_803072F0 +/* 80307388 003042E8 48 00 00 A0 */ b lbl_80307428 +lbl_8030738C: +/* 8030738C 003042EC 28 1F 00 A0 */ cmplwi r31, 0xa0 +/* 80307390 003042F0 40 82 00 A0 */ bne lbl_80307430 +/* 80307394 003042F4 3B 9C FF FD */ addi r28, r28, -3 +/* 80307398 003042F8 7E 9A B8 50 */ subf r20, r26, r23 +/* 8030739C 003042FC 57 9C 04 3E */ clrlwi r28, r28, 0x10 +/* 803073A0 00304300 3A A0 00 00 */ li r21, 0 +/* 803073A4 00304304 3F E0 CC 01 */ lis r31, 0xcc01 +/* 803073A8 00304308 48 00 00 78 */ b lbl_80307420 +lbl_803073AC: +/* 803073AC 0030430C 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 803073B0 00304310 7E 79 B8 50 */ subf r19, r25, r23 +/* 803073B4 00304314 28 00 00 00 */ cmplwi r0, 0 +/* 803073B8 00304318 41 82 00 08 */ beq lbl_803073C0 +/* 803073BC 0030431C 48 00 0C 29 */ bl FlushState__3CGXFv +lbl_803073C0: +/* 803073C0 00304320 38 60 00 B0 */ li r3, 0xb0 +/* 803073C4 00304324 38 80 00 00 */ li r4, 0 +/* 803073C8 00304328 38 A0 00 03 */ li r5, 3 +/* 803073CC 0030432C 48 07 15 29 */ bl GXBegin +/* 803073D0 00304330 88 73 00 00 */ lbz r3, 0(r19) +/* 803073D4 00304334 3A B5 00 01 */ addi r21, r21, 1 +/* 803073D8 00304338 88 13 00 01 */ lbz r0, 1(r19) +/* 803073DC 0030433C 98 61 00 10 */ stb r3, 0x10(r1) +/* 803073E0 00304340 98 01 00 11 */ stb r0, 0x11(r1) +/* 803073E4 00304344 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 803073E8 00304348 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 803073EC 0030434C 88 77 00 00 */ lbz r3, 0(r23) +/* 803073F0 00304350 88 17 00 01 */ lbz r0, 1(r23) +/* 803073F4 00304354 7E F7 CA 14 */ add r23, r23, r25 +/* 803073F8 00304358 98 61 00 0C */ stb r3, 0xc(r1) +/* 803073FC 0030435C 98 01 00 0D */ stb r0, 0xd(r1) +/* 80307400 00304360 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80307404 00304364 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307408 00304368 88 74 00 00 */ lbz r3, 0(r20) +/* 8030740C 0030436C 88 14 00 01 */ lbz r0, 1(r20) +/* 80307410 00304370 98 61 00 08 */ stb r3, 8(r1) +/* 80307414 00304374 98 01 00 09 */ stb r0, 9(r1) +/* 80307418 00304378 A0 01 00 08 */ lhz r0, 8(r1) +/* 8030741C 0030437C B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_80307420: +/* 80307420 00304380 7C 15 E0 00 */ cmpw r21, r28 +/* 80307424 00304384 41 80 FF 88 */ blt lbl_803073AC +lbl_80307428: +/* 80307428 00304388 7C 16 C0 00 */ cmpw r22, r24 +/* 8030742C 0030438C 41 80 FD 28 */ blt lbl_80307154 +lbl_80307430: +/* 80307430 00304390 BA 61 00 4C */ lmw r19, 0x4c(r1) +/* 80307434 00304394 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80307438 00304398 7C 08 03 A6 */ mtlr r0 +/* 8030743C 0030439C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80307440 003043A0 4E 80 00 20 */ blr + +.global DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags: +/* 80307444 003043A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80307448 003043A8 7C 08 02 A6 */ mflr r0 +/* 8030744C 003043AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80307450 003043B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80307454 003043B4 7C 9F 23 78 */ mr r31, r4 +/* 80307458 003043B8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030745C 003043BC 7C BE 2B 78 */ mr r30, r5 +/* 80307460 003043C0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80307464 003043C4 7C 7D 1B 78 */ mr r29, r3 +/* 80307468 003043C8 38 61 00 08 */ addi r3, r1, 8 +/* 8030746C 003043CC 80 C4 00 00 */ lwz r6, 0(r4) +/* 80307470 003043D0 7F A4 EB 78 */ mr r4, r29 +/* 80307474 003043D4 80 A6 00 0C */ lwz r5, 0xc(r6) +/* 80307478 003043D8 48 00 00 95 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 8030747C 003043DC 80 61 00 08 */ lwz r3, 8(r1) +/* 80307480 003043E0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80307484 003043E4 80 03 00 00 */ lwz r0, 0(r3) +/* 80307488 003043E8 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 +/* 8030748C 003043EC 41 82 00 10 */ beq lbl_8030749C +/* 80307490 003043F0 88 0D A7 80 */ lbz r0, lbl_805A9340@sda21(r13) +/* 80307494 003043F4 28 00 00 00 */ cmplwi r0, 0 +/* 80307498 003043F8 41 82 00 58 */ beq lbl_803074F0 +lbl_8030749C: +/* 8030749C 003043FC 7F C4 F3 78 */ mr r4, r30 +/* 803074A0 00304400 7F E5 FB 78 */ mr r5, r31 +/* 803074A4 00304404 7F A6 EB 78 */ mr r6, r29 +/* 803074A8 00304408 38 61 00 0C */ addi r3, r1, 0xc +/* 803074AC 0030440C 48 03 E9 B1 */ bl SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel +/* 803074B0 00304410 80 BF 00 00 */ lwz r5, 0(r31) +/* 803074B4 00304414 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803074B8 00304418 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803074BC 0030441C 80 85 00 1C */ lwz r4, 0x1c(r5) +/* 803074C0 00304420 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803074C4 00304424 38 64 00 4B */ addi r3, r4, 0x4b +/* 803074C8 00304428 80 85 00 10 */ lwz r4, 0x10(r5) +/* 803074CC 0030442C 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 803074D0 00304430 28 00 00 00 */ cmplwi r0, 0 +/* 803074D4 00304434 54 9F 00 7E */ clrlwi r31, r4, 1 +/* 803074D8 00304438 7F C5 1A 14 */ add r30, r5, r3 +/* 803074DC 0030443C 41 82 00 08 */ beq lbl_803074E4 +/* 803074E0 00304440 48 00 0B 05 */ bl FlushState__3CGXFv +lbl_803074E4: +/* 803074E4 00304444 7F C3 F3 78 */ mr r3, r30 +/* 803074E8 00304448 7F E4 FB 78 */ mr r4, r31 +/* 803074EC 0030444C 48 07 4C E9 */ bl GXCallDisplayList +lbl_803074F0: +/* 803074F0 00304450 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803074F4 00304454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803074F8 00304458 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803074FC 0030445C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80307500 00304460 7C 08 03 A6 */ mtlr r0 +/* 80307504 00304464 38 21 00 20 */ addi r1, r1, 0x20 +/* 80307508 00304468 4E 80 00 20 */ blr + +.global GetMaterialByIndex__10CCubeModelCFi +GetMaterialByIndex__10CCubeModelCFi: +/* 8030750C 0030446C 80 C4 00 1C */ lwz r6, 0x1c(r4) +/* 80307510 00304470 2C 05 00 00 */ cmpwi r5, 0 +/* 80307514 00304474 80 E4 00 04 */ lwz r7, 4(r4) +/* 80307518 00304478 39 00 00 00 */ li r8, 0 +/* 8030751C 0030447C 80 86 00 04 */ lwz r4, 4(r6) +/* 80307520 00304480 38 04 00 01 */ addi r0, r4, 1 +/* 80307524 00304484 54 00 10 3A */ slwi r0, r0, 2 +/* 80307528 00304488 7C E7 02 14 */ add r7, r7, r0 +/* 8030752C 0030448C 80 C7 00 00 */ lwz r6, 0(r7) +/* 80307530 00304490 38 E7 00 04 */ addi r7, r7, 4 +/* 80307534 00304494 41 82 00 10 */ beq lbl_80307544 +/* 80307538 00304498 54 A0 10 3A */ slwi r0, r5, 2 +/* 8030753C 0030449C 7C 87 02 14 */ add r4, r7, r0 +/* 80307540 003044A0 81 04 FF FC */ lwz r8, -4(r4) +lbl_80307544: +/* 80307544 003044A4 54 C0 10 3A */ slwi r0, r6, 2 +/* 80307548 003044A8 7C E7 02 14 */ add r7, r7, r0 +/* 8030754C 003044AC 7C E7 42 14 */ add r7, r7, r8 +/* 80307550 003044B0 90 E3 00 00 */ stw r7, 0(r3) +/* 80307554 003044B4 4E 80 00 20 */ blr + +.global SetUsingPackedLightmaps__10CCubeModelCFb +SetUsingPackedLightmaps__10CCubeModelCFb: +/* 80307558 003044B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030755C 003044BC 7C 08 02 A6 */ mflr r0 +/* 80307560 003044C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307564 003044C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80307568 003044C8 98 8D A7 82 */ stb r4, lbl_805A9342@sda21(r13) +/* 8030756C 003044CC 41 82 00 38 */ beq lbl_803075A4 +/* 80307570 003044D0 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80307574 003044D4 28 04 00 00 */ cmplwi r4, 0 +/* 80307578 003044D8 41 82 00 5C */ beq lbl_803075D4 +/* 8030757C 003044DC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307580 003044E0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307584 003044E4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80307588 003044E8 7C 00 20 40 */ cmplw r0, r4 +/* 8030758C 003044EC 41 82 00 48 */ beq lbl_803075D4 +/* 80307590 003044F0 90 83 00 10 */ stw r4, 0x10(r3) +/* 80307594 003044F4 38 60 00 0D */ li r3, 0xd +/* 80307598 003044F8 38 A0 00 04 */ li r5, 4 +/* 8030759C 003044FC 48 07 09 5D */ bl GXSetArray +/* 803075A0 00304500 48 00 00 34 */ b lbl_803075D4 +lbl_803075A4: +/* 803075A4 00304504 80 83 00 14 */ lwz r4, 0x14(r3) +/* 803075A8 00304508 28 04 00 00 */ cmplwi r4, 0 +/* 803075AC 0030450C 41 82 00 28 */ beq lbl_803075D4 +/* 803075B0 00304510 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803075B4 00304514 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803075B8 00304518 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803075BC 0030451C 7C 00 20 40 */ cmplw r0, r4 +/* 803075C0 00304520 41 82 00 14 */ beq lbl_803075D4 +/* 803075C4 00304524 90 83 00 10 */ stw r4, 0x10(r3) +/* 803075C8 00304528 38 60 00 0D */ li r3, 0xd +/* 803075CC 0030452C 38 A0 00 08 */ li r5, 8 +/* 803075D0 00304530 48 07 09 29 */ bl GXSetArray +lbl_803075D4: +/* 803075D4 00304534 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803075D8 00304538 7C 08 03 A6 */ mtlr r0 +/* 803075DC 0030453C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803075E0 00304540 4E 80 00 20 */ blr + +.global SetSkinningArraysCurrent__10CCubeModelCFPCfPCf +SetSkinningArraysCurrent__10CCubeModelCFPCfPCf: +/* 803075E4 00304544 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803075E8 00304548 7C 08 02 A6 */ mflr r0 +/* 803075EC 0030454C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803075F0 00304550 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803075F4 00304554 7C 7F 1B 78 */ mr r31, r3 +/* 803075F8 00304558 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 +/* 803075FC 0030455C 80 DF 00 10 */ lwz r6, 0x10(r31) +/* 80307600 00304560 48 00 1D 69 */ bl SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi +/* 80307604 00304564 7F E3 FB 78 */ mr r3, r31 +/* 80307608 00304568 48 00 00 B9 */ bl SetStaticArraysCurrent__10CCubeModelCFv +/* 8030760C 0030456C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307610 00304570 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80307614 00304574 7C 08 03 A6 */ mtlr r0 +/* 80307618 00304578 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030761C 0030457C 4E 80 00 20 */ blr + +.global SetArraysCurrent__10CCubeModelCFv +SetArraysCurrent__10CCubeModelCFv: +/* 80307620 00304580 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307624 00304584 7C 08 02 A6 */ mflr r0 +/* 80307628 00304588 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030762C 0030458C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307630 00304590 7C 7F 1B 78 */ mr r31, r3 +/* 80307634 00304594 80 83 00 08 */ lwz r4, 8(r3) +/* 80307638 00304598 28 04 00 00 */ cmplwi r4, 0 +/* 8030763C 0030459C 41 82 00 24 */ beq lbl_80307660 +/* 80307640 003045A0 3C 60 80 5A */ lis r3, 0x805a +/* 80307644 003045A4 84 03 53 EC */ lwzu r0, 0x53ec(r3) +/* 80307648 003045A8 7C 00 20 40 */ cmplw r0, r4 +/* 8030764C 003045AC 41 82 00 14 */ beq lbl_80307660 +/* 80307650 003045B0 90 83 00 00 */ stw r4, 0(r3) +/* 80307654 003045B4 38 60 00 09 */ li r3, 9 +/* 80307658 003045B8 38 A0 00 0C */ li r5, 0xc +/* 8030765C 003045BC 48 07 08 9D */ bl GXSetArray +lbl_80307660: +/* 80307660 003045C0 88 1F 00 41 */ lbz r0, 0x41(r31) +/* 80307664 003045C4 38 A0 00 0C */ li r5, 0xc +/* 80307668 003045C8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030766C 003045CC 41 82 00 08 */ beq lbl_80307674 +/* 80307670 003045D0 38 A0 00 06 */ li r5, 6 +lbl_80307674: +/* 80307674 003045D4 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80307678 003045D8 28 04 00 00 */ cmplwi r4, 0 +/* 8030767C 003045DC 41 82 00 28 */ beq lbl_803076A4 +/* 80307680 003045E0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307684 003045E4 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307688 003045E8 80 03 00 04 */ lwz r0, 4(r3) +/* 8030768C 003045EC 7C 00 20 40 */ cmplw r0, r4 +/* 80307690 003045F0 41 82 00 14 */ beq lbl_803076A4 +/* 80307694 003045F4 90 83 00 04 */ stw r4, 4(r3) +/* 80307698 003045F8 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8030769C 003045FC 38 60 00 0A */ li r3, 0xa +/* 803076A0 00304600 48 07 08 59 */ bl GXSetArray +lbl_803076A4: +/* 803076A4 00304604 7F E3 FB 78 */ mr r3, r31 +/* 803076A8 00304608 48 00 00 19 */ bl SetStaticArraysCurrent__10CCubeModelCFv +/* 803076AC 0030460C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803076B0 00304610 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803076B4 00304614 7C 08 03 A6 */ mtlr r0 +/* 803076B8 00304618 38 21 00 10 */ addi r1, r1, 0x10 +/* 803076BC 0030461C 4E 80 00 20 */ blr + +.global SetStaticArraysCurrent__10CCubeModelCFv +SetStaticArraysCurrent__10CCubeModelCFv: +/* 803076C0 00304620 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803076C4 00304624 7C 08 02 A6 */ mflr r0 +/* 803076C8 00304628 90 01 00 24 */ stw r0, 0x24(r1) +/* 803076CC 0030462C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803076D0 00304630 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803076D4 00304634 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803076D8 00304638 7C 7D 1B 78 */ mr r29, r3 +/* 803076DC 0030463C 80 83 00 10 */ lwz r4, 0x10(r3) +/* 803076E0 00304640 28 04 00 00 */ cmplwi r4, 0 +/* 803076E4 00304644 41 82 00 28 */ beq lbl_8030770C +/* 803076E8 00304648 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803076EC 0030464C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803076F0 00304650 80 03 00 08 */ lwz r0, 8(r3) +/* 803076F4 00304654 7C 00 20 40 */ cmplw r0, r4 +/* 803076F8 00304658 41 82 00 14 */ beq lbl_8030770C +/* 803076FC 0030465C 90 83 00 08 */ stw r4, 8(r3) +/* 80307700 00304660 38 60 00 0B */ li r3, 0xb +/* 80307704 00304664 38 A0 00 04 */ li r5, 4 +/* 80307708 00304668 48 07 07 F1 */ bl GXSetArray +lbl_8030770C: +/* 8030770C 0030466C 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 80307710 00304670 83 DD 00 14 */ lwz r30, 0x14(r29) +/* 80307714 00304674 28 04 00 00 */ cmplwi r4, 0 +/* 80307718 00304678 40 82 00 0C */ bne lbl_80307724 +/* 8030771C 0030467C 38 00 00 00 */ li r0, 0 +/* 80307720 00304680 98 0D A7 82 */ stb r0, lbl_805A9342@sda21(r13) +lbl_80307724: +/* 80307724 00304684 88 0D A7 82 */ lbz r0, lbl_805A9342@sda21(r13) +/* 80307728 00304688 28 00 00 00 */ cmplwi r0, 0 +/* 8030772C 0030468C 41 82 00 34 */ beq lbl_80307760 +/* 80307730 00304690 28 04 00 00 */ cmplwi r4, 0 +/* 80307734 00304694 41 82 00 5C */ beq lbl_80307790 +/* 80307738 00304698 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030773C 0030469C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307740 003046A0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80307744 003046A4 7C 00 20 40 */ cmplw r0, r4 +/* 80307748 003046A8 41 82 00 48 */ beq lbl_80307790 +/* 8030774C 003046AC 90 83 00 10 */ stw r4, 0x10(r3) +/* 80307750 003046B0 38 60 00 0D */ li r3, 0xd +/* 80307754 003046B4 38 A0 00 04 */ li r5, 4 +/* 80307758 003046B8 48 07 07 A1 */ bl GXSetArray +/* 8030775C 003046BC 48 00 00 34 */ b lbl_80307790 +lbl_80307760: +/* 80307760 003046C0 28 1E 00 00 */ cmplwi r30, 0 +/* 80307764 003046C4 41 82 00 2C */ beq lbl_80307790 +/* 80307768 003046C8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030776C 003046CC 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307770 003046D0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80307774 003046D4 7C 00 F0 40 */ cmplw r0, r30 +/* 80307778 003046D8 41 82 00 18 */ beq lbl_80307790 +/* 8030777C 003046DC 93 C3 00 10 */ stw r30, 0x10(r3) +/* 80307780 003046E0 7F C4 F3 78 */ mr r4, r30 +/* 80307784 003046E4 38 60 00 0D */ li r3, 0xd +/* 80307788 003046E8 38 A0 00 08 */ li r5, 8 +/* 8030778C 003046EC 48 07 07 6D */ bl GXSetArray +lbl_80307790: +/* 80307790 003046F0 28 1E 00 00 */ cmplwi r30, 0 +/* 80307794 003046F4 41 82 00 4C */ beq lbl_803077E0 +/* 80307798 003046F8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030779C 003046FC 3B A0 00 01 */ li r29, 1 +/* 803077A0 00304700 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +lbl_803077A4: +/* 803077A4 00304704 28 1E 00 00 */ cmplwi r30, 0 +/* 803077A8 00304708 38 7D 00 0D */ addi r3, r29, 0xd +/* 803077AC 0030470C 38 03 FF F7 */ addi r0, r3, -9 +/* 803077B0 00304710 41 82 00 24 */ beq lbl_803077D4 +/* 803077B4 00304714 54 04 10 3A */ slwi r4, r0, 2 +/* 803077B8 00304718 7C 1F 20 2E */ lwzx r0, r31, r4 +/* 803077BC 0030471C 7C 00 F0 40 */ cmplw r0, r30 +/* 803077C0 00304720 41 82 00 14 */ beq lbl_803077D4 +/* 803077C4 00304724 7F DF 21 2E */ stwx r30, r31, r4 +/* 803077C8 00304728 7F C4 F3 78 */ mr r4, r30 +/* 803077CC 0030472C 38 A0 00 08 */ li r5, 8 +/* 803077D0 00304730 48 07 07 29 */ bl GXSetArray +lbl_803077D4: +/* 803077D4 00304734 3B BD 00 01 */ addi r29, r29, 1 +/* 803077D8 00304738 2C 1D 00 07 */ cmpwi r29, 7 +/* 803077DC 0030473C 40 81 FF C8 */ ble lbl_803077A4 +lbl_803077E0: +/* 803077E0 00304740 48 03 E1 61 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 803077E4 00304744 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803077E8 00304748 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803077EC 0030474C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803077F0 00304750 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803077F4 00304754 7C 08 03 A6 */ mtlr r0 +/* 803077F8 00304758 38 21 00 20 */ addi r1, r1, 0x20 +/* 803077FC 0030475C 4E 80 00 20 */ blr + +.global "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" +"MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb": +/* 80307800 00304760 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80307804 00304764 7C 08 02 A6 */ mflr r0 +/* 80307808 00304768 7C 67 1B 78 */ mr r7, r3 +/* 8030780C 0030476C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80307810 00304770 BF 01 00 30 */ stmw r24, 0x30(r1) +/* 80307814 00304774 7C 9A 23 78 */ mr r26, r4 +/* 80307818 00304778 7C BB 2B 78 */ mr r27, r5 +/* 8030781C 0030477C 7C D8 33 78 */ mr r24, r6 +/* 80307820 00304780 3B C7 00 04 */ addi r30, r7, 4 +/* 80307824 00304784 83 A3 00 00 */ lwz r29, 0(r3) +/* 80307828 00304788 7F 43 D3 78 */ mr r3, r26 +/* 8030782C 0030478C 7F A4 EB 78 */ mr r4, r29 +/* 80307830 00304790 48 00 02 89 */ bl "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +/* 80307834 00304794 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80307838 00304798 57 19 06 3E */ clrlwi r25, r24, 0x18 +/* 8030783C 0030479C 3B E3 54 52 */ addi r31, r3, 0x54585452@l +/* 80307840 003047A0 3B 80 00 00 */ li r28, 0 +/* 80307844 003047A4 48 00 00 F4 */ b lbl_80307938 +lbl_80307848: +/* 80307848 003047A8 80 1E 00 00 */ lwz r0, 0(r30) +/* 8030784C 003047AC 7F 64 DB 78 */ mr r4, r27 +/* 80307850 003047B0 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80307854 003047B4 38 61 00 08 */ addi r3, r1, 8 +/* 80307858 003047B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8030785C 003047BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307860 003047C0 81 9B 00 00 */ lwz r12, 0(r27) +/* 80307864 003047C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80307868 003047C8 7D 89 03 A6 */ mtctr r12 +/* 8030786C 003047CC 4E 80 04 21 */ bctrl +/* 80307870 003047D0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80307874 003047D4 38 81 00 08 */ addi r4, r1, 8 +/* 80307878 003047D8 48 03 96 31 */ bl __ct__6CTokenFRC6CToken +/* 8030787C 003047DC 38 00 00 00 */ li r0, 0 +/* 80307880 003047E0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80307884 003047E4 80 1A 00 04 */ lwz r0, 4(r26) +/* 80307888 003047E8 80 BA 00 08 */ lwz r5, 8(r26) +/* 8030788C 003047EC 7C 00 28 00 */ cmpw r0, r5 +/* 80307890 003047F0 41 80 00 1C */ blt lbl_803078AC +/* 80307894 003047F4 2C 05 00 00 */ cmpwi r5, 0 +/* 80307898 003047F8 7F 43 D3 78 */ mr r3, r26 +/* 8030789C 003047FC 38 80 00 04 */ li r4, 4 +/* 803078A0 00304800 41 82 00 08 */ beq lbl_803078A8 +/* 803078A4 00304804 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803078A8: +/* 803078A8 00304808 48 00 02 11 */ bl "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +lbl_803078AC: +/* 803078AC 0030480C 80 1A 00 04 */ lwz r0, 4(r26) +/* 803078B0 00304810 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 803078B4 00304814 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803078B8 00304818 7F 03 02 15 */ add. r24, r3, r0 +/* 803078BC 0030481C 41 82 00 18 */ beq lbl_803078D4 +/* 803078C0 00304820 7F 03 C3 78 */ mr r3, r24 +/* 803078C4 00304824 38 81 00 18 */ addi r4, r1, 0x18 +/* 803078C8 00304828 48 03 95 E1 */ bl __ct__6CTokenFRC6CToken +/* 803078CC 0030482C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 803078D0 00304830 90 18 00 08 */ stw r0, 8(r24) +lbl_803078D4: +/* 803078D4 00304834 80 BA 00 04 */ lwz r5, 4(r26) +/* 803078D8 00304838 38 61 00 18 */ addi r3, r1, 0x18 +/* 803078DC 0030483C 38 80 00 00 */ li r4, 0 +/* 803078E0 00304840 38 05 00 01 */ addi r0, r5, 1 +/* 803078E4 00304844 90 1A 00 04 */ stw r0, 4(r26) +/* 803078E8 00304848 48 03 95 59 */ bl __dt__6CTokenFv +/* 803078EC 0030484C 38 61 00 08 */ addi r3, r1, 8 +/* 803078F0 00304850 38 80 FF FF */ li r4, -1 +/* 803078F4 00304854 48 03 95 4D */ bl __dt__6CTokenFv +/* 803078F8 00304858 28 19 00 00 */ cmplwi r25, 0 +/* 803078FC 0030485C 40 82 00 34 */ bne lbl_80307930 +/* 80307900 00304860 80 7A 00 04 */ lwz r3, 4(r26) +/* 80307904 00304864 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 80307908 00304868 38 03 FF FF */ addi r0, r3, -1 +/* 8030790C 0030486C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80307910 00304870 7F 04 02 14 */ add r24, r4, r0 +/* 80307914 00304874 80 18 00 08 */ lwz r0, 8(r24) +/* 80307918 00304878 28 00 00 00 */ cmplwi r0, 0 +/* 8030791C 0030487C 40 82 00 14 */ bne lbl_80307930 +/* 80307920 00304880 7F 03 C3 78 */ mr r3, r24 +/* 80307924 00304884 48 03 94 E9 */ bl GetObj__6CTokenFv +/* 80307928 00304888 80 03 00 04 */ lwz r0, 4(r3) +/* 8030792C 0030488C 90 18 00 08 */ stw r0, 8(r24) +lbl_80307930: +/* 80307930 00304890 3B DE 00 04 */ addi r30, r30, 4 +/* 80307934 00304894 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80307938: +/* 80307938 00304898 7C 1C E8 40 */ cmplw r28, r29 +/* 8030793C 0030489C 41 80 FF 0C */ blt lbl_80307848 +/* 80307940 003048A0 BB 01 00 30 */ lmw r24, 0x30(r1) +/* 80307944 003048A4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80307948 003048A8 7C 08 03 A6 */ mtlr r0 +/* 8030794C 003048AC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80307950 003048B0 4E 80 00 20 */ blr + +.global "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +"__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb": +/* 80307954 003048B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80307958 003048B8 7C 08 02 A6 */ mflr r0 +/* 8030795C 003048BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80307960 003048C0 88 01 00 47 */ lbz r0, 0x47(r1) +/* 80307964 003048C4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80307968 003048C8 7C 7E 1B 78 */ mr r30, r3 +/* 8030796C 003048CC 81 81 00 38 */ lwz r12, 0x38(r1) +/* 80307970 003048D0 7C 00 00 34 */ cntlzw r0, r0 +/* 80307974 003048D4 81 61 00 3C */ lwz r11, 0x3c(r1) +/* 80307978 003048D8 90 83 00 00 */ stw r4, 0(r3) +/* 8030797C 003048DC 38 80 00 00 */ li r4, 0 +/* 80307980 003048E0 90 C3 00 04 */ stw r6, 4(r3) +/* 80307984 003048E4 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f +/* 80307988 003048E8 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 8030798C 003048EC 90 FE 00 08 */ stw r7, 8(r30) +/* 80307990 003048F0 88 E1 00 43 */ lbz r7, 0x43(r1) +/* 80307994 003048F4 91 1E 00 0C */ stw r8, 0xc(r30) +/* 80307998 003048F8 91 3E 00 10 */ stw r9, 0x10(r30) +/* 8030799C 003048FC 91 5E 00 14 */ stw r10, 0x14(r30) +/* 803079A0 00304900 91 9E 00 18 */ stw r12, 0x18(r30) +/* 803079A4 00304904 90 BE 00 1C */ stw r5, 0x1c(r30) +/* 803079A8 00304908 C0 0B 00 00 */ lfs f0, 0(r11) +/* 803079AC 0030490C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 803079B0 00304910 C0 0B 00 04 */ lfs f0, 4(r11) +/* 803079B4 00304914 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803079B8 00304918 C0 0B 00 08 */ lfs f0, 8(r11) +/* 803079BC 0030491C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803079C0 00304920 C0 0B 00 0C */ lfs f0, 0xc(r11) +/* 803079C4 00304924 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 803079C8 00304928 C0 0B 00 10 */ lfs f0, 0x10(r11) +/* 803079CC 0030492C D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 803079D0 00304930 C0 0B 00 14 */ lfs f0, 0x14(r11) +/* 803079D4 00304934 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 803079D8 00304938 90 9E 00 38 */ stw r4, 0x38(r30) +/* 803079DC 0030493C 90 9E 00 3C */ stw r4, 0x3c(r30) +/* 803079E0 00304940 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 803079E4 00304944 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 803079E8 00304948 98 1E 00 40 */ stb r0, 0x40(r30) +/* 803079EC 0030494C 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 803079F0 00304950 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803079F4 00304954 98 1E 00 40 */ stb r0, 0x40(r30) +/* 803079F8 00304958 98 FE 00 41 */ stb r7, 0x41(r30) +/* 803079FC 0030495C 90 DE 00 44 */ stw r6, 0x44(r30) +/* 80307A00 00304960 83 FE 00 00 */ lwz r31, 0(r30) +/* 80307A04 00304964 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80307A08 00304968 48 00 00 10 */ b lbl_80307A18 +lbl_80307A0C: +/* 80307A0C 0030496C 80 64 00 00 */ lwz r3, 0(r4) +/* 80307A10 00304970 38 84 00 04 */ addi r4, r4, 4 +/* 80307A14 00304974 93 C3 00 14 */ stw r30, 0x14(r3) +lbl_80307A18: +/* 80307A18 00304978 80 BF 00 04 */ lwz r5, 4(r31) +/* 80307A1C 0030497C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80307A20 00304980 54 A0 10 3A */ slwi r0, r5, 2 +/* 80307A24 00304984 7C 03 02 14 */ add r0, r3, r0 +/* 80307A28 00304988 7C 04 00 40 */ cmplw r4, r0 +/* 80307A2C 0030498C 40 82 FF E0 */ bne lbl_80307A0C +/* 80307A30 00304990 7C BB 2B 78 */ mr r27, r5 +/* 80307A34 00304994 48 00 00 64 */ b lbl_80307A98 +lbl_80307A38: +/* 80307A38 00304998 38 1B FF FF */ addi r0, r27, -1 +/* 80307A3C 0030499C 83 9F 00 0C */ lwz r28, 0xc(r31) +/* 80307A40 003049A0 54 1D 10 3A */ slwi r29, r0, 2 +/* 80307A44 003049A4 7F C4 F3 78 */ mr r4, r30 +/* 80307A48 003049A8 7C BC E8 2E */ lwzx r5, r28, r29 +/* 80307A4C 003049AC 38 61 00 08 */ addi r3, r1, 8 +/* 80307A50 003049B0 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80307A54 003049B4 4B FF FA B9 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80307A58 003049B8 80 61 00 08 */ lwz r3, 8(r1) +/* 80307A5C 003049BC 80 03 00 00 */ lwz r0, 0(r3) +/* 80307A60 003049C0 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 80307A64 003049C4 41 82 00 1C */ beq lbl_80307A80 +/* 80307A68 003049C8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80307A6C 003049CC 7C 7C E8 2E */ lwzx r3, r28, r29 +/* 80307A70 003049D0 90 03 00 18 */ stw r0, 0x18(r3) +/* 80307A74 003049D4 7C 1C E8 2E */ lwzx r0, r28, r29 +/* 80307A78 003049D8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 80307A7C 003049DC 48 00 00 18 */ b lbl_80307A94 +lbl_80307A80: +/* 80307A80 003049E0 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80307A84 003049E4 7C 7C E8 2E */ lwzx r3, r28, r29 +/* 80307A88 003049E8 90 03 00 18 */ stw r0, 0x18(r3) +/* 80307A8C 003049EC 7C 1C E8 2E */ lwzx r0, r28, r29 +/* 80307A90 003049F0 90 1E 00 38 */ stw r0, 0x38(r30) +lbl_80307A94: +/* 80307A94 003049F4 3B 7B FF FF */ addi r27, r27, -1 +lbl_80307A98: +/* 80307A98 003049F8 2C 1B 00 00 */ cmpwi r27, 0 +/* 80307A9C 003049FC 41 81 FF 9C */ bgt lbl_80307A38 +/* 80307AA0 00304A00 7F C3 F3 78 */ mr r3, r30 +/* 80307AA4 00304A04 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80307AA8 00304A08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80307AAC 00304A0C 7C 08 03 A6 */ mtlr r0 +/* 80307AB0 00304A10 38 21 00 30 */ addi r1, r1, 0x30 +/* 80307AB4 00304A14 4E 80 00 20 */ blr + +.global "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi": +/* 80307AB8 00304A18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80307ABC 00304A1C 7C 08 02 A6 */ mflr r0 +/* 80307AC0 00304A20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80307AC4 00304A24 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80307AC8 00304A28 7C 9F 23 78 */ mr r31, r4 +/* 80307ACC 00304A2C 7C 7E 1B 78 */ mr r30, r3 +/* 80307AD0 00304A30 80 03 00 08 */ lwz r0, 8(r3) +/* 80307AD4 00304A34 7C 1F 00 00 */ cmpw r31, r0 +/* 80307AD8 00304A38 40 81 00 D0 */ ble lbl_80307BA8 +/* 80307ADC 00304A3C 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 80307AE0 00304A40 2C 03 00 00 */ cmpwi r3, 0 +/* 80307AE4 00304A44 40 82 00 0C */ bne lbl_80307AF0 +/* 80307AE8 00304A48 3B 80 00 00 */ li r28, 0 +/* 80307AEC 00304A4C 48 00 00 18 */ b lbl_80307B04 +lbl_80307AF0: +/* 80307AF0 00304A50 3C 80 80 3D */ lis r4, lbl_803D7398@ha +/* 80307AF4 00304A54 38 A0 00 00 */ li r5, 0 +/* 80307AF8 00304A58 38 84 73 98 */ addi r4, r4, lbl_803D7398@l +/* 80307AFC 00304A5C 48 00 DD 1D */ bl __nwa__FUlPCcPCc +/* 80307B00 00304A60 7C 7C 1B 78 */ mr r28, r3 +lbl_80307B04: +/* 80307B04 00304A64 80 1E 00 04 */ lwz r0, 4(r30) +/* 80307B08 00304A68 7F 9B E3 78 */ mr r27, r28 +/* 80307B0C 00304A6C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80307B10 00304A70 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80307B14 00304A74 93 41 00 10 */ stw r26, 0x10(r1) +/* 80307B18 00304A78 7F BA 02 14 */ add r29, r26, r0 +/* 80307B1C 00304A7C 93 41 00 14 */ stw r26, 0x14(r1) +/* 80307B20 00304A80 93 A1 00 08 */ stw r29, 8(r1) +/* 80307B24 00304A84 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80307B28 00304A88 48 00 00 28 */ b lbl_80307B50 +lbl_80307B2C: +/* 80307B2C 00304A8C 28 1B 00 00 */ cmplwi r27, 0 +/* 80307B30 00304A90 41 82 00 18 */ beq lbl_80307B48 +/* 80307B34 00304A94 7F 63 DB 78 */ mr r3, r27 +/* 80307B38 00304A98 7F 44 D3 78 */ mr r4, r26 +/* 80307B3C 00304A9C 48 03 93 6D */ bl __ct__6CTokenFRC6CToken +/* 80307B40 00304AA0 80 1A 00 08 */ lwz r0, 8(r26) +/* 80307B44 00304AA4 90 1B 00 08 */ stw r0, 8(r27) +lbl_80307B48: +/* 80307B48 00304AA8 3B 7B 00 0C */ addi r27, r27, 0xc +/* 80307B4C 00304AAC 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_80307B50: +/* 80307B50 00304AB0 7C 1A E8 40 */ cmplw r26, r29 +/* 80307B54 00304AB4 40 82 FF D8 */ bne lbl_80307B2C +/* 80307B58 00304AB8 80 1E 00 04 */ lwz r0, 4(r30) +/* 80307B5C 00304ABC 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80307B60 00304AC0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80307B64 00304AC4 7F 7A 02 14 */ add r27, r26, r0 +/* 80307B68 00304AC8 48 00 00 20 */ b lbl_80307B88 +lbl_80307B6C: +/* 80307B6C 00304ACC 28 1A 00 00 */ cmplwi r26, 0 +/* 80307B70 00304AD0 41 82 00 14 */ beq lbl_80307B84 +/* 80307B74 00304AD4 41 82 00 10 */ beq lbl_80307B84 +/* 80307B78 00304AD8 7F 43 D3 78 */ mr r3, r26 +/* 80307B7C 00304ADC 38 80 00 00 */ li r4, 0 +/* 80307B80 00304AE0 48 03 92 C1 */ bl __dt__6CTokenFv +lbl_80307B84: +/* 80307B84 00304AE4 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_80307B88: +/* 80307B88 00304AE8 7C 1A D8 40 */ cmplw r26, r27 +/* 80307B8C 00304AEC 40 82 FF E0 */ bne lbl_80307B6C +/* 80307B90 00304AF0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80307B94 00304AF4 28 03 00 00 */ cmplwi r3, 0 +/* 80307B98 00304AF8 41 82 00 08 */ beq lbl_80307BA0 +/* 80307B9C 00304AFC 48 00 DD 95 */ bl Free__7CMemoryFPCv +lbl_80307BA0: +/* 80307BA0 00304B00 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80307BA4 00304B04 93 FE 00 08 */ stw r31, 8(r30) +lbl_80307BA8: +/* 80307BA8 00304B08 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80307BAC 00304B0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80307BB0 00304B10 7C 08 03 A6 */ mtlr r0 +/* 80307BB4 00304B14 38 21 00 30 */ addi r1, r1, 0x30 +/* 80307BB8 00304B18 4E 80 00 20 */ blr + +.global sub_80307bbc +sub_80307bbc: +/* 80307BBC 00304B1C 28 03 00 00 */ cmplwi r3, 0 +/* 80307BC0 00304B20 41 82 00 14 */ beq lbl_80307BD4 +/* 80307BC4 00304B24 3D 20 80 5A */ lis r9, lbl_805A53EC@ha +/* 80307BC8 00304B28 39 29 53 EC */ addi r9, r9, lbl_805A53EC@l +/* 80307BCC 00304B2C 88 09 00 53 */ lbz r0, 0x53(r9) +/* 80307BD0 00304B30 90 03 00 00 */ stw r0, 0(r3) +lbl_80307BD4: +/* 80307BD4 00304B34 28 04 00 00 */ cmplwi r4, 0 +/* 80307BD8 00304B38 41 82 00 14 */ beq lbl_80307BEC +/* 80307BDC 00304B3C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307BE0 00304B40 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307BE4 00304B44 C0 03 02 4C */ lfs f0, 0x24c(r3) +/* 80307BE8 00304B48 D0 04 00 00 */ stfs f0, 0(r4) +lbl_80307BEC: +/* 80307BEC 00304B4C 28 05 00 00 */ cmplwi r5, 0 +/* 80307BF0 00304B50 41 82 00 14 */ beq lbl_80307C04 +/* 80307BF4 00304B54 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307BF8 00304B58 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307BFC 00304B5C C0 03 02 50 */ lfs f0, 0x250(r3) +/* 80307C00 00304B60 D0 05 00 00 */ stfs f0, 0(r5) +lbl_80307C04: +/* 80307C04 00304B64 28 06 00 00 */ cmplwi r6, 0 +/* 80307C08 00304B68 41 82 00 14 */ beq lbl_80307C1C +/* 80307C0C 00304B6C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C10 00304B70 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307C14 00304B74 C0 03 02 54 */ lfs f0, 0x254(r3) +/* 80307C18 00304B78 D0 06 00 00 */ stfs f0, 0(r6) +lbl_80307C1C: +/* 80307C1C 00304B7C 28 07 00 00 */ cmplwi r7, 0 +/* 80307C20 00304B80 41 82 00 14 */ beq lbl_80307C34 +/* 80307C24 00304B84 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C28 00304B88 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307C2C 00304B8C C0 03 02 58 */ lfs f0, 0x258(r3) +/* 80307C30 00304B90 D0 07 00 00 */ stfs f0, 0(r7) +lbl_80307C34: +/* 80307C34 00304B94 28 08 00 00 */ cmplwi r8, 0 +/* 80307C38 00304B98 4D 82 00 20 */ beqlr +/* 80307C3C 00304B9C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C40 00304BA0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307C44 00304BA4 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 80307C48 00304BA8 90 08 00 00 */ stw r0, 0(r8) +/* 80307C4C 00304BAC 4E 80 00 20 */ blr + +.global SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID: +/* 80307C50 00304BB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307C54 00304BB4 7C 08 02 A6 */ mflr r0 +/* 80307C58 00304BB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307C5C 00304BBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307C60 00304BC0 7C 7F 1B 78 */ mr r31, r3 +/* 80307C64 00304BC4 1C 9F 00 1C */ mulli r4, r31, 0x1c +/* 80307C68 00304BC8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C6C 00304BCC 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80307C70 00304BD0 7C 60 22 14 */ add r3, r0, r4 +/* 80307C74 00304BD4 80 03 00 70 */ lwz r0, 0x70(r3) +/* 80307C78 00304BD8 38 E3 00 68 */ addi r7, r3, 0x68 +/* 80307C7C 00304BDC 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307C80 00304BE0 40 82 00 10 */ bne lbl_80307C90 +/* 80307C84 00304BE4 80 07 00 0C */ lwz r0, 0xc(r7) +/* 80307C88 00304BE8 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307C8C 00304BEC 41 82 00 48 */ beq lbl_80307CD4 +lbl_80307C90: +/* 80307C90 00304BF0 38 00 01 00 */ li r0, 0x100 +/* 80307C94 00304BF4 7F E3 FB 78 */ mr r3, r31 +/* 80307C98 00304BF8 90 07 00 0C */ stw r0, 0xc(r7) +/* 80307C9C 00304BFC 38 80 00 00 */ li r4, 0 +/* 80307CA0 00304C00 38 A0 00 00 */ li r5, 0 +/* 80307CA4 00304C04 38 C0 00 00 */ li r6, 0 +/* 80307CA8 00304C08 90 07 00 08 */ stw r0, 8(r7) +/* 80307CAC 00304C0C 38 E0 00 01 */ li r7, 1 +/* 80307CB0 00304C10 39 00 00 00 */ li r8, 0 +/* 80307CB4 00304C14 48 07 38 79 */ bl GXSetTevColorOp +/* 80307CB8 00304C18 7F E3 FB 78 */ mr r3, r31 +/* 80307CBC 00304C1C 38 80 00 00 */ li r4, 0 +/* 80307CC0 00304C20 38 A0 00 00 */ li r5, 0 +/* 80307CC4 00304C24 38 C0 00 00 */ li r6, 0 +/* 80307CC8 00304C28 38 E0 00 01 */ li r7, 1 +/* 80307CCC 00304C2C 39 00 00 00 */ li r8, 0 +/* 80307CD0 00304C30 48 07 38 C5 */ bl GXSetTevAlphaOp +lbl_80307CD4: +/* 80307CD4 00304C34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307CD8 00304C38 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80307CDC 00304C3C 7C 08 03 A6 */ mtlr r0 +/* 80307CE0 00304C40 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307CE4 00304C44 4E 80 00 20 */ blr + +.global SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi +SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi: +/* 80307CE8 00304C48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80307CEC 00304C4C 7C 08 02 A6 */ mflr r0 +/* 80307CF0 00304C50 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80307CF4 00304C54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80307CF8 00304C58 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80307CFC 00304C5C BF 41 00 08 */ stmw r26, 8(r1) +/* 80307D00 00304C60 7C 7A 1B 78 */ mr r26, r3 +/* 80307D04 00304C64 1D 3A 00 1C */ mulli r9, r26, 0x1c +/* 80307D08 00304C68 7C 9B 23 78 */ mr r27, r4 +/* 80307D0C 00304C6C 7C BC 2B 78 */ mr r28, r5 +/* 80307D10 00304C70 7C DD 33 78 */ mr r29, r6 +/* 80307D14 00304C74 7C 80 4A 14 */ add r4, r0, r9 +/* 80307D18 00304C78 7C FE 3B 78 */ mr r30, r7 +/* 80307D1C 00304C7C 3B E4 00 68 */ addi r31, r4, 0x68 +/* 80307D20 00304C80 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80307D24 00304C84 28 00 00 00 */ cmplwi r0, 0 +/* 80307D28 00304C88 41 82 00 10 */ beq lbl_80307D38 +/* 80307D2C 00304C8C 38 00 00 00 */ li r0, 0 +/* 80307D30 00304C90 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80307D34 00304C94 48 07 35 AD */ bl GXSetTevDirect +lbl_80307D38: +/* 80307D38 00304C98 80 1F 00 00 */ lwz r0, 0(r31) +/* 80307D3C 00304C9C 7C 00 D8 40 */ cmplw r0, r27 +/* 80307D40 00304CA0 41 82 00 20 */ beq lbl_80307D60 +/* 80307D44 00304CA4 93 7F 00 00 */ stw r27, 0(r31) +/* 80307D48 00304CA8 7F 43 D3 78 */ mr r3, r26 +/* 80307D4C 00304CAC 57 64 06 FE */ clrlwi r4, r27, 0x1b +/* 80307D50 00304CB0 57 65 DE FE */ rlwinm r5, r27, 0x1b, 0x1b, 0x1f +/* 80307D54 00304CB4 57 66 B6 FE */ rlwinm r6, r27, 0x16, 0x1b, 0x1f +/* 80307D58 00304CB8 57 67 8E FE */ rlwinm r7, r27, 0x11, 0x1b, 0x1f +/* 80307D5C 00304CBC 48 07 37 49 */ bl GXSetTevColorIn +lbl_80307D60: +/* 80307D60 00304CC0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80307D64 00304CC4 7C 00 E0 40 */ cmplw r0, r28 +/* 80307D68 00304CC8 41 82 00 20 */ beq lbl_80307D88 +/* 80307D6C 00304CCC 93 9F 00 04 */ stw r28, 4(r31) +/* 80307D70 00304CD0 7F 43 D3 78 */ mr r3, r26 +/* 80307D74 00304CD4 57 84 06 FE */ clrlwi r4, r28, 0x1b +/* 80307D78 00304CD8 57 85 DE FE */ rlwinm r5, r28, 0x1b, 0x1b, 0x1f +/* 80307D7C 00304CDC 57 86 B6 FE */ rlwinm r6, r28, 0x16, 0x1b, 0x1f +/* 80307D80 00304CE0 57 87 8E FE */ rlwinm r7, r28, 0x11, 0x1b, 0x1f +/* 80307D84 00304CE4 48 07 37 65 */ bl GXSetTevAlphaIn +lbl_80307D88: +/* 80307D88 00304CE8 7C 1D F0 40 */ cmplw r29, r30 +/* 80307D8C 00304CEC 40 82 00 10 */ bne lbl_80307D9C +/* 80307D90 00304CF0 57 A0 05 FE */ clrlwi r0, r29, 0x17 +/* 80307D94 00304CF4 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307D98 00304CF8 41 82 00 20 */ beq lbl_80307DB8 +lbl_80307D9C: +/* 80307D9C 00304CFC 7F 43 D3 78 */ mr r3, r26 +/* 80307DA0 00304D00 7F A4 EB 78 */ mr r4, r29 +/* 80307DA4 00304D04 48 00 0D 39 */ bl SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi +/* 80307DA8 00304D08 7F 43 D3 78 */ mr r3, r26 +/* 80307DAC 00304D0C 7F C4 F3 78 */ mr r4, r30 +/* 80307DB0 00304D10 48 00 0C 75 */ bl SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi +/* 80307DB4 00304D14 48 00 00 60 */ b lbl_80307E14 +lbl_80307DB8: +/* 80307DB8 00304D18 80 1F 00 08 */ lwz r0, 8(r31) +/* 80307DBC 00304D1C 7C 1D 00 40 */ cmplw r29, r0 +/* 80307DC0 00304D20 40 82 00 10 */ bne lbl_80307DD0 +/* 80307DC4 00304D24 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80307DC8 00304D28 7C 1D 00 40 */ cmplw r29, r0 +/* 80307DCC 00304D2C 41 82 00 48 */ beq lbl_80307E14 +lbl_80307DD0: +/* 80307DD0 00304D30 93 BF 00 0C */ stw r29, 0xc(r31) +/* 80307DD4 00304D34 57 BE BF BE */ rlwinm r30, r29, 0x17, 0x1e, 0x1f +/* 80307DD8 00304D38 7F 43 D3 78 */ mr r3, r26 +/* 80307DDC 00304D3C 38 80 00 00 */ li r4, 0 +/* 80307DE0 00304D40 93 BF 00 08 */ stw r29, 8(r31) +/* 80307DE4 00304D44 7F C8 F3 78 */ mr r8, r30 +/* 80307DE8 00304D48 38 A0 00 00 */ li r5, 0 +/* 80307DEC 00304D4C 38 C0 00 00 */ li r6, 0 +/* 80307DF0 00304D50 38 E0 00 01 */ li r7, 1 +/* 80307DF4 00304D54 48 07 37 39 */ bl GXSetTevColorOp +/* 80307DF8 00304D58 7F 43 D3 78 */ mr r3, r26 +/* 80307DFC 00304D5C 7F C8 F3 78 */ mr r8, r30 +/* 80307E00 00304D60 38 80 00 00 */ li r4, 0 +/* 80307E04 00304D64 38 A0 00 00 */ li r5, 0 +/* 80307E08 00304D68 38 C0 00 00 */ li r6, 0 +/* 80307E0C 00304D6C 38 E0 00 01 */ li r7, 1 +/* 80307E10 00304D70 48 07 37 85 */ bl GXSetTevAlphaOp +lbl_80307E14: +/* 80307E14 00304D74 BB 41 00 08 */ lmw r26, 8(r1) +/* 80307E18 00304D78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80307E1C 00304D7C 7C 08 03 A6 */ mtlr r0 +/* 80307E20 00304D80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80307E24 00304D84 4E 80 00 20 */ blr + +.global SetVtxDescv__3CGXFPC14_GXVtxDescList +SetVtxDescv__3CGXFPC14_GXVtxDescList: +/* 80307E28 00304D88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307E2C 00304D8C 7C 08 02 A6 */ mflr r0 +/* 80307E30 00304D90 38 C0 00 00 */ li r6, 0 +/* 80307E34 00304D94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307E38 00304D98 48 00 00 20 */ b lbl_80307E58 +lbl_80307E3C: +/* 80307E3C 00304D9C 80 83 00 04 */ lwz r4, 4(r3) +/* 80307E40 00304DA0 38 05 FF F7 */ addi r0, r5, -9 +/* 80307E44 00304DA4 54 00 08 3C */ slwi r0, r0, 1 +/* 80307E48 00304DA8 38 63 00 08 */ addi r3, r3, 8 +/* 80307E4C 00304DAC 54 84 07 BE */ clrlwi r4, r4, 0x1e +/* 80307E50 00304DB0 7C 80 00 30 */ slw r0, r4, r0 +/* 80307E54 00304DB4 7C C6 03 78 */ or r6, r6, r0 +lbl_80307E58: +/* 80307E58 00304DB8 80 A3 00 00 */ lwz r5, 0(r3) +/* 80307E5C 00304DBC 2C 05 00 FF */ cmpwi r5, 0xff +/* 80307E60 00304DC0 40 82 FF DC */ bne lbl_80307E3C +/* 80307E64 00304DC4 7C C3 33 78 */ mr r3, r6 +/* 80307E68 00304DC8 48 00 00 95 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80307E6C 00304DCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307E70 00304DD0 7C 08 03 A6 */ mtlr r0 +/* 80307E74 00304DD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307E78 00304DD8 4E 80 00 20 */ blr + +.global SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv +SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv: +/* 80307E7C 00304DDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307E80 00304DE0 7C 08 02 A6 */ mflr r0 +/* 80307E84 00304DE4 3C 60 80 3D */ lis r3, lbl_803D73B8@ha +/* 80307E88 00304DE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307E8C 00304DEC 38 63 73 B8 */ addi r3, r3, lbl_803D73B8@l +/* 80307E90 00304DF0 4B FF FF 99 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80307E94 00304DF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307E98 00304DF8 7C 08 03 A6 */ mtlr r0 +/* 80307E9C 00304DFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307EA0 00304E00 4E 80 00 20 */ blr + +.global SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType +SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType: +/* 80307EA4 00304E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307EA8 00304E08 7C 08 02 A6 */ mflr r0 +/* 80307EAC 00304E0C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80307EB0 00304E10 38 C3 FF F7 */ addi r6, r3, -9 +/* 80307EB4 00304E14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307EB8 00304E18 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l +/* 80307EBC 00304E1C 54 C7 08 3C */ slwi r7, r6, 1 +/* 80307EC0 00304E20 38 00 00 03 */ li r0, 3 +/* 80307EC4 00304E24 80 C5 00 48 */ lwz r6, 0x48(r5) +/* 80307EC8 00304E28 7C 08 38 30 */ slw r8, r0, r7 +/* 80307ECC 00304E2C 7C 87 38 30 */ slw r7, r4, r7 +/* 80307ED0 00304E30 7C C0 40 38 */ and r0, r6, r8 +/* 80307ED4 00304E34 7C 07 00 40 */ cmplw r7, r0 +/* 80307ED8 00304E38 41 82 00 14 */ beq lbl_80307EEC +/* 80307EDC 00304E3C 7C C0 40 78 */ andc r0, r6, r8 +/* 80307EE0 00304E40 7C E0 03 78 */ or r0, r7, r0 +/* 80307EE4 00304E44 90 05 00 48 */ stw r0, 0x48(r5) +/* 80307EE8 00304E48 48 06 F0 31 */ bl GXSetVtxDesc +lbl_80307EEC: +/* 80307EEC 00304E4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307EF0 00304E50 7C 08 03 A6 */ mtlr r0 +/* 80307EF4 00304E54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307EF8 00304E58 4E 80 00 20 */ blr + +.global SetVtxDescv_Compressed__3CGXFUi +SetVtxDescv_Compressed__3CGXFUi: +/* 80307EFC 00304E5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307F00 00304E60 7C 08 02 A6 */ mflr r0 +/* 80307F04 00304E64 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80307F08 00304E68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307F0C 00304E6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307F10 00304E70 7C 7F 1B 78 */ mr r31, r3 +/* 80307F14 00304E74 93 C1 00 08 */ stw r30, 8(r1) +/* 80307F18 00304E78 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l +/* 80307F1C 00304E7C 80 BE 00 48 */ lwz r5, 0x48(r30) +/* 80307F20 00304E80 7C 1F 28 40 */ cmplw r31, r5 +/* 80307F24 00304E84 41 82 00 7C */ beq lbl_80307FA0 +/* 80307F28 00304E88 3C 60 80 48 */ lis r3, lbl_80479BD0@ha +/* 80307F2C 00304E8C 38 00 00 0B */ li r0, 0xb +/* 80307F30 00304E90 38 63 9B D0 */ addi r3, r3, lbl_80479BD0@l +/* 80307F34 00304E94 39 00 00 00 */ li r8, 0 +/* 80307F38 00304E98 7C 67 1B 78 */ mr r7, r3 +/* 80307F3C 00304E9C 38 C0 00 00 */ li r6, 0 +/* 80307F40 00304EA0 38 80 00 03 */ li r4, 3 +/* 80307F44 00304EA4 7C 09 03 A6 */ mtctr r0 +lbl_80307F48: +/* 80307F48 00304EA8 7C 80 30 30 */ slw r0, r4, r6 +/* 80307F4C 00304EAC 7F E3 00 38 */ and r3, r31, r0 +/* 80307F50 00304EB0 7C A0 00 38 */ and r0, r5, r0 +/* 80307F54 00304EB4 7C 03 00 40 */ cmplw r3, r0 +/* 80307F58 00304EB8 41 82 00 1C */ beq lbl_80307F74 +/* 80307F5C 00304EBC 38 68 00 09 */ addi r3, r8, 9 +/* 80307F60 00304EC0 7F E0 34 30 */ srw r0, r31, r6 +/* 80307F64 00304EC4 90 67 00 00 */ stw r3, 0(r7) +/* 80307F68 00304EC8 54 00 07 BE */ clrlwi r0, r0, 0x1e +/* 80307F6C 00304ECC 90 07 00 04 */ stw r0, 4(r7) +/* 80307F70 00304ED0 38 E7 00 08 */ addi r7, r7, 8 +lbl_80307F74: +/* 80307F74 00304ED4 38 C6 00 02 */ addi r6, r6, 2 +/* 80307F78 00304ED8 39 08 00 01 */ addi r8, r8, 1 +/* 80307F7C 00304EDC 42 00 FF CC */ bdnz lbl_80307F48 +/* 80307F80 00304EE0 38 00 00 FF */ li r0, 0xff +/* 80307F84 00304EE4 3C 60 80 48 */ lis r3, lbl_80479BD0@ha +/* 80307F88 00304EE8 90 07 00 00 */ stw r0, 0(r7) +/* 80307F8C 00304EEC 38 00 00 00 */ li r0, 0 +/* 80307F90 00304EF0 38 63 9B D0 */ addi r3, r3, lbl_80479BD0@l +/* 80307F94 00304EF4 90 07 00 04 */ stw r0, 4(r7) +/* 80307F98 00304EF8 48 06 F2 D1 */ bl GXSetVtxDescv +/* 80307F9C 00304EFC 93 FE 00 48 */ stw r31, 0x48(r30) +lbl_80307FA0: +/* 80307FA0 00304F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307FA4 00304F04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80307FA8 00304F08 83 C1 00 08 */ lwz r30, 8(r1) +/* 80307FAC 00304F0C 7C 08 03 A6 */ mtlr r0 +/* 80307FB0 00304F10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307FB4 00304F14 4E 80 00 20 */ blr + +.global SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc +SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc: +/* 80307FB8 00304F18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307FBC 00304F1C 7C 08 02 A6 */ mflr r0 +/* 80307FC0 00304F20 3C C0 80 3D */ lis r6, lbl_803D73A0@ha +/* 80307FC4 00304F24 7C 85 23 78 */ mr r5, r4 +/* 80307FC8 00304F28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307FCC 00304F2C 38 86 73 A0 */ addi r4, r6, lbl_803D73A0@l +/* 80307FD0 00304F30 48 07 2E F9 */ bl GXSetIndTexMtx +/* 80307FD4 00304F34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307FD8 00304F38 7C 08 03 A6 */ mtlr r0 +/* 80307FDC 00304F3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307FE0 00304F40 4E 80 00 20 */ blr + +.global FlushState__3CGXFv +FlushState__3CGXFv: +/* 80307FE4 00304F44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307FE8 00304F48 7C 08 02 A6 */ mflr r0 +/* 80307FEC 00304F4C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307FF0 00304F50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307FF4 00304F54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307FF8 00304F58 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80307FFC 00304F5C 93 C1 00 08 */ stw r30, 8(r1) +/* 80308000 00304F60 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80308004 00304F64 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80308008 00304F68 41 82 00 1C */ beq lbl_80308024 +/* 8030800C 00304F6C 88 7F 00 4E */ lbz r3, 0x4e(r31) +/* 80308010 00304F70 48 07 1B 21 */ bl GXSetNumChans +/* 80308014 00304F74 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308018 00304F78 88 1F 00 4E */ lbz r0, 0x4e(r31) +/* 8030801C 00304F7C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80308020 00304F80 98 03 00 4D */ stb r0, 0x4d(r3) +lbl_80308024: +/* 80308024 00304F84 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80308028 00304F88 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030802C 00304F8C 41 82 00 40 */ beq lbl_8030806C +/* 80308030 00304F90 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308034 00304F94 38 60 00 00 */ li r3, 0 +/* 80308038 00304F98 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l +/* 8030803C 00304F9C A0 1E 00 34 */ lhz r0, 0x34(r30) +/* 80308040 00304FA0 54 07 EE 3E */ rlwinm r7, r0, 0x1d, 0x18, 0x1f +/* 80308044 00304FA4 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 80308048 00304FA8 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f +/* 8030804C 00304FAC 54 06 F7 FE */ rlwinm r6, r0, 0x1e, 0x1f, 0x1f +/* 80308050 00304FB0 54 08 AF BE */ rlwinm r8, r0, 0x15, 0x1e, 0x1f +/* 80308054 00304FB4 54 09 9F BE */ rlwinm r9, r0, 0x13, 0x1e, 0x1f +/* 80308058 00304FB8 48 07 1B 1D */ bl GXSetChanCtrl +/* 8030805C 00304FBC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308060 00304FC0 A0 1E 00 34 */ lhz r0, 0x34(r30) +/* 80308064 00304FC4 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80308068 00304FC8 B0 03 00 30 */ sth r0, 0x30(r3) +lbl_8030806C: +/* 8030806C 00304FCC 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80308070 00304FD0 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 80308074 00304FD4 41 82 00 40 */ beq lbl_803080B4 +/* 80308078 00304FD8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 8030807C 00304FDC 38 60 00 01 */ li r3, 1 +/* 80308080 00304FE0 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l +/* 80308084 00304FE4 A0 1E 00 36 */ lhz r0, 0x36(r30) +/* 80308088 00304FE8 54 07 EE 3E */ rlwinm r7, r0, 0x1d, 0x18, 0x1f +/* 8030808C 00304FEC 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 80308090 00304FF0 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f +/* 80308094 00304FF4 54 06 F7 FE */ rlwinm r6, r0, 0x1e, 0x1f, 0x1f +/* 80308098 00304FF8 54 08 AF BE */ rlwinm r8, r0, 0x15, 0x1e, 0x1f +/* 8030809C 00304FFC 54 09 9F BE */ rlwinm r9, r0, 0x13, 0x1e, 0x1f +/* 803080A0 00305000 48 07 1A D5 */ bl GXSetChanCtrl +/* 803080A4 00305004 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803080A8 00305008 A0 1E 00 36 */ lhz r0, 0x36(r30) +/* 803080AC 0030500C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803080B0 00305010 B0 03 00 32 */ sth r0, 0x32(r3) +lbl_803080B4: +/* 803080B4 00305014 38 00 00 00 */ li r0, 0 +/* 803080B8 00305018 98 1F 00 4C */ stb r0, 0x4c(r31) +/* 803080BC 0030501C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803080C0 00305020 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803080C4 00305024 83 C1 00 08 */ lwz r30, 8(r1) +/* 803080C8 00305028 7C 08 03 A6 */ mtlr r0 +/* 803080CC 0030502C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803080D0 00305030 4E 80 00 20 */ blr + +.global sub_803080d4 +sub_803080d4: +/* 803080D4 00305034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803080D8 00305038 7C 08 02 A6 */ mflr r0 +/* 803080DC 0030503C 3C 60 80 5A */ lis r3, 0x805a +/* 803080E0 00305040 34 63 53 EC */ addic. r3, r3, 0x53ec +/* 803080E4 00305044 90 01 00 14 */ stw r0, 0x14(r1) +/* 803080E8 00305048 41 82 00 08 */ beq lbl_803080F0 +/* 803080EC 0030504C 48 00 01 B1 */ bl __ct__Q23CGX8SGXStateFv +lbl_803080F0: +/* 803080F0 00305050 48 00 00 15 */ bl ResetGXStates__3CGXFv +/* 803080F4 00305054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803080F8 00305058 7C 08 03 A6 */ mtlr r0 +/* 803080FC 0030505C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308100 00305060 4E 80 00 20 */ blr + +.global ResetGXStates__3CGXFv +ResetGXStates__3CGXFv: +/* 80308104 00305064 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80308108 00305068 7C 08 02 A6 */ mflr r0 +/* 8030810C 0030506C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308110 00305070 90 01 00 24 */ stw r0, 0x24(r1) +/* 80308114 00305074 38 00 00 00 */ li r0, 0 +/* 80308118 00305078 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 8030811C 0030507C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80308120 00305080 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80308124 00305084 90 03 00 48 */ stw r0, 0x48(r3) +/* 80308128 00305088 48 06 F6 2D */ bl GXClearVtxDesc +/* 8030812C 0030508C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308130 00305090 38 00 00 01 */ li r0, 1 +/* 80308134 00305094 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80308138 00305098 3B C0 00 00 */ li r30, 0 +/* 8030813C 0030509C 90 1F 00 00 */ stw r0, 0(r31) +/* 80308140 003050A0 90 1F 00 04 */ stw r0, 4(r31) +/* 80308144 003050A4 90 1F 00 08 */ stw r0, 8(r31) +/* 80308148 003050A8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8030814C 003050AC 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80308150 003050B0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80308154 003050B4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80308158 003050B8 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030815C 003050BC 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80308160 003050C0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80308164 003050C4 90 1F 00 28 */ stw r0, 0x28(r31) +/* 80308168 003050C8 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_8030816C: +/* 8030816C 003050CC 7F C3 F3 78 */ mr r3, r30 +/* 80308170 003050D0 48 00 5F D9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 80308174 003050D4 3B DE 00 01 */ addi r30, r30, 1 +/* 80308178 003050D8 2C 1E 00 08 */ cmpwi r30, 8 +/* 8030817C 003050DC 41 80 FF F0 */ blt lbl_8030816C +/* 80308180 003050E0 3B C0 00 00 */ li r30, 0 +lbl_80308184: +/* 80308184 003050E4 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80308188 003050E8 7F C3 F3 78 */ mr r3, r30 +/* 8030818C 003050EC 38 81 00 08 */ addi r4, r1, 8 +/* 80308190 003050F0 90 01 00 08 */ stw r0, 8(r1) +/* 80308194 003050F4 48 07 35 51 */ bl GXSetTevKColor +/* 80308198 003050F8 3B DE 00 01 */ addi r30, r30, 1 +/* 8030819C 003050FC 3B FF 00 04 */ addi r31, r31, 4 +/* 803081A0 00305100 2C 1E 00 04 */ cmpwi r30, 4 +/* 803081A4 00305104 41 80 FF E0 */ blt lbl_80308184 +/* 803081A8 00305108 38 60 00 01 */ li r3, 1 +/* 803081AC 0030510C 38 80 00 00 */ li r4, 0 +/* 803081B0 00305110 38 A0 00 01 */ li r5, 1 +/* 803081B4 00305114 38 C0 00 02 */ li r6, 2 +/* 803081B8 00305118 38 E0 00 00 */ li r7, 0 +/* 803081BC 0030511C 48 07 36 C9 */ bl GXSetTevSwapModeTable +/* 803081C0 00305120 38 60 00 02 */ li r3, 2 +/* 803081C4 00305124 38 80 00 00 */ li r4, 0 +/* 803081C8 00305128 38 A0 00 01 */ li r5, 1 +/* 803081CC 0030512C 38 C0 00 02 */ li r6, 2 +/* 803081D0 00305130 38 E0 00 01 */ li r7, 1 +/* 803081D4 00305134 48 07 36 B1 */ bl GXSetTevSwapModeTable +/* 803081D8 00305138 38 60 00 03 */ li r3, 3 +/* 803081DC 0030513C 38 80 00 00 */ li r4, 0 +/* 803081E0 00305140 38 A0 00 01 */ li r5, 1 +/* 803081E4 00305144 38 C0 00 02 */ li r6, 2 +/* 803081E8 00305148 38 E0 00 02 */ li r7, 2 +/* 803081EC 0030514C 48 07 36 99 */ bl GXSetTevSwapModeTable +/* 803081F0 00305150 38 60 00 07 */ li r3, 7 +/* 803081F4 00305154 38 80 00 00 */ li r4, 0 +/* 803081F8 00305158 38 A0 00 00 */ li r5, 0 +/* 803081FC 0030515C 38 C0 00 07 */ li r6, 7 +/* 80308200 00305160 38 E0 00 00 */ li r7, 0 +/* 80308204 00305164 48 00 06 11 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 80308208 00305168 38 60 00 00 */ li r3, 0 +/* 8030820C 0030516C 48 07 42 4D */ bl GXSetCurrentMtx +/* 80308210 00305170 38 60 00 00 */ li r3, 0 +/* 80308214 00305174 48 00 04 7D */ bl SetNumIndStages__3CGXFUc +/* 80308218 00305178 3B C0 00 00 */ li r30, 0 +lbl_8030821C: +/* 8030821C 0030517C 7F C3 F3 78 */ mr r3, r30 +/* 80308220 00305180 38 80 00 00 */ li r4, 0 +/* 80308224 00305184 38 A0 00 00 */ li r5, 0 +/* 80308228 00305188 48 07 2E 01 */ bl GXSetIndTexCoordScale +/* 8030822C 0030518C 3B DE 00 01 */ addi r30, r30, 1 +/* 80308230 00305190 2C 1E 00 04 */ cmpwi r30, 4 +/* 80308234 00305194 41 80 FF E8 */ blt lbl_8030821C +/* 80308238 00305198 3B C0 00 00 */ li r30, 0 +lbl_8030823C: +/* 8030823C 0030519C 7F C3 F3 78 */ mr r3, r30 +/* 80308240 003051A0 48 00 05 05 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80308244 003051A4 3B DE 00 01 */ addi r30, r30, 1 +/* 80308248 003051A8 2C 1E 00 10 */ cmpwi r30, 0x10 +/* 8030824C 003051AC 41 80 FF F0 */ blt lbl_8030823C +/* 80308250 003051B0 3B C0 00 00 */ li r30, 0 +lbl_80308254: +/* 80308254 003051B4 7F C3 F3 78 */ mr r3, r30 +/* 80308258 003051B8 38 80 00 00 */ li r4, 0 +/* 8030825C 003051BC 38 A0 00 00 */ li r5, 0 +/* 80308260 003051C0 38 C0 00 00 */ li r6, 0 +/* 80308264 003051C4 48 07 26 4D */ bl GXSetTexCoordCylWrap +/* 80308268 003051C8 3B DE 00 01 */ addi r30, r30, 1 +/* 8030826C 003051CC 2C 1E 00 08 */ cmpwi r30, 8 +/* 80308270 003051D0 41 80 FF E4 */ blt lbl_80308254 +/* 80308274 003051D4 38 60 00 00 */ li r3, 0 +/* 80308278 003051D8 38 80 00 11 */ li r4, 0x11 +/* 8030827C 003051DC 38 A0 00 00 */ li r5, 0 +/* 80308280 003051E0 48 07 36 F1 */ bl GXSetZTexture +/* 80308284 003051E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80308288 003051E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030828C 003051EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80308290 003051F0 7C 08 03 A6 */ mtlr r0 +/* 80308294 003051F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80308298 003051F8 4E 80 00 20 */ blr + +.global __ct__Q23CGX8SGXStateFv +__ct__Q23CGX8SGXStateFv: +/* 8030829C 003051FC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803082A0 00305200 7C 08 02 A6 */ mflr r0 +/* 803082A4 00305204 39 20 00 00 */ li r9, 0 +/* 803082A8 00305208 39 00 00 FF */ li r8, 0xff +/* 803082AC 0030520C 90 01 00 34 */ stw r0, 0x34(r1) +/* 803082B0 00305210 38 00 00 02 */ li r0, 2 +/* 803082B4 00305214 3C A0 00 01 */ lis r5, 0x0000FFFF@ha +/* 803082B8 00305218 38 C0 00 1C */ li r6, 0x1c +/* 803082BC 0030521C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 803082C0 00305220 7C 7F 1B 78 */ mr r31, r3 +/* 803082C4 00305224 38 E0 00 10 */ li r7, 0x10 +/* 803082C8 00305228 91 23 00 48 */ stw r9, 0x48(r3) +/* 803082CC 0030522C 3C 60 80 31 */ lis r3, __ct__Q23CGX9STevStateFv@ha +/* 803082D0 00305230 38 83 84 88 */ addi r4, r3, __ct__Q23CGX9STevStateFv@l +/* 803082D4 00305234 98 1F 00 4D */ stb r0, 0x4d(r31) +/* 803082D8 00305238 38 05 FF FF */ addi r0, r5, 0x0000FFFF@l +/* 803082DC 0030523C 38 7F 00 68 */ addi r3, r31, 0x68 +/* 803082E0 00305240 38 A0 00 00 */ li r5, 0 +/* 803082E4 00305244 99 3F 00 4E */ stb r9, 0x4e(r31) +/* 803082E8 00305248 99 1F 00 4F */ stb r8, 0x4f(r31) +/* 803082EC 0030524C 99 1F 00 50 */ stb r8, 0x50(r31) +/* 803082F0 00305250 99 1F 00 51 */ stb r8, 0x51(r31) +/* 803082F4 00305254 99 1F 00 52 */ stb r8, 0x52(r31) +/* 803082F8 00305258 99 3F 00 53 */ stb r9, 0x53(r31) +/* 803082FC 0030525C B0 1F 00 54 */ sth r0, 0x54(r31) +/* 80308300 00305260 B0 1F 00 56 */ sth r0, 0x56(r31) +/* 80308304 00305264 48 08 14 49 */ bl __construct_array +/* 80308308 00305268 3C 80 80 31 */ lis r4, __ct__Q23CGX9STexStateFv@ha +/* 8030830C 0030526C 38 7F 02 28 */ addi r3, r31, 0x228 +/* 80308310 00305270 38 84 84 7C */ addi r4, r4, __ct__Q23CGX9STexStateFv@l +/* 80308314 00305274 38 A0 00 00 */ li r5, 0 +/* 80308318 00305278 38 C0 00 04 */ li r6, 4 +/* 8030831C 0030527C 38 E0 00 08 */ li r7, 8 +/* 80308320 00305280 48 08 14 2D */ bl __construct_array +/* 80308324 00305284 38 00 FF FF */ li r0, -1 +/* 80308328 00305288 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 8030832C 0030528C 90 1F 02 48 */ stw r0, 0x248(r31) +/* 80308330 00305290 39 63 FF FF */ addi r11, r3, 0x0000FFFF@l +/* 80308334 00305294 C0 02 C7 9C */ lfs f0, lbl_805AE4BC@sda21(r2) +/* 80308338 00305298 38 00 00 00 */ li r0, 0 +/* 8030833C 0030529C C0 22 C7 A0 */ lfs f1, lbl_805AE4C0@sda21(r2) +/* 80308340 003052A0 38 60 00 00 */ li r3, 0 +/* 80308344 003052A4 D0 1F 02 4C */ stfs f0, 0x24c(r31) +/* 80308348 003052A8 38 80 00 00 */ li r4, 0 +/* 8030834C 003052AC C0 02 C7 A4 */ lfs f0, lbl_805AE4C4@sda21(r2) +/* 80308350 003052B0 38 A0 00 00 */ li r5, 0 +/* 80308354 003052B4 D0 3F 02 50 */ stfs f1, 0x250(r31) +/* 80308358 003052B8 38 C0 00 00 */ li r6, 0 +/* 8030835C 003052BC 38 E0 00 00 */ li r7, 0 +/* 80308360 003052C0 39 00 00 00 */ li r8, 0 +/* 80308364 003052C4 D0 1F 02 54 */ stfs f0, 0x254(r31) +/* 80308368 003052C8 39 20 00 02 */ li r9, 2 +/* 8030836C 003052CC D0 3F 02 58 */ stfs f1, 0x258(r31) +/* 80308370 003052D0 98 1F 02 5F */ stb r0, 0x25f(r31) +/* 80308374 003052D4 98 1F 02 5E */ stb r0, 0x25e(r31) +/* 80308378 003052D8 98 1F 02 5D */ stb r0, 0x25d(r31) +/* 8030837C 003052DC 98 1F 02 5C */ stb r0, 0x25c(r31) +/* 80308380 003052E0 81 42 D7 80 */ lwz r10, lbl_805AF4A0@sda21(r2) +/* 80308384 003052E4 80 02 C7 98 */ lwz r0, lbl_805AE4B8@sda21(r2) +/* 80308388 003052E8 91 41 00 0C */ stw r10, 0xc(r1) +/* 8030838C 003052EC B1 7F 00 30 */ sth r11, 0x30(r31) +/* 80308390 003052F0 89 41 00 0C */ lbz r10, 0xc(r1) +/* 80308394 003052F4 B1 7F 00 34 */ sth r11, 0x34(r31) +/* 80308398 003052F8 8B 81 00 0D */ lbz r28, 0xd(r1) +/* 8030839C 003052FC 99 5F 00 38 */ stb r10, 0x38(r31) +/* 803083A0 00305300 8B 61 00 0E */ lbz r27, 0xe(r1) +/* 803083A4 00305304 90 01 00 08 */ stw r0, 8(r1) +/* 803083A8 00305308 8B 41 00 0F */ lbz r26, 0xf(r1) +/* 803083AC 0030530C 9B 9F 00 39 */ stb r28, 0x39(r31) +/* 803083B0 00305310 88 01 00 08 */ lbz r0, 8(r1) +/* 803083B4 00305314 9B 7F 00 3A */ stb r27, 0x3a(r31) +/* 803083B8 00305318 89 81 00 09 */ lbz r12, 9(r1) +/* 803083BC 0030531C 9B 5F 00 3B */ stb r26, 0x3b(r31) +/* 803083C0 00305320 8B C1 00 0A */ lbz r30, 0xa(r1) +/* 803083C4 00305324 98 1F 00 40 */ stb r0, 0x40(r31) +/* 803083C8 00305328 8B A1 00 0B */ lbz r29, 0xb(r1) +/* 803083CC 0030532C 99 9F 00 41 */ stb r12, 0x41(r31) +/* 803083D0 00305330 9B DF 00 42 */ stb r30, 0x42(r31) +/* 803083D4 00305334 9B BF 00 43 */ stb r29, 0x43(r31) +/* 803083D8 00305338 B1 7F 00 32 */ sth r11, 0x32(r31) +/* 803083DC 0030533C B1 7F 00 36 */ sth r11, 0x36(r31) +/* 803083E0 00305340 99 5F 00 3C */ stb r10, 0x3c(r31) +/* 803083E4 00305344 9B 9F 00 3D */ stb r28, 0x3d(r31) +/* 803083E8 00305348 9B 7F 00 3E */ stb r27, 0x3e(r31) +/* 803083EC 0030534C 9B 5F 00 3F */ stb r26, 0x3f(r31) +/* 803083F0 00305350 98 1F 00 44 */ stb r0, 0x44(r31) +/* 803083F4 00305354 99 9F 00 45 */ stb r12, 0x45(r31) +/* 803083F8 00305358 9B DF 00 46 */ stb r30, 0x46(r31) +/* 803083FC 0030535C 9B BF 00 47 */ stb r29, 0x47(r31) +/* 80308400 00305360 99 5F 00 58 */ stb r10, 0x58(r31) +/* 80308404 00305364 9B 9F 00 59 */ stb r28, 0x59(r31) +/* 80308408 00305368 9B 7F 00 5A */ stb r27, 0x5a(r31) +/* 8030840C 0030536C 9B 5F 00 5B */ stb r26, 0x5b(r31) +/* 80308410 00305370 99 5F 00 5C */ stb r10, 0x5c(r31) +/* 80308414 00305374 9B 9F 00 5D */ stb r28, 0x5d(r31) +/* 80308418 00305378 9B 7F 00 5E */ stb r27, 0x5e(r31) +/* 8030841C 0030537C 9B 5F 00 5F */ stb r26, 0x5f(r31) +/* 80308420 00305380 99 5F 00 60 */ stb r10, 0x60(r31) +/* 80308424 00305384 9B 9F 00 61 */ stb r28, 0x61(r31) +/* 80308428 00305388 9B 7F 00 62 */ stb r27, 0x62(r31) +/* 8030842C 0030538C 9B 5F 00 63 */ stb r26, 0x63(r31) +/* 80308430 00305390 99 5F 00 64 */ stb r10, 0x64(r31) +/* 80308434 00305394 9B 9F 00 65 */ stb r28, 0x65(r31) +/* 80308438 00305398 9B 7F 00 66 */ stb r27, 0x66(r31) +/* 8030843C 0030539C 9B 5F 00 67 */ stb r26, 0x67(r31) +/* 80308440 003053A0 48 00 08 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80308444 003053A4 38 60 00 01 */ li r3, 1 +/* 80308448 003053A8 38 80 00 00 */ li r4, 0 +/* 8030844C 003053AC 38 A0 00 00 */ li r5, 0 +/* 80308450 003053B0 38 C0 00 00 */ li r6, 0 +/* 80308454 003053B4 38 E0 00 00 */ li r7, 0 +/* 80308458 003053B8 39 00 00 00 */ li r8, 0 +/* 8030845C 003053BC 39 20 00 02 */ li r9, 2 +/* 80308460 003053C0 48 00 08 6D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80308464 003053C4 7F E3 FB 78 */ mr r3, r31 +/* 80308468 003053C8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8030846C 003053CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80308470 003053D0 7C 08 03 A6 */ mtlr r0 +/* 80308474 003053D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80308478 003053D8 4E 80 00 20 */ blr + +.global __ct__Q23CGX9STexStateFv +__ct__Q23CGX9STexStateFv: +/* 8030847C 003053DC 38 00 00 00 */ li r0, 0 +/* 80308480 003053E0 90 03 00 00 */ stw r0, 0(r3) +/* 80308484 003053E4 4E 80 00 20 */ blr + +.global __ct__Q23CGX9STevStateFv +__ct__Q23CGX9STevStateFv: +/* 80308488 003053E8 38 A0 00 00 */ li r5, 0 +/* 8030848C 003053EC 38 80 FF FF */ li r4, -1 +/* 80308490 003053F0 90 A3 00 00 */ stw r5, 0(r3) +/* 80308494 003053F4 38 00 00 FF */ li r0, 0xff +/* 80308498 003053F8 90 A3 00 04 */ stw r5, 4(r3) +/* 8030849C 003053FC 90 A3 00 08 */ stw r5, 8(r3) +/* 803084A0 00305400 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803084A4 00305404 90 A3 00 10 */ stw r5, 0x10(r3) +/* 803084A8 00305408 90 83 00 14 */ stw r4, 0x14(r3) +/* 803084AC 0030540C 98 03 00 18 */ stb r0, 0x18(r3) +/* 803084B0 00305410 98 03 00 19 */ stb r0, 0x19(r3) +/* 803084B4 00305414 4E 80 00 20 */ blr + +.global SetLineWidth__3CGXFUc12_GXTexOffset +SetLineWidth__3CGXFUc12_GXTexOffset: +/* 803084B8 00305418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803084BC 0030541C 7C 08 02 A6 */ mflr r0 +/* 803084C0 00305420 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803084C4 00305424 54 86 40 2E */ slwi r6, r4, 8 +/* 803084C8 00305428 90 01 00 14 */ stw r0, 0x14(r1) +/* 803084CC 0030542C 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l +/* 803084D0 00305430 50 66 06 3E */ rlwimi r6, r3, 0, 0x18, 0x1f +/* 803084D4 00305434 A0 05 00 54 */ lhz r0, 0x54(r5) +/* 803084D8 00305438 54 C6 04 3E */ clrlwi r6, r6, 0x10 +/* 803084DC 0030543C 7C 06 00 40 */ cmplw r6, r0 +/* 803084E0 00305440 41 82 00 0C */ beq lbl_803084EC +/* 803084E4 00305444 B0 C5 00 54 */ sth r6, 0x54(r5) +/* 803084E8 00305448 48 07 05 85 */ bl GXSetLineWidth +lbl_803084EC: +/* 803084EC 0030544C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803084F0 00305450 7C 08 03 A6 */ mtlr r0 +/* 803084F4 00305454 38 21 00 10 */ addi r1, r1, 0x10 +/* 803084F8 00305458 4E 80 00 20 */ blr + +.global SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +SetFog__3CGXF10_GXFogTypeffffRC8_GXColor: +/* 803084FC 0030545C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308500 00305460 7C 08 02 A6 */ mflr r0 +/* 80308504 00305464 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308508 00305468 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030850C 0030546C 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l +/* 80308510 00305470 A0 05 00 56 */ lhz r0, 0x56(r5) +/* 80308514 00305474 80 84 00 00 */ lwz r4, 0(r4) +/* 80308518 00305478 54 00 06 34 */ rlwinm r0, r0, 0, 0x18, 0x1a +/* 8030851C 0030547C 98 65 00 53 */ stb r3, 0x53(r5) +/* 80308520 00305480 2C 00 00 20 */ cmpwi r0, 0x20 +/* 80308524 00305484 D0 25 02 4C */ stfs f1, 0x24c(r5) +/* 80308528 00305488 D0 45 02 50 */ stfs f2, 0x250(r5) +/* 8030852C 0030548C D0 65 02 54 */ stfs f3, 0x254(r5) +/* 80308530 00305490 D0 85 02 58 */ stfs f4, 0x258(r5) +/* 80308534 00305494 90 85 02 5C */ stw r4, 0x25c(r5) +/* 80308538 00305498 40 82 00 10 */ bne lbl_80308548 +/* 8030853C 0030549C 80 02 8C A8 */ lwz r0, lbl_805AA9C8@sda21(r2) +/* 80308540 003054A0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80308544 003054A4 48 00 00 08 */ b lbl_8030854C +lbl_80308548: +/* 80308548 003054A8 90 81 00 0C */ stw r4, 0xc(r1) +lbl_8030854C: +/* 8030854C 003054AC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80308550 003054B0 38 81 00 08 */ addi r4, r1, 8 +/* 80308554 003054B4 88 65 00 53 */ lbz r3, 0x53(r5) +/* 80308558 003054B8 90 01 00 08 */ stw r0, 8(r1) +/* 8030855C 003054BC C0 25 02 4C */ lfs f1, 0x24c(r5) +/* 80308560 003054C0 C0 45 02 50 */ lfs f2, 0x250(r5) +/* 80308564 003054C4 C0 65 02 54 */ lfs f3, 0x254(r5) +/* 80308568 003054C8 C0 85 02 58 */ lfs f4, 0x258(r5) +/* 8030856C 003054CC 48 07 36 91 */ bl GXSetFog +/* 80308570 003054D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308574 003054D4 7C 08 03 A6 */ mtlr r0 +/* 80308578 003054D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030857C 003054DC 4E 80 00 20 */ blr + +.global End__3CGXFv +End__3CGXFv: +/* 80308580 003054E0 4E 80 00 20 */ blr + +.global Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs: +/* 80308584 003054E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80308588 003054E8 7C 08 02 A6 */ mflr r0 +/* 8030858C 003054EC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 80308590 003054F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80308594 003054F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80308598 003054F8 7C BF 2B 78 */ mr r31, r5 +/* 8030859C 003054FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803085A0 00305500 7C 9E 23 78 */ mr r30, r4 +/* 803085A4 00305504 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803085A8 00305508 7C 7D 1B 78 */ mr r29, r3 +/* 803085AC 0030550C 38 66 53 EC */ addi r3, r6, lbl_805A53EC@l +/* 803085B0 00305510 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803085B4 00305514 28 00 00 00 */ cmplwi r0, 0 +/* 803085B8 00305518 41 82 00 08 */ beq lbl_803085C0 +/* 803085BC 0030551C 4B FF FA 29 */ bl FlushState__3CGXFv +lbl_803085C0: +/* 803085C0 00305520 7F A3 EB 78 */ mr r3, r29 +/* 803085C4 00305524 7F C4 F3 78 */ mr r4, r30 +/* 803085C8 00305528 7F E5 FB 78 */ mr r5, r31 +/* 803085CC 0030552C 48 07 03 29 */ bl GXBegin +/* 803085D0 00305530 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803085D4 00305534 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803085D8 00305538 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803085DC 0030553C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803085E0 00305540 7C 08 03 A6 */ mtlr r0 +/* 803085E4 00305544 38 21 00 20 */ addi r1, r1, 0x20 +/* 803085E8 00305548 4E 80 00 20 */ blr + +.global CallDisplayList__3CGXFPCvUl +CallDisplayList__3CGXFPCvUl: +/* 803085EC 0030554C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803085F0 00305550 7C 08 02 A6 */ mflr r0 +/* 803085F4 00305554 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803085F8 00305558 90 01 00 14 */ stw r0, 0x14(r1) +/* 803085FC 0030555C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308600 00305560 7C 9F 23 78 */ mr r31, r4 +/* 80308604 00305564 93 C1 00 08 */ stw r30, 8(r1) +/* 80308608 00305568 7C 7E 1B 78 */ mr r30, r3 +/* 8030860C 0030556C 38 65 53 EC */ addi r3, r5, lbl_805A53EC@l +/* 80308610 00305570 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80308614 00305574 28 00 00 00 */ cmplwi r0, 0 +/* 80308618 00305578 41 82 00 08 */ beq lbl_80308620 +/* 8030861C 0030557C 4B FF F9 C9 */ bl FlushState__3CGXFv +lbl_80308620: +/* 80308620 00305580 7F C3 F3 78 */ mr r3, r30 +/* 80308624 00305584 7F E4 FB 78 */ mr r4, r31 +/* 80308628 00305588 48 07 3B AD */ bl GXCallDisplayList +/* 8030862C 0030558C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308630 00305590 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308634 00305594 83 C1 00 08 */ lwz r30, 8(r1) +/* 80308638 00305598 7C 08 03 A6 */ mtlr r0 +/* 8030863C 0030559C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308640 003055A0 4E 80 00 20 */ blr + +.global SetArray__3CGXF7_GXAttrPCvUc +SetArray__3CGXF7_GXAttrPCvUc: +/* 80308644 003055A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308648 003055A8 7C 08 02 A6 */ mflr r0 +/* 8030864C 003055AC 28 04 00 00 */ cmplwi r4, 0 +/* 80308650 003055B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308654 003055B4 38 03 FF F7 */ addi r0, r3, -9 +/* 80308658 003055B8 41 82 00 28 */ beq lbl_80308680 +/* 8030865C 003055BC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 80308660 003055C0 54 07 10 3A */ slwi r7, r0, 2 +/* 80308664 003055C4 38 C6 53 EC */ addi r6, r6, lbl_805A53EC@l +/* 80308668 003055C8 7C 06 38 2E */ lwzx r0, r6, r7 +/* 8030866C 003055CC 7C 00 20 40 */ cmplw r0, r4 +/* 80308670 003055D0 40 82 00 08 */ bne lbl_80308678 +/* 80308674 003055D4 48 00 00 0C */ b lbl_80308680 +lbl_80308678: +/* 80308678 003055D8 7C 86 39 2E */ stwx r4, r6, r7 +/* 8030867C 003055DC 48 06 F8 7D */ bl GXSetArray +lbl_80308680: +/* 80308680 003055E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308684 003055E4 7C 08 03 A6 */ mtlr r0 +/* 80308688 003055E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030868C 003055EC 4E 80 00 20 */ blr + +.global SetNumIndStages__3CGXFUc +SetNumIndStages__3CGXFUc: +/* 80308690 003055F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308694 003055F4 7C 08 02 A6 */ mflr r0 +/* 80308698 003055F8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 8030869C 003055FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803086A0 00305600 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l +/* 803086A4 00305604 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 803086A8 00305608 88 85 00 51 */ lbz r4, 0x51(r5) +/* 803086AC 0030560C 7C 04 00 40 */ cmplw r4, r0 +/* 803086B0 00305610 41 82 00 0C */ beq lbl_803086BC +/* 803086B4 00305614 98 65 00 51 */ stb r3, 0x51(r5) +/* 803086B8 00305618 48 07 2C 01 */ bl GXSetNumIndStages +lbl_803086BC: +/* 803086BC 0030561C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803086C0 00305620 7C 08 03 A6 */ mtlr r0 +/* 803086C4 00305624 38 21 00 10 */ addi r1, r1, 0x10 +/* 803086C8 00305628 4E 80 00 20 */ blr + +.global SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx: +/* 803086CC 0030562C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803086D0 00305630 7C 08 02 A6 */ mflr r0 +/* 803086D4 00305634 3D 20 55 55 */ lis r9, 0x55555556@ha +/* 803086D8 00305638 3D 80 80 5A */ lis r12, lbl_805A53EC@ha +/* 803086DC 0030563C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803086E0 00305640 39 49 55 56 */ addi r10, r9, 0x55555556@l +/* 803086E4 00305644 38 06 FF E2 */ addi r0, r6, -30 +/* 803086E8 00305648 54 A9 25 F6 */ rlwinm r9, r5, 4, 0x17, 0x1b +/* 803086EC 0030564C 7D 4A 00 96 */ mulhw r10, r10, r0 +/* 803086F0 00305650 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803086F4 00305654 54 7F 10 3A */ slwi r31, r3, 2 +/* 803086F8 00305658 38 0C 53 EC */ addi r0, r12, lbl_805A53EC@l +/* 803086FC 0030565C 39 68 FF C0 */ addi r11, r8, -64 +/* 80308700 00305660 7D 80 FA 14 */ add r12, r0, r31 +/* 80308704 00305664 55 40 0F FE */ srwi r0, r10, 0x1f +/* 80308708 00305668 50 89 07 3E */ rlwimi r9, r4, 0, 0x1c, 0x1f +/* 8030870C 0030566C 7C 0A 02 14 */ add r0, r10, r0 +/* 80308710 00305670 50 09 4C AC */ rlwimi r9, r0, 9, 0x12, 0x16 +/* 80308714 00305674 84 0C 02 28 */ lwzu r0, 0x228(r12) +/* 80308718 00305678 50 E9 74 62 */ rlwimi r9, r7, 0xe, 0x11, 0x11 +/* 8030871C 0030567C 51 69 7A E0 */ rlwimi r9, r11, 0xf, 0xb, 0x10 +/* 80308720 00305680 7C 00 48 40 */ cmplw r0, r9 +/* 80308724 00305684 41 82 00 0C */ beq lbl_80308730 +/* 80308728 00305688 91 2C 00 00 */ stw r9, 0(r12) +/* 8030872C 0030568C 48 06 F8 69 */ bl GXSetTexCoordGen2 +lbl_80308730: +/* 80308730 00305690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308734 00305694 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308738 00305698 7C 08 03 A6 */ mtlr r0 +/* 8030873C 0030569C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308740 003056A0 4E 80 00 20 */ blr + +.global SetTevDirect__3CGXF13_GXTevStageID +SetTevDirect__3CGXF13_GXTevStageID: +/* 80308744 003056A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308748 003056A8 7C 08 02 A6 */ mflr r0 +/* 8030874C 003056AC 1C A3 00 1C */ mulli r5, r3, 0x1c +/* 80308750 003056B0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308754 003056B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308758 003056B8 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 8030875C 003056BC 7C 80 2A 14 */ add r4, r0, r5 +/* 80308760 003056C0 38 84 00 68 */ addi r4, r4, 0x68 +/* 80308764 003056C4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80308768 003056C8 28 00 00 00 */ cmplwi r0, 0 +/* 8030876C 003056CC 41 82 00 10 */ beq lbl_8030877C +/* 80308770 003056D0 38 00 00 00 */ li r0, 0 +/* 80308774 003056D4 90 04 00 10 */ stw r0, 0x10(r4) +/* 80308778 003056D8 48 07 2B 69 */ bl GXSetTevDirect +lbl_8030877C: +/* 8030877C 003056DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308780 003056E0 7C 08 03 A6 */ mtlr r0 +/* 80308784 003056E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308788 003056E8 4E 80 00 20 */ blr + +.global SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel: +/* 8030878C 003056EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80308790 003056F0 7C 08 02 A6 */ mflr r0 +/* 80308794 003056F4 54 AB 17 3A */ rlwinm r11, r5, 2, 0x1c, 0x1d +/* 80308798 003056F8 3D 80 80 5A */ lis r12, lbl_805A53EC@ha +/* 8030879C 003056FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 803087A0 00305700 38 0C 53 EC */ addi r0, r12, lbl_805A53EC@l +/* 803087A4 00305704 1D 83 00 1C */ mulli r12, r3, 0x1c +/* 803087A8 00305708 50 8B 07 BE */ rlwimi r11, r4, 0, 0x1e, 0x1f +/* 803087AC 0030570C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803087B0 00305710 50 CB 26 76 */ rlwimi r11, r6, 4, 0x19, 0x1b +/* 803087B4 00305714 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803087B8 00305718 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803087BC 0030571C 7D 80 62 14 */ add r12, r0, r12 +/* 803087C0 00305720 8B C1 00 2B */ lbz r30, 0x2b(r1) +/* 803087C4 00305724 39 8C 00 68 */ addi r12, r12, 0x68 +/* 803087C8 00305728 50 EB 3D 70 */ rlwimi r11, r7, 7, 0x15, 0x18 +/* 803087CC 0030572C 51 0B 5C A8 */ rlwimi r11, r8, 0xb, 0x12, 0x14 +/* 803087D0 00305730 80 0C 00 10 */ lwz r0, 0x10(r12) +/* 803087D4 00305734 51 2B 73 E2 */ rlwimi r11, r9, 0xe, 0xf, 0x11 +/* 803087D8 00305738 51 4B 8B 9C */ rlwimi r11, r10, 0x11, 0xe, 0xe +/* 803087DC 0030573C 53 CB 93 5A */ rlwimi r11, r30, 0x12, 0xd, 0xd +/* 803087E0 00305740 53 EB 9A D8 */ rlwimi r11, r31, 0x13, 0xb, 0xc +/* 803087E4 00305744 7C 00 58 40 */ cmplw r0, r11 +/* 803087E8 00305748 41 82 00 14 */ beq lbl_803087FC +/* 803087EC 0030574C 91 6C 00 10 */ stw r11, 0x10(r12) +/* 803087F0 00305750 93 C1 00 08 */ stw r30, 8(r1) +/* 803087F4 00305754 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803087F8 00305758 48 07 26 35 */ bl GXSetTevIndirect +lbl_803087FC: +/* 803087FC 0030575C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80308800 00305760 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80308804 00305764 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80308808 00305768 7C 08 03 A6 */ mtlr r0 +/* 8030880C 0030576C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80308810 00305770 4E 80 00 20 */ blr + +.global SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc: +/* 80308814 00305774 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308818 00305778 7C 08 02 A6 */ mflr r0 +/* 8030881C 0030577C 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80308820 00305780 54 89 1D 78 */ rlwinm r9, r4, 3, 0x15, 0x1c +/* 80308824 00305784 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308828 00305788 39 08 53 EC */ addi r8, r8, lbl_805A53EC@l +/* 8030882C 0030578C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308830 00305790 7C 7F 1B 78 */ mr r31, r3 +/* 80308834 00305794 53 E9 07 7E */ rlwimi r9, r31, 0, 0x1d, 0x1f +/* 80308838 00305798 80 08 02 48 */ lwz r0, 0x248(r8) +/* 8030883C 0030579C 50 A9 5C A8 */ rlwimi r9, r5, 0xb, 0x12, 0x14 +/* 80308840 003057A0 50 C9 73 E2 */ rlwimi r9, r6, 0xe, 0xf, 0x11 +/* 80308844 003057A4 50 E9 89 DC */ rlwimi r9, r7, 0x11, 7, 0xe +/* 80308848 003057A8 7C 00 48 40 */ cmplw r0, r9 +/* 8030884C 003057AC 41 82 00 1C */ beq lbl_80308868 +/* 80308850 003057B0 91 28 02 48 */ stw r9, 0x248(r8) +/* 80308854 003057B4 48 07 30 C9 */ bl GXSetAlphaCompare +/* 80308858 003057B8 20 1F 00 07 */ subfic r0, r31, 7 +/* 8030885C 003057BC 7C 00 00 34 */ cntlzw r0, r0 +/* 80308860 003057C0 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f +/* 80308864 003057C4 48 07 37 29 */ bl GXSetZCompLoc +lbl_80308868: +/* 80308868 003057C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030886C 003057CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308870 003057D0 7C 08 03 A6 */ mtlr r0 +/* 80308874 003057D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308878 003057D8 4E 80 00 20 */ blr + +.global SetZMode__3CGXFb10_GXCompareb +SetZMode__3CGXFb10_GXCompareb: +/* 8030887C 003057DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308880 003057E0 7C 08 02 A6 */ mflr r0 +/* 80308884 003057E4 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 80308888 003057E8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8030888C 003057EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308890 003057F0 54 A0 0D FC */ rlwinm r0, r5, 1, 0x17, 0x1e +/* 80308894 003057F4 54 87 15 BA */ rlwinm r7, r4, 2, 0x16, 0x1d +/* 80308898 003057F8 38 C6 53 EC */ addi r6, r6, lbl_805A53EC@l +/* 8030889C 003057FC 7C 60 03 78 */ or r0, r3, r0 +/* 803088A0 00305800 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 803088A4 00305804 7C E7 03 78 */ or r7, r7, r0 +/* 803088A8 00305808 88 06 00 52 */ lbz r0, 0x52(r6) +/* 803088AC 0030580C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 803088B0 00305810 7C 07 00 40 */ cmplw r7, r0 +/* 803088B4 00305814 41 82 00 0C */ beq lbl_803088C0 +/* 803088B8 00305818 98 E6 00 52 */ stb r7, 0x52(r6) +/* 803088BC 0030581C 48 07 36 9D */ bl GXSetZMode +lbl_803088C0: +/* 803088C0 00305820 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803088C4 00305824 7C 08 03 A6 */ mtlr r0 +/* 803088C8 00305828 38 21 00 10 */ addi r1, r1, 0x10 +/* 803088CC 0030582C 4E 80 00 20 */ blr + +.global SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp: +/* 803088D0 00305830 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803088D4 00305834 7C 08 02 A6 */ mflr r0 +/* 803088D8 00305838 90 01 00 24 */ stw r0, 0x24(r1) +/* 803088DC 0030583C BF 41 00 08 */ stmw r26, 8(r1) +/* 803088E0 00305840 7C 7A 1B 78 */ mr r26, r3 +/* 803088E4 00305844 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803088E8 00305848 7C 9B 23 78 */ mr r27, r4 +/* 803088EC 0030584C 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 803088F0 00305850 54 84 16 FA */ rlwinm r4, r4, 2, 0x1b, 0x1d +/* 803088F4 00305854 7C BC 2B 78 */ mr r28, r5 +/* 803088F8 00305858 7C DD 33 78 */ mr r29, r6 +/* 803088FC 0030585C 53 44 07 BE */ rlwimi r4, r26, 0, 0x1e, 0x1f +/* 80308900 00305860 53 84 2E 34 */ rlwimi r4, r28, 5, 0x18, 0x1a +/* 80308904 00305864 7C 9E 23 78 */ mr r30, r4 +/* 80308908 00305868 53 BE 45 2E */ rlwimi r30, r29, 8, 0x14, 0x17 +/* 8030890C 0030586C A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80308910 00305870 7C 1E 00 40 */ cmplw r30, r0 +/* 80308914 00305874 41 82 00 24 */ beq lbl_80308938 +/* 80308918 00305878 7F C3 F3 78 */ mr r3, r30 +/* 8030891C 0030587C 4B DA BA 5D */ bl update_fog__3CGXFUi +/* 80308920 00305880 B3 DF 00 56 */ sth r30, 0x56(r31) +/* 80308924 00305884 7F 43 D3 78 */ mr r3, r26 +/* 80308928 00305888 7F 64 DB 78 */ mr r4, r27 +/* 8030892C 0030588C 7F 85 E3 78 */ mr r5, r28 +/* 80308930 00305890 7F A6 EB 78 */ mr r6, r29 +/* 80308934 00305894 48 07 35 79 */ bl GXSetBlendMode +lbl_80308938: +/* 80308938 00305898 BB 41 00 08 */ lmw r26, 8(r1) +/* 8030893C 0030589C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80308940 003058A0 7C 08 03 A6 */ mtlr r0 +/* 80308944 003058A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80308948 003058A8 4E 80 00 20 */ blr + +.global SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID: +/* 8030894C 003058AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308950 003058B0 7C 08 02 A6 */ mflr r0 +/* 80308954 003058B4 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80308958 003058B8 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 8030895C 003058BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308960 003058C0 54 A7 44 2E */ rlwinm r7, r5, 8, 0x10, 0x17 +/* 80308964 003058C4 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80308968 003058C8 7D 00 4A 14 */ add r8, r0, r9 +/* 8030896C 003058CC 39 08 00 68 */ addi r8, r8, 0x68 +/* 80308970 003058D0 50 87 06 3E */ rlwimi r7, r4, 0, 0x18, 0x1f +/* 80308974 003058D4 80 08 00 14 */ lwz r0, 0x14(r8) +/* 80308978 003058D8 50 C7 82 1E */ rlwimi r7, r6, 0x10, 8, 0xf +/* 8030897C 003058DC 7C 00 38 40 */ cmplw r0, r7 +/* 80308980 003058E0 41 82 00 0C */ beq lbl_8030898C +/* 80308984 003058E4 90 E8 00 14 */ stw r7, 0x14(r8) +/* 80308988 003058E8 48 07 30 6D */ bl GXSetTevOrder +lbl_8030898C: +/* 8030898C 003058EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308990 003058F0 7C 08 03 A6 */ mtlr r0 +/* 80308994 003058F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308998 003058F8 4E 80 00 20 */ blr + +.global SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel: +/* 8030899C 003058FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803089A0 00305900 7C 08 02 A6 */ mflr r0 +/* 803089A4 00305904 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 803089A8 00305908 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803089AC 0030590C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803089B0 00305910 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 803089B4 00305914 7C A0 32 14 */ add r5, r0, r6 +/* 803089B8 00305918 38 A5 00 68 */ addi r5, r5, 0x68 +/* 803089BC 0030591C 88 05 00 19 */ lbz r0, 0x19(r5) +/* 803089C0 00305920 7C 04 00 00 */ cmpw r4, r0 +/* 803089C4 00305924 41 82 00 0C */ beq lbl_803089D0 +/* 803089C8 00305928 98 85 00 19 */ stb r4, 0x19(r5) +/* 803089CC 0030592C 48 07 2D F9 */ bl GXSetTevKAlphaSel +lbl_803089D0: +/* 803089D0 00305930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803089D4 00305934 7C 08 03 A6 */ mtlr r0 +/* 803089D8 00305938 38 21 00 10 */ addi r1, r1, 0x10 +/* 803089DC 0030593C 4E 80 00 20 */ blr + +.global SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel: +/* 803089E0 00305940 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803089E4 00305944 7C 08 02 A6 */ mflr r0 +/* 803089E8 00305948 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 803089EC 0030594C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803089F0 00305950 90 01 00 14 */ stw r0, 0x14(r1) +/* 803089F4 00305954 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 803089F8 00305958 7C A0 32 14 */ add r5, r0, r6 +/* 803089FC 0030595C 38 A5 00 68 */ addi r5, r5, 0x68 +/* 80308A00 00305960 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80308A04 00305964 7C 04 00 00 */ cmpw r4, r0 +/* 80308A08 00305968 41 82 00 0C */ beq lbl_80308A14 +/* 80308A0C 0030596C 98 85 00 18 */ stb r4, 0x18(r5) +/* 80308A10 00305970 48 07 2D 49 */ bl GXSetTevKColorSel +lbl_80308A14: +/* 80308A14 00305974 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308A18 00305978 7C 08 03 A6 */ mtlr r0 +/* 80308A1C 0030597C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308A20 00305980 4E 80 00 20 */ blr + +.global SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi +SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi: +/* 80308A24 00305984 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308A28 00305988 7C 08 02 A6 */ mflr r0 +/* 80308A2C 0030598C 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 80308A30 00305990 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308A34 00305994 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308A38 00305998 7C 88 23 78 */ mr r8, r4 +/* 80308A3C 0030599C 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308A40 003059A0 7C 80 32 14 */ add r4, r0, r6 +/* 80308A44 003059A4 38 84 00 68 */ addi r4, r4, 0x68 +/* 80308A48 003059A8 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80308A4C 003059AC 7C 08 00 40 */ cmplw r8, r0 +/* 80308A50 003059B0 41 82 00 20 */ beq lbl_80308A70 +/* 80308A54 003059B4 91 04 00 0C */ stw r8, 0xc(r4) +/* 80308A58 003059B8 55 07 C7 FE */ rlwinm r7, r8, 0x18, 0x1f, 0x1f +/* 80308A5C 003059BC 55 04 07 3E */ clrlwi r4, r8, 0x1c +/* 80308A60 003059C0 55 05 E7 BE */ rlwinm r5, r8, 0x1c, 0x1e, 0x1f +/* 80308A64 003059C4 55 06 D7 BE */ rlwinm r6, r8, 0x1a, 0x1e, 0x1f +/* 80308A68 003059C8 55 08 BF BE */ rlwinm r8, r8, 0x17, 0x1e, 0x1f +/* 80308A6C 003059CC 48 07 2B 29 */ bl GXSetTevAlphaOp +lbl_80308A70: +/* 80308A70 003059D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308A74 003059D4 7C 08 03 A6 */ mtlr r0 +/* 80308A78 003059D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308A7C 003059DC 4E 80 00 20 */ blr + +.global SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID: +/* 80308A80 003059E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308A84 003059E4 7C 08 02 A6 */ mflr r0 +/* 80308A88 003059E8 1D 43 00 1C */ mulli r10, r3, 0x1c +/* 80308A8C 003059EC 3D 20 80 5A */ lis r9, lbl_805A53EC@ha +/* 80308A90 003059F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308A94 003059F4 54 AB 26 B6 */ rlwinm r11, r5, 4, 0x1a, 0x1b +/* 80308A98 003059F8 38 09 53 EC */ addi r0, r9, lbl_805A53EC@l +/* 80308A9C 003059FC 7D 20 52 14 */ add r9, r0, r10 +/* 80308AA0 00305A00 50 8B 07 3E */ rlwimi r11, r4, 0, 0x1c, 0x1f +/* 80308AA4 00305A04 80 09 00 74 */ lwz r0, 0x74(r9) +/* 80308AA8 00305A08 50 CB 36 32 */ rlwimi r11, r6, 6, 0x18, 0x19 +/* 80308AAC 00305A0C 39 49 00 68 */ addi r10, r9, 0x68 +/* 80308AB0 00305A10 50 EB 45 EE */ rlwimi r11, r7, 8, 0x17, 0x17 +/* 80308AB4 00305A14 7D 69 5B 78 */ mr r9, r11 +/* 80308AB8 00305A18 51 09 4D 6C */ rlwimi r9, r8, 9, 0x15, 0x16 +/* 80308ABC 00305A1C 7C 09 00 40 */ cmplw r9, r0 +/* 80308AC0 00305A20 41 82 00 0C */ beq lbl_80308ACC +/* 80308AC4 00305A24 91 2A 00 0C */ stw r9, 0xc(r10) +/* 80308AC8 00305A28 48 07 2A CD */ bl GXSetTevAlphaOp +lbl_80308ACC: +/* 80308ACC 00305A2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308AD0 00305A30 7C 08 03 A6 */ mtlr r0 +/* 80308AD4 00305A34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308AD8 00305A38 4E 80 00 20 */ blr + +.global SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi +SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi: +/* 80308ADC 00305A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308AE0 00305A40 7C 08 02 A6 */ mflr r0 +/* 80308AE4 00305A44 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 80308AE8 00305A48 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308AEC 00305A4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308AF0 00305A50 7C 88 23 78 */ mr r8, r4 +/* 80308AF4 00305A54 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308AF8 00305A58 7C 80 32 14 */ add r4, r0, r6 +/* 80308AFC 00305A5C 38 84 00 68 */ addi r4, r4, 0x68 +/* 80308B00 00305A60 80 04 00 08 */ lwz r0, 8(r4) +/* 80308B04 00305A64 7C 08 00 40 */ cmplw r8, r0 +/* 80308B08 00305A68 41 82 00 20 */ beq lbl_80308B28 +/* 80308B0C 00305A6C 91 04 00 08 */ stw r8, 8(r4) +/* 80308B10 00305A70 55 07 C7 FE */ rlwinm r7, r8, 0x18, 0x1f, 0x1f +/* 80308B14 00305A74 55 04 07 3E */ clrlwi r4, r8, 0x1c +/* 80308B18 00305A78 55 05 E7 BE */ rlwinm r5, r8, 0x1c, 0x1e, 0x1f +/* 80308B1C 00305A7C 55 06 D7 BE */ rlwinm r6, r8, 0x1a, 0x1e, 0x1f +/* 80308B20 00305A80 55 08 BF BE */ rlwinm r8, r8, 0x17, 0x1e, 0x1f +/* 80308B24 00305A84 48 07 2A 09 */ bl GXSetTevColorOp +lbl_80308B28: +/* 80308B28 00305A88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308B2C 00305A8C 7C 08 03 A6 */ mtlr r0 +/* 80308B30 00305A90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308B34 00305A94 4E 80 00 20 */ blr + +.global SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID: +/* 80308B38 00305A98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308B3C 00305A9C 7C 08 02 A6 */ mflr r0 +/* 80308B40 00305AA0 1D 43 00 1C */ mulli r10, r3, 0x1c +/* 80308B44 00305AA4 3D 20 80 5A */ lis r9, lbl_805A53EC@ha +/* 80308B48 00305AA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308B4C 00305AAC 54 AB 26 B6 */ rlwinm r11, r5, 4, 0x1a, 0x1b +/* 80308B50 00305AB0 38 09 53 EC */ addi r0, r9, lbl_805A53EC@l +/* 80308B54 00305AB4 7D 20 52 14 */ add r9, r0, r10 +/* 80308B58 00305AB8 50 8B 07 3E */ rlwimi r11, r4, 0, 0x1c, 0x1f +/* 80308B5C 00305ABC 80 09 00 70 */ lwz r0, 0x70(r9) +/* 80308B60 00305AC0 50 CB 36 32 */ rlwimi r11, r6, 6, 0x18, 0x19 +/* 80308B64 00305AC4 39 49 00 68 */ addi r10, r9, 0x68 +/* 80308B68 00305AC8 50 EB 45 EE */ rlwimi r11, r7, 8, 0x17, 0x17 +/* 80308B6C 00305ACC 7D 69 5B 78 */ mr r9, r11 +/* 80308B70 00305AD0 51 09 4D 6C */ rlwimi r9, r8, 9, 0x15, 0x16 +/* 80308B74 00305AD4 7C 09 00 40 */ cmplw r9, r0 +/* 80308B78 00305AD8 41 82 00 0C */ beq lbl_80308B84 +/* 80308B7C 00305ADC 91 2A 00 08 */ stw r9, 8(r10) +/* 80308B80 00305AE0 48 07 29 AD */ bl GXSetTevColorOp +lbl_80308B84: +/* 80308B84 00305AE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308B88 00305AE8 7C 08 03 A6 */ mtlr r0 +/* 80308B8C 00305AEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308B90 00305AF0 4E 80 00 20 */ blr + +.global SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg: +/* 80308B94 00305AF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308B98 00305AF8 7C 08 02 A6 */ mflr r0 +/* 80308B9C 00305AFC 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80308BA0 00305B00 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80308BA4 00305B04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308BA8 00305B08 54 AA 2D B4 */ rlwinm r10, r5, 5, 0x16, 0x1a +/* 80308BAC 00305B0C 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80308BB0 00305B10 7D 00 4A 14 */ add r8, r0, r9 +/* 80308BB4 00305B14 50 8A 06 FE */ rlwimi r10, r4, 0, 0x1b, 0x1f +/* 80308BB8 00305B18 80 08 00 6C */ lwz r0, 0x6c(r8) +/* 80308BBC 00305B1C 50 CA 54 6A */ rlwimi r10, r6, 0xa, 0x11, 0x15 +/* 80308BC0 00305B20 39 28 00 68 */ addi r9, r8, 0x68 +/* 80308BC4 00305B24 7D 48 53 78 */ mr r8, r10 +/* 80308BC8 00305B28 50 E8 7B 20 */ rlwimi r8, r7, 0xf, 0xc, 0x10 +/* 80308BCC 00305B2C 7C 08 00 40 */ cmplw r8, r0 +/* 80308BD0 00305B30 41 82 00 0C */ beq lbl_80308BDC +/* 80308BD4 00305B34 91 09 00 04 */ stw r8, 4(r9) +/* 80308BD8 00305B38 48 07 29 11 */ bl GXSetTevAlphaIn +lbl_80308BDC: +/* 80308BDC 00305B3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308BE0 00305B40 7C 08 03 A6 */ mtlr r0 +/* 80308BE4 00305B44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308BE8 00305B48 4E 80 00 20 */ blr + +.global SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg: +/* 80308BEC 00305B4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308BF0 00305B50 7C 08 02 A6 */ mflr r0 +/* 80308BF4 00305B54 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80308BF8 00305B58 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80308BFC 00305B5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308C00 00305B60 54 AA 2D B4 */ rlwinm r10, r5, 5, 0x16, 0x1a +/* 80308C04 00305B64 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80308C08 00305B68 7D 00 4A 14 */ add r8, r0, r9 +/* 80308C0C 00305B6C 50 8A 06 FE */ rlwimi r10, r4, 0, 0x1b, 0x1f +/* 80308C10 00305B70 80 08 00 68 */ lwz r0, 0x68(r8) +/* 80308C14 00305B74 50 CA 54 6A */ rlwimi r10, r6, 0xa, 0x11, 0x15 +/* 80308C18 00305B78 39 28 00 68 */ addi r9, r8, 0x68 +/* 80308C1C 00305B7C 7D 48 53 78 */ mr r8, r10 +/* 80308C20 00305B80 50 E8 7B 20 */ rlwimi r8, r7, 0xf, 0xc, 0x10 +/* 80308C24 00305B84 7C 08 00 40 */ cmplw r8, r0 +/* 80308C28 00305B88 41 82 00 0C */ beq lbl_80308C34 +/* 80308C2C 00305B8C 91 09 00 00 */ stw r8, 0(r9) +/* 80308C30 00305B90 48 07 28 75 */ bl GXSetTevColorIn +lbl_80308C34: +/* 80308C34 00305B94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308C38 00305B98 7C 08 03 A6 */ mtlr r0 +/* 80308C3C 00305B9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308C40 00305BA0 4E 80 00 20 */ blr + +.global SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor: +/* 80308C44 00305BA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308C48 00305BA8 7C 08 02 A6 */ mflr r0 +/* 80308C4C 00305BAC 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308C50 00305BB0 54 66 10 3A */ slwi r6, r3, 2 +/* 80308C54 00305BB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308C58 00305BB8 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308C5C 00305BBC 80 A4 00 00 */ lwz r5, 0(r4) +/* 80308C60 00305BC0 7C 80 32 14 */ add r4, r0, r6 +/* 80308C64 00305BC4 84 04 00 58 */ lwzu r0, 0x58(r4) +/* 80308C68 00305BC8 7C 00 28 40 */ cmplw r0, r5 +/* 80308C6C 00305BCC 41 82 00 14 */ beq lbl_80308C80 +/* 80308C70 00305BD0 90 A4 00 00 */ stw r5, 0(r4) +/* 80308C74 00305BD4 38 81 00 08 */ addi r4, r1, 8 +/* 80308C78 00305BD8 90 A1 00 08 */ stw r5, 8(r1) +/* 80308C7C 00305BDC 48 07 2A 69 */ bl GXSetTevKColor +lbl_80308C80: +/* 80308C80 00305BE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308C84 00305BE4 7C 08 03 A6 */ mtlr r0 +/* 80308C88 00305BE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308C8C 00305BEC 4E 80 00 20 */ blr + +.global SetNumTevStages__3CGXFUc +SetNumTevStages__3CGXFUc: +/* 80308C90 00305BF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308C94 00305BF4 7C 08 02 A6 */ mflr r0 +/* 80308C98 00305BF8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308C9C 00305BFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308CA0 00305C00 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l +/* 80308CA4 00305C04 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80308CA8 00305C08 88 85 00 50 */ lbz r4, 0x50(r5) +/* 80308CAC 00305C0C 7C 04 00 40 */ cmplw r4, r0 +/* 80308CB0 00305C10 41 82 00 0C */ beq lbl_80308CBC +/* 80308CB4 00305C14 98 65 00 50 */ stb r3, 0x50(r5) +/* 80308CB8 00305C18 48 07 2F 15 */ bl GXSetNumTevStages +lbl_80308CBC: +/* 80308CBC 00305C1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308CC0 00305C20 7C 08 03 A6 */ mtlr r0 +/* 80308CC4 00305C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308CC8 00305C28 4E 80 00 20 */ blr + +.global SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn: +/* 80308CCC 00305C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308CD0 00305C30 3D 40 80 5A */ lis r10, lbl_805A53EC@ha +/* 80308CD4 00305C34 54 6B 08 3C */ slwi r11, r3, 1 +/* 80308CD8 00305C38 2C 07 00 00 */ cmpwi r7, 0 +/* 80308CDC 00305C3C 38 0A 53 EC */ addi r0, r10, lbl_805A53EC@l +/* 80308CE0 00305C40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308CE4 00305C44 7D 40 5A 14 */ add r10, r0, r11 +/* 80308CE8 00305C48 A3 EA 00 30 */ lhz r31, 0x30(r10) +/* 80308CEC 00305C4C 39 8A 00 34 */ addi r12, r10, 0x34 +/* 80308CF0 00305C50 40 82 00 08 */ bne lbl_80308CF8 +/* 80308CF4 00305C54 38 80 00 00 */ li r4, 0 +lbl_80308CF8: +/* 80308CF8 00305C58 54 AB 0F BC */ rlwinm r11, r5, 1, 0x1e, 0x1e +/* 80308CFC 00305C5C 3D 40 80 5A */ lis r10, lbl_805A53EC@ha +/* 80308D00 00305C60 50 8B 07 FE */ rlwimi r11, r4, 0, 0x1f, 0x1f +/* 80308D04 00305C64 38 A3 00 01 */ addi r5, r3, 1 +/* 80308D08 00305C68 50 CB 17 7A */ rlwimi r11, r6, 2, 0x1d, 0x1d +/* 80308D0C 00305C6C 38 00 00 01 */ li r0, 1 +/* 80308D10 00305C70 50 EB 1D 78 */ rlwimi r11, r7, 3, 0x15, 0x1c +/* 80308D14 00305C74 39 4A 53 EC */ addi r10, r10, lbl_805A53EC@l +/* 80308D18 00305C78 51 0B 5C E8 */ rlwimi r11, r8, 0xb, 0x13, 0x14 +/* 80308D1C 00305C7C 7C 00 28 30 */ slw r0, r0, r5 +/* 80308D20 00305C80 7D 63 5B 78 */ mr r3, r11 +/* 80308D24 00305C84 51 23 6C 64 */ rlwimi r3, r9, 0xd, 0x11, 0x12 +/* 80308D28 00305C88 B0 6C 00 00 */ sth r3, 0(r12) +/* 80308D2C 00305C8C 7C 83 F8 50 */ subf r4, r3, r31 +/* 80308D30 00305C90 7C 7F 18 50 */ subf r3, r31, r3 +/* 80308D34 00305C94 7C 84 1B 78 */ or r4, r4, r3 +/* 80308D38 00305C98 88 6A 00 4C */ lbz r3, 0x4c(r10) +/* 80308D3C 00305C9C 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80308D40 00305CA0 7C 84 28 30 */ slw r4, r4, r5 +/* 80308D44 00305CA4 7C 60 00 78 */ andc r0, r3, r0 +/* 80308D48 00305CA8 7C 80 03 78 */ or r0, r4, r0 +/* 80308D4C 00305CAC 98 0A 00 4C */ stb r0, 0x4c(r10) +/* 80308D50 00305CB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308D54 00305CB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308D58 00305CB8 4E 80 00 20 */ blr + +.global SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor: +/* 80308D5C 00305CBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308D60 00305CC0 7C 08 02 A6 */ mflr r0 +/* 80308D64 00305CC4 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308D68 00305CC8 54 66 10 3A */ slwi r6, r3, 2 +/* 80308D6C 00305CCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308D70 00305CD0 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308D74 00305CD4 80 E4 00 00 */ lwz r7, 0(r4) +/* 80308D78 00305CD8 7C 80 32 14 */ add r4, r0, r6 +/* 80308D7C 00305CDC 84 04 00 40 */ lwzu r0, 0x40(r4) +/* 80308D80 00305CE0 7C 07 00 40 */ cmplw r7, r0 +/* 80308D84 00305CE4 41 82 00 18 */ beq lbl_80308D9C +/* 80308D88 00305CE8 90 E4 00 00 */ stw r7, 0(r4) +/* 80308D8C 00305CEC 38 63 00 04 */ addi r3, r3, 4 +/* 80308D90 00305CF0 38 81 00 08 */ addi r4, r1, 8 +/* 80308D94 00305CF4 90 E1 00 08 */ stw r7, 8(r1) +/* 80308D98 00305CF8 48 07 0C A5 */ bl GXSetChanMatColor +lbl_80308D9C: +/* 80308D9C 00305CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308DA0 00305D00 7C 08 03 A6 */ mtlr r0 +/* 80308DA4 00305D04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308DA8 00305D08 4E 80 00 20 */ blr + +.global GetChanAmbColor__3CGXFQ23CGX10EChannelId +GetChanAmbColor__3CGXFQ23CGX10EChannelId: +/* 80308DAC 00305D0C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308DB0 00305D10 54 60 10 3A */ slwi r0, r3, 2 +/* 80308DB4 00305D14 38 64 53 EC */ addi r3, r4, lbl_805A53EC@l +/* 80308DB8 00305D18 7C 63 02 14 */ add r3, r3, r0 +/* 80308DBC 00305D1C 80 63 00 38 */ lwz r3, 0x38(r3) +/* 80308DC0 00305D20 4E 80 00 20 */ blr + +.global SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor: +/* 80308DC4 00305D24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308DC8 00305D28 7C 08 02 A6 */ mflr r0 +/* 80308DCC 00305D2C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308DD0 00305D30 54 66 10 3A */ slwi r6, r3, 2 +/* 80308DD4 00305D34 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308DD8 00305D38 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308DDC 00305D3C 80 E4 00 00 */ lwz r7, 0(r4) +/* 80308DE0 00305D40 7C 80 32 14 */ add r4, r0, r6 +/* 80308DE4 00305D44 84 04 00 38 */ lwzu r0, 0x38(r4) +/* 80308DE8 00305D48 7C 07 00 40 */ cmplw r7, r0 +/* 80308DEC 00305D4C 41 82 00 18 */ beq lbl_80308E04 +/* 80308DF0 00305D50 90 E4 00 00 */ stw r7, 0(r4) +/* 80308DF4 00305D54 38 63 00 04 */ addi r3, r3, 4 +/* 80308DF8 00305D58 38 81 00 08 */ addi r4, r1, 8 +/* 80308DFC 00305D5C 90 E1 00 08 */ stw r7, 8(r1) +/* 80308E00 00305D60 48 07 0B 49 */ bl GXSetChanAmbColor +lbl_80308E04: +/* 80308E04 00305D64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308E08 00305D68 7C 08 03 A6 */ mtlr r0 +/* 80308E0C 00305D6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308E10 00305D70 4E 80 00 20 */ blr + +.global SetNumTexGens__3CGXFUc +SetNumTexGens__3CGXFUc: +/* 80308E14 00305D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308E18 00305D78 7C 08 02 A6 */ mflr r0 +/* 80308E1C 00305D7C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308E20 00305D80 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 80308E24 00305D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308E28 00305D88 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l +/* 80308E2C 00305D8C 88 04 00 4F */ lbz r0, 0x4f(r4) +/* 80308E30 00305D90 7C 05 00 40 */ cmplw r5, r0 +/* 80308E34 00305D94 41 82 00 0C */ beq lbl_80308E40 +/* 80308E38 00305D98 98 64 00 4F */ stb r3, 0x4f(r4) +/* 80308E3C 00305D9C 48 06 F4 29 */ bl GXSetNumTexGens +lbl_80308E40: +/* 80308E40 00305DA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308E44 00305DA4 7C 08 03 A6 */ mtlr r0 +/* 80308E48 00305DA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308E4C 00305DAC 4E 80 00 20 */ blr + +.global SetNumChans__3CGXFUc +SetNumChans__3CGXFUc: +/* 80308E50 00305DB0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308E54 00305DB4 54 66 06 3E */ clrlwi r6, r3, 0x18 +/* 80308E58 00305DB8 38 E4 53 EC */ addi r7, r4, lbl_805A53EC@l +/* 80308E5C 00305DBC 88 87 00 4D */ lbz r4, 0x4d(r7) +/* 80308E60 00305DC0 88 07 00 4C */ lbz r0, 0x4c(r7) +/* 80308E64 00305DC4 7C A6 20 50 */ subf r5, r6, r4 +/* 80308E68 00305DC8 7C 84 30 50 */ subf r4, r4, r6 +/* 80308E6C 00305DCC 7C A4 23 78 */ or r4, r5, r4 +/* 80308E70 00305DD0 98 67 00 4E */ stb r3, 0x4e(r7) +/* 80308E74 00305DD4 50 80 0F FE */ rlwimi r0, r4, 1, 0x1f, 0x1f +/* 80308E78 00305DD8 98 07 00 4C */ stb r0, 0x4c(r7) +/* 80308E7C 00305DDC 4E 80 00 20 */ blr + +.global __sinit_CGX_cpp +__sinit_CGX_cpp: +/* 80308E80 00305DE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308E84 00305DE4 7C 08 02 A6 */ mflr r0 +/* 80308E88 00305DE8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308E8C 00305DEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308E90 00305DF0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80308E94 00305DF4 4B FF F4 09 */ bl __ct__Q23CGX8SGXStateFv +/* 80308E98 00305DF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308E9C 00305DFC 7C 08 03 A6 */ mtlr r0 +/* 80308EA0 00305E00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308EA4 00305E04 4E 80 00 20 */ blr + +.global ResetStates__13CTevCombinersFv +ResetStates__13CTevCombinersFv: +/* 80308EA8 00305E08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308EAC 00305E0C 7C 08 02 A6 */ mflr r0 +/* 80308EB0 00305E10 3C 60 80 5A */ lis r3, lbl_805A564C@ha +/* 80308EB4 00305E14 38 AD 9C 60 */ addi r5, r13, lbl_805A8820@sda21 +/* 80308EB8 00305E18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308EBC 00305E1C 38 00 00 00 */ li r0, 0 +/* 80308EC0 00305E20 38 63 56 4C */ addi r3, r3, lbl_805A564C@l +/* 80308EC4 00305E24 38 80 00 00 */ li r4, 0 +/* 80308EC8 00305E28 98 0D 9C 60 */ stb r0, lbl_805A8820@sda21(r13) +/* 80308ECC 00305E2C 98 05 00 01 */ stb r0, 1(r5) +/* 80308ED0 00305E30 48 00 00 25 */ bl Execute__Q213CTevCombiners8CTevPassCFi +/* 80308ED4 00305E34 38 00 00 01 */ li r0, 1 +/* 80308ED8 00305E38 38 60 00 01 */ li r3, 1 +/* 80308EDC 00305E3C 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) +/* 80308EE0 00305E40 4B FF FD B1 */ bl SetNumTevStages__3CGXFUc +/* 80308EE4 00305E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308EE8 00305E48 7C 08 03 A6 */ mtlr r0 +/* 80308EEC 00305E4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308EF0 00305E50 4E 80 00 20 */ blr + +.global Execute__Q213CTevCombiners8CTevPassCFi +Execute__Q213CTevCombiners8CTevPassCFi: +/* 80308EF4 00305E54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308EF8 00305E58 7C 08 02 A6 */ mflr r0 +/* 80308EFC 00305E5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308F00 00305E60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308F04 00305E64 7C 9F 23 78 */ mr r31, r4 +/* 80308F08 00305E68 93 C1 00 08 */ stw r30, 8(r1) +/* 80308F0C 00305E6C 7C 7E 1B 78 */ mr r30, r3 +/* 80308F10 00305E70 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 80308F14 00305E74 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80308F18 00305E78 7F E3 FB 78 */ mr r3, r31 +/* 80308F1C 00305E7C 80 BE 00 08 */ lwz r5, 8(r30) +/* 80308F20 00305E80 80 9E 00 04 */ lwz r4, 4(r30) +/* 80308F24 00305E84 4B FF FC C9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80308F28 00305E88 80 FE 00 20 */ lwz r7, 0x20(r30) +/* 80308F2C 00305E8C 7F E3 FB 78 */ mr r3, r31 +/* 80308F30 00305E90 80 DE 00 1C */ lwz r6, 0x1c(r30) +/* 80308F34 00305E94 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 80308F38 00305E98 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80308F3C 00305E9C 4B FF FC 59 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80308F40 00305EA0 88 FE 00 24 */ lbz r7, 0x24(r30) +/* 80308F44 00305EA4 7F E3 FB 78 */ mr r3, r31 +/* 80308F48 00305EA8 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80308F4C 00305EAC 80 BE 00 2C */ lwz r5, 0x2c(r30) +/* 80308F50 00305EB0 80 DE 00 30 */ lwz r6, 0x30(r30) +/* 80308F54 00305EB4 81 1E 00 34 */ lwz r8, 0x34(r30) +/* 80308F58 00305EB8 4B FF FB E1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80308F5C 00305EBC 88 FE 00 38 */ lbz r7, 0x38(r30) +/* 80308F60 00305EC0 7F E3 FB 78 */ mr r3, r31 +/* 80308F64 00305EC4 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80308F68 00305EC8 80 BE 00 40 */ lwz r5, 0x40(r30) +/* 80308F6C 00305ECC 80 DE 00 44 */ lwz r6, 0x44(r30) +/* 80308F70 00305ED0 81 1E 00 48 */ lwz r8, 0x48(r30) +/* 80308F74 00305ED4 4B FF FB 0D */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80308F78 00305ED8 7F E3 FB 78 */ mr r3, r31 +/* 80308F7C 00305EDC 38 80 00 00 */ li r4, 0 +/* 80308F80 00305EE0 4B FF FA 61 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 80308F84 00305EE4 7F E3 FB 78 */ mr r3, r31 +/* 80308F88 00305EE8 38 80 00 00 */ li r4, 0 +/* 80308F8C 00305EEC 4B FF FA 11 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80308F90 00305EF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308F94 00305EF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308F98 00305EF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80308F9C 00305EFC 7C 08 03 A6 */ mtlr r0 +/* 80308FA0 00305F00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308FA4 00305F04 4E 80 00 20 */ blr + +.global SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass: +/* 80308FA8 00305F08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308FAC 00305F0C 7C 08 02 A6 */ mflr r0 +/* 80308FB0 00305F10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308FB4 00305F14 7C 60 1B 78 */ mr r0, r3 +/* 80308FB8 00305F18 7C 83 23 78 */ mr r3, r4 +/* 80308FBC 00305F1C 7C 04 03 78 */ mr r4, r0 +/* 80308FC0 00305F20 4B FF FF 35 */ bl Execute__Q213CTevCombiners8CTevPassCFi +/* 80308FC4 00305F24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308FC8 00305F28 38 60 00 01 */ li r3, 1 +/* 80308FCC 00305F2C 7C 08 03 A6 */ mtlr r0 +/* 80308FD0 00305F30 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308FD4 00305F34 4E 80 00 20 */ blr + +.global SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass: +/* 80308FD8 00305F38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308FDC 00305F3C 7C 08 02 A6 */ mflr r0 +/* 80308FE0 00305F40 3C A0 80 5A */ lis r5, lbl_805A564C@ha +/* 80308FE4 00305F44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308FE8 00305F48 38 05 56 4C */ addi r0, r5, lbl_805A564C@l +/* 80308FEC 00305F4C 7C 04 00 40 */ cmplw r4, r0 +/* 80308FF0 00305F50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308FF4 00305F54 7C 7F 1B 78 */ mr r31, r3 +/* 80308FF8 00305F58 40 82 00 0C */ bne lbl_80309004 +/* 80308FFC 00305F5C 48 00 00 39 */ bl DeletePass__13CTevCombinersFi +/* 80309000 00305F60 48 00 00 20 */ b lbl_80309020 +lbl_80309004: +/* 80309004 00305F64 4B FF FF A5 */ bl SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +/* 80309008 00305F68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030900C 00305F6C 41 82 00 14 */ beq lbl_80309020 +/* 80309010 00305F70 38 00 00 01 */ li r0, 1 +/* 80309014 00305F74 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 +/* 80309018 00305F78 7C 03 F9 AE */ stbx r0, r3, r31 +/* 8030901C 00305F7C 48 00 00 C9 */ bl RecomputePasses__13CTevCombinersFv +lbl_80309020: +/* 80309020 00305F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309024 00305F84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80309028 00305F88 7C 08 03 A6 */ mtlr r0 +/* 8030902C 00305F8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309030 00305F90 4E 80 00 20 */ blr + +.global DeletePass__13CTevCombinersFi +DeletePass__13CTevCombinersFi: +/* 80309034 00305F94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309038 00305F98 7C 08 02 A6 */ mflr r0 +/* 8030903C 00305F9C 3C 80 80 5A */ lis r4, lbl_805A564C@ha +/* 80309040 00305FA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309044 00305FA4 38 84 56 4C */ addi r4, r4, lbl_805A564C@l +/* 80309048 00305FA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030904C 00305FAC 7C 7F 1B 78 */ mr r31, r3 +/* 80309050 00305FB0 4B FF FF 59 */ bl SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +/* 80309054 00305FB4 38 00 00 00 */ li r0, 0 +/* 80309058 00305FB8 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 +/* 8030905C 00305FBC 7C 03 F9 AE */ stbx r0, r3, r31 +/* 80309060 00305FC0 48 00 00 85 */ bl RecomputePasses__13CTevCombinersFv +/* 80309064 00305FC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309068 00305FC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030906C 00305FCC 7C 08 03 A6 */ mtlr r0 +/* 80309070 00305FD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309074 00305FD4 4E 80 00 20 */ blr + +.global Init__13CTevCombinersFv +Init__13CTevCombinersFv: +/* 80309078 00305FD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030907C 00305FDC 7C 08 02 A6 */ mflr r0 +/* 80309080 00305FE0 38 60 00 01 */ li r3, 1 +/* 80309084 00305FE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309088 00305FE8 38 00 00 02 */ li r0, 2 +/* 8030908C 00305FEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80309090 00305FF0 3B ED 9C 60 */ addi r31, r13, lbl_805A8820@sda21 +/* 80309094 00305FF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80309098 00305FF8 3B C0 00 00 */ li r30, 0 +/* 8030909C 00305FFC 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) +/* 803090A0 00306000 98 6D 9C 60 */ stb r3, lbl_805A8820@sda21(r13) +/* 803090A4 00306004 98 7F 00 01 */ stb r3, 1(r31) +lbl_803090A8: +/* 803090A8 00306008 7F C3 F3 78 */ mr r3, r30 +/* 803090AC 0030600C 4B FF FF 89 */ bl DeletePass__13CTevCombinersFi +/* 803090B0 00306010 3B DE 00 01 */ addi r30, r30, 1 +/* 803090B4 00306014 2C 1E 00 02 */ cmpwi r30, 2 +/* 803090B8 00306018 41 80 FF F0 */ blt lbl_803090A8 +/* 803090BC 0030601C 38 00 00 00 */ li r0, 0 +/* 803090C0 00306020 98 1F 00 00 */ stb r0, 0(r31) +/* 803090C4 00306024 98 1F 00 01 */ stb r0, 1(r31) +/* 803090C8 00306028 48 00 00 1D */ bl RecomputePasses__13CTevCombinersFv +/* 803090CC 0030602C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803090D0 00306030 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803090D4 00306034 83 C1 00 08 */ lwz r30, 8(r1) +/* 803090D8 00306038 7C 08 03 A6 */ mtlr r0 +/* 803090DC 0030603C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803090E0 00306040 4E 80 00 20 */ blr + +.global RecomputePasses__13CTevCombinersFv +RecomputePasses__13CTevCombinersFv: +/* 803090E4 00306044 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803090E8 00306048 7C 08 02 A6 */ mflr r0 +/* 803090EC 0030604C 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 +/* 803090F0 00306050 90 01 00 14 */ stw r0, 0x14(r1) +/* 803090F4 00306054 88 63 00 01 */ lbz r3, 1(r3) +/* 803090F8 00306058 7C 03 00 D0 */ neg r0, r3 +/* 803090FC 0030605C 7C 00 1B 78 */ or r0, r0, r3 +/* 80309100 00306060 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80309104 00306064 38 63 00 01 */ addi r3, r3, 1 +/* 80309108 00306068 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8030910C 0030606C 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) +/* 80309110 00306070 4B FF FB 81 */ bl SetNumTevStages__3CGXFUc +/* 80309114 00306074 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309118 00306078 7C 08 03 A6 */ mtlr r0 +/* 8030911C 0030607C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309120 00306080 4E 80 00 20 */ blr + +.global __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +__ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc: +/* 80309124 00306084 90 83 00 00 */ stw r4, 0(r3) +/* 80309128 00306088 4E 80 00 20 */ blr + +.global __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +__ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc: +/* 8030912C 0030608C 90 83 00 00 */ stw r4, 0(r3) +/* 80309130 00306090 4E 80 00 20 */ blr + +.global __sinit_CTevCombiners_cpp +__sinit_CTevCombiners_cpp: +/* 80309134 00306094 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80309138 00306098 7C 08 02 A6 */ mflr r0 +/* 8030913C 0030609C 38 6D A7 9C */ addi r3, r13, lbl_805A935C@sda21 +/* 80309140 003060A0 38 80 00 06 */ li r4, 6 +/* 80309144 003060A4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80309148 003060A8 4B FF FF E5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030914C 003060AC 38 6D A7 A0 */ addi r3, r13, lbl_805A9360@sda21 +/* 80309150 003060B0 38 80 00 0C */ li r4, 0xc +/* 80309154 003060B4 4B FF FF D1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80309158 003060B8 38 00 00 00 */ li r0, 0 +/* 8030915C 003060BC 38 A0 00 01 */ li r5, 1 +/* 80309160 003060C0 98 A1 00 48 */ stb r5, 0x48(r1) +/* 80309164 003060C4 38 61 00 08 */ addi r3, r1, 8 +/* 80309168 003060C8 38 80 00 05 */ li r4, 5 +/* 8030916C 003060CC 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80309170 003060D0 90 01 00 50 */ stw r0, 0x50(r1) +/* 80309174 003060D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80309178 003060D8 90 01 00 58 */ stw r0, 0x58(r1) +/* 8030917C 003060DC 98 A1 00 5C */ stb r5, 0x5c(r1) +/* 80309180 003060E0 90 01 00 60 */ stw r0, 0x60(r1) +/* 80309184 003060E4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80309188 003060E8 90 01 00 68 */ stw r0, 0x68(r1) +/* 8030918C 003060EC 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80309190 003060F0 4B FF FF 9D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80309194 003060F4 38 61 00 0C */ addi r3, r1, 0xc +/* 80309198 003060F8 38 80 00 07 */ li r4, 7 +/* 8030919C 003060FC 4B FF FF 91 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 803091A0 00306100 38 61 00 10 */ addi r3, r1, 0x10 +/* 803091A4 00306104 38 80 00 07 */ li r4, 7 +/* 803091A8 00306108 4B FF FF 85 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 803091AC 0030610C 38 61 00 14 */ addi r3, r1, 0x14 +/* 803091B0 00306110 38 80 00 07 */ li r4, 7 +/* 803091B4 00306114 4B FF FF 79 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 803091B8 00306118 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 803091BC 0030611C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803091C0 00306120 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 803091C4 00306124 38 80 00 0A */ li r4, 0xa +/* 803091C8 00306128 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 803091CC 0030612C 80 01 00 08 */ lwz r0, 8(r1) +/* 803091D0 00306130 90 E1 00 28 */ stw r7, 0x28(r1) +/* 803091D4 00306134 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 803091D8 00306138 90 A1 00 30 */ stw r5, 0x30(r1) +/* 803091DC 0030613C 90 01 00 34 */ stw r0, 0x34(r1) +/* 803091E0 00306140 4B FF FF 45 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 803091E4 00306144 38 61 00 1C */ addi r3, r1, 0x1c +/* 803091E8 00306148 38 80 00 0F */ li r4, 0xf +/* 803091EC 0030614C 4B FF FF 39 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 803091F0 00306150 38 61 00 20 */ addi r3, r1, 0x20 +/* 803091F4 00306154 38 80 00 0F */ li r4, 0xf +/* 803091F8 00306158 4B FF FF 2D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 803091FC 0030615C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80309200 00306160 38 80 00 0F */ li r4, 0xf +/* 80309204 00306164 4B FF FF 21 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80309208 00306168 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8030920C 0030616C 3C 60 80 5A */ lis r3, lbl_805A564C@ha +/* 80309210 00306170 81 21 00 20 */ lwz r9, 0x20(r1) +/* 80309214 00306174 38 63 56 4C */ addi r3, r3, lbl_805A564C@l +/* 80309218 00306178 81 01 00 1C */ lwz r8, 0x1c(r1) +/* 8030921C 0030617C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80309220 00306180 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80309224 00306184 38 C1 00 5C */ addi r6, r1, 0x5c +/* 80309228 00306188 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8030922C 0030618C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80309230 00306190 38 E1 00 48 */ addi r7, r1, 0x48 +/* 80309234 00306194 91 21 00 3C */ stw r9, 0x3c(r1) +/* 80309238 00306198 91 01 00 40 */ stw r8, 0x40(r1) +/* 8030923C 0030619C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80309240 003061A0 48 00 00 15 */ bl sub_80309254 +/* 80309244 003061A4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80309248 003061A8 7C 08 03 A6 */ mtlr r0 +/* 8030924C 003061AC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80309250 003061B0 4E 80 00 20 */ blr + +.global sub_80309254 +sub_80309254: +/* 80309254 003061B4 81 0D A7 98 */ lwz r8, lbl_805A9358@sda21(r13) +/* 80309258 003061B8 38 08 00 01 */ addi r0, r8, 1 +/* 8030925C 003061BC 90 0D A7 98 */ stw r0, lbl_805A9358@sda21(r13) +/* 80309260 003061C0 91 03 00 00 */ stw r8, 0(r3) +/* 80309264 003061C4 80 04 00 00 */ lwz r0, 0(r4) +/* 80309268 003061C8 90 03 00 04 */ stw r0, 4(r3) +/* 8030926C 003061CC 80 04 00 04 */ lwz r0, 4(r4) +/* 80309270 003061D0 90 03 00 08 */ stw r0, 8(r3) +/* 80309274 003061D4 80 04 00 08 */ lwz r0, 8(r4) +/* 80309278 003061D8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8030927C 003061DC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80309280 003061E0 90 03 00 10 */ stw r0, 0x10(r3) +/* 80309284 003061E4 80 05 00 00 */ lwz r0, 0(r5) +/* 80309288 003061E8 90 03 00 14 */ stw r0, 0x14(r3) +/* 8030928C 003061EC 80 05 00 04 */ lwz r0, 4(r5) +/* 80309290 003061F0 90 03 00 18 */ stw r0, 0x18(r3) +/* 80309294 003061F4 80 05 00 08 */ lwz r0, 8(r5) +/* 80309298 003061F8 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8030929C 003061FC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 803092A0 00306200 90 03 00 20 */ stw r0, 0x20(r3) +/* 803092A4 00306204 88 06 00 00 */ lbz r0, 0(r6) +/* 803092A8 00306208 98 03 00 24 */ stb r0, 0x24(r3) +/* 803092AC 0030620C 80 06 00 04 */ lwz r0, 4(r6) +/* 803092B0 00306210 90 03 00 28 */ stw r0, 0x28(r3) +/* 803092B4 00306214 80 06 00 08 */ lwz r0, 8(r6) +/* 803092B8 00306218 90 03 00 2C */ stw r0, 0x2c(r3) +/* 803092BC 0030621C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 803092C0 00306220 90 03 00 30 */ stw r0, 0x30(r3) +/* 803092C4 00306224 80 06 00 10 */ lwz r0, 0x10(r6) +/* 803092C8 00306228 90 03 00 34 */ stw r0, 0x34(r3) +/* 803092CC 0030622C 88 07 00 00 */ lbz r0, 0(r7) +/* 803092D0 00306230 98 03 00 38 */ stb r0, 0x38(r3) +/* 803092D4 00306234 80 07 00 04 */ lwz r0, 4(r7) +/* 803092D8 00306238 90 03 00 3C */ stw r0, 0x3c(r3) +/* 803092DC 0030623C 80 07 00 08 */ lwz r0, 8(r7) +/* 803092E0 00306240 90 03 00 40 */ stw r0, 0x40(r3) +/* 803092E4 00306244 80 07 00 0C */ lwz r0, 0xc(r7) +/* 803092E8 00306248 90 03 00 44 */ stw r0, 0x44(r3) +/* 803092EC 0030624C 80 07 00 10 */ lwz r0, 0x10(r7) +/* 803092F0 00306250 90 03 00 48 */ stw r0, 0x48(r3) +/* 803092F4 00306254 4E 80 00 20 */ blr + +.global ResetFlushAll__Q29CGraphics12CRenderStateFv +ResetFlushAll__Q29CGraphics12CRenderStateFv: +/* 803092F8 00306258 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803092FC 0030625C 7C 08 02 A6 */ mflr r0 +/* 80309300 00306260 38 80 00 00 */ li r4, 0 +/* 80309304 00306264 38 A0 00 00 */ li r5, 0 +/* 80309308 00306268 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030930C 0030626C 38 00 00 00 */ li r0, 0 +/* 80309310 00306270 38 C0 00 00 */ li r6, 0 +/* 80309314 00306274 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80309318 00306278 93 C1 00 08 */ stw r30, 8(r1) +/* 8030931C 0030627C 7C 7E 1B 78 */ mr r30, r3 +/* 80309320 00306280 90 03 00 00 */ stw r0, 0(r3) +/* 80309324 00306284 48 00 00 45 */ bl SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi +/* 80309328 00306288 3B E0 00 00 */ li r31, 0 +lbl_8030932C: +/* 8030932C 0030628C 38 7F 00 0D */ addi r3, r31, 0xd +/* 80309330 00306290 38 80 00 00 */ li r4, 0 +/* 80309334 00306294 38 A0 00 08 */ li r5, 8 +/* 80309338 00306298 4B FF F3 0D */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 8030933C 0030629C 3B FF 00 01 */ addi r31, r31, 1 +/* 80309340 003062A0 2C 1F 00 08 */ cmpwi r31, 8 +/* 80309344 003062A4 41 80 FF E8 */ blt lbl_8030932C +/* 80309348 003062A8 7F C3 F3 78 */ mr r3, r30 +/* 8030934C 003062AC 48 00 00 99 */ bl Flush__Q29CGraphics12CRenderStateFv +/* 80309350 003062B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309354 003062B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80309358 003062B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030935C 003062BC 7C 08 03 A6 */ mtlr r0 +/* 80309360 003062C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309364 003062C4 4E 80 00 20 */ blr + +.global SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi +SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi: +/* 80309368 003062C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030936C 003062CC 7C 08 02 A6 */ mflr r0 +/* 80309370 003062D0 38 60 00 09 */ li r3, 9 +/* 80309374 003062D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309378 003062D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030937C 003062DC 7C DF 33 78 */ mr r31, r6 +/* 80309380 003062E0 93 C1 00 08 */ stw r30, 8(r1) +/* 80309384 003062E4 7C BE 2B 78 */ mr r30, r5 +/* 80309388 003062E8 38 A0 00 0C */ li r5, 0xc +/* 8030938C 003062EC 4B FF F2 B9 */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 80309390 003062F0 7F C4 F3 78 */ mr r4, r30 +/* 80309394 003062F4 38 60 00 0A */ li r3, 0xa +/* 80309398 003062F8 38 A0 00 0C */ li r5, 0xc +/* 8030939C 003062FC 4B FF F2 A9 */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 803093A0 00306300 7F E4 FB 78 */ mr r4, r31 +/* 803093A4 00306304 38 60 00 0B */ li r3, 0xb +/* 803093A8 00306308 38 A0 00 04 */ li r5, 4 +/* 803093AC 0030630C 4B FF F2 99 */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 803093B0 00306310 28 1E 00 00 */ cmplwi r30, 0 +/* 803093B4 00306314 38 60 00 01 */ li r3, 1 +/* 803093B8 00306318 41 82 00 08 */ beq lbl_803093C0 +/* 803093BC 0030631C 60 63 00 02 */ ori r3, r3, 2 +lbl_803093C0: +/* 803093C0 00306320 28 1F 00 00 */ cmplwi r31, 0 +/* 803093C4 00306324 41 82 00 08 */ beq lbl_803093CC +/* 803093C8 00306328 60 63 00 10 */ ori r3, r3, 0x10 +lbl_803093CC: +/* 803093CC 0030632C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803093D0 00306330 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803093D4 00306334 83 C1 00 08 */ lwz r30, 8(r1) +/* 803093D8 00306338 7C 08 03 A6 */ mtlr r0 +/* 803093DC 0030633C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803093E0 00306340 4E 80 00 20 */ blr + +.global Flush__Q29CGraphics12CRenderStateFv +Flush__Q29CGraphics12CRenderStateFv: +/* 803093E4 00306344 4E 80 00 20 */ blr + +.global __ct__Q29CGraphics12CRenderStateFv +__ct__Q29CGraphics12CRenderStateFv: +/* 803093E8 00306348 38 00 00 00 */ li r0, 0 +/* 803093EC 0030634C 90 03 00 00 */ stw r0, 0(r3) +/* 803093F0 00306350 90 03 00 04 */ stw r0, 4(r3) +/* 803093F4 00306354 4E 80 00 20 */ blr + +.global __dt__12CGraphicsSysFv +__dt__12CGraphicsSysFv: +/* 803093F8 00306358 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803093FC 0030635C 7C 08 02 A6 */ mflr r0 +/* 80309400 00306360 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309404 00306364 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80309408 00306368 7C 9F 23 78 */ mr r31, r4 +/* 8030940C 0030636C 93 C1 00 08 */ stw r30, 8(r1) +/* 80309410 00306370 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80309414 00306374 41 82 00 2C */ beq lbl_80309440 +/* 80309418 00306378 88 0D A7 A8 */ lbz r0, lbl_805A9368@sda21(r13) +/* 8030941C 0030637C 28 00 00 01 */ cmplwi r0, 1 +/* 80309420 00306380 40 82 00 10 */ bne lbl_80309430 +/* 80309424 00306384 48 00 3C 3D */ bl Shutdown__9CGraphicsFv +/* 80309428 00306388 38 00 00 00 */ li r0, 0 +/* 8030942C 0030638C 98 0D A7 A8 */ stb r0, lbl_805A9368@sda21(r13) +lbl_80309430: +/* 80309430 00306390 7F E0 07 35 */ extsh. r0, r31 +/* 80309434 00306394 40 81 00 0C */ ble lbl_80309440 +/* 80309438 00306398 7F C3 F3 78 */ mr r3, r30 +/* 8030943C 0030639C 48 00 C4 F5 */ bl Free__7CMemoryFPCv +lbl_80309440: +/* 80309440 003063A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309444 003063A4 7F C3 F3 78 */ mr r3, r30 +/* 80309448 003063A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030944C 003063AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80309450 003063B0 7C 08 03 A6 */ mtlr r0 +/* 80309454 003063B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309458 003063B8 4E 80 00 20 */ blr + +.global __ct__12CGraphicsSysFRC10COsContextRC10CMemorySysUiPv +__ct__12CGraphicsSysFRC10COsContextRC10CMemorySysUiPv: +/* 8030945C 003063BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309460 003063C0 7C 08 02 A6 */ mflr r0 +/* 80309464 003063C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309468 003063C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030946C 003063CC 7C 7F 1B 78 */ mr r31, r3 +/* 80309470 003063D0 88 0D A7 A8 */ lbz r0, lbl_805A9368@sda21(r13) +/* 80309474 003063D4 28 00 00 01 */ cmplwi r0, 1 +/* 80309478 003063D8 41 82 00 18 */ beq lbl_80309490 +/* 8030947C 003063DC 7C 83 23 78 */ mr r3, r4 +/* 80309480 003063E0 7C C4 33 78 */ mr r4, r6 +/* 80309484 003063E4 7C E5 3B 78 */ mr r5, r7 +/* 80309488 003063E8 48 00 3E 05 */ bl Startup__9CGraphicsFRC10COsContextUiPv +/* 8030948C 003063EC 98 6D A7 A8 */ stb r3, lbl_805A9368@sda21(r13) +lbl_80309490: +/* 80309490 003063F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309494 003063F4 7F E3 FB 78 */ mr r3, r31 +/* 80309498 003063F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030949C 003063FC 7C 08 03 A6 */ mtlr r0 +/* 803094A0 00306400 38 21 00 10 */ addi r1, r1, 0x10 +/* 803094A4 00306404 4E 80 00 20 */ blr + +.global SetIsBeginSceneClearFb__9CGraphicsFb +SetIsBeginSceneClearFb__9CGraphicsFb: +/* 803094A8 00306408 98 6D 9C 6C */ stb r3, lbl_805A882C@sda21(r13) +/* 803094AC 0030640C 4E 80 00 20 */ blr + +.global sub_803094b0 +sub_803094b0: +/* 803094B0 00306410 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803094B4 00306414 7C 08 02 A6 */ mflr r0 +/* 803094B8 00306418 90 01 00 24 */ stw r0, 0x24(r1) +/* 803094BC 0030641C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803094C0 00306420 7C 9F 23 78 */ mr r31, r4 +/* 803094C4 00306424 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803094C8 00306428 7C 7E 1B 78 */ mr r30, r3 +/* 803094CC 0030642C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803094D0 00306430 7C BD 2B 78 */ mr r29, r5 +/* 803094D4 00306434 80 0D A8 48 */ lwz r0, lbl_805A9408@sda21(r13) +/* 803094D8 00306438 80 6D A8 4C */ lwz r3, lbl_805A940C@sda21(r13) +/* 803094DC 0030643C 7C 80 F0 51 */ subf. r4, r0, r30 +/* 803094E0 00306440 80 0D A8 50 */ lwz r0, lbl_805A9410@sda21(r13) +/* 803094E4 00306444 7C A3 F8 50 */ subf r5, r3, r31 +/* 803094E8 00306448 7C E0 E8 50 */ subf r7, r0, r29 +/* 803094EC 0030644C 40 82 00 14 */ bne lbl_80309500 +/* 803094F0 00306450 2C 05 00 00 */ cmpwi r5, 0 +/* 803094F4 00306454 40 82 00 0C */ bne lbl_80309500 +/* 803094F8 00306458 2C 07 00 00 */ cmpwi r7, 0 +/* 803094FC 0030645C 41 82 00 4C */ beq lbl_80309548 +lbl_80309500: +/* 80309500 00306460 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 80309504 00306464 54 80 08 3C */ slwi r0, r4, 1 +/* 80309508 00306468 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 8030950C 0030646C 7C 84 28 50 */ subf r4, r4, r5 +/* 80309510 00306470 A0 C3 00 0E */ lhz r6, 0xe(r3) +/* 80309514 00306474 A0 A3 00 0A */ lhz r5, 0xa(r3) +/* 80309518 00306478 7C C6 02 14 */ add r6, r6, r0 +/* 8030951C 0030647C A0 03 00 0C */ lhz r0, 0xc(r3) +/* 80309520 00306480 7C 85 22 14 */ add r4, r5, r4 +/* 80309524 00306484 B0 C3 00 0E */ sth r6, 0xe(r3) +/* 80309528 00306488 7C 00 3A 14 */ add r0, r0, r7 +/* 8030952C 0030648C B0 83 00 0A */ sth r4, 0xa(r3) +/* 80309530 00306490 B0 03 00 0C */ sth r0, 0xc(r3) +/* 80309534 00306494 48 07 F0 21 */ bl VIConfigure +/* 80309538 00306498 48 07 FB D9 */ bl VIFlush +/* 8030953C 0030649C 93 CD A8 48 */ stw r30, lbl_805A9408@sda21(r13) +/* 80309540 003064A0 93 ED A8 4C */ stw r31, lbl_805A940C@sda21(r13) +/* 80309544 003064A4 93 AD A8 50 */ stw r29, lbl_805A9410@sda21(r13) +lbl_80309548: +/* 80309548 003064A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030954C 003064AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80309550 003064B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80309554 003064B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80309558 003064B8 7C 08 03 A6 */ mtlr r0 +/* 8030955C 003064BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80309560 003064C0 4E 80 00 20 */ blr + +.global sub_80309564 +sub_80309564: +/* 80309564 003064C4 28 03 00 00 */ cmplwi r3, 0 +/* 80309568 003064C8 41 82 00 0C */ beq lbl_80309574 +/* 8030956C 003064CC 80 0D A8 48 */ lwz r0, lbl_805A9408@sda21(r13) +/* 80309570 003064D0 90 03 00 00 */ stw r0, 0(r3) +lbl_80309574: +/* 80309574 003064D4 28 04 00 00 */ cmplwi r4, 0 +/* 80309578 003064D8 41 82 00 0C */ beq lbl_80309584 +/* 8030957C 003064DC 80 0D A8 4C */ lwz r0, lbl_805A940C@sda21(r13) +/* 80309580 003064E0 90 04 00 00 */ stw r0, 0(r4) +lbl_80309584: +/* 80309584 003064E4 28 05 00 00 */ cmplwi r5, 0 +/* 80309588 003064E8 4D 82 00 20 */ beqlr +/* 8030958C 003064EC 80 0D A8 50 */ lwz r0, lbl_805A9410@sda21(r13) +/* 80309590 003064F0 90 05 00 00 */ stw r0, 0(r5) +/* 80309594 003064F4 4E 80 00 20 */ blr + +.global GetProgressiveDefault__9CGraphicsFv +GetProgressiveDefault__9CGraphicsFv: +/* 80309598 003064F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030959C 003064FC 7C 08 02 A6 */ mflr r0 +/* 803095A0 00306500 90 01 00 14 */ stw r0, 0x14(r1) +/* 803095A4 00306504 48 07 AB 91 */ bl OSGetProgressiveMode +/* 803095A8 00306508 20 03 00 01 */ subfic r0, r3, 1 +/* 803095AC 0030650C 7C 00 00 34 */ cntlzw r0, r0 +/* 803095B0 00306510 54 03 D9 7E */ srwi r3, r0, 5 +/* 803095B4 00306514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803095B8 00306518 7C 08 03 A6 */ mtlr r0 +/* 803095BC 0030651C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803095C0 00306520 4E 80 00 20 */ blr + +.global CanSetProgressiveMode__9CGraphicsFv +CanSetProgressiveMode__9CGraphicsFv: +/* 803095C4 00306524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803095C8 00306528 7C 08 02 A6 */ mflr r0 +/* 803095CC 0030652C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803095D0 00306530 48 07 FF 71 */ bl VIGetDTVStatus +/* 803095D4 00306534 7C 03 00 D0 */ neg r0, r3 +/* 803095D8 00306538 7C 00 1B 78 */ or r0, r0, r3 +/* 803095DC 0030653C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803095E0 00306540 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803095E4 00306544 7C 08 03 A6 */ mtlr r0 +/* 803095E8 00306548 38 21 00 10 */ addi r1, r1, 0x10 +/* 803095EC 0030654C 4E 80 00 20 */ blr + +.global GetProgressiveMode__9CGraphicsFv +GetProgressiveMode__9CGraphicsFv: +/* 803095F0 00306550 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 803095F4 00306554 80 03 65 00 */ lwz r0, lbl_805A6500@l(r3) +/* 803095F8 00306558 20 00 00 02 */ subfic r0, r0, 2 +/* 803095FC 0030655C 7C 00 00 34 */ cntlzw r0, r0 +/* 80309600 00306560 54 03 D9 7E */ srwi r3, r0, 5 +/* 80309604 00306564 4E 80 00 20 */ blr + +.global SetProgressiveMode__9CGraphicsFb +SetProgressiveMode__9CGraphicsFb: +/* 80309608 00306568 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030960C 0030656C 7C 08 02 A6 */ mflr r0 +/* 80309610 00306570 90 01 00 24 */ stw r0, 0x24(r1) +/* 80309614 00306574 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80309618 00306578 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030961C 0030657C 7C 7E 1B 78 */ mr r30, r3 +/* 80309620 00306580 4B FF FF D1 */ bl GetProgressiveMode__9CGraphicsFv +/* 80309624 00306584 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 80309628 00306588 7C 7F 1B 78 */ mr r31, r3 +/* 8030962C 0030658C 7C 04 00 D0 */ neg r0, r4 +/* 80309630 00306590 7C 00 23 78 */ or r0, r0, r4 +/* 80309634 00306594 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80309638 00306598 48 07 AB 6D */ bl sub_803841a4 +/* 8030963C 0030659C 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80309640 003065A0 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 80309644 003065A4 7C 03 00 40 */ cmplw r3, r0 +/* 80309648 003065A8 41 82 01 0C */ beq lbl_80309754 +/* 8030964C 003065AC 38 60 00 01 */ li r3, 1 +/* 80309650 003065B0 48 07 FC 5D */ bl VISetBlack +/* 80309654 003065B4 48 07 FA BD */ bl VIFlush +/* 80309658 003065B8 48 07 EA 35 */ bl VIWaitForRetrace +/* 8030965C 003065BC 3B E0 00 00 */ li r31, 0 +lbl_80309660: +/* 80309660 003065C0 48 07 EA 2D */ bl VIWaitForRetrace +/* 80309664 003065C4 3B FF 00 01 */ addi r31, r31, 1 +/* 80309668 003065C8 2C 1F 00 0A */ cmpwi r31, 0xa +/* 8030966C 003065CC 41 80 FF F4 */ blt lbl_80309660 +/* 80309670 003065D0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80309674 003065D4 41 82 00 48 */ beq lbl_803096BC +/* 80309678 003065D8 80 E2 C7 E0 */ lwz r7, lbl_805AE500@sda21(r2) +/* 8030967C 003065DC 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 80309680 003065E0 A0 C2 C7 E4 */ lhz r6, lbl_805AE504@sda21(r2) +/* 80309684 003065E4 39 03 65 00 */ addi r8, r3, lbl_805A6500@l +/* 80309688 003065E8 88 02 C7 E6 */ lbz r0, lbl_805AE506@sda21(r2) +/* 8030968C 003065EC 38 60 00 02 */ li r3, 2 +/* 80309690 003065F0 38 A0 00 00 */ li r5, 0 +/* 80309694 003065F4 90 68 00 00 */ stw r3, 0(r8) +/* 80309698 003065F8 38 68 00 32 */ addi r3, r8, 0x32 +/* 8030969C 003065FC 38 81 00 08 */ addi r4, r1, 8 +/* 803096A0 00306600 90 A8 00 14 */ stw r5, 0x14(r8) +/* 803096A4 00306604 38 A0 00 07 */ li r5, 7 +/* 803096A8 00306608 90 E1 00 08 */ stw r7, 8(r1) +/* 803096AC 0030660C B0 C1 00 0C */ sth r6, 0xc(r1) +/* 803096B0 00306610 98 01 00 0E */ stb r0, 0xe(r1) +/* 803096B4 00306614 4B CF 9D DD */ bl memcpy +/* 803096B8 00306618 48 00 00 34 */ b lbl_803096EC +lbl_803096BC: +/* 803096BC 0030661C 3C 80 80 5A */ lis r4, lbl_805A6500@ha +/* 803096C0 00306620 3C 60 80 3F */ lis r3, lbl_803F08E0@ha +/* 803096C4 00306624 38 C4 65 00 */ addi r6, r4, lbl_805A6500@l +/* 803096C8 00306628 38 A0 00 00 */ li r5, 0 +/* 803096CC 0030662C 38 00 00 01 */ li r0, 1 +/* 803096D0 00306630 38 83 08 E0 */ addi r4, r3, lbl_803F08E0@l +/* 803096D4 00306634 90 A6 00 00 */ stw r5, 0(r6) +/* 803096D8 00306638 38 66 00 32 */ addi r3, r6, 0x32 +/* 803096DC 0030663C 38 84 00 32 */ addi r4, r4, 0x32 +/* 803096E0 00306640 38 A0 00 07 */ li r5, 7 +/* 803096E4 00306644 90 06 00 14 */ stw r0, 0x14(r6) +/* 803096E8 00306648 4B CF 9D A9 */ bl memcpy +lbl_803096EC: +/* 803096EC 0030664C 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 803096F0 00306650 38 A0 00 01 */ li r5, 1 +/* 803096F4 00306654 38 C3 65 00 */ addi r6, r3, lbl_805A6500@l +/* 803096F8 00306658 88 66 00 19 */ lbz r3, 0x19(r6) +/* 803096FC 0030665C 38 86 00 1A */ addi r4, r6, 0x1a +/* 80309700 00306660 38 C6 00 32 */ addi r6, r6, 0x32 +/* 80309704 00306664 48 06 FA 91 */ bl GXSetCopyFilter +/* 80309708 00306668 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030970C 0030666C 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 80309710 00306670 48 07 EE 45 */ bl VIConfigure +/* 80309714 00306674 38 60 00 01 */ li r3, 1 +/* 80309718 00306678 48 07 FB 95 */ bl VISetBlack +/* 8030971C 0030667C 48 07 F9 F5 */ bl VIFlush +/* 80309720 00306680 3B E0 00 00 */ li r31, 0 +lbl_80309724: +/* 80309724 00306684 48 07 E9 69 */ bl VIWaitForRetrace +/* 80309728 00306688 3B FF 00 01 */ addi r31, r31, 1 +/* 8030972C 0030668C 2C 1F 00 64 */ cmpwi r31, 0x64 +/* 80309730 00306690 41 80 FF F4 */ blt lbl_80309724 +/* 80309734 00306694 38 60 00 00 */ li r3, 0 +/* 80309738 00306698 48 07 FB 75 */ bl VISetBlack +/* 8030973C 0030669C 48 07 F9 D5 */ bl VIFlush +/* 80309740 003066A0 3B E0 00 00 */ li r31, 0 +lbl_80309744: +/* 80309744 003066A4 48 07 E9 49 */ bl VIWaitForRetrace +/* 80309748 003066A8 3B FF 00 01 */ addi r31, r31, 1 +/* 8030974C 003066AC 2C 1F 00 02 */ cmpwi r31, 2 +/* 80309750 003066B0 41 80 FF F4 */ blt lbl_80309744 +lbl_80309754: +/* 80309754 003066B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80309758 003066B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030975C 003066BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80309760 003066C0 7C 08 03 A6 */ mtlr r0 +/* 80309764 003066C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80309768 003066C8 4E 80 00 20 */ blr + +.global ProjectPoint__9CGraphicsFRC9CVector3f +ProjectPoint__9CGraphicsFRC9CVector3f: +/* 8030976C 003066CC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80309770 003066D0 7C 08 02 A6 */ mflr r0 +/* 80309774 003066D4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80309778 003066D8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8030977C 003066DC 7C 9F 23 78 */ mr r31, r4 +/* 80309780 003066E0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80309784 003066E4 7C 7E 1B 78 */ mr r30, r3 +/* 80309788 003066E8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8030978C 003066EC 48 00 2B A5 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv +/* 80309790 003066F0 7F E5 FB 78 */ mr r5, r31 +/* 80309794 003066F4 38 61 00 08 */ addi r3, r1, 8 +/* 80309798 003066F8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8030979C 003066FC 48 00 6F B5 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 803097A0 00306700 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803097A4 00306704 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 803097A8 00306708 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 803097AC 0030670C C0 21 00 08 */ lfs f1, 8(r1) +/* 803097B0 00306710 FC 00 00 50 */ fneg f0, f0 +/* 803097B4 00306714 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 803097B8 00306718 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 803097BC 0030671C 7F C3 F3 78 */ mr r3, r30 +/* 803097C0 00306720 EC 21 10 BA */ fmadds f1, f1, f2, f2 +/* 803097C4 00306724 EC 00 18 FA */ fmadds f0, f0, f3, f3 +/* 803097C8 00306728 FC 20 08 1E */ fctiwz f1, f1 +/* 803097CC 0030672C FC 00 00 1E */ fctiwz f0, f0 +/* 803097D0 00306730 D8 21 00 58 */ stfd f1, 0x58(r1) +/* 803097D4 00306734 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 803097D8 00306738 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 803097DC 0030673C 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 803097E0 00306740 48 00 AB 6D */ bl __ct__9CVector2iFii +/* 803097E4 00306744 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803097E8 00306748 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 803097EC 0030674C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 803097F0 00306750 7C 08 03 A6 */ mtlr r0 +/* 803097F4 00306754 38 21 00 70 */ addi r1, r1, 0x70 +/* 803097F8 00306758 4E 80 00 20 */ blr + +.global GetFrameCounter__9CGraphicsFv +GetFrameCounter__9CGraphicsFv: +/* 803097FC 0030675C 80 6D A8 00 */ lwz r3, lbl_805A93C0@sda21(r13) +/* 80309800 00306760 4E 80 00 20 */ blr + +.global GetUseVideoFilter__9CGraphicsFv +GetUseVideoFilter__9CGraphicsFv: +/* 80309804 00306764 88 6D 9C 82 */ lbz r3, lbl_805A8842@sda21(r13) +/* 80309808 00306768 4E 80 00 20 */ blr + +.global SetUseVideoFilter__9CGraphicsFb +SetUseVideoFilter__9CGraphicsFb: +/* 8030980C 0030676C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309810 00306770 7C 08 02 A6 */ mflr r0 +/* 80309814 00306774 3C 80 80 5A */ lis r4, lbl_805A6500@ha +/* 80309818 00306778 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 8030981C 0030677C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309820 00306780 38 C4 65 00 */ addi r6, r4, lbl_805A6500@l +/* 80309824 00306784 7C 05 00 D0 */ neg r0, r5 +/* 80309828 00306788 98 6D 9C 82 */ stb r3, lbl_805A8842@sda21(r13) +/* 8030982C 0030678C 7C 00 2B 78 */ or r0, r0, r5 +/* 80309830 00306790 88 66 00 19 */ lbz r3, 0x19(r6) +/* 80309834 00306794 38 86 00 1A */ addi r4, r6, 0x1a +/* 80309838 00306798 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8030983C 0030679C 38 C6 00 32 */ addi r6, r6, 0x32 +/* 80309840 003067A0 48 06 F9 55 */ bl GXSetCopyFilter +/* 80309844 003067A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309848 003067A8 7C 08 03 A6 */ mtlr r0 +/* 8030984C 003067AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309850 003067B0 4E 80 00 20 */ blr + +.global GetFPS__9CGraphicsFv +GetFPS__9CGraphicsFv: +/* 80309854 003067B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80309858 003067B8 7C 08 02 A6 */ mflr r0 +/* 8030985C 003067BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80309860 003067C0 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80309864 003067C4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80309868 003067C8 48 07 7D F9 */ bl OSDisableInterrupts +/* 8030986C 003067CC C0 2D A8 08 */ lfs f1, lbl_805A93C8@sda21(r13) +/* 80309870 003067D0 C0 0D A8 04 */ lfs f0, lbl_805A93C4@sda21(r13) +/* 80309874 003067D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309878 003067D8 40 80 00 0C */ bge lbl_80309884 +/* 8030987C 003067DC 38 8D A8 08 */ addi r4, r13, lbl_805A93C8@sda21 +/* 80309880 003067E0 48 00 00 08 */ b lbl_80309888 +lbl_80309884: +/* 80309884 003067E4 38 8D A8 04 */ addi r4, r13, lbl_805A93C4@sda21 +lbl_80309888: +/* 80309888 003067E8 C3 E4 00 00 */ lfs f31, 0(r4) +/* 8030988C 003067EC 48 07 7D FD */ bl OSRestoreInterrupts +/* 80309890 003067F0 FC 20 F8 90 */ fmr f1, f31 +/* 80309894 003067F4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80309898 003067F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030989C 003067FC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803098A0 00306800 7C 08 03 A6 */ mtlr r0 +/* 803098A4 00306804 38 21 00 20 */ addi r1, r1, 0x20 +/* 803098A8 00306808 4E 80 00 20 */ blr + +.global ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat: +/* 803098AC 0030680C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803098B0 00306810 7C 08 02 A6 */ mflr r0 +/* 803098B4 00306814 3C E0 80 5A */ lis r7, lbl_805A6204@ha +/* 803098B8 00306818 90 01 00 64 */ stw r0, 0x64(r1) +/* 803098BC 0030681C 38 07 62 04 */ addi r0, r7, lbl_805A6204@l +/* 803098C0 00306820 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 803098C4 00306824 93 C1 00 58 */ stw r30, 0x58(r1) +/* 803098C8 00306828 7C DE 33 78 */ mr r30, r6 +/* 803098CC 0030682C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 803098D0 00306830 7C 9D 23 78 */ mr r29, r4 +/* 803098D4 00306834 7C 04 03 78 */ mr r4, r0 +/* 803098D8 00306838 93 81 00 50 */ stw r28, 0x50(r1) +/* 803098DC 0030683C 7C 7C 1B 78 */ mr r28, r3 +/* 803098E0 00306840 38 61 00 20 */ addi r3, r1, 0x20 +/* 803098E4 00306844 48 00 92 05 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803098E8 00306848 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 803098EC 0030684C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 803098F0 00306850 3B E3 61 D4 */ addi r31, r3, lbl_805A61D4@l +/* 803098F4 00306854 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 803098F8 00306858 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 803098FC 0030685C 7F E4 FB 78 */ mr r4, r31 +/* 80309900 00306860 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80309904 00306864 38 61 00 2C */ addi r3, r1, 0x2c +/* 80309908 00306868 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8030990C 0030686C C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80309910 00306870 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80309914 00306874 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80309918 00306878 38 A1 00 08 */ addi r5, r1, 8 +/* 8030991C 0030687C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80309920 00306880 D0 81 00 08 */ stfs f4, 8(r1) +/* 80309924 00306884 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80309928 00306888 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8030992C 0030688C 48 00 90 F9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80309930 00306890 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 80309934 00306894 7F A5 EB 78 */ mr r5, r29 +/* 80309938 00306898 38 83 62 04 */ addi r4, r3, lbl_805A6204@l +/* 8030993C 0030689C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80309940 003068A0 48 00 91 A9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80309944 003068A4 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80309948 003068A8 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030994C 003068AC C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80309950 003068B0 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 80309954 003068B4 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 80309958 003068B8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8030995C 003068BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80309960 003068C0 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80309964 003068C4 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80309968 003068C8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8030996C 003068CC C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80309970 003068D0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80309974 003068D4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80309978 003068D8 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8030997C 003068DC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80309980 003068E0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80309984 003068E4 48 00 90 A1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80309988 003068E8 7F 83 E3 78 */ mr r3, r28 +/* 8030998C 003068EC 7F C6 F3 78 */ mr r6, r30 +/* 80309990 003068F0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80309994 003068F4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80309998 003068F8 48 00 00 25 */ bl ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +/* 8030999C 003068FC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803099A0 00306900 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 803099A4 00306904 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 803099A8 00306908 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 803099AC 0030690C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 803099B0 00306910 7C 08 03 A6 */ mtlr r0 +/* 803099B4 00306914 38 21 00 60 */ addi r1, r1, 0x60 +/* 803099B8 00306918 4E 80 00 20 */ blr + +.global ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat: +/* 803099BC 0030691C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803099C0 00306920 7C 08 02 A6 */ mflr r0 +/* 803099C4 00306924 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 803099C8 00306928 90 01 00 74 */ stw r0, 0x74(r1) +/* 803099CC 0030692C 38 00 00 00 */ li r0, 0 +/* 803099D0 00306930 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 803099D4 00306934 7C DF 33 78 */ mr r31, r6 +/* 803099D8 00306938 93 C1 00 68 */ stw r30, 0x68(r1) +/* 803099DC 0030693C 7C 7E 1B 78 */ mr r30, r3 +/* 803099E0 00306940 93 A1 00 64 */ stw r29, 0x64(r1) +/* 803099E4 00306944 7C 9D 23 78 */ mr r29, r4 +/* 803099E8 00306948 93 81 00 60 */ stw r28, 0x60(r1) +/* 803099EC 0030694C 7C BC 2B 78 */ mr r28, r5 +/* 803099F0 00306950 C0 04 00 00 */ lfs f0, 0(r4) +/* 803099F4 00306954 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803099F8 00306958 40 82 00 1C */ bne lbl_80309A14 +/* 803099FC 0030695C C0 1D 00 04 */ lfs f0, 4(r29) +/* 80309A00 00306960 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A04 00306964 40 82 00 10 */ bne lbl_80309A14 +/* 80309A08 00306968 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80309A0C 0030696C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A10 00306970 41 82 00 08 */ beq lbl_80309A18 +lbl_80309A14: +/* 80309A14 00306974 38 00 00 01 */ li r0, 1 +lbl_80309A18: +/* 80309A18 00306978 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80309A1C 0030697C 41 82 00 3C */ beq lbl_80309A58 +/* 80309A20 00306980 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 80309A24 00306984 38 00 00 00 */ li r0, 0 +/* 80309A28 00306988 C0 1C 00 00 */ lfs f0, 0(r28) +/* 80309A2C 0030698C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A30 00306990 40 82 00 1C */ bne lbl_80309A4C +/* 80309A34 00306994 C0 1C 00 04 */ lfs f0, 4(r28) +/* 80309A38 00306998 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A3C 0030699C 40 82 00 10 */ bne lbl_80309A4C +/* 80309A40 003069A0 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80309A44 003069A4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A48 003069A8 41 82 00 08 */ beq lbl_80309A50 +lbl_80309A4C: +/* 80309A4C 003069AC 38 00 00 01 */ li r0, 1 +lbl_80309A50: +/* 80309A50 003069B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80309A54 003069B4 40 82 00 10 */ bne lbl_80309A64 +lbl_80309A58: +/* 80309A58 003069B8 38 00 00 00 */ li r0, 0 +/* 80309A5C 003069BC 98 1E 00 00 */ stb r0, 0(r30) +/* 80309A60 003069C0 48 00 03 80 */ b lbl_80309DE0 +lbl_80309A64: +/* 80309A64 003069C4 48 00 03 F9 */ bl GetProjectionState__9CGraphicsFv +/* 80309A68 003069C8 C0 3D 00 04 */ lfs f1, 4(r29) +/* 80309A6C 003069CC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80309A70 003069D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309A74 003069D4 41 80 00 18 */ blt lbl_80309A8C +/* 80309A78 003069D8 48 00 03 E5 */ bl GetProjectionState__9CGraphicsFv +/* 80309A7C 003069DC C0 3C 00 04 */ lfs f1, 4(r28) +/* 80309A80 003069E0 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80309A84 003069E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309A88 003069E8 40 80 00 10 */ bge lbl_80309A98 +lbl_80309A8C: +/* 80309A8C 003069EC 38 00 00 00 */ li r0, 0 +/* 80309A90 003069F0 98 1E 00 00 */ stb r0, 0(r30) +/* 80309A94 003069F4 48 00 03 4C */ b lbl_80309DE0 +lbl_80309A98: +/* 80309A98 003069F8 48 00 03 C5 */ bl GetProjectionState__9CGraphicsFv +/* 80309A9C 003069FC C0 3D 00 04 */ lfs f1, 4(r29) +/* 80309AA0 00306A00 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80309AA4 00306A04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309AA8 00306A08 41 81 00 18 */ bgt lbl_80309AC0 +/* 80309AAC 00306A0C 48 00 03 B1 */ bl GetProjectionState__9CGraphicsFv +/* 80309AB0 00306A10 C0 3C 00 04 */ lfs f1, 4(r28) +/* 80309AB4 00306A14 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80309AB8 00306A18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309ABC 00306A1C 40 81 00 10 */ ble lbl_80309ACC +lbl_80309AC0: +/* 80309AC0 00306A20 38 00 00 00 */ li r0, 0 +/* 80309AC4 00306A24 98 1E 00 00 */ stb r0, 0(r30) +/* 80309AC8 00306A28 48 00 03 18 */ b lbl_80309DE0 +lbl_80309ACC: +/* 80309ACC 00306A2C 7F A4 EB 78 */ mr r4, r29 +/* 80309AD0 00306A30 38 61 00 38 */ addi r3, r1, 0x38 +/* 80309AD4 00306A34 4B FF FC 99 */ bl ProjectPoint__9CGraphicsFRC9CVector3f +/* 80309AD8 00306A38 83 A1 00 38 */ lwz r29, 0x38(r1) +/* 80309ADC 00306A3C 7F 84 E3 78 */ mr r4, r28 +/* 80309AE0 00306A40 83 81 00 3C */ lwz r28, 0x3c(r1) +/* 80309AE4 00306A44 38 61 00 30 */ addi r3, r1, 0x30 +/* 80309AE8 00306A48 4B FF FC 85 */ bl ProjectPoint__9CGraphicsFRC9CVector3f +/* 80309AEC 00306A4C 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80309AF0 00306A50 38 61 00 1C */ addi r3, r1, 0x1c +/* 80309AF4 00306A54 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 80309AF8 00306A58 7C 04 E8 00 */ cmpw r4, r29 +/* 80309AFC 00306A5C 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80309B00 00306A60 90 81 00 18 */ stw r4, 0x18(r1) +/* 80309B04 00306A64 40 80 00 08 */ bge lbl_80309B0C +/* 80309B08 00306A68 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80309B0C: +/* 80309B0C 00306A6C 80 03 00 00 */ lwz r0, 0(r3) +/* 80309B10 00306A70 7C 05 E0 00 */ cmpw r5, r28 +/* 80309B14 00306A74 39 61 00 14 */ addi r11, r1, 0x14 +/* 80309B18 00306A78 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80309B1C 00306A7C 93 81 00 14 */ stw r28, 0x14(r1) +/* 80309B20 00306A80 40 80 00 08 */ bge lbl_80309B28 +/* 80309B24 00306A84 39 61 00 10 */ addi r11, r1, 0x10 +lbl_80309B28: +/* 80309B28 00306A88 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80309B2C 00306A8C 7C 84 E8 50 */ subf r4, r4, r29 +/* 80309B30 00306A90 39 03 D9 10 */ addi r8, r3, lbl_803ED910@l +/* 80309B34 00306A94 7C A5 E0 50 */ subf r5, r5, r28 +/* 80309B38 00306A98 81 88 00 00 */ lwz r12, 0(r8) +/* 80309B3C 00306A9C 7C 8A FE 70 */ srawi r10, r4, 0x1f +/* 80309B40 00306AA0 80 C8 00 08 */ lwz r6, 8(r8) +/* 80309B44 00306AA4 7C A7 FE 70 */ srawi r7, r5, 0x1f +/* 80309B48 00306AA8 54 09 00 3C */ rlwinm r9, r0, 0, 0, 0x1e +/* 80309B4C 00306AAC 80 6B 00 00 */ lwz r3, 0(r11) +/* 80309B50 00306AB0 7D 6C 32 14 */ add r11, r12, r6 +/* 80309B54 00306AB4 7D 44 22 78 */ xor r4, r10, r4 +/* 80309B58 00306AB8 7C E5 2A 78 */ xor r5, r7, r5 +/* 80309B5C 00306ABC 91 21 00 2C */ stw r9, 0x2c(r1) +/* 80309B60 00306AC0 7C 09 58 00 */ cmpw r9, r11 +/* 80309B64 00306AC4 7C 8A 20 50 */ subf r4, r10, r4 +/* 80309B68 00306AC8 7C A7 28 50 */ subf r5, r7, r5 +/* 80309B6C 00306ACC 41 80 00 10 */ blt lbl_80309B7C +/* 80309B70 00306AD0 38 00 00 00 */ li r0, 0 +/* 80309B74 00306AD4 98 1E 00 00 */ stb r0, 0(r30) +/* 80309B78 00306AD8 48 00 02 68 */ b lbl_80309DE0 +lbl_80309B7C: +/* 80309B7C 00306ADC 38 C4 00 02 */ addi r6, r4, 2 +/* 80309B80 00306AE0 7C C0 32 14 */ add r6, r0, r6 +/* 80309B84 00306AE4 54 C7 00 3C */ rlwinm r7, r6, 0, 0, 0x1e +/* 80309B88 00306AE8 7C 07 60 00 */ cmpw r7, r12 +/* 80309B8C 00306AEC 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80309B90 00306AF0 41 81 00 10 */ bgt lbl_80309BA0 +/* 80309B94 00306AF4 38 00 00 00 */ li r0, 0 +/* 80309B98 00306AF8 98 1E 00 00 */ stb r0, 0(r30) +/* 80309B9C 00306AFC 48 00 02 44 */ b lbl_80309DE0 +lbl_80309BA0: +/* 80309BA0 00306B00 7C 09 60 00 */ cmpw r9, r12 +/* 80309BA4 00306B04 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80309BA8 00306B08 40 80 00 08 */ bge lbl_80309BB0 +/* 80309BAC 00306B0C 7D 06 43 78 */ mr r6, r8 +lbl_80309BB0: +/* 80309BB0 00306B10 80 C6 00 00 */ lwz r6, 0(r6) +/* 80309BB4 00306B14 7C 0B 38 00 */ cmpw r11, r7 +/* 80309BB8 00306B18 38 E1 00 28 */ addi r7, r1, 0x28 +/* 80309BBC 00306B1C 54 C6 00 3C */ rlwinm r6, r6, 0, 0, 0x1e +/* 80309BC0 00306B20 91 61 00 0C */ stw r11, 0xc(r1) +/* 80309BC4 00306B24 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80309BC8 00306B28 40 80 00 08 */ bge lbl_80309BD0 +/* 80309BCC 00306B2C 38 E1 00 0C */ addi r7, r1, 0xc +lbl_80309BD0: +/* 80309BD0 00306B30 3C C0 80 3F */ lis r6, lbl_803ED910@ha +/* 80309BD4 00306B34 81 07 00 00 */ lwz r8, 0(r7) +/* 80309BD8 00306B38 38 C6 D9 10 */ addi r6, r6, lbl_803ED910@l +/* 80309BDC 00306B3C 54 67 00 3C */ rlwinm r7, r3, 0, 0, 0x1e +/* 80309BE0 00306B40 39 46 00 04 */ addi r10, r6, 4 +/* 80309BE4 00306B44 39 08 00 01 */ addi r8, r8, 1 +/* 80309BE8 00306B48 81 26 00 04 */ lwz r9, 4(r6) +/* 80309BEC 00306B4C 55 08 00 3C */ rlwinm r8, r8, 0, 0, 0x1e +/* 80309BF0 00306B50 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80309BF4 00306B54 91 01 00 28 */ stw r8, 0x28(r1) +/* 80309BF8 00306B58 7D 09 32 14 */ add r8, r9, r6 +/* 80309BFC 00306B5C 7C 07 40 00 */ cmpw r7, r8 +/* 80309C00 00306B60 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80309C04 00306B64 41 80 00 10 */ blt lbl_80309C14 +/* 80309C08 00306B68 38 00 00 00 */ li r0, 0 +/* 80309C0C 00306B6C 98 1E 00 00 */ stb r0, 0(r30) +/* 80309C10 00306B70 48 00 01 D0 */ b lbl_80309DE0 +lbl_80309C14: +/* 80309C14 00306B74 38 C5 00 02 */ addi r6, r5, 2 +/* 80309C18 00306B78 7C C3 32 14 */ add r6, r3, r6 +/* 80309C1C 00306B7C 54 C6 00 3C */ rlwinm r6, r6, 0, 0, 0x1e +/* 80309C20 00306B80 7C 06 48 00 */ cmpw r6, r9 +/* 80309C24 00306B84 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80309C28 00306B88 41 81 00 10 */ bgt lbl_80309C38 +/* 80309C2C 00306B8C 38 00 00 00 */ li r0, 0 +/* 80309C30 00306B90 98 1E 00 00 */ stb r0, 0(r30) +/* 80309C34 00306B94 48 00 01 AC */ b lbl_80309DE0 +lbl_80309C38: +/* 80309C38 00306B98 7C 07 48 00 */ cmpw r7, r9 +/* 80309C3C 00306B9C 40 80 00 08 */ bge lbl_80309C44 +/* 80309C40 00306BA0 48 00 00 08 */ b lbl_80309C48 +lbl_80309C44: +/* 80309C44 00306BA4 39 41 00 24 */ addi r10, r1, 0x24 +lbl_80309C48: +/* 80309C48 00306BA8 80 EA 00 00 */ lwz r7, 0(r10) +/* 80309C4C 00306BAC 7C 08 30 00 */ cmpw r8, r6 +/* 80309C50 00306BB0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80309C54 00306BB4 54 E7 00 3C */ rlwinm r7, r7, 0, 0, 0x1e +/* 80309C58 00306BB8 91 01 00 08 */ stw r8, 8(r1) +/* 80309C5C 00306BBC 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80309C60 00306BC0 40 80 00 08 */ bge lbl_80309C68 +/* 80309C64 00306BC4 38 C1 00 08 */ addi r6, r1, 8 +lbl_80309C68: +/* 80309C68 00306BC8 80 C6 00 00 */ lwz r6, 0(r6) +/* 80309C6C 00306BCC 3C E0 43 30 */ lis r7, 0x4330 +/* 80309C70 00306BD0 81 21 00 24 */ lwz r9, 0x24(r1) +/* 80309C74 00306BD4 2C 1F 00 03 */ cmpwi r31, 3 +/* 80309C78 00306BD8 38 C6 00 01 */ addi r6, r6, 1 +/* 80309C7C 00306BDC 90 E1 00 40 */ stw r7, 0x40(r1) +/* 80309C80 00306BE0 7D 49 18 50 */ subf r10, r9, r3 +/* 80309C84 00306BE4 C8 42 C7 E8 */ lfd f2, lbl_805AE508@sda21(r2) +/* 80309C88 00306BE8 54 C8 00 3C */ rlwinm r8, r6, 0, 0, 0x1e +/* 80309C8C 00306BEC 90 E1 00 48 */ stw r7, 0x48(r1) +/* 80309C90 00306BF0 38 6A 00 01 */ addi r3, r10, 1 +/* 80309C94 00306BF4 6D 46 80 00 */ xoris r6, r10, 0x8000 +/* 80309C98 00306BF8 7D 49 40 50 */ subf r10, r9, r8 +/* 80309C9C 00306BFC 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 80309CA0 00306C00 6D 46 80 00 */ xoris r6, r10, 0x8000 +/* 80309CA4 00306C04 7C 65 1A 14 */ add r3, r5, r3 +/* 80309CA8 00306C08 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80309CAC 00306C0C 90 C1 00 44 */ stw r6, 0x44(r1) +/* 80309CB0 00306C10 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80309CB4 00306C14 3B 80 00 04 */ li r28, 4 +/* 80309CB8 00306C18 C8 21 00 40 */ lfd f1, 0x40(r1) +/* 80309CBC 00306C1C 90 61 00 54 */ stw r3, 0x54(r1) +/* 80309CC0 00306C20 EC 60 10 28 */ fsubs f3, f0, f2 +/* 80309CC4 00306C24 EC 01 10 28 */ fsubs f0, f1, f2 +/* 80309CC8 00306C28 90 E1 00 50 */ stw r7, 0x50(r1) +/* 80309CCC 00306C2C C8 21 00 50 */ lfd f1, 0x50(r1) +/* 80309CD0 00306C30 EC 83 00 24 */ fdivs f4, f3, f0 +/* 80309CD4 00306C34 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80309CD8 00306C38 90 E1 00 58 */ stw r7, 0x58(r1) +/* 80309CDC 00306C3C C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80309CE0 00306C40 91 01 00 20 */ stw r8, 0x20(r1) +/* 80309CE4 00306C44 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80309CE8 00306C48 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80309CEC 00306C4C EC A1 00 24 */ fdivs f5, f1, f0 +/* 80309CF0 00306C50 41 82 00 34 */ beq lbl_80309D24 +/* 80309CF4 00306C54 40 80 00 10 */ bge lbl_80309D04 +/* 80309CF8 00306C58 2C 1F 00 01 */ cmpwi r31, 1 +/* 80309CFC 00306C5C 41 82 00 20 */ beq lbl_80309D1C +/* 80309D00 00306C60 48 00 00 30 */ b lbl_80309D30 +lbl_80309D04: +/* 80309D04 00306C64 2C 1F 00 09 */ cmpwi r31, 9 +/* 80309D08 00306C68 41 82 00 24 */ beq lbl_80309D2C +/* 80309D0C 00306C6C 40 80 00 24 */ bge lbl_80309D30 +/* 80309D10 00306C70 2C 1F 00 07 */ cmpwi r31, 7 +/* 80309D14 00306C74 40 80 00 10 */ bge lbl_80309D24 +/* 80309D18 00306C78 48 00 00 18 */ b lbl_80309D30 +lbl_80309D1C: +/* 80309D1C 00306C7C 3B 80 00 08 */ li r28, 8 +/* 80309D20 00306C80 48 00 00 10 */ b lbl_80309D30 +lbl_80309D24: +/* 80309D24 00306C84 3B 80 00 04 */ li r28, 4 +/* 80309D28 00306C88 48 00 00 08 */ b lbl_80309D30 +lbl_80309D2C: +/* 80309D2C 00306C8C 3B 80 00 02 */ li r28, 2 +lbl_80309D30: +/* 80309D30 00306C90 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 80309D34 00306C94 3C A0 43 30 */ lis r5, 0x4330 +/* 80309D38 00306C98 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 80309D3C 00306C9C 38 60 00 01 */ li r3, 1 +/* 80309D40 00306CA0 7D 68 00 50 */ subf r11, r8, r0 +/* 80309D44 00306CA4 38 FC FF FF */ addi r7, r28, -1 +/* 80309D48 00306CA8 7D 88 30 50 */ subf r12, r8, r6 +/* 80309D4C 00306CAC 98 7E 00 00 */ stb r3, 0(r30) +/* 80309D50 00306CB0 38 0C FF FF */ addi r0, r12, -1 +/* 80309D54 00306CB4 6D 66 80 00 */ xoris r6, r11, 0x8000 +/* 80309D58 00306CB8 7C 7C 02 14 */ add r3, r28, r0 +/* 80309D5C 00306CBC 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80309D60 00306CC0 7C 67 38 78 */ andc r7, r3, r7 +/* 80309D64 00306CC4 38 0B 00 01 */ addi r0, r11, 1 +/* 80309D68 00306CC8 6C E3 80 00 */ xoris r3, r7, 0x8000 +/* 80309D6C 00306CCC 90 A1 00 58 */ stw r5, 0x58(r1) +/* 80309D70 00306CD0 7C 04 02 14 */ add r0, r4, r0 +/* 80309D74 00306CD4 C8 62 C7 E8 */ lfd f3, lbl_805AE508@sda21(r2) +/* 80309D78 00306CD8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80309D7C 00306CDC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80309D80 00306CE0 90 61 00 54 */ stw r3, 0x54(r1) +/* 80309D84 00306CE4 EC 40 18 28 */ fsubs f2, f0, f3 +/* 80309D88 00306CE8 90 A1 00 50 */ stw r5, 0x50(r1) +/* 80309D8C 00306CEC C8 01 00 50 */ lfd f0, 0x50(r1) +/* 80309D90 00306CF0 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80309D94 00306CF4 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80309D98 00306CF8 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80309D9C 00306CFC C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80309DA0 00306D00 EC 42 08 24 */ fdivs f2, f2, f1 +/* 80309DA4 00306D04 90 61 00 44 */ stw r3, 0x44(r1) +/* 80309DA8 00306D08 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80309DAC 00306D0C 91 1E 00 04 */ stw r8, 4(r30) +/* 80309DB0 00306D10 91 3E 00 08 */ stw r9, 8(r30) +/* 80309DB4 00306D14 91 9E 00 0C */ stw r12, 0xc(r30) +/* 80309DB8 00306D18 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80309DBC 00306D1C C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80309DC0 00306D20 91 5E 00 10 */ stw r10, 0x10(r30) +/* 80309DC4 00306D24 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80309DC8 00306D28 90 FE 00 14 */ stw r7, 0x14(r30) +/* 80309DCC 00306D2C EC 01 00 24 */ fdivs f0, f1, f0 +/* 80309DD0 00306D30 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 80309DD4 00306D34 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80309DD8 00306D38 D0 9E 00 20 */ stfs f4, 0x20(r30) +/* 80309DDC 00306D3C D0 BE 00 24 */ stfs f5, 0x24(r30) +lbl_80309DE0: +/* 80309DE0 00306D40 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80309DE4 00306D44 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80309DE8 00306D48 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80309DEC 00306D4C 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80309DF0 00306D50 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80309DF4 00306D54 7C 08 03 A6 */ mtlr r0 +/* 80309DF8 00306D58 38 21 00 70 */ addi r1, r1, 0x70 +/* 80309DFC 00306D5C 4E 80 00 20 */ blr + +.global SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState: +/* 80309E00 00306D60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309E04 00306D64 7C 08 02 A6 */ mflr r0 +/* 80309E08 00306D68 3C 80 80 5A */ lis r4, lbl_805A61B8@ha +/* 80309E0C 00306D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309E10 00306D70 88 03 00 00 */ lbz r0, 0(r3) +/* 80309E14 00306D74 C0 A3 00 04 */ lfs f5, 4(r3) +/* 80309E18 00306D78 9C 04 61 B8 */ stbu r0, lbl_805A61B8@l(r4) +/* 80309E1C 00306D7C C0 83 00 08 */ lfs f4, 8(r3) +/* 80309E20 00306D80 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 80309E24 00306D84 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80309E28 00306D88 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80309E2C 00306D8C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80309E30 00306D90 D0 A4 00 04 */ stfs f5, 4(r4) +/* 80309E34 00306D94 D0 84 00 08 */ stfs f4, 8(r4) +/* 80309E38 00306D98 D0 64 00 0C */ stfs f3, 0xc(r4) +/* 80309E3C 00306D9C D0 44 00 10 */ stfs f2, 0x10(r4) +/* 80309E40 00306DA0 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 80309E44 00306DA4 D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80309E48 00306DA8 48 00 00 21 */ bl FlushProjection__9CGraphicsFv +/* 80309E4C 00306DAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309E50 00306DB0 7C 08 03 A6 */ mtlr r0 +/* 80309E54 00306DB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309E58 00306DB8 4E 80 00 20 */ blr + +.global GetProjectionState__9CGraphicsFv +GetProjectionState__9CGraphicsFv: +/* 80309E5C 00306DBC 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 80309E60 00306DC0 38 63 61 B8 */ addi r3, r3, lbl_805A61B8@l +/* 80309E64 00306DC4 4E 80 00 20 */ blr + +.global FlushProjection__9CGraphicsFv +FlushProjection__9CGraphicsFv: +/* 80309E68 00306DC8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80309E6C 00306DCC 7C 08 02 A6 */ mflr r0 +/* 80309E70 00306DD0 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 80309E74 00306DD4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80309E78 00306DD8 8C 03 61 B8 */ lbzu r0, lbl_805A61B8@l(r3) +/* 80309E7C 00306DDC 28 00 00 00 */ cmplwi r0, 0 +/* 80309E80 00306DE0 C0 83 00 08 */ lfs f4, 8(r3) +/* 80309E84 00306DE4 C0 63 00 04 */ lfs f3, 4(r3) +/* 80309E88 00306DE8 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80309E8C 00306DEC C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80309E90 00306DF0 C0 A3 00 14 */ lfs f5, 0x14(r3) +/* 80309E94 00306DF4 C0 C3 00 18 */ lfs f6, 0x18(r3) +/* 80309E98 00306DF8 41 82 00 1C */ beq lbl_80309EB4 +/* 80309E9C 00306DFC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80309EA0 00306E00 48 07 36 7D */ bl C_MTXFrustum +/* 80309EA4 00306E04 38 61 00 48 */ addi r3, r1, 0x48 +/* 80309EA8 00306E08 38 80 00 00 */ li r4, 0 +/* 80309EAC 00306E0C 48 07 23 99 */ bl GXSetProjection +/* 80309EB0 00306E10 48 00 00 18 */ b lbl_80309EC8 +lbl_80309EB4: +/* 80309EB4 00306E14 38 61 00 08 */ addi r3, r1, 8 +/* 80309EB8 00306E18 48 07 37 01 */ bl C_MTXOrtho +/* 80309EBC 00306E1C 38 61 00 08 */ addi r3, r1, 8 +/* 80309EC0 00306E20 38 80 00 01 */ li r4, 1 +/* 80309EC4 00306E24 48 07 23 81 */ bl GXSetProjection +lbl_80309EC8: +/* 80309EC8 00306E28 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80309ECC 00306E2C 7C 08 03 A6 */ mtlr r0 +/* 80309ED0 00306E30 38 21 00 90 */ addi r1, r1, 0x90 +/* 80309ED4 00306E34 4E 80 00 20 */ blr + +.global SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +SetExternalTimeProvider__9CGraphicsFP13CTimeProvider: +/* 80309ED8 00306E38 90 6D A8 44 */ stw r3, lbl_805A9404@sda21(r13) +/* 80309EDC 00306E3C 4E 80 00 20 */ blr + +.global GetSecondsMod900__9CGraphicsFv +GetSecondsMod900__9CGraphicsFv: +/* 80309EE0 00306E40 80 6D A8 44 */ lwz r3, lbl_805A9404@sda21(r13) +/* 80309EE4 00306E44 28 03 00 00 */ cmplwi r3, 0 +/* 80309EE8 00306E48 41 82 00 10 */ beq lbl_80309EF8 +/* 80309EEC 00306E4C 80 63 00 00 */ lwz r3, 0(r3) +/* 80309EF0 00306E50 C0 23 00 00 */ lfs f1, 0(r3) +/* 80309EF4 00306E54 4E 80 00 20 */ blr +lbl_80309EF8: +/* 80309EF8 00306E58 C0 2D A8 40 */ lfs f1, lbl_805A9400@sda21(r13) +/* 80309EFC 00306E5C 4E 80 00 20 */ blr + +.global TickRenderTimings__9CGraphicsFv +TickRenderTimings__9CGraphicsFv: +/* 80309F00 00306E60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309F04 00306E64 3C 80 36 B0 */ lis r4, 0x36B06E71@ha +/* 80309F08 00306E68 3C 00 43 30 */ lis r0, 0x4330 +/* 80309F0C 00306E6C 3C 60 00 01 */ lis r3, 0x0000D2F0@ha +/* 80309F10 00306E70 80 AD A8 3C */ lwz r5, lbl_805A93FC@sda21(r13) +/* 80309F14 00306E74 38 84 6E 71 */ addi r4, r4, 0x36B06E71@l +/* 80309F18 00306E78 90 01 00 08 */ stw r0, 8(r1) +/* 80309F1C 00306E7C 38 63 D2 F0 */ addi r3, r3, 0x0000D2F0@l +/* 80309F20 00306E80 38 A5 00 01 */ addi r5, r5, 1 +/* 80309F24 00306E84 C8 42 C7 F8 */ lfd f2, lbl_805AE518@sda21(r2) +/* 80309F28 00306E88 7C 84 28 16 */ mulhwu r4, r4, r5 +/* 80309F2C 00306E8C C0 02 C7 F4 */ lfs f0, lbl_805AE514@sda21(r2) +/* 80309F30 00306E90 7C 04 28 50 */ subf r0, r4, r5 +/* 80309F34 00306E94 54 00 F8 7E */ srwi r0, r0, 1 +/* 80309F38 00306E98 7C 00 22 14 */ add r0, r0, r4 +/* 80309F3C 00306E9C 54 00 8B FE */ srwi r0, r0, 0xf +/* 80309F40 00306EA0 7C 00 19 D6 */ mullw r0, r0, r3 +/* 80309F44 00306EA4 7C 00 28 50 */ subf r0, r0, r5 +/* 80309F48 00306EA8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80309F4C 00306EAC C8 21 00 08 */ lfd f1, 8(r1) +/* 80309F50 00306EB0 90 0D A8 3C */ stw r0, lbl_805A93FC@sda21(r13) +/* 80309F54 00306EB4 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80309F58 00306EB8 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80309F5C 00306EBC D0 0D A8 40 */ stfs f0, lbl_805A9400@sda21(r13) +/* 80309F60 00306EC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309F64 00306EC4 4E 80 00 20 */ blr + +.global LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID +LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID: +/* 80309F68 00306EC8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80309F6C 00306ECC 7C 08 02 A6 */ mflr r0 +/* 80309F70 00306ED0 7C 69 1B 78 */ mr r9, r3 +/* 80309F74 00306ED4 28 07 00 00 */ cmplwi r7, 0 +/* 80309F78 00306ED8 90 01 00 44 */ stw r0, 0x44(r1) +/* 80309F7C 00306EDC 7C 80 23 78 */ mr r0, r4 +/* 80309F80 00306EE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80309F84 00306EE4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80309F88 00306EE8 7D 1F 43 78 */ mr r31, r8 +/* 80309F8C 00306EEC 90 C1 00 08 */ stw r6, 8(r1) +/* 80309F90 00306EF0 41 82 00 0C */ beq lbl_80309F9C +/* 80309F94 00306EF4 7C E4 3B 78 */ mr r4, r7 +/* 80309F98 00306EF8 48 00 00 08 */ b lbl_80309FA0 +lbl_80309F9C: +/* 80309F9C 00306EFC 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) +lbl_80309FA0: +/* 80309FA0 00306F00 7C A7 2B 78 */ mr r7, r5 +/* 80309FA4 00306F04 55 25 04 3E */ clrlwi r5, r9, 0x10 +/* 80309FA8 00306F08 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 80309FAC 00306F0C 39 00 00 00 */ li r8, 0 +/* 80309FB0 00306F10 39 20 00 00 */ li r9, 0 +/* 80309FB4 00306F14 39 40 00 00 */ li r10, 0 +/* 80309FB8 00306F18 48 07 01 21 */ bl GXInitTexObjCI +/* 80309FBC 00306F1C C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 80309FC0 00306F20 38 61 00 10 */ addi r3, r1, 0x10 +/* 80309FC4 00306F24 38 80 00 00 */ li r4, 0 +/* 80309FC8 00306F28 38 A0 00 00 */ li r5, 0 +/* 80309FCC 00306F2C FC 40 08 90 */ fmr f2, f1 +/* 80309FD0 00306F30 38 C0 00 00 */ li r6, 0 +/* 80309FD4 00306F34 FC 60 08 90 */ fmr f3, f1 +/* 80309FD8 00306F38 38 E0 00 00 */ li r7, 0 +/* 80309FDC 00306F3C 39 00 00 00 */ li r8, 0 +/* 80309FE0 00306F40 48 07 01 41 */ bl GXInitTexObjLOD +/* 80309FE4 00306F44 7F E4 FB 78 */ mr r4, r31 +/* 80309FE8 00306F48 38 61 00 10 */ addi r3, r1, 0x10 +/* 80309FEC 00306F4C 48 07 04 A9 */ bl GXLoadTexObj +/* 80309FF0 00306F50 7F E3 FB 78 */ mr r3, r31 +/* 80309FF4 00306F54 48 00 41 55 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 80309FF8 00306F58 2C 1F 00 07 */ cmpwi r31, 7 +/* 80309FFC 00306F5C 40 82 00 10 */ bne lbl_8030A00C +/* 8030A000 00306F60 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030A004 00306F64 38 63 64 40 */ addi r3, r3, lbl_805A6440@l +/* 8030A008 00306F68 48 07 07 2D */ bl GXInvalidateTexRegion +lbl_8030A00C: +/* 8030A00C 00306F6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030A010 00306F70 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8030A014 00306F74 7C 08 03 A6 */ mtlr r0 +/* 8030A018 00306F78 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030A01C 00306F7C 4E 80 00 20 */ blr + +.global LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID: +/* 8030A020 00306F80 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030A024 00306F84 7C 08 02 A6 */ mflr r0 +/* 8030A028 00306F88 7C 68 1B 78 */ mr r8, r3 +/* 8030A02C 00306F8C 28 06 00 00 */ cmplwi r6, 0 +/* 8030A030 00306F90 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030A034 00306F94 7C 80 23 78 */ mr r0, r4 +/* 8030A038 00306F98 38 61 00 08 */ addi r3, r1, 8 +/* 8030A03C 00306F9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8030A040 00306FA0 7C FF 3B 78 */ mr r31, r7 +/* 8030A044 00306FA4 41 82 00 0C */ beq lbl_8030A050 +/* 8030A048 00306FA8 7C C4 33 78 */ mr r4, r6 +/* 8030A04C 00306FAC 48 00 00 08 */ b lbl_8030A054 +lbl_8030A050: +/* 8030A050 00306FB0 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) +lbl_8030A054: +/* 8030A054 00306FB4 7C A7 2B 78 */ mr r7, r5 +/* 8030A058 00306FB8 55 05 04 3E */ clrlwi r5, r8, 0x10 +/* 8030A05C 00306FBC 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030A060 00306FC0 39 00 00 00 */ li r8, 0 +/* 8030A064 00306FC4 39 20 00 00 */ li r9, 0 +/* 8030A068 00306FC8 39 40 00 00 */ li r10, 0 +/* 8030A06C 00306FCC 48 06 FD F9 */ bl GXInitTexObj +/* 8030A070 00306FD0 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030A074 00306FD4 38 61 00 08 */ addi r3, r1, 8 +/* 8030A078 00306FD8 38 80 00 00 */ li r4, 0 +/* 8030A07C 00306FDC 38 A0 00 00 */ li r5, 0 +/* 8030A080 00306FE0 FC 40 08 90 */ fmr f2, f1 +/* 8030A084 00306FE4 38 C0 00 00 */ li r6, 0 +/* 8030A088 00306FE8 FC 60 08 90 */ fmr f3, f1 +/* 8030A08C 00306FEC 38 E0 00 00 */ li r7, 0 +/* 8030A090 00306FF0 39 00 00 00 */ li r8, 0 +/* 8030A094 00306FF4 48 07 00 8D */ bl GXInitTexObjLOD +/* 8030A098 00306FF8 7F E4 FB 78 */ mr r4, r31 +/* 8030A09C 00306FFC 38 61 00 08 */ addi r3, r1, 8 +/* 8030A0A0 00307000 48 07 03 F5 */ bl GXLoadTexObj +/* 8030A0A4 00307004 7F E3 FB 78 */ mr r3, r31 +/* 8030A0A8 00307008 48 00 40 A1 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8030A0AC 0030700C 2C 1F 00 07 */ cmpwi r31, 7 +/* 8030A0B0 00307010 40 82 00 10 */ bne lbl_8030A0C0 +/* 8030A0B4 00307014 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030A0B8 00307018 38 63 64 40 */ addi r3, r3, lbl_805A6440@l +/* 8030A0BC 0030701C 48 07 06 79 */ bl GXInvalidateTexRegion +lbl_8030A0C0: +/* 8030A0C0 00307020 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030A0C4 00307024 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030A0C8 00307028 7C 08 03 A6 */ mtlr r0 +/* 8030A0CC 0030702C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030A0D0 00307030 4E 80 00 20 */ blr + +.global SetDefaultVtxAttrFmt__9CGraphicsFv +SetDefaultVtxAttrFmt__9CGraphicsFv: +/* 8030A0D4 00307034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A0D8 00307038 7C 08 02 A6 */ mflr r0 +/* 8030A0DC 0030703C 38 60 00 00 */ li r3, 0 +/* 8030A0E0 00307040 38 80 00 09 */ li r4, 9 +/* 8030A0E4 00307044 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A0E8 00307048 38 A0 00 01 */ li r5, 1 +/* 8030A0EC 0030704C 38 C0 00 04 */ li r6, 4 +/* 8030A0F0 00307050 38 E0 00 00 */ li r7, 0 +/* 8030A0F4 00307054 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030A0F8 00307058 93 C1 00 08 */ stw r30, 8(r1) +/* 8030A0FC 0030705C 48 06 D6 91 */ bl GXSetVtxAttrFmt +/* 8030A100 00307060 38 60 00 01 */ li r3, 1 +/* 8030A104 00307064 38 80 00 09 */ li r4, 9 +/* 8030A108 00307068 38 A0 00 01 */ li r5, 1 +/* 8030A10C 0030706C 38 C0 00 04 */ li r6, 4 +/* 8030A110 00307070 38 E0 00 00 */ li r7, 0 +/* 8030A114 00307074 48 06 D6 79 */ bl GXSetVtxAttrFmt +/* 8030A118 00307078 38 60 00 02 */ li r3, 2 +/* 8030A11C 0030707C 38 80 00 09 */ li r4, 9 +/* 8030A120 00307080 38 A0 00 01 */ li r5, 1 +/* 8030A124 00307084 38 C0 00 04 */ li r6, 4 +/* 8030A128 00307088 38 E0 00 00 */ li r7, 0 +/* 8030A12C 0030708C 48 06 D6 61 */ bl GXSetVtxAttrFmt +/* 8030A130 00307090 38 60 00 00 */ li r3, 0 +/* 8030A134 00307094 38 80 00 0A */ li r4, 0xa +/* 8030A138 00307098 38 A0 00 00 */ li r5, 0 +/* 8030A13C 0030709C 38 C0 00 04 */ li r6, 4 +/* 8030A140 003070A0 38 E0 00 00 */ li r7, 0 +/* 8030A144 003070A4 48 06 D6 49 */ bl GXSetVtxAttrFmt +/* 8030A148 003070A8 38 60 00 01 */ li r3, 1 +/* 8030A14C 003070AC 38 80 00 0A */ li r4, 0xa +/* 8030A150 003070B0 38 A0 00 00 */ li r5, 0 +/* 8030A154 003070B4 38 C0 00 03 */ li r6, 3 +/* 8030A158 003070B8 38 E0 00 0E */ li r7, 0xe +/* 8030A15C 003070BC 48 06 D6 31 */ bl GXSetVtxAttrFmt +/* 8030A160 003070C0 38 60 00 02 */ li r3, 2 +/* 8030A164 003070C4 38 80 00 0A */ li r4, 0xa +/* 8030A168 003070C8 38 A0 00 00 */ li r5, 0 +/* 8030A16C 003070CC 38 C0 00 03 */ li r6, 3 +/* 8030A170 003070D0 38 E0 00 0E */ li r7, 0xe +/* 8030A174 003070D4 48 06 D6 19 */ bl GXSetVtxAttrFmt +/* 8030A178 003070D8 38 60 00 00 */ li r3, 0 +/* 8030A17C 003070DC 38 80 00 0B */ li r4, 0xb +/* 8030A180 003070E0 38 A0 00 01 */ li r5, 1 +/* 8030A184 003070E4 38 C0 00 05 */ li r6, 5 +/* 8030A188 003070E8 38 E0 00 00 */ li r7, 0 +/* 8030A18C 003070EC 48 06 D6 01 */ bl GXSetVtxAttrFmt +/* 8030A190 003070F0 38 60 00 01 */ li r3, 1 +/* 8030A194 003070F4 38 80 00 0B */ li r4, 0xb +/* 8030A198 003070F8 38 A0 00 01 */ li r5, 1 +/* 8030A19C 003070FC 38 C0 00 05 */ li r6, 5 +/* 8030A1A0 00307100 38 E0 00 00 */ li r7, 0 +/* 8030A1A4 00307104 48 06 D5 E9 */ bl GXSetVtxAttrFmt +/* 8030A1A8 00307108 38 60 00 02 */ li r3, 2 +/* 8030A1AC 0030710C 38 80 00 0B */ li r4, 0xb +/* 8030A1B0 00307110 38 A0 00 01 */ li r5, 1 +/* 8030A1B4 00307114 38 C0 00 05 */ li r6, 5 +/* 8030A1B8 00307118 38 E0 00 00 */ li r7, 0 +/* 8030A1BC 0030711C 48 06 D5 D1 */ bl GXSetVtxAttrFmt +/* 8030A1C0 00307120 38 60 00 00 */ li r3, 0 +/* 8030A1C4 00307124 38 80 00 0D */ li r4, 0xd +/* 8030A1C8 00307128 38 A0 00 01 */ li r5, 1 +/* 8030A1CC 0030712C 38 C0 00 04 */ li r6, 4 +/* 8030A1D0 00307130 38 E0 00 00 */ li r7, 0 +/* 8030A1D4 00307134 48 06 D5 B9 */ bl GXSetVtxAttrFmt +/* 8030A1D8 00307138 38 60 00 01 */ li r3, 1 +/* 8030A1DC 0030713C 38 80 00 0D */ li r4, 0xd +/* 8030A1E0 00307140 38 A0 00 01 */ li r5, 1 +/* 8030A1E4 00307144 38 C0 00 04 */ li r6, 4 +/* 8030A1E8 00307148 38 E0 00 00 */ li r7, 0 +/* 8030A1EC 0030714C 48 06 D5 A1 */ bl GXSetVtxAttrFmt +/* 8030A1F0 00307150 38 60 00 02 */ li r3, 2 +/* 8030A1F4 00307154 38 80 00 0D */ li r4, 0xd +/* 8030A1F8 00307158 38 A0 00 01 */ li r5, 1 +/* 8030A1FC 0030715C 38 C0 00 02 */ li r6, 2 +/* 8030A200 00307160 38 E0 00 0F */ li r7, 0xf +/* 8030A204 00307164 48 06 D5 89 */ bl GXSetVtxAttrFmt +/* 8030A208 00307168 3B E0 00 01 */ li r31, 1 +lbl_8030A20C: +/* 8030A20C 0030716C 3B DF 00 0D */ addi r30, r31, 0xd +/* 8030A210 00307170 38 60 00 00 */ li r3, 0 +/* 8030A214 00307174 7F C4 F3 78 */ mr r4, r30 +/* 8030A218 00307178 38 A0 00 01 */ li r5, 1 +/* 8030A21C 0030717C 38 C0 00 04 */ li r6, 4 +/* 8030A220 00307180 38 E0 00 00 */ li r7, 0 +/* 8030A224 00307184 48 06 D5 69 */ bl GXSetVtxAttrFmt +/* 8030A228 00307188 7F C4 F3 78 */ mr r4, r30 +/* 8030A22C 0030718C 38 60 00 01 */ li r3, 1 +/* 8030A230 00307190 38 A0 00 01 */ li r5, 1 +/* 8030A234 00307194 38 C0 00 04 */ li r6, 4 +/* 8030A238 00307198 38 E0 00 00 */ li r7, 0 +/* 8030A23C 0030719C 48 06 D5 51 */ bl GXSetVtxAttrFmt +/* 8030A240 003071A0 7F C4 F3 78 */ mr r4, r30 +/* 8030A244 003071A4 38 60 00 02 */ li r3, 2 +/* 8030A248 003071A8 38 A0 00 01 */ li r5, 1 +/* 8030A24C 003071AC 38 C0 00 04 */ li r6, 4 +/* 8030A250 003071B0 38 E0 00 00 */ li r7, 0 +/* 8030A254 003071B4 48 06 D5 39 */ bl GXSetVtxAttrFmt +/* 8030A258 003071B8 3B FF 00 01 */ addi r31, r31, 1 +/* 8030A25C 003071BC 2C 1F 00 07 */ cmpwi r31, 7 +/* 8030A260 003071C0 40 81 FF AC */ ble lbl_8030A20C +/* 8030A264 003071C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030A268 003071C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030A26C 003071CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030A270 003071D0 7C 08 03 A6 */ mtlr r0 +/* 8030A274 003071D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030A278 003071D8 4E 80 00 20 */ blr + +.global ResetGfxStates__9CGraphicsFv +ResetGfxStates__9CGraphicsFv: +/* 8030A27C 003071DC 38 00 00 00 */ li r0, 0 +/* 8030A280 003071E0 90 0D A7 B8 */ stw r0, lbl_805A9378@sda21(r13) +/* 8030A284 003071E4 4E 80 00 20 */ blr + +.global SetFog__9CGraphicsF11ERglFogModeffRC6CColor +SetFog__9CGraphicsF11ERglFogModeffRC6CColor: +/* 8030A288 003071E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A28C 003071EC 7C 08 02 A6 */ mflr r0 +/* 8030A290 003071F0 3C A0 80 5A */ lis r5, lbl_805A61B8@ha +/* 8030A294 003071F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A298 003071F8 38 A5 61 B8 */ addi r5, r5, lbl_805A61B8@l +/* 8030A29C 003071FC C0 65 00 14 */ lfs f3, 0x14(r5) +/* 8030A2A0 00307200 C0 85 00 18 */ lfs f4, 0x18(r5) +/* 8030A2A4 00307204 4B FF E2 59 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +/* 8030A2A8 00307208 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030A2AC 0030720C 7C 08 03 A6 */ mtlr r0 +/* 8030A2B0 00307210 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030A2B4 00307214 4E 80 00 20 */ blr + +.global SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass: +/* 8030A2B8 00307218 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A2BC 0030721C 7C 08 02 A6 */ mflr r0 +/* 8030A2C0 00307220 2C 03 00 00 */ cmpwi r3, 0 +/* 8030A2C4 00307224 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A2C8 00307228 40 82 00 0C */ bne lbl_8030A2D4 +/* 8030A2CC 0030722C 38 60 00 00 */ li r3, 0 +/* 8030A2D0 00307230 48 00 00 FC */ b lbl_8030A3CC +lbl_8030A2D4: +/* 8030A2D4 00307234 2C 03 00 01 */ cmpwi r3, 1 +/* 8030A2D8 00307238 40 82 00 0C */ bne lbl_8030A2E4 +/* 8030A2DC 0030723C 38 60 00 01 */ li r3, 1 +/* 8030A2E0 00307240 48 00 00 EC */ b lbl_8030A3CC +lbl_8030A2E4: +/* 8030A2E4 00307244 2C 03 00 02 */ cmpwi r3, 2 +/* 8030A2E8 00307248 40 82 00 0C */ bne lbl_8030A2F4 +/* 8030A2EC 0030724C 38 60 00 02 */ li r3, 2 +/* 8030A2F0 00307250 48 00 00 DC */ b lbl_8030A3CC +lbl_8030A2F4: +/* 8030A2F4 00307254 2C 03 00 03 */ cmpwi r3, 3 +/* 8030A2F8 00307258 40 82 00 0C */ bne lbl_8030A304 +/* 8030A2FC 0030725C 38 60 00 03 */ li r3, 3 +/* 8030A300 00307260 48 00 00 CC */ b lbl_8030A3CC +lbl_8030A304: +/* 8030A304 00307264 2C 03 00 04 */ cmpwi r3, 4 +/* 8030A308 00307268 40 82 00 0C */ bne lbl_8030A314 +/* 8030A30C 0030726C 38 60 00 04 */ li r3, 4 +/* 8030A310 00307270 48 00 00 BC */ b lbl_8030A3CC +lbl_8030A314: +/* 8030A314 00307274 2C 03 00 05 */ cmpwi r3, 5 +/* 8030A318 00307278 40 82 00 0C */ bne lbl_8030A324 +/* 8030A31C 0030727C 38 60 00 05 */ li r3, 5 +/* 8030A320 00307280 48 00 00 AC */ b lbl_8030A3CC +lbl_8030A324: +/* 8030A324 00307284 2C 03 00 06 */ cmpwi r3, 6 +/* 8030A328 00307288 40 82 00 0C */ bne lbl_8030A334 +/* 8030A32C 0030728C 38 60 00 06 */ li r3, 6 +/* 8030A330 00307290 48 00 00 9C */ b lbl_8030A3CC +lbl_8030A334: +/* 8030A334 00307294 2C 03 00 07 */ cmpwi r3, 7 +/* 8030A338 00307298 40 82 00 0C */ bne lbl_8030A344 +/* 8030A33C 0030729C 38 60 00 07 */ li r3, 7 +/* 8030A340 003072A0 48 00 00 8C */ b lbl_8030A3CC +lbl_8030A344: +/* 8030A344 003072A4 2C 03 00 08 */ cmpwi r3, 8 +/* 8030A348 003072A8 40 82 00 0C */ bne lbl_8030A354 +/* 8030A34C 003072AC 38 60 00 08 */ li r3, 8 +/* 8030A350 003072B0 48 00 00 7C */ b lbl_8030A3CC +lbl_8030A354: +/* 8030A354 003072B4 2C 03 00 09 */ cmpwi r3, 9 +/* 8030A358 003072B8 40 82 00 0C */ bne lbl_8030A364 +/* 8030A35C 003072BC 38 60 00 09 */ li r3, 9 +/* 8030A360 003072C0 48 00 00 6C */ b lbl_8030A3CC +lbl_8030A364: +/* 8030A364 003072C4 2C 03 00 0A */ cmpwi r3, 0xa +/* 8030A368 003072C8 40 82 00 0C */ bne lbl_8030A374 +/* 8030A36C 003072CC 38 60 00 0A */ li r3, 0xa +/* 8030A370 003072D0 48 00 00 5C */ b lbl_8030A3CC +lbl_8030A374: +/* 8030A374 003072D4 2C 03 00 0B */ cmpwi r3, 0xb +/* 8030A378 003072D8 40 82 00 0C */ bne lbl_8030A384 +/* 8030A37C 003072DC 38 60 00 0B */ li r3, 0xb +/* 8030A380 003072E0 48 00 00 4C */ b lbl_8030A3CC +lbl_8030A384: +/* 8030A384 003072E4 2C 03 00 0C */ cmpwi r3, 0xc +/* 8030A388 003072E8 40 82 00 0C */ bne lbl_8030A394 +/* 8030A38C 003072EC 38 60 00 0C */ li r3, 0xc +/* 8030A390 003072F0 48 00 00 3C */ b lbl_8030A3CC +lbl_8030A394: +/* 8030A394 003072F4 2C 03 00 0D */ cmpwi r3, 0xd +/* 8030A398 003072F8 40 82 00 0C */ bne lbl_8030A3A4 +/* 8030A39C 003072FC 38 60 00 0D */ li r3, 0xd +/* 8030A3A0 00307300 48 00 00 2C */ b lbl_8030A3CC +lbl_8030A3A4: +/* 8030A3A4 00307304 2C 03 00 0E */ cmpwi r3, 0xe +/* 8030A3A8 00307308 40 82 00 0C */ bne lbl_8030A3B4 +/* 8030A3AC 0030730C 38 60 00 0E */ li r3, 0xe +/* 8030A3B0 00307310 48 00 00 1C */ b lbl_8030A3CC +lbl_8030A3B4: +/* 8030A3B4 00307314 38 A3 FF F1 */ addi r5, r3, -15 +/* 8030A3B8 00307318 20 03 00 0F */ subfic r0, r3, 0xf +/* 8030A3BC 0030731C 7C A3 00 F8 */ nor r3, r5, r0 +/* 8030A3C0 00307320 38 00 00 0F */ li r0, 0xf +/* 8030A3C4 00307324 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 8030A3C8 00307328 7C 03 18 38 */ and r3, r0, r3 +lbl_8030A3CC: +/* 8030A3CC 0030732C 4B FF EC 0D */ bl SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +/* 8030A3D0 00307330 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030A3D4 00307334 7C 08 03 A6 */ mtlr r0 +/* 8030A3D8 00307338 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030A3DC 0030733C 4E 80 00 20 */ blr + +.global SetDepthRange__9CGraphicsFff +SetDepthRange__9CGraphicsFff: +/* 8030A3E0 00307340 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030A3E4 00307344 7C 08 02 A6 */ mflr r0 +/* 8030A3E8 00307348 3C A0 43 30 */ lis r5, 0x4330 +/* 8030A3EC 0030734C 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8030A3F0 00307350 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030A3F4 00307354 38 E3 D9 10 */ addi r7, r3, lbl_803ED910@l +/* 8030A3F8 00307358 FC A0 08 90 */ fmr f5, f1 +/* 8030A3FC 0030735C C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) +/* 8030A400 00307360 80 07 00 00 */ lwz r0, 0(r7) +/* 8030A404 00307364 FC C0 10 90 */ fmr f6, f2 +/* 8030A408 00307368 80 87 00 04 */ lwz r4, 4(r7) +/* 8030A40C 0030736C 6C 06 80 00 */ xoris r6, r0, 0x8000 +/* 8030A410 00307370 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8030A414 00307374 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 8030A418 00307378 80 67 00 08 */ lwz r3, 8(r7) +/* 8030A41C 0030737C 90 A1 00 08 */ stw r5, 8(r1) +/* 8030A420 00307380 80 07 00 0C */ lwz r0, 0xc(r7) +/* 8030A424 00307384 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8030A428 00307388 C8 01 00 08 */ lfd f0, 8(r1) +/* 8030A42C 0030738C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8030A430 00307390 90 81 00 14 */ stw r4, 0x14(r1) +/* 8030A434 00307394 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8030A438 00307398 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8030A43C 0030739C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030A440 003073A0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8030A444 003073A4 EC 40 20 28 */ fsubs f2, f0, f4 +/* 8030A448 003073A8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8030A44C 003073AC C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030A450 003073B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030A454 003073B4 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030A458 003073B8 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8030A45C 003073BC C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8030A460 003073C0 D0 AD A7 E0 */ stfs f5, lbl_805A93A0@sda21(r13) +/* 8030A464 003073C4 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030A468 003073C8 D0 CD 9C 78 */ stfs f6, lbl_805A8838@sda21(r13) +/* 8030A46C 003073CC 48 07 21 DD */ bl GXSetViewport +/* 8030A470 003073D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030A474 003073D4 7C 08 03 A6 */ mtlr r0 +/* 8030A478 003073D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030A47C 003073DC 4E 80 00 20 */ blr + +.global FullRender__9CGraphicsFv +FullRender__9CGraphicsFv: +/* 8030A480 003073E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A484 003073E4 7C 08 02 A6 */ mflr r0 +/* 8030A488 003073E8 38 80 00 00 */ li r4, 0 +/* 8030A48C 003073EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A490 003073F0 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030A494 003073F4 80 6D 9C 74 */ lwz r3, lbl_805A8834@sda21(r13) +/* 8030A498 003073F8 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8030A49C 003073FC 4B FF E0 E9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8030A4A0 00307400 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030A4A4 00307404 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030A4A8 00307408 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8030A4AC 0030740C 28 00 00 07 */ cmplwi r0, 7 +/* 8030A4B0 00307410 41 81 0A 0C */ bgt lbl_8030AEBC +/* 8030A4B4 00307414 3C 60 80 3F */ lis r3, lbl_803ED948@ha +/* 8030A4B8 00307418 54 00 10 3A */ slwi r0, r0, 2 +/* 8030A4BC 0030741C 38 63 D9 48 */ addi r3, r3, lbl_803ED948@l +/* 8030A4C0 00307420 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8030A4C4 00307424 7C 09 03 A6 */ mtctr r0 +/* 8030A4C8 00307428 4E 80 04 20 */ bctr +/* 8030A4CC 0030742C 80 CD A7 FC */ lwz r6, lbl_805A93BC@sda21(r13) +/* 8030A4D0 00307430 38 E0 00 00 */ li r7, 0 +/* 8030A4D4 00307434 2C 06 00 00 */ cmpwi r6, 0 +/* 8030A4D8 00307438 40 81 09 E4 */ ble lbl_8030AEBC +/* 8030A4DC 0030743C 2C 06 00 08 */ cmpwi r6, 8 +/* 8030A4E0 00307440 38 86 FF F8 */ addi r4, r6, -8 +/* 8030A4E4 00307444 40 81 00 EC */ ble lbl_8030A5D0 +/* 8030A4E8 00307448 38 04 00 07 */ addi r0, r4, 7 +/* 8030A4EC 0030744C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A4F0 00307450 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030A4F4 00307454 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A4F8 00307458 7C 09 03 A6 */ mtctr r0 +/* 8030A4FC 0030745C 2C 04 00 00 */ cmpwi r4, 0 +/* 8030A500 00307460 40 81 00 D0 */ ble lbl_8030A5D0 +lbl_8030A504: +/* 8030A504 00307464 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A508 00307468 38 E7 00 08 */ addi r7, r7, 8 +/* 8030A50C 0030746C C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A510 00307470 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A514 00307474 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A518 00307478 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A51C 0030747C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A520 00307480 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8030A524 00307484 C0 45 00 10 */ lfs f2, 0x10(r5) +/* 8030A528 00307488 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A52C 0030748C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A530 00307490 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A534 00307494 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A538 00307498 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 8030A53C 0030749C C0 45 00 1C */ lfs f2, 0x1c(r5) +/* 8030A540 003074A0 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A544 003074A4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A548 003074A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A54C 003074AC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A550 003074B0 C0 25 00 2C */ lfs f1, 0x2c(r5) +/* 8030A554 003074B4 C0 45 00 28 */ lfs f2, 0x28(r5) +/* 8030A558 003074B8 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A55C 003074BC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A560 003074C0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A564 003074C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A568 003074C8 C0 25 00 38 */ lfs f1, 0x38(r5) +/* 8030A56C 003074CC C0 45 00 34 */ lfs f2, 0x34(r5) +/* 8030A570 003074D0 C0 05 00 30 */ lfs f0, 0x30(r5) +/* 8030A574 003074D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A578 003074D8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A57C 003074DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A580 003074E0 C0 25 00 44 */ lfs f1, 0x44(r5) +/* 8030A584 003074E4 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 8030A588 003074E8 C0 05 00 3C */ lfs f0, 0x3c(r5) +/* 8030A58C 003074EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A590 003074F0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A594 003074F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A598 003074F8 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8030A59C 003074FC C0 45 00 4C */ lfs f2, 0x4c(r5) +/* 8030A5A0 00307500 C0 05 00 48 */ lfs f0, 0x48(r5) +/* 8030A5A4 00307504 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A5A8 00307508 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A5AC 0030750C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A5B0 00307510 C0 25 00 5C */ lfs f1, 0x5c(r5) +/* 8030A5B4 00307514 C0 45 00 58 */ lfs f2, 0x58(r5) +/* 8030A5B8 00307518 C0 05 00 54 */ lfs f0, 0x54(r5) +/* 8030A5BC 0030751C 38 A5 00 60 */ addi r5, r5, 0x60 +/* 8030A5C0 00307520 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A5C4 00307524 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A5C8 00307528 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A5CC 0030752C 42 00 FF 38 */ bdnz lbl_8030A504 +lbl_8030A5D0: +/* 8030A5D0 00307530 1C 87 00 0C */ mulli r4, r7, 0xc +/* 8030A5D4 00307534 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A5D8 00307538 7C 07 30 50 */ subf r0, r7, r6 +/* 8030A5DC 0030753C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A5E0 00307540 7C 85 22 14 */ add r4, r5, r4 +/* 8030A5E4 00307544 7C 09 03 A6 */ mtctr r0 +/* 8030A5E8 00307548 7C 07 30 00 */ cmpw r7, r6 +/* 8030A5EC 0030754C 40 80 08 D0 */ bge lbl_8030AEBC +lbl_8030A5F0: +/* 8030A5F0 00307550 C0 24 00 08 */ lfs f1, 8(r4) +/* 8030A5F4 00307554 C0 44 00 04 */ lfs f2, 4(r4) +/* 8030A5F8 00307558 C0 04 00 00 */ lfs f0, 0(r4) +/* 8030A5FC 0030755C 38 84 00 0C */ addi r4, r4, 0xc +/* 8030A600 00307560 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A604 00307564 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A608 00307568 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A60C 0030756C 42 00 FF E4 */ bdnz lbl_8030A5F0 +/* 8030A610 00307570 48 00 08 AC */ b lbl_8030AEBC +/* 8030A614 00307574 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030A618 00307578 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030A61C 0030757C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A620 00307580 2C 00 00 00 */ cmpwi r0, 0 +/* 8030A624 00307584 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030A628 00307588 7C 03 03 78 */ mr r3, r0 +/* 8030A62C 0030758C 40 81 08 90 */ ble lbl_8030AEBC +/* 8030A630 00307590 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8030A634 00307594 7C 09 03 A6 */ mtctr r0 +/* 8030A638 00307598 41 82 00 D8 */ beq lbl_8030A710 +lbl_8030A63C: +/* 8030A63C 0030759C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A640 003075A0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A644 003075A4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A648 003075A8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A64C 003075AC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A650 003075B0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A654 003075B4 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030A658 003075B8 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A65C 003075BC C0 06 00 00 */ lfs f0, 0(r6) +/* 8030A660 003075C0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A664 003075C4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A668 003075C8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A66C 003075CC C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030A670 003075D0 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030A674 003075D4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A678 003075D8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A67C 003075DC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A680 003075E0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A684 003075E4 C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030A688 003075E8 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030A68C 003075EC C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030A690 003075F0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A694 003075F4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A698 003075F8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A69C 003075FC C0 45 00 20 */ lfs f2, 0x20(r5) +/* 8030A6A0 00307600 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 8030A6A4 00307604 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A6A8 00307608 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6AC 0030760C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A6B0 00307610 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A6B4 00307614 C0 46 00 20 */ lfs f2, 0x20(r6) +/* 8030A6B8 00307618 C0 26 00 1C */ lfs f1, 0x1c(r6) +/* 8030A6BC 0030761C C0 06 00 18 */ lfs f0, 0x18(r6) +/* 8030A6C0 00307620 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6C4 00307624 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A6C8 00307628 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A6CC 0030762C C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8030A6D0 00307630 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 8030A6D4 00307634 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A6D8 00307638 38 A5 00 30 */ addi r5, r5, 0x30 +/* 8030A6DC 0030763C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6E0 00307640 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A6E4 00307644 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A6E8 00307648 C0 46 00 2C */ lfs f2, 0x2c(r6) +/* 8030A6EC 0030764C C0 26 00 28 */ lfs f1, 0x28(r6) +/* 8030A6F0 00307650 C0 06 00 24 */ lfs f0, 0x24(r6) +/* 8030A6F4 00307654 38 C6 00 30 */ addi r6, r6, 0x30 +/* 8030A6F8 00307658 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6FC 0030765C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A700 00307660 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A704 00307664 42 00 FF 38 */ bdnz lbl_8030A63C +/* 8030A708 00307668 70 63 00 03 */ andi. r3, r3, 3 +/* 8030A70C 0030766C 41 82 07 B0 */ beq lbl_8030AEBC +lbl_8030A710: +/* 8030A710 00307670 7C 69 03 A6 */ mtctr r3 +lbl_8030A714: +/* 8030A714 00307674 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A718 00307678 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A71C 0030767C C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A720 00307680 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030A724 00307684 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A728 00307688 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A72C 0030768C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A730 00307690 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030A734 00307694 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A738 00307698 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030A73C 0030769C 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030A740 003076A0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A744 003076A4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A748 003076A8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A74C 003076AC 42 00 FF C8 */ bdnz lbl_8030A714 +/* 8030A750 003076B0 48 00 07 6C */ b lbl_8030AEBC +/* 8030A754 003076B4 80 ED A7 FC */ lwz r7, lbl_805A93BC@sda21(r13) +/* 8030A758 003076B8 39 00 00 00 */ li r8, 0 +/* 8030A75C 003076BC 2C 07 00 00 */ cmpwi r7, 0 +/* 8030A760 003076C0 40 81 07 5C */ ble lbl_8030AEBC +/* 8030A764 003076C4 2C 07 00 08 */ cmpwi r7, 8 +/* 8030A768 003076C8 38 87 FF F8 */ addi r4, r7, -8 +/* 8030A76C 003076CC 40 81 01 34 */ ble lbl_8030A8A0 +/* 8030A770 003076D0 38 04 00 07 */ addi r0, r4, 7 +/* 8030A774 003076D4 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A778 003076D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030A77C 003076DC 80 CD A7 D0 */ lwz r6, lbl_805A9390@sda21(r13) +/* 8030A780 003076E0 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A784 003076E4 7C 09 03 A6 */ mtctr r0 +/* 8030A788 003076E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8030A78C 003076EC 40 81 01 14 */ ble lbl_8030A8A0 +lbl_8030A790: +/* 8030A790 003076F0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A794 003076F4 39 08 00 08 */ addi r8, r8, 8 +/* 8030A798 003076F8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A79C 003076FC C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A7A0 00307700 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A7A4 00307704 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A7A8 00307708 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A7AC 0030770C 80 06 00 00 */ lwz r0, 0(r6) +/* 8030A7B0 00307710 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A7B4 00307714 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8030A7B8 00307718 C0 45 00 10 */ lfs f2, 0x10(r5) +/* 8030A7BC 0030771C C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A7C0 00307720 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A7C4 00307724 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A7C8 00307728 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A7CC 0030772C 80 06 00 04 */ lwz r0, 4(r6) +/* 8030A7D0 00307730 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A7D4 00307734 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 8030A7D8 00307738 C0 45 00 1C */ lfs f2, 0x1c(r5) +/* 8030A7DC 0030773C C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A7E0 00307740 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A7E4 00307744 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A7E8 00307748 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A7EC 0030774C 80 06 00 08 */ lwz r0, 8(r6) +/* 8030A7F0 00307750 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A7F4 00307754 C0 25 00 2C */ lfs f1, 0x2c(r5) +/* 8030A7F8 00307758 C0 45 00 28 */ lfs f2, 0x28(r5) +/* 8030A7FC 0030775C C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A800 00307760 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A804 00307764 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A808 00307768 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A80C 0030776C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8030A810 00307770 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A814 00307774 C0 25 00 38 */ lfs f1, 0x38(r5) +/* 8030A818 00307778 C0 45 00 34 */ lfs f2, 0x34(r5) +/* 8030A81C 0030777C C0 05 00 30 */ lfs f0, 0x30(r5) +/* 8030A820 00307780 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A824 00307784 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A828 00307788 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A82C 0030778C 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8030A830 00307790 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A834 00307794 C0 25 00 44 */ lfs f1, 0x44(r5) +/* 8030A838 00307798 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 8030A83C 0030779C C0 05 00 3C */ lfs f0, 0x3c(r5) +/* 8030A840 003077A0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A844 003077A4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A848 003077A8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A84C 003077AC 80 06 00 14 */ lwz r0, 0x14(r6) +/* 8030A850 003077B0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A854 003077B4 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8030A858 003077B8 C0 45 00 4C */ lfs f2, 0x4c(r5) +/* 8030A85C 003077BC C0 05 00 48 */ lfs f0, 0x48(r5) +/* 8030A860 003077C0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A864 003077C4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A868 003077C8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A86C 003077CC 80 06 00 18 */ lwz r0, 0x18(r6) +/* 8030A870 003077D0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A874 003077D4 C0 25 00 5C */ lfs f1, 0x5c(r5) +/* 8030A878 003077D8 C0 45 00 58 */ lfs f2, 0x58(r5) +/* 8030A87C 003077DC C0 05 00 54 */ lfs f0, 0x54(r5) +/* 8030A880 003077E0 38 A5 00 60 */ addi r5, r5, 0x60 +/* 8030A884 003077E4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A888 003077E8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A88C 003077EC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A890 003077F0 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 8030A894 003077F4 38 C6 00 20 */ addi r6, r6, 0x20 +/* 8030A898 003077F8 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A89C 003077FC 42 00 FE F4 */ bdnz lbl_8030A790 +lbl_8030A8A0: +/* 8030A8A0 00307800 1C A8 00 0C */ mulli r5, r8, 0xc +/* 8030A8A4 00307804 80 CD A7 C0 */ lwz r6, lbl_805A9380@sda21(r13) +/* 8030A8A8 00307808 80 8D A7 D0 */ lwz r4, lbl_805A9390@sda21(r13) +/* 8030A8AC 0030780C 55 03 10 3A */ slwi r3, r8, 2 +/* 8030A8B0 00307810 7C 08 38 50 */ subf r0, r8, r7 +/* 8030A8B4 00307814 7C A6 2A 14 */ add r5, r6, r5 +/* 8030A8B8 00307818 7C 84 1A 14 */ add r4, r4, r3 +/* 8030A8BC 0030781C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A8C0 00307820 7C 09 03 A6 */ mtctr r0 +/* 8030A8C4 00307824 7C 08 38 00 */ cmpw r8, r7 +/* 8030A8C8 00307828 40 80 05 F4 */ bge lbl_8030AEBC +lbl_8030A8CC: +/* 8030A8CC 0030782C C0 25 00 08 */ lfs f1, 8(r5) +/* 8030A8D0 00307830 C0 45 00 04 */ lfs f2, 4(r5) +/* 8030A8D4 00307834 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A8D8 00307838 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030A8DC 0030783C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A8E0 00307840 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A8E4 00307844 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A8E8 00307848 80 04 00 00 */ lwz r0, 0(r4) +/* 8030A8EC 0030784C 38 84 00 04 */ addi r4, r4, 4 +/* 8030A8F0 00307850 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A8F4 00307854 42 00 FF D8 */ bdnz lbl_8030A8CC +/* 8030A8F8 00307858 48 00 05 C4 */ b lbl_8030AEBC +/* 8030A8FC 0030785C 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030A900 00307860 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030A904 00307864 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A908 00307868 2C 00 00 00 */ cmpwi r0, 0 +/* 8030A90C 0030786C 80 CD A7 C8 */ lwz r6, lbl_805A9388@sda21(r13) +/* 8030A910 00307870 7C 03 03 78 */ mr r3, r0 +/* 8030A914 00307874 40 81 05 A8 */ ble lbl_8030AEBC +/* 8030A918 00307878 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8030A91C 0030787C 7C 09 03 A6 */ mtctr r0 +/* 8030A920 00307880 41 82 00 B8 */ beq lbl_8030A9D8 +lbl_8030A924: +/* 8030A924 00307884 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A928 00307888 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A92C 0030788C C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A930 00307890 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A934 00307894 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A938 00307898 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A93C 0030789C C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A940 003078A0 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030A944 003078A4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A948 003078A8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A94C 003078AC C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030A950 003078B0 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030A954 003078B4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A958 003078B8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A95C 003078BC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A960 003078C0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A964 003078C4 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8030A968 003078C8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8030A96C 003078CC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A970 003078D0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A974 003078D4 C0 45 00 20 */ lfs f2, 0x20(r5) +/* 8030A978 003078D8 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 8030A97C 003078DC C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A980 003078E0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A984 003078E4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A988 003078E8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A98C 003078EC C0 26 00 14 */ lfs f1, 0x14(r6) +/* 8030A990 003078F0 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 8030A994 003078F4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A998 003078F8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A99C 003078FC C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8030A9A0 00307900 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 8030A9A4 00307904 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A9A8 00307908 38 A5 00 30 */ addi r5, r5, 0x30 +/* 8030A9AC 0030790C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A9B0 00307910 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A9B4 00307914 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A9B8 00307918 C0 26 00 1C */ lfs f1, 0x1c(r6) +/* 8030A9BC 0030791C C0 06 00 18 */ lfs f0, 0x18(r6) +/* 8030A9C0 00307920 38 C6 00 20 */ addi r6, r6, 0x20 +/* 8030A9C4 00307924 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A9C8 00307928 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A9CC 0030792C 42 00 FF 58 */ bdnz lbl_8030A924 +/* 8030A9D0 00307930 70 63 00 03 */ andi. r3, r3, 3 +/* 8030A9D4 00307934 41 82 04 E8 */ beq lbl_8030AEBC +lbl_8030A9D8: +/* 8030A9D8 00307938 7C 69 03 A6 */ mtctr r3 +lbl_8030A9DC: +/* 8030A9DC 0030793C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A9E0 00307940 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A9E4 00307944 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A9E8 00307948 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030A9EC 0030794C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A9F0 00307950 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A9F4 00307954 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A9F8 00307958 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A9FC 0030795C C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AA00 00307960 38 C6 00 08 */ addi r6, r6, 8 +/* 8030AA04 00307964 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA08 00307968 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA0C 0030796C 42 00 FF D0 */ bdnz lbl_8030A9DC +/* 8030AA10 00307970 48 00 04 AC */ b lbl_8030AEBC +/* 8030AA14 00307974 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AA18 00307978 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AA1C 0030797C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AA20 00307980 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AA24 00307984 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030AA28 00307988 80 ED A7 C8 */ lwz r7, lbl_805A9388@sda21(r13) +/* 8030AA2C 0030798C 7C 03 03 78 */ mr r3, r0 +/* 8030AA30 00307990 40 81 04 8C */ ble lbl_8030AEBC +/* 8030AA34 00307994 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8030AA38 00307998 7C 09 03 A6 */ mtctr r0 +/* 8030AA3C 0030799C 41 82 00 9C */ beq lbl_8030AAD8 +lbl_8030AA40: +/* 8030AA40 003079A0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AA44 003079A4 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AA48 003079A8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AA4C 003079AC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA50 003079B0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA54 003079B4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AA58 003079B8 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AA5C 003079BC C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AA60 003079C0 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AA64 003079C4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA68 003079C8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA6C 003079CC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AA70 003079D0 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AA74 003079D4 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AA78 003079D8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA7C 003079DC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA80 003079E0 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030AA84 003079E4 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AA88 003079E8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030AA8C 003079EC 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8030AA90 003079F0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA94 003079F4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA98 003079F8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AA9C 003079FC C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030AAA0 00307A00 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030AAA4 00307A04 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030AAA8 00307A08 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8030AAAC 00307A0C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AAB0 00307A10 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AAB4 00307A14 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AAB8 00307A18 C0 27 00 0C */ lfs f1, 0xc(r7) +/* 8030AABC 00307A1C C0 07 00 08 */ lfs f0, 8(r7) +/* 8030AAC0 00307A20 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8030AAC4 00307A24 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AAC8 00307A28 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AACC 00307A2C 42 00 FF 74 */ bdnz lbl_8030AA40 +/* 8030AAD0 00307A30 70 63 00 01 */ andi. r3, r3, 1 +/* 8030AAD4 00307A34 41 82 03 E8 */ beq lbl_8030AEBC +lbl_8030AAD8: +/* 8030AAD8 00307A38 7C 69 03 A6 */ mtctr r3 +lbl_8030AADC: +/* 8030AADC 00307A3C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AAE0 00307A40 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AAE4 00307A44 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AAE8 00307A48 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030AAEC 00307A4C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AAF0 00307A50 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AAF4 00307A54 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AAF8 00307A58 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AAFC 00307A5C C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AB00 00307A60 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AB04 00307A64 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030AB08 00307A68 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB0C 00307A6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB10 00307A70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AB14 00307A74 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AB18 00307A78 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AB1C 00307A7C 38 E7 00 08 */ addi r7, r7, 8 +/* 8030AB20 00307A80 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB24 00307A84 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB28 00307A88 42 00 FF B4 */ bdnz lbl_8030AADC +/* 8030AB2C 00307A8C 48 00 03 90 */ b lbl_8030AEBC +/* 8030AB30 00307A90 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AB34 00307A94 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AB38 00307A98 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AB3C 00307A9C 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AB40 00307AA0 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030AB44 00307AA4 80 ED A7 D0 */ lwz r7, lbl_805A9390@sda21(r13) +/* 8030AB48 00307AA8 7C 03 03 78 */ mr r3, r0 +/* 8030AB4C 00307AAC 40 81 03 70 */ ble lbl_8030AEBC +/* 8030AB50 00307AB0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8030AB54 00307AB4 7C 09 03 A6 */ mtctr r0 +/* 8030AB58 00307AB8 41 82 00 8C */ beq lbl_8030ABE4 +lbl_8030AB5C: +/* 8030AB5C 00307ABC C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AB60 00307AC0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AB64 00307AC4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AB68 00307AC8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB6C 00307ACC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB70 00307AD0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AB74 00307AD4 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AB78 00307AD8 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AB7C 00307ADC C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AB80 00307AE0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB84 00307AE4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB88 00307AE8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AB8C 00307AEC 80 07 00 00 */ lwz r0, 0(r7) +/* 8030AB90 00307AF0 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AB94 00307AF4 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030AB98 00307AF8 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AB9C 00307AFC C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030ABA0 00307B00 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8030ABA4 00307B04 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ABA8 00307B08 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ABAC 00307B0C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ABB0 00307B10 C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030ABB4 00307B14 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030ABB8 00307B18 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030ABBC 00307B1C 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8030ABC0 00307B20 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ABC4 00307B24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ABC8 00307B28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ABCC 00307B2C 80 07 00 04 */ lwz r0, 4(r7) +/* 8030ABD0 00307B30 38 E7 00 08 */ addi r7, r7, 8 +/* 8030ABD4 00307B34 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ABD8 00307B38 42 00 FF 84 */ bdnz lbl_8030AB5C +/* 8030ABDC 00307B3C 70 63 00 01 */ andi. r3, r3, 1 +/* 8030ABE0 00307B40 41 82 02 DC */ beq lbl_8030AEBC +lbl_8030ABE4: +/* 8030ABE4 00307B44 7C 69 03 A6 */ mtctr r3 +lbl_8030ABE8: +/* 8030ABE8 00307B48 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030ABEC 00307B4C C0 25 00 04 */ lfs f1, 4(r5) +/* 8030ABF0 00307B50 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030ABF4 00307B54 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030ABF8 00307B58 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ABFC 00307B5C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC00 00307B60 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AC04 00307B64 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AC08 00307B68 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AC0C 00307B6C C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AC10 00307B70 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030AC14 00307B74 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AC18 00307B78 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC1C 00307B7C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AC20 00307B80 80 07 00 00 */ lwz r0, 0(r7) +/* 8030AC24 00307B84 38 E7 00 04 */ addi r7, r7, 4 +/* 8030AC28 00307B88 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AC2C 00307B8C 42 00 FF BC */ bdnz lbl_8030ABE8 +/* 8030AC30 00307B90 48 00 02 8C */ b lbl_8030AEBC +/* 8030AC34 00307B94 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AC38 00307B98 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AC3C 00307B9C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AC40 00307BA0 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AC44 00307BA4 80 CD A7 D0 */ lwz r6, lbl_805A9390@sda21(r13) +/* 8030AC48 00307BA8 80 ED A7 C8 */ lwz r7, lbl_805A9388@sda21(r13) +/* 8030AC4C 00307BAC 7C 03 03 78 */ mr r3, r0 +/* 8030AC50 00307BB0 40 81 02 6C */ ble lbl_8030AEBC +/* 8030AC54 00307BB4 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8030AC58 00307BB8 7C 09 03 A6 */ mtctr r0 +/* 8030AC5C 00307BBC 41 82 00 DC */ beq lbl_8030AD38 +lbl_8030AC60: +/* 8030AC60 00307BC0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AC64 00307BC4 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AC68 00307BC8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AC6C 00307BCC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AC70 00307BD0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC74 00307BD4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AC78 00307BD8 80 06 00 00 */ lwz r0, 0(r6) +/* 8030AC7C 00307BDC 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AC80 00307BE0 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AC84 00307BE4 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AC88 00307BE8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AC8C 00307BEC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC90 00307BF0 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030AC94 00307BF4 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AC98 00307BF8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030AC9C 00307BFC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACA0 00307C00 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACA4 00307C04 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ACA8 00307C08 80 06 00 04 */ lwz r0, 4(r6) +/* 8030ACAC 00307C0C 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ACB0 00307C10 C0 27 00 0C */ lfs f1, 0xc(r7) +/* 8030ACB4 00307C14 C0 07 00 08 */ lfs f0, 8(r7) +/* 8030ACB8 00307C18 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACBC 00307C1C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACC0 00307C20 C0 45 00 20 */ lfs f2, 0x20(r5) +/* 8030ACC4 00307C24 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 8030ACC8 00307C28 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030ACCC 00307C2C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACD0 00307C30 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACD4 00307C34 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ACD8 00307C38 80 06 00 08 */ lwz r0, 8(r6) +/* 8030ACDC 00307C3C 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ACE0 00307C40 C0 27 00 14 */ lfs f1, 0x14(r7) +/* 8030ACE4 00307C44 C0 07 00 10 */ lfs f0, 0x10(r7) +/* 8030ACE8 00307C48 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACEC 00307C4C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACF0 00307C50 C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8030ACF4 00307C54 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 8030ACF8 00307C58 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030ACFC 00307C5C 38 A5 00 30 */ addi r5, r5, 0x30 +/* 8030AD00 00307C60 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD04 00307C64 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD08 00307C68 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AD0C 00307C6C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8030AD10 00307C70 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8030AD14 00307C74 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AD18 00307C78 C0 27 00 1C */ lfs f1, 0x1c(r7) +/* 8030AD1C 00307C7C C0 07 00 18 */ lfs f0, 0x18(r7) +/* 8030AD20 00307C80 38 E7 00 20 */ addi r7, r7, 0x20 +/* 8030AD24 00307C84 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD28 00307C88 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD2C 00307C8C 42 00 FF 34 */ bdnz lbl_8030AC60 +/* 8030AD30 00307C90 70 63 00 03 */ andi. r3, r3, 3 +/* 8030AD34 00307C94 41 82 01 88 */ beq lbl_8030AEBC +lbl_8030AD38: +/* 8030AD38 00307C98 7C 69 03 A6 */ mtctr r3 +lbl_8030AD3C: +/* 8030AD3C 00307C9C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AD40 00307CA0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AD44 00307CA4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AD48 00307CA8 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030AD4C 00307CAC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD50 00307CB0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD54 00307CB4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AD58 00307CB8 80 06 00 00 */ lwz r0, 0(r6) +/* 8030AD5C 00307CBC 38 C6 00 04 */ addi r6, r6, 4 +/* 8030AD60 00307CC0 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AD64 00307CC4 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AD68 00307CC8 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AD6C 00307CCC 38 E7 00 08 */ addi r7, r7, 8 +/* 8030AD70 00307CD0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD74 00307CD4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD78 00307CD8 42 00 FF C4 */ bdnz lbl_8030AD3C +/* 8030AD7C 00307CDC 48 00 01 40 */ b lbl_8030AEBC +/* 8030AD80 00307CE0 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AD84 00307CE4 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AD88 00307CE8 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AD8C 00307CEC 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AD90 00307CF0 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030AD94 00307CF4 80 ED A7 D0 */ lwz r7, lbl_805A9390@sda21(r13) +/* 8030AD98 00307CF8 7C 03 03 78 */ mr r3, r0 +/* 8030AD9C 00307CFC 81 0D A7 C8 */ lwz r8, lbl_805A9388@sda21(r13) +/* 8030ADA0 00307D00 40 81 01 1C */ ble lbl_8030AEBC +/* 8030ADA4 00307D04 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8030ADA8 00307D08 7C 09 03 A6 */ mtctr r0 +/* 8030ADAC 00307D0C 41 82 00 B0 */ beq lbl_8030AE5C +lbl_8030ADB0: +/* 8030ADB0 00307D10 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030ADB4 00307D14 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030ADB8 00307D18 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030ADBC 00307D1C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ADC0 00307D20 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ADC4 00307D24 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ADC8 00307D28 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030ADCC 00307D2C C0 26 00 04 */ lfs f1, 4(r6) +/* 8030ADD0 00307D30 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030ADD4 00307D34 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ADD8 00307D38 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ADDC 00307D3C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ADE0 00307D40 80 07 00 00 */ lwz r0, 0(r7) +/* 8030ADE4 00307D44 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ADE8 00307D48 C0 28 00 04 */ lfs f1, 4(r8) +/* 8030ADEC 00307D4C C0 08 00 00 */ lfs f0, 0(r8) +/* 8030ADF0 00307D50 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ADF4 00307D54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ADF8 00307D58 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030ADFC 00307D5C C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AE00 00307D60 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030AE04 00307D64 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8030AE08 00307D68 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE0C 00307D6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE10 00307D70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE14 00307D74 C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030AE18 00307D78 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030AE1C 00307D7C C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030AE20 00307D80 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8030AE24 00307D84 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE28 00307D88 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE2C 00307D8C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE30 00307D90 80 07 00 04 */ lwz r0, 4(r7) +/* 8030AE34 00307D94 38 E7 00 08 */ addi r7, r7, 8 +/* 8030AE38 00307D98 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AE3C 00307D9C C0 28 00 0C */ lfs f1, 0xc(r8) +/* 8030AE40 00307DA0 C0 08 00 08 */ lfs f0, 8(r8) +/* 8030AE44 00307DA4 39 08 00 10 */ addi r8, r8, 0x10 +/* 8030AE48 00307DA8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE4C 00307DAC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE50 00307DB0 42 00 FF 60 */ bdnz lbl_8030ADB0 +/* 8030AE54 00307DB4 70 63 00 01 */ andi. r3, r3, 1 +/* 8030AE58 00307DB8 41 82 00 64 */ beq lbl_8030AEBC +lbl_8030AE5C: +/* 8030AE5C 00307DBC 7C 69 03 A6 */ mtctr r3 +lbl_8030AE60: +/* 8030AE60 00307DC0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AE64 00307DC4 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AE68 00307DC8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AE6C 00307DCC 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030AE70 00307DD0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE74 00307DD4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE78 00307DD8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE7C 00307DDC C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AE80 00307DE0 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AE84 00307DE4 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AE88 00307DE8 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030AE8C 00307DEC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE90 00307DF0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE94 00307DF4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE98 00307DF8 80 07 00 00 */ lwz r0, 0(r7) +/* 8030AE9C 00307DFC 38 E7 00 04 */ addi r7, r7, 4 +/* 8030AEA0 00307E00 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AEA4 00307E04 C0 28 00 04 */ lfs f1, 4(r8) +/* 8030AEA8 00307E08 C0 08 00 00 */ lfs f0, 0(r8) +/* 8030AEAC 00307E0C 39 08 00 08 */ addi r8, r8, 8 +/* 8030AEB0 00307E10 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AEB4 00307E14 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AEB8 00307E18 42 00 FF A8 */ bdnz lbl_8030AE60 +lbl_8030AEBC: +/* 8030AEBC 00307E1C 4B FF D6 C5 */ bl End__3CGXFv +/* 8030AEC0 00307E20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030AEC4 00307E24 7C 08 03 A6 */ mtlr r0 +/* 8030AEC8 00307E28 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030AECC 00307E2C 4E 80 00 20 */ blr + +.global SetTevStates__9CGraphicsFUc +SetTevStates__9CGraphicsFUc: +/* 8030AED0 00307E30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030AED4 00307E34 7C 08 02 A6 */ mflr r0 +/* 8030AED8 00307E38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030AEDC 00307E3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030AEE0 00307E40 54 7F 06 3E */ clrlwi r31, r3, 0x18 +/* 8030AEE4 00307E44 2C 1F 00 04 */ cmpwi r31, 4 +/* 8030AEE8 00307E48 40 80 00 10 */ bge lbl_8030AEF8 +/* 8030AEEC 00307E4C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8030AEF0 00307E50 40 80 00 14 */ bge lbl_8030AF04 +/* 8030AEF4 00307E54 48 00 00 AC */ b lbl_8030AFA0 +lbl_8030AEF8: +/* 8030AEF8 00307E58 2C 1F 00 08 */ cmpwi r31, 8 +/* 8030AEFC 00307E5C 40 80 00 A4 */ bge lbl_8030AFA0 +/* 8030AF00 00307E60 48 00 00 48 */ b lbl_8030AF48 +lbl_8030AF04: +/* 8030AF04 00307E64 38 60 00 01 */ li r3, 1 +/* 8030AF08 00307E68 4B FF DF 49 */ bl SetNumChans__3CGXFUc +/* 8030AF0C 00307E6C 38 60 00 00 */ li r3, 0 +/* 8030AF10 00307E70 4B FF DF 05 */ bl SetNumTexGens__3CGXFUc +/* 8030AF14 00307E74 38 60 00 01 */ li r3, 1 +/* 8030AF18 00307E78 4B FF DD 79 */ bl SetNumTevStages__3CGXFUc +/* 8030AF1C 00307E7C 38 60 00 00 */ li r3, 0 +/* 8030AF20 00307E80 38 80 00 FF */ li r4, 0xff +/* 8030AF24 00307E84 38 A0 00 FF */ li r5, 0xff +/* 8030AF28 00307E88 38 C0 00 04 */ li r6, 4 +/* 8030AF2C 00307E8C 4B FF DA 21 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8030AF30 00307E90 38 60 00 01 */ li r3, 1 +/* 8030AF34 00307E94 38 80 00 FF */ li r4, 0xff +/* 8030AF38 00307E98 38 A0 00 FF */ li r5, 0xff +/* 8030AF3C 00307E9C 38 C0 00 04 */ li r6, 4 +/* 8030AF40 00307EA0 4B FF DA 0D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8030AF44 00307EA4 48 00 00 5C */ b lbl_8030AFA0 +lbl_8030AF48: +/* 8030AF48 00307EA8 38 60 00 01 */ li r3, 1 +/* 8030AF4C 00307EAC 4B FF DF 05 */ bl SetNumChans__3CGXFUc +/* 8030AF50 00307EB0 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030AF54 00307EB4 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030AF58 00307EB8 A0 03 00 2C */ lhz r0, 0x2c(r3) +/* 8030AF5C 00307EBC 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 8030AF60 00307EC0 41 82 00 10 */ beq lbl_8030AF70 +/* 8030AF64 00307EC4 38 60 00 02 */ li r3, 2 +/* 8030AF68 00307EC8 4B FF DE AD */ bl SetNumTexGens__3CGXFUc +/* 8030AF6C 00307ECC 48 00 00 0C */ b lbl_8030AF78 +lbl_8030AF70: +/* 8030AF70 00307ED0 38 60 00 01 */ li r3, 1 +/* 8030AF74 00307ED4 4B FF DE A1 */ bl SetNumTexGens__3CGXFUc +lbl_8030AF78: +/* 8030AF78 00307ED8 38 60 00 00 */ li r3, 0 +/* 8030AF7C 00307EDC 38 80 00 00 */ li r4, 0 +/* 8030AF80 00307EE0 38 A0 00 00 */ li r5, 0 +/* 8030AF84 00307EE4 38 C0 00 04 */ li r6, 4 +/* 8030AF88 00307EE8 4B FF D9 C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8030AF8C 00307EEC 38 60 00 01 */ li r3, 1 +/* 8030AF90 00307EF0 38 80 00 01 */ li r4, 1 +/* 8030AF94 00307EF4 38 A0 00 01 */ li r5, 1 +/* 8030AF98 00307EF8 38 C0 00 04 */ li r6, 4 +/* 8030AF9C 00307EFC 4B FF D9 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +lbl_8030AFA0: +/* 8030AFA0 00307F00 38 60 00 00 */ li r3, 0 +/* 8030AFA4 00307F04 4B FF D6 ED */ bl SetNumIndStages__3CGXFUc +/* 8030AFA8 00307F08 38 60 00 00 */ li r3, 0 +/* 8030AFAC 00307F0C 38 80 00 01 */ li r4, 1 +/* 8030AFB0 00307F10 38 A0 00 04 */ li r5, 4 +/* 8030AFB4 00307F14 38 C0 00 3C */ li r6, 0x3c +/* 8030AFB8 00307F18 38 E0 00 00 */ li r7, 0 +/* 8030AFBC 00307F1C 39 00 00 7D */ li r8, 0x7d +/* 8030AFC0 00307F20 4B FF D7 0D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8030AFC4 00307F24 38 60 00 01 */ li r3, 1 +/* 8030AFC8 00307F28 38 80 00 01 */ li r4, 1 +/* 8030AFCC 00307F2C 38 A0 00 05 */ li r5, 5 +/* 8030AFD0 00307F30 38 C0 00 3C */ li r6, 0x3c +/* 8030AFD4 00307F34 38 E0 00 00 */ li r7, 0 +/* 8030AFD8 00307F38 39 00 00 7D */ li r8, 0x7d +/* 8030AFDC 00307F3C 4B FF D6 F1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8030AFE0 00307F40 88 ED A8 16 */ lbz r7, lbl_805A93D6@sda21(r13) +/* 8030AFE4 00307F44 39 20 00 02 */ li r9, 2 +/* 8030AFE8 00307F48 28 07 00 00 */ cmplwi r7, 0 +/* 8030AFEC 00307F4C 41 82 00 08 */ beq lbl_8030AFF4 +/* 8030AFF0 00307F50 39 20 00 01 */ li r9, 1 +lbl_8030AFF4: +/* 8030AFF4 00307F54 28 07 00 00 */ cmplwi r7, 0 +/* 8030AFF8 00307F58 39 00 00 00 */ li r8, 0 +/* 8030AFFC 00307F5C 41 82 00 08 */ beq lbl_8030B004 +/* 8030B000 00307F60 39 00 00 02 */ li r8, 2 +lbl_8030B004: +/* 8030B004 00307F64 7C 07 00 D0 */ neg r0, r7 +/* 8030B008 00307F68 57 E6 FF FE */ rlwinm r6, r31, 0x1f, 0x1f, 0x1f +/* 8030B00C 00307F6C 7C 00 3B 78 */ or r0, r0, r7 +/* 8030B010 00307F70 38 60 00 00 */ li r3, 0 +/* 8030B014 00307F74 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8030B018 00307F78 38 A0 00 00 */ li r5, 0 +/* 8030B01C 00307F7C 4B FF DC B1 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030B020 00307F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B024 00307F84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030B028 00307F88 7C 08 03 A6 */ mtlr r0 +/* 8030B02C 00307F8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B030 00307F90 4E 80 00 20 */ blr + +.global FlushStream__9CGraphicsFv +FlushStream__9CGraphicsFv: +/* 8030B034 00307F94 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8030B038 00307F98 7C 08 02 A6 */ mflr r0 +/* 8030B03C 00307F9C 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B040 00307FA0 90 01 00 94 */ stw r0, 0x94(r1) +/* 8030B044 00307FA4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8030B048 00307FA8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8030B04C 00307FAC 3B E3 61 70 */ addi r31, r3, lbl_805A6170@l +/* 8030B050 00307FB0 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B054 00307FB4 80 82 C7 B8 */ lwz r4, lbl_805AE4D8@sda21(r2) +/* 8030B058 00307FB8 80 62 C7 BC */ lwz r3, lbl_805AE4DC@sda21(r2) +/* 8030B05C 00307FBC 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030B060 00307FC0 90 81 00 28 */ stw r4, 0x28(r1) +/* 8030B064 00307FC4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8030B068 00307FC8 90 81 00 30 */ stw r4, 0x30(r1) +/* 8030B06C 00307FCC 90 61 00 34 */ stw r3, 0x34(r1) +/* 8030B070 00307FD0 41 82 00 20 */ beq lbl_8030B090 +/* 8030B074 00307FD4 80 62 C7 C0 */ lwz r3, lbl_805AE4E0@sda21(r2) +/* 8030B078 00307FD8 38 A5 00 08 */ addi r5, r5, 8 +/* 8030B07C 00307FDC 80 02 C7 C4 */ lwz r0, lbl_805AE4E4@sda21(r2) +/* 8030B080 00307FE0 90 61 00 20 */ stw r3, 0x20(r1) +/* 8030B084 00307FE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030B088 00307FE8 90 61 00 38 */ stw r3, 0x38(r1) +/* 8030B08C 00307FEC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_8030B090: +/* 8030B090 00307FF0 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B094 00307FF4 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030B098 00307FF8 41 82 00 20 */ beq lbl_8030B0B8 +/* 8030B09C 00307FFC 80 62 C7 C8 */ lwz r3, lbl_805AE4E8@sda21(r2) +/* 8030B0A0 00308000 80 02 C7 CC */ lwz r0, lbl_805AE4EC@sda21(r2) +/* 8030B0A4 00308004 90 65 00 00 */ stw r3, 0(r5) +/* 8030B0A8 00308008 90 05 00 04 */ stw r0, 4(r5) +/* 8030B0AC 0030800C 38 A5 00 08 */ addi r5, r5, 8 +/* 8030B0B0 00308010 90 61 00 18 */ stw r3, 0x18(r1) +/* 8030B0B4 00308014 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8030B0B8: +/* 8030B0B8 00308018 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B0BC 0030801C 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8030B0C0 00308020 41 82 00 20 */ beq lbl_8030B0E0 +/* 8030B0C4 00308024 80 62 C7 D0 */ lwz r3, lbl_805AE4F0@sda21(r2) +/* 8030B0C8 00308028 80 02 C7 D4 */ lwz r0, lbl_805AE4F4@sda21(r2) +/* 8030B0CC 0030802C 90 65 00 00 */ stw r3, 0(r5) +/* 8030B0D0 00308030 90 05 00 04 */ stw r0, 4(r5) +/* 8030B0D4 00308034 38 A5 00 08 */ addi r5, r5, 8 +/* 8030B0D8 00308038 90 61 00 10 */ stw r3, 0x10(r1) +/* 8030B0DC 0030803C 90 01 00 14 */ stw r0, 0x14(r1) +lbl_8030B0E0: +/* 8030B0E0 00308040 80 82 C7 D8 */ lwz r4, lbl_805AE4F8@sda21(r2) +/* 8030B0E4 00308044 38 61 00 30 */ addi r3, r1, 0x30 +/* 8030B0E8 00308048 80 02 C7 DC */ lwz r0, lbl_805AE4FC@sda21(r2) +/* 8030B0EC 0030804C 90 85 00 00 */ stw r4, 0(r5) +/* 8030B0F0 00308050 90 81 00 08 */ stw r4, 8(r1) +/* 8030B0F4 00308054 90 01 00 0C */ stw r0, 0xc(r1) +/* 8030B0F8 00308058 90 05 00 04 */ stw r0, 4(r5) +/* 8030B0FC 0030805C 4B FF CD 2D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8030B100 00308060 88 7F 00 2E */ lbz r3, 0x2e(r31) +/* 8030B104 00308064 4B FF FD CD */ bl SetTevStates__9CGraphicsFUc +/* 8030B108 00308068 4B FF F3 79 */ bl FullRender__9CGraphicsFv +/* 8030B10C 0030806C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8030B110 00308070 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8030B114 00308074 7C 08 03 A6 */ mtlr r0 +/* 8030B118 00308078 38 21 00 90 */ addi r1, r1, 0x90 +/* 8030B11C 0030807C 4E 80 00 20 */ blr + +.global ResetVertexDataStream__9CGraphicsFb +ResetVertexDataStream__9CGraphicsFb: +/* 8030B120 00308080 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B124 00308084 7C 08 02 A6 */ mflr r0 +/* 8030B128 00308088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B12C 0030808C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030B130 00308090 38 60 00 00 */ li r3, 0 +/* 8030B134 00308094 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030B138 00308098 80 ED A7 C0 */ lwz r7, lbl_805A9380@sda21(r13) +/* 8030B13C 0030809C 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030B140 003080A0 80 AD A7 C8 */ lwz r5, lbl_805A9388@sda21(r13) +/* 8030B144 003080A4 80 8D A7 CC */ lwz r4, lbl_805A938C@sda21(r13) +/* 8030B148 003080A8 80 0D A7 D0 */ lwz r0, lbl_805A9390@sda21(r13) +/* 8030B14C 003080AC 90 ED A7 E4 */ stw r7, lbl_805A93A4@sda21(r13) +/* 8030B150 003080B0 90 CD A7 E8 */ stw r6, lbl_805A93A8@sda21(r13) +/* 8030B154 003080B4 90 AD A7 EC */ stw r5, lbl_805A93AC@sda21(r13) +/* 8030B158 003080B8 90 8D A7 F0 */ stw r4, lbl_805A93B0@sda21(r13) +/* 8030B15C 003080BC 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) +/* 8030B160 003080C0 90 6D A7 FC */ stw r3, lbl_805A93BC@sda21(r13) +/* 8030B164 003080C4 40 82 01 1C */ bne lbl_8030B280 +/* 8030B168 003080C8 80 0D 9C 74 */ lwz r0, lbl_805A8834@sda21(r13) +/* 8030B16C 003080CC 2C 00 00 A0 */ cmpwi r0, 0xa0 +/* 8030B170 003080D0 41 82 00 08 */ beq lbl_8030B178 +/* 8030B174 003080D4 48 00 01 04 */ b lbl_8030B278 +lbl_8030B178: +/* 8030B178 003080D8 38 67 00 0C */ addi r3, r7, 0xc +/* 8030B17C 003080DC 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B180 003080E0 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) +/* 8030B184 003080E4 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B188 003080E8 38 A0 00 0C */ li r5, 0xc +/* 8030B18C 003080EC 4B CF 83 05 */ bl memcpy +/* 8030B190 003080F0 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B194 003080F4 80 8D A7 E4 */ lwz r4, lbl_805A93A4@sda21(r13) +/* 8030B198 003080F8 3B E3 61 70 */ addi r31, r3, lbl_805A6170@l +/* 8030B19C 003080FC 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B1A0 00308100 38 64 00 0C */ addi r3, r4, 0xc +/* 8030B1A4 00308104 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) +/* 8030B1A8 00308108 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030B1AC 0030810C 41 82 00 28 */ beq lbl_8030B1D4 +/* 8030B1B0 00308110 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B1B4 00308114 38 9F 00 0C */ addi r4, r31, 0xc +/* 8030B1B8 00308118 38 A0 00 0C */ li r5, 0xc +/* 8030B1BC 0030811C 38 63 00 0C */ addi r3, r3, 0xc +/* 8030B1C0 00308120 90 6D A7 E8 */ stw r3, lbl_805A93A8@sda21(r13) +/* 8030B1C4 00308124 4B CF 82 CD */ bl memcpy +/* 8030B1C8 00308128 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B1CC 0030812C 38 03 00 0C */ addi r0, r3, 0xc +/* 8030B1D0 00308130 90 0D A7 E8 */ stw r0, lbl_805A93A8@sda21(r13) +lbl_8030B1D4: +/* 8030B1D4 00308134 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B1D8 00308138 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8030B1DC 0030813C 41 82 00 5C */ beq lbl_8030B238 +/* 8030B1E0 00308140 80 CD A7 EC */ lwz r6, lbl_805A93AC@sda21(r13) +/* 8030B1E4 00308144 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B1E8 00308148 38 83 61 70 */ addi r4, r3, lbl_805A6170@l +/* 8030B1EC 0030814C 38 A0 00 08 */ li r5, 8 +/* 8030B1F0 00308150 38 66 00 08 */ addi r3, r6, 8 +/* 8030B1F4 00308154 90 6D A7 EC */ stw r3, lbl_805A93AC@sda21(r13) +/* 8030B1F8 00308158 38 84 00 18 */ addi r4, r4, 0x18 +/* 8030B1FC 0030815C 4B CF 82 95 */ bl memcpy +/* 8030B200 00308160 80 AD A7 EC */ lwz r5, lbl_805A93AC@sda21(r13) +/* 8030B204 00308164 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B208 00308168 80 CD A7 F0 */ lwz r6, lbl_805A93B0@sda21(r13) +/* 8030B20C 0030816C 38 83 61 70 */ addi r4, r3, lbl_805A6170@l +/* 8030B210 00308170 38 05 00 08 */ addi r0, r5, 8 +/* 8030B214 00308174 38 A0 00 08 */ li r5, 8 +/* 8030B218 00308178 38 66 00 08 */ addi r3, r6, 8 +/* 8030B21C 0030817C 90 0D A7 EC */ stw r0, lbl_805A93AC@sda21(r13) +/* 8030B220 00308180 38 84 00 20 */ addi r4, r4, 0x20 +/* 8030B224 00308184 90 6D A7 F0 */ stw r3, lbl_805A93B0@sda21(r13) +/* 8030B228 00308188 4B CF 82 69 */ bl memcpy +/* 8030B22C 0030818C 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B230 00308190 38 03 00 08 */ addi r0, r3, 8 +/* 8030B234 00308194 90 0D A7 F0 */ stw r0, lbl_805A93B0@sda21(r13) +lbl_8030B238: +/* 8030B238 00308198 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B23C 0030819C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030B240 003081A0 41 82 00 2C */ beq lbl_8030B26C +/* 8030B244 003081A4 80 8D A7 F4 */ lwz r4, lbl_805A93B4@sda21(r13) +/* 8030B248 003081A8 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B24C 003081AC 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030B250 003081B0 38 84 00 04 */ addi r4, r4, 4 +/* 8030B254 003081B4 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8030B258 003081B8 90 8D A7 F4 */ stw r4, lbl_805A93B4@sda21(r13) +/* 8030B25C 003081BC 90 04 00 00 */ stw r0, 0(r4) +/* 8030B260 003081C0 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) +/* 8030B264 003081C4 38 03 00 04 */ addi r0, r3, 4 +/* 8030B268 003081C8 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) +lbl_8030B26C: +/* 8030B26C 003081CC 80 6D A7 FC */ lwz r3, lbl_805A93BC@sda21(r13) +/* 8030B270 003081D0 38 03 00 02 */ addi r0, r3, 2 +/* 8030B274 003081D4 90 0D A7 FC */ stw r0, lbl_805A93BC@sda21(r13) +lbl_8030B278: +/* 8030B278 003081D8 38 00 00 01 */ li r0, 1 +/* 8030B27C 003081DC 98 0D A7 D4 */ stb r0, lbl_805A9394@sda21(r13) +lbl_8030B280: +/* 8030B280 003081E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B284 003081E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030B288 003081E8 7C 08 03 A6 */ mtlr r0 +/* 8030B28C 003081EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B290 003081F0 4E 80 00 20 */ blr + +.global UpdateVertexDataStream__9CGraphicsFv +UpdateVertexDataStream__9CGraphicsFv: +/* 8030B294 003081F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B298 003081F8 7C 08 02 A6 */ mflr r0 +/* 8030B29C 003081FC 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B2A0 00308200 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B2A4 00308204 38 A3 61 70 */ addi r5, r3, lbl_805A6170@l +/* 8030B2A8 00308208 80 8D A7 FC */ lwz r4, lbl_805A93BC@sda21(r13) +/* 8030B2AC 0030820C 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2B0 00308210 38 04 00 01 */ addi r0, r4, 1 +/* 8030B2B4 00308214 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030B2B8 00308218 90 0D A7 FC */ stw r0, lbl_805A93BC@sda21(r13) +/* 8030B2BC 0030821C D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B2C0 00308220 C0 05 00 04 */ lfs f0, 4(r5) +/* 8030B2C4 00308224 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2C8 00308228 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B2CC 0030822C C0 05 00 08 */ lfs f0, 8(r5) +/* 8030B2D0 00308230 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2D4 00308234 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030B2D8 00308238 88 05 00 2E */ lbz r0, 0x2e(r5) +/* 8030B2DC 0030823C 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2E0 00308240 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030B2E4 00308244 38 63 00 0C */ addi r3, r3, 0xc +/* 8030B2E8 00308248 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) +/* 8030B2EC 0030824C 41 82 00 34 */ beq lbl_8030B320 +/* 8030B2F0 00308250 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030B2F4 00308254 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B2F8 00308258 D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B2FC 0030825C C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8030B300 00308260 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B304 00308264 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B308 00308268 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8030B30C 0030826C 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B310 00308270 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030B314 00308274 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B318 00308278 38 03 00 0C */ addi r0, r3, 0xc +/* 8030B31C 0030827C 90 0D A7 E8 */ stw r0, lbl_805A93A8@sda21(r13) +lbl_8030B320: +/* 8030B320 00308280 88 05 00 2E */ lbz r0, 0x2e(r5) +/* 8030B324 00308284 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8030B328 00308288 41 82 00 54 */ beq lbl_8030B37C +/* 8030B32C 0030828C 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B330 00308290 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) +/* 8030B334 00308294 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B338 00308298 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8030B33C 0030829C D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B340 003082A0 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 8030B344 003082A4 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) +/* 8030B348 003082A8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B34C 003082AC 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) +/* 8030B350 003082B0 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8030B354 003082B4 38 03 00 08 */ addi r0, r3, 8 +/* 8030B358 003082B8 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B35C 003082BC 90 0D A7 EC */ stw r0, lbl_805A93AC@sda21(r13) +/* 8030B360 003082C0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B364 003082C4 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8030B368 003082C8 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B36C 003082CC D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B370 003082D0 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B374 003082D4 38 03 00 08 */ addi r0, r3, 8 +/* 8030B378 003082D8 90 0D A7 F0 */ stw r0, lbl_805A93B0@sda21(r13) +lbl_8030B37C: +/* 8030B37C 003082DC 88 05 00 2E */ lbz r0, 0x2e(r5) +/* 8030B380 003082E0 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030B384 003082E4 41 82 00 24 */ beq lbl_8030B3A8 +/* 8030B388 003082E8 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B38C 003082EC 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) +/* 8030B390 003082F0 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B394 003082F4 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8030B398 003082F8 90 03 00 00 */ stw r0, 0(r3) +/* 8030B39C 003082FC 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) +/* 8030B3A0 00308300 38 03 00 04 */ addi r0, r3, 4 +/* 8030B3A4 00308304 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) +lbl_8030B3A8: +/* 8030B3A8 00308308 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030B3AC 0030830C 38 60 00 00 */ li r3, 0 +/* 8030B3B0 00308310 98 6D A7 D4 */ stb r3, lbl_805A9394@sda21(r13) +/* 8030B3B4 00308314 2C 00 00 F0 */ cmpwi r0, 0xf0 +/* 8030B3B8 00308318 40 82 00 10 */ bne lbl_8030B3C8 +/* 8030B3BC 0030831C 4B FF FC 79 */ bl FlushStream__9CGraphicsFv +/* 8030B3C0 00308320 38 60 00 00 */ li r3, 0 +/* 8030B3C4 00308324 4B FF FD 5D */ bl ResetVertexDataStream__9CGraphicsFb +lbl_8030B3C8: +/* 8030B3C8 00308328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B3CC 0030832C 7C 08 03 A6 */ mtlr r0 +/* 8030B3D0 00308330 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B3D4 00308334 4E 80 00 20 */ blr + +.global SetLineWidth__9CGraphicsFf13ERglTexOffset +SetLineWidth__9CGraphicsFf13ERglTexOffset: +/* 8030B3D8 00308338 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B3DC 0030833C 7C 08 02 A6 */ mflr r0 +/* 8030B3E0 00308340 C0 02 C8 00 */ lfs f0, lbl_805AE520@sda21(r2) +/* 8030B3E4 00308344 7C 64 1B 78 */ mr r4, r3 +/* 8030B3E8 00308348 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B3EC 0030834C EC 00 00 72 */ fmuls f0, f0, f1 +/* 8030B3F0 00308350 FC 00 00 1E */ fctiwz f0, f0 +/* 8030B3F4 00308354 D8 01 00 08 */ stfd f0, 8(r1) +/* 8030B3F8 00308358 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8030B3FC 0030835C 4B FF D0 BD */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 8030B400 00308360 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B404 00308364 7C 08 03 A6 */ mtlr r0 +/* 8030B408 00308368 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B40C 0030836C 4E 80 00 20 */ blr + +.global StreamEnd__9CGraphicsFv +StreamEnd__9CGraphicsFv: +/* 8030B410 00308370 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B414 00308374 7C 08 02 A6 */ mflr r0 +/* 8030B418 00308378 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B41C 0030837C 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030B420 00308380 2C 00 00 00 */ cmpwi r0, 0 +/* 8030B424 00308384 41 82 00 08 */ beq lbl_8030B42C +/* 8030B428 00308388 4B FF FC 0D */ bl FlushStream__9CGraphicsFv +lbl_8030B42C: +/* 8030B42C 0030838C 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B430 00308390 38 00 00 00 */ li r0, 0 +/* 8030B434 00308394 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030B438 00308398 90 0D A7 C0 */ stw r0, lbl_805A9380@sda21(r13) +/* 8030B43C 0030839C 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8030B440 003083A0 B0 03 00 2C */ sth r0, 0x2c(r3) +/* 8030B444 003083A4 90 0D A7 C4 */ stw r0, lbl_805A9384@sda21(r13) +/* 8030B448 003083A8 90 0D A7 C8 */ stw r0, lbl_805A9388@sda21(r13) +/* 8030B44C 003083AC 90 0D A7 CC */ stw r0, lbl_805A938C@sda21(r13) +/* 8030B450 003083B0 90 0D A7 D0 */ stw r0, lbl_805A9390@sda21(r13) +/* 8030B454 003083B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B458 003083B8 7C 08 03 A6 */ mtlr r0 +/* 8030B45C 003083BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B460 003083C0 4E 80 00 20 */ blr + +.global StreamTexcoord__9CGraphicsFff +StreamTexcoord__9CGraphicsFff: +/* 8030B464 003083C4 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B468 003083C8 88 62 C8 04 */ lbz r3, lbl_805AE524@sda21(r2) +/* 8030B46C 003083CC 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l +/* 8030B470 003083D0 88 85 00 2E */ lbz r4, 0x2e(r5) +/* 8030B474 003083D4 A0 05 00 2C */ lhz r0, 0x2c(r5) +/* 8030B478 003083D8 7C 83 1B 78 */ or r3, r4, r3 +/* 8030B47C 003083DC D0 25 00 18 */ stfs f1, 0x18(r5) +/* 8030B480 003083E0 60 00 00 01 */ ori r0, r0, 1 +/* 8030B484 003083E4 D0 45 00 1C */ stfs f2, 0x1c(r5) +/* 8030B488 003083E8 98 65 00 2E */ stb r3, 0x2e(r5) +/* 8030B48C 003083EC B0 05 00 2C */ sth r0, 0x2c(r5) +/* 8030B490 003083F0 4E 80 00 20 */ blr + +.global StreamTexcoord__9CGraphicsFRC9CVector2f +StreamTexcoord__9CGraphicsFRC9CVector2f: +/* 8030B494 003083F4 3C A0 80 5A */ lis r5, lbl_805A6170@ha +/* 8030B498 003083F8 88 82 C8 04 */ lbz r4, lbl_805AE524@sda21(r2) +/* 8030B49C 003083FC 38 C5 61 70 */ addi r6, r5, lbl_805A6170@l +/* 8030B4A0 00308400 C0 23 00 00 */ lfs f1, 0(r3) +/* 8030B4A4 00308404 A0 06 00 2C */ lhz r0, 0x2c(r6) +/* 8030B4A8 00308408 C0 03 00 04 */ lfs f0, 4(r3) +/* 8030B4AC 0030840C 88 A6 00 2E */ lbz r5, 0x2e(r6) +/* 8030B4B0 00308410 60 00 00 01 */ ori r0, r0, 1 +/* 8030B4B4 00308414 D0 26 00 18 */ stfs f1, 0x18(r6) +/* 8030B4B8 00308418 7C A3 23 78 */ or r3, r5, r4 +/* 8030B4BC 0030841C D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 8030B4C0 00308420 98 66 00 2E */ stb r3, 0x2e(r6) +/* 8030B4C4 00308424 B0 06 00 2C */ sth r0, 0x2c(r6) +/* 8030B4C8 00308428 4E 80 00 20 */ blr + +.global StreamColor__9CGraphicsFffff +StreamColor__9CGraphicsFffff: +/* 8030B4CC 0030842C C0 A2 C8 08 */ lfs f5, lbl_805AE528@sda21(r2) +/* 8030B4D0 00308430 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B4D4 00308434 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030B4D8 00308438 38 83 61 70 */ addi r4, r3, lbl_805A6170@l +/* 8030B4DC 0030843C EC 05 00 B2 */ fmuls f0, f5, f2 +/* 8030B4E0 00308440 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) +/* 8030B4E4 00308444 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8030B4E8 00308448 88 64 00 2E */ lbz r3, 0x2e(r4) +/* 8030B4EC 0030844C EC 45 00 F2 */ fmuls f2, f5, f3 +/* 8030B4F0 00308450 FC 00 00 1E */ fctiwz f0, f0 +/* 8030B4F4 00308454 FC 20 08 1E */ fctiwz f1, f1 +/* 8030B4F8 00308458 7C 60 03 78 */ or r0, r3, r0 +/* 8030B4FC 0030845C FC 40 10 1E */ fctiwz f2, f2 +/* 8030B500 00308460 98 04 00 2E */ stb r0, 0x2e(r4) +/* 8030B504 00308464 EC 65 01 32 */ fmuls f3, f5, f4 +/* 8030B508 00308468 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 8030B50C 0030846C D8 21 00 18 */ stfd f1, 0x18(r1) +/* 8030B510 00308470 FC 00 18 1E */ fctiwz f0, f3 +/* 8030B514 00308474 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030B518 00308478 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8030B51C 0030847C 54 00 82 1E */ rlwinm r0, r0, 0x10, 8, 0xf +/* 8030B520 00308480 D8 41 00 10 */ stfd f2, 0x10(r1) +/* 8030B524 00308484 50 60 C0 0E */ rlwimi r0, r3, 0x18, 0, 7 +/* 8030B528 00308488 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8030B52C 0030848C D8 01 00 08 */ stfd f0, 8(r1) +/* 8030B530 00308490 50 60 44 2E */ rlwimi r0, r3, 8, 0x10, 0x17 +/* 8030B534 00308494 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8030B538 00308498 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f +/* 8030B53C 0030849C 90 04 00 28 */ stw r0, 0x28(r4) +/* 8030B540 003084A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030B544 003084A4 4E 80 00 20 */ blr + +.global StreamColor__9CGraphicsFRC6CColor +StreamColor__9CGraphicsFRC6CColor: +/* 8030B548 003084A8 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B54C 003084AC 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) +/* 8030B550 003084B0 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B554 003084B4 80 A3 00 00 */ lwz r5, 0(r3) +/* 8030B558 003084B8 88 64 00 2E */ lbz r3, 0x2e(r4) +/* 8030B55C 003084BC 90 A4 00 28 */ stw r5, 0x28(r4) +/* 8030B560 003084C0 7C 60 03 78 */ or r0, r3, r0 +/* 8030B564 003084C4 98 04 00 2E */ stb r0, 0x2e(r4) +/* 8030B568 003084C8 4E 80 00 20 */ blr + +.global StreamColor__9CGraphicsFUi +StreamColor__9CGraphicsFUi: +/* 8030B56C 003084CC 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B570 003084D0 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) +/* 8030B574 003084D4 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l +/* 8030B578 003084D8 88 85 00 2E */ lbz r4, 0x2e(r5) +/* 8030B57C 003084DC 90 65 00 28 */ stw r3, 0x28(r5) +/* 8030B580 003084E0 7C 80 03 78 */ or r0, r4, r0 +/* 8030B584 003084E4 98 05 00 2E */ stb r0, 0x2e(r5) +/* 8030B588 003084E8 4E 80 00 20 */ blr + +.global StreamNormal__9CGraphicsFPCf +StreamNormal__9CGraphicsFPCf: +/* 8030B58C 003084EC 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B590 003084F0 88 02 C8 0C */ lbz r0, lbl_805AE52C@sda21(r2) +/* 8030B594 003084F4 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l +/* 8030B598 003084F8 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030B59C 003084FC 88 85 00 2E */ lbz r4, 0x2e(r5) +/* 8030B5A0 00308500 C0 23 00 04 */ lfs f1, 4(r3) +/* 8030B5A4 00308504 C0 03 00 08 */ lfs f0, 8(r3) +/* 8030B5A8 00308508 7C 80 03 78 */ or r0, r4, r0 +/* 8030B5AC 0030850C D0 45 00 0C */ stfs f2, 0xc(r5) +/* 8030B5B0 00308510 D0 25 00 10 */ stfs f1, 0x10(r5) +/* 8030B5B4 00308514 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8030B5B8 00308518 98 05 00 2E */ stb r0, 0x2e(r5) +/* 8030B5BC 0030851C 4E 80 00 20 */ blr + +.global StreamVertex__9CGraphicsFRC9CVector3f +StreamVertex__9CGraphicsFRC9CVector3f: +/* 8030B5C0 00308520 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B5C4 00308524 7C 08 02 A6 */ mflr r0 +/* 8030B5C8 00308528 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B5CC 0030852C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B5D0 00308530 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030B5D4 00308534 C0 23 00 04 */ lfs f1, 4(r3) +/* 8030B5D8 00308538 D4 44 61 70 */ stfsu f2, lbl_805A6170@l(r4) +/* 8030B5DC 0030853C C0 03 00 08 */ lfs f0, 8(r3) +/* 8030B5E0 00308540 D0 24 00 04 */ stfs f1, 4(r4) +/* 8030B5E4 00308544 D0 04 00 08 */ stfs f0, 8(r4) +/* 8030B5E8 00308548 4B FF FC AD */ bl UpdateVertexDataStream__9CGraphicsFv +/* 8030B5EC 0030854C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B5F0 00308550 7C 08 03 A6 */ mtlr r0 +/* 8030B5F4 00308554 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B5F8 00308558 4E 80 00 20 */ blr + +.global StreamVertex__9CGraphicsFPCf +StreamVertex__9CGraphicsFPCf: +/* 8030B5FC 0030855C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B600 00308560 7C 08 02 A6 */ mflr r0 +/* 8030B604 00308564 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B608 00308568 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B60C 0030856C C0 43 00 00 */ lfs f2, 0(r3) +/* 8030B610 00308570 C0 23 00 04 */ lfs f1, 4(r3) +/* 8030B614 00308574 D4 44 61 70 */ stfsu f2, lbl_805A6170@l(r4) +/* 8030B618 00308578 C0 03 00 08 */ lfs f0, 8(r3) +/* 8030B61C 0030857C D0 24 00 04 */ stfs f1, 4(r4) +/* 8030B620 00308580 D0 04 00 08 */ stfs f0, 8(r4) +/* 8030B624 00308584 4B FF FC 71 */ bl UpdateVertexDataStream__9CGraphicsFv +/* 8030B628 00308588 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B62C 0030858C 7C 08 03 A6 */ mtlr r0 +/* 8030B630 00308590 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B634 00308594 4E 80 00 20 */ blr + +.global StreamVertex__9CGraphicsFfff +StreamVertex__9CGraphicsFfff: +/* 8030B638 00308598 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B63C 0030859C 7C 08 02 A6 */ mflr r0 +/* 8030B640 003085A0 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B644 003085A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B648 003085A8 D4 23 61 70 */ stfsu f1, lbl_805A6170@l(r3) +/* 8030B64C 003085AC D0 43 00 04 */ stfs f2, 4(r3) +/* 8030B650 003085B0 D0 63 00 08 */ stfs f3, 8(r3) +/* 8030B654 003085B4 4B FF FC 41 */ bl UpdateVertexDataStream__9CGraphicsFv +/* 8030B658 003085B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B65C 003085BC 7C 08 03 A6 */ mtlr r0 +/* 8030B660 003085C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B664 003085C4 4E 80 00 20 */ blr + +.global StreamBegin__9CGraphicsF13ERglPrimitive +StreamBegin__9CGraphicsF13ERglPrimitive: +/* 8030B668 003085C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B66C 003085CC 7C 08 02 A6 */ mflr r0 +/* 8030B670 003085D0 3C C0 E0 00 */ lis r6, 0xE0000788@ha +/* 8030B674 003085D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B678 003085D8 38 A6 07 88 */ addi r5, r6, 0xE0000788@l +/* 8030B67C 003085DC 38 86 0F 10 */ addi r4, r6, 0xf10 +/* 8030B680 003085E0 38 06 16 98 */ addi r0, r6, 0x1698 +/* 8030B684 003085E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030B688 003085E8 7C 7F 1B 78 */ mr r31, r3 +/* 8030B68C 003085EC 38 66 03 C4 */ addi r3, r6, 0x3c4 +/* 8030B690 003085F0 90 6D A7 C4 */ stw r3, lbl_805A9384@sda21(r13) +/* 8030B694 003085F4 38 60 00 01 */ li r3, 1 +/* 8030B698 003085F8 90 CD A7 C0 */ stw r6, lbl_805A9380@sda21(r13) +/* 8030B69C 003085FC 90 AD A7 C8 */ stw r5, lbl_805A9388@sda21(r13) +/* 8030B6A0 00308600 90 8D A7 CC */ stw r4, lbl_805A938C@sda21(r13) +/* 8030B6A4 00308604 90 0D A7 D0 */ stw r0, lbl_805A9390@sda21(r13) +/* 8030B6A8 00308608 4B FF FA 79 */ bl ResetVertexDataStream__9CGraphicsFb +/* 8030B6AC 0030860C 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B6B0 00308610 38 00 00 02 */ li r0, 2 +/* 8030B6B4 00308614 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030B6B8 00308618 93 ED 9C 74 */ stw r31, lbl_805A8834@sda21(r13) +/* 8030B6BC 0030861C 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8030B6C0 00308620 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030B6C4 00308624 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B6C8 00308628 7C 08 03 A6 */ mtlr r0 +/* 8030B6CC 0030862C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B6D0 00308630 4E 80 00 20 */ blr + +.global DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori +DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori: +/* 8030B6D4 00308634 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030B6D8 00308638 7C 08 02 A6 */ mflr r0 +/* 8030B6DC 0030863C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030B6E0 00308640 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030B6E4 00308644 7C BF 2B 78 */ mr r31, r5 +/* 8030B6E8 00308648 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030B6EC 0030864C 7C DE 33 78 */ mr r30, r6 +/* 8030B6F0 00308650 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030B6F4 00308654 7C FD 3B 78 */ mr r29, r7 +/* 8030B6F8 00308658 93 81 00 10 */ stw r28, 0x10(r1) +/* 8030B6FC 0030865C 7C 9C 23 78 */ mr r28, r4 +/* 8030B700 00308660 4B FF FF 69 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8030B704 00308664 7F E3 FB 78 */ mr r3, r31 +/* 8030B708 00308668 4B FF FE 85 */ bl StreamNormal__9CGraphicsFPCf +/* 8030B70C 0030866C 7F C3 F3 78 */ mr r3, r30 +/* 8030B710 00308670 4B FF FE 39 */ bl StreamColor__9CGraphicsFRC6CColor +/* 8030B714 00308674 7F 9F E3 78 */ mr r31, r28 +/* 8030B718 00308678 3B C0 00 00 */ li r30, 0 +/* 8030B71C 0030867C 48 00 00 14 */ b lbl_8030B730 +lbl_8030B720: +/* 8030B720 00308680 7F E3 FB 78 */ mr r3, r31 +/* 8030B724 00308684 4B FF FE D9 */ bl StreamVertex__9CGraphicsFPCf +/* 8030B728 00308688 3B FF 00 0C */ addi r31, r31, 0xc +/* 8030B72C 0030868C 3B DE 00 01 */ addi r30, r30, 1 +lbl_8030B730: +/* 8030B730 00308690 7C 1E E8 00 */ cmpw r30, r29 +/* 8030B734 00308694 41 80 FF EC */ blt lbl_8030B720 +/* 8030B738 00308698 4B FF FC D9 */ bl StreamEnd__9CGraphicsFv +/* 8030B73C 0030869C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030B740 003086A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030B744 003086A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030B748 003086A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030B74C 003086AC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8030B750 003086B0 7C 08 03 A6 */ mtlr r0 +/* 8030B754 003086B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030B758 003086B8 4E 80 00 20 */ blr + +.global Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor +Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor: +/* 8030B75C 003086BC 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8030B760 003086C0 7C 08 02 A6 */ mflr r0 +/* 8030B764 003086C4 90 01 01 24 */ stw r0, 0x124(r1) +/* 8030B768 003086C8 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8030B76C 003086CC F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8030B770 003086D0 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8030B774 003086D4 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8030B778 003086D8 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8030B77C 003086DC F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 8030B780 003086E0 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 8030B784 003086E4 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 8030B788 003086E8 BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 8030B78C 003086EC 3D 20 80 3F */ lis r9, lbl_803ED910@ha +/* 8030B790 003086F0 3D 40 43 30 */ lis r10, 0x4330 +/* 8030B794 003086F4 3B E9 D9 10 */ addi r31, r9, lbl_803ED910@l +/* 8030B798 003086F8 7C 7B 1B 78 */ mr r27, r3 +/* 8030B79C 003086FC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030B7A0 00308700 7C 9C 23 78 */ mr r28, r4 +/* 8030B7A4 00308704 81 9F 00 08 */ lwz r12, 8(r31) +/* 8030B7A8 00308708 7C BD 2B 78 */ mr r29, r5 +/* 8030B7AC 0030870C 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8030B7B0 00308710 7D 23 00 D0 */ neg r9, r3 +/* 8030B7B4 00308714 7C 60 1A 14 */ add r3, r0, r3 +/* 8030B7B8 00308718 7C 8C 00 D0 */ neg r4, r12 +/* 8030B7BC 0030871C 55 25 0F FE */ srwi r5, r9, 0x1f +/* 8030B7C0 00308720 55 80 0F FE */ srwi r0, r12, 0x1f +/* 8030B7C4 00308724 7C 6B 0E 70 */ srawi r11, r3, 1 +/* 8030B7C8 00308728 54 83 0F FE */ srwi r3, r4, 0x1f +/* 8030B7CC 0030872C 7C A5 4A 14 */ add r5, r5, r9 +/* 8030B7D0 00308730 7C 00 62 14 */ add r0, r0, r12 +/* 8030B7D4 00308734 7C A5 0E 70 */ srawi r5, r5, 1 +/* 8030B7D8 00308738 7C 63 22 14 */ add r3, r3, r4 +/* 8030B7DC 0030873C 7C 63 0E 70 */ srawi r3, r3, 1 +/* 8030B7E0 00308740 6D 69 80 00 */ xoris r9, r11, 0x8000 +/* 8030B7E4 00308744 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8030B7E8 00308748 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030B7EC 0030874C 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8030B7F0 00308750 91 21 00 7C */ stw r9, 0x7c(r1) +/* 8030B7F4 00308754 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8030B7F8 00308758 C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) +/* 8030B7FC 0030875C 91 41 00 78 */ stw r10, 0x78(r1) +/* 8030B800 00308760 7C D9 33 78 */ mr r25, r6 +/* 8030B804 00308764 C0 A2 C8 14 */ lfs f5, lbl_805AE534@sda21(r2) +/* 8030B808 00308768 7C FA 3B 78 */ mr r26, r7 +/* 8030B80C 0030876C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8030B810 00308770 7D 1E 43 78 */ mr r30, r8 +/* 8030B814 00308774 90 A1 00 84 */ stw r5, 0x84(r1) +/* 8030B818 00308778 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030B81C 0030877C EC 20 20 28 */ fsubs f1, f0, f4 +/* 8030B820 00308780 C0 C2 C8 18 */ lfs f6, lbl_805AE538@sda21(r2) +/* 8030B824 00308784 91 41 00 80 */ stw r10, 0x80(r1) +/* 8030B828 00308788 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 8030B82C 0030878C 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8030B830 00308790 EC 40 20 28 */ fsubs f2, f0, f4 +/* 8030B834 00308794 91 41 00 88 */ stw r10, 0x88(r1) +/* 8030B838 00308798 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8030B83C 0030879C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8030B840 003087A0 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030B844 003087A4 91 41 00 90 */ stw r10, 0x90(r1) +/* 8030B848 003087A8 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 8030B84C 003087AC EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030B850 003087B0 48 07 1D 69 */ bl C_MTXOrtho +/* 8030B854 003087B4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030B858 003087B8 38 80 00 01 */ li r4, 1 +/* 8030B85C 003087BC 48 07 09 E9 */ bl GXSetProjection +/* 8030B860 003087C0 83 DE 00 00 */ lwz r30, 0(r30) +/* 8030B864 003087C4 38 61 00 08 */ addi r3, r1, 8 +/* 8030B868 003087C8 48 07 17 D9 */ bl PSMTXIdentity +/* 8030B86C 003087CC 38 61 00 08 */ addi r3, r1, 8 +/* 8030B870 003087D0 38 80 00 00 */ li r4, 0 +/* 8030B874 003087D4 48 07 0B 45 */ bl GXLoadPosMtxImm +/* 8030B878 003087D8 80 BF 00 08 */ lwz r5, 8(r31) +/* 8030B87C 003087DC 3C E0 43 30 */ lis r7, 0x4330 +/* 8030B880 003087E0 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8030B884 003087E4 6F 24 80 00 */ xoris r4, r25, 0x8000 +/* 8030B888 003087E8 54 A3 0F FE */ srwi r3, r5, 0x1f +/* 8030B88C 003087EC 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 8030B890 003087F0 7C 63 2A 14 */ add r3, r3, r5 +/* 8030B894 003087F4 54 C5 0F FE */ srwi r5, r6, 0x1f +/* 8030B898 003087F8 7C 68 0E 70 */ srawi r8, r3, 1 +/* 8030B89C 003087FC 90 E1 00 A0 */ stw r7, 0xa0(r1) +/* 8030B8A0 00308800 7C A5 32 14 */ add r5, r5, r6 +/* 8030B8A4 00308804 3C 60 80 3D */ lis r3, lbl_803D73C8@ha +/* 8030B8A8 00308808 7C A5 0E 70 */ srawi r5, r5, 1 +/* 8030B8AC 0030880C 7C C8 E0 50 */ subf r6, r8, r28 +/* 8030B8B0 00308810 7C A5 E8 50 */ subf r5, r5, r29 +/* 8030B8B4 00308814 90 E1 00 98 */ stw r7, 0x98(r1) +/* 8030B8B8 00308818 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030B8BC 0030881C 6C C6 80 00 */ xoris r6, r6, 0x8000 +/* 8030B8C0 00308820 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 8030B8C4 00308824 38 63 73 C8 */ addi r3, r3, lbl_803D73C8@l +/* 8030B8C8 00308828 C8 42 C7 E8 */ lfd f2, lbl_805AE508@sda21(r2) +/* 8030B8CC 0030882C 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 8030B8D0 00308830 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8030B8D4 00308834 C8 21 00 98 */ lfd f1, 0x98(r1) +/* 8030B8D8 00308838 90 81 00 AC */ stw r4, 0xac(r1) +/* 8030B8DC 0030883C EF 80 10 28 */ fsubs f28, f0, f2 +/* 8030B8E0 00308840 EF A1 10 28 */ fsubs f29, f1, f2 +/* 8030B8E4 00308844 90 E1 00 A8 */ stw r7, 0xa8(r1) +/* 8030B8E8 00308848 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8030B8EC 0030884C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8030B8F0 00308850 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8030B8F4 00308854 90 E1 00 B0 */ stw r7, 0xb0(r1) +/* 8030B8F8 00308858 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 8030B8FC 0030885C EF FD 08 2A */ fadds f31, f29, f1 +/* 8030B900 00308860 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8030B904 00308864 EF DC 00 2A */ fadds f30, f28, f0 +/* 8030B908 00308868 4B FF C5 21 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8030B90C 0030886C 38 60 00 06 */ li r3, 6 +/* 8030B910 00308870 4B FF F5 C1 */ bl SetTevStates__9CGraphicsFUc +/* 8030B914 00308874 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) +/* 8030B918 00308878 28 00 00 00 */ cmplwi r0, 0 +/* 8030B91C 0030887C 98 0D A8 17 */ stb r0, lbl_805A93D7@sda21(r13) +/* 8030B920 00308880 41 82 00 08 */ beq lbl_8030B928 +/* 8030B924 00308884 48 00 10 59 */ bl DisableAllLights__9CGraphicsFv +lbl_8030B928: +/* 8030B928 00308888 83 8D A7 D8 */ lwz r28, lbl_805A9398@sda21(r13) +/* 8030B92C 0030888C 38 60 00 00 */ li r3, 0 +/* 8030B930 00308890 48 00 01 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030B934 00308894 7F 63 DB 78 */ mr r3, r27 +/* 8030B938 00308898 38 80 00 00 */ li r4, 0 +/* 8030B93C 0030889C 38 A0 00 01 */ li r5, 1 +/* 8030B940 003088A0 48 00 3D FD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8030B944 003088A4 38 60 00 98 */ li r3, 0x98 +/* 8030B948 003088A8 38 80 00 00 */ li r4, 0 +/* 8030B94C 003088AC 38 A0 00 04 */ li r5, 4 +/* 8030B950 003088B0 4B FF CC 35 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8030B954 003088B4 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8030B958 003088B8 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030B95C 003088BC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8030B960 003088C0 C0 02 C7 F0 */ lfs f0, lbl_805AE510@sda21(r2) +/* 8030B964 003088C4 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8030B968 003088C8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B96C 003088CC 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B970 003088D0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B974 003088D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B978 003088D8 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8030B97C 003088DC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8030B980 003088E0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B984 003088E4 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B988 003088E8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B98C 003088EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B990 003088F0 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8030B994 003088F4 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8030B998 003088F8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B99C 003088FC 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B9A0 00308900 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B9A4 00308904 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9A8 00308908 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8030B9AC 0030890C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8030B9B0 00308910 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9B4 00308914 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B9B8 00308918 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9BC 0030891C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9C0 00308920 4B FF CB C1 */ bl End__3CGXFv +/* 8030B9C4 00308924 88 6D A8 17 */ lbz r3, lbl_805A93D7@sda21(r13) +/* 8030B9C8 00308928 28 03 00 00 */ cmplwi r3, 0 +/* 8030B9CC 0030892C 41 82 00 08 */ beq lbl_8030B9D4 +/* 8030B9D0 00308930 48 00 0F 01 */ bl SetLightState__9CGraphicsFUc +lbl_8030B9D4: +/* 8030B9D4 00308934 4B FF E4 95 */ bl FlushProjection__9CGraphicsFv +/* 8030B9D8 00308938 38 00 00 00 */ li r0, 0 +/* 8030B9DC 0030893C 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030B9E0 00308940 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030B9E4 00308944 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030B9E8 00308948 48 00 0B F9 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8030B9EC 0030894C 7F 83 E3 78 */ mr r3, r28 +/* 8030B9F0 00308950 48 00 00 81 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030B9F4 00308954 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8030B9F8 00308958 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8030B9FC 0030895C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8030BA00 00308960 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8030BA04 00308964 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8030BA08 00308968 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8030BA0C 0030896C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 8030BA10 00308970 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 8030BA14 00308974 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 8030BA18 00308978 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8030BA1C 0030897C 7C 08 03 A6 */ mtlr r0 +/* 8030BA20 00308980 38 21 01 20 */ addi r1, r1, 0x120 +/* 8030BA24 00308984 4E 80 00 20 */ blr + +.global SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc: +/* 8030BA28 00308988 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA2C 0030898C 7C 08 02 A6 */ mflr r0 +/* 8030BA30 00308990 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 8030BA34 00308994 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8030BA38 00308998 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BA3C 0030899C 4B FF CD D9 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8030BA40 003089A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BA44 003089A4 7C 08 03 A6 */ mtlr r0 +/* 8030BA48 003089A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BA4C 003089AC 4E 80 00 20 */ blr + +.global SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp: +/* 8030BA50 003089B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA54 003089B4 7C 08 02 A6 */ mflr r0 +/* 8030BA58 003089B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BA5C 003089BC 4B FF CE 75 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8030BA60 003089C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BA64 003089C4 7C 08 03 A6 */ mtlr r0 +/* 8030BA68 003089C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BA6C 003089CC 4E 80 00 20 */ blr + +.global SetCullMode__9CGraphicsF12ERglCullMode +SetCullMode__9CGraphicsF12ERglCullMode: +/* 8030BA70 003089D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA74 003089D4 7C 08 02 A6 */ mflr r0 +/* 8030BA78 003089D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BA7C 003089DC 90 6D A7 D8 */ stw r3, lbl_805A9398@sda21(r13) +/* 8030BA80 003089E0 48 06 D0 D9 */ bl GXSetCullMode +/* 8030BA84 003089E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BA88 003089E8 7C 08 03 A6 */ mtlr r0 +/* 8030BA8C 003089EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BA90 003089F0 4E 80 00 20 */ blr + +.global SetDepthWriteMode__9CGraphicsFb8ERglEnumb +SetDepthWriteMode__9CGraphicsFb8ERglEnumb: +/* 8030BA94 003089F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA98 003089F8 7C 08 02 A6 */ mflr r0 +/* 8030BA9C 003089FC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8030BAA0 00308A00 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8030BAA4 00308A04 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BAA8 00308A08 90 8D 9C 70 */ stw r4, lbl_805A8830@sda21(r13) +/* 8030BAAC 00308A0C 4B FF CD D1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8030BAB0 00308A10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BAB4 00308A14 7C 08 03 A6 */ mtlr r0 +/* 8030BAB8 00308A18 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BABC 00308A1C 4E 80 00 20 */ blr + +.global EndScene__9CGraphicsFv +EndScene__9CGraphicsFv: +/* 8030BAC0 00308A20 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8030BAC4 00308A24 7C 08 02 A6 */ mflr r0 +/* 8030BAC8 00308A28 38 60 00 01 */ li r3, 1 +/* 8030BACC 00308A2C 38 80 00 03 */ li r4, 3 +/* 8030BAD0 00308A30 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8030BAD4 00308A34 38 A0 00 01 */ li r5, 1 +/* 8030BAD8 00308A38 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8030BADC 00308A3C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8030BAE0 00308A40 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8030BAE4 00308A44 4B FF CD 99 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8030BAE8 00308A48 3B AD A8 0C */ addi r29, r13, lbl_805A93CC@sda21 +/* 8030BAEC 00308A4C 48 00 00 08 */ b lbl_8030BAF4 +lbl_8030BAF0: +/* 8030BAF0 00308A50 48 07 90 2D */ bl OSYieldThread +lbl_8030BAF4: +/* 8030BAF4 00308A54 80 1D 00 00 */ lwz r0, 0(r29) +/* 8030BAF8 00308A58 2C 00 00 00 */ cmpwi r0, 0 +/* 8030BAFC 00308A5C 41 81 FF F4 */ bgt lbl_8030BAF0 +/* 8030BB00 00308A60 80 AD A8 0C */ lwz r5, lbl_805A93CC@sda21(r13) +/* 8030BB04 00308A64 3B CD A8 20 */ addi r30, r13, lbl_805A93E0@sda21 +/* 8030BB08 00308A68 38 6D 9C 88 */ addi r3, r13, lbl_805A8848@sda21 +/* 8030BB0C 00308A6C 38 8D 9C 84 */ addi r4, r13, lbl_805A8844@sda21 +/* 8030BB10 00308A70 38 05 00 01 */ addi r0, r5, 1 +/* 8030BB14 00308A74 38 AD 9C 8C */ addi r5, r13, lbl_805A884C@sda21 +/* 8030BB18 00308A78 90 0D A8 0C */ stw r0, lbl_805A93CC@sda21(r13) +/* 8030BB1C 00308A7C 4B D0 07 99 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8030BB20 00308A80 88 0D 9C 82 */ lbz r0, lbl_805A8842@sda21(r13) +/* 8030BB24 00308A84 39 02 C7 B0 */ addi r8, r2, lbl_805AE4D0@sda21 +/* 8030BB28 00308A88 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030BB2C 00308A8C 28 00 00 00 */ cmplwi r0, 0 +/* 8030BB30 00308A90 41 82 00 10 */ beq lbl_8030BB40 +/* 8030BB34 00308A94 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BB38 00308A98 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 8030BB3C 00308A9C 39 03 00 32 */ addi r8, r3, 0x32 +lbl_8030BB40: +/* 8030BB40 00308AA0 88 08 00 00 */ lbz r0, 0(r8) +/* 8030BB44 00308AA4 3C E0 43 30 */ lis r7, 0x4330 +/* 8030BB48 00308AA8 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BB4C 00308AAC 90 E1 00 18 */ stw r7, 0x18(r1) +/* 8030BB50 00308AB0 3B A3 65 00 */ addi r29, r3, lbl_805A6500@l +/* 8030BB54 00308AB4 C8 22 C7 F8 */ lfd f1, lbl_805AE518@sda21(r2) +/* 8030BB58 00308AB8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8030BB5C 00308ABC 3B FD 00 1A */ addi r31, r29, 0x1a +/* 8030BB60 00308AC0 88 7D 00 19 */ lbz r3, 0x19(r29) +/* 8030BB64 00308AC4 7F E4 FB 78 */ mr r4, r31 +/* 8030BB68 00308AC8 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030BB6C 00308ACC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8030BB70 00308AD0 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8030BB74 00308AD4 38 A0 00 01 */ li r5, 1 +/* 8030BB78 00308AD8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BB7C 00308ADC 90 E1 00 38 */ stw r7, 0x38(r1) +/* 8030BB80 00308AE0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BB84 00308AE4 90 E1 00 48 */ stw r7, 0x48(r1) +/* 8030BB88 00308AE8 90 E1 00 58 */ stw r7, 0x58(r1) +/* 8030BB8C 00308AEC FC 00 00 1E */ fctiwz f0, f0 +/* 8030BB90 00308AF0 90 E1 00 68 */ stw r7, 0x68(r1) +/* 8030BB94 00308AF4 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 8030BB98 00308AF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030BB9C 00308AFC 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8030BBA0 00308B00 98 01 00 10 */ stb r0, 0x10(r1) +/* 8030BBA4 00308B04 88 08 00 01 */ lbz r0, 1(r8) +/* 8030BBA8 00308B08 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8030BBAC 00308B0C C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8030BBB0 00308B10 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BBB4 00308B14 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BBB8 00308B18 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BBBC 00308B1C D8 01 00 30 */ stfd f0, 0x30(r1) +/* 8030BBC0 00308B20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030BBC4 00308B24 98 01 00 11 */ stb r0, 0x11(r1) +/* 8030BBC8 00308B28 88 08 00 02 */ lbz r0, 2(r8) +/* 8030BBCC 00308B2C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8030BBD0 00308B30 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 8030BBD4 00308B34 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BBD8 00308B38 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BBDC 00308B3C FC 00 00 1E */ fctiwz f0, f0 +/* 8030BBE0 00308B40 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 8030BBE4 00308B44 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030BBE8 00308B48 98 01 00 12 */ stb r0, 0x12(r1) +/* 8030BBEC 00308B4C 88 08 00 03 */ lbz r0, 3(r8) +/* 8030BBF0 00308B50 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8030BBF4 00308B54 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 8030BBF8 00308B58 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BBFC 00308B5C EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC00 00308B60 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC04 00308B64 D8 01 00 50 */ stfd f0, 0x50(r1) +/* 8030BC08 00308B68 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8030BC0C 00308B6C 98 01 00 13 */ stb r0, 0x13(r1) +/* 8030BC10 00308B70 88 08 00 04 */ lbz r0, 4(r8) +/* 8030BC14 00308B74 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8030BC18 00308B78 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 8030BC1C 00308B7C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BC20 00308B80 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC24 00308B84 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC28 00308B88 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 8030BC2C 00308B8C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8030BC30 00308B90 98 01 00 14 */ stb r0, 0x14(r1) +/* 8030BC34 00308B94 88 08 00 05 */ lbz r0, 5(r8) +/* 8030BC38 00308B98 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8030BC3C 00308B9C C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8030BC40 00308BA0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BC44 00308BA4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC48 00308BA8 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC4C 00308BAC D8 01 00 70 */ stfd f0, 0x70(r1) +/* 8030BC50 00308BB0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8030BC54 00308BB4 98 01 00 15 */ stb r0, 0x15(r1) +/* 8030BC58 00308BB8 88 08 00 06 */ lbz r0, 6(r8) +/* 8030BC5C 00308BBC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8030BC60 00308BC0 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8030BC64 00308BC4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BC68 00308BC8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC6C 00308BCC FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC70 00308BD0 D8 01 00 80 */ stfd f0, 0x80(r1) +/* 8030BC74 00308BD4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8030BC78 00308BD8 98 01 00 16 */ stb r0, 0x16(r1) +/* 8030BC7C 00308BDC 48 06 D5 19 */ bl GXSetCopyFilter +/* 8030BC80 00308BE0 88 8D 9C 6C */ lbz r4, lbl_805A882C@sda21(r13) +/* 8030BC84 00308BE4 80 7E 00 00 */ lwz r3, 0(r30) +/* 8030BC88 00308BE8 7C 04 00 D0 */ neg r0, r4 +/* 8030BC8C 00308BEC 7C 00 23 78 */ or r0, r0, r4 +/* 8030BC90 00308BF0 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8030BC94 00308BF4 48 06 D7 45 */ bl GXCopyDisp +/* 8030BC98 00308BF8 88 CD 9C 82 */ lbz r6, lbl_805A8842@sda21(r13) +/* 8030BC9C 00308BFC 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BCA0 00308C00 38 A3 65 00 */ addi r5, r3, lbl_805A6500@l +/* 8030BCA4 00308C04 88 7D 00 19 */ lbz r3, 0x19(r29) +/* 8030BCA8 00308C08 7C 06 00 D0 */ neg r0, r6 +/* 8030BCAC 00308C0C 7F E4 FB 78 */ mr r4, r31 +/* 8030BCB0 00308C10 7C 00 33 78 */ or r0, r0, r6 +/* 8030BCB4 00308C14 38 C5 00 32 */ addi r6, r5, 0x32 +/* 8030BCB8 00308C18 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8030BCBC 00308C1C 48 06 D4 D9 */ bl GXSetCopyFilter +/* 8030BCC0 00308C20 3C 60 80 31 */ lis r3, SwapBuffers__9CGraphicsFv@ha +/* 8030BCC4 00308C24 38 63 BE 7C */ addi r3, r3, SwapBuffers__9CGraphicsFv@l +/* 8030BCC8 00308C28 48 06 AA F1 */ bl GXSetBreakPtCallback +/* 8030BCCC 00308C2C 3C 60 80 31 */ lis r3, VideoPreCallback__9CGraphicsFUl@ha +/* 8030BCD0 00308C30 38 63 BE 00 */ addi r3, r3, VideoPreCallback__9CGraphicsFUl@l +/* 8030BCD4 00308C34 48 07 BB E1 */ bl VISetPreRetraceCallback +/* 8030BCD8 00308C38 3C 60 80 31 */ lis r3, VideoPostCallback__9CGraphicsFUl@ha +/* 8030BCDC 00308C3C 38 63 BD 34 */ addi r3, r3, VideoPostCallback__9CGraphicsFUl@l +/* 8030BCE0 00308C40 48 07 BC 19 */ bl VISetPostRetraceCallback +/* 8030BCE4 00308C44 48 06 C6 2D */ bl GXFlush +/* 8030BCE8 00308C48 48 06 AE 45 */ bl GXGetGPFifo +/* 8030BCEC 00308C4C 38 81 00 0C */ addi r4, r1, 0xc +/* 8030BCF0 00308C50 38 A1 00 08 */ addi r5, r1, 8 +/* 8030BCF4 00308C54 48 06 AA 2D */ bl __GXSaveCPUFifoAux +/* 8030BCF8 00308C58 80 61 00 08 */ lwz r3, 8(r1) +/* 8030BCFC 00308C5C 48 06 AB 01 */ bl GXEnableBreakPt +/* 8030BD00 00308C60 80 6D A8 00 */ lwz r3, lbl_805A93C0@sda21(r13) +/* 8030BD04 00308C64 88 8D A8 15 */ lbz r4, lbl_805A93D5@sda21(r13) +/* 8030BD08 00308C68 38 03 00 01 */ addi r0, r3, 1 +/* 8030BD0C 00308C6C 98 8D A8 14 */ stb r4, lbl_805A93D4@sda21(r13) +/* 8030BD10 00308C70 90 0D A8 00 */ stw r0, lbl_805A93C0@sda21(r13) +/* 8030BD14 00308C74 48 06 0E 7D */ bl sub_8036cb90 +/* 8030BD18 00308C78 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8030BD1C 00308C7C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8030BD20 00308C80 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8030BD24 00308C84 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8030BD28 00308C88 7C 08 03 A6 */ mtlr r0 +/* 8030BD2C 00308C8C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8030BD30 00308C90 4E 80 00 20 */ blr + +.global VideoPostCallback__9CGraphicsFUl +VideoPostCallback__9CGraphicsFUl: +/* 8030BD34 00308C94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BD38 00308C98 7C 08 02 A6 */ mflr r0 +/* 8030BD3C 00308C9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BD40 00308CA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030BD44 00308CA4 80 6D A8 0C */ lwz r3, lbl_805A93CC@sda21(r13) +/* 8030BD48 00308CA8 2C 03 00 00 */ cmpwi r3, 0 +/* 8030BD4C 00308CAC 41 82 00 A0 */ beq lbl_8030BDEC +/* 8030BD50 00308CB0 80 0D A8 10 */ lwz r0, lbl_805A93D0@sda21(r13) +/* 8030BD54 00308CB4 2C 00 00 02 */ cmpwi r0, 2 +/* 8030BD58 00308CB8 40 82 00 94 */ bne lbl_8030BDEC +/* 8030BD5C 00308CBC 38 63 FF FF */ addi r3, r3, -1 +/* 8030BD60 00308CC0 38 00 00 00 */ li r0, 0 +/* 8030BD64 00308CC4 90 6D A8 0C */ stw r3, lbl_805A93CC@sda21(r13) +/* 8030BD68 00308CC8 3B ED A7 B0 */ addi r31, r13, lbl_805A9370@sda21 +/* 8030BD6C 00308CCC 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) +/* 8030BD70 00308CD0 48 07 96 39 */ bl OSGetTime +/* 8030BD74 00308CD4 80 0D A7 B4 */ lwz r0, lbl_805A9374@sda21(r13) +/* 8030BD78 00308CD8 C0 0D A8 04 */ lfs f0, lbl_805A93C4@sda21(r13) +/* 8030BD7C 00308CDC 7C 80 20 10 */ subfc r4, r0, r4 +/* 8030BD80 00308CE0 80 0D A7 B0 */ lwz r0, lbl_805A9370@sda21(r13) +/* 8030BD84 00308CE4 D0 0D A8 08 */ stfs f0, lbl_805A93C8@sda21(r13) +/* 8030BD88 00308CE8 7C 60 19 10 */ subfe r3, r0, r3 +/* 8030BD8C 00308CEC 48 07 E1 D9 */ bl __cvt_sll_flt +/* 8030BD90 00308CF0 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 8030BD94 00308CF4 C0 02 C8 10 */ lfs f0, lbl_805AE530@sda21(r2) +/* 8030BD98 00308CF8 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l +/* 8030BD9C 00308CFC 38 80 00 00 */ li r4, 0 +/* 8030BDA0 00308D00 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8030BDA4 00308D04 80 03 00 00 */ lwz r0, 0(r3) +/* 8030BDA8 00308D08 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8030BDAC 00308D0C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8030BDB0 00308D10 7C 00 22 78 */ xor r0, r0, r4 +/* 8030BDB4 00308D14 7C A4 22 78 */ xor r4, r5, r4 +/* 8030BDB8 00308D18 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8030BDBC 00308D1C 7C 80 03 79 */ or. r0, r4, r0 +/* 8030BDC0 00308D20 D0 0D A8 04 */ stfs f0, lbl_805A93C4@sda21(r13) +/* 8030BDC4 00308D24 40 82 00 08 */ bne lbl_8030BDCC +/* 8030BDC8 00308D28 4B FC A9 55 */ bl Initialize__Q210CStopwatch7CSWDataFv +lbl_8030BDCC: +/* 8030BDCC 00308D2C 48 07 95 DD */ bl OSGetTime +/* 8030BDD0 00308D30 90 9F 00 04 */ stw r4, 4(r31) +/* 8030BDD4 00308D34 90 7F 00 00 */ stw r3, 0(r31) +/* 8030BDD8 00308D38 48 07 D5 C1 */ bl VIGetNextField +/* 8030BDDC 00308D3C 20 03 00 01 */ subfic r0, r3, 1 +/* 8030BDE0 00308D40 7C 00 00 34 */ cntlzw r0, r0 +/* 8030BDE4 00308D44 54 00 D9 7E */ srwi r0, r0, 5 +/* 8030BDE8 00308D48 98 0D A8 15 */ stb r0, lbl_805A93D5@sda21(r13) +lbl_8030BDEC: +/* 8030BDEC 00308D4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BDF0 00308D50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030BDF4 00308D54 7C 08 03 A6 */ mtlr r0 +/* 8030BDF8 00308D58 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BDFC 00308D5C 4E 80 00 20 */ blr + +.global VideoPreCallback__9CGraphicsFUl +VideoPreCallback__9CGraphicsFUl: +/* 8030BE00 00308D60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BE04 00308D64 7C 08 02 A6 */ mflr r0 +/* 8030BE08 00308D68 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BE0C 00308D6C 80 0D A8 0C */ lwz r0, lbl_805A93CC@sda21(r13) +/* 8030BE10 00308D70 2C 00 00 00 */ cmpwi r0, 0 +/* 8030BE14 00308D74 41 82 00 58 */ beq lbl_8030BE6C +/* 8030BE18 00308D78 80 0D A8 10 */ lwz r0, lbl_805A93D0@sda21(r13) +/* 8030BE1C 00308D7C 2C 00 00 01 */ cmpwi r0, 1 +/* 8030BE20 00308D80 40 82 00 4C */ bne lbl_8030BE6C +/* 8030BE24 00308D84 88 0D 9C 81 */ lbz r0, lbl_805A8841@sda21(r13) +/* 8030BE28 00308D88 28 00 00 00 */ cmplwi r0, 0 +/* 8030BE2C 00308D8C 41 82 00 14 */ beq lbl_8030BE40 +/* 8030BE30 00308D90 38 60 00 00 */ li r3, 0 +/* 8030BE34 00308D94 48 07 D4 79 */ bl VISetBlack +/* 8030BE38 00308D98 38 00 00 00 */ li r0, 0 +/* 8030BE3C 00308D9C 98 0D 9C 81 */ stb r0, lbl_805A8841@sda21(r13) +lbl_8030BE40: +/* 8030BE40 00308DA0 80 6D A8 20 */ lwz r3, lbl_805A93E0@sda21(r13) +/* 8030BE44 00308DA4 48 07 D3 FD */ bl VISetNextFrameBuffer +/* 8030BE48 00308DA8 48 07 D2 C9 */ bl VIFlush +/* 8030BE4C 00308DAC 80 0D A8 20 */ lwz r0, lbl_805A93E0@sda21(r13) +/* 8030BE50 00308DB0 80 6D A8 18 */ lwz r3, lbl_805A93D8@sda21(r13) +/* 8030BE54 00308DB4 7C 00 18 40 */ cmplw r0, r3 +/* 8030BE58 00308DB8 40 82 00 08 */ bne lbl_8030BE60 +/* 8030BE5C 00308DBC 80 6D A8 1C */ lwz r3, lbl_805A93DC@sda21(r13) +lbl_8030BE60: +/* 8030BE60 00308DC0 38 00 00 02 */ li r0, 2 +/* 8030BE64 00308DC4 90 6D A8 20 */ stw r3, lbl_805A93E0@sda21(r13) +/* 8030BE68 00308DC8 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) +lbl_8030BE6C: +/* 8030BE6C 00308DCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BE70 00308DD0 7C 08 03 A6 */ mtlr r0 +/* 8030BE74 00308DD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BE78 00308DD8 4E 80 00 20 */ blr + +.global SwapBuffers__9CGraphicsFv +SwapBuffers__9CGraphicsFv: +/* 8030BE7C 00308DDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BE80 00308DE0 7C 08 02 A6 */ mflr r0 +/* 8030BE84 00308DE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BE88 00308DE8 48 06 AA 05 */ bl GXDisableBreakPt +/* 8030BE8C 00308DEC 38 00 00 01 */ li r0, 1 +/* 8030BE90 00308DF0 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) +/* 8030BE94 00308DF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BE98 00308DF8 7C 08 03 A6 */ mtlr r0 +/* 8030BE9C 00308DFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BEA0 00308E00 4E 80 00 20 */ blr + +.global BeginScene__9CGraphicsFv +BeginScene__9CGraphicsFv: +/* 8030BEA4 00308E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BEA8 00308E08 7C 08 02 A6 */ mflr r0 +/* 8030BEAC 00308E0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BEB0 00308E10 48 00 00 15 */ bl ClearBackAndDepthBuffers__9CGraphicsFv +/* 8030BEB4 00308E14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BEB8 00308E18 7C 08 03 A6 */ mtlr r0 +/* 8030BEBC 00308E1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BEC0 00308E20 4E 80 00 20 */ blr + +.global ClearBackAndDepthBuffers__9CGraphicsFv +ClearBackAndDepthBuffers__9CGraphicsFv: +/* 8030BEC4 00308E24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030BEC8 00308E28 7C 08 02 A6 */ mflr r0 +/* 8030BECC 00308E2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030BED0 00308E30 48 06 E9 71 */ bl GXInvalidateTexAll +/* 8030BED4 00308E34 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BED8 00308E38 38 A3 65 00 */ addi r5, r3, lbl_805A6500@l +/* 8030BEDC 00308E3C 88 05 00 18 */ lbz r0, 0x18(r5) +/* 8030BEE0 00308E40 28 00 00 00 */ cmplwi r0, 0 +/* 8030BEE4 00308E44 41 82 00 58 */ beq lbl_8030BF3C +/* 8030BEE8 00308E48 48 07 D4 B1 */ bl VIGetNextField +/* 8030BEEC 00308E4C 3C A0 80 5A */ lis r5, lbl_805A6500@ha +/* 8030BEF0 00308E50 3C 80 43 30 */ lis r4, 0x4330 +/* 8030BEF4 00308E54 38 C5 65 00 */ addi r6, r5, lbl_805A6500@l +/* 8030BEF8 00308E58 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030BEFC 00308E5C A0 A6 00 04 */ lhz r5, 4(r6) +/* 8030BF00 00308E60 A0 06 00 08 */ lhz r0, 8(r6) +/* 8030BF04 00308E64 FC 40 08 90 */ fmr f2, f1 +/* 8030BF08 00308E68 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8030BF0C 00308E6C FC A0 08 90 */ fmr f5, f1 +/* 8030BF10 00308E70 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) +/* 8030BF14 00308E74 90 81 00 08 */ stw r4, 8(r1) +/* 8030BF18 00308E78 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030BF1C 00308E7C C8 01 00 08 */ lfd f0, 8(r1) +/* 8030BF20 00308E80 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BF24 00308E84 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030BF28 00308E88 90 81 00 10 */ stw r4, 0x10(r1) +/* 8030BF2C 00308E8C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030BF30 00308E90 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030BF34 00308E94 48 07 06 11 */ bl GXSetViewportJitter +/* 8030BF38 00308E98 48 00 00 48 */ b lbl_8030BF80 +lbl_8030BF3C: +/* 8030BF3C 00308E9C A0 85 00 04 */ lhz r4, 4(r5) +/* 8030BF40 00308EA0 3C 60 43 30 */ lis r3, 0x4330 +/* 8030BF44 00308EA4 A0 05 00 08 */ lhz r0, 8(r5) +/* 8030BF48 00308EA8 90 81 00 14 */ stw r4, 0x14(r1) +/* 8030BF4C 00308EAC C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030BF50 00308EB0 90 61 00 10 */ stw r3, 0x10(r1) +/* 8030BF54 00308EB4 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) +/* 8030BF58 00308EB8 FC 40 08 90 */ fmr f2, f1 +/* 8030BF5C 00308EBC C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030BF60 00308EC0 FC A0 08 90 */ fmr f5, f1 +/* 8030BF64 00308EC4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8030BF68 00308EC8 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030BF6C 00308ECC C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030BF70 00308ED0 90 61 00 08 */ stw r3, 8(r1) +/* 8030BF74 00308ED4 C8 01 00 08 */ lfd f0, 8(r1) +/* 8030BF78 00308ED8 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030BF7C 00308EDC 48 07 06 CD */ bl GXSetViewport +lbl_8030BF80: +/* 8030BF80 00308EE0 48 06 C0 05 */ bl GXInvalidateVtxCache +/* 8030BF84 00308EE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030BF88 00308EE8 7C 08 03 A6 */ mtlr r0 +/* 8030BF8C 00308EEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030BF90 00308EF0 4E 80 00 20 */ blr + +.global SetClearColor__9CGraphicsFRC6CColor +SetClearColor__9CGraphicsFRC6CColor: +/* 8030BF94 00308EF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BF98 00308EF8 7C 08 02 A6 */ mflr r0 +/* 8030BF9C 00308EFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BFA0 00308F00 80 03 00 00 */ lwz r0, 0(r3) +/* 8030BFA4 00308F04 38 61 00 08 */ addi r3, r1, 8 +/* 8030BFA8 00308F08 80 8D 9C 7C */ lwz r4, lbl_805A883C@sda21(r13) +/* 8030BFAC 00308F0C 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) +/* 8030BFB0 00308F10 90 01 00 08 */ stw r0, 8(r1) +/* 8030BFB4 00308F14 48 06 D1 79 */ bl GXSetCopyClear +/* 8030BFB8 00308F18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BFBC 00308F1C 7C 08 03 A6 */ mtlr r0 +/* 8030BFC0 00308F20 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BFC4 00308F24 4E 80 00 20 */ blr + +.global SetCopyClear__9CGraphicsFRC6CColorf +SetCopyClear__9CGraphicsFRC6CColorf: +/* 8030BFC8 00308F28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030BFCC 00308F2C 7C 08 02 A6 */ mflr r0 +/* 8030BFD0 00308F30 C0 02 C8 1C */ lfs f0, lbl_805AE53C@sda21(r2) +/* 8030BFD4 00308F34 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030BFD8 00308F38 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8030BFDC 00308F3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030BFE0 00308F40 7C 7F 1B 78 */ mr r31, r3 +/* 8030BFE4 00308F44 80 03 00 00 */ lwz r0, 0(r3) +/* 8030BFE8 00308F48 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) +/* 8030BFEC 00308F4C 48 07 D9 69 */ bl __cvt_fp2unsigned +/* 8030BFF0 00308F50 80 1F 00 00 */ lwz r0, 0(r31) +/* 8030BFF4 00308F54 7C 64 1B 78 */ mr r4, r3 +/* 8030BFF8 00308F58 90 6D 9C 7C */ stw r3, lbl_805A883C@sda21(r13) +/* 8030BFFC 00308F5C 38 61 00 08 */ addi r3, r1, 8 +/* 8030C000 00308F60 90 01 00 08 */ stw r0, 8(r1) +/* 8030C004 00308F64 48 06 D1 29 */ bl GXSetCopyClear +/* 8030C008 00308F68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030C00C 00308F6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030C010 00308F70 7C 08 03 A6 */ mtlr r0 +/* 8030C014 00308F74 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030C018 00308F78 4E 80 00 20 */ blr + +.global SetAmbientColor__9CGraphicsFRC6CColor +SetAmbientColor__9CGraphicsFRC6CColor: +/* 8030C01C 00308F7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C020 00308F80 7C 08 02 A6 */ mflr r0 +/* 8030C024 00308F84 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C028 00308F88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C02C 00308F8C 7C 7F 1B 78 */ mr r31, r3 +/* 8030C030 00308F90 38 60 00 00 */ li r3, 0 +/* 8030C034 00308F94 7F E4 FB 78 */ mr r4, r31 +/* 8030C038 00308F98 4B FF CD 8D */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8030C03C 00308F9C 7F E4 FB 78 */ mr r4, r31 +/* 8030C040 00308FA0 38 60 00 01 */ li r3, 1 +/* 8030C044 00308FA4 4B FF CD 81 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8030C048 00308FA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C04C 00308FAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C050 00308FB0 7C 08 03 A6 */ mtlr r0 +/* 8030C054 00308FB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C058 00308FB8 4E 80 00 20 */ blr + +.global SetScissor__9CGraphicsFiiii +SetScissor__9CGraphicsFiiii: +/* 8030C05C 00308FBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C060 00308FC0 7C 08 02 A6 */ mflr r0 +/* 8030C064 00308FC4 3C E0 80 5A */ lis r7, lbl_805A6500@ha +/* 8030C068 00308FC8 7D 04 32 14 */ add r8, r4, r6 +/* 8030C06C 00308FCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C070 00308FD0 38 87 65 00 */ addi r4, r7, lbl_805A6500@l +/* 8030C074 00308FD4 A0 04 00 06 */ lhz r0, 6(r4) +/* 8030C078 00308FD8 7C 88 00 50 */ subf r4, r8, r0 +/* 8030C07C 00308FDC 48 07 05 F1 */ bl GXSetScissor +/* 8030C080 00308FE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C084 00308FE4 7C 08 03 A6 */ mtlr r0 +/* 8030C088 00308FE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C08C 00308FEC 4E 80 00 20 */ blr + +.global SetViewport__9CGraphicsFiiii +SetViewport__9CGraphicsFiiii: +/* 8030C090 00308FF0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030C094 00308FF4 7C 08 02 A6 */ mflr r0 +/* 8030C098 00308FF8 3D 40 43 30 */ lis r10, 0x4330 +/* 8030C09C 00308FFC 3D 20 80 5A */ lis r9, lbl_805A6500@ha +/* 8030C0A0 00309000 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030C0A4 00309004 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 8030C0A8 00309008 7C E0 2A 14 */ add r7, r0, r5 +/* 8030C0AC 0030900C 6C 68 80 00 */ xoris r8, r3, 0x8000 +/* 8030C0B0 00309010 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 8030C0B4 00309014 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8030C0B8 00309018 7C E7 0E 70 */ srawi r7, r7, 1 +/* 8030C0BC 0030901C 39 29 65 00 */ addi r9, r9, lbl_805A6500@l +/* 8030C0C0 00309020 7C 00 32 14 */ add r0, r0, r6 +/* 8030C0C4 00309024 91 41 00 08 */ stw r10, 8(r1) +/* 8030C0C8 00309028 6C EB 80 00 */ xoris r11, r7, 0x8000 +/* 8030C0CC 0030902C A1 89 00 06 */ lhz r12, 6(r9) +/* 8030C0D0 00309030 91 61 00 0C */ stw r11, 0xc(r1) +/* 8030C0D4 00309034 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8030C0D8 00309038 6C 09 80 00 */ xoris r9, r0, 0x8000 +/* 8030C0DC 0030903C 7F E4 32 14 */ add r31, r4, r6 +/* 8030C0E0 00309040 7D 9F 60 50 */ subf r12, r31, r12 +/* 8030C0E4 00309044 C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) +/* 8030C0E8 00309048 C8 01 00 08 */ lfd f0, 8(r1) +/* 8030C0EC 0030904C 6D 87 80 00 */ xoris r7, r12, 0x8000 +/* 8030C0F0 00309050 91 21 00 14 */ stw r9, 0x14(r1) +/* 8030C0F4 00309054 6C A4 80 00 */ xoris r4, r5, 0x8000 +/* 8030C0F8 00309058 ED 00 20 28 */ fsubs f8, f0, f4 +/* 8030C0FC 0030905C 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 8030C100 00309060 91 41 00 10 */ stw r10, 0x10(r1) +/* 8030C104 00309064 3D 60 80 3F */ lis r11, lbl_803ED910@ha +/* 8030C108 00309068 C0 AD A7 E0 */ lfs f5, lbl_805A93A0@sda21(r13) +/* 8030C10C 0030906C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030C110 00309070 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8030C114 00309074 EC E0 20 28 */ fsubs f7, f0, f4 +/* 8030C118 00309078 C0 CD 9C 78 */ lfs f6, lbl_805A8838@sda21(r13) +/* 8030C11C 0030907C 94 6B D9 10 */ stwu r3, lbl_803ED910@l(r11) +/* 8030C120 00309080 91 41 00 18 */ stw r10, 0x18(r1) +/* 8030C124 00309084 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030C128 00309088 90 E1 00 24 */ stw r7, 0x24(r1) +/* 8030C12C 0030908C EC 20 20 28 */ fsubs f1, f0, f4 +/* 8030C130 00309090 91 41 00 20 */ stw r10, 0x20(r1) +/* 8030C134 00309094 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8030C138 00309098 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8030C13C 0030909C EC 40 20 28 */ fsubs f2, f0, f4 +/* 8030C140 003090A0 91 41 00 28 */ stw r10, 0x28(r1) +/* 8030C144 003090A4 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8030C148 003090A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030C14C 003090AC EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030C150 003090B0 91 41 00 30 */ stw r10, 0x30(r1) +/* 8030C154 003090B4 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8030C158 003090B8 91 8B 00 04 */ stw r12, 4(r11) +/* 8030C15C 003090BC EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030C160 003090C0 90 AB 00 08 */ stw r5, 8(r11) +/* 8030C164 003090C4 90 CB 00 0C */ stw r6, 0xc(r11) +/* 8030C168 003090C8 D1 0B 00 10 */ stfs f8, 0x10(r11) +/* 8030C16C 003090CC D0 EB 00 14 */ stfs f7, 0x14(r11) +/* 8030C170 003090D0 48 07 04 D9 */ bl GXSetViewport +/* 8030C174 003090D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030C178 003090D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8030C17C 003090DC 7C 08 03 A6 */ mtlr r0 +/* 8030C180 003090E0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030C184 003090E4 4E 80 00 20 */ blr + +.global CalculatePerspectiveMatrix__9CGraphicsFffff +CalculatePerspectiveMatrix__9CGraphicsFffff: +/* 8030C188 003090E8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8030C18C 003090EC 7C 08 02 A6 */ mflr r0 +/* 8030C190 003090F0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8030C194 003090F4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8030C198 003090F8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8030C19C 003090FC DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8030C1A0 00309100 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8030C1A4 00309104 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8030C1A8 00309108 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8030C1AC 0030910C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8030C1B0 00309110 C0 A2 C8 20 */ lfs f5, lbl_805AE540@sda21(r2) +/* 8030C1B4 00309114 FF A0 10 90 */ fmr f29, f2 +/* 8030C1B8 00309118 C0 02 C8 24 */ lfs f0, lbl_805AE544@sda21(r2) +/* 8030C1BC 0030911C FF C0 18 90 */ fmr f30, f3 +/* 8030C1C0 00309120 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8030C1C4 00309124 7C 7F 1B 78 */ mr r31, r3 +/* 8030C1C8 00309128 FF E0 20 90 */ fmr f31, f4 +/* 8030C1CC 0030912C EC 21 00 32 */ fmuls f1, f1, f0 +/* 8030C1D0 00309130 48 08 89 E5 */ bl tan +/* 8030C1D4 00309134 C0 42 C8 28 */ lfs f2, lbl_805AE548@sda21(r2) +/* 8030C1D8 00309138 FD 20 08 18 */ frsp f9, f1 +/* 8030C1DC 0030913C C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) +/* 8030C1E0 00309140 EC FF F0 28 */ fsubs f7, f31, f30 +/* 8030C1E4 00309144 EC 22 07 72 */ fmuls f1, f2, f29 +/* 8030C1E8 00309148 C0 C2 C8 24 */ lfs f6, lbl_805AE544@sda21(r2) +/* 8030C1EC 0030914C EC 02 07 F2 */ fmuls f0, f2, f31 +/* 8030C1F0 00309150 ED 02 07 B2 */ fmuls f8, f2, f30 +/* 8030C1F4 00309154 D0 61 00 08 */ stfs f3, 8(r1) +/* 8030C1F8 00309158 EC 81 07 B2 */ fmuls f4, f1, f30 +/* 8030C1FC 0030915C EC 3F F0 2A */ fadds f1, f31, f30 +/* 8030C200 00309160 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) +/* 8030C204 00309164 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8030C208 00309168 EC A9 01 32 */ fmuls f5, f9, f4 +/* 8030C20C 0030916C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030C210 00309170 EC 21 38 24 */ fdivs f1, f1, f7 +/* 8030C214 00309174 FC 00 00 50 */ fneg f0, f0 +/* 8030C218 00309178 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8030C21C 0030917C EC 88 02 72 */ fmuls f4, f8, f9 +/* 8030C220 00309180 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8030C224 00309184 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8030C228 00309188 EC 00 38 24 */ fdivs f0, f0, f7 +/* 8030C22C 0030918C EC 86 01 32 */ fmuls f4, f6, f4 +/* 8030C230 00309190 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8030C234 00309194 FC C0 28 50 */ fneg f6, f5 +/* 8030C238 00309198 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8030C23C 0030919C FC E0 20 50 */ fneg f7, f4 +/* 8030C240 003091A0 EC 25 30 2A */ fadds f1, f5, f6 +/* 8030C244 003091A4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8030C248 003091A8 EC A5 30 28 */ fsubs f5, f5, f6 +/* 8030C24C 003091AC EC 04 38 2A */ fadds f0, f4, f7 +/* 8030C250 003091B0 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8030C254 003091B4 FC 40 08 50 */ fneg f2, f1 +/* 8030C258 003091B8 EC 84 38 28 */ fsubs f4, f4, f7 +/* 8030C25C 003091BC D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8030C260 003091C0 FC 00 00 50 */ fneg f0, f0 +/* 8030C264 003091C4 EC 28 28 24 */ fdivs f1, f8, f5 +/* 8030C268 003091C8 EC 42 28 24 */ fdivs f2, f2, f5 +/* 8030C26C 003091CC EC E8 20 24 */ fdivs f7, f8, f4 +/* 8030C270 003091D0 EC C0 20 24 */ fdivs f6, f0, f4 +/* 8030C274 003091D4 FC 80 18 90 */ fmr f4, f3 +/* 8030C278 003091D8 FC A0 18 90 */ fmr f5, f3 +/* 8030C27C 003091DC FD 00 18 90 */ fmr f8, f3 +/* 8030C280 003091E0 48 00 45 FD */ bl __ct__9CMatrix4fFffffffffffffffff +/* 8030C284 003091E4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8030C288 003091E8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8030C28C 003091EC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8030C290 003091F0 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8030C294 003091F4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8030C298 003091F8 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8030C29C 003091FC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8030C2A0 00309200 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8030C2A4 00309204 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8030C2A8 00309208 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8030C2AC 0030920C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8030C2B0 00309210 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8030C2B4 00309214 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8030C2B8 00309218 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8030C2BC 0030921C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8030C2C0 00309220 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8030C2C4 00309224 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8030C2C8 00309228 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 8030C2CC 0030922C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8030C2D0 00309230 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8030C2D4 00309234 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8030C2D8 00309238 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 8030C2DC 0030923C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8030C2E0 00309240 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 8030C2E4 00309244 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8030C2E8 00309248 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8030C2EC 0030924C C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8030C2F0 00309250 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 8030C2F4 00309254 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8030C2F8 00309258 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8030C2FC 0030925C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8030C300 00309260 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8030C304 00309264 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8030C308 00309268 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8030C30C 0030926C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8030C310 00309270 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8030C314 00309274 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8030C318 00309278 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8030C31C 0030927C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8030C320 00309280 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8030C324 00309284 7C 08 03 A6 */ mtlr r0 +/* 8030C328 00309288 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8030C32C 0030928C 4E 80 00 20 */ blr + +.global GetPerspectiveProjectionMatrix__9CGraphicsFv +GetPerspectiveProjectionMatrix__9CGraphicsFv: +/* 8030C330 00309290 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8030C334 00309294 7C 08 02 A6 */ mflr r0 +/* 8030C338 00309298 90 01 00 84 */ stw r0, 0x84(r1) +/* 8030C33C 0030929C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8030C340 003092A0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8030C344 003092A4 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8030C348 003092A8 3C 80 80 5A */ lis r4, lbl_805A61B8@ha +/* 8030C34C 003092AC C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) +/* 8030C350 003092B0 38 84 61 B8 */ addi r4, r4, lbl_805A61B8@l +/* 8030C354 003092B4 7C 7F 1B 78 */ mr r31, r3 +/* 8030C358 003092B8 C0 24 00 18 */ lfs f1, 0x18(r4) +/* 8030C35C 003092BC FC 80 18 90 */ fmr f4, f3 +/* 8030C360 003092C0 C1 02 C8 28 */ lfs f8, lbl_805AE548@sda21(r2) +/* 8030C364 003092C4 FC A0 18 90 */ fmr f5, f3 +/* 8030C368 003092C8 C1 24 00 14 */ lfs f9, 0x14(r4) +/* 8030C36C 003092CC 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030C370 003092D0 EC 08 00 72 */ fmuls f0, f8, f1 +/* 8030C374 003092D4 ED 41 48 28 */ fsubs f10, f1, f9 +/* 8030C378 003092D8 C1 64 00 10 */ lfs f11, 0x10(r4) +/* 8030C37C 003092DC EC 41 48 2A */ fadds f2, f1, f9 +/* 8030C380 003092E0 C1 84 00 0C */ lfs f12, 0xc(r4) +/* 8030C384 003092E4 EC 20 02 72 */ fmuls f1, f0, f9 +/* 8030C388 003092E8 EC 0C 58 2A */ fadds f0, f12, f11 +/* 8030C38C 003092EC EC E2 50 24 */ fdivs f7, f2, f10 +/* 8030C390 003092F0 C1 A4 00 04 */ lfs f13, 4(r4) +/* 8030C394 003092F4 C3 E4 00 08 */ lfs f31, 8(r4) +/* 8030C398 003092F8 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030C39C 003092FC D0 61 00 08 */ stfs f3, 8(r1) +/* 8030C3A0 00309300 FC 40 08 50 */ fneg f2, f1 +/* 8030C3A4 00309304 D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 8030C3A8 00309308 EC 3F 68 2A */ fadds f1, f31, f13 +/* 8030C3AC 0030930C ED 28 02 72 */ fmuls f9, f8, f9 +/* 8030C3B0 00309310 EC 42 50 24 */ fdivs f2, f2, f10 +/* 8030C3B4 00309314 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8030C3B8 00309318 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8030C3BC 0030931C EC EC 58 28 */ fsubs f7, f12, f11 +/* 8030C3C0 00309320 ED 1F 68 28 */ fsubs f8, f31, f13 +/* 8030C3C4 00309324 FC 40 08 50 */ fneg f2, f1 +/* 8030C3C8 00309328 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8030C3CC 0030932C FC 00 00 50 */ fneg f0, f0 +/* 8030C3D0 00309330 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 8030C3D4 00309334 EC 29 40 24 */ fdivs f1, f9, f8 +/* 8030C3D8 00309338 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8030C3DC 0030933C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8030C3E0 00309340 EC 42 40 24 */ fdivs f2, f2, f8 +/* 8030C3E4 00309344 EC C0 38 24 */ fdivs f6, f0, f7 +/* 8030C3E8 00309348 EC E9 38 24 */ fdivs f7, f9, f7 +/* 8030C3EC 0030934C FD 00 18 90 */ fmr f8, f3 +/* 8030C3F0 00309350 48 00 44 8D */ bl __ct__9CMatrix4fFffffffffffffffff +/* 8030C3F4 00309354 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8030C3F8 00309358 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8030C3FC 0030935C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8030C400 00309360 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8030C404 00309364 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8030C408 00309368 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8030C40C 0030936C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8030C410 00309370 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8030C414 00309374 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8030C418 00309378 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8030C41C 0030937C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8030C420 00309380 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8030C424 00309384 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8030C428 00309388 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8030C42C 0030938C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8030C430 00309390 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8030C434 00309394 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8030C438 00309398 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 8030C43C 0030939C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8030C440 003093A0 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8030C444 003093A4 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8030C448 003093A8 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 8030C44C 003093AC C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8030C450 003093B0 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 8030C454 003093B4 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8030C458 003093B8 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8030C45C 003093BC C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8030C460 003093C0 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 8030C464 003093C4 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8030C468 003093C8 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8030C46C 003093CC C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8030C470 003093D0 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8030C474 003093D4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8030C478 003093D8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8030C47C 003093DC CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8030C480 003093E0 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8030C484 003093E4 7C 08 03 A6 */ mtlr r0 +/* 8030C488 003093E8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8030C48C 003093EC 4E 80 00 20 */ blr + +.global SetPerspective__9CGraphicsFffff +SetPerspective__9CGraphicsFffff: +/* 8030C490 003093F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030C494 003093F4 7C 08 02 A6 */ mflr r0 +/* 8030C498 003093F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030C49C 003093FC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8030C4A0 00309400 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8030C4A4 00309404 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8030C4A8 00309408 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8030C4AC 0030940C DB A1 00 10 */ stfd f29, 0x10(r1) +/* 8030C4B0 00309410 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 8030C4B4 00309414 C0 A2 C8 20 */ lfs f5, lbl_805AE540@sda21(r2) +/* 8030C4B8 00309418 FF A0 10 90 */ fmr f29, f2 +/* 8030C4BC 0030941C C0 02 C8 24 */ lfs f0, lbl_805AE544@sda21(r2) +/* 8030C4C0 00309420 FF C0 18 90 */ fmr f30, f3 +/* 8030C4C4 00309424 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8030C4C8 00309428 FF E0 20 90 */ fmr f31, f4 +/* 8030C4CC 0030942C EC 21 00 32 */ fmuls f1, f1, f0 +/* 8030C4D0 00309430 48 08 86 E5 */ bl tan +/* 8030C4D4 00309434 C0 02 C8 28 */ lfs f0, lbl_805AE548@sda21(r2) +/* 8030C4D8 00309438 FC 80 08 18 */ frsp f4, f1 +/* 8030C4DC 0030943C C0 62 C8 24 */ lfs f3, lbl_805AE544@sda21(r2) +/* 8030C4E0 00309440 38 00 00 01 */ li r0, 1 +/* 8030C4E4 00309444 EC 40 07 72 */ fmuls f2, f0, f29 +/* 8030C4E8 00309448 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 8030C4EC 0030944C 9C 03 61 B8 */ stbu r0, lbl_805A61B8@l(r3) +/* 8030C4F0 00309450 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8030C4F4 00309454 EC 22 07 B2 */ fmuls f1, f2, f30 +/* 8030C4F8 00309458 D3 C3 00 14 */ stfs f30, 0x14(r3) +/* 8030C4FC 0030945C EC 00 01 32 */ fmuls f0, f0, f4 +/* 8030C500 00309460 D3 E3 00 18 */ stfs f31, 0x18(r3) +/* 8030C504 00309464 EC 24 00 72 */ fmuls f1, f4, f1 +/* 8030C508 00309468 EC 83 00 32 */ fmuls f4, f3, f0 +/* 8030C50C 0030946C EC 43 00 72 */ fmuls f2, f3, f1 +/* 8030C510 00309470 FC 00 20 50 */ fneg f0, f4 +/* 8030C514 00309474 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 8030C518 00309478 FC 20 10 50 */ fneg f1, f2 +/* 8030C51C 0030947C D0 43 00 08 */ stfs f2, 8(r3) +/* 8030C520 00309480 D0 23 00 04 */ stfs f1, 4(r3) +/* 8030C524 00309484 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8030C528 00309488 4B FF D9 41 */ bl FlushProjection__9CGraphicsFv +/* 8030C52C 0030948C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8030C530 00309490 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8030C534 00309494 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8030C538 00309498 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8030C53C 0030949C E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 8030C540 003094A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030C544 003094A4 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 8030C548 003094A8 7C 08 03 A6 */ mtlr r0 +/* 8030C54C 003094AC 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030C550 003094B0 4E 80 00 20 */ blr + +.global SetOrtho__9CGraphicsFffffff +SetOrtho__9CGraphicsFffffff: +/* 8030C554 003094B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C558 003094B8 7C 08 02 A6 */ mflr r0 +/* 8030C55C 003094BC 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 8030C560 003094C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C564 003094C4 38 00 00 00 */ li r0, 0 +/* 8030C568 003094C8 9C 03 61 B8 */ stbu r0, lbl_805A61B8@l(r3) +/* 8030C56C 003094CC D0 23 00 04 */ stfs f1, 4(r3) +/* 8030C570 003094D0 D0 43 00 08 */ stfs f2, 8(r3) +/* 8030C574 003094D4 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 8030C578 003094D8 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8030C57C 003094DC D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 8030C580 003094E0 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 8030C584 003094E4 4B FF D8 E5 */ bl FlushProjection__9CGraphicsFv +/* 8030C588 003094E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C58C 003094EC 7C 08 03 A6 */ mtlr r0 +/* 8030C590 003094F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C594 003094F4 4E 80 00 20 */ blr + +.global SetIdentityModelMatrix__9CGraphicsFv +SetIdentityModelMatrix__9CGraphicsFv: +/* 8030C598 003094F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C59C 003094FC 7C 08 02 A6 */ mflr r0 +/* 8030C5A0 00309500 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C5A4 00309504 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) +/* 8030C5A8 00309508 28 00 00 00 */ cmplwi r0, 0 +/* 8030C5AC 0030950C 40 82 00 24 */ bne lbl_8030C5D0 +/* 8030C5B0 00309510 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030C5B4 00309514 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030C5B8 00309518 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030C5BC 0030951C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030C5C0 00309520 48 00 65 81 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C5C4 00309524 38 00 00 01 */ li r0, 1 +/* 8030C5C8 00309528 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030C5CC 0030952C 48 00 02 41 */ bl SetViewMatrix__9CGraphicsFv +lbl_8030C5D0: +/* 8030C5D0 00309530 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C5D4 00309534 7C 08 03 A6 */ mtlr r0 +/* 8030C5D8 00309538 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C5DC 0030953C 4E 80 00 20 */ blr + +.global SetModelMatrix__9CGraphicsFRC12CTransform4f +SetModelMatrix__9CGraphicsFRC12CTransform4f: +/* 8030C5E0 00309540 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C5E4 00309544 7C 08 02 A6 */ mflr r0 +/* 8030C5E8 00309548 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030C5EC 0030954C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C5F0 00309550 38 04 66 70 */ addi r0, r4, skIdentity4f@l +/* 8030C5F4 00309554 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C5F8 00309558 7C 7F 1B 78 */ mr r31, r3 +/* 8030C5FC 0030955C 7C 1F 00 40 */ cmplw r31, r0 +/* 8030C600 00309560 40 82 00 30 */ bne lbl_8030C630 +/* 8030C604 00309564 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) +/* 8030C608 00309568 28 00 00 00 */ cmplwi r0, 0 +/* 8030C60C 0030956C 40 82 00 A4 */ bne lbl_8030C6B0 +/* 8030C610 00309570 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030C614 00309574 7F E4 FB 78 */ mr r4, r31 +/* 8030C618 00309578 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030C61C 0030957C 48 00 65 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C620 00309580 38 00 00 01 */ li r0, 1 +/* 8030C624 00309584 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030C628 00309588 48 00 01 E5 */ bl SetViewMatrix__9CGraphicsFv +/* 8030C62C 0030958C 48 00 00 84 */ b lbl_8030C6B0 +lbl_8030C630: +/* 8030C630 00309590 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030C634 00309594 7F E4 FB 78 */ mr r4, r31 +/* 8030C638 00309598 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030C63C 0030959C 48 00 65 05 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C640 003095A0 C1 7F 00 00 */ lfs f11, 0(r31) +/* 8030C644 003095A4 3C 60 80 5A */ lis r3, lbl_805A656C@ha +/* 8030C648 003095A8 38 00 00 00 */ li r0, 0 +/* 8030C64C 003095AC C1 5F 00 04 */ lfs f10, 4(r31) +/* 8030C650 003095B0 D5 63 65 6C */ stfsu f11, lbl_805A656C@l(r3) +/* 8030C654 003095B4 C1 3F 00 08 */ lfs f9, 8(r31) +/* 8030C658 003095B8 C1 1F 00 0C */ lfs f8, 0xc(r31) +/* 8030C65C 003095BC C0 FF 00 10 */ lfs f7, 0x10(r31) +/* 8030C660 003095C0 C0 DF 00 14 */ lfs f6, 0x14(r31) +/* 8030C664 003095C4 C0 BF 00 18 */ lfs f5, 0x18(r31) +/* 8030C668 003095C8 C0 9F 00 1C */ lfs f4, 0x1c(r31) +/* 8030C66C 003095CC C0 7F 00 20 */ lfs f3, 0x20(r31) +/* 8030C670 003095D0 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 8030C674 003095D4 C0 3F 00 28 */ lfs f1, 0x28(r31) +/* 8030C678 003095D8 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8030C67C 003095DC 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030C680 003095E0 D1 43 00 04 */ stfs f10, 4(r3) +/* 8030C684 003095E4 D1 23 00 08 */ stfs f9, 8(r3) +/* 8030C688 003095E8 D1 03 00 0C */ stfs f8, 0xc(r3) +/* 8030C68C 003095EC D0 E3 00 10 */ stfs f7, 0x10(r3) +/* 8030C690 003095F0 D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 8030C694 003095F4 D0 A3 00 18 */ stfs f5, 0x18(r3) +/* 8030C698 003095F8 D0 83 00 1C */ stfs f4, 0x1c(r3) +/* 8030C69C 003095FC D0 63 00 20 */ stfs f3, 0x20(r3) +/* 8030C6A0 00309600 D0 43 00 24 */ stfs f2, 0x24(r3) +/* 8030C6A4 00309604 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 8030C6A8 00309608 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8030C6AC 0030960C 48 00 01 61 */ bl SetViewMatrix__9CGraphicsFv +lbl_8030C6B0: +/* 8030C6B0 00309610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C6B4 00309614 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C6B8 00309618 7C 08 03 A6 */ mtlr r0 +/* 8030C6BC 0030961C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C6C0 00309620 4E 80 00 20 */ blr + +.global SetIdentityViewPointMatrix__9CGraphicsFv +SetIdentityViewPointMatrix__9CGraphicsFv: +/* 8030C6C4 00309624 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C6C8 00309628 7C 08 02 A6 */ mflr r0 +/* 8030C6CC 0030962C 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030C6D0 00309630 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030C6D4 00309634 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C6D8 00309638 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 8030C6DC 0030963C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030C6E0 00309640 48 00 64 61 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C6E4 00309644 3C 60 80 5A */ lis r3, lbl_805A653C@ha +/* 8030C6E8 00309648 38 63 65 3C */ addi r3, r3, lbl_805A653C@l +/* 8030C6EC 0030964C 48 07 09 55 */ bl PSMTXIdentity +/* 8030C6F0 00309650 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8030C6F4 00309654 3C A0 80 5A */ lis r5, lbl_805A653C@ha +/* 8030C6F8 00309658 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8030C6FC 0030965C C0 A2 C7 F0 */ lfs f5, lbl_805AE510@sda21(r2) +/* 8030C700 00309660 C0 44 00 00 */ lfs f2, 0(r4) +/* 8030C704 00309664 38 A5 65 3C */ addi r5, r5, lbl_805A653C@l +/* 8030C708 00309668 3C 60 80 5A */ lis r3, lbl_805A6234@ha +/* 8030C70C 0030966C C0 82 C8 10 */ lfs f4, lbl_805AE530@sda21(r2) +/* 8030C710 00309670 C0 62 C8 14 */ lfs f3, lbl_805AE534@sda21(r2) +/* 8030C714 00309674 C0 24 00 04 */ lfs f1, 4(r4) +/* 8030C718 00309678 D4 43 62 34 */ stfsu f2, lbl_805A6234@l(r3) +/* 8030C71C 0030967C C0 04 00 08 */ lfs f0, 8(r4) +/* 8030C720 00309680 D0 A5 00 28 */ stfs f5, 0x28(r5) +/* 8030C724 00309684 D0 A5 00 14 */ stfs f5, 0x14(r5) +/* 8030C728 00309688 D0 85 00 18 */ stfs f4, 0x18(r5) +/* 8030C72C 0030968C D0 65 00 24 */ stfs f3, 0x24(r5) +/* 8030C730 00309690 D0 23 00 04 */ stfs f1, 4(r3) +/* 8030C734 00309694 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030C738 00309698 48 00 00 D5 */ bl SetViewMatrix__9CGraphicsFv +/* 8030C73C 0030969C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C740 003096A0 7C 08 03 A6 */ mtlr r0 +/* 8030C744 003096A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C748 003096A8 4E 80 00 20 */ blr + +.global SetViewPointMatrix__9CGraphicsFRC12CTransform4f +SetViewPointMatrix__9CGraphicsFRC12CTransform4f: +/* 8030C74C 003096AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C750 003096B0 7C 08 02 A6 */ mflr r0 +/* 8030C754 003096B4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8030C758 003096B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C75C 003096BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C760 003096C0 7C 7F 1B 78 */ mr r31, r3 +/* 8030C764 003096C4 38 64 61 D4 */ addi r3, r4, lbl_805A61D4@l +/* 8030C768 003096C8 7F E4 FB 78 */ mr r4, r31 +/* 8030C76C 003096CC 48 00 63 D5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C770 003096D0 C0 5F 00 04 */ lfs f2, 4(r31) +/* 8030C774 003096D4 3C 80 80 5A */ lis r4, lbl_805A653C@ha +/* 8030C778 003096D8 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8030C77C 003096DC 3C 60 80 5A */ lis r3, lbl_805A6234@ha +/* 8030C780 003096E0 FC 60 10 50 */ fneg f3, f2 +/* 8030C784 003096E4 C1 5F 00 00 */ lfs f10, 0(r31) +/* 8030C788 003096E8 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8030C78C 003096EC FC 40 08 50 */ fneg f2, f1 +/* 8030C790 003096F0 D5 44 65 3C */ stfsu f10, lbl_805A653C@l(r4) +/* 8030C794 003096F4 C0 E2 C7 F0 */ lfs f7, lbl_805AE510@sda21(r2) +/* 8030C798 003096F8 FC 20 00 50 */ fneg f1, f0 +/* 8030C79C 003096FC C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8030C7A0 00309700 C1 3F 00 10 */ lfs f9, 0x10(r31) +/* 8030C7A4 00309704 C1 1F 00 20 */ lfs f8, 0x20(r31) +/* 8030C7A8 00309708 C0 DF 00 08 */ lfs f6, 8(r31) +/* 8030C7AC 0030970C C0 BF 00 18 */ lfs f5, 0x18(r31) +/* 8030C7B0 00309710 C0 9F 00 28 */ lfs f4, 0x28(r31) +/* 8030C7B4 00309714 C1 9F 00 2C */ lfs f12, 0x2c(r31) +/* 8030C7B8 00309718 D4 03 62 34 */ stfsu f0, lbl_805A6234@l(r3) +/* 8030C7BC 0030971C C1 7F 00 1C */ lfs f11, 0x1c(r31) +/* 8030C7C0 00309720 D1 24 00 04 */ stfs f9, 4(r4) +/* 8030C7C4 00309724 D1 04 00 08 */ stfs f8, 8(r4) +/* 8030C7C8 00309728 D0 E4 00 0C */ stfs f7, 0xc(r4) +/* 8030C7CC 0030972C D0 C4 00 10 */ stfs f6, 0x10(r4) +/* 8030C7D0 00309730 D0 A4 00 14 */ stfs f5, 0x14(r4) +/* 8030C7D4 00309734 D0 84 00 18 */ stfs f4, 0x18(r4) +/* 8030C7D8 00309738 D0 E4 00 1C */ stfs f7, 0x1c(r4) +/* 8030C7DC 0030973C D0 64 00 20 */ stfs f3, 0x20(r4) +/* 8030C7E0 00309740 D0 44 00 24 */ stfs f2, 0x24(r4) +/* 8030C7E4 00309744 D0 24 00 28 */ stfs f1, 0x28(r4) +/* 8030C7E8 00309748 D0 E4 00 2C */ stfs f7, 0x2c(r4) +/* 8030C7EC 0030974C D1 63 00 04 */ stfs f11, 4(r3) +/* 8030C7F0 00309750 D1 83 00 08 */ stfs f12, 8(r3) +/* 8030C7F4 00309754 48 00 00 19 */ bl SetViewMatrix__9CGraphicsFv +/* 8030C7F8 00309758 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C7FC 0030975C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C800 00309760 7C 08 03 A6 */ mtlr r0 +/* 8030C804 00309764 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C808 00309768 4E 80 00 20 */ blr + +.global SetViewMatrix__9CGraphicsFv +SetViewMatrix__9CGraphicsFv: +/* 8030C80C 0030976C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8030C810 00309770 7C 08 02 A6 */ mflr r0 +/* 8030C814 00309774 3C 80 80 5A */ lis r4, lbl_805A6234@ha +/* 8030C818 00309778 90 01 00 74 */ stw r0, 0x74(r1) +/* 8030C81C 0030977C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030C820 00309780 C4 24 62 34 */ lfsu f1, lbl_805A6234@l(r4) +/* 8030C824 00309784 C0 44 00 04 */ lfs f2, 4(r4) +/* 8030C828 00309788 FC 20 08 50 */ fneg f1, f1 +/* 8030C82C 0030978C C0 04 00 08 */ lfs f0, 8(r4) +/* 8030C830 00309790 FC 40 10 50 */ fneg f2, f2 +/* 8030C834 00309794 FC 60 00 50 */ fneg f3, f0 +/* 8030C838 00309798 48 07 09 FD */ bl PSMTXTrans +/* 8030C83C 0030979C 3C 60 80 5A */ lis r3, lbl_805A653C@ha +/* 8030C840 003097A0 3C A0 80 5A */ lis r5, lbl_805A65CC@ha +/* 8030C844 003097A4 38 63 65 3C */ addi r3, r3, lbl_805A653C@l +/* 8030C848 003097A8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8030C84C 003097AC 38 A5 65 CC */ addi r5, r5, lbl_805A65CC@l +/* 8030C850 003097B0 48 07 08 51 */ bl PSMTXConcat +/* 8030C854 003097B4 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) +/* 8030C858 003097B8 28 00 00 00 */ cmplwi r0, 0 +/* 8030C85C 003097BC 41 82 00 1C */ beq lbl_8030C878 +/* 8030C860 003097C0 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030C864 003097C4 3C 80 80 5A */ lis r4, lbl_805A659C@ha +/* 8030C868 003097C8 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030C86C 003097CC 38 84 65 9C */ addi r4, r4, lbl_805A659C@l +/* 8030C870 003097D0 48 07 07 FD */ bl PSMTXCopy +/* 8030C874 003097D4 48 00 00 20 */ b lbl_8030C894 +lbl_8030C878: +/* 8030C878 003097D8 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030C87C 003097DC 3C 80 80 5A */ lis r4, lbl_805A656C@ha +/* 8030C880 003097E0 3C A0 80 5A */ lis r5, lbl_805A659C@ha +/* 8030C884 003097E4 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030C888 003097E8 38 84 65 6C */ addi r4, r4, lbl_805A656C@l +/* 8030C88C 003097EC 38 A5 65 9C */ addi r5, r5, lbl_805A659C@l +/* 8030C890 003097F0 48 07 08 11 */ bl PSMTXConcat +lbl_8030C894: +/* 8030C894 003097F4 3C 60 80 5A */ lis r3, lbl_805A659C@ha +/* 8030C898 003097F8 38 80 00 00 */ li r4, 0 +/* 8030C89C 003097FC 38 63 65 9C */ addi r3, r3, lbl_805A659C@l +/* 8030C8A0 00309800 48 06 FB 19 */ bl GXLoadPosMtxImm +/* 8030C8A4 00309804 3C 60 80 5A */ lis r3, lbl_805A659C@ha +/* 8030C8A8 00309808 38 81 00 08 */ addi r4, r1, 8 +/* 8030C8AC 0030980C 38 63 65 9C */ addi r3, r3, lbl_805A659C@l +/* 8030C8B0 00309810 48 07 08 BD */ bl PSMTXInvXpose +/* 8030C8B4 00309814 38 61 00 08 */ addi r3, r1, 8 +/* 8030C8B8 00309818 38 80 00 00 */ li r4, 0 +/* 8030C8BC 0030981C 48 06 FB 4D */ bl GXLoadNrmMtxImm +/* 8030C8C0 00309820 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8030C8C4 00309824 7C 08 03 A6 */ mtlr r0 +/* 8030C8C8 00309828 38 21 00 70 */ addi r1, r1, 0x70 +/* 8030C8CC 0030982C 4E 80 00 20 */ blr + +.global SetLightState__9CGraphicsFUc +SetLightState__9CGraphicsFUc: +/* 8030C8D0 00309830 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C8D4 00309834 7C 08 02 A6 */ mflr r0 +/* 8030C8D8 00309838 39 20 00 02 */ li r9, 2 +/* 8030C8DC 0030983C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C8E0 00309840 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030C8E4 00309844 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C8E8 00309848 7C 7F 1B 78 */ mr r31, r3 +/* 8030C8EC 0030984C 41 82 00 08 */ beq lbl_8030C8F4 +/* 8030C8F0 00309850 39 20 00 01 */ li r9, 1 +lbl_8030C8F4: +/* 8030C8F4 00309854 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8030C8F8 00309858 39 00 00 00 */ li r8, 0 +/* 8030C8FC 0030985C 41 82 00 08 */ beq lbl_8030C904 +/* 8030C900 00309860 39 00 00 02 */ li r8, 2 +lbl_8030C904: +/* 8030C904 00309864 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030C908 00309868 57 E7 06 3E */ clrlwi r7, r31, 0x18 +/* 8030C90C 0030986C 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030C910 00309870 38 A0 00 00 */ li r5, 0 +/* 8030C914 00309874 88 63 00 2E */ lbz r3, 0x2e(r3) +/* 8030C918 00309878 7C 07 00 D0 */ neg r0, r7 +/* 8030C91C 0030987C 7C 00 3B 78 */ or r0, r0, r7 +/* 8030C920 00309880 54 66 FF FE */ rlwinm r6, r3, 0x1f, 0x1f, 0x1f +/* 8030C924 00309884 38 60 00 00 */ li r3, 0 +/* 8030C928 00309888 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8030C92C 0030988C 4B FF C3 A1 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030C930 00309890 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 8030C934 00309894 9B ED A8 16 */ stb r31, lbl_805A93D6@sda21(r13) +/* 8030C938 00309898 70 03 00 55 */ andi. r3, r0, 0x55 +/* 8030C93C 0030989C 70 00 00 AA */ andi. r0, r0, 0xaa +/* 8030C940 003098A0 54 00 F8 7E */ srwi r0, r0, 1 +/* 8030C944 003098A4 7C 03 02 14 */ add r0, r3, r0 +/* 8030C948 003098A8 70 03 00 33 */ andi. r3, r0, 0x33 +/* 8030C94C 003098AC 70 00 00 CC */ andi. r0, r0, 0xcc +/* 8030C950 003098B0 54 00 F0 BE */ srwi r0, r0, 2 +/* 8030C954 003098B4 7C 03 02 14 */ add r0, r3, r0 +/* 8030C958 003098B8 54 03 07 3E */ clrlwi r3, r0, 0x1c +/* 8030C95C 003098BC 54 00 E7 3E */ rlwinm r0, r0, 0x1c, 0x1c, 0x1f +/* 8030C960 003098C0 7C 03 02 14 */ add r0, r3, r0 +/* 8030C964 003098C4 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) +/* 8030C968 003098C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C96C 003098CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C970 003098D0 7C 08 03 A6 */ mtlr r0 +/* 8030C974 003098D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C978 003098D8 4E 80 00 20 */ blr + +.global DisableAllLights__9CGraphicsFv +DisableAllLights__9CGraphicsFv: +/* 8030C97C 003098DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C980 003098E0 7C 08 02 A6 */ mflr r0 +/* 8030C984 003098E4 38 60 00 00 */ li r3, 0 +/* 8030C988 003098E8 38 80 00 00 */ li r4, 0 +/* 8030C98C 003098EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C990 003098F0 38 00 00 00 */ li r0, 0 +/* 8030C994 003098F4 38 A0 00 00 */ li r5, 0 +/* 8030C998 003098F8 38 C0 00 00 */ li r6, 0 +/* 8030C99C 003098FC 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) +/* 8030C9A0 00309900 38 E0 00 00 */ li r7, 0 +/* 8030C9A4 00309904 39 00 00 00 */ li r8, 0 +/* 8030C9A8 00309908 39 20 00 02 */ li r9, 2 +/* 8030C9AC 0030990C 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) +/* 8030C9B0 00309910 4B FF C3 1D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030C9B4 00309914 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C9B8 00309918 7C 08 03 A6 */ mtlr r0 +/* 8030C9BC 0030991C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C9C0 00309920 4E 80 00 20 */ blr + +.global LoadLight__9CGraphicsF9ERglLightRC6CLight +LoadLight__9CGraphicsF9ERglLightRC6CLight: +/* 8030C9C4 00309924 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030C9C8 00309928 7C 08 02 A6 */ mflr r0 +/* 8030C9CC 0030992C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030C9D0 00309930 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8030C9D4 00309934 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8030C9D8 00309938 7C 9E 23 78 */ mr r30, r4 +/* 8030C9DC 0030993C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8030C9E0 00309940 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030C9E4 00309944 93 81 00 30 */ stw r28, 0x30(r1) +/* 8030C9E8 00309948 40 82 00 0C */ bne lbl_8030C9F4 +/* 8030C9EC 0030994C 3B E0 00 01 */ li r31, 1 +/* 8030C9F0 00309950 48 00 00 7C */ b lbl_8030CA6C +lbl_8030C9F4: +/* 8030C9F4 00309954 2C 1D 00 01 */ cmpwi r29, 1 +/* 8030C9F8 00309958 40 82 00 0C */ bne lbl_8030CA04 +/* 8030C9FC 0030995C 3B E0 00 02 */ li r31, 2 +/* 8030CA00 00309960 48 00 00 6C */ b lbl_8030CA6C +lbl_8030CA04: +/* 8030CA04 00309964 2C 1D 00 02 */ cmpwi r29, 2 +/* 8030CA08 00309968 40 82 00 0C */ bne lbl_8030CA14 +/* 8030CA0C 0030996C 3B E0 00 04 */ li r31, 4 +/* 8030CA10 00309970 48 00 00 5C */ b lbl_8030CA6C +lbl_8030CA14: +/* 8030CA14 00309974 2C 1D 00 03 */ cmpwi r29, 3 +/* 8030CA18 00309978 40 82 00 0C */ bne lbl_8030CA24 +/* 8030CA1C 0030997C 3B E0 00 08 */ li r31, 8 +/* 8030CA20 00309980 48 00 00 4C */ b lbl_8030CA6C +lbl_8030CA24: +/* 8030CA24 00309984 2C 1D 00 04 */ cmpwi r29, 4 +/* 8030CA28 00309988 40 82 00 0C */ bne lbl_8030CA34 +/* 8030CA2C 0030998C 3B E0 00 10 */ li r31, 0x10 +/* 8030CA30 00309990 48 00 00 3C */ b lbl_8030CA6C +lbl_8030CA34: +/* 8030CA34 00309994 2C 1D 00 05 */ cmpwi r29, 5 +/* 8030CA38 00309998 40 82 00 0C */ bne lbl_8030CA44 +/* 8030CA3C 0030999C 3B E0 00 20 */ li r31, 0x20 +/* 8030CA40 003099A0 48 00 00 2C */ b lbl_8030CA6C +lbl_8030CA44: +/* 8030CA44 003099A4 2C 1D 00 06 */ cmpwi r29, 6 +/* 8030CA48 003099A8 40 82 00 0C */ bne lbl_8030CA54 +/* 8030CA4C 003099AC 3B E0 00 40 */ li r31, 0x40 +/* 8030CA50 003099B0 48 00 00 1C */ b lbl_8030CA6C +lbl_8030CA54: +/* 8030CA54 003099B4 38 7D FF F9 */ addi r3, r29, -7 +/* 8030CA58 003099B8 20 1D 00 07 */ subfic r0, r29, 7 +/* 8030CA5C 003099BC 7C 63 00 F8 */ nor r3, r3, r0 +/* 8030CA60 003099C0 38 00 00 80 */ li r0, 0x80 +/* 8030CA64 003099C4 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 8030CA68 003099C8 7C 1F 18 38 */ and r31, r0, r3 +lbl_8030CA6C: +/* 8030CA6C 003099CC 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8030CA70 003099D0 C0 BE 00 00 */ lfs f5, 0(r30) +/* 8030CA74 003099D4 C0 9E 00 04 */ lfs f4, 4(r30) +/* 8030CA78 003099D8 2C 00 00 02 */ cmpwi r0, 2 +/* 8030CA7C 003099DC C0 7E 00 08 */ lfs f3, 8(r30) +/* 8030CA80 003099E0 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 8030CA84 003099E4 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 8030CA88 003099E8 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8030CA8C 003099EC D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8030CA90 003099F0 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8030CA94 003099F4 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8030CA98 003099F8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8030CA9C 003099FC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8030CAA0 00309A00 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8030CAA4 00309A04 41 82 01 18 */ beq lbl_8030CBBC +/* 8030CAA8 00309A08 40 80 00 14 */ bge lbl_8030CABC +/* 8030CAAC 00309A0C 2C 00 00 00 */ cmpwi r0, 0 +/* 8030CAB0 00309A10 41 82 00 1C */ beq lbl_8030CACC +/* 8030CAB4 00309A14 40 80 00 AC */ bge lbl_8030CB60 +/* 8030CAB8 00309A18 48 00 02 14 */ b lbl_8030CCCC +lbl_8030CABC: +/* 8030CABC 00309A1C 2C 00 00 04 */ cmpwi r0, 4 +/* 8030CAC0 00309A20 41 82 01 8C */ beq lbl_8030CC4C +/* 8030CAC4 00309A24 40 80 02 08 */ bge lbl_8030CCCC +/* 8030CAC8 00309A28 48 00 00 98 */ b lbl_8030CB60 +lbl_8030CACC: +/* 8030CACC 00309A2C 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CAD0 00309A30 38 81 00 18 */ addi r4, r1, 0x18 +/* 8030CAD4 00309A34 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CAD8 00309A38 7C 85 23 78 */ mr r5, r4 +/* 8030CADC 00309A3C 48 07 09 99 */ bl PSMTXMultVec +/* 8030CAE0 00309A40 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CAE4 00309A44 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CAE8 00309A48 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CAEC 00309A4C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8030CAF0 00309A50 7F 80 22 14 */ add r28, r0, r4 +/* 8030CAF4 00309A54 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8030CAF8 00309A58 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8030CAFC 00309A5C 7F 83 E3 78 */ mr r3, r28 +/* 8030CB00 00309A60 48 06 CD 95 */ bl GXInitLightPos +/* 8030CB04 00309A64 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CB08 00309A68 38 81 00 0C */ addi r4, r1, 0xc +/* 8030CB0C 00309A6C 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CB10 00309A70 7C 85 23 78 */ mr r5, r4 +/* 8030CB14 00309A74 48 07 09 B5 */ bl PSMTXMultVecSR +/* 8030CB18 00309A78 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8030CB1C 00309A7C 7F 83 E3 78 */ mr r3, r28 +/* 8030CB20 00309A80 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8030CB24 00309A84 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8030CB28 00309A88 48 06 CD 7D */ bl GXInitLightDir +/* 8030CB2C 00309A8C C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) +/* 8030CB30 00309A90 7F 83 E3 78 */ mr r3, r28 +/* 8030CB34 00309A94 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030CB38 00309A98 FC 60 10 90 */ fmr f3, f2 +/* 8030CB3C 00309A9C C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 8030CB40 00309AA0 C0 BE 00 28 */ lfs f5, 0x28(r30) +/* 8030CB44 00309AA4 C0 DE 00 2C */ lfs f6, 0x2c(r30) +/* 8030CB48 00309AA8 48 06 CB A1 */ bl GXInitLightAttn +/* 8030CB4C 00309AAC C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 8030CB50 00309AB0 7F 83 E3 78 */ mr r3, r28 +/* 8030CB54 00309AB4 38 80 00 03 */ li r4, 3 +/* 8030CB58 00309AB8 48 06 CB AD */ bl GXInitLightSpot +/* 8030CB5C 00309ABC 48 00 01 70 */ b lbl_8030CCCC +lbl_8030CB60: +/* 8030CB60 00309AC0 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CB64 00309AC4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8030CB68 00309AC8 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CB6C 00309ACC 7C 85 23 78 */ mr r5, r4 +/* 8030CB70 00309AD0 48 07 09 05 */ bl PSMTXMultVec +/* 8030CB74 00309AD4 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CB78 00309AD8 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CB7C 00309ADC 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CB80 00309AE0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8030CB84 00309AE4 7F 80 22 14 */ add r28, r0, r4 +/* 8030CB88 00309AE8 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8030CB8C 00309AEC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8030CB90 00309AF0 7F 83 E3 78 */ mr r3, r28 +/* 8030CB94 00309AF4 48 06 CD 01 */ bl GXInitLightPos +/* 8030CB98 00309AF8 C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) +/* 8030CB9C 00309AFC 7F 83 E3 78 */ mr r3, r28 +/* 8030CBA0 00309B00 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030CBA4 00309B04 FC 60 10 90 */ fmr f3, f2 +/* 8030CBA8 00309B08 C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 8030CBAC 00309B0C C0 BE 00 28 */ lfs f5, 0x28(r30) +/* 8030CBB0 00309B10 C0 DE 00 2C */ lfs f6, 0x2c(r30) +/* 8030CBB4 00309B14 48 06 CB 35 */ bl GXInitLightAttn +/* 8030CBB8 00309B18 48 00 01 14 */ b lbl_8030CCCC +lbl_8030CBBC: +/* 8030CBBC 00309B1C 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CBC0 00309B20 38 81 00 0C */ addi r4, r1, 0xc +/* 8030CBC4 00309B24 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CBC8 00309B28 7C 85 23 78 */ mr r5, r4 +/* 8030CBCC 00309B2C 48 07 08 FD */ bl PSMTXMultVecSR +/* 8030CBD0 00309B30 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8030CBD4 00309B34 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CBD8 00309B38 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8030CBDC 00309B3C 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CBE0 00309B40 FC A0 00 50 */ fneg f5, f0 +/* 8030CBE4 00309B44 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8030CBE8 00309B48 FC 80 08 50 */ fneg f4, f1 +/* 8030CBEC 00309B4C 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CBF0 00309B50 FC 00 00 50 */ fneg f0, f0 +/* 8030CBF4 00309B54 7F 80 22 14 */ add r28, r0, r4 +/* 8030CBF8 00309B58 FC 40 20 18 */ frsp f2, f4 +/* 8030CBFC 00309B5C C0 62 C8 2C */ lfs f3, lbl_805AE54C@sda21(r2) +/* 8030CC00 00309B60 FC 20 00 18 */ frsp f1, f0 +/* 8030CC04 00309B64 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8030CC08 00309B68 FC 00 28 18 */ frsp f0, f5 +/* 8030CC0C 00309B6C 7F 83 E3 78 */ mr r3, r28 +/* 8030CC10 00309B70 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8030CC14 00309B74 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8030CC18 00309B78 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8030CC1C 00309B7C EC 63 00 32 */ fmuls f3, f3, f0 +/* 8030CC20 00309B80 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8030CC24 00309B84 48 06 CC 71 */ bl GXInitLightPos +/* 8030CC28 00309B88 C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) +/* 8030CC2C 00309B8C 7F 83 E3 78 */ mr r3, r28 +/* 8030CC30 00309B90 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030CC34 00309B94 FC 60 10 90 */ fmr f3, f2 +/* 8030CC38 00309B98 FC 80 08 90 */ fmr f4, f1 +/* 8030CC3C 00309B9C FC A0 10 90 */ fmr f5, f2 +/* 8030CC40 00309BA0 FC C0 10 90 */ fmr f6, f2 +/* 8030CC44 00309BA4 48 06 CA A5 */ bl GXInitLightAttn +/* 8030CC48 00309BA8 48 00 00 84 */ b lbl_8030CCCC +lbl_8030CC4C: +/* 8030CC4C 00309BAC 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CC50 00309BB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 8030CC54 00309BB4 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CC58 00309BB8 7C 85 23 78 */ mr r5, r4 +/* 8030CC5C 00309BBC 48 07 08 19 */ bl PSMTXMultVec +/* 8030CC60 00309BC0 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CC64 00309BC4 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CC68 00309BC8 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CC6C 00309BCC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8030CC70 00309BD0 7F 80 22 14 */ add r28, r0, r4 +/* 8030CC74 00309BD4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8030CC78 00309BD8 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8030CC7C 00309BDC 7F 83 E3 78 */ mr r3, r28 +/* 8030CC80 00309BE0 48 06 CC 15 */ bl GXInitLightPos +/* 8030CC84 00309BE4 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CC88 00309BE8 38 81 00 0C */ addi r4, r1, 0xc +/* 8030CC8C 00309BEC 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CC90 00309BF0 7C 85 23 78 */ mr r5, r4 +/* 8030CC94 00309BF4 48 07 08 35 */ bl PSMTXMultVecSR +/* 8030CC98 00309BF8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8030CC9C 00309BFC 7F 83 E3 78 */ mr r3, r28 +/* 8030CCA0 00309C00 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8030CCA4 00309C04 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8030CCA8 00309C08 48 06 CB FD */ bl GXInitLightDir +/* 8030CCAC 00309C0C C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 8030CCB0 00309C10 7F 83 E3 78 */ mr r3, r28 +/* 8030CCB4 00309C14 C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 8030CCB8 00309C18 C0 7E 00 38 */ lfs f3, 0x38(r30) +/* 8030CCBC 00309C1C C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 8030CCC0 00309C20 C0 BE 00 28 */ lfs f5, 0x28(r30) +/* 8030CCC4 00309C24 C0 DE 00 2C */ lfs f6, 0x2c(r30) +/* 8030CCC8 00309C28 48 06 CA 21 */ bl GXInitLightAttn +lbl_8030CCCC: +/* 8030CCCC 00309C2C 80 DE 00 18 */ lwz r6, 0x18(r30) +/* 8030CCD0 00309C30 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CCD4 00309C34 57 A5 30 32 */ slwi r5, r29, 6 +/* 8030CCD8 00309C38 38 81 00 08 */ addi r4, r1, 8 +/* 8030CCDC 00309C3C 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CCE0 00309C40 90 C1 00 08 */ stw r6, 8(r1) +/* 8030CCE4 00309C44 7F 80 2A 14 */ add r28, r0, r5 +/* 8030CCE8 00309C48 7F 83 E3 78 */ mr r3, r28 +/* 8030CCEC 00309C4C 48 06 CB D5 */ bl GXInitLightColor +/* 8030CCF0 00309C50 7F 83 E3 78 */ mr r3, r28 +/* 8030CCF4 00309C54 7F E4 FB 78 */ mr r4, r31 +/* 8030CCF8 00309C58 48 06 CB D5 */ bl GXLoadLightObjImm +/* 8030CCFC 00309C5C 3C 60 80 3F */ lis r3, lbl_803ED928@ha +/* 8030CD00 00309C60 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 8030CD04 00309C64 57 A0 10 3A */ slwi r0, r29, 2 +/* 8030CD08 00309C68 38 63 D9 28 */ addi r3, r3, lbl_803ED928@l +/* 8030CD0C 00309C6C 7C 83 01 2E */ stwx r4, r3, r0 +/* 8030CD10 00309C70 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8030CD14 00309C74 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8030CD18 00309C78 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8030CD1C 00309C7C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8030CD20 00309C80 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030CD24 00309C84 7C 08 03 A6 */ mtlr r0 +/* 8030CD28 00309C88 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030CD2C 00309C8C 4E 80 00 20 */ blr + +.global EnableLight__9CGraphicsF9ERglLight +EnableLight__9CGraphicsF9ERglLight: +/* 8030CD30 00309C90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030CD34 00309C94 7C 08 02 A6 */ mflr r0 +/* 8030CD38 00309C98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030CD3C 00309C9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030CD40 00309CA0 7C 7F 1B 78 */ mr r31, r3 +/* 8030CD44 00309CA4 38 60 00 01 */ li r3, 1 +/* 8030CD48 00309CA8 4B FF C1 09 */ bl SetNumChans__3CGXFUc +/* 8030CD4C 00309CAC 38 00 00 01 */ li r0, 1 +/* 8030CD50 00309CB0 88 6D A8 16 */ lbz r3, lbl_805A93D6@sda21(r13) +/* 8030CD54 00309CB4 7C 04 F8 30 */ slw r4, r0, r31 +/* 8030CD58 00309CB8 7C 60 20 39 */ and. r0, r3, r4 +/* 8030CD5C 00309CBC 40 82 00 38 */ bne lbl_8030CD94 +/* 8030CD60 00309CC0 7C 60 23 78 */ or r0, r3, r4 +/* 8030CD64 00309CC4 38 60 00 00 */ li r3, 0 +/* 8030CD68 00309CC8 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) +/* 8030CD6C 00309CCC 54 07 06 3E */ clrlwi r7, r0, 0x18 +/* 8030CD70 00309CD0 38 80 00 01 */ li r4, 1 +/* 8030CD74 00309CD4 38 A0 00 00 */ li r5, 0 +/* 8030CD78 00309CD8 38 C0 00 00 */ li r6, 0 +/* 8030CD7C 00309CDC 39 00 00 02 */ li r8, 2 +/* 8030CD80 00309CE0 39 20 00 01 */ li r9, 1 +/* 8030CD84 00309CE4 4B FF BF 49 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030CD88 00309CE8 80 6D A7 DC */ lwz r3, lbl_805A939C@sda21(r13) +/* 8030CD8C 00309CEC 38 03 00 01 */ addi r0, r3, 1 +/* 8030CD90 00309CF0 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) +lbl_8030CD94: +/* 8030CD94 00309CF4 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) +/* 8030CD98 00309CF8 98 0D A8 17 */ stb r0, lbl_805A93D7@sda21(r13) +/* 8030CD9C 00309CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030CDA0 00309D00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030CDA4 00309D04 7C 08 03 A6 */ mtlr r0 +/* 8030CDA8 00309D08 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030CDAC 00309D0C 4E 80 00 20 */ blr + +.global ConfigureFrameBuffer__9CGraphicsFRC10COsContext +ConfigureFrameBuffer__9CGraphicsFRC10COsContext: +/* 8030CDB0 00309D10 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8030CDB4 00309D14 7C 08 02 A6 */ mflr r0 +/* 8030CDB8 00309D18 38 A0 00 07 */ li r5, 7 +/* 8030CDBC 00309D1C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8030CDC0 00309D20 BE 61 00 2C */ stmw r19, 0x2c(r1) +/* 8030CDC4 00309D24 7C 7C 1B 78 */ mr r28, r3 +/* 8030CDC8 00309D28 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030CDCC 00309D2C 3B E3 65 00 */ addi r31, r3, lbl_805A6500@l +/* 8030CDD0 00309D30 38 9C 00 62 */ addi r4, r28, 0x62 +/* 8030CDD4 00309D34 3B DF 00 32 */ addi r30, r31, 0x32 +/* 8030CDD8 00309D38 3B BF 00 1A */ addi r29, r31, 0x1a +/* 8030CDDC 00309D3C 7F C3 F3 78 */ mr r3, r30 +/* 8030CDE0 00309D40 82 7C 00 30 */ lwz r19, 0x30(r28) +/* 8030CDE4 00309D44 A2 9C 00 34 */ lhz r20, 0x34(r28) +/* 8030CDE8 00309D48 A2 BC 00 36 */ lhz r21, 0x36(r28) +/* 8030CDEC 00309D4C A2 DC 00 38 */ lhz r22, 0x38(r28) +/* 8030CDF0 00309D50 A2 FC 00 3A */ lhz r23, 0x3a(r28) +/* 8030CDF4 00309D54 A3 1C 00 3C */ lhz r24, 0x3c(r28) +/* 8030CDF8 00309D58 A3 3C 00 3E */ lhz r25, 0x3e(r28) +/* 8030CDFC 00309D5C A3 5C 00 40 */ lhz r26, 0x40(r28) +/* 8030CE00 00309D60 83 7C 00 44 */ lwz r27, 0x44(r28) +/* 8030CE04 00309D64 89 9C 00 48 */ lbz r12, 0x48(r28) +/* 8030CE08 00309D68 89 7C 00 49 */ lbz r11, 0x49(r28) +/* 8030CE0C 00309D6C 81 5C 00 4A */ lwz r10, 0x4a(r28) +/* 8030CE10 00309D70 81 3C 00 4E */ lwz r9, 0x4e(r28) +/* 8030CE14 00309D74 81 1C 00 52 */ lwz r8, 0x52(r28) +/* 8030CE18 00309D78 80 FC 00 56 */ lwz r7, 0x56(r28) +/* 8030CE1C 00309D7C 80 DC 00 5A */ lwz r6, 0x5a(r28) +/* 8030CE20 00309D80 80 1C 00 5E */ lwz r0, 0x5e(r28) +/* 8030CE24 00309D84 92 7F 00 00 */ stw r19, 0(r31) +/* 8030CE28 00309D88 B2 9F 00 04 */ sth r20, 4(r31) +/* 8030CE2C 00309D8C B2 BF 00 06 */ sth r21, 6(r31) +/* 8030CE30 00309D90 B2 DF 00 08 */ sth r22, 8(r31) +/* 8030CE34 00309D94 B2 FF 00 0A */ sth r23, 0xa(r31) +/* 8030CE38 00309D98 B3 1F 00 0C */ sth r24, 0xc(r31) +/* 8030CE3C 00309D9C B3 3F 00 0E */ sth r25, 0xe(r31) +/* 8030CE40 00309DA0 B3 5F 00 10 */ sth r26, 0x10(r31) +/* 8030CE44 00309DA4 93 7F 00 14 */ stw r27, 0x14(r31) +/* 8030CE48 00309DA8 99 9F 00 18 */ stb r12, 0x18(r31) +/* 8030CE4C 00309DAC 99 7F 00 19 */ stb r11, 0x19(r31) +/* 8030CE50 00309DB0 91 5F 00 1A */ stw r10, 0x1a(r31) +/* 8030CE54 00309DB4 91 3F 00 1E */ stw r9, 0x1e(r31) +/* 8030CE58 00309DB8 91 1F 00 22 */ stw r8, 0x22(r31) +/* 8030CE5C 00309DBC 90 FF 00 26 */ stw r7, 0x26(r31) +/* 8030CE60 00309DC0 90 DF 00 2A */ stw r6, 0x2a(r31) +/* 8030CE64 00309DC4 90 1F 00 2E */ stw r0, 0x2e(r31) +/* 8030CE68 00309DC8 48 07 C8 3D */ bl __copy +/* 8030CE6C 00309DCC 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 8030CE70 00309DD0 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030CE74 00309DD4 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8030CE78 00309DD8 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 8030CE7C 00309DDC 90 8D A8 18 */ stw r4, lbl_805A93D8@sda21(r13) +/* 8030CE80 00309DE0 90 0D A8 1C */ stw r0, lbl_805A93DC@sda21(r13) +/* 8030CE84 00309DE4 48 07 B6 D1 */ bl VIConfigure +/* 8030CE88 00309DE8 80 6D A8 18 */ lwz r3, lbl_805A93D8@sda21(r13) +/* 8030CE8C 00309DEC 48 07 C3 B5 */ bl VISetNextFrameBuffer +/* 8030CE90 00309DF0 A0 9F 00 04 */ lhz r4, 4(r31) +/* 8030CE94 00309DF4 3C 60 43 30 */ lis r3, 0x4330 +/* 8030CE98 00309DF8 A0 1F 00 06 */ lhz r0, 6(r31) +/* 8030CE9C 00309DFC 90 81 00 0C */ stw r4, 0xc(r1) +/* 8030CEA0 00309E00 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030CEA4 00309E04 90 61 00 08 */ stw r3, 8(r1) +/* 8030CEA8 00309E08 80 8D A8 1C */ lwz r4, lbl_805A93DC@sda21(r13) +/* 8030CEAC 00309E0C FC 40 08 90 */ fmr f2, f1 +/* 8030CEB0 00309E10 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030CEB4 00309E14 FC A0 08 90 */ fmr f5, f1 +/* 8030CEB8 00309E18 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) +/* 8030CEBC 00309E1C 90 61 00 10 */ stw r3, 0x10(r1) +/* 8030CEC0 00309E20 C8 61 00 08 */ lfd f3, 8(r1) +/* 8030CEC4 00309E24 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030CEC8 00309E28 EC 63 20 28 */ fsubs f3, f3, f4 +/* 8030CECC 00309E2C 90 8D A8 20 */ stw r4, lbl_805A93E0@sda21(r13) +/* 8030CED0 00309E30 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030CED4 00309E34 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030CED8 00309E38 48 06 F7 71 */ bl GXSetViewport +/* 8030CEDC 00309E3C A0 BF 00 04 */ lhz r5, 4(r31) +/* 8030CEE0 00309E40 38 60 00 00 */ li r3, 0 +/* 8030CEE4 00309E44 A0 DF 00 06 */ lhz r6, 6(r31) +/* 8030CEE8 00309E48 38 80 00 00 */ li r4, 0 +/* 8030CEEC 00309E4C 48 06 F7 81 */ bl GXSetScissor +/* 8030CEF0 00309E50 A0 BF 00 04 */ lhz r5, 4(r31) +/* 8030CEF4 00309E54 38 60 00 00 */ li r3, 0 +/* 8030CEF8 00309E58 A0 DF 00 06 */ lhz r6, 6(r31) +/* 8030CEFC 00309E5C 38 80 00 00 */ li r4, 0 +/* 8030CF00 00309E60 48 06 BE 25 */ bl GXSetDispCopySrc +/* 8030CF04 00309E64 A0 7F 00 04 */ lhz r3, 4(r31) +/* 8030CF08 00309E68 A0 9F 00 06 */ lhz r4, 6(r31) +/* 8030CF0C 00309E6C 48 06 BF 39 */ bl GXSetDispCopyDst +/* 8030CF10 00309E70 A0 9F 00 08 */ lhz r4, 8(r31) +/* 8030CF14 00309E74 3C 60 43 30 */ lis r3, 0x4330 +/* 8030CF18 00309E78 A0 1F 00 06 */ lhz r0, 6(r31) +/* 8030CF1C 00309E7C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8030CF20 00309E80 C8 42 C7 F8 */ lfd f2, lbl_805AE518@sda21(r2) +/* 8030CF24 00309E84 90 61 00 18 */ stw r3, 0x18(r1) +/* 8030CF28 00309E88 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030CF2C 00309E8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030CF30 00309E90 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8030CF34 00309E94 90 61 00 20 */ stw r3, 0x20(r1) +/* 8030CF38 00309E98 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8030CF3C 00309E9C EC 00 10 28 */ fsubs f0, f0, f2 +/* 8030CF40 00309EA0 EC 21 00 24 */ fdivs f1, f1, f0 +/* 8030CF44 00309EA4 48 06 C1 21 */ bl GXSetDispCopyYScale +/* 8030CF48 00309EA8 88 7F 00 19 */ lbz r3, 0x19(r31) +/* 8030CF4C 00309EAC 7F A4 EB 78 */ mr r4, r29 +/* 8030CF50 00309EB0 7F C6 F3 78 */ mr r6, r30 +/* 8030CF54 00309EB4 38 A0 00 01 */ li r5, 1 +/* 8030CF58 00309EB8 48 06 C2 3D */ bl GXSetCopyFilter +/* 8030CF5C 00309EBC 88 1F 00 19 */ lbz r0, 0x19(r31) +/* 8030CF60 00309EC0 28 00 00 00 */ cmplwi r0, 0 +/* 8030CF64 00309EC4 41 82 00 14 */ beq lbl_8030CF78 +/* 8030CF68 00309EC8 38 60 00 02 */ li r3, 2 +/* 8030CF6C 00309ECC 38 80 00 00 */ li r4, 0 +/* 8030CF70 00309ED0 48 06 F0 55 */ bl GXSetPixelFmt +/* 8030CF74 00309ED4 48 00 00 10 */ b lbl_8030CF84 +lbl_8030CF78: +/* 8030CF78 00309ED8 38 60 00 00 */ li r3, 0 +/* 8030CF7C 00309EDC 38 80 00 00 */ li r4, 0 +/* 8030CF80 00309EE0 48 06 F0 45 */ bl GXSetPixelFmt +lbl_8030CF84: +/* 8030CF84 00309EE4 38 60 00 00 */ li r3, 0 +/* 8030CF88 00309EE8 48 06 C4 35 */ bl GXSetDispCopyGamma +/* 8030CF8C 00309EEC 80 6D A8 20 */ lwz r3, lbl_805A93E0@sda21(r13) +/* 8030CF90 00309EF0 38 80 00 01 */ li r4, 1 +/* 8030CF94 00309EF4 48 06 C4 45 */ bl GXCopyDisp +/* 8030CF98 00309EF8 48 07 C1 79 */ bl VIFlush +/* 8030CF9C 00309EFC 48 07 B0 F1 */ bl VIWaitForRetrace +/* 8030CFA0 00309F00 48 07 B0 ED */ bl VIWaitForRetrace +/* 8030CFA4 00309F04 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8030CFA8 00309F08 A0 9F 00 04 */ lhz r4, 4(r31) +/* 8030CFAC 00309F0C 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 8030CFB0 00309F10 A0 1F 00 06 */ lhz r0, 6(r31) +/* 8030CFB4 00309F14 90 83 00 08 */ stw r4, 8(r3) +/* 8030CFB8 00309F18 90 03 00 0C */ stw r0, 0xc(r3) +/* 8030CFBC 00309F1C 48 00 00 19 */ bl InitGraphicsDefaults__9CGraphicsFv +/* 8030CFC0 00309F20 BA 61 00 2C */ lmw r19, 0x2c(r1) +/* 8030CFC4 00309F24 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8030CFC8 00309F28 7C 08 03 A6 */ mtlr r0 +/* 8030CFCC 00309F2C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8030CFD0 00309F30 4E 80 00 20 */ blr + +.global InitGraphicsDefaults__9CGraphicsFv +InitGraphicsDefaults__9CGraphicsFv: +/* 8030CFD4 00309F34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030CFD8 00309F38 7C 08 02 A6 */ mflr r0 +/* 8030CFDC 00309F3C C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030CFE0 00309F40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030CFE4 00309F44 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) +/* 8030CFE8 00309F48 4B FF D3 F9 */ bl SetDepthRange__9CGraphicsFff +/* 8030CFEC 00309F4C 38 00 00 00 */ li r0, 0 +/* 8030CFF0 00309F50 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030CFF4 00309F54 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030CFF8 00309F58 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030CFFC 00309F5C 4B FF F5 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8030D000 00309F60 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030D004 00309F64 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 8030D008 00309F68 4B FF F7 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8030D00C 00309F6C 80 8D 9C 70 */ lwz r4, lbl_805A8830@sda21(r13) +/* 8030D010 00309F70 38 60 00 00 */ li r3, 0 +/* 8030D014 00309F74 38 A0 00 00 */ li r5, 0 +/* 8030D018 00309F78 4B FF EA 7D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8030D01C 00309F7C 80 6D A7 D8 */ lwz r3, lbl_805A9398@sda21(r13) +/* 8030D020 00309F80 4B FF EA 51 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030D024 00309F84 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8030D028 00309F88 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 8030D02C 00309F8C 80 66 00 00 */ lwz r3, 0(r6) +/* 8030D030 00309F90 80 86 00 04 */ lwz r4, 4(r6) +/* 8030D034 00309F94 80 A6 00 08 */ lwz r5, 8(r6) +/* 8030D038 00309F98 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 8030D03C 00309F9C 4B FF F0 55 */ bl SetViewport__9CGraphicsFiiii +/* 8030D040 00309FA0 4B FF CE 29 */ bl FlushProjection__9CGraphicsFv +/* 8030D044 00309FA4 4B FF C0 35 */ bl Init__13CTevCombinersFv +/* 8030D048 00309FA8 4B FF F9 35 */ bl DisableAllLights__9CGraphicsFv +/* 8030D04C 00309FAC 4B FF D0 89 */ bl SetDefaultVtxAttrFmt__9CGraphicsFv +/* 8030D050 00309FB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030D054 00309FB4 7C 08 03 A6 */ mtlr r0 +/* 8030D058 00309FB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030D05C 00309FBC 4E 80 00 20 */ blr + +.global Shutdown__9CGraphicsFv +Shutdown__9CGraphicsFv: +/* 8030D060 00309FC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030D064 00309FC4 7C 08 02 A6 */ mflr r0 +/* 8030D068 00309FC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030D06C 00309FCC 80 6D A8 30 */ lwz r3, lbl_805A93F0@sda21(r13) +/* 8030D070 00309FD0 48 06 D8 19 */ bl GXSetTexRegionCallback +/* 8030D074 00309FD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030D078 00309FD8 7C 08 03 A6 */ mtlr r0 +/* 8030D07C 00309FDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030D080 00309FE0 4E 80 00 20 */ blr + +.global InitGraphicsVariables__9CGraphicsFv +InitGraphicsVariables__9CGraphicsFv: +/* 8030D084 00309FE4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030D088 00309FE8 7C 08 02 A6 */ mflr r0 +/* 8030D08C 00309FEC 3C 60 80 3F */ lis r3, lbl_803ED928@ha +/* 8030D090 00309FF0 38 E0 00 02 */ li r7, 2 +/* 8030D094 00309FF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030D098 00309FF8 38 C3 D9 28 */ addi r6, r3, lbl_803ED928@l +/* 8030D09C 00309FFC 38 00 00 00 */ li r0, 0 +/* 8030D0A0 0030A000 38 60 00 00 */ li r3, 0 +/* 8030D0A4 0030A004 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8030D0A8 0030A008 38 A0 00 00 */ li r5, 0 +/* 8030D0AC 0030A00C 90 E6 00 00 */ stw r7, 0(r6) +/* 8030D0B0 0030A010 80 8D 9C 70 */ lwz r4, lbl_805A8830@sda21(r13) +/* 8030D0B4 0030A014 90 E6 00 04 */ stw r7, 4(r6) +/* 8030D0B8 0030A018 90 E6 00 08 */ stw r7, 8(r6) +/* 8030D0BC 0030A01C 90 E6 00 0C */ stw r7, 0xc(r6) +/* 8030D0C0 0030A020 90 E6 00 10 */ stw r7, 0x10(r6) +/* 8030D0C4 0030A024 90 E6 00 14 */ stw r7, 0x14(r6) +/* 8030D0C8 0030A028 90 E6 00 18 */ stw r7, 0x18(r6) +/* 8030D0CC 0030A02C 90 E6 00 1C */ stw r7, 0x1c(r6) +/* 8030D0D0 0030A030 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) +/* 8030D0D4 0030A034 4B FF E9 C1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8030D0D8 0030A038 38 60 00 00 */ li r3, 0 +/* 8030D0DC 0030A03C 4B FF E9 95 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030D0E0 0030A040 C0 22 C8 30 */ lfs f1, lbl_805AE550@sda21(r2) +/* 8030D0E4 0030A044 38 61 00 08 */ addi r3, r1, 8 +/* 8030D0E8 0030A048 C0 82 C8 10 */ lfs f4, lbl_805AE530@sda21(r2) +/* 8030D0EC 0030A04C FC 40 08 90 */ fmr f2, f1 +/* 8030D0F0 0030A050 FC 60 08 90 */ fmr f3, f1 +/* 8030D0F4 0030A054 48 05 62 F9 */ bl __ct__6CColorFffff +/* 8030D0F8 0030A058 4B FF EF 25 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 8030D0FC 0030A05C 38 00 00 00 */ li r0, 0 +/* 8030D100 0030A060 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030D104 0030A064 4B FF F5 C1 */ bl SetIdentityViewPointMatrix__9CGraphicsFv +/* 8030D108 0030A068 4B FF F4 91 */ bl SetIdentityModelMatrix__9CGraphicsFv +/* 8030D10C 0030A06C 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 8030D110 0030A070 38 60 00 00 */ li r3, 0 +/* 8030D114 0030A074 3B E4 D9 10 */ addi r31, r4, lbl_803ED910@l +/* 8030D118 0030A078 38 80 00 00 */ li r4, 0 +/* 8030D11C 0030A07C 80 BF 00 08 */ lwz r5, 8(r31) +/* 8030D120 0030A080 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8030D124 0030A084 4B FF EF 6D */ bl SetViewport__9CGraphicsFiiii +/* 8030D128 0030A088 80 BF 00 08 */ lwz r5, 8(r31) +/* 8030D12C 0030A08C 3C 80 43 30 */ lis r4, 0x4330 +/* 8030D130 0030A090 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8030D134 0030A094 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 8030D138 0030A098 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030D13C 0030A09C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8030D140 0030A0A0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8030D144 0030A0A4 38 63 61 B8 */ addi r3, r3, lbl_805A61B8@l +/* 8030D148 0030A0A8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8030D14C 0030A0AC C8 A2 C7 E8 */ lfd f5, lbl_805AE508@sda21(r2) +/* 8030D150 0030A0B0 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030D154 0030A0B4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8030D158 0030A0B8 EC 40 28 28 */ fsubs f2, f0, f5 +/* 8030D15C 0030A0BC C0 22 C7 F4 */ lfs f1, lbl_805AE514@sda21(r2) +/* 8030D160 0030A0C0 90 81 00 18 */ stw r4, 0x18(r1) +/* 8030D164 0030A0C4 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 8030D168 0030A0C8 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030D16C 0030A0CC C0 83 00 18 */ lfs f4, 0x18(r3) +/* 8030D170 0030A0D0 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8030D174 0030A0D4 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8030D178 0030A0D8 4B FF F3 19 */ bl SetPerspective__9CGraphicsFffff +/* 8030D17C 0030A0DC C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030D180 0030A0E0 38 6D A7 F8 */ addi r3, r13, lbl_805A93B8@sda21 +/* 8030D184 0030A0E4 4B FF EE 45 */ bl SetCopyClear__9CGraphicsFRC6CColorf +/* 8030D188 0030A0E8 80 02 C7 AC */ lwz r0, lbl_805AE4CC@sda21(r2) +/* 8030D18C 0030A0EC 38 81 00 0C */ addi r4, r1, 0xc +/* 8030D190 0030A0F0 38 60 00 00 */ li r3, 0 +/* 8030D194 0030A0F4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8030D198 0030A0F8 4B FF BB C5 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8030D19C 0030A0FC 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 +/* 8030D1A0 0030A100 4B FF C1 59 */ bl ResetFlushAll__Q29CGraphics12CRenderStateFv +/* 8030D1A4 0030A104 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030D1A8 0030A108 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030D1AC 0030A10C 7C 08 03 A6 */ mtlr r0 +/* 8030D1B0 0030A110 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030D1B4 0030A114 4E 80 00 20 */ blr + +.global TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID +TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID: +/* 8030D1B8 0030A118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030D1BC 0030A11C 7C 08 02 A6 */ mflr r0 +/* 8030D1C0 0030A120 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030D1C4 0030A124 88 0D A8 58 */ lbz r0, lbl_805A9418@sda21(r13) +/* 8030D1C8 0030A128 7C 00 07 75 */ extsb. r0, r0 +/* 8030D1CC 0030A12C 40 82 00 14 */ bne lbl_8030D1E0 +/* 8030D1D0 0030A130 38 A0 00 00 */ li r5, 0 +/* 8030D1D4 0030A134 38 00 00 01 */ li r0, 1 +/* 8030D1D8 0030A138 90 AD A8 54 */ stw r5, lbl_805A9414@sda21(r13) +/* 8030D1DC 0030A13C 98 0D A8 58 */ stb r0, lbl_805A9418@sda21(r13) +lbl_8030D1E0: +/* 8030D1E0 0030A140 88 0D A8 60 */ lbz r0, lbl_805A9420@sda21(r13) +/* 8030D1E4 0030A144 7C 00 07 75 */ extsb. r0, r0 +/* 8030D1E8 0030A148 40 82 00 14 */ bne lbl_8030D1FC +/* 8030D1EC 0030A14C 38 A0 00 00 */ li r5, 0 +/* 8030D1F0 0030A150 38 00 00 01 */ li r0, 1 +/* 8030D1F4 0030A154 90 AD A8 5C */ stw r5, lbl_805A941C@sda21(r13) +/* 8030D1F8 0030A158 98 0D A8 60 */ stb r0, lbl_805A9420@sda21(r13) +lbl_8030D1FC: +/* 8030D1FC 0030A15C 2C 04 00 07 */ cmpwi r4, 7 +/* 8030D200 0030A160 40 82 00 10 */ bne lbl_8030D210 +/* 8030D204 0030A164 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030D208 0030A168 38 63 64 40 */ addi r3, r3, lbl_805A6440@l +/* 8030D20C 0030A16C 48 00 00 70 */ b lbl_8030D27C +lbl_8030D210: +/* 8030D210 0030A170 48 06 D0 E5 */ bl GXGetTexObjFmt +/* 8030D214 0030A174 2C 03 00 08 */ cmpwi r3, 8 +/* 8030D218 0030A178 41 82 00 48 */ beq lbl_8030D260 +/* 8030D21C 0030A17C 2C 03 00 09 */ cmpwi r3, 9 +/* 8030D220 0030A180 41 82 00 40 */ beq lbl_8030D260 +/* 8030D224 0030A184 2C 03 00 0A */ cmpwi r3, 0xa +/* 8030D228 0030A188 41 82 00 38 */ beq lbl_8030D260 +/* 8030D22C 0030A18C 80 6D A8 54 */ lwz r3, lbl_805A9414@sda21(r13) +/* 8030D230 0030A190 2C 03 00 00 */ cmpwi r3, 0 +/* 8030D234 0030A194 40 82 00 0C */ bne lbl_8030D240 +/* 8030D238 0030A198 38 03 00 01 */ addi r0, r3, 1 +/* 8030D23C 0030A19C 90 0D A8 54 */ stw r0, lbl_805A9414@sda21(r13) +lbl_8030D240: +/* 8030D240 0030A1A0 80 AD A8 54 */ lwz r5, lbl_805A9414@sda21(r13) +/* 8030D244 0030A1A4 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030D248 0030A1A8 38 03 64 40 */ addi r0, r3, lbl_805A6440@l +/* 8030D24C 0030A1AC 38 85 00 01 */ addi r4, r5, 1 +/* 8030D250 0030A1B0 54 A3 26 76 */ rlwinm r3, r5, 4, 0x19, 0x1b +/* 8030D254 0030A1B4 90 8D A8 54 */ stw r4, lbl_805A9414@sda21(r13) +/* 8030D258 0030A1B8 7C 60 1A 14 */ add r3, r0, r3 +/* 8030D25C 0030A1BC 48 00 00 20 */ b lbl_8030D27C +lbl_8030D260: +/* 8030D260 0030A1C0 80 AD A8 5C */ lwz r5, lbl_805A941C@sda21(r13) +/* 8030D264 0030A1C4 3C 60 80 5A */ lis r3, lbl_805A64C0@ha +/* 8030D268 0030A1C8 38 03 64 C0 */ addi r0, r3, lbl_805A64C0@l +/* 8030D26C 0030A1CC 38 85 00 01 */ addi r4, r5, 1 +/* 8030D270 0030A1D0 54 A3 26 B6 */ rlwinm r3, r5, 4, 0x1a, 0x1b +/* 8030D274 0030A1D4 90 8D A8 5C */ stw r4, lbl_805A941C@sda21(r13) +/* 8030D278 0030A1D8 7C 60 1A 14 */ add r3, r0, r3 +lbl_8030D27C: +/* 8030D27C 0030A1DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030D280 0030A1E0 7C 08 03 A6 */ mtlr r0 +/* 8030D284 0030A1E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030D288 0030A1E8 4E 80 00 20 */ blr + +.global Startup__9CGraphicsFRC10COsContextUiPv +Startup__9CGraphicsFRC10COsContextUiPv: +/* 8030D28C 0030A1EC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8030D290 0030A1F0 7C 08 02 A6 */ mflr r0 +/* 8030D294 0030A1F4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8030D298 0030A1F8 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8030D29C 0030A1FC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8030D2A0 0030A200 7C 7E 1B 78 */ mr r30, r3 +/* 8030D2A4 0030A204 7C A3 2B 78 */ mr r3, r5 +/* 8030D2A8 0030A208 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8030D2AC 0030A20C 93 81 00 90 */ stw r28, 0x90(r1) +/* 8030D2B0 0030A210 7C 9C 23 78 */ mr r28, r4 +/* 8030D2B4 0030A214 7F 9D E3 78 */ mr r29, r28 +/* 8030D2B8 0030A218 90 AD A8 34 */ stw r5, lbl_805A93F4@sda21(r13) +/* 8030D2BC 0030A21C 48 06 7E 91 */ bl GXInit +/* 8030D2C0 0030A220 90 6D A8 38 */ stw r3, lbl_805A93F8@sda21(r13) +/* 8030D2C4 0030A224 7F A5 EB 78 */ mr r5, r29 +/* 8030D2C8 0030A228 80 8D A8 34 */ lwz r4, lbl_805A93F4@sda21(r13) +/* 8030D2CC 0030A22C 38 61 00 08 */ addi r3, r1, 8 +/* 8030D2D0 0030A230 48 06 90 E1 */ bl GXInitFifoBase +/* 8030D2D4 0030A234 38 61 00 08 */ addi r3, r1, 8 +/* 8030D2D8 0030A238 48 06 91 C1 */ bl GXSetCPUFifo +/* 8030D2DC 0030A23C 38 61 00 08 */ addi r3, r1, 8 +/* 8030D2E0 0030A240 48 06 92 C9 */ bl GXSetGPFifo +/* 8030D2E4 0030A244 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) +/* 8030D2E8 0030A248 38 9C C0 00 */ addi r4, r28, -16384 +/* 8030D2EC 0030A24C 3C BC FF FF */ addis r5, r28, 0xffff +/* 8030D2F0 0030A250 48 06 91 9D */ bl GXInitFifoLimits +/* 8030D2F4 0030A254 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) +/* 8030D2F8 0030A258 48 06 91 A1 */ bl GXSetCPUFifo +/* 8030D2FC 0030A25C 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) +/* 8030D300 0030A260 48 06 92 A9 */ bl GXSetGPFifo +/* 8030D304 0030A264 38 60 00 01 */ li r3, 1 +/* 8030D308 0030A268 38 80 00 08 */ li r4, 8 +/* 8030D30C 0030A26C 48 06 AF 99 */ bl GXSetMisc +/* 8030D310 0030A270 38 60 00 00 */ li r3, 0 +/* 8030D314 0030A274 48 06 ED 99 */ bl GXSetDither +/* 8030D318 0030A278 4B FF AD ED */ bl ResetGXStates__3CGXFv +/* 8030D31C 0030A27C 4B FF FD 69 */ bl InitGraphicsVariables__9CGraphicsFv +/* 8030D320 0030A280 7F C3 F3 78 */ mr r3, r30 +/* 8030D324 0030A284 4B FF FA 8D */ bl ConfigureFrameBuffer__9CGraphicsFRC10COsContext +/* 8030D328 0030A288 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030D32C 0030A28C 3B 80 00 00 */ li r28, 0 +/* 8030D330 0030A290 3B A3 64 40 */ addi r29, r3, lbl_805A6440@l +/* 8030D334 0030A294 3F E0 00 08 */ lis r31, 8 +/* 8030D338 0030A298 3B C0 00 00 */ li r30, 0 +lbl_8030D33C: +/* 8030D33C 0030A29C 7F A3 EB 78 */ mr r3, r29 +/* 8030D340 0030A2A0 7F C5 F3 78 */ mr r5, r30 +/* 8030D344 0030A2A4 7F E7 FB 78 */ mr r7, r31 +/* 8030D348 0030A2A8 38 80 00 00 */ li r4, 0 +/* 8030D34C 0030A2AC 38 C0 00 00 */ li r6, 0 +/* 8030D350 0030A2B0 39 00 00 00 */ li r8, 0 +/* 8030D354 0030A2B4 48 06 D2 79 */ bl GXInitTexCacheRegion +/* 8030D358 0030A2B8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8030D35C 0030A2BC 3F FF 00 01 */ addis r31, r31, 1 +/* 8030D360 0030A2C0 2C 1C 00 08 */ cmpwi r28, 8 +/* 8030D364 0030A2C4 3F DE 00 01 */ addis r30, r30, 1 +/* 8030D368 0030A2C8 3B DE 80 00 */ addi r30, r30, -32768 +/* 8030D36C 0030A2CC 3B BD 00 10 */ addi r29, r29, 0x10 +/* 8030D370 0030A2D0 3B FF 80 00 */ addi r31, r31, -32768 +/* 8030D374 0030A2D4 41 80 FF C8 */ blt lbl_8030D33C +/* 8030D378 0030A2D8 3C 60 80 5A */ lis r3, lbl_805A64C0@ha +/* 8030D37C 0030A2DC 3B 80 00 00 */ li r28, 0 +/* 8030D380 0030A2E0 3B E3 64 C0 */ addi r31, r3, lbl_805A64C0@l +/* 8030D384 0030A2E4 3B A0 00 09 */ li r29, 9 +/* 8030D388 0030A2E8 3B C0 00 08 */ li r30, 8 +lbl_8030D38C: +/* 8030D38C 0030A2EC 7F E3 FB 78 */ mr r3, r31 +/* 8030D390 0030A2F0 57 C5 78 20 */ slwi r5, r30, 0xf +/* 8030D394 0030A2F4 57 A7 78 20 */ slwi r7, r29, 0xf +/* 8030D398 0030A2F8 38 80 00 00 */ li r4, 0 +/* 8030D39C 0030A2FC 38 C0 00 00 */ li r6, 0 +/* 8030D3A0 0030A300 39 00 00 00 */ li r8, 0 +/* 8030D3A4 0030A304 48 06 D2 29 */ bl GXInitTexCacheRegion +/* 8030D3A8 0030A308 3B 9C 00 01 */ addi r28, r28, 1 +/* 8030D3AC 0030A30C 3B DE 00 02 */ addi r30, r30, 2 +/* 8030D3B0 0030A310 2C 1C 00 04 */ cmpwi r28, 4 +/* 8030D3B4 0030A314 3B FF 00 10 */ addi r31, r31, 0x10 +/* 8030D3B8 0030A318 3B BD 00 02 */ addi r29, r29, 2 +/* 8030D3BC 0030A31C 41 80 FF D0 */ blt lbl_8030D38C +/* 8030D3C0 0030A320 3C 60 80 31 */ lis r3, TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID@ha +/* 8030D3C4 0030A324 38 63 D1 B8 */ addi r3, r3, TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID@l +/* 8030D3C8 0030A328 48 06 D4 C1 */ bl GXSetTexRegionCallback +/* 8030D3CC 0030A32C 3C A0 00 04 */ lis r5, 0x00046000@ha +/* 8030D3D0 0030A330 3C 80 80 48 */ lis r4, lbl_80479CC0@ha +/* 8030D3D4 0030A334 38 A5 60 00 */ addi r5, r5, 0x00046000@l +/* 8030D3D8 0030A338 3C 00 00 01 */ lis r0, 1 +/* 8030D3DC 0030A33C 38 84 9C C0 */ addi r4, r4, lbl_80479CC0@l +/* 8030D3E0 0030A340 90 6D A8 30 */ stw r3, lbl_805A93F0@sda21(r13) +/* 8030D3E4 0030A344 38 60 00 01 */ li r3, 1 +/* 8030D3E8 0030A348 90 AD A8 24 */ stw r5, lbl_805A93E4@sda21(r13) +/* 8030D3EC 0030A34C 90 8D A8 28 */ stw r4, lbl_805A93E8@sda21(r13) +/* 8030D3F0 0030A350 90 0D A8 2C */ stw r0, lbl_805A93EC@sda21(r13) +/* 8030D3F4 0030A354 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8030D3F8 0030A358 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8030D3FC 0030A35C 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8030D400 0030A360 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8030D404 0030A364 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8030D408 0030A368 7C 08 03 A6 */ mtlr r0 +/* 8030D40C 0030A36C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8030D410 0030A370 4E 80 00 20 */ blr + +.global __sinit_DolphinCGraphics_cpp +__sinit_DolphinCGraphics_cpp: +/* 8030D414 0030A374 94 21 FB E0 */ stwu r1, -0x420(r1) +/* 8030D418 0030A378 7C 08 02 A6 */ mflr r0 +/* 8030D41C 0030A37C 90 01 04 24 */ stw r0, 0x424(r1) +/* 8030D420 0030A380 48 07 7F 89 */ bl OSGetTime +/* 8030D424 0030A384 38 00 00 00 */ li r0, 0 +/* 8030D428 0030A388 38 A0 00 01 */ li r5, 1 +/* 8030D42C 0030A38C 90 8D A7 B4 */ stw r4, lbl_805A9374@sda21(r13) +/* 8030D430 0030A390 38 80 00 07 */ li r4, 7 +/* 8030D434 0030A394 90 6D A7 B0 */ stw r3, lbl_805A9370@sda21(r13) +/* 8030D438 0030A398 38 61 01 28 */ addi r3, r1, 0x128 +/* 8030D43C 0030A39C 98 A1 03 F0 */ stb r5, 0x3f0(r1) +/* 8030D440 0030A3A0 90 01 03 F4 */ stw r0, 0x3f4(r1) +/* 8030D444 0030A3A4 90 01 03 F8 */ stw r0, 0x3f8(r1) +/* 8030D448 0030A3A8 90 01 03 FC */ stw r0, 0x3fc(r1) +/* 8030D44C 0030A3AC 90 01 04 00 */ stw r0, 0x400(r1) +/* 8030D450 0030A3B0 98 A1 04 04 */ stb r5, 0x404(r1) +/* 8030D454 0030A3B4 90 01 04 08 */ stw r0, 0x408(r1) +/* 8030D458 0030A3B8 90 01 04 0C */ stw r0, 0x40c(r1) +/* 8030D45C 0030A3BC 90 01 04 10 */ stw r0, 0x410(r1) +/* 8030D460 0030A3C0 90 01 04 14 */ stw r0, 0x414(r1) +/* 8030D464 0030A3C4 4B FF BC C9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D468 0030A3C8 38 61 01 2C */ addi r3, r1, 0x12c +/* 8030D46C 0030A3CC 38 80 00 01 */ li r4, 1 +/* 8030D470 0030A3D0 4B FF BC BD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D474 0030A3D4 38 61 01 30 */ addi r3, r1, 0x130 +/* 8030D478 0030A3D8 38 80 00 05 */ li r4, 5 +/* 8030D47C 0030A3DC 4B FF BC B1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D480 0030A3E0 38 61 01 34 */ addi r3, r1, 0x134 +/* 8030D484 0030A3E4 38 80 00 07 */ li r4, 7 +/* 8030D488 0030A3E8 4B FF BC A5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D48C 0030A3EC 80 E1 01 34 */ lwz r7, 0x134(r1) +/* 8030D490 0030A3F0 38 61 01 38 */ addi r3, r1, 0x138 +/* 8030D494 0030A3F4 80 C1 01 30 */ lwz r6, 0x130(r1) +/* 8030D498 0030A3F8 38 80 00 0F */ li r4, 0xf +/* 8030D49C 0030A3FC 80 A1 01 2C */ lwz r5, 0x12c(r1) +/* 8030D4A0 0030A400 80 01 01 28 */ lwz r0, 0x128(r1) +/* 8030D4A4 0030A404 90 E1 02 68 */ stw r7, 0x268(r1) +/* 8030D4A8 0030A408 90 C1 02 6C */ stw r6, 0x26c(r1) +/* 8030D4AC 0030A40C 90 A1 02 70 */ stw r5, 0x270(r1) +/* 8030D4B0 0030A410 90 01 02 74 */ stw r0, 0x274(r1) +/* 8030D4B4 0030A414 4B FF BC 71 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4B8 0030A418 38 61 01 3C */ addi r3, r1, 0x13c +/* 8030D4BC 0030A41C 38 80 00 02 */ li r4, 2 +/* 8030D4C0 0030A420 4B FF BC 65 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4C4 0030A424 38 61 01 40 */ addi r3, r1, 0x140 +/* 8030D4C8 0030A428 38 80 00 0A */ li r4, 0xa +/* 8030D4CC 0030A42C 4B FF BC 59 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4D0 0030A430 38 61 01 44 */ addi r3, r1, 0x144 +/* 8030D4D4 0030A434 38 80 00 0F */ li r4, 0xf +/* 8030D4D8 0030A438 4B FF BC 4D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4DC 0030A43C 80 A1 01 44 */ lwz r5, 0x144(r1) +/* 8030D4E0 0030A440 3C 60 80 5A */ lis r3, lbl_805A5698@ha +/* 8030D4E4 0030A444 81 21 01 40 */ lwz r9, 0x140(r1) +/* 8030D4E8 0030A448 38 63 56 98 */ addi r3, r3, lbl_805A5698@l +/* 8030D4EC 0030A44C 81 01 01 3C */ lwz r8, 0x13c(r1) +/* 8030D4F0 0030A450 38 81 02 78 */ addi r4, r1, 0x278 +/* 8030D4F4 0030A454 80 01 01 38 */ lwz r0, 0x138(r1) +/* 8030D4F8 0030A458 38 C1 04 04 */ addi r6, r1, 0x404 +/* 8030D4FC 0030A45C 90 A1 02 78 */ stw r5, 0x278(r1) +/* 8030D500 0030A460 38 A1 02 68 */ addi r5, r1, 0x268 +/* 8030D504 0030A464 38 E1 03 F0 */ addi r7, r1, 0x3f0 +/* 8030D508 0030A468 91 21 02 7C */ stw r9, 0x27c(r1) +/* 8030D50C 0030A46C 91 01 02 80 */ stw r8, 0x280(r1) +/* 8030D510 0030A470 90 01 02 84 */ stw r0, 0x284(r1) +/* 8030D514 0030A474 4B FF BD 41 */ bl sub_80309254 +/* 8030D518 0030A478 38 00 00 00 */ li r0, 0 +/* 8030D51C 0030A47C 38 A0 00 01 */ li r5, 1 +/* 8030D520 0030A480 98 A1 03 C8 */ stb r5, 0x3c8(r1) +/* 8030D524 0030A484 38 61 01 08 */ addi r3, r1, 0x108 +/* 8030D528 0030A488 38 80 00 01 */ li r4, 1 +/* 8030D52C 0030A48C 90 01 03 CC */ stw r0, 0x3cc(r1) +/* 8030D530 0030A490 90 01 03 D0 */ stw r0, 0x3d0(r1) +/* 8030D534 0030A494 90 01 03 D4 */ stw r0, 0x3d4(r1) +/* 8030D538 0030A498 90 01 03 D8 */ stw r0, 0x3d8(r1) +/* 8030D53C 0030A49C 98 A1 03 DC */ stb r5, 0x3dc(r1) +/* 8030D540 0030A4A0 90 01 03 E0 */ stw r0, 0x3e0(r1) +/* 8030D544 0030A4A4 90 01 03 E4 */ stw r0, 0x3e4(r1) +/* 8030D548 0030A4A8 90 01 03 E8 */ stw r0, 0x3e8(r1) +/* 8030D54C 0030A4AC 90 01 03 EC */ stw r0, 0x3ec(r1) +/* 8030D550 0030A4B0 4B FF BB DD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D554 0030A4B4 38 61 01 0C */ addi r3, r1, 0x10c +/* 8030D558 0030A4B8 38 80 00 07 */ li r4, 7 +/* 8030D55C 0030A4BC 4B FF BB D1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D560 0030A4C0 38 61 01 10 */ addi r3, r1, 0x110 +/* 8030D564 0030A4C4 38 80 00 07 */ li r4, 7 +/* 8030D568 0030A4C8 4B FF BB C5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D56C 0030A4CC 38 61 01 14 */ addi r3, r1, 0x114 +/* 8030D570 0030A4D0 38 80 00 07 */ li r4, 7 +/* 8030D574 0030A4D4 4B FF BB B9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D578 0030A4D8 80 E1 01 14 */ lwz r7, 0x114(r1) +/* 8030D57C 0030A4DC 38 61 01 18 */ addi r3, r1, 0x118 +/* 8030D580 0030A4E0 80 C1 01 10 */ lwz r6, 0x110(r1) +/* 8030D584 0030A4E4 38 80 00 02 */ li r4, 2 +/* 8030D588 0030A4E8 80 A1 01 0C */ lwz r5, 0x10c(r1) +/* 8030D58C 0030A4EC 80 01 01 08 */ lwz r0, 0x108(r1) +/* 8030D590 0030A4F0 90 E1 02 48 */ stw r7, 0x248(r1) +/* 8030D594 0030A4F4 90 C1 02 4C */ stw r6, 0x24c(r1) +/* 8030D598 0030A4F8 90 A1 02 50 */ stw r5, 0x250(r1) +/* 8030D59C 0030A4FC 90 01 02 54 */ stw r0, 0x254(r1) +/* 8030D5A0 0030A500 4B FF BB 85 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5A4 0030A504 38 61 01 1C */ addi r3, r1, 0x11c +/* 8030D5A8 0030A508 38 80 00 0F */ li r4, 0xf +/* 8030D5AC 0030A50C 4B FF BB 79 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5B0 0030A510 38 61 01 20 */ addi r3, r1, 0x120 +/* 8030D5B4 0030A514 38 80 00 0F */ li r4, 0xf +/* 8030D5B8 0030A518 4B FF BB 6D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5BC 0030A51C 38 61 01 24 */ addi r3, r1, 0x124 +/* 8030D5C0 0030A520 38 80 00 0F */ li r4, 0xf +/* 8030D5C4 0030A524 4B FF BB 61 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5C8 0030A528 80 A1 01 24 */ lwz r5, 0x124(r1) +/* 8030D5CC 0030A52C 3C 60 80 5A */ lis r3, lbl_805A5E70@ha +/* 8030D5D0 0030A530 81 21 01 20 */ lwz r9, 0x120(r1) +/* 8030D5D4 0030A534 38 63 5E 70 */ addi r3, r3, lbl_805A5E70@l +/* 8030D5D8 0030A538 81 01 01 1C */ lwz r8, 0x11c(r1) +/* 8030D5DC 0030A53C 38 81 02 58 */ addi r4, r1, 0x258 +/* 8030D5E0 0030A540 80 01 01 18 */ lwz r0, 0x118(r1) +/* 8030D5E4 0030A544 38 C1 03 DC */ addi r6, r1, 0x3dc +/* 8030D5E8 0030A548 90 A1 02 58 */ stw r5, 0x258(r1) +/* 8030D5EC 0030A54C 38 A1 02 48 */ addi r5, r1, 0x248 +/* 8030D5F0 0030A550 38 E1 03 C8 */ addi r7, r1, 0x3c8 +/* 8030D5F4 0030A554 91 21 02 5C */ stw r9, 0x25c(r1) +/* 8030D5F8 0030A558 91 01 02 60 */ stw r8, 0x260(r1) +/* 8030D5FC 0030A55C 90 01 02 64 */ stw r0, 0x264(r1) +/* 8030D600 0030A560 4B FF BC 55 */ bl sub_80309254 +/* 8030D604 0030A564 38 00 00 00 */ li r0, 0 +/* 8030D608 0030A568 38 A0 00 01 */ li r5, 1 +/* 8030D60C 0030A56C 98 A1 03 A0 */ stb r5, 0x3a0(r1) +/* 8030D610 0030A570 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 8030D614 0030A574 38 80 00 07 */ li r4, 7 +/* 8030D618 0030A578 90 01 03 A4 */ stw r0, 0x3a4(r1) +/* 8030D61C 0030A57C 90 01 03 A8 */ stw r0, 0x3a8(r1) +/* 8030D620 0030A580 90 01 03 AC */ stw r0, 0x3ac(r1) +/* 8030D624 0030A584 90 01 03 B0 */ stw r0, 0x3b0(r1) +/* 8030D628 0030A588 98 A1 03 B4 */ stb r5, 0x3b4(r1) +/* 8030D62C 0030A58C 90 01 03 B8 */ stw r0, 0x3b8(r1) +/* 8030D630 0030A590 90 01 03 BC */ stw r0, 0x3bc(r1) +/* 8030D634 0030A594 90 01 03 C0 */ stw r0, 0x3c0(r1) +/* 8030D638 0030A598 90 01 03 C4 */ stw r0, 0x3c4(r1) +/* 8030D63C 0030A59C 4B FF BA F1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D640 0030A5A0 38 61 00 EC */ addi r3, r1, 0xec +/* 8030D644 0030A5A4 38 80 00 04 */ li r4, 4 +/* 8030D648 0030A5A8 4B FF BA E5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D64C 0030A5AC 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8030D650 0030A5B0 38 80 00 05 */ li r4, 5 +/* 8030D654 0030A5B4 4B FF BA D9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D658 0030A5B8 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8030D65C 0030A5BC 38 80 00 07 */ li r4, 7 +/* 8030D660 0030A5C0 4B FF BA CD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D664 0030A5C4 80 E1 00 F4 */ lwz r7, 0xf4(r1) +/* 8030D668 0030A5C8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8030D66C 0030A5CC 80 C1 00 F0 */ lwz r6, 0xf0(r1) +/* 8030D670 0030A5D0 38 80 00 0F */ li r4, 0xf +/* 8030D674 0030A5D4 80 A1 00 EC */ lwz r5, 0xec(r1) +/* 8030D678 0030A5D8 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8030D67C 0030A5DC 90 E1 02 28 */ stw r7, 0x228(r1) +/* 8030D680 0030A5E0 90 C1 02 2C */ stw r6, 0x22c(r1) +/* 8030D684 0030A5E4 90 A1 02 30 */ stw r5, 0x230(r1) +/* 8030D688 0030A5E8 90 01 02 34 */ stw r0, 0x234(r1) +/* 8030D68C 0030A5EC 4B FF BA 99 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D690 0030A5F0 38 61 00 FC */ addi r3, r1, 0xfc +/* 8030D694 0030A5F4 38 80 00 08 */ li r4, 8 +/* 8030D698 0030A5F8 4B FF BA 8D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D69C 0030A5FC 38 61 01 00 */ addi r3, r1, 0x100 +/* 8030D6A0 0030A600 38 80 00 0A */ li r4, 0xa +/* 8030D6A4 0030A604 4B FF BA 81 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D6A8 0030A608 38 61 01 04 */ addi r3, r1, 0x104 +/* 8030D6AC 0030A60C 38 80 00 0F */ li r4, 0xf +/* 8030D6B0 0030A610 4B FF BA 75 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D6B4 0030A614 80 A1 01 04 */ lwz r5, 0x104(r1) +/* 8030D6B8 0030A618 3C 60 80 5A */ lis r3, lbl_805A5EBC@ha +/* 8030D6BC 0030A61C 81 21 01 00 */ lwz r9, 0x100(r1) +/* 8030D6C0 0030A620 38 63 5E BC */ addi r3, r3, lbl_805A5EBC@l +/* 8030D6C4 0030A624 81 01 00 FC */ lwz r8, 0xfc(r1) +/* 8030D6C8 0030A628 38 81 02 38 */ addi r4, r1, 0x238 +/* 8030D6CC 0030A62C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8030D6D0 0030A630 38 C1 03 B4 */ addi r6, r1, 0x3b4 +/* 8030D6D4 0030A634 90 A1 02 38 */ stw r5, 0x238(r1) +/* 8030D6D8 0030A638 38 A1 02 28 */ addi r5, r1, 0x228 +/* 8030D6DC 0030A63C 38 E1 03 A0 */ addi r7, r1, 0x3a0 +/* 8030D6E0 0030A640 91 21 02 3C */ stw r9, 0x23c(r1) +/* 8030D6E4 0030A644 91 01 02 40 */ stw r8, 0x240(r1) +/* 8030D6E8 0030A648 90 01 02 44 */ stw r0, 0x244(r1) +/* 8030D6EC 0030A64C 4B FF BB 69 */ bl sub_80309254 +/* 8030D6F0 0030A650 38 00 00 00 */ li r0, 0 +/* 8030D6F4 0030A654 38 A0 00 01 */ li r5, 1 +/* 8030D6F8 0030A658 98 A1 03 78 */ stb r5, 0x378(r1) +/* 8030D6FC 0030A65C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8030D700 0030A660 38 80 00 05 */ li r4, 5 +/* 8030D704 0030A664 90 01 03 7C */ stw r0, 0x37c(r1) +/* 8030D708 0030A668 90 01 03 80 */ stw r0, 0x380(r1) +/* 8030D70C 0030A66C 90 01 03 84 */ stw r0, 0x384(r1) +/* 8030D710 0030A670 90 01 03 88 */ stw r0, 0x388(r1) +/* 8030D714 0030A674 98 A1 03 8C */ stb r5, 0x38c(r1) +/* 8030D718 0030A678 90 01 03 90 */ stw r0, 0x390(r1) +/* 8030D71C 0030A67C 90 01 03 94 */ stw r0, 0x394(r1) +/* 8030D720 0030A680 90 01 03 98 */ stw r0, 0x398(r1) +/* 8030D724 0030A684 90 01 03 9C */ stw r0, 0x39c(r1) +/* 8030D728 0030A688 4B FF BA 05 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D72C 0030A68C 38 61 00 CC */ addi r3, r1, 0xcc +/* 8030D730 0030A690 38 80 00 07 */ li r4, 7 +/* 8030D734 0030A694 4B FF B9 F9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D738 0030A698 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8030D73C 0030A69C 38 80 00 07 */ li r4, 7 +/* 8030D740 0030A6A0 4B FF B9 ED */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D744 0030A6A4 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8030D748 0030A6A8 38 80 00 07 */ li r4, 7 +/* 8030D74C 0030A6AC 4B FF B9 E1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D750 0030A6B0 80 E1 00 D4 */ lwz r7, 0xd4(r1) +/* 8030D754 0030A6B4 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8030D758 0030A6B8 80 C1 00 D0 */ lwz r6, 0xd0(r1) +/* 8030D75C 0030A6BC 38 80 00 0F */ li r4, 0xf +/* 8030D760 0030A6C0 80 A1 00 CC */ lwz r5, 0xcc(r1) +/* 8030D764 0030A6C4 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8030D768 0030A6C8 90 E1 02 08 */ stw r7, 0x208(r1) +/* 8030D76C 0030A6CC 90 C1 02 0C */ stw r6, 0x20c(r1) +/* 8030D770 0030A6D0 90 A1 02 10 */ stw r5, 0x210(r1) +/* 8030D774 0030A6D4 90 01 02 14 */ stw r0, 0x214(r1) +/* 8030D778 0030A6D8 4B FF B9 AD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D77C 0030A6DC 38 61 00 DC */ addi r3, r1, 0xdc +/* 8030D780 0030A6E0 38 80 00 09 */ li r4, 9 +/* 8030D784 0030A6E4 4B FF B9 A1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D788 0030A6E8 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8030D78C 0030A6EC 38 80 00 08 */ li r4, 8 +/* 8030D790 0030A6F0 4B FF B9 95 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D794 0030A6F4 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8030D798 0030A6F8 38 80 00 0A */ li r4, 0xa +/* 8030D79C 0030A6FC 4B FF B9 89 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D7A0 0030A700 80 A1 00 E4 */ lwz r5, 0xe4(r1) +/* 8030D7A4 0030A704 3C 60 80 5A */ lis r3, lbl_805A5F08@ha +/* 8030D7A8 0030A708 81 21 00 E0 */ lwz r9, 0xe0(r1) +/* 8030D7AC 0030A70C 38 63 5F 08 */ addi r3, r3, lbl_805A5F08@l +/* 8030D7B0 0030A710 81 01 00 DC */ lwz r8, 0xdc(r1) +/* 8030D7B4 0030A714 38 81 02 18 */ addi r4, r1, 0x218 +/* 8030D7B8 0030A718 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8030D7BC 0030A71C 38 C1 03 8C */ addi r6, r1, 0x38c +/* 8030D7C0 0030A720 90 A1 02 18 */ stw r5, 0x218(r1) +/* 8030D7C4 0030A724 38 A1 02 08 */ addi r5, r1, 0x208 +/* 8030D7C8 0030A728 38 E1 03 78 */ addi r7, r1, 0x378 +/* 8030D7CC 0030A72C 91 21 02 1C */ stw r9, 0x21c(r1) +/* 8030D7D0 0030A730 91 01 02 20 */ stw r8, 0x220(r1) +/* 8030D7D4 0030A734 90 01 02 24 */ stw r0, 0x224(r1) +/* 8030D7D8 0030A738 4B FF BA 7D */ bl sub_80309254 +/* 8030D7DC 0030A73C 38 00 00 00 */ li r0, 0 +/* 8030D7E0 0030A740 38 A0 00 01 */ li r5, 1 +/* 8030D7E4 0030A744 98 A1 03 50 */ stb r5, 0x350(r1) +/* 8030D7E8 0030A748 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8030D7EC 0030A74C 38 80 00 07 */ li r4, 7 +/* 8030D7F0 0030A750 90 01 03 54 */ stw r0, 0x354(r1) +/* 8030D7F4 0030A754 90 01 03 58 */ stw r0, 0x358(r1) +/* 8030D7F8 0030A758 90 01 03 5C */ stw r0, 0x35c(r1) +/* 8030D7FC 0030A75C 90 01 03 60 */ stw r0, 0x360(r1) +/* 8030D800 0030A760 98 A1 03 64 */ stb r5, 0x364(r1) +/* 8030D804 0030A764 90 01 03 68 */ stw r0, 0x368(r1) +/* 8030D808 0030A768 90 01 03 6C */ stw r0, 0x36c(r1) +/* 8030D80C 0030A76C 90 01 03 70 */ stw r0, 0x370(r1) +/* 8030D810 0030A770 90 01 03 74 */ stw r0, 0x374(r1) +/* 8030D814 0030A774 4B FF B9 19 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D818 0030A778 38 61 00 AC */ addi r3, r1, 0xac +/* 8030D81C 0030A77C 38 80 00 05 */ li r4, 5 +/* 8030D820 0030A780 4B FF B9 0D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D824 0030A784 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8030D828 0030A788 38 80 00 04 */ li r4, 4 +/* 8030D82C 0030A78C 4B FF B9 01 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D830 0030A790 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8030D834 0030A794 38 80 00 07 */ li r4, 7 +/* 8030D838 0030A798 4B FF B8 F5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D83C 0030A79C 80 E1 00 B4 */ lwz r7, 0xb4(r1) +/* 8030D840 0030A7A0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8030D844 0030A7A4 80 C1 00 B0 */ lwz r6, 0xb0(r1) +/* 8030D848 0030A7A8 38 80 00 0F */ li r4, 0xf +/* 8030D84C 0030A7AC 80 A1 00 AC */ lwz r5, 0xac(r1) +/* 8030D850 0030A7B0 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 8030D854 0030A7B4 90 E1 01 E8 */ stw r7, 0x1e8(r1) +/* 8030D858 0030A7B8 90 C1 01 EC */ stw r6, 0x1ec(r1) +/* 8030D85C 0030A7BC 90 A1 01 F0 */ stw r5, 0x1f0(r1) +/* 8030D860 0030A7C0 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 8030D864 0030A7C4 4B FF B8 C1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D868 0030A7C8 38 61 00 BC */ addi r3, r1, 0xbc +/* 8030D86C 0030A7CC 38 80 00 08 */ li r4, 8 +/* 8030D870 0030A7D0 4B FF B8 B5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D874 0030A7D4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8030D878 0030A7D8 38 80 00 0C */ li r4, 0xc +/* 8030D87C 0030A7DC 4B FF B8 A9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D880 0030A7E0 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8030D884 0030A7E4 38 80 00 0A */ li r4, 0xa +/* 8030D888 0030A7E8 4B FF B8 9D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D88C 0030A7EC 80 A1 00 C4 */ lwz r5, 0xc4(r1) +/* 8030D890 0030A7F0 3C 60 80 5A */ lis r3, lbl_805A5F54@ha +/* 8030D894 0030A7F4 81 21 00 C0 */ lwz r9, 0xc0(r1) +/* 8030D898 0030A7F8 38 63 5F 54 */ addi r3, r3, lbl_805A5F54@l +/* 8030D89C 0030A7FC 81 01 00 BC */ lwz r8, 0xbc(r1) +/* 8030D8A0 0030A800 38 81 01 F8 */ addi r4, r1, 0x1f8 +/* 8030D8A4 0030A804 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8030D8A8 0030A808 38 C1 03 64 */ addi r6, r1, 0x364 +/* 8030D8AC 0030A80C 90 A1 01 F8 */ stw r5, 0x1f8(r1) +/* 8030D8B0 0030A810 38 A1 01 E8 */ addi r5, r1, 0x1e8 +/* 8030D8B4 0030A814 38 E1 03 50 */ addi r7, r1, 0x350 +/* 8030D8B8 0030A818 91 21 01 FC */ stw r9, 0x1fc(r1) +/* 8030D8BC 0030A81C 91 01 02 00 */ stw r8, 0x200(r1) +/* 8030D8C0 0030A820 90 01 02 04 */ stw r0, 0x204(r1) +/* 8030D8C4 0030A824 4B FF B9 91 */ bl sub_80309254 +/* 8030D8C8 0030A828 38 00 00 00 */ li r0, 0 +/* 8030D8CC 0030A82C 38 A0 00 01 */ li r5, 1 +/* 8030D8D0 0030A830 98 A1 03 28 */ stb r5, 0x328(r1) +/* 8030D8D4 0030A834 38 61 00 88 */ addi r3, r1, 0x88 +/* 8030D8D8 0030A838 38 80 00 04 */ li r4, 4 +/* 8030D8DC 0030A83C 90 01 03 2C */ stw r0, 0x32c(r1) +/* 8030D8E0 0030A840 90 01 03 30 */ stw r0, 0x330(r1) +/* 8030D8E4 0030A844 90 01 03 34 */ stw r0, 0x334(r1) +/* 8030D8E8 0030A848 90 01 03 38 */ stw r0, 0x338(r1) +/* 8030D8EC 0030A84C 98 A1 03 3C */ stb r5, 0x33c(r1) +/* 8030D8F0 0030A850 90 01 03 40 */ stw r0, 0x340(r1) +/* 8030D8F4 0030A854 90 01 03 44 */ stw r0, 0x344(r1) +/* 8030D8F8 0030A858 90 01 03 48 */ stw r0, 0x348(r1) +/* 8030D8FC 0030A85C 90 01 03 4C */ stw r0, 0x34c(r1) +/* 8030D900 0030A860 4B FF B8 2D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D904 0030A864 38 61 00 8C */ addi r3, r1, 0x8c +/* 8030D908 0030A868 38 80 00 07 */ li r4, 7 +/* 8030D90C 0030A86C 4B FF B8 21 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D910 0030A870 38 61 00 90 */ addi r3, r1, 0x90 +/* 8030D914 0030A874 38 80 00 07 */ li r4, 7 +/* 8030D918 0030A878 4B FF B8 15 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D91C 0030A87C 38 61 00 94 */ addi r3, r1, 0x94 +/* 8030D920 0030A880 38 80 00 07 */ li r4, 7 +/* 8030D924 0030A884 4B FF B8 09 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D928 0030A888 80 E1 00 94 */ lwz r7, 0x94(r1) +/* 8030D92C 0030A88C 38 61 00 98 */ addi r3, r1, 0x98 +/* 8030D930 0030A890 80 C1 00 90 */ lwz r6, 0x90(r1) +/* 8030D934 0030A894 38 80 00 08 */ li r4, 8 +/* 8030D938 0030A898 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 8030D93C 0030A89C 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8030D940 0030A8A0 90 E1 01 C8 */ stw r7, 0x1c8(r1) +/* 8030D944 0030A8A4 90 C1 01 CC */ stw r6, 0x1cc(r1) +/* 8030D948 0030A8A8 90 A1 01 D0 */ stw r5, 0x1d0(r1) +/* 8030D94C 0030A8AC 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 8030D950 0030A8B0 4B FF B7 D5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D954 0030A8B4 38 61 00 9C */ addi r3, r1, 0x9c +/* 8030D958 0030A8B8 38 80 00 0F */ li r4, 0xf +/* 8030D95C 0030A8BC 4B FF B7 C9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D960 0030A8C0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8030D964 0030A8C4 38 80 00 0F */ li r4, 0xf +/* 8030D968 0030A8C8 4B FF B7 BD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D96C 0030A8CC 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8030D970 0030A8D0 38 80 00 0F */ li r4, 0xf +/* 8030D974 0030A8D4 4B FF B7 B1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D978 0030A8D8 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 8030D97C 0030A8DC 3C 60 80 5A */ lis r3, lbl_805A5FA0@ha +/* 8030D980 0030A8E0 81 21 00 A0 */ lwz r9, 0xa0(r1) +/* 8030D984 0030A8E4 38 63 5F A0 */ addi r3, r3, lbl_805A5FA0@l +/* 8030D988 0030A8E8 81 01 00 9C */ lwz r8, 0x9c(r1) +/* 8030D98C 0030A8EC 38 81 01 D8 */ addi r4, r1, 0x1d8 +/* 8030D990 0030A8F0 80 01 00 98 */ lwz r0, 0x98(r1) +/* 8030D994 0030A8F4 38 C1 03 3C */ addi r6, r1, 0x33c +/* 8030D998 0030A8F8 90 A1 01 D8 */ stw r5, 0x1d8(r1) +/* 8030D99C 0030A8FC 38 A1 01 C8 */ addi r5, r1, 0x1c8 +/* 8030D9A0 0030A900 38 E1 03 28 */ addi r7, r1, 0x328 +/* 8030D9A4 0030A904 91 21 01 DC */ stw r9, 0x1dc(r1) +/* 8030D9A8 0030A908 91 01 01 E0 */ stw r8, 0x1e0(r1) +/* 8030D9AC 0030A90C 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 8030D9B0 0030A910 4B FF B8 A5 */ bl sub_80309254 +/* 8030D9B4 0030A914 38 00 00 00 */ li r0, 0 +/* 8030D9B8 0030A918 38 A0 00 01 */ li r5, 1 +/* 8030D9BC 0030A91C 98 A1 03 00 */ stb r5, 0x300(r1) +/* 8030D9C0 0030A920 38 61 00 68 */ addi r3, r1, 0x68 +/* 8030D9C4 0030A924 38 80 00 05 */ li r4, 5 +/* 8030D9C8 0030A928 90 01 03 04 */ stw r0, 0x304(r1) +/* 8030D9CC 0030A92C 90 01 03 08 */ stw r0, 0x308(r1) +/* 8030D9D0 0030A930 90 01 03 0C */ stw r0, 0x30c(r1) +/* 8030D9D4 0030A934 90 01 03 10 */ stw r0, 0x310(r1) +/* 8030D9D8 0030A938 98 A1 03 14 */ stb r5, 0x314(r1) +/* 8030D9DC 0030A93C 90 01 03 18 */ stw r0, 0x318(r1) +/* 8030D9E0 0030A940 90 01 03 1C */ stw r0, 0x31c(r1) +/* 8030D9E4 0030A944 90 01 03 20 */ stw r0, 0x320(r1) +/* 8030D9E8 0030A948 90 01 03 24 */ stw r0, 0x324(r1) +/* 8030D9EC 0030A94C 4B FF B7 41 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D9F0 0030A950 38 61 00 6C */ addi r3, r1, 0x6c +/* 8030D9F4 0030A954 38 80 00 07 */ li r4, 7 +/* 8030D9F8 0030A958 4B FF B7 35 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D9FC 0030A95C 38 61 00 70 */ addi r3, r1, 0x70 +/* 8030DA00 0030A960 38 80 00 07 */ li r4, 7 +/* 8030DA04 0030A964 4B FF B7 29 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DA08 0030A968 38 61 00 74 */ addi r3, r1, 0x74 +/* 8030DA0C 0030A96C 38 80 00 07 */ li r4, 7 +/* 8030DA10 0030A970 4B FF B7 1D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DA14 0030A974 80 E1 00 74 */ lwz r7, 0x74(r1) +/* 8030DA18 0030A978 38 61 00 78 */ addi r3, r1, 0x78 +/* 8030DA1C 0030A97C 80 C1 00 70 */ lwz r6, 0x70(r1) +/* 8030DA20 0030A980 38 80 00 0F */ li r4, 0xf +/* 8030DA24 0030A984 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 8030DA28 0030A988 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8030DA2C 0030A98C 90 E1 01 A8 */ stw r7, 0x1a8(r1) +/* 8030DA30 0030A990 90 C1 01 AC */ stw r6, 0x1ac(r1) +/* 8030DA34 0030A994 90 A1 01 B0 */ stw r5, 0x1b0(r1) +/* 8030DA38 0030A998 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 8030DA3C 0030A99C 4B FF B6 E9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA40 0030A9A0 38 61 00 7C */ addi r3, r1, 0x7c +/* 8030DA44 0030A9A4 38 80 00 0A */ li r4, 0xa +/* 8030DA48 0030A9A8 4B FF B6 DD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA4C 0030A9AC 38 61 00 80 */ addi r3, r1, 0x80 +/* 8030DA50 0030A9B0 38 80 00 08 */ li r4, 8 +/* 8030DA54 0030A9B4 4B FF B6 D1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA58 0030A9B8 38 61 00 84 */ addi r3, r1, 0x84 +/* 8030DA5C 0030A9BC 38 80 00 02 */ li r4, 2 +/* 8030DA60 0030A9C0 4B FF B6 C5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA64 0030A9C4 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 8030DA68 0030A9C8 3C 60 80 4C */ lis r3, lbl_804BFCC0@ha +/* 8030DA6C 0030A9CC 81 21 00 80 */ lwz r9, 0x80(r1) +/* 8030DA70 0030A9D0 38 63 FC C0 */ addi r3, r3, lbl_804BFCC0@l +/* 8030DA74 0030A9D4 81 01 00 7C */ lwz r8, 0x7c(r1) +/* 8030DA78 0030A9D8 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 8030DA7C 0030A9DC 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8030DA80 0030A9E0 38 C1 03 14 */ addi r6, r1, 0x314 +/* 8030DA84 0030A9E4 90 A1 01 B8 */ stw r5, 0x1b8(r1) +/* 8030DA88 0030A9E8 38 A1 01 A8 */ addi r5, r1, 0x1a8 +/* 8030DA8C 0030A9EC 38 E1 03 00 */ addi r7, r1, 0x300 +/* 8030DA90 0030A9F0 91 21 01 BC */ stw r9, 0x1bc(r1) +/* 8030DA94 0030A9F4 91 01 01 C0 */ stw r8, 0x1c0(r1) +/* 8030DA98 0030A9F8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 8030DA9C 0030A9FC 4B FF B7 B9 */ bl sub_80309254 +/* 8030DAA0 0030AA00 38 00 00 00 */ li r0, 0 +/* 8030DAA4 0030AA04 38 A0 00 01 */ li r5, 1 +/* 8030DAA8 0030AA08 98 A1 02 D8 */ stb r5, 0x2d8(r1) +/* 8030DAAC 0030AA0C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8030DAB0 0030AA10 38 80 00 07 */ li r4, 7 +/* 8030DAB4 0030AA14 90 01 02 DC */ stw r0, 0x2dc(r1) +/* 8030DAB8 0030AA18 90 01 02 E0 */ stw r0, 0x2e0(r1) +/* 8030DABC 0030AA1C 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 8030DAC0 0030AA20 90 01 02 E8 */ stw r0, 0x2e8(r1) +/* 8030DAC4 0030AA24 98 A1 02 EC */ stb r5, 0x2ec(r1) +/* 8030DAC8 0030AA28 90 01 02 F0 */ stw r0, 0x2f0(r1) +/* 8030DACC 0030AA2C 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 8030DAD0 0030AA30 90 01 02 F8 */ stw r0, 0x2f8(r1) +/* 8030DAD4 0030AA34 90 01 02 FC */ stw r0, 0x2fc(r1) +/* 8030DAD8 0030AA38 4B FF B6 55 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DADC 0030AA3C 38 61 00 4C */ addi r3, r1, 0x4c +/* 8030DAE0 0030AA40 38 80 00 05 */ li r4, 5 +/* 8030DAE4 0030AA44 4B FF B6 49 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DAE8 0030AA48 38 61 00 50 */ addi r3, r1, 0x50 +/* 8030DAEC 0030AA4C 38 80 00 04 */ li r4, 4 +/* 8030DAF0 0030AA50 4B FF B6 3D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DAF4 0030AA54 38 61 00 54 */ addi r3, r1, 0x54 +/* 8030DAF8 0030AA58 38 80 00 07 */ li r4, 7 +/* 8030DAFC 0030AA5C 4B FF B6 31 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DB00 0030AA60 80 E1 00 54 */ lwz r7, 0x54(r1) +/* 8030DB04 0030AA64 38 61 00 58 */ addi r3, r1, 0x58 +/* 8030DB08 0030AA68 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 8030DB0C 0030AA6C 38 80 00 0A */ li r4, 0xa +/* 8030DB10 0030AA70 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 8030DB14 0030AA74 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8030DB18 0030AA78 90 E1 01 88 */ stw r7, 0x188(r1) +/* 8030DB1C 0030AA7C 90 C1 01 8C */ stw r6, 0x18c(r1) +/* 8030DB20 0030AA80 90 A1 01 90 */ stw r5, 0x190(r1) +/* 8030DB24 0030AA84 90 01 01 94 */ stw r0, 0x194(r1) +/* 8030DB28 0030AA88 4B FF B5 FD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB2C 0030AA8C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8030DB30 0030AA90 38 80 00 0F */ li r4, 0xf +/* 8030DB34 0030AA94 4B FF B5 F1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB38 0030AA98 38 61 00 60 */ addi r3, r1, 0x60 +/* 8030DB3C 0030AA9C 38 80 00 0F */ li r4, 0xf +/* 8030DB40 0030AAA0 4B FF B5 E5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB44 0030AAA4 38 61 00 64 */ addi r3, r1, 0x64 +/* 8030DB48 0030AAA8 38 80 00 0F */ li r4, 0xf +/* 8030DB4C 0030AAAC 4B FF B5 D9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB50 0030AAB0 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 8030DB54 0030AAB4 3C 60 80 5A */ lis r3, lbl_805A5FEC@ha +/* 8030DB58 0030AAB8 81 21 00 60 */ lwz r9, 0x60(r1) +/* 8030DB5C 0030AABC 38 63 5F EC */ addi r3, r3, lbl_805A5FEC@l +/* 8030DB60 0030AAC0 81 01 00 5C */ lwz r8, 0x5c(r1) +/* 8030DB64 0030AAC4 38 81 01 98 */ addi r4, r1, 0x198 +/* 8030DB68 0030AAC8 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8030DB6C 0030AACC 38 C1 02 EC */ addi r6, r1, 0x2ec +/* 8030DB70 0030AAD0 90 A1 01 98 */ stw r5, 0x198(r1) +/* 8030DB74 0030AAD4 38 A1 01 88 */ addi r5, r1, 0x188 +/* 8030DB78 0030AAD8 38 E1 02 D8 */ addi r7, r1, 0x2d8 +/* 8030DB7C 0030AADC 91 21 01 9C */ stw r9, 0x19c(r1) +/* 8030DB80 0030AAE0 91 01 01 A0 */ stw r8, 0x1a0(r1) +/* 8030DB84 0030AAE4 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 8030DB88 0030AAE8 4B FF B6 CD */ bl sub_80309254 +/* 8030DB8C 0030AAEC 38 00 00 00 */ li r0, 0 +/* 8030DB90 0030AAF0 38 A0 00 01 */ li r5, 1 +/* 8030DB94 0030AAF4 98 A1 02 B0 */ stb r5, 0x2b0(r1) +/* 8030DB98 0030AAF8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030DB9C 0030AAFC 38 80 00 07 */ li r4, 7 +/* 8030DBA0 0030AB00 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8030DBA4 0030AB04 90 01 02 B8 */ stw r0, 0x2b8(r1) +/* 8030DBA8 0030AB08 90 01 02 BC */ stw r0, 0x2bc(r1) +/* 8030DBAC 0030AB0C 90 01 02 C0 */ stw r0, 0x2c0(r1) +/* 8030DBB0 0030AB10 98 A1 02 C4 */ stb r5, 0x2c4(r1) +/* 8030DBB4 0030AB14 90 01 02 C8 */ stw r0, 0x2c8(r1) +/* 8030DBB8 0030AB18 90 01 02 CC */ stw r0, 0x2cc(r1) +/* 8030DBBC 0030AB1C 90 01 02 D0 */ stw r0, 0x2d0(r1) +/* 8030DBC0 0030AB20 90 01 02 D4 */ stw r0, 0x2d4(r1) +/* 8030DBC4 0030AB24 4B FF B5 69 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBC8 0030AB28 38 61 00 2C */ addi r3, r1, 0x2c +/* 8030DBCC 0030AB2C 38 80 00 05 */ li r4, 5 +/* 8030DBD0 0030AB30 4B FF B5 5D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBD4 0030AB34 38 61 00 30 */ addi r3, r1, 0x30 +/* 8030DBD8 0030AB38 38 80 00 06 */ li r4, 6 +/* 8030DBDC 0030AB3C 4B FF B5 51 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBE0 0030AB40 38 61 00 34 */ addi r3, r1, 0x34 +/* 8030DBE4 0030AB44 38 80 00 07 */ li r4, 7 +/* 8030DBE8 0030AB48 4B FF B5 45 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBEC 0030AB4C 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8030DBF0 0030AB50 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030DBF4 0030AB54 80 C1 00 30 */ lwz r6, 0x30(r1) +/* 8030DBF8 0030AB58 38 80 00 0F */ li r4, 0xf +/* 8030DBFC 0030AB5C 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8030DC00 0030AB60 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8030DC04 0030AB64 90 E1 01 68 */ stw r7, 0x168(r1) +/* 8030DC08 0030AB68 90 C1 01 6C */ stw r6, 0x16c(r1) +/* 8030DC0C 0030AB6C 90 A1 01 70 */ stw r5, 0x170(r1) +/* 8030DC10 0030AB70 90 01 01 74 */ stw r0, 0x174(r1) +/* 8030DC14 0030AB74 4B FF B5 11 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC18 0030AB78 38 61 00 3C */ addi r3, r1, 0x3c +/* 8030DC1C 0030AB7C 38 80 00 0A */ li r4, 0xa +/* 8030DC20 0030AB80 4B FF B5 05 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC24 0030AB84 38 61 00 40 */ addi r3, r1, 0x40 +/* 8030DC28 0030AB88 38 80 00 08 */ li r4, 8 +/* 8030DC2C 0030AB8C 4B FF B4 F9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC30 0030AB90 38 61 00 44 */ addi r3, r1, 0x44 +/* 8030DC34 0030AB94 38 80 00 0F */ li r4, 0xf +/* 8030DC38 0030AB98 4B FF B4 ED */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC3C 0030AB9C 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 8030DC40 0030ABA0 3C 60 80 5A */ lis r3, lbl_805A6038@ha +/* 8030DC44 0030ABA4 81 21 00 40 */ lwz r9, 0x40(r1) +/* 8030DC48 0030ABA8 38 63 60 38 */ addi r3, r3, lbl_805A6038@l +/* 8030DC4C 0030ABAC 81 01 00 3C */ lwz r8, 0x3c(r1) +/* 8030DC50 0030ABB0 38 81 01 78 */ addi r4, r1, 0x178 +/* 8030DC54 0030ABB4 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8030DC58 0030ABB8 38 C1 02 C4 */ addi r6, r1, 0x2c4 +/* 8030DC5C 0030ABBC 90 A1 01 78 */ stw r5, 0x178(r1) +/* 8030DC60 0030ABC0 38 A1 01 68 */ addi r5, r1, 0x168 +/* 8030DC64 0030ABC4 38 E1 02 B0 */ addi r7, r1, 0x2b0 +/* 8030DC68 0030ABC8 91 21 01 7C */ stw r9, 0x17c(r1) +/* 8030DC6C 0030ABCC 91 01 01 80 */ stw r8, 0x180(r1) +/* 8030DC70 0030ABD0 90 01 01 84 */ stw r0, 0x184(r1) +/* 8030DC74 0030ABD4 4B FF B5 E1 */ bl sub_80309254 +/* 8030DC78 0030ABD8 38 00 00 00 */ li r0, 0 +/* 8030DC7C 0030ABDC 38 A0 00 01 */ li r5, 1 +/* 8030DC80 0030ABE0 98 A1 02 88 */ stb r5, 0x288(r1) +/* 8030DC84 0030ABE4 38 61 00 08 */ addi r3, r1, 8 +/* 8030DC88 0030ABE8 38 80 00 00 */ li r4, 0 +/* 8030DC8C 0030ABEC 90 01 02 8C */ stw r0, 0x28c(r1) +/* 8030DC90 0030ABF0 90 01 02 90 */ stw r0, 0x290(r1) +/* 8030DC94 0030ABF4 90 01 02 94 */ stw r0, 0x294(r1) +/* 8030DC98 0030ABF8 90 01 02 98 */ stw r0, 0x298(r1) +/* 8030DC9C 0030ABFC 98 A1 02 9C */ stb r5, 0x29c(r1) +/* 8030DCA0 0030AC00 90 01 02 A0 */ stw r0, 0x2a0(r1) +/* 8030DCA4 0030AC04 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 8030DCA8 0030AC08 90 01 02 A8 */ stw r0, 0x2a8(r1) +/* 8030DCAC 0030AC0C 90 01 02 AC */ stw r0, 0x2ac(r1) +/* 8030DCB0 0030AC10 4B FF B4 7D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCB4 0030AC14 38 61 00 0C */ addi r3, r1, 0xc +/* 8030DCB8 0030AC18 38 80 00 07 */ li r4, 7 +/* 8030DCBC 0030AC1C 4B FF B4 71 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCC0 0030AC20 38 61 00 10 */ addi r3, r1, 0x10 +/* 8030DCC4 0030AC24 38 80 00 07 */ li r4, 7 +/* 8030DCC8 0030AC28 4B FF B4 65 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCCC 0030AC2C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8030DCD0 0030AC30 38 80 00 07 */ li r4, 7 +/* 8030DCD4 0030AC34 4B FF B4 59 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCD8 0030AC38 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 8030DCDC 0030AC3C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8030DCE0 0030AC40 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 8030DCE4 0030AC44 38 80 00 0F */ li r4, 0xf +/* 8030DCE8 0030AC48 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8030DCEC 0030AC4C 80 01 00 08 */ lwz r0, 8(r1) +/* 8030DCF0 0030AC50 90 E1 01 48 */ stw r7, 0x148(r1) +/* 8030DCF4 0030AC54 90 C1 01 4C */ stw r6, 0x14c(r1) +/* 8030DCF8 0030AC58 90 A1 01 50 */ stw r5, 0x150(r1) +/* 8030DCFC 0030AC5C 90 01 01 54 */ stw r0, 0x154(r1) +/* 8030DD00 0030AC60 4B FF B4 25 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD04 0030AC64 38 61 00 1C */ addi r3, r1, 0x1c +/* 8030DD08 0030AC68 38 80 00 01 */ li r4, 1 +/* 8030DD0C 0030AC6C 4B FF B4 19 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD10 0030AC70 38 61 00 20 */ addi r3, r1, 0x20 +/* 8030DD14 0030AC74 38 80 00 00 */ li r4, 0 +/* 8030DD18 0030AC78 4B FF B4 0D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD1C 0030AC7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8030DD20 0030AC80 38 80 00 0F */ li r4, 0xf +/* 8030DD24 0030AC84 4B FF B4 01 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD28 0030AC88 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8030DD2C 0030AC8C 3C 60 80 5A */ lis r3, lbl_805A6084@ha +/* 8030DD30 0030AC90 81 21 00 20 */ lwz r9, 0x20(r1) +/* 8030DD34 0030AC94 38 63 60 84 */ addi r3, r3, lbl_805A6084@l +/* 8030DD38 0030AC98 81 01 00 1C */ lwz r8, 0x1c(r1) +/* 8030DD3C 0030AC9C 38 81 01 58 */ addi r4, r1, 0x158 +/* 8030DD40 0030ACA0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8030DD44 0030ACA4 38 C1 02 9C */ addi r6, r1, 0x29c +/* 8030DD48 0030ACA8 90 A1 01 58 */ stw r5, 0x158(r1) +/* 8030DD4C 0030ACAC 38 A1 01 48 */ addi r5, r1, 0x148 +/* 8030DD50 0030ACB0 38 E1 02 88 */ addi r7, r1, 0x288 +/* 8030DD54 0030ACB4 91 21 01 5C */ stw r9, 0x15c(r1) +/* 8030DD58 0030ACB8 91 01 01 60 */ stw r8, 0x160(r1) +/* 8030DD5C 0030ACBC 90 01 01 64 */ stw r0, 0x164(r1) +/* 8030DD60 0030ACC0 4B FF B4 F5 */ bl sub_80309254 +/* 8030DD64 0030ACC4 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 +/* 8030DD68 0030ACC8 4B FF B6 81 */ bl __ct__Q29CGraphics12CRenderStateFv +/* 8030DD6C 0030ACCC 3C 60 80 5A */ lis r3, lbl_805A60D0@ha +/* 8030DD70 0030ACD0 3C 80 80 31 */ lis r4, __ct__14CGXLightParamsFv@ha +/* 8030DD74 0030ACD4 38 63 60 D0 */ addi r3, r3, lbl_805A60D0@l +/* 8030DD78 0030ACD8 38 A0 00 00 */ li r5, 0 +/* 8030DD7C 0030ACDC 38 84 DE 38 */ addi r4, r4, __ct__14CGXLightParamsFv@l +/* 8030DD80 0030ACE0 38 C0 00 14 */ li r6, 0x14 +/* 8030DD84 0030ACE4 38 E0 00 08 */ li r7, 8 +/* 8030DD88 0030ACE8 48 07 B9 C5 */ bl __construct_array +/* 8030DD8C 0030ACEC C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) +/* 8030DD90 0030ACF0 3C E0 80 5A */ lis r7, lbl_805A61A0@ha +/* 8030DD94 0030ACF4 38 00 00 01 */ li r0, 1 +/* 8030DD98 0030ACF8 3C C0 80 5A */ lis r6, lbl_805A61AC@ha +/* 8030DD9C 0030ACFC D4 67 61 A0 */ stfsu f3, lbl_805A61A0@l(r7) +/* 8030DDA0 0030AD00 3C A0 80 5A */ lis r5, lbl_805A61B8@ha +/* 8030DDA4 0030AD04 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) +/* 8030DDA8 0030AD08 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030DDAC 0030AD0C 9C 05 61 B8 */ stbu r0, lbl_805A61B8@l(r5) +/* 8030DDB0 0030AD10 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030DDB4 0030AD14 C0 22 C8 14 */ lfs f1, lbl_805AE534@sda21(r2) +/* 8030DDB8 0030AD18 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 8030DDBC 0030AD1C D4 66 61 AC */ stfsu f3, lbl_805A61AC@l(r6) +/* 8030DDC0 0030AD20 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030DDC4 0030AD24 C0 02 C8 34 */ lfs f0, lbl_805AE554@sda21(r2) +/* 8030DDC8 0030AD28 D0 67 00 04 */ stfs f3, 4(r7) +/* 8030DDCC 0030AD2C D0 67 00 08 */ stfs f3, 8(r7) +/* 8030DDD0 0030AD30 D0 46 00 04 */ stfs f2, 4(r6) +/* 8030DDD4 0030AD34 D0 66 00 08 */ stfs f3, 8(r6) +/* 8030DDD8 0030AD38 D0 25 00 04 */ stfs f1, 4(r5) +/* 8030DDDC 0030AD3C D0 45 00 08 */ stfs f2, 8(r5) +/* 8030DDE0 0030AD40 D0 45 00 0C */ stfs f2, 0xc(r5) +/* 8030DDE4 0030AD44 D0 25 00 10 */ stfs f1, 0x10(r5) +/* 8030DDE8 0030AD48 D0 45 00 14 */ stfs f2, 0x14(r5) +/* 8030DDEC 0030AD4C D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8030DDF0 0030AD50 48 00 4D 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8030DDF4 0030AD54 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030DDF8 0030AD58 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030DDFC 0030AD5C 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030DE00 0030AD60 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030DE04 0030AD64 48 00 4D 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8030DE08 0030AD68 48 03 C1 AD */ bl Black__6CColorFv +/* 8030DE0C 0030AD6C 80 03 00 00 */ lwz r0, 0(r3) +/* 8030DE10 0030AD70 3C 60 80 5A */ lis r3, lbl_805A6234@ha +/* 8030DE14 0030AD74 C0 02 C7 F0 */ lfs f0, lbl_805AE510@sda21(r2) +/* 8030DE18 0030AD78 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) +/* 8030DE1C 0030AD7C D4 03 62 34 */ stfsu f0, lbl_805A6234@l(r3) +/* 8030DE20 0030AD80 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030DE24 0030AD84 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030DE28 0030AD88 80 01 04 24 */ lwz r0, 0x424(r1) +/* 8030DE2C 0030AD8C 7C 08 03 A6 */ mtlr r0 +/* 8030DE30 0030AD90 38 21 04 20 */ addi r1, r1, 0x420 +/* 8030DE34 0030AD94 4E 80 00 20 */ blr + +.global __ct__14CGXLightParamsFv +__ct__14CGXLightParamsFv: +/* 8030DE38 0030AD98 38 00 00 04 */ li r0, 4 +/* 8030DE3C 0030AD9C 38 80 00 00 */ li r4, 0 +/* 8030DE40 0030ADA0 90 03 00 00 */ stw r0, 0(r3) +/* 8030DE44 0030ADA4 38 00 00 02 */ li r0, 2 +/* 8030DE48 0030ADA8 90 83 00 04 */ stw r4, 4(r3) +/* 8030DE4C 0030ADAC 90 83 00 08 */ stw r4, 8(r3) +/* 8030DE50 0030ADB0 90 03 00 0C */ stw r0, 0xc(r3) +/* 8030DE54 0030ADB4 90 03 00 10 */ stw r0, 0x10(r3) +/* 8030DE58 0030ADB8 4E 80 00 20 */ blr + +.global UnLock__16CGraphicsPaletteFv +UnLock__16CGraphicsPaletteFv: +/* 8030DE5C 0030ADBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030DE60 0030ADC0 7C 08 02 A6 */ mflr r0 +/* 8030DE64 0030ADC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030DE68 0030ADC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030DE6C 0030ADCC 7C 7F 1B 78 */ mr r31, r3 +/* 8030DE70 0030ADD0 80 03 00 08 */ lwz r0, 8(r3) +/* 8030DE74 0030ADD4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8030DE78 0030ADD8 54 04 08 3C */ slwi r4, r0, 1 +/* 8030DE7C 0030ADDC 48 07 0C 65 */ bl DCStoreRange +/* 8030DE80 0030ADE0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8030DE84 0030ADE4 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8030DE88 0030ADE8 80 BF 00 00 */ lwz r5, 0(r31) +/* 8030DE8C 0030ADEC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8030DE90 0030ADF0 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030DE94 0030ADF4 48 06 C6 55 */ bl GXInitTlutObj +/* 8030DE98 0030ADF8 80 1F 00 08 */ lwz r0, 8(r31) +/* 8030DE9C 0030ADFC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030DEA0 0030AE00 54 04 08 3C */ slwi r4, r0, 1 +/* 8030DEA4 0030AE04 48 07 0C 0D */ bl DCFlushRange +/* 8030DEA8 0030AE08 38 00 00 00 */ li r0, 0 +/* 8030DEAC 0030AE0C 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 8030DEB0 0030AE10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030DEB4 0030AE14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030DEB8 0030AE18 7C 08 03 A6 */ mtlr r0 +/* 8030DEBC 0030AE1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030DEC0 0030AE20 4E 80 00 20 */ blr + +.global Load__16CGraphicsPaletteCFv +Load__16CGraphicsPaletteCFv: +/* 8030DEC4 0030AE24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030DEC8 0030AE28 7C 08 02 A6 */ mflr r0 +/* 8030DECC 0030AE2C 38 80 00 00 */ li r4, 0 +/* 8030DED0 0030AE30 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030DED4 0030AE34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030DED8 0030AE38 7C 7F 1B 78 */ mr r31, r3 +/* 8030DEDC 0030AE3C 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8030DEE0 0030AE40 48 06 C6 51 */ bl GXLoadTlut +/* 8030DEE4 0030AE44 80 0D A8 68 */ lwz r0, lbl_805A9428@sda21(r13) +/* 8030DEE8 0030AE48 90 1F 00 04 */ stw r0, 4(r31) +/* 8030DEEC 0030AE4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030DEF0 0030AE50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030DEF4 0030AE54 7C 08 03 A6 */ mtlr r0 +/* 8030DEF8 0030AE58 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030DEFC 0030AE5C 4E 80 00 20 */ blr + +.global __dt__16CGraphicsPaletteFv +__dt__16CGraphicsPaletteFv: +/* 8030DF00 0030AE60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030DF04 0030AE64 7C 08 02 A6 */ mflr r0 +/* 8030DF08 0030AE68 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030DF0C 0030AE6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030DF10 0030AE70 7C 9F 23 78 */ mr r31, r4 +/* 8030DF14 0030AE74 93 C1 00 08 */ stw r30, 8(r1) +/* 8030DF18 0030AE78 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8030DF1C 0030AE7C 41 82 00 50 */ beq lbl_8030DF6C +/* 8030DF20 0030AE80 80 7E 00 04 */ lwz r3, 4(r30) +/* 8030DF24 0030AE84 80 0D A8 68 */ lwz r0, lbl_805A9428@sda21(r13) +/* 8030DF28 0030AE88 7C 03 00 50 */ subf r0, r3, r0 +/* 8030DF2C 0030AE8C 28 00 00 02 */ cmplwi r0, 2 +/* 8030DF30 0030AE90 40 80 00 1C */ bge lbl_8030DF4C +/* 8030DF34 0030AE94 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8030DF38 0030AE98 38 60 00 00 */ li r3, 0 +/* 8030DF3C 0030AE9C 7C 00 00 34 */ cntlzw r0, r0 +/* 8030DF40 0030AEA0 90 7E 00 0C */ stw r3, 0xc(r30) +/* 8030DF44 0030AEA4 54 03 D9 7E */ srwi r3, r0, 5 +/* 8030DF48 0030AEA8 48 05 EC D5 */ bl sub_8036cc1c +lbl_8030DF4C: +/* 8030DF4C 0030AEAC 34 1E 00 0C */ addic. r0, r30, 0xc +/* 8030DF50 0030AEB0 41 82 00 0C */ beq lbl_8030DF5C +/* 8030DF54 0030AEB4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8030DF58 0030AEB8 48 00 79 D9 */ bl Free__7CMemoryFPCv +lbl_8030DF5C: +/* 8030DF5C 0030AEBC 7F E0 07 35 */ extsh. r0, r31 +/* 8030DF60 0030AEC0 40 81 00 0C */ ble lbl_8030DF6C +/* 8030DF64 0030AEC4 7F C3 F3 78 */ mr r3, r30 +/* 8030DF68 0030AEC8 48 00 79 C9 */ bl Free__7CMemoryFPCv +lbl_8030DF6C: +/* 8030DF6C 0030AECC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030DF70 0030AED0 7F C3 F3 78 */ mr r3, r30 +/* 8030DF74 0030AED4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030DF78 0030AED8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030DF7C 0030AEDC 7C 08 03 A6 */ mtlr r0 +/* 8030DF80 0030AEE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030DF84 0030AEE4 4E 80 00 20 */ blr + +.global __ct__16CGraphicsPaletteFR12CInputStream +__ct__16CGraphicsPaletteFR12CInputStream: +/* 8030DF88 0030AEE8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030DF8C 0030AEEC 7C 08 02 A6 */ mflr r0 +/* 8030DF90 0030AEF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030DF94 0030AEF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030DF98 0030AEF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030DF9C 0030AEFC 7C 9E 23 78 */ mr r30, r4 +/* 8030DFA0 0030AF00 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030DFA4 0030AF04 7C 7D 1B 78 */ mr r29, r3 +/* 8030DFA8 0030AF08 7F C3 F3 78 */ mr r3, r30 +/* 8030DFAC 0030AF0C 48 03 0C D9 */ bl ReadLong__12CInputStreamFv +/* 8030DFB0 0030AF10 90 7D 00 00 */ stw r3, 0(r29) +/* 8030DFB4 0030AF14 7F C3 F3 78 */ mr r3, r30 +/* 8030DFB8 0030AF18 48 03 0C F9 */ bl ReadShort__12CInputStreamFv +/* 8030DFBC 0030AF1C 7C 7F 07 34 */ extsh r31, r3 +/* 8030DFC0 0030AF20 7F C3 F3 78 */ mr r3, r30 +/* 8030DFC4 0030AF24 48 03 0C ED */ bl ReadShort__12CInputStreamFv +/* 8030DFC8 0030AF28 7C 60 07 34 */ extsh r0, r3 +/* 8030DFCC 0030AF2C 3C 80 80 3D */ lis r4, lbl_803D73E8@ha +/* 8030DFD0 0030AF30 7C 00 F9 D6 */ mullw r0, r0, r31 +/* 8030DFD4 0030AF34 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8030DFD8 0030AF38 38 A4 73 E8 */ addi r5, r4, lbl_803D73E8@l +/* 8030DFDC 0030AF3C 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8030DFE0 0030AF40 38 61 00 08 */ addi r3, r1, 8 +/* 8030DFE4 0030AF44 38 80 FF FF */ li r4, -1 +/* 8030DFE8 0030AF48 90 1D 00 08 */ stw r0, 8(r29) +/* 8030DFEC 0030AF4C 4B FC 83 E9 */ bl __ct__10CCallStackFUiPCcPCc +/* 8030DFF0 0030AF50 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030DFF4 0030AF54 7C 67 1B 78 */ mr r7, r3 +/* 8030DFF8 0030AF58 38 80 00 02 */ li r4, 2 +/* 8030DFFC 0030AF5C 38 A0 00 01 */ li r5, 1 +/* 8030E000 0030AF60 54 03 08 3C */ slwi r3, r0, 1 +/* 8030E004 0030AF64 38 C0 00 00 */ li r6, 0 +/* 8030E008 0030AF68 48 00 79 8D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030E00C 0030AF6C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8030E010 0030AF70 38 00 00 00 */ li r0, 0 +/* 8030E014 0030AF74 7F C3 F3 78 */ mr r3, r30 +/* 8030E018 0030AF78 98 1D 00 1C */ stb r0, 0x1c(r29) +/* 8030E01C 0030AF7C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030E020 0030AF80 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8030E024 0030AF84 54 05 08 3C */ slwi r5, r0, 1 +/* 8030E028 0030AF88 48 03 0F 2D */ bl Get__12CInputStreamFPvUl +/* 8030E02C 0030AF8C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030E030 0030AF90 38 7D 00 10 */ addi r3, r29, 0x10 +/* 8030E034 0030AF94 80 BD 00 00 */ lwz r5, 0(r29) +/* 8030E038 0030AF98 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8030E03C 0030AF9C 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030E040 0030AFA0 48 06 C4 A9 */ bl GXInitTlutObj +/* 8030E044 0030AFA4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030E048 0030AFA8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8030E04C 0030AFAC 54 04 08 3C */ slwi r4, r0, 1 +/* 8030E050 0030AFB0 48 07 0A 61 */ bl DCFlushRange +/* 8030E054 0030AFB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030E058 0030AFB8 7F A3 EB 78 */ mr r3, r29 +/* 8030E05C 0030AFBC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030E060 0030AFC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030E064 0030AFC4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030E068 0030AFC8 7C 08 03 A6 */ mtlr r0 +/* 8030E06C 0030AFCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030E070 0030AFD0 4E 80 00 20 */ blr + +.global __ct__16CGraphicsPaletteF14EPaletteFormati +__ct__16CGraphicsPaletteF14EPaletteFormati: +/* 8030E074 0030AFD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030E078 0030AFD8 7C 08 02 A6 */ mflr r0 +/* 8030E07C 0030AFDC 3C C0 80 3D */ lis r6, lbl_803D73E8@ha +/* 8030E080 0030AFE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030E084 0030AFE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030E088 0030AFE8 7C BF 2B 78 */ mr r31, r5 +/* 8030E08C 0030AFEC 38 A6 73 E8 */ addi r5, r6, lbl_803D73E8@l +/* 8030E090 0030AFF0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030E094 0030AFF4 7C 7E 1B 78 */ mr r30, r3 +/* 8030E098 0030AFF8 90 83 00 00 */ stw r4, 0(r3) +/* 8030E09C 0030AFFC 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8030E0A0 0030B000 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8030E0A4 0030B004 38 80 FF FF */ li r4, -1 +/* 8030E0A8 0030B008 93 FE 00 08 */ stw r31, 8(r30) +/* 8030E0AC 0030B00C 38 61 00 08 */ addi r3, r1, 8 +/* 8030E0B0 0030B010 4B FC 83 25 */ bl __ct__10CCallStackFUiPCcPCc +/* 8030E0B4 0030B014 7C 67 1B 78 */ mr r7, r3 +/* 8030E0B8 0030B018 57 E3 08 3C */ slwi r3, r31, 1 +/* 8030E0BC 0030B01C 38 80 00 02 */ li r4, 2 +/* 8030E0C0 0030B020 38 A0 00 01 */ li r5, 1 +/* 8030E0C4 0030B024 38 C0 00 00 */ li r6, 0 +/* 8030E0C8 0030B028 48 00 78 CD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030E0CC 0030B02C 90 7E 00 0C */ stw r3, 0xc(r30) +/* 8030E0D0 0030B030 38 00 00 00 */ li r0, 0 +/* 8030E0D4 0030B034 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8030E0D8 0030B038 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 8030E0DC 0030B03C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8030E0E0 0030B040 80 BE 00 00 */ lwz r5, 0(r30) +/* 8030E0E4 0030B044 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8030E0E8 0030B048 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030E0EC 0030B04C 48 06 C3 FD */ bl GXInitTlutObj +/* 8030E0F0 0030B050 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030E0F4 0030B054 7F C3 F3 78 */ mr r3, r30 +/* 8030E0F8 0030B058 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030E0FC 0030B05C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030E100 0030B060 7C 08 03 A6 */ mtlr r0 +/* 8030E104 0030B064 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030E108 0030B068 4E 80 00 20 */ blr + +.global sub_8030e10c +sub_8030e10c: +/* 8030E10C 0030B06C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E110 0030B070 7C 08 02 A6 */ mflr r0 +/* 8030E114 0030B074 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E118 0030B078 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030E11C 0030B07C 2C 00 00 06 */ cmpwi r0, 6 +/* 8030E120 0030B080 41 82 00 18 */ beq lbl_8030E138 +/* 8030E124 0030B084 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E128 0030B088 48 04 A2 AD */ bl sub_803583d4 +/* 8030E12C 0030B08C 7C 64 1B 78 */ mr r4, r3 +/* 8030E130 0030B090 38 60 00 01 */ li r3, 1 +/* 8030E134 0030B094 48 05 EA E9 */ bl sub_8036cc1c +lbl_8030E138: +/* 8030E138 0030B098 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E13C 0030B09C 7C 08 03 A6 */ mtlr r0 +/* 8030E140 0030B0A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E144 0030B0A4 4E 80 00 20 */ blr + +.global InvalidateTexmap__8CTextureF11_GXTexMapID +InvalidateTexmap__8CTextureF11_GXTexMapID: +/* 8030E148 0030B0A8 3C 80 80 4C */ lis r4, lbl_804BFD10@ha +/* 8030E14C 0030B0AC 54 60 10 3A */ slwi r0, r3, 2 +/* 8030E150 0030B0B0 38 64 FD 10 */ addi r3, r4, lbl_804BFD10@l +/* 8030E154 0030B0B4 38 80 00 00 */ li r4, 0 +/* 8030E158 0030B0B8 7C 83 01 2E */ stwx r4, r3, r0 +/* 8030E15C 0030B0BC 4E 80 00 20 */ blr + +.global UncountMemory__8CTextureCFv +UncountMemory__8CTextureCFv: +/* 8030E160 0030B0C0 88 83 00 0A */ lbz r4, 0xa(r3) +/* 8030E164 0030B0C4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 8030E168 0030B0C8 4D 82 00 20 */ beqlr +/* 8030E16C 0030B0CC 38 00 00 00 */ li r0, 0 +/* 8030E170 0030B0D0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c +/* 8030E174 0030B0D4 80 0D A8 74 */ lwz r0, lbl_805A9434@sda21(r13) +/* 8030E178 0030B0D8 98 83 00 0A */ stb r4, 0xa(r3) +/* 8030E17C 0030B0DC 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8030E180 0030B0E0 7C 03 00 50 */ subf r0, r3, r0 +/* 8030E184 0030B0E4 90 0D A8 74 */ stw r0, lbl_805A9434@sda21(r13) +/* 8030E188 0030B0E8 4E 80 00 20 */ blr + +.global CountMemory__8CTextureCFv +CountMemory__8CTextureCFv: +/* 8030E18C 0030B0EC 88 A3 00 0A */ lbz r5, 0xa(r3) +/* 8030E190 0030B0F0 54 A0 EF FF */ rlwinm. r0, r5, 0x1d, 0x1f, 0x1f +/* 8030E194 0030B0F4 4C 82 00 20 */ bnelr +/* 8030E198 0030B0F8 38 00 00 01 */ li r0, 1 +/* 8030E19C 0030B0FC 80 8D A8 74 */ lwz r4, lbl_805A9434@sda21(r13) +/* 8030E1A0 0030B100 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c +/* 8030E1A4 0030B104 98 A3 00 0A */ stb r5, 0xa(r3) +/* 8030E1A8 0030B108 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8030E1AC 0030B10C 7C 04 02 14 */ add r0, r4, r0 +/* 8030E1B0 0030B110 90 0D A8 74 */ stw r0, lbl_805A9434@sda21(r13) +/* 8030E1B4 0030B114 4E 80 00 20 */ blr + +.global MakeSwappable__8CTextureCFv +MakeSwappable__8CTextureCFv: +/* 8030E1B8 0030B118 88 83 00 0A */ lbz r4, 0xa(r3) +/* 8030E1BC 0030B11C 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 8030E1C0 0030B120 4D 82 00 20 */ beqlr +/* 8030E1C4 0030B124 38 00 00 00 */ li r0, 0 +/* 8030E1C8 0030B128 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b +/* 8030E1CC 0030B12C 98 83 00 0A */ stb r4, 0xa(r3) +/* 8030E1D0 0030B130 4E 80 00 20 */ blr + +.global MangleMipmap__8CTextureFi +MangleMipmap__8CTextureFi: +/* 8030E1D4 0030B134 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8030E1D8 0030B138 7C 08 02 A6 */ mflr r0 +/* 8030E1DC 0030B13C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8030E1E0 0030B140 BE 81 00 20 */ stmw r20, 0x20(r1) +/* 8030E1E4 0030B144 88 03 00 08 */ lbz r0, 8(r3) +/* 8030E1E8 0030B148 7C 00 07 74 */ extsb r0, r0 +/* 8030E1EC 0030B14C 7C 04 00 00 */ cmpw r4, r0 +/* 8030E1F0 0030B150 40 80 03 D0 */ bge lbl_8030E5C0 +/* 8030E1F4 0030B154 3C A0 80 3D */ lis r5, lbl_803D73F0@ha +/* 8030E1F8 0030B158 38 04 FF FF */ addi r0, r4, -1 +/* 8030E1FC 0030B15C 38 C5 73 F0 */ addi r6, r5, lbl_803D73F0@l +/* 8030E200 0030B160 2C 04 00 00 */ cmpwi r4, 0 +/* 8030E204 0030B164 81 26 00 00 */ lwz r9, 0(r6) +/* 8030E208 0030B168 38 A1 00 08 */ addi r5, r1, 8 +/* 8030E20C 0030B16C 81 06 00 04 */ lwz r8, 4(r6) +/* 8030E210 0030B170 54 00 17 3A */ rlwinm r0, r0, 2, 0x1c, 0x1d +/* 8030E214 0030B174 80 E6 00 08 */ lwz r7, 8(r6) +/* 8030E218 0030B178 3B A0 00 00 */ li r29, 0 +/* 8030E21C 0030B17C 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 8030E220 0030B180 3B 00 00 00 */ li r24, 0 +/* 8030E224 0030B184 91 21 00 08 */ stw r9, 8(r1) +/* 8030E228 0030B188 AB E3 00 04 */ lha r31, 4(r3) +/* 8030E22C 0030B18C 91 01 00 0C */ stw r8, 0xc(r1) +/* 8030E230 0030B190 AB C3 00 06 */ lha r30, 6(r3) +/* 8030E234 0030B194 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8030E238 0030B198 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8030E23C 0030B19C 7C E5 00 2E */ lwzx r7, r5, r0 +/* 8030E240 0030B1A0 54 E6 EE FE */ rlwinm r6, r7, 0x1d, 0x1b, 0x1f +/* 8030E244 0030B1A4 54 E5 DD 74 */ rlwinm r5, r7, 0x1b, 0x15, 0x1a +/* 8030E248 0030B1A8 54 E0 C6 36 */ rlwinm r0, r7, 0x18, 0x18, 0x1b +/* 8030E24C 0030B1AC 50 E5 EE FE */ rlwimi r5, r7, 0x1d, 0x1b, 0x1f +/* 8030E250 0030B1B0 50 E6 D5 B4 */ rlwimi r6, r7, 0x1a, 0x16, 0x1a +/* 8030E254 0030B1B4 50 E0 E7 3E */ rlwimi r0, r7, 0x1c, 0x1c, 0x1f +/* 8030E258 0030B1B8 50 E5 C4 28 */ rlwimi r5, r7, 0x18, 0x10, 0x14 +/* 8030E25C 0030B1BC 50 E6 BC 6A */ rlwimi r6, r7, 0x17, 0x11, 0x15 +/* 8030E260 0030B1C0 50 E0 A5 2E */ rlwimi r0, r7, 0x14, 0x14, 0x17 +/* 8030E264 0030B1C4 54 BB 04 3E */ clrlwi r27, r5, 0x10 +/* 8030E268 0030B1C8 54 DA 04 3E */ clrlwi r26, r6, 0x10 +/* 8030E26C 0030B1CC 54 19 04 3E */ clrlwi r25, r0, 0x10 +/* 8030E270 0030B1D0 40 81 01 28 */ ble lbl_8030E398 +/* 8030E274 0030B1D4 2C 04 00 08 */ cmpwi r4, 8 +/* 8030E278 0030B1D8 38 A4 FF F8 */ addi r5, r4, -8 +/* 8030E27C 0030B1DC 40 81 00 E8 */ ble lbl_8030E364 +/* 8030E280 0030B1E0 38 05 00 07 */ addi r0, r5, 7 +/* 8030E284 0030B1E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030E288 0030B1E8 7C 09 03 A6 */ mtctr r0 +/* 8030E28C 0030B1EC 2C 05 00 00 */ cmpwi r5, 0 +/* 8030E290 0030B1F0 40 81 00 D4 */ ble lbl_8030E364 +lbl_8030E294: +/* 8030E294 0030B1F4 57 E5 0F FE */ srwi r5, r31, 0x1f +/* 8030E298 0030B1F8 57 C0 0F FE */ srwi r0, r30, 0x1f +/* 8030E29C 0030B1FC 7C A5 FA 14 */ add r5, r5, r31 +/* 8030E2A0 0030B200 3B 18 00 08 */ addi r24, r24, 8 +/* 8030E2A4 0030B204 7C BC 0E 70 */ srawi r28, r5, 1 +/* 8030E2A8 0030B208 7C 00 F2 14 */ add r0, r0, r30 +/* 8030E2AC 0030B20C 7C 0C 0E 70 */ srawi r12, r0, 1 +/* 8030E2B0 0030B210 7F E0 16 70 */ srawi r0, r31, 2 +/* 8030E2B4 0030B214 7D 60 01 94 */ addze r11, r0 +/* 8030E2B8 0030B218 7F C0 16 70 */ srawi r0, r30, 2 +/* 8030E2BC 0030B21C 7D 40 01 94 */ addze r10, r0 +/* 8030E2C0 0030B220 7F E0 1E 70 */ srawi r0, r31, 3 +/* 8030E2C4 0030B224 7D 20 01 94 */ addze r9, r0 +/* 8030E2C8 0030B228 7F C0 1E 70 */ srawi r0, r30, 3 +/* 8030E2CC 0030B22C 7D 00 01 94 */ addze r8, r0 +/* 8030E2D0 0030B230 7F E0 26 70 */ srawi r0, r31, 4 +/* 8030E2D4 0030B234 7C E0 01 94 */ addze r7, r0 +/* 8030E2D8 0030B238 7F C0 26 70 */ srawi r0, r30, 4 +/* 8030E2DC 0030B23C 7C C0 01 94 */ addze r6, r0 +/* 8030E2E0 0030B240 7E 9F F1 D6 */ mullw r20, r31, r30 +/* 8030E2E4 0030B244 7F E0 2E 70 */ srawi r0, r31, 5 +/* 8030E2E8 0030B248 7C A0 01 94 */ addze r5, r0 +/* 8030E2EC 0030B24C 7F C0 2E 70 */ srawi r0, r30, 5 +/* 8030E2F0 0030B250 7C 00 01 94 */ addze r0, r0 +/* 8030E2F4 0030B254 7F BD A2 14 */ add r29, r29, r20 +/* 8030E2F8 0030B258 7F F5 36 70 */ srawi r21, r31, 6 +/* 8030E2FC 0030B25C 7E 9C 61 D6 */ mullw r20, r28, r12 +/* 8030E300 0030B260 7E B5 01 94 */ addze r21, r21 +/* 8030E304 0030B264 7F D6 36 70 */ srawi r22, r30, 6 +/* 8030E308 0030B268 7E D6 01 94 */ addze r22, r22 +/* 8030E30C 0030B26C 7C 05 01 D6 */ mullw r0, r5, r0 +/* 8030E310 0030B270 7F F7 3E 70 */ srawi r23, r31, 7 +/* 8030E314 0030B274 7F BD A2 14 */ add r29, r29, r20 +/* 8030E318 0030B278 7E F7 01 94 */ addze r23, r23 +/* 8030E31C 0030B27C 7F CC 3E 70 */ srawi r12, r30, 7 +/* 8030E320 0030B280 7D 4B 51 D6 */ mullw r10, r11, r10 +/* 8030E324 0030B284 7F 8C 01 94 */ addze r28, r12 +/* 8030E328 0030B288 7F EC 46 70 */ srawi r12, r31, 8 +/* 8030E32C 0030B28C 7F EC 01 94 */ addze r31, r12 +/* 8030E330 0030B290 7F CC 46 70 */ srawi r12, r30, 8 +/* 8030E334 0030B294 7D 09 41 D6 */ mullw r8, r9, r8 +/* 8030E338 0030B298 7F BD 52 14 */ add r29, r29, r10 +/* 8030E33C 0030B29C 7F CC 01 94 */ addze r30, r12 +/* 8030E340 0030B2A0 7C C7 31 D6 */ mullw r6, r7, r6 +/* 8030E344 0030B2A4 7F BD 42 14 */ add r29, r29, r8 +/* 8030E348 0030B2A8 7F BD 32 14 */ add r29, r29, r6 +/* 8030E34C 0030B2AC 7F BD 02 14 */ add r29, r29, r0 +/* 8030E350 0030B2B0 7C B5 B1 D6 */ mullw r5, r21, r22 +/* 8030E354 0030B2B4 7C 17 E1 D6 */ mullw r0, r23, r28 +/* 8030E358 0030B2B8 7F BD 2A 14 */ add r29, r29, r5 +/* 8030E35C 0030B2BC 7F BD 02 14 */ add r29, r29, r0 +/* 8030E360 0030B2C0 42 00 FF 34 */ bdnz lbl_8030E294 +lbl_8030E364: +/* 8030E364 0030B2C4 7C 18 20 50 */ subf r0, r24, r4 +/* 8030E368 0030B2C8 7C 09 03 A6 */ mtctr r0 +/* 8030E36C 0030B2CC 7C 18 20 00 */ cmpw r24, r4 +/* 8030E370 0030B2D0 40 80 00 28 */ bge lbl_8030E398 +lbl_8030E374: +/* 8030E374 0030B2D4 7C BF F1 D6 */ mullw r5, r31, r30 +/* 8030E378 0030B2D8 57 E4 0F FE */ srwi r4, r31, 0x1f +/* 8030E37C 0030B2DC 57 C0 0F FE */ srwi r0, r30, 0x1f +/* 8030E380 0030B2E0 7C 84 FA 14 */ add r4, r4, r31 +/* 8030E384 0030B2E4 7C 00 F2 14 */ add r0, r0, r30 +/* 8030E388 0030B2E8 7C 9F 0E 70 */ srawi r31, r4, 1 +/* 8030E38C 0030B2EC 7F BD 2A 14 */ add r29, r29, r5 +/* 8030E390 0030B2F0 7C 1E 0E 70 */ srawi r30, r0, 1 +/* 8030E394 0030B2F4 42 00 FF E0 */ bdnz lbl_8030E374 +lbl_8030E398: +/* 8030E398 0030B2F8 80 03 00 00 */ lwz r0, 0(r3) +/* 8030E39C 0030B2FC 2C 00 00 09 */ cmpwi r0, 9 +/* 8030E3A0 0030B300 41 82 02 20 */ beq lbl_8030E5C0 +/* 8030E3A4 0030B304 40 80 00 14 */ bge lbl_8030E3B8 +/* 8030E3A8 0030B308 2C 00 00 07 */ cmpwi r0, 7 +/* 8030E3AC 0030B30C 41 82 00 18 */ beq lbl_8030E3C4 +/* 8030E3B0 0030B310 40 80 01 C4 */ bge lbl_8030E574 +/* 8030E3B4 0030B314 48 00 02 0C */ b lbl_8030E5C0 +lbl_8030E3B8: +/* 8030E3B8 0030B318 2C 00 00 0B */ cmpwi r0, 0xb +/* 8030E3BC 0030B31C 40 80 02 04 */ bge lbl_8030E5C0 +/* 8030E3C0 0030B320 48 00 00 C8 */ b lbl_8030E488 +lbl_8030E3C4: +/* 8030E3C4 0030B324 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E3C8 0030B328 48 04 9F 6D */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E3CC 0030B32C 7D 1F F1 D7 */ mullw. r8, r31, r30 +/* 8030E3D0 0030B330 39 20 00 00 */ li r9, 0 +/* 8030E3D4 0030B334 40 81 01 EC */ ble lbl_8030E5C0 +/* 8030E3D8 0030B338 2C 08 00 08 */ cmpwi r8, 8 +/* 8030E3DC 0030B33C 38 88 FF F8 */ addi r4, r8, -8 +/* 8030E3E0 0030B340 40 81 00 80 */ ble lbl_8030E460 +/* 8030E3E4 0030B344 38 04 00 07 */ addi r0, r4, 7 +/* 8030E3E8 0030B348 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030E3EC 0030B34C 7C 09 03 A6 */ mtctr r0 +/* 8030E3F0 0030B350 2C 04 00 00 */ cmpwi r4, 0 +/* 8030E3F4 0030B354 40 81 00 6C */ ble lbl_8030E460 +lbl_8030E3F8: +/* 8030E3F8 0030B358 7C E9 EA 14 */ add r7, r9, r29 +/* 8030E3FC 0030B35C 39 29 00 08 */ addi r9, r9, 8 +/* 8030E400 0030B360 54 E4 08 3C */ slwi r4, r7, 1 +/* 8030E404 0030B364 38 07 00 01 */ addi r0, r7, 1 +/* 8030E408 0030B368 7F 63 23 2E */ sthx r27, r3, r4 +/* 8030E40C 0030B36C 54 04 08 3C */ slwi r4, r0, 1 +/* 8030E410 0030B370 38 07 00 02 */ addi r0, r7, 2 +/* 8030E414 0030B374 7F 63 23 2E */ sthx r27, r3, r4 +/* 8030E418 0030B378 54 05 08 3C */ slwi r5, r0, 1 +/* 8030E41C 0030B37C 38 87 00 03 */ addi r4, r7, 3 +/* 8030E420 0030B380 7F 63 2B 2E */ sthx r27, r3, r5 +/* 8030E424 0030B384 54 86 08 3C */ slwi r6, r4, 1 +/* 8030E428 0030B388 38 A7 00 05 */ addi r5, r7, 5 +/* 8030E42C 0030B38C 38 87 00 06 */ addi r4, r7, 6 +/* 8030E430 0030B390 38 07 00 04 */ addi r0, r7, 4 +/* 8030E434 0030B394 7F 63 33 2E */ sthx r27, r3, r6 +/* 8030E438 0030B398 54 06 08 3C */ slwi r6, r0, 1 +/* 8030E43C 0030B39C 54 A5 08 3C */ slwi r5, r5, 1 +/* 8030E440 0030B3A0 7F 63 33 2E */ sthx r27, r3, r6 +/* 8030E444 0030B3A4 38 07 00 07 */ addi r0, r7, 7 +/* 8030E448 0030B3A8 54 84 08 3C */ slwi r4, r4, 1 +/* 8030E44C 0030B3AC 7F 63 2B 2E */ sthx r27, r3, r5 +/* 8030E450 0030B3B0 54 00 08 3C */ slwi r0, r0, 1 +/* 8030E454 0030B3B4 7F 63 23 2E */ sthx r27, r3, r4 +/* 8030E458 0030B3B8 7F 63 03 2E */ sthx r27, r3, r0 +/* 8030E45C 0030B3BC 42 00 FF 9C */ bdnz lbl_8030E3F8 +lbl_8030E460: +/* 8030E460 0030B3C0 7C 09 40 50 */ subf r0, r9, r8 +/* 8030E464 0030B3C4 7C 09 03 A6 */ mtctr r0 +/* 8030E468 0030B3C8 7C 09 40 00 */ cmpw r9, r8 +/* 8030E46C 0030B3CC 40 80 01 54 */ bge lbl_8030E5C0 +lbl_8030E470: +/* 8030E470 0030B3D0 7C 09 EA 14 */ add r0, r9, r29 +/* 8030E474 0030B3D4 39 29 00 01 */ addi r9, r9, 1 +/* 8030E478 0030B3D8 54 00 08 3C */ slwi r0, r0, 1 +/* 8030E47C 0030B3DC 7F 63 03 2E */ sthx r27, r3, r0 +/* 8030E480 0030B3E0 42 00 FF F0 */ bdnz lbl_8030E470 +/* 8030E484 0030B3E4 48 00 01 3C */ b lbl_8030E5C0 +lbl_8030E488: +/* 8030E488 0030B3E8 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E48C 0030B3EC 48 04 9E A9 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E490 0030B3F0 7C 1F F1 D6 */ mullw r0, r31, r30 +/* 8030E494 0030B3F4 7F A5 16 70 */ srawi r5, r29, 2 +/* 8030E498 0030B3F8 38 80 00 00 */ li r4, 0 +/* 8030E49C 0030B3FC 7C A5 01 94 */ addze r5, r5 +/* 8030E4A0 0030B400 54 A5 08 3C */ slwi r5, r5, 1 +/* 8030E4A4 0030B404 7C 00 26 70 */ srawi r0, r0, 4 +/* 8030E4A8 0030B408 7C 00 01 95 */ addze. r0, r0 +/* 8030E4AC 0030B40C 7C A3 2A 14 */ add r5, r3, r5 +/* 8030E4B0 0030B410 7C 03 03 78 */ mr r3, r0 +/* 8030E4B4 0030B414 40 81 01 0C */ ble lbl_8030E5C0 +/* 8030E4B8 0030B418 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8030E4BC 0030B41C 7C 09 03 A6 */ mtctr r0 +/* 8030E4C0 0030B420 41 82 00 94 */ beq lbl_8030E554 +lbl_8030E4C4: +/* 8030E4C4 0030B424 B3 65 00 00 */ sth r27, 0(r5) +/* 8030E4C8 0030B428 B3 65 00 02 */ sth r27, 2(r5) +/* 8030E4CC 0030B42C B0 85 00 04 */ sth r4, 4(r5) +/* 8030E4D0 0030B430 B0 85 00 06 */ sth r4, 6(r5) +/* 8030E4D4 0030B434 B3 65 00 08 */ sth r27, 8(r5) +/* 8030E4D8 0030B438 B3 65 00 0A */ sth r27, 0xa(r5) +/* 8030E4DC 0030B43C B0 85 00 0C */ sth r4, 0xc(r5) +/* 8030E4E0 0030B440 B0 85 00 0E */ sth r4, 0xe(r5) +/* 8030E4E4 0030B444 B3 65 00 10 */ sth r27, 0x10(r5) +/* 8030E4E8 0030B448 B3 65 00 12 */ sth r27, 0x12(r5) +/* 8030E4EC 0030B44C B0 85 00 14 */ sth r4, 0x14(r5) +/* 8030E4F0 0030B450 B0 85 00 16 */ sth r4, 0x16(r5) +/* 8030E4F4 0030B454 B3 65 00 18 */ sth r27, 0x18(r5) +/* 8030E4F8 0030B458 B3 65 00 1A */ sth r27, 0x1a(r5) +/* 8030E4FC 0030B45C B0 85 00 1C */ sth r4, 0x1c(r5) +/* 8030E500 0030B460 B0 85 00 1E */ sth r4, 0x1e(r5) +/* 8030E504 0030B464 B3 65 00 20 */ sth r27, 0x20(r5) +/* 8030E508 0030B468 B3 65 00 22 */ sth r27, 0x22(r5) +/* 8030E50C 0030B46C B0 85 00 24 */ sth r4, 0x24(r5) +/* 8030E510 0030B470 B0 85 00 26 */ sth r4, 0x26(r5) +/* 8030E514 0030B474 B3 65 00 28 */ sth r27, 0x28(r5) +/* 8030E518 0030B478 B3 65 00 2A */ sth r27, 0x2a(r5) +/* 8030E51C 0030B47C B0 85 00 2C */ sth r4, 0x2c(r5) +/* 8030E520 0030B480 B0 85 00 2E */ sth r4, 0x2e(r5) +/* 8030E524 0030B484 B3 65 00 30 */ sth r27, 0x30(r5) +/* 8030E528 0030B488 B3 65 00 32 */ sth r27, 0x32(r5) +/* 8030E52C 0030B48C B0 85 00 34 */ sth r4, 0x34(r5) +/* 8030E530 0030B490 B0 85 00 36 */ sth r4, 0x36(r5) +/* 8030E534 0030B494 B3 65 00 38 */ sth r27, 0x38(r5) +/* 8030E538 0030B498 B3 65 00 3A */ sth r27, 0x3a(r5) +/* 8030E53C 0030B49C B0 85 00 3C */ sth r4, 0x3c(r5) +/* 8030E540 0030B4A0 B0 85 00 3E */ sth r4, 0x3e(r5) +/* 8030E544 0030B4A4 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8030E548 0030B4A8 42 00 FF 7C */ bdnz lbl_8030E4C4 +/* 8030E54C 0030B4AC 70 63 00 07 */ andi. r3, r3, 7 +/* 8030E550 0030B4B0 41 82 00 70 */ beq lbl_8030E5C0 +lbl_8030E554: +/* 8030E554 0030B4B4 7C 69 03 A6 */ mtctr r3 +lbl_8030E558: +/* 8030E558 0030B4B8 B3 65 00 00 */ sth r27, 0(r5) +/* 8030E55C 0030B4BC B3 65 00 02 */ sth r27, 2(r5) +/* 8030E560 0030B4C0 B0 85 00 04 */ sth r4, 4(r5) +/* 8030E564 0030B4C4 B0 85 00 06 */ sth r4, 6(r5) +/* 8030E568 0030B4C8 38 A5 00 08 */ addi r5, r5, 8 +/* 8030E56C 0030B4CC 42 00 FF EC */ bdnz lbl_8030E558 +/* 8030E570 0030B4D0 48 00 00 50 */ b lbl_8030E5C0 +lbl_8030E574: +/* 8030E574 0030B4D4 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E578 0030B4D8 48 04 9D BD */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E57C 0030B4DC 7C 1F F1 D7 */ mullw. r0, r31, r30 +/* 8030E580 0030B4E0 63 45 80 00 */ ori r5, r26, 0x8000 +/* 8030E584 0030B4E4 38 E0 00 00 */ li r7, 0 +/* 8030E588 0030B4E8 7C 09 03 A6 */ mtctr r0 +/* 8030E58C 0030B4EC 40 81 00 34 */ ble lbl_8030E5C0 +lbl_8030E590: +/* 8030E590 0030B4F0 7C 07 EA 14 */ add r0, r7, r29 +/* 8030E594 0030B4F4 54 04 08 3C */ slwi r4, r0, 1 +/* 8030E598 0030B4F8 7C C3 22 2E */ lhzx r6, r3, r4 +/* 8030E59C 0030B4FC 54 C0 04 21 */ rlwinm. r0, r6, 0, 0x10, 0x10 +/* 8030E5A0 0030B500 41 82 00 0C */ beq lbl_8030E5AC +/* 8030E5A4 0030B504 7C A3 23 2E */ sthx r5, r3, r4 +/* 8030E5A8 0030B508 48 00 00 10 */ b lbl_8030E5B8 +lbl_8030E5AC: +/* 8030E5AC 0030B50C 54 C0 04 26 */ rlwinm r0, r6, 0, 0x10, 0x13 +/* 8030E5B0 0030B510 7C 00 CB 78 */ or r0, r0, r25 +/* 8030E5B4 0030B514 7C 03 23 2E */ sthx r0, r3, r4 +lbl_8030E5B8: +/* 8030E5B8 0030B518 38 E7 00 01 */ addi r7, r7, 1 +/* 8030E5BC 0030B51C 42 00 FF D4 */ bdnz lbl_8030E590 +lbl_8030E5C0: +/* 8030E5C0 0030B520 BA 81 00 20 */ lmw r20, 0x20(r1) +/* 8030E5C4 0030B524 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8030E5C8 0030B528 7C 08 03 A6 */ mtlr r0 +/* 8030E5CC 0030B52C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8030E5D0 0030B530 4E 80 00 20 */ blr + +.global GetBitMapData__8CTextureFi +GetBitMapData__8CTextureFi: +/* 8030E5D4 0030B534 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E5D8 0030B538 7C 08 02 A6 */ mflr r0 +/* 8030E5DC 0030B53C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E5E0 0030B540 48 00 00 15 */ bl GetConstBitMapData__8CTextureCFi +/* 8030E5E4 0030B544 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E5E8 0030B548 7C 08 03 A6 */ mtlr r0 +/* 8030E5EC 0030B54C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E5F0 0030B550 4E 80 00 20 */ blr + +.global GetConstBitMapData__8CTextureCFi +GetConstBitMapData__8CTextureCFi: +/* 8030E5F4 0030B554 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030E5F8 0030B558 7C 08 02 A6 */ mflr r0 +/* 8030E5FC 0030B55C 2C 04 00 00 */ cmpwi r4, 0 +/* 8030E600 0030B560 39 00 00 00 */ li r8, 0 +/* 8030E604 0030B564 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030E608 0030B568 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 8030E60C 0030B56C 3B E0 00 00 */ li r31, 0 +/* 8030E610 0030B570 40 81 01 3C */ ble lbl_8030E74C +/* 8030E614 0030B574 2C 04 00 08 */ cmpwi r4, 8 +/* 8030E618 0030B578 38 A4 FF F8 */ addi r5, r4, -8 +/* 8030E61C 0030B57C 40 81 00 F0 */ ble lbl_8030E70C +/* 8030E620 0030B580 38 05 00 07 */ addi r0, r5, 7 +/* 8030E624 0030B584 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030E628 0030B588 7C 09 03 A6 */ mtctr r0 +/* 8030E62C 0030B58C 2C 05 00 00 */ cmpwi r5, 0 +/* 8030E630 0030B590 40 81 00 DC */ ble lbl_8030E70C +lbl_8030E634: +/* 8030E634 0030B594 88 03 00 09 */ lbz r0, 9(r3) +/* 8030E638 0030B598 39 28 00 01 */ addi r9, r8, 1 +/* 8030E63C 0030B59C A8 C3 00 04 */ lha r6, 4(r3) +/* 8030E640 0030B5A0 3B 28 00 02 */ addi r25, r8, 2 +/* 8030E644 0030B5A4 7C 00 07 74 */ extsb r0, r0 +/* 8030E648 0030B5A8 A8 A3 00 06 */ lha r5, 6(r3) +/* 8030E64C 0030B5AC 7C 07 1E 70 */ srawi r7, r0, 3 +/* 8030E650 0030B5B0 39 88 00 03 */ addi r12, r8, 3 +/* 8030E654 0030B5B4 7C D5 46 30 */ sraw r21, r6, r8 +/* 8030E658 0030B5B8 38 08 00 04 */ addi r0, r8, 4 +/* 8030E65C 0030B5BC 7C BE 46 30 */ sraw r30, r5, r8 +/* 8030E660 0030B5C0 39 68 00 05 */ addi r11, r8, 5 +/* 8030E664 0030B5C4 7C D6 4E 30 */ sraw r22, r6, r9 +/* 8030E668 0030B5C8 39 48 00 06 */ addi r10, r8, 6 +/* 8030E66C 0030B5CC 7C B7 4E 30 */ sraw r23, r5, r9 +/* 8030E670 0030B5D0 39 28 00 07 */ addi r9, r8, 7 +/* 8030E674 0030B5D4 7C D8 CE 30 */ sraw r24, r6, r25 +/* 8030E678 0030B5D8 39 08 00 08 */ addi r8, r8, 8 +/* 8030E67C 0030B5DC 7C B9 CE 30 */ sraw r25, r5, r25 +/* 8030E680 0030B5E0 7C DA 66 30 */ sraw r26, r6, r12 +/* 8030E684 0030B5E4 7C BB 66 30 */ sraw r27, r5, r12 +/* 8030E688 0030B5E8 7C DC 06 30 */ sraw r28, r6, r0 +/* 8030E68C 0030B5EC 7C BD 06 30 */ sraw r29, r5, r0 +/* 8030E690 0030B5F0 7C 15 F1 D6 */ mullw r0, r21, r30 +/* 8030E694 0030B5F4 7C DE 5E 30 */ sraw r30, r6, r11 +/* 8030E698 0030B5F8 7C AC 5E 30 */ sraw r12, r5, r11 +/* 8030E69C 0030B5FC 7C CB 56 30 */ sraw r11, r6, r10 +/* 8030E6A0 0030B600 7C AA 56 30 */ sraw r10, r5, r10 +/* 8030E6A4 0030B604 7C C6 4E 30 */ sraw r6, r6, r9 +/* 8030E6A8 0030B608 7C 07 01 D6 */ mullw r0, r7, r0 +/* 8030E6AC 0030B60C 7C A5 4E 30 */ sraw r5, r5, r9 +/* 8030E6B0 0030B610 7E F6 B9 D6 */ mullw r23, r22, r23 +/* 8030E6B4 0030B614 7F FF 02 14 */ add r31, r31, r0 +/* 8030E6B8 0030B618 7C 07 B9 D6 */ mullw r0, r7, r23 +/* 8030E6BC 0030B61C 7F FF 02 14 */ add r31, r31, r0 +/* 8030E6C0 0030B620 7C 06 29 D6 */ mullw r0, r6, r5 +/* 8030E6C4 0030B624 7F 7A D9 D6 */ mullw r27, r26, r27 +/* 8030E6C8 0030B628 7F BC E9 D6 */ mullw r29, r28, r29 +/* 8030E6CC 0030B62C 7F 38 C9 D6 */ mullw r25, r24, r25 +/* 8030E6D0 0030B630 7D 2B 51 D6 */ mullw r9, r11, r10 +/* 8030E6D4 0030B634 7D 47 C9 D6 */ mullw r10, r7, r25 +/* 8030E6D8 0030B638 7D 9E 61 D6 */ mullw r12, r30, r12 +/* 8030E6DC 0030B63C 7F FF 52 14 */ add r31, r31, r10 +/* 8030E6E0 0030B640 7C C7 D9 D6 */ mullw r6, r7, r27 +/* 8030E6E4 0030B644 7F FF 32 14 */ add r31, r31, r6 +/* 8030E6E8 0030B648 7C A7 E9 D6 */ mullw r5, r7, r29 +/* 8030E6EC 0030B64C 7F FF 2A 14 */ add r31, r31, r5 +/* 8030E6F0 0030B650 7C C7 61 D6 */ mullw r6, r7, r12 +/* 8030E6F4 0030B654 7C A7 49 D6 */ mullw r5, r7, r9 +/* 8030E6F8 0030B658 7F FF 32 14 */ add r31, r31, r6 +/* 8030E6FC 0030B65C 7C 07 01 D6 */ mullw r0, r7, r0 +/* 8030E700 0030B660 7F FF 2A 14 */ add r31, r31, r5 +/* 8030E704 0030B664 7F FF 02 14 */ add r31, r31, r0 +/* 8030E708 0030B668 42 00 FF 2C */ bdnz lbl_8030E634 +lbl_8030E70C: +/* 8030E70C 0030B66C 7C 08 20 50 */ subf r0, r8, r4 +/* 8030E710 0030B670 7C 09 03 A6 */ mtctr r0 +/* 8030E714 0030B674 7C 08 20 00 */ cmpw r8, r4 +/* 8030E718 0030B678 40 80 00 34 */ bge lbl_8030E74C +lbl_8030E71C: +/* 8030E71C 0030B67C 88 03 00 09 */ lbz r0, 9(r3) +/* 8030E720 0030B680 A8 83 00 04 */ lha r4, 4(r3) +/* 8030E724 0030B684 7C 05 07 74 */ extsb r5, r0 +/* 8030E728 0030B688 A8 03 00 06 */ lha r0, 6(r3) +/* 8030E72C 0030B68C 7C A5 1E 70 */ srawi r5, r5, 3 +/* 8030E730 0030B690 7C 84 46 30 */ sraw r4, r4, r8 +/* 8030E734 0030B694 7C 00 46 30 */ sraw r0, r0, r8 +/* 8030E738 0030B698 39 08 00 01 */ addi r8, r8, 1 +/* 8030E73C 0030B69C 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030E740 0030B6A0 7C 05 01 D6 */ mullw r0, r5, r0 +/* 8030E744 0030B6A4 7F FF 02 14 */ add r31, r31, r0 +/* 8030E748 0030B6A8 42 00 FF D4 */ bdnz lbl_8030E71C +lbl_8030E74C: +/* 8030E74C 0030B6AC 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E750 0030B6B0 48 04 9B E5 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E754 0030B6B4 7C 63 FA 14 */ add r3, r3, r31 +/* 8030E758 0030B6B8 BA A1 00 14 */ lmw r21, 0x14(r1) +/* 8030E75C 0030B6BC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030E760 0030B6C0 7C 08 03 A6 */ mtlr r0 +/* 8030E764 0030B6C4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030E768 0030B6C8 4E 80 00 20 */ blr + +.global FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8030E76C 0030B6CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030E770 0030B6D0 7C 08 02 A6 */ mflr r0 +/* 8030E774 0030B6D4 3C 80 80 3D */ lis r4, lbl_803D7400@ha +/* 8030E778 0030B6D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030E77C 0030B6DC 38 84 74 00 */ addi r4, r4, lbl_803D7400@l +/* 8030E780 0030B6E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030E784 0030B6E4 7C BF 2B 78 */ mr r31, r5 +/* 8030E788 0030B6E8 38 A0 00 00 */ li r5, 0 +/* 8030E78C 0030B6EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030E790 0030B6F0 7C 7E 1B 78 */ mr r30, r3 +/* 8030E794 0030B6F4 38 60 00 68 */ li r3, 0x68 +/* 8030E798 0030B6F8 48 00 70 D5 */ bl __nw__FUlPCcPCc +/* 8030E79C 0030B6FC 7C 64 1B 79 */ or. r4, r3, r3 +/* 8030E7A0 0030B700 41 82 00 18 */ beq lbl_8030E7B8 +/* 8030E7A4 0030B704 7F E4 FB 78 */ mr r4, r31 +/* 8030E7A8 0030B708 38 A0 00 00 */ li r5, 0 +/* 8030E7AC 0030B70C 38 C0 00 00 */ li r6, 0 +/* 8030E7B0 0030B710 48 00 13 15 */ bl __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey +/* 8030E7B4 0030B714 7C 64 1B 78 */ mr r4, r3 +lbl_8030E7B8: +/* 8030E7B8 0030B718 7C 04 00 D0 */ neg r0, r4 +/* 8030E7BC 0030B71C 90 81 00 0C */ stw r4, 0xc(r1) +/* 8030E7C0 0030B720 7C 00 23 78 */ or r0, r0, r4 +/* 8030E7C4 0030B724 38 61 00 10 */ addi r3, r1, 0x10 +/* 8030E7C8 0030B728 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8030E7CC 0030B72C 38 81 00 08 */ addi r4, r1, 8 +/* 8030E7D0 0030B730 98 01 00 08 */ stb r0, 8(r1) +/* 8030E7D4 0030B734 48 00 00 81 */ bl "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +/* 8030E7D8 0030B738 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8030E7DC 0030B73C 38 00 00 00 */ li r0, 0 +/* 8030E7E0 0030B740 98 01 00 10 */ stb r0, 0x10(r1) +/* 8030E7E4 0030B744 7C 03 00 D0 */ neg r0, r3 +/* 8030E7E8 0030B748 7C 00 1B 78 */ or r0, r0, r3 +/* 8030E7EC 0030B74C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8030E7F0 0030B750 98 1E 00 00 */ stb r0, 0(r30) +/* 8030E7F4 0030B754 90 7E 00 04 */ stw r3, 4(r30) +/* 8030E7F8 0030B758 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8030E7FC 0030B75C 28 00 00 00 */ cmplwi r0, 0 +/* 8030E800 0030B760 41 82 00 24 */ beq lbl_8030E824 +/* 8030E804 0030B764 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8030E808 0030B768 28 03 00 00 */ cmplwi r3, 0 +/* 8030E80C 0030B76C 41 82 00 18 */ beq lbl_8030E824 +/* 8030E810 0030B770 81 83 00 00 */ lwz r12, 0(r3) +/* 8030E814 0030B774 38 80 00 01 */ li r4, 1 +/* 8030E818 0030B778 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030E81C 0030B77C 7D 89 03 A6 */ mtctr r12 +/* 8030E820 0030B780 4E 80 04 21 */ bctrl +lbl_8030E824: +/* 8030E824 0030B784 88 01 00 08 */ lbz r0, 8(r1) +/* 8030E828 0030B788 28 00 00 00 */ cmplwi r0, 0 +/* 8030E82C 0030B78C 41 82 00 10 */ beq lbl_8030E83C +/* 8030E830 0030B790 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8030E834 0030B794 38 80 00 01 */ li r4, 1 +/* 8030E838 0030B798 48 00 11 C1 */ bl __dt__8CTextureFv +lbl_8030E83C: +/* 8030E83C 0030B79C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030E840 0030B7A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030E844 0030B7A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030E848 0030B7A8 7C 08 03 A6 */ mtlr r0 +/* 8030E84C 0030B7AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030E850 0030B7B0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +"GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>": +/* 8030E854 0030B7B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E858 0030B7B8 7C 08 02 A6 */ mflr r0 +/* 8030E85C 0030B7BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E860 0030B7C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030E864 0030B7C4 7C 7F 1B 78 */ mr r31, r3 +/* 8030E868 0030B7C8 48 00 00 19 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +/* 8030E86C 0030B7CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E870 0030B7D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030E874 0030B7D4 7C 08 03 A6 */ mtlr r0 +/* 8030E878 0030B7D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E87C 0030B7DC 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +"GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>": +/* 8030E880 0030B7E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E884 0030B7E4 7C 08 02 A6 */ mflr r0 +/* 8030E888 0030B7E8 3C A0 80 3D */ lis r5, lbl_803D7400@ha +/* 8030E88C 0030B7EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E890 0030B7F0 38 05 74 00 */ addi r0, r5, lbl_803D7400@l +/* 8030E894 0030B7F4 38 A0 00 00 */ li r5, 0 +/* 8030E898 0030B7F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030E89C 0030B7FC 7C 9F 23 78 */ mr r31, r4 +/* 8030E8A0 0030B800 7C 04 03 78 */ mr r4, r0 +/* 8030E8A4 0030B804 93 C1 00 08 */ stw r30, 8(r1) +/* 8030E8A8 0030B808 7C 7E 1B 78 */ mr r30, r3 +/* 8030E8AC 0030B80C 38 60 00 08 */ li r3, 8 +/* 8030E8B0 0030B810 48 00 6F BD */ bl __nw__FUlPCcPCc +/* 8030E8B4 0030B814 28 03 00 00 */ cmplwi r3, 0 +/* 8030E8B8 0030B818 41 82 00 38 */ beq lbl_8030E8F0 +/* 8030E8BC 0030B81C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8030E8C0 0030B820 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8030E8C4 0030B824 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8030E8C8 0030B828 3C 80 80 3E */ lis r4, lbl_803D8D84@ha +/* 8030E8CC 0030B82C 90 03 00 00 */ stw r0, 0(r3) +/* 8030E8D0 0030B830 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8030E8D4 0030B834 38 A0 00 00 */ li r5, 0 +/* 8030E8D8 0030B838 38 04 8D 84 */ addi r0, r4, lbl_803D8D84@l +/* 8030E8DC 0030B83C 90 C3 00 00 */ stw r6, 0(r3) +/* 8030E8E0 0030B840 98 BF 00 00 */ stb r5, 0(r31) +/* 8030E8E4 0030B844 80 9F 00 04 */ lwz r4, 4(r31) +/* 8030E8E8 0030B848 90 83 00 04 */ stw r4, 4(r3) +/* 8030E8EC 0030B84C 90 03 00 00 */ stw r0, 0(r3) +lbl_8030E8F0: +/* 8030E8F0 0030B850 7C 03 00 D0 */ neg r0, r3 +/* 8030E8F4 0030B854 7C 00 1B 78 */ or r0, r0, r3 +/* 8030E8F8 0030B858 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8030E8FC 0030B85C 98 1E 00 00 */ stb r0, 0(r30) +/* 8030E900 0030B860 90 7E 00 04 */ stw r3, 4(r30) +/* 8030E904 0030B864 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030E908 0030B868 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030E90C 0030B86C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E910 0030B870 7C 08 03 A6 */ mtlr r0 +/* 8030E914 0030B874 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E918 0030B878 4E 80 00 20 */ blr + +.global UnLock__8CTextureFv +UnLock__8CTextureFv: +/* 8030E91C 0030B87C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E920 0030B880 7C 08 02 A6 */ mflr r0 +/* 8030E924 0030B884 38 80 00 00 */ li r4, 0 +/* 8030E928 0030B888 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E92C 0030B88C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030E930 0030B890 7C 7F 1B 78 */ mr r31, r3 +/* 8030E934 0030B894 88 03 00 0A */ lbz r0, 0xa(r3) +/* 8030E938 0030B898 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8030E93C 0030B89C 98 03 00 0A */ stb r0, 0xa(r3) +/* 8030E940 0030B8A0 4B FF F8 4D */ bl CountMemory__8CTextureCFv +/* 8030E944 0030B8A4 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030E948 0030B8A8 48 04 99 ED */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E94C 0030B8AC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8030E950 0030B8B0 38 04 00 1F */ addi r0, r4, 0x1f +/* 8030E954 0030B8B4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 8030E958 0030B8B8 48 07 01 59 */ bl DCFlushRange +/* 8030E95C 0030B8BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E960 0030B8C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030E964 0030B8C4 7C 08 03 A6 */ mtlr r0 +/* 8030E968 0030B8C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E96C 0030B8CC 4E 80 00 20 */ blr + +.global InitBitmapBuffers__8CTextureF12ETexelFormatssi +InitBitmapBuffers__8CTextureF12ETexelFormatssi: +/* 8030E970 0030B8D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030E974 0030B8D4 7C 08 02 A6 */ mflr r0 +/* 8030E978 0030B8D8 28 04 00 0A */ cmplwi r4, 0xa +/* 8030E97C 0030B8DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030E980 0030B8E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030E984 0030B8E4 7C 7F 1B 78 */ mr r31, r3 +/* 8030E988 0030B8E8 41 81 00 9C */ bgt lbl_8030EA24 +/* 8030E98C 0030B8EC 3C 60 80 3F */ lis r3, lbl_803ED968@ha +/* 8030E990 0030B8F0 54 80 10 3A */ slwi r0, r4, 2 +/* 8030E994 0030B8F4 38 63 D9 68 */ addi r3, r3, lbl_803ED968@l +/* 8030E998 0030B8F8 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8030E99C 0030B8FC 7C 09 03 A6 */ mtctr r0 +/* 8030E9A0 0030B900 4E 80 04 20 */ bctr +/* 8030E9A4 0030B904 38 00 00 08 */ li r0, 8 +/* 8030E9A8 0030B908 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030E9AC 0030B90C 48 00 00 78 */ b lbl_8030EA24 +/* 8030E9B0 0030B910 38 00 00 09 */ li r0, 9 +/* 8030E9B4 0030B914 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030E9B8 0030B918 48 00 00 6C */ b lbl_8030EA24 +/* 8030E9BC 0030B91C 38 00 00 0A */ li r0, 0xa +/* 8030E9C0 0030B920 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030E9C4 0030B924 48 00 00 60 */ b lbl_8030EA24 +/* 8030E9C8 0030B928 38 00 00 00 */ li r0, 0 +/* 8030E9CC 0030B92C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9D0 0030B930 48 00 00 54 */ b lbl_8030EA24 +/* 8030E9D4 0030B934 38 00 00 01 */ li r0, 1 +/* 8030E9D8 0030B938 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9DC 0030B93C 48 00 00 48 */ b lbl_8030EA24 +/* 8030E9E0 0030B940 38 00 00 02 */ li r0, 2 +/* 8030E9E4 0030B944 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9E8 0030B948 48 00 00 3C */ b lbl_8030EA24 +/* 8030E9EC 0030B94C 38 00 00 03 */ li r0, 3 +/* 8030E9F0 0030B950 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9F4 0030B954 48 00 00 30 */ b lbl_8030EA24 +/* 8030E9F8 0030B958 38 00 00 04 */ li r0, 4 +/* 8030E9FC 0030B95C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EA00 0030B960 48 00 00 24 */ b lbl_8030EA24 +/* 8030EA04 0030B964 38 00 00 05 */ li r0, 5 +/* 8030EA08 0030B968 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EA0C 0030B96C 48 00 00 18 */ b lbl_8030EA24 +/* 8030EA10 0030B970 38 00 00 06 */ li r0, 6 +/* 8030EA14 0030B974 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EA18 0030B978 48 00 00 0C */ b lbl_8030EA24 +/* 8030EA1C 0030B97C 38 00 00 0E */ li r0, 0xe +/* 8030EA20 0030B980 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_8030EA24: +/* 8030EA24 0030B984 39 20 00 01 */ li r9, 1 +/* 8030EA28 0030B988 81 5F 00 00 */ lwz r10, 0(r31) +/* 8030EA2C 0030B98C 7C E3 4A 78 */ xor r3, r7, r9 +/* 8030EA30 0030B990 38 00 00 0B */ li r0, 0xb +/* 8030EA34 0030B994 7C 68 0E 70 */ srawi r8, r3, 1 +/* 8030EA38 0030B998 2C 0A 00 04 */ cmpwi r10, 4 +/* 8030EA3C 0030B99C 7C 64 38 38 */ and r4, r3, r7 +/* 8030EA40 0030B9A0 54 A3 04 3E */ clrlwi r3, r5, 0x10 +/* 8030EA44 0030B9A4 7C A4 40 50 */ subf r5, r4, r8 +/* 8030EA48 0030B9A8 54 C4 04 3E */ clrlwi r4, r6, 0x10 +/* 8030EA4C 0030B9AC 54 A6 0F FE */ srwi r6, r5, 0x1f +/* 8030EA50 0030B9B0 7C A6 00 D0 */ neg r5, r6 +/* 8030EA54 0030B9B4 7C A5 33 78 */ or r5, r5, r6 +/* 8030EA58 0030B9B8 7C A5 FE 70 */ srawi r5, r5, 0x1f +/* 8030EA5C 0030B9BC 7C 07 28 38 */ and r7, r0, r5 +/* 8030EA60 0030B9C0 40 82 00 08 */ bne lbl_8030EA68 +/* 8030EA64 0030B9C4 48 00 00 1C */ b lbl_8030EA80 +lbl_8030EA68: +/* 8030EA68 0030B9C8 2C 0A 00 05 */ cmpwi r10, 5 +/* 8030EA6C 0030B9CC 40 82 00 08 */ bne lbl_8030EA74 +/* 8030EA70 0030B9D0 48 00 00 10 */ b lbl_8030EA80 +lbl_8030EA74: +/* 8030EA74 0030B9D4 20 0A 00 06 */ subfic r0, r10, 6 +/* 8030EA78 0030B9D8 7C 00 00 34 */ cntlzw r0, r0 +/* 8030EA7C 0030B9DC 54 09 D9 7E */ srwi r9, r0, 5 +lbl_8030EA80: +/* 8030EA80 0030B9E0 55 20 06 3F */ clrlwi. r0, r9, 0x18 +/* 8030EA84 0030B9E4 41 82 00 0C */ beq lbl_8030EA90 +/* 8030EA88 0030B9E8 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 8030EA8C 0030B9EC 48 00 00 08 */ b lbl_8030EA94 +lbl_8030EA90: +/* 8030EA90 0030B9F0 80 BF 00 18 */ lwz r5, 0x18(r31) +lbl_8030EA94: +/* 8030EA94 0030B9F4 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8030EA98 0030B9F8 48 06 B1 A9 */ bl GXGetTexBufferSize +/* 8030EA9C 0030B9FC 3C A0 80 3D */ lis r5, lbl_803D7400@ha +/* 8030EAA0 0030BA00 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8030EAA4 0030BA04 90 7F 00 0C */ stw r3, 0xc(r31) +/* 8030EAA8 0030BA08 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8030EAAC 0030BA0C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l +/* 8030EAB0 0030BA10 38 61 00 08 */ addi r3, r1, 8 +/* 8030EAB4 0030BA14 38 80 FF FF */ li r4, -1 +/* 8030EAB8 0030BA18 4B FC 79 1D */ bl __ct__10CCallStackFUiPCcPCc +/* 8030EABC 0030BA1C 7C 67 1B 78 */ mr r7, r3 +/* 8030EAC0 0030BA20 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030EAC4 0030BA24 38 80 00 02 */ li r4, 2 +/* 8030EAC8 0030BA28 38 A0 00 01 */ li r5, 1 +/* 8030EACC 0030BA2C 38 C0 00 00 */ li r6, 0 +/* 8030EAD0 0030BA30 48 00 6E C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030EAD4 0030BA34 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8030EAD8 0030BA38 7C 64 1B 78 */ mr r4, r3 +/* 8030EADC 0030BA3C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030EAE0 0030BA40 38 C0 00 01 */ li r6, 1 +/* 8030EAE4 0030BA44 48 04 9D F1 */ bl PostConstruct__10CARAMTokenFPvUi +/* 8030EAE8 0030BA48 7F E3 FB 78 */ mr r3, r31 +/* 8030EAEC 0030BA4C 4B FF F6 A1 */ bl CountMemory__8CTextureCFv +/* 8030EAF0 0030BA50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030EAF4 0030BA54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030EAF8 0030BA58 7C 08 03 A6 */ mtlr r0 +/* 8030EAFC 0030BA5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030EB00 0030BA60 4E 80 00 20 */ blr + +.global TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +TexelFormatBitsPerPixel__8CTextureF12ETexelFormat: +/* 8030EB04 0030BA64 28 03 00 0A */ cmplwi r3, 0xa +/* 8030EB08 0030BA68 41 81 00 3C */ bgt lbl_8030EB44 +/* 8030EB0C 0030BA6C 3C 80 80 3F */ lis r4, lbl_803ED994@ha +/* 8030EB10 0030BA70 54 60 10 3A */ slwi r0, r3, 2 +/* 8030EB14 0030BA74 38 64 D9 94 */ addi r3, r4, lbl_803ED994@l +/* 8030EB18 0030BA78 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8030EB1C 0030BA7C 7C 09 03 A6 */ mtctr r0 +/* 8030EB20 0030BA80 4E 80 04 20 */ bctr +/* 8030EB24 0030BA84 38 60 00 04 */ li r3, 4 +/* 8030EB28 0030BA88 4E 80 00 20 */ blr +/* 8030EB2C 0030BA8C 38 60 00 08 */ li r3, 8 +/* 8030EB30 0030BA90 4E 80 00 20 */ blr +/* 8030EB34 0030BA94 38 60 00 10 */ li r3, 0x10 +/* 8030EB38 0030BA98 4E 80 00 20 */ blr +/* 8030EB3C 0030BA9C 38 60 00 20 */ li r3, 0x20 +/* 8030EB40 0030BAA0 4E 80 00 20 */ blr +lbl_8030EB44: +/* 8030EB44 0030BAA4 38 60 00 00 */ li r3, 0 +/* 8030EB48 0030BAA8 4E 80 00 20 */ blr + +.global IsARAMTransferInProgress__8CTextureCFv +IsARAMTransferInProgress__8CTextureCFv: +/* 8030EB4C 0030BAAC 88 03 00 0A */ lbz r0, 0xa(r3) +/* 8030EB50 0030BAB0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8030EB54 0030BAB4 41 82 00 0C */ beq lbl_8030EB60 +/* 8030EB58 0030BAB8 38 60 00 00 */ li r3, 0 +/* 8030EB5C 0030BABC 4E 80 00 20 */ blr +lbl_8030EB60: +/* 8030EB60 0030BAC0 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030EB64 0030BAC4 38 60 00 00 */ li r3, 0 +/* 8030EB68 0030BAC8 2C 00 00 02 */ cmpwi r0, 2 +/* 8030EB6C 0030BACC 4D 80 00 20 */ bltlr +/* 8030EB70 0030BAD0 2C 00 00 05 */ cmpwi r0, 5 +/* 8030EB74 0030BAD4 4D 81 00 20 */ bgtlr +/* 8030EB78 0030BAD8 38 60 00 01 */ li r3, 1 +/* 8030EB7C 0030BADC 4E 80 00 20 */ blr + +.global LoadToARAM__8CTextureCFv +LoadToARAM__8CTextureCFv: +/* 8030EB80 0030BAE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030EB84 0030BAE4 7C 08 02 A6 */ mflr r0 +/* 8030EB88 0030BAE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030EB8C 0030BAEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030EB90 0030BAF0 93 C1 00 08 */ stw r30, 8(r1) +/* 8030EB94 0030BAF4 7C 7E 1B 78 */ mr r30, r3 +/* 8030EB98 0030BAF8 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030EB9C 0030BAFC 2C 00 00 06 */ cmpwi r0, 6 +/* 8030EBA0 0030BB00 40 82 00 0C */ bne lbl_8030EBAC +/* 8030EBA4 0030BB04 38 60 00 00 */ li r3, 0 +/* 8030EBA8 0030BB08 48 00 00 68 */ b lbl_8030EC10 +lbl_8030EBAC: +/* 8030EBAC 0030BB0C 88 1E 00 0A */ lbz r0, 0xa(r30) +/* 8030EBB0 0030BB10 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8030EBB4 0030BB14 41 82 00 0C */ beq lbl_8030EBC0 +/* 8030EBB8 0030BB18 38 60 00 00 */ li r3, 0 +/* 8030EBBC 0030BB1C 48 00 00 54 */ b lbl_8030EC10 +lbl_8030EBC0: +/* 8030EBC0 0030BB20 80 6D A8 70 */ lwz r3, lbl_805A9430@sda21(r13) +/* 8030EBC4 0030BB24 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 8030EBC8 0030BB28 38 03 FF FF */ addi r0, r3, -1 +/* 8030EBCC 0030BB2C 7C 04 00 40 */ cmplw r4, r0 +/* 8030EBD0 0030BB30 40 80 00 3C */ bge lbl_8030EC0C +/* 8030EBD4 0030BB34 38 7E 00 44 */ addi r3, r30, 0x44 +/* 8030EBD8 0030BB38 48 04 9A A1 */ bl LoadToARAM__10CARAMTokenFv +/* 8030EBDC 0030BB3C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 8030EBE0 0030BB40 7C 7F 1B 78 */ mr r31, r3 +/* 8030EBE4 0030BB44 2C 00 00 01 */ cmpwi r0, 1 +/* 8030EBE8 0030BB48 41 82 00 1C */ beq lbl_8030EC04 +/* 8030EBEC 0030BB4C 7F C3 F3 78 */ mr r3, r30 +/* 8030EBF0 0030BB50 4B FF F5 71 */ bl UncountMemory__8CTextureCFv +/* 8030EBF4 0030BB54 88 1E 00 0A */ lbz r0, 0xa(r30) +/* 8030EBF8 0030BB58 38 60 00 01 */ li r3, 1 +/* 8030EBFC 0030BB5C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8030EC00 0030BB60 98 1E 00 0A */ stb r0, 0xa(r30) +lbl_8030EC04: +/* 8030EC04 0030BB64 7F E3 FB 78 */ mr r3, r31 +/* 8030EC08 0030BB68 48 00 00 08 */ b lbl_8030EC10 +lbl_8030EC0C: +/* 8030EC0C 0030BB6C 38 60 00 00 */ li r3, 0 +lbl_8030EC10: +/* 8030EC10 0030BB70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030EC14 0030BB74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030EC18 0030BB78 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030EC1C 0030BB7C 7C 08 03 A6 */ mtlr r0 +/* 8030EC20 0030BB80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030EC24 0030BB84 4E 80 00 20 */ blr + +.global LoadToMRAM__8CTextureCFv +LoadToMRAM__8CTextureCFv: +/* 8030EC28 0030BB88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030EC2C 0030BB8C 7C 08 02 A6 */ mflr r0 +/* 8030EC30 0030BB90 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030EC34 0030BB94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030EC38 0030BB98 7C 7F 1B 78 */ mr r31, r3 +/* 8030EC3C 0030BB9C 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030EC40 0030BBA0 2C 00 00 06 */ cmpwi r0, 6 +/* 8030EC44 0030BBA4 40 82 00 0C */ bne lbl_8030EC50 +/* 8030EC48 0030BBA8 38 60 00 00 */ li r3, 0 +/* 8030EC4C 0030BBAC 48 00 00 18 */ b lbl_8030EC64 +lbl_8030EC50: +/* 8030EC50 0030BBB0 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030EC54 0030BBB4 90 1F 00 64 */ stw r0, 0x64(r31) +/* 8030EC58 0030BBB8 4B FF F5 35 */ bl CountMemory__8CTextureCFv +/* 8030EC5C 0030BBBC 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030EC60 0030BBC0 48 04 9B 0D */ bl LoadToMRAM__10CARAMTokenFv +lbl_8030EC64: +/* 8030EC64 0030BBC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030EC68 0030BBC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030EC6C 0030BBCC 7C 08 03 A6 */ mtlr r0 +/* 8030EC70 0030BBD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030EC74 0030BBD4 4E 80 00 20 */ blr + +.global TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory: +/* 8030EC78 0030BBD8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8030EC7C 0030BBDC 7C 08 02 A6 */ mflr r0 +/* 8030EC80 0030BBE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8030EC84 0030BBE4 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 8030EC88 0030BBE8 7C 7F 1B 78 */ mr r31, r3 +/* 8030EC8C 0030BBEC 7C 99 23 78 */ mr r25, r4 +/* 8030EC90 0030BBF0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8030EC94 0030BBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8030EC98 0030BBF8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8030EC9C 0030BBFC 7D 89 03 A6 */ mtctr r12 +/* 8030ECA0 0030BC00 4E 80 04 21 */ bctrl +/* 8030ECA4 0030BC04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030ECA8 0030BC08 41 82 02 B0 */ beq lbl_8030EF58 +/* 8030ECAC 0030BC0C 38 00 00 02 */ li r0, 2 +/* 8030ECB0 0030BC10 90 1F 00 00 */ stw r0, 0(r31) +/* 8030ECB4 0030BC14 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8030ECB8 0030BC18 28 03 00 00 */ cmplwi r3, 0 +/* 8030ECBC 0030BC1C 41 82 00 18 */ beq lbl_8030ECD4 +/* 8030ECC0 0030BC20 81 83 00 00 */ lwz r12, 0(r3) +/* 8030ECC4 0030BC24 38 80 00 01 */ li r4, 1 +/* 8030ECC8 0030BC28 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030ECCC 0030BC2C 7D 89 03 A6 */ mtctr r12 +/* 8030ECD0 0030BC30 4E 80 04 21 */ bctrl +lbl_8030ECD4: +/* 8030ECD4 0030BC34 38 00 00 00 */ li r0, 0 +/* 8030ECD8 0030BC38 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8030ECDC 0030BC3C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8030ECE0 0030BC40 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8030ECE4 0030BC44 38 79 00 04 */ addi r3, r25, 4 +/* 8030ECE8 0030BC48 38 81 00 14 */ addi r4, r1, 0x14 +/* 8030ECEC 0030BC4C 80 BF 00 04 */ lwz r5, 4(r31) +/* 8030ECF0 0030BC50 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030ECF4 0030BC54 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8030ECF8 0030BC58 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 8030ECFC 0030BC5C 48 02 CB 55 */ bl LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv +/* 8030ED00 0030BC60 7C 7A 1B 78 */ mr r26, r3 +/* 8030ED04 0030BC64 93 41 00 08 */ stw r26, 8(r1) +/* 8030ED08 0030BC68 48 02 FF 7D */ bl ReadLong__12CInputStreamFv +/* 8030ED0C 0030BC6C 7C 60 1B 78 */ mr r0, r3 +/* 8030ED10 0030BC70 7F 43 D3 78 */ mr r3, r26 +/* 8030ED14 0030BC74 7C 19 03 78 */ mr r25, r0 +/* 8030ED18 0030BC78 48 02 FF 99 */ bl ReadShort__12CInputStreamFv +/* 8030ED1C 0030BC7C 7C 7D 07 34 */ extsh r29, r3 +/* 8030ED20 0030BC80 7F 43 D3 78 */ mr r3, r26 +/* 8030ED24 0030BC84 48 02 FF 8D */ bl ReadShort__12CInputStreamFv +/* 8030ED28 0030BC88 7C 7C 07 34 */ extsh r28, r3 +/* 8030ED2C 0030BC8C 7F 43 D3 78 */ mr r3, r26 +/* 8030ED30 0030BC90 48 02 FF 55 */ bl ReadLong__12CInputStreamFv +/* 8030ED34 0030BC94 7C 7B 1B 78 */ mr r27, r3 +/* 8030ED38 0030BC98 7F 23 CB 78 */ mr r3, r25 +/* 8030ED3C 0030BC9C 4B FF FD C9 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +/* 8030ED40 0030BCA0 2C 19 00 04 */ cmpwi r25, 4 +/* 8030ED44 0030BCA4 7C 7E 1B 78 */ mr r30, r3 +/* 8030ED48 0030BCA8 40 82 00 0C */ bne lbl_8030ED54 +/* 8030ED4C 0030BCAC 38 00 00 01 */ li r0, 1 +/* 8030ED50 0030BCB0 48 00 00 20 */ b lbl_8030ED70 +lbl_8030ED54: +/* 8030ED54 0030BCB4 2C 19 00 05 */ cmpwi r25, 5 +/* 8030ED58 0030BCB8 40 82 00 0C */ bne lbl_8030ED64 +/* 8030ED5C 0030BCBC 38 00 00 01 */ li r0, 1 +/* 8030ED60 0030BCC0 48 00 00 10 */ b lbl_8030ED70 +lbl_8030ED64: +/* 8030ED64 0030BCC4 20 19 00 06 */ subfic r0, r25, 6 +/* 8030ED68 0030BCC8 7C 00 00 34 */ cntlzw r0, r0 +/* 8030ED6C 0030BCCC 54 00 D9 7E */ srwi r0, r0, 5 +lbl_8030ED70: +/* 8030ED70 0030BCD0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030ED74 0030BCD4 41 82 00 1C */ beq lbl_8030ED90 +/* 8030ED78 0030BCD8 7F 44 D3 78 */ mr r4, r26 +/* 8030ED7C 0030BCDC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8030ED80 0030BCE0 4B FF F2 09 */ bl __ct__16CGraphicsPaletteFR12CInputStream +/* 8030ED84 0030BCE4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8030ED88 0030BCE8 38 80 FF FF */ li r4, -1 +/* 8030ED8C 0030BCEC 4B FF F1 75 */ bl __dt__16CGraphicsPaletteFv +lbl_8030ED90: +/* 8030ED90 0030BCF0 2C 1B 00 00 */ cmpwi r27, 0 +/* 8030ED94 0030BCF4 3B 20 00 00 */ li r25, 0 +/* 8030ED98 0030BCF8 38 A0 00 00 */ li r5, 0 +/* 8030ED9C 0030BCFC 40 81 01 00 */ ble lbl_8030EE9C +/* 8030EDA0 0030BD00 57 60 F0 BF */ rlwinm. r0, r27, 0x1e, 2, 0x1f +/* 8030EDA4 0030BD04 7C 09 03 A6 */ mtctr r0 +/* 8030EDA8 0030BD08 41 82 00 C0 */ beq lbl_8030EE68 +lbl_8030EDAC: +/* 8030EDAC 0030BD0C 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EDB0 0030BD10 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EDB4 0030BD14 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EDB8 0030BD18 38 03 00 03 */ addi r0, r3, 3 +/* 8030EDBC 0030BD1C 38 84 00 03 */ addi r4, r4, 3 +/* 8030EDC0 0030BD20 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EDC4 0030BD24 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EDC8 0030BD28 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EDCC 0030BD2C 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EDD0 0030BD30 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EDD4 0030BD34 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EDD8 0030BD38 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EDDC 0030BD3C 7F 39 02 14 */ add r25, r25, r0 +/* 8030EDE0 0030BD40 38 03 00 03 */ addi r0, r3, 3 +/* 8030EDE4 0030BD44 38 84 00 03 */ addi r4, r4, 3 +/* 8030EDE8 0030BD48 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EDEC 0030BD4C 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EDF0 0030BD50 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EDF4 0030BD54 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EDF8 0030BD58 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EDFC 0030BD5C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE00 0030BD60 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EE04 0030BD64 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EE08 0030BD68 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE0C 0030BD6C 38 03 00 03 */ addi r0, r3, 3 +/* 8030EE10 0030BD70 38 84 00 03 */ addi r4, r4, 3 +/* 8030EE14 0030BD74 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EE18 0030BD78 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EE1C 0030BD7C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EE20 0030BD80 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EE24 0030BD84 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EE28 0030BD88 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE2C 0030BD8C 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EE30 0030BD90 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EE34 0030BD94 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE38 0030BD98 38 03 00 03 */ addi r0, r3, 3 +/* 8030EE3C 0030BD9C 38 84 00 03 */ addi r4, r4, 3 +/* 8030EE40 0030BDA0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EE44 0030BDA4 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EE48 0030BDA8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EE4C 0030BDAC 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EE50 0030BDB0 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EE54 0030BDB4 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE58 0030BDB8 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE5C 0030BDBC 42 00 FF 50 */ bdnz lbl_8030EDAC +/* 8030EE60 0030BDC0 73 7B 00 03 */ andi. r27, r27, 3 +/* 8030EE64 0030BDC4 41 82 00 38 */ beq lbl_8030EE9C +lbl_8030EE68: +/* 8030EE68 0030BDC8 7F 69 03 A6 */ mtctr r27 +lbl_8030EE6C: +/* 8030EE6C 0030BDCC 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EE70 0030BDD0 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EE74 0030BDD4 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EE78 0030BDD8 38 03 00 03 */ addi r0, r3, 3 +/* 8030EE7C 0030BDDC 38 84 00 03 */ addi r4, r4, 3 +/* 8030EE80 0030BDE0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EE84 0030BDE4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EE88 0030BDE8 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EE8C 0030BDEC 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EE90 0030BDF0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE94 0030BDF4 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE98 0030BDF8 42 00 FF D4 */ bdnz lbl_8030EE6C +lbl_8030EE9C: +/* 8030EE9C 0030BDFC 3C 60 80 3D */ lis r3, lbl_803D7400@ha +/* 8030EEA0 0030BE00 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8030EEA4 0030BE04 38 A3 74 00 */ addi r5, r3, lbl_803D7400@l +/* 8030EEA8 0030BE08 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8030EEAC 0030BE0C 38 61 00 0C */ addi r3, r1, 0xc +/* 8030EEB0 0030BE10 38 80 FF FF */ li r4, -1 +/* 8030EEB4 0030BE14 4B FC 75 21 */ bl __ct__10CCallStackFUiPCcPCc +/* 8030EEB8 0030BE18 7C 67 1B 78 */ mr r7, r3 +/* 8030EEBC 0030BE1C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030EEC0 0030BE20 38 80 00 02 */ li r4, 2 +/* 8030EEC4 0030BE24 38 A0 00 01 */ li r5, 1 +/* 8030EEC8 0030BE28 38 C0 00 00 */ li r6, 0 +/* 8030EECC 0030BE2C 48 00 6A C9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030EED0 0030BE30 3B A0 00 00 */ li r29, 0 +/* 8030EED4 0030BE34 7C 7C 1B 78 */ mr r28, r3 +/* 8030EED8 0030BE38 48 00 00 3C */ b lbl_8030EF14 +lbl_8030EEDC: +/* 8030EEDC 0030BE3C 7F DD C8 50 */ subf r30, r29, r25 +/* 8030EEE0 0030BE40 2C 1E 01 00 */ cmpwi r30, 0x100 +/* 8030EEE4 0030BE44 40 81 00 08 */ ble lbl_8030EEEC +/* 8030EEE8 0030BE48 3B C0 01 00 */ li r30, 0x100 +lbl_8030EEEC: +/* 8030EEEC 0030BE4C 7F 7C EA 14 */ add r27, r28, r29 +/* 8030EEF0 0030BE50 7F 43 D3 78 */ mr r3, r26 +/* 8030EEF4 0030BE54 7F 64 DB 78 */ mr r4, r27 +/* 8030EEF8 0030BE58 7F C5 F3 78 */ mr r5, r30 +/* 8030EEFC 0030BE5C 48 03 00 59 */ bl Get__12CInputStreamFPvUl +/* 8030EF00 0030BE60 38 1E 00 1F */ addi r0, r30, 0x1f +/* 8030EF04 0030BE64 7F 63 DB 78 */ mr r3, r27 +/* 8030EF08 0030BE68 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 8030EF0C 0030BE6C 48 06 FC 05 */ bl DCFlushRangeNoSync +/* 8030EF10 0030BE70 7F BD F2 14 */ add r29, r29, r30 +lbl_8030EF14: +/* 8030EF14 0030BE74 7C 1D C8 00 */ cmpw r29, r25 +/* 8030EF18 0030BE78 41 80 FF C4 */ blt lbl_8030EEDC +/* 8030EF1C 0030BE7C 48 06 08 F1 */ bl PPCSync +/* 8030EF20 0030BE80 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8030EF24 0030BE84 48 00 6A 0D */ bl Free__7CMemoryFPCv +/* 8030EF28 0030BE88 80 61 00 08 */ lwz r3, 8(r1) +/* 8030EF2C 0030BE8C 38 00 00 00 */ li r0, 0 +/* 8030EF30 0030BE90 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EF34 0030BE94 28 03 00 00 */ cmplwi r3, 0 +/* 8030EF38 0030BE98 41 82 00 18 */ beq lbl_8030EF50 +/* 8030EF3C 0030BE9C 81 83 00 00 */ lwz r12, 0(r3) +/* 8030EF40 0030BEA0 38 80 00 01 */ li r4, 1 +/* 8030EF44 0030BEA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030EF48 0030BEA8 7D 89 03 A6 */ mtctr r12 +/* 8030EF4C 0030BEAC 4E 80 04 21 */ bctrl +lbl_8030EF50: +/* 8030EF50 0030BEB0 7F 83 E3 78 */ mr r3, r28 +/* 8030EF54 0030BEB4 48 00 00 08 */ b lbl_8030EF5C +lbl_8030EF58: +/* 8030EF58 0030BEB8 38 60 00 00 */ li r3, 0 +lbl_8030EF5C: +/* 8030EF5C 0030BEBC BB 21 00 44 */ lmw r25, 0x44(r1) +/* 8030EF60 0030BEC0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8030EF64 0030BEC4 7C 08 03 A6 */ mtlr r0 +/* 8030EF68 0030BEC8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8030EF6C 0030BECC 4E 80 00 20 */ blr + +.global BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory: +/* 8030EF70 0030BED0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030EF74 0030BED4 7C 08 02 A6 */ mflr r0 +/* 8030EF78 0030BED8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030EF7C 0030BEDC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8030EF80 0030BEE0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8030EF84 0030BEE4 7C 9E 23 78 */ mr r30, r4 +/* 8030EF88 0030BEE8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8030EF8C 0030BEEC 7C 7D 1B 78 */ mr r29, r3 +/* 8030EF90 0030BEF0 80 03 00 00 */ lwz r0, 0(r3) +/* 8030EF94 0030BEF4 2C 00 00 00 */ cmpwi r0, 0 +/* 8030EF98 0030BEF8 40 82 00 B0 */ bne lbl_8030F048 +/* 8030EF9C 0030BEFC 80 BD 00 04 */ lwz r5, 4(r29) +/* 8030EFA0 0030BF00 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8030EFA4 0030BF04 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8030EFA8 0030BF08 38 7E 00 04 */ addi r3, r30, 4 +/* 8030EFAC 0030BF0C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8030EFB0 0030BF10 38 81 00 10 */ addi r4, r1, 0x10 +/* 8030EFB4 0030BF14 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8030EFB8 0030BF18 48 02 CC 99 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 8030EFBC 0030BF1C 3C A0 80 3D */ lis r5, lbl_803D7400@ha +/* 8030EFC0 0030BF20 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8030EFC4 0030BF24 90 7D 00 08 */ stw r3, 8(r29) +/* 8030EFC8 0030BF28 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8030EFCC 0030BF2C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l +/* 8030EFD0 0030BF30 38 61 00 08 */ addi r3, r1, 8 +/* 8030EFD4 0030BF34 38 80 FF FF */ li r4, -1 +/* 8030EFD8 0030BF38 4B FC 73 FD */ bl __ct__10CCallStackFUiPCcPCc +/* 8030EFDC 0030BF3C 7C 67 1B 78 */ mr r7, r3 +/* 8030EFE0 0030BF40 80 7D 00 08 */ lwz r3, 8(r29) +/* 8030EFE4 0030BF44 38 80 00 02 */ li r4, 2 +/* 8030EFE8 0030BF48 38 A0 00 01 */ li r5, 1 +/* 8030EFEC 0030BF4C 38 C0 00 00 */ li r6, 0 +/* 8030EFF0 0030BF50 48 00 69 A5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030EFF4 0030BF54 7C 7F 1B 78 */ mr r31, r3 +/* 8030EFF8 0030BF58 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 8030EFFC 0030BF5C 48 00 69 35 */ bl Free__7CMemoryFPCv +/* 8030F000 0030BF60 93 FD 00 18 */ stw r31, 0x18(r29) +/* 8030F004 0030BF64 38 7E 00 04 */ addi r3, r30, 4 +/* 8030F008 0030BF68 38 81 00 10 */ addi r4, r1, 0x10 +/* 8030F00C 0030BF6C 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 8030F010 0030BF70 48 02 CB 69 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +/* 8030F014 0030BF74 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 8030F018 0030BF78 7C 7F 1B 78 */ mr r31, r3 +/* 8030F01C 0030BF7C 28 00 00 00 */ cmplwi r0, 0 +/* 8030F020 0030BF80 41 82 00 1C */ beq lbl_8030F03C +/* 8030F024 0030BF84 7C 03 03 78 */ mr r3, r0 +/* 8030F028 0030BF88 38 80 00 01 */ li r4, 1 +/* 8030F02C 0030BF8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F030 0030BF90 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F034 0030BF94 7D 89 03 A6 */ mtctr r12 +/* 8030F038 0030BF98 4E 80 04 21 */ bctrl +lbl_8030F03C: +/* 8030F03C 0030BF9C 93 FD 00 14 */ stw r31, 0x14(r29) +/* 8030F040 0030BFA0 38 00 00 01 */ li r0, 1 +/* 8030F044 0030BFA4 90 1D 00 00 */ stw r0, 0(r29) +lbl_8030F048: +/* 8030F048 0030BFA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030F04C 0030BFAC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030F050 0030BFB0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8030F054 0030BFB4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8030F058 0030BFB8 7C 08 03 A6 */ mtlr r0 +/* 8030F05C 0030BFBC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030F060 0030BFC0 4E 80 00 20 */ blr + +.global __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib +__ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib: +/* 8030F064 0030BFC4 38 00 00 00 */ li r0, 0 +/* 8030F068 0030BFC8 90 03 00 00 */ stw r0, 0(r3) +/* 8030F06C 0030BFCC 90 83 00 04 */ stw r4, 4(r3) +/* 8030F070 0030BFD0 90 03 00 08 */ stw r0, 8(r3) +/* 8030F074 0030BFD4 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8030F078 0030BFD8 98 C3 00 10 */ stb r6, 0x10(r3) +/* 8030F07C 0030BFDC 90 03 00 14 */ stw r0, 0x14(r3) +/* 8030F080 0030BFE0 90 03 00 18 */ stw r0, 0x18(r3) +/* 8030F084 0030BFE4 4E 80 00 20 */ blr + +.global sub_8030f088 +sub_8030f088: +/* 8030F088 0030BFE8 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8030F08C 0030BFEC 28 04 00 00 */ cmplwi r4, 0 +/* 8030F090 0030BFF0 41 82 00 1C */ beq lbl_8030F0AC +/* 8030F094 0030BFF4 80 04 00 00 */ lwz r0, 0(r4) +/* 8030F098 0030BFF8 38 60 00 05 */ li r3, 5 +/* 8030F09C 0030BFFC 2C 00 00 00 */ cmpwi r0, 0 +/* 8030F0A0 0030C000 4C 82 00 20 */ bnelr +/* 8030F0A4 0030C004 38 60 00 02 */ li r3, 2 +/* 8030F0A8 0030C008 4E 80 00 20 */ blr +lbl_8030F0AC: +/* 8030F0AC 0030C00C 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030F0B0 0030C010 2C 00 00 02 */ cmpwi r0, 2 +/* 8030F0B4 0030C014 41 82 00 38 */ beq lbl_8030F0EC +/* 8030F0B8 0030C018 40 80 00 14 */ bge lbl_8030F0CC +/* 8030F0BC 0030C01C 2C 00 00 00 */ cmpwi r0, 0 +/* 8030F0C0 0030C020 41 82 00 1C */ beq lbl_8030F0DC +/* 8030F0C4 0030C024 40 80 00 20 */ bge lbl_8030F0E4 +/* 8030F0C8 0030C028 48 00 00 34 */ b lbl_8030F0FC +lbl_8030F0CC: +/* 8030F0CC 0030C02C 2C 00 00 05 */ cmpwi r0, 5 +/* 8030F0D0 0030C030 41 82 00 1C */ beq lbl_8030F0EC +/* 8030F0D4 0030C034 40 80 00 28 */ bge lbl_8030F0FC +/* 8030F0D8 0030C038 48 00 00 1C */ b lbl_8030F0F4 +lbl_8030F0DC: +/* 8030F0DC 0030C03C 38 60 00 01 */ li r3, 1 +/* 8030F0E0 0030C040 4E 80 00 20 */ blr +lbl_8030F0E4: +/* 8030F0E4 0030C044 38 60 00 00 */ li r3, 0 +/* 8030F0E8 0030C048 4E 80 00 20 */ blr +lbl_8030F0EC: +/* 8030F0EC 0030C04C 38 60 00 03 */ li r3, 3 +/* 8030F0F0 0030C050 4E 80 00 20 */ blr +lbl_8030F0F4: +/* 8030F0F4 0030C054 38 60 00 04 */ li r3, 4 +/* 8030F0F8 0030C058 4E 80 00 20 */ blr +lbl_8030F0FC: +/* 8030F0FC 0030C05C 38 60 FF FF */ li r3, -1 +/* 8030F100 0030C060 4E 80 00 20 */ blr + +.global TryReloadBitmapData__8CTextureCFR11CResFactory +TryReloadBitmapData__8CTextureCFR11CResFactory: +/* 8030F104 0030C064 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030F108 0030C068 7C 08 02 A6 */ mflr r0 +/* 8030F10C 0030C06C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030F110 0030C070 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030F114 0030C074 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030F118 0030C078 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030F11C 0030C07C 7C 9D 23 78 */ mr r29, r4 +/* 8030F120 0030C080 93 81 00 10 */ stw r28, 0x10(r1) +/* 8030F124 0030C084 7C 7C 1B 78 */ mr r28, r3 +/* 8030F128 0030C088 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8030F12C 0030C08C 28 03 00 00 */ cmplwi r3, 0 +/* 8030F130 0030C090 40 82 00 0C */ bne lbl_8030F13C +/* 8030F134 0030C094 38 60 00 01 */ li r3, 1 +/* 8030F138 0030C098 48 00 00 AC */ b lbl_8030F1E4 +lbl_8030F13C: +/* 8030F13C 0030C09C 4B FF FE 35 */ bl BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +/* 8030F140 0030C0A0 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 8030F144 0030C0A4 7F A4 EB 78 */ mr r4, r29 +/* 8030F148 0030C0A8 4B FF FB 31 */ bl TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +/* 8030F14C 0030C0AC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030F150 0030C0B0 41 82 00 90 */ beq lbl_8030F1E0 +/* 8030F154 0030C0B4 83 DC 00 14 */ lwz r30, 0x14(r28) +/* 8030F158 0030C0B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8030F15C 0030C0BC 8B FE 00 10 */ lbz r31, 0x10(r30) +/* 8030F160 0030C0C0 41 82 00 44 */ beq lbl_8030F1A4 +/* 8030F164 0030C0C4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8030F168 0030C0C8 41 82 00 0C */ beq lbl_8030F174 +/* 8030F16C 0030C0CC 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8030F170 0030C0D0 48 00 67 C1 */ bl Free__7CMemoryFPCv +lbl_8030F174: +/* 8030F174 0030C0D4 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8030F178 0030C0D8 41 82 00 24 */ beq lbl_8030F19C +/* 8030F17C 0030C0DC 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8030F180 0030C0E0 28 03 00 00 */ cmplwi r3, 0 +/* 8030F184 0030C0E4 41 82 00 18 */ beq lbl_8030F19C +/* 8030F188 0030C0E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F18C 0030C0EC 38 80 00 01 */ li r4, 1 +/* 8030F190 0030C0F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F194 0030C0F4 7D 89 03 A6 */ mtctr r12 +/* 8030F198 0030C0F8 4E 80 04 21 */ bctrl +lbl_8030F19C: +/* 8030F19C 0030C0FC 7F C3 F3 78 */ mr r3, r30 +/* 8030F1A0 0030C100 48 00 67 91 */ bl Free__7CMemoryFPCv +lbl_8030F1A4: +/* 8030F1A4 0030C104 38 00 00 00 */ li r0, 0 +/* 8030F1A8 0030C108 7F A4 EB 78 */ mr r4, r29 +/* 8030F1AC 0030C10C 90 1C 00 14 */ stw r0, 0x14(r28) +/* 8030F1B0 0030C110 38 7C 00 44 */ addi r3, r28, 0x44 +/* 8030F1B4 0030C114 38 C0 00 01 */ li r6, 1 +/* 8030F1B8 0030C118 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 8030F1BC 0030C11C 48 04 97 19 */ bl PostConstruct__10CARAMTokenFPvUi +/* 8030F1C0 0030C120 7F 83 E3 78 */ mr r3, r28 +/* 8030F1C4 0030C124 48 00 06 6D */ bl InitTextureObjects__8CTextureFv +/* 8030F1C8 0030C128 28 1F 00 00 */ cmplwi r31, 0 +/* 8030F1CC 0030C12C 41 82 00 0C */ beq lbl_8030F1D8 +/* 8030F1D0 0030C130 7F 83 E3 78 */ mr r3, r28 +/* 8030F1D4 0030C134 4B FF F9 AD */ bl LoadToARAM__8CTextureCFv +lbl_8030F1D8: +/* 8030F1D8 0030C138 38 60 00 01 */ li r3, 1 +/* 8030F1DC 0030C13C 48 00 00 08 */ b lbl_8030F1E4 +lbl_8030F1E0: +/* 8030F1E0 0030C140 38 60 00 00 */ li r3, 0 +lbl_8030F1E4: +/* 8030F1E4 0030C144 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030F1E8 0030C148 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030F1EC 0030C14C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030F1F0 0030C150 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030F1F4 0030C154 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8030F1F8 0030C158 7C 08 03 A6 */ mtlr r0 +/* 8030F1FC 0030C15C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030F200 0030C160 4E 80 00 20 */ blr + +.global UnloadBitmapData__8CTextureCFUi +UnloadBitmapData__8CTextureCFUi: +/* 8030F204 0030C164 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030F208 0030C168 7C 08 02 A6 */ mflr r0 +/* 8030F20C 0030C16C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030F210 0030C170 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8030F214 0030C174 7C 9B 23 78 */ mr r27, r4 +/* 8030F218 0030C178 7C 7F 1B 78 */ mr r31, r3 +/* 8030F21C 0030C17C 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8030F220 0030C180 28 04 00 00 */ cmplwi r4, 0 +/* 8030F224 0030C184 41 82 00 8C */ beq lbl_8030F2B0 +/* 8030F228 0030C188 3C 60 80 3D */ lis r3, lbl_803D7400@ha +/* 8030F22C 0030C18C 8B C4 00 10 */ lbz r30, 0x10(r4) +/* 8030F230 0030C190 38 83 74 00 */ addi r4, r3, lbl_803D7400@l +/* 8030F234 0030C194 38 A0 00 00 */ li r5, 0 +/* 8030F238 0030C198 38 60 00 1C */ li r3, 0x1c +/* 8030F23C 0030C19C 48 00 66 31 */ bl __nw__FUlPCcPCc +/* 8030F240 0030C1A0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030F244 0030C1A4 41 82 00 18 */ beq lbl_8030F25C +/* 8030F248 0030C1A8 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8030F24C 0030C1AC 7F 64 DB 78 */ mr r4, r27 +/* 8030F250 0030C1B0 7F C6 F3 78 */ mr r6, r30 +/* 8030F254 0030C1B4 4B FF FE 11 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib +/* 8030F258 0030C1B8 7C 7D 1B 78 */ mr r29, r3 +lbl_8030F25C: +/* 8030F25C 0030C1BC 83 DF 00 14 */ lwz r30, 0x14(r31) +/* 8030F260 0030C1C0 28 1E 00 00 */ cmplwi r30, 0 +/* 8030F264 0030C1C4 41 82 00 44 */ beq lbl_8030F2A8 +/* 8030F268 0030C1C8 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8030F26C 0030C1CC 41 82 00 0C */ beq lbl_8030F278 +/* 8030F270 0030C1D0 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8030F274 0030C1D4 48 00 66 BD */ bl Free__7CMemoryFPCv +lbl_8030F278: +/* 8030F278 0030C1D8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8030F27C 0030C1DC 41 82 00 24 */ beq lbl_8030F2A0 +/* 8030F280 0030C1E0 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8030F284 0030C1E4 28 03 00 00 */ cmplwi r3, 0 +/* 8030F288 0030C1E8 41 82 00 18 */ beq lbl_8030F2A0 +/* 8030F28C 0030C1EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F290 0030C1F0 38 80 00 01 */ li r4, 1 +/* 8030F294 0030C1F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F298 0030C1F8 7D 89 03 A6 */ mtctr r12 +/* 8030F29C 0030C1FC 4E 80 04 21 */ bctrl +lbl_8030F2A0: +/* 8030F2A0 0030C200 7F C3 F3 78 */ mr r3, r30 +/* 8030F2A4 0030C204 48 00 66 8D */ bl Free__7CMemoryFPCv +lbl_8030F2A8: +/* 8030F2A8 0030C208 93 BF 00 14 */ stw r29, 0x14(r31) +/* 8030F2AC 0030C20C 48 00 00 D8 */ b lbl_8030F384 +lbl_8030F2B0: +/* 8030F2B0 0030C210 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8030F2B4 0030C214 3B A0 00 01 */ li r29, 1 +/* 8030F2B8 0030C218 38 00 00 00 */ li r0, 0 +/* 8030F2BC 0030C21C 2C 03 00 00 */ cmpwi r3, 0 +/* 8030F2C0 0030C220 41 82 00 0C */ beq lbl_8030F2CC +/* 8030F2C4 0030C224 2C 03 00 02 */ cmpwi r3, 2 +/* 8030F2C8 0030C228 40 82 00 08 */ bne lbl_8030F2D0 +lbl_8030F2CC: +/* 8030F2CC 0030C22C 38 00 00 01 */ li r0, 1 +lbl_8030F2D0: +/* 8030F2D0 0030C230 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030F2D4 0030C234 40 82 00 10 */ bne lbl_8030F2E4 +/* 8030F2D8 0030C238 2C 03 00 05 */ cmpwi r3, 5 +/* 8030F2DC 0030C23C 41 82 00 08 */ beq lbl_8030F2E4 +/* 8030F2E0 0030C240 3B A0 00 00 */ li r29, 0 +lbl_8030F2E4: +/* 8030F2E4 0030C244 38 61 00 08 */ addi r3, r1, 8 +/* 8030F2E8 0030C248 48 04 98 15 */ bl __ct__10CARAMTokenFv +/* 8030F2EC 0030C24C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030F2F0 0030C250 38 81 00 08 */ addi r4, r1, 8 +/* 8030F2F4 0030C254 48 04 95 81 */ bl __as__10CARAMTokenFRC10CARAMToken +/* 8030F2F8 0030C258 38 61 00 08 */ addi r3, r1, 8 +/* 8030F2FC 0030C25C 38 80 FF FF */ li r4, -1 +/* 8030F300 0030C260 48 04 96 45 */ bl __dt__10CARAMTokenFv +/* 8030F304 0030C264 3C 80 80 3D */ lis r4, lbl_803D7400@ha +/* 8030F308 0030C268 38 60 00 1C */ li r3, 0x1c +/* 8030F30C 0030C26C 38 84 74 00 */ addi r4, r4, lbl_803D7400@l +/* 8030F310 0030C270 38 A0 00 00 */ li r5, 0 +/* 8030F314 0030C274 48 00 65 59 */ bl __nw__FUlPCcPCc +/* 8030F318 0030C278 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8030F31C 0030C27C 41 82 00 18 */ beq lbl_8030F334 +/* 8030F320 0030C280 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8030F324 0030C284 7F 64 DB 78 */ mr r4, r27 +/* 8030F328 0030C288 7F A6 EB 78 */ mr r6, r29 +/* 8030F32C 0030C28C 4B FF FD 39 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib +/* 8030F330 0030C290 7C 7C 1B 78 */ mr r28, r3 +lbl_8030F334: +/* 8030F334 0030C294 83 DF 00 14 */ lwz r30, 0x14(r31) +/* 8030F338 0030C298 28 1E 00 00 */ cmplwi r30, 0 +/* 8030F33C 0030C29C 41 82 00 44 */ beq lbl_8030F380 +/* 8030F340 0030C2A0 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8030F344 0030C2A4 41 82 00 0C */ beq lbl_8030F350 +/* 8030F348 0030C2A8 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8030F34C 0030C2AC 48 00 65 E5 */ bl Free__7CMemoryFPCv +lbl_8030F350: +/* 8030F350 0030C2B0 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8030F354 0030C2B4 41 82 00 24 */ beq lbl_8030F378 +/* 8030F358 0030C2B8 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8030F35C 0030C2BC 28 03 00 00 */ cmplwi r3, 0 +/* 8030F360 0030C2C0 41 82 00 18 */ beq lbl_8030F378 +/* 8030F364 0030C2C4 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F368 0030C2C8 38 80 00 01 */ li r4, 1 +/* 8030F36C 0030C2CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F370 0030C2D0 7D 89 03 A6 */ mtctr r12 +/* 8030F374 0030C2D4 4E 80 04 21 */ bctrl +lbl_8030F378: +/* 8030F378 0030C2D8 7F C3 F3 78 */ mr r3, r30 +/* 8030F37C 0030C2DC 48 00 65 B5 */ bl Free__7CMemoryFPCv +lbl_8030F380: +/* 8030F380 0030C2E0 93 9F 00 14 */ stw r28, 0x14(r31) +lbl_8030F384: +/* 8030F384 0030C2E4 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8030F388 0030C2E8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030F38C 0030C2EC 7C 08 03 A6 */ mtlr r0 +/* 8030F390 0030C2F0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030F394 0030C2F4 4E 80 00 20 */ blr + +.global LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode: +/* 8030F398 0030C2F8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030F39C 0030C2FC 7C 08 02 A6 */ mflr r0 +/* 8030F3A0 0030C300 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030F3A4 0030C304 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8030F3A8 0030C308 7C 7D 1B 78 */ mr r29, r3 +/* 8030F3AC 0030C30C 7C 9E 23 78 */ mr r30, r4 +/* 8030F3B0 0030C310 7C BF 2B 78 */ mr r31, r5 +/* 8030F3B4 0030C314 7C DB 33 78 */ mr r27, r6 +/* 8030F3B8 0030C318 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030F3BC 0030C31C 48 04 8F 79 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030F3C0 0030C320 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 8030F3C4 0030C324 2C 1E 00 00 */ cmpwi r30, 0 +/* 8030F3C8 0030C328 80 DD 00 24 */ lwz r6, 0x24(r29) +/* 8030F3CC 0030C32C 7C 60 1B 78 */ mr r0, r3 +/* 8030F3D0 0030C330 83 9D 00 28 */ lwz r28, 0x28(r29) +/* 8030F3D4 0030C334 7F 68 DB 78 */ mr r8, r27 +/* 8030F3D8 0030C338 81 9D 00 2C */ lwz r12, 0x2c(r29) +/* 8030F3DC 0030C33C 38 80 00 00 */ li r4, 0 +/* 8030F3E0 0030C340 81 7D 00 30 */ lwz r11, 0x30(r29) +/* 8030F3E4 0030C344 38 E0 00 00 */ li r7, 0 +/* 8030F3E8 0030C348 81 5D 00 34 */ lwz r10, 0x34(r29) +/* 8030F3EC 0030C34C 81 3D 00 38 */ lwz r9, 0x38(r29) +/* 8030F3F0 0030C350 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 8030F3F4 0030C354 90 A1 00 08 */ stw r5, 8(r1) +/* 8030F3F8 0030C358 A8 BD 00 04 */ lha r5, 4(r29) +/* 8030F3FC 0030C35C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8030F400 0030C360 A8 DD 00 06 */ lha r6, 6(r29) +/* 8030F404 0030C364 93 81 00 10 */ stw r28, 0x10(r1) +/* 8030F408 0030C368 91 81 00 14 */ stw r12, 0x14(r1) +/* 8030F40C 0030C36C 91 61 00 18 */ stw r11, 0x18(r1) +/* 8030F410 0030C370 91 41 00 1C */ stw r10, 0x1c(r1) +/* 8030F414 0030C374 91 21 00 20 */ stw r9, 0x20(r1) +/* 8030F418 0030C378 90 61 00 24 */ stw r3, 0x24(r1) +/* 8030F41C 0030C37C 40 81 02 7C */ ble lbl_8030F698 +/* 8030F420 0030C380 2C 1E 00 08 */ cmpwi r30, 8 +/* 8030F424 0030C384 39 3E FF F8 */ addi r9, r30, -8 +/* 8030F428 0030C388 40 81 02 10 */ ble lbl_8030F638 +/* 8030F42C 0030C38C 38 69 00 07 */ addi r3, r9, 7 +/* 8030F430 0030C390 54 63 E8 FE */ srwi r3, r3, 3 +/* 8030F434 0030C394 7C 69 03 A6 */ mtctr r3 +/* 8030F438 0030C398 2C 09 00 00 */ cmpwi r9, 0 +/* 8030F43C 0030C39C 40 81 01 FC */ ble lbl_8030F638 +lbl_8030F440: +/* 8030F440 0030C3A0 38 65 00 03 */ addi r3, r5, 3 +/* 8030F444 0030C3A4 39 26 00 03 */ addi r9, r6, 3 +/* 8030F448 0030C3A8 54 6B 00 3A */ rlwinm r11, r3, 0, 0, 0x1d +/* 8030F44C 0030C3AC 88 7D 00 09 */ lbz r3, 9(r29) +/* 8030F450 0030C3B0 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F454 0030C3B4 54 AA 0F FE */ srwi r10, r5, 0x1f +/* 8030F458 0030C3B8 7D 6B 49 D6 */ mullw r11, r11, r9 +/* 8030F45C 0030C3BC 7C 63 07 74 */ extsb r3, r3 +/* 8030F460 0030C3C0 54 C9 0F FE */ srwi r9, r6, 0x1f +/* 8030F464 0030C3C4 7D 4A 2A 14 */ add r10, r10, r5 +/* 8030F468 0030C3C8 7D 29 32 14 */ add r9, r9, r6 +/* 8030F46C 0030C3CC 7D 63 59 D6 */ mullw r11, r3, r11 +/* 8030F470 0030C3D0 7D 6B 1E 70 */ srawi r11, r11, 3 +/* 8030F474 0030C3D4 7D 6B 01 94 */ addze r11, r11 +/* 8030F478 0030C3D8 7D 4A 0E 70 */ srawi r10, r10, 1 +/* 8030F47C 0030C3DC 7D 29 0E 70 */ srawi r9, r9, 1 +/* 8030F480 0030C3E0 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F484 0030C3E4 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F488 0030C3E8 39 29 00 03 */ addi r9, r9, 3 +/* 8030F48C 0030C3EC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F490 0030C3F0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F494 0030C3F4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F498 0030C3F8 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F49C 0030C3FC 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F4A0 0030C400 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F4A4 0030C404 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F4A8 0030C408 7D 69 01 94 */ addze r11, r9 +/* 8030F4AC 0030C40C 7C A9 16 70 */ srawi r9, r5, 2 +/* 8030F4B0 0030C410 7D 49 01 94 */ addze r10, r9 +/* 8030F4B4 0030C414 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F4B8 0030C418 7C C9 16 70 */ srawi r9, r6, 2 +/* 8030F4BC 0030C41C 7D 29 01 94 */ addze r9, r9 +/* 8030F4C0 0030C420 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F4C4 0030C424 39 29 00 03 */ addi r9, r9, 3 +/* 8030F4C8 0030C428 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F4CC 0030C42C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F4D0 0030C430 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F4D4 0030C434 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F4D8 0030C438 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F4DC 0030C43C 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F4E0 0030C440 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F4E4 0030C444 7D 69 01 94 */ addze r11, r9 +/* 8030F4E8 0030C448 7C A9 1E 70 */ srawi r9, r5, 3 +/* 8030F4EC 0030C44C 7D 49 01 94 */ addze r10, r9 +/* 8030F4F0 0030C450 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F4F4 0030C454 7C C9 1E 70 */ srawi r9, r6, 3 +/* 8030F4F8 0030C458 7D 29 01 94 */ addze r9, r9 +/* 8030F4FC 0030C45C 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F500 0030C460 39 29 00 03 */ addi r9, r9, 3 +/* 8030F504 0030C464 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F508 0030C468 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F50C 0030C46C 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F510 0030C470 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F514 0030C474 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F518 0030C478 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F51C 0030C47C 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F520 0030C480 7D 69 01 94 */ addze r11, r9 +/* 8030F524 0030C484 7C A9 26 70 */ srawi r9, r5, 4 +/* 8030F528 0030C488 7D 49 01 94 */ addze r10, r9 +/* 8030F52C 0030C48C 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F530 0030C490 7C C9 26 70 */ srawi r9, r6, 4 +/* 8030F534 0030C494 7D 29 01 94 */ addze r9, r9 +/* 8030F538 0030C498 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F53C 0030C49C 39 29 00 03 */ addi r9, r9, 3 +/* 8030F540 0030C4A0 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F544 0030C4A4 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F548 0030C4A8 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F54C 0030C4AC 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F550 0030C4B0 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F554 0030C4B4 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F558 0030C4B8 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F55C 0030C4BC 7D 69 01 94 */ addze r11, r9 +/* 8030F560 0030C4C0 7C A9 2E 70 */ srawi r9, r5, 5 +/* 8030F564 0030C4C4 7D 49 01 94 */ addze r10, r9 +/* 8030F568 0030C4C8 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F56C 0030C4CC 7C C9 2E 70 */ srawi r9, r6, 5 +/* 8030F570 0030C4D0 7D 29 01 94 */ addze r9, r9 +/* 8030F574 0030C4D4 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F578 0030C4D8 39 29 00 03 */ addi r9, r9, 3 +/* 8030F57C 0030C4DC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F580 0030C4E0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F584 0030C4E4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F588 0030C4E8 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F58C 0030C4EC 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F590 0030C4F0 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F594 0030C4F4 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F598 0030C4F8 7D 69 01 94 */ addze r11, r9 +/* 8030F59C 0030C4FC 7C A9 36 70 */ srawi r9, r5, 6 +/* 8030F5A0 0030C500 7D 49 01 94 */ addze r10, r9 +/* 8030F5A4 0030C504 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F5A8 0030C508 7C C9 36 70 */ srawi r9, r6, 6 +/* 8030F5AC 0030C50C 7D 29 01 94 */ addze r9, r9 +/* 8030F5B0 0030C510 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F5B4 0030C514 39 29 00 03 */ addi r9, r9, 3 +/* 8030F5B8 0030C518 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F5BC 0030C51C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F5C0 0030C520 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F5C4 0030C524 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F5C8 0030C528 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F5CC 0030C52C 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F5D0 0030C530 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F5D4 0030C534 7D 29 01 94 */ addze r9, r9 +/* 8030F5D8 0030C538 39 29 00 1F */ addi r9, r9, 0x1f +/* 8030F5DC 0030C53C 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a +/* 8030F5E0 0030C540 7C 84 4A 14 */ add r4, r4, r9 +/* 8030F5E4 0030C544 7C A9 3E 70 */ srawi r9, r5, 7 +/* 8030F5E8 0030C548 38 E7 00 08 */ addi r7, r7, 8 +/* 8030F5EC 0030C54C 7D 49 01 94 */ addze r10, r9 +/* 8030F5F0 0030C550 7C C9 3E 70 */ srawi r9, r6, 7 +/* 8030F5F4 0030C554 7D 29 01 94 */ addze r9, r9 +/* 8030F5F8 0030C558 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F5FC 0030C55C 39 29 00 03 */ addi r9, r9, 3 +/* 8030F600 0030C560 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F604 0030C564 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F608 0030C568 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F60C 0030C56C 7C 63 49 D6 */ mullw r3, r3, r9 +/* 8030F610 0030C570 7C 63 1E 70 */ srawi r3, r3, 3 +/* 8030F614 0030C574 7D 23 01 94 */ addze r9, r3 +/* 8030F618 0030C578 7C A3 46 70 */ srawi r3, r5, 8 +/* 8030F61C 0030C57C 39 29 00 1F */ addi r9, r9, 0x1f +/* 8030F620 0030C580 7C A3 01 94 */ addze r5, r3 +/* 8030F624 0030C584 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a +/* 8030F628 0030C588 7C C3 46 70 */ srawi r3, r6, 8 +/* 8030F62C 0030C58C 7C 84 4A 14 */ add r4, r4, r9 +/* 8030F630 0030C590 7C C3 01 94 */ addze r6, r3 +/* 8030F634 0030C594 42 00 FE 0C */ bdnz lbl_8030F440 +lbl_8030F638: +/* 8030F638 0030C598 7C 67 F0 50 */ subf r3, r7, r30 +/* 8030F63C 0030C59C 7C 69 03 A6 */ mtctr r3 +/* 8030F640 0030C5A0 7C 07 F0 00 */ cmpw r7, r30 +/* 8030F644 0030C5A4 40 80 00 54 */ bge lbl_8030F698 +lbl_8030F648: +/* 8030F648 0030C5A8 38 E5 00 03 */ addi r7, r5, 3 +/* 8030F64C 0030C5AC 38 66 00 03 */ addi r3, r6, 3 +/* 8030F650 0030C5B0 54 E9 00 3A */ rlwinm r9, r7, 0, 0, 0x1d +/* 8030F654 0030C5B4 89 5D 00 09 */ lbz r10, 9(r29) +/* 8030F658 0030C5B8 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 8030F65C 0030C5BC 54 A7 0F FE */ srwi r7, r5, 0x1f +/* 8030F660 0030C5C0 7D 29 19 D6 */ mullw r9, r9, r3 +/* 8030F664 0030C5C4 7D 4A 07 74 */ extsb r10, r10 +/* 8030F668 0030C5C8 54 C3 0F FE */ srwi r3, r6, 0x1f +/* 8030F66C 0030C5CC 7C A7 2A 14 */ add r5, r7, r5 +/* 8030F670 0030C5D0 7C 63 32 14 */ add r3, r3, r6 +/* 8030F674 0030C5D4 7C CA 49 D6 */ mullw r6, r10, r9 +/* 8030F678 0030C5D8 7C C6 1E 70 */ srawi r6, r6, 3 +/* 8030F67C 0030C5DC 7C C6 01 94 */ addze r6, r6 +/* 8030F680 0030C5E0 38 C6 00 1F */ addi r6, r6, 0x1f +/* 8030F684 0030C5E4 7C A5 0E 70 */ srawi r5, r5, 1 +/* 8030F688 0030C5E8 54 C7 00 34 */ rlwinm r7, r6, 0, 0, 0x1a +/* 8030F68C 0030C5EC 7C 66 0E 70 */ srawi r6, r3, 1 +/* 8030F690 0030C5F0 7C 84 3A 14 */ add r4, r4, r7 +/* 8030F694 0030C5F4 42 00 FF B4 */ bdnz lbl_8030F648 +lbl_8030F698: +/* 8030F698 0030C5F8 80 FD 00 18 */ lwz r7, 0x18(r29) +/* 8030F69C 0030C5FC 7D 09 43 78 */ mr r9, r8 +/* 8030F6A0 0030C600 38 61 00 08 */ addi r3, r1, 8 +/* 8030F6A4 0030C604 7C 80 22 14 */ add r4, r0, r4 +/* 8030F6A8 0030C608 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 8030F6AC 0030C60C 54 C6 04 3E */ clrlwi r6, r6, 0x10 +/* 8030F6B0 0030C610 39 40 00 00 */ li r10, 0 +/* 8030F6B4 0030C614 48 06 A7 B1 */ bl GXInitTexObj +/* 8030F6B8 0030C618 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2) +/* 8030F6BC 0030C61C 38 61 00 08 */ addi r3, r1, 8 +/* 8030F6C0 0030C620 38 80 00 01 */ li r4, 1 +/* 8030F6C4 0030C624 38 A0 00 01 */ li r5, 1 +/* 8030F6C8 0030C628 FC 40 08 90 */ fmr f2, f1 +/* 8030F6CC 0030C62C 38 C0 00 00 */ li r6, 0 +/* 8030F6D0 0030C630 FC 60 08 90 */ fmr f3, f1 +/* 8030F6D4 0030C634 38 E0 00 00 */ li r7, 0 +/* 8030F6D8 0030C638 39 00 00 00 */ li r8, 0 +/* 8030F6DC 0030C63C 48 06 AA 45 */ bl GXInitTexObjLOD +/* 8030F6E0 0030C640 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030F6E4 0030C644 28 03 00 00 */ cmplwi r3, 0 +/* 8030F6E8 0030C648 41 82 00 18 */ beq lbl_8030F700 +/* 8030F6EC 0030C64C 4B FF E7 D9 */ bl Load__16CGraphicsPaletteCFv +/* 8030F6F0 0030C650 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F6F4 0030C654 38 60 00 00 */ li r3, 0 +/* 8030F6F8 0030C658 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8030F6FC 0030C65C 98 1D 00 0A */ stb r0, 0xa(r29) +lbl_8030F700: +/* 8030F700 0030C660 7F E4 FB 78 */ mr r4, r31 +/* 8030F704 0030C664 38 61 00 08 */ addi r3, r1, 8 +/* 8030F708 0030C668 48 06 AD 8D */ bl GXLoadTexObj +/* 8030F70C 0030C66C 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030F710 0030C670 3C 60 80 4C */ lis r3, lbl_804BFD10@ha +/* 8030F714 0030C674 57 E4 10 3A */ slwi r4, r31, 2 +/* 8030F718 0030C678 38 A0 00 00 */ li r5, 0 +/* 8030F71C 0030C67C 38 63 FD 10 */ addi r3, r3, lbl_804BFD10@l +/* 8030F720 0030C680 90 1D 00 64 */ stw r0, 0x64(r29) +/* 8030F724 0030C684 7C A3 21 2E */ stwx r5, r3, r4 +/* 8030F728 0030C688 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8030F72C 0030C68C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030F730 0030C690 7C 08 03 A6 */ mtlr r0 +/* 8030F734 0030C694 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030F738 0030C698 4E 80 00 20 */ blr + +.global Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode: +/* 8030F73C 0030C69C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030F740 0030C6A0 7C 08 02 A6 */ mflr r0 +/* 8030F744 0030C6A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030F748 0030C6A8 BF 41 00 08 */ stmw r26, 8(r1) +/* 8030F74C 0030C6AC 7C 9E 23 78 */ mr r30, r4 +/* 8030F750 0030C6B0 3C 80 80 4C */ lis r4, lbl_804BFD10@ha +/* 8030F754 0030C6B4 7C 7D 1B 78 */ mr r29, r3 +/* 8030F758 0030C6B8 57 DF 10 3A */ slwi r31, r30, 2 +/* 8030F75C 0030C6BC 7C BA 2B 78 */ mr r26, r5 +/* 8030F760 0030C6C0 3B 84 FD 10 */ addi r28, r4, lbl_804BFD10@l +/* 8030F764 0030C6C4 7C 1C F8 2E */ lwzx r0, r28, r31 +/* 8030F768 0030C6C8 7C 00 E8 40 */ cmplw r0, r29 +/* 8030F76C 0030C6CC 40 82 00 10 */ bne lbl_8030F77C +/* 8030F770 0030C6D0 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F774 0030C6D4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8030F778 0030C6D8 41 82 00 A4 */ beq lbl_8030F81C +lbl_8030F77C: +/* 8030F77C 0030C6DC 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030F780 0030C6E0 48 04 8B B5 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030F784 0030C6E4 7C 60 1B 78 */ mr r0, r3 +/* 8030F788 0030C6E8 7F A3 EB 78 */ mr r3, r29 +/* 8030F78C 0030C6EC 7C 1B 03 78 */ mr r27, r0 +/* 8030F790 0030C6F0 4B FF E9 FD */ bl CountMemory__8CTextureCFv +/* 8030F794 0030C6F4 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030F798 0030C6F8 28 03 00 00 */ cmplwi r3, 0 +/* 8030F79C 0030C6FC 41 82 00 18 */ beq lbl_8030F7B4 +/* 8030F7A0 0030C700 4B FF E7 25 */ bl Load__16CGraphicsPaletteCFv +/* 8030F7A4 0030C704 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F7A8 0030C708 38 60 00 00 */ li r3, 0 +/* 8030F7AC 0030C70C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8030F7B0 0030C710 98 1D 00 0A */ stb r0, 0xa(r29) +lbl_8030F7B4: +/* 8030F7B4 0030C714 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F7B8 0030C718 38 60 00 00 */ li r3, 0 +/* 8030F7BC 0030C71C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8030F7C0 0030C720 98 1D 00 0A */ stb r0, 0xa(r29) +/* 8030F7C4 0030C724 80 1D 00 40 */ lwz r0, 0x40(r29) +/* 8030F7C8 0030C728 7C 00 D0 00 */ cmpw r0, r26 +/* 8030F7CC 0030C72C 41 82 00 2C */ beq lbl_8030F7F8 +/* 8030F7D0 0030C730 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F7D4 0030C734 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8030F7D8 0030C738 40 82 00 0C */ bne lbl_8030F7E4 +/* 8030F7DC 0030C73C 90 7D 00 40 */ stw r3, 0x40(r29) +/* 8030F7E0 0030C740 48 00 00 08 */ b lbl_8030F7E8 +lbl_8030F7E4: +/* 8030F7E4 0030C744 93 5D 00 40 */ stw r26, 0x40(r29) +lbl_8030F7E8: +/* 8030F7E8 0030C748 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 8030F7EC 0030C74C 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8030F7F0 0030C750 7C 85 23 78 */ mr r5, r4 +/* 8030F7F4 0030C754 48 06 AA D9 */ bl GXInitTexObjWrapMode +lbl_8030F7F8: +/* 8030F7F8 0030C758 7F 64 DB 78 */ mr r4, r27 +/* 8030F7FC 0030C75C 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8030F800 0030C760 48 06 AA B5 */ bl GXInitTexObjData +/* 8030F804 0030C764 7F C4 F3 78 */ mr r4, r30 +/* 8030F808 0030C768 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8030F80C 0030C76C 48 06 AC 89 */ bl GXLoadTexObj +/* 8030F810 0030C770 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030F814 0030C774 7F BC F9 2E */ stwx r29, r28, r31 +/* 8030F818 0030C778 90 1D 00 64 */ stw r0, 0x64(r29) +lbl_8030F81C: +/* 8030F81C 0030C77C BB 41 00 08 */ lmw r26, 8(r1) +/* 8030F820 0030C780 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030F824 0030C784 7C 08 03 A6 */ mtlr r0 +/* 8030F828 0030C788 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030F82C 0030C78C 4E 80 00 20 */ blr + +.global InitTextureObjects__8CTextureFv +InitTextureObjects__8CTextureFv: +/* 8030F830 0030C790 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030F834 0030C794 7C 08 02 A6 */ mflr r0 +/* 8030F838 0030C798 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030F83C 0030C79C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8030F840 0030C7A0 7C 7F 1B 78 */ mr r31, r3 +/* 8030F844 0030C7A4 3B C0 00 00 */ li r30, 0 +/* 8030F848 0030C7A8 A8 63 00 04 */ lha r3, 4(r3) +/* 8030F84C 0030C7AC 48 00 54 0D */ bl FloorPowerOfTwo__5CMathFi +/* 8030F850 0030C7B0 A8 1F 00 04 */ lha r0, 4(r31) +/* 8030F854 0030C7B4 7C 00 18 00 */ cmpw r0, r3 +/* 8030F858 0030C7B8 40 82 00 1C */ bne lbl_8030F874 +/* 8030F85C 0030C7BC A8 7F 00 06 */ lha r3, 6(r31) +/* 8030F860 0030C7C0 48 00 53 F9 */ bl FloorPowerOfTwo__5CMathFi +/* 8030F864 0030C7C4 A8 1F 00 06 */ lha r0, 6(r31) +/* 8030F868 0030C7C8 7C 00 18 00 */ cmpw r0, r3 +/* 8030F86C 0030C7CC 40 82 00 08 */ bne lbl_8030F874 +/* 8030F870 0030C7D0 3B C0 00 01 */ li r30, 1 +lbl_8030F874: +/* 8030F874 0030C7D4 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8030F878 0030C7D8 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a +/* 8030F87C 0030C7DC 98 1F 00 0A */ stb r0, 0xa(r31) +/* 8030F880 0030C7E0 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8030F884 0030C7E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8030F888 0030C7E8 40 82 00 0C */ bne lbl_8030F894 +/* 8030F88C 0030C7EC 38 00 00 00 */ li r0, 0 +/* 8030F890 0030C7F0 90 1F 00 40 */ stw r0, 0x40(r31) +lbl_8030F894: +/* 8030F894 0030C7F4 88 9F 00 08 */ lbz r4, 8(r31) +/* 8030F898 0030C7F8 38 00 00 01 */ li r0, 1 +/* 8030F89C 0030C7FC 83 BF 00 40 */ lwz r29, 0x40(r31) +/* 8030F8A0 0030C800 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030F8A4 0030C804 7C 85 07 74 */ extsb r5, r4 +/* 8030F8A8 0030C808 AB 9F 00 04 */ lha r28, 4(r31) +/* 8030F8AC 0030C80C 7C A0 02 78 */ xor r0, r5, r0 +/* 8030F8B0 0030C810 AB 7F 00 06 */ lha r27, 6(r31) +/* 8030F8B4 0030C814 7C 04 0E 70 */ srawi r4, r0, 1 +/* 8030F8B8 0030C818 7C 00 28 38 */ and r0, r0, r5 +/* 8030F8BC 0030C81C 7C 00 20 50 */ subf r0, r0, r4 +/* 8030F8C0 0030C820 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 8030F8C4 0030C824 48 04 8A 71 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030F8C8 0030C828 7C 60 1B 78 */ mr r0, r3 +/* 8030F8CC 0030C82C 7F E3 FB 78 */ mr r3, r31 +/* 8030F8D0 0030C830 7C 1A 03 78 */ mr r26, r0 +/* 8030F8D4 0030C834 4B FF E8 B9 */ bl CountMemory__8CTextureCFv +/* 8030F8D8 0030C838 80 1F 00 00 */ lwz r0, 0(r31) +/* 8030F8DC 0030C83C 2C 00 00 04 */ cmpwi r0, 4 +/* 8030F8E0 0030C840 40 82 00 0C */ bne lbl_8030F8EC +/* 8030F8E4 0030C844 38 00 00 01 */ li r0, 1 +/* 8030F8E8 0030C848 48 00 00 20 */ b lbl_8030F908 +lbl_8030F8EC: +/* 8030F8EC 0030C84C 2C 00 00 05 */ cmpwi r0, 5 +/* 8030F8F0 0030C850 40 82 00 0C */ bne lbl_8030F8FC +/* 8030F8F4 0030C854 38 00 00 01 */ li r0, 1 +/* 8030F8F8 0030C858 48 00 00 10 */ b lbl_8030F908 +lbl_8030F8FC: +/* 8030F8FC 0030C85C 20 00 00 06 */ subfic r0, r0, 6 +/* 8030F900 0030C860 7C 00 00 34 */ cntlzw r0, r0 +/* 8030F904 0030C864 54 00 D9 7E */ srwi r0, r0, 5 +lbl_8030F908: +/* 8030F908 0030C868 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030F90C 0030C86C 41 82 00 34 */ beq lbl_8030F940 +/* 8030F910 0030C870 38 00 00 00 */ li r0, 0 +/* 8030F914 0030C874 7F 44 D3 78 */ mr r4, r26 +/* 8030F918 0030C878 90 01 00 08 */ stw r0, 8(r1) +/* 8030F91C 0030C87C 7F A8 EB 78 */ mr r8, r29 +/* 8030F920 0030C880 7F A9 EB 78 */ mr r9, r29 +/* 8030F924 0030C884 7F CA F3 78 */ mr r10, r30 +/* 8030F928 0030C888 80 FF 00 1C */ lwz r7, 0x1c(r31) +/* 8030F92C 0030C88C 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8030F930 0030C890 57 85 04 3E */ clrlwi r5, r28, 0x10 +/* 8030F934 0030C894 57 66 04 3E */ clrlwi r6, r27, 0x10 +/* 8030F938 0030C898 48 06 A7 A1 */ bl GXInitTexObjCI +/* 8030F93C 0030C89C 48 00 00 98 */ b lbl_8030F9D4 +lbl_8030F940: +/* 8030F940 0030C8A0 80 FF 00 18 */ lwz r7, 0x18(r31) +/* 8030F944 0030C8A4 7F 44 D3 78 */ mr r4, r26 +/* 8030F948 0030C8A8 7F A8 EB 78 */ mr r8, r29 +/* 8030F94C 0030C8AC 7F A9 EB 78 */ mr r9, r29 +/* 8030F950 0030C8B0 7F CA F3 78 */ mr r10, r30 +/* 8030F954 0030C8B4 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8030F958 0030C8B8 57 85 04 3E */ clrlwi r5, r28, 0x10 +/* 8030F95C 0030C8BC 57 66 04 3E */ clrlwi r6, r27, 0x10 +/* 8030F960 0030C8C0 48 06 A5 05 */ bl GXInitTexObj +/* 8030F964 0030C8C4 88 BF 00 08 */ lbz r5, 8(r31) +/* 8030F968 0030C8C8 39 00 00 00 */ li r8, 0 +/* 8030F96C 0030C8CC 7C A0 07 74 */ extsb r0, r5 +/* 8030F970 0030C8D0 2C 00 00 01 */ cmpwi r0, 1 +/* 8030F974 0030C8D4 40 81 00 08 */ ble lbl_8030F97C +/* 8030F978 0030C8D8 39 00 00 02 */ li r8, 2 +lbl_8030F97C: +/* 8030F97C 0030C8DC 7C A0 07 74 */ extsb r0, r5 +/* 8030F980 0030C8E0 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8030F984 0030C8E4 2C 00 00 01 */ cmpwi r0, 1 +/* 8030F988 0030C8E8 38 80 00 01 */ li r4, 1 +/* 8030F98C 0030C8EC 40 81 00 08 */ ble lbl_8030F994 +/* 8030F990 0030C8F0 38 80 00 05 */ li r4, 5 +lbl_8030F994: +/* 8030F994 0030C8F4 7C A5 07 74 */ extsb r5, r5 +/* 8030F998 0030C8F8 3C 00 43 30 */ lis r0, 0x4330 +/* 8030F99C 0030C8FC 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030F9A0 0030C900 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2) +/* 8030F9A4 0030C904 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8030F9A8 0030C908 38 A0 00 01 */ li r5, 1 +/* 8030F9AC 0030C90C C8 82 C8 40 */ lfd f4, lbl_805AE560@sda21(r2) +/* 8030F9B0 0030C910 FC 60 08 90 */ fmr f3, f1 +/* 8030F9B4 0030C914 90 01 00 10 */ stw r0, 0x10(r1) +/* 8030F9B8 0030C918 38 C0 00 00 */ li r6, 0 +/* 8030F9BC 0030C91C C0 02 C8 3C */ lfs f0, lbl_805AE55C@sda21(r2) +/* 8030F9C0 0030C920 38 E0 00 00 */ li r7, 0 +/* 8030F9C4 0030C924 C8 41 00 10 */ lfd f2, 0x10(r1) +/* 8030F9C8 0030C928 EC 42 20 28 */ fsubs f2, f2, f4 +/* 8030F9CC 0030C92C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8030F9D0 0030C930 48 06 A7 51 */ bl GXInitTexObjLOD +lbl_8030F9D4: +/* 8030F9D4 0030C934 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8030F9D8 0030C938 38 60 00 01 */ li r3, 1 +/* 8030F9DC 0030C93C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8030F9E0 0030C940 98 1F 00 0A */ stb r0, 0xa(r31) +/* 8030F9E4 0030C944 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8030F9E8 0030C948 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030F9EC 0030C94C 7C 08 03 A6 */ mtlr r0 +/* 8030F9F0 0030C950 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030F9F4 0030C954 4E 80 00 20 */ blr + +.global __dt__8CTextureFv +__dt__8CTextureFv: +/* 8030F9F8 0030C958 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030F9FC 0030C95C 7C 08 02 A6 */ mflr r0 +/* 8030FA00 0030C960 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030FA04 0030C964 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030FA08 0030C968 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030FA0C 0030C96C 7C 9E 23 78 */ mr r30, r4 +/* 8030FA10 0030C970 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030FA14 0030C974 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030FA18 0030C978 41 82 00 8C */ beq lbl_8030FAA4 +/* 8030FA1C 0030C97C 4B FF E7 45 */ bl UncountMemory__8CTextureCFv +/* 8030FA20 0030C980 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030FA24 0030C984 38 80 FF FF */ li r4, -1 +/* 8030FA28 0030C988 48 04 8F 1D */ bl __dt__10CARAMTokenFv +/* 8030FA2C 0030C98C 34 1D 00 14 */ addic. r0, r29, 0x14 +/* 8030FA30 0030C990 41 82 00 50 */ beq lbl_8030FA80 +/* 8030FA34 0030C994 83 FD 00 14 */ lwz r31, 0x14(r29) +/* 8030FA38 0030C998 28 1F 00 00 */ cmplwi r31, 0 +/* 8030FA3C 0030C99C 41 82 00 44 */ beq lbl_8030FA80 +/* 8030FA40 0030C9A0 34 1F 00 18 */ addic. r0, r31, 0x18 +/* 8030FA44 0030C9A4 41 82 00 0C */ beq lbl_8030FA50 +/* 8030FA48 0030C9A8 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8030FA4C 0030C9AC 48 00 5E E5 */ bl Free__7CMemoryFPCv +lbl_8030FA50: +/* 8030FA50 0030C9B0 34 1F 00 14 */ addic. r0, r31, 0x14 +/* 8030FA54 0030C9B4 41 82 00 24 */ beq lbl_8030FA78 +/* 8030FA58 0030C9B8 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8030FA5C 0030C9BC 28 03 00 00 */ cmplwi r3, 0 +/* 8030FA60 0030C9C0 41 82 00 18 */ beq lbl_8030FA78 +/* 8030FA64 0030C9C4 81 83 00 00 */ lwz r12, 0(r3) +/* 8030FA68 0030C9C8 38 80 00 01 */ li r4, 1 +/* 8030FA6C 0030C9CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030FA70 0030C9D0 7D 89 03 A6 */ mtctr r12 +/* 8030FA74 0030C9D4 4E 80 04 21 */ bctrl +lbl_8030FA78: +/* 8030FA78 0030C9D8 7F E3 FB 78 */ mr r3, r31 +/* 8030FA7C 0030C9DC 48 00 5E B5 */ bl Free__7CMemoryFPCv +lbl_8030FA80: +/* 8030FA80 0030C9E0 34 1D 00 10 */ addic. r0, r29, 0x10 +/* 8030FA84 0030C9E4 41 82 00 10 */ beq lbl_8030FA94 +/* 8030FA88 0030C9E8 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030FA8C 0030C9EC 38 80 00 01 */ li r4, 1 +/* 8030FA90 0030C9F0 4B FF E4 71 */ bl __dt__16CGraphicsPaletteFv +lbl_8030FA94: +/* 8030FA94 0030C9F4 7F C0 07 35 */ extsh. r0, r30 +/* 8030FA98 0030C9F8 40 81 00 0C */ ble lbl_8030FAA4 +/* 8030FA9C 0030C9FC 7F A3 EB 78 */ mr r3, r29 +/* 8030FAA0 0030CA00 48 00 5E 91 */ bl Free__7CMemoryFPCv +lbl_8030FAA4: +/* 8030FAA4 0030CA04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030FAA8 0030CA08 7F A3 EB 78 */ mr r3, r29 +/* 8030FAAC 0030CA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030FAB0 0030CA10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030FAB4 0030CA14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030FAB8 0030CA18 7C 08 03 A6 */ mtlr r0 +/* 8030FABC 0030CA1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030FAC0 0030CA20 4E 80 00 20 */ blr + +.global __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey +__ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey: +/* 8030FAC4 0030CA24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030FAC8 0030CA28 7C 08 02 A6 */ mflr r0 +/* 8030FACC 0030CA2C 38 E0 00 00 */ li r7, 0 +/* 8030FAD0 0030CA30 38 C0 00 01 */ li r6, 1 +/* 8030FAD4 0030CA34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030FAD8 0030CA38 38 00 FF FF */ li r0, -1 +/* 8030FADC 0030CA3C 38 A0 00 04 */ li r5, 4 +/* 8030FAE0 0030CA40 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8030FAE4 0030CA44 7C 7D 1B 78 */ mr r29, r3 +/* 8030FAE8 0030CA48 7C 9E 23 78 */ mr r30, r4 +/* 8030FAEC 0030CA4C 90 03 00 00 */ stw r0, 0(r3) +/* 8030FAF0 0030CA50 38 00 00 09 */ li r0, 9 +/* 8030FAF4 0030CA54 B0 E3 00 04 */ sth r7, 4(r3) +/* 8030FAF8 0030CA58 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030FAFC 0030CA5C B0 FD 00 06 */ sth r7, 6(r29) +/* 8030FB00 0030CA60 98 FD 00 08 */ stb r7, 8(r29) +/* 8030FB04 0030CA64 98 FD 00 09 */ stb r7, 9(r29) +/* 8030FB08 0030CA68 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB0C 0030CA6C 50 E4 3E 30 */ rlwimi r4, r7, 7, 0x18, 0x18 +/* 8030FB10 0030CA70 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB14 0030CA74 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB18 0030CA78 50 E4 36 72 */ rlwimi r4, r7, 6, 0x19, 0x19 +/* 8030FB1C 0030CA7C 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB20 0030CA80 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB24 0030CA84 50 E4 2E B4 */ rlwimi r4, r7, 5, 0x1a, 0x1a +/* 8030FB28 0030CA88 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB2C 0030CA8C 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB30 0030CA90 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b +/* 8030FB34 0030CA94 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB38 0030CA98 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB3C 0030CA9C 50 E4 1F 38 */ rlwimi r4, r7, 3, 0x1c, 0x1c +/* 8030FB40 0030CAA0 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB44 0030CAA4 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB48 0030CAA8 50 E4 17 7A */ rlwimi r4, r7, 2, 0x1d, 0x1d +/* 8030FB4C 0030CAAC 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB50 0030CAB0 90 FD 00 0C */ stw r7, 0xc(r29) +/* 8030FB54 0030CAB4 90 FD 00 10 */ stw r7, 0x10(r29) +/* 8030FB58 0030CAB8 90 FD 00 14 */ stw r7, 0x14(r29) +/* 8030FB5C 0030CABC 90 BD 00 18 */ stw r5, 0x18(r29) +/* 8030FB60 0030CAC0 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 8030FB64 0030CAC4 90 DD 00 40 */ stw r6, 0x40(r29) +/* 8030FB68 0030CAC8 48 04 8F 95 */ bl __ct__10CARAMTokenFv +/* 8030FB6C 0030CACC 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030FB70 0030CAD0 7F C3 F3 78 */ mr r3, r30 +/* 8030FB74 0030CAD4 90 1D 00 64 */ stw r0, 0x64(r29) +/* 8030FB78 0030CAD8 48 02 F1 0D */ bl ReadLong__12CInputStreamFv +/* 8030FB7C 0030CADC 90 7D 00 00 */ stw r3, 0(r29) +/* 8030FB80 0030CAE0 7F C3 F3 78 */ mr r3, r30 +/* 8030FB84 0030CAE4 48 02 F1 2D */ bl ReadShort__12CInputStreamFv +/* 8030FB88 0030CAE8 B0 7D 00 04 */ sth r3, 4(r29) +/* 8030FB8C 0030CAEC 7F C3 F3 78 */ mr r3, r30 +/* 8030FB90 0030CAF0 48 02 F1 21 */ bl ReadShort__12CInputStreamFv +/* 8030FB94 0030CAF4 B0 7D 00 06 */ sth r3, 6(r29) +/* 8030FB98 0030CAF8 7F C3 F3 78 */ mr r3, r30 +/* 8030FB9C 0030CAFC 48 02 F0 E9 */ bl ReadLong__12CInputStreamFv +/* 8030FBA0 0030CB00 98 7D 00 08 */ stb r3, 8(r29) +/* 8030FBA4 0030CB04 80 1D 00 00 */ lwz r0, 0(r29) +/* 8030FBA8 0030CB08 2C 00 00 04 */ cmpwi r0, 4 +/* 8030FBAC 0030CB0C 40 82 00 0C */ bne lbl_8030FBB8 +/* 8030FBB0 0030CB10 38 00 00 01 */ li r0, 1 +/* 8030FBB4 0030CB14 48 00 00 20 */ b lbl_8030FBD4 +lbl_8030FBB8: +/* 8030FBB8 0030CB18 2C 00 00 05 */ cmpwi r0, 5 +/* 8030FBBC 0030CB1C 40 82 00 0C */ bne lbl_8030FBC8 +/* 8030FBC0 0030CB20 38 00 00 01 */ li r0, 1 +/* 8030FBC4 0030CB24 48 00 00 10 */ b lbl_8030FBD4 +lbl_8030FBC8: +/* 8030FBC8 0030CB28 20 00 00 06 */ subfic r0, r0, 6 +/* 8030FBCC 0030CB2C 7C 00 00 34 */ cntlzw r0, r0 +/* 8030FBD0 0030CB30 54 00 D9 7E */ srwi r0, r0, 5 +lbl_8030FBD4: +/* 8030FBD4 0030CB34 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030FBD8 0030CB38 41 82 00 4C */ beq lbl_8030FC24 +/* 8030FBDC 0030CB3C 3C 80 80 3D */ lis r4, lbl_803D7400@ha +/* 8030FBE0 0030CB40 38 60 00 20 */ li r3, 0x20 +/* 8030FBE4 0030CB44 38 84 74 00 */ addi r4, r4, lbl_803D7400@l +/* 8030FBE8 0030CB48 38 A0 00 00 */ li r5, 0 +/* 8030FBEC 0030CB4C 48 00 5C 81 */ bl __nw__FUlPCcPCc +/* 8030FBF0 0030CB50 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8030FBF4 0030CB54 41 82 00 10 */ beq lbl_8030FC04 +/* 8030FBF8 0030CB58 7F C4 F3 78 */ mr r4, r30 +/* 8030FBFC 0030CB5C 4B FF E3 8D */ bl __ct__16CGraphicsPaletteFR12CInputStream +/* 8030FC00 0030CB60 7C 7C 1B 78 */ mr r28, r3 +lbl_8030FC04: +/* 8030FC04 0030CB64 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030FC08 0030CB68 38 80 00 01 */ li r4, 1 +/* 8030FC0C 0030CB6C 4B FF E2 F5 */ bl __dt__16CGraphicsPaletteFv +/* 8030FC10 0030CB70 93 9D 00 10 */ stw r28, 0x10(r29) +/* 8030FC14 0030CB74 38 60 00 01 */ li r3, 1 +/* 8030FC18 0030CB78 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030FC1C 0030CB7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8030FC20 0030CB80 98 1D 00 0A */ stb r0, 0xa(r29) +lbl_8030FC24: +/* 8030FC24 0030CB84 80 7D 00 00 */ lwz r3, 0(r29) +/* 8030FC28 0030CB88 4B FF EE DD */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +/* 8030FC2C 0030CB8C 98 7D 00 09 */ stb r3, 9(r29) +/* 8030FC30 0030CB90 7F A3 EB 78 */ mr r3, r29 +/* 8030FC34 0030CB94 88 FD 00 08 */ lbz r7, 8(r29) +/* 8030FC38 0030CB98 A8 BD 00 04 */ lha r5, 4(r29) +/* 8030FC3C 0030CB9C A8 DD 00 06 */ lha r6, 6(r29) +/* 8030FC40 0030CBA0 7C E7 07 74 */ extsb r7, r7 +/* 8030FC44 0030CBA4 80 9D 00 00 */ lwz r4, 0(r29) +/* 8030FC48 0030CBA8 4B FF ED 29 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi +/* 8030FC4C 0030CBAC 89 1D 00 08 */ lbz r8, 8(r29) +/* 8030FC50 0030CBB0 3B E0 00 00 */ li r31, 0 +/* 8030FC54 0030CBB4 39 20 00 00 */ li r9, 0 +/* 8030FC58 0030CBB8 7D 08 07 75 */ extsb. r8, r8 +/* 8030FC5C 0030CBBC 40 81 01 20 */ ble lbl_8030FD7C +/* 8030FC60 0030CBC0 55 00 F0 BF */ rlwinm. r0, r8, 0x1e, 2, 0x1f +/* 8030FC64 0030CBC4 7C 09 03 A6 */ mtctr r0 +/* 8030FC68 0030CBC8 41 82 00 D0 */ beq lbl_8030FD38 +lbl_8030FC6C: +/* 8030FC6C 0030CBCC A8 FD 00 04 */ lha r7, 4(r29) +/* 8030FC70 0030CBD0 A8 BD 00 06 */ lha r5, 6(r29) +/* 8030FC74 0030CBD4 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FC78 0030CBD8 88 1D 00 09 */ lbz r0, 9(r29) +/* 8030FC7C 0030CBDC 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FC80 0030CBE0 39 29 00 01 */ addi r9, r9, 1 +/* 8030FC84 0030CBE4 7C 03 07 74 */ extsb r3, r0 +/* 8030FC88 0030CBE8 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FC8C 0030CBEC 38 04 00 03 */ addi r0, r4, 3 +/* 8030FC90 0030CBF0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FC94 0030CBF4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FC98 0030CBF8 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FC9C 0030CBFC 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FCA0 0030CC00 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FCA4 0030CC04 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FCA8 0030CC08 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FCAC 0030CC0C 7F FF 02 14 */ add r31, r31, r0 +/* 8030FCB0 0030CC10 38 04 00 03 */ addi r0, r4, 3 +/* 8030FCB4 0030CC14 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FCB8 0030CC18 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FCBC 0030CC1C 39 29 00 01 */ addi r9, r9, 1 +/* 8030FCC0 0030CC20 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FCC4 0030CC24 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FCC8 0030CC28 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FCCC 0030CC2C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FCD0 0030CC30 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FCD4 0030CC34 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FCD8 0030CC38 7F FF 02 14 */ add r31, r31, r0 +/* 8030FCDC 0030CC3C 38 04 00 03 */ addi r0, r4, 3 +/* 8030FCE0 0030CC40 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FCE4 0030CC44 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FCE8 0030CC48 39 29 00 01 */ addi r9, r9, 1 +/* 8030FCEC 0030CC4C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FCF0 0030CC50 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FCF4 0030CC54 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FCF8 0030CC58 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FCFC 0030CC5C 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FD00 0030CC60 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FD04 0030CC64 7F FF 02 14 */ add r31, r31, r0 +/* 8030FD08 0030CC68 38 04 00 03 */ addi r0, r4, 3 +/* 8030FD0C 0030CC6C 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FD10 0030CC70 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FD14 0030CC74 39 29 00 01 */ addi r9, r9, 1 +/* 8030FD18 0030CC78 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FD1C 0030CC7C 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FD20 0030CC80 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FD24 0030CC84 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FD28 0030CC88 7F FF 02 14 */ add r31, r31, r0 +/* 8030FD2C 0030CC8C 42 00 FF 40 */ bdnz lbl_8030FC6C +/* 8030FD30 0030CC90 71 08 00 03 */ andi. r8, r8, 3 +/* 8030FD34 0030CC94 41 82 00 48 */ beq lbl_8030FD7C +lbl_8030FD38: +/* 8030FD38 0030CC98 7D 09 03 A6 */ mtctr r8 +lbl_8030FD3C: +/* 8030FD3C 0030CC9C A8 FD 00 04 */ lha r7, 4(r29) +/* 8030FD40 0030CCA0 A8 BD 00 06 */ lha r5, 6(r29) +/* 8030FD44 0030CCA4 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FD48 0030CCA8 88 1D 00 09 */ lbz r0, 9(r29) +/* 8030FD4C 0030CCAC 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FD50 0030CCB0 39 29 00 01 */ addi r9, r9, 1 +/* 8030FD54 0030CCB4 7C 03 07 74 */ extsb r3, r0 +/* 8030FD58 0030CCB8 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FD5C 0030CCBC 38 04 00 03 */ addi r0, r4, 3 +/* 8030FD60 0030CCC0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FD64 0030CCC4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FD68 0030CCC8 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FD6C 0030CCCC 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FD70 0030CCD0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FD74 0030CCD4 7F FF 02 14 */ add r31, r31, r0 +/* 8030FD78 0030CCD8 42 00 FF C4 */ bdnz lbl_8030FD3C +lbl_8030FD7C: +/* 8030FD7C 0030CCDC 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030FD80 0030CCE0 48 04 85 B5 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030FD84 0030CCE4 7C 7C 1B 78 */ mr r28, r3 +/* 8030FD88 0030CCE8 3B 40 00 00 */ li r26, 0 +/* 8030FD8C 0030CCEC 48 00 00 3C */ b lbl_8030FDC8 +lbl_8030FD90: +/* 8030FD90 0030CCF0 7F 3A F8 50 */ subf r25, r26, r31 +/* 8030FD94 0030CCF4 2C 19 01 00 */ cmpwi r25, 0x100 +/* 8030FD98 0030CCF8 40 81 00 08 */ ble lbl_8030FDA0 +/* 8030FD9C 0030CCFC 3B 20 01 00 */ li r25, 0x100 +lbl_8030FDA0: +/* 8030FDA0 0030CD00 7F 7C D2 14 */ add r27, r28, r26 +/* 8030FDA4 0030CD04 7F C3 F3 78 */ mr r3, r30 +/* 8030FDA8 0030CD08 7F 64 DB 78 */ mr r4, r27 +/* 8030FDAC 0030CD0C 7F 25 CB 78 */ mr r5, r25 +/* 8030FDB0 0030CD10 48 02 F1 A5 */ bl Get__12CInputStreamFPvUl +/* 8030FDB4 0030CD14 38 19 00 1F */ addi r0, r25, 0x1f +/* 8030FDB8 0030CD18 7F 63 DB 78 */ mr r3, r27 +/* 8030FDBC 0030CD1C 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 8030FDC0 0030CD20 48 06 ED 51 */ bl DCFlushRangeNoSync +/* 8030FDC4 0030CD24 7F 5A CA 14 */ add r26, r26, r25 +lbl_8030FDC8: +/* 8030FDC8 0030CD28 7C 1A F8 00 */ cmpw r26, r31 +/* 8030FDCC 0030CD2C 41 80 FF C4 */ blt lbl_8030FD90 +/* 8030FDD0 0030CD30 88 0D A8 78 */ lbz r0, lbl_805A9438@sda21(r13) +/* 8030FDD4 0030CD34 28 00 00 00 */ cmplwi r0, 0 +/* 8030FDD8 0030CD38 41 82 00 30 */ beq lbl_8030FE08 +/* 8030FDDC 0030CD3C 7F BB EB 78 */ mr r27, r29 +/* 8030FDE0 0030CD40 3B 20 00 01 */ li r25, 1 +/* 8030FDE4 0030CD44 48 00 00 14 */ b lbl_8030FDF8 +lbl_8030FDE8: +/* 8030FDE8 0030CD48 7F 63 DB 78 */ mr r3, r27 +/* 8030FDEC 0030CD4C 7F 24 CB 78 */ mr r4, r25 +/* 8030FDF0 0030CD50 4B FF E3 E5 */ bl MangleMipmap__8CTextureFi +/* 8030FDF4 0030CD54 3B 39 00 01 */ addi r25, r25, 1 +lbl_8030FDF8: +/* 8030FDF8 0030CD58 88 1D 00 08 */ lbz r0, 8(r29) +/* 8030FDFC 0030CD5C 7C 00 07 74 */ extsb r0, r0 +/* 8030FE00 0030CD60 7C 19 00 00 */ cmpw r25, r0 +/* 8030FE04 0030CD64 41 80 FF E4 */ blt lbl_8030FDE8 +lbl_8030FE08: +/* 8030FE08 0030CD68 7F A3 EB 78 */ mr r3, r29 +/* 8030FE0C 0030CD6C 4B FF FA 25 */ bl InitTextureObjects__8CTextureFv +/* 8030FE10 0030CD70 48 05 F9 FD */ bl PPCSync +/* 8030FE14 0030CD74 7F A3 EB 78 */ mr r3, r29 +/* 8030FE18 0030CD78 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8030FE1C 0030CD7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030FE20 0030CD80 7C 08 03 A6 */ mtlr r0 +/* 8030FE24 0030CD84 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030FE28 0030CD88 4E 80 00 20 */ blr + +.global __ct__8CTextureF12ETexelFormatssi +__ct__8CTextureF12ETexelFormatssi: +/* 8030FE2C 0030CD8C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030FE30 0030CD90 7C 08 02 A6 */ mflr r0 +/* 8030FE34 0030CD94 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030FE38 0030CD98 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8030FE3C 0030CD9C 7C 9C 23 78 */ mr r28, r4 +/* 8030FE40 0030CDA0 7C BD 2B 78 */ mr r29, r5 +/* 8030FE44 0030CDA4 7C 7B 1B 78 */ mr r27, r3 +/* 8030FE48 0030CDA8 7C DE 33 78 */ mr r30, r6 +/* 8030FE4C 0030CDAC 7C FF 3B 78 */ mr r31, r7 +/* 8030FE50 0030CDB0 93 83 00 00 */ stw r28, 0(r3) +/* 8030FE54 0030CDB4 B3 A3 00 04 */ sth r29, 4(r3) +/* 8030FE58 0030CDB8 7F 83 E3 78 */ mr r3, r28 +/* 8030FE5C 0030CDBC B3 DB 00 06 */ sth r30, 6(r27) +/* 8030FE60 0030CDC0 9B FB 00 08 */ stb r31, 8(r27) +/* 8030FE64 0030CDC4 4B FF EC A1 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +/* 8030FE68 0030CDC8 98 7B 00 09 */ stb r3, 9(r27) +/* 8030FE6C 0030CDCC 38 E0 00 00 */ li r7, 0 +/* 8030FE70 0030CDD0 38 C0 00 01 */ li r6, 1 +/* 8030FE74 0030CDD4 38 80 00 04 */ li r4, 4 +/* 8030FE78 0030CDD8 88 7B 00 0A */ lbz r3, 0xa(r27) +/* 8030FE7C 0030CDDC 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 +/* 8030FE80 0030CDE0 38 00 00 09 */ li r0, 9 +/* 8030FE84 0030CDE4 98 7B 00 0A */ stb r3, 0xa(r27) +/* 8030FE88 0030CDE8 38 7B 00 44 */ addi r3, r27, 0x44 +/* 8030FE8C 0030CDEC 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FE90 0030CDF0 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 +/* 8030FE94 0030CDF4 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FE98 0030CDF8 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FE9C 0030CDFC 50 E5 2E B4 */ rlwimi r5, r7, 5, 0x1a, 0x1a +/* 8030FEA0 0030CE00 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEA4 0030CE04 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FEA8 0030CE08 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b +/* 8030FEAC 0030CE0C 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEB0 0030CE10 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FEB4 0030CE14 50 E5 1F 38 */ rlwimi r5, r7, 3, 0x1c, 0x1c +/* 8030FEB8 0030CE18 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEBC 0030CE1C 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FEC0 0030CE20 50 E5 17 7A */ rlwimi r5, r7, 2, 0x1d, 0x1d +/* 8030FEC4 0030CE24 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEC8 0030CE28 90 FB 00 0C */ stw r7, 0xc(r27) +/* 8030FECC 0030CE2C 90 FB 00 10 */ stw r7, 0x10(r27) +/* 8030FED0 0030CE30 90 FB 00 14 */ stw r7, 0x14(r27) +/* 8030FED4 0030CE34 90 9B 00 18 */ stw r4, 0x18(r27) +/* 8030FED8 0030CE38 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 8030FEDC 0030CE3C 90 DB 00 40 */ stw r6, 0x40(r27) +/* 8030FEE0 0030CE40 48 04 8C 1D */ bl __ct__10CARAMTokenFv +/* 8030FEE4 0030CE44 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030FEE8 0030CE48 7F 63 DB 78 */ mr r3, r27 +/* 8030FEEC 0030CE4C 7F 84 E3 78 */ mr r4, r28 +/* 8030FEF0 0030CE50 7F A5 EB 78 */ mr r5, r29 +/* 8030FEF4 0030CE54 90 1B 00 64 */ stw r0, 0x64(r27) +/* 8030FEF8 0030CE58 7F C6 F3 78 */ mr r6, r30 +/* 8030FEFC 0030CE5C 7F E7 FB 78 */ mr r7, r31 +/* 8030FF00 0030CE60 4B FF EA 71 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi +/* 8030FF04 0030CE64 7F 63 DB 78 */ mr r3, r27 +/* 8030FF08 0030CE68 4B FF F9 29 */ bl InitTextureObjects__8CTextureFv +/* 8030FF0C 0030CE6C 7F 63 DB 78 */ mr r3, r27 +/* 8030FF10 0030CE70 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8030FF14 0030CE74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030FF18 0030CE78 7C 08 03 A6 */ mtlr r0 +/* 8030FF1C 0030CE7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030FF20 0030CE80 4E 80 00 20 */ blr + +.global sub_8030ff24 +sub_8030ff24: +/* 8030FF24 0030CE84 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030FF28 0030CE88 38 00 00 00 */ li r0, 0 +/* 8030FF2C 0030CE8C C0 04 00 00 */ lfs f0, 0(r4) +/* 8030FF30 0030CE90 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF34 0030CE94 FC 00 02 10 */ fabs f0, f0 +/* 8030FF38 0030CE98 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF3C 0030CE9C 40 80 00 20 */ bge lbl_8030FF5C +/* 8030FF40 0030CEA0 C0 43 00 04 */ lfs f2, 4(r3) +/* 8030FF44 0030CEA4 C0 04 00 04 */ lfs f0, 4(r4) +/* 8030FF48 0030CEA8 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF4C 0030CEAC FC 00 02 10 */ fabs f0, f0 +/* 8030FF50 0030CEB0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF54 0030CEB4 40 80 00 08 */ bge lbl_8030FF5C +/* 8030FF58 0030CEB8 38 00 00 01 */ li r0, 1 +lbl_8030FF5C: +/* 8030FF5C 0030CEBC 7C 03 03 78 */ mr r3, r0 +/* 8030FF60 0030CEC0 4E 80 00 20 */ blr + +.global close_enough__FRC9CVector3fRC9CVector3ff +close_enough__FRC9CVector3fRC9CVector3ff: +/* 8030FF64 0030CEC4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030FF68 0030CEC8 38 A0 00 00 */ li r5, 0 +/* 8030FF6C 0030CECC C0 04 00 00 */ lfs f0, 0(r4) +/* 8030FF70 0030CED0 7C A0 2B 78 */ mr r0, r5 +/* 8030FF74 0030CED4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF78 0030CED8 FC 00 02 10 */ fabs f0, f0 +/* 8030FF7C 0030CEDC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF80 0030CEE0 40 80 00 20 */ bge lbl_8030FFA0 +/* 8030FF84 0030CEE4 C0 43 00 04 */ lfs f2, 4(r3) +/* 8030FF88 0030CEE8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8030FF8C 0030CEEC EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF90 0030CEF0 FC 00 02 10 */ fabs f0, f0 +/* 8030FF94 0030CEF4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF98 0030CEF8 40 80 00 08 */ bge lbl_8030FFA0 +/* 8030FF9C 0030CEFC 38 00 00 01 */ li r0, 1 +lbl_8030FFA0: +/* 8030FFA0 0030CF00 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030FFA4 0030CF04 41 82 00 20 */ beq lbl_8030FFC4 +/* 8030FFA8 0030CF08 C0 43 00 08 */ lfs f2, 8(r3) +/* 8030FFAC 0030CF0C C0 04 00 08 */ lfs f0, 8(r4) +/* 8030FFB0 0030CF10 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FFB4 0030CF14 FC 00 02 10 */ fabs f0, f0 +/* 8030FFB8 0030CF18 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FFBC 0030CF1C 40 80 00 08 */ bge lbl_8030FFC4 +/* 8030FFC0 0030CF20 38 A0 00 01 */ li r5, 1 +lbl_8030FFC4: +/* 8030FFC4 0030CF24 7C A3 2B 78 */ mr r3, r5 +/* 8030FFC8 0030CF28 4E 80 00 20 */ blr + +.global __sinit_CloseEnough_cpp +__sinit_CloseEnough_cpp: +/* 8030FFCC 0030CF2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030FFD0 0030CF30 7C 08 02 A6 */ mflr r0 +/* 8030FFD4 0030CF34 C0 22 C8 48 */ lfs f1, lbl_805AE568@sda21(r2) +/* 8030FFD8 0030CF38 38 6D A8 80 */ addi r3, r13, lbl_805A9440@sda21 +/* 8030FFDC 0030CF3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030FFE0 0030CF40 FC 40 08 90 */ fmr f2, f1 +/* 8030FFE4 0030CF44 48 00 42 1D */ bl __ct__9CVector2fFff +/* 8030FFE8 0030CF48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030FFEC 0030CF4C 7C 08 03 A6 */ mtlr r0 +/* 8030FFF0 0030CF50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030FFF4 0030CF54 4E 80 00 20 */ blr + +.global __as__9CMatrix3fFRC9CMatrix3f +__as__9CMatrix3fFRC9CMatrix3f: +/* 8030FFF8 0030CF58 C8 04 00 00 */ lfd f0, 0(r4) +/* 8030FFFC 0030CF5C C8 24 00 08 */ lfd f1, 8(r4) +/* 80310000 0030CF60 C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80310004 0030CF64 D8 03 00 00 */ stfd f0, 0(r3) +/* 80310008 0030CF68 D8 23 00 08 */ stfd f1, 8(r3) +/* 8031000C 0030CF6C D8 43 00 10 */ stfd f2, 0x10(r3) +/* 80310010 0030CF70 C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80310014 0030CF74 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 80310018 0030CF78 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 8031001C 0030CF7C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 80310020 0030CF80 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFRC9CMatrix3f +__ct__9CMatrix3fFRC9CMatrix3f: +/* 80310024 0030CF84 C8 04 00 00 */ lfd f0, 0(r4) +/* 80310028 0030CF88 C8 24 00 08 */ lfd f1, 8(r4) +/* 8031002C 0030CF8C C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80310030 0030CF90 D8 03 00 00 */ stfd f0, 0(r3) +/* 80310034 0030CF94 D8 23 00 08 */ stfd f1, 8(r3) +/* 80310038 0030CF98 D8 43 00 10 */ stfd f2, 0x10(r3) +/* 8031003C 0030CF9C C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80310040 0030CFA0 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 80310044 0030CFA4 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 80310048 0030CFA8 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8031004C 0030CFAC 4E 80 00 20 */ blr + +.global AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff +AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff: +/* 80310050 0030CFB0 C0 44 00 00 */ lfs f2, 0(r4) +/* 80310054 0030CFB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80310058 0030CFB8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031005C 0030CFBC D0 03 00 00 */ stfs f0, 0(r3) +/* 80310060 0030CFC0 C0 44 00 04 */ lfs f2, 4(r4) +/* 80310064 0030CFC4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80310068 0030CFC8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031006C 0030CFCC D0 03 00 04 */ stfs f0, 4(r3) +/* 80310070 0030CFD0 C0 44 00 08 */ lfs f2, 8(r4) +/* 80310074 0030CFD4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80310078 0030CFD8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031007C 0030CFDC D0 03 00 08 */ stfs f0, 8(r3) +/* 80310080 0030CFE0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80310084 0030CFE4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80310088 0030CFE8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031008C 0030CFEC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80310090 0030CFF0 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80310094 0030CFF4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80310098 0030CFF8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031009C 0030CFFC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803100A0 0030D000 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 803100A4 0030D004 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 803100A8 0030D008 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100AC 0030D00C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803100B0 0030D010 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 803100B4 0030D014 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 803100B8 0030D018 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100BC 0030D01C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803100C0 0030D020 C0 44 00 1C */ lfs f2, 0x1c(r4) +/* 803100C4 0030D024 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 803100C8 0030D028 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100CC 0030D02C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803100D0 0030D030 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 803100D4 0030D034 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 803100D8 0030D038 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100DC 0030D03C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803100E0 0030D040 4E 80 00 20 */ blr + +.global Determinant__9CMatrix3fCFv +Determinant__9CMatrix3fCFv: +/* 803100E4 0030D044 C1 23 00 0C */ lfs f9, 0xc(r3) +/* 803100E8 0030D048 C0 C3 00 20 */ lfs f6, 0x20(r3) +/* 803100EC 0030D04C C0 83 00 18 */ lfs f4, 0x18(r3) +/* 803100F0 0030D050 EC 09 01 B2 */ fmuls f0, f9, f6 +/* 803100F4 0030D054 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 803100F8 0030D058 C1 03 00 1C */ lfs f8, 0x1c(r3) +/* 803100FC 0030D05C C0 E3 00 10 */ lfs f7, 0x10(r3) +/* 80310100 0030D060 EC 43 02 32 */ fmuls f2, f3, f8 +/* 80310104 0030D064 C0 23 00 04 */ lfs f1, 4(r3) +/* 80310108 0030D068 EC 03 01 38 */ fmsubs f0, f3, f4, f0 +/* 8031010C 0030D06C C0 63 00 00 */ lfs f3, 0(r3) +/* 80310110 0030D070 EC 87 01 32 */ fmuls f4, f7, f4 +/* 80310114 0030D074 C0 A3 00 08 */ lfs f5, 8(r3) +/* 80310118 0030D078 EC 47 11 B8 */ fmsubs f2, f7, f6, f2 +/* 8031011C 0030D07C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80310120 0030D080 EC 29 22 38 */ fmsubs f1, f9, f8, f4 +/* 80310124 0030D084 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80310128 0030D088 EC 25 00 7A */ fmadds f1, f5, f1, f0 +/* 8031012C 0030D08C 4E 80 00 20 */ blr + +.global __ml__9CMatrix3fCFRC9CMatrix3f +__ml__9CMatrix3fCFRC9CMatrix3f: +/* 80310130 0030D090 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80310134 0030D094 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80310138 0030D098 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8031013C 0030D09C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80310140 0030D0A0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80310144 0030D0A4 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80310148 0030D0A8 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 8031014C 0030D0AC DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80310150 0030D0B0 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80310154 0030D0B4 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 80310158 0030D0B8 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 8031015C 0030D0BC DB 41 00 30 */ stfd f26, 0x30(r1) +/* 80310160 0030D0C0 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 80310164 0030D0C4 DB 21 00 20 */ stfd f25, 0x20(r1) +/* 80310168 0030D0C8 F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0 +/* 8031016C 0030D0CC DB 01 00 10 */ stfd f24, 0x10(r1) +/* 80310170 0030D0D0 F3 01 00 18 */ psq_st f24, 24(r1), 0, qr0 +/* 80310174 0030D0D4 C3 05 00 0C */ lfs f24, 0xc(r5) +/* 80310178 0030D0D8 C0 C4 00 04 */ lfs f6, 4(r4) +/* 8031017C 0030D0DC C0 85 00 10 */ lfs f4, 0x10(r5) +/* 80310180 0030D0E0 EC 66 06 32 */ fmuls f3, f6, f24 +/* 80310184 0030D0E4 C0 25 00 00 */ lfs f1, 0(r5) +/* 80310188 0030D0E8 C3 44 00 00 */ lfs f26, 0(r4) +/* 8031018C 0030D0EC EC 06 01 32 */ fmuls f0, f6, f4 +/* 80310190 0030D0F0 C0 A5 00 14 */ lfs f5, 0x14(r5) +/* 80310194 0030D0F4 C1 04 00 10 */ lfs f8, 0x10(r4) +/* 80310198 0030D0F8 C0 45 00 04 */ lfs f2, 4(r5) +/* 8031019C 0030D0FC ED 7A 18 7A */ fmadds f11, f26, f1, f3 +/* 803101A0 0030D100 ED A6 01 72 */ fmuls f13, f6, f5 +/* 803101A4 0030D104 C0 65 00 08 */ lfs f3, 8(r5) +/* 803101A8 0030D108 C3 A4 00 1C */ lfs f29, 0x1c(r4) +/* 803101AC 0030D10C ED 9A 00 BA */ fmadds f12, f26, f2, f0 +/* 803101B0 0030D110 C0 C5 00 18 */ lfs f6, 0x18(r5) +/* 803101B4 0030D114 C3 24 00 08 */ lfs f25, 8(r4) +/* 803101B8 0030D118 C0 E5 00 1C */ lfs f7, 0x1c(r5) +/* 803101BC 0030D11C ED 48 06 32 */ fmuls f10, f8, f24 +/* 803101C0 0030D120 C3 64 00 0C */ lfs f27, 0xc(r4) +/* 803101C4 0030D124 ED 28 01 32 */ fmuls f9, f8, f4 +/* 803101C8 0030D128 EF C8 01 72 */ fmuls f30, f8, f5 +/* 803101CC 0030D12C C1 05 00 20 */ lfs f8, 0x20(r5) +/* 803101D0 0030D130 EF FA 68 FA */ fmadds f31, f26, f3, f13 +/* 803101D4 0030D134 ED B9 59 BA */ fmadds f13, f25, f6, f11 +/* 803101D8 0030D138 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 803101DC 0030D13C C3 84 00 18 */ lfs f28, 0x18(r4) +/* 803101E0 0030D140 C3 44 00 14 */ lfs f26, 0x14(r4) +/* 803101E4 0030D144 ED 7B 50 7A */ fmadds f11, f27, f1, f10 +/* 803101E8 0030D148 ED 5B 48 BA */ fmadds f10, f27, f2, f9 +/* 803101EC 0030D14C ED 3D 06 32 */ fmuls f9, f29, f24 +/* 803101F0 0030D150 D1 A3 00 00 */ stfs f13, 0(r3) +/* 803101F4 0030D154 ED 99 61 FA */ fmadds f12, f25, f7, f12 +/* 803101F8 0030D158 ED BB F0 FA */ fmadds f13, f27, f3, f30 +/* 803101FC 0030D15C EC 9D 01 32 */ fmuls f4, f29, f4 +/* 80310200 0030D160 ED 3C 48 7A */ fmadds f9, f28, f1, f9 +/* 80310204 0030D164 D1 83 00 04 */ stfs f12, 4(r3) +/* 80310208 0030D168 ED 99 FA 3A */ fmadds f12, f25, f8, f31 +/* 8031020C 0030D16C EC BD 01 72 */ fmuls f5, f29, f5 +/* 80310210 0030D170 EC 3C 20 BA */ fmadds f1, f28, f2, f4 +/* 80310214 0030D174 EC 5A 59 BA */ fmadds f2, f26, f6, f11 +/* 80310218 0030D178 D1 83 00 08 */ stfs f12, 8(r3) +/* 8031021C 0030D17C EC 9C 28 FA */ fmadds f4, f28, f3, f5 +/* 80310220 0030D180 EC 7A 51 FA */ fmadds f3, f26, f7, f10 +/* 80310224 0030D184 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80310228 0030D188 EC BA 6A 3A */ fmadds f5, f26, f8, f13 +/* 8031022C 0030D18C EC 40 49 BA */ fmadds f2, f0, f6, f9 +/* 80310230 0030D190 D0 63 00 10 */ stfs f3, 0x10(r3) +/* 80310234 0030D194 EC 20 09 FA */ fmadds f1, f0, f7, f1 +/* 80310238 0030D198 EC 00 22 3A */ fmadds f0, f0, f8, f4 +/* 8031023C 0030D19C D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 80310240 0030D1A0 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 80310244 0030D1A4 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80310248 0030D1A8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8031024C 0030D1AC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80310250 0030D1B0 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80310254 0030D1B4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80310258 0030D1B8 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8031025C 0030D1BC E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80310260 0030D1C0 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80310264 0030D1C4 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80310268 0030D1C8 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 8031026C 0030D1CC E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 80310270 0030D1D0 CB 61 00 40 */ lfd f27, 0x40(r1) +/* 80310274 0030D1D4 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 80310278 0030D1D8 CB 41 00 30 */ lfd f26, 0x30(r1) +/* 8031027C 0030D1DC E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0 +/* 80310280 0030D1E0 CB 21 00 20 */ lfd f25, 0x20(r1) +/* 80310284 0030D1E4 E3 01 00 18 */ psq_l f24, 24(r1), 0, qr0 +/* 80310288 0030D1E8 CB 01 00 10 */ lfd f24, 0x10(r1) +/* 8031028C 0030D1EC 38 21 00 90 */ addi r1, r1, 0x90 +/* 80310290 0030D1F0 4E 80 00 20 */ blr + +.global __ml__9CMatrix3fCFRC9CVector3f +__ml__9CMatrix3fCFRC9CVector3f: +/* 80310294 0030D1F4 C0 65 00 04 */ lfs f3, 4(r5) +/* 80310298 0030D1F8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031029C 0030D1FC C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803102A0 0030D200 EC 03 00 32 */ fmuls f0, f3, f0 +/* 803102A4 0030D204 C0 E5 00 00 */ lfs f7, 0(r5) +/* 803102A8 0030D208 C0 24 00 00 */ lfs f1, 0(r4) +/* 803102AC 0030D20C EC 83 00 B2 */ fmuls f4, f3, f2 +/* 803102B0 0030D210 C0 44 00 1C */ lfs f2, 0x1c(r4) +/* 803102B4 0030D214 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 803102B8 0030D218 EC 07 00 7A */ fmadds f0, f7, f1, f0 +/* 803102BC 0030D21C C1 05 00 08 */ lfs f8, 8(r5) +/* 803102C0 0030D220 C0 24 00 08 */ lfs f1, 8(r4) +/* 803102C4 0030D224 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 803102C8 0030D228 C0 64 00 18 */ lfs f3, 0x18(r4) +/* 803102CC 0030D22C EC A7 21 7A */ fmadds f5, f7, f5, f4 +/* 803102D0 0030D230 C0 C4 00 14 */ lfs f6, 0x14(r4) +/* 803102D4 0030D234 EC 08 00 7A */ fmadds f0, f8, f1, f0 +/* 803102D8 0030D238 C0 84 00 20 */ lfs f4, 0x20(r4) +/* 803102DC 0030D23C EC 27 10 FA */ fmadds f1, f7, f3, f2 +/* 803102E0 0030D240 EC 48 29 BA */ fmadds f2, f8, f6, f5 +/* 803102E4 0030D244 D0 03 00 00 */ stfs f0, 0(r3) +/* 803102E8 0030D248 EC 08 09 3A */ fmadds f0, f8, f4, f1 +/* 803102EC 0030D24C D0 43 00 04 */ stfs f2, 4(r3) +/* 803102F0 0030D250 D0 03 00 08 */ stfs f0, 8(r3) +/* 803102F4 0030D254 4E 80 00 20 */ blr + +.global Orthonormalized__9CMatrix3fCFv +Orthonormalized__9CMatrix3fCFv: +/* 803102F8 0030D258 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803102FC 0030D25C 7C 08 02 A6 */ mflr r0 +/* 80310300 0030D260 90 01 00 44 */ stw r0, 0x44(r1) +/* 80310304 0030D264 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80310308 0030D268 7C 9F 23 78 */ mr r31, r4 +/* 8031030C 0030D26C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80310310 0030D270 7C 7E 1B 78 */ mr r30, r3 +/* 80310314 0030D274 38 61 00 20 */ addi r3, r1, 0x20 +/* 80310318 0030D278 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8031031C 0030D27C C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80310320 0030D280 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310324 0030D284 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80310328 0030D288 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031032C 0030D28C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80310330 0030D290 48 00 45 C9 */ bl Normalize__9CVector3fFv +/* 80310334 0030D294 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80310338 0030D298 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031033C 0030D29C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80310340 0030D2A0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80310344 0030D2A4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80310348 0030D2A8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8031034C 0030D2AC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80310350 0030D2B0 48 00 45 A9 */ bl Normalize__9CVector3fFv +/* 80310354 0030D2B4 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80310358 0030D2B8 38 61 00 08 */ addi r3, r1, 8 +/* 8031035C 0030D2BC C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 80310360 0030D2C0 C0 81 00 28 */ lfs f4, 0x28(r1) +/* 80310364 0030D2C4 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80310368 0030D2C8 EC 07 00 F2 */ fmuls f0, f7, f3 +/* 8031036C 0030D2CC C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 80310370 0030D2D0 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80310374 0030D2D4 EC 22 01 32 */ fmuls f1, f2, f4 +/* 80310378 0030D2D8 EC 46 00 B8 */ fmsubs f2, f6, f2, f0 +/* 8031037C 0030D2DC EC 05 01 B2 */ fmuls f0, f5, f6 +/* 80310380 0030D2E0 EC 23 09 78 */ fmsubs f1, f3, f5, f1 +/* 80310384 0030D2E4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80310388 0030D2E8 EC 04 01 F8 */ fmsubs f0, f4, f7, f0 +/* 8031038C 0030D2EC D0 21 00 08 */ stfs f1, 8(r1) +/* 80310390 0030D2F0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80310394 0030D2F4 48 00 45 65 */ bl Normalize__9CVector3fFv +/* 80310398 0030D2F8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8031039C 0030D2FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 803103A0 0030D300 C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 803103A4 0030D304 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 803103A8 0030D308 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 803103AC 0030D30C EC 07 00 F2 */ fmuls f0, f7, f3 +/* 803103B0 0030D310 C0 C1 00 08 */ lfs f6, 8(r1) +/* 803103B4 0030D314 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 803103B8 0030D318 EC 22 01 32 */ fmuls f1, f2, f4 +/* 803103BC 0030D31C EC 46 00 B8 */ fmsubs f2, f6, f2, f0 +/* 803103C0 0030D320 EC 05 01 B2 */ fmuls f0, f5, f6 +/* 803103C4 0030D324 EC 23 09 78 */ fmsubs f1, f3, f5, f1 +/* 803103C8 0030D328 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803103CC 0030D32C EC 04 01 F8 */ fmsubs f0, f4, f7, f0 +/* 803103D0 0030D330 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 803103D4 0030D334 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 803103D8 0030D338 48 00 45 21 */ bl Normalize__9CVector3fFv +/* 803103DC 0030D33C 7F C3 F3 78 */ mr r3, r30 +/* 803103E0 0030D340 38 81 00 20 */ addi r4, r1, 0x20 +/* 803103E4 0030D344 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803103E8 0030D348 38 C1 00 08 */ addi r6, r1, 8 +/* 803103EC 0030D34C 48 00 02 91 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803103F0 0030D350 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803103F4 0030D354 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803103F8 0030D358 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 803103FC 0030D35C 7C 08 03 A6 */ mtlr r0 +/* 80310400 0030D360 38 21 00 40 */ addi r1, r1, 0x40 +/* 80310404 0030D364 4E 80 00 20 */ blr + +.global RotateZ__9CMatrix3fFRC9CRelAngle +RotateZ__9CMatrix3fFRC9CRelAngle: +/* 80310408 0030D368 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031040C 0030D36C 7C 08 02 A6 */ mflr r0 +/* 80310410 0030D370 90 01 00 24 */ stw r0, 0x24(r1) +/* 80310414 0030D374 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80310418 0030D378 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8031041C 0030D37C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80310420 0030D380 93 C1 00 08 */ stw r30, 8(r1) +/* 80310424 0030D384 7C 9F 23 78 */ mr r31, r4 +/* 80310428 0030D388 7C 7E 1B 78 */ mr r30, r3 +/* 8031042C 0030D38C C0 24 00 00 */ lfs f1, 0(r4) +/* 80310430 0030D390 48 08 46 AD */ bl sin +/* 80310434 0030D394 FF E0 08 18 */ frsp f31, f1 +/* 80310438 0030D398 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8031043C 0030D39C 48 08 3F B5 */ bl cos +/* 80310440 0030D3A0 FC 60 08 18 */ frsp f3, f1 +/* 80310444 0030D3A4 C0 22 C8 50 */ lfs f1, lbl_805AE570@sda21(r2) +/* 80310448 0030D3A8 FC 40 F8 50 */ fneg f2, f31 +/* 8031044C 0030D3AC C0 02 C8 54 */ lfs f0, lbl_805AE574@sda21(r2) +/* 80310450 0030D3B0 D0 7E 00 00 */ stfs f3, 0(r30) +/* 80310454 0030D3B4 D0 5E 00 04 */ stfs f2, 4(r30) +/* 80310458 0030D3B8 D0 3E 00 08 */ stfs f1, 8(r30) +/* 8031045C 0030D3BC D3 FE 00 0C */ stfs f31, 0xc(r30) +/* 80310460 0030D3C0 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 80310464 0030D3C4 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80310468 0030D3C8 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 8031046C 0030D3CC D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80310470 0030D3D0 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80310474 0030D3D4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80310478 0030D3D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031047C 0030D3DC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80310480 0030D3E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80310484 0030D3E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80310488 0030D3E8 7C 08 03 A6 */ mtlr r0 +/* 8031048C 0030D3EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310490 0030D3F0 4E 80 00 20 */ blr + +.global RotateY__9CMatrix3fFRC9CRelAngle +RotateY__9CMatrix3fFRC9CRelAngle: +/* 80310494 0030D3F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80310498 0030D3F8 7C 08 02 A6 */ mflr r0 +/* 8031049C 0030D3FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 803104A0 0030D400 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803104A4 0030D404 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803104A8 0030D408 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803104AC 0030D40C 93 C1 00 08 */ stw r30, 8(r1) +/* 803104B0 0030D410 7C 9F 23 78 */ mr r31, r4 +/* 803104B4 0030D414 7C 7E 1B 78 */ mr r30, r3 +/* 803104B8 0030D418 C0 24 00 00 */ lfs f1, 0(r4) +/* 803104BC 0030D41C 48 08 46 21 */ bl sin +/* 803104C0 0030D420 FF E0 08 18 */ frsp f31, f1 +/* 803104C4 0030D424 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803104C8 0030D428 48 08 3F 29 */ bl cos +/* 803104CC 0030D42C FC 60 08 18 */ frsp f3, f1 +/* 803104D0 0030D430 C0 42 C8 50 */ lfs f2, lbl_805AE570@sda21(r2) +/* 803104D4 0030D434 C0 22 C8 54 */ lfs f1, lbl_805AE574@sda21(r2) +/* 803104D8 0030D438 FC 00 F8 50 */ fneg f0, f31 +/* 803104DC 0030D43C D0 7E 00 00 */ stfs f3, 0(r30) +/* 803104E0 0030D440 D0 5E 00 04 */ stfs f2, 4(r30) +/* 803104E4 0030D444 D3 FE 00 08 */ stfs f31, 8(r30) +/* 803104E8 0030D448 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 803104EC 0030D44C D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 803104F0 0030D450 D0 5E 00 14 */ stfs f2, 0x14(r30) +/* 803104F4 0030D454 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803104F8 0030D458 D0 5E 00 1C */ stfs f2, 0x1c(r30) +/* 803104FC 0030D45C D0 7E 00 20 */ stfs f3, 0x20(r30) +/* 80310500 0030D460 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80310504 0030D464 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310508 0030D468 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8031050C 0030D46C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80310510 0030D470 83 C1 00 08 */ lwz r30, 8(r1) +/* 80310514 0030D474 7C 08 03 A6 */ mtlr r0 +/* 80310518 0030D478 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031051C 0030D47C 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFR12CInputStream +__ct__9CMatrix3fFR12CInputStream: +/* 80310520 0030D480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80310524 0030D484 7C 08 02 A6 */ mflr r0 +/* 80310528 0030D488 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031052C 0030D48C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80310530 0030D490 7C 9F 23 78 */ mr r31, r4 +/* 80310534 0030D494 93 C1 00 08 */ stw r30, 8(r1) +/* 80310538 0030D498 7C 7E 1B 78 */ mr r30, r3 +/* 8031053C 0030D49C 7F E3 FB 78 */ mr r3, r31 +/* 80310540 0030D4A0 48 02 E6 E9 */ bl ReadFloat__12CInputStreamFv +/* 80310544 0030D4A4 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80310548 0030D4A8 7F E3 FB 78 */ mr r3, r31 +/* 8031054C 0030D4AC 48 02 E6 DD */ bl ReadFloat__12CInputStreamFv +/* 80310550 0030D4B0 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80310554 0030D4B4 7F E3 FB 78 */ mr r3, r31 +/* 80310558 0030D4B8 48 02 E6 D1 */ bl ReadFloat__12CInputStreamFv +/* 8031055C 0030D4BC D0 3E 00 08 */ stfs f1, 8(r30) +/* 80310560 0030D4C0 7F E3 FB 78 */ mr r3, r31 +/* 80310564 0030D4C4 48 02 E6 C5 */ bl ReadFloat__12CInputStreamFv +/* 80310568 0030D4C8 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 8031056C 0030D4CC 7F E3 FB 78 */ mr r3, r31 +/* 80310570 0030D4D0 48 02 E6 B9 */ bl ReadFloat__12CInputStreamFv +/* 80310574 0030D4D4 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80310578 0030D4D8 7F E3 FB 78 */ mr r3, r31 +/* 8031057C 0030D4DC 48 02 E6 AD */ bl ReadFloat__12CInputStreamFv +/* 80310580 0030D4E0 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80310584 0030D4E4 7F E3 FB 78 */ mr r3, r31 +/* 80310588 0030D4E8 48 02 E6 A1 */ bl ReadFloat__12CInputStreamFv +/* 8031058C 0030D4EC D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80310590 0030D4F0 7F E3 FB 78 */ mr r3, r31 +/* 80310594 0030D4F4 48 02 E6 95 */ bl ReadFloat__12CInputStreamFv +/* 80310598 0030D4F8 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 8031059C 0030D4FC 7F E3 FB 78 */ mr r3, r31 +/* 803105A0 0030D500 48 02 E6 89 */ bl ReadFloat__12CInputStreamFv +/* 803105A4 0030D504 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 803105A8 0030D508 7F C3 F3 78 */ mr r3, r30 +/* 803105AC 0030D50C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803105B0 0030D510 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803105B4 0030D514 83 C1 00 08 */ lwz r30, 8(r1) +/* 803105B8 0030D518 7C 08 03 A6 */ mtlr r0 +/* 803105BC 0030D51C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803105C0 0030D520 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff +__ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff: +/* 803105C4 0030D524 C0 05 00 00 */ lfs f0, 0(r5) +/* 803105C8 0030D528 C0 64 00 00 */ lfs f3, 0(r4) +/* 803105CC 0030D52C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 803105D0 0030D530 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803105D4 0030D534 D0 03 00 00 */ stfs f0, 0(r3) +/* 803105D8 0030D538 C0 05 00 04 */ lfs f0, 4(r5) +/* 803105DC 0030D53C C0 64 00 04 */ lfs f3, 4(r4) +/* 803105E0 0030D540 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 803105E4 0030D544 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803105E8 0030D548 D0 03 00 04 */ stfs f0, 4(r3) +/* 803105EC 0030D54C C0 05 00 08 */ lfs f0, 8(r5) +/* 803105F0 0030D550 C0 64 00 08 */ lfs f3, 8(r4) +/* 803105F4 0030D554 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 803105F8 0030D558 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803105FC 0030D55C D0 03 00 08 */ stfs f0, 8(r3) +/* 80310600 0030D560 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80310604 0030D564 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 80310608 0030D568 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8031060C 0030D56C EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310610 0030D570 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80310614 0030D574 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 80310618 0030D578 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 8031061C 0030D57C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310620 0030D580 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310624 0030D584 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80310628 0030D588 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8031062C 0030D58C C0 64 00 14 */ lfs f3, 0x14(r4) +/* 80310630 0030D590 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310634 0030D594 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310638 0030D598 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8031063C 0030D59C C0 05 00 18 */ lfs f0, 0x18(r5) +/* 80310640 0030D5A0 C0 64 00 18 */ lfs f3, 0x18(r4) +/* 80310644 0030D5A4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310648 0030D5A8 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 8031064C 0030D5AC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80310650 0030D5B0 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80310654 0030D5B4 C0 64 00 1C */ lfs f3, 0x1c(r4) +/* 80310658 0030D5B8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8031065C 0030D5BC EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310660 0030D5C0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80310664 0030D5C4 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 80310668 0030D5C8 C0 64 00 20 */ lfs f3, 0x20(r4) +/* 8031066C 0030D5CC EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310670 0030D5D0 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310674 0030D5D4 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80310678 0030D5D8 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +__ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 8031067C 0030D5DC C0 04 00 00 */ lfs f0, 0(r4) +/* 80310680 0030D5E0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80310684 0030D5E4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80310688 0030D5E8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031068C 0030D5EC C0 04 00 08 */ lfs f0, 8(r4) +/* 80310690 0030D5F0 D0 03 00 08 */ stfs f0, 8(r3) +/* 80310694 0030D5F4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80310698 0030D5F8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031069C 0030D5FC C0 05 00 04 */ lfs f0, 4(r5) +/* 803106A0 0030D600 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803106A4 0030D604 C0 05 00 08 */ lfs f0, 8(r5) +/* 803106A8 0030D608 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803106AC 0030D60C C0 06 00 00 */ lfs f0, 0(r6) +/* 803106B0 0030D610 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803106B4 0030D614 C0 06 00 04 */ lfs f0, 4(r6) +/* 803106B8 0030D618 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803106BC 0030D61C C0 06 00 08 */ lfs f0, 8(r6) +/* 803106C0 0030D620 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803106C4 0030D624 4E 80 00 20 */ blr + +.global __sinit_CMatrix3f_cpp +__sinit_CMatrix3f_cpp: +/* 803106C8 0030D628 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803106CC 0030D62C 7C 08 02 A6 */ mflr r0 +/* 803106D0 0030D630 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 803106D4 0030D634 C0 02 C8 50 */ lfs f0, lbl_805AE570@sda21(r2) +/* 803106D8 0030D638 90 01 00 34 */ stw r0, 0x34(r1) +/* 803106DC 0030D63C 38 63 65 FC */ addi r3, r3, lbl_805A65FC@l +/* 803106E0 0030D640 C0 22 C8 54 */ lfs f1, lbl_805AE574@sda21(r2) +/* 803106E4 0030D644 38 81 00 08 */ addi r4, r1, 8 +/* 803106E8 0030D648 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803106EC 0030D64C D0 21 00 08 */ stfs f1, 8(r1) +/* 803106F0 0030D650 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803106F4 0030D654 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803106F8 0030D658 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803106FC 0030D65C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80310700 0030D660 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80310704 0030D664 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80310708 0030D668 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8031070C 0030D66C 4B FF F9 19 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80310710 0030D670 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80310714 0030D674 7C 08 03 A6 */ mtlr r0 +/* 80310718 0030D678 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031071C 0030D67C 4E 80 00 20 */ blr + +.global MultiplyGetW__9CMatrix4fCFRC9CVector3f +MultiplyGetW__9CMatrix4fCFRC9CVector3f: +/* 80310720 0030D680 C0 24 00 04 */ lfs f1, 4(r4) +/* 80310724 0030D684 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 80310728 0030D688 C0 44 00 00 */ lfs f2, 0(r4) +/* 8031072C 0030D68C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80310730 0030D690 C0 23 00 30 */ lfs f1, 0x30(r3) +/* 80310734 0030D694 C0 84 00 08 */ lfs f4, 8(r4) +/* 80310738 0030D698 C0 63 00 38 */ lfs f3, 0x38(r3) +/* 8031073C 0030D69C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80310740 0030D6A0 C0 23 00 3C */ lfs f1, 0x3c(r3) +/* 80310744 0030D6A4 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80310748 0030D6A8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031074C 0030D6AC 4E 80 00 20 */ blr + +.global MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +MultiplyOneOverW__9CMatrix4fCFRC9CVector3f: +/* 80310750 0030D6B0 C0 E5 00 04 */ lfs f7, 4(r5) +/* 80310754 0030D6B4 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 80310758 0030D6B8 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031075C 0030D6BC EC 07 00 32 */ fmuls f0, f7, f0 +/* 80310760 0030D6C0 C1 65 00 00 */ lfs f11, 0(r5) +/* 80310764 0030D6C4 C0 24 00 30 */ lfs f1, 0x30(r4) +/* 80310768 0030D6C8 EC A7 00 B2 */ fmuls f5, f7, f2 +/* 8031076C 0030D6CC C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80310770 0030D6D0 EC 0B 00 7A */ fmadds f0, f11, f1, f0 +/* 80310774 0030D6D4 C1 85 00 08 */ lfs f12, 8(r5) +/* 80310778 0030D6D8 EC 87 00 B2 */ fmuls f4, f7, f2 +/* 8031077C 0030D6DC C0 24 00 38 */ lfs f1, 0x38(r4) +/* 80310780 0030D6E0 C0 44 00 3C */ lfs f2, 0x3c(r4) +/* 80310784 0030D6E4 EC 0C 00 7A */ fmadds f0, f12, f1, f0 +/* 80310788 0030D6E8 C0 C4 00 00 */ lfs f6, 0(r4) +/* 8031078C 0030D6EC C0 64 00 24 */ lfs f3, 0x24(r4) +/* 80310790 0030D6F0 C0 22 C8 58 */ lfs f1, lbl_805AE578@sda21(r2) +/* 80310794 0030D6F4 ED 0B 29 BA */ fmadds f8, f11, f6, f5 +/* 80310798 0030D6F8 EC 02 00 2A */ fadds f0, f2, f0 +/* 8031079C 0030D6FC C0 A4 00 10 */ lfs f5, 0x10(r4) +/* 803107A0 0030D700 EC 47 00 F2 */ fmuls f2, f7, f3 +/* 803107A4 0030D704 C1 24 00 08 */ lfs f9, 8(r4) +/* 803107A8 0030D708 ED A1 00 24 */ fdivs f13, f1, f0 +/* 803107AC 0030D70C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 803107B0 0030D710 C0 C4 00 18 */ lfs f6, 0x18(r4) +/* 803107B4 0030D714 C1 44 00 0C */ lfs f10, 0xc(r4) +/* 803107B8 0030D718 C0 24 00 28 */ lfs f1, 0x28(r4) +/* 803107BC 0030D71C C0 E4 00 1C */ lfs f7, 0x1c(r4) +/* 803107C0 0030D720 EC 8B 21 7A */ fmadds f4, f11, f5, f4 +/* 803107C4 0030D724 C0 64 00 2C */ lfs f3, 0x2c(r4) +/* 803107C8 0030D728 EC AC 42 7A */ fmadds f5, f12, f9, f8 +/* 803107CC 0030D72C EC 0B 10 3A */ fmadds f0, f11, f0, f2 +/* 803107D0 0030D730 EC 4C 21 BA */ fmadds f2, f12, f6, f4 +/* 803107D4 0030D734 EC 8A 28 2A */ fadds f4, f10, f5 +/* 803107D8 0030D738 EC 0C 00 7A */ fmadds f0, f12, f1, f0 +/* 803107DC 0030D73C EC 27 10 2A */ fadds f1, f7, f2 +/* 803107E0 0030D740 EC 84 03 72 */ fmuls f4, f4, f13 +/* 803107E4 0030D744 EC 03 00 2A */ fadds f0, f3, f0 +/* 803107E8 0030D748 EC 21 03 72 */ fmuls f1, f1, f13 +/* 803107EC 0030D74C D0 83 00 00 */ stfs f4, 0(r3) +/* 803107F0 0030D750 EC 00 03 72 */ fmuls f0, f0, f13 +/* 803107F4 0030D754 D0 23 00 04 */ stfs f1, 4(r3) +/* 803107F8 0030D758 D0 03 00 08 */ stfs f0, 8(r3) +/* 803107FC 0030D75C 4E 80 00 20 */ blr + +.global __ml__9CMatrix4fCFRC9CVector3f +__ml__9CMatrix4fCFRC9CVector3f: +/* 80310800 0030D760 C0 65 00 04 */ lfs f3, 4(r5) +/* 80310804 0030D764 C0 04 00 04 */ lfs f0, 4(r4) +/* 80310808 0030D768 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8031080C 0030D76C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80310810 0030D770 C0 C5 00 00 */ lfs f6, 0(r5) +/* 80310814 0030D774 C0 24 00 00 */ lfs f1, 0(r4) +/* 80310818 0030D778 EC 83 00 B2 */ fmuls f4, f3, f2 +/* 8031081C 0030D77C C0 44 00 24 */ lfs f2, 0x24(r4) +/* 80310820 0030D780 C0 A4 00 10 */ lfs f5, 0x10(r4) +/* 80310824 0030D784 EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 80310828 0030D788 C0 E5 00 08 */ lfs f7, 8(r5) +/* 8031082C 0030D78C C0 24 00 08 */ lfs f1, 8(r4) +/* 80310830 0030D790 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80310834 0030D794 C0 64 00 20 */ lfs f3, 0x20(r4) +/* 80310838 0030D798 EC 86 21 7A */ fmadds f4, f6, f5, f4 +/* 8031083C 0030D79C C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80310840 0030D7A0 EC 07 00 7A */ fmadds f0, f7, f1, f0 +/* 80310844 0030D7A4 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80310848 0030D7A8 EC 46 10 FA */ fmadds f2, f6, f3, f2 +/* 8031084C 0030D7AC C0 64 00 28 */ lfs f3, 0x28(r4) +/* 80310850 0030D7B0 EC A7 21 7A */ fmadds f5, f7, f5, f4 +/* 80310854 0030D7B4 C0 C4 00 1C */ lfs f6, 0x1c(r4) +/* 80310858 0030D7B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031085C 0030D7BC C0 84 00 2C */ lfs f4, 0x2c(r4) +/* 80310860 0030D7C0 EC 27 10 FA */ fmadds f1, f7, f3, f2 +/* 80310864 0030D7C4 EC 46 28 2A */ fadds f2, f6, f5 +/* 80310868 0030D7C8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031086C 0030D7CC EC 04 08 2A */ fadds f0, f4, f1 +/* 80310870 0030D7D0 D0 43 00 04 */ stfs f2, 4(r3) +/* 80310874 0030D7D4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80310878 0030D7D8 4E 80 00 20 */ blr + +.global __ct__9CMatrix4fFffffffffffffffff +__ct__9CMatrix4fFffffffffffffffff: +/* 8031087C 0030D7DC D0 23 00 00 */ stfs f1, 0(r3) +/* 80310880 0030D7E0 C1 61 00 08 */ lfs f11, 8(r1) +/* 80310884 0030D7E4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80310888 0030D7E8 C1 41 00 0C */ lfs f10, 0xc(r1) +/* 8031088C 0030D7EC D0 63 00 08 */ stfs f3, 8(r3) +/* 80310890 0030D7F0 C1 21 00 10 */ lfs f9, 0x10(r1) +/* 80310894 0030D7F4 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80310898 0030D7F8 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 8031089C 0030D7FC D0 A3 00 10 */ stfs f5, 0x10(r3) +/* 803108A0 0030D800 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 803108A4 0030D804 D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 803108A8 0030D808 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 803108AC 0030D80C D0 E3 00 18 */ stfs f7, 0x18(r3) +/* 803108B0 0030D810 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 803108B4 0030D814 D1 03 00 1C */ stfs f8, 0x1c(r3) +/* 803108B8 0030D818 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 803108BC 0030D81C D1 63 00 20 */ stfs f11, 0x20(r3) +/* 803108C0 0030D820 D1 43 00 24 */ stfs f10, 0x24(r3) +/* 803108C4 0030D824 D1 23 00 28 */ stfs f9, 0x28(r3) +/* 803108C8 0030D828 D0 83 00 2C */ stfs f4, 0x2c(r3) +/* 803108CC 0030D82C D0 63 00 30 */ stfs f3, 0x30(r3) +/* 803108D0 0030D830 D0 43 00 34 */ stfs f2, 0x34(r3) +/* 803108D4 0030D834 D0 23 00 38 */ stfs f1, 0x38(r3) +/* 803108D8 0030D838 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 803108DC 0030D83C 4E 80 00 20 */ blr + +.global __sinit_CMatrix4f_cpp +__sinit_CMatrix4f_cpp: +/* 803108E0 0030D840 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 803108E4 0030D844 7C 08 02 A6 */ mflr r0 +/* 803108E8 0030D848 90 01 00 94 */ stw r0, 0x94(r1) +/* 803108EC 0030D84C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 803108F0 0030D850 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 803108F4 0030D854 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 803108F8 0030D858 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 803108FC 0030D85C C0 42 C8 5C */ lfs f2, lbl_805AE57C@sda21(r2) +/* 80310900 0030D860 38 61 00 28 */ addi r3, r1, 0x28 +/* 80310904 0030D864 C0 22 C8 58 */ lfs f1, lbl_805AE578@sda21(r2) +/* 80310908 0030D868 D0 41 00 08 */ stfs f2, 8(r1) +/* 8031090C 0030D86C FC 60 10 90 */ fmr f3, f2 +/* 80310910 0030D870 FC 80 10 90 */ fmr f4, f2 +/* 80310914 0030D874 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80310918 0030D878 FC A0 10 90 */ fmr f5, f2 +/* 8031091C 0030D87C FC C0 08 90 */ fmr f6, f1 +/* 80310920 0030D880 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80310924 0030D884 FC E0 10 90 */ fmr f7, f2 +/* 80310928 0030D888 FD 00 10 90 */ fmr f8, f2 +/* 8031092C 0030D88C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310930 0030D890 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80310934 0030D894 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80310938 0030D898 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8031093C 0030D89C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80310940 0030D8A0 4B FF FF 3D */ bl __ct__9CMatrix4fFffffffffffffffff +/* 80310944 0030D8A4 C3 C1 00 28 */ lfs f30, 0x28(r1) +/* 80310948 0030D8A8 3C 60 80 5A */ lis r3, lbl_805A6620@ha +/* 8031094C 0030D8AC C3 E1 00 2C */ lfs f31, 0x2c(r1) +/* 80310950 0030D8B0 D7 C3 66 20 */ stfsu f30, lbl_805A6620@l(r3) +/* 80310954 0030D8B4 C1 A1 00 30 */ lfs f13, 0x30(r1) +/* 80310958 0030D8B8 C1 81 00 34 */ lfs f12, 0x34(r1) +/* 8031095C 0030D8BC C1 61 00 38 */ lfs f11, 0x38(r1) +/* 80310960 0030D8C0 C1 41 00 3C */ lfs f10, 0x3c(r1) +/* 80310964 0030D8C4 C1 21 00 40 */ lfs f9, 0x40(r1) +/* 80310968 0030D8C8 C1 01 00 44 */ lfs f8, 0x44(r1) +/* 8031096C 0030D8CC C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 80310970 0030D8D0 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 80310974 0030D8D4 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 80310978 0030D8D8 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8031097C 0030D8DC C0 61 00 58 */ lfs f3, 0x58(r1) +/* 80310980 0030D8E0 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80310984 0030D8E4 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80310988 0030D8E8 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8031098C 0030D8EC D3 E3 00 04 */ stfs f31, 4(r3) +/* 80310990 0030D8F0 D1 A3 00 08 */ stfs f13, 8(r3) +/* 80310994 0030D8F4 D1 83 00 0C */ stfs f12, 0xc(r3) +/* 80310998 0030D8F8 D1 63 00 10 */ stfs f11, 0x10(r3) +/* 8031099C 0030D8FC D1 43 00 14 */ stfs f10, 0x14(r3) +/* 803109A0 0030D900 D1 23 00 18 */ stfs f9, 0x18(r3) +/* 803109A4 0030D904 D1 03 00 1C */ stfs f8, 0x1c(r3) +/* 803109A8 0030D908 D0 E3 00 20 */ stfs f7, 0x20(r3) +/* 803109AC 0030D90C D0 C3 00 24 */ stfs f6, 0x24(r3) +/* 803109B0 0030D910 D0 A3 00 28 */ stfs f5, 0x28(r3) +/* 803109B4 0030D914 D0 83 00 2C */ stfs f4, 0x2c(r3) +/* 803109B8 0030D918 D0 63 00 30 */ stfs f3, 0x30(r3) +/* 803109BC 0030D91C D0 43 00 34 */ stfs f2, 0x34(r3) +/* 803109C0 0030D920 D0 23 00 38 */ stfs f1, 0x38(r3) +/* 803109C4 0030D924 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 803109C8 0030D928 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 803109CC 0030D92C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 803109D0 0030D930 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 803109D4 0030D934 80 01 00 94 */ lwz r0, 0x94(r1) +/* 803109D8 0030D938 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 803109DC 0030D93C 7C 08 03 A6 */ mtlr r0 +/* 803109E0 0030D940 38 21 00 90 */ addi r1, r1, 0x90 +/* 803109E4 0030D944 4E 80 00 20 */ blr + +.global FromNUQuaternion__11CQuaternionFRC13CNUQuaternion +FromNUQuaternion__11CQuaternionFRC13CNUQuaternion: +/* 803109E8 0030D948 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803109EC 0030D94C 7C 08 02 A6 */ mflr r0 +/* 803109F0 0030D950 90 01 00 24 */ stw r0, 0x24(r1) +/* 803109F4 0030D954 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803109F8 0030D958 7C 7F 1B 78 */ mr r31, r3 +/* 803109FC 0030D95C 38 61 00 08 */ addi r3, r1, 8 +/* 80310A00 0030D960 48 00 03 E9 */ bl AsNormalized__13CNUQuaternionCFv +/* 80310A04 0030D964 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80310A08 0030D968 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80310A0C 0030D96C C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80310A10 0030D970 C0 01 00 08 */ lfs f0, 8(r1) +/* 80310A14 0030D974 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80310A18 0030D978 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80310A1C 0030D97C D0 5F 00 08 */ stfs f2, 8(r31) +/* 80310A20 0030D980 D0 7F 00 0C */ stfs f3, 0xc(r31) +/* 80310A24 0030D984 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310A28 0030D988 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80310A2C 0030D98C 7C 08 03 A6 */ mtlr r0 +/* 80310A30 0030D990 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310A34 0030D994 4E 80 00 20 */ blr + +.global __ml__FfRC13CNUQuaternion +__ml__FfRC13CNUQuaternion: +/* 80310A38 0030D998 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80310A3C 0030D99C 7C 08 02 A6 */ mflr r0 +/* 80310A40 0030D9A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80310A44 0030D9A4 C0 84 00 08 */ lfs f4, 8(r4) +/* 80310A48 0030D9A8 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 80310A4C 0030D9AC C0 44 00 04 */ lfs f2, 4(r4) +/* 80310A50 0030D9B0 EC C1 01 32 */ fmuls f6, f1, f4 +/* 80310A54 0030D9B4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310A58 0030D9B8 EC A1 00 F2 */ fmuls f5, f1, f3 +/* 80310A5C 0030D9BC D0 41 00 08 */ stfs f2, 8(r1) +/* 80310A60 0030D9C0 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 80310A64 0030D9C4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80310A68 0030D9C8 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80310A6C 0030D9CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310A70 0030D9D0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80310A74 0030D9D4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310A78 0030D9D8 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80310A7C 0030D9DC D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80310A80 0030D9E0 48 00 05 81 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310A84 0030D9E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310A88 0030D9E8 7C 08 03 A6 */ mtlr r0 +/* 80310A8C 0030D9EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310A90 0030D9F0 4E 80 00 20 */ blr + +.global __ml__FRC13CNUQuaternionf +__ml__FRC13CNUQuaternionf: +/* 80310A94 0030D9F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80310A98 0030D9F8 7C 08 02 A6 */ mflr r0 +/* 80310A9C 0030D9FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80310AA0 0030DA00 C0 84 00 08 */ lfs f4, 8(r4) +/* 80310AA4 0030DA04 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 80310AA8 0030DA08 C0 44 00 04 */ lfs f2, 4(r4) +/* 80310AAC 0030DA0C EC C1 01 32 */ fmuls f6, f1, f4 +/* 80310AB0 0030DA10 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310AB4 0030DA14 EC A1 00 F2 */ fmuls f5, f1, f3 +/* 80310AB8 0030DA18 D0 41 00 08 */ stfs f2, 8(r1) +/* 80310ABC 0030DA1C EC 41 00 B2 */ fmuls f2, f1, f2 +/* 80310AC0 0030DA20 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80310AC4 0030DA24 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80310AC8 0030DA28 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310ACC 0030DA2C D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80310AD0 0030DA30 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310AD4 0030DA34 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80310AD8 0030DA38 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80310ADC 0030DA3C 48 00 05 25 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310AE0 0030DA40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310AE4 0030DA44 7C 08 03 A6 */ mtlr r0 +/* 80310AE8 0030DA48 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310AEC 0030DA4C 4E 80 00 20 */ blr + +.global BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f +BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f: +/* 80310AF0 0030DA50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80310AF4 0030DA54 7C 08 02 A6 */ mflr r0 +/* 80310AF8 0030DA58 C0 02 C8 60 */ lfs f0, lbl_805AE580@sda21(r2) +/* 80310AFC 0030DA5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80310B00 0030DA60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80310B04 0030DA64 7C 9F 23 78 */ mr r31, r4 +/* 80310B08 0030DA68 93 C1 00 08 */ stw r30, 8(r1) +/* 80310B0C 0030DA6C 7C 7E 1B 78 */ mr r30, r3 +/* 80310B10 0030DA70 C0 44 00 00 */ lfs f2, 0(r4) +/* 80310B14 0030DA74 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 80310B18 0030DA78 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 80310B1C 0030DA7C EC 82 18 2A */ fadds f4, f2, f3 +/* 80310B20 0030DA80 EC A1 20 2A */ fadds f5, f1, f4 +/* 80310B24 0030DA84 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 80310B28 0030DA88 4C 41 13 82 */ cror 2, 1, 2 +/* 80310B2C 0030DA8C 40 82 00 58 */ bne lbl_80310B84 +/* 80310B30 0030DA90 C0 02 C8 64 */ lfs f0, lbl_805AE584@sda21(r2) +/* 80310B34 0030DA94 EC 20 28 2A */ fadds f1, f0, f5 +/* 80310B38 0030DA98 48 00 49 C9 */ bl SqrtF__5CMathFf +/* 80310B3C 0030DA9C C0 E2 C8 68 */ lfs f7, lbl_805AE588@sda21(r2) +/* 80310B40 0030DAA0 7F C3 F3 78 */ mr r3, r30 +/* 80310B44 0030DAA4 C0 DF 00 1C */ lfs f6, 0x1c(r31) +/* 80310B48 0030DAA8 ED 07 08 24 */ fdivs f8, f7, f1 +/* 80310B4C 0030DAAC C0 BF 00 14 */ lfs f5, 0x14(r31) +/* 80310B50 0030DAB0 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80310B54 0030DAB4 C0 7F 00 18 */ lfs f3, 0x18(r31) +/* 80310B58 0030DAB8 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80310B5C 0030DABC C0 1F 00 04 */ lfs f0, 4(r31) +/* 80310B60 0030DAC0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80310B64 0030DAC4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80310B68 0030DAC8 EC A6 28 28 */ fsubs f5, f6, f5 +/* 80310B6C 0030DACC EC 27 00 72 */ fmuls f1, f7, f1 +/* 80310B70 0030DAD0 EC 68 00 F2 */ fmuls f3, f8, f3 +/* 80310B74 0030DAD4 EC 48 01 72 */ fmuls f2, f8, f5 +/* 80310B78 0030DAD8 EC 88 00 32 */ fmuls f4, f8, f0 +/* 80310B7C 0030DADC 48 00 04 71 */ bl __ct__13CNUQuaternionFffff +/* 80310B80 0030DAE0 48 00 01 7C */ b lbl_80310CFC +lbl_80310B84: +/* 80310B84 0030DAE4 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80310B88 0030DAE8 38 00 00 00 */ li r0, 0 +/* 80310B8C 0030DAEC 40 81 00 18 */ ble lbl_80310BA4 +/* 80310B90 0030DAF0 FC 01 18 40 */ fcmpo cr0, f1, f3 +/* 80310B94 0030DAF4 38 00 00 01 */ li r0, 1 +/* 80310B98 0030DAF8 40 81 00 18 */ ble lbl_80310BB0 +/* 80310B9C 0030DAFC 38 00 00 02 */ li r0, 2 +/* 80310BA0 0030DB00 48 00 00 10 */ b lbl_80310BB0 +lbl_80310BA4: +/* 80310BA4 0030DB04 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80310BA8 0030DB08 40 81 00 08 */ ble lbl_80310BB0 +/* 80310BAC 0030DB0C 38 00 00 02 */ li r0, 2 +lbl_80310BB0: +/* 80310BB0 0030DB10 2C 00 00 01 */ cmpwi r0, 1 +/* 80310BB4 0030DB14 41 82 00 7C */ beq lbl_80310C30 +/* 80310BB8 0030DB18 40 80 00 10 */ bge lbl_80310BC8 +/* 80310BBC 0030DB1C 2C 00 00 00 */ cmpwi r0, 0 +/* 80310BC0 0030DB20 40 80 00 14 */ bge lbl_80310BD4 +/* 80310BC4 0030DB24 48 00 01 20 */ b lbl_80310CE4 +lbl_80310BC8: +/* 80310BC8 0030DB28 2C 00 00 03 */ cmpwi r0, 3 +/* 80310BCC 0030DB2C 40 80 01 18 */ bge lbl_80310CE4 +/* 80310BD0 0030DB30 48 00 00 BC */ b lbl_80310C8C +lbl_80310BD4: +/* 80310BD4 0030DB34 EC 03 08 2A */ fadds f0, f3, f1 +/* 80310BD8 0030DB38 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) +/* 80310BDC 0030DB3C EC 02 00 28 */ fsubs f0, f2, f0 +/* 80310BE0 0030DB40 EC 21 00 2A */ fadds f1, f1, f0 +/* 80310BE4 0030DB44 48 00 49 1D */ bl SqrtF__5CMathFf +/* 80310BE8 0030DB48 C0 42 C8 68 */ lfs f2, lbl_805AE588@sda21(r2) +/* 80310BEC 0030DB4C 7F C3 F3 78 */ mr r3, r30 +/* 80310BF0 0030DB50 C0 FF 00 1C */ lfs f7, 0x1c(r31) +/* 80310BF4 0030DB54 ED 02 08 24 */ fdivs f8, f2, f1 +/* 80310BF8 0030DB58 C0 DF 00 14 */ lfs f6, 0x14(r31) +/* 80310BFC 0030DB5C C0 BF 00 04 */ lfs f5, 4(r31) +/* 80310C00 0030DB60 C0 9F 00 0C */ lfs f4, 0xc(r31) +/* 80310C04 0030DB64 C0 7F 00 18 */ lfs f3, 0x18(r31) +/* 80310C08 0030DB68 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80310C0C 0030DB6C EC 42 00 72 */ fmuls f2, f2, f1 +/* 80310C10 0030DB70 EC 27 30 28 */ fsubs f1, f7, f6 +/* 80310C14 0030DB74 EC 85 20 2A */ fadds f4, f5, f4 +/* 80310C18 0030DB78 EC 03 00 2A */ fadds f0, f3, f0 +/* 80310C1C 0030DB7C EC 28 00 72 */ fmuls f1, f8, f1 +/* 80310C20 0030DB80 EC 68 01 32 */ fmuls f3, f8, f4 +/* 80310C24 0030DB84 EC 88 00 32 */ fmuls f4, f8, f0 +/* 80310C28 0030DB88 48 00 03 C5 */ bl __ct__13CNUQuaternionFffff +/* 80310C2C 0030DB8C 48 00 00 D0 */ b lbl_80310CFC +lbl_80310C30: +/* 80310C30 0030DB90 EC 01 10 2A */ fadds f0, f1, f2 +/* 80310C34 0030DB94 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) +/* 80310C38 0030DB98 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80310C3C 0030DB9C EC 21 00 2A */ fadds f1, f1, f0 +/* 80310C40 0030DBA0 48 00 48 C1 */ bl SqrtF__5CMathFf +/* 80310C44 0030DBA4 C0 62 C8 68 */ lfs f3, lbl_805AE588@sda21(r2) +/* 80310C48 0030DBA8 7F C3 F3 78 */ mr r3, r30 +/* 80310C4C 0030DBAC C0 FF 00 08 */ lfs f7, 8(r31) +/* 80310C50 0030DBB0 ED 03 08 24 */ fdivs f8, f3, f1 +/* 80310C54 0030DBB4 C0 DF 00 18 */ lfs f6, 0x18(r31) +/* 80310C58 0030DBB8 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80310C5C 0030DBBC C0 9F 00 0C */ lfs f4, 0xc(r31) +/* 80310C60 0030DBC0 C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 80310C64 0030DBC4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80310C68 0030DBC8 EC 63 00 72 */ fmuls f3, f3, f1 +/* 80310C6C 0030DBCC EC 27 30 28 */ fsubs f1, f7, f6 +/* 80310C70 0030DBD0 EC 85 20 2A */ fadds f4, f5, f4 +/* 80310C74 0030DBD4 EC 02 00 2A */ fadds f0, f2, f0 +/* 80310C78 0030DBD8 EC 28 00 72 */ fmuls f1, f8, f1 +/* 80310C7C 0030DBDC EC 48 01 32 */ fmuls f2, f8, f4 +/* 80310C80 0030DBE0 EC 88 00 32 */ fmuls f4, f8, f0 +/* 80310C84 0030DBE4 48 00 03 69 */ bl __ct__13CNUQuaternionFffff +/* 80310C88 0030DBE8 48 00 00 74 */ b lbl_80310CFC +lbl_80310C8C: +/* 80310C8C 0030DBEC EC 01 20 28 */ fsubs f0, f1, f4 +/* 80310C90 0030DBF0 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) +/* 80310C94 0030DBF4 EC 21 00 2A */ fadds f1, f1, f0 +/* 80310C98 0030DBF8 48 00 48 69 */ bl SqrtF__5CMathFf +/* 80310C9C 0030DBFC C0 82 C8 68 */ lfs f4, lbl_805AE588@sda21(r2) +/* 80310CA0 0030DC00 7F C3 F3 78 */ mr r3, r30 +/* 80310CA4 0030DC04 C0 FF 00 0C */ lfs f7, 0xc(r31) +/* 80310CA8 0030DC08 ED 04 08 24 */ fdivs f8, f4, f1 +/* 80310CAC 0030DC0C C0 DF 00 04 */ lfs f6, 4(r31) +/* 80310CB0 0030DC10 C0 BF 00 18 */ lfs f5, 0x18(r31) +/* 80310CB4 0030DC14 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80310CB8 0030DC18 C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 80310CBC 0030DC1C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80310CC0 0030DC20 EC 84 00 72 */ fmuls f4, f4, f1 +/* 80310CC4 0030DC24 EC 27 30 28 */ fsubs f1, f7, f6 +/* 80310CC8 0030DC28 EC 65 18 2A */ fadds f3, f5, f3 +/* 80310CCC 0030DC2C EC 02 00 2A */ fadds f0, f2, f0 +/* 80310CD0 0030DC30 EC 28 00 72 */ fmuls f1, f8, f1 +/* 80310CD4 0030DC34 EC 48 00 F2 */ fmuls f2, f8, f3 +/* 80310CD8 0030DC38 EC 68 00 32 */ fmuls f3, f8, f0 +/* 80310CDC 0030DC3C 48 00 03 11 */ bl __ct__13CNUQuaternionFffff +/* 80310CE0 0030DC40 48 00 00 1C */ b lbl_80310CFC +lbl_80310CE4: +/* 80310CE4 0030DC44 C0 22 C8 60 */ lfs f1, lbl_805AE580@sda21(r2) +/* 80310CE8 0030DC48 7F C3 F3 78 */ mr r3, r30 +/* 80310CEC 0030DC4C FC 40 08 90 */ fmr f2, f1 +/* 80310CF0 0030DC50 FC 60 08 90 */ fmr f3, f1 +/* 80310CF4 0030DC54 FC 80 08 90 */ fmr f4, f1 +/* 80310CF8 0030DC58 48 00 02 F5 */ bl __ct__13CNUQuaternionFffff +lbl_80310CFC: +/* 80310CFC 0030DC5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80310D00 0030DC60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80310D04 0030DC64 83 C1 00 08 */ lwz r30, 8(r1) +/* 80310D08 0030DC68 7C 08 03 A6 */ mtlr r0 +/* 80310D0C 0030DC6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80310D10 0030DC70 4E 80 00 20 */ blr + +.global BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion +BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion: +/* 80310D14 0030DC74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80310D18 0030DC78 7C 08 02 A6 */ mflr r0 +/* 80310D1C 0030DC7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80310D20 0030DC80 C0 24 00 00 */ lfs f1, 0(r4) +/* 80310D24 0030DC84 38 84 00 04 */ addi r4, r4, 4 +/* 80310D28 0030DC88 48 00 02 D9 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310D2C 0030DC8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80310D30 0030DC90 7C 08 03 A6 */ mtlr r0 +/* 80310D34 0030DC94 38 21 00 10 */ addi r1, r1, 0x10 +/* 80310D38 0030DC98 4E 80 00 20 */ blr + +.global BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff +BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff: +/* 80310D3C 0030DC9C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80310D40 0030DCA0 7C 08 02 A6 */ mflr r0 +/* 80310D44 0030DCA4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80310D48 0030DCA8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80310D4C 0030DCAC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80310D50 0030DCB0 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80310D54 0030DCB4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80310D58 0030DCB8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80310D5C 0030DCBC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80310D60 0030DCC0 C0 02 C8 68 */ lfs f0, lbl_805AE588@sda21(r2) +/* 80310D64 0030DCC4 7C 7E 1B 78 */ mr r30, r3 +/* 80310D68 0030DCC8 7C 9F 23 78 */ mr r31, r4 +/* 80310D6C 0030DCCC EF C1 00 32 */ fmuls f30, f1, f0 +/* 80310D70 0030DCD0 FC 20 F0 90 */ fmr f1, f30 +/* 80310D74 0030DCD4 48 00 45 95 */ bl SlowSineR__5CMathFf +/* 80310D78 0030DCD8 FF E0 08 90 */ fmr f31, f1 +/* 80310D7C 0030DCDC 7F E4 FB 78 */ mr r4, r31 +/* 80310D80 0030DCE0 38 61 00 08 */ addi r3, r1, 8 +/* 80310D84 0030DCE4 48 00 3A CD */ bl AsNormalized__9CVector3fCFv +/* 80310D88 0030DCE8 C0 61 00 08 */ lfs f3, 8(r1) +/* 80310D8C 0030DCEC FC 20 F0 90 */ fmr f1, f30 +/* 80310D90 0030DCF0 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80310D94 0030DCF4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80310D98 0030DCF8 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 80310D9C 0030DCFC EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80310DA0 0030DD00 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80310DA4 0030DD04 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80310DA8 0030DD08 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80310DAC 0030DD0C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80310DB0 0030DD10 48 00 45 35 */ bl SlowCosineR__5CMathFf +/* 80310DB4 0030DD14 7F C3 F3 78 */ mr r3, r30 +/* 80310DB8 0030DD18 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310DBC 0030DD1C 48 00 02 45 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310DC0 0030DD20 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80310DC4 0030DD24 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80310DC8 0030DD28 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80310DCC 0030DD2C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80310DD0 0030DD30 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80310DD4 0030DD34 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80310DD8 0030DD38 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80310DDC 0030DD3C 7C 08 03 A6 */ mtlr r0 +/* 80310DE0 0030DD40 38 21 00 50 */ addi r1, r1, 0x50 +/* 80310DE4 0030DD44 4E 80 00 20 */ blr + +.global AsNormalized__13CNUQuaternionCFv +AsNormalized__13CNUQuaternionCFv: +/* 80310DE8 0030DD48 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80310DEC 0030DD4C 7C 08 02 A6 */ mflr r0 +/* 80310DF0 0030DD50 90 01 00 34 */ stw r0, 0x34(r1) +/* 80310DF4 0030DD54 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80310DF8 0030DD58 7C 9F 23 78 */ mr r31, r4 +/* 80310DFC 0030DD5C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80310E00 0030DD60 7C 7E 1B 78 */ mr r30, r3 +/* 80310E04 0030DD64 C0 24 00 04 */ lfs f1, 4(r4) +/* 80310E08 0030DD68 C0 04 00 08 */ lfs f0, 8(r4) +/* 80310E0C 0030DD6C EC 21 00 72 */ fmuls f1, f1, f1 +/* 80310E10 0030DD70 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80310E14 0030DD74 EC 00 00 32 */ fmuls f0, f0, f0 +/* 80310E18 0030DD78 C0 64 00 00 */ lfs f3, 0(r4) +/* 80310E1C 0030DD7C EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80310E20 0030DD80 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80310E24 0030DD84 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310E28 0030DD88 EC 02 00 2A */ fadds f0, f2, f0 +/* 80310E2C 0030DD8C EC 23 00 2A */ fadds f1, f3, f0 +/* 80310E30 0030DD90 48 00 45 A9 */ bl InvSqrtF__5CMathFf +/* 80310E34 0030DD94 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80310E38 0030DD98 7F C3 F3 78 */ mr r3, r30 +/* 80310E3C 0030DD9C C0 9F 00 08 */ lfs f4, 8(r31) +/* 80310E40 0030DDA0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310E44 0030DDA4 C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 80310E48 0030DDA8 EC 41 01 72 */ fmuls f2, f1, f5 +/* 80310E4C 0030DDAC EC E1 01 32 */ fmuls f7, f1, f4 +/* 80310E50 0030DDB0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80310E54 0030DDB4 EC C1 00 F2 */ fmuls f6, f1, f3 +/* 80310E58 0030DDB8 D0 A1 00 08 */ stfs f5, 8(r1) +/* 80310E5C 0030DDBC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80310E60 0030DDC0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80310E64 0030DDC4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80310E68 0030DDC8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310E6C 0030DDCC D0 E1 00 18 */ stfs f7, 0x18(r1) +/* 80310E70 0030DDD0 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 80310E74 0030DDD4 48 00 01 8D */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310E78 0030DDD8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80310E7C 0030DDDC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80310E80 0030DDE0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80310E84 0030DDE4 7C 08 03 A6 */ mtlr r0 +/* 80310E88 0030DDE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80310E8C 0030DDEC 4E 80 00 20 */ blr + +.global __apl__13CNUQuaternionFRC13CNUQuaternion +__apl__13CNUQuaternionFRC13CNUQuaternion: +/* 80310E90 0030DDF0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80310E94 0030DDF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310E98 0030DDF8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310E9C 0030DDFC D0 03 00 00 */ stfs f0, 0(r3) +/* 80310EA0 0030DE00 C0 23 00 04 */ lfs f1, 4(r3) +/* 80310EA4 0030DE04 C0 04 00 04 */ lfs f0, 4(r4) +/* 80310EA8 0030DE08 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310EAC 0030DE0C D0 03 00 04 */ stfs f0, 4(r3) +/* 80310EB0 0030DE10 C0 23 00 08 */ lfs f1, 8(r3) +/* 80310EB4 0030DE14 C0 04 00 08 */ lfs f0, 8(r4) +/* 80310EB8 0030DE18 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310EBC 0030DE1C D0 03 00 08 */ stfs f0, 8(r3) +/* 80310EC0 0030DE20 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80310EC4 0030DE24 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80310EC8 0030DE28 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310ECC 0030DE2C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80310ED0 0030DE30 4E 80 00 20 */ blr + +.global __ml__13CNUQuaternionCFRC13CNUQuaternion +__ml__13CNUQuaternionCFRC13CNUQuaternion: +/* 80310ED4 0030DE34 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80310ED8 0030DE38 7C 08 02 A6 */ mflr r0 +/* 80310EDC 0030DE3C 90 01 00 94 */ stw r0, 0x94(r1) +/* 80310EE0 0030DE40 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80310EE4 0030DE44 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80310EE8 0030DE48 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80310EEC 0030DE4C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80310EF0 0030DE50 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80310EF4 0030DE54 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80310EF8 0030DE58 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80310EFC 0030DE5C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80310F00 0030DE60 C1 84 00 08 */ lfs f12, 8(r4) +/* 80310F04 0030DE64 C3 A5 00 08 */ lfs f29, 8(r5) +/* 80310F08 0030DE68 C3 E4 00 0C */ lfs f31, 0xc(r4) +/* 80310F0C 0030DE6C C1 65 00 00 */ lfs f11, 0(r5) +/* 80310F10 0030DE70 EC 0C 07 72 */ fmuls f0, f12, f29 +/* 80310F14 0030DE74 C1 A4 00 04 */ lfs f13, 4(r4) +/* 80310F18 0030DE78 ED 3D 07 F2 */ fmuls f9, f29, f31 +/* 80310F1C 0030DE7C C3 C5 00 04 */ lfs f30, 4(r5) +/* 80310F20 0030DE80 EC CB 03 32 */ fmuls f6, f11, f12 +/* 80310F24 0030DE84 C1 44 00 00 */ lfs f10, 0(r4) +/* 80310F28 0030DE88 C3 85 00 0C */ lfs f28, 0xc(r5) +/* 80310F2C 0030DE8C EC FE 03 32 */ fmuls f7, f30, f12 +/* 80310F30 0030DE90 EC 2A 07 72 */ fmuls f1, f10, f29 +/* 80310F34 0030DE94 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80310F38 0030DE98 ED 1C 03 72 */ fmuls f8, f28, f13 +/* 80310F3C 0030DE9C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80310F40 0030DEA0 EC 6B 03 72 */ fmuls f3, f11, f13 +/* 80310F44 0030DEA4 EC AA 07 B2 */ fmuls f5, f10, f30 +/* 80310F48 0030DEA8 EC 4B 07 F2 */ fmuls f2, f11, f31 +/* 80310F4C 0030DEAC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80310F50 0030DEB0 EC 8A 07 32 */ fmuls f4, f10, f28 +/* 80310F54 0030DEB4 EC 0D 07 BA */ fmadds f0, f13, f30, f0 +/* 80310F58 0030DEB8 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80310F5C 0030DEBC ED 2C 4F 38 */ fmsubs f9, f12, f28, f9 +/* 80310F60 0030DEC0 EC 65 18 2A */ fadds f3, f5, f3 +/* 80310F64 0030DEC4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80310F68 0030DEC8 ED 1F 47 B8 */ fmsubs f8, f31, f30, f8 +/* 80310F6C 0030DECC ED 81 30 2A */ fadds f12, f1, f6 +/* 80310F70 0030DED0 D1 21 00 08 */ stfs f9, 8(r1) +/* 80310F74 0030DED4 EC 2D 3F 78 */ fmsubs f1, f13, f29, f7 +/* 80310F78 0030DED8 EC C4 10 2A */ fadds f6, f4, f2 +/* 80310F7C 0030DEDC D1 01 00 0C */ stfs f8, 0xc(r1) +/* 80310F80 0030DEE0 EC 1F 07 3A */ fmadds f0, f31, f28, f0 +/* 80310F84 0030DEE4 ED 0C 40 2A */ fadds f8, f12, f8 +/* 80310F88 0030DEE8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80310F8C 0030DEEC EC E6 08 2A */ fadds f7, f6, f1 +/* 80310F90 0030DEF0 EC 43 48 2A */ fadds f2, f3, f9 +/* 80310F94 0030DEF4 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 80310F98 0030DEF8 EC 2A 02 F8 */ fmsubs f1, f10, f11, f0 +/* 80310F9C 0030DEFC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80310FA0 0030DF00 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80310FA4 0030DF04 D1 81 00 30 */ stfs f12, 0x30(r1) +/* 80310FA8 0030DF08 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 80310FAC 0030DF0C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80310FB0 0030DF10 D1 01 00 3C */ stfs f8, 0x3c(r1) +/* 80310FB4 0030DF14 D0 E1 00 40 */ stfs f7, 0x40(r1) +/* 80310FB8 0030DF18 48 00 00 49 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310FBC 0030DF1C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80310FC0 0030DF20 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80310FC4 0030DF24 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80310FC8 0030DF28 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80310FCC 0030DF2C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80310FD0 0030DF30 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80310FD4 0030DF34 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80310FD8 0030DF38 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80310FDC 0030DF3C CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80310FE0 0030DF40 7C 08 03 A6 */ mtlr r0 +/* 80310FE4 0030DF44 38 21 00 90 */ addi r1, r1, 0x90 +/* 80310FE8 0030DF48 4E 80 00 20 */ blr + +.global __ct__13CNUQuaternionFffff +__ct__13CNUQuaternionFffff: +/* 80310FEC 0030DF4C D0 23 00 00 */ stfs f1, 0(r3) +/* 80310FF0 0030DF50 D0 43 00 04 */ stfs f2, 4(r3) +/* 80310FF4 0030DF54 D0 63 00 08 */ stfs f3, 8(r3) +/* 80310FF8 0030DF58 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80310FFC 0030DF5C 4E 80 00 20 */ blr + +.global __ct__13CNUQuaternionFfRC9CVector3f +__ct__13CNUQuaternionFfRC9CVector3f: +/* 80311000 0030DF60 D0 23 00 00 */ stfs f1, 0(r3) +/* 80311004 0030DF64 C0 04 00 00 */ lfs f0, 0(r4) +/* 80311008 0030DF68 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031100C 0030DF6C C0 04 00 04 */ lfs f0, 4(r4) +/* 80311010 0030DF70 D0 03 00 08 */ stfs f0, 8(r3) +/* 80311014 0030DF74 C0 04 00 08 */ lfs f0, 8(r4) +/* 80311018 0030DF78 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031101C 0030DF7C 4E 80 00 20 */ blr + +.global ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle +ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle: +/* 80311020 0030DF80 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80311024 0030DF84 7C 08 02 A6 */ mflr r0 +/* 80311028 0030DF88 90 01 00 64 */ stw r0, 0x64(r1) +/* 8031102C 0030DF8C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80311030 0030DF90 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80311034 0030DF94 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80311038 0030DF98 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8031103C 0030DF9C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80311040 0030DFA0 7C 7D 1B 78 */ mr r29, r3 +/* 80311044 0030DFA4 7C DE 33 78 */ mr r30, r6 +/* 80311048 0030DFA8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031104C 0030DFAC 48 00 0A 6D */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +/* 80311050 0030DFB0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80311054 0030DFB4 3B E1 00 28 */ addi r31, r1, 0x28 +/* 80311058 0030DFB8 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8031105C 0030DFBC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80311060 0030DFC0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80311064 0030DFC4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80311068 0030DFC8 C3 FE 00 00 */ lfs f31, 0(r30) +/* 8031106C 0030DFCC D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80311070 0030DFD0 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80311074 0030DFD4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80311078 0030DFD8 48 08 3B B5 */ bl acos +/* 8031107C 0030DFDC FC 20 08 18 */ frsp f1, f1 +/* 80311080 0030DFE0 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311084 0030DFE4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80311088 0030DFE8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8031108C 0030DFEC 4C 41 13 82 */ cror 2, 1, 2 +/* 80311090 0030DFF0 40 82 00 28 */ bne lbl_803110B8 +/* 80311094 0030DFF4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80311098 0030DFF8 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8031109C 0030DFFC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 803110A0 0030E000 D0 1D 00 04 */ stfs f0, 4(r29) +/* 803110A4 0030E004 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 803110A8 0030E008 D0 1D 00 08 */ stfs f0, 8(r29) +/* 803110AC 0030E00C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 803110B0 0030E010 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 803110B4 0030E014 48 00 00 20 */ b lbl_803110D4 +lbl_803110B8: +/* 803110B8 0030E018 7F E4 FB 78 */ mr r4, r31 +/* 803110BC 0030E01C 38 61 00 08 */ addi r3, r1, 8 +/* 803110C0 0030E020 48 00 2D 11 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 803110C4 0030E024 7C 64 1B 78 */ mr r4, r3 +/* 803110C8 0030E028 7F A3 EB 78 */ mr r3, r29 +/* 803110CC 0030E02C 7F C5 F3 78 */ mr r5, r30 +/* 803110D0 0030E030 48 00 02 25 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +lbl_803110D4: +/* 803110D4 0030E034 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 803110D8 0030E038 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803110DC 0030E03C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 803110E0 0030E040 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 803110E4 0030E044 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 803110E8 0030E048 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 803110EC 0030E04C 7C 08 03 A6 */ mtlr r0 +/* 803110F0 0030E050 38 21 00 60 */ addi r1, r1, 0x60 +/* 803110F4 0030E054 4E 80 00 20 */ blr + +.global ZRotation__11CQuaternionFRC9CRelAngle +ZRotation__11CQuaternionFRC9CRelAngle: +/* 803110F8 0030E058 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803110FC 0030E05C 7C 08 02 A6 */ mflr r0 +/* 80311100 0030E060 3C C0 80 4C */ lis r6, lbl_804BFD48@ha +/* 80311104 0030E064 7C 85 23 78 */ mr r5, r4 +/* 80311108 0030E068 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031110C 0030E06C 38 86 FD 48 */ addi r4, r6, lbl_804BFD48@l +/* 80311110 0030E070 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80311114 0030E074 7C 7F 1B 78 */ mr r31, r3 +/* 80311118 0030E078 48 00 01 DD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8031111C 0030E07C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80311120 0030E080 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80311124 0030E084 7C 08 03 A6 */ mtlr r0 +/* 80311128 0030E088 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031112C 0030E08C 4E 80 00 20 */ blr + +.global YRotation__11CQuaternionFRC9CRelAngle +YRotation__11CQuaternionFRC9CRelAngle: +/* 80311130 0030E090 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80311134 0030E094 7C 08 02 A6 */ mflr r0 +/* 80311138 0030E098 3C C0 80 4C */ lis r6, lbl_804BFD3C@ha +/* 8031113C 0030E09C 7C 85 23 78 */ mr r5, r4 +/* 80311140 0030E0A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80311144 0030E0A4 38 86 FD 3C */ addi r4, r6, lbl_804BFD3C@l +/* 80311148 0030E0A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031114C 0030E0AC 7C 7F 1B 78 */ mr r31, r3 +/* 80311150 0030E0B0 48 00 01 A5 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80311154 0030E0B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80311158 0030E0B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031115C 0030E0BC 7C 08 03 A6 */ mtlr r0 +/* 80311160 0030E0C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80311164 0030E0C4 4E 80 00 20 */ blr + +.global XRotation__11CQuaternionFRC9CRelAngle +XRotation__11CQuaternionFRC9CRelAngle: +/* 80311168 0030E0C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031116C 0030E0CC 7C 08 02 A6 */ mflr r0 +/* 80311170 0030E0D0 3C C0 80 4C */ lis r6, lbl_804BFD30@ha +/* 80311174 0030E0D4 7C 85 23 78 */ mr r5, r4 +/* 80311178 0030E0D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031117C 0030E0DC 38 86 FD 30 */ addi r4, r6, lbl_804BFD30@l +/* 80311180 0030E0E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80311184 0030E0E4 7C 7F 1B 78 */ mr r31, r3 +/* 80311188 0030E0E8 48 00 01 6D */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8031118C 0030E0EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80311190 0030E0F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80311194 0030E0F4 7C 08 03 A6 */ mtlr r0 +/* 80311198 0030E0F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031119C 0030E0FC 4E 80 00 20 */ blr + +.global __ml__11CQuaternionCFRC11CQuaternion +__ml__11CQuaternionCFRC11CQuaternion: +/* 803111A0 0030E100 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803111A4 0030E104 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803111A8 0030E108 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803111AC 0030E10C DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803111B0 0030E110 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803111B4 0030E114 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 803111B8 0030E118 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 803111BC 0030E11C C1 84 00 08 */ lfs f12, 8(r4) +/* 803111C0 0030E120 C3 C5 00 08 */ lfs f30, 8(r5) +/* 803111C4 0030E124 C3 E5 00 04 */ lfs f31, 4(r5) +/* 803111C8 0030E128 EC 2C 07 B2 */ fmuls f1, f12, f30 +/* 803111CC 0030E12C C1 64 00 04 */ lfs f11, 4(r4) +/* 803111D0 0030E130 C1 24 00 00 */ lfs f9, 0(r4) +/* 803111D4 0030E134 EC 1F 03 32 */ fmuls f0, f31, f12 +/* 803111D8 0030E138 C1 45 00 00 */ lfs f10, 0(r5) +/* 803111DC 0030E13C C1 A4 00 0C */ lfs f13, 0xc(r4) +/* 803111E0 0030E140 C3 A5 00 0C */ lfs f29, 0xc(r5) +/* 803111E4 0030E144 EC 4B 0F FA */ fmadds f2, f11, f31, f1 +/* 803111E8 0030E148 EC 3E 03 72 */ fmuls f1, f30, f13 +/* 803111EC 0030E14C EC 7D 02 F2 */ fmuls f3, f29, f11 +/* 803111F0 0030E150 EC 8D 17 7A */ fmadds f4, f13, f29, f2 +/* 803111F4 0030E154 EC C9 07 F2 */ fmuls f6, f9, f31 +/* 803111F8 0030E158 EC 4A 02 F2 */ fmuls f2, f10, f11 +/* 803111FC 0030E15C ED 09 22 B8 */ fmsubs f8, f9, f10, f4 +/* 80311200 0030E160 EC A9 07 B2 */ fmuls f5, f9, f30 +/* 80311204 0030E164 EC 8A 03 32 */ fmuls f4, f10, f12 +/* 80311208 0030E168 EC E6 10 2A */ fadds f7, f6, f2 +/* 8031120C 0030E16C D1 03 00 00 */ stfs f8, 0(r3) +/* 80311210 0030E170 EC CC 0F 78 */ fmsubs f6, f12, f29, f1 +/* 80311214 0030E174 EC 49 07 72 */ fmuls f2, f9, f29 +/* 80311218 0030E178 EC 2A 03 72 */ fmuls f1, f10, f13 +/* 8031121C 0030E17C EC C7 30 2A */ fadds f6, f7, f6 +/* 80311220 0030E180 EC 85 20 2A */ fadds f4, f5, f4 +/* 80311224 0030E184 EC 6D 1F F8 */ fmsubs f3, f13, f31, f3 +/* 80311228 0030E188 EC 22 08 2A */ fadds f1, f2, f1 +/* 8031122C 0030E18C D0 C3 00 04 */ stfs f6, 4(r3) +/* 80311230 0030E190 EC 0B 07 B8 */ fmsubs f0, f11, f30, f0 +/* 80311234 0030E194 EC 44 18 2A */ fadds f2, f4, f3 +/* 80311238 0030E198 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031123C 0030E19C D0 43 00 08 */ stfs f2, 8(r3) +/* 80311240 0030E1A0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80311244 0030E1A4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80311248 0030E1A8 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8031124C 0030E1AC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80311250 0030E1B0 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80311254 0030E1B4 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 80311258 0030E1B8 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 8031125C 0030E1BC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80311260 0030E1C0 4E 80 00 20 */ blr + +.global Transform__11CQuaternionCFRC9CVector3f +Transform__11CQuaternionCFRC9CVector3f: +/* 80311264 0030E1C4 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80311268 0030E1C8 C0 85 00 04 */ lfs f4, 4(r5) +/* 8031126C 0030E1CC C1 04 00 04 */ lfs f8, 4(r4) +/* 80311270 0030E1D0 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80311274 0030E1D4 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80311278 0030E1D8 C1 24 00 0C */ lfs f9, 0xc(r4) +/* 8031127C 0030E1DC EC 48 01 32 */ fmuls f2, f8, f4 +/* 80311280 0030E1E0 C0 A5 00 08 */ lfs f5, 8(r5) +/* 80311284 0030E1E4 EC 68 01 FA */ fmadds f3, f8, f7, f0 +/* 80311288 0030E1E8 C1 44 00 00 */ lfs f10, 0(r4) +/* 8031128C 0030E1EC EC 06 01 72 */ fmuls f0, f6, f5 +/* 80311290 0030E1F0 EC 29 01 F2 */ fmuls f1, f9, f7 +/* 80311294 0030E1F4 EC 69 19 7A */ fmadds f3, f9, f5, f3 +/* 80311298 0030E1F8 EC 0A 01 FA */ fmadds f0, f10, f7, f0 +/* 8031129C 0030E1FC EC 2A 09 3A */ fmadds f1, f10, f4, f1 +/* 803112A0 0030E200 FD 60 18 50 */ fneg f11, f3 +/* 803112A4 0030E204 EC 6A 11 7A */ fmadds f3, f10, f5, f2 +/* 803112A8 0030E208 EC 84 02 7C */ fnmsubs f4, f4, f9, f0 +/* 803112AC 0030E20C EC 0B 02 32 */ fmuls f0, f11, f8 +/* 803112B0 0030E210 EC A5 0A 3C */ fnmsubs f5, f5, f8, f1 +/* 803112B4 0030E214 EC 2B 01 B2 */ fmuls f1, f11, f6 +/* 803112B8 0030E218 EC 4A 01 38 */ fmsubs f2, f10, f4, f0 +/* 803112BC 0030E21C EC 67 19 BC */ fnmsubs f3, f7, f6, f3 +/* 803112C0 0030E220 EC 0B 02 72 */ fmuls f0, f11, f9 +/* 803112C4 0030E224 EC 2A 09 78 */ fmsubs f1, f10, f5, f1 +/* 803112C8 0030E228 EC 45 12 7C */ fnmsubs f2, f5, f9, f2 +/* 803112CC 0030E22C EC 0A 00 F8 */ fmsubs f0, f10, f3, f0 +/* 803112D0 0030E230 EC 23 0A 3C */ fnmsubs f1, f3, f8, f1 +/* 803112D4 0030E234 EC 46 10 FA */ fmadds f2, f6, f3, f2 +/* 803112D8 0030E238 EC 04 01 BC */ fnmsubs f0, f4, f6, f0 +/* 803112DC 0030E23C EC 29 09 3A */ fmadds f1, f9, f4, f1 +/* 803112E0 0030E240 D0 43 00 00 */ stfs f2, 0(r3) +/* 803112E4 0030E244 EC 08 01 7A */ fmadds f0, f8, f5, f0 +/* 803112E8 0030E248 D0 23 00 04 */ stfs f1, 4(r3) +/* 803112EC 0030E24C D0 03 00 08 */ stfs f0, 8(r3) +/* 803112F0 0030E250 4E 80 00 20 */ blr + +.global AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle: +/* 803112F4 0030E254 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803112F8 0030E258 7C 08 02 A6 */ mflr r0 +/* 803112FC 0030E25C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80311300 0030E260 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80311304 0030E264 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80311308 0030E268 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031130C 0030E26C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80311310 0030E270 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80311314 0030E274 7C BF 2B 78 */ mr r31, r5 +/* 80311318 0030E278 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) +/* 8031131C 0030E27C C0 25 00 00 */ lfs f1, 0(r5) +/* 80311320 0030E280 7C 7D 1B 78 */ mr r29, r3 +/* 80311324 0030E284 7C 9E 23 78 */ mr r30, r4 +/* 80311328 0030E288 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8031132C 0030E28C 48 08 30 C5 */ bl cos +/* 80311330 0030E290 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80311334 0030E294 FF E0 08 90 */ fmr f31, f1 +/* 80311338 0030E298 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) +/* 8031133C 0030E29C EC 42 00 32 */ fmuls f2, f2, f0 +/* 80311340 0030E2A0 FC 20 10 90 */ fmr f1, f2 +/* 80311344 0030E2A4 48 08 37 99 */ bl sin +/* 80311348 0030E2A8 FC 80 08 18 */ frsp f4, f1 +/* 8031134C 0030E2AC C0 7E 00 00 */ lfs f3, 0(r30) +/* 80311350 0030E2B0 FC 00 F8 18 */ frsp f0, f31 +/* 80311354 0030E2B4 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80311358 0030E2B8 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8031135C 0030E2BC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80311360 0030E2C0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80311364 0030E2C4 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80311368 0030E2C8 EC 04 00 72 */ fmuls f0, f4, f1 +/* 8031136C 0030E2CC D0 7D 00 04 */ stfs f3, 4(r29) +/* 80311370 0030E2D0 D0 5D 00 08 */ stfs f2, 8(r29) +/* 80311374 0030E2D4 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80311378 0030E2D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8031137C 0030E2DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80311380 0030E2E0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80311384 0030E2E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80311388 0030E2E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031138C 0030E2EC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80311390 0030E2F0 7C 08 03 A6 */ mtlr r0 +/* 80311394 0030E2F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80311398 0030E2F8 4E 80 00 20 */ blr + +.global BuildNormalized__11CQuaternionCFv +BuildNormalized__11CQuaternionCFv: +/* 8031139C 0030E2FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803113A0 0030E300 7C 08 02 A6 */ mflr r0 +/* 803113A4 0030E304 90 01 00 14 */ stw r0, 0x14(r1) +/* 803113A8 0030E308 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803113AC 0030E30C 7C 9F 23 78 */ mr r31, r4 +/* 803113B0 0030E310 93 C1 00 08 */ stw r30, 8(r1) +/* 803113B4 0030E314 7C 7E 1B 78 */ mr r30, r3 +/* 803113B8 0030E318 C0 24 00 04 */ lfs f1, 4(r4) +/* 803113BC 0030E31C C0 04 00 08 */ lfs f0, 8(r4) +/* 803113C0 0030E320 EC 21 00 72 */ fmuls f1, f1, f1 +/* 803113C4 0030E324 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 803113C8 0030E328 EC 00 00 32 */ fmuls f0, f0, f0 +/* 803113CC 0030E32C C0 64 00 00 */ lfs f3, 0(r4) +/* 803113D0 0030E330 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 803113D4 0030E334 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 803113D8 0030E338 EC 01 00 2A */ fadds f0, f1, f0 +/* 803113DC 0030E33C EC 02 00 2A */ fadds f0, f2, f0 +/* 803113E0 0030E340 EC 23 00 2A */ fadds f1, f3, f0 +/* 803113E4 0030E344 48 00 3F F5 */ bl InvSqrtF__5CMathFf +/* 803113E8 0030E348 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803113EC 0030E34C C0 9F 00 04 */ lfs f4, 4(r31) +/* 803113F0 0030E350 EC 01 00 32 */ fmuls f0, f1, f0 +/* 803113F4 0030E354 C0 7F 00 08 */ lfs f3, 8(r31) +/* 803113F8 0030E358 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 803113FC 0030E35C EC 81 01 32 */ fmuls f4, f1, f4 +/* 80311400 0030E360 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 80311404 0030E364 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80311408 0030E368 EC 01 00 B2 */ fmuls f0, f1, f2 +/* 8031140C 0030E36C D0 9E 00 04 */ stfs f4, 4(r30) +/* 80311410 0030E370 D0 7E 00 08 */ stfs f3, 8(r30) +/* 80311414 0030E374 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 80311418 0030E378 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031141C 0030E37C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80311420 0030E380 83 C1 00 08 */ lwz r30, 8(r1) +/* 80311424 0030E384 7C 08 03 A6 */ mtlr r0 +/* 80311428 0030E388 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031142C 0030E38C 4E 80 00 20 */ blr + +.global BuildEquivalent__11CQuaternionCFv +BuildEquivalent__11CQuaternionCFv: +/* 80311430 0030E390 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80311434 0030E394 7C 08 02 A6 */ mflr r0 +/* 80311438 0030E398 90 01 00 44 */ stw r0, 0x44(r1) +/* 8031143C 0030E39C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80311440 0030E3A0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80311444 0030E3A4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80311448 0030E3A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031144C 0030E3AC 7C 9F 23 78 */ mr r31, r4 +/* 80311450 0030E3B0 C0 0D 9C A0 */ lfs f0, lbl_805A8860@sda21(r13) +/* 80311454 0030E3B4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80311458 0030E3B8 7C 7E 1B 78 */ mr r30, r3 +/* 8031145C 0030E3BC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80311460 0030E3C0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80311464 0030E3C4 40 80 00 0C */ bge lbl_80311470 +/* 80311468 0030E3C8 38 6D 9C A0 */ addi r3, r13, lbl_805A8860@sda21 +/* 8031146C 0030E3CC 48 00 00 08 */ b lbl_80311474 +lbl_80311470: +/* 80311470 0030E3D0 38 61 00 0C */ addi r3, r1, 0xc +lbl_80311474: +/* 80311474 0030E3D4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80311478 0030E3D8 C0 0D 9C A4 */ lfs f0, lbl_805A8864@sda21(r13) +/* 8031147C 0030E3DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311480 0030E3E0 40 80 00 08 */ bge lbl_80311488 +/* 80311484 0030E3E4 38 6D 9C A4 */ addi r3, r13, lbl_805A8864@sda21 +lbl_80311488: +/* 80311488 0030E3E8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031148C 0030E3EC 48 08 37 A1 */ bl acos +/* 80311490 0030E3F0 C8 02 C8 80 */ lfd f0, lbl_805AE5A0@sda21(r2) +/* 80311494 0030E3F4 C8 42 C8 90 */ lfd f2, lbl_805AE5B0@sda21(r2) +/* 80311498 0030E3F8 FC 80 00 72 */ fmul f4, f0, f1 +/* 8031149C 0030E3FC C8 62 C8 88 */ lfd f3, lbl_805AE5A8@sda21(r2) +/* 803114A0 0030E400 C8 02 C8 98 */ lfd f0, lbl_805AE5B8@sda21(r2) +/* 803114A4 0030E404 FC 24 10 28 */ fsub f1, f4, f2 +/* 803114A8 0030E408 FF E3 20 2A */ fadd f31, f3, f4 +/* 803114AC 0030E40C FC 20 0A 10 */ fabs f1, f1 +/* 803114B0 0030E410 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803114B4 0030E414 40 80 00 2C */ bge lbl_803114E0 +/* 803114B8 0030E418 C0 02 C8 A0 */ lfs f0, lbl_805AE5C0@sda21(r2) +/* 803114BC 0030E41C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803114C0 0030E420 D0 1E 00 00 */ stfs f0, 0(r30) +/* 803114C4 0030E424 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 803114C8 0030E428 D0 1E 00 04 */ stfs f0, 4(r30) +/* 803114CC 0030E42C C0 03 00 04 */ lfs f0, 4(r3) +/* 803114D0 0030E430 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803114D4 0030E434 C0 03 00 08 */ lfs f0, 8(r3) +/* 803114D8 0030E438 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 803114DC 0030E43C 48 00 00 28 */ b lbl_80311504 +lbl_803114E0: +/* 803114E0 0030E440 38 61 00 10 */ addi r3, r1, 0x10 +/* 803114E4 0030E444 38 9F 00 04 */ addi r4, r31, 4 +/* 803114E8 0030E448 48 00 28 E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 803114EC 0030E44C FC 00 F8 18 */ frsp f0, f31 +/* 803114F0 0030E450 7F C3 F3 78 */ mr r3, r30 +/* 803114F4 0030E454 38 81 00 10 */ addi r4, r1, 0x10 +/* 803114F8 0030E458 38 A1 00 08 */ addi r5, r1, 8 +/* 803114FC 0030E45C D0 01 00 08 */ stfs f0, 8(r1) +/* 80311500 0030E460 4B FF FD F5 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +lbl_80311504: +/* 80311504 0030E464 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80311508 0030E468 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8031150C 0030E46C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80311510 0030E470 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80311514 0030E474 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80311518 0030E478 7C 08 03 A6 */ mtlr r0 +/* 8031151C 0030E47C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80311520 0030E480 4E 80 00 20 */ blr + +.global AngleFrom__11CQuaternionCFRC11CQuaternion +AngleFrom__11CQuaternionCFRC11CQuaternion: +/* 80311524 0030E484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80311528 0030E488 7C 08 02 A6 */ mflr r0 +/* 8031152C 0030E48C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80311530 0030E490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80311534 0030E494 7C 7F 1B 78 */ mr r31, r3 +/* 80311538 0030E498 C0 24 00 08 */ lfs f1, 8(r4) +/* 8031153C 0030E49C C0 05 00 08 */ lfs f0, 8(r5) +/* 80311540 0030E4A0 C0 44 00 04 */ lfs f2, 4(r4) +/* 80311544 0030E4A4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80311548 0030E4A8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8031154C 0030E4AC C0 84 00 0C */ lfs f4, 0xc(r4) +/* 80311550 0030E4B0 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 80311554 0030E4B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80311558 0030E4B8 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8031155C 0030E4BC C0 45 00 00 */ lfs f2, 0(r5) +/* 80311560 0030E4C0 C0 0D 9C 98 */ lfs f0, lbl_805A8858@sda21(r13) +/* 80311564 0030E4C4 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80311568 0030E4C8 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 8031156C 0030E4CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311570 0030E4D0 D0 21 00 08 */ stfs f1, 8(r1) +/* 80311574 0030E4D4 40 80 00 0C */ bge lbl_80311580 +/* 80311578 0030E4D8 38 6D 9C 98 */ addi r3, r13, lbl_805A8858@sda21 +/* 8031157C 0030E4DC 48 00 00 08 */ b lbl_80311584 +lbl_80311580: +/* 80311580 0030E4E0 38 61 00 08 */ addi r3, r1, 8 +lbl_80311584: +/* 80311584 0030E4E4 C0 2D 9C 9C */ lfs f1, lbl_805A885C@sda21(r13) +/* 80311588 0030E4E8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8031158C 0030E4EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311590 0030E4F0 40 80 00 08 */ bge lbl_80311598 +/* 80311594 0030E4F4 38 6D 9C 9C */ addi r3, r13, lbl_805A885C@sda21 +lbl_80311598: +/* 80311598 0030E4F8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031159C 0030E4FC 48 00 3D F5 */ bl ArcCosineR__5CMathFf +/* 803115A0 0030E500 D0 3F 00 00 */ stfs f1, 0(r31) +/* 803115A4 0030E504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803115A8 0030E508 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803115AC 0030E50C 7C 08 03 A6 */ mtlr r0 +/* 803115B0 0030E510 38 21 00 20 */ addi r1, r1, 0x20 +/* 803115B4 0030E514 4E 80 00 20 */ blr + +.global SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf +SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf: +/* 803115B8 0030E518 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803115BC 0030E51C 7C 08 02 A6 */ mflr r0 +/* 803115C0 0030E520 90 01 00 54 */ stw r0, 0x54(r1) +/* 803115C4 0030E524 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 803115C8 0030E528 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 803115CC 0030E52C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803115D0 0030E530 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803115D4 0030E534 C0 44 00 08 */ lfs f2, 8(r4) +/* 803115D8 0030E538 FF E0 08 90 */ fmr f31, f1 +/* 803115DC 0030E53C C0 05 00 08 */ lfs f0, 8(r5) +/* 803115E0 0030E540 7C 9F 23 78 */ mr r31, r4 +/* 803115E4 0030E544 C0 64 00 04 */ lfs f3, 4(r4) +/* 803115E8 0030E548 7C 7E 1B 78 */ mr r30, r3 +/* 803115EC 0030E54C EC 02 00 32 */ fmuls f0, f2, f0 +/* 803115F0 0030E550 C0 45 00 04 */ lfs f2, 4(r5) +/* 803115F4 0030E554 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 803115F8 0030E558 EC 43 00 BA */ fmadds f2, f3, f2, f0 +/* 803115FC 0030E55C C0 85 00 0C */ lfs f4, 0xc(r5) +/* 80311600 0030E560 C0 C4 00 00 */ lfs f6, 0(r4) +/* 80311604 0030E564 C0 65 00 00 */ lfs f3, 0(r5) +/* 80311608 0030E568 EC 45 11 3A */ fmadds f2, f5, f4, f2 +/* 8031160C 0030E56C C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311610 0030E570 EC 46 10 FA */ fmadds f2, f6, f3, f2 +/* 80311614 0030E574 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80311618 0030E578 4C 41 13 82 */ cror 2, 1, 2 +/* 8031161C 0030E57C 40 82 00 14 */ bne lbl_80311630 +/* 80311620 0030E580 38 61 00 28 */ addi r3, r1, 0x28 +/* 80311624 0030E584 48 00 06 D5 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 80311628 0030E588 38 61 00 28 */ addi r3, r1, 0x28 +/* 8031162C 0030E58C 48 00 00 28 */ b lbl_80311654 +lbl_80311630: +/* 80311630 0030E590 7C A4 2B 78 */ mr r4, r5 +/* 80311634 0030E594 38 61 00 18 */ addi r3, r1, 0x18 +/* 80311638 0030E598 4B FF FD F9 */ bl BuildEquivalent__11CQuaternionCFv +/* 8031163C 0030E59C FC 20 F8 90 */ fmr f1, f31 +/* 80311640 0030E5A0 7F E4 FB 78 */ mr r4, r31 +/* 80311644 0030E5A4 38 61 00 08 */ addi r3, r1, 8 +/* 80311648 0030E5A8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8031164C 0030E5AC 48 00 06 AD */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 80311650 0030E5B0 38 61 00 08 */ addi r3, r1, 8 +lbl_80311654: +/* 80311654 0030E5B4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80311658 0030E5B8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8031165C 0030E5BC C0 03 00 04 */ lfs f0, 4(r3) +/* 80311660 0030E5C0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80311664 0030E5C4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80311668 0030E5C8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8031166C 0030E5CC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80311670 0030E5D0 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 80311674 0030E5D4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80311678 0030E5D8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8031167C 0030E5DC CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80311680 0030E5E0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80311684 0030E5E4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80311688 0030E5E8 7C 08 03 A6 */ mtlr r0 +/* 8031168C 0030E5EC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80311690 0030E5F0 4E 80 00 20 */ blr + +.global LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle: +/* 80311694 0030E5F4 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80311698 0030E5F8 7C 08 02 A6 */ mflr r0 +/* 8031169C 0030E5FC 90 01 01 34 */ stw r0, 0x134(r1) +/* 803116A0 0030E600 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 803116A4 0030E604 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 803116A8 0030E608 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 803116AC 0030E60C F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 803116B0 0030E610 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 803116B4 0030E614 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 803116B8 0030E618 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 803116BC 0030E61C F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 803116C0 0030E620 93 E1 00 EC */ stw r31, 0xec(r1) +/* 803116C4 0030E624 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 803116C8 0030E628 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 803116CC 0030E62C 7C 9E 23 78 */ mr r30, r4 +/* 803116D0 0030E630 C1 04 00 00 */ lfs f8, 0(r4) +/* 803116D4 0030E634 C0 FE 00 04 */ lfs f7, 4(r30) +/* 803116D8 0030E638 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 803116DC 0030E63C C1 65 00 00 */ lfs f11, 0(r5) +/* 803116E0 0030E640 EC 68 02 32 */ fmuls f3, f8, f8 +/* 803116E4 0030E644 C1 45 00 04 */ lfs f10, 4(r5) +/* 803116E8 0030E648 EC 47 01 F2 */ fmuls f2, f7, f7 +/* 803116EC 0030E64C C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) +/* 803116F0 0030E650 EC 2B 02 F2 */ fmuls f1, f11, f11 +/* 803116F4 0030E654 EC 0A 02 B2 */ fmuls f0, f10, f10 +/* 803116F8 0030E658 EC 85 01 72 */ fmuls f4, f5, f5 +/* 803116FC 0030E65C C1 25 00 08 */ lfs f9, 8(r5) +/* 80311700 0030E660 EC 43 10 2A */ fadds f2, f3, f2 +/* 80311704 0030E664 C5 84 66 60 */ lfsu f12, lbl_805A6660@l(r4) +/* 80311708 0030E668 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031170C 0030E66C D1 21 00 DC */ stfs f9, 0xdc(r1) +/* 80311710 0030E670 ED 24 10 2A */ fadds f9, f4, f2 +/* 80311714 0030E674 C0 DE 00 08 */ lfs f6, 8(r30) +/* 80311718 0030E678 C0 02 C8 A4 */ lfs f0, lbl_805AE5C4@sda21(r2) +/* 8031171C 0030E67C EC 84 08 2A */ fadds f4, f4, f1 +/* 80311720 0030E680 D0 C1 00 D0 */ stfs f6, 0xd0(r1) +/* 80311724 0030E684 7C BF 2B 78 */ mr r31, r5 +/* 80311728 0030E688 C0 C6 00 00 */ lfs f6, 0(r6) +/* 8031172C 0030E68C FC 09 00 40 */ fcmpo cr0, f9, f0 +/* 80311730 0030E690 C0 64 00 04 */ lfs f3, 4(r4) +/* 80311734 0030E694 7C 7D 1B 78 */ mr r29, r3 +/* 80311738 0030E698 C0 44 00 08 */ lfs f2, 8(r4) +/* 8031173C 0030E69C C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80311740 0030E6A0 D1 61 00 D4 */ stfs f11, 0xd4(r1) +/* 80311744 0030E6A4 D1 41 00 D8 */ stfs f10, 0xd8(r1) +/* 80311748 0030E6A8 D1 01 00 C8 */ stfs f8, 0xc8(r1) +/* 8031174C 0030E6AC D0 E1 00 CC */ stfs f7, 0xcc(r1) +/* 80311750 0030E6B0 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 80311754 0030E6B4 D0 A1 00 DC */ stfs f5, 0xdc(r1) +/* 80311758 0030E6B8 D0 A1 00 D0 */ stfs f5, 0xd0(r1) +/* 8031175C 0030E6BC D1 81 00 B8 */ stfs f12, 0xb8(r1) +/* 80311760 0030E6C0 D0 61 00 BC */ stfs f3, 0xbc(r1) +/* 80311764 0030E6C4 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 80311768 0030E6C8 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 8031176C 0030E6CC 40 81 01 80 */ ble lbl_803118EC +/* 80311770 0030E6D0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80311774 0030E6D4 40 81 01 78 */ ble lbl_803118EC +/* 80311778 0030E6D8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8031177C 0030E6DC 48 00 31 7D */ bl Normalize__9CVector3fFv +/* 80311780 0030E6E0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80311784 0030E6E4 48 00 31 75 */ bl Normalize__9CVector3fFv +/* 80311788 0030E6E8 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 8031178C 0030E6EC C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80311790 0030E6F0 48 08 34 DD */ bl atan2 +/* 80311794 0030E6F4 FF 80 08 18 */ frsp f28, f1 +/* 80311798 0030E6F8 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 8031179C 0030E6FC C0 41 00 D8 */ lfs f2, 0xd8(r1) +/* 803117A0 0030E700 48 08 34 CD */ bl atan2 +/* 803117A4 0030E704 88 0D A8 8C */ lbz r0, lbl_805A944C@sda21(r13) +/* 803117A8 0030E708 FC 20 08 18 */ frsp f1, f1 +/* 803117AC 0030E70C 7C 00 07 75 */ extsb. r0, r0 +/* 803117B0 0030E710 40 82 00 14 */ bne lbl_803117C4 +/* 803117B4 0030E714 C0 02 C8 A8 */ lfs f0, lbl_805AE5C8@sda21(r2) +/* 803117B8 0030E718 38 00 00 01 */ li r0, 1 +/* 803117BC 0030E71C 98 0D A8 8C */ stb r0, lbl_805A944C@sda21(r13) +/* 803117C0 0030E720 D0 0D A8 88 */ stfs f0, lbl_805A9448@sda21(r13) +lbl_803117C4: +/* 803117C4 0030E724 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 803117C8 0030E728 C0 4D A8 88 */ lfs f2, lbl_805A9448@sda21(r13) +/* 803117CC 0030E72C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 803117D0 0030E730 40 81 00 10 */ ble lbl_803117E0 +/* 803117D4 0030E734 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803117D8 0030E738 EC 20 08 BC */ fnmsubs f1, f0, f2, f1 +/* 803117DC 0030E73C 48 00 00 18 */ b lbl_803117F4 +lbl_803117E0: +/* 803117E0 0030E740 FC 00 10 50 */ fneg f0, f2 +/* 803117E4 0030E744 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803117E8 0030E748 40 80 00 0C */ bge lbl_803117F4 +/* 803117EC 0030E74C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803117F0 0030E750 EC 20 08 BA */ fmadds f1, f0, f2, f1 +lbl_803117F4: +/* 803117F4 0030E754 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 803117F8 0030E758 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 803117FC 0030E75C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80311800 0030E760 40 80 00 0C */ bge lbl_8031180C +/* 80311804 0030E764 38 61 00 20 */ addi r3, r1, 0x20 +/* 80311808 0030E768 48 00 00 08 */ b lbl_80311810 +lbl_8031180C: +/* 8031180C 0030E76C 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80311810: +/* 80311810 0030E770 FC 20 00 50 */ fneg f1, f0 +/* 80311814 0030E774 C0 43 00 00 */ lfs f2, 0(r3) +/* 80311818 0030E778 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8031181C 0030E77C FC 00 08 18 */ frsp f0, f1 +/* 80311820 0030E780 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80311824 0030E784 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80311828 0030E788 40 80 00 0C */ bge lbl_80311834 +/* 8031182C 0030E78C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80311830 0030E790 48 00 00 08 */ b lbl_80311838 +lbl_80311834: +/* 80311834 0030E794 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80311838: +/* 80311838 0030E798 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031183C 0030E79C 38 61 00 98 */ addi r3, r1, 0x98 +/* 80311840 0030E7A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80311844 0030E7A4 FC 00 08 50 */ fneg f0, f1 +/* 80311848 0030E7A8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8031184C 0030E7AC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80311850 0030E7B0 4B FF F8 A9 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80311854 0030E7B4 80 E1 00 9C */ lwz r7, 0x9c(r1) +/* 80311858 0030E7B8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8031185C 0030E7BC 80 C1 00 A0 */ lwz r6, 0xa0(r1) +/* 80311860 0030E7C0 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80311864 0030E7C4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80311868 0030E7C8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8031186C 0030E7CC 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 80311870 0030E7D0 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 80311874 0030E7D4 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 80311878 0030E7D8 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8031187C 0030E7DC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80311880 0030E7E0 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 80311884 0030E7E4 FC A0 00 50 */ fneg f5, f0 +/* 80311888 0030E7E8 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 8031188C 0030E7EC FC C0 08 50 */ fneg f6, f1 +/* 80311890 0030E7F0 C0 62 C8 78 */ lfs f3, lbl_805AE598@sda21(r2) +/* 80311894 0030E7F4 FC E0 00 50 */ fneg f7, f0 +/* 80311898 0030E7F8 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 8031189C 0030E7FC C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 803118A0 0030E800 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 803118A4 0030E804 D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 803118A8 0030E808 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 803118AC 0030E80C D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 803118B0 0030E810 D0 C1 00 60 */ stfs f6, 0x60(r1) +/* 803118B4 0030E814 D0 E1 00 64 */ stfs f7, 0x64(r1) +/* 803118B8 0030E818 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 803118BC 0030E81C D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 803118C0 0030E820 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 803118C4 0030E824 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 803118C8 0030E828 4B FF F8 D9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 803118CC 0030E82C 38 61 00 88 */ addi r3, r1, 0x88 +/* 803118D0 0030E830 38 81 00 78 */ addi r4, r1, 0x78 +/* 803118D4 0030E834 38 A1 00 58 */ addi r5, r1, 0x58 +/* 803118D8 0030E838 4B FF F8 C9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 803118DC 0030E83C C0 C1 00 8C */ lfs f6, 0x8c(r1) +/* 803118E0 0030E840 C0 E1 00 90 */ lfs f7, 0x90(r1) +/* 803118E4 0030E844 C1 01 00 94 */ lfs f8, 0x94(r1) +/* 803118E8 0030E848 48 00 00 70 */ b lbl_80311958 +lbl_803118EC: +/* 803118EC 0030E84C C0 02 C8 A4 */ lfs f0, lbl_805AE5C4@sda21(r2) +/* 803118F0 0030E850 FC 09 00 40 */ fcmpo cr0, f9, f0 +/* 803118F4 0030E854 40 81 00 20 */ ble lbl_80311914 +/* 803118F8 0030E858 38 61 00 4C */ addi r3, r1, 0x4c +/* 803118FC 0030E85C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80311900 0030E860 48 00 2F 51 */ bl AsNormalized__9CVector3fCFv +/* 80311904 0030E864 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 80311908 0030E868 C0 E1 00 50 */ lfs f7, 0x50(r1) +/* 8031190C 0030E86C C1 01 00 54 */ lfs f8, 0x54(r1) +/* 80311910 0030E870 48 00 00 48 */ b lbl_80311958 +lbl_80311914: +/* 80311914 0030E874 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80311918 0030E878 40 81 00 20 */ ble lbl_80311938 +/* 8031191C 0030E87C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80311920 0030E880 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80311924 0030E884 48 00 2F 2D */ bl AsNormalized__9CVector3fCFv +/* 80311928 0030E888 C0 C1 00 40 */ lfs f6, 0x40(r1) +/* 8031192C 0030E88C C0 E1 00 44 */ lfs f7, 0x44(r1) +/* 80311930 0030E890 C1 01 00 48 */ lfs f8, 0x48(r1) +/* 80311934 0030E894 48 00 00 24 */ b lbl_80311958 +lbl_80311938: +/* 80311938 0030E898 D1 9D 00 00 */ stfs f12, 0(r29) +/* 8031193C 0030E89C C0 04 00 04 */ lfs f0, 4(r4) +/* 80311940 0030E8A0 D0 1D 00 04 */ stfs f0, 4(r29) +/* 80311944 0030E8A4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80311948 0030E8A8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8031194C 0030E8AC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80311950 0030E8B0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80311954 0030E8B4 48 00 01 28 */ b lbl_80311A7C +lbl_80311958: +/* 80311958 0030E8B8 C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) +/* 8031195C 0030E8BC C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80311960 0030E8C0 EC 85 01 F2 */ fmuls f4, f5, f7 +/* 80311964 0030E8C4 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80311968 0030E8C8 EC 43 01 B2 */ fmuls f2, f3, f6 +/* 8031196C 0030E8CC EC 05 02 32 */ fmuls f0, f5, f8 +/* 80311970 0030E8D0 EF E6 21 78 */ fmsubs f31, f6, f5, f4 +/* 80311974 0030E8D4 EF 88 11 78 */ fmsubs f28, f8, f5, f2 +/* 80311978 0030E8D8 EF A7 00 F8 */ fmsubs f29, f7, f3, f0 +/* 8031197C 0030E8DC 48 08 32 B1 */ bl acos +/* 80311980 0030E8E0 FF C0 08 18 */ frsp f30, f1 +/* 80311984 0030E8E4 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80311988 0030E8E8 48 08 32 A5 */ bl acos +/* 8031198C 0030E8EC 88 0D A8 8C */ lbz r0, lbl_805A944C@sda21(r13) +/* 80311990 0030E8F0 FC 20 08 18 */ frsp f1, f1 +/* 80311994 0030E8F4 7C 00 07 75 */ extsb. r0, r0 +/* 80311998 0030E8F8 40 82 00 14 */ bne lbl_803119AC +/* 8031199C 0030E8FC C0 02 C8 A8 */ lfs f0, lbl_805AE5C8@sda21(r2) +/* 803119A0 0030E900 38 00 00 01 */ li r0, 1 +/* 803119A4 0030E904 98 0D A8 8C */ stb r0, lbl_805A944C@sda21(r13) +/* 803119A8 0030E908 D0 0D A8 88 */ stfs f0, lbl_805A9448@sda21(r13) +lbl_803119AC: +/* 803119AC 0030E90C EC 3E 08 28 */ fsubs f1, f30, f1 +/* 803119B0 0030E910 C0 4D A8 88 */ lfs f2, lbl_805A9448@sda21(r13) +/* 803119B4 0030E914 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 803119B8 0030E918 40 81 00 10 */ ble lbl_803119C8 +/* 803119BC 0030E91C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803119C0 0030E920 EC 20 08 BC */ fnmsubs f1, f0, f2, f1 +/* 803119C4 0030E924 48 00 00 18 */ b lbl_803119DC +lbl_803119C8: +/* 803119C8 0030E928 FC 00 10 50 */ fneg f0, f2 +/* 803119CC 0030E92C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803119D0 0030E930 40 80 00 0C */ bge lbl_803119DC +/* 803119D4 0030E934 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803119D8 0030E938 EC 20 08 BA */ fmadds f1, f0, f2, f1 +lbl_803119DC: +/* 803119DC 0030E93C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 803119E0 0030E940 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803119E4 0030E944 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803119E8 0030E948 40 80 00 0C */ bge lbl_803119F4 +/* 803119EC 0030E94C 38 61 00 20 */ addi r3, r1, 0x20 +/* 803119F0 0030E950 48 00 00 08 */ b lbl_803119F8 +lbl_803119F4: +/* 803119F4 0030E954 38 61 00 18 */ addi r3, r1, 0x18 +lbl_803119F8: +/* 803119F8 0030E958 FC 20 00 50 */ fneg f1, f0 +/* 803119FC 0030E95C C0 43 00 00 */ lfs f2, 0(r3) +/* 80311A00 0030E960 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80311A04 0030E964 FC 00 08 18 */ frsp f0, f1 +/* 80311A08 0030E968 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80311A0C 0030E96C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80311A10 0030E970 40 80 00 0C */ bge lbl_80311A1C +/* 80311A14 0030E974 38 61 00 0C */ addi r3, r1, 0xc +/* 80311A18 0030E978 48 00 00 08 */ b lbl_80311A20 +lbl_80311A1C: +/* 80311A1C 0030E97C 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80311A20: +/* 80311A20 0030E980 C0 23 00 00 */ lfs f1, 0(r3) +/* 80311A24 0030E984 38 61 00 30 */ addi r3, r1, 0x30 +/* 80311A28 0030E988 38 81 00 24 */ addi r4, r1, 0x24 +/* 80311A2C 0030E98C 38 A1 00 08 */ addi r5, r1, 8 +/* 80311A30 0030E990 FC 00 08 50 */ fneg f0, f1 +/* 80311A34 0030E994 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80311A38 0030E998 D3 A1 00 24 */ stfs f29, 0x24(r1) +/* 80311A3C 0030E99C D0 01 00 08 */ stfs f0, 8(r1) +/* 80311A40 0030E9A0 D3 81 00 28 */ stfs f28, 0x28(r1) +/* 80311A44 0030E9A4 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 80311A48 0030E9A8 4B FF F8 AD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80311A4C 0030E9AC C0 61 00 30 */ lfs f3, 0x30(r1) +/* 80311A50 0030E9B0 7F A3 EB 78 */ mr r3, r29 +/* 80311A54 0030E9B4 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80311A58 0030E9B8 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80311A5C 0030E9BC C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80311A60 0030E9C0 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80311A64 0030E9C4 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80311A68 0030E9C8 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 80311A6C 0030E9CC D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80311A70 0030E9D0 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80311A74 0030E9D4 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80311A78 0030E9D8 4B FF F7 29 */ bl __ml__11CQuaternionCFRC11CQuaternion +lbl_80311A7C: +/* 80311A7C 0030E9DC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 80311A80 0030E9E0 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 80311A84 0030E9E4 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 80311A88 0030E9E8 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 80311A8C 0030E9EC E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 80311A90 0030E9F0 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 80311A94 0030E9F4 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 80311A98 0030E9F8 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 80311A9C 0030E9FC 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 80311AA0 0030EA00 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 80311AA4 0030EA04 80 01 01 34 */ lwz r0, 0x134(r1) +/* 80311AA8 0030EA08 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 80311AAC 0030EA0C 7C 08 03 A6 */ mtlr r0 +/* 80311AB0 0030EA10 38 21 01 30 */ addi r1, r1, 0x130 +/* 80311AB4 0030EA14 4E 80 00 20 */ blr + +.global ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f: +/* 80311AB8 0030EA18 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80311ABC 0030EA1C 7C 08 02 A6 */ mflr r0 +/* 80311AC0 0030EA20 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311AC4 0030EA24 90 01 00 54 */ stw r0, 0x54(r1) +/* 80311AC8 0030EA28 38 00 00 00 */ li r0, 0 +/* 80311ACC 0030EA2C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80311AD0 0030EA30 7C 7F 1B 78 */ mr r31, r3 +/* 80311AD4 0030EA34 C0 C4 00 00 */ lfs f6, 0(r4) +/* 80311AD8 0030EA38 C0 A4 00 04 */ lfs f5, 4(r4) +/* 80311ADC 0030EA3C C0 84 00 08 */ lfs f4, 8(r4) +/* 80311AE0 0030EA40 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 80311AE4 0030EA44 C0 65 00 00 */ lfs f3, 0(r5) +/* 80311AE8 0030EA48 C0 45 00 04 */ lfs f2, 4(r5) +/* 80311AEC 0030EA4C C0 25 00 08 */ lfs f1, 8(r5) +/* 80311AF0 0030EA50 D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 80311AF4 0030EA54 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 80311AF8 0030EA58 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 80311AFC 0030EA5C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80311B00 0030EA60 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80311B04 0030EA64 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80311B08 0030EA68 40 82 00 14 */ bne lbl_80311B1C +/* 80311B0C 0030EA6C FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 80311B10 0030EA70 40 82 00 0C */ bne lbl_80311B1C +/* 80311B14 0030EA74 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 80311B18 0030EA78 41 82 00 08 */ beq lbl_80311B20 +lbl_80311B1C: +/* 80311B1C 0030EA7C 38 00 00 01 */ li r0, 1 +lbl_80311B20: +/* 80311B20 0030EA80 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80311B24 0030EA84 41 82 00 0C */ beq lbl_80311B30 +/* 80311B28 0030EA88 38 61 00 30 */ addi r3, r1, 0x30 +/* 80311B2C 0030EA8C 48 00 2D CD */ bl Normalize__9CVector3fFv +lbl_80311B30: +/* 80311B30 0030EA90 C0 22 C8 78 */ lfs f1, lbl_805AE598@sda21(r2) +/* 80311B34 0030EA94 38 00 00 00 */ li r0, 0 +/* 80311B38 0030EA98 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80311B3C 0030EA9C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80311B40 0030EAA0 40 82 00 1C */ bne lbl_80311B5C +/* 80311B44 0030EAA4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80311B48 0030EAA8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80311B4C 0030EAAC 40 82 00 10 */ bne lbl_80311B5C +/* 80311B50 0030EAB0 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80311B54 0030EAB4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80311B58 0030EAB8 41 82 00 08 */ beq lbl_80311B60 +lbl_80311B5C: +/* 80311B5C 0030EABC 38 00 00 01 */ li r0, 1 +lbl_80311B60: +/* 80311B60 0030EAC0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80311B64 0030EAC4 41 82 00 0C */ beq lbl_80311B70 +/* 80311B68 0030EAC8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80311B6C 0030EACC 48 00 2D 8D */ bl Normalize__9CVector3fFv +lbl_80311B70: +/* 80311B70 0030EAD0 C1 61 00 38 */ lfs f11, 0x38(r1) +/* 80311B74 0030EAD4 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 80311B78 0030EAD8 C1 41 00 2C */ lfs f10, 0x2c(r1) +/* 80311B7C 0030EADC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 80311B80 0030EAE0 EC 08 02 F2 */ fmuls f0, f8, f11 +/* 80311B84 0030EAE4 C1 21 00 34 */ lfs f9, 0x34(r1) +/* 80311B88 0030EAE8 C0 E1 00 24 */ lfs f7, 0x24(r1) +/* 80311B8C 0030EAEC EC 2A 01 B2 */ fmuls f1, f10, f6 +/* 80311B90 0030EAF0 EC 89 02 B8 */ fmsubs f4, f9, f10, f0 +/* 80311B94 0030EAF4 C0 02 C8 AC */ lfs f0, lbl_805AE5CC@sda21(r2) +/* 80311B98 0030EAF8 EC A7 02 72 */ fmuls f5, f7, f9 +/* 80311B9C 0030EAFC EC 6B 09 F8 */ fmsubs f3, f11, f7, f1 +/* 80311BA0 0030EB00 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80311BA4 0030EB04 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80311BA8 0030EB08 EC 86 2A 38 */ fmsubs f4, f6, f8, f5 +/* 80311BAC 0030EB0C EC 23 00 F2 */ fmuls f1, f3, f3 +/* 80311BB0 0030EB10 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80311BB4 0030EB14 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80311BB8 0030EB18 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80311BBC 0030EB1C EC 22 08 2A */ fadds f1, f2, f1 +/* 80311BC0 0030EB20 EC 23 08 2A */ fadds f1, f3, f1 +/* 80311BC4 0030EB24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311BC8 0030EB28 40 80 00 AC */ bge lbl_80311C74 +/* 80311BCC 0030EB2C EC 29 02 32 */ fmuls f1, f9, f8 +/* 80311BD0 0030EB30 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311BD4 0030EB34 EC 26 09 FA */ fmadds f1, f6, f7, f1 +/* 80311BD8 0030EB38 EC 2B 0A BA */ fmadds f1, f11, f10, f1 +/* 80311BDC 0030EB3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311BE0 0030EB40 40 81 00 2C */ ble lbl_80311C0C +/* 80311BE4 0030EB44 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80311BE8 0030EB48 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 80311BEC 0030EB4C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311BF0 0030EB50 C0 03 00 04 */ lfs f0, 4(r3) +/* 80311BF4 0030EB54 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80311BF8 0030EB58 C0 03 00 08 */ lfs f0, 8(r3) +/* 80311BFC 0030EB5C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80311C00 0030EB60 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80311C04 0030EB64 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80311C08 0030EB68 48 00 00 DC */ b lbl_80311CE4 +lbl_80311C0C: +/* 80311C0C 0030EB6C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80311C10 0030EB70 48 00 2A E9 */ bl CanBeNormalized__9CVector3fCFv +/* 80311C14 0030EB74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80311C18 0030EB78 41 82 00 34 */ beq lbl_80311C4C +/* 80311C1C 0030EB7C 38 61 00 0C */ addi r3, r1, 0xc +/* 80311C20 0030EB80 38 81 00 18 */ addi r4, r1, 0x18 +/* 80311C24 0030EB84 48 00 2C 2D */ bl AsNormalized__9CVector3fCFv +/* 80311C28 0030EB88 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311C2C 0030EB8C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311C30 0030EB90 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80311C34 0030EB94 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80311C38 0030EB98 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80311C3C 0030EB9C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80311C40 0030EBA0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80311C44 0030EBA4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80311C48 0030EBA8 48 00 00 9C */ b lbl_80311CE4 +lbl_80311C4C: +/* 80311C4C 0030EBAC 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80311C50 0030EBB0 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 80311C54 0030EBB4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311C58 0030EBB8 C0 03 00 04 */ lfs f0, 4(r3) +/* 80311C5C 0030EBBC D0 1F 00 04 */ stfs f0, 4(r31) +/* 80311C60 0030EBC0 C0 03 00 08 */ lfs f0, 8(r3) +/* 80311C64 0030EBC4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80311C68 0030EBC8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80311C6C 0030EBCC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80311C70 0030EBD0 48 00 00 74 */ b lbl_80311CE4 +lbl_80311C74: +/* 80311C74 0030EBD4 EC 09 02 32 */ fmuls f0, f9, f8 +/* 80311C78 0030EBD8 38 81 00 08 */ addi r4, r1, 8 +/* 80311C7C 0030EBDC 38 6D 9C 90 */ addi r3, r13, lbl_805A8850@sda21 +/* 80311C80 0030EBE0 38 AD 9C 94 */ addi r5, r13, lbl_805A8854@sda21 +/* 80311C84 0030EBE4 EC 06 01 FA */ fmadds f0, f6, f7, f0 +/* 80311C88 0030EBE8 EC 0B 02 BA */ fmadds f0, f11, f10, f0 +/* 80311C8C 0030EBEC D0 01 00 08 */ stfs f0, 8(r1) +/* 80311C90 0030EBF0 4B CF A6 25 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80311C94 0030EBF4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80311C98 0030EBF8 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 80311C9C 0030EBFC C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311CA0 0030EC00 EC 21 10 2A */ fadds f1, f1, f2 +/* 80311CA4 0030EC04 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80311CA8 0030EC08 48 00 38 59 */ bl SqrtF__5CMathFf +/* 80311CAC 0030EC0C C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) +/* 80311CB0 0030EC10 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) +/* 80311CB4 0030EC14 EC A2 08 24 */ fdivs f5, f2, f1 +/* 80311CB8 0030EC18 C0 81 00 18 */ lfs f4, 0x18(r1) +/* 80311CBC 0030EC1C C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80311CC0 0030EC20 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80311CC4 0030EC24 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80311CC8 0030EC28 EC 85 01 32 */ fmuls f4, f5, f4 +/* 80311CCC 0030EC2C EC 25 00 F2 */ fmuls f1, f5, f3 +/* 80311CD0 0030EC30 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311CD4 0030EC34 EC 05 00 B2 */ fmuls f0, f5, f2 +/* 80311CD8 0030EC38 D0 9F 00 04 */ stfs f4, 4(r31) +/* 80311CDC 0030EC3C D0 3F 00 08 */ stfs f1, 8(r31) +/* 80311CE0 0030EC40 D0 1F 00 0C */ stfs f0, 0xc(r31) +lbl_80311CE4: +/* 80311CE4 0030EC44 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80311CE8 0030EC48 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80311CEC 0030EC4C 7C 08 03 A6 */ mtlr r0 +/* 80311CF0 0030EC50 38 21 00 50 */ addi r1, r1, 0x50 +/* 80311CF4 0030EC54 4E 80 00 20 */ blr + +.global Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf: +/* 80311CF8 0030EC58 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80311CFC 0030EC5C 7C 08 02 A6 */ mflr r0 +/* 80311D00 0030EC60 90 01 00 64 */ stw r0, 0x64(r1) +/* 80311D04 0030EC64 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80311D08 0030EC68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80311D0C 0030EC6C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80311D10 0030EC70 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80311D14 0030EC74 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80311D18 0030EC78 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80311D1C 0030EC7C DB 81 00 20 */ stfd f28, 0x20(r1) +/* 80311D20 0030EC80 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 80311D24 0030EC84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80311D28 0030EC88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80311D2C 0030EC8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80311D30 0030EC90 7C 9E 23 78 */ mr r30, r4 +/* 80311D34 0030EC94 7C BF 2B 78 */ mr r31, r5 +/* 80311D38 0030EC98 C0 44 00 08 */ lfs f2, 8(r4) +/* 80311D3C 0030EC9C FF C0 08 90 */ fmr f30, f1 +/* 80311D40 0030ECA0 C0 05 00 08 */ lfs f0, 8(r5) +/* 80311D44 0030ECA4 7C 7D 1B 78 */ mr r29, r3 +/* 80311D48 0030ECA8 C0 64 00 04 */ lfs f3, 4(r4) +/* 80311D4C 0030ECAC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80311D50 0030ECB0 C0 25 00 04 */ lfs f1, 4(r5) +/* 80311D54 0030ECB4 C0 84 00 0C */ lfs f4, 0xc(r4) +/* 80311D58 0030ECB8 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 80311D5C 0030ECBC EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80311D60 0030ECC0 C0 64 00 00 */ lfs f3, 0(r4) +/* 80311D64 0030ECC4 C0 25 00 00 */ lfs f1, 0(r5) +/* 80311D68 0030ECC8 C3 E2 C8 74 */ lfs f31, lbl_805AE594@sda21(r2) +/* 80311D6C 0030ECCC EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80311D70 0030ECD0 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80311D74 0030ECD4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80311D78 0030ECD8 40 81 00 08 */ ble lbl_80311D80 +/* 80311D7C 0030ECDC 48 00 00 18 */ b lbl_80311D94 +lbl_80311D80: +/* 80311D80 0030ECE0 C3 E2 C8 A0 */ lfs f31, lbl_805AE5C0@sda21(r2) +/* 80311D84 0030ECE4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80311D88 0030ECE8 40 80 00 08 */ bge lbl_80311D90 +/* 80311D8C 0030ECEC 48 00 00 08 */ b lbl_80311D94 +lbl_80311D90: +/* 80311D90 0030ECF0 FF E0 00 90 */ fmr f31, f0 +lbl_80311D94: +/* 80311D94 0030ECF4 FC 20 F8 90 */ fmr f1, f31 +/* 80311D98 0030ECF8 48 08 2E 95 */ bl acos +/* 80311D9C 0030ECFC FF 80 08 90 */ fmr f28, f1 +/* 80311DA0 0030ED00 48 08 2D 3D */ bl sin +/* 80311DA4 0030ED04 FF A0 08 90 */ fmr f29, f1 +/* 80311DA8 0030ED08 C8 02 C8 90 */ lfd f0, lbl_805AE5B0@sda21(r2) +/* 80311DAC 0030ED0C FC 00 E8 00 */ fcmpu cr0, f0, f29 +/* 80311DB0 0030ED10 40 82 00 34 */ bne lbl_80311DE4 +/* 80311DB4 0030ED14 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311DB8 0030ED18 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80311DBC 0030ED1C 40 81 00 28 */ ble lbl_80311DE4 +/* 80311DC0 0030ED20 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80311DC4 0030ED24 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80311DC8 0030ED28 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80311DCC 0030ED2C D0 1D 00 04 */ stfs f0, 4(r29) +/* 80311DD0 0030ED30 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80311DD4 0030ED34 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80311DD8 0030ED38 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80311DDC 0030ED3C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80311DE0 0030ED40 48 00 00 A0 */ b lbl_80311E80 +lbl_80311DE4: +/* 80311DE4 0030ED44 C0 02 C8 74 */ lfs f0, lbl_805AE594@sda21(r2) +/* 80311DE8 0030ED48 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80311DEC 0030ED4C FC 3C 00 32 */ fmul f1, f28, f0 +/* 80311DF0 0030ED50 48 08 2C ED */ bl sin +/* 80311DF4 0030ED54 FF E0 08 18 */ frsp f31, f1 +/* 80311DF8 0030ED58 FC 3C 07 B2 */ fmul f1, f28, f30 +/* 80311DFC 0030ED5C 48 08 2C E1 */ bl sin +/* 80311E00 0030ED60 C8 42 C8 B0 */ lfd f2, lbl_805AE5D0@sda21(r2) +/* 80311E04 0030ED64 FD 00 08 18 */ frsp f8, f1 +/* 80311E08 0030ED68 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80311E0C 0030ED6C FD 22 E8 24 */ fdiv f9, f2, f29 +/* 80311E10 0030ED70 C0 FE 00 04 */ lfs f7, 4(r30) +/* 80311E14 0030ED74 C0 DF 00 04 */ lfs f6, 4(r31) +/* 80311E18 0030ED78 C0 BE 00 08 */ lfs f5, 8(r30) +/* 80311E1C 0030ED7C C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 80311E20 0030ED80 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80311E24 0030ED84 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80311E28 0030ED88 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80311E2C 0030ED8C EC FF 01 F2 */ fmuls f7, f31, f7 +/* 80311E30 0030ED90 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80311E34 0030ED94 EC C8 01 B2 */ fmuls f6, f8, f6 +/* 80311E38 0030ED98 EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 80311E3C 0030ED9C EC BF 01 72 */ fmuls f5, f31, f5 +/* 80311E40 0030EDA0 EC 28 01 32 */ fmuls f1, f8, f4 +/* 80311E44 0030EDA4 FC 09 00 32 */ fmul f0, f9, f0 +/* 80311E48 0030EDA8 EC 85 08 2A */ fadds f4, f5, f1 +/* 80311E4C 0030EDAC FD 20 48 18 */ frsp f9, f9 +/* 80311E50 0030EDB0 EC C7 30 2A */ fadds f6, f7, f6 +/* 80311E54 0030EDB4 FC 00 00 18 */ frsp f0, f0 +/* 80311E58 0030EDB8 EC 28 00 B2 */ fmuls f1, f8, f2 +/* 80311E5C 0030EDBC EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 80311E60 0030EDC0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80311E64 0030EDC4 EC A9 01 B2 */ fmuls f5, f9, f6 +/* 80311E68 0030EDC8 EC 49 01 32 */ fmuls f2, f9, f4 +/* 80311E6C 0030EDCC EC 03 08 2A */ fadds f0, f3, f1 +/* 80311E70 0030EDD0 D0 BD 00 04 */ stfs f5, 4(r29) +/* 80311E74 0030EDD4 EC 09 00 32 */ fmuls f0, f9, f0 +/* 80311E78 0030EDD8 D0 5D 00 08 */ stfs f2, 8(r29) +/* 80311E7C 0030EDDC D0 1D 00 0C */ stfs f0, 0xc(r29) +lbl_80311E80: +/* 80311E80 0030EDE0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80311E84 0030EDE4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80311E88 0030EDE8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80311E8C 0030EDEC CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80311E90 0030EDF0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80311E94 0030EDF4 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80311E98 0030EDF8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 80311E9C 0030EDFC CB 81 00 20 */ lfd f28, 0x20(r1) +/* 80311EA0 0030EE00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80311EA4 0030EE04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80311EA8 0030EE08 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80311EAC 0030EE0C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80311EB0 0030EE10 7C 08 03 A6 */ mtlr r0 +/* 80311EB4 0030EE14 38 21 00 60 */ addi r1, r1, 0x60 +/* 80311EB8 0030EE18 4E 80 00 20 */ blr + +.global BuildTransform4f__11CQuaternionCFRC9CVector3f +BuildTransform4f__11CQuaternionCFRC9CVector3f: +/* 80311EBC 0030EE1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80311EC0 0030EE20 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80311EC4 0030EE24 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80311EC8 0030EE28 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80311ECC 0030EE2C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80311ED0 0030EE30 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80311ED4 0030EE34 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80311ED8 0030EE38 DB 81 00 10 */ stfd f28, 0x10(r1) +/* 80311EDC 0030EE3C F3 81 00 18 */ psq_st f28, 24(r1), 0, qr0 +/* 80311EE0 0030EE40 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311EE4 0030EE44 C0 44 00 08 */ lfs f2, 8(r4) +/* 80311EE8 0030EE48 C1 04 00 0C */ lfs f8, 0xc(r4) +/* 80311EEC 0030EE4C ED 60 00 B2 */ fmuls f11, f0, f2 +/* 80311EF0 0030EE50 C0 24 00 04 */ lfs f1, 4(r4) +/* 80311EF4 0030EE54 ED 20 02 32 */ fmuls f9, f0, f8 +/* 80311EF8 0030EE58 C0 84 00 00 */ lfs f4, 0(r4) +/* 80311EFC 0030EE5C ED 40 00 72 */ fmuls f10, f0, f1 +/* 80311F00 0030EE60 C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80311F04 0030EE64 EF AB 00 B2 */ fmuls f29, f11, f2 +/* 80311F08 0030EE68 C0 A5 00 08 */ lfs f5, 8(r5) +/* 80311F0C 0030EE6C EF 89 02 32 */ fmuls f28, f9, f8 +/* 80311F10 0030EE70 C0 C5 00 04 */ lfs f6, 4(r5) +/* 80311F14 0030EE74 EC 0A 00 72 */ fmuls f0, f10, f1 +/* 80311F18 0030EE78 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80311F1C 0030EE7C EC 23 E8 28 */ fsubs f1, f3, f29 +/* 80311F20 0030EE80 ED A4 02 72 */ fmuls f13, f4, f9 +/* 80311F24 0030EE84 EF EA 00 B2 */ fmuls f31, f10, f2 +/* 80311F28 0030EE88 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80311F2C 0030EE8C ED 84 02 F2 */ fmuls f12, f4, f11 +/* 80311F30 0030EE90 EF CA 02 32 */ fmuls f30, f10, f8 +/* 80311F34 0030EE94 EC 5F 68 28 */ fsubs f2, f31, f13 +/* 80311F38 0030EE98 D0 23 00 00 */ stfs f1, 0(r3) +/* 80311F3C 0030EE9C ED 23 00 28 */ fsubs f9, f3, f0 +/* 80311F40 0030EEA0 EC 3E 60 2A */ fadds f1, f30, f12 +/* 80311F44 0030EEA4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80311F48 0030EEA8 EC 1F 68 2A */ fadds f0, f31, f13 +/* 80311F4C 0030EEAC ED 44 02 B2 */ fmuls f10, f4, f10 +/* 80311F50 0030EEB0 ED 0B 02 32 */ fmuls f8, f11, f8 +/* 80311F54 0030EEB4 D0 23 00 08 */ stfs f1, 8(r3) +/* 80311F58 0030EEB8 EC 89 E0 28 */ fsubs f4, f9, f28 +/* 80311F5C 0030EEBC D0 E3 00 0C */ stfs f7, 0xc(r3) +/* 80311F60 0030EEC0 EC 5E 60 28 */ fsubs f2, f30, f12 +/* 80311F64 0030EEC4 EC 68 50 28 */ fsubs f3, f8, f10 +/* 80311F68 0030EEC8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80311F6C 0030EECC EC 28 50 2A */ fadds f1, f8, f10 +/* 80311F70 0030EED0 EC 09 E8 28 */ fsubs f0, f9, f29 +/* 80311F74 0030EED4 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 80311F78 0030EED8 D0 63 00 18 */ stfs f3, 0x18(r3) +/* 80311F7C 0030EEDC D0 C3 00 1C */ stfs f6, 0x1c(r3) +/* 80311F80 0030EEE0 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80311F84 0030EEE4 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 80311F88 0030EEE8 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80311F8C 0030EEEC D0 A3 00 2C */ stfs f5, 0x2c(r3) +/* 80311F90 0030EEF0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80311F94 0030EEF4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80311F98 0030EEF8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80311F9C 0030EEFC CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80311FA0 0030EF00 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80311FA4 0030EF04 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 80311FA8 0030EF08 E3 81 00 18 */ psq_l f28, 24(r1), 0, qr0 +/* 80311FAC 0030EF0C CB 81 00 10 */ lfd f28, 0x10(r1) +/* 80311FB0 0030EF10 38 21 00 50 */ addi r1, r1, 0x50 +/* 80311FB4 0030EF14 4E 80 00 20 */ blr + +.global BuildTransform4f__11CQuaternionCFv +BuildTransform4f__11CQuaternionCFv: +/* 80311FB8 0030EF18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80311FBC 0030EF1C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80311FC0 0030EF20 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80311FC4 0030EF24 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80311FC8 0030EF28 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80311FCC 0030EF2C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311FD0 0030EF30 C0 44 00 08 */ lfs f2, 8(r4) +/* 80311FD4 0030EF34 C0 C4 00 0C */ lfs f6, 0xc(r4) +/* 80311FD8 0030EF38 ED 20 00 B2 */ fmuls f9, f0, f2 +/* 80311FDC 0030EF3C C0 24 00 04 */ lfs f1, 4(r4) +/* 80311FE0 0030EF40 EC E0 01 B2 */ fmuls f7, f0, f6 +/* 80311FE4 0030EF44 C0 84 00 00 */ lfs f4, 0(r4) +/* 80311FE8 0030EF48 ED 00 00 72 */ fmuls f8, f0, f1 +/* 80311FEC 0030EF4C C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80311FF0 0030EF50 EF E9 00 B2 */ fmuls f31, f9, f2 +/* 80311FF4 0030EF54 C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) +/* 80311FF8 0030EF58 EF C7 01 B2 */ fmuls f30, f7, f6 +/* 80311FFC 0030EF5C EC 08 00 72 */ fmuls f0, f8, f1 +/* 80312000 0030EF60 EC 23 F8 28 */ fsubs f1, f3, f31 +/* 80312004 0030EF64 ED 64 01 F2 */ fmuls f11, f4, f7 +/* 80312008 0030EF68 ED 88 00 B2 */ fmuls f12, f8, f2 +/* 8031200C 0030EF6C EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80312010 0030EF70 ED 44 02 72 */ fmuls f10, f4, f9 +/* 80312014 0030EF74 ED A8 01 B2 */ fmuls f13, f8, f6 +/* 80312018 0030EF78 EC 4C 58 28 */ fsubs f2, f12, f11 +/* 8031201C 0030EF7C D0 23 00 00 */ stfs f1, 0(r3) +/* 80312020 0030EF80 EC E3 00 28 */ fsubs f7, f3, f0 +/* 80312024 0030EF84 EC 2D 50 2A */ fadds f1, f13, f10 +/* 80312028 0030EF88 D0 43 00 04 */ stfs f2, 4(r3) +/* 8031202C 0030EF8C EC 0C 58 2A */ fadds f0, f12, f11 +/* 80312030 0030EF90 ED 04 02 32 */ fmuls f8, f4, f8 +/* 80312034 0030EF94 EC C9 01 B2 */ fmuls f6, f9, f6 +/* 80312038 0030EF98 D0 23 00 08 */ stfs f1, 8(r3) +/* 8031203C 0030EF9C EC 87 F0 28 */ fsubs f4, f7, f30 +/* 80312040 0030EFA0 D0 A3 00 0C */ stfs f5, 0xc(r3) +/* 80312044 0030EFA4 EC 4D 50 28 */ fsubs f2, f13, f10 +/* 80312048 0030EFA8 EC 66 40 28 */ fsubs f3, f6, f8 +/* 8031204C 0030EFAC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312050 0030EFB0 EC 26 40 2A */ fadds f1, f6, f8 +/* 80312054 0030EFB4 EC 07 F8 28 */ fsubs f0, f7, f31 +/* 80312058 0030EFB8 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 8031205C 0030EFBC D0 63 00 18 */ stfs f3, 0x18(r3) +/* 80312060 0030EFC0 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 80312064 0030EFC4 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80312068 0030EFC8 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8031206C 0030EFCC D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312070 0030EFD0 D0 A3 00 2C */ stfs f5, 0x2c(r3) +/* 80312074 0030EFD4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80312078 0030EFD8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8031207C 0030EFDC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80312080 0030EFE0 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80312084 0030EFE4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80312088 0030EFE8 4E 80 00 20 */ blr + +.global BuildTransform__11CQuaternionCFv +BuildTransform__11CQuaternionCFv: +/* 8031208C 0030EFEC C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80312090 0030EFF0 C0 84 00 08 */ lfs f4, 8(r4) +/* 80312094 0030EFF4 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80312098 0030EFF8 EC E0 01 32 */ fmuls f7, f0, f4 +/* 8031209C 0030EFFC C0 24 00 04 */ lfs f1, 4(r4) +/* 803120A0 0030F000 ED 00 01 72 */ fmuls f8, f0, f5 +/* 803120A4 0030F004 C0 64 00 00 */ lfs f3, 0(r4) +/* 803120A8 0030F008 EC C0 00 72 */ fmuls f6, f0, f1 +/* 803120AC 0030F00C C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) +/* 803120B0 0030F010 ED 87 01 32 */ fmuls f12, f7, f4 +/* 803120B4 0030F014 ED A8 01 72 */ fmuls f13, f8, f5 +/* 803120B8 0030F018 EC 06 00 72 */ fmuls f0, f6, f1 +/* 803120BC 0030F01C EC 22 60 28 */ fsubs f1, f2, f12 +/* 803120C0 0030F020 ED 23 02 32 */ fmuls f9, f3, f8 +/* 803120C4 0030F024 ED 46 01 32 */ fmuls f10, f6, f4 +/* 803120C8 0030F028 EC 21 68 28 */ fsubs f1, f1, f13 +/* 803120CC 0030F02C ED 03 01 F2 */ fmuls f8, f3, f7 +/* 803120D0 0030F030 ED 66 01 72 */ fmuls f11, f6, f5 +/* 803120D4 0030F034 EC 82 00 28 */ fsubs f4, f2, f0 +/* 803120D8 0030F038 D0 23 00 00 */ stfs f1, 0(r3) +/* 803120DC 0030F03C EC 4A 48 28 */ fsubs f2, f10, f9 +/* 803120E0 0030F040 EC 0B 40 2A */ fadds f0, f11, f8 +/* 803120E4 0030F044 EC 2A 48 2A */ fadds f1, f10, f9 +/* 803120E8 0030F048 D0 43 00 04 */ stfs f2, 4(r3) +/* 803120EC 0030F04C EC C3 01 B2 */ fmuls f6, f3, f6 +/* 803120F0 0030F050 EC A7 01 72 */ fmuls f5, f7, f5 +/* 803120F4 0030F054 D0 03 00 08 */ stfs f0, 8(r3) +/* 803120F8 0030F058 EC 04 68 28 */ fsubs f0, f4, f13 +/* 803120FC 0030F05C EC 4B 40 28 */ fsubs f2, f11, f8 +/* 80312100 0030F060 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 80312104 0030F064 EC 65 30 28 */ fsubs f3, f5, f6 +/* 80312108 0030F068 EC 25 30 2A */ fadds f1, f5, f6 +/* 8031210C 0030F06C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312110 0030F070 EC 04 60 28 */ fsubs f0, f4, f12 +/* 80312114 0030F074 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 80312118 0030F078 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 8031211C 0030F07C D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80312120 0030F080 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312124 0030F084 4E 80 00 20 */ blr + +.global FromMatrix__11CQuaternionFRC12CTransform4f +FromMatrix__11CQuaternionFRC12CTransform4f: +/* 80312128 0030F088 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031212C 0030F08C 7C 08 02 A6 */ mflr r0 +/* 80312130 0030F090 38 A4 00 10 */ addi r5, r4, 0x10 +/* 80312134 0030F094 38 C4 00 20 */ addi r6, r4, 0x20 +/* 80312138 0030F098 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031213C 0030F09C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80312140 0030F0A0 7C 7F 1B 78 */ mr r31, r3 +/* 80312144 0030F0A4 38 61 00 08 */ addi r3, r1, 8 +/* 80312148 0030F0A8 48 00 00 91 */ bl FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8031214C 0030F0AC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80312150 0030F0B0 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80312154 0030F0B4 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80312158 0030F0B8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8031215C 0030F0BC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80312160 0030F0C0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80312164 0030F0C4 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80312168 0030F0C8 D0 7F 00 0C */ stfs f3, 0xc(r31) +/* 8031216C 0030F0CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80312170 0030F0D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80312174 0030F0D4 7C 08 03 A6 */ mtlr r0 +/* 80312178 0030F0D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031217C 0030F0DC 4E 80 00 20 */ blr + +.global FromMatrix__11CQuaternionFRC9CMatrix3f +FromMatrix__11CQuaternionFRC9CMatrix3f: +/* 80312180 0030F0E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80312184 0030F0E4 7C 08 02 A6 */ mflr r0 +/* 80312188 0030F0E8 38 A4 00 0C */ addi r5, r4, 0xc +/* 8031218C 0030F0EC 38 C4 00 18 */ addi r6, r4, 0x18 +/* 80312190 0030F0F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80312194 0030F0F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80312198 0030F0F8 7C 7F 1B 78 */ mr r31, r3 +/* 8031219C 0030F0FC 38 61 00 08 */ addi r3, r1, 8 +/* 803121A0 0030F100 48 00 00 39 */ bl FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803121A4 0030F104 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803121A8 0030F108 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 803121AC 0030F10C C0 61 00 14 */ lfs f3, 0x14(r1) +/* 803121B0 0030F110 C0 01 00 08 */ lfs f0, 8(r1) +/* 803121B4 0030F114 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803121B8 0030F118 D0 3F 00 04 */ stfs f1, 4(r31) +/* 803121BC 0030F11C D0 5F 00 08 */ stfs f2, 8(r31) +/* 803121C0 0030F120 D0 7F 00 0C */ stfs f3, 0xc(r31) +/* 803121C4 0030F124 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803121C8 0030F128 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803121CC 0030F12C 7C 08 03 A6 */ mtlr r0 +/* 803121D0 0030F130 38 21 00 20 */ addi r1, r1, 0x20 +/* 803121D4 0030F134 4E 80 00 20 */ blr + +.global FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f +FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 803121D8 0030F138 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803121DC 0030F13C 7C 08 02 A6 */ mflr r0 +/* 803121E0 0030F140 C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) +/* 803121E4 0030F144 90 01 00 24 */ stw r0, 0x24(r1) +/* 803121E8 0030F148 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803121EC 0030F14C 7C DF 33 78 */ mr r31, r6 +/* 803121F0 0030F150 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803121F4 0030F154 7C BE 2B 78 */ mr r30, r5 +/* 803121F8 0030F158 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803121FC 0030F15C 7C 9D 23 78 */ mr r29, r4 +/* 80312200 0030F160 93 81 00 10 */ stw r28, 0x10(r1) +/* 80312204 0030F164 7C 7C 1B 78 */ mr r28, r3 +/* 80312208 0030F168 C0 64 00 00 */ lfs f3, 0(r4) +/* 8031220C 0030F16C C0 85 00 04 */ lfs f4, 4(r5) +/* 80312210 0030F170 EC 02 18 2A */ fadds f0, f2, f3 +/* 80312214 0030F174 C0 A6 00 08 */ lfs f5, 8(r6) +/* 80312218 0030F178 EC 00 20 2A */ fadds f0, f0, f4 +/* 8031221C 0030F17C EC 25 00 2A */ fadds f1, f5, f0 +/* 80312220 0030F180 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80312224 0030F184 40 81 00 5C */ ble lbl_80312280 +/* 80312228 0030F188 48 00 32 D9 */ bl SqrtF__5CMathFf +/* 8031222C 0030F18C C0 42 C8 7C */ lfs f2, lbl_805AE59C@sda21(r2) +/* 80312230 0030F190 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 80312234 0030F194 EC C1 00 B2 */ fmuls f6, f1, f2 +/* 80312238 0030F198 C0 BF 00 04 */ lfs f5, 4(r31) +/* 8031223C 0030F19C C0 9E 00 08 */ lfs f4, 8(r30) +/* 80312240 0030F1A0 C0 7D 00 08 */ lfs f3, 8(r29) +/* 80312244 0030F1A4 EC E0 30 24 */ fdivs f7, f0, f6 +/* 80312248 0030F1A8 C0 5F 00 00 */ lfs f2, 0(r31) +/* 8031224C 0030F1AC C0 3E 00 00 */ lfs f1, 0(r30) +/* 80312250 0030F1B0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80312254 0030F1B4 D0 DC 00 00 */ stfs f6, 0(r28) +/* 80312258 0030F1B8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8031225C 0030F1BC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80312260 0030F1C0 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80312264 0030F1C4 EC 47 00 B2 */ fmuls f2, f7, f2 +/* 80312268 0030F1C8 EC 07 00 32 */ fmuls f0, f7, f0 +/* 8031226C 0030F1CC EC 27 01 32 */ fmuls f1, f7, f4 +/* 80312270 0030F1D0 D0 3C 00 04 */ stfs f1, 4(r28) +/* 80312274 0030F1D4 D0 5C 00 08 */ stfs f2, 8(r28) +/* 80312278 0030F1D8 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8031227C 0030F1DC 48 00 01 94 */ b lbl_80312410 +lbl_80312280: +/* 80312280 0030F1E0 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 80312284 0030F1E4 40 81 00 1C */ ble lbl_803122A0 +/* 80312288 0030F1E8 FC 05 20 40 */ fcmpo cr0, f5, f4 +/* 8031228C 0030F1EC 40 81 00 0C */ ble lbl_80312298 +/* 80312290 0030F1F0 38 00 00 02 */ li r0, 2 +/* 80312294 0030F1F4 48 00 00 20 */ b lbl_803122B4 +lbl_80312298: +/* 80312298 0030F1F8 38 00 00 01 */ li r0, 1 +/* 8031229C 0030F1FC 48 00 00 18 */ b lbl_803122B4 +lbl_803122A0: +/* 803122A0 0030F200 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 803122A4 0030F204 40 81 00 0C */ ble lbl_803122B0 +/* 803122A8 0030F208 38 00 00 02 */ li r0, 2 +/* 803122AC 0030F20C 48 00 00 08 */ b lbl_803122B4 +lbl_803122B0: +/* 803122B0 0030F210 38 00 00 00 */ li r0, 0 +lbl_803122B4: +/* 803122B4 0030F214 2C 00 00 00 */ cmpwi r0, 0 +/* 803122B8 0030F218 40 82 00 74 */ bne lbl_8031232C +/* 803122BC 0030F21C EC 03 20 28 */ fsubs f0, f3, f4 +/* 803122C0 0030F220 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 803122C4 0030F224 EC 00 28 28 */ fsubs f0, f0, f5 +/* 803122C8 0030F228 EC 21 00 2A */ fadds f1, f1, f0 +/* 803122CC 0030F22C 48 00 32 35 */ bl SqrtF__5CMathFf +/* 803122D0 0030F230 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803122D4 0030F234 C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 803122D8 0030F238 EC E0 00 72 */ fmuls f7, f0, f1 +/* 803122DC 0030F23C C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 803122E0 0030F240 C0 5F 00 04 */ lfs f2, 4(r31) +/* 803122E4 0030F244 C0 3E 00 08 */ lfs f1, 8(r30) +/* 803122E8 0030F248 ED 03 38 24 */ fdivs f8, f3, f7 +/* 803122EC 0030F24C C0 DD 00 04 */ lfs f6, 4(r29) +/* 803122F0 0030F250 C0 BE 00 00 */ lfs f5, 0(r30) +/* 803122F4 0030F254 C0 9D 00 08 */ lfs f4, 8(r29) +/* 803122F8 0030F258 C0 7F 00 00 */ lfs f3, 0(r31) +/* 803122FC 0030F25C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80312300 0030F260 EC A6 28 2A */ fadds f5, f6, f5 +/* 80312304 0030F264 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80312308 0030F268 EC 28 00 72 */ fmuls f1, f8, f1 +/* 8031230C 0030F26C EC 44 18 2A */ fadds f2, f4, f3 +/* 80312310 0030F270 EC 68 01 72 */ fmuls f3, f8, f5 +/* 80312314 0030F274 D0 3C 00 00 */ stfs f1, 0(r28) +/* 80312318 0030F278 EC 28 00 B2 */ fmuls f1, f8, f2 +/* 8031231C 0030F27C D0 1C 00 04 */ stfs f0, 4(r28) +/* 80312320 0030F280 D0 7C 00 08 */ stfs f3, 8(r28) +/* 80312324 0030F284 D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 80312328 0030F288 48 00 00 E8 */ b lbl_80312410 +lbl_8031232C: +/* 8031232C 0030F28C 2C 00 00 01 */ cmpwi r0, 1 +/* 80312330 0030F290 40 82 00 74 */ bne lbl_803123A4 +/* 80312334 0030F294 EC 04 28 28 */ fsubs f0, f4, f5 +/* 80312338 0030F298 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 8031233C 0030F29C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80312340 0030F2A0 EC 21 00 2A */ fadds f1, f1, f0 +/* 80312344 0030F2A4 48 00 31 BD */ bl SqrtF__5CMathFf +/* 80312348 0030F2A8 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 8031234C 0030F2AC C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80312350 0030F2B0 EC E0 00 72 */ fmuls f7, f0, f1 +/* 80312354 0030F2B4 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 80312358 0030F2B8 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8031235C 0030F2BC C0 3F 00 00 */ lfs f1, 0(r31) +/* 80312360 0030F2C0 ED 03 38 24 */ fdivs f8, f3, f7 +/* 80312364 0030F2C4 C0 9E 00 00 */ lfs f4, 0(r30) +/* 80312368 0030F2C8 C0 7D 00 04 */ lfs f3, 4(r29) +/* 8031236C 0030F2CC C0 DE 00 08 */ lfs f6, 8(r30) +/* 80312370 0030F2D0 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80312374 0030F2D4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80312378 0030F2D8 EC 44 18 2A */ fadds f2, f4, f3 +/* 8031237C 0030F2DC EC 66 28 2A */ fadds f3, f6, f5 +/* 80312380 0030F2E0 EC 28 00 72 */ fmuls f1, f8, f1 +/* 80312384 0030F2E4 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 80312388 0030F2E8 EC 07 00 32 */ fmuls f0, f7, f0 +/* 8031238C 0030F2EC D0 3C 00 00 */ stfs f1, 0(r28) +/* 80312390 0030F2F0 EC 28 00 F2 */ fmuls f1, f8, f3 +/* 80312394 0030F2F4 D0 5C 00 04 */ stfs f2, 4(r28) +/* 80312398 0030F2F8 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8031239C 0030F2FC D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 803123A0 0030F300 48 00 00 70 */ b lbl_80312410 +lbl_803123A4: +/* 803123A4 0030F304 EC 05 18 28 */ fsubs f0, f5, f3 +/* 803123A8 0030F308 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 803123AC 0030F30C EC 00 20 28 */ fsubs f0, f0, f4 +/* 803123B0 0030F310 EC 21 00 2A */ fadds f1, f1, f0 +/* 803123B4 0030F314 48 00 31 4D */ bl SqrtF__5CMathFf +/* 803123B8 0030F318 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803123BC 0030F31C C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 803123C0 0030F320 EC E0 00 72 */ fmuls f7, f0, f1 +/* 803123C4 0030F324 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 803123C8 0030F328 C0 5E 00 00 */ lfs f2, 0(r30) +/* 803123CC 0030F32C C0 3D 00 04 */ lfs f1, 4(r29) +/* 803123D0 0030F330 ED 03 38 24 */ fdivs f8, f3, f7 +/* 803123D4 0030F334 C0 DF 00 00 */ lfs f6, 0(r31) +/* 803123D8 0030F338 C0 BD 00 08 */ lfs f5, 8(r29) +/* 803123DC 0030F33C C0 9F 00 04 */ lfs f4, 4(r31) +/* 803123E0 0030F340 C0 7E 00 08 */ lfs f3, 8(r30) +/* 803123E4 0030F344 EC 22 08 28 */ fsubs f1, f2, f1 +/* 803123E8 0030F348 EC 44 18 2A */ fadds f2, f4, f3 +/* 803123EC 0030F34C EC A6 28 2A */ fadds f5, f6, f5 +/* 803123F0 0030F350 EC 28 00 72 */ fmuls f1, f8, f1 +/* 803123F4 0030F354 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 803123F8 0030F358 EC 68 01 72 */ fmuls f3, f8, f5 +/* 803123FC 0030F35C D0 3C 00 00 */ stfs f1, 0(r28) +/* 80312400 0030F360 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80312404 0030F364 D0 7C 00 04 */ stfs f3, 4(r28) +/* 80312408 0030F368 D0 5C 00 08 */ stfs f2, 8(r28) +/* 8031240C 0030F36C D0 1C 00 0C */ stfs f0, 0xc(r28) +lbl_80312410: +/* 80312410 0030F370 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80312414 0030F374 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80312418 0030F378 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031241C 0030F37C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80312420 0030F380 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80312424 0030F384 7C 08 03 A6 */ mtlr r0 +/* 80312428 0030F388 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031242C 0030F38C 4E 80 00 20 */ blr + +.global __ct__11CQuaternionFR12CInputStream +__ct__11CQuaternionFR12CInputStream: +/* 80312430 0030F390 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312434 0030F394 7C 08 02 A6 */ mflr r0 +/* 80312438 0030F398 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031243C 0030F39C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80312440 0030F3A0 7C 9F 23 78 */ mr r31, r4 +/* 80312444 0030F3A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80312448 0030F3A8 7C 7E 1B 78 */ mr r30, r3 +/* 8031244C 0030F3AC 7F E3 FB 78 */ mr r3, r31 +/* 80312450 0030F3B0 48 02 C7 D9 */ bl ReadFloat__12CInputStreamFv +/* 80312454 0030F3B4 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80312458 0030F3B8 7F E4 FB 78 */ mr r4, r31 +/* 8031245C 0030F3BC 38 7E 00 04 */ addi r3, r30, 4 +/* 80312460 0030F3C0 48 00 27 2D */ bl __ct__9CVector3fFR12CInputStream +/* 80312464 0030F3C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80312468 0030F3C8 7F C3 F3 78 */ mr r3, r30 +/* 8031246C 0030F3CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80312470 0030F3D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80312474 0030F3D4 7C 08 03 A6 */ mtlr r0 +/* 80312478 0030F3D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031247C 0030F3DC 4E 80 00 20 */ blr + +.global __sinit_CQuaternion_cpp +__sinit_CQuaternion_cpp: +/* 80312480 0030F3E0 3C 80 80 4C */ lis r4, lbl_804BFD30@ha +/* 80312484 0030F3E4 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80312488 0030F3E8 38 E4 FD 30 */ addi r7, r4, lbl_804BFD30@l +/* 8031248C 0030F3EC C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80312490 0030F3F0 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 80312494 0030F3F4 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 80312498 0030F3F8 38 A7 00 00 */ addi r5, r7, 0 +/* 8031249C 0030F3FC 38 87 00 0C */ addi r4, r7, 0xc +/* 803124A0 0030F400 38 67 00 18 */ addi r3, r7, 0x18 +/* 803124A4 0030F404 D0 26 00 00 */ stfs f1, 0(r6) +/* 803124A8 0030F408 D0 06 00 04 */ stfs f0, 4(r6) +/* 803124AC 0030F40C D0 06 00 08 */ stfs f0, 8(r6) +/* 803124B0 0030F410 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 803124B4 0030F414 D0 27 00 00 */ stfs f1, 0(r7) +/* 803124B8 0030F418 D0 05 00 04 */ stfs f0, 4(r5) +/* 803124BC 0030F41C D0 05 00 08 */ stfs f0, 8(r5) +/* 803124C0 0030F420 D0 07 00 0C */ stfs f0, 0xc(r7) +/* 803124C4 0030F424 D0 24 00 04 */ stfs f1, 4(r4) +/* 803124C8 0030F428 D0 04 00 08 */ stfs f0, 8(r4) +/* 803124CC 0030F42C D0 07 00 18 */ stfs f0, 0x18(r7) +/* 803124D0 0030F430 D0 03 00 04 */ stfs f0, 4(r3) +/* 803124D4 0030F434 D0 23 00 08 */ stfs f1, 8(r3) +/* 803124D8 0030F438 4E 80 00 20 */ blr + +.global Float__9CRandom16Fv +Float__9CRandom16Fv: +/* 803124DC 0030F43C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803124E0 0030F440 7C 08 02 A6 */ mflr r0 +/* 803124E4 0030F444 90 01 00 14 */ stw r0, 0x14(r1) +/* 803124E8 0030F448 48 00 00 39 */ bl Next__9CRandom16Fv +/* 803124EC 0030F44C 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 803124F0 0030F450 3C 00 43 30 */ lis r0, 0x4330 +/* 803124F4 0030F454 90 61 00 0C */ stw r3, 0xc(r1) +/* 803124F8 0030F458 C8 22 C8 C8 */ lfd f1, lbl_805AE5E8@sda21(r2) +/* 803124FC 0030F45C 90 01 00 08 */ stw r0, 8(r1) +/* 80312500 0030F460 C0 42 C8 C0 */ lfs f2, lbl_805AE5E0@sda21(r2) +/* 80312504 0030F464 C8 01 00 08 */ lfd f0, 8(r1) +/* 80312508 0030F468 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8031250C 0030F46C EC 22 00 32 */ fmuls f1, f2, f0 +/* 80312510 0030F470 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80312514 0030F474 7C 08 03 A6 */ mtlr r0 +/* 80312518 0030F478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031251C 0030F47C 4E 80 00 20 */ blr + +.global Next__9CRandom16Fv +Next__9CRandom16Fv: +/* 80312520 0030F480 3C 80 41 C6 */ lis r4, 0x41C64E6D@ha +/* 80312524 0030F484 80 A3 00 00 */ lwz r5, 0(r3) +/* 80312528 0030F488 38 04 4E 6D */ addi r0, r4, 0x41C64E6D@l +/* 8031252C 0030F48C 7C 85 01 D6 */ mullw r4, r5, r0 +/* 80312530 0030F490 38 04 30 39 */ addi r0, r4, 0x3039 +/* 80312534 0030F494 90 03 00 00 */ stw r0, 0(r3) +/* 80312538 0030F498 80 03 00 00 */ lwz r0, 0(r3) +/* 8031253C 0030F49C 54 03 84 3E */ srwi r3, r0, 0x10 +/* 80312540 0030F4A0 4E 80 00 20 */ blr + +.global Range__9CRandom16Fff +Range__9CRandom16Fff: +/* 80312544 0030F4A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80312548 0030F4A8 7C 08 02 A6 */ mflr r0 +/* 8031254C 0030F4AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80312550 0030F4B0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80312554 0030F4B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80312558 0030F4B8 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 8031255C 0030F4BC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80312560 0030F4C0 FF C0 08 90 */ fmr f30, f1 +/* 80312564 0030F4C4 FF E0 10 90 */ fmr f31, f2 +/* 80312568 0030F4C8 4B FF FF 75 */ bl Float__9CRandom16Fv +/* 8031256C 0030F4CC EC 1F F0 28 */ fsubs f0, f31, f30 +/* 80312570 0030F4D0 EC 20 F0 7A */ fmadds f1, f0, f1, f30 +/* 80312574 0030F4D4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80312578 0030F4D8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8031257C 0030F4DC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80312580 0030F4E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80312584 0030F4E4 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80312588 0030F4E8 7C 08 03 A6 */ mtlr r0 +/* 8031258C 0030F4EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80312590 0030F4F0 4E 80 00 20 */ blr + +.global Range__9CRandom16Fii +Range__9CRandom16Fii: +/* 80312594 0030F4F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312598 0030F4F8 7C 08 02 A6 */ mflr r0 +/* 8031259C 0030F4FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803125A0 0030F500 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803125A4 0030F504 7C BF 2B 78 */ mr r31, r5 +/* 803125A8 0030F508 93 C1 00 08 */ stw r30, 8(r1) +/* 803125AC 0030F50C 7C 9E 23 78 */ mr r30, r4 +/* 803125B0 0030F510 4B FF FF 71 */ bl Next__9CRandom16Fv +/* 803125B4 0030F514 7C 9E F8 50 */ subf r4, r30, r31 +/* 803125B8 0030F518 38 84 00 01 */ addi r4, r4, 1 +/* 803125BC 0030F51C 7C 03 23 D6 */ divw r0, r3, r4 +/* 803125C0 0030F520 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803125C4 0030F524 7C 00 18 50 */ subf r0, r0, r3 +/* 803125C8 0030F528 7C 7E 02 14 */ add r3, r30, r0 +/* 803125CC 0030F52C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803125D0 0030F530 83 C1 00 08 */ lwz r30, 8(r1) +/* 803125D4 0030F534 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803125D8 0030F538 7C 08 03 A6 */ mtlr r0 +/* 803125DC 0030F53C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803125E0 0030F540 4E 80 00 20 */ blr + +.global SetSeed__9CRandom16FUi +SetSeed__9CRandom16FUi: +/* 803125E4 0030F544 90 83 00 00 */ stw r4, 0(r3) +/* 803125E8 0030F548 4E 80 00 20 */ blr + +.global __ct__9CRandom16FUi +__ct__9CRandom16FUi: +/* 803125EC 0030F54C 90 83 00 00 */ stw r4, 0(r3) +/* 803125F0 0030F550 4E 80 00 20 */ blr + +.global _SetRandomNumber__9CRandom16FP9CRandom16 +_SetRandomNumber__9CRandom16FP9CRandom16: +/* 803125F4 0030F554 90 6D A8 90 */ stw r3, lbl_805A9450@sda21(r13) +/* 803125F8 0030F558 4E 80 00 20 */ blr + +.global GetRandomNumber__9CRandom16Fv +GetRandomNumber__9CRandom16Fv: +/* 803125FC 0030F55C 80 6D A8 90 */ lwz r3, lbl_805A9450@sda21(r13) +/* 80312600 0030F560 4E 80 00 20 */ blr + +.global __dt__13CGlobalRandomFv +__dt__13CGlobalRandomFv: +/* 80312604 0030F564 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312608 0030F568 7C 08 02 A6 */ mflr r0 +/* 8031260C 0030F56C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80312610 0030F570 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80312614 0030F574 7C 9F 23 78 */ mr r31, r4 +/* 80312618 0030F578 93 C1 00 08 */ stw r30, 8(r1) +/* 8031261C 0030F57C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80312620 0030F580 41 82 00 44 */ beq lbl_80312664 +/* 80312624 0030F584 80 7E 00 08 */ lwz r3, 8(r30) +/* 80312628 0030F588 28 03 00 00 */ cmplwi r3, 0 +/* 8031262C 0030F58C 90 6D A8 94 */ stw r3, lbl_805A9454@sda21(r13) +/* 80312630 0030F590 41 82 00 1C */ beq lbl_8031264C +/* 80312634 0030F594 38 00 00 01 */ li r0, 1 +/* 80312638 0030F598 98 03 00 04 */ stb r0, 4(r3) +/* 8031263C 0030F59C 80 6D A8 94 */ lwz r3, lbl_805A9454@sda21(r13) +/* 80312640 0030F5A0 80 63 00 00 */ lwz r3, 0(r3) +/* 80312644 0030F5A4 4B FF FF B1 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 +/* 80312648 0030F5A8 48 00 00 0C */ b lbl_80312654 +lbl_8031264C: +/* 8031264C 0030F5AC 38 60 00 00 */ li r3, 0 +/* 80312650 0030F5B0 4B FF FF A5 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 +lbl_80312654: +/* 80312654 0030F5B4 7F E0 07 35 */ extsh. r0, r31 +/* 80312658 0030F5B8 40 81 00 0C */ ble lbl_80312664 +/* 8031265C 0030F5BC 7F C3 F3 78 */ mr r3, r30 +/* 80312660 0030F5C0 48 00 32 D1 */ bl Free__7CMemoryFPCv +lbl_80312664: +/* 80312664 0030F5C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80312668 0030F5C8 7F C3 F3 78 */ mr r3, r30 +/* 8031266C 0030F5CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80312670 0030F5D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80312674 0030F5D4 7C 08 03 A6 */ mtlr r0 +/* 80312678 0030F5D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031267C 0030F5DC 4E 80 00 20 */ blr + +.global __ct__13CGlobalRandomFR9CRandom16 +__ct__13CGlobalRandomFR9CRandom16: +/* 80312680 0030F5E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312684 0030F5E4 7C 08 02 A6 */ mflr r0 +/* 80312688 0030F5E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031268C 0030F5EC 38 00 00 01 */ li r0, 1 +/* 80312690 0030F5F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80312694 0030F5F4 7C 7F 1B 78 */ mr r31, r3 +/* 80312698 0030F5F8 90 83 00 00 */ stw r4, 0(r3) +/* 8031269C 0030F5FC 98 03 00 04 */ stb r0, 4(r3) +/* 803126A0 0030F600 80 0D A8 94 */ lwz r0, lbl_805A9454@sda21(r13) +/* 803126A4 0030F604 90 03 00 08 */ stw r0, 8(r3) +/* 803126A8 0030F608 80 63 00 08 */ lwz r3, 8(r3) +/* 803126AC 0030F60C 28 03 00 00 */ cmplwi r3, 0 +/* 803126B0 0030F610 41 82 00 0C */ beq lbl_803126BC +/* 803126B4 0030F614 38 00 00 00 */ li r0, 0 +/* 803126B8 0030F618 98 03 00 04 */ stb r0, 4(r3) +lbl_803126BC: +/* 803126BC 0030F61C 93 ED A8 94 */ stw r31, lbl_805A9454@sda21(r13) +/* 803126C0 0030F620 80 7F 00 00 */ lwz r3, 0(r31) +/* 803126C4 0030F624 4B FF FF 31 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 +/* 803126C8 0030F628 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803126CC 0030F62C 7F E3 FB 78 */ mr r3, r31 +/* 803126D0 0030F630 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803126D4 0030F634 7C 08 03 A6 */ mtlr r0 +/* 803126D8 0030F638 38 21 00 10 */ addi r1, r1, 0x10 +/* 803126DC 0030F63C 4E 80 00 20 */ blr + +.global GetInverse__12CTransform4fCFv +GetInverse__12CTransform4fCFv: +/* 803126E0 0030F640 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803126E4 0030F644 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 803126E8 0030F648 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 803126EC 0030F64C DB C1 00 10 */ stfd f30, 0x10(r1) +/* 803126F0 0030F650 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 803126F4 0030F654 C0 C4 00 10 */ lfs f6, 0x10(r4) +/* 803126F8 0030F658 C1 04 00 28 */ lfs f8, 0x28(r4) +/* 803126FC 0030F65C C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80312700 0030F660 C0 E4 00 18 */ lfs f7, 0x18(r4) +/* 80312704 0030F664 EC 06 02 32 */ fmuls f0, f6, f8 +/* 80312708 0030F668 C0 84 00 20 */ lfs f4, 0x20(r4) +/* 8031270C 0030F66C EC 22 02 32 */ fmuls f1, f2, f8 +/* 80312710 0030F670 C1 44 00 24 */ lfs f10, 0x24(r4) +/* 80312714 0030F674 EC 42 01 F2 */ fmuls f2, f2, f7 +/* 80312718 0030F678 C1 24 00 14 */ lfs f9, 0x14(r4) +/* 8031271C 0030F67C EC 67 02 B2 */ fmuls f3, f7, f10 +/* 80312720 0030F680 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80312724 0030F684 EC 07 01 38 */ fmsubs f0, f7, f4, f0 +/* 80312728 0030F688 C1 64 00 2C */ lfs f11, 0x2c(r4) +/* 8031272C 0030F68C EC A9 01 32 */ fmuls f5, f9, f4 +/* 80312730 0030F690 C0 84 00 00 */ lfs f4, 0(r4) +/* 80312734 0030F694 EC 69 1A 38 */ fmsubs f3, f9, f8, f3 +/* 80312738 0030F698 C1 84 00 08 */ lfs f12, 8(r4) +/* 8031273C 0030F69C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80312740 0030F6A0 C1 A4 00 1C */ lfs f13, 0x1c(r4) +/* 80312744 0030F6A4 EC A6 2A B8 */ fmsubs f5, f6, f10, f5 +/* 80312748 0030F6A8 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) +/* 8031274C 0030F6AC EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80312750 0030F6B0 EC 6C 02 F2 */ fmuls f3, f12, f11 +/* 80312754 0030F6B4 EF CC 03 72 */ fmuls f30, f12, f13 +/* 80312758 0030F6B8 EC 0C 01 7A */ fmadds f0, f12, f5, f0 +/* 8031275C 0030F6BC EC E7 02 F2 */ fmuls f7, f7, f11 +/* 80312760 0030F6C0 ED 0D 02 32 */ fmuls f8, f13, f8 +/* 80312764 0030F6C4 EC 06 00 24 */ fdivs f0, f6, f0 +/* 80312768 0030F6C8 FC A0 38 50 */ fneg f5, f7 +/* 8031276C 0030F6CC EC 83 08 28 */ fsubs f4, f3, f1 +/* 80312770 0030F6D0 FC C0 F0 50 */ fneg f6, f30 +/* 80312774 0030F6D4 FC 60 18 50 */ fneg f3, f3 +/* 80312778 0030F6D8 EC A5 40 2A */ fadds f5, f5, f8 +/* 8031277C 0030F6DC EC 89 01 32 */ fmuls f4, f9, f4 +/* 80312780 0030F6E0 EC C6 10 2A */ fadds f6, f6, f2 +/* 80312784 0030F6E4 EC 23 08 2A */ fadds f1, f3, f1 +/* 80312788 0030F6E8 EC 9F 21 7A */ fmadds f4, f31, f5, f4 +/* 8031278C 0030F6EC EC 67 40 28 */ fsubs f3, f7, f8 +/* 80312790 0030F6F0 EC BE 10 28 */ fsubs f5, f30, f2 +/* 80312794 0030F6F4 EC 4A 21 BA */ fmadds f2, f10, f6, f4 +/* 80312798 0030F6F8 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8031279C 0030F6FC D0 43 00 0C */ stfs f2, 0xc(r3) +/* 803127A0 0030F700 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803127A4 0030F704 C0 84 00 00 */ lfs f4, 0(r4) +/* 803127A8 0030F708 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803127AC 0030F70C C0 44 00 20 */ lfs f2, 0x20(r4) +/* 803127B0 0030F710 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 803127B4 0030F714 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 803127B8 0030F718 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803127BC 0030F71C D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 803127C0 0030F720 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 803127C4 0030F724 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 803127C8 0030F728 C0 44 00 24 */ lfs f2, 0x24(r4) +/* 803127CC 0030F72C FC 80 08 50 */ fneg f4, f1 +/* 803127D0 0030F730 C1 44 00 1C */ lfs f10, 0x1c(r4) +/* 803127D4 0030F734 EC C3 00 72 */ fmuls f6, f3, f1 +/* 803127D8 0030F738 C0 E4 00 04 */ lfs f7, 4(r4) +/* 803127DC 0030F73C EC 23 00 B2 */ fmuls f1, f3, f2 +/* 803127E0 0030F740 C1 24 00 2C */ lfs f9, 0x2c(r4) +/* 803127E4 0030F744 EC 6A 00 B2 */ fmuls f3, f10, f2 +/* 803127E8 0030F748 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803127EC 0030F74C EC 27 0A 78 */ fmsubs f1, f7, f9, f1 +/* 803127F0 0030F750 C0 A4 00 00 */ lfs f5, 0(r4) +/* 803127F4 0030F754 FC E0 38 50 */ fneg f7, f7 +/* 803127F8 0030F758 C1 04 00 20 */ lfs f8, 0x20(r4) +/* 803127FC 0030F75C EC 64 1A 7A */ fmadds f3, f4, f9, f3 +/* 80312800 0030F760 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312804 0030F764 EC 47 32 BA */ fmadds f2, f7, f10, f6 +/* 80312808 0030F768 EC 25 08 FA */ fmadds f1, f5, f3, f1 +/* 8031280C 0030F76C EC 28 08 BA */ fmadds f1, f8, f2, f1 +/* 80312810 0030F770 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312814 0030F774 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 80312818 0030F778 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8031281C 0030F77C C0 24 00 24 */ lfs f1, 0x24(r4) +/* 80312820 0030F780 C0 64 00 14 */ lfs f3, 0x14(r4) +/* 80312824 0030F784 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312828 0030F788 C0 44 00 28 */ lfs f2, 0x28(r4) +/* 8031282C 0030F78C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312830 0030F790 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312834 0030F794 D0 23 00 00 */ stfs f1, 0(r3) +/* 80312838 0030F798 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031283C 0030F79C C0 24 00 28 */ lfs f1, 0x28(r4) +/* 80312840 0030F7A0 C0 64 00 08 */ lfs f3, 8(r4) +/* 80312844 0030F7A4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312848 0030F7A8 C0 44 00 24 */ lfs f2, 0x24(r4) +/* 8031284C 0030F7AC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312850 0030F7B0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312854 0030F7B4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312858 0030F7B8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8031285C 0030F7BC C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80312860 0030F7C0 C0 64 00 04 */ lfs f3, 4(r4) +/* 80312864 0030F7C4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312868 0030F7C8 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8031286C 0030F7CC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312870 0030F7D0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312874 0030F7D4 D0 23 00 08 */ stfs f1, 8(r3) +/* 80312878 0030F7D8 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 8031287C 0030F7DC C0 24 00 28 */ lfs f1, 0x28(r4) +/* 80312880 0030F7E0 C0 64 00 18 */ lfs f3, 0x18(r4) +/* 80312884 0030F7E4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312888 0030F7E8 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 8031288C 0030F7EC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312890 0030F7F0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312894 0030F7F4 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 80312898 0030F7F8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8031289C 0030F7FC C0 24 00 20 */ lfs f1, 0x20(r4) +/* 803128A0 0030F800 C0 64 00 00 */ lfs f3, 0(r4) +/* 803128A4 0030F804 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803128A8 0030F808 C0 44 00 28 */ lfs f2, 0x28(r4) +/* 803128AC 0030F80C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 803128B0 0030F810 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803128B4 0030F814 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 803128B8 0030F818 C0 44 00 00 */ lfs f2, 0(r4) +/* 803128BC 0030F81C C0 24 00 18 */ lfs f1, 0x18(r4) +/* 803128C0 0030F820 C0 64 00 08 */ lfs f3, 8(r4) +/* 803128C4 0030F824 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803128C8 0030F828 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803128CC 0030F82C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 803128D0 0030F830 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803128D4 0030F834 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 803128D8 0030F838 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 803128DC 0030F83C C0 24 00 20 */ lfs f1, 0x20(r4) +/* 803128E0 0030F840 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 803128E4 0030F844 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803128E8 0030F848 C0 44 00 24 */ lfs f2, 0x24(r4) +/* 803128EC 0030F84C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 803128F0 0030F850 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803128F4 0030F854 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 803128F8 0030F858 C0 44 00 00 */ lfs f2, 0(r4) +/* 803128FC 0030F85C C0 24 00 24 */ lfs f1, 0x24(r4) +/* 80312900 0030F860 C0 64 00 04 */ lfs f3, 4(r4) +/* 80312904 0030F864 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312908 0030F868 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 8031290C 0030F86C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312910 0030F870 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312914 0030F874 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 80312918 0030F878 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031291C 0030F87C C0 24 00 10 */ lfs f1, 0x10(r4) +/* 80312920 0030F880 C0 64 00 00 */ lfs f3, 0(r4) +/* 80312924 0030F884 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312928 0030F888 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8031292C 0030F88C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312930 0030F890 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312934 0030F894 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312938 0030F898 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8031293C 0030F89C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80312940 0030F8A0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80312944 0030F8A4 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80312948 0030F8A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031294C 0030F8AC 4E 80 00 20 */ blr + +.global __ml__12CTransform4fCFRC12CTransform4f +__ml__12CTransform4fCFRC12CTransform4f: +/* 80312950 0030F8B0 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 +/* 80312954 0030F8B4 E0 E5 00 08 */ psq_l f7, 8(r5), 0, qr0 +/* 80312958 0030F8B8 10 20 04 E0 */ ps_merge11 f1, f0, f0 +/* 8031295C 0030F8BC E0 85 00 00 */ psq_l f4, 0(r5), 0, qr0 +/* 80312960 0030F8C0 10 00 04 20 */ ps_merge00 f0, f0, f0 +/* 80312964 0030F8C4 C0 62 C8 D4 */ lfs f3, lbl_805AE5F4@sda21(r2) +/* 80312968 0030F8C8 E0 44 00 08 */ psq_l f2, 8(r4), 0, qr0 +/* 8031296C 0030F8CC E1 05 00 18 */ psq_l f8, 24(r5), 0, qr0 +/* 80312970 0030F8D0 11 40 01 F2 */ ps_mul f10, f0, f7 +/* 80312974 0030F8D4 E0 A5 00 10 */ psq_l f5, 16(r5), 0, qr0 +/* 80312978 0030F8D8 10 00 01 32 */ ps_mul f0, f0, f4 +/* 8031297C 0030F8DC E1 25 00 28 */ psq_l f9, 40(r5), 0, qr0 +/* 80312980 0030F8E0 10 63 14 60 */ ps_merge01 f3, f3, f2 +/* 80312984 0030F8E4 E0 C5 00 20 */ psq_l f6, 32(r5), 0, qr0 +/* 80312988 0030F8E8 10 42 14 20 */ ps_merge00 f2, f2, f2 +/* 8031298C 0030F8EC 11 41 52 3A */ ps_madd f10, f1, f8, f10 +/* 80312990 0030F8F0 10 01 01 7A */ ps_madd f0, f1, f5, f0 +/* 80312994 0030F8F4 11 42 52 7A */ ps_madd f10, f2, f9, f10 +/* 80312998 0030F8F8 10 02 01 BA */ ps_madd f0, f2, f6, f0 +/* 8031299C 0030F8FC 11 43 50 2A */ ps_add f10, f3, f10 +/* 803129A0 0030F900 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 +/* 803129A4 0030F904 F1 43 00 08 */ psq_st f10, 8(r3), 0, qr0 +/* 803129A8 0030F908 E0 04 00 10 */ psq_l f0, 16(r4), 0, qr0 +/* 803129AC 0030F90C E0 44 00 18 */ psq_l f2, 24(r4), 0, qr0 +/* 803129B0 0030F910 10 20 04 E0 */ ps_merge11 f1, f0, f0 +/* 803129B4 0030F914 10 00 04 20 */ ps_merge00 f0, f0, f0 +/* 803129B8 0030F918 10 63 14 60 */ ps_merge01 f3, f3, f2 +/* 803129BC 0030F91C 10 42 14 20 */ ps_merge00 f2, f2, f2 +/* 803129C0 0030F920 11 40 01 F2 */ ps_mul f10, f0, f7 +/* 803129C4 0030F924 10 00 01 32 */ ps_mul f0, f0, f4 +/* 803129C8 0030F928 11 41 52 3A */ ps_madd f10, f1, f8, f10 +/* 803129CC 0030F92C 10 01 01 7A */ ps_madd f0, f1, f5, f0 +/* 803129D0 0030F930 11 42 52 7A */ ps_madd f10, f2, f9, f10 +/* 803129D4 0030F934 10 02 01 BA */ ps_madd f0, f2, f6, f0 +/* 803129D8 0030F938 11 43 50 2A */ ps_add f10, f3, f10 +/* 803129DC 0030F93C F0 03 00 10 */ psq_st f0, 16(r3), 0, qr0 +/* 803129E0 0030F940 F1 43 00 18 */ psq_st f10, 24(r3), 0, qr0 +/* 803129E4 0030F944 E0 04 00 20 */ psq_l f0, 32(r4), 0, qr0 +/* 803129E8 0030F948 E0 44 00 28 */ psq_l f2, 40(r4), 0, qr0 +/* 803129EC 0030F94C 10 20 04 E0 */ ps_merge11 f1, f0, f0 +/* 803129F0 0030F950 10 00 04 20 */ ps_merge00 f0, f0, f0 +/* 803129F4 0030F954 10 63 14 60 */ ps_merge01 f3, f3, f2 +/* 803129F8 0030F958 10 42 14 20 */ ps_merge00 f2, f2, f2 +/* 803129FC 0030F95C 11 40 01 F2 */ ps_mul f10, f0, f7 +/* 80312A00 0030F960 10 00 01 32 */ ps_mul f0, f0, f4 +/* 80312A04 0030F964 11 41 52 3A */ ps_madd f10, f1, f8, f10 +/* 80312A08 0030F968 10 01 01 7A */ ps_madd f0, f1, f5, f0 +/* 80312A0C 0030F96C 11 42 52 7A */ ps_madd f10, f2, f9, f10 +/* 80312A10 0030F970 10 02 01 BA */ ps_madd f0, f2, f6, f0 +/* 80312A14 0030F974 11 43 50 2A */ ps_add f10, f3, f10 +/* 80312A18 0030F978 F0 03 00 20 */ psq_st f0, 32(r3), 0, qr0 +/* 80312A1C 0030F97C F1 43 00 28 */ psq_st f10, 40(r3), 0, qr0 +/* 80312A20 0030F980 4E 80 00 20 */ blr + +.global TransposeRotate__12CTransform4fCFRC9CVector3f +TransposeRotate__12CTransform4fCFRC9CVector3f: +/* 80312A24 0030F984 C0 05 00 00 */ lfs f0, 0(r5) +/* 80312A28 0030F988 C0 25 00 04 */ lfs f1, 4(r5) +/* 80312A2C 0030F98C 10 60 04 20 */ ps_merge00 f3, f0, f0 +/* 80312A30 0030F990 E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 +/* 80312A34 0030F994 C0 45 00 08 */ lfs f2, 8(r5) +/* 80312A38 0030F998 10 21 0C 20 */ ps_merge00 f1, f1, f1 +/* 80312A3C 0030F99C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312A40 0030F9A0 10 A4 00 F2 */ ps_mul f5, f4, f3 +/* 80312A44 0030F9A4 E0 C4 00 10 */ psq_l f6, 16(r4), 0, qr0 +/* 80312A48 0030F9A8 10 82 14 20 */ ps_merge00 f4, f2, f2 +/* 80312A4C 0030F9AC E0 E4 00 20 */ psq_l f7, 32(r4), 0, qr0 +/* 80312A50 0030F9B0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312A54 0030F9B4 10 A6 28 7A */ ps_madd f5, f6, f1, f5 +/* 80312A58 0030F9B8 C0 24 00 08 */ lfs f1, 8(r4) +/* 80312A5C 0030F9BC C0 44 00 28 */ lfs f2, 0x28(r4) +/* 80312A60 0030F9C0 10 A7 29 3A */ ps_madd f5, f7, f4, f5 +/* 80312A64 0030F9C4 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 80312A68 0030F9C8 10 25 2C E0 */ ps_merge11 f1, f5, f5 +/* 80312A6C 0030F9CC D0 A3 00 00 */ stfs f5, 0(r3) +/* 80312A70 0030F9D0 EC 02 01 3A */ fmadds f0, f2, f4, f0 +/* 80312A74 0030F9D4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312A78 0030F9D8 D0 03 00 08 */ stfs f0, 8(r3) +/* 80312A7C 0030F9DC 4E 80 00 20 */ blr + +.global Rotate__12CTransform4fCFRC9CVector3f +Rotate__12CTransform4fCFRC9CVector3f: +/* 80312A80 0030F9E0 C0 E2 C8 D4 */ lfs f7, lbl_805AE5F4@sda21(r2) +/* 80312A84 0030F9E4 E0 A4 80 08 */ psq_l f5, 8(r4), 1, qr0 +/* 80312A88 0030F9E8 E0 45 00 00 */ psq_l f2, 0(r5), 0, qr0 +/* 80312A8C 0030F9EC E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 +/* 80312A90 0030F9F0 10 A5 3C 20 */ ps_merge00 f5, f5, f7 +/* 80312A94 0030F9F4 E0 65 80 08 */ psq_l f3, 8(r5), 1, qr0 +/* 80312A98 0030F9F8 10 04 00 B2 */ ps_mul f0, f4, f2 +/* 80312A9C 0030F9FC E0 84 00 10 */ psq_l f4, 16(r4), 0, qr0 +/* 80312AA0 0030FA00 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) +/* 80312AA4 0030FA04 10 24 00 B2 */ ps_mul f1, f4, f2 +/* 80312AA8 0030FA08 E0 84 00 20 */ psq_l f4, 32(r4), 0, qr0 +/* 80312AAC 0030FA0C 10 05 00 FA */ ps_madd f0, f5, f3, f0 +/* 80312AB0 0030FA10 E0 A4 80 18 */ psq_l f5, 24(r4), 1, qr0 +/* 80312AB4 0030FA14 10 44 00 B2 */ ps_mul f2, f4, f2 +/* 80312AB8 0030FA18 10 A5 3C 20 */ ps_merge00 f5, f5, f7 +/* 80312ABC 0030FA1C 10 06 00 1E */ ps_madds1 f0, f6, f0, f0 +/* 80312AC0 0030FA20 10 25 08 FA */ ps_madd f1, f5, f3, f1 +/* 80312AC4 0030FA24 E0 A4 80 28 */ psq_l f5, 40(r4), 1, qr0 +/* 80312AC8 0030FA28 10 A5 3C 20 */ ps_merge00 f5, f5, f7 +/* 80312ACC 0030FA2C D0 03 00 00 */ stfs f0, 0(r3) +/* 80312AD0 0030FA30 10 26 08 5E */ ps_madds1 f1, f6, f1, f1 +/* 80312AD4 0030FA34 10 45 10 FA */ ps_madd f2, f5, f3, f2 +/* 80312AD8 0030FA38 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312ADC 0030FA3C 10 46 10 9E */ ps_madds1 f2, f6, f2, f2 +/* 80312AE0 0030FA40 D0 43 00 08 */ stfs f2, 8(r3) +/* 80312AE4 0030FA44 4E 80 00 20 */ blr + +.global __ml__12CTransform4fCFRC9CVector3f +__ml__12CTransform4fCFRC9CVector3f: +/* 80312AE8 0030FA48 E0 45 00 00 */ psq_l f2, 0(r5), 0, qr0 +/* 80312AEC 0030FA4C E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 +/* 80312AF0 0030FA50 E0 65 80 08 */ psq_l f3, 8(r5), 1, qr0 +/* 80312AF4 0030FA54 10 04 00 B2 */ ps_mul f0, f4, f2 +/* 80312AF8 0030FA58 E0 84 00 10 */ psq_l f4, 16(r4), 0, qr0 +/* 80312AFC 0030FA5C E0 A4 00 08 */ psq_l f5, 8(r4), 0, qr0 +/* 80312B00 0030FA60 10 24 00 B2 */ ps_mul f1, f4, f2 +/* 80312B04 0030FA64 E0 84 00 20 */ psq_l f4, 32(r4), 0, qr0 +/* 80312B08 0030FA68 10 05 00 FA */ ps_madd f0, f5, f3, f0 +/* 80312B0C 0030FA6C E0 A4 00 18 */ psq_l f5, 24(r4), 0, qr0 +/* 80312B10 0030FA70 10 44 00 B2 */ ps_mul f2, f4, f2 +/* 80312B14 0030FA74 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) +/* 80312B18 0030FA78 10 25 08 FA */ ps_madd f1, f5, f3, f1 +/* 80312B1C 0030FA7C E0 A4 00 28 */ psq_l f5, 40(r4), 0, qr0 +/* 80312B20 0030FA80 10 06 00 1E */ ps_madds1 f0, f6, f0, f0 +/* 80312B24 0030FA84 10 45 10 FA */ ps_madd f2, f5, f3, f2 +/* 80312B28 0030FA88 10 26 08 5E */ ps_madds1 f1, f6, f1, f1 +/* 80312B2C 0030FA8C D0 03 00 00 */ stfs f0, 0(r3) +/* 80312B30 0030FA90 10 46 10 9E */ ps_madds1 f2, f6, f2, f2 +/* 80312B34 0030FA94 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312B38 0030FA98 D0 43 00 08 */ stfs f2, 8(r3) +/* 80312B3C 0030FA9C 4E 80 00 20 */ blr + +.global __as__12CTransform4fFRC12CTransform4f +__as__12CTransform4fFRC12CTransform4f: +/* 80312B40 0030FAA0 C8 04 00 00 */ lfd f0, 0(r4) +/* 80312B44 0030FAA4 C8 24 00 08 */ lfd f1, 8(r4) +/* 80312B48 0030FAA8 C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80312B4C 0030FAAC D8 03 00 00 */ stfd f0, 0(r3) +/* 80312B50 0030FAB0 D8 23 00 08 */ stfd f1, 8(r3) +/* 80312B54 0030FAB4 D8 43 00 10 */ stfd f2, 0x10(r3) +/* 80312B58 0030FAB8 C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80312B5C 0030FABC C8 24 00 20 */ lfd f1, 0x20(r4) +/* 80312B60 0030FAC0 C8 44 00 28 */ lfd f2, 0x28(r4) +/* 80312B64 0030FAC4 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 80312B68 0030FAC8 D8 23 00 20 */ stfd f1, 0x20(r3) +/* 80312B6C 0030FACC D8 43 00 28 */ stfd f2, 0x28(r3) +/* 80312B70 0030FAD0 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFRC12CTransform4f +__ct__12CTransform4fFRC12CTransform4f: +/* 80312B74 0030FAD4 C8 04 00 00 */ lfd f0, 0(r4) +/* 80312B78 0030FAD8 C8 24 00 08 */ lfd f1, 8(r4) +/* 80312B7C 0030FADC C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80312B80 0030FAE0 D8 03 00 00 */ stfd f0, 0(r3) +/* 80312B84 0030FAE4 D8 23 00 08 */ stfd f1, 8(r3) +/* 80312B88 0030FAE8 D8 43 00 10 */ stfd f2, 0x10(r3) +/* 80312B8C 0030FAEC C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80312B90 0030FAF0 C8 24 00 20 */ lfd f1, 0x20(r4) +/* 80312B94 0030FAF4 C8 44 00 28 */ lfd f2, 0x28(r4) +/* 80312B98 0030FAF8 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 80312B9C 0030FAFC D8 23 00 20 */ stfd f1, 0x20(r3) +/* 80312BA0 0030FB00 D8 43 00 28 */ stfd f2, 0x28(r3) +/* 80312BA4 0030FB04 4E 80 00 20 */ blr + +.global SetRotation__12CTransform4fFRC12CTransform4f +SetRotation__12CTransform4fFRC12CTransform4f: +/* 80312BA8 0030FB08 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312BAC 0030FB0C D0 03 00 00 */ stfs f0, 0(r3) +/* 80312BB0 0030FB10 C0 04 00 04 */ lfs f0, 4(r4) +/* 80312BB4 0030FB14 D0 03 00 04 */ stfs f0, 4(r3) +/* 80312BB8 0030FB18 C0 04 00 08 */ lfs f0, 8(r4) +/* 80312BBC 0030FB1C D0 03 00 08 */ stfs f0, 8(r3) +/* 80312BC0 0030FB20 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80312BC4 0030FB24 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312BC8 0030FB28 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80312BCC 0030FB2C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80312BD0 0030FB30 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312BD4 0030FB34 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80312BD8 0030FB38 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80312BDC 0030FB3C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312BE0 0030FB40 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80312BE4 0030FB44 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80312BE8 0030FB48 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80312BEC 0030FB4C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312BF0 0030FB50 4E 80 00 20 */ blr + +.global SetRotation__12CTransform4fFRC9CMatrix3f +SetRotation__12CTransform4fFRC9CMatrix3f: +/* 80312BF4 0030FB54 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312BF8 0030FB58 D0 03 00 00 */ stfs f0, 0(r3) +/* 80312BFC 0030FB5C C0 04 00 04 */ lfs f0, 4(r4) +/* 80312C00 0030FB60 D0 03 00 04 */ stfs f0, 4(r3) +/* 80312C04 0030FB64 C0 04 00 08 */ lfs f0, 8(r4) +/* 80312C08 0030FB68 D0 03 00 08 */ stfs f0, 8(r3) +/* 80312C0C 0030FB6C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80312C10 0030FB70 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312C14 0030FB74 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80312C18 0030FB78 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80312C1C 0030FB7C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80312C20 0030FB80 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80312C24 0030FB84 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312C28 0030FB88 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312C2C 0030FB8C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80312C30 0030FB90 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80312C34 0030FB94 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80312C38 0030FB98 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312C3C 0030FB9C 4E 80 00 20 */ blr + +.global GetRotation__12CTransform4fCFv +GetRotation__12CTransform4fCFv: +/* 80312C40 0030FBA0 C1 24 00 28 */ lfs f9, 0x28(r4) +/* 80312C44 0030FBA4 C1 04 00 24 */ lfs f8, 0x24(r4) +/* 80312C48 0030FBA8 C0 E4 00 20 */ lfs f7, 0x20(r4) +/* 80312C4C 0030FBAC C0 C4 00 18 */ lfs f6, 0x18(r4) +/* 80312C50 0030FBB0 C0 A4 00 14 */ lfs f5, 0x14(r4) +/* 80312C54 0030FBB4 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 80312C58 0030FBB8 C0 64 00 08 */ lfs f3, 8(r4) +/* 80312C5C 0030FBBC C0 44 00 04 */ lfs f2, 4(r4) +/* 80312C60 0030FBC0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80312C64 0030FBC4 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80312C68 0030FBC8 D0 23 00 00 */ stfs f1, 0(r3) +/* 80312C6C 0030FBCC D0 43 00 04 */ stfs f2, 4(r3) +/* 80312C70 0030FBD0 D0 63 00 08 */ stfs f3, 8(r3) +/* 80312C74 0030FBD4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80312C78 0030FBD8 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 80312C7C 0030FBDC D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 80312C80 0030FBE0 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80312C84 0030FBE4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80312C88 0030FBE8 D0 E3 00 20 */ stfs f7, 0x20(r3) +/* 80312C8C 0030FBEC D1 03 00 24 */ stfs f8, 0x24(r3) +/* 80312C90 0030FBF0 D1 23 00 28 */ stfs f9, 0x28(r3) +/* 80312C94 0030FBF4 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80312C98 0030FBF8 4E 80 00 20 */ blr + +.global GetQuickInverse__12CTransform4fCFv +GetQuickInverse__12CTransform4fCFv: +/* 80312C9C 0030FBFC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80312CA0 0030FC00 C1 64 00 10 */ lfs f11, 0x10(r4) +/* 80312CA4 0030FC04 C0 64 00 1C */ lfs f3, 0x1c(r4) +/* 80312CA8 0030FC08 FC 80 00 50 */ fneg f4, f0 +/* 80312CAC 0030FC0C C1 04 00 14 */ lfs f8, 0x14(r4) +/* 80312CB0 0030FC10 C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80312CB4 0030FC14 EC 4B 00 F2 */ fmuls f2, f11, f3 +/* 80312CB8 0030FC18 C1 84 00 00 */ lfs f12, 0(r4) +/* 80312CBC 0030FC1C EC 28 00 F2 */ fmuls f1, f8, f3 +/* 80312CC0 0030FC20 C1 24 00 04 */ lfs f9, 4(r4) +/* 80312CC4 0030FC24 EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80312CC8 0030FC28 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80312CCC 0030FC2C C1 44 00 20 */ lfs f10, 0x20(r4) +/* 80312CD0 0030FC30 EC 4C 11 38 */ fmsubs f2, f12, f4, f2 +/* 80312CD4 0030FC34 C0 64 00 2C */ lfs f3, 0x2c(r4) +/* 80312CD8 0030FC38 EC 29 09 38 */ fmsubs f1, f9, f4, f1 +/* 80312CDC 0030FC3C C0 E4 00 24 */ lfs f7, 0x24(r4) +/* 80312CE0 0030FC40 EC 06 01 38 */ fmsubs f0, f6, f4, f0 +/* 80312CE4 0030FC44 C0 84 00 28 */ lfs f4, 0x28(r4) +/* 80312CE8 0030FC48 EC 4A 10 FC */ fnmsubs f2, f10, f3, f2 +/* 80312CEC 0030FC4C D1 83 00 00 */ stfs f12, 0(r3) +/* 80312CF0 0030FC50 EC 27 08 FC */ fnmsubs f1, f7, f3, f1 +/* 80312CF4 0030FC54 EC 04 00 FC */ fnmsubs f0, f4, f3, f0 +/* 80312CF8 0030FC58 D1 63 00 04 */ stfs f11, 4(r3) +/* 80312CFC 0030FC5C D1 43 00 08 */ stfs f10, 8(r3) +/* 80312D00 0030FC60 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80312D04 0030FC64 D1 23 00 10 */ stfs f9, 0x10(r3) +/* 80312D08 0030FC68 D1 03 00 14 */ stfs f8, 0x14(r3) +/* 80312D0C 0030FC6C D0 E3 00 18 */ stfs f7, 0x18(r3) +/* 80312D10 0030FC70 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80312D14 0030FC74 D0 C3 00 20 */ stfs f6, 0x20(r3) +/* 80312D18 0030FC78 D0 A3 00 24 */ stfs f5, 0x24(r3) +/* 80312D1C 0030FC7C D0 83 00 28 */ stfs f4, 0x28(r3) +/* 80312D20 0030FC80 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80312D24 0030FC84 4E 80 00 20 */ blr + +.global sub_80312d28 +sub_80312d28: +/* 80312D28 0030FC88 C0 23 00 00 */ lfs f1, 0(r3) +/* 80312D2C 0030FC8C 38 00 00 00 */ li r0, 0 +/* 80312D30 0030FC90 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312D34 0030FC94 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D38 0030FC98 40 82 00 B8 */ bne lbl_80312DF0 +/* 80312D3C 0030FC9C C0 23 00 04 */ lfs f1, 4(r3) +/* 80312D40 0030FCA0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80312D44 0030FCA4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D48 0030FCA8 40 82 00 A8 */ bne lbl_80312DF0 +/* 80312D4C 0030FCAC C0 23 00 08 */ lfs f1, 8(r3) +/* 80312D50 0030FCB0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80312D54 0030FCB4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D58 0030FCB8 40 82 00 98 */ bne lbl_80312DF0 +/* 80312D5C 0030FCBC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80312D60 0030FCC0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80312D64 0030FCC4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D68 0030FCC8 40 82 00 88 */ bne lbl_80312DF0 +/* 80312D6C 0030FCCC C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80312D70 0030FCD0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80312D74 0030FCD4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D78 0030FCD8 40 82 00 78 */ bne lbl_80312DF0 +/* 80312D7C 0030FCDC C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80312D80 0030FCE0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80312D84 0030FCE4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D88 0030FCE8 40 82 00 68 */ bne lbl_80312DF0 +/* 80312D8C 0030FCEC C0 23 00 18 */ lfs f1, 0x18(r3) +/* 80312D90 0030FCF0 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312D94 0030FCF4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D98 0030FCF8 40 82 00 58 */ bne lbl_80312DF0 +/* 80312D9C 0030FCFC C0 23 00 1C */ lfs f1, 0x1c(r3) +/* 80312DA0 0030FD00 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80312DA4 0030FD04 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DA8 0030FD08 40 82 00 48 */ bne lbl_80312DF0 +/* 80312DAC 0030FD0C C0 23 00 20 */ lfs f1, 0x20(r3) +/* 80312DB0 0030FD10 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80312DB4 0030FD14 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DB8 0030FD18 40 82 00 38 */ bne lbl_80312DF0 +/* 80312DBC 0030FD1C C0 23 00 24 */ lfs f1, 0x24(r3) +/* 80312DC0 0030FD20 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80312DC4 0030FD24 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DC8 0030FD28 40 82 00 28 */ bne lbl_80312DF0 +/* 80312DCC 0030FD2C C0 23 00 28 */ lfs f1, 0x28(r3) +/* 80312DD0 0030FD30 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80312DD4 0030FD34 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DD8 0030FD38 40 82 00 18 */ bne lbl_80312DF0 +/* 80312DDC 0030FD3C C0 23 00 2C */ lfs f1, 0x2c(r3) +/* 80312DE0 0030FD40 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80312DE4 0030FD44 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DE8 0030FD48 40 82 00 08 */ bne lbl_80312DF0 +/* 80312DEC 0030FD4C 38 00 00 01 */ li r0, 1 +lbl_80312DF0: +/* 80312DF0 0030FD50 7C 03 03 78 */ mr r3, r0 +/* 80312DF4 0030FD54 4E 80 00 20 */ blr + +.global FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 80312DF8 0030FD58 C0 27 00 08 */ lfs f1, 8(r7) +/* 80312DFC 0030FD5C C0 46 00 08 */ lfs f2, 8(r6) +/* 80312E00 0030FD60 C0 66 00 04 */ lfs f3, 4(r6) +/* 80312E04 0030FD64 C0 86 00 00 */ lfs f4, 0(r6) +/* 80312E08 0030FD68 C0 A7 00 04 */ lfs f5, 4(r7) +/* 80312E0C 0030FD6C C0 C5 00 08 */ lfs f6, 8(r5) +/* 80312E10 0030FD70 C0 E5 00 04 */ lfs f7, 4(r5) +/* 80312E14 0030FD74 C1 05 00 00 */ lfs f8, 0(r5) +/* 80312E18 0030FD78 C1 27 00 00 */ lfs f9, 0(r7) +/* 80312E1C 0030FD7C C1 44 00 08 */ lfs f10, 8(r4) +/* 80312E20 0030FD80 C1 64 00 04 */ lfs f11, 4(r4) +/* 80312E24 0030FD84 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312E28 0030FD88 D0 03 00 00 */ stfs f0, 0(r3) +/* 80312E2C 0030FD8C D1 63 00 04 */ stfs f11, 4(r3) +/* 80312E30 0030FD90 D1 43 00 08 */ stfs f10, 8(r3) +/* 80312E34 0030FD94 D1 23 00 0C */ stfs f9, 0xc(r3) +/* 80312E38 0030FD98 D1 03 00 10 */ stfs f8, 0x10(r3) +/* 80312E3C 0030FD9C D0 E3 00 14 */ stfs f7, 0x14(r3) +/* 80312E40 0030FDA0 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80312E44 0030FDA4 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 80312E48 0030FDA8 D0 83 00 20 */ stfs f4, 0x20(r3) +/* 80312E4C 0030FDAC D0 63 00 24 */ stfs f3, 0x24(r3) +/* 80312E50 0030FDB0 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80312E54 0030FDB4 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 80312E58 0030FDB8 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +__ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0: +/* 80312E5C 0030FDBC C0 27 00 08 */ lfs f1, 8(r7) +/* 80312E60 0030FDC0 C0 46 00 08 */ lfs f2, 8(r6) +/* 80312E64 0030FDC4 C0 65 00 08 */ lfs f3, 8(r5) +/* 80312E68 0030FDC8 C0 84 00 08 */ lfs f4, 8(r4) +/* 80312E6C 0030FDCC C0 A7 00 04 */ lfs f5, 4(r7) +/* 80312E70 0030FDD0 C0 C6 00 04 */ lfs f6, 4(r6) +/* 80312E74 0030FDD4 C0 E5 00 04 */ lfs f7, 4(r5) +/* 80312E78 0030FDD8 C1 04 00 04 */ lfs f8, 4(r4) +/* 80312E7C 0030FDDC C1 27 00 00 */ lfs f9, 0(r7) +/* 80312E80 0030FDE0 C1 46 00 00 */ lfs f10, 0(r6) +/* 80312E84 0030FDE4 C1 65 00 00 */ lfs f11, 0(r5) +/* 80312E88 0030FDE8 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312E8C 0030FDEC D0 03 00 00 */ stfs f0, 0(r3) +/* 80312E90 0030FDF0 D1 63 00 04 */ stfs f11, 4(r3) +/* 80312E94 0030FDF4 D1 43 00 08 */ stfs f10, 8(r3) +/* 80312E98 0030FDF8 D1 23 00 0C */ stfs f9, 0xc(r3) +/* 80312E9C 0030FDFC D1 03 00 10 */ stfs f8, 0x10(r3) +/* 80312EA0 0030FE00 D0 E3 00 14 */ stfs f7, 0x14(r3) +/* 80312EA4 0030FE04 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80312EA8 0030FE08 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 80312EAC 0030FE0C D0 83 00 20 */ stfs f4, 0x20(r3) +/* 80312EB0 0030FE10 D0 63 00 24 */ stfs f3, 0x24(r3) +/* 80312EB4 0030FE14 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80312EB8 0030FE18 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 80312EBC 0030FE1C 4E 80 00 20 */ blr + +.global ScaleBy__12CTransform4fFf +ScaleBy__12CTransform4fFf: +/* 80312EC0 0030FE20 C0 03 00 00 */ lfs f0, 0(r3) +/* 80312EC4 0030FE24 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EC8 0030FE28 D0 03 00 00 */ stfs f0, 0(r3) +/* 80312ECC 0030FE2C C0 03 00 04 */ lfs f0, 4(r3) +/* 80312ED0 0030FE30 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312ED4 0030FE34 D0 03 00 04 */ stfs f0, 4(r3) +/* 80312ED8 0030FE38 C0 03 00 08 */ lfs f0, 8(r3) +/* 80312EDC 0030FE3C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EE0 0030FE40 D0 03 00 08 */ stfs f0, 8(r3) +/* 80312EE4 0030FE44 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80312EE8 0030FE48 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EEC 0030FE4C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312EF0 0030FE50 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80312EF4 0030FE54 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EF8 0030FE58 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80312EFC 0030FE5C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80312F00 0030FE60 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F04 0030FE64 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80312F08 0030FE68 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80312F0C 0030FE6C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F10 0030FE70 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312F14 0030FE74 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80312F18 0030FE78 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F1C 0030FE7C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80312F20 0030FE80 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80312F24 0030FE84 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F28 0030FE88 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312F2C 0030FE8C 4E 80 00 20 */ blr + +.global MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f: +/* 80312F30 0030FE90 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80312F34 0030FE94 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80312F38 0030FE98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80312F3C 0030FE9C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80312F40 0030FEA0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80312F44 0030FEA4 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80312F48 0030FEA8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80312F4C 0030FEAC DB 81 00 80 */ stfd f28, 0x80(r1) +/* 80312F50 0030FEB0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 80312F54 0030FEB4 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 80312F58 0030FEB8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 80312F5C 0030FEBC DB 41 00 60 */ stfd f26, 0x60(r1) +/* 80312F60 0030FEC0 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 80312F64 0030FEC4 DB 21 00 50 */ stfd f25, 0x50(r1) +/* 80312F68 0030FEC8 F3 21 00 58 */ psq_st f25, 88(r1), 0, qr0 +/* 80312F6C 0030FECC DB 01 00 40 */ stfd f24, 0x40(r1) +/* 80312F70 0030FED0 F3 01 00 48 */ psq_st f24, 72(r1), 0, qr0 +/* 80312F74 0030FED4 DA E1 00 30 */ stfd f23, 0x30(r1) +/* 80312F78 0030FED8 F2 E1 00 38 */ psq_st f23, 56(r1), 0, qr0 +/* 80312F7C 0030FEDC DA C1 00 20 */ stfd f22, 0x20(r1) +/* 80312F80 0030FEE0 F2 C1 00 28 */ psq_st f22, 40(r1), 0, qr0 +/* 80312F84 0030FEE4 DA A1 00 10 */ stfd f21, 0x10(r1) +/* 80312F88 0030FEE8 F2 A1 00 18 */ psq_st f21, 24(r1), 0, qr0 +/* 80312F8C 0030FEEC C1 25 00 10 */ lfs f9, 0x10(r5) +/* 80312F90 0030FEF0 C0 44 00 04 */ lfs f2, 4(r4) +/* 80312F94 0030FEF4 C2 C5 00 14 */ lfs f22, 0x14(r5) +/* 80312F98 0030FEF8 EC 22 02 72 */ fmuls f1, f2, f9 +/* 80312F9C 0030FEFC C1 45 00 00 */ lfs f10, 0(r5) +/* 80312FA0 0030FF00 C0 84 00 00 */ lfs f4, 0(r4) +/* 80312FA4 0030FF04 EC 02 05 B2 */ fmuls f0, f2, f22 +/* 80312FA8 0030FF08 C1 A5 00 18 */ lfs f13, 0x18(r5) +/* 80312FAC 0030FF0C C1 65 00 04 */ lfs f11, 4(r5) +/* 80312FB0 0030FF10 EC 24 0A BA */ fmadds f1, f4, f10, f1 +/* 80312FB4 0030FF14 C3 E5 00 20 */ lfs f31, 0x20(r5) +/* 80312FB8 0030FF18 C0 64 00 14 */ lfs f3, 0x14(r4) +/* 80312FBC 0030FF1C EC 42 03 72 */ fmuls f2, f2, f13 +/* 80312FC0 0030FF20 C0 A4 00 24 */ lfs f5, 0x24(r4) +/* 80312FC4 0030FF24 EC 04 02 FA */ fmadds f0, f4, f11, f0 +/* 80312FC8 0030FF28 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80312FCC 0030FF2C EF 23 02 72 */ fmuls f25, f3, f9 +/* 80312FD0 0030FF30 C1 85 00 08 */ lfs f12, 8(r5) +/* 80312FD4 0030FF34 EF 43 05 B2 */ fmuls f26, f3, f22 +/* 80312FD8 0030FF38 C1 04 00 10 */ lfs f8, 0x10(r4) +/* 80312FDC 0030FF3C EE E6 0F FA */ fmadds f23, f6, f31, f1 +/* 80312FE0 0030FF40 C3 C5 00 24 */ lfs f30, 0x24(r5) +/* 80312FE4 0030FF44 EE A3 03 72 */ fmuls f21, f3, f13 +/* 80312FE8 0030FF48 C3 A5 00 28 */ lfs f29, 0x28(r5) +/* 80312FEC 0030FF4C EC 24 13 3A */ fmadds f1, f4, f12, f2 +/* 80312FF0 0030FF50 C0 65 00 2C */ lfs f3, 0x2c(r5) +/* 80312FF4 0030FF54 C0 44 00 2C */ lfs f2, 0x2c(r4) +/* 80312FF8 0030FF58 EF 06 07 BA */ fmadds f24, f6, f30, f0 +/* 80312FFC 0030FF5C C0 E4 00 28 */ lfs f7, 0x28(r4) +/* 80313000 0030FF60 EC 86 0F 7A */ fmadds f4, f6, f29, f1 +/* 80313004 0030FF64 C0 C4 00 20 */ lfs f6, 0x20(r4) +/* 80313008 0030FF68 ED 25 02 72 */ fmuls f9, f5, f9 +/* 8031300C 0030FF6C EF 85 05 B2 */ fmuls f28, f5, f22 +/* 80313010 0030FF70 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 80313014 0030FF74 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80313018 0030FF78 EF 66 4A BA */ fmadds f27, f6, f10, f9 +/* 8031301C 0030FF7C C1 24 00 18 */ lfs f9, 0x18(r4) +/* 80313020 0030FF80 EF 28 CA BA */ fmadds f25, f8, f10, f25 +/* 80313024 0030FF84 ED 48 D2 FA */ fmadds f10, f8, f11, f26 +/* 80313028 0030FF88 C2 C5 00 0C */ lfs f22, 0xc(r5) +/* 8031302C 0030FF8C C3 44 00 0C */ lfs f26, 0xc(r4) +/* 80313030 0030FF90 ED 08 AB 3A */ fmadds f8, f8, f12, f21 +/* 80313034 0030FF94 D2 E3 00 00 */ stfs f23, 0(r3) +/* 80313038 0030FF98 ED A5 03 72 */ fmuls f13, f5, f13 +/* 8031303C 0030FF9C EC A6 E2 FA */ fmadds f5, f6, f11, f28 +/* 80313040 0030FFA0 D3 03 00 04 */ stfs f24, 4(r3) +/* 80313044 0030FFA4 EE B6 D0 2A */ fadds f21, f22, f26 +/* 80313048 0030FFA8 ED 66 6B 3A */ fmadds f11, f6, f12, f13 +/* 8031304C 0030FFAC D0 83 00 08 */ stfs f4, 8(r3) +/* 80313050 0030FFB0 EC C9 CF FA */ fmadds f6, f9, f31, f25 +/* 80313054 0030FFB4 EC 89 57 BA */ fmadds f4, f9, f30, f10 +/* 80313058 0030FFB8 D2 A3 00 0C */ stfs f21, 0xc(r3) +/* 8031305C 0030FFBC ED 09 47 7A */ fmadds f8, f9, f29, f8 +/* 80313060 0030FFC0 ED 21 00 2A */ fadds f9, f1, f0 +/* 80313064 0030FFC4 D0 C3 00 10 */ stfs f6, 0x10(r3) +/* 80313068 0030FFC8 EC 27 DF FA */ fmadds f1, f7, f31, f27 +/* 8031306C 0030FFCC EC 07 2F BA */ fmadds f0, f7, f30, f5 +/* 80313070 0030FFD0 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 80313074 0030FFD4 EC 87 5F 7A */ fmadds f4, f7, f29, f11 +/* 80313078 0030FFD8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031307C 0030FFDC D1 03 00 18 */ stfs f8, 0x18(r3) +/* 80313080 0030FFE0 D1 23 00 1C */ stfs f9, 0x1c(r3) +/* 80313084 0030FFE4 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 80313088 0030FFE8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031308C 0030FFEC D0 83 00 28 */ stfs f4, 0x28(r3) +/* 80313090 0030FFF0 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 80313094 0030FFF4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80313098 0030FFF8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8031309C 0030FFFC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 803130A0 00310000 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 803130A4 00310004 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 803130A8 00310008 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 803130AC 0031000C E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 803130B0 00310010 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 803130B4 00310014 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 803130B8 00310018 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 803130BC 0031001C E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 803130C0 00310020 CB 41 00 60 */ lfd f26, 0x60(r1) +/* 803130C4 00310024 E3 21 00 58 */ psq_l f25, 88(r1), 0, qr0 +/* 803130C8 00310028 CB 21 00 50 */ lfd f25, 0x50(r1) +/* 803130CC 0031002C E3 01 00 48 */ psq_l f24, 72(r1), 0, qr0 +/* 803130D0 00310030 CB 01 00 40 */ lfd f24, 0x40(r1) +/* 803130D4 00310034 E2 E1 00 38 */ psq_l f23, 56(r1), 0, qr0 +/* 803130D8 00310038 CA E1 00 30 */ lfd f23, 0x30(r1) +/* 803130DC 0031003C E2 C1 00 28 */ psq_l f22, 40(r1), 0, qr0 +/* 803130E0 00310040 CA C1 00 20 */ lfd f22, 0x20(r1) +/* 803130E4 00310044 E2 A1 00 18 */ psq_l f21, 24(r1), 0, qr0 +/* 803130E8 00310048 CA A1 00 10 */ lfd f21, 0x10(r1) +/* 803130EC 0031004C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 803130F0 00310050 4E 80 00 20 */ blr + +.global BuildMatrix3f__12CTransform4fCFv +BuildMatrix3f__12CTransform4fCFv: +/* 803130F4 00310054 C1 04 00 28 */ lfs f8, 0x28(r4) +/* 803130F8 00310058 C0 E4 00 24 */ lfs f7, 0x24(r4) +/* 803130FC 0031005C C0 C4 00 20 */ lfs f6, 0x20(r4) +/* 80313100 00310060 C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80313104 00310064 C0 84 00 14 */ lfs f4, 0x14(r4) +/* 80313108 00310068 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 8031310C 0031006C C0 44 00 08 */ lfs f2, 8(r4) +/* 80313110 00310070 C0 24 00 04 */ lfs f1, 4(r4) +/* 80313114 00310074 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313118 00310078 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031311C 0031007C D0 23 00 04 */ stfs f1, 4(r3) +/* 80313120 00310080 D0 43 00 08 */ stfs f2, 8(r3) +/* 80313124 00310084 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 80313128 00310088 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8031312C 0031008C D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 80313130 00310090 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80313134 00310094 D0 E3 00 1C */ stfs f7, 0x1c(r3) +/* 80313138 00310098 D1 03 00 20 */ stfs f8, 0x20(r3) +/* 8031313C 0031009C 4E 80 00 20 */ blr + +.global Translate__12CTransform4fFRC9CVector3f +Translate__12CTransform4fFRC9CVector3f: +/* 80313140 003100A0 C0 44 00 08 */ lfs f2, 8(r4) +/* 80313144 003100A4 C0 64 00 04 */ lfs f3, 4(r4) +/* 80313148 003100A8 C0 84 00 00 */ lfs f4, 0(r4) +/* 8031314C 003100AC C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313150 003100B0 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313154 003100B4 D0 23 00 00 */ stfs f1, 0(r3) +/* 80313158 003100B8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031315C 003100BC D0 03 00 08 */ stfs f0, 8(r3) +/* 80313160 003100C0 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80313164 003100C4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313168 003100C8 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8031316C 003100CC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313170 003100D0 D0 63 00 1C */ stfs f3, 0x1c(r3) +/* 80313174 003100D4 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313178 003100D8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031317C 003100DC D0 23 00 28 */ stfs f1, 0x28(r3) +/* 80313180 003100E0 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 80313184 003100E4 4E 80 00 20 */ blr + +.global Translate__12CTransform4fFfff +Translate__12CTransform4fFfff: +/* 80313188 003100E8 C0 82 C8 D0 */ lfs f4, lbl_805AE5F0@sda21(r2) +/* 8031318C 003100EC C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313190 003100F0 D0 83 00 00 */ stfs f4, 0(r3) +/* 80313194 003100F4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313198 003100F8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8031319C 003100FC D0 23 00 0C */ stfs f1, 0xc(r3) +/* 803131A0 00310100 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803131A4 00310104 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 803131A8 00310108 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803131AC 0031010C D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 803131B0 00310110 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803131B4 00310114 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 803131B8 00310118 D0 83 00 28 */ stfs f4, 0x28(r3) +/* 803131BC 0031011C D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 803131C0 00310120 4E 80 00 20 */ blr + +.global Scale__12CTransform4fFRC9CVector3f +Scale__12CTransform4fFRC9CVector3f: +/* 803131C4 00310124 C0 44 00 08 */ lfs f2, 8(r4) +/* 803131C8 00310128 C0 64 00 04 */ lfs f3, 4(r4) +/* 803131CC 0031012C C0 24 00 00 */ lfs f1, 0(r4) +/* 803131D0 00310130 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 803131D4 00310134 D0 23 00 00 */ stfs f1, 0(r3) +/* 803131D8 00310138 D0 03 00 04 */ stfs f0, 4(r3) +/* 803131DC 0031013C D0 03 00 08 */ stfs f0, 8(r3) +/* 803131E0 00310140 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 803131E4 00310144 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803131E8 00310148 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 803131EC 0031014C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803131F0 00310150 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803131F4 00310154 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803131F8 00310158 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 803131FC 0031015C D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80313200 00310160 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80313204 00310164 4E 80 00 20 */ blr + +.global Scale__12CTransform4fFfff +Scale__12CTransform4fFfff: +/* 80313208 00310168 D0 23 00 00 */ stfs f1, 0(r3) +/* 8031320C 0031016C C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313210 00310170 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313214 00310174 D0 03 00 08 */ stfs f0, 8(r3) +/* 80313218 00310178 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031321C 0031017C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313220 00310180 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80313224 00310184 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313228 00310188 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8031322C 0031018C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313230 00310190 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80313234 00310194 D0 63 00 28 */ stfs f3, 0x28(r3) +/* 80313238 00310198 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8031323C 0031019C 4E 80 00 20 */ blr + +.global Scale__12CTransform4fFf +Scale__12CTransform4fFf: +/* 80313240 003101A0 D0 23 00 00 */ stfs f1, 0(r3) +/* 80313244 003101A4 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313248 003101A8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031324C 003101AC D0 03 00 08 */ stfs f0, 8(r3) +/* 80313250 003101B0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80313254 003101B4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313258 003101B8 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8031325C 003101BC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313260 003101C0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80313264 003101C4 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313268 003101C8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031326C 003101CC D0 23 00 28 */ stfs f1, 0x28(r3) +/* 80313270 003101D0 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80313274 003101D4 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +__ct__12CTransform4fFRC9CMatrix3fRC9CVector3f: +/* 80313278 003101D8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031327C 003101DC D0 03 00 00 */ stfs f0, 0(r3) +/* 80313280 003101E0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313284 003101E4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313288 003101E8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031328C 003101EC D0 03 00 08 */ stfs f0, 8(r3) +/* 80313290 003101F0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80313294 003101F4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80313298 003101F8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8031329C 003101FC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803132A0 00310200 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 803132A4 00310204 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803132A8 00310208 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 803132AC 0031020C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803132B0 00310210 C0 05 00 04 */ lfs f0, 4(r5) +/* 803132B4 00310214 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803132B8 00310218 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 803132BC 0031021C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803132C0 00310220 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 803132C4 00310224 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 803132C8 00310228 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 803132CC 0031022C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 803132D0 00310230 C0 05 00 08 */ lfs f0, 8(r5) +/* 803132D4 00310234 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 803132D8 00310238 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFR12CInputStream +__ct__12CTransform4fFR12CInputStream: +/* 803132DC 0031023C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803132E0 00310240 7C 08 02 A6 */ mflr r0 +/* 803132E4 00310244 90 01 00 14 */ stw r0, 0x14(r1) +/* 803132E8 00310248 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803132EC 0031024C 7C 9F 23 78 */ mr r31, r4 +/* 803132F0 00310250 93 C1 00 08 */ stw r30, 8(r1) +/* 803132F4 00310254 7C 7E 1B 78 */ mr r30, r3 +/* 803132F8 00310258 7F E3 FB 78 */ mr r3, r31 +/* 803132FC 0031025C 48 02 B9 2D */ bl ReadFloat__12CInputStreamFv +/* 80313300 00310260 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80313304 00310264 7F E3 FB 78 */ mr r3, r31 +/* 80313308 00310268 48 02 B9 21 */ bl ReadFloat__12CInputStreamFv +/* 8031330C 0031026C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80313310 00310270 7F E3 FB 78 */ mr r3, r31 +/* 80313314 00310274 48 02 B9 15 */ bl ReadFloat__12CInputStreamFv +/* 80313318 00310278 D0 3E 00 08 */ stfs f1, 8(r30) +/* 8031331C 0031027C 7F E3 FB 78 */ mr r3, r31 +/* 80313320 00310280 48 02 B9 09 */ bl ReadFloat__12CInputStreamFv +/* 80313324 00310284 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80313328 00310288 7F E3 FB 78 */ mr r3, r31 +/* 8031332C 0031028C 48 02 B8 FD */ bl ReadFloat__12CInputStreamFv +/* 80313330 00310290 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80313334 00310294 7F E3 FB 78 */ mr r3, r31 +/* 80313338 00310298 48 02 B8 F1 */ bl ReadFloat__12CInputStreamFv +/* 8031333C 0031029C D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80313340 003102A0 7F E3 FB 78 */ mr r3, r31 +/* 80313344 003102A4 48 02 B8 E5 */ bl ReadFloat__12CInputStreamFv +/* 80313348 003102A8 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 8031334C 003102AC 7F E3 FB 78 */ mr r3, r31 +/* 80313350 003102B0 48 02 B8 D9 */ bl ReadFloat__12CInputStreamFv +/* 80313354 003102B4 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80313358 003102B8 7F E3 FB 78 */ mr r3, r31 +/* 8031335C 003102BC 48 02 B8 CD */ bl ReadFloat__12CInputStreamFv +/* 80313360 003102C0 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 80313364 003102C4 7F E3 FB 78 */ mr r3, r31 +/* 80313368 003102C8 48 02 B8 C1 */ bl ReadFloat__12CInputStreamFv +/* 8031336C 003102CC D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80313370 003102D0 7F E3 FB 78 */ mr r3, r31 +/* 80313374 003102D4 48 02 B8 B5 */ bl ReadFloat__12CInputStreamFv +/* 80313378 003102D8 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 8031337C 003102DC 7F E3 FB 78 */ mr r3, r31 +/* 80313380 003102E0 48 02 B8 A9 */ bl ReadFloat__12CInputStreamFv +/* 80313384 003102E4 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 80313388 003102E8 7F C3 F3 78 */ mr r3, r30 +/* 8031338C 003102EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313390 003102F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313394 003102F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80313398 003102F8 7C 08 03 A6 */ mtlr r0 +/* 8031339C 003102FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803133A0 00310300 4E 80 00 20 */ blr + +.global Orthonormalize__12CTransform4fFv +Orthonormalize__12CTransform4fFv: +/* 803133A4 00310304 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 803133A8 00310308 7C 08 02 A6 */ mflr r0 +/* 803133AC 0031030C 90 01 00 84 */ stw r0, 0x84(r1) +/* 803133B0 00310310 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 803133B4 00310314 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 803133B8 00310318 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 803133BC 0031031C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 803133C0 00310320 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 803133C4 00310324 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 803133C8 00310328 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 803133CC 0031032C 7C 7F 1B 78 */ mr r31, r3 +/* 803133D0 00310330 38 61 00 2C */ addi r3, r1, 0x2c +/* 803133D4 00310334 C0 5F 00 20 */ lfs f2, 0x20(r31) +/* 803133D8 00310338 38 81 00 20 */ addi r4, r1, 0x20 +/* 803133DC 0031033C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 803133E0 00310340 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803133E4 00310344 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803133E8 00310348 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 803133EC 0031034C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 803133F0 00310350 48 00 14 61 */ bl AsNormalized__9CVector3fCFv +/* 803133F4 00310354 C0 BF 00 24 */ lfs f5, 0x24(r31) +/* 803133F8 00310358 38 61 00 08 */ addi r3, r1, 8 +/* 803133FC 0031035C C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 80313400 00310360 38 81 00 38 */ addi r4, r1, 0x38 +/* 80313404 00310364 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 80313408 00310368 C3 C1 00 34 */ lfs f30, 0x34(r1) +/* 8031340C 0031036C EC 05 07 72 */ fmuls f0, f5, f29 +/* 80313410 00310370 C0 7F 00 04 */ lfs f3, 4(r31) +/* 80313414 00310374 C3 E1 00 30 */ lfs f31, 0x30(r1) +/* 80313418 00310378 EC 44 07 B2 */ fmuls f2, f4, f30 +/* 8031341C 0031037C EC 3E 00 F8 */ fmsubs f1, f30, f3, f0 +/* 80313420 00310380 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80313424 00310384 EC 03 07 F2 */ fmuls f0, f3, f31 +/* 80313428 00310388 EC 5F 11 78 */ fmsubs f2, f31, f5, f2 +/* 8031342C 0031038C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80313430 00310390 EC 1D 01 38 */ fmsubs f0, f29, f4, f0 +/* 80313434 00310394 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80313438 00310398 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8031343C 0031039C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80313440 003103A0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80313444 003103A4 48 00 14 0D */ bl AsNormalized__9CVector3fCFv +/* 80313448 003103A8 C0 A1 00 08 */ lfs f5, 8(r1) +/* 8031344C 003103AC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80313450 003103B0 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 80313454 003103B4 EC 3E 01 72 */ fmuls f1, f30, f5 +/* 80313458 003103B8 EC 1D 00 F2 */ fmuls f0, f29, f3 +/* 8031345C 003103BC D3 BF 00 00 */ stfs f29, 0(r31) +/* 80313460 003103C0 EC 5F 01 32 */ fmuls f2, f31, f4 +/* 80313464 003103C4 EC 24 0F 78 */ fmsubs f1, f4, f29, f1 +/* 80313468 003103C8 D3 FF 00 10 */ stfs f31, 0x10(r31) +/* 8031346C 003103CC EC 05 07 F8 */ fmsubs f0, f5, f31, f0 +/* 80313470 003103D0 EC 43 17 B8 */ fmsubs f2, f3, f30, f2 +/* 80313474 003103D4 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 80313478 003103D8 D0 5F 00 04 */ stfs f2, 4(r31) +/* 8031347C 003103DC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80313480 003103E0 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80313484 003103E4 D0 BF 00 08 */ stfs f5, 8(r31) +/* 80313488 003103E8 D0 7F 00 18 */ stfs f3, 0x18(r31) +/* 8031348C 003103EC D0 9F 00 28 */ stfs f4, 0x28(r31) +/* 80313490 003103F0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80313494 003103F4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80313498 003103F8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8031349C 003103FC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 803134A0 00310400 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 803134A4 00310404 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 803134A8 00310408 80 01 00 84 */ lwz r0, 0x84(r1) +/* 803134AC 0031040C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 803134B0 00310410 7C 08 03 A6 */ mtlr r0 +/* 803134B4 00310414 38 21 00 80 */ addi r1, r1, 0x80 +/* 803134B8 00310418 4E 80 00 20 */ blr + +.global RotateLocalZ__12CTransform4fFRC9CRelAngle +RotateLocalZ__12CTransform4fFRC9CRelAngle: +/* 803134BC 0031041C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803134C0 00310420 7C 08 02 A6 */ mflr r0 +/* 803134C4 00310424 90 01 00 24 */ stw r0, 0x24(r1) +/* 803134C8 00310428 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803134CC 0031042C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803134D0 00310430 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803134D4 00310434 93 C1 00 08 */ stw r30, 8(r1) +/* 803134D8 00310438 7C 9F 23 78 */ mr r31, r4 +/* 803134DC 0031043C 7C 7E 1B 78 */ mr r30, r3 +/* 803134E0 00310440 C0 24 00 00 */ lfs f1, 0(r4) +/* 803134E4 00310444 48 08 15 F9 */ bl sin +/* 803134E8 00310448 FF E0 08 18 */ frsp f31, f1 +/* 803134EC 0031044C C0 3F 00 00 */ lfs f1, 0(r31) +/* 803134F0 00310450 48 08 0F 01 */ bl cos +/* 803134F4 00310454 FC 20 08 18 */ frsp f1, f1 +/* 803134F8 00310458 C0 1E 00 00 */ lfs f0, 0(r30) +/* 803134FC 0031045C C0 5E 00 00 */ lfs f2, 0(r30) +/* 80313500 00310460 C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 80313504 00310464 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313508 00310468 C0 9E 00 20 */ lfs f4, 0x20(r30) +/* 8031350C 0031046C C0 BE 00 04 */ lfs f5, 4(r30) +/* 80313510 00310470 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80313514 00310474 C0 DE 00 14 */ lfs f6, 0x14(r30) +/* 80313518 00310478 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 8031351C 0031047C C0 FE 00 24 */ lfs f7, 0x24(r30) +/* 80313520 00310480 EC A5 07 F2 */ fmuls f5, f5, f31 +/* 80313524 00310484 EC C6 07 F2 */ fmuls f6, f6, f31 +/* 80313528 00310488 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8031352C 0031048C EC E7 07 F2 */ fmuls f7, f7, f31 +/* 80313530 00310490 EC 84 07 F2 */ fmuls f4, f4, f31 +/* 80313534 00310494 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80313538 00310498 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031353C 0031049C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 80313540 003104A0 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80313544 003104A4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313548 003104A8 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031354C 003104AC C0 1E 00 04 */ lfs f0, 4(r30) +/* 80313550 003104B0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313554 003104B4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80313558 003104B8 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8031355C 003104BC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313560 003104C0 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 80313564 003104C4 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80313568 003104C8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031356C 003104CC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80313570 003104D0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80313574 003104D4 EC 00 28 2A */ fadds f0, f0, f5 +/* 80313578 003104D8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8031357C 003104DC C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80313580 003104E0 EC 00 30 2A */ fadds f0, f0, f6 +/* 80313584 003104E4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 80313588 003104E8 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 8031358C 003104EC EC 00 38 2A */ fadds f0, f0, f7 +/* 80313590 003104F0 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80313594 003104F4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80313598 003104F8 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031359C 003104FC D0 1E 00 04 */ stfs f0, 4(r30) +/* 803135A0 00310500 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 803135A4 00310504 EC 00 18 28 */ fsubs f0, f0, f3 +/* 803135A8 00310508 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 803135AC 0031050C C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 803135B0 00310510 EC 00 20 28 */ fsubs f0, f0, f4 +/* 803135B4 00310514 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803135B8 00310518 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803135BC 0031051C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803135C0 00310520 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803135C4 00310524 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803135C8 00310528 83 C1 00 08 */ lwz r30, 8(r1) +/* 803135CC 0031052C 7C 08 03 A6 */ mtlr r0 +/* 803135D0 00310530 38 21 00 20 */ addi r1, r1, 0x20 +/* 803135D4 00310534 4E 80 00 20 */ blr + +.global RotateLocalY__12CTransform4fFRC9CRelAngle +RotateLocalY__12CTransform4fFRC9CRelAngle: +/* 803135D8 00310538 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803135DC 0031053C 7C 08 02 A6 */ mflr r0 +/* 803135E0 00310540 90 01 00 24 */ stw r0, 0x24(r1) +/* 803135E4 00310544 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803135E8 00310548 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803135EC 0031054C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803135F0 00310550 93 C1 00 08 */ stw r30, 8(r1) +/* 803135F4 00310554 7C 9F 23 78 */ mr r31, r4 +/* 803135F8 00310558 7C 7E 1B 78 */ mr r30, r3 +/* 803135FC 0031055C C0 24 00 00 */ lfs f1, 0(r4) +/* 80313600 00310560 48 08 14 DD */ bl sin +/* 80313604 00310564 FF E0 08 18 */ frsp f31, f1 +/* 80313608 00310568 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8031360C 0031056C 48 08 0D E5 */ bl cos +/* 80313610 00310570 FC 20 08 18 */ frsp f1, f1 +/* 80313614 00310574 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80313618 00310578 C0 5E 00 00 */ lfs f2, 0(r30) +/* 8031361C 0031057C C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 80313620 00310580 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313624 00310584 C0 9E 00 20 */ lfs f4, 0x20(r30) +/* 80313628 00310588 C0 BE 00 08 */ lfs f5, 8(r30) +/* 8031362C 0031058C EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80313630 00310590 C0 DE 00 18 */ lfs f6, 0x18(r30) +/* 80313634 00310594 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 80313638 00310598 C0 FE 00 28 */ lfs f7, 0x28(r30) +/* 8031363C 0031059C EC A5 07 F2 */ fmuls f5, f5, f31 +/* 80313640 003105A0 EC C6 07 F2 */ fmuls f6, f6, f31 +/* 80313644 003105A4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80313648 003105A8 EC E7 07 F2 */ fmuls f7, f7, f31 +/* 8031364C 003105AC EC 84 07 F2 */ fmuls f4, f4, f31 +/* 80313650 003105B0 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80313654 003105B4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313658 003105B8 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8031365C 003105BC C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80313660 003105C0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313664 003105C4 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80313668 003105C8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031366C 003105CC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313670 003105D0 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80313674 003105D4 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80313678 003105D8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031367C 003105DC D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80313680 003105E0 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 80313684 003105E4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313688 003105E8 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 8031368C 003105EC C0 1E 00 00 */ lfs f0, 0(r30) +/* 80313690 003105F0 EC 00 28 28 */ fsubs f0, f0, f5 +/* 80313694 003105F4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80313698 003105F8 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8031369C 003105FC EC 00 30 28 */ fsubs f0, f0, f6 +/* 803136A0 00310600 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 803136A4 00310604 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 803136A8 00310608 EC 00 38 28 */ fsubs f0, f0, f7 +/* 803136AC 0031060C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 803136B0 00310610 C0 1E 00 08 */ lfs f0, 8(r30) +/* 803136B4 00310614 EC 00 10 2A */ fadds f0, f0, f2 +/* 803136B8 00310618 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803136BC 0031061C C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 803136C0 00310620 EC 00 18 2A */ fadds f0, f0, f3 +/* 803136C4 00310624 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803136C8 00310628 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 803136CC 0031062C EC 00 20 2A */ fadds f0, f0, f4 +/* 803136D0 00310630 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803136D4 00310634 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803136D8 00310638 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803136DC 0031063C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803136E0 00310640 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803136E4 00310644 83 C1 00 08 */ lwz r30, 8(r1) +/* 803136E8 00310648 7C 08 03 A6 */ mtlr r0 +/* 803136EC 0031064C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803136F0 00310650 4E 80 00 20 */ blr + +.global RotateLocalX__12CTransform4fFRC9CRelAngle +RotateLocalX__12CTransform4fFRC9CRelAngle: +/* 803136F4 00310654 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803136F8 00310658 7C 08 02 A6 */ mflr r0 +/* 803136FC 0031065C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80313700 00310660 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80313704 00310664 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80313708 00310668 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031370C 0031066C 93 C1 00 08 */ stw r30, 8(r1) +/* 80313710 00310670 7C 9F 23 78 */ mr r31, r4 +/* 80313714 00310674 7C 7E 1B 78 */ mr r30, r3 +/* 80313718 00310678 C0 24 00 00 */ lfs f1, 0(r4) +/* 8031371C 0031067C 48 08 13 C1 */ bl sin +/* 80313720 00310680 FF E0 08 18 */ frsp f31, f1 +/* 80313724 00310684 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313728 00310688 48 08 0C C9 */ bl cos +/* 8031372C 0031068C FC 20 08 18 */ frsp f1, f1 +/* 80313730 00310690 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80313734 00310694 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80313738 00310698 C0 7E 00 14 */ lfs f3, 0x14(r30) +/* 8031373C 0031069C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313740 003106A0 C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 80313744 003106A4 C0 BE 00 08 */ lfs f5, 8(r30) +/* 80313748 003106A8 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 8031374C 003106AC C0 DE 00 18 */ lfs f6, 0x18(r30) +/* 80313750 003106B0 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 80313754 003106B4 C0 FE 00 28 */ lfs f7, 0x28(r30) +/* 80313758 003106B8 EC A5 07 F2 */ fmuls f5, f5, f31 +/* 8031375C 003106BC EC C6 07 F2 */ fmuls f6, f6, f31 +/* 80313760 003106C0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80313764 003106C4 EC E7 07 F2 */ fmuls f7, f7, f31 +/* 80313768 003106C8 EC 84 07 F2 */ fmuls f4, f4, f31 +/* 8031376C 003106CC C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80313770 003106D0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313774 003106D4 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 80313778 003106D8 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8031377C 003106DC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313780 003106E0 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80313784 003106E4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80313788 003106E8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031378C 003106EC D0 1E 00 08 */ stfs f0, 8(r30) +/* 80313790 003106F0 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80313794 003106F4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313798 003106F8 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8031379C 003106FC C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 803137A0 00310700 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803137A4 00310704 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803137A8 00310708 C0 1E 00 04 */ lfs f0, 4(r30) +/* 803137AC 0031070C EC 00 28 2A */ fadds f0, f0, f5 +/* 803137B0 00310710 D0 1E 00 04 */ stfs f0, 4(r30) +/* 803137B4 00310714 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 803137B8 00310718 EC 00 30 2A */ fadds f0, f0, f6 +/* 803137BC 0031071C D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 803137C0 00310720 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 803137C4 00310724 EC 00 38 2A */ fadds f0, f0, f7 +/* 803137C8 00310728 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803137CC 0031072C C0 1E 00 08 */ lfs f0, 8(r30) +/* 803137D0 00310730 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803137D4 00310734 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803137D8 00310738 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 803137DC 0031073C EC 00 18 28 */ fsubs f0, f0, f3 +/* 803137E0 00310740 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803137E4 00310744 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 803137E8 00310748 EC 00 20 28 */ fsubs f0, f0, f4 +/* 803137EC 0031074C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803137F0 00310750 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803137F4 00310754 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803137F8 00310758 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803137FC 0031075C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313800 00310760 83 C1 00 08 */ lwz r30, 8(r1) +/* 80313804 00310764 7C 08 03 A6 */ mtlr r0 +/* 80313808 00310768 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031380C 0031076C 4E 80 00 20 */ blr + +.global RotateZ__12CTransform4fFRC9CRelAngle +RotateZ__12CTransform4fFRC9CRelAngle: +/* 80313810 00310770 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80313814 00310774 7C 08 02 A6 */ mflr r0 +/* 80313818 00310778 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031381C 0031077C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80313820 00310780 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80313824 00310784 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80313828 00310788 93 C1 00 08 */ stw r30, 8(r1) +/* 8031382C 0031078C 7C 9F 23 78 */ mr r31, r4 +/* 80313830 00310790 7C 7E 1B 78 */ mr r30, r3 +/* 80313834 00310794 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313838 00310798 48 08 12 A5 */ bl sin +/* 8031383C 0031079C FF E0 08 18 */ frsp f31, f1 +/* 80313840 003107A0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313844 003107A4 48 08 0B AD */ bl cos +/* 80313848 003107A8 FC 60 08 18 */ frsp f3, f1 +/* 8031384C 003107AC C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313850 003107B0 FC 40 F8 50 */ fneg f2, f31 +/* 80313854 003107B4 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313858 003107B8 D0 7E 00 00 */ stfs f3, 0(r30) +/* 8031385C 003107BC D0 5E 00 04 */ stfs f2, 4(r30) +/* 80313860 003107C0 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80313864 003107C4 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80313868 003107C8 D3 FE 00 10 */ stfs f31, 0x10(r30) +/* 8031386C 003107CC D0 7E 00 14 */ stfs f3, 0x14(r30) +/* 80313870 003107D0 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80313874 003107D4 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80313878 003107D8 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 8031387C 003107DC D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80313880 003107E0 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80313884 003107E4 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 80313888 003107E8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8031388C 003107EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80313890 003107F0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80313894 003107F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313898 003107F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031389C 003107FC 7C 08 03 A6 */ mtlr r0 +/* 803138A0 00310800 38 21 00 20 */ addi r1, r1, 0x20 +/* 803138A4 00310804 4E 80 00 20 */ blr + +.global RotateY__12CTransform4fFRC9CRelAngle +RotateY__12CTransform4fFRC9CRelAngle: +/* 803138A8 00310808 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803138AC 0031080C 7C 08 02 A6 */ mflr r0 +/* 803138B0 00310810 90 01 00 24 */ stw r0, 0x24(r1) +/* 803138B4 00310814 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803138B8 00310818 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803138BC 0031081C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803138C0 00310820 93 C1 00 08 */ stw r30, 8(r1) +/* 803138C4 00310824 7C 9F 23 78 */ mr r31, r4 +/* 803138C8 00310828 7C 7E 1B 78 */ mr r30, r3 +/* 803138CC 0031082C C0 24 00 00 */ lfs f1, 0(r4) +/* 803138D0 00310830 48 08 12 0D */ bl sin +/* 803138D4 00310834 FF E0 08 18 */ frsp f31, f1 +/* 803138D8 00310838 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803138DC 0031083C 48 08 0B 15 */ bl cos +/* 803138E0 00310840 FC 60 08 18 */ frsp f3, f1 +/* 803138E4 00310844 C0 42 C8 D4 */ lfs f2, lbl_805AE5F4@sda21(r2) +/* 803138E8 00310848 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 803138EC 0031084C FC 00 F8 50 */ fneg f0, f31 +/* 803138F0 00310850 D0 7E 00 00 */ stfs f3, 0(r30) +/* 803138F4 00310854 D0 5E 00 04 */ stfs f2, 4(r30) +/* 803138F8 00310858 D3 FE 00 08 */ stfs f31, 8(r30) +/* 803138FC 0031085C D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 80313900 00310860 D0 5E 00 10 */ stfs f2, 0x10(r30) +/* 80313904 00310864 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80313908 00310868 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 8031390C 0031086C D0 5E 00 1C */ stfs f2, 0x1c(r30) +/* 80313910 00310870 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80313914 00310874 D0 5E 00 24 */ stfs f2, 0x24(r30) +/* 80313918 00310878 D0 7E 00 28 */ stfs f3, 0x28(r30) +/* 8031391C 0031087C D0 5E 00 2C */ stfs f2, 0x2c(r30) +/* 80313920 00310880 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80313924 00310884 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80313928 00310888 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8031392C 0031088C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313930 00310890 83 C1 00 08 */ lwz r30, 8(r1) +/* 80313934 00310894 7C 08 03 A6 */ mtlr r0 +/* 80313938 00310898 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031393C 0031089C 4E 80 00 20 */ blr + +.global RotateX__12CTransform4fFRC9CRelAngle +RotateX__12CTransform4fFRC9CRelAngle: +/* 80313940 003108A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80313944 003108A4 7C 08 02 A6 */ mflr r0 +/* 80313948 003108A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031394C 003108AC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80313950 003108B0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80313954 003108B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80313958 003108B8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031395C 003108BC 7C 9F 23 78 */ mr r31, r4 +/* 80313960 003108C0 7C 7E 1B 78 */ mr r30, r3 +/* 80313964 003108C4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313968 003108C8 48 08 11 75 */ bl sin +/* 8031396C 003108CC FF E0 08 18 */ frsp f31, f1 +/* 80313970 003108D0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313974 003108D4 48 08 0A 7D */ bl cos +/* 80313978 003108D8 C0 42 C8 D0 */ lfs f2, lbl_805AE5F0@sda21(r2) +/* 8031397C 003108DC FC 60 08 18 */ frsp f3, f1 +/* 80313980 003108E0 C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313984 003108E4 FC 00 F8 50 */ fneg f0, f31 +/* 80313988 003108E8 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8031398C 003108EC D0 3E 00 04 */ stfs f1, 4(r30) +/* 80313990 003108F0 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80313994 003108F4 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80313998 003108F8 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8031399C 003108FC D0 7E 00 14 */ stfs f3, 0x14(r30) +/* 803139A0 00310900 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803139A4 00310904 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 803139A8 00310908 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 803139AC 0031090C D3 FE 00 24 */ stfs f31, 0x24(r30) +/* 803139B0 00310910 D0 7E 00 28 */ stfs f3, 0x28(r30) +/* 803139B4 00310914 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 803139B8 00310918 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803139BC 0031091C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803139C0 00310920 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803139C4 00310924 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803139C8 00310928 83 C1 00 08 */ lwz r30, 8(r1) +/* 803139CC 0031092C 7C 08 03 A6 */ mtlr r0 +/* 803139D0 00310930 38 21 00 20 */ addi r1, r1, 0x20 +/* 803139D4 00310934 4E 80 00 20 */ blr + +.global MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f +MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f: +/* 803139D8 00310938 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803139DC 0031093C 7C 08 02 A6 */ mflr r0 +/* 803139E0 00310940 90 01 00 44 */ stw r0, 0x44(r1) +/* 803139E4 00310944 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803139E8 00310948 7C 9F 23 78 */ mr r31, r4 +/* 803139EC 0031094C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803139F0 00310950 7C 7E 1B 78 */ mr r30, r3 +/* 803139F4 00310954 C0 24 00 04 */ lfs f1, 4(r4) +/* 803139F8 00310958 C0 44 00 00 */ lfs f2, 0(r4) +/* 803139FC 0031095C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80313A00 00310960 40 80 00 20 */ bge lbl_80313A20 +/* 80313A04 00310964 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80313A08 00310968 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80313A0C 0031096C 40 80 00 0C */ bge lbl_80313A18 +/* 80313A10 00310970 38 00 00 02 */ li r0, 2 +/* 80313A14 00310974 48 00 00 24 */ b lbl_80313A38 +lbl_80313A18: +/* 80313A18 00310978 38 00 00 01 */ li r0, 1 +/* 80313A1C 0031097C 48 00 00 1C */ b lbl_80313A38 +lbl_80313A20: +/* 80313A20 00310980 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80313A24 00310984 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80313A28 00310988 40 80 00 0C */ bge lbl_80313A34 +/* 80313A2C 0031098C 38 00 00 02 */ li r0, 2 +/* 80313A30 00310990 48 00 00 08 */ b lbl_80313A38 +lbl_80313A34: +/* 80313A34 00310994 38 00 00 01 */ li r0, 1 +lbl_80313A38: +/* 80313A38 00310998 C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313A3C 0031099C 54 00 10 3A */ slwi r0, r0, 2 +/* 80313A40 003109A0 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313A44 003109A4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80313A48 003109A8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80313A4C 003109AC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80313A50 003109B0 C0 7F 00 00 */ lfs f3, 0(r31) +/* 80313A54 003109B4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80313A58 003109B8 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80313A5C 003109BC C0 9F 00 04 */ lfs f4, 4(r31) +/* 80313A60 003109C0 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80313A64 003109C4 C0 BF 00 08 */ lfs f5, 8(r31) +/* 80313A68 003109C8 7C 05 05 2E */ stfsx f0, r5, r0 +/* 80313A6C 003109CC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 80313A70 003109D0 C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 80313A74 003109D4 C1 01 00 2C */ lfs f8, 0x2c(r1) +/* 80313A78 003109D8 EC 46 01 72 */ fmuls f2, f6, f5 +/* 80313A7C 003109DC EC 27 00 F2 */ fmuls f1, f7, f3 +/* 80313A80 003109E0 EC 08 01 32 */ fmuls f0, f8, f4 +/* 80313A84 003109E4 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 +/* 80313A88 003109E8 EC 25 0A 38 */ fmsubs f1, f5, f8, f1 +/* 80313A8C 003109EC EC 03 01 B8 */ fmsubs f0, f3, f6, f0 +/* 80313A90 003109F0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80313A94 003109F4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80313A98 003109F8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80313A9C 003109FC 48 00 03 35 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80313AA0 00310A00 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80313AA4 00310A04 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80313AA8 00310A08 C0 BF 00 00 */ lfs f5, 0(r31) +/* 80313AAC 00310A0C 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 80313AB0 00310A10 C0 81 00 28 */ lfs f4, 0x28(r1) +/* 80313AB4 00310A14 7F C3 F3 78 */ mr r3, r30 +/* 80313AB8 00310A18 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80313ABC 00310A1C EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80313AC0 00310A20 C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 80313AC4 00310A24 7F E5 FB 78 */ mr r5, r31 +/* 80313AC8 00310A28 C0 DF 00 08 */ lfs f6, 8(r31) +/* 80313ACC 00310A2C EC 41 01 32 */ fmuls f2, f1, f4 +/* 80313AD0 00310A30 EC 07 00 78 */ fmsubs f0, f7, f1, f0 +/* 80313AD4 00310A34 EC 26 01 F2 */ fmuls f1, f6, f7 +/* 80313AD8 00310A38 38 81 00 20 */ addi r4, r1, 0x20 +/* 80313ADC 00310A3C EC 43 11 B8 */ fmsubs f2, f3, f6, f2 +/* 80313AE0 00310A40 38 C1 00 08 */ addi r6, r1, 8 +/* 80313AE4 00310A44 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80313AE8 00310A48 EC 04 09 78 */ fmsubs f0, f4, f5, f1 +/* 80313AEC 00310A4C D0 41 00 08 */ stfs f2, 8(r1) +/* 80313AF0 00310A50 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80313AF4 00310A54 4B FF F3 69 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 80313AF8 00310A58 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80313AFC 00310A5C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80313B00 00310A60 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80313B04 00310A64 7C 08 03 A6 */ mtlr r0 +/* 80313B08 00310A68 38 21 00 40 */ addi r1, r1, 0x40 +/* 80313B0C 00310A6C 4E 80 00 20 */ blr + +.global LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 80313B10 00310A70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80313B14 00310A74 7C 08 02 A6 */ mflr r0 +/* 80313B18 00310A78 90 01 00 34 */ stw r0, 0x34(r1) +/* 80313B1C 00310A7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80313B20 00310A80 7C DF 33 78 */ mr r31, r6 +/* 80313B24 00310A84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80313B28 00310A88 7C 9E 23 78 */ mr r30, r4 +/* 80313B2C 00310A8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80313B30 00310A90 7C 7D 1B 78 */ mr r29, r3 +/* 80313B34 00310A94 38 61 00 14 */ addi r3, r1, 0x14 +/* 80313B38 00310A98 C0 25 00 04 */ lfs f1, 4(r5) +/* 80313B3C 00310A9C C0 04 00 04 */ lfs f0, 4(r4) +/* 80313B40 00310AA0 C0 65 00 08 */ lfs f3, 8(r5) +/* 80313B44 00310AA4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80313B48 00310AA8 C0 44 00 08 */ lfs f2, 8(r4) +/* 80313B4C 00310AAC C0 25 00 00 */ lfs f1, 0(r5) +/* 80313B50 00310AB0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313B54 00310AB4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80313B58 00310AB8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80313B5C 00310ABC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313B60 00310AC0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80313B64 00310AC4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80313B68 00310AC8 48 00 0D 51 */ bl Magnitude__9CVector3fCFv +/* 80313B6C 00310ACC C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) +/* 80313B70 00310AD0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313B74 00310AD4 4C 40 13 82 */ cror 2, 0, 2 +/* 80313B78 00310AD8 40 82 00 1C */ bne lbl_80313B94 +/* 80313B7C 00310ADC C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313B80 00310AE0 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313B84 00310AE4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80313B88 00310AE8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80313B8C 00310AEC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80313B90 00310AF0 48 00 00 30 */ b lbl_80313BC0 +lbl_80313B94: +/* 80313B94 00310AF4 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313B98 00310AF8 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80313B9C 00310AFC EC 60 08 24 */ fdivs f3, f0, f1 +/* 80313BA0 00310B00 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80313BA4 00310B04 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80313BA8 00310B08 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80313BAC 00310B0C EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80313BB0 00310B10 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80313BB4 00310B14 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80313BB8 00310B18 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80313BBC 00310B1C D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_80313BC0: +/* 80313BC0 00310B20 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80313BC4 00310B24 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80313BC8 00310B28 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80313BCC 00310B2C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80313BD0 00310B30 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80313BD4 00310B34 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80313BD8 00310B38 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80313BDC 00310B3C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80313BE0 00310B40 C8 02 C8 E0 */ lfd f0, lbl_805AE600@sda21(r2) +/* 80313BE4 00310B44 EC C4 08 FA */ fmadds f6, f4, f3, f1 +/* 80313BE8 00310B48 FC 20 32 10 */ fabs f1, f6 +/* 80313BEC 00310B4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313BF0 00310B50 40 81 00 14 */ ble lbl_80313C04 +/* 80313BF4 00310B54 C0 02 C8 E8 */ lfs f0, lbl_805AE608@sda21(r2) +/* 80313BF8 00310B58 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313BFC 00310B5C FC 06 00 6E */ fsel f0, f6, f1, f0 +/* 80313C00 00310B60 EC C1 00 32 */ fmuls f6, f1, f0 +lbl_80313C04: +/* 80313C04 00310B64 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80313C08 00310B68 38 61 00 08 */ addi r3, r1, 8 +/* 80313C0C 00310B6C C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80313C10 00310B70 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80313C14 00310B74 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 80313C18 00310B78 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80313C1C 00310B7C EC 46 00 72 */ fmuls f2, f6, f1 +/* 80313C20 00310B80 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80313C24 00310B84 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80313C28 00310B88 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313C2C 00310B8C EC 85 20 28 */ fsubs f4, f5, f4 +/* 80313C30 00310B90 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80313C34 00310B94 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313C38 00310B98 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80313C3C 00310B9C D0 01 00 08 */ stfs f0, 8(r1) +/* 80313C40 00310BA0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80313C44 00310BA4 48 00 0C 75 */ bl Magnitude__9CVector3fCFv +/* 80313C48 00310BA8 C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) +/* 80313C4C 00310BAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313C50 00310BB0 4C 40 13 82 */ cror 2, 0, 2 +/* 80313C54 00310BB4 40 82 00 94 */ bne lbl_80313CE8 +/* 80313C58 00310BB8 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80313C5C 00310BBC 38 61 00 08 */ addi r3, r1, 8 +/* 80313C60 00310BC0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80313C64 00310BC4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80313C68 00310BC8 EC 05 01 72 */ fmuls f0, f5, f5 +/* 80313C6C 00310BCC C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313C70 00310BD0 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80313C74 00310BD4 C0 82 C8 D4 */ lfs f4, lbl_805AE5F4@sda21(r2) +/* 80313C78 00310BD8 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80313C7C 00310BDC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313C80 00310BE0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80313C84 00310BE4 EC 24 10 28 */ fsubs f1, f4, f2 +/* 80313C88 00310BE8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80313C8C 00310BEC D0 21 00 08 */ stfs f1, 8(r1) +/* 80313C90 00310BF0 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80313C94 00310BF4 48 00 0C 25 */ bl Magnitude__9CVector3fCFv +/* 80313C98 00310BF8 C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) +/* 80313C9C 00310BFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313CA0 00310C00 4C 40 13 82 */ cror 2, 0, 2 +/* 80313CA4 00310C04 40 82 00 44 */ bne lbl_80313CE8 +/* 80313CA8 00310C08 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 80313CAC 00310C0C 38 61 00 08 */ addi r3, r1, 8 +/* 80313CB0 00310C10 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80313CB4 00310C14 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80313CB8 00310C18 EC 05 01 72 */ fmuls f0, f5, f5 +/* 80313CBC 00310C1C C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313CC0 00310C20 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80313CC4 00310C24 C0 82 C8 D4 */ lfs f4, lbl_805AE5F4@sda21(r2) +/* 80313CC8 00310C28 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80313CCC 00310C2C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313CD0 00310C30 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80313CD4 00310C34 EC 24 10 28 */ fsubs f1, f4, f2 +/* 80313CD8 00310C38 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80313CDC 00310C3C D0 21 00 08 */ stfs f1, 8(r1) +/* 80313CE0 00310C40 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80313CE4 00310C44 48 00 0B D5 */ bl Magnitude__9CVector3fCFv +lbl_80313CE8: +/* 80313CE8 00310C48 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313CEC 00310C4C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80313CF0 00310C50 EC A0 08 24 */ fdivs f5, f0, f1 +/* 80313CF4 00310C54 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80313CF8 00310C58 C0 21 00 08 */ lfs f1, 8(r1) +/* 80313CFC 00310C5C C1 41 00 1C */ lfs f10, 0x1c(r1) +/* 80313D00 00310C60 C1 61 00 18 */ lfs f11, 0x18(r1) +/* 80313D04 00310C64 C1 21 00 14 */ lfs f9, 0x14(r1) +/* 80313D08 00310C68 EC 82 01 72 */ fmuls f4, f2, f5 +/* 80313D0C 00310C6C C0 DE 00 08 */ lfs f6, 8(r30) +/* 80313D10 00310C70 EC 60 01 72 */ fmuls f3, f0, f5 +/* 80313D14 00310C74 C0 FE 00 04 */ lfs f7, 4(r30) +/* 80313D18 00310C78 EC A1 01 72 */ fmuls f5, f1, f5 +/* 80313D1C 00310C7C C1 1E 00 00 */ lfs f8, 0(r30) +/* 80313D20 00310C80 EC 24 02 B2 */ fmuls f1, f4, f10 +/* 80313D24 00310C84 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80313D28 00310C88 EC 03 02 72 */ fmuls f0, f3, f9 +/* 80313D2C 00310C8C D0 A1 00 08 */ stfs f5, 8(r1) +/* 80313D30 00310C90 EC 45 02 F2 */ fmuls f2, f5, f11 +/* 80313D34 00310C94 EC 2B 08 F8 */ fmsubs f1, f11, f3, f1 +/* 80313D38 00310C98 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80313D3C 00310C9C EC 0A 01 78 */ fmsubs f0, f10, f5, f0 +/* 80313D40 00310CA0 EC 49 11 38 */ fmsubs f2, f9, f4, f2 +/* 80313D44 00310CA4 D0 3D 00 00 */ stfs f1, 0(r29) +/* 80313D48 00310CA8 D1 3D 00 04 */ stfs f9, 4(r29) +/* 80313D4C 00310CAC D0 BD 00 08 */ stfs f5, 8(r29) +/* 80313D50 00310CB0 D1 1D 00 0C */ stfs f8, 0xc(r29) +/* 80313D54 00310CB4 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 80313D58 00310CB8 D1 7D 00 14 */ stfs f11, 0x14(r29) +/* 80313D5C 00310CBC D0 9D 00 18 */ stfs f4, 0x18(r29) +/* 80313D60 00310CC0 D0 FD 00 1C */ stfs f7, 0x1c(r29) +/* 80313D64 00310CC4 D0 5D 00 20 */ stfs f2, 0x20(r29) +/* 80313D68 00310CC8 D1 5D 00 24 */ stfs f10, 0x24(r29) +/* 80313D6C 00310CCC D0 7D 00 28 */ stfs f3, 0x28(r29) +/* 80313D70 00310CD0 D0 DD 00 2C */ stfs f6, 0x2c(r29) +/* 80313D74 00310CD4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80313D78 00310CD8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80313D7C 00310CDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80313D80 00310CE0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80313D84 00310CE4 7C 08 03 A6 */ mtlr r0 +/* 80313D88 00310CE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80313D8C 00310CEC 4E 80 00 20 */ blr + +.global __sinit_CTransform4f_cpp +__sinit_CTransform4f_cpp: +/* 80313D90 00310CF0 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313D94 00310CF4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80313D98 00310CF8 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313D9C 00310CFC D4 23 66 70 */ stfsu f1, skIdentity4f@l(r3) +/* 80313DA0 00310D00 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313DA4 00310D04 D0 03 00 08 */ stfs f0, 8(r3) +/* 80313DA8 00310D08 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80313DAC 00310D0C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313DB0 00310D10 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 80313DB4 00310D14 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313DB8 00310D18 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80313DBC 00310D1C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313DC0 00310D20 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80313DC4 00310D24 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 80313DC8 00310D28 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80313DCC 00310D2C 4E 80 00 20 */ blr + +.global __ct__11CUnitVectorFRC9CVector3f +__ct__11CUnitVectorFRC9CVector3f: +/* 80313DD0 00310D30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80313DD4 00310D34 7C 08 02 A6 */ mflr r0 +/* 80313DD8 00310D38 C0 22 C8 F0 */ lfs f1, lbl_805AE610@sda21(r2) +/* 80313DDC 00310D3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80313DE0 00310D40 38 00 00 00 */ li r0, 0 +/* 80313DE4 00310D44 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80313DE8 00310D48 7C 7F 1B 78 */ mr r31, r3 +/* 80313DEC 00310D4C C0 04 00 00 */ lfs f0, 0(r4) +/* 80313DF0 00310D50 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313DF4 00310D54 40 82 00 1C */ bne lbl_80313E10 +/* 80313DF8 00310D58 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313DFC 00310D5C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313E00 00310D60 40 82 00 10 */ bne lbl_80313E10 +/* 80313E04 00310D64 C0 04 00 08 */ lfs f0, 8(r4) +/* 80313E08 00310D68 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313E0C 00310D6C 41 82 00 08 */ beq lbl_80313E14 +lbl_80313E10: +/* 80313E10 00310D70 38 00 00 01 */ li r0, 1 +lbl_80313E14: +/* 80313E14 00310D74 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80313E18 00310D78 41 82 00 14 */ beq lbl_80313E2C +/* 80313E1C 00310D7C 38 61 00 08 */ addi r3, r1, 8 +/* 80313E20 00310D80 48 00 0A 31 */ bl AsNormalized__9CVector3fCFv +/* 80313E24 00310D84 38 81 00 08 */ addi r4, r1, 8 +/* 80313E28 00310D88 48 00 00 0C */ b lbl_80313E34 +lbl_80313E2C: +/* 80313E2C 00310D8C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80313E30 00310D90 38 83 66 A0 */ addi r4, r3, skZero3f@l +lbl_80313E34: +/* 80313E34 00310D94 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313E38 00310D98 7F E3 FB 78 */ mr r3, r31 +/* 80313E3C 00310D9C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80313E40 00310DA0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313E44 00310DA4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80313E48 00310DA8 C0 04 00 08 */ lfs f0, 8(r4) +/* 80313E4C 00310DAC D0 1F 00 08 */ stfs f0, 8(r31) +/* 80313E50 00310DB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80313E54 00310DB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80313E58 00310DB8 7C 08 03 A6 */ mtlr r0 +/* 80313E5C 00310DBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80313E60 00310DC0 4E 80 00 20 */ blr + +.global __dv__FRC9CVector2fRCf +__dv__FRC9CVector2fRCf: +/* 80313E64 00310DC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313E68 00310DC8 7C 08 02 A6 */ mflr r0 +/* 80313E6C 00310DCC C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) +/* 80313E70 00310DD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313E74 00310DD4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80313E78 00310DD8 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313E7C 00310DDC EC 42 00 24 */ fdivs f2, f2, f0 +/* 80313E80 00310DE0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313E84 00310DE4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80313E88 00310DE8 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80313E8C 00310DEC 48 00 03 75 */ bl __ct__9CVector2fFff +/* 80313E90 00310DF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313E94 00310DF4 7C 08 03 A6 */ mtlr r0 +/* 80313E98 00310DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313E9C 00310DFC 4E 80 00 20 */ blr + +.global __ml__FRCfRC9CVector2f +__ml__FRCfRC9CVector2f: +/* 80313EA0 00310E00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313EA4 00310E04 7C 08 02 A6 */ mflr r0 +/* 80313EA8 00310E08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313EAC 00310E0C C0 44 00 00 */ lfs f2, 0(r4) +/* 80313EB0 00310E10 C0 25 00 00 */ lfs f1, 0(r5) +/* 80313EB4 00310E14 C0 05 00 04 */ lfs f0, 4(r5) +/* 80313EB8 00310E18 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80313EBC 00310E1C EC 42 00 32 */ fmuls f2, f2, f0 +/* 80313EC0 00310E20 48 00 03 41 */ bl __ct__9CVector2fFff +/* 80313EC4 00310E24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313EC8 00310E28 7C 08 03 A6 */ mtlr r0 +/* 80313ECC 00310E2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313ED0 00310E30 4E 80 00 20 */ blr + +.global __ml__FRC9CVector2fRCf +__ml__FRC9CVector2fRCf: +/* 80313ED4 00310E34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313ED8 00310E38 7C 08 02 A6 */ mflr r0 +/* 80313EDC 00310E3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313EE0 00310E40 C0 45 00 00 */ lfs f2, 0(r5) +/* 80313EE4 00310E44 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313EE8 00310E48 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313EEC 00310E4C EC 22 00 72 */ fmuls f1, f2, f1 +/* 80313EF0 00310E50 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80313EF4 00310E54 48 00 03 0D */ bl __ct__9CVector2fFff +/* 80313EF8 00310E58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313EFC 00310E5C 7C 08 03 A6 */ mtlr r0 +/* 80313F00 00310E60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313F04 00310E64 4E 80 00 20 */ blr + +.global __eq__FRC9CVector2fRC9CVector2f +__eq__FRC9CVector2fRC9CVector2f: +/* 80313F08 00310E68 C0 23 00 00 */ lfs f1, 0(r3) +/* 80313F0C 00310E6C 38 00 00 00 */ li r0, 0 +/* 80313F10 00310E70 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313F14 00310E74 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313F18 00310E78 40 82 00 18 */ bne lbl_80313F30 +/* 80313F1C 00310E7C C0 23 00 04 */ lfs f1, 4(r3) +/* 80313F20 00310E80 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313F24 00310E84 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313F28 00310E88 40 82 00 08 */ bne lbl_80313F30 +/* 80313F2C 00310E8C 38 00 00 01 */ li r0, 1 +lbl_80313F30: +/* 80313F30 00310E90 7C 03 03 78 */ mr r3, r0 +/* 80313F34 00310E94 4E 80 00 20 */ blr + +.global __mi__FRC9CVector2fRC9CVector2f +__mi__FRC9CVector2fRC9CVector2f: +/* 80313F38 00310E98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313F3C 00310E9C 7C 08 02 A6 */ mflr r0 +/* 80313F40 00310EA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313F44 00310EA4 C0 64 00 00 */ lfs f3, 0(r4) +/* 80313F48 00310EA8 C0 25 00 00 */ lfs f1, 0(r5) +/* 80313F4C 00310EAC C0 44 00 04 */ lfs f2, 4(r4) +/* 80313F50 00310EB0 C0 05 00 04 */ lfs f0, 4(r5) +/* 80313F54 00310EB4 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80313F58 00310EB8 EC 42 00 28 */ fsubs f2, f2, f0 +/* 80313F5C 00310EBC 48 00 02 A5 */ bl __ct__9CVector2fFff +/* 80313F60 00310EC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313F64 00310EC4 7C 08 03 A6 */ mtlr r0 +/* 80313F68 00310EC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313F6C 00310ECC 4E 80 00 20 */ blr + +.global __pl__FRC9CVector2fRC9CVector2f +__pl__FRC9CVector2fRC9CVector2f: +/* 80313F70 00310ED0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313F74 00310ED4 7C 08 02 A6 */ mflr r0 +/* 80313F78 00310ED8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313F7C 00310EDC C0 64 00 00 */ lfs f3, 0(r4) +/* 80313F80 00310EE0 C0 25 00 00 */ lfs f1, 0(r5) +/* 80313F84 00310EE4 C0 44 00 04 */ lfs f2, 4(r4) +/* 80313F88 00310EE8 C0 05 00 04 */ lfs f0, 4(r5) +/* 80313F8C 00310EEC EC 23 08 2A */ fadds f1, f3, f1 +/* 80313F90 00310EF0 EC 42 00 2A */ fadds f2, f2, f0 +/* 80313F94 00310EF4 48 00 02 6D */ bl __ct__9CVector2fFff +/* 80313F98 00310EF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313F9C 00310EFC 7C 08 03 A6 */ mtlr r0 +/* 80313FA0 00310F00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313FA4 00310F04 4E 80 00 20 */ blr + +.global Dot__9CVector2fFRC9CVector2fRC9CVector2f +Dot__9CVector2fFRC9CVector2fRC9CVector2f: +/* 80313FA8 00310F08 C0 23 00 04 */ lfs f1, 4(r3) +/* 80313FAC 00310F0C C0 04 00 04 */ lfs f0, 4(r4) +/* 80313FB0 00310F10 C0 43 00 00 */ lfs f2, 0(r3) +/* 80313FB4 00310F14 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80313FB8 00310F18 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313FBC 00310F1C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80313FC0 00310F20 4E 80 00 20 */ blr + +.global GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f +GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f: +/* 80313FC4 00310F24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80313FC8 00310F28 7C 08 02 A6 */ mflr r0 +/* 80313FCC 00310F2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80313FD0 00310F30 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80313FD4 00310F34 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80313FD8 00310F38 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80313FDC 00310F3C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80313FE0 00310F40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80313FE4 00310F44 93 C1 00 08 */ stw r30, 8(r1) +/* 80313FE8 00310F48 7C 7E 1B 78 */ mr r30, r3 +/* 80313FEC 00310F4C 7C 9F 23 78 */ mr r31, r4 +/* 80313FF0 00310F50 48 00 01 05 */ bl Magnitude__9CVector2fCFv +/* 80313FF4 00310F54 FF C0 08 90 */ fmr f30, f1 +/* 80313FF8 00310F58 7F E3 FB 78 */ mr r3, r31 +/* 80313FFC 00310F5C 48 00 00 F9 */ bl Magnitude__9CVector2fCFv +/* 80314000 00310F60 C0 02 C9 00 */ lfs f0, lbl_805AE620@sda21(r2) +/* 80314004 00310F64 FF E0 08 90 */ fmr f31, f1 +/* 80314008 00310F68 C0 22 C8 FC */ lfs f1, lbl_805AE61C@sda21(r2) +/* 8031400C 00310F6C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80314010 00310F70 40 81 00 48 */ ble lbl_80314058 +/* 80314014 00310F74 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80314018 00310F78 40 81 00 40 */ ble lbl_80314058 +/* 8031401C 00310F7C 7F C3 F3 78 */ mr r3, r30 +/* 80314020 00310F80 7F E4 FB 78 */ mr r4, r31 +/* 80314024 00310F84 4B FF FF 85 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80314028 00310F88 EC 5E 07 F2 */ fmuls f2, f30, f31 +/* 8031402C 00310F8C C0 02 C9 04 */ lfs f0, lbl_805AE624@sda21(r2) +/* 80314030 00310F90 EC 21 10 24 */ fdivs f1, f1, f2 +/* 80314034 00310F94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314038 00310F98 40 80 00 0C */ bge lbl_80314044 +/* 8031403C 00310F9C FC 20 00 90 */ fmr f1, f0 +/* 80314040 00310FA0 48 00 00 14 */ b lbl_80314054 +lbl_80314044: +/* 80314044 00310FA4 C0 02 C8 F8 */ lfs f0, lbl_805AE618@sda21(r2) +/* 80314048 00310FA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031404C 00310FAC 40 81 00 08 */ ble lbl_80314054 +/* 80314050 00310FB0 FC 20 00 90 */ fmr f1, f0 +lbl_80314054: +/* 80314054 00310FB4 48 00 13 3D */ bl ArcCosineR__5CMathFf +lbl_80314058: +/* 80314058 00310FB8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8031405C 00310FBC CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80314060 00310FC0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80314064 00310FC4 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80314068 00310FC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031406C 00310FCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80314070 00310FD0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80314074 00310FD4 7C 08 03 A6 */ mtlr r0 +/* 80314078 00310FD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031407C 00310FDC 4E 80 00 20 */ blr + +.global AsNormalized__9CVector2fCFv +AsNormalized__9CVector2fCFv: +/* 80314080 00310FE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314084 00310FE4 7C 08 02 A6 */ mflr r0 +/* 80314088 00310FE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031408C 00310FEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314090 00310FF0 7C 9F 23 78 */ mr r31, r4 +/* 80314094 00310FF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80314098 00310FF8 7C 7E 1B 78 */ mr r30, r3 +/* 8031409C 00310FFC 7F E3 FB 78 */ mr r3, r31 +/* 803140A0 00311000 48 00 00 55 */ bl Magnitude__9CVector2fCFv +/* 803140A4 00311004 C0 02 C8 F8 */ lfs f0, lbl_805AE618@sda21(r2) +/* 803140A8 00311008 7F C3 F3 78 */ mr r3, r30 +/* 803140AC 0031100C C0 5F 00 00 */ lfs f2, 0(r31) +/* 803140B0 00311010 EC 60 08 24 */ fdivs f3, f0, f1 +/* 803140B4 00311014 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803140B8 00311018 EC 22 00 F2 */ fmuls f1, f2, f3 +/* 803140BC 0031101C EC 40 00 F2 */ fmuls f2, f0, f3 +/* 803140C0 00311020 48 00 01 41 */ bl __ct__9CVector2fFff +/* 803140C4 00311024 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803140C8 00311028 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803140CC 0031102C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803140D0 00311030 7C 08 03 A6 */ mtlr r0 +/* 803140D4 00311034 38 21 00 10 */ addi r1, r1, 0x10 +/* 803140D8 00311038 4E 80 00 20 */ blr + +.global MagSquared__9CVector2fCFv +MagSquared__9CVector2fCFv: +/* 803140DC 0031103C C0 03 00 00 */ lfs f0, 0(r3) +/* 803140E0 00311040 C0 43 00 04 */ lfs f2, 4(r3) +/* 803140E4 00311044 EC 20 00 32 */ fmuls f1, f0, f0 +/* 803140E8 00311048 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 803140EC 0031104C EC 21 00 2A */ fadds f1, f1, f0 +/* 803140F0 00311050 4E 80 00 20 */ blr + +.global Magnitude__9CVector2fCFv +Magnitude__9CVector2fCFv: +/* 803140F4 00311054 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803140F8 00311058 7C 08 02 A6 */ mflr r0 +/* 803140FC 0031105C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314100 00311060 C0 03 00 00 */ lfs f0, 0(r3) +/* 80314104 00311064 C0 43 00 04 */ lfs f2, 4(r3) +/* 80314108 00311068 EC 20 00 32 */ fmuls f1, f0, f0 +/* 8031410C 0031106C EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80314110 00311070 EC 21 00 2A */ fadds f1, f1, f0 +/* 80314114 00311074 48 00 13 ED */ bl SqrtF__5CMathFf +/* 80314118 00311078 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031411C 0031107C 7C 08 03 A6 */ mtlr r0 +/* 80314120 00311080 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314124 00311084 4E 80 00 20 */ blr + +.global sub_80314128 +sub_80314128: +/* 80314128 00311088 C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) +/* 8031412C 0031108C C0 03 00 00 */ lfs f0, 0(r3) +/* 80314130 00311090 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80314134 00311094 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314138 00311098 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031413C 0031109C C0 03 00 04 */ lfs f0, 4(r3) +/* 80314140 003110A0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314144 003110A4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80314148 003110A8 4E 80 00 20 */ blr + +.global __amu__9CVector2fFf +__amu__9CVector2fFf: +/* 8031414C 003110AC C0 03 00 00 */ lfs f0, 0(r3) +/* 80314150 003110B0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314154 003110B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80314158 003110B8 C0 03 00 04 */ lfs f0, 4(r3) +/* 8031415C 003110BC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314160 003110C0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80314164 003110C4 4E 80 00 20 */ blr + +.global sub_80314168 +sub_80314168: +/* 80314168 003110C8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031416C 003110CC C0 04 00 00 */ lfs f0, 0(r4) +/* 80314170 003110D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80314174 003110D4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80314178 003110D8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8031417C 003110DC C0 04 00 04 */ lfs f0, 4(r4) +/* 80314180 003110E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80314184 003110E4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80314188 003110E8 4E 80 00 20 */ blr + +.global __apl__9CVector2fFRC9CVector2f +__apl__9CVector2fFRC9CVector2f: +/* 8031418C 003110EC C0 23 00 00 */ lfs f1, 0(r3) +/* 80314190 003110F0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80314194 003110F4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80314198 003110F8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031419C 003110FC C0 23 00 04 */ lfs f1, 4(r3) +/* 803141A0 00311100 C0 04 00 04 */ lfs f0, 4(r4) +/* 803141A4 00311104 EC 01 00 2A */ fadds f0, f1, f0 +/* 803141A8 00311108 D0 03 00 04 */ stfs f0, 4(r3) +/* 803141AC 0031110C 4E 80 00 20 */ blr + +.global Normalize__9CVector2fFv +Normalize__9CVector2fFv: +/* 803141B0 00311110 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803141B4 00311114 7C 08 02 A6 */ mflr r0 +/* 803141B8 00311118 90 01 00 14 */ stw r0, 0x14(r1) +/* 803141BC 0031111C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803141C0 00311120 7C 7F 1B 78 */ mr r31, r3 +/* 803141C4 00311124 4B FF FF 31 */ bl Magnitude__9CVector2fCFv +/* 803141C8 00311128 C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) +/* 803141CC 0031112C 7F E3 FB 78 */ mr r3, r31 +/* 803141D0 00311130 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803141D4 00311134 EC 22 08 24 */ fdivs f1, f2, f1 +/* 803141D8 00311138 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803141DC 0031113C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803141E0 00311140 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803141E4 00311144 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803141E8 00311148 D0 1F 00 04 */ stfs f0, 4(r31) +/* 803141EC 0031114C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803141F0 00311150 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803141F4 00311154 7C 08 03 A6 */ mtlr r0 +/* 803141F8 00311158 38 21 00 10 */ addi r1, r1, 0x10 +/* 803141FC 0031115C 4E 80 00 20 */ blr + +.global __ct__9CVector2fFff +__ct__9CVector2fFff: +/* 80314200 00311160 D0 23 00 00 */ stfs f1, 0(r3) +/* 80314204 00311164 D0 43 00 04 */ stfs f2, 4(r3) +/* 80314208 00311168 4E 80 00 20 */ blr + +.global __sinit_CVector2f_cpp +__sinit_CVector2f_cpp: +/* 8031420C 0031116C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314210 00311170 7C 08 02 A6 */ mflr r0 +/* 80314214 00311174 C0 22 C8 FC */ lfs f1, lbl_805AE61C@sda21(r2) +/* 80314218 00311178 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031421C 0031117C 38 61 00 08 */ addi r3, r1, 8 +/* 80314220 00311180 FC 40 08 90 */ fmr f2, f1 +/* 80314224 00311184 4B FF FF DD */ bl __ct__9CVector2fFff +/* 80314228 00311188 C0 21 00 08 */ lfs f1, 8(r1) +/* 8031422C 0031118C 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 80314230 00311190 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80314234 00311194 D0 2D A8 98 */ stfs f1, lbl_805A9458@sda21(r13) +/* 80314238 00311198 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031423C 0031119C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314240 003111A0 7C 08 03 A6 */ mtlr r0 +/* 80314244 003111A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314248 003111A8 4E 80 00 20 */ blr + +.global __dv__FRC9CVector2ii +__dv__FRC9CVector2ii: +/* 8031424C 003111AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314250 003111B0 7C 08 02 A6 */ mflr r0 +/* 80314254 003111B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314258 003111B8 80 C4 00 00 */ lwz r6, 0(r4) +/* 8031425C 003111BC 80 04 00 04 */ lwz r0, 4(r4) +/* 80314260 003111C0 7C 86 2B D6 */ divw r4, r6, r5 +/* 80314264 003111C4 7C A0 2B D6 */ divw r5, r0, r5 +/* 80314268 003111C8 48 00 00 E5 */ bl __ct__9CVector2iFii +/* 8031426C 003111CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314270 003111D0 7C 08 03 A6 */ mtlr r0 +/* 80314274 003111D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314278 003111D8 4E 80 00 20 */ blr + +.global __ml__FRC9CVector2ii +__ml__FRC9CVector2ii: +/* 8031427C 003111DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314280 003111E0 7C 08 02 A6 */ mflr r0 +/* 80314284 003111E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314288 003111E8 80 C4 00 00 */ lwz r6, 0(r4) +/* 8031428C 003111EC 80 04 00 04 */ lwz r0, 4(r4) +/* 80314290 003111F0 7C 85 31 D6 */ mullw r4, r5, r6 +/* 80314294 003111F4 7C A5 01 D6 */ mullw r5, r5, r0 +/* 80314298 003111F8 48 00 00 B5 */ bl __ct__9CVector2iFii +/* 8031429C 003111FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803142A0 00311200 7C 08 03 A6 */ mtlr r0 +/* 803142A4 00311204 38 21 00 10 */ addi r1, r1, 0x10 +/* 803142A8 00311208 4E 80 00 20 */ blr + +.global __eq__FRC9CVector2iRC9CVector2i +__eq__FRC9CVector2iRC9CVector2i: +/* 803142AC 0031120C 80 A3 00 00 */ lwz r5, 0(r3) +/* 803142B0 00311210 38 C0 00 00 */ li r6, 0 +/* 803142B4 00311214 80 04 00 00 */ lwz r0, 0(r4) +/* 803142B8 00311218 7C 05 00 00 */ cmpw r5, r0 +/* 803142BC 0031121C 40 82 00 18 */ bne lbl_803142D4 +/* 803142C0 00311220 80 63 00 04 */ lwz r3, 4(r3) +/* 803142C4 00311224 80 04 00 04 */ lwz r0, 4(r4) +/* 803142C8 00311228 7C 03 00 00 */ cmpw r3, r0 +/* 803142CC 0031122C 40 82 00 08 */ bne lbl_803142D4 +/* 803142D0 00311230 38 C0 00 01 */ li r6, 1 +lbl_803142D4: +/* 803142D4 00311234 7C C3 33 78 */ mr r3, r6 +/* 803142D8 00311238 4E 80 00 20 */ blr + +.global __mi__FRC9CVector2iRC9CVector2i +__mi__FRC9CVector2iRC9CVector2i: +/* 803142DC 0031123C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803142E0 00311240 7C 08 02 A6 */ mflr r0 +/* 803142E4 00311244 90 01 00 14 */ stw r0, 0x14(r1) +/* 803142E8 00311248 80 E5 00 00 */ lwz r7, 0(r5) +/* 803142EC 0031124C 80 C4 00 00 */ lwz r6, 0(r4) +/* 803142F0 00311250 80 04 00 04 */ lwz r0, 4(r4) +/* 803142F4 00311254 80 A5 00 04 */ lwz r5, 4(r5) +/* 803142F8 00311258 7C 87 30 50 */ subf r4, r7, r6 +/* 803142FC 0031125C 7C A5 00 50 */ subf r5, r5, r0 +/* 80314300 00311260 48 00 00 4D */ bl __ct__9CVector2iFii +/* 80314304 00311264 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314308 00311268 7C 08 03 A6 */ mtlr r0 +/* 8031430C 0031126C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314310 00311270 4E 80 00 20 */ blr + +.global __pl__FRC9CVector2iRC9CVector2i +__pl__FRC9CVector2iRC9CVector2i: +/* 80314314 00311274 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314318 00311278 7C 08 02 A6 */ mflr r0 +/* 8031431C 0031127C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314320 00311280 80 E5 00 00 */ lwz r7, 0(r5) +/* 80314324 00311284 81 04 00 00 */ lwz r8, 0(r4) +/* 80314328 00311288 80 C4 00 04 */ lwz r6, 4(r4) +/* 8031432C 0031128C 80 05 00 04 */ lwz r0, 4(r5) +/* 80314330 00311290 7C 88 3A 14 */ add r4, r8, r7 +/* 80314334 00311294 7C A6 02 14 */ add r5, r6, r0 +/* 80314338 00311298 48 00 00 15 */ bl __ct__9CVector2iFii +/* 8031433C 0031129C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314340 003112A0 7C 08 03 A6 */ mtlr r0 +/* 80314344 003112A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314348 003112A8 4E 80 00 20 */ blr + +.global __ct__9CVector2iFii +__ct__9CVector2iFii: +/* 8031434C 003112AC 90 83 00 00 */ stw r4, 0(r3) +/* 80314350 003112B0 90 A3 00 04 */ stw r5, 4(r3) +/* 80314354 003112B4 4E 80 00 20 */ blr + +.global __ml__FdRC9CVector3d +__ml__FdRC9CVector3d: +/* 80314358 003112B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031435C 003112BC 7C 08 02 A6 */ mflr r0 +/* 80314360 003112C0 FC 60 08 90 */ fmr f3, f1 +/* 80314364 003112C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314368 003112C8 C8 24 00 00 */ lfd f1, 0(r4) +/* 8031436C 003112CC C8 44 00 08 */ lfd f2, 8(r4) +/* 80314370 003112D0 C8 04 00 10 */ lfd f0, 0x10(r4) +/* 80314374 003112D4 FC 23 00 72 */ fmul f1, f3, f1 +/* 80314378 003112D8 FC 43 00 B2 */ fmul f2, f3, f2 +/* 8031437C 003112DC FC 63 00 32 */ fmul f3, f3, f0 +/* 80314380 003112E0 48 00 02 21 */ bl __ct__9CVector3dFddd +/* 80314384 003112E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314388 003112E8 7C 08 03 A6 */ mtlr r0 +/* 8031438C 003112EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314390 003112F0 4E 80 00 20 */ blr + +.global __mi__FRC9CVector3dRC9CVector3d +__mi__FRC9CVector3dRC9CVector3d: +/* 80314394 003112F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314398 003112F8 7C 08 02 A6 */ mflr r0 +/* 8031439C 003112FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803143A0 00311300 C8 24 00 00 */ lfd f1, 0(r4) +/* 803143A4 00311304 C8 05 00 00 */ lfd f0, 0(r5) +/* 803143A8 00311308 C8 84 00 08 */ lfd f4, 8(r4) +/* 803143AC 0031130C C8 45 00 08 */ lfd f2, 8(r5) +/* 803143B0 00311310 FC 21 00 28 */ fsub f1, f1, f0 +/* 803143B4 00311314 C8 64 00 10 */ lfd f3, 0x10(r4) +/* 803143B8 00311318 C8 05 00 10 */ lfd f0, 0x10(r5) +/* 803143BC 0031131C FC 44 10 28 */ fsub f2, f4, f2 +/* 803143C0 00311320 FC 63 00 28 */ fsub f3, f3, f0 +/* 803143C4 00311324 48 00 01 DD */ bl __ct__9CVector3dFddd +/* 803143C8 00311328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803143CC 0031132C 7C 08 03 A6 */ mtlr r0 +/* 803143D0 00311330 38 21 00 10 */ addi r1, r1, 0x10 +/* 803143D4 00311334 4E 80 00 20 */ blr + +.global __pl__FRC9CVector3dRC9CVector3d +__pl__FRC9CVector3dRC9CVector3d: +/* 803143D8 00311338 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803143DC 0031133C 7C 08 02 A6 */ mflr r0 +/* 803143E0 00311340 90 01 00 14 */ stw r0, 0x14(r1) +/* 803143E4 00311344 C8 24 00 00 */ lfd f1, 0(r4) +/* 803143E8 00311348 C8 05 00 00 */ lfd f0, 0(r5) +/* 803143EC 0031134C C8 84 00 08 */ lfd f4, 8(r4) +/* 803143F0 00311350 C8 45 00 08 */ lfd f2, 8(r5) +/* 803143F4 00311354 FC 21 00 2A */ fadd f1, f1, f0 +/* 803143F8 00311358 C8 64 00 10 */ lfd f3, 0x10(r4) +/* 803143FC 0031135C C8 05 00 10 */ lfd f0, 0x10(r5) +/* 80314400 00311360 FC 44 10 2A */ fadd f2, f4, f2 +/* 80314404 00311364 FC 63 00 2A */ fadd f3, f3, f0 +/* 80314408 00311368 48 00 01 99 */ bl __ct__9CVector3dFddd +/* 8031440C 0031136C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314410 00311370 7C 08 03 A6 */ mtlr r0 +/* 80314414 00311374 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314418 00311378 4E 80 00 20 */ blr + +.global Cross__9CVector3dFRC9CVector3dRC9CVector3d +Cross__9CVector3dFRC9CVector3dRC9CVector3d: +/* 8031441C 0031137C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314420 00311380 7C 08 02 A6 */ mflr r0 +/* 80314424 00311384 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314428 00311388 C8 84 00 00 */ lfd f4, 0(r4) +/* 8031442C 0031138C C9 05 00 10 */ lfd f8, 0x10(r5) +/* 80314430 00311390 C8 A4 00 08 */ lfd f5, 8(r4) +/* 80314434 00311394 C8 C5 00 00 */ lfd f6, 0(r5) +/* 80314438 00311398 FC 28 01 32 */ fmul f1, f8, f4 +/* 8031443C 0031139C C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80314440 003113A0 C8 E5 00 08 */ lfd f7, 8(r5) +/* 80314444 003113A4 FC 06 01 72 */ fmul f0, f6, f5 +/* 80314448 003113A8 FC 67 00 B2 */ fmul f3, f7, f2 +/* 8031444C 003113AC FC 42 09 B8 */ fmsub f2, f2, f6, f1 +/* 80314450 003113B0 FC 25 1A 38 */ fmsub f1, f5, f8, f3 +/* 80314454 003113B4 FC 64 01 F8 */ fmsub f3, f4, f7, f0 +/* 80314458 003113B8 48 00 01 49 */ bl __ct__9CVector3dFddd +/* 8031445C 003113BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314460 003113C0 7C 08 03 A6 */ mtlr r0 +/* 80314464 003113C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314468 003113C8 4E 80 00 20 */ blr + +.global Dot__9CVector3dFRC9CVector3dRC9CVector3d +Dot__9CVector3dFRC9CVector3dRC9CVector3d: +/* 8031446C 003113CC C8 23 00 00 */ lfd f1, 0(r3) +/* 80314470 003113D0 C8 04 00 00 */ lfd f0, 0(r4) +/* 80314474 003113D4 C8 83 00 08 */ lfd f4, 8(r3) +/* 80314478 003113D8 FC 21 00 32 */ fmul f1, f1, f0 +/* 8031447C 003113DC C8 64 00 08 */ lfd f3, 8(r4) +/* 80314480 003113E0 C8 43 00 10 */ lfd f2, 0x10(r3) +/* 80314484 003113E4 C8 04 00 10 */ lfd f0, 0x10(r4) +/* 80314488 003113E8 FC 24 08 FA */ fmadd f1, f4, f3, f1 +/* 8031448C 003113EC FC 22 08 3A */ fmadd f1, f2, f0, f1 +/* 80314490 003113F0 4E 80 00 20 */ blr + +.global AsCVector3f__9CVector3dCFv +AsCVector3f__9CVector3dCFv: +/* 80314494 003113F4 C8 04 00 00 */ lfd f0, 0(r4) +/* 80314498 003113F8 C8 44 00 08 */ lfd f2, 8(r4) +/* 8031449C 003113FC FC 00 00 18 */ frsp f0, f0 +/* 803144A0 00311400 C8 24 00 10 */ lfd f1, 0x10(r4) +/* 803144A4 00311404 FC 40 10 18 */ frsp f2, f2 +/* 803144A8 00311408 FC 20 08 18 */ frsp f1, f1 +/* 803144AC 0031140C D0 03 00 00 */ stfs f0, 0(r3) +/* 803144B0 00311410 D0 43 00 04 */ stfs f2, 4(r3) +/* 803144B4 00311414 D0 23 00 08 */ stfs f1, 8(r3) +/* 803144B8 00311418 4E 80 00 20 */ blr + +.global AsNormalized__9CVector3dCFv +AsNormalized__9CVector3dCFv: +/* 803144BC 0031141C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803144C0 00311420 7C 08 02 A6 */ mflr r0 +/* 803144C4 00311424 90 01 00 14 */ stw r0, 0x14(r1) +/* 803144C8 00311428 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803144CC 0031142C 7C 9F 23 78 */ mr r31, r4 +/* 803144D0 00311430 93 C1 00 08 */ stw r30, 8(r1) +/* 803144D4 00311434 7C 7E 1B 78 */ mr r30, r3 +/* 803144D8 00311438 7F E3 FB 78 */ mr r3, r31 +/* 803144DC 0031143C 48 00 00 69 */ bl Magnitude__9CVector3dCFv +/* 803144E0 00311440 C8 02 C9 08 */ lfd f0, lbl_805AE628@sda21(r2) +/* 803144E4 00311444 7F C3 F3 78 */ mr r3, r30 +/* 803144E8 00311448 C8 7F 00 00 */ lfd f3, 0(r31) +/* 803144EC 0031144C FC 80 08 24 */ fdiv f4, f0, f1 +/* 803144F0 00311450 C8 5F 00 08 */ lfd f2, 8(r31) +/* 803144F4 00311454 C8 1F 00 10 */ lfd f0, 0x10(r31) +/* 803144F8 00311458 FC 23 01 32 */ fmul f1, f3, f4 +/* 803144FC 0031145C FC 42 01 32 */ fmul f2, f2, f4 +/* 80314500 00311460 FC 60 01 32 */ fmul f3, f0, f4 +/* 80314504 00311464 48 00 00 9D */ bl __ct__9CVector3dFddd +/* 80314508 00311468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031450C 0031146C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80314510 00311470 83 C1 00 08 */ lwz r30, 8(r1) +/* 80314514 00311474 7C 08 03 A6 */ mtlr r0 +/* 80314518 00311478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031451C 0031147C 4E 80 00 20 */ blr + +.global MagSquared__9CVector3dCFv +MagSquared__9CVector3dCFv: +/* 80314520 00311480 C8 03 00 00 */ lfd f0, 0(r3) +/* 80314524 00311484 C8 43 00 08 */ lfd f2, 8(r3) +/* 80314528 00311488 FC 20 00 32 */ fmul f1, f0, f0 +/* 8031452C 0031148C C8 03 00 10 */ lfd f0, 0x10(r3) +/* 80314530 00311490 FC 42 00 B2 */ fmul f2, f2, f2 +/* 80314534 00311494 FC 00 00 32 */ fmul f0, f0, f0 +/* 80314538 00311498 FC 21 10 2A */ fadd f1, f1, f2 +/* 8031453C 0031149C FC 21 00 2A */ fadd f1, f1, f0 +/* 80314540 003114A0 4E 80 00 20 */ blr + +.global Magnitude__9CVector3dCFv +Magnitude__9CVector3dCFv: +/* 80314544 003114A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314548 003114A8 7C 08 02 A6 */ mflr r0 +/* 8031454C 003114AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314550 003114B0 C8 03 00 00 */ lfd f0, 0(r3) +/* 80314554 003114B4 C8 43 00 08 */ lfd f2, 8(r3) +/* 80314558 003114B8 FC 20 00 32 */ fmul f1, f0, f0 +/* 8031455C 003114BC C8 03 00 10 */ lfd f0, 0x10(r3) +/* 80314560 003114C0 FC 42 00 B2 */ fmul f2, f2, f2 +/* 80314564 003114C4 FC 00 00 32 */ fmul f0, f0, f0 +/* 80314568 003114C8 FC 21 10 2A */ fadd f1, f1, f2 +/* 8031456C 003114CC FC 21 00 2A */ fadd f1, f1, f0 +/* 80314570 003114D0 48 00 0F 01 */ bl SqrtD__5CMathFd +/* 80314574 003114D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314578 003114D8 7C 08 03 A6 */ mtlr r0 +/* 8031457C 003114DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314580 003114E0 4E 80 00 20 */ blr + +.global __ct__9CVector3dFRC9CVector3f +__ct__9CVector3dFRC9CVector3f: +/* 80314584 003114E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80314588 003114E8 D8 03 00 00 */ stfd f0, 0(r3) +/* 8031458C 003114EC C0 04 00 04 */ lfs f0, 4(r4) +/* 80314590 003114F0 D8 03 00 08 */ stfd f0, 8(r3) +/* 80314594 003114F4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80314598 003114F8 D8 03 00 10 */ stfd f0, 0x10(r3) +/* 8031459C 003114FC 4E 80 00 20 */ blr + +.global __ct__9CVector3dFddd +__ct__9CVector3dFddd: +/* 803145A0 00311500 D8 23 00 00 */ stfd f1, 0(r3) +/* 803145A4 00311504 D8 43 00 08 */ stfd f2, 8(r3) +/* 803145A8 00311508 D8 63 00 10 */ stfd f3, 0x10(r3) +/* 803145AC 0031150C 4E 80 00 20 */ blr + +.global IsEqu__9CVector3fCFRC9CVector3ff +IsEqu__9CVector3fCFRC9CVector3ff: +/* 803145B0 00311510 C0 43 00 00 */ lfs f2, 0(r3) +/* 803145B4 00311514 38 A0 00 00 */ li r5, 0 +/* 803145B8 00311518 C0 04 00 00 */ lfs f0, 0(r4) +/* 803145BC 0031151C 7C A0 2B 78 */ mr r0, r5 +/* 803145C0 00311520 EC 02 00 28 */ fsubs f0, f2, f0 +/* 803145C4 00311524 FC 00 02 10 */ fabs f0, f0 +/* 803145C8 00311528 FC 00 00 18 */ frsp f0, f0 +/* 803145CC 0031152C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803145D0 00311530 4C 40 13 82 */ cror 2, 0, 2 +/* 803145D4 00311534 40 82 00 28 */ bne lbl_803145FC +/* 803145D8 00311538 C0 43 00 04 */ lfs f2, 4(r3) +/* 803145DC 0031153C C0 04 00 04 */ lfs f0, 4(r4) +/* 803145E0 00311540 EC 02 00 28 */ fsubs f0, f2, f0 +/* 803145E4 00311544 FC 00 02 10 */ fabs f0, f0 +/* 803145E8 00311548 FC 00 00 18 */ frsp f0, f0 +/* 803145EC 0031154C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803145F0 00311550 4C 40 13 82 */ cror 2, 0, 2 +/* 803145F4 00311554 40 82 00 08 */ bne lbl_803145FC +/* 803145F8 00311558 38 00 00 01 */ li r0, 1 +lbl_803145FC: +/* 803145FC 0031155C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80314600 00311560 41 82 00 28 */ beq lbl_80314628 +/* 80314604 00311564 C0 43 00 08 */ lfs f2, 8(r3) +/* 80314608 00311568 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031460C 0031156C EC 02 00 28 */ fsubs f0, f2, f0 +/* 80314610 00311570 FC 00 02 10 */ fabs f0, f0 +/* 80314614 00311574 FC 00 00 18 */ frsp f0, f0 +/* 80314618 00311578 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8031461C 0031157C 4C 40 13 82 */ cror 2, 0, 2 +/* 80314620 00311580 40 82 00 08 */ bne lbl_80314628 +/* 80314624 00311584 38 A0 00 01 */ li r5, 1 +lbl_80314628: +/* 80314628 00311588 7C A3 2B 78 */ mr r3, r5 +/* 8031462C 0031158C 4E 80 00 20 */ blr + +.global GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f: +/* 80314630 00311590 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80314634 00311594 7C 08 02 A6 */ mflr r0 +/* 80314638 00311598 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031463C 0031159C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80314640 003115A0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80314644 003115A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314648 003115A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031464C 003115AC 7C 7E 1B 78 */ mr r30, r3 +/* 80314650 003115B0 7C 9F 23 78 */ mr r31, r4 +/* 80314654 003115B4 48 00 02 65 */ bl Magnitude__9CVector3fCFv +/* 80314658 003115B8 FF E0 08 90 */ fmr f31, f1 +/* 8031465C 003115BC 7F E3 FB 78 */ mr r3, r31 +/* 80314660 003115C0 48 00 02 59 */ bl Magnitude__9CVector3fCFv +/* 80314664 003115C4 C0 02 C9 14 */ lfs f0, lbl_805AE634@sda21(r2) +/* 80314668 003115C8 C0 42 C9 10 */ lfs f2, lbl_805AE630@sda21(r2) +/* 8031466C 003115CC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80314670 003115D0 40 81 00 64 */ ble lbl_803146D4 +/* 80314674 003115D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314678 003115D8 40 81 00 5C */ ble lbl_803146D4 +/* 8031467C 003115DC C0 5E 00 04 */ lfs f2, 4(r30) +/* 80314680 003115E0 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80314684 003115E4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80314688 003115E8 C0 7E 00 00 */ lfs f3, 0(r30) +/* 8031468C 003115EC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80314690 003115F0 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80314694 003115F4 C0 BE 00 08 */ lfs f5, 8(r30) +/* 80314698 003115F8 C0 9F 00 08 */ lfs f4, 8(r31) +/* 8031469C 003115FC EC 43 00 BA */ fmadds f2, f3, f2, f0 +/* 803146A0 00311600 C0 02 C9 18 */ lfs f0, lbl_805AE638@sda21(r2) +/* 803146A4 00311604 EC 45 11 3A */ fmadds f2, f5, f4, f2 +/* 803146A8 00311608 EC 22 08 24 */ fdivs f1, f2, f1 +/* 803146AC 0031160C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803146B0 00311610 40 80 00 0C */ bge lbl_803146BC +/* 803146B4 00311614 FC 20 00 90 */ fmr f1, f0 +/* 803146B8 00311618 48 00 00 14 */ b lbl_803146CC +lbl_803146BC: +/* 803146BC 0031161C C0 02 C9 1C */ lfs f0, lbl_805AE63C@sda21(r2) +/* 803146C0 00311620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803146C4 00311624 40 81 00 08 */ ble lbl_803146CC +/* 803146C8 00311628 FC 20 00 90 */ fmr f1, f0 +lbl_803146CC: +/* 803146CC 0031162C 48 00 0C C5 */ bl ArcCosineR__5CMathFf +/* 803146D0 00311630 FC 40 08 90 */ fmr f2, f1 +lbl_803146D4: +/* 803146D4 00311634 FC 20 10 90 */ fmr f1, f2 +/* 803146D8 00311638 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803146DC 0031163C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803146E0 00311640 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803146E4 00311644 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803146E8 00311648 83 C1 00 08 */ lwz r30, 8(r1) +/* 803146EC 0031164C 7C 08 03 A6 */ mtlr r0 +/* 803146F0 00311650 38 21 00 20 */ addi r1, r1, 0x20 +/* 803146F4 00311654 4E 80 00 20 */ blr + +.global CanBeNormalized__9CVector3fCFv +CanBeNormalized__9CVector3fCFv: +/* 803146F8 00311658 80 03 00 00 */ lwz r0, 0(r3) +/* 803146FC 0031165C 80 A3 00 04 */ lwz r5, 4(r3) +/* 80314700 00311660 54 04 00 50 */ rlwinm r4, r0, 0, 1, 8 +/* 80314704 00311664 80 C3 00 08 */ lwz r6, 8(r3) +/* 80314708 00311668 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 8031470C 0031166C 28 00 00 00 */ cmplwi r0, 0 +/* 80314710 00311670 41 82 00 24 */ beq lbl_80314734 +/* 80314714 00311674 54 A4 00 50 */ rlwinm r4, r5, 0, 1, 8 +/* 80314718 00311678 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 8031471C 0031167C 28 00 00 00 */ cmplwi r0, 0 +/* 80314720 00311680 41 82 00 14 */ beq lbl_80314734 +/* 80314724 00311684 54 C4 00 50 */ rlwinm r4, r6, 0, 1, 8 +/* 80314728 00311688 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 8031472C 0031168C 28 00 00 00 */ cmplwi r0, 0 +/* 80314730 00311690 40 82 00 0C */ bne lbl_8031473C +lbl_80314734: +/* 80314734 00311694 38 60 00 00 */ li r3, 0 +/* 80314738 00311698 4E 80 00 20 */ blr +lbl_8031473C: +/* 8031473C 0031169C C0 03 00 00 */ lfs f0, 0(r3) +/* 80314740 003116A0 C0 22 C9 14 */ lfs f1, lbl_805AE634@sda21(r2) +/* 80314744 003116A4 FC 00 02 10 */ fabs f0, f0 +/* 80314748 003116A8 FC 00 00 18 */ frsp f0, f0 +/* 8031474C 003116AC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80314750 003116B0 40 80 00 34 */ bge lbl_80314784 +/* 80314754 003116B4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80314758 003116B8 FC 00 02 10 */ fabs f0, f0 +/* 8031475C 003116BC FC 00 00 18 */ frsp f0, f0 +/* 80314760 003116C0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80314764 003116C4 40 80 00 20 */ bge lbl_80314784 +/* 80314768 003116C8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8031476C 003116CC FC 00 02 10 */ fabs f0, f0 +/* 80314770 003116D0 FC 00 00 18 */ frsp f0, f0 +/* 80314774 003116D4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80314778 003116D8 40 80 00 0C */ bge lbl_80314784 +/* 8031477C 003116DC 38 60 00 00 */ li r3, 0 +/* 80314780 003116E0 4E 80 00 20 */ blr +lbl_80314784: +/* 80314784 003116E4 38 60 00 01 */ li r3, 1 +/* 80314788 003116E8 4E 80 00 20 */ blr + +.global IsMagnitudeSafe__9CVector3fCFv +IsMagnitudeSafe__9CVector3fCFv: +/* 8031478C 003116EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314790 003116F0 7C 08 02 A6 */ mflr r0 +/* 80314794 003116F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314798 003116F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031479C 003116FC 3B E0 00 00 */ li r31, 0 +/* 803147A0 00311700 93 C1 00 08 */ stw r30, 8(r1) +/* 803147A4 00311704 7C 7E 1B 78 */ mr r30, r3 +/* 803147A8 00311708 48 00 00 5D */ bl IsNotInf__9CVector3fCFv +/* 803147AC 0031170C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803147B0 00311710 41 82 00 38 */ beq lbl_803147E8 +/* 803147B4 00311714 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803147B8 00311718 C0 1E 00 04 */ lfs f0, 4(r30) +/* 803147BC 0031171C EC 41 00 72 */ fmuls f2, f1, f1 +/* 803147C0 00311720 C0 7E 00 08 */ lfs f3, 8(r30) +/* 803147C4 00311724 EC 20 00 32 */ fmuls f1, f0, f0 +/* 803147C8 00311728 C0 02 C9 20 */ lfs f0, lbl_805AE640@sda21(r2) +/* 803147CC 0031172C EC 63 00 F2 */ fmuls f3, f3, f3 +/* 803147D0 00311730 EC 22 08 2A */ fadds f1, f2, f1 +/* 803147D4 00311734 EC 23 08 2A */ fadds f1, f3, f1 +/* 803147D8 00311738 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803147DC 0031173C 4C 41 13 82 */ cror 2, 1, 2 +/* 803147E0 00311740 40 82 00 08 */ bne lbl_803147E8 +/* 803147E4 00311744 3B E0 00 01 */ li r31, 1 +lbl_803147E8: +/* 803147E8 00311748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803147EC 0031174C 7F E3 FB 78 */ mr r3, r31 +/* 803147F0 00311750 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803147F4 00311754 83 C1 00 08 */ lwz r30, 8(r1) +/* 803147F8 00311758 7C 08 03 A6 */ mtlr r0 +/* 803147FC 0031175C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314800 00311760 4E 80 00 20 */ blr + +.global IsNotInf__9CVector3fCFv +IsNotInf__9CVector3fCFv: +/* 80314804 00311764 80 03 00 00 */ lwz r0, 0(r3) +/* 80314808 00311768 80 A3 00 04 */ lwz r5, 4(r3) +/* 8031480C 0031176C 54 04 00 50 */ rlwinm r4, r0, 0, 1, 8 +/* 80314810 00311770 80 C3 00 08 */ lwz r6, 8(r3) +/* 80314814 00311774 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 80314818 00311778 28 00 00 00 */ cmplwi r0, 0 +/* 8031481C 0031177C 41 82 00 24 */ beq lbl_80314840 +/* 80314820 00311780 54 A3 00 50 */ rlwinm r3, r5, 0, 1, 8 +/* 80314824 00311784 3C 03 80 80 */ addis r0, r3, 0x8080 +/* 80314828 00311788 28 00 00 00 */ cmplwi r0, 0 +/* 8031482C 0031178C 41 82 00 14 */ beq lbl_80314840 +/* 80314830 00311790 54 C3 00 50 */ rlwinm r3, r6, 0, 1, 8 +/* 80314834 00311794 3C 03 80 80 */ addis r0, r3, 0x8080 +/* 80314838 00311798 28 00 00 00 */ cmplwi r0, 0 +/* 8031483C 0031179C 40 82 00 0C */ bne lbl_80314848 +lbl_80314840: +/* 80314840 003117A0 38 60 00 00 */ li r3, 0 +/* 80314844 003117A4 4E 80 00 20 */ blr +lbl_80314848: +/* 80314848 003117A8 38 60 00 01 */ li r3, 1 +/* 8031484C 003117AC 4E 80 00 20 */ blr + +.global AsNormalized__9CVector3fCFv +AsNormalized__9CVector3fCFv: +/* 80314850 003117B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314854 003117B4 7C 08 02 A6 */ mflr r0 +/* 80314858 003117B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031485C 003117BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314860 003117C0 7C 9F 23 78 */ mr r31, r4 +/* 80314864 003117C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80314868 003117C8 7C 7E 1B 78 */ mr r30, r3 +/* 8031486C 003117CC 7F E3 FB 78 */ mr r3, r31 +/* 80314870 003117D0 48 00 00 49 */ bl Magnitude__9CVector3fCFv +/* 80314874 003117D4 C0 42 C9 1C */ lfs f2, lbl_805AE63C@sda21(r2) +/* 80314878 003117D8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8031487C 003117DC EC 62 08 24 */ fdivs f3, f2, f1 +/* 80314880 003117E0 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80314884 003117E4 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80314888 003117E8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8031488C 003117EC EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80314890 003117F0 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80314894 003117F4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80314898 003117F8 D0 5E 00 04 */ stfs f2, 4(r30) +/* 8031489C 003117FC D0 3E 00 08 */ stfs f1, 8(r30) +/* 803148A0 00311800 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803148A4 00311804 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803148A8 00311808 83 C1 00 08 */ lwz r30, 8(r1) +/* 803148AC 0031180C 7C 08 03 A6 */ mtlr r0 +/* 803148B0 00311810 38 21 00 10 */ addi r1, r1, 0x10 +/* 803148B4 00311814 4E 80 00 20 */ blr + +.global Magnitude__9CVector3fCFv +Magnitude__9CVector3fCFv: +/* 803148B8 00311818 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803148BC 0031181C 7C 08 02 A6 */ mflr r0 +/* 803148C0 00311820 90 01 00 14 */ stw r0, 0x14(r1) +/* 803148C4 00311824 C0 03 00 00 */ lfs f0, 0(r3) +/* 803148C8 00311828 C0 43 00 04 */ lfs f2, 4(r3) +/* 803148CC 0031182C EC 20 00 32 */ fmuls f1, f0, f0 +/* 803148D0 00311830 C0 03 00 08 */ lfs f0, 8(r3) +/* 803148D4 00311834 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 803148D8 00311838 EC 00 00 32 */ fmuls f0, f0, f0 +/* 803148DC 0031183C EC 21 10 2A */ fadds f1, f1, f2 +/* 803148E0 00311840 EC 21 00 2A */ fadds f1, f1, f0 +/* 803148E4 00311844 48 00 0C 1D */ bl SqrtF__5CMathFf +/* 803148E8 00311848 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803148EC 0031184C 7C 08 03 A6 */ mtlr r0 +/* 803148F0 00311850 38 21 00 10 */ addi r1, r1, 0x10 +/* 803148F4 00311854 4E 80 00 20 */ blr + +.global Normalize__9CVector3fFv +Normalize__9CVector3fFv: +/* 803148F8 00311858 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803148FC 0031185C 7C 08 02 A6 */ mflr r0 +/* 80314900 00311860 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314904 00311864 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314908 00311868 7C 7F 1B 78 */ mr r31, r3 +/* 8031490C 0031186C 4B FF FF AD */ bl Magnitude__9CVector3fCFv +/* 80314910 00311870 C0 42 C9 1C */ lfs f2, lbl_805AE63C@sda21(r2) +/* 80314914 00311874 7F E3 FB 78 */ mr r3, r31 +/* 80314918 00311878 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8031491C 0031187C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80314920 00311880 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314924 00311884 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80314928 00311888 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031492C 0031188C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314930 00311890 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80314934 00311894 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80314938 00311898 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031493C 0031189C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80314940 003118A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80314944 003118A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314948 003118A8 7C 08 03 A6 */ mtlr r0 +/* 8031494C 003118AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314950 003118B0 4E 80 00 20 */ blr + +.global Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle +Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle: +/* 80314954 003118B4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80314958 003118B8 7C 08 02 A6 */ mflr r0 +/* 8031495C 003118BC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80314960 003118C0 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80314964 003118C4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80314968 003118C8 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8031496C 003118CC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 80314970 003118D0 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 80314974 003118D4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 80314978 003118D8 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8031497C 003118DC F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 80314980 003118E0 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 80314984 003118E4 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 80314988 003118E8 DB 41 00 50 */ stfd f26, 0x50(r1) +/* 8031498C 003118EC F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 +/* 80314990 003118F0 DB 21 00 40 */ stfd f25, 0x40(r1) +/* 80314994 003118F4 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 +/* 80314998 003118F8 DB 01 00 30 */ stfd f24, 0x30(r1) +/* 8031499C 003118FC F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 +/* 803149A0 00311900 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803149A4 00311904 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803149A8 00311908 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803149AC 0031190C 7C 9E 23 78 */ mr r30, r4 +/* 803149B0 00311910 7C 7D 1B 78 */ mr r29, r3 +/* 803149B4 00311914 C0 64 00 00 */ lfs f3, 0(r4) +/* 803149B8 00311918 7C DF 33 78 */ mr r31, r6 +/* 803149BC 0031191C C0 E5 00 08 */ lfs f7, 8(r5) +/* 803149C0 00311920 38 61 00 14 */ addi r3, r1, 0x14 +/* 803149C4 00311924 C0 84 00 04 */ lfs f4, 4(r4) +/* 803149C8 00311928 38 81 00 08 */ addi r4, r1, 8 +/* 803149CC 0031192C C0 A5 00 00 */ lfs f5, 0(r5) +/* 803149D0 00311930 EC 27 00 F2 */ fmuls f1, f7, f3 +/* 803149D4 00311934 C0 5E 00 08 */ lfs f2, 8(r30) +/* 803149D8 00311938 C0 C5 00 04 */ lfs f6, 4(r5) +/* 803149DC 0031193C EC 05 01 32 */ fmuls f0, f5, f4 +/* 803149E0 00311940 EC 22 09 78 */ fmsubs f1, f2, f5, f1 +/* 803149E4 00311944 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 803149E8 00311948 EC 03 01 B8 */ fmsubs f0, f3, f6, f0 +/* 803149EC 0031194C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803149F0 00311950 EC 24 11 F8 */ fmsubs f1, f4, f7, f2 +/* 803149F4 00311954 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803149F8 00311958 D0 21 00 08 */ stfs f1, 8(r1) +/* 803149FC 0031195C 4B FF FE 55 */ bl AsNormalized__9CVector3fCFv +/* 80314A00 00311960 C3 41 00 18 */ lfs f26, 0x18(r1) +/* 80314A04 00311964 C3 DE 00 00 */ lfs f30, 0(r30) +/* 80314A08 00311968 C3 BE 00 04 */ lfs f29, 4(r30) +/* 80314A0C 0031196C EC 1E 06 B2 */ fmuls f0, f30, f26 +/* 80314A10 00311970 C3 01 00 14 */ lfs f24, 0x14(r1) +/* 80314A14 00311974 C3 21 00 1C */ lfs f25, 0x1c(r1) +/* 80314A18 00311978 C3 9E 00 08 */ lfs f28, 8(r30) +/* 80314A1C 0031197C EF F8 07 78 */ fmsubs f31, f24, f29, f0 +/* 80314A20 00311980 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80314A24 00311984 48 08 00 B9 */ bl sin +/* 80314A28 00311988 FF 60 08 18 */ frsp f27, f1 +/* 80314A2C 0031198C C0 3F 00 00 */ lfs f1, 0(r31) +/* 80314A30 00311990 48 07 F9 C1 */ bl cos +/* 80314A34 00311994 EC 1D 06 72 */ fmuls f0, f29, f25 +/* 80314A38 00311998 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80314A3C 0031199C EC 9C 06 32 */ fmuls f4, f28, f24 +/* 80314A40 003119A0 C0 BE 00 04 */ lfs f5, 4(r30) +/* 80314A44 003119A4 FC C0 08 18 */ frsp f6, f1 +/* 80314A48 003119A8 C0 7E 00 08 */ lfs f3, 8(r30) +/* 80314A4C 003119AC EC 1A 07 38 */ fmsubs f0, f26, f28, f0 +/* 80314A50 003119B0 EC 99 27 B8 */ fmsubs f4, f25, f30, f4 +/* 80314A54 003119B4 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 80314A58 003119B8 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 80314A5C 003119BC EC A6 01 72 */ fmuls f5, f6, f5 +/* 80314A60 003119C0 EC 9B 01 32 */ fmuls f4, f27, f4 +/* 80314A64 003119C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80314A68 003119C8 EC 46 00 F2 */ fmuls f2, f6, f3 +/* 80314A6C 003119CC EC 3B 07 F2 */ fmuls f1, f27, f31 +/* 80314A70 003119D0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80314A74 003119D4 EC 65 20 2A */ fadds f3, f5, f4 +/* 80314A78 003119D8 EC 02 08 2A */ fadds f0, f2, f1 +/* 80314A7C 003119DC D0 7D 00 04 */ stfs f3, 4(r29) +/* 80314A80 003119E0 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80314A84 003119E4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80314A88 003119E8 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80314A8C 003119EC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 80314A90 003119F0 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80314A94 003119F4 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 80314A98 003119F8 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 80314A9C 003119FC E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 80314AA0 00311A00 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 80314AA4 00311A04 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 80314AA8 00311A08 CB 61 00 60 */ lfd f27, 0x60(r1) +/* 80314AAC 00311A0C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 +/* 80314AB0 00311A10 CB 41 00 50 */ lfd f26, 0x50(r1) +/* 80314AB4 00311A14 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 +/* 80314AB8 00311A18 CB 21 00 40 */ lfd f25, 0x40(r1) +/* 80314ABC 00311A1C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 +/* 80314AC0 00311A20 CB 01 00 30 */ lfd f24, 0x30(r1) +/* 80314AC4 00311A24 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80314AC8 00311A28 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80314ACC 00311A2C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80314AD0 00311A30 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80314AD4 00311A34 7C 08 03 A6 */ mtlr r0 +/* 80314AD8 00311A38 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80314ADC 00311A3C 4E 80 00 20 */ blr + +.global PutTo__9CVector3fCFR13COutputStream +PutTo__9CVector3fCFR13COutputStream: +/* 80314AE0 00311A40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80314AE4 00311A44 7C 08 02 A6 */ mflr r0 +/* 80314AE8 00311A48 90 01 00 34 */ stw r0, 0x34(r1) +/* 80314AEC 00311A4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80314AF0 00311A50 7C 9F 23 78 */ mr r31, r4 +/* 80314AF4 00311A54 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80314AF8 00311A58 7C 7E 1B 78 */ mr r30, r3 +/* 80314AFC 00311A5C C0 03 00 00 */ lfs f0, 0(r3) +/* 80314B00 00311A60 7F E3 FB 78 */ mr r3, r31 +/* 80314B04 00311A64 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80314B08 00311A68 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80314B0C 00311A6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80314B10 00311A70 48 02 A9 A9 */ bl FlushShiftRegister__13COutputStreamFv +/* 80314B14 00311A74 7F E3 FB 78 */ mr r3, r31 +/* 80314B18 00311A78 38 81 00 10 */ addi r4, r1, 0x10 +/* 80314B1C 00311A7C 38 A0 00 04 */ li r5, 4 +/* 80314B20 00311A80 48 02 AA 89 */ bl DoPut__13COutputStreamFPCvUl +/* 80314B24 00311A84 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80314B28 00311A88 7F E3 FB 78 */ mr r3, r31 +/* 80314B2C 00311A8C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80314B30 00311A90 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80314B34 00311A94 90 01 00 0C */ stw r0, 0xc(r1) +/* 80314B38 00311A98 48 02 A9 81 */ bl FlushShiftRegister__13COutputStreamFv +/* 80314B3C 00311A9C 7F E3 FB 78 */ mr r3, r31 +/* 80314B40 00311AA0 38 81 00 0C */ addi r4, r1, 0xc +/* 80314B44 00311AA4 38 A0 00 04 */ li r5, 4 +/* 80314B48 00311AA8 48 02 AA 61 */ bl DoPut__13COutputStreamFPCvUl +/* 80314B4C 00311AAC C0 1E 00 08 */ lfs f0, 8(r30) +/* 80314B50 00311AB0 7F E3 FB 78 */ mr r3, r31 +/* 80314B54 00311AB4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80314B58 00311AB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314B5C 00311ABC 90 01 00 08 */ stw r0, 8(r1) +/* 80314B60 00311AC0 48 02 A9 59 */ bl FlushShiftRegister__13COutputStreamFv +/* 80314B64 00311AC4 7F E3 FB 78 */ mr r3, r31 +/* 80314B68 00311AC8 38 81 00 08 */ addi r4, r1, 8 +/* 80314B6C 00311ACC 38 A0 00 04 */ li r5, 4 +/* 80314B70 00311AD0 48 02 AA 39 */ bl DoPut__13COutputStreamFPCvUl +/* 80314B74 00311AD4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80314B78 00311AD8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80314B7C 00311ADC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80314B80 00311AE0 7C 08 03 A6 */ mtlr r0 +/* 80314B84 00311AE4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80314B88 00311AE8 4E 80 00 20 */ blr + +.global __ct__9CVector3fFR12CInputStream +__ct__9CVector3fFR12CInputStream: +/* 80314B8C 00311AEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314B90 00311AF0 7C 08 02 A6 */ mflr r0 +/* 80314B94 00311AF4 38 A0 00 0C */ li r5, 0xc +/* 80314B98 00311AF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314B9C 00311AFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314BA0 00311B00 7C 7F 1B 78 */ mr r31, r3 +/* 80314BA4 00311B04 7C 83 23 78 */ mr r3, r4 +/* 80314BA8 00311B08 7F E4 FB 78 */ mr r4, r31 +/* 80314BAC 00311B0C 48 02 A3 A9 */ bl Get__12CInputStreamFPvUl +/* 80314BB0 00311B10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314BB4 00311B14 7F E3 FB 78 */ mr r3, r31 +/* 80314BB8 00311B18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80314BBC 00311B1C 7C 08 03 A6 */ mtlr r0 +/* 80314BC0 00311B20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314BC4 00311B24 4E 80 00 20 */ blr + +.global __sinit_CVector3f_cpp +__sinit_CVector3f_cpp: +/* 80314BC8 00311B28 C0 42 C9 10 */ lfs f2, lbl_805AE630@sda21(r2) +/* 80314BCC 00311B2C 3D 20 80 5A */ lis r9, skZero3f@ha +/* 80314BD0 00311B30 C0 02 C9 18 */ lfs f0, lbl_805AE638@sda21(r2) +/* 80314BD4 00311B34 3D 00 80 5A */ lis r8, lbl_805A66F4@ha +/* 80314BD8 00311B38 D4 49 66 A0 */ stfsu f2, skZero3f@l(r9) +/* 80314BDC 00311B3C 3C E0 80 5A */ lis r7, lbl_805A6700@ha +/* 80314BE0 00311B40 3C C0 80 5A */ lis r6, lbl_805A670C@ha +/* 80314BE4 00311B44 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 80314BE8 00311B48 D4 47 67 00 */ stfsu f2, lbl_805A6700@l(r7) +/* 80314BEC 00311B4C 3C 60 80 5A */ lis r3, lbl_805A6730@ha +/* 80314BF0 00311B50 C0 22 C9 1C */ lfs f1, lbl_805AE63C@sda21(r2) +/* 80314BF4 00311B54 3C A0 80 5A */ lis r5, lbl_805A6718@ha +/* 80314BF8 00311B58 D4 48 66 F4 */ stfsu f2, lbl_805A66F4@l(r8) +/* 80314BFC 00311B5C D4 06 67 0C */ stfsu f0, lbl_805A670C@l(r6) +/* 80314C00 00311B60 D4 25 67 18 */ stfsu f1, lbl_805A6718@l(r5) +/* 80314C04 00311B64 D4 44 67 24 */ stfsu f2, lbl_805A6724@l(r4) +/* 80314C08 00311B68 D4 43 67 30 */ stfsu f2, lbl_805A6730@l(r3) +/* 80314C0C 00311B6C D0 49 00 04 */ stfs f2, 4(r9) +/* 80314C10 00311B70 D0 49 00 08 */ stfs f2, 8(r9) +/* 80314C14 00311B74 D0 48 00 04 */ stfs f2, 4(r8) +/* 80314C18 00311B78 D0 28 00 08 */ stfs f1, 8(r8) +/* 80314C1C 00311B7C D0 47 00 04 */ stfs f2, 4(r7) +/* 80314C20 00311B80 D0 07 00 08 */ stfs f0, 8(r7) +/* 80314C24 00311B84 D0 46 00 04 */ stfs f2, 4(r6) +/* 80314C28 00311B88 D0 46 00 08 */ stfs f2, 8(r6) +/* 80314C2C 00311B8C D0 45 00 04 */ stfs f2, 4(r5) +/* 80314C30 00311B90 D0 45 00 08 */ stfs f2, 8(r5) +/* 80314C34 00311B94 D0 24 00 04 */ stfs f1, 4(r4) +/* 80314C38 00311B98 D0 44 00 08 */ stfs f2, 8(r4) +/* 80314C3C 00311B9C D0 03 00 04 */ stfs f0, 4(r3) +/* 80314C40 00311BA0 D0 43 00 08 */ stfs f2, 8(r3) +/* 80314C44 00311BA4 4E 80 00 20 */ blr + +.global __ct__9CVector3iFiii +__ct__9CVector3iFiii: +/* 80314C48 00311BA8 90 83 00 00 */ stw r4, 0(r3) +/* 80314C4C 00311BAC 90 A3 00 04 */ stw r5, 4(r3) +/* 80314C50 00311BB0 90 C3 00 08 */ stw r6, 8(r3) +/* 80314C54 00311BB4 4E 80 00 20 */ blr + +.global FloorPowerOfTwo__5CMathFi +FloorPowerOfTwo__5CMathFi: +/* 80314C58 00311BB8 2C 03 00 00 */ cmpwi r3, 0 +/* 80314C5C 00311BBC 40 82 00 0C */ bne lbl_80314C68 +/* 80314C60 00311BC0 38 60 00 00 */ li r3, 0 +/* 80314C64 00311BC4 4E 80 00 20 */ blr +lbl_80314C68: +/* 80314C68 00311BC8 3C A0 00 01 */ lis r5, 0x0000FFFF@ha +/* 80314C6C 00311BCC 38 80 00 01 */ li r4, 1 +/* 80314C70 00311BD0 38 05 FF FF */ addi r0, r5, 0x0000FFFF@l +/* 80314C74 00311BD4 7C 03 00 50 */ subf r0, r3, r0 +/* 80314C78 00311BD8 54 05 2E F6 */ rlwinm r5, r0, 5, 0x1b, 0x1b +/* 80314C7C 00311BDC 7C 60 2C 30 */ srw r0, r3, r5 +/* 80314C80 00311BE0 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80314C84 00311BE4 20 03 00 FF */ subfic r0, r3, 0xff +/* 80314C88 00311BE8 54 06 27 38 */ rlwinm r6, r0, 4, 0x1c, 0x1c +/* 80314C8C 00311BEC 7C 60 34 30 */ srw r0, r3, r6 +/* 80314C90 00311BF0 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80314C94 00311BF4 20 03 00 0F */ subfic r0, r3, 0xf +/* 80314C98 00311BF8 54 07 1F 7A */ rlwinm r7, r0, 3, 0x1d, 0x1d +/* 80314C9C 00311BFC 7C 60 3C 30 */ srw r0, r3, r7 +/* 80314CA0 00311C00 54 08 07 3E */ clrlwi r8, r0, 0x1c +/* 80314CA4 00311C04 7C 06 3A 14 */ add r0, r6, r7 +/* 80314CA8 00311C08 20 68 00 03 */ subfic r3, r8, 3 +/* 80314CAC 00311C0C 54 66 17 BC */ rlwinm r6, r3, 2, 0x1e, 0x1e +/* 80314CB0 00311C10 7D 03 34 30 */ srw r3, r8, r6 +/* 80314CB4 00311C14 54 63 07 BE */ clrlwi r3, r3, 0x1e +/* 80314CB8 00311C18 7C 00 32 14 */ add r0, r0, r6 +/* 80314CBC 00311C1C 20 63 00 01 */ subfic r3, r3, 1 +/* 80314CC0 00311C20 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80314CC4 00311C24 7C 00 1A 14 */ add r0, r0, r3 +/* 80314CC8 00311C28 7C 05 02 14 */ add r0, r5, r0 +/* 80314CCC 00311C2C 7C 83 00 30 */ slw r3, r4, r0 +/* 80314CD0 00311C30 4E 80 00 20 */ blr + +.global FastArcCosR__5CMathFf +FastArcCosR__5CMathFf: +/* 80314CD4 00311C34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314CD8 00311C38 7C 08 02 A6 */ mflr r0 +/* 80314CDC 00311C3C FC 40 0A 10 */ fabs f2, f1 +/* 80314CE0 00311C40 C8 02 C9 40 */ lfd f0, lbl_805AE660@sda21(r2) +/* 80314CE4 00311C44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314CE8 00311C48 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80314CEC 00311C4C 40 81 00 10 */ ble lbl_80314CFC +/* 80314CF0 00311C50 48 07 FF 3D */ bl acos +/* 80314CF4 00311C54 FC 20 08 18 */ frsp f1, f1 +/* 80314CF8 00311C58 48 00 00 3C */ b lbl_80314D34 +lbl_80314CFC: +/* 80314CFC 00311C5C EC 81 00 72 */ fmuls f4, f1, f1 +/* 80314D00 00311C60 C0 A2 C9 28 */ lfs f5, lbl_805AE648@sda21(r2) +/* 80314D04 00311C64 C0 02 C9 2C */ lfs f0, lbl_805AE64C@sda21(r2) +/* 80314D08 00311C68 C0 62 C9 30 */ lfs f3, lbl_805AE650@sda21(r2) +/* 80314D0C 00311C6C EC A1 28 3A */ fmadds f5, f1, f0, f5 +/* 80314D10 00311C70 C0 42 C9 34 */ lfs f2, lbl_805AE654@sda21(r2) +/* 80314D14 00311C74 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314D18 00311C78 C0 02 C9 38 */ lfs f0, lbl_805AE658@sda21(r2) +/* 80314D1C 00311C7C EC A1 28 FA */ fmadds f5, f1, f3, f5 +/* 80314D20 00311C80 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314D24 00311C84 EC A1 28 BA */ fmadds f5, f1, f2, f5 +/* 80314D28 00311C88 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314D2C 00311C8C EC A1 28 3A */ fmadds f5, f1, f0, f5 +/* 80314D30 00311C90 FC 20 28 90 */ fmr f1, f5 +lbl_80314D34: +/* 80314D34 00311C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314D38 00311C98 7C 08 03 A6 */ mtlr r0 +/* 80314D3C 00311C9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314D40 00311CA0 4E 80 00 20 */ blr + +.global FastCosR__5CMathFf +FastCosR__5CMathFf: +/* 80314D44 00311CA4 FC 40 0A 10 */ fabs f2, f1 +/* 80314D48 00311CA8 C8 02 C9 60 */ lfd f0, lbl_805AE680@sda21(r2) +/* 80314D4C 00311CAC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80314D50 00311CB0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80314D54 00311CB4 40 81 00 60 */ ble lbl_80314DB4 +/* 80314D58 00311CB8 C0 02 C9 68 */ lfs f0, lbl_805AE688@sda21(r2) +/* 80314D5C 00311CBC 3C 00 43 30 */ lis r0, 0x4330 +/* 80314D60 00311CC0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80314D64 00311CC4 EC 61 00 32 */ fmuls f3, f1, f0 +/* 80314D68 00311CC8 C8 82 C9 78 */ lfd f4, lbl_805AE698@sda21(r2) +/* 80314D6C 00311CCC C0 42 C9 6C */ lfs f2, lbl_805AE68C@sda21(r2) +/* 80314D70 00311CD0 C0 02 C9 70 */ lfs f0, lbl_805AE690@sda21(r2) +/* 80314D74 00311CD4 FC 60 18 1E */ fctiwz f3, f3 +/* 80314D78 00311CD8 D8 61 00 08 */ stfd f3, 8(r1) +/* 80314D7C 00311CDC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80314D80 00311CE0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80314D84 00311CE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314D88 00311CE8 C8 61 00 10 */ lfd f3, 0x10(r1) +/* 80314D8C 00311CEC EC 63 20 28 */ fsubs f3, f3, f4 +/* 80314D90 00311CF0 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 80314D94 00311CF4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314D98 00311CF8 40 81 00 0C */ ble lbl_80314DA4 +/* 80314D9C 00311CFC EC 21 10 28 */ fsubs f1, f1, f2 +/* 80314DA0 00311D00 48 00 00 14 */ b lbl_80314DB4 +lbl_80314DA4: +/* 80314DA4 00311D04 C0 02 C9 74 */ lfs f0, lbl_805AE694@sda21(r2) +/* 80314DA8 00311D08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314DAC 00311D0C 40 80 00 08 */ bge lbl_80314DB4 +/* 80314DB0 00311D10 EC 22 08 2A */ fadds f1, f2, f1 +lbl_80314DB4: +/* 80314DB4 00311D14 EC 81 00 72 */ fmuls f4, f1, f1 +/* 80314DB8 00311D18 C0 22 C9 48 */ lfs f1, lbl_805AE668@sda21(r2) +/* 80314DBC 00311D1C C0 02 C9 4C */ lfs f0, lbl_805AE66C@sda21(r2) +/* 80314DC0 00311D20 C0 62 C9 50 */ lfs f3, lbl_805AE670@sda21(r2) +/* 80314DC4 00311D24 EC 24 08 3A */ fmadds f1, f4, f0, f1 +/* 80314DC8 00311D28 C0 42 C9 54 */ lfs f2, lbl_805AE674@sda21(r2) +/* 80314DCC 00311D2C EC A4 01 32 */ fmuls f5, f4, f4 +/* 80314DD0 00311D30 C0 02 C9 58 */ lfs f0, lbl_805AE678@sda21(r2) +/* 80314DD4 00311D34 EC 25 08 FA */ fmadds f1, f5, f3, f1 +/* 80314DD8 00311D38 EC A5 01 32 */ fmuls f5, f5, f4 +/* 80314DDC 00311D3C EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 80314DE0 00311D40 EC A5 01 32 */ fmuls f5, f5, f4 +/* 80314DE4 00311D44 EC 25 08 3A */ fmadds f1, f5, f0, f1 +/* 80314DE8 00311D48 38 21 00 20 */ addi r1, r1, 0x20 +/* 80314DEC 00311D4C 4E 80 00 20 */ blr + +.global FastSinR__5CMathFf +FastSinR__5CMathFf: +/* 80314DF0 00311D50 FC 40 0A 10 */ fabs f2, f1 +/* 80314DF4 00311D54 C8 02 C9 60 */ lfd f0, lbl_805AE680@sda21(r2) +/* 80314DF8 00311D58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80314DFC 00311D5C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80314E00 00311D60 40 81 00 60 */ ble lbl_80314E60 +/* 80314E04 00311D64 C0 02 C9 68 */ lfs f0, lbl_805AE688@sda21(r2) +/* 80314E08 00311D68 3C 00 43 30 */ lis r0, 0x4330 +/* 80314E0C 00311D6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80314E10 00311D70 EC 61 00 32 */ fmuls f3, f1, f0 +/* 80314E14 00311D74 C8 82 C9 78 */ lfd f4, lbl_805AE698@sda21(r2) +/* 80314E18 00311D78 C0 42 C9 6C */ lfs f2, lbl_805AE68C@sda21(r2) +/* 80314E1C 00311D7C C0 02 C9 70 */ lfs f0, lbl_805AE690@sda21(r2) +/* 80314E20 00311D80 FC 60 18 1E */ fctiwz f3, f3 +/* 80314E24 00311D84 D8 61 00 08 */ stfd f3, 8(r1) +/* 80314E28 00311D88 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80314E2C 00311D8C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80314E30 00311D90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314E34 00311D94 C8 61 00 10 */ lfd f3, 0x10(r1) +/* 80314E38 00311D98 EC 63 20 28 */ fsubs f3, f3, f4 +/* 80314E3C 00311D9C EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 80314E40 00311DA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314E44 00311DA4 40 81 00 0C */ ble lbl_80314E50 +/* 80314E48 00311DA8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80314E4C 00311DAC 48 00 00 14 */ b lbl_80314E60 +lbl_80314E50: +/* 80314E50 00311DB0 C0 02 C9 74 */ lfs f0, lbl_805AE694@sda21(r2) +/* 80314E54 00311DB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314E58 00311DB8 40 80 00 08 */ bge lbl_80314E60 +/* 80314E5C 00311DBC EC 22 08 2A */ fadds f1, f2, f1 +lbl_80314E60: +/* 80314E60 00311DC0 EC 81 00 72 */ fmuls f4, f1, f1 +/* 80314E64 00311DC4 C0 02 C9 80 */ lfs f0, lbl_805AE6A0@sda21(r2) +/* 80314E68 00311DC8 C0 62 C9 84 */ lfs f3, lbl_805AE6A4@sda21(r2) +/* 80314E6C 00311DCC EC A1 00 32 */ fmuls f5, f1, f0 +/* 80314E70 00311DD0 C0 42 C9 88 */ lfs f2, lbl_805AE6A8@sda21(r2) +/* 80314E74 00311DD4 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314E78 00311DD8 C0 02 C9 8C */ lfs f0, lbl_805AE6AC@sda21(r2) +/* 80314E7C 00311DDC EC A1 28 FA */ fmadds f5, f1, f3, f5 +/* 80314E80 00311DE0 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314E84 00311DE4 EC A1 28 BA */ fmadds f5, f1, f2, f5 +/* 80314E88 00311DE8 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314E8C 00311DEC EC A1 28 3A */ fmadds f5, f1, f0, f5 +/* 80314E90 00311DF0 FC 20 28 90 */ fmr f1, f5 +/* 80314E94 00311DF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80314E98 00311DF8 4E 80 00 20 */ blr + +.global BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 80314E9C 00311DFC C0 A7 00 04 */ lfs f5, 4(r7) +/* 80314EA0 00311E00 C0 05 00 00 */ lfs f0, 0(r5) +/* 80314EA4 00311E04 C0 45 00 04 */ lfs f2, 4(r5) +/* 80314EA8 00311E08 C0 87 00 00 */ lfs f4, 0(r7) +/* 80314EAC 00311E0C EC 25 00 32 */ fmuls f1, f5, f0 +/* 80314EB0 00311E10 C0 04 00 00 */ lfs f0, 0(r4) +/* 80314EB4 00311E14 EC C5 00 B2 */ fmuls f6, f5, f2 +/* 80314EB8 00311E18 C0 64 00 04 */ lfs f3, 4(r4) +/* 80314EBC 00311E1C EC 44 00 32 */ fmuls f2, f4, f0 +/* 80314EC0 00311E20 C0 04 00 08 */ lfs f0, 8(r4) +/* 80314EC4 00311E24 EC E4 00 F2 */ fmuls f7, f4, f3 +/* 80314EC8 00311E28 C0 65 00 08 */ lfs f3, 8(r5) +/* 80314ECC 00311E2C C1 07 00 08 */ lfs f8, 8(r7) +/* 80314ED0 00311E30 EC 84 00 32 */ fmuls f4, f4, f0 +/* 80314ED4 00311E34 C0 06 00 00 */ lfs f0, 0(r6) +/* 80314ED8 00311E38 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80314EDC 00311E3C C0 A6 00 04 */ lfs f5, 4(r6) +/* 80314EE0 00311E40 EC 22 08 2A */ fadds f1, f2, f1 +/* 80314EE4 00311E44 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80314EE8 00311E48 C0 46 00 08 */ lfs f2, 8(r6) +/* 80314EEC 00311E4C EC C7 30 2A */ fadds f6, f7, f6 +/* 80314EF0 00311E50 EC A8 01 72 */ fmuls f5, f8, f5 +/* 80314EF4 00311E54 EC 01 00 2A */ fadds f0, f1, f0 +/* 80314EF8 00311E58 EC 64 18 2A */ fadds f3, f4, f3 +/* 80314EFC 00311E5C EC 28 00 B2 */ fmuls f1, f8, f2 +/* 80314F00 00311E60 EC 46 28 2A */ fadds f2, f6, f5 +/* 80314F04 00311E64 D0 03 00 00 */ stfs f0, 0(r3) +/* 80314F08 00311E68 EC 03 08 2A */ fadds f0, f3, f1 +/* 80314F0C 00311E6C D0 43 00 04 */ stfs f2, 4(r3) +/* 80314F10 00311E70 D0 03 00 08 */ stfs f0, 8(r3) +/* 80314F14 00311E74 4E 80 00 20 */ blr + +.global GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: +/* 80314F18 00311E78 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80314F1C 00311E7C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80314F20 00311E80 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80314F24 00311E84 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80314F28 00311E88 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80314F2C 00311E8C C0 02 C9 90 */ lfs f0, lbl_805AE6B0@sda21(r2) +/* 80314F30 00311E90 C0 47 00 00 */ lfs f2, 0(r7) +/* 80314F34 00311E94 C0 87 00 04 */ lfs f4, 4(r7) +/* 80314F38 00311E98 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80314F3C 00311E9C C0 A6 00 00 */ lfs f5, 0(r6) +/* 80314F40 00311EA0 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80314F44 00311EA4 C0 67 00 08 */ lfs f3, 8(r7) +/* 80314F48 00311EA8 EC 84 00 72 */ fmuls f4, f4, f1 +/* 80314F4C 00311EAC C1 26 00 04 */ lfs f9, 4(r6) +/* 80314F50 00311EB0 EC 45 10 3A */ fmadds f2, f5, f0, f2 +/* 80314F54 00311EB4 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80314F58 00311EB8 EC C5 00 72 */ fmuls f6, f5, f1 +/* 80314F5C 00311EBC C3 E6 00 08 */ lfs f31, 8(r6) +/* 80314F60 00311EC0 EC 63 00 72 */ fmuls f3, f3, f1 +/* 80314F64 00311EC4 C1 05 00 04 */ lfs f8, 4(r5) +/* 80314F68 00311EC8 EC A9 00 72 */ fmuls f5, f9, f1 +/* 80314F6C 00311ECC C1 A5 00 08 */ lfs f13, 8(r5) +/* 80314F70 00311ED0 EC 89 20 3A */ fmadds f4, f9, f0, f4 +/* 80314F74 00311ED4 C1 84 00 00 */ lfs f12, 0(r4) +/* 80314F78 00311ED8 ED 67 00 72 */ fmuls f11, f7, f1 +/* 80314F7C 00311EDC C1 44 00 04 */ lfs f10, 4(r4) +/* 80314F80 00311EE0 EF C7 30 3A */ fmadds f30, f7, f0, f6 +/* 80314F84 00311EE4 C1 24 00 08 */ lfs f9, 8(r4) +/* 80314F88 00311EE8 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80314F8C 00311EEC EC DF 00 72 */ fmuls f6, f31, f1 +/* 80314F90 00311EF0 EC 7F 18 3A */ fmadds f3, f31, f0, f3 +/* 80314F94 00311EF4 EC E8 00 72 */ fmuls f7, f8, f1 +/* 80314F98 00311EF8 EF E8 28 3A */ fmadds f31, f8, f0, f5 +/* 80314F9C 00311EFC EC A4 00 72 */ fmuls f5, f4, f1 +/* 80314FA0 00311F00 EC 5E 10 3A */ fmadds f2, f30, f0, f2 +/* 80314FA4 00311F04 ED 0D 00 72 */ fmuls f8, f13, f1 +/* 80314FA8 00311F08 ED AD 30 3A */ fmadds f13, f13, f0, f6 +/* 80314FAC 00311F0C EC 83 00 72 */ fmuls f4, f3, f1 +/* 80314FB0 00311F10 EC DF 28 3A */ fmadds f6, f31, f0, f5 +/* 80314FB4 00311F14 EC AC 58 3A */ fmadds f5, f12, f0, f11 +/* 80314FB8 00311F18 EC 7E 00 72 */ fmuls f3, f30, f1 +/* 80314FBC 00311F1C EC 8D 20 3A */ fmadds f4, f13, f0, f4 +/* 80314FC0 00311F20 ED 4A 38 3A */ fmadds f10, f10, f0, f7 +/* 80314FC4 00311F24 EC FF 00 72 */ fmuls f7, f31, f1 +/* 80314FC8 00311F28 EC 65 18 3A */ fmadds f3, f5, f0, f3 +/* 80314FCC 00311F2C EC 42 00 72 */ fmuls f2, f2, f1 +/* 80314FD0 00311F30 ED 09 40 3A */ fmadds f8, f9, f0, f8 +/* 80314FD4 00311F34 EC AD 00 72 */ fmuls f5, f13, f1 +/* 80314FD8 00311F38 EC 43 10 3A */ fmadds f2, f3, f0, f2 +/* 80314FDC 00311F3C EC EA 38 3A */ fmadds f7, f10, f0, f7 +/* 80314FE0 00311F40 EC C6 00 72 */ fmuls f6, f6, f1 +/* 80314FE4 00311F44 EC 68 28 3A */ fmadds f3, f8, f0, f5 +/* 80314FE8 00311F48 D0 43 00 00 */ stfs f2, 0(r3) +/* 80314FEC 00311F4C EC 24 00 72 */ fmuls f1, f4, f1 +/* 80314FF0 00311F50 EC 47 30 3A */ fmadds f2, f7, f0, f6 +/* 80314FF4 00311F54 EC 03 08 3A */ fmadds f0, f3, f0, f1 +/* 80314FF8 00311F58 D0 43 00 04 */ stfs f2, 4(r3) +/* 80314FFC 00311F5C D0 03 00 08 */ stfs f0, 8(r3) +/* 80315000 00311F60 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80315004 00311F64 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80315008 00311F68 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 8031500C 00311F6C CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80315010 00311F70 38 21 00 30 */ addi r1, r1, 0x30 +/* 80315014 00311F74 4E 80 00 20 */ blr + +.global GetCatmullRomSplinePoint__5CMathFfffff +GetCatmullRomSplinePoint__5CMathFfffff: +/* 80315018 00311F78 C0 02 C9 94 */ lfs f0, lbl_805AE6B4@sda21(r2) +/* 8031501C 00311F7C FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 80315020 00311F80 4C 40 13 82 */ cror 2, 0, 2 +/* 80315024 00311F84 40 82 00 0C */ bne lbl_80315030 +/* 80315028 00311F88 FC 20 10 90 */ fmr f1, f2 +/* 8031502C 00311F8C 4E 80 00 20 */ blr +lbl_80315030: +/* 80315030 00311F90 C1 82 C9 90 */ lfs f12, lbl_805AE6B0@sda21(r2) +/* 80315034 00311F94 FC 05 60 40 */ fcmpo cr0, f5, f12 +/* 80315038 00311F98 4C 41 13 82 */ cror 2, 1, 2 +/* 8031503C 00311F9C 40 82 00 0C */ bne lbl_80315048 +/* 80315040 00311FA0 FC 20 18 90 */ fmr f1, f3 +/* 80315044 00311FA4 4E 80 00 20 */ blr +lbl_80315048: +/* 80315048 00311FA8 C0 C2 C9 A8 */ lfs f6, lbl_805AE6C8@sda21(r2) +/* 8031504C 00311FAC EC E5 01 72 */ fmuls f7, f5, f5 +/* 80315050 00311FB0 C0 02 C9 AC */ lfs f0, lbl_805AE6CC@sda21(r2) +/* 80315054 00311FB4 EC C6 01 72 */ fmuls f6, f6, f5 +/* 80315058 00311FB8 C1 02 C9 A4 */ lfs f8, lbl_805AE6C4@sda21(r2) +/* 8031505C 00311FBC EC 00 01 72 */ fmuls f0, f0, f5 +/* 80315060 00311FC0 C1 42 C9 9C */ lfs f10, lbl_805AE6BC@sda21(r2) +/* 80315064 00311FC4 ED 08 01 72 */ fmuls f8, f8, f5 +/* 80315068 00311FC8 C1 22 C9 A0 */ lfs f9, lbl_805AE6C0@sda21(r2) +/* 8031506C 00311FCC EC C6 01 72 */ fmuls f6, f6, f5 +/* 80315070 00311FD0 C1 62 C9 98 */ lfs f11, lbl_805AE6B8@sda21(r2) +/* 80315074 00311FD4 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80315078 00311FD8 ED 4A 01 72 */ fmuls f10, f10, f5 +/* 8031507C 00311FDC ED 29 01 72 */ fmuls f9, f9, f5 +/* 80315080 00311FE0 ED 08 01 72 */ fmuls f8, f8, f5 +/* 80315084 00311FE4 EC 05 01 BA */ fmadds f0, f5, f6, f0 +/* 80315088 00311FE8 ED 6B 01 72 */ fmuls f11, f11, f5 +/* 8031508C 00311FEC EC C5 3A 3A */ fmadds f6, f5, f8, f7 +/* 80315090 00311FF0 EC 0C 00 2A */ fadds f0, f12, f0 +/* 80315094 00311FF4 ED 0A 01 72 */ fmuls f8, f10, f5 +/* 80315098 00311FF8 EC E9 01 72 */ fmuls f7, f9, f5 +/* 8031509C 00311FFC ED 2B 01 72 */ fmuls f9, f11, f5 +/* 803150A0 00312000 EC C6 58 28 */ fsubs f6, f6, f11 +/* 803150A4 00312004 EC E5 3A 3A */ fmadds f7, f5, f8, f7 +/* 803150A8 00312008 EC 02 00 32 */ fmuls f0, f2, f0 +/* 803150AC 0031200C EC A5 4A 78 */ fmsubs f5, f5, f9, f9 +/* 803150B0 00312010 EC 4B 38 2A */ fadds f2, f11, f7 +/* 803150B4 00312014 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 803150B8 00312018 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 803150BC 0031201C EC 24 01 7A */ fmadds f1, f4, f5, f0 +/* 803150C0 00312020 4E 80 00 20 */ blr + +.global GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: +/* 803150C4 00312024 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803150C8 00312028 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803150CC 0031202C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803150D0 00312030 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803150D4 00312034 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803150D8 00312038 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 803150DC 0031203C F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 803150E0 00312040 C0 02 C9 94 */ lfs f0, lbl_805AE6B4@sda21(r2) +/* 803150E4 00312044 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803150E8 00312048 4C 40 13 82 */ cror 2, 0, 2 +/* 803150EC 0031204C 40 82 00 20 */ bne lbl_8031510C +/* 803150F0 00312050 C0 05 00 00 */ lfs f0, 0(r5) +/* 803150F4 00312054 D0 03 00 00 */ stfs f0, 0(r3) +/* 803150F8 00312058 C0 05 00 04 */ lfs f0, 4(r5) +/* 803150FC 0031205C D0 03 00 04 */ stfs f0, 4(r3) +/* 80315100 00312060 C0 05 00 08 */ lfs f0, 8(r5) +/* 80315104 00312064 D0 03 00 08 */ stfs f0, 8(r3) +/* 80315108 00312068 48 00 01 28 */ b lbl_80315230 +lbl_8031510C: +/* 8031510C 0031206C C1 22 C9 90 */ lfs f9, lbl_805AE6B0@sda21(r2) +/* 80315110 00312070 FC 01 48 40 */ fcmpo cr0, f1, f9 +/* 80315114 00312074 4C 41 13 82 */ cror 2, 1, 2 +/* 80315118 00312078 40 82 00 20 */ bne lbl_80315138 +/* 8031511C 0031207C C0 06 00 00 */ lfs f0, 0(r6) +/* 80315120 00312080 D0 03 00 00 */ stfs f0, 0(r3) +/* 80315124 00312084 C0 06 00 04 */ lfs f0, 4(r6) +/* 80315128 00312088 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031512C 0031208C C0 06 00 08 */ lfs f0, 8(r6) +/* 80315130 00312090 D0 03 00 08 */ stfs f0, 8(r3) +/* 80315134 00312094 48 00 00 FC */ b lbl_80315230 +lbl_80315138: +/* 80315138 00312098 C0 82 C9 A8 */ lfs f4, lbl_805AE6C8@sda21(r2) +/* 8031513C 0031209C EC 01 00 72 */ fmuls f0, f1, f1 +/* 80315140 003120A0 C0 62 C9 AC */ lfs f3, lbl_805AE6CC@sda21(r2) +/* 80315144 003120A4 C0 42 C9 A4 */ lfs f2, lbl_805AE6C4@sda21(r2) +/* 80315148 003120A8 EC 84 00 72 */ fmuls f4, f4, f1 +/* 8031514C 003120AC EC 63 00 72 */ fmuls f3, f3, f1 +/* 80315150 003120B0 C0 C2 C9 9C */ lfs f6, lbl_805AE6BC@sda21(r2) +/* 80315154 003120B4 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80315158 003120B8 C0 A2 C9 A0 */ lfs f5, lbl_805AE6C0@sda21(r2) +/* 8031515C 003120BC ED 06 00 72 */ fmuls f8, f6, f1 +/* 80315160 003120C0 EC E5 00 72 */ fmuls f7, f5, f1 +/* 80315164 003120C4 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80315168 003120C8 C0 A2 C9 98 */ lfs f5, lbl_805AE6B8@sda21(r2) +/* 8031516C 003120CC EC 84 00 72 */ fmuls f4, f4, f1 +/* 80315170 003120D0 C0 C5 00 00 */ lfs f6, 0(r5) +/* 80315174 003120D4 EC 63 00 72 */ fmuls f3, f3, f1 +/* 80315178 003120D8 ED 45 00 72 */ fmuls f10, f5, f1 +/* 8031517C 003120DC EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 80315180 003120E0 C0 A4 00 00 */ lfs f5, 0(r4) +/* 80315184 003120E4 EC 61 19 3A */ fmadds f3, f1, f4, f3 +/* 80315188 003120E8 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031518C 003120EC ED 08 00 72 */ fmuls f8, f8, f1 +/* 80315190 003120F0 EF A0 50 28 */ fsubs f29, f0, f10 +/* 80315194 003120F4 EC E7 00 72 */ fmuls f7, f7, f1 +/* 80315198 003120F8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8031519C 003120FC EF C9 18 2A */ fadds f30, f9, f3 +/* 803151A0 00312100 C0 84 00 08 */ lfs f4, 8(r4) +/* 803151A4 00312104 ED 2A 00 72 */ fmuls f9, f10, f1 +/* 803151A8 00312108 EC E1 3A 3A */ fmadds f7, f1, f8, f7 +/* 803151AC 0031210C C0 65 00 08 */ lfs f3, 8(r5) +/* 803151B0 00312110 ED 7E 01 B2 */ fmuls f11, f30, f6 +/* 803151B4 00312114 ED 9D 01 72 */ fmuls f12, f29, f5 +/* 803151B8 00312118 C0 A6 00 00 */ lfs f5, 0(r6) +/* 803151BC 0031211C EF EA 38 2A */ fadds f31, f10, f7 +/* 803151C0 00312120 C0 C6 00 04 */ lfs f6, 4(r6) +/* 803151C4 00312124 ED 1D 00 B2 */ fmuls f8, f29, f2 +/* 803151C8 00312128 EC FE 00 32 */ fmuls f7, f30, f0 +/* 803151CC 0031212C C0 46 00 08 */ lfs f2, 8(r6) +/* 803151D0 00312130 ED A1 4A 78 */ fmsubs f13, f1, f9, f9 +/* 803151D4 00312134 C1 27 00 00 */ lfs f9, 0(r7) +/* 803151D8 00312138 ED 5F 01 72 */ fmuls f10, f31, f5 +/* 803151DC 0031213C EC 0C 58 2A */ fadds f0, f12, f11 +/* 803151E0 00312140 C0 A7 00 04 */ lfs f5, 4(r7) +/* 803151E4 00312144 EC 9D 01 32 */ fmuls f4, f29, f4 +/* 803151E8 00312148 EC 7E 00 F2 */ fmuls f3, f30, f3 +/* 803151EC 0031214C C0 27 00 08 */ lfs f1, 8(r7) +/* 803151F0 00312150 EC E8 38 2A */ fadds f7, f8, f7 +/* 803151F4 00312154 EC DF 01 B2 */ fmuls f6, f31, f6 +/* 803151F8 00312158 ED 0D 02 72 */ fmuls f8, f13, f9 +/* 803151FC 0031215C EC 00 50 2A */ fadds f0, f0, f10 +/* 80315200 00312160 EC 64 18 2A */ fadds f3, f4, f3 +/* 80315204 00312164 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80315208 00312168 EC 00 40 2A */ fadds f0, f0, f8 +/* 8031520C 0031216C EC C7 30 2A */ fadds f6, f7, f6 +/* 80315210 00312170 EC 8D 01 72 */ fmuls f4, f13, f5 +/* 80315214 00312174 EC 43 10 2A */ fadds f2, f3, f2 +/* 80315218 00312178 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031521C 0031217C EC 0D 00 72 */ fmuls f0, f13, f1 +/* 80315220 00312180 EC 26 20 2A */ fadds f1, f6, f4 +/* 80315224 00312184 EC 02 00 2A */ fadds f0, f2, f0 +/* 80315228 00312188 D0 23 00 04 */ stfs f1, 4(r3) +/* 8031522C 0031218C D0 03 00 08 */ stfs f0, 8(r3) +lbl_80315230: +/* 80315230 00312190 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80315234 00312194 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80315238 00312198 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8031523C 0031219C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80315240 003121A0 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 80315244 003121A4 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 80315248 003121A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8031524C 003121AC 4E 80 00 20 */ blr + +.global CeilingF__5CMathFf +CeilingF__5CMathFf: +/* 80315250 003121B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315254 003121B4 7C 08 02 A6 */ mflr r0 +/* 80315258 003121B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031525C 003121BC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80315260 003121C0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80315264 003121C4 FF E0 08 90 */ fmr f31, f1 +/* 80315268 003121C8 48 00 00 35 */ bl FloorF__5CMathFf +/* 8031526C 003121CC FC 01 F8 00 */ fcmpu cr0, f1, f31 +/* 80315270 003121D0 40 82 00 0C */ bne lbl_8031527C +/* 80315274 003121D4 FC 20 F8 90 */ fmr f1, f31 +/* 80315278 003121D8 48 00 00 0C */ b lbl_80315284 +lbl_8031527C: +/* 8031527C 003121DC C0 02 C9 90 */ lfs f0, lbl_805AE6B0@sda21(r2) +/* 80315280 003121E0 EC 20 08 2A */ fadds f1, f0, f1 +lbl_80315284: +/* 80315284 003121E4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80315288 003121E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031528C 003121EC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80315290 003121F0 7C 08 03 A6 */ mtlr r0 +/* 80315294 003121F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315298 003121F8 4E 80 00 20 */ blr + +.global FloorF__5CMathFf +FloorF__5CMathFf: +/* 8031529C 003121FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803152A0 00312200 7C 08 02 A6 */ mflr r0 +/* 803152A4 00312204 90 01 00 14 */ stw r0, 0x14(r1) +/* 803152A8 00312208 48 07 F2 1D */ bl floor +/* 803152AC 0031220C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803152B0 00312210 FC 20 08 18 */ frsp f1, f1 +/* 803152B4 00312214 7C 08 03 A6 */ mtlr r0 +/* 803152B8 00312218 38 21 00 10 */ addi r1, r1, 0x10 +/* 803152BC 0031221C 4E 80 00 20 */ blr + +.global SlowTangentR__5CMathFf +SlowTangentR__5CMathFf: +/* 803152C0 00312220 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803152C4 00312224 7C 08 02 A6 */ mflr r0 +/* 803152C8 00312228 90 01 00 14 */ stw r0, 0x14(r1) +/* 803152CC 0031222C 48 07 F8 E9 */ bl tan +/* 803152D0 00312230 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803152D4 00312234 FC 20 08 18 */ frsp f1, f1 +/* 803152D8 00312238 7C 08 03 A6 */ mtlr r0 +/* 803152DC 0031223C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803152E0 00312240 4E 80 00 20 */ blr + +.global SlowCosineR__5CMathFf +SlowCosineR__5CMathFf: +/* 803152E4 00312244 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803152E8 00312248 7C 08 02 A6 */ mflr r0 +/* 803152EC 0031224C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803152F0 00312250 48 07 F1 01 */ bl cos +/* 803152F4 00312254 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803152F8 00312258 FC 20 08 18 */ frsp f1, f1 +/* 803152FC 0031225C 7C 08 03 A6 */ mtlr r0 +/* 80315300 00312260 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315304 00312264 4E 80 00 20 */ blr + +.global SlowSineR__5CMathFf +SlowSineR__5CMathFf: +/* 80315308 00312268 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031530C 0031226C 7C 08 02 A6 */ mflr r0 +/* 80315310 00312270 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315314 00312274 48 07 F7 C9 */ bl sin +/* 80315318 00312278 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031531C 0031227C FC 20 08 18 */ frsp f1, f1 +/* 80315320 00312280 7C 08 03 A6 */ mtlr r0 +/* 80315324 00312284 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315328 00312288 4E 80 00 20 */ blr + +.global PowF__5CMathFff +PowF__5CMathFff: +/* 8031532C 0031228C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315330 00312290 7C 08 02 A6 */ mflr r0 +/* 80315334 00312294 90 01 00 24 */ stw r0, 0x24(r1) +/* 80315338 00312298 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8031533C 0031229C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80315340 003122A0 FF E0 10 90 */ fmr f31, f2 +/* 80315344 003122A4 48 07 F9 89 */ bl log +/* 80315348 003122A8 FC 3F 00 72 */ fmul f1, f31, f1 +/* 8031534C 003122AC 48 07 F9 41 */ bl exp +/* 80315350 003122B0 FC 20 08 18 */ frsp f1, f1 +/* 80315354 003122B4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80315358 003122B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031535C 003122BC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80315360 003122C0 7C 08 03 A6 */ mtlr r0 +/* 80315364 003122C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315368 003122C8 4E 80 00 20 */ blr + +.global ArcTangentR__5CMathFf +ArcTangentR__5CMathFf: +/* 8031536C 003122CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315370 003122D0 7C 08 02 A6 */ mflr r0 +/* 80315374 003122D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315378 003122D8 48 07 EE 51 */ bl atan +/* 8031537C 003122DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315380 003122E0 FC 20 08 18 */ frsp f1, f1 +/* 80315384 003122E4 7C 08 03 A6 */ mtlr r0 +/* 80315388 003122E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031538C 003122EC 4E 80 00 20 */ blr + +.global ArcCosineR__5CMathFf +ArcCosineR__5CMathFf: +/* 80315390 003122F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315394 003122F4 7C 08 02 A6 */ mflr r0 +/* 80315398 003122F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031539C 003122FC 48 07 F8 91 */ bl acos +/* 803153A0 00312300 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803153A4 00312304 FC 20 08 18 */ frsp f1, f1 +/* 803153A8 00312308 7C 08 03 A6 */ mtlr r0 +/* 803153AC 0031230C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803153B0 00312310 4E 80 00 20 */ blr + +.global ArcSineR__5CMathFf +ArcSineR__5CMathFf: +/* 803153B4 00312314 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803153B8 00312318 7C 08 02 A6 */ mflr r0 +/* 803153BC 0031231C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803153C0 00312320 48 07 F8 8D */ bl asin +/* 803153C4 00312324 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803153C8 00312328 FC 20 08 18 */ frsp f1, f1 +/* 803153CC 0031232C 7C 08 03 A6 */ mtlr r0 +/* 803153D0 00312330 38 21 00 10 */ addi r1, r1, 0x10 +/* 803153D4 00312334 4E 80 00 20 */ blr + +.global InvSqrtF__5CMathFf +InvSqrtF__5CMathFf: +/* 803153D8 00312338 C8 42 C9 B0 */ lfd f2, lbl_805AE6D0@sda21(r2) +/* 803153DC 0031233C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 803153E0 00312340 40 81 00 58 */ ble lbl_80315438 +/* 803153E4 00312344 FC 40 08 34 */ frsqrte f2, f1 +/* 803153E8 00312348 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) +/* 803153EC 0031234C C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) +/* 803153F0 00312350 FC 02 00 B2 */ fmul f0, f2, f2 +/* 803153F4 00312354 FC 44 00 B2 */ fmul f2, f4, f2 +/* 803153F8 00312358 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803153FC 0031235C FC 42 00 32 */ fmul f2, f2, f0 +/* 80315400 00312360 FC 02 00 B2 */ fmul f0, f2, f2 +/* 80315404 00312364 FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315408 00312368 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 8031540C 0031236C FC 42 00 32 */ fmul f2, f2, f0 +/* 80315410 00312370 FC 02 00 B2 */ fmul f0, f2, f2 +/* 80315414 00312374 FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315418 00312378 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 8031541C 0031237C FC 42 00 32 */ fmul f2, f2, f0 +/* 80315420 00312380 FC 02 00 B2 */ fmul f0, f2, f2 +/* 80315424 00312384 FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315428 00312388 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 8031542C 0031238C FC 02 00 32 */ fmul f0, f2, f0 +/* 80315430 00312390 FC 41 00 32 */ fmul f2, f1, f0 +/* 80315434 00312394 48 00 00 2C */ b lbl_80315460 +lbl_80315438: +/* 80315438 00312398 FC 02 08 00 */ fcmpu cr0, f2, f1 +/* 8031543C 0031239C 40 82 00 08 */ bne lbl_80315444 +/* 80315440 003123A0 48 00 00 20 */ b lbl_80315460 +lbl_80315444: +/* 80315444 003123A4 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 80315448 003123A8 41 82 00 10 */ beq lbl_80315458 +/* 8031544C 003123AC 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 80315450 003123B0 C0 43 8B A0 */ lfs f2, lbl_805A8BA0@l(r3) +/* 80315454 003123B4 48 00 00 0C */ b lbl_80315460 +lbl_80315458: +/* 80315458 003123B8 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 8031545C 003123BC C0 43 8B A4 */ lfs f2, lbl_805A8BA4@l(r3) +lbl_80315460: +/* 80315460 003123C0 C8 02 C9 C8 */ lfd f0, lbl_805AE6E8@sda21(r2) +/* 80315464 003123C4 FC 20 10 24 */ fdiv f1, f0, f2 +/* 80315468 003123C8 FC 20 08 18 */ frsp f1, f1 +/* 8031546C 003123CC 4E 80 00 20 */ blr + +.global SqrtD__5CMathFd +SqrtD__5CMathFd: +/* 80315470 003123D0 C8 02 C9 B0 */ lfd f0, lbl_805AE6D0@sda21(r2) +/* 80315474 003123D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80315478 003123D8 40 81 00 58 */ ble lbl_803154D0 +/* 8031547C 003123DC FC 40 08 34 */ frsqrte f2, f1 +/* 80315480 003123E0 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) +/* 80315484 003123E4 C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) +/* 80315488 003123E8 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031548C 003123EC FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315490 003123F0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315494 003123F4 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315498 003123F8 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031549C 003123FC FC 44 00 B2 */ fmul f2, f4, f2 +/* 803154A0 00312400 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803154A4 00312404 FC 42 00 32 */ fmul f2, f2, f0 +/* 803154A8 00312408 FC 02 00 B2 */ fmul f0, f2, f2 +/* 803154AC 0031240C FC 44 00 B2 */ fmul f2, f4, f2 +/* 803154B0 00312410 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803154B4 00312414 FC 42 00 32 */ fmul f2, f2, f0 +/* 803154B8 00312418 FC 02 00 B2 */ fmul f0, f2, f2 +/* 803154BC 0031241C FC 44 00 B2 */ fmul f2, f4, f2 +/* 803154C0 00312420 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803154C4 00312424 FC 02 00 32 */ fmul f0, f2, f0 +/* 803154C8 00312428 FC 01 00 32 */ fmul f0, f1, f0 +/* 803154CC 0031242C 48 00 00 2C */ b lbl_803154F8 +lbl_803154D0: +/* 803154D0 00312430 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 803154D4 00312434 40 82 00 08 */ bne lbl_803154DC +/* 803154D8 00312438 48 00 00 20 */ b lbl_803154F8 +lbl_803154DC: +/* 803154DC 0031243C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803154E0 00312440 41 82 00 10 */ beq lbl_803154F0 +/* 803154E4 00312444 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 803154E8 00312448 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) +/* 803154EC 0031244C 48 00 00 0C */ b lbl_803154F8 +lbl_803154F0: +/* 803154F0 00312450 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 803154F4 00312454 C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) +lbl_803154F8: +/* 803154F8 00312458 FC 20 00 90 */ fmr f1, f0 +/* 803154FC 0031245C 4E 80 00 20 */ blr + +.global SqrtF__5CMathFf +SqrtF__5CMathFf: +/* 80315500 00312460 C8 02 C9 B0 */ lfd f0, lbl_805AE6D0@sda21(r2) +/* 80315504 00312464 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80315508 00312468 40 81 00 58 */ ble lbl_80315560 +/* 8031550C 0031246C FC 40 08 34 */ frsqrte f2, f1 +/* 80315510 00312470 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) +/* 80315514 00312474 C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) +/* 80315518 00312478 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031551C 0031247C FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315520 00312480 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315524 00312484 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315528 00312488 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031552C 0031248C FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315530 00312490 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315534 00312494 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315538 00312498 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031553C 0031249C FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315540 003124A0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315544 003124A4 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315548 003124A8 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031554C 003124AC FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315550 003124B0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315554 003124B4 FC 02 00 32 */ fmul f0, f2, f0 +/* 80315558 003124B8 FC 01 00 32 */ fmul f0, f1, f0 +/* 8031555C 003124BC 48 00 00 2C */ b lbl_80315588 +lbl_80315560: +/* 80315560 003124C0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80315564 003124C4 40 82 00 08 */ bne lbl_8031556C +/* 80315568 003124C8 48 00 00 20 */ b lbl_80315588 +lbl_8031556C: +/* 8031556C 003124CC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80315570 003124D0 41 82 00 10 */ beq lbl_80315580 +/* 80315574 003124D4 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 80315578 003124D8 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) +/* 8031557C 003124DC 48 00 00 0C */ b lbl_80315588 +lbl_80315580: +/* 80315580 003124E0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 80315584 003124E4 C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) +lbl_80315588: +/* 80315588 003124E8 FC 20 00 18 */ frsp f1, f0 +/* 8031558C 003124EC 4E 80 00 20 */ blr + +.global Calculate__6CCRC32FPCvUi +Calculate__6CCRC32FPCvUi: +/* 80315590 003124F0 28 04 00 00 */ cmplwi r4, 0 +/* 80315594 003124F4 3C A0 80 3D */ lis r5, lbl_803D7408@ha +/* 80315598 003124F8 38 A5 74 08 */ addi r5, r5, lbl_803D7408@l +/* 8031559C 003124FC 39 20 FF FF */ li r9, -1 +/* 803155A0 00312500 41 82 00 B8 */ beq lbl_80315658 +/* 803155A4 00312504 54 80 F0 BF */ rlwinm. r0, r4, 0x1e, 2, 0x1f +/* 803155A8 00312508 7C 09 03 A6 */ mtctr r0 +/* 803155AC 0031250C 41 82 00 84 */ beq lbl_80315630 +lbl_803155B0: +/* 803155B0 00312510 88 E3 00 00 */ lbz r7, 0(r3) +/* 803155B4 00312514 55 28 C2 3E */ srwi r8, r9, 8 +/* 803155B8 00312518 7C E6 07 74 */ extsb r6, r7 +/* 803155BC 0031251C 88 E3 00 01 */ lbz r7, 1(r3) +/* 803155C0 00312520 7D 20 32 78 */ xor r0, r9, r6 +/* 803155C4 00312524 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 803155C8 00312528 7C E6 07 74 */ extsb r6, r7 +/* 803155CC 0031252C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 803155D0 00312530 88 E3 00 02 */ lbz r7, 2(r3) +/* 803155D4 00312534 7D 09 02 78 */ xor r9, r8, r0 +/* 803155D8 00312538 7D 20 32 78 */ xor r0, r9, r6 +/* 803155DC 0031253C 7C E6 07 74 */ extsb r6, r7 +/* 803155E0 00312540 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 803155E4 00312544 88 E3 00 03 */ lbz r7, 3(r3) +/* 803155E8 00312548 7C 05 00 2E */ lwzx r0, r5, r0 +/* 803155EC 0031254C 55 28 C2 3E */ srwi r8, r9, 8 +/* 803155F0 00312550 38 63 00 04 */ addi r3, r3, 4 +/* 803155F4 00312554 7D 09 02 78 */ xor r9, r8, r0 +/* 803155F8 00312558 7D 20 32 78 */ xor r0, r9, r6 +/* 803155FC 0031255C 7C E6 07 74 */ extsb r6, r7 +/* 80315600 00312560 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 80315604 00312564 55 28 C2 3E */ srwi r8, r9, 8 +/* 80315608 00312568 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8031560C 0031256C 7D 09 02 78 */ xor r9, r8, r0 +/* 80315610 00312570 7D 20 32 78 */ xor r0, r9, r6 +/* 80315614 00312574 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 80315618 00312578 55 28 C2 3E */ srwi r8, r9, 8 +/* 8031561C 0031257C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80315620 00312580 7D 09 02 78 */ xor r9, r8, r0 +/* 80315624 00312584 42 00 FF 8C */ bdnz lbl_803155B0 +/* 80315628 00312588 70 84 00 03 */ andi. r4, r4, 3 +/* 8031562C 0031258C 41 82 00 2C */ beq lbl_80315658 +lbl_80315630: +/* 80315630 00312590 7C 89 03 A6 */ mtctr r4 +lbl_80315634: +/* 80315634 00312594 88 E3 00 00 */ lbz r7, 0(r3) +/* 80315638 00312598 55 28 C2 3E */ srwi r8, r9, 8 +/* 8031563C 0031259C 38 63 00 01 */ addi r3, r3, 1 +/* 80315640 003125A0 7C E6 07 74 */ extsb r6, r7 +/* 80315644 003125A4 7D 20 32 78 */ xor r0, r9, r6 +/* 80315648 003125A8 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 8031564C 003125AC 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80315650 003125B0 7D 09 02 78 */ xor r9, r8, r0 +/* 80315654 003125B4 42 00 FF E0 */ bdnz lbl_80315634 +lbl_80315658: +/* 80315658 003125B8 7D 23 4B 78 */ mr r3, r9 +/* 8031565C 003125BC 4E 80 00 20 */ blr + +.global GetAllocatedAmount__15CCircularBufferCFv +GetAllocatedAmount__15CCircularBufferCFv: +/* 80315660 003125C0 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80315664 003125C4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 80315668 003125C8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8031566C 003125CC 2C 05 FF FF */ cmpwi r5, -1 +/* 80315670 003125D0 7C 84 00 50 */ subf r4, r4, r0 +/* 80315674 003125D4 41 82 00 10 */ beq lbl_80315684 +/* 80315678 003125D8 80 03 00 08 */ lwz r0, 8(r3) +/* 8031567C 003125DC 7C 05 00 50 */ subf r0, r5, r0 +/* 80315680 003125E0 7C 84 02 14 */ add r4, r4, r0 +lbl_80315684: +/* 80315684 003125E4 7C 83 23 78 */ mr r3, r4 +/* 80315688 003125E8 4E 80 00 20 */ blr + +.global Free__15CCircularBufferFPvi +Free__15CCircularBufferFPvi: +/* 8031568C 003125EC 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 80315690 003125F0 2C 06 FF FF */ cmpwi r6, -1 +/* 80315694 003125F4 40 81 00 2C */ ble lbl_803156C0 +/* 80315698 003125F8 80 03 00 04 */ lwz r0, 4(r3) +/* 8031569C 003125FC 7C 04 00 40 */ cmplw r4, r0 +/* 803156A0 00312600 40 82 00 14 */ bne lbl_803156B4 +/* 803156A4 00312604 38 00 FF FF */ li r0, -1 +/* 803156A8 00312608 90 03 00 14 */ stw r0, 0x14(r3) +/* 803156AC 0031260C 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803156B0 00312610 48 00 00 1C */ b lbl_803156CC +lbl_803156B4: +/* 803156B4 00312614 7C 06 2A 14 */ add r0, r6, r5 +/* 803156B8 00312618 90 03 00 14 */ stw r0, 0x14(r3) +/* 803156BC 0031261C 48 00 00 10 */ b lbl_803156CC +lbl_803156C0: +/* 803156C0 00312620 80 03 00 0C */ lwz r0, 0xc(r3) +/* 803156C4 00312624 7C 00 2A 14 */ add r0, r0, r5 +/* 803156C8 00312628 90 03 00 0C */ stw r0, 0xc(r3) +lbl_803156CC: +/* 803156CC 0031262C 80 03 00 14 */ lwz r0, 0x14(r3) +/* 803156D0 00312630 2C 00 FF FF */ cmpwi r0, -1 +/* 803156D4 00312634 4C 82 00 20 */ bnelr +/* 803156D8 00312638 80 83 00 0C */ lwz r4, 0xc(r3) +/* 803156DC 0031263C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803156E0 00312640 7C 04 00 00 */ cmpw r4, r0 +/* 803156E4 00312644 4C 82 00 20 */ bnelr +/* 803156E8 00312648 38 00 00 00 */ li r0, 0 +/* 803156EC 0031264C 90 03 00 10 */ stw r0, 0x10(r3) +/* 803156F0 00312650 90 03 00 0C */ stw r0, 0xc(r3) +/* 803156F4 00312654 4E 80 00 20 */ blr + +.global Alloc__15CCircularBufferFi +Alloc__15CCircularBufferFi: +/* 803156F8 00312658 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803156FC 0031265C 7C 08 02 A6 */ mflr r0 +/* 80315700 00312660 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315704 00312664 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315708 00312668 7C 9F 23 78 */ mr r31, r4 +/* 8031570C 0031266C 93 C1 00 08 */ stw r30, 8(r1) +/* 80315710 00312670 7C 7E 1B 78 */ mr r30, r3 +/* 80315714 00312674 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80315718 00312678 80 03 00 08 */ lwz r0, 8(r3) +/* 8031571C 0031267C 7C 04 00 50 */ subf r0, r4, r0 +/* 80315720 00312680 7C 00 F8 00 */ cmpw r0, r31 +/* 80315724 00312684 41 80 00 2C */ blt lbl_80315750 +/* 80315728 00312688 7F E5 FB 78 */ mr r5, r31 +/* 8031572C 0031268C 48 00 00 81 */ bl IsWrappedMemory__15CCircularBufferFii +/* 80315730 00312690 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80315734 00312694 40 82 00 1C */ bne lbl_80315750 +/* 80315738 00312698 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8031573C 0031269C 80 9E 00 04 */ lwz r4, 4(r30) +/* 80315740 003126A0 7C 03 FA 14 */ add r0, r3, r31 +/* 80315744 003126A4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80315748 003126A8 7C 64 1A 14 */ add r3, r4, r3 +/* 8031574C 003126AC 48 00 00 48 */ b lbl_80315794 +lbl_80315750: +/* 80315750 003126B0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80315754 003126B4 7C 00 F8 00 */ cmpw r0, r31 +/* 80315758 003126B8 41 80 00 38 */ blt lbl_80315790 +/* 8031575C 003126BC 7F C3 F3 78 */ mr r3, r30 +/* 80315760 003126C0 7F E5 FB 78 */ mr r5, r31 +/* 80315764 003126C4 38 80 00 00 */ li r4, 0 +/* 80315768 003126C8 48 00 00 45 */ bl IsWrappedMemory__15CCircularBufferFii +/* 8031576C 003126CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80315770 003126D0 40 82 00 20 */ bne lbl_80315790 +/* 80315774 003126D4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80315778 003126D8 38 00 00 00 */ li r0, 0 +/* 8031577C 003126DC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80315780 003126E0 93 FE 00 10 */ stw r31, 0x10(r30) +/* 80315784 003126E4 90 7E 00 14 */ stw r3, 0x14(r30) +/* 80315788 003126E8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8031578C 003126EC 48 00 00 08 */ b lbl_80315794 +lbl_80315790: +/* 80315790 003126F0 38 60 00 00 */ li r3, 0 +lbl_80315794: +/* 80315794 003126F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315798 003126F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031579C 003126FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803157A0 00312700 7C 08 03 A6 */ mtlr r0 +/* 803157A4 00312704 38 21 00 10 */ addi r1, r1, 0x10 +/* 803157A8 00312708 4E 80 00 20 */ blr + +.global IsWrappedMemory__15CCircularBufferFii +IsWrappedMemory__15CCircularBufferFii: +/* 803157AC 0031270C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 803157B0 00312710 2C 03 FF FF */ cmpwi r3, -1 +/* 803157B4 00312714 40 81 00 20 */ ble lbl_803157D4 +/* 803157B8 00312718 7C 03 20 00 */ cmpw r3, r4 +/* 803157BC 0031271C 41 80 00 18 */ blt lbl_803157D4 +/* 803157C0 00312720 7C 04 2A 14 */ add r0, r4, r5 +/* 803157C4 00312724 7C 03 00 00 */ cmpw r3, r0 +/* 803157C8 00312728 40 80 00 0C */ bge lbl_803157D4 +/* 803157CC 0031272C 38 60 00 01 */ li r3, 1 +/* 803157D0 00312730 4E 80 00 20 */ blr +lbl_803157D4: +/* 803157D4 00312734 38 60 00 00 */ li r3, 0 +/* 803157D8 00312738 4E 80 00 20 */ blr + +.global __ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership +__ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership: +/* 803157DC 0031273C 7C 04 00 D0 */ neg r0, r4 +/* 803157E0 00312740 38 E0 00 00 */ li r7, 0 +/* 803157E4 00312744 7C 00 23 78 */ or r0, r0, r4 +/* 803157E8 00312748 2C 06 00 01 */ cmpwi r6, 1 +/* 803157EC 0031274C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803157F0 00312750 98 03 00 00 */ stb r0, 0(r3) +/* 803157F4 00312754 38 00 FF FF */ li r0, -1 +/* 803157F8 00312758 90 83 00 04 */ stw r4, 4(r3) +/* 803157FC 0031275C 90 A3 00 08 */ stw r5, 8(r3) +/* 80315800 00312760 90 E3 00 0C */ stw r7, 0xc(r3) +/* 80315804 00312764 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80315808 00312768 90 03 00 14 */ stw r0, 0x14(r3) +/* 8031580C 0031276C 4C 82 00 20 */ bnelr +/* 80315810 00312770 98 E3 00 00 */ stb r7, 0(r3) +/* 80315814 00312774 4E 80 00 20 */ blr + +.global __nwa__FUlPCcPCc +__nwa__FUlPCcPCc: +/* 80315818 00312778 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031581C 0031277C 7C 08 02 A6 */ mflr r0 +/* 80315820 00312780 7C A6 2B 78 */ mr r6, r5 +/* 80315824 00312784 7C 85 23 78 */ mr r5, r4 +/* 80315828 00312788 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031582C 0031278C 38 80 FF FF */ li r4, -1 +/* 80315830 00312790 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315834 00312794 7C 7F 1B 78 */ mr r31, r3 +/* 80315838 00312798 38 61 00 08 */ addi r3, r1, 8 +/* 8031583C 0031279C 4B FC 0B 99 */ bl __ct__10CCallStackFUiPCcPCc +/* 80315840 003127A0 7C 67 1B 78 */ mr r7, r3 +/* 80315844 003127A4 7F E3 FB 78 */ mr r3, r31 +/* 80315848 003127A8 38 80 00 00 */ li r4, 0 +/* 8031584C 003127AC 38 A0 00 01 */ li r5, 1 +/* 80315850 003127B0 38 C0 00 01 */ li r6, 1 +/* 80315854 003127B4 48 00 01 41 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80315858 003127B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031585C 003127BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315860 003127C0 7C 08 03 A6 */ mtlr r0 +/* 80315864 003127C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315868 003127C8 4E 80 00 20 */ blr + +.global __nw__FUlPCcPCc +__nw__FUlPCcPCc: +/* 8031586C 003127CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315870 003127D0 7C 08 02 A6 */ mflr r0 +/* 80315874 003127D4 7C A6 2B 78 */ mr r6, r5 +/* 80315878 003127D8 7C 85 23 78 */ mr r5, r4 +/* 8031587C 003127DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80315880 003127E0 38 80 FF FF */ li r4, -1 +/* 80315884 003127E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315888 003127E8 7C 7F 1B 78 */ mr r31, r3 +/* 8031588C 003127EC 38 61 00 08 */ addi r3, r1, 8 +/* 80315890 003127F0 4B FC 0B 45 */ bl __ct__10CCallStackFUiPCcPCc +/* 80315894 003127F4 7C 67 1B 78 */ mr r7, r3 +/* 80315898 003127F8 7F E3 FB 78 */ mr r3, r31 +/* 8031589C 003127FC 38 80 00 00 */ li r4, 0 +/* 803158A0 00312800 38 A0 00 01 */ li r5, 1 +/* 803158A4 00312804 38 C0 00 00 */ li r6, 0 +/* 803158A8 00312808 48 00 00 ED */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 803158AC 0031280C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803158B0 00312810 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803158B4 00312814 7C 08 03 A6 */ mtlr r0 +/* 803158B8 00312818 38 21 00 20 */ addi r1, r1, 0x20 +/* 803158BC 0031281C 4E 80 00 20 */ blr + +.global OffsetFakeStatics__7CMemoryFi +OffsetFakeStatics__7CMemoryFi: +/* 803158C0 00312820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803158C4 00312824 7C 08 02 A6 */ mflr r0 +/* 803158C8 00312828 7C 64 1B 78 */ mr r4, r3 +/* 803158CC 0031282C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803158D0 00312830 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 803158D4 00312834 81 83 00 00 */ lwz r12, 0(r3) +/* 803158D8 00312838 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 803158DC 0031283C 7D 89 03 A6 */ mtctr r12 +/* 803158E0 00312840 4E 80 04 21 */ bctrl +/* 803158E4 00312844 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803158E8 00312848 7C 08 03 A6 */ mtlr r0 +/* 803158EC 0031284C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803158F0 00312850 4E 80 00 20 */ blr + +.global SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv +SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv: +/* 803158F4 00312854 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803158F8 00312858 7C 08 02 A6 */ mflr r0 +/* 803158FC 0031285C 7C 85 23 78 */ mr r5, r4 +/* 80315900 00312860 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315904 00312864 7C 60 1B 78 */ mr r0, r3 +/* 80315908 00312868 7C 04 03 78 */ mr r4, r0 +/* 8031590C 0031286C 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315910 00312870 81 83 00 00 */ lwz r12, 0(r3) +/* 80315914 00312874 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80315918 00312878 7D 89 03 A6 */ mtctr r12 +/* 8031591C 0031287C 4E 80 04 21 */ bctrl +/* 80315920 00312880 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315924 00312884 7C 08 03 A6 */ mtlr r0 +/* 80315928 00312888 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031592C 0031288C 4E 80 00 20 */ blr + +.global Free__7CMemoryFPCv +Free__7CMemoryFPCv: +/* 80315930 00312890 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315934 00312894 7C 08 02 A6 */ mflr r0 +/* 80315938 00312898 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031593C 0031289C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315940 003128A0 7C 7F 1B 78 */ mr r31, r3 +/* 80315944 003128A4 48 06 BD 1D */ bl OSDisableInterrupts +/* 80315948 003128A8 7C 03 00 D0 */ neg r0, r3 +/* 8031594C 003128AC 28 1F 00 00 */ cmplwi r31, 0 +/* 80315950 003128B0 7C 00 1B 78 */ or r0, r0, r3 +/* 80315954 003128B4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80315958 003128B8 98 01 00 08 */ stb r0, 8(r1) +/* 8031595C 003128BC 41 82 00 1C */ beq lbl_80315978 +/* 80315960 003128C0 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315964 003128C4 7F E4 FB 78 */ mr r4, r31 +/* 80315968 003128C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031596C 003128CC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80315970 003128D0 7D 89 03 A6 */ mtctr r12 +/* 80315974 003128D4 4E 80 04 21 */ bctrl +lbl_80315978: +/* 80315978 003128D8 88 61 00 08 */ lbz r3, 8(r1) +/* 8031597C 003128DC 48 06 BD 0D */ bl OSRestoreInterrupts +/* 80315980 003128E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80315984 003128E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315988 003128E8 7C 08 03 A6 */ mtlr r0 +/* 8031598C 003128EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315990 003128F0 4E 80 00 20 */ blr + +.global Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: +/* 80315994 003128F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80315998 003128F8 7C 08 02 A6 */ mflr r0 +/* 8031599C 003128FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 803159A0 00312900 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 803159A4 00312904 7C 7B 1B 78 */ mr r27, r3 +/* 803159A8 00312908 7C 9C 23 78 */ mr r28, r4 +/* 803159AC 0031290C 7C BD 2B 78 */ mr r29, r5 +/* 803159B0 00312910 7C DE 33 78 */ mr r30, r6 +/* 803159B4 00312914 7C FF 3B 78 */ mr r31, r7 +/* 803159B8 00312918 48 06 BC A9 */ bl OSDisableInterrupts +/* 803159BC 0031291C 7C 03 00 D0 */ neg r0, r3 +/* 803159C0 00312920 7F 64 DB 78 */ mr r4, r27 +/* 803159C4 00312924 7C 00 1B 78 */ or r0, r0, r3 +/* 803159C8 00312928 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 803159CC 0031292C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803159D0 00312930 7F 85 E3 78 */ mr r5, r28 +/* 803159D4 00312934 81 83 00 00 */ lwz r12, 0(r3) +/* 803159D8 00312938 7F A6 EB 78 */ mr r6, r29 +/* 803159DC 0031293C 7F C7 F3 78 */ mr r7, r30 +/* 803159E0 00312940 7F E8 FB 78 */ mr r8, r31 +/* 803159E4 00312944 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803159E8 00312948 98 01 00 08 */ stb r0, 8(r1) +/* 803159EC 0031294C 7D 89 03 A6 */ mtctr r12 +/* 803159F0 00312950 4E 80 04 21 */ bctrl +/* 803159F4 00312954 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803159F8 00312958 40 82 00 18 */ bne lbl_80315A10 +/* 803159FC 0031295C 3C 60 80 3D */ lis r3, lbl_803D7808@ha +/* 80315A00 00312960 7F 64 DB 78 */ mr r4, r27 +/* 80315A04 00312964 38 63 78 08 */ addi r3, r3, lbl_803D7808@l +/* 80315A08 00312968 4C C6 31 82 */ crclr 6 +/* 80315A0C 0031296C 4B FC 0E 21 */ bl rs_debugger_printf__FPCce +lbl_80315A10: +/* 80315A10 00312970 88 61 00 08 */ lbz r3, 8(r1) +/* 80315A14 00312974 48 06 BC 75 */ bl OSRestoreInterrupts +/* 80315A18 00312978 7F E3 FB 78 */ mr r3, r31 +/* 80315A1C 0031297C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80315A20 00312980 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80315A24 00312984 7C 08 03 A6 */ mtlr r0 +/* 80315A28 00312988 38 21 00 30 */ addi r1, r1, 0x30 +/* 80315A2C 0031298C 4E 80 00 20 */ blr + +.global Shutdown__7CMemoryFv +Shutdown__7CMemoryFv: +/* 80315A30 00312990 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80315A34 00312994 7C 08 02 A6 */ mflr r0 +/* 80315A38 00312998 90 01 00 64 */ stw r0, 0x64(r1) +/* 80315A3C 0031299C 38 00 00 00 */ li r0, 0 +/* 80315A40 003129A0 38 61 00 08 */ addi r3, r1, 8 +/* 80315A44 003129A4 80 8D 9C A8 */ lwz r4, lbl_805A8868@sda21(r13) +/* 80315A48 003129A8 98 0D A8 A0 */ stb r0, lbl_805A9460@sda21(r13) +/* 80315A4C 003129AC 81 84 00 00 */ lwz r12, 0(r4) +/* 80315A50 003129B0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80315A54 003129B4 7D 89 03 A6 */ mtctr r12 +/* 80315A58 003129B8 4E 80 04 21 */ bctrl +/* 80315A5C 003129BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80315A60 003129C0 28 00 00 00 */ cmplwi r0, 0 +/* 80315A64 003129C4 41 82 00 34 */ beq lbl_80315A98 +/* 80315A68 003129C8 38 00 00 00 */ li r0, 0 +/* 80315A6C 003129CC 3C 60 80 31 */ lis r3, cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv@ha +/* 80315A70 003129D0 38 83 5A BC */ addi r4, r3, cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv@l +/* 80315A74 003129D4 90 0D A8 A4 */ stw r0, lbl_805A9464@sda21(r13) +/* 80315A78 003129D8 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315A7C 003129DC 38 A0 00 00 */ li r5, 0 +/* 80315A80 003129E0 90 0D A8 A8 */ stw r0, lbl_805A9468@sda21(r13) +/* 80315A84 003129E4 38 C0 00 00 */ li r6, 0 +/* 80315A88 003129E8 81 83 00 00 */ lwz r12, 0(r3) +/* 80315A8C 003129EC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80315A90 003129F0 7D 89 03 A6 */ mtctr r12 +/* 80315A94 003129F4 4E 80 04 21 */ bctrl +lbl_80315A98: +/* 80315A98 003129F8 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315A9C 003129FC 81 83 00 00 */ lwz r12, 0(r3) +/* 80315AA0 00312A00 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80315AA4 00312A04 7D 89 03 A6 */ mtctr r12 +/* 80315AA8 00312A08 4E 80 04 21 */ bctrl +/* 80315AAC 00312A0C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80315AB0 00312A10 7C 08 03 A6 */ mtlr r0 +/* 80315AB4 00312A14 38 21 00 60 */ addi r1, r1, 0x60 +/* 80315AB8 00312A18 4E 80 00 20 */ blr + +.global cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv +cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv: +/* 80315ABC 00312A1C 88 03 00 08 */ lbz r0, 8(r3) +/* 80315AC0 00312A20 28 00 00 00 */ cmplwi r0, 0 +/* 80315AC4 00312A24 41 82 00 2C */ beq lbl_80315AF0 +/* 80315AC8 00312A28 88 03 00 09 */ lbz r0, 9(r3) +/* 80315ACC 00312A2C 28 00 00 00 */ cmplwi r0, 0 +/* 80315AD0 00312A30 40 82 00 20 */ bne lbl_80315AF0 +/* 80315AD4 00312A34 80 AD A8 A4 */ lwz r5, lbl_805A9464@sda21(r13) +/* 80315AD8 00312A38 80 8D A8 A8 */ lwz r4, lbl_805A9468@sda21(r13) +/* 80315ADC 00312A3C 80 03 00 04 */ lwz r0, 4(r3) +/* 80315AE0 00312A40 38 65 00 01 */ addi r3, r5, 1 +/* 80315AE4 00312A44 90 6D A8 A4 */ stw r3, lbl_805A9464@sda21(r13) +/* 80315AE8 00312A48 7C 04 02 14 */ add r0, r4, r0 +/* 80315AEC 00312A4C 90 0D A8 A8 */ stw r0, lbl_805A9468@sda21(r13) +lbl_80315AF0: +/* 80315AF0 00312A50 38 60 00 01 */ li r3, 1 +/* 80315AF4 00312A54 4E 80 00 20 */ blr + +.global SetAllocator__7CMemoryFR10COsContextR10IAllocator +SetAllocator__7CMemoryFR10COsContextR10IAllocator: +/* 80315AF8 00312A58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315AFC 00312A5C 7C 08 02 A6 */ mflr r0 +/* 80315B00 00312A60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315B04 00312A64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315B08 00312A68 7C 9F 23 78 */ mr r31, r4 +/* 80315B0C 00312A6C 93 C1 00 08 */ stw r30, 8(r1) +/* 80315B10 00312A70 7C 7E 1B 78 */ mr r30, r3 +/* 80315B14 00312A74 80 0D 9C A8 */ lwz r0, lbl_805A8868@sda21(r13) +/* 80315B18 00312A78 7C 00 F8 40 */ cmplw r0, r31 +/* 80315B1C 00312A7C 41 82 00 3C */ beq lbl_80315B58 +/* 80315B20 00312A80 28 00 00 00 */ cmplwi r0, 0 +/* 80315B24 00312A84 41 82 00 18 */ beq lbl_80315B3C +/* 80315B28 00312A88 7C 03 03 78 */ mr r3, r0 +/* 80315B2C 00312A8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80315B30 00312A90 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80315B34 00312A94 7D 89 03 A6 */ mtctr r12 +/* 80315B38 00312A98 4E 80 04 21 */ bctrl +lbl_80315B3C: +/* 80315B3C 00312A9C 93 ED 9C A8 */ stw r31, lbl_805A8868@sda21(r13) +/* 80315B40 00312AA0 7F E3 FB 78 */ mr r3, r31 +/* 80315B44 00312AA4 7F C4 F3 78 */ mr r4, r30 +/* 80315B48 00312AA8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80315B4C 00312AAC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80315B50 00312AB0 7D 89 03 A6 */ mtctr r12 +/* 80315B54 00312AB4 4E 80 04 21 */ bctrl +lbl_80315B58: +/* 80315B58 00312AB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315B5C 00312ABC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80315B60 00312AC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80315B64 00312AC4 7C 08 03 A6 */ mtlr r0 +/* 80315B68 00312AC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315B6C 00312ACC 4E 80 00 20 */ blr + +.global Startup__7CMemoryFR10COsContext +Startup__7CMemoryFR10COsContext: +/* 80315B70 00312AD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315B74 00312AD4 7C 08 02 A6 */ mflr r0 +/* 80315B78 00312AD8 7C 64 1B 78 */ mr r4, r3 +/* 80315B7C 00312ADC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315B80 00312AE0 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315B84 00312AE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80315B88 00312AE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80315B8C 00312AEC 7D 89 03 A6 */ mtctr r12 +/* 80315B90 00312AF0 4E 80 04 21 */ bctrl +/* 80315B94 00312AF4 98 6D A8 A0 */ stb r3, lbl_805A9460@sda21(r13) +/* 80315B98 00312AF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315B9C 00312AFC 7C 08 03 A6 */ mtlr r0 +/* 80315BA0 00312B00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315BA4 00312B04 4E 80 00 20 */ blr + +.global GetGameAllocator__10CMemorySysFv +GetGameAllocator__10CMemorySysFv: +/* 80315BA8 00312B08 3C 60 80 4C */ lis r3, lbl_804BFD64@ha +/* 80315BAC 00312B0C 38 63 FD 64 */ addi r3, r3, lbl_804BFD64@l +/* 80315BB0 00312B10 4E 80 00 20 */ blr + +.global __dt__10CMemorySysFv +__dt__10CMemorySysFv: +/* 80315BB4 00312B14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315BB8 00312B18 7C 08 02 A6 */ mflr r0 +/* 80315BBC 00312B1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315BC0 00312B20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315BC4 00312B24 7C 9F 23 78 */ mr r31, r4 +/* 80315BC8 00312B28 93 C1 00 08 */ stw r30, 8(r1) +/* 80315BCC 00312B2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80315BD0 00312B30 41 82 00 18 */ beq lbl_80315BE8 +/* 80315BD4 00312B34 4B FF FE 5D */ bl Shutdown__7CMemoryFv +/* 80315BD8 00312B38 7F E0 07 35 */ extsh. r0, r31 +/* 80315BDC 00312B3C 40 81 00 0C */ ble lbl_80315BE8 +/* 80315BE0 00312B40 7F C3 F3 78 */ mr r3, r30 +/* 80315BE4 00312B44 4B FF FD 4D */ bl Free__7CMemoryFPCv +lbl_80315BE8: +/* 80315BE8 00312B48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315BEC 00312B4C 7F C3 F3 78 */ mr r3, r30 +/* 80315BF0 00312B50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80315BF4 00312B54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80315BF8 00312B58 7C 08 03 A6 */ mtlr r0 +/* 80315BFC 00312B5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315C00 00312B60 4E 80 00 20 */ blr + +.global __ct__10CMemorySysFR10COsContextR10IAllocator +__ct__10CMemorySysFR10COsContextR10IAllocator: +/* 80315C04 00312B64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315C08 00312B68 7C 08 02 A6 */ mflr r0 +/* 80315C0C 00312B6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80315C10 00312B70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315C14 00312B74 7C BF 2B 78 */ mr r31, r5 +/* 80315C18 00312B78 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80315C1C 00312B7C 7C 9E 23 78 */ mr r30, r4 +/* 80315C20 00312B80 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80315C24 00312B84 7C 7D 1B 78 */ mr r29, r3 +/* 80315C28 00312B88 7F C3 F3 78 */ mr r3, r30 +/* 80315C2C 00312B8C 4B FF FF 45 */ bl Startup__7CMemoryFR10COsContext +/* 80315C30 00312B90 7F C3 F3 78 */ mr r3, r30 +/* 80315C34 00312B94 7F E4 FB 78 */ mr r4, r31 +/* 80315C38 00312B98 4B FF FE C1 */ bl SetAllocator__7CMemoryFR10COsContextR10IAllocator +/* 80315C3C 00312B9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80315C40 00312BA0 7F A3 EB 78 */ mr r3, r29 +/* 80315C44 00312BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315C48 00312BA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80315C4C 00312BAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80315C50 00312BB0 7C 08 03 A6 */ mtlr r0 +/* 80315C54 00312BB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315C58 00312BB8 4E 80 00 20 */ blr + +.global __sinit_CMemory_cpp +__sinit_CMemory_cpp: +/* 80315C5C 00312BBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315C60 00312BC0 7C 08 02 A6 */ mflr r0 +/* 80315C64 00312BC4 3C 60 80 4C */ lis r3, lbl_804BFD64@ha +/* 80315C68 00312BC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315C6C 00312BCC 38 63 FD 64 */ addi r3, r3, lbl_804BFD64@l +/* 80315C70 00312BD0 48 03 C9 5D */ bl __ct__14CGameAllocatorFv +/* 80315C74 00312BD4 3C 80 80 35 */ lis r4, __dt__14CGameAllocatorFv@ha +/* 80315C78 00312BD8 3C A0 80 4C */ lis r5, lbl_804BFD58@ha +/* 80315C7C 00312BDC 38 84 25 44 */ addi r4, r4, __dt__14CGameAllocatorFv@l +/* 80315C80 00312BE0 38 A5 FD 58 */ addi r5, r5, lbl_804BFD58@l +/* 80315C84 00312BE4 48 07 3A 09 */ bl __register_global_object +/* 80315C88 00312BE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315C8C 00312BEC 7C 08 03 A6 */ mtlr r0 +/* 80315C90 00312BF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315C94 00312BF4 4E 80 00 20 */ blr + +.global __dt__10IAllocatorFv +__dt__10IAllocatorFv: +/* 80315C98 00312BF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315C9C 00312BFC 7C 08 02 A6 */ mflr r0 +/* 80315CA0 00312C00 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315CA4 00312C04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315CA8 00312C08 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80315CAC 00312C0C 41 82 00 1C */ beq lbl_80315CC8 +/* 80315CB0 00312C10 3C A0 80 3F */ lis r5, lbl_803ED9C0@ha +/* 80315CB4 00312C14 7C 80 07 35 */ extsh. r0, r4 +/* 80315CB8 00312C18 38 05 D9 C0 */ addi r0, r5, lbl_803ED9C0@l +/* 80315CBC 00312C1C 90 1F 00 00 */ stw r0, 0(r31) +/* 80315CC0 00312C20 40 81 00 08 */ ble lbl_80315CC8 +/* 80315CC4 00312C24 4B FF FC 6D */ bl Free__7CMemoryFPCv +lbl_80315CC8: +/* 80315CC8 00312C28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315CCC 00312C2C 7F E3 FB 78 */ mr r3, r31 +/* 80315CD0 00312C30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80315CD4 00312C34 7C 08 03 A6 */ mtlr r0 +/* 80315CD8 00312C38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315CDC 00312C3C 4E 80 00 20 */ blr + +.global __ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi +__ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi: +/* 80315CE0 00312C40 90 83 00 00 */ stw r4, 0(r3) +/* 80315CE4 00312C44 80 01 00 08 */ lwz r0, 8(r1) +/* 80315CE8 00312C48 90 A3 00 04 */ stw r5, 4(r3) +/* 80315CEC 00312C4C 81 81 00 0C */ lwz r12, 0xc(r1) +/* 80315CF0 00312C50 90 C3 00 08 */ stw r6, 8(r3) +/* 80315CF4 00312C54 81 61 00 10 */ lwz r11, 0x10(r1) +/* 80315CF8 00312C58 90 E3 00 0C */ stw r7, 0xc(r3) +/* 80315CFC 00312C5C 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 80315D00 00312C60 91 03 00 10 */ stw r8, 0x10(r3) +/* 80315D04 00312C64 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 80315D08 00312C68 91 23 00 14 */ stw r9, 0x14(r3) +/* 80315D0C 00312C6C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80315D10 00312C70 91 43 00 18 */ stw r10, 0x18(r3) +/* 80315D14 00312C74 80 81 00 20 */ lwz r4, 0x20(r1) +/* 80315D18 00312C78 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80315D1C 00312C7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80315D20 00312C80 91 83 00 20 */ stw r12, 0x20(r3) +/* 80315D24 00312C84 81 21 00 28 */ lwz r9, 0x28(r1) +/* 80315D28 00312C88 91 63 00 24 */ stw r11, 0x24(r3) +/* 80315D2C 00312C8C 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 80315D30 00312C90 90 E3 00 28 */ stw r7, 0x28(r3) +/* 80315D34 00312C94 80 E1 00 30 */ lwz r7, 0x30(r1) +/* 80315D38 00312C98 90 C3 00 2C */ stw r6, 0x2c(r3) +/* 80315D3C 00312C9C 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 80315D40 00312CA0 90 A3 00 30 */ stw r5, 0x30(r3) +/* 80315D44 00312CA4 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 80315D48 00312CA8 90 83 00 34 */ stw r4, 0x34(r3) +/* 80315D4C 00312CAC 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80315D50 00312CB0 90 03 00 38 */ stw r0, 0x38(r3) +/* 80315D54 00312CB4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80315D58 00312CB8 91 23 00 3C */ stw r9, 0x3c(r3) +/* 80315D5C 00312CBC 91 03 00 40 */ stw r8, 0x40(r3) +/* 80315D60 00312CC0 90 E3 00 44 */ stw r7, 0x44(r3) +/* 80315D64 00312CC4 90 C3 00 48 */ stw r6, 0x48(r3) +/* 80315D68 00312CC8 90 A3 00 4C */ stw r5, 0x4c(r3) +/* 80315D6C 00312CCC 90 83 00 50 */ stw r4, 0x50(r3) +/* 80315D70 00312CD0 90 03 00 54 */ stw r0, 0x54(r3) +/* 80315D74 00312CD4 4E 80 00 20 */ blr + +.global GetNumChildren__13CPVSVisOctreeCFUc +GetNumChildren__13CPVSVisOctreeCFUc: +/* 80315D78 00312CD8 3C 60 80 3D */ lis r3, lbl_803D7820@ha +/* 80315D7C 00312CDC 54 80 16 FA */ rlwinm r0, r4, 2, 0x1b, 0x1d +/* 80315D80 00312CE0 38 63 78 20 */ addi r3, r3, lbl_803D7820@l +/* 80315D84 00312CE4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80315D88 00312CE8 4E 80 00 20 */ blr + +.global IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f +IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f: +/* 80315D8C 00312CEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315D90 00312CF0 54 80 07 7F */ clrlwi. r0, r4, 0x1d +/* 80315D94 00312CF4 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 80315D98 00312CF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315D9C 00312CFC 40 82 00 0C */ bne lbl_80315DA8 +/* 80315DA0 00312D00 38 60 FF FF */ li r3, -1 +/* 80315DA4 00312D04 48 00 01 C8 */ b lbl_80315F6C +lbl_80315DA8: +/* 80315DA8 00312D08 C0 23 00 38 */ lfs f1, 0x38(r3) +/* 80315DAC 00312D0C C0 63 00 2C */ lfs f3, 0x2c(r3) +/* 80315DB0 00312D10 C0 03 00 3C */ lfs f0, 0x3c(r3) +/* 80315DB4 00312D14 C0 E3 00 30 */ lfs f7, 0x30(r3) +/* 80315DB8 00312D18 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80315DBC 00312D1C C0 82 C9 D0 */ lfs f4, lbl_805AE6F0@sda21(r2) +/* 80315DC0 00312D20 EC C0 38 28 */ fsubs f6, f0, f7 +/* 80315DC4 00312D24 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 80315DC8 00312D28 C1 03 00 34 */ lfs f8, 0x34(r3) +/* 80315DCC 00312D2C EC 24 00 72 */ fmuls f1, f4, f1 +/* 80315DD0 00312D30 C0 05 00 00 */ lfs f0, 0(r5) +/* 80315DD4 00312D34 EC A2 40 28 */ fsubs f5, f2, f8 +/* 80315DD8 00312D38 EC 61 18 2A */ fadds f3, f1, f3 +/* 80315DDC 00312D3C EC 44 01 B2 */ fmuls f2, f4, f6 +/* 80315DE0 00312D40 EC 24 01 72 */ fmuls f1, f4, f5 +/* 80315DE4 00312D44 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80315DE8 00312D48 D0 61 00 08 */ stfs f3, 8(r1) +/* 80315DEC 00312D4C EC 42 38 2A */ fadds f2, f2, f7 +/* 80315DF0 00312D50 EC 21 40 2A */ fadds f1, f1, f8 +/* 80315DF4 00312D54 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80315DF8 00312D58 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80315DFC 00312D5C 40 81 00 10 */ ble lbl_80315E0C +/* 80315E00 00312D60 C0 83 00 38 */ lfs f4, 0x38(r3) +/* 80315E04 00312D64 39 60 00 01 */ li r11, 1 +/* 80315E08 00312D68 48 00 00 10 */ b lbl_80315E18 +lbl_80315E0C: +/* 80315E0C 00312D6C FC 80 18 90 */ fmr f4, f3 +/* 80315E10 00312D70 C0 63 00 2C */ lfs f3, 0x2c(r3) +/* 80315E14 00312D74 39 60 00 00 */ li r11, 0 +lbl_80315E18: +/* 80315E18 00312D78 C0 05 00 04 */ lfs f0, 4(r5) +/* 80315E1C 00312D7C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80315E20 00312D80 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80315E24 00312D84 40 81 00 14 */ ble lbl_80315E38 +/* 80315E28 00312D88 FC 40 08 90 */ fmr f2, f1 +/* 80315E2C 00312D8C C0 A3 00 3C */ lfs f5, 0x3c(r3) +/* 80315E30 00312D90 38 C0 00 01 */ li r6, 1 +/* 80315E34 00312D94 48 00 00 10 */ b lbl_80315E44 +lbl_80315E38: +/* 80315E38 00312D98 FC A0 08 90 */ fmr f5, f1 +/* 80315E3C 00312D9C C0 43 00 30 */ lfs f2, 0x30(r3) +/* 80315E40 00312DA0 38 C0 00 00 */ li r6, 0 +lbl_80315E44: +/* 80315E44 00312DA4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80315E48 00312DA8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80315E4C 00312DAC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80315E50 00312DB0 40 81 00 14 */ ble lbl_80315E64 +/* 80315E54 00312DB4 FC 00 08 90 */ fmr f0, f1 +/* 80315E58 00312DB8 C0 C3 00 40 */ lfs f6, 0x40(r3) +/* 80315E5C 00312DBC 38 00 00 01 */ li r0, 1 +/* 80315E60 00312DC0 48 00 00 10 */ b lbl_80315E70 +lbl_80315E64: +/* 80315E64 00312DC4 FC C0 08 90 */ fmr f6, f1 +/* 80315E68 00312DC8 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 80315E6C 00312DCC 38 00 00 00 */ li r0, 0 +lbl_80315E70: +/* 80315E70 00312DD0 54 89 07 FF */ clrlwi. r9, r4, 0x1f +/* 80315E74 00312DD4 39 80 00 01 */ li r12, 1 +/* 80315E78 00312DD8 3B E0 00 01 */ li r31, 1 +/* 80315E7C 00312DDC 41 82 00 08 */ beq lbl_80315E84 +/* 80315E80 00312DE0 39 80 00 02 */ li r12, 2 +lbl_80315E84: +/* 80315E84 00312DE4 54 88 07 BD */ rlwinm. r8, r4, 0, 0x1e, 0x1e +/* 80315E88 00312DE8 41 82 00 08 */ beq lbl_80315E90 +/* 80315E8C 00312DEC 3B E0 00 02 */ li r31, 2 +lbl_80315E90: +/* 80315E90 00312DF0 54 8A 07 7B */ rlwinm. r10, r4, 0, 0x1d, 0x1d +/* 80315E94 00312DF4 41 82 00 0C */ beq lbl_80315EA0 +/* 80315E98 00312DF8 FC 20 00 90 */ fmr f1, f0 +/* 80315E9C 00312DFC 48 00 00 08 */ b lbl_80315EA4 +lbl_80315EA0: +/* 80315EA0 00312E00 C0 23 00 34 */ lfs f1, 0x34(r3) +lbl_80315EA4: +/* 80315EA4 00312E04 2C 08 00 00 */ cmpwi r8, 0 +/* 80315EA8 00312E08 41 82 00 08 */ beq lbl_80315EB0 +/* 80315EAC 00312E0C 48 00 00 08 */ b lbl_80315EB4 +lbl_80315EB0: +/* 80315EB0 00312E10 C0 43 00 30 */ lfs f2, 0x30(r3) +lbl_80315EB4: +/* 80315EB4 00312E14 2C 09 00 00 */ cmpwi r9, 0 +/* 80315EB8 00312E18 41 82 00 0C */ beq lbl_80315EC4 +/* 80315EBC 00312E1C FC 00 18 90 */ fmr f0, f3 +/* 80315EC0 00312E20 48 00 00 08 */ b lbl_80315EC8 +lbl_80315EC4: +/* 80315EC4 00312E24 C0 03 00 2C */ lfs f0, 0x2c(r3) +lbl_80315EC8: +/* 80315EC8 00312E28 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80315ECC 00312E2C 2C 0A 00 00 */ cmpwi r10, 0 +/* 80315ED0 00312E30 D0 43 00 30 */ stfs f2, 0x30(r3) +/* 80315ED4 00312E34 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 80315ED8 00312E38 41 82 00 0C */ beq lbl_80315EE4 +/* 80315EDC 00312E3C FC 20 30 90 */ fmr f1, f6 +/* 80315EE0 00312E40 48 00 00 08 */ b lbl_80315EE8 +lbl_80315EE4: +/* 80315EE4 00312E44 C0 23 00 40 */ lfs f1, 0x40(r3) +lbl_80315EE8: +/* 80315EE8 00312E48 2C 08 00 00 */ cmpwi r8, 0 +/* 80315EEC 00312E4C 41 82 00 0C */ beq lbl_80315EF8 +/* 80315EF0 00312E50 FC 40 28 90 */ fmr f2, f5 +/* 80315EF4 00312E54 48 00 00 08 */ b lbl_80315EFC +lbl_80315EF8: +/* 80315EF8 00312E58 C0 43 00 3C */ lfs f2, 0x3c(r3) +lbl_80315EFC: +/* 80315EFC 00312E5C 2C 09 00 00 */ cmpwi r9, 0 +/* 80315F00 00312E60 41 82 00 0C */ beq lbl_80315F0C +/* 80315F04 00312E64 FC 00 20 90 */ fmr f0, f4 +/* 80315F08 00312E68 48 00 00 08 */ b lbl_80315F10 +lbl_80315F0C: +/* 80315F0C 00312E6C C0 03 00 38 */ lfs f0, 0x38(r3) +lbl_80315F10: +/* 80315F10 00312E70 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80315F14 00312E74 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 80315F18 00312E78 7C 00 61 D6 */ mullw r0, r0, r12 +/* 80315F1C 00312E7C 7C C8 00 D0 */ neg r6, r8 +/* 80315F20 00312E80 7C 8A 00 D0 */ neg r4, r10 +/* 80315F24 00312E84 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 80315F28 00312E88 7C E9 00 D0 */ neg r7, r9 +/* 80315F2C 00312E8C 7C C6 43 78 */ or r6, r6, r8 +/* 80315F30 00312E90 7C A5 61 D6 */ mullw r5, r5, r12 +/* 80315F34 00312E94 7C 84 53 78 */ or r4, r4, r10 +/* 80315F38 00312E98 7C E7 4B 78 */ or r7, r7, r9 +/* 80315F3C 00312E9C D0 43 00 3C */ stfs f2, 0x3c(r3) +/* 80315F40 00312EA0 54 C6 0F FE */ srwi r6, r6, 0x1f +/* 80315F44 00312EA4 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80315F48 00312EA8 7C 1F 01 D6 */ mullw r0, r31, r0 +/* 80315F4C 00312EAC 55 68 06 3E */ clrlwi r8, r11, 0x18 +/* 80315F50 00312EB0 54 E7 0F FE */ srwi r7, r7, 0x1f +/* 80315F54 00312EB4 D0 23 00 40 */ stfs f1, 0x40(r3) +/* 80315F58 00312EB8 7C 66 29 D6 */ mullw r3, r6, r5 +/* 80315F5C 00312EBC 7C 04 01 D6 */ mullw r0, r4, r0 +/* 80315F60 00312EC0 7C 88 39 D6 */ mullw r4, r8, r7 +/* 80315F64 00312EC4 7C 63 02 14 */ add r3, r3, r0 +/* 80315F68 00312EC8 7C 64 1A 14 */ add r3, r4, r3 +lbl_80315F6C: +/* 80315F6C 00312ECC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315F70 00312ED0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315F74 00312ED4 4E 80 00 20 */ blr + +.global SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f +SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f: +/* 80315F78 00312ED8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80315F7C 00312EDC 7C 08 02 A6 */ mflr r0 +/* 80315F80 00312EE0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80315F84 00312EE4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80315F88 00312EE8 7C 9C 23 78 */ mr r28, r4 +/* 80315F8C 00312EEC 7C BD 2B 78 */ mr r29, r5 +/* 80315F90 00312EF0 7C 7B 1B 78 */ mr r27, r3 +/* 80315F94 00312EF4 7F 83 E3 78 */ mr r3, r28 +/* 80315F98 00312EF8 7F A4 EB 78 */ mr r4, r29 +/* 80315F9C 00312EFC 48 02 15 99 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 80315FA0 00312F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80315FA4 00312F04 40 82 00 14 */ bne lbl_80315FB8 +/* 80315FA8 00312F08 7F 63 DB 78 */ mr r3, r27 +/* 80315FAC 00312F0C 38 80 00 02 */ li r4, 2 +/* 80315FB0 00312F10 48 00 03 D1 */ bl Reset__10CPVSVisSetFi +/* 80315FB4 00312F14 48 00 01 DC */ b lbl_80316190 +lbl_80315FB8: +/* 80315FB8 00312F18 83 DC 00 24 */ lwz r30, 0x24(r28) +/* 80315FBC 00312F1C C0 1C 00 00 */ lfs f0, 0(r28) +/* 80315FC0 00312F20 D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 80315FC4 00312F24 C0 1C 00 04 */ lfs f0, 4(r28) +/* 80315FC8 00312F28 D0 1C 00 30 */ stfs f0, 0x30(r28) +/* 80315FCC 00312F2C C0 1C 00 08 */ lfs f0, 8(r28) +/* 80315FD0 00312F30 D0 1C 00 34 */ stfs f0, 0x34(r28) +/* 80315FD4 00312F34 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80315FD8 00312F38 D0 1C 00 38 */ stfs f0, 0x38(r28) +/* 80315FDC 00312F3C C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 80315FE0 00312F40 D0 1C 00 3C */ stfs f0, 0x3c(r28) +/* 80315FE4 00312F44 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 80315FE8 00312F48 D0 1C 00 40 */ stfs f0, 0x40(r28) +/* 80315FEC 00312F4C 48 00 00 C8 */ b lbl_803160B4 +lbl_80315FF0: +/* 80315FF0 00312F50 2C 03 00 00 */ cmpwi r3, 0 +/* 80315FF4 00312F54 41 82 00 64 */ beq lbl_80316058 +/* 80315FF8 00312F58 57 E0 06 75 */ rlwinm. r0, r31, 0, 0x19, 0x1a +/* 80315FFC 00312F5C 40 82 00 18 */ bne lbl_80316014 +/* 80316000 00312F60 38 03 FF FF */ addi r0, r3, -1 +/* 80316004 00312F64 54 00 08 3C */ slwi r0, r0, 1 +/* 80316008 00312F68 7C 1E 02 2E */ lhzx r0, r30, r0 +/* 8031600C 00312F6C 7F DE 02 14 */ add r30, r30, r0 +/* 80316010 00312F70 48 00 00 48 */ b lbl_80316058 +lbl_80316014: +/* 80316014 00312F74 57 E0 06 B5 */ rlwinm. r0, r31, 0, 0x1a, 0x1a +/* 80316018 00312F78 41 82 00 14 */ beq lbl_8031602C +/* 8031601C 00312F7C 7C 63 F2 14 */ add r3, r3, r30 +/* 80316020 00312F80 88 03 FF FF */ lbz r0, -1(r3) +/* 80316024 00312F84 7F DE 02 14 */ add r30, r30, r0 +/* 80316028 00312F88 48 00 00 30 */ b lbl_80316058 +lbl_8031602C: +/* 8031602C 00312F8C 38 03 FF FF */ addi r0, r3, -1 +/* 80316030 00312F90 1C 00 00 03 */ mulli r0, r0, 3 +/* 80316034 00312F94 7C 7E 02 14 */ add r3, r30, r0 +/* 80316038 00312F98 88 03 00 01 */ lbz r0, 1(r3) +/* 8031603C 00312F9C 88 83 00 02 */ lbz r4, 2(r3) +/* 80316040 00312FA0 54 00 40 2E */ slwi r0, r0, 8 +/* 80316044 00312FA4 88 63 00 00 */ lbz r3, 0(r3) +/* 80316048 00312FA8 7C 00 22 14 */ add r0, r0, r4 +/* 8031604C 00312FAC 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80316050 00312FB0 7F C0 F2 14 */ add r30, r0, r30 +/* 80316054 00312FB4 7F C3 F2 14 */ add r30, r3, r30 +lbl_80316058: +/* 80316058 00312FB8 57 E0 06 75 */ rlwinm. r0, r31, 0, 0x19, 0x1a +/* 8031605C 00312FBC 40 82 00 20 */ bne lbl_8031607C +/* 80316060 00312FC0 7F 83 E3 78 */ mr r3, r28 +/* 80316064 00312FC4 7F E4 FB 78 */ mr r4, r31 +/* 80316068 00312FC8 4B FF FD 11 */ bl GetNumChildren__13CPVSVisOctreeCFUc +/* 8031606C 00312FCC 38 03 FF FF */ addi r0, r3, -1 +/* 80316070 00312FD0 54 00 08 3C */ slwi r0, r0, 1 +/* 80316074 00312FD4 7F DE 02 14 */ add r30, r30, r0 +/* 80316078 00312FD8 48 00 00 3C */ b lbl_803160B4 +lbl_8031607C: +/* 8031607C 00312FDC 57 E0 06 B5 */ rlwinm. r0, r31, 0, 0x1a, 0x1a +/* 80316080 00312FE0 41 82 00 1C */ beq lbl_8031609C +/* 80316084 00312FE4 7F 83 E3 78 */ mr r3, r28 +/* 80316088 00312FE8 7F E4 FB 78 */ mr r4, r31 +/* 8031608C 00312FEC 4B FF FC ED */ bl GetNumChildren__13CPVSVisOctreeCFUc +/* 80316090 00312FF0 7F C3 F2 14 */ add r30, r3, r30 +/* 80316094 00312FF4 3B DE FF FF */ addi r30, r30, -1 +/* 80316098 00312FF8 48 00 00 1C */ b lbl_803160B4 +lbl_8031609C: +/* 8031609C 00312FFC 7F 83 E3 78 */ mr r3, r28 +/* 803160A0 00313000 7F E4 FB 78 */ mr r4, r31 +/* 803160A4 00313004 4B FF FC D5 */ bl GetNumChildren__13CPVSVisOctreeCFUc +/* 803160A8 00313008 38 03 FF FF */ addi r0, r3, -1 +/* 803160AC 0031300C 1C 00 00 03 */ mulli r0, r0, 3 +/* 803160B0 00313010 7F DE 02 14 */ add r30, r30, r0 +lbl_803160B4: +/* 803160B4 00313014 8B FE 00 00 */ lbz r31, 0(r30) +/* 803160B8 00313018 7F 83 E3 78 */ mr r3, r28 +/* 803160BC 0031301C 7F A5 EB 78 */ mr r5, r29 +/* 803160C0 00313020 3B DE 00 01 */ addi r30, r30, 1 +/* 803160C4 00313024 7F E4 FB 78 */ mr r4, r31 +/* 803160C8 00313028 4B FF FC C5 */ bl IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f +/* 803160CC 0031302C 2C 03 FF FF */ cmpwi r3, -1 +/* 803160D0 00313030 40 82 FF 20 */ bne lbl_80315FF0 +/* 803160D4 00313034 57 E0 06 F8 */ rlwinm r0, r31, 0, 0x1b, 0x1c +/* 803160D8 00313038 2C 00 00 10 */ cmpwi r0, 0x10 +/* 803160DC 0031303C 41 82 00 98 */ beq lbl_80316174 +/* 803160E0 00313040 40 80 00 10 */ bge lbl_803160F0 +/* 803160E4 00313044 2C 00 00 08 */ cmpwi r0, 8 +/* 803160E8 00313048 41 82 00 7C */ beq lbl_80316164 +/* 803160EC 0031304C 48 00 00 98 */ b lbl_80316184 +lbl_803160F0: +/* 803160F0 00313050 2C 00 00 18 */ cmpwi r0, 0x18 +/* 803160F4 00313054 41 82 00 08 */ beq lbl_803160FC +/* 803160F8 00313058 48 00 00 8C */ b lbl_80316184 +lbl_803160FC: +/* 803160FC 0031305C 7C 7E 00 D0 */ neg r3, r30 +/* 80316100 00313060 38 00 00 00 */ li r0, 0 +/* 80316104 00313064 7C 63 F3 78 */ or r3, r3, r30 +/* 80316108 00313068 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8031610C 0031306C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80316110 00313070 80 9C 00 18 */ lwz r4, 0x18(r28) +/* 80316114 00313074 98 61 00 10 */ stb r3, 0x10(r1) +/* 80316118 00313078 7F 63 DB 78 */ mr r3, r27 +/* 8031611C 0031307C 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80316120 00313080 38 C1 00 08 */ addi r6, r1, 8 +/* 80316124 00313084 98 01 00 10 */ stb r0, 0x10(r1) +/* 80316128 00313088 98 01 00 08 */ stb r0, 8(r1) +/* 8031612C 0031308C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80316130 00313090 98 01 00 10 */ stb r0, 0x10(r1) +/* 80316134 00313094 48 00 02 69 */ bl SetFromMemory__10CPVSVisSetFiiPCc +/* 80316138 00313098 88 01 00 08 */ lbz r0, 8(r1) +/* 8031613C 0031309C 28 00 00 00 */ cmplwi r0, 0 +/* 80316140 003130A0 41 82 00 0C */ beq lbl_8031614C +/* 80316144 003130A4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80316148 003130A8 4B FF F7 E9 */ bl Free__7CMemoryFPCv +lbl_8031614C: +/* 8031614C 003130AC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80316150 003130B0 28 00 00 00 */ cmplwi r0, 0 +/* 80316154 003130B4 41 82 00 3C */ beq lbl_80316190 +/* 80316158 003130B8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8031615C 003130BC 4B FF F7 D5 */ bl Free__7CMemoryFPCv +/* 80316160 003130C0 48 00 00 30 */ b lbl_80316190 +lbl_80316164: +/* 80316164 003130C4 7F 63 DB 78 */ mr r3, r27 +/* 80316168 003130C8 38 80 00 02 */ li r4, 2 +/* 8031616C 003130CC 48 00 02 15 */ bl Reset__10CPVSVisSetFi +/* 80316170 003130D0 48 00 00 20 */ b lbl_80316190 +lbl_80316174: +/* 80316174 003130D4 7F 63 DB 78 */ mr r3, r27 +/* 80316178 003130D8 38 80 00 00 */ li r4, 0 +/* 8031617C 003130DC 48 00 02 05 */ bl Reset__10CPVSVisSetFi +/* 80316180 003130E0 48 00 00 10 */ b lbl_80316190 +lbl_80316184: +/* 80316184 003130E4 7F 63 DB 78 */ mr r3, r27 +/* 80316188 003130E8 38 80 00 02 */ li r4, 2 +/* 8031618C 003130EC 48 00 01 F5 */ bl Reset__10CPVSVisSetFi +lbl_80316190: +/* 80316190 003130F0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80316194 003130F4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80316198 003130F8 7C 08 03 A6 */ mtlr r0 +/* 8031619C 003130FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 803161A0 00313100 4E 80 00 20 */ blr + +.global MakePVSVisOctree__13CPVSVisOctreeFPCci +MakePVSVisOctree__13CPVSVisOctreeFPCci: +/* 803161A4 00313104 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803161A8 00313108 7C 08 02 A6 */ mflr r0 +/* 803161AC 0031310C 90 01 00 64 */ stw r0, 0x64(r1) +/* 803161B0 00313110 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 803161B4 00313114 93 C1 00 58 */ stw r30, 0x58(r1) +/* 803161B8 00313118 93 A1 00 54 */ stw r29, 0x54(r1) +/* 803161BC 0031311C 7C 9D 23 78 */ mr r29, r4 +/* 803161C0 00313120 93 81 00 50 */ stw r28, 0x50(r1) +/* 803161C4 00313124 7C 7C 1B 78 */ mr r28, r3 +/* 803161C8 00313128 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161CC 0031312C 48 02 90 01 */ bl __ct__15CMemoryInStreamFPCvUl +/* 803161D0 00313130 38 61 00 08 */ addi r3, r1, 8 +/* 803161D4 00313134 38 81 00 20 */ addi r4, r1, 0x20 +/* 803161D8 00313138 48 02 23 65 */ bl __ct__6CAABoxFR12CInputStream +/* 803161DC 0031313C 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161E0 00313140 48 02 8A A5 */ bl ReadLong__12CInputStreamFv +/* 803161E4 00313144 7C 7F 1B 78 */ mr r31, r3 +/* 803161E8 00313148 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161EC 0031314C 48 02 8A 99 */ bl ReadLong__12CInputStreamFv +/* 803161F0 00313150 7C 7E 1B 78 */ mr r30, r3 +/* 803161F4 00313154 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161F8 00313158 48 02 8A 8D */ bl ReadLong__12CInputStreamFv +/* 803161FC 0031315C 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80316200 00313160 7F 83 E3 78 */ mr r3, r28 +/* 80316204 00313164 7F E5 FB 78 */ mr r5, r31 +/* 80316208 00313168 7F C6 F3 78 */ mr r6, r30 +/* 8031620C 0031316C 38 81 00 08 */ addi r4, r1, 8 +/* 80316210 00313170 7C FD 02 14 */ add r7, r29, r0 +/* 80316214 00313174 48 00 00 3D */ bl __ct__13CPVSVisOctreeFRC6CAABoxiiPCc +/* 80316218 00313178 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8031621C 0031317C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80316220 00313180 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80316224 00313184 38 80 00 00 */ li r4, 0 +/* 80316228 00313188 90 01 00 20 */ stw r0, 0x20(r1) +/* 8031622C 0031318C 48 02 8E 81 */ bl __dt__12CInputStreamFv +/* 80316230 00313190 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80316234 00313194 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80316238 00313198 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8031623C 0031319C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80316240 003131A0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80316244 003131A4 7C 08 03 A6 */ mtlr r0 +/* 80316248 003131A8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8031624C 003131AC 4E 80 00 20 */ blr + +.global __ct__13CPVSVisOctreeFRC6CAABoxiiPCc +__ct__13CPVSVisOctreeFRC6CAABoxiiPCc: +/* 80316250 003131B0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80316254 003131B4 7D 07 00 D0 */ neg r8, r7 +/* 80316258 003131B8 7D 08 3B 78 */ or r8, r8, r7 +/* 8031625C 003131BC 38 00 00 00 */ li r0, 0 +/* 80316260 003131C0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80316264 003131C4 55 08 0F FE */ srwi r8, r8, 0x1f +/* 80316268 003131C8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031626C 003131CC D0 03 00 04 */ stfs f0, 4(r3) +/* 80316270 003131D0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80316274 003131D4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80316278 003131D8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8031627C 003131DC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80316280 003131E0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80316284 003131E4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80316288 003131E8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8031628C 003131EC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80316290 003131F0 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80316294 003131F4 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 80316298 003131F8 99 03 00 20 */ stb r8, 0x20(r3) +/* 8031629C 003131FC 90 E3 00 24 */ stw r7, 0x24(r3) +/* 803162A0 00313200 C0 03 00 00 */ lfs f0, 0(r3) +/* 803162A4 00313204 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 803162A8 00313208 C0 03 00 04 */ lfs f0, 4(r3) +/* 803162AC 0031320C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 803162B0 00313210 C0 03 00 08 */ lfs f0, 8(r3) +/* 803162B4 00313214 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 803162B8 00313218 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803162BC 0031321C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 803162C0 00313220 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 803162C4 00313224 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 803162C8 00313228 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 803162CC 0031322C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 803162D0 00313230 98 03 00 20 */ stb r0, 0x20(r3) +/* 803162D4 00313234 4E 80 00 20 */ blr + +.global GetVisible__10CPVSVisSetCFi +GetVisible__10CPVSVisSetCFi: +/* 803162D8 00313238 80 03 00 00 */ lwz r0, 0(r3) +/* 803162DC 0031323C 2C 00 00 01 */ cmpwi r0, 1 +/* 803162E0 00313240 41 82 00 0C */ beq lbl_803162EC +/* 803162E4 00313244 7C 03 03 78 */ mr r3, r0 +/* 803162E8 00313248 4E 80 00 20 */ blr +lbl_803162EC: +/* 803162EC 0031324C 80 A3 00 08 */ lwz r5, 8(r3) +/* 803162F0 00313250 80 03 00 04 */ lwz r0, 4(r3) +/* 803162F4 00313254 7C 05 00 50 */ subf r0, r5, r0 +/* 803162F8 00313258 7C 04 00 00 */ cmpw r4, r0 +/* 803162FC 0031325C 40 80 00 34 */ bge lbl_80316330 +/* 80316300 00313260 7C 80 1E 70 */ srawi r0, r4, 3 +/* 80316304 00313264 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80316308 00313268 7C A0 01 94 */ addze r5, r0 +/* 8031630C 0031326C 54 80 07 7E */ clrlwi r0, r4, 0x1d +/* 80316310 00313270 38 60 00 01 */ li r3, 1 +/* 80316314 00313274 7C 86 28 AE */ lbzx r4, r6, r5 +/* 80316318 00313278 7C 60 00 30 */ slw r0, r3, r0 +/* 8031631C 0031327C 38 60 00 00 */ li r3, 0 +/* 80316320 00313280 7C 80 00 39 */ and. r0, r4, r0 +/* 80316324 00313284 4D 82 00 20 */ beqlr +/* 80316328 00313288 38 60 00 02 */ li r3, 2 +/* 8031632C 0031328C 4E 80 00 20 */ blr +lbl_80316330: +/* 80316330 00313290 7C 00 20 50 */ subf r0, r0, r4 +/* 80316334 00313294 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80316338 00313298 7C 04 02 14 */ add r0, r4, r0 +/* 8031633C 0031329C 54 04 07 7E */ clrlwi r4, r0, 0x1d +/* 80316340 003132A0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80316344 003132A4 7C 00 01 94 */ addze r0, r0 +/* 80316348 003132A8 2C 04 00 07 */ cmpwi r4, 7 +/* 8031634C 003132AC 7C 63 02 14 */ add r3, r3, r0 +/* 80316350 003132B0 40 80 00 1C */ bge lbl_8031636C +/* 80316354 003132B4 38 00 00 03 */ li r0, 3 +/* 80316358 003132B8 88 63 00 00 */ lbz r3, 0(r3) +/* 8031635C 003132BC 7C 00 20 30 */ slw r0, r0, r4 +/* 80316360 003132C0 7C 60 00 38 */ and r0, r3, r0 +/* 80316364 003132C4 7C 03 26 30 */ sraw r3, r0, r4 +/* 80316368 003132C8 4E 80 00 20 */ blr +lbl_8031636C: +/* 8031636C 003132CC 88 03 00 01 */ lbz r0, 1(r3) +/* 80316370 003132D0 88 83 00 00 */ lbz r4, 0(r3) +/* 80316374 003132D4 54 03 0F BC */ rlwinm r3, r0, 1, 0x1e, 0x1e +/* 80316378 003132D8 50 83 CF FE */ rlwimi r3, r4, 0x19, 0x1f, 0x1f +/* 8031637C 003132DC 4E 80 00 20 */ blr + +.global Reset__10CPVSVisSetFi +Reset__10CPVSVisSetFi: +/* 80316380 003132E0 90 83 00 00 */ stw r4, 0(r3) +/* 80316384 003132E4 38 00 00 00 */ li r0, 0 +/* 80316388 003132E8 90 03 00 04 */ stw r0, 4(r3) +/* 8031638C 003132EC 90 03 00 08 */ stw r0, 8(r3) +/* 80316390 003132F0 98 03 00 0C */ stb r0, 0xc(r3) +/* 80316394 003132F4 90 03 00 10 */ stw r0, 0x10(r3) +/* 80316398 003132F8 4E 80 00 20 */ blr + +.global SetFromMemory__10CPVSVisSetFiiPCc +SetFromMemory__10CPVSVisSetFiiPCc: +/* 8031639C 003132FC 38 00 00 01 */ li r0, 1 +/* 803163A0 00313300 90 03 00 00 */ stw r0, 0(r3) +/* 803163A4 00313304 38 00 00 00 */ li r0, 0 +/* 803163A8 00313308 90 83 00 04 */ stw r4, 4(r3) +/* 803163AC 0031330C 90 A3 00 08 */ stw r5, 8(r3) +/* 803163B0 00313310 88 86 00 00 */ lbz r4, 0(r6) +/* 803163B4 00313314 98 83 00 0C */ stb r4, 0xc(r3) +/* 803163B8 00313318 80 86 00 04 */ lwz r4, 4(r6) +/* 803163BC 0031331C 90 83 00 10 */ stw r4, 0x10(r3) +/* 803163C0 00313320 98 06 00 00 */ stb r0, 0(r6) +/* 803163C4 00313324 4E 80 00 20 */ blr + +.global __dt__7CCEPCOL +__dt__7CCEPCOL: +/* 803163C8 00313328 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803163CC 0031332C 7C 08 02 A6 */ mflr r0 +/* 803163D0 00313330 90 01 00 14 */ stw r0, 0x14(r1) +/* 803163D4 00313334 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803163D8 00313338 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803163DC 0031333C 41 82 00 44 */ beq lbl_80316420 +/* 803163E0 00313340 3C 60 80 3F */ lis r3, lbl_803EDA00@ha +/* 803163E4 00313344 38 03 DA 00 */ addi r0, r3, lbl_803EDA00@l +/* 803163E8 00313348 90 1F 00 00 */ stw r0, 0(r31) +/* 803163EC 0031334C 41 82 00 20 */ beq lbl_8031640C +/* 803163F0 00313350 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803163F4 00313354 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803163F8 00313358 90 1F 00 00 */ stw r0, 0(r31) +/* 803163FC 0031335C 41 82 00 10 */ beq lbl_8031640C +/* 80316400 00313360 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316404 00313364 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316408 00313368 90 1F 00 00 */ stw r0, 0(r31) +lbl_8031640C: +/* 8031640C 0031336C 7C 80 07 35 */ extsh. r0, r4 +/* 80316410 00313370 40 81 00 10 */ ble lbl_80316420 +/* 80316414 00313374 7F E3 FB 78 */ mr r3, r31 +/* 80316418 00313378 38 80 00 04 */ li r4, 4 +/* 8031641C 0031337C 48 05 66 49 */ bl sub_8036ca64 +lbl_80316420: +/* 80316420 00313380 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80316424 00313384 7F E3 FB 78 */ mr r3, r31 +/* 80316428 00313388 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031642C 0031338C 7C 08 03 A6 */ mtlr r0 +/* 80316430 00313390 38 21 00 10 */ addi r1, r1, 0x10 +/* 80316434 00313394 4E 80 00 20 */ blr + +.global GetValue__7CCEPCOLCFiR6CColor +GetValue__7CCEPCOLCFiR6CColor: +/* 80316438 00313398 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 8031643C 0031339C 38 60 00 00 */ li r3, 0 +/* 80316440 003133A0 80 04 00 34 */ lwz r0, 0x34(r4) +/* 80316444 003133A4 90 05 00 00 */ stw r0, 0(r5) +/* 80316448 003133A8 4E 80 00 20 */ blr + +.global GetValue__18CCEKeyframeEmitterCFiR6CColor +GetValue__18CCEKeyframeEmitterCFiR6CColor: +/* 8031644C 003133AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80316450 003133B0 7C 08 02 A6 */ mflr r0 +/* 80316454 003133B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80316458 003133B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031645C 003133BC 7C BF 2B 78 */ mr r31, r5 +/* 80316460 003133C0 80 03 00 04 */ lwz r0, 4(r3) +/* 80316464 003133C4 2C 00 00 00 */ cmpwi r0, 0 +/* 80316468 003133C8 40 82 00 A0 */ bne lbl_80316508 +/* 8031646C 003133CC 88 03 00 0C */ lbz r0, 0xc(r3) +/* 80316470 003133D0 80 ED A8 D8 */ lwz r7, lbl_805A9498@sda21(r13) +/* 80316474 003133D4 28 00 00 00 */ cmplwi r0, 0 +/* 80316478 003133D8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8031647C 003133DC 41 82 00 50 */ beq lbl_803164CC +/* 80316480 003133E0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80316484 003133E4 7C 07 00 00 */ cmpw r7, r0 +/* 80316488 003133E8 41 80 00 2C */ blt lbl_803164B4 +/* 8031648C 003133EC 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 80316490 003133F0 7C A6 38 50 */ subf r5, r6, r7 +/* 80316494 003133F4 7C 86 00 50 */ subf r4, r6, r0 +/* 80316498 003133F8 7C 05 23 D6 */ divw r0, r5, r4 +/* 8031649C 003133FC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803164A0 00313400 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803164A4 00313404 7C 00 28 50 */ subf r0, r0, r5 +/* 803164A8 00313408 90 01 00 10 */ stw r0, 0x10(r1) +/* 803164AC 0031340C 7C 00 32 14 */ add r0, r0, r6 +/* 803164B0 00313410 90 01 00 10 */ stw r0, 0x10(r1) +lbl_803164B4: +/* 803164B4 00313414 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803164B8 00313418 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803164BC 0031341C 54 00 10 3A */ slwi r0, r0, 2 +/* 803164C0 00313420 7C 03 00 2E */ lwzx r0, r3, r0 +/* 803164C4 00313424 90 1F 00 00 */ stw r0, 0(r31) +/* 803164C8 00313428 48 00 00 38 */ b lbl_80316500 +lbl_803164CC: +/* 803164CC 0031342C 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 803164D0 00313430 38 81 00 10 */ addi r4, r1, 0x10 +/* 803164D4 00313434 38 05 FF FF */ addi r0, r5, -1 +/* 803164D8 00313438 7C 00 38 00 */ cmpw r0, r7 +/* 803164DC 0031343C 90 01 00 0C */ stw r0, 0xc(r1) +/* 803164E0 00313440 40 80 00 08 */ bge lbl_803164E8 +/* 803164E4 00313444 38 81 00 0C */ addi r4, r1, 0xc +lbl_803164E8: +/* 803164E8 00313448 80 04 00 00 */ lwz r0, 0(r4) +/* 803164EC 0031344C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803164F0 00313450 90 01 00 10 */ stw r0, 0x10(r1) +/* 803164F4 00313454 54 00 10 3A */ slwi r0, r0, 2 +/* 803164F8 00313458 7C 03 00 2E */ lwzx r0, r3, r0 +/* 803164FC 0031345C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80316500: +/* 80316500 00313460 38 60 00 00 */ li r3, 0 +/* 80316504 00313464 48 00 00 54 */ b lbl_80316558 +lbl_80316508: +/* 80316508 00313468 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 8031650C 0031346C 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80316510 00313470 40 82 00 18 */ bne lbl_80316528 +/* 80316514 00313474 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80316518 00313478 54 80 10 3A */ slwi r0, r4, 2 +/* 8031651C 0031347C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80316520 00313480 90 1F 00 00 */ stw r0, 0(r31) +/* 80316524 00313484 48 00 00 30 */ b lbl_80316554 +lbl_80316528: +/* 80316528 00313488 38 04 00 01 */ addi r0, r4, 1 +/* 8031652C 0031348C 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80316530 00313490 54 03 10 3A */ slwi r3, r0, 2 +/* 80316534 00313494 C0 2D A8 E8 */ lfs f1, lbl_805A94A8@sda21(r13) +/* 80316538 00313498 54 80 10 3A */ slwi r0, r4, 2 +/* 8031653C 0031349C 7C A6 1A 14 */ add r5, r6, r3 +/* 80316540 003134A0 38 61 00 08 */ addi r3, r1, 8 +/* 80316544 003134A4 7C 86 02 14 */ add r4, r6, r0 +/* 80316548 003134A8 48 04 CD 65 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8031654C 003134AC 80 01 00 08 */ lwz r0, 8(r1) +/* 80316550 003134B0 90 1F 00 00 */ stw r0, 0(r31) +lbl_80316554: +/* 80316554 003134B4 38 60 00 00 */ li r3, 0 +lbl_80316558: +/* 80316558 003134B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031655C 003134BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316560 003134C0 7C 08 03 A6 */ mtlr r0 +/* 80316564 003134C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316568 003134C8 4E 80 00 20 */ blr + +.global __dt__18CCEKeyframeEmitterFv +__dt__18CCEKeyframeEmitterFv: +/* 8031656C 003134CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80316570 003134D0 7C 08 02 A6 */ mflr r0 +/* 80316574 003134D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80316578 003134D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031657C 003134DC 7C 9F 23 78 */ mr r31, r4 +/* 80316580 003134E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80316584 003134E4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80316588 003134E8 41 82 00 90 */ beq lbl_80316618 +/* 8031658C 003134EC 3C 60 80 3F */ lis r3, lbl_803EDA10@ha +/* 80316590 003134F0 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80316594 003134F4 38 03 DA 10 */ addi r0, r3, lbl_803EDA10@l +/* 80316598 003134F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8031659C 003134FC 41 82 00 44 */ beq lbl_803165E0 +/* 803165A0 00313500 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803165A4 00313504 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803165A8 00313508 54 00 10 3A */ slwi r0, r0, 2 +/* 803165AC 0031350C 7C 03 02 14 */ add r0, r3, r0 +/* 803165B0 00313510 90 61 00 0C */ stw r3, 0xc(r1) +/* 803165B4 00313514 7C 64 1B 78 */ mr r4, r3 +/* 803165B8 00313518 90 01 00 14 */ stw r0, 0x14(r1) +/* 803165BC 0031351C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803165C0 00313520 90 61 00 08 */ stw r3, 8(r1) +/* 803165C4 00313524 48 00 00 08 */ b lbl_803165CC +lbl_803165C8: +/* 803165C8 00313528 38 84 00 04 */ addi r4, r4, 4 +lbl_803165CC: +/* 803165CC 0031352C 7C 04 00 40 */ cmplw r4, r0 +/* 803165D0 00313530 40 82 FF F8 */ bne lbl_803165C8 +/* 803165D4 00313534 28 03 00 00 */ cmplwi r3, 0 +/* 803165D8 00313538 41 82 00 08 */ beq lbl_803165E0 +/* 803165DC 0031353C 4B FF F3 55 */ bl Free__7CMemoryFPCv +lbl_803165E0: +/* 803165E0 00313540 28 1E 00 00 */ cmplwi r30, 0 +/* 803165E4 00313544 41 82 00 20 */ beq lbl_80316604 +/* 803165E8 00313548 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803165EC 0031354C 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803165F0 00313550 90 1E 00 00 */ stw r0, 0(r30) +/* 803165F4 00313554 41 82 00 10 */ beq lbl_80316604 +/* 803165F8 00313558 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803165FC 0031355C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316600 00313560 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316604: +/* 80316604 00313564 7F E0 07 35 */ extsh. r0, r31 +/* 80316608 00313568 40 81 00 10 */ ble lbl_80316618 +/* 8031660C 0031356C 7F C3 F3 78 */ mr r3, r30 +/* 80316610 00313570 38 80 00 28 */ li r4, 0x28 +/* 80316614 00313574 48 05 64 51 */ bl sub_8036ca64 +lbl_80316618: +/* 80316618 00313578 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031661C 0031357C 7F C3 F3 78 */ mr r3, r30 +/* 80316620 00313580 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316624 00313584 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316628 00313588 7C 08 03 A6 */ mtlr r0 +/* 8031662C 0031358C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316630 00313590 4E 80 00 20 */ blr + +.global __ct__18CCEKeyframeEmitterFR12CInputStream +__ct__18CCEKeyframeEmitterFR12CInputStream: +/* 80316634 00313594 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80316638 00313598 7C 08 02 A6 */ mflr r0 +/* 8031663C 0031359C 3C A0 80 3F */ lis r5, lbl_803EC5B4@ha +/* 80316640 003135A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80316644 003135A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80316648 003135A8 7C 9F 23 78 */ mr r31, r4 +/* 8031664C 003135AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80316650 003135B0 7C 7E 1B 78 */ mr r30, r3 +/* 80316654 003135B4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316658 003135B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031665C 003135BC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316660 003135C0 3C 60 80 3F */ lis r3, lbl_803EDA10@ha +/* 80316664 003135C4 7F C6 F3 78 */ mr r6, r30 +/* 80316668 003135C8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8031666C 003135CC 90 1E 00 00 */ stw r0, 0(r30) +/* 80316670 003135D0 38 05 C5 B4 */ addi r0, r5, lbl_803EC5B4@l +/* 80316674 003135D4 90 1E 00 00 */ stw r0, 0(r30) +/* 80316678 003135D8 38 03 DA 10 */ addi r0, r3, lbl_803EDA10@l +/* 8031667C 003135DC 7F E3 FB 78 */ mr r3, r31 +/* 80316680 003135E0 90 1E 00 00 */ stw r0, 0(r30) +/* 80316684 003135E4 48 02 86 01 */ bl ReadLong__12CInputStreamFv +/* 80316688 003135E8 90 7E 00 04 */ stw r3, 4(r30) +/* 8031668C 003135EC 7F E3 FB 78 */ mr r3, r31 +/* 80316690 003135F0 48 02 85 F5 */ bl ReadLong__12CInputStreamFv +/* 80316694 003135F4 90 7E 00 08 */ stw r3, 8(r30) +/* 80316698 003135F8 7F E3 FB 78 */ mr r3, r31 +/* 8031669C 003135FC 48 02 86 41 */ bl ReadBool__12CInputStreamFv +/* 803166A0 00313600 98 7E 00 0C */ stb r3, 0xc(r30) +/* 803166A4 00313604 7F E3 FB 78 */ mr r3, r31 +/* 803166A8 00313608 48 02 86 35 */ bl ReadBool__12CInputStreamFv +/* 803166AC 0031360C 98 7E 00 0D */ stb r3, 0xd(r30) +/* 803166B0 00313610 7F E3 FB 78 */ mr r3, r31 +/* 803166B4 00313614 48 02 85 D1 */ bl ReadLong__12CInputStreamFv +/* 803166B8 00313618 90 7E 00 10 */ stw r3, 0x10(r30) +/* 803166BC 0031361C 7F E3 FB 78 */ mr r3, r31 +/* 803166C0 00313620 48 02 85 C5 */ bl ReadLong__12CInputStreamFv +/* 803166C4 00313624 90 7E 00 14 */ stw r3, 0x14(r30) +/* 803166C8 00313628 38 00 00 00 */ li r0, 0 +/* 803166CC 0031362C 7F E3 FB 78 */ mr r3, r31 +/* 803166D0 00313630 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 803166D4 00313634 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803166D8 00313638 90 1E 00 24 */ stw r0, 0x24(r30) +/* 803166DC 0031363C 48 02 85 A9 */ bl ReadLong__12CInputStreamFv +/* 803166E0 00313640 7C 7C 1B 78 */ mr r28, r3 +/* 803166E4 00313644 38 7E 00 18 */ addi r3, r30, 0x18 +/* 803166E8 00313648 7F 84 E3 78 */ mr r4, r28 +/* 803166EC 0031364C 48 00 0E 55 */ bl "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" +/* 803166F0 00313650 3B A0 00 00 */ li r29, 0 +/* 803166F4 00313654 48 00 00 64 */ b lbl_80316758 +lbl_803166F8: +/* 803166F8 00313658 7F E4 FB 78 */ mr r4, r31 +/* 803166FC 0031365C 38 61 00 08 */ addi r3, r1, 8 +/* 80316700 00313660 48 04 CD 4D */ bl __ct__6CColorFR12CInputStream +/* 80316704 00313664 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80316708 00313668 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 8031670C 0031366C 7C 00 28 00 */ cmpw r0, r5 +/* 80316710 00313670 41 80 00 1C */ blt lbl_8031672C +/* 80316714 00313674 2C 05 00 00 */ cmpwi r5, 0 +/* 80316718 00313678 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8031671C 0031367C 38 80 00 04 */ li r4, 4 +/* 80316720 00313680 41 82 00 08 */ beq lbl_80316728 +/* 80316724 00313684 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80316728: +/* 80316728 00313688 48 00 0E 19 */ bl "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" +lbl_8031672C: +/* 8031672C 0031368C 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80316730 00313690 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80316734 00313694 54 00 10 3A */ slwi r0, r0, 2 +/* 80316738 00313698 7C 63 02 15 */ add. r3, r3, r0 +/* 8031673C 0031369C 41 82 00 0C */ beq lbl_80316748 +/* 80316740 003136A0 80 01 00 08 */ lwz r0, 8(r1) +/* 80316744 003136A4 90 03 00 00 */ stw r0, 0(r3) +lbl_80316748: +/* 80316748 003136A8 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8031674C 003136AC 3B BD 00 01 */ addi r29, r29, 1 +/* 80316750 003136B0 38 03 00 01 */ addi r0, r3, 1 +/* 80316754 003136B4 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_80316758: +/* 80316758 003136B8 7C 1D E0 00 */ cmpw r29, r28 +/* 8031675C 003136BC 41 80 FF 9C */ blt lbl_803166F8 +/* 80316760 003136C0 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80316764 003136C4 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80316768 003136C8 7C 03 00 00 */ cmpw r3, r0 +/* 8031676C 003136CC 41 80 00 0C */ blt lbl_80316778 +/* 80316770 003136D0 38 00 00 00 */ li r0, 0 +/* 80316774 003136D4 90 1E 00 14 */ stw r0, 0x14(r30) +lbl_80316778: +/* 80316778 003136D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031677C 003136DC 7F C3 F3 78 */ mr r3, r30 +/* 80316780 003136E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316784 003136E4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316788 003136E8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031678C 003136EC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80316790 003136F0 7C 08 03 A6 */ mtlr r0 +/* 80316794 003136F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316798 003136F8 4E 80 00 20 */ blr + +.global GetValue__8CCEPulseCFiR6CColor +GetValue__8CCEPulseCFiR6CColor: +/* 8031679C 003136FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803167A0 00313700 7C 08 02 A6 */ mflr r0 +/* 803167A4 00313704 90 01 00 24 */ stw r0, 0x24(r1) +/* 803167A8 00313708 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803167AC 0031370C 7C BF 2B 78 */ mr r31, r5 +/* 803167B0 00313710 38 A1 00 0C */ addi r5, r1, 0xc +/* 803167B4 00313714 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803167B8 00313718 7C 9E 23 78 */ mr r30, r4 +/* 803167BC 0031371C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803167C0 00313720 7C 7D 1B 78 */ mr r29, r3 +/* 803167C4 00313724 80 63 00 04 */ lwz r3, 4(r3) +/* 803167C8 00313728 81 83 00 00 */ lwz r12, 0(r3) +/* 803167CC 0031372C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803167D0 00313730 7D 89 03 A6 */ mtctr r12 +/* 803167D4 00313734 4E 80 04 21 */ bctrl +/* 803167D8 00313738 80 7D 00 08 */ lwz r3, 8(r29) +/* 803167DC 0031373C 7F C4 F3 78 */ mr r4, r30 +/* 803167E0 00313740 38 A1 00 08 */ addi r5, r1, 8 +/* 803167E4 00313744 81 83 00 00 */ lwz r12, 0(r3) +/* 803167E8 00313748 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803167EC 0031374C 7D 89 03 A6 */ mtctr r12 +/* 803167F0 00313750 4E 80 04 21 */ bctrl +/* 803167F4 00313754 80 61 00 08 */ lwz r3, 8(r1) +/* 803167F8 00313758 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803167FC 0031375C 38 A3 00 01 */ addi r5, r3, 1 +/* 80316800 00313760 7C A4 2A 15 */ add. r5, r4, r5 +/* 80316804 00313764 40 80 00 08 */ bge lbl_8031680C +/* 80316808 00313768 38 A0 00 01 */ li r5, 1 +lbl_8031680C: +/* 8031680C 0031376C 2C 03 00 01 */ cmpwi r3, 1 +/* 80316810 00313770 41 80 00 58 */ blt lbl_80316868 +/* 80316814 00313774 7C 1E 2B D6 */ divw r0, r30, r5 +/* 80316818 00313778 7C 00 29 D6 */ mullw r0, r0, r5 +/* 8031681C 0031377C 7C 00 F0 50 */ subf r0, r0, r30 +/* 80316820 00313780 7C 00 20 00 */ cmpw r0, r4 +/* 80316824 00313784 40 81 00 24 */ ble lbl_80316848 +/* 80316828 00313788 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8031682C 0031378C 7F C4 F3 78 */ mr r4, r30 +/* 80316830 00313790 7F E5 FB 78 */ mr r5, r31 +/* 80316834 00313794 81 83 00 00 */ lwz r12, 0(r3) +/* 80316838 00313798 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031683C 0031379C 7D 89 03 A6 */ mtctr r12 +/* 80316840 003137A0 4E 80 04 21 */ bctrl +/* 80316844 003137A4 48 00 00 40 */ b lbl_80316884 +lbl_80316848: +/* 80316848 003137A8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8031684C 003137AC 7F C4 F3 78 */ mr r4, r30 +/* 80316850 003137B0 7F E5 FB 78 */ mr r5, r31 +/* 80316854 003137B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80316858 003137B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031685C 003137BC 7D 89 03 A6 */ mtctr r12 +/* 80316860 003137C0 4E 80 04 21 */ bctrl +/* 80316864 003137C4 48 00 00 20 */ b lbl_80316884 +lbl_80316868: +/* 80316868 003137C8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8031686C 003137CC 7F C4 F3 78 */ mr r4, r30 +/* 80316870 003137D0 7F E5 FB 78 */ mr r5, r31 +/* 80316874 003137D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80316878 003137D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031687C 003137DC 7D 89 03 A6 */ mtctr r12 +/* 80316880 003137E0 4E 80 04 21 */ bctrl +lbl_80316884: +/* 80316884 003137E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80316888 003137E8 38 60 00 00 */ li r3, 0 +/* 8031688C 003137EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316890 003137F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316894 003137F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80316898 003137F8 7C 08 03 A6 */ mtlr r0 +/* 8031689C 003137FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803168A0 00313800 4E 80 00 20 */ blr + +.global __dt__8CCEPulseFv +__dt__8CCEPulseFv: +/* 803168A4 00313804 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803168A8 00313808 7C 08 02 A6 */ mflr r0 +/* 803168AC 0031380C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803168B0 00313810 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803168B4 00313814 7C 9F 23 78 */ mr r31, r4 +/* 803168B8 00313818 93 C1 00 08 */ stw r30, 8(r1) +/* 803168BC 0031381C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803168C0 00313820 41 82 00 C8 */ beq lbl_80316988 +/* 803168C4 00313824 3C 60 80 3F */ lis r3, lbl_803EDA20@ha +/* 803168C8 00313828 38 03 DA 20 */ addi r0, r3, lbl_803EDA20@l +/* 803168CC 0031382C 90 1E 00 00 */ stw r0, 0(r30) +/* 803168D0 00313830 80 7E 00 04 */ lwz r3, 4(r30) +/* 803168D4 00313834 28 03 00 00 */ cmplwi r3, 0 +/* 803168D8 00313838 41 82 00 18 */ beq lbl_803168F0 +/* 803168DC 0031383C 81 83 00 00 */ lwz r12, 0(r3) +/* 803168E0 00313840 38 80 00 01 */ li r4, 1 +/* 803168E4 00313844 81 8C 00 08 */ lwz r12, 8(r12) +/* 803168E8 00313848 7D 89 03 A6 */ mtctr r12 +/* 803168EC 0031384C 4E 80 04 21 */ bctrl +lbl_803168F0: +/* 803168F0 00313850 80 7E 00 08 */ lwz r3, 8(r30) +/* 803168F4 00313854 28 03 00 00 */ cmplwi r3, 0 +/* 803168F8 00313858 41 82 00 18 */ beq lbl_80316910 +/* 803168FC 0031385C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316900 00313860 38 80 00 01 */ li r4, 1 +/* 80316904 00313864 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316908 00313868 7D 89 03 A6 */ mtctr r12 +/* 8031690C 0031386C 4E 80 04 21 */ bctrl +lbl_80316910: +/* 80316910 00313870 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80316914 00313874 28 03 00 00 */ cmplwi r3, 0 +/* 80316918 00313878 41 82 00 18 */ beq lbl_80316930 +/* 8031691C 0031387C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316920 00313880 38 80 00 01 */ li r4, 1 +/* 80316924 00313884 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316928 00313888 7D 89 03 A6 */ mtctr r12 +/* 8031692C 0031388C 4E 80 04 21 */ bctrl +lbl_80316930: +/* 80316930 00313890 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80316934 00313894 28 03 00 00 */ cmplwi r3, 0 +/* 80316938 00313898 41 82 00 18 */ beq lbl_80316950 +/* 8031693C 0031389C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316940 003138A0 38 80 00 01 */ li r4, 1 +/* 80316944 003138A4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316948 003138A8 7D 89 03 A6 */ mtctr r12 +/* 8031694C 003138AC 4E 80 04 21 */ bctrl +lbl_80316950: +/* 80316950 003138B0 28 1E 00 00 */ cmplwi r30, 0 +/* 80316954 003138B4 41 82 00 20 */ beq lbl_80316974 +/* 80316958 003138B8 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 8031695C 003138BC 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80316960 003138C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80316964 003138C4 41 82 00 10 */ beq lbl_80316974 +/* 80316968 003138C8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8031696C 003138CC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316970 003138D0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316974: +/* 80316974 003138D4 7F E0 07 35 */ extsh. r0, r31 +/* 80316978 003138D8 40 81 00 10 */ ble lbl_80316988 +/* 8031697C 003138DC 7F C3 F3 78 */ mr r3, r30 +/* 80316980 003138E0 38 80 00 14 */ li r4, 0x14 +/* 80316984 003138E4 48 05 60 E1 */ bl sub_8036ca64 +lbl_80316988: +/* 80316988 003138E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031698C 003138EC 7F C3 F3 78 */ mr r3, r30 +/* 80316990 003138F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80316994 003138F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80316998 003138F8 7C 08 03 A6 */ mtlr r0 +/* 8031699C 003138FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803169A0 00313900 4E 80 00 20 */ blr + +.global __ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement +__ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement: +/* 803169A4 00313904 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 803169A8 00313908 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha +/* 803169AC 0031390C 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 803169B0 00313910 3D 00 80 3F */ lis r8, lbl_803EDA20@ha +/* 803169B4 00313914 90 03 00 00 */ stw r0, 0(r3) +/* 803169B8 00313918 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l +/* 803169BC 0031391C 38 08 DA 20 */ addi r0, r8, lbl_803EDA20@l +/* 803169C0 00313920 91 23 00 00 */ stw r9, 0(r3) +/* 803169C4 00313924 90 03 00 00 */ stw r0, 0(r3) +/* 803169C8 00313928 90 83 00 04 */ stw r4, 4(r3) +/* 803169CC 0031392C 90 A3 00 08 */ stw r5, 8(r3) +/* 803169D0 00313930 90 C3 00 0C */ stw r6, 0xc(r3) +/* 803169D4 00313934 90 E3 00 10 */ stw r7, 0x10(r3) +/* 803169D8 00313938 4E 80 00 20 */ blr + +.global GetValue__12CCETimeChainCFiR6CColor +GetValue__12CCETimeChainCFiR6CColor: +/* 803169DC 0031393C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803169E0 00313940 7C 08 02 A6 */ mflr r0 +/* 803169E4 00313944 90 01 00 24 */ stw r0, 0x24(r1) +/* 803169E8 00313948 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803169EC 0031394C 7C BF 2B 78 */ mr r31, r5 +/* 803169F0 00313950 38 A1 00 08 */ addi r5, r1, 8 +/* 803169F4 00313954 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803169F8 00313958 7C 9E 23 78 */ mr r30, r4 +/* 803169FC 0031395C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80316A00 00313960 7C 7D 1B 78 */ mr r29, r3 +/* 80316A04 00313964 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80316A08 00313968 81 83 00 00 */ lwz r12, 0(r3) +/* 80316A0C 0031396C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316A10 00313970 7D 89 03 A6 */ mtctr r12 +/* 80316A14 00313974 4E 80 04 21 */ bctrl +/* 80316A18 00313978 80 01 00 08 */ lwz r0, 8(r1) +/* 80316A1C 0031397C 7C 1E 00 00 */ cmpw r30, r0 +/* 80316A20 00313980 40 80 00 24 */ bge lbl_80316A44 +/* 80316A24 00313984 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316A28 00313988 7F C4 F3 78 */ mr r4, r30 +/* 80316A2C 0031398C 7F E5 FB 78 */ mr r5, r31 +/* 80316A30 00313990 81 83 00 00 */ lwz r12, 0(r3) +/* 80316A34 00313994 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316A38 00313998 7D 89 03 A6 */ mtctr r12 +/* 80316A3C 0031399C 4E 80 04 21 */ bctrl +/* 80316A40 003139A0 48 00 00 20 */ b lbl_80316A60 +lbl_80316A44: +/* 80316A44 003139A4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316A48 003139A8 7F E5 FB 78 */ mr r5, r31 +/* 80316A4C 003139AC 7C 80 F0 50 */ subf r4, r0, r30 +/* 80316A50 003139B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80316A54 003139B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316A58 003139B8 7D 89 03 A6 */ mtctr r12 +/* 80316A5C 003139BC 4E 80 04 21 */ bctrl +lbl_80316A60: +/* 80316A60 003139C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80316A64 003139C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316A68 003139C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316A6C 003139CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80316A70 003139D0 7C 08 03 A6 */ mtlr r0 +/* 80316A74 003139D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316A78 003139D8 4E 80 00 20 */ blr + +.global __dt__12CCETimeChainFv +__dt__12CCETimeChainFv: +/* 80316A7C 003139DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80316A80 003139E0 7C 08 02 A6 */ mflr r0 +/* 80316A84 003139E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80316A88 003139E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80316A8C 003139EC 7C 9F 23 78 */ mr r31, r4 +/* 80316A90 003139F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80316A94 003139F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80316A98 003139F8 41 82 00 A8 */ beq lbl_80316B40 +/* 80316A9C 003139FC 3C 60 80 3F */ lis r3, lbl_803EDA30@ha +/* 80316AA0 00313A00 38 03 DA 30 */ addi r0, r3, lbl_803EDA30@l +/* 80316AA4 00313A04 90 1E 00 00 */ stw r0, 0(r30) +/* 80316AA8 00313A08 80 7E 00 04 */ lwz r3, 4(r30) +/* 80316AAC 00313A0C 28 03 00 00 */ cmplwi r3, 0 +/* 80316AB0 00313A10 41 82 00 18 */ beq lbl_80316AC8 +/* 80316AB4 00313A14 81 83 00 00 */ lwz r12, 0(r3) +/* 80316AB8 00313A18 38 80 00 01 */ li r4, 1 +/* 80316ABC 00313A1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316AC0 00313A20 7D 89 03 A6 */ mtctr r12 +/* 80316AC4 00313A24 4E 80 04 21 */ bctrl +lbl_80316AC8: +/* 80316AC8 00313A28 80 7E 00 08 */ lwz r3, 8(r30) +/* 80316ACC 00313A2C 28 03 00 00 */ cmplwi r3, 0 +/* 80316AD0 00313A30 41 82 00 18 */ beq lbl_80316AE8 +/* 80316AD4 00313A34 81 83 00 00 */ lwz r12, 0(r3) +/* 80316AD8 00313A38 38 80 00 01 */ li r4, 1 +/* 80316ADC 00313A3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316AE0 00313A40 7D 89 03 A6 */ mtctr r12 +/* 80316AE4 00313A44 4E 80 04 21 */ bctrl +lbl_80316AE8: +/* 80316AE8 00313A48 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80316AEC 00313A4C 28 03 00 00 */ cmplwi r3, 0 +/* 80316AF0 00313A50 41 82 00 18 */ beq lbl_80316B08 +/* 80316AF4 00313A54 81 83 00 00 */ lwz r12, 0(r3) +/* 80316AF8 00313A58 38 80 00 01 */ li r4, 1 +/* 80316AFC 00313A5C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316B00 00313A60 7D 89 03 A6 */ mtctr r12 +/* 80316B04 00313A64 4E 80 04 21 */ bctrl +lbl_80316B08: +/* 80316B08 00313A68 28 1E 00 00 */ cmplwi r30, 0 +/* 80316B0C 00313A6C 41 82 00 20 */ beq lbl_80316B2C +/* 80316B10 00313A70 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 80316B14 00313A74 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80316B18 00313A78 90 1E 00 00 */ stw r0, 0(r30) +/* 80316B1C 00313A7C 41 82 00 10 */ beq lbl_80316B2C +/* 80316B20 00313A80 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316B24 00313A84 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316B28 00313A88 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316B2C: +/* 80316B2C 00313A8C 7F E0 07 35 */ extsh. r0, r31 +/* 80316B30 00313A90 40 81 00 10 */ ble lbl_80316B40 +/* 80316B34 00313A94 7F C3 F3 78 */ mr r3, r30 +/* 80316B38 00313A98 38 80 00 10 */ li r4, 0x10 +/* 80316B3C 00313A9C 48 05 5F 29 */ bl sub_8036ca64 +lbl_80316B40: +/* 80316B40 00313AA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80316B44 00313AA4 7F C3 F3 78 */ mr r3, r30 +/* 80316B48 00313AA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80316B4C 00313AAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80316B50 00313AB0 7C 08 03 A6 */ mtlr r0 +/* 80316B54 00313AB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80316B58 00313AB8 4E 80 00 20 */ blr + +.global __ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement +__ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement: +/* 80316B5C 00313ABC 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80316B60 00313AC0 3D 00 80 3F */ lis r8, lbl_803EC5B4@ha +/* 80316B64 00313AC4 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80316B68 00313AC8 3C E0 80 3F */ lis r7, lbl_803EDA30@ha +/* 80316B6C 00313ACC 90 03 00 00 */ stw r0, 0(r3) +/* 80316B70 00313AD0 39 08 C5 B4 */ addi r8, r8, lbl_803EC5B4@l +/* 80316B74 00313AD4 38 07 DA 30 */ addi r0, r7, lbl_803EDA30@l +/* 80316B78 00313AD8 91 03 00 00 */ stw r8, 0(r3) +/* 80316B7C 00313ADC 90 03 00 00 */ stw r0, 0(r3) +/* 80316B80 00313AE0 90 83 00 04 */ stw r4, 4(r3) +/* 80316B84 00313AE4 90 A3 00 08 */ stw r5, 8(r3) +/* 80316B88 00313AE8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80316B8C 00313AEC 4E 80 00 20 */ blr + +.global GetValue__10CCEFadeEndCFiR6CColor +GetValue__10CCEFadeEndCFiR6CColor: +/* 80316B90 00313AF0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80316B94 00313AF4 7C 08 02 A6 */ mflr r0 +/* 80316B98 00313AF8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80316B9C 00313AFC DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80316BA0 00313B00 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80316BA4 00313B04 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80316BA8 00313B08 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80316BAC 00313B0C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80316BB0 00313B10 7C 7D 1B 78 */ mr r29, r3 +/* 80316BB4 00313B14 7C BF 2B 78 */ mr r31, r5 +/* 80316BB8 00313B18 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80316BBC 00313B1C 7C 9E 23 78 */ mr r30, r4 +/* 80316BC0 00313B20 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80316BC4 00313B24 81 83 00 00 */ lwz r12, 0(r3) +/* 80316BC8 00313B28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316BCC 00313B2C 7D 89 03 A6 */ mtctr r12 +/* 80316BD0 00313B30 4E 80 04 21 */ bctrl +/* 80316BD4 00313B34 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80316BD8 00313B38 3C 00 43 30 */ lis r0, 0x4330 +/* 80316BDC 00313B3C 90 61 00 44 */ stw r3, 0x44(r1) +/* 80316BE0 00313B40 C8 42 C9 E0 */ lfd f2, lbl_805AE700@sda21(r2) +/* 80316BE4 00313B44 90 01 00 40 */ stw r0, 0x40(r1) +/* 80316BE8 00313B48 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80316BEC 00313B4C C8 21 00 40 */ lfd f1, 0x40(r1) +/* 80316BF0 00313B50 EF E1 10 28 */ fsubs f31, f1, f2 +/* 80316BF4 00313B54 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80316BF8 00313B58 40 80 00 28 */ bge lbl_80316C20 +/* 80316BFC 00313B5C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316C00 00313B60 7F C4 F3 78 */ mr r4, r30 +/* 80316C04 00313B64 7F E5 FB 78 */ mr r5, r31 +/* 80316C08 00313B68 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C0C 00313B6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C10 00313B70 7D 89 03 A6 */ mtctr r12 +/* 80316C14 00313B74 4E 80 04 21 */ bctrl +/* 80316C18 00313B78 38 60 00 00 */ li r3, 0 +/* 80316C1C 00313B7C 48 00 01 20 */ b lbl_80316D3C +lbl_80316C20: +/* 80316C20 00313B80 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80316C24 00313B84 7F C4 F3 78 */ mr r4, r30 +/* 80316C28 00313B88 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80316C2C 00313B8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C30 00313B90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C34 00313B94 7D 89 03 A6 */ mtctr r12 +/* 80316C38 00313B98 4E 80 04 21 */ bctrl +/* 80316C3C 00313B9C 38 C0 00 FF */ li r6, 0xff +/* 80316C40 00313BA0 38 00 00 00 */ li r0, 0 +/* 80316C44 00313BA4 98 C1 00 30 */ stb r6, 0x30(r1) +/* 80316C48 00313BA8 7F C4 F3 78 */ mr r4, r30 +/* 80316C4C 00313BAC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316C50 00313BB0 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80316C54 00313BB4 98 01 00 31 */ stb r0, 0x31(r1) +/* 80316C58 00313BB8 98 C1 00 32 */ stb r6, 0x32(r1) +/* 80316C5C 00313BBC 98 C1 00 33 */ stb r6, 0x33(r1) +/* 80316C60 00313BC0 98 C1 00 2C */ stb r6, 0x2c(r1) +/* 80316C64 00313BC4 98 01 00 2D */ stb r0, 0x2d(r1) +/* 80316C68 00313BC8 98 C1 00 2E */ stb r6, 0x2e(r1) +/* 80316C6C 00313BCC 98 C1 00 2F */ stb r6, 0x2f(r1) +/* 80316C70 00313BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C74 00313BD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C78 00313BD8 7D 89 03 A6 */ mtctr r12 +/* 80316C7C 00313BDC 4E 80 04 21 */ bctrl +/* 80316C80 00313BE0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316C84 00313BE4 7F C4 F3 78 */ mr r4, r30 +/* 80316C88 00313BE8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80316C8C 00313BEC 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C90 00313BF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C94 00313BF4 7D 89 03 A6 */ mtctr r12 +/* 80316C98 00313BF8 4E 80 04 21 */ bctrl +/* 80316C9C 00313BFC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80316CA0 00313C00 38 81 00 28 */ addi r4, r1, 0x28 +/* 80316CA4 00313C04 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80316CA8 00313C08 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80316CAC 00313C0C 38 E1 00 1C */ addi r7, r1, 0x1c +/* 80316CB0 00313C10 48 04 C6 B5 */ bl Get__6CColorCFRfRfRfRf +/* 80316CB4 00313C14 38 61 00 2C */ addi r3, r1, 0x2c +/* 80316CB8 00313C18 38 81 00 18 */ addi r4, r1, 0x18 +/* 80316CBC 00313C1C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80316CC0 00313C20 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80316CC4 00313C24 38 E1 00 0C */ addi r7, r1, 0xc +/* 80316CC8 00313C28 48 04 C6 9D */ bl Get__6CColorCFRfRfRfRf +/* 80316CCC 00313C2C C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80316CD0 00313C30 38 61 00 08 */ addi r3, r1, 8 +/* 80316CD4 00313C34 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80316CD8 00313C38 EC 9F 08 28 */ fsubs f4, f31, f1 +/* 80316CDC 00313C3C C0 E2 C9 D8 */ lfs f7, lbl_805AE6F8@sda21(r2) +/* 80316CE0 00313C40 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80316CE4 00313C44 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80316CE8 00313C48 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80316CEC 00313C4C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80316CF0 00313C50 ED 24 00 24 */ fdivs f9, f4, f0 +/* 80316CF4 00313C54 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80316CF8 00313C58 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 80316CFC 00313C5C C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 80316D00 00313C60 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 80316D04 00313C64 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80316D08 00313C68 ED 47 48 28 */ fsubs f10, f7, f9 +/* 80316D0C 00313C6C EC E3 02 72 */ fmuls f7, f3, f9 +/* 80316D10 00313C70 EC 42 02 72 */ fmuls f2, f2, f9 +/* 80316D14 00313C74 EC 61 02 72 */ fmuls f3, f1, f9 +/* 80316D18 00313C78 EC 00 02 72 */ fmuls f0, f0, f9 +/* 80316D1C 00313C7C EC 28 3A BA */ fmadds f1, f8, f10, f7 +/* 80316D20 00313C80 EC 46 12 BA */ fmadds f2, f6, f10, f2 +/* 80316D24 00313C84 EC 65 1A BA */ fmadds f3, f5, f10, f3 +/* 80316D28 00313C88 EC 84 02 BA */ fmadds f4, f4, f10, f0 +/* 80316D2C 00313C8C 48 04 C6 C1 */ bl __ct__6CColorFffff +/* 80316D30 00313C90 80 01 00 08 */ lwz r0, 8(r1) +/* 80316D34 00313C94 38 60 00 00 */ li r3, 0 +/* 80316D38 00313C98 90 1F 00 00 */ stw r0, 0(r31) +lbl_80316D3C: +/* 80316D3C 00313C9C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80316D40 00313CA0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80316D44 00313CA4 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80316D48 00313CA8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80316D4C 00313CAC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80316D50 00313CB0 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80316D54 00313CB4 7C 08 03 A6 */ mtlr r0 +/* 80316D58 00313CB8 38 21 00 70 */ addi r1, r1, 0x70 +/* 80316D5C 00313CBC 4E 80 00 20 */ blr + +.global __dt__10CCEFadeEndFv +__dt__10CCEFadeEndFv: +/* 80316D60 00313CC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80316D64 00313CC4 7C 08 02 A6 */ mflr r0 +/* 80316D68 00313CC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80316D6C 00313CCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80316D70 00313CD0 7C 9F 23 78 */ mr r31, r4 +/* 80316D74 00313CD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80316D78 00313CD8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80316D7C 00313CDC 41 82 00 C8 */ beq lbl_80316E44 +/* 80316D80 00313CE0 3C 60 80 3F */ lis r3, lbl_803EDA40@ha +/* 80316D84 00313CE4 38 03 DA 40 */ addi r0, r3, lbl_803EDA40@l +/* 80316D88 00313CE8 90 1E 00 00 */ stw r0, 0(r30) +/* 80316D8C 00313CEC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80316D90 00313CF0 28 03 00 00 */ cmplwi r3, 0 +/* 80316D94 00313CF4 41 82 00 18 */ beq lbl_80316DAC +/* 80316D98 00313CF8 81 83 00 00 */ lwz r12, 0(r3) +/* 80316D9C 00313CFC 38 80 00 01 */ li r4, 1 +/* 80316DA0 00313D00 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316DA4 00313D04 7D 89 03 A6 */ mtctr r12 +/* 80316DA8 00313D08 4E 80 04 21 */ bctrl +lbl_80316DAC: +/* 80316DAC 00313D0C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80316DB0 00313D10 28 03 00 00 */ cmplwi r3, 0 +/* 80316DB4 00313D14 41 82 00 18 */ beq lbl_80316DCC +/* 80316DB8 00313D18 81 83 00 00 */ lwz r12, 0(r3) +/* 80316DBC 00313D1C 38 80 00 01 */ li r4, 1 +/* 80316DC0 00313D20 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316DC4 00313D24 7D 89 03 A6 */ mtctr r12 +/* 80316DC8 00313D28 4E 80 04 21 */ bctrl +lbl_80316DCC: +/* 80316DCC 00313D2C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80316DD0 00313D30 28 03 00 00 */ cmplwi r3, 0 +/* 80316DD4 00313D34 41 82 00 18 */ beq lbl_80316DEC +/* 80316DD8 00313D38 81 83 00 00 */ lwz r12, 0(r3) +/* 80316DDC 00313D3C 38 80 00 01 */ li r4, 1 +/* 80316DE0 00313D40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316DE4 00313D44 7D 89 03 A6 */ mtctr r12 +/* 80316DE8 00313D48 4E 80 04 21 */ bctrl +lbl_80316DEC: +/* 80316DEC 00313D4C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80316DF0 00313D50 28 03 00 00 */ cmplwi r3, 0 +/* 80316DF4 00313D54 41 82 00 18 */ beq lbl_80316E0C +/* 80316DF8 00313D58 81 83 00 00 */ lwz r12, 0(r3) +/* 80316DFC 00313D5C 38 80 00 01 */ li r4, 1 +/* 80316E00 00313D60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316E04 00313D64 7D 89 03 A6 */ mtctr r12 +/* 80316E08 00313D68 4E 80 04 21 */ bctrl +lbl_80316E0C: +/* 80316E0C 00313D6C 28 1E 00 00 */ cmplwi r30, 0 +/* 80316E10 00313D70 41 82 00 20 */ beq lbl_80316E30 +/* 80316E14 00313D74 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 80316E18 00313D78 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80316E1C 00313D7C 90 1E 00 00 */ stw r0, 0(r30) +/* 80316E20 00313D80 41 82 00 10 */ beq lbl_80316E30 +/* 80316E24 00313D84 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316E28 00313D88 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316E2C 00313D8C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316E30: +/* 80316E30 00313D90 7F E0 07 35 */ extsh. r0, r31 +/* 80316E34 00313D94 40 81 00 10 */ ble lbl_80316E44 +/* 80316E38 00313D98 7F C3 F3 78 */ mr r3, r30 +/* 80316E3C 00313D9C 38 80 00 14 */ li r4, 0x14 +/* 80316E40 00313DA0 48 05 5C 25 */ bl sub_8036ca64 +lbl_80316E44: +/* 80316E44 00313DA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80316E48 00313DA8 7F C3 F3 78 */ mr r3, r30 +/* 80316E4C 00313DAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80316E50 00313DB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80316E54 00313DB4 7C 08 03 A6 */ mtlr r0 +/* 80316E58 00313DB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80316E5C 00313DBC 4E 80 00 20 */ blr + +.global __ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement +__ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement: +/* 80316E60 00313DC0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80316E64 00313DC4 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha +/* 80316E68 00313DC8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80316E6C 00313DCC 3D 00 80 3F */ lis r8, lbl_803EDA40@ha +/* 80316E70 00313DD0 90 03 00 00 */ stw r0, 0(r3) +/* 80316E74 00313DD4 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l +/* 80316E78 00313DD8 38 08 DA 40 */ addi r0, r8, lbl_803EDA40@l +/* 80316E7C 00313DDC 91 23 00 00 */ stw r9, 0(r3) +/* 80316E80 00313DE0 90 03 00 00 */ stw r0, 0(r3) +/* 80316E84 00313DE4 90 83 00 04 */ stw r4, 4(r3) +/* 80316E88 00313DE8 90 A3 00 08 */ stw r5, 8(r3) +/* 80316E8C 00313DEC 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80316E90 00313DF0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80316E94 00313DF4 4E 80 00 20 */ blr + +.global GetValue__7CCEFadeCFiR6CColor +GetValue__7CCEFadeCFiR6CColor: +/* 80316E98 00313DF8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80316E9C 00313DFC 7C 08 02 A6 */ mflr r0 +/* 80316EA0 00313E00 90 01 00 64 */ stw r0, 0x64(r1) +/* 80316EA4 00313E04 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80316EA8 00313E08 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80316EAC 00313E0C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80316EB0 00313E10 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80316EB4 00313E14 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80316EB8 00313E18 7C 7D 1B 78 */ mr r29, r3 +/* 80316EBC 00313E1C 7C BF 2B 78 */ mr r31, r5 +/* 80316EC0 00313E20 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80316EC4 00313E24 7C 9E 23 78 */ mr r30, r4 +/* 80316EC8 00313E28 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80316ECC 00313E2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316ED0 00313E30 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316ED4 00313E34 7D 89 03 A6 */ mtctr r12 +/* 80316ED8 00313E38 4E 80 04 21 */ bctrl +/* 80316EDC 00313E3C C0 22 C9 D8 */ lfs f1, lbl_805AE6F8@sda21(r2) +/* 80316EE0 00313E40 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80316EE4 00313E44 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80316EE8 00313E48 3C 00 43 30 */ lis r0, 0x4330 +/* 80316EEC 00313E4C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80316EF0 00313E50 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80316EF4 00313E54 C8 62 C9 E0 */ lfd f3, lbl_805AE700@sda21(r2) +/* 80316EF8 00313E58 90 01 00 38 */ stw r0, 0x38(r1) +/* 80316EFC 00313E5C C8 41 00 38 */ lfd f2, 0x38(r1) +/* 80316F00 00313E60 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80316F04 00313E64 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80316F08 00313E68 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80316F0C 00313E6C 4C 41 13 82 */ cror 2, 1, 2 +/* 80316F10 00313E70 40 82 00 24 */ bne lbl_80316F34 +/* 80316F14 00313E74 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316F18 00313E78 7F C4 F3 78 */ mr r4, r30 +/* 80316F1C 00313E7C 7F E5 FB 78 */ mr r5, r31 +/* 80316F20 00313E80 81 83 00 00 */ lwz r12, 0(r3) +/* 80316F24 00313E84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316F28 00313E88 7D 89 03 A6 */ mtctr r12 +/* 80316F2C 00313E8C 4E 80 04 21 */ bctrl +/* 80316F30 00313E90 48 00 00 EC */ b lbl_8031701C +lbl_80316F34: +/* 80316F34 00313E94 38 C0 00 FF */ li r6, 0xff +/* 80316F38 00313E98 38 00 00 00 */ li r0, 0 +/* 80316F3C 00313E9C 98 C1 00 30 */ stb r6, 0x30(r1) +/* 80316F40 00313EA0 7F C4 F3 78 */ mr r4, r30 +/* 80316F44 00313EA4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316F48 00313EA8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80316F4C 00313EAC 98 01 00 31 */ stb r0, 0x31(r1) +/* 80316F50 00313EB0 98 C1 00 32 */ stb r6, 0x32(r1) +/* 80316F54 00313EB4 98 C1 00 33 */ stb r6, 0x33(r1) +/* 80316F58 00313EB8 98 C1 00 2C */ stb r6, 0x2c(r1) +/* 80316F5C 00313EBC 98 01 00 2D */ stb r0, 0x2d(r1) +/* 80316F60 00313EC0 98 C1 00 2E */ stb r6, 0x2e(r1) +/* 80316F64 00313EC4 98 C1 00 2F */ stb r6, 0x2f(r1) +/* 80316F68 00313EC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80316F6C 00313ECC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316F70 00313ED0 7D 89 03 A6 */ mtctr r12 +/* 80316F74 00313ED4 4E 80 04 21 */ bctrl +/* 80316F78 00313ED8 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316F7C 00313EDC 7F C4 F3 78 */ mr r4, r30 +/* 80316F80 00313EE0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80316F84 00313EE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80316F88 00313EE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316F8C 00313EEC 7D 89 03 A6 */ mtctr r12 +/* 80316F90 00313EF0 4E 80 04 21 */ bctrl +/* 80316F94 00313EF4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80316F98 00313EF8 38 81 00 28 */ addi r4, r1, 0x28 +/* 80316F9C 00313EFC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80316FA0 00313F00 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80316FA4 00313F04 38 E1 00 1C */ addi r7, r1, 0x1c +/* 80316FA8 00313F08 48 04 C3 BD */ bl Get__6CColorCFRfRfRfRf +/* 80316FAC 00313F0C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80316FB0 00313F10 38 81 00 18 */ addi r4, r1, 0x18 +/* 80316FB4 00313F14 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80316FB8 00313F18 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80316FBC 00313F1C 38 E1 00 0C */ addi r7, r1, 0xc +/* 80316FC0 00313F20 48 04 C3 A5 */ bl Get__6CColorCFRfRfRfRf +/* 80316FC4 00313F24 C0 22 C9 D8 */ lfs f1, lbl_805AE6F8@sda21(r2) +/* 80316FC8 00313F28 38 61 00 08 */ addi r3, r1, 8 +/* 80316FCC 00313F2C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80316FD0 00313F30 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80316FD4 00313F34 ED 21 F8 28 */ fsubs f9, f1, f31 +/* 80316FD8 00313F38 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80316FDC 00313F3C EC E0 07 F2 */ fmuls f7, f0, f31 +/* 80316FE0 00313F40 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80316FE4 00313F44 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80316FE8 00313F48 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 80316FEC 00313F4C C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 80316FF0 00313F50 EC 61 07 F2 */ fmuls f3, f1, f31 +/* 80316FF4 00313F54 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 80316FF8 00313F58 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80316FFC 00313F5C C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80317000 00313F60 EC 28 3A 7A */ fmadds f1, f8, f9, f7 +/* 80317004 00313F64 EC 46 12 7A */ fmadds f2, f6, f9, f2 +/* 80317008 00313F68 EC 65 1A 7A */ fmadds f3, f5, f9, f3 +/* 8031700C 00313F6C EC 84 02 7A */ fmadds f4, f4, f9, f0 +/* 80317010 00313F70 48 04 C3 DD */ bl __ct__6CColorFffff +/* 80317014 00313F74 80 01 00 08 */ lwz r0, 8(r1) +/* 80317018 00313F78 90 1F 00 00 */ stw r0, 0(r31) +lbl_8031701C: +/* 8031701C 00313F7C 38 60 00 00 */ li r3, 0 +/* 80317020 00313F80 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80317024 00313F84 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80317028 00313F88 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8031702C 00313F8C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80317030 00313F90 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80317034 00313F94 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80317038 00313F98 7C 08 03 A6 */ mtlr r0 +/* 8031703C 00313F9C 38 21 00 60 */ addi r1, r1, 0x60 +/* 80317040 00313FA0 4E 80 00 20 */ blr + +.global __dt__7CCEFadeFv +__dt__7CCEFadeFv: +/* 80317044 00313FA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80317048 00313FA8 7C 08 02 A6 */ mflr r0 +/* 8031704C 00313FAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317050 00313FB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80317054 00313FB4 7C 9F 23 78 */ mr r31, r4 +/* 80317058 00313FB8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031705C 00313FBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80317060 00313FC0 41 82 00 A8 */ beq lbl_80317108 +/* 80317064 00313FC4 3C 60 80 3F */ lis r3, lbl_803EDA50@ha +/* 80317068 00313FC8 38 03 DA 50 */ addi r0, r3, lbl_803EDA50@l +/* 8031706C 00313FCC 90 1E 00 00 */ stw r0, 0(r30) +/* 80317070 00313FD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80317074 00313FD4 28 03 00 00 */ cmplwi r3, 0 +/* 80317078 00313FD8 41 82 00 18 */ beq lbl_80317090 +/* 8031707C 00313FDC 81 83 00 00 */ lwz r12, 0(r3) +/* 80317080 00313FE0 38 80 00 01 */ li r4, 1 +/* 80317084 00313FE4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80317088 00313FE8 7D 89 03 A6 */ mtctr r12 +/* 8031708C 00313FEC 4E 80 04 21 */ bctrl +lbl_80317090: +/* 80317090 00313FF0 80 7E 00 08 */ lwz r3, 8(r30) +/* 80317094 00313FF4 28 03 00 00 */ cmplwi r3, 0 +/* 80317098 00313FF8 41 82 00 18 */ beq lbl_803170B0 +/* 8031709C 00313FFC 81 83 00 00 */ lwz r12, 0(r3) +/* 803170A0 00314000 38 80 00 01 */ li r4, 1 +/* 803170A4 00314004 81 8C 00 08 */ lwz r12, 8(r12) +/* 803170A8 00314008 7D 89 03 A6 */ mtctr r12 +/* 803170AC 0031400C 4E 80 04 21 */ bctrl +lbl_803170B0: +/* 803170B0 00314010 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803170B4 00314014 28 03 00 00 */ cmplwi r3, 0 +/* 803170B8 00314018 41 82 00 18 */ beq lbl_803170D0 +/* 803170BC 0031401C 81 83 00 00 */ lwz r12, 0(r3) +/* 803170C0 00314020 38 80 00 01 */ li r4, 1 +/* 803170C4 00314024 81 8C 00 08 */ lwz r12, 8(r12) +/* 803170C8 00314028 7D 89 03 A6 */ mtctr r12 +/* 803170CC 0031402C 4E 80 04 21 */ bctrl +lbl_803170D0: +/* 803170D0 00314030 28 1E 00 00 */ cmplwi r30, 0 +/* 803170D4 00314034 41 82 00 20 */ beq lbl_803170F4 +/* 803170D8 00314038 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803170DC 0031403C 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803170E0 00314040 90 1E 00 00 */ stw r0, 0(r30) +/* 803170E4 00314044 41 82 00 10 */ beq lbl_803170F4 +/* 803170E8 00314048 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803170EC 0031404C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803170F0 00314050 90 1E 00 00 */ stw r0, 0(r30) +lbl_803170F4: +/* 803170F4 00314054 7F E0 07 35 */ extsh. r0, r31 +/* 803170F8 00314058 40 81 00 10 */ ble lbl_80317108 +/* 803170FC 0031405C 7F C3 F3 78 */ mr r3, r30 +/* 80317100 00314060 38 80 00 10 */ li r4, 0x10 +/* 80317104 00314064 48 05 59 61 */ bl sub_8036ca64 +lbl_80317108: +/* 80317108 00314068 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031710C 0031406C 7F C3 F3 78 */ mr r3, r30 +/* 80317110 00314070 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80317114 00314074 83 C1 00 08 */ lwz r30, 8(r1) +/* 80317118 00314078 7C 08 03 A6 */ mtlr r0 +/* 8031711C 0031407C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80317120 00314080 4E 80 00 20 */ blr + +.global __ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement +__ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement: +/* 80317124 00314084 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80317128 00314088 3D 00 80 3F */ lis r8, lbl_803EC5B4@ha +/* 8031712C 0031408C 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80317130 00314090 3C E0 80 3F */ lis r7, lbl_803EDA50@ha +/* 80317134 00314094 90 03 00 00 */ stw r0, 0(r3) +/* 80317138 00314098 39 08 C5 B4 */ addi r8, r8, lbl_803EC5B4@l +/* 8031713C 0031409C 38 07 DA 50 */ addi r0, r7, lbl_803EDA50@l +/* 80317140 003140A0 91 03 00 00 */ stw r8, 0(r3) +/* 80317144 003140A4 90 03 00 00 */ stw r0, 0(r3) +/* 80317148 003140A8 90 83 00 04 */ stw r4, 4(r3) +/* 8031714C 003140AC 90 A3 00 08 */ stw r5, 8(r3) +/* 80317150 003140B0 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80317154 003140B4 4E 80 00 20 */ blr + +.global sub_80317158 +sub_80317158: +/* 80317158 003140B8 80 03 00 04 */ lwz r0, 4(r3) +/* 8031715C 003140BC 38 60 00 00 */ li r3, 0 +/* 80317160 003140C0 90 05 00 00 */ stw r0, 0(r5) +/* 80317164 003140C4 4E 80 00 20 */ blr + +.global __dt__15CCEFastConstantFv +__dt__15CCEFastConstantFv: +/* 80317168 003140C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031716C 003140CC 7C 08 02 A6 */ mflr r0 +/* 80317170 003140D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317174 003140D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80317178 003140D8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8031717C 003140DC 41 82 00 44 */ beq lbl_803171C0 +/* 80317180 003140E0 3C 60 80 3F */ lis r3, lbl_803EDA60@ha +/* 80317184 003140E4 38 03 DA 60 */ addi r0, r3, lbl_803EDA60@l +/* 80317188 003140E8 90 1F 00 00 */ stw r0, 0(r31) +/* 8031718C 003140EC 41 82 00 20 */ beq lbl_803171AC +/* 80317190 003140F0 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 80317194 003140F4 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80317198 003140F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8031719C 003140FC 41 82 00 10 */ beq lbl_803171AC +/* 803171A0 00314100 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803171A4 00314104 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803171A8 00314108 90 1F 00 00 */ stw r0, 0(r31) +lbl_803171AC: +/* 803171AC 0031410C 7C 80 07 35 */ extsh. r0, r4 +/* 803171B0 00314110 40 81 00 10 */ ble lbl_803171C0 +/* 803171B4 00314114 7F E3 FB 78 */ mr r3, r31 +/* 803171B8 00314118 38 80 00 08 */ li r4, 8 +/* 803171BC 0031411C 48 05 58 A9 */ bl sub_8036ca64 +lbl_803171C0: +/* 803171C0 00314120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803171C4 00314124 7F E3 FB 78 */ mr r3, r31 +/* 803171C8 00314128 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803171CC 0031412C 7C 08 03 A6 */ mtlr r0 +/* 803171D0 00314130 38 21 00 10 */ addi r1, r1, 0x10 +/* 803171D4 00314134 4E 80 00 20 */ blr + +.global __ct__15CCEFastConstantFffff +__ct__15CCEFastConstantFffff: +/* 803171D8 00314138 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803171DC 0031413C 7C 08 02 A6 */ mflr r0 +/* 803171E0 00314140 90 01 00 54 */ stw r0, 0x54(r1) +/* 803171E4 00314144 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 803171E8 00314148 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 803171EC 0031414C DB C1 00 30 */ stfd f30, 0x30(r1) +/* 803171F0 00314150 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 803171F4 00314154 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 803171F8 00314158 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 803171FC 0031415C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80317200 00314160 7C 7F 1B 78 */ mr r31, r3 +/* 80317204 00314164 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80317208 00314168 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8031720C 0031416C 3C 80 80 3F */ lis r4, lbl_803EC5B4@ha +/* 80317210 00314170 90 1F 00 00 */ stw r0, 0(r31) +/* 80317214 00314174 38 04 C5 B4 */ addi r0, r4, lbl_803EC5B4@l +/* 80317218 00314178 3C 60 80 3F */ lis r3, lbl_803EDA60@ha +/* 8031721C 0031417C 38 C0 00 FF */ li r6, 0xff +/* 80317220 00314180 90 1F 00 00 */ stw r0, 0(r31) +/* 80317224 00314184 38 63 DA 60 */ addi r3, r3, lbl_803EDA60@l +/* 80317228 00314188 38 00 00 00 */ li r0, 0 +/* 8031722C 0031418C 38 81 00 08 */ addi r4, r1, 8 +/* 80317230 00314190 90 7F 00 00 */ stw r3, 0(r31) +/* 80317234 00314194 38 6D 9C D0 */ addi r3, r13, lbl_805A8890@sda21 +/* 80317238 00314198 38 AD 9C D4 */ addi r5, r13, lbl_805A8894@sda21 +/* 8031723C 0031419C 98 DF 00 04 */ stb r6, 4(r31) +/* 80317240 003141A0 98 1F 00 05 */ stb r0, 5(r31) +/* 80317244 003141A4 98 DF 00 06 */ stb r6, 6(r31) +/* 80317248 003141A8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8031724C 003141AC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80317250 003141B0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80317254 003141B4 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80317258 003141B8 98 DF 00 07 */ stb r6, 7(r31) +/* 8031725C 003141BC 4B CF 50 59 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317260 003141C0 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80317264 003141C4 38 81 00 0C */ addi r4, r1, 0xc +/* 80317268 003141C8 38 6D 9C D8 */ addi r3, r13, lbl_805A8898@sda21 +/* 8031726C 003141CC 38 AD 9C DC */ addi r5, r13, lbl_805A889C@sda21 +/* 80317270 003141D0 4B CF 50 45 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317274 003141D4 C3 C3 00 00 */ lfs f30, 0(r3) +/* 80317278 003141D8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8031727C 003141DC 38 6D 9C E0 */ addi r3, r13, lbl_805A88A0@sda21 +/* 80317280 003141E0 38 AD 9C E4 */ addi r5, r13, lbl_805A88A4@sda21 +/* 80317284 003141E4 4B CF 50 31 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317288 003141E8 C3 A3 00 00 */ lfs f29, 0(r3) +/* 8031728C 003141EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80317290 003141F0 38 6D 9C E8 */ addi r3, r13, lbl_805A88A8@sda21 +/* 80317294 003141F4 38 AD 9C EC */ addi r5, r13, lbl_805A88AC@sda21 +/* 80317298 003141F8 4B CF 50 1D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8031729C 003141FC FC 20 F8 90 */ fmr f1, f31 +/* 803172A0 00314200 C0 83 00 00 */ lfs f4, 0(r3) +/* 803172A4 00314204 FC 40 F0 90 */ fmr f2, f30 +/* 803172A8 00314208 38 7F 00 04 */ addi r3, r31, 4 +/* 803172AC 0031420C FC 60 E8 90 */ fmr f3, f29 +/* 803172B0 00314210 48 04 C0 ED */ bl Set__6CColorFffff +/* 803172B4 00314214 7F E3 FB 78 */ mr r3, r31 +/* 803172B8 00314218 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 803172BC 0031421C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 803172C0 00314220 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 803172C4 00314224 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 803172C8 00314228 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 803172CC 0031422C CB A1 00 20 */ lfd f29, 0x20(r1) +/* 803172D0 00314230 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803172D4 00314234 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803172D8 00314238 7C 08 03 A6 */ mtlr r0 +/* 803172DC 0031423C 38 21 00 50 */ addi r1, r1, 0x50 +/* 803172E0 00314240 4E 80 00 20 */ blr + +.global GetValue__11CCEConstantCFiR6CColor +GetValue__11CCEConstantCFiR6CColor: +/* 803172E4 00314244 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803172E8 00314248 7C 08 02 A6 */ mflr r0 +/* 803172EC 0031424C 90 01 00 34 */ stw r0, 0x34(r1) +/* 803172F0 00314250 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803172F4 00314254 7C BF 2B 78 */ mr r31, r5 +/* 803172F8 00314258 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803172FC 0031425C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80317300 00314260 7C 9E 23 78 */ mr r30, r4 +/* 80317304 00314264 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80317308 00314268 7C 7D 1B 78 */ mr r29, r3 +/* 8031730C 0031426C 80 63 00 04 */ lwz r3, 4(r3) +/* 80317310 00314270 81 83 00 00 */ lwz r12, 0(r3) +/* 80317314 00314274 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80317318 00314278 7D 89 03 A6 */ mtctr r12 +/* 8031731C 0031427C 4E 80 04 21 */ bctrl +/* 80317320 00314280 38 81 00 14 */ addi r4, r1, 0x14 +/* 80317324 00314284 38 6D 9C B0 */ addi r3, r13, lbl_805A8870@sda21 +/* 80317328 00314288 38 AD 9C B4 */ addi r5, r13, lbl_805A8874@sda21 +/* 8031732C 0031428C 4B CF 4F 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317330 00314290 C0 03 00 00 */ lfs f0, 0(r3) +/* 80317334 00314294 7F C4 F3 78 */ mr r4, r30 +/* 80317338 00314298 80 7D 00 08 */ lwz r3, 8(r29) +/* 8031733C 0031429C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80317340 003142A0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80317344 003142A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80317348 003142A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031734C 003142AC 7D 89 03 A6 */ mtctr r12 +/* 80317350 003142B0 4E 80 04 21 */ bctrl +/* 80317354 003142B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80317358 003142B8 38 6D 9C B8 */ addi r3, r13, lbl_805A8878@sda21 +/* 8031735C 003142BC 38 AD 9C BC */ addi r5, r13, lbl_805A887C@sda21 +/* 80317360 003142C0 4B CF 4F 55 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317364 003142C4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80317368 003142C8 7F C4 F3 78 */ mr r4, r30 +/* 8031736C 003142CC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80317370 003142D0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80317374 003142D4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80317378 003142D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031737C 003142DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80317380 003142E0 7D 89 03 A6 */ mtctr r12 +/* 80317384 003142E4 4E 80 04 21 */ bctrl +/* 80317388 003142E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8031738C 003142EC 38 6D 9C C0 */ addi r3, r13, lbl_805A8880@sda21 +/* 80317390 003142F0 38 AD 9C C4 */ addi r5, r13, lbl_805A8884@sda21 +/* 80317394 003142F4 4B CF 4F 21 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317398 003142F8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8031739C 003142FC 7F C4 F3 78 */ mr r4, r30 +/* 803173A0 00314300 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803173A4 00314304 38 A1 00 08 */ addi r5, r1, 8 +/* 803173A8 00314308 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803173AC 0031430C 81 83 00 00 */ lwz r12, 0(r3) +/* 803173B0 00314310 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803173B4 00314314 7D 89 03 A6 */ mtctr r12 +/* 803173B8 00314318 4E 80 04 21 */ bctrl +/* 803173BC 0031431C 38 81 00 08 */ addi r4, r1, 8 +/* 803173C0 00314320 38 6D 9C C8 */ addi r3, r13, lbl_805A8888@sda21 +/* 803173C4 00314324 38 AD 9C CC */ addi r5, r13, lbl_805A888C@sda21 +/* 803173C8 00314328 4B CF 4E ED */ bl "Clamp__5CMathFRCfRCfRCf" +/* 803173CC 0031432C C0 83 00 00 */ lfs f4, 0(r3) +/* 803173D0 00314330 7F E3 FB 78 */ mr r3, r31 +/* 803173D4 00314334 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803173D8 00314338 D0 81 00 08 */ stfs f4, 8(r1) +/* 803173DC 0031433C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 803173E0 00314340 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 803173E4 00314344 48 04 BF B9 */ bl Set__6CColorFffff +/* 803173E8 00314348 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803173EC 0031434C 38 60 00 00 */ li r3, 0 +/* 803173F0 00314350 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803173F4 00314354 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803173F8 00314358 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803173FC 0031435C 7C 08 03 A6 */ mtlr r0 +/* 80317400 00314360 38 21 00 30 */ addi r1, r1, 0x30 +/* 80317404 00314364 4E 80 00 20 */ blr + +.global __dt__11CCEConstantFv +__dt__11CCEConstantFv: +/* 80317408 00314368 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031740C 0031436C 7C 08 02 A6 */ mflr r0 +/* 80317410 00314370 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317414 00314374 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80317418 00314378 7C 9F 23 78 */ mr r31, r4 +/* 8031741C 0031437C 93 C1 00 08 */ stw r30, 8(r1) +/* 80317420 00314380 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80317424 00314384 41 82 00 C8 */ beq lbl_803174EC +/* 80317428 00314388 3C 60 80 3F */ lis r3, lbl_803EDA70@ha +/* 8031742C 0031438C 38 03 DA 70 */ addi r0, r3, lbl_803EDA70@l +/* 80317430 00314390 90 1E 00 00 */ stw r0, 0(r30) +/* 80317434 00314394 80 7E 00 04 */ lwz r3, 4(r30) +/* 80317438 00314398 28 03 00 00 */ cmplwi r3, 0 +/* 8031743C 0031439C 41 82 00 18 */ beq lbl_80317454 +/* 80317440 003143A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80317444 003143A4 38 80 00 01 */ li r4, 1 +/* 80317448 003143A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031744C 003143AC 7D 89 03 A6 */ mtctr r12 +/* 80317450 003143B0 4E 80 04 21 */ bctrl +lbl_80317454: +/* 80317454 003143B4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80317458 003143B8 28 03 00 00 */ cmplwi r3, 0 +/* 8031745C 003143BC 41 82 00 18 */ beq lbl_80317474 +/* 80317460 003143C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80317464 003143C4 38 80 00 01 */ li r4, 1 +/* 80317468 003143C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031746C 003143CC 7D 89 03 A6 */ mtctr r12 +/* 80317470 003143D0 4E 80 04 21 */ bctrl +lbl_80317474: +/* 80317474 003143D4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80317478 003143D8 28 03 00 00 */ cmplwi r3, 0 +/* 8031747C 003143DC 41 82 00 18 */ beq lbl_80317494 +/* 80317480 003143E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80317484 003143E4 38 80 00 01 */ li r4, 1 +/* 80317488 003143E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031748C 003143EC 7D 89 03 A6 */ mtctr r12 +/* 80317490 003143F0 4E 80 04 21 */ bctrl +lbl_80317494: +/* 80317494 003143F4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80317498 003143F8 28 03 00 00 */ cmplwi r3, 0 +/* 8031749C 003143FC 41 82 00 18 */ beq lbl_803174B4 +/* 803174A0 00314400 81 83 00 00 */ lwz r12, 0(r3) +/* 803174A4 00314404 38 80 00 01 */ li r4, 1 +/* 803174A8 00314408 81 8C 00 08 */ lwz r12, 8(r12) +/* 803174AC 0031440C 7D 89 03 A6 */ mtctr r12 +/* 803174B0 00314410 4E 80 04 21 */ bctrl +lbl_803174B4: +/* 803174B4 00314414 28 1E 00 00 */ cmplwi r30, 0 +/* 803174B8 00314418 41 82 00 20 */ beq lbl_803174D8 +/* 803174BC 0031441C 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803174C0 00314420 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803174C4 00314424 90 1E 00 00 */ stw r0, 0(r30) +/* 803174C8 00314428 41 82 00 10 */ beq lbl_803174D8 +/* 803174CC 0031442C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803174D0 00314430 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803174D4 00314434 90 1E 00 00 */ stw r0, 0(r30) +lbl_803174D8: +/* 803174D8 00314438 7F E0 07 35 */ extsh. r0, r31 +/* 803174DC 0031443C 40 81 00 10 */ ble lbl_803174EC +/* 803174E0 00314440 7F C3 F3 78 */ mr r3, r30 +/* 803174E4 00314444 38 80 00 14 */ li r4, 0x14 +/* 803174E8 00314448 48 05 55 7D */ bl sub_8036ca64 +lbl_803174EC: +/* 803174EC 0031444C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803174F0 00314450 7F C3 F3 78 */ mr r3, r30 +/* 803174F4 00314454 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803174F8 00314458 83 C1 00 08 */ lwz r30, 8(r1) +/* 803174FC 0031445C 7C 08 03 A6 */ mtlr r0 +/* 80317500 00314460 38 21 00 10 */ addi r1, r1, 0x10 +/* 80317504 00314464 4E 80 00 20 */ blr + +.global __ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80317508 00314468 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 8031750C 0031446C 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha +/* 80317510 00314470 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80317514 00314474 3D 00 80 3F */ lis r8, lbl_803EDA70@ha +/* 80317518 00314478 90 03 00 00 */ stw r0, 0(r3) +/* 8031751C 0031447C 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l +/* 80317520 00314480 38 08 DA 70 */ addi r0, r8, lbl_803EDA70@l +/* 80317524 00314484 91 23 00 00 */ stw r9, 0(r3) +/* 80317528 00314488 90 03 00 00 */ stw r0, 0(r3) +/* 8031752C 0031448C 90 83 00 04 */ stw r4, 4(r3) +/* 80317530 00314490 90 A3 00 08 */ stw r5, 8(r3) +/* 80317534 00314494 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80317538 00314498 90 E3 00 10 */ stw r7, 0x10(r3) +/* 8031753C 0031449C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi": +/* 80317540 003144A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80317544 003144A4 7C 08 02 A6 */ mflr r0 +/* 80317548 003144A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031754C 003144AC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80317550 003144B0 7C 9F 23 78 */ mr r31, r4 +/* 80317554 003144B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80317558 003144B8 7C 7E 1B 78 */ mr r30, r3 +/* 8031755C 003144BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80317560 003144C0 80 03 00 08 */ lwz r0, 8(r3) +/* 80317564 003144C4 7C 1F 00 00 */ cmpw r31, r0 +/* 80317568 003144C8 40 81 00 A8 */ ble lbl_80317610 +/* 8031756C 003144CC 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80317570 003144D0 40 82 00 0C */ bne lbl_8031757C +/* 80317574 003144D4 3B A0 00 00 */ li r29, 0 +/* 80317578 003144D8 48 00 00 18 */ b lbl_80317590 +lbl_8031757C: +/* 8031757C 003144DC 3C 80 80 3D */ lis r4, lbl_803D7840@ha +/* 80317580 003144E0 38 A0 00 00 */ li r5, 0 +/* 80317584 003144E4 38 84 78 40 */ addi r4, r4, lbl_803D7840@l +/* 80317588 003144E8 4B FF E2 91 */ bl __nwa__FUlPCcPCc +/* 8031758C 003144EC 7C 7D 1B 78 */ mr r29, r3 +lbl_80317590: +/* 80317590 003144F0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80317594 003144F4 7F A4 EB 78 */ mr r4, r29 +/* 80317598 003144F8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8031759C 003144FC 54 00 10 3A */ slwi r0, r0, 2 +/* 803175A0 00314500 7C 65 02 14 */ add r3, r5, r0 +/* 803175A4 00314504 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803175A8 00314508 90 61 00 08 */ stw r3, 8(r1) +/* 803175AC 0031450C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803175B0 00314510 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803175B4 00314514 48 00 00 1C */ b lbl_803175D0 +lbl_803175B8: +/* 803175B8 00314518 28 04 00 00 */ cmplwi r4, 0 +/* 803175BC 0031451C 41 82 00 0C */ beq lbl_803175C8 +/* 803175C0 00314520 80 05 00 00 */ lwz r0, 0(r5) +/* 803175C4 00314524 90 04 00 00 */ stw r0, 0(r4) +lbl_803175C8: +/* 803175C8 00314528 38 84 00 04 */ addi r4, r4, 4 +/* 803175CC 0031452C 38 A5 00 04 */ addi r5, r5, 4 +lbl_803175D0: +/* 803175D0 00314530 7C 05 18 40 */ cmplw r5, r3 +/* 803175D4 00314534 40 82 FF E4 */ bne lbl_803175B8 +/* 803175D8 00314538 80 1E 00 04 */ lwz r0, 4(r30) +/* 803175DC 0031453C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803175E0 00314540 54 00 10 3A */ slwi r0, r0, 2 +/* 803175E4 00314544 7C 64 1B 78 */ mr r4, r3 +/* 803175E8 00314548 7C 03 02 14 */ add r0, r3, r0 +/* 803175EC 0031454C 48 00 00 08 */ b lbl_803175F4 +lbl_803175F0: +/* 803175F0 00314550 38 84 00 04 */ addi r4, r4, 4 +lbl_803175F4: +/* 803175F4 00314554 7C 04 00 40 */ cmplw r4, r0 +/* 803175F8 00314558 40 82 FF F8 */ bne lbl_803175F0 +/* 803175FC 0031455C 28 03 00 00 */ cmplwi r3, 0 +/* 80317600 00314560 41 82 00 08 */ beq lbl_80317608 +/* 80317604 00314564 4B FF E3 2D */ bl Free__7CMemoryFPCv +lbl_80317608: +/* 80317608 00314568 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8031760C 0031456C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80317610: +/* 80317610 00314570 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80317614 00314574 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80317618 00314578 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031761C 0031457C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80317620 00314580 7C 08 03 A6 */ mtlr r0 +/* 80317624 00314584 38 21 00 30 */ addi r1, r1, 0x30 +/* 80317628 00314588 4E 80 00 20 */ blr + +.global GetGlobalTranslation__11CElementGenCFv +GetGlobalTranslation__11CElementGenCFv: +/* 8031762C 0031458C 38 63 00 E8 */ addi r3, r3, 0xe8 +/* 80317630 00314590 4E 80 00 20 */ blr + +.global GetGlobalOrientation__11CElementGenCFv +GetGlobalOrientation__11CElementGenCFv: +/* 80317634 00314594 38 63 02 2C */ addi r3, r3, 0x22c +/* 80317638 00314598 4E 80 00 20 */ blr + +.global GetParticleEmission__11CElementGenCFv +GetParticleEmission__11CElementGenCFv: +/* 8031763C 0031459C 88 63 00 88 */ lbz r3, 0x88(r3) +/* 80317640 003145A0 4E 80 00 20 */ blr + +.global IsIndirectTextured__11CElementGenCFv +IsIndirectTextured__11CElementGenCFv: +/* 80317644 003145A4 80 83 00 28 */ lwz r4, 0x28(r3) +/* 80317648 003145A8 38 60 00 00 */ li r3, 0 +/* 8031764C 003145AC 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80317650 003145B0 28 00 00 00 */ cmplwi r0, 0 +/* 80317654 003145B4 4D 82 00 20 */ beqlr +/* 80317658 003145B8 80 04 00 44 */ lwz r0, 0x44(r4) +/* 8031765C 003145BC 28 00 00 00 */ cmplwi r0, 0 +/* 80317660 003145C0 4D 82 00 20 */ beqlr +/* 80317664 003145C4 38 60 00 01 */ li r3, 1 +/* 80317668 003145C8 4E 80 00 20 */ blr + +.global GetCEXTValue__11CElementGenCFi +GetCEXTValue__11CElementGenCFi: +/* 8031766C 003145CC 54 80 10 3A */ slwi r0, r4, 2 +/* 80317670 003145D0 7C 63 02 14 */ add r3, r3, r0 +/* 80317674 003145D4 C0 23 00 9C */ lfs f1, 0x9c(r3) +/* 80317678 003145D8 4E 80 00 20 */ blr + +.global SetCEXTValue__11CElementGenFif +SetCEXTValue__11CElementGenFif: +/* 8031767C 003145DC 54 80 10 3A */ slwi r0, r4, 2 +/* 80317680 003145E0 7C 63 02 14 */ add r3, r3, r0 +/* 80317684 003145E4 D0 23 00 9C */ stfs f1, 0x9c(r3) +/* 80317688 003145E8 4E 80 00 20 */ blr + +.global GetActiveChildParticle__11CElementGenCFi +GetActiveChildParticle__11CElementGenCFi: +/* 8031768C 003145EC 80 63 02 9C */ lwz r3, 0x29c(r3) +/* 80317690 003145F0 54 80 10 3A */ slwi r0, r4, 2 +/* 80317694 003145F4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80317698 003145F8 4E 80 00 20 */ blr + +.global GetNumActiveChildParticles__11CElementGenCFv +GetNumActiveChildParticles__11CElementGenCFv: +/* 8031769C 003145FC 80 63 02 94 */ lwz r3, 0x294(r3) +/* 803176A0 00314600 4E 80 00 20 */ blr + +.global Get4CharId__11CElementGenCF +Get4CharId__11CElementGenCF: +/* 803176A4 00314604 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 803176A8 00314608 38 63 52 54 */ addi r3, r3, 0x50415254@l +/* 803176AC 0031460C 4E 80 00 20 */ blr + +.global GetGeneratorRate__11CElementGenCFv +GetGeneratorRate__11CElementGenCFv: +/* 803176B0 00314610 C0 23 00 98 */ lfs f1, 0x98(r3) +/* 803176B4 00314614 4E 80 00 20 */ blr + +.global SetGeneratorRate__11CElementGenFf +SetGeneratorRate__11CElementGenFf: +/* 803176B8 00314618 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803176BC 0031461C 7C 08 02 A6 */ mflr r0 +/* 803176C0 00314620 FC 40 08 18 */ frsp f2, f1 +/* 803176C4 00314624 90 01 00 24 */ stw r0, 0x24(r1) +/* 803176C8 00314628 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803176CC 0031462C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803176D0 00314630 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803176D4 00314634 7C 7D 1B 78 */ mr r29, r3 +/* 803176D8 00314638 C0 0D 9D 10 */ lfs f0, lbl_805A88D0@sda21(r13) +/* 803176DC 0031463C D0 21 00 08 */ stfs f1, 8(r1) +/* 803176E0 00314640 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803176E4 00314644 40 80 00 0C */ bge lbl_803176F0 +/* 803176E8 00314648 38 6D 9D 10 */ addi r3, r13, lbl_805A88D0@sda21 +/* 803176EC 0031464C 48 00 00 08 */ b lbl_803176F4 +lbl_803176F0: +/* 803176F0 00314650 38 61 00 08 */ addi r3, r1, 8 +lbl_803176F4: +/* 803176F4 00314654 C0 03 00 00 */ lfs f0, 0(r3) +/* 803176F8 00314658 D0 1D 00 98 */ stfs f0, 0x98(r29) +/* 803176FC 0031465C 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 80317700 00314660 48 00 00 44 */ b lbl_80317744 +lbl_80317704: +/* 80317704 00314664 83 DF 00 00 */ lwz r30, 0(r31) +/* 80317708 00314668 7F C3 F3 78 */ mr r3, r30 +/* 8031770C 0031466C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80317710 00314670 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80317714 00314674 7D 89 03 A6 */ mtctr r12 +/* 80317718 00314678 4E 80 04 21 */ bctrl +/* 8031771C 0031467C 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 80317720 00314680 28 00 52 54 */ cmplwi r0, 0x5254 +/* 80317724 00314684 40 82 00 1C */ bne lbl_80317740 +/* 80317728 00314688 7F C3 F3 78 */ mr r3, r30 +/* 8031772C 0031468C C0 3D 00 98 */ lfs f1, 0x98(r29) +/* 80317730 00314690 81 9E 00 00 */ lwz r12, 0(r30) +/* 80317734 00314694 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80317738 00314698 7D 89 03 A6 */ mtctr r12 +/* 8031773C 0031469C 4E 80 04 21 */ bctrl +lbl_80317740: +/* 80317740 003146A0 3B FF 00 04 */ addi r31, r31, 4 +lbl_80317744: +/* 80317744 003146A4 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 80317748 003146A8 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031774C 003146AC 54 00 10 3A */ slwi r0, r0, 2 +/* 80317750 003146B0 7C 03 02 14 */ add r0, r3, r0 +/* 80317754 003146B4 7C 1F 00 40 */ cmplw r31, r0 +/* 80317758 003146B8 40 82 FF AC */ bne lbl_80317704 +/* 8031775C 003146BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80317760 003146C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80317764 003146C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80317768 003146C8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031776C 003146CC 7C 08 03 A6 */ mtlr r0 +/* 80317770 003146D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80317774 003146D4 4E 80 00 20 */ blr + +.global GetLight__11CElementGenCFv +GetLight__11CElementGenCFv: +/* 80317778 003146D8 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8031777C 003146DC 7C 08 02 A6 */ mflr r0 +/* 80317780 003146E0 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80317784 003146E4 93 E1 00 EC */ stw r31, 0xec(r1) +/* 80317788 003146E8 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 8031778C 003146EC 7C 9E 23 78 */ mr r30, r4 +/* 80317790 003146F0 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 80317794 003146F4 7C 7D 1B 78 */ mr r29, r3 +/* 80317798 003146F8 80 04 03 08 */ lwz r0, 0x308(r4) +/* 8031779C 003146FC 2C 00 00 03 */ cmpwi r0, 3 +/* 803177A0 00314700 41 82 00 78 */ beq lbl_80317818 +/* 803177A4 00314704 40 80 01 40 */ bge lbl_803178E4 +/* 803177A8 00314708 2C 00 00 02 */ cmpwi r0, 2 +/* 803177AC 0031470C 40 80 00 08 */ bge lbl_803177B4 +/* 803177B0 00314710 48 00 01 34 */ b lbl_803178E4 +lbl_803177B4: +/* 803177B4 00314714 E0 3E A3 0C */ psq_l f1, 780(r30), 1, qr2 +/* 803177B8 00314718 E0 5E A3 0D */ psq_l f2, 781(r30), 1, qr2 +/* 803177BC 0031471C E0 7E A3 0E */ psq_l f3, 782(r30), 1, qr2 +/* 803177C0 00314720 E0 9E A3 0F */ psq_l f4, 783(r30), 1, qr2 +/* 803177C4 00314724 38 61 00 0C */ addi r3, r1, 0xc +/* 803177C8 00314728 C0 02 C9 EC */ lfs f0, lbl_805AE70C@sda21(r2) +/* 803177CC 0031472C C0 BE 03 10 */ lfs f5, 0x310(r30) +/* 803177D0 00314730 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803177D4 00314734 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 803177D8 00314738 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 803177DC 0031473C EC 00 01 32 */ fmuls f0, f0, f4 +/* 803177E0 00314740 EC 25 00 72 */ fmuls f1, f5, f1 +/* 803177E4 00314744 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 803177E8 00314748 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 803177EC 0031474C EC 85 00 32 */ fmuls f4, f5, f0 +/* 803177F0 00314750 48 04 BB FD */ bl __ct__6CColorFffff +/* 803177F4 00314754 7C 7F 1B 78 */ mr r31, r3 +/* 803177F8 00314758 38 61 00 28 */ addi r3, r1, 0x28 +/* 803177FC 0031475C 38 9E 03 20 */ addi r4, r30, 0x320 +/* 80317800 00314760 4B FF D0 51 */ bl AsNormalized__9CVector3fCFv +/* 80317804 00314764 7F A3 EB 78 */ mr r3, r29 +/* 80317808 00314768 7F E5 FB 78 */ mr r5, r31 +/* 8031780C 0031476C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80317810 00314770 4B FE EC 5D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 80317814 00314774 48 00 01 40 */ b lbl_80317954 +lbl_80317818: +/* 80317818 00314778 E0 3E A3 0C */ psq_l f1, 780(r30), 1, qr2 +/* 8031781C 0031477C E0 5E A3 0D */ psq_l f2, 781(r30), 1, qr2 +/* 80317820 00314780 E0 7E A3 0E */ psq_l f3, 782(r30), 1, qr2 +/* 80317824 00314784 E0 9E A3 0F */ psq_l f4, 783(r30), 1, qr2 +/* 80317828 00314788 38 61 00 08 */ addi r3, r1, 8 +/* 8031782C 0031478C C0 02 C9 EC */ lfs f0, lbl_805AE70C@sda21(r2) +/* 80317830 00314790 C0 BE 03 10 */ lfs f5, 0x310(r30) +/* 80317834 00314794 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80317838 00314798 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8031783C 0031479C EC 60 00 F2 */ fmuls f3, f0, f3 +/* 80317840 003147A0 EC 00 01 32 */ fmuls f0, f0, f4 +/* 80317844 003147A4 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80317848 003147A8 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 8031784C 003147AC EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80317850 003147B0 EC 85 00 32 */ fmuls f4, f5, f0 +/* 80317854 003147B4 48 04 BB 99 */ bl __ct__6CColorFffff +/* 80317858 003147B8 7C 7F 1B 78 */ mr r31, r3 +/* 8031785C 003147BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80317860 003147C0 38 9E 03 20 */ addi r4, r30, 0x320 +/* 80317864 003147C4 4B FF CF ED */ bl AsNormalized__9CVector3fCFv +/* 80317868 003147C8 C0 3E 03 34 */ lfs f1, 0x334(r30) +/* 8031786C 003147CC 7F E6 FB 78 */ mr r6, r31 +/* 80317870 003147D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80317874 003147D4 38 9E 03 14 */ addi r4, r30, 0x314 +/* 80317878 003147D8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8031787C 003147DC 4B FE EB 81 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +/* 80317880 003147E0 38 61 00 84 */ addi r3, r1, 0x84 +/* 80317884 003147E4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80317888 003147E8 4B D2 3C E9 */ bl __ct__6CLightFCR6CLight +/* 8031788C 003147EC 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80317890 003147F0 2C 00 00 02 */ cmpwi r0, 2 +/* 80317894 003147F4 40 82 00 0C */ bne lbl_803178A0 +/* 80317898 003147F8 C0 7E 03 30 */ lfs f3, 0x330(r30) +/* 8031789C 003147FC 48 00 00 08 */ b lbl_803178A4 +lbl_803178A0: +/* 803178A0 00314800 C0 62 C9 E8 */ lfs f3, lbl_805AE708@sda21(r2) +lbl_803178A4: +/* 803178A4 00314804 2C 00 00 01 */ cmpwi r0, 1 +/* 803178A8 00314808 40 82 00 0C */ bne lbl_803178B4 +/* 803178AC 0031480C C0 5E 03 30 */ lfs f2, 0x330(r30) +/* 803178B0 00314810 48 00 00 08 */ b lbl_803178B8 +lbl_803178B4: +/* 803178B4 00314814 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +lbl_803178B8: +/* 803178B8 00314818 2C 00 00 00 */ cmpwi r0, 0 +/* 803178BC 0031481C 38 61 00 84 */ addi r3, r1, 0x84 +/* 803178C0 00314820 40 82 00 0C */ bne lbl_803178CC +/* 803178C4 00314824 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 803178C8 00314828 48 00 00 08 */ b lbl_803178D0 +lbl_803178CC: +/* 803178CC 0031482C C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +lbl_803178D0: +/* 803178D0 00314830 4B FE EA E1 */ bl SetAttenuation__6CLightFfff +/* 803178D4 00314834 7F A3 EB 78 */ mr r3, r29 +/* 803178D8 00314838 38 81 00 84 */ addi r4, r1, 0x84 +/* 803178DC 0031483C 4B D2 3C 95 */ bl __ct__6CLightFCR6CLight +/* 803178E0 00314840 48 00 00 74 */ b lbl_80317954 +lbl_803178E4: +/* 803178E4 00314844 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 803178E8 00314848 2C 00 00 02 */ cmpwi r0, 2 +/* 803178EC 0031484C 40 82 00 0C */ bne lbl_803178F8 +/* 803178F0 00314850 C0 7E 03 30 */ lfs f3, 0x330(r30) +/* 803178F4 00314854 48 00 00 08 */ b lbl_803178FC +lbl_803178F8: +/* 803178F8 00314858 C0 62 C9 E8 */ lfs f3, lbl_805AE708@sda21(r2) +lbl_803178FC: +/* 803178FC 0031485C 2C 00 00 01 */ cmpwi r0, 1 +/* 80317900 00314860 40 82 00 0C */ bne lbl_8031790C +/* 80317904 00314864 C0 5E 03 30 */ lfs f2, 0x330(r30) +/* 80317908 00314868 48 00 00 08 */ b lbl_80317910 +lbl_8031790C: +/* 8031790C 0031486C C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +lbl_80317910: +/* 80317910 00314870 2C 00 00 00 */ cmpwi r0, 0 +/* 80317914 00314874 40 82 00 0C */ bne lbl_80317920 +/* 80317918 00314878 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 8031791C 0031487C 48 00 00 08 */ b lbl_80317924 +lbl_80317920: +/* 80317920 00314880 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +lbl_80317924: +/* 80317924 00314884 C0 A2 C9 E8 */ lfs f5, lbl_805AE708@sda21(r2) +/* 80317928 00314888 7F A3 EB 78 */ mr r3, r29 +/* 8031792C 0031488C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80317930 00314890 38 9E 03 14 */ addi r4, r30, 0x314 +/* 80317934 00314894 FC C0 28 90 */ fmr f6, f5 +/* 80317938 00314898 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8031793C 0031489C C0 9E 03 10 */ lfs f4, 0x310(r30) +/* 80317940 003148A0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80317944 003148A4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80317948 003148A8 38 DE 03 0C */ addi r6, r30, 0x30c +/* 8031794C 003148AC D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80317950 003148B0 4B FE EA 8D */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +lbl_80317954: +/* 80317954 003148B4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80317958 003148B8 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 8031795C 003148BC 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 80317960 003148C0 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 80317964 003148C4 7C 08 03 A6 */ mtlr r0 +/* 80317968 003148C8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8031796C 003148CC 4E 80 00 20 */ blr + +.global SystemHasLight__11CElementGenCFv +SystemHasLight__11CElementGenCFv: +/* 80317970 003148D0 80 63 03 08 */ lwz r3, 0x308(r3) +/* 80317974 003148D4 7C 03 00 D0 */ neg r0, r3 +/* 80317978 003148D8 7C 00 1B 78 */ or r0, r0, r3 +/* 8031797C 003148DC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80317980 003148E0 4E 80 00 20 */ blr + +.global GetEmitterTime__11CElementGenFv +GetEmitterTime__11CElementGenFv: +/* 80317984 003148E4 80 63 00 74 */ lwz r3, 0x74(r3) +/* 80317988 003148E8 4E 80 00 20 */ blr + +.global GetBounds__11CElementGenCFv +GetBounds__11CElementGenCFv: +/* 8031798C 003148EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80317990 003148F0 7C 08 02 A6 */ mflr r0 +/* 80317994 003148F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317998 003148F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031799C 003148FC 7C 9F 23 78 */ mr r31, r4 +/* 803179A0 00314900 93 C1 00 08 */ stw r30, 8(r1) +/* 803179A4 00314904 7C 7E 1B 78 */ mr r30, r3 +/* 803179A8 00314908 7F E3 FB 78 */ mr r3, r31 +/* 803179AC 0031490C 48 00 05 41 */ bl GetParticleCountAll__11CElementGenCFv +/* 803179B0 00314910 2C 03 00 00 */ cmpwi r3, 0 +/* 803179B4 00314914 41 81 00 10 */ bgt lbl_803179C4 +/* 803179B8 00314918 38 00 00 00 */ li r0, 0 +/* 803179BC 0031491C 98 1E 00 18 */ stb r0, 0x18(r30) +/* 803179C0 00314920 48 00 00 44 */ b lbl_80317A04 +lbl_803179C4: +/* 803179C4 00314924 38 00 00 01 */ li r0, 1 +/* 803179C8 00314928 28 1E 00 00 */ cmplwi r30, 0 +/* 803179CC 0031492C 98 1E 00 18 */ stb r0, 0x18(r30) +/* 803179D0 00314930 41 82 00 34 */ beq lbl_80317A04 +/* 803179D4 00314934 C0 1F 02 F0 */ lfs f0, 0x2f0(r31) +/* 803179D8 00314938 D0 1E 00 00 */ stfs f0, 0(r30) +/* 803179DC 0031493C C0 1F 02 F4 */ lfs f0, 0x2f4(r31) +/* 803179E0 00314940 D0 1E 00 04 */ stfs f0, 4(r30) +/* 803179E4 00314944 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) +/* 803179E8 00314948 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803179EC 0031494C C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 803179F0 00314950 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 803179F4 00314954 C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 803179F8 00314958 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 803179FC 0031495C C0 1F 03 04 */ lfs f0, 0x304(r31) +/* 80317A00 00314960 D0 1E 00 14 */ stfs f0, 0x14(r30) +lbl_80317A04: +/* 80317A04 00314964 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80317A08 00314968 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80317A0C 0031496C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80317A10 00314970 7C 08 03 A6 */ mtlr r0 +/* 80317A14 00314974 38 21 00 10 */ addi r1, r1, 0x10 +/* 80317A18 00314978 4E 80 00 20 */ blr + +.global BuildParticleSystemBounds__11CElementGenFv +BuildParticleSystemBounds__11CElementGenFv: +/* 80317A1C 0031497C 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80317A20 00314980 7C 08 02 A6 */ mflr r0 +/* 80317A24 00314984 90 01 01 84 */ stw r0, 0x184(r1) +/* 80317A28 00314988 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 80317A2C 0031498C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80317A30 00314990 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 80317A34 00314994 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80317A38 00314998 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 80317A3C 0031499C F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80317A40 003149A0 BF 41 01 38 */ stmw r26, 0x138(r1) +/* 80317A44 003149A4 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 80317A48 003149A8 7C 7C 1B 78 */ mr r28, r3 +/* 80317A4C 003149AC 3B E4 67 54 */ addi r31, r4, lbl_805A6754@l +/* 80317A50 003149B0 3B C1 00 C4 */ addi r30, r1, 0xc4 +/* 80317A54 003149B4 C0 BF 00 00 */ lfs f5, 0(r31) +/* 80317A58 003149B8 3B A0 00 00 */ li r29, 0 +/* 80317A5C 003149BC C0 9F 00 04 */ lfs f4, 4(r31) +/* 80317A60 003149C0 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80317A64 003149C4 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80317A68 003149C8 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80317A6C 003149CC C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80317A70 003149D0 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 80317A74 003149D4 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 80317A78 003149D8 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 80317A7C 003149DC D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 80317A80 003149E0 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 80317A84 003149E4 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80317A88 003149E8 83 43 02 9C */ lwz r26, 0x29c(r3) +/* 80317A8C 003149EC 48 00 00 A4 */ b lbl_80317B30 +lbl_80317A90: +/* 80317A90 003149F0 80 9A 00 00 */ lwz r4, 0(r26) +/* 80317A94 003149F4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80317A98 003149F8 81 84 00 00 */ lwz r12, 0(r4) +/* 80317A9C 003149FC 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80317AA0 00314A00 7D 89 03 A6 */ mtctr r12 +/* 80317AA4 00314A04 4E 80 04 21 */ bctrl +/* 80317AA8 00314A08 88 01 00 98 */ lbz r0, 0x98(r1) +/* 80317AAC 00314A0C 28 00 00 00 */ cmplwi r0, 0 +/* 80317AB0 00314A10 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 80317AB4 00314A14 41 82 00 3C */ beq lbl_80317AF0 +/* 80317AB8 00314A18 34 61 00 9C */ addic. r3, r1, 0x9c +/* 80317ABC 00314A1C 41 82 00 34 */ beq lbl_80317AF0 +/* 80317AC0 00314A20 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80317AC4 00314A24 D0 03 00 00 */ stfs f0, 0(r3) +/* 80317AC8 00314A28 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80317ACC 00314A2C D0 03 00 04 */ stfs f0, 4(r3) +/* 80317AD0 00314A30 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80317AD4 00314A34 D0 03 00 08 */ stfs f0, 8(r3) +/* 80317AD8 00314A38 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80317ADC 00314A3C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80317AE0 00314A40 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80317AE4 00314A44 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80317AE8 00314A48 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80317AEC 00314A4C D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80317AF0: +/* 80317AF0 00314A50 88 01 00 B4 */ lbz r0, 0xb4(r1) +/* 80317AF4 00314A54 38 60 00 00 */ li r3, 0 +/* 80317AF8 00314A58 98 61 00 98 */ stb r3, 0x98(r1) +/* 80317AFC 00314A5C 28 00 00 00 */ cmplwi r0, 0 +/* 80317B00 00314A60 41 82 00 24 */ beq lbl_80317B24 +/* 80317B04 00314A64 3B 61 00 9C */ addi r27, r1, 0x9c +/* 80317B08 00314A68 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80317B0C 00314A6C 7F 64 DB 78 */ mr r4, r27 +/* 80317B10 00314A70 3B A0 00 01 */ li r29, 1 +/* 80317B14 00314A74 48 01 FF F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80317B18 00314A78 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80317B1C 00314A7C 38 9B 00 0C */ addi r4, r27, 0xc +/* 80317B20 00314A80 48 01 FF E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_80317B24: +/* 80317B24 00314A84 38 00 00 00 */ li r0, 0 +/* 80317B28 00314A88 3B 5A 00 04 */ addi r26, r26, 4 +/* 80317B2C 00314A8C 98 01 00 B4 */ stb r0, 0xb4(r1) +lbl_80317B30: +/* 80317B30 00314A90 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 80317B34 00314A94 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 80317B38 00314A98 54 00 10 3A */ slwi r0, r0, 2 +/* 80317B3C 00314A9C 7C 03 02 14 */ add r0, r3, r0 +/* 80317B40 00314AA0 7C 1A 00 40 */ cmplw r26, r0 +/* 80317B44 00314AA4 40 82 FF 4C */ bne lbl_80317A90 +/* 80317B48 00314AA8 7F 83 E3 78 */ mr r3, r28 +/* 80317B4C 00314AAC 48 00 03 05 */ bl GetParticleCountAllInternal__11CElementGenCFv +/* 80317B50 00314AB0 90 7C 02 64 */ stw r3, 0x264(r28) +/* 80317B54 00314AB4 7F 83 E3 78 */ mr r3, r28 +/* 80317B58 00314AB8 81 9C 00 00 */ lwz r12, 0(r28) +/* 80317B5C 00314ABC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80317B60 00314AC0 7D 89 03 A6 */ mtctr r12 +/* 80317B64 00314AC4 4E 80 04 21 */ bctrl +/* 80317B68 00314AC8 2C 03 00 00 */ cmpwi r3, 0 +/* 80317B6C 00314ACC 40 81 01 28 */ ble lbl_80317C94 +/* 80317B70 00314AD0 C0 7C 02 EC */ lfs f3, 0x2ec(r28) +/* 80317B74 00314AD4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80317B78 00314AD8 C0 5C 01 08 */ lfs f2, 0x108(r28) +/* 80317B7C 00314ADC 38 9C 01 0C */ addi r4, r28, 0x10c +/* 80317B80 00314AE0 C0 3C 01 04 */ lfs f1, 0x104(r28) +/* 80317B84 00314AE4 38 BC 02 2C */ addi r5, r28, 0x22c +/* 80317B88 00314AE8 C0 1C 01 00 */ lfs f0, 0x100(r28) +/* 80317B8C 00314AEC EF A3 00 B2 */ fmuls f29, f3, f2 +/* 80317B90 00314AF0 EF C3 00 72 */ fmuls f30, f3, f1 +/* 80317B94 00314AF4 EF E3 00 32 */ fmuls f31, f3, f0 +/* 80317B98 00314AF8 4B FF AD B9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80317B9C 00314AFC 38 61 01 00 */ addi r3, r1, 0x100 +/* 80317BA0 00314B00 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80317BA4 00314B04 38 BC 01 78 */ addi r5, r28, 0x178 +/* 80317BA8 00314B08 4B FF AD A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80317BAC 00314B0C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80317BB0 00314B10 38 9C 02 D4 */ addi r4, r28, 0x2d4 +/* 80317BB4 00314B14 38 BC 02 E0 */ addi r5, r28, 0x2e0 +/* 80317BB8 00314B18 48 02 09 51 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80317BBC 00314B1C 7C 64 1B 78 */ mr r4, r3 +/* 80317BC0 00314B20 38 61 00 68 */ addi r3, r1, 0x68 +/* 80317BC4 00314B24 38 A1 01 00 */ addi r5, r1, 0x100 +/* 80317BC8 00314B28 48 01 FD 35 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 80317BCC 00314B2C C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80317BD0 00314B30 38 61 00 38 */ addi r3, r1, 0x38 +/* 80317BD4 00314B34 C0 1C 00 EC */ lfs f0, 0xec(r28) +/* 80317BD8 00314B38 38 81 00 2C */ addi r4, r1, 0x2c +/* 80317BDC 00314B3C C0 21 00 78 */ lfs f1, 0x78(r1) +/* 80317BE0 00314B40 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80317BE4 00314B44 EC A2 00 2A */ fadds f5, f2, f0 +/* 80317BE8 00314B48 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80317BEC 00314B4C EC C1 00 2A */ fadds f6, f1, f0 +/* 80317BF0 00314B50 C0 1C 00 F0 */ lfs f0, 0xf0(r28) +/* 80317BF4 00314B54 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80317BF8 00314B58 EC 82 00 2A */ fadds f4, f2, f0 +/* 80317BFC 00314B5C EC E1 00 2A */ fadds f7, f1, f0 +/* 80317C00 00314B60 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80317C04 00314B64 C0 3C 00 E8 */ lfs f1, 0xe8(r28) +/* 80317C08 00314B68 ED 26 F0 2A */ fadds f9, f6, f30 +/* 80317C0C 00314B6C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80317C10 00314B70 EC 62 08 2A */ fadds f3, f2, f1 +/* 80317C14 00314B74 EC 20 08 2A */ fadds f1, f0, f1 +/* 80317C18 00314B78 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 80317C1C 00314B7C ED 07 E8 2A */ fadds f8, f7, f29 +/* 80317C20 00314B80 EC 43 F8 2A */ fadds f2, f3, f31 +/* 80317C24 00314B84 D0 61 00 08 */ stfs f3, 8(r1) +/* 80317C28 00314B88 EC C5 F0 28 */ fsubs f6, f5, f30 +/* 80317C2C 00314B8C EC 64 E8 28 */ fsubs f3, f4, f29 +/* 80317C30 00314B90 D0 E1 00 10 */ stfs f7, 0x10(r1) +/* 80317C34 00314B94 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80317C38 00314B98 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80317C3C 00314B9C D1 21 00 18 */ stfs f9, 0x18(r1) +/* 80317C40 00314BA0 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 80317C44 00314BA4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80317C48 00314BA8 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80317C4C 00314BAC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80317C50 00314BB0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80317C54 00314BB4 D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 80317C58 00314BB8 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80317C5C 00314BBC 48 02 08 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80317C60 00314BC0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80317C64 00314BC4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80317C68 00314BC8 90 7C 02 F0 */ stw r3, 0x2f0(r28) +/* 80317C6C 00314BCC 90 1C 02 F4 */ stw r0, 0x2f4(r28) +/* 80317C70 00314BD0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80317C74 00314BD4 90 1C 02 F8 */ stw r0, 0x2f8(r28) +/* 80317C78 00314BD8 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80317C7C 00314BDC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80317C80 00314BE0 90 7C 02 FC */ stw r3, 0x2fc(r28) +/* 80317C84 00314BE4 90 1C 03 00 */ stw r0, 0x300(r28) +/* 80317C88 00314BE8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80317C8C 00314BEC 90 1C 03 04 */ stw r0, 0x304(r28) +/* 80317C90 00314BF0 48 00 00 3C */ b lbl_80317CCC +lbl_80317C94: +/* 80317C94 00314BF4 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80317C98 00314BF8 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 80317C9C 00314BFC 80 64 00 00 */ lwz r3, 0(r4) +/* 80317CA0 00314C00 80 04 00 04 */ lwz r0, 4(r4) +/* 80317CA4 00314C04 90 7C 02 F0 */ stw r3, 0x2f0(r28) +/* 80317CA8 00314C08 90 1C 02 F4 */ stw r0, 0x2f4(r28) +/* 80317CAC 00314C0C 80 04 00 08 */ lwz r0, 8(r4) +/* 80317CB0 00314C10 90 1C 02 F8 */ stw r0, 0x2f8(r28) +/* 80317CB4 00314C14 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80317CB8 00314C18 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80317CBC 00314C1C 90 7C 02 FC */ stw r3, 0x2fc(r28) +/* 80317CC0 00314C20 90 1C 03 00 */ stw r0, 0x300(r28) +/* 80317CC4 00314C24 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80317CC8 00314C28 90 1C 03 04 */ stw r0, 0x304(r28) +lbl_80317CCC: +/* 80317CCC 00314C2C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80317CD0 00314C30 41 82 00 1C */ beq lbl_80317CEC +/* 80317CD4 00314C34 38 7C 02 F0 */ addi r3, r28, 0x2f0 +/* 80317CD8 00314C38 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80317CDC 00314C3C 48 01 FE 2D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80317CE0 00314C40 7F C4 F3 78 */ mr r4, r30 +/* 80317CE4 00314C44 38 7C 02 F0 */ addi r3, r28, 0x2f0 +/* 80317CE8 00314C48 48 01 FE 21 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_80317CEC: +/* 80317CEC 00314C4C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80317CF0 00314C50 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80317CF4 00314C54 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80317CF8 00314C58 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80317CFC 00314C5C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80317D00 00314C60 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80317D04 00314C64 BB 41 01 38 */ lmw r26, 0x138(r1) +/* 80317D08 00314C68 80 01 01 84 */ lwz r0, 0x184(r1) +/* 80317D0C 00314C6C 7C 08 03 A6 */ mtlr r0 +/* 80317D10 00314C70 38 21 01 80 */ addi r1, r1, 0x180 +/* 80317D14 00314C74 4E 80 00 20 */ blr + +.global AccumulateBounds__11CElementGenFRC9CVector3ff +AccumulateBounds__11CElementGenFRC9CVector3ff: +/* 80317D18 00314C78 C0 44 00 00 */ lfs f2, 0(r4) +/* 80317D1C 00314C7C C0 03 02 E0 */ lfs f0, 0x2e0(r3) +/* 80317D20 00314C80 C0 64 00 04 */ lfs f3, 4(r4) +/* 80317D24 00314C84 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80317D28 00314C88 C0 84 00 08 */ lfs f4, 8(r4) +/* 80317D2C 00314C8C 40 81 00 08 */ ble lbl_80317D34 +/* 80317D30 00314C90 D0 43 02 E0 */ stfs f2, 0x2e0(r3) +lbl_80317D34: +/* 80317D34 00314C94 C0 03 02 D4 */ lfs f0, 0x2d4(r3) +/* 80317D38 00314C98 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80317D3C 00314C9C 40 80 00 08 */ bge lbl_80317D44 +/* 80317D40 00314CA0 D0 43 02 D4 */ stfs f2, 0x2d4(r3) +lbl_80317D44: +/* 80317D44 00314CA4 C0 03 02 E4 */ lfs f0, 0x2e4(r3) +/* 80317D48 00314CA8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80317D4C 00314CAC 40 81 00 08 */ ble lbl_80317D54 +/* 80317D50 00314CB0 D0 63 02 E4 */ stfs f3, 0x2e4(r3) +lbl_80317D54: +/* 80317D54 00314CB4 C0 03 02 D8 */ lfs f0, 0x2d8(r3) +/* 80317D58 00314CB8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80317D5C 00314CBC 40 80 00 08 */ bge lbl_80317D64 +/* 80317D60 00314CC0 D0 63 02 D8 */ stfs f3, 0x2d8(r3) +lbl_80317D64: +/* 80317D64 00314CC4 C0 03 02 E8 */ lfs f0, 0x2e8(r3) +/* 80317D68 00314CC8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80317D6C 00314CCC 40 81 00 08 */ ble lbl_80317D74 +/* 80317D70 00314CD0 D0 83 02 E8 */ stfs f4, 0x2e8(r3) +lbl_80317D74: +/* 80317D74 00314CD4 C0 03 02 DC */ lfs f0, 0x2dc(r3) +/* 80317D78 00314CD8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80317D7C 00314CDC 40 80 00 08 */ bge lbl_80317D84 +/* 80317D80 00314CE0 D0 83 02 DC */ stfs f4, 0x2dc(r3) +lbl_80317D84: +/* 80317D84 00314CE4 C0 03 02 EC */ lfs f0, 0x2ec(r3) +/* 80317D88 00314CE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80317D8C 00314CEC 4C 81 00 20 */ blelr +/* 80317D90 00314CF0 D0 23 02 EC */ stfs f1, 0x2ec(r3) +/* 80317D94 00314CF4 4E 80 00 20 */ blr + +.global GetSystemCount__11CElementGenFv +GetSystemCount__11CElementGenFv: +/* 80317D98 00314CF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80317D9C 00314CFC 7C 08 02 A6 */ mflr r0 +/* 80317DA0 00314D00 90 01 00 24 */ stw r0, 0x24(r1) +/* 80317DA4 00314D04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80317DA8 00314D08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80317DAC 00314D0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80317DB0 00314D10 93 81 00 10 */ stw r28, 0x10(r1) +/* 80317DB4 00314D14 7C 7C 1B 78 */ mr r28, r3 +/* 80317DB8 00314D18 80 63 02 5C */ lwz r3, 0x25c(r3) +/* 80317DBC 00314D1C 83 FC 02 9C */ lwz r31, 0x29c(r28) +/* 80317DC0 00314D20 7C 03 00 D0 */ neg r0, r3 +/* 80317DC4 00314D24 7C 00 18 78 */ andc r0, r0, r3 +/* 80317DC8 00314D28 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80317DCC 00314D2C 7C 1E 03 78 */ mr r30, r0 +/* 80317DD0 00314D30 48 00 00 44 */ b lbl_80317E14 +lbl_80317DD4: +/* 80317DD4 00314D34 83 BF 00 00 */ lwz r29, 0(r31) +/* 80317DD8 00314D38 7F A3 EB 78 */ mr r3, r29 +/* 80317DDC 00314D3C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80317DE0 00314D40 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80317DE4 00314D44 7D 89 03 A6 */ mtctr r12 +/* 80317DE8 00314D48 4E 80 04 21 */ bctrl +/* 80317DEC 00314D4C 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 80317DF0 00314D50 28 00 52 54 */ cmplwi r0, 0x5254 +/* 80317DF4 00314D54 40 82 00 14 */ bne lbl_80317E08 +/* 80317DF8 00314D58 7F A3 EB 78 */ mr r3, r29 +/* 80317DFC 00314D5C 4B FF FF 9D */ bl GetSystemCount__11CElementGenFv +/* 80317E00 00314D60 7C 1E 1A 14 */ add r0, r30, r3 +/* 80317E04 00314D64 48 00 00 08 */ b lbl_80317E0C +lbl_80317E08: +/* 80317E08 00314D68 38 1E 00 01 */ addi r0, r30, 1 +lbl_80317E0C: +/* 80317E0C 00314D6C 7C 1E 03 78 */ mr r30, r0 +/* 80317E10 00314D70 3B FF 00 04 */ addi r31, r31, 4 +lbl_80317E14: +/* 80317E14 00314D74 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 80317E18 00314D78 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 80317E1C 00314D7C 54 00 10 3A */ slwi r0, r0, 2 +/* 80317E20 00314D80 7C 03 02 14 */ add r0, r3, r0 +/* 80317E24 00314D84 7C 1F 00 40 */ cmplw r31, r0 +/* 80317E28 00314D88 40 82 FF AC */ bne lbl_80317DD4 +/* 80317E2C 00314D8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80317E30 00314D90 7F C3 F3 78 */ mr r3, r30 +/* 80317E34 00314D94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80317E38 00314D98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80317E3C 00314D9C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80317E40 00314DA0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80317E44 00314DA4 7C 08 03 A6 */ mtlr r0 +/* 80317E48 00314DA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80317E4C 00314DAC 4E 80 00 20 */ blr + +.global GetParticleCountAllInternal__11CElementGenCFv +GetParticleCountAllInternal__11CElementGenCFv: +/* 80317E50 00314DB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80317E54 00314DB4 7C 08 02 A6 */ mflr r0 +/* 80317E58 00314DB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80317E5C 00314DBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80317E60 00314DC0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80317E64 00314DC4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80317E68 00314DC8 93 81 00 10 */ stw r28, 0x10(r1) +/* 80317E6C 00314DCC 7C 7C 1B 78 */ mr r28, r3 +/* 80317E70 00314DD0 83 C3 02 5C */ lwz r30, 0x25c(r3) +/* 80317E74 00314DD4 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 80317E78 00314DD8 48 00 00 38 */ b lbl_80317EB0 +lbl_80317E7C: +/* 80317E7C 00314DDC 83 BF 00 00 */ lwz r29, 0(r31) +/* 80317E80 00314DE0 7F A3 EB 78 */ mr r3, r29 +/* 80317E84 00314DE4 81 9D 00 00 */ lwz r12, 0(r29) +/* 80317E88 00314DE8 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80317E8C 00314DEC 7D 89 03 A6 */ mtctr r12 +/* 80317E90 00314DF0 4E 80 04 21 */ bctrl +/* 80317E94 00314DF4 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 80317E98 00314DF8 28 00 52 54 */ cmplwi r0, 0x5254 +/* 80317E9C 00314DFC 40 82 00 10 */ bne lbl_80317EAC +/* 80317EA0 00314E00 7F A3 EB 78 */ mr r3, r29 +/* 80317EA4 00314E04 48 00 00 49 */ bl GetParticleCountAll__11CElementGenCFv +/* 80317EA8 00314E08 7F DE 1A 14 */ add r30, r30, r3 +lbl_80317EAC: +/* 80317EAC 00314E0C 3B FF 00 04 */ addi r31, r31, 4 +lbl_80317EB0: +/* 80317EB0 00314E10 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 80317EB4 00314E14 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 80317EB8 00314E18 54 00 10 3A */ slwi r0, r0, 2 +/* 80317EBC 00314E1C 7C 03 02 14 */ add r0, r3, r0 +/* 80317EC0 00314E20 7C 1F 00 40 */ cmplw r31, r0 +/* 80317EC4 00314E24 40 82 FF B8 */ bne lbl_80317E7C +/* 80317EC8 00314E28 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80317ECC 00314E2C 7F C3 F3 78 */ mr r3, r30 +/* 80317ED0 00314E30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80317ED4 00314E34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80317ED8 00314E38 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80317EDC 00314E3C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80317EE0 00314E40 7C 08 03 A6 */ mtlr r0 +/* 80317EE4 00314E44 38 21 00 20 */ addi r1, r1, 0x20 +/* 80317EE8 00314E48 4E 80 00 20 */ blr + +.global GetParticleCountAll__11CElementGenCFv +GetParticleCountAll__11CElementGenCFv: +/* 80317EEC 00314E4C 80 63 02 64 */ lwz r3, 0x264(r3) +/* 80317EF0 00314E50 4E 80 00 20 */ blr + +.global RenderModels__11CElementGenFv +RenderModels__11CElementGenFv: +/* 80317EF4 00314E54 94 21 FA C0 */ stwu r1, -0x540(r1) +/* 80317EF8 00314E58 7C 08 02 A6 */ mflr r0 +/* 80317EFC 00314E5C 90 01 05 44 */ stw r0, 0x544(r1) +/* 80317F00 00314E60 DB E1 05 30 */ stfd f31, 0x530(r1) +/* 80317F04 00314E64 F3 E1 05 38 */ psq_st f31, 1336(r1), 0, qr0 +/* 80317F08 00314E68 DB C1 05 20 */ stfd f30, 0x520(r1) +/* 80317F0C 00314E6C F3 C1 05 28 */ psq_st f30, 1320(r1), 0, qr0 +/* 80317F10 00314E70 DB A1 05 10 */ stfd f29, 0x510(r1) +/* 80317F14 00314E74 F3 A1 05 18 */ psq_st f29, 1304(r1), 0, qr0 +/* 80317F18 00314E78 BE 81 04 E0 */ stmw r20, 0x4e0(r1) +/* 80317F1C 00314E7C 38 00 00 00 */ li r0, 0 +/* 80317F20 00314E80 7C 7E 1B 78 */ mr r30, r3 +/* 80317F24 00314E84 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +/* 80317F28 00314E88 88 03 02 6D */ lbz r0, 0x26d(r3) +/* 80317F2C 00314E8C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80317F30 00314E90 41 82 00 10 */ beq lbl_80317F40 +/* 80317F34 00314E94 88 7E 02 74 */ lbz r3, 0x274(r30) +/* 80317F38 00314E98 4B FF 49 99 */ bl SetLightState__9CGraphicsFUc +/* 80317F3C 00314E9C 48 00 00 0C */ b lbl_80317F48 +lbl_80317F40: +/* 80317F40 00314EA0 48 03 20 6D */ bl White__6CColorFv +/* 80317F44 00314EA4 4B FF 40 D9 */ bl SetAmbientColor__9CGraphicsFRC6CColor +lbl_80317F48: +/* 80317F48 00314EA8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80317F4C 00314EAC 38 9E 02 7C */ addi r4, r30, 0x27c +/* 80317F50 00314EB0 3B E0 00 00 */ li r31, 0 +/* 80317F54 00314EB4 4B FF A7 2D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 80317F58 00314EB8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 80317F5C 00314EBC C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80317F60 00314EC0 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80317F64 00314EC4 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 80317F68 00314EC8 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 80317F6C 00314ECC D0 01 01 10 */ stfs f0, 0x110(r1) +/* 80317F70 00314ED0 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80317F74 00314ED4 88 64 00 31 */ lbz r3, 0x31(r4) +/* 80317F78 00314ED8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80317F7C 00314EDC 41 82 02 A8 */ beq lbl_80318224 +/* 80317F80 00314EE0 88 0D A8 B8 */ lbz r0, lbl_805A9478@sda21(r13) +/* 80317F84 00314EE4 3A 80 00 00 */ li r20, 0 +/* 80317F88 00314EE8 28 00 00 00 */ cmplwi r0, 0 +/* 80317F8C 00314EEC 41 82 00 1C */ beq lbl_80317FA8 +/* 80317F90 00314EF0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80317F94 00314EF4 41 82 00 14 */ beq lbl_80317FA8 +/* 80317F98 00314EF8 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80317F9C 00314EFC 28 00 00 00 */ cmplwi r0, 0 +/* 80317FA0 00314F00 41 82 00 08 */ beq lbl_80317FA8 +/* 80317FA4 00314F04 3A 80 00 01 */ li r20, 1 +lbl_80317FA8: +/* 80317FA8 00314F08 88 04 00 31 */ lbz r0, 0x31(r4) +/* 80317FAC 00314F0C 7E 9F A3 78 */ mr r31, r20 +/* 80317FB0 00314F10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80317FB4 00314F14 41 82 00 64 */ beq lbl_80318018 +/* 80317FB8 00314F18 38 60 00 01 */ li r3, 1 +/* 80317FBC 00314F1C 38 80 00 03 */ li r4, 3 +/* 80317FC0 00314F20 38 A0 00 00 */ li r5, 0 +/* 80317FC4 00314F24 4B FF 3A D1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80317FC8 00314F28 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 80317FCC 00314F2C 41 82 00 1C */ beq lbl_80317FE8 +/* 80317FD0 00314F30 38 60 00 01 */ li r3, 1 +/* 80317FD4 00314F34 38 80 00 01 */ li r4, 1 +/* 80317FD8 00314F38 38 A0 00 01 */ li r5, 1 +/* 80317FDC 00314F3C 38 C0 00 00 */ li r6, 0 +/* 80317FE0 00314F40 4B FF 3A 71 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80317FE4 00314F44 48 00 00 70 */ b lbl_80318054 +lbl_80317FE8: +/* 80317FE8 00314F48 38 60 00 01 */ li r3, 1 +/* 80317FEC 00314F4C 38 80 00 04 */ li r4, 4 +/* 80317FF0 00314F50 38 A0 00 01 */ li r5, 1 +/* 80317FF4 00314F54 38 C0 00 00 */ li r6, 0 +/* 80317FF8 00314F58 4B FF 3A 59 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80317FFC 00314F5C 38 60 00 04 */ li r3, 4 +/* 80318000 00314F60 38 80 00 00 */ li r4, 0 +/* 80318004 00314F64 38 A0 00 00 */ li r5, 0 +/* 80318008 00314F68 38 C0 00 07 */ li r6, 7 +/* 8031800C 00314F6C 38 E0 00 00 */ li r7, 0 +/* 80318010 00314F70 4B FF 3A 19 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80318014 00314F74 48 00 00 40 */ b lbl_80318054 +lbl_80318018: +/* 80318018 00314F78 38 60 00 01 */ li r3, 1 +/* 8031801C 00314F7C 38 80 00 03 */ li r4, 3 +/* 80318020 00314F80 38 A0 00 01 */ li r5, 1 +/* 80318024 00314F84 4B FF 3A 71 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80318028 00314F88 38 60 00 01 */ li r3, 1 +/* 8031802C 00314F8C 38 80 00 04 */ li r4, 4 +/* 80318030 00314F90 38 A0 00 05 */ li r5, 5 +/* 80318034 00314F94 38 C0 00 00 */ li r6, 0 +/* 80318038 00314F98 4B FF 3A 19 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031803C 00314F9C 38 60 00 04 */ li r3, 4 +/* 80318040 00314FA0 38 80 00 00 */ li r4, 0 +/* 80318044 00314FA4 38 A0 00 00 */ li r5, 0 +/* 80318048 00314FA8 38 C0 00 07 */ li r6, 7 +/* 8031804C 00314FAC 38 E0 00 00 */ li r7, 0 +/* 80318050 00314FB0 4B FF 39 D9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +lbl_80318054: +/* 80318054 00314FB4 38 60 00 00 */ li r3, 0 +/* 80318058 00314FB8 4B FF 3A 19 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031805C 00314FBC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318060 00314FC0 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80318064 00314FC4 28 04 00 00 */ cmplwi r4, 0 +/* 80318068 00314FC8 41 82 01 A4 */ beq lbl_8031820C +/* 8031806C 00314FCC 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 80318070 00314FD0 38 61 00 BC */ addi r3, r1, 0xbc +/* 80318074 00314FD4 81 84 00 00 */ lwz r12, 0(r4) +/* 80318078 00314FD8 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8031807C 00314FDC 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80318080 00314FE0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318084 00314FE4 7C A5 00 50 */ subf r5, r5, r0 +/* 80318088 00314FE8 7D 89 03 A6 */ mtctr r12 +/* 8031808C 00314FEC 4E 80 04 21 */ bctrl +/* 80318090 00314FF0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80318094 00314FF4 38 81 00 BC */ addi r4, r1, 0xbc +/* 80318098 00314FF8 48 02 8E 11 */ bl __ct__6CTokenFRC6CToken +/* 8031809C 00314FFC 38 61 00 BC */ addi r3, r1, 0xbc +/* 803180A0 00315000 38 80 00 00 */ li r4, 0 +/* 803180A4 00315004 48 02 8D 9D */ bl __dt__6CTokenFv +/* 803180A8 00315008 38 61 00 60 */ addi r3, r1, 0x60 +/* 803180AC 0031500C 48 02 8D 61 */ bl GetObj__6CTokenFv +/* 803180B0 00315010 80 63 00 04 */ lwz r3, 4(r3) +/* 803180B4 00315014 38 80 00 00 */ li r4, 0 +/* 803180B8 00315018 38 A0 00 01 */ li r5, 1 +/* 803180BC 0031501C 4B FF 76 81 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 803180C0 00315020 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 803180C4 00315024 38 60 00 00 */ li r3, 0 +/* 803180C8 00315028 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 803180CC 0031502C 4B FF 21 ED */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 803180D0 00315030 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 803180D4 00315034 41 82 00 D8 */ beq lbl_803181AC +/* 803180D8 00315038 38 60 00 01 */ li r3, 1 +/* 803180DC 0031503C 38 80 00 0F */ li r4, 0xf +/* 803180E0 00315040 38 A0 00 00 */ li r5, 0 +/* 803180E4 00315044 38 C0 00 01 */ li r6, 1 +/* 803180E8 00315048 38 E0 00 0F */ li r7, 0xf +/* 803180EC 0031504C 4B FF 0B 01 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 803180F0 00315050 38 60 00 01 */ li r3, 1 +/* 803180F4 00315054 38 80 00 07 */ li r4, 7 +/* 803180F8 00315058 38 A0 00 04 */ li r5, 4 +/* 803180FC 0031505C 38 C0 00 00 */ li r6, 0 +/* 80318100 00315060 38 E0 00 07 */ li r7, 7 +/* 80318104 00315064 4B FF 0A 91 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80318108 00315068 38 60 00 01 */ li r3, 1 +/* 8031810C 0031506C 4B FE FB 45 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80318110 00315070 38 60 00 01 */ li r3, 1 +/* 80318114 00315074 38 80 00 00 */ li r4, 0 +/* 80318118 00315078 38 A0 00 00 */ li r5, 0 +/* 8031811C 0031507C 38 C0 00 FF */ li r6, 0xff +/* 80318120 00315080 4B FF 08 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80318124 00315084 38 60 00 01 */ li r3, 1 +/* 80318128 00315088 38 80 00 00 */ li r4, 0 +/* 8031812C 0031508C 38 A0 00 01 */ li r5, 1 +/* 80318130 00315090 48 06 37 01 */ bl GXSetTevSwapMode +/* 80318134 00315094 38 60 00 02 */ li r3, 2 +/* 80318138 00315098 4B FF 0B 59 */ bl SetNumTevStages__3CGXFUc +/* 8031813C 0031509C 3C 60 80 3D */ lis r3, lbl_803D78F0@ha +/* 80318140 003150A0 38 63 78 F0 */ addi r3, r3, lbl_803D78F0@l +/* 80318144 003150A4 4B FE FC E5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80318148 003150A8 38 60 00 00 */ li r3, 0 +/* 8031814C 003150AC 38 80 00 00 */ li r4, 0 +/* 80318150 003150B0 38 A0 00 00 */ li r5, 0 +/* 80318154 003150B4 38 C0 00 01 */ li r6, 1 +/* 80318158 003150B8 38 E0 00 00 */ li r7, 0 +/* 8031815C 003150BC 39 00 00 00 */ li r8, 0 +/* 80318160 003150C0 39 20 00 02 */ li r9, 2 +/* 80318164 003150C4 4B FF 0B 69 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80318168 003150C8 38 60 00 01 */ li r3, 1 +/* 8031816C 003150CC 4B FF 0C E5 */ bl SetNumChans__3CGXFUc +/* 80318170 003150D0 38 60 00 00 */ li r3, 0 +/* 80318174 003150D4 38 80 00 01 */ li r4, 1 +/* 80318178 003150D8 38 A0 00 04 */ li r5, 4 +/* 8031817C 003150DC 38 C0 00 3C */ li r6, 0x3c +/* 80318180 003150E0 38 E0 00 00 */ li r7, 0 +/* 80318184 003150E4 39 00 00 7D */ li r8, 0x7d +/* 80318188 003150E8 4B FF 05 45 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8031818C 003150EC 38 60 00 00 */ li r3, 0 +/* 80318190 003150F0 38 80 00 00 */ li r4, 0 +/* 80318194 003150F4 38 A0 00 00 */ li r5, 0 +/* 80318198 003150F8 38 C0 00 04 */ li r6, 4 +/* 8031819C 003150FC 4B FF 07 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 803181A0 00315100 38 60 00 01 */ li r3, 1 +/* 803181A4 00315104 4B FF 0C 71 */ bl SetNumTexGens__3CGXFUc +/* 803181A8 00315108 48 00 00 10 */ b lbl_803181B8 +lbl_803181AC: +/* 803181AC 0031510C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 803181B0 00315110 38 60 00 01 */ li r3, 1 +/* 803181B4 00315114 4B FF 21 05 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_803181B8: +/* 803181B8 00315118 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803181BC 0031511C 38 A1 01 04 */ addi r5, r1, 0x104 +/* 803181C0 00315120 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 803181C4 00315124 80 63 00 40 */ lwz r3, 0x40(r3) +/* 803181C8 00315128 80 84 00 28 */ lwz r4, 0x28(r4) +/* 803181CC 0031512C 81 83 00 00 */ lwz r12, 0(r3) +/* 803181D0 00315130 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 803181D4 00315134 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803181D8 00315138 7C 84 00 50 */ subf r4, r4, r0 +/* 803181DC 0031513C 7D 89 03 A6 */ mtctr r12 +/* 803181E0 00315140 4E 80 04 21 */ bctrl +/* 803181E4 00315144 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803181E8 00315148 80 63 00 40 */ lwz r3, 0x40(r3) +/* 803181EC 0031514C 81 83 00 00 */ lwz r12, 0(r3) +/* 803181F0 00315150 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 803181F4 00315154 7D 89 03 A6 */ mtctr r12 +/* 803181F8 00315158 4E 80 04 21 */ bctrl +/* 803181FC 0031515C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80318200 00315160 38 80 00 00 */ li r4, 0 +/* 80318204 00315164 48 02 8C 3D */ bl __dt__6CTokenFv +/* 80318208 00315168 48 00 00 1C */ b lbl_80318224 +lbl_8031820C: +/* 8031820C 0031516C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318210 00315170 38 60 00 00 */ li r3, 0 +/* 80318214 00315174 4B FF 20 A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318218 00315178 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031821C 0031517C 38 60 00 01 */ li r3, 1 +/* 80318220 00315180 4B FF 20 99 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_80318224: +/* 80318224 00315184 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 80318228 00315188 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8031822C 0031518C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80318230 00315190 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80318234 00315194 38 61 04 A4 */ addi r3, r1, 0x4a4 +/* 80318238 00315198 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 8031823C 0031519C D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 80318240 003151A0 4B FF A9 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80318244 003151A4 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318248 003151A8 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8031824C 003151AC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80318250 003151B0 40 82 00 10 */ bne lbl_80318260 +/* 80318254 003151B4 38 61 04 A4 */ addi r3, r1, 0x4a4 +/* 80318258 003151B8 38 9E 01 D8 */ addi r4, r30, 0x1d8 +/* 8031825C 003151BC 4B FF A8 E5 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80318260: +/* 80318260 003151C0 38 61 03 E4 */ addi r3, r1, 0x3e4 +/* 80318264 003151C4 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318268 003151C8 38 BE 02 2C */ addi r5, r30, 0x22c +/* 8031826C 003151CC 4B FF A6 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318270 003151D0 38 61 04 A4 */ addi r3, r1, 0x4a4 +/* 80318274 003151D4 38 81 03 E4 */ addi r4, r1, 0x3e4 +/* 80318278 003151D8 4B FF A8 C9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031827C 003151DC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318280 003151E0 3B A0 00 00 */ li r29, 0 +/* 80318284 003151E4 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 80318288 003151E8 28 03 00 00 */ cmplwi r3, 0 +/* 8031828C 003151EC 41 82 00 20 */ beq lbl_803182AC +/* 80318290 003151F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80318294 003151F4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318298 003151F8 7D 89 03 A6 */ mtctr r12 +/* 8031829C 003151FC 4E 80 04 21 */ bctrl +/* 803182A0 00315200 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803182A4 00315204 41 82 00 08 */ beq lbl_803182AC +/* 803182A8 00315208 3B A0 00 01 */ li r29, 1 +lbl_803182AC: +/* 803182AC 0031520C 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 803182B0 00315210 38 9E 01 3C */ addi r4, r30, 0x13c +/* 803182B4 00315214 38 BE 01 A8 */ addi r5, r30, 0x1a8 +/* 803182B8 00315218 4B FF A6 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803182BC 0031521C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 803182C0 00315220 38 81 03 B4 */ addi r4, r1, 0x3b4 +/* 803182C4 00315224 38 BE 00 E8 */ addi r5, r30, 0xe8 +/* 803182C8 00315228 4B FF A8 21 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803182CC 0031522C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 803182D0 00315230 C3 E1 00 B0 */ lfs f31, 0xb0(r1) +/* 803182D4 00315234 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 803182D8 00315238 C3 C1 00 B4 */ lfs f30, 0xb4(r1) +/* 803182DC 0031523C C3 A1 00 B8 */ lfs f29, 0xb8(r1) +/* 803182E0 00315240 38 61 04 74 */ addi r3, r1, 0x474 +/* 803182E4 00315244 4B FF A8 91 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 803182E8 00315248 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 803182EC 0031524C 41 82 00 94 */ beq lbl_80318380 +/* 803182F0 00315250 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803182F4 00315254 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 803182F8 00315258 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 803182FC 0031525C D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80318300 00315260 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 80318304 00315264 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318308 00315268 80 9E 00 74 */ lwz r4, 0x74(r30) +/* 8031830C 0031526C 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 80318310 00315270 81 83 00 00 */ lwz r12, 0(r3) +/* 80318314 00315274 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318318 00315278 7D 89 03 A6 */ mtctr r12 +/* 8031831C 0031527C 4E 80 04 21 */ bctrl +/* 80318320 00315280 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318324 00315284 38 61 03 84 */ addi r3, r1, 0x384 +/* 80318328 00315288 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 8031832C 0031528C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80318330 00315290 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318334 00315294 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80318338 00315298 4B FF B4 D9 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8031833C 0031529C 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318340 003152A0 38 81 03 84 */ addi r4, r1, 0x384 +/* 80318344 003152A4 4B FF A7 FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318348 003152A8 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 8031834C 003152AC 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318350 003152B0 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 80318354 003152B4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80318358 003152B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031835C 003152BC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80318360 003152C0 4B FF B2 79 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 80318364 003152C4 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318368 003152C8 38 61 04 74 */ addi r3, r1, 0x474 +/* 8031836C 003152CC C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 80318370 003152D0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80318374 003152D4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318378 003152D8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8031837C 003152DC 4B FF B3 79 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +lbl_80318380: +/* 80318380 003152E0 38 61 03 54 */ addi r3, r1, 0x354 +/* 80318384 003152E4 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318388 003152E8 38 A1 04 74 */ addi r5, r1, 0x474 +/* 8031838C 003152EC 4B FF A5 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318390 003152F0 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318394 003152F4 38 81 03 54 */ addi r4, r1, 0x354 +/* 80318398 003152F8 4B FF A7 A9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031839C 003152FC 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 803183A0 00315300 48 01 23 A9 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 803183A4 00315304 80 1E 03 38 */ lwz r0, 0x338(r30) +/* 803183A8 00315308 3B 60 00 00 */ li r27, 0 +/* 803183AC 0031530C 7F 7A DB 78 */ mr r26, r27 +/* 803183B0 00315310 3B 01 00 54 */ addi r24, r1, 0x54 +/* 803183B4 00315314 90 01 00 24 */ stw r0, 0x24(r1) +/* 803183B8 00315318 7F 79 DB 78 */ mr r25, r27 +/* 803183BC 0031531C 3A E1 00 3C */ addi r23, r1, 0x3c +/* 803183C0 00315320 3A C1 00 2C */ addi r22, r1, 0x2c +/* 803183C4 00315324 3A A0 00 00 */ li r21, 0 +/* 803183C8 00315328 48 00 06 94 */ b lbl_80318A5C +lbl_803183CC: +/* 803183CC 0031532C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 803183D0 00315330 7F 80 DA 14 */ add r28, r0, r27 +/* 803183D4 00315334 80 7C 00 00 */ lwz r3, 0(r28) +/* 803183D8 00315338 2C 03 FF FF */ cmpwi r3, -1 +/* 803183DC 0031533C 41 82 06 70 */ beq lbl_80318A4C +/* 803183E0 00315340 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 803183E4 00315344 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 803183E8 00315348 7C 64 18 50 */ subf r3, r4, r3 +/* 803183EC 0031534C 7C 84 00 50 */ subf r4, r4, r0 +/* 803183F0 00315350 3A 84 FF FF */ addi r20, r4, -1 +/* 803183F4 00315354 48 01 23 85 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 803183F8 00315358 7E 83 A3 78 */ mr r3, r20 +/* 803183FC 0031535C 48 01 22 81 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 80318400 00315360 93 8D A8 EC */ stw r28, lbl_805A94AC@sda21(r13) +/* 80318404 00315364 88 1E 02 6D */ lbz r0, 0x26d(r30) +/* 80318408 00315368 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031840C 0031536C 41 82 00 10 */ beq lbl_8031841C +/* 80318410 00315370 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80318414 00315374 7C 00 D2 14 */ add r0, r0, r26 +/* 80318418 00315378 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +lbl_8031841C: +/* 8031841C 0031537C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318420 00315380 80 63 00 58 */ lwz r3, 0x58(r3) +/* 80318424 00315384 28 03 00 00 */ cmplwi r3, 0 +/* 80318428 00315388 41 82 00 1C */ beq lbl_80318444 +/* 8031842C 0031538C 81 83 00 00 */ lwz r12, 0(r3) +/* 80318430 00315390 7E 84 A3 78 */ mr r4, r20 +/* 80318434 00315394 38 A1 00 EC */ addi r5, r1, 0xec +/* 80318438 00315398 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031843C 0031539C 7D 89 03 A6 */ mtctr r12 +/* 80318440 003153A0 4E 80 04 21 */ bctrl +lbl_80318444: +/* 80318444 003153A4 C0 3C 00 08 */ lfs f1, 8(r28) +/* 80318448 003153A8 38 61 03 24 */ addi r3, r1, 0x324 +/* 8031844C 003153AC C0 9C 00 14 */ lfs f4, 0x14(r28) +/* 80318450 003153B0 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80318454 003153B4 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80318458 003153B8 C0 7C 00 18 */ lfs f3, 0x18(r28) +/* 8031845C 003153BC EC 21 20 28 */ fsubs f1, f1, f4 +/* 80318460 003153C0 C1 1E 00 80 */ lfs f8, 0x80(r30) +/* 80318464 003153C4 EC A0 18 28 */ fsubs f5, f0, f3 +/* 80318468 003153C8 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8031846C 003153CC EC E8 00 72 */ fmuls f7, f8, f1 +/* 80318470 003153D0 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 80318474 003153D4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80318478 003153D8 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8031847C 003153DC EC C8 01 72 */ fmuls f6, f8, f5 +/* 80318480 003153E0 D0 A1 00 88 */ stfs f5, 0x88(r1) +/* 80318484 003153E4 EC 87 20 2A */ fadds f4, f7, f4 +/* 80318488 003153E8 EC 08 00 72 */ fmuls f0, f8, f1 +/* 8031848C 003153EC D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80318490 003153F0 EC 66 18 2A */ fadds f3, f6, f3 +/* 80318494 003153F4 EC BE 20 2A */ fadds f5, f30, f4 +/* 80318498 003153F8 D0 E1 00 90 */ stfs f7, 0x90(r1) +/* 8031849C 003153FC EC 20 10 2A */ fadds f1, f0, f2 +/* 803184A0 00315400 EC 5D 18 2A */ fadds f2, f29, f3 +/* 803184A4 00315404 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 803184A8 00315408 EC 1F 08 2A */ fadds f0, f31, f1 +/* 803184AC 0031540C D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 803184B0 00315410 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 803184B4 00315414 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 803184B8 00315418 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 803184BC 0031541C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 803184C0 00315420 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 803184C4 00315424 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 803184C8 00315428 4B FF AC 79 */ bl Translate__12CTransform4fFRC9CVector3f +/* 803184CC 0031542C 38 61 04 44 */ addi r3, r1, 0x444 +/* 803184D0 00315430 38 81 03 24 */ addi r4, r1, 0x324 +/* 803184D4 00315434 4B FF A6 A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 803184D8 00315438 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803184DC 0031543C 2C 00 00 01 */ cmpwi r0, 1 +/* 803184E0 00315440 40 82 00 8C */ bne lbl_8031856C +/* 803184E4 00315444 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 803184E8 00315448 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803184EC 0031544C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 803184F0 00315450 38 61 04 14 */ addi r3, r1, 0x414 +/* 803184F4 00315454 7C 80 CA 14 */ add r4, r0, r25 +/* 803184F8 00315458 4B FF AD 81 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 803184FC 0031545C 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 80318500 00315460 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318504 00315464 38 A1 04 14 */ addi r5, r1, 0x414 +/* 80318508 00315468 4B FF A4 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031850C 0031546C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80318510 00315470 38 81 02 F4 */ addi r4, r1, 0x2f4 +/* 80318514 00315474 38 A1 00 EC */ addi r5, r1, 0xec +/* 80318518 00315478 4B FF A5 D1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031851C 0031547C C0 21 04 50 */ lfs f1, 0x450(r1) +/* 80318520 00315480 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 80318524 00315484 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80318528 00315488 38 81 04 44 */ addi r4, r1, 0x444 +/* 8031852C 0031548C C0 61 04 60 */ lfs f3, 0x460(r1) +/* 80318530 00315490 38 A1 04 14 */ addi r5, r1, 0x414 +/* 80318534 00315494 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 80318538 00315498 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031853C 0031549C C0 21 04 70 */ lfs f1, 0x470(r1) +/* 80318540 003154A0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80318544 003154A4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80318548 003154A8 D0 81 04 50 */ stfs f4, 0x450(r1) +/* 8031854C 003154AC EC 01 00 2A */ fadds f0, f1, f0 +/* 80318550 003154B0 D0 41 04 60 */ stfs f2, 0x460(r1) +/* 80318554 003154B4 D0 01 04 70 */ stfs f0, 0x470(r1) +/* 80318558 003154B8 4B FF A3 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031855C 003154BC 38 61 04 44 */ addi r3, r1, 0x444 +/* 80318560 003154C0 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 80318564 003154C4 4B FF A5 DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318568 003154C8 48 00 00 44 */ b lbl_803185AC +lbl_8031856C: +/* 8031856C 003154CC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80318570 003154D0 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318574 003154D4 38 A1 00 EC */ addi r5, r1, 0xec +/* 80318578 003154D8 4B FF A5 71 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031857C 003154DC C0 21 04 50 */ lfs f1, 0x450(r1) +/* 80318580 003154E0 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80318584 003154E4 C0 61 04 60 */ lfs f3, 0x460(r1) +/* 80318588 003154E8 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8031858C 003154EC EC 81 00 2A */ fadds f4, f1, f0 +/* 80318590 003154F0 C0 21 04 70 */ lfs f1, 0x470(r1) +/* 80318594 003154F4 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80318598 003154F8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031859C 003154FC D0 81 04 50 */ stfs f4, 0x450(r1) +/* 803185A0 00315500 EC 01 00 2A */ fadds f0, f1, f0 +/* 803185A4 00315504 D0 41 04 60 */ stfs f2, 0x460(r1) +/* 803185A8 00315508 D0 01 04 70 */ stfs f0, 0x470(r1) +lbl_803185AC: +/* 803185AC 0031550C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 803185B0 00315510 41 82 00 24 */ beq lbl_803185D4 +/* 803185B4 00315514 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 803185B8 00315518 38 81 04 44 */ addi r4, r1, 0x444 +/* 803185BC 0031551C 38 A1 04 74 */ addi r5, r1, 0x474 +/* 803185C0 00315520 4B FF A3 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803185C4 00315524 38 61 04 44 */ addi r3, r1, 0x444 +/* 803185C8 00315528 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 803185CC 0031552C 4B FF A5 75 */ bl __as__12CTransform4fFRC12CTransform4f +/* 803185D0 00315530 48 00 00 E8 */ b lbl_803186B8 +lbl_803185D4: +/* 803185D4 00315534 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803185D8 00315538 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 803185DC 0031553C 28 03 00 00 */ cmplwi r3, 0 +/* 803185E0 00315540 41 82 00 BC */ beq lbl_8031869C +/* 803185E4 00315544 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803185E8 00315548 7E 84 A3 78 */ mr r4, r20 +/* 803185EC 0031554C 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 803185F0 00315550 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 803185F4 00315554 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 803185F8 00315558 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 803185FC 0031555C 81 83 00 00 */ lwz r12, 0(r3) +/* 80318600 00315560 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318604 00315564 7D 89 03 A6 */ mtctr r12 +/* 80318608 00315568 4E 80 04 21 */ bctrl +/* 8031860C 0031556C C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318610 00315570 38 61 02 C4 */ addi r3, r1, 0x2c4 +/* 80318614 00315574 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80318618 00315578 38 81 00 14 */ addi r4, r1, 0x14 +/* 8031861C 0031557C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318620 00315580 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80318624 00315584 4B FF B1 ED */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 80318628 00315588 38 61 04 74 */ addi r3, r1, 0x474 +/* 8031862C 0031558C 38 81 02 C4 */ addi r4, r1, 0x2c4 +/* 80318630 00315590 4B FF A5 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318634 00315594 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318638 00315598 38 61 04 74 */ addi r3, r1, 0x474 +/* 8031863C 0031559C C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80318640 003155A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80318644 003155A4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318648 003155A8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8031864C 003155AC 4B FF AF 8D */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 80318650 003155B0 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318654 003155B4 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318658 003155B8 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8031865C 003155BC 38 81 00 0C */ addi r4, r1, 0xc +/* 80318660 003155C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318664 003155C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80318668 003155C8 4B FF B0 8D */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 8031866C 003155CC 38 61 02 94 */ addi r3, r1, 0x294 +/* 80318670 003155D0 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318674 003155D4 38 A1 04 74 */ addi r5, r1, 0x474 +/* 80318678 003155D8 4B FF A2 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031867C 003155DC 38 61 01 74 */ addi r3, r1, 0x174 +/* 80318680 003155E0 38 81 04 44 */ addi r4, r1, 0x444 +/* 80318684 003155E4 38 A1 02 94 */ addi r5, r1, 0x294 +/* 80318688 003155E8 4B FF A2 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031868C 003155EC 38 61 04 44 */ addi r3, r1, 0x444 +/* 80318690 003155F0 38 81 01 74 */ addi r4, r1, 0x174 +/* 80318694 003155F4 4B FF A4 AD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318698 003155F8 48 00 00 20 */ b lbl_803186B8 +lbl_8031869C: +/* 8031869C 003155FC 38 61 01 44 */ addi r3, r1, 0x144 +/* 803186A0 00315600 38 81 04 44 */ addi r4, r1, 0x444 +/* 803186A4 00315604 38 A1 04 74 */ addi r5, r1, 0x474 +/* 803186A8 00315608 4B FF A2 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803186AC 0031560C 38 61 04 44 */ addi r3, r1, 0x444 +/* 803186B0 00315610 38 81 01 44 */ addi r4, r1, 0x144 +/* 803186B4 00315614 4B FF A4 8D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_803186B8: +/* 803186B8 00315618 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803186BC 0031561C 80 63 00 60 */ lwz r3, 0x60(r3) +/* 803186C0 00315620 28 03 00 00 */ cmplwi r3, 0 +/* 803186C4 00315624 41 82 00 5C */ beq lbl_80318720 +/* 803186C8 00315628 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803186CC 0031562C 7E 84 A3 78 */ mr r4, r20 +/* 803186D0 00315630 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 803186D4 00315634 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 803186D8 00315638 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 803186DC 0031563C D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 803186E0 00315640 81 83 00 00 */ lwz r12, 0(r3) +/* 803186E4 00315644 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803186E8 00315648 7D 89 03 A6 */ mtctr r12 +/* 803186EC 0031564C 4E 80 04 21 */ bctrl +/* 803186F0 00315650 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 803186F4 00315654 38 61 02 64 */ addi r3, r1, 0x264 +/* 803186F8 00315658 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 803186FC 0031565C C0 61 00 D0 */ lfs f3, 0xd0(r1) +/* 80318700 00315660 4B FF AB 09 */ bl Scale__12CTransform4fFfff +/* 80318704 00315664 38 61 01 14 */ addi r3, r1, 0x114 +/* 80318708 00315668 38 81 04 44 */ addi r4, r1, 0x444 +/* 8031870C 0031566C 38 A1 02 64 */ addi r5, r1, 0x264 +/* 80318710 00315670 4B FF A2 41 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318714 00315674 38 61 04 44 */ addi r3, r1, 0x444 +/* 80318718 00315678 38 81 01 14 */ addi r4, r1, 0x114 +/* 8031871C 0031567C 4B FF A4 25 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80318720: +/* 80318720 00315680 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318724 00315684 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80318728 00315688 28 03 00 00 */ cmplwi r3, 0 +/* 8031872C 0031568C 41 82 00 34 */ beq lbl_80318760 +/* 80318730 00315690 81 83 00 00 */ lwz r12, 0(r3) +/* 80318734 00315694 7E 84 A3 78 */ mr r4, r20 +/* 80318738 00315698 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8031873C 0031569C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318740 003156A0 7D 89 03 A6 */ mtctr r12 +/* 80318744 003156A4 4E 80 04 21 */ bctrl +/* 80318748 003156A8 38 61 00 08 */ addi r3, r1, 8 +/* 8031874C 003156AC 38 81 00 24 */ addi r4, r1, 0x24 +/* 80318750 003156B0 38 BE 03 38 */ addi r5, r30, 0x338 +/* 80318754 003156B4 48 04 AA 25 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80318758 003156B8 80 01 00 08 */ lwz r0, 8(r1) +/* 8031875C 003156BC 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80318760: +/* 80318760 003156C0 38 61 02 04 */ addi r3, r1, 0x204 +/* 80318764 003156C4 38 9E 01 0C */ addi r4, r30, 0x10c +/* 80318768 003156C8 38 A1 04 44 */ addi r5, r1, 0x444 +/* 8031876C 003156CC 4B FF A1 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318770 003156D0 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318774 003156D4 38 81 02 04 */ addi r4, r1, 0x204 +/* 80318778 003156D8 38 BE 01 78 */ addi r5, r30, 0x178 +/* 8031877C 003156DC 4B FF A1 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318780 003156E0 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318784 003156E4 4B FF 3E 5D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80318788 003156E8 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 8031878C 003156EC 88 64 00 31 */ lbz r3, 0x31(r4) +/* 80318790 003156F0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80318794 003156F4 41 82 01 3C */ beq lbl_803188D0 +/* 80318798 003156F8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8031879C 003156FC 41 82 00 AC */ beq lbl_80318848 +/* 803187A0 00315700 38 60 00 80 */ li r3, 0x80 +/* 803187A4 00315704 38 80 00 00 */ li r4, 0 +/* 803187A8 00315708 38 A0 00 04 */ li r5, 4 +/* 803187AC 0031570C 4B FE FD D9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 803187B0 00315710 C0 62 C9 F8 */ lfs f3, lbl_805AE718@sda21(r2) +/* 803187B4 00315714 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 803187B8 00315718 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 803187BC 0031571C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 803187C0 00315720 C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) +/* 803187C4 00315724 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803187C8 00315728 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 803187CC 0031572C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803187D0 00315730 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 803187D4 00315734 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 803187D8 00315738 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803187DC 0031573C C0 01 01 10 */ lfs f0, 0x110(r1) +/* 803187E0 00315740 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803187E4 00315744 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803187E8 00315748 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803187EC 0031574C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 803187F0 00315750 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 803187F4 00315754 C0 81 01 04 */ lfs f4, 0x104(r1) +/* 803187F8 00315758 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 803187FC 0031575C C0 01 01 10 */ lfs f0, 0x110(r1) +/* 80318800 00315760 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318804 00315764 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80318808 00315768 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031880C 0031576C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80318810 00315770 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 80318814 00315774 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 80318818 00315778 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 8031881C 0031577C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318820 00315780 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 80318824 00315784 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80318828 00315788 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031882C 0031578C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 80318830 00315790 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80318834 00315794 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318838 00315798 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 8031883C 0031579C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318840 003157A0 4B FE FD 41 */ bl End__3CGXFv +/* 80318844 003157A4 48 00 02 08 */ b lbl_80318A4C +lbl_80318848: +/* 80318848 003157A8 38 60 00 80 */ li r3, 0x80 +/* 8031884C 003157AC 4B FF 2E 1D */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 80318850 003157B0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80318854 003157B4 4B FF 2D 19 */ bl StreamColor__9CGraphicsFUi +/* 80318858 003157B8 C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 8031885C 003157BC C0 41 01 10 */ lfs f2, 0x110(r1) +/* 80318860 003157C0 4B FF 2C 05 */ bl StreamTexcoord__9CGraphicsFff +/* 80318864 003157C4 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 80318868 003157C8 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 8031886C 003157CC FC 60 08 90 */ fmr f3, f1 +/* 80318870 003157D0 4B FF 2D C9 */ bl StreamVertex__9CGraphicsFfff +/* 80318874 003157D4 C0 21 01 04 */ lfs f1, 0x104(r1) +/* 80318878 003157D8 C0 41 01 10 */ lfs f2, 0x110(r1) +/* 8031887C 003157DC 4B FF 2B E9 */ bl StreamTexcoord__9CGraphicsFff +/* 80318880 003157E0 C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) +/* 80318884 003157E4 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 80318888 003157E8 C0 62 C9 F8 */ lfs f3, lbl_805AE718@sda21(r2) +/* 8031888C 003157EC 4B FF 2D AD */ bl StreamVertex__9CGraphicsFfff +/* 80318890 003157F0 C0 21 01 04 */ lfs f1, 0x104(r1) +/* 80318894 003157F4 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 80318898 003157F8 4B FF 2B CD */ bl StreamTexcoord__9CGraphicsFff +/* 8031889C 003157FC C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) +/* 803188A0 00315800 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 803188A4 00315804 FC 60 08 90 */ fmr f3, f1 +/* 803188A8 00315808 4B FF 2D 91 */ bl StreamVertex__9CGraphicsFfff +/* 803188AC 0031580C C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 803188B0 00315810 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 803188B4 00315814 4B FF 2B B1 */ bl StreamTexcoord__9CGraphicsFff +/* 803188B8 00315818 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 803188BC 0031581C C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 803188C0 00315820 C0 62 C9 FC */ lfs f3, lbl_805AE71C@sda21(r2) +/* 803188C4 00315824 4B FF 2D 75 */ bl StreamVertex__9CGraphicsFfff +/* 803188C8 00315828 4B FF 2B 49 */ bl StreamEnd__9CGraphicsFv +/* 803188CC 0031582C 48 00 01 80 */ b lbl_80318A4C +lbl_803188D0: +/* 803188D0 00315830 88 0D A8 B9 */ lbz r0, lbl_805A9479@sda21(r13) +/* 803188D4 00315834 83 84 00 50 */ lwz r28, 0x50(r4) +/* 803188D8 00315838 28 00 00 00 */ cmplwi r0, 0 +/* 803188DC 0031583C 41 82 00 6C */ beq lbl_80318948 +/* 803188E0 00315840 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 803188E4 00315844 38 80 00 05 */ li r4, 5 +/* 803188E8 00315848 38 60 00 00 */ li r3, 0 +/* 803188EC 0031584C 38 00 00 03 */ li r0, 3 +/* 803188F0 00315850 FC 40 08 90 */ fmr f2, f1 +/* 803188F4 00315854 98 81 00 50 */ stb r4, 0x50(r1) +/* 803188F8 00315858 FC 60 08 90 */ fmr f3, f1 +/* 803188FC 0031585C C0 82 C9 F8 */ lfs f4, lbl_805AE718@sda21(r2) +/* 80318900 00315860 98 61 00 51 */ stb r3, 0x51(r1) +/* 80318904 00315864 7F 03 C3 78 */ mr r3, r24 +/* 80318908 00315868 B0 01 00 52 */ sth r0, 0x52(r1) +/* 8031890C 0031586C 48 04 AA E1 */ bl __ct__6CColorFffff +/* 80318910 00315870 A0 01 00 52 */ lhz r0, 0x52(r1) +/* 80318914 00315874 7F 83 E3 78 */ mr r3, r28 +/* 80318918 00315878 88 E1 00 50 */ lbz r7, 0x50(r1) +/* 8031891C 0031587C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80318920 00315880 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80318924 00315884 88 C1 00 51 */ lbz r6, 0x51(r1) +/* 80318928 00315888 60 05 00 01 */ ori r5, r0, 1 +/* 8031892C 0031588C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80318930 00315890 98 E1 00 58 */ stb r7, 0x58(r1) +/* 80318934 00315894 98 C1 00 59 */ stb r6, 0x59(r1) +/* 80318938 00315898 B0 A1 00 5A */ sth r5, 0x5a(r1) +/* 8031893C 0031589C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80318940 003158A0 48 03 D2 95 */ bl Draw__6CModelCFRC11CModelFlags +/* 80318944 003158A4 48 00 01 08 */ b lbl_80318A4C +lbl_80318948: +/* 80318948 003158A8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8031894C 003158AC 41 82 00 4C */ beq lbl_80318998 +/* 80318950 003158B0 38 C0 00 03 */ li r6, 3 +/* 80318954 003158B4 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80318958 003158B8 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 8031895C 003158BC 39 00 00 07 */ li r8, 7 +/* 80318960 003158C0 38 E0 00 00 */ li r7, 0 +/* 80318964 003158C4 99 01 00 40 */ stb r8, 0x40(r1) +/* 80318968 003158C8 60 00 00 01 */ ori r0, r0, 1 +/* 8031896C 003158CC 7F 83 E3 78 */ mr r3, r28 +/* 80318970 003158D0 98 E1 00 41 */ stb r7, 0x41(r1) +/* 80318974 003158D4 38 81 00 48 */ addi r4, r1, 0x48 +/* 80318978 003158D8 B0 C1 00 42 */ sth r6, 0x42(r1) +/* 8031897C 003158DC 90 A1 00 44 */ stw r5, 0x44(r1) +/* 80318980 003158E0 99 01 00 48 */ stb r8, 0x48(r1) +/* 80318984 003158E4 98 E1 00 49 */ stb r7, 0x49(r1) +/* 80318988 003158E8 B0 01 00 4A */ sth r0, 0x4a(r1) +/* 8031898C 003158EC 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 80318990 003158F0 48 03 D2 45 */ bl Draw__6CModelCFRC11CModelFlags +/* 80318994 003158F4 48 00 00 B8 */ b lbl_80318A4C +lbl_80318998: +/* 80318998 003158F8 E0 01 A0 27 */ psq_l f0, 39(r1), 1, qr2 +/* 8031899C 003158FC C0 82 C9 EC */ lfs f4, lbl_805AE70C@sda21(r2) +/* 803189A0 00315900 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 803189A4 00315904 EC 04 00 32 */ fmuls f0, f4, f0 +/* 803189A8 00315908 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803189AC 0031590C 40 82 00 3C */ bne lbl_803189E8 +/* 803189B0 00315910 38 80 00 00 */ li r4, 0 +/* 803189B4 00315914 38 00 00 03 */ li r0, 3 +/* 803189B8 00315918 FC 40 08 90 */ fmr f2, f1 +/* 803189BC 0031591C 98 81 00 38 */ stb r4, 0x38(r1) +/* 803189C0 00315920 FC 60 08 90 */ fmr f3, f1 +/* 803189C4 00315924 7E E3 BB 78 */ mr r3, r23 +/* 803189C8 00315928 FC 80 08 90 */ fmr f4, f1 +/* 803189CC 0031592C 98 81 00 39 */ stb r4, 0x39(r1) +/* 803189D0 00315930 B0 01 00 3A */ sth r0, 0x3a(r1) +/* 803189D4 00315934 48 04 AA 19 */ bl __ct__6CColorFffff +/* 803189D8 00315938 7F 83 E3 78 */ mr r3, r28 +/* 803189DC 0031593C 38 81 00 38 */ addi r4, r1, 0x38 +/* 803189E0 00315940 48 03 D1 F5 */ bl Draw__6CModelCFRC11CModelFlags +/* 803189E4 00315944 48 00 00 68 */ b lbl_80318A4C +lbl_803189E8: +/* 803189E8 00315948 E0 01 A0 27 */ psq_l f0, 39(r1), 1, qr2 +/* 803189EC 0031594C 38 60 00 05 */ li r3, 5 +/* 803189F0 00315950 38 80 00 00 */ li r4, 0 +/* 803189F4 00315954 38 00 00 03 */ li r0, 3 +/* 803189F8 00315958 FC 40 08 90 */ fmr f2, f1 +/* 803189FC 0031595C 98 61 00 28 */ stb r3, 0x28(r1) +/* 80318A00 00315960 FC 60 08 90 */ fmr f3, f1 +/* 80318A04 00315964 7E C3 B3 78 */ mr r3, r22 +/* 80318A08 00315968 EC 84 00 32 */ fmuls f4, f4, f0 +/* 80318A0C 0031596C 98 81 00 29 */ stb r4, 0x29(r1) +/* 80318A10 00315970 B0 01 00 2A */ sth r0, 0x2a(r1) +/* 80318A14 00315974 48 04 A9 D9 */ bl __ct__6CColorFffff +/* 80318A18 00315978 A0 01 00 2A */ lhz r0, 0x2a(r1) +/* 80318A1C 0031597C 7F 83 E3 78 */ mr r3, r28 +/* 80318A20 00315980 88 E1 00 28 */ lbz r7, 0x28(r1) +/* 80318A24 00315984 38 81 00 30 */ addi r4, r1, 0x30 +/* 80318A28 00315988 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80318A2C 0031598C 88 C1 00 29 */ lbz r6, 0x29(r1) +/* 80318A30 00315990 60 05 00 01 */ ori r5, r0, 1 +/* 80318A34 00315994 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80318A38 00315998 98 E1 00 30 */ stb r7, 0x30(r1) +/* 80318A3C 0031599C 98 C1 00 31 */ stb r6, 0x31(r1) +/* 80318A40 003159A0 B0 A1 00 32 */ sth r5, 0x32(r1) +/* 80318A44 003159A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80318A48 003159A8 48 03 D1 8D */ bl Draw__6CModelCFRC11CModelFlags +lbl_80318A4C: +/* 80318A4C 003159AC 3B 7B 00 38 */ addi r27, r27, 0x38 +/* 80318A50 003159B0 3B 5A 00 20 */ addi r26, r26, 0x20 +/* 80318A54 003159B4 3B 39 00 24 */ addi r25, r25, 0x24 +/* 80318A58 003159B8 3A B5 00 01 */ addi r21, r21, 1 +lbl_80318A5C: +/* 80318A5C 003159BC 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 80318A60 003159C0 7C 15 00 00 */ cmpw r21, r0 +/* 80318A64 003159C4 41 80 F9 68 */ blt lbl_803183CC +/* 80318A68 003159C8 88 1E 02 6D */ lbz r0, 0x26d(r30) +/* 80318A6C 003159CC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80318A70 003159D0 41 82 00 08 */ beq lbl_80318A78 +/* 80318A74 003159D4 4B FF 3F 09 */ bl DisableAllLights__9CGraphicsFv +lbl_80318A78: +/* 80318A78 003159D8 38 60 00 01 */ li r3, 1 +/* 80318A7C 003159DC 4B FF 2F F5 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80318A80 003159E0 4B FF 04 29 */ bl ResetStates__13CTevCombinersFv +/* 80318A84 003159E4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80318A88 003159E8 41 82 00 14 */ beq lbl_80318A9C +/* 80318A8C 003159EC 38 60 00 01 */ li r3, 1 +/* 80318A90 003159F0 38 80 00 00 */ li r4, 0 +/* 80318A94 003159F4 38 A0 00 00 */ li r5, 0 +/* 80318A98 003159F8 48 06 2D 99 */ bl GXSetTevSwapMode +lbl_80318A9C: +/* 80318A9C 003159FC 38 60 00 07 */ li r3, 7 +/* 80318AA0 00315A00 38 80 00 00 */ li r4, 0 +/* 80318AA4 00315A04 38 A0 00 00 */ li r5, 0 +/* 80318AA8 00315A08 38 C0 00 07 */ li r6, 7 +/* 80318AAC 00315A0C 38 E0 00 00 */ li r7, 0 +/* 80318AB0 00315A10 4B FF 2F 79 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80318AB4 00315A14 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80318AB8 00315A18 38 80 FF FF */ li r4, -1 +/* 80318ABC 00315A1C 4B FF 9B 49 */ bl __dt__13CGlobalRandomFv +/* 80318AC0 00315A20 E3 E1 05 38 */ psq_l f31, 1336(r1), 0, qr0 +/* 80318AC4 00315A24 CB E1 05 30 */ lfd f31, 0x530(r1) +/* 80318AC8 00315A28 E3 C1 05 28 */ psq_l f30, 1320(r1), 0, qr0 +/* 80318ACC 00315A2C CB C1 05 20 */ lfd f30, 0x520(r1) +/* 80318AD0 00315A30 E3 A1 05 18 */ psq_l f29, 1304(r1), 0, qr0 +/* 80318AD4 00315A34 CB A1 05 10 */ lfd f29, 0x510(r1) +/* 80318AD8 00315A38 BA 81 04 E0 */ lmw r20, 0x4e0(r1) +/* 80318ADC 00315A3C 80 01 05 44 */ lwz r0, 0x544(r1) +/* 80318AE0 00315A40 7C 08 03 A6 */ mtlr r0 +/* 80318AE4 00315A44 38 21 05 40 */ addi r1, r1, 0x540 +/* 80318AE8 00315A48 4E 80 00 20 */ blr + +.global RenderLines__11CElementGenFv +RenderLines__11CElementGenFv: +/* 80318AEC 00315A4C 94 21 FD 00 */ stwu r1, -0x300(r1) +/* 80318AF0 00315A50 7C 08 02 A6 */ mflr r0 +/* 80318AF4 00315A54 90 01 03 04 */ stw r0, 0x304(r1) +/* 80318AF8 00315A58 DB E1 02 F0 */ stfd f31, 0x2f0(r1) +/* 80318AFC 00315A5C F3 E1 02 F8 */ psq_st f31, 760(r1), 0, qr0 +/* 80318B00 00315A60 DB C1 02 E0 */ stfd f30, 0x2e0(r1) +/* 80318B04 00315A64 F3 C1 02 E8 */ psq_st f30, 744(r1), 0, qr0 +/* 80318B08 00315A68 DB A1 02 D0 */ stfd f29, 0x2d0(r1) +/* 80318B0C 00315A6C F3 A1 02 D8 */ psq_st f29, 728(r1), 0, qr0 +/* 80318B10 00315A70 DB 81 02 C0 */ stfd f28, 0x2c0(r1) +/* 80318B14 00315A74 F3 81 02 C8 */ psq_st f28, 712(r1), 0, qr0 +/* 80318B18 00315A78 DB 61 02 B0 */ stfd f27, 0x2b0(r1) +/* 80318B1C 00315A7C F3 61 02 B8 */ psq_st f27, 696(r1), 0, qr0 +/* 80318B20 00315A80 DB 41 02 A0 */ stfd f26, 0x2a0(r1) +/* 80318B24 00315A84 F3 41 02 A8 */ psq_st f26, 680(r1), 0, qr0 +/* 80318B28 00315A88 DB 21 02 90 */ stfd f25, 0x290(r1) +/* 80318B2C 00315A8C F3 21 02 98 */ psq_st f25, 664(r1), 0, qr0 +/* 80318B30 00315A90 BF 21 02 74 */ stmw r25, 0x274(r1) +/* 80318B34 00315A94 7C 7C 1B 78 */ mr r28, r3 +/* 80318B38 00315A98 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80318B3C 00315A9C 80 DC 03 38 */ lwz r6, 0x338(r28) +/* 80318B40 00315AA0 38 9C 02 7C */ addi r4, r28, 0x27c +/* 80318B44 00315AA4 20 A6 FF FF */ subfic r5, r6, -1 +/* 80318B48 00315AA8 38 06 00 01 */ addi r0, r6, 1 +/* 80318B4C 00315AAC 7C A0 03 78 */ or r0, r5, r0 +/* 80318B50 00315AB0 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 80318B54 00315AB4 4B FF 9B 2D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 80318B58 00315AB8 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80318B5C 00315ABC 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318B60 00315AC0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80318B64 00315AC4 4B FF A0 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80318B68 00315AC8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80318B6C 00315ACC 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80318B70 00315AD0 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80318B74 00315AD4 38 81 02 34 */ addi r4, r1, 0x234 +/* 80318B78 00315AD8 C0 45 00 00 */ lfs f2, 0(r5) +/* 80318B7C 00315ADC C0 25 00 04 */ lfs f1, 4(r5) +/* 80318B80 00315AE0 C0 05 00 08 */ lfs f0, 8(r5) +/* 80318B84 00315AE4 D0 41 02 40 */ stfs f2, 0x240(r1) +/* 80318B88 00315AE8 D0 21 02 50 */ stfs f1, 0x250(r1) +/* 80318B8C 00315AEC D0 01 02 60 */ stfs f0, 0x260(r1) +/* 80318B90 00315AF0 4B FF A1 0D */ bl GetQuickInverse__12CTransform4fCFv +/* 80318B94 00315AF4 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 80318B98 00315AF8 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 80318B9C 00315AFC 38 BC 02 2C */ addi r5, r28, 0x22c +/* 80318BA0 00315B00 4B FF 9D B1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BA4 00315B04 38 61 02 04 */ addi r3, r1, 0x204 +/* 80318BA8 00315B08 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 80318BAC 00315B0C 4B FF 9F C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80318BB0 00315B10 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 80318BB4 00315B14 38 9C 00 E8 */ addi r4, r28, 0xe8 +/* 80318BB8 00315B18 4B FF A5 89 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80318BBC 00315B1C 38 61 01 14 */ addi r3, r1, 0x114 +/* 80318BC0 00315B20 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 80318BC4 00315B24 38 BC 01 0C */ addi r5, r28, 0x10c +/* 80318BC8 00315B28 4B FF 9D 89 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BCC 00315B2C 38 61 01 44 */ addi r3, r1, 0x144 +/* 80318BD0 00315B30 38 81 01 14 */ addi r4, r1, 0x114 +/* 80318BD4 00315B34 38 A1 02 34 */ addi r5, r1, 0x234 +/* 80318BD8 00315B38 4B FF 9D 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BDC 00315B3C 38 61 01 74 */ addi r3, r1, 0x174 +/* 80318BE0 00315B40 38 81 01 44 */ addi r4, r1, 0x144 +/* 80318BE4 00315B44 38 BC 01 78 */ addi r5, r28, 0x178 +/* 80318BE8 00315B48 4B FF 9D 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BEC 00315B4C 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318BF0 00315B50 38 81 01 74 */ addi r4, r1, 0x174 +/* 80318BF4 00315B54 4B FF 9F 4D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318BF8 00315B58 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318BFC 00315B5C 4B FF 39 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80318C00 00315B60 38 60 00 07 */ li r3, 7 +/* 80318C04 00315B64 38 80 00 00 */ li r4, 0 +/* 80318C08 00315B68 38 A0 00 00 */ li r5, 0 +/* 80318C0C 00315B6C 38 C0 00 07 */ li r6, 7 +/* 80318C10 00315B70 38 E0 00 00 */ li r7, 0 +/* 80318C14 00315B74 4B FF 2E 15 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80318C18 00315B78 88 1C 02 6C */ lbz r0, 0x26c(r28) +/* 80318C1C 00315B7C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80318C20 00315B80 41 82 00 2C */ beq lbl_80318C4C +/* 80318C24 00315B84 38 60 00 01 */ li r3, 1 +/* 80318C28 00315B88 38 80 00 03 */ li r4, 3 +/* 80318C2C 00315B8C 38 A0 00 00 */ li r5, 0 +/* 80318C30 00315B90 4B FF 2E 65 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80318C34 00315B94 38 60 00 01 */ li r3, 1 +/* 80318C38 00315B98 38 80 00 04 */ li r4, 4 +/* 80318C3C 00315B9C 38 A0 00 01 */ li r5, 1 +/* 80318C40 00315BA0 38 C0 00 00 */ li r6, 0 +/* 80318C44 00315BA4 4B FF 2E 0D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80318C48 00315BA8 48 00 00 28 */ b lbl_80318C70 +lbl_80318C4C: +/* 80318C4C 00315BAC 38 60 00 01 */ li r3, 1 +/* 80318C50 00315BB0 38 80 00 03 */ li r4, 3 +/* 80318C54 00315BB4 38 A0 00 01 */ li r5, 1 +/* 80318C58 00315BB8 4B FF 2E 3D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80318C5C 00315BBC 38 60 00 01 */ li r3, 1 +/* 80318C60 00315BC0 38 80 00 04 */ li r4, 4 +/* 80318C64 00315BC4 38 A0 00 05 */ li r5, 5 +/* 80318C68 00315BC8 38 C0 00 00 */ li r6, 0 +/* 80318C6C 00315BCC 4B FF 2D E5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_80318C70: +/* 80318C70 00315BD0 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 80318C74 00315BD4 3B 20 00 01 */ li r25, 1 +/* 80318C78 00315BD8 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80318C7C 00315BDC 3B E0 00 00 */ li r31, 0 +/* 80318C80 00315BE0 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80318C84 00315BE4 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80318C88 00315BE8 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80318C8C 00315BEC D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80318C90 00315BF0 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318C94 00315BF4 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80318C98 00315BF8 28 03 00 00 */ cmplwi r3, 0 +/* 80318C9C 00315BFC 41 82 00 20 */ beq lbl_80318CBC +/* 80318CA0 00315C00 81 83 00 00 */ lwz r12, 0(r3) +/* 80318CA4 00315C04 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318CA8 00315C08 7D 89 03 A6 */ mtctr r12 +/* 80318CAC 00315C0C 4E 80 04 21 */ bctrl +/* 80318CB0 00315C10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80318CB4 00315C14 41 82 00 08 */ beq lbl_80318CBC +/* 80318CB8 00315C18 3B E0 00 01 */ li r31, 1 +lbl_80318CBC: +/* 80318CBC 00315C1C 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318CC0 00315C20 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80318CC4 00315C24 28 04 00 00 */ cmplwi r4, 0 +/* 80318CC8 00315C28 41 82 01 EC */ beq lbl_80318EB4 +/* 80318CCC 00315C2C 80 BC 00 3C */ lwz r5, 0x3c(r28) +/* 80318CD0 00315C30 38 61 00 88 */ addi r3, r1, 0x88 +/* 80318CD4 00315C34 81 84 00 00 */ lwz r12, 0(r4) +/* 80318CD8 00315C38 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 80318CDC 00315C3C 80 1C 00 74 */ lwz r0, 0x74(r28) +/* 80318CE0 00315C40 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318CE4 00315C44 7C A5 00 50 */ subf r5, r5, r0 +/* 80318CE8 00315C48 7D 89 03 A6 */ mtctr r12 +/* 80318CEC 00315C4C 4E 80 04 21 */ bctrl +/* 80318CF0 00315C50 38 61 00 30 */ addi r3, r1, 0x30 +/* 80318CF4 00315C54 38 81 00 88 */ addi r4, r1, 0x88 +/* 80318CF8 00315C58 48 02 81 B1 */ bl __ct__6CTokenFRC6CToken +/* 80318CFC 00315C5C 38 61 00 88 */ addi r3, r1, 0x88 +/* 80318D00 00315C60 38 80 00 00 */ li r4, 0 +/* 80318D04 00315C64 48 02 81 3D */ bl __dt__6CTokenFv +/* 80318D08 00315C68 38 61 00 30 */ addi r3, r1, 0x30 +/* 80318D0C 00315C6C 48 02 81 01 */ bl GetObj__6CTokenFv +/* 80318D10 00315C70 80 63 00 04 */ lwz r3, 4(r3) +/* 80318D14 00315C74 38 80 00 00 */ li r4, 0 +/* 80318D18 00315C78 38 A0 00 01 */ li r5, 1 +/* 80318D1C 00315C7C 4B FF 6A 21 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80318D20 00315C80 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80318D24 00315C84 38 60 00 00 */ li r3, 0 +/* 80318D28 00315C88 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80318D2C 00315C8C 4B FF 15 8D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318D30 00315C90 28 1E 00 00 */ cmplwi r30, 0 +/* 80318D34 00315C94 41 82 01 18 */ beq lbl_80318E4C +/* 80318D38 00315C98 88 0D A8 C5 */ lbz r0, lbl_805A9485@sda21(r13) +/* 80318D3C 00315C9C 7C 00 07 75 */ extsb. r0, r0 +/* 80318D40 00315CA0 40 82 00 F8 */ bne lbl_80318E38 +/* 80318D44 00315CA4 38 00 00 00 */ li r0, 0 +/* 80318D48 00315CA8 38 A0 00 01 */ li r5, 1 +/* 80318D4C 00315CAC 98 A1 00 BC */ stb r5, 0xbc(r1) +/* 80318D50 00315CB0 38 61 00 0C */ addi r3, r1, 0xc +/* 80318D54 00315CB4 38 80 00 07 */ li r4, 7 +/* 80318D58 00315CB8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80318D5C 00315CBC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80318D60 00315CC0 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 80318D64 00315CC4 90 01 00 CC */ stw r0, 0xcc(r1) +/* 80318D68 00315CC8 98 A1 00 D0 */ stb r5, 0xd0(r1) +/* 80318D6C 00315CCC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80318D70 00315CD0 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 80318D74 00315CD4 90 01 00 DC */ stw r0, 0xdc(r1) +/* 80318D78 00315CD8 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80318D7C 00315CDC 4B FF 03 B1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318D80 00315CE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80318D84 00315CE4 38 80 00 05 */ li r4, 5 +/* 80318D88 00315CE8 4B FF 03 A5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318D8C 00315CEC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80318D90 00315CF0 38 80 00 00 */ li r4, 0 +/* 80318D94 00315CF4 4B FF 03 99 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318D98 00315CF8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80318D9C 00315CFC 38 80 00 07 */ li r4, 7 +/* 80318DA0 00315D00 4B FF 03 8D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318DA4 00315D04 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 80318DA8 00315D08 38 61 00 1C */ addi r3, r1, 0x1c +/* 80318DAC 00315D0C 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 80318DB0 00315D10 38 80 00 0F */ li r4, 0xf +/* 80318DB4 00315D14 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80318DB8 00315D18 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80318DBC 00315D1C 90 E1 00 68 */ stw r7, 0x68(r1) +/* 80318DC0 00315D20 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80318DC4 00315D24 90 A1 00 70 */ stw r5, 0x70(r1) +/* 80318DC8 00315D28 90 01 00 74 */ stw r0, 0x74(r1) +/* 80318DCC 00315D2C 4B FF 03 59 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DD0 00315D30 38 61 00 20 */ addi r3, r1, 0x20 +/* 80318DD4 00315D34 38 80 00 0A */ li r4, 0xa +/* 80318DD8 00315D38 4B FF 03 4D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DDC 00315D3C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80318DE0 00315D40 38 80 00 00 */ li r4, 0 +/* 80318DE4 00315D44 4B FF 03 41 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DE8 00315D48 38 61 00 28 */ addi r3, r1, 0x28 +/* 80318DEC 00315D4C 38 80 00 0F */ li r4, 0xf +/* 80318DF0 00315D50 4B FF 03 35 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DF4 00315D54 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 80318DF8 00315D58 3C 60 80 4C */ lis r3, lbl_804BFEB4@ha +/* 80318DFC 00315D5C 81 21 00 24 */ lwz r9, 0x24(r1) +/* 80318E00 00315D60 38 63 FE B4 */ addi r3, r3, lbl_804BFEB4@l +/* 80318E04 00315D64 81 01 00 20 */ lwz r8, 0x20(r1) +/* 80318E08 00315D68 38 81 00 78 */ addi r4, r1, 0x78 +/* 80318E0C 00315D6C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80318E10 00315D70 38 C1 00 D0 */ addi r6, r1, 0xd0 +/* 80318E14 00315D74 90 A1 00 78 */ stw r5, 0x78(r1) +/* 80318E18 00315D78 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80318E1C 00315D7C 38 E1 00 BC */ addi r7, r1, 0xbc +/* 80318E20 00315D80 91 21 00 7C */ stw r9, 0x7c(r1) +/* 80318E24 00315D84 91 01 00 80 */ stw r8, 0x80(r1) +/* 80318E28 00315D88 90 01 00 84 */ stw r0, 0x84(r1) +/* 80318E2C 00315D8C 4B FF 04 29 */ bl sub_80309254 +/* 80318E30 00315D90 38 00 00 01 */ li r0, 1 +/* 80318E34 00315D94 98 0D A8 C5 */ stb r0, lbl_805A9485@sda21(r13) +lbl_80318E38: +/* 80318E38 00315D98 3C 80 80 4C */ lis r4, lbl_804BFEB4@ha +/* 80318E3C 00315D9C 38 60 00 01 */ li r3, 1 +/* 80318E40 00315DA0 38 84 FE B4 */ addi r4, r4, lbl_804BFEB4@l +/* 80318E44 00315DA4 4B FF 14 75 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318E48 00315DA8 48 00 00 10 */ b lbl_80318E58 +lbl_80318E4C: +/* 80318E4C 00315DAC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318E50 00315DB0 38 60 00 01 */ li r3, 1 +/* 80318E54 00315DB4 4B FF 14 65 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_80318E58: +/* 80318E58 00315DB8 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318E5C 00315DBC 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80318E60 00315DC0 80 9C 00 3C */ lwz r4, 0x3c(r28) +/* 80318E64 00315DC4 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80318E68 00315DC8 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80318E6C 00315DCC 81 83 00 00 */ lwz r12, 0(r3) +/* 80318E70 00315DD0 80 1C 00 74 */ lwz r0, 0x74(r28) +/* 80318E74 00315DD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318E78 00315DD8 7C 84 00 50 */ subf r4, r4, r0 +/* 80318E7C 00315DDC 7D 89 03 A6 */ mtctr r12 +/* 80318E80 00315DE0 4E 80 04 21 */ bctrl +/* 80318E84 00315DE4 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318E88 00315DE8 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80318E8C 00315DEC 81 83 00 00 */ lwz r12, 0(r3) +/* 80318E90 00315DF0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80318E94 00315DF4 7D 89 03 A6 */ mtctr r12 +/* 80318E98 00315DF8 4E 80 04 21 */ bctrl +/* 80318E9C 00315DFC 7C 60 1B 78 */ mr r0, r3 +/* 80318EA0 00315E00 38 61 00 30 */ addi r3, r1, 0x30 +/* 80318EA4 00315E04 7C 19 03 78 */ mr r25, r0 +/* 80318EA8 00315E08 38 80 00 00 */ li r4, 0 +/* 80318EAC 00315E0C 48 02 7F 95 */ bl __dt__6CTokenFv +/* 80318EB0 00315E10 48 00 00 1C */ b lbl_80318ECC +lbl_80318EB4: +/* 80318EB4 00315E14 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318EB8 00315E18 38 60 00 00 */ li r3, 0 +/* 80318EBC 00315E1C 4B FF 13 FD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318EC0 00315E20 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318EC4 00315E24 38 60 00 01 */ li r3, 1 +/* 80318EC8 00315E28 4B FF 13 F1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_80318ECC: +/* 80318ECC 00315E2C 3C 60 80 3D */ lis r3, lbl_803D78D0@ha +/* 80318ED0 00315E30 38 63 78 D0 */ addi r3, r3, lbl_803D78D0@l +/* 80318ED4 00315E34 4B FE EF 55 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80318ED8 00315E38 28 1E 00 00 */ cmplwi r30, 0 +/* 80318EDC 00315E3C 41 82 00 50 */ beq lbl_80318F2C +/* 80318EE0 00315E40 38 60 00 02 */ li r3, 2 +/* 80318EE4 00315E44 4B FE FF 6D */ bl SetNumChans__3CGXFUc +/* 80318EE8 00315E48 38 60 00 01 */ li r3, 1 +/* 80318EEC 00315E4C 38 80 00 FF */ li r4, 0xff +/* 80318EF0 00315E50 38 A0 00 FF */ li r5, 0xff +/* 80318EF4 00315E54 38 C0 00 05 */ li r6, 5 +/* 80318EF8 00315E58 4B FE FA 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80318EFC 00315E5C 38 9C 03 38 */ addi r4, r28, 0x338 +/* 80318F00 00315E60 38 60 00 01 */ li r3, 1 +/* 80318F04 00315E64 4B FE FE 59 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 80318F08 00315E68 38 60 00 01 */ li r3, 1 +/* 80318F0C 00315E6C 38 80 00 00 */ li r4, 0 +/* 80318F10 00315E70 38 A0 00 00 */ li r5, 0 +/* 80318F14 00315E74 38 C0 00 00 */ li r6, 0 +/* 80318F18 00315E78 38 E0 00 00 */ li r7, 0 +/* 80318F1C 00315E7C 39 00 00 00 */ li r8, 0 +/* 80318F20 00315E80 39 20 00 02 */ li r9, 2 +/* 80318F24 00315E84 4B FE FD A9 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80318F28 00315E88 48 00 00 0C */ b lbl_80318F34 +lbl_80318F2C: +/* 80318F2C 00315E8C 38 60 00 01 */ li r3, 1 +/* 80318F30 00315E90 4B FE FF 21 */ bl SetNumChans__3CGXFUc +lbl_80318F34: +/* 80318F34 00315E94 38 60 00 01 */ li r3, 1 +/* 80318F38 00315E98 4B FE FE DD */ bl SetNumTexGens__3CGXFUc +/* 80318F3C 00315E9C 38 60 00 00 */ li r3, 0 +/* 80318F40 00315EA0 38 80 00 00 */ li r4, 0 +/* 80318F44 00315EA4 38 A0 00 00 */ li r5, 0 +/* 80318F48 00315EA8 38 C0 00 04 */ li r6, 4 +/* 80318F4C 00315EAC 4B FE FA 01 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80318F50 00315EB0 38 60 00 00 */ li r3, 0 +/* 80318F54 00315EB4 38 80 00 00 */ li r4, 0 +/* 80318F58 00315EB8 38 A0 00 00 */ li r5, 0 +/* 80318F5C 00315EBC 38 C0 00 01 */ li r6, 1 +/* 80318F60 00315EC0 38 E0 00 00 */ li r7, 0 +/* 80318F64 00315EC4 39 00 00 00 */ li r8, 0 +/* 80318F68 00315EC8 39 20 00 02 */ li r9, 2 +/* 80318F6C 00315ECC 4B FE FD 61 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80318F70 00315ED0 38 60 00 00 */ li r3, 0 +/* 80318F74 00315ED4 38 80 00 01 */ li r4, 1 +/* 80318F78 00315ED8 38 A0 00 04 */ li r5, 4 +/* 80318F7C 00315EDC 38 C0 00 3C */ li r6, 0x3c +/* 80318F80 00315EE0 38 E0 00 00 */ li r7, 0 +/* 80318F84 00315EE4 39 00 00 7D */ li r8, 0x7d +/* 80318F88 00315EE8 4B FE F7 45 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80318F8C 00315EEC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80318F90 00315EF0 41 82 00 84 */ beq lbl_80319014 +/* 80318F94 00315EF4 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80318F98 00315EF8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80318F9C 00315EFC 38 80 00 00 */ li r4, 0 +/* 80318FA0 00315F00 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80318FA4 00315F04 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318FA8 00315F08 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80318FAC 00315F0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80318FB0 00315F10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318FB4 00315F14 7D 89 03 A6 */ mtctr r12 +/* 80318FB8 00315F18 4E 80 04 21 */ bctrl +/* 80318FBC 00315F1C C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80318FC0 00315F20 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 80318FC4 00315F24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80318FC8 00315F28 40 80 00 0C */ bge lbl_80318FD4 +/* 80318FCC 00315F2C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80318FD0 00315F30 48 00 00 14 */ b lbl_80318FE4 +lbl_80318FD4: +/* 80318FD4 00315F34 C0 02 CA 00 */ lfs f0, lbl_805AE720@sda21(r2) +/* 80318FD8 00315F38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80318FDC 00315F3C 40 81 00 08 */ ble lbl_80318FE4 +/* 80318FE0 00315F40 D0 01 00 2C */ stfs f0, 0x2c(r1) +lbl_80318FE4: +/* 80318FE4 00315F44 C0 22 CA 04 */ lfs f1, lbl_805AE724@sda21(r2) +/* 80318FE8 00315F48 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80318FEC 00315F4C EF C1 00 32 */ fmuls f30, f1, f0 +/* 80318FF0 00315F50 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 80318FF4 00315F54 38 80 00 00 */ li r4, 0 +/* 80318FF8 00315F58 88 61 00 09 */ lbz r3, 9(r1) +/* 80318FFC 00315F5C 4B FE F4 BD */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 80319000 00315F60 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 80319004 00315F64 38 60 00 A8 */ li r3, 0xa8 +/* 80319008 00315F68 38 80 00 00 */ li r4, 0 +/* 8031900C 00315F6C 54 05 0C 3C */ rlwinm r5, r0, 1, 0x10, 0x1e +/* 80319010 00315F70 4B FE F5 75 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +lbl_80319014: +/* 80319014 00315F74 57 3A 06 3E */ clrlwi r26, r25, 0x18 +/* 80319018 00315F78 57 FB 06 3E */ clrlwi r27, r31, 0x18 +/* 8031901C 00315F7C 3B A0 00 00 */ li r29, 0 +/* 80319020 00315F80 3B C0 00 00 */ li r30, 0 +/* 80319024 00315F84 48 00 02 34 */ b lbl_80319258 +lbl_80319028: +/* 80319028 00315F88 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 8031902C 00315F8C 28 1A 00 00 */ cmplwi r26, 0 +/* 80319030 00315F90 7F 20 F2 14 */ add r25, r0, r30 +/* 80319034 00315F94 40 82 00 2C */ bne lbl_80319060 +/* 80319038 00315F98 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031903C 00315F9C 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80319040 00315FA0 80 99 00 28 */ lwz r4, 0x28(r25) +/* 80319044 00315FA4 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80319048 00315FA8 80 1C 00 74 */ lwz r0, 0x74(r28) +/* 8031904C 00315FAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80319050 00315FB0 7C 84 00 50 */ subf r4, r4, r0 +/* 80319054 00315FB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319058 00315FB8 7D 89 03 A6 */ mtctr r12 +/* 8031905C 00315FBC 4E 80 04 21 */ bctrl +lbl_80319060: +/* 80319060 00315FC0 C0 39 00 08 */ lfs f1, 8(r25) +/* 80319064 00315FC4 C0 19 00 14 */ lfs f0, 0x14(r25) +/* 80319068 00315FC8 C0 79 00 0C */ lfs f3, 0xc(r25) +/* 8031906C 00315FCC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80319070 00315FD0 C0 59 00 18 */ lfs f2, 0x18(r25) +/* 80319074 00315FD4 C0 39 00 04 */ lfs f1, 4(r25) +/* 80319078 00315FD8 C0 19 00 10 */ lfs f0, 0x10(r25) +/* 8031907C 00315FDC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80319080 00315FE0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80319084 00315FE4 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 80319088 00315FE8 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 8031908C 00315FEC D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80319090 00315FF0 88 1C 02 6D */ lbz r0, 0x26d(r28) +/* 80319094 00315FF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80319098 00315FF8 41 82 00 44 */ beq lbl_803190DC +/* 8031909C 00315FFC 38 61 00 94 */ addi r3, r1, 0x94 +/* 803190A0 00316000 4B FF B8 19 */ bl Magnitude__9CVector3fCFv +/* 803190A4 00316004 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803190A8 00316008 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803190AC 0031600C 40 81 00 30 */ ble lbl_803190DC +/* 803190B0 00316010 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 803190B4 00316014 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 803190B8 00316018 EC 60 08 24 */ fdivs f3, f0, f1 +/* 803190BC 0031601C C0 21 00 98 */ lfs f1, 0x98(r1) +/* 803190C0 00316020 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 803190C4 00316024 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 803190C8 00316028 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 803190CC 0031602C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 803190D0 00316030 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 803190D4 00316034 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 803190D8 00316038 D0 01 00 9C */ stfs f0, 0x9c(r1) +lbl_803190DC: +/* 803190DC 0031603C 38 61 00 5C */ addi r3, r1, 0x5c +/* 803190E0 00316040 38 81 02 04 */ addi r4, r1, 0x204 +/* 803190E4 00316044 38 B9 00 04 */ addi r5, r25, 4 +/* 803190E8 00316048 4B FF 9A 01 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803190EC 0031604C C0 79 00 2C */ lfs f3, 0x2c(r25) +/* 803190F0 00316050 38 61 00 50 */ addi r3, r1, 0x50 +/* 803190F4 00316054 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 803190F8 00316058 38 81 02 04 */ addi r4, r1, 0x204 +/* 803190FC 0031605C C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 80319100 00316060 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80319104 00316064 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80319108 00316068 EC A3 00 B2 */ fmuls f5, f3, f2 +/* 8031910C 0031606C EC 83 00 72 */ fmuls f4, f3, f1 +/* 80319110 00316070 C0 59 00 08 */ lfs f2, 8(r25) +/* 80319114 00316074 EC 63 00 32 */ fmuls f3, f3, f0 +/* 80319118 00316078 C0 39 00 0C */ lfs f1, 0xc(r25) +/* 8031911C 0031607C C0 19 00 04 */ lfs f0, 4(r25) +/* 80319120 00316080 EC 42 28 2A */ fadds f2, f2, f5 +/* 80319124 00316084 EC 21 20 2A */ fadds f1, f1, f4 +/* 80319128 00316088 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8031912C 0031608C EC 00 18 2A */ fadds f0, f0, f3 +/* 80319130 00316090 C3 C1 00 5C */ lfs f30, 0x5c(r1) +/* 80319134 00316094 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 80319138 00316098 C3 A1 00 60 */ lfs f29, 0x60(r1) +/* 8031913C 0031609C D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80319140 003160A0 C3 81 00 64 */ lfs f28, 0x64(r1) +/* 80319144 003160A4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80319148 003160A8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8031914C 003160AC D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80319150 003160B0 4B FF 99 99 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80319154 003160B4 28 1B 00 00 */ cmplwi r27, 0 +/* 80319158 003160B8 C3 61 00 50 */ lfs f27, 0x50(r1) +/* 8031915C 003160BC C3 41 00 54 */ lfs f26, 0x54(r1) +/* 80319160 003160C0 C3 21 00 58 */ lfs f25, 0x58(r1) +/* 80319164 003160C4 41 82 00 50 */ beq lbl_803191B4 +/* 80319168 003160C8 80 19 00 34 */ lwz r0, 0x34(r25) +/* 8031916C 003160CC 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 80319170 003160D0 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319174 003160D4 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319178 003160D8 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031917C 003160DC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 80319180 003160E0 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80319184 003160E4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319188 003160E8 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8031918C 003160EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319190 003160F0 D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319194 003160F4 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319198 003160F8 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 8031919C 003160FC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 803191A0 00316100 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 803191A4 00316104 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803191A8 00316108 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 803191AC 0031610C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803191B0 00316110 48 00 00 A0 */ b lbl_80319250 +lbl_803191B4: +/* 803191B4 00316114 C0 39 00 30 */ lfs f1, 0x30(r25) +/* 803191B8 00316118 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803191BC 0031611C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803191C0 00316120 40 80 00 0C */ bge lbl_803191CC +/* 803191C4 00316124 FC 20 00 90 */ fmr f1, f0 +/* 803191C8 00316128 48 00 00 14 */ b lbl_803191DC +lbl_803191CC: +/* 803191CC 0031612C C0 02 CA 00 */ lfs f0, lbl_805AE720@sda21(r2) +/* 803191D0 00316130 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803191D4 00316134 40 81 00 08 */ ble lbl_803191DC +/* 803191D8 00316138 FC 20 00 90 */ fmr f1, f0 +lbl_803191DC: +/* 803191DC 0031613C C0 02 CA 04 */ lfs f0, lbl_805AE724@sda21(r2) +/* 803191E0 00316140 EF E0 00 72 */ fmuls f31, f0, f1 +/* 803191E4 00316144 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 803191E8 00316148 38 80 00 00 */ li r4, 0 +/* 803191EC 0031614C 88 61 00 08 */ lbz r3, 8(r1) +/* 803191F0 00316150 4B FE F2 C9 */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 803191F4 00316154 38 60 00 A8 */ li r3, 0xa8 +/* 803191F8 00316158 38 80 00 00 */ li r4, 0 +/* 803191FC 0031615C 38 A0 00 02 */ li r5, 2 +/* 80319200 00316160 4B FE F3 85 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80319204 00316164 80 19 00 34 */ lwz r0, 0x34(r25) +/* 80319208 00316168 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031920C 0031616C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319210 00316170 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319214 00316174 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 80319218 00316178 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8031921C 0031617C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80319220 00316180 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319224 00316184 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80319228 00316188 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031922C 0031618C D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319230 00316190 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319234 00316194 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 80319238 00316198 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8031923C 0031619C C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80319240 003161A0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319244 003161A4 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80319248 003161A8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031924C 003161AC 4B FE F3 35 */ bl End__3CGXFv +lbl_80319250: +/* 80319250 003161B0 3B DE 00 38 */ addi r30, r30, 0x38 +/* 80319254 003161B4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80319258: +/* 80319258 003161B8 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8031925C 003161BC 7C 1D 00 00 */ cmpw r29, r0 +/* 80319260 003161C0 41 80 FD C8 */ blt lbl_80319028 +/* 80319264 003161C4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80319268 003161C8 41 82 00 08 */ beq lbl_80319270 +/* 8031926C 003161CC 4B FE F3 15 */ bl End__3CGXFv +lbl_80319270: +/* 80319270 003161D0 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 80319274 003161D4 38 60 00 00 */ li r3, 0 +/* 80319278 003161D8 4B FF 21 61 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 8031927C 003161DC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80319280 003161E0 38 80 FF FF */ li r4, -1 +/* 80319284 003161E4 4B FF 93 81 */ bl __dt__13CGlobalRandomFv +/* 80319288 003161E8 E3 E1 02 F8 */ psq_l f31, 760(r1), 0, qr0 +/* 8031928C 003161EC CB E1 02 F0 */ lfd f31, 0x2f0(r1) +/* 80319290 003161F0 E3 C1 02 E8 */ psq_l f30, 744(r1), 0, qr0 +/* 80319294 003161F4 CB C1 02 E0 */ lfd f30, 0x2e0(r1) +/* 80319298 003161F8 E3 A1 02 D8 */ psq_l f29, 728(r1), 0, qr0 +/* 8031929C 003161FC CB A1 02 D0 */ lfd f29, 0x2d0(r1) +/* 803192A0 00316200 E3 81 02 C8 */ psq_l f28, 712(r1), 0, qr0 +/* 803192A4 00316204 CB 81 02 C0 */ lfd f28, 0x2c0(r1) +/* 803192A8 00316208 E3 61 02 B8 */ psq_l f27, 696(r1), 0, qr0 +/* 803192AC 0031620C CB 61 02 B0 */ lfd f27, 0x2b0(r1) +/* 803192B0 00316210 E3 41 02 A8 */ psq_l f26, 680(r1), 0, qr0 +/* 803192B4 00316214 CB 41 02 A0 */ lfd f26, 0x2a0(r1) +/* 803192B8 00316218 E3 21 02 98 */ psq_l f25, 664(r1), 0, qr0 +/* 803192BC 0031621C CB 21 02 90 */ lfd f25, 0x290(r1) +/* 803192C0 00316220 BB 21 02 74 */ lmw r25, 0x274(r1) +/* 803192C4 00316224 80 01 03 04 */ lwz r0, 0x304(r1) +/* 803192C8 00316228 7C 08 03 A6 */ mtlr r0 +/* 803192CC 0031622C 38 21 03 00 */ addi r1, r1, 0x300 +/* 803192D0 00316230 4E 80 00 20 */ blr + +.global RenderParticlesIndirectTexture__11CElementGenFv +RenderParticlesIndirectTexture__11CElementGenFv: +/* 803192D4 00316234 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 803192D8 00316238 7C 08 02 A6 */ mflr r0 +/* 803192DC 0031623C 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 803192E0 00316240 DB E1 03 A0 */ stfd f31, 0x3a0(r1) +/* 803192E4 00316244 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 +/* 803192E8 00316248 DB C1 03 90 */ stfd f30, 0x390(r1) +/* 803192EC 0031624C F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 +/* 803192F0 00316250 DB A1 03 80 */ stfd f29, 0x380(r1) +/* 803192F4 00316254 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 +/* 803192F8 00316258 DB 81 03 70 */ stfd f28, 0x370(r1) +/* 803192FC 0031625C F3 81 03 78 */ psq_st f28, 888(r1), 0, qr0 +/* 80319300 00316260 DB 61 03 60 */ stfd f27, 0x360(r1) +/* 80319304 00316264 F3 61 03 68 */ psq_st f27, 872(r1), 0, qr0 +/* 80319308 00316268 DB 41 03 50 */ stfd f26, 0x350(r1) +/* 8031930C 0031626C F3 41 03 58 */ psq_st f26, 856(r1), 0, qr0 +/* 80319310 00316270 DB 21 03 40 */ stfd f25, 0x340(r1) +/* 80319314 00316274 F3 21 03 48 */ psq_st f25, 840(r1), 0, qr0 +/* 80319318 00316278 DB 01 03 30 */ stfd f24, 0x330(r1) +/* 8031931C 0031627C F3 01 03 38 */ psq_st f24, 824(r1), 0, qr0 +/* 80319320 00316280 DA E1 03 20 */ stfd f23, 0x320(r1) +/* 80319324 00316284 F2 E1 03 28 */ psq_st f23, 808(r1), 0, qr0 +/* 80319328 00316288 DA C1 03 10 */ stfd f22, 0x310(r1) +/* 8031932C 0031628C F2 C1 03 18 */ psq_st f22, 792(r1), 0, qr0 +/* 80319330 00316290 BD C1 02 C8 */ stmw r14, 0x2c8(r1) +/* 80319334 00316294 7C 3F 0B 78 */ mr r31, r1 +/* 80319338 00316298 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8031933C 0031629C 7C 7E 1B 78 */ mr r30, r3 +/* 80319340 003162A0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80319344 003162A4 38 7F 02 8C */ addi r3, r31, 0x28c +/* 80319348 003162A8 4B FF 98 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031934C 003162AC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80319350 003162B0 38 7F 01 FC */ addi r3, r31, 0x1fc +/* 80319354 003162B4 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80319358 003162B8 38 9F 02 8C */ addi r4, r31, 0x28c +/* 8031935C 003162BC C0 45 00 00 */ lfs f2, 0(r5) +/* 80319360 003162C0 C0 25 00 04 */ lfs f1, 4(r5) +/* 80319364 003162C4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80319368 003162C8 D0 5F 02 98 */ stfs f2, 0x298(r31) +/* 8031936C 003162CC D0 3F 02 A8 */ stfs f1, 0x2a8(r31) +/* 80319370 003162D0 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) +/* 80319374 003162D4 4B FF 99 29 */ bl GetQuickInverse__12CTransform4fCFv +/* 80319378 003162D8 38 7F 02 2C */ addi r3, r31, 0x22c +/* 8031937C 003162DC 38 9F 01 FC */ addi r4, r31, 0x1fc +/* 80319380 003162E0 38 BE 02 2C */ addi r5, r30, 0x22c +/* 80319384 003162E4 4B FF 95 CD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80319388 003162E8 38 7F 02 5C */ addi r3, r31, 0x25c +/* 8031938C 003162EC 38 9F 02 2C */ addi r4, r31, 0x22c +/* 80319390 003162F0 4B FF 97 E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319394 003162F4 38 7F 01 3C */ addi r3, r31, 0x13c +/* 80319398 003162F8 38 9E 00 E8 */ addi r4, r30, 0xe8 +/* 8031939C 003162FC 4B FF 9D A5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 803193A0 00316300 38 7F 01 6C */ addi r3, r31, 0x16c +/* 803193A4 00316304 38 9F 01 3C */ addi r4, r31, 0x13c +/* 803193A8 00316308 38 BE 01 0C */ addi r5, r30, 0x10c +/* 803193AC 0031630C 4B FF 95 A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803193B0 00316310 38 7F 01 9C */ addi r3, r31, 0x19c +/* 803193B4 00316314 38 9F 01 6C */ addi r4, r31, 0x16c +/* 803193B8 00316318 38 BF 02 8C */ addi r5, r31, 0x28c +/* 803193BC 0031631C 4B FF 95 95 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803193C0 00316320 38 7F 01 CC */ addi r3, r31, 0x1cc +/* 803193C4 00316324 38 9F 01 9C */ addi r4, r31, 0x19c +/* 803193C8 00316328 38 BE 01 78 */ addi r5, r30, 0x178 +/* 803193CC 0031632C 4B FF 95 85 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803193D0 00316330 38 7F 02 8C */ addi r3, r31, 0x28c +/* 803193D4 00316334 38 9F 01 CC */ addi r4, r31, 0x1cc +/* 803193D8 00316338 4B FF 97 69 */ bl __as__12CTransform4fFRC12CTransform4f +/* 803193DC 0031633C 38 7F 02 8C */ addi r3, r31, 0x28c +/* 803193E0 00316340 4B FF 32 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803193E4 00316344 38 60 00 07 */ li r3, 7 +/* 803193E8 00316348 38 80 00 00 */ li r4, 0 +/* 803193EC 0031634C 38 A0 00 00 */ li r5, 0 +/* 803193F0 00316350 38 C0 00 07 */ li r6, 7 +/* 803193F4 00316354 38 E0 00 00 */ li r7, 0 +/* 803193F8 00316358 4B FE F4 1D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 803193FC 0031635C 88 7E 02 6C */ lbz r3, 0x26c(r30) +/* 80319400 00316360 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80319404 00316364 41 82 00 2C */ beq lbl_80319430 +/* 80319408 00316368 38 60 00 01 */ li r3, 1 +/* 8031940C 0031636C 38 80 00 03 */ li r4, 3 +/* 80319410 00316370 38 A0 00 00 */ li r5, 0 +/* 80319414 00316374 4B FE F4 69 */ bl SetZMode__3CGXFb10_GXCompareb +/* 80319418 00316378 38 60 00 01 */ li r3, 1 +/* 8031941C 0031637C 38 80 00 04 */ li r4, 4 +/* 80319420 00316380 38 A0 00 01 */ li r5, 1 +/* 80319424 00316384 38 C0 00 00 */ li r6, 0 +/* 80319428 00316388 4B FE F4 A9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8031942C 0031638C 48 00 00 28 */ b lbl_80319454 +lbl_80319430: +/* 80319430 00316390 54 65 E7 FE */ rlwinm r5, r3, 0x1c, 0x1f, 0x1f +/* 80319434 00316394 38 60 00 01 */ li r3, 1 +/* 80319438 00316398 38 80 00 03 */ li r4, 3 +/* 8031943C 0031639C 4B FE F4 41 */ bl SetZMode__3CGXFb10_GXCompareb +/* 80319440 003163A0 38 60 00 01 */ li r3, 1 +/* 80319444 003163A4 38 80 00 04 */ li r4, 4 +/* 80319448 003163A8 38 A0 00 05 */ li r5, 5 +/* 8031944C 003163AC 38 C0 00 00 */ li r6, 0 +/* 80319450 003163B0 4B FE F4 81 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +lbl_80319454: +/* 80319454 003163B4 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 80319458 003163B8 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8031945C 003163BC C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80319460 003163C0 D0 3F 00 EC */ stfs f1, 0xec(r31) +/* 80319464 003163C4 D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 80319468 003163C8 D0 3F 00 F0 */ stfs f1, 0xf0(r31) +/* 8031946C 003163CC D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 80319470 003163D0 D0 3F 00 DC */ stfs f1, 0xdc(r31) +/* 80319474 003163D4 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 80319478 003163D8 D0 3F 00 E0 */ stfs f1, 0xe0(r31) +/* 8031947C 003163DC D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 80319480 003163E0 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319484 003163E4 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 80319488 003163E8 80 84 00 40 */ lwz r4, 0x40(r4) +/* 8031948C 003163EC 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 80319490 003163F0 81 84 00 00 */ lwz r12, 0(r4) +/* 80319494 003163F4 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319498 003163F8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031949C 003163FC 7C A5 00 50 */ subf r5, r5, r0 +/* 803194A0 00316400 7D 89 03 A6 */ mtctr r12 +/* 803194A4 00316404 4E 80 04 21 */ bctrl +/* 803194A8 00316408 38 7F 00 2C */ addi r3, r31, 0x2c +/* 803194AC 0031640C 38 9F 00 D0 */ addi r4, r31, 0xd0 +/* 803194B0 00316410 48 02 79 F9 */ bl __ct__6CTokenFRC6CToken +/* 803194B4 00316414 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 803194B8 00316418 38 80 00 00 */ li r4, 0 +/* 803194BC 0031641C 48 02 79 85 */ bl __dt__6CTokenFv +/* 803194C0 00316420 38 7F 00 2C */ addi r3, r31, 0x2c +/* 803194C4 00316424 48 02 79 49 */ bl GetObj__6CTokenFv +/* 803194C8 00316428 80 63 00 04 */ lwz r3, 4(r3) +/* 803194CC 0031642C 38 80 00 00 */ li r4, 0 +/* 803194D0 00316430 38 A0 00 01 */ li r5, 1 +/* 803194D4 00316434 4B FF 62 69 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 803194D8 00316438 38 7F 00 2C */ addi r3, r31, 0x2c +/* 803194DC 0031643C 48 02 79 31 */ bl GetObj__6CTokenFv +/* 803194E0 00316440 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803194E4 00316444 82 63 00 04 */ lwz r19, 4(r3) +/* 803194E8 00316448 80 64 00 40 */ lwz r3, 0x40(r4) +/* 803194EC 0031644C 81 83 00 00 */ lwz r12, 0(r3) +/* 803194F0 00316450 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803194F4 00316454 7D 89 03 A6 */ mtctr r12 +/* 803194F8 00316458 4E 80 04 21 */ bctrl +/* 803194FC 0031645C 80 DE 00 28 */ lwz r6, 0x28(r30) +/* 80319500 00316460 7C 74 1B 78 */ mr r20, r3 +/* 80319504 00316464 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80319508 00316468 38 BF 00 EC */ addi r5, r31, 0xec +/* 8031950C 0031646C 80 66 00 40 */ lwz r3, 0x40(r6) +/* 80319510 00316470 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80319514 00316474 81 83 00 00 */ lwz r12, 0(r3) +/* 80319518 00316478 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031951C 0031647C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319520 00316480 7C 84 00 50 */ subf r4, r4, r0 +/* 80319524 00316484 7D 89 03 A6 */ mtctr r12 +/* 80319528 00316488 4E 80 04 21 */ bctrl +/* 8031952C 0031648C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80319530 00316490 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80319534 00316494 81 83 00 00 */ lwz r12, 0(r3) +/* 80319538 00316498 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031953C 0031649C 7D 89 03 A6 */ mtctr r12 +/* 80319540 003164A0 4E 80 04 21 */ bctrl +/* 80319544 003164A4 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319548 003164A8 7C 70 1B 78 */ mr r16, r3 +/* 8031954C 003164AC 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 80319550 003164B0 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319554 003164B4 80 84 00 44 */ lwz r4, 0x44(r4) +/* 80319558 003164B8 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8031955C 003164BC 81 84 00 00 */ lwz r12, 0(r4) +/* 80319560 003164C0 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319564 003164C4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319568 003164C8 7C A5 00 50 */ subf r5, r5, r0 +/* 8031956C 003164CC 7D 89 03 A6 */ mtctr r12 +/* 80319570 003164D0 4E 80 04 21 */ bctrl +/* 80319574 003164D4 38 7F 00 24 */ addi r3, r31, 0x24 +/* 80319578 003164D8 38 9F 00 C4 */ addi r4, r31, 0xc4 +/* 8031957C 003164DC 48 02 79 2D */ bl __ct__6CTokenFRC6CToken +/* 80319580 003164E0 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319584 003164E4 38 80 00 00 */ li r4, 0 +/* 80319588 003164E8 48 02 78 B9 */ bl __dt__6CTokenFv +/* 8031958C 003164EC 38 7F 00 24 */ addi r3, r31, 0x24 +/* 80319590 003164F0 48 02 78 7D */ bl GetObj__6CTokenFv +/* 80319594 003164F4 80 63 00 04 */ lwz r3, 4(r3) +/* 80319598 003164F8 38 80 00 02 */ li r4, 2 +/* 8031959C 003164FC 38 A0 00 01 */ li r5, 1 +/* 803195A0 00316500 4B FF 61 9D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 803195A4 00316504 38 7F 00 24 */ addi r3, r31, 0x24 +/* 803195A8 00316508 48 02 78 65 */ bl GetObj__6CTokenFv +/* 803195AC 0031650C 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803195B0 00316510 82 43 00 04 */ lwz r18, 4(r3) +/* 803195B4 00316514 80 64 00 44 */ lwz r3, 0x44(r4) +/* 803195B8 00316518 81 83 00 00 */ lwz r12, 0(r3) +/* 803195BC 0031651C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803195C0 00316520 7D 89 03 A6 */ mtctr r12 +/* 803195C4 00316524 4E 80 04 21 */ bctrl +/* 803195C8 00316528 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803195CC 0031652C 7C 6F 1B 78 */ mr r15, r3 +/* 803195D0 00316530 80 64 00 44 */ lwz r3, 0x44(r4) +/* 803195D4 00316534 81 83 00 00 */ lwz r12, 0(r3) +/* 803195D8 00316538 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 803195DC 0031653C 7D 89 03 A6 */ mtctr r12 +/* 803195E0 00316540 4E 80 04 21 */ bctrl +/* 803195E4 00316544 80 DE 00 28 */ lwz r6, 0x28(r30) +/* 803195E8 00316548 7C 6E 1B 78 */ mr r14, r3 +/* 803195EC 0031654C 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 803195F0 00316550 38 BF 00 DC */ addi r5, r31, 0xdc +/* 803195F4 00316554 80 66 00 44 */ lwz r3, 0x44(r6) +/* 803195F8 00316558 80 84 00 28 */ lwz r4, 0x28(r4) +/* 803195FC 0031655C 81 83 00 00 */ lwz r12, 0(r3) +/* 80319600 00316560 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319604 00316564 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319608 00316568 7C 84 00 50 */ subf r4, r4, r0 +/* 8031960C 0031656C 7D 89 03 A6 */ mtctr r12 +/* 80319610 00316570 4E 80 04 21 */ bctrl +/* 80319614 00316574 38 60 00 03 */ li r3, 3 +/* 80319618 00316578 4B FE F7 FD */ bl SetNumTexGens__3CGXFUc +/* 8031961C 0031657C 38 60 00 00 */ li r3, 0 +/* 80319620 00316580 38 80 00 01 */ li r4, 1 +/* 80319624 00316584 38 A0 00 04 */ li r5, 4 +/* 80319628 00316588 38 C0 00 3C */ li r6, 0x3c +/* 8031962C 0031658C 38 E0 00 00 */ li r7, 0 +/* 80319630 00316590 39 00 00 7D */ li r8, 0x7d +/* 80319634 00316594 4B FE F0 99 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80319638 00316598 38 60 00 01 */ li r3, 1 +/* 8031963C 0031659C 38 80 00 01 */ li r4, 1 +/* 80319640 003165A0 38 A0 00 05 */ li r5, 5 +/* 80319644 003165A4 38 C0 00 3C */ li r6, 0x3c +/* 80319648 003165A8 38 E0 00 00 */ li r7, 0 +/* 8031964C 003165AC 39 00 00 7D */ li r8, 0x7d +/* 80319650 003165B0 4B FE F0 7D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80319654 003165B4 38 60 00 02 */ li r3, 2 +/* 80319658 003165B8 38 80 00 01 */ li r4, 1 +/* 8031965C 003165BC 38 A0 00 06 */ li r5, 6 +/* 80319660 003165C0 38 C0 00 3C */ li r6, 0x3c +/* 80319664 003165C4 38 E0 00 00 */ li r7, 0 +/* 80319668 003165C8 39 00 00 7D */ li r8, 0x7d +/* 8031966C 003165CC 4B FE F0 61 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80319670 003165D0 3C 60 80 3D */ lis r3, lbl_803D7888@ha +/* 80319674 003165D4 38 9F 00 FC */ addi r4, r31, 0xfc +/* 80319678 003165D8 39 63 78 88 */ addi r11, r3, lbl_803D7888@l +/* 8031967C 003165DC 38 60 00 01 */ li r3, 1 +/* 80319680 003165E0 81 4B 00 00 */ lwz r10, 0(r11) +/* 80319684 003165E4 38 A0 00 01 */ li r5, 1 +/* 80319688 003165E8 81 2B 00 04 */ lwz r9, 4(r11) +/* 8031968C 003165EC 81 0B 00 08 */ lwz r8, 8(r11) +/* 80319690 003165F0 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 80319694 003165F4 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 80319698 003165F8 80 0B 00 14 */ lwz r0, 0x14(r11) +/* 8031969C 003165FC 91 5F 00 FC */ stw r10, 0xfc(r31) +/* 803196A0 00316600 91 3F 01 00 */ stw r9, 0x100(r31) +/* 803196A4 00316604 91 1F 01 04 */ stw r8, 0x104(r31) +/* 803196A8 00316608 90 FF 01 08 */ stw r7, 0x108(r31) +/* 803196AC 0031660C 90 DF 01 0C */ stw r6, 0x10c(r31) +/* 803196B0 00316610 90 1F 01 10 */ stw r0, 0x110(r31) +/* 803196B4 00316614 48 06 18 15 */ bl GXSetIndTexMtx +/* 803196B8 00316618 38 60 00 00 */ li r3, 0 +/* 803196BC 0031661C 38 80 00 02 */ li r4, 2 +/* 803196C0 00316620 38 A0 00 02 */ li r5, 2 +/* 803196C4 00316624 48 06 1A E1 */ bl GXSetIndTexOrder +/* 803196C8 00316628 38 00 00 00 */ li r0, 0 +/* 803196CC 0031662C 38 60 00 01 */ li r3, 1 +/* 803196D0 00316630 90 01 00 08 */ stw r0, 8(r1) +/* 803196D4 00316634 38 80 00 00 */ li r4, 0 +/* 803196D8 00316638 38 A0 00 00 */ li r5, 0 +/* 803196DC 0031663C 38 C0 00 07 */ li r6, 7 +/* 803196E0 00316640 90 01 00 0C */ stw r0, 0xc(r1) +/* 803196E4 00316644 38 E0 00 01 */ li r7, 1 +/* 803196E8 00316648 39 00 00 00 */ li r8, 0 +/* 803196EC 0031664C 39 20 00 00 */ li r9, 0 +/* 803196F0 00316650 39 40 00 00 */ li r10, 0 +/* 803196F4 00316654 4B FE F0 99 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 803196F8 00316658 38 60 00 01 */ li r3, 1 +/* 803196FC 0031665C 4B FE EF 95 */ bl SetNumIndStages__3CGXFUc +/* 80319700 00316660 38 60 00 00 */ li r3, 0 +/* 80319704 00316664 38 80 00 00 */ li r4, 0 +/* 80319708 00316668 38 A0 00 00 */ li r5, 0 +/* 8031970C 0031666C 38 C0 00 04 */ li r6, 4 +/* 80319710 00316670 4B FE F2 3D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80319714 00316674 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 80319718 00316678 38 60 00 01 */ li r3, 1 +/* 8031971C 0031667C 38 80 00 01 */ li r4, 1 +/* 80319720 00316680 38 C0 00 04 */ li r6, 4 +/* 80319724 00316684 4B FE F2 29 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80319728 00316688 38 60 00 02 */ li r3, 2 +/* 8031972C 0031668C 4B FE F5 65 */ bl SetNumTevStages__3CGXFUc +/* 80319730 00316690 38 60 00 00 */ li r3, 0 +/* 80319734 00316694 38 80 00 00 */ li r4, 0 +/* 80319738 00316698 4B FE F2 65 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8031973C 0031669C 38 60 00 01 */ li r3, 1 +/* 80319740 003166A0 38 80 00 00 */ li r4, 0 +/* 80319744 003166A4 4B FE F2 59 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80319748 003166A8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031974C 003166AC 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80319750 003166B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80319754 003166B4 40 82 00 38 */ bne lbl_8031978C +/* 80319758 003166B8 38 60 00 00 */ li r3, 0 +/* 8031975C 003166BC 38 80 00 0F */ li r4, 0xf +/* 80319760 003166C0 38 A0 00 08 */ li r5, 8 +/* 80319764 003166C4 38 C0 00 0C */ li r6, 0xc +/* 80319768 003166C8 38 E0 00 0F */ li r7, 0xf +/* 8031976C 003166CC 4B FE F4 81 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80319770 003166D0 38 60 00 01 */ li r3, 1 +/* 80319774 003166D4 38 80 00 0F */ li r4, 0xf +/* 80319778 003166D8 38 A0 00 08 */ li r5, 8 +/* 8031977C 003166DC 38 C0 00 0A */ li r6, 0xa +/* 80319780 003166E0 38 E0 00 00 */ li r7, 0 +/* 80319784 003166E4 4B FE F4 69 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80319788 003166E8 48 00 00 34 */ b lbl_803197BC +lbl_8031978C: +/* 8031978C 003166EC 38 60 00 00 */ li r3, 0 +/* 80319790 003166F0 38 80 00 0F */ li r4, 0xf +/* 80319794 003166F4 38 A0 00 08 */ li r5, 8 +/* 80319798 003166F8 38 C0 00 0A */ li r6, 0xa +/* 8031979C 003166FC 38 E0 00 0F */ li r7, 0xf +/* 803197A0 00316700 4B FE F4 4D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 803197A4 00316704 38 60 00 01 */ li r3, 1 +/* 803197A8 00316708 38 80 00 0F */ li r4, 0xf +/* 803197AC 0031670C 38 A0 00 08 */ li r5, 8 +/* 803197B0 00316710 38 C0 00 00 */ li r6, 0 +/* 803197B4 00316714 38 E0 00 0F */ li r7, 0xf +/* 803197B8 00316718 4B FE F4 35 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +lbl_803197BC: +/* 803197BC 0031671C 38 60 00 00 */ li r3, 0 +/* 803197C0 00316720 38 80 00 07 */ li r4, 7 +/* 803197C4 00316724 38 A0 00 04 */ li r5, 4 +/* 803197C8 00316728 38 C0 00 06 */ li r6, 6 +/* 803197CC 0031672C 38 E0 00 07 */ li r7, 7 +/* 803197D0 00316730 4B FE F3 C5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 803197D4 00316734 38 60 00 00 */ li r3, 0 +/* 803197D8 00316738 4B FE E4 79 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803197DC 0031673C 38 60 00 01 */ li r3, 1 +/* 803197E0 00316740 4B FE E4 71 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803197E4 00316744 38 60 00 01 */ li r3, 1 +/* 803197E8 00316748 38 80 00 07 */ li r4, 7 +/* 803197EC 0031674C 38 A0 00 00 */ li r5, 0 +/* 803197F0 00316750 38 C0 00 05 */ li r6, 5 +/* 803197F4 00316754 38 E0 00 07 */ li r7, 7 +/* 803197F8 00316758 4B FE F3 9D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 803197FC 0031675C 38 60 00 01 */ li r3, 1 +/* 80319800 00316760 38 80 00 04 */ li r4, 4 +/* 80319804 00316764 38 A0 00 05 */ li r5, 5 +/* 80319808 00316768 38 C0 00 00 */ li r6, 0 +/* 8031980C 0031676C 4B FE F0 C5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 80319810 00316770 38 60 00 01 */ li r3, 1 +/* 80319814 00316774 4B FE F6 3D */ bl SetNumChans__3CGXFUc +/* 80319818 00316778 38 60 00 00 */ li r3, 0 +/* 8031981C 0031677C 38 80 00 00 */ li r4, 0 +/* 80319820 00316780 38 A0 00 00 */ li r5, 0 +/* 80319824 00316784 38 C0 00 01 */ li r6, 1 +/* 80319828 00316788 38 E0 00 00 */ li r7, 0 +/* 8031982C 0031678C 39 00 00 00 */ li r8, 0 +/* 80319830 00316790 39 20 00 02 */ li r9, 2 +/* 80319834 00316794 4B FE F4 99 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80319838 00316798 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031983C 0031679C 3A A0 00 00 */ li r21, 0 +/* 80319840 003167A0 83 5E 00 34 */ lwz r26, 0x34(r30) +/* 80319844 003167A4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80319848 003167A8 54 11 EF FF */ rlwinm. r17, r0, 0x1d, 0x1f, 0x1f +/* 8031984C 003167AC 41 82 00 F4 */ beq lbl_80319940 +/* 80319850 003167B0 57 43 20 36 */ slwi r3, r26, 4 +/* 80319854 003167B4 80 01 00 00 */ lwz r0, 0(r1) +/* 80319858 003167B8 7E A3 00 D0 */ neg r21, r3 +/* 8031985C 003167BC 56 B5 00 38 */ rlwinm r21, r21, 0, 0, 0x1c +/* 80319860 003167C0 7C 01 A9 6E */ stwux r0, r1, r21 +/* 80319864 003167C4 3B 00 00 00 */ li r24, 0 +/* 80319868 003167C8 3A C0 00 00 */ li r22, 0 +/* 8031986C 003167CC 3A A1 00 10 */ addi r21, r1, 0x10 +/* 80319870 003167D0 7E B7 AB 78 */ mr r23, r21 +/* 80319874 003167D4 48 00 00 A8 */ b lbl_8031991C +lbl_80319878: +/* 80319878 003167D8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031987C 003167DC 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 80319880 003167E0 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 80319884 003167E4 38 9F 02 5C */ addi r4, r31, 0x25c +/* 80319888 003167E8 7C C0 B2 14 */ add r6, r0, r22 +/* 8031988C 003167EC 38 BF 00 AC */ addi r5, r31, 0xac +/* 80319890 003167F0 C0 06 00 08 */ lfs f0, 8(r6) +/* 80319894 003167F4 C0 86 00 14 */ lfs f4, 0x14(r6) +/* 80319898 003167F8 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8031989C 003167FC EC A0 20 28 */ fsubs f5, f0, f4 +/* 803198A0 00316800 C0 66 00 18 */ lfs f3, 0x18(r6) +/* 803198A4 00316804 C0 06 00 04 */ lfs f0, 4(r6) +/* 803198A8 00316808 EC 21 18 28 */ fsubs f1, f1, f3 +/* 803198AC 0031680C C0 46 00 10 */ lfs f2, 0x10(r6) +/* 803198B0 00316810 EC C7 01 72 */ fmuls f6, f7, f5 +/* 803198B4 00316814 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803198B8 00316818 D0 BF 00 98 */ stfs f5, 0x98(r31) +/* 803198BC 0031681C EC A7 00 72 */ fmuls f5, f7, f1 +/* 803198C0 00316820 EC 86 20 2A */ fadds f4, f6, f4 +/* 803198C4 00316824 D0 3F 00 9C */ stfs f1, 0x9c(r31) +/* 803198C8 00316828 EC 27 00 32 */ fmuls f1, f7, f0 +/* 803198CC 0031682C EC 65 18 2A */ fadds f3, f5, f3 +/* 803198D0 00316830 D0 1F 00 94 */ stfs f0, 0x94(r31) +/* 803198D4 00316834 EC 01 10 2A */ fadds f0, f1, f2 +/* 803198D8 00316838 D0 3F 00 A0 */ stfs f1, 0xa0(r31) +/* 803198DC 0031683C D0 DF 00 A4 */ stfs f6, 0xa4(r31) +/* 803198E0 00316840 D0 BF 00 A8 */ stfs f5, 0xa8(r31) +/* 803198E4 00316844 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 803198E8 00316848 D0 9F 00 B0 */ stfs f4, 0xb0(r31) +/* 803198EC 0031684C D0 7F 00 B4 */ stfs f3, 0xb4(r31) +/* 803198F0 00316850 4B FF 91 F9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803198F4 00316854 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 803198F8 00316858 3A D6 00 38 */ addi r22, r22, 0x38 +/* 803198FC 0031685C D0 17 00 04 */ stfs f0, 4(r23) +/* 80319900 00316860 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 80319904 00316864 D0 17 00 08 */ stfs f0, 8(r23) +/* 80319908 00316868 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 8031990C 0031686C D0 17 00 0C */ stfs f0, 0xc(r23) +/* 80319910 00316870 B3 17 00 00 */ sth r24, 0(r23) +/* 80319914 00316874 3A F7 00 10 */ addi r23, r23, 0x10 +/* 80319918 00316878 3B 18 00 01 */ addi r24, r24, 1 +lbl_8031991C: +/* 8031991C 0031687C 7C 18 D0 00 */ cmpw r24, r26 +/* 80319920 00316880 41 80 FF 58 */ blt lbl_80319878 +/* 80319924 00316884 88 8D A8 C4 */ lbz r4, lbl_805A9484@sda21(r13) +/* 80319928 00316888 57 40 20 36 */ slwi r0, r26, 4 +/* 8031992C 0031688C 7E A3 AB 78 */ mr r3, r21 +/* 80319930 00316890 38 BF 00 10 */ addi r5, r31, 0x10 +/* 80319934 00316894 98 9F 00 10 */ stb r4, 0x10(r31) +/* 80319938 00316898 7C 95 02 14 */ add r4, r21, r0 +/* 8031993C 0031689C 48 00 67 A9 */ bl sub_803200e4 +lbl_80319940: +/* 80319940 003168A0 3C 60 80 3D */ lis r3, lbl_803D78A0@ha +/* 80319944 003168A4 38 63 78 A0 */ addi r3, r3, lbl_803D78A0@l +/* 80319948 003168A8 4B FE E4 E1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8031994C 003168AC C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 80319950 003168B0 56 9B 06 3E */ clrlwi r27, r20, 0x18 +/* 80319954 003168B4 56 1D 06 3E */ clrlwi r29, r16, 0x18 +/* 80319958 003168B8 55 FC 06 3E */ clrlwi r28, r15, 0x18 +/* 8031995C 003168BC 55 CE 06 3E */ clrlwi r14, r14, 0x18 +/* 80319960 003168C0 3A 00 00 00 */ li r16, 0 +/* 80319964 003168C4 3A 80 00 00 */ li r20, 0 +/* 80319968 003168C8 48 00 04 38 */ b lbl_80319DA0 +lbl_8031996C: +/* 8031996C 003168CC 28 11 00 00 */ cmplwi r17, 0 +/* 80319970 003168D0 41 82 00 18 */ beq lbl_80319988 +/* 80319974 003168D4 A0 15 00 00 */ lhz r0, 0(r21) +/* 80319978 003168D8 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031997C 003168DC 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 80319980 003168E0 7F 23 02 14 */ add r25, r3, r0 +/* 80319984 003168E4 48 00 00 0C */ b lbl_80319990 +lbl_80319988: +/* 80319988 003168E8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031998C 003168EC 7F 20 A2 14 */ add r25, r0, r20 +lbl_80319990: +/* 80319990 003168F0 C0 59 00 08 */ lfs f2, 8(r25) +/* 80319994 003168F4 38 7F 00 88 */ addi r3, r31, 0x88 +/* 80319998 003168F8 C0 39 00 14 */ lfs f1, 0x14(r25) +/* 8031999C 003168FC 38 9F 02 5C */ addi r4, r31, 0x25c +/* 803199A0 00316900 C0 19 00 0C */ lfs f0, 0xc(r25) +/* 803199A4 00316904 38 BF 00 7C */ addi r5, r31, 0x7c +/* 803199A8 00316908 C0 79 00 18 */ lfs f3, 0x18(r25) +/* 803199AC 0031690C EC A2 08 28 */ fsubs f5, f2, f1 +/* 803199B0 00316910 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 803199B4 00316914 EC 80 18 28 */ fsubs f4, f0, f3 +/* 803199B8 00316918 C0 19 00 04 */ lfs f0, 4(r25) +/* 803199BC 0031691C EC C7 01 72 */ fmuls f6, f7, f5 +/* 803199C0 00316920 C0 59 00 10 */ lfs f2, 0x10(r25) +/* 803199C4 00316924 D0 BF 00 68 */ stfs f5, 0x68(r31) +/* 803199C8 00316928 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803199CC 0031692C EC A7 01 32 */ fmuls f5, f7, f4 +/* 803199D0 00316930 D0 9F 00 6C */ stfs f4, 0x6c(r31) +/* 803199D4 00316934 EC 86 08 2A */ fadds f4, f6, f1 +/* 803199D8 00316938 EC 27 00 32 */ fmuls f1, f7, f0 +/* 803199DC 0031693C D0 1F 00 64 */ stfs f0, 0x64(r31) +/* 803199E0 00316940 EC 65 18 2A */ fadds f3, f5, f3 +/* 803199E4 00316944 D0 DF 00 74 */ stfs f6, 0x74(r31) +/* 803199E8 00316948 EC 01 10 2A */ fadds f0, f1, f2 +/* 803199EC 0031694C D0 3F 00 70 */ stfs f1, 0x70(r31) +/* 803199F0 00316950 D0 BF 00 78 */ stfs f5, 0x78(r31) +/* 803199F4 00316954 D0 1F 00 7C */ stfs f0, 0x7c(r31) +/* 803199F8 00316958 D0 9F 00 80 */ stfs f4, 0x80(r31) +/* 803199FC 0031695C D0 7F 00 84 */ stfs f3, 0x84(r31) +/* 80319A00 00316960 4B FF 90 E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80319A04 00316964 28 1B 00 00 */ cmplwi r27, 0 +/* 80319A08 00316968 C3 DF 00 88 */ lfs f30, 0x88(r31) +/* 80319A0C 0031696C C3 BF 00 8C */ lfs f29, 0x8c(r31) +/* 80319A10 00316970 C3 9F 00 90 */ lfs f28, 0x90(r31) +/* 80319A14 00316974 40 82 00 88 */ bne lbl_80319A9C +/* 80319A18 00316978 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319A1C 0031697C 38 7F 00 58 */ addi r3, r31, 0x58 +/* 80319A20 00316980 80 B9 00 28 */ lwz r5, 0x28(r25) +/* 80319A24 00316984 80 84 00 40 */ lwz r4, 0x40(r4) +/* 80319A28 00316988 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319A2C 0031698C 81 84 00 00 */ lwz r12, 0(r4) +/* 80319A30 00316990 7C A5 00 50 */ subf r5, r5, r0 +/* 80319A34 00316994 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319A38 00316998 7D 89 03 A6 */ mtctr r12 +/* 80319A3C 0031699C 4E 80 04 21 */ bctrl +/* 80319A40 003169A0 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A44 003169A4 38 9F 00 58 */ addi r4, r31, 0x58 +/* 80319A48 003169A8 48 02 74 61 */ bl __ct__6CTokenFRC6CToken +/* 80319A4C 003169AC 38 7F 00 58 */ addi r3, r31, 0x58 +/* 80319A50 003169B0 38 80 00 00 */ li r4, 0 +/* 80319A54 003169B4 48 02 73 ED */ bl __dt__6CTokenFv +/* 80319A58 003169B8 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A5C 003169BC 48 02 73 B1 */ bl GetObj__6CTokenFv +/* 80319A60 003169C0 80 03 00 04 */ lwz r0, 4(r3) +/* 80319A64 003169C4 7C 00 98 40 */ cmplw r0, r19 +/* 80319A68 003169C8 41 82 00 28 */ beq lbl_80319A90 +/* 80319A6C 003169CC 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A70 003169D0 48 02 73 9D */ bl GetObj__6CTokenFv +/* 80319A74 003169D4 80 63 00 04 */ lwz r3, 4(r3) +/* 80319A78 003169D8 38 80 00 00 */ li r4, 0 +/* 80319A7C 003169DC 38 A0 00 01 */ li r5, 1 +/* 80319A80 003169E0 4B FF 5C BD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80319A84 003169E4 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A88 003169E8 48 02 73 85 */ bl GetObj__6CTokenFv +/* 80319A8C 003169EC 82 63 00 04 */ lwz r19, 4(r3) +lbl_80319A90: +/* 80319A90 003169F0 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A94 003169F4 38 80 00 00 */ li r4, 0 +/* 80319A98 003169F8 48 02 73 A9 */ bl __dt__6CTokenFv +lbl_80319A9C: +/* 80319A9C 003169FC 28 1C 00 00 */ cmplwi r28, 0 +/* 80319AA0 00316A00 40 82 00 88 */ bne lbl_80319B28 +/* 80319AA4 00316A04 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319AA8 00316A08 38 7F 00 4C */ addi r3, r31, 0x4c +/* 80319AAC 00316A0C 80 B9 00 28 */ lwz r5, 0x28(r25) +/* 80319AB0 00316A10 80 84 00 44 */ lwz r4, 0x44(r4) +/* 80319AB4 00316A14 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319AB8 00316A18 81 84 00 00 */ lwz r12, 0(r4) +/* 80319ABC 00316A1C 7C A5 00 50 */ subf r5, r5, r0 +/* 80319AC0 00316A20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319AC4 00316A24 7D 89 03 A6 */ mtctr r12 +/* 80319AC8 00316A28 4E 80 04 21 */ bctrl +/* 80319ACC 00316A2C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319AD0 00316A30 38 9F 00 4C */ addi r4, r31, 0x4c +/* 80319AD4 00316A34 48 02 73 D5 */ bl __ct__6CTokenFRC6CToken +/* 80319AD8 00316A38 38 7F 00 4C */ addi r3, r31, 0x4c +/* 80319ADC 00316A3C 38 80 00 00 */ li r4, 0 +/* 80319AE0 00316A40 48 02 73 61 */ bl __dt__6CTokenFv +/* 80319AE4 00316A44 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319AE8 00316A48 48 02 73 25 */ bl GetObj__6CTokenFv +/* 80319AEC 00316A4C 80 03 00 04 */ lwz r0, 4(r3) +/* 80319AF0 00316A50 7C 00 90 40 */ cmplw r0, r18 +/* 80319AF4 00316A54 41 82 00 28 */ beq lbl_80319B1C +/* 80319AF8 00316A58 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319AFC 00316A5C 48 02 73 11 */ bl GetObj__6CTokenFv +/* 80319B00 00316A60 80 63 00 04 */ lwz r3, 4(r3) +/* 80319B04 00316A64 38 80 00 02 */ li r4, 2 +/* 80319B08 00316A68 38 A0 00 01 */ li r5, 1 +/* 80319B0C 00316A6C 4B FF 5C 31 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80319B10 00316A70 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319B14 00316A74 48 02 72 F9 */ bl GetObj__6CTokenFv +/* 80319B18 00316A78 82 43 00 04 */ lwz r18, 4(r3) +lbl_80319B1C: +/* 80319B1C 00316A7C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319B20 00316A80 38 80 00 00 */ li r4, 0 +/* 80319B24 00316A84 48 02 73 1D */ bl __dt__6CTokenFv +lbl_80319B28: +/* 80319B28 00316A88 28 1D 00 00 */ cmplwi r29, 0 +/* 80319B2C 00316A8C 40 82 00 34 */ bne lbl_80319B60 +/* 80319B30 00316A90 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80319B34 00316A94 38 14 00 28 */ addi r0, r20, 0x28 +/* 80319B38 00316A98 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80319B3C 00316A9C 38 BF 00 EC */ addi r5, r31, 0xec +/* 80319B40 00316AA0 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80319B44 00316AA4 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80319B48 00316AA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80319B4C 00316AAC 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319B50 00316AB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319B54 00316AB4 7C 84 00 50 */ subf r4, r4, r0 +/* 80319B58 00316AB8 7D 89 03 A6 */ mtctr r12 +/* 80319B5C 00316ABC 4E 80 04 21 */ bctrl +lbl_80319B60: +/* 80319B60 00316AC0 28 0E 00 00 */ cmplwi r14, 0 +/* 80319B64 00316AC4 40 82 00 34 */ bne lbl_80319B98 +/* 80319B68 00316AC8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80319B6C 00316ACC 38 14 00 28 */ addi r0, r20, 0x28 +/* 80319B70 00316AD0 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80319B74 00316AD4 38 BF 00 DC */ addi r5, r31, 0xdc +/* 80319B78 00316AD8 80 63 00 44 */ lwz r3, 0x44(r3) +/* 80319B7C 00316ADC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80319B80 00316AE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80319B84 00316AE4 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319B88 00316AE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319B8C 00316AEC 7C 84 00 50 */ subf r4, r4, r0 +/* 80319B90 00316AF0 7D 89 03 A6 */ mtctr r12 +/* 80319B94 00316AF4 4E 80 04 21 */ bctrl +lbl_80319B98: +/* 80319B98 00316AF8 C0 19 00 2C */ lfs f0, 0x2c(r25) +/* 80319B9C 00316AFC 38 7F 01 14 */ addi r3, r31, 0x114 +/* 80319BA0 00316B00 38 9F 00 40 */ addi r4, r31, 0x40 +/* 80319BA4 00316B04 38 BF 00 34 */ addi r5, r31, 0x34 +/* 80319BA8 00316B08 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80319BAC 00316B0C D3 BF 00 38 */ stfs f29, 0x38(r31) +/* 80319BB0 00316B10 38 C0 00 07 */ li r6, 7 +/* 80319BB4 00316B14 D3 BF 00 44 */ stfs f29, 0x44(r31) +/* 80319BB8 00316B18 EF 20 F0 2A */ fadds f25, f0, f30 +/* 80319BBC 00316B1C EF 00 E0 2A */ fadds f24, f0, f28 +/* 80319BC0 00316B20 EE FE 00 28 */ fsubs f23, f30, f0 +/* 80319BC4 00316B24 EE DC 00 28 */ fsubs f22, f28, f0 +/* 80319BC8 00316B28 D3 3F 00 34 */ stfs f25, 0x34(r31) +/* 80319BCC 00316B2C D3 1F 00 3C */ stfs f24, 0x3c(r31) +/* 80319BD0 00316B30 D2 FF 00 40 */ stfs f23, 0x40(r31) +/* 80319BD4 00316B34 D2 DF 00 48 */ stfs f22, 0x48(r31) +/* 80319BD8 00316B38 4B FE FC D5 */ bl ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +/* 80319BDC 00316B3C 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 80319BE0 00316B40 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 80319BE4 00316B44 28 00 00 00 */ cmplwi r0, 0 +/* 80319BE8 00316B48 80 1F 01 1C */ lwz r0, 0x11c(r31) +/* 80319BEC 00316B4C 80 BF 01 20 */ lwz r5, 0x120(r31) +/* 80319BF0 00316B50 82 FF 01 24 */ lwz r23, 0x124(r31) +/* 80319BF4 00316B54 82 DF 01 28 */ lwz r22, 0x128(r31) +/* 80319BF8 00316B58 C3 9F 01 2C */ lfs f28, 0x12c(r31) +/* 80319BFC 00316B5C C3 DF 01 30 */ lfs f30, 0x130(r31) +/* 80319C00 00316B60 C3 7F 01 34 */ lfs f27, 0x134(r31) +/* 80319C04 00316B64 C3 5F 01 38 */ lfs f26, 0x138(r31) +/* 80319C08 00316B68 41 82 01 8C */ beq lbl_80319D94 +/* 80319C0C 00316B6C 81 ED A8 28 */ lwz r15, lbl_805A93E8@sda21(r13) +/* 80319C10 00316B70 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80319C14 00316B74 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 80319C18 00316B78 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 80319C1C 00316B7C 56 E6 04 3E */ clrlwi r6, r23, 0x10 +/* 80319C20 00316B80 48 05 F1 95 */ bl GXSetTexCopySrc +/* 80319C24 00316B84 56 C3 04 3E */ clrlwi r3, r22, 0x10 +/* 80319C28 00316B88 56 E4 04 3E */ clrlwi r4, r23, 0x10 +/* 80319C2C 00316B8C 38 A0 00 04 */ li r5, 4 +/* 80319C30 00316B90 38 C0 00 00 */ li r6, 0 +/* 80319C34 00316B94 48 05 F2 4D */ bl GXSetTexCopyDst +/* 80319C38 00316B98 83 0D A8 24 */ lwz r24, lbl_805A93E4@sda21(r13) +/* 80319C3C 00316B9C 56 C3 04 3E */ clrlwi r3, r22, 0x10 +/* 80319C40 00316BA0 56 E4 04 3E */ clrlwi r4, r23, 0x10 +/* 80319C44 00316BA4 38 A0 00 04 */ li r5, 4 +/* 80319C48 00316BA8 38 C0 00 00 */ li r6, 0 +/* 80319C4C 00316BAC 38 E0 00 00 */ li r7, 0 +/* 80319C50 00316BB0 48 05 FF F1 */ bl GXGetTexBufferSize +/* 80319C54 00316BB4 7C 03 C0 40 */ cmplw r3, r24 +/* 80319C58 00316BB8 41 81 01 3C */ bgt lbl_80319D94 +/* 80319C5C 00316BBC 4B FE FB A9 */ bl GetUseVideoFilter__9CGraphicsFv +/* 80319C60 00316BC0 7C 60 1B 78 */ mr r0, r3 +/* 80319C64 00316BC4 38 60 00 00 */ li r3, 0 +/* 80319C68 00316BC8 7C 18 03 78 */ mr r24, r0 +/* 80319C6C 00316BCC 4B FE FB A1 */ bl SetUseVideoFilter__9CGraphicsFb +/* 80319C70 00316BD0 7D E3 7B 78 */ mr r3, r15 +/* 80319C74 00316BD4 38 80 00 00 */ li r4, 0 +/* 80319C78 00316BD8 48 05 F8 BD */ bl GXCopyTex +/* 80319C7C 00316BDC 7F 03 C3 78 */ mr r3, r24 +/* 80319C80 00316BE0 4B FE FB 8D */ bl SetUseVideoFilter__9CGraphicsFb +/* 80319C84 00316BE4 48 05 E8 E1 */ bl GXPixModeSync +/* 80319C88 00316BE8 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 80319C8C 00316BEC 7E C3 B3 78 */ mr r3, r22 +/* 80319C90 00316BF0 7E E4 BB 78 */ mr r4, r23 +/* 80319C94 00316BF4 38 A0 00 04 */ li r5, 4 +/* 80319C98 00316BF8 38 C0 00 00 */ li r6, 0 +/* 80319C9C 00316BFC 4B FF 03 85 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 80319CA0 00316C00 81 F9 00 34 */ lwz r15, 0x34(r25) +/* 80319CA4 00316C04 38 60 00 80 */ li r3, 0x80 +/* 80319CA8 00316C08 38 80 00 00 */ li r4, 0 +/* 80319CAC 00316C0C 38 A0 00 04 */ li r5, 4 +/* 80319CB0 00316C10 4B FE E8 D5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80319CB4 00316C14 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 80319CB8 00316C18 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 80319CBC 00316C1C D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319CC0 00316C20 D3 03 80 00 */ stfs f24, 0xCC008000@l(r3) +/* 80319CC4 00316C24 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319CC8 00316C28 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 80319CCC 00316C2C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CD0 00316C30 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 80319CD4 00316C34 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CD8 00316C38 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319CDC 00316C3C D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319CE0 00316C40 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 80319CE4 00316C44 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CE8 00316C48 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80319CEC 00316C4C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CF0 00316C50 D2 E3 80 00 */ stfs f23, 0xCC008000@l(r3) +/* 80319CF4 00316C54 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319CF8 00316C58 D3 03 80 00 */ stfs f24, 0xCC008000@l(r3) +/* 80319CFC 00316C5C 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319D00 00316C60 C0 3F 00 EC */ lfs f1, 0xec(r31) +/* 80319D04 00316C64 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80319D08 00316C68 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 80319D0C 00316C6C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D10 00316C70 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 80319D14 00316C74 D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319D18 00316C78 C0 5F 00 DC */ lfs f2, 0xdc(r31) +/* 80319D1C 00316C7C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80319D20 00316C80 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80319D24 00316C84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D28 00316C88 D2 E3 80 00 */ stfs f23, 0xCC008000@l(r3) +/* 80319D2C 00316C8C D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319D30 00316C90 D2 C3 80 00 */ stfs f22, 0xCC008000@l(r3) +/* 80319D34 00316C94 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319D38 00316C98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80319D3C 00316C9C C0 1F 00 F0 */ lfs f0, 0xf0(r31) +/* 80319D40 00316CA0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D44 00316CA4 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 80319D48 00316CA8 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319D4C 00316CAC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80319D50 00316CB0 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 80319D54 00316CB4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D58 00316CB8 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 80319D5C 00316CBC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319D60 00316CC0 D2 C3 80 00 */ stfs f22, 0xCC008000@l(r3) +/* 80319D64 00316CC4 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319D68 00316CC8 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 80319D6C 00316CCC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D70 00316CD0 C0 1F 00 F0 */ lfs f0, 0xf0(r31) +/* 80319D74 00316CD4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D78 00316CD8 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319D7C 00316CDC D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319D80 00316CE0 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 80319D84 00316CE4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D88 00316CE8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 80319D8C 00316CEC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D90 00316CF0 4B FE E7 F1 */ bl End__3CGXFv +lbl_80319D94: +/* 80319D94 00316CF4 3A B5 00 10 */ addi r21, r21, 0x10 +/* 80319D98 00316CF8 3A 94 00 38 */ addi r20, r20, 0x38 +/* 80319D9C 00316CFC 3A 10 00 01 */ addi r16, r16, 1 +lbl_80319DA0: +/* 80319DA0 00316D00 7C 10 D0 00 */ cmpw r16, r26 +/* 80319DA4 00316D04 41 80 FB C8 */ blt lbl_8031996C +/* 80319DA8 00316D08 38 60 00 00 */ li r3, 0 +/* 80319DAC 00316D0C 4B FE E8 E5 */ bl SetNumIndStages__3CGXFUc +/* 80319DB0 00316D10 38 60 00 01 */ li r3, 1 +/* 80319DB4 00316D14 4B FE E9 91 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80319DB8 00316D18 38 7F 00 24 */ addi r3, r31, 0x24 +/* 80319DBC 00316D1C 38 80 00 00 */ li r4, 0 +/* 80319DC0 00316D20 48 02 70 81 */ bl __dt__6CTokenFv +/* 80319DC4 00316D24 38 7F 00 2C */ addi r3, r31, 0x2c +/* 80319DC8 00316D28 38 80 00 00 */ li r4, 0 +/* 80319DCC 00316D2C 48 02 70 75 */ bl __dt__6CTokenFv +/* 80319DD0 00316D30 7F EA FB 78 */ mr r10, r31 +/* 80319DD4 00316D34 E3 EA 03 A8 */ psq_l f31, 936(r10), 0, qr0 +/* 80319DD8 00316D38 CB FF 03 A0 */ lfd f31, 0x3a0(r31) +/* 80319DDC 00316D3C E3 CA 03 98 */ psq_l f30, 920(r10), 0, qr0 +/* 80319DE0 00316D40 CB DF 03 90 */ lfd f30, 0x390(r31) +/* 80319DE4 00316D44 E3 AA 03 88 */ psq_l f29, 904(r10), 0, qr0 +/* 80319DE8 00316D48 CB BF 03 80 */ lfd f29, 0x380(r31) +/* 80319DEC 00316D4C E3 8A 03 78 */ psq_l f28, 888(r10), 0, qr0 +/* 80319DF0 00316D50 CB 9F 03 70 */ lfd f28, 0x370(r31) +/* 80319DF4 00316D54 E3 6A 03 68 */ psq_l f27, 872(r10), 0, qr0 +/* 80319DF8 00316D58 CB 7F 03 60 */ lfd f27, 0x360(r31) +/* 80319DFC 00316D5C E3 4A 03 58 */ psq_l f26, 856(r10), 0, qr0 +/* 80319E00 00316D60 CB 5F 03 50 */ lfd f26, 0x350(r31) +/* 80319E04 00316D64 E3 2A 03 48 */ psq_l f25, 840(r10), 0, qr0 +/* 80319E08 00316D68 CB 3F 03 40 */ lfd f25, 0x340(r31) +/* 80319E0C 00316D6C E3 0A 03 38 */ psq_l f24, 824(r10), 0, qr0 +/* 80319E10 00316D70 CB 1F 03 30 */ lfd f24, 0x330(r31) +/* 80319E14 00316D74 E2 EA 03 28 */ psq_l f23, 808(r10), 0, qr0 +/* 80319E18 00316D78 CA FF 03 20 */ lfd f23, 0x320(r31) +/* 80319E1C 00316D7C E2 CA 03 18 */ psq_l f22, 792(r10), 0, qr0 +/* 80319E20 00316D80 CA DF 03 10 */ lfd f22, 0x310(r31) +/* 80319E24 00316D84 B9 CA 02 C8 */ lmw r14, 0x2c8(r10) +/* 80319E28 00316D88 81 41 00 00 */ lwz r10, 0(r1) +/* 80319E2C 00316D8C 80 0A 00 04 */ lwz r0, 4(r10) +/* 80319E30 00316D90 7D 41 53 78 */ mr r1, r10 +/* 80319E34 00316D94 7C 08 03 A6 */ mtlr r0 +/* 80319E38 00316D98 4E 80 00 20 */ blr + +.global sub_80319e3c +sub_80319e3c: +/* 80319E3C 00316D9C 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 80319E40 00316DA0 7C 08 02 A6 */ mflr r0 +/* 80319E44 00316DA4 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80319E48 00316DA8 DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 80319E4C 00316DAC F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 80319E50 00316DB0 DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 80319E54 00316DB4 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 80319E58 00316DB8 DB A1 01 90 */ stfd f29, 0x190(r1) +/* 80319E5C 00316DBC F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 +/* 80319E60 00316DC0 DB 81 01 80 */ stfd f28, 0x180(r1) +/* 80319E64 00316DC4 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 +/* 80319E68 00316DC8 DB 61 01 70 */ stfd f27, 0x170(r1) +/* 80319E6C 00316DCC F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 +/* 80319E70 00316DD0 BE 01 01 30 */ stmw r16, 0x130(r1) +/* 80319E74 00316DD4 7C 3F 0B 78 */ mr r31, r1 +/* 80319E78 00316DD8 3C A0 80 5A */ lis r5, lbl_805A61D4@ha +/* 80319E7C 00316DDC 7C 7E 1B 78 */ mr r30, r3 +/* 80319E80 00316DE0 38 05 61 D4 */ addi r0, r5, lbl_805A61D4@l +/* 80319E84 00316DE4 7C 93 23 78 */ mr r19, r4 +/* 80319E88 00316DE8 7C 04 03 78 */ mr r4, r0 +/* 80319E8C 00316DEC 38 7F 00 F4 */ addi r3, r31, 0xf4 +/* 80319E90 00316DF0 4B FF 8C E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319E94 00316DF4 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319E98 00316DF8 38 9F 00 F4 */ addi r4, r31, 0xf4 +/* 80319E9C 00316DFC 4B FF 8C D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319EA0 00316E00 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80319EA4 00316E04 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80319EA8 00316E08 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80319EAC 00316E0C 38 9F 00 C4 */ addi r4, r31, 0xc4 +/* 80319EB0 00316E10 C0 45 00 00 */ lfs f2, 0(r5) +/* 80319EB4 00316E14 C0 25 00 04 */ lfs f1, 4(r5) +/* 80319EB8 00316E18 C0 05 00 08 */ lfs f0, 8(r5) +/* 80319EBC 00316E1C D0 5F 00 D0 */ stfs f2, 0xd0(r31) +/* 80319EC0 00316E20 D0 3F 00 E0 */ stfs f1, 0xe0(r31) +/* 80319EC4 00316E24 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 80319EC8 00316E28 4B FF 8D D5 */ bl GetQuickInverse__12CTransform4fCFv +/* 80319ECC 00316E2C 38 7F 00 94 */ addi r3, r31, 0x94 +/* 80319ED0 00316E30 38 9F 00 64 */ addi r4, r31, 0x64 +/* 80319ED4 00316E34 4B FF 8C A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319ED8 00316E38 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319EDC 00316E3C 4B FF 27 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80319EE0 00316E40 38 60 00 00 */ li r3, 0 +/* 80319EE4 00316E44 4B FF 1B 8D */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80319EE8 00316E48 38 60 00 01 */ li r3, 1 +/* 80319EEC 00316E4C 38 80 00 03 */ li r4, 3 +/* 80319EF0 00316E50 38 A0 00 00 */ li r5, 0 +/* 80319EF4 00316E54 4B FF 1B A1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80319EF8 00316E58 38 60 00 04 */ li r3, 4 +/* 80319EFC 00316E5C 38 80 00 00 */ li r4, 0 +/* 80319F00 00316E60 38 A0 00 00 */ li r5, 0 +/* 80319F04 00316E64 38 C0 00 07 */ li r6, 7 +/* 80319F08 00316E68 38 E0 00 00 */ li r7, 0 +/* 80319F0C 00316E6C 4B FF 1B 1D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80319F10 00316E70 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80319F14 00316E74 38 60 00 00 */ li r3, 0 +/* 80319F18 00316E78 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80319F1C 00316E7C 4B FF 03 9D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80319F20 00316E80 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80319F24 00316E84 38 60 00 01 */ li r3, 1 +/* 80319F28 00316E88 4B FF 03 91 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80319F2C 00316E8C 8B AD A8 B8 */ lbz r29, lbl_805A9478@sda21(r13) +/* 80319F30 00316E90 7F D0 F3 78 */ mr r16, r30 +/* 80319F34 00316E94 3A 20 00 00 */ li r17, 0 +/* 80319F38 00316E98 48 00 00 4C */ b lbl_80319F84 +lbl_80319F3C: +/* 80319F3C 00316E9C 80 90 00 00 */ lwz r4, 0(r16) +/* 80319F40 00316EA0 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80319F44 00316EA4 38 A0 00 00 */ li r5, 0 +/* 80319F48 00316EA8 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80319F4C 00316EAC 80 84 00 40 */ lwz r4, 0x40(r4) +/* 80319F50 00316EB0 81 84 00 00 */ lwz r12, 0(r4) +/* 80319F54 00316EB4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319F58 00316EB8 7D 89 03 A6 */ mtctr r12 +/* 80319F5C 00316EBC 4E 80 04 21 */ bctrl +/* 80319F60 00316EC0 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 80319F64 00316EC4 7E 24 8B 78 */ mr r4, r17 +/* 80319F68 00316EC8 38 A0 00 01 */ li r5, 1 +/* 80319F6C 00316ECC 4B FF 57 D1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80319F70 00316ED0 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80319F74 00316ED4 38 80 00 00 */ li r4, 0 +/* 80319F78 00316ED8 48 02 6E C9 */ bl __dt__6CTokenFv +/* 80319F7C 00316EDC 3A 10 00 04 */ addi r16, r16, 4 +/* 80319F80 00316EE0 3A 31 00 01 */ addi r17, r17, 1 +lbl_80319F84: +/* 80319F84 00316EE4 7C 11 98 00 */ cmpw r17, r19 +/* 80319F88 00316EE8 41 80 FF B4 */ blt lbl_80319F3C +/* 80319F8C 00316EEC 3C 60 80 3D */ lis r3, lbl_803D7868@ha +/* 80319F90 00316EF0 38 63 78 68 */ addi r3, r3, lbl_803D7868@l +/* 80319F94 00316EF4 4B FE DE 95 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80319F98 00316EF8 3A 00 00 01 */ li r16, 1 +/* 80319F9C 00316EFC 38 60 00 01 */ li r3, 1 +/* 80319FA0 00316F00 4B FE EE B1 */ bl SetNumChans__3CGXFUc +/* 80319FA4 00316F04 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80319FA8 00316F08 3B 00 00 00 */ li r24, 0 +/* 80319FAC 00316F0C 41 82 00 68 */ beq lbl_8031A014 +/* 80319FB0 00316F10 38 60 00 01 */ li r3, 1 +/* 80319FB4 00316F14 38 80 00 01 */ li r4, 1 +/* 80319FB8 00316F18 38 A0 00 01 */ li r5, 1 +/* 80319FBC 00316F1C 38 C0 00 00 */ li r6, 0 +/* 80319FC0 00316F20 4B FF 1A 91 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80319FC4 00316F24 3B 00 00 01 */ li r24, 1 +/* 80319FC8 00316F28 38 60 00 01 */ li r3, 1 +/* 80319FCC 00316F2C 38 80 00 0F */ li r4, 0xf +/* 80319FD0 00316F30 38 A0 00 00 */ li r5, 0 +/* 80319FD4 00316F34 38 C0 00 01 */ li r6, 1 +/* 80319FD8 00316F38 38 E0 00 0F */ li r7, 0xf +/* 80319FDC 00316F3C 4B FE EC 11 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80319FE0 00316F40 38 60 00 01 */ li r3, 1 +/* 80319FE4 00316F44 38 80 00 07 */ li r4, 7 +/* 80319FE8 00316F48 38 A0 00 04 */ li r5, 4 +/* 80319FEC 00316F4C 38 C0 00 00 */ li r6, 0 +/* 80319FF0 00316F50 38 E0 00 07 */ li r7, 7 +/* 80319FF4 00316F54 4B FE EB A1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80319FF8 00316F58 38 60 00 01 */ li r3, 1 +/* 80319FFC 00316F5C 4B FE DC 55 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8031A000 00316F60 38 60 00 01 */ li r3, 1 +/* 8031A004 00316F64 38 80 00 00 */ li r4, 0 +/* 8031A008 00316F68 38 A0 00 01 */ li r5, 1 +/* 8031A00C 00316F6C 48 06 18 25 */ bl GXSetTevSwapMode +/* 8031A010 00316F70 3A 00 00 02 */ li r16, 2 +lbl_8031A014: +/* 8031A014 00316F74 56 03 06 3E */ clrlwi r3, r16, 0x18 +/* 8031A018 00316F78 4B FE EC 79 */ bl SetNumTevStages__3CGXFUc +/* 8031A01C 00316F7C 38 60 00 01 */ li r3, 1 +/* 8031A020 00316F80 4B FE ED F5 */ bl SetNumTexGens__3CGXFUc +/* 8031A024 00316F84 38 60 00 00 */ li r3, 0 +/* 8031A028 00316F88 38 80 00 00 */ li r4, 0 +/* 8031A02C 00316F8C 38 A0 00 00 */ li r5, 0 +/* 8031A030 00316F90 38 C0 00 01 */ li r6, 1 +/* 8031A034 00316F94 38 E0 00 00 */ li r7, 0 +/* 8031A038 00316F98 39 00 00 00 */ li r8, 0 +/* 8031A03C 00316F9C 39 20 00 02 */ li r9, 2 +/* 8031A040 00316FA0 4B FE EC 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8031A044 00316FA4 38 60 00 00 */ li r3, 0 +/* 8031A048 00316FA8 38 80 00 01 */ li r4, 1 +/* 8031A04C 00316FAC 38 A0 00 04 */ li r5, 4 +/* 8031A050 00316FB0 38 C0 00 3C */ li r6, 0x3c +/* 8031A054 00316FB4 38 E0 00 00 */ li r7, 0 +/* 8031A058 00316FB8 39 00 00 7D */ li r8, 0x7d +/* 8031A05C 00316FBC 4B FE E6 71 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8031A060 00316FC0 38 60 00 06 */ li r3, 6 +/* 8031A064 00316FC4 38 80 00 09 */ li r4, 9 +/* 8031A068 00316FC8 38 A0 00 01 */ li r5, 1 +/* 8031A06C 00316FCC 38 C0 00 04 */ li r6, 4 +/* 8031A070 00316FD0 38 E0 00 00 */ li r7, 0 +/* 8031A074 00316FD4 48 05 D7 19 */ bl GXSetVtxAttrFmt +/* 8031A078 00316FD8 38 60 00 06 */ li r3, 6 +/* 8031A07C 00316FDC 38 80 00 0B */ li r4, 0xb +/* 8031A080 00316FE0 38 A0 00 01 */ li r5, 1 +/* 8031A084 00316FE4 38 C0 00 05 */ li r6, 5 +/* 8031A088 00316FE8 38 E0 00 00 */ li r7, 0 +/* 8031A08C 00316FEC 48 05 D7 01 */ bl GXSetVtxAttrFmt +/* 8031A090 00316FF0 38 60 00 06 */ li r3, 6 +/* 8031A094 00316FF4 38 80 00 0D */ li r4, 0xd +/* 8031A098 00316FF8 38 A0 00 01 */ li r5, 1 +/* 8031A09C 00316FFC 38 C0 00 04 */ li r6, 4 +/* 8031A0A0 00317000 38 E0 00 00 */ li r7, 0 +/* 8031A0A4 00317004 48 05 D6 E9 */ bl GXSetVtxAttrFmt +/* 8031A0A8 00317008 7F D0 F3 78 */ mr r16, r30 +/* 8031A0AC 0031700C 3A 20 00 00 */ li r17, 0 +/* 8031A0B0 00317010 3A 40 00 00 */ li r18, 0 +/* 8031A0B4 00317014 48 00 00 24 */ b lbl_8031A0D8 +lbl_8031A0B8: +/* 8031A0B8 00317018 80 70 00 00 */ lwz r3, 0(r16) +/* 8031A0BC 0031701C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A0C0 00317020 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8031A0C4 00317024 7D 89 03 A6 */ mtctr r12 +/* 8031A0C8 00317028 4E 80 04 21 */ bctrl +/* 8031A0CC 0031702C 7E 31 1A 14 */ add r17, r17, r3 +/* 8031A0D0 00317030 3A 10 00 04 */ addi r16, r16, 4 +/* 8031A0D4 00317034 3A 52 00 01 */ addi r18, r18, 1 +lbl_8031A0D8: +/* 8031A0D8 00317038 7C 12 98 00 */ cmpw r18, r19 +/* 8031A0DC 0031703C 41 80 FF DC */ blt lbl_8031A0B8 +/* 8031A0E0 00317040 56 23 20 36 */ slwi r3, r17, 4 +/* 8031A0E4 00317044 80 01 00 00 */ lwz r0, 0(r1) +/* 8031A0E8 00317048 7E E3 00 D0 */ neg r23, r3 +/* 8031A0EC 0031704C 56 F7 00 38 */ rlwinm r23, r23, 0, 0, 0x1c +/* 8031A0F0 00317050 7C 01 B9 6E */ stwux r0, r1, r23 +/* 8031A0F4 00317054 7F DB F3 78 */ mr r27, r30 +/* 8031A0F8 00317058 3B 20 00 00 */ li r25, 0 +/* 8031A0FC 0031705C 3A C0 00 00 */ li r22, 0 +/* 8031A100 00317060 3A E1 00 08 */ addi r23, r1, 8 +/* 8031A104 00317064 7E FA BB 78 */ mr r26, r23 +/* 8031A108 00317068 48 00 01 24 */ b lbl_8031A22C +lbl_8031A10C: +/* 8031A10C 0031706C 82 BB 00 00 */ lwz r21, 0(r27) +/* 8031A110 00317070 7E A3 AB 78 */ mr r3, r21 +/* 8031A114 00317074 81 95 00 00 */ lwz r12, 0(r21) +/* 8031A118 00317078 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8031A11C 0031707C 7D 89 03 A6 */ mtctr r12 +/* 8031A120 00317080 4E 80 04 21 */ bctrl +/* 8031A124 00317084 C3 D5 00 80 */ lfs f30, 0x80(r21) +/* 8031A128 00317088 7C 71 1B 78 */ mr r17, r3 +/* 8031A12C 0031708C 7F 5C D3 78 */ mr r28, r26 +/* 8031A130 00317090 3A 80 00 00 */ li r20, 0 +/* 8031A134 00317094 3A 40 00 00 */ li r18, 0 +/* 8031A138 00317098 48 00 00 E4 */ b lbl_8031A21C +lbl_8031A13C: +/* 8031A13C 0031709C 80 15 00 3C */ lwz r0, 0x3c(r21) +/* 8031A140 003170A0 7E 00 92 14 */ add r16, r0, r18 +/* 8031A144 003170A4 80 10 00 00 */ lwz r0, 0(r16) +/* 8031A148 003170A8 2C 00 FF FF */ cmpwi r0, -1 +/* 8031A14C 003170AC 41 82 00 C8 */ beq lbl_8031A214 +/* 8031A150 003170B0 38 7F 00 3C */ addi r3, r31, 0x3c +/* 8031A154 003170B4 38 9F 00 94 */ addi r4, r31, 0x94 +/* 8031A158 003170B8 38 B0 00 04 */ addi r5, r16, 4 +/* 8031A15C 003170BC 4B FF 89 8D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031A160 003170C0 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8031A164 003170C4 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8031A168 003170C8 38 9F 00 94 */ addi r4, r31, 0x94 +/* 8031A16C 003170CC 38 BF 00 24 */ addi r5, r31, 0x24 +/* 8031A170 003170D0 D0 1C 00 04 */ stfs f0, 4(r28) +/* 8031A174 003170D4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8031A178 003170D8 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8031A17C 003170DC C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 8031A180 003170E0 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8031A184 003170E4 C0 10 00 08 */ lfs f0, 8(r16) +/* 8031A188 003170E8 C0 90 00 14 */ lfs f4, 0x14(r16) +/* 8031A18C 003170EC C0 30 00 0C */ lfs f1, 0xc(r16) +/* 8031A190 003170F0 EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031A194 003170F4 C0 70 00 18 */ lfs f3, 0x18(r16) +/* 8031A198 003170F8 C0 10 00 04 */ lfs f0, 4(r16) +/* 8031A19C 003170FC EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031A1A0 00317100 C0 50 00 10 */ lfs f2, 0x10(r16) +/* 8031A1A4 00317104 EC DE 01 72 */ fmuls f6, f30, f5 +/* 8031A1A8 00317108 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031A1AC 0031710C D0 BF 00 10 */ stfs f5, 0x10(r31) +/* 8031A1B0 00317110 EC BE 00 72 */ fmuls f5, f30, f1 +/* 8031A1B4 00317114 EC 86 20 2A */ fadds f4, f6, f4 +/* 8031A1B8 00317118 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 8031A1BC 0031711C EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8031A1C0 00317120 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031A1C4 00317124 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8031A1C8 00317128 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031A1CC 0031712C D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 8031A1D0 00317130 D0 DF 00 1C */ stfs f6, 0x1c(r31) +/* 8031A1D4 00317134 D0 BF 00 20 */ stfs f5, 0x20(r31) +/* 8031A1D8 00317138 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8031A1DC 0031713C D0 9F 00 28 */ stfs f4, 0x28(r31) +/* 8031A1E0 00317140 D0 7F 00 2C */ stfs f3, 0x2c(r31) +/* 8031A1E4 00317144 4B FF 89 05 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031A1E8 00317148 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8031A1EC 0031714C 3B 5A 00 10 */ addi r26, r26, 0x10 +/* 8031A1F0 00317150 3B 39 00 01 */ addi r25, r25, 1 +/* 8031A1F4 00317154 D0 1C 00 04 */ stfs f0, 4(r28) +/* 8031A1F8 00317158 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8031A1FC 0031715C D0 1C 00 08 */ stfs f0, 8(r28) +/* 8031A200 00317160 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8031A204 00317164 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8031A208 00317168 B2 DC 00 00 */ sth r22, 0(r28) +/* 8031A20C 0031716C B2 9C 00 02 */ sth r20, 2(r28) +/* 8031A210 00317170 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_8031A214: +/* 8031A214 00317174 3A 94 00 01 */ addi r20, r20, 1 +/* 8031A218 00317178 3A 52 00 38 */ addi r18, r18, 0x38 +lbl_8031A21C: +/* 8031A21C 0031717C 7C 14 88 00 */ cmpw r20, r17 +/* 8031A220 00317180 41 80 FF 1C */ blt lbl_8031A13C +/* 8031A224 00317184 3B 7B 00 04 */ addi r27, r27, 4 +/* 8031A228 00317188 3A D6 00 01 */ addi r22, r22, 1 +lbl_8031A22C: +/* 8031A22C 0031718C 7C 16 98 00 */ cmpw r22, r19 +/* 8031A230 00317190 41 80 FE DC */ blt lbl_8031A10C +/* 8031A234 00317194 88 8D A8 C0 */ lbz r4, lbl_805A9480@sda21(r13) +/* 8031A238 00317198 57 20 20 36 */ slwi r0, r25, 4 +/* 8031A23C 0031719C 7E E3 BB 78 */ mr r3, r23 +/* 8031A240 003171A0 38 BF 00 08 */ addi r5, r31, 8 +/* 8031A244 003171A4 98 9F 00 08 */ stb r4, 8(r31) +/* 8031A248 003171A8 7C 97 02 14 */ add r4, r23, r0 +/* 8031A24C 003171AC 48 00 5F FD */ bl sub_80320248 +/* 8031A250 003171B0 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 8031A254 003171B4 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031A258 003171B8 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031A25C 003171BC 7E FA BB 78 */ mr r26, r23 +/* 8031A260 003171C0 3A 83 FF FF */ addi r20, r3, 0x0000FFFF@l +/* 8031A264 003171C4 3A A0 00 00 */ li r21, 0 +/* 8031A268 003171C8 3A C0 00 00 */ li r22, 0 +/* 8031A26C 003171CC 3A E0 00 00 */ li r23, 0 +/* 8031A270 003171D0 3B 60 00 00 */ li r27, 0 +/* 8031A274 003171D4 3E 40 CC 01 */ lis r18, 0xcc01 +/* 8031A278 003171D8 48 00 02 20 */ b lbl_8031A498 +lbl_8031A27C: +/* 8031A27C 003171DC A3 9A 00 00 */ lhz r28, 0(r26) +/* 8031A280 003171E0 56 80 04 3E */ clrlwi r0, r20, 0x10 +/* 8031A284 003171E4 7C 00 E0 40 */ cmplw r0, r28 +/* 8031A288 003171E8 41 82 00 94 */ beq lbl_8031A31C +/* 8031A28C 003171EC 57 93 13 BA */ rlwinm r19, r28, 2, 0xe, 0x1d +/* 8031A290 003171F0 7E BE 98 2E */ lwzx r21, r30, r19 +/* 8031A294 003171F4 7E A3 AB 78 */ mr r3, r21 +/* 8031A298 003171F8 4B FF D6 ED */ bl GetEmitterTime__11CElementGenFv +/* 8031A29C 003171FC 7C 9E 98 2E */ lwzx r4, r30, r19 +/* 8031A2A0 00317200 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031A2A4 00317204 7C 77 1B 78 */ mr r23, r3 +/* 8031A2A8 00317208 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8031A2AC 0031720C 7C 96 23 78 */ mr r22, r4 +/* 8031A2B0 00317210 40 82 00 40 */ bne lbl_8031A2F0 +/* 8031A2B4 00317214 88 04 00 30 */ lbz r0, 0x30(r4) +/* 8031A2B8 00317218 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8031A2BC 0031721C 41 82 00 1C */ beq lbl_8031A2D8 +/* 8031A2C0 00317220 38 60 00 01 */ li r3, 1 +/* 8031A2C4 00317224 38 80 00 04 */ li r4, 4 +/* 8031A2C8 00317228 38 A0 00 01 */ li r5, 1 +/* 8031A2CC 0031722C 38 C0 00 00 */ li r6, 0 +/* 8031A2D0 00317230 4B FF 17 81 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031A2D4 00317234 48 00 00 30 */ b lbl_8031A304 +lbl_8031A2D8: +/* 8031A2D8 00317238 38 60 00 01 */ li r3, 1 +/* 8031A2DC 0031723C 38 80 00 04 */ li r4, 4 +/* 8031A2E0 00317240 38 A0 00 05 */ li r5, 5 +/* 8031A2E4 00317244 38 C0 00 00 */ li r6, 0 +/* 8031A2E8 00317248 4B FF 17 69 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031A2EC 0031724C 48 00 00 18 */ b lbl_8031A304 +lbl_8031A2F0: +/* 8031A2F0 00317250 7F 03 C3 78 */ mr r3, r24 +/* 8031A2F4 00317254 7F 85 E3 78 */ mr r5, r28 +/* 8031A2F8 00317258 38 80 00 00 */ li r4, 0 +/* 8031A2FC 0031725C 38 C0 00 FF */ li r6, 0xff +/* 8031A300 00317260 4B FE E6 4D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +lbl_8031A304: +/* 8031A304 00317264 7F 85 E3 78 */ mr r5, r28 +/* 8031A308 00317268 38 60 00 00 */ li r3, 0 +/* 8031A30C 0031726C 38 80 00 00 */ li r4, 0 +/* 8031A310 00317270 38 C0 00 04 */ li r6, 4 +/* 8031A314 00317274 4B FE E6 39 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031A318 00317278 7F 94 E3 78 */ mr r20, r28 +lbl_8031A31C: +/* 8031A31C 0031727C A0 1A 00 02 */ lhz r0, 2(r26) +/* 8031A320 00317280 80 75 00 3C */ lwz r3, 0x3c(r21) +/* 8031A324 00317284 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031A328 00317288 7E 03 02 14 */ add r16, r3, r0 +/* 8031A32C 0031728C 80 90 00 28 */ lwz r4, 0x28(r16) +/* 8031A330 00317290 80 10 00 00 */ lwz r0, 0(r16) +/* 8031A334 00317294 7C 64 B8 50 */ subf r3, r4, r23 +/* 8031A338 00317298 3A 23 FF FF */ addi r17, r3, -1 +/* 8031A33C 0031729C 7C 64 00 50 */ subf r3, r4, r0 +/* 8031A340 003172A0 48 01 04 39 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031A344 003172A4 7E 23 8B 78 */ mr r3, r17 +/* 8031A348 003172A8 48 01 03 35 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031A34C 003172AC 80 76 00 40 */ lwz r3, 0x40(r22) +/* 8031A350 003172B0 7E 24 8B 78 */ mr r4, r17 +/* 8031A354 003172B4 38 BF 00 54 */ addi r5, r31, 0x54 +/* 8031A358 003172B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A35C 003172BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A360 003172C0 7D 89 03 A6 */ mtctr r12 +/* 8031A364 003172C4 4E 80 04 21 */ bctrl +/* 8031A368 003172C8 38 60 00 80 */ li r3, 0x80 +/* 8031A36C 003172CC 38 80 00 06 */ li r4, 6 +/* 8031A370 003172D0 38 A0 00 04 */ li r5, 4 +/* 8031A374 003172D4 4B FE E2 11 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8031A378 003172D8 C0 10 00 30 */ lfs f0, 0x30(r16) +/* 8031A37C 003172DC C0 30 00 2C */ lfs f1, 0x2c(r16) +/* 8031A380 003172E0 EF 9F 00 32 */ fmuls f28, f31, f0 +/* 8031A384 003172E4 82 10 00 34 */ lwz r16, 0x34(r16) +/* 8031A388 003172E8 EF BE 00 72 */ fmuls f29, f30, f1 +/* 8031A38C 003172EC FC 20 E0 90 */ fmr f1, f28 +/* 8031A390 003172F0 4B FF AA 61 */ bl FastSinR__5CMathFf +/* 8031A394 003172F4 EF 7D 00 72 */ fmuls f27, f29, f1 +/* 8031A398 003172F8 FC 20 E0 90 */ fmr f1, f28 +/* 8031A39C 003172FC 4B FF A9 A9 */ bl FastCosR__5CMathFf +/* 8031A3A0 00317300 ED 3D 00 72 */ fmuls f9, f29, f1 +/* 8031A3A4 00317304 C0 3A 00 04 */ lfs f1, 4(r26) +/* 8031A3A8 00317308 FC 00 D8 50 */ fneg f0, f27 +/* 8031A3AC 0031730C C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 8031A3B0 00317310 C0 DA 00 08 */ lfs f6, 8(r26) +/* 8031A3B4 00317314 ED 1B 48 2A */ fadds f8, f27, f9 +/* 8031A3B8 00317318 EC E9 D8 28 */ fsubs f7, f9, f27 +/* 8031A3BC 0031731C FC 40 48 50 */ fneg f2, f9 +/* 8031A3C0 00317320 EC 28 08 2A */ fadds f1, f8, f1 +/* 8031A3C4 00317324 EC A7 18 2A */ fadds f5, f7, f3 +/* 8031A3C8 00317328 EC 9B 48 28 */ fsubs f4, f27, f9 +/* 8031A3CC 0031732C D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031A3D0 00317330 EC 20 48 2A */ fadds f1, f0, f9 +/* 8031A3D4 00317334 EC 62 D8 28 */ fsubs f3, f2, f27 +/* 8031A3D8 00317338 D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) +/* 8031A3DC 0031733C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031A3E0 00317340 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A3E4 00317344 C0 1F 00 5C */ lfs f0, 0x5c(r31) +/* 8031A3E8 00317348 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A3EC 0031734C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8031A3F0 00317350 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A3F4 00317354 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8031A3F8 00317358 C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 8031A3FC 0031735C EC 04 00 2A */ fadds f0, f4, f0 +/* 8031A400 00317360 C0 9A 00 08 */ lfs f4, 8(r26) +/* 8031A404 00317364 EC 48 10 2A */ fadds f2, f8, f2 +/* 8031A408 00317368 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A40C 0031736C D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031A410 00317370 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031A414 00317374 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A418 00317378 C0 BF 00 54 */ lfs f5, 0x54(r31) +/* 8031A41C 0031737C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031A420 00317380 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8031A424 00317384 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A428 00317388 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8031A42C 0031738C C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 8031A430 00317390 EC 00 40 28 */ fsubs f0, f0, f8 +/* 8031A434 00317394 C0 9A 00 08 */ lfs f4, 8(r26) +/* 8031A438 00317398 EC 42 38 28 */ fsubs f2, f2, f7 +/* 8031A43C 0031739C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A440 003173A0 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031A444 003173A4 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031A448 003173A8 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A44C 003173AC D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031A450 003173B0 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8031A454 003173B4 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A458 003173B8 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8031A45C 003173BC C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 8031A460 003173C0 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031A464 003173C4 C0 9A 00 08 */ lfs f4, 8(r26) +/* 8031A468 003173C8 EC 23 10 2A */ fadds f1, f3, f2 +/* 8031A46C 003173CC D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A470 003173D0 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031A474 003173D4 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031A478 003173D8 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A47C 003173DC C0 1F 00 5C */ lfs f0, 0x5c(r31) +/* 8031A480 003173E0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A484 003173E4 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8031A488 003173E8 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A48C 003173EC 4B FE E0 F5 */ bl End__3CGXFv +/* 8031A490 003173F0 3B 5A 00 10 */ addi r26, r26, 0x10 +/* 8031A494 003173F4 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8031A498: +/* 8031A498 003173F8 7C 1B C8 00 */ cmpw r27, r25 +/* 8031A49C 003173FC 41 80 FD E0 */ blt lbl_8031A27C +/* 8031A4A0 00317400 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031A4A4 00317404 41 82 00 14 */ beq lbl_8031A4B8 +/* 8031A4A8 00317408 7F 03 C3 78 */ mr r3, r24 +/* 8031A4AC 0031740C 38 80 00 00 */ li r4, 0 +/* 8031A4B0 00317410 38 A0 00 00 */ li r5, 0 +/* 8031A4B4 00317414 48 06 13 7D */ bl GXSetTevSwapMode +lbl_8031A4B8: +/* 8031A4B8 00317418 38 60 00 01 */ li r3, 1 +/* 8031A4BC 0031741C 4B FF 15 B5 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031A4C0 00317420 38 60 00 07 */ li r3, 7 +/* 8031A4C4 00317424 38 80 00 00 */ li r4, 0 +/* 8031A4C8 00317428 38 A0 00 00 */ li r5, 0 +/* 8031A4CC 0031742C 38 C0 00 07 */ li r6, 7 +/* 8031A4D0 00317430 38 E0 00 00 */ li r7, 0 +/* 8031A4D4 00317434 4B FF 15 55 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 8031A4D8 00317438 7F EA FB 78 */ mr r10, r31 +/* 8031A4DC 0031743C E3 EA 01 B8 */ psq_l f31, 440(r10), 0, qr0 +/* 8031A4E0 00317440 CB FF 01 B0 */ lfd f31, 0x1b0(r31) +/* 8031A4E4 00317444 E3 CA 01 A8 */ psq_l f30, 424(r10), 0, qr0 +/* 8031A4E8 00317448 CB DF 01 A0 */ lfd f30, 0x1a0(r31) +/* 8031A4EC 0031744C E3 AA 01 98 */ psq_l f29, 408(r10), 0, qr0 +/* 8031A4F0 00317450 CB BF 01 90 */ lfd f29, 0x190(r31) +/* 8031A4F4 00317454 E3 8A 01 88 */ psq_l f28, 392(r10), 0, qr0 +/* 8031A4F8 00317458 CB 9F 01 80 */ lfd f28, 0x180(r31) +/* 8031A4FC 0031745C E3 6A 01 78 */ psq_l f27, 376(r10), 0, qr0 +/* 8031A500 00317460 CB 7F 01 70 */ lfd f27, 0x170(r31) +/* 8031A504 00317464 BA 0A 01 30 */ lmw r16, 0x130(r10) +/* 8031A508 00317468 81 41 00 00 */ lwz r10, 0(r1) +/* 8031A50C 0031746C 80 0A 00 04 */ lwz r0, 4(r10) +/* 8031A510 00317470 7D 41 53 78 */ mr r1, r10 +/* 8031A514 00317474 7C 08 03 A6 */ mtlr r0 +/* 8031A518 00317478 4E 80 00 20 */ blr + +.global RenderParticles__11CElementGenFv +RenderParticles__11CElementGenFv: +/* 8031A51C 0031747C 94 21 FB 60 */ stwu r1, -0x4a0(r1) +/* 8031A520 00317480 7C 08 02 A6 */ mflr r0 +/* 8031A524 00317484 90 01 04 A4 */ stw r0, 0x4a4(r1) +/* 8031A528 00317488 DB E1 04 90 */ stfd f31, 0x490(r1) +/* 8031A52C 0031748C F3 E1 04 98 */ psq_st f31, 1176(r1), 0, qr0 +/* 8031A530 00317490 DB C1 04 80 */ stfd f30, 0x480(r1) +/* 8031A534 00317494 F3 C1 04 88 */ psq_st f30, 1160(r1), 0, qr0 +/* 8031A538 00317498 DB A1 04 70 */ stfd f29, 0x470(r1) +/* 8031A53C 0031749C F3 A1 04 78 */ psq_st f29, 1144(r1), 0, qr0 +/* 8031A540 003174A0 DB 81 04 60 */ stfd f28, 0x460(r1) +/* 8031A544 003174A4 F3 81 04 68 */ psq_st f28, 1128(r1), 0, qr0 +/* 8031A548 003174A8 DB 61 04 50 */ stfd f27, 0x450(r1) +/* 8031A54C 003174AC F3 61 04 58 */ psq_st f27, 1112(r1), 0, qr0 +/* 8031A550 003174B0 DB 41 04 40 */ stfd f26, 0x440(r1) +/* 8031A554 003174B4 F3 41 04 48 */ psq_st f26, 1096(r1), 0, qr0 +/* 8031A558 003174B8 DB 21 04 30 */ stfd f25, 0x430(r1) +/* 8031A55C 003174BC F3 21 04 38 */ psq_st f25, 1080(r1), 0, qr0 +/* 8031A560 003174C0 DB 01 04 20 */ stfd f24, 0x420(r1) +/* 8031A564 003174C4 F3 01 04 28 */ psq_st f24, 1064(r1), 0, qr0 +/* 8031A568 003174C8 DA E1 04 10 */ stfd f23, 0x410(r1) +/* 8031A56C 003174CC F2 E1 04 18 */ psq_st f23, 1048(r1), 0, qr0 +/* 8031A570 003174D0 DA C1 04 00 */ stfd f22, 0x400(r1) +/* 8031A574 003174D4 F2 C1 04 08 */ psq_st f22, 1032(r1), 0, qr0 +/* 8031A578 003174D8 DA A1 03 F0 */ stfd f21, 0x3f0(r1) +/* 8031A57C 003174DC F2 A1 03 F8 */ psq_st f21, 1016(r1), 0, qr0 +/* 8031A580 003174E0 DA 81 03 E0 */ stfd f20, 0x3e0(r1) +/* 8031A584 003174E4 F2 81 03 E8 */ psq_st f20, 1000(r1), 0, qr0 +/* 8031A588 003174E8 DA 61 03 D0 */ stfd f19, 0x3d0(r1) +/* 8031A58C 003174EC F2 61 03 D8 */ psq_st f19, 984(r1), 0, qr0 +/* 8031A590 003174F0 DA 41 03 C0 */ stfd f18, 0x3c0(r1) +/* 8031A594 003174F4 F2 41 03 C8 */ psq_st f18, 968(r1), 0, qr0 +/* 8031A598 003174F8 DA 21 03 B0 */ stfd f17, 0x3b0(r1) +/* 8031A59C 003174FC F2 21 03 B8 */ psq_st f17, 952(r1), 0, qr0 +/* 8031A5A0 00317500 BE 41 03 78 */ stmw r18, 0x378(r1) +/* 8031A5A4 00317504 7C 3F 0B 78 */ mr r31, r1 +/* 8031A5A8 00317508 7C 7E 1B 78 */ mr r30, r3 +/* 8031A5AC 0031750C 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031A5B0 00317510 38 9E 02 7C */ addi r4, r30, 0x27c +/* 8031A5B4 00317514 4B FF 80 CD */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031A5B8 00317518 7F C3 F3 78 */ mr r3, r30 +/* 8031A5BC 0031751C 4B FF D0 89 */ bl IsIndirectTextured__11CElementGenCFv +/* 8031A5C0 00317520 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031A5C4 00317524 41 82 00 1C */ beq lbl_8031A5E0 +/* 8031A5C8 00317528 7F C3 F3 78 */ mr r3, r30 +/* 8031A5CC 0031752C 4B FF ED 09 */ bl RenderParticlesIndirectTexture__11CElementGenFv +/* 8031A5D0 00317530 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031A5D4 00317534 38 80 FF FF */ li r4, -1 +/* 8031A5D8 00317538 4B FF 80 2D */ bl __dt__13CGlobalRandomFv +/* 8031A5DC 0031753C 48 00 18 8C */ b lbl_8031BE68 +lbl_8031A5E0: +/* 8031A5E0 00317540 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A5E4 00317544 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031A5E8 00317548 28 03 00 00 */ cmplwi r3, 0 +/* 8031A5EC 0031754C 41 82 00 9C */ beq lbl_8031A688 +/* 8031A5F0 00317550 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A5F4 00317554 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031A5F8 00317558 7D 89 03 A6 */ mtctr r12 +/* 8031A5FC 0031755C 4E 80 04 21 */ bctrl +/* 8031A600 00317560 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031A604 00317564 41 82 00 84 */ beq lbl_8031A688 +/* 8031A608 00317568 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A60C 0031756C 38 BF 00 3C */ addi r5, r31, 0x3c +/* 8031A610 00317570 38 80 00 00 */ li r4, 0 +/* 8031A614 00317574 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8031A618 00317578 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A61C 0031757C 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031A620 00317580 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A624 00317584 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A628 00317588 7D 89 03 A6 */ mtctr r12 +/* 8031A62C 0031758C 4E 80 04 21 */ bctrl +/* 8031A630 00317590 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A634 00317594 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8031A638 00317598 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A63C 0031759C 40 82 00 4C */ bne lbl_8031A688 +/* 8031A640 003175A0 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A644 003175A4 38 BF 00 3C */ addi r5, r31, 0x3c +/* 8031A648 003175A8 38 80 00 01 */ li r4, 1 +/* 8031A64C 003175AC D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8031A650 003175B0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A654 003175B4 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031A658 003175B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A65C 003175BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A660 003175C0 7D 89 03 A6 */ mtctr r12 +/* 8031A664 003175C4 4E 80 04 21 */ bctrl +/* 8031A668 003175C8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A66C 003175CC C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8031A670 003175D0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A674 003175D4 40 82 00 14 */ bne lbl_8031A688 +/* 8031A678 003175D8 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031A67C 003175DC 38 80 FF FF */ li r4, -1 +/* 8031A680 003175E0 4B FF 7F 85 */ bl __dt__13CGlobalRandomFv +/* 8031A684 003175E4 48 00 17 E4 */ b lbl_8031BE68 +lbl_8031A688: +/* 8031A688 003175E8 38 60 00 00 */ li r3, 0 +/* 8031A68C 003175EC 4B FF 13 E5 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031A690 003175F0 80 DE 03 38 */ lwz r6, 0x338(r30) +/* 8031A694 003175F4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8031A698 003175F8 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 8031A69C 003175FC 20 A6 FF FF */ subfic r5, r6, -1 +/* 8031A6A0 00317600 38 06 00 01 */ addi r0, r6, 1 +/* 8031A6A4 00317604 7C A0 03 78 */ or r0, r5, r0 +/* 8031A6A8 00317608 38 7F 03 34 */ addi r3, r31, 0x334 +/* 8031A6AC 0031760C 54 14 0F FE */ srwi r20, r0, 0x1f +/* 8031A6B0 00317610 4B FF 84 C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031A6B4 00317614 38 7F 03 04 */ addi r3, r31, 0x304 +/* 8031A6B8 00317618 38 9F 03 34 */ addi r4, r31, 0x334 +/* 8031A6BC 0031761C 4B FF 84 B9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031A6C0 00317620 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8031A6C4 00317624 38 7F 02 74 */ addi r3, r31, 0x274 +/* 8031A6C8 00317628 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8031A6CC 0031762C 38 9F 03 04 */ addi r4, r31, 0x304 +/* 8031A6D0 00317630 C0 45 00 00 */ lfs f2, 0(r5) +/* 8031A6D4 00317634 C0 25 00 04 */ lfs f1, 4(r5) +/* 8031A6D8 00317638 C0 05 00 08 */ lfs f0, 8(r5) +/* 8031A6DC 0031763C D0 5F 03 10 */ stfs f2, 0x310(r31) +/* 8031A6E0 00317640 D0 3F 03 20 */ stfs f1, 0x320(r31) +/* 8031A6E4 00317644 D0 1F 03 30 */ stfs f0, 0x330(r31) +/* 8031A6E8 00317648 4B FF 85 B5 */ bl GetQuickInverse__12CTransform4fCFv +/* 8031A6EC 0031764C 38 7F 02 A4 */ addi r3, r31, 0x2a4 +/* 8031A6F0 00317650 38 9F 02 74 */ addi r4, r31, 0x274 +/* 8031A6F4 00317654 38 BE 02 2C */ addi r5, r30, 0x22c +/* 8031A6F8 00317658 4B FF 82 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A6FC 0031765C 38 7F 02 D4 */ addi r3, r31, 0x2d4 +/* 8031A700 00317660 38 9F 02 A4 */ addi r4, r31, 0x2a4 +/* 8031A704 00317664 4B FF 84 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031A708 00317668 38 7F 01 B4 */ addi r3, r31, 0x1b4 +/* 8031A70C 0031766C 38 9E 00 E8 */ addi r4, r30, 0xe8 +/* 8031A710 00317670 4B FF 8A 31 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8031A714 00317674 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 8031A718 00317678 38 9F 01 B4 */ addi r4, r31, 0x1b4 +/* 8031A71C 0031767C 38 BE 01 0C */ addi r5, r30, 0x10c +/* 8031A720 00317680 4B FF 82 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A724 00317684 38 7F 02 14 */ addi r3, r31, 0x214 +/* 8031A728 00317688 38 9F 01 E4 */ addi r4, r31, 0x1e4 +/* 8031A72C 0031768C 38 BF 03 04 */ addi r5, r31, 0x304 +/* 8031A730 00317690 4B FF 82 21 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A734 00317694 38 7F 02 44 */ addi r3, r31, 0x244 +/* 8031A738 00317698 38 9F 02 14 */ addi r4, r31, 0x214 +/* 8031A73C 0031769C 38 BE 01 78 */ addi r5, r30, 0x178 +/* 8031A740 003176A0 4B FF 82 11 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A744 003176A4 38 7F 03 04 */ addi r3, r31, 0x304 +/* 8031A748 003176A8 38 9F 02 44 */ addi r4, r31, 0x244 +/* 8031A74C 003176AC 4B FF 83 F5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031A750 003176B0 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031A754 003176B4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8031A758 003176B8 41 82 00 20 */ beq lbl_8031A778 +/* 8031A75C 003176BC 38 7F 01 84 */ addi r3, r31, 0x184 +/* 8031A760 003176C0 38 9F 03 04 */ addi r4, r31, 0x304 +/* 8031A764 003176C4 38 BF 02 D4 */ addi r5, r31, 0x2d4 +/* 8031A768 003176C8 4B FF 81 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A76C 003176CC 38 7F 01 84 */ addi r3, r31, 0x184 +/* 8031A770 003176D0 4B FF 1E 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8031A774 003176D4 48 00 00 0C */ b lbl_8031A780 +lbl_8031A778: +/* 8031A778 003176D8 38 7F 03 04 */ addi r3, r31, 0x304 +/* 8031A77C 003176DC 4B FF 1E 65 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +lbl_8031A780: +/* 8031A780 003176E0 38 60 00 04 */ li r3, 4 +/* 8031A784 003176E4 38 80 00 00 */ li r4, 0 +/* 8031A788 003176E8 38 A0 00 00 */ li r5, 0 +/* 8031A78C 003176EC 38 C0 00 07 */ li r6, 7 +/* 8031A790 003176F0 38 E0 00 00 */ li r7, 0 +/* 8031A794 003176F4 4B FF 12 95 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 8031A798 003176F8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A79C 003176FC 3B 80 00 01 */ li r28, 1 +/* 8031A7A0 00317700 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A7A4 00317704 D0 3F 01 40 */ stfs f1, 0x140(r31) +/* 8031A7A8 00317708 D0 1F 01 48 */ stfs f0, 0x148(r31) +/* 8031A7AC 0031770C D0 3F 01 44 */ stfs f1, 0x144(r31) +/* 8031A7B0 00317710 D0 1F 01 4C */ stfs f0, 0x14c(r31) +/* 8031A7B4 00317714 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A7B8 00317718 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031A7BC 0031771C 7C 60 00 34 */ cntlzw r0, r3 +/* 8031A7C0 00317720 28 03 00 00 */ cmplwi r3, 0 +/* 8031A7C4 00317724 54 1D D9 7E */ srwi r29, r0, 5 +/* 8031A7C8 00317728 41 82 00 90 */ beq lbl_8031A858 +/* 8031A7CC 0031772C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A7D0 00317730 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031A7D4 00317734 7D 89 03 A6 */ mtctr r12 +/* 8031A7D8 00317738 4E 80 04 21 */ bctrl +/* 8031A7DC 0031773C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031A7E0 00317740 41 82 00 78 */ beq lbl_8031A858 +/* 8031A7E4 00317744 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A7E8 00317748 38 BF 00 38 */ addi r5, r31, 0x38 +/* 8031A7EC 0031774C 38 80 00 00 */ li r4, 0 +/* 8031A7F0 00317750 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8031A7F4 00317754 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A7F8 00317758 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031A7FC 0031775C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A800 00317760 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A804 00317764 7D 89 03 A6 */ mtctr r12 +/* 8031A808 00317768 4E 80 04 21 */ bctrl +/* 8031A80C 0031776C C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A810 00317770 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8031A814 00317774 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A818 00317778 40 82 00 40 */ bne lbl_8031A858 +/* 8031A81C 0031777C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A820 00317780 38 BF 00 38 */ addi r5, r31, 0x38 +/* 8031A824 00317784 38 80 00 01 */ li r4, 1 +/* 8031A828 00317788 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8031A82C 0031778C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A830 00317790 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031A834 00317794 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A838 00317798 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A83C 0031779C 7D 89 03 A6 */ mtctr r12 +/* 8031A840 003177A0 4E 80 04 21 */ bctrl +/* 8031A844 003177A4 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A848 003177A8 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8031A84C 003177AC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A850 003177B0 40 82 00 08 */ bne lbl_8031A858 +/* 8031A854 003177B4 3B A0 00 01 */ li r29, 1 +lbl_8031A858: +/* 8031A858 003177B8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A85C 003177BC 80 83 00 40 */ lwz r4, 0x40(r3) +/* 8031A860 003177C0 28 04 00 00 */ cmplwi r4, 0 +/* 8031A864 003177C4 41 82 01 EC */ beq lbl_8031AA50 +/* 8031A868 003177C8 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 8031A86C 003177CC 38 7F 01 1C */ addi r3, r31, 0x11c +/* 8031A870 003177D0 81 84 00 00 */ lwz r12, 0(r4) +/* 8031A874 003177D4 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8031A878 003177D8 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031A87C 003177DC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031A880 003177E0 7C A5 00 50 */ subf r5, r5, r0 +/* 8031A884 003177E4 7D 89 03 A6 */ mtctr r12 +/* 8031A888 003177E8 4E 80 04 21 */ bctrl +/* 8031A88C 003177EC 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8031A890 003177F0 38 9F 01 1C */ addi r4, r31, 0x11c +/* 8031A894 003177F4 48 02 66 15 */ bl __ct__6CTokenFRC6CToken +/* 8031A898 003177F8 38 7F 01 1C */ addi r3, r31, 0x11c +/* 8031A89C 003177FC 38 80 00 00 */ li r4, 0 +/* 8031A8A0 00317800 48 02 65 A1 */ bl __dt__6CTokenFv +/* 8031A8A4 00317804 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8031A8A8 00317808 48 02 65 65 */ bl GetObj__6CTokenFv +/* 8031A8AC 0031780C 80 63 00 04 */ lwz r3, 4(r3) +/* 8031A8B0 00317810 38 80 00 00 */ li r4, 0 +/* 8031A8B4 00317814 38 A0 00 01 */ li r5, 1 +/* 8031A8B8 00317818 4B FF 4E 85 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8031A8BC 0031781C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8031A8C0 00317820 38 60 00 00 */ li r3, 0 +/* 8031A8C4 00317824 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8031A8C8 00317828 4B FE F9 F1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8031A8CC 0031782C 28 14 00 00 */ cmplwi r20, 0 +/* 8031A8D0 00317830 41 82 01 18 */ beq lbl_8031A9E8 +/* 8031A8D4 00317834 88 0D A8 BB */ lbz r0, lbl_805A947B@sda21(r13) +/* 8031A8D8 00317838 7C 00 07 75 */ extsb. r0, r0 +/* 8031A8DC 0031783C 40 82 00 F8 */ bne lbl_8031A9D4 +/* 8031A8E0 00317840 38 00 00 00 */ li r0, 0 +/* 8031A8E4 00317844 38 A0 00 01 */ li r5, 1 +/* 8031A8E8 00317848 98 BF 01 5C */ stb r5, 0x15c(r31) +/* 8031A8EC 0031784C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8031A8F0 00317850 38 80 00 07 */ li r4, 7 +/* 8031A8F4 00317854 90 1F 01 60 */ stw r0, 0x160(r31) +/* 8031A8F8 00317858 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8031A8FC 0031785C 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8031A900 00317860 90 1F 01 6C */ stw r0, 0x16c(r31) +/* 8031A904 00317864 98 BF 01 70 */ stb r5, 0x170(r31) +/* 8031A908 00317868 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8031A90C 0031786C 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8031A910 00317870 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 8031A914 00317874 90 1F 01 80 */ stw r0, 0x180(r31) +/* 8031A918 00317878 4B FE E8 15 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A91C 0031787C 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8031A920 00317880 38 80 00 05 */ li r4, 5 +/* 8031A924 00317884 4B FE E8 09 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A928 00317888 38 7F 00 1C */ addi r3, r31, 0x1c +/* 8031A92C 0031788C 38 80 00 00 */ li r4, 0 +/* 8031A930 00317890 4B FE E7 FD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A934 00317894 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8031A938 00317898 38 80 00 07 */ li r4, 7 +/* 8031A93C 0031789C 4B FE E7 F1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A940 003178A0 80 FF 00 20 */ lwz r7, 0x20(r31) +/* 8031A944 003178A4 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8031A948 003178A8 80 DF 00 1C */ lwz r6, 0x1c(r31) +/* 8031A94C 003178AC 38 80 00 0F */ li r4, 0xf +/* 8031A950 003178B0 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 8031A954 003178B4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8031A958 003178B8 90 FF 00 FC */ stw r7, 0xfc(r31) +/* 8031A95C 003178BC 90 DF 01 00 */ stw r6, 0x100(r31) +/* 8031A960 003178C0 90 BF 01 04 */ stw r5, 0x104(r31) +/* 8031A964 003178C4 90 1F 01 08 */ stw r0, 0x108(r31) +/* 8031A968 003178C8 4B FE E7 BD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A96C 003178CC 38 7F 00 28 */ addi r3, r31, 0x28 +/* 8031A970 003178D0 38 80 00 0A */ li r4, 0xa +/* 8031A974 003178D4 4B FE E7 B1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A978 003178D8 38 7F 00 2C */ addi r3, r31, 0x2c +/* 8031A97C 003178DC 38 80 00 00 */ li r4, 0 +/* 8031A980 003178E0 4B FE E7 A5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A984 003178E4 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8031A988 003178E8 38 80 00 0F */ li r4, 0xf +/* 8031A98C 003178EC 4B FE E7 99 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A990 003178F0 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 8031A994 003178F4 3C 60 80 4C */ lis r3, lbl_804BFE68@ha +/* 8031A998 003178F8 81 3F 00 2C */ lwz r9, 0x2c(r31) +/* 8031A99C 003178FC 38 63 FE 68 */ addi r3, r3, lbl_804BFE68@l +/* 8031A9A0 00317900 81 1F 00 28 */ lwz r8, 0x28(r31) +/* 8031A9A4 00317904 38 9F 01 0C */ addi r4, r31, 0x10c +/* 8031A9A8 00317908 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 8031A9AC 0031790C 38 DF 01 70 */ addi r6, r31, 0x170 +/* 8031A9B0 00317910 90 BF 01 0C */ stw r5, 0x10c(r31) +/* 8031A9B4 00317914 38 BF 00 FC */ addi r5, r31, 0xfc +/* 8031A9B8 00317918 38 FF 01 5C */ addi r7, r31, 0x15c +/* 8031A9BC 0031791C 91 3F 01 10 */ stw r9, 0x110(r31) +/* 8031A9C0 00317920 91 1F 01 14 */ stw r8, 0x114(r31) +/* 8031A9C4 00317924 90 1F 01 18 */ stw r0, 0x118(r31) +/* 8031A9C8 00317928 4B FE E8 8D */ bl sub_80309254 +/* 8031A9CC 0031792C 38 00 00 01 */ li r0, 1 +/* 8031A9D0 00317930 98 0D A8 BB */ stb r0, lbl_805A947B@sda21(r13) +lbl_8031A9D4: +/* 8031A9D4 00317934 3C 80 80 4C */ lis r4, lbl_804BFE68@ha +/* 8031A9D8 00317938 38 60 00 01 */ li r3, 1 +/* 8031A9DC 0031793C 38 84 FE 68 */ addi r4, r4, lbl_804BFE68@l +/* 8031A9E0 00317940 4B FE F8 D9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8031A9E4 00317944 48 00 00 10 */ b lbl_8031A9F4 +lbl_8031A9E8: +/* 8031A9E8 00317948 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031A9EC 0031794C 38 60 00 01 */ li r3, 1 +/* 8031A9F0 00317950 4B FE F8 C9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_8031A9F4: +/* 8031A9F4 00317954 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A9F8 00317958 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031A9FC 0031795C 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 8031AA00 00317960 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031AA04 00317964 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8031AA08 00317968 81 83 00 00 */ lwz r12, 0(r3) +/* 8031AA0C 0031796C 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031AA10 00317970 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031AA14 00317974 7C 84 00 50 */ subf r4, r4, r0 +/* 8031AA18 00317978 7D 89 03 A6 */ mtctr r12 +/* 8031AA1C 0031797C 4E 80 04 21 */ bctrl +/* 8031AA20 00317980 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031AA24 00317984 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031AA28 00317988 81 83 00 00 */ lwz r12, 0(r3) +/* 8031AA2C 0031798C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031AA30 00317990 7D 89 03 A6 */ mtctr r12 +/* 8031AA34 00317994 4E 80 04 21 */ bctrl +/* 8031AA38 00317998 7C 60 1B 78 */ mr r0, r3 +/* 8031AA3C 0031799C 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8031AA40 003179A0 7C 1C 03 78 */ mr r28, r0 +/* 8031AA44 003179A4 38 80 00 00 */ li r4, 0 +/* 8031AA48 003179A8 48 02 63 F9 */ bl __dt__6CTokenFv +/* 8031AA4C 003179AC 48 00 00 1C */ b lbl_8031AA68 +lbl_8031AA50: +/* 8031AA50 003179B0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031AA54 003179B4 38 60 00 00 */ li r3, 0 +/* 8031AA58 003179B8 4B FE F8 61 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8031AA5C 003179BC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031AA60 003179C0 38 60 00 01 */ li r3, 1 +/* 8031AA64 003179C4 4B FE F8 55 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_8031AA68: +/* 8031AA68 003179C8 3C 60 80 3D */ lis r3, lbl_803D7848@ha +/* 8031AA6C 003179CC 38 63 78 48 */ addi r3, r3, lbl_803D7848@l +/* 8031AA70 003179D0 4B FE D3 B9 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8031AA74 003179D4 28 14 00 00 */ cmplwi r20, 0 +/* 8031AA78 003179D8 41 82 00 78 */ beq lbl_8031AAF0 +/* 8031AA7C 003179DC 38 60 00 02 */ li r3, 2 +/* 8031AA80 003179E0 4B FE E3 D1 */ bl SetNumChans__3CGXFUc +/* 8031AA84 003179E4 3B 60 00 02 */ li r27, 2 +/* 8031AA88 003179E8 38 60 00 01 */ li r3, 1 +/* 8031AA8C 003179EC 38 80 00 FF */ li r4, 0xff +/* 8031AA90 003179F0 38 A0 00 FF */ li r5, 0xff +/* 8031AA94 003179F4 38 C0 00 05 */ li r6, 5 +/* 8031AA98 003179F8 4B FE DE B5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031AA9C 003179FC C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031AAA0 00317A00 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8031AAA4 00317A04 C0 82 C9 F0 */ lfs f4, lbl_805AE710@sda21(r2) +/* 8031AAA8 00317A08 FC 40 08 90 */ fmr f2, f1 +/* 8031AAAC 00317A0C FC 60 08 90 */ fmr f3, f1 +/* 8031AAB0 00317A10 48 04 89 3D */ bl __ct__6CColorFffff +/* 8031AAB4 00317A14 7C 64 1B 78 */ mr r4, r3 +/* 8031AAB8 00317A18 38 60 00 01 */ li r3, 1 +/* 8031AABC 00317A1C 4B FE E3 09 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8031AAC0 00317A20 38 9E 03 38 */ addi r4, r30, 0x338 +/* 8031AAC4 00317A24 38 60 00 01 */ li r3, 1 +/* 8031AAC8 00317A28 4B FE E2 95 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8031AACC 00317A2C 38 60 00 01 */ li r3, 1 +/* 8031AAD0 00317A30 38 80 00 00 */ li r4, 0 +/* 8031AAD4 00317A34 38 A0 00 00 */ li r5, 0 +/* 8031AAD8 00317A38 38 C0 00 00 */ li r6, 0 +/* 8031AADC 00317A3C 38 E0 00 00 */ li r7, 0 +/* 8031AAE0 00317A40 39 00 00 00 */ li r8, 0 +/* 8031AAE4 00317A44 39 20 00 02 */ li r9, 2 +/* 8031AAE8 00317A48 4B FE E1 E5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8031AAEC 00317A4C 48 00 00 10 */ b lbl_8031AAFC +lbl_8031AAF0: +/* 8031AAF0 00317A50 38 60 00 01 */ li r3, 1 +/* 8031AAF4 00317A54 4B FE E3 5D */ bl SetNumChans__3CGXFUc +/* 8031AAF8 00317A58 3B 60 00 01 */ li r27, 1 +lbl_8031AAFC: +/* 8031AAFC 00317A5C 88 0D A8 B9 */ lbz r0, lbl_805A9479@sda21(r13) +/* 8031AB00 00317A60 8B 4D A8 B8 */ lbz r26, lbl_805A9478@sda21(r13) +/* 8031AB04 00317A64 28 00 00 00 */ cmplwi r0, 0 +/* 8031AB08 00317A68 41 82 00 98 */ beq lbl_8031ABA0 +/* 8031AB0C 00317A6C 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031AB10 00317A70 38 80 00 03 */ li r4, 3 +/* 8031AB14 00317A74 38 A0 00 00 */ li r5, 0 +/* 8031AB18 00317A78 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 8031AB1C 00317A7C 4B FF 0F 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031AB20 00317A80 38 60 00 03 */ li r3, 3 +/* 8031AB24 00317A84 38 80 00 01 */ li r4, 1 +/* 8031AB28 00317A88 38 A0 00 00 */ li r5, 0 +/* 8031AB2C 00317A8C 38 C0 00 00 */ li r6, 0 +/* 8031AB30 00317A90 4B FE DD A1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8031AB34 00317A94 28 1A 00 00 */ cmplwi r26, 0 +/* 8031AB38 00317A98 41 82 01 54 */ beq lbl_8031AC8C +/* 8031AB3C 00317A9C 7F 63 DB 78 */ mr r3, r27 +/* 8031AB40 00317AA0 38 80 00 0F */ li r4, 0xf +/* 8031AB44 00317AA4 38 A0 00 00 */ li r5, 0 +/* 8031AB48 00317AA8 38 C0 00 01 */ li r6, 1 +/* 8031AB4C 00317AAC 38 E0 00 0F */ li r7, 0xf +/* 8031AB50 00317AB0 4B FE E0 9D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8031AB54 00317AB4 7F 63 DB 78 */ mr r3, r27 +/* 8031AB58 00317AB8 38 80 00 07 */ li r4, 7 +/* 8031AB5C 00317ABC 38 A0 00 04 */ li r5, 4 +/* 8031AB60 00317AC0 38 C0 00 00 */ li r6, 0 +/* 8031AB64 00317AC4 38 E0 00 07 */ li r7, 7 +/* 8031AB68 00317AC8 4B FE E0 2D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8031AB6C 00317ACC 7F 63 DB 78 */ mr r3, r27 +/* 8031AB70 00317AD0 4B FE D0 E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8031AB74 00317AD4 7F 63 DB 78 */ mr r3, r27 +/* 8031AB78 00317AD8 38 80 00 00 */ li r4, 0 +/* 8031AB7C 00317ADC 38 A0 00 00 */ li r5, 0 +/* 8031AB80 00317AE0 38 C0 00 FF */ li r6, 0xff +/* 8031AB84 00317AE4 4B FE DD C9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031AB88 00317AE8 7F 63 DB 78 */ mr r3, r27 +/* 8031AB8C 00317AEC 38 80 00 00 */ li r4, 0 +/* 8031AB90 00317AF0 38 A0 00 01 */ li r5, 1 +/* 8031AB94 00317AF4 48 06 0C 9D */ bl GXSetTevSwapMode +/* 8031AB98 00317AF8 3B 7B 00 01 */ addi r27, r27, 1 +/* 8031AB9C 00317AFC 48 00 00 F0 */ b lbl_8031AC8C +lbl_8031ABA0: +/* 8031ABA0 00317B00 28 1A 00 00 */ cmplwi r26, 0 +/* 8031ABA4 00317B04 41 82 00 90 */ beq lbl_8031AC34 +/* 8031ABA8 00317B08 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031ABAC 00317B0C 38 80 00 03 */ li r4, 3 +/* 8031ABB0 00317B10 38 A0 00 00 */ li r5, 0 +/* 8031ABB4 00317B14 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 8031ABB8 00317B18 4B FF 0E DD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031ABBC 00317B1C 38 60 00 01 */ li r3, 1 +/* 8031ABC0 00317B20 38 80 00 01 */ li r4, 1 +/* 8031ABC4 00317B24 38 A0 00 01 */ li r5, 1 +/* 8031ABC8 00317B28 38 C0 00 00 */ li r6, 0 +/* 8031ABCC 00317B2C 4B FF 0E 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031ABD0 00317B30 7F 63 DB 78 */ mr r3, r27 +/* 8031ABD4 00317B34 38 80 00 0F */ li r4, 0xf +/* 8031ABD8 00317B38 38 A0 00 00 */ li r5, 0 +/* 8031ABDC 00317B3C 38 C0 00 01 */ li r6, 1 +/* 8031ABE0 00317B40 38 E0 00 0F */ li r7, 0xf +/* 8031ABE4 00317B44 4B FE E0 09 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8031ABE8 00317B48 7F 63 DB 78 */ mr r3, r27 +/* 8031ABEC 00317B4C 38 80 00 07 */ li r4, 7 +/* 8031ABF0 00317B50 38 A0 00 04 */ li r5, 4 +/* 8031ABF4 00317B54 38 C0 00 00 */ li r6, 0 +/* 8031ABF8 00317B58 38 E0 00 07 */ li r7, 7 +/* 8031ABFC 00317B5C 4B FE DF 99 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8031AC00 00317B60 7F 63 DB 78 */ mr r3, r27 +/* 8031AC04 00317B64 4B FE D0 4D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8031AC08 00317B68 7F 63 DB 78 */ mr r3, r27 +/* 8031AC0C 00317B6C 38 80 00 00 */ li r4, 0 +/* 8031AC10 00317B70 38 A0 00 00 */ li r5, 0 +/* 8031AC14 00317B74 38 C0 00 FF */ li r6, 0xff +/* 8031AC18 00317B78 4B FE DD 35 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031AC1C 00317B7C 7F 63 DB 78 */ mr r3, r27 +/* 8031AC20 00317B80 38 80 00 00 */ li r4, 0 +/* 8031AC24 00317B84 38 A0 00 01 */ li r5, 1 +/* 8031AC28 00317B88 48 06 0C 09 */ bl GXSetTevSwapMode +/* 8031AC2C 00317B8C 3B 7B 00 01 */ addi r27, r27, 1 +/* 8031AC30 00317B90 48 00 00 5C */ b lbl_8031AC8C +lbl_8031AC34: +/* 8031AC34 00317B94 88 9E 02 6C */ lbz r4, 0x26c(r30) +/* 8031AC38 00317B98 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8031AC3C 00317B9C 41 82 00 2C */ beq lbl_8031AC68 +/* 8031AC40 00317BA0 54 83 EF FE */ rlwinm r3, r4, 0x1d, 0x1f, 0x1f +/* 8031AC44 00317BA4 38 80 00 03 */ li r4, 3 +/* 8031AC48 00317BA8 38 A0 00 00 */ li r5, 0 +/* 8031AC4C 00317BAC 4B FF 0E 49 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031AC50 00317BB0 38 60 00 01 */ li r3, 1 +/* 8031AC54 00317BB4 38 80 00 04 */ li r4, 4 +/* 8031AC58 00317BB8 38 A0 00 01 */ li r5, 1 +/* 8031AC5C 00317BBC 38 C0 00 00 */ li r6, 0 +/* 8031AC60 00317BC0 4B FF 0D F1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031AC64 00317BC4 48 00 00 28 */ b lbl_8031AC8C +lbl_8031AC68: +/* 8031AC68 00317BC8 54 83 EF FE */ rlwinm r3, r4, 0x1d, 0x1f, 0x1f +/* 8031AC6C 00317BCC 54 85 E7 FE */ rlwinm r5, r4, 0x1c, 0x1f, 0x1f +/* 8031AC70 00317BD0 38 80 00 03 */ li r4, 3 +/* 8031AC74 00317BD4 4B FF 0E 21 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031AC78 00317BD8 38 60 00 01 */ li r3, 1 +/* 8031AC7C 00317BDC 38 80 00 04 */ li r4, 4 +/* 8031AC80 00317BE0 38 A0 00 05 */ li r5, 5 +/* 8031AC84 00317BE4 38 C0 00 00 */ li r6, 0 +/* 8031AC88 00317BE8 4B FF 0D C9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_8031AC8C: +/* 8031AC8C 00317BEC 57 63 06 3E */ clrlwi r3, r27, 0x18 +/* 8031AC90 00317BF0 4B FE E0 01 */ bl SetNumTevStages__3CGXFUc +/* 8031AC94 00317BF4 38 60 00 01 */ li r3, 1 +/* 8031AC98 00317BF8 4B FE E1 7D */ bl SetNumTexGens__3CGXFUc +/* 8031AC9C 00317BFC 38 60 00 00 */ li r3, 0 +/* 8031ACA0 00317C00 38 80 00 00 */ li r4, 0 +/* 8031ACA4 00317C04 38 A0 00 00 */ li r5, 0 +/* 8031ACA8 00317C08 38 C0 00 04 */ li r6, 4 +/* 8031ACAC 00317C0C 4B FE DC A1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031ACB0 00317C10 38 60 00 00 */ li r3, 0 +/* 8031ACB4 00317C14 38 80 00 00 */ li r4, 0 +/* 8031ACB8 00317C18 38 A0 00 00 */ li r5, 0 +/* 8031ACBC 00317C1C 38 C0 00 01 */ li r6, 1 +/* 8031ACC0 00317C20 38 E0 00 00 */ li r7, 0 +/* 8031ACC4 00317C24 39 00 00 00 */ li r8, 0 +/* 8031ACC8 00317C28 39 20 00 02 */ li r9, 2 +/* 8031ACCC 00317C2C 4B FE E0 01 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8031ACD0 00317C30 38 60 00 00 */ li r3, 0 +/* 8031ACD4 00317C34 38 80 00 01 */ li r4, 1 +/* 8031ACD8 00317C38 38 A0 00 04 */ li r5, 4 +/* 8031ACDC 00317C3C 38 C0 00 3C */ li r6, 0x3c +/* 8031ACE0 00317C40 38 E0 00 00 */ li r7, 0 +/* 8031ACE4 00317C44 39 00 00 7D */ li r8, 0x7d +/* 8031ACE8 00317C48 4B FE D9 E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8031ACEC 00317C4C 38 60 00 06 */ li r3, 6 +/* 8031ACF0 00317C50 38 80 00 09 */ li r4, 9 +/* 8031ACF4 00317C54 38 A0 00 01 */ li r5, 1 +/* 8031ACF8 00317C58 38 C0 00 04 */ li r6, 4 +/* 8031ACFC 00317C5C 38 E0 00 00 */ li r7, 0 +/* 8031AD00 00317C60 48 05 CA 8D */ bl GXSetVtxAttrFmt +/* 8031AD04 00317C64 38 60 00 06 */ li r3, 6 +/* 8031AD08 00317C68 38 80 00 0B */ li r4, 0xb +/* 8031AD0C 00317C6C 38 A0 00 01 */ li r5, 1 +/* 8031AD10 00317C70 38 C0 00 05 */ li r6, 5 +/* 8031AD14 00317C74 38 E0 00 00 */ li r7, 0 +/* 8031AD18 00317C78 48 05 CA 75 */ bl GXSetVtxAttrFmt +/* 8031AD1C 00317C7C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8031AD20 00317C80 41 82 00 20 */ beq lbl_8031AD40 +/* 8031AD24 00317C84 38 60 00 06 */ li r3, 6 +/* 8031AD28 00317C88 38 80 00 0D */ li r4, 0xd +/* 8031AD2C 00317C8C 38 A0 00 01 */ li r5, 1 +/* 8031AD30 00317C90 38 C0 00 01 */ li r6, 1 +/* 8031AD34 00317C94 38 E0 00 01 */ li r7, 1 +/* 8031AD38 00317C98 48 05 CA 55 */ bl GXSetVtxAttrFmt +/* 8031AD3C 00317C9C 48 00 00 1C */ b lbl_8031AD58 +lbl_8031AD40: +/* 8031AD40 00317CA0 38 60 00 06 */ li r3, 6 +/* 8031AD44 00317CA4 38 80 00 0D */ li r4, 0xd +/* 8031AD48 00317CA8 38 A0 00 01 */ li r5, 1 +/* 8031AD4C 00317CAC 38 C0 00 04 */ li r6, 4 +/* 8031AD50 00317CB0 38 E0 00 00 */ li r7, 0 +/* 8031AD54 00317CB4 48 05 CA 39 */ bl GXSetVtxAttrFmt +lbl_8031AD58: +/* 8031AD58 00317CB8 80 6D 9D 0C */ lwz r3, lbl_805A88CC@sda21(r13) +/* 8031AD5C 00317CBC 80 1E 02 70 */ lwz r0, 0x270(r30) +/* 8031AD60 00317CC0 82 FE 00 34 */ lwz r23, 0x34(r30) +/* 8031AD64 00317CC4 7C 03 00 00 */ cmpw r3, r0 +/* 8031AD68 00317CC8 40 80 00 0C */ bge lbl_8031AD74 +/* 8031AD6C 00317CCC 38 7E 02 70 */ addi r3, r30, 0x270 +/* 8031AD70 00317CD0 48 00 00 08 */ b lbl_8031AD78 +lbl_8031AD74: +/* 8031AD74 00317CD4 38 6D 9D 0C */ addi r3, r13, lbl_805A88CC@sda21 +lbl_8031AD78: +/* 8031AD78 00317CD8 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031AD7C 00317CDC 82 A3 00 00 */ lwz r21, 0(r3) +/* 8031AD80 00317CE0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8031AD84 00317CE4 40 82 00 18 */ bne lbl_8031AD9C +/* 8031AD88 00317CE8 56 E5 14 3A */ rlwinm r5, r23, 2, 0x10, 0x1d +/* 8031AD8C 00317CEC 38 60 00 80 */ li r3, 0x80 +/* 8031AD90 00317CF0 38 80 00 06 */ li r4, 6 +/* 8031AD94 00317CF4 4B FE D7 F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8031AD98 00317CF8 48 00 00 1C */ b lbl_8031ADB4 +lbl_8031AD9C: +/* 8031AD9C 00317CFC 56 E0 10 3A */ slwi r0, r23, 2 +/* 8031ADA0 00317D00 38 60 00 80 */ li r3, 0x80 +/* 8031ADA4 00317D04 7C 15 01 D6 */ mullw r0, r21, r0 +/* 8031ADA8 00317D08 38 80 00 06 */ li r4, 6 +/* 8031ADAC 00317D0C 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8031ADB0 00317D10 4B FE D7 D5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +lbl_8031ADB4: +/* 8031ADB4 00317D14 C0 5E 00 80 */ lfs f2, 0x80(r30) +/* 8031ADB8 00317D18 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 8031ADBC 00317D1C C8 02 CA 08 */ lfd f0, lbl_805AE728@sda21(r2) +/* 8031ADC0 00317D20 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8031ADC4 00317D24 FC 20 0A 10 */ fabs f1, f1 +/* 8031ADC8 00317D28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031ADCC 00317D2C 7C 00 00 26 */ mfcr r0 +/* 8031ADD0 00317D30 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031ADD4 00317D34 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8031ADD8 00317D38 3A 80 00 00 */ li r20, 0 +/* 8031ADDC 00317D3C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8031ADE0 00317D40 7C 83 00 34 */ cntlzw r3, r4 +/* 8031ADE4 00317D44 54 78 D9 7E */ srwi r24, r3, 5 +/* 8031ADE8 00317D48 54 19 EF FF */ rlwinm. r25, r0, 0x1d, 0x1f, 0x1f +/* 8031ADEC 00317D4C 41 82 00 F4 */ beq lbl_8031AEE0 +/* 8031ADF0 00317D50 56 E3 20 36 */ slwi r3, r23, 4 +/* 8031ADF4 00317D54 80 01 00 00 */ lwz r0, 0(r1) +/* 8031ADF8 00317D58 7E 83 00 D0 */ neg r20, r3 +/* 8031ADFC 00317D5C 56 94 00 38 */ rlwinm r20, r20, 0, 0, 0x1c +/* 8031AE00 00317D60 7C 01 A1 6E */ stwux r0, r1, r20 +/* 8031AE04 00317D64 3A C0 00 00 */ li r22, 0 +/* 8031AE08 00317D68 3A 40 00 00 */ li r18, 0 +/* 8031AE0C 00317D6C 3A 81 00 08 */ addi r20, r1, 8 +/* 8031AE10 00317D70 7E 93 A3 78 */ mr r19, r20 +/* 8031AE14 00317D74 48 00 00 A8 */ b lbl_8031AEBC +lbl_8031AE18: +/* 8031AE18 00317D78 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031AE1C 00317D7C 38 7F 00 F0 */ addi r3, r31, 0xf0 +/* 8031AE20 00317D80 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 8031AE24 00317D84 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AE28 00317D88 7C C0 92 14 */ add r6, r0, r18 +/* 8031AE2C 00317D8C 38 BF 00 E4 */ addi r5, r31, 0xe4 +/* 8031AE30 00317D90 C0 06 00 08 */ lfs f0, 8(r6) +/* 8031AE34 00317D94 C0 86 00 14 */ lfs f4, 0x14(r6) +/* 8031AE38 00317D98 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8031AE3C 00317D9C EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031AE40 00317DA0 C0 66 00 18 */ lfs f3, 0x18(r6) +/* 8031AE44 00317DA4 C0 06 00 04 */ lfs f0, 4(r6) +/* 8031AE48 00317DA8 EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031AE4C 00317DAC C0 46 00 10 */ lfs f2, 0x10(r6) +/* 8031AE50 00317DB0 EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031AE54 00317DB4 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031AE58 00317DB8 D0 BF 00 D0 */ stfs f5, 0xd0(r31) +/* 8031AE5C 00317DBC EC A7 00 72 */ fmuls f5, f7, f1 +/* 8031AE60 00317DC0 EC 86 20 2A */ fadds f4, f6, f4 +/* 8031AE64 00317DC4 D0 3F 00 D4 */ stfs f1, 0xd4(r31) +/* 8031AE68 00317DC8 EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031AE6C 00317DCC EC 65 18 2A */ fadds f3, f5, f3 +/* 8031AE70 00317DD0 D0 1F 00 CC */ stfs f0, 0xcc(r31) +/* 8031AE74 00317DD4 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031AE78 00317DD8 D0 3F 00 D8 */ stfs f1, 0xd8(r31) +/* 8031AE7C 00317DDC D0 DF 00 DC */ stfs f6, 0xdc(r31) +/* 8031AE80 00317DE0 D0 BF 00 E0 */ stfs f5, 0xe0(r31) +/* 8031AE84 00317DE4 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 8031AE88 00317DE8 D0 9F 00 E8 */ stfs f4, 0xe8(r31) +/* 8031AE8C 00317DEC D0 7F 00 EC */ stfs f3, 0xec(r31) +/* 8031AE90 00317DF0 4B FF 7C 59 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031AE94 00317DF4 C0 1F 00 F0 */ lfs f0, 0xf0(r31) +/* 8031AE98 00317DF8 3A 52 00 38 */ addi r18, r18, 0x38 +/* 8031AE9C 00317DFC D0 13 00 04 */ stfs f0, 4(r19) +/* 8031AEA0 00317E00 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 8031AEA4 00317E04 D0 13 00 08 */ stfs f0, 8(r19) +/* 8031AEA8 00317E08 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 8031AEAC 00317E0C D0 13 00 0C */ stfs f0, 0xc(r19) +/* 8031AEB0 00317E10 B2 D3 00 00 */ sth r22, 0(r19) +/* 8031AEB4 00317E14 3A 73 00 10 */ addi r19, r19, 0x10 +/* 8031AEB8 00317E18 3A D6 00 01 */ addi r22, r22, 1 +lbl_8031AEBC: +/* 8031AEBC 00317E1C 7C 16 B8 00 */ cmpw r22, r23 +/* 8031AEC0 00317E20 41 80 FF 58 */ blt lbl_8031AE18 +/* 8031AEC4 00317E24 88 8D A8 BC */ lbz r4, lbl_805A947C@sda21(r13) +/* 8031AEC8 00317E28 56 E0 20 36 */ slwi r0, r23, 4 +/* 8031AECC 00317E2C 7E 83 A3 78 */ mr r3, r20 +/* 8031AED0 00317E30 38 BF 00 0C */ addi r5, r31, 0xc +/* 8031AED4 00317E34 98 9F 00 0C */ stb r4, 0xc(r31) +/* 8031AED8 00317E38 7C 94 02 14 */ add r4, r20, r0 +/* 8031AEDC 00317E3C 48 00 52 09 */ bl sub_803200e4 +lbl_8031AEE0: +/* 8031AEE0 00317E40 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031AEE4 00317E44 48 00 F8 65 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031AEE8 00317E48 88 7E 02 6C */ lbz r3, 0x26c(r30) +/* 8031AEEC 00317E4C 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 8031AEF0 00317E50 40 82 09 C0 */ bne lbl_8031B8B0 +/* 8031AEF4 00317E54 28 19 00 00 */ cmplwi r25, 0 +/* 8031AEF8 00317E58 40 82 00 6C */ bne lbl_8031AF64 +/* 8031AEFC 00317E5C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8031AF00 00317E60 41 82 00 64 */ beq lbl_8031AF64 +/* 8031AF04 00317E64 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8031AF08 00317E68 40 82 00 5C */ bne lbl_8031AF64 +/* 8031AF0C 00317E6C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031AF10 00317E70 41 82 00 2C */ beq lbl_8031AF3C +/* 8031AF14 00317E74 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8031AF18 00317E78 41 82 00 14 */ beq lbl_8031AF2C +/* 8031AF1C 00317E7C 7F C3 F3 78 */ mr r3, r30 +/* 8031AF20 00317E80 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF24 00317E84 48 00 11 ED */ bl RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform +/* 8031AF28 00317E88 48 00 0E F8 */ b lbl_8031BE20 +lbl_8031AF2C: +/* 8031AF2C 00317E8C 7F C3 F3 78 */ mr r3, r30 +/* 8031AF30 00317E90 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF34 00317E94 48 00 15 05 */ bl RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform +/* 8031AF38 00317E98 48 00 0E E8 */ b lbl_8031BE20 +lbl_8031AF3C: +/* 8031AF3C 00317E9C 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8031AF40 00317EA0 41 82 00 14 */ beq lbl_8031AF54 +/* 8031AF44 00317EA4 7F C3 F3 78 */ mr r3, r30 +/* 8031AF48 00317EA8 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF4C 00317EAC 48 00 0F B1 */ bl RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform +/* 8031AF50 00317EB0 48 00 0E D0 */ b lbl_8031BE20 +lbl_8031AF54: +/* 8031AF54 00317EB4 7F C3 F3 78 */ mr r3, r30 +/* 8031AF58 00317EB8 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF5C 00317EBC 48 00 13 2D */ bl RenderBasicParticlesRotTS__11CElementGenFRC10CTransform +/* 8031AF60 00317EC0 48 00 0E C0 */ b lbl_8031BE20 +lbl_8031AF64: +/* 8031AF64 00317EC4 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031AF68 00317EC8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8031AF6C 00317ECC 40 82 04 24 */ bne lbl_8031B390 +/* 8031AF70 00317ED0 7E 95 A3 78 */ mr r21, r20 +/* 8031AF74 00317ED4 57 9C 06 3E */ clrlwi r28, r28, 0x18 +/* 8031AF78 00317ED8 3A 60 00 00 */ li r19, 0 +/* 8031AF7C 00317EDC 3A 80 00 00 */ li r20, 0 +/* 8031AF80 00317EE0 48 00 04 04 */ b lbl_8031B384 +lbl_8031AF84: +/* 8031AF84 00317EE4 28 19 00 00 */ cmplwi r25, 0 +/* 8031AF88 00317EE8 41 82 00 18 */ beq lbl_8031AFA0 +/* 8031AF8C 00317EEC A0 15 00 00 */ lhz r0, 0(r21) +/* 8031AF90 00317EF0 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031AF94 00317EF4 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031AF98 00317EF8 7F 03 02 14 */ add r24, r3, r0 +/* 8031AF9C 00317EFC 48 00 00 0C */ b lbl_8031AFA8 +lbl_8031AFA0: +/* 8031AFA0 00317F00 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031AFA4 00317F04 7F 00 A2 14 */ add r24, r0, r20 +lbl_8031AFA8: +/* 8031AFA8 00317F08 C0 58 00 08 */ lfs f2, 8(r24) +/* 8031AFAC 00317F0C 38 7F 00 C0 */ addi r3, r31, 0xc0 +/* 8031AFB0 00317F10 C0 38 00 14 */ lfs f1, 0x14(r24) +/* 8031AFB4 00317F14 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AFB8 00317F18 C0 18 00 0C */ lfs f0, 0xc(r24) +/* 8031AFBC 00317F1C 38 BF 00 B4 */ addi r5, r31, 0xb4 +/* 8031AFC0 00317F20 C0 78 00 18 */ lfs f3, 0x18(r24) +/* 8031AFC4 00317F24 EC A2 08 28 */ fsubs f5, f2, f1 +/* 8031AFC8 00317F28 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 8031AFCC 00317F2C EC 80 18 28 */ fsubs f4, f0, f3 +/* 8031AFD0 00317F30 C0 18 00 04 */ lfs f0, 4(r24) +/* 8031AFD4 00317F34 EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031AFD8 00317F38 C0 58 00 10 */ lfs f2, 0x10(r24) +/* 8031AFDC 00317F3C D0 BF 00 A0 */ stfs f5, 0xa0(r31) +/* 8031AFE0 00317F40 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031AFE4 00317F44 EC A7 01 32 */ fmuls f5, f7, f4 +/* 8031AFE8 00317F48 D0 9F 00 A4 */ stfs f4, 0xa4(r31) +/* 8031AFEC 00317F4C EC 86 08 2A */ fadds f4, f6, f1 +/* 8031AFF0 00317F50 EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031AFF4 00317F54 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 8031AFF8 00317F58 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031AFFC 00317F5C D0 DF 00 AC */ stfs f6, 0xac(r31) +/* 8031B000 00317F60 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031B004 00317F64 D0 3F 00 A8 */ stfs f1, 0xa8(r31) +/* 8031B008 00317F68 D0 BF 00 B0 */ stfs f5, 0xb0(r31) +/* 8031B00C 00317F6C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 8031B010 00317F70 D0 9F 00 B8 */ stfs f4, 0xb8(r31) +/* 8031B014 00317F74 D0 7F 00 BC */ stfs f3, 0xbc(r31) +/* 8031B018 00317F78 4B FF 7A D1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031B01C 00317F7C 28 1C 00 00 */ cmplwi r28, 0 +/* 8031B020 00317F80 C3 7F 00 C0 */ lfs f27, 0xc0(r31) +/* 8031B024 00317F84 C3 9F 00 C4 */ lfs f28, 0xc4(r31) +/* 8031B028 00317F88 C3 BF 00 C8 */ lfs f29, 0xc8(r31) +/* 8031B02C 00317F8C 82 D8 00 34 */ lwz r22, 0x34(r24) +/* 8031B030 00317F90 40 82 01 F0 */ bne lbl_8031B220 +/* 8031B034 00317F94 80 98 00 28 */ lwz r4, 0x28(r24) +/* 8031B038 00317F98 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031B03C 00317F9C 80 18 00 00 */ lwz r0, 0(r24) +/* 8031B040 00317FA0 7C 64 18 50 */ subf r3, r4, r3 +/* 8031B044 00317FA4 3A 43 FF FF */ addi r18, r3, -1 +/* 8031B048 00317FA8 7C 64 00 50 */ subf r3, r4, r0 +/* 8031B04C 00317FAC 48 00 F7 2D */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031B050 00317FB0 7E 43 93 78 */ mr r3, r18 +/* 8031B054 00317FB4 48 00 F6 29 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031B058 00317FB8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B05C 00317FBC 7E 44 93 78 */ mr r4, r18 +/* 8031B060 00317FC0 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031B064 00317FC4 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031B068 00317FC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031B06C 00317FCC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031B070 00317FD0 7D 89 03 A6 */ mtctr r12 +/* 8031B074 00317FD4 4E 80 04 21 */ bctrl +/* 8031B078 00317FD8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031B07C 00317FDC 41 82 00 B4 */ beq lbl_8031B130 +/* 8031B080 00317FE0 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 8031B084 00317FE4 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031B088 00317FE8 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B08C 00317FEC EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031B090 00317FF0 EC 40 D8 2A */ fadds f2, f0, f27 +/* 8031B094 00317FF4 EC 60 E8 2A */ fadds f3, f0, f29 +/* 8031B098 00317FF8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B09C 00317FFC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B0A0 00318000 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B0A4 00318004 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B0A8 00318008 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B0AC 0031800C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B0B0 00318010 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B0B4 00318014 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B0B8 00318018 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B0BC 0031801C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8031B0C0 00318020 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B0C4 00318024 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B0C8 00318028 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B0CC 0031802C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B0D0 00318030 C0 3F 01 40 */ lfs f1, 0x140(r31) +/* 8031B0D4 00318034 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B0D8 00318038 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B0DC 0031803C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B0E0 00318040 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B0E4 00318044 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B0E8 00318048 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031B0EC 0031804C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B0F0 00318050 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B0F4 00318054 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B0F8 00318058 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B0FC 0031805C C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B100 00318060 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B104 00318064 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B108 00318068 EC 42 00 2A */ fadds f2, f2, f0 +/* 8031B10C 0031806C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B110 00318070 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B114 00318074 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B118 00318078 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B11C 0031807C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B120 00318080 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B124 00318084 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B128 00318088 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B12C 0031808C 48 00 02 4C */ b lbl_8031B378 +lbl_8031B130: +/* 8031B130 00318090 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 8031B134 00318094 C0 18 00 30 */ lfs f0, 0x30(r24) +/* 8031B138 00318098 C0 42 C9 F8 */ lfs f2, lbl_805AE718@sda21(r2) +/* 8031B13C 0031809C EE 41 00 32 */ fmuls f18, f1, f0 +/* 8031B140 003180A0 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B144 003180A4 EE 22 00 32 */ fmuls f17, f2, f0 +/* 8031B148 003180A8 FC 20 90 90 */ fmr f1, f18 +/* 8031B14C 003180AC 4B FF 9C A5 */ bl FastSinR__5CMathFf +/* 8031B150 003180B0 EE 71 00 72 */ fmuls f19, f17, f1 +/* 8031B154 003180B4 FC 20 90 90 */ fmr f1, f18 +/* 8031B158 003180B8 4B FF 9B ED */ bl FastCosR__5CMathFf +/* 8031B15C 003180BC EC 91 00 72 */ fmuls f4, f17, f1 +/* 8031B160 003180C0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031B164 003180C4 FC 00 98 50 */ fneg f0, f19 +/* 8031B168 003180C8 EC D3 20 2A */ fadds f6, f19, f4 +/* 8031B16C 003180CC EC E4 98 28 */ fsubs f7, f4, f19 +/* 8031B170 003180D0 EC 53 20 28 */ fsubs f2, f19, f4 +/* 8031B174 003180D4 EC 66 D8 2A */ fadds f3, f6, f27 +/* 8031B178 003180D8 EC 20 20 2A */ fadds f1, f0, f4 +/* 8031B17C 003180DC FC 00 20 50 */ fneg f0, f4 +/* 8031B180 003180E0 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B184 003180E4 EC 67 E8 2A */ fadds f3, f7, f29 +/* 8031B188 003180E8 EC A2 D8 2A */ fadds f5, f2, f27 +/* 8031B18C 003180EC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B190 003180F0 EC 00 98 28 */ fsubs f0, f0, f19 +/* 8031B194 003180F4 EC 86 E8 2A */ fadds f4, f6, f29 +/* 8031B198 003180F8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B19C 003180FC EC 7B 30 28 */ fsubs f3, f27, f6 +/* 8031B1A0 00318100 EC 5D 38 28 */ fsubs f2, f29, f7 +/* 8031B1A4 00318104 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B1A8 00318108 EC 21 D8 2A */ fadds f1, f1, f27 +/* 8031B1AC 0031810C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8031B1B0 00318110 C0 DF 01 48 */ lfs f6, 0x148(r31) +/* 8031B1B4 00318114 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8031B1B8 00318118 C0 DF 01 4C */ lfs f6, 0x14c(r31) +/* 8031B1BC 0031811C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8031B1C0 00318120 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B1C4 00318124 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B1C8 00318128 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8031B1CC 0031812C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B1D0 00318130 C0 BF 01 40 */ lfs f5, 0x140(r31) +/* 8031B1D4 00318134 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B1D8 00318138 C0 9F 01 4C */ lfs f4, 0x14c(r31) +/* 8031B1DC 0031813C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8031B1E0 00318140 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B1E4 00318144 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B1E8 00318148 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B1EC 0031814C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B1F0 00318150 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B1F4 00318154 C0 5F 01 44 */ lfs f2, 0x144(r31) +/* 8031B1F8 00318158 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B1FC 0031815C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B200 00318160 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B204 00318164 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B208 00318168 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B20C 0031816C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B210 00318170 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B214 00318174 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B218 00318178 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B21C 0031817C 48 00 01 5C */ b lbl_8031B378 +lbl_8031B220: +/* 8031B220 00318180 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031B224 00318184 41 82 00 98 */ beq lbl_8031B2BC +/* 8031B228 00318188 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 8031B22C 0031818C 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8031B230 00318190 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B234 00318194 38 A0 02 02 */ li r5, 0x202 +/* 8031B238 00318198 38 80 00 02 */ li r4, 2 +/* 8031B23C 0031819C 38 60 00 00 */ li r3, 0 +/* 8031B240 003181A0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031B244 003181A4 38 00 02 00 */ li r0, 0x200 +/* 8031B248 003181A8 EC 20 D8 2A */ fadds f1, f0, f27 +/* 8031B24C 003181AC EC 40 E8 2A */ fadds f2, f0, f29 +/* 8031B250 003181B0 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B254 003181B4 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B258 003181B8 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B25C 003181BC 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B260 003181C0 B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) +/* 8031B264 003181C4 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B268 003181C8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031B26C 003181CC D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B270 003181D0 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B274 003181D4 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B278 003181D8 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B27C 003181DC B0 86 80 00 */ sth r4, 0xCC008000@l(r6) +/* 8031B280 003181E0 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B284 003181E4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B288 003181E8 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8031B28C 003181EC D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B290 003181F0 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B294 003181F4 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B298 003181F8 B0 66 80 00 */ sth r3, 0xCC008000@l(r6) +/* 8031B29C 003181FC C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B2A0 00318200 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031B2A4 00318204 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B2A8 00318208 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B2AC 0031820C D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B2B0 00318210 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B2B4 00318214 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) +/* 8031B2B8 00318218 48 00 00 C0 */ b lbl_8031B378 +lbl_8031B2BC: +/* 8031B2BC 0031821C C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 8031B2C0 00318220 C0 18 00 30 */ lfs f0, 0x30(r24) +/* 8031B2C4 00318224 C0 42 C9 F8 */ lfs f2, lbl_805AE718@sda21(r2) +/* 8031B2C8 00318228 EE 41 00 32 */ fmuls f18, f1, f0 +/* 8031B2CC 0031822C C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B2D0 00318230 EE 22 00 32 */ fmuls f17, f2, f0 +/* 8031B2D4 00318234 FC 20 90 90 */ fmr f1, f18 +/* 8031B2D8 00318238 4B FF 9B 19 */ bl FastSinR__5CMathFf +/* 8031B2DC 0031823C EE 71 00 72 */ fmuls f19, f17, f1 +/* 8031B2E0 00318240 FC 20 90 90 */ fmr f1, f18 +/* 8031B2E4 00318244 4B FF 9A 61 */ bl FastCosR__5CMathFf +/* 8031B2E8 00318248 EC 11 00 72 */ fmuls f0, f17, f1 +/* 8031B2EC 0031824C 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8031B2F0 00318250 38 A0 02 02 */ li r5, 0x202 +/* 8031B2F4 00318254 38 80 00 02 */ li r4, 2 +/* 8031B2F8 00318258 38 60 00 00 */ li r3, 0 +/* 8031B2FC 0031825C 38 00 02 00 */ li r0, 0x200 +/* 8031B300 00318260 EC D3 00 2A */ fadds f6, f19, f0 +/* 8031B304 00318264 EC F3 00 28 */ fsubs f7, f19, f0 +/* 8031B308 00318268 EC 3B 30 2A */ fadds f1, f27, f6 +/* 8031B30C 0031826C EC 1D 38 28 */ fsubs f0, f29, f7 +/* 8031B310 00318270 EC BB 38 2A */ fadds f5, f27, f7 +/* 8031B314 00318274 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B318 00318278 EC 9D 30 2A */ fadds f4, f29, f6 +/* 8031B31C 0031827C EC 7B 30 28 */ fsubs f3, f27, f6 +/* 8031B320 00318280 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B324 00318284 EC 5D 38 2A */ fadds f2, f29, f7 +/* 8031B328 00318288 EC 3B 38 28 */ fsubs f1, f27, f7 +/* 8031B32C 0031828C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8031B330 00318290 EC 1D 30 28 */ fsubs f0, f29, f6 +/* 8031B334 00318294 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B338 00318298 B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) +/* 8031B33C 0031829C D0 A6 80 00 */ stfs f5, 0xCC008000@l(r6) +/* 8031B340 003182A0 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B344 003182A4 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) +/* 8031B348 003182A8 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B34C 003182AC B0 86 80 00 */ sth r4, 0xCC008000@l(r6) +/* 8031B350 003182B0 D0 66 80 00 */ stfs f3, 0xCC008000@l(r6) +/* 8031B354 003182B4 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B358 003182B8 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B35C 003182BC 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B360 003182C0 B0 66 80 00 */ sth r3, 0xCC008000@l(r6) +/* 8031B364 003182C4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B368 003182C8 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B36C 003182CC D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8031B370 003182D0 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B374 003182D4 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) +lbl_8031B378: +/* 8031B378 003182D8 3A B5 00 10 */ addi r21, r21, 0x10 +/* 8031B37C 003182DC 3A 94 00 38 */ addi r20, r20, 0x38 +/* 8031B380 003182E0 3A 73 00 01 */ addi r19, r19, 1 +lbl_8031B384: +/* 8031B384 003182E4 7C 13 B8 00 */ cmpw r19, r23 +/* 8031B388 003182E8 41 80 FB FC */ blt lbl_8031AF84 +/* 8031B38C 003182EC 48 00 0A 94 */ b lbl_8031BE20 +lbl_8031B390: +/* 8031B390 003182F0 C3 5F 03 38 */ lfs f26, 0x338(r31) +/* 8031B394 003182F4 57 9C 06 3E */ clrlwi r28, r28, 0x18 +/* 8031B398 003182F8 C3 3F 03 48 */ lfs f25, 0x348(r31) +/* 8031B39C 003182FC 3A 60 00 00 */ li r19, 0 +/* 8031B3A0 00318300 C3 1F 03 58 */ lfs f24, 0x358(r31) +/* 8031B3A4 00318304 3A A0 00 00 */ li r21, 0 +/* 8031B3A8 00318308 C2 FF 03 40 */ lfs f23, 0x340(r31) +/* 8031B3AC 0031830C C2 DF 03 50 */ lfs f22, 0x350(r31) +/* 8031B3B0 00318310 C2 BF 03 60 */ lfs f21, 0x360(r31) +/* 8031B3B4 00318314 C3 82 CA 10 */ lfs f28, lbl_805AE730@sda21(r2) +/* 8031B3B8 00318318 48 00 04 EC */ b lbl_8031B8A4 +lbl_8031B3BC: +/* 8031B3BC 0031831C 28 19 00 00 */ cmplwi r25, 0 +/* 8031B3C0 00318320 41 82 00 18 */ beq lbl_8031B3D8 +/* 8031B3C4 00318324 A0 14 00 00 */ lhz r0, 0(r20) +/* 8031B3C8 00318328 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031B3CC 0031832C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031B3D0 00318330 7E C3 02 14 */ add r22, r3, r0 +/* 8031B3D4 00318334 48 00 00 0C */ b lbl_8031B3E0 +lbl_8031B3D8: +/* 8031B3D8 00318338 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031B3DC 0031833C 7E C0 AA 14 */ add r22, r0, r21 +lbl_8031B3E0: +/* 8031B3E0 00318340 C0 36 00 04 */ lfs f1, 4(r22) +/* 8031B3E4 00318344 C0 B6 00 10 */ lfs f5, 0x10(r22) +/* 8031B3E8 00318348 C0 16 00 08 */ lfs f0, 8(r22) +/* 8031B3EC 0031834C C0 D6 00 14 */ lfs f6, 0x14(r22) +/* 8031B3F0 00318350 EC 81 28 28 */ fsubs f4, f1, f5 +/* 8031B3F4 00318354 C0 7E 00 80 */ lfs f3, 0x80(r30) +/* 8031B3F8 00318358 EC 40 30 28 */ fsubs f2, f0, f6 +/* 8031B3FC 0031835C C0 36 00 0C */ lfs f1, 0xc(r22) +/* 8031B400 00318360 C0 F6 00 18 */ lfs f7, 0x18(r22) +/* 8031B404 00318364 EC 03 01 32 */ fmuls f0, f3, f4 +/* 8031B408 00318368 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B40C 0031836C EC 81 38 28 */ fsubs f4, f1, f7 +/* 8031B410 00318370 EC 23 00 B2 */ fmuls f1, f3, f2 +/* 8031B414 00318374 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8031B418 00318378 EC 40 28 2A */ fadds f2, f0, f5 +/* 8031B41C 0031837C 83 16 00 34 */ lwz r24, 0x34(r22) +/* 8031B420 00318380 EC 03 01 32 */ fmuls f0, f3, f4 +/* 8031B424 00318384 EC 21 30 2A */ fadds f1, f1, f6 +/* 8031B428 00318388 28 00 00 00 */ cmplwi r0, 0 +/* 8031B42C 0031838C D0 5F 01 34 */ stfs f2, 0x134(r31) +/* 8031B430 00318390 EC 00 38 2A */ fadds f0, f0, f7 +/* 8031B434 00318394 D0 3F 01 38 */ stfs f1, 0x138(r31) +/* 8031B438 00318398 D0 1F 01 3C */ stfs f0, 0x13c(r31) +/* 8031B43C 0031839C 40 82 00 0C */ bne lbl_8031B448 +/* 8031B440 003183A0 C3 62 C9 F0 */ lfs f27, lbl_805AE710@sda21(r2) +/* 8031B444 003183A4 48 00 00 08 */ b lbl_8031B44C +lbl_8031B448: +/* 8031B448 003183A8 C3 76 00 30 */ lfs f27, 0x30(r22) +lbl_8031B44C: +/* 8031B44C 003183AC C0 96 00 1C */ lfs f4, 0x1c(r22) +/* 8031B450 003183B0 C0 76 00 20 */ lfs f3, 0x20(r22) +/* 8031B454 003183B4 EC 24 01 32 */ fmuls f1, f4, f4 +/* 8031B458 003183B8 C0 B6 00 24 */ lfs f5, 0x24(r22) +/* 8031B45C 003183BC EC 03 00 F2 */ fmuls f0, f3, f3 +/* 8031B460 003183C0 EC 45 01 72 */ fmuls f2, f5, f5 +/* 8031B464 003183C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031B468 003183C8 EC 02 00 2A */ fadds f0, f2, f0 +/* 8031B46C 003183CC FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8031B470 003183D0 40 81 00 1C */ ble lbl_8031B48C +/* 8031B474 003183D4 FC 00 00 34 */ frsqrte f0, f0 +/* 8031B478 003183D8 FC 00 00 18 */ frsp f0, f0 +/* 8031B47C 003183DC EE 80 01 32 */ fmuls f20, f0, f4 +/* 8031B480 003183E0 EE 60 00 F2 */ fmuls f19, f0, f3 +/* 8031B484 003183E4 EE 40 01 72 */ fmuls f18, f0, f5 +/* 8031B488 003183E8 48 00 00 74 */ b lbl_8031B4FC +lbl_8031B48C: +/* 8031B48C 003183EC C0 56 00 08 */ lfs f2, 8(r22) +/* 8031B490 003183F0 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8031B494 003183F4 C0 36 00 04 */ lfs f1, 4(r22) +/* 8031B498 003183F8 EC A2 00 28 */ fsubs f5, f2, f0 +/* 8031B49C 003183FC C0 16 00 10 */ lfs f0, 0x10(r22) +/* 8031B4A0 00318400 C0 56 00 0C */ lfs f2, 0xc(r22) +/* 8031B4A4 00318404 EC 61 00 28 */ fsubs f3, f1, f0 +/* 8031B4A8 00318408 C0 36 00 18 */ lfs f1, 0x18(r22) +/* 8031B4AC 0031840C EC 05 01 72 */ fmuls f0, f5, f5 +/* 8031B4B0 00318410 EC 82 08 28 */ fsubs f4, f2, f1 +/* 8031B4B4 00318414 D0 BF 00 94 */ stfs f5, 0x94(r31) +/* 8031B4B8 00318418 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 8031B4BC 0031841C D0 7F 00 90 */ stfs f3, 0x90(r31) +/* 8031B4C0 00318420 EC 44 01 32 */ fmuls f2, f4, f4 +/* 8031B4C4 00318424 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031B4C8 00318428 D0 9F 00 98 */ stfs f4, 0x98(r31) +/* 8031B4CC 0031842C EC 02 00 2A */ fadds f0, f2, f0 +/* 8031B4D0 00318430 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8031B4D4 00318434 40 81 00 1C */ ble lbl_8031B4F0 +/* 8031B4D8 00318438 FC 00 00 34 */ frsqrte f0, f0 +/* 8031B4DC 0031843C FC 00 00 18 */ frsp f0, f0 +/* 8031B4E0 00318440 EE 80 00 F2 */ fmuls f20, f0, f3 +/* 8031B4E4 00318444 EE 60 01 72 */ fmuls f19, f0, f5 +/* 8031B4E8 00318448 EE 40 01 32 */ fmuls f18, f0, f4 +/* 8031B4EC 0031844C 48 00 00 10 */ b lbl_8031B4FC +lbl_8031B4F0: +/* 8031B4F0 00318450 C2 82 C9 E8 */ lfs f20, lbl_805AE708@sda21(r2) +/* 8031B4F4 00318454 C2 42 C9 F0 */ lfs f18, lbl_805AE710@sda21(r2) +/* 8031B4F8 00318458 FE 60 A0 90 */ fmr f19, f20 +lbl_8031B4FC: +/* 8031B4FC 0031845C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B500 00318460 C0 96 00 2C */ lfs f4, 0x2c(r22) +/* 8031B504 00318464 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8031B508 00318468 EF E4 05 32 */ fmuls f31, f4, f20 +/* 8031B50C 0031846C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031B510 00318470 EF C4 04 F2 */ fmuls f30, f4, f19 +/* 8031B514 00318474 EF A4 04 B2 */ fmuls f29, f4, f18 +/* 8031B518 00318478 41 82 00 E4 */ beq lbl_8031B5FC +/* 8031B51C 0031847C EC 58 05 32 */ fmuls f2, f24, f20 +/* 8031B520 00318480 C0 02 CA 10 */ lfs f0, lbl_805AE730@sda21(r2) +/* 8031B524 00318484 EC 39 04 B2 */ fmuls f1, f25, f18 +/* 8031B528 00318488 EC 7A 04 F2 */ fmuls f3, f26, f19 +/* 8031B52C 0031848C EC B2 16 B8 */ fmsubs f5, f18, f26, f2 +/* 8031B530 00318490 EC 53 0E 38 */ fmsubs f2, f19, f24, f1 +/* 8031B534 00318494 EC 74 1E 78 */ fmsubs f3, f20, f25, f3 +/* 8031B538 00318498 EC 25 01 72 */ fmuls f1, f5, f5 +/* 8031B53C 0031849C EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8031B540 003184A0 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8031B544 003184A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031B548 003184A8 40 81 00 24 */ ble lbl_8031B56C +/* 8031B54C 003184AC FC 20 08 34 */ frsqrte f1, f1 +/* 8031B550 003184B0 EC 04 06 F2 */ fmuls f0, f4, f27 +/* 8031B554 003184B4 FC 20 08 18 */ frsp f1, f1 +/* 8031B558 003184B8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031B55C 003184BC EE 42 00 32 */ fmuls f18, f2, f0 +/* 8031B560 003184C0 EE 25 00 32 */ fmuls f17, f5, f0 +/* 8031B564 003184C4 EE 63 00 32 */ fmuls f19, f3, f0 +/* 8031B568 003184C8 48 00 00 B8 */ b lbl_8031B620 +lbl_8031B56C: +/* 8031B56C 003184CC C0 56 00 08 */ lfs f2, 8(r22) +/* 8031B570 003184D0 38 7F 00 84 */ addi r3, r31, 0x84 +/* 8031B574 003184D4 C0 36 00 0C */ lfs f1, 0xc(r22) +/* 8031B578 003184D8 38 9F 00 78 */ addi r4, r31, 0x78 +/* 8031B57C 003184DC C0 16 00 04 */ lfs f0, 4(r22) +/* 8031B580 003184E0 EC 56 10 28 */ fsubs f2, f22, f2 +/* 8031B584 003184E4 EC 35 08 28 */ fsubs f1, f21, f1 +/* 8031B588 003184E8 EC 17 00 28 */ fsubs f0, f23, f0 +/* 8031B58C 003184EC D0 5F 00 7C */ stfs f2, 0x7c(r31) +/* 8031B590 003184F0 D0 1F 00 78 */ stfs f0, 0x78(r31) +/* 8031B594 003184F4 D0 3F 00 80 */ stfs f1, 0x80(r31) +/* 8031B598 003184F8 4B FF 92 B9 */ bl AsNormalized__9CVector3fCFv +/* 8031B59C 003184FC C0 BF 00 8C */ lfs f5, 0x8c(r31) +/* 8031B5A0 00318500 C0 9F 00 88 */ lfs f4, 0x88(r31) +/* 8031B5A4 00318504 EC 45 05 32 */ fmuls f2, f5, f20 +/* 8031B5A8 00318508 C0 DF 00 84 */ lfs f6, 0x84(r31) +/* 8031B5AC 0031850C EC 24 04 B2 */ fmuls f1, f4, f18 +/* 8031B5B0 00318510 C0 02 CA 10 */ lfs f0, lbl_805AE730@sda21(r2) +/* 8031B5B4 00318514 EC 66 04 F2 */ fmuls f3, f6, f19 +/* 8031B5B8 00318518 EE 32 11 B8 */ fmsubs f17, f18, f6, f2 +/* 8031B5BC 0031851C EE 53 09 78 */ fmsubs f18, f19, f5, f1 +/* 8031B5C0 00318520 EE 74 19 38 */ fmsubs f19, f20, f4, f3 +/* 8031B5C4 00318524 EC 31 04 72 */ fmuls f1, f17, f17 +/* 8031B5C8 00318528 EC 32 0C BA */ fmadds f1, f18, f18, f1 +/* 8031B5CC 0031852C EC 33 0C FA */ fmadds f1, f19, f19, f1 +/* 8031B5D0 00318530 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031B5D4 00318534 40 81 00 4C */ ble lbl_8031B620 +/* 8031B5D8 00318538 FC 20 08 34 */ frsqrte f1, f1 +/* 8031B5DC 0031853C C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031B5E0 00318540 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 8031B5E4 00318544 FC 20 08 18 */ frsp f1, f1 +/* 8031B5E8 00318548 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031B5EC 0031854C EE 52 00 32 */ fmuls f18, f18, f0 +/* 8031B5F0 00318550 EE 31 00 32 */ fmuls f17, f17, f0 +/* 8031B5F4 00318554 EE 73 00 32 */ fmuls f19, f19, f0 +/* 8031B5F8 00318558 48 00 00 28 */ b lbl_8031B620 +lbl_8031B5FC: +/* 8031B5FC 0031855C EC 59 07 72 */ fmuls f2, f25, f29 +/* 8031B600 00318560 EC 38 07 F2 */ fmuls f1, f24, f31 +/* 8031B604 00318564 EC 1A 07 B2 */ fmuls f0, f26, f30 +/* 8031B608 00318568 EC 5E 16 38 */ fmsubs f2, f30, f24, f2 +/* 8031B60C 0031856C EC 3D 0E B8 */ fmsubs f1, f29, f26, f1 +/* 8031B610 00318570 EC 1F 06 78 */ fmsubs f0, f31, f25, f0 +/* 8031B614 00318574 EE 5B 00 B2 */ fmuls f18, f27, f2 +/* 8031B618 00318578 EE 3B 00 72 */ fmuls f17, f27, f1 +/* 8031B61C 0031857C EE 7B 00 32 */ fmuls f19, f27, f0 +lbl_8031B620: +/* 8031B620 00318580 28 1C 00 00 */ cmplwi r28, 0 +/* 8031B624 00318584 40 82 01 70 */ bne lbl_8031B794 +/* 8031B628 00318588 80 96 00 28 */ lwz r4, 0x28(r22) +/* 8031B62C 0031858C 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031B630 00318590 80 16 00 00 */ lwz r0, 0(r22) +/* 8031B634 00318594 7C 64 18 50 */ subf r3, r4, r3 +/* 8031B638 00318598 3A 43 FF FF */ addi r18, r3, -1 +/* 8031B63C 0031859C 7C 64 00 50 */ subf r3, r4, r0 +/* 8031B640 003185A0 48 00 F1 39 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031B644 003185A4 7E 43 93 78 */ mr r3, r18 +/* 8031B648 003185A8 48 00 F0 35 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031B64C 003185AC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B650 003185B0 7E 44 93 78 */ mr r4, r18 +/* 8031B654 003185B4 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031B658 003185B8 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031B65C 003185BC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031B660 003185C0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031B664 003185C4 7D 89 03 A6 */ mtctr r12 +/* 8031B668 003185C8 4E 80 04 21 */ bctrl +/* 8031B66C 003185CC C0 C2 C9 F8 */ lfs f6, lbl_805AE718@sda21(r2) +/* 8031B670 003185D0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031B674 003185D4 C0 BF 01 34 */ lfs f5, 0x134(r31) +/* 8031B678 003185D8 EC 26 04 B2 */ fmuls f1, f6, f18 +/* 8031B67C 003185DC C0 9F 01 38 */ lfs f4, 0x138(r31) +/* 8031B680 003185E0 EC 06 04 72 */ fmuls f0, f6, f17 +/* 8031B684 003185E4 C0 7F 01 3C */ lfs f3, 0x13c(r31) +/* 8031B688 003185E8 EC 46 04 F2 */ fmuls f2, f6, f19 +/* 8031B68C 003185EC EC A5 08 2A */ fadds f5, f5, f1 +/* 8031B690 003185F0 EC 26 07 F2 */ fmuls f1, f6, f31 +/* 8031B694 003185F4 EC 84 00 2A */ fadds f4, f4, f0 +/* 8031B698 003185F8 EC 06 07 B2 */ fmuls f0, f6, f30 +/* 8031B69C 003185FC D0 BF 01 34 */ stfs f5, 0x134(r31) +/* 8031B6A0 00318600 EC 25 08 2A */ fadds f1, f5, f1 +/* 8031B6A4 00318604 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031B6A8 00318608 D0 9F 01 38 */ stfs f4, 0x138(r31) +/* 8031B6AC 0031860C ED 64 00 2A */ fadds f11, f4, f0 +/* 8031B6B0 00318610 EC 06 07 72 */ fmuls f0, f6, f29 +/* 8031B6B4 00318614 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B6B8 00318618 ED 21 F8 28 */ fsubs f9, f1, f31 +/* 8031B6BC 0031861C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8031B6C0 00318620 ED 0B F0 28 */ fsubs f8, f11, f30 +/* 8031B6C4 00318624 ED 42 00 2A */ fadds f10, f2, f0 +/* 8031B6C8 00318628 EC C9 90 28 */ fsubs f6, f9, f18 +/* 8031B6CC 0031862C D0 5F 01 3C */ stfs f2, 0x13c(r31) +/* 8031B6D0 00318630 EC A8 88 28 */ fsubs f5, f8, f17 +/* 8031B6D4 00318634 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 8031B6D8 00318638 EC EA E8 28 */ fsubs f7, f10, f29 +/* 8031B6DC 0031863C EC 66 F8 2A */ fadds f3, f6, f31 +/* 8031B6E0 00318640 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B6E4 00318644 EC 45 F0 2A */ fadds f2, f5, f30 +/* 8031B6E8 00318648 EC 87 98 28 */ fsubs f4, f7, f19 +/* 8031B6EC 0031864C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B6F0 00318650 D0 3F 01 34 */ stfs f1, 0x134(r31) +/* 8031B6F4 00318654 EC 24 E8 2A */ fadds f1, f4, f29 +/* 8031B6F8 00318658 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B6FC 0031865C C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B700 00318660 D1 7F 01 38 */ stfs f11, 0x138(r31) +/* 8031B704 00318664 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B708 00318668 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 8031B70C 0031866C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 8031B710 00318670 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 8031B714 00318674 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B718 00318678 C0 1F 01 40 */ lfs f0, 0x140(r31) +/* 8031B71C 0031867C D1 5F 01 3C */ stfs f10, 0x13c(r31) +/* 8031B720 00318680 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B724 00318684 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B728 00318688 D1 3F 01 34 */ stfs f9, 0x134(r31) +/* 8031B72C 0031868C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B730 00318690 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8031B734 00318694 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B738 00318698 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8031B73C 0031869C 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B740 003186A0 C0 1F 01 40 */ lfs f0, 0x140(r31) +/* 8031B744 003186A4 D1 1F 01 38 */ stfs f8, 0x138(r31) +/* 8031B748 003186A8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B74C 003186AC C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B750 003186B0 D0 FF 01 3C */ stfs f7, 0x13c(r31) +/* 8031B754 003186B4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B758 003186B8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B75C 003186BC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B760 003186C0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B764 003186C4 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B768 003186C8 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B76C 003186CC D0 DF 01 34 */ stfs f6, 0x134(r31) +/* 8031B770 003186D0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B774 003186D4 D0 BF 01 38 */ stfs f5, 0x138(r31) +/* 8031B778 003186D8 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B77C 003186DC D0 9F 01 3C */ stfs f4, 0x13c(r31) +/* 8031B780 003186E0 D0 7F 01 34 */ stfs f3, 0x134(r31) +/* 8031B784 003186E4 D0 5F 01 38 */ stfs f2, 0x138(r31) +/* 8031B788 003186E8 D0 3F 01 3C */ stfs f1, 0x13c(r31) +/* 8031B78C 003186EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B790 003186F0 48 00 01 08 */ b lbl_8031B898 +lbl_8031B794: +/* 8031B794 003186F4 C0 C2 C9 F8 */ lfs f6, lbl_805AE718@sda21(r2) +/* 8031B798 003186F8 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8031B79C 003186FC C0 BF 01 34 */ lfs f5, 0x134(r31) +/* 8031B7A0 00318700 38 A0 02 02 */ li r5, 0x202 +/* 8031B7A4 00318704 EC 06 04 B2 */ fmuls f0, f6, f18 +/* 8031B7A8 00318708 C0 9F 01 38 */ lfs f4, 0x138(r31) +/* 8031B7AC 0031870C EC 26 04 72 */ fmuls f1, f6, f17 +/* 8031B7B0 00318710 C0 7F 01 3C */ lfs f3, 0x13c(r31) +/* 8031B7B4 00318714 EC 46 04 F2 */ fmuls f2, f6, f19 +/* 8031B7B8 00318718 38 80 00 02 */ li r4, 2 +/* 8031B7BC 0031871C EC A5 00 2A */ fadds f5, f5, f0 +/* 8031B7C0 00318720 38 60 00 00 */ li r3, 0 +/* 8031B7C4 00318724 EC 06 07 F2 */ fmuls f0, f6, f31 +/* 8031B7C8 00318728 38 00 02 00 */ li r0, 0x200 +/* 8031B7CC 0031872C EC 84 08 2A */ fadds f4, f4, f1 +/* 8031B7D0 00318730 EC 26 07 B2 */ fmuls f1, f6, f30 +/* 8031B7D4 00318734 ED 65 00 2A */ fadds f11, f5, f0 +/* 8031B7D8 00318738 D0 BF 01 34 */ stfs f5, 0x134(r31) +/* 8031B7DC 0031873C ED 83 10 2A */ fadds f12, f3, f2 +/* 8031B7E0 00318740 EC 06 07 72 */ fmuls f0, f6, f29 +/* 8031B7E4 00318744 D0 9F 01 38 */ stfs f4, 0x138(r31) +/* 8031B7E8 00318748 ED 44 08 2A */ fadds f10, f4, f1 +/* 8031B7EC 0031874C D1 66 80 00 */ stfs f11, 0xCC008000@l(r6) +/* 8031B7F0 00318750 ED 0B F8 28 */ fsubs f8, f11, f31 +/* 8031B7F4 00318754 ED 2C 00 2A */ fadds f9, f12, f0 +/* 8031B7F8 00318758 D1 46 80 00 */ stfs f10, 0xCC008000@l(r6) +/* 8031B7FC 0031875C EC EA F0 28 */ fsubs f7, f10, f30 +/* 8031B800 00318760 EC A8 90 28 */ fsubs f5, f8, f18 +/* 8031B804 00318764 D1 26 80 00 */ stfs f9, 0xCC008000@l(r6) +/* 8031B808 00318768 EC C9 E8 28 */ fsubs f6, f9, f29 +/* 8031B80C 0031876C EC 87 88 28 */ fsubs f4, f7, f17 +/* 8031B810 00318770 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B814 00318774 EC 45 F8 2A */ fadds f2, f5, f31 +/* 8031B818 00318778 EC 66 98 28 */ fsubs f3, f6, f19 +/* 8031B81C 0031877C B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) +/* 8031B820 00318780 EC 24 F0 2A */ fadds f1, f4, f30 +/* 8031B824 00318784 D1 06 80 00 */ stfs f8, 0xCC008000@l(r6) +/* 8031B828 00318788 EC 03 E8 2A */ fadds f0, f3, f29 +/* 8031B82C 0031878C D0 E6 80 00 */ stfs f7, 0xCC008000@l(r6) +/* 8031B830 00318790 D0 C6 80 00 */ stfs f6, 0xCC008000@l(r6) +/* 8031B834 00318794 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B838 00318798 B0 86 80 00 */ sth r4, 0xCC008000@l(r6) +/* 8031B83C 0031879C D0 A6 80 00 */ stfs f5, 0xCC008000@l(r6) +/* 8031B840 003187A0 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) +/* 8031B844 003187A4 D0 66 80 00 */ stfs f3, 0xCC008000@l(r6) +/* 8031B848 003187A8 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B84C 003187AC B0 66 80 00 */ sth r3, 0xCC008000@l(r6) +/* 8031B850 003187B0 D1 9F 01 3C */ stfs f12, 0x13c(r31) +/* 8031B854 003187B4 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B858 003187B8 D1 7F 01 34 */ stfs f11, 0x134(r31) +/* 8031B85C 003187BC D1 5F 01 38 */ stfs f10, 0x138(r31) +/* 8031B860 003187C0 D1 3F 01 3C */ stfs f9, 0x13c(r31) +/* 8031B864 003187C4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B868 003187C8 D1 1F 01 34 */ stfs f8, 0x134(r31) +/* 8031B86C 003187CC D0 FF 01 38 */ stfs f7, 0x138(r31) +/* 8031B870 003187D0 D0 DF 01 3C */ stfs f6, 0x13c(r31) +/* 8031B874 003187D4 D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8031B878 003187D8 D0 BF 01 34 */ stfs f5, 0x134(r31) +/* 8031B87C 003187DC D0 9F 01 38 */ stfs f4, 0x138(r31) +/* 8031B880 003187E0 D0 7F 01 3C */ stfs f3, 0x13c(r31) +/* 8031B884 003187E4 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B888 003187E8 D0 5F 01 34 */ stfs f2, 0x134(r31) +/* 8031B88C 003187EC D0 3F 01 38 */ stfs f1, 0x138(r31) +/* 8031B890 003187F0 D0 1F 01 3C */ stfs f0, 0x13c(r31) +/* 8031B894 003187F4 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) +lbl_8031B898: +/* 8031B898 003187F8 3A 94 00 10 */ addi r20, r20, 0x10 +/* 8031B89C 003187FC 3A B5 00 38 */ addi r21, r21, 0x38 +/* 8031B8A0 00318800 3A 73 00 01 */ addi r19, r19, 1 +lbl_8031B8A4: +/* 8031B8A4 00318804 7C 13 B8 00 */ cmpw r19, r23 +/* 8031B8A8 00318808 41 80 FB 14 */ blt lbl_8031B3BC +/* 8031B8AC 0031880C 48 00 05 74 */ b lbl_8031BE20 +lbl_8031B8B0: +/* 8031B8B0 00318810 6E A3 80 00 */ xoris r3, r21, 0x8000 +/* 8031B8B4 00318814 3C 00 43 30 */ lis r0, 0x4330 +/* 8031B8B8 00318818 90 7F 03 6C */ stw r3, 0x36c(r31) +/* 8031B8BC 0031881C 57 9C 06 3E */ clrlwi r28, r28, 0x18 +/* 8031B8C0 00318820 C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) +/* 8031B8C4 00318824 3A 60 00 00 */ li r19, 0 +/* 8031B8C8 00318828 90 1F 03 68 */ stw r0, 0x368(r31) +/* 8031B8CC 0031882C 3A 80 00 00 */ li r20, 0 +/* 8031B8D0 00318830 C0 42 C9 F0 */ lfs f2, lbl_805AE710@sda21(r2) +/* 8031B8D4 00318834 C8 1F 03 68 */ lfd f0, 0x368(r31) +/* 8031B8D8 00318838 C3 82 CA 14 */ lfs f28, lbl_805AE734@sda21(r2) +/* 8031B8DC 0031883C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8031B8E0 00318840 C3 A2 C9 EC */ lfs f29, lbl_805AE70C@sda21(r2) +/* 8031B8E4 00318844 EE E2 00 24 */ fdivs f23, f2, f0 +/* 8031B8E8 00318848 48 00 05 30 */ b lbl_8031BE18 +lbl_8031B8EC: +/* 8031B8EC 0031884C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031B8F0 00318850 C0 7E 00 80 */ lfs f3, 0x80(r30) +/* 8031B8F4 00318854 7E C0 A2 14 */ add r22, r0, r20 +/* 8031B8F8 00318858 C0 36 00 04 */ lfs f1, 4(r22) +/* 8031B8FC 0031885C C0 56 00 10 */ lfs f2, 0x10(r22) +/* 8031B900 00318860 C0 16 00 08 */ lfs f0, 8(r22) +/* 8031B904 00318864 EC 81 10 28 */ fsubs f4, f1, f2 +/* 8031B908 00318868 C0 F6 00 14 */ lfs f7, 0x14(r22) +/* 8031B90C 0031886C C0 36 00 0C */ lfs f1, 0xc(r22) +/* 8031B910 00318870 EC A0 38 28 */ fsubs f5, f0, f7 +/* 8031B914 00318874 C1 16 00 18 */ lfs f8, 0x18(r22) +/* 8031B918 00318878 EC 03 01 32 */ fmuls f0, f3, f4 +/* 8031B91C 0031887C EC C1 40 28 */ fsubs f6, f1, f8 +/* 8031B920 00318880 EC 23 01 72 */ fmuls f1, f3, f5 +/* 8031B924 00318884 EC 40 10 2A */ fadds f2, f0, f2 +/* 8031B928 00318888 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 8031B92C 0031888C EC 21 38 2A */ fadds f1, f1, f7 +/* 8031B930 00318890 D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031B934 00318894 EE 37 01 32 */ fmuls f17, f23, f4 +/* 8031B938 00318898 EC 00 40 2A */ fadds f0, f0, f8 +/* 8031B93C 0031889C D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031B940 003188A0 EE 57 01 72 */ fmuls f18, f23, f5 +/* 8031B944 003188A4 EE 77 01 B2 */ fmuls f19, f23, f6 +/* 8031B948 003188A8 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031B94C 003188AC 80 16 00 34 */ lwz r0, 0x34(r22) +/* 8031B950 003188B0 90 1F 00 34 */ stw r0, 0x34(r31) +/* 8031B954 003188B4 E0 1F A0 37 */ psq_l f0, 55(r31), 1, qr2 +/* 8031B958 003188B8 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 8031B95C 003188BC EC 17 00 32 */ fmuls f0, f23, f0 +/* 8031B960 003188C0 EF 7C 00 32 */ fmuls f27, f28, f0 +/* 8031B964 003188C4 F3 7F A0 08 */ psq_st f27, 8(r31), 1, qr2 +/* 8031B968 003188C8 28 1C 00 00 */ cmplwi r28, 0 +/* 8031B96C 003188CC 88 1F 00 08 */ lbz r0, 8(r31) +/* 8031B970 003188D0 98 1F 00 37 */ stb r0, 0x37(r31) +/* 8031B974 003188D4 83 1F 00 34 */ lwz r24, 0x34(r31) +/* 8031B978 003188D8 40 82 02 98 */ bne lbl_8031BC10 +/* 8031B97C 003188DC 80 96 00 28 */ lwz r4, 0x28(r22) +/* 8031B980 003188E0 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031B984 003188E4 80 16 00 00 */ lwz r0, 0(r22) +/* 8031B988 003188E8 7C 64 18 50 */ subf r3, r4, r3 +/* 8031B98C 003188EC 3A 43 FF FF */ addi r18, r3, -1 +/* 8031B990 003188F0 7C 64 00 50 */ subf r3, r4, r0 +/* 8031B994 003188F4 48 00 ED E5 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031B998 003188F8 7E 43 93 78 */ mr r3, r18 +/* 8031B99C 003188FC 48 00 EC E1 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031B9A0 00318900 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B9A4 00318904 7E 44 93 78 */ mr r4, r18 +/* 8031B9A8 00318908 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031B9AC 0031890C 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031B9B0 00318910 81 83 00 00 */ lwz r12, 0(r3) +/* 8031B9B4 00318914 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031B9B8 00318918 7D 89 03 A6 */ mtctr r12 +/* 8031B9BC 0031891C 4E 80 04 21 */ bctrl +/* 8031B9C0 00318920 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031B9C4 00318924 41 82 01 08 */ beq lbl_8031BACC +/* 8031B9C8 00318928 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031B9CC 0031892C 3B 20 00 00 */ li r25, 0 +/* 8031B9D0 00318930 3E 40 CC 01 */ lis r18, 0xcc01 +/* 8031B9D4 00318934 48 00 00 EC */ b lbl_8031BAC0 +lbl_8031B9D8: +/* 8031B9D8 00318938 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031B9DC 0031893C 38 7F 00 6C */ addi r3, r31, 0x6c +/* 8031B9E0 00318940 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031B9E4 00318944 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031B9E8 00318948 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031B9EC 0031894C EC 42 88 2A */ fadds f2, f2, f17 +/* 8031B9F0 00318950 EC 21 90 2A */ fadds f1, f1, f18 +/* 8031B9F4 00318954 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031B9F8 00318958 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031B9FC 0031895C D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BA00 00318960 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BA04 00318964 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BA08 00318968 4B FF 70 E1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BA0C 0031896C C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA10 00318970 3B 39 00 01 */ addi r25, r25, 1 +/* 8031BA14 00318974 C0 3F 00 6C */ lfs f1, 0x6c(r31) +/* 8031BA18 00318978 EC 7E 00 32 */ fmuls f3, f30, f0 +/* 8031BA1C 0031897C C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 8031BA20 00318980 C0 5F 00 70 */ lfs f2, 0x70(r31) +/* 8031BA24 00318984 EC 83 08 2A */ fadds f4, f3, f1 +/* 8031BA28 00318988 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031BA2C 0031898C D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BA30 00318990 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BA34 00318994 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BA38 00318998 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BA3C 0031899C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031BA40 003189A0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA44 003189A4 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031BA48 003189A8 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA4C 003189AC C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA50 003189B0 EC 84 00 28 */ fsubs f4, f4, f0 +/* 8031BA54 003189B4 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BA58 003189B8 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BA5C 003189BC D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BA60 003189C0 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BA64 003189C4 C0 3F 01 40 */ lfs f1, 0x140(r31) +/* 8031BA68 003189C8 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031BA6C 003189CC C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031BA70 003189D0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA74 003189D4 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA78 003189D8 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BA7C 003189DC EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031BA80 003189E0 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BA84 003189E4 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BA88 003189E8 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BA8C 003189EC D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031BA90 003189F0 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031BA94 003189F4 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA98 003189F8 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA9C 003189FC EC 84 00 2A */ fadds f4, f4, f0 +/* 8031BAA0 00318A00 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BAA4 00318A04 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BAA8 00318A08 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BAAC 00318A0C 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BAB0 00318A10 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031BAB4 00318A14 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BAB8 00318A18 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031BABC 00318A1C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +lbl_8031BAC0: +/* 8031BAC0 00318A20 7C 19 A8 00 */ cmpw r25, r21 +/* 8031BAC4 00318A24 41 80 FF 14 */ blt lbl_8031B9D8 +/* 8031BAC8 00318A28 48 00 03 48 */ b lbl_8031BE10 +lbl_8031BACC: +/* 8031BACC 00318A2C C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 8031BAD0 00318A30 3B 20 00 00 */ li r25, 0 +/* 8031BAD4 00318A34 C3 C2 C9 F4 */ lfs f30, lbl_805AE714@sda21(r2) +/* 8031BAD8 00318A38 3E 40 CC 01 */ lis r18, 0xcc01 +/* 8031BADC 00318A3C 48 00 01 28 */ b lbl_8031BC04 +lbl_8031BAE0: +/* 8031BAE0 00318A40 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031BAE4 00318A44 38 7F 00 60 */ addi r3, r31, 0x60 +/* 8031BAE8 00318A48 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031BAEC 00318A4C 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031BAF0 00318A50 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031BAF4 00318A54 EC 42 88 2A */ fadds f2, f2, f17 +/* 8031BAF8 00318A58 EC 21 90 2A */ fadds f1, f1, f18 +/* 8031BAFC 00318A5C 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031BB00 00318A60 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031BB04 00318A64 D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BB08 00318A68 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BB0C 00318A6C D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BB10 00318A70 4B FF 6F D9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BB14 00318A74 C0 16 00 30 */ lfs f0, 0x30(r22) +/* 8031BB18 00318A78 C0 36 00 2C */ lfs f1, 0x2c(r22) +/* 8031BB1C 00318A7C EF 5E 00 32 */ fmuls f26, f30, f0 +/* 8031BB20 00318A80 C2 9F 00 60 */ lfs f20, 0x60(r31) +/* 8031BB24 00318A84 EF 3F 00 72 */ fmuls f25, f31, f1 +/* 8031BB28 00318A88 C2 BF 00 64 */ lfs f21, 0x64(r31) +/* 8031BB2C 00318A8C C2 DF 00 68 */ lfs f22, 0x68(r31) +/* 8031BB30 00318A90 FC 20 D0 90 */ fmr f1, f26 +/* 8031BB34 00318A94 4B FF 92 BD */ bl FastSinR__5CMathFf +/* 8031BB38 00318A98 EF 19 00 72 */ fmuls f24, f25, f1 +/* 8031BB3C 00318A9C FC 20 D0 90 */ fmr f1, f26 +/* 8031BB40 00318AA0 4B FF 92 05 */ bl FastCosR__5CMathFf +/* 8031BB44 00318AA4 EC 99 00 72 */ fmuls f4, f25, f1 +/* 8031BB48 00318AA8 3B 39 00 01 */ addi r25, r25, 1 +/* 8031BB4C 00318AAC FC 00 C0 50 */ fneg f0, f24 +/* 8031BB50 00318AB0 EC D8 20 2A */ fadds f6, f24, f4 +/* 8031BB54 00318AB4 EC 20 20 2A */ fadds f1, f0, f4 +/* 8031BB58 00318AB8 EC 58 20 28 */ fsubs f2, f24, f4 +/* 8031BB5C 00318ABC EC 66 A0 2A */ fadds f3, f6, f20 +/* 8031BB60 00318AC0 EC E4 C0 28 */ fsubs f7, f4, f24 +/* 8031BB64 00318AC4 FC 00 20 50 */ fneg f0, f4 +/* 8031BB68 00318AC8 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BB6C 00318ACC EC A2 A0 2A */ fadds f5, f2, f20 +/* 8031BB70 00318AD0 EC 67 B0 2A */ fadds f3, f7, f22 +/* 8031BB74 00318AD4 D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BB78 00318AD8 EC 00 C0 28 */ fsubs f0, f0, f24 +/* 8031BB7C 00318ADC EC 86 B0 2A */ fadds f4, f6, f22 +/* 8031BB80 00318AE0 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BB84 00318AE4 EC 74 30 28 */ fsubs f3, f20, f6 +/* 8031BB88 00318AE8 EC 56 38 28 */ fsubs f2, f22, f7 +/* 8031BB8C 00318AEC 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BB90 00318AF0 EC 21 A0 2A */ fadds f1, f1, f20 +/* 8031BB94 00318AF4 EC 00 B0 2A */ fadds f0, f0, f22 +/* 8031BB98 00318AF8 C0 DF 01 48 */ lfs f6, 0x148(r31) +/* 8031BB9C 00318AFC D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) +/* 8031BBA0 00318B00 C0 DF 01 4C */ lfs f6, 0x14c(r31) +/* 8031BBA4 00318B04 D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) +/* 8031BBA8 00318B08 D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031BBAC 00318B0C D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BBB0 00318B10 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BBB4 00318B14 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BBB8 00318B18 C0 BF 01 40 */ lfs f5, 0x140(r31) +/* 8031BBBC 00318B1C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031BBC0 00318B20 C0 9F 01 4C */ lfs f4, 0x14c(r31) +/* 8031BBC4 00318B24 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BBC8 00318B28 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BBCC 00318B2C D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BBD0 00318B30 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BBD4 00318B34 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BBD8 00318B38 D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031BBDC 00318B3C C0 5F 01 44 */ lfs f2, 0x144(r31) +/* 8031BBE0 00318B40 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BBE4 00318B44 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031BBE8 00318B48 D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BBEC 00318B4C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BBF0 00318B50 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BBF4 00318B54 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031BBF8 00318B58 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BBFC 00318B5C C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031BC00 00318B60 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +lbl_8031BC04: +/* 8031BC04 00318B64 7C 19 A8 00 */ cmpw r25, r21 +/* 8031BC08 00318B68 41 80 FE D8 */ blt lbl_8031BAE0 +/* 8031BC0C 00318B6C 48 00 02 04 */ b lbl_8031BE10 +lbl_8031BC10: +/* 8031BC10 00318B70 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031BC14 00318B74 41 82 00 EC */ beq lbl_8031BD00 +/* 8031BC18 00318B78 C2 82 C9 F8 */ lfs f20, lbl_805AE718@sda21(r2) +/* 8031BC1C 00318B7C 3A 40 00 00 */ li r18, 0 +/* 8031BC20 00318B80 3F 20 CC 01 */ lis r25, 0xcc01 +/* 8031BC24 00318B84 48 00 00 D0 */ b lbl_8031BCF4 +lbl_8031BC28: +/* 8031BC28 00318B88 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031BC2C 00318B8C 38 7F 00 54 */ addi r3, r31, 0x54 +/* 8031BC30 00318B90 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031BC34 00318B94 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031BC38 00318B98 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031BC3C 00318B9C EC 42 88 2A */ fadds f2, f2, f17 +/* 8031BC40 00318BA0 EC 21 90 2A */ fadds f1, f1, f18 +/* 8031BC44 00318BA4 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031BC48 00318BA8 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031BC4C 00318BAC D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BC50 00318BB0 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BC54 00318BB4 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BC58 00318BB8 4B FF 6E 91 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BC5C 00318BBC C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BC60 00318BC0 38 A0 02 02 */ li r5, 0x202 +/* 8031BC64 00318BC4 C0 3F 00 54 */ lfs f1, 0x54(r31) +/* 8031BC68 00318BC8 38 80 00 02 */ li r4, 2 +/* 8031BC6C 00318BCC EC 74 00 32 */ fmuls f3, f20, f0 +/* 8031BC70 00318BD0 C0 1F 00 5C */ lfs f0, 0x5c(r31) +/* 8031BC74 00318BD4 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 8031BC78 00318BD8 38 60 00 00 */ li r3, 0 +/* 8031BC7C 00318BDC 38 00 02 00 */ li r0, 0x200 +/* 8031BC80 00318BE0 3A 52 00 01 */ addi r18, r18, 1 +/* 8031BC84 00318BE4 EC 23 08 2A */ fadds f1, f3, f1 +/* 8031BC88 00318BE8 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031BC8C 00318BEC D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BC90 00318BF0 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BC94 00318BF4 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BC98 00318BF8 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BC9C 00318BFC B0 B9 80 00 */ sth r5, 0xCC008000@l(r25) +/* 8031BCA0 00318C00 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BCA4 00318C04 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031BCA8 00318C08 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BCAC 00318C0C D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BCB0 00318C10 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BCB4 00318C14 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BCB8 00318C18 B0 99 80 00 */ sth r4, 0xCC008000@l(r25) +/* 8031BCBC 00318C1C C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BCC0 00318C20 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BCC4 00318C24 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031BCC8 00318C28 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BCCC 00318C2C D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BCD0 00318C30 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BCD4 00318C34 B0 79 80 00 */ sth r3, 0xCC008000@l(r25) +/* 8031BCD8 00318C38 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BCDC 00318C3C EC 21 00 2A */ fadds f1, f1, f0 +/* 8031BCE0 00318C40 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BCE4 00318C44 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BCE8 00318C48 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BCEC 00318C4C 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BCF0 00318C50 B0 19 80 00 */ sth r0, 0xCC008000@l(r25) +lbl_8031BCF4: +/* 8031BCF4 00318C54 7C 12 A8 00 */ cmpw r18, r21 +/* 8031BCF8 00318C58 41 80 FF 30 */ blt lbl_8031BC28 +/* 8031BCFC 00318C5C 48 00 01 14 */ b lbl_8031BE10 +lbl_8031BD00: +/* 8031BD00 00318C60 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031BD04 00318C64 3A 40 00 00 */ li r18, 0 +/* 8031BD08 00318C68 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031BD0C 00318C6C 3F 20 CC 01 */ lis r25, 0xcc01 +/* 8031BD10 00318C70 48 00 00 F8 */ b lbl_8031BE08 +lbl_8031BD14: +/* 8031BD14 00318C74 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031BD18 00318C78 38 7F 00 48 */ addi r3, r31, 0x48 +/* 8031BD1C 00318C7C C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031BD20 00318C80 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031BD24 00318C84 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031BD28 00318C88 EC 42 88 2A */ fadds f2, f2, f17 +/* 8031BD2C 00318C8C EC 21 90 2A */ fadds f1, f1, f18 +/* 8031BD30 00318C90 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031BD34 00318C94 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031BD38 00318C98 D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BD3C 00318C9C D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BD40 00318CA0 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BD44 00318CA4 4B FF 6D A5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BD48 00318CA8 C0 16 00 30 */ lfs f0, 0x30(r22) +/* 8031BD4C 00318CAC C0 36 00 2C */ lfs f1, 0x2c(r22) +/* 8031BD50 00318CB0 EF 3F 00 32 */ fmuls f25, f31, f0 +/* 8031BD54 00318CB4 C2 9F 00 48 */ lfs f20, 0x48(r31) +/* 8031BD58 00318CB8 EF 1E 00 72 */ fmuls f24, f30, f1 +/* 8031BD5C 00318CBC C2 BF 00 4C */ lfs f21, 0x4c(r31) +/* 8031BD60 00318CC0 C2 DF 00 50 */ lfs f22, 0x50(r31) +/* 8031BD64 00318CC4 FC 20 C8 90 */ fmr f1, f25 +/* 8031BD68 00318CC8 4B FF 90 89 */ bl FastSinR__5CMathFf +/* 8031BD6C 00318CCC EF 58 00 72 */ fmuls f26, f24, f1 +/* 8031BD70 00318CD0 FC 20 C8 90 */ fmr f1, f25 +/* 8031BD74 00318CD4 4B FF 8F D1 */ bl FastCosR__5CMathFf +/* 8031BD78 00318CD8 EC 18 00 72 */ fmuls f0, f24, f1 +/* 8031BD7C 00318CDC 38 A0 02 02 */ li r5, 0x202 +/* 8031BD80 00318CE0 38 80 00 02 */ li r4, 2 +/* 8031BD84 00318CE4 38 60 00 00 */ li r3, 0 +/* 8031BD88 00318CE8 38 00 02 00 */ li r0, 0x200 +/* 8031BD8C 00318CEC 3A 52 00 01 */ addi r18, r18, 1 +/* 8031BD90 00318CF0 EC DA 00 2A */ fadds f6, f26, f0 +/* 8031BD94 00318CF4 EC FA 00 28 */ fsubs f7, f26, f0 +/* 8031BD98 00318CF8 EC 34 30 2A */ fadds f1, f20, f6 +/* 8031BD9C 00318CFC EC 16 38 28 */ fsubs f0, f22, f7 +/* 8031BDA0 00318D00 EC B4 38 2A */ fadds f5, f20, f7 +/* 8031BDA4 00318D04 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BDA8 00318D08 EC 96 30 2A */ fadds f4, f22, f6 +/* 8031BDAC 00318D0C EC 74 30 28 */ fsubs f3, f20, f6 +/* 8031BDB0 00318D10 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDB4 00318D14 EC 56 38 2A */ fadds f2, f22, f7 +/* 8031BDB8 00318D18 EC 34 38 28 */ fsubs f1, f20, f7 +/* 8031BDBC 00318D1C D0 19 80 00 */ stfs f0, 0xCC008000@l(r25) +/* 8031BDC0 00318D20 EC 16 30 28 */ fsubs f0, f22, f6 +/* 8031BDC4 00318D24 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BDC8 00318D28 B0 B9 80 00 */ sth r5, 0xCC008000@l(r25) +/* 8031BDCC 00318D2C D0 B9 80 00 */ stfs f5, 0xCC008000@l(r25) +/* 8031BDD0 00318D30 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDD4 00318D34 D0 99 80 00 */ stfs f4, 0xCC008000@l(r25) +/* 8031BDD8 00318D38 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BDDC 00318D3C B0 99 80 00 */ sth r4, 0xCC008000@l(r25) +/* 8031BDE0 00318D40 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BDE4 00318D44 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDE8 00318D48 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BDEC 00318D4C 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BDF0 00318D50 B0 79 80 00 */ sth r3, 0xCC008000@l(r25) +/* 8031BDF4 00318D54 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BDF8 00318D58 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDFC 00318D5C D0 19 80 00 */ stfs f0, 0xCC008000@l(r25) +/* 8031BE00 00318D60 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BE04 00318D64 B0 19 80 00 */ sth r0, 0xCC008000@l(r25) +lbl_8031BE08: +/* 8031BE08 00318D68 7C 12 A8 00 */ cmpw r18, r21 +/* 8031BE0C 00318D6C 41 80 FF 08 */ blt lbl_8031BD14 +lbl_8031BE10: +/* 8031BE10 00318D70 3A 94 00 38 */ addi r20, r20, 0x38 +/* 8031BE14 00318D74 3A 73 00 01 */ addi r19, r19, 1 +lbl_8031BE18: +/* 8031BE18 00318D78 7C 13 B8 00 */ cmpw r19, r23 +/* 8031BE1C 00318D7C 41 80 FA D0 */ blt lbl_8031B8EC +lbl_8031BE20: +/* 8031BE20 00318D80 4B FE C7 61 */ bl End__3CGXFv +/* 8031BE24 00318D84 28 1A 00 00 */ cmplwi r26, 0 +/* 8031BE28 00318D88 41 82 00 14 */ beq lbl_8031BE3C +/* 8031BE2C 00318D8C 38 7B FF FF */ addi r3, r27, -1 +/* 8031BE30 00318D90 38 80 00 00 */ li r4, 0 +/* 8031BE34 00318D94 38 A0 00 00 */ li r5, 0 +/* 8031BE38 00318D98 48 05 F9 F9 */ bl GXSetTevSwapMode +lbl_8031BE3C: +/* 8031BE3C 00318D9C 38 60 00 01 */ li r3, 1 +/* 8031BE40 00318DA0 4B FE FC 31 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031BE44 00318DA4 38 60 00 07 */ li r3, 7 +/* 8031BE48 00318DA8 38 80 00 00 */ li r4, 0 +/* 8031BE4C 00318DAC 38 A0 00 00 */ li r5, 0 +/* 8031BE50 00318DB0 38 C0 00 07 */ li r6, 7 +/* 8031BE54 00318DB4 38 E0 00 00 */ li r7, 0 +/* 8031BE58 00318DB8 4B FE FB D1 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 8031BE5C 00318DBC 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031BE60 00318DC0 38 80 FF FF */ li r4, -1 +/* 8031BE64 00318DC4 4B FF 67 A1 */ bl __dt__13CGlobalRandomFv +lbl_8031BE68: +/* 8031BE68 00318DC8 7F EA FB 78 */ mr r10, r31 +/* 8031BE6C 00318DCC E3 EA 04 98 */ psq_l f31, 1176(r10), 0, qr0 +/* 8031BE70 00318DD0 CB FF 04 90 */ lfd f31, 0x490(r31) +/* 8031BE74 00318DD4 E3 CA 04 88 */ psq_l f30, 1160(r10), 0, qr0 +/* 8031BE78 00318DD8 CB DF 04 80 */ lfd f30, 0x480(r31) +/* 8031BE7C 00318DDC E3 AA 04 78 */ psq_l f29, 1144(r10), 0, qr0 +/* 8031BE80 00318DE0 CB BF 04 70 */ lfd f29, 0x470(r31) +/* 8031BE84 00318DE4 E3 8A 04 68 */ psq_l f28, 1128(r10), 0, qr0 +/* 8031BE88 00318DE8 CB 9F 04 60 */ lfd f28, 0x460(r31) +/* 8031BE8C 00318DEC E3 6A 04 58 */ psq_l f27, 1112(r10), 0, qr0 +/* 8031BE90 00318DF0 CB 7F 04 50 */ lfd f27, 0x450(r31) +/* 8031BE94 00318DF4 E3 4A 04 48 */ psq_l f26, 1096(r10), 0, qr0 +/* 8031BE98 00318DF8 CB 5F 04 40 */ lfd f26, 0x440(r31) +/* 8031BE9C 00318DFC E3 2A 04 38 */ psq_l f25, 1080(r10), 0, qr0 +/* 8031BEA0 00318E00 CB 3F 04 30 */ lfd f25, 0x430(r31) +/* 8031BEA4 00318E04 E3 0A 04 28 */ psq_l f24, 1064(r10), 0, qr0 +/* 8031BEA8 00318E08 CB 1F 04 20 */ lfd f24, 0x420(r31) +/* 8031BEAC 00318E0C E2 EA 04 18 */ psq_l f23, 1048(r10), 0, qr0 +/* 8031BEB0 00318E10 CA FF 04 10 */ lfd f23, 0x410(r31) +/* 8031BEB4 00318E14 E2 CA 04 08 */ psq_l f22, 1032(r10), 0, qr0 +/* 8031BEB8 00318E18 CA DF 04 00 */ lfd f22, 0x400(r31) +/* 8031BEBC 00318E1C E2 AA 03 F8 */ psq_l f21, 1016(r10), 0, qr0 +/* 8031BEC0 00318E20 CA BF 03 F0 */ lfd f21, 0x3f0(r31) +/* 8031BEC4 00318E24 E2 8A 03 E8 */ psq_l f20, 1000(r10), 0, qr0 +/* 8031BEC8 00318E28 CA 9F 03 E0 */ lfd f20, 0x3e0(r31) +/* 8031BECC 00318E2C E2 6A 03 D8 */ psq_l f19, 984(r10), 0, qr0 +/* 8031BED0 00318E30 CA 7F 03 D0 */ lfd f19, 0x3d0(r31) +/* 8031BED4 00318E34 E2 4A 03 C8 */ psq_l f18, 968(r10), 0, qr0 +/* 8031BED8 00318E38 CA 5F 03 C0 */ lfd f18, 0x3c0(r31) +/* 8031BEDC 00318E3C E2 2A 03 B8 */ psq_l f17, 952(r10), 0, qr0 +/* 8031BEE0 00318E40 CA 3F 03 B0 */ lfd f17, 0x3b0(r31) +/* 8031BEE4 00318E44 BA 4A 03 78 */ lmw r18, 0x378(r10) +/* 8031BEE8 00318E48 81 41 00 00 */ lwz r10, 0(r1) +/* 8031BEEC 00318E4C 80 0A 00 04 */ lwz r0, 4(r10) +/* 8031BEF0 00318E50 7D 41 53 78 */ mr r1, r10 +/* 8031BEF4 00318E54 7C 08 03 A6 */ mtlr r0 +/* 8031BEF8 00318E58 4E 80 00 20 */ blr + +.global RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform +RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform: +/* 8031BEFC 00318E5C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8031BF00 00318E60 7C 08 02 A6 */ mflr r0 +/* 8031BF04 00318E64 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8031BF08 00318E68 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8031BF0C 00318E6C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8031BF10 00318E70 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8031BF14 00318E74 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8031BF18 00318E78 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 8031BF1C 00318E7C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 8031BF20 00318E80 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 8031BF24 00318E84 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 8031BF28 00318E88 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 8031BF2C 00318E8C F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 8031BF30 00318E90 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 8031BF34 00318E94 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 8031BF38 00318E98 DB 21 00 60 */ stfd f25, 0x60(r1) +/* 8031BF3C 00318E9C F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 8031BF40 00318EA0 DB 01 00 50 */ stfd f24, 0x50(r1) +/* 8031BF44 00318EA4 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 +/* 8031BF48 00318EA8 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8031BF4C 00318EAC C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031BF50 00318EB0 7C 7A 1B 78 */ mr r26, r3 +/* 8031BF54 00318EB4 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031BF58 00318EB8 7C 9B 23 78 */ mr r27, r4 +/* 8031BF5C 00318EBC 3B 80 00 00 */ li r28, 0 +/* 8031BF60 00318EC0 3B A0 00 00 */ li r29, 0 +/* 8031BF64 00318EC4 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031BF68 00318EC8 48 00 01 48 */ b lbl_8031C0B0 +lbl_8031BF6C: +/* 8031BF6C 00318ECC 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031BF70 00318ED0 7F 64 DB 78 */ mr r4, r27 +/* 8031BF74 00318ED4 C0 FA 00 80 */ lfs f7, 0x80(r26) +/* 8031BF78 00318ED8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031BF7C 00318EDC 7F C0 EA 14 */ add r30, r0, r29 +/* 8031BF80 00318EE0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031BF84 00318EE4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031BF88 00318EE8 C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 8031BF8C 00318EEC C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8031BF90 00318EF0 EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031BF94 00318EF4 C0 7E 00 18 */ lfs f3, 0x18(r30) +/* 8031BF98 00318EF8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031BF9C 00318EFC EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031BFA0 00318F00 C0 5E 00 10 */ lfs f2, 0x10(r30) +/* 8031BFA4 00318F04 EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031BFA8 00318F08 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031BFAC 00318F0C D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8031BFB0 00318F10 EC A7 00 72 */ fmuls f5, f7, f1 +/* 8031BFB4 00318F14 EC 86 20 2A */ fadds f4, f6, f4 +/* 8031BFB8 00318F18 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8031BFBC 00318F1C EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031BFC0 00318F20 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031BFC4 00318F24 D0 01 00 08 */ stfs f0, 8(r1) +/* 8031BFC8 00318F28 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031BFCC 00318F2C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8031BFD0 00318F30 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 8031BFD4 00318F34 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 8031BFD8 00318F38 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031BFDC 00318F3C D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8031BFE0 00318F40 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8031BFE4 00318F44 4B FF 6B 05 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BFE8 00318F48 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 8031BFEC 00318F4C C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 8031BFF0 00318F50 EF 3F 00 32 */ fmuls f25, f31, f0 +/* 8031BFF4 00318F54 C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 8031BFF8 00318F58 EF 5E 00 72 */ fmuls f26, f30, f1 +/* 8031BFFC 00318F5C C3 81 00 30 */ lfs f28, 0x30(r1) +/* 8031C000 00318F60 C3 61 00 34 */ lfs f27, 0x34(r1) +/* 8031C004 00318F64 FC 20 C8 90 */ fmr f1, f25 +/* 8031C008 00318F68 83 DE 00 34 */ lwz r30, 0x34(r30) +/* 8031C00C 00318F6C 4B FF 8D E5 */ bl FastSinR__5CMathFf +/* 8031C010 00318F70 EF 1A 00 72 */ fmuls f24, f26, f1 +/* 8031C014 00318F74 FC 20 C8 90 */ fmr f1, f25 +/* 8031C018 00318F78 4B FF 8D 2D */ bl FastCosR__5CMathFf +/* 8031C01C 00318F7C EC 1A 00 72 */ fmuls f0, f26, f1 +/* 8031C020 00318F80 38 A0 02 02 */ li r5, 0x202 +/* 8031C024 00318F84 38 80 00 02 */ li r4, 2 +/* 8031C028 00318F88 38 60 00 00 */ li r3, 0 +/* 8031C02C 00318F8C 38 00 02 00 */ li r0, 0x200 +/* 8031C030 00318F90 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C034 00318F94 EC D8 00 2A */ fadds f6, f24, f0 +/* 8031C038 00318F98 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C03C 00318F9C EC F8 00 28 */ fsubs f7, f24, f0 +/* 8031C040 00318FA0 EC 3D 30 2A */ fadds f1, f29, f6 +/* 8031C044 00318FA4 EC 1B 38 28 */ fsubs f0, f27, f7 +/* 8031C048 00318FA8 EC BD 38 2A */ fadds f5, f29, f7 +/* 8031C04C 00318FAC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C050 00318FB0 EC 9B 30 2A */ fadds f4, f27, f6 +/* 8031C054 00318FB4 EC 7D 30 28 */ fsubs f3, f29, f6 +/* 8031C058 00318FB8 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C05C 00318FBC EC 5B 38 2A */ fadds f2, f27, f7 +/* 8031C060 00318FC0 EC 3D 38 28 */ fsubs f1, f29, f7 +/* 8031C064 00318FC4 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C068 00318FC8 EC 1B 30 28 */ fsubs f0, f27, f6 +/* 8031C06C 00318FCC 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C070 00318FD0 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C074 00318FD4 D0 BF 80 00 */ stfs f5, 0xCC008000@l(r31) +/* 8031C078 00318FD8 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C07C 00318FDC D0 9F 80 00 */ stfs f4, 0xCC008000@l(r31) +/* 8031C080 00318FE0 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C084 00318FE4 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C088 00318FE8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C08C 00318FEC D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C090 00318FF0 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C094 00318FF4 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C098 00318FF8 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C09C 00318FFC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C0A0 00319000 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C0A4 00319004 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C0A8 00319008 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C0AC 0031900C B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C0B0: +/* 8031C0B0 00319010 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C0B4 00319014 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C0B8 00319018 41 80 FE B4 */ blt lbl_8031BF6C +/* 8031C0BC 0031901C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8031C0C0 00319020 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8031C0C4 00319024 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8031C0C8 00319028 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8031C0CC 0031902C E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8031C0D0 00319030 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8031C0D4 00319034 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 8031C0D8 00319038 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 8031C0DC 0031903C E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 8031C0E0 00319040 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8031C0E4 00319044 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 8031C0E8 00319048 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 8031C0EC 0031904C E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 8031C0F0 00319050 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8031C0F4 00319054 E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 +/* 8031C0F8 00319058 CB 01 00 50 */ lfd f24, 0x50(r1) +/* 8031C0FC 0031905C BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8031C100 00319060 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8031C104 00319064 7C 08 03 A6 */ mtlr r0 +/* 8031C108 00319068 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8031C10C 0031906C 4E 80 00 20 */ blr + +.global RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform +RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform: +/* 8031C110 00319070 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8031C114 00319074 7C 08 02 A6 */ mflr r0 +/* 8031C118 00319078 90 01 00 64 */ stw r0, 0x64(r1) +/* 8031C11C 0031907C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8031C120 00319080 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8031C124 00319084 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8031C128 00319088 C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 8031C12C 0031908C 7C 7A 1B 78 */ mr r26, r3 +/* 8031C130 00319090 7C 9B 23 78 */ mr r27, r4 +/* 8031C134 00319094 3B 80 00 00 */ li r28, 0 +/* 8031C138 00319098 3B A0 00 00 */ li r29, 0 +/* 8031C13C 0031909C 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031C140 003190A0 48 00 01 20 */ b lbl_8031C260 +lbl_8031C144: +/* 8031C144 003190A4 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031C148 003190A8 7F 64 DB 78 */ mr r4, r27 +/* 8031C14C 003190AC C0 FA 00 80 */ lfs f7, 0x80(r26) +/* 8031C150 003190B0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031C154 003190B4 7F C0 EA 14 */ add r30, r0, r29 +/* 8031C158 003190B8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031C15C 003190BC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031C160 003190C0 C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 8031C164 003190C4 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8031C168 003190C8 EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031C16C 003190CC C0 7E 00 18 */ lfs f3, 0x18(r30) +/* 8031C170 003190D0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031C174 003190D4 EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031C178 003190D8 C0 5E 00 10 */ lfs f2, 0x10(r30) +/* 8031C17C 003190DC EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031C180 003190E0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031C184 003190E4 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8031C188 003190E8 EC A7 00 72 */ fmuls f5, f7, f1 +/* 8031C18C 003190EC EC 86 20 2A */ fadds f4, f6, f4 +/* 8031C190 003190F0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8031C194 003190F4 EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031C198 003190F8 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031C19C 003190FC D0 01 00 08 */ stfs f0, 8(r1) +/* 8031C1A0 00319100 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031C1A4 00319104 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8031C1A8 00319108 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 8031C1AC 0031910C D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 8031C1B0 00319110 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031C1B4 00319114 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8031C1B8 00319118 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8031C1BC 0031911C 4B FF 69 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031C1C0 00319120 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C1C4 00319124 38 A0 02 02 */ li r5, 0x202 +/* 8031C1C8 00319128 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8031C1CC 0031912C 38 80 00 02 */ li r4, 2 +/* 8031C1D0 00319130 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 8031C1D4 00319134 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8031C1D8 00319138 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8031C1DC 0031913C 38 60 00 00 */ li r3, 0 +/* 8031C1E0 00319140 80 DE 00 34 */ lwz r6, 0x34(r30) +/* 8031C1E4 00319144 38 00 02 00 */ li r0, 0x200 +/* 8031C1E8 00319148 EC 23 08 2A */ fadds f1, f3, f1 +/* 8031C1EC 0031914C 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C1F0 00319150 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031C1F4 00319154 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C1F8 00319158 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C1FC 0031915C D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C200 00319160 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C204 00319164 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C208 00319168 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C20C 0031916C C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C210 00319170 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031C214 00319174 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C218 00319178 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C21C 0031917C D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C220 00319180 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C224 00319184 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C228 00319188 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C22C 0031918C D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C230 00319190 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031C234 00319194 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C238 00319198 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C23C 0031919C 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C240 003191A0 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C244 003191A4 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C248 003191A8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031C24C 003191AC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C250 003191B0 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C254 003191B4 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C258 003191B8 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C25C 003191BC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C260: +/* 8031C260 003191C0 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C264 003191C4 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C268 003191C8 41 80 FE DC */ blt lbl_8031C144 +/* 8031C26C 003191CC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8031C270 003191D0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8031C274 003191D4 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8031C278 003191D8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8031C27C 003191DC 7C 08 03 A6 */ mtlr r0 +/* 8031C280 003191E0 38 21 00 60 */ addi r1, r1, 0x60 +/* 8031C284 003191E4 4E 80 00 20 */ blr + +.global RenderBasicParticlesRotTS__11CElementGenFRC10CTransform +RenderBasicParticlesRotTS__11CElementGenFRC10CTransform: +/* 8031C288 003191E8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8031C28C 003191EC 7C 08 02 A6 */ mflr r0 +/* 8031C290 003191F0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8031C294 003191F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8031C298 003191F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8031C29C 003191FC DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8031C2A0 00319200 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8031C2A4 00319204 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8031C2A8 00319208 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8031C2AC 0031920C DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8031C2B0 00319210 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8031C2B4 00319214 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 8031C2B8 00319218 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 8031C2BC 0031921C DB 41 00 50 */ stfd f26, 0x50(r1) +/* 8031C2C0 00319220 F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 +/* 8031C2C4 00319224 DB 21 00 40 */ stfd f25, 0x40(r1) +/* 8031C2C8 00319228 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 +/* 8031C2CC 0031922C DB 01 00 30 */ stfd f24, 0x30(r1) +/* 8031C2D0 00319230 F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 +/* 8031C2D4 00319234 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8031C2D8 00319238 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031C2DC 0031923C 7C 7A 1B 78 */ mr r26, r3 +/* 8031C2E0 00319240 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031C2E4 00319244 7C 9B 23 78 */ mr r27, r4 +/* 8031C2E8 00319248 3B 80 00 00 */ li r28, 0 +/* 8031C2EC 0031924C 3B A0 00 00 */ li r29, 0 +/* 8031C2F0 00319250 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031C2F4 00319254 48 00 00 E4 */ b lbl_8031C3D8 +lbl_8031C2F8: +/* 8031C2F8 00319258 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031C2FC 0031925C 7F 64 DB 78 */ mr r4, r27 +/* 8031C300 00319260 38 61 00 08 */ addi r3, r1, 8 +/* 8031C304 00319264 7F C0 EA 14 */ add r30, r0, r29 +/* 8031C308 00319268 38 BE 00 04 */ addi r5, r30, 4 +/* 8031C30C 0031926C 4B FF 67 DD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031C310 00319270 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 8031C314 00319274 C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 8031C318 00319278 EF 3F 00 32 */ fmuls f25, f31, f0 +/* 8031C31C 0031927C C3 A1 00 08 */ lfs f29, 8(r1) +/* 8031C320 00319280 EF 5E 00 72 */ fmuls f26, f30, f1 +/* 8031C324 00319284 C3 81 00 0C */ lfs f28, 0xc(r1) +/* 8031C328 00319288 C3 61 00 10 */ lfs f27, 0x10(r1) +/* 8031C32C 0031928C FC 20 C8 90 */ fmr f1, f25 +/* 8031C330 00319290 83 DE 00 34 */ lwz r30, 0x34(r30) +/* 8031C334 00319294 4B FF 8A BD */ bl FastSinR__5CMathFf +/* 8031C338 00319298 EF 1A 00 72 */ fmuls f24, f26, f1 +/* 8031C33C 0031929C FC 20 C8 90 */ fmr f1, f25 +/* 8031C340 003192A0 4B FF 8A 05 */ bl FastCosR__5CMathFf +/* 8031C344 003192A4 EC 1A 00 72 */ fmuls f0, f26, f1 +/* 8031C348 003192A8 38 A0 02 02 */ li r5, 0x202 +/* 8031C34C 003192AC 38 80 00 02 */ li r4, 2 +/* 8031C350 003192B0 38 60 00 00 */ li r3, 0 +/* 8031C354 003192B4 38 00 02 00 */ li r0, 0x200 +/* 8031C358 003192B8 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C35C 003192BC EC D8 00 2A */ fadds f6, f24, f0 +/* 8031C360 003192C0 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C364 003192C4 EC F8 00 28 */ fsubs f7, f24, f0 +/* 8031C368 003192C8 EC 3D 30 2A */ fadds f1, f29, f6 +/* 8031C36C 003192CC EC 1B 38 28 */ fsubs f0, f27, f7 +/* 8031C370 003192D0 EC BD 38 2A */ fadds f5, f29, f7 +/* 8031C374 003192D4 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C378 003192D8 EC 9B 30 2A */ fadds f4, f27, f6 +/* 8031C37C 003192DC EC 7D 30 28 */ fsubs f3, f29, f6 +/* 8031C380 003192E0 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C384 003192E4 EC 5B 38 2A */ fadds f2, f27, f7 +/* 8031C388 003192E8 EC 3D 38 28 */ fsubs f1, f29, f7 +/* 8031C38C 003192EC D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C390 003192F0 EC 1B 30 28 */ fsubs f0, f27, f6 +/* 8031C394 003192F4 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C398 003192F8 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C39C 003192FC D0 BF 80 00 */ stfs f5, 0xCC008000@l(r31) +/* 8031C3A0 00319300 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C3A4 00319304 D0 9F 80 00 */ stfs f4, 0xCC008000@l(r31) +/* 8031C3A8 00319308 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C3AC 0031930C B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C3B0 00319310 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C3B4 00319314 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C3B8 00319318 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C3BC 0031931C 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C3C0 00319320 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C3C4 00319324 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C3C8 00319328 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C3CC 0031932C D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C3D0 00319330 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C3D4 00319334 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C3D8: +/* 8031C3D8 00319338 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C3DC 0031933C 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C3E0 00319340 41 80 FF 18 */ blt lbl_8031C2F8 +/* 8031C3E4 00319344 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8031C3E8 00319348 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8031C3EC 0031934C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8031C3F0 00319350 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8031C3F4 00319354 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8031C3F8 00319358 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8031C3FC 0031935C E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8031C400 00319360 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8031C404 00319364 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 8031C408 00319368 CB 61 00 60 */ lfd f27, 0x60(r1) +/* 8031C40C 0031936C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 +/* 8031C410 00319370 CB 41 00 50 */ lfd f26, 0x50(r1) +/* 8031C414 00319374 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 +/* 8031C418 00319378 CB 21 00 40 */ lfd f25, 0x40(r1) +/* 8031C41C 0031937C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 +/* 8031C420 00319380 CB 01 00 30 */ lfd f24, 0x30(r1) +/* 8031C424 00319384 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8031C428 00319388 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8031C42C 0031938C 7C 08 03 A6 */ mtlr r0 +/* 8031C430 00319390 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8031C434 00319394 4E 80 00 20 */ blr + +.global RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform +RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform: +/* 8031C438 00319398 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8031C43C 0031939C 7C 08 02 A6 */ mflr r0 +/* 8031C440 003193A0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8031C444 003193A4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8031C448 003193A8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8031C44C 003193AC BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8031C450 003193B0 C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 8031C454 003193B4 7C 7A 1B 78 */ mr r26, r3 +/* 8031C458 003193B8 7C 9B 23 78 */ mr r27, r4 +/* 8031C45C 003193BC 3B 80 00 00 */ li r28, 0 +/* 8031C460 003193C0 3B A0 00 00 */ li r29, 0 +/* 8031C464 003193C4 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031C468 003193C8 48 00 00 BC */ b lbl_8031C524 +lbl_8031C46C: +/* 8031C46C 003193CC 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031C470 003193D0 7F 64 DB 78 */ mr r4, r27 +/* 8031C474 003193D4 38 61 00 08 */ addi r3, r1, 8 +/* 8031C478 003193D8 7F C0 EA 14 */ add r30, r0, r29 +/* 8031C47C 003193DC 38 BE 00 04 */ addi r5, r30, 4 +/* 8031C480 003193E0 4B FF 66 69 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031C484 003193E4 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C488 003193E8 38 A0 02 02 */ li r5, 0x202 +/* 8031C48C 003193EC C0 21 00 08 */ lfs f1, 8(r1) +/* 8031C490 003193F0 38 80 00 02 */ li r4, 2 +/* 8031C494 003193F4 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 8031C498 003193F8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8031C49C 003193FC C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8031C4A0 00319400 38 60 00 00 */ li r3, 0 +/* 8031C4A4 00319404 80 DE 00 34 */ lwz r6, 0x34(r30) +/* 8031C4A8 00319408 38 00 02 00 */ li r0, 0x200 +/* 8031C4AC 0031940C EC 23 08 2A */ fadds f1, f3, f1 +/* 8031C4B0 00319410 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C4B4 00319414 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031C4B8 00319418 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C4BC 0031941C D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C4C0 00319420 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C4C4 00319424 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C4C8 00319428 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C4CC 0031942C B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C4D0 00319430 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C4D4 00319434 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031C4D8 00319438 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C4DC 0031943C D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C4E0 00319440 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C4E4 00319444 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C4E8 00319448 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C4EC 0031944C C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C4F0 00319450 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C4F4 00319454 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031C4F8 00319458 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C4FC 0031945C D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C500 00319460 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C504 00319464 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C508 00319468 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C50C 0031946C EC 21 00 2A */ fadds f1, f1, f0 +/* 8031C510 00319470 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C514 00319474 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C518 00319478 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C51C 0031947C 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C520 00319480 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C524: +/* 8031C524 00319484 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C528 00319488 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C52C 0031948C 41 80 FF 40 */ blt lbl_8031C46C +/* 8031C530 00319490 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8031C534 00319494 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8031C538 00319498 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8031C53C 0031949C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8031C540 003194A0 7C 08 03 A6 */ mtlr r0 +/* 8031C544 003194A4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8031C548 003194A8 4E 80 00 20 */ blr + +.global Render__11CElementGenFv +Render__11CElementGenFv: +/* 8031C54C 003194AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031C550 003194B0 7C 08 02 A6 */ mflr r0 +/* 8031C554 003194B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031C558 003194B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031C55C 003194BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031C560 003194C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031C564 003194C4 7C 7D 1B 78 */ mr r29, r3 +/* 8031C568 003194C8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031C56C 003194CC 48 06 8E 3D */ bl OSGetTime +/* 8031C570 003194D0 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) +/* 8031C574 003194D4 7C 9E 23 78 */ mr r30, r4 +/* 8031C578 003194D8 7C 7F 1B 78 */ mr r31, r3 +/* 8031C57C 003194DC 98 1D 02 74 */ stb r0, 0x274(r29) +/* 8031C580 003194E0 4B FF 03 FD */ bl DisableAllLights__9CGraphicsFv +/* 8031C584 003194E4 83 9D 02 9C */ lwz r28, 0x29c(r29) +/* 8031C588 003194E8 48 00 00 1C */ b lbl_8031C5A4 +lbl_8031C58C: +/* 8031C58C 003194EC 80 7C 00 00 */ lwz r3, 0(r28) +/* 8031C590 003194F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C594 003194F4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031C598 003194F8 7D 89 03 A6 */ mtctr r12 +/* 8031C59C 003194FC 4E 80 04 21 */ bctrl +/* 8031C5A0 00319500 3B 9C 00 04 */ addi r28, r28, 4 +lbl_8031C5A4: +/* 8031C5A4 00319504 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031C5A8 00319508 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031C5AC 0031950C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C5B0 00319510 7C 03 02 14 */ add r0, r3, r0 +/* 8031C5B4 00319514 7C 1C 00 40 */ cmplw r28, r0 +/* 8031C5B8 00319518 40 82 FF D4 */ bne lbl_8031C58C +/* 8031C5BC 0031951C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 8031C5C0 00319520 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 8031C5C4 00319524 38 84 52 54 */ addi r4, r4, 0x50415254@l +/* 8031C5C8 00319528 38 01 00 08 */ addi r0, r1, 8 +/* 8031C5CC 0031952C 90 81 00 08 */ stw r4, 8(r1) +/* 8031C5D0 00319530 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8031C5D4 00319534 90 61 00 10 */ stw r3, 0x10(r1) +/* 8031C5D8 00319538 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +/* 8031C5DC 0031953C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031C5E0 00319540 2C 00 00 00 */ cmpwi r0, 0 +/* 8031C5E4 00319544 40 81 00 48 */ ble lbl_8031C62C +/* 8031C5E8 00319548 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031C5EC 0031954C 88 03 00 54 */ lbz r0, 0x54(r3) +/* 8031C5F0 00319550 28 00 00 00 */ cmplwi r0, 0 +/* 8031C5F4 00319554 40 82 00 10 */ bne lbl_8031C604 +/* 8031C5F8 00319558 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8031C5FC 0031955C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8031C600 00319560 41 82 00 0C */ beq lbl_8031C60C +lbl_8031C604: +/* 8031C604 00319564 7F A3 EB 78 */ mr r3, r29 +/* 8031C608 00319568 4B FF B8 ED */ bl RenderModels__11CElementGenFv +lbl_8031C60C: +/* 8031C60C 0031956C 88 1D 02 6C */ lbz r0, 0x26c(r29) +/* 8031C610 00319570 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031C614 00319574 41 82 00 10 */ beq lbl_8031C624 +/* 8031C618 00319578 7F A3 EB 78 */ mr r3, r29 +/* 8031C61C 0031957C 4B FF C4 D1 */ bl RenderLines__11CElementGenFv +/* 8031C620 00319580 48 00 00 0C */ b lbl_8031C62C +lbl_8031C624: +/* 8031C624 00319584 7F A3 EB 78 */ mr r3, r29 +/* 8031C628 00319588 4B FF DE F5 */ bl RenderParticles__11CElementGenFv +lbl_8031C62C: +/* 8031C62C 0031958C 48 06 8D 7D */ bl OSGetTime +/* 8031C630 00319590 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8031C634 00319594 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8031C638 00319598 48 06 D9 2D */ bl __cvt_sll_flt +/* 8031C63C 0031959C 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 8031C640 003195A0 34 01 00 08 */ addic. r0, r1, 8 +/* 8031C644 003195A4 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l +/* 8031C648 003195A8 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8031C64C 003195AC EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031C650 003195B0 D0 1D 02 D0 */ stfs f0, 0x2d0(r29) +/* 8031C654 003195B4 41 82 00 0C */ beq lbl_8031C660 +/* 8031C658 003195B8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031C65C 003195BC 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +lbl_8031C660: +/* 8031C660 003195C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031C664 003195C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031C668 003195C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031C66C 003195CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8031C670 003195D0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8031C674 003195D4 7C 08 03 A6 */ mtlr r0 +/* 8031C678 003195D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031C67C 003195DC 4E 80 00 20 */ blr + +.global IsSystemDeletable__11CElementGenCFv +IsSystemDeletable__11CElementGenCFv: +/* 8031C680 003195E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031C684 003195E4 7C 08 02 A6 */ mflr r0 +/* 8031C688 003195E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031C68C 003195EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031C690 003195F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8031C694 003195F4 7C 7E 1B 78 */ mr r30, r3 +/* 8031C698 003195F8 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031C69C 003195FC 48 00 00 2C */ b lbl_8031C6C8 +lbl_8031C6A0: +/* 8031C6A0 00319600 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031C6A4 00319604 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C6A8 00319608 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8031C6AC 0031960C 7D 89 03 A6 */ mtctr r12 +/* 8031C6B0 00319610 4E 80 04 21 */ bctrl +/* 8031C6B4 00319614 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031C6B8 00319618 40 82 00 0C */ bne lbl_8031C6C4 +/* 8031C6BC 0031961C 38 60 00 00 */ li r3, 0 +/* 8031C6C0 00319620 48 00 00 48 */ b lbl_8031C708 +lbl_8031C6C4: +/* 8031C6C4 00319624 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031C6C8: +/* 8031C6C8 00319628 80 1E 02 94 */ lwz r0, 0x294(r30) +/* 8031C6CC 0031962C 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8031C6D0 00319630 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C6D4 00319634 7C 03 02 14 */ add r0, r3, r0 +/* 8031C6D8 00319638 7C 1F 00 40 */ cmplw r31, r0 +/* 8031C6DC 0031963C 40 82 FF C4 */ bne lbl_8031C6A0 +/* 8031C6E0 00319640 80 7E 02 68 */ lwz r3, 0x268(r30) +/* 8031C6E4 00319644 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031C6E8 00319648 7C 03 00 00 */ cmpw r3, r0 +/* 8031C6EC 0031964C 40 80 00 18 */ bge lbl_8031C704 +/* 8031C6F0 00319650 80 1E 02 5C */ lwz r0, 0x25c(r30) +/* 8031C6F4 00319654 2C 00 00 00 */ cmpwi r0, 0 +/* 8031C6F8 00319658 40 82 00 0C */ bne lbl_8031C704 +/* 8031C6FC 0031965C 38 60 00 01 */ li r3, 1 +/* 8031C700 00319660 48 00 00 08 */ b lbl_8031C708 +lbl_8031C704: +/* 8031C704 00319664 38 60 00 00 */ li r3, 0 +lbl_8031C708: +/* 8031C708 00319668 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031C70C 0031966C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031C710 00319670 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031C714 00319674 7C 08 03 A6 */ mtlr r0 +/* 8031C718 00319678 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031C71C 0031967C 4E 80 00 20 */ blr + +.global DestroyParticles__11CElementGenFv +DestroyParticles__11CElementGenFv: +/* 8031C720 00319680 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031C724 00319684 7C 08 02 A6 */ mflr r0 +/* 8031C728 00319688 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031C72C 0031968C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031C730 00319690 7C 7F 1B 78 */ mr r31, r3 +/* 8031C734 00319694 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031C738 00319698 80 0D A8 B0 */ lwz r0, lbl_805A9470@sda21(r13) +/* 8031C73C 0031969C 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8031C740 003196A0 7C 03 00 50 */ subf r0, r3, r0 +/* 8031C744 003196A4 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) +/* 8031C748 003196A8 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8031C74C 003196AC 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 8031C750 003196B0 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031C754 003196B4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8031C758 003196B8 7C 03 02 14 */ add r0, r3, r0 +/* 8031C75C 003196BC 90 61 00 18 */ stw r3, 0x18(r1) +/* 8031C760 003196C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C764 003196C4 90 01 00 20 */ stw r0, 0x20(r1) +/* 8031C768 003196C8 48 00 00 08 */ b lbl_8031C770 +lbl_8031C76C: +/* 8031C76C 003196CC 38 63 00 38 */ addi r3, r3, 0x38 +lbl_8031C770: +/* 8031C770 003196D0 7C 03 00 40 */ cmplw r3, r0 +/* 8031C774 003196D4 40 82 FF F8 */ bne lbl_8031C76C +/* 8031C778 003196D8 38 00 00 00 */ li r0, 0 +/* 8031C77C 003196DC 90 1F 00 34 */ stw r0, 0x34(r31) +/* 8031C780 003196E0 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8031C784 003196E4 2C 00 00 01 */ cmpwi r0, 1 +/* 8031C788 003196E8 40 82 00 3C */ bne lbl_8031C7C4 +/* 8031C78C 003196EC 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8031C790 003196F0 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 8031C794 003196F4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031C798 003196F8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031C79C 003196FC 7C 03 02 14 */ add r0, r3, r0 +/* 8031C7A0 00319700 90 61 00 08 */ stw r3, 8(r1) +/* 8031C7A4 00319704 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031C7A8 00319708 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031C7AC 0031970C 48 00 00 08 */ b lbl_8031C7B4 +lbl_8031C7B0: +/* 8031C7B0 00319710 38 63 00 24 */ addi r3, r3, 0x24 +lbl_8031C7B4: +/* 8031C7B4 00319714 7C 03 00 40 */ cmplw r3, r0 +/* 8031C7B8 00319718 40 82 FF F8 */ bne lbl_8031C7B0 +/* 8031C7BC 0031971C 38 00 00 00 */ li r0, 0 +/* 8031C7C0 00319720 90 1F 00 54 */ stw r0, 0x54(r31) +lbl_8031C7C4: +/* 8031C7C4 00319724 83 DF 02 9C */ lwz r30, 0x29c(r31) +/* 8031C7C8 00319728 48 00 00 1C */ b lbl_8031C7E4 +lbl_8031C7CC: +/* 8031C7CC 0031972C 80 7E 00 00 */ lwz r3, 0(r30) +/* 8031C7D0 00319730 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C7D4 00319734 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 8031C7D8 00319738 7D 89 03 A6 */ mtctr r12 +/* 8031C7DC 0031973C 4E 80 04 21 */ bctrl +/* 8031C7E0 00319740 3B DE 00 04 */ addi r30, r30, 4 +lbl_8031C7E4: +/* 8031C7E4 00319744 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031C7E8 00319748 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031C7EC 0031974C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C7F0 00319750 7C 03 02 14 */ add r0, r3, r0 +/* 8031C7F4 00319754 7C 1E 00 40 */ cmplw r30, r0 +/* 8031C7F8 00319758 40 82 FF D4 */ bne lbl_8031C7CC +/* 8031C7FC 0031975C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031C800 00319760 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031C804 00319764 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031C808 00319768 7C 08 03 A6 */ mtlr r0 +/* 8031C80C 0031976C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031C810 00319770 4E 80 00 20 */ blr + +.global EndLifetime__11CElementGenFv +EndLifetime__11CElementGenFv: +/* 8031C814 00319774 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031C818 00319778 7C 08 02 A6 */ mflr r0 +/* 8031C81C 0031977C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C820 00319780 38 00 00 00 */ li r0, 0 +/* 8031C824 00319784 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031C828 00319788 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031C82C 0031978C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031C830 00319790 7C 7D 1B 78 */ mr r29, r3 +/* 8031C834 00319794 90 03 02 68 */ stw r0, 0x268(r3) +/* 8031C838 00319798 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031C83C 0031979C 48 00 00 50 */ b lbl_8031C88C +lbl_8031C840: +/* 8031C840 003197A0 83 DF 00 00 */ lwz r30, 0(r31) +/* 8031C844 003197A4 7F C3 F3 78 */ mr r3, r30 +/* 8031C848 003197A8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031C84C 003197AC 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8031C850 003197B0 7D 89 03 A6 */ mtctr r12 +/* 8031C854 003197B4 4E 80 04 21 */ bctrl +/* 8031C858 003197B8 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 8031C85C 003197BC 28 00 52 54 */ cmplwi r0, 0x5254 +/* 8031C860 003197C0 40 82 00 10 */ bne lbl_8031C870 +/* 8031C864 003197C4 7F C3 F3 78 */ mr r3, r30 +/* 8031C868 003197C8 4B FF FF AD */ bl EndLifetime__11CElementGenFv +/* 8031C86C 003197CC 48 00 00 1C */ b lbl_8031C888 +lbl_8031C870: +/* 8031C870 003197D0 7F C3 F3 78 */ mr r3, r30 +/* 8031C874 003197D4 38 80 00 00 */ li r4, 0 +/* 8031C878 003197D8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031C87C 003197DC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031C880 003197E0 7D 89 03 A6 */ mtctr r12 +/* 8031C884 003197E4 4E 80 04 21 */ bctrl +lbl_8031C888: +/* 8031C888 003197E8 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031C88C: +/* 8031C88C 003197EC 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031C890 003197F0 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031C894 003197F4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C898 003197F8 7C 03 02 14 */ add r0, r3, r0 +/* 8031C89C 003197FC 7C 1F 00 40 */ cmplw r31, r0 +/* 8031C8A0 00319800 40 82 FF A0 */ bne lbl_8031C840 +/* 8031C8A4 00319804 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031C8A8 00319808 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031C8AC 0031980C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031C8B0 00319810 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031C8B4 00319814 7C 08 03 A6 */ mtlr r0 +/* 8031C8B8 00319818 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031C8BC 0031981C 4E 80 00 20 */ blr + +.global ForceParticleCreation__11CElementGenFi +ForceParticleCreation__11CElementGenFi: +/* 8031C8C0 00319820 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031C8C4 00319824 7C 08 02 A6 */ mflr r0 +/* 8031C8C8 00319828 3C C0 50 41 */ lis r6, 0x50415254@ha +/* 8031C8CC 0031982C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C8D0 00319830 38 01 00 08 */ addi r0, r1, 8 +/* 8031C8D4 00319834 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031C8D8 00319838 7C 9F 23 78 */ mr r31, r4 +/* 8031C8DC 0031983C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031C8E0 00319840 7C 7E 1B 78 */ mr r30, r3 +/* 8031C8E4 00319844 38 66 52 54 */ addi r3, r6, 0x50415254@l +/* 8031C8E8 00319848 80 AD A8 F4 */ lwz r5, lbl_805A94B4@sda21(r13) +/* 8031C8EC 0031984C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8031C8F0 00319850 90 61 00 08 */ stw r3, 8(r1) +/* 8031C8F4 00319854 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8031C8F8 00319858 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +/* 8031C8FC 0031985C 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031C900 00319860 48 00 DE 49 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031C904 00319864 7F C3 F3 78 */ mr r3, r30 +/* 8031C908 00319868 7F E4 FB 78 */ mr r4, r31 +/* 8031C90C 0031986C 48 00 0D D9 */ bl CreateNewParticles__11CElementGenFi +/* 8031C910 00319870 34 01 00 08 */ addic. r0, r1, 8 +/* 8031C914 00319874 41 82 00 0C */ beq lbl_8031C920 +/* 8031C918 00319878 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031C91C 0031987C 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +lbl_8031C920: +/* 8031C920 00319880 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031C924 00319884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031C928 00319888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031C92C 0031988C 7C 08 03 A6 */ mtlr r0 +/* 8031C930 00319890 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031C934 00319894 4E 80 00 20 */ blr + +.global SetParticleEmission__11CElementGenFb +SetParticleEmission__11CElementGenFb: +/* 8031C938 00319898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031C93C 0031989C 7C 08 02 A6 */ mflr r0 +/* 8031C940 003198A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C944 003198A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031C948 003198A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031C94C 003198AC 7C 9E 23 78 */ mr r30, r4 +/* 8031C950 003198B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031C954 003198B4 7C 7D 1B 78 */ mr r29, r3 +/* 8031C958 003198B8 9B C3 00 88 */ stb r30, 0x88(r3) +/* 8031C95C 003198BC 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031C960 003198C0 48 00 00 20 */ b lbl_8031C980 +lbl_8031C964: +/* 8031C964 003198C4 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031C968 003198C8 7F C4 F3 78 */ mr r4, r30 +/* 8031C96C 003198CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C970 003198D0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031C974 003198D4 7D 89 03 A6 */ mtctr r12 +/* 8031C978 003198D8 4E 80 04 21 */ bctrl +/* 8031C97C 003198DC 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031C980: +/* 8031C980 003198E0 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031C984 003198E4 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031C988 003198E8 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C98C 003198EC 7C 03 02 14 */ add r0, r3, r0 +/* 8031C990 003198F0 7C 1F 00 40 */ cmplw r31, r0 +/* 8031C994 003198F4 40 82 FF D0 */ bne lbl_8031C964 +/* 8031C998 003198F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031C99C 003198FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031C9A0 00319900 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031C9A4 00319904 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031C9A8 00319908 7C 08 03 A6 */ mtlr r0 +/* 8031C9AC 0031990C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031C9B0 00319910 4E 80 00 20 */ blr + +.global UpdateChildParticleSystems__11CElementGenFd +UpdateChildParticleSystems__11CElementGenFd: +/* 8031C9B4 00319914 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8031C9B8 00319918 7C 08 02 A6 */ mflr r0 +/* 8031C9BC 0031991C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8031C9C0 00319920 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8031C9C4 00319924 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8031C9C8 00319928 BF 01 00 B0 */ stmw r24, 0xb0(r1) +/* 8031C9CC 0031992C FF E0 08 90 */ fmr f31, f1 +/* 8031C9D0 00319930 C8 22 CA 20 */ lfd f1, lbl_805AE740@sda21(r2) +/* 8031C9D4 00319934 C8 02 CA 28 */ lfd f0, lbl_805AE748@sda21(r2) +/* 8031C9D8 00319938 7C 7F 1B 78 */ mr r31, r3 +/* 8031C9DC 0031993C FC 3F 08 28 */ fsub f1, f31, f1 +/* 8031C9E0 00319940 FC 20 0A 10 */ fabs f1, f1 +/* 8031C9E4 00319944 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031C9E8 00319948 41 80 09 74 */ blt lbl_8031D35C +/* 8031C9EC 0031994C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8031C9F0 00319950 38 9F 02 7C */ addi r4, r31, 0x27c +/* 8031C9F4 00319954 4B FF 5C 8D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031C9F8 00319958 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031C9FC 0031995C 88 03 00 84 */ lbz r0, 0x84(r3) +/* 8031CA00 00319960 28 00 00 00 */ cmplwi r0, 0 +/* 8031CA04 00319964 41 82 01 4C */ beq lbl_8031CB50 +/* 8031CA08 00319968 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CA0C 0031996C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031CA10 00319970 7C 00 18 00 */ cmpw r0, r3 +/* 8031CA14 00319974 41 82 01 3C */ beq lbl_8031CB50 +/* 8031CA18 00319978 80 1F 02 A0 */ lwz r0, 0x2a0(r31) +/* 8031CA1C 0031997C 7C 03 00 00 */ cmpw r3, r0 +/* 8031CA20 00319980 40 82 01 30 */ bne lbl_8031CB50 +/* 8031CA24 00319984 38 00 00 01 */ li r0, 1 +/* 8031CA28 00319988 90 01 00 18 */ stw r0, 0x18(r1) +/* 8031CA2C 0031998C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CA30 00319990 80 63 00 88 */ lwz r3, 0x88(r3) +/* 8031CA34 00319994 28 03 00 00 */ cmplwi r3, 0 +/* 8031CA38 00319998 41 82 00 1C */ beq lbl_8031CA54 +/* 8031CA3C 0031999C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031CA40 003199A0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8031CA44 003199A4 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031CA48 003199A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031CA4C 003199AC 7D 89 03 A6 */ mtctr r12 +/* 8031CA50 003199B0 4E 80 04 21 */ bctrl +lbl_8031CA54: +/* 8031CA54 003199B4 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8031CA58 003199B8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CA5C 003199BC 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CA60 003199C0 7C 84 02 14 */ add r4, r4, r0 +/* 8031CA64 003199C4 48 00 3C DD */ bl sub_80320740 +/* 8031CA68 003199C8 3B 41 00 94 */ addi r26, r1, 0x94 +/* 8031CA6C 003199CC 3B 60 00 00 */ li r27, 0 +/* 8031CA70 003199D0 48 00 00 D4 */ b lbl_8031CB44 +lbl_8031CA74: +/* 8031CA74 003199D4 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031CA78 003199D8 7F 43 D3 78 */ mr r3, r26 +/* 8031CA7C 003199DC 38 84 00 78 */ addi r4, r4, 0x78 +/* 8031CA80 003199E0 48 02 44 29 */ bl __ct__6CTokenFRC6CToken +/* 8031CA84 003199E4 7F 43 D3 78 */ mr r3, r26 +/* 8031CA88 003199E8 48 02 43 85 */ bl GetObj__6CTokenFv +/* 8031CA8C 003199EC 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CA90 003199F0 90 61 00 9C */ stw r3, 0x9c(r1) +/* 8031CA94 003199F4 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CA98 003199F8 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CA9C 003199FC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CAA0 00319A00 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CAA4 00319A04 41 82 00 1C */ beq lbl_8031CAC0 +/* 8031CAA8 00319A08 28 00 00 00 */ cmplwi r0, 0 +/* 8031CAAC 00319A0C 41 82 00 14 */ beq lbl_8031CAC0 +/* 8031CAB0 00319A10 38 61 00 94 */ addi r3, r1, 0x94 +/* 8031CAB4 00319A14 38 80 00 00 */ li r4, 0 +/* 8031CAB8 00319A18 48 02 43 89 */ bl __dt__6CTokenFv +/* 8031CABC 00319A1C 48 00 00 94 */ b lbl_8031CB50 +lbl_8031CAC0: +/* 8031CAC0 00319A20 38 61 00 44 */ addi r3, r1, 0x44 +/* 8031CAC4 00319A24 38 81 00 94 */ addi r4, r1, 0x94 +/* 8031CAC8 00319A28 48 02 43 E1 */ bl __ct__6CTokenFRC6CToken +/* 8031CACC 00319A2C 7F E3 FB 78 */ mr r3, r31 +/* 8031CAD0 00319A30 38 81 00 44 */ addi r4, r1, 0x44 +/* 8031CAD4 00319A34 48 00 09 C5 */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CAD8 00319A38 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CADC 00319A3C 7C 78 1B 78 */ mr r24, r3 +/* 8031CAE0 00319A40 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CAE4 00319A44 7C 00 28 00 */ cmpw r0, r5 +/* 8031CAE8 00319A48 41 80 00 1C */ blt lbl_8031CB04 +/* 8031CAEC 00319A4C 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CAF0 00319A50 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CAF4 00319A54 38 80 00 04 */ li r4, 4 +/* 8031CAF8 00319A58 41 82 00 08 */ beq lbl_8031CB00 +/* 8031CAFC 00319A5C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CB00: +/* 8031CB00 00319A60 48 00 3C 41 */ bl sub_80320740 +lbl_8031CB04: +/* 8031CB04 00319A64 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CB08 00319A68 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CB0C 00319A6C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CB10 00319A70 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CB14 00319A74 41 82 00 08 */ beq lbl_8031CB1C +/* 8031CB18 00319A78 93 03 00 00 */ stw r24, 0(r3) +lbl_8031CB1C: +/* 8031CB1C 00319A7C 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CB20 00319A80 38 61 00 44 */ addi r3, r1, 0x44 +/* 8031CB24 00319A84 38 80 00 00 */ li r4, 0 +/* 8031CB28 00319A88 38 05 00 01 */ addi r0, r5, 1 +/* 8031CB2C 00319A8C 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CB30 00319A90 48 02 43 11 */ bl __dt__6CTokenFv +/* 8031CB34 00319A94 38 61 00 94 */ addi r3, r1, 0x94 +/* 8031CB38 00319A98 38 80 00 00 */ li r4, 0 +/* 8031CB3C 00319A9C 48 02 43 05 */ bl __dt__6CTokenFv +/* 8031CB40 00319AA0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8031CB44: +/* 8031CB44 00319AA4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8031CB48 00319AA8 7C 1B 00 00 */ cmpw r27, r0 +/* 8031CB4C 00319AAC 41 80 FF 28 */ blt lbl_8031CA74 +lbl_8031CB50: +/* 8031CB50 00319AB0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CB54 00319AB4 38 83 00 A4 */ addi r4, r3, 0xa4 +/* 8031CB58 00319AB8 88 03 00 B0 */ lbz r0, 0xb0(r3) +/* 8031CB5C 00319ABC 28 00 00 00 */ cmplwi r0, 0 +/* 8031CB60 00319AC0 41 82 01 18 */ beq lbl_8031CC78 +/* 8031CB64 00319AC4 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CB68 00319AC8 80 BF 00 74 */ lwz r5, 0x74(r31) +/* 8031CB6C 00319ACC 7C 00 28 00 */ cmpw r0, r5 +/* 8031CB70 00319AD0 41 82 01 08 */ beq lbl_8031CC78 +/* 8031CB74 00319AD4 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031CB78 00319AD8 7C 05 00 00 */ cmpw r5, r0 +/* 8031CB7C 00319ADC 40 80 00 FC */ bge lbl_8031CC78 +/* 8031CB80 00319AE0 88 1F 00 88 */ lbz r0, 0x88(r31) +/* 8031CB84 00319AE4 28 00 00 01 */ cmplwi r0, 1 +/* 8031CB88 00319AE8 40 82 00 F0 */ bne lbl_8031CC78 +/* 8031CB8C 00319AEC 80 1F 02 A4 */ lwz r0, 0x2a4(r31) +/* 8031CB90 00319AF0 7C 05 00 00 */ cmpw r5, r0 +/* 8031CB94 00319AF4 41 80 00 E4 */ blt lbl_8031CC78 +/* 8031CB98 00319AF8 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8031CB9C 00319AFC 7C A0 28 50 */ subf r5, r0, r5 +/* 8031CBA0 00319B00 7C 05 1B D6 */ divw r0, r5, r3 +/* 8031CBA4 00319B04 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8031CBA8 00319B08 7C 00 28 51 */ subf. r0, r0, r5 +/* 8031CBAC 00319B0C 40 82 00 CC */ bne lbl_8031CC78 +/* 8031CBB0 00319B10 3B 01 00 88 */ addi r24, r1, 0x88 +/* 8031CBB4 00319B14 7F 03 C3 78 */ mr r3, r24 +/* 8031CBB8 00319B18 48 02 42 F1 */ bl __ct__6CTokenFRC6CToken +/* 8031CBBC 00319B1C 7F 03 C3 78 */ mr r3, r24 +/* 8031CBC0 00319B20 48 02 42 4D */ bl GetObj__6CTokenFv +/* 8031CBC4 00319B24 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CBC8 00319B28 90 61 00 90 */ stw r3, 0x90(r1) +/* 8031CBCC 00319B2C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CBD0 00319B30 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CBD4 00319B34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CBD8 00319B38 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CBDC 00319B3C 41 82 00 0C */ beq lbl_8031CBE8 +/* 8031CBE0 00319B40 28 00 00 00 */ cmplwi r0, 0 +/* 8031CBE4 00319B44 40 82 00 88 */ bne lbl_8031CC6C +lbl_8031CBE8: +/* 8031CBE8 00319B48 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 8031CBEC 00319B4C 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CBF0 00319B50 38 84 00 01 */ addi r4, r4, 1 +/* 8031CBF4 00319B54 48 00 3B 4D */ bl sub_80320740 +/* 8031CBF8 00319B58 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031CBFC 00319B5C 38 81 00 88 */ addi r4, r1, 0x88 +/* 8031CC00 00319B60 48 02 42 A9 */ bl __ct__6CTokenFRC6CToken +/* 8031CC04 00319B64 7F E3 FB 78 */ mr r3, r31 +/* 8031CC08 00319B68 38 81 00 3C */ addi r4, r1, 0x3c +/* 8031CC0C 00319B6C 48 00 08 8D */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CC10 00319B70 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CC14 00319B74 7C 78 1B 78 */ mr r24, r3 +/* 8031CC18 00319B78 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CC1C 00319B7C 7C 00 28 00 */ cmpw r0, r5 +/* 8031CC20 00319B80 41 80 00 1C */ blt lbl_8031CC3C +/* 8031CC24 00319B84 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CC28 00319B88 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CC2C 00319B8C 38 80 00 04 */ li r4, 4 +/* 8031CC30 00319B90 41 82 00 08 */ beq lbl_8031CC38 +/* 8031CC34 00319B94 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CC38: +/* 8031CC38 00319B98 48 00 3B 09 */ bl sub_80320740 +lbl_8031CC3C: +/* 8031CC3C 00319B9C 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CC40 00319BA0 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CC44 00319BA4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CC48 00319BA8 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CC4C 00319BAC 41 82 00 08 */ beq lbl_8031CC54 +/* 8031CC50 00319BB0 93 03 00 00 */ stw r24, 0(r3) +lbl_8031CC54: +/* 8031CC54 00319BB4 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CC58 00319BB8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031CC5C 00319BBC 38 80 00 00 */ li r4, 0 +/* 8031CC60 00319BC0 38 05 00 01 */ addi r0, r5, 1 +/* 8031CC64 00319BC4 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CC68 00319BC8 48 02 41 D9 */ bl __dt__6CTokenFv +lbl_8031CC6C: +/* 8031CC6C 00319BCC 38 61 00 88 */ addi r3, r1, 0x88 +/* 8031CC70 00319BD0 38 80 00 00 */ li r4, 0 +/* 8031CC74 00319BD4 48 02 41 CD */ bl __dt__6CTokenFv +lbl_8031CC78: +/* 8031CC78 00319BD8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CC7C 00319BDC 80 63 00 BC */ lwz r3, 0xbc(r3) +/* 8031CC80 00319BE0 28 03 00 00 */ cmplwi r3, 0 +/* 8031CC84 00319BE4 41 82 01 70 */ beq lbl_8031CDF4 +/* 8031CC88 00319BE8 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CC8C 00319BEC 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031CC90 00319BF0 7C 00 20 00 */ cmpw r0, r4 +/* 8031CC94 00319BF4 41 82 01 60 */ beq lbl_8031CDF4 +/* 8031CC98 00319BF8 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031CC9C 00319BFC 7C 04 00 00 */ cmpw r4, r0 +/* 8031CCA0 00319C00 40 80 01 54 */ bge lbl_8031CDF4 +/* 8031CCA4 00319C04 A3 AD 9C F8 */ lhz r29, lbl_805A88B8@sda21(r13) +/* 8031CCA8 00319C08 48 01 68 5D */ bl sub_80333504 +/* 8031CCAC 00319C0C 7C 7E 1B 78 */ mr r30, r3 +/* 8031CCB0 00319C10 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CCB4 00319C14 80 83 00 04 */ lwz r4, 4(r3) +/* 8031CCB8 00319C18 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CCBC 00319C1C 7C 84 02 14 */ add r4, r4, r0 +/* 8031CCC0 00319C20 48 00 3A 81 */ bl sub_80320740 +/* 8031CCC4 00319C24 57 BB 04 3E */ clrlwi r27, r29, 0x10 +/* 8031CCC8 00319C28 3B 21 00 7C */ addi r25, r1, 0x7c +/* 8031CCCC 00319C2C 3B 40 00 00 */ li r26, 0 +/* 8031CCD0 00319C30 3B 80 00 00 */ li r28, 0 +/* 8031CCD4 00319C34 48 00 01 10 */ b lbl_8031CDE4 +lbl_8031CCD8: +/* 8031CCD8 00319C38 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8031CCDC 00319C3C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8031CCE0 00319C40 7C 80 E2 14 */ add r4, r0, r28 +/* 8031CCE4 00319C44 48 00 07 75 */ bl sub_8031d458 +/* 8031CCE8 00319C48 7F 23 CB 78 */ mr r3, r25 +/* 8031CCEC 00319C4C 38 81 00 64 */ addi r4, r1, 0x64 +/* 8031CCF0 00319C50 48 02 41 B9 */ bl __ct__6CTokenFRC6CToken +/* 8031CCF4 00319C54 7F 23 CB 78 */ mr r3, r25 +/* 8031CCF8 00319C58 48 02 41 15 */ bl GetObj__6CTokenFv +/* 8031CCFC 00319C5C 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8031CD00 00319C60 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CD04 00319C64 28 00 00 00 */ cmplwi r0, 0 +/* 8031CD08 00319C68 90 61 00 84 */ stw r3, 0x84(r1) +/* 8031CD0C 00319C6C 41 82 00 10 */ beq lbl_8031CD1C +/* 8031CD10 00319C70 38 61 00 64 */ addi r3, r1, 0x64 +/* 8031CD14 00319C74 38 80 FF FF */ li r4, -1 +/* 8031CD18 00319C78 48 02 41 29 */ bl __dt__6CTokenFv +lbl_8031CD1C: +/* 8031CD1C 00319C7C 38 00 00 00 */ li r0, 0 +/* 8031CD20 00319C80 80 61 00 84 */ lwz r3, 0x84(r1) +/* 8031CD24 00319C84 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8031CD28 00319C88 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CD2C 00319C8C 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CD30 00319C90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CD34 00319C94 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CD38 00319C98 41 82 00 1C */ beq lbl_8031CD54 +/* 8031CD3C 00319C9C 28 00 00 00 */ cmplwi r0, 0 +/* 8031CD40 00319CA0 41 82 00 14 */ beq lbl_8031CD54 +/* 8031CD44 00319CA4 38 61 00 7C */ addi r3, r1, 0x7c +/* 8031CD48 00319CA8 38 80 00 00 */ li r4, 0 +/* 8031CD4C 00319CAC 48 02 40 F5 */ bl __dt__6CTokenFv +/* 8031CD50 00319CB0 48 00 00 88 */ b lbl_8031CDD8 +lbl_8031CD54: +/* 8031CD54 00319CB4 B3 6D 9C F8 */ sth r27, lbl_805A88B8@sda21(r13) +/* 8031CD58 00319CB8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8031CD5C 00319CBC 38 81 00 7C */ addi r4, r1, 0x7c +/* 8031CD60 00319CC0 48 02 41 49 */ bl __ct__6CTokenFRC6CToken +/* 8031CD64 00319CC4 7F E3 FB 78 */ mr r3, r31 +/* 8031CD68 00319CC8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8031CD6C 00319CCC 48 00 07 2D */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CD70 00319CD0 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CD74 00319CD4 7C 78 1B 78 */ mr r24, r3 +/* 8031CD78 00319CD8 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CD7C 00319CDC 7C 00 28 00 */ cmpw r0, r5 +/* 8031CD80 00319CE0 41 80 00 1C */ blt lbl_8031CD9C +/* 8031CD84 00319CE4 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CD88 00319CE8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CD8C 00319CEC 38 80 00 04 */ li r4, 4 +/* 8031CD90 00319CF0 41 82 00 08 */ beq lbl_8031CD98 +/* 8031CD94 00319CF4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CD98: +/* 8031CD98 00319CF8 48 00 39 A9 */ bl sub_80320740 +lbl_8031CD9C: +/* 8031CD9C 00319CFC 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CDA0 00319D00 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CDA4 00319D04 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CDA8 00319D08 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CDAC 00319D0C 41 82 00 08 */ beq lbl_8031CDB4 +/* 8031CDB0 00319D10 93 03 00 00 */ stw r24, 0(r3) +lbl_8031CDB4: +/* 8031CDB4 00319D14 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CDB8 00319D18 38 61 00 34 */ addi r3, r1, 0x34 +/* 8031CDBC 00319D1C 38 80 00 00 */ li r4, 0 +/* 8031CDC0 00319D20 38 05 00 01 */ addi r0, r5, 1 +/* 8031CDC4 00319D24 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CDC8 00319D28 48 02 40 79 */ bl __dt__6CTokenFv +/* 8031CDCC 00319D2C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8031CDD0 00319D30 38 80 00 00 */ li r4, 0 +/* 8031CDD4 00319D34 48 02 40 6D */ bl __dt__6CTokenFv +lbl_8031CDD8: +/* 8031CDD8 00319D38 3B 9C 00 1C */ addi r28, r28, 0x1c +/* 8031CDDC 00319D3C 3B 7B 00 01 */ addi r27, r27, 1 +/* 8031CDE0 00319D40 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8031CDE4: +/* 8031CDE4 00319D44 80 1E 00 04 */ lwz r0, 4(r30) +/* 8031CDE8 00319D48 7C 1A 00 00 */ cmpw r26, r0 +/* 8031CDEC 00319D4C 41 80 FE EC */ blt lbl_8031CCD8 +/* 8031CDF0 00319D50 B3 AD 9C F8 */ sth r29, lbl_805A88B8@sda21(r13) +lbl_8031CDF4: +/* 8031CDF4 00319D54 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031CDF8 00319D58 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031CDFC 00319D5C 7C 03 00 00 */ cmpw r3, r0 +/* 8031CE00 00319D60 40 82 01 4C */ bne lbl_8031CF4C +/* 8031CE04 00319D64 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CE08 00319D68 7C 00 18 00 */ cmpw r0, r3 +/* 8031CE0C 00319D6C 41 82 01 40 */ beq lbl_8031CF4C +/* 8031CE10 00319D70 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CE14 00319D74 88 03 00 9C */ lbz r0, 0x9c(r3) +/* 8031CE18 00319D78 28 00 00 00 */ cmplwi r0, 0 +/* 8031CE1C 00319D7C 41 82 01 30 */ beq lbl_8031CF4C +/* 8031CE20 00319D80 38 00 00 01 */ li r0, 1 +/* 8031CE24 00319D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031CE28 00319D88 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CE2C 00319D8C 80 63 00 A0 */ lwz r3, 0xa0(r3) +/* 8031CE30 00319D90 28 03 00 00 */ cmplwi r3, 0 +/* 8031CE34 00319D94 41 82 00 1C */ beq lbl_8031CE50 +/* 8031CE38 00319D98 81 83 00 00 */ lwz r12, 0(r3) +/* 8031CE3C 00319D9C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8031CE40 00319DA0 38 80 00 00 */ li r4, 0 +/* 8031CE44 00319DA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031CE48 00319DA8 7D 89 03 A6 */ mtctr r12 +/* 8031CE4C 00319DAC 4E 80 04 21 */ bctrl +lbl_8031CE50: +/* 8031CE50 00319DB0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8031CE54 00319DB4 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CE58 00319DB8 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CE5C 00319DBC 7C 84 02 14 */ add r4, r4, r0 +/* 8031CE60 00319DC0 48 00 38 E1 */ bl sub_80320740 +/* 8031CE64 00319DC4 3B 21 00 70 */ addi r25, r1, 0x70 +/* 8031CE68 00319DC8 3B 40 00 00 */ li r26, 0 +/* 8031CE6C 00319DCC 48 00 00 D4 */ b lbl_8031CF40 +lbl_8031CE70: +/* 8031CE70 00319DD0 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031CE74 00319DD4 7F 23 CB 78 */ mr r3, r25 +/* 8031CE78 00319DD8 38 84 00 90 */ addi r4, r4, 0x90 +/* 8031CE7C 00319DDC 48 02 40 2D */ bl __ct__6CTokenFRC6CToken +/* 8031CE80 00319DE0 7F 23 CB 78 */ mr r3, r25 +/* 8031CE84 00319DE4 48 02 3F 89 */ bl GetObj__6CTokenFv +/* 8031CE88 00319DE8 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CE8C 00319DEC 90 61 00 78 */ stw r3, 0x78(r1) +/* 8031CE90 00319DF0 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CE94 00319DF4 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CE98 00319DF8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CE9C 00319DFC 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CEA0 00319E00 41 82 00 1C */ beq lbl_8031CEBC +/* 8031CEA4 00319E04 28 00 00 00 */ cmplwi r0, 0 +/* 8031CEA8 00319E08 41 82 00 14 */ beq lbl_8031CEBC +/* 8031CEAC 00319E0C 38 61 00 70 */ addi r3, r1, 0x70 +/* 8031CEB0 00319E10 38 80 00 00 */ li r4, 0 +/* 8031CEB4 00319E14 48 02 3F 8D */ bl __dt__6CTokenFv +/* 8031CEB8 00319E18 48 00 00 94 */ b lbl_8031CF4C +lbl_8031CEBC: +/* 8031CEBC 00319E1C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031CEC0 00319E20 38 81 00 70 */ addi r4, r1, 0x70 +/* 8031CEC4 00319E24 48 02 3F E5 */ bl __ct__6CTokenFRC6CToken +/* 8031CEC8 00319E28 7F E3 FB 78 */ mr r3, r31 +/* 8031CECC 00319E2C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8031CED0 00319E30 48 00 05 C9 */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CED4 00319E34 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CED8 00319E38 7C 7B 1B 78 */ mr r27, r3 +/* 8031CEDC 00319E3C 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CEE0 00319E40 7C 00 28 00 */ cmpw r0, r5 +/* 8031CEE4 00319E44 41 80 00 1C */ blt lbl_8031CF00 +/* 8031CEE8 00319E48 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CEEC 00319E4C 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CEF0 00319E50 38 80 00 04 */ li r4, 4 +/* 8031CEF4 00319E54 41 82 00 08 */ beq lbl_8031CEFC +/* 8031CEF8 00319E58 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CEFC: +/* 8031CEFC 00319E5C 48 00 38 45 */ bl sub_80320740 +lbl_8031CF00: +/* 8031CF00 00319E60 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CF04 00319E64 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CF08 00319E68 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CF0C 00319E6C 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CF10 00319E70 41 82 00 08 */ beq lbl_8031CF18 +/* 8031CF14 00319E74 93 63 00 00 */ stw r27, 0(r3) +lbl_8031CF18: +/* 8031CF18 00319E78 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CF1C 00319E7C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031CF20 00319E80 38 80 00 00 */ li r4, 0 +/* 8031CF24 00319E84 38 05 00 01 */ addi r0, r5, 1 +/* 8031CF28 00319E88 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CF2C 00319E8C 48 02 3F 15 */ bl __dt__6CTokenFv +/* 8031CF30 00319E90 38 61 00 70 */ addi r3, r1, 0x70 +/* 8031CF34 00319E94 38 80 00 00 */ li r4, 0 +/* 8031CF38 00319E98 48 02 3F 09 */ bl __dt__6CTokenFv +/* 8031CF3C 00319E9C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8031CF40: +/* 8031CF40 00319EA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031CF44 00319EA4 7C 1A 00 00 */ cmpw r26, r0 +/* 8031CF48 00319EA8 41 80 FF 28 */ blt lbl_8031CE70 +lbl_8031CF4C: +/* 8031CF4C 00319EAC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CF50 00319EB0 88 03 00 CC */ lbz r0, 0xcc(r3) +/* 8031CF54 00319EB4 28 00 00 00 */ cmplwi r0, 0 +/* 8031CF58 00319EB8 41 82 01 98 */ beq lbl_8031D0F0 +/* 8031CF5C 00319EBC 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CF60 00319EC0 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031CF64 00319EC4 7C 00 18 00 */ cmpw r0, r3 +/* 8031CF68 00319EC8 41 82 01 88 */ beq lbl_8031D0F0 +/* 8031CF6C 00319ECC 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8031CF70 00319ED0 7C 03 00 00 */ cmpw r3, r0 +/* 8031CF74 00319ED4 40 82 01 7C */ bne lbl_8031D0F0 +/* 8031CF78 00319ED8 3C 60 80 3D */ lis r3, lbl_803D7910@ha +/* 8031CF7C 00319EDC 3B 20 00 00 */ li r25, 0 +/* 8031CF80 00319EE0 38 83 79 10 */ addi r4, r3, lbl_803D7910@l +/* 8031CF84 00319EE4 38 A0 00 00 */ li r5, 0 +/* 8031CF88 00319EE8 38 60 02 10 */ li r3, 0x210 +/* 8031CF8C 00319EEC 4B FF 88 E1 */ bl __nw__FUlPCcPCc +/* 8031CF90 00319EF0 7C 78 1B 79 */ or. r24, r3, r3 +/* 8031CF94 00319EF4 41 82 00 2C */ beq lbl_8031CFC0 +/* 8031CF98 00319EF8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031CF9C 00319EFC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8031CFA0 00319F00 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 8031CFA4 00319F04 48 02 3F 05 */ bl __ct__6CTokenFRC6CToken +/* 8031CFA8 00319F08 7F 03 C3 78 */ mr r3, r24 +/* 8031CFAC 00319F0C 38 81 00 24 */ addi r4, r1, 0x24 +/* 8031CFB0 00319F10 3B 20 00 01 */ li r25, 1 +/* 8031CFB4 00319F14 38 A0 00 00 */ li r5, 0 +/* 8031CFB8 00319F18 48 01 1E 2D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 8031CFBC 00319F1C 7C 78 1B 78 */ mr r24, r3 +lbl_8031CFC0: +/* 8031CFC0 00319F20 7F 20 07 75 */ extsb. r0, r25 +/* 8031CFC4 00319F24 41 82 00 10 */ beq lbl_8031CFD4 +/* 8031CFC8 00319F28 38 61 00 24 */ addi r3, r1, 0x24 +/* 8031CFCC 00319F2C 38 80 00 00 */ li r4, 0 +/* 8031CFD0 00319F30 48 02 3E 71 */ bl __dt__6CTokenFv +lbl_8031CFD4: +/* 8031CFD4 00319F34 7F 03 C3 78 */ mr r3, r24 +/* 8031CFD8 00319F38 38 9F 00 E8 */ addi r4, r31, 0xe8 +/* 8031CFDC 00319F3C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031CFE0 00319F40 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031CFE4 00319F44 7D 89 03 A6 */ mtctr r12 +/* 8031CFE8 00319F48 4E 80 04 21 */ bctrl +/* 8031CFEC 00319F4C 7F 03 C3 78 */ mr r3, r24 +/* 8031CFF0 00319F50 38 9F 01 00 */ addi r4, r31, 0x100 +/* 8031CFF4 00319F54 81 98 00 00 */ lwz r12, 0(r24) +/* 8031CFF8 00319F58 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031CFFC 00319F5C 7D 89 03 A6 */ mtctr r12 +/* 8031D000 00319F60 4E 80 04 21 */ bctrl +/* 8031D004 00319F64 7F 03 C3 78 */ mr r3, r24 +/* 8031D008 00319F68 38 9F 01 6C */ addi r4, r31, 0x16c +/* 8031D00C 00319F6C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D010 00319F70 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031D014 00319F74 7D 89 03 A6 */ mtctr r12 +/* 8031D018 00319F78 4E 80 04 21 */ bctrl +/* 8031D01C 00319F7C C0 3F 00 E0 */ lfs f1, 0xe0(r31) +/* 8031D020 00319F80 7F 03 C3 78 */ mr r3, r24 +/* 8031D024 00319F84 C0 1F 02 B4 */ lfs f0, 0x2b4(r31) +/* 8031D028 00319F88 38 81 00 58 */ addi r4, r1, 0x58 +/* 8031D02C 00319F8C C0 7F 00 E4 */ lfs f3, 0xe4(r31) +/* 8031D030 00319F90 C0 5F 02 B8 */ lfs f2, 0x2b8(r31) +/* 8031D034 00319F94 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031D038 00319F98 C0 3F 00 DC */ lfs f1, 0xdc(r31) +/* 8031D03C 00319F9C C0 1F 02 B0 */ lfs f0, 0x2b0(r31) +/* 8031D040 00319FA0 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031D044 00319FA4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031D048 00319FA8 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 8031D04C 00319FAC D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8031D050 00319FB0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8031D054 00319FB4 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D058 00319FB8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031D05C 00319FBC 7D 89 03 A6 */ mtctr r12 +/* 8031D060 00319FC0 4E 80 04 21 */ bctrl +/* 8031D064 00319FC4 7F 03 C3 78 */ mr r3, r24 +/* 8031D068 00319FC8 38 9F 01 D8 */ addi r4, r31, 0x1d8 +/* 8031D06C 00319FCC 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D070 00319FD0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031D074 00319FD4 7D 89 03 A6 */ mtctr r12 +/* 8031D078 00319FD8 4E 80 04 21 */ bctrl +/* 8031D07C 00319FDC 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D080 00319FE0 7F 03 C3 78 */ mr r3, r24 +/* 8031D084 00319FE4 88 9F 00 88 */ lbz r4, 0x88(r31) +/* 8031D088 00319FE8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031D08C 00319FEC 7D 89 03 A6 */ mtctr r12 +/* 8031D090 00319FF0 4E 80 04 21 */ bctrl +/* 8031D094 00319FF4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 8031D098 00319FF8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D09C 00319FFC 38 84 00 01 */ addi r4, r4, 1 +/* 8031D0A0 0031A000 48 00 36 A1 */ bl sub_80320740 +/* 8031D0A4 0031A004 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D0A8 0031A008 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031D0AC 0031A00C 7C 00 28 00 */ cmpw r0, r5 +/* 8031D0B0 0031A010 41 80 00 1C */ blt lbl_8031D0CC +/* 8031D0B4 0031A014 2C 05 00 00 */ cmpwi r5, 0 +/* 8031D0B8 0031A018 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D0BC 0031A01C 38 80 00 04 */ li r4, 4 +/* 8031D0C0 0031A020 41 82 00 08 */ beq lbl_8031D0C8 +/* 8031D0C4 0031A024 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031D0C8: +/* 8031D0C8 0031A028 48 00 36 79 */ bl sub_80320740 +lbl_8031D0CC: +/* 8031D0CC 0031A02C 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D0D0 0031A030 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031D0D4 0031A034 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D0D8 0031A038 7C 63 02 15 */ add. r3, r3, r0 +/* 8031D0DC 0031A03C 41 82 00 08 */ beq lbl_8031D0E4 +/* 8031D0E0 0031A040 93 03 00 00 */ stw r24, 0(r3) +lbl_8031D0E4: +/* 8031D0E4 0031A044 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8031D0E8 0031A048 38 03 00 01 */ addi r0, r3, 1 +/* 8031D0EC 0031A04C 90 1F 02 94 */ stw r0, 0x294(r31) +lbl_8031D0F0: +/* 8031D0F0 0031A050 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D0F4 0031A054 88 03 00 E0 */ lbz r0, 0xe0(r3) +/* 8031D0F8 0031A058 28 00 00 00 */ cmplwi r0, 0 +/* 8031D0FC 0031A05C 41 82 01 94 */ beq lbl_8031D290 +/* 8031D100 0031A060 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031D104 0031A064 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031D108 0031A068 7C 00 18 00 */ cmpw r0, r3 +/* 8031D10C 0031A06C 41 82 01 84 */ beq lbl_8031D290 +/* 8031D110 0031A070 80 1F 02 BC */ lwz r0, 0x2bc(r31) +/* 8031D114 0031A074 7C 03 00 00 */ cmpw r3, r0 +/* 8031D118 0031A078 40 82 01 78 */ bne lbl_8031D290 +/* 8031D11C 0031A07C 3C 60 80 3D */ lis r3, lbl_803D7910@ha +/* 8031D120 0031A080 3B 20 00 00 */ li r25, 0 +/* 8031D124 0031A084 38 83 79 10 */ addi r4, r3, lbl_803D7910@l +/* 8031D128 0031A088 38 A0 00 00 */ li r5, 0 +/* 8031D12C 0031A08C 38 60 04 58 */ li r3, 0x458 +/* 8031D130 0031A090 4B FF 87 3D */ bl __nw__FUlPCcPCc +/* 8031D134 0031A094 7C 78 1B 79 */ or. r24, r3, r3 +/* 8031D138 0031A098 41 82 00 28 */ beq lbl_8031D160 +/* 8031D13C 0031A09C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031D140 0031A0A0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8031D144 0031A0A4 38 84 00 D8 */ addi r4, r4, 0xd8 +/* 8031D148 0031A0A8 48 02 3D 61 */ bl __ct__6CTokenFRC6CToken +/* 8031D14C 0031A0AC 7F 03 C3 78 */ mr r3, r24 +/* 8031D150 0031A0B0 38 81 00 1C */ addi r4, r1, 0x1c +/* 8031D154 0031A0B4 3B 20 00 01 */ li r25, 1 +/* 8031D158 0031A0B8 48 04 50 19 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8031D15C 0031A0BC 7C 78 1B 78 */ mr r24, r3 +lbl_8031D160: +/* 8031D160 0031A0C0 7F 20 07 75 */ extsb. r0, r25 +/* 8031D164 0031A0C4 41 82 00 10 */ beq lbl_8031D174 +/* 8031D168 0031A0C8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8031D16C 0031A0CC 38 80 00 00 */ li r4, 0 +/* 8031D170 0031A0D0 48 02 3C D1 */ bl __dt__6CTokenFv +lbl_8031D174: +/* 8031D174 0031A0D4 7F 03 C3 78 */ mr r3, r24 +/* 8031D178 0031A0D8 38 9F 00 E8 */ addi r4, r31, 0xe8 +/* 8031D17C 0031A0DC 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D180 0031A0E0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031D184 0031A0E4 7D 89 03 A6 */ mtctr r12 +/* 8031D188 0031A0E8 4E 80 04 21 */ bctrl +/* 8031D18C 0031A0EC 7F 03 C3 78 */ mr r3, r24 +/* 8031D190 0031A0F0 38 9F 01 00 */ addi r4, r31, 0x100 +/* 8031D194 0031A0F4 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D198 0031A0F8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031D19C 0031A0FC 7D 89 03 A6 */ mtctr r12 +/* 8031D1A0 0031A100 4E 80 04 21 */ bctrl +/* 8031D1A4 0031A104 7F 03 C3 78 */ mr r3, r24 +/* 8031D1A8 0031A108 38 9F 01 6C */ addi r4, r31, 0x16c +/* 8031D1AC 0031A10C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D1B0 0031A110 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031D1B4 0031A114 7D 89 03 A6 */ mtctr r12 +/* 8031D1B8 0031A118 4E 80 04 21 */ bctrl +/* 8031D1BC 0031A11C C0 3F 00 E0 */ lfs f1, 0xe0(r31) +/* 8031D1C0 0031A120 7F 03 C3 78 */ mr r3, r24 +/* 8031D1C4 0031A124 C0 1F 02 C4 */ lfs f0, 0x2c4(r31) +/* 8031D1C8 0031A128 38 81 00 4C */ addi r4, r1, 0x4c +/* 8031D1CC 0031A12C C0 7F 00 E4 */ lfs f3, 0xe4(r31) +/* 8031D1D0 0031A130 C0 5F 02 C8 */ lfs f2, 0x2c8(r31) +/* 8031D1D4 0031A134 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031D1D8 0031A138 C0 3F 00 DC */ lfs f1, 0xdc(r31) +/* 8031D1DC 0031A13C C0 1F 02 C0 */ lfs f0, 0x2c0(r31) +/* 8031D1E0 0031A140 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031D1E4 0031A144 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031D1E8 0031A148 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 8031D1EC 0031A14C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8031D1F0 0031A150 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8031D1F4 0031A154 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D1F8 0031A158 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031D1FC 0031A15C 7D 89 03 A6 */ mtctr r12 +/* 8031D200 0031A160 4E 80 04 21 */ bctrl +/* 8031D204 0031A164 7F 03 C3 78 */ mr r3, r24 +/* 8031D208 0031A168 38 9F 01 D8 */ addi r4, r31, 0x1d8 +/* 8031D20C 0031A16C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D210 0031A170 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031D214 0031A174 7D 89 03 A6 */ mtctr r12 +/* 8031D218 0031A178 4E 80 04 21 */ bctrl +/* 8031D21C 0031A17C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D220 0031A180 7F 03 C3 78 */ mr r3, r24 +/* 8031D224 0031A184 88 9F 00 88 */ lbz r4, 0x88(r31) +/* 8031D228 0031A188 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031D22C 0031A18C 7D 89 03 A6 */ mtctr r12 +/* 8031D230 0031A190 4E 80 04 21 */ bctrl +/* 8031D234 0031A194 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 8031D238 0031A198 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D23C 0031A19C 38 84 00 01 */ addi r4, r4, 1 +/* 8031D240 0031A1A0 48 00 35 01 */ bl sub_80320740 +/* 8031D244 0031A1A4 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D248 0031A1A8 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031D24C 0031A1AC 7C 00 28 00 */ cmpw r0, r5 +/* 8031D250 0031A1B0 41 80 00 1C */ blt lbl_8031D26C +/* 8031D254 0031A1B4 2C 05 00 00 */ cmpwi r5, 0 +/* 8031D258 0031A1B8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D25C 0031A1BC 38 80 00 04 */ li r4, 4 +/* 8031D260 0031A1C0 41 82 00 08 */ beq lbl_8031D268 +/* 8031D264 0031A1C4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031D268: +/* 8031D268 0031A1C8 48 00 34 D9 */ bl sub_80320740 +lbl_8031D26C: +/* 8031D26C 0031A1CC 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D270 0031A1D0 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031D274 0031A1D4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D278 0031A1D8 7C 63 02 15 */ add. r3, r3, r0 +/* 8031D27C 0031A1DC 41 82 00 08 */ beq lbl_8031D284 +/* 8031D280 0031A1E0 93 03 00 00 */ stw r24, 0(r3) +lbl_8031D284: +/* 8031D284 0031A1E4 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8031D288 0031A1E8 38 03 00 01 */ addi r0, r3, 1 +/* 8031D28C 0031A1EC 90 1F 02 94 */ stw r0, 0x294(r31) +lbl_8031D290: +/* 8031D290 0031A1F0 80 1F 02 9C */ lwz r0, 0x29c(r31) +/* 8031D294 0031A1F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031D298 0031A1F8 48 00 00 94 */ b lbl_8031D32C +lbl_8031D29C: +/* 8031D29C 0031A1FC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8031D2A0 0031A200 FC 20 F8 90 */ fmr f1, f31 +/* 8031D2A4 0031A204 83 03 00 00 */ lwz r24, 0(r3) +/* 8031D2A8 0031A208 7F 03 C3 78 */ mr r3, r24 +/* 8031D2AC 0031A20C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D2B0 0031A210 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D2B4 0031A214 7D 89 03 A6 */ mtctr r12 +/* 8031D2B8 0031A218 4E 80 04 21 */ bctrl +/* 8031D2BC 0031A21C 7F 03 C3 78 */ mr r3, r24 +/* 8031D2C0 0031A220 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D2C4 0031A224 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8031D2C8 0031A228 7D 89 03 A6 */ mtctr r12 +/* 8031D2CC 0031A22C 4E 80 04 21 */ bctrl +/* 8031D2D0 0031A230 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8031D2D4 0031A234 28 00 00 01 */ cmplwi r0, 1 +/* 8031D2D8 0031A238 40 82 00 48 */ bne lbl_8031D320 +/* 8031D2DC 0031A23C 28 18 00 00 */ cmplwi r24, 0 +/* 8031D2E0 0031A240 41 82 00 1C */ beq lbl_8031D2FC +/* 8031D2E4 0031A244 7F 03 C3 78 */ mr r3, r24 +/* 8031D2E8 0031A248 38 80 00 01 */ li r4, 1 +/* 8031D2EC 0031A24C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D2F0 0031A250 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031D2F4 0031A254 7D 89 03 A6 */ mtctr r12 +/* 8031D2F8 0031A258 4E 80 04 21 */ bctrl +lbl_8031D2FC: +/* 8031D2FC 0031A25C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031D300 0031A260 38 61 00 0C */ addi r3, r1, 0xc +/* 8031D304 0031A264 38 9F 02 90 */ addi r4, r31, 0x290 +/* 8031D308 0031A268 38 A1 00 08 */ addi r5, r1, 8 +/* 8031D30C 0031A26C 90 01 00 08 */ stw r0, 8(r1) +/* 8031D310 0031A270 48 00 00 69 */ bl sub_8031d378 +/* 8031D314 0031A274 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8031D318 0031A278 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031D31C 0031A27C 48 00 00 10 */ b lbl_8031D32C +lbl_8031D320: +/* 8031D320 0031A280 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8031D324 0031A284 38 03 00 04 */ addi r0, r3, 4 +/* 8031D328 0031A288 90 01 00 10 */ stw r0, 0x10(r1) +lbl_8031D32C: +/* 8031D32C 0031A28C 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D330 0031A290 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031D334 0031A294 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D338 0031A298 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8031D33C 0031A29C 7C 03 02 14 */ add r0, r3, r0 +/* 8031D340 0031A2A0 7C 04 00 40 */ cmplw r4, r0 +/* 8031D344 0031A2A4 40 82 FF 58 */ bne lbl_8031D29C +/* 8031D348 0031A2A8 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 8031D34C 0031A2AC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8031D350 0031A2B0 38 80 FF FF */ li r4, -1 +/* 8031D354 0031A2B4 90 1F 00 84 */ stw r0, 0x84(r31) +/* 8031D358 0031A2B8 4B FF 52 AD */ bl __dt__13CGlobalRandomFv +lbl_8031D35C: +/* 8031D35C 0031A2BC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8031D360 0031A2C0 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8031D364 0031A2C4 BB 01 00 B0 */ lmw r24, 0xb0(r1) +/* 8031D368 0031A2C8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8031D36C 0031A2CC 7C 08 03 A6 */ mtlr r0 +/* 8031D370 0031A2D0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8031D374 0031A2D4 4E 80 00 20 */ blr + +.global sub_8031d378 +sub_8031d378: +/* 8031D378 0031A2D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031D37C 0031A2DC 7C 08 02 A6 */ mflr r0 +/* 8031D380 0031A2E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031D384 0031A2E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031D388 0031A2E8 7C 7F 1B 78 */ mr r31, r3 +/* 8031D38C 0031A2EC 80 C5 00 00 */ lwz r6, 0(r5) +/* 8031D390 0031A2F0 80 05 00 00 */ lwz r0, 0(r5) +/* 8031D394 0031A2F4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8031D398 0031A2F8 38 E6 00 04 */ addi r7, r6, 4 +/* 8031D39C 0031A2FC 38 C1 00 0C */ addi r6, r1, 0xc +/* 8031D3A0 0031A300 90 E1 00 08 */ stw r7, 8(r1) +/* 8031D3A4 0031A304 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8031D3A8 0031A308 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031D3AC 0031A30C 48 00 00 19 */ bl sub_8031d3c4 +/* 8031D3B0 0031A310 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031D3B4 0031A314 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031D3B8 0031A318 7C 08 03 A6 */ mtlr r0 +/* 8031D3BC 0031A31C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031D3C0 0031A320 4E 80 00 20 */ blr + +.global sub_8031d3c4 +sub_8031d3c4: +/* 8031D3C4 0031A324 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031D3C8 0031A328 80 E5 00 00 */ lwz r7, 0(r5) +/* 8031D3CC 0031A32C 80 06 00 00 */ lwz r0, 0(r6) +/* 8031D3D0 0031A330 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8031D3D4 0031A334 90 01 00 08 */ stw r0, 8(r1) +/* 8031D3D8 0031A338 48 00 00 08 */ b lbl_8031D3E0 +lbl_8031D3DC: +/* 8031D3DC 0031A33C 38 E7 00 04 */ addi r7, r7, 4 +lbl_8031D3E0: +/* 8031D3E0 0031A340 7C 07 00 40 */ cmplw r7, r0 +/* 8031D3E4 0031A344 40 82 FF F8 */ bne lbl_8031D3DC +/* 8031D3E8 0031A348 81 04 00 0C */ lwz r8, 0xc(r4) +/* 8031D3EC 0031A34C 80 05 00 00 */ lwz r0, 0(r5) +/* 8031D3F0 0031A350 80 E6 00 00 */ lwz r7, 0(r6) +/* 8031D3F4 0031A354 7C 08 00 50 */ subf r0, r8, r0 +/* 8031D3F8 0031A358 7C 00 16 70 */ srawi r0, r0, 2 +/* 8031D3FC 0031A35C 7C C0 01 94 */ addze r6, r0 +/* 8031D400 0031A360 54 C0 10 3A */ slwi r0, r6, 2 +/* 8031D404 0031A364 7C C9 33 78 */ mr r9, r6 +/* 8031D408 0031A368 7D 08 02 14 */ add r8, r8, r0 +/* 8031D40C 0031A36C 48 00 00 20 */ b lbl_8031D42C +lbl_8031D410: +/* 8031D410 0031A370 28 08 00 00 */ cmplwi r8, 0 +/* 8031D414 0031A374 41 82 00 0C */ beq lbl_8031D420 +/* 8031D418 0031A378 80 07 00 00 */ lwz r0, 0(r7) +/* 8031D41C 0031A37C 90 08 00 00 */ stw r0, 0(r8) +lbl_8031D420: +/* 8031D420 0031A380 39 08 00 04 */ addi r8, r8, 4 +/* 8031D424 0031A384 39 29 00 01 */ addi r9, r9, 1 +/* 8031D428 0031A388 38 E7 00 04 */ addi r7, r7, 4 +lbl_8031D42C: +/* 8031D42C 0031A38C 80 04 00 04 */ lwz r0, 4(r4) +/* 8031D430 0031A390 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 8031D434 0031A394 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D438 0031A398 7C 06 02 14 */ add r0, r6, r0 +/* 8031D43C 0031A39C 7C 07 00 40 */ cmplw r7, r0 +/* 8031D440 0031A3A0 40 82 FF D0 */ bne lbl_8031D410 +/* 8031D444 0031A3A4 91 24 00 04 */ stw r9, 4(r4) +/* 8031D448 0031A3A8 80 05 00 00 */ lwz r0, 0(r5) +/* 8031D44C 0031A3AC 90 03 00 00 */ stw r0, 0(r3) +/* 8031D450 0031A3B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031D454 0031A3B4 4E 80 00 20 */ blr + +.global sub_8031d458 +sub_8031d458: +/* 8031D458 0031A3B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031D45C 0031A3BC 7C 08 02 A6 */ mflr r0 +/* 8031D460 0031A3C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031D464 0031A3C4 88 04 00 18 */ lbz r0, 0x18(r4) +/* 8031D468 0031A3C8 98 03 00 08 */ stb r0, 8(r3) +/* 8031D46C 0031A3CC 88 04 00 18 */ lbz r0, 0x18(r4) +/* 8031D470 0031A3D0 28 00 00 00 */ cmplwi r0, 0 +/* 8031D474 0031A3D4 41 82 00 14 */ beq lbl_8031D488 +/* 8031D478 0031A3D8 28 03 00 00 */ cmplwi r3, 0 +/* 8031D47C 0031A3DC 38 84 00 10 */ addi r4, r4, 0x10 +/* 8031D480 0031A3E0 41 82 00 08 */ beq lbl_8031D488 +/* 8031D484 0031A3E4 48 02 3A 25 */ bl __ct__6CTokenFRC6CToken +lbl_8031D488: +/* 8031D488 0031A3E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031D48C 0031A3EC 7C 08 03 A6 */ mtlr r0 +/* 8031D490 0031A3F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031D494 0031A3F4 4E 80 00 20 */ blr + +.global "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +"ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>": +/* 8031D498 0031A3F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031D49C 0031A3FC 7C 08 02 A6 */ mflr r0 +/* 8031D4A0 0031A400 3C A0 80 3D */ lis r5, lbl_803D7910@ha +/* 8031D4A4 0031A404 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031D4A8 0031A408 38 05 79 10 */ addi r0, r5, lbl_803D7910@l +/* 8031D4AC 0031A40C 38 A0 00 00 */ li r5, 0 +/* 8031D4B0 0031A410 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031D4B4 0031A414 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031D4B8 0031A418 7C 9E 23 78 */ mr r30, r4 +/* 8031D4BC 0031A41C 7C 04 03 78 */ mr r4, r0 +/* 8031D4C0 0031A420 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031D4C4 0031A424 7C 7D 1B 78 */ mr r29, r3 +/* 8031D4C8 0031A428 38 60 03 40 */ li r3, 0x340 +/* 8031D4CC 0031A42C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8031D4D0 0031A430 3B 80 00 00 */ li r28, 0 +/* 8031D4D4 0031A434 4B FF 83 99 */ bl __nw__FUlPCcPCc +/* 8031D4D8 0031A438 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8031D4DC 0031A43C 41 82 00 3C */ beq lbl_8031D518 +/* 8031D4E0 0031A440 7F C4 F3 78 */ mr r4, r30 +/* 8031D4E4 0031A444 38 61 00 08 */ addi r3, r1, 8 +/* 8031D4E8 0031A448 48 02 39 C1 */ bl __ct__6CTokenFRC6CToken +/* 8031D4EC 0031A44C 88 1D 02 6D */ lbz r0, 0x26d(r29) +/* 8031D4F0 0031A450 7F E3 FB 78 */ mr r3, r31 +/* 8031D4F4 0031A454 38 81 00 08 */ addi r4, r1, 8 +/* 8031D4F8 0031A458 3B 80 00 01 */ li r28, 1 +/* 8031D4FC 0031A45C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031D500 0031A460 38 A0 00 00 */ li r5, 0 +/* 8031D504 0031A464 38 C0 00 01 */ li r6, 1 +/* 8031D508 0031A468 41 82 00 08 */ beq lbl_8031D510 +/* 8031D50C 0031A46C 38 C0 00 02 */ li r6, 2 +lbl_8031D510: +/* 8031D510 0031A470 48 00 1E D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8031D514 0031A474 7C 7F 1B 78 */ mr r31, r3 +lbl_8031D518: +/* 8031D518 0031A478 7F 80 07 75 */ extsb. r0, r28 +/* 8031D51C 0031A47C 41 82 00 10 */ beq lbl_8031D52C +/* 8031D520 0031A480 38 61 00 08 */ addi r3, r1, 8 +/* 8031D524 0031A484 38 80 00 00 */ li r4, 0 +/* 8031D528 0031A488 48 02 39 19 */ bl __dt__6CTokenFv +lbl_8031D52C: +/* 8031D52C 0031A48C 88 BD 02 6D */ lbz r5, 0x26d(r29) +/* 8031D530 0031A490 7F E3 FB 78 */ mr r3, r31 +/* 8031D534 0031A494 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031D538 0031A498 38 9D 00 E8 */ addi r4, r29, 0xe8 +/* 8031D53C 0031A49C 50 A0 06 B4 */ rlwimi r0, r5, 0, 0x1a, 0x1a +/* 8031D540 0031A4A0 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031D544 0031A4A4 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D548 0031A4A8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031D54C 0031A4AC 7D 89 03 A6 */ mtctr r12 +/* 8031D550 0031A4B0 4E 80 04 21 */ bctrl +/* 8031D554 0031A4B4 7F E3 FB 78 */ mr r3, r31 +/* 8031D558 0031A4B8 38 9D 02 2C */ addi r4, r29, 0x22c +/* 8031D55C 0031A4BC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D560 0031A4C0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8031D564 0031A4C4 7D 89 03 A6 */ mtctr r12 +/* 8031D568 0031A4C8 4E 80 04 21 */ bctrl +/* 8031D56C 0031A4CC 7F E3 FB 78 */ mr r3, r31 +/* 8031D570 0031A4D0 38 9D 01 00 */ addi r4, r29, 0x100 +/* 8031D574 0031A4D4 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D578 0031A4D8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031D57C 0031A4DC 7D 89 03 A6 */ mtctr r12 +/* 8031D580 0031A4E0 4E 80 04 21 */ bctrl +/* 8031D584 0031A4E4 7F E3 FB 78 */ mr r3, r31 +/* 8031D588 0031A4E8 38 9D 01 6C */ addi r4, r29, 0x16c +/* 8031D58C 0031A4EC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D590 0031A4F0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031D594 0031A4F4 7D 89 03 A6 */ mtctr r12 +/* 8031D598 0031A4F8 4E 80 04 21 */ bctrl +/* 8031D59C 0031A4FC 7F E3 FB 78 */ mr r3, r31 +/* 8031D5A0 0031A500 38 9D 00 DC */ addi r4, r29, 0xdc +/* 8031D5A4 0031A504 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5A8 0031A508 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031D5AC 0031A50C 7D 89 03 A6 */ mtctr r12 +/* 8031D5B0 0031A510 4E 80 04 21 */ bctrl +/* 8031D5B4 0031A514 7F E3 FB 78 */ mr r3, r31 +/* 8031D5B8 0031A518 38 9D 01 D8 */ addi r4, r29, 0x1d8 +/* 8031D5BC 0031A51C 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5C0 0031A520 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031D5C4 0031A524 7D 89 03 A6 */ mtctr r12 +/* 8031D5C8 0031A528 4E 80 04 21 */ bctrl +/* 8031D5CC 0031A52C 7F E3 FB 78 */ mr r3, r31 +/* 8031D5D0 0031A530 88 9D 00 88 */ lbz r4, 0x88(r29) +/* 8031D5D4 0031A534 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5D8 0031A538 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031D5DC 0031A53C 7D 89 03 A6 */ mtctr r12 +/* 8031D5E0 0031A540 4E 80 04 21 */ bctrl +/* 8031D5E4 0031A544 7F E3 FB 78 */ mr r3, r31 +/* 8031D5E8 0031A548 38 9D 03 38 */ addi r4, r29, 0x338 +/* 8031D5EC 0031A54C 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5F0 0031A550 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8031D5F4 0031A554 7D 89 03 A6 */ mtctr r12 +/* 8031D5F8 0031A558 4E 80 04 21 */ bctrl +/* 8031D5FC 0031A55C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031D600 0031A560 7F E3 FB 78 */ mr r3, r31 +/* 8031D604 0031A564 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031D608 0031A568 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031D60C 0031A56C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031D610 0031A570 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8031D614 0031A574 7C 08 03 A6 */ mtlr r0 +/* 8031D618 0031A578 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031D61C 0031A57C 4E 80 00 20 */ blr + +.global UpdatePSTranslationAndOrientation__11CElementGenFv +UpdatePSTranslationAndOrientation__11CElementGenFv: +/* 8031D620 0031A580 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031D624 0031A584 7C 08 02 A6 */ mflr r0 +/* 8031D628 0031A588 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031D62C 0031A58C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031D630 0031A590 7C 7F 1B 78 */ mr r31, r3 +/* 8031D634 0031A594 38 61 00 08 */ addi r3, r1, 8 +/* 8031D638 0031A598 38 9F 02 7C */ addi r4, r31, 0x27c +/* 8031D63C 0031A59C 4B FF 50 45 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031D640 0031A5A0 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031D644 0031A5A4 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031D648 0031A5A8 7C 00 20 00 */ cmpw r0, r4 +/* 8031D64C 0031A5AC 41 80 00 78 */ blt lbl_8031D6C4 +/* 8031D650 0031A5B0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D654 0031A5B4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031D658 0031A5B8 28 03 00 00 */ cmplwi r3, 0 +/* 8031D65C 0031A5BC 41 82 00 18 */ beq lbl_8031D674 +/* 8031D660 0031A5C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D664 0031A5C4 38 BF 00 F4 */ addi r5, r31, 0xf4 +/* 8031D668 0031A5C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D66C 0031A5CC 7D 89 03 A6 */ mtctr r12 +/* 8031D670 0031A5D0 4E 80 04 21 */ bctrl +lbl_8031D674: +/* 8031D674 0031A5D4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D678 0031A5D8 80 63 00 D4 */ lwz r3, 0xd4(r3) +/* 8031D67C 0031A5DC 28 03 00 00 */ cmplwi r3, 0 +/* 8031D680 0031A5E0 41 82 00 1C */ beq lbl_8031D69C +/* 8031D684 0031A5E4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D688 0031A5E8 38 BF 02 B0 */ addi r5, r31, 0x2b0 +/* 8031D68C 0031A5EC 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031D690 0031A5F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D694 0031A5F4 7D 89 03 A6 */ mtctr r12 +/* 8031D698 0031A5F8 4E 80 04 21 */ bctrl +lbl_8031D69C: +/* 8031D69C 0031A5FC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D6A0 0031A600 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8031D6A4 0031A604 28 03 00 00 */ cmplwi r3, 0 +/* 8031D6A8 0031A608 41 82 00 1C */ beq lbl_8031D6C4 +/* 8031D6AC 0031A60C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D6B0 0031A610 38 BF 02 C0 */ addi r5, r31, 0x2c0 +/* 8031D6B4 0031A614 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031D6B8 0031A618 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D6BC 0031A61C 7D 89 03 A6 */ mtctr r12 +/* 8031D6C0 0031A620 4E 80 04 21 */ bctrl +lbl_8031D6C4: +/* 8031D6C4 0031A624 38 61 00 08 */ addi r3, r1, 8 +/* 8031D6C8 0031A628 38 80 FF FF */ li r4, -1 +/* 8031D6CC 0031A62C 4B FF 4F 39 */ bl __dt__13CGlobalRandomFv +/* 8031D6D0 0031A630 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031D6D4 0031A634 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031D6D8 0031A638 7C 08 03 A6 */ mtlr r0 +/* 8031D6DC 0031A63C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031D6E0 0031A640 4E 80 00 20 */ blr + +.global CreateNewParticles__11CElementGenFi +CreateNewParticles__11CElementGenFi: +/* 8031D6E4 0031A644 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8031D6E8 0031A648 7C 08 02 A6 */ mflr r0 +/* 8031D6EC 0031A64C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8031D6F0 0031A650 BF 41 01 28 */ stmw r26, 0x128(r1) +/* 8031D6F4 0031A654 7C 7A 1B 78 */ mr r26, r3 +/* 8031D6F8 0031A658 7C 9B 23 78 */ mr r27, r4 +/* 8031D6FC 0031A65C 88 0D A8 BA */ lbz r0, lbl_805A947A@sda21(r13) +/* 8031D700 0031A660 28 00 00 00 */ cmplwi r0, 0 +/* 8031D704 0031A664 40 82 00 08 */ bne lbl_8031D70C +/* 8031D708 0031A668 48 00 1A 61 */ bl Initialize__11CElementGenFv +lbl_8031D70C: +/* 8031D70C 0031A66C 80 7A 00 34 */ lwz r3, 0x34(r26) +/* 8031D710 0031A670 7F 7D DB 78 */ mr r29, r27 +/* 8031D714 0031A674 80 9A 00 90 */ lwz r4, 0x90(r26) +/* 8031D718 0031A678 7C 03 20 00 */ cmpw r3, r4 +/* 8031D71C 0031A67C 40 80 05 54 */ bge lbl_8031DC70 +/* 8031D720 0031A680 7C 1B 1A 14 */ add r0, r27, r3 +/* 8031D724 0031A684 7C 00 20 00 */ cmpw r0, r4 +/* 8031D728 0031A688 40 81 00 08 */ ble lbl_8031D730 +/* 8031D72C 0031A68C 7F A3 20 50 */ subf r29, r3, r4 +lbl_8031D730: +/* 8031D730 0031A690 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) +/* 8031D734 0031A694 7C 1D 1A 14 */ add r0, r29, r3 +/* 8031D738 0031A698 2C 00 0A 00 */ cmpwi r0, 0xa00 +/* 8031D73C 0031A69C 40 81 00 08 */ ble lbl_8031D744 +/* 8031D740 0031A6A0 23 A3 0A 00 */ subfic r29, r3, 0xa00 +lbl_8031D744: +/* 8031D744 0031A6A4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031D748 0031A6A8 38 9A 02 7C */ addi r4, r26, 0x27c +/* 8031D74C 0031A6AC 4B FF 4F 35 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031D750 0031A6B0 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031D754 0031A6B4 38 7A 00 30 */ addi r3, r26, 0x30 +/* 8031D758 0031A6B8 7C 9D 02 14 */ add r4, r29, r0 +/* 8031D75C 0031A6BC 48 00 2C 65 */ bl sub_803203c0 +/* 8031D760 0031A6C0 88 1A 02 6D */ lbz r0, 0x26d(r26) +/* 8031D764 0031A6C4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031D768 0031A6C8 41 82 01 28 */ beq lbl_8031D890 +/* 8031D76C 0031A6CC 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031D770 0031A6D0 80 7A 00 68 */ lwz r3, 0x68(r26) +/* 8031D774 0031A6D4 7C 1D 02 14 */ add r0, r29, r0 +/* 8031D778 0031A6D8 7C 03 00 00 */ cmpw r3, r0 +/* 8031D77C 0031A6DC 40 80 01 14 */ bge lbl_8031D890 +/* 8031D780 0031A6E0 54 63 08 3C */ slwi r3, r3, 1 +/* 8031D784 0031A6E4 90 61 00 08 */ stw r3, 8(r1) +/* 8031D788 0031A6E8 80 1A 00 90 */ lwz r0, 0x90(r26) +/* 8031D78C 0031A6EC 7C 03 00 00 */ cmpw r3, r0 +/* 8031D790 0031A6F0 40 80 00 0C */ bge lbl_8031D79C +/* 8031D794 0031A6F4 38 61 00 08 */ addi r3, r1, 8 +/* 8031D798 0031A6F8 48 00 00 08 */ b lbl_8031D7A0 +lbl_8031D79C: +/* 8031D79C 0031A6FC 38 7A 00 90 */ addi r3, r26, 0x90 +lbl_8031D7A0: +/* 8031D7A0 0031A700 80 83 00 00 */ lwz r4, 0(r3) +/* 8031D7A4 0031A704 38 7A 00 60 */ addi r3, r26, 0x60 +/* 8031D7A8 0031A708 48 00 2E 75 */ bl "reserve__Q24rstl69vectorFi" +/* 8031D7AC 0031A70C 3C 60 80 4C */ lis r3, lbl_804BFE48@ha +/* 8031D7B0 0031A710 3B E3 FE 48 */ addi r31, r3, lbl_804BFE48@l +/* 8031D7B4 0031A714 48 00 00 CC */ b lbl_8031D880 +lbl_8031D7B8: +/* 8031D7B8 0031A718 80 1A 00 64 */ lwz r0, 0x64(r26) +/* 8031D7BC 0031A71C 81 5A 00 68 */ lwz r10, 0x68(r26) +/* 8031D7C0 0031A720 81 3F 00 00 */ lwz r9, 0(r31) +/* 8031D7C4 0031A724 81 1F 00 04 */ lwz r8, 4(r31) +/* 8031D7C8 0031A728 7C 00 50 00 */ cmpw r0, r10 +/* 8031D7CC 0031A72C 80 FF 00 08 */ lwz r7, 8(r31) +/* 8031D7D0 0031A730 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8031D7D4 0031A734 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8031D7D8 0031A738 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 8031D7DC 0031A73C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8031D7E0 0031A740 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8031D7E4 0031A744 91 21 00 48 */ stw r9, 0x48(r1) +/* 8031D7E8 0031A748 91 01 00 4C */ stw r8, 0x4c(r1) +/* 8031D7EC 0031A74C 90 E1 00 50 */ stw r7, 0x50(r1) +/* 8031D7F0 0031A750 90 C1 00 54 */ stw r6, 0x54(r1) +/* 8031D7F4 0031A754 90 A1 00 58 */ stw r5, 0x58(r1) +/* 8031D7F8 0031A758 90 81 00 5C */ stw r4, 0x5c(r1) +/* 8031D7FC 0031A75C 90 61 00 60 */ stw r3, 0x60(r1) +/* 8031D800 0031A760 90 01 00 64 */ stw r0, 0x64(r1) +/* 8031D804 0031A764 41 80 00 1C */ blt lbl_8031D820 +/* 8031D808 0031A768 2C 0A 00 00 */ cmpwi r10, 0 +/* 8031D80C 0031A76C 38 7A 00 60 */ addi r3, r26, 0x60 +/* 8031D810 0031A770 38 80 00 04 */ li r4, 4 +/* 8031D814 0031A774 41 82 00 08 */ beq lbl_8031D81C +/* 8031D818 0031A778 55 44 08 3C */ slwi r4, r10, 1 +lbl_8031D81C: +/* 8031D81C 0031A77C 48 00 2E 01 */ bl "reserve__Q24rstl69vectorFi" +lbl_8031D820: +/* 8031D820 0031A780 80 1A 00 64 */ lwz r0, 0x64(r26) +/* 8031D824 0031A784 80 7A 00 6C */ lwz r3, 0x6c(r26) +/* 8031D828 0031A788 54 00 28 34 */ slwi r0, r0, 5 +/* 8031D82C 0031A78C 7C 83 02 15 */ add. r4, r3, r0 +/* 8031D830 0031A790 41 82 00 44 */ beq lbl_8031D874 +/* 8031D834 0031A794 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8031D838 0031A798 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8031D83C 0031A79C 90 64 00 00 */ stw r3, 0(r4) +/* 8031D840 0031A7A0 80 61 00 50 */ lwz r3, 0x50(r1) +/* 8031D844 0031A7A4 90 04 00 04 */ stw r0, 4(r4) +/* 8031D848 0031A7A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8031D84C 0031A7AC 90 64 00 08 */ stw r3, 8(r4) +/* 8031D850 0031A7B0 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8031D854 0031A7B4 90 04 00 0C */ stw r0, 0xc(r4) +/* 8031D858 0031A7B8 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8031D85C 0031A7BC 90 64 00 10 */ stw r3, 0x10(r4) +/* 8031D860 0031A7C0 80 61 00 60 */ lwz r3, 0x60(r1) +/* 8031D864 0031A7C4 90 04 00 14 */ stw r0, 0x14(r4) +/* 8031D868 0031A7C8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8031D86C 0031A7CC 90 64 00 18 */ stw r3, 0x18(r4) +/* 8031D870 0031A7D0 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_8031D874: +/* 8031D874 0031A7D4 80 7A 00 64 */ lwz r3, 0x64(r26) +/* 8031D878 0031A7D8 38 03 00 01 */ addi r0, r3, 1 +/* 8031D87C 0031A7DC 90 1A 00 64 */ stw r0, 0x64(r26) +lbl_8031D880: +/* 8031D880 0031A7E0 80 7A 00 64 */ lwz r3, 0x64(r26) +/* 8031D884 0031A7E4 80 1A 00 68 */ lwz r0, 0x68(r26) +/* 8031D888 0031A7E8 7C 03 00 00 */ cmpw r3, r0 +/* 8031D88C 0031A7EC 41 80 FF 2C */ blt lbl_8031D7B8 +lbl_8031D890: +/* 8031D890 0031A7F0 38 00 00 00 */ li r0, 0 +/* 8031D894 0031A7F4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8031D898 0031A7F8 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +/* 8031D89C 0031A7FC 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 8031D8A0 0031A800 3B 80 00 00 */ li r28, 0 +/* 8031D8A4 0031A804 48 00 03 B8 */ b lbl_8031DC5C +lbl_8031D8A8: +/* 8031D8A8 0031A808 C0 BF 00 00 */ lfs f5, 0(r31) +/* 8031D8AC 0031A80C 38 A0 00 FF */ li r5, 0xff +/* 8031D8B0 0031A810 C0 9F 00 04 */ lfs f4, 4(r31) +/* 8031D8B4 0031A814 38 00 00 00 */ li r0, 0 +/* 8031D8B8 0031A818 C0 7F 00 08 */ lfs f3, 8(r31) +/* 8031D8BC 0031A81C FC 40 28 18 */ frsp f2, f5 +/* 8031D8C0 0031A820 FC 20 20 18 */ frsp f1, f4 +/* 8031D8C4 0031A824 D0 A1 00 F0 */ stfs f5, 0xf0(r1) +/* 8031D8C8 0031A828 FC 00 18 18 */ frsp f0, f3 +/* 8031D8CC 0031A82C 38 7A 00 30 */ addi r3, r26, 0x30 +/* 8031D8D0 0031A830 D0 81 00 F4 */ stfs f4, 0xf4(r1) +/* 8031D8D4 0031A834 38 81 00 EC */ addi r4, r1, 0xec +/* 8031D8D8 0031A838 D0 61 00 F8 */ stfs f3, 0xf8(r1) +/* 8031D8DC 0031A83C D0 A1 00 FC */ stfs f5, 0xfc(r1) +/* 8031D8E0 0031A840 D0 81 01 00 */ stfs f4, 0x100(r1) +/* 8031D8E4 0031A844 D0 61 01 04 */ stfs f3, 0x104(r1) +/* 8031D8E8 0031A848 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 8031D8EC 0031A84C D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 8031D8F0 0031A850 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 8031D8F4 0031A854 98 A1 01 20 */ stb r5, 0x120(r1) +/* 8031D8F8 0031A858 98 01 01 21 */ stb r0, 0x121(r1) +/* 8031D8FC 0031A85C 98 A1 01 22 */ stb r5, 0x122(r1) +/* 8031D900 0031A860 98 A1 01 23 */ stb r5, 0x123(r1) +/* 8031D904 0031A864 48 00 03 81 */ bl sub_8031dc84 +/* 8031D908 0031A868 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) +/* 8031D90C 0031A86C 80 9A 00 34 */ lwz r4, 0x34(r26) +/* 8031D910 0031A870 38 03 00 01 */ addi r0, r3, 1 +/* 8031D914 0031A874 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) +/* 8031D918 0031A878 3B 64 FF FF */ addi r27, r4, -1 +/* 8031D91C 0031A87C 80 7A 02 5C */ lwz r3, 0x25c(r26) +/* 8031D920 0031A880 38 03 00 01 */ addi r0, r3, 1 +/* 8031D924 0031A884 90 1A 02 5C */ stw r0, 0x25c(r26) +/* 8031D928 0031A888 80 7A 02 60 */ lwz r3, 0x260(r26) +/* 8031D92C 0031A88C 38 03 00 01 */ addi r0, r3, 1 +/* 8031D930 0031A890 90 1A 02 60 */ stw r0, 0x260(r26) +/* 8031D934 0031A894 80 1A 00 2C */ lwz r0, 0x2c(r26) +/* 8031D938 0031A898 2C 00 00 01 */ cmpwi r0, 1 +/* 8031D93C 0031A89C 40 82 00 28 */ bne lbl_8031D964 +/* 8031D940 0031A8A0 1C 1B 00 24 */ mulli r0, r27, 0x24 +/* 8031D944 0031A8A4 80 BA 00 5C */ lwz r5, 0x5c(r26) +/* 8031D948 0031A8A8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8031D94C 0031A8AC 38 9A 01 D8 */ addi r4, r26, 0x1d8 +/* 8031D950 0031A8B0 7F C5 02 14 */ add r30, r5, r0 +/* 8031D954 0031A8B4 4B FF 57 A1 */ bl BuildMatrix3f__12CTransform4fCFv +/* 8031D958 0031A8B8 7F C3 F3 78 */ mr r3, r30 +/* 8031D95C 0031A8BC 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8031D960 0031A8C0 4B FF 26 99 */ bl __as__9CMatrix3fFRC9CMatrix3f +lbl_8031D964: +/* 8031D964 0031A8C4 1C 7B 00 38 */ mulli r3, r27, 0x38 +/* 8031D968 0031A8C8 80 9A 00 3C */ lwz r4, 0x3c(r26) +/* 8031D96C 0031A8CC 80 1A 00 74 */ lwz r0, 0x74(r26) +/* 8031D970 0031A8D0 7F C4 1A 14 */ add r30, r4, r3 +/* 8031D974 0031A8D4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 8031D978 0031A8D8 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031D97C 0031A8DC 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8031D980 0031A8E0 28 03 00 00 */ cmplwi r3, 0 +/* 8031D984 0031A8E4 41 82 00 1C */ beq lbl_8031D9A0 +/* 8031D988 0031A8E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D98C 0031A8EC 7F C5 F3 78 */ mr r5, r30 +/* 8031D990 0031A8F0 38 80 00 00 */ li r4, 0 +/* 8031D994 0031A8F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D998 0031A8F8 7D 89 03 A6 */ mtctr r12 +/* 8031D99C 0031A8FC 4E 80 04 21 */ bctrl +lbl_8031D9A0: +/* 8031D9A0 0031A900 80 7E 00 00 */ lwz r3, 0(r30) +/* 8031D9A4 0031A904 48 00 CD D5 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031D9A8 0031A908 38 60 00 00 */ li r3, 0 +/* 8031D9AC 0031A90C 48 00 CC D1 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031D9B0 0031A910 93 CD A8 EC */ stw r30, lbl_805A94AC@sda21(r13) +/* 8031D9B4 0031A914 88 1A 02 6D */ lbz r0, 0x26d(r26) +/* 8031D9B8 0031A918 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031D9BC 0031A91C 41 82 00 14 */ beq lbl_8031D9D0 +/* 8031D9C0 0031A920 7F 43 D3 78 */ mr r3, r26 +/* 8031D9C4 0031A924 7F 64 DB 78 */ mr r4, r27 +/* 8031D9C8 0031A928 38 A0 00 00 */ li r5, 0 +/* 8031D9CC 0031A92C 48 00 09 E5 */ bl UpdateAdvanceAccessParameters__11CElementGenFii +lbl_8031D9D0: +/* 8031D9D0 0031A930 80 7E 00 00 */ lwz r3, 0(r30) +/* 8031D9D4 0031A934 80 1A 00 74 */ lwz r0, 0x74(r26) +/* 8031D9D8 0031A938 7C 03 02 14 */ add r0, r3, r0 +/* 8031D9DC 0031A93C 90 1E 00 00 */ stw r0, 0(r30) +/* 8031D9E0 0031A940 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031D9E4 0031A944 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8031D9E8 0031A948 28 03 00 00 */ cmplwi r3, 0 +/* 8031D9EC 0031A94C 41 82 00 20 */ beq lbl_8031DA0C +/* 8031D9F0 0031A950 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D9F4 0031A954 38 BE 00 34 */ addi r5, r30, 0x34 +/* 8031D9F8 0031A958 38 80 00 00 */ li r4, 0 +/* 8031D9FC 0031A95C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DA00 0031A960 7D 89 03 A6 */ mtctr r12 +/* 8031DA04 0031A964 4E 80 04 21 */ bctrl +/* 8031DA08 0031A968 48 00 00 0C */ b lbl_8031DA14 +lbl_8031DA0C: +/* 8031DA0C 0031A96C 38 00 FF FF */ li r0, -1 +/* 8031DA10 0031A970 90 1E 00 34 */ stw r0, 0x34(r30) +lbl_8031DA14: +/* 8031DA14 0031A974 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DA18 0031A978 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8031DA1C 0031A97C 28 03 00 00 */ cmplwi r3, 0 +/* 8031DA20 0031A980 41 82 00 C4 */ beq lbl_8031DAE4 +/* 8031DA24 0031A984 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DA28 0031A988 38 BE 00 04 */ addi r5, r30, 4 +/* 8031DA2C 0031A98C 38 DE 00 1C */ addi r6, r30, 0x1c +/* 8031DA30 0031A990 80 9A 00 74 */ lwz r4, 0x74(r26) +/* 8031DA34 0031A994 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DA38 0031A998 7D 89 03 A6 */ mtctr r12 +/* 8031DA3C 0031A99C 4E 80 04 21 */ bctrl +/* 8031DA40 0031A9A0 38 61 00 98 */ addi r3, r1, 0x98 +/* 8031DA44 0031A9A4 38 9A 01 3C */ addi r4, r26, 0x13c +/* 8031DA48 0031A9A8 38 BA 01 A8 */ addi r5, r26, 0x1a8 +/* 8031DA4C 0031A9AC 4B FF 4F 05 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031DA50 0031A9B0 38 61 00 24 */ addi r3, r1, 0x24 +/* 8031DA54 0031A9B4 38 81 00 98 */ addi r4, r1, 0x98 +/* 8031DA58 0031A9B8 38 BA 00 DC */ addi r5, r26, 0xdc +/* 8031DA5C 0031A9BC 4B FF 50 8D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031DA60 0031A9C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031DA64 0031A9C4 38 9A 01 D8 */ addi r4, r26, 0x1d8 +/* 8031DA68 0031A9C8 38 BE 00 04 */ addi r5, r30, 4 +/* 8031DA6C 0031A9CC 4B FF 50 15 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031DA70 0031A9D0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8031DA74 0031A9D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8031DA78 0031A9D8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8031DA7C 0031A9DC 38 9A 01 D8 */ addi r4, r26, 0x1d8 +/* 8031DA80 0031A9E0 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 8031DA84 0031A9E4 38 BE 00 1C */ addi r5, r30, 0x1c +/* 8031DA88 0031A9E8 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8031DA8C 0031A9EC EC 21 00 2A */ fadds f1, f1, f0 +/* 8031DA90 0031A9F0 C0 1A 00 F4 */ lfs f0, 0xf4(r26) +/* 8031DA94 0031A9F4 EC A3 10 2A */ fadds f5, f3, f2 +/* 8031DA98 0031A9F8 C0 9A 00 F8 */ lfs f4, 0xf8(r26) +/* 8031DA9C 0031A9FC C0 61 00 38 */ lfs f3, 0x38(r1) +/* 8031DAA0 0031AA00 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DAA4 0031AA04 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8031DAA8 0031AA08 C0 3A 00 FC */ lfs f1, 0xfc(r26) +/* 8031DAAC 0031AA0C EC 43 10 2A */ fadds f2, f3, f2 +/* 8031DAB0 0031AA10 EC 65 20 2A */ fadds f3, f5, f4 +/* 8031DAB4 0031AA14 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8031DAB8 0031AA18 EC 02 08 2A */ fadds f0, f2, f1 +/* 8031DABC 0031AA1C D0 7E 00 08 */ stfs f3, 8(r30) +/* 8031DAC0 0031AA20 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8031DAC4 0031AA24 4B FF 4F BD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031DAC8 0031AA28 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8031DACC 0031AA2C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8031DAD0 0031AA30 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8031DAD4 0031AA34 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031DAD8 0031AA38 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8031DADC 0031AA3C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8031DAE0 0031AA40 48 00 00 70 */ b lbl_8031DB50 +lbl_8031DAE4: +/* 8031DAE4 0031AA44 38 61 00 68 */ addi r3, r1, 0x68 +/* 8031DAE8 0031AA48 38 9A 01 3C */ addi r4, r26, 0x13c +/* 8031DAEC 0031AA4C 38 BA 01 A8 */ addi r5, r26, 0x1a8 +/* 8031DAF0 0031AA50 4B FF 4E 61 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031DAF4 0031AA54 38 61 00 0C */ addi r3, r1, 0xc +/* 8031DAF8 0031AA58 38 81 00 68 */ addi r4, r1, 0x68 +/* 8031DAFC 0031AA5C 38 BA 00 DC */ addi r5, r26, 0xdc +/* 8031DB00 0031AA60 4B FF 4F E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031DB04 0031AA64 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8031DB08 0031AA68 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8031DB0C 0031AA6C C0 1A 00 F4 */ lfs f0, 0xf4(r26) +/* 8031DB10 0031AA70 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 8031DB14 0031AA74 C0 7A 00 F8 */ lfs f3, 0xf8(r26) +/* 8031DB18 0031AA78 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DB1C 0031AA7C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8031DB20 0031AA80 C0 3A 00 FC */ lfs f1, 0xfc(r26) +/* 8031DB24 0031AA84 EC 64 18 2A */ fadds f3, f4, f3 +/* 8031DB28 0031AA88 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8031DB2C 0031AA8C EC 02 08 2A */ fadds f0, f2, f1 +/* 8031DB30 0031AA90 D0 7E 00 08 */ stfs f3, 8(r30) +/* 8031DB34 0031AA94 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8031DB38 0031AA98 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 8031DB3C 0031AA9C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8031DB40 0031AAA0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031DB44 0031AAA4 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031DB48 0031AAA8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8031DB4C 0031AAAC D0 1E 00 24 */ stfs f0, 0x24(r30) +lbl_8031DB50: +/* 8031DB50 0031AAB0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031DB54 0031AAB4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8031DB58 0031AAB8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031DB5C 0031AABC D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8031DB60 0031AAC0 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8031DB64 0031AAC4 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8031DB68 0031AAC8 88 1A 02 6C */ lbz r0, 0x26c(r26) +/* 8031DB6C 0031AACC 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031DB70 0031AAD0 41 82 00 70 */ beq lbl_8031DBE0 +/* 8031DB74 0031AAD4 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DB78 0031AAD8 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8031DB7C 0031AADC 28 03 00 00 */ cmplwi r3, 0 +/* 8031DB80 0031AAE0 41 82 00 20 */ beq lbl_8031DBA0 +/* 8031DB84 0031AAE4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DB88 0031AAE8 38 BE 00 2C */ addi r5, r30, 0x2c +/* 8031DB8C 0031AAEC 38 80 00 00 */ li r4, 0 +/* 8031DB90 0031AAF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DB94 0031AAF4 7D 89 03 A6 */ mtctr r12 +/* 8031DB98 0031AAF8 4E 80 04 21 */ bctrl +/* 8031DB9C 0031AAFC 48 00 00 0C */ b lbl_8031DBA8 +lbl_8031DBA0: +/* 8031DBA0 0031AB00 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031DBA4 0031AB04 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_8031DBA8: +/* 8031DBA8 0031AB08 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DBAC 0031AB0C 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8031DBB0 0031AB10 28 03 00 00 */ cmplwi r3, 0 +/* 8031DBB4 0031AB14 41 82 00 20 */ beq lbl_8031DBD4 +/* 8031DBB8 0031AB18 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DBBC 0031AB1C 38 BE 00 30 */ addi r5, r30, 0x30 +/* 8031DBC0 0031AB20 38 80 00 00 */ li r4, 0 +/* 8031DBC4 0031AB24 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DBC8 0031AB28 7D 89 03 A6 */ mtctr r12 +/* 8031DBCC 0031AB2C 4E 80 04 21 */ bctrl +/* 8031DBD0 0031AB30 48 00 00 78 */ b lbl_8031DC48 +lbl_8031DBD4: +/* 8031DBD4 0031AB34 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031DBD8 0031AB38 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8031DBDC 0031AB3C 48 00 00 6C */ b lbl_8031DC48 +lbl_8031DBE0: +/* 8031DBE0 0031AB40 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DBE4 0031AB44 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031DBE8 0031AB48 28 03 00 00 */ cmplwi r3, 0 +/* 8031DBEC 0031AB4C 41 82 00 20 */ beq lbl_8031DC0C +/* 8031DBF0 0031AB50 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DBF4 0031AB54 38 BE 00 30 */ addi r5, r30, 0x30 +/* 8031DBF8 0031AB58 38 80 00 00 */ li r4, 0 +/* 8031DBFC 0031AB5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DC00 0031AB60 7D 89 03 A6 */ mtctr r12 +/* 8031DC04 0031AB64 4E 80 04 21 */ bctrl +/* 8031DC08 0031AB68 48 00 00 0C */ b lbl_8031DC14 +lbl_8031DC0C: +/* 8031DC0C 0031AB6C C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031DC10 0031AB70 D0 1E 00 30 */ stfs f0, 0x30(r30) +lbl_8031DC14: +/* 8031DC14 0031AB74 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DC18 0031AB78 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031DC1C 0031AB7C 28 03 00 00 */ cmplwi r3, 0 +/* 8031DC20 0031AB80 41 82 00 20 */ beq lbl_8031DC40 +/* 8031DC24 0031AB84 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DC28 0031AB88 38 BE 00 2C */ addi r5, r30, 0x2c +/* 8031DC2C 0031AB8C 38 80 00 00 */ li r4, 0 +/* 8031DC30 0031AB90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DC34 0031AB94 7D 89 03 A6 */ mtctr r12 +/* 8031DC38 0031AB98 4E 80 04 21 */ bctrl +/* 8031DC3C 0031AB9C 48 00 00 0C */ b lbl_8031DC48 +lbl_8031DC40: +/* 8031DC40 0031ABA0 C0 02 CA 30 */ lfs f0, lbl_805AE750@sda21(r2) +/* 8031DC44 0031ABA4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_8031DC48: +/* 8031DC48 0031ABA8 C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 8031DC4C 0031ABAC 7F 43 D3 78 */ mr r3, r26 +/* 8031DC50 0031ABB0 38 9E 00 04 */ addi r4, r30, 4 +/* 8031DC54 0031ABB4 4B FF A0 C5 */ bl AccumulateBounds__11CElementGenFRC9CVector3ff +/* 8031DC58 0031ABB8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8031DC5C: +/* 8031DC5C 0031ABBC 7C 1C E8 00 */ cmpw r28, r29 +/* 8031DC60 0031ABC0 41 80 FC 48 */ blt lbl_8031D8A8 +/* 8031DC64 0031ABC4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031DC68 0031ABC8 38 80 FF FF */ li r4, -1 +/* 8031DC6C 0031ABCC 4B FF 49 99 */ bl __dt__13CGlobalRandomFv +lbl_8031DC70: +/* 8031DC70 0031ABD0 BB 41 01 28 */ lmw r26, 0x128(r1) +/* 8031DC74 0031ABD4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8031DC78 0031ABD8 7C 08 03 A6 */ mtlr r0 +/* 8031DC7C 0031ABDC 38 21 01 40 */ addi r1, r1, 0x140 +/* 8031DC80 0031ABE0 4E 80 00 20 */ blr + +.global sub_8031dc84 +sub_8031dc84: +/* 8031DC84 0031ABE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031DC88 0031ABE8 7C 08 02 A6 */ mflr r0 +/* 8031DC8C 0031ABEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031DC90 0031ABF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031DC94 0031ABF4 7C 9F 23 78 */ mr r31, r4 +/* 8031DC98 0031ABF8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031DC9C 0031ABFC 7C 7E 1B 78 */ mr r30, r3 +/* 8031DCA0 0031AC00 80 03 00 04 */ lwz r0, 4(r3) +/* 8031DCA4 0031AC04 80 A3 00 08 */ lwz r5, 8(r3) +/* 8031DCA8 0031AC08 7C 00 28 00 */ cmpw r0, r5 +/* 8031DCAC 0031AC0C 41 80 00 18 */ blt lbl_8031DCC4 +/* 8031DCB0 0031AC10 2C 05 00 00 */ cmpwi r5, 0 +/* 8031DCB4 0031AC14 38 80 00 04 */ li r4, 4 +/* 8031DCB8 0031AC18 41 82 00 08 */ beq lbl_8031DCC0 +/* 8031DCBC 0031AC1C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031DCC0: +/* 8031DCC0 0031AC20 48 00 27 01 */ bl sub_803203c0 +lbl_8031DCC4: +/* 8031DCC4 0031AC24 80 1E 00 04 */ lwz r0, 4(r30) +/* 8031DCC8 0031AC28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8031DCCC 0031AC2C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031DCD0 0031AC30 7C 63 02 15 */ add. r3, r3, r0 +/* 8031DCD4 0031AC34 41 82 00 74 */ beq lbl_8031DD48 +/* 8031DCD8 0031AC38 80 1F 00 00 */ lwz r0, 0(r31) +/* 8031DCDC 0031AC3C 90 03 00 00 */ stw r0, 0(r3) +/* 8031DCE0 0031AC40 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031DCE4 0031AC44 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031DCE8 0031AC48 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8031DCEC 0031AC4C D0 03 00 08 */ stfs f0, 8(r3) +/* 8031DCF0 0031AC50 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8031DCF4 0031AC54 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031DCF8 0031AC58 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8031DCFC 0031AC5C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8031DD00 0031AC60 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8031DD04 0031AC64 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8031DD08 0031AC68 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8031DD0C 0031AC6C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8031DD10 0031AC70 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8031DD14 0031AC74 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8031DD18 0031AC78 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8031DD1C 0031AC7C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8031DD20 0031AC80 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8031DD24 0031AC84 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031DD28 0031AC88 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8031DD2C 0031AC8C 90 03 00 28 */ stw r0, 0x28(r3) +/* 8031DD30 0031AC90 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8031DD34 0031AC94 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8031DD38 0031AC98 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8031DD3C 0031AC9C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8031DD40 0031ACA0 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8031DD44 0031ACA4 90 03 00 34 */ stw r0, 0x34(r3) +lbl_8031DD48: +/* 8031DD48 0031ACA8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8031DD4C 0031ACAC 38 03 00 01 */ addi r0, r3, 1 +/* 8031DD50 0031ACB0 90 1E 00 04 */ stw r0, 4(r30) +/* 8031DD54 0031ACB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031DD58 0031ACB8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031DD5C 0031ACBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031DD60 0031ACC0 7C 08 03 A6 */ mtlr r0 +/* 8031DD64 0031ACC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031DD68 0031ACC8 4E 80 00 20 */ blr + +.global UpdateExistingParticles__11CElementGenFv +UpdateExistingParticles__11CElementGenFv: +/* 8031DD6C 0031ACCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031DD70 0031ACD0 7C 08 02 A6 */ mflr r0 +/* 8031DD74 0031ACD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031DD78 0031ACD8 38 00 00 00 */ li r0, 0 +/* 8031DD7C 0031ACDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031DD80 0031ACE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031DD84 0031ACE4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031DD88 0031ACE8 7C 7D 1B 78 */ mr r29, r3 +/* 8031DD8C 0031ACEC 83 E3 00 3C */ lwz r31, 0x3c(r3) +/* 8031DD90 0031ACF0 90 03 02 5C */ stw r0, 0x25c(r3) +/* 8031DD94 0031ACF4 80 63 00 74 */ lwz r3, 0x74(r3) +/* 8031DD98 0031ACF8 48 00 C9 B1 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031DD9C 0031ACFC 38 00 00 00 */ li r0, 0 +/* 8031DDA0 0031AD00 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +/* 8031DDA4 0031AD04 48 00 03 98 */ b lbl_8031E13C +lbl_8031DDA8: +/* 8031DDA8 0031AD08 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031DDAC 0031AD0C 80 1D 00 74 */ lwz r0, 0x74(r29) +/* 8031DDB0 0031AD10 7C 03 00 00 */ cmpw r3, r0 +/* 8031DDB4 0031AD14 40 80 01 84 */ bge lbl_8031DF38 +/* 8031DDB8 0031AD18 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) +/* 8031DDBC 0031AD1C 38 1F 00 38 */ addi r0, r31, 0x38 +/* 8031DDC0 0031AD20 38 63 FF FF */ addi r3, r3, -1 +/* 8031DDC4 0031AD24 90 6D A8 B0 */ stw r3, lbl_805A9470@sda21(r13) +/* 8031DDC8 0031AD28 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 8031DDCC 0031AD2C 80 BD 00 3C */ lwz r5, 0x3c(r29) +/* 8031DDD0 0031AD30 1C 64 00 38 */ mulli r3, r4, 0x38 +/* 8031DDD4 0031AD34 7C 65 1A 14 */ add r3, r5, r3 +/* 8031DDD8 0031AD38 7C 00 18 40 */ cmplw r0, r3 +/* 8031DDDC 0031AD3C 40 82 00 10 */ bne lbl_8031DDEC +/* 8031DDE0 0031AD40 38 04 FF FF */ addi r0, r4, -1 +/* 8031DDE4 0031AD44 90 1D 00 34 */ stw r0, 0x34(r29) +/* 8031DDE8 0031AD48 48 00 03 6C */ b lbl_8031E154 +lbl_8031DDEC: +/* 8031DDEC 0031AD4C 38 04 FF FF */ addi r0, r4, -1 +/* 8031DDF0 0031AD50 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031DDF4 0031AD54 7C 85 02 14 */ add r4, r5, r0 +/* 8031DDF8 0031AD58 80 04 00 00 */ lwz r0, 0(r4) +/* 8031DDFC 0031AD5C 90 1F 00 00 */ stw r0, 0(r31) +/* 8031DE00 0031AD60 80 64 00 04 */ lwz r3, 4(r4) +/* 8031DE04 0031AD64 80 04 00 08 */ lwz r0, 8(r4) +/* 8031DE08 0031AD68 90 7F 00 04 */ stw r3, 4(r31) +/* 8031DE0C 0031AD6C 90 1F 00 08 */ stw r0, 8(r31) +/* 8031DE10 0031AD70 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8031DE14 0031AD74 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8031DE18 0031AD78 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8031DE1C 0031AD7C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8031DE20 0031AD80 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8031DE24 0031AD84 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8031DE28 0031AD88 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8031DE2C 0031AD8C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8031DE30 0031AD90 80 64 00 1C */ lwz r3, 0x1c(r4) +/* 8031DE34 0031AD94 80 04 00 20 */ lwz r0, 0x20(r4) +/* 8031DE38 0031AD98 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 8031DE3C 0031AD9C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8031DE40 0031ADA0 80 04 00 24 */ lwz r0, 0x24(r4) +/* 8031DE44 0031ADA4 90 1F 00 24 */ stw r0, 0x24(r31) +/* 8031DE48 0031ADA8 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8031DE4C 0031ADAC 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8031DE50 0031ADB0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8031DE54 0031ADB4 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 8031DE58 0031ADB8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 8031DE5C 0031ADBC D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8031DE60 0031ADC0 80 04 00 34 */ lwz r0, 0x34(r4) +/* 8031DE64 0031ADC4 90 1F 00 34 */ stw r0, 0x34(r31) +/* 8031DE68 0031ADC8 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 8031DE6C 0031ADCC 2C 00 00 01 */ cmpwi r0, 1 +/* 8031DE70 0031ADD0 40 82 00 28 */ bne lbl_8031DE98 +/* 8031DE74 0031ADD4 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 8031DE78 0031ADD8 80 1D 02 5C */ lwz r0, 0x25c(r29) +/* 8031DE7C 0031ADDC 38 63 FF FF */ addi r3, r3, -1 +/* 8031DE80 0031ADE0 80 BD 00 5C */ lwz r5, 0x5c(r29) +/* 8031DE84 0031ADE4 1C 63 00 24 */ mulli r3, r3, 0x24 +/* 8031DE88 0031ADE8 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031DE8C 0031ADEC 7C 85 1A 14 */ add r4, r5, r3 +/* 8031DE90 0031ADF0 7C 65 02 14 */ add r3, r5, r0 +/* 8031DE94 0031ADF4 4B FF 21 65 */ bl __as__9CMatrix3fFRC9CMatrix3f +lbl_8031DE98: +/* 8031DE98 0031ADF8 88 1D 02 6D */ lbz r0, 0x26d(r29) +/* 8031DE9C 0031ADFC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031DEA0 0031AE00 41 82 00 64 */ beq lbl_8031DF04 +/* 8031DEA4 0031AE04 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 8031DEA8 0031AE08 80 1D 02 5C */ lwz r0, 0x25c(r29) +/* 8031DEAC 0031AE0C 38 63 FF FF */ addi r3, r3, -1 +/* 8031DEB0 0031AE10 80 9D 00 6C */ lwz r4, 0x6c(r29) +/* 8031DEB4 0031AE14 54 63 28 34 */ slwi r3, r3, 5 +/* 8031DEB8 0031AE18 54 00 28 34 */ slwi r0, r0, 5 +/* 8031DEBC 0031AE1C 7C A4 1A 14 */ add r5, r4, r3 +/* 8031DEC0 0031AE20 80 65 00 00 */ lwz r3, 0(r5) +/* 8031DEC4 0031AE24 7C 84 02 14 */ add r4, r4, r0 +/* 8031DEC8 0031AE28 80 05 00 04 */ lwz r0, 4(r5) +/* 8031DECC 0031AE2C 90 64 00 00 */ stw r3, 0(r4) +/* 8031DED0 0031AE30 90 04 00 04 */ stw r0, 4(r4) +/* 8031DED4 0031AE34 80 65 00 08 */ lwz r3, 8(r5) +/* 8031DED8 0031AE38 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8031DEDC 0031AE3C 90 64 00 08 */ stw r3, 8(r4) +/* 8031DEE0 0031AE40 90 04 00 0C */ stw r0, 0xc(r4) +/* 8031DEE4 0031AE44 80 65 00 10 */ lwz r3, 0x10(r5) +/* 8031DEE8 0031AE48 80 05 00 14 */ lwz r0, 0x14(r5) +/* 8031DEEC 0031AE4C 90 64 00 10 */ stw r3, 0x10(r4) +/* 8031DEF0 0031AE50 90 04 00 14 */ stw r0, 0x14(r4) +/* 8031DEF4 0031AE54 80 65 00 18 */ lwz r3, 0x18(r5) +/* 8031DEF8 0031AE58 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 8031DEFC 0031AE5C 90 64 00 18 */ stw r3, 0x18(r4) +/* 8031DF00 0031AE60 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_8031DF04: +/* 8031DF04 0031AE64 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 8031DF08 0031AE68 38 03 FF FF */ addi r0, r3, -1 +/* 8031DF0C 0031AE6C 90 1D 00 34 */ stw r0, 0x34(r29) +/* 8031DF10 0031AE70 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031DF14 0031AE74 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 8031DF18 0031AE78 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031DF1C 0031AE7C 7C 03 02 14 */ add r0, r3, r0 +/* 8031DF20 0031AE80 7C 1F 00 40 */ cmplw r31, r0 +/* 8031DF24 0031AE84 41 82 00 14 */ beq lbl_8031DF38 +/* 8031DF28 0031AE88 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031DF2C 0031AE8C 80 1D 00 74 */ lwz r0, 0x74(r29) +/* 8031DF30 0031AE90 7C 03 00 00 */ cmpw r3, r0 +/* 8031DF34 0031AE94 41 80 02 08 */ blt lbl_8031E13C +lbl_8031DF38: +/* 8031DF38 0031AE98 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031DF3C 0031AE9C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8031DF40 0031AEA0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8031DF44 0031AEA4 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8031DF48 0031AEA8 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8031DF4C 0031AEAC D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8031DF50 0031AEB0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8031DF54 0031AEB4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8031DF58 0031AEB8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DF5C 0031AEBC D0 1F 00 04 */ stfs f0, 4(r31) +/* 8031DF60 0031AEC0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8031DF64 0031AEC4 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8031DF68 0031AEC8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DF6C 0031AECC D0 1F 00 08 */ stfs f0, 8(r31) +/* 8031DF70 0031AED0 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8031DF74 0031AED4 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8031DF78 0031AED8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DF7C 0031AEDC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8031DF80 0031AEE0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031DF84 0031AEE4 80 1D 00 74 */ lwz r0, 0x74(r29) +/* 8031DF88 0031AEE8 93 ED A8 EC */ stw r31, lbl_805A94AC@sda21(r13) +/* 8031DF8C 0031AEEC 7F C3 00 50 */ subf r30, r3, r0 +/* 8031DF90 0031AEF0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031DF94 0031AEF4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8031DF98 0031AEF8 7C 63 00 50 */ subf r3, r3, r0 +/* 8031DF9C 0031AEFC 48 00 C7 DD */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031DFA0 0031AF00 7F C3 F3 78 */ mr r3, r30 +/* 8031DFA4 0031AF04 48 00 C6 D9 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031DFA8 0031AF08 88 1D 02 6D */ lbz r0, 0x26d(r29) +/* 8031DFAC 0031AF0C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031DFB0 0031AF10 41 82 00 14 */ beq lbl_8031DFC4 +/* 8031DFB4 0031AF14 80 9D 02 5C */ lwz r4, 0x25c(r29) +/* 8031DFB8 0031AF18 7F A3 EB 78 */ mr r3, r29 +/* 8031DFBC 0031AF1C 7F C5 F3 78 */ mr r5, r30 +/* 8031DFC0 0031AF20 48 00 03 F1 */ bl UpdateAdvanceAccessParameters__11CElementGenFii +lbl_8031DFC4: +/* 8031DFC4 0031AF24 80 7D 02 5C */ lwz r3, 0x25c(r29) +/* 8031DFC8 0031AF28 38 03 00 01 */ addi r0, r3, 1 +/* 8031DFCC 0031AF2C 90 1D 02 5C */ stw r0, 0x25c(r29) +/* 8031DFD0 0031AF30 80 1D 02 80 */ lwz r0, 0x280(r29) +/* 8031DFD4 0031AF34 28 00 00 00 */ cmplwi r0, 0 +/* 8031DFD8 0031AF38 41 82 00 78 */ beq lbl_8031E050 +/* 8031DFDC 0031AF3C 7F A3 EB 78 */ mr r3, r29 +/* 8031DFE0 0031AF40 7F C5 F3 78 */ mr r5, r30 +/* 8031DFE4 0031AF44 7F E6 FB 78 */ mr r6, r31 +/* 8031DFE8 0031AF48 38 80 00 00 */ li r4, 0 +/* 8031DFEC 0031AF4C 48 00 02 05 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +/* 8031DFF0 0031AF50 80 1D 02 84 */ lwz r0, 0x284(r29) +/* 8031DFF4 0031AF54 28 00 00 00 */ cmplwi r0, 0 +/* 8031DFF8 0031AF58 41 82 00 58 */ beq lbl_8031E050 +/* 8031DFFC 0031AF5C 7F A3 EB 78 */ mr r3, r29 +/* 8031E000 0031AF60 7F C5 F3 78 */ mr r5, r30 +/* 8031E004 0031AF64 7F E6 FB 78 */ mr r6, r31 +/* 8031E008 0031AF68 38 80 00 01 */ li r4, 1 +/* 8031E00C 0031AF6C 48 00 01 E5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +/* 8031E010 0031AF70 80 1D 02 88 */ lwz r0, 0x288(r29) +/* 8031E014 0031AF74 28 00 00 00 */ cmplwi r0, 0 +/* 8031E018 0031AF78 41 82 00 38 */ beq lbl_8031E050 +/* 8031E01C 0031AF7C 7F A3 EB 78 */ mr r3, r29 +/* 8031E020 0031AF80 7F C5 F3 78 */ mr r5, r30 +/* 8031E024 0031AF84 7F E6 FB 78 */ mr r6, r31 +/* 8031E028 0031AF88 38 80 00 02 */ li r4, 2 +/* 8031E02C 0031AF8C 48 00 01 C5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +/* 8031E030 0031AF90 80 1D 02 8C */ lwz r0, 0x28c(r29) +/* 8031E034 0031AF94 28 00 00 00 */ cmplwi r0, 0 +/* 8031E038 0031AF98 41 82 00 18 */ beq lbl_8031E050 +/* 8031E03C 0031AF9C 7F A3 EB 78 */ mr r3, r29 +/* 8031E040 0031AFA0 7F C5 F3 78 */ mr r5, r30 +/* 8031E044 0031AFA4 7F E6 FB 78 */ mr r6, r31 +/* 8031E048 0031AFA8 38 80 00 03 */ li r4, 3 +/* 8031E04C 0031AFAC 48 00 01 A5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +lbl_8031E050: +/* 8031E050 0031AFB0 88 1D 02 6C */ lbz r0, 0x26c(r29) +/* 8031E054 0031AFB4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031E058 0031AFB8 41 82 00 58 */ beq lbl_8031E0B0 +/* 8031E05C 0031AFBC 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E060 0031AFC0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8031E064 0031AFC4 28 03 00 00 */ cmplwi r3, 0 +/* 8031E068 0031AFC8 41 82 00 1C */ beq lbl_8031E084 +/* 8031E06C 0031AFCC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E070 0031AFD0 7F C4 F3 78 */ mr r4, r30 +/* 8031E074 0031AFD4 38 BF 00 2C */ addi r5, r31, 0x2c +/* 8031E078 0031AFD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E07C 0031AFDC 7D 89 03 A6 */ mtctr r12 +/* 8031E080 0031AFE0 4E 80 04 21 */ bctrl +lbl_8031E084: +/* 8031E084 0031AFE4 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E088 0031AFE8 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8031E08C 0031AFEC 28 03 00 00 */ cmplwi r3, 0 +/* 8031E090 0031AFF0 41 82 00 70 */ beq lbl_8031E100 +/* 8031E094 0031AFF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E098 0031AFF8 7F C4 F3 78 */ mr r4, r30 +/* 8031E09C 0031AFFC 38 BF 00 30 */ addi r5, r31, 0x30 +/* 8031E0A0 0031B000 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E0A4 0031B004 7D 89 03 A6 */ mtctr r12 +/* 8031E0A8 0031B008 4E 80 04 21 */ bctrl +/* 8031E0AC 0031B00C 48 00 00 54 */ b lbl_8031E100 +lbl_8031E0B0: +/* 8031E0B0 0031B010 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E0B4 0031B014 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031E0B8 0031B018 28 03 00 00 */ cmplwi r3, 0 +/* 8031E0BC 0031B01C 41 82 00 1C */ beq lbl_8031E0D8 +/* 8031E0C0 0031B020 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E0C4 0031B024 7F C4 F3 78 */ mr r4, r30 +/* 8031E0C8 0031B028 38 BF 00 30 */ addi r5, r31, 0x30 +/* 8031E0CC 0031B02C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E0D0 0031B030 7D 89 03 A6 */ mtctr r12 +/* 8031E0D4 0031B034 4E 80 04 21 */ bctrl +lbl_8031E0D8: +/* 8031E0D8 0031B038 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E0DC 0031B03C 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031E0E0 0031B040 28 03 00 00 */ cmplwi r3, 0 +/* 8031E0E4 0031B044 41 82 00 1C */ beq lbl_8031E100 +/* 8031E0E8 0031B048 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E0EC 0031B04C 7F C4 F3 78 */ mr r4, r30 +/* 8031E0F0 0031B050 38 BF 00 2C */ addi r5, r31, 0x2c +/* 8031E0F4 0031B054 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E0F8 0031B058 7D 89 03 A6 */ mtctr r12 +/* 8031E0FC 0031B05C 4E 80 04 21 */ bctrl +lbl_8031E100: +/* 8031E100 0031B060 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E104 0031B064 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8031E108 0031B068 28 03 00 00 */ cmplwi r3, 0 +/* 8031E10C 0031B06C 41 82 00 1C */ beq lbl_8031E128 +/* 8031E110 0031B070 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E114 0031B074 7F C4 F3 78 */ mr r4, r30 +/* 8031E118 0031B078 38 BF 00 34 */ addi r5, r31, 0x34 +/* 8031E11C 0031B07C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E120 0031B080 7D 89 03 A6 */ mtctr r12 +/* 8031E124 0031B084 4E 80 04 21 */ bctrl +lbl_8031E128: +/* 8031E128 0031B088 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 8031E12C 0031B08C 7F A3 EB 78 */ mr r3, r29 +/* 8031E130 0031B090 38 9F 00 04 */ addi r4, r31, 4 +/* 8031E134 0031B094 4B FF 9B E5 */ bl AccumulateBounds__11CElementGenFRC9CVector3ff +/* 8031E138 0031B098 3B FF 00 38 */ addi r31, r31, 0x38 +lbl_8031E13C: +/* 8031E13C 0031B09C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031E140 0031B0A0 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 8031E144 0031B0A4 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031E148 0031B0A8 7C 03 02 14 */ add r0, r3, r0 +/* 8031E14C 0031B0AC 7C 1F 00 40 */ cmplw r31, r0 +/* 8031E150 0031B0B0 40 82 FC 58 */ bne lbl_8031DDA8 +lbl_8031E154: +/* 8031E154 0031B0B4 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031E158 0031B0B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8031E15C 0031B0BC 40 81 00 78 */ ble lbl_8031E1D4 +/* 8031E160 0031B0C0 83 DD 00 08 */ lwz r30, 8(r29) +/* 8031E164 0031B0C4 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 8031E168 0031B0C8 48 00 00 64 */ b lbl_8031E1CC +lbl_8031E16C: +/* 8031E16C 0031B0CC 80 7E 00 08 */ lwz r3, 8(r30) +/* 8031E170 0031B0D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E174 0031B0D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E178 0031B0D8 7D 89 03 A6 */ mtctr r12 +/* 8031E17C 0031B0DC 4E 80 04 21 */ bctrl +/* 8031E180 0031B0E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031E184 0031B0E4 41 82 00 44 */ beq lbl_8031E1C8 +/* 8031E188 0031B0E8 80 DD 00 3C */ lwz r6, 0x3c(r29) +/* 8031E18C 0031B0EC 38 A0 00 38 */ li r5, 0x38 +/* 8031E190 0031B0F0 38 66 00 2C */ addi r3, r6, 0x2c +/* 8031E194 0031B0F4 38 06 00 30 */ addi r0, r6, 0x30 +/* 8031E198 0031B0F8 90 61 00 08 */ stw r3, 8(r1) +/* 8031E19C 0031B0FC 38 E6 00 10 */ addi r7, r6, 0x10 +/* 8031E1A0 0031B100 39 06 00 04 */ addi r8, r6, 4 +/* 8031E1A4 0031B104 39 26 00 1C */ addi r9, r6, 0x1c +/* 8031E1A8 0031B108 90 01 00 0C */ stw r0, 0xc(r1) +/* 8031E1AC 0031B10C 39 46 00 34 */ addi r10, r6, 0x34 +/* 8031E1B0 0031B110 80 7E 00 08 */ lwz r3, 8(r30) +/* 8031E1B4 0031B114 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 8031E1B8 0031B118 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E1BC 0031B11C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031E1C0 0031B120 7D 89 03 A6 */ mtctr r12 +/* 8031E1C4 0031B124 4E 80 04 21 */ bctrl +lbl_8031E1C8: +/* 8031E1C8 0031B128 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8031E1CC: +/* 8031E1CC 0031B12C 7C 1E F8 40 */ cmplw r30, r31 +/* 8031E1D0 0031B130 40 82 FF 9C */ bne lbl_8031E16C +lbl_8031E1D4: +/* 8031E1D4 0031B134 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031E1D8 0031B138 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031E1DC 0031B13C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031E1E0 0031B140 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031E1E4 0031B144 7C 08 03 A6 */ mtlr r0 +/* 8031E1E8 0031B148 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031E1EC 0031B14C 4E 80 00 20 */ blr + +.global UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle: +/* 8031E1F0 0031B150 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8031E1F4 0031B154 7C 08 02 A6 */ mflr r0 +/* 8031E1F8 0031B158 90 01 00 74 */ stw r0, 0x74(r1) +/* 8031E1FC 0031B15C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8031E200 0031B160 7C BF 2B 78 */ mr r31, r5 +/* 8031E204 0031B164 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8031E208 0031B168 7C DE 33 78 */ mr r30, r6 +/* 8031E20C 0031B16C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8031E210 0031B170 7C 9D 23 78 */ mr r29, r4 +/* 8031E214 0031B174 93 81 00 60 */ stw r28, 0x60(r1) +/* 8031E218 0031B178 7C 7C 1B 78 */ mr r28, r3 +/* 8031E21C 0031B17C 7C 7C EA 14 */ add r3, r28, r29 +/* 8031E220 0031B180 88 03 02 78 */ lbz r0, 0x278(r3) +/* 8031E224 0031B184 28 00 00 00 */ cmplwi r0, 0 +/* 8031E228 0031B188 41 82 01 20 */ beq lbl_8031E348 +/* 8031E22C 0031B18C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031E230 0031B190 38 9C 02 08 */ addi r4, r28, 0x208 +/* 8031E234 0031B194 38 BE 00 1C */ addi r5, r30, 0x1c +/* 8031E238 0031B198 4B FF 20 5D */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 8031E23C 0031B19C C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8031E240 0031B1A0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031E244 0031B1A4 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8031E248 0031B1A8 38 9C 02 08 */ addi r4, r28, 0x208 +/* 8031E24C 0031B1AC C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8031E250 0031B1B0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031E254 0031B1B4 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8031E258 0031B1B8 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8031E25C 0031B1BC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8031E260 0031B1C0 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8031E264 0031B1C4 C0 1C 00 E0 */ lfs f0, 0xe0(r28) +/* 8031E268 0031B1C8 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 8031E26C 0031B1CC C0 5C 00 E4 */ lfs f2, 0xe4(r28) +/* 8031E270 0031B1D0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8031E274 0031B1D4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8031E278 0031B1D8 C0 1C 00 DC */ lfs f0, 0xdc(r28) +/* 8031E27C 0031B1DC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8031E280 0031B1E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8031E284 0031B1E4 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8031E288 0031B1E8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8031E28C 0031B1EC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031E290 0031B1F0 4B FF 20 05 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 8031E294 0031B1F4 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8031E298 0031B1F8 57 A0 10 3A */ slwi r0, r29, 2 +/* 8031E29C 0031B1FC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8031E2A0 0031B200 7C 7C 02 14 */ add r3, r28, r0 +/* 8031E2A4 0031B204 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8031E2A8 0031B208 7F E4 FB 78 */ mr r4, r31 +/* 8031E2AC 0031B20C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8031E2B0 0031B210 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8031E2B4 0031B214 38 C1 00 44 */ addi r6, r1, 0x44 +/* 8031E2B8 0031B218 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8031E2BC 0031B21C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8031E2C0 0031B220 80 63 02 80 */ lwz r3, 0x280(r3) +/* 8031E2C4 0031B224 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E2C8 0031B228 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E2CC 0031B22C 7D 89 03 A6 */ mtctr r12 +/* 8031E2D0 0031B230 4E 80 04 21 */ bctrl +/* 8031E2D4 0031B234 7C 60 1B 78 */ mr r0, r3 +/* 8031E2D8 0031B238 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031E2DC 0031B23C 7C 1F 03 78 */ mr r31, r0 +/* 8031E2E0 0031B240 38 9C 01 D8 */ addi r4, r28, 0x1d8 +/* 8031E2E4 0031B244 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8031E2E8 0031B248 4B FF 47 99 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031E2EC 0031B24C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8031E2F0 0031B250 38 61 00 08 */ addi r3, r1, 8 +/* 8031E2F4 0031B254 38 9C 01 D8 */ addi r4, r28, 0x1d8 +/* 8031E2F8 0031B258 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8031E2FC 0031B25C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8031E300 0031B260 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8031E304 0031B264 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031E308 0031B268 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8031E30C 0031B26C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8031E310 0031B270 4B FF 47 71 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031E314 0031B274 C0 21 00 08 */ lfs f1, 8(r1) +/* 8031E318 0031B278 C0 1C 00 DC */ lfs f0, 0xdc(r28) +/* 8031E31C 0031B27C C0 81 00 0C */ lfs f4, 0xc(r1) +/* 8031E320 0031B280 C0 7C 00 E0 */ lfs f3, 0xe0(r28) +/* 8031E324 0031B284 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031E328 0031B288 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8031E32C 0031B28C C0 3C 00 E4 */ lfs f1, 0xe4(r28) +/* 8031E330 0031B290 EC 64 18 2A */ fadds f3, f4, f3 +/* 8031E334 0031B294 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8031E338 0031B298 EC 02 08 2A */ fadds f0, f2, f1 +/* 8031E33C 0031B29C D0 7E 00 08 */ stfs f3, 8(r30) +/* 8031E340 0031B2A0 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8031E344 0031B2A4 48 00 00 30 */ b lbl_8031E374 +lbl_8031E348: +/* 8031E348 0031B2A8 57 A0 10 3A */ slwi r0, r29, 2 +/* 8031E34C 0031B2AC 7F E4 FB 78 */ mr r4, r31 +/* 8031E350 0031B2B0 7C 7C 02 14 */ add r3, r28, r0 +/* 8031E354 0031B2B4 38 BE 00 1C */ addi r5, r30, 0x1c +/* 8031E358 0031B2B8 80 63 02 80 */ lwz r3, 0x280(r3) +/* 8031E35C 0031B2BC 38 DE 00 04 */ addi r6, r30, 4 +/* 8031E360 0031B2C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E364 0031B2C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E368 0031B2C8 7D 89 03 A6 */ mtctr r12 +/* 8031E36C 0031B2CC 4E 80 04 21 */ bctrl +/* 8031E370 0031B2D0 7C 7F 1B 78 */ mr r31, r3 +lbl_8031E374: +/* 8031E374 0031B2D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8031E378 0031B2D8 41 82 00 14 */ beq lbl_8031E38C +/* 8031E37C 0031B2DC 38 00 FF FF */ li r0, -1 +/* 8031E380 0031B2E0 38 60 00 01 */ li r3, 1 +/* 8031E384 0031B2E4 90 1E 00 00 */ stw r0, 0(r30) +/* 8031E388 0031B2E8 48 00 00 08 */ b lbl_8031E390 +lbl_8031E38C: +/* 8031E38C 0031B2EC 38 60 00 00 */ li r3, 0 +lbl_8031E390: +/* 8031E390 0031B2F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8031E394 0031B2F4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8031E398 0031B2F8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8031E39C 0031B2FC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8031E3A0 0031B300 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8031E3A4 0031B304 7C 08 03 A6 */ mtlr r0 +/* 8031E3A8 0031B308 38 21 00 70 */ addi r1, r1, 0x70 +/* 8031E3AC 0031B30C 4E 80 00 20 */ blr + +.global UpdateAdvanceAccessParameters__11CElementGenFii +UpdateAdvanceAccessParameters__11CElementGenFii: +/* 8031E3B0 0031B310 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031E3B4 0031B314 7C 08 02 A6 */ mflr r0 +/* 8031E3B8 0031B318 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031E3BC 0031B31C 54 80 28 34 */ slwi r0, r4, 5 +/* 8031E3C0 0031B320 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031E3C4 0031B324 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031E3C8 0031B328 7C BE 2B 78 */ mr r30, r5 +/* 8031E3CC 0031B32C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031E3D0 0031B330 7C 7D 1B 78 */ mr r29, r3 +/* 8031E3D4 0031B334 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8031E3D8 0031B338 7F E3 02 14 */ add r31, r3, r0 +/* 8031E3DC 0031B33C 93 ED A8 F0 */ stw r31, lbl_805A94B0@sda21(r13) +/* 8031E3E0 0031B340 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E3E4 0031B344 80 63 01 0C */ lwz r3, 0x10c(r3) +/* 8031E3E8 0031B348 28 03 00 00 */ cmplwi r3, 0 +/* 8031E3EC 0031B34C 41 82 00 1C */ beq lbl_8031E408 +/* 8031E3F0 0031B350 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E3F4 0031B354 7F C4 F3 78 */ mr r4, r30 +/* 8031E3F8 0031B358 7F E5 FB 78 */ mr r5, r31 +/* 8031E3FC 0031B35C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E400 0031B360 7D 89 03 A6 */ mtctr r12 +/* 8031E404 0031B364 4E 80 04 21 */ bctrl +lbl_8031E408: +/* 8031E408 0031B368 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E40C 0031B36C 80 63 01 10 */ lwz r3, 0x110(r3) +/* 8031E410 0031B370 28 03 00 00 */ cmplwi r3, 0 +/* 8031E414 0031B374 41 82 00 1C */ beq lbl_8031E430 +/* 8031E418 0031B378 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E41C 0031B37C 7F C4 F3 78 */ mr r4, r30 +/* 8031E420 0031B380 38 BF 00 04 */ addi r5, r31, 4 +/* 8031E424 0031B384 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E428 0031B388 7D 89 03 A6 */ mtctr r12 +/* 8031E42C 0031B38C 4E 80 04 21 */ bctrl +lbl_8031E430: +/* 8031E430 0031B390 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E434 0031B394 80 63 01 14 */ lwz r3, 0x114(r3) +/* 8031E438 0031B398 28 03 00 00 */ cmplwi r3, 0 +/* 8031E43C 0031B39C 41 82 00 1C */ beq lbl_8031E458 +/* 8031E440 0031B3A0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E444 0031B3A4 7F C4 F3 78 */ mr r4, r30 +/* 8031E448 0031B3A8 38 BF 00 08 */ addi r5, r31, 8 +/* 8031E44C 0031B3AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E450 0031B3B0 7D 89 03 A6 */ mtctr r12 +/* 8031E454 0031B3B4 4E 80 04 21 */ bctrl +lbl_8031E458: +/* 8031E458 0031B3B8 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E45C 0031B3BC 80 63 01 18 */ lwz r3, 0x118(r3) +/* 8031E460 0031B3C0 28 03 00 00 */ cmplwi r3, 0 +/* 8031E464 0031B3C4 41 82 00 1C */ beq lbl_8031E480 +/* 8031E468 0031B3C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E46C 0031B3CC 7F C4 F3 78 */ mr r4, r30 +/* 8031E470 0031B3D0 38 BF 00 0C */ addi r5, r31, 0xc +/* 8031E474 0031B3D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E478 0031B3D8 7D 89 03 A6 */ mtctr r12 +/* 8031E47C 0031B3DC 4E 80 04 21 */ bctrl +lbl_8031E480: +/* 8031E480 0031B3E0 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E484 0031B3E4 80 63 01 1C */ lwz r3, 0x11c(r3) +/* 8031E488 0031B3E8 28 03 00 00 */ cmplwi r3, 0 +/* 8031E48C 0031B3EC 41 82 00 1C */ beq lbl_8031E4A8 +/* 8031E490 0031B3F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E494 0031B3F4 7F C4 F3 78 */ mr r4, r30 +/* 8031E498 0031B3F8 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8031E49C 0031B3FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E4A0 0031B400 7D 89 03 A6 */ mtctr r12 +/* 8031E4A4 0031B404 4E 80 04 21 */ bctrl +lbl_8031E4A8: +/* 8031E4A8 0031B408 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E4AC 0031B40C 80 63 01 20 */ lwz r3, 0x120(r3) +/* 8031E4B0 0031B410 28 03 00 00 */ cmplwi r3, 0 +/* 8031E4B4 0031B414 41 82 00 1C */ beq lbl_8031E4D0 +/* 8031E4B8 0031B418 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E4BC 0031B41C 7F C4 F3 78 */ mr r4, r30 +/* 8031E4C0 0031B420 38 BF 00 14 */ addi r5, r31, 0x14 +/* 8031E4C4 0031B424 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E4C8 0031B428 7D 89 03 A6 */ mtctr r12 +/* 8031E4CC 0031B42C 4E 80 04 21 */ bctrl +lbl_8031E4D0: +/* 8031E4D0 0031B430 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E4D4 0031B434 80 63 01 24 */ lwz r3, 0x124(r3) +/* 8031E4D8 0031B438 28 03 00 00 */ cmplwi r3, 0 +/* 8031E4DC 0031B43C 41 82 00 1C */ beq lbl_8031E4F8 +/* 8031E4E0 0031B440 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E4E4 0031B444 7F C4 F3 78 */ mr r4, r30 +/* 8031E4E8 0031B448 38 BF 00 18 */ addi r5, r31, 0x18 +/* 8031E4EC 0031B44C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E4F0 0031B450 7D 89 03 A6 */ mtctr r12 +/* 8031E4F4 0031B454 4E 80 04 21 */ bctrl +lbl_8031E4F8: +/* 8031E4F8 0031B458 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E4FC 0031B45C 80 63 01 28 */ lwz r3, 0x128(r3) +/* 8031E500 0031B460 28 03 00 00 */ cmplwi r3, 0 +/* 8031E504 0031B464 41 82 00 1C */ beq lbl_8031E520 +/* 8031E508 0031B468 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E50C 0031B46C 7F C4 F3 78 */ mr r4, r30 +/* 8031E510 0031B470 38 BF 00 1C */ addi r5, r31, 0x1c +/* 8031E514 0031B474 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E518 0031B478 7D 89 03 A6 */ mtctr r12 +/* 8031E51C 0031B47C 4E 80 04 21 */ bctrl +lbl_8031E520: +/* 8031E520 0031B480 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031E524 0031B484 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031E528 0031B488 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031E52C 0031B48C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031E530 0031B490 7C 08 03 A6 */ mtlr r0 +/* 8031E534 0031B494 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031E538 0031B498 4E 80 00 20 */ blr + +.global UpdateLightParameters__11CElementGenFv +UpdateLightParameters__11CElementGenFv: +/* 8031E53C 0031B49C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031E540 0031B4A0 7C 08 02 A6 */ mflr r0 +/* 8031E544 0031B4A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031E548 0031B4A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031E54C 0031B4AC 7C 7F 1B 78 */ mr r31, r3 +/* 8031E550 0031B4B0 38 BF 03 0C */ addi r5, r31, 0x30c +/* 8031E554 0031B4B4 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8031E558 0031B4B8 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E55C 0031B4BC 80 63 00 F0 */ lwz r3, 0xf0(r3) +/* 8031E560 0031B4C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E564 0031B4C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E568 0031B4C8 7D 89 03 A6 */ mtctr r12 +/* 8031E56C 0031B4CC 4E 80 04 21 */ bctrl +/* 8031E570 0031B4D0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E574 0031B4D4 38 BF 03 10 */ addi r5, r31, 0x310 +/* 8031E578 0031B4D8 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E57C 0031B4DC 80 63 00 F4 */ lwz r3, 0xf4(r3) +/* 8031E580 0031B4E0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E584 0031B4E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E588 0031B4E8 7D 89 03 A6 */ mtctr r12 +/* 8031E58C 0031B4EC 4E 80 04 21 */ bctrl +/* 8031E590 0031B4F0 80 1F 03 08 */ lwz r0, 0x308(r31) +/* 8031E594 0031B4F4 2C 00 00 02 */ cmpwi r0, 2 +/* 8031E598 0031B4F8 41 82 00 70 */ beq lbl_8031E608 +/* 8031E59C 0031B4FC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E5A0 0031B500 38 BF 03 14 */ addi r5, r31, 0x314 +/* 8031E5A4 0031B504 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E5A8 0031B508 80 63 00 F8 */ lwz r3, 0xf8(r3) +/* 8031E5AC 0031B50C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E5B0 0031B510 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E5B4 0031B514 7D 89 03 A6 */ mtctr r12 +/* 8031E5B8 0031B518 4E 80 04 21 */ bctrl +/* 8031E5BC 0031B51C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E5C0 0031B520 38 BF 03 30 */ addi r5, r31, 0x330 +/* 8031E5C4 0031B524 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E5C8 0031B528 80 63 01 04 */ lwz r3, 0x104(r3) +/* 8031E5CC 0031B52C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E5D0 0031B530 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E5D4 0031B534 7D 89 03 A6 */ mtctr r12 +/* 8031E5D8 0031B538 4E 80 04 21 */ bctrl +/* 8031E5DC 0031B53C 80 1F 03 08 */ lwz r0, 0x308(r31) +/* 8031E5E0 0031B540 2C 00 00 03 */ cmpwi r0, 3 +/* 8031E5E4 0031B544 40 82 00 24 */ bne lbl_8031E608 +/* 8031E5E8 0031B548 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E5EC 0031B54C 38 BF 03 34 */ addi r5, r31, 0x334 +/* 8031E5F0 0031B550 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E5F4 0031B554 80 63 01 08 */ lwz r3, 0x108(r3) +/* 8031E5F8 0031B558 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E5FC 0031B55C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E600 0031B560 7D 89 03 A6 */ mtctr r12 +/* 8031E604 0031B564 4E 80 04 21 */ bctrl +lbl_8031E608: +/* 8031E608 0031B568 80 1F 03 08 */ lwz r0, 0x308(r31) +/* 8031E60C 0031B56C 2C 00 00 01 */ cmpwi r0, 1 +/* 8031E610 0031B570 41 82 00 24 */ beq lbl_8031E634 +/* 8031E614 0031B574 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E618 0031B578 38 BF 03 20 */ addi r5, r31, 0x320 +/* 8031E61C 0031B57C 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E620 0031B580 80 63 00 FC */ lwz r3, 0xfc(r3) +/* 8031E624 0031B584 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E628 0031B588 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E62C 0031B58C 7D 89 03 A6 */ mtctr r12 +/* 8031E630 0031B590 4E 80 04 21 */ bctrl +lbl_8031E634: +/* 8031E634 0031B594 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031E638 0031B598 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031E63C 0031B59C 7C 08 03 A6 */ mtlr r0 +/* 8031E640 0031B5A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031E644 0031B5A4 4E 80 00 20 */ blr + +.global InternalUpdate__11CElementGenFd +InternalUpdate__11CElementGenFd: +/* 8031E648 0031B5A8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8031E64C 0031B5AC 7C 08 02 A6 */ mflr r0 +/* 8031E650 0031B5B0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8031E654 0031B5B4 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8031E658 0031B5B8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8031E65C 0031B5BC DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8031E660 0031B5C0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8031E664 0031B5C4 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 8031E668 0031B5C8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 8031E66C 0031B5CC DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8031E670 0031B5D0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 8031E674 0031B5D4 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 8031E678 0031B5D8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 8031E67C 0031B5DC BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 8031E680 0031B5E0 7C 7C 1B 78 */ mr r28, r3 +/* 8031E684 0031B5E4 FF A0 08 90 */ fmr f29, f1 +/* 8031E688 0031B5E8 48 06 6D 21 */ bl OSGetTime +/* 8031E68C 0031B5EC 7C 9E 23 78 */ mr r30, r4 +/* 8031E690 0031B5F0 7C 7F 1B 78 */ mr r31, r3 +/* 8031E694 0031B5F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031E698 0031B5F8 38 9C 02 7C */ addi r4, r28, 0x27c +/* 8031E69C 0031B5FC 4B FF 3F E5 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031E6A0 0031B600 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E6A4 0031B604 3C 00 43 30 */ lis r0, 0x4330 +/* 8031E6A8 0031B608 C8 AD 9C F0 */ lfd f5, lbl_805A88B0@sda21(r13) +/* 8031E6AC 0031B60C 3B A0 00 00 */ li r29, 0 +/* 8031E6B0 0031B610 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8031E6B4 0031B614 90 01 00 40 */ stw r0, 0x40(r1) +/* 8031E6B8 0031B618 FC 3D 28 28 */ fsub f1, f29, f5 +/* 8031E6BC 0031B61C C8 62 CA 18 */ lfd f3, lbl_805AE738@sda21(r2) +/* 8031E6C0 0031B620 90 61 00 44 */ stw r3, 0x44(r1) +/* 8031E6C4 0031B624 C8 02 CA 38 */ lfd f0, lbl_805AE758@sda21(r2) +/* 8031E6C8 0031B628 C8 41 00 40 */ lfd f2, 0x40(r1) +/* 8031E6CC 0031B62C FC 80 0A 10 */ fabs f4, f1 +/* 8031E6D0 0031B630 FC 22 18 28 */ fsub f1, f2, f3 +/* 8031E6D4 0031B634 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8031E6D8 0031B638 FF 81 01 72 */ fmul f28, f1, f5 +/* 8031E6DC 0031B63C 40 80 00 08 */ bge lbl_8031E6E4 +/* 8031E6E0 0031B640 48 00 00 08 */ b lbl_8031E6E8 +lbl_8031E6E4: +/* 8031E6E4 0031B644 FC A0 E8 90 */ fmr f5, f29 +lbl_8031E6E8: +/* 8031E6E8 0031B648 D8 A1 00 28 */ stfd f5, 0x28(r1) +/* 8031E6EC 0031B64C 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E6F0 0031B650 48 00 C0 59 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031E6F4 0031B654 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E6F8 0031B658 80 03 00 08 */ lwz r0, 8(r3) +/* 8031E6FC 0031B65C 28 00 00 00 */ cmplwi r0, 0 +/* 8031E700 0031B660 41 82 00 5C */ beq lbl_8031E75C +/* 8031E704 0031B664 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031E708 0031B668 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031E70C 0031B66C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031E710 0031B670 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E714 0031B674 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E718 0031B678 80 63 00 08 */ lwz r3, 8(r3) +/* 8031E71C 0031B67C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E720 0031B680 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E724 0031B684 7D 89 03 A6 */ mtctr r12 +/* 8031E728 0031B688 4E 80 04 21 */ bctrl +/* 8031E72C 0031B68C C8 41 00 28 */ lfd f2, 0x28(r1) +/* 8031E730 0031B690 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8031E734 0031B694 C8 0D 9D 00 */ lfd f0, lbl_805A88C0@sda21(r13) +/* 8031E738 0031B698 FC 22 00 72 */ fmul f1, f2, f1 +/* 8031E73C 0031B69C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8031E740 0031B6A0 D8 21 00 28 */ stfd f1, 0x28(r1) +/* 8031E744 0031B6A4 40 80 00 0C */ bge lbl_8031E750 +/* 8031E748 0031B6A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8031E74C 0031B6AC 48 00 00 08 */ b lbl_8031E754 +lbl_8031E750: +/* 8031E750 0031B6B0 38 6D 9D 00 */ addi r3, r13, lbl_805A88C0@sda21 +lbl_8031E754: +/* 8031E754 0031B6B4 C8 03 00 00 */ lfd f0, 0(r3) +/* 8031E758 0031B6B8 D8 01 00 28 */ stfd f0, 0x28(r1) +lbl_8031E75C: +/* 8031E75C 0031B6BC C8 3C 00 78 */ lfd f1, 0x78(r28) +/* 8031E760 0031B6C0 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8031E764 0031B6C4 FC 01 00 2A */ fadd f0, f1, f0 +/* 8031E768 0031B6C8 D8 1C 00 78 */ stfd f0, 0x78(r28) +/* 8031E76C 0031B6CC 88 1C 02 6C */ lbz r0, 0x26c(r28) +/* 8031E770 0031B6D0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8031E774 0031B6D4 41 82 00 38 */ beq lbl_8031E7AC +/* 8031E778 0031B6D8 C8 02 CA 20 */ lfd f0, lbl_805AE740@sda21(r2) +/* 8031E77C 0031B6DC FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8031E780 0031B6E0 40 81 00 2C */ ble lbl_8031E7AC +/* 8031E784 0031B6E4 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E788 0031B6E8 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8031E78C 0031B6EC 28 03 00 00 */ cmplwi r3, 0 +/* 8031E790 0031B6F0 41 82 00 1C */ beq lbl_8031E7AC +/* 8031E794 0031B6F4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E798 0031B6F8 38 BC 02 70 */ addi r5, r28, 0x270 +/* 8031E79C 0031B6FC 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E7A0 0031B700 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E7A4 0031B704 7D 89 03 A6 */ mtctr r12 +/* 8031E7A8 0031B708 4E 80 04 21 */ bctrl +lbl_8031E7AC: +/* 8031E7AC 0031B70C CB 62 CA 38 */ lfd f27, lbl_805AE758@sda21(r2) +/* 8031E7B0 0031B710 C3 A2 CA 40 */ lfs f29, lbl_805AE760@sda21(r2) +/* 8031E7B4 0031B714 C3 C2 CA 44 */ lfs f30, lbl_805AE764@sda21(r2) +/* 8031E7B8 0031B718 C3 E2 C9 E8 */ lfs f31, lbl_805AE708@sda21(r2) +/* 8031E7BC 0031B71C 48 00 01 C8 */ b lbl_8031E984 +lbl_8031E7C0: +/* 8031E7C0 0031B720 D3 BC 02 D4 */ stfs f29, 0x2d4(r28) +/* 8031E7C4 0031B724 D3 BC 02 D8 */ stfs f29, 0x2d8(r28) +/* 8031E7C8 0031B728 D3 BC 02 DC */ stfs f29, 0x2dc(r28) +/* 8031E7CC 0031B72C D3 DC 02 E0 */ stfs f30, 0x2e0(r28) +/* 8031E7D0 0031B730 D3 DC 02 E4 */ stfs f30, 0x2e4(r28) +/* 8031E7D4 0031B734 D3 DC 02 E8 */ stfs f30, 0x2e8(r28) +/* 8031E7D8 0031B738 D3 FC 02 EC */ stfs f31, 0x2ec(r28) +/* 8031E7DC 0031B73C 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E7E0 0031B740 48 00 BF 69 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031E7E4 0031B744 7F 83 E3 78 */ mr r3, r28 +/* 8031E7E8 0031B748 4B FF F5 85 */ bl UpdateExistingParticles__11CElementGenFv +/* 8031E7EC 0031B74C 80 7C 02 68 */ lwz r3, 0x268(r28) +/* 8031E7F0 0031B750 48 00 BF 89 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031E7F4 0031B754 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E7F8 0031B758 80 1C 02 68 */ lwz r0, 0x268(r28) +/* 8031E7FC 0031B75C 7C 03 00 00 */ cmpw r3, r0 +/* 8031E800 0031B760 40 80 01 38 */ bge lbl_8031E938 +/* 8031E804 0031B764 88 1C 00 88 */ lbz r0, 0x88(r28) +/* 8031E808 0031B768 28 00 00 00 */ cmplwi r0, 0 +/* 8031E80C 0031B76C 41 82 01 2C */ beq lbl_8031E938 +/* 8031E810 0031B770 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031E814 0031B774 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8031E818 0031B778 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8031E81C 0031B77C 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E820 0031B780 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E824 0031B784 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8031E828 0031B788 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E82C 0031B78C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E830 0031B790 7D 89 03 A6 */ mtctr r12 +/* 8031E834 0031B794 4E 80 04 21 */ bctrl +/* 8031E838 0031B798 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031E83C 0031B79C 41 82 00 50 */ beq lbl_8031E88C +/* 8031E840 0031B7A0 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8031E844 0031B7A4 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 8031E848 0031B7A8 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031E84C 0031B7AC 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031E850 0031B7B0 7C 03 02 14 */ add r0, r3, r0 +/* 8031E854 0031B7B4 90 61 00 08 */ stw r3, 8(r1) +/* 8031E858 0031B7B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031E85C 0031B7BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031E860 0031B7C0 48 00 00 08 */ b lbl_8031E868 +lbl_8031E864: +/* 8031E864 0031B7C4 38 63 00 38 */ addi r3, r3, 0x38 +lbl_8031E868: +/* 8031E868 0031B7C8 7C 03 00 40 */ cmplw r3, r0 +/* 8031E86C 0031B7CC 40 82 FF F8 */ bne lbl_8031E864 +/* 8031E870 0031B7D0 38 00 00 00 */ li r0, 0 +/* 8031E874 0031B7D4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031E878 0031B7D8 90 1C 00 34 */ stw r0, 0x34(r28) +/* 8031E87C 0031B7DC 38 80 FF FF */ li r4, -1 +/* 8031E880 0031B7E0 4B FF 3D 85 */ bl __dt__13CGlobalRandomFv +/* 8031E884 0031B7E4 38 60 00 01 */ li r3, 1 +/* 8031E888 0031B7E8 48 00 01 CC */ b lbl_8031EA54 +lbl_8031E88C: +/* 8031E88C 0031B7EC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8031E890 0031B7F0 C0 3C 00 98 */ lfs f1, 0x98(r28) +/* 8031E894 0031B7F4 C0 0D 9D 08 */ lfs f0, lbl_805A88C8@sda21(r13) +/* 8031E898 0031B7F8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8031E89C 0031B7FC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8031E8A0 0031B800 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8031E8A4 0031B804 40 80 00 0C */ bge lbl_8031E8B0 +/* 8031E8A8 0031B808 38 61 00 18 */ addi r3, r1, 0x18 +/* 8031E8AC 0031B80C 48 00 00 08 */ b lbl_8031E8B4 +lbl_8031E8B0: +/* 8031E8B0 0031B810 38 6D 9D 08 */ addi r3, r13, lbl_805A88C8@sda21 +lbl_8031E8B4: +/* 8031E8B4 0031B814 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031E8B8 0031B818 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8031E8BC 0031B81C C0 1C 00 8C */ lfs f0, 0x8c(r28) +/* 8031E8C0 0031B820 EC 00 08 2A */ fadds f0, f0, f1 +/* 8031E8C4 0031B824 D0 1C 00 8C */ stfs f0, 0x8c(r28) +/* 8031E8C8 0031B828 C0 3C 00 8C */ lfs f1, 0x8c(r28) +/* 8031E8CC 0031B82C 48 07 5B F9 */ bl floor +/* 8031E8D0 0031B830 FC 00 08 1E */ fctiwz f0, f1 +/* 8031E8D4 0031B834 3C 00 43 30 */ lis r0, 0x4330 +/* 8031E8D8 0031B838 90 01 00 48 */ stw r0, 0x48(r1) +/* 8031E8DC 0031B83C C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) +/* 8031E8E0 0031B840 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 8031E8E4 0031B844 C0 5C 00 8C */ lfs f2, 0x8c(r28) +/* 8031E8E8 0031B848 83 61 00 44 */ lwz r27, 0x44(r1) +/* 8031E8EC 0031B84C 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 8031E8F0 0031B850 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8031E8F4 0031B854 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 8031E8F8 0031B858 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8031E8FC 0031B85C EC 02 00 28 */ fsubs f0, f2, f0 +/* 8031E900 0031B860 D0 1C 00 8C */ stfs f0, 0x8c(r28) +/* 8031E904 0031B864 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E908 0031B868 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8031E90C 0031B86C 28 03 00 00 */ cmplwi r3, 0 +/* 8031E910 0031B870 41 82 00 1C */ beq lbl_8031E92C +/* 8031E914 0031B874 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E918 0031B878 38 BC 00 90 */ addi r5, r28, 0x90 +/* 8031E91C 0031B87C 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E920 0031B880 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E924 0031B884 7D 89 03 A6 */ mtctr r12 +/* 8031E928 0031B888 4E 80 04 21 */ bctrl +lbl_8031E92C: +/* 8031E92C 0031B88C 7F 83 E3 78 */ mr r3, r28 +/* 8031E930 0031B890 7F 64 DB 78 */ mr r4, r27 +/* 8031E934 0031B894 4B FF ED B1 */ bl CreateNewParticles__11CElementGenFi +lbl_8031E938: +/* 8031E938 0031B898 88 1C 02 6C */ lbz r0, 0x26c(r28) +/* 8031E93C 0031B89C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8031E940 0031B8A0 41 82 00 0C */ beq lbl_8031E94C +/* 8031E944 0031B8A4 7F 83 E3 78 */ mr r3, r28 +/* 8031E948 0031B8A8 4B FF EC D9 */ bl UpdatePSTranslationAndOrientation__11CElementGenFv +lbl_8031E94C: +/* 8031E94C 0031B8AC 80 1C 03 08 */ lwz r0, 0x308(r28) +/* 8031E950 0031B8B0 2C 00 00 00 */ cmpwi r0, 0 +/* 8031E954 0031B8B4 41 82 00 0C */ beq lbl_8031E960 +/* 8031E958 0031B8B8 7F 83 E3 78 */ mr r3, r28 +/* 8031E95C 0031B8BC 4B FF FB E1 */ bl UpdateLightParameters__11CElementGenFv +lbl_8031E960: +/* 8031E960 0031B8C0 C8 2D 9C F0 */ lfd f1, lbl_805A88B0@sda21(r13) +/* 8031E964 0031B8C4 7F 83 E3 78 */ mr r3, r28 +/* 8031E968 0031B8C8 4B FF E0 4D */ bl UpdateChildParticleSystems__11CElementGenFd +/* 8031E96C 0031B8CC C8 0D 9C F0 */ lfd f0, lbl_805A88B0@sda21(r13) +/* 8031E970 0031B8D0 3B BD 00 01 */ addi r29, r29, 1 +/* 8031E974 0031B8D4 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E978 0031B8D8 FF 9C 00 2A */ fadd f28, f28, f0 +/* 8031E97C 0031B8DC 38 03 00 01 */ addi r0, r3, 1 +/* 8031E980 0031B8E0 90 1C 00 74 */ stw r0, 0x74(r28) +lbl_8031E984: +/* 8031E984 0031B8E4 C8 1C 00 78 */ lfd f0, 0x78(r28) +/* 8031E988 0031B8E8 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8031E98C 0031B8EC 40 80 00 14 */ bge lbl_8031E9A0 +/* 8031E990 0031B8F0 FC 1C 00 28 */ fsub f0, f28, f0 +/* 8031E994 0031B8F4 FC 00 02 10 */ fabs f0, f0 +/* 8031E998 0031B8F8 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 8031E99C 0031B8FC 40 80 FE 24 */ bge lbl_8031E7C0 +lbl_8031E9A0: +/* 8031E9A0 0031B900 C8 3C 00 78 */ lfd f1, 0x78(r28) +/* 8031E9A4 0031B904 C8 02 CA 38 */ lfd f0, lbl_805AE758@sda21(r2) +/* 8031E9A8 0031B908 FC 3C 08 28 */ fsub f1, f28, f1 +/* 8031E9AC 0031B90C FC 20 0A 10 */ fabs f1, f1 +/* 8031E9B0 0031B910 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031E9B4 0031B914 40 80 00 14 */ bge lbl_8031E9C8 +/* 8031E9B8 0031B918 DB 9C 00 78 */ stfd f28, 0x78(r28) +/* 8031E9BC 0031B91C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031E9C0 0031B920 D0 1C 00 80 */ stfs f0, 0x80(r28) +/* 8031E9C4 0031B924 48 00 00 54 */ b lbl_8031EA18 +lbl_8031E9C8: +/* 8031E9C8 0031B928 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 8031E9CC 0031B92C 3C 00 43 30 */ lis r0, 0x4330 +/* 8031E9D0 0031B930 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8031E9D4 0031B934 7F 83 E3 78 */ mr r3, r28 +/* 8031E9D8 0031B938 C8 62 CA 18 */ lfd f3, lbl_805AE738@sda21(r2) +/* 8031E9DC 0031B93C 90 01 00 48 */ stw r0, 0x48(r1) +/* 8031E9E0 0031B940 C8 2D 9C F0 */ lfd f1, lbl_805A88B0@sda21(r13) +/* 8031E9E4 0031B944 C8 41 00 48 */ lfd f2, 0x48(r1) +/* 8031E9E8 0031B948 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8031E9EC 0031B94C FC 42 18 28 */ fsub f2, f2, f3 +/* 8031E9F0 0031B950 FC 22 00 7C */ fnmsub f1, f2, f1, f0 +/* 8031E9F4 0031B954 4B FF DF C1 */ bl UpdateChildParticleSystems__11CElementGenFd +/* 8031E9F8 0031B958 C8 3C 00 78 */ lfd f1, 0x78(r28) +/* 8031E9FC 0031B95C C8 0D 9C F0 */ lfd f0, lbl_805A88B0@sda21(r13) +/* 8031EA00 0031B960 FC 3C 08 28 */ fsub f1, f28, f1 +/* 8031EA04 0031B964 C0 42 C9 F0 */ lfs f2, lbl_805AE710@sda21(r2) +/* 8031EA08 0031B968 FC 01 00 24 */ fdiv f0, f1, f0 +/* 8031EA0C 0031B96C FC 00 00 18 */ frsp f0, f0 +/* 8031EA10 0031B970 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8031EA14 0031B974 D0 1C 00 80 */ stfs f0, 0x80(r28) +lbl_8031EA18: +/* 8031EA18 0031B978 7F 83 E3 78 */ mr r3, r28 +/* 8031EA1C 0031B97C 4B FF 90 01 */ bl BuildParticleSystemBounds__11CElementGenFv +/* 8031EA20 0031B980 48 06 69 89 */ bl OSGetTime +/* 8031EA24 0031B984 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8031EA28 0031B988 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8031EA2C 0031B98C 48 06 B5 39 */ bl __cvt_sll_flt +/* 8031EA30 0031B990 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha +/* 8031EA34 0031B994 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031EA38 0031B998 38 A4 FD 30 */ addi r5, r4, mData__10CStopwatch@l +/* 8031EA3C 0031B99C 38 80 FF FF */ li r4, -1 +/* 8031EA40 0031B9A0 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8031EA44 0031B9A4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031EA48 0031B9A8 D0 1C 02 CC */ stfs f0, 0x2cc(r28) +/* 8031EA4C 0031B9AC 4B FF 3B B9 */ bl __dt__13CGlobalRandomFv +/* 8031EA50 0031B9B0 38 60 00 00 */ li r3, 0 +lbl_8031EA54: +/* 8031EA54 0031B9B4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8031EA58 0031B9B8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8031EA5C 0031B9BC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8031EA60 0031B9C0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8031EA64 0031B9C4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8031EA68 0031B9C8 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8031EA6C 0031B9CC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 8031EA70 0031B9D0 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 8031EA74 0031B9D4 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 8031EA78 0031B9D8 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8031EA7C 0031B9DC BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 8031EA80 0031B9E0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8031EA84 0031B9E4 7C 08 03 A6 */ mtlr r0 +/* 8031EA88 0031B9E8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8031EA8C 0031B9EC 4E 80 00 20 */ blr + +.global Update__11CElementGenFd +Update__11CElementGenFd: +/* 8031EA90 0031B9F0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031EA94 0031B9F4 7C 08 02 A6 */ mflr r0 +/* 8031EA98 0031B9F8 3C A0 50 41 */ lis r5, 0x50415254@ha +/* 8031EA9C 0031B9FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031EAA0 0031BA00 38 01 00 0C */ addi r0, r1, 0xc +/* 8031EAA4 0031BA04 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8031EAA8 0031BA08 FF E0 08 90 */ fmr f31, f1 +/* 8031EAAC 0031BA0C 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8031EAB0 0031BA10 7C 7F 1B 78 */ mr r31, r3 +/* 8031EAB4 0031BA14 38 65 52 54 */ addi r3, r5, 0x50415254@l +/* 8031EAB8 0031BA18 80 8D A8 F4 */ lwz r4, lbl_805A94B4@sda21(r13) +/* 8031EABC 0031BA1C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8031EAC0 0031BA20 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031EAC4 0031BA24 90 81 00 14 */ stw r4, 0x14(r1) +/* 8031EAC8 0031BA28 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +/* 8031EACC 0031BA2C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031EAD0 0031BA30 80 03 00 04 */ lwz r0, 4(r3) +/* 8031EAD4 0031BA34 28 00 00 00 */ cmplwi r0, 0 +/* 8031EAD8 0031BA38 41 82 00 78 */ beq lbl_8031EB50 +/* 8031EADC 0031BA3C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031EAE0 0031BA40 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8031EAE4 0031BA44 40 82 00 6C */ bne lbl_8031EB50 +/* 8031EAE8 0031BA48 38 00 00 00 */ li r0, 0 +/* 8031EAEC 0031BA4C 38 A1 00 08 */ addi r5, r1, 8 +/* 8031EAF0 0031BA50 90 01 00 08 */ stw r0, 8(r1) +/* 8031EAF4 0031BA54 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031EAF8 0031BA58 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031EAFC 0031BA5C 80 63 00 04 */ lwz r3, 4(r3) +/* 8031EB00 0031BA60 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EB04 0031BA64 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031EB08 0031BA68 7D 89 03 A6 */ mtctr r12 +/* 8031EB0C 0031BA6C 4E 80 04 21 */ bctrl +/* 8031EB10 0031BA70 80 81 00 08 */ lwz r4, 8(r1) +/* 8031EB14 0031BA74 3C 00 43 30 */ lis r0, 0x4330 +/* 8031EB18 0031BA78 90 01 00 18 */ stw r0, 0x18(r1) +/* 8031EB1C 0031BA7C 7F E3 FB 78 */ mr r3, r31 +/* 8031EB20 0031BA80 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 8031EB24 0031BA84 C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) +/* 8031EB28 0031BA88 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8031EB2C 0031BA8C C8 4D 9C F0 */ lfd f2, lbl_805A88B0@sda21(r13) +/* 8031EB30 0031BA90 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8031EB34 0031BA94 FC 00 08 28 */ fsub f0, f0, f1 +/* 8031EB38 0031BA98 FC 22 00 32 */ fmul f1, f2, f0 +/* 8031EB3C 0031BA9C 4B FF FB 0D */ bl InternalUpdate__11CElementGenFd +/* 8031EB40 0031BAA0 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031EB44 0031BAA4 38 60 00 01 */ li r3, 1 +/* 8031EB48 0031BAA8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8031EB4C 0031BAAC 98 1F 02 6D */ stb r0, 0x26d(r31) +lbl_8031EB50: +/* 8031EB50 0031BAB0 FC 20 F8 90 */ fmr f1, f31 +/* 8031EB54 0031BAB4 7F E3 FB 78 */ mr r3, r31 +/* 8031EB58 0031BAB8 4B FF FA F1 */ bl InternalUpdate__11CElementGenFd +/* 8031EB5C 0031BABC 34 01 00 0C */ addic. r0, r1, 0xc +/* 8031EB60 0031BAC0 41 82 00 0C */ beq lbl_8031EB6C +/* 8031EB64 0031BAC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031EB68 0031BAC8 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +lbl_8031EB6C: +/* 8031EB6C 0031BACC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031EB70 0031BAD0 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8031EB74 0031BAD4 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 8031EB78 0031BAD8 7C 08 03 A6 */ mtlr r0 +/* 8031EB7C 0031BADC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031EB80 0031BAE0 4E 80 00 20 */ blr + +.global SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f +SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f: +/* 8031EB84 0031BAE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031EB88 0031BAE8 7C 08 02 A6 */ mflr r0 +/* 8031EB8C 0031BAEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031EB90 0031BAF0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031EB94 0031BAF4 7C 9F 23 78 */ mr r31, r4 +/* 8031EB98 0031BAF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031EB9C 0031BAFC 7C 7E 1B 78 */ mr r30, r3 +/* 8031EBA0 0031BB00 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EBA4 0031BB04 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8031EBA8 0031BB08 7D 89 03 A6 */ mtctr r12 +/* 8031EBAC 0031BB0C 4E 80 04 21 */ bctrl +/* 8031EBB0 0031BB10 C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 8031EBB4 0031BB14 7F C3 F3 78 */ mr r3, r30 +/* 8031EBB8 0031BB18 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8031EBBC 0031BB1C 38 81 00 08 */ addi r4, r1, 8 +/* 8031EBC0 0031BB20 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8031EBC4 0031BB24 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8031EBC8 0031BB28 D0 01 00 08 */ stfs f0, 8(r1) +/* 8031EBCC 0031BB2C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8031EBD0 0031BB30 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031EBD4 0031BB34 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031EBD8 0031BB38 7D 89 03 A6 */ mtctr r12 +/* 8031EBDC 0031BB3C 4E 80 04 21 */ bctrl +/* 8031EBE0 0031BB40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031EBE4 0031BB44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031EBE8 0031BB48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031EBEC 0031BB4C 7C 08 03 A6 */ mtlr r0 +/* 8031EBF0 0031BB50 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031EBF4 0031BB54 4E 80 00 20 */ blr + +.global SetGlobalOrientation__11CElementGenFRC12CTransform4f +SetGlobalOrientation__11CElementGenFRC12CTransform4f: +/* 8031EBF8 0031BB58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031EBFC 0031BB5C 7C 08 02 A6 */ mflr r0 +/* 8031EC00 0031BB60 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031EC04 0031BB64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031EC08 0031BB68 93 C1 00 08 */ stw r30, 8(r1) +/* 8031EC0C 0031BB6C 7C 7E 1B 78 */ mr r30, r3 +/* 8031EC10 0031BB70 38 7E 02 2C */ addi r3, r30, 0x22c +/* 8031EC14 0031BB74 4B FF 3F 95 */ bl SetRotation__12CTransform4fFRC12CTransform4f +/* 8031EC18 0031BB78 83 FE 02 9C */ lwz r31, 0x29c(r30) +/* 8031EC1C 0031BB7C 48 00 00 20 */ b lbl_8031EC3C +lbl_8031EC20: +/* 8031EC20 0031BB80 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EC24 0031BB84 38 9E 02 2C */ addi r4, r30, 0x22c +/* 8031EC28 0031BB88 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EC2C 0031BB8C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8031EC30 0031BB90 7D 89 03 A6 */ mtctr r12 +/* 8031EC34 0031BB94 4E 80 04 21 */ bctrl +/* 8031EC38 0031BB98 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EC3C: +/* 8031EC3C 0031BB9C 80 1E 02 94 */ lwz r0, 0x294(r30) +/* 8031EC40 0031BBA0 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8031EC44 0031BBA4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EC48 0031BBA8 7C 03 02 14 */ add r0, r3, r0 +/* 8031EC4C 0031BBAC 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EC50 0031BBB0 40 82 FF D0 */ bne lbl_8031EC20 +/* 8031EC54 0031BBB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031EC58 0031BBB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031EC5C 0031BBBC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031EC60 0031BBC0 7C 08 03 A6 */ mtlr r0 +/* 8031EC64 0031BBC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031EC68 0031BBC8 4E 80 00 20 */ blr + +.global SetOrientation__11CElementGenFRC12CTransform4f +SetOrientation__11CElementGenFRC12CTransform4f: +/* 8031EC6C 0031BBCC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8031EC70 0031BBD0 7C 08 02 A6 */ mflr r0 +/* 8031EC74 0031BBD4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8031EC78 0031BBD8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8031EC7C 0031BBDC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8031EC80 0031BBE0 7C 9E 23 78 */ mr r30, r4 +/* 8031EC84 0031BBE4 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8031EC88 0031BBE8 7C 7D 1B 78 */ mr r29, r3 +/* 8031EC8C 0031BBEC 38 7D 01 D8 */ addi r3, r29, 0x1d8 +/* 8031EC90 0031BBF0 4B FF 3E B1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031EC94 0031BBF4 38 61 00 08 */ addi r3, r1, 8 +/* 8031EC98 0031BBF8 38 9D 01 D8 */ addi r4, r29, 0x1d8 +/* 8031EC9C 0031BBFC 4B FF 40 01 */ bl GetQuickInverse__12CTransform4fCFv +/* 8031ECA0 0031BC00 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031ECA4 0031BC04 38 81 00 08 */ addi r4, r1, 8 +/* 8031ECA8 0031BC08 4B FF 44 4D */ bl BuildMatrix3f__12CTransform4fCFv +/* 8031ECAC 0031BC0C 38 7D 02 08 */ addi r3, r29, 0x208 +/* 8031ECB0 0031BC10 38 81 00 38 */ addi r4, r1, 0x38 +/* 8031ECB4 0031BC14 4B FF 13 45 */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 8031ECB8 0031BC18 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 8031ECBC 0031BC1C 48 00 00 20 */ b lbl_8031ECDC +lbl_8031ECC0: +/* 8031ECC0 0031BC20 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031ECC4 0031BC24 7F C4 F3 78 */ mr r4, r30 +/* 8031ECC8 0031BC28 81 83 00 00 */ lwz r12, 0(r3) +/* 8031ECCC 0031BC2C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031ECD0 0031BC30 7D 89 03 A6 */ mtctr r12 +/* 8031ECD4 0031BC34 4E 80 04 21 */ bctrl +/* 8031ECD8 0031BC38 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031ECDC: +/* 8031ECDC 0031BC3C 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031ECE0 0031BC40 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031ECE4 0031BC44 54 00 10 3A */ slwi r0, r0, 2 +/* 8031ECE8 0031BC48 7C 03 02 14 */ add r0, r3, r0 +/* 8031ECEC 0031BC4C 7C 1F 00 40 */ cmplw r31, r0 +/* 8031ECF0 0031BC50 40 82 FF D0 */ bne lbl_8031ECC0 +/* 8031ECF4 0031BC54 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8031ECF8 0031BC58 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8031ECFC 0031BC5C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8031ED00 0031BC60 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8031ED04 0031BC64 7C 08 03 A6 */ mtlr r0 +/* 8031ED08 0031BC68 38 21 00 70 */ addi r1, r1, 0x70 +/* 8031ED0C 0031BC6C 4E 80 00 20 */ blr + +.global SetLocalScale__11CElementGenFRC9CVector3f +SetLocalScale__11CElementGenFRC9CVector3f: +/* 8031ED10 0031BC70 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8031ED14 0031BC74 7C 08 02 A6 */ mflr r0 +/* 8031ED18 0031BC78 90 01 00 84 */ stw r0, 0x84(r1) +/* 8031ED1C 0031BC7C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8031ED20 0031BC80 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8031ED24 0031BC84 7C 9E 23 78 */ mr r30, r4 +/* 8031ED28 0031BC88 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8031ED2C 0031BC8C 7C 7D 1B 78 */ mr r29, r3 +/* 8031ED30 0031BC90 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031ED34 0031BC94 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031ED38 0031BC98 D0 1D 01 6C */ stfs f0, 0x16c(r29) +/* 8031ED3C 0031BC9C C0 04 00 04 */ lfs f0, 4(r4) +/* 8031ED40 0031BCA0 D0 1D 01 70 */ stfs f0, 0x170(r29) +/* 8031ED44 0031BCA4 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031ED48 0031BCA8 D0 1D 01 74 */ stfs f0, 0x174(r29) +/* 8031ED4C 0031BCAC C0 3D 01 6C */ lfs f1, 0x16c(r29) +/* 8031ED50 0031BCB0 C0 5D 01 70 */ lfs f2, 0x170(r29) +/* 8031ED54 0031BCB4 C0 7D 01 74 */ lfs f3, 0x174(r29) +/* 8031ED58 0031BCB8 4B FF 44 B1 */ bl Scale__12CTransform4fFfff +/* 8031ED5C 0031BCBC 38 7D 01 78 */ addi r3, r29, 0x178 +/* 8031ED60 0031BCC0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8031ED64 0031BCC4 4B FF 3D DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031ED68 0031BCC8 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) +/* 8031ED6C 0031BCCC 38 61 00 08 */ addi r3, r1, 8 +/* 8031ED70 0031BCD0 C0 3D 01 6C */ lfs f1, 0x16c(r29) +/* 8031ED74 0031BCD4 C0 5D 01 70 */ lfs f2, 0x170(r29) +/* 8031ED78 0031BCD8 C0 1D 01 74 */ lfs f0, 0x174(r29) +/* 8031ED7C 0031BCDC EC 23 08 24 */ fdivs f1, f3, f1 +/* 8031ED80 0031BCE0 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8031ED84 0031BCE4 EC 63 00 24 */ fdivs f3, f3, f0 +/* 8031ED88 0031BCE8 4B FF 44 81 */ bl Scale__12CTransform4fFfff +/* 8031ED8C 0031BCEC 38 7D 01 A8 */ addi r3, r29, 0x1a8 +/* 8031ED90 0031BCF0 38 81 00 08 */ addi r4, r1, 8 +/* 8031ED94 0031BCF4 4B FF 3D AD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031ED98 0031BCF8 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 8031ED9C 0031BCFC 48 00 00 20 */ b lbl_8031EDBC +lbl_8031EDA0: +/* 8031EDA0 0031BD00 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EDA4 0031BD04 7F C4 F3 78 */ mr r4, r30 +/* 8031EDA8 0031BD08 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EDAC 0031BD0C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031EDB0 0031BD10 7D 89 03 A6 */ mtctr r12 +/* 8031EDB4 0031BD14 4E 80 04 21 */ bctrl +/* 8031EDB8 0031BD18 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EDBC: +/* 8031EDBC 0031BD1C 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EDC0 0031BD20 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EDC4 0031BD24 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EDC8 0031BD28 7C 03 02 14 */ add r0, r3, r0 +/* 8031EDCC 0031BD2C 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EDD0 0031BD30 40 82 FF D0 */ bne lbl_8031EDA0 +/* 8031EDD4 0031BD34 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8031EDD8 0031BD38 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8031EDDC 0031BD3C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8031EDE0 0031BD40 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8031EDE4 0031BD44 7C 08 03 A6 */ mtlr r0 +/* 8031EDE8 0031BD48 38 21 00 80 */ addi r1, r1, 0x80 +/* 8031EDEC 0031BD4C 4E 80 00 20 */ blr + +.global SetGlobalScale__11CElementGenFRC9CVector3f +SetGlobalScale__11CElementGenFRC9CVector3f: +/* 8031EDF0 0031BD50 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8031EDF4 0031BD54 7C 08 02 A6 */ mflr r0 +/* 8031EDF8 0031BD58 90 01 00 84 */ stw r0, 0x84(r1) +/* 8031EDFC 0031BD5C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8031EE00 0031BD60 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8031EE04 0031BD64 7C 9E 23 78 */ mr r30, r4 +/* 8031EE08 0031BD68 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8031EE0C 0031BD6C 7C 7D 1B 78 */ mr r29, r3 +/* 8031EE10 0031BD70 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031EE14 0031BD74 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031EE18 0031BD78 D0 1D 01 00 */ stfs f0, 0x100(r29) +/* 8031EE1C 0031BD7C C0 04 00 04 */ lfs f0, 4(r4) +/* 8031EE20 0031BD80 D0 1D 01 04 */ stfs f0, 0x104(r29) +/* 8031EE24 0031BD84 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031EE28 0031BD88 D0 1D 01 08 */ stfs f0, 0x108(r29) +/* 8031EE2C 0031BD8C C0 3D 01 00 */ lfs f1, 0x100(r29) +/* 8031EE30 0031BD90 C0 5D 01 04 */ lfs f2, 0x104(r29) +/* 8031EE34 0031BD94 C0 7D 01 08 */ lfs f3, 0x108(r29) +/* 8031EE38 0031BD98 4B FF 43 D1 */ bl Scale__12CTransform4fFfff +/* 8031EE3C 0031BD9C 38 7D 01 0C */ addi r3, r29, 0x10c +/* 8031EE40 0031BDA0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8031EE44 0031BDA4 4B FF 3C FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031EE48 0031BDA8 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) +/* 8031EE4C 0031BDAC 38 61 00 08 */ addi r3, r1, 8 +/* 8031EE50 0031BDB0 C0 3D 01 00 */ lfs f1, 0x100(r29) +/* 8031EE54 0031BDB4 C0 5D 01 04 */ lfs f2, 0x104(r29) +/* 8031EE58 0031BDB8 C0 1D 01 08 */ lfs f0, 0x108(r29) +/* 8031EE5C 0031BDBC EC 23 08 24 */ fdivs f1, f3, f1 +/* 8031EE60 0031BDC0 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8031EE64 0031BDC4 EC 63 00 24 */ fdivs f3, f3, f0 +/* 8031EE68 0031BDC8 4B FF 43 A1 */ bl Scale__12CTransform4fFfff +/* 8031EE6C 0031BDCC 38 7D 01 3C */ addi r3, r29, 0x13c +/* 8031EE70 0031BDD0 38 81 00 08 */ addi r4, r1, 8 +/* 8031EE74 0031BDD4 4B FF 3C CD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031EE78 0031BDD8 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 8031EE7C 0031BDDC 48 00 00 20 */ b lbl_8031EE9C +lbl_8031EE80: +/* 8031EE80 0031BDE0 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EE84 0031BDE4 7F C4 F3 78 */ mr r4, r30 +/* 8031EE88 0031BDE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EE8C 0031BDEC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031EE90 0031BDF0 7D 89 03 A6 */ mtctr r12 +/* 8031EE94 0031BDF4 4E 80 04 21 */ bctrl +/* 8031EE98 0031BDF8 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EE9C: +/* 8031EE9C 0031BDFC 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EEA0 0031BE00 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EEA4 0031BE04 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EEA8 0031BE08 7C 03 02 14 */ add r0, r3, r0 +/* 8031EEAC 0031BE0C 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EEB0 0031BE10 40 82 FF D0 */ bne lbl_8031EE80 +/* 8031EEB4 0031BE14 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8031EEB8 0031BE18 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8031EEBC 0031BE1C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8031EEC0 0031BE20 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8031EEC4 0031BE24 7C 08 03 A6 */ mtlr r0 +/* 8031EEC8 0031BE28 38 21 00 80 */ addi r1, r1, 0x80 +/* 8031EECC 0031BE2C 4E 80 00 20 */ blr + +.global GetModulationColor__11CElementGenCFv +GetModulationColor__11CElementGenCFv: +/* 8031EED0 0031BE30 38 63 03 38 */ addi r3, r3, 0x338 +/* 8031EED4 0031BE34 4E 80 00 20 */ blr + +.global SetModulationColor__11CElementGenFRC6CColor +SetModulationColor__11CElementGenFRC6CColor: +/* 8031EED8 0031BE38 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031EEDC 0031BE3C 7C 08 02 A6 */ mflr r0 +/* 8031EEE0 0031BE40 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031EEE4 0031BE44 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031EEE8 0031BE48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031EEEC 0031BE4C 7C 9E 23 78 */ mr r30, r4 +/* 8031EEF0 0031BE50 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031EEF4 0031BE54 7C 7D 1B 78 */ mr r29, r3 +/* 8031EEF8 0031BE58 80 04 00 00 */ lwz r0, 0(r4) +/* 8031EEFC 0031BE5C 90 03 03 38 */ stw r0, 0x338(r3) +/* 8031EF00 0031BE60 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031EF04 0031BE64 48 00 00 20 */ b lbl_8031EF24 +lbl_8031EF08: +/* 8031EF08 0031BE68 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EF0C 0031BE6C 7F C4 F3 78 */ mr r4, r30 +/* 8031EF10 0031BE70 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EF14 0031BE74 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8031EF18 0031BE78 7D 89 03 A6 */ mtctr r12 +/* 8031EF1C 0031BE7C 4E 80 04 21 */ bctrl +/* 8031EF20 0031BE80 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EF24: +/* 8031EF24 0031BE84 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EF28 0031BE88 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EF2C 0031BE8C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EF30 0031BE90 7C 03 02 14 */ add r0, r3, r0 +/* 8031EF34 0031BE94 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EF38 0031BE98 40 82 FF D0 */ bne lbl_8031EF08 +/* 8031EF3C 0031BE9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031EF40 0031BEA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031EF44 0031BEA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031EF48 0031BEA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031EF4C 0031BEAC 7C 08 03 A6 */ mtlr r0 +/* 8031EF50 0031BEB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031EF54 0031BEB4 4E 80 00 20 */ blr + +.global SetGlobalTranslation__11CElementGenFRC9CVector3f +SetGlobalTranslation__11CElementGenFRC9CVector3f: +/* 8031EF58 0031BEB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031EF5C 0031BEBC 7C 08 02 A6 */ mflr r0 +/* 8031EF60 0031BEC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031EF64 0031BEC4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031EF68 0031BEC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031EF6C 0031BECC 7C 9E 23 78 */ mr r30, r4 +/* 8031EF70 0031BED0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031EF74 0031BED4 7C 7D 1B 78 */ mr r29, r3 +/* 8031EF78 0031BED8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031EF7C 0031BEDC D0 03 00 E8 */ stfs f0, 0xe8(r3) +/* 8031EF80 0031BEE0 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031EF84 0031BEE4 D0 03 00 EC */ stfs f0, 0xec(r3) +/* 8031EF88 0031BEE8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031EF8C 0031BEEC D0 03 00 F0 */ stfs f0, 0xf0(r3) +/* 8031EF90 0031BEF0 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031EF94 0031BEF4 48 00 00 20 */ b lbl_8031EFB4 +lbl_8031EF98: +/* 8031EF98 0031BEF8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EF9C 0031BEFC 7F C4 F3 78 */ mr r4, r30 +/* 8031EFA0 0031BF00 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EFA4 0031BF04 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031EFA8 0031BF08 7D 89 03 A6 */ mtctr r12 +/* 8031EFAC 0031BF0C 4E 80 04 21 */ bctrl +/* 8031EFB0 0031BF10 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EFB4: +/* 8031EFB4 0031BF14 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EFB8 0031BF18 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EFBC 0031BF1C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EFC0 0031BF20 7C 03 02 14 */ add r0, r3, r0 +/* 8031EFC4 0031BF24 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EFC8 0031BF28 40 82 FF D0 */ bne lbl_8031EF98 +/* 8031EFCC 0031BF2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031EFD0 0031BF30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031EFD4 0031BF34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031EFD8 0031BF38 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031EFDC 0031BF3C 7C 08 03 A6 */ mtlr r0 +/* 8031EFE0 0031BF40 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031EFE4 0031BF44 4E 80 00 20 */ blr + +.global SetTranslation__11CElementGenFRC9CVector3f +SetTranslation__11CElementGenFRC9CVector3f: +/* 8031EFE8 0031BF48 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031EFEC 0031BF4C 7C 08 02 A6 */ mflr r0 +/* 8031EFF0 0031BF50 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031EFF4 0031BF54 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031EFF8 0031BF58 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031EFFC 0031BF5C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031F000 0031BF60 7C 9D 23 78 */ mr r29, r4 +/* 8031F004 0031BF64 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031F008 0031BF68 7C 7C 1B 78 */ mr r28, r3 +/* 8031F00C 0031BF6C C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F010 0031BF70 D0 03 00 DC */ stfs f0, 0xdc(r3) +/* 8031F014 0031BF74 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031F018 0031BF78 D0 03 00 E0 */ stfs f0, 0xe0(r3) +/* 8031F01C 0031BF7C C0 04 00 08 */ lfs f0, 8(r4) +/* 8031F020 0031BF80 D0 03 00 E4 */ stfs f0, 0xe4(r3) +/* 8031F024 0031BF84 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031F028 0031BF88 48 00 00 FC */ b lbl_8031F124 +lbl_8031F02C: +/* 8031F02C 0031BF8C 83 DF 00 00 */ lwz r30, 0(r31) +/* 8031F030 0031BF90 7F C3 F3 78 */ mr r3, r30 +/* 8031F034 0031BF94 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F038 0031BF98 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8031F03C 0031BF9C 7D 89 03 A6 */ mtctr r12 +/* 8031F040 0031BFA0 4E 80 04 21 */ bctrl +/* 8031F044 0031BFA4 3C 03 BA B4 */ addis r0, r3, 0xbab4 +/* 8031F048 0031BFA8 28 00 53 43 */ cmplwi r0, 0x5343 +/* 8031F04C 0031BFAC 40 82 00 50 */ bne lbl_8031F09C +/* 8031F050 0031BFB0 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8031F054 0031BFB4 7F C3 F3 78 */ mr r3, r30 +/* 8031F058 0031BFB8 C0 1C 02 C4 */ lfs f0, 0x2c4(r28) +/* 8031F05C 0031BFBC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8031F060 0031BFC0 C0 7D 00 08 */ lfs f3, 8(r29) +/* 8031F064 0031BFC4 C0 5C 02 C8 */ lfs f2, 0x2c8(r28) +/* 8031F068 0031BFC8 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031F06C 0031BFCC C0 1C 02 C0 */ lfs f0, 0x2c0(r28) +/* 8031F070 0031BFD0 C0 3D 00 00 */ lfs f1, 0(r29) +/* 8031F074 0031BFD4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031F078 0031BFD8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8031F07C 0031BFDC EC 01 00 2A */ fadds f0, f1, f0 +/* 8031F080 0031BFE0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8031F084 0031BFE4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8031F088 0031BFE8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F08C 0031BFEC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031F090 0031BFF0 7D 89 03 A6 */ mtctr r12 +/* 8031F094 0031BFF4 4E 80 04 21 */ bctrl +/* 8031F098 0031BFF8 48 00 00 88 */ b lbl_8031F120 +lbl_8031F09C: +/* 8031F09C 0031BFFC 7F C3 F3 78 */ mr r3, r30 +/* 8031F0A0 0031C000 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F0A4 0031C004 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8031F0A8 0031C008 7D 89 03 A6 */ mtctr r12 +/* 8031F0AC 0031C00C 4E 80 04 21 */ bctrl +/* 8031F0B0 0031C010 3C 03 AC A9 */ addis r0, r3, 0xaca9 +/* 8031F0B4 0031C014 28 00 48 43 */ cmplwi r0, 0x4843 +/* 8031F0B8 0031C018 40 82 00 50 */ bne lbl_8031F108 +/* 8031F0BC 0031C01C C0 3D 00 04 */ lfs f1, 4(r29) +/* 8031F0C0 0031C020 7F C3 F3 78 */ mr r3, r30 +/* 8031F0C4 0031C024 C0 1C 02 B4 */ lfs f0, 0x2b4(r28) +/* 8031F0C8 0031C028 38 81 00 08 */ addi r4, r1, 8 +/* 8031F0CC 0031C02C C0 7D 00 08 */ lfs f3, 8(r29) +/* 8031F0D0 0031C030 C0 5C 02 B8 */ lfs f2, 0x2b8(r28) +/* 8031F0D4 0031C034 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031F0D8 0031C038 C0 1C 02 B0 */ lfs f0, 0x2b0(r28) +/* 8031F0DC 0031C03C C0 3D 00 00 */ lfs f1, 0(r29) +/* 8031F0E0 0031C040 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031F0E4 0031C044 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8031F0E8 0031C048 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031F0EC 0031C04C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8031F0F0 0031C050 D0 01 00 08 */ stfs f0, 8(r1) +/* 8031F0F4 0031C054 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F0F8 0031C058 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031F0FC 0031C05C 7D 89 03 A6 */ mtctr r12 +/* 8031F100 0031C060 4E 80 04 21 */ bctrl +/* 8031F104 0031C064 48 00 00 1C */ b lbl_8031F120 +lbl_8031F108: +/* 8031F108 0031C068 7F C3 F3 78 */ mr r3, r30 +/* 8031F10C 0031C06C 7F A4 EB 78 */ mr r4, r29 +/* 8031F110 0031C070 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F114 0031C074 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031F118 0031C078 7D 89 03 A6 */ mtctr r12 +/* 8031F11C 0031C07C 4E 80 04 21 */ bctrl +lbl_8031F120: +/* 8031F120 0031C080 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031F124: +/* 8031F124 0031C084 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 8031F128 0031C088 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 8031F12C 0031C08C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031F130 0031C090 7C 03 02 14 */ add r0, r3, r0 +/* 8031F134 0031C094 7C 1F 00 40 */ cmplw r31, r0 +/* 8031F138 0031C098 40 82 FE F4 */ bne lbl_8031F02C +/* 8031F13C 0031C09C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031F140 0031C0A0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031F144 0031C0A4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031F148 0031C0A8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8031F14C 0031C0AC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8031F150 0031C0B0 7C 08 03 A6 */ mtlr r0 +/* 8031F154 0031C0B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031F158 0031C0B8 4E 80 00 20 */ blr + +.global ShutDown__11CElementGenFv +ShutDown__11CElementGenFv: +/* 8031F15C 0031C0BC 38 00 00 00 */ li r0, 0 +/* 8031F160 0031C0C0 98 0D A8 BA */ stb r0, lbl_805A947A@sda21(r13) +/* 8031F164 0031C0C4 4E 80 00 20 */ blr + +.global Initialize__11CElementGenFv +Initialize__11CElementGenFv: +/* 8031F168 0031C0C8 88 0D A8 BA */ lbz r0, lbl_805A947A@sda21(r13) +/* 8031F16C 0031C0CC 28 00 00 00 */ cmplwi r0, 0 +/* 8031F170 0031C0D0 4C 82 00 20 */ bnelr +/* 8031F174 0031C0D4 38 60 00 00 */ li r3, 0 +/* 8031F178 0031C0D8 38 00 00 01 */ li r0, 1 +/* 8031F17C 0031C0DC 90 6D A8 B0 */ stw r3, lbl_805A9470@sda21(r13) +/* 8031F180 0031C0E0 90 6D A8 B4 */ stw r3, lbl_805A9474@sda21(r13) +/* 8031F184 0031C0E4 98 0D A8 BA */ stb r0, lbl_805A947A@sda21(r13) +/* 8031F188 0031C0E8 4E 80 00 20 */ blr + +.global __dt__11CElementGenFv +__dt__11CElementGenFv: +/* 8031F18C 0031C0EC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8031F190 0031C0F0 7C 08 02 A6 */ mflr r0 +/* 8031F194 0031C0F4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8031F198 0031C0F8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8031F19C 0031C0FC 7C 9F 23 78 */ mr r31, r4 +/* 8031F1A0 0031C100 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8031F1A4 0031C104 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8031F1A8 0031C108 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8031F1AC 0031C10C 41 82 02 14 */ beq lbl_8031F3C0 +/* 8031F1B0 0031C110 3C 60 80 3F */ lis r3, lbl_803EDA80@ha +/* 8031F1B4 0031C114 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l +/* 8031F1B8 0031C118 90 1E 00 00 */ stw r0, 0(r30) +/* 8031F1BC 0031C11C 80 6D A8 B4 */ lwz r3, lbl_805A9474@sda21(r13) +/* 8031F1C0 0031C120 80 0D A8 B0 */ lwz r0, lbl_805A9470@sda21(r13) +/* 8031F1C4 0031C124 38 63 FF FF */ addi r3, r3, -1 +/* 8031F1C8 0031C128 90 6D A8 B4 */ stw r3, lbl_805A9474@sda21(r13) +/* 8031F1CC 0031C12C 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 8031F1D0 0031C130 7C 03 00 50 */ subf r0, r3, r0 +/* 8031F1D4 0031C134 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) +/* 8031F1D8 0031C138 83 BE 02 9C */ lwz r29, 0x29c(r30) +/* 8031F1DC 0031C13C 48 00 00 28 */ b lbl_8031F204 +lbl_8031F1E0: +/* 8031F1E0 0031C140 80 7D 00 00 */ lwz r3, 0(r29) +/* 8031F1E4 0031C144 28 03 00 00 */ cmplwi r3, 0 +/* 8031F1E8 0031C148 41 82 00 18 */ beq lbl_8031F200 +/* 8031F1EC 0031C14C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031F1F0 0031C150 38 80 00 01 */ li r4, 1 +/* 8031F1F4 0031C154 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031F1F8 0031C158 7D 89 03 A6 */ mtctr r12 +/* 8031F1FC 0031C15C 4E 80 04 21 */ bctrl +lbl_8031F200: +/* 8031F200 0031C160 3B BD 00 04 */ addi r29, r29, 4 +lbl_8031F204: +/* 8031F204 0031C164 80 1E 02 94 */ lwz r0, 0x294(r30) +/* 8031F208 0031C168 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8031F20C 0031C16C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031F210 0031C170 7C A3 02 14 */ add r5, r3, r0 +/* 8031F214 0031C174 7C 1D 28 40 */ cmplw r29, r5 +/* 8031F218 0031C178 40 82 FF C8 */ bne lbl_8031F1E0 +/* 8031F21C 0031C17C 34 1E 02 90 */ addic. r0, r30, 0x290 +/* 8031F220 0031C180 41 82 00 34 */ beq lbl_8031F254 +/* 8031F224 0031C184 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8031F228 0031C188 7C 64 1B 78 */ mr r4, r3 +/* 8031F22C 0031C18C 90 A1 00 50 */ stw r5, 0x50(r1) +/* 8031F230 0031C190 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8031F234 0031C194 90 61 00 48 */ stw r3, 0x48(r1) +/* 8031F238 0031C198 48 00 00 08 */ b lbl_8031F240 +lbl_8031F23C: +/* 8031F23C 0031C19C 38 84 00 04 */ addi r4, r4, 4 +lbl_8031F240: +/* 8031F240 0031C1A0 7C 04 28 40 */ cmplw r4, r5 +/* 8031F244 0031C1A4 40 82 FF F8 */ bne lbl_8031F23C +/* 8031F248 0031C1A8 28 03 00 00 */ cmplwi r3, 0 +/* 8031F24C 0031C1AC 41 82 00 08 */ beq lbl_8031F254 +/* 8031F250 0031C1B0 4B FF 66 E1 */ bl Free__7CMemoryFPCv +lbl_8031F254: +/* 8031F254 0031C1B4 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 8031F258 0031C1B8 41 82 00 44 */ beq lbl_8031F29C +/* 8031F25C 0031C1BC 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 8031F260 0031C1C0 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8031F264 0031C1C4 54 00 28 34 */ slwi r0, r0, 5 +/* 8031F268 0031C1C8 7C 03 02 14 */ add r0, r3, r0 +/* 8031F26C 0031C1CC 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8031F270 0031C1D0 7C 64 1B 78 */ mr r4, r3 +/* 8031F274 0031C1D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8031F278 0031C1D8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8031F27C 0031C1DC 90 61 00 38 */ stw r3, 0x38(r1) +/* 8031F280 0031C1E0 48 00 00 08 */ b lbl_8031F288 +lbl_8031F284: +/* 8031F284 0031C1E4 38 84 00 20 */ addi r4, r4, 0x20 +lbl_8031F288: +/* 8031F288 0031C1E8 7C 04 00 40 */ cmplw r4, r0 +/* 8031F28C 0031C1EC 40 82 FF F8 */ bne lbl_8031F284 +/* 8031F290 0031C1F0 28 03 00 00 */ cmplwi r3, 0 +/* 8031F294 0031C1F4 41 82 00 08 */ beq lbl_8031F29C +/* 8031F298 0031C1F8 4B FF 66 99 */ bl Free__7CMemoryFPCv +lbl_8031F29C: +/* 8031F29C 0031C1FC 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 8031F2A0 0031C200 41 82 00 44 */ beq lbl_8031F2E4 +/* 8031F2A4 0031C204 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 8031F2A8 0031C208 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 8031F2AC 0031C20C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031F2B0 0031C210 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8031F2B4 0031C214 7C 64 1B 78 */ mr r4, r3 +/* 8031F2B8 0031C218 7C 03 02 14 */ add r0, r3, r0 +/* 8031F2BC 0031C21C 90 61 00 28 */ stw r3, 0x28(r1) +/* 8031F2C0 0031C220 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031F2C4 0031C224 90 01 00 30 */ stw r0, 0x30(r1) +/* 8031F2C8 0031C228 48 00 00 08 */ b lbl_8031F2D0 +lbl_8031F2CC: +/* 8031F2CC 0031C22C 38 84 00 24 */ addi r4, r4, 0x24 +lbl_8031F2D0: +/* 8031F2D0 0031C230 7C 04 00 40 */ cmplw r4, r0 +/* 8031F2D4 0031C234 40 82 FF F8 */ bne lbl_8031F2CC +/* 8031F2D8 0031C238 28 03 00 00 */ cmplwi r3, 0 +/* 8031F2DC 0031C23C 41 82 00 08 */ beq lbl_8031F2E4 +/* 8031F2E0 0031C240 4B FF 66 51 */ bl Free__7CMemoryFPCv +lbl_8031F2E4: +/* 8031F2E4 0031C244 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 8031F2E8 0031C248 41 82 00 44 */ beq lbl_8031F32C +/* 8031F2EC 0031C24C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 8031F2F0 0031C250 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 8031F2F4 0031C254 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8031F2F8 0031C258 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8031F2FC 0031C25C 7C 64 1B 78 */ mr r4, r3 +/* 8031F300 0031C260 7C 03 02 14 */ add r0, r3, r0 +/* 8031F304 0031C264 90 61 00 18 */ stw r3, 0x18(r1) +/* 8031F308 0031C268 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031F30C 0031C26C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8031F310 0031C270 48 00 00 08 */ b lbl_8031F318 +lbl_8031F314: +/* 8031F314 0031C274 38 84 00 0C */ addi r4, r4, 0xc +lbl_8031F318: +/* 8031F318 0031C278 7C 04 00 40 */ cmplw r4, r0 +/* 8031F31C 0031C27C 40 82 FF F8 */ bne lbl_8031F314 +/* 8031F320 0031C280 28 03 00 00 */ cmplwi r3, 0 +/* 8031F324 0031C284 41 82 00 08 */ beq lbl_8031F32C +/* 8031F328 0031C288 4B FF 66 09 */ bl Free__7CMemoryFPCv +lbl_8031F32C: +/* 8031F32C 0031C28C 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8031F330 0031C290 41 82 00 44 */ beq lbl_8031F374 +/* 8031F334 0031C294 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 8031F338 0031C298 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031F33C 0031C29C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031F340 0031C2A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031F344 0031C2A4 7C 64 1B 78 */ mr r4, r3 +/* 8031F348 0031C2A8 7C 03 02 14 */ add r0, r3, r0 +/* 8031F34C 0031C2AC 90 61 00 08 */ stw r3, 8(r1) +/* 8031F350 0031C2B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031F354 0031C2B4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031F358 0031C2B8 48 00 00 08 */ b lbl_8031F360 +lbl_8031F35C: +/* 8031F35C 0031C2BC 38 84 00 38 */ addi r4, r4, 0x38 +lbl_8031F360: +/* 8031F360 0031C2C0 7C 04 00 40 */ cmplw r4, r0 +/* 8031F364 0031C2C4 40 82 FF F8 */ bne lbl_8031F35C +/* 8031F368 0031C2C8 28 03 00 00 */ cmplwi r3, 0 +/* 8031F36C 0031C2CC 41 82 00 08 */ beq lbl_8031F374 +/* 8031F370 0031C2D0 4B FF 65 C1 */ bl Free__7CMemoryFPCv +lbl_8031F374: +/* 8031F374 0031C2D4 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8031F378 0031C2D8 41 82 00 18 */ beq lbl_8031F390 +/* 8031F37C 0031C2DC 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8031F380 0031C2E0 41 82 00 10 */ beq lbl_8031F390 +/* 8031F384 0031C2E4 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8031F388 0031C2E8 38 80 00 00 */ li r4, 0 +/* 8031F38C 0031C2EC 48 02 1A B5 */ bl __dt__6CTokenFv +lbl_8031F390: +/* 8031F390 0031C2F0 28 1E 00 00 */ cmplwi r30, 0 +/* 8031F394 0031C2F4 41 82 00 1C */ beq lbl_8031F3B0 +/* 8031F398 0031C2F8 3C 80 80 3F */ lis r4, lbl_803EDD08@ha +/* 8031F39C 0031C2FC 38 7E 00 04 */ addi r3, r30, 4 +/* 8031F3A0 0031C300 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l +/* 8031F3A4 0031C304 38 80 FF FF */ li r4, -1 +/* 8031F3A8 0031C308 90 1E 00 00 */ stw r0, 0(r30) +/* 8031F3AC 0031C30C 4B D3 B9 25 */ bl __dt__12CParticleGenFv +lbl_8031F3B0: +/* 8031F3B0 0031C310 7F E0 07 35 */ extsh. r0, r31 +/* 8031F3B4 0031C314 40 81 00 0C */ ble lbl_8031F3C0 +/* 8031F3B8 0031C318 7F C3 F3 78 */ mr r3, r30 +/* 8031F3BC 0031C31C 4B FF 65 75 */ bl Free__7CMemoryFPCv +lbl_8031F3C0: +/* 8031F3C0 0031C320 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8031F3C4 0031C324 7F C3 F3 78 */ mr r3, r30 +/* 8031F3C8 0031C328 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8031F3CC 0031C32C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8031F3D0 0031C330 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8031F3D4 0031C334 7C 08 03 A6 */ mtlr r0 +/* 8031F3D8 0031C338 38 21 00 70 */ addi r1, r1, 0x70 +/* 8031F3DC 0031C33C 4E 80 00 20 */ blr + +.global "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +"__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags": +/* 8031F3E0 0031C340 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8031F3E4 0031C344 7C 08 02 A6 */ mflr r0 +/* 8031F3E8 0031C348 3C E0 80 3F */ lis r7, lbl_803EDD08@ha +/* 8031F3EC 0031C34C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8031F3F0 0031C350 38 07 DD 08 */ addi r0, r7, lbl_803EDD08@l +/* 8031F3F4 0031C354 38 E0 00 00 */ li r7, 0 +/* 8031F3F8 0031C358 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8031F3FC 0031C35C 7C 7F 1B 78 */ mr r31, r3 +/* 8031F400 0031C360 39 1F 00 10 */ addi r8, r31, 0x10 +/* 8031F404 0031C364 3C 60 80 3F */ lis r3, lbl_803EDA80@ha +/* 8031F408 0031C368 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8031F40C 0031C36C 3B DF 00 1C */ addi r30, r31, 0x1c +/* 8031F410 0031C370 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8031F414 0031C374 7C DD 33 78 */ mr r29, r6 +/* 8031F418 0031C378 93 81 00 40 */ stw r28, 0x40(r1) +/* 8031F41C 0031C37C 7C BC 2B 78 */ mr r28, r5 +/* 8031F420 0031C380 90 1F 00 00 */ stw r0, 0(r31) +/* 8031F424 0031C384 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l +/* 8031F428 0031C388 7F C3 F3 78 */ mr r3, r30 +/* 8031F42C 0031C38C 91 1F 00 08 */ stw r8, 8(r31) +/* 8031F430 0031C390 91 1F 00 0C */ stw r8, 0xc(r31) +/* 8031F434 0031C394 91 1F 00 10 */ stw r8, 0x10(r31) +/* 8031F438 0031C398 91 1F 00 14 */ stw r8, 0x14(r31) +/* 8031F43C 0031C39C 90 FF 00 18 */ stw r7, 0x18(r31) +/* 8031F440 0031C3A0 90 1F 00 00 */ stw r0, 0(r31) +/* 8031F444 0031C3A4 48 02 1A 65 */ bl __ct__6CTokenFRC6CToken +/* 8031F448 0031C3A8 7F C3 F3 78 */ mr r3, r30 +/* 8031F44C 0031C3AC 48 02 19 C1 */ bl GetObj__6CTokenFv +/* 8031F450 0031C3B0 80 03 00 04 */ lwz r0, 4(r3) +/* 8031F454 0031C3B4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8031F458 0031C3B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8031F45C 0031C3BC 38 E0 00 00 */ li r7, 0 +/* 8031F460 0031C3C0 90 1E 00 08 */ stw r0, 8(r30) +/* 8031F464 0031C3C4 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8031F468 0031C3C8 C8 42 CA 20 */ lfd f2, lbl_805AE740@sda21(r2) +/* 8031F46C 0031C3CC 38 C0 FF FF */ li r6, -1 +/* 8031F470 0031C3D0 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8031F474 0031C3D4 38 00 00 01 */ li r0, 1 +/* 8031F478 0031C3D8 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031F47C 0031C3DC 3B C5 66 A0 */ addi r30, r5, skZero3f@l +/* 8031F480 0031C3E0 90 7F 00 28 */ stw r3, 0x28(r31) +/* 8031F484 0031C3E4 38 7F 01 0C */ addi r3, r31, 0x10c +/* 8031F488 0031C3E8 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 8031F48C 0031C3EC 93 9F 00 2C */ stw r28, 0x2c(r31) +/* 8031F490 0031C3F0 90 FF 00 34 */ stw r7, 0x34(r31) +/* 8031F494 0031C3F4 90 FF 00 38 */ stw r7, 0x38(r31) +/* 8031F498 0031C3F8 90 FF 00 3C */ stw r7, 0x3c(r31) +/* 8031F49C 0031C3FC 90 FF 00 44 */ stw r7, 0x44(r31) +/* 8031F4A0 0031C400 90 FF 00 48 */ stw r7, 0x48(r31) +/* 8031F4A4 0031C404 90 FF 00 4C */ stw r7, 0x4c(r31) +/* 8031F4A8 0031C408 90 FF 00 54 */ stw r7, 0x54(r31) +/* 8031F4AC 0031C40C 90 FF 00 58 */ stw r7, 0x58(r31) +/* 8031F4B0 0031C410 90 FF 00 5C */ stw r7, 0x5c(r31) +/* 8031F4B4 0031C414 90 FF 00 64 */ stw r7, 0x64(r31) +/* 8031F4B8 0031C418 90 FF 00 68 */ stw r7, 0x68(r31) +/* 8031F4BC 0031C41C 90 FF 00 6C */ stw r7, 0x6c(r31) +/* 8031F4C0 0031C420 90 FF 00 70 */ stw r7, 0x70(r31) +/* 8031F4C4 0031C424 90 FF 00 74 */ stw r7, 0x74(r31) +/* 8031F4C8 0031C428 D8 5F 00 78 */ stfd f2, 0x78(r31) +/* 8031F4CC 0031C42C 90 DF 00 84 */ stw r6, 0x84(r31) +/* 8031F4D0 0031C430 98 1F 00 88 */ stb r0, 0x88(r31) +/* 8031F4D4 0031C434 D0 1F 00 8C */ stfs f0, 0x8c(r31) +/* 8031F4D8 0031C438 90 FF 00 90 */ stw r7, 0x90(r31) +/* 8031F4DC 0031C43C A0 0D 9C F8 */ lhz r0, lbl_805A88B8@sda21(r13) +/* 8031F4E0 0031C440 B0 1F 00 94 */ sth r0, 0x94(r31) +/* 8031F4E4 0031C444 D0 3F 00 98 */ stfs f1, 0x98(r31) +/* 8031F4E8 0031C448 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8031F4EC 0031C44C D0 1F 00 DC */ stfs f0, 0xdc(r31) +/* 8031F4F0 0031C450 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F4F4 0031C454 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 8031F4F8 0031C458 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F4FC 0031C45C D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 8031F500 0031C460 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8031F504 0031C464 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8031F508 0031C468 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F50C 0031C46C D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 8031F510 0031C470 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F514 0031C474 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8031F518 0031C478 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8031F51C 0031C47C D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 8031F520 0031C480 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F524 0031C484 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 8031F528 0031C488 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F52C 0031C48C D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 8031F530 0031C490 D0 3F 01 00 */ stfs f1, 0x100(r31) +/* 8031F534 0031C494 D0 3F 01 04 */ stfs f1, 0x104(r31) +/* 8031F538 0031C498 D0 3F 01 08 */ stfs f1, 0x108(r31) +/* 8031F53C 0031C49C 4B FF 36 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F540 0031C4A0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F544 0031C4A4 38 7F 01 3C */ addi r3, r31, 0x13c +/* 8031F548 0031C4A8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F54C 0031C4AC 4B FF 36 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F550 0031C4B0 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031F554 0031C4B4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8031F558 0031C4B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8031F55C 0031C4BC D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 8031F560 0031C4C0 38 7F 01 78 */ addi r3, r31, 0x178 +/* 8031F564 0031C4C4 D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 8031F568 0031C4C8 D0 1F 01 74 */ stfs f0, 0x174(r31) +/* 8031F56C 0031C4CC 4B FF 36 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F570 0031C4D0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F574 0031C4D4 38 7F 01 A8 */ addi r3, r31, 0x1a8 +/* 8031F578 0031C4D8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F57C 0031C4DC 4B FF 35 F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F580 0031C4E0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F584 0031C4E4 38 7F 01 D8 */ addi r3, r31, 0x1d8 +/* 8031F588 0031C4E8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F58C 0031C4EC 4B FF 35 E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F590 0031C4F0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 8031F594 0031C4F4 38 7F 02 08 */ addi r3, r31, 0x208 +/* 8031F598 0031C4F8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 8031F59C 0031C4FC 4B FF 0A 89 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8031F5A0 0031C500 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F5A4 0031C504 38 7F 02 2C */ addi r3, r31, 0x22c +/* 8031F5A8 0031C508 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F5AC 0031C50C 4B FF 35 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F5B0 0031C510 38 C0 00 00 */ li r6, 0 +/* 8031F5B4 0031C514 38 A0 00 01 */ li r5, 1 +/* 8031F5B8 0031C518 90 DF 02 5C */ stw r6, 0x25c(r31) +/* 8031F5BC 0031C51C 38 7F 02 7C */ addi r3, r31, 0x27c +/* 8031F5C0 0031C520 90 DF 02 60 */ stw r6, 0x260(r31) +/* 8031F5C4 0031C524 90 DF 02 64 */ stw r6, 0x264(r31) +/* 8031F5C8 0031C528 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F5CC 0031C52C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8031F5D0 0031C530 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F5D4 0031C534 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F5D8 0031C538 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8031F5DC 0031C53C 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F5E0 0031C540 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F5E4 0031C544 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 8031F5E8 0031C548 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F5EC 0031C54C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F5F0 0031C550 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8031F5F4 0031C554 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F5F8 0031C558 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F5FC 0031C55C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8031F600 0031C560 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F604 0031C564 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F608 0031C568 53 A0 1E F6 */ rlwimi r0, r29, 3, 0x1b, 0x1b +/* 8031F60C 0031C56C 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F610 0031C570 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F614 0031C574 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8031F618 0031C578 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F61C 0031C57C 98 DF 02 74 */ stb r6, 0x274(r31) +/* 8031F620 0031C580 A8 9F 00 94 */ lha r4, 0x94(r31) +/* 8031F624 0031C584 4B FF 2F C9 */ bl __ct__9CRandom16FUi +/* 8031F628 0031C588 38 00 00 00 */ li r0, 0 +/* 8031F62C 0031C58C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8031F630 0031C590 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031F634 0031C594 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8031F638 0031C598 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031F63C 0031C59C 90 1F 02 98 */ stw r0, 0x298(r31) +/* 8031F640 0031C5A0 90 1F 02 9C */ stw r0, 0x29c(r31) +/* 8031F644 0031C5A4 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 8031F648 0031C5A8 D0 1F 02 B0 */ stfs f0, 0x2b0(r31) +/* 8031F64C 0031C5AC C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F650 0031C5B0 D0 1F 02 B4 */ stfs f0, 0x2b4(r31) +/* 8031F654 0031C5B4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F658 0031C5B8 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) +/* 8031F65C 0031C5BC C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F660 0031C5C0 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) +/* 8031F664 0031C5C4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F668 0031C5C8 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) +/* 8031F66C 0031C5CC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F670 0031C5D0 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) +/* 8031F674 0031C5D4 D0 3F 02 CC */ stfs f1, 0x2cc(r31) +/* 8031F678 0031C5D8 D0 3F 02 D0 */ stfs f1, 0x2d0(r31) +/* 8031F67C 0031C5DC C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F680 0031C5E0 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) +/* 8031F684 0031C5E4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F688 0031C5E8 D0 1F 02 D8 */ stfs f0, 0x2d8(r31) +/* 8031F68C 0031C5EC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F690 0031C5F0 D0 1F 02 DC */ stfs f0, 0x2dc(r31) +/* 8031F694 0031C5F4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F698 0031C5F8 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) +/* 8031F69C 0031C5FC C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F6A0 0031C600 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) +/* 8031F6A4 0031C604 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F6A8 0031C608 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) +/* 8031F6AC 0031C60C D0 3F 02 EC */ stfs f1, 0x2ec(r31) +/* 8031F6B0 0031C610 C4 03 67 54 */ lfsu f0, lbl_805A6754@l(r3) +/* 8031F6B4 0031C614 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 8031F6B8 0031C618 C0 03 00 04 */ lfs f0, 4(r3) +/* 8031F6BC 0031C61C D0 1F 02 F4 */ stfs f0, 0x2f4(r31) +/* 8031F6C0 0031C620 C0 03 00 08 */ lfs f0, 8(r3) +/* 8031F6C4 0031C624 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) +/* 8031F6C8 0031C628 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8031F6CC 0031C62C D0 1F 02 FC */ stfs f0, 0x2fc(r31) +/* 8031F6D0 0031C630 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8031F6D4 0031C634 D0 1F 03 00 */ stfs f0, 0x300(r31) +/* 8031F6D8 0031C638 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8031F6DC 0031C63C D0 1F 03 04 */ stfs f0, 0x304(r31) +/* 8031F6E0 0031C640 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031F6E4 0031C644 48 02 A8 C9 */ bl White__6CColorFv +/* 8031F6E8 0031C648 80 03 00 00 */ lwz r0, 0(r3) +/* 8031F6EC 0031C64C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8031F6F0 0031C650 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) +/* 8031F6F4 0031C654 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8031F6F8 0031C658 90 1F 03 0C */ stw r0, 0x30c(r31) +/* 8031F6FC 0031C65C 38 A0 00 01 */ li r5, 1 +/* 8031F700 0031C660 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031F704 0031C664 38 00 FF FF */ li r0, -1 +/* 8031F708 0031C668 D0 7F 03 10 */ stfs f3, 0x310(r31) +/* 8031F70C 0031C66C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031F710 0031C670 C0 02 CA 48 */ lfs f0, lbl_805AE768@sda21(r2) +/* 8031F714 0031C674 38 9F 02 7C */ addi r4, r31, 0x27c +/* 8031F718 0031C678 C0 46 00 00 */ lfs f2, 0(r6) +/* 8031F71C 0031C67C D0 5F 03 14 */ stfs f2, 0x314(r31) +/* 8031F720 0031C680 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8031F724 0031C684 D0 5F 03 18 */ stfs f2, 0x318(r31) +/* 8031F728 0031C688 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8031F72C 0031C68C D0 5F 03 1C */ stfs f2, 0x31c(r31) +/* 8031F730 0031C690 D0 7F 03 20 */ stfs f3, 0x320(r31) +/* 8031F734 0031C694 D0 3F 03 24 */ stfs f1, 0x324(r31) +/* 8031F738 0031C698 D0 3F 03 28 */ stfs f1, 0x328(r31) +/* 8031F73C 0031C69C 90 BF 03 2C */ stw r5, 0x32c(r31) +/* 8031F740 0031C6A0 D0 7F 03 30 */ stfs f3, 0x330(r31) +/* 8031F744 0031C6A4 D0 1F 03 34 */ stfs f0, 0x334(r31) +/* 8031F748 0031C6A8 90 1F 03 38 */ stw r0, 0x338(r31) +/* 8031F74C 0031C6AC 4B FF 2F 35 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031F750 0031C6B0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F754 0031C6B4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8031F758 0031C6B8 28 03 00 00 */ cmplwi r3, 0 +/* 8031F75C 0031C6BC 41 82 00 24 */ beq lbl_8031F780 +/* 8031F760 0031C6C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031F764 0031C6C4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8031F768 0031C6C8 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031F76C 0031C6CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031F770 0031C6D0 7D 89 03 A6 */ mtctr r12 +/* 8031F774 0031C6D4 4E 80 04 21 */ bctrl +/* 8031F778 0031C6D8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031F77C 0031C6DC B0 1F 00 94 */ sth r0, 0x94(r31) +lbl_8031F780: +/* 8031F780 0031C6E0 A8 9F 00 94 */ lha r4, 0x94(r31) +/* 8031F784 0031C6E4 38 7F 02 7C */ addi r3, r31, 0x27c +/* 8031F788 0031C6E8 4B FF 2E 5D */ bl SetSeed__9CRandom16FUi +/* 8031F78C 0031C6EC 80 6D A8 B4 */ lwz r3, lbl_805A9474@sda21(r13) +/* 8031F790 0031C6F0 38 03 00 01 */ addi r0, r3, 1 +/* 8031F794 0031C6F4 90 0D A8 B4 */ stw r0, lbl_805A9474@sda21(r13) +/* 8031F798 0031C6F8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F79C 0031C6FC 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7A0 0031C700 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7A4 0031C704 50 60 26 72 */ rlwimi r0, r3, 4, 0x19, 0x19 +/* 8031F7A8 0031C708 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7AC 0031C70C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F7B0 0031C710 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7B4 0031C714 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7B8 0031C718 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a +/* 8031F7BC 0031C71C 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7C0 0031C720 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F7C4 0031C724 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7C8 0031C728 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7CC 0031C72C 50 60 06 F6 */ rlwimi r0, r3, 0, 0x1b, 0x1b +/* 8031F7D0 0031C730 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7D4 0031C734 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F7D8 0031C738 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7DC 0031C73C 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7E0 0031C740 50 60 0F 7A */ rlwimi r0, r3, 1, 0x1d, 0x1d +/* 8031F7E4 0031C744 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7E8 0031C748 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7EC 0031C74C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8031F7F0 0031C750 41 82 00 0C */ beq lbl_8031F7FC +/* 8031F7F4 0031C754 38 60 00 00 */ li r3, 0 +/* 8031F7F8 0031C758 48 00 00 10 */ b lbl_8031F808 +lbl_8031F7FC: +/* 8031F7FC 0031C75C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F800 0031C760 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8031F804 0031C764 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +lbl_8031F808: +/* 8031F808 0031C768 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F80C 0031C76C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8031F810 0031C770 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F814 0031C774 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F818 0031C778 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8031F81C 0031C77C 28 03 00 00 */ cmplwi r3, 0 +/* 8031F820 0031C780 41 82 00 1C */ beq lbl_8031F83C +/* 8031F824 0031C784 81 83 00 00 */ lwz r12, 0(r3) +/* 8031F828 0031C788 38 BF 02 70 */ addi r5, r31, 0x270 +/* 8031F82C 0031C78C 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031F830 0031C790 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031F834 0031C794 7D 89 03 A6 */ mtctr r12 +/* 8031F838 0031C798 4E 80 04 21 */ bctrl +lbl_8031F83C: +/* 8031F83C 0031C79C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F840 0031C7A0 38 60 00 00 */ li r3, 0 +/* 8031F844 0031C7A4 80 04 00 68 */ lwz r0, 0x68(r4) +/* 8031F848 0031C7A8 28 00 00 00 */ cmplwi r0, 0 +/* 8031F84C 0031C7AC 41 82 00 1C */ beq lbl_8031F868 +/* 8031F850 0031C7B0 90 1F 02 80 */ stw r0, 0x280(r31) +/* 8031F854 0031C7B4 38 60 00 01 */ li r3, 1 +/* 8031F858 0031C7B8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F85C 0031C7BC 88 04 00 31 */ lbz r0, 0x31(r4) +/* 8031F860 0031C7C0 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8031F864 0031C7C4 98 1F 02 78 */ stb r0, 0x278(r31) +lbl_8031F868: +/* 8031F868 0031C7C8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F86C 0031C7CC 80 C4 00 6C */ lwz r6, 0x6c(r4) +/* 8031F870 0031C7D0 28 06 00 00 */ cmplwi r6, 0 +/* 8031F874 0031C7D4 41 82 00 28 */ beq lbl_8031F89C +/* 8031F878 0031C7D8 54 60 10 3A */ slwi r0, r3, 2 +/* 8031F87C 0031C7DC 7C 9F 1A 14 */ add r4, r31, r3 +/* 8031F880 0031C7E0 7C BF 02 14 */ add r5, r31, r0 +/* 8031F884 0031C7E4 38 63 00 01 */ addi r3, r3, 1 +/* 8031F888 0031C7E8 90 C5 02 80 */ stw r6, 0x280(r5) +/* 8031F88C 0031C7EC 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 8031F890 0031C7F0 88 05 00 31 */ lbz r0, 0x31(r5) +/* 8031F894 0031C7F4 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f +/* 8031F898 0031C7F8 98 04 02 78 */ stb r0, 0x278(r4) +lbl_8031F89C: +/* 8031F89C 0031C7FC 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F8A0 0031C800 80 C4 00 70 */ lwz r6, 0x70(r4) +/* 8031F8A4 0031C804 28 06 00 00 */ cmplwi r6, 0 +/* 8031F8A8 0031C808 41 82 00 28 */ beq lbl_8031F8D0 +/* 8031F8AC 0031C80C 54 60 10 3A */ slwi r0, r3, 2 +/* 8031F8B0 0031C810 7C 9F 1A 14 */ add r4, r31, r3 +/* 8031F8B4 0031C814 7C BF 02 14 */ add r5, r31, r0 +/* 8031F8B8 0031C818 38 63 00 01 */ addi r3, r3, 1 +/* 8031F8BC 0031C81C 90 C5 02 80 */ stw r6, 0x280(r5) +/* 8031F8C0 0031C820 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 8031F8C4 0031C824 88 05 00 31 */ lbz r0, 0x31(r5) +/* 8031F8C8 0031C828 54 00 FF FE */ rlwinm r0, r0, 0x1f, 0x1f, 0x1f +/* 8031F8CC 0031C82C 98 04 02 78 */ stb r0, 0x278(r4) +lbl_8031F8D0: +/* 8031F8D0 0031C830 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F8D4 0031C834 80 C4 00 74 */ lwz r6, 0x74(r4) +/* 8031F8D8 0031C838 28 06 00 00 */ cmplwi r6, 0 +/* 8031F8DC 0031C83C 41 82 00 28 */ beq lbl_8031F904 +/* 8031F8E0 0031C840 54 60 10 3A */ slwi r0, r3, 2 +/* 8031F8E4 0031C844 7C 9F 1A 14 */ add r4, r31, r3 +/* 8031F8E8 0031C848 7C BF 02 14 */ add r5, r31, r0 +/* 8031F8EC 0031C84C 38 63 00 01 */ addi r3, r3, 1 +/* 8031F8F0 0031C850 90 C5 02 80 */ stw r6, 0x280(r5) +/* 8031F8F4 0031C854 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 8031F8F8 0031C858 88 05 00 31 */ lbz r0, 0x31(r5) +/* 8031F8FC 0031C85C 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8031F900 0031C860 98 04 02 78 */ stb r0, 0x278(r4) +lbl_8031F904: +/* 8031F904 0031C864 2C 03 00 04 */ cmpwi r3, 4 +/* 8031F908 0031C868 54 65 10 3A */ slwi r5, r3, 2 +/* 8031F90C 0031C86C 20 63 00 04 */ subfic r3, r3, 4 +/* 8031F910 0031C870 38 80 00 00 */ li r4, 0 +/* 8031F914 0031C874 40 80 00 74 */ bge lbl_8031F988 +/* 8031F918 0031C878 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 8031F91C 0031C87C 7C 09 03 A6 */ mtctr r0 +/* 8031F920 0031C880 41 82 00 54 */ beq lbl_8031F974 +lbl_8031F924: +/* 8031F924 0031C884 38 05 02 80 */ addi r0, r5, 0x280 +/* 8031F928 0031C888 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F92C 0031C88C 38 05 02 84 */ addi r0, r5, 0x284 +/* 8031F930 0031C890 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F934 0031C894 38 05 02 88 */ addi r0, r5, 0x288 +/* 8031F938 0031C898 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F93C 0031C89C 38 05 02 8C */ addi r0, r5, 0x28c +/* 8031F940 0031C8A0 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F944 0031C8A4 38 05 02 90 */ addi r0, r5, 0x290 +/* 8031F948 0031C8A8 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F94C 0031C8AC 38 05 02 94 */ addi r0, r5, 0x294 +/* 8031F950 0031C8B0 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F954 0031C8B4 38 05 02 98 */ addi r0, r5, 0x298 +/* 8031F958 0031C8B8 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F95C 0031C8BC 38 05 02 9C */ addi r0, r5, 0x29c +/* 8031F960 0031C8C0 38 A5 00 20 */ addi r5, r5, 0x20 +/* 8031F964 0031C8C4 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F968 0031C8C8 42 00 FF BC */ bdnz lbl_8031F924 +/* 8031F96C 0031C8CC 70 63 00 07 */ andi. r3, r3, 7 +/* 8031F970 0031C8D0 41 82 00 18 */ beq lbl_8031F988 +lbl_8031F974: +/* 8031F974 0031C8D4 7C 69 03 A6 */ mtctr r3 +lbl_8031F978: +/* 8031F978 0031C8D8 38 05 02 80 */ addi r0, r5, 0x280 +/* 8031F97C 0031C8DC 38 A5 00 04 */ addi r5, r5, 4 +/* 8031F980 0031C8E0 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F984 0031C8E4 42 00 FF F4 */ bdnz lbl_8031F978 +lbl_8031F988: +/* 8031F988 0031C8E8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F98C 0031C8EC 80 03 01 0C */ lwz r0, 0x10c(r3) +/* 8031F990 0031C8F0 28 00 00 00 */ cmplwi r0, 0 +/* 8031F994 0031C8F4 40 82 00 58 */ bne lbl_8031F9EC +/* 8031F998 0031C8F8 80 03 01 10 */ lwz r0, 0x110(r3) +/* 8031F99C 0031C8FC 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9A0 0031C900 40 82 00 4C */ bne lbl_8031F9EC +/* 8031F9A4 0031C904 80 03 01 14 */ lwz r0, 0x114(r3) +/* 8031F9A8 0031C908 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9AC 0031C90C 40 82 00 40 */ bne lbl_8031F9EC +/* 8031F9B0 0031C910 80 03 01 18 */ lwz r0, 0x118(r3) +/* 8031F9B4 0031C914 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9B8 0031C918 40 82 00 34 */ bne lbl_8031F9EC +/* 8031F9BC 0031C91C 80 03 01 1C */ lwz r0, 0x11c(r3) +/* 8031F9C0 0031C920 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9C4 0031C924 40 82 00 28 */ bne lbl_8031F9EC +/* 8031F9C8 0031C928 80 03 01 20 */ lwz r0, 0x120(r3) +/* 8031F9CC 0031C92C 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9D0 0031C930 40 82 00 1C */ bne lbl_8031F9EC +/* 8031F9D4 0031C934 80 03 01 24 */ lwz r0, 0x124(r3) +/* 8031F9D8 0031C938 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9DC 0031C93C 40 82 00 10 */ bne lbl_8031F9EC +/* 8031F9E0 0031C940 80 03 01 28 */ lwz r0, 0x128(r3) +/* 8031F9E4 0031C944 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9E8 0031C948 41 82 00 14 */ beq lbl_8031F9FC +lbl_8031F9EC: +/* 8031F9EC 0031C94C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F9F0 0031C950 38 60 00 01 */ li r3, 1 +/* 8031F9F4 0031C954 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8031F9F8 0031C958 98 1F 02 6D */ stb r0, 0x26d(r31) +lbl_8031F9FC: +/* 8031F9FC 0031C95C C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031FA00 0031C960 38 00 00 00 */ li r0, 0 +/* 8031FA04 0031C964 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 8031FA08 0031C968 D0 1F 00 A0 */ stfs f0, 0xa0(r31) +/* 8031FA0C 0031C96C D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 8031FA10 0031C970 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8031FA14 0031C974 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 8031FA18 0031C978 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 8031FA1C 0031C97C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 8031FA20 0031C980 D0 1F 00 B8 */ stfs f0, 0xb8(r31) +/* 8031FA24 0031C984 D0 1F 00 BC */ stfs f0, 0xbc(r31) +/* 8031FA28 0031C988 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 8031FA2C 0031C98C D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 8031FA30 0031C990 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 8031FA34 0031C994 D0 1F 00 CC */ stfs f0, 0xcc(r31) +/* 8031FA38 0031C998 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 8031FA3C 0031C99C D0 1F 00 D4 */ stfs f0, 0xd4(r31) +/* 8031FA40 0031C9A0 D0 1F 00 D8 */ stfs f0, 0xd8(r31) +/* 8031FA44 0031C9A4 90 1F 02 A0 */ stw r0, 0x2a0(r31) +/* 8031FA48 0031C9A8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FA4C 0031C9AC 80 63 00 8C */ lwz r3, 0x8c(r3) +/* 8031FA50 0031C9B0 28 03 00 00 */ cmplwi r3, 0 +/* 8031FA54 0031C9B4 41 82 00 1C */ beq lbl_8031FA70 +/* 8031FA58 0031C9B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FA5C 0031C9BC 38 BF 02 A0 */ addi r5, r31, 0x2a0 +/* 8031FA60 0031C9C0 38 80 00 00 */ li r4, 0 +/* 8031FA64 0031C9C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FA68 0031C9C8 7D 89 03 A6 */ mtctr r12 +/* 8031FA6C 0031C9CC 4E 80 04 21 */ bctrl +lbl_8031FA70: +/* 8031FA70 0031C9D0 38 00 00 10 */ li r0, 0x10 +/* 8031FA74 0031C9D4 90 1F 02 A8 */ stw r0, 0x2a8(r31) +/* 8031FA78 0031C9D8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FA7C 0031C9DC 80 63 00 B4 */ lwz r3, 0xb4(r3) +/* 8031FA80 0031C9E0 28 03 00 00 */ cmplwi r3, 0 +/* 8031FA84 0031C9E4 41 82 00 30 */ beq lbl_8031FAB4 +/* 8031FA88 0031C9E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FA8C 0031C9EC 38 BF 02 A8 */ addi r5, r31, 0x2a8 +/* 8031FA90 0031C9F0 38 80 00 00 */ li r4, 0 +/* 8031FA94 0031C9F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FA98 0031C9F8 7D 89 03 A6 */ mtctr r12 +/* 8031FA9C 0031C9FC 4E 80 04 21 */ bctrl +/* 8031FAA0 0031CA00 80 1F 02 A8 */ lwz r0, 0x2a8(r31) +/* 8031FAA4 0031CA04 2C 00 00 00 */ cmpwi r0, 0 +/* 8031FAA8 0031CA08 41 81 00 0C */ bgt lbl_8031FAB4 +/* 8031FAAC 0031CA0C 38 00 00 01 */ li r0, 1 +/* 8031FAB0 0031CA10 90 1F 02 A8 */ stw r0, 0x2a8(r31) +lbl_8031FAB4: +/* 8031FAB4 0031CA14 38 00 00 10 */ li r0, 0x10 +/* 8031FAB8 0031CA18 90 1F 02 A4 */ stw r0, 0x2a4(r31) +/* 8031FABC 0031CA1C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FAC0 0031CA20 80 63 00 B8 */ lwz r3, 0xb8(r3) +/* 8031FAC4 0031CA24 28 03 00 00 */ cmplwi r3, 0 +/* 8031FAC8 0031CA28 41 82 00 1C */ beq lbl_8031FAE4 +/* 8031FACC 0031CA2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FAD0 0031CA30 38 BF 02 A4 */ addi r5, r31, 0x2a4 +/* 8031FAD4 0031CA34 38 80 00 00 */ li r4, 0 +/* 8031FAD8 0031CA38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FADC 0031CA3C 7D 89 03 A6 */ mtctr r12 +/* 8031FAE0 0031CA40 4E 80 04 21 */ bctrl +lbl_8031FAE4: +/* 8031FAE4 0031CA44 38 00 00 00 */ li r0, 0 +/* 8031FAE8 0031CA48 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 8031FAEC 0031CA4C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FAF0 0031CA50 80 63 00 D0 */ lwz r3, 0xd0(r3) +/* 8031FAF4 0031CA54 28 03 00 00 */ cmplwi r3, 0 +/* 8031FAF8 0031CA58 41 82 00 1C */ beq lbl_8031FB14 +/* 8031FAFC 0031CA5C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB00 0031CA60 38 BF 02 AC */ addi r5, r31, 0x2ac +/* 8031FB04 0031CA64 38 80 00 00 */ li r4, 0 +/* 8031FB08 0031CA68 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FB0C 0031CA6C 7D 89 03 A6 */ mtctr r12 +/* 8031FB10 0031CA70 4E 80 04 21 */ bctrl +lbl_8031FB14: +/* 8031FB14 0031CA74 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FB18 0031CA78 80 63 00 D4 */ lwz r3, 0xd4(r3) +/* 8031FB1C 0031CA7C 28 03 00 00 */ cmplwi r3, 0 +/* 8031FB20 0031CA80 41 82 00 4C */ beq lbl_8031FB6C +/* 8031FB24 0031CA84 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB28 0031CA88 38 BF 02 B0 */ addi r5, r31, 0x2b0 +/* 8031FB2C 0031CA8C 38 80 00 00 */ li r4, 0 +/* 8031FB30 0031CA90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FB34 0031CA94 7D 89 03 A6 */ mtctr r12 +/* 8031FB38 0031CA98 4E 80 04 21 */ bctrl +/* 8031FB3C 0031CA9C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FB40 0031CAA0 80 63 00 D4 */ lwz r3, 0xd4(r3) +/* 8031FB44 0031CAA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB48 0031CAA8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031FB4C 0031CAAC 7D 89 03 A6 */ mtctr r12 +/* 8031FB50 0031CAB0 4E 80 04 21 */ bctrl +/* 8031FB54 0031CAB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031FB58 0031CAB8 40 82 00 14 */ bne lbl_8031FB6C +/* 8031FB5C 0031CABC 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FB60 0031CAC0 38 60 00 01 */ li r3, 1 +/* 8031FB64 0031CAC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8031FB68 0031CAC8 98 1F 02 6C */ stb r0, 0x26c(r31) +lbl_8031FB6C: +/* 8031FB6C 0031CACC 38 00 00 00 */ li r0, 0 +/* 8031FB70 0031CAD0 90 1F 02 BC */ stw r0, 0x2bc(r31) +/* 8031FB74 0031CAD4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FB78 0031CAD8 80 63 00 E4 */ lwz r3, 0xe4(r3) +/* 8031FB7C 0031CADC 28 03 00 00 */ cmplwi r3, 0 +/* 8031FB80 0031CAE0 41 82 00 1C */ beq lbl_8031FB9C +/* 8031FB84 0031CAE4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB88 0031CAE8 38 BF 02 BC */ addi r5, r31, 0x2bc +/* 8031FB8C 0031CAEC 38 80 00 00 */ li r4, 0 +/* 8031FB90 0031CAF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FB94 0031CAF4 7D 89 03 A6 */ mtctr r12 +/* 8031FB98 0031CAF8 4E 80 04 21 */ bctrl +lbl_8031FB9C: +/* 8031FB9C 0031CAFC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FBA0 0031CB00 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8031FBA4 0031CB04 28 03 00 00 */ cmplwi r3, 0 +/* 8031FBA8 0031CB08 41 82 00 4C */ beq lbl_8031FBF4 +/* 8031FBAC 0031CB0C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FBB0 0031CB10 38 BF 02 C0 */ addi r5, r31, 0x2c0 +/* 8031FBB4 0031CB14 38 80 00 00 */ li r4, 0 +/* 8031FBB8 0031CB18 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FBBC 0031CB1C 7D 89 03 A6 */ mtctr r12 +/* 8031FBC0 0031CB20 4E 80 04 21 */ bctrl +/* 8031FBC4 0031CB24 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FBC8 0031CB28 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8031FBCC 0031CB2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FBD0 0031CB30 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031FBD4 0031CB34 7D 89 03 A6 */ mtctr r12 +/* 8031FBD8 0031CB38 4E 80 04 21 */ bctrl +/* 8031FBDC 0031CB3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031FBE0 0031CB40 40 82 00 14 */ bne lbl_8031FBF4 +/* 8031FBE4 0031CB44 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FBE8 0031CB48 38 60 00 01 */ li r3, 1 +/* 8031FBEC 0031CB4C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8031FBF0 0031CB50 98 1F 02 6C */ stb r0, 0x26c(r31) +lbl_8031FBF4: +/* 8031FBF4 0031CB54 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FBF8 0031CB58 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FBFC 0031CB5C 28 03 00 00 */ cmplwi r3, 0 +/* 8031FC00 0031CB60 41 82 00 4C */ beq lbl_8031FC4C +/* 8031FC04 0031CB64 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC08 0031CB68 38 BF 00 F4 */ addi r5, r31, 0xf4 +/* 8031FC0C 0031CB6C 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FC10 0031CB70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FC14 0031CB74 7D 89 03 A6 */ mtctr r12 +/* 8031FC18 0031CB78 4E 80 04 21 */ bctrl +/* 8031FC1C 0031CB7C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FC20 0031CB80 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FC24 0031CB84 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC28 0031CB88 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031FC2C 0031CB8C 7D 89 03 A6 */ mtctr r12 +/* 8031FC30 0031CB90 4E 80 04 21 */ bctrl +/* 8031FC34 0031CB94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031FC38 0031CB98 40 82 00 14 */ bne lbl_8031FC4C +/* 8031FC3C 0031CB9C 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FC40 0031CBA0 38 60 00 01 */ li r3, 1 +/* 8031FC44 0031CBA4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8031FC48 0031CBA8 98 1F 02 6C */ stb r0, 0x26c(r31) +lbl_8031FC4C: +/* 8031FC4C 0031CBAC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FC50 0031CBB0 80 63 00 00 */ lwz r3, 0(r3) +/* 8031FC54 0031CBB4 28 03 00 00 */ cmplwi r3, 0 +/* 8031FC58 0031CBB8 41 82 00 20 */ beq lbl_8031FC78 +/* 8031FC5C 0031CBBC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC60 0031CBC0 38 BF 02 68 */ addi r5, r31, 0x268 +/* 8031FC64 0031CBC4 38 80 00 00 */ li r4, 0 +/* 8031FC68 0031CBC8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FC6C 0031CBCC 7D 89 03 A6 */ mtctr r12 +/* 8031FC70 0031CBD0 4E 80 04 21 */ bctrl +/* 8031FC74 0031CBD4 48 00 00 10 */ b lbl_8031FC84 +lbl_8031FC78: +/* 8031FC78 0031CBD8 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 8031FC7C 0031CBDC 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 8031FC80 0031CBE0 90 1F 02 68 */ stw r0, 0x268(r31) +lbl_8031FC84: +/* 8031FC84 0031CBE4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FC88 0031CBE8 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8031FC8C 0031CBEC 28 03 00 00 */ cmplwi r3, 0 +/* 8031FC90 0031CBF0 41 82 00 1C */ beq lbl_8031FCAC +/* 8031FC94 0031CBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC98 0031CBF8 38 BF 00 90 */ addi r5, r31, 0x90 +/* 8031FC9C 0031CBFC 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FCA0 0031CC00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FCA4 0031CC04 7D 89 03 A6 */ mtctr r12 +/* 8031FCA8 0031CC08 4E 80 04 21 */ bctrl +lbl_8031FCAC: +/* 8031FCAC 0031CC0C 83 DF 00 90 */ lwz r30, 0x90(r31) +/* 8031FCB0 0031CC10 2C 1E 01 00 */ cmpwi r30, 0x100 +/* 8031FCB4 0031CC14 40 81 00 08 */ ble lbl_8031FCBC +/* 8031FCB8 0031CC18 3B C0 01 00 */ li r30, 0x100 +lbl_8031FCBC: +/* 8031FCBC 0031CC1C 7F C4 F3 78 */ mr r4, r30 +/* 8031FCC0 0031CC20 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8031FCC4 0031CC24 48 00 06 FD */ bl sub_803203c0 +/* 8031FCC8 0031CC28 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031FCCC 0031CC2C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031FCD0 0031CC30 41 82 00 5C */ beq lbl_8031FD2C +/* 8031FCD4 0031CC34 3C 60 80 4C */ lis r3, lbl_804BFE28@ha +/* 8031FCD8 0031CC38 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031FCDC 0031CC3C 3B A3 FE 28 */ addi r29, r3, lbl_804BFE28@l +/* 8031FCE0 0031CC40 7F C4 F3 78 */ mr r4, r30 +/* 8031FCE4 0031CC44 81 9D 00 00 */ lwz r12, 0(r29) +/* 8031FCE8 0031CC48 38 7F 00 60 */ addi r3, r31, 0x60 +/* 8031FCEC 0031CC4C 81 7D 00 04 */ lwz r11, 4(r29) +/* 8031FCF0 0031CC50 81 5D 00 08 */ lwz r10, 8(r29) +/* 8031FCF4 0031CC54 81 3D 00 0C */ lwz r9, 0xc(r29) +/* 8031FCF8 0031CC58 81 1D 00 10 */ lwz r8, 0x10(r29) +/* 8031FCFC 0031CC5C 80 FD 00 14 */ lwz r7, 0x14(r29) +/* 8031FD00 0031CC60 80 DD 00 18 */ lwz r6, 0x18(r29) +/* 8031FD04 0031CC64 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 8031FD08 0031CC68 91 81 00 20 */ stw r12, 0x20(r1) +/* 8031FD0C 0031CC6C 91 61 00 24 */ stw r11, 0x24(r1) +/* 8031FD10 0031CC70 91 41 00 28 */ stw r10, 0x28(r1) +/* 8031FD14 0031CC74 91 21 00 2C */ stw r9, 0x2c(r1) +/* 8031FD18 0031CC78 91 01 00 30 */ stw r8, 0x30(r1) +/* 8031FD1C 0031CC7C 90 E1 00 34 */ stw r7, 0x34(r1) +/* 8031FD20 0031CC80 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8031FD24 0031CC84 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8031FD28 0031CC88 48 00 02 95 */ bl sub_8031ffbc +lbl_8031FD2C: +/* 8031FD2C 0031CC8C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8031FD30 0031CC90 2C 00 00 01 */ cmpwi r0, 1 +/* 8031FD34 0031CC94 40 82 00 18 */ bne lbl_8031FD4C +/* 8031FD38 0031CC98 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 8031FD3C 0031CC9C 80 9F 00 90 */ lwz r4, 0x90(r31) +/* 8031FD40 0031CCA0 38 A3 65 FC */ addi r5, r3, lbl_805A65FC@l +/* 8031FD44 0031CCA4 38 7F 00 50 */ addi r3, r31, 0x50 +/* 8031FD48 0031CCA8 48 00 01 85 */ bl sub_8031fecc +lbl_8031FD4C: +/* 8031FD4C 0031CCAC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD50 0031CCB0 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FD54 0031CCB4 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031FD58 0031CCB8 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f +/* 8031FD5C 0031CCBC 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031FD60 0031CCC0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD64 0031CCC4 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031FD68 0031CCC8 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031FD6C 0031CCCC 50 60 0E 30 */ rlwimi r0, r3, 1, 0x18, 0x18 +/* 8031FD70 0031CCD0 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031FD74 0031CCD4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD78 0031CCD8 80 03 00 EC */ lwz r0, 0xec(r3) +/* 8031FD7C 0031CCDC 28 00 00 00 */ cmplwi r0, 0 +/* 8031FD80 0031CCE0 41 82 01 1C */ beq lbl_8031FE9C +/* 8031FD84 0031CCE4 38 00 00 00 */ li r0, 0 +/* 8031FD88 0031CCE8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8031FD8C 0031CCEC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8031FD90 0031CCF0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD94 0031CCF4 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FD98 0031CCF8 80 63 00 EC */ lwz r3, 0xec(r3) +/* 8031FD9C 0031CCFC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FDA0 0031CD00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FDA4 0031CD04 7D 89 03 A6 */ mtctr r12 +/* 8031FDA8 0031CD08 4E 80 04 21 */ bctrl +/* 8031FDAC 0031CD0C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8031FDB0 0031CD10 2C 00 00 02 */ cmpwi r0, 2 +/* 8031FDB4 0031CD14 41 82 00 3C */ beq lbl_8031FDF0 +/* 8031FDB8 0031CD18 40 80 00 14 */ bge lbl_8031FDCC +/* 8031FDBC 0031CD1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8031FDC0 0031CD20 41 82 00 18 */ beq lbl_8031FDD8 +/* 8031FDC4 0031CD24 40 80 00 20 */ bge lbl_8031FDE4 +/* 8031FDC8 0031CD28 48 00 00 40 */ b lbl_8031FE08 +lbl_8031FDCC: +/* 8031FDCC 0031CD2C 2C 00 00 04 */ cmpwi r0, 4 +/* 8031FDD0 0031CD30 40 80 00 38 */ bge lbl_8031FE08 +/* 8031FDD4 0031CD34 48 00 00 28 */ b lbl_8031FDFC +lbl_8031FDD8: +/* 8031FDD8 0031CD38 38 00 00 00 */ li r0, 0 +/* 8031FDDC 0031CD3C 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FDE0 0031CD40 48 00 00 30 */ b lbl_8031FE10 +lbl_8031FDE4: +/* 8031FDE4 0031CD44 38 00 00 01 */ li r0, 1 +/* 8031FDE8 0031CD48 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FDEC 0031CD4C 48 00 00 24 */ b lbl_8031FE10 +lbl_8031FDF0: +/* 8031FDF0 0031CD50 38 00 00 02 */ li r0, 2 +/* 8031FDF4 0031CD54 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FDF8 0031CD58 48 00 00 18 */ b lbl_8031FE10 +lbl_8031FDFC: +/* 8031FDFC 0031CD5C 38 00 00 03 */ li r0, 3 +/* 8031FE00 0031CD60 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FE04 0031CD64 48 00 00 0C */ b lbl_8031FE10 +lbl_8031FE08: +/* 8031FE08 0031CD68 38 00 00 00 */ li r0, 0 +/* 8031FE0C 0031CD6C 90 1F 03 08 */ stw r0, 0x308(r31) +lbl_8031FE10: +/* 8031FE10 0031CD70 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FE14 0031CD74 80 03 01 00 */ lwz r0, 0x100(r3) +/* 8031FE18 0031CD78 28 00 00 00 */ cmplwi r0, 0 +/* 8031FE1C 0031CD7C 41 82 00 80 */ beq lbl_8031FE9C +/* 8031FE20 0031CD80 38 00 00 01 */ li r0, 1 +/* 8031FE24 0031CD84 38 A1 00 08 */ addi r5, r1, 8 +/* 8031FE28 0031CD88 90 01 00 08 */ stw r0, 8(r1) +/* 8031FE2C 0031CD8C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FE30 0031CD90 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FE34 0031CD94 80 63 01 00 */ lwz r3, 0x100(r3) +/* 8031FE38 0031CD98 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FE3C 0031CD9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FE40 0031CDA0 7D 89 03 A6 */ mtctr r12 +/* 8031FE44 0031CDA4 4E 80 04 21 */ bctrl +/* 8031FE48 0031CDA8 80 01 00 08 */ lwz r0, 8(r1) +/* 8031FE4C 0031CDAC 2C 00 00 01 */ cmpwi r0, 1 +/* 8031FE50 0031CDB0 41 82 00 2C */ beq lbl_8031FE7C +/* 8031FE54 0031CDB4 40 80 00 10 */ bge lbl_8031FE64 +/* 8031FE58 0031CDB8 2C 00 00 00 */ cmpwi r0, 0 +/* 8031FE5C 0031CDBC 40 80 00 14 */ bge lbl_8031FE70 +/* 8031FE60 0031CDC0 48 00 00 34 */ b lbl_8031FE94 +lbl_8031FE64: +/* 8031FE64 0031CDC4 2C 00 00 03 */ cmpwi r0, 3 +/* 8031FE68 0031CDC8 40 80 00 2C */ bge lbl_8031FE94 +/* 8031FE6C 0031CDCC 48 00 00 1C */ b lbl_8031FE88 +lbl_8031FE70: +/* 8031FE70 0031CDD0 38 00 00 00 */ li r0, 0 +/* 8031FE74 0031CDD4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8031FE78 0031CDD8 48 00 00 24 */ b lbl_8031FE9C +lbl_8031FE7C: +/* 8031FE7C 0031CDDC 38 00 00 01 */ li r0, 1 +/* 8031FE80 0031CDE0 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8031FE84 0031CDE4 48 00 00 18 */ b lbl_8031FE9C +lbl_8031FE88: +/* 8031FE88 0031CDE8 38 00 00 02 */ li r0, 2 +/* 8031FE8C 0031CDEC 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8031FE90 0031CDF0 48 00 00 0C */ b lbl_8031FE9C +lbl_8031FE94: +/* 8031FE94 0031CDF4 38 00 00 01 */ li r0, 1 +/* 8031FE98 0031CDF8 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8031FE9C: +/* 8031FE9C 0031CDFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031FEA0 0031CE00 38 80 FF FF */ li r4, -1 +/* 8031FEA4 0031CE04 4B FF 27 61 */ bl __dt__13CGlobalRandomFv +/* 8031FEA8 0031CE08 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8031FEAC 0031CE0C 7F E3 FB 78 */ mr r3, r31 +/* 8031FEB0 0031CE10 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8031FEB4 0031CE14 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8031FEB8 0031CE18 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8031FEBC 0031CE1C 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8031FEC0 0031CE20 7C 08 03 A6 */ mtlr r0 +/* 8031FEC4 0031CE24 38 21 00 50 */ addi r1, r1, 0x50 +/* 8031FEC8 0031CE28 4E 80 00 20 */ blr + +.global sub_8031fecc +sub_8031fecc: +/* 8031FECC 0031CE2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031FED0 0031CE30 7C 08 02 A6 */ mflr r0 +/* 8031FED4 0031CE34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031FED8 0031CE38 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031FEDC 0031CE3C 7C BF 2B 78 */ mr r31, r5 +/* 8031FEE0 0031CE40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031FEE4 0031CE44 7C 9E 23 78 */ mr r30, r4 +/* 8031FEE8 0031CE48 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031FEEC 0031CE4C 7C 7D 1B 78 */ mr r29, r3 +/* 8031FEF0 0031CE50 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031FEF4 0031CE54 80 03 00 04 */ lwz r0, 4(r3) +/* 8031FEF8 0031CE58 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FEFC 0031CE5C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031FF00 0031CE60 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031FF04 0031CE64 7C 03 02 14 */ add r0, r3, r0 +/* 8031FF08 0031CE68 90 61 00 08 */ stw r3, 8(r1) +/* 8031FF0C 0031CE6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031FF10 0031CE70 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031FF14 0031CE74 48 00 00 08 */ b lbl_8031FF1C +lbl_8031FF18: +/* 8031FF18 0031CE78 38 63 00 24 */ addi r3, r3, 0x24 +lbl_8031FF1C: +/* 8031FF1C 0031CE7C 7C 03 00 40 */ cmplw r3, r0 +/* 8031FF20 0031CE80 40 82 FF F8 */ bne lbl_8031FF18 +/* 8031FF24 0031CE84 38 00 00 00 */ li r0, 0 +/* 8031FF28 0031CE88 7F A3 EB 78 */ mr r3, r29 +/* 8031FF2C 0031CE8C 90 1D 00 04 */ stw r0, 4(r29) +/* 8031FF30 0031CE90 7F C4 F3 78 */ mr r4, r30 +/* 8031FF34 0031CE94 48 00 06 05 */ bl sub_80320538 +/* 8031FF38 0031CE98 3B 80 00 00 */ li r28, 0 +/* 8031FF3C 0031CE9C 48 00 00 58 */ b lbl_8031FF94 +lbl_8031FF40: +/* 8031FF40 0031CEA0 80 1D 00 04 */ lwz r0, 4(r29) +/* 8031FF44 0031CEA4 80 BD 00 08 */ lwz r5, 8(r29) +/* 8031FF48 0031CEA8 7C 00 28 00 */ cmpw r0, r5 +/* 8031FF4C 0031CEAC 41 80 00 1C */ blt lbl_8031FF68 +/* 8031FF50 0031CEB0 2C 05 00 00 */ cmpwi r5, 0 +/* 8031FF54 0031CEB4 7F A3 EB 78 */ mr r3, r29 +/* 8031FF58 0031CEB8 38 80 00 04 */ li r4, 4 +/* 8031FF5C 0031CEBC 41 82 00 08 */ beq lbl_8031FF64 +/* 8031FF60 0031CEC0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031FF64: +/* 8031FF64 0031CEC4 48 00 05 D5 */ bl sub_80320538 +lbl_8031FF68: +/* 8031FF68 0031CEC8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8031FF6C 0031CECC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8031FF70 0031CED0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031FF74 0031CED4 7C 63 02 15 */ add. r3, r3, r0 +/* 8031FF78 0031CED8 41 82 00 0C */ beq lbl_8031FF84 +/* 8031FF7C 0031CEDC 7F E4 FB 78 */ mr r4, r31 +/* 8031FF80 0031CEE0 4B FF 00 A5 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_8031FF84: +/* 8031FF84 0031CEE4 80 7D 00 04 */ lwz r3, 4(r29) +/* 8031FF88 0031CEE8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031FF8C 0031CEEC 38 03 00 01 */ addi r0, r3, 1 +/* 8031FF90 0031CEF0 90 1D 00 04 */ stw r0, 4(r29) +lbl_8031FF94: +/* 8031FF94 0031CEF4 7C 1C F0 00 */ cmpw r28, r30 +/* 8031FF98 0031CEF8 41 80 FF A8 */ blt lbl_8031FF40 +/* 8031FF9C 0031CEFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031FFA0 0031CF00 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031FFA4 0031CF04 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031FFA8 0031CF08 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8031FFAC 0031CF0C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8031FFB0 0031CF10 7C 08 03 A6 */ mtlr r0 +/* 8031FFB4 0031CF14 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031FFB8 0031CF18 4E 80 00 20 */ blr + +.global sub_8031ffbc +sub_8031ffbc: +/* 8031FFBC 0031CF1C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031FFC0 0031CF20 7C 08 02 A6 */ mflr r0 +/* 8031FFC4 0031CF24 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031FFC8 0031CF28 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031FFCC 0031CF2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031FFD0 0031CF30 7C BE 2B 78 */ mr r30, r5 +/* 8031FFD4 0031CF34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031FFD8 0031CF38 7C 9D 23 78 */ mr r29, r4 +/* 8031FFDC 0031CF3C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031FFE0 0031CF40 7C 7C 1B 78 */ mr r28, r3 +/* 8031FFE4 0031CF44 80 03 00 04 */ lwz r0, 4(r3) +/* 8031FFE8 0031CF48 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FFEC 0031CF4C 54 00 28 34 */ slwi r0, r0, 5 +/* 8031FFF0 0031CF50 7C 03 02 14 */ add r0, r3, r0 +/* 8031FFF4 0031CF54 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031FFF8 0031CF58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031FFFC 0031CF5C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80320000 0031CF60 90 61 00 08 */ stw r3, 8(r1) +/* 80320004 0031CF64 48 00 00 08 */ b lbl_8032000C +lbl_80320008: +/* 80320008 0031CF68 38 63 00 20 */ addi r3, r3, 0x20 +lbl_8032000C: +/* 8032000C 0031CF6C 7C 03 00 40 */ cmplw r3, r0 +/* 80320010 0031CF70 40 82 FF F8 */ bne lbl_80320008 +/* 80320014 0031CF74 38 00 00 00 */ li r0, 0 +/* 80320018 0031CF78 7F 83 E3 78 */ mr r3, r28 +/* 8032001C 0031CF7C 90 1C 00 04 */ stw r0, 4(r28) +/* 80320020 0031CF80 7F A4 EB 78 */ mr r4, r29 +/* 80320024 0031CF84 48 00 05 F9 */ bl "reserve__Q24rstl69vectorFi" +/* 80320028 0031CF88 3B E0 00 00 */ li r31, 0 +/* 8032002C 0031CF8C 48 00 00 90 */ b lbl_803200BC +lbl_80320030: +/* 80320030 0031CF90 80 1C 00 04 */ lwz r0, 4(r28) +/* 80320034 0031CF94 80 BC 00 08 */ lwz r5, 8(r28) +/* 80320038 0031CF98 7C 00 28 00 */ cmpw r0, r5 +/* 8032003C 0031CF9C 41 80 00 1C */ blt lbl_80320058 +/* 80320040 0031CFA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80320044 0031CFA4 7F 83 E3 78 */ mr r3, r28 +/* 80320048 0031CFA8 38 80 00 04 */ li r4, 4 +/* 8032004C 0031CFAC 41 82 00 08 */ beq lbl_80320054 +/* 80320050 0031CFB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80320054: +/* 80320054 0031CFB4 48 00 05 C9 */ bl "reserve__Q24rstl69vectorFi" +lbl_80320058: +/* 80320058 0031CFB8 80 1C 00 04 */ lwz r0, 4(r28) +/* 8032005C 0031CFBC 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80320060 0031CFC0 54 00 28 34 */ slwi r0, r0, 5 +/* 80320064 0031CFC4 7C 83 02 15 */ add. r4, r3, r0 +/* 80320068 0031CFC8 41 82 00 44 */ beq lbl_803200AC +/* 8032006C 0031CFCC 80 7E 00 00 */ lwz r3, 0(r30) +/* 80320070 0031CFD0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320074 0031CFD4 90 64 00 00 */ stw r3, 0(r4) +/* 80320078 0031CFD8 90 04 00 04 */ stw r0, 4(r4) +/* 8032007C 0031CFDC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80320080 0031CFE0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80320084 0031CFE4 90 64 00 08 */ stw r3, 8(r4) +/* 80320088 0031CFE8 90 04 00 0C */ stw r0, 0xc(r4) +/* 8032008C 0031CFEC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80320090 0031CFF0 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80320094 0031CFF4 90 64 00 10 */ stw r3, 0x10(r4) +/* 80320098 0031CFF8 90 04 00 14 */ stw r0, 0x14(r4) +/* 8032009C 0031CFFC 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 803200A0 0031D000 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803200A4 0031D004 90 64 00 18 */ stw r3, 0x18(r4) +/* 803200A8 0031D008 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_803200AC: +/* 803200AC 0031D00C 80 7C 00 04 */ lwz r3, 4(r28) +/* 803200B0 0031D010 3B FF 00 01 */ addi r31, r31, 1 +/* 803200B4 0031D014 38 03 00 01 */ addi r0, r3, 1 +/* 803200B8 0031D018 90 1C 00 04 */ stw r0, 4(r28) +lbl_803200BC: +/* 803200BC 0031D01C 7C 1F E8 00 */ cmpw r31, r29 +/* 803200C0 0031D020 41 80 FF 70 */ blt lbl_80320030 +/* 803200C4 0031D024 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803200C8 0031D028 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803200CC 0031D02C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803200D0 0031D030 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803200D4 0031D034 83 81 00 20 */ lwz r28, 0x20(r1) +/* 803200D8 0031D038 7C 08 03 A6 */ mtlr r0 +/* 803200DC 0031D03C 38 21 00 30 */ addi r1, r1, 0x30 +/* 803200E0 0031D040 4E 80 00 20 */ blr + +.global sub_803200e4 +sub_803200e4: +/* 803200E4 0031D044 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803200E8 0031D048 7C 08 02 A6 */ mflr r0 +/* 803200EC 0031D04C 90 01 00 44 */ stw r0, 0x44(r1) +/* 803200F0 0031D050 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 803200F4 0031D054 7C 7D 1B 78 */ mr r29, r3 +/* 803200F8 0031D058 7C 9E 23 78 */ mr r30, r4 +/* 803200FC 0031D05C 7C BF 2B 78 */ mr r31, r5 +/* 80320100 0031D060 7C 1D F0 50 */ subf r0, r29, r30 +/* 80320104 0031D064 7C 00 26 70 */ srawi r0, r0, 4 +/* 80320108 0031D068 7C A0 01 94 */ addze r5, r0 +/* 8032010C 0031D06C 2C 05 00 01 */ cmpwi r5, 1 +/* 80320110 0031D070 40 81 01 24 */ ble lbl_80320234 +/* 80320114 0031D074 2C 05 00 14 */ cmpwi r5, 0x14 +/* 80320118 0031D078 41 81 00 18 */ bgt lbl_80320130 +/* 8032011C 0031D07C 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320120 0031D080 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80320124 0031D084 98 01 00 14 */ stb r0, 0x14(r1) +/* 80320128 0031D088 48 00 07 05 */ bl sub_8032082c +/* 8032012C 0031D08C 48 00 01 08 */ b lbl_80320234 +lbl_80320130: +/* 80320130 0031D090 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 80320134 0031D094 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320138 0031D098 7C 84 2A 14 */ add r4, r4, r5 +/* 8032013C 0031D09C 3B 7E FF F0 */ addi r27, r30, -16 +/* 80320140 0031D0A0 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80320144 0031D0A4 98 01 00 10 */ stb r0, 0x10(r1) +/* 80320148 0031D0A8 54 80 20 36 */ slwi r0, r4, 4 +/* 8032014C 0031D0AC 7F 65 DB 78 */ mr r5, r27 +/* 80320150 0031D0B0 7F 9D 02 14 */ add r28, r29, r0 +/* 80320154 0031D0B4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80320158 0031D0B8 7F 84 E3 78 */ mr r4, r28 +/* 8032015C 0031D0BC 48 00 09 DD */ bl sub_80320b38 +/* 80320160 0031D0C0 C0 7C 00 08 */ lfs f3, 8(r28) +/* 80320164 0031D0C4 3B 9D 00 10 */ addi r28, r29, 0x10 +/* 80320168 0031D0C8 3B 7B FF F0 */ addi r27, r27, -16 +/* 8032016C 0031D0CC 48 00 00 08 */ b lbl_80320174 +lbl_80320170: +/* 80320170 0031D0D0 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_80320174: +/* 80320174 0031D0D4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80320178 0031D0D8 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8032017C 0031D0DC 41 81 FF F4 */ bgt lbl_80320170 +/* 80320180 0031D0E0 48 00 00 08 */ b lbl_80320188 +lbl_80320184: +/* 80320184 0031D0E4 3B 7B FF F0 */ addi r27, r27, -16 +lbl_80320188: +/* 80320188 0031D0E8 C0 1B 00 08 */ lfs f0, 8(r27) +/* 8032018C 0031D0EC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80320190 0031D0F0 41 81 FF F4 */ bgt lbl_80320184 +/* 80320194 0031D0F4 7C 1C D8 40 */ cmplw r28, r27 +/* 80320198 0031D0F8 40 80 00 6C */ bge lbl_80320204 +/* 8032019C 0031D0FC A0 BC 00 00 */ lhz r5, 0(r28) +/* 803201A0 0031D100 C0 5C 00 04 */ lfs f2, 4(r28) +/* 803201A4 0031D104 C0 3C 00 08 */ lfs f1, 8(r28) +/* 803201A8 0031D108 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 803201AC 0031D10C A0 1B 00 00 */ lhz r0, 0(r27) +/* 803201B0 0031D110 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803201B4 0031D114 B0 1C 00 00 */ sth r0, 0(r28) +/* 803201B8 0031D118 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 803201BC 0031D11C 80 7B 00 04 */ lwz r3, 4(r27) +/* 803201C0 0031D120 80 1B 00 08 */ lwz r0, 8(r27) +/* 803201C4 0031D124 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 803201C8 0031D128 90 7C 00 04 */ stw r3, 4(r28) +/* 803201CC 0031D12C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 803201D0 0031D130 90 1C 00 08 */ stw r0, 8(r28) +/* 803201D4 0031D134 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 803201D8 0031D138 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803201DC 0031D13C 90 1C 00 0C */ stw r0, 0xc(r28) +/* 803201E0 0031D140 3B 9C 00 10 */ addi r28, r28, 0x10 +/* 803201E4 0031D144 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803201E8 0031D148 B0 BB 00 00 */ sth r5, 0(r27) +/* 803201EC 0031D14C 90 9B 00 04 */ stw r4, 4(r27) +/* 803201F0 0031D150 90 7B 00 08 */ stw r3, 8(r27) +/* 803201F4 0031D154 90 1B 00 0C */ stw r0, 0xc(r27) +/* 803201F8 0031D158 3B 7B FF F0 */ addi r27, r27, -16 +/* 803201FC 0031D15C B0 A1 00 18 */ sth r5, 0x18(r1) +/* 80320200 0031D160 4B FF FF 74 */ b lbl_80320174 +lbl_80320204: +/* 80320204 0031D164 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320208 0031D168 7F A3 EB 78 */ mr r3, r29 +/* 8032020C 0031D16C 7F 84 E3 78 */ mr r4, r28 +/* 80320210 0031D170 38 A1 00 0C */ addi r5, r1, 0xc +/* 80320214 0031D174 98 01 00 0C */ stb r0, 0xc(r1) +/* 80320218 0031D178 4B FF FE CD */ bl sub_803200e4 +/* 8032021C 0031D17C 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320220 0031D180 7F 83 E3 78 */ mr r3, r28 +/* 80320224 0031D184 7F C4 F3 78 */ mr r4, r30 +/* 80320228 0031D188 38 A1 00 08 */ addi r5, r1, 8 +/* 8032022C 0031D18C 98 01 00 08 */ stb r0, 8(r1) +/* 80320230 0031D190 4B FF FE B5 */ bl sub_803200e4 +lbl_80320234: +/* 80320234 0031D194 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 80320238 0031D198 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8032023C 0031D19C 7C 08 03 A6 */ mtlr r0 +/* 80320240 0031D1A0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80320244 0031D1A4 4E 80 00 20 */ blr + +.global sub_80320248 +sub_80320248: +/* 80320248 0031D1A8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032024C 0031D1AC 7C 08 02 A6 */ mflr r0 +/* 80320250 0031D1B0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80320254 0031D1B4 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80320258 0031D1B8 7C 7C 1B 78 */ mr r28, r3 +/* 8032025C 0031D1BC 7C 9D 23 78 */ mr r29, r4 +/* 80320260 0031D1C0 7C BE 2B 78 */ mr r30, r5 +/* 80320264 0031D1C4 7C 1C E8 50 */ subf r0, r28, r29 +/* 80320268 0031D1C8 7C 00 26 70 */ srawi r0, r0, 4 +/* 8032026C 0031D1CC 7C A0 01 94 */ addze r5, r0 +/* 80320270 0031D1D0 2C 05 00 01 */ cmpwi r5, 1 +/* 80320274 0031D1D4 40 81 01 38 */ ble lbl_803203AC +/* 80320278 0031D1D8 2C 05 00 14 */ cmpwi r5, 0x14 +/* 8032027C 0031D1DC 41 81 00 18 */ bgt lbl_80320294 +/* 80320280 0031D1E0 88 1E 00 00 */ lbz r0, 0(r30) +/* 80320284 0031D1E4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80320288 0031D1E8 98 01 00 14 */ stb r0, 0x14(r1) +/* 8032028C 0031D1EC 48 00 06 59 */ bl sub_803208e4 +/* 80320290 0031D1F0 48 00 01 1C */ b lbl_803203AC +lbl_80320294: +/* 80320294 0031D1F4 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 80320298 0031D1F8 88 1E 00 00 */ lbz r0, 0(r30) +/* 8032029C 0031D1FC 7C 84 2A 14 */ add r4, r4, r5 +/* 803202A0 0031D200 3B FD FF F0 */ addi r31, r29, -16 +/* 803202A4 0031D204 7C 84 0E 70 */ srawi r4, r4, 1 +/* 803202A8 0031D208 98 01 00 10 */ stb r0, 0x10(r1) +/* 803202AC 0031D20C 54 80 20 36 */ slwi r0, r4, 4 +/* 803202B0 0031D210 7F E5 FB 78 */ mr r5, r31 +/* 803202B4 0031D214 7F 7C 02 14 */ add r27, r28, r0 +/* 803202B8 0031D218 38 C1 00 10 */ addi r6, r1, 0x10 +/* 803202BC 0031D21C 7F 64 DB 78 */ mr r4, r27 +/* 803202C0 0031D220 48 00 06 F5 */ bl sub_803209b4 +/* 803202C4 0031D224 C0 7B 00 08 */ lfs f3, 8(r27) +/* 803202C8 0031D228 3B 7C 00 10 */ addi r27, r28, 0x10 +/* 803202CC 0031D22C 3B FF FF F0 */ addi r31, r31, -16 +/* 803202D0 0031D230 48 00 00 08 */ b lbl_803202D8 +lbl_803202D4: +/* 803202D4 0031D234 3B 7B 00 10 */ addi r27, r27, 0x10 +lbl_803202D8: +/* 803202D8 0031D238 C0 1B 00 08 */ lfs f0, 8(r27) +/* 803202DC 0031D23C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803202E0 0031D240 41 81 FF F4 */ bgt lbl_803202D4 +/* 803202E4 0031D244 48 00 00 08 */ b lbl_803202EC +lbl_803202E8: +/* 803202E8 0031D248 3B FF FF F0 */ addi r31, r31, -16 +lbl_803202EC: +/* 803202EC 0031D24C C0 1F 00 08 */ lfs f0, 8(r31) +/* 803202F0 0031D250 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 803202F4 0031D254 41 81 FF F4 */ bgt lbl_803202E8 +/* 803202F8 0031D258 7C 1B F8 40 */ cmplw r27, r31 +/* 803202FC 0031D25C 40 80 00 80 */ bge lbl_8032037C +/* 80320300 0031D260 A0 FB 00 00 */ lhz r7, 0(r27) +/* 80320304 0031D264 A0 DB 00 02 */ lhz r6, 2(r27) +/* 80320308 0031D268 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8032030C 0031D26C C0 3B 00 08 */ lfs f1, 8(r27) +/* 80320310 0031D270 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 80320314 0031D274 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80320318 0031D278 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8032031C 0031D27C B0 1B 00 00 */ sth r0, 0(r27) +/* 80320320 0031D280 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 80320324 0031D284 A0 1F 00 02 */ lhz r0, 2(r31) +/* 80320328 0031D288 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8032032C 0031D28C B0 1B 00 02 */ sth r0, 2(r27) +/* 80320330 0031D290 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80320334 0031D294 80 1F 00 04 */ lwz r0, 4(r31) +/* 80320338 0031D298 80 BF 00 08 */ lwz r5, 8(r31) +/* 8032033C 0031D29C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80320340 0031D2A0 90 1B 00 04 */ stw r0, 4(r27) +/* 80320344 0031D2A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320348 0031D2A8 90 BB 00 08 */ stw r5, 8(r27) +/* 8032034C 0031D2AC 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80320350 0031D2B0 B0 E1 00 18 */ sth r7, 0x18(r1) +/* 80320354 0031D2B4 90 BB 00 0C */ stw r5, 0xc(r27) +/* 80320358 0031D2B8 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 8032035C 0031D2BC B0 FF 00 00 */ sth r7, 0(r31) +/* 80320360 0031D2C0 B0 DF 00 02 */ sth r6, 2(r31) +/* 80320364 0031D2C4 90 9F 00 04 */ stw r4, 4(r31) +/* 80320368 0031D2C8 90 7F 00 08 */ stw r3, 8(r31) +/* 8032036C 0031D2CC 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80320370 0031D2D0 3B FF FF F0 */ addi r31, r31, -16 +/* 80320374 0031D2D4 B0 C1 00 1A */ sth r6, 0x1a(r1) +/* 80320378 0031D2D8 4B FF FF 60 */ b lbl_803202D8 +lbl_8032037C: +/* 8032037C 0031D2DC 88 1E 00 00 */ lbz r0, 0(r30) +/* 80320380 0031D2E0 7F 83 E3 78 */ mr r3, r28 +/* 80320384 0031D2E4 7F 64 DB 78 */ mr r4, r27 +/* 80320388 0031D2E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032038C 0031D2EC 98 01 00 0C */ stb r0, 0xc(r1) +/* 80320390 0031D2F0 4B FF FE B9 */ bl sub_80320248 +/* 80320394 0031D2F4 88 1E 00 00 */ lbz r0, 0(r30) +/* 80320398 0031D2F8 7F 63 DB 78 */ mr r3, r27 +/* 8032039C 0031D2FC 7F A4 EB 78 */ mr r4, r29 +/* 803203A0 0031D300 38 A1 00 08 */ addi r5, r1, 8 +/* 803203A4 0031D304 98 01 00 08 */ stb r0, 8(r1) +/* 803203A8 0031D308 4B FF FE A1 */ bl sub_80320248 +lbl_803203AC: +/* 803203AC 0031D30C BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 803203B0 0031D310 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803203B4 0031D314 7C 08 03 A6 */ mtlr r0 +/* 803203B8 0031D318 38 21 00 40 */ addi r1, r1, 0x40 +/* 803203BC 0031D31C 4E 80 00 20 */ blr + +.global sub_803203c0 +sub_803203c0: +/* 803203C0 0031D320 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803203C4 0031D324 7C 08 02 A6 */ mflr r0 +/* 803203C8 0031D328 90 01 00 34 */ stw r0, 0x34(r1) +/* 803203CC 0031D32C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803203D0 0031D330 7C 9F 23 78 */ mr r31, r4 +/* 803203D4 0031D334 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803203D8 0031D338 7C 7E 1B 78 */ mr r30, r3 +/* 803203DC 0031D33C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803203E0 0031D340 80 03 00 08 */ lwz r0, 8(r3) +/* 803203E4 0031D344 7C 1F 00 00 */ cmpw r31, r0 +/* 803203E8 0031D348 40 81 00 98 */ ble lbl_80320480 +/* 803203EC 0031D34C 1C 7F 00 38 */ mulli r3, r31, 0x38 +/* 803203F0 0031D350 2C 03 00 00 */ cmpwi r3, 0 +/* 803203F4 0031D354 40 82 00 0C */ bne lbl_80320400 +/* 803203F8 0031D358 3B A0 00 00 */ li r29, 0 +/* 803203FC 0031D35C 48 00 00 18 */ b lbl_80320414 +lbl_80320400: +/* 80320400 0031D360 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 80320404 0031D364 38 A0 00 00 */ li r5, 0 +/* 80320408 0031D368 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 8032040C 0031D36C 4B FF 54 0D */ bl __nwa__FUlPCcPCc +/* 80320410 0031D370 7C 7D 1B 78 */ mr r29, r3 +lbl_80320414: +/* 80320414 0031D374 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320418 0031D378 7F A5 EB 78 */ mr r5, r29 +/* 8032041C 0031D37C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80320420 0031D380 38 61 00 14 */ addi r3, r1, 0x14 +/* 80320424 0031D384 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 80320428 0031D388 38 81 00 0C */ addi r4, r1, 0xc +/* 8032042C 0031D38C 7C C6 02 14 */ add r6, r6, r0 +/* 80320430 0031D390 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80320434 0031D394 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80320438 0031D398 90 C1 00 08 */ stw r6, 8(r1) +/* 8032043C 0031D39C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80320440 0031D3A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320444 0031D3A4 48 00 00 59 */ bl sub_8032049c +/* 80320448 0031D3A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032044C 0031D3AC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80320450 0031D3B0 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 80320454 0031D3B4 7C 64 1B 78 */ mr r4, r3 +/* 80320458 0031D3B8 7C 03 02 14 */ add r0, r3, r0 +/* 8032045C 0031D3BC 48 00 00 08 */ b lbl_80320464 +lbl_80320460: +/* 80320460 0031D3C0 38 84 00 38 */ addi r4, r4, 0x38 +lbl_80320464: +/* 80320464 0031D3C4 7C 04 00 40 */ cmplw r4, r0 +/* 80320468 0031D3C8 40 82 FF F8 */ bne lbl_80320460 +/* 8032046C 0031D3CC 28 03 00 00 */ cmplwi r3, 0 +/* 80320470 0031D3D0 41 82 00 08 */ beq lbl_80320478 +/* 80320474 0031D3D4 4B FF 54 BD */ bl Free__7CMemoryFPCv +lbl_80320478: +/* 80320478 0031D3D8 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8032047C 0031D3DC 93 FE 00 08 */ stw r31, 8(r30) +lbl_80320480: +/* 80320480 0031D3E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320484 0031D3E4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80320488 0031D3E8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032048C 0031D3EC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320490 0031D3F0 7C 08 03 A6 */ mtlr r0 +/* 80320494 0031D3F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320498 0031D3F8 4E 80 00 20 */ blr + +.global sub_8032049c +sub_8032049c: +/* 8032049C 0031D3FC 80 63 00 00 */ lwz r3, 0(r3) +/* 803204A0 0031D400 48 00 00 84 */ b lbl_80320524 +lbl_803204A4: +/* 803204A4 0031D404 28 05 00 00 */ cmplwi r5, 0 +/* 803204A8 0031D408 41 82 00 74 */ beq lbl_8032051C +/* 803204AC 0031D40C 80 03 00 00 */ lwz r0, 0(r3) +/* 803204B0 0031D410 90 05 00 00 */ stw r0, 0(r5) +/* 803204B4 0031D414 C0 03 00 04 */ lfs f0, 4(r3) +/* 803204B8 0031D418 D0 05 00 04 */ stfs f0, 4(r5) +/* 803204BC 0031D41C C0 03 00 08 */ lfs f0, 8(r3) +/* 803204C0 0031D420 D0 05 00 08 */ stfs f0, 8(r5) +/* 803204C4 0031D424 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803204C8 0031D428 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 803204CC 0031D42C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 803204D0 0031D430 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 803204D4 0031D434 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 803204D8 0031D438 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 803204DC 0031D43C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 803204E0 0031D440 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 803204E4 0031D444 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 803204E8 0031D448 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 803204EC 0031D44C C0 03 00 20 */ lfs f0, 0x20(r3) +/* 803204F0 0031D450 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 803204F4 0031D454 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 803204F8 0031D458 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 803204FC 0031D45C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80320500 0031D460 90 05 00 28 */ stw r0, 0x28(r5) +/* 80320504 0031D464 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80320508 0031D468 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8032050C 0031D46C C0 03 00 30 */ lfs f0, 0x30(r3) +/* 80320510 0031D470 D0 05 00 30 */ stfs f0, 0x30(r5) +/* 80320514 0031D474 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80320518 0031D478 90 05 00 34 */ stw r0, 0x34(r5) +lbl_8032051C: +/* 8032051C 0031D47C 38 A5 00 38 */ addi r5, r5, 0x38 +/* 80320520 0031D480 38 63 00 38 */ addi r3, r3, 0x38 +lbl_80320524: +/* 80320524 0031D484 80 04 00 00 */ lwz r0, 0(r4) +/* 80320528 0031D488 7C 03 00 40 */ cmplw r3, r0 +/* 8032052C 0031D48C 40 82 FF 78 */ bne lbl_803204A4 +/* 80320530 0031D490 7C A3 2B 78 */ mr r3, r5 +/* 80320534 0031D494 4E 80 00 20 */ blr + +.global sub_80320538 +sub_80320538: +/* 80320538 0031D498 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032053C 0031D49C 7C 08 02 A6 */ mflr r0 +/* 80320540 0031D4A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80320544 0031D4A4 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80320548 0031D4A8 7C 9F 23 78 */ mr r31, r4 +/* 8032054C 0031D4AC 7C 7E 1B 78 */ mr r30, r3 +/* 80320550 0031D4B0 80 03 00 08 */ lwz r0, 8(r3) +/* 80320554 0031D4B4 7C 1F 00 00 */ cmpw r31, r0 +/* 80320558 0031D4B8 40 81 00 B0 */ ble lbl_80320608 +/* 8032055C 0031D4BC 1C 7F 00 24 */ mulli r3, r31, 0x24 +/* 80320560 0031D4C0 2C 03 00 00 */ cmpwi r3, 0 +/* 80320564 0031D4C4 40 82 00 0C */ bne lbl_80320570 +/* 80320568 0031D4C8 3B 80 00 00 */ li r28, 0 +/* 8032056C 0031D4CC 48 00 00 18 */ b lbl_80320584 +lbl_80320570: +/* 80320570 0031D4D0 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 80320574 0031D4D4 38 A0 00 00 */ li r5, 0 +/* 80320578 0031D4D8 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 8032057C 0031D4DC 4B FF 52 9D */ bl __nwa__FUlPCcPCc +/* 80320580 0031D4E0 7C 7C 1B 78 */ mr r28, r3 +lbl_80320584: +/* 80320584 0031D4E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320588 0031D4E8 7F 9B E3 78 */ mr r27, r28 +/* 8032058C 0031D4EC 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80320590 0031D4F0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80320594 0031D4F4 93 41 00 10 */ stw r26, 0x10(r1) +/* 80320598 0031D4F8 7F BA 02 14 */ add r29, r26, r0 +/* 8032059C 0031D4FC 93 41 00 14 */ stw r26, 0x14(r1) +/* 803205A0 0031D500 93 A1 00 08 */ stw r29, 8(r1) +/* 803205A4 0031D504 93 A1 00 0C */ stw r29, 0xc(r1) +/* 803205A8 0031D508 48 00 00 20 */ b lbl_803205C8 +lbl_803205AC: +/* 803205AC 0031D50C 28 1B 00 00 */ cmplwi r27, 0 +/* 803205B0 0031D510 41 82 00 10 */ beq lbl_803205C0 +/* 803205B4 0031D514 7F 63 DB 78 */ mr r3, r27 +/* 803205B8 0031D518 7F 44 D3 78 */ mr r4, r26 +/* 803205BC 0031D51C 4B FE FA 69 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_803205C0: +/* 803205C0 0031D520 3B 7B 00 24 */ addi r27, r27, 0x24 +/* 803205C4 0031D524 3B 5A 00 24 */ addi r26, r26, 0x24 +lbl_803205C8: +/* 803205C8 0031D528 7C 1A E8 40 */ cmplw r26, r29 +/* 803205CC 0031D52C 40 82 FF E0 */ bne lbl_803205AC +/* 803205D0 0031D530 80 1E 00 04 */ lwz r0, 4(r30) +/* 803205D4 0031D534 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803205D8 0031D538 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 803205DC 0031D53C 7C 64 1B 78 */ mr r4, r3 +/* 803205E0 0031D540 7C 03 02 14 */ add r0, r3, r0 +/* 803205E4 0031D544 48 00 00 08 */ b lbl_803205EC +lbl_803205E8: +/* 803205E8 0031D548 38 84 00 24 */ addi r4, r4, 0x24 +lbl_803205EC: +/* 803205EC 0031D54C 7C 04 00 40 */ cmplw r4, r0 +/* 803205F0 0031D550 40 82 FF F8 */ bne lbl_803205E8 +/* 803205F4 0031D554 28 03 00 00 */ cmplwi r3, 0 +/* 803205F8 0031D558 41 82 00 08 */ beq lbl_80320600 +/* 803205FC 0031D55C 4B FF 53 35 */ bl Free__7CMemoryFPCv +lbl_80320600: +/* 80320600 0031D560 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80320604 0031D564 93 FE 00 08 */ stw r31, 8(r30) +lbl_80320608: +/* 80320608 0031D568 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8032060C 0031D56C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320610 0031D570 7C 08 03 A6 */ mtlr r0 +/* 80320614 0031D574 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320618 0031D578 4E 80 00 20 */ blr + +.global "reserve__Q24rstl69vectorFi" +"reserve__Q24rstl69vectorFi": +/* 8032061C 0031D57C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320620 0031D580 7C 08 02 A6 */ mflr r0 +/* 80320624 0031D584 90 01 00 34 */ stw r0, 0x34(r1) +/* 80320628 0031D588 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032062C 0031D58C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80320630 0031D590 7C 9E 23 78 */ mr r30, r4 +/* 80320634 0031D594 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80320638 0031D598 7C 7D 1B 78 */ mr r29, r3 +/* 8032063C 0031D59C 80 03 00 08 */ lwz r0, 8(r3) +/* 80320640 0031D5A0 7C 1E 00 00 */ cmpw r30, r0 +/* 80320644 0031D5A4 40 81 00 E0 */ ble lbl_80320724 +/* 80320648 0031D5A8 57 C3 28 35 */ rlwinm. r3, r30, 5, 0, 0x1a +/* 8032064C 0031D5AC 40 82 00 0C */ bne lbl_80320658 +/* 80320650 0031D5B0 3B E0 00 00 */ li r31, 0 +/* 80320654 0031D5B4 48 00 00 18 */ b lbl_8032066C +lbl_80320658: +/* 80320658 0031D5B8 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 8032065C 0031D5BC 38 A0 00 00 */ li r5, 0 +/* 80320660 0031D5C0 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 80320664 0031D5C4 4B FF 51 B5 */ bl __nwa__FUlPCcPCc +/* 80320668 0031D5C8 7C 7F 1B 78 */ mr r31, r3 +lbl_8032066C: +/* 8032066C 0031D5CC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80320670 0031D5D0 7F E5 FB 78 */ mr r5, r31 +/* 80320674 0031D5D4 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80320678 0031D5D8 54 00 28 34 */ slwi r0, r0, 5 +/* 8032067C 0031D5DC 7C 86 02 14 */ add r4, r6, r0 +/* 80320680 0031D5E0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80320684 0031D5E4 90 81 00 08 */ stw r4, 8(r1) +/* 80320688 0031D5E8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032068C 0031D5EC 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80320690 0031D5F0 48 00 00 54 */ b lbl_803206E4 +lbl_80320694: +/* 80320694 0031D5F4 28 05 00 00 */ cmplwi r5, 0 +/* 80320698 0031D5F8 41 82 00 44 */ beq lbl_803206DC +/* 8032069C 0031D5FC 80 66 00 00 */ lwz r3, 0(r6) +/* 803206A0 0031D600 80 06 00 04 */ lwz r0, 4(r6) +/* 803206A4 0031D604 90 65 00 00 */ stw r3, 0(r5) +/* 803206A8 0031D608 90 05 00 04 */ stw r0, 4(r5) +/* 803206AC 0031D60C 80 66 00 08 */ lwz r3, 8(r6) +/* 803206B0 0031D610 80 06 00 0C */ lwz r0, 0xc(r6) +/* 803206B4 0031D614 90 65 00 08 */ stw r3, 8(r5) +/* 803206B8 0031D618 90 05 00 0C */ stw r0, 0xc(r5) +/* 803206BC 0031D61C 80 66 00 10 */ lwz r3, 0x10(r6) +/* 803206C0 0031D620 80 06 00 14 */ lwz r0, 0x14(r6) +/* 803206C4 0031D624 90 65 00 10 */ stw r3, 0x10(r5) +/* 803206C8 0031D628 90 05 00 14 */ stw r0, 0x14(r5) +/* 803206CC 0031D62C 80 66 00 18 */ lwz r3, 0x18(r6) +/* 803206D0 0031D630 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 803206D4 0031D634 90 65 00 18 */ stw r3, 0x18(r5) +/* 803206D8 0031D638 90 05 00 1C */ stw r0, 0x1c(r5) +lbl_803206DC: +/* 803206DC 0031D63C 38 A5 00 20 */ addi r5, r5, 0x20 +/* 803206E0 0031D640 38 C6 00 20 */ addi r6, r6, 0x20 +lbl_803206E4: +/* 803206E4 0031D644 7C 06 20 40 */ cmplw r6, r4 +/* 803206E8 0031D648 40 82 FF AC */ bne lbl_80320694 +/* 803206EC 0031D64C 80 1D 00 04 */ lwz r0, 4(r29) +/* 803206F0 0031D650 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803206F4 0031D654 54 00 28 34 */ slwi r0, r0, 5 +/* 803206F8 0031D658 7C 64 1B 78 */ mr r4, r3 +/* 803206FC 0031D65C 7C 03 02 14 */ add r0, r3, r0 +/* 80320700 0031D660 48 00 00 08 */ b lbl_80320708 +lbl_80320704: +/* 80320704 0031D664 38 84 00 20 */ addi r4, r4, 0x20 +lbl_80320708: +/* 80320708 0031D668 7C 04 00 40 */ cmplw r4, r0 +/* 8032070C 0031D66C 40 82 FF F8 */ bne lbl_80320704 +/* 80320710 0031D670 28 03 00 00 */ cmplwi r3, 0 +/* 80320714 0031D674 41 82 00 08 */ beq lbl_8032071C +/* 80320718 0031D678 4B FF 52 19 */ bl Free__7CMemoryFPCv +lbl_8032071C: +/* 8032071C 0031D67C 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80320720 0031D680 93 DD 00 08 */ stw r30, 8(r29) +lbl_80320724: +/* 80320724 0031D684 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320728 0031D688 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032072C 0031D68C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80320730 0031D690 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320734 0031D694 7C 08 03 A6 */ mtlr r0 +/* 80320738 0031D698 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032073C 0031D69C 4E 80 00 20 */ blr + +.global sub_80320740 +sub_80320740: +/* 80320740 0031D6A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320744 0031D6A4 7C 08 02 A6 */ mflr r0 +/* 80320748 0031D6A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032074C 0031D6AC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80320750 0031D6B0 7C 9F 23 78 */ mr r31, r4 +/* 80320754 0031D6B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80320758 0031D6B8 7C 7E 1B 78 */ mr r30, r3 +/* 8032075C 0031D6BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80320760 0031D6C0 80 03 00 08 */ lwz r0, 8(r3) +/* 80320764 0031D6C4 7C 1F 00 00 */ cmpw r31, r0 +/* 80320768 0031D6C8 40 81 00 A8 */ ble lbl_80320810 +/* 8032076C 0031D6CC 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80320770 0031D6D0 40 82 00 0C */ bne lbl_8032077C +/* 80320774 0031D6D4 3B A0 00 00 */ li r29, 0 +/* 80320778 0031D6D8 48 00 00 18 */ b lbl_80320790 +lbl_8032077C: +/* 8032077C 0031D6DC 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 80320780 0031D6E0 38 A0 00 00 */ li r5, 0 +/* 80320784 0031D6E4 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 80320788 0031D6E8 4B FF 50 91 */ bl __nwa__FUlPCcPCc +/* 8032078C 0031D6EC 7C 7D 1B 78 */ mr r29, r3 +lbl_80320790: +/* 80320790 0031D6F0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320794 0031D6F4 7F A4 EB 78 */ mr r4, r29 +/* 80320798 0031D6F8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8032079C 0031D6FC 54 00 10 3A */ slwi r0, r0, 2 +/* 803207A0 0031D700 7C 65 02 14 */ add r3, r5, r0 +/* 803207A4 0031D704 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803207A8 0031D708 90 61 00 08 */ stw r3, 8(r1) +/* 803207AC 0031D70C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803207B0 0031D710 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803207B4 0031D714 48 00 00 1C */ b lbl_803207D0 +lbl_803207B8: +/* 803207B8 0031D718 28 04 00 00 */ cmplwi r4, 0 +/* 803207BC 0031D71C 41 82 00 0C */ beq lbl_803207C8 +/* 803207C0 0031D720 80 05 00 00 */ lwz r0, 0(r5) +/* 803207C4 0031D724 90 04 00 00 */ stw r0, 0(r4) +lbl_803207C8: +/* 803207C8 0031D728 38 84 00 04 */ addi r4, r4, 4 +/* 803207CC 0031D72C 38 A5 00 04 */ addi r5, r5, 4 +lbl_803207D0: +/* 803207D0 0031D730 7C 05 18 40 */ cmplw r5, r3 +/* 803207D4 0031D734 40 82 FF E4 */ bne lbl_803207B8 +/* 803207D8 0031D738 80 1E 00 04 */ lwz r0, 4(r30) +/* 803207DC 0031D73C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803207E0 0031D740 54 00 10 3A */ slwi r0, r0, 2 +/* 803207E4 0031D744 7C 64 1B 78 */ mr r4, r3 +/* 803207E8 0031D748 7C 03 02 14 */ add r0, r3, r0 +/* 803207EC 0031D74C 48 00 00 08 */ b lbl_803207F4 +lbl_803207F0: +/* 803207F0 0031D750 38 84 00 04 */ addi r4, r4, 4 +lbl_803207F4: +/* 803207F4 0031D754 7C 04 00 40 */ cmplw r4, r0 +/* 803207F8 0031D758 40 82 FF F8 */ bne lbl_803207F0 +/* 803207FC 0031D75C 28 03 00 00 */ cmplwi r3, 0 +/* 80320800 0031D760 41 82 00 08 */ beq lbl_80320808 +/* 80320804 0031D764 4B FF 51 2D */ bl Free__7CMemoryFPCv +lbl_80320808: +/* 80320808 0031D768 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8032080C 0031D76C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80320810: +/* 80320810 0031D770 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320814 0031D774 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80320818 0031D778 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032081C 0031D77C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320820 0031D780 7C 08 03 A6 */ mtlr r0 +/* 80320824 0031D784 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320828 0031D788 4E 80 00 20 */ blr + +.global sub_8032082c +sub_8032082c: +/* 8032082C 0031D78C 38 A3 00 10 */ addi r5, r3, 0x10 +/* 80320830 0031D790 38 04 00 0F */ addi r0, r4, 0xf +/* 80320834 0031D794 7C 05 00 50 */ subf r0, r5, r0 +/* 80320838 0031D798 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032083C 0031D79C 54 00 E1 3E */ srwi r0, r0, 4 +/* 80320840 0031D7A0 7C 09 03 A6 */ mtctr r0 +/* 80320844 0031D7A4 7C 05 20 40 */ cmplw r5, r4 +/* 80320848 0031D7A8 40 80 00 94 */ bge lbl_803208DC +lbl_8032084C: +/* 8032084C 0031D7AC A0 05 00 00 */ lhz r0, 0(r5) +/* 80320850 0031D7B0 7C A7 2B 78 */ mr r7, r5 +/* 80320854 0031D7B4 C0 45 00 04 */ lfs f2, 4(r5) +/* 80320858 0031D7B8 38 C5 FF F0 */ addi r6, r5, -16 +/* 8032085C 0031D7BC C0 25 00 08 */ lfs f1, 8(r5) +/* 80320860 0031D7C0 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80320864 0031D7C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80320868 0031D7C8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8032086C 0031D7CC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80320870 0031D7D0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320874 0031D7D4 48 00 00 2C */ b lbl_803208A0 +lbl_80320878: +/* 80320878 0031D7D8 A0 06 00 00 */ lhz r0, 0(r6) +/* 8032087C 0031D7DC B0 07 00 00 */ sth r0, 0(r7) +/* 80320880 0031D7E0 80 86 00 04 */ lwz r4, 4(r6) +/* 80320884 0031D7E4 80 06 00 08 */ lwz r0, 8(r6) +/* 80320888 0031D7E8 90 87 00 04 */ stw r4, 4(r7) +/* 8032088C 0031D7EC 90 07 00 08 */ stw r0, 8(r7) +/* 80320890 0031D7F0 80 06 00 0C */ lwz r0, 0xc(r6) +/* 80320894 0031D7F4 38 C6 FF F0 */ addi r6, r6, -16 +/* 80320898 0031D7F8 90 07 00 0C */ stw r0, 0xc(r7) +/* 8032089C 0031D7FC 38 E7 FF F0 */ addi r7, r7, -16 +lbl_803208A0: +/* 803208A0 0031D800 7C 03 38 40 */ cmplw r3, r7 +/* 803208A4 0031D804 40 80 00 10 */ bge lbl_803208B4 +/* 803208A8 0031D808 C0 06 00 08 */ lfs f0, 8(r6) +/* 803208AC 0031D80C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803208B0 0031D810 41 81 FF C8 */ bgt lbl_80320878 +lbl_803208B4: +/* 803208B4 0031D814 A0 81 00 08 */ lhz r4, 8(r1) +/* 803208B8 0031D818 38 A5 00 10 */ addi r5, r5, 0x10 +/* 803208BC 0031D81C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803208C0 0031D820 B0 87 00 00 */ sth r4, 0(r7) +/* 803208C4 0031D824 80 81 00 10 */ lwz r4, 0x10(r1) +/* 803208C8 0031D828 90 07 00 04 */ stw r0, 4(r7) +/* 803208CC 0031D82C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803208D0 0031D830 90 87 00 08 */ stw r4, 8(r7) +/* 803208D4 0031D834 90 07 00 0C */ stw r0, 0xc(r7) +/* 803208D8 0031D838 42 00 FF 74 */ bdnz lbl_8032084C +lbl_803208DC: +/* 803208DC 0031D83C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803208E0 0031D840 4E 80 00 20 */ blr + +.global sub_803208e4 +sub_803208e4: +/* 803208E4 0031D844 38 A3 00 10 */ addi r5, r3, 0x10 +/* 803208E8 0031D848 38 04 00 0F */ addi r0, r4, 0xf +/* 803208EC 0031D84C 7C 05 00 50 */ subf r0, r5, r0 +/* 803208F0 0031D850 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803208F4 0031D854 54 00 E1 3E */ srwi r0, r0, 4 +/* 803208F8 0031D858 7C 09 03 A6 */ mtctr r0 +/* 803208FC 0031D85C 7C 05 20 40 */ cmplw r5, r4 +/* 80320900 0031D860 40 80 00 AC */ bge lbl_803209AC +lbl_80320904: +/* 80320904 0031D864 A0 85 00 00 */ lhz r4, 0(r5) +/* 80320908 0031D868 7C A7 2B 78 */ mr r7, r5 +/* 8032090C 0031D86C A0 05 00 02 */ lhz r0, 2(r5) +/* 80320910 0031D870 38 C5 FF F0 */ addi r6, r5, -16 +/* 80320914 0031D874 C0 45 00 04 */ lfs f2, 4(r5) +/* 80320918 0031D878 C0 25 00 08 */ lfs f1, 8(r5) +/* 8032091C 0031D87C C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80320920 0031D880 B0 81 00 08 */ sth r4, 8(r1) +/* 80320924 0031D884 B0 01 00 0A */ sth r0, 0xa(r1) +/* 80320928 0031D888 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8032092C 0031D88C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80320930 0031D890 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320934 0031D894 48 00 00 34 */ b lbl_80320968 +lbl_80320938: +/* 80320938 0031D898 A0 06 00 00 */ lhz r0, 0(r6) +/* 8032093C 0031D89C B0 07 00 00 */ sth r0, 0(r7) +/* 80320940 0031D8A0 A0 06 00 02 */ lhz r0, 2(r6) +/* 80320944 0031D8A4 B0 07 00 02 */ sth r0, 2(r7) +/* 80320948 0031D8A8 80 86 00 04 */ lwz r4, 4(r6) +/* 8032094C 0031D8AC 80 06 00 08 */ lwz r0, 8(r6) +/* 80320950 0031D8B0 90 87 00 04 */ stw r4, 4(r7) +/* 80320954 0031D8B4 90 07 00 08 */ stw r0, 8(r7) +/* 80320958 0031D8B8 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8032095C 0031D8BC 38 C6 FF F0 */ addi r6, r6, -16 +/* 80320960 0031D8C0 90 07 00 0C */ stw r0, 0xc(r7) +/* 80320964 0031D8C4 38 E7 FF F0 */ addi r7, r7, -16 +lbl_80320968: +/* 80320968 0031D8C8 7C 03 38 40 */ cmplw r3, r7 +/* 8032096C 0031D8CC 40 80 00 10 */ bge lbl_8032097C +/* 80320970 0031D8D0 C0 06 00 08 */ lfs f0, 8(r6) +/* 80320974 0031D8D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80320978 0031D8D8 41 81 FF C0 */ bgt lbl_80320938 +lbl_8032097C: +/* 8032097C 0031D8DC A0 01 00 08 */ lhz r0, 8(r1) +/* 80320980 0031D8E0 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80320984 0031D8E4 A0 81 00 0A */ lhz r4, 0xa(r1) +/* 80320988 0031D8E8 B0 07 00 00 */ sth r0, 0(r7) +/* 8032098C 0031D8EC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80320990 0031D8F0 B0 87 00 02 */ sth r4, 2(r7) +/* 80320994 0031D8F4 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80320998 0031D8F8 90 07 00 04 */ stw r0, 4(r7) +/* 8032099C 0031D8FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803209A0 0031D900 90 87 00 08 */ stw r4, 8(r7) +/* 803209A4 0031D904 90 07 00 0C */ stw r0, 0xc(r7) +/* 803209A8 0031D908 42 00 FF 5C */ bdnz lbl_80320904 +lbl_803209AC: +/* 803209AC 0031D90C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803209B0 0031D910 4E 80 00 20 */ blr + +.global sub_803209b4 +sub_803209b4: +/* 803209B4 0031D914 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803209B8 0031D918 C0 04 00 08 */ lfs f0, 8(r4) +/* 803209BC 0031D91C C0 43 00 08 */ lfs f2, 8(r3) +/* 803209C0 0031D920 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 803209C4 0031D924 40 81 00 0C */ ble lbl_803209D0 +/* 803209C8 0031D928 38 00 00 01 */ li r0, 1 +/* 803209CC 0031D92C 48 00 00 08 */ b lbl_803209D4 +lbl_803209D0: +/* 803209D0 0031D930 38 00 00 00 */ li r0, 0 +lbl_803209D4: +/* 803209D4 0031D934 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803209D8 0031D938 41 82 00 70 */ beq lbl_80320A48 +/* 803209DC 0031D93C A1 43 00 00 */ lhz r10, 0(r3) +/* 803209E0 0031D940 A1 23 00 02 */ lhz r9, 2(r3) +/* 803209E4 0031D944 C0 23 00 04 */ lfs f1, 4(r3) +/* 803209E8 0031D948 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803209EC 0031D94C A0 04 00 00 */ lhz r0, 0(r4) +/* 803209F0 0031D950 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803209F4 0031D954 B0 03 00 00 */ sth r0, 0(r3) +/* 803209F8 0031D958 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 803209FC 0031D95C A0 04 00 02 */ lhz r0, 2(r4) +/* 80320A00 0031D960 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80320A04 0031D964 B0 03 00 02 */ sth r0, 2(r3) +/* 80320A08 0031D968 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80320A0C 0031D96C 80 04 00 04 */ lwz r0, 4(r4) +/* 80320A10 0031D970 81 04 00 08 */ lwz r8, 8(r4) +/* 80320A14 0031D974 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320A18 0031D978 90 03 00 04 */ stw r0, 4(r3) +/* 80320A1C 0031D97C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320A20 0031D980 91 03 00 08 */ stw r8, 8(r3) +/* 80320A24 0031D984 81 04 00 0C */ lwz r8, 0xc(r4) +/* 80320A28 0031D988 B1 41 00 08 */ sth r10, 8(r1) +/* 80320A2C 0031D98C 91 03 00 0C */ stw r8, 0xc(r3) +/* 80320A30 0031D990 B1 44 00 00 */ sth r10, 0(r4) +/* 80320A34 0031D994 B1 24 00 02 */ sth r9, 2(r4) +/* 80320A38 0031D998 90 E4 00 04 */ stw r7, 4(r4) +/* 80320A3C 0031D99C 90 C4 00 08 */ stw r6, 8(r4) +/* 80320A40 0031D9A0 B1 21 00 0A */ sth r9, 0xa(r1) +/* 80320A44 0031D9A4 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320A48: +/* 80320A48 0031D9A8 C0 45 00 08 */ lfs f2, 8(r5) +/* 80320A4C 0031D9AC C0 04 00 08 */ lfs f0, 8(r4) +/* 80320A50 0031D9B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320A54 0031D9B4 40 81 00 0C */ ble lbl_80320A60 +/* 80320A58 0031D9B8 38 00 00 01 */ li r0, 1 +/* 80320A5C 0031D9BC 48 00 00 08 */ b lbl_80320A64 +lbl_80320A60: +/* 80320A60 0031D9C0 38 00 00 00 */ li r0, 0 +lbl_80320A64: +/* 80320A64 0031D9C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80320A68 0031D9C8 41 82 00 C8 */ beq lbl_80320B30 +/* 80320A6C 0031D9CC A1 45 00 00 */ lhz r10, 0(r5) +/* 80320A70 0031D9D0 A1 25 00 02 */ lhz r9, 2(r5) +/* 80320A74 0031D9D4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80320A78 0031D9D8 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 80320A7C 0031D9DC A0 04 00 00 */ lhz r0, 0(r4) +/* 80320A80 0031D9E0 B1 41 00 18 */ sth r10, 0x18(r1) +/* 80320A84 0031D9E4 B0 05 00 00 */ sth r0, 0(r5) +/* 80320A88 0031D9E8 A0 04 00 02 */ lhz r0, 2(r4) +/* 80320A8C 0031D9EC B1 21 00 1A */ sth r9, 0x1a(r1) +/* 80320A90 0031D9F0 B0 05 00 02 */ sth r0, 2(r5) +/* 80320A94 0031D9F4 80 C4 00 04 */ lwz r6, 4(r4) +/* 80320A98 0031D9F8 80 04 00 08 */ lwz r0, 8(r4) +/* 80320A9C 0031D9FC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80320AA0 0031DA00 90 C5 00 04 */ stw r6, 4(r5) +/* 80320AA4 0031DA04 90 05 00 08 */ stw r0, 8(r5) +/* 80320AA8 0031DA08 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80320AAC 0031DA0C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80320AB0 0031DA10 90 05 00 0C */ stw r0, 0xc(r5) +/* 80320AB4 0031DA14 C0 03 00 08 */ lfs f0, 8(r3) +/* 80320AB8 0031DA18 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80320ABC 0031DA1C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320AC0 0031DA20 40 81 00 50 */ ble lbl_80320B10 +/* 80320AC4 0031DA24 A0 03 00 00 */ lhz r0, 0(r3) +/* 80320AC8 0031DA28 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80320ACC 0031DA2C B0 04 00 00 */ sth r0, 0(r4) +/* 80320AD0 0031DA30 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80320AD4 0031DA34 A0 E3 00 02 */ lhz r7, 2(r3) +/* 80320AD8 0031DA38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320ADC 0031DA3C B0 E4 00 02 */ sth r7, 2(r4) +/* 80320AE0 0031DA40 81 03 00 04 */ lwz r8, 4(r3) +/* 80320AE4 0031DA44 80 E3 00 08 */ lwz r7, 8(r3) +/* 80320AE8 0031DA48 91 04 00 04 */ stw r8, 4(r4) +/* 80320AEC 0031DA4C 90 E4 00 08 */ stw r7, 8(r4) +/* 80320AF0 0031DA50 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 80320AF4 0031DA54 90 E4 00 0C */ stw r7, 0xc(r4) +/* 80320AF8 0031DA58 B1 43 00 00 */ sth r10, 0(r3) +/* 80320AFC 0031DA5C B1 23 00 02 */ sth r9, 2(r3) +/* 80320B00 0031DA60 90 C3 00 04 */ stw r6, 4(r3) +/* 80320B04 0031DA64 90 A3 00 08 */ stw r5, 8(r3) +/* 80320B08 0031DA68 90 03 00 0C */ stw r0, 0xc(r3) +/* 80320B0C 0031DA6C 48 00 00 24 */ b lbl_80320B30 +lbl_80320B10: +/* 80320B10 0031DA70 B1 44 00 00 */ sth r10, 0(r4) +/* 80320B14 0031DA74 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80320B18 0031DA78 B1 24 00 02 */ sth r9, 2(r4) +/* 80320B1C 0031DA7C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80320B20 0031DA80 90 04 00 04 */ stw r0, 4(r4) +/* 80320B24 0031DA84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320B28 0031DA88 90 64 00 08 */ stw r3, 8(r4) +/* 80320B2C 0031DA8C 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320B30: +/* 80320B30 0031DA90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320B34 0031DA94 4E 80 00 20 */ blr + +.global sub_80320b38 +sub_80320b38: +/* 80320B38 0031DA98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320B3C 0031DA9C C0 04 00 08 */ lfs f0, 8(r4) +/* 80320B40 0031DAA0 C0 43 00 08 */ lfs f2, 8(r3) +/* 80320B44 0031DAA4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80320B48 0031DAA8 40 81 00 0C */ ble lbl_80320B54 +/* 80320B4C 0031DAAC 38 00 00 01 */ li r0, 1 +/* 80320B50 0031DAB0 48 00 00 08 */ b lbl_80320B58 +lbl_80320B54: +/* 80320B54 0031DAB4 38 00 00 00 */ li r0, 0 +lbl_80320B58: +/* 80320B58 0031DAB8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80320B5C 0031DABC 41 82 00 5C */ beq lbl_80320BB8 +/* 80320B60 0031DAC0 A1 03 00 00 */ lhz r8, 0(r3) +/* 80320B64 0031DAC4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80320B68 0031DAC8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80320B6C 0031DACC A0 04 00 00 */ lhz r0, 0(r4) +/* 80320B70 0031DAD0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80320B74 0031DAD4 B0 03 00 00 */ sth r0, 0(r3) +/* 80320B78 0031DAD8 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 80320B7C 0031DADC 80 C4 00 04 */ lwz r6, 4(r4) +/* 80320B80 0031DAE0 80 04 00 08 */ lwz r0, 8(r4) +/* 80320B84 0031DAE4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80320B88 0031DAE8 90 C3 00 04 */ stw r6, 4(r3) +/* 80320B8C 0031DAEC 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80320B90 0031DAF0 90 03 00 08 */ stw r0, 8(r3) +/* 80320B94 0031DAF4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80320B98 0031DAF8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320B9C 0031DAFC 90 03 00 0C */ stw r0, 0xc(r3) +/* 80320BA0 0031DB00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320BA4 0031DB04 B1 04 00 00 */ sth r8, 0(r4) +/* 80320BA8 0031DB08 90 E4 00 04 */ stw r7, 4(r4) +/* 80320BAC 0031DB0C 90 C4 00 08 */ stw r6, 8(r4) +/* 80320BB0 0031DB10 B1 01 00 08 */ sth r8, 8(r1) +/* 80320BB4 0031DB14 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320BB8: +/* 80320BB8 0031DB18 C0 45 00 08 */ lfs f2, 8(r5) +/* 80320BBC 0031DB1C C0 04 00 08 */ lfs f0, 8(r4) +/* 80320BC0 0031DB20 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320BC4 0031DB24 40 81 00 0C */ ble lbl_80320BD0 +/* 80320BC8 0031DB28 38 00 00 01 */ li r0, 1 +/* 80320BCC 0031DB2C 48 00 00 08 */ b lbl_80320BD4 +lbl_80320BD0: +/* 80320BD0 0031DB30 38 00 00 00 */ li r0, 0 +lbl_80320BD4: +/* 80320BD4 0031DB34 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80320BD8 0031DB38 41 82 00 A8 */ beq lbl_80320C80 +/* 80320BDC 0031DB3C A1 25 00 00 */ lhz r9, 0(r5) +/* 80320BE0 0031DB40 C0 05 00 04 */ lfs f0, 4(r5) +/* 80320BE4 0031DB44 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 80320BE8 0031DB48 A0 04 00 00 */ lhz r0, 0(r4) +/* 80320BEC 0031DB4C B1 21 00 18 */ sth r9, 0x18(r1) +/* 80320BF0 0031DB50 B0 05 00 00 */ sth r0, 0(r5) +/* 80320BF4 0031DB54 80 C4 00 04 */ lwz r6, 4(r4) +/* 80320BF8 0031DB58 80 04 00 08 */ lwz r0, 8(r4) +/* 80320BFC 0031DB5C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80320C00 0031DB60 90 C5 00 04 */ stw r6, 4(r5) +/* 80320C04 0031DB64 90 05 00 08 */ stw r0, 8(r5) +/* 80320C08 0031DB68 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80320C0C 0031DB6C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80320C10 0031DB70 90 05 00 0C */ stw r0, 0xc(r5) +/* 80320C14 0031DB74 C0 03 00 08 */ lfs f0, 8(r3) +/* 80320C18 0031DB78 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80320C1C 0031DB7C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320C20 0031DB80 40 81 00 44 */ ble lbl_80320C64 +/* 80320C24 0031DB84 A0 03 00 00 */ lhz r0, 0(r3) +/* 80320C28 0031DB88 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80320C2C 0031DB8C B0 04 00 00 */ sth r0, 0(r4) +/* 80320C30 0031DB90 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80320C34 0031DB94 81 03 00 04 */ lwz r8, 4(r3) +/* 80320C38 0031DB98 80 E3 00 08 */ lwz r7, 8(r3) +/* 80320C3C 0031DB9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320C40 0031DBA0 91 04 00 04 */ stw r8, 4(r4) +/* 80320C44 0031DBA4 90 E4 00 08 */ stw r7, 8(r4) +/* 80320C48 0031DBA8 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 80320C4C 0031DBAC 90 E4 00 0C */ stw r7, 0xc(r4) +/* 80320C50 0031DBB0 B1 23 00 00 */ sth r9, 0(r3) +/* 80320C54 0031DBB4 90 C3 00 04 */ stw r6, 4(r3) +/* 80320C58 0031DBB8 90 A3 00 08 */ stw r5, 8(r3) +/* 80320C5C 0031DBBC 90 03 00 0C */ stw r0, 0xc(r3) +/* 80320C60 0031DBC0 48 00 00 20 */ b lbl_80320C80 +lbl_80320C64: +/* 80320C64 0031DBC4 B1 24 00 00 */ sth r9, 0(r4) +/* 80320C68 0031DBC8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80320C6C 0031DBCC 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80320C70 0031DBD0 90 04 00 04 */ stw r0, 4(r4) +/* 80320C74 0031DBD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320C78 0031DBD8 90 64 00 08 */ stw r3, 8(r4) +/* 80320C7C 0031DBDC 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320C80: +/* 80320C80 0031DBE0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320C84 0031DBE4 4E 80 00 20 */ blr + +.global __dt__7CIEGEMT +__dt__7CIEGEMT: +/* 80320C88 0031DBE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320C8C 0031DBEC 7C 08 02 A6 */ mflr r0 +/* 80320C90 0031DBF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320C94 0031DBF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320C98 0031DBF8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80320C9C 0031DBFC 41 82 00 44 */ beq lbl_80320CE0 +/* 80320CA0 0031DC00 3C 60 80 3F */ lis r3, lbl_803EDAF8@ha +/* 80320CA4 0031DC04 38 03 DA F8 */ addi r0, r3, lbl_803EDAF8@l +/* 80320CA8 0031DC08 90 1F 00 00 */ stw r0, 0(r31) +/* 80320CAC 0031DC0C 41 82 00 20 */ beq lbl_80320CCC +/* 80320CB0 0031DC10 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80320CB4 0031DC14 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80320CB8 0031DC18 90 1F 00 00 */ stw r0, 0(r31) +/* 80320CBC 0031DC1C 41 82 00 10 */ beq lbl_80320CCC +/* 80320CC0 0031DC20 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80320CC4 0031DC24 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80320CC8 0031DC28 90 1F 00 00 */ stw r0, 0(r31) +lbl_80320CCC: +/* 80320CCC 0031DC2C 7C 80 07 35 */ extsh. r0, r4 +/* 80320CD0 0031DC30 40 81 00 10 */ ble lbl_80320CE0 +/* 80320CD4 0031DC34 7F E3 FB 78 */ mr r3, r31 +/* 80320CD8 0031DC38 38 80 00 04 */ li r4, 4 +/* 80320CDC 0031DC3C 48 04 BD 89 */ bl sub_8036ca64 +lbl_80320CE0: +/* 80320CE0 0031DC40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320CE4 0031DC44 7F E3 FB 78 */ mr r3, r31 +/* 80320CE8 0031DC48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320CEC 0031DC4C 7C 08 03 A6 */ mtlr r0 +/* 80320CF0 0031DC50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320CF4 0031DC54 4E 80 00 20 */ blr + +.global GetValue__7CIEGEMTCFiRi +GetValue__7CIEGEMTCFiRi: +/* 80320CF8 0031DC58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320CFC 0031DC5C 7C 08 02 A6 */ mflr r0 +/* 80320D00 0031DC60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320D04 0031DC64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320D08 0031DC68 7C BF 2B 78 */ mr r31, r5 +/* 80320D0C 0031DC6C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80320D10 0031DC70 80 63 00 04 */ lwz r3, 4(r3) +/* 80320D14 0031DC74 4B FF 6C 71 */ bl GetEmitterTime__11CElementGenFv +/* 80320D18 0031DC78 90 7F 00 00 */ stw r3, 0(r31) +/* 80320D1C 0031DC7C 38 60 00 00 */ li r3, 0 +/* 80320D20 0031DC80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320D24 0031DC84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320D28 0031DC88 7C 08 03 A6 */ mtlr r0 +/* 80320D2C 0031DC8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320D30 0031DC90 4E 80 00 20 */ blr + +.global GetValue__7CIEGAPCCFiRi +GetValue__7CIEGAPCCFiRi: +/* 80320D34 0031DC94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320D38 0031DC98 7C 08 02 A6 */ mflr r0 +/* 80320D3C 0031DC9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320D40 0031DCA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320D44 0031DCA4 7C BF 2B 78 */ mr r31, r5 +/* 80320D48 0031DCA8 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80320D4C 0031DCAC 80 63 00 04 */ lwz r3, 4(r3) +/* 80320D50 0031DCB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320D54 0031DCB4 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80320D58 0031DCB8 7D 89 03 A6 */ mtctr r12 +/* 80320D5C 0031DCBC 4E 80 04 21 */ bctrl +/* 80320D60 0031DCC0 90 7F 00 00 */ stw r3, 0(r31) +/* 80320D64 0031DCC4 38 60 00 00 */ li r3, 0 +/* 80320D68 0031DCC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320D6C 0031DCCC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320D70 0031DCD0 7C 08 03 A6 */ mtlr r0 +/* 80320D74 0031DCD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320D78 0031DCD8 4E 80 00 20 */ blr + +.global GetValue__7CIEGTCPCFiRi +GetValue__7CIEGTCPCFiRi: +/* 80320D7C 0031DCDC 80 8D A8 F4 */ lwz r4, lbl_805A94B4@sda21(r13) +/* 80320D80 0031DCE0 38 60 00 00 */ li r3, 0 +/* 80320D84 0031DCE4 80 84 00 04 */ lwz r4, 4(r4) +/* 80320D88 0031DCE8 80 04 02 60 */ lwz r0, 0x260(r4) +/* 80320D8C 0031DCEC 90 05 00 00 */ stw r0, 0(r5) +/* 80320D90 0031DCF0 4E 80 00 20 */ blr + +.global GetValue__12CIERealToIntCFiRi +GetValue__12CIERealToIntCFiRi: +/* 80320D94 0031DCF4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320D98 0031DCF8 7C 08 02 A6 */ mflr r0 +/* 80320D9C 0031DCFC C0 22 CA 50 */ lfs f1, lbl_805AE770@sda21(r2) +/* 80320DA0 0031DD00 90 01 00 34 */ stw r0, 0x34(r1) +/* 80320DA4 0031DD04 C0 02 CA 54 */ lfs f0, lbl_805AE774@sda21(r2) +/* 80320DA8 0031DD08 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80320DAC 0031DD0C 7C BF 2B 78 */ mr r31, r5 +/* 80320DB0 0031DD10 38 A1 00 08 */ addi r5, r1, 8 +/* 80320DB4 0031DD14 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80320DB8 0031DD18 7C 9E 23 78 */ mr r30, r4 +/* 80320DBC 0031DD1C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80320DC0 0031DD20 7C 7D 1B 78 */ mr r29, r3 +/* 80320DC4 0031DD24 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80320DC8 0031DD28 80 63 00 08 */ lwz r3, 8(r3) +/* 80320DCC 0031DD2C D0 01 00 08 */ stfs f0, 8(r1) +/* 80320DD0 0031DD30 81 83 00 00 */ lwz r12, 0(r3) +/* 80320DD4 0031DD34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320DD8 0031DD38 7D 89 03 A6 */ mtctr r12 +/* 80320DDC 0031DD3C 4E 80 04 21 */ bctrl +/* 80320DE0 0031DD40 80 7D 00 04 */ lwz r3, 4(r29) +/* 80320DE4 0031DD44 7F C4 F3 78 */ mr r4, r30 +/* 80320DE8 0031DD48 38 A1 00 0C */ addi r5, r1, 0xc +/* 80320DEC 0031DD4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80320DF0 0031DD50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320DF4 0031DD54 7D 89 03 A6 */ mtctr r12 +/* 80320DF8 0031DD58 4E 80 04 21 */ bctrl +/* 80320DFC 0031DD5C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80320E00 0031DD60 38 60 00 00 */ li r3, 0 +/* 80320E04 0031DD64 C0 01 00 08 */ lfs f0, 8(r1) +/* 80320E08 0031DD68 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80320E0C 0031DD6C FC 00 00 1E */ fctiwz f0, f0 +/* 80320E10 0031DD70 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 80320E14 0031DD74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320E18 0031DD78 90 1F 00 00 */ stw r0, 0(r31) +/* 80320E1C 0031DD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80320E20 0031DD80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80320E24 0031DD84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320E28 0031DD88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320E2C 0031DD8C 7C 08 03 A6 */ mtlr r0 +/* 80320E30 0031DD90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320E34 0031DD94 4E 80 00 20 */ blr + +.global __dt__12CIERealToInt +__dt__12CIERealToInt: +/* 80320E38 0031DD98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320E3C 0031DD9C 7C 08 02 A6 */ mflr r0 +/* 80320E40 0031DDA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320E44 0031DDA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320E48 0031DDA8 7C 9F 23 78 */ mr r31, r4 +/* 80320E4C 0031DDAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80320E50 0031DDB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80320E54 0031DDB4 41 82 00 88 */ beq lbl_80320EDC +/* 80320E58 0031DDB8 3C 60 80 3F */ lis r3, lbl_803EDB28@ha +/* 80320E5C 0031DDBC 38 03 DB 28 */ addi r0, r3, lbl_803EDB28@l +/* 80320E60 0031DDC0 90 1E 00 00 */ stw r0, 0(r30) +/* 80320E64 0031DDC4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80320E68 0031DDC8 28 03 00 00 */ cmplwi r3, 0 +/* 80320E6C 0031DDCC 41 82 00 18 */ beq lbl_80320E84 +/* 80320E70 0031DDD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320E74 0031DDD4 38 80 00 01 */ li r4, 1 +/* 80320E78 0031DDD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80320E7C 0031DDDC 7D 89 03 A6 */ mtctr r12 +/* 80320E80 0031DDE0 4E 80 04 21 */ bctrl +lbl_80320E84: +/* 80320E84 0031DDE4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80320E88 0031DDE8 28 03 00 00 */ cmplwi r3, 0 +/* 80320E8C 0031DDEC 41 82 00 18 */ beq lbl_80320EA4 +/* 80320E90 0031DDF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320E94 0031DDF4 38 80 00 01 */ li r4, 1 +/* 80320E98 0031DDF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80320E9C 0031DDFC 7D 89 03 A6 */ mtctr r12 +/* 80320EA0 0031DE00 4E 80 04 21 */ bctrl +lbl_80320EA4: +/* 80320EA4 0031DE04 28 1E 00 00 */ cmplwi r30, 0 +/* 80320EA8 0031DE08 41 82 00 20 */ beq lbl_80320EC8 +/* 80320EAC 0031DE0C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80320EB0 0031DE10 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80320EB4 0031DE14 90 1E 00 00 */ stw r0, 0(r30) +/* 80320EB8 0031DE18 41 82 00 10 */ beq lbl_80320EC8 +/* 80320EBC 0031DE1C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80320EC0 0031DE20 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80320EC4 0031DE24 90 1E 00 00 */ stw r0, 0(r30) +lbl_80320EC8: +/* 80320EC8 0031DE28 7F E0 07 35 */ extsh. r0, r31 +/* 80320ECC 0031DE2C 40 81 00 10 */ ble lbl_80320EDC +/* 80320ED0 0031DE30 7F C3 F3 78 */ mr r3, r30 +/* 80320ED4 0031DE34 38 80 00 0C */ li r4, 0xc +/* 80320ED8 0031DE38 48 04 BB 8D */ bl sub_8036ca64 +lbl_80320EDC: +/* 80320EDC 0031DE3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320EE0 0031DE40 7F C3 F3 78 */ mr r3, r30 +/* 80320EE4 0031DE44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320EE8 0031DE48 83 C1 00 08 */ lwz r30, 8(r1) +/* 80320EEC 0031DE4C 7C 08 03 A6 */ mtlr r0 +/* 80320EF0 0031DE50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320EF4 0031DE54 4E 80 00 20 */ blr + +.global __ct__12CIERealToIntFP12CRealElementP12CRealElement +__ct__12CIERealToIntFP12CRealElementP12CRealElement: +/* 80320EF8 0031DE58 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80320EFC 0031DE5C 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80320F00 0031DE60 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80320F04 0031DE64 3C C0 80 3F */ lis r6, lbl_803EDB28@ha +/* 80320F08 0031DE68 90 03 00 00 */ stw r0, 0(r3) +/* 80320F0C 0031DE6C 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80320F10 0031DE70 38 06 DB 28 */ addi r0, r6, lbl_803EDB28@l +/* 80320F14 0031DE74 90 E3 00 00 */ stw r7, 0(r3) +/* 80320F18 0031DE78 90 03 00 00 */ stw r0, 0(r3) +/* 80320F1C 0031DE7C 90 83 00 04 */ stw r4, 4(r3) +/* 80320F20 0031DE80 90 A3 00 08 */ stw r5, 8(r3) +/* 80320F24 0031DE84 4E 80 00 20 */ blr + +.global GetValue__11CIESubtractCFiRi +GetValue__11CIESubtractCFiRi: +/* 80320F28 0031DE88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80320F2C 0031DE8C 7C 08 02 A6 */ mflr r0 +/* 80320F30 0031DE90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80320F34 0031DE94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80320F38 0031DE98 7C BF 2B 78 */ mr r31, r5 +/* 80320F3C 0031DE9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80320F40 0031DEA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80320F44 0031DEA4 7C 9E 23 78 */ mr r30, r4 +/* 80320F48 0031DEA8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80320F4C 0031DEAC 7C 7D 1B 78 */ mr r29, r3 +/* 80320F50 0031DEB0 80 63 00 04 */ lwz r3, 4(r3) +/* 80320F54 0031DEB4 81 83 00 00 */ lwz r12, 0(r3) +/* 80320F58 0031DEB8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320F5C 0031DEBC 7D 89 03 A6 */ mtctr r12 +/* 80320F60 0031DEC0 4E 80 04 21 */ bctrl +/* 80320F64 0031DEC4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80320F68 0031DEC8 7F C4 F3 78 */ mr r4, r30 +/* 80320F6C 0031DECC 38 A1 00 08 */ addi r5, r1, 8 +/* 80320F70 0031DED0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320F74 0031DED4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320F78 0031DED8 7D 89 03 A6 */ mtctr r12 +/* 80320F7C 0031DEDC 4E 80 04 21 */ bctrl +/* 80320F80 0031DEE0 80 81 00 08 */ lwz r4, 8(r1) +/* 80320F84 0031DEE4 38 60 00 00 */ li r3, 0 +/* 80320F88 0031DEE8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80320F8C 0031DEEC 7C 04 00 50 */ subf r0, r4, r0 +/* 80320F90 0031DEF0 90 1F 00 00 */ stw r0, 0(r31) +/* 80320F94 0031DEF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80320F98 0031DEF8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80320F9C 0031DEFC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80320FA0 0031DF00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320FA4 0031DF04 7C 08 03 A6 */ mtlr r0 +/* 80320FA8 0031DF08 38 21 00 20 */ addi r1, r1, 0x20 +/* 80320FAC 0031DF0C 4E 80 00 20 */ blr + +.global __dt__11CIESubtract +__dt__11CIESubtract: +/* 80320FB0 0031DF10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320FB4 0031DF14 7C 08 02 A6 */ mflr r0 +/* 80320FB8 0031DF18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320FBC 0031DF1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320FC0 0031DF20 7C 9F 23 78 */ mr r31, r4 +/* 80320FC4 0031DF24 93 C1 00 08 */ stw r30, 8(r1) +/* 80320FC8 0031DF28 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80320FCC 0031DF2C 41 82 00 88 */ beq lbl_80321054 +/* 80320FD0 0031DF30 3C 60 80 3F */ lis r3, lbl_803EDB38@ha +/* 80320FD4 0031DF34 38 03 DB 38 */ addi r0, r3, lbl_803EDB38@l +/* 80320FD8 0031DF38 90 1E 00 00 */ stw r0, 0(r30) +/* 80320FDC 0031DF3C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80320FE0 0031DF40 28 03 00 00 */ cmplwi r3, 0 +/* 80320FE4 0031DF44 41 82 00 18 */ beq lbl_80320FFC +/* 80320FE8 0031DF48 81 83 00 00 */ lwz r12, 0(r3) +/* 80320FEC 0031DF4C 38 80 00 01 */ li r4, 1 +/* 80320FF0 0031DF50 81 8C 00 08 */ lwz r12, 8(r12) +/* 80320FF4 0031DF54 7D 89 03 A6 */ mtctr r12 +/* 80320FF8 0031DF58 4E 80 04 21 */ bctrl +lbl_80320FFC: +/* 80320FFC 0031DF5C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80321000 0031DF60 28 03 00 00 */ cmplwi r3, 0 +/* 80321004 0031DF64 41 82 00 18 */ beq lbl_8032101C +/* 80321008 0031DF68 81 83 00 00 */ lwz r12, 0(r3) +/* 8032100C 0031DF6C 38 80 00 01 */ li r4, 1 +/* 80321010 0031DF70 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321014 0031DF74 7D 89 03 A6 */ mtctr r12 +/* 80321018 0031DF78 4E 80 04 21 */ bctrl +lbl_8032101C: +/* 8032101C 0031DF7C 28 1E 00 00 */ cmplwi r30, 0 +/* 80321020 0031DF80 41 82 00 20 */ beq lbl_80321040 +/* 80321024 0031DF84 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321028 0031DF88 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 8032102C 0031DF8C 90 1E 00 00 */ stw r0, 0(r30) +/* 80321030 0031DF90 41 82 00 10 */ beq lbl_80321040 +/* 80321034 0031DF94 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321038 0031DF98 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8032103C 0031DF9C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321040: +/* 80321040 0031DFA0 7F E0 07 35 */ extsh. r0, r31 +/* 80321044 0031DFA4 40 81 00 10 */ ble lbl_80321054 +/* 80321048 0031DFA8 7F C3 F3 78 */ mr r3, r30 +/* 8032104C 0031DFAC 38 80 00 0C */ li r4, 0xc +/* 80321050 0031DFB0 48 04 BA 15 */ bl sub_8036ca64 +lbl_80321054: +/* 80321054 0031DFB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321058 0031DFB8 7F C3 F3 78 */ mr r3, r30 +/* 8032105C 0031DFBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321060 0031DFC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321064 0031DFC4 7C 08 03 A6 */ mtlr r0 +/* 80321068 0031DFC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032106C 0031DFCC 4E 80 00 20 */ blr + +.global __ct__11CIESubtractFP11CIntElementP11CIntElement +__ct__11CIESubtractFP11CIntElementP11CIntElement: +/* 80321070 0031DFD0 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80321074 0031DFD4 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80321078 0031DFD8 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8032107C 0031DFDC 3C C0 80 3F */ lis r6, lbl_803EDB38@ha +/* 80321080 0031DFE0 90 03 00 00 */ stw r0, 0(r3) +/* 80321084 0031DFE4 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80321088 0031DFE8 38 06 DB 38 */ addi r0, r6, lbl_803EDB38@l +/* 8032108C 0031DFEC 90 E3 00 00 */ stw r7, 0(r3) +/* 80321090 0031DFF0 90 03 00 00 */ stw r0, 0(r3) +/* 80321094 0031DFF4 90 83 00 04 */ stw r4, 4(r3) +/* 80321098 0031DFF8 90 A3 00 08 */ stw r5, 8(r3) +/* 8032109C 0031DFFC 4E 80 00 20 */ blr + +.global GetValue__18CIEKeyframeEmitterCFiRi +GetValue__18CIEKeyframeEmitterCFiRi: +/* 803210A0 0031E000 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803210A4 0031E004 80 03 00 04 */ lwz r0, 4(r3) +/* 803210A8 0031E008 2C 00 00 00 */ cmpwi r0, 0 +/* 803210AC 0031E00C 40 82 00 A0 */ bne lbl_8032114C +/* 803210B0 0031E010 88 03 00 0C */ lbz r0, 0xc(r3) +/* 803210B4 0031E014 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) +/* 803210B8 0031E018 28 00 00 00 */ cmplwi r0, 0 +/* 803210BC 0031E01C 91 01 00 0C */ stw r8, 0xc(r1) +/* 803210C0 0031E020 41 82 00 50 */ beq lbl_80321110 +/* 803210C4 0031E024 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803210C8 0031E028 7C 08 00 00 */ cmpw r8, r0 +/* 803210CC 0031E02C 41 80 00 2C */ blt lbl_803210F8 +/* 803210D0 0031E030 80 E3 00 14 */ lwz r7, 0x14(r3) +/* 803210D4 0031E034 7C C7 40 50 */ subf r6, r7, r8 +/* 803210D8 0031E038 7C 87 00 50 */ subf r4, r7, r0 +/* 803210DC 0031E03C 7C 06 23 D6 */ divw r0, r6, r4 +/* 803210E0 0031E040 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803210E4 0031E044 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803210E8 0031E048 7C 00 30 50 */ subf r0, r0, r6 +/* 803210EC 0031E04C 90 01 00 0C */ stw r0, 0xc(r1) +/* 803210F0 0031E050 7C 00 3A 14 */ add r0, r0, r7 +/* 803210F4 0031E054 90 01 00 0C */ stw r0, 0xc(r1) +lbl_803210F8: +/* 803210F8 0031E058 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803210FC 0031E05C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80321100 0031E060 54 00 10 3A */ slwi r0, r0, 2 +/* 80321104 0031E064 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80321108 0031E068 90 05 00 00 */ stw r0, 0(r5) +/* 8032110C 0031E06C 48 00 00 38 */ b lbl_80321144 +lbl_80321110: +/* 80321110 0031E070 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80321114 0031E074 38 81 00 0C */ addi r4, r1, 0xc +/* 80321118 0031E078 38 06 FF FF */ addi r0, r6, -1 +/* 8032111C 0031E07C 7C 00 40 00 */ cmpw r0, r8 +/* 80321120 0031E080 90 01 00 08 */ stw r0, 8(r1) +/* 80321124 0031E084 40 80 00 08 */ bge lbl_8032112C +/* 80321128 0031E088 38 81 00 08 */ addi r4, r1, 8 +lbl_8032112C: +/* 8032112C 0031E08C 80 04 00 00 */ lwz r0, 0(r4) +/* 80321130 0031E090 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80321134 0031E094 90 01 00 0C */ stw r0, 0xc(r1) +/* 80321138 0031E098 54 00 10 3A */ slwi r0, r0, 2 +/* 8032113C 0031E09C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80321140 0031E0A0 90 05 00 00 */ stw r0, 0(r5) +lbl_80321144: +/* 80321144 0031E0A4 38 60 00 00 */ li r3, 0 +/* 80321148 0031E0A8 48 00 00 94 */ b lbl_803211DC +lbl_8032114C: +/* 8032114C 0031E0AC 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 80321150 0031E0B0 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80321154 0031E0B4 40 82 00 18 */ bne lbl_8032116C +/* 80321158 0031E0B8 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032115C 0031E0BC 54 80 10 3A */ slwi r0, r4, 2 +/* 80321160 0031E0C0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80321164 0031E0C4 90 05 00 00 */ stw r0, 0(r5) +/* 80321168 0031E0C8 48 00 00 70 */ b lbl_803211D8 +lbl_8032116C: +/* 8032116C 0031E0CC 38 04 00 01 */ addi r0, r4, 1 +/* 80321170 0031E0D0 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80321174 0031E0D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80321178 0031E0D8 3C 60 43 30 */ lis r3, 0x4330 +/* 8032117C 0031E0DC 7C 06 00 2E */ lwzx r0, r6, r0 +/* 80321180 0031E0E0 54 84 10 3A */ slwi r4, r4, 2 +/* 80321184 0031E0E4 7C 86 20 2E */ lwzx r4, r6, r4 +/* 80321188 0031E0E8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032118C 0031E0EC 90 61 00 18 */ stw r3, 0x18(r1) +/* 80321190 0031E0F0 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80321194 0031E0F4 C8 42 CA 58 */ lfd f2, lbl_805AE778@sda21(r2) +/* 80321198 0031E0F8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8032119C 0031E0FC C0 8D A8 E8 */ lfs f4, lbl_805A94A8@sda21(r13) +/* 803211A0 0031E100 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 803211A4 0031E104 90 81 00 14 */ stw r4, 0x14(r1) +/* 803211A8 0031E108 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803211AC 0031E10C C0 22 CA 54 */ lfs f1, lbl_805AE774@sda21(r2) +/* 803211B0 0031E110 90 61 00 10 */ stw r3, 0x10(r1) +/* 803211B4 0031E114 EC 61 20 28 */ fsubs f3, f1, f4 +/* 803211B8 0031E118 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 803211BC 0031E11C EC 04 00 32 */ fmuls f0, f4, f0 +/* 803211C0 0031E120 EC 21 10 28 */ fsubs f1, f1, f2 +/* 803211C4 0031E124 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803211C8 0031E128 FC 00 00 1E */ fctiwz f0, f0 +/* 803211CC 0031E12C D8 01 00 20 */ stfd f0, 0x20(r1) +/* 803211D0 0031E130 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803211D4 0031E134 90 05 00 00 */ stw r0, 0(r5) +lbl_803211D8: +/* 803211D8 0031E138 38 60 00 00 */ li r3, 0 +lbl_803211DC: +/* 803211DC 0031E13C 38 21 00 30 */ addi r1, r1, 0x30 +/* 803211E0 0031E140 4E 80 00 20 */ blr + +.global __dt__18CIEKeyframeEmitter +__dt__18CIEKeyframeEmitter: +/* 803211E4 0031E144 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803211E8 0031E148 7C 08 02 A6 */ mflr r0 +/* 803211EC 0031E14C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803211F0 0031E150 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803211F4 0031E154 7C 9F 23 78 */ mr r31, r4 +/* 803211F8 0031E158 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803211FC 0031E15C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321200 0031E160 41 82 00 90 */ beq lbl_80321290 +/* 80321204 0031E164 3C 60 80 3F */ lis r3, lbl_803EDB48@ha +/* 80321208 0031E168 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8032120C 0031E16C 38 03 DB 48 */ addi r0, r3, lbl_803EDB48@l +/* 80321210 0031E170 90 1E 00 00 */ stw r0, 0(r30) +/* 80321214 0031E174 41 82 00 44 */ beq lbl_80321258 +/* 80321218 0031E178 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8032121C 0031E17C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80321220 0031E180 54 00 10 3A */ slwi r0, r0, 2 +/* 80321224 0031E184 7C 03 02 14 */ add r0, r3, r0 +/* 80321228 0031E188 90 61 00 0C */ stw r3, 0xc(r1) +/* 8032122C 0031E18C 7C 64 1B 78 */ mr r4, r3 +/* 80321230 0031E190 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321234 0031E194 90 01 00 10 */ stw r0, 0x10(r1) +/* 80321238 0031E198 90 61 00 08 */ stw r3, 8(r1) +/* 8032123C 0031E19C 48 00 00 08 */ b lbl_80321244 +lbl_80321240: +/* 80321240 0031E1A0 38 84 00 04 */ addi r4, r4, 4 +lbl_80321244: +/* 80321244 0031E1A4 7C 04 00 40 */ cmplw r4, r0 +/* 80321248 0031E1A8 40 82 FF F8 */ bne lbl_80321240 +/* 8032124C 0031E1AC 28 03 00 00 */ cmplwi r3, 0 +/* 80321250 0031E1B0 41 82 00 08 */ beq lbl_80321258 +/* 80321254 0031E1B4 4B FF 46 DD */ bl Free__7CMemoryFPCv +lbl_80321258: +/* 80321258 0031E1B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032125C 0031E1BC 41 82 00 20 */ beq lbl_8032127C +/* 80321260 0031E1C0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321264 0031E1C4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321268 0031E1C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032126C 0031E1CC 41 82 00 10 */ beq lbl_8032127C +/* 80321270 0031E1D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321274 0031E1D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321278 0031E1D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032127C: +/* 8032127C 0031E1DC 7F E0 07 35 */ extsh. r0, r31 +/* 80321280 0031E1E0 40 81 00 10 */ ble lbl_80321290 +/* 80321284 0031E1E4 7F C3 F3 78 */ mr r3, r30 +/* 80321288 0031E1E8 38 80 00 28 */ li r4, 0x28 +/* 8032128C 0031E1EC 48 04 B7 D9 */ bl sub_8036ca64 +lbl_80321290: +/* 80321290 0031E1F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321294 0031E1F4 7F C3 F3 78 */ mr r3, r30 +/* 80321298 0031E1F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032129C 0031E1FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803212A0 0031E200 7C 08 03 A6 */ mtlr r0 +/* 803212A4 0031E204 38 21 00 20 */ addi r1, r1, 0x20 +/* 803212A8 0031E208 4E 80 00 20 */ blr + +.global __ct__18CIEKeyframeEmitterFR12CInputStream +__ct__18CIEKeyframeEmitterFR12CInputStream: +/* 803212AC 0031E20C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803212B0 0031E210 7C 08 02 A6 */ mflr r0 +/* 803212B4 0031E214 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 803212B8 0031E218 90 01 00 24 */ stw r0, 0x24(r1) +/* 803212BC 0031E21C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803212C0 0031E220 7C 7E 1B 78 */ mr r30, r3 +/* 803212C4 0031E224 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803212C8 0031E228 7C 9F 23 78 */ mr r31, r4 +/* 803212CC 0031E22C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803212D0 0031E230 7F C6 F3 78 */ mr r6, r30 +/* 803212D4 0031E234 3C 60 80 3F */ lis r3, lbl_803EDB48@ha +/* 803212D8 0031E238 90 1E 00 00 */ stw r0, 0(r30) +/* 803212DC 0031E23C 38 05 C5 84 */ addi r0, r5, lbl_803EC584@l +/* 803212E0 0031E240 90 1E 00 00 */ stw r0, 0(r30) +/* 803212E4 0031E244 38 03 DB 48 */ addi r0, r3, lbl_803EDB48@l +/* 803212E8 0031E248 7F E3 FB 78 */ mr r3, r31 +/* 803212EC 0031E24C 90 1E 00 00 */ stw r0, 0(r30) +/* 803212F0 0031E250 48 01 D9 95 */ bl ReadLong__12CInputStreamFv +/* 803212F4 0031E254 90 7E 00 04 */ stw r3, 4(r30) +/* 803212F8 0031E258 7F E3 FB 78 */ mr r3, r31 +/* 803212FC 0031E25C 48 01 D9 89 */ bl ReadLong__12CInputStreamFv +/* 80321300 0031E260 90 7E 00 08 */ stw r3, 8(r30) +/* 80321304 0031E264 7F E3 FB 78 */ mr r3, r31 +/* 80321308 0031E268 48 01 D9 D5 */ bl ReadBool__12CInputStreamFv +/* 8032130C 0031E26C 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80321310 0031E270 7F E3 FB 78 */ mr r3, r31 +/* 80321314 0031E274 48 01 D9 C9 */ bl ReadBool__12CInputStreamFv +/* 80321318 0031E278 98 7E 00 0D */ stb r3, 0xd(r30) +/* 8032131C 0031E27C 7F E3 FB 78 */ mr r3, r31 +/* 80321320 0031E280 48 01 D9 65 */ bl ReadLong__12CInputStreamFv +/* 80321324 0031E284 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80321328 0031E288 7F E3 FB 78 */ mr r3, r31 +/* 8032132C 0031E28C 48 01 D9 59 */ bl ReadLong__12CInputStreamFv +/* 80321330 0031E290 90 7E 00 14 */ stw r3, 0x14(r30) +/* 80321334 0031E294 38 00 00 00 */ li r0, 0 +/* 80321338 0031E298 7F E3 FB 78 */ mr r3, r31 +/* 8032133C 0031E29C 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80321340 0031E2A0 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80321344 0031E2A4 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80321348 0031E2A8 48 01 D9 3D */ bl ReadLong__12CInputStreamFv +/* 8032134C 0031E2AC 7C 7B 1B 78 */ mr r27, r3 +/* 80321350 0031E2B0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80321354 0031E2B4 7F 64 DB 78 */ mr r4, r27 +/* 80321358 0031E2B8 4B D3 89 51 */ bl "reserve__Q24rstl36vectorFi" +/* 8032135C 0031E2BC 3B 80 00 00 */ li r28, 0 +/* 80321360 0031E2C0 48 00 00 60 */ b lbl_803213C0 +lbl_80321364: +/* 80321364 0031E2C4 7F E3 FB 78 */ mr r3, r31 +/* 80321368 0031E2C8 48 01 D9 1D */ bl ReadLong__12CInputStreamFv +/* 8032136C 0031E2CC 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80321370 0031E2D0 7C 7D 1B 78 */ mr r29, r3 +/* 80321374 0031E2D4 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 80321378 0031E2D8 7C 00 28 00 */ cmpw r0, r5 +/* 8032137C 0031E2DC 41 80 00 1C */ blt lbl_80321398 +/* 80321380 0031E2E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80321384 0031E2E4 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80321388 0031E2E8 38 80 00 04 */ li r4, 4 +/* 8032138C 0031E2EC 41 82 00 08 */ beq lbl_80321394 +/* 80321390 0031E2F0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80321394: +/* 80321394 0031E2F4 4B D3 89 15 */ bl "reserve__Q24rstl36vectorFi" +lbl_80321398: +/* 80321398 0031E2F8 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8032139C 0031E2FC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803213A0 0031E300 54 00 10 3A */ slwi r0, r0, 2 +/* 803213A4 0031E304 7C 63 02 15 */ add. r3, r3, r0 +/* 803213A8 0031E308 41 82 00 08 */ beq lbl_803213B0 +/* 803213AC 0031E30C 93 A3 00 00 */ stw r29, 0(r3) +lbl_803213B0: +/* 803213B0 0031E310 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 803213B4 0031E314 3B 9C 00 01 */ addi r28, r28, 1 +/* 803213B8 0031E318 38 03 00 01 */ addi r0, r3, 1 +/* 803213BC 0031E31C 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_803213C0: +/* 803213C0 0031E320 7C 1C D8 00 */ cmpw r28, r27 +/* 803213C4 0031E324 41 80 FF A0 */ blt lbl_80321364 +/* 803213C8 0031E328 7F C3 F3 78 */ mr r3, r30 +/* 803213CC 0031E32C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803213D0 0031E330 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803213D4 0031E334 7C 08 03 A6 */ mtlr r0 +/* 803213D8 0031E338 38 21 00 20 */ addi r1, r1, 0x20 +/* 803213DC 0031E33C 4E 80 00 20 */ blr + +.global GetValue__18CIELifetimePercentCFiRi +GetValue__18CIELifetimePercentCFiRi: +/* 803213E0 0031E340 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803213E4 0031E344 7C 08 02 A6 */ mflr r0 +/* 803213E8 0031E348 90 01 00 34 */ stw r0, 0x34(r1) +/* 803213EC 0031E34C 38 00 00 00 */ li r0, 0 +/* 803213F0 0031E350 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803213F4 0031E354 7C BF 2B 78 */ mr r31, r5 +/* 803213F8 0031E358 38 A1 00 08 */ addi r5, r1, 8 +/* 803213FC 0031E35C 90 01 00 08 */ stw r0, 8(r1) +/* 80321400 0031E360 80 63 00 04 */ lwz r3, 4(r3) +/* 80321404 0031E364 81 83 00 00 */ lwz r12, 0(r3) +/* 80321408 0031E368 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032140C 0031E36C 7D 89 03 A6 */ mtctr r12 +/* 80321410 0031E370 4E 80 04 21 */ bctrl +/* 80321414 0031E374 80 01 00 08 */ lwz r0, 8(r1) +/* 80321418 0031E378 2C 00 00 00 */ cmpwi r0, 0 +/* 8032141C 0031E37C 40 80 00 0C */ bge lbl_80321428 +/* 80321420 0031E380 38 00 00 00 */ li r0, 0 +/* 80321424 0031E384 90 01 00 08 */ stw r0, 8(r1) +lbl_80321428: +/* 80321428 0031E388 80 81 00 08 */ lwz r4, 8(r1) +/* 8032142C 0031E38C 3C 00 43 30 */ lis r0, 0x4330 +/* 80321430 0031E390 90 01 00 10 */ stw r0, 0x10(r1) +/* 80321434 0031E394 38 60 00 00 */ li r3, 0 +/* 80321438 0031E398 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 8032143C 0031E39C C8 62 CA 58 */ lfd f3, lbl_805AE778@sda21(r2) +/* 80321440 0031E3A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321444 0031E3A4 C0 42 CA 64 */ lfs f2, lbl_805AE784@sda21(r2) +/* 80321448 0031E3A8 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8032144C 0031E3AC C0 2D A8 D4 */ lfs f1, lbl_805A9494@sda21(r13) +/* 80321450 0031E3B0 EC 60 18 28 */ fsubs f3, f0, f3 +/* 80321454 0031E3B4 C0 02 CA 60 */ lfs f0, lbl_805AE780@sda21(r2) +/* 80321458 0031E3B8 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8032145C 0031E3BC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80321460 0031E3C0 FC 00 00 1E */ fctiwz f0, f0 +/* 80321464 0031E3C4 D8 01 00 18 */ stfd f0, 0x18(r1) +/* 80321468 0031E3C8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8032146C 0031E3CC 90 1F 00 00 */ stw r0, 0(r31) +/* 80321470 0031E3D0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80321474 0031E3D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80321478 0031E3D8 7C 08 03 A6 */ mtlr r0 +/* 8032147C 0031E3DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80321480 0031E3E0 4E 80 00 20 */ blr + +.global __dt__18CIELifetimePercent +__dt__18CIELifetimePercent: +/* 80321484 0031E3E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321488 0031E3E8 7C 08 02 A6 */ mflr r0 +/* 8032148C 0031E3EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321490 0031E3F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321494 0031E3F4 7C 9F 23 78 */ mr r31, r4 +/* 80321498 0031E3F8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032149C 0031E3FC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803214A0 0031E400 41 82 00 68 */ beq lbl_80321508 +/* 803214A4 0031E404 3C 60 80 3F */ lis r3, lbl_803EDB58@ha +/* 803214A8 0031E408 38 03 DB 58 */ addi r0, r3, lbl_803EDB58@l +/* 803214AC 0031E40C 90 1E 00 00 */ stw r0, 0(r30) +/* 803214B0 0031E410 80 7E 00 04 */ lwz r3, 4(r30) +/* 803214B4 0031E414 28 03 00 00 */ cmplwi r3, 0 +/* 803214B8 0031E418 41 82 00 18 */ beq lbl_803214D0 +/* 803214BC 0031E41C 81 83 00 00 */ lwz r12, 0(r3) +/* 803214C0 0031E420 38 80 00 01 */ li r4, 1 +/* 803214C4 0031E424 81 8C 00 08 */ lwz r12, 8(r12) +/* 803214C8 0031E428 7D 89 03 A6 */ mtctr r12 +/* 803214CC 0031E42C 4E 80 04 21 */ bctrl +lbl_803214D0: +/* 803214D0 0031E430 28 1E 00 00 */ cmplwi r30, 0 +/* 803214D4 0031E434 41 82 00 20 */ beq lbl_803214F4 +/* 803214D8 0031E438 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803214DC 0031E43C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803214E0 0031E440 90 1E 00 00 */ stw r0, 0(r30) +/* 803214E4 0031E444 41 82 00 10 */ beq lbl_803214F4 +/* 803214E8 0031E448 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803214EC 0031E44C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803214F0 0031E450 90 1E 00 00 */ stw r0, 0(r30) +lbl_803214F4: +/* 803214F4 0031E454 7F E0 07 35 */ extsh. r0, r31 +/* 803214F8 0031E458 40 81 00 10 */ ble lbl_80321508 +/* 803214FC 0031E45C 7F C3 F3 78 */ mr r3, r30 +/* 80321500 0031E460 38 80 00 08 */ li r4, 8 +/* 80321504 0031E464 48 04 B5 61 */ bl sub_8036ca64 +lbl_80321508: +/* 80321508 0031E468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032150C 0031E46C 7F C3 F3 78 */ mr r3, r30 +/* 80321510 0031E470 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321514 0031E474 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321518 0031E478 7C 08 03 A6 */ mtlr r0 +/* 8032151C 0031E47C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321520 0031E480 4E 80 00 20 */ blr + +.global __ct__18CIELifetimePercentFP11CIntElement +__ct__18CIELifetimePercentFP11CIntElement: +/* 80321524 0031E484 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80321528 0031E488 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 8032152C 0031E48C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80321530 0031E490 3C A0 80 3F */ lis r5, lbl_803EDB58@ha +/* 80321534 0031E494 90 03 00 00 */ stw r0, 0(r3) +/* 80321538 0031E498 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 8032153C 0031E49C 38 05 DB 58 */ addi r0, r5, lbl_803EDB58@l +/* 80321540 0031E4A0 90 C3 00 00 */ stw r6, 0(r3) +/* 80321544 0031E4A4 90 03 00 00 */ stw r0, 0(r3) +/* 80321548 0031E4A8 90 83 00 04 */ stw r4, 4(r3) +/* 8032154C 0031E4AC 4E 80 00 20 */ blr + +.global GetValue__8CIEPulseCFiRi +GetValue__8CIEPulseCFiRi: +/* 80321550 0031E4B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321554 0031E4B4 7C 08 02 A6 */ mflr r0 +/* 80321558 0031E4B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032155C 0031E4BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321560 0031E4C0 7C BF 2B 78 */ mr r31, r5 +/* 80321564 0031E4C4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80321568 0031E4C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032156C 0031E4CC 7C 9E 23 78 */ mr r30, r4 +/* 80321570 0031E4D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321574 0031E4D4 7C 7D 1B 78 */ mr r29, r3 +/* 80321578 0031E4D8 80 63 00 04 */ lwz r3, 4(r3) +/* 8032157C 0031E4DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80321580 0031E4E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321584 0031E4E4 7D 89 03 A6 */ mtctr r12 +/* 80321588 0031E4E8 4E 80 04 21 */ bctrl +/* 8032158C 0031E4EC 80 7D 00 08 */ lwz r3, 8(r29) +/* 80321590 0031E4F0 7F C4 F3 78 */ mr r4, r30 +/* 80321594 0031E4F4 38 A1 00 08 */ addi r5, r1, 8 +/* 80321598 0031E4F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032159C 0031E4FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803215A0 0031E500 7D 89 03 A6 */ mtctr r12 +/* 803215A4 0031E504 4E 80 04 21 */ bctrl +/* 803215A8 0031E508 80 61 00 08 */ lwz r3, 8(r1) +/* 803215AC 0031E50C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803215B0 0031E510 38 A3 00 01 */ addi r5, r3, 1 +/* 803215B4 0031E514 7C A4 2A 15 */ add. r5, r4, r5 +/* 803215B8 0031E518 40 80 00 08 */ bge lbl_803215C0 +/* 803215BC 0031E51C 38 A0 00 01 */ li r5, 1 +lbl_803215C0: +/* 803215C0 0031E520 2C 03 00 01 */ cmpwi r3, 1 +/* 803215C4 0031E524 41 80 00 58 */ blt lbl_8032161C +/* 803215C8 0031E528 7C 1E 2B D6 */ divw r0, r30, r5 +/* 803215CC 0031E52C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 803215D0 0031E530 7C 00 F0 50 */ subf r0, r0, r30 +/* 803215D4 0031E534 7C 00 20 00 */ cmpw r0, r4 +/* 803215D8 0031E538 40 81 00 24 */ ble lbl_803215FC +/* 803215DC 0031E53C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803215E0 0031E540 7F C4 F3 78 */ mr r4, r30 +/* 803215E4 0031E544 7F E5 FB 78 */ mr r5, r31 +/* 803215E8 0031E548 81 83 00 00 */ lwz r12, 0(r3) +/* 803215EC 0031E54C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803215F0 0031E550 7D 89 03 A6 */ mtctr r12 +/* 803215F4 0031E554 4E 80 04 21 */ bctrl +/* 803215F8 0031E558 48 00 00 40 */ b lbl_80321638 +lbl_803215FC: +/* 803215FC 0031E55C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80321600 0031E560 7F C4 F3 78 */ mr r4, r30 +/* 80321604 0031E564 7F E5 FB 78 */ mr r5, r31 +/* 80321608 0031E568 81 83 00 00 */ lwz r12, 0(r3) +/* 8032160C 0031E56C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321610 0031E570 7D 89 03 A6 */ mtctr r12 +/* 80321614 0031E574 4E 80 04 21 */ bctrl +/* 80321618 0031E578 48 00 00 20 */ b lbl_80321638 +lbl_8032161C: +/* 8032161C 0031E57C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80321620 0031E580 7F C4 F3 78 */ mr r4, r30 +/* 80321624 0031E584 7F E5 FB 78 */ mr r5, r31 +/* 80321628 0031E588 81 83 00 00 */ lwz r12, 0(r3) +/* 8032162C 0031E58C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321630 0031E590 7D 89 03 A6 */ mtctr r12 +/* 80321634 0031E594 4E 80 04 21 */ bctrl +lbl_80321638: +/* 80321638 0031E598 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032163C 0031E59C 38 60 00 00 */ li r3, 0 +/* 80321640 0031E5A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321644 0031E5A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80321648 0031E5A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032164C 0031E5AC 7C 08 03 A6 */ mtlr r0 +/* 80321650 0031E5B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321654 0031E5B4 4E 80 00 20 */ blr + +.global __dt__8CIEPulse +__dt__8CIEPulse: +/* 80321658 0031E5B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032165C 0031E5BC 7C 08 02 A6 */ mflr r0 +/* 80321660 0031E5C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321664 0031E5C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321668 0031E5C8 7C 9F 23 78 */ mr r31, r4 +/* 8032166C 0031E5CC 93 C1 00 08 */ stw r30, 8(r1) +/* 80321670 0031E5D0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321674 0031E5D4 41 82 00 C8 */ beq lbl_8032173C +/* 80321678 0031E5D8 3C 60 80 3F */ lis r3, lbl_803EDB68@ha +/* 8032167C 0031E5DC 38 03 DB 68 */ addi r0, r3, lbl_803EDB68@l +/* 80321680 0031E5E0 90 1E 00 00 */ stw r0, 0(r30) +/* 80321684 0031E5E4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321688 0031E5E8 28 03 00 00 */ cmplwi r3, 0 +/* 8032168C 0031E5EC 41 82 00 18 */ beq lbl_803216A4 +/* 80321690 0031E5F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321694 0031E5F4 38 80 00 01 */ li r4, 1 +/* 80321698 0031E5F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032169C 0031E5FC 7D 89 03 A6 */ mtctr r12 +/* 803216A0 0031E600 4E 80 04 21 */ bctrl +lbl_803216A4: +/* 803216A4 0031E604 80 7E 00 08 */ lwz r3, 8(r30) +/* 803216A8 0031E608 28 03 00 00 */ cmplwi r3, 0 +/* 803216AC 0031E60C 41 82 00 18 */ beq lbl_803216C4 +/* 803216B0 0031E610 81 83 00 00 */ lwz r12, 0(r3) +/* 803216B4 0031E614 38 80 00 01 */ li r4, 1 +/* 803216B8 0031E618 81 8C 00 08 */ lwz r12, 8(r12) +/* 803216BC 0031E61C 7D 89 03 A6 */ mtctr r12 +/* 803216C0 0031E620 4E 80 04 21 */ bctrl +lbl_803216C4: +/* 803216C4 0031E624 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803216C8 0031E628 28 03 00 00 */ cmplwi r3, 0 +/* 803216CC 0031E62C 41 82 00 18 */ beq lbl_803216E4 +/* 803216D0 0031E630 81 83 00 00 */ lwz r12, 0(r3) +/* 803216D4 0031E634 38 80 00 01 */ li r4, 1 +/* 803216D8 0031E638 81 8C 00 08 */ lwz r12, 8(r12) +/* 803216DC 0031E63C 7D 89 03 A6 */ mtctr r12 +/* 803216E0 0031E640 4E 80 04 21 */ bctrl +lbl_803216E4: +/* 803216E4 0031E644 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803216E8 0031E648 28 03 00 00 */ cmplwi r3, 0 +/* 803216EC 0031E64C 41 82 00 18 */ beq lbl_80321704 +/* 803216F0 0031E650 81 83 00 00 */ lwz r12, 0(r3) +/* 803216F4 0031E654 38 80 00 01 */ li r4, 1 +/* 803216F8 0031E658 81 8C 00 08 */ lwz r12, 8(r12) +/* 803216FC 0031E65C 7D 89 03 A6 */ mtctr r12 +/* 80321700 0031E660 4E 80 04 21 */ bctrl +lbl_80321704: +/* 80321704 0031E664 28 1E 00 00 */ cmplwi r30, 0 +/* 80321708 0031E668 41 82 00 20 */ beq lbl_80321728 +/* 8032170C 0031E66C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321710 0031E670 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321714 0031E674 90 1E 00 00 */ stw r0, 0(r30) +/* 80321718 0031E678 41 82 00 10 */ beq lbl_80321728 +/* 8032171C 0031E67C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321720 0031E680 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321724 0031E684 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321728: +/* 80321728 0031E688 7F E0 07 35 */ extsh. r0, r31 +/* 8032172C 0031E68C 40 81 00 10 */ ble lbl_8032173C +/* 80321730 0031E690 7F C3 F3 78 */ mr r3, r30 +/* 80321734 0031E694 38 80 00 14 */ li r4, 0x14 +/* 80321738 0031E698 48 04 B3 2D */ bl sub_8036ca64 +lbl_8032173C: +/* 8032173C 0031E69C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321740 0031E6A0 7F C3 F3 78 */ mr r3, r30 +/* 80321744 0031E6A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321748 0031E6A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032174C 0031E6AC 7C 08 03 A6 */ mtlr r0 +/* 80321750 0031E6B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321754 0031E6B4 4E 80 00 20 */ blr + +.global __ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement +__ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement: +/* 80321758 0031E6B8 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 8032175C 0031E6BC 3D 20 80 3F */ lis r9, lbl_803EC584@ha +/* 80321760 0031E6C0 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80321764 0031E6C4 3D 00 80 3F */ lis r8, lbl_803EDB68@ha +/* 80321768 0031E6C8 90 03 00 00 */ stw r0, 0(r3) +/* 8032176C 0031E6CC 39 29 C5 84 */ addi r9, r9, lbl_803EC584@l +/* 80321770 0031E6D0 38 08 DB 68 */ addi r0, r8, lbl_803EDB68@l +/* 80321774 0031E6D4 91 23 00 00 */ stw r9, 0(r3) +/* 80321778 0031E6D8 90 03 00 00 */ stw r0, 0(r3) +/* 8032177C 0031E6DC 90 83 00 04 */ stw r4, 4(r3) +/* 80321780 0031E6E0 90 A3 00 08 */ stw r5, 8(r3) +/* 80321784 0031E6E4 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80321788 0031E6E8 90 E3 00 10 */ stw r7, 0x10(r3) +/* 8032178C 0031E6EC 4E 80 00 20 */ blr + +.global GetValue__8CIEClampCFiRi +GetValue__8CIEClampCFiRi: +/* 80321790 0031E6F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321794 0031E6F4 7C 08 02 A6 */ mflr r0 +/* 80321798 0031E6F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032179C 0031E6FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803217A0 0031E700 7C BF 2B 78 */ mr r31, r5 +/* 803217A4 0031E704 38 A1 00 0C */ addi r5, r1, 0xc +/* 803217A8 0031E708 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803217AC 0031E70C 7C 9E 23 78 */ mr r30, r4 +/* 803217B0 0031E710 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803217B4 0031E714 7C 7D 1B 78 */ mr r29, r3 +/* 803217B8 0031E718 80 63 00 04 */ lwz r3, 4(r3) +/* 803217BC 0031E71C 81 83 00 00 */ lwz r12, 0(r3) +/* 803217C0 0031E720 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803217C4 0031E724 7D 89 03 A6 */ mtctr r12 +/* 803217C8 0031E728 4E 80 04 21 */ bctrl +/* 803217CC 0031E72C 80 7D 00 08 */ lwz r3, 8(r29) +/* 803217D0 0031E730 7F C4 F3 78 */ mr r4, r30 +/* 803217D4 0031E734 38 A1 00 08 */ addi r5, r1, 8 +/* 803217D8 0031E738 81 83 00 00 */ lwz r12, 0(r3) +/* 803217DC 0031E73C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803217E0 0031E740 7D 89 03 A6 */ mtctr r12 +/* 803217E4 0031E744 4E 80 04 21 */ bctrl +/* 803217E8 0031E748 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803217EC 0031E74C 7F C4 F3 78 */ mr r4, r30 +/* 803217F0 0031E750 7F E5 FB 78 */ mr r5, r31 +/* 803217F4 0031E754 81 83 00 00 */ lwz r12, 0(r3) +/* 803217F8 0031E758 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803217FC 0031E75C 7D 89 03 A6 */ mtctr r12 +/* 80321800 0031E760 4E 80 04 21 */ bctrl +/* 80321804 0031E764 80 1F 00 00 */ lwz r0, 0(r31) +/* 80321808 0031E768 80 61 00 08 */ lwz r3, 8(r1) +/* 8032180C 0031E76C 7C 00 18 00 */ cmpw r0, r3 +/* 80321810 0031E770 40 81 00 08 */ ble lbl_80321818 +/* 80321814 0031E774 90 7F 00 00 */ stw r3, 0(r31) +lbl_80321818: +/* 80321818 0031E778 80 1F 00 00 */ lwz r0, 0(r31) +/* 8032181C 0031E77C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80321820 0031E780 7C 00 18 00 */ cmpw r0, r3 +/* 80321824 0031E784 40 80 00 08 */ bge lbl_8032182C +/* 80321828 0031E788 90 7F 00 00 */ stw r3, 0(r31) +lbl_8032182C: +/* 8032182C 0031E78C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321830 0031E790 38 60 00 00 */ li r3, 0 +/* 80321834 0031E794 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321838 0031E798 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032183C 0031E79C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80321840 0031E7A0 7C 08 03 A6 */ mtlr r0 +/* 80321844 0031E7A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321848 0031E7A8 4E 80 00 20 */ blr + +.global __dt__8CIEClamp +__dt__8CIEClamp: +/* 8032184C 0031E7AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321850 0031E7B0 7C 08 02 A6 */ mflr r0 +/* 80321854 0031E7B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321858 0031E7B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032185C 0031E7BC 7C 9F 23 78 */ mr r31, r4 +/* 80321860 0031E7C0 93 C1 00 08 */ stw r30, 8(r1) +/* 80321864 0031E7C4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321868 0031E7C8 41 82 00 A8 */ beq lbl_80321910 +/* 8032186C 0031E7CC 3C 60 80 3F */ lis r3, lbl_803EDB78@ha +/* 80321870 0031E7D0 38 03 DB 78 */ addi r0, r3, lbl_803EDB78@l +/* 80321874 0031E7D4 90 1E 00 00 */ stw r0, 0(r30) +/* 80321878 0031E7D8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032187C 0031E7DC 28 03 00 00 */ cmplwi r3, 0 +/* 80321880 0031E7E0 41 82 00 18 */ beq lbl_80321898 +/* 80321884 0031E7E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80321888 0031E7E8 38 80 00 01 */ li r4, 1 +/* 8032188C 0031E7EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321890 0031E7F0 7D 89 03 A6 */ mtctr r12 +/* 80321894 0031E7F4 4E 80 04 21 */ bctrl +lbl_80321898: +/* 80321898 0031E7F8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032189C 0031E7FC 28 03 00 00 */ cmplwi r3, 0 +/* 803218A0 0031E800 41 82 00 18 */ beq lbl_803218B8 +/* 803218A4 0031E804 81 83 00 00 */ lwz r12, 0(r3) +/* 803218A8 0031E808 38 80 00 01 */ li r4, 1 +/* 803218AC 0031E80C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803218B0 0031E810 7D 89 03 A6 */ mtctr r12 +/* 803218B4 0031E814 4E 80 04 21 */ bctrl +lbl_803218B8: +/* 803218B8 0031E818 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803218BC 0031E81C 28 03 00 00 */ cmplwi r3, 0 +/* 803218C0 0031E820 41 82 00 18 */ beq lbl_803218D8 +/* 803218C4 0031E824 81 83 00 00 */ lwz r12, 0(r3) +/* 803218C8 0031E828 38 80 00 01 */ li r4, 1 +/* 803218CC 0031E82C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803218D0 0031E830 7D 89 03 A6 */ mtctr r12 +/* 803218D4 0031E834 4E 80 04 21 */ bctrl +lbl_803218D8: +/* 803218D8 0031E838 28 1E 00 00 */ cmplwi r30, 0 +/* 803218DC 0031E83C 41 82 00 20 */ beq lbl_803218FC +/* 803218E0 0031E840 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803218E4 0031E844 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803218E8 0031E848 90 1E 00 00 */ stw r0, 0(r30) +/* 803218EC 0031E84C 41 82 00 10 */ beq lbl_803218FC +/* 803218F0 0031E850 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803218F4 0031E854 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803218F8 0031E858 90 1E 00 00 */ stw r0, 0(r30) +lbl_803218FC: +/* 803218FC 0031E85C 7F E0 07 35 */ extsh. r0, r31 +/* 80321900 0031E860 40 81 00 10 */ ble lbl_80321910 +/* 80321904 0031E864 7F C3 F3 78 */ mr r3, r30 +/* 80321908 0031E868 38 80 00 10 */ li r4, 0x10 +/* 8032190C 0031E86C 48 04 B1 59 */ bl sub_8036ca64 +lbl_80321910: +/* 80321910 0031E870 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321914 0031E874 7F C3 F3 78 */ mr r3, r30 +/* 80321918 0031E878 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032191C 0031E87C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321920 0031E880 7C 08 03 A6 */ mtlr r0 +/* 80321924 0031E884 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321928 0031E888 4E 80 00 20 */ blr + +.global __ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement +__ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement: +/* 8032192C 0031E88C 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80321930 0031E890 3D 00 80 3F */ lis r8, lbl_803EC584@ha +/* 80321934 0031E894 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80321938 0031E898 3C E0 80 3F */ lis r7, lbl_803EDB78@ha +/* 8032193C 0031E89C 90 03 00 00 */ stw r0, 0(r3) +/* 80321940 0031E8A0 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l +/* 80321944 0031E8A4 38 07 DB 78 */ addi r0, r7, lbl_803EDB78@l +/* 80321948 0031E8A8 91 03 00 00 */ stw r8, 0(r3) +/* 8032194C 0031E8AC 90 03 00 00 */ stw r0, 0(r3) +/* 80321950 0031E8B0 90 83 00 04 */ stw r4, 4(r3) +/* 80321954 0031E8B4 90 A3 00 08 */ stw r5, 8(r3) +/* 80321958 0031E8B8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8032195C 0031E8BC 4E 80 00 20 */ blr + +.global GetValue__12CIETimeChainCFiRi +GetValue__12CIETimeChainCFiRi: +/* 80321960 0031E8C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321964 0031E8C4 7C 08 02 A6 */ mflr r0 +/* 80321968 0031E8C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032196C 0031E8CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321970 0031E8D0 7C BF 2B 78 */ mr r31, r5 +/* 80321974 0031E8D4 38 A1 00 08 */ addi r5, r1, 8 +/* 80321978 0031E8D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032197C 0031E8DC 7C 9E 23 78 */ mr r30, r4 +/* 80321980 0031E8E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321984 0031E8E4 7C 7D 1B 78 */ mr r29, r3 +/* 80321988 0031E8E8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8032198C 0031E8EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80321990 0031E8F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321994 0031E8F4 7D 89 03 A6 */ mtctr r12 +/* 80321998 0031E8F8 4E 80 04 21 */ bctrl +/* 8032199C 0031E8FC 80 01 00 08 */ lwz r0, 8(r1) +/* 803219A0 0031E900 7C 1E 00 00 */ cmpw r30, r0 +/* 803219A4 0031E904 40 80 00 24 */ bge lbl_803219C8 +/* 803219A8 0031E908 80 7D 00 04 */ lwz r3, 4(r29) +/* 803219AC 0031E90C 7F C4 F3 78 */ mr r4, r30 +/* 803219B0 0031E910 7F E5 FB 78 */ mr r5, r31 +/* 803219B4 0031E914 81 83 00 00 */ lwz r12, 0(r3) +/* 803219B8 0031E918 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803219BC 0031E91C 7D 89 03 A6 */ mtctr r12 +/* 803219C0 0031E920 4E 80 04 21 */ bctrl +/* 803219C4 0031E924 48 00 00 20 */ b lbl_803219E4 +lbl_803219C8: +/* 803219C8 0031E928 80 7D 00 08 */ lwz r3, 8(r29) +/* 803219CC 0031E92C 7F E5 FB 78 */ mr r5, r31 +/* 803219D0 0031E930 7C 80 F0 50 */ subf r4, r0, r30 +/* 803219D4 0031E934 81 83 00 00 */ lwz r12, 0(r3) +/* 803219D8 0031E938 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803219DC 0031E93C 7D 89 03 A6 */ mtctr r12 +/* 803219E0 0031E940 4E 80 04 21 */ bctrl +lbl_803219E4: +/* 803219E4 0031E944 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803219E8 0031E948 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803219EC 0031E94C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803219F0 0031E950 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803219F4 0031E954 7C 08 03 A6 */ mtlr r0 +/* 803219F8 0031E958 38 21 00 20 */ addi r1, r1, 0x20 +/* 803219FC 0031E95C 4E 80 00 20 */ blr + +.global __dt__12CIETimeChain +__dt__12CIETimeChain: +/* 80321A00 0031E960 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321A04 0031E964 7C 08 02 A6 */ mflr r0 +/* 80321A08 0031E968 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321A0C 0031E96C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321A10 0031E970 7C 9F 23 78 */ mr r31, r4 +/* 80321A14 0031E974 93 C1 00 08 */ stw r30, 8(r1) +/* 80321A18 0031E978 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321A1C 0031E97C 41 82 00 A8 */ beq lbl_80321AC4 +/* 80321A20 0031E980 3C 60 80 3F */ lis r3, lbl_803EDB88@ha +/* 80321A24 0031E984 38 03 DB 88 */ addi r0, r3, lbl_803EDB88@l +/* 80321A28 0031E988 90 1E 00 00 */ stw r0, 0(r30) +/* 80321A2C 0031E98C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321A30 0031E990 28 03 00 00 */ cmplwi r3, 0 +/* 80321A34 0031E994 41 82 00 18 */ beq lbl_80321A4C +/* 80321A38 0031E998 81 83 00 00 */ lwz r12, 0(r3) +/* 80321A3C 0031E99C 38 80 00 01 */ li r4, 1 +/* 80321A40 0031E9A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321A44 0031E9A4 7D 89 03 A6 */ mtctr r12 +/* 80321A48 0031E9A8 4E 80 04 21 */ bctrl +lbl_80321A4C: +/* 80321A4C 0031E9AC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80321A50 0031E9B0 28 03 00 00 */ cmplwi r3, 0 +/* 80321A54 0031E9B4 41 82 00 18 */ beq lbl_80321A6C +/* 80321A58 0031E9B8 81 83 00 00 */ lwz r12, 0(r3) +/* 80321A5C 0031E9BC 38 80 00 01 */ li r4, 1 +/* 80321A60 0031E9C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321A64 0031E9C4 7D 89 03 A6 */ mtctr r12 +/* 80321A68 0031E9C8 4E 80 04 21 */ bctrl +lbl_80321A6C: +/* 80321A6C 0031E9CC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80321A70 0031E9D0 28 03 00 00 */ cmplwi r3, 0 +/* 80321A74 0031E9D4 41 82 00 18 */ beq lbl_80321A8C +/* 80321A78 0031E9D8 81 83 00 00 */ lwz r12, 0(r3) +/* 80321A7C 0031E9DC 38 80 00 01 */ li r4, 1 +/* 80321A80 0031E9E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321A84 0031E9E4 7D 89 03 A6 */ mtctr r12 +/* 80321A88 0031E9E8 4E 80 04 21 */ bctrl +lbl_80321A8C: +/* 80321A8C 0031E9EC 28 1E 00 00 */ cmplwi r30, 0 +/* 80321A90 0031E9F0 41 82 00 20 */ beq lbl_80321AB0 +/* 80321A94 0031E9F4 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321A98 0031E9F8 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321A9C 0031E9FC 90 1E 00 00 */ stw r0, 0(r30) +/* 80321AA0 0031EA00 41 82 00 10 */ beq lbl_80321AB0 +/* 80321AA4 0031EA04 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321AA8 0031EA08 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321AAC 0031EA0C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321AB0: +/* 80321AB0 0031EA10 7F E0 07 35 */ extsh. r0, r31 +/* 80321AB4 0031EA14 40 81 00 10 */ ble lbl_80321AC4 +/* 80321AB8 0031EA18 7F C3 F3 78 */ mr r3, r30 +/* 80321ABC 0031EA1C 38 80 00 10 */ li r4, 0x10 +/* 80321AC0 0031EA20 48 04 AF A5 */ bl sub_8036ca64 +lbl_80321AC4: +/* 80321AC4 0031EA24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321AC8 0031EA28 7F C3 F3 78 */ mr r3, r30 +/* 80321ACC 0031EA2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321AD0 0031EA30 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321AD4 0031EA34 7C 08 03 A6 */ mtlr r0 +/* 80321AD8 0031EA38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321ADC 0031EA3C 4E 80 00 20 */ blr + +.global __ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement +__ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement: +/* 80321AE0 0031EA40 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80321AE4 0031EA44 3D 00 80 3F */ lis r8, lbl_803EC584@ha +/* 80321AE8 0031EA48 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80321AEC 0031EA4C 3C E0 80 3F */ lis r7, lbl_803EDB88@ha +/* 80321AF0 0031EA50 90 03 00 00 */ stw r0, 0(r3) +/* 80321AF4 0031EA54 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l +/* 80321AF8 0031EA58 38 07 DB 88 */ addi r0, r7, lbl_803EDB88@l +/* 80321AFC 0031EA5C 91 03 00 00 */ stw r8, 0(r3) +/* 80321B00 0031EA60 90 03 00 00 */ stw r0, 0(r3) +/* 80321B04 0031EA64 90 83 00 04 */ stw r4, 4(r3) +/* 80321B08 0031EA68 90 A3 00 08 */ stw r5, 8(r3) +/* 80321B0C 0031EA6C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80321B10 0031EA70 4E 80 00 20 */ blr + +.global GetValue__16CIEInitialRandomCFiRi +GetValue__16CIEInitialRandomCFiRi: +/* 80321B14 0031EA74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321B18 0031EA78 7C 08 02 A6 */ mflr r0 +/* 80321B1C 0031EA7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80321B20 0031EA80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321B24 0031EA84 7C BF 2B 78 */ mr r31, r5 +/* 80321B28 0031EA88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80321B2C 0031EA8C 7C 9E 23 79 */ or. r30, r4, r4 +/* 80321B30 0031EA90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321B34 0031EA94 7C 7D 1B 78 */ mr r29, r3 +/* 80321B38 0031EA98 40 82 00 4C */ bne lbl_80321B84 +/* 80321B3C 0031EA9C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80321B40 0031EAA0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80321B44 0031EAA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80321B48 0031EAA8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321B4C 0031EAAC 7D 89 03 A6 */ mtctr r12 +/* 80321B50 0031EAB0 4E 80 04 21 */ bctrl +/* 80321B54 0031EAB4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80321B58 0031EAB8 7F C4 F3 78 */ mr r4, r30 +/* 80321B5C 0031EABC 38 A1 00 08 */ addi r5, r1, 8 +/* 80321B60 0031EAC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321B64 0031EAC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321B68 0031EAC8 7D 89 03 A6 */ mtctr r12 +/* 80321B6C 0031EACC 4E 80 04 21 */ bctrl +/* 80321B70 0031EAD0 4B FF 0A 8D */ bl GetRandomNumber__9CRandom16Fv +/* 80321B74 0031EAD4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80321B78 0031EAD8 80 A1 00 08 */ lwz r5, 8(r1) +/* 80321B7C 0031EADC 4B FF 0A 19 */ bl Range__9CRandom16Fii +/* 80321B80 0031EAE0 90 7F 00 00 */ stw r3, 0(r31) +lbl_80321B84: +/* 80321B84 0031EAE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321B88 0031EAE8 38 60 00 00 */ li r3, 0 +/* 80321B8C 0031EAEC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321B90 0031EAF0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80321B94 0031EAF4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80321B98 0031EAF8 7C 08 03 A6 */ mtlr r0 +/* 80321B9C 0031EAFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321BA0 0031EB00 4E 80 00 20 */ blr + +.global __dt__16CIEInitialRandom +__dt__16CIEInitialRandom: +/* 80321BA4 0031EB04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321BA8 0031EB08 7C 08 02 A6 */ mflr r0 +/* 80321BAC 0031EB0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321BB0 0031EB10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321BB4 0031EB14 7C 9F 23 78 */ mr r31, r4 +/* 80321BB8 0031EB18 93 C1 00 08 */ stw r30, 8(r1) +/* 80321BBC 0031EB1C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321BC0 0031EB20 41 82 00 88 */ beq lbl_80321C48 +/* 80321BC4 0031EB24 3C 60 80 3F */ lis r3, lbl_803EDB98@ha +/* 80321BC8 0031EB28 38 03 DB 98 */ addi r0, r3, lbl_803EDB98@l +/* 80321BCC 0031EB2C 90 1E 00 00 */ stw r0, 0(r30) +/* 80321BD0 0031EB30 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321BD4 0031EB34 28 03 00 00 */ cmplwi r3, 0 +/* 80321BD8 0031EB38 41 82 00 18 */ beq lbl_80321BF0 +/* 80321BDC 0031EB3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80321BE0 0031EB40 38 80 00 01 */ li r4, 1 +/* 80321BE4 0031EB44 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321BE8 0031EB48 7D 89 03 A6 */ mtctr r12 +/* 80321BEC 0031EB4C 4E 80 04 21 */ bctrl +lbl_80321BF0: +/* 80321BF0 0031EB50 80 7E 00 08 */ lwz r3, 8(r30) +/* 80321BF4 0031EB54 28 03 00 00 */ cmplwi r3, 0 +/* 80321BF8 0031EB58 41 82 00 18 */ beq lbl_80321C10 +/* 80321BFC 0031EB5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80321C00 0031EB60 38 80 00 01 */ li r4, 1 +/* 80321C04 0031EB64 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321C08 0031EB68 7D 89 03 A6 */ mtctr r12 +/* 80321C0C 0031EB6C 4E 80 04 21 */ bctrl +lbl_80321C10: +/* 80321C10 0031EB70 28 1E 00 00 */ cmplwi r30, 0 +/* 80321C14 0031EB74 41 82 00 20 */ beq lbl_80321C34 +/* 80321C18 0031EB78 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321C1C 0031EB7C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321C20 0031EB80 90 1E 00 00 */ stw r0, 0(r30) +/* 80321C24 0031EB84 41 82 00 10 */ beq lbl_80321C34 +/* 80321C28 0031EB88 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321C2C 0031EB8C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321C30 0031EB90 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321C34: +/* 80321C34 0031EB94 7F E0 07 35 */ extsh. r0, r31 +/* 80321C38 0031EB98 40 81 00 10 */ ble lbl_80321C48 +/* 80321C3C 0031EB9C 7F C3 F3 78 */ mr r3, r30 +/* 80321C40 0031EBA0 38 80 00 0C */ li r4, 0xc +/* 80321C44 0031EBA4 48 04 AE 21 */ bl sub_8036ca64 +lbl_80321C48: +/* 80321C48 0031EBA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321C4C 0031EBAC 7F C3 F3 78 */ mr r3, r30 +/* 80321C50 0031EBB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321C54 0031EBB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321C58 0031EBB8 7C 08 03 A6 */ mtlr r0 +/* 80321C5C 0031EBBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321C60 0031EBC0 4E 80 00 20 */ blr + +.global __ct__16CIEInitialRandomFP11CIntElementP11CIntElement +__ct__16CIEInitialRandomFP11CIntElementP11CIntElement: +/* 80321C64 0031EBC4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80321C68 0031EBC8 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80321C6C 0031EBCC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80321C70 0031EBD0 3C C0 80 3F */ lis r6, lbl_803EDB98@ha +/* 80321C74 0031EBD4 90 03 00 00 */ stw r0, 0(r3) +/* 80321C78 0031EBD8 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80321C7C 0031EBDC 38 06 DB 98 */ addi r0, r6, lbl_803EDB98@l +/* 80321C80 0031EBE0 90 E3 00 00 */ stw r7, 0(r3) +/* 80321C84 0031EBE4 90 03 00 00 */ stw r0, 0(r3) +/* 80321C88 0031EBE8 90 83 00 04 */ stw r4, 4(r3) +/* 80321C8C 0031EBEC 90 A3 00 08 */ stw r5, 8(r3) +/* 80321C90 0031EBF0 4E 80 00 20 */ blr + +.global GetValue__12CIETimescaleCFiRi +GetValue__12CIETimescaleCFiRi: +/* 80321C94 0031EBF4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80321C98 0031EBF8 7C 08 02 A6 */ mflr r0 +/* 80321C9C 0031EBFC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80321CA0 0031EC00 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80321CA4 0031EC04 7C BF 2B 78 */ mr r31, r5 +/* 80321CA8 0031EC08 38 A1 00 08 */ addi r5, r1, 8 +/* 80321CAC 0031EC0C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80321CB0 0031EC10 7C 9E 23 78 */ mr r30, r4 +/* 80321CB4 0031EC14 80 63 00 04 */ lwz r3, 4(r3) +/* 80321CB8 0031EC18 81 83 00 00 */ lwz r12, 0(r3) +/* 80321CBC 0031EC1C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321CC0 0031EC20 7D 89 03 A6 */ mtctr r12 +/* 80321CC4 0031EC24 4E 80 04 21 */ bctrl +/* 80321CC8 0031EC28 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80321CCC 0031EC2C 3C 00 43 30 */ lis r0, 0x4330 +/* 80321CD0 0031EC30 90 61 00 14 */ stw r3, 0x14(r1) +/* 80321CD4 0031EC34 38 60 00 00 */ li r3, 0 +/* 80321CD8 0031EC38 C8 42 CA 58 */ lfd f2, lbl_805AE778@sda21(r2) +/* 80321CDC 0031EC3C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80321CE0 0031EC40 C0 01 00 08 */ lfs f0, 8(r1) +/* 80321CE4 0031EC44 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80321CE8 0031EC48 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80321CEC 0031EC4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80321CF0 0031EC50 FC 00 00 1E */ fctiwz f0, f0 +/* 80321CF4 0031EC54 D8 01 00 18 */ stfd f0, 0x18(r1) +/* 80321CF8 0031EC58 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80321CFC 0031EC5C 90 1F 00 00 */ stw r0, 0(r31) +/* 80321D00 0031EC60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80321D04 0031EC64 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80321D08 0031EC68 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80321D0C 0031EC6C 7C 08 03 A6 */ mtlr r0 +/* 80321D10 0031EC70 38 21 00 30 */ addi r1, r1, 0x30 +/* 80321D14 0031EC74 4E 80 00 20 */ blr + +.global __dt__12CIETimeScale +__dt__12CIETimeScale: +/* 80321D18 0031EC78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321D1C 0031EC7C 7C 08 02 A6 */ mflr r0 +/* 80321D20 0031EC80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321D24 0031EC84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321D28 0031EC88 7C 9F 23 78 */ mr r31, r4 +/* 80321D2C 0031EC8C 93 C1 00 08 */ stw r30, 8(r1) +/* 80321D30 0031EC90 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321D34 0031EC94 41 82 00 68 */ beq lbl_80321D9C +/* 80321D38 0031EC98 3C 60 80 3F */ lis r3, lbl_803EDBA8@ha +/* 80321D3C 0031EC9C 38 03 DB A8 */ addi r0, r3, lbl_803EDBA8@l +/* 80321D40 0031ECA0 90 1E 00 00 */ stw r0, 0(r30) +/* 80321D44 0031ECA4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321D48 0031ECA8 28 03 00 00 */ cmplwi r3, 0 +/* 80321D4C 0031ECAC 41 82 00 18 */ beq lbl_80321D64 +/* 80321D50 0031ECB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321D54 0031ECB4 38 80 00 01 */ li r4, 1 +/* 80321D58 0031ECB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321D5C 0031ECBC 7D 89 03 A6 */ mtctr r12 +/* 80321D60 0031ECC0 4E 80 04 21 */ bctrl +lbl_80321D64: +/* 80321D64 0031ECC4 28 1E 00 00 */ cmplwi r30, 0 +/* 80321D68 0031ECC8 41 82 00 20 */ beq lbl_80321D88 +/* 80321D6C 0031ECCC 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321D70 0031ECD0 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321D74 0031ECD4 90 1E 00 00 */ stw r0, 0(r30) +/* 80321D78 0031ECD8 41 82 00 10 */ beq lbl_80321D88 +/* 80321D7C 0031ECDC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321D80 0031ECE0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321D84 0031ECE4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321D88: +/* 80321D88 0031ECE8 7F E0 07 35 */ extsh. r0, r31 +/* 80321D8C 0031ECEC 40 81 00 10 */ ble lbl_80321D9C +/* 80321D90 0031ECF0 7F C3 F3 78 */ mr r3, r30 +/* 80321D94 0031ECF4 38 80 00 08 */ li r4, 8 +/* 80321D98 0031ECF8 48 04 AC CD */ bl sub_8036ca64 +lbl_80321D9C: +/* 80321D9C 0031ECFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321DA0 0031ED00 7F C3 F3 78 */ mr r3, r30 +/* 80321DA4 0031ED04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321DA8 0031ED08 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321DAC 0031ED0C 7C 08 03 A6 */ mtlr r0 +/* 80321DB0 0031ED10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321DB4 0031ED14 4E 80 00 20 */ blr + +.global __ct__12CIETimescaleFP12CRealElement +__ct__12CIETimescaleFP12CRealElement: +/* 80321DB8 0031ED18 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80321DBC 0031ED1C 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 80321DC0 0031ED20 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80321DC4 0031ED24 3C A0 80 3F */ lis r5, lbl_803EDBA8@ha +/* 80321DC8 0031ED28 90 03 00 00 */ stw r0, 0(r3) +/* 80321DCC 0031ED2C 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 80321DD0 0031ED30 38 05 DB A8 */ addi r0, r5, lbl_803EDBA8@l +/* 80321DD4 0031ED34 90 C3 00 00 */ stw r6, 0(r3) +/* 80321DD8 0031ED38 90 03 00 00 */ stw r0, 0(r3) +/* 80321DDC 0031ED3C 90 83 00 04 */ stw r4, 4(r3) +/* 80321DE0 0031ED40 4E 80 00 20 */ blr + +.global GetValue__10CIEImpulseCFiRi +GetValue__10CIEImpulseCFiRi: +/* 80321DE4 0031ED44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321DE8 0031ED48 7C 08 02 A6 */ mflr r0 +/* 80321DEC 0031ED4C 2C 04 00 00 */ cmpwi r4, 0 +/* 80321DF0 0031ED50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321DF4 0031ED54 40 82 00 1C */ bne lbl_80321E10 +/* 80321DF8 0031ED58 80 63 00 04 */ lwz r3, 4(r3) +/* 80321DFC 0031ED5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80321E00 0031ED60 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321E04 0031ED64 7D 89 03 A6 */ mtctr r12 +/* 80321E08 0031ED68 4E 80 04 21 */ bctrl +/* 80321E0C 0031ED6C 48 00 00 0C */ b lbl_80321E18 +lbl_80321E10: +/* 80321E10 0031ED70 38 00 00 00 */ li r0, 0 +/* 80321E14 0031ED74 90 05 00 00 */ stw r0, 0(r5) +lbl_80321E18: +/* 80321E18 0031ED78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321E1C 0031ED7C 38 60 00 00 */ li r3, 0 +/* 80321E20 0031ED80 7C 08 03 A6 */ mtlr r0 +/* 80321E24 0031ED84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321E28 0031ED88 4E 80 00 20 */ blr + +.global __dt__10CIEImpulse +__dt__10CIEImpulse: +/* 80321E2C 0031ED8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321E30 0031ED90 7C 08 02 A6 */ mflr r0 +/* 80321E34 0031ED94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321E38 0031ED98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321E3C 0031ED9C 7C 9F 23 78 */ mr r31, r4 +/* 80321E40 0031EDA0 93 C1 00 08 */ stw r30, 8(r1) +/* 80321E44 0031EDA4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321E48 0031EDA8 41 82 00 68 */ beq lbl_80321EB0 +/* 80321E4C 0031EDAC 3C 60 80 3F */ lis r3, lbl_803EDBB8@ha +/* 80321E50 0031EDB0 38 03 DB B8 */ addi r0, r3, lbl_803EDBB8@l +/* 80321E54 0031EDB4 90 1E 00 00 */ stw r0, 0(r30) +/* 80321E58 0031EDB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321E5C 0031EDBC 28 03 00 00 */ cmplwi r3, 0 +/* 80321E60 0031EDC0 41 82 00 18 */ beq lbl_80321E78 +/* 80321E64 0031EDC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80321E68 0031EDC8 38 80 00 01 */ li r4, 1 +/* 80321E6C 0031EDCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321E70 0031EDD0 7D 89 03 A6 */ mtctr r12 +/* 80321E74 0031EDD4 4E 80 04 21 */ bctrl +lbl_80321E78: +/* 80321E78 0031EDD8 28 1E 00 00 */ cmplwi r30, 0 +/* 80321E7C 0031EDDC 41 82 00 20 */ beq lbl_80321E9C +/* 80321E80 0031EDE0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321E84 0031EDE4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321E88 0031EDE8 90 1E 00 00 */ stw r0, 0(r30) +/* 80321E8C 0031EDEC 41 82 00 10 */ beq lbl_80321E9C +/* 80321E90 0031EDF0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321E94 0031EDF4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321E98 0031EDF8 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321E9C: +/* 80321E9C 0031EDFC 7F E0 07 35 */ extsh. r0, r31 +/* 80321EA0 0031EE00 40 81 00 10 */ ble lbl_80321EB0 +/* 80321EA4 0031EE04 7F C3 F3 78 */ mr r3, r30 +/* 80321EA8 0031EE08 38 80 00 08 */ li r4, 8 +/* 80321EAC 0031EE0C 48 04 AB B9 */ bl sub_8036ca64 +lbl_80321EB0: +/* 80321EB0 0031EE10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321EB4 0031EE14 7F C3 F3 78 */ mr r3, r30 +/* 80321EB8 0031EE18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321EBC 0031EE1C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321EC0 0031EE20 7C 08 03 A6 */ mtlr r0 +/* 80321EC4 0031EE24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321EC8 0031EE28 4E 80 00 20 */ blr + +.global __ct__10CIEImpulseFP11CIntElement +__ct__10CIEImpulseFP11CIntElement: +/* 80321ECC 0031EE2C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80321ED0 0031EE30 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 80321ED4 0031EE34 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80321ED8 0031EE38 3C A0 80 3F */ lis r5, lbl_803EDBB8@ha +/* 80321EDC 0031EE3C 90 03 00 00 */ stw r0, 0(r3) +/* 80321EE0 0031EE40 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 80321EE4 0031EE44 38 05 DB B8 */ addi r0, r5, lbl_803EDBB8@l +/* 80321EE8 0031EE48 90 C3 00 00 */ stw r6, 0(r3) +/* 80321EEC 0031EE4C 90 03 00 00 */ stw r0, 0(r3) +/* 80321EF0 0031EE50 90 83 00 04 */ stw r4, 4(r3) +/* 80321EF4 0031EE54 4E 80 00 20 */ blr + +.global GetValue__16CIESampleAndHoldCFiRi +GetValue__16CIESampleAndHoldCFiRi: +/* 80321EF8 0031EE58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321EFC 0031EE5C 7C 08 02 A6 */ mflr r0 +/* 80321F00 0031EE60 90 01 00 24 */ stw r0, 0x24(r1) +/* 80321F04 0031EE64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321F08 0031EE68 7C BF 2B 78 */ mr r31, r5 +/* 80321F0C 0031EE6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80321F10 0031EE70 7C 9E 23 78 */ mr r30, r4 +/* 80321F14 0031EE74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321F18 0031EE78 7C 7D 1B 78 */ mr r29, r3 +/* 80321F1C 0031EE7C 80 03 00 08 */ lwz r0, 8(r3) +/* 80321F20 0031EE80 7C 00 F0 00 */ cmpw r0, r30 +/* 80321F24 0031EE84 40 80 00 78 */ bge lbl_80321F9C +/* 80321F28 0031EE88 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80321F2C 0031EE8C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80321F30 0031EE90 81 83 00 00 */ lwz r12, 0(r3) +/* 80321F34 0031EE94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321F38 0031EE98 7D 89 03 A6 */ mtctr r12 +/* 80321F3C 0031EE9C 4E 80 04 21 */ bctrl +/* 80321F40 0031EEA0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80321F44 0031EEA4 7F C4 F3 78 */ mr r4, r30 +/* 80321F48 0031EEA8 38 A1 00 08 */ addi r5, r1, 8 +/* 80321F4C 0031EEAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80321F50 0031EEB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321F54 0031EEB4 7D 89 03 A6 */ mtctr r12 +/* 80321F58 0031EEB8 4E 80 04 21 */ bctrl +/* 80321F5C 0031EEBC 4B FF 06 A1 */ bl GetRandomNumber__9CRandom16Fv +/* 80321F60 0031EEC0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80321F64 0031EEC4 80 A1 00 08 */ lwz r5, 8(r1) +/* 80321F68 0031EEC8 4B FF 06 2D */ bl Range__9CRandom16Fii +/* 80321F6C 0031EECC 7C 1E 1A 14 */ add r0, r30, r3 +/* 80321F70 0031EED0 7F C4 F3 78 */ mr r4, r30 +/* 80321F74 0031EED4 90 1D 00 08 */ stw r0, 8(r29) +/* 80321F78 0031EED8 7F E5 FB 78 */ mr r5, r31 +/* 80321F7C 0031EEDC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80321F80 0031EEE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321F84 0031EEE4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321F88 0031EEE8 7D 89 03 A6 */ mtctr r12 +/* 80321F8C 0031EEEC 4E 80 04 21 */ bctrl +/* 80321F90 0031EEF0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80321F94 0031EEF4 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80321F98 0031EEF8 48 00 00 10 */ b lbl_80321FA8 +lbl_80321F9C: +/* 80321F9C 0031EEFC 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80321FA0 0031EF00 38 60 00 00 */ li r3, 0 +/* 80321FA4 0031EF04 90 1F 00 00 */ stw r0, 0(r31) +lbl_80321FA8: +/* 80321FA8 0031EF08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321FAC 0031EF0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321FB0 0031EF10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80321FB4 0031EF14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80321FB8 0031EF18 7C 08 03 A6 */ mtlr r0 +/* 80321FBC 0031EF1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321FC0 0031EF20 4E 80 00 20 */ blr + +.global __dt__16CIESampleAndHold +__dt__16CIESampleAndHold: +/* 80321FC4 0031EF24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321FC8 0031EF28 7C 08 02 A6 */ mflr r0 +/* 80321FCC 0031EF2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321FD0 0031EF30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321FD4 0031EF34 7C 9F 23 78 */ mr r31, r4 +/* 80321FD8 0031EF38 93 C1 00 08 */ stw r30, 8(r1) +/* 80321FDC 0031EF3C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321FE0 0031EF40 41 82 00 A8 */ beq lbl_80322088 +/* 80321FE4 0031EF44 3C 60 80 3F */ lis r3, lbl_803EDBC8@ha +/* 80321FE8 0031EF48 38 03 DB C8 */ addi r0, r3, lbl_803EDBC8@l +/* 80321FEC 0031EF4C 90 1E 00 00 */ stw r0, 0(r30) +/* 80321FF0 0031EF50 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321FF4 0031EF54 28 03 00 00 */ cmplwi r3, 0 +/* 80321FF8 0031EF58 41 82 00 18 */ beq lbl_80322010 +/* 80321FFC 0031EF5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322000 0031EF60 38 80 00 01 */ li r4, 1 +/* 80322004 0031EF64 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322008 0031EF68 7D 89 03 A6 */ mtctr r12 +/* 8032200C 0031EF6C 4E 80 04 21 */ bctrl +lbl_80322010: +/* 80322010 0031EF70 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80322014 0031EF74 28 03 00 00 */ cmplwi r3, 0 +/* 80322018 0031EF78 41 82 00 18 */ beq lbl_80322030 +/* 8032201C 0031EF7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322020 0031EF80 38 80 00 01 */ li r4, 1 +/* 80322024 0031EF84 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322028 0031EF88 7D 89 03 A6 */ mtctr r12 +/* 8032202C 0031EF8C 4E 80 04 21 */ bctrl +lbl_80322030: +/* 80322030 0031EF90 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80322034 0031EF94 28 03 00 00 */ cmplwi r3, 0 +/* 80322038 0031EF98 41 82 00 18 */ beq lbl_80322050 +/* 8032203C 0031EF9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322040 0031EFA0 38 80 00 01 */ li r4, 1 +/* 80322044 0031EFA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322048 0031EFA8 7D 89 03 A6 */ mtctr r12 +/* 8032204C 0031EFAC 4E 80 04 21 */ bctrl +lbl_80322050: +/* 80322050 0031EFB0 28 1E 00 00 */ cmplwi r30, 0 +/* 80322054 0031EFB4 41 82 00 20 */ beq lbl_80322074 +/* 80322058 0031EFB8 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 8032205C 0031EFBC 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322060 0031EFC0 90 1E 00 00 */ stw r0, 0(r30) +/* 80322064 0031EFC4 41 82 00 10 */ beq lbl_80322074 +/* 80322068 0031EFC8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032206C 0031EFCC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322070 0031EFD0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322074: +/* 80322074 0031EFD4 7F E0 07 35 */ extsh. r0, r31 +/* 80322078 0031EFD8 40 81 00 10 */ ble lbl_80322088 +/* 8032207C 0031EFDC 7F C3 F3 78 */ mr r3, r30 +/* 80322080 0031EFE0 38 80 00 18 */ li r4, 0x18 +/* 80322084 0031EFE4 48 04 A9 E1 */ bl sub_8036ca64 +lbl_80322088: +/* 80322088 0031EFE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032208C 0031EFEC 7F C3 F3 78 */ mr r3, r30 +/* 80322090 0031EFF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322094 0031EFF4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322098 0031EFF8 7C 08 03 A6 */ mtlr r0 +/* 8032209C 0031EFFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803220A0 0031F000 4E 80 00 20 */ blr + +.global __ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement +__ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement: +/* 803220A4 0031F004 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 803220A8 0031F008 3D 00 80 3F */ lis r8, lbl_803EC584@ha +/* 803220AC 0031F00C 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 803220B0 0031F010 3C E0 80 3F */ lis r7, lbl_803EDBC8@ha +/* 803220B4 0031F014 90 03 00 00 */ stw r0, 0(r3) +/* 803220B8 0031F018 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l +/* 803220BC 0031F01C 38 E7 DB C8 */ addi r7, r7, lbl_803EDBC8@l +/* 803220C0 0031F020 38 00 00 00 */ li r0, 0 +/* 803220C4 0031F024 91 03 00 00 */ stw r8, 0(r3) +/* 803220C8 0031F028 90 E3 00 00 */ stw r7, 0(r3) +/* 803220CC 0031F02C 90 83 00 04 */ stw r4, 4(r3) +/* 803220D0 0031F030 90 03 00 08 */ stw r0, 8(r3) +/* 803220D4 0031F034 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803220D8 0031F038 90 C3 00 10 */ stw r6, 0x10(r3) +/* 803220DC 0031F03C 4E 80 00 20 */ blr + +.global GetValue__9CIERandomCFiRi +GetValue__9CIERandomCFiRi: +/* 803220E0 0031F040 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803220E4 0031F044 7C 08 02 A6 */ mflr r0 +/* 803220E8 0031F048 90 01 00 24 */ stw r0, 0x24(r1) +/* 803220EC 0031F04C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803220F0 0031F050 7C 9F 23 78 */ mr r31, r4 +/* 803220F4 0031F054 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803220F8 0031F058 7C BE 2B 78 */ mr r30, r5 +/* 803220FC 0031F05C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322100 0031F060 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80322104 0031F064 7C 7D 1B 78 */ mr r29, r3 +/* 80322108 0031F068 80 63 00 04 */ lwz r3, 4(r3) +/* 8032210C 0031F06C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322110 0031F070 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322114 0031F074 7D 89 03 A6 */ mtctr r12 +/* 80322118 0031F078 4E 80 04 21 */ bctrl +/* 8032211C 0031F07C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80322120 0031F080 7F E4 FB 78 */ mr r4, r31 +/* 80322124 0031F084 38 A1 00 08 */ addi r5, r1, 8 +/* 80322128 0031F088 81 83 00 00 */ lwz r12, 0(r3) +/* 8032212C 0031F08C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322130 0031F090 7D 89 03 A6 */ mtctr r12 +/* 80322134 0031F094 4E 80 04 21 */ bctrl +/* 80322138 0031F098 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032213C 0031F09C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80322140 0031F0A0 40 81 00 1C */ ble lbl_8032215C +/* 80322144 0031F0A4 4B FF 04 B9 */ bl GetRandomNumber__9CRandom16Fv +/* 80322148 0031F0A8 80 A1 00 08 */ lwz r5, 8(r1) +/* 8032214C 0031F0AC 7F E4 FB 78 */ mr r4, r31 +/* 80322150 0031F0B0 4B FF 04 45 */ bl Range__9CRandom16Fii +/* 80322154 0031F0B4 90 7E 00 00 */ stw r3, 0(r30) +/* 80322158 0031F0B8 48 00 00 10 */ b lbl_80322168 +lbl_8032215C: +/* 8032215C 0031F0BC 4B FF 04 A1 */ bl GetRandomNumber__9CRandom16Fv +/* 80322160 0031F0C0 4B FF 03 C1 */ bl Next__9CRandom16Fv +/* 80322164 0031F0C4 90 7E 00 00 */ stw r3, 0(r30) +lbl_80322168: +/* 80322168 0031F0C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032216C 0031F0CC 38 60 00 00 */ li r3, 0 +/* 80322170 0031F0D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80322174 0031F0D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80322178 0031F0D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032217C 0031F0DC 7C 08 03 A6 */ mtlr r0 +/* 80322180 0031F0E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322184 0031F0E4 4E 80 00 20 */ blr + +.global __dt__9CIERandom +__dt__9CIERandom: +/* 80322188 0031F0E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032218C 0031F0EC 7C 08 02 A6 */ mflr r0 +/* 80322190 0031F0F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322194 0031F0F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322198 0031F0F8 7C 9F 23 78 */ mr r31, r4 +/* 8032219C 0031F0FC 93 C1 00 08 */ stw r30, 8(r1) +/* 803221A0 0031F100 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803221A4 0031F104 41 82 00 88 */ beq lbl_8032222C +/* 803221A8 0031F108 3C 60 80 3F */ lis r3, lbl_803EDBD8@ha +/* 803221AC 0031F10C 38 03 DB D8 */ addi r0, r3, lbl_803EDBD8@l +/* 803221B0 0031F110 90 1E 00 00 */ stw r0, 0(r30) +/* 803221B4 0031F114 80 7E 00 04 */ lwz r3, 4(r30) +/* 803221B8 0031F118 28 03 00 00 */ cmplwi r3, 0 +/* 803221BC 0031F11C 41 82 00 18 */ beq lbl_803221D4 +/* 803221C0 0031F120 81 83 00 00 */ lwz r12, 0(r3) +/* 803221C4 0031F124 38 80 00 01 */ li r4, 1 +/* 803221C8 0031F128 81 8C 00 08 */ lwz r12, 8(r12) +/* 803221CC 0031F12C 7D 89 03 A6 */ mtctr r12 +/* 803221D0 0031F130 4E 80 04 21 */ bctrl +lbl_803221D4: +/* 803221D4 0031F134 80 7E 00 08 */ lwz r3, 8(r30) +/* 803221D8 0031F138 28 03 00 00 */ cmplwi r3, 0 +/* 803221DC 0031F13C 41 82 00 18 */ beq lbl_803221F4 +/* 803221E0 0031F140 81 83 00 00 */ lwz r12, 0(r3) +/* 803221E4 0031F144 38 80 00 01 */ li r4, 1 +/* 803221E8 0031F148 81 8C 00 08 */ lwz r12, 8(r12) +/* 803221EC 0031F14C 7D 89 03 A6 */ mtctr r12 +/* 803221F0 0031F150 4E 80 04 21 */ bctrl +lbl_803221F4: +/* 803221F4 0031F154 28 1E 00 00 */ cmplwi r30, 0 +/* 803221F8 0031F158 41 82 00 20 */ beq lbl_80322218 +/* 803221FC 0031F15C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322200 0031F160 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322204 0031F164 90 1E 00 00 */ stw r0, 0(r30) +/* 80322208 0031F168 41 82 00 10 */ beq lbl_80322218 +/* 8032220C 0031F16C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322210 0031F170 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322214 0031F174 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322218: +/* 80322218 0031F178 7F E0 07 35 */ extsh. r0, r31 +/* 8032221C 0031F17C 40 81 00 10 */ ble lbl_8032222C +/* 80322220 0031F180 7F C3 F3 78 */ mr r3, r30 +/* 80322224 0031F184 38 80 00 0C */ li r4, 0xc +/* 80322228 0031F188 48 04 A8 3D */ bl sub_8036ca64 +lbl_8032222C: +/* 8032222C 0031F18C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322230 0031F190 7F C3 F3 78 */ mr r3, r30 +/* 80322234 0031F194 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322238 0031F198 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032223C 0031F19C 7C 08 03 A6 */ mtlr r0 +/* 80322240 0031F1A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322244 0031F1A4 4E 80 00 20 */ blr + +.global __ct__9CIERandomFP11CIntElementP11CIntElement +__ct__9CIERandomFP11CIntElementP11CIntElement: +/* 80322248 0031F1A8 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 8032224C 0031F1AC 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80322250 0031F1B0 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80322254 0031F1B4 3C C0 80 3F */ lis r6, lbl_803EDBD8@ha +/* 80322258 0031F1B8 90 03 00 00 */ stw r0, 0(r3) +/* 8032225C 0031F1BC 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80322260 0031F1C0 38 06 DB D8 */ addi r0, r6, lbl_803EDBD8@l +/* 80322264 0031F1C4 90 E3 00 00 */ stw r7, 0(r3) +/* 80322268 0031F1C8 90 03 00 00 */ stw r0, 0(r3) +/* 8032226C 0031F1CC 90 83 00 04 */ stw r4, 4(r3) +/* 80322270 0031F1D0 90 A3 00 08 */ stw r5, 8(r3) +/* 80322274 0031F1D4 4E 80 00 20 */ blr + +.global GetValue__9CIEModuloCFiRi +GetValue__9CIEModuloCFiRi: +/* 80322278 0031F1D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032227C 0031F1DC 7C 08 02 A6 */ mflr r0 +/* 80322280 0031F1E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322284 0031F1E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80322288 0031F1E8 7C BF 2B 78 */ mr r31, r5 +/* 8032228C 0031F1EC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322290 0031F1F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80322294 0031F1F4 7C 9E 23 78 */ mr r30, r4 +/* 80322298 0031F1F8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032229C 0031F1FC 7C 7D 1B 78 */ mr r29, r3 +/* 803222A0 0031F200 80 63 00 04 */ lwz r3, 4(r3) +/* 803222A4 0031F204 81 83 00 00 */ lwz r12, 0(r3) +/* 803222A8 0031F208 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803222AC 0031F20C 7D 89 03 A6 */ mtctr r12 +/* 803222B0 0031F210 4E 80 04 21 */ bctrl +/* 803222B4 0031F214 80 7D 00 08 */ lwz r3, 8(r29) +/* 803222B8 0031F218 7F C4 F3 78 */ mr r4, r30 +/* 803222BC 0031F21C 38 A1 00 08 */ addi r5, r1, 8 +/* 803222C0 0031F220 81 83 00 00 */ lwz r12, 0(r3) +/* 803222C4 0031F224 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803222C8 0031F228 7D 89 03 A6 */ mtctr r12 +/* 803222CC 0031F22C 4E 80 04 21 */ bctrl +/* 803222D0 0031F230 80 81 00 08 */ lwz r4, 8(r1) +/* 803222D4 0031F234 2C 04 00 00 */ cmpwi r4, 0 +/* 803222D8 0031F238 41 82 00 1C */ beq lbl_803222F4 +/* 803222DC 0031F23C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803222E0 0031F240 7C 03 23 D6 */ divw r0, r3, r4 +/* 803222E4 0031F244 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803222E8 0031F248 7C 00 18 50 */ subf r0, r0, r3 +/* 803222EC 0031F24C 90 1F 00 00 */ stw r0, 0(r31) +/* 803222F0 0031F250 48 00 00 0C */ b lbl_803222FC +lbl_803222F4: +/* 803222F4 0031F254 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803222F8 0031F258 90 1F 00 00 */ stw r0, 0(r31) +lbl_803222FC: +/* 803222FC 0031F25C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322300 0031F260 38 60 00 00 */ li r3, 0 +/* 80322304 0031F264 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80322308 0031F268 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032230C 0031F26C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80322310 0031F270 7C 08 03 A6 */ mtlr r0 +/* 80322314 0031F274 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322318 0031F278 4E 80 00 20 */ blr + +.global __dt__9CIEModulo +__dt__9CIEModulo: +/* 8032231C 0031F27C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322320 0031F280 7C 08 02 A6 */ mflr r0 +/* 80322324 0031F284 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322328 0031F288 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032232C 0031F28C 7C 9F 23 78 */ mr r31, r4 +/* 80322330 0031F290 93 C1 00 08 */ stw r30, 8(r1) +/* 80322334 0031F294 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322338 0031F298 41 82 00 88 */ beq lbl_803223C0 +/* 8032233C 0031F29C 3C 60 80 3F */ lis r3, lbl_803EDBE8@ha +/* 80322340 0031F2A0 38 03 DB E8 */ addi r0, r3, lbl_803EDBE8@l +/* 80322344 0031F2A4 90 1E 00 00 */ stw r0, 0(r30) +/* 80322348 0031F2A8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032234C 0031F2AC 28 03 00 00 */ cmplwi r3, 0 +/* 80322350 0031F2B0 41 82 00 18 */ beq lbl_80322368 +/* 80322354 0031F2B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322358 0031F2B8 38 80 00 01 */ li r4, 1 +/* 8032235C 0031F2BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322360 0031F2C0 7D 89 03 A6 */ mtctr r12 +/* 80322364 0031F2C4 4E 80 04 21 */ bctrl +lbl_80322368: +/* 80322368 0031F2C8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032236C 0031F2CC 28 03 00 00 */ cmplwi r3, 0 +/* 80322370 0031F2D0 41 82 00 18 */ beq lbl_80322388 +/* 80322374 0031F2D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322378 0031F2D8 38 80 00 01 */ li r4, 1 +/* 8032237C 0031F2DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322380 0031F2E0 7D 89 03 A6 */ mtctr r12 +/* 80322384 0031F2E4 4E 80 04 21 */ bctrl +lbl_80322388: +/* 80322388 0031F2E8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032238C 0031F2EC 41 82 00 20 */ beq lbl_803223AC +/* 80322390 0031F2F0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322394 0031F2F4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322398 0031F2F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032239C 0031F2FC 41 82 00 10 */ beq lbl_803223AC +/* 803223A0 0031F300 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803223A4 0031F304 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803223A8 0031F308 90 1E 00 00 */ stw r0, 0(r30) +lbl_803223AC: +/* 803223AC 0031F30C 7F E0 07 35 */ extsh. r0, r31 +/* 803223B0 0031F310 40 81 00 10 */ ble lbl_803223C0 +/* 803223B4 0031F314 7F C3 F3 78 */ mr r3, r30 +/* 803223B8 0031F318 38 80 00 0C */ li r4, 0xc +/* 803223BC 0031F31C 48 04 A6 A9 */ bl sub_8036ca64 +lbl_803223C0: +/* 803223C0 0031F320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803223C4 0031F324 7F C3 F3 78 */ mr r3, r30 +/* 803223C8 0031F328 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803223CC 0031F32C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803223D0 0031F330 7C 08 03 A6 */ mtlr r0 +/* 803223D4 0031F334 38 21 00 10 */ addi r1, r1, 0x10 +/* 803223D8 0031F338 4E 80 00 20 */ blr + +.global __ct__9CIEModuloFP11CIntElementP11CIntElement +__ct__9CIEModuloFP11CIntElementP11CIntElement: +/* 803223DC 0031F33C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803223E0 0031F340 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 803223E4 0031F344 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803223E8 0031F348 3C C0 80 3F */ lis r6, lbl_803EDBE8@ha +/* 803223EC 0031F34C 90 03 00 00 */ stw r0, 0(r3) +/* 803223F0 0031F350 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 803223F4 0031F354 38 06 DB E8 */ addi r0, r6, lbl_803EDBE8@l +/* 803223F8 0031F358 90 E3 00 00 */ stw r7, 0(r3) +/* 803223FC 0031F35C 90 03 00 00 */ stw r0, 0(r3) +/* 80322400 0031F360 90 83 00 04 */ stw r4, 4(r3) +/* 80322404 0031F364 90 A3 00 08 */ stw r5, 8(r3) +/* 80322408 0031F368 4E 80 00 20 */ blr + +.global GetValue__11CIEMultiplyCFiRi +GetValue__11CIEMultiplyCFiRi: +/* 8032240C 0031F36C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80322410 0031F370 7C 08 02 A6 */ mflr r0 +/* 80322414 0031F374 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322418 0031F378 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032241C 0031F37C 7C BF 2B 78 */ mr r31, r5 +/* 80322420 0031F380 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322424 0031F384 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80322428 0031F388 7C 9E 23 78 */ mr r30, r4 +/* 8032242C 0031F38C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80322430 0031F390 7C 7D 1B 78 */ mr r29, r3 +/* 80322434 0031F394 80 63 00 04 */ lwz r3, 4(r3) +/* 80322438 0031F398 81 83 00 00 */ lwz r12, 0(r3) +/* 8032243C 0031F39C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322440 0031F3A0 7D 89 03 A6 */ mtctr r12 +/* 80322444 0031F3A4 4E 80 04 21 */ bctrl +/* 80322448 0031F3A8 80 7D 00 08 */ lwz r3, 8(r29) +/* 8032244C 0031F3AC 7F C4 F3 78 */ mr r4, r30 +/* 80322450 0031F3B0 38 A1 00 08 */ addi r5, r1, 8 +/* 80322454 0031F3B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322458 0031F3B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032245C 0031F3BC 7D 89 03 A6 */ mtctr r12 +/* 80322460 0031F3C0 4E 80 04 21 */ bctrl +/* 80322464 0031F3C4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80322468 0031F3C8 38 60 00 00 */ li r3, 0 +/* 8032246C 0031F3CC 80 01 00 08 */ lwz r0, 8(r1) +/* 80322470 0031F3D0 7C 04 01 D6 */ mullw r0, r4, r0 +/* 80322474 0031F3D4 90 1F 00 00 */ stw r0, 0(r31) +/* 80322478 0031F3D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032247C 0031F3DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80322480 0031F3E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80322484 0031F3E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322488 0031F3E8 7C 08 03 A6 */ mtlr r0 +/* 8032248C 0031F3EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322490 0031F3F0 4E 80 00 20 */ blr + +.global __dt__11CIEMultiply +__dt__11CIEMultiply: +/* 80322494 0031F3F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322498 0031F3F8 7C 08 02 A6 */ mflr r0 +/* 8032249C 0031F3FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803224A0 0031F400 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803224A4 0031F404 7C 9F 23 78 */ mr r31, r4 +/* 803224A8 0031F408 93 C1 00 08 */ stw r30, 8(r1) +/* 803224AC 0031F40C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803224B0 0031F410 41 82 00 88 */ beq lbl_80322538 +/* 803224B4 0031F414 3C 60 80 3F */ lis r3, lbl_803EDBF8@ha +/* 803224B8 0031F418 38 03 DB F8 */ addi r0, r3, lbl_803EDBF8@l +/* 803224BC 0031F41C 90 1E 00 00 */ stw r0, 0(r30) +/* 803224C0 0031F420 80 7E 00 04 */ lwz r3, 4(r30) +/* 803224C4 0031F424 28 03 00 00 */ cmplwi r3, 0 +/* 803224C8 0031F428 41 82 00 18 */ beq lbl_803224E0 +/* 803224CC 0031F42C 81 83 00 00 */ lwz r12, 0(r3) +/* 803224D0 0031F430 38 80 00 01 */ li r4, 1 +/* 803224D4 0031F434 81 8C 00 08 */ lwz r12, 8(r12) +/* 803224D8 0031F438 7D 89 03 A6 */ mtctr r12 +/* 803224DC 0031F43C 4E 80 04 21 */ bctrl +lbl_803224E0: +/* 803224E0 0031F440 80 7E 00 08 */ lwz r3, 8(r30) +/* 803224E4 0031F444 28 03 00 00 */ cmplwi r3, 0 +/* 803224E8 0031F448 41 82 00 18 */ beq lbl_80322500 +/* 803224EC 0031F44C 81 83 00 00 */ lwz r12, 0(r3) +/* 803224F0 0031F450 38 80 00 01 */ li r4, 1 +/* 803224F4 0031F454 81 8C 00 08 */ lwz r12, 8(r12) +/* 803224F8 0031F458 7D 89 03 A6 */ mtctr r12 +/* 803224FC 0031F45C 4E 80 04 21 */ bctrl +lbl_80322500: +/* 80322500 0031F460 28 1E 00 00 */ cmplwi r30, 0 +/* 80322504 0031F464 41 82 00 20 */ beq lbl_80322524 +/* 80322508 0031F468 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 8032250C 0031F46C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322510 0031F470 90 1E 00 00 */ stw r0, 0(r30) +/* 80322514 0031F474 41 82 00 10 */ beq lbl_80322524 +/* 80322518 0031F478 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032251C 0031F47C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322520 0031F480 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322524: +/* 80322524 0031F484 7F E0 07 35 */ extsh. r0, r31 +/* 80322528 0031F488 40 81 00 10 */ ble lbl_80322538 +/* 8032252C 0031F48C 7F C3 F3 78 */ mr r3, r30 +/* 80322530 0031F490 38 80 00 0C */ li r4, 0xc +/* 80322534 0031F494 48 04 A5 31 */ bl sub_8036ca64 +lbl_80322538: +/* 80322538 0031F498 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032253C 0031F49C 7F C3 F3 78 */ mr r3, r30 +/* 80322540 0031F4A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322544 0031F4A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322548 0031F4A8 7C 08 03 A6 */ mtlr r0 +/* 8032254C 0031F4AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322550 0031F4B0 4E 80 00 20 */ blr + +.global __ct__11CIEMultiplyFP11CIntElementP11CIntElement +__ct__11CIEMultiplyFP11CIntElementP11CIntElement: +/* 80322554 0031F4B4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80322558 0031F4B8 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 8032255C 0031F4BC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80322560 0031F4C0 3C C0 80 3F */ lis r6, lbl_803EDBF8@ha +/* 80322564 0031F4C4 90 03 00 00 */ stw r0, 0(r3) +/* 80322568 0031F4C8 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 8032256C 0031F4CC 38 06 DB F8 */ addi r0, r6, lbl_803EDBF8@l +/* 80322570 0031F4D0 90 E3 00 00 */ stw r7, 0(r3) +/* 80322574 0031F4D4 90 03 00 00 */ stw r0, 0(r3) +/* 80322578 0031F4D8 90 83 00 04 */ stw r4, 4(r3) +/* 8032257C 0031F4DC 90 A3 00 08 */ stw r5, 8(r3) +/* 80322580 0031F4E0 4E 80 00 20 */ blr + +.global GetValue__6CIEAddCFiRi +GetValue__6CIEAddCFiRi: +/* 80322584 0031F4E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80322588 0031F4E8 7C 08 02 A6 */ mflr r0 +/* 8032258C 0031F4EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322590 0031F4F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80322594 0031F4F4 7C BF 2B 78 */ mr r31, r5 +/* 80322598 0031F4F8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032259C 0031F4FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803225A0 0031F500 7C 9E 23 78 */ mr r30, r4 +/* 803225A4 0031F504 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803225A8 0031F508 7C 7D 1B 78 */ mr r29, r3 +/* 803225AC 0031F50C 80 63 00 04 */ lwz r3, 4(r3) +/* 803225B0 0031F510 81 83 00 00 */ lwz r12, 0(r3) +/* 803225B4 0031F514 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803225B8 0031F518 7D 89 03 A6 */ mtctr r12 +/* 803225BC 0031F51C 4E 80 04 21 */ bctrl +/* 803225C0 0031F520 80 7D 00 08 */ lwz r3, 8(r29) +/* 803225C4 0031F524 7F C4 F3 78 */ mr r4, r30 +/* 803225C8 0031F528 38 A1 00 08 */ addi r5, r1, 8 +/* 803225CC 0031F52C 81 83 00 00 */ lwz r12, 0(r3) +/* 803225D0 0031F530 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803225D4 0031F534 7D 89 03 A6 */ mtctr r12 +/* 803225D8 0031F538 4E 80 04 21 */ bctrl +/* 803225DC 0031F53C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803225E0 0031F540 38 60 00 00 */ li r3, 0 +/* 803225E4 0031F544 80 01 00 08 */ lwz r0, 8(r1) +/* 803225E8 0031F548 7C 04 02 14 */ add r0, r4, r0 +/* 803225EC 0031F54C 90 1F 00 00 */ stw r0, 0(r31) +/* 803225F0 0031F550 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803225F4 0031F554 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803225F8 0031F558 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803225FC 0031F55C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322600 0031F560 7C 08 03 A6 */ mtlr r0 +/* 80322604 0031F564 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322608 0031F568 4E 80 00 20 */ blr + +.global __dt__6CIEAdd +__dt__6CIEAdd: +/* 8032260C 0031F56C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322610 0031F570 7C 08 02 A6 */ mflr r0 +/* 80322614 0031F574 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322618 0031F578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032261C 0031F57C 7C 9F 23 78 */ mr r31, r4 +/* 80322620 0031F580 93 C1 00 08 */ stw r30, 8(r1) +/* 80322624 0031F584 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322628 0031F588 41 82 00 88 */ beq lbl_803226B0 +/* 8032262C 0031F58C 3C 60 80 3F */ lis r3, lbl_803EDC08@ha +/* 80322630 0031F590 38 03 DC 08 */ addi r0, r3, lbl_803EDC08@l +/* 80322634 0031F594 90 1E 00 00 */ stw r0, 0(r30) +/* 80322638 0031F598 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032263C 0031F59C 28 03 00 00 */ cmplwi r3, 0 +/* 80322640 0031F5A0 41 82 00 18 */ beq lbl_80322658 +/* 80322644 0031F5A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322648 0031F5A8 38 80 00 01 */ li r4, 1 +/* 8032264C 0031F5AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322650 0031F5B0 7D 89 03 A6 */ mtctr r12 +/* 80322654 0031F5B4 4E 80 04 21 */ bctrl +lbl_80322658: +/* 80322658 0031F5B8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032265C 0031F5BC 28 03 00 00 */ cmplwi r3, 0 +/* 80322660 0031F5C0 41 82 00 18 */ beq lbl_80322678 +/* 80322664 0031F5C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322668 0031F5C8 38 80 00 01 */ li r4, 1 +/* 8032266C 0031F5CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322670 0031F5D0 7D 89 03 A6 */ mtctr r12 +/* 80322674 0031F5D4 4E 80 04 21 */ bctrl +lbl_80322678: +/* 80322678 0031F5D8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032267C 0031F5DC 41 82 00 20 */ beq lbl_8032269C +/* 80322680 0031F5E0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322684 0031F5E4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322688 0031F5E8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032268C 0031F5EC 41 82 00 10 */ beq lbl_8032269C +/* 80322690 0031F5F0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322694 0031F5F4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322698 0031F5F8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032269C: +/* 8032269C 0031F5FC 7F E0 07 35 */ extsh. r0, r31 +/* 803226A0 0031F600 40 81 00 10 */ ble lbl_803226B0 +/* 803226A4 0031F604 7F C3 F3 78 */ mr r3, r30 +/* 803226A8 0031F608 38 80 00 0C */ li r4, 0xc +/* 803226AC 0031F60C 48 04 A3 B9 */ bl sub_8036ca64 +lbl_803226B0: +/* 803226B0 0031F610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803226B4 0031F614 7F C3 F3 78 */ mr r3, r30 +/* 803226B8 0031F618 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803226BC 0031F61C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803226C0 0031F620 7C 08 03 A6 */ mtlr r0 +/* 803226C4 0031F624 38 21 00 10 */ addi r1, r1, 0x10 +/* 803226C8 0031F628 4E 80 00 20 */ blr + +.global __ct__6CIEAddFP11CIntElementP11CIntElement +__ct__6CIEAddFP11CIntElementP11CIntElement: +/* 803226CC 0031F62C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803226D0 0031F630 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 803226D4 0031F634 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803226D8 0031F638 3C C0 80 3F */ lis r6, lbl_803EDC08@ha +/* 803226DC 0031F63C 90 03 00 00 */ stw r0, 0(r3) +/* 803226E0 0031F640 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 803226E4 0031F644 38 06 DC 08 */ addi r0, r6, lbl_803EDC08@l +/* 803226E8 0031F648 90 E3 00 00 */ stw r7, 0(r3) +/* 803226EC 0031F64C 90 03 00 00 */ stw r0, 0(r3) +/* 803226F0 0031F650 90 83 00 04 */ stw r4, 4(r3) +/* 803226F4 0031F654 90 A3 00 08 */ stw r5, 8(r3) +/* 803226F8 0031F658 4E 80 00 20 */ blr + +.global GetValue__8CIEDeathCFiRi +GetValue__8CIEDeathCFiRi: +/* 803226FC 0031F65C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80322700 0031F660 7C 08 02 A6 */ mflr r0 +/* 80322704 0031F664 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322708 0031F668 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032270C 0031F66C 7C 9F 23 78 */ mr r31, r4 +/* 80322710 0031F670 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80322714 0031F674 7C 7E 1B 78 */ mr r30, r3 +/* 80322718 0031F678 80 63 00 04 */ lwz r3, 4(r3) +/* 8032271C 0031F67C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322720 0031F680 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322724 0031F684 7D 89 03 A6 */ mtctr r12 +/* 80322728 0031F688 4E 80 04 21 */ bctrl +/* 8032272C 0031F68C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80322730 0031F690 7F E4 FB 78 */ mr r4, r31 +/* 80322734 0031F694 38 A1 00 08 */ addi r5, r1, 8 +/* 80322738 0031F698 81 83 00 00 */ lwz r12, 0(r3) +/* 8032273C 0031F69C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322740 0031F6A0 7D 89 03 A6 */ mtctr r12 +/* 80322744 0031F6A4 4E 80 04 21 */ bctrl +/* 80322748 0031F6A8 80 01 00 08 */ lwz r0, 8(r1) +/* 8032274C 0031F6AC 7F E4 FE 70 */ srawi r4, r31, 0x1f +/* 80322750 0031F6B0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80322754 0031F6B4 7C 00 F8 10 */ subfc r0, r0, r31 +/* 80322758 0031F6B8 7C 04 19 14 */ adde r0, r4, r3 +/* 8032275C 0031F6BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80322760 0031F6C0 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80322764 0031F6C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322768 0031F6C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032276C 0031F6CC 7C 08 03 A6 */ mtlr r0 +/* 80322770 0031F6D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322774 0031F6D4 4E 80 00 20 */ blr + +.global __dt__8CIEDeath +__dt__8CIEDeath: +/* 80322778 0031F6D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032277C 0031F6DC 7C 08 02 A6 */ mflr r0 +/* 80322780 0031F6E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322784 0031F6E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322788 0031F6E8 7C 9F 23 78 */ mr r31, r4 +/* 8032278C 0031F6EC 93 C1 00 08 */ stw r30, 8(r1) +/* 80322790 0031F6F0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322794 0031F6F4 41 82 00 88 */ beq lbl_8032281C +/* 80322798 0031F6F8 3C 60 80 3F */ lis r3, lbl_803EDC18@ha +/* 8032279C 0031F6FC 38 03 DC 18 */ addi r0, r3, lbl_803EDC18@l +/* 803227A0 0031F700 90 1E 00 00 */ stw r0, 0(r30) +/* 803227A4 0031F704 80 7E 00 04 */ lwz r3, 4(r30) +/* 803227A8 0031F708 28 03 00 00 */ cmplwi r3, 0 +/* 803227AC 0031F70C 41 82 00 18 */ beq lbl_803227C4 +/* 803227B0 0031F710 81 83 00 00 */ lwz r12, 0(r3) +/* 803227B4 0031F714 38 80 00 01 */ li r4, 1 +/* 803227B8 0031F718 81 8C 00 08 */ lwz r12, 8(r12) +/* 803227BC 0031F71C 7D 89 03 A6 */ mtctr r12 +/* 803227C0 0031F720 4E 80 04 21 */ bctrl +lbl_803227C4: +/* 803227C4 0031F724 80 7E 00 08 */ lwz r3, 8(r30) +/* 803227C8 0031F728 28 03 00 00 */ cmplwi r3, 0 +/* 803227CC 0031F72C 41 82 00 18 */ beq lbl_803227E4 +/* 803227D0 0031F730 81 83 00 00 */ lwz r12, 0(r3) +/* 803227D4 0031F734 38 80 00 01 */ li r4, 1 +/* 803227D8 0031F738 81 8C 00 08 */ lwz r12, 8(r12) +/* 803227DC 0031F73C 7D 89 03 A6 */ mtctr r12 +/* 803227E0 0031F740 4E 80 04 21 */ bctrl +lbl_803227E4: +/* 803227E4 0031F744 28 1E 00 00 */ cmplwi r30, 0 +/* 803227E8 0031F748 41 82 00 20 */ beq lbl_80322808 +/* 803227EC 0031F74C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803227F0 0031F750 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803227F4 0031F754 90 1E 00 00 */ stw r0, 0(r30) +/* 803227F8 0031F758 41 82 00 10 */ beq lbl_80322808 +/* 803227FC 0031F75C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322800 0031F760 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322804 0031F764 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322808: +/* 80322808 0031F768 7F E0 07 35 */ extsh. r0, r31 +/* 8032280C 0031F76C 40 81 00 10 */ ble lbl_8032281C +/* 80322810 0031F770 7F C3 F3 78 */ mr r3, r30 +/* 80322814 0031F774 38 80 00 0C */ li r4, 0xc +/* 80322818 0031F778 48 04 A2 4D */ bl sub_8036ca64 +lbl_8032281C: +/* 8032281C 0031F77C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322820 0031F780 7F C3 F3 78 */ mr r3, r30 +/* 80322824 0031F784 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322828 0031F788 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032282C 0031F78C 7C 08 03 A6 */ mtlr r0 +/* 80322830 0031F790 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322834 0031F794 4E 80 00 20 */ blr + +.global __ct__8CIEDeathFP11CIntElementP11CIntElement +__ct__8CIEDeathFP11CIntElementP11CIntElement: +/* 80322838 0031F798 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 8032283C 0031F79C 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80322840 0031F7A0 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80322844 0031F7A4 3C C0 80 3F */ lis r6, lbl_803EDC18@ha +/* 80322848 0031F7A8 90 03 00 00 */ stw r0, 0(r3) +/* 8032284C 0031F7AC 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80322850 0031F7B0 38 06 DC 18 */ addi r0, r6, lbl_803EDC18@l +/* 80322854 0031F7B4 90 E3 00 00 */ stw r7, 0(r3) +/* 80322858 0031F7B8 90 03 00 00 */ stw r0, 0(r3) +/* 8032285C 0031F7BC 90 83 00 04 */ stw r4, 4(r3) +/* 80322860 0031F7C0 90 A3 00 08 */ stw r5, 8(r3) +/* 80322864 0031F7C4 4E 80 00 20 */ blr + +.global sub_80322868 +sub_80322868: +/* 80322868 0031F7C8 80 03 00 04 */ lwz r0, 4(r3) +/* 8032286C 0031F7CC 38 60 00 00 */ li r3, 0 +/* 80322870 0031F7D0 90 05 00 00 */ stw r0, 0(r5) +/* 80322874 0031F7D4 4E 80 00 20 */ blr + +.global __dt__11CIEConstant +__dt__11CIEConstant: +/* 80322878 0031F7D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032287C 0031F7DC 7C 08 02 A6 */ mflr r0 +/* 80322880 0031F7E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322884 0031F7E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322888 0031F7E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8032288C 0031F7EC 41 82 00 44 */ beq lbl_803228D0 +/* 80322890 0031F7F0 3C 60 80 3F */ lis r3, lbl_803EDC28@ha +/* 80322894 0031F7F4 38 03 DC 28 */ addi r0, r3, lbl_803EDC28@l +/* 80322898 0031F7F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8032289C 0031F7FC 41 82 00 20 */ beq lbl_803228BC +/* 803228A0 0031F800 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803228A4 0031F804 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803228A8 0031F808 90 1F 00 00 */ stw r0, 0(r31) +/* 803228AC 0031F80C 41 82 00 10 */ beq lbl_803228BC +/* 803228B0 0031F810 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803228B4 0031F814 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803228B8 0031F818 90 1F 00 00 */ stw r0, 0(r31) +lbl_803228BC: +/* 803228BC 0031F81C 7C 80 07 35 */ extsh. r0, r4 +/* 803228C0 0031F820 40 81 00 10 */ ble lbl_803228D0 +/* 803228C4 0031F824 7F E3 FB 78 */ mr r3, r31 +/* 803228C8 0031F828 38 80 00 08 */ li r4, 8 +/* 803228CC 0031F82C 48 04 A1 99 */ bl sub_8036ca64 +lbl_803228D0: +/* 803228D0 0031F830 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803228D4 0031F834 7F E3 FB 78 */ mr r3, r31 +/* 803228D8 0031F838 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803228DC 0031F83C 7C 08 03 A6 */ mtlr r0 +/* 803228E0 0031F840 38 21 00 10 */ addi r1, r1, 0x10 +/* 803228E4 0031F844 4E 80 00 20 */ blr + +.global __ct__11CIEConstantFi +__ct__11CIEConstantFi: +/* 803228E8 0031F848 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803228EC 0031F84C 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 803228F0 0031F850 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803228F4 0031F854 3C A0 80 3F */ lis r5, lbl_803EDC28@ha +/* 803228F8 0031F858 90 03 00 00 */ stw r0, 0(r3) +/* 803228FC 0031F85C 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 80322900 0031F860 38 05 DC 28 */ addi r0, r5, lbl_803EDC28@l +/* 80322904 0031F864 90 C3 00 00 */ stw r6, 0(r3) +/* 80322908 0031F868 90 03 00 00 */ stw r0, 0(r3) +/* 8032290C 0031F86C 90 83 00 04 */ stw r4, 4(r3) +/* 80322910 0031F870 4E 80 00 20 */ blr + +.global __dt__7CIEGAPC +__dt__7CIEGAPC: +/* 80322914 0031F874 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322918 0031F878 7C 08 02 A6 */ mflr r0 +/* 8032291C 0031F87C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322920 0031F880 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322924 0031F884 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80322928 0031F888 41 82 00 44 */ beq lbl_8032296C +/* 8032292C 0031F88C 3C 60 80 3F */ lis r3, lbl_803EDB08@ha +/* 80322930 0031F890 38 03 DB 08 */ addi r0, r3, lbl_803EDB08@l +/* 80322934 0031F894 90 1F 00 00 */ stw r0, 0(r31) +/* 80322938 0031F898 41 82 00 20 */ beq lbl_80322958 +/* 8032293C 0031F89C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322940 0031F8A0 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322944 0031F8A4 90 1F 00 00 */ stw r0, 0(r31) +/* 80322948 0031F8A8 41 82 00 10 */ beq lbl_80322958 +/* 8032294C 0031F8AC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322950 0031F8B0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322954 0031F8B4 90 1F 00 00 */ stw r0, 0(r31) +lbl_80322958: +/* 80322958 0031F8B8 7C 80 07 35 */ extsh. r0, r4 +/* 8032295C 0031F8BC 40 81 00 10 */ ble lbl_8032296C +/* 80322960 0031F8C0 7F E3 FB 78 */ mr r3, r31 +/* 80322964 0031F8C4 38 80 00 04 */ li r4, 4 +/* 80322968 0031F8C8 48 04 A0 FD */ bl sub_8036ca64 +lbl_8032296C: +/* 8032296C 0031F8CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322970 0031F8D0 7F E3 FB 78 */ mr r3, r31 +/* 80322974 0031F8D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322978 0031F8D8 7C 08 03 A6 */ mtlr r0 +/* 8032297C 0031F8DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322980 0031F8E0 4E 80 00 20 */ blr + +.global __dt__7CIEGTCP +__dt__7CIEGTCP: +/* 80322984 0031F8E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322988 0031F8E8 7C 08 02 A6 */ mflr r0 +/* 8032298C 0031F8EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322990 0031F8F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322994 0031F8F4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80322998 0031F8F8 41 82 00 44 */ beq lbl_803229DC +/* 8032299C 0031F8FC 3C 60 80 3F */ lis r3, lbl_803EDB18@ha +/* 803229A0 0031F900 38 03 DB 18 */ addi r0, r3, lbl_803EDB18@l +/* 803229A4 0031F904 90 1F 00 00 */ stw r0, 0(r31) +/* 803229A8 0031F908 41 82 00 20 */ beq lbl_803229C8 +/* 803229AC 0031F90C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803229B0 0031F910 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803229B4 0031F914 90 1F 00 00 */ stw r0, 0(r31) +/* 803229B8 0031F918 41 82 00 10 */ beq lbl_803229C8 +/* 803229BC 0031F91C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803229C0 0031F920 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803229C4 0031F924 90 1F 00 00 */ stw r0, 0(r31) +lbl_803229C8: +/* 803229C8 0031F928 7C 80 07 35 */ extsh. r0, r4 +/* 803229CC 0031F92C 40 81 00 10 */ ble lbl_803229DC +/* 803229D0 0031F930 7F E3 FB 78 */ mr r3, r31 +/* 803229D4 0031F934 38 80 00 04 */ li r4, 4 +/* 803229D8 0031F938 48 04 A0 8D */ bl sub_8036ca64 +lbl_803229DC: +/* 803229DC 0031F93C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803229E0 0031F940 7F E3 FB 78 */ mr r3, r31 +/* 803229E4 0031F944 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803229E8 0031F948 7C 08 03 A6 */ mtlr r0 +/* 803229EC 0031F94C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803229F0 0031F950 4E 80 00 20 */ blr + +.global GetValue__15CMVESetPositionCFiR9CVector3fR9CVector3f +GetValue__15CMVESetPositionCFiR9CVector3fR9CVector3f: +/* 803229F4 0031F954 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803229F8 0031F958 7C 08 02 A6 */ mflr r0 +/* 803229FC 0031F95C 7C C5 33 78 */ mr r5, r6 +/* 80322A00 0031F960 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322A04 0031F964 80 63 00 04 */ lwz r3, 4(r3) +/* 80322A08 0031F968 81 83 00 00 */ lwz r12, 0(r3) +/* 80322A0C 0031F96C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322A10 0031F970 7D 89 03 A6 */ mtctr r12 +/* 80322A14 0031F974 4E 80 04 21 */ bctrl +/* 80322A18 0031F978 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322A1C 0031F97C 38 60 00 00 */ li r3, 0 +/* 80322A20 0031F980 7C 08 03 A6 */ mtlr r0 +/* 80322A24 0031F984 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322A28 0031F988 4E 80 00 20 */ blr + +.global __dt__15CMVESetPositionFv +__dt__15CMVESetPositionFv: +/* 80322A2C 0031F98C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322A30 0031F990 7C 08 02 A6 */ mflr r0 +/* 80322A34 0031F994 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322A38 0031F998 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322A3C 0031F99C 7C 9F 23 78 */ mr r31, r4 +/* 80322A40 0031F9A0 93 C1 00 08 */ stw r30, 8(r1) +/* 80322A44 0031F9A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322A48 0031F9A8 41 82 00 68 */ beq lbl_80322AB0 +/* 80322A4C 0031F9AC 3C 60 80 3F */ lis r3, lbl_803EDC38@ha +/* 80322A50 0031F9B0 38 03 DC 38 */ addi r0, r3, lbl_803EDC38@l +/* 80322A54 0031F9B4 90 1E 00 00 */ stw r0, 0(r30) +/* 80322A58 0031F9B8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80322A5C 0031F9BC 28 03 00 00 */ cmplwi r3, 0 +/* 80322A60 0031F9C0 41 82 00 18 */ beq lbl_80322A78 +/* 80322A64 0031F9C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322A68 0031F9C8 38 80 00 01 */ li r4, 1 +/* 80322A6C 0031F9CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322A70 0031F9D0 7D 89 03 A6 */ mtctr r12 +/* 80322A74 0031F9D4 4E 80 04 21 */ bctrl +lbl_80322A78: +/* 80322A78 0031F9D8 28 1E 00 00 */ cmplwi r30, 0 +/* 80322A7C 0031F9DC 41 82 00 20 */ beq lbl_80322A9C +/* 80322A80 0031F9E0 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80322A84 0031F9E4 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80322A88 0031F9E8 90 1E 00 00 */ stw r0, 0(r30) +/* 80322A8C 0031F9EC 41 82 00 10 */ beq lbl_80322A9C +/* 80322A90 0031F9F0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322A94 0031F9F4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322A98 0031F9F8 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322A9C: +/* 80322A9C 0031F9FC 7F E0 07 35 */ extsh. r0, r31 +/* 80322AA0 0031FA00 40 81 00 10 */ ble lbl_80322AB0 +/* 80322AA4 0031FA04 7F C3 F3 78 */ mr r3, r30 +/* 80322AA8 0031FA08 38 80 00 08 */ li r4, 8 +/* 80322AAC 0031FA0C 48 04 9F B9 */ bl sub_8036ca64 +lbl_80322AB0: +/* 80322AB0 0031FA10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322AB4 0031FA14 7F C3 F3 78 */ mr r3, r30 +/* 80322AB8 0031FA18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322ABC 0031FA1C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322AC0 0031FA20 7C 08 03 A6 */ mtlr r0 +/* 80322AC4 0031FA24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322AC8 0031FA28 4E 80 00 20 */ blr + +.global __ct__15CMVESetPositionFP14CVectorElement +__ct__15CMVESetPositionFP14CVectorElement: +/* 80322ACC 0031FA2C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80322AD0 0031FA30 3C C0 80 3F */ lis r6, lbl_803EC5C8@ha +/* 80322AD4 0031FA34 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80322AD8 0031FA38 3C A0 80 3F */ lis r5, lbl_803EDC38@ha +/* 80322ADC 0031FA3C 90 03 00 00 */ stw r0, 0(r3) +/* 80322AE0 0031FA40 38 C6 C5 C8 */ addi r6, r6, lbl_803EC5C8@l +/* 80322AE4 0031FA44 38 05 DC 38 */ addi r0, r5, lbl_803EDC38@l +/* 80322AE8 0031FA48 90 C3 00 00 */ stw r6, 0(r3) +/* 80322AEC 0031FA4C 90 03 00 00 */ stw r0, 0(r3) +/* 80322AF0 0031FA50 90 83 00 04 */ stw r4, 4(r3) +/* 80322AF4 0031FA54 4E 80 00 20 */ blr + +.global GetValue__10CMVEBounceCFiR9CVector3fR9CVector3f +GetValue__10CMVEBounceCFiR9CVector3fR9CVector3f: +/* 80322AF8 0031FA58 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80322AFC 0031FA5C 7C 08 02 A6 */ mflr r0 +/* 80322B00 0031FA60 90 01 00 64 */ stw r0, 0x64(r1) +/* 80322B04 0031FA64 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80322B08 0031FA68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80322B0C 0031FA6C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80322B10 0031FA70 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80322B14 0031FA74 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80322B18 0031FA78 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80322B1C 0031FA7C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80322B20 0031FA80 93 81 00 30 */ stw r28, 0x30(r1) +/* 80322B24 0031FA84 7C 7C 1B 78 */ mr r28, r3 +/* 80322B28 0031FA88 7C 9D 23 78 */ mr r29, r4 +/* 80322B2C 0031FA8C 88 03 00 14 */ lbz r0, 0x14(r3) +/* 80322B30 0031FA90 7C BE 2B 78 */ mr r30, r5 +/* 80322B34 0031FA94 7C DF 33 78 */ mr r31, r6 +/* 80322B38 0031FA98 28 00 00 00 */ cmplwi r0, 0 +/* 80322B3C 0031FA9C 40 82 00 78 */ bne lbl_80322BB4 +/* 80322B40 0031FAA0 80 7C 00 08 */ lwz r3, 8(r28) +/* 80322B44 0031FAA4 38 BC 00 18 */ addi r5, r28, 0x18 +/* 80322B48 0031FAA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80322B4C 0031FAAC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322B50 0031FAB0 7D 89 03 A6 */ mtctr r12 +/* 80322B54 0031FAB4 4E 80 04 21 */ bctrl +/* 80322B58 0031FAB8 38 7C 00 18 */ addi r3, r28, 0x18 +/* 80322B5C 0031FABC 4B FF 1D 9D */ bl Normalize__9CVector3fFv +/* 80322B60 0031FAC0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322B64 0031FAC4 7F A4 EB 78 */ mr r4, r29 +/* 80322B68 0031FAC8 80 7C 00 04 */ lwz r3, 4(r28) +/* 80322B6C 0031FACC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80322B70 0031FAD0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80322B74 0031FAD4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80322B78 0031FAD8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80322B7C 0031FADC 81 83 00 00 */ lwz r12, 0(r3) +/* 80322B80 0031FAE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322B84 0031FAE4 7D 89 03 A6 */ mtctr r12 +/* 80322B88 0031FAE8 4E 80 04 21 */ bctrl +/* 80322B8C 0031FAEC C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 80322B90 0031FAF0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80322B94 0031FAF4 C0 5C 00 18 */ lfs f2, 0x18(r28) +/* 80322B98 0031FAF8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80322B9C 0031FAFC C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80322BA0 0031FB00 C0 9C 00 20 */ lfs f4, 0x20(r28) +/* 80322BA4 0031FB04 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80322BA8 0031FB08 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80322BAC 0031FB0C EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80322BB0 0031FB10 D0 1C 00 24 */ stfs f0, 0x24(r28) +lbl_80322BB4: +/* 80322BB4 0031FB14 C0 7C 00 1C */ lfs f3, 0x1c(r28) +/* 80322BB8 0031FB18 C1 BF 00 04 */ lfs f13, 4(r31) +/* 80322BBC 0031FB1C C1 1C 00 18 */ lfs f8, 0x18(r28) +/* 80322BC0 0031FB20 EC 23 03 72 */ fmuls f1, f3, f13 +/* 80322BC4 0031FB24 C1 7F 00 00 */ lfs f11, 0(r31) +/* 80322BC8 0031FB28 C1 3C 00 20 */ lfs f9, 0x20(r28) +/* 80322BCC 0031FB2C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80322BD0 0031FB30 EC 28 0A FA */ fmadds f1, f8, f11, f1 +/* 80322BD4 0031FB34 C3 DC 00 24 */ lfs f30, 0x24(r28) +/* 80322BD8 0031FB38 C0 E2 CA 68 */ lfs f7, lbl_805AE788@sda21(r2) +/* 80322BDC 0031FB3C EC 29 08 3A */ fmadds f1, f9, f0, f1 +/* 80322BE0 0031FB40 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80322BE4 0031FB44 FC 01 38 40 */ fcmpo cr0, f1, f7 +/* 80322BE8 0031FB48 40 81 00 0C */ ble lbl_80322BF4 +/* 80322BEC 0031FB4C 38 60 00 00 */ li r3, 0 +/* 80322BF0 0031FB50 48 00 01 88 */ b lbl_80322D78 +lbl_80322BF4: +/* 80322BF4 0031FB54 88 1C 00 15 */ lbz r0, 0x15(r28) +/* 80322BF8 0031FB58 28 00 00 00 */ cmplwi r0, 0 +/* 80322BFC 0031FB5C 41 82 00 0C */ beq lbl_80322C08 +/* 80322C00 0031FB60 38 60 00 01 */ li r3, 1 +/* 80322C04 0031FB64 48 00 01 74 */ b lbl_80322D78 +lbl_80322C08: +/* 80322C08 0031FB68 C1 9E 00 04 */ lfs f12, 4(r30) +/* 80322C0C 0031FB6C C1 5E 00 00 */ lfs f10, 0(r30) +/* 80322C10 0031FB70 EC 43 03 32 */ fmuls f2, f3, f12 +/* 80322C14 0031FB74 C3 FE 00 08 */ lfs f31, 8(r30) +/* 80322C18 0031FB78 EC 28 12 BA */ fmadds f1, f8, f10, f2 +/* 80322C1C 0031FB7C EC 29 0F FA */ fmadds f1, f9, f31, f1 +/* 80322C20 0031FB80 FC 01 38 40 */ fcmpo cr0, f1, f7 +/* 80322C24 0031FB84 40 80 01 50 */ bge lbl_80322D74 +/* 80322C28 0031FB88 EC AD 60 28 */ fsubs f5, f13, f12 +/* 80322C2C 0031FB8C C0 22 CA 6C */ lfs f1, lbl_805AE78C@sda21(r2) +/* 80322C30 0031FB90 EC CB 50 28 */ fsubs f6, f11, f10 +/* 80322C34 0031FB94 7F A4 EB 78 */ mr r4, r29 +/* 80322C38 0031FB98 EC 80 F8 28 */ fsubs f4, f0, f31 +/* 80322C3C 0031FB9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322C40 0031FBA0 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80322C44 0031FBA4 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80322C48 0031FBA8 EC 4A 12 3A */ fmadds f2, f10, f8, f2 +/* 80322C4C 0031FBAC D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80322C50 0031FBB0 EC 66 1A 3A */ fmadds f3, f6, f8, f3 +/* 80322C54 0031FBB4 EC 5F 12 7A */ fmadds f2, f31, f9, f2 +/* 80322C58 0031FBB8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80322C5C 0031FBBC EC 64 1A 7A */ fmadds f3, f4, f9, f3 +/* 80322C60 0031FBC0 EC 63 F0 28 */ fsubs f3, f3, f30 +/* 80322C64 0031FBC4 FC 60 18 50 */ fneg f3, f3 +/* 80322C68 0031FBC8 EC 43 10 24 */ fdivs f2, f3, f2 +/* 80322C6C 0031FBCC EC 22 08 28 */ fsubs f1, f2, f1 +/* 80322C70 0031FBD0 EC 61 02 B2 */ fmuls f3, f1, f10 +/* 80322C74 0031FBD4 EC 41 03 32 */ fmuls f2, f1, f12 +/* 80322C78 0031FBD8 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 80322C7C 0031FBDC EC 6B 18 2A */ fadds f3, f11, f3 +/* 80322C80 0031FBE0 EC 4D 10 2A */ fadds f2, f13, f2 +/* 80322C84 0031FBE4 EC 00 08 2A */ fadds f0, f0, f1 +/* 80322C88 0031FBE8 D0 7F 00 00 */ stfs f3, 0(r31) +/* 80322C8C 0031FBEC D0 5F 00 04 */ stfs f2, 4(r31) +/* 80322C90 0031FBF0 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80322C94 0031FBF4 D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 80322C98 0031FBF8 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80322C9C 0031FBFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80322CA0 0031FC00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322CA4 0031FC04 7D 89 03 A6 */ mtctr r12 +/* 80322CA8 0031FC08 4E 80 04 21 */ bctrl +/* 80322CAC 0031FC0C C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 80322CB0 0031FC10 7F A4 EB 78 */ mr r4, r29 +/* 80322CB4 0031FC14 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80322CB8 0031FC18 38 A1 00 08 */ addi r5, r1, 8 +/* 80322CBC 0031FC1C C0 9E 00 04 */ lfs f4, 4(r30) +/* 80322CC0 0031FC20 EC 25 00 32 */ fmuls f1, f5, f0 +/* 80322CC4 0031FC24 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80322CC8 0031FC28 C0 7E 00 08 */ lfs f3, 8(r30) +/* 80322CCC 0031FC2C EC 85 01 32 */ fmuls f4, f5, f4 +/* 80322CD0 0031FC30 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322CD4 0031FC34 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80322CD8 0031FC38 EC 45 00 F2 */ fmuls f2, f5, f3 +/* 80322CDC 0031FC3C D0 3E 00 00 */ stfs f1, 0(r30) +/* 80322CE0 0031FC40 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80322CE4 0031FC44 EC 21 20 28 */ fsubs f1, f1, f4 +/* 80322CE8 0031FC48 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80322CEC 0031FC4C C0 3E 00 08 */ lfs f1, 8(r30) +/* 80322CF0 0031FC50 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80322CF4 0031FC54 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80322CF8 0031FC58 D0 01 00 08 */ stfs f0, 8(r1) +/* 80322CFC 0031FC5C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80322D00 0031FC60 81 83 00 00 */ lwz r12, 0(r3) +/* 80322D04 0031FC64 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322D08 0031FC68 7D 89 03 A6 */ mtctr r12 +/* 80322D0C 0031FC6C 4E 80 04 21 */ bctrl +/* 80322D10 0031FC70 C0 BC 00 1C */ lfs f5, 0x1c(r28) +/* 80322D14 0031FC74 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80322D18 0031FC78 C0 9C 00 18 */ lfs f4, 0x18(r28) +/* 80322D1C 0031FC7C EC 05 00 32 */ fmuls f0, f5, f0 +/* 80322D20 0031FC80 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80322D24 0031FC84 C0 62 CA 6C */ lfs f3, lbl_805AE78C@sda21(r2) +/* 80322D28 0031FC88 C0 41 00 08 */ lfs f2, 8(r1) +/* 80322D2C 0031FC8C EC 04 00 7A */ fmadds f0, f4, f1, f0 +/* 80322D30 0031FC90 C0 DC 00 20 */ lfs f6, 0x20(r28) +/* 80322D34 0031FC94 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80322D38 0031FC98 EC 43 10 2A */ fadds f2, f3, f2 +/* 80322D3C 0031FC9C C0 7E 00 00 */ lfs f3, 0(r30) +/* 80322D40 0031FCA0 EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 80322D44 0031FCA4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80322D48 0031FCA8 EC 40 01 32 */ fmuls f2, f0, f4 +/* 80322D4C 0031FCAC EC 20 01 72 */ fmuls f1, f0, f5 +/* 80322D50 0031FCB0 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80322D54 0031FCB4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80322D58 0031FCB8 D0 5E 00 00 */ stfs f2, 0(r30) +/* 80322D5C 0031FCBC C0 5E 00 04 */ lfs f2, 4(r30) +/* 80322D60 0031FCC0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80322D64 0031FCC4 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80322D68 0031FCC8 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80322D6C 0031FCCC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80322D70 0031FCD0 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80322D74: +/* 80322D74 0031FCD4 38 60 00 00 */ li r3, 0 +lbl_80322D78: +/* 80322D78 0031FCD8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80322D7C 0031FCDC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80322D80 0031FCE0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80322D84 0031FCE4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80322D88 0031FCE8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80322D8C 0031FCEC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80322D90 0031FCF0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80322D94 0031FCF4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80322D98 0031FCF8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80322D9C 0031FCFC 7C 08 03 A6 */ mtlr r0 +/* 80322DA0 0031FD00 38 21 00 60 */ addi r1, r1, 0x60 +/* 80322DA4 0031FD04 4E 80 00 20 */ blr + +.global __dt__10CMVEBounceFv +__dt__10CMVEBounceFv: +/* 80322DA8 0031FD08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322DAC 0031FD0C 7C 08 02 A6 */ mflr r0 +/* 80322DB0 0031FD10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322DB4 0031FD14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322DB8 0031FD18 7C 9F 23 78 */ mr r31, r4 +/* 80322DBC 0031FD1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80322DC0 0031FD20 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322DC4 0031FD24 41 82 00 C8 */ beq lbl_80322E8C +/* 80322DC8 0031FD28 3C 60 80 3F */ lis r3, lbl_803EDC48@ha +/* 80322DCC 0031FD2C 38 03 DC 48 */ addi r0, r3, lbl_803EDC48@l +/* 80322DD0 0031FD30 90 1E 00 00 */ stw r0, 0(r30) +/* 80322DD4 0031FD34 80 7E 00 04 */ lwz r3, 4(r30) +/* 80322DD8 0031FD38 28 03 00 00 */ cmplwi r3, 0 +/* 80322DDC 0031FD3C 41 82 00 18 */ beq lbl_80322DF4 +/* 80322DE0 0031FD40 81 83 00 00 */ lwz r12, 0(r3) +/* 80322DE4 0031FD44 38 80 00 01 */ li r4, 1 +/* 80322DE8 0031FD48 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322DEC 0031FD4C 7D 89 03 A6 */ mtctr r12 +/* 80322DF0 0031FD50 4E 80 04 21 */ bctrl +lbl_80322DF4: +/* 80322DF4 0031FD54 80 7E 00 08 */ lwz r3, 8(r30) +/* 80322DF8 0031FD58 28 03 00 00 */ cmplwi r3, 0 +/* 80322DFC 0031FD5C 41 82 00 18 */ beq lbl_80322E14 +/* 80322E00 0031FD60 81 83 00 00 */ lwz r12, 0(r3) +/* 80322E04 0031FD64 38 80 00 01 */ li r4, 1 +/* 80322E08 0031FD68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322E0C 0031FD6C 7D 89 03 A6 */ mtctr r12 +/* 80322E10 0031FD70 4E 80 04 21 */ bctrl +lbl_80322E14: +/* 80322E14 0031FD74 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80322E18 0031FD78 28 03 00 00 */ cmplwi r3, 0 +/* 80322E1C 0031FD7C 41 82 00 18 */ beq lbl_80322E34 +/* 80322E20 0031FD80 81 83 00 00 */ lwz r12, 0(r3) +/* 80322E24 0031FD84 38 80 00 01 */ li r4, 1 +/* 80322E28 0031FD88 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322E2C 0031FD8C 7D 89 03 A6 */ mtctr r12 +/* 80322E30 0031FD90 4E 80 04 21 */ bctrl +lbl_80322E34: +/* 80322E34 0031FD94 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80322E38 0031FD98 28 03 00 00 */ cmplwi r3, 0 +/* 80322E3C 0031FD9C 41 82 00 18 */ beq lbl_80322E54 +/* 80322E40 0031FDA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80322E44 0031FDA4 38 80 00 01 */ li r4, 1 +/* 80322E48 0031FDA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322E4C 0031FDAC 7D 89 03 A6 */ mtctr r12 +/* 80322E50 0031FDB0 4E 80 04 21 */ bctrl +lbl_80322E54: +/* 80322E54 0031FDB4 28 1E 00 00 */ cmplwi r30, 0 +/* 80322E58 0031FDB8 41 82 00 20 */ beq lbl_80322E78 +/* 80322E5C 0031FDBC 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80322E60 0031FDC0 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80322E64 0031FDC4 90 1E 00 00 */ stw r0, 0(r30) +/* 80322E68 0031FDC8 41 82 00 10 */ beq lbl_80322E78 +/* 80322E6C 0031FDCC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322E70 0031FDD0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322E74 0031FDD4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322E78: +/* 80322E78 0031FDD8 7F E0 07 35 */ extsh. r0, r31 +/* 80322E7C 0031FDDC 40 81 00 10 */ ble lbl_80322E8C +/* 80322E80 0031FDE0 7F C3 F3 78 */ mr r3, r30 +/* 80322E84 0031FDE4 38 80 00 28 */ li r4, 0x28 +/* 80322E88 0031FDE8 48 04 9B DD */ bl sub_8036ca64 +lbl_80322E8C: +/* 80322E8C 0031FDEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322E90 0031FDF0 7F C3 F3 78 */ mr r3, r30 +/* 80322E94 0031FDF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322E98 0031FDF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322E9C 0031FDFC 7C 08 03 A6 */ mtlr r0 +/* 80322EA0 0031FE00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322EA4 0031FE04 4E 80 00 20 */ blr + +.global __ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb +__ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb: +/* 80322EA8 0031FE08 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80322EAC 0031FE0C 7C 08 02 A6 */ mflr r0 +/* 80322EB0 0031FE10 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha +/* 80322EB4 0031FE14 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322EB8 0031FE18 90 01 00 34 */ stw r0, 0x34(r1) +/* 80322EBC 0031FE1C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80322EC0 0031FE20 7C BF 2B 78 */ mr r31, r5 +/* 80322EC4 0031FE24 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80322EC8 0031FE28 7C 9E 23 79 */ or. r30, r4, r4 +/* 80322ECC 0031FE2C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80322ED0 0031FE30 7C 7D 1B 78 */ mr r29, r3 +/* 80322ED4 0031FE34 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322ED8 0031FE38 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322EDC 0031FE3C 7F AA EB 78 */ mr r10, r29 +/* 80322EE0 0031FE40 90 1D 00 00 */ stw r0, 0(r29) +/* 80322EE4 0031FE44 38 09 C5 C8 */ addi r0, r9, lbl_803EC5C8@l +/* 80322EE8 0031FE48 3C 60 80 3F */ lis r3, lbl_803EDC48@ha +/* 80322EEC 0031FE4C 90 1D 00 00 */ stw r0, 0(r29) +/* 80322EF0 0031FE50 38 63 DC 48 */ addi r3, r3, lbl_803EDC48@l +/* 80322EF4 0031FE54 38 00 00 00 */ li r0, 0 +/* 80322EF8 0031FE58 90 7D 00 00 */ stw r3, 0(r29) +/* 80322EFC 0031FE5C 93 DD 00 04 */ stw r30, 4(r29) +/* 80322F00 0031FE60 93 FD 00 08 */ stw r31, 8(r29) +/* 80322F04 0031FE64 90 DD 00 0C */ stw r6, 0xc(r29) +/* 80322F08 0031FE68 90 FD 00 10 */ stw r7, 0x10(r29) +/* 80322F0C 0031FE6C 98 1D 00 14 */ stb r0, 0x14(r29) +/* 80322F10 0031FE70 99 1D 00 15 */ stb r8, 0x15(r29) +/* 80322F14 0031FE74 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 80322F18 0031FE78 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80322F1C 0031FE7C D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 80322F20 0031FE80 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 80322F24 0031FE84 41 82 00 F0 */ beq lbl_80323014 +/* 80322F28 0031FE88 28 1F 00 00 */ cmplwi r31, 0 +/* 80322F2C 0031FE8C 41 82 00 E8 */ beq lbl_80323014 +/* 80322F30 0031FE90 7F C3 F3 78 */ mr r3, r30 +/* 80322F34 0031FE94 81 9E 00 00 */ lwz r12, 0(r30) +/* 80322F38 0031FE98 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80322F3C 0031FE9C 7D 89 03 A6 */ mtctr r12 +/* 80322F40 0031FEA0 4E 80 04 21 */ bctrl +/* 80322F44 0031FEA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80322F48 0031FEA8 41 82 00 CC */ beq lbl_80323014 +/* 80322F4C 0031FEAC 7F E3 FB 78 */ mr r3, r31 +/* 80322F50 0031FEB0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80322F54 0031FEB4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80322F58 0031FEB8 7D 89 03 A6 */ mtctr r12 +/* 80322F5C 0031FEBC 4E 80 04 21 */ bctrl +/* 80322F60 0031FEC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80322F64 0031FEC4 41 82 00 B0 */ beq lbl_80323014 +/* 80322F68 0031FEC8 38 00 00 01 */ li r0, 1 +/* 80322F6C 0031FECC 7F E3 FB 78 */ mr r3, r31 +/* 80322F70 0031FED0 98 1D 00 14 */ stb r0, 0x14(r29) +/* 80322F74 0031FED4 38 BD 00 18 */ addi r5, r29, 0x18 +/* 80322F78 0031FED8 38 80 00 00 */ li r4, 0 +/* 80322F7C 0031FEDC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80322F80 0031FEE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322F84 0031FEE4 7D 89 03 A6 */ mtctr r12 +/* 80322F88 0031FEE8 4E 80 04 21 */ bctrl +/* 80322F8C 0031FEEC 38 7D 00 18 */ addi r3, r29, 0x18 +/* 80322F90 0031FEF0 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80322F94 0031FEF4 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 80322F98 0031FEF8 C0 7D 00 20 */ lfs f3, 0x20(r29) +/* 80322F9C 0031FEFC EC 20 00 32 */ fmuls f1, f0, f0 +/* 80322FA0 0031FF00 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80322FA4 0031FF04 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322FA8 0031FF08 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80322FAC 0031FF0C EC 22 08 2A */ fadds f1, f2, f1 +/* 80322FB0 0031FF10 EC 23 08 2A */ fadds f1, f3, f1 +/* 80322FB4 0031FF14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80322FB8 0031FF18 40 81 00 08 */ ble lbl_80322FC0 +/* 80322FBC 0031FF1C 4B FF 19 3D */ bl Normalize__9CVector3fFv +lbl_80322FC0: +/* 80322FC0 0031FF20 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322FC4 0031FF24 7F C3 F3 78 */ mr r3, r30 +/* 80322FC8 0031FF28 38 A1 00 08 */ addi r5, r1, 8 +/* 80322FCC 0031FF2C 38 80 00 00 */ li r4, 0 +/* 80322FD0 0031FF30 D0 01 00 08 */ stfs f0, 8(r1) +/* 80322FD4 0031FF34 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80322FD8 0031FF38 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80322FDC 0031FF3C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80322FE0 0031FF40 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322FE4 0031FF44 7D 89 03 A6 */ mtctr r12 +/* 80322FE8 0031FF48 4E 80 04 21 */ bctrl +/* 80322FEC 0031FF4C C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 80322FF0 0031FF50 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80322FF4 0031FF54 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 80322FF8 0031FF58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80322FFC 0031FF5C C0 21 00 08 */ lfs f1, 8(r1) +/* 80323000 0031FF60 C0 9D 00 20 */ lfs f4, 0x20(r29) +/* 80323004 0031FF64 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80323008 0031FF68 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8032300C 0031FF6C EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80323010 0031FF70 D0 1D 00 24 */ stfs f0, 0x24(r29) +lbl_80323014: +/* 80323014 0031FF74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80323018 0031FF78 7F A3 EB 78 */ mr r3, r29 +/* 8032301C 0031FF7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80323020 0031FF80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80323024 0031FF84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80323028 0031FF88 7C 08 03 A6 */ mtlr r0 +/* 8032302C 0031FF8C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80323030 0031FF90 4E 80 00 20 */ blr + +.global GetValue__9CMVESwirlCFiR9CVector3fR9CVector3f +GetValue__9CMVESwirlCFiR9CVector3fR9CVector3f: +/* 80323034 0031FF94 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80323038 0031FF98 7C 08 02 A6 */ mflr r0 +/* 8032303C 0031FF9C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80323040 0031FFA0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80323044 0031FFA4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80323048 0031FFA8 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8032304C 0031FFAC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80323050 0031FFB0 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80323054 0031FFB4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80323058 0031FFB8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8032305C 0031FFBC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80323060 0031FFC0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80323064 0031FFC4 93 81 00 30 */ stw r28, 0x30(r1) +/* 80323068 0031FFC8 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 8032306C 0031FFCC 7C 7C 1B 78 */ mr r28, r3 +/* 80323070 0031FFD0 7C BE 2B 78 */ mr r30, r5 +/* 80323074 0031FFD4 80 63 00 04 */ lwz r3, 4(r3) +/* 80323078 0031FFD8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8032307C 0031FFDC 7C 9D 23 78 */ mr r29, r4 +/* 80323080 0031FFE0 7C DF 33 78 */ mr r31, r6 +/* 80323084 0031FFE4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80323088 0031FFE8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8032308C 0031FFEC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80323090 0031FFF0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80323094 0031FFF4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80323098 0031FFF8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8032309C 0031FFFC 81 83 00 00 */ lwz r12, 0(r3) +/* 803230A0 00320000 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803230A4 00320004 7D 89 03 A6 */ mtctr r12 +/* 803230A8 00320008 4E 80 04 21 */ bctrl +/* 803230AC 0032000C 80 7C 00 08 */ lwz r3, 8(r28) +/* 803230B0 00320010 7F A4 EB 78 */ mr r4, r29 +/* 803230B4 00320014 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803230B8 00320018 81 83 00 00 */ lwz r12, 0(r3) +/* 803230BC 0032001C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803230C0 00320020 7D 89 03 A6 */ mtctr r12 +/* 803230C4 00320024 4E 80 04 21 */ bctrl +/* 803230C8 00320028 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 803230CC 0032002C 7F A4 EB 78 */ mr r4, r29 +/* 803230D0 00320030 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803230D4 00320034 38 A1 00 0C */ addi r5, r1, 0xc +/* 803230D8 00320038 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 803230DC 0032003C C0 5F 00 00 */ lfs f2, 0(r31) +/* 803230E0 00320040 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803230E4 00320044 C1 01 00 14 */ lfs f8, 0x14(r1) +/* 803230E8 00320048 EC A3 10 28 */ fsubs f5, f3, f2 +/* 803230EC 0032004C C0 41 00 24 */ lfs f2, 0x24(r1) +/* 803230F0 00320050 C0 3F 00 08 */ lfs f1, 8(r31) +/* 803230F4 00320054 EC 04 02 32 */ fmuls f0, f4, f8 +/* 803230F8 00320058 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 803230FC 0032005C EC 62 08 28 */ fsubs f3, f2, f1 +/* 80323100 00320060 EC 25 01 FA */ fmadds f1, f5, f7, f0 +/* 80323104 00320064 C1 21 00 18 */ lfs f9, 0x18(r1) +/* 80323108 00320068 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 8032310C 0032006C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323110 00320070 EC C3 0A 7A */ fmadds f6, f3, f9, f1 +/* 80323114 00320074 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80323118 00320078 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032311C 0032007C EC 46 01 F2 */ fmuls f2, f6, f7 +/* 80323120 00320080 EC 26 02 32 */ fmuls f1, f6, f8 +/* 80323124 00320084 81 83 00 00 */ lwz r12, 0(r3) +/* 80323128 00320088 EC 06 02 72 */ fmuls f0, f6, f9 +/* 8032312C 0032008C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323130 00320090 EF A5 10 28 */ fsubs f29, f5, f2 +/* 80323134 00320094 EF C4 08 28 */ fsubs f30, f4, f1 +/* 80323138 00320098 EF E3 00 28 */ fsubs f31, f3, f0 +/* 8032313C 0032009C 7D 89 03 A6 */ mtctr r12 +/* 80323140 003200A0 4E 80 04 21 */ bctrl +/* 80323144 003200A4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323148 003200A8 7F A4 EB 78 */ mr r4, r29 +/* 8032314C 003200AC 38 A1 00 08 */ addi r5, r1, 8 +/* 80323150 003200B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323154 003200B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323158 003200B8 7D 89 03 A6 */ mtctr r12 +/* 8032315C 003200BC 4E 80 04 21 */ bctrl +/* 80323160 003200C0 C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 80323164 003200C4 38 60 00 00 */ li r3, 0 +/* 80323168 003200C8 C1 7E 00 04 */ lfs f11, 4(r30) +/* 8032316C 003200CC C1 A1 00 18 */ lfs f13, 0x18(r1) +/* 80323170 003200D0 EC 9D 01 F2 */ fmuls f4, f29, f7 +/* 80323174 003200D4 C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 80323178 003200D8 EC 07 02 F2 */ fmuls f0, f7, f11 +/* 8032317C 003200DC C1 9E 00 00 */ lfs f12, 0(r30) +/* 80323180 003200E0 EC 5E 03 72 */ fmuls f2, f30, f13 +/* 80323184 003200E4 EC 3F 01 72 */ fmuls f1, f31, f5 +/* 80323188 003200E8 EC 65 03 3A */ fmadds f3, f5, f12, f0 +/* 8032318C 003200EC C0 1E 00 08 */ lfs f0, 8(r30) +/* 80323190 003200F0 EC 47 17 F8 */ fmsubs f2, f7, f31, f2 +/* 80323194 003200F4 C0 C1 00 08 */ lfs f6, 8(r1) +/* 80323198 003200F8 EC 2D 0F 78 */ fmsubs f1, f13, f29, f1 +/* 8032319C 003200FC ED 2D 18 3A */ fmadds f9, f13, f0, f3 +/* 803231A0 00320100 ED 05 27 B8 */ fmsubs f8, f5, f30, f4 +/* 803231A4 00320104 C0 62 CA 6C */ lfs f3, lbl_805AE78C@sda21(r2) +/* 803231A8 00320108 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 803231AC 0032010C C1 41 00 0C */ lfs f10, 0xc(r1) +/* 803231B0 00320110 EC A9 01 72 */ fmuls f5, f9, f5 +/* 803231B4 00320114 EC 89 01 F2 */ fmuls f4, f9, f7 +/* 803231B8 00320118 EC E3 50 28 */ fsubs f7, f3, f10 +/* 803231BC 0032011C EC 66 00 72 */ fmuls f3, f6, f1 +/* 803231C0 00320120 EC A5 10 2A */ fadds f5, f5, f2 +/* 803231C4 00320124 EC 49 03 72 */ fmuls f2, f9, f13 +/* 803231C8 00320128 EC 26 02 32 */ fmuls f1, f6, f8 +/* 803231CC 0032012C EC 64 18 2A */ fadds f3, f4, f3 +/* 803231D0 00320130 EC C7 03 32 */ fmuls f6, f7, f12 +/* 803231D4 00320134 EC 8A 01 72 */ fmuls f4, f10, f5 +/* 803231D8 00320138 EC 22 08 2A */ fadds f1, f2, f1 +/* 803231DC 0032013C EC A7 02 F2 */ fmuls f5, f7, f11 +/* 803231E0 00320140 EC 4A 00 F2 */ fmuls f2, f10, f3 +/* 803231E4 00320144 EC 64 30 2A */ fadds f3, f4, f6 +/* 803231E8 00320148 EC 87 00 32 */ fmuls f4, f7, f0 +/* 803231EC 0032014C EC 0A 00 72 */ fmuls f0, f10, f1 +/* 803231F0 00320150 EC 22 28 2A */ fadds f1, f2, f5 +/* 803231F4 00320154 D0 7E 00 00 */ stfs f3, 0(r30) +/* 803231F8 00320158 EC 00 20 2A */ fadds f0, f0, f4 +/* 803231FC 0032015C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323200 00320160 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80323204 00320164 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80323208 00320168 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032320C 0032016C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80323210 00320170 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80323214 00320174 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80323218 00320178 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8032321C 0032017C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323220 00320180 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80323224 00320184 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323228 00320188 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032322C 0032018C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323230 00320190 7C 08 03 A6 */ mtlr r0 +/* 80323234 00320194 38 21 00 70 */ addi r1, r1, 0x70 +/* 80323238 00320198 4E 80 00 20 */ blr + +.global __dt__9CMVESwirlFv +__dt__9CMVESwirlFv: +/* 8032323C 0032019C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323240 003201A0 7C 08 02 A6 */ mflr r0 +/* 80323244 003201A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323248 003201A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032324C 003201AC 7C 9F 23 78 */ mr r31, r4 +/* 80323250 003201B0 93 C1 00 08 */ stw r30, 8(r1) +/* 80323254 003201B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323258 003201B8 41 82 00 C8 */ beq lbl_80323320 +/* 8032325C 003201BC 3C 60 80 3F */ lis r3, lbl_803EDC58@ha +/* 80323260 003201C0 38 03 DC 58 */ addi r0, r3, lbl_803EDC58@l +/* 80323264 003201C4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323268 003201C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032326C 003201CC 28 03 00 00 */ cmplwi r3, 0 +/* 80323270 003201D0 41 82 00 18 */ beq lbl_80323288 +/* 80323274 003201D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323278 003201D8 38 80 00 01 */ li r4, 1 +/* 8032327C 003201DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323280 003201E0 7D 89 03 A6 */ mtctr r12 +/* 80323284 003201E4 4E 80 04 21 */ bctrl +lbl_80323288: +/* 80323288 003201E8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032328C 003201EC 28 03 00 00 */ cmplwi r3, 0 +/* 80323290 003201F0 41 82 00 18 */ beq lbl_803232A8 +/* 80323294 003201F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323298 003201F8 38 80 00 01 */ li r4, 1 +/* 8032329C 003201FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803232A0 00320200 7D 89 03 A6 */ mtctr r12 +/* 803232A4 00320204 4E 80 04 21 */ bctrl +lbl_803232A8: +/* 803232A8 00320208 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803232AC 0032020C 28 03 00 00 */ cmplwi r3, 0 +/* 803232B0 00320210 41 82 00 18 */ beq lbl_803232C8 +/* 803232B4 00320214 81 83 00 00 */ lwz r12, 0(r3) +/* 803232B8 00320218 38 80 00 01 */ li r4, 1 +/* 803232BC 0032021C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803232C0 00320220 7D 89 03 A6 */ mtctr r12 +/* 803232C4 00320224 4E 80 04 21 */ bctrl +lbl_803232C8: +/* 803232C8 00320228 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803232CC 0032022C 28 03 00 00 */ cmplwi r3, 0 +/* 803232D0 00320230 41 82 00 18 */ beq lbl_803232E8 +/* 803232D4 00320234 81 83 00 00 */ lwz r12, 0(r3) +/* 803232D8 00320238 38 80 00 01 */ li r4, 1 +/* 803232DC 0032023C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803232E0 00320240 7D 89 03 A6 */ mtctr r12 +/* 803232E4 00320244 4E 80 04 21 */ bctrl +lbl_803232E8: +/* 803232E8 00320248 28 1E 00 00 */ cmplwi r30, 0 +/* 803232EC 0032024C 41 82 00 20 */ beq lbl_8032330C +/* 803232F0 00320250 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803232F4 00320254 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803232F8 00320258 90 1E 00 00 */ stw r0, 0(r30) +/* 803232FC 0032025C 41 82 00 10 */ beq lbl_8032330C +/* 80323300 00320260 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323304 00320264 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323308 00320268 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032330C: +/* 8032330C 0032026C 7F E0 07 35 */ extsh. r0, r31 +/* 80323310 00320270 40 81 00 10 */ ble lbl_80323320 +/* 80323314 00320274 7F C3 F3 78 */ mr r3, r30 +/* 80323318 00320278 38 80 00 14 */ li r4, 0x14 +/* 8032331C 0032027C 48 04 97 49 */ bl sub_8036ca64 +lbl_80323320: +/* 80323320 00320280 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323324 00320284 7F C3 F3 78 */ mr r3, r30 +/* 80323328 00320288 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032332C 0032028C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323330 00320290 7C 08 03 A6 */ mtlr r0 +/* 80323334 00320294 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323338 00320298 4E 80 00 20 */ blr + +.global __ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement +__ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement: +/* 8032333C 0032029C 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80323340 003202A0 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha +/* 80323344 003202A4 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80323348 003202A8 3D 00 80 3F */ lis r8, lbl_803EDC58@ha +/* 8032334C 003202AC 90 03 00 00 */ stw r0, 0(r3) +/* 80323350 003202B0 39 29 C5 C8 */ addi r9, r9, lbl_803EC5C8@l +/* 80323354 003202B4 38 08 DC 58 */ addi r0, r8, lbl_803EDC58@l +/* 80323358 003202B8 91 23 00 00 */ stw r9, 0(r3) +/* 8032335C 003202BC 90 03 00 00 */ stw r0, 0(r3) +/* 80323360 003202C0 90 83 00 04 */ stw r4, 4(r3) +/* 80323364 003202C4 90 A3 00 08 */ stw r5, 8(r3) +/* 80323368 003202C8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8032336C 003202CC 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323370 003202D0 4E 80 00 20 */ blr + +.global GetValue__24CMVEExponentialImplosionCFiR9CVector3fR9CVector3f +GetValue__24CMVEExponentialImplosionCFiR9CVector3fR9CVector3f: +/* 80323374 003202D4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80323378 003202D8 7C 08 02 A6 */ mflr r0 +/* 8032337C 003202DC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80323380 003202E0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80323384 003202E4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80323388 003202E8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8032338C 003202EC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80323390 003202F0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80323394 003202F4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80323398 003202F8 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8032339C 003202FC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 803233A0 00320300 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803233A4 00320304 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803233A8 00320308 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803233AC 0032030C 93 81 00 30 */ stw r28, 0x30(r1) +/* 803233B0 00320310 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803233B4 00320314 7C 7C 1B 78 */ mr r28, r3 +/* 803233B8 00320318 7C BE 2B 78 */ mr r30, r5 +/* 803233BC 0032031C 80 63 00 04 */ lwz r3, 4(r3) +/* 803233C0 00320320 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803233C4 00320324 7C 9D 23 78 */ mr r29, r4 +/* 803233C8 00320328 7C DF 33 78 */ mr r31, r6 +/* 803233CC 0032032C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 803233D0 00320330 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803233D4 00320334 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 803233D8 00320338 81 83 00 00 */ lwz r12, 0(r3) +/* 803233DC 0032033C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803233E0 00320340 7D 89 03 A6 */ mtctr r12 +/* 803233E4 00320344 4E 80 04 21 */ bctrl +/* 803233E8 00320348 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 803233EC 0032034C 38 61 00 14 */ addi r3, r1, 0x14 +/* 803233F0 00320350 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803233F4 00320354 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 803233F8 00320358 C0 5F 00 08 */ lfs f2, 8(r31) +/* 803233FC 0032035C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80323400 00320360 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80323404 00320364 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80323408 00320368 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8032340C 0032036C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80323410 00320370 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80323414 00320374 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80323418 00320378 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8032341C 0032037C 4B FF 14 9D */ bl Magnitude__9CVector3fCFv +/* 80323420 00320380 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323424 00320384 FF E0 08 90 */ fmr f31, f1 +/* 80323428 00320388 7F A4 EB 78 */ mr r4, r29 +/* 8032342C 0032038C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80323430 00320390 81 83 00 00 */ lwz r12, 0(r3) +/* 80323434 00320394 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323438 00320398 7D 89 03 A6 */ mtctr r12 +/* 8032343C 0032039C 4E 80 04 21 */ bctrl +/* 80323440 003203A0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80323444 003203A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323448 003203A8 40 81 00 0C */ ble lbl_80323454 +/* 8032344C 003203AC 38 60 00 00 */ li r3, 0 +/* 80323450 003203B0 48 00 00 D4 */ b lbl_80323524 +lbl_80323454: +/* 80323454 003203B4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323458 003203B8 7F A4 EB 78 */ mr r4, r29 +/* 8032345C 003203BC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323460 003203C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323464 003203C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323468 003203C8 7D 89 03 A6 */ mtctr r12 +/* 8032346C 003203CC 4E 80 04 21 */ bctrl +/* 80323470 003203D0 88 1C 00 14 */ lbz r0, 0x14(r28) +/* 80323474 003203D4 28 00 00 00 */ cmplwi r0, 0 +/* 80323478 003203D8 41 82 00 18 */ beq lbl_80323490 +/* 8032347C 003203DC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80323480 003203E0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323484 003203E4 40 80 00 0C */ bge lbl_80323490 +/* 80323488 003203E8 38 60 00 01 */ li r3, 1 +/* 8032348C 003203EC 48 00 00 98 */ b lbl_80323524 +lbl_80323490: +/* 80323490 003203F0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80323494 003203F4 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80323498 003203F8 40 82 00 0C */ bne lbl_803234A4 +/* 8032349C 003203FC 38 60 00 00 */ li r3, 0 +/* 803234A0 00320400 48 00 00 84 */ b lbl_80323524 +lbl_803234A4: +/* 803234A4 00320404 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) +/* 803234A8 00320408 7F A4 EB 78 */ mr r4, r29 +/* 803234AC 0032040C 80 7C 00 08 */ lwz r3, 8(r28) +/* 803234B0 00320410 38 A1 00 08 */ addi r5, r1, 8 +/* 803234B4 00320414 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 803234B8 00320418 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 803234BC 0032041C 81 83 00 00 */ lwz r12, 0(r3) +/* 803234C0 00320420 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803234C4 00320424 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 803234C8 00320428 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803234CC 0032042C EF 83 00 B2 */ fmuls f28, f3, f2 +/* 803234D0 00320430 EF A3 00 72 */ fmuls f29, f3, f1 +/* 803234D4 00320434 EF C3 00 32 */ fmuls f30, f3, f0 +/* 803234D8 00320438 7D 89 03 A6 */ mtctr r12 +/* 803234DC 0032043C 4E 80 04 21 */ bctrl +/* 803234E0 00320440 C0 01 00 08 */ lfs f0, 8(r1) +/* 803234E4 00320444 38 60 00 00 */ li r3, 0 +/* 803234E8 00320448 C0 7E 00 00 */ lfs f3, 0(r30) +/* 803234EC 0032044C EC 40 07 32 */ fmuls f2, f0, f28 +/* 803234F0 00320450 EC 20 07 72 */ fmuls f1, f0, f29 +/* 803234F4 00320454 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 803234F8 00320458 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 803234FC 0032045C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80323500 00320460 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80323504 00320464 EC 43 10 2A */ fadds f2, f3, f2 +/* 80323508 00320468 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8032350C 0032046C C0 5E 00 04 */ lfs f2, 4(r30) +/* 80323510 00320470 EC 22 08 2A */ fadds f1, f2, f1 +/* 80323514 00320474 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323518 00320478 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8032351C 0032047C EC 01 00 2A */ fadds f0, f1, f0 +/* 80323520 00320480 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80323524: +/* 80323524 00320484 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80323528 00320488 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8032352C 0032048C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80323530 00320490 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80323534 00320494 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80323538 00320498 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8032353C 0032049C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 80323540 003204A0 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 80323544 003204A4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323548 003204A8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8032354C 003204AC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323550 003204B0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80323554 003204B4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323558 003204B8 7C 08 03 A6 */ mtlr r0 +/* 8032355C 003204BC 38 21 00 80 */ addi r1, r1, 0x80 +/* 80323560 003204C0 4E 80 00 20 */ blr + +.global __dt__24CMVEExponentialImplosionFv +__dt__24CMVEExponentialImplosionFv: +/* 80323564 003204C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323568 003204C8 7C 08 02 A6 */ mflr r0 +/* 8032356C 003204CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323570 003204D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323574 003204D4 7C 9F 23 78 */ mr r31, r4 +/* 80323578 003204D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032357C 003204DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323580 003204E0 41 82 00 C8 */ beq lbl_80323648 +/* 80323584 003204E4 3C 60 80 3F */ lis r3, lbl_803EDC68@ha +/* 80323588 003204E8 38 03 DC 68 */ addi r0, r3, lbl_803EDC68@l +/* 8032358C 003204EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80323590 003204F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323594 003204F4 28 03 00 00 */ cmplwi r3, 0 +/* 80323598 003204F8 41 82 00 18 */ beq lbl_803235B0 +/* 8032359C 003204FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803235A0 00320500 38 80 00 01 */ li r4, 1 +/* 803235A4 00320504 81 8C 00 08 */ lwz r12, 8(r12) +/* 803235A8 00320508 7D 89 03 A6 */ mtctr r12 +/* 803235AC 0032050C 4E 80 04 21 */ bctrl +lbl_803235B0: +/* 803235B0 00320510 80 7E 00 08 */ lwz r3, 8(r30) +/* 803235B4 00320514 28 03 00 00 */ cmplwi r3, 0 +/* 803235B8 00320518 41 82 00 18 */ beq lbl_803235D0 +/* 803235BC 0032051C 81 83 00 00 */ lwz r12, 0(r3) +/* 803235C0 00320520 38 80 00 01 */ li r4, 1 +/* 803235C4 00320524 81 8C 00 08 */ lwz r12, 8(r12) +/* 803235C8 00320528 7D 89 03 A6 */ mtctr r12 +/* 803235CC 0032052C 4E 80 04 21 */ bctrl +lbl_803235D0: +/* 803235D0 00320530 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803235D4 00320534 28 03 00 00 */ cmplwi r3, 0 +/* 803235D8 00320538 41 82 00 18 */ beq lbl_803235F0 +/* 803235DC 0032053C 81 83 00 00 */ lwz r12, 0(r3) +/* 803235E0 00320540 38 80 00 01 */ li r4, 1 +/* 803235E4 00320544 81 8C 00 08 */ lwz r12, 8(r12) +/* 803235E8 00320548 7D 89 03 A6 */ mtctr r12 +/* 803235EC 0032054C 4E 80 04 21 */ bctrl +lbl_803235F0: +/* 803235F0 00320550 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803235F4 00320554 28 03 00 00 */ cmplwi r3, 0 +/* 803235F8 00320558 41 82 00 18 */ beq lbl_80323610 +/* 803235FC 0032055C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323600 00320560 38 80 00 01 */ li r4, 1 +/* 80323604 00320564 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323608 00320568 7D 89 03 A6 */ mtctr r12 +/* 8032360C 0032056C 4E 80 04 21 */ bctrl +lbl_80323610: +/* 80323610 00320570 28 1E 00 00 */ cmplwi r30, 0 +/* 80323614 00320574 41 82 00 20 */ beq lbl_80323634 +/* 80323618 00320578 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 8032361C 0032057C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323620 00320580 90 1E 00 00 */ stw r0, 0(r30) +/* 80323624 00320584 41 82 00 10 */ beq lbl_80323634 +/* 80323628 00320588 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032362C 0032058C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323630 00320590 90 1E 00 00 */ stw r0, 0(r30) +lbl_80323634: +/* 80323634 00320594 7F E0 07 35 */ extsh. r0, r31 +/* 80323638 00320598 40 81 00 10 */ ble lbl_80323648 +/* 8032363C 0032059C 7F C3 F3 78 */ mr r3, r30 +/* 80323640 003205A0 38 80 00 18 */ li r4, 0x18 +/* 80323644 003205A4 48 04 94 21 */ bl sub_8036ca64 +lbl_80323648: +/* 80323648 003205A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032364C 003205AC 7F C3 F3 78 */ mr r3, r30 +/* 80323650 003205B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80323654 003205B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323658 003205B8 7C 08 03 A6 */ mtlr r0 +/* 8032365C 003205BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323660 003205C0 4E 80 00 20 */ blr + +.global __ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +__ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: +/* 80323664 003205C4 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80323668 003205C8 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha +/* 8032366C 003205CC 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80323670 003205D0 3D 20 80 3F */ lis r9, lbl_803EDC68@ha +/* 80323674 003205D4 90 03 00 00 */ stw r0, 0(r3) +/* 80323678 003205D8 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l +/* 8032367C 003205DC 38 09 DC 68 */ addi r0, r9, lbl_803EDC68@l +/* 80323680 003205E0 91 43 00 00 */ stw r10, 0(r3) +/* 80323684 003205E4 90 03 00 00 */ stw r0, 0(r3) +/* 80323688 003205E8 90 83 00 04 */ stw r4, 4(r3) +/* 8032368C 003205EC 90 A3 00 08 */ stw r5, 8(r3) +/* 80323690 003205F0 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80323694 003205F4 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323698 003205F8 99 03 00 14 */ stb r8, 0x14(r3) +/* 8032369C 003205FC 4E 80 00 20 */ blr + +.global GetValue__19CMVELinearImplosionCFiR9CVector3fR9CVector3f +GetValue__19CMVELinearImplosionCFiR9CVector3fR9CVector3f: +/* 803236A0 00320600 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803236A4 00320604 7C 08 02 A6 */ mflr r0 +/* 803236A8 00320608 90 01 00 74 */ stw r0, 0x74(r1) +/* 803236AC 0032060C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 803236B0 00320610 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 803236B4 00320614 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 803236B8 00320618 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 803236BC 0032061C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 803236C0 00320620 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 803236C4 00320624 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803236C8 00320628 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803236CC 0032062C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803236D0 00320630 93 81 00 30 */ stw r28, 0x30(r1) +/* 803236D4 00320634 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803236D8 00320638 7C 7C 1B 78 */ mr r28, r3 +/* 803236DC 0032063C 7C BE 2B 78 */ mr r30, r5 +/* 803236E0 00320640 80 63 00 04 */ lwz r3, 4(r3) +/* 803236E4 00320644 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803236E8 00320648 7C 9D 23 78 */ mr r29, r4 +/* 803236EC 0032064C 7C DF 33 78 */ mr r31, r6 +/* 803236F0 00320650 38 A1 00 20 */ addi r5, r1, 0x20 +/* 803236F4 00320654 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803236F8 00320658 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 803236FC 0032065C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323700 00320660 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323704 00320664 7D 89 03 A6 */ mtctr r12 +/* 80323708 00320668 4E 80 04 21 */ bctrl +/* 8032370C 0032066C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80323710 00320670 38 61 00 14 */ addi r3, r1, 0x14 +/* 80323714 00320674 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80323718 00320678 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8032371C 0032067C C0 5F 00 08 */ lfs f2, 8(r31) +/* 80323720 00320680 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80323724 00320684 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80323728 00320688 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8032372C 0032068C EC 43 10 28 */ fsubs f2, f3, f2 +/* 80323730 00320690 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80323734 00320694 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80323738 00320698 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8032373C 0032069C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80323740 003206A0 4B FF 11 79 */ bl Magnitude__9CVector3fCFv +/* 80323744 003206A4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323748 003206A8 FF E0 08 90 */ fmr f31, f1 +/* 8032374C 003206AC 7F A4 EB 78 */ mr r4, r29 +/* 80323750 003206B0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80323754 003206B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323758 003206B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032375C 003206BC 7D 89 03 A6 */ mtctr r12 +/* 80323760 003206C0 4E 80 04 21 */ bctrl +/* 80323764 003206C4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80323768 003206C8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8032376C 003206CC 40 81 00 0C */ ble lbl_80323778 +/* 80323770 003206D0 38 60 00 00 */ li r3, 0 +/* 80323774 003206D4 48 00 00 B0 */ b lbl_80323824 +lbl_80323778: +/* 80323778 003206D8 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8032377C 003206DC 7F A4 EB 78 */ mr r4, r29 +/* 80323780 003206E0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323784 003206E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323788 003206E8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032378C 003206EC 7D 89 03 A6 */ mtctr r12 +/* 80323790 003206F0 4E 80 04 21 */ bctrl +/* 80323794 003206F4 88 1C 00 14 */ lbz r0, 0x14(r28) +/* 80323798 003206F8 28 00 00 00 */ cmplwi r0, 0 +/* 8032379C 003206FC 41 82 00 18 */ beq lbl_803237B4 +/* 803237A0 00320700 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803237A4 00320704 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 803237A8 00320708 40 80 00 0C */ bge lbl_803237B4 +/* 803237AC 0032070C 38 60 00 01 */ li r3, 1 +/* 803237B0 00320710 48 00 00 74 */ b lbl_80323824 +lbl_803237B4: +/* 803237B4 00320714 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803237B8 00320718 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 803237BC 0032071C 40 82 00 0C */ bne lbl_803237C8 +/* 803237C0 00320720 38 60 00 00 */ li r3, 0 +/* 803237C4 00320724 48 00 00 60 */ b lbl_80323824 +lbl_803237C8: +/* 803237C8 00320728 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) +/* 803237CC 0032072C 7F A4 EB 78 */ mr r4, r29 +/* 803237D0 00320730 80 7C 00 08 */ lwz r3, 8(r28) +/* 803237D4 00320734 38 A1 00 08 */ addi r5, r1, 8 +/* 803237D8 00320738 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 803237DC 0032073C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 803237E0 00320740 81 83 00 00 */ lwz r12, 0(r3) +/* 803237E4 00320744 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803237E8 00320748 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 803237EC 0032074C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803237F0 00320750 EF A3 00 B2 */ fmuls f29, f3, f2 +/* 803237F4 00320754 EF C3 00 72 */ fmuls f30, f3, f1 +/* 803237F8 00320758 EF E3 00 32 */ fmuls f31, f3, f0 +/* 803237FC 0032075C 7D 89 03 A6 */ mtctr r12 +/* 80323800 00320760 4E 80 04 21 */ bctrl +/* 80323804 00320764 C0 01 00 08 */ lfs f0, 8(r1) +/* 80323808 00320768 38 60 00 00 */ li r3, 0 +/* 8032380C 0032076C EC 40 07 72 */ fmuls f2, f0, f29 +/* 80323810 00320770 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80323814 00320774 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80323818 00320778 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8032381C 0032077C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323820 00320780 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80323824: +/* 80323824 00320784 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80323828 00320788 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032382C 0032078C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80323830 00320790 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80323834 00320794 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80323838 00320798 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8032383C 0032079C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323840 003207A0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80323844 003207A4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323848 003207A8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032384C 003207AC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323850 003207B0 7C 08 03 A6 */ mtlr r0 +/* 80323854 003207B4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80323858 003207B8 4E 80 00 20 */ blr + +.global __dt__19CMVELinearImplosionFv +__dt__19CMVELinearImplosionFv: +/* 8032385C 003207BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323860 003207C0 7C 08 02 A6 */ mflr r0 +/* 80323864 003207C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323868 003207C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032386C 003207CC 7C 9F 23 78 */ mr r31, r4 +/* 80323870 003207D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80323874 003207D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323878 003207D8 41 82 00 C8 */ beq lbl_80323940 +/* 8032387C 003207DC 3C 60 80 3F */ lis r3, lbl_803EDC78@ha +/* 80323880 003207E0 38 03 DC 78 */ addi r0, r3, lbl_803EDC78@l +/* 80323884 003207E4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323888 003207E8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032388C 003207EC 28 03 00 00 */ cmplwi r3, 0 +/* 80323890 003207F0 41 82 00 18 */ beq lbl_803238A8 +/* 80323894 003207F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323898 003207F8 38 80 00 01 */ li r4, 1 +/* 8032389C 003207FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803238A0 00320800 7D 89 03 A6 */ mtctr r12 +/* 803238A4 00320804 4E 80 04 21 */ bctrl +lbl_803238A8: +/* 803238A8 00320808 80 7E 00 08 */ lwz r3, 8(r30) +/* 803238AC 0032080C 28 03 00 00 */ cmplwi r3, 0 +/* 803238B0 00320810 41 82 00 18 */ beq lbl_803238C8 +/* 803238B4 00320814 81 83 00 00 */ lwz r12, 0(r3) +/* 803238B8 00320818 38 80 00 01 */ li r4, 1 +/* 803238BC 0032081C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803238C0 00320820 7D 89 03 A6 */ mtctr r12 +/* 803238C4 00320824 4E 80 04 21 */ bctrl +lbl_803238C8: +/* 803238C8 00320828 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803238CC 0032082C 28 03 00 00 */ cmplwi r3, 0 +/* 803238D0 00320830 41 82 00 18 */ beq lbl_803238E8 +/* 803238D4 00320834 81 83 00 00 */ lwz r12, 0(r3) +/* 803238D8 00320838 38 80 00 01 */ li r4, 1 +/* 803238DC 0032083C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803238E0 00320840 7D 89 03 A6 */ mtctr r12 +/* 803238E4 00320844 4E 80 04 21 */ bctrl +lbl_803238E8: +/* 803238E8 00320848 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803238EC 0032084C 28 03 00 00 */ cmplwi r3, 0 +/* 803238F0 00320850 41 82 00 18 */ beq lbl_80323908 +/* 803238F4 00320854 81 83 00 00 */ lwz r12, 0(r3) +/* 803238F8 00320858 38 80 00 01 */ li r4, 1 +/* 803238FC 0032085C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323900 00320860 7D 89 03 A6 */ mtctr r12 +/* 80323904 00320864 4E 80 04 21 */ bctrl +lbl_80323908: +/* 80323908 00320868 28 1E 00 00 */ cmplwi r30, 0 +/* 8032390C 0032086C 41 82 00 20 */ beq lbl_8032392C +/* 80323910 00320870 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80323914 00320874 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323918 00320878 90 1E 00 00 */ stw r0, 0(r30) +/* 8032391C 0032087C 41 82 00 10 */ beq lbl_8032392C +/* 80323920 00320880 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323924 00320884 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323928 00320888 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032392C: +/* 8032392C 0032088C 7F E0 07 35 */ extsh. r0, r31 +/* 80323930 00320890 40 81 00 10 */ ble lbl_80323940 +/* 80323934 00320894 7F C3 F3 78 */ mr r3, r30 +/* 80323938 00320898 38 80 00 18 */ li r4, 0x18 +/* 8032393C 0032089C 48 04 91 29 */ bl sub_8036ca64 +lbl_80323940: +/* 80323940 003208A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323944 003208A4 7F C3 F3 78 */ mr r3, r30 +/* 80323948 003208A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032394C 003208AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323950 003208B0 7C 08 03 A6 */ mtlr r0 +/* 80323954 003208B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323958 003208B8 4E 80 00 20 */ blr + +.global __ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +__ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: +/* 8032395C 003208BC 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80323960 003208C0 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha +/* 80323964 003208C4 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80323968 003208C8 3D 20 80 3F */ lis r9, lbl_803EDC78@ha +/* 8032396C 003208CC 90 03 00 00 */ stw r0, 0(r3) +/* 80323970 003208D0 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l +/* 80323974 003208D4 38 09 DC 78 */ addi r0, r9, lbl_803EDC78@l +/* 80323978 003208D8 91 43 00 00 */ stw r10, 0(r3) +/* 8032397C 003208DC 90 03 00 00 */ stw r0, 0(r3) +/* 80323980 003208E0 90 83 00 04 */ stw r4, 4(r3) +/* 80323984 003208E4 90 A3 00 08 */ stw r5, 8(r3) +/* 80323988 003208E8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8032398C 003208EC 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323990 003208F0 99 03 00 14 */ stb r8, 0x14(r3) +/* 80323994 003208F4 4E 80 00 20 */ blr + +.global GetValue__13CMVEImplosionCFiR9CVector3fR9CVector3f +GetValue__13CMVEImplosionCFiR9CVector3fR9CVector3f: +/* 80323998 003208F8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032399C 003208FC 7C 08 02 A6 */ mflr r0 +/* 803239A0 00320900 90 01 00 74 */ stw r0, 0x74(r1) +/* 803239A4 00320904 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 803239A8 00320908 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 803239AC 0032090C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 803239B0 00320910 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 803239B4 00320914 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 803239B8 00320918 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 803239BC 0032091C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803239C0 00320920 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803239C4 00320924 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803239C8 00320928 93 81 00 30 */ stw r28, 0x30(r1) +/* 803239CC 0032092C C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803239D0 00320930 7C 7C 1B 78 */ mr r28, r3 +/* 803239D4 00320934 7C BE 2B 78 */ mr r30, r5 +/* 803239D8 00320938 80 63 00 04 */ lwz r3, 4(r3) +/* 803239DC 0032093C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803239E0 00320940 7C 9D 23 78 */ mr r29, r4 +/* 803239E4 00320944 7C DF 33 78 */ mr r31, r6 +/* 803239E8 00320948 38 A1 00 20 */ addi r5, r1, 0x20 +/* 803239EC 0032094C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803239F0 00320950 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 803239F4 00320954 81 83 00 00 */ lwz r12, 0(r3) +/* 803239F8 00320958 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803239FC 0032095C 7D 89 03 A6 */ mtctr r12 +/* 80323A00 00320960 4E 80 04 21 */ bctrl +/* 80323A04 00320964 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80323A08 00320968 38 61 00 14 */ addi r3, r1, 0x14 +/* 80323A0C 0032096C C0 1F 00 04 */ lfs f0, 4(r31) +/* 80323A10 00320970 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 80323A14 00320974 C0 5F 00 08 */ lfs f2, 8(r31) +/* 80323A18 00320978 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80323A1C 0032097C C0 1F 00 00 */ lfs f0, 0(r31) +/* 80323A20 00320980 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80323A24 00320984 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80323A28 00320988 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80323A2C 0032098C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80323A30 00320990 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80323A34 00320994 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80323A38 00320998 4B FF 0E 81 */ bl Magnitude__9CVector3fCFv +/* 80323A3C 0032099C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323A40 003209A0 FF E0 08 90 */ fmr f31, f1 +/* 80323A44 003209A4 7F A4 EB 78 */ mr r4, r29 +/* 80323A48 003209A8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80323A4C 003209AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80323A50 003209B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323A54 003209B4 7D 89 03 A6 */ mtctr r12 +/* 80323A58 003209B8 4E 80 04 21 */ bctrl +/* 80323A5C 003209BC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80323A60 003209C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323A64 003209C4 40 81 00 0C */ ble lbl_80323A70 +/* 80323A68 003209C8 38 60 00 00 */ li r3, 0 +/* 80323A6C 003209CC 48 00 00 C8 */ b lbl_80323B34 +lbl_80323A70: +/* 80323A70 003209D0 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323A74 003209D4 7F A4 EB 78 */ mr r4, r29 +/* 80323A78 003209D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323A7C 003209DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80323A80 003209E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323A84 003209E4 7D 89 03 A6 */ mtctr r12 +/* 80323A88 003209E8 4E 80 04 21 */ bctrl +/* 80323A8C 003209EC 88 1C 00 14 */ lbz r0, 0x14(r28) +/* 80323A90 003209F0 28 00 00 00 */ cmplwi r0, 0 +/* 80323A94 003209F4 41 82 00 18 */ beq lbl_80323AAC +/* 80323A98 003209F8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80323A9C 003209FC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323AA0 00320A00 40 80 00 0C */ bge lbl_80323AAC +/* 80323AA4 00320A04 38 60 00 01 */ li r3, 1 +/* 80323AA8 00320A08 48 00 00 8C */ b lbl_80323B34 +lbl_80323AAC: +/* 80323AAC 00320A0C C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80323AB0 00320A10 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80323AB4 00320A14 40 82 00 0C */ bne lbl_80323AC0 +/* 80323AB8 00320A18 38 60 00 00 */ li r3, 0 +/* 80323ABC 00320A1C 48 00 00 78 */ b lbl_80323B34 +lbl_80323AC0: +/* 80323AC0 00320A20 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) +/* 80323AC4 00320A24 7F A4 EB 78 */ mr r4, r29 +/* 80323AC8 00320A28 80 7C 00 08 */ lwz r3, 8(r28) +/* 80323ACC 00320A2C 38 A1 00 08 */ addi r5, r1, 8 +/* 80323AD0 00320A30 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 80323AD4 00320A34 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80323AD8 00320A38 81 83 00 00 */ lwz r12, 0(r3) +/* 80323ADC 00320A3C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80323AE0 00320A40 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80323AE4 00320A44 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323AE8 00320A48 EF A3 00 B2 */ fmuls f29, f3, f2 +/* 80323AEC 00320A4C EF C3 00 72 */ fmuls f30, f3, f1 +/* 80323AF0 00320A50 EF E3 00 32 */ fmuls f31, f3, f0 +/* 80323AF4 00320A54 7D 89 03 A6 */ mtctr r12 +/* 80323AF8 00320A58 4E 80 04 21 */ bctrl +/* 80323AFC 00320A5C C0 01 00 08 */ lfs f0, 8(r1) +/* 80323B00 00320A60 38 60 00 00 */ li r3, 0 +/* 80323B04 00320A64 C0 7E 00 00 */ lfs f3, 0(r30) +/* 80323B08 00320A68 EC 40 07 72 */ fmuls f2, f0, f29 +/* 80323B0C 00320A6C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80323B10 00320A70 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80323B14 00320A74 EC 43 10 2A */ fadds f2, f3, f2 +/* 80323B18 00320A78 D0 5E 00 00 */ stfs f2, 0(r30) +/* 80323B1C 00320A7C C0 5E 00 04 */ lfs f2, 4(r30) +/* 80323B20 00320A80 EC 22 08 2A */ fadds f1, f2, f1 +/* 80323B24 00320A84 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323B28 00320A88 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80323B2C 00320A8C EC 01 00 2A */ fadds f0, f1, f0 +/* 80323B30 00320A90 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80323B34: +/* 80323B34 00320A94 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80323B38 00320A98 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80323B3C 00320A9C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80323B40 00320AA0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80323B44 00320AA4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80323B48 00320AA8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80323B4C 00320AAC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323B50 00320AB0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80323B54 00320AB4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323B58 00320AB8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80323B5C 00320ABC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323B60 00320AC0 7C 08 03 A6 */ mtlr r0 +/* 80323B64 00320AC4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80323B68 00320AC8 4E 80 00 20 */ blr + +.global __dt__13CMVEImplosionFv +__dt__13CMVEImplosionFv: +/* 80323B6C 00320ACC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323B70 00320AD0 7C 08 02 A6 */ mflr r0 +/* 80323B74 00320AD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323B78 00320AD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323B7C 00320ADC 7C 9F 23 78 */ mr r31, r4 +/* 80323B80 00320AE0 93 C1 00 08 */ stw r30, 8(r1) +/* 80323B84 00320AE4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323B88 00320AE8 41 82 00 C8 */ beq lbl_80323C50 +/* 80323B8C 00320AEC 3C 60 80 3F */ lis r3, lbl_803EDC88@ha +/* 80323B90 00320AF0 38 03 DC 88 */ addi r0, r3, lbl_803EDC88@l +/* 80323B94 00320AF4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323B98 00320AF8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323B9C 00320AFC 28 03 00 00 */ cmplwi r3, 0 +/* 80323BA0 00320B00 41 82 00 18 */ beq lbl_80323BB8 +/* 80323BA4 00320B04 81 83 00 00 */ lwz r12, 0(r3) +/* 80323BA8 00320B08 38 80 00 01 */ li r4, 1 +/* 80323BAC 00320B0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323BB0 00320B10 7D 89 03 A6 */ mtctr r12 +/* 80323BB4 00320B14 4E 80 04 21 */ bctrl +lbl_80323BB8: +/* 80323BB8 00320B18 80 7E 00 08 */ lwz r3, 8(r30) +/* 80323BBC 00320B1C 28 03 00 00 */ cmplwi r3, 0 +/* 80323BC0 00320B20 41 82 00 18 */ beq lbl_80323BD8 +/* 80323BC4 00320B24 81 83 00 00 */ lwz r12, 0(r3) +/* 80323BC8 00320B28 38 80 00 01 */ li r4, 1 +/* 80323BCC 00320B2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323BD0 00320B30 7D 89 03 A6 */ mtctr r12 +/* 80323BD4 00320B34 4E 80 04 21 */ bctrl +lbl_80323BD8: +/* 80323BD8 00320B38 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80323BDC 00320B3C 28 03 00 00 */ cmplwi r3, 0 +/* 80323BE0 00320B40 41 82 00 18 */ beq lbl_80323BF8 +/* 80323BE4 00320B44 81 83 00 00 */ lwz r12, 0(r3) +/* 80323BE8 00320B48 38 80 00 01 */ li r4, 1 +/* 80323BEC 00320B4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323BF0 00320B50 7D 89 03 A6 */ mtctr r12 +/* 80323BF4 00320B54 4E 80 04 21 */ bctrl +lbl_80323BF8: +/* 80323BF8 00320B58 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80323BFC 00320B5C 28 03 00 00 */ cmplwi r3, 0 +/* 80323C00 00320B60 41 82 00 18 */ beq lbl_80323C18 +/* 80323C04 00320B64 81 83 00 00 */ lwz r12, 0(r3) +/* 80323C08 00320B68 38 80 00 01 */ li r4, 1 +/* 80323C0C 00320B6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323C10 00320B70 7D 89 03 A6 */ mtctr r12 +/* 80323C14 00320B74 4E 80 04 21 */ bctrl +lbl_80323C18: +/* 80323C18 00320B78 28 1E 00 00 */ cmplwi r30, 0 +/* 80323C1C 00320B7C 41 82 00 20 */ beq lbl_80323C3C +/* 80323C20 00320B80 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80323C24 00320B84 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323C28 00320B88 90 1E 00 00 */ stw r0, 0(r30) +/* 80323C2C 00320B8C 41 82 00 10 */ beq lbl_80323C3C +/* 80323C30 00320B90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323C34 00320B94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323C38 00320B98 90 1E 00 00 */ stw r0, 0(r30) +lbl_80323C3C: +/* 80323C3C 00320B9C 7F E0 07 35 */ extsh. r0, r31 +/* 80323C40 00320BA0 40 81 00 10 */ ble lbl_80323C50 +/* 80323C44 00320BA4 7F C3 F3 78 */ mr r3, r30 +/* 80323C48 00320BA8 38 80 00 18 */ li r4, 0x18 +/* 80323C4C 00320BAC 48 04 8E 19 */ bl sub_8036ca64 +lbl_80323C50: +/* 80323C50 00320BB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323C54 00320BB4 7F C3 F3 78 */ mr r3, r30 +/* 80323C58 00320BB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80323C5C 00320BBC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323C60 00320BC0 7C 08 03 A6 */ mtlr r0 +/* 80323C64 00320BC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323C68 00320BC8 4E 80 00 20 */ blr + +.global __ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +__ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: +/* 80323C6C 00320BCC 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80323C70 00320BD0 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha +/* 80323C74 00320BD4 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80323C78 00320BD8 3D 20 80 3F */ lis r9, lbl_803EDC88@ha +/* 80323C7C 00320BDC 90 03 00 00 */ stw r0, 0(r3) +/* 80323C80 00320BE0 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l +/* 80323C84 00320BE4 38 09 DC 88 */ addi r0, r9, lbl_803EDC88@l +/* 80323C88 00320BE8 91 43 00 00 */ stw r10, 0(r3) +/* 80323C8C 00320BEC 90 03 00 00 */ stw r0, 0(r3) +/* 80323C90 00320BF0 90 83 00 04 */ stw r4, 4(r3) +/* 80323C94 00320BF4 90 A3 00 08 */ stw r5, 8(r3) +/* 80323C98 00320BF8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80323C9C 00320BFC 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323CA0 00320C00 99 03 00 14 */ stb r8, 0x14(r3) +/* 80323CA4 00320C04 4E 80 00 20 */ blr + +.global GetValue__9CMVEPulseCFiR9CVector3fR9CVector3f +GetValue__9CMVEPulseCFiR9CVector3fR9CVector3f: +/* 80323CA8 00320C08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80323CAC 00320C0C 7C 08 02 A6 */ mflr r0 +/* 80323CB0 00320C10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80323CB4 00320C14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80323CB8 00320C18 7C DF 33 78 */ mr r31, r6 +/* 80323CBC 00320C1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80323CC0 00320C20 7C BE 2B 78 */ mr r30, r5 +/* 80323CC4 00320C24 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323CC8 00320C28 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80323CCC 00320C2C 7C 9D 23 78 */ mr r29, r4 +/* 80323CD0 00320C30 93 81 00 10 */ stw r28, 0x10(r1) +/* 80323CD4 00320C34 7C 7C 1B 78 */ mr r28, r3 +/* 80323CD8 00320C38 80 63 00 04 */ lwz r3, 4(r3) +/* 80323CDC 00320C3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323CE0 00320C40 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323CE4 00320C44 7D 89 03 A6 */ mtctr r12 +/* 80323CE8 00320C48 4E 80 04 21 */ bctrl +/* 80323CEC 00320C4C 80 7C 00 08 */ lwz r3, 8(r28) +/* 80323CF0 00320C50 7F A4 EB 78 */ mr r4, r29 +/* 80323CF4 00320C54 38 A1 00 08 */ addi r5, r1, 8 +/* 80323CF8 00320C58 81 83 00 00 */ lwz r12, 0(r3) +/* 80323CFC 00320C5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D00 00320C60 7D 89 03 A6 */ mtctr r12 +/* 80323D04 00320C64 4E 80 04 21 */ bctrl +/* 80323D08 00320C68 80 61 00 08 */ lwz r3, 8(r1) +/* 80323D0C 00320C6C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80323D10 00320C70 38 A3 00 01 */ addi r5, r3, 1 +/* 80323D14 00320C74 7C A4 2A 15 */ add. r5, r4, r5 +/* 80323D18 00320C78 40 80 00 08 */ bge lbl_80323D20 +/* 80323D1C 00320C7C 38 A0 00 01 */ li r5, 1 +lbl_80323D20: +/* 80323D20 00320C80 2C 03 00 01 */ cmpwi r3, 1 +/* 80323D24 00320C84 41 80 00 60 */ blt lbl_80323D84 +/* 80323D28 00320C88 7C 1D 2B D6 */ divw r0, r29, r5 +/* 80323D2C 00320C8C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80323D30 00320C90 7C 00 E8 50 */ subf r0, r0, r29 +/* 80323D34 00320C94 7C 00 20 00 */ cmpw r0, r4 +/* 80323D38 00320C98 40 81 00 28 */ ble lbl_80323D60 +/* 80323D3C 00320C9C 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323D40 00320CA0 7F A4 EB 78 */ mr r4, r29 +/* 80323D44 00320CA4 7F C5 F3 78 */ mr r5, r30 +/* 80323D48 00320CA8 7F E6 FB 78 */ mr r6, r31 +/* 80323D4C 00320CAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80323D50 00320CB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D54 00320CB4 7D 89 03 A6 */ mtctr r12 +/* 80323D58 00320CB8 4E 80 04 21 */ bctrl +/* 80323D5C 00320CBC 48 00 00 48 */ b lbl_80323DA4 +lbl_80323D60: +/* 80323D60 00320CC0 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323D64 00320CC4 7F A4 EB 78 */ mr r4, r29 +/* 80323D68 00320CC8 7F C5 F3 78 */ mr r5, r30 +/* 80323D6C 00320CCC 7F E6 FB 78 */ mr r6, r31 +/* 80323D70 00320CD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323D74 00320CD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D78 00320CD8 7D 89 03 A6 */ mtctr r12 +/* 80323D7C 00320CDC 4E 80 04 21 */ bctrl +/* 80323D80 00320CE0 48 00 00 24 */ b lbl_80323DA4 +lbl_80323D84: +/* 80323D84 00320CE4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323D88 00320CE8 7F A4 EB 78 */ mr r4, r29 +/* 80323D8C 00320CEC 7F C5 F3 78 */ mr r5, r30 +/* 80323D90 00320CF0 7F E6 FB 78 */ mr r6, r31 +/* 80323D94 00320CF4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323D98 00320CF8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D9C 00320CFC 7D 89 03 A6 */ mtctr r12 +/* 80323DA0 00320D00 4E 80 04 21 */ bctrl +lbl_80323DA4: +/* 80323DA4 00320D04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80323DA8 00320D08 38 60 00 00 */ li r3, 0 +/* 80323DAC 00320D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80323DB0 00320D10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80323DB4 00320D14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80323DB8 00320D18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80323DBC 00320D1C 7C 08 03 A6 */ mtlr r0 +/* 80323DC0 00320D20 38 21 00 20 */ addi r1, r1, 0x20 +/* 80323DC4 00320D24 4E 80 00 20 */ blr + +.global __dt__9CMVEPulseFv +__dt__9CMVEPulseFv: +/* 80323DC8 00320D28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323DCC 00320D2C 7C 08 02 A6 */ mflr r0 +/* 80323DD0 00320D30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323DD4 00320D34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323DD8 00320D38 7C 9F 23 78 */ mr r31, r4 +/* 80323DDC 00320D3C 93 C1 00 08 */ stw r30, 8(r1) +/* 80323DE0 00320D40 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323DE4 00320D44 41 82 00 C8 */ beq lbl_80323EAC +/* 80323DE8 00320D48 3C 60 80 3F */ lis r3, lbl_803EDC98@ha +/* 80323DEC 00320D4C 38 03 DC 98 */ addi r0, r3, lbl_803EDC98@l +/* 80323DF0 00320D50 90 1E 00 00 */ stw r0, 0(r30) +/* 80323DF4 00320D54 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323DF8 00320D58 28 03 00 00 */ cmplwi r3, 0 +/* 80323DFC 00320D5C 41 82 00 18 */ beq lbl_80323E14 +/* 80323E00 00320D60 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E04 00320D64 38 80 00 01 */ li r4, 1 +/* 80323E08 00320D68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E0C 00320D6C 7D 89 03 A6 */ mtctr r12 +/* 80323E10 00320D70 4E 80 04 21 */ bctrl +lbl_80323E14: +/* 80323E14 00320D74 80 7E 00 08 */ lwz r3, 8(r30) +/* 80323E18 00320D78 28 03 00 00 */ cmplwi r3, 0 +/* 80323E1C 00320D7C 41 82 00 18 */ beq lbl_80323E34 +/* 80323E20 00320D80 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E24 00320D84 38 80 00 01 */ li r4, 1 +/* 80323E28 00320D88 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E2C 00320D8C 7D 89 03 A6 */ mtctr r12 +/* 80323E30 00320D90 4E 80 04 21 */ bctrl +lbl_80323E34: +/* 80323E34 00320D94 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80323E38 00320D98 28 03 00 00 */ cmplwi r3, 0 +/* 80323E3C 00320D9C 41 82 00 18 */ beq lbl_80323E54 +/* 80323E40 00320DA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E44 00320DA4 38 80 00 01 */ li r4, 1 +/* 80323E48 00320DA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E4C 00320DAC 7D 89 03 A6 */ mtctr r12 +/* 80323E50 00320DB0 4E 80 04 21 */ bctrl +lbl_80323E54: +/* 80323E54 00320DB4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80323E58 00320DB8 28 03 00 00 */ cmplwi r3, 0 +/* 80323E5C 00320DBC 41 82 00 18 */ beq lbl_80323E74 +/* 80323E60 00320DC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E64 00320DC4 38 80 00 01 */ li r4, 1 +/* 80323E68 00320DC8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E6C 00320DCC 7D 89 03 A6 */ mtctr r12 +/* 80323E70 00320DD0 4E 80 04 21 */ bctrl +lbl_80323E74: +/* 80323E74 00320DD4 28 1E 00 00 */ cmplwi r30, 0 +/* 80323E78 00320DD8 41 82 00 20 */ beq lbl_80323E98 +/* 80323E7C 00320DDC 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80323E80 00320DE0 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323E84 00320DE4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323E88 00320DE8 41 82 00 10 */ beq lbl_80323E98 +/* 80323E8C 00320DEC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323E90 00320DF0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323E94 00320DF4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80323E98: +/* 80323E98 00320DF8 7F E0 07 35 */ extsh. r0, r31 +/* 80323E9C 00320DFC 40 81 00 10 */ ble lbl_80323EAC +/* 80323EA0 00320E00 7F C3 F3 78 */ mr r3, r30 +/* 80323EA4 00320E04 38 80 00 14 */ li r4, 0x14 +/* 80323EA8 00320E08 48 04 8B BD */ bl sub_8036ca64 +lbl_80323EAC: +/* 80323EAC 00320E0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323EB0 00320E10 7F C3 F3 78 */ mr r3, r30 +/* 80323EB4 00320E14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80323EB8 00320E18 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323EBC 00320E1C 7C 08 03 A6 */ mtlr r0 +/* 80323EC0 00320E20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323EC4 00320E24 4E 80 00 20 */ blr + +.global __ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement +__ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement: +/* 80323EC8 00320E28 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80323ECC 00320E2C 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha +/* 80323ED0 00320E30 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80323ED4 00320E34 3D 00 80 3F */ lis r8, lbl_803EDC98@ha +/* 80323ED8 00320E38 90 03 00 00 */ stw r0, 0(r3) +/* 80323EDC 00320E3C 39 29 C5 C8 */ addi r9, r9, lbl_803EC5C8@l +/* 80323EE0 00320E40 38 08 DC 98 */ addi r0, r8, lbl_803EDC98@l +/* 80323EE4 00320E44 91 23 00 00 */ stw r9, 0(r3) +/* 80323EE8 00320E48 90 03 00 00 */ stw r0, 0(r3) +/* 80323EEC 00320E4C 90 83 00 04 */ stw r4, 4(r3) +/* 80323EF0 00320E50 90 A3 00 08 */ stw r5, 8(r3) +/* 80323EF4 00320E54 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80323EF8 00320E58 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323EFC 00320E5C 4E 80 00 20 */ blr + +.global GetValue__13CMVETimeChainCFiR9CVector3fR9CVector3f +GetValue__13CMVETimeChainCFiR9CVector3fR9CVector3f: +/* 80323F00 00320E60 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80323F04 00320E64 7C 08 02 A6 */ mflr r0 +/* 80323F08 00320E68 90 01 00 24 */ stw r0, 0x24(r1) +/* 80323F0C 00320E6C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80323F10 00320E70 7C DF 33 78 */ mr r31, r6 +/* 80323F14 00320E74 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80323F18 00320E78 7C BE 2B 78 */ mr r30, r5 +/* 80323F1C 00320E7C 38 A1 00 08 */ addi r5, r1, 8 +/* 80323F20 00320E80 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80323F24 00320E84 7C 9D 23 78 */ mr r29, r4 +/* 80323F28 00320E88 93 81 00 10 */ stw r28, 0x10(r1) +/* 80323F2C 00320E8C 7C 7C 1B 78 */ mr r28, r3 +/* 80323F30 00320E90 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80323F34 00320E94 81 83 00 00 */ lwz r12, 0(r3) +/* 80323F38 00320E98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323F3C 00320E9C 7D 89 03 A6 */ mtctr r12 +/* 80323F40 00320EA0 4E 80 04 21 */ bctrl +/* 80323F44 00320EA4 80 01 00 08 */ lwz r0, 8(r1) +/* 80323F48 00320EA8 7C 1D 00 00 */ cmpw r29, r0 +/* 80323F4C 00320EAC 40 80 00 28 */ bge lbl_80323F74 +/* 80323F50 00320EB0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80323F54 00320EB4 7F A4 EB 78 */ mr r4, r29 +/* 80323F58 00320EB8 7F C5 F3 78 */ mr r5, r30 +/* 80323F5C 00320EBC 7F E6 FB 78 */ mr r6, r31 +/* 80323F60 00320EC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323F64 00320EC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323F68 00320EC8 7D 89 03 A6 */ mtctr r12 +/* 80323F6C 00320ECC 4E 80 04 21 */ bctrl +/* 80323F70 00320ED0 48 00 00 24 */ b lbl_80323F94 +lbl_80323F74: +/* 80323F74 00320ED4 80 7C 00 08 */ lwz r3, 8(r28) +/* 80323F78 00320ED8 7F C5 F3 78 */ mr r5, r30 +/* 80323F7C 00320EDC 7F E6 FB 78 */ mr r6, r31 +/* 80323F80 00320EE0 7C 80 E8 50 */ subf r4, r0, r29 +/* 80323F84 00320EE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323F88 00320EE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323F8C 00320EEC 7D 89 03 A6 */ mtctr r12 +/* 80323F90 00320EF0 4E 80 04 21 */ bctrl +lbl_80323F94: +/* 80323F94 00320EF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80323F98 00320EF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80323F9C 00320EFC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80323FA0 00320F00 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80323FA4 00320F04 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80323FA8 00320F08 7C 08 03 A6 */ mtlr r0 +/* 80323FAC 00320F0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80323FB0 00320F10 4E 80 00 20 */ blr + +.global __dt__13CMVETimeChainFv +__dt__13CMVETimeChainFv: +/* 80323FB4 00320F14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323FB8 00320F18 7C 08 02 A6 */ mflr r0 +/* 80323FBC 00320F1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323FC0 00320F20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323FC4 00320F24 7C 9F 23 78 */ mr r31, r4 +/* 80323FC8 00320F28 93 C1 00 08 */ stw r30, 8(r1) +/* 80323FCC 00320F2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323FD0 00320F30 41 82 00 A8 */ beq lbl_80324078 +/* 80323FD4 00320F34 3C 60 80 3F */ lis r3, lbl_803EDCA8@ha +/* 80323FD8 00320F38 38 03 DC A8 */ addi r0, r3, lbl_803EDCA8@l +/* 80323FDC 00320F3C 90 1E 00 00 */ stw r0, 0(r30) +/* 80323FE0 00320F40 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323FE4 00320F44 28 03 00 00 */ cmplwi r3, 0 +/* 80323FE8 00320F48 41 82 00 18 */ beq lbl_80324000 +/* 80323FEC 00320F4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323FF0 00320F50 38 80 00 01 */ li r4, 1 +/* 80323FF4 00320F54 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323FF8 00320F58 7D 89 03 A6 */ mtctr r12 +/* 80323FFC 00320F5C 4E 80 04 21 */ bctrl +lbl_80324000: +/* 80324000 00320F60 80 7E 00 08 */ lwz r3, 8(r30) +/* 80324004 00320F64 28 03 00 00 */ cmplwi r3, 0 +/* 80324008 00320F68 41 82 00 18 */ beq lbl_80324020 +/* 8032400C 00320F6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80324010 00320F70 38 80 00 01 */ li r4, 1 +/* 80324014 00320F74 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324018 00320F78 7D 89 03 A6 */ mtctr r12 +/* 8032401C 00320F7C 4E 80 04 21 */ bctrl +lbl_80324020: +/* 80324020 00320F80 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80324024 00320F84 28 03 00 00 */ cmplwi r3, 0 +/* 80324028 00320F88 41 82 00 18 */ beq lbl_80324040 +/* 8032402C 00320F8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80324030 00320F90 38 80 00 01 */ li r4, 1 +/* 80324034 00320F94 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324038 00320F98 7D 89 03 A6 */ mtctr r12 +/* 8032403C 00320F9C 4E 80 04 21 */ bctrl +lbl_80324040: +/* 80324040 00320FA0 28 1E 00 00 */ cmplwi r30, 0 +/* 80324044 00320FA4 41 82 00 20 */ beq lbl_80324064 +/* 80324048 00320FA8 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 8032404C 00320FAC 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80324050 00320FB0 90 1E 00 00 */ stw r0, 0(r30) +/* 80324054 00320FB4 41 82 00 10 */ beq lbl_80324064 +/* 80324058 00320FB8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032405C 00320FBC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80324060 00320FC0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80324064: +/* 80324064 00320FC4 7F E0 07 35 */ extsh. r0, r31 +/* 80324068 00320FC8 40 81 00 10 */ ble lbl_80324078 +/* 8032406C 00320FCC 7F C3 F3 78 */ mr r3, r30 +/* 80324070 00320FD0 38 80 00 10 */ li r4, 0x10 +/* 80324074 00320FD4 48 04 89 F1 */ bl sub_8036ca64 +lbl_80324078: +/* 80324078 00320FD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032407C 00320FDC 7F C3 F3 78 */ mr r3, r30 +/* 80324080 00320FE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324084 00320FE4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324088 00320FE8 7C 08 03 A6 */ mtlr r0 +/* 8032408C 00320FEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80324090 00320FF0 4E 80 00 20 */ blr + +.global __ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement +__ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement: +/* 80324094 00320FF4 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80324098 00320FF8 3D 00 80 3F */ lis r8, lbl_803EC5C8@ha +/* 8032409C 00320FFC 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 803240A0 00321000 3C E0 80 3F */ lis r7, lbl_803EDCA8@ha +/* 803240A4 00321004 90 03 00 00 */ stw r0, 0(r3) +/* 803240A8 00321008 39 08 C5 C8 */ addi r8, r8, lbl_803EC5C8@l +/* 803240AC 0032100C 38 07 DC A8 */ addi r0, r7, lbl_803EDCA8@l +/* 803240B0 00321010 91 03 00 00 */ stw r8, 0(r3) +/* 803240B4 00321014 90 03 00 00 */ stw r0, 0(r3) +/* 803240B8 00321018 90 83 00 04 */ stw r4, 4(r3) +/* 803240BC 0032101C 90 A3 00 08 */ stw r5, 8(r3) +/* 803240C0 00321020 90 C3 00 0C */ stw r6, 0xc(r3) +/* 803240C4 00321024 4E 80 00 20 */ blr + +.global GetValue__11CMVEExplodeCFiR9CVector3fR9CVector3f +GetValue__11CMVEExplodeCFiR9CVector3fR9CVector3f: +/* 803240C8 00321028 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 803240CC 0032102C 7C 08 02 A6 */ mflr r0 +/* 803240D0 00321030 90 01 00 84 */ stw r0, 0x84(r1) +/* 803240D4 00321034 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 803240D8 00321038 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 803240DC 0032103C DB C1 00 60 */ stfd f30, 0x60(r1) +/* 803240E0 00321040 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 803240E4 00321044 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 803240E8 00321048 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 803240EC 0032104C DB 81 00 40 */ stfd f28, 0x40(r1) +/* 803240F0 00321050 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 803240F4 00321054 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 803240F8 00321058 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 803240FC 0032105C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324100 00321060 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324104 00321064 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324108 00321068 7C 9E 23 79 */ or. r30, r4, r4 +/* 8032410C 0032106C 7C 7D 1B 78 */ mr r29, r3 +/* 80324110 00321070 7C BF 2B 78 */ mr r31, r5 +/* 80324114 00321074 40 82 00 B4 */ bne lbl_803241C8 +/* 80324118 00321078 C3 C2 CA 70 */ lfs f30, lbl_805AE790@sda21(r2) +/* 8032411C 0032107C C3 E2 CA 6C */ lfs f31, lbl_805AE78C@sda21(r2) +lbl_80324120: +/* 80324120 00321080 4B FE E4 DD */ bl GetRandomNumber__9CRandom16Fv +/* 80324124 00321084 4B FE E3 B9 */ bl Float__9CRandom16Fv +/* 80324128 00321088 EF A1 F0 28 */ fsubs f29, f1, f30 +/* 8032412C 0032108C 4B FE E4 D1 */ bl GetRandomNumber__9CRandom16Fv +/* 80324130 00321090 4B FE E3 AD */ bl Float__9CRandom16Fv +/* 80324134 00321094 EF 81 F0 28 */ fsubs f28, f1, f30 +/* 80324138 00321098 4B FE E4 C5 */ bl GetRandomNumber__9CRandom16Fv +/* 8032413C 0032109C 4B FE E3 A1 */ bl Float__9CRandom16Fv +/* 80324140 003210A0 EC 1C 07 32 */ fmuls f0, f28, f28 +/* 80324144 003210A4 EF 61 F0 28 */ fsubs f27, f1, f30 +/* 80324148 003210A8 EC 1D 07 7A */ fmadds f0, f29, f29, f0 +/* 8032414C 003210AC EC 1B 06 FA */ fmadds f0, f27, f27, f0 +/* 80324150 003210B0 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80324154 003210B4 41 81 FF CC */ bgt lbl_80324120 +/* 80324158 003210B8 80 7D 00 04 */ lwz r3, 4(r29) +/* 8032415C 003210BC 7F C4 F3 78 */ mr r4, r30 +/* 80324160 003210C0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80324164 003210C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80324168 003210C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032416C 003210CC 7D 89 03 A6 */ mtctr r12 +/* 80324170 003210D0 4E 80 04 21 */ bctrl +/* 80324174 003210D4 D3 A1 00 10 */ stfs f29, 0x10(r1) +/* 80324178 003210D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032417C 003210DC D3 81 00 14 */ stfs f28, 0x14(r1) +/* 80324180 003210E0 D3 61 00 18 */ stfs f27, 0x18(r1) +/* 80324184 003210E4 4B FF 07 75 */ bl Normalize__9CVector3fFv +/* 80324188 003210E8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8032418C 003210EC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80324190 003210F0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80324194 003210F4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80324198 003210F8 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 8032419C 003210FC EC 21 00 F2 */ fmuls f1, f1, f3 +/* 803241A0 00321100 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 803241A4 00321104 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803241A8 00321108 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 803241AC 0032110C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 803241B0 00321110 D0 5F 00 00 */ stfs f2, 0(r31) +/* 803241B4 00321114 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 803241B8 00321118 D0 1F 00 04 */ stfs f0, 4(r31) +/* 803241BC 0032111C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 803241C0 00321120 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803241C4 00321124 48 00 00 44 */ b lbl_80324208 +lbl_803241C8: +/* 803241C8 00321128 80 7D 00 08 */ lwz r3, 8(r29) +/* 803241CC 0032112C 38 A1 00 08 */ addi r5, r1, 8 +/* 803241D0 00321130 81 83 00 00 */ lwz r12, 0(r3) +/* 803241D4 00321134 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803241D8 00321138 7D 89 03 A6 */ mtctr r12 +/* 803241DC 0032113C 4E 80 04 21 */ bctrl +/* 803241E0 00321140 C0 21 00 08 */ lfs f1, 8(r1) +/* 803241E4 00321144 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803241E8 00321148 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803241EC 0032114C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803241F0 00321150 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803241F4 00321154 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803241F8 00321158 D0 1F 00 04 */ stfs f0, 4(r31) +/* 803241FC 0032115C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80324200 00321160 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80324204 00321164 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_80324208: +/* 80324208 00321168 38 60 00 00 */ li r3, 0 +/* 8032420C 0032116C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80324210 00321170 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80324214 00321174 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80324218 00321178 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8032421C 0032117C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80324220 00321180 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80324224 00321184 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 80324228 00321188 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8032422C 0032118C E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 80324230 00321190 CB 61 00 30 */ lfd f27, 0x30(r1) +/* 80324234 00321194 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324238 00321198 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032423C 0032119C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80324240 003211A0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324244 003211A4 7C 08 03 A6 */ mtlr r0 +/* 80324248 003211A8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8032424C 003211AC 4E 80 00 20 */ blr + +.global __dt__11CMVEExplodeFv +__dt__11CMVEExplodeFv: +/* 80324250 003211B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324254 003211B4 7C 08 02 A6 */ mflr r0 +/* 80324258 003211B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032425C 003211BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324260 003211C0 7C 9F 23 78 */ mr r31, r4 +/* 80324264 003211C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80324268 003211C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032426C 003211CC 41 82 00 88 */ beq lbl_803242F4 +/* 80324270 003211D0 3C 60 80 3F */ lis r3, lbl_803EDCB8@ha +/* 80324274 003211D4 38 03 DC B8 */ addi r0, r3, lbl_803EDCB8@l +/* 80324278 003211D8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032427C 003211DC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80324280 003211E0 28 03 00 00 */ cmplwi r3, 0 +/* 80324284 003211E4 41 82 00 18 */ beq lbl_8032429C +/* 80324288 003211E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032428C 003211EC 38 80 00 01 */ li r4, 1 +/* 80324290 003211F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324294 003211F4 7D 89 03 A6 */ mtctr r12 +/* 80324298 003211F8 4E 80 04 21 */ bctrl +lbl_8032429C: +/* 8032429C 003211FC 80 7E 00 08 */ lwz r3, 8(r30) +/* 803242A0 00321200 28 03 00 00 */ cmplwi r3, 0 +/* 803242A4 00321204 41 82 00 18 */ beq lbl_803242BC +/* 803242A8 00321208 81 83 00 00 */ lwz r12, 0(r3) +/* 803242AC 0032120C 38 80 00 01 */ li r4, 1 +/* 803242B0 00321210 81 8C 00 08 */ lwz r12, 8(r12) +/* 803242B4 00321214 7D 89 03 A6 */ mtctr r12 +/* 803242B8 00321218 4E 80 04 21 */ bctrl +lbl_803242BC: +/* 803242BC 0032121C 28 1E 00 00 */ cmplwi r30, 0 +/* 803242C0 00321220 41 82 00 20 */ beq lbl_803242E0 +/* 803242C4 00321224 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803242C8 00321228 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803242CC 0032122C 90 1E 00 00 */ stw r0, 0(r30) +/* 803242D0 00321230 41 82 00 10 */ beq lbl_803242E0 +/* 803242D4 00321234 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803242D8 00321238 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803242DC 0032123C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803242E0: +/* 803242E0 00321240 7F E0 07 35 */ extsh. r0, r31 +/* 803242E4 00321244 40 81 00 10 */ ble lbl_803242F4 +/* 803242E8 00321248 7F C3 F3 78 */ mr r3, r30 +/* 803242EC 0032124C 38 80 00 0C */ li r4, 0xc +/* 803242F0 00321250 48 04 87 75 */ bl sub_8036ca64 +lbl_803242F4: +/* 803242F4 00321254 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803242F8 00321258 7F C3 F3 78 */ mr r3, r30 +/* 803242FC 0032125C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324300 00321260 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324304 00321264 7C 08 03 A6 */ mtlr r0 +/* 80324308 00321268 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032430C 0032126C 4E 80 00 20 */ blr + +.global __ct__11CMVEExplodeFP12CRealElementP12CRealElement +__ct__11CMVEExplodeFP12CRealElementP12CRealElement: +/* 80324310 00321270 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80324314 00321274 3C E0 80 3F */ lis r7, lbl_803EC5C8@ha +/* 80324318 00321278 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8032431C 0032127C 3C C0 80 3F */ lis r6, lbl_803EDCB8@ha +/* 80324320 00321280 90 03 00 00 */ stw r0, 0(r3) +/* 80324324 00321284 38 E7 C5 C8 */ addi r7, r7, lbl_803EC5C8@l +/* 80324328 00321288 38 06 DC B8 */ addi r0, r6, lbl_803EDCB8@l +/* 8032432C 0032128C 90 E3 00 00 */ stw r7, 0(r3) +/* 80324330 00321290 90 03 00 00 */ stw r0, 0(r3) +/* 80324334 00321294 90 83 00 04 */ stw r4, 4(r3) +/* 80324338 00321298 90 A3 00 08 */ stw r5, 8(r3) +/* 8032433C 0032129C 4E 80 00 20 */ blr + +.global GetValue__8CMVEWindCFiR9CVector3fR9CVector3f +GetValue__8CMVEWindCFiR9CVector3fR9CVector3f: +/* 80324340 003212A0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80324344 003212A4 7C 08 02 A6 */ mflr r0 +/* 80324348 003212A8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8032434C 003212AC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80324350 003212B0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80324354 003212B4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80324358 003212B8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 8032435C 003212BC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80324360 003212C0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80324364 003212C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324368 003212C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8032436C 003212CC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324370 003212D0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80324374 003212D4 7C 7D 1B 78 */ mr r29, r3 +/* 80324378 003212D8 7C BF 2B 78 */ mr r31, r5 +/* 8032437C 003212DC 80 63 00 04 */ lwz r3, 4(r3) +/* 80324380 003212E0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80324384 003212E4 7C 9E 23 78 */ mr r30, r4 +/* 80324388 003212E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032438C 003212EC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80324390 003212F0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80324394 003212F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80324398 003212F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032439C 003212FC 7D 89 03 A6 */ mtctr r12 +/* 803243A0 00321300 4E 80 04 21 */ bctrl +/* 803243A4 00321304 80 7D 00 08 */ lwz r3, 8(r29) +/* 803243A8 00321308 7F C4 F3 78 */ mr r4, r30 +/* 803243AC 0032130C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803243B0 00321310 38 A1 00 08 */ addi r5, r1, 8 +/* 803243B4 00321314 81 83 00 00 */ lwz r12, 0(r3) +/* 803243B8 00321318 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803243BC 0032131C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 803243C0 00321320 C0 5F 00 04 */ lfs f2, 4(r31) +/* 803243C4 00321324 EF E1 00 28 */ fsubs f31, f1, f0 +/* 803243C8 00321328 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803243CC 0032132C C0 1F 00 08 */ lfs f0, 8(r31) +/* 803243D0 00321330 EF C3 10 28 */ fsubs f30, f3, f2 +/* 803243D4 00321334 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803243D8 00321338 EF A1 00 28 */ fsubs f29, f1, f0 +/* 803243DC 0032133C 7D 89 03 A6 */ mtctr r12 +/* 803243E0 00321340 4E 80 04 21 */ bctrl +/* 803243E4 00321344 C0 21 00 08 */ lfs f1, 8(r1) +/* 803243E8 00321348 38 60 00 00 */ li r3, 0 +/* 803243EC 0032134C C0 1F 00 00 */ lfs f0, 0(r31) +/* 803243F0 00321350 EF FF 00 72 */ fmuls f31, f31, f1 +/* 803243F4 00321354 EF DE 00 72 */ fmuls f30, f30, f1 +/* 803243F8 00321358 EF BD 00 72 */ fmuls f29, f29, f1 +/* 803243FC 0032135C EC 00 F8 2A */ fadds f0, f0, f31 +/* 80324400 00321360 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80324404 00321364 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80324408 00321368 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8032440C 0032136C D0 1F 00 04 */ stfs f0, 4(r31) +/* 80324410 00321370 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80324414 00321374 EC 00 E8 2A */ fadds f0, f0, f29 +/* 80324418 00321378 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8032441C 0032137C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80324420 00321380 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80324424 00321384 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80324428 00321388 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 8032442C 0032138C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80324430 00321390 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80324434 00321394 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324438 00321398 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032443C 0032139C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80324440 003213A0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324444 003213A4 7C 08 03 A6 */ mtlr r0 +/* 80324448 003213A8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8032444C 003213AC 4E 80 00 20 */ blr + +.global __dt__8CMVEWindFv +__dt__8CMVEWindFv: +/* 80324450 003213B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324454 003213B4 7C 08 02 A6 */ mflr r0 +/* 80324458 003213B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032445C 003213BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324460 003213C0 7C 9F 23 78 */ mr r31, r4 +/* 80324464 003213C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80324468 003213C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032446C 003213CC 41 82 00 88 */ beq lbl_803244F4 +/* 80324470 003213D0 3C 60 80 3F */ lis r3, lbl_803EDCC8@ha +/* 80324474 003213D4 38 03 DC C8 */ addi r0, r3, lbl_803EDCC8@l +/* 80324478 003213D8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032447C 003213DC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80324480 003213E0 28 03 00 00 */ cmplwi r3, 0 +/* 80324484 003213E4 41 82 00 18 */ beq lbl_8032449C +/* 80324488 003213E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032448C 003213EC 38 80 00 01 */ li r4, 1 +/* 80324490 003213F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324494 003213F4 7D 89 03 A6 */ mtctr r12 +/* 80324498 003213F8 4E 80 04 21 */ bctrl +lbl_8032449C: +/* 8032449C 003213FC 80 7E 00 08 */ lwz r3, 8(r30) +/* 803244A0 00321400 28 03 00 00 */ cmplwi r3, 0 +/* 803244A4 00321404 41 82 00 18 */ beq lbl_803244BC +/* 803244A8 00321408 81 83 00 00 */ lwz r12, 0(r3) +/* 803244AC 0032140C 38 80 00 01 */ li r4, 1 +/* 803244B0 00321410 81 8C 00 08 */ lwz r12, 8(r12) +/* 803244B4 00321414 7D 89 03 A6 */ mtctr r12 +/* 803244B8 00321418 4E 80 04 21 */ bctrl +lbl_803244BC: +/* 803244BC 0032141C 28 1E 00 00 */ cmplwi r30, 0 +/* 803244C0 00321420 41 82 00 20 */ beq lbl_803244E0 +/* 803244C4 00321424 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803244C8 00321428 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803244CC 0032142C 90 1E 00 00 */ stw r0, 0(r30) +/* 803244D0 00321430 41 82 00 10 */ beq lbl_803244E0 +/* 803244D4 00321434 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803244D8 00321438 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803244DC 0032143C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803244E0: +/* 803244E0 00321440 7F E0 07 35 */ extsh. r0, r31 +/* 803244E4 00321444 40 81 00 10 */ ble lbl_803244F4 +/* 803244E8 00321448 7F C3 F3 78 */ mr r3, r30 +/* 803244EC 0032144C 38 80 00 0C */ li r4, 0xc +/* 803244F0 00321450 48 04 85 75 */ bl sub_8036ca64 +lbl_803244F4: +/* 803244F4 00321454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803244F8 00321458 7F C3 F3 78 */ mr r3, r30 +/* 803244FC 0032145C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324500 00321460 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324504 00321464 7C 08 03 A6 */ mtlr r0 +/* 80324508 00321468 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032450C 0032146C 4E 80 00 20 */ blr + +.global __ct__8CMVEWindFP14CVectorElementP12CRealElement +__ct__8CMVEWindFP14CVectorElementP12CRealElement: +/* 80324510 00321470 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80324514 00321474 3C E0 80 3F */ lis r7, lbl_803EC5C8@ha +/* 80324518 00321478 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8032451C 0032147C 3C C0 80 3F */ lis r6, lbl_803EDCC8@ha +/* 80324520 00321480 90 03 00 00 */ stw r0, 0(r3) +/* 80324524 00321484 38 E7 C5 C8 */ addi r7, r7, lbl_803EC5C8@l +/* 80324528 00321488 38 06 DC C8 */ addi r0, r6, lbl_803EDCC8@l +/* 8032452C 0032148C 90 E3 00 00 */ stw r7, 0(r3) +/* 80324530 00321490 90 03 00 00 */ stw r0, 0(r3) +/* 80324534 00321494 90 83 00 04 */ stw r4, 4(r3) +/* 80324538 00321498 90 A3 00 08 */ stw r5, 8(r3) +/* 8032453C 0032149C 4E 80 00 20 */ blr + +.global GetValue__11CMVEGravityCFiR9CVector3fR9CVector3f +GetValue__11CMVEGravityCFiR9CVector3fR9CVector3f: +/* 80324540 003214A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80324544 003214A4 7C 08 02 A6 */ mflr r0 +/* 80324548 003214A8 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 8032454C 003214AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80324550 003214B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80324554 003214B4 7C BF 2B 78 */ mr r31, r5 +/* 80324558 003214B8 38 A1 00 08 */ addi r5, r1, 8 +/* 8032455C 003214BC 80 63 00 04 */ lwz r3, 4(r3) +/* 80324560 003214C0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80324564 003214C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80324568 003214C8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8032456C 003214CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80324570 003214D0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324574 003214D4 7D 89 03 A6 */ mtctr r12 +/* 80324578 003214D8 4E 80 04 21 */ bctrl +/* 8032457C 003214DC C0 3F 00 00 */ lfs f1, 0(r31) +/* 80324580 003214E0 38 60 00 00 */ li r3, 0 +/* 80324584 003214E4 C0 01 00 08 */ lfs f0, 8(r1) +/* 80324588 003214E8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032458C 003214EC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80324590 003214F0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80324594 003214F4 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80324598 003214F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032459C 003214FC D0 1F 00 04 */ stfs f0, 4(r31) +/* 803245A0 00321500 C0 3F 00 08 */ lfs f1, 8(r31) +/* 803245A4 00321504 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803245A8 00321508 EC 01 00 2A */ fadds f0, f1, f0 +/* 803245AC 0032150C D0 1F 00 08 */ stfs f0, 8(r31) +/* 803245B0 00321510 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803245B4 00321514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803245B8 00321518 7C 08 03 A6 */ mtlr r0 +/* 803245BC 0032151C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803245C0 00321520 4E 80 00 20 */ blr + +.global __dt__11CMVEGravityFv +__dt__11CMVEGravityFv: +/* 803245C4 00321524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803245C8 00321528 7C 08 02 A6 */ mflr r0 +/* 803245CC 0032152C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803245D0 00321530 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803245D4 00321534 7C 9F 23 78 */ mr r31, r4 +/* 803245D8 00321538 93 C1 00 08 */ stw r30, 8(r1) +/* 803245DC 0032153C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803245E0 00321540 41 82 00 68 */ beq lbl_80324648 +/* 803245E4 00321544 3C 60 80 3F */ lis r3, lbl_803EDCD8@ha +/* 803245E8 00321548 38 03 DC D8 */ addi r0, r3, lbl_803EDCD8@l +/* 803245EC 0032154C 90 1E 00 00 */ stw r0, 0(r30) +/* 803245F0 00321550 80 7E 00 04 */ lwz r3, 4(r30) +/* 803245F4 00321554 28 03 00 00 */ cmplwi r3, 0 +/* 803245F8 00321558 41 82 00 18 */ beq lbl_80324610 +/* 803245FC 0032155C 81 83 00 00 */ lwz r12, 0(r3) +/* 80324600 00321560 38 80 00 01 */ li r4, 1 +/* 80324604 00321564 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324608 00321568 7D 89 03 A6 */ mtctr r12 +/* 8032460C 0032156C 4E 80 04 21 */ bctrl +lbl_80324610: +/* 80324610 00321570 28 1E 00 00 */ cmplwi r30, 0 +/* 80324614 00321574 41 82 00 20 */ beq lbl_80324634 +/* 80324618 00321578 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 8032461C 0032157C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80324620 00321580 90 1E 00 00 */ stw r0, 0(r30) +/* 80324624 00321584 41 82 00 10 */ beq lbl_80324634 +/* 80324628 00321588 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032462C 0032158C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80324630 00321590 90 1E 00 00 */ stw r0, 0(r30) +lbl_80324634: +/* 80324634 00321594 7F E0 07 35 */ extsh. r0, r31 +/* 80324638 00321598 40 81 00 10 */ ble lbl_80324648 +/* 8032463C 0032159C 7F C3 F3 78 */ mr r3, r30 +/* 80324640 003215A0 38 80 00 08 */ li r4, 8 +/* 80324644 003215A4 48 04 84 21 */ bl sub_8036ca64 +lbl_80324648: +/* 80324648 003215A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032464C 003215AC 7F C3 F3 78 */ mr r3, r30 +/* 80324650 003215B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324654 003215B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324658 003215B8 7C 08 03 A6 */ mtlr r0 +/* 8032465C 003215BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80324660 003215C0 4E 80 00 20 */ blr + +.global __ct__11CMVEGravityFP14CVectorElement +__ct__11CMVEGravityFP14CVectorElement: +/* 80324664 003215C4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80324668 003215C8 3C C0 80 3F */ lis r6, lbl_803EC5C8@ha +/* 8032466C 003215CC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80324670 003215D0 3C A0 80 3F */ lis r5, lbl_803EDCD8@ha +/* 80324674 003215D4 90 03 00 00 */ stw r0, 0(r3) +/* 80324678 003215D8 38 C6 C5 C8 */ addi r6, r6, lbl_803EC5C8@l +/* 8032467C 003215DC 38 05 DC D8 */ addi r0, r5, lbl_803EDCD8@l +/* 80324680 003215E0 90 C3 00 00 */ stw r6, 0(r3) +/* 80324684 003215E4 90 03 00 00 */ stw r0, 0(r3) +/* 80324688 003215E8 90 83 00 04 */ stw r4, 4(r3) +/* 8032468C 003215EC 4E 80 00 20 */ blr + +.global GetValue__16CMVEFastConstantCFiR9CVector3fR9CVector3f +GetValue__16CMVEFastConstantCFiR9CVector3fR9CVector3f: +/* 80324690 003215F0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80324694 003215F4 D0 05 00 00 */ stfs f0, 0(r5) +/* 80324698 003215F8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032469C 003215FC D0 05 00 04 */ stfs f0, 4(r5) +/* 803246A0 00321600 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803246A4 00321604 38 60 00 00 */ li r3, 0 +/* 803246A8 00321608 D0 05 00 08 */ stfs f0, 8(r5) +/* 803246AC 0032160C 4E 80 00 20 */ blr + +.global __dt__16CMVEFastConstantFv +__dt__16CMVEFastConstantFv: +/* 803246B0 00321610 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803246B4 00321614 7C 08 02 A6 */ mflr r0 +/* 803246B8 00321618 90 01 00 14 */ stw r0, 0x14(r1) +/* 803246BC 0032161C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803246C0 00321620 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803246C4 00321624 41 82 00 44 */ beq lbl_80324708 +/* 803246C8 00321628 3C 60 80 3F */ lis r3, lbl_803EDCE8@ha +/* 803246CC 0032162C 38 03 DC E8 */ addi r0, r3, lbl_803EDCE8@l +/* 803246D0 00321630 90 1F 00 00 */ stw r0, 0(r31) +/* 803246D4 00321634 41 82 00 20 */ beq lbl_803246F4 +/* 803246D8 00321638 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803246DC 0032163C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803246E0 00321640 90 1F 00 00 */ stw r0, 0(r31) +/* 803246E4 00321644 41 82 00 10 */ beq lbl_803246F4 +/* 803246E8 00321648 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803246EC 0032164C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803246F0 00321650 90 1F 00 00 */ stw r0, 0(r31) +lbl_803246F4: +/* 803246F4 00321654 7C 80 07 35 */ extsh. r0, r4 +/* 803246F8 00321658 40 81 00 10 */ ble lbl_80324708 +/* 803246FC 0032165C 7F E3 FB 78 */ mr r3, r31 +/* 80324700 00321660 38 80 00 10 */ li r4, 0x10 +/* 80324704 00321664 48 04 83 61 */ bl sub_8036ca64 +lbl_80324708: +/* 80324708 00321668 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032470C 0032166C 7F E3 FB 78 */ mr r3, r31 +/* 80324710 00321670 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324714 00321674 7C 08 03 A6 */ mtlr r0 +/* 80324718 00321678 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032471C 0032167C 4E 80 00 20 */ blr + +.global __ct__16CMVEFastConstantFfff +__ct__16CMVEFastConstantFfff: +/* 80324720 00321680 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 80324724 00321684 3C A0 80 3F */ lis r5, lbl_803EC5C8@ha +/* 80324728 00321688 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 8032472C 0032168C 3C 80 80 3F */ lis r4, lbl_803EDCE8@ha +/* 80324730 00321690 90 03 00 00 */ stw r0, 0(r3) +/* 80324734 00321694 38 A5 C5 C8 */ addi r5, r5, lbl_803EC5C8@l +/* 80324738 00321698 38 04 DC E8 */ addi r0, r4, lbl_803EDCE8@l +/* 8032473C 0032169C 90 A3 00 00 */ stw r5, 0(r3) +/* 80324740 003216A0 90 03 00 00 */ stw r0, 0(r3) +/* 80324744 003216A4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80324748 003216A8 D0 43 00 08 */ stfs f2, 8(r3) +/* 8032474C 003216AC D0 63 00 0C */ stfs f3, 0xc(r3) +/* 80324750 003216B0 4E 80 00 20 */ blr + +.global GetValue__12CMVEConstantCFiR9CVector3fR9CVector3f +GetValue__12CMVEConstantCFiR9CVector3fR9CVector3f: +/* 80324754 003216B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80324758 003216B8 7C 08 02 A6 */ mflr r0 +/* 8032475C 003216BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80324760 003216C0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324764 003216C4 7C BF 2B 78 */ mr r31, r5 +/* 80324768 003216C8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032476C 003216CC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324770 003216D0 7C 9E 23 78 */ mr r30, r4 +/* 80324774 003216D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324778 003216D8 7C 7D 1B 78 */ mr r29, r3 +/* 8032477C 003216DC 80 63 00 04 */ lwz r3, 4(r3) +/* 80324780 003216E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80324784 003216E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324788 003216E8 7D 89 03 A6 */ mtctr r12 +/* 8032478C 003216EC 4E 80 04 21 */ bctrl +/* 80324790 003216F0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80324794 003216F4 7F C4 F3 78 */ mr r4, r30 +/* 80324798 003216F8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032479C 003216FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803247A0 00321700 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803247A4 00321704 7D 89 03 A6 */ mtctr r12 +/* 803247A8 00321708 4E 80 04 21 */ bctrl +/* 803247AC 0032170C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803247B0 00321710 7F C4 F3 78 */ mr r4, r30 +/* 803247B4 00321714 38 A1 00 08 */ addi r5, r1, 8 +/* 803247B8 00321718 81 83 00 00 */ lwz r12, 0(r3) +/* 803247BC 0032171C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803247C0 00321720 7D 89 03 A6 */ mtctr r12 +/* 803247C4 00321724 4E 80 04 21 */ bctrl +/* 803247C8 00321728 C0 41 00 08 */ lfs f2, 8(r1) +/* 803247CC 0032172C 38 60 00 00 */ li r3, 0 +/* 803247D0 00321730 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803247D4 00321734 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803247D8 00321738 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803247DC 0032173C D0 3F 00 04 */ stfs f1, 4(r31) +/* 803247E0 00321740 D0 5F 00 08 */ stfs f2, 8(r31) +/* 803247E4 00321744 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803247E8 00321748 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803247EC 0032174C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803247F0 00321750 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803247F4 00321754 7C 08 03 A6 */ mtlr r0 +/* 803247F8 00321758 38 21 00 30 */ addi r1, r1, 0x30 +/* 803247FC 0032175C 4E 80 00 20 */ blr + +.global __dt__12CMVEConstantFv +__dt__12CMVEConstantFv: +/* 80324800 00321760 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324804 00321764 7C 08 02 A6 */ mflr r0 +/* 80324808 00321768 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032480C 0032176C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324810 00321770 7C 9F 23 78 */ mr r31, r4 +/* 80324814 00321774 93 C1 00 08 */ stw r30, 8(r1) +/* 80324818 00321778 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032481C 0032177C 41 82 00 A8 */ beq lbl_803248C4 +/* 80324820 00321780 3C 60 80 3F */ lis r3, lbl_803EDCF8@ha +/* 80324824 00321784 38 03 DC F8 */ addi r0, r3, lbl_803EDCF8@l +/* 80324828 00321788 90 1E 00 00 */ stw r0, 0(r30) +/* 8032482C 0032178C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80324830 00321790 28 03 00 00 */ cmplwi r3, 0 +/* 80324834 00321794 41 82 00 18 */ beq lbl_8032484C +/* 80324838 00321798 81 83 00 00 */ lwz r12, 0(r3) +/* 8032483C 0032179C 38 80 00 01 */ li r4, 1 +/* 80324840 003217A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324844 003217A4 7D 89 03 A6 */ mtctr r12 +/* 80324848 003217A8 4E 80 04 21 */ bctrl +lbl_8032484C: +/* 8032484C 003217AC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80324850 003217B0 28 03 00 00 */ cmplwi r3, 0 +/* 80324854 003217B4 41 82 00 18 */ beq lbl_8032486C +/* 80324858 003217B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032485C 003217BC 38 80 00 01 */ li r4, 1 +/* 80324860 003217C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324864 003217C4 7D 89 03 A6 */ mtctr r12 +/* 80324868 003217C8 4E 80 04 21 */ bctrl +lbl_8032486C: +/* 8032486C 003217CC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80324870 003217D0 28 03 00 00 */ cmplwi r3, 0 +/* 80324874 003217D4 41 82 00 18 */ beq lbl_8032488C +/* 80324878 003217D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032487C 003217DC 38 80 00 01 */ li r4, 1 +/* 80324880 003217E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324884 003217E4 7D 89 03 A6 */ mtctr r12 +/* 80324888 003217E8 4E 80 04 21 */ bctrl +lbl_8032488C: +/* 8032488C 003217EC 28 1E 00 00 */ cmplwi r30, 0 +/* 80324890 003217F0 41 82 00 20 */ beq lbl_803248B0 +/* 80324894 003217F4 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80324898 003217F8 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 8032489C 003217FC 90 1E 00 00 */ stw r0, 0(r30) +/* 803248A0 00321800 41 82 00 10 */ beq lbl_803248B0 +/* 803248A4 00321804 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803248A8 00321808 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803248AC 0032180C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803248B0: +/* 803248B0 00321810 7F E0 07 35 */ extsh. r0, r31 +/* 803248B4 00321814 40 81 00 10 */ ble lbl_803248C4 +/* 803248B8 00321818 7F C3 F3 78 */ mr r3, r30 +/* 803248BC 0032181C 38 80 00 10 */ li r4, 0x10 +/* 803248C0 00321820 48 04 81 A5 */ bl sub_8036ca64 +lbl_803248C4: +/* 803248C4 00321824 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803248C8 00321828 7F C3 F3 78 */ mr r3, r30 +/* 803248CC 0032182C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803248D0 00321830 83 C1 00 08 */ lwz r30, 8(r1) +/* 803248D4 00321834 7C 08 03 A6 */ mtlr r0 +/* 803248D8 00321838 38 21 00 10 */ addi r1, r1, 0x10 +/* 803248DC 0032183C 4E 80 00 20 */ blr + +.global __ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement +__ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement: +/* 803248E0 00321840 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 803248E4 00321844 3D 00 80 3F */ lis r8, lbl_803EC5C8@ha +/* 803248E8 00321848 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 803248EC 0032184C 3C E0 80 3F */ lis r7, lbl_803EDCF8@ha +/* 803248F0 00321850 90 03 00 00 */ stw r0, 0(r3) +/* 803248F4 00321854 39 08 C5 C8 */ addi r8, r8, lbl_803EC5C8@l +/* 803248F8 00321858 38 07 DC F8 */ addi r0, r7, lbl_803EDCF8@l +/* 803248FC 0032185C 91 03 00 00 */ stw r8, 0(r3) +/* 80324900 00321860 90 03 00 00 */ stw r0, 0(r3) +/* 80324904 00321864 90 83 00 04 */ stw r4, 4(r3) +/* 80324908 00321868 90 A3 00 08 */ stw r5, 8(r3) +/* 8032490C 0032186C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80324910 00321870 4E 80 00 20 */ blr + +.global CreateTexture__Fi +CreateTexture__Fi: +/* 80324914 00321874 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324918 00321878 7C 08 02 A6 */ mflr r0 +/* 8032491C 0032187C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80324920 00321880 38 A0 00 00 */ li r5, 0 +/* 80324924 00321884 90 01 00 14 */ stw r0, 0x14(r1) +/* 80324928 00321888 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032492C 0032188C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324930 00321890 93 C1 00 08 */ stw r30, 8(r1) +/* 80324934 00321894 7C 7E 1B 78 */ mr r30, r3 +/* 80324938 00321898 38 60 00 68 */ li r3, 0x68 +/* 8032493C 0032189C 4B FF 0F 31 */ bl __nw__FUlPCcPCc +/* 80324940 003218A0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80324944 003218A4 41 82 00 1C */ beq lbl_80324960 +/* 80324948 003218A8 38 80 00 09 */ li r4, 9 +/* 8032494C 003218AC 38 A0 00 04 */ li r5, 4 +/* 80324950 003218B0 38 C0 00 04 */ li r6, 4 +/* 80324954 003218B4 38 E0 00 01 */ li r7, 1 +/* 80324958 003218B8 4B FE B4 D5 */ bl __ct__8CTextureF12ETexelFormatssi +/* 8032495C 003218BC 7C 7F 1B 78 */ mr r31, r3 +lbl_80324960: +/* 80324960 003218C0 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 80324964 003218C4 38 60 00 01 */ li r3, 1 +/* 80324968 003218C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032496C 003218CC 7F E3 FB 78 */ mr r3, r31 +/* 80324970 003218D0 98 1F 00 0A */ stb r0, 0xa(r31) +/* 80324974 003218D4 38 80 00 00 */ li r4, 0 +/* 80324978 003218D8 4B FE 9C 5D */ bl GetBitMapData__8CTextureFi +/* 8032497C 003218DC 93 C3 00 00 */ stw r30, 0(r3) +/* 80324980 003218E0 93 C3 00 04 */ stw r30, 4(r3) +/* 80324984 003218E4 93 C3 00 08 */ stw r30, 8(r3) +/* 80324988 003218E8 93 C3 00 0C */ stw r30, 0xc(r3) +/* 8032498C 003218EC 93 C3 00 10 */ stw r30, 0x10(r3) +/* 80324990 003218F0 93 C3 00 14 */ stw r30, 0x14(r3) +/* 80324994 003218F4 93 C3 00 18 */ stw r30, 0x18(r3) +/* 80324998 003218F8 93 C3 00 1C */ stw r30, 0x1c(r3) +/* 8032499C 003218FC 93 C3 00 20 */ stw r30, 0x20(r3) +/* 803249A0 00321900 93 C3 00 24 */ stw r30, 0x24(r3) +/* 803249A4 00321904 93 C3 00 28 */ stw r30, 0x28(r3) +/* 803249A8 00321908 93 C3 00 2C */ stw r30, 0x2c(r3) +/* 803249AC 0032190C 93 C3 00 30 */ stw r30, 0x30(r3) +/* 803249B0 00321910 93 C3 00 34 */ stw r30, 0x34(r3) +/* 803249B4 00321914 93 C3 00 38 */ stw r30, 0x38(r3) +/* 803249B8 00321918 93 C3 00 3C */ stw r30, 0x3c(r3) +/* 803249BC 0032191C 7F E3 FB 78 */ mr r3, r31 +/* 803249C0 00321920 4B FE 9F 5D */ bl UnLock__8CTextureFv +/* 803249C4 00321924 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803249C8 00321928 7F E3 FB 78 */ mr r3, r31 +/* 803249CC 0032192C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803249D0 00321930 83 C1 00 08 */ lwz r30, 8(r1) +/* 803249D4 00321934 7C 08 03 A6 */ mtlr r0 +/* 803249D8 00321938 38 21 00 10 */ addi r1, r1, 0x10 +/* 803249DC 0032193C 4E 80 00 20 */ blr + +.global GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 803249E0 00321940 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803249E4 00321944 7C 08 02 A6 */ mflr r0 +/* 803249E8 00321948 90 01 00 34 */ stw r0, 0x34(r1) +/* 803249EC 0032194C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803249F0 00321950 7C BF 2B 78 */ mr r31, r5 +/* 803249F4 00321954 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803249F8 00321958 7C 9E 23 78 */ mr r30, r4 +/* 803249FC 0032195C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324A00 00321960 7C 7D 1B 78 */ mr r29, r3 +/* 80324A04 00321964 7F C3 F3 78 */ mr r3, r30 +/* 80324A08 00321968 48 00 3A 55 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324A0C 0032196C 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324A10 00321970 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324A14 00321974 41 82 00 10 */ beq lbl_80324A24 +/* 80324A18 00321978 7F C3 F3 78 */ mr r3, r30 +/* 80324A1C 0032197C 48 01 A2 69 */ bl ReadLong__12CInputStreamFv +/* 80324A20 00321980 48 00 00 10 */ b lbl_80324A30 +lbl_80324A24: +/* 80324A24 00321984 38 00 00 00 */ li r0, 0 +/* 80324A28 00321988 98 1D 00 08 */ stb r0, 8(r29) +/* 80324A2C 0032198C 48 00 00 84 */ b lbl_80324AB0 +lbl_80324A30: +/* 80324A30 00321990 28 03 00 00 */ cmplwi r3, 0 +/* 80324A34 00321994 40 82 00 10 */ bne lbl_80324A44 +/* 80324A38 00321998 38 00 00 00 */ li r0, 0 +/* 80324A3C 0032199C 98 1D 00 08 */ stb r0, 8(r29) +/* 80324A40 003219A0 48 00 00 70 */ b lbl_80324AB0 +lbl_80324A44: +/* 80324A44 003219A4 3C 80 43 4D */ lis r4, 0x434D444C@ha +/* 80324A48 003219A8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80324A4C 003219AC 38 04 44 4C */ addi r0, r4, 0x434D444C@l +/* 80324A50 003219B0 7F E4 FB 78 */ mr r4, r31 +/* 80324A54 003219B4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80324A58 003219B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324A5C 003219BC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80324A60 003219C0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324A64 003219C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324A68 003219C8 7D 89 03 A6 */ mtctr r12 +/* 80324A6C 003219CC 4E 80 04 21 */ bctrl +/* 80324A70 003219D0 38 61 00 08 */ addi r3, r1, 8 +/* 80324A74 003219D4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324A78 003219D8 48 01 C4 31 */ bl __ct__6CTokenFRC6CToken +/* 80324A7C 003219DC 38 00 00 01 */ li r0, 1 +/* 80324A80 003219E0 28 1D 00 00 */ cmplwi r29, 0 +/* 80324A84 003219E4 98 1D 00 08 */ stb r0, 8(r29) +/* 80324A88 003219E8 41 82 00 10 */ beq lbl_80324A98 +/* 80324A8C 003219EC 7F A3 EB 78 */ mr r3, r29 +/* 80324A90 003219F0 38 81 00 08 */ addi r4, r1, 8 +/* 80324A94 003219F4 48 01 C4 15 */ bl __ct__6CTokenFRC6CToken +lbl_80324A98: +/* 80324A98 003219F8 38 61 00 08 */ addi r3, r1, 8 +/* 80324A9C 003219FC 38 80 00 00 */ li r4, 0 +/* 80324AA0 00321A00 48 01 C3 A1 */ bl __dt__6CTokenFv +/* 80324AA4 00321A04 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324AA8 00321A08 38 80 FF FF */ li r4, -1 +/* 80324AAC 00321A0C 48 01 C3 95 */ bl __dt__6CTokenFv +lbl_80324AB0: +/* 80324AB0 00321A10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80324AB4 00321A14 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324AB8 00321A18 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80324ABC 00321A1C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324AC0 00321A20 7C 08 03 A6 */ mtlr r0 +/* 80324AC4 00321A24 38 21 00 30 */ addi r1, r1, 0x30 +/* 80324AC8 00321A28 4E 80 00 20 */ blr + +.global GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80324ACC 00321A2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80324AD0 00321A30 7C 08 02 A6 */ mflr r0 +/* 80324AD4 00321A34 90 01 00 34 */ stw r0, 0x34(r1) +/* 80324AD8 00321A38 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324ADC 00321A3C 7C BF 2B 78 */ mr r31, r5 +/* 80324AE0 00321A40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324AE4 00321A44 7C 9E 23 78 */ mr r30, r4 +/* 80324AE8 00321A48 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324AEC 00321A4C 7C 7D 1B 78 */ mr r29, r3 +/* 80324AF0 00321A50 7F C3 F3 78 */ mr r3, r30 +/* 80324AF4 00321A54 48 00 39 69 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324AF8 00321A58 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324AFC 00321A5C 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324B00 00321A60 41 82 00 10 */ beq lbl_80324B10 +/* 80324B04 00321A64 7F C3 F3 78 */ mr r3, r30 +/* 80324B08 00321A68 48 01 A1 7D */ bl ReadLong__12CInputStreamFv +/* 80324B0C 00321A6C 48 00 00 10 */ b lbl_80324B1C +lbl_80324B10: +/* 80324B10 00321A70 38 00 00 00 */ li r0, 0 +/* 80324B14 00321A74 98 1D 00 08 */ stb r0, 8(r29) +/* 80324B18 00321A78 48 00 00 84 */ b lbl_80324B9C +lbl_80324B1C: +/* 80324B1C 00321A7C 28 03 00 00 */ cmplwi r3, 0 +/* 80324B20 00321A80 40 82 00 10 */ bne lbl_80324B30 +/* 80324B24 00321A84 38 00 00 00 */ li r0, 0 +/* 80324B28 00321A88 98 1D 00 08 */ stb r0, 8(r29) +/* 80324B2C 00321A8C 48 00 00 70 */ b lbl_80324B9C +lbl_80324B30: +/* 80324B30 00321A90 3C 80 45 4C */ lis r4, 0x454C5343@ha +/* 80324B34 00321A94 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80324B38 00321A98 38 04 53 43 */ addi r0, r4, 0x454C5343@l +/* 80324B3C 00321A9C 7F E4 FB 78 */ mr r4, r31 +/* 80324B40 00321AA0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80324B44 00321AA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324B48 00321AA8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80324B4C 00321AAC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324B50 00321AB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324B54 00321AB4 7D 89 03 A6 */ mtctr r12 +/* 80324B58 00321AB8 4E 80 04 21 */ bctrl +/* 80324B5C 00321ABC 38 61 00 08 */ addi r3, r1, 8 +/* 80324B60 00321AC0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324B64 00321AC4 48 01 C3 45 */ bl __ct__6CTokenFRC6CToken +/* 80324B68 00321AC8 38 00 00 01 */ li r0, 1 +/* 80324B6C 00321ACC 28 1D 00 00 */ cmplwi r29, 0 +/* 80324B70 00321AD0 98 1D 00 08 */ stb r0, 8(r29) +/* 80324B74 00321AD4 41 82 00 10 */ beq lbl_80324B84 +/* 80324B78 00321AD8 7F A3 EB 78 */ mr r3, r29 +/* 80324B7C 00321ADC 38 81 00 08 */ addi r4, r1, 8 +/* 80324B80 00321AE0 48 01 C3 29 */ bl __ct__6CTokenFRC6CToken +lbl_80324B84: +/* 80324B84 00321AE4 38 61 00 08 */ addi r3, r1, 8 +/* 80324B88 00321AE8 38 80 00 00 */ li r4, 0 +/* 80324B8C 00321AEC 48 01 C2 B5 */ bl __dt__6CTokenFv +/* 80324B90 00321AF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324B94 00321AF4 38 80 FF FF */ li r4, -1 +/* 80324B98 00321AF8 48 01 C2 A9 */ bl __dt__6CTokenFv +lbl_80324B9C: +/* 80324B9C 00321AFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80324BA0 00321B00 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324BA4 00321B04 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80324BA8 00321B08 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324BAC 00321B0C 7C 08 03 A6 */ mtlr r0 +/* 80324BB0 00321B10 38 21 00 30 */ addi r1, r1, 0x30 +/* 80324BB4 00321B14 4E 80 00 20 */ blr + +.global GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80324BB8 00321B18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80324BBC 00321B1C 7C 08 02 A6 */ mflr r0 +/* 80324BC0 00321B20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80324BC4 00321B24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324BC8 00321B28 7C BF 2B 78 */ mr r31, r5 +/* 80324BCC 00321B2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324BD0 00321B30 7C 9E 23 78 */ mr r30, r4 +/* 80324BD4 00321B34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324BD8 00321B38 7C 7D 1B 78 */ mr r29, r3 +/* 80324BDC 00321B3C 7F C3 F3 78 */ mr r3, r30 +/* 80324BE0 00321B40 48 00 38 7D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324BE4 00321B44 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324BE8 00321B48 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324BEC 00321B4C 41 82 00 10 */ beq lbl_80324BFC +/* 80324BF0 00321B50 7F C3 F3 78 */ mr r3, r30 +/* 80324BF4 00321B54 48 01 A0 91 */ bl ReadLong__12CInputStreamFv +/* 80324BF8 00321B58 48 00 00 10 */ b lbl_80324C08 +lbl_80324BFC: +/* 80324BFC 00321B5C 38 00 00 00 */ li r0, 0 +/* 80324C00 00321B60 98 1D 00 08 */ stb r0, 8(r29) +/* 80324C04 00321B64 48 00 00 84 */ b lbl_80324C88 +lbl_80324C08: +/* 80324C08 00321B68 28 03 00 00 */ cmplwi r3, 0 +/* 80324C0C 00321B6C 40 82 00 10 */ bne lbl_80324C1C +/* 80324C10 00321B70 38 00 00 00 */ li r0, 0 +/* 80324C14 00321B74 98 1D 00 08 */ stb r0, 8(r29) +/* 80324C18 00321B78 48 00 00 70 */ b lbl_80324C88 +lbl_80324C1C: +/* 80324C1C 00321B7C 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 80324C20 00321B80 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80324C24 00321B84 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 80324C28 00321B88 7F E4 FB 78 */ mr r4, r31 +/* 80324C2C 00321B8C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80324C30 00321B90 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324C34 00321B94 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80324C38 00321B98 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324C3C 00321B9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324C40 00321BA0 7D 89 03 A6 */ mtctr r12 +/* 80324C44 00321BA4 4E 80 04 21 */ bctrl +/* 80324C48 00321BA8 38 61 00 08 */ addi r3, r1, 8 +/* 80324C4C 00321BAC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324C50 00321BB0 48 01 C2 59 */ bl __ct__6CTokenFRC6CToken +/* 80324C54 00321BB4 38 00 00 01 */ li r0, 1 +/* 80324C58 00321BB8 28 1D 00 00 */ cmplwi r29, 0 +/* 80324C5C 00321BBC 98 1D 00 08 */ stb r0, 8(r29) +/* 80324C60 00321BC0 41 82 00 10 */ beq lbl_80324C70 +/* 80324C64 00321BC4 7F A3 EB 78 */ mr r3, r29 +/* 80324C68 00321BC8 38 81 00 08 */ addi r4, r1, 8 +/* 80324C6C 00321BCC 48 01 C2 3D */ bl __ct__6CTokenFRC6CToken +lbl_80324C70: +/* 80324C70 00321BD0 38 61 00 08 */ addi r3, r1, 8 +/* 80324C74 00321BD4 38 80 00 00 */ li r4, 0 +/* 80324C78 00321BD8 48 01 C1 C9 */ bl __dt__6CTokenFv +/* 80324C7C 00321BDC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324C80 00321BE0 38 80 FF FF */ li r4, -1 +/* 80324C84 00321BE4 48 01 C1 BD */ bl __dt__6CTokenFv +lbl_80324C88: +/* 80324C88 00321BE8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80324C8C 00321BEC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324C90 00321BF0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80324C94 00321BF4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324C98 00321BF8 7C 08 03 A6 */ mtlr r0 +/* 80324C9C 00321BFC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80324CA0 00321C00 4E 80 00 20 */ blr + +.global "GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector" +"GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector": +/* 80324CA4 00321C04 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80324CA8 00321C08 7C 08 02 A6 */ mflr r0 +/* 80324CAC 00321C0C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80324CB0 00321C10 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80324CB4 00321C14 7C BF 2B 78 */ mr r31, r5 +/* 80324CB8 00321C18 38 A1 00 08 */ addi r5, r1, 8 +/* 80324CBC 00321C1C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80324CC0 00321C20 7C 7E 1B 78 */ mr r30, r3 +/* 80324CC4 00321C24 38 61 00 18 */ addi r3, r1, 0x18 +/* 80324CC8 00321C28 80 06 00 04 */ lwz r0, 4(r6) +/* 80324CCC 00321C2C 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80324CD0 00321C30 54 00 10 3A */ slwi r0, r0, 2 +/* 80324CD4 00321C34 90 81 00 08 */ stw r4, 8(r1) +/* 80324CD8 00321C38 7C 06 02 14 */ add r0, r6, r0 +/* 80324CDC 00321C3C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324CE0 00321C40 90 01 00 0C */ stw r0, 0xc(r1) +/* 80324CE4 00321C44 90 01 00 10 */ stw r0, 0x10(r1) +/* 80324CE8 00321C48 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80324CEC 00321C4C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80324CF0 00321C50 48 00 57 59 */ bl "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +/* 80324CF4 00321C54 2C 03 00 00 */ cmpwi r3, 0 +/* 80324CF8 00321C58 40 82 00 78 */ bne lbl_80324D70 +/* 80324CFC 00321C5C 80 01 00 08 */ lwz r0, 8(r1) +/* 80324D00 00321C60 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80324D04 00321C64 38 63 52 54 */ addi r3, r3, 0x50415254@l +/* 80324D08 00321C68 7F E4 FB 78 */ mr r4, r31 +/* 80324D0C 00321C6C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80324D10 00321C70 38 61 00 24 */ addi r3, r1, 0x24 +/* 80324D14 00321C74 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80324D18 00321C78 90 01 00 30 */ stw r0, 0x30(r1) +/* 80324D1C 00321C7C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324D20 00321C80 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324D24 00321C84 7D 89 03 A6 */ mtctr r12 +/* 80324D28 00321C88 4E 80 04 21 */ bctrl +/* 80324D2C 00321C8C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80324D30 00321C90 38 81 00 24 */ addi r4, r1, 0x24 +/* 80324D34 00321C94 48 01 C1 75 */ bl __ct__6CTokenFRC6CToken +/* 80324D38 00321C98 38 00 00 01 */ li r0, 1 +/* 80324D3C 00321C9C 28 1E 00 00 */ cmplwi r30, 0 +/* 80324D40 00321CA0 98 1E 00 08 */ stb r0, 8(r30) +/* 80324D44 00321CA4 41 82 00 10 */ beq lbl_80324D54 +/* 80324D48 00321CA8 7F C3 F3 78 */ mr r3, r30 +/* 80324D4C 00321CAC 38 81 00 1C */ addi r4, r1, 0x1c +/* 80324D50 00321CB0 48 01 C1 59 */ bl __ct__6CTokenFRC6CToken +lbl_80324D54: +/* 80324D54 00321CB4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80324D58 00321CB8 38 80 00 00 */ li r4, 0 +/* 80324D5C 00321CBC 48 01 C0 E5 */ bl __dt__6CTokenFv +/* 80324D60 00321CC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80324D64 00321CC4 38 80 FF FF */ li r4, -1 +/* 80324D68 00321CC8 48 01 C0 D9 */ bl __dt__6CTokenFv +/* 80324D6C 00321CCC 48 00 00 0C */ b lbl_80324D78 +lbl_80324D70: +/* 80324D70 00321CD0 38 00 00 00 */ li r0, 0 +/* 80324D74 00321CD4 98 1E 00 08 */ stb r0, 8(r30) +lbl_80324D78: +/* 80324D78 00321CD8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80324D7C 00321CDC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80324D80 00321CE0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80324D84 00321CE4 7C 08 03 A6 */ mtlr r0 +/* 80324D88 00321CE8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80324D8C 00321CEC 4E 80 00 20 */ blr + +.global "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +"GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector": +/* 80324D90 00321CF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80324D94 00321CF4 7C 08 02 A6 */ mflr r0 +/* 80324D98 00321CF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80324D9C 00321CFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80324DA0 00321D00 7C DF 33 78 */ mr r31, r6 +/* 80324DA4 00321D04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80324DA8 00321D08 7C BE 2B 78 */ mr r30, r5 +/* 80324DAC 00321D0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80324DB0 00321D10 7C 9D 23 78 */ mr r29, r4 +/* 80324DB4 00321D14 93 81 00 10 */ stw r28, 0x10(r1) +/* 80324DB8 00321D18 7C 7C 1B 78 */ mr r28, r3 +/* 80324DBC 00321D1C 7F A3 EB 78 */ mr r3, r29 +/* 80324DC0 00321D20 48 00 36 9D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324DC4 00321D24 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324DC8 00321D28 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324DCC 00321D2C 41 82 00 14 */ beq lbl_80324DE0 +/* 80324DD0 00321D30 7F A3 EB 78 */ mr r3, r29 +/* 80324DD4 00321D34 48 01 9E B1 */ bl ReadLong__12CInputStreamFv +/* 80324DD8 00321D38 7C 64 1B 78 */ mr r4, r3 +/* 80324DDC 00321D3C 48 00 00 10 */ b lbl_80324DEC +lbl_80324DE0: +/* 80324DE0 00321D40 38 00 00 00 */ li r0, 0 +/* 80324DE4 00321D44 98 1C 00 08 */ stb r0, 8(r28) +/* 80324DE8 00321D48 48 00 00 28 */ b lbl_80324E10 +lbl_80324DEC: +/* 80324DEC 00321D4C 28 04 00 00 */ cmplwi r4, 0 +/* 80324DF0 00321D50 40 82 00 10 */ bne lbl_80324E00 +/* 80324DF4 00321D54 38 00 00 00 */ li r0, 0 +/* 80324DF8 00321D58 98 1C 00 08 */ stb r0, 8(r28) +/* 80324DFC 00321D5C 48 00 00 14 */ b lbl_80324E10 +lbl_80324E00: +/* 80324E00 00321D60 7F 83 E3 78 */ mr r3, r28 +/* 80324E04 00321D64 7F C5 F3 78 */ mr r5, r30 +/* 80324E08 00321D68 7F E6 FB 78 */ mr r6, r31 +/* 80324E0C 00321D6C 4B FF FE 99 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector" +lbl_80324E10: +/* 80324E10 00321D70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80324E14 00321D74 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80324E18 00321D78 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80324E1C 00321D7C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80324E20 00321D80 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80324E24 00321D84 7C 08 03 A6 */ mtlr r0 +/* 80324E28 00321D88 38 21 00 20 */ addi r1, r1, 0x20 +/* 80324E2C 00321D8C 4E 80 00 20 */ blr + +.global GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80324E30 00321D90 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80324E34 00321D94 7C 08 02 A6 */ mflr r0 +/* 80324E38 00321D98 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80324E3C 00321D9C BF 01 00 80 */ stmw r24, 0x80(r1) +/* 80324E40 00321DA0 7C 7A 1B 78 */ mr r26, r3 +/* 80324E44 00321DA4 7C 99 23 78 */ mr r25, r4 +/* 80324E48 00321DA8 48 00 36 15 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324E4C 00321DAC 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80324E50 00321DB0 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80324E54 00321DB4 7C 03 00 00 */ cmpw r3, r0 +/* 80324E58 00321DB8 41 82 00 38 */ beq lbl_80324E90 +/* 80324E5C 00321DBC 40 80 00 18 */ bge lbl_80324E74 +/* 80324E60 00321DC0 3C 80 41 54 */ lis r4, 0x41544558@ha +/* 80324E64 00321DC4 38 04 45 58 */ addi r0, r4, 0x41544558@l +/* 80324E68 00321DC8 7C 03 00 00 */ cmpw r3, r0 +/* 80324E6C 00321DCC 41 82 01 B4 */ beq lbl_80325020 +/* 80324E70 00321DD0 48 00 03 CC */ b lbl_8032523C +lbl_80324E74: +/* 80324E74 00321DD4 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80324E78 00321DD8 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80324E7C 00321DDC 7C 03 00 00 */ cmpw r3, r0 +/* 80324E80 00321DE0 41 82 00 08 */ beq lbl_80324E88 +/* 80324E84 00321DE4 48 00 03 B8 */ b lbl_8032523C +lbl_80324E88: +/* 80324E88 00321DE8 3B 20 00 00 */ li r25, 0 +/* 80324E8C 00321DEC 48 00 03 B8 */ b lbl_80325244 +lbl_80324E90: +/* 80324E90 00321DF0 7F 43 D3 78 */ mr r3, r26 +/* 80324E94 00321DF4 3B 60 00 00 */ li r27, 0 +/* 80324E98 00321DF8 48 00 35 C5 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324E9C 00321DFC 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324EA0 00321E00 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324EA4 00321E04 41 82 00 10 */ beq lbl_80324EB4 +/* 80324EA8 00321E08 7F 43 D3 78 */ mr r3, r26 +/* 80324EAC 00321E0C 48 01 9D D9 */ bl ReadLong__12CInputStreamFv +/* 80324EB0 00321E10 7C 7B 1B 78 */ mr r27, r3 +lbl_80324EB4: +/* 80324EB4 00321E14 28 1B 00 00 */ cmplwi r27, 0 +/* 80324EB8 00321E18 40 82 00 C0 */ bne lbl_80324F78 +/* 80324EBC 00321E1C 38 60 FF FF */ li r3, -1 +/* 80324EC0 00321E20 4B FF FA 55 */ bl CreateTexture__Fi +/* 80324EC4 00321E24 7C 64 1B 78 */ mr r4, r3 +/* 80324EC8 00321E28 3B 01 00 70 */ addi r24, r1, 0x70 +/* 80324ECC 00321E2C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324ED0 00321E30 4B CE 2B 5D */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FP8CTexture" +/* 80324ED4 00321E34 38 00 00 00 */ li r0, 0 +/* 80324ED8 00321E38 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80324EDC 00321E3C 98 01 00 10 */ stb r0, 0x10(r1) +/* 80324EE0 00321E40 7F 03 C3 78 */ mr r3, r24 +/* 80324EE4 00321E44 48 01 C0 21 */ bl __ct__6CTokenFP4IObj +/* 80324EE8 00321E48 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80324EEC 00321E4C 28 00 00 00 */ cmplwi r0, 0 +/* 80324EF0 00321E50 41 82 00 24 */ beq lbl_80324F14 +/* 80324EF4 00321E54 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80324EF8 00321E58 28 03 00 00 */ cmplwi r3, 0 +/* 80324EFC 00321E5C 41 82 00 18 */ beq lbl_80324F14 +/* 80324F00 00321E60 81 83 00 00 */ lwz r12, 0(r3) +/* 80324F04 00321E64 38 80 00 01 */ li r4, 1 +/* 80324F08 00321E68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324F0C 00321E6C 7D 89 03 A6 */ mtctr r12 +/* 80324F10 00321E70 4E 80 04 21 */ bctrl +lbl_80324F14: +/* 80324F14 00321E74 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 80324F18 00321E78 3B 00 00 00 */ li r24, 0 +/* 80324F1C 00321E7C 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 80324F20 00321E80 38 A0 00 00 */ li r5, 0 +/* 80324F24 00321E84 38 60 00 10 */ li r3, 0x10 +/* 80324F28 00321E88 48 04 7B 5D */ bl __nw__FUlPCcPCc_0 +/* 80324F2C 00321E8C 7C 79 1B 79 */ or. r25, r3, r3 +/* 80324F30 00321E90 41 82 00 24 */ beq lbl_80324F54 +/* 80324F34 00321E94 38 61 00 50 */ addi r3, r1, 0x50 +/* 80324F38 00321E98 38 81 00 70 */ addi r4, r1, 0x70 +/* 80324F3C 00321E9C 48 01 BF 6D */ bl __ct__6CTokenFRC6CToken +/* 80324F40 00321EA0 7F 23 CB 78 */ mr r3, r25 +/* 80324F44 00321EA4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80324F48 00321EA8 3B 00 00 01 */ li r24, 1 +/* 80324F4C 00321EAC 48 00 F7 A1 */ bl "__ct__12CUVEConstantF17TToken<8CTexture>" +/* 80324F50 00321EB0 7C 79 1B 78 */ mr r25, r3 +lbl_80324F54: +/* 80324F54 00321EB4 7F 00 07 75 */ extsb. r0, r24 +/* 80324F58 00321EB8 41 82 00 10 */ beq lbl_80324F68 +/* 80324F5C 00321EBC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80324F60 00321EC0 38 80 00 00 */ li r4, 0 +/* 80324F64 00321EC4 48 01 BE DD */ bl __dt__6CTokenFv +lbl_80324F68: +/* 80324F68 00321EC8 38 61 00 70 */ addi r3, r1, 0x70 +/* 80324F6C 00321ECC 38 80 00 00 */ li r4, 0 +/* 80324F70 00321ED0 48 01 BE D1 */ bl __dt__6CTokenFv +/* 80324F74 00321ED4 48 00 02 D0 */ b lbl_80325244 +lbl_80324F78: +/* 80324F78 00321ED8 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80324F7C 00321EDC 93 61 00 4C */ stw r27, 0x4c(r1) +/* 80324F80 00321EE0 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 80324F84 00321EE4 7F 24 CB 78 */ mr r4, r25 +/* 80324F88 00321EE8 90 01 00 48 */ stw r0, 0x48(r1) +/* 80324F8C 00321EEC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80324F90 00321EF0 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80324F94 00321EF4 81 99 00 00 */ lwz r12, 0(r25) +/* 80324F98 00321EF8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324F9C 00321EFC 7D 89 03 A6 */ mtctr r12 +/* 80324FA0 00321F00 4E 80 04 21 */ bctrl +/* 80324FA4 00321F04 38 61 00 68 */ addi r3, r1, 0x68 +/* 80324FA8 00321F08 38 81 00 40 */ addi r4, r1, 0x40 +/* 80324FAC 00321F0C 48 01 BE FD */ bl __ct__6CTokenFRC6CToken +/* 80324FB0 00321F10 38 61 00 40 */ addi r3, r1, 0x40 +/* 80324FB4 00321F14 38 80 FF FF */ li r4, -1 +/* 80324FB8 00321F18 48 01 BE 89 */ bl __dt__6CTokenFv +/* 80324FBC 00321F1C 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 80324FC0 00321F20 3B 00 00 00 */ li r24, 0 +/* 80324FC4 00321F24 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 80324FC8 00321F28 38 A0 00 00 */ li r5, 0 +/* 80324FCC 00321F2C 38 60 00 10 */ li r3, 0x10 +/* 80324FD0 00321F30 48 04 7A B5 */ bl __nw__FUlPCcPCc_0 +/* 80324FD4 00321F34 7C 79 1B 79 */ or. r25, r3, r3 +/* 80324FD8 00321F38 41 82 00 24 */ beq lbl_80324FFC +/* 80324FDC 00321F3C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80324FE0 00321F40 38 81 00 68 */ addi r4, r1, 0x68 +/* 80324FE4 00321F44 48 01 BE C5 */ bl __ct__6CTokenFRC6CToken +/* 80324FE8 00321F48 7F 23 CB 78 */ mr r3, r25 +/* 80324FEC 00321F4C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80324FF0 00321F50 3B 00 00 01 */ li r24, 1 +/* 80324FF4 00321F54 48 00 F6 F9 */ bl "__ct__12CUVEConstantF17TToken<8CTexture>" +/* 80324FF8 00321F58 7C 79 1B 78 */ mr r25, r3 +lbl_80324FFC: +/* 80324FFC 00321F5C 7F 00 07 75 */ extsb. r0, r24 +/* 80325000 00321F60 41 82 00 10 */ beq lbl_80325010 +/* 80325004 00321F64 38 61 00 38 */ addi r3, r1, 0x38 +/* 80325008 00321F68 38 80 00 00 */ li r4, 0 +/* 8032500C 00321F6C 48 01 BE 35 */ bl __dt__6CTokenFv +lbl_80325010: +/* 80325010 00321F70 38 61 00 68 */ addi r3, r1, 0x68 +/* 80325014 00321F74 38 80 00 00 */ li r4, 0 +/* 80325018 00321F78 48 01 BE 29 */ bl __dt__6CTokenFv +/* 8032501C 00321F7C 48 00 02 28 */ b lbl_80325244 +lbl_80325020: +/* 80325020 00321F80 7F 43 D3 78 */ mr r3, r26 +/* 80325024 00321F84 3B 00 00 00 */ li r24, 0 +/* 80325028 00321F88 48 00 34 35 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032502C 00321F8C 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80325030 00321F90 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80325034 00321F94 41 82 00 10 */ beq lbl_80325044 +/* 80325038 00321F98 7F 43 D3 78 */ mr r3, r26 +/* 8032503C 00321F9C 48 01 9C 49 */ bl ReadLong__12CInputStreamFv +/* 80325040 00321FA0 7C 78 1B 78 */ mr r24, r3 +lbl_80325044: +/* 80325044 00321FA4 7F 43 D3 78 */ mr r3, r26 +/* 80325048 00321FA8 48 00 2B 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032504C 00321FAC 7C 60 1B 78 */ mr r0, r3 +/* 80325050 00321FB0 7F 43 D3 78 */ mr r3, r26 +/* 80325054 00321FB4 7C 1F 03 78 */ mr r31, r0 +/* 80325058 00321FB8 48 00 2B 4D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032505C 00321FBC 7C 60 1B 78 */ mr r0, r3 +/* 80325060 00321FC0 7F 43 D3 78 */ mr r3, r26 +/* 80325064 00321FC4 7C 1E 03 78 */ mr r30, r0 +/* 80325068 00321FC8 48 00 2B 3D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032506C 00321FCC 7C 60 1B 78 */ mr r0, r3 +/* 80325070 00321FD0 7F 43 D3 78 */ mr r3, r26 +/* 80325074 00321FD4 7C 1D 03 78 */ mr r29, r0 +/* 80325078 00321FD8 48 00 2B 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032507C 00321FDC 7C 60 1B 78 */ mr r0, r3 +/* 80325080 00321FE0 7F 43 D3 78 */ mr r3, r26 +/* 80325084 00321FE4 7C 1C 03 78 */ mr r28, r0 +/* 80325088 00321FE8 48 00 2B 1D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032508C 00321FEC 7C 60 1B 78 */ mr r0, r3 +/* 80325090 00321FF0 7F 43 D3 78 */ mr r3, r26 +/* 80325094 00321FF4 7C 1B 03 78 */ mr r27, r0 +/* 80325098 00321FF8 48 00 33 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032509C 00321FFC 28 18 00 00 */ cmplwi r24, 0 +/* 803250A0 00322000 7C 7A 1B 78 */ mr r26, r3 +/* 803250A4 00322004 40 82 00 D8 */ bne lbl_8032517C +/* 803250A8 00322008 38 60 FF FF */ li r3, -1 +/* 803250AC 0032200C 4B FF F8 69 */ bl CreateTexture__Fi +/* 803250B0 00322010 7C 64 1B 78 */ mr r4, r3 +/* 803250B4 00322014 3B 01 00 60 */ addi r24, r1, 0x60 +/* 803250B8 00322018 38 61 00 08 */ addi r3, r1, 8 +/* 803250BC 0032201C 4B CE 29 71 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FP8CTexture" +/* 803250C0 00322020 38 00 00 00 */ li r0, 0 +/* 803250C4 00322024 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803250C8 00322028 98 01 00 08 */ stb r0, 8(r1) +/* 803250CC 0032202C 7F 03 C3 78 */ mr r3, r24 +/* 803250D0 00322030 48 01 BE 35 */ bl __ct__6CTokenFP4IObj +/* 803250D4 00322034 88 01 00 08 */ lbz r0, 8(r1) +/* 803250D8 00322038 28 00 00 00 */ cmplwi r0, 0 +/* 803250DC 0032203C 41 82 00 24 */ beq lbl_80325100 +/* 803250E0 00322040 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803250E4 00322044 28 03 00 00 */ cmplwi r3, 0 +/* 803250E8 00322048 41 82 00 18 */ beq lbl_80325100 +/* 803250EC 0032204C 81 83 00 00 */ lwz r12, 0(r3) +/* 803250F0 00322050 38 80 00 01 */ li r4, 1 +/* 803250F4 00322054 81 8C 00 08 */ lwz r12, 8(r12) +/* 803250F8 00322058 7D 89 03 A6 */ mtctr r12 +/* 803250FC 0032205C 4E 80 04 21 */ bctrl +lbl_80325100: +/* 80325100 00322060 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 80325104 00322064 3B 00 00 00 */ li r24, 0 +/* 80325108 00322068 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 8032510C 0032206C 38 A0 00 00 */ li r5, 0 +/* 80325110 00322070 38 60 00 3C */ li r3, 0x3c +/* 80325114 00322074 48 04 79 71 */ bl __nw__FUlPCcPCc_0 +/* 80325118 00322078 7C 79 1B 79 */ or. r25, r3, r3 +/* 8032511C 0032207C 41 82 00 3C */ beq lbl_80325158 +/* 80325120 00322080 38 61 00 30 */ addi r3, r1, 0x30 +/* 80325124 00322084 38 81 00 60 */ addi r4, r1, 0x60 +/* 80325128 00322088 48 01 BD 81 */ bl __ct__6CTokenFRC6CToken +/* 8032512C 0032208C 7F 23 CB 78 */ mr r3, r25 +/* 80325130 00322090 7F E5 FB 78 */ mr r5, r31 +/* 80325134 00322094 7F C6 F3 78 */ mr r6, r30 +/* 80325138 00322098 7F A7 EB 78 */ mr r7, r29 +/* 8032513C 0032209C 7F 88 E3 78 */ mr r8, r28 +/* 80325140 003220A0 7F 69 DB 78 */ mr r9, r27 +/* 80325144 003220A4 7F 4A D3 78 */ mr r10, r26 +/* 80325148 003220A8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8032514C 003220AC 3B 00 00 01 */ li r24, 1 +/* 80325150 003220B0 48 00 F1 05 */ bl "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" +/* 80325154 003220B4 7C 79 1B 78 */ mr r25, r3 +lbl_80325158: +/* 80325158 003220B8 7F 00 07 75 */ extsb. r0, r24 +/* 8032515C 003220BC 41 82 00 10 */ beq lbl_8032516C +/* 80325160 003220C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80325164 003220C4 38 80 00 00 */ li r4, 0 +/* 80325168 003220C8 48 01 BC D9 */ bl __dt__6CTokenFv +lbl_8032516C: +/* 8032516C 003220CC 38 61 00 60 */ addi r3, r1, 0x60 +/* 80325170 003220D0 38 80 00 00 */ li r4, 0 +/* 80325174 003220D4 48 01 BC CD */ bl __dt__6CTokenFv +/* 80325178 003220D8 48 00 00 CC */ b lbl_80325244 +lbl_8032517C: +/* 8032517C 003220DC 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80325180 003220E0 93 01 00 2C */ stw r24, 0x2c(r1) +/* 80325184 003220E4 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 80325188 003220E8 7F 24 CB 78 */ mr r4, r25 +/* 8032518C 003220EC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80325190 003220F0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80325194 003220F4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80325198 003220F8 81 99 00 00 */ lwz r12, 0(r25) +/* 8032519C 003220FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803251A0 00322100 7D 89 03 A6 */ mtctr r12 +/* 803251A4 00322104 4E 80 04 21 */ bctrl +/* 803251A8 00322108 38 61 00 58 */ addi r3, r1, 0x58 +/* 803251AC 0032210C 38 81 00 20 */ addi r4, r1, 0x20 +/* 803251B0 00322110 48 01 BC F9 */ bl __ct__6CTokenFRC6CToken +/* 803251B4 00322114 38 61 00 20 */ addi r3, r1, 0x20 +/* 803251B8 00322118 38 80 FF FF */ li r4, -1 +/* 803251BC 0032211C 48 01 BC 85 */ bl __dt__6CTokenFv +/* 803251C0 00322120 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 803251C4 00322124 3B 00 00 00 */ li r24, 0 +/* 803251C8 00322128 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 803251CC 0032212C 38 A0 00 00 */ li r5, 0 +/* 803251D0 00322130 38 60 00 3C */ li r3, 0x3c +/* 803251D4 00322134 48 04 78 B1 */ bl __nw__FUlPCcPCc_0 +/* 803251D8 00322138 7C 79 1B 79 */ or. r25, r3, r3 +/* 803251DC 0032213C 41 82 00 3C */ beq lbl_80325218 +/* 803251E0 00322140 38 61 00 18 */ addi r3, r1, 0x18 +/* 803251E4 00322144 38 81 00 58 */ addi r4, r1, 0x58 +/* 803251E8 00322148 48 01 BC C1 */ bl __ct__6CTokenFRC6CToken +/* 803251EC 0032214C 7F 23 CB 78 */ mr r3, r25 +/* 803251F0 00322150 7F E5 FB 78 */ mr r5, r31 +/* 803251F4 00322154 7F C6 F3 78 */ mr r6, r30 +/* 803251F8 00322158 7F A7 EB 78 */ mr r7, r29 +/* 803251FC 0032215C 7F 88 E3 78 */ mr r8, r28 +/* 80325200 00322160 7F 69 DB 78 */ mr r9, r27 +/* 80325204 00322164 7F 4A D3 78 */ mr r10, r26 +/* 80325208 00322168 38 81 00 18 */ addi r4, r1, 0x18 +/* 8032520C 0032216C 3B 00 00 01 */ li r24, 1 +/* 80325210 00322170 48 00 F0 45 */ bl "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" +/* 80325214 00322174 7C 79 1B 78 */ mr r25, r3 +lbl_80325218: +/* 80325218 00322178 7F 00 07 75 */ extsb. r0, r24 +/* 8032521C 0032217C 41 82 00 10 */ beq lbl_8032522C +/* 80325220 00322180 38 61 00 18 */ addi r3, r1, 0x18 +/* 80325224 00322184 38 80 00 00 */ li r4, 0 +/* 80325228 00322188 48 01 BC 19 */ bl __dt__6CTokenFv +lbl_8032522C: +/* 8032522C 0032218C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80325230 00322190 38 80 00 00 */ li r4, 0 +/* 80325234 00322194 48 01 BC 0D */ bl __dt__6CTokenFv +/* 80325238 00322198 48 00 00 0C */ b lbl_80325244 +lbl_8032523C: +/* 8032523C 0032219C 38 60 00 00 */ li r3, 0 +/* 80325240 003221A0 48 00 00 08 */ b lbl_80325248 +lbl_80325244: +/* 80325244 003221A4 7F 23 CB 78 */ mr r3, r25 +lbl_80325248: +/* 80325248 003221A8 BB 01 00 80 */ lmw r24, 0x80(r1) +/* 8032524C 003221AC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80325250 003221B0 7C 08 03 A6 */ mtlr r0 +/* 80325254 003221B4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80325258 003221B8 4E 80 00 20 */ blr + +.global GetColorElement__20CParticleDataFactoryFR12CInputStream +GetColorElement__20CParticleDataFactoryFR12CInputStream: +/* 8032525C 003221BC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80325260 003221C0 7C 08 02 A6 */ mflr r0 +/* 80325264 003221C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80325268 003221C8 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8032526C 003221CC 7C 7F 1B 78 */ mr r31, r3 +/* 80325270 003221D0 48 00 31 ED */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80325274 003221D4 3C A0 4B 45 */ lis r5, 0x4B455945@ha +/* 80325278 003221D8 38 05 59 45 */ addi r0, r5, 0x4B455945@l +/* 8032527C 003221DC 7C 03 00 00 */ cmpw r3, r0 +/* 80325280 003221E0 41 82 03 20 */ beq lbl_803255A0 +/* 80325284 003221E4 40 80 00 54 */ bge lbl_803252D8 +/* 80325288 003221E8 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 8032528C 003221EC 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80325290 003221F0 7C 03 00 00 */ cmpw r3, r0 +/* 80325294 003221F4 41 82 00 90 */ beq lbl_80325324 +/* 80325298 003221F8 40 80 00 2C */ bge lbl_803252C4 +/* 8032529C 003221FC 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 803252A0 00322200 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 803252A4 00322204 7C 03 00 00 */ cmpw r3, r0 +/* 803252A8 00322208 41 82 04 0C */ beq lbl_803256B4 +/* 803252AC 0032220C 40 80 05 38 */ bge lbl_803257E4 +/* 803252B0 00322210 3C 80 43 46 */ lis r4, 0x43464445@ha +/* 803252B4 00322214 38 04 44 45 */ addi r0, r4, 0x43464445@l +/* 803252B8 00322218 7C 03 00 00 */ cmpw r3, r0 +/* 803252BC 0032221C 41 82 03 7C */ beq lbl_80325638 +/* 803252C0 00322220 48 00 05 24 */ b lbl_803257E4 +lbl_803252C4: +/* 803252C4 00322224 3C 80 46 41 */ lis r4, 0x46414445@ha +/* 803252C8 00322228 38 04 44 45 */ addi r0, r4, 0x46414445@l +/* 803252CC 0032222C 7C 03 00 00 */ cmpw r3, r0 +/* 803252D0 00322230 41 82 03 00 */ beq lbl_803255D0 +/* 803252D4 00322234 48 00 05 10 */ b lbl_803257E4 +lbl_803252D8: +/* 803252D8 00322238 3C 80 50 43 */ lis r4, 0x50434F4C@ha +/* 803252DC 0032223C 38 04 4F 4C */ addi r0, r4, 0x50434F4C@l +/* 803252E0 00322240 7C 03 00 00 */ cmpw r3, r0 +/* 803252E4 00322244 41 82 04 B4 */ beq lbl_80325798 +/* 803252E8 00322248 40 80 00 28 */ bge lbl_80325310 +/* 803252EC 0032224C 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 803252F0 00322250 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 803252F4 00322254 7C 03 00 00 */ cmpw r3, r0 +/* 803252F8 00322258 41 82 04 E4 */ beq lbl_803257DC +/* 803252FC 0032225C 40 80 04 E8 */ bge lbl_803257E4 +/* 80325300 00322260 38 05 59 50 */ addi r0, r5, 0x5950 +/* 80325304 00322264 7C 03 00 00 */ cmpw r3, r0 +/* 80325308 00322268 41 82 02 98 */ beq lbl_803255A0 +/* 8032530C 0032226C 48 00 04 D8 */ b lbl_803257E4 +lbl_80325310: +/* 80325310 00322270 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 80325314 00322274 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 80325318 00322278 7C 03 00 00 */ cmpw r3, r0 +/* 8032531C 0032227C 41 82 04 00 */ beq lbl_8032571C +/* 80325320 00322280 48 00 04 C4 */ b lbl_803257E4 +lbl_80325324: +/* 80325324 00322284 83 AD A8 C8 */ lwz r29, lbl_805A9488@sda21(r13) +/* 80325328 00322288 28 1D 00 00 */ cmplwi r29, 0 +/* 8032532C 0032228C 41 82 00 14 */ beq lbl_80325340 +/* 80325330 00322290 7F A3 EB 78 */ mr r3, r29 +/* 80325334 00322294 48 04 77 79 */ bl sub_8036caac +/* 80325338 00322298 7C 7E 1B 78 */ mr r30, r3 +/* 8032533C 0032229C 48 00 00 08 */ b lbl_80325344 +lbl_80325340: +/* 80325340 003222A0 3B C0 00 00 */ li r30, 0 +lbl_80325344: +/* 80325344 003222A4 7F E3 FB 78 */ mr r3, r31 +/* 80325348 003222A8 48 00 19 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032534C 003222AC 7C 60 1B 78 */ mr r0, r3 +/* 80325350 003222B0 7F E3 FB 78 */ mr r3, r31 +/* 80325354 003222B4 7C 1C 03 78 */ mr r28, r0 +/* 80325358 003222B8 48 00 19 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032535C 003222BC 7C 60 1B 78 */ mr r0, r3 +/* 80325360 003222C0 7F E3 FB 78 */ mr r3, r31 +/* 80325364 003222C4 7C 1B 03 78 */ mr r27, r0 +/* 80325368 003222C8 48 00 19 29 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032536C 003222CC 7C 60 1B 78 */ mr r0, r3 +/* 80325370 003222D0 7F E3 FB 78 */ mr r3, r31 +/* 80325374 003222D4 7C 1F 03 78 */ mr r31, r0 +/* 80325378 003222D8 48 00 19 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032537C 003222DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80325380 003222E0 7C 7A 1B 78 */ mr r26, r3 +/* 80325384 003222E4 41 82 01 E0 */ beq lbl_80325564 +/* 80325388 003222E8 28 1B 00 00 */ cmplwi r27, 0 +/* 8032538C 003222EC 41 82 01 D8 */ beq lbl_80325564 +/* 80325390 003222F0 28 1F 00 00 */ cmplwi r31, 0 +/* 80325394 003222F4 41 82 01 D0 */ beq lbl_80325564 +/* 80325398 003222F8 28 1A 00 00 */ cmplwi r26, 0 +/* 8032539C 003222FC 41 82 01 C8 */ beq lbl_80325564 +/* 803253A0 00322300 7F 83 E3 78 */ mr r3, r28 +/* 803253A4 00322304 81 9C 00 00 */ lwz r12, 0(r28) +/* 803253A8 00322308 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803253AC 0032230C 7D 89 03 A6 */ mtctr r12 +/* 803253B0 00322310 4E 80 04 21 */ bctrl +/* 803253B4 00322314 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803253B8 00322318 41 82 01 AC */ beq lbl_80325564 +/* 803253BC 0032231C 7F 63 DB 78 */ mr r3, r27 +/* 803253C0 00322320 81 9B 00 00 */ lwz r12, 0(r27) +/* 803253C4 00322324 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803253C8 00322328 7D 89 03 A6 */ mtctr r12 +/* 803253CC 0032232C 4E 80 04 21 */ bctrl +/* 803253D0 00322330 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803253D4 00322334 41 82 01 90 */ beq lbl_80325564 +/* 803253D8 00322338 7F E3 FB 78 */ mr r3, r31 +/* 803253DC 0032233C 81 9F 00 00 */ lwz r12, 0(r31) +/* 803253E0 00322340 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803253E4 00322344 7D 89 03 A6 */ mtctr r12 +/* 803253E8 00322348 4E 80 04 21 */ bctrl +/* 803253EC 0032234C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803253F0 00322350 41 82 01 74 */ beq lbl_80325564 +/* 803253F4 00322354 7F 43 D3 78 */ mr r3, r26 +/* 803253F8 00322358 81 9A 00 00 */ lwz r12, 0(r26) +/* 803253FC 0032235C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80325400 00322360 7D 89 03 A6 */ mtctr r12 +/* 80325404 00322364 4E 80 04 21 */ bctrl +/* 80325408 00322368 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032540C 0032236C 41 82 01 58 */ beq lbl_80325564 +/* 80325410 00322370 7F 83 E3 78 */ mr r3, r28 +/* 80325414 00322374 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80325418 00322378 81 9C 00 00 */ lwz r12, 0(r28) +/* 8032541C 0032237C 38 80 00 00 */ li r4, 0 +/* 80325420 00322380 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325424 00322384 7D 89 03 A6 */ mtctr r12 +/* 80325428 00322388 4E 80 04 21 */ bctrl +/* 8032542C 0032238C 7F 63 DB 78 */ mr r3, r27 +/* 80325430 00322390 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80325434 00322394 81 9B 00 00 */ lwz r12, 0(r27) +/* 80325438 00322398 38 80 00 00 */ li r4, 0 +/* 8032543C 0032239C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325440 003223A0 7D 89 03 A6 */ mtctr r12 +/* 80325444 003223A4 4E 80 04 21 */ bctrl +/* 80325448 003223A8 7F E3 FB 78 */ mr r3, r31 +/* 8032544C 003223AC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80325450 003223B0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80325454 003223B4 38 80 00 00 */ li r4, 0 +/* 80325458 003223B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032545C 003223BC 7D 89 03 A6 */ mtctr r12 +/* 80325460 003223C0 4E 80 04 21 */ bctrl +/* 80325464 003223C4 7F 43 D3 78 */ mr r3, r26 +/* 80325468 003223C8 38 A1 00 08 */ addi r5, r1, 8 +/* 8032546C 003223CC 81 9A 00 00 */ lwz r12, 0(r26) +/* 80325470 003223D0 38 80 00 00 */ li r4, 0 +/* 80325474 003223D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325478 003223D8 7D 89 03 A6 */ mtctr r12 +/* 8032547C 003223DC 4E 80 04 21 */ bctrl +/* 80325480 003223E0 28 1C 00 00 */ cmplwi r28, 0 +/* 80325484 003223E4 41 82 00 1C */ beq lbl_803254A0 +/* 80325488 003223E8 7F 83 E3 78 */ mr r3, r28 +/* 8032548C 003223EC 38 80 00 01 */ li r4, 1 +/* 80325490 003223F0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80325494 003223F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325498 003223F8 7D 89 03 A6 */ mtctr r12 +/* 8032549C 003223FC 4E 80 04 21 */ bctrl +lbl_803254A0: +/* 803254A0 00322400 28 1B 00 00 */ cmplwi r27, 0 +/* 803254A4 00322404 41 82 00 1C */ beq lbl_803254C0 +/* 803254A8 00322408 7F 63 DB 78 */ mr r3, r27 +/* 803254AC 0032240C 38 80 00 01 */ li r4, 1 +/* 803254B0 00322410 81 9B 00 00 */ lwz r12, 0(r27) +/* 803254B4 00322414 81 8C 00 08 */ lwz r12, 8(r12) +/* 803254B8 00322418 7D 89 03 A6 */ mtctr r12 +/* 803254BC 0032241C 4E 80 04 21 */ bctrl +lbl_803254C0: +/* 803254C0 00322420 28 1F 00 00 */ cmplwi r31, 0 +/* 803254C4 00322424 41 82 00 1C */ beq lbl_803254E0 +/* 803254C8 00322428 7F E3 FB 78 */ mr r3, r31 +/* 803254CC 0032242C 38 80 00 01 */ li r4, 1 +/* 803254D0 00322430 81 9F 00 00 */ lwz r12, 0(r31) +/* 803254D4 00322434 81 8C 00 08 */ lwz r12, 8(r12) +/* 803254D8 00322438 7D 89 03 A6 */ mtctr r12 +/* 803254DC 0032243C 4E 80 04 21 */ bctrl +lbl_803254E0: +/* 803254E0 00322440 28 1A 00 00 */ cmplwi r26, 0 +/* 803254E4 00322444 41 82 00 1C */ beq lbl_80325500 +/* 803254E8 00322448 7F 43 D3 78 */ mr r3, r26 +/* 803254EC 0032244C 38 80 00 01 */ li r4, 1 +/* 803254F0 00322450 81 9A 00 00 */ lwz r12, 0(r26) +/* 803254F4 00322454 81 8C 00 08 */ lwz r12, 8(r12) +/* 803254F8 00322458 7D 89 03 A6 */ mtctr r12 +/* 803254FC 0032245C 4E 80 04 21 */ bctrl +lbl_80325500: +/* 80325500 00322460 28 1D 00 00 */ cmplwi r29, 0 +/* 80325504 00322464 41 82 00 24 */ beq lbl_80325528 +/* 80325508 00322468 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) +/* 8032550C 0032246C 7C 1D 00 40 */ cmplw r29, r0 +/* 80325510 00322470 40 82 00 18 */ bne lbl_80325528 +/* 80325514 00322474 7F A3 EB 78 */ mr r3, r29 +/* 80325518 00322478 48 04 75 95 */ bl sub_8036caac +/* 8032551C 0032247C 7C 9E 18 50 */ subf r4, r30, r3 +/* 80325520 00322480 7F A3 EB 78 */ mr r3, r29 +/* 80325524 00322484 48 04 75 95 */ bl sub_8036cab8 +lbl_80325528: +/* 80325528 00322488 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032552C 0032248C 38 60 00 08 */ li r3, 8 +/* 80325530 00322490 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325534 00322494 38 A0 00 00 */ li r5, 0 +/* 80325538 00322498 48 04 75 4D */ bl __nw__FUlPCcPCc_0 +/* 8032553C 0032249C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325540 003224A0 41 82 00 1C */ beq lbl_8032555C +/* 80325544 003224A4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80325548 003224A8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8032554C 003224AC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80325550 003224B0 C0 81 00 08 */ lfs f4, 8(r1) +/* 80325554 003224B4 4B FF 1C 85 */ bl __ct__15CCEFastConstantFffff +/* 80325558 003224B8 7C 60 1B 78 */ mr r0, r3 +lbl_8032555C: +/* 8032555C 003224BC 7C 03 03 78 */ mr r3, r0 +/* 80325560 003224C0 48 00 02 88 */ b lbl_803257E8 +lbl_80325564: +/* 80325564 003224C4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325568 003224C8 38 60 00 14 */ li r3, 0x14 +/* 8032556C 003224CC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325570 003224D0 38 A0 00 00 */ li r5, 0 +/* 80325574 003224D4 48 04 75 11 */ bl __nw__FUlPCcPCc_0 +/* 80325578 003224D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032557C 003224DC 41 82 00 1C */ beq lbl_80325598 +/* 80325580 003224E0 7F 84 E3 78 */ mr r4, r28 +/* 80325584 003224E4 7F 65 DB 78 */ mr r5, r27 +/* 80325588 003224E8 7F E6 FB 78 */ mr r6, r31 +/* 8032558C 003224EC 7F 47 D3 78 */ mr r7, r26 +/* 80325590 003224F0 4B FF 1F 79 */ bl __ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80325594 003224F4 7C 60 1B 78 */ mr r0, r3 +lbl_80325598: +/* 80325598 003224F8 7C 03 03 78 */ mr r3, r0 +/* 8032559C 003224FC 48 00 02 4C */ b lbl_803257E8 +lbl_803255A0: +/* 803255A0 00322500 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803255A4 00322504 38 60 00 28 */ li r3, 0x28 +/* 803255A8 00322508 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803255AC 0032250C 38 A0 00 00 */ li r5, 0 +/* 803255B0 00322510 48 04 74 D5 */ bl __nw__FUlPCcPCc_0 +/* 803255B4 00322514 7C 60 1B 79 */ or. r0, r3, r3 +/* 803255B8 00322518 41 82 00 10 */ beq lbl_803255C8 +/* 803255BC 0032251C 7F E4 FB 78 */ mr r4, r31 +/* 803255C0 00322520 4B FF 10 75 */ bl __ct__18CCEKeyframeEmitterFR12CInputStream +/* 803255C4 00322524 7C 60 1B 78 */ mr r0, r3 +lbl_803255C8: +/* 803255C8 00322528 7C 03 03 78 */ mr r3, r0 +/* 803255CC 0032252C 48 00 02 1C */ b lbl_803257E8 +lbl_803255D0: +/* 803255D0 00322530 7F E3 FB 78 */ mr r3, r31 +/* 803255D4 00322534 4B FF FC 89 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803255D8 00322538 7C 60 1B 78 */ mr r0, r3 +/* 803255DC 0032253C 7F E3 FB 78 */ mr r3, r31 +/* 803255E0 00322540 7C 1A 03 78 */ mr r26, r0 +/* 803255E4 00322544 4B FF FC 79 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803255E8 00322548 7C 60 1B 78 */ mr r0, r3 +/* 803255EC 0032254C 7F E3 FB 78 */ mr r3, r31 +/* 803255F0 00322550 7C 1B 03 78 */ mr r27, r0 +/* 803255F4 00322554 48 00 16 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803255F8 00322558 7C 60 1B 78 */ mr r0, r3 +/* 803255FC 0032255C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325600 00322560 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325604 00322564 38 60 00 10 */ li r3, 0x10 +/* 80325608 00322568 7C 1C 03 78 */ mr r28, r0 +/* 8032560C 0032256C 38 A0 00 00 */ li r5, 0 +/* 80325610 00322570 48 04 74 75 */ bl __nw__FUlPCcPCc_0 +/* 80325614 00322574 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325618 00322578 41 82 00 18 */ beq lbl_80325630 +/* 8032561C 0032257C 7F 44 D3 78 */ mr r4, r26 +/* 80325620 00322580 7F 65 DB 78 */ mr r5, r27 +/* 80325624 00322584 7F 86 E3 78 */ mr r6, r28 +/* 80325628 00322588 4B FF 1A FD */ bl __ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement +/* 8032562C 0032258C 7C 60 1B 78 */ mr r0, r3 +lbl_80325630: +/* 80325630 00322590 7C 03 03 78 */ mr r3, r0 +/* 80325634 00322594 48 00 01 B4 */ b lbl_803257E8 +lbl_80325638: +/* 80325638 00322598 7F E3 FB 78 */ mr r3, r31 +/* 8032563C 0032259C 4B FF FC 21 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325640 003225A0 7C 60 1B 78 */ mr r0, r3 +/* 80325644 003225A4 7F E3 FB 78 */ mr r3, r31 +/* 80325648 003225A8 7C 1A 03 78 */ mr r26, r0 +/* 8032564C 003225AC 4B FF FC 11 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325650 003225B0 7C 60 1B 78 */ mr r0, r3 +/* 80325654 003225B4 7F E3 FB 78 */ mr r3, r31 +/* 80325658 003225B8 7C 1B 03 78 */ mr r27, r0 +/* 8032565C 003225BC 48 00 16 35 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325660 003225C0 7C 60 1B 78 */ mr r0, r3 +/* 80325664 003225C4 7F E3 FB 78 */ mr r3, r31 +/* 80325668 003225C8 7C 1C 03 78 */ mr r28, r0 +/* 8032566C 003225CC 48 00 16 25 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325670 003225D0 7C 60 1B 78 */ mr r0, r3 +/* 80325674 003225D4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325678 003225D8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032567C 003225DC 38 60 00 14 */ li r3, 0x14 +/* 80325680 003225E0 7C 1D 03 78 */ mr r29, r0 +/* 80325684 003225E4 38 A0 00 00 */ li r5, 0 +/* 80325688 003225E8 48 04 73 FD */ bl __nw__FUlPCcPCc_0 +/* 8032568C 003225EC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325690 003225F0 41 82 00 1C */ beq lbl_803256AC +/* 80325694 003225F4 7F 44 D3 78 */ mr r4, r26 +/* 80325698 003225F8 7F 65 DB 78 */ mr r5, r27 +/* 8032569C 003225FC 7F 86 E3 78 */ mr r6, r28 +/* 803256A0 00322600 7F A7 EB 78 */ mr r7, r29 +/* 803256A4 00322604 4B FF 17 BD */ bl __ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement +/* 803256A8 00322608 7C 60 1B 78 */ mr r0, r3 +lbl_803256AC: +/* 803256AC 0032260C 7C 03 03 78 */ mr r3, r0 +/* 803256B0 00322610 48 00 01 38 */ b lbl_803257E8 +lbl_803256B4: +/* 803256B4 00322614 7F E3 FB 78 */ mr r3, r31 +/* 803256B8 00322618 4B FF FB A5 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803256BC 0032261C 7C 60 1B 78 */ mr r0, r3 +/* 803256C0 00322620 7F E3 FB 78 */ mr r3, r31 +/* 803256C4 00322624 7C 1A 03 78 */ mr r26, r0 +/* 803256C8 00322628 4B FF FB 95 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803256CC 0032262C 7C 60 1B 78 */ mr r0, r3 +/* 803256D0 00322630 7F E3 FB 78 */ mr r3, r31 +/* 803256D4 00322634 7C 1B 03 78 */ mr r27, r0 +/* 803256D8 00322638 48 00 24 CD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803256DC 0032263C 7C 60 1B 78 */ mr r0, r3 +/* 803256E0 00322640 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803256E4 00322644 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803256E8 00322648 38 60 00 10 */ li r3, 0x10 +/* 803256EC 0032264C 7C 1C 03 78 */ mr r28, r0 +/* 803256F0 00322650 38 A0 00 00 */ li r5, 0 +/* 803256F4 00322654 48 04 73 91 */ bl __nw__FUlPCcPCc_0 +/* 803256F8 00322658 7C 60 1B 79 */ or. r0, r3, r3 +/* 803256FC 0032265C 41 82 00 18 */ beq lbl_80325714 +/* 80325700 00322660 7F 44 D3 78 */ mr r4, r26 +/* 80325704 00322664 7F 65 DB 78 */ mr r5, r27 +/* 80325708 00322668 7F 86 E3 78 */ mr r6, r28 +/* 8032570C 0032266C 4B FF 14 51 */ bl __ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement +/* 80325710 00322670 7C 60 1B 78 */ mr r0, r3 +lbl_80325714: +/* 80325714 00322674 7C 03 03 78 */ mr r3, r0 +/* 80325718 00322678 48 00 00 D0 */ b lbl_803257E8 +lbl_8032571C: +/* 8032571C 0032267C 7F E3 FB 78 */ mr r3, r31 +/* 80325720 00322680 48 00 24 85 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325724 00322684 7C 60 1B 78 */ mr r0, r3 +/* 80325728 00322688 7F E3 FB 78 */ mr r3, r31 +/* 8032572C 0032268C 7C 1A 03 78 */ mr r26, r0 +/* 80325730 00322690 48 00 24 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325734 00322694 7C 60 1B 78 */ mr r0, r3 +/* 80325738 00322698 7F E3 FB 78 */ mr r3, r31 +/* 8032573C 0032269C 7C 1B 03 78 */ mr r27, r0 +/* 80325740 003226A0 4B FF FB 1D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325744 003226A4 7C 60 1B 78 */ mr r0, r3 +/* 80325748 003226A8 7F E3 FB 78 */ mr r3, r31 +/* 8032574C 003226AC 7C 1C 03 78 */ mr r28, r0 +/* 80325750 003226B0 4B FF FB 0D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325754 003226B4 7C 60 1B 78 */ mr r0, r3 +/* 80325758 003226B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032575C 003226BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325760 003226C0 38 60 00 14 */ li r3, 0x14 +/* 80325764 003226C4 7C 1D 03 78 */ mr r29, r0 +/* 80325768 003226C8 38 A0 00 00 */ li r5, 0 +/* 8032576C 003226CC 48 04 73 19 */ bl __nw__FUlPCcPCc_0 +/* 80325770 003226D0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325774 003226D4 41 82 00 1C */ beq lbl_80325790 +/* 80325778 003226D8 7F 44 D3 78 */ mr r4, r26 +/* 8032577C 003226DC 7F 65 DB 78 */ mr r5, r27 +/* 80325780 003226E0 7F 86 E3 78 */ mr r6, r28 +/* 80325784 003226E4 7F A7 EB 78 */ mr r7, r29 +/* 80325788 003226E8 4B FF 12 1D */ bl __ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement +/* 8032578C 003226EC 7C 60 1B 78 */ mr r0, r3 +lbl_80325790: +/* 80325790 003226F0 7C 03 03 78 */ mr r3, r0 +/* 80325794 003226F4 48 00 00 54 */ b lbl_803257E8 +lbl_80325798: +/* 80325798 003226F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032579C 003226FC 38 60 00 04 */ li r3, 4 +/* 803257A0 00322700 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803257A4 00322704 38 A0 00 00 */ li r5, 0 +/* 803257A8 00322708 48 04 72 DD */ bl __nw__FUlPCcPCc_0 +/* 803257AC 0032270C 28 03 00 00 */ cmplwi r3, 0 +/* 803257B0 00322710 41 82 00 38 */ beq lbl_803257E8 +/* 803257B4 00322714 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803257B8 00322718 3C A0 80 3F */ lis r5, lbl_803EC5B4@ha +/* 803257BC 0032271C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803257C0 00322720 3C 80 80 3F */ lis r4, lbl_803EDA00@ha +/* 803257C4 00322724 90 03 00 00 */ stw r0, 0(r3) +/* 803257C8 00322728 38 A5 C5 B4 */ addi r5, r5, lbl_803EC5B4@l +/* 803257CC 0032272C 38 04 DA 00 */ addi r0, r4, lbl_803EDA00@l +/* 803257D0 00322730 90 A3 00 00 */ stw r5, 0(r3) +/* 803257D4 00322734 90 03 00 00 */ stw r0, 0(r3) +/* 803257D8 00322738 48 00 00 10 */ b lbl_803257E8 +lbl_803257DC: +/* 803257DC 0032273C 38 60 00 00 */ li r3, 0 +/* 803257E0 00322740 48 00 00 08 */ b lbl_803257E8 +lbl_803257E4: +/* 803257E4 00322744 38 60 00 00 */ li r3, 0 +lbl_803257E8: +/* 803257E8 00322748 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 803257EC 0032274C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803257F0 00322750 7C 08 03 A6 */ mtlr r0 +/* 803257F4 00322754 38 21 00 30 */ addi r1, r1, 0x30 +/* 803257F8 00322758 4E 80 00 20 */ blr + +.global GetModVectorElement__20CParticleDataFactoryFR12CInputStream +GetModVectorElement__20CParticleDataFactoryFR12CInputStream: +/* 803257FC 0032275C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80325800 00322760 7C 08 02 A6 */ mflr r0 +/* 80325804 00322764 90 01 00 34 */ stw r0, 0x34(r1) +/* 80325808 00322768 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8032580C 0032276C 7C 7F 1B 78 */ mr r31, r3 +/* 80325810 00322770 48 00 2C 4D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80325814 00322774 3C 80 49 4D */ lis r4, 0x494D504C@ha +/* 80325818 00322778 38 04 50 4C */ addi r0, r4, 0x494D504C@l +/* 8032581C 0032277C 7C 03 00 00 */ cmpw r3, r0 +/* 80325820 00322780 41 82 04 80 */ beq lbl_80325CA0 +/* 80325824 00322784 40 80 00 7C */ bge lbl_803258A0 +/* 80325828 00322788 3C 80 45 4D */ lis r4, 0x454D504C@ha +/* 8032582C 0032278C 38 04 50 4C */ addi r0, r4, 0x454D504C@l +/* 80325830 00322790 7C 03 00 00 */ cmpw r3, r0 +/* 80325834 00322794 41 82 05 8C */ beq lbl_80325DC0 +/* 80325838 00322798 40 80 00 40 */ bge lbl_80325878 +/* 8032583C 0032279C 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 80325840 003227A0 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 80325844 003227A4 7C 03 00 00 */ cmpw r3, r0 +/* 80325848 003227A8 41 82 03 74 */ beq lbl_80325BBC +/* 8032584C 003227AC 40 80 00 18 */ bge lbl_80325864 +/* 80325850 003227B0 3C 80 42 4E */ lis r4, 0x424E4345@ha +/* 80325854 003227B4 38 04 43 45 */ addi r0, r4, 0x424E4345@l +/* 80325858 003227B8 7C 03 00 00 */ cmpw r3, r0 +/* 8032585C 003227BC 41 82 06 70 */ beq lbl_80325ECC +/* 80325860 003227C0 48 00 07 30 */ b lbl_80325F90 +lbl_80325864: +/* 80325864 003227C4 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80325868 003227C8 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 8032586C 003227CC 7C 03 00 00 */ cmpw r3, r0 +/* 80325870 003227D0 41 82 00 B0 */ beq lbl_80325920 +/* 80325874 003227D4 48 00 07 1C */ b lbl_80325F90 +lbl_80325878: +/* 80325878 003227D8 3C 80 47 52 */ lis r4, 0x47524156@ha +/* 8032587C 003227DC 38 04 41 56 */ addi r0, r4, 0x47524156@l +/* 80325880 003227E0 7C 03 00 00 */ cmpw r3, r0 +/* 80325884 003227E4 41 82 02 58 */ beq lbl_80325ADC +/* 80325888 003227E8 40 80 07 08 */ bge lbl_80325F90 +/* 8032588C 003227EC 3C 80 45 58 */ lis r4, 0x4558504C@ha +/* 80325890 003227F0 38 04 50 4C */ addi r0, r4, 0x4558504C@l +/* 80325894 003227F4 7C 03 00 00 */ cmpw r3, r0 +/* 80325898 003227F8 41 82 02 D0 */ beq lbl_80325B68 +/* 8032589C 003227FC 48 00 06 F4 */ b lbl_80325F90 +lbl_803258A0: +/* 803258A0 00322800 3C 80 53 50 */ lis r4, 0x53504F53@ha +/* 803258A4 00322804 38 04 4F 53 */ addi r0, r4, 0x53504F53@l +/* 803258A8 00322808 7C 03 00 00 */ cmpw r3, r0 +/* 803258AC 0032280C 41 82 06 AC */ beq lbl_80325F58 +/* 803258B0 00322810 40 80 00 40 */ bge lbl_803258F0 +/* 803258B4 00322814 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 803258B8 00322818 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 803258BC 0032281C 7C 03 00 00 */ cmpw r3, r0 +/* 803258C0 00322820 41 82 00 58 */ beq lbl_80325918 +/* 803258C4 00322824 40 80 00 18 */ bge lbl_803258DC +/* 803258C8 00322828 3C 80 4C 4D */ lis r4, 0x4C4D504C@ha +/* 803258CC 0032282C 38 04 50 4C */ addi r0, r4, 0x4C4D504C@l +/* 803258D0 00322830 7C 03 00 00 */ cmpw r3, r0 +/* 803258D4 00322834 41 82 04 5C */ beq lbl_80325D30 +/* 803258D8 00322838 48 00 06 B8 */ b lbl_80325F90 +lbl_803258DC: +/* 803258DC 0032283C 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 803258E0 00322840 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 803258E4 00322844 7C 03 00 00 */ cmpw r3, r0 +/* 803258E8 00322848 41 82 03 3C */ beq lbl_80325C24 +/* 803258EC 0032284C 48 00 06 A4 */ b lbl_80325F90 +lbl_803258F0: +/* 803258F0 00322850 3C 80 57 49 */ lis r4, 0x57494E44@ha +/* 803258F4 00322854 38 04 4E 44 */ addi r0, r4, 0x57494E44@l +/* 803258F8 00322858 7C 03 00 00 */ cmpw r3, r0 +/* 803258FC 0032285C 41 82 02 18 */ beq lbl_80325B14 +/* 80325900 00322860 40 80 06 90 */ bge lbl_80325F90 +/* 80325904 00322864 3C 80 53 57 */ lis r4, 0x5357524C@ha +/* 80325908 00322868 38 04 52 4C */ addi r0, r4, 0x5357524C@l +/* 8032590C 0032286C 7C 03 00 00 */ cmpw r3, r0 +/* 80325910 00322870 41 82 05 40 */ beq lbl_80325E50 +/* 80325914 00322874 48 00 06 7C */ b lbl_80325F90 +lbl_80325918: +/* 80325918 00322878 3B C0 00 00 */ li r30, 0 +/* 8032591C 0032287C 48 00 06 7C */ b lbl_80325F98 +lbl_80325920: +/* 80325920 00322880 7F E3 FB 78 */ mr r3, r31 +/* 80325924 00322884 48 00 13 6D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325928 00322888 7C 60 1B 78 */ mr r0, r3 +/* 8032592C 0032288C 7F E3 FB 78 */ mr r3, r31 +/* 80325930 00322890 7C 1D 03 78 */ mr r29, r0 +/* 80325934 00322894 48 00 13 5D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325938 00322898 7C 60 1B 78 */ mr r0, r3 +/* 8032593C 0032289C 7F E3 FB 78 */ mr r3, r31 +/* 80325940 003228A0 7C 1F 03 78 */ mr r31, r0 +/* 80325944 003228A4 48 00 13 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325948 003228A8 28 1D 00 00 */ cmplwi r29, 0 +/* 8032594C 003228AC 7C 7C 1B 78 */ mr r28, r3 +/* 80325950 003228B0 41 82 01 54 */ beq lbl_80325AA4 +/* 80325954 003228B4 28 1F 00 00 */ cmplwi r31, 0 +/* 80325958 003228B8 41 82 01 4C */ beq lbl_80325AA4 +/* 8032595C 003228BC 28 1C 00 00 */ cmplwi r28, 0 +/* 80325960 003228C0 41 82 01 44 */ beq lbl_80325AA4 +/* 80325964 003228C4 7F A3 EB 78 */ mr r3, r29 +/* 80325968 003228C8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8032596C 003228CC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80325970 003228D0 7D 89 03 A6 */ mtctr r12 +/* 80325974 003228D4 4E 80 04 21 */ bctrl +/* 80325978 003228D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032597C 003228DC 41 82 01 28 */ beq lbl_80325AA4 +/* 80325980 003228E0 7F E3 FB 78 */ mr r3, r31 +/* 80325984 003228E4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80325988 003228E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8032598C 003228EC 7D 89 03 A6 */ mtctr r12 +/* 80325990 003228F0 4E 80 04 21 */ bctrl +/* 80325994 003228F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80325998 003228F8 41 82 01 0C */ beq lbl_80325AA4 +/* 8032599C 003228FC 7F 83 E3 78 */ mr r3, r28 +/* 803259A0 00322900 81 9C 00 00 */ lwz r12, 0(r28) +/* 803259A4 00322904 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803259A8 00322908 7D 89 03 A6 */ mtctr r12 +/* 803259AC 0032290C 4E 80 04 21 */ bctrl +/* 803259B0 00322910 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803259B4 00322914 41 82 00 F0 */ beq lbl_80325AA4 +/* 803259B8 00322918 7F A3 EB 78 */ mr r3, r29 +/* 803259BC 0032291C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803259C0 00322920 81 9D 00 00 */ lwz r12, 0(r29) +/* 803259C4 00322924 38 80 00 00 */ li r4, 0 +/* 803259C8 00322928 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803259CC 0032292C 7D 89 03 A6 */ mtctr r12 +/* 803259D0 00322930 4E 80 04 21 */ bctrl +/* 803259D4 00322934 7F A3 EB 78 */ mr r3, r29 +/* 803259D8 00322938 38 A1 00 0C */ addi r5, r1, 0xc +/* 803259DC 0032293C 81 9D 00 00 */ lwz r12, 0(r29) +/* 803259E0 00322940 38 80 00 00 */ li r4, 0 +/* 803259E4 00322944 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803259E8 00322948 7D 89 03 A6 */ mtctr r12 +/* 803259EC 0032294C 4E 80 04 21 */ bctrl +/* 803259F0 00322950 7F A3 EB 78 */ mr r3, r29 +/* 803259F4 00322954 38 A1 00 08 */ addi r5, r1, 8 +/* 803259F8 00322958 81 9D 00 00 */ lwz r12, 0(r29) +/* 803259FC 0032295C 38 80 00 00 */ li r4, 0 +/* 80325A00 00322960 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325A04 00322964 7D 89 03 A6 */ mtctr r12 +/* 80325A08 00322968 4E 80 04 21 */ bctrl +/* 80325A0C 0032296C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325A10 00322970 38 60 00 10 */ li r3, 0x10 +/* 80325A14 00322974 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325A18 00322978 38 A0 00 00 */ li r5, 0 +/* 80325A1C 0032297C 48 04 70 69 */ bl __nw__FUlPCcPCc_0 +/* 80325A20 00322980 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325A24 00322984 41 82 00 18 */ beq lbl_80325A3C +/* 80325A28 00322988 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80325A2C 0032298C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80325A30 00322990 C0 61 00 08 */ lfs f3, 8(r1) +/* 80325A34 00322994 4B FF EC ED */ bl __ct__16CMVEFastConstantFfff +/* 80325A38 00322998 7C 60 1B 78 */ mr r0, r3 +lbl_80325A3C: +/* 80325A3C 0032299C 28 1D 00 00 */ cmplwi r29, 0 +/* 80325A40 003229A0 7C 1E 03 78 */ mr r30, r0 +/* 80325A44 003229A4 41 82 00 1C */ beq lbl_80325A60 +/* 80325A48 003229A8 7F A3 EB 78 */ mr r3, r29 +/* 80325A4C 003229AC 38 80 00 01 */ li r4, 1 +/* 80325A50 003229B0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80325A54 003229B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325A58 003229B8 7D 89 03 A6 */ mtctr r12 +/* 80325A5C 003229BC 4E 80 04 21 */ bctrl +lbl_80325A60: +/* 80325A60 003229C0 28 1F 00 00 */ cmplwi r31, 0 +/* 80325A64 003229C4 41 82 00 1C */ beq lbl_80325A80 +/* 80325A68 003229C8 7F E3 FB 78 */ mr r3, r31 +/* 80325A6C 003229CC 38 80 00 01 */ li r4, 1 +/* 80325A70 003229D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80325A74 003229D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325A78 003229D8 7D 89 03 A6 */ mtctr r12 +/* 80325A7C 003229DC 4E 80 04 21 */ bctrl +lbl_80325A80: +/* 80325A80 003229E0 28 1C 00 00 */ cmplwi r28, 0 +/* 80325A84 003229E4 41 82 05 14 */ beq lbl_80325F98 +/* 80325A88 003229E8 7F 83 E3 78 */ mr r3, r28 +/* 80325A8C 003229EC 38 80 00 01 */ li r4, 1 +/* 80325A90 003229F0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80325A94 003229F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325A98 003229F8 7D 89 03 A6 */ mtctr r12 +/* 80325A9C 003229FC 4E 80 04 21 */ bctrl +/* 80325AA0 00322A00 48 00 04 F8 */ b lbl_80325F98 +lbl_80325AA4: +/* 80325AA4 00322A04 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325AA8 00322A08 38 60 00 10 */ li r3, 0x10 +/* 80325AAC 00322A0C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325AB0 00322A10 38 A0 00 00 */ li r5, 0 +/* 80325AB4 00322A14 48 04 6F D1 */ bl __nw__FUlPCcPCc_0 +/* 80325AB8 00322A18 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325ABC 00322A1C 41 82 00 18 */ beq lbl_80325AD4 +/* 80325AC0 00322A20 7F A4 EB 78 */ mr r4, r29 +/* 80325AC4 00322A24 7F E5 FB 78 */ mr r5, r31 +/* 80325AC8 00322A28 7F 86 E3 78 */ mr r6, r28 +/* 80325ACC 00322A2C 4B FF EE 15 */ bl __ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement +/* 80325AD0 00322A30 7C 60 1B 78 */ mr r0, r3 +lbl_80325AD4: +/* 80325AD4 00322A34 7C 1E 03 78 */ mr r30, r0 +/* 80325AD8 00322A38 48 00 04 C0 */ b lbl_80325F98 +lbl_80325ADC: +/* 80325ADC 00322A3C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325AE0 00322A40 38 60 00 08 */ li r3, 8 +/* 80325AE4 00322A44 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325AE8 00322A48 38 A0 00 00 */ li r5, 0 +/* 80325AEC 00322A4C 48 04 6F 99 */ bl __nw__FUlPCcPCc_0 +/* 80325AF0 00322A50 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80325AF4 00322A54 41 82 04 A4 */ beq lbl_80325F98 +/* 80325AF8 00322A58 7F E3 FB 78 */ mr r3, r31 +/* 80325AFC 00322A5C 48 00 07 59 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325B00 00322A60 7C 64 1B 78 */ mr r4, r3 +/* 80325B04 00322A64 7F C3 F3 78 */ mr r3, r30 +/* 80325B08 00322A68 4B FF EB 5D */ bl __ct__11CMVEGravityFP14CVectorElement +/* 80325B0C 00322A6C 7C 7E 1B 78 */ mr r30, r3 +/* 80325B10 00322A70 48 00 04 88 */ b lbl_80325F98 +lbl_80325B14: +/* 80325B14 00322A74 7F E3 FB 78 */ mr r3, r31 +/* 80325B18 00322A78 48 00 07 3D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325B1C 00322A7C 7C 60 1B 78 */ mr r0, r3 +/* 80325B20 00322A80 7F E3 FB 78 */ mr r3, r31 +/* 80325B24 00322A84 7C 1C 03 78 */ mr r28, r0 +/* 80325B28 00322A88 48 00 11 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325B2C 00322A8C 7C 60 1B 78 */ mr r0, r3 +/* 80325B30 00322A90 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325B34 00322A94 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325B38 00322A98 38 60 00 0C */ li r3, 0xc +/* 80325B3C 00322A9C 7C 1D 03 78 */ mr r29, r0 +/* 80325B40 00322AA0 38 A0 00 00 */ li r5, 0 +/* 80325B44 00322AA4 48 04 6F 41 */ bl __nw__FUlPCcPCc_0 +/* 80325B48 00322AA8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325B4C 00322AAC 41 82 00 14 */ beq lbl_80325B60 +/* 80325B50 00322AB0 7F 84 E3 78 */ mr r4, r28 +/* 80325B54 00322AB4 7F A5 EB 78 */ mr r5, r29 +/* 80325B58 00322AB8 4B FF E9 B9 */ bl __ct__8CMVEWindFP14CVectorElementP12CRealElement +/* 80325B5C 00322ABC 7C 60 1B 78 */ mr r0, r3 +lbl_80325B60: +/* 80325B60 00322AC0 7C 1E 03 78 */ mr r30, r0 +/* 80325B64 00322AC4 48 00 04 34 */ b lbl_80325F98 +lbl_80325B68: +/* 80325B68 00322AC8 7F E3 FB 78 */ mr r3, r31 +/* 80325B6C 00322ACC 48 00 11 25 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325B70 00322AD0 7C 60 1B 78 */ mr r0, r3 +/* 80325B74 00322AD4 7F E3 FB 78 */ mr r3, r31 +/* 80325B78 00322AD8 7C 1C 03 78 */ mr r28, r0 +/* 80325B7C 00322ADC 48 00 11 15 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325B80 00322AE0 7C 60 1B 78 */ mr r0, r3 +/* 80325B84 00322AE4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325B88 00322AE8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325B8C 00322AEC 38 60 00 0C */ li r3, 0xc +/* 80325B90 00322AF0 7C 1D 03 78 */ mr r29, r0 +/* 80325B94 00322AF4 38 A0 00 00 */ li r5, 0 +/* 80325B98 00322AF8 48 04 6E ED */ bl __nw__FUlPCcPCc_0 +/* 80325B9C 00322AFC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325BA0 00322B00 41 82 00 14 */ beq lbl_80325BB4 +/* 80325BA4 00322B04 7F 84 E3 78 */ mr r4, r28 +/* 80325BA8 00322B08 7F A5 EB 78 */ mr r5, r29 +/* 80325BAC 00322B0C 4B FF E7 65 */ bl __ct__11CMVEExplodeFP12CRealElementP12CRealElement +/* 80325BB0 00322B10 7C 60 1B 78 */ mr r0, r3 +lbl_80325BB4: +/* 80325BB4 00322B14 7C 1E 03 78 */ mr r30, r0 +/* 80325BB8 00322B18 48 00 03 E0 */ b lbl_80325F98 +lbl_80325BBC: +/* 80325BBC 00322B1C 7F E3 FB 78 */ mr r3, r31 +/* 80325BC0 00322B20 4B FF FC 3D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325BC4 00322B24 7C 60 1B 78 */ mr r0, r3 +/* 80325BC8 00322B28 7F E3 FB 78 */ mr r3, r31 +/* 80325BCC 00322B2C 7C 1C 03 78 */ mr r28, r0 +/* 80325BD0 00322B30 4B FF FC 2D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325BD4 00322B34 7C 60 1B 78 */ mr r0, r3 +/* 80325BD8 00322B38 7F E3 FB 78 */ mr r3, r31 +/* 80325BDC 00322B3C 7C 1D 03 78 */ mr r29, r0 +/* 80325BE0 00322B40 48 00 1F C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325BE4 00322B44 7C 60 1B 78 */ mr r0, r3 +/* 80325BE8 00322B48 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325BEC 00322B4C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325BF0 00322B50 38 60 00 10 */ li r3, 0x10 +/* 80325BF4 00322B54 7C 1E 03 78 */ mr r30, r0 +/* 80325BF8 00322B58 38 A0 00 00 */ li r5, 0 +/* 80325BFC 00322B5C 48 04 6E 89 */ bl __nw__FUlPCcPCc_0 +/* 80325C00 00322B60 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325C04 00322B64 41 82 00 18 */ beq lbl_80325C1C +/* 80325C08 00322B68 7F 84 E3 78 */ mr r4, r28 +/* 80325C0C 00322B6C 7F A5 EB 78 */ mr r5, r29 +/* 80325C10 00322B70 7F C6 F3 78 */ mr r6, r30 +/* 80325C14 00322B74 4B FF E4 81 */ bl __ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement +/* 80325C18 00322B78 7C 60 1B 78 */ mr r0, r3 +lbl_80325C1C: +/* 80325C1C 00322B7C 7C 1E 03 78 */ mr r30, r0 +/* 80325C20 00322B80 48 00 03 78 */ b lbl_80325F98 +lbl_80325C24: +/* 80325C24 00322B84 7F E3 FB 78 */ mr r3, r31 +/* 80325C28 00322B88 48 00 1F 7D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325C2C 00322B8C 7C 60 1B 78 */ mr r0, r3 +/* 80325C30 00322B90 7F E3 FB 78 */ mr r3, r31 +/* 80325C34 00322B94 7C 1C 03 78 */ mr r28, r0 +/* 80325C38 00322B98 48 00 1F 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325C3C 00322B9C 7C 60 1B 78 */ mr r0, r3 +/* 80325C40 00322BA0 7F E3 FB 78 */ mr r3, r31 +/* 80325C44 00322BA4 7C 1D 03 78 */ mr r29, r0 +/* 80325C48 00322BA8 4B FF FB B5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325C4C 00322BAC 7C 60 1B 78 */ mr r0, r3 +/* 80325C50 00322BB0 7F E3 FB 78 */ mr r3, r31 +/* 80325C54 00322BB4 7C 1E 03 78 */ mr r30, r0 +/* 80325C58 00322BB8 4B FF FB A5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325C5C 00322BBC 7C 60 1B 78 */ mr r0, r3 +/* 80325C60 00322BC0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325C64 00322BC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325C68 00322BC8 38 60 00 14 */ li r3, 0x14 +/* 80325C6C 00322BCC 7C 1F 03 78 */ mr r31, r0 +/* 80325C70 00322BD0 38 A0 00 00 */ li r5, 0 +/* 80325C74 00322BD4 48 04 6E 11 */ bl __nw__FUlPCcPCc_0 +/* 80325C78 00322BD8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325C7C 00322BDC 41 82 00 1C */ beq lbl_80325C98 +/* 80325C80 00322BE0 7F 84 E3 78 */ mr r4, r28 +/* 80325C84 00322BE4 7F A5 EB 78 */ mr r5, r29 +/* 80325C88 00322BE8 7F C6 F3 78 */ mr r6, r30 +/* 80325C8C 00322BEC 7F E7 FB 78 */ mr r7, r31 +/* 80325C90 00322BF0 4B FF E2 39 */ bl __ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement +/* 80325C94 00322BF4 7C 60 1B 78 */ mr r0, r3 +lbl_80325C98: +/* 80325C98 00322BF8 7C 1E 03 78 */ mr r30, r0 +/* 80325C9C 00322BFC 48 00 02 FC */ b lbl_80325F98 +lbl_80325CA0: +/* 80325CA0 00322C00 7F E3 FB 78 */ mr r3, r31 +/* 80325CA4 00322C04 48 00 05 B1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325CA8 00322C08 7C 60 1B 78 */ mr r0, r3 +/* 80325CAC 00322C0C 7F E3 FB 78 */ mr r3, r31 +/* 80325CB0 00322C10 7C 1C 03 78 */ mr r28, r0 +/* 80325CB4 00322C14 48 00 0F DD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325CB8 00322C18 7C 60 1B 78 */ mr r0, r3 +/* 80325CBC 00322C1C 7F E3 FB 78 */ mr r3, r31 +/* 80325CC0 00322C20 7C 1D 03 78 */ mr r29, r0 +/* 80325CC4 00322C24 48 00 0F CD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325CC8 00322C28 7C 60 1B 78 */ mr r0, r3 +/* 80325CCC 00322C2C 7F E3 FB 78 */ mr r3, r31 +/* 80325CD0 00322C30 7C 1E 03 78 */ mr r30, r0 +/* 80325CD4 00322C34 48 00 0F BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325CD8 00322C38 7C 60 1B 78 */ mr r0, r3 +/* 80325CDC 00322C3C 7F E3 FB 78 */ mr r3, r31 +/* 80325CE0 00322C40 7C 1F 03 78 */ mr r31, r0 +/* 80325CE4 00322C44 48 00 27 45 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325CE8 00322C48 7C 60 1B 78 */ mr r0, r3 +/* 80325CEC 00322C4C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325CF0 00322C50 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325CF4 00322C54 38 60 00 18 */ li r3, 0x18 +/* 80325CF8 00322C58 7C 1B 03 78 */ mr r27, r0 +/* 80325CFC 00322C5C 38 A0 00 00 */ li r5, 0 +/* 80325D00 00322C60 48 04 6D 85 */ bl __nw__FUlPCcPCc_0 +/* 80325D04 00322C64 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325D08 00322C68 41 82 00 20 */ beq lbl_80325D28 +/* 80325D0C 00322C6C 7F 84 E3 78 */ mr r4, r28 +/* 80325D10 00322C70 7F A5 EB 78 */ mr r5, r29 +/* 80325D14 00322C74 7F C6 F3 78 */ mr r6, r30 +/* 80325D18 00322C78 7F E7 FB 78 */ mr r7, r31 +/* 80325D1C 00322C7C 7F 68 DB 78 */ mr r8, r27 +/* 80325D20 00322C80 4B FF DF 4D */ bl __ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +/* 80325D24 00322C84 7C 60 1B 78 */ mr r0, r3 +lbl_80325D28: +/* 80325D28 00322C88 7C 1E 03 78 */ mr r30, r0 +/* 80325D2C 00322C8C 48 00 02 6C */ b lbl_80325F98 +lbl_80325D30: +/* 80325D30 00322C90 7F E3 FB 78 */ mr r3, r31 +/* 80325D34 00322C94 48 00 05 21 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325D38 00322C98 7C 60 1B 78 */ mr r0, r3 +/* 80325D3C 00322C9C 7F E3 FB 78 */ mr r3, r31 +/* 80325D40 00322CA0 7C 1B 03 78 */ mr r27, r0 +/* 80325D44 00322CA4 48 00 0F 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325D48 00322CA8 7C 60 1B 78 */ mr r0, r3 +/* 80325D4C 00322CAC 7F E3 FB 78 */ mr r3, r31 +/* 80325D50 00322CB0 7C 1C 03 78 */ mr r28, r0 +/* 80325D54 00322CB4 48 00 0F 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325D58 00322CB8 7C 60 1B 78 */ mr r0, r3 +/* 80325D5C 00322CBC 7F E3 FB 78 */ mr r3, r31 +/* 80325D60 00322CC0 7C 1D 03 78 */ mr r29, r0 +/* 80325D64 00322CC4 48 00 0F 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325D68 00322CC8 7C 60 1B 78 */ mr r0, r3 +/* 80325D6C 00322CCC 7F E3 FB 78 */ mr r3, r31 +/* 80325D70 00322CD0 7C 1E 03 78 */ mr r30, r0 +/* 80325D74 00322CD4 48 00 26 B5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325D78 00322CD8 7C 60 1B 78 */ mr r0, r3 +/* 80325D7C 00322CDC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325D80 00322CE0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325D84 00322CE4 38 60 00 18 */ li r3, 0x18 +/* 80325D88 00322CE8 7C 1F 03 78 */ mr r31, r0 +/* 80325D8C 00322CEC 38 A0 00 00 */ li r5, 0 +/* 80325D90 00322CF0 48 04 6C F5 */ bl __nw__FUlPCcPCc_0 +/* 80325D94 00322CF4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325D98 00322CF8 41 82 00 20 */ beq lbl_80325DB8 +/* 80325D9C 00322CFC 7F 64 DB 78 */ mr r4, r27 +/* 80325DA0 00322D00 7F 85 E3 78 */ mr r5, r28 +/* 80325DA4 00322D04 7F A6 EB 78 */ mr r6, r29 +/* 80325DA8 00322D08 7F C7 F3 78 */ mr r7, r30 +/* 80325DAC 00322D0C 7F E8 FB 78 */ mr r8, r31 +/* 80325DB0 00322D10 4B FF DB AD */ bl __ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +/* 80325DB4 00322D14 7C 60 1B 78 */ mr r0, r3 +lbl_80325DB8: +/* 80325DB8 00322D18 7C 1E 03 78 */ mr r30, r0 +/* 80325DBC 00322D1C 48 00 01 DC */ b lbl_80325F98 +lbl_80325DC0: +/* 80325DC0 00322D20 7F E3 FB 78 */ mr r3, r31 +/* 80325DC4 00322D24 48 00 04 91 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325DC8 00322D28 7C 60 1B 78 */ mr r0, r3 +/* 80325DCC 00322D2C 7F E3 FB 78 */ mr r3, r31 +/* 80325DD0 00322D30 7C 1B 03 78 */ mr r27, r0 +/* 80325DD4 00322D34 48 00 0E BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325DD8 00322D38 7C 60 1B 78 */ mr r0, r3 +/* 80325DDC 00322D3C 7F E3 FB 78 */ mr r3, r31 +/* 80325DE0 00322D40 7C 1C 03 78 */ mr r28, r0 +/* 80325DE4 00322D44 48 00 0E AD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325DE8 00322D48 7C 60 1B 78 */ mr r0, r3 +/* 80325DEC 00322D4C 7F E3 FB 78 */ mr r3, r31 +/* 80325DF0 00322D50 7C 1D 03 78 */ mr r29, r0 +/* 80325DF4 00322D54 48 00 0E 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325DF8 00322D58 7C 60 1B 78 */ mr r0, r3 +/* 80325DFC 00322D5C 7F E3 FB 78 */ mr r3, r31 +/* 80325E00 00322D60 7C 1E 03 78 */ mr r30, r0 +/* 80325E04 00322D64 48 00 26 25 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325E08 00322D68 7C 60 1B 78 */ mr r0, r3 +/* 80325E0C 00322D6C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325E10 00322D70 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325E14 00322D74 38 60 00 18 */ li r3, 0x18 +/* 80325E18 00322D78 7C 1F 03 78 */ mr r31, r0 +/* 80325E1C 00322D7C 38 A0 00 00 */ li r5, 0 +/* 80325E20 00322D80 48 04 6C 65 */ bl __nw__FUlPCcPCc_0 +/* 80325E24 00322D84 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325E28 00322D88 41 82 00 20 */ beq lbl_80325E48 +/* 80325E2C 00322D8C 7F 64 DB 78 */ mr r4, r27 +/* 80325E30 00322D90 7F 85 E3 78 */ mr r5, r28 +/* 80325E34 00322D94 7F A6 EB 78 */ mr r6, r29 +/* 80325E38 00322D98 7F C7 F3 78 */ mr r7, r30 +/* 80325E3C 00322D9C 7F E8 FB 78 */ mr r8, r31 +/* 80325E40 00322DA0 4B FF D8 25 */ bl __ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +/* 80325E44 00322DA4 7C 60 1B 78 */ mr r0, r3 +lbl_80325E48: +/* 80325E48 00322DA8 7C 1E 03 78 */ mr r30, r0 +/* 80325E4C 00322DAC 48 00 01 4C */ b lbl_80325F98 +lbl_80325E50: +/* 80325E50 00322DB0 7F E3 FB 78 */ mr r3, r31 +/* 80325E54 00322DB4 48 00 04 01 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325E58 00322DB8 7C 60 1B 78 */ mr r0, r3 +/* 80325E5C 00322DBC 7F E3 FB 78 */ mr r3, r31 +/* 80325E60 00322DC0 7C 1B 03 78 */ mr r27, r0 +/* 80325E64 00322DC4 48 00 03 F1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325E68 00322DC8 7C 60 1B 78 */ mr r0, r3 +/* 80325E6C 00322DCC 7F E3 FB 78 */ mr r3, r31 +/* 80325E70 00322DD0 7C 1C 03 78 */ mr r28, r0 +/* 80325E74 00322DD4 48 00 0E 1D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325E78 00322DD8 7C 60 1B 78 */ mr r0, r3 +/* 80325E7C 00322DDC 7F E3 FB 78 */ mr r3, r31 +/* 80325E80 00322DE0 7C 1D 03 78 */ mr r29, r0 +/* 80325E84 00322DE4 48 00 0E 0D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325E88 00322DE8 7C 60 1B 78 */ mr r0, r3 +/* 80325E8C 00322DEC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325E90 00322DF0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325E94 00322DF4 38 60 00 14 */ li r3, 0x14 +/* 80325E98 00322DF8 7C 1E 03 78 */ mr r30, r0 +/* 80325E9C 00322DFC 38 A0 00 00 */ li r5, 0 +/* 80325EA0 00322E00 48 04 6B E5 */ bl __nw__FUlPCcPCc_0 +/* 80325EA4 00322E04 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325EA8 00322E08 41 82 00 1C */ beq lbl_80325EC4 +/* 80325EAC 00322E0C 7F 64 DB 78 */ mr r4, r27 +/* 80325EB0 00322E10 7F 85 E3 78 */ mr r5, r28 +/* 80325EB4 00322E14 7F A6 EB 78 */ mr r6, r29 +/* 80325EB8 00322E18 7F C7 F3 78 */ mr r7, r30 +/* 80325EBC 00322E1C 4B FF D4 81 */ bl __ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement +/* 80325EC0 00322E20 7C 60 1B 78 */ mr r0, r3 +lbl_80325EC4: +/* 80325EC4 00322E24 7C 1E 03 78 */ mr r30, r0 +/* 80325EC8 00322E28 48 00 00 D0 */ b lbl_80325F98 +lbl_80325ECC: +/* 80325ECC 00322E2C 7F E3 FB 78 */ mr r3, r31 +/* 80325ED0 00322E30 48 00 03 85 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325ED4 00322E34 7C 60 1B 78 */ mr r0, r3 +/* 80325ED8 00322E38 7F E3 FB 78 */ mr r3, r31 +/* 80325EDC 00322E3C 7C 1B 03 78 */ mr r27, r0 +/* 80325EE0 00322E40 48 00 03 75 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325EE4 00322E44 7C 60 1B 78 */ mr r0, r3 +/* 80325EE8 00322E48 7F E3 FB 78 */ mr r3, r31 +/* 80325EEC 00322E4C 7C 1C 03 78 */ mr r28, r0 +/* 80325EF0 00322E50 48 00 0D A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325EF4 00322E54 7C 60 1B 78 */ mr r0, r3 +/* 80325EF8 00322E58 7F E3 FB 78 */ mr r3, r31 +/* 80325EFC 00322E5C 7C 1D 03 78 */ mr r29, r0 +/* 80325F00 00322E60 48 00 0D 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325F04 00322E64 7C 60 1B 78 */ mr r0, r3 +/* 80325F08 00322E68 7F E3 FB 78 */ mr r3, r31 +/* 80325F0C 00322E6C 7C 1E 03 78 */ mr r30, r0 +/* 80325F10 00322E70 48 00 25 19 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325F14 00322E74 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325F18 00322E78 7C 7F 1B 78 */ mr r31, r3 +/* 80325F1C 00322E7C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325F20 00322E80 38 60 00 28 */ li r3, 0x28 +/* 80325F24 00322E84 38 A0 00 00 */ li r5, 0 +/* 80325F28 00322E88 48 04 6B 5D */ bl __nw__FUlPCcPCc_0 +/* 80325F2C 00322E8C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325F30 00322E90 41 82 00 20 */ beq lbl_80325F50 +/* 80325F34 00322E94 7F 64 DB 78 */ mr r4, r27 +/* 80325F38 00322E98 7F 85 E3 78 */ mr r5, r28 +/* 80325F3C 00322E9C 7F A6 EB 78 */ mr r6, r29 +/* 80325F40 00322EA0 7F C7 F3 78 */ mr r7, r30 +/* 80325F44 00322EA4 57 E8 06 3E */ clrlwi r8, r31, 0x18 +/* 80325F48 00322EA8 4B FF CF 61 */ bl __ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb +/* 80325F4C 00322EAC 7C 60 1B 78 */ mr r0, r3 +lbl_80325F50: +/* 80325F50 00322EB0 7C 1E 03 78 */ mr r30, r0 +/* 80325F54 00322EB4 48 00 00 44 */ b lbl_80325F98 +lbl_80325F58: +/* 80325F58 00322EB8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325F5C 00322EBC 38 60 00 08 */ li r3, 8 +/* 80325F60 00322EC0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325F64 00322EC4 38 A0 00 00 */ li r5, 0 +/* 80325F68 00322EC8 48 04 6B 1D */ bl __nw__FUlPCcPCc_0 +/* 80325F6C 00322ECC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80325F70 00322ED0 41 82 00 28 */ beq lbl_80325F98 +/* 80325F74 00322ED4 7F E3 FB 78 */ mr r3, r31 +/* 80325F78 00322ED8 48 00 02 DD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325F7C 00322EDC 7C 64 1B 78 */ mr r4, r3 +/* 80325F80 00322EE0 7F C3 F3 78 */ mr r3, r30 +/* 80325F84 00322EE4 4B FF CB 49 */ bl __ct__15CMVESetPositionFP14CVectorElement +/* 80325F88 00322EE8 7C 7E 1B 78 */ mr r30, r3 +/* 80325F8C 00322EEC 48 00 00 0C */ b lbl_80325F98 +lbl_80325F90: +/* 80325F90 00322EF0 38 60 00 00 */ li r3, 0 +/* 80325F94 00322EF4 48 00 00 08 */ b lbl_80325F9C +lbl_80325F98: +/* 80325F98 00322EF8 7F C3 F3 78 */ mr r3, r30 +lbl_80325F9C: +/* 80325F9C 00322EFC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80325FA0 00322F00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80325FA4 00322F04 7C 08 03 A6 */ mtlr r0 +/* 80325FA8 00322F08 38 21 00 30 */ addi r1, r1, 0x30 +/* 80325FAC 00322F0C 4E 80 00 20 */ blr + +.global GetEmitterElement__20CParticleDataFactoryFR12CInputStream +GetEmitterElement__20CParticleDataFactoryFR12CInputStream: +/* 80325FB0 00322F10 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80325FB4 00322F14 7C 08 02 A6 */ mflr r0 +/* 80325FB8 00322F18 90 01 00 34 */ stw r0, 0x34(r1) +/* 80325FBC 00322F1C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80325FC0 00322F20 7C 7F 1B 78 */ mr r31, r3 +/* 80325FC4 00322F24 48 00 24 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80325FC8 00322F28 3C A0 53 45 */ lis r5, 0x53454D52@ha +/* 80325FCC 00322F2C 38 05 4D 52 */ addi r0, r5, 0x53454D52@l +/* 80325FD0 00322F30 7C 03 00 00 */ cmpw r3, r0 +/* 80325FD4 00322F34 41 82 00 F4 */ beq lbl_803260C8 +/* 80325FD8 00322F38 40 80 00 2C */ bge lbl_80326004 +/* 80325FDC 00322F3C 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80325FE0 00322F40 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80325FE4 00322F44 7C 03 00 00 */ cmpw r3, r0 +/* 80325FE8 00322F48 41 82 00 40 */ beq lbl_80326028 +/* 80325FEC 00322F4C 40 80 02 50 */ bge lbl_8032623C +/* 80325FF0 00322F50 3C 80 41 53 */ lis r4, 0x41535048@ha +/* 80325FF4 00322F54 38 04 50 48 */ addi r0, r4, 0x41535048@l +/* 80325FF8 00322F58 7C 03 00 00 */ cmpw r3, r0 +/* 80325FFC 00322F5C 41 82 01 88 */ beq lbl_80326184 +/* 80326000 00322F60 48 00 02 3C */ b lbl_8032623C +lbl_80326004: +/* 80326004 00322F64 3C 80 53 50 */ lis r4, 0x53504845@ha +/* 80326008 00322F68 38 04 48 45 */ addi r0, r4, 0x53504845@l +/* 8032600C 00322F6C 7C 03 00 00 */ cmpw r3, r0 +/* 80326010 00322F70 41 82 01 0C */ beq lbl_8032611C +/* 80326014 00322F74 40 80 02 28 */ bge lbl_8032623C +/* 80326018 00322F78 38 05 54 52 */ addi r0, r5, 0x5452 +/* 8032601C 00322F7C 7C 03 00 00 */ cmpw r3, r0 +/* 80326020 00322F80 41 82 00 10 */ beq lbl_80326030 +/* 80326024 00322F84 48 00 02 18 */ b lbl_8032623C +lbl_80326028: +/* 80326028 00322F88 38 60 00 00 */ li r3, 0 +/* 8032602C 00322F8C 48 00 02 14 */ b lbl_80326240 +lbl_80326030: +/* 80326030 00322F90 7F E3 FB 78 */ mr r3, r31 +/* 80326034 00322F94 48 00 24 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80326038 00322F98 3C 03 B6 B4 */ addis r0, r3, 0xb6b4 +/* 8032603C 00322F9C 3B C0 00 00 */ li r30, 0 +/* 80326040 00322FA0 28 00 4F 43 */ cmplwi r0, 0x4f43 +/* 80326044 00322FA4 3B A0 00 00 */ li r29, 0 +/* 80326048 00322FA8 3B 80 00 00 */ li r28, 0 +/* 8032604C 00322FAC 40 82 00 38 */ bne lbl_80326084 +/* 80326050 00322FB0 7F E3 FB 78 */ mr r3, r31 +/* 80326054 00322FB4 48 00 02 01 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326058 00322FB8 7C 60 1B 78 */ mr r0, r3 +/* 8032605C 00322FBC 7F E3 FB 78 */ mr r3, r31 +/* 80326060 00322FC0 7C 1E 03 78 */ mr r30, r0 +/* 80326064 00322FC4 48 00 23 F9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80326068 00322FC8 3C 03 B6 AA */ addis r0, r3, 0xb6aa +/* 8032606C 00322FCC 28 00 45 43 */ cmplwi r0, 0x4543 +/* 80326070 00322FD0 40 82 00 14 */ bne lbl_80326084 +/* 80326074 00322FD4 7F E3 FB 78 */ mr r3, r31 +/* 80326078 00322FD8 48 00 01 DD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032607C 00322FDC 3B 80 00 01 */ li r28, 1 +/* 80326080 00322FE0 7C 7D 1B 78 */ mr r29, r3 +lbl_80326084: +/* 80326084 00322FE4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80326088 00322FE8 41 82 00 34 */ beq lbl_803260BC +/* 8032608C 00322FEC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326090 00322FF0 38 60 00 0C */ li r3, 0xc +/* 80326094 00322FF4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326098 00322FF8 38 A0 00 00 */ li r5, 0 +/* 8032609C 00322FFC 48 04 69 E9 */ bl __nw__FUlPCcPCc_0 +/* 803260A0 00323000 7C 60 1B 79 */ or. r0, r3, r3 +/* 803260A4 00323004 41 82 00 1C */ beq lbl_803260C0 +/* 803260A8 00323008 7F C4 F3 78 */ mr r4, r30 +/* 803260AC 0032300C 7F A5 EB 78 */ mr r5, r29 +/* 803260B0 00323010 48 03 12 39 */ bl __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement +/* 803260B4 00323014 7C 60 1B 78 */ mr r0, r3 +/* 803260B8 00323018 48 00 00 08 */ b lbl_803260C0 +lbl_803260BC: +/* 803260BC 0032301C 38 00 00 00 */ li r0, 0 +lbl_803260C0: +/* 803260C0 00323020 7C 03 03 78 */ mr r3, r0 +/* 803260C4 00323024 48 00 01 7C */ b lbl_80326240 +lbl_803260C8: +/* 803260C8 00323028 7F E3 FB 78 */ mr r3, r31 +/* 803260CC 0032302C 48 00 01 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803260D0 00323030 7C 60 1B 78 */ mr r0, r3 +/* 803260D4 00323034 7F E3 FB 78 */ mr r3, r31 +/* 803260D8 00323038 7C 1C 03 78 */ mr r28, r0 +/* 803260DC 0032303C 48 00 01 79 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803260E0 00323040 7C 60 1B 78 */ mr r0, r3 +/* 803260E4 00323044 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803260E8 00323048 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803260EC 0032304C 38 60 00 0C */ li r3, 0xc +/* 803260F0 00323050 7C 1D 03 78 */ mr r29, r0 +/* 803260F4 00323054 38 A0 00 00 */ li r5, 0 +/* 803260F8 00323058 48 04 69 8D */ bl __nw__FUlPCcPCc_0 +/* 803260FC 0032305C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326100 00323060 41 82 00 14 */ beq lbl_80326114 +/* 80326104 00323064 7F 84 E3 78 */ mr r4, r28 +/* 80326108 00323068 7F A5 EB 78 */ mr r5, r29 +/* 8032610C 0032306C 48 03 11 DD */ bl __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement +/* 80326110 00323070 7C 60 1B 78 */ mr r0, r3 +lbl_80326114: +/* 80326114 00323074 7C 03 03 78 */ mr r3, r0 +/* 80326118 00323078 48 00 01 28 */ b lbl_80326240 +lbl_8032611C: +/* 8032611C 0032307C 7F E3 FB 78 */ mr r3, r31 +/* 80326120 00323080 48 00 01 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326124 00323084 7C 60 1B 78 */ mr r0, r3 +/* 80326128 00323088 7F E3 FB 78 */ mr r3, r31 +/* 8032612C 0032308C 7C 1C 03 78 */ mr r28, r0 +/* 80326130 00323090 48 00 0B 61 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326134 00323094 7C 60 1B 78 */ mr r0, r3 +/* 80326138 00323098 7F E3 FB 78 */ mr r3, r31 +/* 8032613C 0032309C 7C 1D 03 78 */ mr r29, r0 +/* 80326140 003230A0 48 00 0B 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326144 003230A4 7C 60 1B 78 */ mr r0, r3 +/* 80326148 003230A8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032614C 003230AC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326150 003230B0 38 60 00 10 */ li r3, 0x10 +/* 80326154 003230B4 7C 1E 03 78 */ mr r30, r0 +/* 80326158 003230B8 38 A0 00 00 */ li r5, 0 +/* 8032615C 003230BC 48 04 69 29 */ bl __nw__FUlPCcPCc_0 +/* 80326160 003230C0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326164 003230C4 41 82 00 18 */ beq lbl_8032617C +/* 80326168 003230C8 7F 84 E3 78 */ mr r4, r28 +/* 8032616C 003230CC 7F A5 EB 78 */ mr r5, r29 +/* 80326170 003230D0 7F C6 F3 78 */ mr r6, r30 +/* 80326174 003230D4 48 03 0F E5 */ bl __ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement +/* 80326178 003230D8 7C 60 1B 78 */ mr r0, r3 +lbl_8032617C: +/* 8032617C 003230DC 7C 03 03 78 */ mr r3, r0 +/* 80326180 003230E0 48 00 00 C0 */ b lbl_80326240 +lbl_80326184: +/* 80326184 003230E4 7F E3 FB 78 */ mr r3, r31 +/* 80326188 003230E8 48 00 00 CD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032618C 003230EC 7C 60 1B 78 */ mr r0, r3 +/* 80326190 003230F0 7F E3 FB 78 */ mr r3, r31 +/* 80326194 003230F4 7C 1C 03 78 */ mr r28, r0 +/* 80326198 003230F8 48 00 0A F9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032619C 003230FC 7C 60 1B 78 */ mr r0, r3 +/* 803261A0 00323100 7F E3 FB 78 */ mr r3, r31 +/* 803261A4 00323104 7C 1D 03 78 */ mr r29, r0 +/* 803261A8 00323108 48 00 0A E9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261AC 0032310C 7C 60 1B 78 */ mr r0, r3 +/* 803261B0 00323110 7F E3 FB 78 */ mr r3, r31 +/* 803261B4 00323114 7C 1E 03 78 */ mr r30, r0 +/* 803261B8 00323118 48 00 0A D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261BC 0032311C 7C 60 1B 78 */ mr r0, r3 +/* 803261C0 00323120 7F E3 FB 78 */ mr r3, r31 +/* 803261C4 00323124 7C 1B 03 78 */ mr r27, r0 +/* 803261C8 00323128 48 00 0A C9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261CC 0032312C 7C 60 1B 78 */ mr r0, r3 +/* 803261D0 00323130 7F E3 FB 78 */ mr r3, r31 +/* 803261D4 00323134 7C 1A 03 78 */ mr r26, r0 +/* 803261D8 00323138 48 00 0A B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261DC 0032313C 7C 60 1B 78 */ mr r0, r3 +/* 803261E0 00323140 7F E3 FB 78 */ mr r3, r31 +/* 803261E4 00323144 7C 1F 03 78 */ mr r31, r0 +/* 803261E8 00323148 48 00 0A A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261EC 0032314C 7C 60 1B 78 */ mr r0, r3 +/* 803261F0 00323150 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803261F4 00323154 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803261F8 00323158 38 60 00 20 */ li r3, 0x20 +/* 803261FC 0032315C 7C 19 03 78 */ mr r25, r0 +/* 80326200 00323160 38 A0 00 00 */ li r5, 0 +/* 80326204 00323164 48 04 68 81 */ bl __nw__FUlPCcPCc_0 +/* 80326208 00323168 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032620C 0032316C 41 82 00 28 */ beq lbl_80326234 +/* 80326210 00323170 7F 84 E3 78 */ mr r4, r28 +/* 80326214 00323174 7F E5 FB 78 */ mr r5, r31 +/* 80326218 00323178 7F 26 CB 78 */ mr r6, r25 +/* 8032621C 0032317C 7F A7 EB 78 */ mr r7, r29 +/* 80326220 00323180 7F C8 F3 78 */ mr r8, r30 +/* 80326224 00323184 7F 69 DB 78 */ mr r9, r27 +/* 80326228 00323188 7F 4A D3 78 */ mr r10, r26 +/* 8032622C 0032318C 48 03 0A D5 */ bl __ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80326230 00323190 7C 60 1B 78 */ mr r0, r3 +lbl_80326234: +/* 80326234 00323194 7C 03 03 78 */ mr r3, r0 +/* 80326238 00323198 48 00 00 08 */ b lbl_80326240 +lbl_8032623C: +/* 8032623C 0032319C 38 60 00 00 */ li r3, 0 +lbl_80326240: +/* 80326240 003231A0 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80326244 003231A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80326248 003231A8 7C 08 03 A6 */ mtlr r0 +/* 8032624C 003231AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80326250 003231B0 4E 80 00 20 */ blr + +.global GetVectorElement__20CParticleDataFactoryFR12CInputStream +GetVectorElement__20CParticleDataFactoryFR12CInputStream: +/* 80326254 003231B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80326258 003231B8 7C 08 02 A6 */ mflr r0 +/* 8032625C 003231BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80326260 003231C0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80326264 003231C4 7C 7F 1B 78 */ mr r31, r3 +/* 80326268 003231C8 48 00 21 F5 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032626C 003231CC 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80326270 003231D0 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80326274 003231D4 7C 03 00 00 */ cmpw r3, r0 +/* 80326278 003231D8 41 82 01 98 */ beq lbl_80326410 +/* 8032627C 003231DC 40 80 00 DC */ bge lbl_80326358 +/* 80326280 003231E0 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80326284 003231E4 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80326288 003231E8 7C 03 00 00 */ cmpw r3, r0 +/* 8032628C 003231EC 41 82 01 8C */ beq lbl_80326418 +/* 80326290 003231F0 40 80 00 68 */ bge lbl_803262F8 +/* 80326294 003231F4 3C 80 43 43 */ lis r4, 0x43434C55@ha +/* 80326298 003231F8 38 04 4C 55 */ addi r0, r4, 0x43434C55@l +/* 8032629C 003231FC 7C 03 00 00 */ cmpw r3, r0 +/* 803262A0 00323200 41 82 05 20 */ beq lbl_803267C0 +/* 803262A4 00323204 40 80 00 2C */ bge lbl_803262D0 +/* 803262A8 00323208 3C 80 41 4E */ lis r4, 0x414E4743@ha +/* 803262AC 0032320C 38 04 47 43 */ addi r0, r4, 0x414E4743@l +/* 803262B0 00323210 7C 03 00 00 */ cmpw r3, r0 +/* 803262B4 00323214 41 82 03 98 */ beq lbl_8032664C +/* 803262B8 00323218 40 80 09 C0 */ bge lbl_80326C78 +/* 803262BC 0032321C 3C 80 41 44 */ lis r4, 0x4144445F@ha +/* 803262C0 00323220 38 04 44 5F */ addi r0, r4, 0x4144445F@l +/* 803262C4 00323224 7C 03 00 00 */ cmpw r3, r0 +/* 803262C8 00323228 41 82 05 74 */ beq lbl_8032683C +/* 803262CC 0032322C 48 00 09 AC */ b lbl_80326C78 +lbl_803262D0: +/* 803262D0 00323230 3C 80 43 49 */ lis r4, 0x43495243@ha +/* 803262D4 00323234 38 04 52 43 */ addi r0, r4, 0x43495243@l +/* 803262D8 00323238 7C 03 00 00 */ cmpw r3, r0 +/* 803262DC 0032323C 41 82 04 54 */ beq lbl_80326730 +/* 803262E0 00323240 40 80 09 98 */ bge lbl_80326C78 +/* 803262E4 00323244 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 803262E8 00323248 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 803262EC 0032324C 7C 03 00 00 */ cmpw r3, r0 +/* 803262F0 00323250 41 82 05 F4 */ beq lbl_803268E4 +/* 803262F4 00323254 48 00 09 84 */ b lbl_80326C78 +lbl_803262F8: +/* 803262F8 00323258 3C A0 4B 45 */ lis r5, 0x4B455945@ha +/* 803262FC 0032325C 38 05 59 45 */ addi r0, r5, 0x4B455945@l +/* 80326300 00323260 7C 03 00 00 */ cmpw r3, r0 +/* 80326304 00323264 41 82 03 18 */ beq lbl_8032661C +/* 80326308 00323268 40 80 00 2C */ bge lbl_80326334 +/* 8032630C 0032326C 3C 80 43 54 */ lis r4, 0x43545643@ha +/* 80326310 00323270 38 04 56 43 */ addi r0, r4, 0x43545643@l +/* 80326314 00323274 7C 03 00 00 */ cmpw r3, r0 +/* 80326318 00323278 41 82 09 20 */ beq lbl_80326C38 +/* 8032631C 0032327C 40 80 09 5C */ bge lbl_80326C78 +/* 80326320 00323280 3C 80 43 4F */ lis r4, 0x434F4E45@ha +/* 80326324 00323284 38 04 4E 45 */ addi r0, r4, 0x434F4E45@l +/* 80326328 00323288 7C 03 00 00 */ cmpw r3, r0 +/* 8032632C 0032328C 41 82 03 B0 */ beq lbl_803266DC +/* 80326330 00323290 48 00 09 48 */ b lbl_80326C78 +lbl_80326334: +/* 80326334 00323294 3C 80 4D 55 */ lis r4, 0x4D554C54@ha +/* 80326338 00323298 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l +/* 8032633C 0032329C 7C 03 00 00 */ cmpw r3, r0 +/* 80326340 003232A0 41 82 05 50 */ beq lbl_80326890 +/* 80326344 003232A4 40 80 09 34 */ bge lbl_80326C78 +/* 80326348 003232A8 38 05 59 50 */ addi r0, r5, 0x5950 +/* 8032634C 003232AC 7C 03 00 00 */ cmpw r3, r0 +/* 80326350 003232B0 41 82 02 CC */ beq lbl_8032661C +/* 80326354 003232B4 48 00 09 24 */ b lbl_80326C78 +lbl_80326358: +/* 80326358 003232B8 3C 80 50 53 */ lis r4, 0x50535452@ha +/* 8032635C 003232BC 38 04 54 52 */ addi r0, r4, 0x50535452@l +/* 80326360 003232C0 7C 03 00 00 */ cmpw r3, r0 +/* 80326364 003232C4 41 82 08 3C */ beq lbl_80326BA0 +/* 80326368 003232C8 40 80 00 58 */ bge lbl_803263C0 +/* 8032636C 003232CC 38 04 4F 46 */ addi r0, r4, 0x4f46 +/* 80326370 003232D0 7C 03 00 00 */ cmpw r3, r0 +/* 80326374 003232D4 41 82 07 60 */ beq lbl_80326AD4 +/* 80326378 003232D8 40 80 00 28 */ bge lbl_803263A0 +/* 8032637C 003232DC 3C 80 50 4C */ lis r4, 0x504C4F43@ha +/* 80326380 003232E0 38 04 4F 43 */ addi r0, r4, 0x504C4F43@l +/* 80326384 003232E4 7C 03 00 00 */ cmpw r3, r0 +/* 80326388 003232E8 41 82 06 80 */ beq lbl_80326A08 +/* 8032638C 003232EC 40 80 08 EC */ bge lbl_80326C78 +/* 80326390 003232F0 38 04 43 4F */ addi r0, r4, 0x434f +/* 80326394 003232F4 7C 03 00 00 */ cmpw r3, r0 +/* 80326398 003232F8 41 82 06 B4 */ beq lbl_80326A4C +/* 8032639C 003232FC 48 00 08 DC */ b lbl_80326C78 +lbl_803263A0: +/* 803263A0 00323300 38 04 4F 55 */ addi r0, r4, 0x4f55 +/* 803263A4 00323304 7C 03 00 00 */ cmpw r3, r0 +/* 803263A8 00323308 41 82 07 70 */ beq lbl_80326B18 +/* 803263AC 0032330C 40 80 08 CC */ bge lbl_80326C78 +/* 803263B0 00323310 38 04 4F 52 */ addi r0, r4, 0x4f52 +/* 803263B4 00323314 7C 03 00 00 */ cmpw r3, r0 +/* 803263B8 00323318 41 82 07 A4 */ beq lbl_80326B5C +/* 803263BC 0032331C 48 00 08 BC */ b lbl_80326C78 +lbl_803263C0: +/* 803263C0 00323320 3C 80 52 54 */ lis r4, 0x52544F56@ha +/* 803263C4 00323324 38 04 4F 56 */ addi r0, r4, 0x52544F56@l +/* 803263C8 00323328 7C 03 00 00 */ cmpw r3, r0 +/* 803263CC 0032332C 41 82 05 FC */ beq lbl_803269C8 +/* 803263D0 00323330 40 80 00 2C */ bge lbl_803263FC +/* 803263D4 00323334 3C 80 50 56 */ lis r4, 0x5056454C@ha +/* 803263D8 00323338 38 04 45 4C */ addi r0, r4, 0x5056454C@l +/* 803263DC 0032333C 7C 03 00 00 */ cmpw r3, r0 +/* 803263E0 00323340 41 82 06 B0 */ beq lbl_80326A90 +/* 803263E4 00323344 40 80 08 94 */ bge lbl_80326C78 +/* 803263E8 00323348 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 803263EC 0032334C 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 803263F0 00323350 7C 03 00 00 */ cmpw r3, r0 +/* 803263F4 00323354 41 82 05 58 */ beq lbl_8032694C +/* 803263F8 00323358 48 00 08 80 */ b lbl_80326C78 +lbl_803263FC: +/* 803263FC 0032335C 3C 80 53 55 */ lis r4, 0x5355425F@ha +/* 80326400 00323360 38 04 42 5F */ addi r0, r4, 0x5355425F@l +/* 80326404 00323364 7C 03 00 00 */ cmpw r3, r0 +/* 80326408 00323368 41 82 07 DC */ beq lbl_80326BE4 +/* 8032640C 0032336C 48 00 08 6C */ b lbl_80326C78 +lbl_80326410: +/* 80326410 00323370 38 60 00 00 */ li r3, 0 +/* 80326414 00323374 48 00 08 68 */ b lbl_80326C7C +lbl_80326418: +/* 80326418 00323378 83 AD A8 C8 */ lwz r29, lbl_805A9488@sda21(r13) +/* 8032641C 0032337C 28 1D 00 00 */ cmplwi r29, 0 +/* 80326420 00323380 41 82 00 14 */ beq lbl_80326434 +/* 80326424 00323384 7F A3 EB 78 */ mr r3, r29 +/* 80326428 00323388 48 04 66 85 */ bl sub_8036caac +/* 8032642C 0032338C 7C 7E 1B 78 */ mr r30, r3 +/* 80326430 00323390 48 00 00 08 */ b lbl_80326438 +lbl_80326434: +/* 80326434 00323394 3B C0 00 00 */ li r30, 0 +lbl_80326438: +/* 80326438 00323398 7F E3 FB 78 */ mr r3, r31 +/* 8032643C 0032339C 48 00 08 55 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326440 003233A0 7C 60 1B 78 */ mr r0, r3 +/* 80326444 003233A4 7F E3 FB 78 */ mr r3, r31 +/* 80326448 003233A8 7C 1C 03 78 */ mr r28, r0 +/* 8032644C 003233AC 48 00 08 45 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326450 003233B0 7C 60 1B 78 */ mr r0, r3 +/* 80326454 003233B4 7F E3 FB 78 */ mr r3, r31 +/* 80326458 003233B8 7C 1F 03 78 */ mr r31, r0 +/* 8032645C 003233BC 48 00 08 35 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326460 003233C0 28 1C 00 00 */ cmplwi r28, 0 +/* 80326464 003233C4 7C 7B 1B 78 */ mr r27, r3 +/* 80326468 003233C8 41 82 01 7C */ beq lbl_803265E4 +/* 8032646C 003233CC 28 1F 00 00 */ cmplwi r31, 0 +/* 80326470 003233D0 41 82 01 74 */ beq lbl_803265E4 +/* 80326474 003233D4 28 1B 00 00 */ cmplwi r27, 0 +/* 80326478 003233D8 41 82 01 6C */ beq lbl_803265E4 +/* 8032647C 003233DC 7F 83 E3 78 */ mr r3, r28 +/* 80326480 003233E0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80326484 003233E4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80326488 003233E8 7D 89 03 A6 */ mtctr r12 +/* 8032648C 003233EC 4E 80 04 21 */ bctrl +/* 80326490 003233F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80326494 003233F4 41 82 01 50 */ beq lbl_803265E4 +/* 80326498 003233F8 7F E3 FB 78 */ mr r3, r31 +/* 8032649C 003233FC 81 9F 00 00 */ lwz r12, 0(r31) +/* 803264A0 00323400 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803264A4 00323404 7D 89 03 A6 */ mtctr r12 +/* 803264A8 00323408 4E 80 04 21 */ bctrl +/* 803264AC 0032340C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803264B0 00323410 41 82 01 34 */ beq lbl_803265E4 +/* 803264B4 00323414 7F 63 DB 78 */ mr r3, r27 +/* 803264B8 00323418 81 9B 00 00 */ lwz r12, 0(r27) +/* 803264BC 0032341C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803264C0 00323420 7D 89 03 A6 */ mtctr r12 +/* 803264C4 00323424 4E 80 04 21 */ bctrl +/* 803264C8 00323428 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803264CC 0032342C 41 82 01 18 */ beq lbl_803265E4 +/* 803264D0 00323430 7F 83 E3 78 */ mr r3, r28 +/* 803264D4 00323434 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803264D8 00323438 81 9C 00 00 */ lwz r12, 0(r28) +/* 803264DC 0032343C 38 80 00 00 */ li r4, 0 +/* 803264E0 00323440 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803264E4 00323444 7D 89 03 A6 */ mtctr r12 +/* 803264E8 00323448 4E 80 04 21 */ bctrl +/* 803264EC 0032344C 7F E3 FB 78 */ mr r3, r31 +/* 803264F0 00323450 38 A1 00 0C */ addi r5, r1, 0xc +/* 803264F4 00323454 81 9F 00 00 */ lwz r12, 0(r31) +/* 803264F8 00323458 38 80 00 00 */ li r4, 0 +/* 803264FC 0032345C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80326500 00323460 7D 89 03 A6 */ mtctr r12 +/* 80326504 00323464 4E 80 04 21 */ bctrl +/* 80326508 00323468 7F 63 DB 78 */ mr r3, r27 +/* 8032650C 0032346C 38 A1 00 08 */ addi r5, r1, 8 +/* 80326510 00323470 81 9B 00 00 */ lwz r12, 0(r27) +/* 80326514 00323474 38 80 00 00 */ li r4, 0 +/* 80326518 00323478 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032651C 0032347C 7D 89 03 A6 */ mtctr r12 +/* 80326520 00323480 4E 80 04 21 */ bctrl +/* 80326524 00323484 28 1C 00 00 */ cmplwi r28, 0 +/* 80326528 00323488 41 82 00 1C */ beq lbl_80326544 +/* 8032652C 0032348C 7F 83 E3 78 */ mr r3, r28 +/* 80326530 00323490 38 80 00 01 */ li r4, 1 +/* 80326534 00323494 81 9C 00 00 */ lwz r12, 0(r28) +/* 80326538 00323498 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032653C 0032349C 7D 89 03 A6 */ mtctr r12 +/* 80326540 003234A0 4E 80 04 21 */ bctrl +lbl_80326544: +/* 80326544 003234A4 28 1F 00 00 */ cmplwi r31, 0 +/* 80326548 003234A8 41 82 00 1C */ beq lbl_80326564 +/* 8032654C 003234AC 7F E3 FB 78 */ mr r3, r31 +/* 80326550 003234B0 38 80 00 01 */ li r4, 1 +/* 80326554 003234B4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80326558 003234B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032655C 003234BC 7D 89 03 A6 */ mtctr r12 +/* 80326560 003234C0 4E 80 04 21 */ bctrl +lbl_80326564: +/* 80326564 003234C4 28 1B 00 00 */ cmplwi r27, 0 +/* 80326568 003234C8 41 82 00 1C */ beq lbl_80326584 +/* 8032656C 003234CC 7F 63 DB 78 */ mr r3, r27 +/* 80326570 003234D0 38 80 00 01 */ li r4, 1 +/* 80326574 003234D4 81 9B 00 00 */ lwz r12, 0(r27) +/* 80326578 003234D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032657C 003234DC 7D 89 03 A6 */ mtctr r12 +/* 80326580 003234E0 4E 80 04 21 */ bctrl +lbl_80326584: +/* 80326584 003234E4 28 1D 00 00 */ cmplwi r29, 0 +/* 80326588 003234E8 41 82 00 24 */ beq lbl_803265AC +/* 8032658C 003234EC 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) +/* 80326590 003234F0 7C 1D 00 40 */ cmplw r29, r0 +/* 80326594 003234F4 40 82 00 18 */ bne lbl_803265AC +/* 80326598 003234F8 7F A3 EB 78 */ mr r3, r29 +/* 8032659C 003234FC 48 04 65 11 */ bl sub_8036caac +/* 803265A0 00323500 7C 9E 18 50 */ subf r4, r30, r3 +/* 803265A4 00323504 7F A3 EB 78 */ mr r3, r29 +/* 803265A8 00323508 48 04 65 11 */ bl sub_8036cab8 +lbl_803265AC: +/* 803265AC 0032350C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803265B0 00323510 38 60 00 10 */ li r3, 0x10 +/* 803265B4 00323514 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803265B8 00323518 38 A0 00 00 */ li r5, 0 +/* 803265BC 0032351C 48 04 64 C9 */ bl __nw__FUlPCcPCc_0 +/* 803265C0 00323520 7C 60 1B 79 */ or. r0, r3, r3 +/* 803265C4 00323524 41 82 00 18 */ beq lbl_803265DC +/* 803265C8 00323528 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 803265CC 0032352C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 803265D0 00323530 C0 61 00 08 */ lfs f3, 8(r1) +/* 803265D4 00323534 48 01 04 E5 */ bl __ct__15CVEFastConstantFfff +/* 803265D8 00323538 7C 60 1B 78 */ mr r0, r3 +lbl_803265DC: +/* 803265DC 0032353C 7C 03 03 78 */ mr r3, r0 +/* 803265E0 00323540 48 00 06 9C */ b lbl_80326C7C +lbl_803265E4: +/* 803265E4 00323544 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803265E8 00323548 38 60 00 10 */ li r3, 0x10 +/* 803265EC 0032354C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803265F0 00323550 38 A0 00 00 */ li r5, 0 +/* 803265F4 00323554 48 04 64 91 */ bl __nw__FUlPCcPCc_0 +/* 803265F8 00323558 7C 60 1B 79 */ or. r0, r3, r3 +/* 803265FC 0032355C 41 82 00 18 */ beq lbl_80326614 +/* 80326600 00323560 7F 84 E3 78 */ mr r4, r28 +/* 80326604 00323564 7F E5 FB 78 */ mr r5, r31 +/* 80326608 00323568 7F 66 DB 78 */ mr r6, r27 +/* 8032660C 0032356C 48 01 06 6D */ bl __ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement +/* 80326610 00323570 7C 60 1B 78 */ mr r0, r3 +lbl_80326614: +/* 80326614 00323574 7C 03 03 78 */ mr r3, r0 +/* 80326618 00323578 48 00 06 64 */ b lbl_80326C7C +lbl_8032661C: +/* 8032661C 0032357C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326620 00323580 38 60 00 28 */ li r3, 0x28 +/* 80326624 00323584 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326628 00323588 38 A0 00 00 */ li r5, 0 +/* 8032662C 0032358C 48 04 64 59 */ bl __nw__FUlPCcPCc_0 +/* 80326630 00323590 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326634 00323594 41 82 00 10 */ beq lbl_80326644 +/* 80326638 00323598 7F E4 FB 78 */ mr r4, r31 +/* 8032663C 0032359C 48 00 EA AD */ bl __ct__18CVEKeyframeEmitterFR12CInputStream +/* 80326640 003235A0 7C 60 1B 78 */ mr r0, r3 +lbl_80326644: +/* 80326644 003235A4 7C 03 03 78 */ mr r3, r0 +/* 80326648 003235A8 48 00 06 34 */ b lbl_80326C7C +lbl_8032664C: +/* 8032664C 003235AC 7F E3 FB 78 */ mr r3, r31 +/* 80326650 003235B0 48 00 06 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326654 003235B4 7C 60 1B 78 */ mr r0, r3 +/* 80326658 003235B8 7F E3 FB 78 */ mr r3, r31 +/* 8032665C 003235BC 7C 1B 03 78 */ mr r27, r0 +/* 80326660 003235C0 48 00 06 31 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326664 003235C4 7C 60 1B 78 */ mr r0, r3 +/* 80326668 003235C8 7F E3 FB 78 */ mr r3, r31 +/* 8032666C 003235CC 7C 1C 03 78 */ mr r28, r0 +/* 80326670 003235D0 48 00 06 21 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326674 003235D4 7C 60 1B 78 */ mr r0, r3 +/* 80326678 003235D8 7F E3 FB 78 */ mr r3, r31 +/* 8032667C 003235DC 7C 1D 03 78 */ mr r29, r0 +/* 80326680 003235E0 48 00 06 11 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326684 003235E4 7C 60 1B 78 */ mr r0, r3 +/* 80326688 003235E8 7F E3 FB 78 */ mr r3, r31 +/* 8032668C 003235EC 7C 1E 03 78 */ mr r30, r0 +/* 80326690 003235F0 48 00 06 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326694 003235F4 7C 60 1B 78 */ mr r0, r3 +/* 80326698 003235F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032669C 003235FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803266A0 00323600 38 60 00 18 */ li r3, 0x18 +/* 803266A4 00323604 7C 1F 03 78 */ mr r31, r0 +/* 803266A8 00323608 38 A0 00 00 */ li r5, 0 +/* 803266AC 0032360C 48 04 63 D9 */ bl __nw__FUlPCcPCc_0 +/* 803266B0 00323610 7C 60 1B 79 */ or. r0, r3, r3 +/* 803266B4 00323614 41 82 00 20 */ beq lbl_803266D4 +/* 803266B8 00323618 7F 64 DB 78 */ mr r4, r27 +/* 803266BC 0032361C 7F 85 E3 78 */ mr r5, r28 +/* 803266C0 00323620 7F A6 EB 78 */ mr r6, r29 +/* 803266C4 00323624 7F C7 F3 78 */ mr r7, r30 +/* 803266C8 00323628 7F E8 FB 78 */ mr r8, r31 +/* 803266CC 0032362C 48 00 FF 45 */ bl __ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 803266D0 00323630 7C 60 1B 78 */ mr r0, r3 +lbl_803266D4: +/* 803266D4 00323634 7C 03 03 78 */ mr r3, r0 +/* 803266D8 00323638 48 00 05 A4 */ b lbl_80326C7C +lbl_803266DC: +/* 803266DC 0032363C 7F E3 FB 78 */ mr r3, r31 +/* 803266E0 00323640 4B FF FB 75 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803266E4 00323644 7C 60 1B 78 */ mr r0, r3 +/* 803266E8 00323648 7F E3 FB 78 */ mr r3, r31 +/* 803266EC 0032364C 7C 1B 03 78 */ mr r27, r0 +/* 803266F0 00323650 48 00 05 A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803266F4 00323654 7C 60 1B 78 */ mr r0, r3 +/* 803266F8 00323658 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803266FC 0032365C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326700 00323660 38 60 00 24 */ li r3, 0x24 +/* 80326704 00323664 7C 1C 03 78 */ mr r28, r0 +/* 80326708 00323668 38 A0 00 00 */ li r5, 0 +/* 8032670C 0032366C 48 04 63 79 */ bl __nw__FUlPCcPCc_0 +/* 80326710 00323670 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326714 00323674 41 82 00 14 */ beq lbl_80326728 +/* 80326718 00323678 7F 64 DB 78 */ mr r4, r27 +/* 8032671C 0032367C 7F 85 E3 78 */ mr r5, r28 +/* 80326720 00323680 48 01 01 85 */ bl __ct__7CVEConeFP14CVectorElementP12CRealElement +/* 80326724 00323684 7C 60 1B 78 */ mr r0, r3 +lbl_80326728: +/* 80326728 00323688 7C 03 03 78 */ mr r3, r0 +/* 8032672C 0032368C 48 00 05 50 */ b lbl_80326C7C +lbl_80326730: +/* 80326730 00323690 7F E3 FB 78 */ mr r3, r31 +/* 80326734 00323694 4B FF FB 21 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326738 00323698 7C 60 1B 78 */ mr r0, r3 +/* 8032673C 0032369C 7F E3 FB 78 */ mr r3, r31 +/* 80326740 003236A0 7C 1B 03 78 */ mr r27, r0 +/* 80326744 003236A4 4B FF FB 11 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326748 003236A8 7C 60 1B 78 */ mr r0, r3 +/* 8032674C 003236AC 7F E3 FB 78 */ mr r3, r31 +/* 80326750 003236B0 7C 1C 03 78 */ mr r28, r0 +/* 80326754 003236B4 48 00 05 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326758 003236B8 7C 60 1B 78 */ mr r0, r3 +/* 8032675C 003236BC 7F E3 FB 78 */ mr r3, r31 +/* 80326760 003236C0 7C 1D 03 78 */ mr r29, r0 +/* 80326764 003236C4 48 00 05 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326768 003236C8 7C 60 1B 78 */ mr r0, r3 +/* 8032676C 003236CC 7F E3 FB 78 */ mr r3, r31 +/* 80326770 003236D0 7C 1E 03 78 */ mr r30, r0 +/* 80326774 003236D4 48 00 05 1D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326778 003236D8 7C 60 1B 78 */ mr r0, r3 +/* 8032677C 003236DC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326780 003236E0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326784 003236E4 38 60 00 2C */ li r3, 0x2c +/* 80326788 003236E8 7C 1F 03 78 */ mr r31, r0 +/* 8032678C 003236EC 38 A0 00 00 */ li r5, 0 +/* 80326790 003236F0 48 04 62 F5 */ bl __nw__FUlPCcPCc_0 +/* 80326794 003236F4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326798 003236F8 41 82 00 20 */ beq lbl_803267B8 +/* 8032679C 003236FC 7F 64 DB 78 */ mr r4, r27 +/* 803267A0 00323700 7F 85 E3 78 */ mr r5, r28 +/* 803267A4 00323704 7F A6 EB 78 */ mr r6, r29 +/* 803267A8 00323708 7F C7 F3 78 */ mr r7, r30 +/* 803267AC 0032370C 7F E8 FB 78 */ mr r8, r31 +/* 803267B0 00323710 48 00 F9 DD */ bl __ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement +/* 803267B4 00323714 7C 60 1B 78 */ mr r0, r3 +lbl_803267B8: +/* 803267B8 00323718 7C 03 03 78 */ mr r3, r0 +/* 803267BC 0032371C 48 00 04 C0 */ b lbl_80326C7C +lbl_803267C0: +/* 803267C0 00323720 7F E3 FB 78 */ mr r3, r31 +/* 803267C4 00323724 4B FF FA 91 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803267C8 00323728 7C 60 1B 78 */ mr r0, r3 +/* 803267CC 0032372C 7F E3 FB 78 */ mr r3, r31 +/* 803267D0 00323730 7C 1B 03 78 */ mr r27, r0 +/* 803267D4 00323734 4B FF FA 81 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803267D8 00323738 7C 60 1B 78 */ mr r0, r3 +/* 803267DC 0032373C 7F E3 FB 78 */ mr r3, r31 +/* 803267E0 00323740 7C 1C 03 78 */ mr r28, r0 +/* 803267E4 00323744 48 00 13 C1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803267E8 00323748 7C 60 1B 78 */ mr r0, r3 +/* 803267EC 0032374C 7F E3 FB 78 */ mr r3, r31 +/* 803267F0 00323750 7C 1D 03 78 */ mr r29, r0 +/* 803267F4 00323754 48 00 04 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803267F8 00323758 7C 60 1B 78 */ mr r0, r3 +/* 803267FC 0032375C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326800 00323760 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326804 00323764 38 60 00 28 */ li r3, 0x28 +/* 80326808 00323768 7C 1E 03 78 */ mr r30, r0 +/* 8032680C 0032376C 38 A0 00 00 */ li r5, 0 +/* 80326810 00323770 48 04 62 75 */ bl __nw__FUlPCcPCc_0 +/* 80326814 00323774 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326818 00323778 41 82 00 1C */ beq lbl_80326834 +/* 8032681C 0032377C 7F 64 DB 78 */ mr r4, r27 +/* 80326820 00323780 7F 85 E3 78 */ mr r5, r28 +/* 80326824 00323784 7F A6 EB 78 */ mr r6, r29 +/* 80326828 00323788 7F C7 F3 78 */ mr r7, r30 +/* 8032682C 0032378C 48 00 F2 51 */ bl __ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement +/* 80326830 00323790 7C 60 1B 78 */ mr r0, r3 +lbl_80326834: +/* 80326834 00323794 7C 03 03 78 */ mr r3, r0 +/* 80326838 00323798 48 00 04 44 */ b lbl_80326C7C +lbl_8032683C: +/* 8032683C 0032379C 7F E3 FB 78 */ mr r3, r31 +/* 80326840 003237A0 4B FF FA 15 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326844 003237A4 7C 60 1B 78 */ mr r0, r3 +/* 80326848 003237A8 7F E3 FB 78 */ mr r3, r31 +/* 8032684C 003237AC 7C 1B 03 78 */ mr r27, r0 +/* 80326850 003237B0 4B FF FA 05 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326854 003237B4 7C 60 1B 78 */ mr r0, r3 +/* 80326858 003237B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032685C 003237BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326860 003237C0 38 60 00 0C */ li r3, 0xc +/* 80326864 003237C4 7C 1C 03 78 */ mr r28, r0 +/* 80326868 003237C8 38 A0 00 00 */ li r5, 0 +/* 8032686C 003237CC 48 04 62 19 */ bl __nw__FUlPCcPCc_0 +/* 80326870 003237D0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326874 003237D4 41 82 00 14 */ beq lbl_80326888 +/* 80326878 003237D8 7F 64 DB 78 */ mr r4, r27 +/* 8032687C 003237DC 7F 85 E3 78 */ mr r5, r28 +/* 80326880 003237E0 48 00 EF 61 */ bl __ct__6CVEAddFP14CVectorElementP14CVectorElement +/* 80326884 003237E4 7C 60 1B 78 */ mr r0, r3 +lbl_80326888: +/* 80326888 003237E8 7C 03 03 78 */ mr r3, r0 +/* 8032688C 003237EC 48 00 03 F0 */ b lbl_80326C7C +lbl_80326890: +/* 80326890 003237F0 7F E3 FB 78 */ mr r3, r31 +/* 80326894 003237F4 4B FF F9 C1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326898 003237F8 7C 60 1B 78 */ mr r0, r3 +/* 8032689C 003237FC 7F E3 FB 78 */ mr r3, r31 +/* 803268A0 00323800 7C 1B 03 78 */ mr r27, r0 +/* 803268A4 00323804 4B FF F9 B1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803268A8 00323808 7C 60 1B 78 */ mr r0, r3 +/* 803268AC 0032380C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803268B0 00323810 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803268B4 00323814 38 60 00 0C */ li r3, 0xc +/* 803268B8 00323818 7C 1C 03 78 */ mr r28, r0 +/* 803268BC 0032381C 38 A0 00 00 */ li r5, 0 +/* 803268C0 00323820 48 04 61 C5 */ bl __nw__FUlPCcPCc_0 +/* 803268C4 00323824 7C 60 1B 79 */ or. r0, r3, r3 +/* 803268C8 00323828 41 82 00 14 */ beq lbl_803268DC +/* 803268CC 0032382C 7F 64 DB 78 */ mr r4, r27 +/* 803268D0 00323830 7F 85 E3 78 */ mr r5, r28 +/* 803268D4 00323834 48 00 ED 49 */ bl __ct__11CVEMultiplyFP14CVectorElementP14CVectorElement +/* 803268D8 00323838 7C 60 1B 78 */ mr r0, r3 +lbl_803268DC: +/* 803268DC 0032383C 7C 03 03 78 */ mr r3, r0 +/* 803268E0 00323840 48 00 03 9C */ b lbl_80326C7C +lbl_803268E4: +/* 803268E4 00323844 7F E3 FB 78 */ mr r3, r31 +/* 803268E8 00323848 4B FF F9 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803268EC 0032384C 7C 60 1B 78 */ mr r0, r3 +/* 803268F0 00323850 7F E3 FB 78 */ mr r3, r31 +/* 803268F4 00323854 7C 1B 03 78 */ mr r27, r0 +/* 803268F8 00323858 4B FF F9 5D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803268FC 0032385C 7C 60 1B 78 */ mr r0, r3 +/* 80326900 00323860 7F E3 FB 78 */ mr r3, r31 +/* 80326904 00323864 7C 1C 03 78 */ mr r28, r0 +/* 80326908 00323868 48 00 12 9D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032690C 0032386C 7C 60 1B 78 */ mr r0, r3 +/* 80326910 00323870 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326914 00323874 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326918 00323878 38 60 00 10 */ li r3, 0x10 +/* 8032691C 0032387C 7C 1D 03 78 */ mr r29, r0 +/* 80326920 00323880 38 A0 00 00 */ li r5, 0 +/* 80326924 00323884 48 04 61 61 */ bl __nw__FUlPCcPCc_0 +/* 80326928 00323888 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032692C 0032388C 41 82 00 18 */ beq lbl_80326944 +/* 80326930 00323890 7F 64 DB 78 */ mr r4, r27 +/* 80326934 00323894 7F 85 E3 78 */ mr r5, r28 +/* 80326938 00323898 7F A6 EB 78 */ mr r6, r29 +/* 8032693C 0032389C 48 00 F5 65 */ bl __ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement +/* 80326940 003238A0 7C 60 1B 78 */ mr r0, r3 +lbl_80326944: +/* 80326944 003238A4 7C 03 03 78 */ mr r3, r0 +/* 80326948 003238A8 48 00 03 34 */ b lbl_80326C7C +lbl_8032694C: +/* 8032694C 003238AC 7F E3 FB 78 */ mr r3, r31 +/* 80326950 003238B0 48 00 12 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80326954 003238B4 7C 60 1B 78 */ mr r0, r3 +/* 80326958 003238B8 7F E3 FB 78 */ mr r3, r31 +/* 8032695C 003238BC 7C 1B 03 78 */ mr r27, r0 +/* 80326960 003238C0 48 00 12 45 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80326964 003238C4 7C 60 1B 78 */ mr r0, r3 +/* 80326968 003238C8 7F E3 FB 78 */ mr r3, r31 +/* 8032696C 003238CC 7C 1C 03 78 */ mr r28, r0 +/* 80326970 003238D0 4B FF F8 E5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326974 003238D4 7C 60 1B 78 */ mr r0, r3 +/* 80326978 003238D8 7F E3 FB 78 */ mr r3, r31 +/* 8032697C 003238DC 7C 1D 03 78 */ mr r29, r0 +/* 80326980 003238E0 4B FF F8 D5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326984 003238E4 7C 60 1B 78 */ mr r0, r3 +/* 80326988 003238E8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032698C 003238EC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326990 003238F0 38 60 00 14 */ li r3, 0x14 +/* 80326994 003238F4 7C 1E 03 78 */ mr r30, r0 +/* 80326998 003238F8 38 A0 00 00 */ li r5, 0 +/* 8032699C 003238FC 48 04 60 E9 */ bl __nw__FUlPCcPCc_0 +/* 803269A0 00323900 7C 60 1B 79 */ or. r0, r3, r3 +/* 803269A4 00323904 41 82 00 1C */ beq lbl_803269C0 +/* 803269A8 00323908 7F 64 DB 78 */ mr r4, r27 +/* 803269AC 0032390C 7F 85 E3 78 */ mr r5, r28 +/* 803269B0 00323910 7F A6 EB 78 */ mr r6, r29 +/* 803269B4 00323914 7F C7 F3 78 */ mr r7, r30 +/* 803269B8 00323918 48 00 EA 99 */ bl __ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement +/* 803269BC 0032391C 7C 60 1B 78 */ mr r0, r3 +lbl_803269C0: +/* 803269C0 00323920 7C 03 03 78 */ mr r3, r0 +/* 803269C4 00323924 48 00 02 B8 */ b lbl_80326C7C +lbl_803269C8: +/* 803269C8 00323928 7F E3 FB 78 */ mr r3, r31 +/* 803269CC 0032392C 48 00 02 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803269D0 00323930 7C 60 1B 78 */ mr r0, r3 +/* 803269D4 00323934 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803269D8 00323938 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803269DC 0032393C 38 60 00 08 */ li r3, 8 +/* 803269E0 00323940 7C 1B 03 78 */ mr r27, r0 +/* 803269E4 00323944 38 A0 00 00 */ li r5, 0 +/* 803269E8 00323948 48 04 60 9D */ bl __nw__FUlPCcPCc_0 +/* 803269EC 0032394C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803269F0 00323950 41 82 00 10 */ beq lbl_80326A00 +/* 803269F4 00323954 7F 64 DB 78 */ mr r4, r27 +/* 803269F8 00323958 48 00 E4 7D */ bl __ct__15CVERealToVectorFP12CRealElement +/* 803269FC 0032395C 7C 60 1B 78 */ mr r0, r3 +lbl_80326A00: +/* 80326A00 00323960 7C 03 03 78 */ mr r3, r0 +/* 80326A04 00323964 48 00 02 78 */ b lbl_80326C7C +lbl_80326A08: +/* 80326A08 00323968 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326A0C 0032396C 38 60 00 04 */ li r3, 4 +/* 80326A10 00323970 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326A14 00323974 38 A0 00 00 */ li r5, 0 +/* 80326A18 00323978 48 04 60 6D */ bl __nw__FUlPCcPCc_0 +/* 80326A1C 0032397C 28 03 00 00 */ cmplwi r3, 0 +/* 80326A20 00323980 41 82 02 5C */ beq lbl_80326C7C +/* 80326A24 00323984 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326A28 00323988 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326A2C 0032398C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326A30 00323990 3C 80 80 3F */ lis r4, lbl_803EE1F0@ha +/* 80326A34 00323994 90 03 00 00 */ stw r0, 0(r3) +/* 80326A38 00323998 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326A3C 0032399C 38 04 E1 F0 */ addi r0, r4, lbl_803EE1F0@l +/* 80326A40 003239A0 90 A3 00 00 */ stw r5, 0(r3) +/* 80326A44 003239A4 90 03 00 00 */ stw r0, 0(r3) +/* 80326A48 003239A8 48 00 02 34 */ b lbl_80326C7C +lbl_80326A4C: +/* 80326A4C 003239AC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326A50 003239B0 38 60 00 04 */ li r3, 4 +/* 80326A54 003239B4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326A58 003239B8 38 A0 00 00 */ li r5, 0 +/* 80326A5C 003239BC 48 04 60 29 */ bl __nw__FUlPCcPCc_0 +/* 80326A60 003239C0 28 03 00 00 */ cmplwi r3, 0 +/* 80326A64 003239C4 41 82 02 18 */ beq lbl_80326C7C +/* 80326A68 003239C8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326A6C 003239CC 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326A70 003239D0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326A74 003239D4 3C 80 80 3F */ lis r4, lbl_803EE1DC@ha +/* 80326A78 003239D8 90 03 00 00 */ stw r0, 0(r3) +/* 80326A7C 003239DC 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326A80 003239E0 38 04 E1 DC */ addi r0, r4, lbl_803EE1DC@l +/* 80326A84 003239E4 90 A3 00 00 */ stw r5, 0(r3) +/* 80326A88 003239E8 90 03 00 00 */ stw r0, 0(r3) +/* 80326A8C 003239EC 48 00 01 F0 */ b lbl_80326C7C +lbl_80326A90: +/* 80326A90 003239F0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326A94 003239F4 38 60 00 04 */ li r3, 4 +/* 80326A98 003239F8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326A9C 003239FC 38 A0 00 00 */ li r5, 0 +/* 80326AA0 00323A00 48 04 5F E5 */ bl __nw__FUlPCcPCc_0 +/* 80326AA4 00323A04 28 03 00 00 */ cmplwi r3, 0 +/* 80326AA8 00323A08 41 82 01 D4 */ beq lbl_80326C7C +/* 80326AAC 00323A0C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326AB0 00323A10 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326AB4 00323A14 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326AB8 00323A18 3C 80 80 3F */ lis r4, lbl_803EE1C8@ha +/* 80326ABC 00323A1C 90 03 00 00 */ stw r0, 0(r3) +/* 80326AC0 00323A20 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326AC4 00323A24 38 04 E1 C8 */ addi r0, r4, lbl_803EE1C8@l +/* 80326AC8 00323A28 90 A3 00 00 */ stw r5, 0(r3) +/* 80326ACC 00323A2C 90 03 00 00 */ stw r0, 0(r3) +/* 80326AD0 00323A30 48 00 01 AC */ b lbl_80326C7C +lbl_80326AD4: +/* 80326AD4 00323A34 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326AD8 00323A38 38 60 00 04 */ li r3, 4 +/* 80326ADC 00323A3C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326AE0 00323A40 38 A0 00 00 */ li r5, 0 +/* 80326AE4 00323A44 48 04 5F A1 */ bl __nw__FUlPCcPCc_0 +/* 80326AE8 00323A48 28 03 00 00 */ cmplwi r3, 0 +/* 80326AEC 00323A4C 41 82 01 90 */ beq lbl_80326C7C +/* 80326AF0 00323A50 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326AF4 00323A54 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326AF8 00323A58 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326AFC 00323A5C 3C 80 80 3F */ lis r4, lbl_803EE1B4@ha +/* 80326B00 00323A60 90 03 00 00 */ stw r0, 0(r3) +/* 80326B04 00323A64 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326B08 00323A68 38 04 E1 B4 */ addi r0, r4, lbl_803EE1B4@l +/* 80326B0C 00323A6C 90 A3 00 00 */ stw r5, 0(r3) +/* 80326B10 00323A70 90 03 00 00 */ stw r0, 0(r3) +/* 80326B14 00323A74 48 00 01 68 */ b lbl_80326C7C +lbl_80326B18: +/* 80326B18 00323A78 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326B1C 00323A7C 38 60 00 04 */ li r3, 4 +/* 80326B20 00323A80 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326B24 00323A84 38 A0 00 00 */ li r5, 0 +/* 80326B28 00323A88 48 04 5F 5D */ bl __nw__FUlPCcPCc_0 +/* 80326B2C 00323A8C 28 03 00 00 */ cmplwi r3, 0 +/* 80326B30 00323A90 41 82 01 4C */ beq lbl_80326C7C +/* 80326B34 00323A94 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326B38 00323A98 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326B3C 00323A9C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326B40 00323AA0 3C 80 80 3F */ lis r4, lbl_803EE1A0@ha +/* 80326B44 00323AA4 90 03 00 00 */ stw r0, 0(r3) +/* 80326B48 00323AA8 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326B4C 00323AAC 38 04 E1 A0 */ addi r0, r4, lbl_803EE1A0@l +/* 80326B50 00323AB0 90 A3 00 00 */ stw r5, 0(r3) +/* 80326B54 00323AB4 90 03 00 00 */ stw r0, 0(r3) +/* 80326B58 00323AB8 48 00 01 24 */ b lbl_80326C7C +lbl_80326B5C: +/* 80326B5C 00323ABC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326B60 00323AC0 38 60 00 04 */ li r3, 4 +/* 80326B64 00323AC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326B68 00323AC8 38 A0 00 00 */ li r5, 0 +/* 80326B6C 00323ACC 48 04 5F 19 */ bl __nw__FUlPCcPCc_0 +/* 80326B70 00323AD0 28 03 00 00 */ cmplwi r3, 0 +/* 80326B74 00323AD4 41 82 01 08 */ beq lbl_80326C7C +/* 80326B78 00323AD8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326B7C 00323ADC 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326B80 00323AE0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326B84 00323AE4 3C 80 80 3F */ lis r4, lbl_803EE18C@ha +/* 80326B88 00323AE8 90 03 00 00 */ stw r0, 0(r3) +/* 80326B8C 00323AEC 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326B90 00323AF0 38 04 E1 8C */ addi r0, r4, lbl_803EE18C@l +/* 80326B94 00323AF4 90 A3 00 00 */ stw r5, 0(r3) +/* 80326B98 00323AF8 90 03 00 00 */ stw r0, 0(r3) +/* 80326B9C 00323AFC 48 00 00 E0 */ b lbl_80326C7C +lbl_80326BA0: +/* 80326BA0 00323B00 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326BA4 00323B04 38 60 00 04 */ li r3, 4 +/* 80326BA8 00323B08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326BAC 00323B0C 38 A0 00 00 */ li r5, 0 +/* 80326BB0 00323B10 48 04 5E D5 */ bl __nw__FUlPCcPCc_0 +/* 80326BB4 00323B14 28 03 00 00 */ cmplwi r3, 0 +/* 80326BB8 00323B18 41 82 00 C4 */ beq lbl_80326C7C +/* 80326BBC 00323B1C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326BC0 00323B20 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326BC4 00323B24 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326BC8 00323B28 3C 80 80 3F */ lis r4, lbl_803EE178@ha +/* 80326BCC 00323B2C 90 03 00 00 */ stw r0, 0(r3) +/* 80326BD0 00323B30 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326BD4 00323B34 38 04 E1 78 */ addi r0, r4, lbl_803EE178@l +/* 80326BD8 00323B38 90 A3 00 00 */ stw r5, 0(r3) +/* 80326BDC 00323B3C 90 03 00 00 */ stw r0, 0(r3) +/* 80326BE0 00323B40 48 00 00 9C */ b lbl_80326C7C +lbl_80326BE4: +/* 80326BE4 00323B44 7F E3 FB 78 */ mr r3, r31 +/* 80326BE8 00323B48 4B FF F6 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326BEC 00323B4C 7C 60 1B 78 */ mr r0, r3 +/* 80326BF0 00323B50 7F E3 FB 78 */ mr r3, r31 +/* 80326BF4 00323B54 7C 1B 03 78 */ mr r27, r0 +/* 80326BF8 00323B58 4B FF F6 5D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326BFC 00323B5C 7C 60 1B 78 */ mr r0, r3 +/* 80326C00 00323B60 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326C04 00323B64 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326C08 00323B68 38 60 00 0C */ li r3, 0xc +/* 80326C0C 00323B6C 7C 1C 03 78 */ mr r28, r0 +/* 80326C10 00323B70 38 A0 00 00 */ li r5, 0 +/* 80326C14 00323B74 48 04 5E 71 */ bl __nw__FUlPCcPCc_0 +/* 80326C18 00323B78 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326C1C 00323B7C 41 82 00 14 */ beq lbl_80326C30 +/* 80326C20 00323B80 7F 64 DB 78 */ mr r4, r27 +/* 80326C24 00323B84 7F 85 E3 78 */ mr r5, r28 +/* 80326C28 00323B88 48 00 DF 45 */ bl __ct__10CVESubractFP14CVectorElementP14CVectorElement +/* 80326C2C 00323B8C 7C 60 1B 78 */ mr r0, r3 +lbl_80326C30: +/* 80326C30 00323B90 7C 03 03 78 */ mr r3, r0 +/* 80326C34 00323B94 48 00 00 48 */ b lbl_80326C7C +lbl_80326C38: +/* 80326C38 00323B98 7F E3 FB 78 */ mr r3, r31 +/* 80326C3C 00323B9C 4B FF E6 21 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80326C40 00323BA0 7C 60 1B 78 */ mr r0, r3 +/* 80326C44 00323BA4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326C48 00323BA8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326C4C 00323BAC 38 60 00 08 */ li r3, 8 +/* 80326C50 00323BB0 7C 1B 03 78 */ mr r27, r0 +/* 80326C54 00323BB4 38 A0 00 00 */ li r5, 0 +/* 80326C58 00323BB8 48 04 5E 2D */ bl __nw__FUlPCcPCc_0 +/* 80326C5C 00323BBC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326C60 00323BC0 41 82 00 10 */ beq lbl_80326C70 +/* 80326C64 00323BC4 7F 64 DB 78 */ mr r4, r27 +/* 80326C68 00323BC8 48 00 DD 45 */ bl __ct__7CVECTVCFP13CColorElement +/* 80326C6C 00323BCC 7C 60 1B 78 */ mr r0, r3 +lbl_80326C70: +/* 80326C70 00323BD0 7C 03 03 78 */ mr r3, r0 +/* 80326C74 00323BD4 48 00 00 08 */ b lbl_80326C7C +lbl_80326C78: +/* 80326C78 00323BD8 38 60 00 00 */ li r3, 0 +lbl_80326C7C: +/* 80326C7C 00323BDC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80326C80 00323BE0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80326C84 00323BE4 7C 08 03 A6 */ mtlr r0 +/* 80326C88 00323BE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80326C8C 00323BEC 4E 80 00 20 */ blr + +.global GetRealElement__20CParticleDataFactoryFR12CInputStream +GetRealElement__20CParticleDataFactoryFR12CInputStream: +/* 80326C90 00323BF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80326C94 00323BF4 7C 08 02 A6 */ mflr r0 +/* 80326C98 00323BF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80326C9C 00323BFC BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80326CA0 00323C00 7C 7F 1B 78 */ mr r31, r3 +/* 80326CA4 00323C04 48 00 17 B9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80326CA8 00323C08 3C 80 4D 55 */ lis r4, 0x4D554C54@ha +/* 80326CAC 00323C0C 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l +/* 80326CB0 00323C10 7C 03 00 00 */ cmpw r3, r0 +/* 80326CB4 00323C14 41 82 04 3C */ beq lbl_803270F0 +/* 80326CB8 00323C18 40 80 01 68 */ bge lbl_80326E20 +/* 80326CBC 00323C1C 3C A0 47 54 */ lis r5, 0x47544341@ha +/* 80326CC0 00323C20 38 05 43 41 */ addi r0, r5, 0x47544341@l +/* 80326CC4 00323C24 7C 03 00 00 */ cmpw r3, r0 +/* 80326CC8 00323C28 41 82 0E 84 */ beq lbl_80327B4C +/* 80326CCC 00323C2C 40 80 00 B0 */ bge lbl_80326D7C +/* 80326CD0 00323C30 3C A0 43 4C */ lis r5, 0x434C4D50@ha +/* 80326CD4 00323C34 38 05 4D 50 */ addi r0, r5, 0x434C4D50@l +/* 80326CD8 00323C38 7C 03 00 00 */ cmpw r3, r0 +/* 80326CDC 00323C3C 41 82 05 CC */ beq lbl_803272A8 +/* 80326CE0 00323C40 40 80 00 50 */ bge lbl_80326D30 +/* 80326CE4 00323C44 3C 80 43 45 */ lis r4, 0x43455854@ha +/* 80326CE8 00323C48 38 04 58 54 */ addi r0, r4, 0x43455854@l +/* 80326CEC 00323C4C 7C 03 00 00 */ cmpw r3, r0 +/* 80326CF0 00323C50 41 82 0C B4 */ beq lbl_803279A4 +/* 80326CF4 00323C54 40 80 00 28 */ bge lbl_80326D1C +/* 80326CF8 00323C58 38 04 51 4C */ addi r0, r4, 0x514c +/* 80326CFC 00323C5C 7C 03 00 00 */ cmpw r3, r0 +/* 80326D00 00323C60 41 82 0B 98 */ beq lbl_80327898 +/* 80326D04 00323C64 40 80 0E 88 */ bge lbl_80327B8C +/* 80326D08 00323C68 3C 80 41 44 */ lis r4, 0x4144445F@ha +/* 80326D0C 00323C6C 38 04 44 5F */ addi r0, r4, 0x4144445F@l +/* 80326D10 00323C70 7C 03 00 00 */ cmpw r3, r0 +/* 80326D14 00323C74 41 82 03 88 */ beq lbl_8032709C +/* 80326D18 00323C78 48 00 0E 74 */ b lbl_80327B8C +lbl_80326D1C: +/* 80326D1C 00323C7C 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 80326D20 00323C80 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 80326D24 00323C84 7C 03 00 00 */ cmpw r3, r0 +/* 80326D28 00323C88 41 82 05 18 */ beq lbl_80327240 +/* 80326D2C 00323C8C 48 00 0E 60 */ b lbl_80327B8C +lbl_80326D30: +/* 80326D30 00323C90 3C 80 43 52 */ lis r4, 0x43524E47@ha +/* 80326D34 00323C94 38 04 4E 47 */ addi r0, r4, 0x43524E47@l +/* 80326D38 00323C98 7C 03 00 00 */ cmpw r3, r0 +/* 80326D3C 00323C9C 41 82 0B D8 */ beq lbl_80327914 +/* 80326D40 00323CA0 40 80 00 28 */ bge lbl_80326D68 +/* 80326D44 00323CA4 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80326D48 00323CA8 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80326D4C 00323CAC 7C 03 00 00 */ cmpw r3, r0 +/* 80326D50 00323CB0 41 82 02 38 */ beq lbl_80326F88 +/* 80326D54 00323CB4 40 80 0E 38 */ bge lbl_80327B8C +/* 80326D58 00323CB8 38 05 54 4E */ addi r0, r5, 0x544e +/* 80326D5C 00323CBC 7C 03 00 00 */ cmpw r3, r0 +/* 80326D60 00323CC0 41 82 0A BC */ beq lbl_8032781C +/* 80326D64 00323CC4 48 00 0E 28 */ b lbl_80327B8C +lbl_80326D68: +/* 80326D68 00323CC8 3C 80 44 4F */ lis r4, 0x444F5450@ha +/* 80326D6C 00323CCC 38 04 54 50 */ addi r0, r4, 0x444F5450@l +/* 80326D70 00323CD0 7C 03 00 00 */ cmpw r3, r0 +/* 80326D74 00323CD4 41 82 03 D0 */ beq lbl_80327144 +/* 80326D78 00323CD8 48 00 0E 14 */ b lbl_80327B8C +lbl_80326D7C: +/* 80326D7C 00323CDC 3C 80 49 53 */ lis r4, 0x49535754@ha +/* 80326D80 00323CE0 38 04 57 54 */ addi r0, r4, 0x49535754@l +/* 80326D84 00323CE4 7C 03 00 00 */ cmpw r3, r0 +/* 80326D88 00323CE8 41 82 0A 40 */ beq lbl_803277C8 +/* 80326D8C 00323CEC 40 80 00 48 */ bge lbl_80326DD4 +/* 80326D90 00323CF0 38 05 43 52 */ addi r0, r5, 0x4352 +/* 80326D94 00323CF4 7C 03 00 00 */ cmpw r3, r0 +/* 80326D98 00323CF8 41 82 0C F4 */ beq lbl_80327A8C +/* 80326D9C 00323CFC 40 80 00 24 */ bge lbl_80326DC0 +/* 80326DA0 00323D00 38 05 43 47 */ addi r0, r5, 0x4347 +/* 80326DA4 00323D04 7C 03 00 00 */ cmpw r3, r0 +/* 80326DA8 00323D08 41 82 0D 24 */ beq lbl_80327ACC +/* 80326DAC 00323D0C 40 80 0D E0 */ bge lbl_80327B8C +/* 80326DB0 00323D10 38 05 43 43 */ addi r0, r5, 0x4343 +/* 80326DB4 00323D14 7C 03 00 00 */ cmpw r3, r0 +/* 80326DB8 00323D18 40 80 0D D4 */ bge lbl_80327B8C +/* 80326DBC 00323D1C 48 00 0D 50 */ b lbl_80327B0C +lbl_80326DC0: +/* 80326DC0 00323D20 3C 80 49 52 */ lis r4, 0x49524E44@ha +/* 80326DC4 00323D24 38 04 4E 44 */ addi r0, r4, 0x49524E44@l +/* 80326DC8 00323D28 7C 03 00 00 */ cmpw r3, r0 +/* 80326DCC 00323D2C 41 82 04 20 */ beq lbl_803271EC +/* 80326DD0 00323D30 48 00 0D BC */ b lbl_80327B8C +lbl_80326DD4: +/* 80326DD4 00323D34 3C 80 4B 45 */ lis r4, 0x4B455950@ha +/* 80326DD8 00323D38 38 04 59 50 */ addi r0, r4, 0x4B455950@l +/* 80326DDC 00323D3C 7C 03 00 00 */ cmpw r3, r0 +/* 80326DE0 00323D40 41 82 01 E8 */ beq lbl_80326FC8 +/* 80326DE4 00323D44 40 80 00 28 */ bge lbl_80326E0C +/* 80326DE8 00323D48 38 04 59 45 */ addi r0, r4, 0x5945 +/* 80326DEC 00323D4C 7C 03 00 00 */ cmpw r3, r0 +/* 80326DF0 00323D50 41 82 01 D8 */ beq lbl_80326FC8 +/* 80326DF4 00323D54 40 80 0D 98 */ bge lbl_80327B8C +/* 80326DF8 00323D58 3C 80 49 54 */ lis r4, 0x4954524C@ha +/* 80326DFC 00323D5C 38 04 52 4C */ addi r0, r4, 0x4954524C@l +/* 80326E00 00323D60 7C 03 00 00 */ cmpw r3, r0 +/* 80326E04 00323D64 41 82 0B E0 */ beq lbl_803279E4 +/* 80326E08 00323D68 48 00 0D 84 */ b lbl_80327B8C +lbl_80326E0C: +/* 80326E0C 00323D6C 3C 80 4C 46 */ lis r4, 0x4C465457@ha +/* 80326E10 00323D70 38 04 54 57 */ addi r0, r4, 0x4C465457@l +/* 80326E14 00323D74 7C 03 00 00 */ cmpw r3, r0 +/* 80326E18 00323D78 41 82 05 B4 */ beq lbl_803273CC +/* 80326E1C 00323D7C 48 00 0D 70 */ b lbl_80327B8C +lbl_80326E20: +/* 80326E20 00323D80 3C 80 52 41 */ lis r4, 0x52414E44@ha +/* 80326E24 00323D84 38 04 4E 44 */ addi r0, r4, 0x52414E44@l +/* 80326E28 00323D88 7C 03 00 00 */ cmpw r3, r0 +/* 80326E2C 00323D8C 41 82 03 6C */ beq lbl_80327198 +/* 80326E30 00323D90 40 80 00 B8 */ bge lbl_80326EE8 +/* 80326E34 00323D94 3C A0 50 41 */ lis r5, 0x50415037@ha +/* 80326E38 00323D98 38 05 50 37 */ addi r0, r5, 0x50415037@l +/* 80326E3C 00323D9C 7C 03 00 00 */ cmpw r3, r0 +/* 80326E40 00323DA0 41 82 08 00 */ beq lbl_80327640 +/* 80326E44 00323DA4 40 80 00 58 */ bge lbl_80326E9C +/* 80326E48 00323DA8 38 05 50 32 */ addi r0, r5, 0x5032 +/* 80326E4C 00323DAC 7C 03 00 00 */ cmpw r3, r0 +/* 80326E50 00323DB0 41 82 06 9C */ beq lbl_803274EC +/* 80326E54 00323DB4 40 80 00 28 */ bge lbl_80326E7C +/* 80326E58 00323DB8 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80326E5C 00323DBC 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80326E60 00323DC0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E64 00323DC4 41 82 01 5C */ beq lbl_80326FC0 +/* 80326E68 00323DC8 41 80 0D 24 */ blt lbl_80327B8C +/* 80326E6C 00323DCC 38 05 50 31 */ addi r0, r5, 0x5031 +/* 80326E70 00323DD0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E74 00323DD4 40 80 06 34 */ bge lbl_803274A8 +/* 80326E78 00323DD8 48 00 0D 14 */ b lbl_80327B8C +lbl_80326E7C: +/* 80326E7C 00323DDC 38 05 50 35 */ addi r0, r5, 0x5035 +/* 80326E80 00323DE0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E84 00323DE4 41 82 07 34 */ beq lbl_803275B8 +/* 80326E88 00323DE8 40 80 07 74 */ bge lbl_803275FC +/* 80326E8C 00323DEC 38 05 50 34 */ addi r0, r5, 0x5034 +/* 80326E90 00323DF0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E94 00323DF4 40 80 06 E0 */ bge lbl_80327574 +/* 80326E98 00323DF8 48 00 06 98 */ b lbl_80327530 +lbl_80326E9C: +/* 80326E9C 00323DFC 3C 80 50 53 */ lis r4, 0x50534C4C@ha +/* 80326EA0 00323E00 38 04 4C 4C */ addi r0, r4, 0x50534C4C@l +/* 80326EA4 00323E04 7C 03 00 00 */ cmpw r3, r0 +/* 80326EA8 00323E08 41 82 05 BC */ beq lbl_80327464 +/* 80326EAC 00323E0C 40 80 00 28 */ bge lbl_80326ED4 +/* 80326EB0 00323E10 3C 80 50 52 */ lis r4, 0x50524C57@ha +/* 80326EB4 00323E14 38 04 4C 57 */ addi r0, r4, 0x50524C57@l +/* 80326EB8 00323E18 7C 03 00 00 */ cmpw r3, r0 +/* 80326EBC 00323E1C 41 82 05 64 */ beq lbl_80327420 +/* 80326EC0 00323E20 40 80 0C CC */ bge lbl_80327B8C +/* 80326EC4 00323E24 38 05 50 39 */ addi r0, r5, 0x5039 +/* 80326EC8 00323E28 7C 03 00 00 */ cmpw r3, r0 +/* 80326ECC 00323E2C 40 80 0C C0 */ bge lbl_80327B8C +/* 80326ED0 00323E30 48 00 07 B4 */ b lbl_80327684 +lbl_80326ED4: +/* 80326ED4 00323E34 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 80326ED8 00323E38 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 80326EDC 00323E3C 7C 03 00 00 */ cmpw r3, r0 +/* 80326EE0 00323E40 41 82 04 30 */ beq lbl_80327310 +/* 80326EE4 00323E44 48 00 0C A8 */ b lbl_80327B8C +lbl_80326EE8: +/* 80326EE8 00323E48 3C 80 56 4D */ lis r4, 0x564D4147@ha +/* 80326EEC 00323E4C 38 04 41 47 */ addi r0, r4, 0x564D4147@l +/* 80326EF0 00323E50 7C 03 00 00 */ cmpw r3, r0 +/* 80326EF4 00323E54 41 82 08 94 */ beq lbl_80327788 +/* 80326EF8 00323E58 40 80 00 54 */ bge lbl_80326F4C +/* 80326EFC 00323E5C 3C 80 53 49 */ lis r4, 0x53494E45@ha +/* 80326F00 00323E60 38 04 4E 45 */ addi r0, r4, 0x53494E45@l +/* 80326F04 00323E64 7C 03 00 00 */ cmpw r3, r0 +/* 80326F08 00323E68 41 82 01 2C */ beq lbl_80327034 +/* 80326F0C 00323E6C 40 80 00 2C */ bge lbl_80326F38 +/* 80326F10 00323E70 3C 80 53 43 */ lis r4, 0x5343414C@ha +/* 80326F14 00323E74 38 04 41 4C */ addi r0, r4, 0x5343414C@l +/* 80326F18 00323E78 7C 03 00 00 */ cmpw r3, r0 +/* 80326F1C 00323E7C 41 82 00 DC */ beq lbl_80326FF8 +/* 80326F20 00323E80 40 80 0C 6C */ bge lbl_80327B8C +/* 80326F24 00323E84 3C 80 52 4C */ lis r4, 0x524C5054@ha +/* 80326F28 00323E88 38 04 50 54 */ addi r0, r4, 0x524C5054@l +/* 80326F2C 00323E8C 7C 03 00 00 */ cmpw r3, r0 +/* 80326F30 00323E90 41 82 04 5C */ beq lbl_8032738C +/* 80326F34 00323E94 48 00 0C 58 */ b lbl_80327B8C +lbl_80326F38: +/* 80326F38 00323E98 3C 80 53 55 */ lis r4, 0x5355425F@ha +/* 80326F3C 00323E9C 38 04 42 5F */ addi r0, r4, 0x5355425F@l +/* 80326F40 00323EA0 7C 03 00 00 */ cmpw r3, r0 +/* 80326F44 00323EA4 41 82 0A F4 */ beq lbl_80327A38 +/* 80326F48 00323EA8 48 00 0C 44 */ b lbl_80327B8C +lbl_80326F4C: +/* 80326F4C 00323EAC 3C 80 56 59 */ lis r4, 0x56595452@ha +/* 80326F50 00323EB0 38 04 54 52 */ addi r0, r4, 0x56595452@l +/* 80326F54 00323EB4 7C 03 00 00 */ cmpw r3, r0 +/* 80326F58 00323EB8 41 82 07 B0 */ beq lbl_80327708 +/* 80326F5C 00323EBC 40 80 00 18 */ bge lbl_80326F74 +/* 80326F60 00323EC0 3C 80 56 58 */ lis r4, 0x56585452@ha +/* 80326F64 00323EC4 38 04 54 52 */ addi r0, r4, 0x56585452@l +/* 80326F68 00323EC8 7C 03 00 00 */ cmpw r3, r0 +/* 80326F6C 00323ECC 41 82 07 5C */ beq lbl_803276C8 +/* 80326F70 00323ED0 48 00 0C 1C */ b lbl_80327B8C +lbl_80326F74: +/* 80326F74 00323ED4 3C 80 56 5A */ lis r4, 0x565A5452@ha +/* 80326F78 00323ED8 38 04 54 52 */ addi r0, r4, 0x565A5452@l +/* 80326F7C 00323EDC 7C 03 00 00 */ cmpw r3, r0 +/* 80326F80 00323EE0 41 82 07 C8 */ beq lbl_80327748 +/* 80326F84 00323EE4 48 00 0C 08 */ b lbl_80327B8C +lbl_80326F88: +/* 80326F88 00323EE8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326F8C 00323EEC 38 60 00 08 */ li r3, 8 +/* 80326F90 00323EF0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326F94 00323EF4 38 A0 00 00 */ li r5, 0 +/* 80326F98 00323EF8 48 04 5A ED */ bl __nw__FUlPCcPCc_0 +/* 80326F9C 00323EFC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80326FA0 00323F00 41 82 00 18 */ beq lbl_80326FB8 +/* 80326FA4 00323F04 7F E3 FB 78 */ mr r3, r31 +/* 80326FA8 00323F08 48 00 14 41 */ bl GetReal__20CParticleDataFactoryFR12CInputStream +/* 80326FAC 00323F0C 7F C3 F3 78 */ mr r3, r30 +/* 80326FB0 00323F10 48 00 C0 1D */ bl __ct__11CREConstantFf +/* 80326FB4 00323F14 7C 7E 1B 78 */ mr r30, r3 +lbl_80326FB8: +/* 80326FB8 00323F18 7F C3 F3 78 */ mr r3, r30 +/* 80326FBC 00323F1C 48 00 0B D4 */ b lbl_80327B90 +lbl_80326FC0: +/* 80326FC0 00323F20 38 60 00 00 */ li r3, 0 +/* 80326FC4 00323F24 48 00 0B CC */ b lbl_80327B90 +lbl_80326FC8: +/* 80326FC8 00323F28 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326FCC 00323F2C 38 60 00 28 */ li r3, 0x28 +/* 80326FD0 00323F30 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326FD4 00323F34 38 A0 00 00 */ li r5, 0 +/* 80326FD8 00323F38 48 04 5A AD */ bl __nw__FUlPCcPCc_0 +/* 80326FDC 00323F3C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326FE0 00323F40 41 82 00 10 */ beq lbl_80326FF0 +/* 80326FE4 00323F44 7F E4 FB 78 */ mr r4, r31 +/* 80326FE8 00323F48 48 00 AA 49 */ bl __ct__18CREKeyframeEmitterFR12CInputStream +/* 80326FEC 00323F4C 7C 60 1B 78 */ mr r0, r3 +lbl_80326FF0: +/* 80326FF0 00323F50 7C 03 03 78 */ mr r3, r0 +/* 80326FF4 00323F54 48 00 0B 9C */ b lbl_80327B90 +lbl_80326FF8: +/* 80326FF8 00323F58 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326FFC 00323F5C 38 60 00 08 */ li r3, 8 +/* 80327000 00323F60 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327004 00323F64 38 A0 00 00 */ li r5, 0 +/* 80327008 00323F68 48 04 5A 7D */ bl __nw__FUlPCcPCc_0 +/* 8032700C 00323F6C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80327010 00323F70 41 82 00 1C */ beq lbl_8032702C +/* 80327014 00323F74 7F E3 FB 78 */ mr r3, r31 +/* 80327018 00323F78 4B FF FC 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032701C 00323F7C 7C 64 1B 78 */ mr r4, r3 +/* 80327020 00323F80 7F C3 F3 78 */ mr r3, r30 +/* 80327024 00323F84 48 00 BD 11 */ bl __ct__12CRETimeScaleFP12CRealElement +/* 80327028 00323F88 7C 7E 1B 78 */ mr r30, r3 +lbl_8032702C: +/* 8032702C 00323F8C 7F C3 F3 78 */ mr r3, r30 +/* 80327030 00323F90 48 00 0B 60 */ b lbl_80327B90 +lbl_80327034: +/* 80327034 00323F94 7F E3 FB 78 */ mr r3, r31 +/* 80327038 00323F98 4B FF FC 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032703C 00323F9C 7C 60 1B 78 */ mr r0, r3 +/* 80327040 00323FA0 7F E3 FB 78 */ mr r3, r31 +/* 80327044 00323FA4 7C 1E 03 78 */ mr r30, r0 +/* 80327048 00323FA8 4B FF FC 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032704C 00323FAC 7C 60 1B 78 */ mr r0, r3 +/* 80327050 00323FB0 7F E3 FB 78 */ mr r3, r31 +/* 80327054 00323FB4 7C 1F 03 78 */ mr r31, r0 +/* 80327058 00323FB8 4B FF FC 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032705C 00323FBC 7C 60 1B 78 */ mr r0, r3 +/* 80327060 00323FC0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327064 00323FC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327068 00323FC8 38 60 00 10 */ li r3, 0x10 +/* 8032706C 00323FCC 7C 1D 03 78 */ mr r29, r0 +/* 80327070 00323FD0 38 A0 00 00 */ li r5, 0 +/* 80327074 00323FD4 48 04 5A 11 */ bl __nw__FUlPCcPCc_0 +/* 80327078 00323FD8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032707C 00323FDC 41 82 00 18 */ beq lbl_80327094 +/* 80327080 00323FE0 7F A4 EB 78 */ mr r4, r29 +/* 80327084 00323FE4 7F C5 F3 78 */ mr r5, r30 +/* 80327088 00323FE8 7F E6 FB 78 */ mr r6, r31 +/* 8032708C 00323FEC 48 00 BE 8D */ bl __ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement +/* 80327090 00323FF0 7C 60 1B 78 */ mr r0, r3 +lbl_80327094: +/* 80327094 00323FF4 7C 03 03 78 */ mr r3, r0 +/* 80327098 00323FF8 48 00 0A F8 */ b lbl_80327B90 +lbl_8032709C: +/* 8032709C 00323FFC 7F E3 FB 78 */ mr r3, r31 +/* 803270A0 00324000 4B FF FB F1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803270A4 00324004 7C 60 1B 78 */ mr r0, r3 +/* 803270A8 00324008 7F E3 FB 78 */ mr r3, r31 +/* 803270AC 0032400C 7C 1D 03 78 */ mr r29, r0 +/* 803270B0 00324010 4B FF FB E1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803270B4 00324014 7C 60 1B 78 */ mr r0, r3 +/* 803270B8 00324018 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803270BC 0032401C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803270C0 00324020 38 60 00 0C */ li r3, 0xc +/* 803270C4 00324024 7C 1E 03 78 */ mr r30, r0 +/* 803270C8 00324028 38 A0 00 00 */ li r5, 0 +/* 803270CC 0032402C 48 04 59 B9 */ bl __nw__FUlPCcPCc_0 +/* 803270D0 00324030 7C 60 1B 79 */ or. r0, r3, r3 +/* 803270D4 00324034 41 82 00 14 */ beq lbl_803270E8 +/* 803270D8 00324038 7F A4 EB 78 */ mr r4, r29 +/* 803270DC 0032403C 7F C5 F3 78 */ mr r5, r30 +/* 803270E0 00324040 48 00 BB 0D */ bl __ct__6CREAddFP12CRealElementP12CRealElement +/* 803270E4 00324044 7C 60 1B 78 */ mr r0, r3 +lbl_803270E8: +/* 803270E8 00324048 7C 03 03 78 */ mr r3, r0 +/* 803270EC 0032404C 48 00 0A A4 */ b lbl_80327B90 +lbl_803270F0: +/* 803270F0 00324050 7F E3 FB 78 */ mr r3, r31 +/* 803270F4 00324054 4B FF FB 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803270F8 00324058 7C 60 1B 78 */ mr r0, r3 +/* 803270FC 0032405C 7F E3 FB 78 */ mr r3, r31 +/* 80327100 00324060 7C 1D 03 78 */ mr r29, r0 +/* 80327104 00324064 4B FF FB 8D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327108 00324068 7C 60 1B 78 */ mr r0, r3 +/* 8032710C 0032406C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327110 00324070 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327114 00324074 38 60 00 0C */ li r3, 0xc +/* 80327118 00324078 7C 1E 03 78 */ mr r30, r0 +/* 8032711C 0032407C 38 A0 00 00 */ li r5, 0 +/* 80327120 00324080 48 04 59 65 */ bl __nw__FUlPCcPCc_0 +/* 80327124 00324084 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327128 00324088 41 82 00 14 */ beq lbl_8032713C +/* 8032712C 0032408C 7F A4 EB 78 */ mr r4, r29 +/* 80327130 00324090 7F C5 F3 78 */ mr r5, r30 +/* 80327134 00324094 48 00 B9 41 */ bl __ct__11CREMultiplyFP12CRealElementP12CRealElement +/* 80327138 00324098 7C 60 1B 78 */ mr r0, r3 +lbl_8032713C: +/* 8032713C 0032409C 7C 03 03 78 */ mr r3, r0 +/* 80327140 003240A0 48 00 0A 50 */ b lbl_80327B90 +lbl_80327144: +/* 80327144 003240A4 7F E3 FB 78 */ mr r3, r31 +/* 80327148 003240A8 4B FF F1 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032714C 003240AC 7C 60 1B 78 */ mr r0, r3 +/* 80327150 003240B0 7F E3 FB 78 */ mr r3, r31 +/* 80327154 003240B4 7C 1D 03 78 */ mr r29, r0 +/* 80327158 003240B8 4B FF F0 FD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032715C 003240BC 7C 60 1B 78 */ mr r0, r3 +/* 80327160 003240C0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327164 003240C4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327168 003240C8 38 60 00 0C */ li r3, 0xc +/* 8032716C 003240CC 7C 1E 03 78 */ mr r30, r0 +/* 80327170 003240D0 38 A0 00 00 */ li r5, 0 +/* 80327174 003240D4 48 04 59 11 */ bl __nw__FUlPCcPCc_0 +/* 80327178 003240D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032717C 003240DC 41 82 00 14 */ beq lbl_80327190 +/* 80327180 003240E0 7F A4 EB 78 */ mr r4, r29 +/* 80327184 003240E4 7F C5 F3 78 */ mr r5, r30 +/* 80327188 003240E8 48 00 B7 75 */ bl __ct__13CREDotProductFP14CVectorElementP14CVectorElement +/* 8032718C 003240EC 7C 60 1B 78 */ mr r0, r3 +lbl_80327190: +/* 80327190 003240F0 7C 03 03 78 */ mr r3, r0 +/* 80327194 003240F4 48 00 09 FC */ b lbl_80327B90 +lbl_80327198: +/* 80327198 003240F8 7F E3 FB 78 */ mr r3, r31 +/* 8032719C 003240FC 4B FF FA F5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803271A0 00324100 7C 60 1B 78 */ mr r0, r3 +/* 803271A4 00324104 7F E3 FB 78 */ mr r3, r31 +/* 803271A8 00324108 7C 1D 03 78 */ mr r29, r0 +/* 803271AC 0032410C 4B FF FA E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803271B0 00324110 7C 60 1B 78 */ mr r0, r3 +/* 803271B4 00324114 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803271B8 00324118 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803271BC 0032411C 38 60 00 0C */ li r3, 0xc +/* 803271C0 00324120 7C 1E 03 78 */ mr r30, r0 +/* 803271C4 00324124 38 A0 00 00 */ li r5, 0 +/* 803271C8 00324128 48 04 58 BD */ bl __nw__FUlPCcPCc_0 +/* 803271CC 0032412C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803271D0 00324130 41 82 00 14 */ beq lbl_803271E4 +/* 803271D4 00324134 7F A4 EB 78 */ mr r4, r29 +/* 803271D8 00324138 7F C5 F3 78 */ mr r5, r30 +/* 803271DC 0032413C 48 00 B5 65 */ bl __ct__9CRERandomFP12CRealElementP12CRealElement +/* 803271E0 00324140 7C 60 1B 78 */ mr r0, r3 +lbl_803271E4: +/* 803271E4 00324144 7C 03 03 78 */ mr r3, r0 +/* 803271E8 00324148 48 00 09 A8 */ b lbl_80327B90 +lbl_803271EC: +/* 803271EC 0032414C 7F E3 FB 78 */ mr r3, r31 +/* 803271F0 00324150 4B FF FA A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803271F4 00324154 7C 60 1B 78 */ mr r0, r3 +/* 803271F8 00324158 7F E3 FB 78 */ mr r3, r31 +/* 803271FC 0032415C 7C 1D 03 78 */ mr r29, r0 +/* 80327200 00324160 4B FF FA 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327204 00324164 7C 60 1B 78 */ mr r0, r3 +/* 80327208 00324168 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032720C 0032416C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327210 00324170 38 60 00 0C */ li r3, 0xc +/* 80327214 00324174 7C 1E 03 78 */ mr r30, r0 +/* 80327218 00324178 38 A0 00 00 */ li r5, 0 +/* 8032721C 0032417C 48 04 58 69 */ bl __nw__FUlPCcPCc_0 +/* 80327220 00324180 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327224 00324184 41 82 00 14 */ beq lbl_80327238 +/* 80327228 00324188 7F A4 EB 78 */ mr r4, r29 +/* 8032722C 0032418C 7F C5 F3 78 */ mr r5, r30 +/* 80327230 00324190 48 00 B3 7D */ bl __ct__16CREInitialRandomFC12CRealElementC12CRealElement +/* 80327234 00324194 7C 60 1B 78 */ mr r0, r3 +lbl_80327238: +/* 80327238 00324198 7C 03 03 78 */ mr r3, r0 +/* 8032723C 0032419C 48 00 09 54 */ b lbl_80327B90 +lbl_80327240: +/* 80327240 003241A0 7F E3 FB 78 */ mr r3, r31 +/* 80327244 003241A4 4B FF FA 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327248 003241A8 7C 60 1B 78 */ mr r0, r3 +/* 8032724C 003241AC 7F E3 FB 78 */ mr r3, r31 +/* 80327250 003241B0 7C 1D 03 78 */ mr r29, r0 +/* 80327254 003241B4 4B FF FA 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327258 003241B8 7C 60 1B 78 */ mr r0, r3 +/* 8032725C 003241BC 7F E3 FB 78 */ mr r3, r31 +/* 80327260 003241C0 7C 1E 03 78 */ mr r30, r0 +/* 80327264 003241C4 48 00 09 41 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327268 003241C8 7C 60 1B 78 */ mr r0, r3 +/* 8032726C 003241CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327270 003241D0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327274 003241D4 38 60 00 10 */ li r3, 0x10 +/* 80327278 003241D8 7C 1F 03 78 */ mr r31, r0 +/* 8032727C 003241DC 38 A0 00 00 */ li r5, 0 +/* 80327280 003241E0 48 04 58 05 */ bl __nw__FUlPCcPCc_0 +/* 80327284 003241E4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327288 003241E8 41 82 00 18 */ beq lbl_803272A0 +/* 8032728C 003241EC 7F A4 EB 78 */ mr r4, r29 +/* 80327290 003241F0 7F C5 F3 78 */ mr r5, r30 +/* 80327294 003241F4 7F E6 FB 78 */ mr r6, r31 +/* 80327298 003241F8 48 00 B1 79 */ bl __ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement +/* 8032729C 003241FC 7C 60 1B 78 */ mr r0, r3 +lbl_803272A0: +/* 803272A0 00324200 7C 03 03 78 */ mr r3, r0 +/* 803272A4 00324204 48 00 08 EC */ b lbl_80327B90 +lbl_803272A8: +/* 803272A8 00324208 7F E3 FB 78 */ mr r3, r31 +/* 803272AC 0032420C 4B FF F9 E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803272B0 00324210 7C 60 1B 78 */ mr r0, r3 +/* 803272B4 00324214 7F E3 FB 78 */ mr r3, r31 +/* 803272B8 00324218 7C 1D 03 78 */ mr r29, r0 +/* 803272BC 0032421C 4B FF F9 D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803272C0 00324220 7C 60 1B 78 */ mr r0, r3 +/* 803272C4 00324224 7F E3 FB 78 */ mr r3, r31 +/* 803272C8 00324228 7C 1E 03 78 */ mr r30, r0 +/* 803272CC 0032422C 4B FF F9 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803272D0 00324230 7C 60 1B 78 */ mr r0, r3 +/* 803272D4 00324234 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803272D8 00324238 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803272DC 0032423C 38 60 00 10 */ li r3, 0x10 +/* 803272E0 00324240 7C 1F 03 78 */ mr r31, r0 +/* 803272E4 00324244 38 A0 00 00 */ li r5, 0 +/* 803272E8 00324248 48 04 57 9D */ bl __nw__FUlPCcPCc_0 +/* 803272EC 0032424C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803272F0 00324250 41 82 00 18 */ beq lbl_80327308 +/* 803272F4 00324254 7F A4 EB 78 */ mr r4, r29 +/* 803272F8 00324258 7F C5 F3 78 */ mr r5, r30 +/* 803272FC 0032425C 7F E6 FB 78 */ mr r6, r31 +/* 80327300 00324260 48 00 AF 5D */ bl __ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement +/* 80327304 00324264 7C 60 1B 78 */ mr r0, r3 +lbl_80327308: +/* 80327308 00324268 7C 03 03 78 */ mr r3, r0 +/* 8032730C 0032426C 48 00 08 84 */ b lbl_80327B90 +lbl_80327310: +/* 80327310 00324270 7F E3 FB 78 */ mr r3, r31 +/* 80327314 00324274 48 00 08 91 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327318 00324278 7C 60 1B 78 */ mr r0, r3 +/* 8032731C 0032427C 7F E3 FB 78 */ mr r3, r31 +/* 80327320 00324280 7C 1D 03 78 */ mr r29, r0 +/* 80327324 00324284 48 00 08 81 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327328 00324288 7C 60 1B 78 */ mr r0, r3 +/* 8032732C 0032428C 7F E3 FB 78 */ mr r3, r31 +/* 80327330 00324290 7C 1E 03 78 */ mr r30, r0 +/* 80327334 00324294 4B FF F9 5D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327338 00324298 7C 60 1B 78 */ mr r0, r3 +/* 8032733C 0032429C 7F E3 FB 78 */ mr r3, r31 +/* 80327340 003242A0 7C 1F 03 78 */ mr r31, r0 +/* 80327344 003242A4 4B FF F9 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327348 003242A8 7C 60 1B 78 */ mr r0, r3 +/* 8032734C 003242AC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327350 003242B0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327354 003242B4 38 60 00 14 */ li r3, 0x14 +/* 80327358 003242B8 7C 1C 03 78 */ mr r28, r0 +/* 8032735C 003242BC 38 A0 00 00 */ li r5, 0 +/* 80327360 003242C0 48 04 57 25 */ bl __nw__FUlPCcPCc_0 +/* 80327364 003242C4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327368 003242C8 41 82 00 1C */ beq lbl_80327384 +/* 8032736C 003242CC 7F A4 EB 78 */ mr r4, r29 +/* 80327370 003242D0 7F C5 F3 78 */ mr r5, r30 +/* 80327374 003242D4 7F E6 FB 78 */ mr r6, r31 +/* 80327378 003242D8 7F 87 E3 78 */ mr r7, r28 +/* 8032737C 003242DC 48 00 AD 0D */ bl __ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement +/* 80327380 003242E0 7C 60 1B 78 */ mr r0, r3 +lbl_80327384: +/* 80327384 003242E4 7C 03 03 78 */ mr r3, r0 +/* 80327388 003242E8 48 00 08 08 */ b lbl_80327B90 +lbl_8032738C: +/* 8032738C 003242EC 7F E3 FB 78 */ mr r3, r31 +/* 80327390 003242F0 4B FF F9 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327394 003242F4 7C 60 1B 78 */ mr r0, r3 +/* 80327398 003242F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032739C 003242FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803273A0 00324300 38 60 00 08 */ li r3, 8 +/* 803273A4 00324304 7C 1C 03 78 */ mr r28, r0 +/* 803273A8 00324308 38 A0 00 00 */ li r5, 0 +/* 803273AC 0032430C 48 04 56 D9 */ bl __nw__FUlPCcPCc_0 +/* 803273B0 00324310 7C 60 1B 79 */ or. r0, r3, r3 +/* 803273B4 00324314 41 82 00 10 */ beq lbl_803273C4 +/* 803273B8 00324318 7F 84 E3 78 */ mr r4, r28 +/* 803273BC 0032431C 48 00 AA 99 */ bl __ct__18CRELifetimePercentFP12CRealElement +/* 803273C0 00324320 7C 60 1B 78 */ mr r0, r3 +lbl_803273C4: +/* 803273C4 00324324 7C 03 03 78 */ mr r3, r0 +/* 803273C8 00324328 48 00 07 C8 */ b lbl_80327B90 +lbl_803273CC: +/* 803273CC 0032432C 7F E3 FB 78 */ mr r3, r31 +/* 803273D0 00324330 4B FF F8 C1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803273D4 00324334 7C 60 1B 78 */ mr r0, r3 +/* 803273D8 00324338 7F E3 FB 78 */ mr r3, r31 +/* 803273DC 0032433C 7C 1C 03 78 */ mr r28, r0 +/* 803273E0 00324340 4B FF F8 B1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803273E4 00324344 7C 60 1B 78 */ mr r0, r3 +/* 803273E8 00324348 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803273EC 0032434C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803273F0 00324350 38 60 00 0C */ li r3, 0xc +/* 803273F4 00324354 7C 1D 03 78 */ mr r29, r0 +/* 803273F8 00324358 38 A0 00 00 */ li r5, 0 +/* 803273FC 0032435C 48 04 56 89 */ bl __nw__FUlPCcPCc_0 +/* 80327400 00324360 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327404 00324364 41 82 00 14 */ beq lbl_80327418 +/* 80327408 00324368 7F 84 E3 78 */ mr r4, r28 +/* 8032740C 0032436C 7F A5 EB 78 */ mr r5, r29 +/* 80327410 00324370 48 00 A8 FD */ bl __ct__16CRELifetimeTweenFP12CRealElementP12CRealElement +/* 80327414 00324374 7C 60 1B 78 */ mr r0, r3 +lbl_80327418: +/* 80327418 00324378 7C 03 03 78 */ mr r3, r0 +/* 8032741C 0032437C 48 00 07 74 */ b lbl_80327B90 +lbl_80327420: +/* 80327420 00324380 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327424 00324384 38 60 00 04 */ li r3, 4 +/* 80327428 00324388 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032742C 0032438C 38 A0 00 00 */ li r5, 0 +/* 80327430 00324390 48 04 56 55 */ bl __nw__FUlPCcPCc_0 +/* 80327434 00324394 28 03 00 00 */ cmplwi r3, 0 +/* 80327438 00324398 41 82 07 58 */ beq lbl_80327B90 +/* 8032743C 0032439C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327440 003243A0 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327444 003243A4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327448 003243A8 3C 80 80 3F */ lis r4, lbl_803EDF34@ha +/* 8032744C 003243AC 90 03 00 00 */ stw r0, 0(r3) +/* 80327450 003243B0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327454 003243B4 38 04 DF 34 */ addi r0, r4, lbl_803EDF34@l +/* 80327458 003243B8 90 A3 00 00 */ stw r5, 0(r3) +/* 8032745C 003243BC 90 03 00 00 */ stw r0, 0(r3) +/* 80327460 003243C0 48 00 07 30 */ b lbl_80327B90 +lbl_80327464: +/* 80327464 003243C4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327468 003243C8 38 60 00 04 */ li r3, 4 +/* 8032746C 003243CC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327470 003243D0 38 A0 00 00 */ li r5, 0 +/* 80327474 003243D4 48 04 56 11 */ bl __nw__FUlPCcPCc_0 +/* 80327478 003243D8 28 03 00 00 */ cmplwi r3, 0 +/* 8032747C 003243DC 41 82 07 14 */ beq lbl_80327B90 +/* 80327480 003243E0 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327484 003243E4 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327488 003243E8 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 8032748C 003243EC 3C 80 80 3F */ lis r4, lbl_803EDF48@ha +/* 80327490 003243F0 90 03 00 00 */ stw r0, 0(r3) +/* 80327494 003243F4 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327498 003243F8 38 04 DF 48 */ addi r0, r4, lbl_803EDF48@l +/* 8032749C 003243FC 90 A3 00 00 */ stw r5, 0(r3) +/* 803274A0 00324400 90 03 00 00 */ stw r0, 0(r3) +/* 803274A4 00324404 48 00 06 EC */ b lbl_80327B90 +lbl_803274A8: +/* 803274A8 00324408 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803274AC 0032440C 38 60 00 04 */ li r3, 4 +/* 803274B0 00324410 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803274B4 00324414 38 A0 00 00 */ li r5, 0 +/* 803274B8 00324418 48 04 55 CD */ bl __nw__FUlPCcPCc_0 +/* 803274BC 0032441C 28 03 00 00 */ cmplwi r3, 0 +/* 803274C0 00324420 41 82 06 D0 */ beq lbl_80327B90 +/* 803274C4 00324424 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803274C8 00324428 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 803274CC 0032442C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803274D0 00324430 3C 80 80 3F */ lis r4, lbl_803EDFE8@ha +/* 803274D4 00324434 90 03 00 00 */ stw r0, 0(r3) +/* 803274D8 00324438 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803274DC 0032443C 38 04 DF E8 */ addi r0, r4, lbl_803EDFE8@l +/* 803274E0 00324440 90 A3 00 00 */ stw r5, 0(r3) +/* 803274E4 00324444 90 03 00 00 */ stw r0, 0(r3) +/* 803274E8 00324448 48 00 06 A8 */ b lbl_80327B90 +lbl_803274EC: +/* 803274EC 0032444C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803274F0 00324450 38 60 00 04 */ li r3, 4 +/* 803274F4 00324454 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803274F8 00324458 38 A0 00 00 */ li r5, 0 +/* 803274FC 0032445C 48 04 55 89 */ bl __nw__FUlPCcPCc_0 +/* 80327500 00324460 28 03 00 00 */ cmplwi r3, 0 +/* 80327504 00324464 41 82 06 8C */ beq lbl_80327B90 +/* 80327508 00324468 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 8032750C 0032446C 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327510 00324470 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327514 00324474 3C 80 80 3F */ lis r4, lbl_803EDFD4@ha +/* 80327518 00324478 90 03 00 00 */ stw r0, 0(r3) +/* 8032751C 0032447C 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327520 00324480 38 04 DF D4 */ addi r0, r4, lbl_803EDFD4@l +/* 80327524 00324484 90 A3 00 00 */ stw r5, 0(r3) +/* 80327528 00324488 90 03 00 00 */ stw r0, 0(r3) +/* 8032752C 0032448C 48 00 06 64 */ b lbl_80327B90 +lbl_80327530: +/* 80327530 00324490 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327534 00324494 38 60 00 04 */ li r3, 4 +/* 80327538 00324498 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032753C 0032449C 38 A0 00 00 */ li r5, 0 +/* 80327540 003244A0 48 04 55 45 */ bl __nw__FUlPCcPCc_0 +/* 80327544 003244A4 28 03 00 00 */ cmplwi r3, 0 +/* 80327548 003244A8 41 82 06 48 */ beq lbl_80327B90 +/* 8032754C 003244AC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327550 003244B0 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327554 003244B4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327558 003244B8 3C 80 80 3F */ lis r4, lbl_803EDFC0@ha +/* 8032755C 003244BC 90 03 00 00 */ stw r0, 0(r3) +/* 80327560 003244C0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327564 003244C4 38 04 DF C0 */ addi r0, r4, lbl_803EDFC0@l +/* 80327568 003244C8 90 A3 00 00 */ stw r5, 0(r3) +/* 8032756C 003244CC 90 03 00 00 */ stw r0, 0(r3) +/* 80327570 003244D0 48 00 06 20 */ b lbl_80327B90 +lbl_80327574: +/* 80327574 003244D4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327578 003244D8 38 60 00 04 */ li r3, 4 +/* 8032757C 003244DC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327580 003244E0 38 A0 00 00 */ li r5, 0 +/* 80327584 003244E4 48 04 55 01 */ bl __nw__FUlPCcPCc_0 +/* 80327588 003244E8 28 03 00 00 */ cmplwi r3, 0 +/* 8032758C 003244EC 41 82 06 04 */ beq lbl_80327B90 +/* 80327590 003244F0 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327594 003244F4 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327598 003244F8 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 8032759C 003244FC 3C 80 80 3F */ lis r4, lbl_803EDFAC@ha +/* 803275A0 00324500 90 03 00 00 */ stw r0, 0(r3) +/* 803275A4 00324504 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803275A8 00324508 38 04 DF AC */ addi r0, r4, lbl_803EDFAC@l +/* 803275AC 0032450C 90 A3 00 00 */ stw r5, 0(r3) +/* 803275B0 00324510 90 03 00 00 */ stw r0, 0(r3) +/* 803275B4 00324514 48 00 05 DC */ b lbl_80327B90 +lbl_803275B8: +/* 803275B8 00324518 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803275BC 0032451C 38 60 00 04 */ li r3, 4 +/* 803275C0 00324520 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803275C4 00324524 38 A0 00 00 */ li r5, 0 +/* 803275C8 00324528 48 04 54 BD */ bl __nw__FUlPCcPCc_0 +/* 803275CC 0032452C 28 03 00 00 */ cmplwi r3, 0 +/* 803275D0 00324530 41 82 05 C0 */ beq lbl_80327B90 +/* 803275D4 00324534 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803275D8 00324538 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 803275DC 0032453C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803275E0 00324540 3C 80 80 3F */ lis r4, lbl_803EDF98@ha +/* 803275E4 00324544 90 03 00 00 */ stw r0, 0(r3) +/* 803275E8 00324548 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803275EC 0032454C 38 04 DF 98 */ addi r0, r4, lbl_803EDF98@l +/* 803275F0 00324550 90 A3 00 00 */ stw r5, 0(r3) +/* 803275F4 00324554 90 03 00 00 */ stw r0, 0(r3) +/* 803275F8 00324558 48 00 05 98 */ b lbl_80327B90 +lbl_803275FC: +/* 803275FC 0032455C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327600 00324560 38 60 00 04 */ li r3, 4 +/* 80327604 00324564 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327608 00324568 38 A0 00 00 */ li r5, 0 +/* 8032760C 0032456C 48 04 54 79 */ bl __nw__FUlPCcPCc_0 +/* 80327610 00324570 28 03 00 00 */ cmplwi r3, 0 +/* 80327614 00324574 41 82 05 7C */ beq lbl_80327B90 +/* 80327618 00324578 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 8032761C 0032457C 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327620 00324580 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327624 00324584 3C 80 80 3F */ lis r4, lbl_803EDF84@ha +/* 80327628 00324588 90 03 00 00 */ stw r0, 0(r3) +/* 8032762C 0032458C 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327630 00324590 38 04 DF 84 */ addi r0, r4, lbl_803EDF84@l +/* 80327634 00324594 90 A3 00 00 */ stw r5, 0(r3) +/* 80327638 00324598 90 03 00 00 */ stw r0, 0(r3) +/* 8032763C 0032459C 48 00 05 54 */ b lbl_80327B90 +lbl_80327640: +/* 80327640 003245A0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327644 003245A4 38 60 00 04 */ li r3, 4 +/* 80327648 003245A8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032764C 003245AC 38 A0 00 00 */ li r5, 0 +/* 80327650 003245B0 48 04 54 35 */ bl __nw__FUlPCcPCc_0 +/* 80327654 003245B4 28 03 00 00 */ cmplwi r3, 0 +/* 80327658 003245B8 41 82 05 38 */ beq lbl_80327B90 +/* 8032765C 003245BC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327660 003245C0 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327664 003245C4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327668 003245C8 3C 80 80 3F */ lis r4, lbl_803EDF70@ha +/* 8032766C 003245CC 90 03 00 00 */ stw r0, 0(r3) +/* 80327670 003245D0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327674 003245D4 38 04 DF 70 */ addi r0, r4, lbl_803EDF70@l +/* 80327678 003245D8 90 A3 00 00 */ stw r5, 0(r3) +/* 8032767C 003245DC 90 03 00 00 */ stw r0, 0(r3) +/* 80327680 003245E0 48 00 05 10 */ b lbl_80327B90 +lbl_80327684: +/* 80327684 003245E4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327688 003245E8 38 60 00 04 */ li r3, 4 +/* 8032768C 003245EC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327690 003245F0 38 A0 00 00 */ li r5, 0 +/* 80327694 003245F4 48 04 53 F1 */ bl __nw__FUlPCcPCc_0 +/* 80327698 003245F8 28 03 00 00 */ cmplwi r3, 0 +/* 8032769C 003245FC 41 82 04 F4 */ beq lbl_80327B90 +/* 803276A0 00324600 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803276A4 00324604 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 803276A8 00324608 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803276AC 0032460C 3C 80 80 3F */ lis r4, lbl_803EDF5C@ha +/* 803276B0 00324610 90 03 00 00 */ stw r0, 0(r3) +/* 803276B4 00324614 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803276B8 00324618 38 04 DF 5C */ addi r0, r4, lbl_803EDF5C@l +/* 803276BC 0032461C 90 A3 00 00 */ stw r5, 0(r3) +/* 803276C0 00324620 90 03 00 00 */ stw r0, 0(r3) +/* 803276C4 00324624 48 00 04 CC */ b lbl_80327B90 +lbl_803276C8: +/* 803276C8 00324628 7F E3 FB 78 */ mr r3, r31 +/* 803276CC 0032462C 4B FF EB 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803276D0 00324630 7C 60 1B 78 */ mr r0, r3 +/* 803276D4 00324634 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803276D8 00324638 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803276DC 0032463C 38 60 00 08 */ li r3, 8 +/* 803276E0 00324640 7C 1C 03 78 */ mr r28, r0 +/* 803276E4 00324644 38 A0 00 00 */ li r5, 0 +/* 803276E8 00324648 48 04 53 9D */ bl __nw__FUlPCcPCc_0 +/* 803276EC 0032464C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803276F0 00324650 41 82 00 10 */ beq lbl_80327700 +/* 803276F4 00324654 7F 84 E3 78 */ mr r4, r28 +/* 803276F8 00324658 48 00 A0 75 */ bl __ct__16CREVectorXToRealFP14CVectorElement +/* 803276FC 0032465C 7C 60 1B 78 */ mr r0, r3 +lbl_80327700: +/* 80327700 00324660 7C 03 03 78 */ mr r3, r0 +/* 80327704 00324664 48 00 04 8C */ b lbl_80327B90 +lbl_80327708: +/* 80327708 00324668 7F E3 FB 78 */ mr r3, r31 +/* 8032770C 0032466C 4B FF EB 49 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80327710 00324670 7C 60 1B 78 */ mr r0, r3 +/* 80327714 00324674 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327718 00324678 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032771C 0032467C 38 60 00 08 */ li r3, 8 +/* 80327720 00324680 7C 1C 03 78 */ mr r28, r0 +/* 80327724 00324684 38 A0 00 00 */ li r5, 0 +/* 80327728 00324688 48 04 53 5D */ bl __nw__FUlPCcPCc_0 +/* 8032772C 0032468C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327730 00324690 41 82 00 10 */ beq lbl_80327740 +/* 80327734 00324694 7F 84 E3 78 */ mr r4, r28 +/* 80327738 00324698 48 00 9F 01 */ bl __ct__16CREVectorYToRealFP14CVectorElement +/* 8032773C 0032469C 7C 60 1B 78 */ mr r0, r3 +lbl_80327740: +/* 80327740 003246A0 7C 03 03 78 */ mr r3, r0 +/* 80327744 003246A4 48 00 04 4C */ b lbl_80327B90 +lbl_80327748: +/* 80327748 003246A8 7F E3 FB 78 */ mr r3, r31 +/* 8032774C 003246AC 4B FF EB 09 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80327750 003246B0 7C 60 1B 78 */ mr r0, r3 +/* 80327754 003246B4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327758 003246B8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032775C 003246BC 38 60 00 08 */ li r3, 8 +/* 80327760 003246C0 7C 1C 03 78 */ mr r28, r0 +/* 80327764 003246C4 38 A0 00 00 */ li r5, 0 +/* 80327768 003246C8 48 04 53 1D */ bl __nw__FUlPCcPCc_0 +/* 8032776C 003246CC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327770 003246D0 41 82 00 10 */ beq lbl_80327780 +/* 80327774 003246D4 7F 84 E3 78 */ mr r4, r28 +/* 80327778 003246D8 48 00 9D 8D */ bl __ct__16CREVectorZToRealFP14CVectorElement +/* 8032777C 003246DC 7C 60 1B 78 */ mr r0, r3 +lbl_80327780: +/* 80327780 003246E0 7C 03 03 78 */ mr r3, r0 +/* 80327784 003246E4 48 00 04 0C */ b lbl_80327B90 +lbl_80327788: +/* 80327788 003246E8 7F E3 FB 78 */ mr r3, r31 +/* 8032778C 003246EC 4B FF EA C9 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80327790 003246F0 7C 60 1B 78 */ mr r0, r3 +/* 80327794 003246F4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327798 003246F8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032779C 003246FC 38 60 00 08 */ li r3, 8 +/* 803277A0 00324700 7C 1C 03 78 */ mr r28, r0 +/* 803277A4 00324704 38 A0 00 00 */ li r5, 0 +/* 803277A8 00324708 48 04 52 DD */ bl __nw__FUlPCcPCc_0 +/* 803277AC 0032470C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803277B0 00324710 41 82 00 10 */ beq lbl_803277C0 +/* 803277B4 00324714 7F 84 E3 78 */ mr r4, r28 +/* 803277B8 00324718 48 00 9C 19 */ bl __ct__18CREVectorMagnitudeFP14CVectorElement +/* 803277BC 0032471C 7C 60 1B 78 */ mr r0, r3 +lbl_803277C0: +/* 803277C0 00324720 7C 03 03 78 */ mr r3, r0 +/* 803277C4 00324724 48 00 03 CC */ b lbl_80327B90 +lbl_803277C8: +/* 803277C8 00324728 7F E3 FB 78 */ mr r3, r31 +/* 803277CC 0032472C 4B FF F4 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803277D0 00324730 7C 60 1B 78 */ mr r0, r3 +/* 803277D4 00324734 7F E3 FB 78 */ mr r3, r31 +/* 803277D8 00324738 7C 1C 03 78 */ mr r28, r0 +/* 803277DC 0032473C 4B FF F4 B5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803277E0 00324740 7C 60 1B 78 */ mr r0, r3 +/* 803277E4 00324744 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803277E8 00324748 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803277EC 0032474C 38 60 00 0C */ li r3, 0xc +/* 803277F0 00324750 7C 1D 03 78 */ mr r29, r0 +/* 803277F4 00324754 38 A0 00 00 */ li r5, 0 +/* 803277F8 00324758 48 04 52 8D */ bl __nw__FUlPCcPCc_0 +/* 803277FC 0032475C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327800 00324760 41 82 00 14 */ beq lbl_80327814 +/* 80327804 00324764 7F 84 E3 78 */ mr r4, r28 +/* 80327808 00324768 7F A5 EB 78 */ mr r5, r29 +/* 8032780C 0032476C 48 00 9A 89 */ bl __ct__7CREISWTFP12CRealElementP12CRealElement +/* 80327810 00324770 7C 60 1B 78 */ mr r0, r3 +lbl_80327814: +/* 80327814 00324774 7C 03 03 78 */ mr r3, r0 +/* 80327818 00324778 48 00 03 78 */ b lbl_80327B90 +lbl_8032781C: +/* 8032781C 0032477C 7F E3 FB 78 */ mr r3, r31 +/* 80327820 00324780 4B FF F4 71 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327824 00324784 7C 60 1B 78 */ mr r0, r3 +/* 80327828 00324788 7F E3 FB 78 */ mr r3, r31 +/* 8032782C 0032478C 7C 1C 03 78 */ mr r28, r0 +/* 80327830 00324790 4B FF F4 61 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327834 00324794 7C 60 1B 78 */ mr r0, r3 +/* 80327838 00324798 7F E3 FB 78 */ mr r3, r31 +/* 8032783C 0032479C 7C 1D 03 78 */ mr r29, r0 +/* 80327840 003247A0 4B FF F4 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327844 003247A4 7C 60 1B 78 */ mr r0, r3 +/* 80327848 003247A8 7F E3 FB 78 */ mr r3, r31 +/* 8032784C 003247AC 7C 1E 03 78 */ mr r30, r0 +/* 80327850 003247B0 4B FF F4 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327854 003247B4 7C 60 1B 78 */ mr r0, r3 +/* 80327858 003247B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032785C 003247BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327860 003247C0 38 60 00 14 */ li r3, 0x14 +/* 80327864 003247C4 7C 1F 03 78 */ mr r31, r0 +/* 80327868 003247C8 38 A0 00 00 */ li r5, 0 +/* 8032786C 003247CC 48 04 52 19 */ bl __nw__FUlPCcPCc_0 +/* 80327870 003247D0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327874 003247D4 41 82 00 1C */ beq lbl_80327890 +/* 80327878 003247D8 7F 84 E3 78 */ mr r4, r28 +/* 8032787C 003247DC 7F A5 EB 78 */ mr r5, r29 +/* 80327880 003247E0 7F C6 F3 78 */ mr r6, r30 +/* 80327884 003247E4 7F E7 FB 78 */ mr r7, r31 +/* 80327888 003247E8 48 00 98 B9 */ bl __ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 8032788C 003247EC 7C 60 1B 78 */ mr r0, r3 +lbl_80327890: +/* 80327890 003247F0 7C 03 03 78 */ mr r3, r0 +/* 80327894 003247F4 48 00 02 FC */ b lbl_80327B90 +lbl_80327898: +/* 80327898 003247F8 7F E3 FB 78 */ mr r3, r31 +/* 8032789C 003247FC 4B FF F3 F5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278A0 00324800 7C 60 1B 78 */ mr r0, r3 +/* 803278A4 00324804 7F E3 FB 78 */ mr r3, r31 +/* 803278A8 00324808 7C 1C 03 78 */ mr r28, r0 +/* 803278AC 0032480C 4B FF F3 E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278B0 00324810 7C 60 1B 78 */ mr r0, r3 +/* 803278B4 00324814 7F E3 FB 78 */ mr r3, r31 +/* 803278B8 00324818 7C 1D 03 78 */ mr r29, r0 +/* 803278BC 0032481C 4B FF F3 D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278C0 00324820 7C 60 1B 78 */ mr r0, r3 +/* 803278C4 00324824 7F E3 FB 78 */ mr r3, r31 +/* 803278C8 00324828 7C 1E 03 78 */ mr r30, r0 +/* 803278CC 0032482C 4B FF F3 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278D0 00324830 7C 60 1B 78 */ mr r0, r3 +/* 803278D4 00324834 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803278D8 00324838 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803278DC 0032483C 38 60 00 14 */ li r3, 0x14 +/* 803278E0 00324840 7C 1F 03 78 */ mr r31, r0 +/* 803278E4 00324844 38 A0 00 00 */ li r5, 0 +/* 803278E8 00324848 48 04 51 9D */ bl __nw__FUlPCcPCc_0 +/* 803278EC 0032484C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803278F0 00324850 41 82 00 1C */ beq lbl_8032790C +/* 803278F4 00324854 7F 84 E3 78 */ mr r4, r28 +/* 803278F8 00324858 7F A5 EB 78 */ mr r5, r29 +/* 803278FC 0032485C 7F C6 F3 78 */ mr r6, r30 +/* 80327900 00324860 7F E7 FB 78 */ mr r7, r31 +/* 80327904 00324864 48 00 96 41 */ bl __ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80327908 00324868 7C 60 1B 78 */ mr r0, r3 +lbl_8032790C: +/* 8032790C 0032486C 7C 03 03 78 */ mr r3, r0 +/* 80327910 00324870 48 00 02 80 */ b lbl_80327B90 +lbl_80327914: +/* 80327914 00324874 7F E3 FB 78 */ mr r3, r31 +/* 80327918 00324878 4B FF F3 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032791C 0032487C 7C 60 1B 78 */ mr r0, r3 +/* 80327920 00324880 7F E3 FB 78 */ mr r3, r31 +/* 80327924 00324884 7C 1C 03 78 */ mr r28, r0 +/* 80327928 00324888 4B FF F3 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032792C 0032488C 7C 60 1B 78 */ mr r0, r3 +/* 80327930 00324890 7F E3 FB 78 */ mr r3, r31 +/* 80327934 00324894 7C 1D 03 78 */ mr r29, r0 +/* 80327938 00324898 4B FF F3 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032793C 0032489C 7C 60 1B 78 */ mr r0, r3 +/* 80327940 003248A0 7F E3 FB 78 */ mr r3, r31 +/* 80327944 003248A4 7C 1E 03 78 */ mr r30, r0 +/* 80327948 003248A8 4B FF F3 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032794C 003248AC 7C 60 1B 78 */ mr r0, r3 +/* 80327950 003248B0 7F E3 FB 78 */ mr r3, r31 +/* 80327954 003248B4 7C 1F 03 78 */ mr r31, r0 +/* 80327958 003248B8 4B FF F3 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032795C 003248BC 7C 60 1B 78 */ mr r0, r3 +/* 80327960 003248C0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327964 003248C4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327968 003248C8 38 60 00 18 */ li r3, 0x18 +/* 8032796C 003248CC 7C 1B 03 78 */ mr r27, r0 +/* 80327970 003248D0 38 A0 00 00 */ li r5, 0 +/* 80327974 003248D4 48 04 51 11 */ bl __nw__FUlPCcPCc_0 +/* 80327978 003248D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032797C 003248DC 41 82 00 20 */ beq lbl_8032799C +/* 80327980 003248E0 7F 84 E3 78 */ mr r4, r28 +/* 80327984 003248E4 7F A5 EB 78 */ mr r5, r29 +/* 80327988 003248E8 7F C6 F3 78 */ mr r6, r30 +/* 8032798C 003248EC 7F E7 FB 78 */ mr r7, r31 +/* 80327990 003248F0 7F 68 DB 78 */ mr r8, r27 +/* 80327994 003248F4 48 00 93 A5 */ bl __ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80327998 003248F8 7C 60 1B 78 */ mr r0, r3 +lbl_8032799C: +/* 8032799C 003248FC 7C 03 03 78 */ mr r3, r0 +/* 803279A0 00324900 48 00 01 F0 */ b lbl_80327B90 +lbl_803279A4: +/* 803279A4 00324904 7F E3 FB 78 */ mr r3, r31 +/* 803279A8 00324908 48 00 01 FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803279AC 0032490C 7C 60 1B 78 */ mr r0, r3 +/* 803279B0 00324910 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803279B4 00324914 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803279B8 00324918 38 60 00 08 */ li r3, 8 +/* 803279BC 0032491C 7C 1B 03 78 */ mr r27, r0 +/* 803279C0 00324920 38 A0 00 00 */ li r5, 0 +/* 803279C4 00324924 48 04 50 C1 */ bl __nw__FUlPCcPCc_0 +/* 803279C8 00324928 7C 60 1B 79 */ or. r0, r3, r3 +/* 803279CC 0032492C 41 82 00 10 */ beq lbl_803279DC +/* 803279D0 00324930 7F 64 DB 78 */ mr r4, r27 +/* 803279D4 00324934 48 00 91 2D */ bl __ct__7CRECEXTFP11CIntElement +/* 803279D8 00324938 7C 60 1B 78 */ mr r0, r3 +lbl_803279DC: +/* 803279DC 0032493C 7C 03 03 78 */ mr r3, r0 +/* 803279E0 00324940 48 00 01 B0 */ b lbl_80327B90 +lbl_803279E4: +/* 803279E4 00324944 7F E3 FB 78 */ mr r3, r31 +/* 803279E8 00324948 48 00 01 BD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803279EC 0032494C 7C 60 1B 78 */ mr r0, r3 +/* 803279F0 00324950 7F E3 FB 78 */ mr r3, r31 +/* 803279F4 00324954 7C 1B 03 78 */ mr r27, r0 +/* 803279F8 00324958 4B FF F2 99 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803279FC 0032495C 7C 60 1B 78 */ mr r0, r3 +/* 80327A00 00324960 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327A04 00324964 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327A08 00324968 38 60 00 0C */ li r3, 0xc +/* 80327A0C 0032496C 7C 1C 03 78 */ mr r28, r0 +/* 80327A10 00324970 38 A0 00 00 */ li r5, 0 +/* 80327A14 00324974 48 04 50 71 */ bl __nw__FUlPCcPCc_0 +/* 80327A18 00324978 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327A1C 0032497C 41 82 00 14 */ beq lbl_80327A30 +/* 80327A20 00324980 7F 64 DB 78 */ mr r4, r27 +/* 80327A24 00324984 7F 85 E3 78 */ mr r5, r28 +/* 80327A28 00324988 48 00 88 D1 */ bl __ct__15CREIntTimesRealFP12CRealElementP11CIntElement +/* 80327A2C 0032498C 7C 60 1B 78 */ mr r0, r3 +lbl_80327A30: +/* 80327A30 00324990 7C 03 03 78 */ mr r3, r0 +/* 80327A34 00324994 48 00 01 5C */ b lbl_80327B90 +lbl_80327A38: +/* 80327A38 00324998 7F E3 FB 78 */ mr r3, r31 +/* 80327A3C 0032499C 4B FF F2 55 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327A40 003249A0 7C 60 1B 78 */ mr r0, r3 +/* 80327A44 003249A4 7F E3 FB 78 */ mr r3, r31 +/* 80327A48 003249A8 7C 1B 03 78 */ mr r27, r0 +/* 80327A4C 003249AC 4B FF F2 45 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327A50 003249B0 7C 60 1B 78 */ mr r0, r3 +/* 80327A54 003249B4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327A58 003249B8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327A5C 003249BC 38 60 00 0C */ li r3, 0xc +/* 80327A60 003249C0 7C 1C 03 78 */ mr r28, r0 +/* 80327A64 003249C4 38 A0 00 00 */ li r5, 0 +/* 80327A68 003249C8 48 04 50 1D */ bl __nw__FUlPCcPCc_0 +/* 80327A6C 003249CC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327A70 003249D0 41 82 00 14 */ beq lbl_80327A84 +/* 80327A74 003249D4 7F 64 DB 78 */ mr r4, r27 +/* 80327A78 003249D8 7F 85 E3 78 */ mr r5, r28 +/* 80327A7C 003249DC 48 00 8F 21 */ bl __ct__11CRESubtractFP12CRealElementP12CRealElement +/* 80327A80 003249E0 7C 60 1B 78 */ mr r0, r3 +lbl_80327A84: +/* 80327A84 003249E4 7C 03 03 78 */ mr r3, r0 +/* 80327A88 003249E8 48 00 01 08 */ b lbl_80327B90 +lbl_80327A8C: +/* 80327A8C 003249EC 7F E3 FB 78 */ mr r3, r31 +/* 80327A90 003249F0 4B FF D7 CD */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327A94 003249F4 7C 60 1B 78 */ mr r0, r3 +/* 80327A98 003249F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327A9C 003249FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327AA0 00324A00 38 60 00 08 */ li r3, 8 +/* 80327AA4 00324A04 7C 1B 03 78 */ mr r27, r0 +/* 80327AA8 00324A08 38 A0 00 00 */ li r5, 0 +/* 80327AAC 00324A0C 48 04 4F D9 */ bl __nw__FUlPCcPCc_0 +/* 80327AB0 00324A10 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327AB4 00324A14 41 82 00 10 */ beq lbl_80327AC4 +/* 80327AB8 00324A18 7F 64 DB 78 */ mr r4, r27 +/* 80327ABC 00324A1C 48 00 8D 61 */ bl __ct__18CREGetComponentRedFP13CColorElement +/* 80327AC0 00324A20 7C 60 1B 78 */ mr r0, r3 +lbl_80327AC4: +/* 80327AC4 00324A24 7C 03 03 78 */ mr r3, r0 +/* 80327AC8 00324A28 48 00 00 C8 */ b lbl_80327B90 +lbl_80327ACC: +/* 80327ACC 00324A2C 7F E3 FB 78 */ mr r3, r31 +/* 80327AD0 00324A30 4B FF D7 8D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327AD4 00324A34 7C 60 1B 78 */ mr r0, r3 +/* 80327AD8 00324A38 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327ADC 00324A3C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327AE0 00324A40 38 60 00 08 */ li r3, 8 +/* 80327AE4 00324A44 7C 1B 03 78 */ mr r27, r0 +/* 80327AE8 00324A48 38 A0 00 00 */ li r5, 0 +/* 80327AEC 00324A4C 48 04 4F 99 */ bl __nw__FUlPCcPCc_0 +/* 80327AF0 00324A50 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327AF4 00324A54 41 82 00 10 */ beq lbl_80327B04 +/* 80327AF8 00324A58 7F 64 DB 78 */ mr r4, r27 +/* 80327AFC 00324A5C 48 00 8B D9 */ bl __ct__20CREGetComponentGreenFP13CColorElement +/* 80327B00 00324A60 7C 60 1B 78 */ mr r0, r3 +lbl_80327B04: +/* 80327B04 00324A64 7C 03 03 78 */ mr r3, r0 +/* 80327B08 00324A68 48 00 00 88 */ b lbl_80327B90 +lbl_80327B0C: +/* 80327B0C 00324A6C 7F E3 FB 78 */ mr r3, r31 +/* 80327B10 00324A70 4B FF D7 4D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327B14 00324A74 7C 60 1B 78 */ mr r0, r3 +/* 80327B18 00324A78 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327B1C 00324A7C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327B20 00324A80 38 60 00 08 */ li r3, 8 +/* 80327B24 00324A84 7C 1B 03 78 */ mr r27, r0 +/* 80327B28 00324A88 38 A0 00 00 */ li r5, 0 +/* 80327B2C 00324A8C 48 04 4F 59 */ bl __nw__FUlPCcPCc_0 +/* 80327B30 00324A90 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327B34 00324A94 41 82 00 10 */ beq lbl_80327B44 +/* 80327B38 00324A98 7F 64 DB 78 */ mr r4, r27 +/* 80327B3C 00324A9C 48 00 8A 51 */ bl __ct__19CREGetComponentBlueFP13CColorElement +/* 80327B40 00324AA0 7C 60 1B 78 */ mr r0, r3 +lbl_80327B44: +/* 80327B44 00324AA4 7C 03 03 78 */ mr r3, r0 +/* 80327B48 00324AA8 48 00 00 48 */ b lbl_80327B90 +lbl_80327B4C: +/* 80327B4C 00324AAC 7F E3 FB 78 */ mr r3, r31 +/* 80327B50 00324AB0 4B FF D7 0D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327B54 00324AB4 7C 60 1B 78 */ mr r0, r3 +/* 80327B58 00324AB8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327B5C 00324ABC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327B60 00324AC0 38 60 00 08 */ li r3, 8 +/* 80327B64 00324AC4 7C 1B 03 78 */ mr r27, r0 +/* 80327B68 00324AC8 38 A0 00 00 */ li r5, 0 +/* 80327B6C 00324ACC 48 04 4F 19 */ bl __nw__FUlPCcPCc_0 +/* 80327B70 00324AD0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327B74 00324AD4 41 82 00 10 */ beq lbl_80327B84 +/* 80327B78 00324AD8 7F 64 DB 78 */ mr r4, r27 +/* 80327B7C 00324ADC 48 00 88 C9 */ bl __ct__20CREGetComponentAlphaFP13CColorElement +/* 80327B80 00324AE0 7C 60 1B 78 */ mr r0, r3 +lbl_80327B84: +/* 80327B84 00324AE4 7C 03 03 78 */ mr r3, r0 +/* 80327B88 00324AE8 48 00 00 08 */ b lbl_80327B90 +lbl_80327B8C: +/* 80327B8C 00324AEC 38 60 00 00 */ li r3, 0 +lbl_80327B90: +/* 80327B90 00324AF0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80327B94 00324AF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80327B98 00324AF8 7C 08 03 A6 */ mtlr r0 +/* 80327B9C 00324AFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80327BA0 00324B00 4E 80 00 20 */ blr + +.global GetIntElement__20CParticleDataFactoryFR12CInputStream +GetIntElement__20CParticleDataFactoryFR12CInputStream: +/* 80327BA4 00324B04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80327BA8 00324B08 7C 08 02 A6 */ mflr r0 +/* 80327BAC 00324B0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80327BB0 00324B10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80327BB4 00324B14 7C 7F 1B 78 */ mr r31, r3 +/* 80327BB8 00324B18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80327BBC 00324B1C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80327BC0 00324B20 93 81 00 10 */ stw r28, 0x10(r1) +/* 80327BC4 00324B24 48 00 08 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80327BC8 00324B28 3C A0 4B 45 */ lis r5, 0x4B455945@ha +/* 80327BCC 00324B2C 38 05 59 45 */ addi r0, r5, 0x4B455945@l +/* 80327BD0 00324B30 7C 03 00 00 */ cmpw r3, r0 +/* 80327BD4 00324B34 41 82 01 E4 */ beq lbl_80327DB8 +/* 80327BD8 00324B38 40 80 00 E0 */ bge lbl_80327CB8 +/* 80327BDC 00324B3C 3C 80 47 41 */ lis r4, 0x47415043@ha +/* 80327BE0 00324B40 38 04 50 43 */ addi r0, r4, 0x47415043@l +/* 80327BE4 00324B44 7C 03 00 00 */ cmpw r3, r0 +/* 80327BE8 00324B48 41 82 07 54 */ beq lbl_8032833C +/* 80327BEC 00324B4C 40 80 00 68 */ bge lbl_80327C54 +/* 80327BF0 00324B50 3C 80 43 4C */ lis r4, 0x434C4D50@ha +/* 80327BF4 00324B54 38 04 4D 50 */ addi r0, r4, 0x434C4D50@l +/* 80327BF8 00324B58 7C 03 00 00 */ cmpw r3, r0 +/* 80327BFC 00324B5C 41 82 05 68 */ beq lbl_80328164 +/* 80327C00 00324B60 40 80 00 2C */ bge lbl_80327C2C +/* 80327C04 00324B64 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 80327C08 00324B68 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 80327C0C 00324B6C 7C 03 00 00 */ cmpw r3, r0 +/* 80327C10 00324B70 41 82 02 68 */ beq lbl_80327E78 +/* 80327C14 00324B74 40 80 07 B0 */ bge lbl_803283C4 +/* 80327C18 00324B78 3C 80 41 44 */ lis r4, 0x4144445F@ha +/* 80327C1C 00324B7C 38 04 44 5F */ addi r0, r4, 0x4144445F@l +/* 80327C20 00324B80 7C 03 00 00 */ cmpw r3, r0 +/* 80327C24 00324B84 41 82 02 BC */ beq lbl_80327EE0 +/* 80327C28 00324B88 48 00 07 9C */ b lbl_803283C4 +lbl_80327C2C: +/* 80327C2C 00324B8C 3C 80 44 45 */ lis r4, 0x44455448@ha +/* 80327C30 00324B90 38 04 54 48 */ addi r0, r4, 0x44455448@l +/* 80327C34 00324B94 7C 03 00 00 */ cmpw r3, r0 +/* 80327C38 00324B98 41 82 01 EC */ beq lbl_80327E24 +/* 80327C3C 00324B9C 40 80 07 88 */ bge lbl_803283C4 +/* 80327C40 00324BA0 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80327C44 00324BA4 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80327C48 00324BA8 7C 03 00 00 */ cmpw r3, r0 +/* 80327C4C 00324BAC 41 82 01 30 */ beq lbl_80327D7C +/* 80327C50 00324BB0 48 00 07 74 */ b lbl_803283C4 +lbl_80327C54: +/* 80327C54 00324BB4 3C 80 49 4C */ lis r4, 0x494C5054@ha +/* 80327C58 00324BB8 38 04 50 54 */ addi r0, r4, 0x494C5054@l +/* 80327C5C 00324BBC 7C 03 00 00 */ cmpw r3, r0 +/* 80327C60 00324BC0 41 82 04 0C */ beq lbl_8032806C +/* 80327C64 00324BC4 40 80 00 2C */ bge lbl_80327C90 +/* 80327C68 00324BC8 3C 80 47 54 */ lis r4, 0x47544350@ha +/* 80327C6C 00324BCC 38 04 43 50 */ addi r0, r4, 0x47544350@l +/* 80327C70 00324BD0 7C 03 00 00 */ cmpw r3, r0 +/* 80327C74 00324BD4 41 82 06 84 */ beq lbl_803282F8 +/* 80327C78 00324BD8 40 80 07 4C */ bge lbl_803283C4 +/* 80327C7C 00324BDC 3C 80 47 45 */ lis r4, 0x47454D54@ha +/* 80327C80 00324BE0 38 04 4D 54 */ addi r0, r4, 0x47454D54@l +/* 80327C84 00324BE4 7C 03 00 00 */ cmpw r3, r0 +/* 80327C88 00324BE8 41 82 06 F8 */ beq lbl_80328380 +/* 80327C8C 00324BEC 48 00 07 38 */ b lbl_803283C4 +lbl_80327C90: +/* 80327C90 00324BF0 3C 80 49 52 */ lis r4, 0x49524E44@ha +/* 80327C94 00324BF4 38 04 4E 44 */ addi r0, r4, 0x49524E44@l +/* 80327C98 00324BF8 7C 03 00 00 */ cmpw r3, r0 +/* 80327C9C 00324BFC 41 82 04 74 */ beq lbl_80328110 +/* 80327CA0 00324C00 40 80 07 24 */ bge lbl_803283C4 +/* 80327CA4 00324C04 3C 80 49 4D */ lis r4, 0x494D504C@ha +/* 80327CA8 00324C08 38 04 50 4C */ addi r0, r4, 0x494D504C@l +/* 80327CAC 00324C0C 7C 03 00 00 */ cmpw r3, r0 +/* 80327CB0 00324C10 41 82 03 80 */ beq lbl_80328030 +/* 80327CB4 00324C14 48 00 07 10 */ b lbl_803283C4 +lbl_80327CB8: +/* 80327CB8 00324C18 3C 80 52 41 */ lis r4, 0x52414E44@ha +/* 80327CBC 00324C1C 38 04 4E 44 */ addi r0, r4, 0x52414E44@l +/* 80327CC0 00324C20 7C 03 00 00 */ cmpw r3, r0 +/* 80327CC4 00324C24 41 82 03 18 */ beq lbl_80327FDC +/* 80327CC8 00324C28 40 80 00 64 */ bge lbl_80327D2C +/* 80327CCC 00324C2C 3C 80 4D 55 */ lis r4, 0x4D554C54@ha +/* 80327CD0 00324C30 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l +/* 80327CD4 00324C34 7C 03 00 00 */ cmpw r3, r0 +/* 80327CD8 00324C38 41 82 02 5C */ beq lbl_80327F34 +/* 80327CDC 00324C3C 40 80 00 28 */ bge lbl_80327D04 +/* 80327CE0 00324C40 3C 80 4D 4F */ lis r4, 0x4D4F4455@ha +/* 80327CE4 00324C44 38 04 44 55 */ addi r0, r4, 0x4D4F4455@l +/* 80327CE8 00324C48 7C 03 00 00 */ cmpw r3, r0 +/* 80327CEC 00324C4C 41 82 02 9C */ beq lbl_80327F88 +/* 80327CF0 00324C50 40 80 06 D4 */ bge lbl_803283C4 +/* 80327CF4 00324C54 38 05 59 50 */ addi r0, r5, 0x5950 +/* 80327CF8 00324C58 7C 03 00 00 */ cmpw r3, r0 +/* 80327CFC 00324C5C 41 82 00 BC */ beq lbl_80327DB8 +/* 80327D00 00324C60 48 00 06 C4 */ b lbl_803283C4 +lbl_80327D04: +/* 80327D04 00324C64 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 80327D08 00324C68 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 80327D0C 00324C6C 7C 03 00 00 */ cmpw r3, r0 +/* 80327D10 00324C70 41 82 04 BC */ beq lbl_803281CC +/* 80327D14 00324C74 40 80 06 B0 */ bge lbl_803283C4 +/* 80327D18 00324C78 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80327D1C 00324C7C 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80327D20 00324C80 7C 03 00 00 */ cmpw r3, r0 +/* 80327D24 00324C84 41 82 05 24 */ beq lbl_80328248 +/* 80327D28 00324C88 48 00 06 9C */ b lbl_803283C4 +lbl_80327D2C: +/* 80327D2C 00324C8C 3C 80 53 55 */ lis r4, 0x5355425F@ha +/* 80327D30 00324C90 38 04 42 5F */ addi r0, r4, 0x5355425F@l +/* 80327D34 00324C94 7C 03 00 00 */ cmpw r3, r0 +/* 80327D38 00324C98 41 82 05 6C */ beq lbl_803282A4 +/* 80327D3C 00324C9C 40 80 00 2C */ bge lbl_80327D68 +/* 80327D40 00324CA0 3C 80 53 50 */ lis r4, 0x53504148@ha +/* 80327D44 00324CA4 38 04 41 48 */ addi r0, r4, 0x53504148@l +/* 80327D48 00324CA8 7C 03 00 00 */ cmpw r3, r0 +/* 80327D4C 00324CAC 41 82 03 5C */ beq lbl_803280A8 +/* 80327D50 00324CB0 40 80 06 74 */ bge lbl_803283C4 +/* 80327D54 00324CB4 3C 80 52 54 */ lis r4, 0x52544F49@ha +/* 80327D58 00324CB8 38 04 4F 49 */ addi r0, r4, 0x52544F49@l +/* 80327D5C 00324CBC 7C 03 00 00 */ cmpw r3, r0 +/* 80327D60 00324CC0 41 82 04 F0 */ beq lbl_80328250 +/* 80327D64 00324CC4 48 00 06 60 */ b lbl_803283C4 +lbl_80327D68: +/* 80327D68 00324CC8 3C 80 54 53 */ lis r4, 0x5453434C@ha +/* 80327D6C 00324CCC 38 04 43 4C */ addi r0, r4, 0x5453434C@l +/* 80327D70 00324CD0 7C 03 00 00 */ cmpw r3, r0 +/* 80327D74 00324CD4 41 82 00 74 */ beq lbl_80327DE8 +/* 80327D78 00324CD8 48 00 06 4C */ b lbl_803283C4 +lbl_80327D7C: +/* 80327D7C 00324CDC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327D80 00324CE0 38 60 00 08 */ li r3, 8 +/* 80327D84 00324CE4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327D88 00324CE8 38 A0 00 00 */ li r5, 0 +/* 80327D8C 00324CEC 48 04 4C F9 */ bl __nw__FUlPCcPCc_0 +/* 80327D90 00324CF0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80327D94 00324CF4 41 82 00 1C */ beq lbl_80327DB0 +/* 80327D98 00324CF8 7F E3 FB 78 */ mr r3, r31 +/* 80327D9C 00324CFC 48 00 06 6D */ bl GetInt__20CParticleDataFactoryFR12CInputStream +/* 80327DA0 00324D00 7C 64 1B 78 */ mr r4, r3 +/* 80327DA4 00324D04 7F C3 F3 78 */ mr r3, r30 +/* 80327DA8 00324D08 4B FF AB 41 */ bl __ct__11CIEConstantFi +/* 80327DAC 00324D0C 7C 7E 1B 78 */ mr r30, r3 +lbl_80327DB0: +/* 80327DB0 00324D10 7F C3 F3 78 */ mr r3, r30 +/* 80327DB4 00324D14 48 00 06 14 */ b lbl_803283C8 +lbl_80327DB8: +/* 80327DB8 00324D18 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327DBC 00324D1C 38 60 00 28 */ li r3, 0x28 +/* 80327DC0 00324D20 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327DC4 00324D24 38 A0 00 00 */ li r5, 0 +/* 80327DC8 00324D28 48 04 4C BD */ bl __nw__FUlPCcPCc_0 +/* 80327DCC 00324D2C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327DD0 00324D30 41 82 00 10 */ beq lbl_80327DE0 +/* 80327DD4 00324D34 7F E4 FB 78 */ mr r4, r31 +/* 80327DD8 00324D38 4B FF 94 D5 */ bl __ct__18CIEKeyframeEmitterFR12CInputStream +/* 80327DDC 00324D3C 7C 60 1B 78 */ mr r0, r3 +lbl_80327DE0: +/* 80327DE0 00324D40 7C 03 03 78 */ mr r3, r0 +/* 80327DE4 00324D44 48 00 05 E4 */ b lbl_803283C8 +lbl_80327DE8: +/* 80327DE8 00324D48 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327DEC 00324D4C 38 60 00 08 */ li r3, 8 +/* 80327DF0 00324D50 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327DF4 00324D54 38 A0 00 00 */ li r5, 0 +/* 80327DF8 00324D58 48 04 4C 8D */ bl __nw__FUlPCcPCc_0 +/* 80327DFC 00324D5C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80327E00 00324D60 41 82 00 1C */ beq lbl_80327E1C +/* 80327E04 00324D64 7F E3 FB 78 */ mr r3, r31 +/* 80327E08 00324D68 4B FF EE 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327E0C 00324D6C 7C 64 1B 78 */ mr r4, r3 +/* 80327E10 00324D70 7F C3 F3 78 */ mr r3, r30 +/* 80327E14 00324D74 4B FF 9F A5 */ bl __ct__12CIETimescaleFP12CRealElement +/* 80327E18 00324D78 7C 7E 1B 78 */ mr r30, r3 +lbl_80327E1C: +/* 80327E1C 00324D7C 7F C3 F3 78 */ mr r3, r30 +/* 80327E20 00324D80 48 00 05 A8 */ b lbl_803283C8 +lbl_80327E24: +/* 80327E24 00324D84 7F E3 FB 78 */ mr r3, r31 +/* 80327E28 00324D88 4B FF FD 7D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E2C 00324D8C 7C 60 1B 78 */ mr r0, r3 +/* 80327E30 00324D90 7F E3 FB 78 */ mr r3, r31 +/* 80327E34 00324D94 7C 1E 03 78 */ mr r30, r0 +/* 80327E38 00324D98 4B FF FD 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E3C 00324D9C 7C 60 1B 78 */ mr r0, r3 +/* 80327E40 00324DA0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327E44 00324DA4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327E48 00324DA8 38 60 00 0C */ li r3, 0xc +/* 80327E4C 00324DAC 7C 1F 03 78 */ mr r31, r0 +/* 80327E50 00324DB0 38 A0 00 00 */ li r5, 0 +/* 80327E54 00324DB4 48 04 4C 31 */ bl __nw__FUlPCcPCc_0 +/* 80327E58 00324DB8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327E5C 00324DBC 41 82 00 14 */ beq lbl_80327E70 +/* 80327E60 00324DC0 7F C4 F3 78 */ mr r4, r30 +/* 80327E64 00324DC4 7F E5 FB 78 */ mr r5, r31 +/* 80327E68 00324DC8 4B FF A9 D1 */ bl __ct__8CIEDeathFP11CIntElementP11CIntElement +/* 80327E6C 00324DCC 7C 60 1B 78 */ mr r0, r3 +lbl_80327E70: +/* 80327E70 00324DD0 7C 03 03 78 */ mr r3, r0 +/* 80327E74 00324DD4 48 00 05 54 */ b lbl_803283C8 +lbl_80327E78: +/* 80327E78 00324DD8 7F E3 FB 78 */ mr r3, r31 +/* 80327E7C 00324DDC 4B FF FD 29 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E80 00324DE0 7C 60 1B 78 */ mr r0, r3 +/* 80327E84 00324DE4 7F E3 FB 78 */ mr r3, r31 +/* 80327E88 00324DE8 7C 1E 03 78 */ mr r30, r0 +/* 80327E8C 00324DEC 4B FF FD 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E90 00324DF0 7C 60 1B 78 */ mr r0, r3 +/* 80327E94 00324DF4 7F E3 FB 78 */ mr r3, r31 +/* 80327E98 00324DF8 7C 1F 03 78 */ mr r31, r0 +/* 80327E9C 00324DFC 4B FF FD 09 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327EA0 00324E00 7C 60 1B 78 */ mr r0, r3 +/* 80327EA4 00324E04 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327EA8 00324E08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327EAC 00324E0C 38 60 00 10 */ li r3, 0x10 +/* 80327EB0 00324E10 7C 1D 03 78 */ mr r29, r0 +/* 80327EB4 00324E14 38 A0 00 00 */ li r5, 0 +/* 80327EB8 00324E18 48 04 4B CD */ bl __nw__FUlPCcPCc_0 +/* 80327EBC 00324E1C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327EC0 00324E20 41 82 00 18 */ beq lbl_80327ED8 +/* 80327EC4 00324E24 7F C4 F3 78 */ mr r4, r30 +/* 80327EC8 00324E28 7F E5 FB 78 */ mr r5, r31 +/* 80327ECC 00324E2C 7F A6 EB 78 */ mr r6, r29 +/* 80327ED0 00324E30 4B FF 9C 11 */ bl __ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement +/* 80327ED4 00324E34 7C 60 1B 78 */ mr r0, r3 +lbl_80327ED8: +/* 80327ED8 00324E38 7C 03 03 78 */ mr r3, r0 +/* 80327EDC 00324E3C 48 00 04 EC */ b lbl_803283C8 +lbl_80327EE0: +/* 80327EE0 00324E40 7F E3 FB 78 */ mr r3, r31 +/* 80327EE4 00324E44 4B FF FC C1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327EE8 00324E48 7C 60 1B 78 */ mr r0, r3 +/* 80327EEC 00324E4C 7F E3 FB 78 */ mr r3, r31 +/* 80327EF0 00324E50 7C 1D 03 78 */ mr r29, r0 +/* 80327EF4 00324E54 4B FF FC B1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327EF8 00324E58 7C 60 1B 78 */ mr r0, r3 +/* 80327EFC 00324E5C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327F00 00324E60 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327F04 00324E64 38 60 00 0C */ li r3, 0xc +/* 80327F08 00324E68 7C 1E 03 78 */ mr r30, r0 +/* 80327F0C 00324E6C 38 A0 00 00 */ li r5, 0 +/* 80327F10 00324E70 48 04 4B 75 */ bl __nw__FUlPCcPCc_0 +/* 80327F14 00324E74 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327F18 00324E78 41 82 00 14 */ beq lbl_80327F2C +/* 80327F1C 00324E7C 7F A4 EB 78 */ mr r4, r29 +/* 80327F20 00324E80 7F C5 F3 78 */ mr r5, r30 +/* 80327F24 00324E84 4B FF A7 A9 */ bl __ct__6CIEAddFP11CIntElementP11CIntElement +/* 80327F28 00324E88 7C 60 1B 78 */ mr r0, r3 +lbl_80327F2C: +/* 80327F2C 00324E8C 7C 03 03 78 */ mr r3, r0 +/* 80327F30 00324E90 48 00 04 98 */ b lbl_803283C8 +lbl_80327F34: +/* 80327F34 00324E94 7F E3 FB 78 */ mr r3, r31 +/* 80327F38 00324E98 4B FF FC 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327F3C 00324E9C 7C 60 1B 78 */ mr r0, r3 +/* 80327F40 00324EA0 7F E3 FB 78 */ mr r3, r31 +/* 80327F44 00324EA4 7C 1D 03 78 */ mr r29, r0 +/* 80327F48 00324EA8 4B FF FC 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327F4C 00324EAC 7C 60 1B 78 */ mr r0, r3 +/* 80327F50 00324EB0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327F54 00324EB4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327F58 00324EB8 38 60 00 0C */ li r3, 0xc +/* 80327F5C 00324EBC 7C 1E 03 78 */ mr r30, r0 +/* 80327F60 00324EC0 38 A0 00 00 */ li r5, 0 +/* 80327F64 00324EC4 48 04 4B 21 */ bl __nw__FUlPCcPCc_0 +/* 80327F68 00324EC8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327F6C 00324ECC 41 82 00 14 */ beq lbl_80327F80 +/* 80327F70 00324ED0 7F A4 EB 78 */ mr r4, r29 +/* 80327F74 00324ED4 7F C5 F3 78 */ mr r5, r30 +/* 80327F78 00324ED8 4B FF A5 DD */ bl __ct__11CIEMultiplyFP11CIntElementP11CIntElement +/* 80327F7C 00324EDC 7C 60 1B 78 */ mr r0, r3 +lbl_80327F80: +/* 80327F80 00324EE0 7C 03 03 78 */ mr r3, r0 +/* 80327F84 00324EE4 48 00 04 44 */ b lbl_803283C8 +lbl_80327F88: +/* 80327F88 00324EE8 7F E3 FB 78 */ mr r3, r31 +/* 80327F8C 00324EEC 4B FF FC 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327F90 00324EF0 7C 60 1B 78 */ mr r0, r3 +/* 80327F94 00324EF4 7F E3 FB 78 */ mr r3, r31 +/* 80327F98 00324EF8 7C 1D 03 78 */ mr r29, r0 +/* 80327F9C 00324EFC 4B FF FC 09 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327FA0 00324F00 7C 60 1B 78 */ mr r0, r3 +/* 80327FA4 00324F04 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327FA8 00324F08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327FAC 00324F0C 38 60 00 0C */ li r3, 0xc +/* 80327FB0 00324F10 7C 1E 03 78 */ mr r30, r0 +/* 80327FB4 00324F14 38 A0 00 00 */ li r5, 0 +/* 80327FB8 00324F18 48 04 4A CD */ bl __nw__FUlPCcPCc_0 +/* 80327FBC 00324F1C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327FC0 00324F20 41 82 00 14 */ beq lbl_80327FD4 +/* 80327FC4 00324F24 7F A4 EB 78 */ mr r4, r29 +/* 80327FC8 00324F28 7F C5 F3 78 */ mr r5, r30 +/* 80327FCC 00324F2C 4B FF A4 11 */ bl __ct__9CIEModuloFP11CIntElementP11CIntElement +/* 80327FD0 00324F30 7C 60 1B 78 */ mr r0, r3 +lbl_80327FD4: +/* 80327FD4 00324F34 7C 03 03 78 */ mr r3, r0 +/* 80327FD8 00324F38 48 00 03 F0 */ b lbl_803283C8 +lbl_80327FDC: +/* 80327FDC 00324F3C 7F E3 FB 78 */ mr r3, r31 +/* 80327FE0 00324F40 4B FF FB C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327FE4 00324F44 7C 60 1B 78 */ mr r0, r3 +/* 80327FE8 00324F48 7F E3 FB 78 */ mr r3, r31 +/* 80327FEC 00324F4C 7C 1D 03 78 */ mr r29, r0 +/* 80327FF0 00324F50 4B FF FB B5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327FF4 00324F54 7C 60 1B 78 */ mr r0, r3 +/* 80327FF8 00324F58 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327FFC 00324F5C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328000 00324F60 38 60 00 0C */ li r3, 0xc +/* 80328004 00324F64 7C 1E 03 78 */ mr r30, r0 +/* 80328008 00324F68 38 A0 00 00 */ li r5, 0 +/* 8032800C 00324F6C 48 04 4A 79 */ bl __nw__FUlPCcPCc_0 +/* 80328010 00324F70 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328014 00324F74 41 82 00 14 */ beq lbl_80328028 +/* 80328018 00324F78 7F A4 EB 78 */ mr r4, r29 +/* 8032801C 00324F7C 7F C5 F3 78 */ mr r5, r30 +/* 80328020 00324F80 4B FF A2 29 */ bl __ct__9CIERandomFP11CIntElementP11CIntElement +/* 80328024 00324F84 7C 60 1B 78 */ mr r0, r3 +lbl_80328028: +/* 80328028 00324F88 7C 03 03 78 */ mr r3, r0 +/* 8032802C 00324F8C 48 00 03 9C */ b lbl_803283C8 +lbl_80328030: +/* 80328030 00324F90 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328034 00324F94 38 60 00 08 */ li r3, 8 +/* 80328038 00324F98 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032803C 00324F9C 38 A0 00 00 */ li r5, 0 +/* 80328040 00324FA0 48 04 4A 45 */ bl __nw__FUlPCcPCc_0 +/* 80328044 00324FA4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80328048 00324FA8 41 82 00 1C */ beq lbl_80328064 +/* 8032804C 00324FAC 7F E3 FB 78 */ mr r3, r31 +/* 80328050 00324FB0 4B FF FB 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328054 00324FB4 7C 64 1B 78 */ mr r4, r3 +/* 80328058 00324FB8 7F C3 F3 78 */ mr r3, r30 +/* 8032805C 00324FBC 4B FF 9E 71 */ bl __ct__10CIEImpulseFP11CIntElement +/* 80328060 00324FC0 7C 7E 1B 78 */ mr r30, r3 +lbl_80328064: +/* 80328064 00324FC4 7F C3 F3 78 */ mr r3, r30 +/* 80328068 00324FC8 48 00 03 60 */ b lbl_803283C8 +lbl_8032806C: +/* 8032806C 00324FCC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328070 00324FD0 38 60 00 08 */ li r3, 8 +/* 80328074 00324FD4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328078 00324FD8 38 A0 00 00 */ li r5, 0 +/* 8032807C 00324FDC 48 04 4A 09 */ bl __nw__FUlPCcPCc_0 +/* 80328080 00324FE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80328084 00324FE4 41 82 00 1C */ beq lbl_803280A0 +/* 80328088 00324FE8 7F E3 FB 78 */ mr r3, r31 +/* 8032808C 00324FEC 4B FF FB 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328090 00324FF0 7C 64 1B 78 */ mr r4, r3 +/* 80328094 00324FF4 7F C3 F3 78 */ mr r3, r30 +/* 80328098 00324FF8 4B FF 94 8D */ bl __ct__18CIELifetimePercentFP11CIntElement +/* 8032809C 00324FFC 7C 7E 1B 78 */ mr r30, r3 +lbl_803280A0: +/* 803280A0 00325000 7F C3 F3 78 */ mr r3, r30 +/* 803280A4 00325004 48 00 03 24 */ b lbl_803283C8 +lbl_803280A8: +/* 803280A8 00325008 7F E3 FB 78 */ mr r3, r31 +/* 803280AC 0032500C 4B FF FA F9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803280B0 00325010 7C 60 1B 78 */ mr r0, r3 +/* 803280B4 00325014 7F E3 FB 78 */ mr r3, r31 +/* 803280B8 00325018 7C 1D 03 78 */ mr r29, r0 +/* 803280BC 0032501C 4B FF FA E9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803280C0 00325020 7C 60 1B 78 */ mr r0, r3 +/* 803280C4 00325024 7F E3 FB 78 */ mr r3, r31 +/* 803280C8 00325028 7C 1E 03 78 */ mr r30, r0 +/* 803280CC 0032502C 4B FF FA D9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803280D0 00325030 7C 60 1B 78 */ mr r0, r3 +/* 803280D4 00325034 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803280D8 00325038 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803280DC 0032503C 38 60 00 18 */ li r3, 0x18 +/* 803280E0 00325040 7C 1F 03 78 */ mr r31, r0 +/* 803280E4 00325044 38 A0 00 00 */ li r5, 0 +/* 803280E8 00325048 48 04 49 9D */ bl __nw__FUlPCcPCc_0 +/* 803280EC 0032504C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803280F0 00325050 41 82 00 18 */ beq lbl_80328108 +/* 803280F4 00325054 7F E4 FB 78 */ mr r4, r31 +/* 803280F8 00325058 7F A5 EB 78 */ mr r5, r29 +/* 803280FC 0032505C 7F C6 F3 78 */ mr r6, r30 +/* 80328100 00325060 4B FF 9F A5 */ bl __ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement +/* 80328104 00325064 7C 60 1B 78 */ mr r0, r3 +lbl_80328108: +/* 80328108 00325068 7C 03 03 78 */ mr r3, r0 +/* 8032810C 0032506C 48 00 02 BC */ b lbl_803283C8 +lbl_80328110: +/* 80328110 00325070 7F E3 FB 78 */ mr r3, r31 +/* 80328114 00325074 4B FF FA 91 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328118 00325078 7C 60 1B 78 */ mr r0, r3 +/* 8032811C 0032507C 7F E3 FB 78 */ mr r3, r31 +/* 80328120 00325080 7C 1D 03 78 */ mr r29, r0 +/* 80328124 00325084 4B FF FA 81 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328128 00325088 7C 60 1B 78 */ mr r0, r3 +/* 8032812C 0032508C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328130 00325090 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328134 00325094 38 60 00 0C */ li r3, 0xc +/* 80328138 00325098 7C 1E 03 78 */ mr r30, r0 +/* 8032813C 0032509C 38 A0 00 00 */ li r5, 0 +/* 80328140 003250A0 48 04 49 45 */ bl __nw__FUlPCcPCc_0 +/* 80328144 003250A4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328148 003250A8 41 82 00 14 */ beq lbl_8032815C +/* 8032814C 003250AC 7F A4 EB 78 */ mr r4, r29 +/* 80328150 003250B0 7F C5 F3 78 */ mr r5, r30 +/* 80328154 003250B4 4B FF 9B 11 */ bl __ct__16CIEInitialRandomFP11CIntElementP11CIntElement +/* 80328158 003250B8 7C 60 1B 78 */ mr r0, r3 +lbl_8032815C: +/* 8032815C 003250BC 7C 03 03 78 */ mr r3, r0 +/* 80328160 003250C0 48 00 02 68 */ b lbl_803283C8 +lbl_80328164: +/* 80328164 003250C4 7F E3 FB 78 */ mr r3, r31 +/* 80328168 003250C8 4B FF FA 3D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032816C 003250CC 7C 60 1B 78 */ mr r0, r3 +/* 80328170 003250D0 7F E3 FB 78 */ mr r3, r31 +/* 80328174 003250D4 7C 1D 03 78 */ mr r29, r0 +/* 80328178 003250D8 4B FF FA 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032817C 003250DC 7C 60 1B 78 */ mr r0, r3 +/* 80328180 003250E0 7F E3 FB 78 */ mr r3, r31 +/* 80328184 003250E4 7C 1E 03 78 */ mr r30, r0 +/* 80328188 003250E8 4B FF FA 1D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032818C 003250EC 7C 60 1B 78 */ mr r0, r3 +/* 80328190 003250F0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328194 003250F4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328198 003250F8 38 60 00 10 */ li r3, 0x10 +/* 8032819C 003250FC 7C 1F 03 78 */ mr r31, r0 +/* 803281A0 00325100 38 A0 00 00 */ li r5, 0 +/* 803281A4 00325104 48 04 48 E1 */ bl __nw__FUlPCcPCc_0 +/* 803281A8 00325108 7C 60 1B 79 */ or. r0, r3, r3 +/* 803281AC 0032510C 41 82 00 18 */ beq lbl_803281C4 +/* 803281B0 00325110 7F A4 EB 78 */ mr r4, r29 +/* 803281B4 00325114 7F C5 F3 78 */ mr r5, r30 +/* 803281B8 00325118 7F E6 FB 78 */ mr r6, r31 +/* 803281BC 0032511C 4B FF 97 71 */ bl __ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement +/* 803281C0 00325120 7C 60 1B 78 */ mr r0, r3 +lbl_803281C4: +/* 803281C4 00325124 7C 03 03 78 */ mr r3, r0 +/* 803281C8 00325128 48 00 02 00 */ b lbl_803283C8 +lbl_803281CC: +/* 803281CC 0032512C 7F E3 FB 78 */ mr r3, r31 +/* 803281D0 00325130 4B FF F9 D5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803281D4 00325134 7C 60 1B 78 */ mr r0, r3 +/* 803281D8 00325138 7F E3 FB 78 */ mr r3, r31 +/* 803281DC 0032513C 7C 1D 03 78 */ mr r29, r0 +/* 803281E0 00325140 4B FF F9 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803281E4 00325144 7C 60 1B 78 */ mr r0, r3 +/* 803281E8 00325148 7F E3 FB 78 */ mr r3, r31 +/* 803281EC 0032514C 7C 1E 03 78 */ mr r30, r0 +/* 803281F0 00325150 4B FF F9 B5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803281F4 00325154 7C 60 1B 78 */ mr r0, r3 +/* 803281F8 00325158 7F E3 FB 78 */ mr r3, r31 +/* 803281FC 0032515C 7C 1F 03 78 */ mr r31, r0 +/* 80328200 00325160 4B FF F9 A5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328204 00325164 7C 60 1B 78 */ mr r0, r3 +/* 80328208 00325168 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032820C 0032516C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328210 00325170 38 60 00 14 */ li r3, 0x14 +/* 80328214 00325174 7C 1C 03 78 */ mr r28, r0 +/* 80328218 00325178 38 A0 00 00 */ li r5, 0 +/* 8032821C 0032517C 48 04 48 69 */ bl __nw__FUlPCcPCc_0 +/* 80328220 00325180 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328224 00325184 41 82 00 1C */ beq lbl_80328240 +/* 80328228 00325188 7F A4 EB 78 */ mr r4, r29 +/* 8032822C 0032518C 7F C5 F3 78 */ mr r5, r30 +/* 80328230 00325190 7F E6 FB 78 */ mr r6, r31 +/* 80328234 00325194 7F 87 E3 78 */ mr r7, r28 +/* 80328238 00325198 4B FF 95 21 */ bl __ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement +/* 8032823C 0032519C 7C 60 1B 78 */ mr r0, r3 +lbl_80328240: +/* 80328240 003251A0 7C 03 03 78 */ mr r3, r0 +/* 80328244 003251A4 48 00 01 84 */ b lbl_803283C8 +lbl_80328248: +/* 80328248 003251A8 38 60 00 00 */ li r3, 0 +/* 8032824C 003251AC 48 00 01 7C */ b lbl_803283C8 +lbl_80328250: +/* 80328250 003251B0 7F E3 FB 78 */ mr r3, r31 +/* 80328254 003251B4 4B FF EA 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328258 003251B8 7C 60 1B 78 */ mr r0, r3 +/* 8032825C 003251BC 7F E3 FB 78 */ mr r3, r31 +/* 80328260 003251C0 7C 1C 03 78 */ mr r28, r0 +/* 80328264 003251C4 4B FF EA 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328268 003251C8 7C 60 1B 78 */ mr r0, r3 +/* 8032826C 003251CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328270 003251D0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328274 003251D4 38 60 00 0C */ li r3, 0xc +/* 80328278 003251D8 7C 1D 03 78 */ mr r29, r0 +/* 8032827C 003251DC 38 A0 00 00 */ li r5, 0 +/* 80328280 003251E0 48 04 48 05 */ bl __nw__FUlPCcPCc_0 +/* 80328284 003251E4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328288 003251E8 41 82 00 14 */ beq lbl_8032829C +/* 8032828C 003251EC 7F 84 E3 78 */ mr r4, r28 +/* 80328290 003251F0 7F A5 EB 78 */ mr r5, r29 +/* 80328294 003251F4 4B FF 8C 65 */ bl __ct__12CIERealToIntFP12CRealElementP12CRealElement +/* 80328298 003251F8 7C 60 1B 78 */ mr r0, r3 +lbl_8032829C: +/* 8032829C 003251FC 7C 03 03 78 */ mr r3, r0 +/* 803282A0 00325200 48 00 01 28 */ b lbl_803283C8 +lbl_803282A4: +/* 803282A4 00325204 7F E3 FB 78 */ mr r3, r31 +/* 803282A8 00325208 4B FF F8 FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803282AC 0032520C 7C 60 1B 78 */ mr r0, r3 +/* 803282B0 00325210 7F E3 FB 78 */ mr r3, r31 +/* 803282B4 00325214 7C 1C 03 78 */ mr r28, r0 +/* 803282B8 00325218 4B FF F8 ED */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803282BC 0032521C 7C 60 1B 78 */ mr r0, r3 +/* 803282C0 00325220 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803282C4 00325224 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803282C8 00325228 38 60 00 0C */ li r3, 0xc +/* 803282CC 0032522C 7C 1D 03 78 */ mr r29, r0 +/* 803282D0 00325230 38 A0 00 00 */ li r5, 0 +/* 803282D4 00325234 48 04 47 B1 */ bl __nw__FUlPCcPCc_0 +/* 803282D8 00325238 7C 60 1B 79 */ or. r0, r3, r3 +/* 803282DC 0032523C 41 82 00 14 */ beq lbl_803282F0 +/* 803282E0 00325240 7F 84 E3 78 */ mr r4, r28 +/* 803282E4 00325244 7F A5 EB 78 */ mr r5, r29 +/* 803282E8 00325248 4B FF 8D 89 */ bl __ct__11CIESubtractFP11CIntElementP11CIntElement +/* 803282EC 0032524C 7C 60 1B 78 */ mr r0, r3 +lbl_803282F0: +/* 803282F0 00325250 7C 03 03 78 */ mr r3, r0 +/* 803282F4 00325254 48 00 00 D4 */ b lbl_803283C8 +lbl_803282F8: +/* 803282F8 00325258 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803282FC 0032525C 38 60 00 04 */ li r3, 4 +/* 80328300 00325260 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328304 00325264 38 A0 00 00 */ li r5, 0 +/* 80328308 00325268 48 04 47 7D */ bl __nw__FUlPCcPCc_0 +/* 8032830C 0032526C 28 03 00 00 */ cmplwi r3, 0 +/* 80328310 00325270 41 82 00 B8 */ beq lbl_803283C8 +/* 80328314 00325274 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80328318 00325278 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 8032831C 0032527C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80328320 00325280 3C 80 80 3F */ lis r4, lbl_803EDB18@ha +/* 80328324 00325284 90 03 00 00 */ stw r0, 0(r3) +/* 80328328 00325288 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l +/* 8032832C 0032528C 38 04 DB 18 */ addi r0, r4, lbl_803EDB18@l +/* 80328330 00325290 90 A3 00 00 */ stw r5, 0(r3) +/* 80328334 00325294 90 03 00 00 */ stw r0, 0(r3) +/* 80328338 00325298 48 00 00 90 */ b lbl_803283C8 +lbl_8032833C: +/* 8032833C 0032529C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328340 003252A0 38 60 00 04 */ li r3, 4 +/* 80328344 003252A4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328348 003252A8 38 A0 00 00 */ li r5, 0 +/* 8032834C 003252AC 48 04 47 39 */ bl __nw__FUlPCcPCc_0 +/* 80328350 003252B0 28 03 00 00 */ cmplwi r3, 0 +/* 80328354 003252B4 41 82 00 74 */ beq lbl_803283C8 +/* 80328358 003252B8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 8032835C 003252BC 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 80328360 003252C0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80328364 003252C4 3C 80 80 3F */ lis r4, lbl_803EDB08@ha +/* 80328368 003252C8 90 03 00 00 */ stw r0, 0(r3) +/* 8032836C 003252CC 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l +/* 80328370 003252D0 38 04 DB 08 */ addi r0, r4, lbl_803EDB08@l +/* 80328374 003252D4 90 A3 00 00 */ stw r5, 0(r3) +/* 80328378 003252D8 90 03 00 00 */ stw r0, 0(r3) +/* 8032837C 003252DC 48 00 00 4C */ b lbl_803283C8 +lbl_80328380: +/* 80328380 003252E0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328384 003252E4 38 60 00 04 */ li r3, 4 +/* 80328388 003252E8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032838C 003252EC 38 A0 00 00 */ li r5, 0 +/* 80328390 003252F0 48 04 46 F5 */ bl __nw__FUlPCcPCc_0 +/* 80328394 003252F4 28 03 00 00 */ cmplwi r3, 0 +/* 80328398 003252F8 41 82 00 30 */ beq lbl_803283C8 +/* 8032839C 003252FC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803283A0 00325300 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 803283A4 00325304 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803283A8 00325308 3C 80 80 3F */ lis r4, lbl_803EDAF8@ha +/* 803283AC 0032530C 90 03 00 00 */ stw r0, 0(r3) +/* 803283B0 00325310 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l +/* 803283B4 00325314 38 04 DA F8 */ addi r0, r4, lbl_803EDAF8@l +/* 803283B8 00325318 90 A3 00 00 */ stw r5, 0(r3) +/* 803283BC 0032531C 90 03 00 00 */ stw r0, 0(r3) +/* 803283C0 00325320 48 00 00 08 */ b lbl_803283C8 +lbl_803283C4: +/* 803283C4 00325324 38 60 00 00 */ li r3, 0 +lbl_803283C8: +/* 803283C8 00325328 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803283CC 0032532C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803283D0 00325330 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803283D4 00325334 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803283D8 00325338 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803283DC 0032533C 7C 08 03 A6 */ mtlr r0 +/* 803283E0 00325340 38 21 00 20 */ addi r1, r1, 0x20 +/* 803283E4 00325344 4E 80 00 20 */ blr + +.global GetReal__20CParticleDataFactoryFR12CInputStream +GetReal__20CParticleDataFactoryFR12CInputStream: +/* 803283E8 00325348 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803283EC 0032534C 7C 08 02 A6 */ mflr r0 +/* 803283F0 00325350 90 01 00 14 */ stw r0, 0x14(r1) +/* 803283F4 00325354 48 01 68 35 */ bl ReadFloat__12CInputStreamFv +/* 803283F8 00325358 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803283FC 0032535C 7C 08 03 A6 */ mtlr r0 +/* 80328400 00325360 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328404 00325364 4E 80 00 20 */ blr + +.global GetInt__20CParticleDataFactoryFR12CInputStream +GetInt__20CParticleDataFactoryFR12CInputStream: +/* 80328408 00325368 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032840C 0032536C 7C 08 02 A6 */ mflr r0 +/* 80328410 00325370 90 01 00 14 */ stw r0, 0x14(r1) +/* 80328414 00325374 48 01 68 71 */ bl ReadLong__12CInputStreamFv +/* 80328418 00325378 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032841C 0032537C 7C 08 03 A6 */ mtlr r0 +/* 80328420 00325380 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328424 00325384 4E 80 00 20 */ blr + +.global GetBool__20CParticleDataFactoryFR12CInputStream +GetBool__20CParticleDataFactoryFR12CInputStream: +/* 80328428 00325388 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032842C 0032538C 7C 08 02 A6 */ mflr r0 +/* 80328430 00325390 90 01 00 14 */ stw r0, 0x14(r1) +/* 80328434 00325394 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80328438 00325398 7C 7F 1B 78 */ mr r31, r3 +/* 8032843C 0032539C 48 00 00 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80328440 003253A0 7F E3 FB 78 */ mr r3, r31 +/* 80328444 003253A4 48 01 68 99 */ bl ReadBool__12CInputStreamFv +/* 80328448 003253A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032844C 003253AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80328450 003253B0 7C 08 03 A6 */ mtlr r0 +/* 80328454 003253B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328458 003253B8 4E 80 00 20 */ blr + +.global GetClassID__20CParticleDataFactoryFR12CInputStream +GetClassID__20CParticleDataFactoryFR12CInputStream: +/* 8032845C 003253BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80328460 003253C0 7C 08 02 A6 */ mflr r0 +/* 80328464 003253C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80328468 003253C8 48 01 68 1D */ bl ReadLong__12CInputStreamFv +/* 8032846C 003253CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80328470 003253D0 7C 08 03 A6 */ mtlr r0 +/* 80328474 003253D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328478 003253D8 4E 80 00 20 */ blr + +.global "CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool" +"CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool": +/* 8032847C 003253DC 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80328480 003253E0 7C 08 02 A6 */ mflr r0 +/* 80328484 003253E4 90 01 01 64 */ stw r0, 0x164(r1) +/* 80328488 003253E8 BF 21 01 44 */ stmw r25, 0x144(r1) +/* 8032848C 003253EC 7C 7F 1B 78 */ mr r31, r3 +/* 80328490 003253F0 7C 9E 23 78 */ mr r30, r4 +/* 80328494 003253F4 7C BC 2B 78 */ mr r28, r5 +/* 80328498 003253F8 7C DD 33 78 */ mr r29, r6 +/* 8032849C 003253FC 38 61 00 08 */ addi r3, r1, 8 +/* 803284A0 00325400 3B 60 00 00 */ li r27, 0 +/* 803284A4 00325404 38 80 00 63 */ li r4, 0x63 +/* 803284A8 00325408 4B FE A1 45 */ bl __ct__9CRandom16FUi +/* 803284AC 0032540C 38 61 01 34 */ addi r3, r1, 0x134 +/* 803284B0 00325410 38 81 00 08 */ addi r4, r1, 8 +/* 803284B4 00325414 4B FE A1 CD */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 803284B8 00325418 48 00 15 58 */ b lbl_80329A10 +lbl_803284BC: +/* 803284BC 0032541C 7F C3 F3 78 */ mr r3, r30 +/* 803284C0 00325420 4B FF FF 9D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 803284C4 00325424 7C 03 D0 00 */ cmpw r3, r26 +/* 803284C8 00325428 41 82 10 40 */ beq lbl_80329508 +/* 803284CC 0032542C 40 80 02 D4 */ bge lbl_803287A0 +/* 803284D0 00325430 3C 80 4C 43 */ lis r4, 0x4C434C52@ha +/* 803284D4 00325434 38 04 4C 52 */ addi r0, r4, 0x4C434C52@l +/* 803284D8 00325438 7C 03 00 00 */ cmpw r3, r0 +/* 803284DC 0032543C 41 82 14 10 */ beq lbl_803298EC +/* 803284E0 00325440 40 80 01 6C */ bge lbl_8032864C +/* 803284E4 00325444 3C 80 45 4D */ lis r4, 0x454D5452@ha +/* 803284E8 00325448 38 04 54 52 */ addi r0, r4, 0x454D5452@l +/* 803284EC 0032544C 7C 03 00 00 */ cmpw r3, r0 +/* 803284F0 00325450 41 82 07 24 */ beq lbl_80328C14 +/* 803284F4 00325454 40 80 00 B8 */ bge lbl_803285AC +/* 803284F8 00325458 3C A0 41 44 */ lis r5, 0x41445637@ha +/* 803284FC 0032545C 38 05 56 37 */ addi r0, r5, 0x41445637@l +/* 80328500 00325460 7C 03 00 00 */ cmpw r3, r0 +/* 80328504 00325464 41 82 14 D0 */ beq lbl_803299D4 +/* 80328508 00325468 40 80 00 58 */ bge lbl_80328560 +/* 8032850C 0032546C 38 05 56 32 */ addi r0, r5, 0x5632 +/* 80328510 00325470 7C 03 00 00 */ cmpw r3, r0 +/* 80328514 00325474 41 82 14 70 */ beq lbl_80329984 +/* 80328518 00325478 40 80 00 28 */ bge lbl_80328540 +/* 8032851C 0032547C 3C 80 41 41 */ lis r4, 0x41415048@ha +/* 80328520 00325480 38 04 50 48 */ addi r0, r4, 0x41415048@l +/* 80328524 00325484 7C 03 00 00 */ cmpw r3, r0 +/* 80328528 00325488 41 82 06 0C */ beq lbl_80328B34 +/* 8032852C 0032548C 41 80 14 D0 */ blt lbl_803299FC +/* 80328530 00325490 38 05 56 31 */ addi r0, r5, 0x5631 +/* 80328534 00325494 7C 03 00 00 */ cmpw r3, r0 +/* 80328538 00325498 40 80 14 3C */ bge lbl_80329974 +/* 8032853C 0032549C 48 00 14 C0 */ b lbl_803299FC +lbl_80328540: +/* 80328540 003254A0 38 05 56 35 */ addi r0, r5, 0x5635 +/* 80328544 003254A4 7C 03 00 00 */ cmpw r3, r0 +/* 80328548 003254A8 41 82 14 6C */ beq lbl_803299B4 +/* 8032854C 003254AC 40 80 14 78 */ bge lbl_803299C4 +/* 80328550 003254B0 38 05 56 34 */ addi r0, r5, 0x5634 +/* 80328554 003254B4 7C 03 00 00 */ cmpw r3, r0 +/* 80328558 003254B8 40 80 14 4C */ bge lbl_803299A4 +/* 8032855C 003254BC 48 00 14 38 */ b lbl_80329994 +lbl_80328560: +/* 80328560 003254C0 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 80328564 003254C4 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 80328568 003254C8 7C 03 00 00 */ cmpw r3, r0 +/* 8032856C 003254CC 41 82 06 C8 */ beq lbl_80328C34 +/* 80328570 003254D0 40 80 00 28 */ bge lbl_80328598 +/* 80328574 003254D4 3C 80 43 49 */ lis r4, 0x43494E44@ha +/* 80328578 003254D8 38 04 4E 44 */ addi r0, r4, 0x43494E44@l +/* 8032857C 003254DC 7C 03 00 00 */ cmpw r3, r0 +/* 80328580 003254E0 41 82 07 DC */ beq lbl_80328D5C +/* 80328584 003254E4 40 80 14 78 */ bge lbl_803299FC +/* 80328588 003254E8 38 05 56 39 */ addi r0, r5, 0x5639 +/* 8032858C 003254EC 7C 03 00 00 */ cmpw r3, r0 +/* 80328590 003254F0 40 80 14 6C */ bge lbl_803299FC +/* 80328594 003254F4 48 00 14 50 */ b lbl_803299E4 +lbl_80328598: +/* 80328598 003254F8 3C 80 43 53 */ lis r4, 0x43535344@ha +/* 8032859C 003254FC 38 04 53 44 */ addi r0, r4, 0x43535344@l +/* 803285A0 00325500 7C 03 00 00 */ cmpw r3, r0 +/* 803285A4 00325504 41 82 0B DC */ beq lbl_80329180 +/* 803285A8 00325508 48 00 14 54 */ b lbl_803299FC +lbl_803285AC: +/* 803285AC 0032550C 3C 80 49 49 */ lis r4, 0x49495453@ha +/* 803285B0 00325510 38 04 54 53 */ addi r0, r4, 0x49495453@l +/* 803285B4 00325514 7C 03 00 00 */ cmpw r3, r0 +/* 803285B8 00325518 41 82 0D 9C */ beq lbl_80329354 +/* 803285BC 0032551C 40 80 00 54 */ bge lbl_80328610 +/* 803285C0 00325520 3C 80 49 43 */ lis r4, 0x49435453@ha +/* 803285C4 00325524 38 04 54 53 */ addi r0, r4, 0x49435453@l +/* 803285C8 00325528 7C 03 00 00 */ cmpw r3, r0 +/* 803285CC 0032552C 41 82 09 F0 */ beq lbl_80328FBC +/* 803285D0 00325530 40 80 00 2C */ bge lbl_803285FC +/* 803285D4 00325534 3C 80 47 52 */ lis r4, 0x47525445@ha +/* 803285D8 00325538 38 04 54 45 */ addi r0, r4, 0x47525445@l +/* 803285DC 0032553C 7C 03 00 00 */ cmpw r3, r0 +/* 803285E0 00325540 41 82 05 D4 */ beq lbl_80328BB4 +/* 803285E4 00325544 40 80 14 18 */ bge lbl_803299FC +/* 803285E8 00325548 3C 80 46 58 */ lis r4, 0x46584C4C@ha +/* 803285EC 0032554C 38 04 4C 4C */ addi r0, r4, 0x46584C4C@l +/* 803285F0 00325550 7C 03 00 00 */ cmpw r3, r0 +/* 803285F4 00325554 41 82 12 D0 */ beq lbl_803298C4 +/* 803285F8 00325558 48 00 14 04 */ b lbl_803299FC +lbl_803285FC: +/* 803285FC 0032555C 3C 80 49 44 */ lis r4, 0x49445453@ha +/* 80328600 00325560 38 04 54 53 */ addi r0, r4, 0x49445453@l +/* 80328604 00325564 7C 03 00 00 */ cmpw r3, r0 +/* 80328608 00325568 41 82 0B 88 */ beq lbl_80329190 +/* 8032860C 0032556C 48 00 13 F0 */ b lbl_803299FC +lbl_80328610: +/* 80328610 00325570 3C 80 49 56 */ lis r4, 0x49564543@ha +/* 80328614 00325574 38 04 45 43 */ addi r0, r4, 0x49564543@l +/* 80328618 00325578 7C 03 00 00 */ cmpw r3, r0 +/* 8032861C 0032557C 41 82 05 D0 */ beq lbl_80328BEC +/* 80328620 00325580 40 80 00 18 */ bge lbl_80328638 +/* 80328624 00325584 3C 80 49 4C */ lis r4, 0x494C4F43@ha +/* 80328628 00325588 38 04 4F 43 */ addi r0, r4, 0x494C4F43@l +/* 8032862C 0032558C 7C 03 00 00 */ cmpw r3, r0 +/* 80328630 00325590 41 82 05 94 */ beq lbl_80328BC4 +/* 80328634 00325594 48 00 13 C8 */ b lbl_803299FC +lbl_80328638: +/* 80328638 00325598 3C 80 4B 53 */ lis r4, 0x4B53534D@ha +/* 8032863C 0032559C 38 04 53 4D */ addi r0, r4, 0x4B53534D@l +/* 80328640 003255A0 7C 03 00 00 */ cmpw r3, r0 +/* 80328644 003255A4 41 82 12 14 */ beq lbl_80329858 +/* 80328648 003255A8 48 00 13 B4 */ b lbl_803299FC +lbl_8032864C: +/* 8032864C 003255AC 3C A0 4C 54 */ lis r5, 0x4C544D45@ha +/* 80328650 003255B0 38 05 4D 45 */ addi r0, r5, 0x4C544D45@l +/* 80328654 003255B4 7C 03 00 00 */ cmpw r3, r0 +/* 80328658 003255B8 41 82 06 9C */ beq lbl_80328CF4 +/* 8032865C 003255BC 40 80 00 AC */ bge lbl_80328708 +/* 80328660 003255C0 3C A0 4C 49 */ lis r5, 0x4C494E45@ha +/* 80328664 003255C4 38 05 4E 45 */ addi r0, r5, 0x4C494E45@l +/* 80328668 003255C8 7C 03 00 00 */ cmpw r3, r0 +/* 8032866C 003255CC 41 82 12 40 */ beq lbl_803298AC +/* 80328670 003255D0 40 80 00 50 */ bge lbl_803286C0 +/* 80328674 003255D4 3C 80 4C 46 */ lis r4, 0x4C464F52@ha +/* 80328678 003255D8 38 04 4F 52 */ addi r0, r4, 0x4C464F52@l +/* 8032867C 003255DC 7C 03 00 00 */ cmpw r3, r0 +/* 80328680 003255E0 41 82 12 BC */ beq lbl_8032993C +/* 80328684 003255E4 40 80 00 2C */ bge lbl_803286B0 +/* 80328688 003255E8 3C 80 4C 45 */ lis r4, 0x4C454E47@ha +/* 8032868C 003255EC 38 04 4E 47 */ addi r0, r4, 0x4C454E47@l +/* 80328690 003255F0 7C 03 00 00 */ cmpw r3, r0 +/* 80328694 003255F4 41 82 06 80 */ beq lbl_80328D14 +/* 80328698 003255F8 40 80 13 64 */ bge lbl_803299FC +/* 8032869C 003255FC 3C 80 4C 44 */ lis r4, 0x4C444952@ha +/* 803286A0 00325600 38 04 49 52 */ addi r0, r4, 0x4C444952@l +/* 803286A4 00325604 7C 03 00 00 */ cmpw r3, r0 +/* 803286A8 00325608 41 82 12 74 */ beq lbl_8032991C +/* 803286AC 0032560C 48 00 13 50 */ b lbl_803299FC +lbl_803286B0: +/* 803286B0 00325610 38 04 4F 54 */ addi r0, r4, 0x4f54 +/* 803286B4 00325614 7C 03 00 00 */ cmpw r3, r0 +/* 803286B8 00325618 41 82 12 74 */ beq lbl_8032992C +/* 803286BC 0032561C 48 00 13 40 */ b lbl_803299FC +lbl_803286C0: +/* 803286C0 00325620 3C 80 4C 4F */ lis r4, 0x4C4F4646@ha +/* 803286C4 00325624 38 04 46 46 */ addi r0, r4, 0x4C4F4646@l +/* 803286C8 00325628 7C 03 00 00 */ cmpw r3, r0 +/* 803286CC 0032562C 41 82 12 40 */ beq lbl_8032990C +/* 803286D0 00325630 40 80 00 24 */ bge lbl_803286F4 +/* 803286D4 00325634 38 05 54 5F */ addi r0, r5, 0x545f +/* 803286D8 00325638 7C 03 00 00 */ cmpw r3, r0 +/* 803286DC 0032563C 41 82 04 10 */ beq lbl_80328AEC +/* 803286E0 00325640 40 80 13 1C */ bge lbl_803299FC +/* 803286E4 00325644 38 05 4E 54 */ addi r0, r5, 0x4e54 +/* 803286E8 00325648 7C 03 00 00 */ cmpw r3, r0 +/* 803286EC 0032564C 41 82 12 10 */ beq lbl_803298FC +/* 803286F0 00325650 48 00 13 0C */ b lbl_803299FC +lbl_803286F4: +/* 803286F4 00325654 3C 80 4C 53 */ lis r4, 0x4C534C41@ha +/* 803286F8 00325658 38 04 4C 41 */ addi r0, r4, 0x4C534C41@l +/* 803286FC 0032565C 7C 03 00 00 */ cmpw r3, r0 +/* 80328700 00325660 41 82 12 4C */ beq lbl_8032994C +/* 80328704 00325664 48 00 12 F8 */ b lbl_803299FC +lbl_80328708: +/* 80328708 00325668 3C 80 4E 43 */ lis r4, 0x4E435359@ha +/* 8032870C 0032566C 38 04 53 59 */ addi r0, r4, 0x4E435359@l +/* 80328710 00325670 7C 03 00 00 */ cmpw r3, r0 +/* 80328714 00325674 41 82 0A 5C */ beq lbl_80329170 +/* 80328718 00325678 40 80 00 4C */ bge lbl_80328764 +/* 8032871C 0032567C 3C 80 4D 42 */ lis r4, 0x4D424C52@ha +/* 80328720 00325680 38 04 4C 52 */ addi r0, r4, 0x4D424C52@l +/* 80328724 00325684 7C 03 00 00 */ cmpw r3, r0 +/* 80328728 00325688 41 82 04 54 */ beq lbl_80328B7C +/* 8032872C 0032568C 40 80 00 28 */ bge lbl_80328754 +/* 80328730 00325690 3C 80 4D 41 */ lis r4, 0x4D415850@ha +/* 80328734 00325694 38 04 58 50 */ addi r0, r4, 0x4D415850@l +/* 80328738 00325698 7C 03 00 00 */ cmpw r3, r0 +/* 8032873C 0032569C 41 82 04 68 */ beq lbl_80328BA4 +/* 80328740 003256A0 40 80 12 BC */ bge lbl_803299FC +/* 80328744 003256A4 38 05 59 50 */ addi r0, r5, 0x5950 +/* 80328748 003256A8 7C 03 00 00 */ cmpw r3, r0 +/* 8032874C 003256AC 41 82 11 90 */ beq lbl_803298DC +/* 80328750 003256B0 48 00 12 AC */ b lbl_803299FC +lbl_80328754: +/* 80328754 003256B4 38 04 53 50 */ addi r0, r4, 0x5350 +/* 80328758 003256B8 7C 03 00 00 */ cmpw r3, r0 +/* 8032875C 003256BC 41 82 04 38 */ beq lbl_80328B94 +/* 80328760 003256C0 48 00 12 9C */ b lbl_803299FC +lbl_80328764: +/* 80328764 003256C4 3C 80 4F 50 */ lis r4, 0x4F505453@ha +/* 80328768 003256C8 38 04 54 53 */ addi r0, r4, 0x4F505453@l +/* 8032876C 003256CC 7C 03 00 00 */ cmpw r3, r0 +/* 80328770 003256D0 41 82 11 EC */ beq lbl_8032995C +/* 80328774 003256D4 40 80 00 18 */ bge lbl_8032878C +/* 80328778 003256D8 3C 80 4E 44 */ lis r4, 0x4E445359@ha +/* 8032877C 003256DC 38 04 53 59 */ addi r0, r4, 0x4E445359@l +/* 80328780 003256E0 7C 03 00 00 */ cmpw r3, r0 +/* 80328784 003256E4 41 82 0B C0 */ beq lbl_80329344 +/* 80328788 003256E8 48 00 12 74 */ b lbl_803299FC +lbl_8032878C: +/* 8032878C 003256EC 3C 80 4F 52 */ lis r4, 0x4F524E54@ha +/* 80328790 003256F0 38 04 4E 54 */ addi r0, r4, 0x4F524E54@l +/* 80328794 003256F4 7C 03 00 00 */ cmpw r3, r0 +/* 80328798 003256F8 41 82 03 6C */ beq lbl_80328B04 +/* 8032879C 003256FC 48 00 12 60 */ b lbl_803299FC +lbl_803287A0: +/* 803287A0 00325700 3C A0 53 45 */ lis r5, 0x53454C43@ha +/* 803287A4 00325704 38 05 4C 43 */ addi r0, r5, 0x53454C43@l +/* 803287A8 00325708 7C 03 00 00 */ cmpw r3, r0 +/* 803287AC 0032570C 41 82 0F 4C */ beq lbl_803296F8 +/* 803287B0 00325710 40 80 01 38 */ bge lbl_803288E8 +/* 803287B4 00325714 3C 80 50 53 */ lis r4, 0x50534956@ha +/* 803287B8 00325718 38 04 49 56 */ addi r0, r4, 0x50534956@l +/* 803287BC 0032571C 7C 03 00 00 */ cmpw r3, r0 +/* 803287C0 00325720 41 82 02 84 */ beq lbl_80328A44 +/* 803287C4 00325724 40 80 00 9C */ bge lbl_80328860 +/* 803287C8 00325728 3C 80 50 4D */ lis r4, 0x504D4F50@ha +/* 803287CC 0032572C 38 04 4F 50 */ addi r0, r4, 0x504D4F50@l +/* 803287D0 00325730 7C 03 00 00 */ cmpw r3, r0 +/* 803287D4 00325734 41 82 07 50 */ beq lbl_80328F24 +/* 803287D8 00325738 40 80 00 44 */ bge lbl_8032881C +/* 803287DC 0032573C 38 04 43 4C */ addi r0, r4, 0x434c +/* 803287E0 00325740 7C 03 00 00 */ cmpw r3, r0 +/* 803287E4 00325744 41 82 07 70 */ beq lbl_80328F54 +/* 803287E8 00325748 40 80 00 14 */ bge lbl_803287FC +/* 803287EC 0032574C 38 04 41 42 */ addi r0, r4, 0x4142 +/* 803287F0 00325750 7C 03 00 00 */ cmpw r3, r0 +/* 803287F4 00325754 41 82 07 70 */ beq lbl_80328F64 +/* 803287F8 00325758 48 00 12 04 */ b lbl_803299FC +lbl_803287FC: +/* 803287FC 0032575C 38 04 44 4C */ addi r0, r4, 0x444c +/* 80328800 00325760 7C 03 00 00 */ cmpw r3, r0 +/* 80328804 00325764 41 82 05 70 */ beq lbl_80328D74 +/* 80328808 00325768 41 80 11 F4 */ blt lbl_803299FC +/* 8032880C 0032576C 38 04 4F 4F */ addi r0, r4, 0x4f4f +/* 80328810 00325770 7C 03 00 00 */ cmpw r3, r0 +/* 80328814 00325774 40 80 07 80 */ bge lbl_80328F94 +/* 80328818 00325778 48 00 11 E4 */ b lbl_803299FC +lbl_8032881C: +/* 8032881C 0032577C 38 04 55 53 */ addi r0, r4, 0x5553 +/* 80328820 00325780 7C 03 00 00 */ cmpw r3, r0 +/* 80328824 00325784 41 82 07 58 */ beq lbl_80328F7C +/* 80328828 00325788 40 80 00 24 */ bge lbl_8032884C +/* 8032882C 0032578C 38 04 53 43 */ addi r0, r4, 0x5343 +/* 80328830 00325790 7C 03 00 00 */ cmpw r3, r0 +/* 80328834 00325794 41 82 07 10 */ beq lbl_80328F44 +/* 80328838 00325798 40 80 11 C4 */ bge lbl_803299FC +/* 8032883C 0032579C 38 04 52 54 */ addi r0, r4, 0x5254 +/* 80328840 003257A0 7C 03 00 00 */ cmpw r3, r0 +/* 80328844 003257A4 41 82 06 F0 */ beq lbl_80328F34 +/* 80328848 003257A8 48 00 11 B4 */ b lbl_803299FC +lbl_8032884C: +/* 8032884C 003257AC 3C 80 50 4F */ lis r4, 0x504F4653@ha +/* 80328850 003257B0 38 04 46 53 */ addi r0, r4, 0x504F4653@l +/* 80328854 003257B4 7C 03 00 00 */ cmpw r3, r0 +/* 80328858 003257B8 41 82 03 EC */ beq lbl_80328C44 +/* 8032885C 003257BC 48 00 11 A0 */ b lbl_803299FC +lbl_80328860: +/* 80328860 003257C0 38 04 57 54 */ addi r0, r4, 0x5754 +/* 80328864 003257C4 7C 03 00 00 */ cmpw r3, r0 +/* 80328868 003257C8 41 82 02 74 */ beq lbl_80328ADC +/* 8032886C 003257CC 40 80 00 44 */ bge lbl_803288B0 +/* 80328870 003257D0 38 04 54 53 */ addi r0, r4, 0x5453 +/* 80328874 003257D4 7C 03 00 00 */ cmpw r3, r0 +/* 80328878 003257D8 41 82 02 44 */ beq lbl_80328ABC +/* 8032887C 003257DC 40 80 00 24 */ bge lbl_803288A0 +/* 80328880 003257E0 38 04 4F 56 */ addi r0, r4, 0x4f56 +/* 80328884 003257E4 7C 03 00 00 */ cmpw r3, r0 +/* 80328888 003257E8 41 82 02 0C */ beq lbl_80328A94 +/* 8032888C 003257EC 40 80 11 70 */ bge lbl_803299FC +/* 80328890 003257F0 38 04 4C 54 */ addi r0, r4, 0x4c54 +/* 80328894 003257F4 7C 03 00 00 */ cmpw r3, r0 +/* 80328898 003257F8 41 82 02 34 */ beq lbl_80328ACC +/* 8032889C 003257FC 48 00 11 60 */ b lbl_803299FC +lbl_803288A0: +/* 803288A0 00325800 38 04 56 4D */ addi r0, r4, 0x564d +/* 803288A4 00325804 7C 03 00 00 */ cmpw r3, r0 +/* 803288A8 00325808 41 82 01 C4 */ beq lbl_80328A6C +/* 803288AC 0032580C 48 00 11 50 */ b lbl_803299FC +lbl_803288B0: +/* 803288B0 00325810 3C 80 52 53 */ lis r4, 0x52534F50@ha +/* 803288B4 00325814 38 04 4F 50 */ addi r0, r4, 0x52534F50@l +/* 803288B8 00325818 7C 03 00 00 */ cmpw r3, r0 +/* 803288BC 0032581C 41 82 02 60 */ beq lbl_80328B1C +/* 803288C0 00325820 40 80 00 18 */ bge lbl_803288D8 +/* 803288C4 00325824 3C 80 52 4F */ lis r4, 0x524F5441@ha +/* 803288C8 00325828 38 04 54 41 */ addi r0, r4, 0x524F5441@l +/* 803288CC 0032582C 7C 03 00 00 */ cmpw r3, r0 +/* 803288D0 00325830 41 82 04 34 */ beq lbl_80328D04 +/* 803288D4 00325834 48 00 11 28 */ b lbl_803299FC +lbl_803288D8: +/* 803288D8 00325838 38 05 45 44 */ addi r0, r5, 0x4544 +/* 803288DC 0032583C 7C 03 00 00 */ cmpw r3, r0 +/* 803288E0 00325840 41 82 06 CC */ beq lbl_80328FAC +/* 803288E4 00325844 48 00 11 18 */ b lbl_803299FC +lbl_803288E8: +/* 803288E8 00325848 3C 80 54 49 */ lis r4, 0x54494E44@ha +/* 803288EC 0032584C 38 04 4E 44 */ addi r0, r4, 0x54494E44@l +/* 803288F0 00325850 7C 03 00 00 */ cmpw r3, r0 +/* 803288F4 00325854 41 82 04 54 */ beq lbl_80328D48 +/* 803288F8 00325858 40 80 00 A4 */ bge lbl_8032899C +/* 803288FC 0032585C 3C 80 53 4F */ lis r4, 0x534F5254@ha +/* 80328900 00325860 38 04 52 54 */ addi r0, r4, 0x534F5254@l +/* 80328904 00325864 7C 03 00 00 */ cmpw r3, r0 +/* 80328908 00325868 41 82 02 5C */ beq lbl_80328B64 +/* 8032890C 0032586C 40 80 00 48 */ bge lbl_80328954 +/* 80328910 00325870 3C 80 53 49 */ lis r4, 0x53495359@ha +/* 80328914 00325874 38 04 53 59 */ addi r0, r4, 0x53495359@l +/* 80328918 00325878 7C 03 00 00 */ cmpw r3, r0 +/* 8032891C 0032587C 41 82 0B FC */ beq lbl_80329518 +/* 80328920 00325880 40 80 00 24 */ bge lbl_80328944 +/* 80328924 00325884 38 05 53 44 */ addi r0, r5, 0x5344 +/* 80328928 00325888 7C 03 00 00 */ cmpw r3, r0 +/* 8032892C 0032588C 41 82 0F 0C */ beq lbl_80329838 +/* 80328930 00325890 40 80 10 CC */ bge lbl_803299FC +/* 80328934 00325894 38 05 50 4F */ addi r0, r5, 0x504f +/* 80328938 00325898 7C 03 00 00 */ cmpw r3, r0 +/* 8032893C 0032589C 41 82 0F 0C */ beq lbl_80329848 +/* 80328940 003258A0 48 00 10 BC */ b lbl_803299FC +lbl_80328944: +/* 80328944 003258A4 38 04 5A 45 */ addi r0, r4, 0x5a45 +/* 80328948 003258A8 7C 03 00 00 */ cmpw r3, r0 +/* 8032894C 003258AC 41 82 02 D8 */ beq lbl_80328C24 +/* 80328950 003258B0 48 00 10 AC */ b lbl_803299FC +lbl_80328954: +/* 80328954 003258B4 3C 80 53 53 */ lis r4, 0x53535748@ha +/* 80328958 003258B8 38 04 57 48 */ addi r0, r4, 0x53535748@l +/* 8032895C 003258BC 7C 03 00 00 */ cmpw r3, r0 +/* 80328960 003258C0 41 82 0B C8 */ beq lbl_80329528 +/* 80328964 003258C4 40 80 00 24 */ bge lbl_80328988 +/* 80328968 003258C8 38 04 53 44 */ addi r0, r4, 0x5344 +/* 8032896C 003258CC 7C 03 00 00 */ cmpw r3, r0 +/* 80328970 003258D0 41 82 0D 68 */ beq lbl_803296D8 +/* 80328974 003258D4 40 80 10 88 */ bge lbl_803299FC +/* 80328978 003258D8 38 04 50 4F */ addi r0, r4, 0x504f +/* 8032897C 003258DC 7C 03 00 00 */ cmpw r3, r0 +/* 80328980 003258E0 41 82 0D 68 */ beq lbl_803296E8 +/* 80328984 003258E4 48 00 10 78 */ b lbl_803299FC +lbl_80328988: +/* 80328988 003258E8 3C 80 54 45 */ lis r4, 0x54455852@ha +/* 8032898C 003258EC 38 04 58 52 */ addi r0, r4, 0x54455852@l +/* 80328990 003258F0 7C 03 00 00 */ cmpw r3, r0 +/* 80328994 003258F4 41 82 03 A0 */ beq lbl_80328D34 +/* 80328998 003258F8 48 00 10 64 */ b lbl_803299FC +lbl_8032899C: +/* 8032899C 003258FC 3C A0 56 4D */ lis r5, 0x564D4433@ha +/* 803289A0 00325900 38 05 44 33 */ addi r0, r5, 0x564D4433@l +/* 803289A4 00325904 7C 03 00 00 */ cmpw r3, r0 +/* 803289A8 00325908 41 82 02 DC */ beq lbl_80328C84 +/* 803289AC 0032590C 40 80 00 4C */ bge lbl_803289F8 +/* 803289B0 00325910 3C 80 56 45 */ lis r4, 0x56454C34@ha +/* 803289B4 00325914 38 04 4C 34 */ addi r0, r4, 0x56454C34@l +/* 803289B8 00325918 7C 03 00 00 */ cmpw r3, r0 +/* 803289BC 0032591C 41 82 03 28 */ beq lbl_80328CE4 +/* 803289C0 00325920 40 80 00 24 */ bge lbl_803289E4 +/* 803289C4 00325924 38 04 4C 32 */ addi r0, r4, 0x4c32 +/* 803289C8 00325928 7C 03 00 00 */ cmpw r3, r0 +/* 803289CC 0032592C 41 82 02 F8 */ beq lbl_80328CC4 +/* 803289D0 00325930 40 80 03 04 */ bge lbl_80328CD4 +/* 803289D4 00325934 38 04 4C 31 */ addi r0, r4, 0x4c31 +/* 803289D8 00325938 7C 03 00 00 */ cmpw r3, r0 +/* 803289DC 0032593C 40 80 02 D8 */ bge lbl_80328CB4 +/* 803289E0 00325940 48 00 10 1C */ b lbl_803299FC +lbl_803289E4: +/* 803289E4 00325944 38 05 44 31 */ addi r0, r5, 0x4431 +/* 803289E8 00325948 7C 03 00 00 */ cmpw r3, r0 +/* 803289EC 0032594C 41 82 02 68 */ beq lbl_80328C54 +/* 803289F0 00325950 40 80 02 7C */ bge lbl_80328C6C +/* 803289F4 00325954 48 00 10 08 */ b lbl_803299FC +lbl_803289F8: +/* 803289F8 00325958 3C 80 5A 42 */ lis r4, 0x5A425546@ha +/* 803289FC 0032595C 38 04 55 46 */ addi r0, r4, 0x5A425546@l +/* 80328A00 00325960 7C 03 00 00 */ cmpw r3, r0 +/* 80328A04 00325964 41 82 01 48 */ beq lbl_80328B4C +/* 80328A08 00325968 40 80 00 28 */ bge lbl_80328A30 +/* 80328A0C 0032596C 3C 80 57 49 */ lis r4, 0x57494454@ha +/* 80328A10 00325970 38 04 44 54 */ addi r0, r4, 0x57494454@l +/* 80328A14 00325974 7C 03 00 00 */ cmpw r3, r0 +/* 80328A18 00325978 41 82 03 0C */ beq lbl_80328D24 +/* 80328A1C 0032597C 40 80 0F E0 */ bge lbl_803299FC +/* 80328A20 00325980 38 05 44 35 */ addi r0, r5, 0x4435 +/* 80328A24 00325984 7C 03 00 00 */ cmpw r3, r0 +/* 80328A28 00325988 40 80 0F D4 */ bge lbl_803299FC +/* 80328A2C 0032598C 48 00 02 70 */ b lbl_80328C9C +lbl_80328A30: +/* 80328A30 00325990 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 80328A34 00325994 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 80328A38 00325998 7C 03 00 00 */ cmpw r3, r0 +/* 80328A3C 0032599C 41 82 0F B8 */ beq lbl_803299F4 +/* 80328A40 003259A0 48 00 0F BC */ b lbl_803299FC +lbl_80328A44: +/* 80328A44 003259A4 7F C3 F3 78 */ mr r3, r30 +/* 80328A48 003259A8 4B FF D8 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328A4C 003259AC 28 03 00 00 */ cmplwi r3, 0 +/* 80328A50 003259B0 41 82 0F C8 */ beq lbl_80329A18 +/* 80328A54 003259B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80328A58 003259B8 38 80 00 01 */ li r4, 1 +/* 80328A5C 003259BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328A60 003259C0 7D 89 03 A6 */ mtctr r12 +/* 80328A64 003259C4 4E 80 04 21 */ bctrl +/* 80328A68 003259C8 48 00 0F B0 */ b lbl_80329A18 +lbl_80328A6C: +/* 80328A6C 003259CC 7F C3 F3 78 */ mr r3, r30 +/* 80328A70 003259D0 4B FF CD 8D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328A74 003259D4 28 03 00 00 */ cmplwi r3, 0 +/* 80328A78 003259D8 41 82 0F A0 */ beq lbl_80329A18 +/* 80328A7C 003259DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80328A80 003259E0 38 80 00 01 */ li r4, 1 +/* 80328A84 003259E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328A88 003259E8 7D 89 03 A6 */ mtctr r12 +/* 80328A8C 003259EC 4E 80 04 21 */ bctrl +/* 80328A90 003259F0 48 00 0F 88 */ b lbl_80329A18 +lbl_80328A94: +/* 80328A94 003259F4 7F C3 F3 78 */ mr r3, r30 +/* 80328A98 003259F8 4B FF D7 BD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328A9C 003259FC 28 03 00 00 */ cmplwi r3, 0 +/* 80328AA0 00325A00 41 82 0F 78 */ beq lbl_80329A18 +/* 80328AA4 00325A04 81 83 00 00 */ lwz r12, 0(r3) +/* 80328AA8 00325A08 38 80 00 01 */ li r4, 1 +/* 80328AAC 00325A0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328AB0 00325A10 7D 89 03 A6 */ mtctr r12 +/* 80328AB4 00325A14 4E 80 04 21 */ bctrl +/* 80328AB8 00325A18 48 00 0F 60 */ b lbl_80329A18 +lbl_80328ABC: +/* 80328ABC 00325A1C 7F C3 F3 78 */ mr r3, r30 +/* 80328AC0 00325A20 4B FF E1 D1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328AC4 00325A24 90 7F 00 08 */ stw r3, 8(r31) +/* 80328AC8 00325A28 48 00 0F 50 */ b lbl_80329A18 +lbl_80328ACC: +/* 80328ACC 00325A2C 7F C3 F3 78 */ mr r3, r30 +/* 80328AD0 00325A30 4B FF F0 D5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328AD4 00325A34 90 7F 00 00 */ stw r3, 0(r31) +/* 80328AD8 00325A38 48 00 0F 40 */ b lbl_80329A18 +lbl_80328ADC: +/* 80328ADC 00325A3C 7F C3 F3 78 */ mr r3, r30 +/* 80328AE0 00325A40 4B FF F0 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328AE4 00325A44 90 7F 00 04 */ stw r3, 4(r31) +/* 80328AE8 00325A48 48 00 0F 30 */ b lbl_80329A18 +lbl_80328AEC: +/* 80328AEC 00325A4C 7F C3 F3 78 */ mr r3, r30 +/* 80328AF0 00325A50 4B FF F9 39 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328AF4 00325A54 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328AF8 00325A58 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80328AFC 00325A5C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B00 00325A60 48 00 0F 18 */ b lbl_80329A18 +lbl_80328B04: +/* 80328B04 00325A64 7F C3 F3 78 */ mr r3, r30 +/* 80328B08 00325A68 4B FF F9 21 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B0C 00325A6C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B10 00325A70 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80328B14 00325A74 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B18 00325A78 48 00 0F 00 */ b lbl_80329A18 +lbl_80328B1C: +/* 80328B1C 00325A7C 7F C3 F3 78 */ mr r3, r30 +/* 80328B20 00325A80 4B FF F9 09 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B24 00325A84 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B28 00325A88 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80328B2C 00325A8C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B30 00325A90 48 00 0E E8 */ b lbl_80329A18 +lbl_80328B34: +/* 80328B34 00325A94 7F C3 F3 78 */ mr r3, r30 +/* 80328B38 00325A98 4B FF F8 F1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B3C 00325A9C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B40 00325AA0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80328B44 00325AA4 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B48 00325AA8 48 00 0E D0 */ b lbl_80329A18 +lbl_80328B4C: +/* 80328B4C 00325AAC 7F C3 F3 78 */ mr r3, r30 +/* 80328B50 00325AB0 4B FF F8 D9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B54 00325AB4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B58 00325AB8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80328B5C 00325ABC 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B60 00325AC0 48 00 0E B8 */ b lbl_80329A18 +lbl_80328B64: +/* 80328B64 00325AC4 7F C3 F3 78 */ mr r3, r30 +/* 80328B68 00325AC8 4B FF F8 C1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B6C 00325ACC 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B70 00325AD0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80328B74 00325AD4 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B78 00325AD8 48 00 0E A0 */ b lbl_80329A18 +lbl_80328B7C: +/* 80328B7C 00325ADC 7F C3 F3 78 */ mr r3, r30 +/* 80328B80 00325AE0 4B FF F8 A9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B84 00325AE4 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328B88 00325AE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80328B8C 00325AEC 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328B90 00325AF0 48 00 0E 88 */ b lbl_80329A18 +lbl_80328B94: +/* 80328B94 00325AF4 7F C3 F3 78 */ mr r3, r30 +/* 80328B98 00325AF8 4B FF F0 0D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328B9C 00325AFC 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80328BA0 00325B00 48 00 0E 78 */ b lbl_80329A18 +lbl_80328BA4: +/* 80328BA4 00325B04 7F C3 F3 78 */ mr r3, r30 +/* 80328BA8 00325B08 4B FF EF FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328BAC 00325B0C 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80328BB0 00325B10 48 00 0E 68 */ b lbl_80329A18 +lbl_80328BB4: +/* 80328BB4 00325B14 7F C3 F3 78 */ mr r3, r30 +/* 80328BB8 00325B18 4B FF E0 D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328BBC 00325B1C 90 7F 00 20 */ stw r3, 0x20(r31) +/* 80328BC0 00325B20 48 00 0E 58 */ b lbl_80329A18 +lbl_80328BC4: +/* 80328BC4 00325B24 7F C3 F3 78 */ mr r3, r30 +/* 80328BC8 00325B28 4B FF D6 8D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328BCC 00325B2C 28 03 00 00 */ cmplwi r3, 0 +/* 80328BD0 00325B30 41 82 0E 48 */ beq lbl_80329A18 +/* 80328BD4 00325B34 81 83 00 00 */ lwz r12, 0(r3) +/* 80328BD8 00325B38 38 80 00 01 */ li r4, 1 +/* 80328BDC 00325B3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328BE0 00325B40 7D 89 03 A6 */ mtctr r12 +/* 80328BE4 00325B44 4E 80 04 21 */ bctrl +/* 80328BE8 00325B48 48 00 0E 30 */ b lbl_80329A18 +lbl_80328BEC: +/* 80328BEC 00325B4C 7F C3 F3 78 */ mr r3, r30 +/* 80328BF0 00325B50 4B FF D6 65 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328BF4 00325B54 28 03 00 00 */ cmplwi r3, 0 +/* 80328BF8 00325B58 41 82 0E 20 */ beq lbl_80329A18 +/* 80328BFC 00325B5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80328C00 00325B60 38 80 00 01 */ li r4, 1 +/* 80328C04 00325B64 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328C08 00325B68 7D 89 03 A6 */ mtctr r12 +/* 80328C0C 00325B6C 4E 80 04 21 */ bctrl +/* 80328C10 00325B70 48 00 0E 08 */ b lbl_80329A18 +lbl_80328C14: +/* 80328C14 00325B74 7F C3 F3 78 */ mr r3, r30 +/* 80328C18 00325B78 4B FF D3 99 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream +/* 80328C1C 00325B7C 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 80328C20 00325B80 48 00 0D F8 */ b lbl_80329A18 +lbl_80328C24: +/* 80328C24 00325B84 7F C3 F3 78 */ mr r3, r30 +/* 80328C28 00325B88 4B FF E0 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328C2C 00325B8C 90 7F 00 38 */ stw r3, 0x38(r31) +/* 80328C30 00325B90 48 00 0D E8 */ b lbl_80329A18 +lbl_80328C34: +/* 80328C34 00325B94 7F C3 F3 78 */ mr r3, r30 +/* 80328C38 00325B98 4B FF C6 25 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80328C3C 00325B9C 90 7F 00 24 */ stw r3, 0x24(r31) +/* 80328C40 00325BA0 48 00 0D D8 */ b lbl_80329A18 +lbl_80328C44: +/* 80328C44 00325BA4 7F C3 F3 78 */ mr r3, r30 +/* 80328C48 00325BA8 4B FF D6 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328C4C 00325BAC 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80328C50 00325BB0 48 00 0D C8 */ b lbl_80329A18 +lbl_80328C54: +/* 80328C54 00325BB4 7F C3 F3 78 */ mr r3, r30 +/* 80328C58 00325BB8 4B FF F7 D1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328C5C 00325BBC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328C60 00325BC0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80328C64 00325BC4 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328C68 00325BC8 48 00 0D B0 */ b lbl_80329A18 +lbl_80328C6C: +/* 80328C6C 00325BCC 7F C3 F3 78 */ mr r3, r30 +/* 80328C70 00325BD0 4B FF F7 B9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328C74 00325BD4 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328C78 00325BD8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80328C7C 00325BDC 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328C80 00325BE0 48 00 0D 98 */ b lbl_80329A18 +lbl_80328C84: +/* 80328C84 00325BE4 7F C3 F3 78 */ mr r3, r30 +/* 80328C88 00325BE8 4B FF F7 A1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328C8C 00325BEC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328C90 00325BF0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80328C94 00325BF4 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328C98 00325BF8 48 00 0D 80 */ b lbl_80329A18 +lbl_80328C9C: +/* 80328C9C 00325BFC 7F C3 F3 78 */ mr r3, r30 +/* 80328CA0 00325C00 4B FF F7 89 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328CA4 00325C04 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328CA8 00325C08 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80328CAC 00325C0C 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328CB0 00325C10 48 00 0D 68 */ b lbl_80329A18 +lbl_80328CB4: +/* 80328CB4 00325C14 7F C3 F3 78 */ mr r3, r30 +/* 80328CB8 00325C18 4B FF CB 45 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CBC 00325C1C 90 7F 00 68 */ stw r3, 0x68(r31) +/* 80328CC0 00325C20 48 00 0D 58 */ b lbl_80329A18 +lbl_80328CC4: +/* 80328CC4 00325C24 7F C3 F3 78 */ mr r3, r30 +/* 80328CC8 00325C28 4B FF CB 35 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CCC 00325C2C 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 80328CD0 00325C30 48 00 0D 48 */ b lbl_80329A18 +lbl_80328CD4: +/* 80328CD4 00325C34 7F C3 F3 78 */ mr r3, r30 +/* 80328CD8 00325C38 4B FF CB 25 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CDC 00325C3C 90 7F 00 70 */ stw r3, 0x70(r31) +/* 80328CE0 00325C40 48 00 0D 38 */ b lbl_80329A18 +lbl_80328CE4: +/* 80328CE4 00325C44 7F C3 F3 78 */ mr r3, r30 +/* 80328CE8 00325C48 4B FF CB 15 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CEC 00325C4C 90 7F 00 74 */ stw r3, 0x74(r31) +/* 80328CF0 00325C50 48 00 0D 28 */ b lbl_80329A18 +lbl_80328CF4: +/* 80328CF4 00325C54 7F C3 F3 78 */ mr r3, r30 +/* 80328CF8 00325C58 4B FF EE AD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328CFC 00325C5C 90 7F 00 28 */ stw r3, 0x28(r31) +/* 80328D00 00325C60 48 00 0D 18 */ b lbl_80329A18 +lbl_80328D04: +/* 80328D04 00325C64 7F C3 F3 78 */ mr r3, r30 +/* 80328D08 00325C68 4B FF DF 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328D0C 00325C6C 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 80328D10 00325C70 48 00 0D 08 */ b lbl_80329A18 +lbl_80328D14: +/* 80328D14 00325C74 7F C3 F3 78 */ mr r3, r30 +/* 80328D18 00325C78 4B FF DF 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328D1C 00325C7C 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80328D20 00325C80 48 00 0C F8 */ b lbl_80329A18 +lbl_80328D24: +/* 80328D24 00325C84 7F C3 F3 78 */ mr r3, r30 +/* 80328D28 00325C88 4B FF DF 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328D2C 00325C8C 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80328D30 00325C90 48 00 0C E8 */ b lbl_80329A18 +lbl_80328D34: +/* 80328D34 00325C94 7F C3 F3 78 */ mr r3, r30 +/* 80328D38 00325C98 7F A4 EB 78 */ mr r4, r29 +/* 80328D3C 00325C9C 4B FF C0 F5 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80328D40 00325CA0 90 7F 00 40 */ stw r3, 0x40(r31) +/* 80328D44 00325CA4 48 00 0C D4 */ b lbl_80329A18 +lbl_80328D48: +/* 80328D48 00325CA8 7F C3 F3 78 */ mr r3, r30 +/* 80328D4C 00325CAC 7F A4 EB 78 */ mr r4, r29 +/* 80328D50 00325CB0 4B FF C0 E1 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80328D54 00325CB4 90 7F 00 44 */ stw r3, 0x44(r31) +/* 80328D58 00325CB8 48 00 0C C0 */ b lbl_80329A18 +lbl_80328D5C: +/* 80328D5C 00325CBC 7F C3 F3 78 */ mr r3, r30 +/* 80328D60 00325CC0 4B FF F6 C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328D64 00325CC4 88 1F 00 32 */ lbz r0, 0x32(r31) +/* 80328D68 00325CC8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80328D6C 00325CCC 98 1F 00 32 */ stb r0, 0x32(r31) +/* 80328D70 00325CD0 48 00 0C A8 */ b lbl_80329A18 +lbl_80328D74: +/* 80328D74 00325CD4 7F C4 F3 78 */ mr r4, r30 +/* 80328D78 00325CD8 7F A5 EB 78 */ mr r5, r29 +/* 80328D7C 00325CDC 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80328D80 00325CE0 4B FF BC 61 */ bl GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80328D84 00325CE4 88 01 00 E8 */ lbz r0, 0xe8(r1) +/* 80328D88 00325CE8 28 00 00 00 */ cmplwi r0, 0 +/* 80328D8C 00325CEC 98 01 01 30 */ stb r0, 0x130(r1) +/* 80328D90 00325CF0 41 82 00 14 */ beq lbl_80328DA4 +/* 80328D94 00325CF4 34 61 01 28 */ addic. r3, r1, 0x128 +/* 80328D98 00325CF8 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80328D9C 00325CFC 41 82 00 08 */ beq lbl_80328DA4 +/* 80328DA0 00325D00 48 01 81 09 */ bl __ct__6CTokenFRC6CToken +lbl_80328DA4: +/* 80328DA4 00325D04 88 01 00 E8 */ lbz r0, 0xe8(r1) +/* 80328DA8 00325D08 28 00 00 00 */ cmplwi r0, 0 +/* 80328DAC 00325D0C 41 82 00 14 */ beq lbl_80328DC0 +/* 80328DB0 00325D10 34 61 00 E0 */ addic. r3, r1, 0xe0 +/* 80328DB4 00325D14 41 82 00 0C */ beq lbl_80328DC0 +/* 80328DB8 00325D18 38 80 00 00 */ li r4, 0 +/* 80328DBC 00325D1C 48 01 80 85 */ bl __dt__6CTokenFv +lbl_80328DC0: +/* 80328DC0 00325D20 88 01 01 30 */ lbz r0, 0x130(r1) +/* 80328DC4 00325D24 38 60 00 00 */ li r3, 0 +/* 80328DC8 00325D28 98 61 00 E8 */ stb r3, 0xe8(r1) +/* 80328DCC 00325D2C 28 00 00 00 */ cmplwi r0, 0 +/* 80328DD0 00325D30 41 82 00 74 */ beq lbl_80328E44 +/* 80328DD4 00325D34 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80328DD8 00325D38 38 81 01 28 */ addi r4, r1, 0x128 +/* 80328DDC 00325D3C 48 01 80 CD */ bl __ct__6CTokenFRC6CToken +/* 80328DE0 00325D40 38 00 00 00 */ li r0, 0 +/* 80328DE4 00325D44 90 01 00 DC */ stw r0, 0xdc(r1) +/* 80328DE8 00325D48 88 1F 00 54 */ lbz r0, 0x54(r31) +/* 80328DEC 00325D4C 28 00 00 00 */ cmplwi r0, 0 +/* 80328DF0 00325D50 40 82 00 2C */ bne lbl_80328E1C +/* 80328DF4 00325D54 37 3F 00 48 */ addic. r25, r31, 0x48 +/* 80328DF8 00325D58 41 82 00 18 */ beq lbl_80328E10 +/* 80328DFC 00325D5C 7F 23 CB 78 */ mr r3, r25 +/* 80328E00 00325D60 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80328E04 00325D64 48 01 80 A5 */ bl __ct__6CTokenFRC6CToken +/* 80328E08 00325D68 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 80328E0C 00325D6C 90 19 00 08 */ stw r0, 8(r25) +lbl_80328E10: +/* 80328E10 00325D70 38 00 00 01 */ li r0, 1 +/* 80328E14 00325D74 98 1F 00 54 */ stb r0, 0x54(r31) +/* 80328E18 00325D78 48 00 00 1C */ b lbl_80328E34 +lbl_80328E1C: +/* 80328E1C 00325D7C 3B 3F 00 48 */ addi r25, r31, 0x48 +/* 80328E20 00325D80 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80328E24 00325D84 7F 23 CB 78 */ mr r3, r25 +/* 80328E28 00325D88 48 01 7E 9D */ bl __as__6CTokenFRC6CToken +/* 80328E2C 00325D8C 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 80328E30 00325D90 90 19 00 08 */ stw r0, 8(r25) +lbl_80328E34: +/* 80328E34 00325D94 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80328E38 00325D98 38 80 00 00 */ li r4, 0 +/* 80328E3C 00325D9C 48 01 80 05 */ bl __dt__6CTokenFv +/* 80328E40 00325DA0 48 00 00 BC */ b lbl_80328EFC +lbl_80328E44: +/* 80328E44 00325DA4 3B 3F 00 48 */ addi r25, r31, 0x48 +/* 80328E48 00325DA8 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 80328E4C 00325DAC 7C 19 20 40 */ cmplw r25, r4 +/* 80328E50 00325DB0 98 61 00 D0 */ stb r3, 0xd0(r1) +/* 80328E54 00325DB4 41 82 00 7C */ beq lbl_80328ED0 +/* 80328E58 00325DB8 28 03 00 00 */ cmplwi r3, 0 +/* 80328E5C 00325DBC 41 82 00 48 */ beq lbl_80328EA4 +/* 80328E60 00325DC0 88 1F 00 54 */ lbz r0, 0x54(r31) +/* 80328E64 00325DC4 28 00 00 00 */ cmplwi r0, 0 +/* 80328E68 00325DC8 40 82 00 28 */ bne lbl_80328E90 +/* 80328E6C 00325DCC 37 3F 00 48 */ addic. r25, r31, 0x48 +/* 80328E70 00325DD0 41 82 00 14 */ beq lbl_80328E84 +/* 80328E74 00325DD4 7F 23 CB 78 */ mr r3, r25 +/* 80328E78 00325DD8 48 01 80 31 */ bl __ct__6CTokenFRC6CToken +/* 80328E7C 00325DDC 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 80328E80 00325DE0 90 19 00 08 */ stw r0, 8(r25) +lbl_80328E84: +/* 80328E84 00325DE4 38 00 00 01 */ li r0, 1 +/* 80328E88 00325DE8 98 1F 00 54 */ stb r0, 0x54(r31) +/* 80328E8C 00325DEC 48 00 00 44 */ b lbl_80328ED0 +lbl_80328E90: +/* 80328E90 00325DF0 7F 23 CB 78 */ mr r3, r25 +/* 80328E94 00325DF4 48 01 7E 31 */ bl __as__6CTokenFRC6CToken +/* 80328E98 00325DF8 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 80328E9C 00325DFC 90 19 00 08 */ stw r0, 8(r25) +/* 80328EA0 00325E00 48 00 00 30 */ b lbl_80328ED0 +lbl_80328EA4: +/* 80328EA4 00325E04 88 1F 00 54 */ lbz r0, 0x54(r31) +/* 80328EA8 00325E08 28 00 00 00 */ cmplwi r0, 0 +/* 80328EAC 00325E0C 41 82 00 1C */ beq lbl_80328EC8 +/* 80328EB0 00325E10 34 7F 00 48 */ addic. r3, r31, 0x48 +/* 80328EB4 00325E14 41 82 00 14 */ beq lbl_80328EC8 +/* 80328EB8 00325E18 28 03 00 00 */ cmplwi r3, 0 +/* 80328EBC 00325E1C 41 82 00 0C */ beq lbl_80328EC8 +/* 80328EC0 00325E20 38 80 00 00 */ li r4, 0 +/* 80328EC4 00325E24 48 01 7F 7D */ bl __dt__6CTokenFv +lbl_80328EC8: +/* 80328EC8 00325E28 38 00 00 00 */ li r0, 0 +/* 80328ECC 00325E2C 98 1F 00 54 */ stb r0, 0x54(r31) +lbl_80328ED0: +/* 80328ED0 00325E30 88 01 00 D0 */ lbz r0, 0xd0(r1) +/* 80328ED4 00325E34 28 00 00 00 */ cmplwi r0, 0 +/* 80328ED8 00325E38 41 82 00 1C */ beq lbl_80328EF4 +/* 80328EDC 00325E3C 34 61 00 C4 */ addic. r3, r1, 0xc4 +/* 80328EE0 00325E40 41 82 00 14 */ beq lbl_80328EF4 +/* 80328EE4 00325E44 28 03 00 00 */ cmplwi r3, 0 +/* 80328EE8 00325E48 41 82 00 0C */ beq lbl_80328EF4 +/* 80328EEC 00325E4C 38 80 00 00 */ li r4, 0 +/* 80328EF0 00325E50 48 01 7F 51 */ bl __dt__6CTokenFv +lbl_80328EF4: +/* 80328EF4 00325E54 38 00 00 00 */ li r0, 0 +/* 80328EF8 00325E58 98 01 00 D0 */ stb r0, 0xd0(r1) +lbl_80328EFC: +/* 80328EFC 00325E5C 88 01 01 30 */ lbz r0, 0x130(r1) +/* 80328F00 00325E60 28 00 00 00 */ cmplwi r0, 0 +/* 80328F04 00325E64 41 82 00 14 */ beq lbl_80328F18 +/* 80328F08 00325E68 34 61 01 28 */ addic. r3, r1, 0x128 +/* 80328F0C 00325E6C 41 82 00 0C */ beq lbl_80328F18 +/* 80328F10 00325E70 38 80 00 00 */ li r4, 0 +/* 80328F14 00325E74 48 01 7F 2D */ bl __dt__6CTokenFv +lbl_80328F18: +/* 80328F18 00325E78 38 00 00 00 */ li r0, 0 +/* 80328F1C 00325E7C 98 01 01 30 */ stb r0, 0x130(r1) +/* 80328F20 00325E80 48 00 0A F8 */ b lbl_80329A18 +lbl_80328F24: +/* 80328F24 00325E84 7F C3 F3 78 */ mr r3, r30 +/* 80328F28 00325E88 4B FF D3 2D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F2C 00325E8C 90 7F 00 58 */ stw r3, 0x58(r31) +/* 80328F30 00325E90 48 00 0A E8 */ b lbl_80329A18 +lbl_80328F34: +/* 80328F34 00325E94 7F C3 F3 78 */ mr r3, r30 +/* 80328F38 00325E98 4B FF D3 1D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F3C 00325E9C 90 7F 00 5C */ stw r3, 0x5c(r31) +/* 80328F40 00325EA0 48 00 0A D8 */ b lbl_80329A18 +lbl_80328F44: +/* 80328F44 00325EA4 7F C3 F3 78 */ mr r3, r30 +/* 80328F48 00325EA8 4B FF D3 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F4C 00325EAC 90 7F 00 60 */ stw r3, 0x60(r31) +/* 80328F50 00325EB0 48 00 0A C8 */ b lbl_80329A18 +lbl_80328F54: +/* 80328F54 00325EB4 7F C3 F3 78 */ mr r3, r30 +/* 80328F58 00325EB8 4B FF C3 05 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F5C 00325EBC 90 7F 00 64 */ stw r3, 0x64(r31) +/* 80328F60 00325EC0 48 00 0A B8 */ b lbl_80329A18 +lbl_80328F64: +/* 80328F64 00325EC4 7F C3 F3 78 */ mr r3, r30 +/* 80328F68 00325EC8 4B FF F4 C1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328F6C 00325ECC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328F70 00325ED0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80328F74 00325ED4 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328F78 00325ED8 48 00 0A A0 */ b lbl_80329A18 +lbl_80328F7C: +/* 80328F7C 00325EDC 7F C3 F3 78 */ mr r3, r30 +/* 80328F80 00325EE0 4B FF F4 A9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328F84 00325EE4 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328F88 00325EE8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80328F8C 00325EEC 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328F90 00325EF0 48 00 0A 88 */ b lbl_80329A18 +lbl_80328F94: +/* 80328F94 00325EF4 7F C3 F3 78 */ mr r3, r30 +/* 80328F98 00325EF8 4B FF F4 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328F9C 00325EFC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328FA0 00325F00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80328FA4 00325F04 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328FA8 00325F08 48 00 0A 70 */ b lbl_80329A18 +lbl_80328FAC: +/* 80328FAC 00325F0C 7F C3 F3 78 */ mr r3, r30 +/* 80328FB0 00325F10 4B FF EB F5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328FB4 00325F14 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80328FB8 00325F18 48 00 0A 60 */ b lbl_80329A18 +lbl_80328FBC: +/* 80328FBC 00325F1C 7F C4 F3 78 */ mr r4, r30 +/* 80328FC0 00325F20 7F A5 EB 78 */ mr r5, r29 +/* 80328FC4 00325F24 7F 86 E3 78 */ mr r6, r28 +/* 80328FC8 00325F28 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80328FCC 00325F2C 4B FF BD C5 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 80328FD0 00325F30 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 80328FD4 00325F34 28 00 00 00 */ cmplwi r0, 0 +/* 80328FD8 00325F38 98 01 01 24 */ stb r0, 0x124(r1) +/* 80328FDC 00325F3C 41 82 00 14 */ beq lbl_80328FF0 +/* 80328FE0 00325F40 34 61 01 1C */ addic. r3, r1, 0x11c +/* 80328FE4 00325F44 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80328FE8 00325F48 41 82 00 08 */ beq lbl_80328FF0 +/* 80328FEC 00325F4C 48 01 7E BD */ bl __ct__6CTokenFRC6CToken +lbl_80328FF0: +/* 80328FF0 00325F50 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 80328FF4 00325F54 28 00 00 00 */ cmplwi r0, 0 +/* 80328FF8 00325F58 41 82 00 14 */ beq lbl_8032900C +/* 80328FFC 00325F5C 34 61 00 B8 */ addic. r3, r1, 0xb8 +/* 80329000 00325F60 41 82 00 0C */ beq lbl_8032900C +/* 80329004 00325F64 38 80 00 00 */ li r4, 0 +/* 80329008 00325F68 48 01 7E 39 */ bl __dt__6CTokenFv +lbl_8032900C: +/* 8032900C 00325F6C 88 01 01 24 */ lbz r0, 0x124(r1) +/* 80329010 00325F70 38 60 00 00 */ li r3, 0 +/* 80329014 00325F74 98 61 00 C0 */ stb r3, 0xc0(r1) +/* 80329018 00325F78 28 00 00 00 */ cmplwi r0, 0 +/* 8032901C 00325F7C 41 82 00 74 */ beq lbl_80329090 +/* 80329020 00325F80 38 61 00 AC */ addi r3, r1, 0xac +/* 80329024 00325F84 38 81 01 1C */ addi r4, r1, 0x11c +/* 80329028 00325F88 48 01 7E 81 */ bl __ct__6CTokenFRC6CToken +/* 8032902C 00325F8C 38 00 00 00 */ li r0, 0 +/* 80329030 00325F90 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80329034 00325F94 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 80329038 00325F98 28 00 00 00 */ cmplwi r0, 0 +/* 8032903C 00325F9C 40 82 00 2C */ bne lbl_80329068 +/* 80329040 00325FA0 37 3F 00 78 */ addic. r25, r31, 0x78 +/* 80329044 00325FA4 41 82 00 18 */ beq lbl_8032905C +/* 80329048 00325FA8 7F 23 CB 78 */ mr r3, r25 +/* 8032904C 00325FAC 38 81 00 AC */ addi r4, r1, 0xac +/* 80329050 00325FB0 48 01 7E 59 */ bl __ct__6CTokenFRC6CToken +/* 80329054 00325FB4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80329058 00325FB8 90 19 00 08 */ stw r0, 8(r25) +lbl_8032905C: +/* 8032905C 00325FBC 38 00 00 01 */ li r0, 1 +/* 80329060 00325FC0 98 1F 00 84 */ stb r0, 0x84(r31) +/* 80329064 00325FC4 48 00 00 1C */ b lbl_80329080 +lbl_80329068: +/* 80329068 00325FC8 3B 3F 00 78 */ addi r25, r31, 0x78 +/* 8032906C 00325FCC 38 81 00 AC */ addi r4, r1, 0xac +/* 80329070 00325FD0 7F 23 CB 78 */ mr r3, r25 +/* 80329074 00325FD4 48 01 7C 51 */ bl __as__6CTokenFRC6CToken +/* 80329078 00325FD8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8032907C 00325FDC 90 19 00 08 */ stw r0, 8(r25) +lbl_80329080: +/* 80329080 00325FE0 38 61 00 AC */ addi r3, r1, 0xac +/* 80329084 00325FE4 38 80 00 00 */ li r4, 0 +/* 80329088 00325FE8 48 01 7D B9 */ bl __dt__6CTokenFv +/* 8032908C 00325FEC 48 00 00 BC */ b lbl_80329148 +lbl_80329090: +/* 80329090 00325FF0 3B 3F 00 78 */ addi r25, r31, 0x78 +/* 80329094 00325FF4 38 81 00 9C */ addi r4, r1, 0x9c +/* 80329098 00325FF8 7C 19 20 40 */ cmplw r25, r4 +/* 8032909C 00325FFC 98 61 00 A8 */ stb r3, 0xa8(r1) +/* 803290A0 00326000 41 82 00 7C */ beq lbl_8032911C +/* 803290A4 00326004 28 03 00 00 */ cmplwi r3, 0 +/* 803290A8 00326008 41 82 00 48 */ beq lbl_803290F0 +/* 803290AC 0032600C 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 803290B0 00326010 28 00 00 00 */ cmplwi r0, 0 +/* 803290B4 00326014 40 82 00 28 */ bne lbl_803290DC +/* 803290B8 00326018 37 3F 00 78 */ addic. r25, r31, 0x78 +/* 803290BC 0032601C 41 82 00 14 */ beq lbl_803290D0 +/* 803290C0 00326020 7F 23 CB 78 */ mr r3, r25 +/* 803290C4 00326024 48 01 7D E5 */ bl __ct__6CTokenFRC6CToken +/* 803290C8 00326028 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 803290CC 0032602C 90 19 00 08 */ stw r0, 8(r25) +lbl_803290D0: +/* 803290D0 00326030 38 00 00 01 */ li r0, 1 +/* 803290D4 00326034 98 1F 00 84 */ stb r0, 0x84(r31) +/* 803290D8 00326038 48 00 00 44 */ b lbl_8032911C +lbl_803290DC: +/* 803290DC 0032603C 7F 23 CB 78 */ mr r3, r25 +/* 803290E0 00326040 48 01 7B E5 */ bl __as__6CTokenFRC6CToken +/* 803290E4 00326044 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 803290E8 00326048 90 19 00 08 */ stw r0, 8(r25) +/* 803290EC 0032604C 48 00 00 30 */ b lbl_8032911C +lbl_803290F0: +/* 803290F0 00326050 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 803290F4 00326054 28 00 00 00 */ cmplwi r0, 0 +/* 803290F8 00326058 41 82 00 1C */ beq lbl_80329114 +/* 803290FC 0032605C 34 7F 00 78 */ addic. r3, r31, 0x78 +/* 80329100 00326060 41 82 00 14 */ beq lbl_80329114 +/* 80329104 00326064 28 03 00 00 */ cmplwi r3, 0 +/* 80329108 00326068 41 82 00 0C */ beq lbl_80329114 +/* 8032910C 0032606C 38 80 00 00 */ li r4, 0 +/* 80329110 00326070 48 01 7D 31 */ bl __dt__6CTokenFv +lbl_80329114: +/* 80329114 00326074 38 00 00 00 */ li r0, 0 +/* 80329118 00326078 98 1F 00 84 */ stb r0, 0x84(r31) +lbl_8032911C: +/* 8032911C 0032607C 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 80329120 00326080 28 00 00 00 */ cmplwi r0, 0 +/* 80329124 00326084 41 82 00 1C */ beq lbl_80329140 +/* 80329128 00326088 34 61 00 9C */ addic. r3, r1, 0x9c +/* 8032912C 0032608C 41 82 00 14 */ beq lbl_80329140 +/* 80329130 00326090 28 03 00 00 */ cmplwi r3, 0 +/* 80329134 00326094 41 82 00 0C */ beq lbl_80329140 +/* 80329138 00326098 38 80 00 00 */ li r4, 0 +/* 8032913C 0032609C 48 01 7D 05 */ bl __dt__6CTokenFv +lbl_80329140: +/* 80329140 003260A0 38 00 00 00 */ li r0, 0 +/* 80329144 003260A4 98 01 00 A8 */ stb r0, 0xa8(r1) +lbl_80329148: +/* 80329148 003260A8 88 01 01 24 */ lbz r0, 0x124(r1) +/* 8032914C 003260AC 28 00 00 00 */ cmplwi r0, 0 +/* 80329150 003260B0 41 82 00 14 */ beq lbl_80329164 +/* 80329154 003260B4 34 61 01 1C */ addic. r3, r1, 0x11c +/* 80329158 003260B8 41 82 00 0C */ beq lbl_80329164 +/* 8032915C 003260BC 38 80 00 00 */ li r4, 0 +/* 80329160 003260C0 48 01 7C E1 */ bl __dt__6CTokenFv +lbl_80329164: +/* 80329164 003260C4 38 00 00 00 */ li r0, 0 +/* 80329168 003260C8 98 01 01 24 */ stb r0, 0x124(r1) +/* 8032916C 003260CC 48 00 08 AC */ b lbl_80329A18 +lbl_80329170: +/* 80329170 003260D0 7F C3 F3 78 */ mr r3, r30 +/* 80329174 003260D4 4B FF EA 31 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329178 003260D8 90 7F 00 88 */ stw r3, 0x88(r31) +/* 8032917C 003260DC 48 00 08 9C */ b lbl_80329A18 +lbl_80329180: +/* 80329180 003260E0 7F C3 F3 78 */ mr r3, r30 +/* 80329184 003260E4 4B FF EA 21 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329188 003260E8 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 8032918C 003260EC 48 00 08 8C */ b lbl_80329A18 +lbl_80329190: +/* 80329190 003260F0 7F C4 F3 78 */ mr r4, r30 +/* 80329194 003260F4 7F A5 EB 78 */ mr r5, r29 +/* 80329198 003260F8 7F 86 E3 78 */ mr r6, r28 +/* 8032919C 003260FC 38 61 00 90 */ addi r3, r1, 0x90 +/* 803291A0 00326100 4B FF BB F1 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 803291A4 00326104 88 01 00 98 */ lbz r0, 0x98(r1) +/* 803291A8 00326108 28 00 00 00 */ cmplwi r0, 0 +/* 803291AC 0032610C 98 01 01 18 */ stb r0, 0x118(r1) +/* 803291B0 00326110 41 82 00 14 */ beq lbl_803291C4 +/* 803291B4 00326114 34 61 01 10 */ addic. r3, r1, 0x110 +/* 803291B8 00326118 38 81 00 90 */ addi r4, r1, 0x90 +/* 803291BC 0032611C 41 82 00 08 */ beq lbl_803291C4 +/* 803291C0 00326120 48 01 7C E9 */ bl __ct__6CTokenFRC6CToken +lbl_803291C4: +/* 803291C4 00326124 88 01 00 98 */ lbz r0, 0x98(r1) +/* 803291C8 00326128 28 00 00 00 */ cmplwi r0, 0 +/* 803291CC 0032612C 41 82 00 14 */ beq lbl_803291E0 +/* 803291D0 00326130 34 61 00 90 */ addic. r3, r1, 0x90 +/* 803291D4 00326134 41 82 00 0C */ beq lbl_803291E0 +/* 803291D8 00326138 38 80 00 00 */ li r4, 0 +/* 803291DC 0032613C 48 01 7C 65 */ bl __dt__6CTokenFv +lbl_803291E0: +/* 803291E0 00326140 88 01 01 18 */ lbz r0, 0x118(r1) +/* 803291E4 00326144 38 60 00 00 */ li r3, 0 +/* 803291E8 00326148 98 61 00 98 */ stb r3, 0x98(r1) +/* 803291EC 0032614C 28 00 00 00 */ cmplwi r0, 0 +/* 803291F0 00326150 41 82 00 74 */ beq lbl_80329264 +/* 803291F4 00326154 38 61 00 84 */ addi r3, r1, 0x84 +/* 803291F8 00326158 38 81 01 10 */ addi r4, r1, 0x110 +/* 803291FC 0032615C 48 01 7C AD */ bl __ct__6CTokenFRC6CToken +/* 80329200 00326160 38 00 00 00 */ li r0, 0 +/* 80329204 00326164 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80329208 00326168 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 8032920C 0032616C 28 00 00 00 */ cmplwi r0, 0 +/* 80329210 00326170 40 82 00 2C */ bne lbl_8032923C +/* 80329214 00326174 37 3F 00 90 */ addic. r25, r31, 0x90 +/* 80329218 00326178 41 82 00 18 */ beq lbl_80329230 +/* 8032921C 0032617C 7F 23 CB 78 */ mr r3, r25 +/* 80329220 00326180 38 81 00 84 */ addi r4, r1, 0x84 +/* 80329224 00326184 48 01 7C 85 */ bl __ct__6CTokenFRC6CToken +/* 80329228 00326188 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 8032922C 0032618C 90 19 00 08 */ stw r0, 8(r25) +lbl_80329230: +/* 80329230 00326190 38 00 00 01 */ li r0, 1 +/* 80329234 00326194 98 1F 00 9C */ stb r0, 0x9c(r31) +/* 80329238 00326198 48 00 00 1C */ b lbl_80329254 +lbl_8032923C: +/* 8032923C 0032619C 3B 3F 00 90 */ addi r25, r31, 0x90 +/* 80329240 003261A0 38 81 00 84 */ addi r4, r1, 0x84 +/* 80329244 003261A4 7F 23 CB 78 */ mr r3, r25 +/* 80329248 003261A8 48 01 7A 7D */ bl __as__6CTokenFRC6CToken +/* 8032924C 003261AC 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80329250 003261B0 90 19 00 08 */ stw r0, 8(r25) +lbl_80329254: +/* 80329254 003261B4 38 61 00 84 */ addi r3, r1, 0x84 +/* 80329258 003261B8 38 80 00 00 */ li r4, 0 +/* 8032925C 003261BC 48 01 7B E5 */ bl __dt__6CTokenFv +/* 80329260 003261C0 48 00 00 BC */ b lbl_8032931C +lbl_80329264: +/* 80329264 003261C4 3B 3F 00 90 */ addi r25, r31, 0x90 +/* 80329268 003261C8 38 81 00 74 */ addi r4, r1, 0x74 +/* 8032926C 003261CC 7C 19 20 40 */ cmplw r25, r4 +/* 80329270 003261D0 98 61 00 80 */ stb r3, 0x80(r1) +/* 80329274 003261D4 41 82 00 7C */ beq lbl_803292F0 +/* 80329278 003261D8 28 03 00 00 */ cmplwi r3, 0 +/* 8032927C 003261DC 41 82 00 48 */ beq lbl_803292C4 +/* 80329280 003261E0 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 80329284 003261E4 28 00 00 00 */ cmplwi r0, 0 +/* 80329288 003261E8 40 82 00 28 */ bne lbl_803292B0 +/* 8032928C 003261EC 37 3F 00 90 */ addic. r25, r31, 0x90 +/* 80329290 003261F0 41 82 00 14 */ beq lbl_803292A4 +/* 80329294 003261F4 7F 23 CB 78 */ mr r3, r25 +/* 80329298 003261F8 48 01 7C 11 */ bl __ct__6CTokenFRC6CToken +/* 8032929C 003261FC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 803292A0 00326200 90 19 00 08 */ stw r0, 8(r25) +lbl_803292A4: +/* 803292A4 00326204 38 00 00 01 */ li r0, 1 +/* 803292A8 00326208 98 1F 00 9C */ stb r0, 0x9c(r31) +/* 803292AC 0032620C 48 00 00 44 */ b lbl_803292F0 +lbl_803292B0: +/* 803292B0 00326210 7F 23 CB 78 */ mr r3, r25 +/* 803292B4 00326214 48 01 7A 11 */ bl __as__6CTokenFRC6CToken +/* 803292B8 00326218 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 803292BC 0032621C 90 19 00 08 */ stw r0, 8(r25) +/* 803292C0 00326220 48 00 00 30 */ b lbl_803292F0 +lbl_803292C4: +/* 803292C4 00326224 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 803292C8 00326228 28 00 00 00 */ cmplwi r0, 0 +/* 803292CC 0032622C 41 82 00 1C */ beq lbl_803292E8 +/* 803292D0 00326230 34 7F 00 90 */ addic. r3, r31, 0x90 +/* 803292D4 00326234 41 82 00 14 */ beq lbl_803292E8 +/* 803292D8 00326238 28 03 00 00 */ cmplwi r3, 0 +/* 803292DC 0032623C 41 82 00 0C */ beq lbl_803292E8 +/* 803292E0 00326240 38 80 00 00 */ li r4, 0 +/* 803292E4 00326244 48 01 7B 5D */ bl __dt__6CTokenFv +lbl_803292E8: +/* 803292E8 00326248 38 00 00 00 */ li r0, 0 +/* 803292EC 0032624C 98 1F 00 9C */ stb r0, 0x9c(r31) +lbl_803292F0: +/* 803292F0 00326250 88 01 00 80 */ lbz r0, 0x80(r1) +/* 803292F4 00326254 28 00 00 00 */ cmplwi r0, 0 +/* 803292F8 00326258 41 82 00 1C */ beq lbl_80329314 +/* 803292FC 0032625C 34 61 00 74 */ addic. r3, r1, 0x74 +/* 80329300 00326260 41 82 00 14 */ beq lbl_80329314 +/* 80329304 00326264 28 03 00 00 */ cmplwi r3, 0 +/* 80329308 00326268 41 82 00 0C */ beq lbl_80329314 +/* 8032930C 0032626C 38 80 00 00 */ li r4, 0 +/* 80329310 00326270 48 01 7B 31 */ bl __dt__6CTokenFv +lbl_80329314: +/* 80329314 00326274 38 00 00 00 */ li r0, 0 +/* 80329318 00326278 98 01 00 80 */ stb r0, 0x80(r1) +lbl_8032931C: +/* 8032931C 0032627C 88 01 01 18 */ lbz r0, 0x118(r1) +/* 80329320 00326280 28 00 00 00 */ cmplwi r0, 0 +/* 80329324 00326284 41 82 00 14 */ beq lbl_80329338 +/* 80329328 00326288 34 61 01 10 */ addic. r3, r1, 0x110 +/* 8032932C 0032628C 41 82 00 0C */ beq lbl_80329338 +/* 80329330 00326290 38 80 00 00 */ li r4, 0 +/* 80329334 00326294 48 01 7B 0D */ bl __dt__6CTokenFv +lbl_80329338: +/* 80329338 00326298 38 00 00 00 */ li r0, 0 +/* 8032933C 0032629C 98 01 01 18 */ stb r0, 0x118(r1) +/* 80329340 003262A0 48 00 06 D8 */ b lbl_80329A18 +lbl_80329344: +/* 80329344 003262A4 7F C3 F3 78 */ mr r3, r30 +/* 80329348 003262A8 4B FF E8 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032934C 003262AC 90 7F 00 A0 */ stw r3, 0xa0(r31) +/* 80329350 003262B0 48 00 06 C8 */ b lbl_80329A18 +lbl_80329354: +/* 80329354 003262B4 7F C4 F3 78 */ mr r4, r30 +/* 80329358 003262B8 7F A5 EB 78 */ mr r5, r29 +/* 8032935C 003262BC 7F 86 E3 78 */ mr r6, r28 +/* 80329360 003262C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80329364 003262C4 4B FF BA 2D */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 80329368 003262C8 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8032936C 003262CC 28 00 00 00 */ cmplwi r0, 0 +/* 80329370 003262D0 98 01 01 0C */ stb r0, 0x10c(r1) +/* 80329374 003262D4 41 82 00 14 */ beq lbl_80329388 +/* 80329378 003262D8 34 61 01 04 */ addic. r3, r1, 0x104 +/* 8032937C 003262DC 38 81 00 68 */ addi r4, r1, 0x68 +/* 80329380 003262E0 41 82 00 08 */ beq lbl_80329388 +/* 80329384 003262E4 48 01 7B 25 */ bl __ct__6CTokenFRC6CToken +lbl_80329388: +/* 80329388 003262E8 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8032938C 003262EC 28 00 00 00 */ cmplwi r0, 0 +/* 80329390 003262F0 41 82 00 14 */ beq lbl_803293A4 +/* 80329394 003262F4 34 61 00 68 */ addic. r3, r1, 0x68 +/* 80329398 003262F8 41 82 00 0C */ beq lbl_803293A4 +/* 8032939C 003262FC 38 80 00 00 */ li r4, 0 +/* 803293A0 00326300 48 01 7A A1 */ bl __dt__6CTokenFv +lbl_803293A4: +/* 803293A4 00326304 88 01 01 0C */ lbz r0, 0x10c(r1) +/* 803293A8 00326308 38 60 00 00 */ li r3, 0 +/* 803293AC 0032630C 98 61 00 70 */ stb r3, 0x70(r1) +/* 803293B0 00326310 28 00 00 00 */ cmplwi r0, 0 +/* 803293B4 00326314 41 82 00 74 */ beq lbl_80329428 +/* 803293B8 00326318 38 61 00 5C */ addi r3, r1, 0x5c +/* 803293BC 0032631C 38 81 01 04 */ addi r4, r1, 0x104 +/* 803293C0 00326320 48 01 7A E9 */ bl __ct__6CTokenFRC6CToken +/* 803293C4 00326324 38 00 00 00 */ li r0, 0 +/* 803293C8 00326328 90 01 00 64 */ stw r0, 0x64(r1) +/* 803293CC 0032632C 88 1F 00 B0 */ lbz r0, 0xb0(r31) +/* 803293D0 00326330 28 00 00 00 */ cmplwi r0, 0 +/* 803293D4 00326334 40 82 00 2C */ bne lbl_80329400 +/* 803293D8 00326338 37 3F 00 A4 */ addic. r25, r31, 0xa4 +/* 803293DC 0032633C 41 82 00 18 */ beq lbl_803293F4 +/* 803293E0 00326340 7F 23 CB 78 */ mr r3, r25 +/* 803293E4 00326344 38 81 00 5C */ addi r4, r1, 0x5c +/* 803293E8 00326348 48 01 7A C1 */ bl __ct__6CTokenFRC6CToken +/* 803293EC 0032634C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803293F0 00326350 90 19 00 08 */ stw r0, 8(r25) +lbl_803293F4: +/* 803293F4 00326354 38 00 00 01 */ li r0, 1 +/* 803293F8 00326358 98 1F 00 B0 */ stb r0, 0xb0(r31) +/* 803293FC 0032635C 48 00 00 1C */ b lbl_80329418 +lbl_80329400: +/* 80329400 00326360 3B 3F 00 A4 */ addi r25, r31, 0xa4 +/* 80329404 00326364 38 81 00 5C */ addi r4, r1, 0x5c +/* 80329408 00326368 7F 23 CB 78 */ mr r3, r25 +/* 8032940C 0032636C 48 01 78 B9 */ bl __as__6CTokenFRC6CToken +/* 80329410 00326370 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80329414 00326374 90 19 00 08 */ stw r0, 8(r25) +lbl_80329418: +/* 80329418 00326378 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032941C 0032637C 38 80 00 00 */ li r4, 0 +/* 80329420 00326380 48 01 7A 21 */ bl __dt__6CTokenFv +/* 80329424 00326384 48 00 00 BC */ b lbl_803294E0 +lbl_80329428: +/* 80329428 00326388 3B 3F 00 A4 */ addi r25, r31, 0xa4 +/* 8032942C 0032638C 38 81 00 4C */ addi r4, r1, 0x4c +/* 80329430 00326390 7C 19 20 40 */ cmplw r25, r4 +/* 80329434 00326394 98 61 00 58 */ stb r3, 0x58(r1) +/* 80329438 00326398 41 82 00 7C */ beq lbl_803294B4 +/* 8032943C 0032639C 28 03 00 00 */ cmplwi r3, 0 +/* 80329440 003263A0 41 82 00 48 */ beq lbl_80329488 +/* 80329444 003263A4 88 1F 00 B0 */ lbz r0, 0xb0(r31) +/* 80329448 003263A8 28 00 00 00 */ cmplwi r0, 0 +/* 8032944C 003263AC 40 82 00 28 */ bne lbl_80329474 +/* 80329450 003263B0 37 3F 00 A4 */ addic. r25, r31, 0xa4 +/* 80329454 003263B4 41 82 00 14 */ beq lbl_80329468 +/* 80329458 003263B8 7F 23 CB 78 */ mr r3, r25 +/* 8032945C 003263BC 48 01 7A 4D */ bl __ct__6CTokenFRC6CToken +/* 80329460 003263C0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80329464 003263C4 90 19 00 08 */ stw r0, 8(r25) +lbl_80329468: +/* 80329468 003263C8 38 00 00 01 */ li r0, 1 +/* 8032946C 003263CC 98 1F 00 B0 */ stb r0, 0xb0(r31) +/* 80329470 003263D0 48 00 00 44 */ b lbl_803294B4 +lbl_80329474: +/* 80329474 003263D4 7F 23 CB 78 */ mr r3, r25 +/* 80329478 003263D8 48 01 78 4D */ bl __as__6CTokenFRC6CToken +/* 8032947C 003263DC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80329480 003263E0 90 19 00 08 */ stw r0, 8(r25) +/* 80329484 003263E4 48 00 00 30 */ b lbl_803294B4 +lbl_80329488: +/* 80329488 003263E8 88 1F 00 B0 */ lbz r0, 0xb0(r31) +/* 8032948C 003263EC 28 00 00 00 */ cmplwi r0, 0 +/* 80329490 003263F0 41 82 00 1C */ beq lbl_803294AC +/* 80329494 003263F4 34 7F 00 A4 */ addic. r3, r31, 0xa4 +/* 80329498 003263F8 41 82 00 14 */ beq lbl_803294AC +/* 8032949C 003263FC 28 03 00 00 */ cmplwi r3, 0 +/* 803294A0 00326400 41 82 00 0C */ beq lbl_803294AC +/* 803294A4 00326404 38 80 00 00 */ li r4, 0 +/* 803294A8 00326408 48 01 79 99 */ bl __dt__6CTokenFv +lbl_803294AC: +/* 803294AC 0032640C 38 00 00 00 */ li r0, 0 +/* 803294B0 00326410 98 1F 00 B0 */ stb r0, 0xb0(r31) +lbl_803294B4: +/* 803294B4 00326414 88 01 00 58 */ lbz r0, 0x58(r1) +/* 803294B8 00326418 28 00 00 00 */ cmplwi r0, 0 +/* 803294BC 0032641C 41 82 00 1C */ beq lbl_803294D8 +/* 803294C0 00326420 34 61 00 4C */ addic. r3, r1, 0x4c +/* 803294C4 00326424 41 82 00 14 */ beq lbl_803294D8 +/* 803294C8 00326428 28 03 00 00 */ cmplwi r3, 0 +/* 803294CC 0032642C 41 82 00 0C */ beq lbl_803294D8 +/* 803294D0 00326430 38 80 00 00 */ li r4, 0 +/* 803294D4 00326434 48 01 79 6D */ bl __dt__6CTokenFv +lbl_803294D8: +/* 803294D8 00326438 38 00 00 00 */ li r0, 0 +/* 803294DC 0032643C 98 01 00 58 */ stb r0, 0x58(r1) +lbl_803294E0: +/* 803294E0 00326440 88 01 01 0C */ lbz r0, 0x10c(r1) +/* 803294E4 00326444 28 00 00 00 */ cmplwi r0, 0 +/* 803294E8 00326448 41 82 00 14 */ beq lbl_803294FC +/* 803294EC 0032644C 34 61 01 04 */ addic. r3, r1, 0x104 +/* 803294F0 00326450 41 82 00 0C */ beq lbl_803294FC +/* 803294F4 00326454 38 80 00 00 */ li r4, 0 +/* 803294F8 00326458 48 01 79 49 */ bl __dt__6CTokenFv +lbl_803294FC: +/* 803294FC 0032645C 38 00 00 00 */ li r0, 0 +/* 80329500 00326460 98 01 01 0C */ stb r0, 0x10c(r1) +/* 80329504 00326464 48 00 05 14 */ b lbl_80329A18 +lbl_80329508: +/* 80329508 00326468 7F C3 F3 78 */ mr r3, r30 +/* 8032950C 0032646C 4B FF E6 99 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329510 00326470 90 7F 00 B4 */ stw r3, 0xb4(r31) +/* 80329514 00326474 48 00 05 04 */ b lbl_80329A18 +lbl_80329518: +/* 80329518 00326478 7F C3 F3 78 */ mr r3, r30 +/* 8032951C 0032647C 4B FF E6 89 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329520 00326480 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 80329524 00326484 48 00 04 F4 */ b lbl_80329A18 +lbl_80329528: +/* 80329528 00326488 7F C4 F3 78 */ mr r4, r30 +/* 8032952C 0032648C 7F A5 EB 78 */ mr r5, r29 +/* 80329530 00326490 38 61 00 40 */ addi r3, r1, 0x40 +/* 80329534 00326494 4B FF B6 85 */ bl GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80329538 00326498 88 01 00 48 */ lbz r0, 0x48(r1) +/* 8032953C 0032649C 28 00 00 00 */ cmplwi r0, 0 +/* 80329540 003264A0 98 01 01 00 */ stb r0, 0x100(r1) +/* 80329544 003264A4 41 82 00 14 */ beq lbl_80329558 +/* 80329548 003264A8 34 61 00 F8 */ addic. r3, r1, 0xf8 +/* 8032954C 003264AC 38 81 00 40 */ addi r4, r1, 0x40 +/* 80329550 003264B0 41 82 00 08 */ beq lbl_80329558 +/* 80329554 003264B4 48 01 79 55 */ bl __ct__6CTokenFRC6CToken +lbl_80329558: +/* 80329558 003264B8 88 01 00 48 */ lbz r0, 0x48(r1) +/* 8032955C 003264BC 28 00 00 00 */ cmplwi r0, 0 +/* 80329560 003264C0 41 82 00 14 */ beq lbl_80329574 +/* 80329564 003264C4 34 61 00 40 */ addic. r3, r1, 0x40 +/* 80329568 003264C8 41 82 00 0C */ beq lbl_80329574 +/* 8032956C 003264CC 38 80 00 00 */ li r4, 0 +/* 80329570 003264D0 48 01 78 D1 */ bl __dt__6CTokenFv +lbl_80329574: +/* 80329574 003264D4 88 01 01 00 */ lbz r0, 0x100(r1) +/* 80329578 003264D8 38 60 00 00 */ li r3, 0 +/* 8032957C 003264DC 98 61 00 48 */ stb r3, 0x48(r1) +/* 80329580 003264E0 28 00 00 00 */ cmplwi r0, 0 +/* 80329584 003264E4 41 82 00 74 */ beq lbl_803295F8 +/* 80329588 003264E8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8032958C 003264EC 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80329590 003264F0 48 01 79 19 */ bl __ct__6CTokenFRC6CToken +/* 80329594 003264F4 38 00 00 00 */ li r0, 0 +/* 80329598 003264F8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8032959C 003264FC 88 1F 00 CC */ lbz r0, 0xcc(r31) +/* 803295A0 00326500 28 00 00 00 */ cmplwi r0, 0 +/* 803295A4 00326504 40 82 00 2C */ bne lbl_803295D0 +/* 803295A8 00326508 37 3F 00 C0 */ addic. r25, r31, 0xc0 +/* 803295AC 0032650C 41 82 00 18 */ beq lbl_803295C4 +/* 803295B0 00326510 7F 23 CB 78 */ mr r3, r25 +/* 803295B4 00326514 38 81 00 34 */ addi r4, r1, 0x34 +/* 803295B8 00326518 48 01 78 F1 */ bl __ct__6CTokenFRC6CToken +/* 803295BC 0032651C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 803295C0 00326520 90 19 00 08 */ stw r0, 8(r25) +lbl_803295C4: +/* 803295C4 00326524 38 00 00 01 */ li r0, 1 +/* 803295C8 00326528 98 1F 00 CC */ stb r0, 0xcc(r31) +/* 803295CC 0032652C 48 00 00 1C */ b lbl_803295E8 +lbl_803295D0: +/* 803295D0 00326530 3B 3F 00 C0 */ addi r25, r31, 0xc0 +/* 803295D4 00326534 38 81 00 34 */ addi r4, r1, 0x34 +/* 803295D8 00326538 7F 23 CB 78 */ mr r3, r25 +/* 803295DC 0032653C 48 01 76 E9 */ bl __as__6CTokenFRC6CToken +/* 803295E0 00326540 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 803295E4 00326544 90 19 00 08 */ stw r0, 8(r25) +lbl_803295E8: +/* 803295E8 00326548 38 61 00 34 */ addi r3, r1, 0x34 +/* 803295EC 0032654C 38 80 00 00 */ li r4, 0 +/* 803295F0 00326550 48 01 78 51 */ bl __dt__6CTokenFv +/* 803295F4 00326554 48 00 00 BC */ b lbl_803296B0 +lbl_803295F8: +/* 803295F8 00326558 3B 3F 00 C0 */ addi r25, r31, 0xc0 +/* 803295FC 0032655C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80329600 00326560 7C 19 20 40 */ cmplw r25, r4 +/* 80329604 00326564 98 61 00 30 */ stb r3, 0x30(r1) +/* 80329608 00326568 41 82 00 7C */ beq lbl_80329684 +/* 8032960C 0032656C 28 03 00 00 */ cmplwi r3, 0 +/* 80329610 00326570 41 82 00 48 */ beq lbl_80329658 +/* 80329614 00326574 88 1F 00 CC */ lbz r0, 0xcc(r31) +/* 80329618 00326578 28 00 00 00 */ cmplwi r0, 0 +/* 8032961C 0032657C 40 82 00 28 */ bne lbl_80329644 +/* 80329620 00326580 37 3F 00 C0 */ addic. r25, r31, 0xc0 +/* 80329624 00326584 41 82 00 14 */ beq lbl_80329638 +/* 80329628 00326588 7F 23 CB 78 */ mr r3, r25 +/* 8032962C 0032658C 48 01 78 7D */ bl __ct__6CTokenFRC6CToken +/* 80329630 00326590 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80329634 00326594 90 19 00 08 */ stw r0, 8(r25) +lbl_80329638: +/* 80329638 00326598 38 00 00 01 */ li r0, 1 +/* 8032963C 0032659C 98 1F 00 CC */ stb r0, 0xcc(r31) +/* 80329640 003265A0 48 00 00 44 */ b lbl_80329684 +lbl_80329644: +/* 80329644 003265A4 7F 23 CB 78 */ mr r3, r25 +/* 80329648 003265A8 48 01 76 7D */ bl __as__6CTokenFRC6CToken +/* 8032964C 003265AC 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80329650 003265B0 90 19 00 08 */ stw r0, 8(r25) +/* 80329654 003265B4 48 00 00 30 */ b lbl_80329684 +lbl_80329658: +/* 80329658 003265B8 88 1F 00 CC */ lbz r0, 0xcc(r31) +/* 8032965C 003265BC 28 00 00 00 */ cmplwi r0, 0 +/* 80329660 003265C0 41 82 00 1C */ beq lbl_8032967C +/* 80329664 003265C4 34 7F 00 C0 */ addic. r3, r31, 0xc0 +/* 80329668 003265C8 41 82 00 14 */ beq lbl_8032967C +/* 8032966C 003265CC 28 03 00 00 */ cmplwi r3, 0 +/* 80329670 003265D0 41 82 00 0C */ beq lbl_8032967C +/* 80329674 003265D4 38 80 00 00 */ li r4, 0 +/* 80329678 003265D8 48 01 77 C9 */ bl __dt__6CTokenFv +lbl_8032967C: +/* 8032967C 003265DC 38 00 00 00 */ li r0, 0 +/* 80329680 003265E0 98 1F 00 CC */ stb r0, 0xcc(r31) +lbl_80329684: +/* 80329684 003265E4 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80329688 003265E8 28 00 00 00 */ cmplwi r0, 0 +/* 8032968C 003265EC 41 82 00 1C */ beq lbl_803296A8 +/* 80329690 003265F0 34 61 00 24 */ addic. r3, r1, 0x24 +/* 80329694 003265F4 41 82 00 14 */ beq lbl_803296A8 +/* 80329698 003265F8 28 03 00 00 */ cmplwi r3, 0 +/* 8032969C 003265FC 41 82 00 0C */ beq lbl_803296A8 +/* 803296A0 00326600 38 80 00 00 */ li r4, 0 +/* 803296A4 00326604 48 01 77 9D */ bl __dt__6CTokenFv +lbl_803296A8: +/* 803296A8 00326608 38 00 00 00 */ li r0, 0 +/* 803296AC 0032660C 98 01 00 30 */ stb r0, 0x30(r1) +lbl_803296B0: +/* 803296B0 00326610 88 01 01 00 */ lbz r0, 0x100(r1) +/* 803296B4 00326614 28 00 00 00 */ cmplwi r0, 0 +/* 803296B8 00326618 41 82 00 14 */ beq lbl_803296CC +/* 803296BC 0032661C 34 61 00 F8 */ addic. r3, r1, 0xf8 +/* 803296C0 00326620 41 82 00 0C */ beq lbl_803296CC +/* 803296C4 00326624 38 80 00 00 */ li r4, 0 +/* 803296C8 00326628 48 01 77 79 */ bl __dt__6CTokenFv +lbl_803296CC: +/* 803296CC 0032662C 38 00 00 00 */ li r0, 0 +/* 803296D0 00326630 98 01 01 00 */ stb r0, 0x100(r1) +/* 803296D4 00326634 48 00 03 44 */ b lbl_80329A18 +lbl_803296D8: +/* 803296D8 00326638 7F C3 F3 78 */ mr r3, r30 +/* 803296DC 0032663C 4B FF E4 C9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803296E0 00326640 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 803296E4 00326644 48 00 03 34 */ b lbl_80329A18 +lbl_803296E8: +/* 803296E8 00326648 7F C3 F3 78 */ mr r3, r30 +/* 803296EC 0032664C 4B FF CB 69 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803296F0 00326650 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 803296F4 00326654 48 00 03 24 */ b lbl_80329A18 +lbl_803296F8: +/* 803296F8 00326658 7F C4 F3 78 */ mr r4, r30 +/* 803296FC 0032665C 7F A5 EB 78 */ mr r5, r29 +/* 80329700 00326660 38 61 00 18 */ addi r3, r1, 0x18 +/* 80329704 00326664 4B FF B3 C9 */ bl GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80329708 00326668 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8032970C 0032666C 28 00 00 00 */ cmplwi r0, 0 +/* 80329710 00326670 98 01 00 F4 */ stb r0, 0xf4(r1) +/* 80329714 00326674 41 82 00 14 */ beq lbl_80329728 +/* 80329718 00326678 34 61 00 EC */ addic. r3, r1, 0xec +/* 8032971C 0032667C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80329720 00326680 41 82 00 08 */ beq lbl_80329728 +/* 80329724 00326684 48 01 77 85 */ bl __ct__6CTokenFRC6CToken +lbl_80329728: +/* 80329728 00326688 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8032972C 0032668C 28 00 00 00 */ cmplwi r0, 0 +/* 80329730 00326690 41 82 00 14 */ beq lbl_80329744 +/* 80329734 00326694 34 61 00 18 */ addic. r3, r1, 0x18 +/* 80329738 00326698 41 82 00 0C */ beq lbl_80329744 +/* 8032973C 0032669C 38 80 00 00 */ li r4, 0 +/* 80329740 003266A0 48 01 77 01 */ bl __dt__6CTokenFv +lbl_80329744: +/* 80329744 003266A4 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80329748 003266A8 38 A0 00 00 */ li r5, 0 +/* 8032974C 003266AC 98 A1 00 20 */ stb r5, 0x20(r1) +/* 80329750 003266B0 28 00 00 00 */ cmplwi r0, 0 +/* 80329754 003266B4 41 82 00 38 */ beq lbl_8032978C +/* 80329758 003266B8 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 8032975C 003266BC 38 81 00 EC */ addi r4, r1, 0xec +/* 80329760 003266C0 28 00 00 00 */ cmplwi r0, 0 +/* 80329764 003266C4 40 82 00 1C */ bne lbl_80329780 +/* 80329768 003266C8 34 7F 00 D8 */ addic. r3, r31, 0xd8 +/* 8032976C 003266CC 41 82 00 08 */ beq lbl_80329774 +/* 80329770 003266D0 48 01 77 39 */ bl __ct__6CTokenFRC6CToken +lbl_80329774: +/* 80329774 003266D4 38 00 00 01 */ li r0, 1 +/* 80329778 003266D8 98 1F 00 E0 */ stb r0, 0xe0(r31) +/* 8032977C 003266DC 48 00 00 94 */ b lbl_80329810 +lbl_80329780: +/* 80329780 003266E0 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 80329784 003266E4 48 01 75 41 */ bl __as__6CTokenFRC6CToken +/* 80329788 003266E8 48 00 00 88 */ b lbl_80329810 +lbl_8032978C: +/* 8032978C 003266EC 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 80329790 003266F0 38 81 00 0C */ addi r4, r1, 0xc +/* 80329794 003266F4 7C 03 20 40 */ cmplw r3, r4 +/* 80329798 003266F8 98 A1 00 14 */ stb r5, 0x14(r1) +/* 8032979C 003266FC 41 82 00 54 */ beq lbl_803297F0 +/* 803297A0 00326700 28 05 00 00 */ cmplwi r5, 0 +/* 803297A4 00326704 41 82 00 30 */ beq lbl_803297D4 +/* 803297A8 00326708 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 803297AC 0032670C 28 00 00 00 */ cmplwi r0, 0 +/* 803297B0 00326710 40 82 00 1C */ bne lbl_803297CC +/* 803297B4 00326714 34 7F 00 D8 */ addic. r3, r31, 0xd8 +/* 803297B8 00326718 41 82 00 08 */ beq lbl_803297C0 +/* 803297BC 0032671C 48 01 76 ED */ bl __ct__6CTokenFRC6CToken +lbl_803297C0: +/* 803297C0 00326720 38 00 00 01 */ li r0, 1 +/* 803297C4 00326724 98 1F 00 E0 */ stb r0, 0xe0(r31) +/* 803297C8 00326728 48 00 00 28 */ b lbl_803297F0 +lbl_803297CC: +/* 803297CC 0032672C 48 01 74 F9 */ bl __as__6CTokenFRC6CToken +/* 803297D0 00326730 48 00 00 20 */ b lbl_803297F0 +lbl_803297D4: +/* 803297D4 00326734 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 803297D8 00326738 28 00 00 00 */ cmplwi r0, 0 +/* 803297DC 0032673C 41 82 00 0C */ beq lbl_803297E8 +/* 803297E0 00326740 38 80 FF FF */ li r4, -1 +/* 803297E4 00326744 48 01 76 5D */ bl __dt__6CTokenFv +lbl_803297E8: +/* 803297E8 00326748 38 00 00 00 */ li r0, 0 +/* 803297EC 0032674C 98 1F 00 E0 */ stb r0, 0xe0(r31) +lbl_803297F0: +/* 803297F0 00326750 88 01 00 14 */ lbz r0, 0x14(r1) +/* 803297F4 00326754 28 00 00 00 */ cmplwi r0, 0 +/* 803297F8 00326758 41 82 00 10 */ beq lbl_80329808 +/* 803297FC 0032675C 38 61 00 0C */ addi r3, r1, 0xc +/* 80329800 00326760 38 80 FF FF */ li r4, -1 +/* 80329804 00326764 48 01 76 3D */ bl __dt__6CTokenFv +lbl_80329808: +/* 80329808 00326768 38 00 00 00 */ li r0, 0 +/* 8032980C 0032676C 98 01 00 14 */ stb r0, 0x14(r1) +lbl_80329810: +/* 80329810 00326770 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80329814 00326774 28 00 00 00 */ cmplwi r0, 0 +/* 80329818 00326778 41 82 00 14 */ beq lbl_8032982C +/* 8032981C 0032677C 34 61 00 EC */ addic. r3, r1, 0xec +/* 80329820 00326780 41 82 00 0C */ beq lbl_8032982C +/* 80329824 00326784 38 80 00 00 */ li r4, 0 +/* 80329828 00326788 48 01 76 19 */ bl __dt__6CTokenFv +lbl_8032982C: +/* 8032982C 0032678C 38 00 00 00 */ li r0, 0 +/* 80329830 00326790 98 01 00 F4 */ stb r0, 0xf4(r1) +/* 80329834 00326794 48 00 01 E4 */ b lbl_80329A18 +lbl_80329838: +/* 80329838 00326798 7F C3 F3 78 */ mr r3, r30 +/* 8032983C 0032679C 4B FF E3 69 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329840 003267A0 90 7F 00 E4 */ stw r3, 0xe4(r31) +/* 80329844 003267A4 48 00 01 D4 */ b lbl_80329A18 +lbl_80329848: +/* 80329848 003267A8 7F C3 F3 78 */ mr r3, r30 +/* 8032984C 003267AC 4B FF CA 09 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80329850 003267B0 90 7F 00 E8 */ stw r3, 0xe8(r31) +/* 80329854 003267B4 48 00 01 C4 */ b lbl_80329A18 +lbl_80329858: +/* 80329858 003267B8 7F C3 F3 78 */ mr r3, r30 +/* 8032985C 003267BC 4B FF EC 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80329860 003267C0 3C 03 BC B2 */ addis r0, r3, 0xbcb2 +/* 80329864 003267C4 28 00 53 54 */ cmplwi r0, 0x5354 +/* 80329868 003267C8 40 82 01 B0 */ bne lbl_80329A18 +/* 8032986C 003267CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80329870 003267D0 38 60 00 20 */ li r3, 0x20 +/* 80329874 003267D4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80329878 003267D8 38 A0 00 00 */ li r5, 0 +/* 8032987C 003267DC 4B FE BF F1 */ bl __nw__FUlPCcPCc +/* 80329880 003267E0 7C 64 1B 79 */ or. r4, r3, r3 +/* 80329884 003267E4 41 82 00 10 */ beq lbl_80329894 +/* 80329888 003267E8 7F C4 F3 78 */ mr r4, r30 +/* 8032988C 003267EC 48 00 9E E5 */ bl __ct__24CSpawnSystemKeyframeDataFR12CInputStream +/* 80329890 003267F0 7C 64 1B 78 */ mr r4, r3 +lbl_80329894: +/* 80329894 003267F4 38 7F 00 BC */ addi r3, r31, 0xbc +/* 80329898 003267F8 48 00 01 AD */ bl __dt__24CSpawnSystemKeyframeDataFv +/* 8032989C 003267FC 80 7F 00 BC */ lwz r3, 0xbc(r31) +/* 803298A0 00326800 7F A4 EB 78 */ mr r4, r29 +/* 803298A4 00326804 48 00 9E 49 */ bl sub_803336ec +/* 803298A8 00326808 48 00 01 70 */ b lbl_80329A18 +lbl_803298AC: +/* 803298AC 0032680C 7F C3 F3 78 */ mr r3, r30 +/* 803298B0 00326810 4B FF EB 79 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 803298B4 00326814 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803298B8 00326818 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 803298BC 0032681C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 803298C0 00326820 48 00 01 58 */ b lbl_80329A18 +lbl_803298C4: +/* 803298C4 00326824 7F C3 F3 78 */ mr r3, r30 +/* 803298C8 00326828 4B FF EB 61 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 803298CC 0032682C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803298D0 00326830 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 803298D4 00326834 98 1F 00 30 */ stb r0, 0x30(r31) +/* 803298D8 00326838 48 00 01 40 */ b lbl_80329A18 +lbl_803298DC: +/* 803298DC 0032683C 7F C3 F3 78 */ mr r3, r30 +/* 803298E0 00326840 4B FF E2 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803298E4 00326844 90 7F 00 EC */ stw r3, 0xec(r31) +/* 803298E8 00326848 48 00 01 30 */ b lbl_80329A18 +lbl_803298EC: +/* 803298EC 0032684C 7F C3 F3 78 */ mr r3, r30 +/* 803298F0 00326850 4B FF B9 6D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803298F4 00326854 90 7F 00 F0 */ stw r3, 0xf0(r31) +/* 803298F8 00326858 48 00 01 20 */ b lbl_80329A18 +lbl_803298FC: +/* 803298FC 0032685C 7F C3 F3 78 */ mr r3, r30 +/* 80329900 00326860 4B FF D3 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80329904 00326864 90 7F 00 F4 */ stw r3, 0xf4(r31) +/* 80329908 00326868 48 00 01 10 */ b lbl_80329A18 +lbl_8032990C: +/* 8032990C 0032686C 7F C3 F3 78 */ mr r3, r30 +/* 80329910 00326870 4B FF C9 45 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80329914 00326874 90 7F 00 F8 */ stw r3, 0xf8(r31) +/* 80329918 00326878 48 00 01 00 */ b lbl_80329A18 +lbl_8032991C: +/* 8032991C 0032687C 7F C3 F3 78 */ mr r3, r30 +/* 80329920 00326880 4B FF C9 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80329924 00326884 90 7F 00 FC */ stw r3, 0xfc(r31) +/* 80329928 00326888 48 00 00 F0 */ b lbl_80329A18 +lbl_8032992C: +/* 8032992C 0032688C 7F C3 F3 78 */ mr r3, r30 +/* 80329930 00326890 4B FF E2 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329934 00326894 90 7F 01 00 */ stw r3, 0x100(r31) +/* 80329938 00326898 48 00 00 E0 */ b lbl_80329A18 +lbl_8032993C: +/* 8032993C 0032689C 7F C3 F3 78 */ mr r3, r30 +/* 80329940 003268A0 4B FF D3 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80329944 003268A4 90 7F 01 04 */ stw r3, 0x104(r31) +/* 80329948 003268A8 48 00 00 D0 */ b lbl_80329A18 +lbl_8032994C: +/* 8032994C 003268AC 7F C3 F3 78 */ mr r3, r30 +/* 80329950 003268B0 4B FF D3 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80329954 003268B4 90 7F 01 08 */ stw r3, 0x108(r31) +/* 80329958 003268B8 48 00 00 C0 */ b lbl_80329A18 +lbl_8032995C: +/* 8032995C 003268BC 7F C3 F3 78 */ mr r3, r30 +/* 80329960 003268C0 4B FF EA C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80329964 003268C4 88 1F 00 32 */ lbz r0, 0x32(r31) +/* 80329968 003268C8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032996C 003268CC 98 1F 00 32 */ stb r0, 0x32(r31) +/* 80329970 003268D0 48 00 00 A8 */ b lbl_80329A18 +lbl_80329974: +/* 80329974 003268D4 7F C3 F3 78 */ mr r3, r30 +/* 80329978 003268D8 4B FF D3 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032997C 003268DC 90 7F 01 0C */ stw r3, 0x10c(r31) +/* 80329980 003268E0 48 00 00 98 */ b lbl_80329A18 +lbl_80329984: +/* 80329984 003268E4 7F C3 F3 78 */ mr r3, r30 +/* 80329988 003268E8 4B FF D3 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032998C 003268EC 90 7F 01 10 */ stw r3, 0x110(r31) +/* 80329990 003268F0 48 00 00 88 */ b lbl_80329A18 +lbl_80329994: +/* 80329994 003268F4 7F C3 F3 78 */ mr r3, r30 +/* 80329998 003268F8 4B FF D2 F9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032999C 003268FC 90 7F 01 14 */ stw r3, 0x114(r31) +/* 803299A0 00326900 48 00 00 78 */ b lbl_80329A18 +lbl_803299A4: +/* 803299A4 00326904 7F C3 F3 78 */ mr r3, r30 +/* 803299A8 00326908 4B FF D2 E9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299AC 0032690C 90 7F 01 18 */ stw r3, 0x118(r31) +/* 803299B0 00326910 48 00 00 68 */ b lbl_80329A18 +lbl_803299B4: +/* 803299B4 00326914 7F C3 F3 78 */ mr r3, r30 +/* 803299B8 00326918 4B FF D2 D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299BC 0032691C 90 7F 01 1C */ stw r3, 0x11c(r31) +/* 803299C0 00326920 48 00 00 58 */ b lbl_80329A18 +lbl_803299C4: +/* 803299C4 00326924 7F C3 F3 78 */ mr r3, r30 +/* 803299C8 00326928 4B FF D2 C9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299CC 0032692C 90 7F 01 20 */ stw r3, 0x120(r31) +/* 803299D0 00326930 48 00 00 48 */ b lbl_80329A18 +lbl_803299D4: +/* 803299D4 00326934 7F C3 F3 78 */ mr r3, r30 +/* 803299D8 00326938 4B FF D2 B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299DC 0032693C 90 7F 01 24 */ stw r3, 0x124(r31) +/* 803299E0 00326940 48 00 00 38 */ b lbl_80329A18 +lbl_803299E4: +/* 803299E4 00326944 7F C3 F3 78 */ mr r3, r30 +/* 803299E8 00326948 4B FF D2 A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299EC 0032694C 90 7F 01 28 */ stw r3, 0x128(r31) +/* 803299F0 00326950 48 00 00 28 */ b lbl_80329A18 +lbl_803299F4: +/* 803299F4 00326954 3B 60 00 01 */ li r27, 1 +/* 803299F8 00326958 48 00 00 20 */ b lbl_80329A18 +lbl_803299FC: +/* 803299FC 0032695C 38 61 01 34 */ addi r3, r1, 0x134 +/* 80329A00 00326960 38 80 FF FF */ li r4, -1 +/* 80329A04 00326964 4B FE 8C 01 */ bl __dt__13CGlobalRandomFv +/* 80329A08 00326968 38 60 00 00 */ li r3, 0 +/* 80329A0C 0032696C 48 00 00 24 */ b lbl_80329A30 +lbl_80329A10: +/* 80329A10 00326970 3C 60 50 49 */ lis r3, 0x50495359@ha +/* 80329A14 00326974 3B 43 53 59 */ addi r26, r3, 0x50495359@l +lbl_80329A18: +/* 80329A18 00326978 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80329A1C 0032697C 41 82 EA A0 */ beq lbl_803284BC +/* 80329A20 00326980 38 61 01 34 */ addi r3, r1, 0x134 +/* 80329A24 00326984 38 80 FF FF */ li r4, -1 +/* 80329A28 00326988 4B FE 8B DD */ bl __dt__13CGlobalRandomFv +/* 80329A2C 0032698C 38 60 00 01 */ li r3, 1 +lbl_80329A30: +/* 80329A30 00326990 BB 21 01 44 */ lmw r25, 0x144(r1) +/* 80329A34 00326994 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80329A38 00326998 7C 08 03 A6 */ mtlr r0 +/* 80329A3C 0032699C 38 21 01 60 */ addi r1, r1, 0x160 +/* 80329A40 003269A0 4E 80 00 20 */ blr + +.global __dt__24CSpawnSystemKeyframeDataFv +__dt__24CSpawnSystemKeyframeDataFv: +/* 80329A44 003269A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329A48 003269A8 7C 08 02 A6 */ mflr r0 +/* 80329A4C 003269AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329A50 003269B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329A54 003269B4 7C 9F 23 78 */ mr r31, r4 +/* 80329A58 003269B8 38 80 00 01 */ li r4, 1 +/* 80329A5C 003269BC 93 C1 00 08 */ stw r30, 8(r1) +/* 80329A60 003269C0 7C 7E 1B 78 */ mr r30, r3 +/* 80329A64 003269C4 80 63 00 00 */ lwz r3, 0(r3) +/* 80329A68 003269C8 48 00 00 25 */ bl sub_80329a8c +/* 80329A6C 003269CC 93 FE 00 00 */ stw r31, 0(r30) +/* 80329A70 003269D0 7F C3 F3 78 */ mr r3, r30 +/* 80329A74 003269D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329A78 003269D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329A7C 003269DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329A80 003269E0 7C 08 03 A6 */ mtlr r0 +/* 80329A84 003269E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329A88 003269E8 4E 80 00 20 */ blr + +.global sub_80329a8c +sub_80329a8c: +/* 80329A8C 003269EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329A90 003269F0 7C 08 02 A6 */ mflr r0 +/* 80329A94 003269F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329A98 003269F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329A9C 003269FC 7C 9F 23 78 */ mr r31, r4 +/* 80329AA0 00326A00 93 C1 00 08 */ stw r30, 8(r1) +/* 80329AA4 00326A04 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80329AA8 00326A08 41 82 00 20 */ beq lbl_80329AC8 +/* 80329AAC 00326A0C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80329AB0 00326A10 38 80 FF FF */ li r4, -1 +/* 80329AB4 00326A14 48 00 00 31 */ bl sub_80329ae4 +/* 80329AB8 00326A18 7F E0 07 35 */ extsh. r0, r31 +/* 80329ABC 00326A1C 40 81 00 0C */ ble lbl_80329AC8 +/* 80329AC0 00326A20 7F C3 F3 78 */ mr r3, r30 +/* 80329AC4 00326A24 4B FE BE 6D */ bl Free__7CMemoryFPCv +lbl_80329AC8: +/* 80329AC8 00326A28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329ACC 00326A2C 7F C3 F3 78 */ mr r3, r30 +/* 80329AD0 00326A30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329AD4 00326A34 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329AD8 00326A38 7C 08 03 A6 */ mtlr r0 +/* 80329ADC 00326A3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329AE0 00326A40 4E 80 00 20 */ blr + +.global sub_80329ae4 +sub_80329ae4: +/* 80329AE4 00326A44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80329AE8 00326A48 7C 08 02 A6 */ mflr r0 +/* 80329AEC 00326A4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80329AF0 00326A50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80329AF4 00326A54 7C 9F 23 78 */ mr r31, r4 +/* 80329AF8 00326A58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80329AFC 00326A5C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80329B00 00326A60 41 82 00 54 */ beq lbl_80329B54 +/* 80329B04 00326A64 80 1E 00 04 */ lwz r0, 4(r30) +/* 80329B08 00326A68 38 61 00 14 */ addi r3, r1, 0x14 +/* 80329B0C 00326A6C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80329B10 00326A70 38 81 00 0C */ addi r4, r1, 0xc +/* 80329B14 00326A74 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80329B18 00326A78 7C A5 02 14 */ add r5, r5, r0 +/* 80329B1C 00326A7C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80329B20 00326A80 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80329B24 00326A84 90 A1 00 08 */ stw r5, 8(r1) +/* 80329B28 00326A88 90 01 00 10 */ stw r0, 0x10(r1) +/* 80329B2C 00326A8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329B30 00326A90 48 00 00 41 */ bl sub_80329b70 +/* 80329B34 00326A94 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80329B38 00326A98 28 03 00 00 */ cmplwi r3, 0 +/* 80329B3C 00326A9C 41 82 00 08 */ beq lbl_80329B44 +/* 80329B40 00326AA0 4B FE BD F1 */ bl Free__7CMemoryFPCv +lbl_80329B44: +/* 80329B44 00326AA4 7F E0 07 35 */ extsh. r0, r31 +/* 80329B48 00326AA8 40 81 00 0C */ ble lbl_80329B54 +/* 80329B4C 00326AAC 7F C3 F3 78 */ mr r3, r30 +/* 80329B50 00326AB0 4B FE BD E1 */ bl Free__7CMemoryFPCv +lbl_80329B54: +/* 80329B54 00326AB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80329B58 00326AB8 7F C3 F3 78 */ mr r3, r30 +/* 80329B5C 00326ABC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80329B60 00326AC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80329B64 00326AC4 7C 08 03 A6 */ mtlr r0 +/* 80329B68 00326AC8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80329B6C 00326ACC 4E 80 00 20 */ blr + +.global sub_80329b70 +sub_80329b70: +/* 80329B70 00326AD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329B74 00326AD4 7C 08 02 A6 */ mflr r0 +/* 80329B78 00326AD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329B7C 00326ADC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329B80 00326AE0 93 C1 00 08 */ stw r30, 8(r1) +/* 80329B84 00326AE4 7C 9E 23 78 */ mr r30, r4 +/* 80329B88 00326AE8 83 E3 00 00 */ lwz r31, 0(r3) +/* 80329B8C 00326AEC 48 00 00 10 */ b lbl_80329B9C +lbl_80329B90: +/* 80329B90 00326AF0 7F E3 FB 78 */ mr r3, r31 +/* 80329B94 00326AF4 48 00 00 2D */ bl sub_80329bc0 +/* 80329B98 00326AF8 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80329B9C: +/* 80329B9C 00326AFC 80 1E 00 00 */ lwz r0, 0(r30) +/* 80329BA0 00326B00 7C 1F 00 40 */ cmplw r31, r0 +/* 80329BA4 00326B04 40 82 FF EC */ bne lbl_80329B90 +/* 80329BA8 00326B08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329BAC 00326B0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329BB0 00326B10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329BB4 00326B14 7C 08 03 A6 */ mtlr r0 +/* 80329BB8 00326B18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329BBC 00326B1C 4E 80 00 20 */ blr + +.global sub_80329bc0 +sub_80329bc0: +/* 80329BC0 00326B20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329BC4 00326B24 7C 08 02 A6 */ mflr r0 +/* 80329BC8 00326B28 38 80 FF FF */ li r4, -1 +/* 80329BCC 00326B2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329BD0 00326B30 48 00 00 15 */ bl sub_80329be4 +/* 80329BD4 00326B34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329BD8 00326B38 7C 08 03 A6 */ mtlr r0 +/* 80329BDC 00326B3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329BE0 00326B40 4E 80 00 20 */ blr + +.global sub_80329be4 +sub_80329be4: +/* 80329BE4 00326B44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329BE8 00326B48 7C 08 02 A6 */ mflr r0 +/* 80329BEC 00326B4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329BF0 00326B50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329BF4 00326B54 7C 9F 23 78 */ mr r31, r4 +/* 80329BF8 00326B58 93 C1 00 08 */ stw r30, 8(r1) +/* 80329BFC 00326B5C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80329C00 00326B60 41 82 00 20 */ beq lbl_80329C20 +/* 80329C04 00326B64 38 7E 00 04 */ addi r3, r30, 4 +/* 80329C08 00326B68 38 80 FF FF */ li r4, -1 +/* 80329C0C 00326B6C 48 00 00 31 */ bl sub_80329c3c +/* 80329C10 00326B70 7F E0 07 35 */ extsh. r0, r31 +/* 80329C14 00326B74 40 81 00 0C */ ble lbl_80329C20 +/* 80329C18 00326B78 7F C3 F3 78 */ mr r3, r30 +/* 80329C1C 00326B7C 4B FE BD 15 */ bl Free__7CMemoryFPCv +lbl_80329C20: +/* 80329C20 00326B80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329C24 00326B84 7F C3 F3 78 */ mr r3, r30 +/* 80329C28 00326B88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329C2C 00326B8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329C30 00326B90 7C 08 03 A6 */ mtlr r0 +/* 80329C34 00326B94 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329C38 00326B98 4E 80 00 20 */ blr + +.global sub_80329c3c +sub_80329c3c: +/* 80329C3C 00326B9C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80329C40 00326BA0 7C 08 02 A6 */ mflr r0 +/* 80329C44 00326BA4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80329C48 00326BA8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80329C4C 00326BAC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80329C50 00326BB0 7C 9C 23 78 */ mr r28, r4 +/* 80329C54 00326BB4 41 82 00 98 */ beq lbl_80329CEC +/* 80329C58 00326BB8 80 1B 00 04 */ lwz r0, 4(r27) +/* 80329C5C 00326BBC 3B E0 00 00 */ li r31, 0 +/* 80329C60 00326BC0 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 80329C64 00326BC4 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80329C68 00326BC8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80329C6C 00326BCC 7F DD 02 14 */ add r30, r29, r0 +/* 80329C70 00326BD0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80329C74 00326BD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80329C78 00326BD8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80329C7C 00326BDC 48 00 00 48 */ b lbl_80329CC4 +lbl_80329C80: +/* 80329C80 00326BE0 28 1D 00 00 */ cmplwi r29, 0 +/* 80329C84 00326BE4 41 82 00 3C */ beq lbl_80329CC0 +/* 80329C88 00326BE8 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80329C8C 00326BEC 28 00 00 00 */ cmplwi r0, 0 +/* 80329C90 00326BF0 41 82 00 0C */ beq lbl_80329C9C +/* 80329C94 00326BF4 38 7D 00 10 */ addi r3, r29, 0x10 +/* 80329C98 00326BF8 48 01 70 A9 */ bl Unlock__6CTokenFv +lbl_80329C9C: +/* 80329C9C 00326BFC 34 1D 00 10 */ addic. r0, r29, 0x10 +/* 80329CA0 00326C00 41 82 00 20 */ beq lbl_80329CC0 +/* 80329CA4 00326C04 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80329CA8 00326C08 28 00 00 00 */ cmplwi r0, 0 +/* 80329CAC 00326C0C 41 82 00 10 */ beq lbl_80329CBC +/* 80329CB0 00326C10 38 7D 00 10 */ addi r3, r29, 0x10 +/* 80329CB4 00326C14 38 80 FF FF */ li r4, -1 +/* 80329CB8 00326C18 48 01 71 89 */ bl __dt__6CTokenFv +lbl_80329CBC: +/* 80329CBC 00326C1C 9B FD 00 18 */ stb r31, 0x18(r29) +lbl_80329CC0: +/* 80329CC0 00326C20 3B BD 00 1C */ addi r29, r29, 0x1c +lbl_80329CC4: +/* 80329CC4 00326C24 7C 1D F0 40 */ cmplw r29, r30 +/* 80329CC8 00326C28 40 82 FF B8 */ bne lbl_80329C80 +/* 80329CCC 00326C2C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 80329CD0 00326C30 28 03 00 00 */ cmplwi r3, 0 +/* 80329CD4 00326C34 41 82 00 08 */ beq lbl_80329CDC +/* 80329CD8 00326C38 4B FE BC 59 */ bl Free__7CMemoryFPCv +lbl_80329CDC: +/* 80329CDC 00326C3C 7F 80 07 35 */ extsh. r0, r28 +/* 80329CE0 00326C40 40 81 00 0C */ ble lbl_80329CEC +/* 80329CE4 00326C44 7F 63 DB 78 */ mr r3, r27 +/* 80329CE8 00326C48 4B FE BC 49 */ bl Free__7CMemoryFPCv +lbl_80329CEC: +/* 80329CEC 00326C4C 7F 63 DB 78 */ mr r3, r27 +/* 80329CF0 00326C50 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80329CF4 00326C54 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80329CF8 00326C58 7C 08 03 A6 */ mtlr r0 +/* 80329CFC 00326C5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80329D00 00326C60 4E 80 00 20 */ blr + +.global LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription +LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription: +/* 80329D04 00326C64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329D08 00326C68 7C 08 02 A6 */ mflr r0 +/* 80329D0C 00326C6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329D10 00326C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329D14 00326C74 93 C1 00 08 */ stw r30, 8(r1) +/* 80329D18 00326C78 7C 7E 1B 78 */ mr r30, r3 +/* 80329D1C 00326C7C 88 03 00 54 */ lbz r0, 0x54(r3) +/* 80329D20 00326C80 28 00 00 00 */ cmplwi r0, 0 +/* 80329D24 00326C84 41 82 00 24 */ beq lbl_80329D48 +/* 80329D28 00326C88 3B FE 00 48 */ addi r31, r30, 0x48 +/* 80329D2C 00326C8C 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 80329D30 00326C90 28 00 00 00 */ cmplwi r0, 0 +/* 80329D34 00326C94 40 82 00 14 */ bne lbl_80329D48 +/* 80329D38 00326C98 7F E3 FB 78 */ mr r3, r31 +/* 80329D3C 00326C9C 48 01 70 D1 */ bl GetObj__6CTokenFv +/* 80329D40 00326CA0 80 03 00 04 */ lwz r0, 4(r3) +/* 80329D44 00326CA4 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329D48: +/* 80329D48 00326CA8 88 1E 00 84 */ lbz r0, 0x84(r30) +/* 80329D4C 00326CAC 28 00 00 00 */ cmplwi r0, 0 +/* 80329D50 00326CB0 41 82 00 24 */ beq lbl_80329D74 +/* 80329D54 00326CB4 3B FE 00 78 */ addi r31, r30, 0x78 +/* 80329D58 00326CB8 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 80329D5C 00326CBC 28 00 00 00 */ cmplwi r0, 0 +/* 80329D60 00326CC0 40 82 00 14 */ bne lbl_80329D74 +/* 80329D64 00326CC4 7F E3 FB 78 */ mr r3, r31 +/* 80329D68 00326CC8 48 01 70 A5 */ bl GetObj__6CTokenFv +/* 80329D6C 00326CCC 80 03 00 04 */ lwz r0, 4(r3) +/* 80329D70 00326CD0 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329D74: +/* 80329D74 00326CD4 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 80329D78 00326CD8 28 00 00 00 */ cmplwi r0, 0 +/* 80329D7C 00326CDC 41 82 00 24 */ beq lbl_80329DA0 +/* 80329D80 00326CE0 3B FE 00 90 */ addi r31, r30, 0x90 +/* 80329D84 00326CE4 80 1E 00 98 */ lwz r0, 0x98(r30) +/* 80329D88 00326CE8 28 00 00 00 */ cmplwi r0, 0 +/* 80329D8C 00326CEC 40 82 00 14 */ bne lbl_80329DA0 +/* 80329D90 00326CF0 7F E3 FB 78 */ mr r3, r31 +/* 80329D94 00326CF4 48 01 70 79 */ bl GetObj__6CTokenFv +/* 80329D98 00326CF8 80 03 00 04 */ lwz r0, 4(r3) +/* 80329D9C 00326CFC 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329DA0: +/* 80329DA0 00326D00 88 1E 00 B0 */ lbz r0, 0xb0(r30) +/* 80329DA4 00326D04 28 00 00 00 */ cmplwi r0, 0 +/* 80329DA8 00326D08 41 82 00 24 */ beq lbl_80329DCC +/* 80329DAC 00326D0C 3B FE 00 A4 */ addi r31, r30, 0xa4 +/* 80329DB0 00326D10 80 1E 00 AC */ lwz r0, 0xac(r30) +/* 80329DB4 00326D14 28 00 00 00 */ cmplwi r0, 0 +/* 80329DB8 00326D18 40 82 00 14 */ bne lbl_80329DCC +/* 80329DBC 00326D1C 7F E3 FB 78 */ mr r3, r31 +/* 80329DC0 00326D20 48 01 70 4D */ bl GetObj__6CTokenFv +/* 80329DC4 00326D24 80 03 00 04 */ lwz r0, 4(r3) +/* 80329DC8 00326D28 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329DCC: +/* 80329DCC 00326D2C 88 1E 00 CC */ lbz r0, 0xcc(r30) +/* 80329DD0 00326D30 28 00 00 00 */ cmplwi r0, 0 +/* 80329DD4 00326D34 41 82 00 24 */ beq lbl_80329DF8 +/* 80329DD8 00326D38 3B FE 00 C0 */ addi r31, r30, 0xc0 +/* 80329DDC 00326D3C 80 1E 00 C8 */ lwz r0, 0xc8(r30) +/* 80329DE0 00326D40 28 00 00 00 */ cmplwi r0, 0 +/* 80329DE4 00326D44 40 82 00 14 */ bne lbl_80329DF8 +/* 80329DE8 00326D48 7F E3 FB 78 */ mr r3, r31 +/* 80329DEC 00326D4C 48 01 70 21 */ bl GetObj__6CTokenFv +/* 80329DF0 00326D50 80 03 00 04 */ lwz r0, 4(r3) +/* 80329DF4 00326D54 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329DF8: +/* 80329DF8 00326D58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329DFC 00326D5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329E00 00326D60 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329E04 00326D64 7C 08 03 A6 */ mtlr r0 +/* 80329E08 00326D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329E0C 00326D6C 4E 80 00 20 */ blr + +.global "CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool" +"CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool": +/* 80329E10 00326D70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80329E14 00326D74 7C 08 02 A6 */ mflr r0 +/* 80329E18 00326D78 90 01 00 34 */ stw r0, 0x34(r1) +/* 80329E1C 00326D7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80329E20 00326D80 7C DF 33 78 */ mr r31, r6 +/* 80329E24 00326D84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80329E28 00326D88 7C 9E 23 78 */ mr r30, r4 +/* 80329E2C 00326D8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80329E30 00326D90 7C 7D 1B 78 */ mr r29, r3 +/* 80329E34 00326D94 38 61 00 18 */ addi r3, r1, 0x18 +/* 80329E38 00326D98 93 81 00 20 */ stw r28, 0x20(r1) +/* 80329E3C 00326D9C 80 04 00 04 */ lwz r0, 4(r4) +/* 80329E40 00326DA0 80 84 00 0C */ lwz r4, 0xc(r4) +/* 80329E44 00326DA4 54 00 10 3A */ slwi r0, r0, 2 +/* 80329E48 00326DA8 90 A1 00 08 */ stw r5, 8(r1) +/* 80329E4C 00326DAC 7C C4 02 14 */ add r6, r4, r0 +/* 80329E50 00326DB0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80329E54 00326DB4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80329E58 00326DB8 38 A1 00 08 */ addi r5, r1, 8 +/* 80329E5C 00326DBC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80329E60 00326DC0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80329E64 00326DC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329E68 00326DC8 90 01 00 18 */ stw r0, 0x18(r1) +/* 80329E6C 00326DCC 48 00 05 9D */ bl "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +/* 80329E70 00326DD0 2C 03 00 00 */ cmpwi r3, 0 +/* 80329E74 00326DD4 41 82 00 0C */ beq lbl_80329E80 +/* 80329E78 00326DD8 38 60 00 00 */ li r3, 0 +/* 80329E7C 00326DDC 48 00 00 B4 */ b lbl_80329F30 +lbl_80329E80: +/* 80329E80 00326DE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80329E84 00326DE4 80 BE 00 08 */ lwz r5, 8(r30) +/* 80329E88 00326DE8 7C 00 28 00 */ cmpw r0, r5 +/* 80329E8C 00326DEC 41 80 00 1C */ blt lbl_80329EA8 +/* 80329E90 00326DF0 2C 05 00 00 */ cmpwi r5, 0 +/* 80329E94 00326DF4 7F C3 F3 78 */ mr r3, r30 +/* 80329E98 00326DF8 38 80 00 04 */ li r4, 4 +/* 80329E9C 00326DFC 41 82 00 08 */ beq lbl_80329EA4 +/* 80329EA0 00326E00 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80329EA4: +/* 80329EA4 00326E04 4B D3 9C 81 */ bl "reserve__Q24rstl37vectorFi" +lbl_80329EA8: +/* 80329EA8 00326E08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80329EAC 00326E0C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80329EB0 00326E10 54 00 10 3A */ slwi r0, r0, 2 +/* 80329EB4 00326E14 7C 63 02 15 */ add. r3, r3, r0 +/* 80329EB8 00326E18 41 82 00 0C */ beq lbl_80329EC4 +/* 80329EBC 00326E1C 80 01 00 08 */ lwz r0, 8(r1) +/* 80329EC0 00326E20 90 03 00 00 */ stw r0, 0(r3) +lbl_80329EC4: +/* 80329EC4 00326E24 80 9E 00 04 */ lwz r4, 4(r30) +/* 80329EC8 00326E28 7F A3 EB 78 */ mr r3, r29 +/* 80329ECC 00326E2C 38 04 00 01 */ addi r0, r4, 1 +/* 80329ED0 00326E30 90 1E 00 04 */ stw r0, 4(r30) +/* 80329ED4 00326E34 4B FF E5 89 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80329ED8 00326E38 3C 03 B8 B0 */ addis r0, r3, 0xb8b0 +/* 80329EDC 00326E3C 28 00 53 4D */ cmplwi r0, 0x534d +/* 80329EE0 00326E40 41 82 00 0C */ beq lbl_80329EEC +/* 80329EE4 00326E44 38 60 00 00 */ li r3, 0 +/* 80329EE8 00326E48 48 00 00 48 */ b lbl_80329F30 +lbl_80329EEC: +/* 80329EEC 00326E4C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80329EF0 00326E50 38 60 01 2C */ li r3, 0x12c +/* 80329EF4 00326E54 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80329EF8 00326E58 38 A0 00 00 */ li r5, 0 +/* 80329EFC 00326E5C 4B FE B9 71 */ bl __nw__FUlPCcPCc +/* 80329F00 00326E60 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80329F04 00326E64 41 82 00 0C */ beq lbl_80329F10 +/* 80329F08 00326E68 48 03 D1 65 */ bl __ct__15CGenDescriptionFv +/* 80329F0C 00326E6C 7C 7C 1B 78 */ mr r28, r3 +lbl_80329F10: +/* 80329F10 00326E70 7F 83 E3 78 */ mr r3, r28 +/* 80329F14 00326E74 7F A4 EB 78 */ mr r4, r29 +/* 80329F18 00326E78 7F C5 F3 78 */ mr r5, r30 +/* 80329F1C 00326E7C 7F E6 FB 78 */ mr r6, r31 +/* 80329F20 00326E80 4B FF E5 5D */ bl "CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool" +/* 80329F24 00326E84 7F 83 E3 78 */ mr r3, r28 +/* 80329F28 00326E88 4B FF FD DD */ bl LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription +/* 80329F2C 00326E8C 7F 83 E3 78 */ mr r3, r28 +lbl_80329F30: +/* 80329F30 00326E90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80329F34 00326E94 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80329F38 00326E98 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80329F3C 00326E9C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80329F40 00326EA0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80329F44 00326EA4 7C 08 03 A6 */ mtlr r0 +/* 80329F48 00326EA8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80329F4C 00326EAC 4E 80 00 20 */ blr + +.global GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80329F50 00326EB0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80329F54 00326EB4 7C 08 02 A6 */ mflr r0 +/* 80329F58 00326EB8 90 01 00 44 */ stw r0, 0x44(r1) +/* 80329F5C 00326EBC 38 00 00 00 */ li r0, 0 +/* 80329F60 00326EC0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80329F64 00326EC4 7C BF 2B 78 */ mr r31, r5 +/* 80329F68 00326EC8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80329F6C 00326ECC 7C 9E 23 78 */ mr r30, r4 +/* 80329F70 00326ED0 38 80 00 08 */ li r4, 8 +/* 80329F74 00326ED4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80329F78 00326ED8 7C 7D 1B 78 */ mr r29, r3 +/* 80329F7C 00326EDC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80329F80 00326EE0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80329F84 00326EE4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80329F88 00326EE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80329F8C 00326EEC 4B D3 9B 99 */ bl "reserve__Q24rstl37vectorFi" +/* 80329F90 00326EF0 7F A3 EB 78 */ mr r3, r29 +/* 80329F94 00326EF4 7F E5 FB 78 */ mr r5, r31 +/* 80329F98 00326EF8 7F C6 F3 78 */ mr r6, r30 +/* 80329F9C 00326EFC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80329FA0 00326F00 4B FF FE 71 */ bl "CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool" +/* 80329FA4 00326F04 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80329FA8 00326F08 7C 7F 1B 78 */ mr r31, r3 +/* 80329FAC 00326F0C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80329FB0 00326F10 54 00 10 3A */ slwi r0, r0, 2 +/* 80329FB4 00326F14 7C 04 02 14 */ add r0, r4, r0 +/* 80329FB8 00326F18 90 81 00 0C */ stw r4, 0xc(r1) +/* 80329FBC 00326F1C 7C 83 23 78 */ mr r3, r4 +/* 80329FC0 00326F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329FC4 00326F24 90 01 00 10 */ stw r0, 0x10(r1) +/* 80329FC8 00326F28 90 81 00 08 */ stw r4, 8(r1) +/* 80329FCC 00326F2C 48 00 00 08 */ b lbl_80329FD4 +lbl_80329FD0: +/* 80329FD0 00326F30 38 63 00 04 */ addi r3, r3, 4 +lbl_80329FD4: +/* 80329FD4 00326F34 7C 03 00 40 */ cmplw r3, r0 +/* 80329FD8 00326F38 40 82 FF F8 */ bne lbl_80329FD0 +/* 80329FDC 00326F3C 28 04 00 00 */ cmplwi r4, 0 +/* 80329FE0 00326F40 41 82 00 0C */ beq lbl_80329FEC +/* 80329FE4 00326F44 7C 83 23 78 */ mr r3, r4 +/* 80329FE8 00326F48 4B FE B9 49 */ bl Free__7CMemoryFPCv +lbl_80329FEC: +/* 80329FEC 00326F4C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80329FF0 00326F50 7F E3 FB 78 */ mr r3, r31 +/* 80329FF4 00326F54 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80329FF8 00326F58 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80329FFC 00326F5C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8032A000 00326F60 7C 08 03 A6 */ mtlr r0 +/* 8032A004 00326F64 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032A008 00326F68 4E 80 00 20 */ blr + +.global FParticleFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FParticleFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8032A00C 00326F6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032A010 00326F70 7C 08 02 A6 */ mflr r0 +/* 8032A014 00326F74 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032A018 00326F78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032A01C 00326F7C 7C 7F 1B 78 */ mr r31, r3 +/* 8032A020 00326F80 7C A3 2B 78 */ mr r3, r5 +/* 8032A024 00326F84 80 C6 00 00 */ lwz r6, 0(r6) +/* 8032A028 00326F88 90 C1 00 08 */ stw r6, 8(r1) +/* 8032A02C 00326F8C 80 A6 00 04 */ lwz r5, 4(r6) +/* 8032A030 00326F90 38 05 00 01 */ addi r0, r5, 1 +/* 8032A034 00326F94 90 06 00 04 */ stw r0, 4(r6) +/* 8032A038 00326F98 80 C1 00 08 */ lwz r6, 8(r1) +/* 8032A03C 00326F9C 80 A4 00 04 */ lwz r5, 4(r4) +/* 8032A040 00326FA0 80 86 00 00 */ lwz r4, 0(r6) +/* 8032A044 00326FA4 80 84 00 04 */ lwz r4, 4(r4) +/* 8032A048 00326FA8 4B FF FF 09 */ bl GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 8032A04C 00326FAC 7C 03 00 D0 */ neg r0, r3 +/* 8032A050 00326FB0 90 61 00 10 */ stw r3, 0x10(r1) +/* 8032A054 00326FB4 7C 00 1B 78 */ or r0, r0, r3 +/* 8032A058 00326FB8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8032A05C 00326FBC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8032A060 00326FC0 38 81 00 0C */ addi r4, r1, 0xc +/* 8032A064 00326FC4 98 01 00 0C */ stb r0, 0xc(r1) +/* 8032A068 00326FC8 48 00 00 85 */ bl "GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +/* 8032A06C 00326FCC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8032A070 00326FD0 38 00 00 00 */ li r0, 0 +/* 8032A074 00326FD4 98 01 00 14 */ stb r0, 0x14(r1) +/* 8032A078 00326FD8 7C 03 00 D0 */ neg r0, r3 +/* 8032A07C 00326FDC 7C 00 1B 78 */ or r0, r0, r3 +/* 8032A080 00326FE0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8032A084 00326FE4 98 1F 00 00 */ stb r0, 0(r31) +/* 8032A088 00326FE8 90 7F 00 04 */ stw r3, 4(r31) +/* 8032A08C 00326FEC 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8032A090 00326FF0 28 00 00 00 */ cmplwi r0, 0 +/* 8032A094 00326FF4 41 82 00 24 */ beq lbl_8032A0B8 +/* 8032A098 00326FF8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8032A09C 00326FFC 28 03 00 00 */ cmplwi r3, 0 +/* 8032A0A0 00327000 41 82 00 18 */ beq lbl_8032A0B8 +/* 8032A0A4 00327004 81 83 00 00 */ lwz r12, 0(r3) +/* 8032A0A8 00327008 38 80 00 01 */ li r4, 1 +/* 8032A0AC 0032700C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032A0B0 00327010 7D 89 03 A6 */ mtctr r12 +/* 8032A0B4 00327014 4E 80 04 21 */ bctrl +lbl_8032A0B8: +/* 8032A0B8 00327018 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8032A0BC 0032701C 28 00 00 00 */ cmplwi r0, 0 +/* 8032A0C0 00327020 41 82 00 10 */ beq lbl_8032A0D0 +/* 8032A0C4 00327024 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8032A0C8 00327028 38 80 00 01 */ li r4, 1 +/* 8032A0CC 0032702C 48 03 CD 6D */ bl __dt__15CGenDescriptionFv +lbl_8032A0D0: +/* 8032A0D0 00327030 38 61 00 08 */ addi r3, r1, 8 +/* 8032A0D4 00327034 4B D0 A2 31 */ bl sub_80034304 +/* 8032A0D8 00327038 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032A0DC 0032703C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032A0E0 00327040 7C 08 03 A6 */ mtlr r0 +/* 8032A0E4 00327044 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032A0E8 00327048 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +"GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>": +/* 8032A0EC 0032704C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A0F0 00327050 7C 08 02 A6 */ mflr r0 +/* 8032A0F4 00327054 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A0F8 00327058 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A0FC 0032705C 7C 7F 1B 78 */ mr r31, r3 +/* 8032A100 00327060 48 00 00 19 */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +/* 8032A104 00327064 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A108 00327068 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A10C 0032706C 7C 08 03 A6 */ mtlr r0 +/* 8032A110 00327070 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A114 00327074 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +"GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>": +/* 8032A118 00327078 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A11C 0032707C 7C 08 02 A6 */ mflr r0 +/* 8032A120 00327080 3C A0 80 3D */ lis r5, lbl_803D7918@ha +/* 8032A124 00327084 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A128 00327088 38 05 79 18 */ addi r0, r5, lbl_803D7918@l +/* 8032A12C 0032708C 38 A0 00 00 */ li r5, 0 +/* 8032A130 00327090 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A134 00327094 7C 9F 23 78 */ mr r31, r4 +/* 8032A138 00327098 7C 04 03 78 */ mr r4, r0 +/* 8032A13C 0032709C 93 C1 00 08 */ stw r30, 8(r1) +/* 8032A140 003270A0 7C 7E 1B 78 */ mr r30, r3 +/* 8032A144 003270A4 38 60 00 08 */ li r3, 8 +/* 8032A148 003270A8 4B FE B7 25 */ bl __nw__FUlPCcPCc +/* 8032A14C 003270AC 28 03 00 00 */ cmplwi r3, 0 +/* 8032A150 003270B0 41 82 00 38 */ beq lbl_8032A188 +/* 8032A154 003270B4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8032A158 003270B8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8032A15C 003270BC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8032A160 003270C0 3C 80 80 3E */ lis r4, lbl_803DACB0@ha +/* 8032A164 003270C4 90 03 00 00 */ stw r0, 0(r3) +/* 8032A168 003270C8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8032A16C 003270CC 38 A0 00 00 */ li r5, 0 +/* 8032A170 003270D0 38 04 AC B0 */ addi r0, r4, lbl_803DACB0@l +/* 8032A174 003270D4 90 C3 00 00 */ stw r6, 0(r3) +/* 8032A178 003270D8 98 BF 00 00 */ stb r5, 0(r31) +/* 8032A17C 003270DC 80 9F 00 04 */ lwz r4, 4(r31) +/* 8032A180 003270E0 90 83 00 04 */ stw r4, 4(r3) +/* 8032A184 003270E4 90 03 00 00 */ stw r0, 0(r3) +lbl_8032A188: +/* 8032A188 003270E8 7C 03 00 D0 */ neg r0, r3 +/* 8032A18C 003270EC 7C 00 1B 78 */ or r0, r0, r3 +/* 8032A190 003270F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8032A194 003270F4 98 1E 00 00 */ stb r0, 0(r30) +/* 8032A198 003270F8 90 7E 00 04 */ stw r3, 4(r30) +/* 8032A19C 003270FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A1A0 00327100 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032A1A4 00327104 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A1A8 00327108 7C 08 03 A6 */ mtlr r0 +/* 8032A1AC 0032710C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A1B0 00327110 4E 80 00 20 */ blr + +.global sub_8032a1b4 +sub_8032a1b4: +/* 8032A1B4 00327114 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A1B8 00327118 7C 08 02 A6 */ mflr r0 +/* 8032A1BC 0032711C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A1C0 00327120 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A1C4 00327124 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032A1C8 00327128 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032A1CC 0032712C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8032A1D0 00327130 41 82 00 E4 */ beq lbl_8032A2B4 +/* 8032A1D4 00327134 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) +/* 8032A1D8 00327138 28 03 00 00 */ cmplwi r3, 0 +/* 8032A1DC 0032713C 41 82 00 14 */ beq lbl_8032A1F0 +/* 8032A1E0 00327140 7F A4 EB 78 */ mr r4, r29 +/* 8032A1E4 00327144 48 04 29 45 */ bl sub_8036cb28 +/* 8032A1E8 00327148 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032A1EC 0032714C 40 82 00 4C */ bne lbl_8032A238 +lbl_8032A1F0: +/* 8032A1F0 00327150 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A1F4 00327154 38 00 00 00 */ li r0, 0 +/* 8032A1F8 00327158 3B E3 67 3C */ addi r31, r3, lbl_805A673C@l +/* 8032A1FC 0032715C 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) +/* 8032A200 00327160 83 DF 00 04 */ lwz r30, 4(r31) +/* 8032A204 00327164 48 00 00 28 */ b lbl_8032A22C +lbl_8032A208: +/* 8032A208 00327168 7F A4 EB 78 */ mr r4, r29 +/* 8032A20C 0032716C 38 7E 00 08 */ addi r3, r30, 8 +/* 8032A210 00327170 48 04 29 19 */ bl sub_8036cb28 +/* 8032A214 00327174 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032A218 00327178 41 82 00 10 */ beq lbl_8032A228 +/* 8032A21C 0032717C 38 1E 00 08 */ addi r0, r30, 8 +/* 8032A220 00327180 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) +/* 8032A224 00327184 48 00 00 14 */ b lbl_8032A238 +lbl_8032A228: +/* 8032A228 00327188 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8032A22C: +/* 8032A22C 0032718C 80 1F 00 08 */ lwz r0, 8(r31) +/* 8032A230 00327190 7C 1E 00 40 */ cmplw r30, r0 +/* 8032A234 00327194 40 82 FF D4 */ bne lbl_8032A208 +lbl_8032A238: +/* 8032A238 00327198 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) +/* 8032A23C 0032719C 7F A4 EB 78 */ mr r4, r29 +/* 8032A240 003271A0 48 04 28 A5 */ bl sub_8036cae4 +/* 8032A244 003271A4 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) +/* 8032A248 003271A8 48 04 28 5D */ bl sub_8036caa4 +/* 8032A24C 003271AC 28 03 00 00 */ cmplwi r3, 0 +/* 8032A250 003271B0 40 82 00 64 */ bne lbl_8032A2B4 +/* 8032A254 003271B4 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A258 003271B8 80 AD A8 CC */ lwz r5, lbl_805A948C@sda21(r13) +/* 8032A25C 003271BC 38 63 67 3C */ addi r3, r3, lbl_805A673C@l +/* 8032A260 003271C0 80 83 00 04 */ lwz r4, 4(r3) +/* 8032A264 003271C4 80 63 00 08 */ lwz r3, 8(r3) +/* 8032A268 003271C8 48 00 00 3C */ b lbl_8032A2A4 +lbl_8032A26C: +/* 8032A26C 003271CC 38 04 00 08 */ addi r0, r4, 8 +/* 8032A270 003271D0 7C 00 28 40 */ cmplw r0, r5 +/* 8032A274 003271D4 40 82 00 2C */ bne lbl_8032A2A0 +/* 8032A278 003271D8 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A27C 003271DC 38 63 67 3C */ addi r3, r3, lbl_805A673C@l +/* 8032A280 003271E0 48 00 02 09 */ bl sub_8032a488 +/* 8032A284 003271E4 80 6D A8 C8 */ lwz r3, lbl_805A9488@sda21(r13) +/* 8032A288 003271E8 80 0D A8 CC */ lwz r0, lbl_805A948C@sda21(r13) +/* 8032A28C 003271EC 7C 03 00 40 */ cmplw r3, r0 +/* 8032A290 003271F0 40 82 00 1C */ bne lbl_8032A2AC +/* 8032A294 003271F4 38 00 00 00 */ li r0, 0 +/* 8032A298 003271F8 90 0D A8 C8 */ stw r0, lbl_805A9488@sda21(r13) +/* 8032A29C 003271FC 48 00 00 10 */ b lbl_8032A2AC +lbl_8032A2A0: +/* 8032A2A0 00327200 80 84 00 04 */ lwz r4, 4(r4) +lbl_8032A2A4: +/* 8032A2A4 00327204 7C 04 18 40 */ cmplw r4, r3 +/* 8032A2A8 00327208 40 82 FF C4 */ bne lbl_8032A26C +lbl_8032A2AC: +/* 8032A2AC 0032720C 38 00 00 00 */ li r0, 0 +/* 8032A2B0 00327210 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) +lbl_8032A2B4: +/* 8032A2B4 00327214 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A2B8 00327218 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A2BC 0032721C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032A2C0 00327220 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032A2C4 00327224 7C 08 03 A6 */ mtlr r0 +/* 8032A2C8 00327228 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A2CC 0032722C 4E 80 00 20 */ blr + +.global sub_8032a2d0 +sub_8032a2d0: +/* 8032A2D0 00327230 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 8032A2D4 00327234 7C 08 02 A6 */ mflr r0 +/* 8032A2D8 00327238 90 01 04 34 */ stw r0, 0x434(r1) +/* 8032A2DC 0032723C 93 E1 04 2C */ stw r31, 0x42c(r1) +/* 8032A2E0 00327240 93 C1 04 28 */ stw r30, 0x428(r1) +/* 8032A2E4 00327244 7C 7E 1B 78 */ mr r30, r3 +/* 8032A2E8 00327248 93 A1 04 24 */ stw r29, 0x424(r1) +/* 8032A2EC 0032724C 93 81 04 20 */ stw r28, 0x420(r1) +/* 8032A2F0 00327250 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) +/* 8032A2F4 00327254 28 00 00 00 */ cmplwi r0, 0 +/* 8032A2F8 00327258 41 82 00 18 */ beq lbl_8032A310 +/* 8032A2FC 0032725C 7C 03 03 78 */ mr r3, r0 +/* 8032A300 00327260 7F C4 F3 78 */ mr r4, r30 +/* 8032A304 00327264 48 04 28 4D */ bl sub_8036cb50 +/* 8032A308 00327268 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032A30C 0032726C 40 82 00 D0 */ bne lbl_8032A3DC +lbl_8032A310: +/* 8032A310 00327270 38 61 00 08 */ addi r3, r1, 8 +/* 8032A314 00327274 48 04 28 65 */ bl sub_8036cb78 +/* 8032A318 00327278 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A31C 0032727C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032A320 00327280 3B E3 67 3C */ addi r31, r3, lbl_805A673C@l +/* 8032A324 00327284 38 A0 00 00 */ li r5, 0 +/* 8032A328 00327288 83 BF 00 08 */ lwz r29, 8(r31) +/* 8032A32C 0032728C 38 60 04 14 */ li r3, 0x414 +/* 8032A330 00327290 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032A334 00327294 83 9D 00 00 */ lwz r28, 0(r29) +/* 8032A338 00327298 4B FE B4 E1 */ bl __nwa__FUlPCcPCc +/* 8032A33C 0032729C 28 03 00 00 */ cmplwi r3, 0 +/* 8032A340 003272A0 41 82 00 0C */ beq lbl_8032A34C +/* 8032A344 003272A4 93 83 00 00 */ stw r28, 0(r3) +/* 8032A348 003272A8 93 A3 00 04 */ stw r29, 4(r3) +lbl_8032A34C: +/* 8032A34C 003272AC 34 E3 00 08 */ addic. r7, r3, 8 +/* 8032A350 003272B0 41 82 00 40 */ beq lbl_8032A390 +/* 8032A354 003272B4 80 81 00 08 */ lwz r4, 8(r1) +/* 8032A358 003272B8 38 00 00 80 */ li r0, 0x80 +/* 8032A35C 003272BC 38 C7 00 08 */ addi r6, r7, 8 +/* 8032A360 003272C0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032A364 003272C4 90 87 00 00 */ stw r4, 0(r7) +/* 8032A368 003272C8 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8032A36C 003272CC 90 87 00 04 */ stw r4, 4(r7) +/* 8032A370 003272D0 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8032A374 003272D4 90 87 00 08 */ stw r4, 8(r7) +/* 8032A378 003272D8 7C 09 03 A6 */ mtctr r0 +lbl_8032A37C: +/* 8032A37C 003272DC 80 85 00 04 */ lwz r4, 4(r5) +/* 8032A380 003272E0 84 05 00 08 */ lwzu r0, 8(r5) +/* 8032A384 003272E4 90 86 00 04 */ stw r4, 4(r6) +/* 8032A388 003272E8 94 06 00 08 */ stwu r0, 8(r6) +/* 8032A38C 003272EC 42 00 FF F0 */ bdnz lbl_8032A37C +lbl_8032A390: +/* 8032A390 003272F0 3C 80 80 5A */ lis r4, lbl_805A673C@ha +/* 8032A394 003272F4 38 84 67 3C */ addi r4, r4, lbl_805A673C@l +/* 8032A398 003272F8 80 04 00 04 */ lwz r0, 4(r4) +/* 8032A39C 003272FC 7C 1D 00 40 */ cmplw r29, r0 +/* 8032A3A0 00327300 40 82 00 08 */ bne lbl_8032A3A8 +/* 8032A3A4 00327304 90 64 00 04 */ stw r3, 4(r4) +lbl_8032A3A8: +/* 8032A3A8 00327308 80 C3 00 00 */ lwz r6, 0(r3) +/* 8032A3AC 0032730C 3C 80 80 5A */ lis r4, lbl_805A673C@ha +/* 8032A3B0 00327310 38 A4 67 3C */ addi r5, r4, lbl_805A673C@l +/* 8032A3B4 00327314 90 66 00 04 */ stw r3, 4(r6) +/* 8032A3B8 00327318 80 83 00 04 */ lwz r4, 4(r3) +/* 8032A3BC 0032731C 90 64 00 00 */ stw r3, 0(r4) +/* 8032A3C0 00327320 80 85 00 14 */ lwz r4, 0x14(r5) +/* 8032A3C4 00327324 80 7F 00 08 */ lwz r3, 8(r31) +/* 8032A3C8 00327328 38 04 00 01 */ addi r0, r4, 1 +/* 8032A3CC 0032732C 90 05 00 14 */ stw r0, 0x14(r5) +/* 8032A3D0 00327330 80 63 00 00 */ lwz r3, 0(r3) +/* 8032A3D4 00327334 38 03 00 08 */ addi r0, r3, 8 +/* 8032A3D8 00327338 90 0D A8 C8 */ stw r0, lbl_805A9488@sda21(r13) +lbl_8032A3DC: +/* 8032A3DC 0032733C 80 6D A8 C8 */ lwz r3, lbl_805A9488@sda21(r13) +/* 8032A3E0 00327340 7F C4 F3 78 */ mr r4, r30 +/* 8032A3E4 00327344 48 04 27 11 */ bl sub_8036caf4 +/* 8032A3E8 00327348 80 01 04 34 */ lwz r0, 0x434(r1) +/* 8032A3EC 0032734C 83 E1 04 2C */ lwz r31, 0x42c(r1) +/* 8032A3F0 00327350 83 C1 04 28 */ lwz r30, 0x428(r1) +/* 8032A3F4 00327354 83 A1 04 24 */ lwz r29, 0x424(r1) +/* 8032A3F8 00327358 83 81 04 20 */ lwz r28, 0x420(r1) +/* 8032A3FC 0032735C 7C 08 03 A6 */ mtlr r0 +/* 8032A400 00327360 38 21 04 30 */ addi r1, r1, 0x430 +/* 8032A404 00327364 4E 80 00 20 */ blr + +.global "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +"count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi": +/* 8032A408 00327368 39 00 00 00 */ li r8, 0 +/* 8032A40C 0032736C 48 00 00 24 */ b lbl_8032A430 +lbl_8032A410: +/* 8032A410 00327370 80 C5 00 00 */ lwz r6, 0(r5) +/* 8032A414 00327374 80 07 00 00 */ lwz r0, 0(r7) +/* 8032A418 00327378 7C 06 00 40 */ cmplw r6, r0 +/* 8032A41C 0032737C 40 82 00 08 */ bne lbl_8032A424 +/* 8032A420 00327380 39 08 00 01 */ addi r8, r8, 1 +lbl_8032A424: +/* 8032A424 00327384 80 C3 00 00 */ lwz r6, 0(r3) +/* 8032A428 00327388 38 06 00 04 */ addi r0, r6, 4 +/* 8032A42C 0032738C 90 03 00 00 */ stw r0, 0(r3) +lbl_8032A430: +/* 8032A430 00327390 80 E3 00 00 */ lwz r7, 0(r3) +/* 8032A434 00327394 80 04 00 00 */ lwz r0, 0(r4) +/* 8032A438 00327398 7C 07 00 40 */ cmplw r7, r0 +/* 8032A43C 0032739C 40 82 FF D4 */ bne lbl_8032A410 +/* 8032A440 003273A0 7D 03 43 78 */ mr r3, r8 +/* 8032A444 003273A4 4E 80 00 20 */ blr + +.global "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +"count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi": +/* 8032A448 003273A8 39 00 00 00 */ li r8, 0 +/* 8032A44C 003273AC 48 00 00 24 */ b lbl_8032A470 +lbl_8032A450: +/* 8032A450 003273B0 80 C5 00 00 */ lwz r6, 0(r5) +/* 8032A454 003273B4 80 07 00 00 */ lwz r0, 0(r7) +/* 8032A458 003273B8 7C 06 00 40 */ cmplw r6, r0 +/* 8032A45C 003273BC 40 82 00 08 */ bne lbl_8032A464 +/* 8032A460 003273C0 39 08 00 01 */ addi r8, r8, 1 +lbl_8032A464: +/* 8032A464 003273C4 80 C3 00 00 */ lwz r6, 0(r3) +/* 8032A468 003273C8 38 06 00 04 */ addi r0, r6, 4 +/* 8032A46C 003273CC 90 03 00 00 */ stw r0, 0(r3) +lbl_8032A470: +/* 8032A470 003273D0 80 E3 00 00 */ lwz r7, 0(r3) +/* 8032A474 003273D4 80 04 00 00 */ lwz r0, 0(r4) +/* 8032A478 003273D8 7C 07 00 40 */ cmplw r7, r0 +/* 8032A47C 003273DC 40 82 FF D4 */ bne lbl_8032A450 +/* 8032A480 003273E0 7D 03 43 78 */ mr r3, r8 +/* 8032A484 003273E4 4E 80 00 20 */ blr + +.global sub_8032a488 +sub_8032a488: +/* 8032A488 003273E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A48C 003273EC 7C 08 02 A6 */ mflr r0 +/* 8032A490 003273F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A494 003273F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A498 003273F8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032A49C 003273FC 7C 7E 1B 78 */ mr r30, r3 +/* 8032A4A0 00327400 80 03 00 04 */ lwz r0, 4(r3) +/* 8032A4A4 00327404 83 E4 00 04 */ lwz r31, 4(r4) +/* 8032A4A8 00327408 7C 04 00 40 */ cmplw r4, r0 +/* 8032A4AC 0032740C 40 82 00 08 */ bne lbl_8032A4B4 +/* 8032A4B0 00327410 93 FE 00 04 */ stw r31, 4(r30) +lbl_8032A4B4: +/* 8032A4B4 00327414 80 04 00 04 */ lwz r0, 4(r4) +/* 8032A4B8 00327418 28 04 00 00 */ cmplwi r4, 0 +/* 8032A4BC 0032741C 80 64 00 00 */ lwz r3, 0(r4) +/* 8032A4C0 00327420 90 03 00 04 */ stw r0, 4(r3) +/* 8032A4C4 00327424 80 04 00 00 */ lwz r0, 0(r4) +/* 8032A4C8 00327428 80 64 00 04 */ lwz r3, 4(r4) +/* 8032A4CC 0032742C 90 03 00 00 */ stw r0, 0(r3) +/* 8032A4D0 00327430 41 82 00 0C */ beq lbl_8032A4DC +/* 8032A4D4 00327434 7C 83 23 78 */ mr r3, r4 +/* 8032A4D8 00327438 4B FE B4 59 */ bl Free__7CMemoryFPCv +lbl_8032A4DC: +/* 8032A4DC 0032743C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8032A4E0 00327440 7F E3 FB 78 */ mr r3, r31 +/* 8032A4E4 00327444 38 04 FF FF */ addi r0, r4, -1 +/* 8032A4E8 00327448 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8032A4EC 0032744C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A4F0 00327450 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032A4F4 00327454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A4F8 00327458 7C 08 03 A6 */ mtlr r0 +/* 8032A4FC 0032745C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A500 00327460 4E 80 00 20 */ blr + +.global __sinit_CElementGen_cpp +__sinit_CElementGen_cpp: +/* 8032A504 00327464 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A508 00327468 7C 08 02 A6 */ mflr r0 +/* 8032A50C 0032746C 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A510 00327470 3C 80 80 33 */ lis r4, sub_8032a558@ha +/* 8032A514 00327474 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A518 00327478 38 63 67 3C */ addi r3, r3, lbl_805A673C@l +/* 8032A51C 0032747C 38 C3 00 0C */ addi r6, r3, 0xc +/* 8032A520 00327480 38 00 00 00 */ li r0, 0 +/* 8032A524 00327484 3C A0 80 4C */ lis r5, lbl_804BFF00@ha +/* 8032A528 00327488 90 C3 00 04 */ stw r6, 4(r3) +/* 8032A52C 0032748C 38 84 A5 58 */ addi r4, r4, sub_8032a558@l +/* 8032A530 00327490 90 C3 00 08 */ stw r6, 8(r3) +/* 8032A534 00327494 38 A5 FF 00 */ addi r5, r5, lbl_804BFF00@l +/* 8032A538 00327498 90 C6 00 00 */ stw r6, 0(r6) +/* 8032A53C 0032749C 90 C3 00 10 */ stw r6, 0x10(r3) +/* 8032A540 003274A0 90 03 00 14 */ stw r0, 0x14(r3) +/* 8032A544 003274A4 48 05 F1 49 */ bl __register_global_object +/* 8032A548 003274A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A54C 003274AC 7C 08 03 A6 */ mtlr r0 +/* 8032A550 003274B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A554 003274B4 4E 80 00 20 */ blr + +.global sub_8032a558 +sub_8032a558: +/* 8032A558 003274B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A55C 003274BC 7C 08 02 A6 */ mflr r0 +/* 8032A560 003274C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A564 003274C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A568 003274C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032A56C 003274CC 7C 9E 23 78 */ mr r30, r4 +/* 8032A570 003274D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032A574 003274D4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8032A578 003274D8 41 82 00 38 */ beq lbl_8032A5B0 +/* 8032A57C 003274DC 83 FD 00 04 */ lwz r31, 4(r29) +/* 8032A580 003274E0 48 00 00 14 */ b lbl_8032A594 +lbl_8032A584: +/* 8032A584 003274E4 7F E3 FB 79 */ or. r3, r31, r31 +/* 8032A588 003274E8 83 FF 00 04 */ lwz r31, 4(r31) +/* 8032A58C 003274EC 41 82 00 08 */ beq lbl_8032A594 +/* 8032A590 003274F0 4B FE B3 A1 */ bl Free__7CMemoryFPCv +lbl_8032A594: +/* 8032A594 003274F4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8032A598 003274F8 7C 1F 00 40 */ cmplw r31, r0 +/* 8032A59C 003274FC 40 82 FF E8 */ bne lbl_8032A584 +/* 8032A5A0 00327500 7F C0 07 35 */ extsh. r0, r30 +/* 8032A5A4 00327504 40 81 00 0C */ ble lbl_8032A5B0 +/* 8032A5A8 00327508 7F A3 EB 78 */ mr r3, r29 +/* 8032A5AC 0032750C 4B FE B3 85 */ bl Free__7CMemoryFPCv +lbl_8032A5B0: +/* 8032A5B0 00327510 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A5B4 00327514 7F A3 EB 78 */ mr r3, r29 +/* 8032A5B8 00327518 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A5BC 0032751C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032A5C0 00327520 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032A5C4 00327524 7C 08 03 A6 */ mtlr r0 +/* 8032A5C8 00327528 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A5CC 0032752C 4E 80 00 20 */ blr + +.global AddModifier__12CParticleGenFP5CWarp +AddModifier__12CParticleGenFP5CWarp: +/* 8032A5D0 00327530 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A5D4 00327534 7C 08 02 A6 */ mflr r0 +/* 8032A5D8 00327538 38 A0 00 00 */ li r5, 0 +/* 8032A5DC 0032753C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A5E0 00327540 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A5E4 00327544 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032A5E8 00327548 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032A5EC 0032754C 7C 9D 23 78 */ mr r29, r4 +/* 8032A5F0 00327550 93 81 00 10 */ stw r28, 0x10(r1) +/* 8032A5F4 00327554 7C 7C 1B 78 */ mr r28, r3 +/* 8032A5F8 00327558 3C 60 80 3D */ lis r3, lbl_803D7920@ha +/* 8032A5FC 0032755C 83 FC 00 0C */ lwz r31, 0xc(r28) +/* 8032A600 00327560 38 03 79 20 */ addi r0, r3, lbl_803D7920@l +/* 8032A604 00327564 38 60 00 0C */ li r3, 0xc +/* 8032A608 00327568 83 DF 00 00 */ lwz r30, 0(r31) +/* 8032A60C 0032756C 7C 04 03 78 */ mr r4, r0 +/* 8032A610 00327570 4B FE B2 09 */ bl __nwa__FUlPCcPCc +/* 8032A614 00327574 28 03 00 00 */ cmplwi r3, 0 +/* 8032A618 00327578 41 82 00 0C */ beq lbl_8032A624 +/* 8032A61C 0032757C 93 C3 00 00 */ stw r30, 0(r3) +/* 8032A620 00327580 93 E3 00 04 */ stw r31, 4(r3) +lbl_8032A624: +/* 8032A624 00327584 34 83 00 08 */ addic. r4, r3, 8 +/* 8032A628 00327588 41 82 00 08 */ beq lbl_8032A630 +/* 8032A62C 0032758C 93 A4 00 00 */ stw r29, 0(r4) +lbl_8032A630: +/* 8032A630 00327590 80 1C 00 08 */ lwz r0, 8(r28) +/* 8032A634 00327594 7C 1F 00 40 */ cmplw r31, r0 +/* 8032A638 00327598 40 82 00 08 */ bne lbl_8032A640 +/* 8032A63C 0032759C 90 7C 00 08 */ stw r3, 8(r28) +lbl_8032A640: +/* 8032A640 003275A0 80 83 00 00 */ lwz r4, 0(r3) +/* 8032A644 003275A4 90 64 00 04 */ stw r3, 4(r4) +/* 8032A648 003275A8 80 83 00 04 */ lwz r4, 4(r3) +/* 8032A64C 003275AC 90 64 00 00 */ stw r3, 0(r4) +/* 8032A650 003275B0 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 8032A654 003275B4 38 03 00 01 */ addi r0, r3, 1 +/* 8032A658 003275B8 90 1C 00 18 */ stw r0, 0x18(r28) +/* 8032A65C 003275BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A660 003275C0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032A664 003275C4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032A668 003275C8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8032A66C 003275CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A670 003275D0 7C 08 03 A6 */ mtlr r0 +/* 8032A674 003275D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A678 003275D8 4E 80 00 20 */ blr + +.global UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi: +/* 8032A67C 003275DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032A680 003275E0 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A684 003275E4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) +/* 8032A688 003275E8 80 8D A8 D0 */ lwz r4, lbl_805A9490@sda21(r13) +/* 8032A68C 003275EC 90 01 00 08 */ stw r0, 8(r1) +/* 8032A690 003275F0 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 8032A694 003275F4 C0 42 CA 7C */ lfs f2, lbl_805AE79C@sda21(r2) +/* 8032A698 003275F8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032A69C 003275FC C8 01 00 08 */ lfd f0, 8(r1) +/* 8032A6A0 00327600 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032A6A4 00327604 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8032A6A8 00327608 41 82 00 18 */ beq lbl_8032A6C0 +/* 8032A6AC 0032760C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8032A6B0 00327610 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032A6B4 00327614 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8032A6B8 00327618 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8032A6BC 0032761C 48 00 00 08 */ b lbl_8032A6C4 +lbl_8032A6C0: +/* 8032A6C0 00327620 C0 62 CA 78 */ lfs f3, lbl_805AE798@sda21(r2) +lbl_8032A6C4: +/* 8032A6C4 00327624 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A6C8 00327628 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8032A6CC 0032762C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8032A6D0 00327630 C8 42 CA 88 */ lfd f2, lbl_805AE7A8@sda21(r2) +/* 8032A6D4 00327634 90 01 00 18 */ stw r0, 0x18(r1) +/* 8032A6D8 00327638 C0 22 CA 80 */ lfs f1, lbl_805AE7A0@sda21(r2) +/* 8032A6DC 0032763C C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8032A6E0 00327640 90 01 00 28 */ stw r0, 0x28(r1) +/* 8032A6E4 00327644 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032A6E8 00327648 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032A6EC 0032764C EC 20 18 24 */ fdivs f1, f0, f3 +/* 8032A6F0 00327650 FC 00 08 1E */ fctiwz f0, f1 +/* 8032A6F4 00327654 D0 2D A8 E4 */ stfs f1, lbl_805A94A4@sda21(r13) +/* 8032A6F8 00327658 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 8032A6FC 0032765C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8032A700 00327660 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8032A704 00327664 2C 03 00 00 */ cmpwi r3, 0 +/* 8032A708 00327668 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8032A70C 0032766C C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8032A710 00327670 90 6D A8 E0 */ stw r3, lbl_805A94A0@sda21(r13) +/* 8032A714 00327674 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032A718 00327678 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032A71C 0032767C D0 0D A8 E8 */ stfs f0, lbl_805A94A8@sda21(r13) +/* 8032A720 00327680 40 80 00 10 */ bge lbl_8032A730 +/* 8032A724 00327684 38 00 00 00 */ li r0, 0 +/* 8032A728 00327688 90 0D A8 E0 */ stw r0, lbl_805A94A0@sda21(r13) +/* 8032A72C 0032768C 48 00 00 14 */ b lbl_8032A740 +lbl_8032A730: +/* 8032A730 00327690 2C 03 00 64 */ cmpwi r3, 0x64 +/* 8032A734 00327694 40 81 00 0C */ ble lbl_8032A740 +/* 8032A738 00327698 38 00 00 64 */ li r0, 0x64 +/* 8032A73C 0032769C 90 0D A8 E0 */ stw r0, lbl_805A94A0@sda21(r13) +lbl_8032A740: +/* 8032A740 003276A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032A744 003276A4 4E 80 00 20 */ blr + +.global SetEmitterTime__16CParticleGlobalsFi +SetEmitterTime__16CParticleGlobalsFi: +/* 8032A748 003276A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A74C 003276AC 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8032A750 003276B0 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A754 003276B4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) +/* 8032A758 003276B8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032A75C 003276BC 90 01 00 08 */ stw r0, 8(r1) +/* 8032A760 003276C0 C8 01 00 08 */ lfd f0, 8(r1) +/* 8032A764 003276C4 90 6D A8 D8 */ stw r3, lbl_805A9498@sda21(r13) +/* 8032A768 003276C8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032A76C 003276CC D0 0D A8 DC */ stfs f0, lbl_805A949C@sda21(r13) +/* 8032A770 003276D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A774 003276D4 4E 80 00 20 */ blr + +.global SetParticleLifetime__16CParticleGlobalsFi +SetParticleLifetime__16CParticleGlobalsFi: +/* 8032A778 003276D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A77C 003276DC 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8032A780 003276E0 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A784 003276E4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) +/* 8032A788 003276E8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032A78C 003276EC 90 01 00 08 */ stw r0, 8(r1) +/* 8032A790 003276F0 C8 01 00 08 */ lfd f0, 8(r1) +/* 8032A794 003276F4 90 6D A8 D0 */ stw r3, lbl_805A9490@sda21(r13) +/* 8032A798 003276F8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032A79C 003276FC D0 0D A8 D4 */ stfs f0, lbl_805A9494@sda21(r13) +/* 8032A7A0 00327700 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A7A4 00327704 4E 80 00 20 */ blr + +.global GetTranslation__15CParticleSwooshCFv +GetTranslation__15CParticleSwooshCFv: +/* 8032A7A8 00327708 38 63 00 38 */ addi r3, r3, 0x38 +/* 8032A7AC 0032770C 4E 80 00 20 */ blr + +.global GetGlobalTranslation__15CParticleSwooshCFv +GetGlobalTranslation__15CParticleSwooshCFv: +/* 8032A7B0 00327710 38 63 00 A4 */ addi r3, r3, 0xa4 +/* 8032A7B4 00327714 4E 80 00 20 */ blr + +.global GetGlobalOrientation__15CParticleSwooshCFv +GetGlobalOrientation__15CParticleSwooshCFv: +/* 8032A7B8 00327718 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8032A7BC 0032771C 4E 80 00 20 */ blr + +.global GetGlobalScale__15CParticleSwooshCFv +GetGlobalScale__15CParticleSwooshCFv: +/* 8032A7C0 00327720 38 63 00 E0 */ addi r3, r3, 0xe0 +/* 8032A7C4 00327724 4E 80 00 20 */ blr + +.global GetOrientation__15CParticleSwooshCFv +GetOrientation__15CParticleSwooshCFv: +/* 8032A7C8 00327728 38 63 00 44 */ addi r3, r3, 0x44 +/* 8032A7CC 0032772C 4E 80 00 20 */ blr + +.global GetParticleEmission__15CParticleSwooshCFv +GetParticleEmission__15CParticleSwooshCFv: +/* 8032A7D0 00327730 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8032A7D4 00327734 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 8032A7D8 00327738 4E 80 00 20 */ blr + +.global DestroyParticles__15CParticleSwooshFv +DestroyParticles__15CParticleSwooshFv: +/* 8032A7DC 0032773C 4E 80 00 20 */ blr + +.global SystemHasLight__15CParticleSwooshCFv +SystemHasLight__15CParticleSwooshCFv: +/* 8032A7E0 00327740 38 60 00 00 */ li r3, 0 +/* 8032A7E4 00327744 4E 80 00 20 */ blr + +.global SetGlobalScale__15CParticleSwooshFRC9CVector3f +SetGlobalScale__15CParticleSwooshFRC9CVector3f: +/* 8032A7E8 00327748 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032A7EC 0032774C 7C 08 02 A6 */ mflr r0 +/* 8032A7F0 00327750 90 01 00 74 */ stw r0, 0x74(r1) +/* 8032A7F4 00327754 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8032A7F8 00327758 7C 9F 23 78 */ mr r31, r4 +/* 8032A7FC 0032775C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8032A800 00327760 7C 7E 1B 78 */ mr r30, r3 +/* 8032A804 00327764 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032A808 00327768 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032A80C 0032776C D0 1E 00 E0 */ stfs f0, 0xe0(r30) +/* 8032A810 00327770 C0 04 00 04 */ lfs f0, 4(r4) +/* 8032A814 00327774 D0 1E 00 E4 */ stfs f0, 0xe4(r30) +/* 8032A818 00327778 C0 04 00 08 */ lfs f0, 8(r4) +/* 8032A81C 0032777C D0 1E 00 E8 */ stfs f0, 0xe8(r30) +/* 8032A820 00327780 4B FE 89 A5 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8032A824 00327784 38 7E 00 EC */ addi r3, r30, 0xec +/* 8032A828 00327788 38 81 00 38 */ addi r4, r1, 0x38 +/* 8032A82C 0032778C 4B FE 83 15 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032A830 00327790 C0 62 CA 90 */ lfs f3, lbl_805AE7B0@sda21(r2) +/* 8032A834 00327794 38 61 00 08 */ addi r3, r1, 8 +/* 8032A838 00327798 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8032A83C 0032779C C0 5F 00 04 */ lfs f2, 4(r31) +/* 8032A840 003277A0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8032A844 003277A4 EC 23 08 24 */ fdivs f1, f3, f1 +/* 8032A848 003277A8 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8032A84C 003277AC EC 63 00 24 */ fdivs f3, f3, f0 +/* 8032A850 003277B0 4B FE 89 B9 */ bl Scale__12CTransform4fFfff +/* 8032A854 003277B4 38 7E 01 1C */ addi r3, r30, 0x11c +/* 8032A858 003277B8 38 81 00 08 */ addi r4, r1, 8 +/* 8032A85C 003277BC 4B FE 82 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032A860 003277C0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032A864 003277C4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8032A868 003277C8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8032A86C 003277CC 7C 08 03 A6 */ mtlr r0 +/* 8032A870 003277D0 38 21 00 70 */ addi r1, r1, 0x70 +/* 8032A874 003277D4 4E 80 00 20 */ blr + +.global UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f +UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f: +/* 8032A878 003277D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A87C 003277DC 7C 08 02 A6 */ mflr r0 +/* 8032A880 003277E0 7C 85 23 78 */ mr r5, r4 +/* 8032A884 003277E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A888 003277E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A88C 003277EC 7C 7F 1B 78 */ mr r31, r3 +/* 8032A890 003277F0 38 61 00 08 */ addi r3, r1, 8 +/* 8032A894 003277F4 38 9F 01 1C */ addi r4, r31, 0x11c +/* 8032A898 003277F8 4B FE 82 51 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032A89C 003277FC 80 1F 01 58 */ lwz r0, 0x158(r31) +/* 8032A8A0 00327800 80 9F 01 68 */ lwz r4, 0x168(r31) +/* 8032A8A4 00327804 54 03 38 30 */ slwi r3, r0, 7 +/* 8032A8A8 00327808 C0 01 00 08 */ lfs f0, 8(r1) +/* 8032A8AC 0032780C 38 63 00 0C */ addi r3, r3, 0xc +/* 8032A8B0 00327810 7C 64 1A 14 */ add r3, r4, r3 +/* 8032A8B4 00327814 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032A8B8 00327818 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8032A8BC 0032781C D0 03 00 04 */ stfs f0, 4(r3) +/* 8032A8C0 00327820 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8032A8C4 00327824 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032A8C8 00327828 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A8CC 0032782C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A8D0 00327830 7C 08 03 A6 */ mtlr r0 +/* 8032A8D4 00327834 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A8D8 00327838 4E 80 00 20 */ blr + +.global Get4CharId__15CParticleSwooshCF +Get4CharId__15CParticleSwooshCF: +/* 8032A8DC 0032783C 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8032A8E0 00327840 38 63 48 43 */ addi r3, r3, 0x53574843@l +/* 8032A8E4 00327844 4E 80 00 20 */ blr + +.global GetLight__15CParticleSwooshCFv +GetLight__15CParticleSwooshCFv: +/* 8032A8E8 00327848 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A8EC 0032784C 7C 08 02 A6 */ mflr r0 +/* 8032A8F0 00327850 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A8F4 00327854 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A8F8 00327858 7C 7F 1B 78 */ mr r31, r3 +/* 8032A8FC 0032785C 48 01 F6 B1 */ bl White__6CColorFv +/* 8032A900 00327860 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8032A904 00327864 7C 65 1B 78 */ mr r5, r3 +/* 8032A908 00327868 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8032A90C 0032786C 7F E3 FB 78 */ mr r3, r31 +/* 8032A910 00327870 4B FD BB 95 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +/* 8032A914 00327874 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A918 00327878 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A91C 0032787C 7C 08 03 A6 */ mtlr r0 +/* 8032A920 00327880 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A924 00327884 4E 80 00 20 */ blr + +.global UpdateMaxRadius__15CParticleSwooshFf +UpdateMaxRadius__15CParticleSwooshFf: +/* 8032A928 00327888 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A92C 0032788C FC 00 08 18 */ frsp f0, f1 +/* 8032A930 00327890 D0 21 00 08 */ stfs f1, 8(r1) +/* 8032A934 00327894 C0 23 02 08 */ lfs f1, 0x208(r3) +/* 8032A938 00327898 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032A93C 0032789C 40 80 00 0C */ bge lbl_8032A948 +/* 8032A940 003278A0 38 81 00 08 */ addi r4, r1, 8 +/* 8032A944 003278A4 48 00 00 08 */ b lbl_8032A94C +lbl_8032A948: +/* 8032A948 003278A8 38 83 02 08 */ addi r4, r3, 0x208 +lbl_8032A94C: +/* 8032A94C 003278AC C0 04 00 00 */ lfs f0, 0(r4) +/* 8032A950 003278B0 D0 03 02 08 */ stfs f0, 0x208(r3) +/* 8032A954 003278B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A958 003278B8 4E 80 00 20 */ blr + +.global UpdateBounds__15CParticleSwooshFRC9CVector3f +UpdateBounds__15CParticleSwooshFRC9CVector3f: +/* 8032A95C 003278BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032A960 003278C0 C0 03 02 04 */ lfs f0, 0x204(r3) +/* 8032A964 003278C4 C0 24 00 08 */ lfs f1, 8(r4) +/* 8032A968 003278C8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8032A96C 003278CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032A970 003278D0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8032A974 003278D4 40 80 00 0C */ bge lbl_8032A980 +/* 8032A978 003278D8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8032A97C 003278DC 48 00 00 08 */ b lbl_8032A984 +lbl_8032A980: +/* 8032A980 003278E0 38 A1 00 24 */ addi r5, r1, 0x24 +lbl_8032A984: +/* 8032A984 003278E4 C0 03 02 00 */ lfs f0, 0x200(r3) +/* 8032A988 003278E8 C0 24 00 04 */ lfs f1, 4(r4) +/* 8032A98C 003278EC C0 45 00 00 */ lfs f2, 0(r5) +/* 8032A990 003278F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032A994 003278F4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8032A998 003278F8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8032A99C 003278FC 40 80 00 0C */ bge lbl_8032A9A8 +/* 8032A9A0 00327900 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8032A9A4 00327904 48 00 00 08 */ b lbl_8032A9AC +lbl_8032A9A8: +/* 8032A9A8 00327908 38 A1 00 2C */ addi r5, r1, 0x2c +lbl_8032A9AC: +/* 8032A9AC 0032790C C0 03 01 FC */ lfs f0, 0x1fc(r3) +/* 8032A9B0 00327910 C0 64 00 00 */ lfs f3, 0(r4) +/* 8032A9B4 00327914 C0 25 00 00 */ lfs f1, 0(r5) +/* 8032A9B8 00327918 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8032A9BC 0032791C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8032A9C0 00327920 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8032A9C4 00327924 40 80 00 0C */ bge lbl_8032A9D0 +/* 8032A9C8 00327928 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8032A9CC 0032792C 48 00 00 08 */ b lbl_8032A9D4 +lbl_8032A9D0: +/* 8032A9D0 00327930 38 A1 00 34 */ addi r5, r1, 0x34 +lbl_8032A9D4: +/* 8032A9D4 00327934 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032A9D8 00327938 D0 03 01 FC */ stfs f0, 0x1fc(r3) +/* 8032A9DC 0032793C D0 23 02 00 */ stfs f1, 0x200(r3) +/* 8032A9E0 00327940 D0 43 02 04 */ stfs f2, 0x204(r3) +/* 8032A9E4 00327944 C0 03 01 F8 */ lfs f0, 0x1f8(r3) +/* 8032A9E8 00327948 C0 24 00 08 */ lfs f1, 8(r4) +/* 8032A9EC 0032794C D0 01 00 08 */ stfs f0, 8(r1) +/* 8032A9F0 00327950 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8032A9F4 00327954 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8032A9F8 00327958 40 80 00 0C */ bge lbl_8032AA04 +/* 8032A9FC 0032795C 38 A1 00 08 */ addi r5, r1, 8 +/* 8032AA00 00327960 48 00 00 08 */ b lbl_8032AA08 +lbl_8032AA04: +/* 8032AA04 00327964 38 A1 00 0C */ addi r5, r1, 0xc +lbl_8032AA08: +/* 8032AA08 00327968 C0 03 01 F4 */ lfs f0, 0x1f4(r3) +/* 8032AA0C 0032796C C0 24 00 04 */ lfs f1, 4(r4) +/* 8032AA10 00327970 C0 45 00 00 */ lfs f2, 0(r5) +/* 8032AA14 00327974 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8032AA18 00327978 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8032AA1C 0032797C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8032AA20 00327980 40 80 00 0C */ bge lbl_8032AA2C +/* 8032AA24 00327984 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032AA28 00327988 48 00 00 08 */ b lbl_8032AA30 +lbl_8032AA2C: +/* 8032AA2C 0032798C 38 A1 00 14 */ addi r5, r1, 0x14 +lbl_8032AA30: +/* 8032AA30 00327990 C0 03 01 F0 */ lfs f0, 0x1f0(r3) +/* 8032AA34 00327994 C0 64 00 00 */ lfs f3, 0(r4) +/* 8032AA38 00327998 C0 25 00 00 */ lfs f1, 0(r5) +/* 8032AA3C 0032799C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8032AA40 003279A0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8032AA44 003279A4 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8032AA48 003279A8 40 80 00 0C */ bge lbl_8032AA54 +/* 8032AA4C 003279AC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8032AA50 003279B0 48 00 00 08 */ b lbl_8032AA58 +lbl_8032AA54: +/* 8032AA54 003279B4 38 81 00 1C */ addi r4, r1, 0x1c +lbl_8032AA58: +/* 8032AA58 003279B8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032AA5C 003279BC D0 03 01 F0 */ stfs f0, 0x1f0(r3) +/* 8032AA60 003279C0 D0 23 01 F4 */ stfs f1, 0x1f4(r3) +/* 8032AA64 003279C4 D0 43 01 F8 */ stfs f2, 0x1f8(r3) +/* 8032AA68 003279C8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032AA6C 003279CC 4E 80 00 20 */ blr + +.global GetBounds__15CParticleSwooshCFv +GetBounds__15CParticleSwooshCFv: +/* 8032AA70 003279D0 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8032AA74 003279D4 7C 08 02 A6 */ mflr r0 +/* 8032AA78 003279D8 90 01 01 24 */ stw r0, 0x124(r1) +/* 8032AA7C 003279DC 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 8032AA80 003279E0 7C 9F 23 78 */ mr r31, r4 +/* 8032AA84 003279E4 93 C1 01 18 */ stw r30, 0x118(r1) +/* 8032AA88 003279E8 7C 7E 1B 78 */ mr r30, r3 +/* 8032AA8C 003279EC 7F E3 FB 78 */ mr r3, r31 +/* 8032AA90 003279F0 81 9F 00 00 */ lwz r12, 0(r31) +/* 8032AA94 003279F4 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8032AA98 003279F8 7D 89 03 A6 */ mtctr r12 +/* 8032AA9C 003279FC 4E 80 04 21 */ bctrl +/* 8032AAA0 00327A00 2C 03 00 01 */ cmpwi r3, 1 +/* 8032AAA4 00327A04 41 81 00 94 */ bgt lbl_8032AB38 +/* 8032AAA8 00327A08 C0 3F 00 3C */ lfs f1, 0x3c(r31) +/* 8032AAAC 00327A0C 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032AAB0 00327A10 C0 1F 00 A8 */ lfs f0, 0xa8(r31) +/* 8032AAB4 00327A14 38 81 00 2C */ addi r4, r1, 0x2c +/* 8032AAB8 00327A18 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 8032AABC 00327A1C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8032AAC0 00327A20 EC 61 00 2A */ fadds f3, f1, f0 +/* 8032AAC4 00327A24 C0 1F 00 AC */ lfs f0, 0xac(r31) +/* 8032AAC8 00327A28 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8032AACC 00327A2C EC 42 00 2A */ fadds f2, f2, f0 +/* 8032AAD0 00327A30 C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 8032AAD4 00327A34 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8032AAD8 00327A38 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032AADC 00327A3C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8032AAE0 00327A40 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8032AAE4 00327A44 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8032AAE8 00327A48 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8032AAEC 00327A4C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8032AAF0 00327A50 48 00 DA 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8032AAF4 00327A54 38 00 00 01 */ li r0, 1 +/* 8032AAF8 00327A58 28 1E 00 00 */ cmplwi r30, 0 +/* 8032AAFC 00327A5C 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8032AB00 00327A60 41 82 01 10 */ beq lbl_8032AC10 +/* 8032AB04 00327A64 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8032AB08 00327A68 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8032AB0C 00327A6C C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8032AB10 00327A70 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8032AB14 00327A74 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8032AB18 00327A78 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8032AB1C 00327A7C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8032AB20 00327A80 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8032AB24 00327A84 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8032AB28 00327A88 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8032AB2C 00327A8C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8032AB30 00327A90 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8032AB34 00327A94 48 00 00 DC */ b lbl_8032AC10 +lbl_8032AB38: +/* 8032AB38 00327A98 C0 DF 02 08 */ lfs f6, 0x208(r31) +/* 8032AB3C 00327A9C 38 61 00 80 */ addi r3, r1, 0x80 +/* 8032AB40 00327AA0 C0 5F 02 00 */ lfs f2, 0x200(r31) +/* 8032AB44 00327AA4 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8032AB48 00327AA8 C0 3F 02 04 */ lfs f1, 0x204(r31) +/* 8032AB4C 00327AAC C0 1F 01 FC */ lfs f0, 0x1fc(r31) +/* 8032AB50 00327AB0 EC A2 30 2A */ fadds f5, f2, f6 +/* 8032AB54 00327AB4 C0 5F 01 F4 */ lfs f2, 0x1f4(r31) +/* 8032AB58 00327AB8 EC 81 30 2A */ fadds f4, f1, f6 +/* 8032AB5C 00327ABC C0 3F 01 F8 */ lfs f1, 0x1f8(r31) +/* 8032AB60 00327AC0 EC 60 30 2A */ fadds f3, f0, f6 +/* 8032AB64 00327AC4 C0 1F 01 F0 */ lfs f0, 0x1f0(r31) +/* 8032AB68 00327AC8 EC 42 30 28 */ fsubs f2, f2, f6 +/* 8032AB6C 00327ACC D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8032AB70 00327AD0 EC 21 30 28 */ fsubs f1, f1, f6 +/* 8032AB74 00327AD4 EC 00 30 28 */ fsubs f0, f0, f6 +/* 8032AB78 00327AD8 D0 61 00 08 */ stfs f3, 8(r1) +/* 8032AB7C 00327ADC D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8032AB80 00327AE0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8032AB84 00327AE4 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8032AB88 00327AE8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8032AB8C 00327AEC 4B FE 85 B5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8032AB90 00327AF0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8032AB94 00327AF4 38 81 00 80 */ addi r4, r1, 0x80 +/* 8032AB98 00327AF8 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 8032AB9C 00327AFC 4B FE 7D B5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032ABA0 00327B00 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8032ABA4 00327B04 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8032ABA8 00327B08 38 BF 00 EC */ addi r5, r31, 0xec +/* 8032ABAC 00327B0C 4B FE 7D A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032ABB0 00327B10 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032ABB4 00327B14 38 81 00 14 */ addi r4, r1, 0x14 +/* 8032ABB8 00327B18 38 A1 00 08 */ addi r5, r1, 8 +/* 8032ABBC 00327B1C 48 00 D9 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8032ABC0 00327B20 7C 64 1B 78 */ mr r4, r3 +/* 8032ABC4 00327B24 38 61 00 50 */ addi r3, r1, 0x50 +/* 8032ABC8 00327B28 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8032ABCC 00327B2C 48 00 CD 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8032ABD0 00327B30 38 00 00 01 */ li r0, 1 +/* 8032ABD4 00327B34 28 1E 00 00 */ cmplwi r30, 0 +/* 8032ABD8 00327B38 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8032ABDC 00327B3C 41 82 00 34 */ beq lbl_8032AC10 +/* 8032ABE0 00327B40 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8032ABE4 00327B44 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8032ABE8 00327B48 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8032ABEC 00327B4C D0 1E 00 04 */ stfs f0, 4(r30) +/* 8032ABF0 00327B50 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8032ABF4 00327B54 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8032ABF8 00327B58 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8032ABFC 00327B5C D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8032AC00 00327B60 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8032AC04 00327B64 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8032AC08 00327B68 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8032AC0C 00327B6C D0 1E 00 14 */ stfs f0, 0x14(r30) +lbl_8032AC10: +/* 8032AC10 00327B70 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8032AC14 00327B74 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 8032AC18 00327B78 83 C1 01 18 */ lwz r30, 0x118(r1) +/* 8032AC1C 00327B7C 7C 08 03 A6 */ mtlr r0 +/* 8032AC20 00327B80 38 21 01 20 */ addi r1, r1, 0x120 +/* 8032AC24 00327B84 4E 80 00 20 */ blr + +.global GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: +/* 8032AC28 00327B88 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032AC2C 00327B8C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8032AC30 00327B90 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8032AC34 00327B94 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8032AC38 00327B98 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8032AC3C 00327B9C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8032AC40 00327BA0 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8032AC44 00327BA4 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 8032AC48 00327BA8 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 8032AC4C 00327BAC DB 61 00 20 */ stfd f27, 0x20(r1) +/* 8032AC50 00327BB0 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 +/* 8032AC54 00327BB4 DB 41 00 10 */ stfd f26, 0x10(r1) +/* 8032AC58 00327BB8 F3 41 00 18 */ psq_st f26, 24(r1), 0, qr0 +/* 8032AC5C 00327BBC C0 42 CA 94 */ lfs f2, lbl_805AE7B4@sda21(r2) +/* 8032AC60 00327BC0 C3 A6 00 00 */ lfs f29, 0(r6) +/* 8032AC64 00327BC4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8032AC68 00327BC8 C0 06 00 04 */ lfs f0, 4(r6) +/* 8032AC6C 00327BCC C0 46 00 08 */ lfs f2, 8(r6) +/* 8032AC70 00327BD0 4C 40 13 82 */ cror 2, 0, 2 +/* 8032AC74 00327BD4 41 82 00 E4 */ beq lbl_8032AD58 +/* 8032AC78 00327BD8 C1 A2 CA 90 */ lfs f13, lbl_805AE7B0@sda21(r2) +/* 8032AC7C 00327BDC FC 01 68 40 */ fcmpo cr0, f1, f13 +/* 8032AC80 00327BE0 4C 41 13 82 */ cror 2, 1, 2 +/* 8032AC84 00327BE4 40 82 00 14 */ bne lbl_8032AC98 +/* 8032AC88 00327BE8 C3 A7 00 00 */ lfs f29, 0(r7) +/* 8032AC8C 00327BEC C0 07 00 04 */ lfs f0, 4(r7) +/* 8032AC90 00327BF0 C0 47 00 08 */ lfs f2, 8(r7) +/* 8032AC94 00327BF4 48 00 00 C4 */ b lbl_8032AD58 +lbl_8032AC98: +/* 8032AC98 00327BF8 EF E1 00 72 */ fmuls f31, f1, f1 +/* 8032AC9C 00327BFC C1 82 CA 98 */ lfs f12, lbl_805AE7B8@sda21(r2) +/* 8032ACA0 00327C00 C0 82 CA 9C */ lfs f4, lbl_805AE7BC@sda21(r2) +/* 8032ACA4 00327C04 C0 62 CA A4 */ lfs f3, lbl_805AE7C4@sda21(r2) +/* 8032ACA8 00327C08 EF CC 00 72 */ fmuls f30, f12, f1 +/* 8032ACAC 00327C0C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8032ACB0 00327C10 C1 62 CA A0 */ lfs f11, lbl_805AE7C0@sda21(r2) +/* 8032ACB4 00327C14 C1 05 00 00 */ lfs f8, 0(r5) +/* 8032ACB8 00327C18 EF 4C 00 72 */ fmuls f26, f12, f1 +/* 8032ACBC 00327C1C C0 E5 00 04 */ lfs f7, 4(r5) +/* 8032ACC0 00327C20 EC A4 00 72 */ fmuls f5, f4, f1 +/* 8032ACC4 00327C24 C0 85 00 08 */ lfs f4, 8(r5) +/* 8032ACC8 00327C28 C1 27 00 00 */ lfs f9, 0(r7) +/* 8032ACCC 00327C2C FC 20 D0 50 */ fneg f1, f26 +/* 8032ACD0 00327C30 FD 40 28 50 */ fneg f10, f5 +/* 8032ACD4 00327C34 C0 C7 00 04 */ lfs f6, 4(r7) +/* 8032ACD8 00327C38 EC A3 2F FA */ fmadds f5, f3, f31, f5 +/* 8032ACDC 00327C3C C0 67 00 08 */ lfs f3, 8(r7) +/* 8032ACE0 00327C40 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8032ACE4 00327C44 ED 4B 57 FA */ fmadds f10, f11, f31, f10 +/* 8032ACE8 00327C48 EF 8D 28 2A */ fadds f28, f13, f5 +/* 8032ACEC 00327C4C C1 68 00 00 */ lfs f11, 0(r8) +/* 8032ACF0 00327C50 EF 61 F0 28 */ fsubs f27, f1, f30 +/* 8032ACF4 00327C54 C0 A8 00 04 */ lfs f5, 4(r8) +/* 8032ACF8 00327C58 EF DE 50 2A */ fadds f30, f30, f10 +/* 8032ACFC 00327C5C EF EC D7 FC */ fnmsubs f31, f12, f31, f26 +/* 8032AD00 00327C60 ED 5C 07 72 */ fmuls f10, f28, f29 +/* 8032AD04 00327C64 C0 28 00 08 */ lfs f1, 8(r8) +/* 8032AD08 00327C68 ED BB 02 32 */ fmuls f13, f27, f8 +/* 8032AD0C 00327C6C ED 1B 01 F2 */ fmuls f8, f27, f7 +/* 8032AD10 00327C70 EC FC 00 32 */ fmuls f7, f28, f0 +/* 8032AD14 00327C74 EC 9B 01 32 */ fmuls f4, f27, f4 +/* 8032AD18 00327C78 EC 1C 00 B2 */ fmuls f0, f28, f2 +/* 8032AD1C 00327C7C ED 9E 02 72 */ fmuls f12, f30, f9 +/* 8032AD20 00327C80 ED 2D 50 2A */ fadds f9, f13, f10 +/* 8032AD24 00327C84 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032AD28 00327C88 EC DE 01 B2 */ fmuls f6, f30, f6 +/* 8032AD2C 00327C8C EC 44 00 2A */ fadds f2, f4, f0 +/* 8032AD30 00327C90 EC 1E 00 F2 */ fmuls f0, f30, f3 +/* 8032AD34 00327C94 ED 5F 02 F2 */ fmuls f10, f31, f11 +/* 8032AD38 00327C98 ED 09 60 2A */ fadds f8, f9, f12 +/* 8032AD3C 00327C9C EC 87 30 2A */ fadds f4, f7, f6 +/* 8032AD40 00327CA0 EC 7F 01 72 */ fmuls f3, f31, f5 +/* 8032AD44 00327CA4 EC 42 00 2A */ fadds f2, f2, f0 +/* 8032AD48 00327CA8 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8032AD4C 00327CAC EF A8 50 2A */ fadds f29, f8, f10 +/* 8032AD50 00327CB0 EC 04 18 2A */ fadds f0, f4, f3 +/* 8032AD54 00327CB4 EC 42 08 2A */ fadds f2, f2, f1 +lbl_8032AD58: +/* 8032AD58 00327CB8 D3 A3 00 00 */ stfs f29, 0(r3) +/* 8032AD5C 00327CBC D0 03 00 04 */ stfs f0, 4(r3) +/* 8032AD60 00327CC0 D0 43 00 08 */ stfs f2, 8(r3) +/* 8032AD64 00327CC4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8032AD68 00327CC8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032AD6C 00327CCC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8032AD70 00327CD0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8032AD74 00327CD4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8032AD78 00327CD8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8032AD7C 00327CDC E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 8032AD80 00327CE0 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 8032AD84 00327CE4 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 +/* 8032AD88 00327CE8 CB 61 00 20 */ lfd f27, 0x20(r1) +/* 8032AD8C 00327CEC E3 41 00 18 */ psq_l f26, 24(r1), 0, qr0 +/* 8032AD90 00327CF0 CB 41 00 10 */ lfd f26, 0x10(r1) +/* 8032AD94 00327CF4 38 21 00 70 */ addi r1, r1, 0x70 +/* 8032AD98 00327CF8 4E 80 00 20 */ blr + +.global GetRightRadius__15CParticleSwooshFi +GetRightRadius__15CParticleSwooshFi: +/* 8032AD9C 00327CFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032ADA0 00327D00 7C 08 02 A6 */ mflr r0 +/* 8032ADA4 00327D04 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032ADA8 00327D08 7C 65 1B 78 */ mr r5, r3 +/* 8032ADAC 00327D0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032ADB0 00327D10 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032ADB4 00327D14 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032ADB8 00327D18 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8032ADBC 00327D1C 28 03 00 00 */ cmplwi r3, 0 +/* 8032ADC0 00327D20 41 82 00 28 */ beq lbl_8032ADE8 +/* 8032ADC4 00327D24 81 83 00 00 */ lwz r12, 0(r3) +/* 8032ADC8 00327D28 54 84 38 30 */ slwi r4, r4, 7 +/* 8032ADCC 00327D2C 38 04 00 68 */ addi r0, r4, 0x68 +/* 8032ADD0 00327D30 80 85 01 68 */ lwz r4, 0x168(r5) +/* 8032ADD4 00327D34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032ADD8 00327D38 38 A1 00 08 */ addi r5, r1, 8 +/* 8032ADDC 00327D3C 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8032ADE0 00327D40 7D 89 03 A6 */ mtctr r12 +/* 8032ADE4 00327D44 4E 80 04 21 */ bctrl +lbl_8032ADE8: +/* 8032ADE8 00327D48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032ADEC 00327D4C C0 21 00 08 */ lfs f1, 8(r1) +/* 8032ADF0 00327D50 7C 08 03 A6 */ mtlr r0 +/* 8032ADF4 00327D54 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032ADF8 00327D58 4E 80 00 20 */ blr + +.global GetLeftRadius__15CParticleSwooshFi +GetLeftRadius__15CParticleSwooshFi: +/* 8032ADFC 00327D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032AE00 00327D60 7C 08 02 A6 */ mflr r0 +/* 8032AE04 00327D64 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032AE08 00327D68 7C 65 1B 78 */ mr r5, r3 +/* 8032AE0C 00327D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032AE10 00327D70 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032AE14 00327D74 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032AE18 00327D78 80 63 00 08 */ lwz r3, 8(r3) +/* 8032AE1C 00327D7C 28 03 00 00 */ cmplwi r3, 0 +/* 8032AE20 00327D80 41 82 00 28 */ beq lbl_8032AE48 +/* 8032AE24 00327D84 81 83 00 00 */ lwz r12, 0(r3) +/* 8032AE28 00327D88 54 84 38 30 */ slwi r4, r4, 7 +/* 8032AE2C 00327D8C 38 04 00 68 */ addi r0, r4, 0x68 +/* 8032AE30 00327D90 80 85 01 68 */ lwz r4, 0x168(r5) +/* 8032AE34 00327D94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032AE38 00327D98 38 A1 00 08 */ addi r5, r1, 8 +/* 8032AE3C 00327D9C 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8032AE40 00327DA0 7D 89 03 A6 */ mtctr r12 +/* 8032AE44 00327DA4 4E 80 04 21 */ bctrl +lbl_8032AE48: +/* 8032AE48 00327DA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032AE4C 00327DAC C0 21 00 08 */ lfs f1, 8(r1) +/* 8032AE50 00327DB0 7C 08 03 A6 */ mtlr r0 +/* 8032AE54 00327DB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032AE58 00327DB8 4E 80 00 20 */ blr + +.global WrapIndex__15CParticleSwooshFi +WrapIndex__15CParticleSwooshFi: +/* 8032AE5C 00327DBC 48 00 00 0C */ b lbl_8032AE68 +lbl_8032AE60: +/* 8032AE60 00327DC0 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032AE64 00327DC4 7C 84 02 14 */ add r4, r4, r0 +lbl_8032AE68: +/* 8032AE68 00327DC8 2C 04 00 00 */ cmpwi r4, 0 +/* 8032AE6C 00327DCC 41 80 FF F4 */ blt lbl_8032AE60 +/* 8032AE70 00327DD0 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032AE74 00327DD4 48 00 00 08 */ b lbl_8032AE7C +lbl_8032AE78: +/* 8032AE78 00327DD8 7C 80 20 50 */ subf r4, r0, r4 +lbl_8032AE7C: +/* 8032AE7C 00327DDC 7C 04 00 00 */ cmpw r4, r0 +/* 8032AE80 00327DE0 40 80 FF F8 */ bge lbl_8032AE78 +/* 8032AE84 00327DE4 7C 83 23 78 */ mr r3, r4 +/* 8032AE88 00327DE8 4E 80 00 20 */ blr + +.global SetParticleEmission__15CParticleSwooshFb +SetParticleEmission__15CParticleSwooshFb: +/* 8032AE8C 00327DEC 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8032AE90 00327DF0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8032AE94 00327DF4 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 8032AE98 00327DF8 4E 80 00 20 */ blr + +.global RenderNSidedSpline__15CParticleSwooshFv +RenderNSidedSpline__15CParticleSwooshFv: +/* 8032AE9C 00327DFC 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 8032AEA0 00327E00 7C 08 02 A6 */ mflr r0 +/* 8032AEA4 00327E04 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8032AEA8 00327E08 DB E1 02 A0 */ stfd f31, 0x2a0(r1) +/* 8032AEAC 00327E0C F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 +/* 8032AEB0 00327E10 DB C1 02 90 */ stfd f30, 0x290(r1) +/* 8032AEB4 00327E14 F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 +/* 8032AEB8 00327E18 DB A1 02 80 */ stfd f29, 0x280(r1) +/* 8032AEBC 00327E1C F3 A1 02 88 */ psq_st f29, 648(r1), 0, qr0 +/* 8032AEC0 00327E20 DB 81 02 70 */ stfd f28, 0x270(r1) +/* 8032AEC4 00327E24 F3 81 02 78 */ psq_st f28, 632(r1), 0, qr0 +/* 8032AEC8 00327E28 DB 61 02 60 */ stfd f27, 0x260(r1) +/* 8032AECC 00327E2C F3 61 02 68 */ psq_st f27, 616(r1), 0, qr0 +/* 8032AED0 00327E30 DB 41 02 50 */ stfd f26, 0x250(r1) +/* 8032AED4 00327E34 F3 41 02 58 */ psq_st f26, 600(r1), 0, qr0 +/* 8032AED8 00327E38 DB 21 02 40 */ stfd f25, 0x240(r1) +/* 8032AEDC 00327E3C F3 21 02 48 */ psq_st f25, 584(r1), 0, qr0 +/* 8032AEE0 00327E40 DB 01 02 30 */ stfd f24, 0x230(r1) +/* 8032AEE4 00327E44 F3 01 02 38 */ psq_st f24, 568(r1), 0, qr0 +/* 8032AEE8 00327E48 DA E1 02 20 */ stfd f23, 0x220(r1) +/* 8032AEEC 00327E4C F2 E1 02 28 */ psq_st f23, 552(r1), 0, qr0 +/* 8032AEF0 00327E50 DA C1 02 10 */ stfd f22, 0x210(r1) +/* 8032AEF4 00327E54 F2 C1 02 18 */ psq_st f22, 536(r1), 0, qr0 +/* 8032AEF8 00327E58 DA A1 02 00 */ stfd f21, 0x200(r1) +/* 8032AEFC 00327E5C F2 A1 02 08 */ psq_st f21, 520(r1), 0, qr0 +/* 8032AF00 00327E60 DA 81 01 F0 */ stfd f20, 0x1f0(r1) +/* 8032AF04 00327E64 F2 81 01 F8 */ psq_st f20, 504(r1), 0, qr0 +/* 8032AF08 00327E68 DA 61 01 E0 */ stfd f19, 0x1e0(r1) +/* 8032AF0C 00327E6C F2 61 01 E8 */ psq_st f19, 488(r1), 0, qr0 +/* 8032AF10 00327E70 DA 41 01 D0 */ stfd f18, 0x1d0(r1) +/* 8032AF14 00327E74 F2 41 01 D8 */ psq_st f18, 472(r1), 0, qr0 +/* 8032AF18 00327E78 DA 21 01 C0 */ stfd f17, 0x1c0(r1) +/* 8032AF1C 00327E7C F2 21 01 C8 */ psq_st f17, 456(r1), 0, qr0 +/* 8032AF20 00327E80 DA 01 01 B0 */ stfd f16, 0x1b0(r1) +/* 8032AF24 00327E84 F2 01 01 B8 */ psq_st f16, 440(r1), 0, qr0 +/* 8032AF28 00327E88 D9 E1 01 A0 */ stfd f15, 0x1a0(r1) +/* 8032AF2C 00327E8C F1 E1 01 A8 */ psq_st f15, 424(r1), 0, qr0 +/* 8032AF30 00327E90 BD C1 01 58 */ stmw r14, 0x158(r1) +/* 8032AF34 00327E94 7C 79 1B 78 */ mr r25, r3 +/* 8032AF38 00327E98 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032AF3C 00327E9C 88 03 00 44 */ lbz r0, 0x44(r3) +/* 8032AF40 00327EA0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8032AF44 00327EA4 41 82 00 10 */ beq lbl_8032AF54 +/* 8032AF48 00327EA8 38 00 00 A8 */ li r0, 0xa8 +/* 8032AF4C 00327EAC 90 19 01 BC */ stw r0, 0x1bc(r25) +/* 8032AF50 00327EB0 48 00 00 0C */ b lbl_8032AF5C +lbl_8032AF54: +/* 8032AF54 00327EB4 38 00 00 80 */ li r0, 0x80 +/* 8032AF58 00327EB8 90 19 01 BC */ stw r0, 0x1bc(r25) +lbl_8032AF5C: +/* 8032AF5C 00327EBC 80 79 01 BC */ lwz r3, 0x1bc(r25) +/* 8032AF60 00327EC0 4B FE 07 09 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032AF64 00327EC4 80 79 00 24 */ lwz r3, 0x24(r25) +/* 8032AF68 00327EC8 80 99 01 B8 */ lwz r4, 0x1b8(r25) +/* 8032AF6C 00327ECC 88 03 00 44 */ lbz r0, 0x44(r3) +/* 8032AF70 00327ED0 2C 04 00 04 */ cmpwi r4, 4 +/* 8032AF74 00327ED4 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8032AF78 00327ED8 98 01 01 50 */ stb r0, 0x150(r1) +/* 8032AF7C 00327EDC 41 80 00 18 */ blt lbl_8032AF94 +/* 8032AF80 00327EE0 54 83 0F FE */ srwi r3, r4, 0x1f +/* 8032AF84 00327EE4 54 80 07 FE */ clrlwi r0, r4, 0x1f +/* 8032AF88 00327EE8 7C 00 1A 78 */ xor r0, r0, r3 +/* 8032AF8C 00327EEC 7C 03 00 51 */ subf. r0, r3, r0 +/* 8032AF90 00327EF0 41 82 00 0C */ beq lbl_8032AF9C +lbl_8032AF94: +/* 8032AF94 00327EF4 38 00 00 00 */ li r0, 0 +/* 8032AF98 00327EF8 98 01 01 50 */ stb r0, 0x150(r1) +lbl_8032AF9C: +/* 8032AF9C 00327EFC 38 00 00 00 */ li r0, 0 +/* 8032AFA0 00327F00 83 99 01 58 */ lwz r28, 0x158(r25) +/* 8032AFA4 00327F04 90 01 01 54 */ stw r0, 0x154(r1) +/* 8032AFA8 00327F08 48 00 0A 44 */ b lbl_8032B9EC +lbl_8032AFAC: +/* 8032AFAC 00327F0C 7F 23 CB 78 */ mr r3, r25 +/* 8032AFB0 00327F10 38 9C FF FF */ addi r4, r28, -1 +/* 8032AFB4 00327F14 4B FF FE A9 */ bl WrapIndex__15CParticleSwooshFi +/* 8032AFB8 00327F18 80 B9 01 68 */ lwz r5, 0x168(r25) +/* 8032AFBC 00327F1C 54 60 38 30 */ slwi r0, r3, 7 +/* 8032AFC0 00327F20 7F 23 CB 78 */ mr r3, r25 +/* 8032AFC4 00327F24 7F 84 E3 78 */ mr r4, r28 +/* 8032AFC8 00327F28 7D C5 00 AE */ lbzx r14, r5, r0 +/* 8032AFCC 00327F2C 4B FF FE 91 */ bl WrapIndex__15CParticleSwooshFi +/* 8032AFD0 00327F30 80 99 01 68 */ lwz r4, 0x168(r25) +/* 8032AFD4 00327F34 54 60 38 30 */ slwi r0, r3, 7 +/* 8032AFD8 00327F38 7C 04 00 AE */ lbzx r0, r4, r0 +/* 8032AFDC 00327F3C 28 00 00 00 */ cmplwi r0, 0 +/* 8032AFE0 00327F40 41 82 00 14 */ beq lbl_8032AFF4 +/* 8032AFE4 00327F44 28 00 00 01 */ cmplwi r0, 1 +/* 8032AFE8 00327F48 40 82 00 20 */ bne lbl_8032B008 +/* 8032AFEC 00327F4C 28 0E 00 00 */ cmplwi r14, 0 +/* 8032AFF0 00327F50 40 82 00 18 */ bne lbl_8032B008 +lbl_8032AFF4: +/* 8032AFF4 00327F54 37 9C FF FF */ addic. r28, r28, -1 +/* 8032AFF8 00327F58 40 80 09 E8 */ bge lbl_8032B9E0 +/* 8032AFFC 00327F5C 80 79 01 60 */ lwz r3, 0x160(r25) +/* 8032B000 00327F60 3B 83 FF FF */ addi r28, r3, -1 +/* 8032B004 00327F64 48 00 09 DC */ b lbl_8032B9E0 +lbl_8032B008: +/* 8032B008 00327F68 80 19 01 B8 */ lwz r0, 0x1b8(r25) +/* 8032B00C 00327F6C 3D C0 43 30 */ lis r14, 0x4330 +/* 8032B010 00327F70 57 83 38 30 */ slwi r3, r28, 7 +/* 8032B014 00327F74 91 C1 01 30 */ stw r14, 0x130(r1) +/* 8032B018 00327F78 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B01C 00327F7C CA 42 CA F0 */ lfd f18, lbl_805AE810@sda21(r2) +/* 8032B020 00327F80 90 01 01 34 */ stw r0, 0x134(r1) +/* 8032B024 00327F84 7F 64 1A 14 */ add r27, r4, r3 +/* 8032B028 00327F88 C0 22 CA CC */ lfs f1, lbl_805AE7EC@sda21(r2) +/* 8032B02C 00327F8C 3A 00 00 00 */ li r16, 0 +/* 8032B030 00327F90 C8 01 01 30 */ lfd f0, 0x130(r1) +/* 8032B034 00327F94 C2 62 CA D0 */ lfs f19, lbl_805AE7F0@sda21(r2) +/* 8032B038 00327F98 EC 00 90 28 */ fsubs f0, f0, f18 +/* 8032B03C 00327F9C C2 82 CA D4 */ lfs f20, lbl_805AE7F4@sda21(r2) +/* 8032B040 00327FA0 CA A2 CA D8 */ lfd f21, lbl_805AE7F8@sda21(r2) +/* 8032B044 00327FA4 C2 C2 CA AC */ lfs f22, lbl_805AE7CC@sda21(r2) +/* 8032B048 00327FA8 EF E1 00 24 */ fdivs f31, f1, f0 +/* 8032B04C 00327FAC C2 E2 CA B0 */ lfs f23, lbl_805AE7D0@sda21(r2) +/* 8032B050 00327FB0 C3 02 CA B4 */ lfs f24, lbl_805AE7D4@sda21(r2) +/* 8032B054 00327FB4 C3 22 CA B8 */ lfs f25, lbl_805AE7D8@sda21(r2) +/* 8032B058 00327FB8 C3 42 CA BC */ lfs f26, lbl_805AE7DC@sda21(r2) +/* 8032B05C 00327FBC C3 62 CA C0 */ lfs f27, lbl_805AE7E0@sda21(r2) +/* 8032B060 00327FC0 C3 82 CA C4 */ lfs f28, lbl_805AE7E4@sda21(r2) +/* 8032B064 00327FC4 C3 A2 CA C8 */ lfs f29, lbl_805AE7E8@sda21(r2) +/* 8032B068 00327FC8 C3 C2 CA 94 */ lfs f30, lbl_805AE7B4@sda21(r2) +lbl_8032B06C: +/* 8032B06C 00327FCC 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B070 00327FD0 39 E0 00 00 */ li r15, 0 +/* 8032B074 00327FD4 40 82 00 30 */ bne lbl_8032B0A4 +/* 8032B078 00327FD8 7F 23 CB 78 */ mr r3, r25 +/* 8032B07C 00327FDC 38 9C 00 01 */ addi r4, r28, 1 +/* 8032B080 00327FE0 4B FF FD DD */ bl WrapIndex__15CParticleSwooshFi +/* 8032B084 00327FE4 80 99 01 68 */ lwz r4, 0x168(r25) +/* 8032B088 00327FE8 54 60 38 30 */ slwi r0, r3, 7 +/* 8032B08C 00327FEC 7C 6F 1B 78 */ mr r15, r3 +/* 8032B090 00327FF0 7C 04 00 AE */ lbzx r0, r4, r0 +/* 8032B094 00327FF4 28 00 00 00 */ cmplwi r0, 0 +/* 8032B098 00327FF8 40 82 00 80 */ bne lbl_8032B118 +/* 8032B09C 00327FFC 7F 8F E3 78 */ mr r15, r28 +/* 8032B0A0 00328000 48 00 00 78 */ b lbl_8032B118 +lbl_8032B0A4: +/* 8032B0A4 00328004 2C 10 00 01 */ cmpwi r16, 1 +/* 8032B0A8 00328008 40 82 00 18 */ bne lbl_8032B0C0 +/* 8032B0AC 0032800C 7F 23 CB 78 */ mr r3, r25 +/* 8032B0B0 00328010 7F 84 E3 78 */ mr r4, r28 +/* 8032B0B4 00328014 4B FF FD A9 */ bl WrapIndex__15CParticleSwooshFi +/* 8032B0B8 00328018 7C 6F 1B 78 */ mr r15, r3 +/* 8032B0BC 0032801C 48 00 00 5C */ b lbl_8032B118 +lbl_8032B0C0: +/* 8032B0C0 00328020 2C 10 00 02 */ cmpwi r16, 2 +/* 8032B0C4 00328024 40 82 00 18 */ bne lbl_8032B0DC +/* 8032B0C8 00328028 7F 23 CB 78 */ mr r3, r25 +/* 8032B0CC 0032802C 38 9C FF FF */ addi r4, r28, -1 +/* 8032B0D0 00328030 4B FF FD 8D */ bl WrapIndex__15CParticleSwooshFi +/* 8032B0D4 00328034 7C 6F 1B 78 */ mr r15, r3 +/* 8032B0D8 00328038 48 00 00 40 */ b lbl_8032B118 +lbl_8032B0DC: +/* 8032B0DC 0032803C 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B0E0 00328040 40 82 00 38 */ bne lbl_8032B118 +/* 8032B0E4 00328044 7F 23 CB 78 */ mr r3, r25 +/* 8032B0E8 00328048 38 9C FF FE */ addi r4, r28, -2 +/* 8032B0EC 0032804C 4B FF FD 71 */ bl WrapIndex__15CParticleSwooshFi +/* 8032B0F0 00328050 80 99 01 68 */ lwz r4, 0x168(r25) +/* 8032B0F4 00328054 54 60 38 30 */ slwi r0, r3, 7 +/* 8032B0F8 00328058 7C 6F 1B 78 */ mr r15, r3 +/* 8032B0FC 0032805C 7C 04 00 AE */ lbzx r0, r4, r0 +/* 8032B100 00328060 28 00 00 00 */ cmplwi r0, 0 +/* 8032B104 00328064 40 82 00 14 */ bne lbl_8032B118 +/* 8032B108 00328068 7F 23 CB 78 */ mr r3, r25 +/* 8032B10C 0032806C 38 9C FF FF */ addi r4, r28, -1 +/* 8032B110 00328070 4B FF FD 4D */ bl WrapIndex__15CParticleSwooshFi +/* 8032B114 00328074 7C 6F 1B 78 */ mr r15, r3 +lbl_8032B118: +/* 8032B118 00328078 80 19 01 B4 */ lwz r0, 0x1b4(r25) +/* 8032B11C 0032807C 2C 00 00 02 */ cmpwi r0, 2 +/* 8032B120 00328080 40 82 00 3C */ bne lbl_8032B15C +/* 8032B124 00328084 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B128 00328088 40 82 00 18 */ bne lbl_8032B140 +/* 8032B12C 0032808C 7F 23 CB 78 */ mr r3, r25 +/* 8032B130 00328090 7F 84 E3 78 */ mr r4, r28 +/* 8032B134 00328094 4B FF FD 29 */ bl WrapIndex__15CParticleSwooshFi +/* 8032B138 00328098 7C 6F 1B 78 */ mr r15, r3 +/* 8032B13C 0032809C 48 00 00 90 */ b lbl_8032B1CC +lbl_8032B140: +/* 8032B140 003280A0 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B144 003280A4 40 82 00 88 */ bne lbl_8032B1CC +/* 8032B148 003280A8 7F 23 CB 78 */ mr r3, r25 +/* 8032B14C 003280AC 38 9C FF FF */ addi r4, r28, -1 +/* 8032B150 003280B0 4B FF FD 0D */ bl WrapIndex__15CParticleSwooshFi +/* 8032B154 003280B4 7C 6F 1B 78 */ mr r15, r3 +/* 8032B158 003280B8 48 00 00 74 */ b lbl_8032B1CC +lbl_8032B15C: +/* 8032B15C 003280BC 80 99 01 58 */ lwz r4, 0x158(r25) +/* 8032B160 003280C0 7C 1C 20 00 */ cmpw r28, r4 +/* 8032B164 003280C4 40 82 00 14 */ bne lbl_8032B178 +/* 8032B168 003280C8 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B16C 003280CC 40 82 00 0C */ bne lbl_8032B178 +/* 8032B170 003280D0 7C 8F 23 78 */ mr r15, r4 +/* 8032B174 003280D4 48 00 00 58 */ b lbl_8032B1CC +lbl_8032B178: +/* 8032B178 003280D8 7F 23 CB 78 */ mr r3, r25 +/* 8032B17C 003280DC 38 84 00 02 */ addi r4, r4, 2 +/* 8032B180 003280E0 4B FF FC DD */ bl WrapIndex__15CParticleSwooshFi +/* 8032B184 003280E4 7C 1C 18 00 */ cmpw r28, r3 +/* 8032B188 003280E8 40 82 00 24 */ bne lbl_8032B1AC +/* 8032B18C 003280EC 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B190 003280F0 40 82 00 1C */ bne lbl_8032B1AC +/* 8032B194 003280F4 80 99 01 58 */ lwz r4, 0x158(r25) +/* 8032B198 003280F8 7F 23 CB 78 */ mr r3, r25 +/* 8032B19C 003280FC 38 84 00 01 */ addi r4, r4, 1 +/* 8032B1A0 00328100 4B FF FC BD */ bl WrapIndex__15CParticleSwooshFi +/* 8032B1A4 00328104 7C 6F 1B 78 */ mr r15, r3 +/* 8032B1A8 00328108 48 00 00 24 */ b lbl_8032B1CC +lbl_8032B1AC: +/* 8032B1AC 0032810C 80 79 01 AC */ lwz r3, 0x1ac(r25) +/* 8032B1B0 00328110 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B1B4 00328114 38 63 FF FE */ addi r3, r3, -2 +/* 8032B1B8 00328118 7C 00 18 00 */ cmpw r0, r3 +/* 8032B1BC 0032811C 40 82 00 10 */ bne lbl_8032B1CC +/* 8032B1C0 00328120 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B1C4 00328124 40 82 00 08 */ bne lbl_8032B1CC +/* 8032B1C8 00328128 39 E0 00 00 */ li r15, 0 +lbl_8032B1CC: +/* 8032B1CC 0032812C 80 79 01 68 */ lwz r3, 0x168(r25) +/* 8032B1D0 00328130 55 E0 38 30 */ slwi r0, r15, 7 +/* 8032B1D4 00328134 3A 20 00 00 */ li r17, 0 +/* 8032B1D8 00328138 39 E0 00 00 */ li r15, 0 +/* 8032B1DC 0032813C 7E 43 02 14 */ add r18, r3, r0 +/* 8032B1E0 00328140 3A 72 00 38 */ addi r19, r18, 0x38 +/* 8032B1E4 00328144 48 00 02 88 */ b lbl_8032B46C +lbl_8032B1E8: +/* 8032B1E8 00328148 6E 20 80 00 */ xoris r0, r17, 0x8000 +/* 8032B1EC 0032814C 91 C1 01 30 */ stw r14, 0x130(r1) +/* 8032B1F0 00328150 C0 32 00 30 */ lfs f1, 0x30(r18) +/* 8032B1F4 00328154 90 01 01 34 */ stw r0, 0x134(r1) +/* 8032B1F8 00328158 C0 12 00 34 */ lfs f0, 0x34(r18) +/* 8032B1FC 0032815C C8 41 01 30 */ lfd f2, 0x130(r1) +/* 8032B200 00328160 EC 21 00 2A */ fadds f1, f1, f0 +/* 8032B204 00328164 EC 02 90 28 */ fsubs f0, f2, f18 +/* 8032B208 00328168 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8032B20C 0032816C EC 20 08 2A */ fadds f1, f0, f1 +/* 8032B210 00328170 EC 33 00 72 */ fmuls f1, f19, f1 +/* 8032B214 00328174 EC 61 A0 24 */ fdivs f3, f1, f20 +/* 8032B218 00328178 FC 20 1A 10 */ fabs f1, f3 +/* 8032B21C 0032817C FC 01 A8 40 */ fcmpo cr0, f1, f21 +/* 8032B220 00328180 40 81 00 58 */ ble lbl_8032B278 +/* 8032B224 00328184 C0 22 CA E0 */ lfs f1, lbl_805AE800@sda21(r2) +/* 8032B228 00328188 3C 00 43 30 */ lis r0, 0x4330 +/* 8032B22C 0032818C 90 01 01 38 */ stw r0, 0x138(r1) +/* 8032B230 00328190 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8032B234 00328194 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032B238 00328198 FC 20 08 1E */ fctiwz f1, f1 +/* 8032B23C 0032819C D8 21 01 30 */ stfd f1, 0x130(r1) +/* 8032B240 003281A0 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8032B244 003281A4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B248 003281A8 90 01 01 3C */ stw r0, 0x13c(r1) +/* 8032B24C 003281AC C8 21 01 38 */ lfd f1, 0x138(r1) +/* 8032B250 003281B0 EC 21 90 28 */ fsubs f1, f1, f18 +/* 8032B254 003281B4 EC 61 18 BC */ fnmsubs f3, f1, f2, f3 +/* 8032B258 003281B8 FC 03 98 40 */ fcmpo cr0, f3, f19 +/* 8032B25C 003281BC 40 81 00 0C */ ble lbl_8032B268 +/* 8032B260 003281C0 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8032B264 003281C4 48 00 00 14 */ b lbl_8032B278 +lbl_8032B268: +/* 8032B268 003281C8 C0 22 CA E8 */ lfs f1, lbl_805AE808@sda21(r2) +/* 8032B26C 003281CC FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 8032B270 003281D0 40 80 00 08 */ bge lbl_8032B278 +/* 8032B274 003281D4 EC 62 18 2A */ fadds f3, f2, f3 +lbl_8032B278: +/* 8032B278 003281D8 EC A3 00 F2 */ fmuls f5, f3, f3 +/* 8032B27C 003281DC C0 42 CA A8 */ lfs f2, lbl_805AE7C8@sda21(r2) +/* 8032B280 003281E0 EC 83 06 B2 */ fmuls f4, f3, f26 +/* 8032B284 003281E4 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8032B288 003281E8 EC 63 01 72 */ fmuls f3, f3, f5 +/* 8032B28C 003281EC EC 45 15 BA */ fmadds f2, f5, f22, f2 +/* 8032B290 003281F0 EC 25 01 72 */ fmuls f1, f5, f5 +/* 8032B294 003281F4 EC 83 26 FA */ fmadds f4, f3, f27, f4 +/* 8032B298 003281F8 EC 63 01 72 */ fmuls f3, f3, f5 +/* 8032B29C 003281FC EC 41 15 FA */ fmadds f2, f1, f23, f2 +/* 8032B2A0 00328200 EC 21 01 72 */ fmuls f1, f1, f5 +/* 8032B2A4 00328204 EC 83 27 3A */ fmadds f4, f3, f28, f4 +/* 8032B2A8 00328208 EC 63 01 72 */ fmuls f3, f3, f5 +/* 8032B2AC 0032820C EC 41 16 3A */ fmadds f2, f1, f24, f2 +/* 8032B2B0 00328210 EC 21 01 72 */ fmuls f1, f1, f5 +/* 8032B2B4 00328214 EC 83 27 7A */ fmadds f4, f3, f29, f4 +/* 8032B2B8 00328218 EC 41 16 7A */ fmadds f2, f1, f25, f2 +/* 8032B2BC 0032821C 40 81 00 1C */ ble lbl_8032B2D8 +/* 8032B2C0 00328220 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) +/* 8032B2C4 00328224 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8032B2C8 00328228 4C 40 13 82 */ cror 2, 0, 2 +/* 8032B2CC 0032822C 40 82 00 0C */ bne lbl_8032B2D8 +/* 8032B2D0 00328230 C0 D2 00 04 */ lfs f6, 4(r18) +/* 8032B2D4 00328234 48 00 00 08 */ b lbl_8032B2DC +lbl_8032B2D8: +/* 8032B2D8 00328238 C0 D2 00 08 */ lfs f6, 8(r18) +lbl_8032B2DC: +/* 8032B2DC 0032823C C0 32 00 0C */ lfs f1, 0xc(r18) +/* 8032B2E0 00328240 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B2E4 00328244 C0 12 00 24 */ lfs f0, 0x24(r18) +/* 8032B2E8 00328248 EC A6 00 B2 */ fmuls f5, f6, f2 +/* 8032B2EC 0032824C C0 72 00 10 */ lfs f3, 0x10(r18) +/* 8032B2F0 00328250 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8032B2F4 00328254 C0 52 00 28 */ lfs f2, 0x28(r18) +/* 8032B2F8 00328258 ED E1 00 2A */ fadds f15, f1, f0 +/* 8032B2FC 0032825C C0 32 00 14 */ lfs f1, 0x14(r18) +/* 8032B300 00328260 C0 12 00 2C */ lfs f0, 0x2c(r18) +/* 8032B304 00328264 EE 03 10 2A */ fadds f16, f3, f2 +/* 8032B308 00328268 EE 21 00 2A */ fadds f17, f1, f0 +/* 8032B30C 0032826C 40 82 00 54 */ bne lbl_8032B360 +/* 8032B310 00328270 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B314 00328274 7E 64 9B 78 */ mr r4, r19 +/* 8032B318 00328278 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 8032B31C 0032827C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8032B320 00328280 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8032B324 00328284 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8032B328 00328288 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 8032B32C 0032828C 4B FE 77 BD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B330 00328290 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8032B334 00328294 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 8032B338 00328298 80 19 01 78 */ lwz r0, 0x178(r25) +/* 8032B33C 0032829C EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B340 003282A0 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 8032B344 003282A4 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B348 003282A8 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B34C 003282AC D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B350 003282B0 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B354 003282B4 D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B358 003282B8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032B35C 003282BC 48 00 01 08 */ b lbl_8032B464 +lbl_8032B360: +/* 8032B360 003282C0 2C 10 00 01 */ cmpwi r16, 1 +/* 8032B364 003282C4 40 82 00 54 */ bne lbl_8032B3B8 +/* 8032B368 003282C8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B36C 003282CC 7E 64 9B 78 */ mr r4, r19 +/* 8032B370 003282D0 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 8032B374 003282D4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8032B378 003282D8 38 A1 00 9C */ addi r5, r1, 0x9c +/* 8032B37C 003282DC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032B380 003282E0 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 8032B384 003282E4 4B FE 77 65 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B388 003282E8 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8032B38C 003282EC C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8032B390 003282F0 80 19 01 88 */ lwz r0, 0x188(r25) +/* 8032B394 003282F4 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B398 003282F8 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 8032B39C 003282FC EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B3A0 00328300 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B3A4 00328304 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B3A8 00328308 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B3AC 0032830C D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B3B0 00328310 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032B3B4 00328314 48 00 00 B0 */ b lbl_8032B464 +lbl_8032B3B8: +/* 8032B3B8 00328318 2C 10 00 02 */ cmpwi r16, 2 +/* 8032B3BC 0032831C 40 82 00 54 */ bne lbl_8032B410 +/* 8032B3C0 00328320 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B3C4 00328324 7E 64 9B 78 */ mr r4, r19 +/* 8032B3C8 00328328 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 8032B3CC 0032832C 38 61 00 90 */ addi r3, r1, 0x90 +/* 8032B3D0 00328330 38 A1 00 84 */ addi r5, r1, 0x84 +/* 8032B3D4 00328334 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8032B3D8 00328338 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 8032B3DC 0032833C 4B FE 77 0D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B3E0 00328340 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8032B3E4 00328344 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 8032B3E8 00328348 80 19 01 98 */ lwz r0, 0x198(r25) +/* 8032B3EC 0032834C EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B3F0 00328350 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 8032B3F4 00328354 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B3F8 00328358 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B3FC 0032835C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B400 00328360 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B404 00328364 D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B408 00328368 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032B40C 0032836C 48 00 00 58 */ b lbl_8032B464 +lbl_8032B410: +/* 8032B410 00328370 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B414 00328374 40 82 00 50 */ bne lbl_8032B464 +/* 8032B418 00328378 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B41C 0032837C 7E 64 9B 78 */ mr r4, r19 +/* 8032B420 00328380 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 8032B424 00328384 38 61 00 78 */ addi r3, r1, 0x78 +/* 8032B428 00328388 38 A1 00 6C */ addi r5, r1, 0x6c +/* 8032B42C 0032838C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8032B430 00328390 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 8032B434 00328394 4B FE 76 B5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B438 00328398 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8032B43C 0032839C C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8032B440 003283A0 80 19 01 A8 */ lwz r0, 0x1a8(r25) +/* 8032B444 003283A4 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B448 003283A8 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8032B44C 003283AC EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B450 003283B0 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B454 003283B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B458 003283B8 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B45C 003283BC D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B460 003283C0 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032B464: +/* 8032B464 003283C4 39 EF 00 0C */ addi r15, r15, 0xc +/* 8032B468 003283C8 3A 31 00 01 */ addi r17, r17, 1 +lbl_8032B46C: +/* 8032B46C 003283CC 80 19 01 B8 */ lwz r0, 0x1b8(r25) +/* 8032B470 003283D0 7C 11 00 00 */ cmpw r17, r0 +/* 8032B474 003283D4 41 80 FD 74 */ blt lbl_8032B1E8 +/* 8032B478 003283D8 3A 10 00 01 */ addi r16, r16, 1 +/* 8032B47C 003283DC 2C 10 00 04 */ cmpwi r16, 4 +/* 8032B480 003283E0 41 80 FB EC */ blt lbl_8032B06C +/* 8032B484 003283E4 80 79 00 24 */ lwz r3, 0x24(r25) +/* 8032B488 003283E8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8032B48C 003283EC 28 00 00 00 */ cmplwi r0, 0 +/* 8032B490 003283F0 41 82 00 7C */ beq lbl_8032B50C +/* 8032B494 003283F4 80 99 01 EC */ lwz r4, 0x1ec(r25) +/* 8032B498 003283F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8032B49C 003283FC 40 81 00 44 */ ble lbl_8032B4E0 +/* 8032B4A0 00328400 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B4A4 00328404 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032B4A8 00328408 7C 60 23 D6 */ divw r3, r0, r4 +/* 8032B4AC 0032840C 3C 00 43 30 */ lis r0, 0x4330 +/* 8032B4B0 00328410 90 01 01 38 */ stw r0, 0x138(r1) +/* 8032B4B4 00328414 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B4B8 00328418 C0 59 01 E8 */ lfs f2, 0x1e8(r25) +/* 8032B4BC 0032841C 7C 63 21 D6 */ mullw r3, r3, r4 +/* 8032B4C0 00328420 7C 03 00 50 */ subf r0, r3, r0 +/* 8032B4C4 00328424 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B4C8 00328428 90 01 01 3C */ stw r0, 0x13c(r1) +/* 8032B4CC 0032842C C8 01 01 38 */ lfd f0, 0x138(r1) +/* 8032B4D0 00328430 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032B4D4 00328434 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8032B4D8 00328438 D0 19 01 D4 */ stfs f0, 0x1d4(r25) +/* 8032B4DC 0032843C 48 00 00 30 */ b lbl_8032B50C +lbl_8032B4E0: +/* 8032B4E0 00328440 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B4E4 00328444 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032B4E8 00328448 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8032B4EC 0032844C 3C 00 43 30 */ lis r0, 0x4330 +/* 8032B4F0 00328450 90 61 01 3C */ stw r3, 0x13c(r1) +/* 8032B4F4 00328454 C0 19 01 E8 */ lfs f0, 0x1e8(r25) +/* 8032B4F8 00328458 90 01 01 38 */ stw r0, 0x138(r1) +/* 8032B4FC 0032845C C8 21 01 38 */ lfd f1, 0x138(r1) +/* 8032B500 00328460 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8032B504 00328464 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032B508 00328468 D0 19 01 D4 */ stfs f0, 0x1d4(r25) +lbl_8032B50C: +/* 8032B50C 0032846C 80 79 01 B0 */ lwz r3, 0x1b0(r25) +/* 8032B510 00328470 3D C0 43 30 */ lis r14, 0x4330 +/* 8032B514 00328474 91 C1 01 38 */ stw r14, 0x138(r1) +/* 8032B518 00328478 3B A0 00 00 */ li r29, 0 +/* 8032B51C 0032847C 38 03 00 01 */ addi r0, r3, 1 +/* 8032B520 00328480 CB E2 CA F0 */ lfd f31, lbl_805AE810@sda21(r2) +/* 8032B524 00328484 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B528 00328488 C0 39 01 E8 */ lfs f1, 0x1e8(r25) +/* 8032B52C 0032848C 90 01 01 3C */ stw r0, 0x13c(r1) +/* 8032B530 00328490 8B 01 01 50 */ lbz r24, 0x150(r1) +/* 8032B534 00328494 C8 01 01 38 */ lfd f0, 0x138(r1) +/* 8032B538 00328498 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8032B53C 0032849C ED E1 00 24 */ fdivs f15, f1, f0 +/* 8032B540 003284A0 48 00 04 80 */ b lbl_8032B9C0 +lbl_8032B544: +/* 8032B544 003284A4 38 1D 00 01 */ addi r0, r29, 1 +/* 8032B548 003284A8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8032B54C 003284AC 6F A4 80 00 */ xoris r4, r29, 0x8000 +/* 8032B550 003284B0 80 B9 01 B8 */ lwz r5, 0x1b8(r25) +/* 8032B554 003284B4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B558 003284B8 90 81 01 3C */ stw r4, 0x13c(r1) +/* 8032B55C 003284BC 2C 05 00 02 */ cmpwi r5, 2 +/* 8032B560 003284C0 7C BA 2B 78 */ mr r26, r5 +/* 8032B564 003284C4 91 C1 01 38 */ stw r14, 0x138(r1) +/* 8032B568 003284C8 C8 01 01 38 */ lfd f0, 0x138(r1) +/* 8032B56C 003284CC 90 61 01 34 */ stw r3, 0x134(r1) +/* 8032B570 003284D0 EC 40 F8 28 */ fsubs f2, f0, f31 +/* 8032B574 003284D4 91 C1 01 30 */ stw r14, 0x130(r1) +/* 8032B578 003284D8 C8 01 01 30 */ lfd f0, 0x130(r1) +/* 8032B57C 003284DC 90 01 01 44 */ stw r0, 0x144(r1) +/* 8032B580 003284E0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8032B584 003284E4 91 C1 01 40 */ stw r14, 0x140(r1) +/* 8032B588 003284E8 C8 21 01 40 */ lfd f1, 0x140(r1) +/* 8032B58C 003284EC EE 02 00 24 */ fdivs f16, f2, f0 +/* 8032B590 003284F0 90 61 01 4C */ stw r3, 0x14c(r1) +/* 8032B594 003284F4 91 C1 01 48 */ stw r14, 0x148(r1) +/* 8032B598 003284F8 C8 01 01 48 */ lfd f0, 0x148(r1) +/* 8032B59C 003284FC EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8032B5A0 00328500 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8032B5A4 00328504 EE 21 00 24 */ fdivs f17, f1, f0 +/* 8032B5A8 00328508 41 81 00 0C */ bgt lbl_8032B5B4 +/* 8032B5AC 0032850C 3B 40 00 01 */ li r26, 1 +/* 8032B5B0 00328510 48 00 00 1C */ b lbl_8032B5CC +lbl_8032B5B4: +/* 8032B5B4 00328514 88 01 01 50 */ lbz r0, 0x150(r1) +/* 8032B5B8 00328518 28 00 00 01 */ cmplwi r0, 1 +/* 8032B5BC 0032851C 40 82 00 10 */ bne lbl_8032B5CC +/* 8032B5C0 00328520 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 8032B5C4 00328524 7C 00 2A 14 */ add r0, r0, r5 +/* 8032B5C8 00328528 7C 1A 0E 70 */ srawi r26, r0, 1 +lbl_8032B5CC: +/* 8032B5CC 0032852C C0 19 01 D4 */ lfs f0, 0x1d4(r25) +/* 8032B5D0 00328530 3B C0 00 00 */ li r30, 0 +/* 8032B5D4 00328534 7F DF F3 78 */ mr r31, r30 +/* 8032B5D8 00328538 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B5DC 0032853C D0 19 01 DC */ stfs f0, 0x1dc(r25) +/* 8032B5E0 00328540 48 00 03 AC */ b lbl_8032B98C +lbl_8032B5E4: +/* 8032B5E4 00328544 80 19 01 B8 */ lwz r0, 0x1b8(r25) +/* 8032B5E8 00328548 39 FE 00 01 */ addi r15, r30, 1 +/* 8032B5EC 0032854C 7C 0F 00 00 */ cmpw r15, r0 +/* 8032B5F0 00328550 41 80 00 08 */ blt lbl_8032B5F8 +/* 8032B5F4 00328554 39 E0 00 00 */ li r15, 0 +lbl_8032B5F8: +/* 8032B5F8 00328558 38 61 00 08 */ addi r3, r1, 8 +/* 8032B5FC 0032855C 38 9B 00 6C */ addi r4, r27, 0x6c +/* 8032B600 00328560 38 B9 02 0C */ addi r5, r25, 0x20c +/* 8032B604 00328564 48 03 7B 75 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032B608 00328568 28 18 00 00 */ cmplwi r24, 0 +/* 8032B60C 0032856C 82 E1 00 08 */ lwz r23, 8(r1) +/* 8032B610 00328570 41 82 01 88 */ beq lbl_8032B798 +/* 8032B614 00328574 80 79 01 B8 */ lwz r3, 0x1b8(r25) +/* 8032B618 00328578 FC 20 80 90 */ fmr f1, f16 +/* 8032B61C 0032857C 81 39 01 78 */ lwz r9, 0x178(r25) +/* 8032B620 00328580 7F 24 CB 78 */ mr r4, r25 +/* 8032B624 00328584 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8032B628 00328588 81 59 01 88 */ lwz r10, 0x188(r25) +/* 8032B62C 0032858C 7C 00 1A 14 */ add r0, r0, r3 +/* 8032B630 00328590 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8032B634 00328594 80 79 01 98 */ lwz r3, 0x198(r25) +/* 8032B638 00328598 7C 1E 02 14 */ add r0, r30, r0 +/* 8032B63C 0032859C 81 79 01 A8 */ lwz r11, 0x1a8(r25) +/* 8032B640 003285A0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032B644 003285A4 7E C9 FA 14 */ add r22, r9, r31 +/* 8032B648 003285A8 7E AA FA 14 */ add r21, r10, r31 +/* 8032B64C 003285AC 7E 83 FA 14 */ add r20, r3, r31 +/* 8032B650 003285B0 7E 6B FA 14 */ add r19, r11, r31 +/* 8032B654 003285B4 7E C5 B3 78 */ mr r5, r22 +/* 8032B658 003285B8 7E A6 AB 78 */ mr r6, r21 +/* 8032B65C 003285BC 7E 87 A3 78 */ mr r7, r20 +/* 8032B660 003285C0 7E 68 9B 78 */ mr r8, r19 +/* 8032B664 003285C4 7E 49 02 14 */ add r18, r9, r0 +/* 8032B668 003285C8 7E 2A 02 14 */ add r17, r10, r0 +/* 8032B66C 003285CC 7E 03 02 14 */ add r16, r3, r0 +/* 8032B670 003285D0 7D EB 02 14 */ add r15, r11, r0 +/* 8032B674 003285D4 38 61 00 60 */ addi r3, r1, 0x60 +/* 8032B678 003285D8 4B FF F5 B1 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B67C 003285DC C0 61 00 60 */ lfs f3, 0x60(r1) +/* 8032B680 003285E0 FC 20 80 90 */ fmr f1, f16 +/* 8032B684 003285E4 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8032B688 003285E8 7F 24 CB 78 */ mr r4, r25 +/* 8032B68C 003285EC C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8032B690 003285F0 7E 45 93 78 */ mr r5, r18 +/* 8032B694 003285F4 D0 61 01 20 */ stfs f3, 0x120(r1) +/* 8032B698 003285F8 7E 26 8B 78 */ mr r6, r17 +/* 8032B69C 003285FC 7E 07 83 78 */ mr r7, r16 +/* 8032B6A0 00328600 D0 41 01 24 */ stfs f2, 0x124(r1) +/* 8032B6A4 00328604 7D E8 7B 78 */ mr r8, r15 +/* 8032B6A8 00328608 38 61 00 54 */ addi r3, r1, 0x54 +/* 8032B6AC 0032860C D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8032B6B0 00328610 4B FF F5 79 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B6B4 00328614 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 8032B6B8 00328618 FC 20 88 90 */ fmr f1, f17 +/* 8032B6BC 0032861C C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8032B6C0 00328620 7F 24 CB 78 */ mr r4, r25 +/* 8032B6C4 00328624 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8032B6C8 00328628 7E 45 93 78 */ mr r5, r18 +/* 8032B6CC 0032862C D0 61 01 14 */ stfs f3, 0x114(r1) +/* 8032B6D0 00328630 7E 26 8B 78 */ mr r6, r17 +/* 8032B6D4 00328634 7E 07 83 78 */ mr r7, r16 +/* 8032B6D8 00328638 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 8032B6DC 0032863C 7D E8 7B 78 */ mr r8, r15 +/* 8032B6E0 00328640 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032B6E4 00328644 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 8032B6E8 00328648 4B FF F5 41 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B6EC 0032864C C0 61 00 48 */ lfs f3, 0x48(r1) +/* 8032B6F0 00328650 FC 20 88 90 */ fmr f1, f17 +/* 8032B6F4 00328654 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 8032B6F8 00328658 7F 24 CB 78 */ mr r4, r25 +/* 8032B6FC 0032865C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8032B700 00328660 7E C5 B3 78 */ mr r5, r22 +/* 8032B704 00328664 D0 61 01 08 */ stfs f3, 0x108(r1) +/* 8032B708 00328668 7E A6 AB 78 */ mr r6, r21 +/* 8032B70C 0032866C 7E 87 A3 78 */ mr r7, r20 +/* 8032B710 00328670 D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 8032B714 00328674 7E 68 9B 78 */ mr r8, r19 +/* 8032B718 00328678 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032B71C 0032867C D0 01 01 10 */ stfs f0, 0x110(r1) +/* 8032B720 00328680 4B FF F5 09 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B724 00328684 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8032B728 00328688 7E E3 BB 78 */ mr r3, r23 +/* 8032B72C 0032868C C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8032B730 00328690 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8032B734 00328694 D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 8032B738 00328698 D0 21 01 00 */ stfs f1, 0x100(r1) +/* 8032B73C 0032869C D0 01 01 04 */ stfs f0, 0x104(r1) +/* 8032B740 003286A0 4B FD FE 2D */ bl StreamColor__9CGraphicsFUi +/* 8032B744 003286A4 C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B748 003286A8 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B74C 003286AC 4B FD FD 19 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B750 003286B0 38 61 01 20 */ addi r3, r1, 0x120 +/* 8032B754 003286B4 4B FD FE 6D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B758 003286B8 C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B75C 003286BC C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B760 003286C0 4B FD FD 05 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B764 003286C4 38 61 01 14 */ addi r3, r1, 0x114 +/* 8032B768 003286C8 4B FD FE 59 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B76C 003286CC C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B770 003286D0 C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B774 003286D4 4B FD FC F1 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B778 003286D8 38 61 01 08 */ addi r3, r1, 0x108 +/* 8032B77C 003286DC 4B FD FE 45 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B780 003286E0 C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B784 003286E4 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B788 003286E8 4B FD FC DD */ bl StreamTexcoord__9CGraphicsFff +/* 8032B78C 003286EC 38 61 00 FC */ addi r3, r1, 0xfc +/* 8032B790 003286F0 4B FD FE 31 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B794 003286F4 48 00 01 F0 */ b lbl_8032B984 +lbl_8032B798: +/* 8032B798 003286F8 80 19 01 78 */ lwz r0, 0x178(r25) +/* 8032B79C 003286FC 1C 6F 00 0C */ mulli r3, r15, 0xc +/* 8032B7A0 00328700 81 39 01 88 */ lwz r9, 0x188(r25) +/* 8032B7A4 00328704 FC 20 80 90 */ fmr f1, f16 +/* 8032B7A8 00328708 81 59 01 98 */ lwz r10, 0x198(r25) +/* 8032B7AC 0032870C 7D E0 FA 14 */ add r15, r0, r31 +/* 8032B7B0 00328710 81 79 01 A8 */ lwz r11, 0x1a8(r25) +/* 8032B7B4 00328714 7E 09 FA 14 */ add r16, r9, r31 +/* 8032B7B8 00328718 7E 2A FA 14 */ add r17, r10, r31 +/* 8032B7BC 0032871C 7E 4B FA 14 */ add r18, r11, r31 +/* 8032B7C0 00328720 7F 24 CB 78 */ mr r4, r25 +/* 8032B7C4 00328724 7D E5 7B 78 */ mr r5, r15 +/* 8032B7C8 00328728 7E 06 83 78 */ mr r6, r16 +/* 8032B7CC 0032872C 7E 27 8B 78 */ mr r7, r17 +/* 8032B7D0 00328730 7E 48 93 78 */ mr r8, r18 +/* 8032B7D4 00328734 7E 60 1A 14 */ add r19, r0, r3 +/* 8032B7D8 00328738 7E 89 1A 14 */ add r20, r9, r3 +/* 8032B7DC 0032873C 7E AA 1A 14 */ add r21, r10, r3 +/* 8032B7E0 00328740 7E CB 1A 14 */ add r22, r11, r3 +/* 8032B7E4 00328744 38 61 00 30 */ addi r3, r1, 0x30 +/* 8032B7E8 00328748 4B FF F4 41 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B7EC 0032874C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 8032B7F0 00328750 FC 20 80 90 */ fmr f1, f16 +/* 8032B7F4 00328754 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 8032B7F8 00328758 7F 24 CB 78 */ mr r4, r25 +/* 8032B7FC 0032875C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8032B800 00328760 7E 65 9B 78 */ mr r5, r19 +/* 8032B804 00328764 D0 61 00 F0 */ stfs f3, 0xf0(r1) +/* 8032B808 00328768 7E 86 A3 78 */ mr r6, r20 +/* 8032B80C 0032876C 7E A7 AB 78 */ mr r7, r21 +/* 8032B810 00328770 D0 41 00 F4 */ stfs f2, 0xf4(r1) +/* 8032B814 00328774 7E C8 B3 78 */ mr r8, r22 +/* 8032B818 00328778 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032B81C 0032877C D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 8032B820 00328780 4B FF F4 09 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B824 00328784 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8032B828 00328788 FC 20 88 90 */ fmr f1, f17 +/* 8032B82C 0032878C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8032B830 00328790 7F 24 CB 78 */ mr r4, r25 +/* 8032B834 00328794 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8032B838 00328798 7E 65 9B 78 */ mr r5, r19 +/* 8032B83C 0032879C D0 61 00 E4 */ stfs f3, 0xe4(r1) +/* 8032B840 003287A0 7E 86 A3 78 */ mr r6, r20 +/* 8032B844 003287A4 7E A7 AB 78 */ mr r7, r21 +/* 8032B848 003287A8 D0 41 00 E8 */ stfs f2, 0xe8(r1) +/* 8032B84C 003287AC 7E C8 B3 78 */ mr r8, r22 +/* 8032B850 003287B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032B854 003287B4 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 8032B858 003287B8 4B FF F3 D1 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B85C 003287BC C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8032B860 003287C0 FC 20 88 90 */ fmr f1, f17 +/* 8032B864 003287C4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8032B868 003287C8 7F 24 CB 78 */ mr r4, r25 +/* 8032B86C 003287CC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032B870 003287D0 7D E5 7B 78 */ mr r5, r15 +/* 8032B874 003287D4 D0 61 00 D8 */ stfs f3, 0xd8(r1) +/* 8032B878 003287D8 7E 06 83 78 */ mr r6, r16 +/* 8032B87C 003287DC 7E 27 8B 78 */ mr r7, r17 +/* 8032B880 003287E0 D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 8032B884 003287E4 7E 48 93 78 */ mr r8, r18 +/* 8032B888 003287E8 38 61 00 0C */ addi r3, r1, 0xc +/* 8032B88C 003287EC D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 8032B890 003287F0 4B FF F3 99 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B894 003287F4 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8032B898 003287F8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8032B89C 003287FC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8032B8A0 00328800 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8032B8A4 00328804 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8032B8A8 00328808 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8032B8AC 0032880C 80 19 01 BC */ lwz r0, 0x1bc(r25) +/* 8032B8B0 00328810 2C 00 00 A8 */ cmpwi r0, 0xa8 +/* 8032B8B4 00328814 40 82 00 68 */ bne lbl_8032B91C +/* 8032B8B8 00328818 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B8BC 0032881C 4B FD FD 05 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8C0 00328820 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8032B8C4 00328824 4B FD FC FD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8C8 00328828 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8032B8CC 0032882C 4B FD FC F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8D0 00328830 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8D4 00328834 4B FD FC ED */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8D8 00328838 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8DC 0032883C 4B FD FC E5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8E0 00328840 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B8E4 00328844 4B FD FC DD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8E8 00328848 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B8EC 0032884C 4B FD FC D5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8F0 00328850 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8F4 00328854 4B FD FC CD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8F8 00328858 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8FC 0032885C 4B FD FC C5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B900 00328860 38 61 00 CC */ addi r3, r1, 0xcc +/* 8032B904 00328864 4B FD FC BD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B908 00328868 38 61 00 CC */ addi r3, r1, 0xcc +/* 8032B90C 0032886C 4B FD FC B5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B910 00328870 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B914 00328874 4B FD FC AD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B918 00328878 48 00 00 6C */ b lbl_8032B984 +lbl_8032B91C: +/* 8032B91C 0032887C 2C 00 00 80 */ cmpwi r0, 0x80 +/* 8032B920 00328880 40 82 00 64 */ bne lbl_8032B984 +/* 8032B924 00328884 7E E3 BB 78 */ mr r3, r23 +/* 8032B928 00328888 4B FD FC 45 */ bl StreamColor__9CGraphicsFUi +/* 8032B92C 0032888C C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B930 00328890 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B934 00328894 4B FD FB 31 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B938 00328898 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B93C 0032889C 4B FD FC 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B940 003288A0 C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B944 003288A4 C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B948 003288A8 4B FD FB 1D */ bl StreamTexcoord__9CGraphicsFff +/* 8032B94C 003288AC 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8032B950 003288B0 4B FD FC 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B954 003288B4 7E E3 BB 78 */ mr r3, r23 +/* 8032B958 003288B8 4B FD FC 15 */ bl StreamColor__9CGraphicsFUi +/* 8032B95C 003288BC C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B960 003288C0 C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B964 003288C4 4B FD FB 01 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B968 003288C8 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B96C 003288CC 4B FD FC 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B970 003288D0 C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B974 003288D4 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B978 003288D8 4B FD FA ED */ bl StreamTexcoord__9CGraphicsFff +/* 8032B97C 003288DC 38 61 00 CC */ addi r3, r1, 0xcc +/* 8032B980 003288E0 4B FD FC 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032B984: +/* 8032B984 003288E4 3B FF 00 0C */ addi r31, r31, 0xc +/* 8032B988 003288E8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8032B98C: +/* 8032B98C 003288EC 7C 1E D0 00 */ cmpw r30, r26 +/* 8032B990 003288F0 41 80 FC 54 */ blt lbl_8032B5E4 +/* 8032B994 003288F4 80 79 00 24 */ lwz r3, 0x24(r25) +/* 8032B998 003288F8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8032B99C 003288FC 28 00 00 00 */ cmplwi r0, 0 +/* 8032B9A0 00328900 41 82 00 1C */ beq lbl_8032B9BC +/* 8032B9A4 00328904 80 19 01 B0 */ lwz r0, 0x1b0(r25) +/* 8032B9A8 00328908 2C 00 00 00 */ cmpwi r0, 0 +/* 8032B9AC 0032890C 40 81 00 10 */ ble lbl_8032B9BC +/* 8032B9B0 00328910 C0 19 01 D4 */ lfs f0, 0x1d4(r25) +/* 8032B9B4 00328914 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B9B8 00328918 D0 19 01 D4 */ stfs f0, 0x1d4(r25) +lbl_8032B9BC: +/* 8032B9BC 0032891C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8032B9C0: +/* 8032B9C0 00328920 80 79 01 B0 */ lwz r3, 0x1b0(r25) +/* 8032B9C4 00328924 38 63 00 01 */ addi r3, r3, 1 +/* 8032B9C8 00328928 7C 1D 18 00 */ cmpw r29, r3 +/* 8032B9CC 0032892C 41 80 FB 78 */ blt lbl_8032B544 +/* 8032B9D0 00328930 37 9C FF FF */ addic. r28, r28, -1 +/* 8032B9D4 00328934 40 80 00 0C */ bge lbl_8032B9E0 +/* 8032B9D8 00328938 80 79 01 60 */ lwz r3, 0x160(r25) +/* 8032B9DC 0032893C 3B 83 FF FF */ addi r28, r3, -1 +lbl_8032B9E0: +/* 8032B9E0 00328940 80 61 01 54 */ lwz r3, 0x154(r1) +/* 8032B9E4 00328944 38 63 00 01 */ addi r3, r3, 1 +/* 8032B9E8 00328948 90 61 01 54 */ stw r3, 0x154(r1) +lbl_8032B9EC: +/* 8032B9EC 0032894C 80 79 01 60 */ lwz r3, 0x160(r25) +/* 8032B9F0 00328950 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B9F4 00328954 38 63 FF FF */ addi r3, r3, -1 +/* 8032B9F8 00328958 7C 00 18 00 */ cmpw r0, r3 +/* 8032B9FC 0032895C 41 80 F5 B0 */ blt lbl_8032AFAC +/* 8032BA00 00328960 4B FD FA 11 */ bl StreamEnd__9CGraphicsFv +/* 8032BA04 00328964 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 +/* 8032BA08 00328968 CB E1 02 A0 */ lfd f31, 0x2a0(r1) +/* 8032BA0C 0032896C E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 +/* 8032BA10 00328970 CB C1 02 90 */ lfd f30, 0x290(r1) +/* 8032BA14 00328974 E3 A1 02 88 */ psq_l f29, 648(r1), 0, qr0 +/* 8032BA18 00328978 CB A1 02 80 */ lfd f29, 0x280(r1) +/* 8032BA1C 0032897C E3 81 02 78 */ psq_l f28, 632(r1), 0, qr0 +/* 8032BA20 00328980 CB 81 02 70 */ lfd f28, 0x270(r1) +/* 8032BA24 00328984 E3 61 02 68 */ psq_l f27, 616(r1), 0, qr0 +/* 8032BA28 00328988 CB 61 02 60 */ lfd f27, 0x260(r1) +/* 8032BA2C 0032898C E3 41 02 58 */ psq_l f26, 600(r1), 0, qr0 +/* 8032BA30 00328990 CB 41 02 50 */ lfd f26, 0x250(r1) +/* 8032BA34 00328994 E3 21 02 48 */ psq_l f25, 584(r1), 0, qr0 +/* 8032BA38 00328998 CB 21 02 40 */ lfd f25, 0x240(r1) +/* 8032BA3C 0032899C E3 01 02 38 */ psq_l f24, 568(r1), 0, qr0 +/* 8032BA40 003289A0 CB 01 02 30 */ lfd f24, 0x230(r1) +/* 8032BA44 003289A4 E2 E1 02 28 */ psq_l f23, 552(r1), 0, qr0 +/* 8032BA48 003289A8 CA E1 02 20 */ lfd f23, 0x220(r1) +/* 8032BA4C 003289AC E2 C1 02 18 */ psq_l f22, 536(r1), 0, qr0 +/* 8032BA50 003289B0 CA C1 02 10 */ lfd f22, 0x210(r1) +/* 8032BA54 003289B4 E2 A1 02 08 */ psq_l f21, 520(r1), 0, qr0 +/* 8032BA58 003289B8 CA A1 02 00 */ lfd f21, 0x200(r1) +/* 8032BA5C 003289BC E2 81 01 F8 */ psq_l f20, 504(r1), 0, qr0 +/* 8032BA60 003289C0 CA 81 01 F0 */ lfd f20, 0x1f0(r1) +/* 8032BA64 003289C4 E2 61 01 E8 */ psq_l f19, 488(r1), 0, qr0 +/* 8032BA68 003289C8 CA 61 01 E0 */ lfd f19, 0x1e0(r1) +/* 8032BA6C 003289CC E2 41 01 D8 */ psq_l f18, 472(r1), 0, qr0 +/* 8032BA70 003289D0 CA 41 01 D0 */ lfd f18, 0x1d0(r1) +/* 8032BA74 003289D4 E2 21 01 C8 */ psq_l f17, 456(r1), 0, qr0 +/* 8032BA78 003289D8 CA 21 01 C0 */ lfd f17, 0x1c0(r1) +/* 8032BA7C 003289DC E2 01 01 B8 */ psq_l f16, 440(r1), 0, qr0 +/* 8032BA80 003289E0 CA 01 01 B0 */ lfd f16, 0x1b0(r1) +/* 8032BA84 003289E4 E1 E1 01 A8 */ psq_l f15, 424(r1), 0, qr0 +/* 8032BA88 003289E8 C9 E1 01 A0 */ lfd f15, 0x1a0(r1) +/* 8032BA8C 003289EC B9 C1 01 58 */ lmw r14, 0x158(r1) +/* 8032BA90 003289F0 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 8032BA94 003289F4 7C 08 03 A6 */ mtlr r0 +/* 8032BA98 003289F8 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 8032BA9C 003289FC 4E 80 00 20 */ blr + +.global RenderNSidedNoSpline__15CParticleSwooshFv +RenderNSidedNoSpline__15CParticleSwooshFv: +/* 8032BAA0 00328A00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032BAA4 00328A04 7C 08 02 A6 */ mflr r0 +/* 8032BAA8 00328A08 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032BAAC 00328A0C 4B FF F3 F1 */ bl RenderNSidedSpline__15CParticleSwooshFv +/* 8032BAB0 00328A10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032BAB4 00328A14 7C 08 03 A6 */ mtlr r0 +/* 8032BAB8 00328A18 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032BABC 00328A1C 4E 80 00 20 */ blr + +.global Render3SidedSolidSpline__15CParticleSwooshFv +Render3SidedSolidSpline__15CParticleSwooshFv: +/* 8032BAC0 00328A20 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 8032BAC4 00328A24 7C 08 02 A6 */ mflr r0 +/* 8032BAC8 00328A28 90 01 02 84 */ stw r0, 0x284(r1) +/* 8032BACC 00328A2C DB E1 02 70 */ stfd f31, 0x270(r1) +/* 8032BAD0 00328A30 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 +/* 8032BAD4 00328A34 DB C1 02 60 */ stfd f30, 0x260(r1) +/* 8032BAD8 00328A38 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 +/* 8032BADC 00328A3C DB A1 02 50 */ stfd f29, 0x250(r1) +/* 8032BAE0 00328A40 F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 +/* 8032BAE4 00328A44 DB 81 02 40 */ stfd f28, 0x240(r1) +/* 8032BAE8 00328A48 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 +/* 8032BAEC 00328A4C DB 61 02 30 */ stfd f27, 0x230(r1) +/* 8032BAF0 00328A50 F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 +/* 8032BAF4 00328A54 DB 41 02 20 */ stfd f26, 0x220(r1) +/* 8032BAF8 00328A58 F3 41 02 28 */ psq_st f26, 552(r1), 0, qr0 +/* 8032BAFC 00328A5C DB 21 02 10 */ stfd f25, 0x210(r1) +/* 8032BB00 00328A60 F3 21 02 18 */ psq_st f25, 536(r1), 0, qr0 +/* 8032BB04 00328A64 DB 01 02 00 */ stfd f24, 0x200(r1) +/* 8032BB08 00328A68 F3 01 02 08 */ psq_st f24, 520(r1), 0, qr0 +/* 8032BB0C 00328A6C DA E1 01 F0 */ stfd f23, 0x1f0(r1) +/* 8032BB10 00328A70 F2 E1 01 F8 */ psq_st f23, 504(r1), 0, qr0 +/* 8032BB14 00328A74 DA C1 01 E0 */ stfd f22, 0x1e0(r1) +/* 8032BB18 00328A78 F2 C1 01 E8 */ psq_st f22, 488(r1), 0, qr0 +/* 8032BB1C 00328A7C DA A1 01 D0 */ stfd f21, 0x1d0(r1) +/* 8032BB20 00328A80 F2 A1 01 D8 */ psq_st f21, 472(r1), 0, qr0 +/* 8032BB24 00328A84 DA 81 01 C0 */ stfd f20, 0x1c0(r1) +/* 8032BB28 00328A88 F2 81 01 C8 */ psq_st f20, 456(r1), 0, qr0 +/* 8032BB2C 00328A8C DA 61 01 B0 */ stfd f19, 0x1b0(r1) +/* 8032BB30 00328A90 F2 61 01 B8 */ psq_st f19, 440(r1), 0, qr0 +/* 8032BB34 00328A94 DA 41 01 A0 */ stfd f18, 0x1a0(r1) +/* 8032BB38 00328A98 F2 41 01 A8 */ psq_st f18, 424(r1), 0, qr0 +/* 8032BB3C 00328A9C DA 21 01 90 */ stfd f17, 0x190(r1) +/* 8032BB40 00328AA0 F2 21 01 98 */ psq_st f17, 408(r1), 0, qr0 +/* 8032BB44 00328AA4 DA 01 01 80 */ stfd f16, 0x180(r1) +/* 8032BB48 00328AA8 F2 01 01 88 */ psq_st f16, 392(r1), 0, qr0 +/* 8032BB4C 00328AAC D9 E1 01 70 */ stfd f15, 0x170(r1) +/* 8032BB50 00328AB0 F1 E1 01 78 */ psq_st f15, 376(r1), 0, qr0 +/* 8032BB54 00328AB4 D9 C1 01 60 */ stfd f14, 0x160(r1) +/* 8032BB58 00328AB8 F1 C1 01 68 */ psq_st f14, 360(r1), 0, qr0 +/* 8032BB5C 00328ABC BE 81 01 30 */ stmw r20, 0x130(r1) +/* 8032BB60 00328AC0 7C 75 1B 78 */ mr r21, r3 +/* 8032BB64 00328AC4 80 03 01 60 */ lwz r0, 0x160(r3) +/* 8032BB68 00328AC8 2C 00 00 02 */ cmpwi r0, 2 +/* 8032BB6C 00328ACC 41 80 0A 88 */ blt lbl_8032C5F4 +/* 8032BB70 00328AD0 3C 60 80 3D */ lis r3, lbl_803D7948@ha +/* 8032BB74 00328AD4 38 63 79 48 */ addi r3, r3, lbl_803D7948@l +/* 8032BB78 00328AD8 4B FD C2 B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8032BB7C 00328ADC 38 60 00 01 */ li r3, 1 +/* 8032BB80 00328AE0 4B FD D2 D1 */ bl SetNumChans__3CGXFUc +/* 8032BB84 00328AE4 38 60 00 01 */ li r3, 1 +/* 8032BB88 00328AE8 4B FD D2 8D */ bl SetNumTexGens__3CGXFUc +/* 8032BB8C 00328AEC 38 60 00 00 */ li r3, 0 +/* 8032BB90 00328AF0 38 80 00 00 */ li r4, 0 +/* 8032BB94 00328AF4 38 A0 00 00 */ li r5, 0 +/* 8032BB98 00328AF8 38 C0 00 04 */ li r6, 4 +/* 8032BB9C 00328AFC 4B FD CD B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8032BBA0 00328B00 38 60 00 00 */ li r3, 0 +/* 8032BBA4 00328B04 38 80 00 00 */ li r4, 0 +/* 8032BBA8 00328B08 38 A0 00 00 */ li r5, 0 +/* 8032BBAC 00328B0C 38 C0 00 01 */ li r6, 1 +/* 8032BBB0 00328B10 38 E0 00 00 */ li r7, 0 +/* 8032BBB4 00328B14 39 00 00 00 */ li r8, 0 +/* 8032BBB8 00328B18 39 20 00 02 */ li r9, 2 +/* 8032BBBC 00328B1C 4B FD D1 11 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8032BBC0 00328B20 38 60 00 00 */ li r3, 0 +/* 8032BBC4 00328B24 38 80 00 01 */ li r4, 1 +/* 8032BBC8 00328B28 38 A0 00 04 */ li r5, 4 +/* 8032BBCC 00328B2C 38 C0 00 3C */ li r6, 0x3c +/* 8032BBD0 00328B30 38 E0 00 00 */ li r7, 0 +/* 8032BBD4 00328B34 39 00 00 7D */ li r8, 0x7d +/* 8032BBD8 00328B38 4B FD CA F5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8032BBDC 00328B3C C0 15 01 E8 */ lfs f0, 0x1e8(r21) +/* 8032BBE0 00328B40 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032BBE4 00328B44 83 55 01 58 */ lwz r26, 0x158(r21) +/* 8032BBE8 00328B48 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032BBEC 00328B4C FC 00 00 50 */ fneg f0, f0 +/* 8032BBF0 00328B50 3B 80 00 00 */ li r28, 0 +/* 8032BBF4 00328B54 3B 60 00 00 */ li r27, 0 +/* 8032BBF8 00328B58 3B 20 00 00 */ li r25, 0 +/* 8032BBFC 00328B5C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8032BC00 00328B60 C0 02 CA D0 */ lfs f0, lbl_805AE7F0@sda21(r2) +/* 8032BC04 00328B64 D8 01 00 C8 */ stfd f0, 0xc8(r1) +/* 8032BC08 00328B68 C0 02 CA D4 */ lfs f0, lbl_805AE7F4@sda21(r2) +/* 8032BC0C 00328B6C D8 01 00 D0 */ stfd f0, 0xd0(r1) +/* 8032BC10 00328B70 C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032BC14 00328B74 D8 01 00 D8 */ stfd f0, 0xd8(r1) +/* 8032BC18 00328B78 C0 02 CA AC */ lfs f0, lbl_805AE7CC@sda21(r2) +/* 8032BC1C 00328B7C D8 01 00 E0 */ stfd f0, 0xe0(r1) +/* 8032BC20 00328B80 C0 02 CA B0 */ lfs f0, lbl_805AE7D0@sda21(r2) +/* 8032BC24 00328B84 D8 01 00 E8 */ stfd f0, 0xe8(r1) +/* 8032BC28 00328B88 C0 02 CA B4 */ lfs f0, lbl_805AE7D4@sda21(r2) +/* 8032BC2C 00328B8C D8 01 00 F0 */ stfd f0, 0xf0(r1) +/* 8032BC30 00328B90 C0 02 CA B8 */ lfs f0, lbl_805AE7D8@sda21(r2) +/* 8032BC34 00328B94 D8 01 00 F8 */ stfd f0, 0xf8(r1) +/* 8032BC38 00328B98 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032BC3C 00328B9C D8 01 01 00 */ stfd f0, 0x100(r1) +/* 8032BC40 00328BA0 C0 02 CA C0 */ lfs f0, lbl_805AE7E0@sda21(r2) +/* 8032BC44 00328BA4 D8 01 01 08 */ stfd f0, 0x108(r1) +/* 8032BC48 00328BA8 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032BC4C 00328BAC D8 01 01 10 */ stfd f0, 0x110(r1) +/* 8032BC50 00328BB0 C0 02 CA C8 */ lfs f0, lbl_805AE7E8@sda21(r2) +/* 8032BC54 00328BB4 D8 01 01 18 */ stfd f0, 0x118(r1) +/* 8032BC58 00328BB8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032BC5C 00328BBC D8 01 01 20 */ stfd f0, 0x120(r1) +/* 8032BC60 00328BC0 C0 02 CA F8 */ lfs f0, lbl_805AE818@sda21(r2) +/* 8032BC64 00328BC4 D8 01 01 28 */ stfd f0, 0x128(r1) +/* 8032BC68 00328BC8 48 00 09 80 */ b lbl_8032C5E8 +lbl_8032BC6C: +/* 8032BC6C 00328BCC 57 40 38 30 */ slwi r0, r26, 7 +/* 8032BC70 00328BD0 80 75 01 68 */ lwz r3, 0x168(r21) +/* 8032BC74 00328BD4 37 5A FF FF */ addic. r26, r26, -1 +/* 8032BC78 00328BD8 7F A3 02 14 */ add r29, r3, r0 +/* 8032BC7C 00328BDC 40 80 00 08 */ bge lbl_8032BC84 +/* 8032BC80 00328BE0 3B 44 FF FF */ addi r26, r4, -1 +lbl_8032BC84: +/* 8032BC84 00328BE4 C0 3D 00 30 */ lfs f1, 0x30(r29) +/* 8032BC88 00328BE8 C0 1D 00 34 */ lfs f0, 0x34(r29) +/* 8032BC8C 00328BEC EC 21 00 2A */ fadds f1, f1, f0 +/* 8032BC90 00328BF0 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 8032BC94 00328BF4 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8032BC98 00328BF8 C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 8032BC9C 00328BFC EC 61 00 24 */ fdivs f3, f1, f0 +/* 8032BCA0 00328C00 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 8032BCA4 00328C04 FC 20 1A 10 */ fabs f1, f3 +/* 8032BCA8 00328C08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032BCAC 00328C0C 40 81 00 64 */ ble lbl_8032BD10 +/* 8032BCB0 00328C10 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032BCB4 00328C14 3C 00 43 30 */ lis r0, 0x4330 +/* 8032BCB8 00328C18 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8032BCBC 00328C1C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8032BCC0 00328C20 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032BCC4 00328C24 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032BCC8 00328C28 FC 00 00 1E */ fctiwz f0, f0 +/* 8032BCCC 00328C2C D8 01 00 A0 */ stfd f0, 0xa0(r1) +/* 8032BCD0 00328C30 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8032BCD4 00328C34 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032BCD8 00328C38 90 01 00 AC */ stw r0, 0xac(r1) +/* 8032BCDC 00328C3C C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8032BCE0 00328C40 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032BCE4 00328C44 EC 80 18 7C */ fnmsubs f4, f0, f1, f3 +/* 8032BCE8 00328C48 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 8032BCEC 00328C4C FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032BCF0 00328C50 40 81 00 0C */ ble lbl_8032BCFC +/* 8032BCF4 00328C54 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8032BCF8 00328C58 48 00 00 1C */ b lbl_8032BD14 +lbl_8032BCFC: +/* 8032BCFC 00328C5C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032BD00 00328C60 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032BD04 00328C64 40 80 00 10 */ bge lbl_8032BD14 +/* 8032BD08 00328C68 EC 81 20 2A */ fadds f4, f1, f4 +/* 8032BD0C 00328C6C 48 00 00 08 */ b lbl_8032BD14 +lbl_8032BD10: +/* 8032BD10 00328C70 FC 80 18 90 */ fmr f4, f3 +lbl_8032BD14: +/* 8032BD14 00328C74 C8 41 01 00 */ lfd f2, 0x100(r1) +/* 8032BD18 00328C78 EC E4 01 32 */ fmuls f7, f4, f4 +/* 8032BD1C 00328C7C C8 01 01 28 */ lfd f0, 0x128(r1) +/* 8032BD20 00328C80 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 8032BD24 00328C84 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032BD28 00328C88 C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 8032BD2C 00328C8C EC C4 01 F2 */ fmuls f6, f4, f7 +/* 8032BD30 00328C90 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8032BD34 00328C94 EC 04 00 2A */ fadds f0, f4, f0 +/* 8032BD38 00328C98 EC 67 18 BA */ fmadds f3, f7, f2, f3 +/* 8032BD3C 00328C9C C8 41 01 20 */ lfd f2, 0x120(r1) +/* 8032BD40 00328CA0 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032BD44 00328CA4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8032BD48 00328CA8 C8 41 01 08 */ lfd f2, 0x108(r1) +/* 8032BD4C 00328CAC EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BD50 00328CB0 C8 41 00 E8 */ lfd f2, 0xe8(r1) +/* 8032BD54 00328CB4 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BD58 00328CB8 EC 64 18 BA */ fmadds f3, f4, f2, f3 +/* 8032BD5C 00328CBC C8 41 01 10 */ lfd f2, 0x110(r1) +/* 8032BD60 00328CC0 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032BD64 00328CC4 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BD68 00328CC8 C8 41 00 F0 */ lfd f2, 0xf0(r1) +/* 8032BD6C 00328CCC EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BD70 00328CD0 EC 64 18 BA */ fmadds f3, f4, f2, f3 +/* 8032BD74 00328CD4 C8 41 01 18 */ lfd f2, 0x118(r1) +/* 8032BD78 00328CD8 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032BD7C 00328CDC EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BD80 00328CE0 C8 41 00 C8 */ lfd f2, 0xc8(r1) +/* 8032BD84 00328CE4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8032BD88 00328CE8 C8 41 00 F8 */ lfd f2, 0xf8(r1) +/* 8032BD8C 00328CEC EC 64 18 BA */ fmadds f3, f4, f2, f3 +/* 8032BD90 00328CF0 EC 41 01 72 */ fmuls f2, f1, f5 +/* 8032BD94 00328CF4 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8032BD98 00328CF8 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8032BD9C 00328CFC D0 61 00 90 */ stfs f3, 0x90(r1) +/* 8032BDA0 00328D00 40 81 00 0C */ ble lbl_8032BDAC +/* 8032BDA4 00328D04 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032BDA8 00328D08 EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032BDAC: +/* 8032BDAC 00328D0C C8 41 01 00 */ lfd f2, 0x100(r1) +/* 8032BDB0 00328D10 EC E0 00 32 */ fmuls f7, f0, f0 +/* 8032BDB4 00328D14 C0 82 CA A8 */ lfs f4, lbl_805AE7C8@sda21(r2) +/* 8032BDB8 00328D18 EC A0 00 B2 */ fmuls f5, f0, f2 +/* 8032BDBC 00328D1C C8 41 01 20 */ lfd f2, 0x120(r1) +/* 8032BDC0 00328D20 EC C0 01 F2 */ fmuls f6, f0, f7 +/* 8032BDC4 00328D24 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8032BDC8 00328D28 EC 67 01 F2 */ fmuls f3, f7, f7 +/* 8032BDCC 00328D2C C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 8032BDD0 00328D30 EC 87 20 BA */ fmadds f4, f7, f2, f4 +/* 8032BDD4 00328D34 C8 41 01 08 */ lfd f2, 0x108(r1) +/* 8032BDD8 00328D38 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BDDC 00328D3C C8 41 00 E8 */ lfd f2, 0xe8(r1) +/* 8032BDE0 00328D40 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BDE4 00328D44 EC 83 20 BA */ fmadds f4, f3, f2, f4 +/* 8032BDE8 00328D48 C8 41 01 10 */ lfd f2, 0x110(r1) +/* 8032BDEC 00328D4C EC 63 01 F2 */ fmuls f3, f3, f7 +/* 8032BDF0 00328D50 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BDF4 00328D54 C8 41 00 F0 */ lfd f2, 0xf0(r1) +/* 8032BDF8 00328D58 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BDFC 00328D5C EC 83 20 BA */ fmadds f4, f3, f2, f4 +/* 8032BE00 00328D60 C8 41 01 18 */ lfd f2, 0x118(r1) +/* 8032BE04 00328D64 EC 63 01 F2 */ fmuls f3, f3, f7 +/* 8032BE08 00328D68 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BE0C 00328D6C C8 41 01 28 */ lfd f2, 0x128(r1) +/* 8032BE10 00328D70 EC 00 10 2A */ fadds f0, f0, f2 +/* 8032BE14 00328D74 C8 41 00 F8 */ lfd f2, 0xf8(r1) +/* 8032BE18 00328D78 EC 83 20 BA */ fmadds f4, f3, f2, f4 +/* 8032BE1C 00328D7C C8 41 00 C8 */ lfd f2, 0xc8(r1) +/* 8032BE20 00328D80 EC 61 01 72 */ fmuls f3, f1, f5 +/* 8032BE24 00328D84 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8032BE28 00328D88 EC 41 01 32 */ fmuls f2, f1, f4 +/* 8032BE2C 00328D8C D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 8032BE30 00328D90 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8032BE34 00328D94 40 81 00 0C */ ble lbl_8032BE40 +/* 8032BE38 00328D98 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032BE3C 00328D9C EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032BE40: +/* 8032BE40 00328DA0 EC C0 00 32 */ fmuls f6, f0, f0 +/* 8032BE44 00328DA4 C8 41 01 00 */ lfd f2, 0x100(r1) +/* 8032BE48 00328DA8 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032BE4C 00328DAC 2C 19 00 02 */ cmpwi r25, 2 +/* 8032BE50 00328DB0 EC 80 00 B2 */ fmuls f4, f0, f2 +/* 8032BE54 00328DB4 C8 41 01 20 */ lfd f2, 0x120(r1) +/* 8032BE58 00328DB8 EC A0 01 B2 */ fmuls f5, f0, f6 +/* 8032BE5C 00328DBC C8 01 00 E0 */ lfd f0, 0xe0(r1) +/* 8032BE60 00328DC0 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8032BE64 00328DC4 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 8032BE68 00328DC8 EC 66 18 3A */ fmadds f3, f6, f0, f3 +/* 8032BE6C 00328DCC C8 01 01 08 */ lfd f0, 0x108(r1) +/* 8032BE70 00328DD0 EC 85 20 3A */ fmadds f4, f5, f0, f4 +/* 8032BE74 00328DD4 C8 01 00 E8 */ lfd f0, 0xe8(r1) +/* 8032BE78 00328DD8 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032BE7C 00328DDC EC 62 18 3A */ fmadds f3, f2, f0, f3 +/* 8032BE80 00328DE0 C8 01 01 10 */ lfd f0, 0x110(r1) +/* 8032BE84 00328DE4 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032BE88 00328DE8 EC 85 20 3A */ fmadds f4, f5, f0, f4 +/* 8032BE8C 00328DEC C8 01 00 F0 */ lfd f0, 0xf0(r1) +/* 8032BE90 00328DF0 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032BE94 00328DF4 EC 62 18 3A */ fmadds f3, f2, f0, f3 +/* 8032BE98 00328DF8 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 8032BE9C 00328DFC EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032BEA0 00328E00 EC 85 20 3A */ fmadds f4, f5, f0, f4 +/* 8032BEA4 00328E04 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 8032BEA8 00328E08 EC 62 18 3A */ fmadds f3, f2, f0, f3 +/* 8032BEAC 00328E0C EC 01 01 32 */ fmuls f0, f1, f4 +/* 8032BEB0 00328E10 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 8032BEB4 00328E14 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8032BEB8 00328E18 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 8032BEBC 00328E1C C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032BEC0 00328E20 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 8032BEC4 00328E24 C0 7D 00 10 */ lfs f3, 0x10(r29) +/* 8032BEC8 00328E28 EF A1 00 2A */ fadds f29, f1, f0 +/* 8032BECC 00328E2C C0 5D 00 28 */ lfs f2, 0x28(r29) +/* 8032BED0 00328E30 C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 8032BED4 00328E34 C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 8032BED8 00328E38 EF E3 10 2A */ fadds f31, f3, f2 +/* 8032BEDC 00328E3C EF C1 00 2A */ fadds f30, f1, f0 +/* 8032BEE0 00328E40 40 82 00 E4 */ bne lbl_8032BFC4 +/* 8032BEE4 00328E44 80 95 01 88 */ lwz r4, 0x188(r21) +/* 8032BEE8 00328E48 80 75 01 78 */ lwz r3, 0x178(r21) +/* 8032BEEC 00328E4C C0 C2 CA A0 */ lfs f6, lbl_805AE7C0@sda21(r2) +/* 8032BEF0 00328E50 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032BEF4 00328E54 C0 64 00 04 */ lfs f3, 4(r4) +/* 8032BEF8 00328E58 EC 26 00 32 */ fmuls f1, f6, f0 +/* 8032BEFC 00328E5C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032BF00 00328E60 C0 44 00 08 */ lfs f2, 8(r4) +/* 8032BF04 00328E64 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 8032BF08 00328E68 C0 63 00 04 */ lfs f3, 4(r3) +/* 8032BF0C 00328E6C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032BF10 00328E70 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 8032BF14 00328E74 C0 23 00 08 */ lfs f1, 8(r3) +/* 8032BF18 00328E78 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BF1C 00328E7C EC 64 18 28 */ fsubs f3, f4, f3 +/* 8032BF20 00328E80 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032BF24 00328E84 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8032BF28 00328E88 D0 63 00 04 */ stfs f3, 4(r3) +/* 8032BF2C 00328E8C D0 03 00 08 */ stfs f0, 8(r3) +/* 8032BF30 00328E90 80 75 01 88 */ lwz r3, 0x188(r21) +/* 8032BF34 00328E94 80 95 01 78 */ lwz r4, 0x178(r21) +/* 8032BF38 00328E98 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8032BF3C 00328E9C C0 63 00 10 */ lfs f3, 0x10(r3) +/* 8032BF40 00328EA0 C0 43 00 14 */ lfs f2, 0x14(r3) +/* 8032BF44 00328EA4 EC 26 00 32 */ fmuls f1, f6, f0 +/* 8032BF48 00328EA8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8032BF4C 00328EAC EC A6 00 F2 */ fmuls f5, f6, f3 +/* 8032BF50 00328EB0 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 8032BF54 00328EB4 EC 66 00 B2 */ fmuls f3, f6, f2 +/* 8032BF58 00328EB8 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8032BF5C 00328EBC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032BF60 00328EC0 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BF64 00328EC4 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8032BF68 00328EC8 EC 23 10 28 */ fsubs f1, f3, f2 +/* 8032BF6C 00328ECC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8032BF70 00328ED0 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8032BF74 00328ED4 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8032BF78 00328ED8 80 75 01 88 */ lwz r3, 0x188(r21) +/* 8032BF7C 00328EDC 80 95 01 78 */ lwz r4, 0x178(r21) +/* 8032BF80 00328EE0 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8032BF84 00328EE4 C0 63 00 1C */ lfs f3, 0x1c(r3) +/* 8032BF88 00328EE8 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 8032BF8C 00328EEC EC 26 00 32 */ fmuls f1, f6, f0 +/* 8032BF90 00328EF0 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8032BF94 00328EF4 EC A6 00 F2 */ fmuls f5, f6, f3 +/* 8032BF98 00328EF8 C0 84 00 1C */ lfs f4, 0x1c(r4) +/* 8032BF9C 00328EFC EC 66 00 B2 */ fmuls f3, f6, f2 +/* 8032BFA0 00328F00 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 8032BFA4 00328F04 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032BFA8 00328F08 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BFAC 00328F0C EC 85 20 28 */ fsubs f4, f5, f4 +/* 8032BFB0 00328F10 EC 23 10 28 */ fsubs f1, f3, f2 +/* 8032BFB4 00328F14 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8032BFB8 00328F18 D0 83 00 1C */ stfs f4, 0x1c(r3) +/* 8032BFBC 00328F1C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8032BFC0 00328F20 48 00 00 64 */ b lbl_8032C024 +lbl_8032BFC4: +/* 8032BFC4 00328F24 80 75 01 98 */ lwz r3, 0x198(r21) +/* 8032BFC8 00328F28 80 95 01 A8 */ lwz r4, 0x1a8(r21) +/* 8032BFCC 00328F2C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032BFD0 00328F30 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032BFD4 00328F34 C0 03 00 04 */ lfs f0, 4(r3) +/* 8032BFD8 00328F38 D0 04 00 04 */ stfs f0, 4(r4) +/* 8032BFDC 00328F3C C0 03 00 08 */ lfs f0, 8(r3) +/* 8032BFE0 00328F40 D0 04 00 08 */ stfs f0, 8(r4) +/* 8032BFE4 00328F44 80 95 01 98 */ lwz r4, 0x198(r21) +/* 8032BFE8 00328F48 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BFEC 00328F4C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8032BFF0 00328F50 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8032BFF4 00328F54 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8032BFF8 00328F58 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8032BFFC 00328F5C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8032C000 00328F60 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8032C004 00328F64 80 95 01 98 */ lwz r4, 0x198(r21) +/* 8032C008 00328F68 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032C00C 00328F6C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8032C010 00328F70 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8032C014 00328F74 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 8032C018 00328F78 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8032C01C 00328F7C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8032C020 00328F80 D0 03 00 20 */ stfs f0, 0x20(r3) +lbl_8032C024: +/* 8032C024 00328F84 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C028 00328F88 38 61 00 6C */ addi r3, r1, 0x6c +/* 8032C02C 00328F8C 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C030 00328F90 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032C034 00328F94 C0 06 00 00 */ lfs f0, 0(r6) +/* 8032C038 00328F98 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8032C03C 00328F9C D0 07 00 00 */ stfs f0, 0(r7) +/* 8032C040 00328FA0 C0 06 00 04 */ lfs f0, 4(r6) +/* 8032C044 00328FA4 D0 07 00 04 */ stfs f0, 4(r7) +/* 8032C048 00328FA8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8032C04C 00328FAC D0 07 00 08 */ stfs f0, 8(r7) +/* 8032C050 00328FB0 80 F5 01 88 */ lwz r7, 0x188(r21) +/* 8032C054 00328FB4 80 D5 01 98 */ lwz r6, 0x198(r21) +/* 8032C058 00328FB8 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 8032C05C 00328FBC D0 06 00 0C */ stfs f0, 0xc(r6) +/* 8032C060 00328FC0 C0 07 00 10 */ lfs f0, 0x10(r7) +/* 8032C064 00328FC4 D0 06 00 10 */ stfs f0, 0x10(r6) +/* 8032C068 00328FC8 C0 07 00 14 */ lfs f0, 0x14(r7) +/* 8032C06C 00328FCC D0 06 00 14 */ stfs f0, 0x14(r6) +/* 8032C070 00328FD0 80 F5 01 88 */ lwz r7, 0x188(r21) +/* 8032C074 00328FD4 80 D5 01 98 */ lwz r6, 0x198(r21) +/* 8032C078 00328FD8 C0 07 00 18 */ lfs f0, 0x18(r7) +/* 8032C07C 00328FDC D0 06 00 18 */ stfs f0, 0x18(r6) +/* 8032C080 00328FE0 C0 07 00 1C */ lfs f0, 0x1c(r7) +/* 8032C084 00328FE4 D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 8032C088 00328FE8 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 8032C08C 00328FEC D0 06 00 20 */ stfs f0, 0x20(r6) +/* 8032C090 00328FF0 80 D5 01 78 */ lwz r6, 0x178(r21) +/* 8032C094 00328FF4 80 F5 01 88 */ lwz r7, 0x188(r21) +/* 8032C098 00328FF8 C0 06 00 00 */ lfs f0, 0(r6) +/* 8032C09C 00328FFC D0 07 00 00 */ stfs f0, 0(r7) +/* 8032C0A0 00329000 C0 06 00 04 */ lfs f0, 4(r6) +/* 8032C0A4 00329004 D0 07 00 04 */ stfs f0, 4(r7) +/* 8032C0A8 00329008 C0 06 00 08 */ lfs f0, 8(r6) +/* 8032C0AC 0032900C D0 07 00 08 */ stfs f0, 8(r7) +/* 8032C0B0 00329010 80 F5 01 78 */ lwz r7, 0x178(r21) +/* 8032C0B4 00329014 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C0B8 00329018 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 8032C0BC 0032901C D0 06 00 0C */ stfs f0, 0xc(r6) +/* 8032C0C0 00329020 C0 07 00 10 */ lfs f0, 0x10(r7) +/* 8032C0C4 00329024 D0 06 00 10 */ stfs f0, 0x10(r6) +/* 8032C0C8 00329028 C0 07 00 14 */ lfs f0, 0x14(r7) +/* 8032C0CC 0032902C D0 06 00 14 */ stfs f0, 0x14(r6) +/* 8032C0D0 00329030 80 F5 01 78 */ lwz r7, 0x178(r21) +/* 8032C0D4 00329034 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C0D8 00329038 C0 07 00 18 */ lfs f0, 0x18(r7) +/* 8032C0DC 0032903C D0 06 00 18 */ stfs f0, 0x18(r6) +/* 8032C0E0 00329040 C0 07 00 1C */ lfs f0, 0x1c(r7) +/* 8032C0E4 00329044 D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 8032C0E8 00329048 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 8032C0EC 0032904C D0 06 00 20 */ stfs f0, 0x20(r6) +/* 8032C0F0 00329050 4B FE 69 F9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032C0F4 00329054 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8032C0F8 00329058 38 61 00 60 */ addi r3, r1, 0x60 +/* 8032C0FC 0032905C C0 41 00 70 */ lfs f2, 0x70(r1) +/* 8032C100 00329060 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032C104 00329064 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032C108 00329068 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 8032C10C 0032906C 80 D5 01 78 */ lwz r6, 0x178(r21) +/* 8032C110 00329070 EC 42 F8 2A */ fadds f2, f2, f31 +/* 8032C114 00329074 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032C118 00329078 38 A1 00 84 */ addi r5, r1, 0x84 +/* 8032C11C 0032907C D0 06 00 00 */ stfs f0, 0(r6) +/* 8032C120 00329080 D0 46 00 04 */ stfs f2, 4(r6) +/* 8032C124 00329084 D0 26 00 08 */ stfs f1, 8(r6) +/* 8032C128 00329088 4B FE 69 C1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032C12C 0032908C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8032C130 00329090 38 61 00 54 */ addi r3, r1, 0x54 +/* 8032C134 00329094 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8032C138 00329098 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032C13C 0032909C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032C140 003290A0 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8032C144 003290A4 80 D5 01 78 */ lwz r6, 0x178(r21) +/* 8032C148 003290A8 EC 42 F8 2A */ fadds f2, f2, f31 +/* 8032C14C 003290AC EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032C150 003290B0 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8032C154 003290B4 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 8032C158 003290B8 D0 46 00 10 */ stfs f2, 0x10(r6) +/* 8032C15C 003290BC D0 26 00 14 */ stfs f1, 0x14(r6) +/* 8032C160 003290C0 4B FE 69 89 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032C164 003290C4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8032C168 003290C8 7F 94 E3 78 */ mr r20, r28 +/* 8032C16C 003290CC C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8032C170 003290D0 7F 7C DB 78 */ mr r28, r27 +/* 8032C174 003290D4 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032C178 003290D8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8032C17C 003290DC 80 75 01 78 */ lwz r3, 0x178(r21) +/* 8032C180 003290E0 EC 42 F8 2A */ fadds f2, f2, f31 +/* 8032C184 003290E4 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032C188 003290E8 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8032C18C 003290EC D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 8032C190 003290F0 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8032C194 003290F4 88 1D 00 00 */ lbz r0, 0(r29) +/* 8032C198 003290F8 28 00 00 00 */ cmplwi r0, 0 +/* 8032C19C 003290FC 41 82 04 48 */ beq lbl_8032C5E4 +/* 8032C1A0 00329100 C2 41 00 B0 */ lfs f18, 0xb0(r1) +/* 8032C1A4 00329104 38 61 00 08 */ addi r3, r1, 8 +/* 8032C1A8 00329108 38 9D 00 6C */ addi r4, r29, 0x6c +/* 8032C1AC 0032910C 38 B5 02 0C */ addi r5, r21, 0x20c +/* 8032C1B0 00329110 48 03 6F C9 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032C1B4 00329114 FC 00 90 90 */ fmr f0, f18 +/* 8032C1B8 00329118 C0 35 01 E8 */ lfs f1, 0x1e8(r21) +/* 8032C1BC 0032911C 2C 19 00 01 */ cmpwi r25, 1 +/* 8032C1C0 00329120 83 61 00 08 */ lwz r27, 8(r1) +/* 8032C1C4 00329124 EC 00 08 2A */ fadds f0, f0, f1 +/* 8032C1C8 00329128 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8032C1CC 0032912C 40 81 04 18 */ ble lbl_8032C5E4 +/* 8032C1D0 00329130 80 75 01 B0 */ lwz r3, 0x1b0(r21) +/* 8032C1D4 00329134 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8032C1D8 00329138 C2 24 66 A0 */ lfs f17, skZero3f@l(r4) +/* 8032C1DC 0032913C 3B 00 00 00 */ li r24, 0 +/* 8032C1E0 00329140 C2 1E 00 04 */ lfs f16, 4(r30) +/* 8032C1E4 00329144 38 03 00 01 */ addi r0, r3, 1 +/* 8032C1E8 00329148 C1 FE 00 08 */ lfs f15, 8(r30) +/* 8032C1EC 0032914C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032C1F0 00329150 FF A0 88 90 */ fmr f29, f17 +/* 8032C1F4 00329154 C1 C2 CA 94 */ lfs f14, lbl_805AE7B4@sda21(r2) +/* 8032C1F8 00329158 FF 80 80 90 */ fmr f28, f16 +/* 8032C1FC 0032915C 38 60 00 80 */ li r3, 0x80 +/* 8032C200 00329160 FF 60 78 90 */ fmr f27, f15 +/* 8032C204 00329164 FF 40 88 90 */ fmr f26, f17 +/* 8032C208 00329168 FF 20 80 90 */ fmr f25, f16 +/* 8032C20C 0032916C 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8032C210 00329170 FF 00 78 90 */ fmr f24, f15 +/* 8032C214 00329174 38 80 00 00 */ li r4, 0 +/* 8032C218 00329178 4B FD C3 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8032C21C 0032917C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8032C220 00329180 7E 9D A3 78 */ mr r29, r20 +/* 8032C224 00329184 CB C2 CA F0 */ lfd f30, lbl_805AE810@sda21(r2) +/* 8032C228 00329188 3A E0 00 00 */ li r23, 0 +/* 8032C22C 0032918C EC 12 00 28 */ fsubs f0, f18, f0 +/* 8032C230 00329190 3F E0 43 30 */ lis r31, 0x4330 +/* 8032C234 00329194 3E 80 CC 01 */ lis r20, 0xcc01 +/* 8032C238 00329198 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 8032C23C 0032919C 48 00 03 94 */ b lbl_8032C5D0 +lbl_8032C240: +/* 8032C240 003291A0 38 17 00 01 */ addi r0, r23, 1 +/* 8032C244 003291A4 6C 67 80 00 */ xoris r7, r3, 0x8000 +/* 8032C248 003291A8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032C24C 003291AC 93 E1 00 A8 */ stw r31, 0xa8(r1) +/* 8032C250 003291B0 FF E0 70 90 */ fmr f31, f14 +/* 8032C254 003291B4 2C 17 00 00 */ cmpwi r23, 0 +/* 8032C258 003291B8 90 01 00 AC */ stw r0, 0xac(r1) +/* 8032C25C 003291BC FE E0 E8 90 */ fmr f23, f29 +/* 8032C260 003291C0 FE C0 E0 90 */ fmr f22, f28 +/* 8032C264 003291C4 7F 16 C3 78 */ mr r22, r24 +/* 8032C268 003291C8 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8032C26C 003291CC FE A0 D8 90 */ fmr f21, f27 +/* 8032C270 003291D0 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 8032C274 003291D4 FE 80 D0 90 */ fmr f20, f26 +/* 8032C278 003291D8 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 8032C27C 003291DC 93 E1 00 A0 */ stw r31, 0xa0(r1) +/* 8032C280 003291E0 FE 60 C8 90 */ fmr f19, f25 +/* 8032C284 003291E4 FE 40 C0 90 */ fmr f18, f24 +/* 8032C288 003291E8 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8032C28C 003291EC D2 21 00 C0 */ stfs f17, 0xc0(r1) +/* 8032C290 003291F0 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 8032C294 003291F4 D2 01 00 BC */ stfs f16, 0xbc(r1) +/* 8032C298 003291F8 ED C1 00 24 */ fdivs f14, f1, f0 +/* 8032C29C 003291FC D1 E1 00 B8 */ stfs f15, 0xb8(r1) +/* 8032C2A0 00329200 40 82 01 00 */ bne lbl_8032C3A0 +/* 8032C2A4 00329204 3C 00 43 30 */ lis r0, 0x4330 +/* 8032C2A8 00329208 6E E3 80 00 */ xoris r3, r23, 0x8000 +/* 8032C2AC 0032920C 90 61 00 AC */ stw r3, 0xac(r1) +/* 8032C2B0 00329210 7E A4 AB 78 */ mr r4, r21 +/* 8032C2B4 00329214 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C2B8 00329218 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032C2BC 0032921C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8032C2C0 00329220 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C2C4 00329224 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8032C2C8 00329228 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 8032C2CC 0032922C EC 20 F0 28 */ fsubs f1, f0, f30 +/* 8032C2D0 00329230 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C2D4 00329234 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8032C2D8 00329238 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C2DC 0032923C C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8032C2E0 00329240 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 8032C2E4 00329244 ED E1 00 24 */ fdivs f15, f1, f0 +/* 8032C2E8 00329248 FC 20 78 90 */ fmr f1, f15 +/* 8032C2EC 0032924C 4B FF E9 3D */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C2F0 00329250 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8032C2F4 00329254 FC 20 78 90 */ fmr f1, f15 +/* 8032C2F8 00329258 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C2FC 0032925C 7E A4 AB 78 */ mr r4, r21 +/* 8032C300 00329260 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8032C304 00329264 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032C308 00329268 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8032C30C 0032926C 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C310 00329270 38 A5 00 0C */ addi r5, r5, 0xc +/* 8032C314 00329274 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8032C318 00329278 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8032C31C 0032927C 38 C6 00 0C */ addi r6, r6, 0xc +/* 8032C320 00329280 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C324 00329284 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C328 00329288 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8032C32C 0032928C 38 E7 00 0C */ addi r7, r7, 0xc +/* 8032C330 00329290 39 08 00 0C */ addi r8, r8, 0xc +/* 8032C334 00329294 4B FF E8 F5 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C338 00329298 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C33C 0032929C FC 20 78 90 */ fmr f1, f15 +/* 8032C340 003292A0 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C344 003292A4 7E A4 AB 78 */ mr r4, r21 +/* 8032C348 003292A8 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C34C 003292AC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8032C350 003292B0 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C354 003292B4 C2 E1 00 3C */ lfs f23, 0x3c(r1) +/* 8032C358 003292B8 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8032C35C 003292BC C2 C1 00 40 */ lfs f22, 0x40(r1) +/* 8032C360 003292C0 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8032C364 003292C4 C2 A1 00 44 */ lfs f21, 0x44(r1) +/* 8032C368 003292C8 38 E7 00 18 */ addi r7, r7, 0x18 +/* 8032C36C 003292CC 39 08 00 18 */ addi r8, r8, 0x18 +/* 8032C370 003292D0 4B FF E8 B9 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C374 003292D4 FC 20 78 90 */ fmr f1, f15 +/* 8032C378 003292D8 C2 81 00 30 */ lfs f20, 0x30(r1) +/* 8032C37C 003292DC C2 61 00 34 */ lfs f19, 0x34(r1) +/* 8032C380 003292E0 7F 83 E3 78 */ mr r3, r28 +/* 8032C384 003292E4 C2 41 00 38 */ lfs f18, 0x38(r1) +/* 8032C388 003292E8 7F A4 EB 78 */ mr r4, r29 +/* 8032C38C 003292EC 48 03 6E 89 */ bl Lerp__6CColorFUiUif +/* 8032C390 003292F0 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 8032C394 003292F4 7C 76 1B 78 */ mr r22, r3 +/* 8032C398 003292F8 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8032C39C 003292FC EF EF 00 7A */ fmadds f31, f15, f1, f0 +lbl_8032C3A0: +/* 8032C3A0 00329300 FC 20 70 90 */ fmr f1, f14 +/* 8032C3A4 00329304 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C3A8 00329308 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C3AC 0032930C 7E A4 AB 78 */ mr r4, r21 +/* 8032C3B0 00329310 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C3B4 00329314 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032C3B8 00329318 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C3BC 0032931C 4B FF E8 6D */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C3C0 00329320 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C3C4 00329324 FC 20 70 90 */ fmr f1, f14 +/* 8032C3C8 00329328 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C3CC 0032932C 7E A4 AB 78 */ mr r4, r21 +/* 8032C3D0 00329330 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C3D4 00329334 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032C3D8 00329338 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C3DC 0032933C C2 21 00 24 */ lfs f17, 0x24(r1) +/* 8032C3E0 00329340 38 A5 00 0C */ addi r5, r5, 0xc +/* 8032C3E4 00329344 C2 01 00 28 */ lfs f16, 0x28(r1) +/* 8032C3E8 00329348 38 C6 00 0C */ addi r6, r6, 0xc +/* 8032C3EC 0032934C C1 E1 00 2C */ lfs f15, 0x2c(r1) +/* 8032C3F0 00329350 38 E7 00 0C */ addi r7, r7, 0xc +/* 8032C3F4 00329354 39 08 00 0C */ addi r8, r8, 0xc +/* 8032C3F8 00329358 4B FF E8 31 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C3FC 0032935C 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C400 00329360 FC 20 70 90 */ fmr f1, f14 +/* 8032C404 00329364 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C408 00329368 7E A4 AB 78 */ mr r4, r21 +/* 8032C40C 0032936C 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C410 00329370 38 61 00 0C */ addi r3, r1, 0xc +/* 8032C414 00329374 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C418 00329378 C3 A1 00 18 */ lfs f29, 0x18(r1) +/* 8032C41C 0032937C 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8032C420 00329380 C3 81 00 1C */ lfs f28, 0x1c(r1) +/* 8032C424 00329384 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8032C428 00329388 C3 61 00 20 */ lfs f27, 0x20(r1) +/* 8032C42C 0032938C 38 E7 00 18 */ addi r7, r7, 0x18 +/* 8032C430 00329390 39 08 00 18 */ addi r8, r8, 0x18 +/* 8032C434 00329394 4B FF E7 F5 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C438 00329398 FC 20 70 90 */ fmr f1, f14 +/* 8032C43C 0032939C C3 41 00 0C */ lfs f26, 0xc(r1) +/* 8032C440 003293A0 C3 21 00 10 */ lfs f25, 0x10(r1) +/* 8032C444 003293A4 7F 83 E3 78 */ mr r3, r28 +/* 8032C448 003293A8 C3 01 00 14 */ lfs f24, 0x14(r1) +/* 8032C44C 003293AC 7F A4 EB 78 */ mr r4, r29 +/* 8032C450 003293B0 48 03 6D C5 */ bl Lerp__6CColorFUiUif +/* 8032C454 003293B4 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8032C458 003293B8 7C 78 1B 78 */ mr r24, r3 +/* 8032C45C 003293BC C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 8032C460 003293C0 3A F7 00 01 */ addi r23, r23, 1 +/* 8032C464 003293C4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C468 003293C8 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8032C46C 003293CC ED CE 00 7A */ fmadds f14, f14, f1, f0 +/* 8032C470 003293D0 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8032C474 003293D4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C478 003293D8 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8032C47C 003293DC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C480 003293E0 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C484 003293E4 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C488 003293E8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C48C 003293EC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C490 003293F0 D2 F4 80 00 */ stfs f23, 0xCC008000@l(r20) +/* 8032C494 003293F4 D2 D4 80 00 */ stfs f22, 0xCC008000@l(r20) +/* 8032C498 003293F8 D2 B4 80 00 */ stfs f21, 0xCC008000@l(r20) +/* 8032C49C 003293FC 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C4A0 00329400 C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C4A4 00329404 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C4A8 00329408 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C4AC 0032940C D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 8032C4B0 00329410 D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 8032C4B4 00329414 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 8032C4B8 00329418 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C4BC 0032941C C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C4C0 00329420 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C4C4 00329424 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C4C8 00329428 D2 34 80 00 */ stfs f17, 0xCC008000@l(r20) +/* 8032C4CC 0032942C D2 14 80 00 */ stfs f16, 0xCC008000@l(r20) +/* 8032C4D0 00329430 D1 F4 80 00 */ stfs f15, 0xCC008000@l(r20) +/* 8032C4D4 00329434 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C4D8 00329438 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C4DC 0032943C D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C4E0 00329440 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C4E4 00329444 D2 F4 80 00 */ stfs f23, 0xCC008000@l(r20) +/* 8032C4E8 00329448 D2 D4 80 00 */ stfs f22, 0xCC008000@l(r20) +/* 8032C4EC 0032944C D2 B4 80 00 */ stfs f21, 0xCC008000@l(r20) +/* 8032C4F0 00329450 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C4F4 00329454 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C4F8 00329458 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C4FC 0032945C D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C500 00329460 D2 94 80 00 */ stfs f20, 0xCC008000@l(r20) +/* 8032C504 00329464 D2 74 80 00 */ stfs f19, 0xCC008000@l(r20) +/* 8032C508 00329468 D2 54 80 00 */ stfs f18, 0xCC008000@l(r20) +/* 8032C50C 0032946C 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C510 00329470 C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C514 00329474 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C518 00329478 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C51C 0032947C D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8032C520 00329480 D3 34 80 00 */ stfs f25, 0xCC008000@l(r20) +/* 8032C524 00329484 D3 14 80 00 */ stfs f24, 0xCC008000@l(r20) +/* 8032C528 00329488 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C52C 0032948C C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C530 00329490 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C534 00329494 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C538 00329498 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 8032C53C 0032949C D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 8032C540 003294A0 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 8032C544 003294A4 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C548 003294A8 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C54C 003294AC D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C550 003294B0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C554 003294B4 D2 94 80 00 */ stfs f20, 0xCC008000@l(r20) +/* 8032C558 003294B8 D2 74 80 00 */ stfs f19, 0xCC008000@l(r20) +/* 8032C55C 003294BC D2 54 80 00 */ stfs f18, 0xCC008000@l(r20) +/* 8032C560 003294C0 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C564 003294C4 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C568 003294C8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C56C 003294CC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C570 003294D0 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8032C574 003294D4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C578 003294D8 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8032C57C 003294DC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C580 003294E0 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8032C584 003294E4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C588 003294E8 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C58C 003294EC C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C590 003294F0 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C594 003294F4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C598 003294F8 D2 34 80 00 */ stfs f17, 0xCC008000@l(r20) +/* 8032C59C 003294FC D2 14 80 00 */ stfs f16, 0xCC008000@l(r20) +/* 8032C5A0 00329500 D1 F4 80 00 */ stfs f15, 0xCC008000@l(r20) +/* 8032C5A4 00329504 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C5A8 00329508 C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C5AC 0032950C D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C5B0 00329510 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C5B4 00329514 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8032C5B8 00329518 D3 34 80 00 */ stfs f25, 0xCC008000@l(r20) +/* 8032C5BC 0032951C D3 14 80 00 */ stfs f24, 0xCC008000@l(r20) +/* 8032C5C0 00329520 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C5C4 00329524 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C5C8 00329528 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C5CC 0032952C D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +lbl_8032C5D0: +/* 8032C5D0 00329530 80 75 01 B0 */ lwz r3, 0x1b0(r21) +/* 8032C5D4 00329534 38 63 00 01 */ addi r3, r3, 1 +/* 8032C5D8 00329538 7C 17 18 00 */ cmpw r23, r3 +/* 8032C5DC 0032953C 41 80 FC 64 */ blt lbl_8032C240 +/* 8032C5E0 00329540 4B FD BF A1 */ bl End__3CGXFv +lbl_8032C5E4: +/* 8032C5E4 00329544 3B 39 00 01 */ addi r25, r25, 1 +lbl_8032C5E8: +/* 8032C5E8 00329548 80 95 01 60 */ lwz r4, 0x160(r21) +/* 8032C5EC 0032954C 7C 19 20 00 */ cmpw r25, r4 +/* 8032C5F0 00329550 41 80 F6 7C */ blt lbl_8032BC6C +lbl_8032C5F4: +/* 8032C5F4 00329554 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 +/* 8032C5F8 00329558 CB E1 02 70 */ lfd f31, 0x270(r1) +/* 8032C5FC 0032955C E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 +/* 8032C600 00329560 CB C1 02 60 */ lfd f30, 0x260(r1) +/* 8032C604 00329564 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 +/* 8032C608 00329568 CB A1 02 50 */ lfd f29, 0x250(r1) +/* 8032C60C 0032956C E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 +/* 8032C610 00329570 CB 81 02 40 */ lfd f28, 0x240(r1) +/* 8032C614 00329574 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 +/* 8032C618 00329578 CB 61 02 30 */ lfd f27, 0x230(r1) +/* 8032C61C 0032957C E3 41 02 28 */ psq_l f26, 552(r1), 0, qr0 +/* 8032C620 00329580 CB 41 02 20 */ lfd f26, 0x220(r1) +/* 8032C624 00329584 E3 21 02 18 */ psq_l f25, 536(r1), 0, qr0 +/* 8032C628 00329588 CB 21 02 10 */ lfd f25, 0x210(r1) +/* 8032C62C 0032958C E3 01 02 08 */ psq_l f24, 520(r1), 0, qr0 +/* 8032C630 00329590 CB 01 02 00 */ lfd f24, 0x200(r1) +/* 8032C634 00329594 E2 E1 01 F8 */ psq_l f23, 504(r1), 0, qr0 +/* 8032C638 00329598 CA E1 01 F0 */ lfd f23, 0x1f0(r1) +/* 8032C63C 0032959C E2 C1 01 E8 */ psq_l f22, 488(r1), 0, qr0 +/* 8032C640 003295A0 CA C1 01 E0 */ lfd f22, 0x1e0(r1) +/* 8032C644 003295A4 E2 A1 01 D8 */ psq_l f21, 472(r1), 0, qr0 +/* 8032C648 003295A8 CA A1 01 D0 */ lfd f21, 0x1d0(r1) +/* 8032C64C 003295AC E2 81 01 C8 */ psq_l f20, 456(r1), 0, qr0 +/* 8032C650 003295B0 CA 81 01 C0 */ lfd f20, 0x1c0(r1) +/* 8032C654 003295B4 E2 61 01 B8 */ psq_l f19, 440(r1), 0, qr0 +/* 8032C658 003295B8 CA 61 01 B0 */ lfd f19, 0x1b0(r1) +/* 8032C65C 003295BC E2 41 01 A8 */ psq_l f18, 424(r1), 0, qr0 +/* 8032C660 003295C0 CA 41 01 A0 */ lfd f18, 0x1a0(r1) +/* 8032C664 003295C4 E2 21 01 98 */ psq_l f17, 408(r1), 0, qr0 +/* 8032C668 003295C8 CA 21 01 90 */ lfd f17, 0x190(r1) +/* 8032C66C 003295CC E2 01 01 88 */ psq_l f16, 392(r1), 0, qr0 +/* 8032C670 003295D0 CA 01 01 80 */ lfd f16, 0x180(r1) +/* 8032C674 003295D4 E1 E1 01 78 */ psq_l f15, 376(r1), 0, qr0 +/* 8032C678 003295D8 C9 E1 01 70 */ lfd f15, 0x170(r1) +/* 8032C67C 003295DC E1 C1 01 68 */ psq_l f14, 360(r1), 0, qr0 +/* 8032C680 003295E0 C9 C1 01 60 */ lfd f14, 0x160(r1) +/* 8032C684 003295E4 BA 81 01 30 */ lmw r20, 0x130(r1) +/* 8032C688 003295E8 80 01 02 84 */ lwz r0, 0x284(r1) +/* 8032C68C 003295EC 7C 08 03 A6 */ mtlr r0 +/* 8032C690 003295F0 38 21 02 80 */ addi r1, r1, 0x280 +/* 8032C694 003295F4 4E 80 00 20 */ blr + +.global Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv +Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv: +/* 8032C698 003295F8 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 8032C69C 003295FC 7C 08 02 A6 */ mflr r0 +/* 8032C6A0 00329600 90 01 02 14 */ stw r0, 0x214(r1) +/* 8032C6A4 00329604 DB E1 02 00 */ stfd f31, 0x200(r1) +/* 8032C6A8 00329608 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 +/* 8032C6AC 0032960C DB C1 01 F0 */ stfd f30, 0x1f0(r1) +/* 8032C6B0 00329610 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 +/* 8032C6B4 00329614 DB A1 01 E0 */ stfd f29, 0x1e0(r1) +/* 8032C6B8 00329618 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 +/* 8032C6BC 0032961C DB 81 01 D0 */ stfd f28, 0x1d0(r1) +/* 8032C6C0 00329620 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 +/* 8032C6C4 00329624 DB 61 01 C0 */ stfd f27, 0x1c0(r1) +/* 8032C6C8 00329628 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 +/* 8032C6CC 0032962C DB 41 01 B0 */ stfd f26, 0x1b0(r1) +/* 8032C6D0 00329630 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 +/* 8032C6D4 00329634 DB 21 01 A0 */ stfd f25, 0x1a0(r1) +/* 8032C6D8 00329638 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 +/* 8032C6DC 0032963C DB 01 01 90 */ stfd f24, 0x190(r1) +/* 8032C6E0 00329640 F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0 +/* 8032C6E4 00329644 DA E1 01 80 */ stfd f23, 0x180(r1) +/* 8032C6E8 00329648 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0 +/* 8032C6EC 0032964C DA C1 01 70 */ stfd f22, 0x170(r1) +/* 8032C6F0 00329650 F2 C1 01 78 */ psq_st f22, 376(r1), 0, qr0 +/* 8032C6F4 00329654 DA A1 01 60 */ stfd f21, 0x160(r1) +/* 8032C6F8 00329658 F2 A1 01 68 */ psq_st f21, 360(r1), 0, qr0 +/* 8032C6FC 0032965C DA 81 01 50 */ stfd f20, 0x150(r1) +/* 8032C700 00329660 F2 81 01 58 */ psq_st f20, 344(r1), 0, qr0 +/* 8032C704 00329664 DA 61 01 40 */ stfd f19, 0x140(r1) +/* 8032C708 00329668 F2 61 01 48 */ psq_st f19, 328(r1), 0, qr0 +/* 8032C70C 0032966C DA 41 01 30 */ stfd f18, 0x130(r1) +/* 8032C710 00329670 F2 41 01 38 */ psq_st f18, 312(r1), 0, qr0 +/* 8032C714 00329674 DA 21 01 20 */ stfd f17, 0x120(r1) +/* 8032C718 00329678 F2 21 01 28 */ psq_st f17, 296(r1), 0, qr0 +/* 8032C71C 0032967C DA 01 01 10 */ stfd f16, 0x110(r1) +/* 8032C720 00329680 F2 01 01 18 */ psq_st f16, 280(r1), 0, qr0 +/* 8032C724 00329684 D9 E1 01 00 */ stfd f15, 0x100(r1) +/* 8032C728 00329688 F1 E1 01 08 */ psq_st f15, 264(r1), 0, qr0 +/* 8032C72C 0032968C BE 21 00 C4 */ stmw r17, 0xc4(r1) +/* 8032C730 00329690 7C 71 1B 78 */ mr r17, r3 +/* 8032C734 00329694 80 03 01 60 */ lwz r0, 0x160(r3) +/* 8032C738 00329698 2C 00 00 02 */ cmpwi r0, 2 +/* 8032C73C 0032969C 41 80 07 F0 */ blt lbl_8032CF2C +/* 8032C740 003296A0 38 80 00 00 */ li r4, 0 +/* 8032C744 003296A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C748 003296A8 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C74C 003296AC 3B E1 00 90 */ addi r31, r1, 0x90 +/* 8032C750 003296B0 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8032C754 003296B4 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C758 003296B8 7C 9F 02 15 */ add. r4, r31, r0 +/* 8032C75C 003296BC 41 82 00 1C */ beq lbl_8032C778 +/* 8032C760 003296C0 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C764 003296C4 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C768 003296C8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C76C 003296CC C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C770 003296D0 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C774 003296D4 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C778: +/* 8032C778 003296D8 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 8032C77C 003296DC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C780 003296E0 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C784 003296E4 38 84 00 01 */ addi r4, r4, 1 +/* 8032C788 003296E8 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C78C 003296EC 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8032C790 003296F0 7C 9F 02 15 */ add. r4, r31, r0 +/* 8032C794 003296F4 41 82 00 1C */ beq lbl_8032C7B0 +/* 8032C798 003296F8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C79C 003296FC C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C7A0 00329700 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C7A4 00329704 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C7A8 00329708 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C7AC 0032970C D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C7B0: +/* 8032C7B0 00329710 38 60 00 00 */ li r3, 0 +/* 8032C7B4 00329714 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 8032C7B8 00329718 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8032C7BC 0032971C 3B C1 00 74 */ addi r30, r1, 0x74 +/* 8032C7C0 00329720 38 84 00 01 */ addi r4, r4, 1 +/* 8032C7C4 00329724 90 61 00 70 */ stw r3, 0x70(r1) +/* 8032C7C8 00329728 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C7CC 0032972C 7C BE 02 15 */ add. r5, r30, r0 +/* 8032C7D0 00329730 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8032C7D4 00329734 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C7D8 00329738 41 82 00 1C */ beq lbl_8032C7F4 +/* 8032C7DC 0032973C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C7E0 00329740 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C7E4 00329744 D0 05 00 00 */ stfs f0, 0(r5) +/* 8032C7E8 00329748 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C7EC 0032974C D0 25 00 04 */ stfs f1, 4(r5) +/* 8032C7F0 00329750 D0 05 00 08 */ stfs f0, 8(r5) +lbl_8032C7F4: +/* 8032C7F4 00329754 80 81 00 70 */ lwz r4, 0x70(r1) +/* 8032C7F8 00329758 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C7FC 0032975C 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C800 00329760 38 84 00 01 */ addi r4, r4, 1 +/* 8032C804 00329764 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C808 00329768 90 81 00 70 */ stw r4, 0x70(r1) +/* 8032C80C 0032976C 7C 9E 02 15 */ add. r4, r30, r0 +/* 8032C810 00329770 41 82 00 1C */ beq lbl_8032C82C +/* 8032C814 00329774 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C818 00329778 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C81C 0032977C D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C820 00329780 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C824 00329784 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C828 00329788 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C82C: +/* 8032C82C 0032978C 38 60 00 00 */ li r3, 0 +/* 8032C830 00329790 80 81 00 70 */ lwz r4, 0x70(r1) +/* 8032C834 00329794 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8032C838 00329798 3B A1 00 58 */ addi r29, r1, 0x58 +/* 8032C83C 0032979C 38 84 00 01 */ addi r4, r4, 1 +/* 8032C840 003297A0 90 61 00 54 */ stw r3, 0x54(r1) +/* 8032C844 003297A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C848 003297A8 7C BD 02 15 */ add. r5, r29, r0 +/* 8032C84C 003297AC 90 81 00 70 */ stw r4, 0x70(r1) +/* 8032C850 003297B0 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C854 003297B4 41 82 00 1C */ beq lbl_8032C870 +/* 8032C858 003297B8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C85C 003297BC C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C860 003297C0 D0 05 00 00 */ stfs f0, 0(r5) +/* 8032C864 003297C4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C868 003297C8 D0 25 00 04 */ stfs f1, 4(r5) +/* 8032C86C 003297CC D0 05 00 08 */ stfs f0, 8(r5) +lbl_8032C870: +/* 8032C870 003297D0 80 81 00 54 */ lwz r4, 0x54(r1) +/* 8032C874 003297D4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C878 003297D8 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C87C 003297DC 38 84 00 01 */ addi r4, r4, 1 +/* 8032C880 003297E0 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C884 003297E4 90 81 00 54 */ stw r4, 0x54(r1) +/* 8032C888 003297E8 7C 9D 02 15 */ add. r4, r29, r0 +/* 8032C88C 003297EC 41 82 00 1C */ beq lbl_8032C8A8 +/* 8032C890 003297F0 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C894 003297F4 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C898 003297F8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C89C 003297FC C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C8A0 00329800 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C8A4 00329804 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C8A8: +/* 8032C8A8 00329808 80 81 00 54 */ lwz r4, 0x54(r1) +/* 8032C8AC 0032980C 3C 60 80 3D */ lis r3, lbl_803D7928@ha +/* 8032C8B0 00329810 38 63 79 28 */ addi r3, r3, lbl_803D7928@l +/* 8032C8B4 00329814 38 04 00 01 */ addi r0, r4, 1 +/* 8032C8B8 00329818 90 01 00 54 */ stw r0, 0x54(r1) +/* 8032C8BC 0032981C 4B FD B5 6D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8032C8C0 00329820 38 60 00 01 */ li r3, 1 +/* 8032C8C4 00329824 4B FD C5 8D */ bl SetNumChans__3CGXFUc +/* 8032C8C8 00329828 38 60 00 01 */ li r3, 1 +/* 8032C8CC 0032982C 4B FD C5 49 */ bl SetNumTexGens__3CGXFUc +/* 8032C8D0 00329830 38 60 00 00 */ li r3, 0 +/* 8032C8D4 00329834 38 80 00 00 */ li r4, 0 +/* 8032C8D8 00329838 38 A0 00 00 */ li r5, 0 +/* 8032C8DC 0032983C 38 C0 00 04 */ li r6, 4 +/* 8032C8E0 00329840 4B FD C0 6D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8032C8E4 00329844 38 60 00 00 */ li r3, 0 +/* 8032C8E8 00329848 38 80 00 00 */ li r4, 0 +/* 8032C8EC 0032984C 38 A0 00 00 */ li r5, 0 +/* 8032C8F0 00329850 38 C0 00 01 */ li r6, 1 +/* 8032C8F4 00329854 38 E0 00 00 */ li r7, 0 +/* 8032C8F8 00329858 39 00 00 00 */ li r8, 0 +/* 8032C8FC 0032985C 39 20 00 02 */ li r9, 2 +/* 8032C900 00329860 4B FD C3 CD */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8032C904 00329864 38 60 00 00 */ li r3, 0 +/* 8032C908 00329868 38 80 00 01 */ li r4, 1 +/* 8032C90C 0032986C 38 A0 00 04 */ li r5, 4 +/* 8032C910 00329870 38 C0 00 3C */ li r6, 0x3c +/* 8032C914 00329874 38 E0 00 00 */ li r7, 0 +/* 8032C918 00329878 39 00 00 7D */ li r8, 0x7d +/* 8032C91C 0032987C 4B FD BD B1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8032C920 00329880 C0 11 01 E8 */ lfs f0, 0x1e8(r17) +/* 8032C924 00329884 3B 20 00 00 */ li r25, 0 +/* 8032C928 00329888 82 B1 01 58 */ lwz r21, 0x158(r17) +/* 8032C92C 0032988C 3B 00 00 01 */ li r24, 1 +/* 8032C930 00329890 FF E0 00 50 */ fneg f31, f0 +/* 8032C934 00329894 C2 22 CA D0 */ lfs f17, lbl_805AE7F0@sda21(r2) +/* 8032C938 00329898 C2 42 CA D4 */ lfs f18, lbl_805AE7F4@sda21(r2) +/* 8032C93C 0032989C 3A C0 00 00 */ li r22, 0 +/* 8032C940 003298A0 CA 62 CA D8 */ lfd f19, lbl_805AE7F8@sda21(r2) +/* 8032C944 003298A4 3A 80 00 00 */ li r20, 0 +/* 8032C948 003298A8 C2 82 CA AC */ lfs f20, lbl_805AE7CC@sda21(r2) +/* 8032C94C 003298AC 3A 60 00 00 */ li r19, 0 +/* 8032C950 003298B0 C2 A2 CA B0 */ lfs f21, lbl_805AE7D0@sda21(r2) +/* 8032C954 003298B4 C2 C2 CA B4 */ lfs f22, lbl_805AE7D4@sda21(r2) +/* 8032C958 003298B8 C2 E2 CA B8 */ lfs f23, lbl_805AE7D8@sda21(r2) +/* 8032C95C 003298BC C3 02 CA BC */ lfs f24, lbl_805AE7DC@sda21(r2) +/* 8032C960 003298C0 C3 22 CA C0 */ lfs f25, lbl_805AE7E0@sda21(r2) +/* 8032C964 003298C4 C3 42 CA C4 */ lfs f26, lbl_805AE7E4@sda21(r2) +/* 8032C968 003298C8 C3 62 CA C8 */ lfs f27, lbl_805AE7E8@sda21(r2) +/* 8032C96C 003298CC C3 82 CA 94 */ lfs f28, lbl_805AE7B4@sda21(r2) +/* 8032C970 003298D0 C3 A2 CA F8 */ lfs f29, lbl_805AE818@sda21(r2) +/* 8032C974 003298D4 48 00 04 B8 */ b lbl_8032CE2C +lbl_8032C978: +/* 8032C978 003298D8 56 A0 38 30 */ slwi r0, r21, 7 +/* 8032C97C 003298DC 80 71 01 68 */ lwz r3, 0x168(r17) +/* 8032C980 003298E0 36 B5 FF FF */ addic. r21, r21, -1 +/* 8032C984 003298E4 7E 43 02 14 */ add r18, r3, r0 +/* 8032C988 003298E8 40 80 00 08 */ bge lbl_8032C990 +/* 8032C98C 003298EC 3A A4 FF FF */ addi r21, r4, -1 +lbl_8032C990: +/* 8032C990 003298F0 C0 32 00 30 */ lfs f1, 0x30(r18) +/* 8032C994 003298F4 C0 12 00 34 */ lfs f0, 0x34(r18) +/* 8032C998 003298F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032C99C 003298FC EC 11 00 32 */ fmuls f0, f17, f0 +/* 8032C9A0 00329900 EC 60 90 24 */ fdivs f3, f0, f18 +/* 8032C9A4 00329904 FC 00 1A 10 */ fabs f0, f3 +/* 8032C9A8 00329908 FC 00 98 40 */ fcmpo cr0, f0, f19 +/* 8032C9AC 0032990C 40 81 00 60 */ ble lbl_8032CA0C +/* 8032C9B0 00329910 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032C9B4 00329914 3C 00 43 30 */ lis r0, 0x4330 +/* 8032C9B8 00329918 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 8032C9BC 0032991C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8032C9C0 00329920 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032C9C4 00329924 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032C9C8 00329928 FC 00 00 1E */ fctiwz f0, f0 +/* 8032C9CC 0032992C D8 01 00 A8 */ stfd f0, 0xa8(r1) +/* 8032C9D0 00329930 80 01 00 AC */ lwz r0, 0xac(r1) +/* 8032C9D4 00329934 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032C9D8 00329938 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8032C9DC 0032993C C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 8032C9E0 00329940 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032C9E4 00329944 EC 40 18 7C */ fnmsubs f2, f0, f1, f3 +/* 8032C9E8 00329948 FC 02 88 40 */ fcmpo cr0, f2, f17 +/* 8032C9EC 0032994C 40 81 00 0C */ ble lbl_8032C9F8 +/* 8032C9F0 00329950 EC 42 08 28 */ fsubs f2, f2, f1 +/* 8032C9F4 00329954 48 00 00 1C */ b lbl_8032CA10 +lbl_8032C9F8: +/* 8032C9F8 00329958 C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032C9FC 0032995C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8032CA00 00329960 40 80 00 10 */ bge lbl_8032CA10 +/* 8032CA04 00329964 EC 41 10 2A */ fadds f2, f1, f2 +/* 8032CA08 00329968 48 00 00 08 */ b lbl_8032CA10 +lbl_8032CA0C: +/* 8032CA0C 0032996C FC 40 18 90 */ fmr f2, f3 +lbl_8032CA10: +/* 8032CA10 00329970 EC C2 00 B2 */ fmuls f6, f2, f2 +/* 8032CA14 00329974 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032CA18 00329978 C0 32 00 04 */ lfs f1, 4(r18) +/* 8032CA1C 0032997C EC 02 E8 2A */ fadds f0, f2, f29 +/* 8032CA20 00329980 EC 82 06 32 */ fmuls f4, f2, f24 +/* 8032CA24 00329984 EC A2 01 B2 */ fmuls f5, f2, f6 +/* 8032CA28 00329988 EC 66 1D 3A */ fmadds f3, f6, f20, f3 +/* 8032CA2C 0032998C D3 81 00 4C */ stfs f28, 0x4c(r1) +/* 8032CA30 00329990 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 8032CA34 00329994 EC 85 26 7A */ fmadds f4, f5, f25, f4 +/* 8032CA38 00329998 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CA3C 0032999C EC 62 1D 7A */ fmadds f3, f2, f21, f3 +/* 8032CA40 003299A0 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CA44 003299A4 EC 85 26 BA */ fmadds f4, f5, f26, f4 +/* 8032CA48 003299A8 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CA4C 003299AC EC 62 1D BA */ fmadds f3, f2, f22, f3 +/* 8032CA50 003299B0 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CA54 003299B4 EC 85 26 FA */ fmadds f4, f5, f27, f4 +/* 8032CA58 003299B8 FC 00 88 40 */ fcmpo cr0, f0, f17 +/* 8032CA5C 003299BC EC 62 1D FA */ fmadds f3, f2, f23, f3 +/* 8032CA60 003299C0 EC 41 01 32 */ fmuls f2, f1, f4 +/* 8032CA64 003299C4 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8032CA68 003299C8 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8032CA6C 003299CC D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8032CA70 003299D0 40 81 00 0C */ ble lbl_8032CA7C +/* 8032CA74 003299D4 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032CA78 003299D8 EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032CA7C: +/* 8032CA7C 003299DC EC C0 00 32 */ fmuls f6, f0, f0 +/* 8032CA80 003299E0 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032CA84 003299E4 EC 80 06 32 */ fmuls f4, f0, f24 +/* 8032CA88 003299E8 D3 81 00 40 */ stfs f28, 0x40(r1) +/* 8032CA8C 003299EC EC A0 01 B2 */ fmuls f5, f0, f6 +/* 8032CA90 003299F0 EC 66 1D 3A */ fmadds f3, f6, f20, f3 +/* 8032CA94 003299F4 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 8032CA98 003299F8 EC 85 26 7A */ fmadds f4, f5, f25, f4 +/* 8032CA9C 003299FC EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CAA0 00329A00 EC 62 1D 7A */ fmadds f3, f2, f21, f3 +/* 8032CAA4 00329A04 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CAA8 00329A08 EC 85 26 BA */ fmadds f4, f5, f26, f4 +/* 8032CAAC 00329A0C EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CAB0 00329A10 EC 62 1D BA */ fmadds f3, f2, f22, f3 +/* 8032CAB4 00329A14 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CAB8 00329A18 EC 85 26 FA */ fmadds f4, f5, f27, f4 +/* 8032CABC 00329A1C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032CAC0 00329A20 EC 62 1D FA */ fmadds f3, f2, f23, f3 +/* 8032CAC4 00329A24 EC 41 01 32 */ fmuls f2, f1, f4 +/* 8032CAC8 00329A28 FC 00 88 40 */ fcmpo cr0, f0, f17 +/* 8032CACC 00329A2C EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8032CAD0 00329A30 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8032CAD4 00329A34 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8032CAD8 00329A38 40 81 00 0C */ ble lbl_8032CAE4 +/* 8032CADC 00329A3C C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032CAE0 00329A40 EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032CAE4: +/* 8032CAE4 00329A44 EC A0 00 32 */ fmuls f5, f0, f0 +/* 8032CAE8 00329A48 C0 42 CA A8 */ lfs f2, lbl_805AE7C8@sda21(r2) +/* 8032CAEC 00329A4C EC 60 06 32 */ fmuls f3, f0, f24 +/* 8032CAF0 00329A50 D3 81 00 34 */ stfs f28, 0x34(r1) +/* 8032CAF4 00329A54 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032CAF8 00329A58 38 92 00 38 */ addi r4, r18, 0x38 +/* 8032CAFC 00329A5C EC 80 01 72 */ fmuls f4, f0, f5 +/* 8032CB00 00329A60 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8032CB04 00329A64 EC 45 15 3A */ fmadds f2, f5, f20, f2 +/* 8032CB08 00329A68 EC 05 01 72 */ fmuls f0, f5, f5 +/* 8032CB0C 00329A6C EC 64 1E 7A */ fmadds f3, f4, f25, f3 +/* 8032CB10 00329A70 EC 84 01 72 */ fmuls f4, f4, f5 +/* 8032CB14 00329A74 EC 40 15 7A */ fmadds f2, f0, f21, f2 +/* 8032CB18 00329A78 EC 00 01 72 */ fmuls f0, f0, f5 +/* 8032CB1C 00329A7C EC 64 1E BA */ fmadds f3, f4, f26, f3 +/* 8032CB20 00329A80 EC 84 01 72 */ fmuls f4, f4, f5 +/* 8032CB24 00329A84 EC 40 15 BA */ fmadds f2, f0, f22, f2 +/* 8032CB28 00329A88 EC 00 01 72 */ fmuls f0, f0, f5 +/* 8032CB2C 00329A8C EC 64 1E FA */ fmadds f3, f4, f27, f3 +/* 8032CB30 00329A90 EC 40 15 FA */ fmadds f2, f0, f23, f2 +/* 8032CB34 00329A94 EC 01 00 F2 */ fmuls f0, f1, f3 +/* 8032CB38 00329A98 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8032CB3C 00329A9C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8032CB40 00329AA0 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8032CB44 00329AA4 C0 32 00 0C */ lfs f1, 0xc(r18) +/* 8032CB48 00329AA8 C0 12 00 24 */ lfs f0, 0x24(r18) +/* 8032CB4C 00329AAC C0 72 00 10 */ lfs f3, 0x10(r18) +/* 8032CB50 00329AB0 C0 52 00 28 */ lfs f2, 0x28(r18) +/* 8032CB54 00329AB4 ED E1 00 2A */ fadds f15, f1, f0 +/* 8032CB58 00329AB8 C0 32 00 14 */ lfs f1, 0x14(r18) +/* 8032CB5C 00329ABC C0 12 00 2C */ lfs f0, 0x2c(r18) +/* 8032CB60 00329AC0 EE 03 10 2A */ fadds f16, f3, f2 +/* 8032CB64 00329AC4 EF C1 00 2A */ fadds f30, f1, f0 +/* 8032CB68 00329AC8 4B FE 5F 81 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032CB6C 00329ACC C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8032CB70 00329AD0 1E F9 00 0C */ mulli r23, r25, 0xc +/* 8032CB74 00329AD4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8032CB78 00329AD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032CB7C 00329ADC EC 00 78 2A */ fadds f0, f0, f15 +/* 8032CB80 00329AE0 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8032CB84 00329AE4 7F 9F BA 14 */ add r28, r31, r23 +/* 8032CB88 00329AE8 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032CB8C 00329AEC 38 92 00 38 */ addi r4, r18, 0x38 +/* 8032CB90 00329AF0 D0 1C 00 00 */ stfs f0, 0(r28) +/* 8032CB94 00329AF4 EC 01 F0 2A */ fadds f0, f1, f30 +/* 8032CB98 00329AF8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8032CB9C 00329AFC D0 5C 00 04 */ stfs f2, 4(r28) +/* 8032CBA0 00329B00 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8032CBA4 00329B04 4B FE 5F 45 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032CBA8 00329B08 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8032CBAC 00329B0C 7F 7E BA 14 */ add r27, r30, r23 +/* 8032CBB0 00329B10 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8032CBB4 00329B14 38 61 00 0C */ addi r3, r1, 0xc +/* 8032CBB8 00329B18 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032CBBC 00329B1C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8032CBC0 00329B20 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032CBC4 00329B24 38 92 00 38 */ addi r4, r18, 0x38 +/* 8032CBC8 00329B28 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032CBCC 00329B2C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8032CBD0 00329B30 D0 1B 00 00 */ stfs f0, 0(r27) +/* 8032CBD4 00329B34 D0 5B 00 04 */ stfs f2, 4(r27) +/* 8032CBD8 00329B38 D0 3B 00 08 */ stfs f1, 8(r27) +/* 8032CBDC 00329B3C 4B FE 5F 0D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032CBE0 00329B40 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8032CBE4 00329B44 7F 5D BA 14 */ add r26, r29, r23 +/* 8032CBE8 00329B48 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8032CBEC 00329B4C 7E D7 B3 78 */ mr r23, r22 +/* 8032CBF0 00329B50 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032CBF4 00329B54 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8032CBF8 00329B58 88 12 00 00 */ lbz r0, 0(r18) +/* 8032CBFC 00329B5C EC 42 80 2A */ fadds f2, f2, f16 +/* 8032CC00 00329B60 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032CC04 00329B64 D0 1A 00 00 */ stfs f0, 0(r26) +/* 8032CC08 00329B68 28 00 00 00 */ cmplwi r0, 0 +/* 8032CC0C 00329B6C D0 5A 00 04 */ stfs f2, 4(r26) +/* 8032CC10 00329B70 D0 3A 00 08 */ stfs f1, 8(r26) +/* 8032CC14 00329B74 40 82 00 0C */ bne lbl_8032CC20 +/* 8032CC18 00329B78 3A 80 00 00 */ li r20, 0 +/* 8032CC1C 00329B7C 48 00 01 FC */ b lbl_8032CE18 +lbl_8032CC20: +/* 8032CC20 00329B80 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 8032CC24 00329B84 40 82 00 0C */ bne lbl_8032CC30 +/* 8032CC28 00329B88 3A 80 00 01 */ li r20, 1 +/* 8032CC2C 00329B8C 48 00 01 EC */ b lbl_8032CE18 +lbl_8032CC30: +/* 8032CC30 00329B90 38 61 00 08 */ addi r3, r1, 8 +/* 8032CC34 00329B94 38 92 00 6C */ addi r4, r18, 0x6c +/* 8032CC38 00329B98 38 B1 02 0C */ addi r5, r17, 0x20c +/* 8032CC3C 00329B9C 3A 80 00 01 */ li r20, 1 +/* 8032CC40 00329BA0 48 03 65 39 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032CC44 00329BA4 C0 11 01 E8 */ lfs f0, 0x1e8(r17) +/* 8032CC48 00329BA8 FF C0 F8 90 */ fmr f30, f31 +/* 8032CC4C 00329BAC 82 41 00 08 */ lwz r18, 8(r1) +/* 8032CC50 00329BB0 38 60 00 80 */ li r3, 0x80 +/* 8032CC54 00329BB4 EF FF 00 2A */ fadds f31, f31, f0 +/* 8032CC58 00329BB8 38 80 00 00 */ li r4, 0 +/* 8032CC5C 00329BBC 7E 56 93 78 */ mr r22, r18 +/* 8032CC60 00329BC0 38 A0 00 0C */ li r5, 0xc +/* 8032CC64 00329BC4 4B FD B9 21 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8032CC68 00329BC8 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8032CC6C 00329BCC 1C 18 00 0C */ mulli r0, r24, 0xc +/* 8032CC70 00329BD0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8032CC74 00329BD4 C0 5C 00 04 */ lfs f2, 4(r28) +/* 8032CC78 00329BD8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CC7C 00329BDC 7C 9E 02 14 */ add r4, r30, r0 +/* 8032CC80 00329BE0 C0 3C 00 08 */ lfs f1, 8(r28) +/* 8032CC84 00329BE4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8032CC88 00329BE8 7C BF 02 14 */ add r5, r31, r0 +/* 8032CC8C 00329BEC C1 7B 00 00 */ lfs f11, 0(r27) +/* 8032CC90 00329BF0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8032CC94 00329BF4 C0 9B 00 04 */ lfs f4, 4(r27) +/* 8032CC98 00329BF8 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CC9C 00329BFC C0 7B 00 08 */ lfs f3, 8(r27) +/* 8032CCA0 00329C00 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) +/* 8032CCA4 00329C04 C1 E4 00 00 */ lfs f15, 0(r4) +/* 8032CCA8 00329C08 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CCAC 00329C0C C0 C4 00 04 */ lfs f6, 4(r4) +/* 8032CCB0 00329C10 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CCB4 00329C14 C0 A4 00 08 */ lfs f5, 8(r4) +/* 8032CCB8 00329C18 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CCBC 00329C1C C1 A5 00 00 */ lfs f13, 0(r5) +/* 8032CCC0 00329C20 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CCC4 00329C24 C1 05 00 04 */ lfs f8, 4(r5) +/* 8032CCC8 00329C28 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CCCC 00329C2C C0 E5 00 08 */ lfs f7, 8(r5) +/* 8032CCD0 00329C30 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CCD4 00329C34 C1 9A 00 00 */ lfs f12, 0(r26) +/* 8032CCD8 00329C38 C2 11 01 E0 */ lfs f16, 0x1e0(r17) +/* 8032CCDC 00329C3C C1 5A 00 04 */ lfs f10, 4(r26) +/* 8032CCE0 00329C40 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CCE4 00329C44 C1 3A 00 08 */ lfs f9, 8(r26) +/* 8032CCE8 00329C48 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CCEC 00329C4C D1 E3 80 00 */ stfs f15, 0xCC008000@l(r3) +/* 8032CCF0 00329C50 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8032CCF4 00329C54 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CCF8 00329C58 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CCFC 00329C5C C2 11 01 E0 */ lfs f16, 0x1e0(r17) +/* 8032CD00 00329C60 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CD04 00329C64 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CD08 00329C68 D1 A3 80 00 */ stfs f13, 0xCC008000@l(r3) +/* 8032CD0C 00329C6C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 8032CD10 00329C70 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 8032CD14 00329C74 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CD18 00329C78 C2 11 01 D8 */ lfs f16, 0x1d8(r17) +/* 8032CD1C 00329C7C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CD20 00329C80 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CD24 00329C84 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CD28 00329C88 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CD2C 00329C8C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD30 00329C90 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CD34 00329C94 C0 71 01 D8 */ lfs f3, 0x1d8(r17) +/* 8032CD38 00329C98 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CD3C 00329C9C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD40 00329CA0 D1 83 80 00 */ stfs f12, 0xCC008000@l(r3) +/* 8032CD44 00329CA4 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 8032CD48 00329CA8 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 8032CD4C 00329CAC 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CD50 00329CB0 C0 71 01 E0 */ lfs f3, 0x1e0(r17) +/* 8032CD54 00329CB4 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CD58 00329CB8 7C 9D 02 14 */ add r4, r29, r0 +/* 8032CD5C 00329CBC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD60 00329CC0 C1 64 00 00 */ lfs f11, 0(r4) +/* 8032CD64 00329CC4 C0 84 00 04 */ lfs f4, 4(r4) +/* 8032CD68 00329CC8 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CD6C 00329CCC C0 64 00 08 */ lfs f3, 8(r4) +/* 8032CD70 00329CD0 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CD74 00329CD4 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD78 00329CD8 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CD7C 00329CDC C2 11 01 E0 */ lfs f16, 0x1e0(r17) +/* 8032CD80 00329CE0 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CD84 00329CE4 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CD88 00329CE8 D1 E3 80 00 */ stfs f15, 0xCC008000@l(r3) +/* 8032CD8C 00329CEC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8032CD90 00329CF0 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CD94 00329CF4 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CD98 00329CF8 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) +/* 8032CD9C 00329CFC D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CDA0 00329D00 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CDA4 00329D04 D1 83 80 00 */ stfs f12, 0xCC008000@l(r3) +/* 8032CDA8 00329D08 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 8032CDAC 00329D0C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 8032CDB0 00329D10 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CDB4 00329D14 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) +/* 8032CDB8 00329D18 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CDBC 00329D1C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CDC0 00329D20 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CDC4 00329D24 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8032CDC8 00329D28 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8032CDCC 00329D2C 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CDD0 00329D30 C0 11 01 E0 */ lfs f0, 0x1e0(r17) +/* 8032CDD4 00329D34 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CDD8 00329D38 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CDDC 00329D3C D1 A3 80 00 */ stfs f13, 0xCC008000@l(r3) +/* 8032CDE0 00329D40 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 8032CDE4 00329D44 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 8032CDE8 00329D48 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CDEC 00329D4C C0 11 01 E0 */ lfs f0, 0x1e0(r17) +/* 8032CDF0 00329D50 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CDF4 00329D54 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CDF8 00329D58 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CDFC 00329D5C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CE00 00329D60 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CE04 00329D64 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CE08 00329D68 C0 11 01 D8 */ lfs f0, 0x1d8(r17) +/* 8032CE0C 00329D6C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CE10 00329D70 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CE14 00329D74 4B FD B7 6D */ bl End__3CGXFv +lbl_8032CE18: +/* 8032CE18 00329D78 3B 39 00 01 */ addi r25, r25, 1 +/* 8032CE1C 00329D7C 3B 18 00 01 */ addi r24, r24, 1 +/* 8032CE20 00329D80 57 39 07 FE */ clrlwi r25, r25, 0x1f +/* 8032CE24 00329D84 3A 73 00 01 */ addi r19, r19, 1 +/* 8032CE28 00329D88 57 18 07 FE */ clrlwi r24, r24, 0x1f +lbl_8032CE2C: +/* 8032CE2C 00329D8C 80 91 01 60 */ lwz r4, 0x160(r17) +/* 8032CE30 00329D90 7C 13 20 00 */ cmpw r19, r4 +/* 8032CE34 00329D94 41 80 FB 44 */ blt lbl_8032C978 +/* 8032CE38 00329D98 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 8032CE3C 00329D9C 38 60 00 00 */ li r3, 0 +/* 8032CE40 00329DA0 2C 05 00 00 */ cmpwi r5, 0 +/* 8032CE44 00329DA4 40 81 00 40 */ ble lbl_8032CE84 +/* 8032CE48 00329DA8 2C 05 00 08 */ cmpwi r5, 8 +/* 8032CE4C 00329DAC 38 85 FF F8 */ addi r4, r5, -8 +/* 8032CE50 00329DB0 40 81 00 20 */ ble lbl_8032CE70 +/* 8032CE54 00329DB4 38 04 00 07 */ addi r0, r4, 7 +/* 8032CE58 00329DB8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8032CE5C 00329DBC 7C 09 03 A6 */ mtctr r0 +/* 8032CE60 00329DC0 2C 04 00 00 */ cmpwi r4, 0 +/* 8032CE64 00329DC4 40 81 00 0C */ ble lbl_8032CE70 +lbl_8032CE68: +/* 8032CE68 00329DC8 38 63 00 08 */ addi r3, r3, 8 +/* 8032CE6C 00329DCC 42 00 FF FC */ bdnz lbl_8032CE68 +lbl_8032CE70: +/* 8032CE70 00329DD0 7C 03 28 50 */ subf r0, r3, r5 +/* 8032CE74 00329DD4 7C 09 03 A6 */ mtctr r0 +/* 8032CE78 00329DD8 7C 03 28 00 */ cmpw r3, r5 +/* 8032CE7C 00329DDC 40 80 00 08 */ bge lbl_8032CE84 +lbl_8032CE80: +/* 8032CE80 00329DE0 42 00 00 00 */ bdnz lbl_8032CE80 +lbl_8032CE84: +/* 8032CE84 00329DE4 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 8032CE88 00329DE8 38 60 00 00 */ li r3, 0 +/* 8032CE8C 00329DEC 90 61 00 54 */ stw r3, 0x54(r1) +/* 8032CE90 00329DF0 2C 05 00 00 */ cmpwi r5, 0 +/* 8032CE94 00329DF4 40 81 00 40 */ ble lbl_8032CED4 +/* 8032CE98 00329DF8 2C 05 00 08 */ cmpwi r5, 8 +/* 8032CE9C 00329DFC 38 85 FF F8 */ addi r4, r5, -8 +/* 8032CEA0 00329E00 40 81 00 20 */ ble lbl_8032CEC0 +/* 8032CEA4 00329E04 38 04 00 07 */ addi r0, r4, 7 +/* 8032CEA8 00329E08 54 00 E8 FE */ srwi r0, r0, 3 +/* 8032CEAC 00329E0C 7C 09 03 A6 */ mtctr r0 +/* 8032CEB0 00329E10 2C 04 00 00 */ cmpwi r4, 0 +/* 8032CEB4 00329E14 40 81 00 0C */ ble lbl_8032CEC0 +lbl_8032CEB8: +/* 8032CEB8 00329E18 38 63 00 08 */ addi r3, r3, 8 +/* 8032CEBC 00329E1C 42 00 FF FC */ bdnz lbl_8032CEB8 +lbl_8032CEC0: +/* 8032CEC0 00329E20 7C 03 28 50 */ subf r0, r3, r5 +/* 8032CEC4 00329E24 7C 09 03 A6 */ mtctr r0 +/* 8032CEC8 00329E28 7C 03 28 00 */ cmpw r3, r5 +/* 8032CECC 00329E2C 40 80 00 08 */ bge lbl_8032CED4 +lbl_8032CED0: +/* 8032CED0 00329E30 42 00 00 00 */ bdnz lbl_8032CED0 +lbl_8032CED4: +/* 8032CED4 00329E34 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 8032CED8 00329E38 38 60 00 00 */ li r3, 0 +/* 8032CEDC 00329E3C 90 61 00 70 */ stw r3, 0x70(r1) +/* 8032CEE0 00329E40 2C 05 00 00 */ cmpwi r5, 0 +/* 8032CEE4 00329E44 40 81 00 40 */ ble lbl_8032CF24 +/* 8032CEE8 00329E48 2C 05 00 08 */ cmpwi r5, 8 +/* 8032CEEC 00329E4C 38 85 FF F8 */ addi r4, r5, -8 +/* 8032CEF0 00329E50 40 81 00 20 */ ble lbl_8032CF10 +/* 8032CEF4 00329E54 38 04 00 07 */ addi r0, r4, 7 +/* 8032CEF8 00329E58 54 00 E8 FE */ srwi r0, r0, 3 +/* 8032CEFC 00329E5C 7C 09 03 A6 */ mtctr r0 +/* 8032CF00 00329E60 2C 04 00 00 */ cmpwi r4, 0 +/* 8032CF04 00329E64 40 81 00 0C */ ble lbl_8032CF10 +lbl_8032CF08: +/* 8032CF08 00329E68 38 63 00 08 */ addi r3, r3, 8 +/* 8032CF0C 00329E6C 42 00 FF FC */ bdnz lbl_8032CF08 +lbl_8032CF10: +/* 8032CF10 00329E70 7C 03 28 50 */ subf r0, r3, r5 +/* 8032CF14 00329E74 7C 09 03 A6 */ mtctr r0 +/* 8032CF18 00329E78 7C 03 28 00 */ cmpw r3, r5 +/* 8032CF1C 00329E7C 40 80 00 08 */ bge lbl_8032CF24 +lbl_8032CF20: +/* 8032CF20 00329E80 42 00 00 00 */ bdnz lbl_8032CF20 +lbl_8032CF24: +/* 8032CF24 00329E84 38 00 00 00 */ li r0, 0 +/* 8032CF28 00329E88 90 01 00 8C */ stw r0, 0x8c(r1) +lbl_8032CF2C: +/* 8032CF2C 00329E8C E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 +/* 8032CF30 00329E90 CB E1 02 00 */ lfd f31, 0x200(r1) +/* 8032CF34 00329E94 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 +/* 8032CF38 00329E98 CB C1 01 F0 */ lfd f30, 0x1f0(r1) +/* 8032CF3C 00329E9C E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 +/* 8032CF40 00329EA0 CB A1 01 E0 */ lfd f29, 0x1e0(r1) +/* 8032CF44 00329EA4 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 +/* 8032CF48 00329EA8 CB 81 01 D0 */ lfd f28, 0x1d0(r1) +/* 8032CF4C 00329EAC E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 +/* 8032CF50 00329EB0 CB 61 01 C0 */ lfd f27, 0x1c0(r1) +/* 8032CF54 00329EB4 E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 +/* 8032CF58 00329EB8 CB 41 01 B0 */ lfd f26, 0x1b0(r1) +/* 8032CF5C 00329EBC E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 +/* 8032CF60 00329EC0 CB 21 01 A0 */ lfd f25, 0x1a0(r1) +/* 8032CF64 00329EC4 E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0 +/* 8032CF68 00329EC8 CB 01 01 90 */ lfd f24, 0x190(r1) +/* 8032CF6C 00329ECC E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0 +/* 8032CF70 00329ED0 CA E1 01 80 */ lfd f23, 0x180(r1) +/* 8032CF74 00329ED4 E2 C1 01 78 */ psq_l f22, 376(r1), 0, qr0 +/* 8032CF78 00329ED8 CA C1 01 70 */ lfd f22, 0x170(r1) +/* 8032CF7C 00329EDC E2 A1 01 68 */ psq_l f21, 360(r1), 0, qr0 +/* 8032CF80 00329EE0 CA A1 01 60 */ lfd f21, 0x160(r1) +/* 8032CF84 00329EE4 E2 81 01 58 */ psq_l f20, 344(r1), 0, qr0 +/* 8032CF88 00329EE8 CA 81 01 50 */ lfd f20, 0x150(r1) +/* 8032CF8C 00329EEC E2 61 01 48 */ psq_l f19, 328(r1), 0, qr0 +/* 8032CF90 00329EF0 CA 61 01 40 */ lfd f19, 0x140(r1) +/* 8032CF94 00329EF4 E2 41 01 38 */ psq_l f18, 312(r1), 0, qr0 +/* 8032CF98 00329EF8 CA 41 01 30 */ lfd f18, 0x130(r1) +/* 8032CF9C 00329EFC E2 21 01 28 */ psq_l f17, 296(r1), 0, qr0 +/* 8032CFA0 00329F00 CA 21 01 20 */ lfd f17, 0x120(r1) +/* 8032CFA4 00329F04 E2 01 01 18 */ psq_l f16, 280(r1), 0, qr0 +/* 8032CFA8 00329F08 CA 01 01 10 */ lfd f16, 0x110(r1) +/* 8032CFAC 00329F0C E1 E1 01 08 */ psq_l f15, 264(r1), 0, qr0 +/* 8032CFB0 00329F10 C9 E1 01 00 */ lfd f15, 0x100(r1) +/* 8032CFB4 00329F14 BA 21 00 C4 */ lmw r17, 0xc4(r1) +/* 8032CFB8 00329F18 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8032CFBC 00329F1C 7C 08 03 A6 */ mtlr r0 +/* 8032CFC0 00329F20 38 21 02 10 */ addi r1, r1, 0x210 +/* 8032CFC4 00329F24 4E 80 00 20 */ blr + +.global Render2SidedSpline__15CParticleSwooshFv +Render2SidedSpline__15CParticleSwooshFv: +/* 8032CFC8 00329F28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032CFCC 00329F2C 7C 08 02 A6 */ mflr r0 +/* 8032CFD0 00329F30 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032CFD4 00329F34 4B FF DE C9 */ bl RenderNSidedSpline__15CParticleSwooshFv +/* 8032CFD8 00329F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032CFDC 00329F3C 7C 08 03 A6 */ mtlr r0 +/* 8032CFE0 00329F40 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032CFE4 00329F44 4E 80 00 20 */ blr + +.global Render2SidedNoSplineGaps__15CParticleSwooshFv +Render2SidedNoSplineGaps__15CParticleSwooshFv: +/* 8032CFE8 00329F48 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8032CFEC 00329F4C 7C 08 02 A6 */ mflr r0 +/* 8032CFF0 00329F50 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8032CFF4 00329F54 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8032CFF8 00329F58 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8032CFFC 00329F5C DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8032D000 00329F60 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8032D004 00329F64 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8032D008 00329F68 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8032D00C 00329F6C BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8032D010 00329F70 7C 7C 1B 78 */ mr r28, r3 +/* 8032D014 00329F74 3B C0 00 00 */ li r30, 0 +/* 8032D018 00329F78 83 A3 01 58 */ lwz r29, 0x158(r3) +/* 8032D01C 00329F7C 3B E0 00 00 */ li r31, 0 +/* 8032D020 00329F80 48 00 02 DC */ b lbl_8032D2FC +lbl_8032D024: +/* 8032D024 00329F84 80 BC 01 68 */ lwz r5, 0x168(r28) +/* 8032D028 00329F88 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032D02C 00329F8C 7F 83 E3 78 */ mr r3, r28 +/* 8032D030 00329F90 38 9D FF FF */ addi r4, r29, -1 +/* 8032D034 00329F94 7F 65 02 14 */ add r27, r5, r0 +/* 8032D038 00329F98 4B FF DE 25 */ bl WrapIndex__15CParticleSwooshFi +/* 8032D03C 00329F9C 37 BD FF FF */ addic. r29, r29, -1 +/* 8032D040 00329FA0 80 BC 01 68 */ lwz r5, 0x168(r28) +/* 8032D044 00329FA4 54 64 38 30 */ slwi r4, r3, 7 +/* 8032D048 00329FA8 40 80 00 0C */ bge lbl_8032D054 +/* 8032D04C 00329FAC 80 7C 01 60 */ lwz r3, 0x160(r28) +/* 8032D050 00329FB0 3B A3 FF FE */ addi r29, r3, -2 +lbl_8032D054: +/* 8032D054 00329FB4 88 1B 00 00 */ lbz r0, 0(r27) +/* 8032D058 00329FB8 28 00 00 00 */ cmplwi r0, 0 +/* 8032D05C 00329FBC 40 82 00 1C */ bne lbl_8032D078 +/* 8032D060 00329FC0 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 8032D064 00329FC4 28 00 00 01 */ cmplwi r0, 1 +/* 8032D068 00329FC8 40 82 02 90 */ bne lbl_8032D2F8 +/* 8032D06C 00329FCC 3B C0 00 00 */ li r30, 0 +/* 8032D070 00329FD0 4B FD E3 A1 */ bl StreamEnd__9CGraphicsFv +/* 8032D074 00329FD4 48 00 02 84 */ b lbl_8032D2F8 +lbl_8032D078: +/* 8032D078 00329FD8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8032D07C 00329FDC 40 82 00 2C */ bne lbl_8032D0A8 +/* 8032D080 00329FE0 7C 05 20 AE */ lbzx r0, r5, r4 +/* 8032D084 00329FE4 28 00 00 01 */ cmplwi r0, 1 +/* 8032D088 00329FE8 40 82 02 70 */ bne lbl_8032D2F8 +/* 8032D08C 00329FEC 80 7C 01 60 */ lwz r3, 0x160(r28) +/* 8032D090 00329FF0 38 03 FF FE */ addi r0, r3, -2 +/* 8032D094 00329FF4 7C 1F 00 00 */ cmpw r31, r0 +/* 8032D098 00329FF8 40 80 02 60 */ bge lbl_8032D2F8 +/* 8032D09C 00329FFC 3B C0 00 01 */ li r30, 1 +/* 8032D0A0 0032A000 38 60 00 98 */ li r3, 0x98 +/* 8032D0A4 0032A004 4B FD E5 C5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +lbl_8032D0A8: +/* 8032D0A8 0032A008 C0 3B 00 30 */ lfs f1, 0x30(r27) +/* 8032D0AC 0032A00C C0 1B 00 34 */ lfs f0, 0x34(r27) +/* 8032D0B0 0032A010 C0 42 CA FC */ lfs f2, lbl_805AE81C@sda21(r2) +/* 8032D0B4 0032A014 EC 21 00 2A */ fadds f1, f1, f0 +/* 8032D0B8 0032A018 C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032D0BC 0032A01C EC 82 00 72 */ fmuls f4, f2, f1 +/* 8032D0C0 0032A020 FC 20 22 10 */ fabs f1, f4 +/* 8032D0C4 0032A024 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032D0C8 0032A028 40 81 00 64 */ ble lbl_8032D12C +/* 8032D0CC 0032A02C C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032D0D0 0032A030 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D0D4 0032A034 90 01 00 60 */ stw r0, 0x60(r1) +/* 8032D0D8 0032A038 EC 44 00 32 */ fmuls f2, f4, f0 +/* 8032D0DC 0032A03C C8 62 CA F0 */ lfd f3, lbl_805AE810@sda21(r2) +/* 8032D0E0 0032A040 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032D0E4 0032A044 C0 02 CA D0 */ lfs f0, lbl_805AE7F0@sda21(r2) +/* 8032D0E8 0032A048 FC 40 10 1E */ fctiwz f2, f2 +/* 8032D0EC 0032A04C D8 41 00 58 */ stfd f2, 0x58(r1) +/* 8032D0F0 0032A050 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8032D0F4 0032A054 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032D0F8 0032A058 90 01 00 64 */ stw r0, 0x64(r1) +/* 8032D0FC 0032A05C C8 41 00 60 */ lfd f2, 0x60(r1) +/* 8032D100 0032A060 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8032D104 0032A064 EC 62 20 7C */ fnmsubs f3, f2, f1, f4 +/* 8032D108 0032A068 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8032D10C 0032A06C 40 81 00 0C */ ble lbl_8032D118 +/* 8032D110 0032A070 EC 63 08 28 */ fsubs f3, f3, f1 +/* 8032D114 0032A074 48 00 00 1C */ b lbl_8032D130 +lbl_8032D118: +/* 8032D118 0032A078 C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032D11C 0032A07C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8032D120 0032A080 40 80 00 10 */ bge lbl_8032D130 +/* 8032D124 0032A084 EC 61 18 2A */ fadds f3, f1, f3 +/* 8032D128 0032A088 48 00 00 08 */ b lbl_8032D130 +lbl_8032D12C: +/* 8032D12C 0032A08C FC 60 20 90 */ fmr f3, f4 +lbl_8032D130: +/* 8032D130 0032A090 EC E3 00 F2 */ fmuls f7, f3, f3 +/* 8032D134 0032A094 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032D138 0032A098 C3 A2 CA A8 */ lfs f29, lbl_805AE7C8@sda21(r2) +/* 8032D13C 0032A09C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8032D140 0032A0A0 C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) +/* 8032D144 0032A0A4 EC A3 00 32 */ fmuls f5, f3, f0 +/* 8032D148 0032A0A8 EC C3 01 F2 */ fmuls f6, f3, f7 +/* 8032D14C 0032A0AC C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) +/* 8032D150 0032A0B0 EF A7 E8 BA */ fmadds f29, f7, f2, f29 +/* 8032D154 0032A0B4 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) +/* 8032D158 0032A0B8 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032D15C 0032A0BC C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032D160 0032A0C0 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D164 0032A0C4 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) +/* 8032D168 0032A0C8 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D16C 0032A0CC C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) +/* 8032D170 0032A0D0 EF A4 E8 BA */ fmadds f29, f4, f2, f29 +/* 8032D174 0032A0D4 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) +/* 8032D178 0032A0D8 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D17C 0032A0DC C1 1B 00 04 */ lfs f8, 4(r27) +/* 8032D180 0032A0E0 EC A6 28 3A */ fmadds f5, f6, f0, f5 +/* 8032D184 0032A0E4 C3 DB 00 08 */ lfs f30, 8(r27) +/* 8032D188 0032A0E8 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D18C 0032A0EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D190 0032A0F0 EF A4 E8 FA */ fmadds f29, f4, f3, f29 +/* 8032D194 0032A0F4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8032D198 0032A0F8 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D19C 0032A0FC 38 9B 00 38 */ addi r4, r27, 0x38 +/* 8032D1A0 0032A100 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D1A4 0032A104 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8032D1A8 0032A108 FC 00 28 50 */ fneg f0, f5 +/* 8032D1AC 0032A10C EF A4 E8 BA */ fmadds f29, f4, f2, f29 +/* 8032D1B0 0032A110 EC 28 01 72 */ fmuls f1, f8, f5 +/* 8032D1B4 0032A114 EF FE 00 32 */ fmuls f31, f30, f0 +/* 8032D1B8 0032A118 EC 08 07 72 */ fmuls f0, f8, f29 +/* 8032D1BC 0032A11C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8032D1C0 0032A120 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8032D1C4 0032A124 4B FE 59 25 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D1C8 0032A128 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 8032D1CC 0032A12C FC 00 E8 50 */ fneg f0, f29 +/* 8032D1D0 0032A130 C0 7B 00 10 */ lfs f3, 0x10(r27) +/* 8032D1D4 0032A134 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032D1D8 0032A138 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8032D1DC 0032A13C 38 9B 00 38 */ addi r4, r27, 0x38 +/* 8032D1E0 0032A140 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 8032D1E4 0032A144 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 8032D1E8 0032A148 ED 05 18 2A */ fadds f8, f5, f3 +/* 8032D1EC 0032A14C C0 7B 00 0C */ lfs f3, 0xc(r27) +/* 8032D1F0 0032A150 EC C2 08 2A */ fadds f6, f2, f1 +/* 8032D1F4 0032A154 C0 FB 00 28 */ lfs f7, 0x28(r27) +/* 8032D1F8 0032A158 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8032D1FC 0032A15C C0 BB 00 2C */ lfs f5, 0x2c(r27) +/* 8032D200 0032A160 C0 5B 00 24 */ lfs f2, 0x24(r27) +/* 8032D204 0032A164 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032D208 0032A168 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032D20C 0032A16C C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D210 0032A170 EC 86 28 2A */ fadds f4, f6, f5 +/* 8032D214 0032A174 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8032D218 0032A178 EC 23 10 2A */ fadds f1, f3, f2 +/* 8032D21C 0032A17C D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 8032D220 0032A180 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032D224 0032A184 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8032D228 0032A188 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 8032D22C 0032A18C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8032D230 0032A190 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 8032D234 0032A194 4B FE 58 B5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D238 0032A198 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8032D23C 0032A19C 38 61 00 08 */ addi r3, r1, 8 +/* 8032D240 0032A1A0 C0 5B 00 10 */ lfs f2, 0x10(r27) +/* 8032D244 0032A1A4 38 9B 00 6C */ addi r4, r27, 0x6c +/* 8032D248 0032A1A8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8032D24C 0032A1AC 38 BC 02 0C */ addi r5, r28, 0x20c +/* 8032D250 0032A1B0 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 8032D254 0032A1B4 EC A3 10 2A */ fadds f5, f3, f2 +/* 8032D258 0032A1B8 C0 7B 00 28 */ lfs f3, 0x28(r27) +/* 8032D25C 0032A1BC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8032D260 0032A1C0 EC 81 00 2A */ fadds f4, f1, f0 +/* 8032D264 0032A1C4 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 8032D268 0032A1C8 EC A5 18 2A */ fadds f5, f5, f3 +/* 8032D26C 0032A1CC C0 7B 00 2C */ lfs f3, 0x2c(r27) +/* 8032D270 0032A1D0 C0 1B 00 24 */ lfs f0, 0x24(r27) +/* 8032D274 0032A1D4 EC 22 08 2A */ fadds f1, f2, f1 +/* 8032D278 0032A1D8 EC 44 18 2A */ fadds f2, f4, f3 +/* 8032D27C 0032A1DC D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8032D280 0032A1E0 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032D284 0032A1E4 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8032D288 0032A1E8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8032D28C 0032A1EC 48 03 5E ED */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032D290 0032A1F0 80 61 00 08 */ lwz r3, 8(r1) +/* 8032D294 0032A1F4 4B FD E2 D9 */ bl StreamColor__9CGraphicsFUi +/* 8032D298 0032A1F8 C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) +/* 8032D29C 0032A1FC C0 5C 01 D8 */ lfs f2, 0x1d8(r28) +/* 8032D2A0 0032A200 4B FD E1 C5 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2A4 0032A204 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032D2A8 0032A208 4B FD E3 19 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D2AC 0032A20C C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) +/* 8032D2B0 0032A210 C0 5C 01 E0 */ lfs f2, 0x1e0(r28) +/* 8032D2B4 0032A214 4B FD E1 B1 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2B8 0032A218 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032D2BC 0032A21C 4B FD E3 05 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D2C0 0032A220 80 7C 01 60 */ lwz r3, 0x160(r28) +/* 8032D2C4 0032A224 38 03 FF FF */ addi r0, r3, -1 +/* 8032D2C8 0032A228 7C 1F 00 00 */ cmpw r31, r0 +/* 8032D2CC 0032A22C 40 80 00 2C */ bge lbl_8032D2F8 +/* 8032D2D0 0032A230 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032D2D4 0032A234 C0 5C 01 D8 */ lfs f2, 0x1d8(r28) +/* 8032D2D8 0032A238 4B FD E1 8D */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2DC 0032A23C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032D2E0 0032A240 4B FD E2 E1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D2E4 0032A244 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032D2E8 0032A248 C0 5C 01 E0 */ lfs f2, 0x1e0(r28) +/* 8032D2EC 0032A24C 4B FD E1 79 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2F0 0032A250 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032D2F4 0032A254 4B FD E2 CD */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032D2F8: +/* 8032D2F8 0032A258 3B FF 00 01 */ addi r31, r31, 1 +lbl_8032D2FC: +/* 8032D2FC 0032A25C 80 1C 01 60 */ lwz r0, 0x160(r28) +/* 8032D300 0032A260 7C 1F 00 00 */ cmpw r31, r0 +/* 8032D304 0032A264 41 80 FD 20 */ blt lbl_8032D024 +/* 8032D308 0032A268 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 8032D30C 0032A26C 28 00 00 01 */ cmplwi r0, 1 +/* 8032D310 0032A270 40 82 00 08 */ bne lbl_8032D318 +/* 8032D314 0032A274 4B FD E0 FD */ bl StreamEnd__9CGraphicsFv +lbl_8032D318: +/* 8032D318 0032A278 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8032D31C 0032A27C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8032D320 0032A280 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8032D324 0032A284 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8032D328 0032A288 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8032D32C 0032A28C CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8032D330 0032A290 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8032D334 0032A294 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8032D338 0032A298 7C 08 03 A6 */ mtlr r0 +/* 8032D33C 0032A29C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8032D340 0032A2A0 4E 80 00 20 */ blr + +.global Render2SidedNoSplineNoGaps__15CParticleSwooshFv +Render2SidedNoSplineNoGaps__15CParticleSwooshFv: +/* 8032D344 0032A2A4 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 8032D348 0032A2A8 7C 08 02 A6 */ mflr r0 +/* 8032D34C 0032A2AC 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 8032D350 0032A2B0 DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 8032D354 0032A2B4 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 8032D358 0032A2B8 DB C1 02 A0 */ stfd f30, 0x2a0(r1) +/* 8032D35C 0032A2BC F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 +/* 8032D360 0032A2C0 DB A1 02 90 */ stfd f29, 0x290(r1) +/* 8032D364 0032A2C4 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 +/* 8032D368 0032A2C8 DB 81 02 80 */ stfd f28, 0x280(r1) +/* 8032D36C 0032A2CC F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 +/* 8032D370 0032A2D0 DB 61 02 70 */ stfd f27, 0x270(r1) +/* 8032D374 0032A2D4 F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 +/* 8032D378 0032A2D8 DB 41 02 60 */ stfd f26, 0x260(r1) +/* 8032D37C 0032A2DC F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 +/* 8032D380 0032A2E0 DB 21 02 50 */ stfd f25, 0x250(r1) +/* 8032D384 0032A2E4 F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 +/* 8032D388 0032A2E8 BF 61 02 3C */ stmw r27, 0x23c(r1) +/* 8032D38C 0032A2EC 7C 7B 1B 78 */ mr r27, r3 +/* 8032D390 0032A2F0 38 60 00 98 */ li r3, 0x98 +/* 8032D394 0032A2F4 4B FD E2 D5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032D398 0032A2F8 80 7B 00 24 */ lwz r3, 0x24(r27) +/* 8032D39C 0032A2FC 83 DB 01 AC */ lwz r30, 0x1ac(r27) +/* 8032D3A0 0032A300 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8032D3A4 0032A304 83 BB 01 58 */ lwz r29, 0x158(r27) +/* 8032D3A8 0032A308 28 00 00 00 */ cmplwi r0, 0 +/* 8032D3AC 0032A30C C3 22 CA 94 */ lfs f25, lbl_805AE7B4@sda21(r2) +/* 8032D3B0 0032A310 41 82 06 6C */ beq lbl_8032DA1C +/* 8032D3B4 0032A314 88 03 00 45 */ lbz r0, 0x45(r3) +/* 8032D3B8 0032A318 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8032D3BC 0032A31C 41 82 03 6C */ beq lbl_8032D728 +/* 8032D3C0 0032A320 38 61 01 04 */ addi r3, r1, 0x104 +/* 8032D3C4 0032A324 38 9B 00 A4 */ addi r4, r27, 0xa4 +/* 8032D3C8 0032A328 4B FE 5D 79 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8032D3CC 0032A32C 38 61 01 34 */ addi r3, r1, 0x134 +/* 8032D3D0 0032A330 38 81 01 04 */ addi r4, r1, 0x104 +/* 8032D3D4 0032A334 38 BB 00 B0 */ addi r5, r27, 0xb0 +/* 8032D3D8 0032A338 4B FE 55 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032D3DC 0032A33C 38 61 01 64 */ addi r3, r1, 0x164 +/* 8032D3E0 0032A340 38 81 01 34 */ addi r4, r1, 0x134 +/* 8032D3E4 0032A344 38 BB 00 EC */ addi r5, r27, 0xec +/* 8032D3E8 0032A348 4B FE 55 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032D3EC 0032A34C 38 61 01 94 */ addi r3, r1, 0x194 +/* 8032D3F0 0032A350 38 81 01 64 */ addi r4, r1, 0x164 +/* 8032D3F4 0032A354 4B FE 52 ED */ bl GetInverse__12CTransform4fCFv +/* 8032D3F8 0032A358 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 8032D3FC 0032A35C 38 81 01 94 */ addi r4, r1, 0x194 +/* 8032D400 0032A360 4B FE 57 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032D404 0032A364 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8032D408 0032A368 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8032D40C 0032A36C 38 A4 61 D4 */ addi r5, r4, lbl_805A61D4@l +/* 8032D410 0032A370 38 81 01 F4 */ addi r4, r1, 0x1f4 +/* 8032D414 0032A374 4B FE 55 3D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032D418 0032A378 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 8032D41C 0032A37C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 8032D420 0032A380 4B FE 57 55 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032D424 0032A384 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032D428 0032A388 C7 83 66 A0 */ lfsu f28, skZero3f@l(r3) +/* 8032D42C 0032A38C C3 E1 01 D0 */ lfs f31, 0x1d0(r1) +/* 8032D430 0032A390 3B 80 00 00 */ li r28, 0 +/* 8032D434 0032A394 C3 C1 01 E0 */ lfs f30, 0x1e0(r1) +/* 8032D438 0032A398 C3 A1 01 F0 */ lfs f29, 0x1f0(r1) +/* 8032D43C 0032A39C C3 63 00 04 */ lfs f27, 4(r3) +/* 8032D440 0032A3A0 C3 43 00 08 */ lfs f26, 8(r3) +/* 8032D444 0032A3A4 48 00 02 D4 */ b lbl_8032D718 +lbl_8032D448: +/* 8032D448 0032A3A8 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032D44C 0032A3AC 80 9B 01 68 */ lwz r4, 0x168(r27) +/* 8032D450 0032A3B0 37 BD FF FF */ addic. r29, r29, -1 +/* 8032D454 0032A3B4 7F E4 02 14 */ add r31, r4, r0 +/* 8032D458 0032A3B8 40 80 00 08 */ bge lbl_8032D460 +/* 8032D45C 0032A3BC 3B A3 FF FF */ addi r29, r3, -1 +lbl_8032D460: +/* 8032D460 0032A3C0 88 1F 00 00 */ lbz r0, 0(r31) +/* 8032D464 0032A3C4 28 00 00 00 */ cmplwi r0, 0 +/* 8032D468 0032A3C8 41 82 02 AC */ beq lbl_8032D714 +/* 8032D46C 0032A3CC 34 BD FF FF */ addic. r5, r29, -1 +/* 8032D470 0032A3D0 3B DE FF FF */ addi r30, r30, -1 +/* 8032D474 0032A3D4 40 80 00 08 */ bge lbl_8032D47C +/* 8032D478 0032A3D8 38 A3 FF FF */ addi r5, r3, -1 +lbl_8032D47C: +/* 8032D47C 0032A3DC 54 A0 38 30 */ slwi r0, r5, 7 +/* 8032D480 0032A3E0 C0 BF 00 10 */ lfs f5, 0x10(r31) +/* 8032D484 0032A3E4 7C 64 02 14 */ add r3, r4, r0 +/* 8032D488 0032A3E8 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 8032D48C 0032A3EC C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8032D490 0032A3F0 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 8032D494 0032A3F4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8032D498 0032A3F8 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8032D49C 0032A3FC C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 8032D4A0 0032A400 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8032D4A4 0032A404 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8032D4A8 0032A408 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8032D4AC 0032A40C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8032D4B0 0032A410 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8032D4B4 0032A414 80 1B 01 58 */ lwz r0, 0x158(r27) +/* 8032D4B8 0032A418 7C 05 00 00 */ cmpw r5, r0 +/* 8032D4BC 0032A41C 40 82 00 4C */ bne lbl_8032D508 +/* 8032D4C0 0032A420 80 7B 01 60 */ lwz r3, 0x160(r27) +/* 8032D4C4 0032A424 38 9D 00 01 */ addi r4, r29, 1 +/* 8032D4C8 0032A428 80 BB 01 68 */ lwz r5, 0x168(r27) +/* 8032D4CC 0032A42C 7C 04 1B D6 */ divw r0, r4, r3 +/* 8032D4D0 0032A430 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8032D4D4 0032A434 7C 00 20 50 */ subf r0, r0, r4 +/* 8032D4D8 0032A438 54 03 38 30 */ slwi r3, r0, 7 +/* 8032D4DC 0032A43C 38 63 00 0C */ addi r3, r3, 0xc +/* 8032D4E0 0032A440 7C 65 1A 14 */ add r3, r5, r3 +/* 8032D4E4 0032A444 C0 43 00 04 */ lfs f2, 4(r3) +/* 8032D4E8 0032A448 C0 23 00 08 */ lfs f1, 8(r3) +/* 8032D4EC 0032A44C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032D4F0 0032A450 EC 45 10 28 */ fsubs f2, f5, f2 +/* 8032D4F4 0032A454 EC 24 08 28 */ fsubs f1, f4, f1 +/* 8032D4F8 0032A458 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8032D4FC 0032A45C D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8032D500 0032A460 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8032D504 0032A464 D0 21 00 D0 */ stfs f1, 0xd0(r1) +lbl_8032D508: +/* 8032D508 0032A468 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8032D50C 0032A46C 4B FE 71 ED */ bl CanBeNormalized__9CVector3fCFv +/* 8032D510 0032A470 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032D514 0032A474 41 82 01 C4 */ beq lbl_8032D6D8 +/* 8032D518 0032A478 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 8032D51C 0032A47C 38 61 00 BC */ addi r3, r1, 0xbc +/* 8032D520 0032A480 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8032D524 0032A484 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8032D528 0032A488 EC BF 10 28 */ fsubs f5, f31, f2 +/* 8032D52C 0032A48C C0 C1 00 CC */ lfs f6, 0xcc(r1) +/* 8032D530 0032A490 EC 9E 08 28 */ fsubs f4, f30, f1 +/* 8032D534 0032A494 C0 E1 00 D0 */ lfs f7, 0xd0(r1) +/* 8032D538 0032A498 EC 7D 00 28 */ fsubs f3, f29, f0 +/* 8032D53C 0032A49C C1 01 00 C8 */ lfs f8, 0xc8(r1) +/* 8032D540 0032A4A0 EC 45 01 B2 */ fmuls f2, f5, f6 +/* 8032D544 0032A4A4 EC 24 01 F2 */ fmuls f1, f4, f7 +/* 8032D548 0032A4A8 EC 03 02 32 */ fmuls f0, f3, f8 +/* 8032D54C 0032A4AC EC 48 11 38 */ fmsubs f2, f8, f4, f2 +/* 8032D550 0032A4B0 EC 26 08 F8 */ fmsubs f1, f6, f3, f1 +/* 8032D554 0032A4B4 EC 07 01 78 */ fmsubs f0, f7, f5, f0 +/* 8032D558 0032A4B8 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 8032D55C 0032A4BC D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8032D560 0032A4C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8032D564 0032A4C4 4B FE 71 95 */ bl CanBeNormalized__9CVector3fCFv +/* 8032D568 0032A4C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032D56C 0032A4CC 41 82 01 6C */ beq lbl_8032D6D8 +/* 8032D570 0032A4D0 38 61 00 BC */ addi r3, r1, 0xbc +/* 8032D574 0032A4D4 4B FE 73 85 */ bl Normalize__9CVector3fFv +/* 8032D578 0032A4D8 C0 61 00 C0 */ lfs f3, 0xc0(r1) +/* 8032D57C 0032A4DC C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 8032D580 0032A4E0 EC 23 06 F2 */ fmuls f1, f3, f27 +/* 8032D584 0032A4E4 C0 81 00 C4 */ lfs f4, 0xc4(r1) +/* 8032D588 0032A4E8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D58C 0032A4EC EC 22 0F 3A */ fmadds f1, f2, f28, f1 +/* 8032D590 0032A4F0 EC 24 0E BA */ fmadds f1, f4, f26, f1 +/* 8032D594 0032A4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032D598 0032A4F8 40 80 00 0C */ bge lbl_8032D5A4 +/* 8032D59C 0032A4FC C0 02 CB 00 */ lfs f0, lbl_805AE820@sda21(r2) +/* 8032D5A0 0032A500 48 00 00 08 */ b lbl_8032D5A8 +lbl_8032D5A4: +/* 8032D5A4 0032A504 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +lbl_8032D5A8: +/* 8032D5A8 0032A508 EF 60 00 F2 */ fmuls f27, f0, f3 +/* 8032D5AC 0032A50C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8032D5B0 0032A510 EF 40 01 32 */ fmuls f26, f0, f4 +/* 8032D5B4 0032A514 C1 1F 00 04 */ lfs f8, 4(r31) +/* 8032D5B8 0032A518 EF 80 00 B2 */ fmuls f28, f0, f2 +/* 8032D5BC 0032A51C C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 8032D5C0 0032A520 EC E1 00 2A */ fadds f7, f1, f0 +/* 8032D5C4 0032A524 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 8032D5C8 0032A528 C0 7F 00 2C */ lfs f3, 0x2c(r31) +/* 8032D5CC 0032A52C EC C8 06 F2 */ fmuls f6, f8, f27 +/* 8032D5D0 0032A530 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8032D5D4 0032A534 EC 48 06 B2 */ fmuls f2, f8, f26 +/* 8032D5D8 0032A538 EC A4 18 2A */ fadds f5, f4, f3 +/* 8032D5DC 0032A53C C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8032D5E0 0032A540 EC C7 30 2A */ fadds f6, f7, f6 +/* 8032D5E4 0032A544 C0 62 CB 00 */ lfs f3, lbl_805AE820@sda21(r2) +/* 8032D5E8 0032A548 EC 81 00 2A */ fadds f4, f1, f0 +/* 8032D5EC 0032A54C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032D5F0 0032A550 EC 08 07 32 */ fmuls f0, f8, f28 +/* 8032D5F4 0032A554 D0 C1 00 B4 */ stfs f6, 0xb4(r1) +/* 8032D5F8 0032A558 EC 25 10 2A */ fadds f1, f5, f2 +/* 8032D5FC 0032A55C 38 9F 00 6C */ addi r4, r31, 0x6c +/* 8032D600 0032A560 38 BB 02 0C */ addi r5, r27, 0x20c +/* 8032D604 0032A564 EC 04 00 2A */ fadds f0, f4, f0 +/* 8032D608 0032A568 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8032D60C 0032A56C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8032D610 0032A570 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8032D614 0032A574 EC 40 06 F2 */ fmuls f2, f0, f27 +/* 8032D618 0032A578 EC 20 06 B2 */ fmuls f1, f0, f26 +/* 8032D61C 0032A57C EC 00 07 32 */ fmuls f0, f0, f28 +/* 8032D620 0032A580 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8032D624 0032A584 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8032D628 0032A588 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8032D62C 0032A58C EC 47 10 2A */ fadds f2, f7, f2 +/* 8032D630 0032A590 EC 25 08 2A */ fadds f1, f5, f1 +/* 8032D634 0032A594 EC 04 00 2A */ fadds f0, f4, f0 +/* 8032D638 0032A598 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8032D63C 0032A59C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8032D640 0032A5A0 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8032D644 0032A5A4 48 03 5B 35 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032D648 0032A5A8 83 E1 00 10 */ lwz r31, 0x10(r1) +/* 8032D64C 0032A5AC 7F E3 FB 78 */ mr r3, r31 +/* 8032D650 0032A5B0 4B FD DF 1D */ bl StreamColor__9CGraphicsFUi +/* 8032D654 0032A5B4 FC 20 C8 90 */ fmr f1, f25 +/* 8032D658 0032A5B8 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D65C 0032A5BC 4B FD DE 09 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D660 0032A5C0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8032D664 0032A5C4 4B FD DF 5D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D668 0032A5C8 FC 20 C8 90 */ fmr f1, f25 +/* 8032D66C 0032A5CC C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D670 0032A5D0 4B FD DD F5 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D674 0032A5D4 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8032D678 0032A5D8 4B FD DF 49 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D67C 0032A5DC C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D680 0032A5E0 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 8032D684 0032A5E4 4C 41 13 82 */ cror 2, 1, 2 +/* 8032D688 0032A5E8 40 82 00 50 */ bne lbl_8032D6D8 +/* 8032D68C 0032A5EC 2C 1E 00 00 */ cmpwi r30, 0 +/* 8032D690 0032A5F0 41 82 00 48 */ beq lbl_8032D6D8 +/* 8032D694 0032A5F4 4B FD DD 7D */ bl StreamEnd__9CGraphicsFv +/* 8032D698 0032A5F8 38 60 00 98 */ li r3, 0x98 +/* 8032D69C 0032A5FC 4B FD DF CD */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032D6A0 0032A600 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D6A4 0032A604 7F E3 FB 78 */ mr r3, r31 +/* 8032D6A8 0032A608 EF 39 00 28 */ fsubs f25, f25, f0 +/* 8032D6AC 0032A60C 4B FD DE C1 */ bl StreamColor__9CGraphicsFUi +/* 8032D6B0 0032A610 FC 20 C8 90 */ fmr f1, f25 +/* 8032D6B4 0032A614 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D6B8 0032A618 4B FD DD AD */ bl StreamTexcoord__9CGraphicsFff +/* 8032D6BC 0032A61C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8032D6C0 0032A620 4B FD DF 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D6C4 0032A624 FC 20 C8 90 */ fmr f1, f25 +/* 8032D6C8 0032A628 C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D6CC 0032A62C 4B FD DD 99 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D6D0 0032A630 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8032D6D4 0032A634 4B FD DE ED */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032D6D8: +/* 8032D6D8 0032A638 80 1B 01 EC */ lwz r0, 0x1ec(r27) +/* 8032D6DC 0032A63C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032D6E0 0032A640 40 81 00 10 */ ble lbl_8032D6F0 +/* 8032D6E4 0032A644 C0 1B 01 E8 */ lfs f0, 0x1e8(r27) +/* 8032D6E8 0032A648 EF 39 00 2A */ fadds f25, f25, f0 +/* 8032D6EC 0032A64C 48 00 00 28 */ b lbl_8032D714 +lbl_8032D6F0: +/* 8032D6F0 0032A650 6F 83 80 00 */ xoris r3, r28, 0x8000 +/* 8032D6F4 0032A654 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D6F8 0032A658 90 61 02 2C */ stw r3, 0x22c(r1) +/* 8032D6FC 0032A65C C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032D700 0032A660 90 01 02 28 */ stw r0, 0x228(r1) +/* 8032D704 0032A664 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) +/* 8032D708 0032A668 C8 01 02 28 */ lfd f0, 0x228(r1) +/* 8032D70C 0032A66C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032D710 0032A670 EF 22 00 32 */ fmuls f25, f2, f0 +lbl_8032D714: +/* 8032D714 0032A674 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8032D718: +/* 8032D718 0032A678 80 7B 01 60 */ lwz r3, 0x160(r27) +/* 8032D71C 0032A67C 7C 1C 18 00 */ cmpw r28, r3 +/* 8032D720 0032A680 41 80 FD 28 */ blt lbl_8032D448 +/* 8032D724 0032A684 48 00 05 30 */ b lbl_8032DC54 +lbl_8032D728: +/* 8032D728 0032A688 3B E0 00 00 */ li r31, 0 +/* 8032D72C 0032A68C 48 00 02 E0 */ b lbl_8032DA0C +lbl_8032D730: +/* 8032D730 0032A690 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032D734 0032A694 80 7B 01 68 */ lwz r3, 0x168(r27) +/* 8032D738 0032A698 37 BD FF FF */ addic. r29, r29, -1 +/* 8032D73C 0032A69C 7F 83 02 14 */ add r28, r3, r0 +/* 8032D740 0032A6A0 40 80 00 08 */ bge lbl_8032D748 +/* 8032D744 0032A6A4 3B A4 FF FF */ addi r29, r4, -1 +lbl_8032D748: +/* 8032D748 0032A6A8 88 1C 00 00 */ lbz r0, 0(r28) +/* 8032D74C 0032A6AC 28 00 00 00 */ cmplwi r0, 0 +/* 8032D750 0032A6B0 41 82 02 B8 */ beq lbl_8032DA08 +/* 8032D754 0032A6B4 C0 3C 00 30 */ lfs f1, 0x30(r28) +/* 8032D758 0032A6B8 3B DE FF FF */ addi r30, r30, -1 +/* 8032D75C 0032A6BC C0 1C 00 34 */ lfs f0, 0x34(r28) +/* 8032D760 0032A6C0 C0 62 CA D0 */ lfs f3, lbl_805AE7F0@sda21(r2) +/* 8032D764 0032A6C4 EC 41 00 2A */ fadds f2, f1, f0 +/* 8032D768 0032A6C8 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) +/* 8032D76C 0032A6CC C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032D770 0032A6D0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8032D774 0032A6D4 EC 82 08 24 */ fdivs f4, f2, f1 +/* 8032D778 0032A6D8 FC 20 22 10 */ fabs f1, f4 +/* 8032D77C 0032A6DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032D780 0032A6E0 40 81 00 5C */ ble lbl_8032D7DC +/* 8032D784 0032A6E4 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032D788 0032A6E8 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D78C 0032A6EC 90 01 02 30 */ stw r0, 0x230(r1) +/* 8032D790 0032A6F0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8032D794 0032A6F4 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032D798 0032A6F8 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032D79C 0032A6FC FC 00 00 1E */ fctiwz f0, f0 +/* 8032D7A0 0032A700 D8 01 02 28 */ stfd f0, 0x228(r1) +/* 8032D7A4 0032A704 80 01 02 2C */ lwz r0, 0x22c(r1) +/* 8032D7A8 0032A708 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032D7AC 0032A70C 90 01 02 34 */ stw r0, 0x234(r1) +/* 8032D7B0 0032A710 C8 01 02 30 */ lfd f0, 0x230(r1) +/* 8032D7B4 0032A714 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032D7B8 0032A718 EC 80 20 7C */ fnmsubs f4, f0, f1, f4 +/* 8032D7BC 0032A71C FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 8032D7C0 0032A720 40 81 00 0C */ ble lbl_8032D7CC +/* 8032D7C4 0032A724 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8032D7C8 0032A728 48 00 00 14 */ b lbl_8032D7DC +lbl_8032D7CC: +/* 8032D7CC 0032A72C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032D7D0 0032A730 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032D7D4 0032A734 40 80 00 08 */ bge lbl_8032D7DC +/* 8032D7D8 0032A738 EC 81 20 2A */ fadds f4, f1, f4 +lbl_8032D7DC: +/* 8032D7DC 0032A73C EC E4 01 32 */ fmuls f7, f4, f4 +/* 8032D7E0 0032A740 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032D7E4 0032A744 C3 62 CA A8 */ lfs f27, lbl_805AE7C8@sda21(r2) +/* 8032D7E8 0032A748 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032D7EC 0032A74C C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) +/* 8032D7F0 0032A750 EC A4 00 32 */ fmuls f5, f4, f0 +/* 8032D7F4 0032A754 EC C4 01 F2 */ fmuls f6, f4, f7 +/* 8032D7F8 0032A758 C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) +/* 8032D7FC 0032A75C EF 67 D8 BA */ fmadds f27, f7, f2, f27 +/* 8032D800 0032A760 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) +/* 8032D804 0032A764 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032D808 0032A768 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032D80C 0032A76C EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D810 0032A770 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) +/* 8032D814 0032A774 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D818 0032A778 C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) +/* 8032D81C 0032A77C EF 64 D8 BA */ fmadds f27, f4, f2, f27 +/* 8032D820 0032A780 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) +/* 8032D824 0032A784 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D828 0032A788 C1 1C 00 04 */ lfs f8, 4(r28) +/* 8032D82C 0032A78C EC A6 28 3A */ fmadds f5, f6, f0, f5 +/* 8032D830 0032A790 C3 5C 00 08 */ lfs f26, 8(r28) +/* 8032D834 0032A794 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D838 0032A798 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D83C 0032A79C EF 64 D8 FA */ fmadds f27, f4, f3, f27 +/* 8032D840 0032A7A0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8032D844 0032A7A4 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D848 0032A7A8 38 9C 00 38 */ addi r4, r28, 0x38 +/* 8032D84C 0032A7AC EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D850 0032A7B0 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8032D854 0032A7B4 FC 00 28 50 */ fneg f0, f5 +/* 8032D858 0032A7B8 EF 64 D8 BA */ fmadds f27, f4, f2, f27 +/* 8032D85C 0032A7BC EC 28 01 72 */ fmuls f1, f8, f5 +/* 8032D860 0032A7C0 EF FA 00 32 */ fmuls f31, f26, f0 +/* 8032D864 0032A7C4 EC 08 06 F2 */ fmuls f0, f8, f27 +/* 8032D868 0032A7C8 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8032D86C 0032A7CC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8032D870 0032A7D0 4B FE 52 79 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D874 0032A7D4 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 8032D878 0032A7D8 FC 00 D8 50 */ fneg f0, f27 +/* 8032D87C 0032A7DC C0 7C 00 10 */ lfs f3, 0x10(r28) +/* 8032D880 0032A7E0 38 61 00 50 */ addi r3, r1, 0x50 +/* 8032D884 0032A7E4 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 8032D888 0032A7E8 38 9C 00 38 */ addi r4, r28, 0x38 +/* 8032D88C 0032A7EC C0 3C 00 14 */ lfs f1, 0x14(r28) +/* 8032D890 0032A7F0 C0 81 00 68 */ lfs f4, 0x68(r1) +/* 8032D894 0032A7F4 ED 05 18 2A */ fadds f8, f5, f3 +/* 8032D898 0032A7F8 C0 7C 00 0C */ lfs f3, 0xc(r28) +/* 8032D89C 0032A7FC EC C2 08 2A */ fadds f6, f2, f1 +/* 8032D8A0 0032A800 C0 FC 00 28 */ lfs f7, 0x28(r28) +/* 8032D8A4 0032A804 EC 3A 00 32 */ fmuls f1, f26, f0 +/* 8032D8A8 0032A808 C0 BC 00 2C */ lfs f5, 0x2c(r28) +/* 8032D8AC 0032A80C C0 5C 00 24 */ lfs f2, 0x24(r28) +/* 8032D8B0 0032A810 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032D8B4 0032A814 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032D8B8 0032A818 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D8BC 0032A81C EC 86 28 2A */ fadds f4, f6, f5 +/* 8032D8C0 0032A820 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8032D8C4 0032A824 EC 23 10 2A */ fadds f1, f3, f2 +/* 8032D8C8 0032A828 D0 E1 00 9C */ stfs f7, 0x9c(r1) +/* 8032D8CC 0032A82C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8032D8D0 0032A830 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8032D8D4 0032A834 D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 8032D8D8 0032A838 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8032D8DC 0032A83C D3 E1 00 4C */ stfs f31, 0x4c(r1) +/* 8032D8E0 0032A840 4B FE 52 09 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D8E4 0032A844 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 8032D8E8 0032A848 38 61 00 0C */ addi r3, r1, 0xc +/* 8032D8EC 0032A84C C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 8032D8F0 0032A850 38 9C 00 6C */ addi r4, r28, 0x6c +/* 8032D8F4 0032A854 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 8032D8F8 0032A858 38 BB 02 0C */ addi r5, r27, 0x20c +/* 8032D8FC 0032A85C C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8032D900 0032A860 EC A3 10 2A */ fadds f5, f3, f2 +/* 8032D904 0032A864 C0 7C 00 28 */ lfs f3, 0x28(r28) +/* 8032D908 0032A868 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 8032D90C 0032A86C EC 81 00 2A */ fadds f4, f1, f0 +/* 8032D910 0032A870 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 8032D914 0032A874 EC A5 18 2A */ fadds f5, f5, f3 +/* 8032D918 0032A878 C0 7C 00 2C */ lfs f3, 0x2c(r28) +/* 8032D91C 0032A87C C0 1C 00 24 */ lfs f0, 0x24(r28) +/* 8032D920 0032A880 EC 22 08 2A */ fadds f1, f2, f1 +/* 8032D924 0032A884 EC 44 18 2A */ fadds f2, f4, f3 +/* 8032D928 0032A888 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 8032D92C 0032A88C EC 01 00 2A */ fadds f0, f1, f0 +/* 8032D930 0032A890 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8032D934 0032A894 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8032D938 0032A898 48 03 58 41 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032D93C 0032A89C 83 81 00 0C */ lwz r28, 0xc(r1) +/* 8032D940 0032A8A0 7F 83 E3 78 */ mr r3, r28 +/* 8032D944 0032A8A4 4B FD DC 29 */ bl StreamColor__9CGraphicsFUi +/* 8032D948 0032A8A8 FC 20 C8 90 */ fmr f1, f25 +/* 8032D94C 0032A8AC C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D950 0032A8B0 4B FD DB 15 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D954 0032A8B4 38 61 00 98 */ addi r3, r1, 0x98 +/* 8032D958 0032A8B8 4B FD DC 69 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D95C 0032A8BC FC 20 C8 90 */ fmr f1, f25 +/* 8032D960 0032A8C0 C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D964 0032A8C4 4B FD DB 01 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D968 0032A8C8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8032D96C 0032A8CC 4B FD DC 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D970 0032A8D0 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D974 0032A8D4 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 8032D978 0032A8D8 4C 41 13 82 */ cror 2, 1, 2 +/* 8032D97C 0032A8DC 40 82 00 50 */ bne lbl_8032D9CC +/* 8032D980 0032A8E0 2C 1E 00 00 */ cmpwi r30, 0 +/* 8032D984 0032A8E4 41 82 00 48 */ beq lbl_8032D9CC +/* 8032D988 0032A8E8 4B FD DA 89 */ bl StreamEnd__9CGraphicsFv +/* 8032D98C 0032A8EC 38 60 00 98 */ li r3, 0x98 +/* 8032D990 0032A8F0 4B FD DC D9 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032D994 0032A8F4 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D998 0032A8F8 7F 83 E3 78 */ mr r3, r28 +/* 8032D99C 0032A8FC EF 39 00 28 */ fsubs f25, f25, f0 +/* 8032D9A0 0032A900 4B FD DB CD */ bl StreamColor__9CGraphicsFUi +/* 8032D9A4 0032A904 FC 20 C8 90 */ fmr f1, f25 +/* 8032D9A8 0032A908 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D9AC 0032A90C 4B FD DA B9 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D9B0 0032A910 38 61 00 98 */ addi r3, r1, 0x98 +/* 8032D9B4 0032A914 4B FD DC 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D9B8 0032A918 FC 20 C8 90 */ fmr f1, f25 +/* 8032D9BC 0032A91C C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D9C0 0032A920 4B FD DA A5 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D9C4 0032A924 38 61 00 8C */ addi r3, r1, 0x8c +/* 8032D9C8 0032A928 4B FD DB F9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032D9CC: +/* 8032D9CC 0032A92C 80 1B 01 EC */ lwz r0, 0x1ec(r27) +/* 8032D9D0 0032A930 2C 00 00 00 */ cmpwi r0, 0 +/* 8032D9D4 0032A934 40 81 00 10 */ ble lbl_8032D9E4 +/* 8032D9D8 0032A938 C0 1B 01 E8 */ lfs f0, 0x1e8(r27) +/* 8032D9DC 0032A93C EF 39 00 2A */ fadds f25, f25, f0 +/* 8032D9E0 0032A940 48 00 00 28 */ b lbl_8032DA08 +lbl_8032D9E4: +/* 8032D9E4 0032A944 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 8032D9E8 0032A948 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D9EC 0032A94C 90 61 02 34 */ stw r3, 0x234(r1) +/* 8032D9F0 0032A950 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032D9F4 0032A954 90 01 02 30 */ stw r0, 0x230(r1) +/* 8032D9F8 0032A958 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) +/* 8032D9FC 0032A95C C8 01 02 30 */ lfd f0, 0x230(r1) +/* 8032DA00 0032A960 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032DA04 0032A964 EF 22 00 32 */ fmuls f25, f2, f0 +lbl_8032DA08: +/* 8032DA08 0032A968 3B FF 00 01 */ addi r31, r31, 1 +lbl_8032DA0C: +/* 8032DA0C 0032A96C 80 9B 01 60 */ lwz r4, 0x160(r27) +/* 8032DA10 0032A970 7C 1F 20 00 */ cmpw r31, r4 +/* 8032DA14 0032A974 41 80 FD 1C */ blt lbl_8032D730 +/* 8032DA18 0032A978 48 00 02 3C */ b lbl_8032DC54 +lbl_8032DA1C: +/* 8032DA1C 0032A97C 3B 80 00 00 */ li r28, 0 +/* 8032DA20 0032A980 48 00 02 28 */ b lbl_8032DC48 +lbl_8032DA24: +/* 8032DA24 0032A984 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032DA28 0032A988 80 7B 01 68 */ lwz r3, 0x168(r27) +/* 8032DA2C 0032A98C 37 BD FF FF */ addic. r29, r29, -1 +/* 8032DA30 0032A990 7F C3 02 14 */ add r30, r3, r0 +/* 8032DA34 0032A994 40 80 00 08 */ bge lbl_8032DA3C +/* 8032DA38 0032A998 3B A4 FF FF */ addi r29, r4, -1 +lbl_8032DA3C: +/* 8032DA3C 0032A99C 88 1E 00 00 */ lbz r0, 0(r30) +/* 8032DA40 0032A9A0 28 00 00 00 */ cmplwi r0, 0 +/* 8032DA44 0032A9A4 41 82 02 00 */ beq lbl_8032DC44 +/* 8032DA48 0032A9A8 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 8032DA4C 0032A9AC C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 8032DA50 0032A9B0 C0 62 CA D0 */ lfs f3, lbl_805AE7F0@sda21(r2) +/* 8032DA54 0032A9B4 EC 41 00 2A */ fadds f2, f1, f0 +/* 8032DA58 0032A9B8 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) +/* 8032DA5C 0032A9BC C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032DA60 0032A9C0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8032DA64 0032A9C4 EC 82 08 24 */ fdivs f4, f2, f1 +/* 8032DA68 0032A9C8 FC 20 22 10 */ fabs f1, f4 +/* 8032DA6C 0032A9CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032DA70 0032A9D0 40 81 00 5C */ ble lbl_8032DACC +/* 8032DA74 0032A9D4 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032DA78 0032A9D8 3C 00 43 30 */ lis r0, 0x4330 +/* 8032DA7C 0032A9DC 90 01 02 28 */ stw r0, 0x228(r1) +/* 8032DA80 0032A9E0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8032DA84 0032A9E4 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032DA88 0032A9E8 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032DA8C 0032A9EC FC 00 00 1E */ fctiwz f0, f0 +/* 8032DA90 0032A9F0 D8 01 02 30 */ stfd f0, 0x230(r1) +/* 8032DA94 0032A9F4 80 01 02 34 */ lwz r0, 0x234(r1) +/* 8032DA98 0032A9F8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032DA9C 0032A9FC 90 01 02 2C */ stw r0, 0x22c(r1) +/* 8032DAA0 0032AA00 C8 01 02 28 */ lfd f0, 0x228(r1) +/* 8032DAA4 0032AA04 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032DAA8 0032AA08 EC 80 20 7C */ fnmsubs f4, f0, f1, f4 +/* 8032DAAC 0032AA0C FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 8032DAB0 0032AA10 40 81 00 0C */ ble lbl_8032DABC +/* 8032DAB4 0032AA14 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8032DAB8 0032AA18 48 00 00 14 */ b lbl_8032DACC +lbl_8032DABC: +/* 8032DABC 0032AA1C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032DAC0 0032AA20 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032DAC4 0032AA24 40 80 00 08 */ bge lbl_8032DACC +/* 8032DAC8 0032AA28 EC 81 20 2A */ fadds f4, f1, f4 +lbl_8032DACC: +/* 8032DACC 0032AA2C EC E4 01 32 */ fmuls f7, f4, f4 +/* 8032DAD0 0032AA30 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032DAD4 0032AA34 C3 22 CA A8 */ lfs f25, lbl_805AE7C8@sda21(r2) +/* 8032DAD8 0032AA38 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032DADC 0032AA3C C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) +/* 8032DAE0 0032AA40 EC A4 00 32 */ fmuls f5, f4, f0 +/* 8032DAE4 0032AA44 EC C4 01 F2 */ fmuls f6, f4, f7 +/* 8032DAE8 0032AA48 C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) +/* 8032DAEC 0032AA4C EF 27 C8 BA */ fmadds f25, f7, f2, f25 +/* 8032DAF0 0032AA50 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) +/* 8032DAF4 0032AA54 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032DAF8 0032AA58 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032DAFC 0032AA5C EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032DB00 0032AA60 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) +/* 8032DB04 0032AA64 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032DB08 0032AA68 C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) +/* 8032DB0C 0032AA6C EF 24 C8 BA */ fmadds f25, f4, f2, f25 +/* 8032DB10 0032AA70 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) +/* 8032DB14 0032AA74 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032DB18 0032AA78 C1 1E 00 04 */ lfs f8, 4(r30) +/* 8032DB1C 0032AA7C EC A6 28 3A */ fmadds f5, f6, f0, f5 +/* 8032DB20 0032AA80 C3 5E 00 08 */ lfs f26, 8(r30) +/* 8032DB24 0032AA84 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032DB28 0032AA88 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032DB2C 0032AA8C EF 24 C8 FA */ fmadds f25, f4, f3, f25 +/* 8032DB30 0032AA90 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8032DB34 0032AA94 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032DB38 0032AA98 38 9E 00 38 */ addi r4, r30, 0x38 +/* 8032DB3C 0032AA9C EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032DB40 0032AAA0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8032DB44 0032AAA4 FC 00 28 50 */ fneg f0, f5 +/* 8032DB48 0032AAA8 EF 24 C8 BA */ fmadds f25, f4, f2, f25 +/* 8032DB4C 0032AAAC EC 28 01 72 */ fmuls f1, f8, f5 +/* 8032DB50 0032AAB0 EF FA 00 32 */ fmuls f31, f26, f0 +/* 8032DB54 0032AAB4 EC 08 06 72 */ fmuls f0, f8, f25 +/* 8032DB58 0032AAB8 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8032DB5C 0032AABC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8032DB60 0032AAC0 4B FE 4F 89 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032DB64 0032AAC4 C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 8032DB68 0032AAC8 FC 00 C8 50 */ fneg f0, f25 +/* 8032DB6C 0032AACC C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 8032DB70 0032AAD0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8032DB74 0032AAD4 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 8032DB78 0032AAD8 38 9E 00 38 */ addi r4, r30, 0x38 +/* 8032DB7C 0032AADC C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 8032DB80 0032AAE0 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 8032DB84 0032AAE4 ED 05 18 2A */ fadds f8, f5, f3 +/* 8032DB88 0032AAE8 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 8032DB8C 0032AAEC EC C2 08 2A */ fadds f6, f2, f1 +/* 8032DB90 0032AAF0 C0 FE 00 28 */ lfs f7, 0x28(r30) +/* 8032DB94 0032AAF4 EC 3A 00 32 */ fmuls f1, f26, f0 +/* 8032DB98 0032AAF8 C0 BE 00 2C */ lfs f5, 0x2c(r30) +/* 8032DB9C 0032AAFC C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 8032DBA0 0032AB00 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032DBA4 0032AB04 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032DBA8 0032AB08 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032DBAC 0032AB0C EC 86 28 2A */ fadds f4, f6, f5 +/* 8032DBB0 0032AB10 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8032DBB4 0032AB14 EC 23 10 2A */ fadds f1, f3, f2 +/* 8032DBB8 0032AB18 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 8032DBBC 0032AB1C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8032DBC0 0032AB20 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8032DBC4 0032AB24 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 8032DBC8 0032AB28 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8032DBCC 0032AB2C D3 E1 00 1C */ stfs f31, 0x1c(r1) +/* 8032DBD0 0032AB30 4B FE 4F 19 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032DBD4 0032AB34 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8032DBD8 0032AB38 38 61 00 08 */ addi r3, r1, 8 +/* 8032DBDC 0032AB3C C0 5E 00 10 */ lfs f2, 0x10(r30) +/* 8032DBE0 0032AB40 38 9E 00 6C */ addi r4, r30, 0x6c +/* 8032DBE4 0032AB44 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8032DBE8 0032AB48 38 BB 02 0C */ addi r5, r27, 0x20c +/* 8032DBEC 0032AB4C C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8032DBF0 0032AB50 EC A3 10 2A */ fadds f5, f3, f2 +/* 8032DBF4 0032AB54 C0 7E 00 28 */ lfs f3, 0x28(r30) +/* 8032DBF8 0032AB58 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8032DBFC 0032AB5C EC 81 00 2A */ fadds f4, f1, f0 +/* 8032DC00 0032AB60 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8032DC04 0032AB64 EC A5 18 2A */ fadds f5, f5, f3 +/* 8032DC08 0032AB68 C0 7E 00 2C */ lfs f3, 0x2c(r30) +/* 8032DC0C 0032AB6C C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8032DC10 0032AB70 EC 22 08 2A */ fadds f1, f2, f1 +/* 8032DC14 0032AB74 EC 44 18 2A */ fadds f2, f4, f3 +/* 8032DC18 0032AB78 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 8032DC1C 0032AB7C EC 01 00 2A */ fadds f0, f1, f0 +/* 8032DC20 0032AB80 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8032DC24 0032AB84 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8032DC28 0032AB88 48 03 55 51 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032DC2C 0032AB8C 80 61 00 08 */ lwz r3, 8(r1) +/* 8032DC30 0032AB90 4B FD D9 3D */ bl StreamColor__9CGraphicsFUi +/* 8032DC34 0032AB94 38 61 00 80 */ addi r3, r1, 0x80 +/* 8032DC38 0032AB98 4B FD D9 89 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032DC3C 0032AB9C 38 61 00 74 */ addi r3, r1, 0x74 +/* 8032DC40 0032ABA0 4B FD D9 81 */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032DC44: +/* 8032DC44 0032ABA4 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8032DC48: +/* 8032DC48 0032ABA8 80 9B 01 60 */ lwz r4, 0x160(r27) +/* 8032DC4C 0032ABAC 7C 1C 20 00 */ cmpw r28, r4 +/* 8032DC50 0032ABB0 41 80 FD D4 */ blt lbl_8032DA24 +lbl_8032DC54: +/* 8032DC54 0032ABB4 4B FD D7 BD */ bl StreamEnd__9CGraphicsFv +/* 8032DC58 0032ABB8 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 8032DC5C 0032ABBC CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 8032DC60 0032ABC0 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 +/* 8032DC64 0032ABC4 CB C1 02 A0 */ lfd f30, 0x2a0(r1) +/* 8032DC68 0032ABC8 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 +/* 8032DC6C 0032ABCC CB A1 02 90 */ lfd f29, 0x290(r1) +/* 8032DC70 0032ABD0 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 +/* 8032DC74 0032ABD4 CB 81 02 80 */ lfd f28, 0x280(r1) +/* 8032DC78 0032ABD8 E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 +/* 8032DC7C 0032ABDC CB 61 02 70 */ lfd f27, 0x270(r1) +/* 8032DC80 0032ABE0 E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 +/* 8032DC84 0032ABE4 CB 41 02 60 */ lfd f26, 0x260(r1) +/* 8032DC88 0032ABE8 E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 +/* 8032DC8C 0032ABEC CB 21 02 50 */ lfd f25, 0x250(r1) +/* 8032DC90 0032ABF0 BB 61 02 3C */ lmw r27, 0x23c(r1) +/* 8032DC94 0032ABF4 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 8032DC98 0032ABF8 7C 08 03 A6 */ mtlr r0 +/* 8032DC9C 0032ABFC 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 8032DCA0 0032AC00 4E 80 00 20 */ blr + +.global Render__15CParticleSwooshFv +Render__15CParticleSwooshFv: +/* 8032DCA4 0032AC04 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8032DCA8 0032AC08 7C 08 02 A6 */ mflr r0 +/* 8032DCAC 0032AC0C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8032DCB0 0032AC10 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 8032DCB4 0032AC14 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8032DCB8 0032AC18 93 A1 01 34 */ stw r29, 0x134(r1) +/* 8032DCBC 0032AC1C 7C 7D 1B 78 */ mr r29, r3 +/* 8032DCC0 0032AC20 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032DCC4 0032AC24 2C 00 00 02 */ cmpwi r0, 2 +/* 8032DCC8 0032AC28 41 80 03 48 */ blt lbl_8032E010 +/* 8032DCCC 0032AC2C 80 1D 01 AC */ lwz r0, 0x1ac(r29) +/* 8032DCD0 0032AC30 2C 00 00 01 */ cmpwi r0, 1 +/* 8032DCD4 0032AC34 40 81 03 3C */ ble lbl_8032E010 +/* 8032DCD8 0032AC38 48 05 76 D1 */ bl OSGetTime +/* 8032DCDC 0032AC3C 7C 7F 1B 78 */ mr r31, r3 +/* 8032DCE0 0032AC40 80 7D 01 B4 */ lwz r3, 0x1b4(r29) +/* 8032DCE4 0032AC44 7C 9E 23 78 */ mr r30, r4 +/* 8032DCE8 0032AC48 4B FF CA 91 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8032DCEC 0032AC4C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8032DCF0 0032AC50 38 9D 01 C0 */ addi r4, r29, 0x1c0 +/* 8032DCF4 0032AC54 4B FE 49 8D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032DCF8 0032AC58 4B FD EC 85 */ bl DisableAllLights__9CGraphicsFv +/* 8032DCFC 0032AC5C 80 BD 00 24 */ lwz r5, 0x24(r29) +/* 8032DD00 0032AC60 38 60 00 01 */ li r3, 1 +/* 8032DD04 0032AC64 38 80 00 03 */ li r4, 3 +/* 8032DD08 0032AC68 88 05 00 45 */ lbz r0, 0x45(r5) +/* 8032DD0C 0032AC6C 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 8032DD10 0032AC70 4B FD DD 85 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8032DD14 0032AC74 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032DD18 0032AC78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8032DD1C 0032AC7C 41 82 00 1C */ beq lbl_8032DD38 +/* 8032DD20 0032AC80 38 60 00 01 */ li r3, 1 +/* 8032DD24 0032AC84 38 80 00 04 */ li r4, 4 +/* 8032DD28 0032AC88 38 A0 00 01 */ li r5, 1 +/* 8032DD2C 0032AC8C 38 C0 00 00 */ li r6, 0 +/* 8032DD30 0032AC90 4B FD DD 21 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8032DD34 0032AC94 48 00 00 18 */ b lbl_8032DD4C +lbl_8032DD38: +/* 8032DD38 0032AC98 38 60 00 01 */ li r3, 1 +/* 8032DD3C 0032AC9C 38 80 00 04 */ li r4, 4 +/* 8032DD40 0032ACA0 38 A0 00 05 */ li r5, 5 +/* 8032DD44 0032ACA4 38 C0 00 00 */ li r6, 0 +/* 8032DD48 0032ACA8 4B FD DD 09 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_8032DD4C: +/* 8032DD4C 0032ACAC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032DD50 0032ACB0 38 9D 01 4C */ addi r4, r29, 0x14c +/* 8032DD54 0032ACB4 4B FE 54 71 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8032DD58 0032ACB8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032DD5C 0032ACBC 38 9D 00 A4 */ addi r4, r29, 0xa4 +/* 8032DD60 0032ACC0 4B FE 53 E1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8032DD64 0032ACC4 38 61 00 98 */ addi r3, r1, 0x98 +/* 8032DD68 0032ACC8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8032DD6C 0032ACCC 38 BD 00 B0 */ addi r5, r29, 0xb0 +/* 8032DD70 0032ACD0 4B FE 4B E1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032DD74 0032ACD4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8032DD78 0032ACD8 38 81 00 98 */ addi r4, r1, 0x98 +/* 8032DD7C 0032ACDC 38 BD 00 EC */ addi r5, r29, 0xec +/* 8032DD80 0032ACE0 4B FE 4B D1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032DD84 0032ACE4 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8032DD88 0032ACE8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8032DD8C 0032ACEC 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8032DD90 0032ACF0 4B FE 4B C1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032DD94 0032ACF4 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8032DD98 0032ACF8 4B FD E8 49 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8032DD9C 0032ACFC 38 60 00 00 */ li r3, 0 +/* 8032DDA0 0032AD00 4B FD DC D1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8032DDA4 0032AD04 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DDA8 0032AD08 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 8032DDAC 0032AD0C 28 04 00 00 */ cmplwi r4, 0 +/* 8032DDB0 0032AD10 41 82 01 7C */ beq lbl_8032DF2C +/* 8032DDB4 0032AD14 81 84 00 00 */ lwz r12, 0(r4) +/* 8032DDB8 0032AD18 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032DDBC 0032AD1C 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 8032DDC0 0032AD20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8032DDC4 0032AD24 7D 89 03 A6 */ mtctr r12 +/* 8032DDC8 0032AD28 4E 80 04 21 */ bctrl +/* 8032DDCC 0032AD2C 38 61 00 08 */ addi r3, r1, 8 +/* 8032DDD0 0032AD30 38 81 00 10 */ addi r4, r1, 0x10 +/* 8032DDD4 0032AD34 48 01 30 D5 */ bl __ct__6CTokenFRC6CToken +/* 8032DDD8 0032AD38 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032DDDC 0032AD3C 38 80 00 00 */ li r4, 0 +/* 8032DDE0 0032AD40 48 01 30 61 */ bl __dt__6CTokenFv +/* 8032DDE4 0032AD44 38 61 00 08 */ addi r3, r1, 8 +/* 8032DDE8 0032AD48 48 01 30 25 */ bl GetObj__6CTokenFv +/* 8032DDEC 0032AD4C 80 63 00 04 */ lwz r3, 4(r3) +/* 8032DDF0 0032AD50 38 80 00 00 */ li r4, 0 +/* 8032DDF4 0032AD54 38 A0 00 01 */ li r5, 1 +/* 8032DDF8 0032AD58 4B FE 19 45 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8032DDFC 0032AD5C 38 61 00 08 */ addi r3, r1, 8 +/* 8032DE00 0032AD60 48 01 30 0D */ bl GetObj__6CTokenFv +/* 8032DE04 0032AD64 80 03 00 04 */ lwz r0, 4(r3) +/* 8032DE08 0032AD68 38 61 00 08 */ addi r3, r1, 8 +/* 8032DE0C 0032AD6C 38 80 00 00 */ li r4, 0 +/* 8032DE10 0032AD70 90 1D 01 E4 */ stw r0, 0x1e4(r29) +/* 8032DE14 0032AD74 48 01 30 2D */ bl __dt__6CTokenFv +/* 8032DE18 0032AD78 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DE1C 0032AD7C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8032DE20 0032AD80 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032DE24 0032AD84 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8032DE28 0032AD88 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DE2C 0032AD8C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032DE30 0032AD90 7D 89 03 A6 */ mtctr r12 +/* 8032DE34 0032AD94 4E 80 04 21 */ bctrl +/* 8032DE38 0032AD98 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8032DE3C 0032AD9C D0 1D 01 D4 */ stfs f0, 0x1d4(r29) +/* 8032DE40 0032ADA0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032DE44 0032ADA4 D0 1D 01 D8 */ stfs f0, 0x1d8(r29) +/* 8032DE48 0032ADA8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8032DE4C 0032ADAC D0 1D 01 DC */ stfs f0, 0x1dc(r29) +/* 8032DE50 0032ADB0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8032DE54 0032ADB4 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) +/* 8032DE58 0032ADB8 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DE5C 0032ADBC 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8032DE60 0032ADC0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DE64 0032ADC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8032DE68 0032ADC8 7D 89 03 A6 */ mtctr r12 +/* 8032DE6C 0032ADCC 4E 80 04 21 */ bctrl +/* 8032DE70 0032ADD0 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032DE74 0032ADD4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8032DE78 0032ADD8 98 1D 01 D0 */ stb r0, 0x1d0(r29) +/* 8032DE7C 0032ADDC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DE80 0032ADE0 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8032DE84 0032ADE4 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DE88 0032ADE8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8032DE8C 0032ADEC 7D 89 03 A6 */ mtctr r12 +/* 8032DE90 0032ADF0 4E 80 04 21 */ bctrl +/* 8032DE94 0032ADF4 88 1D 01 D1 */ lbz r0, 0x1d1(r29) +/* 8032DE98 0032ADF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032DE9C 0032ADFC 98 1D 01 D1 */ stb r0, 0x1d1(r29) +/* 8032DEA0 0032AE00 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DEA4 0032AE04 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8032DEA8 0032AE08 28 03 00 00 */ cmplwi r3, 0 +/* 8032DEAC 0032AE0C 41 82 00 1C */ beq lbl_8032DEC8 +/* 8032DEB0 0032AE10 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DEB4 0032AE14 38 BD 01 EC */ addi r5, r29, 0x1ec +/* 8032DEB8 0032AE18 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032DEBC 0032AE1C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032DEC0 0032AE20 7D 89 03 A6 */ mtctr r12 +/* 8032DEC4 0032AE24 4E 80 04 21 */ bctrl +lbl_8032DEC8: +/* 8032DEC8 0032AE28 80 1D 01 EC */ lwz r0, 0x1ec(r29) +/* 8032DECC 0032AE2C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DED0 0032AE30 41 81 00 10 */ bgt lbl_8032DEE0 +/* 8032DED4 0032AE34 80 7D 01 60 */ lwz r3, 0x160(r29) +/* 8032DED8 0032AE38 38 03 FF FF */ addi r0, r3, -1 +/* 8032DEDC 0032AE3C 90 1D 01 EC */ stw r0, 0x1ec(r29) +lbl_8032DEE0: +/* 8032DEE0 0032AE40 C0 42 CA 90 */ lfs f2, lbl_805AE7B0@sda21(r2) +/* 8032DEE4 0032AE44 D0 5D 01 E8 */ stfs f2, 0x1e8(r29) +/* 8032DEE8 0032AE48 80 1D 01 EC */ lwz r0, 0x1ec(r29) +/* 8032DEEC 0032AE4C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DEF0 0032AE50 40 81 00 28 */ ble lbl_8032DF18 +/* 8032DEF4 0032AE54 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8032DEF8 0032AE58 3C 00 43 30 */ lis r0, 0x4330 +/* 8032DEFC 0032AE5C 90 61 01 2C */ stw r3, 0x12c(r1) +/* 8032DF00 0032AE60 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032DF04 0032AE64 90 01 01 28 */ stw r0, 0x128(r1) +/* 8032DF08 0032AE68 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 8032DF0C 0032AE6C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032DF10 0032AE70 EC 02 00 24 */ fdivs f0, f2, f0 +/* 8032DF14 0032AE74 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) +lbl_8032DF18: +/* 8032DF18 0032AE78 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8032DF1C 0032AE7C 38 60 00 00 */ li r3, 0 +/* 8032DF20 0032AE80 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8032DF24 0032AE84 4B FD C3 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8032DF28 0032AE88 48 00 00 10 */ b lbl_8032DF38 +lbl_8032DF2C: +/* 8032DF2C 0032AE8C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8032DF30 0032AE90 38 60 00 00 */ li r3, 0 +/* 8032DF34 0032AE94 4B FD C3 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_8032DF38: +/* 8032DF38 0032AE98 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8032DF3C 0032AE9C 38 60 00 01 */ li r3, 1 +/* 8032DF40 0032AEA0 4B FD C3 79 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8032DF44 0032AEA4 80 1D 01 B8 */ lwz r0, 0x1b8(r29) +/* 8032DF48 0032AEA8 2C 00 00 02 */ cmpwi r0, 2 +/* 8032DF4C 0032AEAC 40 82 00 40 */ bne lbl_8032DF8C +/* 8032DF50 0032AEB0 80 1D 01 B0 */ lwz r0, 0x1b0(r29) +/* 8032DF54 0032AEB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DF58 0032AEB8 41 81 00 28 */ bgt lbl_8032DF80 +/* 8032DF5C 0032AEBC 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032DF60 0032AEC0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8032DF64 0032AEC4 41 82 00 10 */ beq lbl_8032DF74 +/* 8032DF68 0032AEC8 7F A3 EB 78 */ mr r3, r29 +/* 8032DF6C 0032AECC 4B FF F0 7D */ bl Render2SidedNoSplineGaps__15CParticleSwooshFv +/* 8032DF70 0032AED0 48 00 00 68 */ b lbl_8032DFD8 +lbl_8032DF74: +/* 8032DF74 0032AED4 7F A3 EB 78 */ mr r3, r29 +/* 8032DF78 0032AED8 4B FF F3 CD */ bl Render2SidedNoSplineNoGaps__15CParticleSwooshFv +/* 8032DF7C 0032AEDC 48 00 00 5C */ b lbl_8032DFD8 +lbl_8032DF80: +/* 8032DF80 0032AEE0 7F A3 EB 78 */ mr r3, r29 +/* 8032DF84 0032AEE4 4B FF F0 45 */ bl Render2SidedSpline__15CParticleSwooshFv +/* 8032DF88 0032AEE8 48 00 00 50 */ b lbl_8032DFD8 +lbl_8032DF8C: +/* 8032DF8C 0032AEEC 2C 00 00 03 */ cmpwi r0, 3 +/* 8032DF90 0032AEF0 40 82 00 28 */ bne lbl_8032DFB8 +/* 8032DF94 0032AEF4 80 1D 01 B0 */ lwz r0, 0x1b0(r29) +/* 8032DF98 0032AEF8 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DF9C 0032AEFC 40 81 00 10 */ ble lbl_8032DFAC +/* 8032DFA0 0032AF00 7F A3 EB 78 */ mr r3, r29 +/* 8032DFA4 0032AF04 4B FF DB 1D */ bl Render3SidedSolidSpline__15CParticleSwooshFv +/* 8032DFA8 0032AF08 48 00 00 30 */ b lbl_8032DFD8 +lbl_8032DFAC: +/* 8032DFAC 0032AF0C 7F A3 EB 78 */ mr r3, r29 +/* 8032DFB0 0032AF10 4B FF E6 E9 */ bl Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv +/* 8032DFB4 0032AF14 48 00 00 24 */ b lbl_8032DFD8 +lbl_8032DFB8: +/* 8032DFB8 0032AF18 80 1D 01 B0 */ lwz r0, 0x1b0(r29) +/* 8032DFBC 0032AF1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DFC0 0032AF20 40 81 00 10 */ ble lbl_8032DFD0 +/* 8032DFC4 0032AF24 7F A3 EB 78 */ mr r3, r29 +/* 8032DFC8 0032AF28 4B FF CE D5 */ bl RenderNSidedSpline__15CParticleSwooshFv +/* 8032DFCC 0032AF2C 48 00 00 0C */ b lbl_8032DFD8 +lbl_8032DFD0: +/* 8032DFD0 0032AF30 7F A3 EB 78 */ mr r3, r29 +/* 8032DFD4 0032AF34 4B FF DA CD */ bl RenderNSidedNoSpline__15CParticleSwooshFv +lbl_8032DFD8: +/* 8032DFD8 0032AF38 48 05 73 D1 */ bl OSGetTime +/* 8032DFDC 0032AF3C 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8032DFE0 0032AF40 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8032DFE4 0032AF44 48 05 BF 81 */ bl __cvt_sll_flt +/* 8032DFE8 0032AF48 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha +/* 8032DFEC 0032AF4C 38 60 00 01 */ li r3, 1 +/* 8032DFF0 0032AF50 38 84 FD 30 */ addi r4, r4, mData__10CStopwatch@l +/* 8032DFF4 0032AF54 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8032DFF8 0032AF58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032DFFC 0032AF5C D0 1D 01 C8 */ stfs f0, 0x1c8(r29) +/* 8032E000 0032AF60 4B FD DA 71 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8032E004 0032AF64 38 61 00 2C */ addi r3, r1, 0x2c +/* 8032E008 0032AF68 38 80 FF FF */ li r4, -1 +/* 8032E00C 0032AF6C 4B FE 45 F9 */ bl __dt__13CGlobalRandomFv +lbl_8032E010: +/* 8032E010 0032AF70 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8032E014 0032AF74 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 8032E018 0032AF78 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 8032E01C 0032AF7C 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 8032E020 0032AF80 7C 08 03 A6 */ mtlr r0 +/* 8032E024 0032AF84 38 21 01 40 */ addi r1, r1, 0x140 +/* 8032E028 0032AF88 4E 80 00 20 */ blr + +.global IsSystemDeletable__15CParticleSwooshCFv +IsSystemDeletable__15CParticleSwooshCFv: +/* 8032E02C 0032AF8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032E030 0032AF90 7C 08 02 A6 */ mflr r0 +/* 8032E034 0032AF94 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032E038 0032AF98 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8032E03C 0032AF9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8032E040 0032AFA0 41 82 00 1C */ beq lbl_8032E05C +/* 8032E044 0032AFA4 80 83 00 28 */ lwz r4, 0x28(r3) +/* 8032E048 0032AFA8 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 8032E04C 0032AFAC 7C 04 00 00 */ cmpw r4, r0 +/* 8032E050 0032AFB0 40 80 00 0C */ bge lbl_8032E05C +/* 8032E054 0032AFB4 38 60 00 00 */ li r3, 0 +/* 8032E058 0032AFB8 48 00 00 28 */ b lbl_8032E080 +lbl_8032E05C: +/* 8032E05C 0032AFBC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E060 0032AFC0 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8032E064 0032AFC4 7D 89 03 A6 */ mtctr r12 +/* 8032E068 0032AFC8 4E 80 04 21 */ bctrl +/* 8032E06C 0032AFCC 2C 03 00 02 */ cmpwi r3, 2 +/* 8032E070 0032AFD0 41 80 00 0C */ blt lbl_8032E07C +/* 8032E074 0032AFD4 38 60 00 00 */ li r3, 0 +/* 8032E078 0032AFD8 48 00 00 08 */ b lbl_8032E080 +lbl_8032E07C: +/* 8032E07C 0032AFDC 38 60 00 01 */ li r3, 1 +lbl_8032E080: +/* 8032E080 0032AFE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032E084 0032AFE4 7C 08 03 A6 */ mtlr r0 +/* 8032E088 0032AFE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032E08C 0032AFEC 4E 80 00 20 */ blr + +.global GetModulationColor__15CParticleSwooshCFv +GetModulationColor__15CParticleSwooshCFv: +/* 8032E090 0032AFF0 38 63 02 0C */ addi r3, r3, 0x20c +/* 8032E094 0032AFF4 4E 80 00 20 */ blr + +.global SetModulationColor__15CParticleSwooshFRC6CColor +SetModulationColor__15CParticleSwooshFRC6CColor: +/* 8032E098 0032AFF8 80 04 00 00 */ lwz r0, 0(r4) +/* 8032E09C 0032AFFC 90 03 02 0C */ stw r0, 0x20c(r3) +/* 8032E0A0 0032B000 4E 80 00 20 */ blr + +.global GetParticleCount__15CParticleSwooshCFv +GetParticleCount__15CParticleSwooshCFv: +/* 8032E0A4 0032B004 80 63 01 AC */ lwz r3, 0x1ac(r3) +/* 8032E0A8 0032B008 4E 80 00 20 */ blr + +.global SetLocalScale__15CParticleSwooshFRC9CVector3f +SetLocalScale__15CParticleSwooshFRC9CVector3f: +/* 8032E0AC 0032B00C C0 04 00 00 */ lfs f0, 0(r4) +/* 8032E0B0 0032B010 D0 03 01 4C */ stfs f0, 0x14c(r3) +/* 8032E0B4 0032B014 C0 04 00 04 */ lfs f0, 4(r4) +/* 8032E0B8 0032B018 D0 03 01 50 */ stfs f0, 0x150(r3) +/* 8032E0BC 0032B01C C0 04 00 08 */ lfs f0, 8(r4) +/* 8032E0C0 0032B020 D0 03 01 54 */ stfs f0, 0x154(r3) +/* 8032E0C4 0032B024 4E 80 00 20 */ blr + +.global SetGlobalOrientation__15CParticleSwooshFRC12CTransform4f +SetGlobalOrientation__15CParticleSwooshFRC12CTransform4f: +/* 8032E0C8 0032B028 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032E0CC 0032B02C 7C 08 02 A6 */ mflr r0 +/* 8032E0D0 0032B030 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032E0D4 0032B034 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8032E0D8 0032B038 7C 7F 1B 78 */ mr r31, r3 +/* 8032E0DC 0032B03C 38 61 00 08 */ addi r3, r1, 8 +/* 8032E0E0 0032B040 4B FE 4B 61 */ bl GetRotation__12CTransform4fCFv +/* 8032E0E4 0032B044 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8032E0E8 0032B048 38 81 00 08 */ addi r4, r1, 8 +/* 8032E0EC 0032B04C 4B FE 4A 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E0F0 0032B050 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8032E0F4 0032B054 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8032E0F8 0032B058 7C 08 03 A6 */ mtlr r0 +/* 8032E0FC 0032B05C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032E100 0032B060 4E 80 00 20 */ blr + +.global SetGlobalTranslation__15CParticleSwooshFRC9CVector3f +SetGlobalTranslation__15CParticleSwooshFRC9CVector3f: +/* 8032E104 0032B064 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032E108 0032B068 D0 03 00 A4 */ stfs f0, 0xa4(r3) +/* 8032E10C 0032B06C C0 04 00 04 */ lfs f0, 4(r4) +/* 8032E110 0032B070 D0 03 00 A8 */ stfs f0, 0xa8(r3) +/* 8032E114 0032B074 C0 04 00 08 */ lfs f0, 8(r4) +/* 8032E118 0032B078 D0 03 00 AC */ stfs f0, 0xac(r3) +/* 8032E11C 0032B07C 4E 80 00 20 */ blr + +.global SetTranslation__15CParticleSwooshFRC9CVector3f +SetTranslation__15CParticleSwooshFRC9CVector3f: +/* 8032E120 0032B080 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032E124 0032B084 7C 08 02 A6 */ mflr r0 +/* 8032E128 0032B088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032E12C 0032B08C C0 04 00 00 */ lfs f0, 0(r4) +/* 8032E130 0032B090 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8032E134 0032B094 C0 04 00 04 */ lfs f0, 4(r4) +/* 8032E138 0032B098 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8032E13C 0032B09C C0 04 00 08 */ lfs f0, 8(r4) +/* 8032E140 0032B0A0 38 83 00 38 */ addi r4, r3, 0x38 +/* 8032E144 0032B0A4 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8032E148 0032B0A8 4B FF C7 31 */ bl UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f +/* 8032E14C 0032B0AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032E150 0032B0B0 7C 08 03 A6 */ mtlr r0 +/* 8032E154 0032B0B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032E158 0032B0B8 4E 80 00 20 */ blr + +.global UpdateTranslationAndOrientation__15CParticleSwooshFv +UpdateTranslationAndOrientation__15CParticleSwooshFv: +/* 8032E15C 0032B0BC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8032E160 0032B0C0 7C 08 02 A6 */ mflr r0 +/* 8032E164 0032B0C4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8032E168 0032B0C8 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8032E16C 0032B0CC 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8032E170 0032B0D0 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8032E174 0032B0D4 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 8032E178 0032B0D8 7C 7C 1B 78 */ mr r28, r3 +/* 8032E17C 0032B0DC 80 03 01 AC */ lwz r0, 0x1ac(r3) +/* 8032E180 0032B0E0 2C 00 00 00 */ cmpwi r0, 0 +/* 8032E184 0032B0E4 40 81 04 FC */ ble lbl_8032E680 +/* 8032E188 0032B0E8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E18C 0032B0EC C0 22 CB 04 */ lfs f1, lbl_805AE824@sda21(r2) +/* 8032E190 0032B0F0 D0 1C 02 08 */ stfs f0, 0x208(r28) +/* 8032E194 0032B0F4 C0 02 CB 08 */ lfs f0, lbl_805AE828@sda21(r2) +/* 8032E198 0032B0F8 D0 3C 01 F0 */ stfs f1, 0x1f0(r28) +/* 8032E19C 0032B0FC D0 3C 01 F4 */ stfs f1, 0x1f4(r28) +/* 8032E1A0 0032B100 D0 3C 01 F8 */ stfs f1, 0x1f8(r28) +/* 8032E1A4 0032B104 D0 1C 01 FC */ stfs f0, 0x1fc(r28) +/* 8032E1A8 0032B108 D0 1C 02 00 */ stfs f0, 0x200(r28) +/* 8032E1AC 0032B10C D0 1C 02 04 */ stfs f0, 0x204(r28) +/* 8032E1B0 0032B110 80 7C 01 B4 */ lwz r3, 0x1b4(r28) +/* 8032E1B4 0032B114 4B FF C5 C5 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8032E1B8 0032B118 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8032E1BC 0032B11C 4B FF C5 8D */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8032E1C0 0032B120 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E1C4 0032B124 3B C0 00 00 */ li r30, 0 +/* 8032E1C8 0032B128 3B E0 00 00 */ li r31, 0 +/* 8032E1CC 0032B12C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8032E1D0 0032B130 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8032E1D4 0032B134 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8032E1D8 0032B138 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8032E1DC 0032B13C D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8032E1E0 0032B140 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032E1E4 0032B144 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8032E1E8 0032B148 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8032E1EC 0032B14C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8032E1F0 0032B150 48 00 04 84 */ b lbl_8032E674 +lbl_8032E1F4: +/* 8032E1F4 0032B154 80 1C 01 68 */ lwz r0, 0x168(r28) +/* 8032E1F8 0032B158 7F A0 FA 14 */ add r29, r0, r31 +/* 8032E1FC 0032B15C 88 1D 00 00 */ lbz r0, 0(r29) +/* 8032E200 0032B160 28 00 00 00 */ cmplwi r0, 0 +/* 8032E204 0032B164 41 82 04 68 */ beq lbl_8032E66C +/* 8032E208 0032B168 80 7D 00 70 */ lwz r3, 0x70(r29) +/* 8032E20C 0032B16C 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8032E210 0032B170 7C 03 00 50 */ subf r0, r3, r0 +/* 8032E214 0032B174 90 1D 00 68 */ stw r0, 0x68(r29) +/* 8032E218 0032B178 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 8032E21C 0032B17C 4B FF C4 61 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8032E220 0032B180 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E224 0032B184 88 03 00 44 */ lbz r0, 0x44(r3) +/* 8032E228 0032B188 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8032E22C 0032B18C 28 00 00 01 */ cmplwi r0, 1 +/* 8032E230 0032B190 40 82 00 34 */ bne lbl_8032E264 +/* 8032E234 0032B194 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8032E238 0032B198 28 03 00 00 */ cmplwi r3, 0 +/* 8032E23C 0032B19C 41 82 00 1C */ beq lbl_8032E258 +/* 8032E240 0032B1A0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E244 0032B1A4 38 BD 00 30 */ addi r5, r29, 0x30 +/* 8032E248 0032B1A8 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8032E24C 0032B1AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E250 0032B1B0 7D 89 03 A6 */ mtctr r12 +/* 8032E254 0032B1B4 4E 80 04 21 */ bctrl +lbl_8032E258: +/* 8032E258 0032B1B8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E25C 0032B1BC D0 1D 00 34 */ stfs f0, 0x34(r29) +/* 8032E260 0032B1C0 48 00 00 34 */ b lbl_8032E294 +lbl_8032E264: +/* 8032E264 0032B1C4 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8032E268 0032B1C8 28 03 00 00 */ cmplwi r3, 0 +/* 8032E26C 0032B1CC 41 82 00 20 */ beq lbl_8032E28C +/* 8032E270 0032B1D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E274 0032B1D4 38 BD 00 34 */ addi r5, r29, 0x34 +/* 8032E278 0032B1D8 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8032E27C 0032B1DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E280 0032B1E0 7D 89 03 A6 */ mtctr r12 +/* 8032E284 0032B1E4 4E 80 04 21 */ bctrl +/* 8032E288 0032B1E8 48 00 00 0C */ b lbl_8032E294 +lbl_8032E28C: +/* 8032E28C 0032B1EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E290 0032B1F0 D0 1D 00 34 */ stfs f0, 0x34(r29) +lbl_8032E294: +/* 8032E294 0032B1F4 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E298 0032B1F8 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8032E29C 0032B1FC 28 03 00 00 */ cmplwi r3, 0 +/* 8032E2A0 0032B200 41 82 01 3C */ beq lbl_8032E3DC +/* 8032E2A4 0032B204 88 1C 01 D0 */ lbz r0, 0x1d0(r28) +/* 8032E2A8 0032B208 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8032E2AC 0032B20C 41 82 01 14 */ beq lbl_8032E3C0 +/* 8032E2B0 0032B210 38 61 00 80 */ addi r3, r1, 0x80 +/* 8032E2B4 0032B214 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E2B8 0032B218 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E2BC 0032B21C 4B FE 48 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E2C0 0032B220 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8032E2C4 0032B224 38 61 00 74 */ addi r3, r1, 0x74 +/* 8032E2C8 0032B228 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 8032E2CC 0032B22C 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E2D0 0032B230 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8032E2D4 0032B234 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8032E2D8 0032B238 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8032E2DC 0032B23C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8032E2E0 0032B240 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032E2E4 0032B244 C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E2E8 0032B248 C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 8032E2EC 0032B24C C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 8032E2F0 0032B250 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 8032E2F4 0032B254 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8032E2F8 0032B258 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E2FC 0032B25C C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E300 0032B260 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8032E304 0032B264 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032E308 0032B268 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 8032E30C 0032B26C D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8032E310 0032B270 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8032E314 0032B274 4B FE 47 D5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E318 0032B278 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 8032E31C 0032B27C 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E320 0032B280 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8032E324 0032B284 38 C1 00 8C */ addi r6, r1, 0x8c +/* 8032E328 0032B288 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8032E32C 0032B28C D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8032E330 0032B290 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8032E334 0032B294 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8032E338 0032B298 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E33C 0032B29C 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E340 0032B2A0 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8032E344 0032B2A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E348 0032B2A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E34C 0032B2AC 7D 89 03 A6 */ mtctr r12 +/* 8032E350 0032B2B0 4E 80 04 21 */ bctrl +/* 8032E354 0032B2B4 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032E358 0032B2B8 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E35C 0032B2BC 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E360 0032B2C0 4B FE 47 89 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E364 0032B2C4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8032E368 0032B2C8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8032E36C 0032B2CC 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E370 0032B2D0 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8032E374 0032B2D4 D0 1D 00 74 */ stfs f0, 0x74(r29) +/* 8032E378 0032B2D8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8032E37C 0032B2DC D0 1D 00 78 */ stfs f0, 0x78(r29) +/* 8032E380 0032B2E0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8032E384 0032B2E4 D0 1D 00 7C */ stfs f0, 0x7c(r29) +/* 8032E388 0032B2E8 4B FE 47 61 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E38C 0032B2EC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8032E390 0032B2F0 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E394 0032B2F4 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8032E398 0032B2F8 C0 7C 00 3C */ lfs f3, 0x3c(r28) +/* 8032E39C 0032B2FC EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E3A0 0032B300 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8032E3A4 0032B304 C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 8032E3A8 0032B308 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032E3AC 0032B30C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8032E3B0 0032B310 EC 02 08 2A */ fadds f0, f2, f1 +/* 8032E3B4 0032B314 D0 7D 00 10 */ stfs f3, 0x10(r29) +/* 8032E3B8 0032B318 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8032E3BC 0032B31C 48 00 00 20 */ b lbl_8032E3DC +lbl_8032E3C0: +/* 8032E3C0 0032B320 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E3C4 0032B324 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E3C8 0032B328 38 DD 00 0C */ addi r6, r29, 0xc +/* 8032E3CC 0032B32C 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E3D0 0032B330 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E3D4 0032B334 7D 89 03 A6 */ mtctr r12 +/* 8032E3D8 0032B338 4E 80 04 21 */ bctrl +lbl_8032E3DC: +/* 8032E3DC 0032B33C 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E3E0 0032B340 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8032E3E4 0032B344 28 03 00 00 */ cmplwi r3, 0 +/* 8032E3E8 0032B348 41 82 01 3C */ beq lbl_8032E524 +/* 8032E3EC 0032B34C 88 1C 01 D0 */ lbz r0, 0x1d0(r28) +/* 8032E3F0 0032B350 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8032E3F4 0032B354 41 82 01 14 */ beq lbl_8032E508 +/* 8032E3F8 0032B358 38 61 00 44 */ addi r3, r1, 0x44 +/* 8032E3FC 0032B35C 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E400 0032B360 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E404 0032B364 4B FE 46 E5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E408 0032B368 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8032E40C 0032B36C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032E410 0032B370 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8032E414 0032B374 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E418 0032B378 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8032E41C 0032B37C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8032E420 0032B380 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8032E424 0032B384 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8032E428 0032B388 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032E42C 0032B38C C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E430 0032B390 C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 8032E434 0032B394 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 8032E438 0032B398 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 8032E43C 0032B39C EC 81 00 28 */ fsubs f4, f1, f0 +/* 8032E440 0032B3A0 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E444 0032B3A4 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E448 0032B3A8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8032E44C 0032B3AC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032E450 0032B3B0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8032E454 0032B3B4 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8032E458 0032B3B8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8032E45C 0032B3BC 4B FE 46 8D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E460 0032B3C0 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8032E464 0032B3C4 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E468 0032B3C8 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8032E46C 0032B3CC 38 C1 00 8C */ addi r6, r1, 0x8c +/* 8032E470 0032B3D0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8032E474 0032B3D4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8032E478 0032B3D8 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8032E47C 0032B3DC D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8032E480 0032B3E0 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E484 0032B3E4 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E488 0032B3E8 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8032E48C 0032B3EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E490 0032B3F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E494 0032B3F4 7D 89 03 A6 */ mtctr r12 +/* 8032E498 0032B3F8 4E 80 04 21 */ bctrl +/* 8032E49C 0032B3FC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8032E4A0 0032B400 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E4A4 0032B404 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E4A8 0032B408 4B FE 46 41 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E4AC 0032B40C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032E4B0 0032B410 38 61 00 14 */ addi r3, r1, 0x14 +/* 8032E4B4 0032B414 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E4B8 0032B418 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8032E4BC 0032B41C D0 1D 00 74 */ stfs f0, 0x74(r29) +/* 8032E4C0 0032B420 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8032E4C4 0032B424 D0 1D 00 78 */ stfs f0, 0x78(r29) +/* 8032E4C8 0032B428 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8032E4CC 0032B42C D0 1D 00 7C */ stfs f0, 0x7c(r29) +/* 8032E4D0 0032B430 4B FE 46 19 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E4D4 0032B434 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8032E4D8 0032B438 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E4DC 0032B43C C0 81 00 18 */ lfs f4, 0x18(r1) +/* 8032E4E0 0032B440 C0 7C 00 3C */ lfs f3, 0x3c(r28) +/* 8032E4E4 0032B444 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E4E8 0032B448 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8032E4EC 0032B44C C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 8032E4F0 0032B450 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032E4F4 0032B454 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8032E4F8 0032B458 EC 02 08 2A */ fadds f0, f2, f1 +/* 8032E4FC 0032B45C D0 7D 00 10 */ stfs f3, 0x10(r29) +/* 8032E500 0032B460 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8032E504 0032B464 48 00 00 20 */ b lbl_8032E524 +lbl_8032E508: +/* 8032E508 0032B468 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E50C 0032B46C 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E510 0032B470 38 DD 00 0C */ addi r6, r29, 0xc +/* 8032E514 0032B474 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E518 0032B478 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E51C 0032B47C 7D 89 03 A6 */ mtctr r12 +/* 8032E520 0032B480 4E 80 04 21 */ bctrl +lbl_8032E524: +/* 8032E524 0032B484 80 1D 00 68 */ lwz r0, 0x68(r29) +/* 8032E528 0032B488 2C 00 00 00 */ cmpwi r0, 0 +/* 8032E52C 0032B48C 40 81 00 34 */ ble lbl_8032E560 +/* 8032E530 0032B490 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E534 0032B494 C0 1D 00 74 */ lfs f0, 0x74(r29) +/* 8032E538 0032B498 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E53C 0032B49C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8032E540 0032B4A0 C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E544 0032B4A4 C0 1D 00 78 */ lfs f0, 0x78(r29) +/* 8032E548 0032B4A8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E54C 0032B4AC D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 8032E550 0032B4B0 C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 8032E554 0032B4B4 C0 1D 00 7C */ lfs f0, 0x7c(r29) +/* 8032E558 0032B4B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E55C 0032B4BC D0 1D 00 14 */ stfs f0, 0x14(r29) +lbl_8032E560: +/* 8032E560 0032B4C0 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E564 0032B4C4 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8032E568 0032B4C8 28 03 00 00 */ cmplwi r3, 0 +/* 8032E56C 0032B4CC 41 82 00 4C */ beq lbl_8032E5B8 +/* 8032E570 0032B4D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E574 0032B4D4 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8032E578 0032B4D8 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E57C 0032B4DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E580 0032B4E0 7D 89 03 A6 */ mtctr r12 +/* 8032E584 0032B4E4 4E 80 04 21 */ bctrl +/* 8032E588 0032B4E8 C0 3D 00 18 */ lfs f1, 0x18(r29) +/* 8032E58C 0032B4EC C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8032E590 0032B4F0 C0 9D 00 1C */ lfs f4, 0x1c(r29) +/* 8032E594 0032B4F4 C0 61 00 A8 */ lfs f3, 0xa8(r1) +/* 8032E598 0032B4F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E59C 0032B4FC C0 5D 00 20 */ lfs f2, 0x20(r29) +/* 8032E5A0 0032B500 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 8032E5A4 0032B504 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032E5A8 0032B508 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 8032E5AC 0032B50C EC 02 08 2A */ fadds f0, f2, f1 +/* 8032E5B0 0032B510 D0 7D 00 28 */ stfs f3, 0x28(r29) +/* 8032E5B4 0032B514 D0 1D 00 2C */ stfs f0, 0x2c(r29) +lbl_8032E5B8: +/* 8032E5B8 0032B518 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E5BC 0032B51C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8032E5C0 0032B520 28 03 00 00 */ cmplwi r3, 0 +/* 8032E5C4 0032B524 41 82 00 1C */ beq lbl_8032E5E0 +/* 8032E5C8 0032B528 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E5CC 0032B52C 38 BD 00 6C */ addi r5, r29, 0x6c +/* 8032E5D0 0032B530 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E5D4 0032B534 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E5D8 0032B538 7D 89 03 A6 */ mtctr r12 +/* 8032E5DC 0032B53C 4E 80 04 21 */ bctrl +lbl_8032E5E0: +/* 8032E5E0 0032B540 7F 83 E3 78 */ mr r3, r28 +/* 8032E5E4 0032B544 7F C4 F3 78 */ mr r4, r30 +/* 8032E5E8 0032B548 4B FF C8 15 */ bl GetLeftRadius__15CParticleSwooshFi +/* 8032E5EC 0032B54C D0 3D 00 04 */ stfs f1, 4(r29) +/* 8032E5F0 0032B550 7F 83 E3 78 */ mr r3, r28 +/* 8032E5F4 0032B554 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8032E5F8 0032B558 4B FF C3 31 */ bl UpdateMaxRadius__15CParticleSwooshFf +/* 8032E5FC 0032B55C 88 1C 01 D0 */ lbz r0, 0x1d0(r28) +/* 8032E600 0032B560 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8032E604 0032B564 41 82 00 10 */ beq lbl_8032E614 +/* 8032E608 0032B568 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8032E60C 0032B56C D0 1D 00 08 */ stfs f0, 8(r29) +/* 8032E610 0032B570 48 00 00 20 */ b lbl_8032E630 +lbl_8032E614: +/* 8032E614 0032B574 7F 83 E3 78 */ mr r3, r28 +/* 8032E618 0032B578 7F C4 F3 78 */ mr r4, r30 +/* 8032E61C 0032B57C 4B FF C7 81 */ bl GetRightRadius__15CParticleSwooshFi +/* 8032E620 0032B580 D0 3D 00 08 */ stfs f1, 8(r29) +/* 8032E624 0032B584 7F 83 E3 78 */ mr r3, r28 +/* 8032E628 0032B588 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8032E62C 0032B58C 4B FF C2 FD */ bl UpdateMaxRadius__15CParticleSwooshFf +lbl_8032E630: +/* 8032E630 0032B590 C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E634 0032B594 7F 83 E3 78 */ mr r3, r28 +/* 8032E638 0032B598 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 8032E63C 0032B59C 38 81 00 08 */ addi r4, r1, 8 +/* 8032E640 0032B5A0 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 8032E644 0032B5A4 C0 5D 00 2C */ lfs f2, 0x2c(r29) +/* 8032E648 0032B5A8 EC 81 00 2A */ fadds f4, f1, f0 +/* 8032E64C 0032B5AC C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E650 0032B5B0 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 8032E654 0032B5B4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8032E658 0032B5B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E65C 0032B5BC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8032E660 0032B5C0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8032E664 0032B5C4 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032E668 0032B5C8 4B FF C2 F5 */ bl UpdateBounds__15CParticleSwooshFRC9CVector3f +lbl_8032E66C: +/* 8032E66C 0032B5CC 3B FF 00 80 */ addi r31, r31, 0x80 +/* 8032E670 0032B5D0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8032E674: +/* 8032E674 0032B5D4 80 1C 01 64 */ lwz r0, 0x164(r28) +/* 8032E678 0032B5D8 7C 1E 00 00 */ cmpw r30, r0 +/* 8032E67C 0032B5DC 41 80 FB 78 */ blt lbl_8032E1F4 +lbl_8032E680: +/* 8032E680 0032B5E0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8032E684 0032B5E4 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8032E688 0032B5E8 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8032E68C 0032B5EC 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8032E690 0032B5F0 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 8032E694 0032B5F4 7C 08 03 A6 */ mtlr r0 +/* 8032E698 0032B5F8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8032E69C 0032B5FC 4E 80 00 20 */ blr + +.global SetOrientation__15CParticleSwooshFRC12CTransform4f +SetOrientation__15CParticleSwooshFRC12CTransform4f: +/* 8032E6A0 0032B600 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032E6A4 0032B604 7C 08 02 A6 */ mflr r0 +/* 8032E6A8 0032B608 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032E6AC 0032B60C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8032E6B0 0032B610 7C 7F 1B 78 */ mr r31, r3 +/* 8032E6B4 0032B614 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8032E6B8 0032B618 4B FE 44 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E6BC 0032B61C 38 61 00 08 */ addi r3, r1, 8 +/* 8032E6C0 0032B620 38 9F 00 44 */ addi r4, r31, 0x44 +/* 8032E6C4 0032B624 4B FE 45 D9 */ bl GetQuickInverse__12CTransform4fCFv +/* 8032E6C8 0032B628 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8032E6CC 0032B62C 38 81 00 08 */ addi r4, r1, 8 +/* 8032E6D0 0032B630 4B FE 44 71 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E6D4 0032B634 80 1F 01 58 */ lwz r0, 0x158(r31) +/* 8032E6D8 0032B638 38 9F 00 44 */ addi r4, r31, 0x44 +/* 8032E6DC 0032B63C 80 BF 01 68 */ lwz r5, 0x168(r31) +/* 8032E6E0 0032B640 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E6E4 0032B644 38 63 00 38 */ addi r3, r3, 0x38 +/* 8032E6E8 0032B648 7C 65 1A 14 */ add r3, r5, r3 +/* 8032E6EC 0032B64C 4B FE 44 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E6F0 0032B650 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8032E6F4 0032B654 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8032E6F8 0032B658 7C 08 03 A6 */ mtlr r0 +/* 8032E6FC 0032B65C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032E700 0032B660 4E 80 00 20 */ blr + +.global Update__15CParticleSwooshFd +Update__15CParticleSwooshFd: +/* 8032E704 0032B664 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032E708 0032B668 7C 08 02 A6 */ mflr r0 +/* 8032E70C 0032B66C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8032E710 0032B670 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8032E714 0032B674 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8032E718 0032B678 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8032E71C 0032B67C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8032E720 0032B680 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8032E724 0032B684 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8032E728 0032B688 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8032E72C 0032B68C 7C 7D 1B 78 */ mr r29, r3 +/* 8032E730 0032B690 FF C0 08 90 */ fmr f30, f1 +/* 8032E734 0032B694 48 00 04 81 */ bl IsLargeEnough__15CParticleSwooshCFv +/* 8032E738 0032B698 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032E73C 0032B69C 40 82 00 0C */ bne lbl_8032E748 +/* 8032E740 0032B6A0 38 60 00 00 */ li r3, 0 +/* 8032E744 0032B6A4 48 00 04 44 */ b lbl_8032EB88 +lbl_8032E748: +/* 8032E748 0032B6A8 48 05 6C 61 */ bl OSGetTime +/* 8032E74C 0032B6AC 7C 7F 1B 78 */ mr r31, r3 +/* 8032E750 0032B6B0 80 7D 01 B4 */ lwz r3, 0x1b4(r29) +/* 8032E754 0032B6B4 7C 9E 23 78 */ mr r30, r4 +/* 8032E758 0032B6B8 4B FF C0 21 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8032E75C 0032B6BC 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032E760 0032B6C0 4B FF BF E9 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8032E764 0032B6C4 38 60 00 00 */ li r3, 0 +/* 8032E768 0032B6C8 4B FF BF 15 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8032E76C 0032B6CC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032E770 0032B6D0 38 9D 01 C0 */ addi r4, r29, 0x1c0 +/* 8032E774 0032B6D4 4B FE 3F 0D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032E778 0032B6D8 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032E77C 0032B6DC 3C 00 43 30 */ lis r0, 0x4330 +/* 8032E780 0032B6E0 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032E784 0032B6E4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8032E788 0032B6E8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032E78C 0032B6EC C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032E790 0032B6F0 90 61 00 34 */ stw r3, 0x34(r1) +/* 8032E794 0032B6F4 C0 2D 9D 18 */ lfs f1, lbl_805A88D8@sda21(r13) +/* 8032E798 0032B6F8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8032E79C 0032B6FC C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8032E7A0 0032B700 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E7A4 0032B704 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032E7A8 0032B708 80 63 00 04 */ lwz r3, 4(r3) +/* 8032E7AC 0032B70C 28 03 00 00 */ cmplwi r3, 0 +/* 8032E7B0 0032B710 EF E0 00 72 */ fmuls f31, f0, f1 +/* 8032E7B4 0032B714 41 82 00 1C */ beq lbl_8032E7D0 +/* 8032E7B8 0032B718 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E7BC 0032B71C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8032E7C0 0032B720 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E7C4 0032B724 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E7C8 0032B728 7D 89 03 A6 */ mtctr r12 +/* 8032E7CC 0032B72C 4E 80 04 21 */ bctrl +lbl_8032E7D0: +/* 8032E7D0 0032B730 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8032E7D4 0032B734 C8 02 CB 10 */ lfd f0, lbl_805AE830@sda21(r2) +/* 8032E7D8 0032B738 FC 3E 00 72 */ fmul f1, f30, f1 +/* 8032E7DC 0032B73C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032E7E0 0032B740 40 80 00 08 */ bge lbl_8032E7E8 +/* 8032E7E4 0032B744 FC 20 00 90 */ fmr f1, f0 +lbl_8032E7E8: +/* 8032E7E8 0032B748 C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 8032E7EC 0032B74C FC 00 08 2A */ fadd f0, f0, f1 +/* 8032E7F0 0032B750 D8 1D 00 30 */ stfd f0, 0x30(r29) +/* 8032E7F4 0032B754 48 00 03 48 */ b lbl_8032EB3C +lbl_8032E7F8: +/* 8032E7F8 0032B758 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032E7FC 0032B75C 38 80 00 00 */ li r4, 0 +/* 8032E800 0032B760 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8032E804 0032B764 98 1D 01 D0 */ stb r0, 0x1d0(r29) +/* 8032E808 0032B768 80 7D 01 58 */ lwz r3, 0x158(r29) +/* 8032E80C 0032B76C 38 63 00 01 */ addi r3, r3, 1 +/* 8032E810 0032B770 90 7D 01 58 */ stw r3, 0x158(r29) +/* 8032E814 0032B774 80 1D 01 64 */ lwz r0, 0x164(r29) +/* 8032E818 0032B778 7C 03 00 00 */ cmpw r3, r0 +/* 8032E81C 0032B77C 41 80 00 08 */ blt lbl_8032E824 +/* 8032E820 0032B780 90 9D 01 58 */ stw r4, 0x158(r29) +lbl_8032E824: +/* 8032E824 0032B784 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032E828 0032B788 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8032E82C 0032B78C 41 82 02 A0 */ beq lbl_8032EACC +/* 8032E830 0032B790 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032E834 0032B794 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 8032E838 0032B798 7C 03 00 00 */ cmpw r3, r0 +/* 8032E83C 0032B79C 40 80 02 90 */ bge lbl_8032EACC +/* 8032E840 0032B7A0 7F A3 EB 78 */ mr r3, r29 +/* 8032E844 0032B7A4 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032E848 0032B7A8 4B FF C0 31 */ bl UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f +/* 8032E84C 0032B7AC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E850 0032B7B0 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8032E854 0032B7B4 28 03 00 00 */ cmplwi r3, 0 +/* 8032E858 0032B7B8 41 82 00 30 */ beq lbl_8032E888 +/* 8032E85C 0032B7BC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E860 0032B7C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E864 0032B7C4 54 04 38 30 */ slwi r4, r0, 7 +/* 8032E868 0032B7C8 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032E86C 0032B7CC 38 A4 00 30 */ addi r5, r4, 0x30 +/* 8032E870 0032B7D0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E874 0032B7D4 7C A0 2A 14 */ add r5, r0, r5 +/* 8032E878 0032B7D8 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E87C 0032B7DC 7D 89 03 A6 */ mtctr r12 +/* 8032E880 0032B7E0 4E 80 04 21 */ bctrl +/* 8032E884 0032B7E4 48 00 00 1C */ b lbl_8032E8A0 +lbl_8032E888: +/* 8032E888 0032B7E8 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E88C 0032B7EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E890 0032B7F0 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E894 0032B7F4 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E898 0032B7F8 38 03 00 30 */ addi r0, r3, 0x30 +/* 8032E89C 0032B7FC 7C 04 05 2E */ stfsx f0, r4, r0 +lbl_8032E8A0: +/* 8032E8A0 0032B800 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8A4 0032B804 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E8A8 0032B808 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E8AC 0032B80C 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E8B0 0032B810 38 03 00 34 */ addi r0, r3, 0x34 +/* 8032E8B4 0032B814 7C 04 05 2E */ stfsx f0, r4, r0 +/* 8032E8B8 0032B818 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8BC 0032B81C 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 8032E8C0 0032B820 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E8C4 0032B824 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E8C8 0032B828 38 03 00 70 */ addi r0, r3, 0x70 +/* 8032E8CC 0032B82C 7C A4 01 2E */ stwx r5, r4, r0 +/* 8032E8D0 0032B830 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8D4 0032B834 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032E8D8 0032B838 54 00 38 30 */ slwi r0, r0, 7 +/* 8032E8DC 0032B83C 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8032E8E0 0032B840 28 00 00 00 */ cmplwi r0, 0 +/* 8032E8E4 0032B844 40 82 00 24 */ bne lbl_8032E908 +/* 8032E8E8 0032B848 80 7D 01 AC */ lwz r3, 0x1ac(r29) +/* 8032E8EC 0032B84C 38 80 00 01 */ li r4, 1 +/* 8032E8F0 0032B850 38 03 00 01 */ addi r0, r3, 1 +/* 8032E8F4 0032B854 90 1D 01 AC */ stw r0, 0x1ac(r29) +/* 8032E8F8 0032B858 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8FC 0032B85C 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032E900 0032B860 54 00 38 30 */ slwi r0, r0, 7 +/* 8032E904 0032B864 7C 83 01 AE */ stbx r4, r3, r0 +lbl_8032E908: +/* 8032E908 0032B868 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E90C 0032B86C 38 9D 00 44 */ addi r4, r29, 0x44 +/* 8032E910 0032B870 80 BD 01 68 */ lwz r5, 0x168(r29) +/* 8032E914 0032B874 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E918 0032B878 38 63 00 38 */ addi r3, r3, 0x38 +/* 8032E91C 0032B87C 7C 65 1A 14 */ add r3, r5, r3 +/* 8032E920 0032B880 4B FE 42 21 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E924 0032B884 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E928 0032B888 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8032E92C 0032B88C 28 03 00 00 */ cmplwi r3, 0 +/* 8032E930 0032B890 41 82 00 78 */ beq lbl_8032E9A8 +/* 8032E934 0032B894 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E938 0032B898 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E93C 0032B89C 54 04 38 30 */ slwi r4, r0, 7 +/* 8032E940 0032B8A0 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032E944 0032B8A4 38 A4 00 74 */ addi r5, r4, 0x74 +/* 8032E948 0032B8A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E94C 0032B8AC 7C A0 2A 14 */ add r5, r0, r5 +/* 8032E950 0032B8B0 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E954 0032B8B4 7D 89 03 A6 */ mtctr r12 +/* 8032E958 0032B8B8 4E 80 04 21 */ bctrl +/* 8032E95C 0032B8BC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E960 0032B8C0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032E964 0032B8C4 80 DD 01 68 */ lwz r6, 0x168(r29) +/* 8032E968 0032B8C8 38 9D 00 44 */ addi r4, r29, 0x44 +/* 8032E96C 0032B8CC 54 05 38 30 */ slwi r5, r0, 7 +/* 8032E970 0032B8D0 38 A5 00 74 */ addi r5, r5, 0x74 +/* 8032E974 0032B8D4 7C A6 2A 14 */ add r5, r6, r5 +/* 8032E978 0032B8D8 4B FE 41 71 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E97C 0032B8DC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E980 0032B8E0 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E984 0032B8E4 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E988 0032B8E8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8032E98C 0032B8EC 38 63 00 74 */ addi r3, r3, 0x74 +/* 8032E990 0032B8F0 7C 64 1A 14 */ add r3, r4, r3 +/* 8032E994 0032B8F4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032E998 0032B8F8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8032E99C 0032B8FC D0 03 00 04 */ stfs f0, 4(r3) +/* 8032E9A0 0032B900 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032E9A4 0032B904 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032E9A8: +/* 8032E9A8 0032B908 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E9AC 0032B90C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032E9B0 0032B910 28 03 00 00 */ cmplwi r3, 0 +/* 8032E9B4 0032B914 41 82 00 2C */ beq lbl_8032E9E0 +/* 8032E9B8 0032B918 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E9BC 0032B91C 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E9C0 0032B920 54 04 38 30 */ slwi r4, r0, 7 +/* 8032E9C4 0032B924 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032E9C8 0032B928 38 A4 00 18 */ addi r5, r4, 0x18 +/* 8032E9CC 0032B92C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E9D0 0032B930 7C A0 2A 14 */ add r5, r0, r5 +/* 8032E9D4 0032B934 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E9D8 0032B938 7D 89 03 A6 */ mtctr r12 +/* 8032E9DC 0032B93C 4E 80 04 21 */ bctrl +lbl_8032E9E0: +/* 8032E9E0 0032B940 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E9E4 0032B944 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032E9E8 0032B948 54 00 38 30 */ slwi r0, r0, 7 +/* 8032E9EC 0032B94C 7C 63 02 14 */ add r3, r3, r0 +/* 8032E9F0 0032B950 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8032E9F4 0032B954 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8032E9F8 0032B958 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8032E9FC 0032B95C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8032EA00 0032B960 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8032EA04 0032B964 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8032EA08 0032B968 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032EA0C 0032B96C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8032EA10 0032B970 28 03 00 00 */ cmplwi r3, 0 +/* 8032EA14 0032B974 41 82 00 30 */ beq lbl_8032EA44 +/* 8032EA18 0032B978 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EA1C 0032B97C 81 83 00 00 */ lwz r12, 0(r3) +/* 8032EA20 0032B980 54 04 38 30 */ slwi r4, r0, 7 +/* 8032EA24 0032B984 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032EA28 0032B988 38 A4 00 6C */ addi r5, r4, 0x6c +/* 8032EA2C 0032B98C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032EA30 0032B990 7C A0 2A 14 */ add r5, r0, r5 +/* 8032EA34 0032B994 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032EA38 0032B998 7D 89 03 A6 */ mtctr r12 +/* 8032EA3C 0032B99C 4E 80 04 21 */ bctrl +/* 8032EA40 0032B9A0 48 00 00 34 */ b lbl_8032EA74 +lbl_8032EA44: +/* 8032EA44 0032B9A4 C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) +/* 8032EA48 0032B9A8 38 61 00 0C */ addi r3, r1, 0xc +/* 8032EA4C 0032B9AC FC 40 08 90 */ fmr f2, f1 +/* 8032EA50 0032B9B0 FC 60 08 90 */ fmr f3, f1 +/* 8032EA54 0032B9B4 FC 80 08 90 */ fmr f4, f1 +/* 8032EA58 0032B9B8 48 03 49 95 */ bl __ct__6CColorFffff +/* 8032EA5C 0032B9BC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EA60 0032B9C0 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8032EA64 0032B9C4 54 03 38 30 */ slwi r3, r0, 7 +/* 8032EA68 0032B9C8 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032EA6C 0032B9CC 38 03 00 6C */ addi r0, r3, 0x6c +/* 8032EA70 0032B9D0 7C A4 01 2E */ stwx r5, r4, r0 +lbl_8032EA74: +/* 8032EA74 0032B9D4 38 00 00 00 */ li r0, 0 +/* 8032EA78 0032B9D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032EA7C 0032B9DC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032EA80 0032B9E0 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8032EA84 0032B9E4 28 03 00 00 */ cmplwi r3, 0 +/* 8032EA88 0032B9E8 41 82 00 1C */ beq lbl_8032EAA4 +/* 8032EA8C 0032B9EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032EA90 0032B9F0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032EA94 0032B9F4 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032EA98 0032B9F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032EA9C 0032B9FC 7D 89 03 A6 */ mtctr r12 +/* 8032EAA0 0032BA00 4E 80 04 21 */ bctrl +lbl_8032EAA4: +/* 8032EAA4 0032BA04 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8032EAA8 0032BA08 3C 00 43 30 */ lis r0, 0x4330 +/* 8032EAAC 0032BA0C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032EAB0 0032BA10 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8032EAB4 0032BA14 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032EAB8 0032BA18 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032EABC 0032BA1C C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8032EAC0 0032BA20 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032EAC4 0032BA24 D0 1D 01 CC */ stfs f0, 0x1cc(r29) +/* 8032EAC8 0032BA28 48 00 00 58 */ b lbl_8032EB20 +lbl_8032EACC: +/* 8032EACC 0032BA2C 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EAD0 0032BA30 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032EAD4 0032BA34 54 00 38 30 */ slwi r0, r0, 7 +/* 8032EAD8 0032BA38 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8032EADC 0032BA3C 28 00 00 00 */ cmplwi r0, 0 +/* 8032EAE0 0032BA40 41 82 00 40 */ beq lbl_8032EB20 +/* 8032EAE4 0032BA44 80 9D 01 AC */ lwz r4, 0x1ac(r29) +/* 8032EAE8 0032BA48 38 6D 9D 1C */ addi r3, r13, lbl_805A88DC@sda21 +/* 8032EAEC 0032BA4C 80 0D 9D 1C */ lwz r0, lbl_805A88DC@sda21(r13) +/* 8032EAF0 0032BA50 38 84 FF FF */ addi r4, r4, -1 +/* 8032EAF4 0032BA54 7C 00 20 00 */ cmpw r0, r4 +/* 8032EAF8 0032BA58 90 81 00 08 */ stw r4, 8(r1) +/* 8032EAFC 0032BA5C 40 80 00 08 */ bge lbl_8032EB04 +/* 8032EB00 0032BA60 38 61 00 08 */ addi r3, r1, 8 +lbl_8032EB04: +/* 8032EB04 0032BA64 80 03 00 00 */ lwz r0, 0(r3) +/* 8032EB08 0032BA68 38 80 00 00 */ li r4, 0 +/* 8032EB0C 0032BA6C 90 1D 01 AC */ stw r0, 0x1ac(r29) +/* 8032EB10 0032BA70 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EB14 0032BA74 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032EB18 0032BA78 54 00 38 30 */ slwi r0, r0, 7 +/* 8032EB1C 0032BA7C 7C 83 01 AE */ stbx r4, r3, r0 +lbl_8032EB20: +/* 8032EB20 0032BA80 7F A3 EB 78 */ mr r3, r29 +/* 8032EB24 0032BA84 4B FF F6 39 */ bl UpdateTranslationAndOrientation__15CParticleSwooshFv +/* 8032EB28 0032BA88 C0 0D 9D 18 */ lfs f0, lbl_805A88D8@sda21(r13) +/* 8032EB2C 0032BA8C 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032EB30 0032BA90 FF FF 00 2A */ fadd f31, f31, f0 +/* 8032EB34 0032BA94 38 03 00 01 */ addi r0, r3, 1 +/* 8032EB38 0032BA98 90 1D 00 28 */ stw r0, 0x28(r29) +lbl_8032EB3C: +/* 8032EB3C 0032BA9C 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032EB40 0032BAA0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8032EB44 0032BAA4 40 82 FC B4 */ bne lbl_8032E7F8 +/* 8032EB48 0032BAA8 C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 8032EB4C 0032BAAC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8032EB50 0032BAB0 41 80 FC A8 */ blt lbl_8032E7F8 +/* 8032EB54 0032BAB4 48 05 68 55 */ bl OSGetTime +/* 8032EB58 0032BAB8 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8032EB5C 0032BABC 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8032EB60 0032BAC0 48 05 B4 05 */ bl __cvt_sll_flt +/* 8032EB64 0032BAC4 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha +/* 8032EB68 0032BAC8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032EB6C 0032BACC 38 A4 FD 30 */ addi r5, r4, mData__10CStopwatch@l +/* 8032EB70 0032BAD0 38 80 FF FF */ li r4, -1 +/* 8032EB74 0032BAD4 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8032EB78 0032BAD8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032EB7C 0032BADC D0 1D 01 C4 */ stfs f0, 0x1c4(r29) +/* 8032EB80 0032BAE0 4B FE 3A 85 */ bl __dt__13CGlobalRandomFv +/* 8032EB84 0032BAE4 38 60 00 00 */ li r3, 0 +lbl_8032EB88: +/* 8032EB88 0032BAE8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8032EB8C 0032BAEC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032EB90 0032BAF0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8032EB94 0032BAF4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8032EB98 0032BAF8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8032EB9C 0032BAFC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8032EBA0 0032BB00 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032EBA4 0032BB04 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8032EBA8 0032BB08 7C 08 03 A6 */ mtlr r0 +/* 8032EBAC 0032BB0C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8032EBB0 0032BB10 4E 80 00 20 */ blr + +.global IsLargeEnough__15CParticleSwooshCFv +IsLargeEnough__15CParticleSwooshCFv: +/* 8032EBB4 0032BB14 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032EBB8 0032BB18 38 80 00 00 */ li r4, 0 +/* 8032EBBC 0032BB1C 2C 00 00 02 */ cmpwi r0, 2 +/* 8032EBC0 0032BB20 41 80 00 14 */ blt lbl_8032EBD4 +/* 8032EBC4 0032BB24 80 03 01 B8 */ lwz r0, 0x1b8(r3) +/* 8032EBC8 0032BB28 2C 00 00 02 */ cmpwi r0, 2 +/* 8032EBCC 0032BB2C 41 80 00 08 */ blt lbl_8032EBD4 +/* 8032EBD0 0032BB30 38 80 00 01 */ li r4, 1 +lbl_8032EBD4: +/* 8032EBD4 0032BB34 7C 83 23 78 */ mr r3, r4 +/* 8032EBD8 0032BB38 4E 80 00 20 */ blr + +.global __dt__15CParticleSwooshFv +__dt__15CParticleSwooshFv: +/* 8032EBDC 0032BB3C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8032EBE0 0032BB40 7C 08 02 A6 */ mflr r0 +/* 8032EBE4 0032BB44 90 01 00 64 */ stw r0, 0x64(r1) +/* 8032EBE8 0032BB48 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8032EBEC 0032BB4C 7C 9F 23 78 */ mr r31, r4 +/* 8032EBF0 0032BB50 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8032EBF4 0032BB54 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032EBF8 0032BB58 41 82 01 D0 */ beq lbl_8032EDC8 +/* 8032EBFC 0032BB5C 3C 60 80 3F */ lis r3, lbl_803EDD80@ha +/* 8032EC00 0032BB60 34 1E 01 9C */ addic. r0, r30, 0x19c +/* 8032EC04 0032BB64 38 03 DD 80 */ addi r0, r3, lbl_803EDD80@l +/* 8032EC08 0032BB68 90 1E 00 00 */ stw r0, 0(r30) +/* 8032EC0C 0032BB6C 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) +/* 8032EC10 0032BB70 38 03 FF FF */ addi r0, r3, -1 +/* 8032EC14 0032BB74 90 0D A8 F8 */ stw r0, lbl_805A94B8@sda21(r13) +/* 8032EC18 0032BB78 41 82 00 44 */ beq lbl_8032EC5C +/* 8032EC1C 0032BB7C 80 1E 01 A0 */ lwz r0, 0x1a0(r30) +/* 8032EC20 0032BB80 80 7E 01 A8 */ lwz r3, 0x1a8(r30) +/* 8032EC24 0032BB84 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032EC28 0032BB88 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8032EC2C 0032BB8C 7C 64 1B 78 */ mr r4, r3 +/* 8032EC30 0032BB90 7C 03 02 14 */ add r0, r3, r0 +/* 8032EC34 0032BB94 90 61 00 48 */ stw r3, 0x48(r1) +/* 8032EC38 0032BB98 90 01 00 54 */ stw r0, 0x54(r1) +/* 8032EC3C 0032BB9C 90 01 00 50 */ stw r0, 0x50(r1) +/* 8032EC40 0032BBA0 48 00 00 08 */ b lbl_8032EC48 +lbl_8032EC44: +/* 8032EC44 0032BBA4 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032EC48: +/* 8032EC48 0032BBA8 7C 04 00 40 */ cmplw r4, r0 +/* 8032EC4C 0032BBAC 40 82 FF F8 */ bne lbl_8032EC44 +/* 8032EC50 0032BBB0 28 03 00 00 */ cmplwi r3, 0 +/* 8032EC54 0032BBB4 41 82 00 08 */ beq lbl_8032EC5C +/* 8032EC58 0032BBB8 4B FE 6C D9 */ bl Free__7CMemoryFPCv +lbl_8032EC5C: +/* 8032EC5C 0032BBBC 34 1E 01 8C */ addic. r0, r30, 0x18c +/* 8032EC60 0032BBC0 41 82 00 44 */ beq lbl_8032ECA4 +/* 8032EC64 0032BBC4 80 1E 01 90 */ lwz r0, 0x190(r30) +/* 8032EC68 0032BBC8 80 7E 01 98 */ lwz r3, 0x198(r30) +/* 8032EC6C 0032BBCC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032EC70 0032BBD0 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8032EC74 0032BBD4 7C 64 1B 78 */ mr r4, r3 +/* 8032EC78 0032BBD8 7C 03 02 14 */ add r0, r3, r0 +/* 8032EC7C 0032BBDC 90 61 00 38 */ stw r3, 0x38(r1) +/* 8032EC80 0032BBE0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032EC84 0032BBE4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8032EC88 0032BBE8 48 00 00 08 */ b lbl_8032EC90 +lbl_8032EC8C: +/* 8032EC8C 0032BBEC 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032EC90: +/* 8032EC90 0032BBF0 7C 04 00 40 */ cmplw r4, r0 +/* 8032EC94 0032BBF4 40 82 FF F8 */ bne lbl_8032EC8C +/* 8032EC98 0032BBF8 28 03 00 00 */ cmplwi r3, 0 +/* 8032EC9C 0032BBFC 41 82 00 08 */ beq lbl_8032ECA4 +/* 8032ECA0 0032BC00 4B FE 6C 91 */ bl Free__7CMemoryFPCv +lbl_8032ECA4: +/* 8032ECA4 0032BC04 34 1E 01 7C */ addic. r0, r30, 0x17c +/* 8032ECA8 0032BC08 41 82 00 44 */ beq lbl_8032ECEC +/* 8032ECAC 0032BC0C 80 1E 01 80 */ lwz r0, 0x180(r30) +/* 8032ECB0 0032BC10 80 7E 01 88 */ lwz r3, 0x188(r30) +/* 8032ECB4 0032BC14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032ECB8 0032BC18 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8032ECBC 0032BC1C 7C 64 1B 78 */ mr r4, r3 +/* 8032ECC0 0032BC20 7C 03 02 14 */ add r0, r3, r0 +/* 8032ECC4 0032BC24 90 61 00 28 */ stw r3, 0x28(r1) +/* 8032ECC8 0032BC28 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032ECCC 0032BC2C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032ECD0 0032BC30 48 00 00 08 */ b lbl_8032ECD8 +lbl_8032ECD4: +/* 8032ECD4 0032BC34 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032ECD8: +/* 8032ECD8 0032BC38 7C 04 00 40 */ cmplw r4, r0 +/* 8032ECDC 0032BC3C 40 82 FF F8 */ bne lbl_8032ECD4 +/* 8032ECE0 0032BC40 28 03 00 00 */ cmplwi r3, 0 +/* 8032ECE4 0032BC44 41 82 00 08 */ beq lbl_8032ECEC +/* 8032ECE8 0032BC48 4B FE 6C 49 */ bl Free__7CMemoryFPCv +lbl_8032ECEC: +/* 8032ECEC 0032BC4C 34 1E 01 6C */ addic. r0, r30, 0x16c +/* 8032ECF0 0032BC50 41 82 00 44 */ beq lbl_8032ED34 +/* 8032ECF4 0032BC54 80 1E 01 70 */ lwz r0, 0x170(r30) +/* 8032ECF8 0032BC58 80 7E 01 78 */ lwz r3, 0x178(r30) +/* 8032ECFC 0032BC5C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032ED00 0032BC60 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8032ED04 0032BC64 7C 64 1B 78 */ mr r4, r3 +/* 8032ED08 0032BC68 7C 03 02 14 */ add r0, r3, r0 +/* 8032ED0C 0032BC6C 90 61 00 18 */ stw r3, 0x18(r1) +/* 8032ED10 0032BC70 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032ED14 0032BC74 90 01 00 20 */ stw r0, 0x20(r1) +/* 8032ED18 0032BC78 48 00 00 08 */ b lbl_8032ED20 +lbl_8032ED1C: +/* 8032ED1C 0032BC7C 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032ED20: +/* 8032ED20 0032BC80 7C 04 00 40 */ cmplw r4, r0 +/* 8032ED24 0032BC84 40 82 FF F8 */ bne lbl_8032ED1C +/* 8032ED28 0032BC88 28 03 00 00 */ cmplwi r3, 0 +/* 8032ED2C 0032BC8C 41 82 00 08 */ beq lbl_8032ED34 +/* 8032ED30 0032BC90 4B FE 6C 01 */ bl Free__7CMemoryFPCv +lbl_8032ED34: +/* 8032ED34 0032BC94 34 1E 01 5C */ addic. r0, r30, 0x15c +/* 8032ED38 0032BC98 41 82 00 44 */ beq lbl_8032ED7C +/* 8032ED3C 0032BC9C 80 1E 01 60 */ lwz r0, 0x160(r30) +/* 8032ED40 0032BCA0 80 7E 01 68 */ lwz r3, 0x168(r30) +/* 8032ED44 0032BCA4 54 00 38 30 */ slwi r0, r0, 7 +/* 8032ED48 0032BCA8 7C 03 02 14 */ add r0, r3, r0 +/* 8032ED4C 0032BCAC 90 61 00 0C */ stw r3, 0xc(r1) +/* 8032ED50 0032BCB0 7C 64 1B 78 */ mr r4, r3 +/* 8032ED54 0032BCB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032ED58 0032BCB8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032ED5C 0032BCBC 90 61 00 08 */ stw r3, 8(r1) +/* 8032ED60 0032BCC0 48 00 00 08 */ b lbl_8032ED68 +lbl_8032ED64: +/* 8032ED64 0032BCC4 38 84 00 80 */ addi r4, r4, 0x80 +lbl_8032ED68: +/* 8032ED68 0032BCC8 7C 04 00 40 */ cmplw r4, r0 +/* 8032ED6C 0032BCCC 40 82 FF F8 */ bne lbl_8032ED64 +/* 8032ED70 0032BCD0 28 03 00 00 */ cmplwi r3, 0 +/* 8032ED74 0032BCD4 41 82 00 08 */ beq lbl_8032ED7C +/* 8032ED78 0032BCD8 4B FE 6B B9 */ bl Free__7CMemoryFPCv +lbl_8032ED7C: +/* 8032ED7C 0032BCDC 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8032ED80 0032BCE0 41 82 00 18 */ beq lbl_8032ED98 +/* 8032ED84 0032BCE4 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8032ED88 0032BCE8 41 82 00 10 */ beq lbl_8032ED98 +/* 8032ED8C 0032BCEC 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8032ED90 0032BCF0 38 80 00 00 */ li r4, 0 +/* 8032ED94 0032BCF4 48 01 20 AD */ bl __dt__6CTokenFv +lbl_8032ED98: +/* 8032ED98 0032BCF8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032ED9C 0032BCFC 41 82 00 1C */ beq lbl_8032EDB8 +/* 8032EDA0 0032BD00 3C 80 80 3F */ lis r4, lbl_803EDD08@ha +/* 8032EDA4 0032BD04 38 7E 00 04 */ addi r3, r30, 4 +/* 8032EDA8 0032BD08 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l +/* 8032EDAC 0032BD0C 38 80 FF FF */ li r4, -1 +/* 8032EDB0 0032BD10 90 1E 00 00 */ stw r0, 0(r30) +/* 8032EDB4 0032BD14 4B D2 BF 1D */ bl __dt__12CParticleGenFv +lbl_8032EDB8: +/* 8032EDB8 0032BD18 7F E0 07 35 */ extsh. r0, r31 +/* 8032EDBC 0032BD1C 40 81 00 0C */ ble lbl_8032EDC8 +/* 8032EDC0 0032BD20 7F C3 F3 78 */ mr r3, r30 +/* 8032EDC4 0032BD24 4B FE 6B 6D */ bl Free__7CMemoryFPCv +lbl_8032EDC8: +/* 8032EDC8 0032BD28 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8032EDCC 0032BD2C 7F C3 F3 78 */ mr r3, r30 +/* 8032EDD0 0032BD30 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8032EDD4 0032BD34 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8032EDD8 0032BD38 7C 08 03 A6 */ mtlr r0 +/* 8032EDDC 0032BD3C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8032EDE0 0032BD40 4E 80 00 20 */ blr + +.global "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +"__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i": +/* 8032EDE4 0032BD44 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8032EDE8 0032BD48 7C 08 02 A6 */ mflr r0 +/* 8032EDEC 0032BD4C 3C C0 80 3F */ lis r6, lbl_803EDD08@ha +/* 8032EDF0 0032BD50 90 01 01 04 */ stw r0, 0x104(r1) +/* 8032EDF4 0032BD54 38 06 DD 08 */ addi r0, r6, lbl_803EDD08@l +/* 8032EDF8 0032BD58 38 C0 00 00 */ li r6, 0 +/* 8032EDFC 0032BD5C BF 61 00 EC */ stmw r27, 0xec(r1) +/* 8032EE00 0032BD60 7C 7F 1B 78 */ mr r31, r3 +/* 8032EE04 0032BD64 38 FF 00 10 */ addi r7, r31, 0x10 +/* 8032EE08 0032BD68 3C 60 80 3F */ lis r3, lbl_803EDD80@ha +/* 8032EE0C 0032BD6C 3B 7F 00 1C */ addi r27, r31, 0x1c +/* 8032EE10 0032BD70 7C BE 2B 78 */ mr r30, r5 +/* 8032EE14 0032BD74 90 1F 00 00 */ stw r0, 0(r31) +/* 8032EE18 0032BD78 38 03 DD 80 */ addi r0, r3, lbl_803EDD80@l +/* 8032EE1C 0032BD7C 7F 63 DB 78 */ mr r3, r27 +/* 8032EE20 0032BD80 90 FF 00 08 */ stw r7, 8(r31) +/* 8032EE24 0032BD84 90 FF 00 0C */ stw r7, 0xc(r31) +/* 8032EE28 0032BD88 90 FF 00 10 */ stw r7, 0x10(r31) +/* 8032EE2C 0032BD8C 90 FF 00 14 */ stw r7, 0x14(r31) +/* 8032EE30 0032BD90 90 DF 00 18 */ stw r6, 0x18(r31) +/* 8032EE34 0032BD94 90 1F 00 00 */ stw r0, 0(r31) +/* 8032EE38 0032BD98 48 01 20 71 */ bl __ct__6CTokenFRC6CToken +/* 8032EE3C 0032BD9C 7F 63 DB 78 */ mr r3, r27 +/* 8032EE40 0032BDA0 48 01 1F CD */ bl GetObj__6CTokenFv +/* 8032EE44 0032BDA4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8032EE48 0032BDA8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032EE4C 0032BDAC 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8032EE50 0032BDB0 38 00 00 00 */ li r0, 0 +/* 8032EE54 0032BDB4 90 BB 00 08 */ stw r5, 8(r27) +/* 8032EE58 0032BDB8 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8032EE5C 0032BDBC C8 22 CB 10 */ lfd f1, lbl_805AE830@sda21(r2) +/* 8032EE60 0032BDC0 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8032EE64 0032BDC4 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032EE68 0032BDC8 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8032EE6C 0032BDCC D8 3F 00 30 */ stfd f1, 0x30(r31) +/* 8032EE70 0032BDD0 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8032EE74 0032BDD4 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8032EE78 0032BDD8 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 8032EE7C 0032BDDC 4B FE 3C F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EE80 0032BDE0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8032EE84 0032BDE4 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8032EE88 0032BDE8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8032EE8C 0032BDEC 4B FE 3C E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EE90 0032BDF0 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032EE94 0032BDF4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032EE98 0032BDF8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8032EE9C 0032BDFC D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 8032EEA0 0032BE00 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8032EEA4 0032BE04 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8032EEA8 0032BE08 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 8032EEAC 0032BE0C 4B FE 3C C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EEB0 0032BE10 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032EEB4 0032BE14 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032EEB8 0032BE18 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8032EEBC 0032BE1C D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 8032EEC0 0032BE20 38 7F 00 EC */ addi r3, r31, 0xec +/* 8032EEC4 0032BE24 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 8032EEC8 0032BE28 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8032EECC 0032BE2C 4B FE 3C A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EED0 0032BE30 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8032EED4 0032BE34 38 7F 01 1C */ addi r3, r31, 0x11c +/* 8032EED8 0032BE38 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8032EEDC 0032BE3C 4B FE 3C 99 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EEE0 0032BE40 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032EEE4 0032BE44 38 00 00 00 */ li r0, 0 +/* 8032EEE8 0032BE48 D0 1F 01 4C */ stfs f0, 0x14c(r31) +/* 8032EEEC 0032BE4C D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 8032EEF0 0032BE50 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 8032EEF4 0032BE54 90 1F 01 58 */ stw r0, 0x158(r31) +/* 8032EEF8 0032BE58 90 1F 01 60 */ stw r0, 0x160(r31) +/* 8032EEFC 0032BE5C 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8032EF00 0032BE60 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8032EF04 0032BE64 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8032EF08 0032BE68 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8032EF0C 0032BE6C 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8032EF10 0032BE70 90 1F 01 80 */ stw r0, 0x180(r31) +/* 8032EF14 0032BE74 90 1F 01 84 */ stw r0, 0x184(r31) +/* 8032EF18 0032BE78 90 1F 01 88 */ stw r0, 0x188(r31) +/* 8032EF1C 0032BE7C 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8032EF20 0032BE80 90 1F 01 94 */ stw r0, 0x194(r31) +/* 8032EF24 0032BE84 90 1F 01 98 */ stw r0, 0x198(r31) +/* 8032EF28 0032BE88 90 1F 01 A0 */ stw r0, 0x1a0(r31) +/* 8032EF2C 0032BE8C 90 1F 01 A4 */ stw r0, 0x1a4(r31) +/* 8032EF30 0032BE90 90 1F 01 A8 */ stw r0, 0x1a8(r31) +/* 8032EF34 0032BE94 90 1F 01 AC */ stw r0, 0x1ac(r31) +/* 8032EF38 0032BE98 90 1F 01 B0 */ stw r0, 0x1b0(r31) +/* 8032EF3C 0032BE9C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032EF40 0032BEA0 88 03 00 45 */ lbz r0, 0x45(r3) +/* 8032EF44 0032BEA4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8032EF48 0032BEA8 41 82 00 54 */ beq lbl_8032EF9C +/* 8032EF4C 0032BEAC 48 05 64 5D */ bl OSGetTime +/* 8032EF50 0032BEB0 80 ED A6 7C */ lwz r7, lbl_805A923C@sda21(r13) +/* 8032EF54 0032BEB4 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 8032EF58 0032BEB8 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 8032EF5C 0032BEBC 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) +/* 8032EF60 0032BEC0 7C 87 20 10 */ subfc r4, r7, r4 +/* 8032EF64 0032BEC4 80 A6 00 08 */ lwz r5, 8(r6) +/* 8032EF68 0032BEC8 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 8032EF6C 0032BECC 7C 60 19 10 */ subfe r3, r0, r3 +/* 8032EF70 0032BED0 48 05 AC 5D */ bl __div2i +/* 8032EF74 0032BED4 7C 60 1B 78 */ mr r0, r3 +/* 8032EF78 0032BED8 54 86 A0 3E */ rotlwi r6, r4, 0x14 +/* 8032EF7C 0032BEDC 50 80 05 3E */ rlwimi r0, r4, 0, 0x14, 0x1f +/* 8032EF80 0032BEE0 50 66 A0 16 */ rlwimi r6, r3, 0x14, 0, 0xb +/* 8032EF84 0032BEE4 7C 00 66 70 */ srawi r0, r0, 0xc +/* 8032EF88 0032BEE8 7C C6 01 94 */ addze r6, r6 +/* 8032EF8C 0032BEEC 7C 00 01 94 */ addze r0, r0 +/* 8032EF90 0032BEF0 54 C5 60 26 */ slwi r5, r6, 0xc +/* 8032EF94 0032BEF4 7C C5 20 10 */ subfc r6, r5, r4 +/* 8032EF98 0032BEF8 48 00 00 08 */ b lbl_8032EFA0 +lbl_8032EF9C: +/* 8032EF9C 0032BEFC 38 C0 00 63 */ li r6, 0x63 +lbl_8032EFA0: +/* 8032EFA0 0032BF00 38 7F 01 C0 */ addi r3, r31, 0x1c0 +/* 8032EFA4 0032BF04 7C C4 07 34 */ extsh r4, r6 +/* 8032EFA8 0032BF08 4B FE 36 45 */ bl __ct__9CRandom16FUi +/* 8032EFAC 0032BF0C C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032EFB0 0032BF10 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032EFB4 0032BF14 39 00 00 01 */ li r8, 1 +/* 8032EFB8 0032BF18 38 E0 00 00 */ li r7, 0 +/* 8032EFBC 0032BF1C D0 3F 01 C4 */ stfs f1, 0x1c4(r31) +/* 8032EFC0 0032BF20 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8032EFC4 0032BF24 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032EFC8 0032BF28 38 00 FF FF */ li r0, -1 +/* 8032EFCC 0032BF2C D0 3F 01 C8 */ stfs f1, 0x1c8(r31) +/* 8032EFD0 0032BF30 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032EFD4 0032BF34 38 9F 01 C0 */ addi r4, r31, 0x1c0 +/* 8032EFD8 0032BF38 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032EFDC 0032BF3C 51 06 3E 30 */ rlwimi r6, r8, 7, 0x18, 0x18 +/* 8032EFE0 0032BF40 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032EFE4 0032BF44 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032EFE8 0032BF48 50 E6 2E B4 */ rlwimi r6, r7, 5, 0x1a, 0x1a +/* 8032EFEC 0032BF4C 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032EFF0 0032BF50 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032EFF4 0032BF54 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b +/* 8032EFF8 0032BF58 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032EFFC 0032BF5C 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032F000 0032BF60 50 E6 07 FE */ rlwimi r6, r7, 0, 0x1f, 0x1f +/* 8032F004 0032BF64 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032F008 0032BF68 88 DF 01 D1 */ lbz r6, 0x1d1(r31) +/* 8032F00C 0032BF6C 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 +/* 8032F010 0032BF70 98 DF 01 D1 */ stb r6, 0x1d1(r31) +/* 8032F014 0032BF74 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) +/* 8032F018 0032BF78 D0 3F 01 D8 */ stfs f1, 0x1d8(r31) +/* 8032F01C 0032BF7C D0 3F 01 DC */ stfs f1, 0x1dc(r31) +/* 8032F020 0032BF80 D0 3F 01 E0 */ stfs f1, 0x1e0(r31) +/* 8032F024 0032BF84 90 FF 01 E4 */ stw r7, 0x1e4(r31) +/* 8032F028 0032BF88 D0 1F 01 E8 */ stfs f0, 0x1e8(r31) +/* 8032F02C 0032BF8C 90 FF 01 EC */ stw r7, 0x1ec(r31) +/* 8032F030 0032BF90 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F034 0032BF94 D0 1F 01 F0 */ stfs f0, 0x1f0(r31) +/* 8032F038 0032BF98 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F03C 0032BF9C D0 1F 01 F4 */ stfs f0, 0x1f4(r31) +/* 8032F040 0032BFA0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F044 0032BFA4 D0 1F 01 F8 */ stfs f0, 0x1f8(r31) +/* 8032F048 0032BFA8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F04C 0032BFAC D0 1F 01 FC */ stfs f0, 0x1fc(r31) +/* 8032F050 0032BFB0 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F054 0032BFB4 D0 1F 02 00 */ stfs f0, 0x200(r31) +/* 8032F058 0032BFB8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F05C 0032BFBC D0 1F 02 04 */ stfs f0, 0x204(r31) +/* 8032F060 0032BFC0 D0 3F 02 08 */ stfs f1, 0x208(r31) +/* 8032F064 0032BFC4 90 1F 02 0C */ stw r0, 0x20c(r31) +/* 8032F068 0032BFC8 4B FE 36 19 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032F06C 0032BFCC 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) +/* 8032F070 0032BFD0 2C 1E 00 00 */ cmpwi r30, 0 +/* 8032F074 0032BFD4 38 03 00 01 */ addi r0, r3, 1 +/* 8032F078 0032BFD8 90 0D A8 F8 */ stw r0, lbl_805A94B8@sda21(r13) +/* 8032F07C 0032BFDC 40 81 00 0C */ ble lbl_8032F088 +/* 8032F080 0032BFE0 93 DF 01 B4 */ stw r30, 0x1b4(r31) +/* 8032F084 0032BFE4 48 00 00 2C */ b lbl_8032F0B0 +lbl_8032F088: +/* 8032F088 0032BFE8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F08C 0032BFEC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8032F090 0032BFF0 28 03 00 00 */ cmplwi r3, 0 +/* 8032F094 0032BFF4 41 82 00 1C */ beq lbl_8032F0B0 +/* 8032F098 0032BFF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F09C 0032BFFC 38 BF 01 B4 */ addi r5, r31, 0x1b4 +/* 8032F0A0 0032C000 38 80 00 00 */ li r4, 0 +/* 8032F0A4 0032C004 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F0A8 0032C008 7D 89 03 A6 */ mtctr r12 +/* 8032F0AC 0032C00C 4E 80 04 21 */ bctrl +lbl_8032F0B0: +/* 8032F0B0 0032C010 80 7F 01 B4 */ lwz r3, 0x1b4(r31) +/* 8032F0B4 0032C014 38 03 00 01 */ addi r0, r3, 1 +/* 8032F0B8 0032C018 90 1F 01 B4 */ stw r0, 0x1b4(r31) +/* 8032F0BC 0032C01C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F0C0 0032C020 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8032F0C4 0032C024 28 03 00 00 */ cmplwi r3, 0 +/* 8032F0C8 0032C028 41 82 00 1C */ beq lbl_8032F0E4 +/* 8032F0CC 0032C02C 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F0D0 0032C030 38 BF 01 B8 */ addi r5, r31, 0x1b8 +/* 8032F0D4 0032C034 38 80 00 00 */ li r4, 0 +/* 8032F0D8 0032C038 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F0DC 0032C03C 7D 89 03 A6 */ mtctr r12 +/* 8032F0E0 0032C040 4E 80 04 21 */ bctrl +lbl_8032F0E4: +/* 8032F0E4 0032C044 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8032F0E8 0032C048 7F E3 FB 78 */ mr r3, r31 +/* 8032F0EC 0032C04C 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F0F0 0032C050 88 84 00 44 */ lbz r4, 0x44(r4) +/* 8032F0F4 0032C054 50 80 E7 38 */ rlwimi r0, r4, 0x1c, 0x1c, 0x1c +/* 8032F0F8 0032C058 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F0FC 0032C05C 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8032F100 0032C060 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F104 0032C064 88 84 00 44 */ lbz r4, 0x44(r4) +/* 8032F108 0032C068 50 80 EF 7A */ rlwimi r0, r4, 0x1d, 0x1d, 0x1d +/* 8032F10C 0032C06C 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F110 0032C070 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8032F114 0032C074 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F118 0032C078 88 84 00 44 */ lbz r4, 0x44(r4) +/* 8032F11C 0032C07C 50 80 EF BC */ rlwimi r0, r4, 0x1d, 0x1e, 0x1e +/* 8032F120 0032C080 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F124 0032C084 4B FF FA 91 */ bl IsLargeEnough__15CParticleSwooshCFv +/* 8032F128 0032C088 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032F12C 0032C08C 41 82 04 70 */ beq lbl_8032F59C +/* 8032F130 0032C090 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F134 0032C094 80 63 00 00 */ lwz r3, 0(r3) +/* 8032F138 0032C098 28 03 00 00 */ cmplwi r3, 0 +/* 8032F13C 0032C09C 41 82 00 20 */ beq lbl_8032F15C +/* 8032F140 0032C0A0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F144 0032C0A4 38 BF 00 2C */ addi r5, r31, 0x2c +/* 8032F148 0032C0A8 38 80 00 00 */ li r4, 0 +/* 8032F14C 0032C0AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F150 0032C0B0 7D 89 03 A6 */ mtctr r12 +/* 8032F154 0032C0B4 4E 80 04 21 */ bctrl +/* 8032F158 0032C0B8 48 00 00 10 */ b lbl_8032F168 +lbl_8032F15C: +/* 8032F15C 0032C0BC 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 8032F160 0032C0C0 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 8032F164 0032C0C4 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_8032F168: +/* 8032F168 0032C0C8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F16C 0032C0CC 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F170 0032C0D0 88 63 00 44 */ lbz r3, 0x44(r3) +/* 8032F174 0032C0D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032F178 0032C0D8 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F17C 0032C0DC 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F180 0032C0E0 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8032F184 0032C0E4 28 03 00 00 */ cmplwi r3, 0 +/* 8032F188 0032C0E8 41 82 00 1C */ beq lbl_8032F1A4 +/* 8032F18C 0032C0EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F190 0032C0F0 38 BF 01 B0 */ addi r5, r31, 0x1b0 +/* 8032F194 0032C0F4 38 80 00 00 */ li r4, 0 +/* 8032F198 0032C0F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F19C 0032C0FC 7D 89 03 A6 */ mtctr r12 +/* 8032F1A0 0032C100 4E 80 04 21 */ bctrl +lbl_8032F1A4: +/* 8032F1A4 0032C104 80 1F 01 B0 */ lwz r0, 0x1b0(r31) +/* 8032F1A8 0032C108 2C 00 00 00 */ cmpwi r0, 0 +/* 8032F1AC 0032C10C 40 80 00 0C */ bge lbl_8032F1B8 +/* 8032F1B0 0032C110 38 00 00 00 */ li r0, 0 +/* 8032F1B4 0032C114 90 1F 01 B0 */ stw r0, 0x1b0(r31) +lbl_8032F1B8: +/* 8032F1B8 0032C118 80 1F 01 60 */ lwz r0, 0x160(r31) +/* 8032F1BC 0032C11C 80 7F 01 68 */ lwz r3, 0x168(r31) +/* 8032F1C0 0032C120 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F1C4 0032C124 7C 03 02 14 */ add r0, r3, r0 +/* 8032F1C8 0032C128 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8032F1CC 0032C12C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8032F1D0 0032C130 90 01 00 50 */ stw r0, 0x50(r1) +/* 8032F1D4 0032C134 90 61 00 48 */ stw r3, 0x48(r1) +/* 8032F1D8 0032C138 48 00 00 08 */ b lbl_8032F1E0 +lbl_8032F1DC: +/* 8032F1DC 0032C13C 38 63 00 80 */ addi r3, r3, 0x80 +lbl_8032F1E0: +/* 8032F1E0 0032C140 7C 03 00 40 */ cmplw r3, r0 +/* 8032F1E4 0032C144 40 82 FF F8 */ bne lbl_8032F1DC +/* 8032F1E8 0032C148 38 00 00 00 */ li r0, 0 +/* 8032F1EC 0032C14C 38 7F 01 5C */ addi r3, r31, 0x15c +/* 8032F1F0 0032C150 90 1F 01 60 */ stw r0, 0x160(r31) +/* 8032F1F4 0032C154 80 9F 01 B4 */ lwz r4, 0x1b4(r31) +/* 8032F1F8 0032C158 48 00 06 2D */ bl sub_8032f824 +/* 8032F1FC 0032C15C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8032F200 0032C160 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032F204 0032C164 3B 84 66 A0 */ addi r28, r4, skZero3f@l +/* 8032F208 0032C168 3B 60 00 00 */ li r27, 0 +/* 8032F20C 0032C16C 3B A3 66 70 */ addi r29, r3, skIdentity4f@l +/* 8032F210 0032C170 7F 9E E3 78 */ mr r30, r28 +/* 8032F214 0032C174 48 00 00 60 */ b lbl_8032F274 +lbl_8032F218: +/* 8032F218 0032C178 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032F21C 0032C17C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8032F220 0032C180 FC 40 08 90 */ fmr f2, f1 +/* 8032F224 0032C184 FC 60 08 90 */ fmr f3, f1 +/* 8032F228 0032C188 FC 80 08 90 */ fmr f4, f1 +/* 8032F22C 0032C18C 48 03 41 C1 */ bl __ct__6CColorFffff +/* 8032F230 0032C190 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032F234 0032C194 7C 6A 1B 78 */ mr r10, r3 +/* 8032F238 0032C198 7F 84 E3 78 */ mr r4, r28 +/* 8032F23C 0032C19C 7F 85 E3 78 */ mr r5, r28 +/* 8032F240 0032C1A0 FC 40 08 90 */ fmr f2, f1 +/* 8032F244 0032C1A4 7F A8 EB 78 */ mr r8, r29 +/* 8032F248 0032C1A8 FC 60 08 90 */ fmr f3, f1 +/* 8032F24C 0032C1AC 7F C9 F3 78 */ mr r9, r30 +/* 8032F250 0032C1B0 FC 80 08 90 */ fmr f4, f1 +/* 8032F254 0032C1B4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032F258 0032C1B8 38 C0 00 00 */ li r6, 0 +/* 8032F25C 0032C1BC 38 E0 00 00 */ li r7, 0 +/* 8032F260 0032C1C0 48 00 04 E9 */ bl __ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor +/* 8032F264 0032C1C4 7C 64 1B 78 */ mr r4, r3 +/* 8032F268 0032C1C8 38 7F 01 5C */ addi r3, r31, 0x15c +/* 8032F26C 0032C1CC 48 00 03 55 */ bl sub_8032f5c0 +/* 8032F270 0032C1D0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8032F274: +/* 8032F274 0032C1D4 80 1F 01 64 */ lwz r0, 0x164(r31) +/* 8032F278 0032C1D8 7C 1B 00 00 */ cmpw r27, r0 +/* 8032F27C 0032C1DC 41 80 FF 9C */ blt lbl_8032F218 +/* 8032F280 0032C1E0 81 9F 00 00 */ lwz r12, 0(r31) +/* 8032F284 0032C1E4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8032F288 0032C1E8 7F E3 FB 78 */ mr r3, r31 +/* 8032F28C 0032C1EC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8032F290 0032C1F0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8032F294 0032C1F4 7D 89 03 A6 */ mtctr r12 +/* 8032F298 0032C1F8 4E 80 04 21 */ bctrl +/* 8032F29C 0032C1FC 80 1F 01 70 */ lwz r0, 0x170(r31) +/* 8032F2A0 0032C200 80 7F 01 78 */ lwz r3, 0x178(r31) +/* 8032F2A4 0032C204 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F2A8 0032C208 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8032F2AC 0032C20C 7C 03 02 14 */ add r0, r3, r0 +/* 8032F2B0 0032C210 90 61 00 38 */ stw r3, 0x38(r1) +/* 8032F2B4 0032C214 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032F2B8 0032C218 90 01 00 40 */ stw r0, 0x40(r1) +/* 8032F2BC 0032C21C 48 00 00 08 */ b lbl_8032F2C4 +lbl_8032F2C0: +/* 8032F2C0 0032C220 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F2C4: +/* 8032F2C4 0032C224 7C 03 00 40 */ cmplw r3, r0 +/* 8032F2C8 0032C228 40 82 FF F8 */ bne lbl_8032F2C0 +/* 8032F2CC 0032C22C 38 00 00 00 */ li r0, 0 +/* 8032F2D0 0032C230 38 7F 01 6C */ addi r3, r31, 0x16c +/* 8032F2D4 0032C234 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8032F2D8 0032C238 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F2DC 0032C23C 4B D2 EA 1D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F2E0 0032C240 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F2E4 0032C244 3B 80 00 00 */ li r28, 0 +/* 8032F2E8 0032C248 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F2EC 0032C24C 48 00 00 64 */ b lbl_8032F350 +lbl_8032F2F0: +/* 8032F2F0 0032C250 80 1F 01 70 */ lwz r0, 0x170(r31) +/* 8032F2F4 0032C254 7C 00 28 00 */ cmpw r0, r5 +/* 8032F2F8 0032C258 41 80 00 1C */ blt lbl_8032F314 +/* 8032F2FC 0032C25C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F300 0032C260 38 7F 01 6C */ addi r3, r31, 0x16c +/* 8032F304 0032C264 38 80 00 04 */ li r4, 4 +/* 8032F308 0032C268 41 82 00 08 */ beq lbl_8032F310 +/* 8032F30C 0032C26C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F310: +/* 8032F310 0032C270 4B D2 E9 E9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F314: +/* 8032F314 0032C274 80 1F 01 70 */ lwz r0, 0x170(r31) +/* 8032F318 0032C278 80 7F 01 78 */ lwz r3, 0x178(r31) +/* 8032F31C 0032C27C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F320 0032C280 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F324 0032C284 41 82 00 1C */ beq lbl_8032F340 +/* 8032F328 0032C288 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F32C 0032C28C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F330 0032C290 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F334 0032C294 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F338 0032C298 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F33C 0032C29C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F340: +/* 8032F340 0032C2A0 80 7F 01 70 */ lwz r3, 0x170(r31) +/* 8032F344 0032C2A4 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F348 0032C2A8 38 03 00 01 */ addi r0, r3, 1 +/* 8032F34C 0032C2AC 90 1F 01 70 */ stw r0, 0x170(r31) +lbl_8032F350: +/* 8032F350 0032C2B0 80 BF 01 74 */ lwz r5, 0x174(r31) +/* 8032F354 0032C2B4 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F358 0032C2B8 41 80 FF 98 */ blt lbl_8032F2F0 +/* 8032F35C 0032C2BC 80 1F 01 80 */ lwz r0, 0x180(r31) +/* 8032F360 0032C2C0 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 8032F364 0032C2C4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F368 0032C2C8 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8032F36C 0032C2CC 7C 03 02 14 */ add r0, r3, r0 +/* 8032F370 0032C2D0 90 61 00 28 */ stw r3, 0x28(r1) +/* 8032F374 0032C2D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032F378 0032C2D8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032F37C 0032C2DC 48 00 00 08 */ b lbl_8032F384 +lbl_8032F380: +/* 8032F380 0032C2E0 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F384: +/* 8032F384 0032C2E4 7C 03 00 40 */ cmplw r3, r0 +/* 8032F388 0032C2E8 40 82 FF F8 */ bne lbl_8032F380 +/* 8032F38C 0032C2EC 38 00 00 00 */ li r0, 0 +/* 8032F390 0032C2F0 38 7F 01 7C */ addi r3, r31, 0x17c +/* 8032F394 0032C2F4 90 1F 01 80 */ stw r0, 0x180(r31) +/* 8032F398 0032C2F8 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F39C 0032C2FC 4B D2 E9 5D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F3A0 0032C300 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F3A4 0032C304 3B 80 00 00 */ li r28, 0 +/* 8032F3A8 0032C308 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F3AC 0032C30C 48 00 00 64 */ b lbl_8032F410 +lbl_8032F3B0: +/* 8032F3B0 0032C310 80 1F 01 80 */ lwz r0, 0x180(r31) +/* 8032F3B4 0032C314 7C 00 28 00 */ cmpw r0, r5 +/* 8032F3B8 0032C318 41 80 00 1C */ blt lbl_8032F3D4 +/* 8032F3BC 0032C31C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F3C0 0032C320 38 7F 01 7C */ addi r3, r31, 0x17c +/* 8032F3C4 0032C324 38 80 00 04 */ li r4, 4 +/* 8032F3C8 0032C328 41 82 00 08 */ beq lbl_8032F3D0 +/* 8032F3CC 0032C32C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F3D0: +/* 8032F3D0 0032C330 4B D2 E9 29 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F3D4: +/* 8032F3D4 0032C334 80 1F 01 80 */ lwz r0, 0x180(r31) +/* 8032F3D8 0032C338 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 8032F3DC 0032C33C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F3E0 0032C340 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F3E4 0032C344 41 82 00 1C */ beq lbl_8032F400 +/* 8032F3E8 0032C348 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F3EC 0032C34C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F3F0 0032C350 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F3F4 0032C354 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F3F8 0032C358 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F3FC 0032C35C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F400: +/* 8032F400 0032C360 80 7F 01 80 */ lwz r3, 0x180(r31) +/* 8032F404 0032C364 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F408 0032C368 38 03 00 01 */ addi r0, r3, 1 +/* 8032F40C 0032C36C 90 1F 01 80 */ stw r0, 0x180(r31) +lbl_8032F410: +/* 8032F410 0032C370 80 BF 01 84 */ lwz r5, 0x184(r31) +/* 8032F414 0032C374 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F418 0032C378 41 80 FF 98 */ blt lbl_8032F3B0 +/* 8032F41C 0032C37C 80 1F 01 90 */ lwz r0, 0x190(r31) +/* 8032F420 0032C380 80 7F 01 98 */ lwz r3, 0x198(r31) +/* 8032F424 0032C384 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F428 0032C388 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8032F42C 0032C38C 7C 03 02 14 */ add r0, r3, r0 +/* 8032F430 0032C390 90 61 00 18 */ stw r3, 0x18(r1) +/* 8032F434 0032C394 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032F438 0032C398 90 01 00 20 */ stw r0, 0x20(r1) +/* 8032F43C 0032C39C 48 00 00 08 */ b lbl_8032F444 +lbl_8032F440: +/* 8032F440 0032C3A0 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F444: +/* 8032F444 0032C3A4 7C 03 00 40 */ cmplw r3, r0 +/* 8032F448 0032C3A8 40 82 FF F8 */ bne lbl_8032F440 +/* 8032F44C 0032C3AC 38 00 00 00 */ li r0, 0 +/* 8032F450 0032C3B0 38 7F 01 8C */ addi r3, r31, 0x18c +/* 8032F454 0032C3B4 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8032F458 0032C3B8 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F45C 0032C3BC 4B D2 E8 9D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F460 0032C3C0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F464 0032C3C4 3B 80 00 00 */ li r28, 0 +/* 8032F468 0032C3C8 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F46C 0032C3CC 48 00 00 64 */ b lbl_8032F4D0 +lbl_8032F470: +/* 8032F470 0032C3D0 80 1F 01 90 */ lwz r0, 0x190(r31) +/* 8032F474 0032C3D4 7C 00 28 00 */ cmpw r0, r5 +/* 8032F478 0032C3D8 41 80 00 1C */ blt lbl_8032F494 +/* 8032F47C 0032C3DC 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F480 0032C3E0 38 7F 01 8C */ addi r3, r31, 0x18c +/* 8032F484 0032C3E4 38 80 00 04 */ li r4, 4 +/* 8032F488 0032C3E8 41 82 00 08 */ beq lbl_8032F490 +/* 8032F48C 0032C3EC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F490: +/* 8032F490 0032C3F0 4B D2 E8 69 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F494: +/* 8032F494 0032C3F4 80 1F 01 90 */ lwz r0, 0x190(r31) +/* 8032F498 0032C3F8 80 7F 01 98 */ lwz r3, 0x198(r31) +/* 8032F49C 0032C3FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F4A0 0032C400 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F4A4 0032C404 41 82 00 1C */ beq lbl_8032F4C0 +/* 8032F4A8 0032C408 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F4AC 0032C40C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F4B0 0032C410 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F4B4 0032C414 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F4B8 0032C418 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F4BC 0032C41C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F4C0: +/* 8032F4C0 0032C420 80 7F 01 90 */ lwz r3, 0x190(r31) +/* 8032F4C4 0032C424 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F4C8 0032C428 38 03 00 01 */ addi r0, r3, 1 +/* 8032F4CC 0032C42C 90 1F 01 90 */ stw r0, 0x190(r31) +lbl_8032F4D0: +/* 8032F4D0 0032C430 80 BF 01 94 */ lwz r5, 0x194(r31) +/* 8032F4D4 0032C434 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F4D8 0032C438 41 80 FF 98 */ blt lbl_8032F470 +/* 8032F4DC 0032C43C 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8032F4E0 0032C440 80 7F 01 A8 */ lwz r3, 0x1a8(r31) +/* 8032F4E4 0032C444 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F4E8 0032C448 90 61 00 0C */ stw r3, 0xc(r1) +/* 8032F4EC 0032C44C 7C 03 02 14 */ add r0, r3, r0 +/* 8032F4F0 0032C450 90 61 00 08 */ stw r3, 8(r1) +/* 8032F4F4 0032C454 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F4F8 0032C458 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032F4FC 0032C45C 48 00 00 08 */ b lbl_8032F504 +lbl_8032F500: +/* 8032F500 0032C460 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F504: +/* 8032F504 0032C464 7C 03 00 40 */ cmplw r3, r0 +/* 8032F508 0032C468 40 82 FF F8 */ bne lbl_8032F500 +/* 8032F50C 0032C46C 38 00 00 00 */ li r0, 0 +/* 8032F510 0032C470 38 7F 01 9C */ addi r3, r31, 0x19c +/* 8032F514 0032C474 90 1F 01 A0 */ stw r0, 0x1a0(r31) +/* 8032F518 0032C478 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F51C 0032C47C 4B D2 E7 DD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F520 0032C480 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F524 0032C484 3B 80 00 00 */ li r28, 0 +/* 8032F528 0032C488 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F52C 0032C48C 48 00 00 64 */ b lbl_8032F590 +lbl_8032F530: +/* 8032F530 0032C490 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8032F534 0032C494 7C 00 28 00 */ cmpw r0, r5 +/* 8032F538 0032C498 41 80 00 1C */ blt lbl_8032F554 +/* 8032F53C 0032C49C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F540 0032C4A0 38 7F 01 9C */ addi r3, r31, 0x19c +/* 8032F544 0032C4A4 38 80 00 04 */ li r4, 4 +/* 8032F548 0032C4A8 41 82 00 08 */ beq lbl_8032F550 +/* 8032F54C 0032C4AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F550: +/* 8032F550 0032C4B0 4B D2 E7 A9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F554: +/* 8032F554 0032C4B4 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8032F558 0032C4B8 80 7F 01 A8 */ lwz r3, 0x1a8(r31) +/* 8032F55C 0032C4BC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F560 0032C4C0 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F564 0032C4C4 41 82 00 1C */ beq lbl_8032F580 +/* 8032F568 0032C4C8 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F56C 0032C4CC D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F570 0032C4D0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F574 0032C4D4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F578 0032C4D8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F57C 0032C4DC D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F580: +/* 8032F580 0032C4E0 80 7F 01 A0 */ lwz r3, 0x1a0(r31) +/* 8032F584 0032C4E4 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F588 0032C4E8 38 03 00 01 */ addi r0, r3, 1 +/* 8032F58C 0032C4EC 90 1F 01 A0 */ stw r0, 0x1a0(r31) +lbl_8032F590: +/* 8032F590 0032C4F0 80 BF 01 A4 */ lwz r5, 0x1a4(r31) +/* 8032F594 0032C4F4 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F598 0032C4F8 41 80 FF 98 */ blt lbl_8032F530 +lbl_8032F59C: +/* 8032F59C 0032C4FC 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032F5A0 0032C500 38 80 FF FF */ li r4, -1 +/* 8032F5A4 0032C504 4B FE 30 61 */ bl __dt__13CGlobalRandomFv +/* 8032F5A8 0032C508 7F E3 FB 78 */ mr r3, r31 +/* 8032F5AC 0032C50C BB 61 00 EC */ lmw r27, 0xec(r1) +/* 8032F5B0 0032C510 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8032F5B4 0032C514 7C 08 03 A6 */ mtlr r0 +/* 8032F5B8 0032C518 38 21 01 00 */ addi r1, r1, 0x100 +/* 8032F5BC 0032C51C 4E 80 00 20 */ blr + +.global sub_8032f5c0 +sub_8032f5c0: +/* 8032F5C0 0032C520 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032F5C4 0032C524 7C 08 02 A6 */ mflr r0 +/* 8032F5C8 0032C528 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F5CC 0032C52C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032F5D0 0032C530 7C 9F 23 78 */ mr r31, r4 +/* 8032F5D4 0032C534 93 C1 00 08 */ stw r30, 8(r1) +/* 8032F5D8 0032C538 7C 7E 1B 78 */ mr r30, r3 +/* 8032F5DC 0032C53C 80 03 00 04 */ lwz r0, 4(r3) +/* 8032F5E0 0032C540 80 A3 00 08 */ lwz r5, 8(r3) +/* 8032F5E4 0032C544 7C 00 28 00 */ cmpw r0, r5 +/* 8032F5E8 0032C548 41 80 00 18 */ blt lbl_8032F600 +/* 8032F5EC 0032C54C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F5F0 0032C550 38 80 00 04 */ li r4, 4 +/* 8032F5F4 0032C554 41 82 00 08 */ beq lbl_8032F5FC +/* 8032F5F8 0032C558 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F5FC: +/* 8032F5FC 0032C55C 48 00 02 29 */ bl sub_8032f824 +lbl_8032F600: +/* 8032F600 0032C560 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032F604 0032C564 7F E4 FB 78 */ mr r4, r31 +/* 8032F608 0032C568 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8032F60C 0032C56C 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F610 0032C570 7C 63 02 14 */ add r3, r3, r0 +/* 8032F614 0032C574 48 00 00 29 */ bl sub_8032f63c +/* 8032F618 0032C578 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032F61C 0032C57C 38 03 00 01 */ addi r0, r3, 1 +/* 8032F620 0032C580 90 1E 00 04 */ stw r0, 4(r30) +/* 8032F624 0032C584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032F628 0032C588 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032F62C 0032C58C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032F630 0032C590 7C 08 03 A6 */ mtlr r0 +/* 8032F634 0032C594 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032F638 0032C598 4E 80 00 20 */ blr + +.global sub_8032f63c +sub_8032f63c: +/* 8032F63C 0032C59C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032F640 0032C5A0 7C 08 02 A6 */ mflr r0 +/* 8032F644 0032C5A4 28 03 00 00 */ cmplwi r3, 0 +/* 8032F648 0032C5A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F64C 0032C5AC 41 82 00 08 */ beq lbl_8032F654 +/* 8032F650 0032C5B0 48 00 00 15 */ bl sub_8032f664 +lbl_8032F654: +/* 8032F654 0032C5B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032F658 0032C5B8 7C 08 03 A6 */ mtlr r0 +/* 8032F65C 0032C5BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032F660 0032C5C0 4E 80 00 20 */ blr + +.global sub_8032f664 +sub_8032f664: +/* 8032F664 0032C5C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032F668 0032C5C8 7C 08 02 A6 */ mflr r0 +/* 8032F66C 0032C5CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F670 0032C5D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032F674 0032C5D4 7C 9F 23 78 */ mr r31, r4 +/* 8032F678 0032C5D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032F67C 0032C5DC 7C 7E 1B 78 */ mr r30, r3 +/* 8032F680 0032C5E0 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8032F684 0032C5E4 88 04 00 00 */ lbz r0, 0(r4) +/* 8032F688 0032C5E8 38 9F 00 38 */ addi r4, r31, 0x38 +/* 8032F68C 0032C5EC 98 1E 00 00 */ stb r0, 0(r30) +/* 8032F690 0032C5F0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8032F694 0032C5F4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8032F698 0032C5F8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8032F69C 0032C5FC D0 1E 00 08 */ stfs f0, 8(r30) +/* 8032F6A0 0032C600 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8032F6A4 0032C604 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8032F6A8 0032C608 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8032F6AC 0032C60C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8032F6B0 0032C610 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8032F6B4 0032C614 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8032F6B8 0032C618 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8032F6BC 0032C61C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8032F6C0 0032C620 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8032F6C4 0032C624 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8032F6C8 0032C628 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8032F6CC 0032C62C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8032F6D0 0032C630 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8032F6D4 0032C634 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8032F6D8 0032C638 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 8032F6DC 0032C63C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 8032F6E0 0032C640 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8032F6E4 0032C644 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 8032F6E8 0032C648 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8032F6EC 0032C64C D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8032F6F0 0032C650 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8032F6F4 0032C654 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 8032F6F8 0032C658 4B FE 34 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032F6FC 0032C65C 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 8032F700 0032C660 7F C3 F3 78 */ mr r3, r30 +/* 8032F704 0032C664 90 1E 00 68 */ stw r0, 0x68(r30) +/* 8032F708 0032C668 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 8032F70C 0032C66C 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 8032F710 0032C670 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 8032F714 0032C674 90 1E 00 70 */ stw r0, 0x70(r30) +/* 8032F718 0032C678 C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 8032F71C 0032C67C D0 1E 00 74 */ stfs f0, 0x74(r30) +/* 8032F720 0032C680 C0 1F 00 78 */ lfs f0, 0x78(r31) +/* 8032F724 0032C684 D0 1E 00 78 */ stfs f0, 0x78(r30) +/* 8032F728 0032C688 C0 1F 00 7C */ lfs f0, 0x7c(r31) +/* 8032F72C 0032C68C D0 1E 00 7C */ stfs f0, 0x7c(r30) +/* 8032F730 0032C690 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032F734 0032C694 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032F738 0032C698 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032F73C 0032C69C 7C 08 03 A6 */ mtlr r0 +/* 8032F740 0032C6A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032F744 0032C6A4 4E 80 00 20 */ blr + +.global __ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor +__ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor: +/* 8032F748 0032C6A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032F74C 0032C6AC 7C 08 02 A6 */ mflr r0 +/* 8032F750 0032C6B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032F754 0032C6B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032F758 0032C6B8 7D 5F 53 78 */ mr r31, r10 +/* 8032F75C 0032C6BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032F760 0032C6C0 7D 3E 4B 78 */ mr r30, r9 +/* 8032F764 0032C6C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032F768 0032C6C8 7C DD 33 78 */ mr r29, r6 +/* 8032F76C 0032C6CC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8032F770 0032C6D0 7C 7C 1B 78 */ mr r28, r3 +/* 8032F774 0032C6D4 98 E3 00 00 */ stb r7, 0(r3) +/* 8032F778 0032C6D8 D0 63 00 04 */ stfs f3, 4(r3) +/* 8032F77C 0032C6DC 38 7C 00 38 */ addi r3, r28, 0x38 +/* 8032F780 0032C6E0 D0 9C 00 08 */ stfs f4, 8(r28) +/* 8032F784 0032C6E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032F788 0032C6E8 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8032F78C 0032C6EC C0 04 00 04 */ lfs f0, 4(r4) +/* 8032F790 0032C6F0 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 8032F794 0032C6F4 C0 04 00 08 */ lfs f0, 8(r4) +/* 8032F798 0032C6F8 7D 04 43 78 */ mr r4, r8 +/* 8032F79C 0032C6FC D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 8032F7A0 0032C700 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F7A4 0032C704 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 8032F7A8 0032C708 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F7AC 0032C70C D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 8032F7B0 0032C710 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F7B4 0032C714 D0 1C 00 20 */ stfs f0, 0x20(r28) +/* 8032F7B8 0032C718 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F7BC 0032C71C D0 1C 00 24 */ stfs f0, 0x24(r28) +/* 8032F7C0 0032C720 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F7C4 0032C724 D0 1C 00 28 */ stfs f0, 0x28(r28) +/* 8032F7C8 0032C728 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F7CC 0032C72C D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 8032F7D0 0032C730 D0 3C 00 30 */ stfs f1, 0x30(r28) +/* 8032F7D4 0032C734 D0 5C 00 34 */ stfs f2, 0x34(r28) +/* 8032F7D8 0032C738 4B FE 33 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032F7DC 0032C73C 80 1F 00 00 */ lwz r0, 0(r31) +/* 8032F7E0 0032C740 7F 83 E3 78 */ mr r3, r28 +/* 8032F7E4 0032C744 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 8032F7E8 0032C748 93 BC 00 70 */ stw r29, 0x70(r28) +/* 8032F7EC 0032C74C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F7F0 0032C750 D0 1C 00 74 */ stfs f0, 0x74(r28) +/* 8032F7F4 0032C754 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F7F8 0032C758 D0 1C 00 78 */ stfs f0, 0x78(r28) +/* 8032F7FC 0032C75C C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F800 0032C760 D0 1C 00 7C */ stfs f0, 0x7c(r28) +/* 8032F804 0032C764 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032F808 0032C768 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032F80C 0032C76C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032F810 0032C770 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8032F814 0032C774 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032F818 0032C778 7C 08 03 A6 */ mtlr r0 +/* 8032F81C 0032C77C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032F820 0032C780 4E 80 00 20 */ blr + +.global sub_8032f824 +sub_8032f824: +/* 8032F824 0032C784 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032F828 0032C788 7C 08 02 A6 */ mflr r0 +/* 8032F82C 0032C78C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032F830 0032C790 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032F834 0032C794 7C 9F 23 78 */ mr r31, r4 +/* 8032F838 0032C798 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8032F83C 0032C79C 7C 7E 1B 78 */ mr r30, r3 +/* 8032F840 0032C7A0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8032F844 0032C7A4 80 03 00 08 */ lwz r0, 8(r3) +/* 8032F848 0032C7A8 7C 1F 00 00 */ cmpw r31, r0 +/* 8032F84C 0032C7AC 40 81 00 94 */ ble lbl_8032F8E0 +/* 8032F850 0032C7B0 57 E3 38 31 */ rlwinm. r3, r31, 7, 0, 0x18 +/* 8032F854 0032C7B4 40 82 00 0C */ bne lbl_8032F860 +/* 8032F858 0032C7B8 3B A0 00 00 */ li r29, 0 +/* 8032F85C 0032C7BC 48 00 00 18 */ b lbl_8032F874 +lbl_8032F860: +/* 8032F860 0032C7C0 3C 80 80 3D */ lis r4, lbl_803D7968@ha +/* 8032F864 0032C7C4 38 A0 00 00 */ li r5, 0 +/* 8032F868 0032C7C8 38 84 79 68 */ addi r4, r4, lbl_803D7968@l +/* 8032F86C 0032C7CC 4B FE 5F AD */ bl __nwa__FUlPCcPCc +/* 8032F870 0032C7D0 7C 7D 1B 78 */ mr r29, r3 +lbl_8032F874: +/* 8032F874 0032C7D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032F878 0032C7D8 7F A5 EB 78 */ mr r5, r29 +/* 8032F87C 0032C7DC 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8032F880 0032C7E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8032F884 0032C7E4 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F888 0032C7E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8032F88C 0032C7EC 7C C6 02 14 */ add r6, r6, r0 +/* 8032F890 0032C7F0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8032F894 0032C7F4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8032F898 0032C7F8 90 C1 00 08 */ stw r6, 8(r1) +/* 8032F89C 0032C7FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032F8A0 0032C800 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F8A4 0032C804 48 00 00 59 */ bl sub_8032f8fc +/* 8032F8A8 0032C808 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032F8AC 0032C80C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8032F8B0 0032C810 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F8B4 0032C814 7C 64 1B 78 */ mr r4, r3 +/* 8032F8B8 0032C818 7C 03 02 14 */ add r0, r3, r0 +/* 8032F8BC 0032C81C 48 00 00 08 */ b lbl_8032F8C4 +lbl_8032F8C0: +/* 8032F8C0 0032C820 38 84 00 80 */ addi r4, r4, 0x80 +lbl_8032F8C4: +/* 8032F8C4 0032C824 7C 04 00 40 */ cmplw r4, r0 +/* 8032F8C8 0032C828 40 82 FF F8 */ bne lbl_8032F8C0 +/* 8032F8CC 0032C82C 28 03 00 00 */ cmplwi r3, 0 +/* 8032F8D0 0032C830 41 82 00 08 */ beq lbl_8032F8D8 +/* 8032F8D4 0032C834 4B FE 60 5D */ bl Free__7CMemoryFPCv +lbl_8032F8D8: +/* 8032F8D8 0032C838 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8032F8DC 0032C83C 93 FE 00 08 */ stw r31, 8(r30) +lbl_8032F8E0: +/* 8032F8E0 0032C840 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032F8E4 0032C844 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032F8E8 0032C848 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032F8EC 0032C84C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8032F8F0 0032C850 7C 08 03 A6 */ mtlr r0 +/* 8032F8F4 0032C854 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032F8F8 0032C858 4E 80 00 20 */ blr + +.global sub_8032f8fc +sub_8032f8fc: +/* 8032F8FC 0032C85C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032F900 0032C860 7C 08 02 A6 */ mflr r0 +/* 8032F904 0032C864 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032F908 0032C868 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032F90C 0032C86C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032F910 0032C870 7C BE 2B 78 */ mr r30, r5 +/* 8032F914 0032C874 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032F918 0032C878 7C 9D 23 78 */ mr r29, r4 +/* 8032F91C 0032C87C 83 E3 00 00 */ lwz r31, 0(r3) +/* 8032F920 0032C880 48 00 00 18 */ b lbl_8032F938 +lbl_8032F924: +/* 8032F924 0032C884 7F C3 F3 78 */ mr r3, r30 +/* 8032F928 0032C888 7F E4 FB 78 */ mr r4, r31 +/* 8032F92C 0032C88C 4B FF FD 11 */ bl sub_8032f63c +/* 8032F930 0032C890 3B DE 00 80 */ addi r30, r30, 0x80 +/* 8032F934 0032C894 3B FF 00 80 */ addi r31, r31, 0x80 +lbl_8032F938: +/* 8032F938 0032C898 80 1D 00 00 */ lwz r0, 0(r29) +/* 8032F93C 0032C89C 7C 1F 00 40 */ cmplw r31, r0 +/* 8032F940 0032C8A0 40 82 FF E4 */ bne lbl_8032F924 +/* 8032F944 0032C8A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032F948 0032C8A8 7F C3 F3 78 */ mr r3, r30 +/* 8032F94C 0032C8AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032F950 0032C8B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032F954 0032C8B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032F958 0032C8B8 7C 08 03 A6 */ mtlr r0 +/* 8032F95C 0032C8BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032F960 0032C8C0 4E 80 00 20 */ blr + +.global CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool +CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool: +/* 8032F964 0032C8C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032F968 0032C8C8 7C 08 02 A6 */ mflr r0 +/* 8032F96C 0032C8CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032F970 0032C8D0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8032F974 0032C8D4 7C 7B 1B 78 */ mr r27, r3 +/* 8032F978 0032C8D8 7C 9C 23 78 */ mr r28, r4 +/* 8032F97C 0032C8DC 7C BD 2B 78 */ mr r29, r5 +/* 8032F980 0032C8E0 38 61 00 08 */ addi r3, r1, 8 +/* 8032F984 0032C8E4 3B C0 00 00 */ li r30, 0 +/* 8032F988 0032C8E8 38 80 00 63 */ li r4, 0x63 +/* 8032F98C 0032C8EC 4B FE 2C 61 */ bl __ct__9CRandom16FUi +/* 8032F990 0032C8F0 38 61 00 0C */ addi r3, r1, 0xc +/* 8032F994 0032C8F4 38 81 00 08 */ addi r4, r1, 8 +/* 8032F998 0032C8F8 4B FE 2C E9 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032F99C 0032C8FC 48 00 04 70 */ b lbl_8032FE0C +lbl_8032F9A0: +/* 8032F9A0 0032C900 7F 83 E3 78 */ mr r3, r28 +/* 8032F9A4 0032C904 4B FF 8A B9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032F9A8 0032C908 7C 03 F8 00 */ cmpw r3, r31 +/* 8032F9AC 0032C90C 41 82 02 58 */ beq lbl_8032FC04 +/* 8032F9B0 0032C910 40 80 01 18 */ bge lbl_8032FAC8 +/* 8032F9B4 0032C914 3C 80 4C 4C */ lis r4, 0x4C4C5244@ha +/* 8032F9B8 0032C918 38 04 52 44 */ addi r0, r4, 0x4C4C5244@l +/* 8032F9BC 0032C91C 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9C0 0032C920 41 82 02 54 */ beq lbl_8032FC14 +/* 8032F9C4 0032C924 40 80 00 8C */ bge lbl_8032FA50 +/* 8032F9C8 0032C928 3C A0 43 52 */ lis r5, 0x43524F53@ha +/* 8032F9CC 0032C92C 38 05 4F 53 */ addi r0, r5, 0x43524F53@l +/* 8032F9D0 0032C930 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9D4 0032C934 41 82 02 88 */ beq lbl_8032FC5C +/* 8032F9D8 0032C938 40 80 00 3C */ bge lbl_8032FA14 +/* 8032F9DC 0032C93C 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 8032F9E0 0032C940 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 8032F9E4 0032C944 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9E8 0032C948 41 82 02 54 */ beq lbl_8032FC3C +/* 8032F9EC 0032C94C 40 80 00 18 */ bge lbl_8032FA04 +/* 8032F9F0 0032C950 3C 80 41 41 */ lis r4, 0x41414C50@ha +/* 8032F9F4 0032C954 38 04 4C 50 */ addi r0, r4, 0x41414C50@l +/* 8032F9F8 0032C958 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9FC 0032C95C 41 82 03 7C */ beq lbl_8032FD78 +/* 8032FA00 0032C960 48 00 03 F8 */ b lbl_8032FDF8 +lbl_8032FA04: +/* 8032FA04 0032C964 38 05 4E 44 */ addi r0, r5, 0x4e44 +/* 8032FA08 0032C968 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA0C 0032C96C 41 82 03 CC */ beq lbl_8032FDD8 +/* 8032FA10 0032C970 48 00 03 E8 */ b lbl_8032FDF8 +lbl_8032FA14: +/* 8032FA14 0032C974 3C 80 49 56 */ lis r4, 0x4956454C@ha +/* 8032FA18 0032C978 38 04 45 4C */ addi r0, r4, 0x4956454C@l +/* 8032FA1C 0032C97C 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA20 0032C980 41 82 02 9C */ beq lbl_8032FCBC +/* 8032FA24 0032C984 40 80 00 18 */ bge lbl_8032FA3C +/* 8032FA28 0032C988 3C 80 49 52 */ lis r4, 0x49524F54@ha +/* 8032FA2C 0032C98C 38 04 4F 54 */ addi r0, r4, 0x49524F54@l +/* 8032FA30 0032C990 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA34 0032C994 41 82 02 58 */ beq lbl_8032FC8C +/* 8032FA38 0032C998 48 00 03 C0 */ b lbl_8032FDF8 +lbl_8032FA3C: +/* 8032FA3C 0032C99C 3C 80 4C 45 */ lis r4, 0x4C454E47@ha +/* 8032FA40 0032C9A0 38 04 4E 47 */ addi r0, r4, 0x4C454E47@l +/* 8032FA44 0032C9A4 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA48 0032C9A8 41 82 01 E4 */ beq lbl_8032FC2C +/* 8032FA4C 0032C9AC 48 00 03 AC */ b lbl_8032FDF8 +lbl_8032FA50: +/* 8032FA50 0032C9B0 3C 80 50 4F */ lis r4, 0x504F4653@ha +/* 8032FA54 0032C9B4 38 04 46 53 */ addi r0, r4, 0x504F4653@l +/* 8032FA58 0032C9B8 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA5C 0032C9BC 41 82 02 50 */ beq lbl_8032FCAC +/* 8032FA60 0032C9C0 40 80 00 40 */ bge lbl_8032FAA0 +/* 8032FA64 0032C9C4 3C 80 4E 50 */ lis r4, 0x4E504F53@ha +/* 8032FA68 0032C9C8 38 04 4F 53 */ addi r0, r4, 0x4E504F53@l +/* 8032FA6C 0032C9CC 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA70 0032C9D0 41 82 02 5C */ beq lbl_8032FCCC +/* 8032FA74 0032C9D4 40 80 00 18 */ bge lbl_8032FA8C +/* 8032FA78 0032C9D8 3C 80 4C 52 */ lis r4, 0x4C524144@ha +/* 8032FA7C 0032C9DC 38 04 41 44 */ addi r0, r4, 0x4C524144@l +/* 8032FA80 0032C9E0 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA84 0032C9E4 41 82 01 70 */ beq lbl_8032FBF4 +/* 8032FA88 0032C9E8 48 00 03 70 */ b lbl_8032FDF8 +lbl_8032FA8C: +/* 8032FA8C 0032C9EC 3C 80 4F 52 */ lis r4, 0x4F524E54@ha +/* 8032FA90 0032C9F0 38 04 4E 54 */ addi r0, r4, 0x4F524E54@l +/* 8032FA94 0032C9F4 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA98 0032C9F8 41 82 03 10 */ beq lbl_8032FDA8 +/* 8032FA9C 0032C9FC 48 00 03 5C */ b lbl_8032FDF8 +lbl_8032FAA0: +/* 8032FAA0 0032CA00 3C 80 52 4F */ lis r4, 0x524F544D@ha +/* 8032FAA4 0032CA04 38 04 54 4D */ addi r0, r4, 0x524F544D@l +/* 8032FAA8 0032CA08 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAAC 0032CA0C 41 82 01 F0 */ beq lbl_8032FC9C +/* 8032FAB0 0032CA10 40 80 03 48 */ bge lbl_8032FDF8 +/* 8032FAB4 0032CA14 3C 80 50 53 */ lis r4, 0x50534C54@ha +/* 8032FAB8 0032CA18 38 04 4C 54 */ addi r0, r4, 0x50534C54@l +/* 8032FABC 0032CA1C 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAC0 0032CA20 41 82 01 14 */ beq lbl_8032FBD4 +/* 8032FAC4 0032CA24 48 00 03 34 */ b lbl_8032FDF8 +lbl_8032FAC8: +/* 8032FAC8 0032CA28 3C 80 54 53 */ lis r4, 0x5453504E@ha +/* 8032FACC 0032CA2C 38 04 50 4E */ addi r0, r4, 0x5453504E@l +/* 8032FAD0 0032CA30 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAD4 0032CA34 41 82 02 94 */ beq lbl_8032FD68 +/* 8032FAD8 0032CA38 40 80 00 78 */ bge lbl_8032FB50 +/* 8032FADC 0032CA3C 3C A0 54 45 */ lis r5, 0x54455852@ha +/* 8032FAE0 0032CA40 38 05 58 52 */ addi r0, r5, 0x54455852@l +/* 8032FAE4 0032CA44 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAE8 0032CA48 41 82 02 6C */ beq lbl_8032FD54 +/* 8032FAEC 0032CA4C 40 80 00 40 */ bge lbl_8032FB2C +/* 8032FAF0 0032CA50 3C 80 53 50 */ lis r4, 0x53504C4E@ha +/* 8032FAF4 0032CA54 38 04 4C 4E */ addi r0, r4, 0x53504C4E@l +/* 8032FAF8 0032CA58 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAFC 0032CA5C 41 82 02 30 */ beq lbl_8032FD2C +/* 8032FB00 0032CA60 40 80 00 18 */ bge lbl_8032FB18 +/* 8032FB04 0032CA64 3C 80 53 49 */ lis r4, 0x53494445@ha +/* 8032FB08 0032CA68 38 04 44 45 */ addi r0, r4, 0x53494445@l +/* 8032FB0C 0032CA6C 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB10 0032CA70 41 82 01 3C */ beq lbl_8032FC4C +/* 8032FB14 0032CA74 48 00 02 E4 */ b lbl_8032FDF8 +lbl_8032FB18: +/* 8032FB18 0032CA78 3C 80 53 52 */ lis r4, 0x53524F54@ha +/* 8032FB1C 0032CA7C 38 04 4F 54 */ addi r0, r4, 0x53524F54@l +/* 8032FB20 0032CA80 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB24 0032CA84 41 82 01 50 */ beq lbl_8032FC74 +/* 8032FB28 0032CA88 48 00 02 D0 */ b lbl_8032FDF8 +lbl_8032FB2C: +/* 8032FB2C 0032CA8C 3C 80 54 49 */ lis r4, 0x54494D45@ha +/* 8032FB30 0032CA90 38 04 4D 45 */ addi r0, r4, 0x54494D45@l +/* 8032FB34 0032CA94 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB38 0032CA98 41 82 00 AC */ beq lbl_8032FBE4 +/* 8032FB3C 0032CA9C 40 80 02 BC */ bge lbl_8032FDF8 +/* 8032FB40 0032CAA0 38 05 58 57 */ addi r0, r5, 0x5857 +/* 8032FB44 0032CAA4 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB48 0032CAA8 41 82 02 78 */ beq lbl_8032FDC0 +/* 8032FB4C 0032CAAC 48 00 02 AC */ b lbl_8032FDF8 +lbl_8032FB50: +/* 8032FB50 0032CAB0 3C 80 56 4C */ lis r4, 0x564C5332@ha +/* 8032FB54 0032CAB4 38 04 53 32 */ addi r0, r4, 0x564C5332@l +/* 8032FB58 0032CAB8 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB5C 0032CABC 41 82 01 B8 */ beq lbl_8032FD14 +/* 8032FB60 0032CAC0 40 80 00 38 */ bge lbl_8032FB98 +/* 8032FB64 0032CAC4 38 04 4D 32 */ addi r0, r4, 0x4d32 +/* 8032FB68 0032CAC8 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB6C 0032CACC 41 82 01 98 */ beq lbl_8032FD04 +/* 8032FB70 0032CAD0 40 80 00 18 */ bge lbl_8032FB88 +/* 8032FB74 0032CAD4 3C 80 56 45 */ lis r4, 0x56454C4D@ha +/* 8032FB78 0032CAD8 38 04 4C 4D */ addi r0, r4, 0x56454C4D@l +/* 8032FB7C 0032CADC 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB80 0032CAE0 41 82 01 5C */ beq lbl_8032FCDC +/* 8032FB84 0032CAE4 48 00 02 74 */ b lbl_8032FDF8 +lbl_8032FB88: +/* 8032FB88 0032CAE8 38 04 53 31 */ addi r0, r4, 0x5331 +/* 8032FB8C 0032CAEC 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB90 0032CAF0 40 80 01 5C */ bge lbl_8032FCEC +/* 8032FB94 0032CAF4 48 00 02 64 */ b lbl_8032FDF8 +lbl_8032FB98: +/* 8032FB98 0032CAF8 3C 80 5A 42 */ lis r4, 0x5A425546@ha +/* 8032FB9C 0032CAFC 38 04 55 46 */ addi r0, r4, 0x5A425546@l +/* 8032FBA0 0032CB00 7C 03 00 00 */ cmpw r3, r0 +/* 8032FBA4 0032CB04 41 82 01 EC */ beq lbl_8032FD90 +/* 8032FBA8 0032CB08 40 80 00 18 */ bge lbl_8032FBC0 +/* 8032FBAC 0032CB0C 3C 80 57 49 */ lis r4, 0x57495245@ha +/* 8032FBB0 0032CB10 38 04 52 45 */ addi r0, r4, 0x57495245@l +/* 8032FBB4 0032CB14 7C 03 00 00 */ cmpw r3, r0 +/* 8032FBB8 0032CB18 41 82 01 84 */ beq lbl_8032FD3C +/* 8032FBBC 0032CB1C 48 00 02 3C */ b lbl_8032FDF8 +lbl_8032FBC0: +/* 8032FBC0 0032CB20 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 8032FBC4 0032CB24 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 8032FBC8 0032CB28 7C 03 00 00 */ cmpw r3, r0 +/* 8032FBCC 0032CB2C 41 82 02 24 */ beq lbl_8032FDF0 +/* 8032FBD0 0032CB30 48 00 02 28 */ b lbl_8032FDF8 +lbl_8032FBD4: +/* 8032FBD4 0032CB34 7F 83 E3 78 */ mr r3, r28 +/* 8032FBD8 0032CB38 4B FF 7F CD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FBDC 0032CB3C 90 7B 00 00 */ stw r3, 0(r27) +/* 8032FBE0 0032CB40 48 00 02 34 */ b lbl_8032FE14 +lbl_8032FBE4: +/* 8032FBE4 0032CB44 7F 83 E3 78 */ mr r3, r28 +/* 8032FBE8 0032CB48 4B FF 70 A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FBEC 0032CB4C 90 7B 00 04 */ stw r3, 4(r27) +/* 8032FBF0 0032CB50 48 00 02 24 */ b lbl_8032FE14 +lbl_8032FBF4: +/* 8032FBF4 0032CB54 7F 83 E3 78 */ mr r3, r28 +/* 8032FBF8 0032CB58 4B FF 70 99 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FBFC 0032CB5C 90 7B 00 08 */ stw r3, 8(r27) +/* 8032FC00 0032CB60 48 00 02 14 */ b lbl_8032FE14 +lbl_8032FC04: +/* 8032FC04 0032CB64 7F 83 E3 78 */ mr r3, r28 +/* 8032FC08 0032CB68 4B FF 70 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC0C 0032CB6C 90 7B 00 0C */ stw r3, 0xc(r27) +/* 8032FC10 0032CB70 48 00 02 04 */ b lbl_8032FE14 +lbl_8032FC14: +/* 8032FC14 0032CB74 7F 83 E3 78 */ mr r3, r28 +/* 8032FC18 0032CB78 4B FF 88 11 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FC1C 0032CB7C 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FC20 0032CB80 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032FC24 0032CB84 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FC28 0032CB88 48 00 01 EC */ b lbl_8032FE14 +lbl_8032FC2C: +/* 8032FC2C 0032CB8C 7F 83 E3 78 */ mr r3, r28 +/* 8032FC30 0032CB90 4B FF 7F 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC34 0032CB94 90 7B 00 10 */ stw r3, 0x10(r27) +/* 8032FC38 0032CB98 48 00 01 DC */ b lbl_8032FE14 +lbl_8032FC3C: +/* 8032FC3C 0032CB9C 7F 83 E3 78 */ mr r3, r28 +/* 8032FC40 0032CBA0 4B FF 56 1D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC44 0032CBA4 90 7B 00 14 */ stw r3, 0x14(r27) +/* 8032FC48 0032CBA8 48 00 01 CC */ b lbl_8032FE14 +lbl_8032FC4C: +/* 8032FC4C 0032CBAC 7F 83 E3 78 */ mr r3, r28 +/* 8032FC50 0032CBB0 4B FF 7F 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC54 0032CBB4 90 7B 00 18 */ stw r3, 0x18(r27) +/* 8032FC58 0032CBB8 48 00 01 BC */ b lbl_8032FE14 +lbl_8032FC5C: +/* 8032FC5C 0032CBBC 7F 83 E3 78 */ mr r3, r28 +/* 8032FC60 0032CBC0 4B FF 87 C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FC64 0032CBC4 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FC68 0032CBC8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032FC6C 0032CBCC 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FC70 0032CBD0 48 00 01 A4 */ b lbl_8032FE14 +lbl_8032FC74: +/* 8032FC74 0032CBD4 7F 83 E3 78 */ mr r3, r28 +/* 8032FC78 0032CBD8 4B FF 87 B1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FC7C 0032CBDC 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FC80 0032CBE0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8032FC84 0032CBE4 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FC88 0032CBE8 48 00 01 8C */ b lbl_8032FE14 +lbl_8032FC8C: +/* 8032FC8C 0032CBEC 7F 83 E3 78 */ mr r3, r28 +/* 8032FC90 0032CBF0 4B FF 70 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC94 0032CBF4 90 7B 00 1C */ stw r3, 0x1c(r27) +/* 8032FC98 0032CBF8 48 00 01 7C */ b lbl_8032FE14 +lbl_8032FC9C: +/* 8032FC9C 0032CBFC 7F 83 E3 78 */ mr r3, r28 +/* 8032FCA0 0032CC00 4B FF 6F F1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCA4 0032CC04 90 7B 00 20 */ stw r3, 0x20(r27) +/* 8032FCA8 0032CC08 48 00 01 6C */ b lbl_8032FE14 +lbl_8032FCAC: +/* 8032FCAC 0032CC0C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCB0 0032CC10 4B FF 65 A5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCB4 0032CC14 90 7B 00 24 */ stw r3, 0x24(r27) +/* 8032FCB8 0032CC18 48 00 01 5C */ b lbl_8032FE14 +lbl_8032FCBC: +/* 8032FCBC 0032CC1C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCC0 0032CC20 4B FF 65 95 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCC4 0032CC24 90 7B 00 28 */ stw r3, 0x28(r27) +/* 8032FCC8 0032CC28 48 00 01 4C */ b lbl_8032FE14 +lbl_8032FCCC: +/* 8032FCCC 0032CC2C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCD0 0032CC30 4B FF 65 85 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCD4 0032CC34 90 7B 00 2C */ stw r3, 0x2c(r27) +/* 8032FCD8 0032CC38 48 00 01 3C */ b lbl_8032FE14 +lbl_8032FCDC: +/* 8032FCDC 0032CC3C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCE0 0032CC40 4B FF 5B 1D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCE4 0032CC44 90 7B 00 30 */ stw r3, 0x30(r27) +/* 8032FCE8 0032CC48 48 00 01 2C */ b lbl_8032FE14 +lbl_8032FCEC: +/* 8032FCEC 0032CC4C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCF0 0032CC50 4B FF 87 39 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FCF4 0032CC54 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FCF8 0032CC58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8032FCFC 0032CC5C 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD00 0032CC60 48 00 01 14 */ b lbl_8032FE14 +lbl_8032FD04: +/* 8032FD04 0032CC64 7F 83 E3 78 */ mr r3, r28 +/* 8032FD08 0032CC68 4B FF 5A F5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FD0C 0032CC6C 90 7B 00 34 */ stw r3, 0x34(r27) +/* 8032FD10 0032CC70 48 00 01 04 */ b lbl_8032FE14 +lbl_8032FD14: +/* 8032FD14 0032CC74 7F 83 E3 78 */ mr r3, r28 +/* 8032FD18 0032CC78 4B FF 87 11 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD1C 0032CC7C 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FD20 0032CC80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8032FD24 0032CC84 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD28 0032CC88 48 00 00 EC */ b lbl_8032FE14 +lbl_8032FD2C: +/* 8032FD2C 0032CC8C 7F 83 E3 78 */ mr r3, r28 +/* 8032FD30 0032CC90 4B FF 7E 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FD34 0032CC94 90 7B 00 38 */ stw r3, 0x38(r27) +/* 8032FD38 0032CC98 48 00 00 DC */ b lbl_8032FE14 +lbl_8032FD3C: +/* 8032FD3C 0032CC9C 7F 83 E3 78 */ mr r3, r28 +/* 8032FD40 0032CCA0 4B FF 86 E9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD44 0032CCA4 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FD48 0032CCA8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8032FD4C 0032CCAC 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD50 0032CCB0 48 00 00 C4 */ b lbl_8032FE14 +lbl_8032FD54: +/* 8032FD54 0032CCB4 7F 83 E3 78 */ mr r3, r28 +/* 8032FD58 0032CCB8 7F A4 EB 78 */ mr r4, r29 +/* 8032FD5C 0032CCBC 4B FF 50 D5 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 8032FD60 0032CCC0 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 8032FD64 0032CCC4 48 00 00 B0 */ b lbl_8032FE14 +lbl_8032FD68: +/* 8032FD68 0032CCC8 7F 83 E3 78 */ mr r3, r28 +/* 8032FD6C 0032CCCC 4B FF 7E 39 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FD70 0032CCD0 90 7B 00 40 */ stw r3, 0x40(r27) +/* 8032FD74 0032CCD4 48 00 00 A0 */ b lbl_8032FE14 +lbl_8032FD78: +/* 8032FD78 0032CCD8 7F 83 E3 78 */ mr r3, r28 +/* 8032FD7C 0032CCDC 4B FF 86 AD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD80 0032CCE0 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FD84 0032CCE4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8032FD88 0032CCE8 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD8C 0032CCEC 48 00 00 88 */ b lbl_8032FE14 +lbl_8032FD90: +/* 8032FD90 0032CCF0 7F 83 E3 78 */ mr r3, r28 +/* 8032FD94 0032CCF4 4B FF 86 95 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD98 0032CCF8 88 1B 00 45 */ lbz r0, 0x45(r27) +/* 8032FD9C 0032CCFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032FDA0 0032CD00 98 1B 00 45 */ stb r0, 0x45(r27) +/* 8032FDA4 0032CD04 48 00 00 70 */ b lbl_8032FE14 +lbl_8032FDA8: +/* 8032FDA8 0032CD08 7F 83 E3 78 */ mr r3, r28 +/* 8032FDAC 0032CD0C 4B FF 86 7D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FDB0 0032CD10 88 1B 00 45 */ lbz r0, 0x45(r27) +/* 8032FDB4 0032CD14 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032FDB8 0032CD18 98 1B 00 45 */ stb r0, 0x45(r27) +/* 8032FDBC 0032CD1C 48 00 00 58 */ b lbl_8032FE14 +lbl_8032FDC0: +/* 8032FDC0 0032CD20 7F 83 E3 78 */ mr r3, r28 +/* 8032FDC4 0032CD24 4B FF 86 65 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FDC8 0032CD28 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FDCC 0032CD2C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8032FDD0 0032CD30 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FDD4 0032CD34 48 00 00 40 */ b lbl_8032FE14 +lbl_8032FDD8: +/* 8032FDD8 0032CD38 7F 83 E3 78 */ mr r3, r28 +/* 8032FDDC 0032CD3C 4B FF 86 4D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FDE0 0032CD40 88 1B 00 45 */ lbz r0, 0x45(r27) +/* 8032FDE4 0032CD44 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8032FDE8 0032CD48 98 1B 00 45 */ stb r0, 0x45(r27) +/* 8032FDEC 0032CD4C 48 00 00 28 */ b lbl_8032FE14 +lbl_8032FDF0: +/* 8032FDF0 0032CD50 3B C0 00 01 */ li r30, 1 +/* 8032FDF4 0032CD54 48 00 00 20 */ b lbl_8032FE14 +lbl_8032FDF8: +/* 8032FDF8 0032CD58 38 61 00 0C */ addi r3, r1, 0xc +/* 8032FDFC 0032CD5C 38 80 FF FF */ li r4, -1 +/* 8032FE00 0032CD60 4B FE 28 05 */ bl __dt__13CGlobalRandomFv +/* 8032FE04 0032CD64 38 60 00 00 */ li r3, 0 +/* 8032FE08 0032CD68 48 00 00 24 */ b lbl_8032FE2C +lbl_8032FE0C: +/* 8032FE0C 0032CD6C 3C 60 52 52 */ lis r3, 0x52524144@ha +/* 8032FE10 0032CD70 3B E3 41 44 */ addi r31, r3, 0x52524144@l +lbl_8032FE14: +/* 8032FE14 0032CD74 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8032FE18 0032CD78 41 82 FB 88 */ beq lbl_8032F9A0 +/* 8032FE1C 0032CD7C 38 61 00 0C */ addi r3, r1, 0xc +/* 8032FE20 0032CD80 38 80 FF FF */ li r4, -1 +/* 8032FE24 0032CD84 4B FE 27 E1 */ bl __dt__13CGlobalRandomFv +/* 8032FE28 0032CD88 38 60 00 01 */ li r3, 1 +lbl_8032FE2C: +/* 8032FE2C 0032CD8C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8032FE30 0032CD90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032FE34 0032CD94 7C 08 03 A6 */ mtlr r0 +/* 8032FE38 0032CD98 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032FE3C 0032CD9C 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool: +/* 8032FE40 0032CDA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032FE44 0032CDA4 7C 08 02 A6 */ mflr r0 +/* 8032FE48 0032CDA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032FE4C 0032CDAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032FE50 0032CDB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032FE54 0032CDB4 7C 9E 23 78 */ mr r30, r4 +/* 8032FE58 0032CDB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032FE5C 0032CDBC 7C 7D 1B 78 */ mr r29, r3 +/* 8032FE60 0032CDC0 4B FF 85 FD */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032FE64 0032CDC4 3C 03 AC A9 */ addis r0, r3, 0xaca9 +/* 8032FE68 0032CDC8 28 00 53 48 */ cmplwi r0, 0x5348 +/* 8032FE6C 0032CDCC 41 82 00 0C */ beq lbl_8032FE78 +/* 8032FE70 0032CDD0 38 60 00 00 */ li r3, 0 +/* 8032FE74 0032CDD4 48 00 00 3C */ b lbl_8032FEB0 +lbl_8032FE78: +/* 8032FE78 0032CDD8 3C 80 80 3D */ lis r4, lbl_803D7970@ha +/* 8032FE7C 0032CDDC 38 60 00 48 */ li r3, 0x48 +/* 8032FE80 0032CDE0 38 84 79 70 */ addi r4, r4, lbl_803D7970@l +/* 8032FE84 0032CDE4 38 A0 00 00 */ li r5, 0 +/* 8032FE88 0032CDE8 4B FE 59 E5 */ bl __nw__FUlPCcPCc +/* 8032FE8C 0032CDEC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8032FE90 0032CDF0 41 82 00 0C */ beq lbl_8032FE9C +/* 8032FE94 0032CDF4 48 03 6E D1 */ bl __ct__18CSwooshDescriptionFv +/* 8032FE98 0032CDF8 7C 7F 1B 78 */ mr r31, r3 +lbl_8032FE9C: +/* 8032FE9C 0032CDFC 7F E3 FB 78 */ mr r3, r31 +/* 8032FEA0 0032CE00 7F A4 EB 78 */ mr r4, r29 +/* 8032FEA4 0032CE04 7F C5 F3 78 */ mr r5, r30 +/* 8032FEA8 0032CE08 4B FF FA BD */ bl CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool +/* 8032FEAC 0032CE0C 7F E3 FB 78 */ mr r3, r31 +lbl_8032FEB0: +/* 8032FEB0 0032CE10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032FEB4 0032CE14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032FEB8 0032CE18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032FEBC 0032CE1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032FEC0 0032CE20 7C 08 03 A6 */ mtlr r0 +/* 8032FEC4 0032CE24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032FEC8 0032CE28 4E 80 00 20 */ blr + +.global GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool: +/* 8032FECC 0032CE2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032FED0 0032CE30 7C 08 02 A6 */ mflr r0 +/* 8032FED4 0032CE34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032FED8 0032CE38 38 00 00 00 */ li r0, 0 +/* 8032FEDC 0032CE3C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032FEE0 0032CE40 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8032FEE4 0032CE44 90 01 00 20 */ stw r0, 0x20(r1) +/* 8032FEE8 0032CE48 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032FEEC 0032CE4C 4B FF FF 55 */ bl CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +/* 8032FEF0 0032CE50 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8032FEF4 0032CE54 7C 7F 1B 78 */ mr r31, r3 +/* 8032FEF8 0032CE58 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8032FEFC 0032CE5C 54 00 10 3A */ slwi r0, r0, 2 +/* 8032FF00 0032CE60 7C 04 02 14 */ add r0, r4, r0 +/* 8032FF04 0032CE64 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032FF08 0032CE68 7C 83 23 78 */ mr r3, r4 +/* 8032FF0C 0032CE6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032FF10 0032CE70 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032FF14 0032CE74 90 81 00 08 */ stw r4, 8(r1) +/* 8032FF18 0032CE78 48 00 00 08 */ b lbl_8032FF20 +lbl_8032FF1C: +/* 8032FF1C 0032CE7C 38 63 00 04 */ addi r3, r3, 4 +lbl_8032FF20: +/* 8032FF20 0032CE80 7C 03 00 40 */ cmplw r3, r0 +/* 8032FF24 0032CE84 40 82 FF F8 */ bne lbl_8032FF1C +/* 8032FF28 0032CE88 28 04 00 00 */ cmplwi r4, 0 +/* 8032FF2C 0032CE8C 41 82 00 0C */ beq lbl_8032FF38 +/* 8032FF30 0032CE90 7C 83 23 78 */ mr r3, r4 +/* 8032FF34 0032CE94 4B FE 59 FD */ bl Free__7CMemoryFPCv +lbl_8032FF38: +/* 8032FF38 0032CE98 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032FF3C 0032CE9C 7F E3 FB 78 */ mr r3, r31 +/* 8032FF40 0032CEA0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032FF44 0032CEA4 7C 08 03 A6 */ mtlr r0 +/* 8032FF48 0032CEA8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032FF4C 0032CEAC 4E 80 00 20 */ blr + +.global "__dt__46TObjOwnerDerivedFromIObj<18CSwooshDescription>Fv" +"__dt__46TObjOwnerDerivedFromIObj<18CSwooshDescription>Fv": +/* 8032FF50 0032CEB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032FF54 0032CEB4 7C 08 02 A6 */ mflr r0 +/* 8032FF58 0032CEB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032FF5C 0032CEBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032FF60 0032CEC0 7C 9F 23 78 */ mr r31, r4 +/* 8032FF64 0032CEC4 93 C1 00 08 */ stw r30, 8(r1) +/* 8032FF68 0032CEC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032FF6C 0032CECC 41 82 00 58 */ beq lbl_8032FFC4 +/* 8032FF70 0032CED0 3C 60 80 3F */ lis r3, lbl_803EDDF8@ha +/* 8032FF74 0032CED4 38 03 DD F8 */ addi r0, r3, lbl_803EDDF8@l +/* 8032FF78 0032CED8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032FF7C 0032CEDC 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032FF80 0032CEE0 28 03 00 00 */ cmplwi r3, 0 +/* 8032FF84 0032CEE4 41 82 00 0C */ beq lbl_8032FF90 +/* 8032FF88 0032CEE8 38 80 00 01 */ li r4, 1 +/* 8032FF8C 0032CEEC 48 03 6B 6D */ bl __dt__18CSwooshDescriptionFv +lbl_8032FF90: +/* 8032FF90 0032CEF0 28 1E 00 00 */ cmplwi r30, 0 +/* 8032FF94 0032CEF4 41 82 00 20 */ beq lbl_8032FFB4 +/* 8032FF98 0032CEF8 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8032FF9C 0032CEFC 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8032FFA0 0032CF00 90 1E 00 00 */ stw r0, 0(r30) +/* 8032FFA4 0032CF04 41 82 00 10 */ beq lbl_8032FFB4 +/* 8032FFA8 0032CF08 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8032FFAC 0032CF0C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8032FFB0 0032CF10 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032FFB4: +/* 8032FFB4 0032CF14 7F E0 07 35 */ extsh. r0, r31 +/* 8032FFB8 0032CF18 40 81 00 0C */ ble lbl_8032FFC4 +/* 8032FFBC 0032CF1C 7F C3 F3 78 */ mr r3, r30 +/* 8032FFC0 0032CF20 4B FE 59 71 */ bl Free__7CMemoryFPCv +lbl_8032FFC4: +/* 8032FFC4 0032CF24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032FFC8 0032CF28 7F C3 F3 78 */ mr r3, r30 +/* 8032FFCC 0032CF2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032FFD0 0032CF30 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032FFD4 0032CF34 7C 08 03 A6 */ mtlr r0 +/* 8032FFD8 0032CF38 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032FFDC 0032CF3C 4E 80 00 20 */ blr + +.global FParticleSwooshDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FParticleSwooshDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8032FFE0 0032CF40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032FFE4 0032CF44 7C 08 02 A6 */ mflr r0 +/* 8032FFE8 0032CF48 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032FFEC 0032CF4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032FFF0 0032CF50 7C 7F 1B 78 */ mr r31, r3 +/* 8032FFF4 0032CF54 7C A3 2B 78 */ mr r3, r5 +/* 8032FFF8 0032CF58 80 C6 00 00 */ lwz r6, 0(r6) +/* 8032FFFC 0032CF5C 90 C1 00 08 */ stw r6, 8(r1) +/* 80330000 0032CF60 80 86 00 04 */ lwz r4, 4(r6) +/* 80330004 0032CF64 38 04 00 01 */ addi r0, r4, 1 +/* 80330008 0032CF68 90 06 00 04 */ stw r0, 4(r6) +/* 8033000C 0032CF6C 80 81 00 08 */ lwz r4, 8(r1) +/* 80330010 0032CF70 80 84 00 00 */ lwz r4, 0(r4) +/* 80330014 0032CF74 80 84 00 04 */ lwz r4, 4(r4) +/* 80330018 0032CF78 4B FF FE B5 */ bl GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +/* 8033001C 0032CF7C 7C 03 00 D0 */ neg r0, r3 +/* 80330020 0032CF80 90 61 00 10 */ stw r3, 0x10(r1) +/* 80330024 0032CF84 7C 00 1B 78 */ or r0, r0, r3 +/* 80330028 0032CF88 38 61 00 14 */ addi r3, r1, 0x14 +/* 8033002C 0032CF8C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80330030 0032CF90 38 81 00 0C */ addi r4, r1, 0xc +/* 80330034 0032CF94 98 01 00 0C */ stb r0, 0xc(r1) +/* 80330038 0032CF98 48 00 00 85 */ bl "GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>" +/* 8033003C 0032CF9C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80330040 0032CFA0 38 00 00 00 */ li r0, 0 +/* 80330044 0032CFA4 98 01 00 14 */ stb r0, 0x14(r1) +/* 80330048 0032CFA8 7C 03 00 D0 */ neg r0, r3 +/* 8033004C 0032CFAC 7C 00 1B 78 */ or r0, r0, r3 +/* 80330050 0032CFB0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80330054 0032CFB4 98 1F 00 00 */ stb r0, 0(r31) +/* 80330058 0032CFB8 90 7F 00 04 */ stw r3, 4(r31) +/* 8033005C 0032CFBC 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80330060 0032CFC0 28 00 00 00 */ cmplwi r0, 0 +/* 80330064 0032CFC4 41 82 00 24 */ beq lbl_80330088 +/* 80330068 0032CFC8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8033006C 0032CFCC 28 03 00 00 */ cmplwi r3, 0 +/* 80330070 0032CFD0 41 82 00 18 */ beq lbl_80330088 +/* 80330074 0032CFD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80330078 0032CFD8 38 80 00 01 */ li r4, 1 +/* 8033007C 0032CFDC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330080 0032CFE0 7D 89 03 A6 */ mtctr r12 +/* 80330084 0032CFE4 4E 80 04 21 */ bctrl +lbl_80330088: +/* 80330088 0032CFE8 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8033008C 0032CFEC 28 00 00 00 */ cmplwi r0, 0 +/* 80330090 0032CFF0 41 82 00 10 */ beq lbl_803300A0 +/* 80330094 0032CFF4 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80330098 0032CFF8 38 80 00 01 */ li r4, 1 +/* 8033009C 0032CFFC 48 03 6A 5D */ bl __dt__18CSwooshDescriptionFv +lbl_803300A0: +/* 803300A0 0032D000 38 61 00 08 */ addi r3, r1, 8 +/* 803300A4 0032D004 4B D0 42 61 */ bl sub_80034304 +/* 803300A8 0032D008 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803300AC 0032D00C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803300B0 0032D010 7C 08 03 A6 */ mtlr r0 +/* 803300B4 0032D014 38 21 00 30 */ addi r1, r1, 0x30 +/* 803300B8 0032D018 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>" +"GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>": +/* 803300BC 0032D01C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803300C0 0032D020 7C 08 02 A6 */ mflr r0 +/* 803300C4 0032D024 90 01 00 14 */ stw r0, 0x14(r1) +/* 803300C8 0032D028 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803300CC 0032D02C 7C 7F 1B 78 */ mr r31, r3 +/* 803300D0 0032D030 48 00 00 19 */ bl sub_803300e8 +/* 803300D4 0032D034 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803300D8 0032D038 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803300DC 0032D03C 7C 08 03 A6 */ mtlr r0 +/* 803300E0 0032D040 38 21 00 10 */ addi r1, r1, 0x10 +/* 803300E4 0032D044 4E 80 00 20 */ blr + +.global sub_803300e8 +sub_803300e8: +/* 803300E8 0032D048 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803300EC 0032D04C 7C 08 02 A6 */ mflr r0 +/* 803300F0 0032D050 3C A0 80 3D */ lis r5, lbl_803D7970@ha +/* 803300F4 0032D054 90 01 00 14 */ stw r0, 0x14(r1) +/* 803300F8 0032D058 38 05 79 70 */ addi r0, r5, lbl_803D7970@l +/* 803300FC 0032D05C 38 A0 00 00 */ li r5, 0 +/* 80330100 0032D060 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330104 0032D064 7C 9F 23 78 */ mr r31, r4 +/* 80330108 0032D068 7C 04 03 78 */ mr r4, r0 +/* 8033010C 0032D06C 93 C1 00 08 */ stw r30, 8(r1) +/* 80330110 0032D070 7C 7E 1B 78 */ mr r30, r3 +/* 80330114 0032D074 38 60 00 08 */ li r3, 8 +/* 80330118 0032D078 4B FE 57 55 */ bl __nw__FUlPCcPCc +/* 8033011C 0032D07C 28 03 00 00 */ cmplwi r3, 0 +/* 80330120 0032D080 41 82 00 38 */ beq lbl_80330158 +/* 80330124 0032D084 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80330128 0032D088 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8033012C 0032D08C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80330130 0032D090 3C 80 80 3F */ lis r4, lbl_803EDDF8@ha +/* 80330134 0032D094 90 03 00 00 */ stw r0, 0(r3) +/* 80330138 0032D098 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8033013C 0032D09C 38 A0 00 00 */ li r5, 0 +/* 80330140 0032D0A0 38 04 DD F8 */ addi r0, r4, lbl_803EDDF8@l +/* 80330144 0032D0A4 90 C3 00 00 */ stw r6, 0(r3) +/* 80330148 0032D0A8 98 BF 00 00 */ stb r5, 0(r31) +/* 8033014C 0032D0AC 80 9F 00 04 */ lwz r4, 4(r31) +/* 80330150 0032D0B0 90 83 00 04 */ stw r4, 4(r3) +/* 80330154 0032D0B4 90 03 00 00 */ stw r0, 0(r3) +lbl_80330158: +/* 80330158 0032D0B8 7C 03 00 D0 */ neg r0, r3 +/* 8033015C 0032D0BC 7C 00 1B 78 */ or r0, r0, r3 +/* 80330160 0032D0C0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80330164 0032D0C4 98 1E 00 00 */ stb r0, 0(r30) +/* 80330168 0032D0C8 90 7E 00 04 */ stw r3, 4(r30) +/* 8033016C 0032D0CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330170 0032D0D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330174 0032D0D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330178 0032D0D8 7C 08 03 A6 */ mtlr r0 +/* 8033017C 0032D0DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330180 0032D0E0 4E 80 00 20 */ blr + +.global GetValue__15CREIntTimesRealCFiRf +GetValue__15CREIntTimesRealCFiRf: +/* 80330184 0032D0E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80330188 0032D0E8 7C 08 02 A6 */ mflr r0 +/* 8033018C 0032D0EC C0 02 CB 18 */ lfs f0, lbl_805AE838@sda21(r2) +/* 80330190 0032D0F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80330194 0032D0F4 38 00 00 00 */ li r0, 0 +/* 80330198 0032D0F8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033019C 0032D0FC 7C BF 2B 78 */ mr r31, r5 +/* 803301A0 0032D100 38 A1 00 08 */ addi r5, r1, 8 +/* 803301A4 0032D104 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803301A8 0032D108 7C 9E 23 78 */ mr r30, r4 +/* 803301AC 0032D10C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803301B0 0032D110 7C 7D 1B 78 */ mr r29, r3 +/* 803301B4 0032D114 90 01 00 0C */ stw r0, 0xc(r1) +/* 803301B8 0032D118 80 63 00 08 */ lwz r3, 8(r3) +/* 803301BC 0032D11C D0 01 00 08 */ stfs f0, 8(r1) +/* 803301C0 0032D120 81 83 00 00 */ lwz r12, 0(r3) +/* 803301C4 0032D124 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803301C8 0032D128 7D 89 03 A6 */ mtctr r12 +/* 803301CC 0032D12C 4E 80 04 21 */ bctrl +/* 803301D0 0032D130 80 7D 00 04 */ lwz r3, 4(r29) +/* 803301D4 0032D134 7F C4 F3 78 */ mr r4, r30 +/* 803301D8 0032D138 38 A1 00 0C */ addi r5, r1, 0xc +/* 803301DC 0032D13C 81 83 00 00 */ lwz r12, 0(r3) +/* 803301E0 0032D140 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803301E4 0032D144 7D 89 03 A6 */ mtctr r12 +/* 803301E8 0032D148 4E 80 04 21 */ bctrl +/* 803301EC 0032D14C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803301F0 0032D150 3C 00 43 30 */ lis r0, 0x4330 +/* 803301F4 0032D154 90 01 00 10 */ stw r0, 0x10(r1) +/* 803301F8 0032D158 38 60 00 00 */ li r3, 0 +/* 803301FC 0032D15C 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80330200 0032D160 C8 22 CB 20 */ lfd f1, lbl_805AE840@sda21(r2) +/* 80330204 0032D164 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330208 0032D168 C0 41 00 08 */ lfs f2, 8(r1) +/* 8033020C 0032D16C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80330210 0032D170 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80330214 0032D174 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80330218 0032D178 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033021C 0032D17C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80330220 0032D180 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80330224 0032D184 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80330228 0032D188 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033022C 0032D18C 7C 08 03 A6 */ mtlr r0 +/* 80330230 0032D190 38 21 00 30 */ addi r1, r1, 0x30 +/* 80330234 0032D194 4E 80 00 20 */ blr + +.global __dt__15CREIntTimesReal +__dt__15CREIntTimesReal: +/* 80330238 0032D198 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033023C 0032D19C 7C 08 02 A6 */ mflr r0 +/* 80330240 0032D1A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330244 0032D1A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330248 0032D1A8 7C 9F 23 78 */ mr r31, r4 +/* 8033024C 0032D1AC 93 C1 00 08 */ stw r30, 8(r1) +/* 80330250 0032D1B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330254 0032D1B4 41 82 00 88 */ beq lbl_803302DC +/* 80330258 0032D1B8 3C 60 80 3F */ lis r3, lbl_803EDE08@ha +/* 8033025C 0032D1BC 38 03 DE 08 */ addi r0, r3, lbl_803EDE08@l +/* 80330260 0032D1C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80330264 0032D1C4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330268 0032D1C8 28 03 00 00 */ cmplwi r3, 0 +/* 8033026C 0032D1CC 41 82 00 18 */ beq lbl_80330284 +/* 80330270 0032D1D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330274 0032D1D4 38 80 00 01 */ li r4, 1 +/* 80330278 0032D1D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033027C 0032D1DC 7D 89 03 A6 */ mtctr r12 +/* 80330280 0032D1E0 4E 80 04 21 */ bctrl +lbl_80330284: +/* 80330284 0032D1E4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80330288 0032D1E8 28 03 00 00 */ cmplwi r3, 0 +/* 8033028C 0032D1EC 41 82 00 18 */ beq lbl_803302A4 +/* 80330290 0032D1F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330294 0032D1F4 38 80 00 01 */ li r4, 1 +/* 80330298 0032D1F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033029C 0032D1FC 7D 89 03 A6 */ mtctr r12 +/* 803302A0 0032D200 4E 80 04 21 */ bctrl +lbl_803302A4: +/* 803302A4 0032D204 28 1E 00 00 */ cmplwi r30, 0 +/* 803302A8 0032D208 41 82 00 20 */ beq lbl_803302C8 +/* 803302AC 0032D20C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803302B0 0032D210 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803302B4 0032D214 90 1E 00 00 */ stw r0, 0(r30) +/* 803302B8 0032D218 41 82 00 10 */ beq lbl_803302C8 +/* 803302BC 0032D21C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803302C0 0032D220 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803302C4 0032D224 90 1E 00 00 */ stw r0, 0(r30) +lbl_803302C8: +/* 803302C8 0032D228 7F E0 07 35 */ extsh. r0, r31 +/* 803302CC 0032D22C 40 81 00 10 */ ble lbl_803302DC +/* 803302D0 0032D230 7F C3 F3 78 */ mr r3, r30 +/* 803302D4 0032D234 38 80 00 0C */ li r4, 0xc +/* 803302D8 0032D238 48 03 C7 8D */ bl sub_8036ca64 +lbl_803302DC: +/* 803302DC 0032D23C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803302E0 0032D240 7F C3 F3 78 */ mr r3, r30 +/* 803302E4 0032D244 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803302E8 0032D248 83 C1 00 08 */ lwz r30, 8(r1) +/* 803302EC 0032D24C 7C 08 03 A6 */ mtlr r0 +/* 803302F0 0032D250 38 21 00 10 */ addi r1, r1, 0x10 +/* 803302F4 0032D254 4E 80 00 20 */ blr + +.global __ct__15CREIntTimesRealFP12CRealElementP11CIntElement +__ct__15CREIntTimesRealFP12CRealElementP11CIntElement: +/* 803302F8 0032D258 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803302FC 0032D25C 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80330300 0032D260 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80330304 0032D264 3C C0 80 3F */ lis r6, lbl_803EDE08@ha +/* 80330308 0032D268 90 03 00 00 */ stw r0, 0(r3) +/* 8033030C 0032D26C 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80330310 0032D270 38 06 DE 08 */ addi r0, r6, lbl_803EDE08@l +/* 80330314 0032D274 90 E3 00 00 */ stw r7, 0(r3) +/* 80330318 0032D278 90 03 00 00 */ stw r0, 0(r3) +/* 8033031C 0032D27C 90 83 00 04 */ stw r4, 4(r3) +/* 80330320 0032D280 90 A3 00 08 */ stw r5, 8(r3) +/* 80330324 0032D284 4E 80 00 20 */ blr + +.global GetValue__20CREGetComponentAlphaCFiRf +GetValue__20CREGetComponentAlphaCFiRf: +/* 80330328 0032D288 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033032C 0032D28C 7C 08 02 A6 */ mflr r0 +/* 80330330 0032D290 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330334 0032D294 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330338 0032D298 7C BF 2B 78 */ mr r31, r5 +/* 8033033C 0032D29C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330340 0032D2A0 7C 9E 23 78 */ mr r30, r4 +/* 80330344 0032D2A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330348 0032D2A8 7C 7D 1B 78 */ mr r29, r3 +/* 8033034C 0032D2AC 48 01 9C 69 */ bl Black__6CColorFv +/* 80330350 0032D2B0 80 03 00 00 */ lwz r0, 0(r3) +/* 80330354 0032D2B4 7F C4 F3 78 */ mr r4, r30 +/* 80330358 0032D2B8 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033035C 0032D2BC 38 A1 00 08 */ addi r5, r1, 8 +/* 80330360 0032D2C0 90 01 00 08 */ stw r0, 8(r1) +/* 80330364 0032D2C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80330368 0032D2C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033036C 0032D2CC 7D 89 03 A6 */ mtctr r12 +/* 80330370 0032D2D0 4E 80 04 21 */ bctrl +/* 80330374 0032D2D4 E0 21 A0 0B */ psq_l f1, 11(r1), 1, qr2 +/* 80330378 0032D2D8 38 60 00 00 */ li r3, 0 +/* 8033037C 0032D2DC C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 80330380 0032D2E0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80330384 0032D2E4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80330388 0032D2E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033038C 0032D2EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330390 0032D2F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80330394 0032D2F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330398 0032D2F8 7C 08 03 A6 */ mtlr r0 +/* 8033039C 0032D2FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803303A0 0032D300 4E 80 00 20 */ blr + +.global __dt__20CREGetComponentAlpha +__dt__20CREGetComponentAlpha: +/* 803303A4 0032D304 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803303A8 0032D308 7C 08 02 A6 */ mflr r0 +/* 803303AC 0032D30C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803303B0 0032D310 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803303B4 0032D314 7C 9F 23 78 */ mr r31, r4 +/* 803303B8 0032D318 93 C1 00 08 */ stw r30, 8(r1) +/* 803303BC 0032D31C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803303C0 0032D320 41 82 00 68 */ beq lbl_80330428 +/* 803303C4 0032D324 3C 60 80 3F */ lis r3, lbl_803EDE1C@ha +/* 803303C8 0032D328 38 03 DE 1C */ addi r0, r3, lbl_803EDE1C@l +/* 803303CC 0032D32C 90 1E 00 00 */ stw r0, 0(r30) +/* 803303D0 0032D330 80 7E 00 04 */ lwz r3, 4(r30) +/* 803303D4 0032D334 28 03 00 00 */ cmplwi r3, 0 +/* 803303D8 0032D338 41 82 00 18 */ beq lbl_803303F0 +/* 803303DC 0032D33C 81 83 00 00 */ lwz r12, 0(r3) +/* 803303E0 0032D340 38 80 00 01 */ li r4, 1 +/* 803303E4 0032D344 81 8C 00 08 */ lwz r12, 8(r12) +/* 803303E8 0032D348 7D 89 03 A6 */ mtctr r12 +/* 803303EC 0032D34C 4E 80 04 21 */ bctrl +lbl_803303F0: +/* 803303F0 0032D350 28 1E 00 00 */ cmplwi r30, 0 +/* 803303F4 0032D354 41 82 00 20 */ beq lbl_80330414 +/* 803303F8 0032D358 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803303FC 0032D35C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330400 0032D360 90 1E 00 00 */ stw r0, 0(r30) +/* 80330404 0032D364 41 82 00 10 */ beq lbl_80330414 +/* 80330408 0032D368 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033040C 0032D36C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330410 0032D370 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330414: +/* 80330414 0032D374 7F E0 07 35 */ extsh. r0, r31 +/* 80330418 0032D378 40 81 00 10 */ ble lbl_80330428 +/* 8033041C 0032D37C 7F C3 F3 78 */ mr r3, r30 +/* 80330420 0032D380 38 80 00 08 */ li r4, 8 +/* 80330424 0032D384 48 03 C6 41 */ bl sub_8036ca64 +lbl_80330428: +/* 80330428 0032D388 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033042C 0032D38C 7F C3 F3 78 */ mr r3, r30 +/* 80330430 0032D390 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330434 0032D394 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330438 0032D398 7C 08 03 A6 */ mtlr r0 +/* 8033043C 0032D39C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330440 0032D3A0 4E 80 00 20 */ blr + +.global __ct__20CREGetComponentAlphaFP13CColorElement +__ct__20CREGetComponentAlphaFP13CColorElement: +/* 80330444 0032D3A4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330448 0032D3A8 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 8033044C 0032D3AC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330450 0032D3B0 3C A0 80 3F */ lis r5, lbl_803EDE1C@ha +/* 80330454 0032D3B4 90 03 00 00 */ stw r0, 0(r3) +/* 80330458 0032D3B8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 8033045C 0032D3BC 38 05 DE 1C */ addi r0, r5, lbl_803EDE1C@l +/* 80330460 0032D3C0 90 C3 00 00 */ stw r6, 0(r3) +/* 80330464 0032D3C4 90 03 00 00 */ stw r0, 0(r3) +/* 80330468 0032D3C8 90 83 00 04 */ stw r4, 4(r3) +/* 8033046C 0032D3CC 4E 80 00 20 */ blr + +.global GetValue__19CREGetComponentBlueCFiRf +GetValue__19CREGetComponentBlueCFiRf: +/* 80330470 0032D3D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330474 0032D3D4 7C 08 02 A6 */ mflr r0 +/* 80330478 0032D3D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033047C 0032D3DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330480 0032D3E0 7C BF 2B 78 */ mr r31, r5 +/* 80330484 0032D3E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330488 0032D3E8 7C 9E 23 78 */ mr r30, r4 +/* 8033048C 0032D3EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330490 0032D3F0 7C 7D 1B 78 */ mr r29, r3 +/* 80330494 0032D3F4 48 01 9B 21 */ bl Black__6CColorFv +/* 80330498 0032D3F8 80 03 00 00 */ lwz r0, 0(r3) +/* 8033049C 0032D3FC 7F C4 F3 78 */ mr r4, r30 +/* 803304A0 0032D400 80 7D 00 04 */ lwz r3, 4(r29) +/* 803304A4 0032D404 38 A1 00 08 */ addi r5, r1, 8 +/* 803304A8 0032D408 90 01 00 08 */ stw r0, 8(r1) +/* 803304AC 0032D40C 81 83 00 00 */ lwz r12, 0(r3) +/* 803304B0 0032D410 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803304B4 0032D414 7D 89 03 A6 */ mtctr r12 +/* 803304B8 0032D418 4E 80 04 21 */ bctrl +/* 803304BC 0032D41C E0 21 A0 0A */ psq_l f1, 10(r1), 1, qr2 +/* 803304C0 0032D420 38 60 00 00 */ li r3, 0 +/* 803304C4 0032D424 C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 803304C8 0032D428 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803304CC 0032D42C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803304D0 0032D430 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803304D4 0032D434 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803304D8 0032D438 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803304DC 0032D43C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803304E0 0032D440 7C 08 03 A6 */ mtlr r0 +/* 803304E4 0032D444 38 21 00 20 */ addi r1, r1, 0x20 +/* 803304E8 0032D448 4E 80 00 20 */ blr + +.global __dt__19CREGetComponentBlue +__dt__19CREGetComponentBlue: +/* 803304EC 0032D44C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803304F0 0032D450 7C 08 02 A6 */ mflr r0 +/* 803304F4 0032D454 90 01 00 14 */ stw r0, 0x14(r1) +/* 803304F8 0032D458 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803304FC 0032D45C 7C 9F 23 78 */ mr r31, r4 +/* 80330500 0032D460 93 C1 00 08 */ stw r30, 8(r1) +/* 80330504 0032D464 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330508 0032D468 41 82 00 68 */ beq lbl_80330570 +/* 8033050C 0032D46C 3C 60 80 3F */ lis r3, lbl_803EDE30@ha +/* 80330510 0032D470 38 03 DE 30 */ addi r0, r3, lbl_803EDE30@l +/* 80330514 0032D474 90 1E 00 00 */ stw r0, 0(r30) +/* 80330518 0032D478 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033051C 0032D47C 28 03 00 00 */ cmplwi r3, 0 +/* 80330520 0032D480 41 82 00 18 */ beq lbl_80330538 +/* 80330524 0032D484 81 83 00 00 */ lwz r12, 0(r3) +/* 80330528 0032D488 38 80 00 01 */ li r4, 1 +/* 8033052C 0032D48C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330530 0032D490 7D 89 03 A6 */ mtctr r12 +/* 80330534 0032D494 4E 80 04 21 */ bctrl +lbl_80330538: +/* 80330538 0032D498 28 1E 00 00 */ cmplwi r30, 0 +/* 8033053C 0032D49C 41 82 00 20 */ beq lbl_8033055C +/* 80330540 0032D4A0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330544 0032D4A4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330548 0032D4A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033054C 0032D4AC 41 82 00 10 */ beq lbl_8033055C +/* 80330550 0032D4B0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330554 0032D4B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330558 0032D4B8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033055C: +/* 8033055C 0032D4BC 7F E0 07 35 */ extsh. r0, r31 +/* 80330560 0032D4C0 40 81 00 10 */ ble lbl_80330570 +/* 80330564 0032D4C4 7F C3 F3 78 */ mr r3, r30 +/* 80330568 0032D4C8 38 80 00 08 */ li r4, 8 +/* 8033056C 0032D4CC 48 03 C4 F9 */ bl sub_8036ca64 +lbl_80330570: +/* 80330570 0032D4D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330574 0032D4D4 7F C3 F3 78 */ mr r3, r30 +/* 80330578 0032D4D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033057C 0032D4DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330580 0032D4E0 7C 08 03 A6 */ mtlr r0 +/* 80330584 0032D4E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330588 0032D4E8 4E 80 00 20 */ blr + +.global __ct__19CREGetComponentBlueFP13CColorElement +__ct__19CREGetComponentBlueFP13CColorElement: +/* 8033058C 0032D4EC 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330590 0032D4F0 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80330594 0032D4F4 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330598 0032D4F8 3C A0 80 3F */ lis r5, lbl_803EDE30@ha +/* 8033059C 0032D4FC 90 03 00 00 */ stw r0, 0(r3) +/* 803305A0 0032D500 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 803305A4 0032D504 38 05 DE 30 */ addi r0, r5, lbl_803EDE30@l +/* 803305A8 0032D508 90 C3 00 00 */ stw r6, 0(r3) +/* 803305AC 0032D50C 90 03 00 00 */ stw r0, 0(r3) +/* 803305B0 0032D510 90 83 00 04 */ stw r4, 4(r3) +/* 803305B4 0032D514 4E 80 00 20 */ blr + +.global GetValue__20CREGetComponentGreenCFiRf +GetValue__20CREGetComponentGreenCFiRf: +/* 803305B8 0032D518 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803305BC 0032D51C 7C 08 02 A6 */ mflr r0 +/* 803305C0 0032D520 90 01 00 24 */ stw r0, 0x24(r1) +/* 803305C4 0032D524 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803305C8 0032D528 7C BF 2B 78 */ mr r31, r5 +/* 803305CC 0032D52C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803305D0 0032D530 7C 9E 23 78 */ mr r30, r4 +/* 803305D4 0032D534 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803305D8 0032D538 7C 7D 1B 78 */ mr r29, r3 +/* 803305DC 0032D53C 48 01 99 D9 */ bl Black__6CColorFv +/* 803305E0 0032D540 80 03 00 00 */ lwz r0, 0(r3) +/* 803305E4 0032D544 7F C4 F3 78 */ mr r4, r30 +/* 803305E8 0032D548 80 7D 00 04 */ lwz r3, 4(r29) +/* 803305EC 0032D54C 38 A1 00 08 */ addi r5, r1, 8 +/* 803305F0 0032D550 90 01 00 08 */ stw r0, 8(r1) +/* 803305F4 0032D554 81 83 00 00 */ lwz r12, 0(r3) +/* 803305F8 0032D558 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803305FC 0032D55C 7D 89 03 A6 */ mtctr r12 +/* 80330600 0032D560 4E 80 04 21 */ bctrl +/* 80330604 0032D564 E0 21 A0 09 */ psq_l f1, 9(r1), 1, qr2 +/* 80330608 0032D568 38 60 00 00 */ li r3, 0 +/* 8033060C 0032D56C C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 80330610 0032D570 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80330614 0032D574 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80330618 0032D578 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033061C 0032D57C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330620 0032D580 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80330624 0032D584 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330628 0032D588 7C 08 03 A6 */ mtlr r0 +/* 8033062C 0032D58C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330630 0032D590 4E 80 00 20 */ blr + +.global __dt__20CREGetComponentGreen +__dt__20CREGetComponentGreen: +/* 80330634 0032D594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330638 0032D598 7C 08 02 A6 */ mflr r0 +/* 8033063C 0032D59C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330640 0032D5A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330644 0032D5A4 7C 9F 23 78 */ mr r31, r4 +/* 80330648 0032D5A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8033064C 0032D5AC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330650 0032D5B0 41 82 00 68 */ beq lbl_803306B8 +/* 80330654 0032D5B4 3C 60 80 3F */ lis r3, lbl_803EDE44@ha +/* 80330658 0032D5B8 38 03 DE 44 */ addi r0, r3, lbl_803EDE44@l +/* 8033065C 0032D5BC 90 1E 00 00 */ stw r0, 0(r30) +/* 80330660 0032D5C0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330664 0032D5C4 28 03 00 00 */ cmplwi r3, 0 +/* 80330668 0032D5C8 41 82 00 18 */ beq lbl_80330680 +/* 8033066C 0032D5CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80330670 0032D5D0 38 80 00 01 */ li r4, 1 +/* 80330674 0032D5D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330678 0032D5D8 7D 89 03 A6 */ mtctr r12 +/* 8033067C 0032D5DC 4E 80 04 21 */ bctrl +lbl_80330680: +/* 80330680 0032D5E0 28 1E 00 00 */ cmplwi r30, 0 +/* 80330684 0032D5E4 41 82 00 20 */ beq lbl_803306A4 +/* 80330688 0032D5E8 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 8033068C 0032D5EC 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330690 0032D5F0 90 1E 00 00 */ stw r0, 0(r30) +/* 80330694 0032D5F4 41 82 00 10 */ beq lbl_803306A4 +/* 80330698 0032D5F8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033069C 0032D5FC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803306A0 0032D600 90 1E 00 00 */ stw r0, 0(r30) +lbl_803306A4: +/* 803306A4 0032D604 7F E0 07 35 */ extsh. r0, r31 +/* 803306A8 0032D608 40 81 00 10 */ ble lbl_803306B8 +/* 803306AC 0032D60C 7F C3 F3 78 */ mr r3, r30 +/* 803306B0 0032D610 38 80 00 08 */ li r4, 8 +/* 803306B4 0032D614 48 03 C3 B1 */ bl sub_8036ca64 +lbl_803306B8: +/* 803306B8 0032D618 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803306BC 0032D61C 7F C3 F3 78 */ mr r3, r30 +/* 803306C0 0032D620 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803306C4 0032D624 83 C1 00 08 */ lwz r30, 8(r1) +/* 803306C8 0032D628 7C 08 03 A6 */ mtlr r0 +/* 803306CC 0032D62C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803306D0 0032D630 4E 80 00 20 */ blr + +.global __ct__20CREGetComponentGreenFP13CColorElement +__ct__20CREGetComponentGreenFP13CColorElement: +/* 803306D4 0032D634 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803306D8 0032D638 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 803306DC 0032D63C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803306E0 0032D640 3C A0 80 3F */ lis r5, lbl_803EDE44@ha +/* 803306E4 0032D644 90 03 00 00 */ stw r0, 0(r3) +/* 803306E8 0032D648 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 803306EC 0032D64C 38 05 DE 44 */ addi r0, r5, lbl_803EDE44@l +/* 803306F0 0032D650 90 C3 00 00 */ stw r6, 0(r3) +/* 803306F4 0032D654 90 03 00 00 */ stw r0, 0(r3) +/* 803306F8 0032D658 90 83 00 04 */ stw r4, 4(r3) +/* 803306FC 0032D65C 4E 80 00 20 */ blr + +.global GetValue__18CREGetComponentRedCFiRf +GetValue__18CREGetComponentRedCFiRf: +/* 80330700 0032D660 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330704 0032D664 7C 08 02 A6 */ mflr r0 +/* 80330708 0032D668 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033070C 0032D66C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330710 0032D670 7C BF 2B 78 */ mr r31, r5 +/* 80330714 0032D674 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330718 0032D678 7C 9E 23 78 */ mr r30, r4 +/* 8033071C 0032D67C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330720 0032D680 7C 7D 1B 78 */ mr r29, r3 +/* 80330724 0032D684 48 01 98 91 */ bl Black__6CColorFv +/* 80330728 0032D688 80 03 00 00 */ lwz r0, 0(r3) +/* 8033072C 0032D68C 7F C4 F3 78 */ mr r4, r30 +/* 80330730 0032D690 80 7D 00 04 */ lwz r3, 4(r29) +/* 80330734 0032D694 38 A1 00 08 */ addi r5, r1, 8 +/* 80330738 0032D698 90 01 00 08 */ stw r0, 8(r1) +/* 8033073C 0032D69C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330740 0032D6A0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330744 0032D6A4 7D 89 03 A6 */ mtctr r12 +/* 80330748 0032D6A8 4E 80 04 21 */ bctrl +/* 8033074C 0032D6AC E0 21 A0 08 */ psq_l f1, 8(r1), 1, qr2 +/* 80330750 0032D6B0 38 60 00 00 */ li r3, 0 +/* 80330754 0032D6B4 C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 80330758 0032D6B8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8033075C 0032D6BC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80330760 0032D6C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80330764 0032D6C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330768 0032D6C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033076C 0032D6CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330770 0032D6D0 7C 08 03 A6 */ mtlr r0 +/* 80330774 0032D6D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330778 0032D6D8 4E 80 00 20 */ blr + +.global __dt__18CREGetComponentRed +__dt__18CREGetComponentRed: +/* 8033077C 0032D6DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330780 0032D6E0 7C 08 02 A6 */ mflr r0 +/* 80330784 0032D6E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330788 0032D6E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033078C 0032D6EC 7C 9F 23 78 */ mr r31, r4 +/* 80330790 0032D6F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80330794 0032D6F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330798 0032D6F8 41 82 00 68 */ beq lbl_80330800 +/* 8033079C 0032D6FC 3C 60 80 3F */ lis r3, lbl_803EDE58@ha +/* 803307A0 0032D700 38 03 DE 58 */ addi r0, r3, lbl_803EDE58@l +/* 803307A4 0032D704 90 1E 00 00 */ stw r0, 0(r30) +/* 803307A8 0032D708 80 7E 00 04 */ lwz r3, 4(r30) +/* 803307AC 0032D70C 28 03 00 00 */ cmplwi r3, 0 +/* 803307B0 0032D710 41 82 00 18 */ beq lbl_803307C8 +/* 803307B4 0032D714 81 83 00 00 */ lwz r12, 0(r3) +/* 803307B8 0032D718 38 80 00 01 */ li r4, 1 +/* 803307BC 0032D71C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803307C0 0032D720 7D 89 03 A6 */ mtctr r12 +/* 803307C4 0032D724 4E 80 04 21 */ bctrl +lbl_803307C8: +/* 803307C8 0032D728 28 1E 00 00 */ cmplwi r30, 0 +/* 803307CC 0032D72C 41 82 00 20 */ beq lbl_803307EC +/* 803307D0 0032D730 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803307D4 0032D734 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803307D8 0032D738 90 1E 00 00 */ stw r0, 0(r30) +/* 803307DC 0032D73C 41 82 00 10 */ beq lbl_803307EC +/* 803307E0 0032D740 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803307E4 0032D744 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803307E8 0032D748 90 1E 00 00 */ stw r0, 0(r30) +lbl_803307EC: +/* 803307EC 0032D74C 7F E0 07 35 */ extsh. r0, r31 +/* 803307F0 0032D750 40 81 00 10 */ ble lbl_80330800 +/* 803307F4 0032D754 7F C3 F3 78 */ mr r3, r30 +/* 803307F8 0032D758 38 80 00 08 */ li r4, 8 +/* 803307FC 0032D75C 48 03 C2 69 */ bl sub_8036ca64 +lbl_80330800: +/* 80330800 0032D760 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330804 0032D764 7F C3 F3 78 */ mr r3, r30 +/* 80330808 0032D768 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033080C 0032D76C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330810 0032D770 7C 08 03 A6 */ mtlr r0 +/* 80330814 0032D774 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330818 0032D778 4E 80 00 20 */ blr + +.global __ct__18CREGetComponentRedFP13CColorElement +__ct__18CREGetComponentRedFP13CColorElement: +/* 8033081C 0032D77C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330820 0032D780 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80330824 0032D784 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330828 0032D788 3C A0 80 3F */ lis r5, lbl_803EDE58@ha +/* 8033082C 0032D78C 90 03 00 00 */ stw r0, 0(r3) +/* 80330830 0032D790 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80330834 0032D794 38 05 DE 58 */ addi r0, r5, lbl_803EDE58@l +/* 80330838 0032D798 90 C3 00 00 */ stw r6, 0(r3) +/* 8033083C 0032D79C 90 03 00 00 */ stw r0, 0(r3) +/* 80330840 0032D7A0 90 83 00 04 */ stw r4, 4(r3) +/* 80330844 0032D7A4 4E 80 00 20 */ blr + +.global GetValue__11CRESubtractCFiRf +GetValue__11CRESubtractCFiRf: +/* 80330848 0032D7A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033084C 0032D7AC 7C 08 02 A6 */ mflr r0 +/* 80330850 0032D7B0 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) +/* 80330854 0032D7B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330858 0032D7B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033085C 0032D7BC 7C BF 2B 78 */ mr r31, r5 +/* 80330860 0032D7C0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330864 0032D7C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330868 0032D7C8 7C 9E 23 78 */ mr r30, r4 +/* 8033086C 0032D7CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330870 0032D7D0 7C 7D 1B 78 */ mr r29, r3 +/* 80330874 0032D7D4 80 63 00 04 */ lwz r3, 4(r3) +/* 80330878 0032D7D8 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8033087C 0032D7DC D0 01 00 08 */ stfs f0, 8(r1) +/* 80330880 0032D7E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330884 0032D7E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330888 0032D7E8 7D 89 03 A6 */ mtctr r12 +/* 8033088C 0032D7EC 4E 80 04 21 */ bctrl +/* 80330890 0032D7F0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330894 0032D7F4 7F C4 F3 78 */ mr r4, r30 +/* 80330898 0032D7F8 38 A1 00 08 */ addi r5, r1, 8 +/* 8033089C 0032D7FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803308A0 0032D800 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803308A4 0032D804 7D 89 03 A6 */ mtctr r12 +/* 803308A8 0032D808 4E 80 04 21 */ bctrl +/* 803308AC 0032D80C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803308B0 0032D810 38 60 00 00 */ li r3, 0 +/* 803308B4 0032D814 C0 01 00 08 */ lfs f0, 8(r1) +/* 803308B8 0032D818 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803308BC 0032D81C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803308C0 0032D820 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803308C4 0032D824 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803308C8 0032D828 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803308CC 0032D82C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803308D0 0032D830 7C 08 03 A6 */ mtlr r0 +/* 803308D4 0032D834 38 21 00 20 */ addi r1, r1, 0x20 +/* 803308D8 0032D838 4E 80 00 20 */ blr + +.global __dt__11CRESubtract +__dt__11CRESubtract: +/* 803308DC 0032D83C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803308E0 0032D840 7C 08 02 A6 */ mflr r0 +/* 803308E4 0032D844 90 01 00 14 */ stw r0, 0x14(r1) +/* 803308E8 0032D848 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803308EC 0032D84C 7C 9F 23 78 */ mr r31, r4 +/* 803308F0 0032D850 93 C1 00 08 */ stw r30, 8(r1) +/* 803308F4 0032D854 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803308F8 0032D858 41 82 00 88 */ beq lbl_80330980 +/* 803308FC 0032D85C 3C 60 80 3F */ lis r3, lbl_803EDE6C@ha +/* 80330900 0032D860 38 03 DE 6C */ addi r0, r3, lbl_803EDE6C@l +/* 80330904 0032D864 90 1E 00 00 */ stw r0, 0(r30) +/* 80330908 0032D868 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033090C 0032D86C 28 03 00 00 */ cmplwi r3, 0 +/* 80330910 0032D870 41 82 00 18 */ beq lbl_80330928 +/* 80330914 0032D874 81 83 00 00 */ lwz r12, 0(r3) +/* 80330918 0032D878 38 80 00 01 */ li r4, 1 +/* 8033091C 0032D87C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330920 0032D880 7D 89 03 A6 */ mtctr r12 +/* 80330924 0032D884 4E 80 04 21 */ bctrl +lbl_80330928: +/* 80330928 0032D888 80 7E 00 08 */ lwz r3, 8(r30) +/* 8033092C 0032D88C 28 03 00 00 */ cmplwi r3, 0 +/* 80330930 0032D890 41 82 00 18 */ beq lbl_80330948 +/* 80330934 0032D894 81 83 00 00 */ lwz r12, 0(r3) +/* 80330938 0032D898 38 80 00 01 */ li r4, 1 +/* 8033093C 0032D89C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330940 0032D8A0 7D 89 03 A6 */ mtctr r12 +/* 80330944 0032D8A4 4E 80 04 21 */ bctrl +lbl_80330948: +/* 80330948 0032D8A8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033094C 0032D8AC 41 82 00 20 */ beq lbl_8033096C +/* 80330950 0032D8B0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330954 0032D8B4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330958 0032D8B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033095C 0032D8BC 41 82 00 10 */ beq lbl_8033096C +/* 80330960 0032D8C0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330964 0032D8C4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330968 0032D8C8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033096C: +/* 8033096C 0032D8CC 7F E0 07 35 */ extsh. r0, r31 +/* 80330970 0032D8D0 40 81 00 10 */ ble lbl_80330980 +/* 80330974 0032D8D4 7F C3 F3 78 */ mr r3, r30 +/* 80330978 0032D8D8 38 80 00 0C */ li r4, 0xc +/* 8033097C 0032D8DC 48 03 C0 E9 */ bl sub_8036ca64 +lbl_80330980: +/* 80330980 0032D8E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330984 0032D8E4 7F C3 F3 78 */ mr r3, r30 +/* 80330988 0032D8E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033098C 0032D8EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330990 0032D8F0 7C 08 03 A6 */ mtlr r0 +/* 80330994 0032D8F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330998 0032D8F8 4E 80 00 20 */ blr + +.global __ct__11CRESubtractFP12CRealElementP12CRealElement +__ct__11CRESubtractFP12CRealElementP12CRealElement: +/* 8033099C 0032D8FC 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803309A0 0032D900 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 803309A4 0032D904 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803309A8 0032D908 3C C0 80 3F */ lis r6, lbl_803EDE6C@ha +/* 803309AC 0032D90C 90 03 00 00 */ stw r0, 0(r3) +/* 803309B0 0032D910 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 803309B4 0032D914 38 06 DE 6C */ addi r0, r6, lbl_803EDE6C@l +/* 803309B8 0032D918 90 E3 00 00 */ stw r7, 0(r3) +/* 803309BC 0032D91C 90 03 00 00 */ stw r0, 0(r3) +/* 803309C0 0032D920 90 83 00 04 */ stw r4, 4(r3) +/* 803309C4 0032D924 90 A3 00 08 */ stw r5, 8(r3) +/* 803309C8 0032D928 4E 80 00 20 */ blr + +.global GetValue__7CRECEXTCFiRf +GetValue__7CRECEXTCFiRf: +/* 803309CC 0032D92C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803309D0 0032D930 7C 08 02 A6 */ mflr r0 +/* 803309D4 0032D934 90 01 00 24 */ stw r0, 0x24(r1) +/* 803309D8 0032D938 38 00 00 00 */ li r0, 0 +/* 803309DC 0032D93C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803309E0 0032D940 7C BF 2B 78 */ mr r31, r5 +/* 803309E4 0032D944 38 A1 00 08 */ addi r5, r1, 8 +/* 803309E8 0032D948 90 01 00 08 */ stw r0, 8(r1) +/* 803309EC 0032D94C 80 63 00 04 */ lwz r3, 4(r3) +/* 803309F0 0032D950 81 83 00 00 */ lwz r12, 0(r3) +/* 803309F4 0032D954 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803309F8 0032D958 7D 89 03 A6 */ mtctr r12 +/* 803309FC 0032D95C 4E 80 04 21 */ bctrl +/* 80330A00 0032D960 80 6D 9D 20 */ lwz r3, lbl_805A88E0@sda21(r13) +/* 80330A04 0032D964 38 8D 9D 20 */ addi r4, r13, lbl_805A88E0@sda21 +/* 80330A08 0032D968 80 01 00 08 */ lwz r0, 8(r1) +/* 80330A0C 0032D96C 7C 03 00 00 */ cmpw r3, r0 +/* 80330A10 0032D970 40 80 00 08 */ bge lbl_80330A18 +/* 80330A14 0032D974 38 81 00 08 */ addi r4, r1, 8 +lbl_80330A18: +/* 80330A18 0032D978 80 A4 00 00 */ lwz r5, 0(r4) +/* 80330A1C 0032D97C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80330A20 0032D980 54 A0 E0 06 */ slwi r0, r5, 0x1c +/* 80330A24 0032D984 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 80330A28 0032D988 7C 04 00 50 */ subf r0, r4, r0 +/* 80330A2C 0032D98C 90 A1 00 08 */ stw r5, 8(r1) +/* 80330A30 0032D990 54 00 20 3E */ rotlwi r0, r0, 4 +/* 80330A34 0032D994 7C 80 22 14 */ add r4, r0, r4 +/* 80330A38 0032D998 90 81 00 08 */ stw r4, 8(r1) +/* 80330A3C 0032D99C 80 63 00 04 */ lwz r3, 4(r3) +/* 80330A40 0032D9A0 4B FE 6C 2D */ bl GetCEXTValue__11CElementGenCFi +/* 80330A44 0032D9A4 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80330A48 0032D9A8 38 60 00 00 */ li r3, 0 +/* 80330A4C 0032D9AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80330A50 0032D9B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330A54 0032D9B4 7C 08 03 A6 */ mtlr r0 +/* 80330A58 0032D9B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330A5C 0032D9BC 4E 80 00 20 */ blr + +.global __dt__7CRECEXT +__dt__7CRECEXT: +/* 80330A60 0032D9C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330A64 0032D9C4 7C 08 02 A6 */ mflr r0 +/* 80330A68 0032D9C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330A6C 0032D9CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330A70 0032D9D0 7C 9F 23 78 */ mr r31, r4 +/* 80330A74 0032D9D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80330A78 0032D9D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330A7C 0032D9DC 41 82 00 68 */ beq lbl_80330AE4 +/* 80330A80 0032D9E0 3C 60 80 3F */ lis r3, lbl_803EDE80@ha +/* 80330A84 0032D9E4 38 03 DE 80 */ addi r0, r3, lbl_803EDE80@l +/* 80330A88 0032D9E8 90 1E 00 00 */ stw r0, 0(r30) +/* 80330A8C 0032D9EC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330A90 0032D9F0 28 03 00 00 */ cmplwi r3, 0 +/* 80330A94 0032D9F4 41 82 00 18 */ beq lbl_80330AAC +/* 80330A98 0032D9F8 81 83 00 00 */ lwz r12, 0(r3) +/* 80330A9C 0032D9FC 38 80 00 01 */ li r4, 1 +/* 80330AA0 0032DA00 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330AA4 0032DA04 7D 89 03 A6 */ mtctr r12 +/* 80330AA8 0032DA08 4E 80 04 21 */ bctrl +lbl_80330AAC: +/* 80330AAC 0032DA0C 28 1E 00 00 */ cmplwi r30, 0 +/* 80330AB0 0032DA10 41 82 00 20 */ beq lbl_80330AD0 +/* 80330AB4 0032DA14 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330AB8 0032DA18 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330ABC 0032DA1C 90 1E 00 00 */ stw r0, 0(r30) +/* 80330AC0 0032DA20 41 82 00 10 */ beq lbl_80330AD0 +/* 80330AC4 0032DA24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330AC8 0032DA28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330ACC 0032DA2C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330AD0: +/* 80330AD0 0032DA30 7F E0 07 35 */ extsh. r0, r31 +/* 80330AD4 0032DA34 40 81 00 10 */ ble lbl_80330AE4 +/* 80330AD8 0032DA38 7F C3 F3 78 */ mr r3, r30 +/* 80330ADC 0032DA3C 38 80 00 08 */ li r4, 8 +/* 80330AE0 0032DA40 48 03 BF 85 */ bl sub_8036ca64 +lbl_80330AE4: +/* 80330AE4 0032DA44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330AE8 0032DA48 7F C3 F3 78 */ mr r3, r30 +/* 80330AEC 0032DA4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330AF0 0032DA50 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330AF4 0032DA54 7C 08 03 A6 */ mtlr r0 +/* 80330AF8 0032DA58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330AFC 0032DA5C 4E 80 00 20 */ blr + +.global __ct__7CRECEXTFP11CIntElement +__ct__7CRECEXTFP11CIntElement: +/* 80330B00 0032DA60 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330B04 0032DA64 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80330B08 0032DA68 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330B0C 0032DA6C 3C A0 80 3F */ lis r5, lbl_803EDE80@ha +/* 80330B10 0032DA70 90 03 00 00 */ stw r0, 0(r3) +/* 80330B14 0032DA74 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80330B18 0032DA78 38 05 DE 80 */ addi r0, r5, lbl_803EDE80@l +/* 80330B1C 0032DA7C 90 C3 00 00 */ stw r6, 0(r3) +/* 80330B20 0032DA80 90 03 00 00 */ stw r0, 0(r3) +/* 80330B24 0032DA84 90 83 00 04 */ stw r4, 4(r3) +/* 80330B28 0032DA88 4E 80 00 20 */ blr + +.global GetValue__16CREConstantRangeCFiRf +GetValue__16CREConstantRangeCFiRf: +/* 80330B2C 0032DA8C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80330B30 0032DA90 7C 08 02 A6 */ mflr r0 +/* 80330B34 0032DA94 90 01 00 34 */ stw r0, 0x34(r1) +/* 80330B38 0032DA98 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80330B3C 0032DA9C 7C BF 2B 78 */ mr r31, r5 +/* 80330B40 0032DAA0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80330B44 0032DAA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80330B48 0032DAA8 7C 9E 23 78 */ mr r30, r4 +/* 80330B4C 0032DAAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80330B50 0032DAB0 7C 7D 1B 78 */ mr r29, r3 +/* 80330B54 0032DAB4 80 63 00 04 */ lwz r3, 4(r3) +/* 80330B58 0032DAB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80330B5C 0032DABC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330B60 0032DAC0 7D 89 03 A6 */ mtctr r12 +/* 80330B64 0032DAC4 4E 80 04 21 */ bctrl +/* 80330B68 0032DAC8 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330B6C 0032DACC 7F C4 F3 78 */ mr r4, r30 +/* 80330B70 0032DAD0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330B74 0032DAD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80330B78 0032DAD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330B7C 0032DADC 7D 89 03 A6 */ mtctr r12 +/* 80330B80 0032DAE0 4E 80 04 21 */ bctrl +/* 80330B84 0032DAE4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80330B88 0032DAE8 7F C4 F3 78 */ mr r4, r30 +/* 80330B8C 0032DAEC 38 A1 00 08 */ addi r5, r1, 8 +/* 80330B90 0032DAF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330B94 0032DAF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330B98 0032DAF8 7D 89 03 A6 */ mtctr r12 +/* 80330B9C 0032DAFC 4E 80 04 21 */ bctrl +/* 80330BA0 0032DB00 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80330BA4 0032DB04 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80330BA8 0032DB08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330BAC 0032DB0C 40 81 00 30 */ ble lbl_80330BDC +/* 80330BB0 0032DB10 C0 01 00 08 */ lfs f0, 8(r1) +/* 80330BB4 0032DB14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330BB8 0032DB18 40 80 00 24 */ bge lbl_80330BDC +/* 80330BBC 0032DB1C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80330BC0 0032DB20 7F C4 F3 78 */ mr r4, r30 +/* 80330BC4 0032DB24 7F E5 FB 78 */ mr r5, r31 +/* 80330BC8 0032DB28 81 83 00 00 */ lwz r12, 0(r3) +/* 80330BCC 0032DB2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330BD0 0032DB30 7D 89 03 A6 */ mtctr r12 +/* 80330BD4 0032DB34 4E 80 04 21 */ bctrl +/* 80330BD8 0032DB38 48 00 00 20 */ b lbl_80330BF8 +lbl_80330BDC: +/* 80330BDC 0032DB3C 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80330BE0 0032DB40 7F C4 F3 78 */ mr r4, r30 +/* 80330BE4 0032DB44 7F E5 FB 78 */ mr r5, r31 +/* 80330BE8 0032DB48 81 83 00 00 */ lwz r12, 0(r3) +/* 80330BEC 0032DB4C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330BF0 0032DB50 7D 89 03 A6 */ mtctr r12 +/* 80330BF4 0032DB54 4E 80 04 21 */ bctrl +lbl_80330BF8: +/* 80330BF8 0032DB58 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80330BFC 0032DB5C 38 60 00 00 */ li r3, 0 +/* 80330C00 0032DB60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80330C04 0032DB64 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80330C08 0032DB68 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80330C0C 0032DB6C 7C 08 03 A6 */ mtlr r0 +/* 80330C10 0032DB70 38 21 00 30 */ addi r1, r1, 0x30 +/* 80330C14 0032DB74 4E 80 00 20 */ blr + +.global __dt__16CREConstantRange +__dt__16CREConstantRange: +/* 80330C18 0032DB78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330C1C 0032DB7C 7C 08 02 A6 */ mflr r0 +/* 80330C20 0032DB80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330C24 0032DB84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330C28 0032DB88 7C 9F 23 78 */ mr r31, r4 +/* 80330C2C 0032DB8C 93 C1 00 08 */ stw r30, 8(r1) +/* 80330C30 0032DB90 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330C34 0032DB94 41 82 00 E8 */ beq lbl_80330D1C +/* 80330C38 0032DB98 3C 60 80 3F */ lis r3, lbl_803EDE94@ha +/* 80330C3C 0032DB9C 38 03 DE 94 */ addi r0, r3, lbl_803EDE94@l +/* 80330C40 0032DBA0 90 1E 00 00 */ stw r0, 0(r30) +/* 80330C44 0032DBA4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330C48 0032DBA8 28 03 00 00 */ cmplwi r3, 0 +/* 80330C4C 0032DBAC 41 82 00 18 */ beq lbl_80330C64 +/* 80330C50 0032DBB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330C54 0032DBB4 38 80 00 01 */ li r4, 1 +/* 80330C58 0032DBB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330C5C 0032DBBC 7D 89 03 A6 */ mtctr r12 +/* 80330C60 0032DBC0 4E 80 04 21 */ bctrl +lbl_80330C64: +/* 80330C64 0032DBC4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80330C68 0032DBC8 28 03 00 00 */ cmplwi r3, 0 +/* 80330C6C 0032DBCC 41 82 00 18 */ beq lbl_80330C84 +/* 80330C70 0032DBD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330C74 0032DBD4 38 80 00 01 */ li r4, 1 +/* 80330C78 0032DBD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330C7C 0032DBDC 7D 89 03 A6 */ mtctr r12 +/* 80330C80 0032DBE0 4E 80 04 21 */ bctrl +lbl_80330C84: +/* 80330C84 0032DBE4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80330C88 0032DBE8 28 03 00 00 */ cmplwi r3, 0 +/* 80330C8C 0032DBEC 41 82 00 18 */ beq lbl_80330CA4 +/* 80330C90 0032DBF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330C94 0032DBF4 38 80 00 01 */ li r4, 1 +/* 80330C98 0032DBF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330C9C 0032DBFC 7D 89 03 A6 */ mtctr r12 +/* 80330CA0 0032DC00 4E 80 04 21 */ bctrl +lbl_80330CA4: +/* 80330CA4 0032DC04 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80330CA8 0032DC08 28 03 00 00 */ cmplwi r3, 0 +/* 80330CAC 0032DC0C 41 82 00 18 */ beq lbl_80330CC4 +/* 80330CB0 0032DC10 81 83 00 00 */ lwz r12, 0(r3) +/* 80330CB4 0032DC14 38 80 00 01 */ li r4, 1 +/* 80330CB8 0032DC18 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330CBC 0032DC1C 7D 89 03 A6 */ mtctr r12 +/* 80330CC0 0032DC20 4E 80 04 21 */ bctrl +lbl_80330CC4: +/* 80330CC4 0032DC24 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80330CC8 0032DC28 28 03 00 00 */ cmplwi r3, 0 +/* 80330CCC 0032DC2C 41 82 00 18 */ beq lbl_80330CE4 +/* 80330CD0 0032DC30 81 83 00 00 */ lwz r12, 0(r3) +/* 80330CD4 0032DC34 38 80 00 01 */ li r4, 1 +/* 80330CD8 0032DC38 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330CDC 0032DC3C 7D 89 03 A6 */ mtctr r12 +/* 80330CE0 0032DC40 4E 80 04 21 */ bctrl +lbl_80330CE4: +/* 80330CE4 0032DC44 28 1E 00 00 */ cmplwi r30, 0 +/* 80330CE8 0032DC48 41 82 00 20 */ beq lbl_80330D08 +/* 80330CEC 0032DC4C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330CF0 0032DC50 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330CF4 0032DC54 90 1E 00 00 */ stw r0, 0(r30) +/* 80330CF8 0032DC58 41 82 00 10 */ beq lbl_80330D08 +/* 80330CFC 0032DC5C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330D00 0032DC60 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330D04 0032DC64 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330D08: +/* 80330D08 0032DC68 7F E0 07 35 */ extsh. r0, r31 +/* 80330D0C 0032DC6C 40 81 00 10 */ ble lbl_80330D1C +/* 80330D10 0032DC70 7F C3 F3 78 */ mr r3, r30 +/* 80330D14 0032DC74 38 80 00 18 */ li r4, 0x18 +/* 80330D18 0032DC78 48 03 BD 4D */ bl sub_8036ca64 +lbl_80330D1C: +/* 80330D1C 0032DC7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330D20 0032DC80 7F C3 F3 78 */ mr r3, r30 +/* 80330D24 0032DC84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330D28 0032DC88 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330D2C 0032DC8C 7C 08 03 A6 */ mtlr r0 +/* 80330D30 0032DC90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330D34 0032DC94 4E 80 00 20 */ blr + +.global __ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80330D38 0032DC98 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80330D3C 0032DC9C 3D 40 80 3F */ lis r10, lbl_803EC554@ha +/* 80330D40 0032DCA0 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80330D44 0032DCA4 3D 20 80 3F */ lis r9, lbl_803EDE94@ha +/* 80330D48 0032DCA8 90 03 00 00 */ stw r0, 0(r3) +/* 80330D4C 0032DCAC 39 4A C5 54 */ addi r10, r10, lbl_803EC554@l +/* 80330D50 0032DCB0 38 09 DE 94 */ addi r0, r9, lbl_803EDE94@l +/* 80330D54 0032DCB4 91 43 00 00 */ stw r10, 0(r3) +/* 80330D58 0032DCB8 90 03 00 00 */ stw r0, 0(r3) +/* 80330D5C 0032DCBC 90 83 00 04 */ stw r4, 4(r3) +/* 80330D60 0032DCC0 90 A3 00 08 */ stw r5, 8(r3) +/* 80330D64 0032DCC4 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80330D68 0032DCC8 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80330D6C 0032DCCC 91 03 00 14 */ stw r8, 0x14(r3) +/* 80330D70 0032DCD0 4E 80 00 20 */ blr + +.global GetValue__15CRECompareEqualCFiRf +GetValue__15CRECompareEqualCFiRf: +/* 80330D74 0032DCD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330D78 0032DCD8 7C 08 02 A6 */ mflr r0 +/* 80330D7C 0032DCDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330D80 0032DCE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330D84 0032DCE4 7C BF 2B 78 */ mr r31, r5 +/* 80330D88 0032DCE8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330D8C 0032DCEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330D90 0032DCF0 7C 9E 23 78 */ mr r30, r4 +/* 80330D94 0032DCF4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330D98 0032DCF8 7C 7D 1B 78 */ mr r29, r3 +/* 80330D9C 0032DCFC 80 63 00 04 */ lwz r3, 4(r3) +/* 80330DA0 0032DD00 81 83 00 00 */ lwz r12, 0(r3) +/* 80330DA4 0032DD04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330DA8 0032DD08 7D 89 03 A6 */ mtctr r12 +/* 80330DAC 0032DD0C 4E 80 04 21 */ bctrl +/* 80330DB0 0032DD10 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330DB4 0032DD14 7F C4 F3 78 */ mr r4, r30 +/* 80330DB8 0032DD18 38 A1 00 08 */ addi r5, r1, 8 +/* 80330DBC 0032DD1C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330DC0 0032DD20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330DC4 0032DD24 7D 89 03 A6 */ mtctr r12 +/* 80330DC8 0032DD28 4E 80 04 21 */ bctrl +/* 80330DCC 0032DD2C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80330DD0 0032DD30 C0 21 00 08 */ lfs f1, 8(r1) +/* 80330DD4 0032DD34 C0 02 CB 30 */ lfs f0, lbl_805AE850@sda21(r2) +/* 80330DD8 0032DD38 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80330DDC 0032DD3C FC 20 0A 10 */ fabs f1, f1 +/* 80330DE0 0032DD40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330DE4 0032DD44 40 80 00 24 */ bge lbl_80330E08 +/* 80330DE8 0032DD48 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80330DEC 0032DD4C 7F C4 F3 78 */ mr r4, r30 +/* 80330DF0 0032DD50 7F E5 FB 78 */ mr r5, r31 +/* 80330DF4 0032DD54 81 83 00 00 */ lwz r12, 0(r3) +/* 80330DF8 0032DD58 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330DFC 0032DD5C 7D 89 03 A6 */ mtctr r12 +/* 80330E00 0032DD60 4E 80 04 21 */ bctrl +/* 80330E04 0032DD64 48 00 00 20 */ b lbl_80330E24 +lbl_80330E08: +/* 80330E08 0032DD68 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80330E0C 0032DD6C 7F C4 F3 78 */ mr r4, r30 +/* 80330E10 0032DD70 7F E5 FB 78 */ mr r5, r31 +/* 80330E14 0032DD74 81 83 00 00 */ lwz r12, 0(r3) +/* 80330E18 0032DD78 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330E1C 0032DD7C 7D 89 03 A6 */ mtctr r12 +/* 80330E20 0032DD80 4E 80 04 21 */ bctrl +lbl_80330E24: +/* 80330E24 0032DD84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80330E28 0032DD88 38 60 00 00 */ li r3, 0 +/* 80330E2C 0032DD8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330E30 0032DD90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80330E34 0032DD94 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330E38 0032DD98 7C 08 03 A6 */ mtlr r0 +/* 80330E3C 0032DD9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330E40 0032DDA0 4E 80 00 20 */ blr + +.global __dt__15CRECompareEqual +__dt__15CRECompareEqual: +/* 80330E44 0032DDA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330E48 0032DDA8 7C 08 02 A6 */ mflr r0 +/* 80330E4C 0032DDAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330E50 0032DDB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330E54 0032DDB4 7C 9F 23 78 */ mr r31, r4 +/* 80330E58 0032DDB8 93 C1 00 08 */ stw r30, 8(r1) +/* 80330E5C 0032DDBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330E60 0032DDC0 41 82 00 C8 */ beq lbl_80330F28 +/* 80330E64 0032DDC4 3C 60 80 3F */ lis r3, lbl_803EDEA8@ha +/* 80330E68 0032DDC8 38 03 DE A8 */ addi r0, r3, lbl_803EDEA8@l +/* 80330E6C 0032DDCC 90 1E 00 00 */ stw r0, 0(r30) +/* 80330E70 0032DDD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330E74 0032DDD4 28 03 00 00 */ cmplwi r3, 0 +/* 80330E78 0032DDD8 41 82 00 18 */ beq lbl_80330E90 +/* 80330E7C 0032DDDC 81 83 00 00 */ lwz r12, 0(r3) +/* 80330E80 0032DDE0 38 80 00 01 */ li r4, 1 +/* 80330E84 0032DDE4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330E88 0032DDE8 7D 89 03 A6 */ mtctr r12 +/* 80330E8C 0032DDEC 4E 80 04 21 */ bctrl +lbl_80330E90: +/* 80330E90 0032DDF0 80 7E 00 08 */ lwz r3, 8(r30) +/* 80330E94 0032DDF4 28 03 00 00 */ cmplwi r3, 0 +/* 80330E98 0032DDF8 41 82 00 18 */ beq lbl_80330EB0 +/* 80330E9C 0032DDFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80330EA0 0032DE00 38 80 00 01 */ li r4, 1 +/* 80330EA4 0032DE04 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330EA8 0032DE08 7D 89 03 A6 */ mtctr r12 +/* 80330EAC 0032DE0C 4E 80 04 21 */ bctrl +lbl_80330EB0: +/* 80330EB0 0032DE10 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80330EB4 0032DE14 28 03 00 00 */ cmplwi r3, 0 +/* 80330EB8 0032DE18 41 82 00 18 */ beq lbl_80330ED0 +/* 80330EBC 0032DE1C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330EC0 0032DE20 38 80 00 01 */ li r4, 1 +/* 80330EC4 0032DE24 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330EC8 0032DE28 7D 89 03 A6 */ mtctr r12 +/* 80330ECC 0032DE2C 4E 80 04 21 */ bctrl +lbl_80330ED0: +/* 80330ED0 0032DE30 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80330ED4 0032DE34 28 03 00 00 */ cmplwi r3, 0 +/* 80330ED8 0032DE38 41 82 00 18 */ beq lbl_80330EF0 +/* 80330EDC 0032DE3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330EE0 0032DE40 38 80 00 01 */ li r4, 1 +/* 80330EE4 0032DE44 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330EE8 0032DE48 7D 89 03 A6 */ mtctr r12 +/* 80330EEC 0032DE4C 4E 80 04 21 */ bctrl +lbl_80330EF0: +/* 80330EF0 0032DE50 28 1E 00 00 */ cmplwi r30, 0 +/* 80330EF4 0032DE54 41 82 00 20 */ beq lbl_80330F14 +/* 80330EF8 0032DE58 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330EFC 0032DE5C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330F00 0032DE60 90 1E 00 00 */ stw r0, 0(r30) +/* 80330F04 0032DE64 41 82 00 10 */ beq lbl_80330F14 +/* 80330F08 0032DE68 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330F0C 0032DE6C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330F10 0032DE70 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330F14: +/* 80330F14 0032DE74 7F E0 07 35 */ extsh. r0, r31 +/* 80330F18 0032DE78 40 81 00 10 */ ble lbl_80330F28 +/* 80330F1C 0032DE7C 7F C3 F3 78 */ mr r3, r30 +/* 80330F20 0032DE80 38 80 00 14 */ li r4, 0x14 +/* 80330F24 0032DE84 48 03 BB 41 */ bl sub_8036ca64 +lbl_80330F28: +/* 80330F28 0032DE88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330F2C 0032DE8C 7F C3 F3 78 */ mr r3, r30 +/* 80330F30 0032DE90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330F34 0032DE94 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330F38 0032DE98 7C 08 03 A6 */ mtlr r0 +/* 80330F3C 0032DE9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330F40 0032DEA0 4E 80 00 20 */ blr + +.global __ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80330F44 0032DEA4 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80330F48 0032DEA8 3D 20 80 3F */ lis r9, lbl_803EC554@ha +/* 80330F4C 0032DEAC 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80330F50 0032DEB0 3D 00 80 3F */ lis r8, lbl_803EDEA8@ha +/* 80330F54 0032DEB4 90 03 00 00 */ stw r0, 0(r3) +/* 80330F58 0032DEB8 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l +/* 80330F5C 0032DEBC 38 08 DE A8 */ addi r0, r8, lbl_803EDEA8@l +/* 80330F60 0032DEC0 91 23 00 00 */ stw r9, 0(r3) +/* 80330F64 0032DEC4 90 03 00 00 */ stw r0, 0(r3) +/* 80330F68 0032DEC8 90 83 00 04 */ stw r4, 4(r3) +/* 80330F6C 0032DECC 90 A3 00 08 */ stw r5, 8(r3) +/* 80330F70 0032DED0 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80330F74 0032DED4 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80330F78 0032DED8 4E 80 00 20 */ blr + +.global GetValue__18CRECompareLessThanCFiRf +GetValue__18CRECompareLessThanCFiRf: +/* 80330F7C 0032DEDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330F80 0032DEE0 7C 08 02 A6 */ mflr r0 +/* 80330F84 0032DEE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330F88 0032DEE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330F8C 0032DEEC 7C BF 2B 78 */ mr r31, r5 +/* 80330F90 0032DEF0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330F94 0032DEF4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330F98 0032DEF8 7C 9E 23 78 */ mr r30, r4 +/* 80330F9C 0032DEFC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330FA0 0032DF00 7C 7D 1B 78 */ mr r29, r3 +/* 80330FA4 0032DF04 80 63 00 04 */ lwz r3, 4(r3) +/* 80330FA8 0032DF08 81 83 00 00 */ lwz r12, 0(r3) +/* 80330FAC 0032DF0C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330FB0 0032DF10 7D 89 03 A6 */ mtctr r12 +/* 80330FB4 0032DF14 4E 80 04 21 */ bctrl +/* 80330FB8 0032DF18 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330FBC 0032DF1C 7F C4 F3 78 */ mr r4, r30 +/* 80330FC0 0032DF20 38 A1 00 08 */ addi r5, r1, 8 +/* 80330FC4 0032DF24 81 83 00 00 */ lwz r12, 0(r3) +/* 80330FC8 0032DF28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330FCC 0032DF2C 7D 89 03 A6 */ mtctr r12 +/* 80330FD0 0032DF30 4E 80 04 21 */ bctrl +/* 80330FD4 0032DF34 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80330FD8 0032DF38 C0 01 00 08 */ lfs f0, 8(r1) +/* 80330FDC 0032DF3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330FE0 0032DF40 40 80 00 24 */ bge lbl_80331004 +/* 80330FE4 0032DF44 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80330FE8 0032DF48 7F C4 F3 78 */ mr r4, r30 +/* 80330FEC 0032DF4C 7F E5 FB 78 */ mr r5, r31 +/* 80330FF0 0032DF50 81 83 00 00 */ lwz r12, 0(r3) +/* 80330FF4 0032DF54 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330FF8 0032DF58 7D 89 03 A6 */ mtctr r12 +/* 80330FFC 0032DF5C 4E 80 04 21 */ bctrl +/* 80331000 0032DF60 48 00 00 20 */ b lbl_80331020 +lbl_80331004: +/* 80331004 0032DF64 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80331008 0032DF68 7F C4 F3 78 */ mr r4, r30 +/* 8033100C 0032DF6C 7F E5 FB 78 */ mr r5, r31 +/* 80331010 0032DF70 81 83 00 00 */ lwz r12, 0(r3) +/* 80331014 0032DF74 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331018 0032DF78 7D 89 03 A6 */ mtctr r12 +/* 8033101C 0032DF7C 4E 80 04 21 */ bctrl +lbl_80331020: +/* 80331020 0032DF80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331024 0032DF84 38 60 00 00 */ li r3, 0 +/* 80331028 0032DF88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033102C 0032DF8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80331030 0032DF90 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80331034 0032DF94 7C 08 03 A6 */ mtlr r0 +/* 80331038 0032DF98 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033103C 0032DF9C 4E 80 00 20 */ blr + +.global __dt__18CRECompareLessThan +__dt__18CRECompareLessThan: +/* 80331040 0032DFA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331044 0032DFA4 7C 08 02 A6 */ mflr r0 +/* 80331048 0032DFA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033104C 0032DFAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331050 0032DFB0 7C 9F 23 78 */ mr r31, r4 +/* 80331054 0032DFB4 93 C1 00 08 */ stw r30, 8(r1) +/* 80331058 0032DFB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033105C 0032DFBC 41 82 00 C8 */ beq lbl_80331124 +/* 80331060 0032DFC0 3C 60 80 3F */ lis r3, lbl_803EDEBC@ha +/* 80331064 0032DFC4 38 03 DE BC */ addi r0, r3, lbl_803EDEBC@l +/* 80331068 0032DFC8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033106C 0032DFCC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331070 0032DFD0 28 03 00 00 */ cmplwi r3, 0 +/* 80331074 0032DFD4 41 82 00 18 */ beq lbl_8033108C +/* 80331078 0032DFD8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033107C 0032DFDC 38 80 00 01 */ li r4, 1 +/* 80331080 0032DFE0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331084 0032DFE4 7D 89 03 A6 */ mtctr r12 +/* 80331088 0032DFE8 4E 80 04 21 */ bctrl +lbl_8033108C: +/* 8033108C 0032DFEC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331090 0032DFF0 28 03 00 00 */ cmplwi r3, 0 +/* 80331094 0032DFF4 41 82 00 18 */ beq lbl_803310AC +/* 80331098 0032DFF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033109C 0032DFFC 38 80 00 01 */ li r4, 1 +/* 803310A0 0032E000 81 8C 00 08 */ lwz r12, 8(r12) +/* 803310A4 0032E004 7D 89 03 A6 */ mtctr r12 +/* 803310A8 0032E008 4E 80 04 21 */ bctrl +lbl_803310AC: +/* 803310AC 0032E00C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803310B0 0032E010 28 03 00 00 */ cmplwi r3, 0 +/* 803310B4 0032E014 41 82 00 18 */ beq lbl_803310CC +/* 803310B8 0032E018 81 83 00 00 */ lwz r12, 0(r3) +/* 803310BC 0032E01C 38 80 00 01 */ li r4, 1 +/* 803310C0 0032E020 81 8C 00 08 */ lwz r12, 8(r12) +/* 803310C4 0032E024 7D 89 03 A6 */ mtctr r12 +/* 803310C8 0032E028 4E 80 04 21 */ bctrl +lbl_803310CC: +/* 803310CC 0032E02C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803310D0 0032E030 28 03 00 00 */ cmplwi r3, 0 +/* 803310D4 0032E034 41 82 00 18 */ beq lbl_803310EC +/* 803310D8 0032E038 81 83 00 00 */ lwz r12, 0(r3) +/* 803310DC 0032E03C 38 80 00 01 */ li r4, 1 +/* 803310E0 0032E040 81 8C 00 08 */ lwz r12, 8(r12) +/* 803310E4 0032E044 7D 89 03 A6 */ mtctr r12 +/* 803310E8 0032E048 4E 80 04 21 */ bctrl +lbl_803310EC: +/* 803310EC 0032E04C 28 1E 00 00 */ cmplwi r30, 0 +/* 803310F0 0032E050 41 82 00 20 */ beq lbl_80331110 +/* 803310F4 0032E054 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803310F8 0032E058 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803310FC 0032E05C 90 1E 00 00 */ stw r0, 0(r30) +/* 80331100 0032E060 41 82 00 10 */ beq lbl_80331110 +/* 80331104 0032E064 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331108 0032E068 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033110C 0032E06C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331110: +/* 80331110 0032E070 7F E0 07 35 */ extsh. r0, r31 +/* 80331114 0032E074 40 81 00 10 */ ble lbl_80331124 +/* 80331118 0032E078 7F C3 F3 78 */ mr r3, r30 +/* 8033111C 0032E07C 38 80 00 14 */ li r4, 0x14 +/* 80331120 0032E080 48 03 B9 45 */ bl sub_8036ca64 +lbl_80331124: +/* 80331124 0032E084 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331128 0032E088 7F C3 F3 78 */ mr r3, r30 +/* 8033112C 0032E08C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331130 0032E090 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331134 0032E094 7C 08 03 A6 */ mtlr r0 +/* 80331138 0032E098 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033113C 0032E09C 4E 80 00 20 */ blr + +.global __ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80331140 0032E0A0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80331144 0032E0A4 3D 20 80 3F */ lis r9, lbl_803EC554@ha +/* 80331148 0032E0A8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 8033114C 0032E0AC 3D 00 80 3F */ lis r8, lbl_803EDEBC@ha +/* 80331150 0032E0B0 90 03 00 00 */ stw r0, 0(r3) +/* 80331154 0032E0B4 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l +/* 80331158 0032E0B8 38 08 DE BC */ addi r0, r8, lbl_803EDEBC@l +/* 8033115C 0032E0BC 91 23 00 00 */ stw r9, 0(r3) +/* 80331160 0032E0C0 90 03 00 00 */ stw r0, 0(r3) +/* 80331164 0032E0C4 90 83 00 04 */ stw r4, 4(r3) +/* 80331168 0032E0C8 90 A3 00 08 */ stw r5, 8(r3) +/* 8033116C 0032E0CC 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80331170 0032E0D0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80331174 0032E0D4 4E 80 00 20 */ blr + +.global GetValue__7CREIWSTGCFiRf +GetValue__7CREIWSTGCFiRf: +/* 80331178 0032E0D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033117C 0032E0DC 7C 08 02 A6 */ mflr r0 +/* 80331180 0032E0E0 2C 04 00 00 */ cmpwi r4, 0 +/* 80331184 0032E0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331188 0032E0E8 40 82 00 20 */ bne lbl_803311A8 +/* 8033118C 0032E0EC 80 63 00 04 */ lwz r3, 4(r3) +/* 80331190 0032E0F0 38 80 00 00 */ li r4, 0 +/* 80331194 0032E0F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80331198 0032E0F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033119C 0032E0FC 7D 89 03 A6 */ mtctr r12 +/* 803311A0 0032E100 4E 80 04 21 */ bctrl +/* 803311A4 0032E104 48 00 00 1C */ b lbl_803311C0 +lbl_803311A8: +/* 803311A8 0032E108 80 63 00 08 */ lwz r3, 8(r3) +/* 803311AC 0032E10C 38 84 FF FF */ addi r4, r4, -1 +/* 803311B0 0032E110 81 83 00 00 */ lwz r12, 0(r3) +/* 803311B4 0032E114 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803311B8 0032E118 7D 89 03 A6 */ mtctr r12 +/* 803311BC 0032E11C 4E 80 04 21 */ bctrl +lbl_803311C0: +/* 803311C0 0032E120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803311C4 0032E124 38 60 00 00 */ li r3, 0 +/* 803311C8 0032E128 7C 08 03 A6 */ mtlr r0 +/* 803311CC 0032E12C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803311D0 0032E130 4E 80 00 20 */ blr + +.global __dt__7CREIWST +__dt__7CREIWST: +/* 803311D4 0032E134 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803311D8 0032E138 7C 08 02 A6 */ mflr r0 +/* 803311DC 0032E13C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803311E0 0032E140 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803311E4 0032E144 7C 9F 23 78 */ mr r31, r4 +/* 803311E8 0032E148 93 C1 00 08 */ stw r30, 8(r1) +/* 803311EC 0032E14C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803311F0 0032E150 41 82 00 88 */ beq lbl_80331278 +/* 803311F4 0032E154 3C 60 80 3F */ lis r3, lbl_803EDED0@ha +/* 803311F8 0032E158 38 03 DE D0 */ addi r0, r3, lbl_803EDED0@l +/* 803311FC 0032E15C 90 1E 00 00 */ stw r0, 0(r30) +/* 80331200 0032E160 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331204 0032E164 28 03 00 00 */ cmplwi r3, 0 +/* 80331208 0032E168 41 82 00 18 */ beq lbl_80331220 +/* 8033120C 0032E16C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331210 0032E170 38 80 00 01 */ li r4, 1 +/* 80331214 0032E174 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331218 0032E178 7D 89 03 A6 */ mtctr r12 +/* 8033121C 0032E17C 4E 80 04 21 */ bctrl +lbl_80331220: +/* 80331220 0032E180 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331224 0032E184 28 03 00 00 */ cmplwi r3, 0 +/* 80331228 0032E188 41 82 00 18 */ beq lbl_80331240 +/* 8033122C 0032E18C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331230 0032E190 38 80 00 01 */ li r4, 1 +/* 80331234 0032E194 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331238 0032E198 7D 89 03 A6 */ mtctr r12 +/* 8033123C 0032E19C 4E 80 04 21 */ bctrl +lbl_80331240: +/* 80331240 0032E1A0 28 1E 00 00 */ cmplwi r30, 0 +/* 80331244 0032E1A4 41 82 00 20 */ beq lbl_80331264 +/* 80331248 0032E1A8 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 8033124C 0032E1AC 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331250 0032E1B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80331254 0032E1B4 41 82 00 10 */ beq lbl_80331264 +/* 80331258 0032E1B8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033125C 0032E1BC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331260 0032E1C0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331264: +/* 80331264 0032E1C4 7F E0 07 35 */ extsh. r0, r31 +/* 80331268 0032E1C8 40 81 00 10 */ ble lbl_80331278 +/* 8033126C 0032E1CC 7F C3 F3 78 */ mr r3, r30 +/* 80331270 0032E1D0 38 80 00 0C */ li r4, 0xc +/* 80331274 0032E1D4 48 03 B7 F1 */ bl sub_8036ca64 +lbl_80331278: +/* 80331278 0032E1D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033127C 0032E1DC 7F C3 F3 78 */ mr r3, r30 +/* 80331280 0032E1E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331284 0032E1E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331288 0032E1E8 7C 08 03 A6 */ mtlr r0 +/* 8033128C 0032E1EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331290 0032E1F0 4E 80 00 20 */ blr + +.global __ct__7CREISWTFP12CRealElementP12CRealElement +__ct__7CREISWTFP12CRealElementP12CRealElement: +/* 80331294 0032E1F4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80331298 0032E1F8 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 8033129C 0032E1FC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803312A0 0032E200 3C C0 80 3F */ lis r6, lbl_803EDED0@ha +/* 803312A4 0032E204 90 03 00 00 */ stw r0, 0(r3) +/* 803312A8 0032E208 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 803312AC 0032E20C 38 06 DE D0 */ addi r0, r6, lbl_803EDED0@l +/* 803312B0 0032E210 90 E3 00 00 */ stw r7, 0(r3) +/* 803312B4 0032E214 90 03 00 00 */ stw r0, 0(r3) +/* 803312B8 0032E218 90 83 00 04 */ stw r4, 4(r3) +/* 803312BC 0032E21C 90 A3 00 08 */ stw r5, 8(r3) +/* 803312C0 0032E220 4E 80 00 20 */ blr + +.global GetValue__18CREVectorMagnitudeCFiRf +GetValue__18CREVectorMagnitudeCFiRf: +/* 803312C4 0032E224 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803312C8 0032E228 7C 08 02 A6 */ mflr r0 +/* 803312CC 0032E22C 3C C0 80 5A */ lis r6, skZero3f@ha +/* 803312D0 0032E230 90 01 00 24 */ stw r0, 0x24(r1) +/* 803312D4 0032E234 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803312D8 0032E238 7C BF 2B 78 */ mr r31, r5 +/* 803312DC 0032E23C 38 A1 00 08 */ addi r5, r1, 8 +/* 803312E0 0032E240 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 803312E4 0032E244 80 63 00 04 */ lwz r3, 4(r3) +/* 803312E8 0032E248 C0 26 00 04 */ lfs f1, 4(r6) +/* 803312EC 0032E24C C0 06 00 08 */ lfs f0, 8(r6) +/* 803312F0 0032E250 D0 41 00 08 */ stfs f2, 8(r1) +/* 803312F4 0032E254 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803312F8 0032E258 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803312FC 0032E25C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331300 0032E260 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331304 0032E264 7D 89 03 A6 */ mtctr r12 +/* 80331308 0032E268 4E 80 04 21 */ bctrl +/* 8033130C 0032E26C 38 61 00 08 */ addi r3, r1, 8 +/* 80331310 0032E270 4B FE 35 A9 */ bl Magnitude__9CVector3fCFv +/* 80331314 0032E274 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80331318 0032E278 38 60 00 00 */ li r3, 0 +/* 8033131C 0032E27C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331320 0032E280 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331324 0032E284 7C 08 03 A6 */ mtlr r0 +/* 80331328 0032E288 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033132C 0032E28C 4E 80 00 20 */ blr + +.global __dt__18CREVectorMagnitude +__dt__18CREVectorMagnitude: +/* 80331330 0032E290 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331334 0032E294 7C 08 02 A6 */ mflr r0 +/* 80331338 0032E298 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033133C 0032E29C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331340 0032E2A0 7C 9F 23 78 */ mr r31, r4 +/* 80331344 0032E2A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80331348 0032E2A8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033134C 0032E2AC 41 82 00 68 */ beq lbl_803313B4 +/* 80331350 0032E2B0 3C 60 80 3F */ lis r3, lbl_803EDEE4@ha +/* 80331354 0032E2B4 38 03 DE E4 */ addi r0, r3, lbl_803EDEE4@l +/* 80331358 0032E2B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033135C 0032E2BC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331360 0032E2C0 28 03 00 00 */ cmplwi r3, 0 +/* 80331364 0032E2C4 41 82 00 18 */ beq lbl_8033137C +/* 80331368 0032E2C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033136C 0032E2CC 38 80 00 01 */ li r4, 1 +/* 80331370 0032E2D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331374 0032E2D4 7D 89 03 A6 */ mtctr r12 +/* 80331378 0032E2D8 4E 80 04 21 */ bctrl +lbl_8033137C: +/* 8033137C 0032E2DC 28 1E 00 00 */ cmplwi r30, 0 +/* 80331380 0032E2E0 41 82 00 20 */ beq lbl_803313A0 +/* 80331384 0032E2E4 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331388 0032E2E8 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 8033138C 0032E2EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80331390 0032E2F0 41 82 00 10 */ beq lbl_803313A0 +/* 80331394 0032E2F4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331398 0032E2F8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033139C 0032E2FC 90 1E 00 00 */ stw r0, 0(r30) +lbl_803313A0: +/* 803313A0 0032E300 7F E0 07 35 */ extsh. r0, r31 +/* 803313A4 0032E304 40 81 00 10 */ ble lbl_803313B4 +/* 803313A8 0032E308 7F C3 F3 78 */ mr r3, r30 +/* 803313AC 0032E30C 38 80 00 08 */ li r4, 8 +/* 803313B0 0032E310 48 03 B6 B5 */ bl sub_8036ca64 +lbl_803313B4: +/* 803313B4 0032E314 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803313B8 0032E318 7F C3 F3 78 */ mr r3, r30 +/* 803313BC 0032E31C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803313C0 0032E320 83 C1 00 08 */ lwz r30, 8(r1) +/* 803313C4 0032E324 7C 08 03 A6 */ mtlr r0 +/* 803313C8 0032E328 38 21 00 10 */ addi r1, r1, 0x10 +/* 803313CC 0032E32C 4E 80 00 20 */ blr + +.global __ct__18CREVectorMagnitudeFP14CVectorElement +__ct__18CREVectorMagnitudeFP14CVectorElement: +/* 803313D0 0032E330 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803313D4 0032E334 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 803313D8 0032E338 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803313DC 0032E33C 3C A0 80 3F */ lis r5, lbl_803EDEE4@ha +/* 803313E0 0032E340 90 03 00 00 */ stw r0, 0(r3) +/* 803313E4 0032E344 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 803313E8 0032E348 38 05 DE E4 */ addi r0, r5, lbl_803EDEE4@l +/* 803313EC 0032E34C 90 C3 00 00 */ stw r6, 0(r3) +/* 803313F0 0032E350 90 03 00 00 */ stw r0, 0(r3) +/* 803313F4 0032E354 90 83 00 04 */ stw r4, 4(r3) +/* 803313F8 0032E358 4E 80 00 20 */ blr + +.global GetValue__16CREVectorZToRealCFiRf +GetValue__16CREVectorZToRealCFiRf: +/* 803313FC 0032E35C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331400 0032E360 7C 08 02 A6 */ mflr r0 +/* 80331404 0032E364 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80331408 0032E368 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033140C 0032E36C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331410 0032E370 7C BF 2B 78 */ mr r31, r5 +/* 80331414 0032E374 38 A1 00 08 */ addi r5, r1, 8 +/* 80331418 0032E378 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 8033141C 0032E37C 80 63 00 04 */ lwz r3, 4(r3) +/* 80331420 0032E380 C0 26 00 04 */ lfs f1, 4(r6) +/* 80331424 0032E384 C0 06 00 08 */ lfs f0, 8(r6) +/* 80331428 0032E388 D0 41 00 08 */ stfs f2, 8(r1) +/* 8033142C 0032E38C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80331430 0032E390 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80331434 0032E394 81 83 00 00 */ lwz r12, 0(r3) +/* 80331438 0032E398 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033143C 0032E39C 7D 89 03 A6 */ mtctr r12 +/* 80331440 0032E3A0 4E 80 04 21 */ bctrl +/* 80331444 0032E3A4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80331448 0032E3A8 38 60 00 00 */ li r3, 0 +/* 8033144C 0032E3AC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331450 0032E3B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331454 0032E3B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331458 0032E3B8 7C 08 03 A6 */ mtlr r0 +/* 8033145C 0032E3BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331460 0032E3C0 4E 80 00 20 */ blr + +.global __dt__16CREVectorZToReal +__dt__16CREVectorZToReal: +/* 80331464 0032E3C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331468 0032E3C8 7C 08 02 A6 */ mflr r0 +/* 8033146C 0032E3CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331470 0032E3D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331474 0032E3D4 7C 9F 23 78 */ mr r31, r4 +/* 80331478 0032E3D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8033147C 0032E3DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331480 0032E3E0 41 82 00 68 */ beq lbl_803314E8 +/* 80331484 0032E3E4 3C 60 80 3F */ lis r3, lbl_803EDEF8@ha +/* 80331488 0032E3E8 38 03 DE F8 */ addi r0, r3, lbl_803EDEF8@l +/* 8033148C 0032E3EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80331490 0032E3F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331494 0032E3F4 28 03 00 00 */ cmplwi r3, 0 +/* 80331498 0032E3F8 41 82 00 18 */ beq lbl_803314B0 +/* 8033149C 0032E3FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803314A0 0032E400 38 80 00 01 */ li r4, 1 +/* 803314A4 0032E404 81 8C 00 08 */ lwz r12, 8(r12) +/* 803314A8 0032E408 7D 89 03 A6 */ mtctr r12 +/* 803314AC 0032E40C 4E 80 04 21 */ bctrl +lbl_803314B0: +/* 803314B0 0032E410 28 1E 00 00 */ cmplwi r30, 0 +/* 803314B4 0032E414 41 82 00 20 */ beq lbl_803314D4 +/* 803314B8 0032E418 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803314BC 0032E41C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803314C0 0032E420 90 1E 00 00 */ stw r0, 0(r30) +/* 803314C4 0032E424 41 82 00 10 */ beq lbl_803314D4 +/* 803314C8 0032E428 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803314CC 0032E42C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803314D0 0032E430 90 1E 00 00 */ stw r0, 0(r30) +lbl_803314D4: +/* 803314D4 0032E434 7F E0 07 35 */ extsh. r0, r31 +/* 803314D8 0032E438 40 81 00 10 */ ble lbl_803314E8 +/* 803314DC 0032E43C 7F C3 F3 78 */ mr r3, r30 +/* 803314E0 0032E440 38 80 00 08 */ li r4, 8 +/* 803314E4 0032E444 48 03 B5 81 */ bl sub_8036ca64 +lbl_803314E8: +/* 803314E8 0032E448 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803314EC 0032E44C 7F C3 F3 78 */ mr r3, r30 +/* 803314F0 0032E450 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803314F4 0032E454 83 C1 00 08 */ lwz r30, 8(r1) +/* 803314F8 0032E458 7C 08 03 A6 */ mtlr r0 +/* 803314FC 0032E45C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331500 0032E460 4E 80 00 20 */ blr + +.global __ct__16CREVectorZToRealFP14CVectorElement +__ct__16CREVectorZToRealFP14CVectorElement: +/* 80331504 0032E464 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80331508 0032E468 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 8033150C 0032E46C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331510 0032E470 3C A0 80 3F */ lis r5, lbl_803EDEF8@ha +/* 80331514 0032E474 90 03 00 00 */ stw r0, 0(r3) +/* 80331518 0032E478 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 8033151C 0032E47C 38 05 DE F8 */ addi r0, r5, lbl_803EDEF8@l +/* 80331520 0032E480 90 C3 00 00 */ stw r6, 0(r3) +/* 80331524 0032E484 90 03 00 00 */ stw r0, 0(r3) +/* 80331528 0032E488 90 83 00 04 */ stw r4, 4(r3) +/* 8033152C 0032E48C 4E 80 00 20 */ blr + +.global GetValue__16CREVectorYToRealCFiRf +GetValue__16CREVectorYToRealCFiRf: +/* 80331530 0032E490 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331534 0032E494 7C 08 02 A6 */ mflr r0 +/* 80331538 0032E498 3C C0 80 5A */ lis r6, skZero3f@ha +/* 8033153C 0032E49C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331540 0032E4A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331544 0032E4A4 7C BF 2B 78 */ mr r31, r5 +/* 80331548 0032E4A8 38 A1 00 08 */ addi r5, r1, 8 +/* 8033154C 0032E4AC C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 80331550 0032E4B0 80 63 00 04 */ lwz r3, 4(r3) +/* 80331554 0032E4B4 C0 26 00 04 */ lfs f1, 4(r6) +/* 80331558 0032E4B8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8033155C 0032E4BC D0 41 00 08 */ stfs f2, 8(r1) +/* 80331560 0032E4C0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80331564 0032E4C4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80331568 0032E4C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033156C 0032E4CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331570 0032E4D0 7D 89 03 A6 */ mtctr r12 +/* 80331574 0032E4D4 4E 80 04 21 */ bctrl +/* 80331578 0032E4D8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8033157C 0032E4DC 38 60 00 00 */ li r3, 0 +/* 80331580 0032E4E0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331584 0032E4E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331588 0032E4E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033158C 0032E4EC 7C 08 03 A6 */ mtlr r0 +/* 80331590 0032E4F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331594 0032E4F4 4E 80 00 20 */ blr + +.global __dt__16CREVectorYToReal +__dt__16CREVectorYToReal: +/* 80331598 0032E4F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033159C 0032E4FC 7C 08 02 A6 */ mflr r0 +/* 803315A0 0032E500 90 01 00 14 */ stw r0, 0x14(r1) +/* 803315A4 0032E504 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803315A8 0032E508 7C 9F 23 78 */ mr r31, r4 +/* 803315AC 0032E50C 93 C1 00 08 */ stw r30, 8(r1) +/* 803315B0 0032E510 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803315B4 0032E514 41 82 00 68 */ beq lbl_8033161C +/* 803315B8 0032E518 3C 60 80 3F */ lis r3, lbl_803EDF0C@ha +/* 803315BC 0032E51C 38 03 DF 0C */ addi r0, r3, lbl_803EDF0C@l +/* 803315C0 0032E520 90 1E 00 00 */ stw r0, 0(r30) +/* 803315C4 0032E524 80 7E 00 04 */ lwz r3, 4(r30) +/* 803315C8 0032E528 28 03 00 00 */ cmplwi r3, 0 +/* 803315CC 0032E52C 41 82 00 18 */ beq lbl_803315E4 +/* 803315D0 0032E530 81 83 00 00 */ lwz r12, 0(r3) +/* 803315D4 0032E534 38 80 00 01 */ li r4, 1 +/* 803315D8 0032E538 81 8C 00 08 */ lwz r12, 8(r12) +/* 803315DC 0032E53C 7D 89 03 A6 */ mtctr r12 +/* 803315E0 0032E540 4E 80 04 21 */ bctrl +lbl_803315E4: +/* 803315E4 0032E544 28 1E 00 00 */ cmplwi r30, 0 +/* 803315E8 0032E548 41 82 00 20 */ beq lbl_80331608 +/* 803315EC 0032E54C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803315F0 0032E550 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803315F4 0032E554 90 1E 00 00 */ stw r0, 0(r30) +/* 803315F8 0032E558 41 82 00 10 */ beq lbl_80331608 +/* 803315FC 0032E55C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331600 0032E560 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331604 0032E564 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331608: +/* 80331608 0032E568 7F E0 07 35 */ extsh. r0, r31 +/* 8033160C 0032E56C 40 81 00 10 */ ble lbl_8033161C +/* 80331610 0032E570 7F C3 F3 78 */ mr r3, r30 +/* 80331614 0032E574 38 80 00 08 */ li r4, 8 +/* 80331618 0032E578 48 03 B4 4D */ bl sub_8036ca64 +lbl_8033161C: +/* 8033161C 0032E57C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331620 0032E580 7F C3 F3 78 */ mr r3, r30 +/* 80331624 0032E584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331628 0032E588 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033162C 0032E58C 7C 08 03 A6 */ mtlr r0 +/* 80331630 0032E590 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331634 0032E594 4E 80 00 20 */ blr + +.global __ct__16CREVectorYToRealFP14CVectorElement +__ct__16CREVectorYToRealFP14CVectorElement: +/* 80331638 0032E598 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 8033163C 0032E59C 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80331640 0032E5A0 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331644 0032E5A4 3C A0 80 3F */ lis r5, lbl_803EDF0C@ha +/* 80331648 0032E5A8 90 03 00 00 */ stw r0, 0(r3) +/* 8033164C 0032E5AC 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80331650 0032E5B0 38 05 DF 0C */ addi r0, r5, lbl_803EDF0C@l +/* 80331654 0032E5B4 90 C3 00 00 */ stw r6, 0(r3) +/* 80331658 0032E5B8 90 03 00 00 */ stw r0, 0(r3) +/* 8033165C 0032E5BC 90 83 00 04 */ stw r4, 4(r3) +/* 80331660 0032E5C0 4E 80 00 20 */ blr + +.global GetValue__16CREVectorXToRealCFiRf +GetValue__16CREVectorXToRealCFiRf: +/* 80331664 0032E5C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331668 0032E5C8 7C 08 02 A6 */ mflr r0 +/* 8033166C 0032E5CC 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80331670 0032E5D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331674 0032E5D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331678 0032E5D8 7C BF 2B 78 */ mr r31, r5 +/* 8033167C 0032E5DC 38 A1 00 08 */ addi r5, r1, 8 +/* 80331680 0032E5E0 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 80331684 0032E5E4 80 63 00 04 */ lwz r3, 4(r3) +/* 80331688 0032E5E8 C0 26 00 04 */ lfs f1, 4(r6) +/* 8033168C 0032E5EC C0 06 00 08 */ lfs f0, 8(r6) +/* 80331690 0032E5F0 D0 41 00 08 */ stfs f2, 8(r1) +/* 80331694 0032E5F4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80331698 0032E5F8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8033169C 0032E5FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803316A0 0032E600 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803316A4 0032E604 7D 89 03 A6 */ mtctr r12 +/* 803316A8 0032E608 4E 80 04 21 */ bctrl +/* 803316AC 0032E60C C0 01 00 08 */ lfs f0, 8(r1) +/* 803316B0 0032E610 38 60 00 00 */ li r3, 0 +/* 803316B4 0032E614 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803316B8 0032E618 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803316BC 0032E61C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803316C0 0032E620 7C 08 03 A6 */ mtlr r0 +/* 803316C4 0032E624 38 21 00 20 */ addi r1, r1, 0x20 +/* 803316C8 0032E628 4E 80 00 20 */ blr + +.global __dt__16CREVectorXToReal +__dt__16CREVectorXToReal: +/* 803316CC 0032E62C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803316D0 0032E630 7C 08 02 A6 */ mflr r0 +/* 803316D4 0032E634 90 01 00 14 */ stw r0, 0x14(r1) +/* 803316D8 0032E638 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803316DC 0032E63C 7C 9F 23 78 */ mr r31, r4 +/* 803316E0 0032E640 93 C1 00 08 */ stw r30, 8(r1) +/* 803316E4 0032E644 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803316E8 0032E648 41 82 00 68 */ beq lbl_80331750 +/* 803316EC 0032E64C 3C 60 80 3F */ lis r3, lbl_803EDF20@ha +/* 803316F0 0032E650 38 03 DF 20 */ addi r0, r3, lbl_803EDF20@l +/* 803316F4 0032E654 90 1E 00 00 */ stw r0, 0(r30) +/* 803316F8 0032E658 80 7E 00 04 */ lwz r3, 4(r30) +/* 803316FC 0032E65C 28 03 00 00 */ cmplwi r3, 0 +/* 80331700 0032E660 41 82 00 18 */ beq lbl_80331718 +/* 80331704 0032E664 81 83 00 00 */ lwz r12, 0(r3) +/* 80331708 0032E668 38 80 00 01 */ li r4, 1 +/* 8033170C 0032E66C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331710 0032E670 7D 89 03 A6 */ mtctr r12 +/* 80331714 0032E674 4E 80 04 21 */ bctrl +lbl_80331718: +/* 80331718 0032E678 28 1E 00 00 */ cmplwi r30, 0 +/* 8033171C 0032E67C 41 82 00 20 */ beq lbl_8033173C +/* 80331720 0032E680 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331724 0032E684 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331728 0032E688 90 1E 00 00 */ stw r0, 0(r30) +/* 8033172C 0032E68C 41 82 00 10 */ beq lbl_8033173C +/* 80331730 0032E690 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331734 0032E694 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331738 0032E698 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033173C: +/* 8033173C 0032E69C 7F E0 07 35 */ extsh. r0, r31 +/* 80331740 0032E6A0 40 81 00 10 */ ble lbl_80331750 +/* 80331744 0032E6A4 7F C3 F3 78 */ mr r3, r30 +/* 80331748 0032E6A8 38 80 00 08 */ li r4, 8 +/* 8033174C 0032E6AC 48 03 B3 19 */ bl sub_8036ca64 +lbl_80331750: +/* 80331750 0032E6B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331754 0032E6B4 7F C3 F3 78 */ mr r3, r30 +/* 80331758 0032E6B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033175C 0032E6BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331760 0032E6C0 7C 08 03 A6 */ mtlr r0 +/* 80331764 0032E6C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331768 0032E6C8 4E 80 00 20 */ blr + +.global __ct__16CREVectorXToRealFP14CVectorElement +__ct__16CREVectorXToRealFP14CVectorElement: +/* 8033176C 0032E6CC 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80331770 0032E6D0 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80331774 0032E6D4 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331778 0032E6D8 3C A0 80 3F */ lis r5, lbl_803EDF20@ha +/* 8033177C 0032E6DC 90 03 00 00 */ stw r0, 0(r3) +/* 80331780 0032E6E0 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80331784 0032E6E4 38 05 DF 20 */ addi r0, r5, lbl_803EDF20@l +/* 80331788 0032E6E8 90 C3 00 00 */ stw r6, 0(r3) +/* 8033178C 0032E6EC 90 03 00 00 */ stw r0, 0(r3) +/* 80331790 0032E6F0 90 83 00 04 */ stw r4, 4(r3) +/* 80331794 0032E6F4 4E 80 00 20 */ blr + +.global GetValue__7CREPRLWGCFiRf +GetValue__7CREPRLWGCFiRf: +/* 80331798 0032E6F8 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 8033179C 0032E6FC 38 60 00 00 */ li r3, 0 +/* 803317A0 0032E700 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 803317A4 0032E704 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317A8 0032E708 4E 80 00 20 */ blr + +.global GetValue__7CREPSLLGCFiRf +GetValue__7CREPSLLGCFiRf: +/* 803317AC 0032E70C 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 803317B0 0032E710 38 60 00 00 */ li r3, 0 +/* 803317B4 0032E714 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 803317B8 0032E718 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317BC 0032E71C 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter8CFiRf +GetValue__27CREParticleAccessParameter8CFiRf: +/* 803317C0 0032E720 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 803317C4 0032E724 38 60 00 00 */ li r3, 0 +/* 803317C8 0032E728 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 803317CC 0032E72C D0 05 00 00 */ stfs f0, 0(r5) +/* 803317D0 0032E730 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter7CFiRf +GetValue__27CREParticleAccessParameter7CFiRf: +/* 803317D4 0032E734 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 803317D8 0032E738 38 60 00 00 */ li r3, 0 +/* 803317DC 0032E73C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 803317E0 0032E740 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317E4 0032E744 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter6CFiRf +GetValue__27CREParticleAccessParameter6CFiRf: +/* 803317E8 0032E748 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 803317EC 0032E74C 38 60 00 00 */ li r3, 0 +/* 803317F0 0032E750 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 803317F4 0032E754 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317F8 0032E758 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter5CFiRf +GetValue__27CREParticleAccessParameter5CFiRf: +/* 803317FC 0032E75C 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331800 0032E760 38 60 00 00 */ li r3, 0 +/* 80331804 0032E764 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80331808 0032E768 D0 05 00 00 */ stfs f0, 0(r5) +/* 8033180C 0032E76C 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter4CFiRf +GetValue__27CREParticleAccessParameter4CFiRf: +/* 80331810 0032E770 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331814 0032E774 38 60 00 00 */ li r3, 0 +/* 80331818 0032E778 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8033181C 0032E77C D0 05 00 00 */ stfs f0, 0(r5) +/* 80331820 0032E780 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter3CFiRf +GetValue__27CREParticleAccessParameter3CFiRf: +/* 80331824 0032E784 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331828 0032E788 38 60 00 00 */ li r3, 0 +/* 8033182C 0032E78C C0 04 00 08 */ lfs f0, 8(r4) +/* 80331830 0032E790 D0 05 00 00 */ stfs f0, 0(r5) +/* 80331834 0032E794 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter2CFiRf +GetValue__27CREParticleAccessParameter2CFiRf: +/* 80331838 0032E798 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 8033183C 0032E79C 38 60 00 00 */ li r3, 0 +/* 80331840 0032E7A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80331844 0032E7A4 D0 05 00 00 */ stfs f0, 0(r5) +/* 80331848 0032E7A8 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter1CFiRf +GetValue__27CREParticleAccessParameter1CFiRf: +/* 8033184C 0032E7AC 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331850 0032E7B0 38 60 00 00 */ li r3, 0 +/* 80331854 0032E7B4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80331858 0032E7B8 D0 05 00 00 */ stfs f0, 0(r5) +/* 8033185C 0032E7BC 4E 80 00 20 */ blr + +.global GetValue__18CREKeyframeEmitterCFiRf +GetValue__18CREKeyframeEmitterCFiRf: +/* 80331860 0032E7C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331864 0032E7C4 80 03 00 04 */ lwz r0, 4(r3) +/* 80331868 0032E7C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8033186C 0032E7CC 40 82 00 A0 */ bne lbl_8033190C +/* 80331870 0032E7D0 88 03 00 0C */ lbz r0, 0xc(r3) +/* 80331874 0032E7D4 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) +/* 80331878 0032E7D8 28 00 00 00 */ cmplwi r0, 0 +/* 8033187C 0032E7DC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80331880 0032E7E0 41 82 00 50 */ beq lbl_803318D0 +/* 80331884 0032E7E4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80331888 0032E7E8 7C 08 00 00 */ cmpw r8, r0 +/* 8033188C 0032E7EC 41 80 00 2C */ blt lbl_803318B8 +/* 80331890 0032E7F0 80 E3 00 14 */ lwz r7, 0x14(r3) +/* 80331894 0032E7F4 7C C7 40 50 */ subf r6, r7, r8 +/* 80331898 0032E7F8 7C 87 00 50 */ subf r4, r7, r0 +/* 8033189C 0032E7FC 7C 06 23 D6 */ divw r0, r6, r4 +/* 803318A0 0032E800 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803318A4 0032E804 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803318A8 0032E808 7C 00 30 50 */ subf r0, r0, r6 +/* 803318AC 0032E80C 90 01 00 0C */ stw r0, 0xc(r1) +/* 803318B0 0032E810 7C 00 3A 14 */ add r0, r0, r7 +/* 803318B4 0032E814 90 01 00 0C */ stw r0, 0xc(r1) +lbl_803318B8: +/* 803318B8 0032E818 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803318BC 0032E81C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803318C0 0032E820 54 00 10 3A */ slwi r0, r0, 2 +/* 803318C4 0032E824 7C 03 04 2E */ lfsx f0, r3, r0 +/* 803318C8 0032E828 D0 05 00 00 */ stfs f0, 0(r5) +/* 803318CC 0032E82C 48 00 00 38 */ b lbl_80331904 +lbl_803318D0: +/* 803318D0 0032E830 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 803318D4 0032E834 38 81 00 0C */ addi r4, r1, 0xc +/* 803318D8 0032E838 38 06 FF FF */ addi r0, r6, -1 +/* 803318DC 0032E83C 7C 00 40 00 */ cmpw r0, r8 +/* 803318E0 0032E840 90 01 00 08 */ stw r0, 8(r1) +/* 803318E4 0032E844 40 80 00 08 */ bge lbl_803318EC +/* 803318E8 0032E848 38 81 00 08 */ addi r4, r1, 8 +lbl_803318EC: +/* 803318EC 0032E84C 80 04 00 00 */ lwz r0, 0(r4) +/* 803318F0 0032E850 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803318F4 0032E854 90 01 00 0C */ stw r0, 0xc(r1) +/* 803318F8 0032E858 54 00 10 3A */ slwi r0, r0, 2 +/* 803318FC 0032E85C 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80331900 0032E860 D0 05 00 00 */ stfs f0, 0(r5) +lbl_80331904: +/* 80331904 0032E864 38 60 00 00 */ li r3, 0 +/* 80331908 0032E868 48 00 00 58 */ b lbl_80331960 +lbl_8033190C: +/* 8033190C 0032E86C 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 80331910 0032E870 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80331914 0032E874 40 82 00 18 */ bne lbl_8033192C +/* 80331918 0032E878 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8033191C 0032E87C 54 80 10 3A */ slwi r0, r4, 2 +/* 80331920 0032E880 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80331924 0032E884 D0 05 00 00 */ stfs f0, 0(r5) +/* 80331928 0032E888 48 00 00 34 */ b lbl_8033195C +lbl_8033192C: +/* 8033192C 0032E88C 38 04 00 01 */ addi r0, r4, 1 +/* 80331930 0032E890 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80331934 0032E894 54 03 10 3A */ slwi r3, r0, 2 +/* 80331938 0032E898 54 80 10 3A */ slwi r0, r4, 2 +/* 8033193C 0032E89C C0 6D A8 E8 */ lfs f3, lbl_805A94A8@sda21(r13) +/* 80331940 0032E8A0 C0 22 CB 18 */ lfs f1, lbl_805AE838@sda21(r2) +/* 80331944 0032E8A4 7C 06 1C 2E */ lfsx f0, r6, r3 +/* 80331948 0032E8A8 EC 41 18 28 */ fsubs f2, f1, f3 +/* 8033194C 0032E8AC 7C 26 04 2E */ lfsx f1, r6, r0 +/* 80331950 0032E8B0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80331954 0032E8B4 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80331958 0032E8B8 D0 05 00 00 */ stfs f0, 0(r5) +lbl_8033195C: +/* 8033195C 0032E8BC 38 60 00 00 */ li r3, 0 +lbl_80331960: +/* 80331960 0032E8C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331964 0032E8C4 4E 80 00 20 */ blr + +.global __dt__18CREKeyframeEmitter +__dt__18CREKeyframeEmitter: +/* 80331968 0032E8C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033196C 0032E8CC 7C 08 02 A6 */ mflr r0 +/* 80331970 0032E8D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331974 0032E8D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331978 0032E8D8 7C 9F 23 78 */ mr r31, r4 +/* 8033197C 0032E8DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80331980 0032E8E0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331984 0032E8E4 41 82 00 90 */ beq lbl_80331A14 +/* 80331988 0032E8E8 3C 60 80 3F */ lis r3, lbl_803EDFFC@ha +/* 8033198C 0032E8EC 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80331990 0032E8F0 38 03 DF FC */ addi r0, r3, lbl_803EDFFC@l +/* 80331994 0032E8F4 90 1E 00 00 */ stw r0, 0(r30) +/* 80331998 0032E8F8 41 82 00 44 */ beq lbl_803319DC +/* 8033199C 0032E8FC 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803319A0 0032E900 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803319A4 0032E904 54 00 10 3A */ slwi r0, r0, 2 +/* 803319A8 0032E908 7C 03 02 14 */ add r0, r3, r0 +/* 803319AC 0032E90C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803319B0 0032E910 7C 64 1B 78 */ mr r4, r3 +/* 803319B4 0032E914 90 01 00 14 */ stw r0, 0x14(r1) +/* 803319B8 0032E918 90 01 00 10 */ stw r0, 0x10(r1) +/* 803319BC 0032E91C 90 61 00 08 */ stw r3, 8(r1) +/* 803319C0 0032E920 48 00 00 08 */ b lbl_803319C8 +lbl_803319C4: +/* 803319C4 0032E924 38 84 00 04 */ addi r4, r4, 4 +lbl_803319C8: +/* 803319C8 0032E928 7C 04 00 40 */ cmplw r4, r0 +/* 803319CC 0032E92C 40 82 FF F8 */ bne lbl_803319C4 +/* 803319D0 0032E930 28 03 00 00 */ cmplwi r3, 0 +/* 803319D4 0032E934 41 82 00 08 */ beq lbl_803319DC +/* 803319D8 0032E938 4B FE 3F 59 */ bl Free__7CMemoryFPCv +lbl_803319DC: +/* 803319DC 0032E93C 28 1E 00 00 */ cmplwi r30, 0 +/* 803319E0 0032E940 41 82 00 20 */ beq lbl_80331A00 +/* 803319E4 0032E944 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803319E8 0032E948 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803319EC 0032E94C 90 1E 00 00 */ stw r0, 0(r30) +/* 803319F0 0032E950 41 82 00 10 */ beq lbl_80331A00 +/* 803319F4 0032E954 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803319F8 0032E958 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803319FC 0032E95C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331A00: +/* 80331A00 0032E960 7F E0 07 35 */ extsh. r0, r31 +/* 80331A04 0032E964 40 81 00 10 */ ble lbl_80331A14 +/* 80331A08 0032E968 7F C3 F3 78 */ mr r3, r30 +/* 80331A0C 0032E96C 38 80 00 28 */ li r4, 0x28 +/* 80331A10 0032E970 48 03 B0 55 */ bl sub_8036ca64 +lbl_80331A14: +/* 80331A14 0032E974 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331A18 0032E978 7F C3 F3 78 */ mr r3, r30 +/* 80331A1C 0032E97C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331A20 0032E980 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80331A24 0032E984 7C 08 03 A6 */ mtlr r0 +/* 80331A28 0032E988 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331A2C 0032E98C 4E 80 00 20 */ blr + +.global __ct__18CREKeyframeEmitterFR12CInputStream +__ct__18CREKeyframeEmitterFR12CInputStream: +/* 80331A30 0032E990 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331A34 0032E994 7C 08 02 A6 */ mflr r0 +/* 80331A38 0032E998 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80331A3C 0032E99C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331A40 0032E9A0 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80331A44 0032E9A4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80331A48 0032E9A8 7C 7F 1B 78 */ mr r31, r3 +/* 80331A4C 0032E9AC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331A50 0032E9B0 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80331A54 0032E9B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331A58 0032E9B8 3C 60 80 3F */ lis r3, lbl_803EDFFC@ha +/* 80331A5C 0032E9BC 7F E6 FB 78 */ mr r6, r31 +/* 80331A60 0032E9C0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80331A64 0032E9C4 93 81 00 08 */ stw r28, 8(r1) +/* 80331A68 0032E9C8 7C 9C 23 78 */ mr r28, r4 +/* 80331A6C 0032E9CC 90 1F 00 00 */ stw r0, 0(r31) +/* 80331A70 0032E9D0 38 05 C5 54 */ addi r0, r5, lbl_803EC554@l +/* 80331A74 0032E9D4 90 1F 00 00 */ stw r0, 0(r31) +/* 80331A78 0032E9D8 38 03 DF FC */ addi r0, r3, lbl_803EDFFC@l +/* 80331A7C 0032E9DC 7F 83 E3 78 */ mr r3, r28 +/* 80331A80 0032E9E0 90 1F 00 00 */ stw r0, 0(r31) +/* 80331A84 0032E9E4 48 00 D2 01 */ bl ReadLong__12CInputStreamFv +/* 80331A88 0032E9E8 90 7F 00 04 */ stw r3, 4(r31) +/* 80331A8C 0032E9EC 7F 83 E3 78 */ mr r3, r28 +/* 80331A90 0032E9F0 48 00 D1 F5 */ bl ReadLong__12CInputStreamFv +/* 80331A94 0032E9F4 90 7F 00 08 */ stw r3, 8(r31) +/* 80331A98 0032E9F8 7F 83 E3 78 */ mr r3, r28 +/* 80331A9C 0032E9FC 48 00 D2 41 */ bl ReadBool__12CInputStreamFv +/* 80331AA0 0032EA00 98 7F 00 0C */ stb r3, 0xc(r31) +/* 80331AA4 0032EA04 7F 83 E3 78 */ mr r3, r28 +/* 80331AA8 0032EA08 48 00 D2 35 */ bl ReadBool__12CInputStreamFv +/* 80331AAC 0032EA0C 98 7F 00 0D */ stb r3, 0xd(r31) +/* 80331AB0 0032EA10 7F 83 E3 78 */ mr r3, r28 +/* 80331AB4 0032EA14 48 00 D1 D1 */ bl ReadLong__12CInputStreamFv +/* 80331AB8 0032EA18 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80331ABC 0032EA1C 7F 83 E3 78 */ mr r3, r28 +/* 80331AC0 0032EA20 48 00 D1 C5 */ bl ReadLong__12CInputStreamFv +/* 80331AC4 0032EA24 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80331AC8 0032EA28 38 00 00 00 */ li r0, 0 +/* 80331ACC 0032EA2C 7F 83 E3 78 */ mr r3, r28 +/* 80331AD0 0032EA30 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80331AD4 0032EA34 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80331AD8 0032EA38 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80331ADC 0032EA3C 48 00 D1 A9 */ bl ReadLong__12CInputStreamFv +/* 80331AE0 0032EA40 7C 7D 1B 78 */ mr r29, r3 +/* 80331AE4 0032EA44 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80331AE8 0032EA48 7F A4 EB 78 */ mr r4, r29 +/* 80331AEC 0032EA4C 4B D2 C3 0D */ bl "reserve__Q24rstl36vectorFi" +/* 80331AF0 0032EA50 3B C0 00 00 */ li r30, 0 +/* 80331AF4 0032EA54 48 00 00 60 */ b lbl_80331B54 +lbl_80331AF8: +/* 80331AF8 0032EA58 7F 83 E3 78 */ mr r3, r28 +/* 80331AFC 0032EA5C 48 00 D1 2D */ bl ReadFloat__12CInputStreamFv +/* 80331B00 0032EA60 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80331B04 0032EA64 FF E0 08 90 */ fmr f31, f1 +/* 80331B08 0032EA68 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 80331B0C 0032EA6C 7C 00 28 00 */ cmpw r0, r5 +/* 80331B10 0032EA70 41 80 00 1C */ blt lbl_80331B2C +/* 80331B14 0032EA74 2C 05 00 00 */ cmpwi r5, 0 +/* 80331B18 0032EA78 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80331B1C 0032EA7C 38 80 00 04 */ li r4, 4 +/* 80331B20 0032EA80 41 82 00 08 */ beq lbl_80331B28 +/* 80331B24 0032EA84 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80331B28: +/* 80331B28 0032EA88 4B D2 C2 D1 */ bl "reserve__Q24rstl36vectorFi" +lbl_80331B2C: +/* 80331B2C 0032EA8C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80331B30 0032EA90 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80331B34 0032EA94 54 00 10 3A */ slwi r0, r0, 2 +/* 80331B38 0032EA98 7C 63 02 15 */ add. r3, r3, r0 +/* 80331B3C 0032EA9C 41 82 00 08 */ beq lbl_80331B44 +/* 80331B40 0032EAA0 D3 E3 00 00 */ stfs f31, 0(r3) +lbl_80331B44: +/* 80331B44 0032EAA4 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80331B48 0032EAA8 3B DE 00 01 */ addi r30, r30, 1 +/* 80331B4C 0032EAAC 38 03 00 01 */ addi r0, r3, 1 +/* 80331B50 0032EAB0 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80331B54: +/* 80331B54 0032EAB4 7C 1E E8 00 */ cmpw r30, r29 +/* 80331B58 0032EAB8 41 80 FF A0 */ blt lbl_80331AF8 +/* 80331B5C 0032EABC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331B60 0032EAC0 7F E3 FB 78 */ mr r3, r31 +/* 80331B64 0032EAC4 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80331B68 0032EAC8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80331B6C 0032EACC 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80331B70 0032EAD0 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80331B74 0032EAD4 83 81 00 08 */ lwz r28, 8(r1) +/* 80331B78 0032EAD8 7C 08 03 A6 */ mtlr r0 +/* 80331B7C 0032EADC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331B80 0032EAE0 4E 80 00 20 */ blr + +.global GetValue__16CRELifetimeTweenCFiRf +GetValue__16CRELifetimeTweenCFiRf: +/* 80331B84 0032EAE4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80331B88 0032EAE8 7C 08 02 A6 */ mflr r0 +/* 80331B8C 0032EAEC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80331B90 0032EAF0 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80331B94 0032EAF4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80331B98 0032EAF8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80331B9C 0032EAFC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80331BA0 0032EB00 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80331BA4 0032EB04 7C 9E 23 78 */ mr r30, r4 +/* 80331BA8 0032EB08 3C 00 43 30 */ lis r0, 0x4330 +/* 80331BAC 0032EB0C 6F C6 80 00 */ xoris r6, r30, 0x8000 +/* 80331BB0 0032EB10 7C 7D 1B 78 */ mr r29, r3 +/* 80331BB4 0032EB14 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80331BB8 0032EB18 7C BF 2B 78 */ mr r31, r5 +/* 80331BBC 0032EB1C 80 63 00 04 */ lwz r3, 4(r3) +/* 80331BC0 0032EB20 38 A1 00 0C */ addi r5, r1, 0xc +/* 80331BC4 0032EB24 90 01 00 10 */ stw r0, 0x10(r1) +/* 80331BC8 0032EB28 C8 42 CB 20 */ lfd f2, lbl_805AE840@sda21(r2) +/* 80331BCC 0032EB2C C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80331BD0 0032EB30 C0 0D A8 D4 */ lfs f0, lbl_805A9494@sda21(r13) +/* 80331BD4 0032EB34 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80331BD8 0032EB38 81 83 00 00 */ lwz r12, 0(r3) +/* 80331BDC 0032EB3C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331BE0 0032EB40 EF E1 00 24 */ fdivs f31, f1, f0 +/* 80331BE4 0032EB44 7D 89 03 A6 */ mtctr r12 +/* 80331BE8 0032EB48 4E 80 04 21 */ bctrl +/* 80331BEC 0032EB4C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80331BF0 0032EB50 7F C4 F3 78 */ mr r4, r30 +/* 80331BF4 0032EB54 38 A1 00 08 */ addi r5, r1, 8 +/* 80331BF8 0032EB58 81 83 00 00 */ lwz r12, 0(r3) +/* 80331BFC 0032EB5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331C00 0032EB60 7D 89 03 A6 */ mtctr r12 +/* 80331C04 0032EB64 4E 80 04 21 */ bctrl +/* 80331C08 0032EB68 C0 02 CB 18 */ lfs f0, lbl_805AE838@sda21(r2) +/* 80331C0C 0032EB6C 38 60 00 00 */ li r3, 0 +/* 80331C10 0032EB70 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80331C14 0032EB74 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80331C18 0032EB78 C0 41 00 08 */ lfs f2, 8(r1) +/* 80331C1C 0032EB7C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80331C20 0032EB80 EC 02 07 FA */ fmadds f0, f2, f31, f0 +/* 80331C24 0032EB84 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331C28 0032EB88 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80331C2C 0032EB8C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80331C30 0032EB90 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80331C34 0032EB94 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80331C38 0032EB98 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80331C3C 0032EB9C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80331C40 0032EBA0 7C 08 03 A6 */ mtlr r0 +/* 80331C44 0032EBA4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80331C48 0032EBA8 4E 80 00 20 */ blr + +.global __dt__16CRELifetimeTween +__dt__16CRELifetimeTween: +/* 80331C4C 0032EBAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331C50 0032EBB0 7C 08 02 A6 */ mflr r0 +/* 80331C54 0032EBB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331C58 0032EBB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331C5C 0032EBBC 7C 9F 23 78 */ mr r31, r4 +/* 80331C60 0032EBC0 93 C1 00 08 */ stw r30, 8(r1) +/* 80331C64 0032EBC4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331C68 0032EBC8 41 82 00 88 */ beq lbl_80331CF0 +/* 80331C6C 0032EBCC 3C 60 80 3F */ lis r3, lbl_803EE010@ha +/* 80331C70 0032EBD0 38 03 E0 10 */ addi r0, r3, lbl_803EE010@l +/* 80331C74 0032EBD4 90 1E 00 00 */ stw r0, 0(r30) +/* 80331C78 0032EBD8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331C7C 0032EBDC 28 03 00 00 */ cmplwi r3, 0 +/* 80331C80 0032EBE0 41 82 00 18 */ beq lbl_80331C98 +/* 80331C84 0032EBE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80331C88 0032EBE8 38 80 00 01 */ li r4, 1 +/* 80331C8C 0032EBEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331C90 0032EBF0 7D 89 03 A6 */ mtctr r12 +/* 80331C94 0032EBF4 4E 80 04 21 */ bctrl +lbl_80331C98: +/* 80331C98 0032EBF8 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331C9C 0032EBFC 28 03 00 00 */ cmplwi r3, 0 +/* 80331CA0 0032EC00 41 82 00 18 */ beq lbl_80331CB8 +/* 80331CA4 0032EC04 81 83 00 00 */ lwz r12, 0(r3) +/* 80331CA8 0032EC08 38 80 00 01 */ li r4, 1 +/* 80331CAC 0032EC0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331CB0 0032EC10 7D 89 03 A6 */ mtctr r12 +/* 80331CB4 0032EC14 4E 80 04 21 */ bctrl +lbl_80331CB8: +/* 80331CB8 0032EC18 28 1E 00 00 */ cmplwi r30, 0 +/* 80331CBC 0032EC1C 41 82 00 20 */ beq lbl_80331CDC +/* 80331CC0 0032EC20 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331CC4 0032EC24 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331CC8 0032EC28 90 1E 00 00 */ stw r0, 0(r30) +/* 80331CCC 0032EC2C 41 82 00 10 */ beq lbl_80331CDC +/* 80331CD0 0032EC30 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331CD4 0032EC34 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331CD8 0032EC38 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331CDC: +/* 80331CDC 0032EC3C 7F E0 07 35 */ extsh. r0, r31 +/* 80331CE0 0032EC40 40 81 00 10 */ ble lbl_80331CF0 +/* 80331CE4 0032EC44 7F C3 F3 78 */ mr r3, r30 +/* 80331CE8 0032EC48 38 80 00 0C */ li r4, 0xc +/* 80331CEC 0032EC4C 48 03 AD 79 */ bl sub_8036ca64 +lbl_80331CF0: +/* 80331CF0 0032EC50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331CF4 0032EC54 7F C3 F3 78 */ mr r3, r30 +/* 80331CF8 0032EC58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331CFC 0032EC5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331D00 0032EC60 7C 08 03 A6 */ mtlr r0 +/* 80331D04 0032EC64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331D08 0032EC68 4E 80 00 20 */ blr + +.global __ct__16CRELifetimeTweenFP12CRealElementP12CRealElement +__ct__16CRELifetimeTweenFP12CRealElementP12CRealElement: +/* 80331D0C 0032EC6C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80331D10 0032EC70 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80331D14 0032EC74 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80331D18 0032EC78 3C C0 80 3F */ lis r6, lbl_803EE010@ha +/* 80331D1C 0032EC7C 90 03 00 00 */ stw r0, 0(r3) +/* 80331D20 0032EC80 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80331D24 0032EC84 38 06 E0 10 */ addi r0, r6, lbl_803EE010@l +/* 80331D28 0032EC88 90 E3 00 00 */ stw r7, 0(r3) +/* 80331D2C 0032EC8C 90 03 00 00 */ stw r0, 0(r3) +/* 80331D30 0032EC90 90 83 00 04 */ stw r4, 4(r3) +/* 80331D34 0032EC94 90 A3 00 08 */ stw r5, 8(r3) +/* 80331D38 0032EC98 4E 80 00 20 */ blr + +.global GetValue__18CRELifetimePercentCFiRf +GetValue__18CRELifetimePercentCFiRf: +/* 80331D3C 0032EC9C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331D40 0032ECA0 7C 08 02 A6 */ mflr r0 +/* 80331D44 0032ECA4 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) +/* 80331D48 0032ECA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331D4C 0032ECAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331D50 0032ECB0 7C BF 2B 78 */ mr r31, r5 +/* 80331D54 0032ECB4 38 A1 00 08 */ addi r5, r1, 8 +/* 80331D58 0032ECB8 80 63 00 04 */ lwz r3, 4(r3) +/* 80331D5C 0032ECBC D0 01 00 08 */ stfs f0, 8(r1) +/* 80331D60 0032ECC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80331D64 0032ECC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331D68 0032ECC8 7D 89 03 A6 */ mtctr r12 +/* 80331D6C 0032ECCC 4E 80 04 21 */ bctrl +/* 80331D70 0032ECD0 C0 21 00 08 */ lfs f1, 8(r1) +/* 80331D74 0032ECD4 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) +/* 80331D78 0032ECD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80331D7C 0032ECDC 40 80 00 08 */ bge lbl_80331D84 +/* 80331D80 0032ECE0 D0 01 00 08 */ stfs f0, 8(r1) +lbl_80331D84: +/* 80331D84 0032ECE4 C0 41 00 08 */ lfs f2, 8(r1) +/* 80331D88 0032ECE8 38 60 00 00 */ li r3, 0 +/* 80331D8C 0032ECEC C0 22 CB 34 */ lfs f1, lbl_805AE854@sda21(r2) +/* 80331D90 0032ECF0 C0 0D A8 D4 */ lfs f0, lbl_805A9494@sda21(r13) +/* 80331D94 0032ECF4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80331D98 0032ECF8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80331D9C 0032ECFC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331DA0 0032ED00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331DA4 0032ED04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331DA8 0032ED08 7C 08 03 A6 */ mtlr r0 +/* 80331DAC 0032ED0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331DB0 0032ED10 4E 80 00 20 */ blr + +.global __dt__18CRELifetimePercent +__dt__18CRELifetimePercent: +/* 80331DB4 0032ED14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331DB8 0032ED18 7C 08 02 A6 */ mflr r0 +/* 80331DBC 0032ED1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331DC0 0032ED20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331DC4 0032ED24 7C 9F 23 78 */ mr r31, r4 +/* 80331DC8 0032ED28 93 C1 00 08 */ stw r30, 8(r1) +/* 80331DCC 0032ED2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331DD0 0032ED30 41 82 00 68 */ beq lbl_80331E38 +/* 80331DD4 0032ED34 3C 60 80 3F */ lis r3, lbl_803EE024@ha +/* 80331DD8 0032ED38 38 03 E0 24 */ addi r0, r3, lbl_803EE024@l +/* 80331DDC 0032ED3C 90 1E 00 00 */ stw r0, 0(r30) +/* 80331DE0 0032ED40 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331DE4 0032ED44 28 03 00 00 */ cmplwi r3, 0 +/* 80331DE8 0032ED48 41 82 00 18 */ beq lbl_80331E00 +/* 80331DEC 0032ED4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331DF0 0032ED50 38 80 00 01 */ li r4, 1 +/* 80331DF4 0032ED54 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331DF8 0032ED58 7D 89 03 A6 */ mtctr r12 +/* 80331DFC 0032ED5C 4E 80 04 21 */ bctrl +lbl_80331E00: +/* 80331E00 0032ED60 28 1E 00 00 */ cmplwi r30, 0 +/* 80331E04 0032ED64 41 82 00 20 */ beq lbl_80331E24 +/* 80331E08 0032ED68 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331E0C 0032ED6C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331E10 0032ED70 90 1E 00 00 */ stw r0, 0(r30) +/* 80331E14 0032ED74 41 82 00 10 */ beq lbl_80331E24 +/* 80331E18 0032ED78 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331E1C 0032ED7C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331E20 0032ED80 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331E24: +/* 80331E24 0032ED84 7F E0 07 35 */ extsh. r0, r31 +/* 80331E28 0032ED88 40 81 00 10 */ ble lbl_80331E38 +/* 80331E2C 0032ED8C 7F C3 F3 78 */ mr r3, r30 +/* 80331E30 0032ED90 38 80 00 08 */ li r4, 8 +/* 80331E34 0032ED94 48 03 AC 31 */ bl sub_8036ca64 +lbl_80331E38: +/* 80331E38 0032ED98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331E3C 0032ED9C 7F C3 F3 78 */ mr r3, r30 +/* 80331E40 0032EDA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331E44 0032EDA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331E48 0032EDA8 7C 08 03 A6 */ mtlr r0 +/* 80331E4C 0032EDAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331E50 0032EDB0 4E 80 00 20 */ blr + +.global __ct__18CRELifetimePercentFP12CRealElement +__ct__18CRELifetimePercentFP12CRealElement: +/* 80331E54 0032EDB4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80331E58 0032EDB8 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80331E5C 0032EDBC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331E60 0032EDC0 3C A0 80 3F */ lis r5, lbl_803EE024@ha +/* 80331E64 0032EDC4 90 03 00 00 */ stw r0, 0(r3) +/* 80331E68 0032EDC8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80331E6C 0032EDCC 38 05 E0 24 */ addi r0, r5, lbl_803EE024@l +/* 80331E70 0032EDD0 90 C3 00 00 */ stw r6, 0(r3) +/* 80331E74 0032EDD4 90 03 00 00 */ stw r0, 0(r3) +/* 80331E78 0032EDD8 90 83 00 04 */ stw r4, 4(r3) +/* 80331E7C 0032EDDC 4E 80 00 20 */ blr + +.global GetValue__8CREPulseCFiRf +GetValue__8CREPulseCFiRf: +/* 80331E80 0032EDE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331E84 0032EDE4 7C 08 02 A6 */ mflr r0 +/* 80331E88 0032EDE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331E8C 0032EDEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331E90 0032EDF0 7C BF 2B 78 */ mr r31, r5 +/* 80331E94 0032EDF4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80331E98 0032EDF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80331E9C 0032EDFC 7C 9E 23 78 */ mr r30, r4 +/* 80331EA0 0032EE00 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80331EA4 0032EE04 7C 7D 1B 78 */ mr r29, r3 +/* 80331EA8 0032EE08 80 63 00 04 */ lwz r3, 4(r3) +/* 80331EAC 0032EE0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331EB0 0032EE10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331EB4 0032EE14 7D 89 03 A6 */ mtctr r12 +/* 80331EB8 0032EE18 4E 80 04 21 */ bctrl +/* 80331EBC 0032EE1C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80331EC0 0032EE20 7F C4 F3 78 */ mr r4, r30 +/* 80331EC4 0032EE24 38 A1 00 08 */ addi r5, r1, 8 +/* 80331EC8 0032EE28 81 83 00 00 */ lwz r12, 0(r3) +/* 80331ECC 0032EE2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331ED0 0032EE30 7D 89 03 A6 */ mtctr r12 +/* 80331ED4 0032EE34 4E 80 04 21 */ bctrl +/* 80331ED8 0032EE38 80 61 00 08 */ lwz r3, 8(r1) +/* 80331EDC 0032EE3C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80331EE0 0032EE40 38 A3 00 01 */ addi r5, r3, 1 +/* 80331EE4 0032EE44 7C A4 2A 15 */ add. r5, r4, r5 +/* 80331EE8 0032EE48 40 80 00 08 */ bge lbl_80331EF0 +/* 80331EEC 0032EE4C 38 A0 00 01 */ li r5, 1 +lbl_80331EF0: +/* 80331EF0 0032EE50 2C 03 00 01 */ cmpwi r3, 1 +/* 80331EF4 0032EE54 41 80 00 58 */ blt lbl_80331F4C +/* 80331EF8 0032EE58 7C 1E 2B D6 */ divw r0, r30, r5 +/* 80331EFC 0032EE5C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80331F00 0032EE60 7C 00 F0 50 */ subf r0, r0, r30 +/* 80331F04 0032EE64 7C 00 20 00 */ cmpw r0, r4 +/* 80331F08 0032EE68 41 80 00 24 */ blt lbl_80331F2C +/* 80331F0C 0032EE6C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80331F10 0032EE70 7F C4 F3 78 */ mr r4, r30 +/* 80331F14 0032EE74 7F E5 FB 78 */ mr r5, r31 +/* 80331F18 0032EE78 81 83 00 00 */ lwz r12, 0(r3) +/* 80331F1C 0032EE7C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331F20 0032EE80 7D 89 03 A6 */ mtctr r12 +/* 80331F24 0032EE84 4E 80 04 21 */ bctrl +/* 80331F28 0032EE88 48 00 00 40 */ b lbl_80331F68 +lbl_80331F2C: +/* 80331F2C 0032EE8C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80331F30 0032EE90 7F C4 F3 78 */ mr r4, r30 +/* 80331F34 0032EE94 7F E5 FB 78 */ mr r5, r31 +/* 80331F38 0032EE98 81 83 00 00 */ lwz r12, 0(r3) +/* 80331F3C 0032EE9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331F40 0032EEA0 7D 89 03 A6 */ mtctr r12 +/* 80331F44 0032EEA4 4E 80 04 21 */ bctrl +/* 80331F48 0032EEA8 48 00 00 20 */ b lbl_80331F68 +lbl_80331F4C: +/* 80331F4C 0032EEAC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80331F50 0032EEB0 7F C4 F3 78 */ mr r4, r30 +/* 80331F54 0032EEB4 7F E5 FB 78 */ mr r5, r31 +/* 80331F58 0032EEB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80331F5C 0032EEBC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331F60 0032EEC0 7D 89 03 A6 */ mtctr r12 +/* 80331F64 0032EEC4 4E 80 04 21 */ bctrl +lbl_80331F68: +/* 80331F68 0032EEC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331F6C 0032EECC 38 60 00 00 */ li r3, 0 +/* 80331F70 0032EED0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331F74 0032EED4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80331F78 0032EED8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80331F7C 0032EEDC 7C 08 03 A6 */ mtlr r0 +/* 80331F80 0032EEE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331F84 0032EEE4 4E 80 00 20 */ blr + +.global __dt__8CREPulse +__dt__8CREPulse: +/* 80331F88 0032EEE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331F8C 0032EEEC 7C 08 02 A6 */ mflr r0 +/* 80331F90 0032EEF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331F94 0032EEF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331F98 0032EEF8 7C 9F 23 78 */ mr r31, r4 +/* 80331F9C 0032EEFC 93 C1 00 08 */ stw r30, 8(r1) +/* 80331FA0 0032EF00 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331FA4 0032EF04 41 82 00 C8 */ beq lbl_8033206C +/* 80331FA8 0032EF08 3C 60 80 3F */ lis r3, lbl_803EE038@ha +/* 80331FAC 0032EF0C 38 03 E0 38 */ addi r0, r3, lbl_803EE038@l +/* 80331FB0 0032EF10 90 1E 00 00 */ stw r0, 0(r30) +/* 80331FB4 0032EF14 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331FB8 0032EF18 28 03 00 00 */ cmplwi r3, 0 +/* 80331FBC 0032EF1C 41 82 00 18 */ beq lbl_80331FD4 +/* 80331FC0 0032EF20 81 83 00 00 */ lwz r12, 0(r3) +/* 80331FC4 0032EF24 38 80 00 01 */ li r4, 1 +/* 80331FC8 0032EF28 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331FCC 0032EF2C 7D 89 03 A6 */ mtctr r12 +/* 80331FD0 0032EF30 4E 80 04 21 */ bctrl +lbl_80331FD4: +/* 80331FD4 0032EF34 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331FD8 0032EF38 28 03 00 00 */ cmplwi r3, 0 +/* 80331FDC 0032EF3C 41 82 00 18 */ beq lbl_80331FF4 +/* 80331FE0 0032EF40 81 83 00 00 */ lwz r12, 0(r3) +/* 80331FE4 0032EF44 38 80 00 01 */ li r4, 1 +/* 80331FE8 0032EF48 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331FEC 0032EF4C 7D 89 03 A6 */ mtctr r12 +/* 80331FF0 0032EF50 4E 80 04 21 */ bctrl +lbl_80331FF4: +/* 80331FF4 0032EF54 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80331FF8 0032EF58 28 03 00 00 */ cmplwi r3, 0 +/* 80331FFC 0032EF5C 41 82 00 18 */ beq lbl_80332014 +/* 80332000 0032EF60 81 83 00 00 */ lwz r12, 0(r3) +/* 80332004 0032EF64 38 80 00 01 */ li r4, 1 +/* 80332008 0032EF68 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033200C 0032EF6C 7D 89 03 A6 */ mtctr r12 +/* 80332010 0032EF70 4E 80 04 21 */ bctrl +lbl_80332014: +/* 80332014 0032EF74 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80332018 0032EF78 28 03 00 00 */ cmplwi r3, 0 +/* 8033201C 0032EF7C 41 82 00 18 */ beq lbl_80332034 +/* 80332020 0032EF80 81 83 00 00 */ lwz r12, 0(r3) +/* 80332024 0032EF84 38 80 00 01 */ li r4, 1 +/* 80332028 0032EF88 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033202C 0032EF8C 7D 89 03 A6 */ mtctr r12 +/* 80332030 0032EF90 4E 80 04 21 */ bctrl +lbl_80332034: +/* 80332034 0032EF94 28 1E 00 00 */ cmplwi r30, 0 +/* 80332038 0032EF98 41 82 00 20 */ beq lbl_80332058 +/* 8033203C 0032EF9C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332040 0032EFA0 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332044 0032EFA4 90 1E 00 00 */ stw r0, 0(r30) +/* 80332048 0032EFA8 41 82 00 10 */ beq lbl_80332058 +/* 8033204C 0032EFAC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332050 0032EFB0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332054 0032EFB4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332058: +/* 80332058 0032EFB8 7F E0 07 35 */ extsh. r0, r31 +/* 8033205C 0032EFBC 40 81 00 10 */ ble lbl_8033206C +/* 80332060 0032EFC0 7F C3 F3 78 */ mr r3, r30 +/* 80332064 0032EFC4 38 80 00 14 */ li r4, 0x14 +/* 80332068 0032EFC8 48 03 A9 FD */ bl sub_8036ca64 +lbl_8033206C: +/* 8033206C 0032EFCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332070 0032EFD0 7F C3 F3 78 */ mr r3, r30 +/* 80332074 0032EFD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332078 0032EFD8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033207C 0032EFDC 7C 08 03 A6 */ mtlr r0 +/* 80332080 0032EFE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332084 0032EFE4 4E 80 00 20 */ blr + +.global __ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement +__ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement: +/* 80332088 0032EFE8 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 8033208C 0032EFEC 3D 20 80 3F */ lis r9, lbl_803EC554@ha +/* 80332090 0032EFF0 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80332094 0032EFF4 3D 00 80 3F */ lis r8, lbl_803EE038@ha +/* 80332098 0032EFF8 90 03 00 00 */ stw r0, 0(r3) +/* 8033209C 0032EFFC 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l +/* 803320A0 0032F000 38 08 E0 38 */ addi r0, r8, lbl_803EE038@l +/* 803320A4 0032F004 91 23 00 00 */ stw r9, 0(r3) +/* 803320A8 0032F008 90 03 00 00 */ stw r0, 0(r3) +/* 803320AC 0032F00C 90 83 00 04 */ stw r4, 4(r3) +/* 803320B0 0032F010 90 A3 00 08 */ stw r5, 8(r3) +/* 803320B4 0032F014 90 C3 00 0C */ stw r6, 0xc(r3) +/* 803320B8 0032F018 90 E3 00 10 */ stw r7, 0x10(r3) +/* 803320BC 0032F01C 4E 80 00 20 */ blr + +.global GetValue__8CREClampCFiRf +GetValue__8CREClampCFiRf: +/* 803320C0 0032F020 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803320C4 0032F024 7C 08 02 A6 */ mflr r0 +/* 803320C8 0032F028 90 01 00 24 */ stw r0, 0x24(r1) +/* 803320CC 0032F02C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803320D0 0032F030 7C BF 2B 78 */ mr r31, r5 +/* 803320D4 0032F034 38 A1 00 0C */ addi r5, r1, 0xc +/* 803320D8 0032F038 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803320DC 0032F03C 7C 9E 23 78 */ mr r30, r4 +/* 803320E0 0032F040 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803320E4 0032F044 7C 7D 1B 78 */ mr r29, r3 +/* 803320E8 0032F048 80 63 00 04 */ lwz r3, 4(r3) +/* 803320EC 0032F04C 81 83 00 00 */ lwz r12, 0(r3) +/* 803320F0 0032F050 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803320F4 0032F054 7D 89 03 A6 */ mtctr r12 +/* 803320F8 0032F058 4E 80 04 21 */ bctrl +/* 803320FC 0032F05C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332100 0032F060 7F C4 F3 78 */ mr r4, r30 +/* 80332104 0032F064 38 A1 00 08 */ addi r5, r1, 8 +/* 80332108 0032F068 81 83 00 00 */ lwz r12, 0(r3) +/* 8033210C 0032F06C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332110 0032F070 7D 89 03 A6 */ mtctr r12 +/* 80332114 0032F074 4E 80 04 21 */ bctrl +/* 80332118 0032F078 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8033211C 0032F07C 7F C4 F3 78 */ mr r4, r30 +/* 80332120 0032F080 7F E5 FB 78 */ mr r5, r31 +/* 80332124 0032F084 81 83 00 00 */ lwz r12, 0(r3) +/* 80332128 0032F088 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033212C 0032F08C 7D 89 03 A6 */ mtctr r12 +/* 80332130 0032F090 4E 80 04 21 */ bctrl +/* 80332134 0032F094 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80332138 0032F098 C0 21 00 08 */ lfs f1, 8(r1) +/* 8033213C 0032F09C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80332140 0032F0A0 40 81 00 08 */ ble lbl_80332148 +/* 80332144 0032F0A4 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_80332148: +/* 80332148 0032F0A8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8033214C 0032F0AC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332150 0032F0B0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80332154 0032F0B4 40 80 00 08 */ bge lbl_8033215C +/* 80332158 0032F0B8 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_8033215C: +/* 8033215C 0032F0BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332160 0032F0C0 38 60 00 00 */ li r3, 0 +/* 80332164 0032F0C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80332168 0032F0C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033216C 0032F0CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332170 0032F0D0 7C 08 03 A6 */ mtlr r0 +/* 80332174 0032F0D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80332178 0032F0D8 4E 80 00 20 */ blr + +.global __dt__8CREClamp +__dt__8CREClamp: +/* 8033217C 0032F0DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332180 0032F0E0 7C 08 02 A6 */ mflr r0 +/* 80332184 0032F0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332188 0032F0E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033218C 0032F0EC 7C 9F 23 78 */ mr r31, r4 +/* 80332190 0032F0F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80332194 0032F0F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332198 0032F0F8 41 82 00 A8 */ beq lbl_80332240 +/* 8033219C 0032F0FC 3C 60 80 3F */ lis r3, lbl_803EE04C@ha +/* 803321A0 0032F100 38 03 E0 4C */ addi r0, r3, lbl_803EE04C@l +/* 803321A4 0032F104 90 1E 00 00 */ stw r0, 0(r30) +/* 803321A8 0032F108 80 7E 00 04 */ lwz r3, 4(r30) +/* 803321AC 0032F10C 28 03 00 00 */ cmplwi r3, 0 +/* 803321B0 0032F110 41 82 00 18 */ beq lbl_803321C8 +/* 803321B4 0032F114 81 83 00 00 */ lwz r12, 0(r3) +/* 803321B8 0032F118 38 80 00 01 */ li r4, 1 +/* 803321BC 0032F11C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803321C0 0032F120 7D 89 03 A6 */ mtctr r12 +/* 803321C4 0032F124 4E 80 04 21 */ bctrl +lbl_803321C8: +/* 803321C8 0032F128 80 7E 00 08 */ lwz r3, 8(r30) +/* 803321CC 0032F12C 28 03 00 00 */ cmplwi r3, 0 +/* 803321D0 0032F130 41 82 00 18 */ beq lbl_803321E8 +/* 803321D4 0032F134 81 83 00 00 */ lwz r12, 0(r3) +/* 803321D8 0032F138 38 80 00 01 */ li r4, 1 +/* 803321DC 0032F13C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803321E0 0032F140 7D 89 03 A6 */ mtctr r12 +/* 803321E4 0032F144 4E 80 04 21 */ bctrl +lbl_803321E8: +/* 803321E8 0032F148 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803321EC 0032F14C 28 03 00 00 */ cmplwi r3, 0 +/* 803321F0 0032F150 41 82 00 18 */ beq lbl_80332208 +/* 803321F4 0032F154 81 83 00 00 */ lwz r12, 0(r3) +/* 803321F8 0032F158 38 80 00 01 */ li r4, 1 +/* 803321FC 0032F15C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332200 0032F160 7D 89 03 A6 */ mtctr r12 +/* 80332204 0032F164 4E 80 04 21 */ bctrl +lbl_80332208: +/* 80332208 0032F168 28 1E 00 00 */ cmplwi r30, 0 +/* 8033220C 0032F16C 41 82 00 20 */ beq lbl_8033222C +/* 80332210 0032F170 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332214 0032F174 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332218 0032F178 90 1E 00 00 */ stw r0, 0(r30) +/* 8033221C 0032F17C 41 82 00 10 */ beq lbl_8033222C +/* 80332220 0032F180 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332224 0032F184 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332228 0032F188 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033222C: +/* 8033222C 0032F18C 7F E0 07 35 */ extsh. r0, r31 +/* 80332230 0032F190 40 81 00 10 */ ble lbl_80332240 +/* 80332234 0032F194 7F C3 F3 78 */ mr r3, r30 +/* 80332238 0032F198 38 80 00 10 */ li r4, 0x10 +/* 8033223C 0032F19C 48 03 A8 29 */ bl sub_8036ca64 +lbl_80332240: +/* 80332240 0032F1A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332244 0032F1A4 7F C3 F3 78 */ mr r3, r30 +/* 80332248 0032F1A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033224C 0032F1AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332250 0032F1B0 7C 08 03 A6 */ mtlr r0 +/* 80332254 0032F1B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332258 0032F1B8 4E 80 00 20 */ blr + +.global __ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement +__ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement: +/* 8033225C 0032F1BC 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80332260 0032F1C0 3D 00 80 3F */ lis r8, lbl_803EC554@ha +/* 80332264 0032F1C4 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80332268 0032F1C8 3C E0 80 3F */ lis r7, lbl_803EE04C@ha +/* 8033226C 0032F1CC 90 03 00 00 */ stw r0, 0(r3) +/* 80332270 0032F1D0 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l +/* 80332274 0032F1D4 38 07 E0 4C */ addi r0, r7, lbl_803EE04C@l +/* 80332278 0032F1D8 91 03 00 00 */ stw r8, 0(r3) +/* 8033227C 0032F1DC 90 03 00 00 */ stw r0, 0(r3) +/* 80332280 0032F1E0 90 83 00 04 */ stw r4, 4(r3) +/* 80332284 0032F1E4 90 A3 00 08 */ stw r5, 8(r3) +/* 80332288 0032F1E8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8033228C 0032F1EC 4E 80 00 20 */ blr + +.global GetValue__12CRETimeChainCFiRf +GetValue__12CRETimeChainCFiRf: +/* 80332290 0032F1F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332294 0032F1F4 7C 08 02 A6 */ mflr r0 +/* 80332298 0032F1F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033229C 0032F1FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803322A0 0032F200 7C BF 2B 78 */ mr r31, r5 +/* 803322A4 0032F204 38 A1 00 08 */ addi r5, r1, 8 +/* 803322A8 0032F208 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803322AC 0032F20C 7C 9E 23 78 */ mr r30, r4 +/* 803322B0 0032F210 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803322B4 0032F214 7C 7D 1B 78 */ mr r29, r3 +/* 803322B8 0032F218 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803322BC 0032F21C 81 83 00 00 */ lwz r12, 0(r3) +/* 803322C0 0032F220 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803322C4 0032F224 7D 89 03 A6 */ mtctr r12 +/* 803322C8 0032F228 4E 80 04 21 */ bctrl +/* 803322CC 0032F22C 80 01 00 08 */ lwz r0, 8(r1) +/* 803322D0 0032F230 7C 1E 00 00 */ cmpw r30, r0 +/* 803322D4 0032F234 40 80 00 24 */ bge lbl_803322F8 +/* 803322D8 0032F238 80 7D 00 04 */ lwz r3, 4(r29) +/* 803322DC 0032F23C 7F C4 F3 78 */ mr r4, r30 +/* 803322E0 0032F240 7F E5 FB 78 */ mr r5, r31 +/* 803322E4 0032F244 81 83 00 00 */ lwz r12, 0(r3) +/* 803322E8 0032F248 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803322EC 0032F24C 7D 89 03 A6 */ mtctr r12 +/* 803322F0 0032F250 4E 80 04 21 */ bctrl +/* 803322F4 0032F254 48 00 00 20 */ b lbl_80332314 +lbl_803322F8: +/* 803322F8 0032F258 80 7D 00 08 */ lwz r3, 8(r29) +/* 803322FC 0032F25C 7F E5 FB 78 */ mr r5, r31 +/* 80332300 0032F260 7C 80 F0 50 */ subf r4, r0, r30 +/* 80332304 0032F264 81 83 00 00 */ lwz r12, 0(r3) +/* 80332308 0032F268 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033230C 0032F26C 7D 89 03 A6 */ mtctr r12 +/* 80332310 0032F270 4E 80 04 21 */ bctrl +lbl_80332314: +/* 80332314 0032F274 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332318 0032F278 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033231C 0032F27C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332320 0032F280 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332324 0032F284 7C 08 03 A6 */ mtlr r0 +/* 80332328 0032F288 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033232C 0032F28C 4E 80 00 20 */ blr + +.global __dt__12CRETimeChain +__dt__12CRETimeChain: +/* 80332330 0032F290 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332334 0032F294 7C 08 02 A6 */ mflr r0 +/* 80332338 0032F298 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033233C 0032F29C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332340 0032F2A0 7C 9F 23 78 */ mr r31, r4 +/* 80332344 0032F2A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80332348 0032F2A8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033234C 0032F2AC 41 82 00 A8 */ beq lbl_803323F4 +/* 80332350 0032F2B0 3C 60 80 3F */ lis r3, lbl_803EE060@ha +/* 80332354 0032F2B4 38 03 E0 60 */ addi r0, r3, lbl_803EE060@l +/* 80332358 0032F2B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033235C 0032F2BC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332360 0032F2C0 28 03 00 00 */ cmplwi r3, 0 +/* 80332364 0032F2C4 41 82 00 18 */ beq lbl_8033237C +/* 80332368 0032F2C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033236C 0032F2CC 38 80 00 01 */ li r4, 1 +/* 80332370 0032F2D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332374 0032F2D4 7D 89 03 A6 */ mtctr r12 +/* 80332378 0032F2D8 4E 80 04 21 */ bctrl +lbl_8033237C: +/* 8033237C 0032F2DC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332380 0032F2E0 28 03 00 00 */ cmplwi r3, 0 +/* 80332384 0032F2E4 41 82 00 18 */ beq lbl_8033239C +/* 80332388 0032F2E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033238C 0032F2EC 38 80 00 01 */ li r4, 1 +/* 80332390 0032F2F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332394 0032F2F4 7D 89 03 A6 */ mtctr r12 +/* 80332398 0032F2F8 4E 80 04 21 */ bctrl +lbl_8033239C: +/* 8033239C 0032F2FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803323A0 0032F300 28 03 00 00 */ cmplwi r3, 0 +/* 803323A4 0032F304 41 82 00 18 */ beq lbl_803323BC +/* 803323A8 0032F308 81 83 00 00 */ lwz r12, 0(r3) +/* 803323AC 0032F30C 38 80 00 01 */ li r4, 1 +/* 803323B0 0032F310 81 8C 00 08 */ lwz r12, 8(r12) +/* 803323B4 0032F314 7D 89 03 A6 */ mtctr r12 +/* 803323B8 0032F318 4E 80 04 21 */ bctrl +lbl_803323BC: +/* 803323BC 0032F31C 28 1E 00 00 */ cmplwi r30, 0 +/* 803323C0 0032F320 41 82 00 20 */ beq lbl_803323E0 +/* 803323C4 0032F324 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803323C8 0032F328 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803323CC 0032F32C 90 1E 00 00 */ stw r0, 0(r30) +/* 803323D0 0032F330 41 82 00 10 */ beq lbl_803323E0 +/* 803323D4 0032F334 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803323D8 0032F338 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803323DC 0032F33C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803323E0: +/* 803323E0 0032F340 7F E0 07 35 */ extsh. r0, r31 +/* 803323E4 0032F344 40 81 00 10 */ ble lbl_803323F4 +/* 803323E8 0032F348 7F C3 F3 78 */ mr r3, r30 +/* 803323EC 0032F34C 38 80 00 10 */ li r4, 0x10 +/* 803323F0 0032F350 48 03 A6 75 */ bl sub_8036ca64 +lbl_803323F4: +/* 803323F4 0032F354 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803323F8 0032F358 7F C3 F3 78 */ mr r3, r30 +/* 803323FC 0032F35C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332400 0032F360 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332404 0032F364 7C 08 03 A6 */ mtlr r0 +/* 80332408 0032F368 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033240C 0032F36C 4E 80 00 20 */ blr + +.global __ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement +__ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement: +/* 80332410 0032F370 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80332414 0032F374 3D 00 80 3F */ lis r8, lbl_803EC554@ha +/* 80332418 0032F378 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 8033241C 0032F37C 3C E0 80 3F */ lis r7, lbl_803EE060@ha +/* 80332420 0032F380 90 03 00 00 */ stw r0, 0(r3) +/* 80332424 0032F384 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l +/* 80332428 0032F388 38 07 E0 60 */ addi r0, r7, lbl_803EE060@l +/* 8033242C 0032F38C 91 03 00 00 */ stw r8, 0(r3) +/* 80332430 0032F390 90 03 00 00 */ stw r0, 0(r3) +/* 80332434 0032F394 90 83 00 04 */ stw r4, 4(r3) +/* 80332438 0032F398 90 A3 00 08 */ stw r5, 8(r3) +/* 8033243C 0032F39C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80332440 0032F3A0 4E 80 00 20 */ blr + +.global GetValue__16CREInitialRandomCFiRf +GetValue__16CREInitialRandomCFiRf: +/* 80332444 0032F3A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80332448 0032F3A8 7C 08 02 A6 */ mflr r0 +/* 8033244C 0032F3AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80332450 0032F3B0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80332454 0032F3B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80332458 0032F3B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033245C 0032F3BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332460 0032F3C0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80332464 0032F3C4 7C 9E 23 79 */ or. r30, r4, r4 +/* 80332468 0032F3C8 7C 7D 1B 78 */ mr r29, r3 +/* 8033246C 0032F3CC 7C BF 2B 78 */ mr r31, r5 +/* 80332470 0032F3D0 40 82 00 54 */ bne lbl_803324C4 +/* 80332474 0032F3D4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80332478 0032F3D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8033247C 0032F3DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80332480 0032F3E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332484 0032F3E4 7D 89 03 A6 */ mtctr r12 +/* 80332488 0032F3E8 4E 80 04 21 */ bctrl +/* 8033248C 0032F3EC 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332490 0032F3F0 7F C4 F3 78 */ mr r4, r30 +/* 80332494 0032F3F4 38 A1 00 08 */ addi r5, r1, 8 +/* 80332498 0032F3F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033249C 0032F3FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803324A0 0032F400 7D 89 03 A6 */ mtctr r12 +/* 803324A4 0032F404 4E 80 04 21 */ bctrl +/* 803324A8 0032F408 C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 803324AC 0032F40C 4B FE 01 51 */ bl GetRandomNumber__9CRandom16Fv +/* 803324B0 0032F410 4B FE 00 2D */ bl Float__9CRandom16Fv +/* 803324B4 0032F414 C0 01 00 08 */ lfs f0, 8(r1) +/* 803324B8 0032F418 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 803324BC 0032F41C EC 00 F8 7A */ fmadds f0, f0, f1, f31 +/* 803324C0 0032F420 D0 1F 00 00 */ stfs f0, 0(r31) +lbl_803324C4: +/* 803324C4 0032F424 38 60 00 00 */ li r3, 0 +/* 803324C8 0032F428 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 803324CC 0032F42C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803324D0 0032F430 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 803324D4 0032F434 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803324D8 0032F438 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803324DC 0032F43C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803324E0 0032F440 7C 08 03 A6 */ mtlr r0 +/* 803324E4 0032F444 38 21 00 30 */ addi r1, r1, 0x30 +/* 803324E8 0032F448 4E 80 00 20 */ blr + +.global __dt__16CREInitialRandom +__dt__16CREInitialRandom: +/* 803324EC 0032F44C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803324F0 0032F450 7C 08 02 A6 */ mflr r0 +/* 803324F4 0032F454 90 01 00 14 */ stw r0, 0x14(r1) +/* 803324F8 0032F458 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803324FC 0032F45C 7C 9F 23 78 */ mr r31, r4 +/* 80332500 0032F460 93 C1 00 08 */ stw r30, 8(r1) +/* 80332504 0032F464 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332508 0032F468 41 82 00 88 */ beq lbl_80332590 +/* 8033250C 0032F46C 3C 60 80 3F */ lis r3, lbl_803EE074@ha +/* 80332510 0032F470 38 03 E0 74 */ addi r0, r3, lbl_803EE074@l +/* 80332514 0032F474 90 1E 00 00 */ stw r0, 0(r30) +/* 80332518 0032F478 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033251C 0032F47C 28 03 00 00 */ cmplwi r3, 0 +/* 80332520 0032F480 41 82 00 18 */ beq lbl_80332538 +/* 80332524 0032F484 81 83 00 00 */ lwz r12, 0(r3) +/* 80332528 0032F488 38 80 00 01 */ li r4, 1 +/* 8033252C 0032F48C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332530 0032F490 7D 89 03 A6 */ mtctr r12 +/* 80332534 0032F494 4E 80 04 21 */ bctrl +lbl_80332538: +/* 80332538 0032F498 80 7E 00 08 */ lwz r3, 8(r30) +/* 8033253C 0032F49C 28 03 00 00 */ cmplwi r3, 0 +/* 80332540 0032F4A0 41 82 00 18 */ beq lbl_80332558 +/* 80332544 0032F4A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332548 0032F4A8 38 80 00 01 */ li r4, 1 +/* 8033254C 0032F4AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332550 0032F4B0 7D 89 03 A6 */ mtctr r12 +/* 80332554 0032F4B4 4E 80 04 21 */ bctrl +lbl_80332558: +/* 80332558 0032F4B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033255C 0032F4BC 41 82 00 20 */ beq lbl_8033257C +/* 80332560 0032F4C0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332564 0032F4C4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332568 0032F4C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033256C 0032F4CC 41 82 00 10 */ beq lbl_8033257C +/* 80332570 0032F4D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332574 0032F4D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332578 0032F4D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033257C: +/* 8033257C 0032F4DC 7F E0 07 35 */ extsh. r0, r31 +/* 80332580 0032F4E0 40 81 00 10 */ ble lbl_80332590 +/* 80332584 0032F4E4 7F C3 F3 78 */ mr r3, r30 +/* 80332588 0032F4E8 38 80 00 0C */ li r4, 0xc +/* 8033258C 0032F4EC 48 03 A4 D9 */ bl sub_8036ca64 +lbl_80332590: +/* 80332590 0032F4F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332594 0032F4F4 7F C3 F3 78 */ mr r3, r30 +/* 80332598 0032F4F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033259C 0032F4FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803325A0 0032F500 7C 08 03 A6 */ mtlr r0 +/* 803325A4 0032F504 38 21 00 10 */ addi r1, r1, 0x10 +/* 803325A8 0032F508 4E 80 00 20 */ blr + +.global __ct__16CREInitialRandomFC12CRealElementC12CRealElement +__ct__16CREInitialRandomFC12CRealElementC12CRealElement: +/* 803325AC 0032F50C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803325B0 0032F510 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 803325B4 0032F514 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803325B8 0032F518 3C C0 80 3F */ lis r6, lbl_803EE074@ha +/* 803325BC 0032F51C 90 03 00 00 */ stw r0, 0(r3) +/* 803325C0 0032F520 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 803325C4 0032F524 38 06 E0 74 */ addi r0, r6, lbl_803EE074@l +/* 803325C8 0032F528 90 E3 00 00 */ stw r7, 0(r3) +/* 803325CC 0032F52C 90 03 00 00 */ stw r0, 0(r3) +/* 803325D0 0032F530 90 83 00 04 */ stw r4, 4(r3) +/* 803325D4 0032F534 90 A3 00 08 */ stw r5, 8(r3) +/* 803325D8 0032F538 4E 80 00 20 */ blr + +.global GetValue__9CRERandomCFiRf +GetValue__9CRERandomCFiRf: +/* 803325DC 0032F53C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803325E0 0032F540 7C 08 02 A6 */ mflr r0 +/* 803325E4 0032F544 90 01 00 34 */ stw r0, 0x34(r1) +/* 803325E8 0032F548 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 803325EC 0032F54C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 803325F0 0032F550 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803325F4 0032F554 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803325F8 0032F558 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803325FC 0032F55C 7C 7D 1B 78 */ mr r29, r3 +/* 80332600 0032F560 7C BF 2B 78 */ mr r31, r5 +/* 80332604 0032F564 80 63 00 04 */ lwz r3, 4(r3) +/* 80332608 0032F568 7C 9E 23 78 */ mr r30, r4 +/* 8033260C 0032F56C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332610 0032F570 81 83 00 00 */ lwz r12, 0(r3) +/* 80332614 0032F574 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332618 0032F578 7D 89 03 A6 */ mtctr r12 +/* 8033261C 0032F57C 4E 80 04 21 */ bctrl +/* 80332620 0032F580 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332624 0032F584 7F C4 F3 78 */ mr r4, r30 +/* 80332628 0032F588 38 A1 00 08 */ addi r5, r1, 8 +/* 8033262C 0032F58C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332630 0032F590 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332634 0032F594 7D 89 03 A6 */ mtctr r12 +/* 80332638 0032F598 4E 80 04 21 */ bctrl +/* 8033263C 0032F59C C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 80332640 0032F5A0 4B FD FF BD */ bl GetRandomNumber__9CRandom16Fv +/* 80332644 0032F5A4 4B FD FE 99 */ bl Float__9CRandom16Fv +/* 80332648 0032F5A8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8033264C 0032F5AC 38 60 00 00 */ li r3, 0 +/* 80332650 0032F5B0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80332654 0032F5B4 EC 00 F8 7A */ fmadds f0, f0, f1, f31 +/* 80332658 0032F5B8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033265C 0032F5BC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80332660 0032F5C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80332664 0032F5C4 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80332668 0032F5C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033266C 0032F5CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332670 0032F5D0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332674 0032F5D4 7C 08 03 A6 */ mtlr r0 +/* 80332678 0032F5D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033267C 0032F5DC 4E 80 00 20 */ blr + +.global __dt__9CRERandomFv +__dt__9CRERandomFv: +/* 80332680 0032F5E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332684 0032F5E4 7C 08 02 A6 */ mflr r0 +/* 80332688 0032F5E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033268C 0032F5EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332690 0032F5F0 7C 9F 23 78 */ mr r31, r4 +/* 80332694 0032F5F4 93 C1 00 08 */ stw r30, 8(r1) +/* 80332698 0032F5F8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033269C 0032F5FC 41 82 00 88 */ beq lbl_80332724 +/* 803326A0 0032F600 3C 60 80 3F */ lis r3, lbl_803EE088@ha +/* 803326A4 0032F604 38 03 E0 88 */ addi r0, r3, lbl_803EE088@l +/* 803326A8 0032F608 90 1E 00 00 */ stw r0, 0(r30) +/* 803326AC 0032F60C 80 7E 00 04 */ lwz r3, 4(r30) +/* 803326B0 0032F610 28 03 00 00 */ cmplwi r3, 0 +/* 803326B4 0032F614 41 82 00 18 */ beq lbl_803326CC +/* 803326B8 0032F618 81 83 00 00 */ lwz r12, 0(r3) +/* 803326BC 0032F61C 38 80 00 01 */ li r4, 1 +/* 803326C0 0032F620 81 8C 00 08 */ lwz r12, 8(r12) +/* 803326C4 0032F624 7D 89 03 A6 */ mtctr r12 +/* 803326C8 0032F628 4E 80 04 21 */ bctrl +lbl_803326CC: +/* 803326CC 0032F62C 80 7E 00 08 */ lwz r3, 8(r30) +/* 803326D0 0032F630 28 03 00 00 */ cmplwi r3, 0 +/* 803326D4 0032F634 41 82 00 18 */ beq lbl_803326EC +/* 803326D8 0032F638 81 83 00 00 */ lwz r12, 0(r3) +/* 803326DC 0032F63C 38 80 00 01 */ li r4, 1 +/* 803326E0 0032F640 81 8C 00 08 */ lwz r12, 8(r12) +/* 803326E4 0032F644 7D 89 03 A6 */ mtctr r12 +/* 803326E8 0032F648 4E 80 04 21 */ bctrl +lbl_803326EC: +/* 803326EC 0032F64C 28 1E 00 00 */ cmplwi r30, 0 +/* 803326F0 0032F650 41 82 00 20 */ beq lbl_80332710 +/* 803326F4 0032F654 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803326F8 0032F658 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803326FC 0032F65C 90 1E 00 00 */ stw r0, 0(r30) +/* 80332700 0032F660 41 82 00 10 */ beq lbl_80332710 +/* 80332704 0032F664 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332708 0032F668 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033270C 0032F66C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332710: +/* 80332710 0032F670 7F E0 07 35 */ extsh. r0, r31 +/* 80332714 0032F674 40 81 00 10 */ ble lbl_80332724 +/* 80332718 0032F678 7F C3 F3 78 */ mr r3, r30 +/* 8033271C 0032F67C 38 80 00 0C */ li r4, 0xc +/* 80332720 0032F680 48 03 A3 45 */ bl sub_8036ca64 +lbl_80332724: +/* 80332724 0032F684 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332728 0032F688 7F C3 F3 78 */ mr r3, r30 +/* 8033272C 0032F68C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332730 0032F690 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332734 0032F694 7C 08 03 A6 */ mtlr r0 +/* 80332738 0032F698 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033273C 0032F69C 4E 80 00 20 */ blr + +.global __ct__9CRERandomFP12CRealElementP12CRealElement +__ct__9CRERandomFP12CRealElementP12CRealElement: +/* 80332740 0032F6A0 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332744 0032F6A4 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332748 0032F6A8 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8033274C 0032F6AC 3C C0 80 3F */ lis r6, lbl_803EE088@ha +/* 80332750 0032F6B0 90 03 00 00 */ stw r0, 0(r3) +/* 80332754 0032F6B4 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332758 0032F6B8 38 06 E0 88 */ addi r0, r6, lbl_803EE088@l +/* 8033275C 0032F6BC 90 E3 00 00 */ stw r7, 0(r3) +/* 80332760 0032F6C0 90 03 00 00 */ stw r0, 0(r3) +/* 80332764 0032F6C4 90 83 00 04 */ stw r4, 4(r3) +/* 80332768 0032F6C8 90 A3 00 08 */ stw r5, 8(r3) +/* 8033276C 0032F6CC 4E 80 00 20 */ blr + +.global GetValue__13CREDotProductCFiRf +GetValue__13CREDotProductCFiRf: +/* 80332770 0032F6D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80332774 0032F6D4 7C 08 02 A6 */ mflr r0 +/* 80332778 0032F6D8 3C C0 80 5A */ lis r6, skZero3f@ha +/* 8033277C 0032F6DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80332780 0032F6E0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80332784 0032F6E4 7C BF 2B 78 */ mr r31, r5 +/* 80332788 0032F6E8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8033278C 0032F6EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80332790 0032F6F0 7C 9E 23 78 */ mr r30, r4 +/* 80332794 0032F6F4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80332798 0032F6F8 7C 7D 1B 78 */ mr r29, r3 +/* 8033279C 0032F6FC 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 803327A0 0032F700 C0 03 00 00 */ lfs f0, 0(r3) +/* 803327A4 0032F704 C0 23 00 04 */ lfs f1, 4(r3) +/* 803327A8 0032F708 C0 43 00 08 */ lfs f2, 8(r3) +/* 803327AC 0032F70C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803327B0 0032F710 80 7D 00 04 */ lwz r3, 4(r29) +/* 803327B4 0032F714 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803327B8 0032F718 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803327BC 0032F71C D0 01 00 08 */ stfs f0, 8(r1) +/* 803327C0 0032F720 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803327C4 0032F724 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803327C8 0032F728 81 83 00 00 */ lwz r12, 0(r3) +/* 803327CC 0032F72C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803327D0 0032F730 7D 89 03 A6 */ mtctr r12 +/* 803327D4 0032F734 4E 80 04 21 */ bctrl +/* 803327D8 0032F738 80 7D 00 08 */ lwz r3, 8(r29) +/* 803327DC 0032F73C 7F C4 F3 78 */ mr r4, r30 +/* 803327E0 0032F740 38 A1 00 08 */ addi r5, r1, 8 +/* 803327E4 0032F744 81 83 00 00 */ lwz r12, 0(r3) +/* 803327E8 0032F748 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803327EC 0032F74C 7D 89 03 A6 */ mtctr r12 +/* 803327F0 0032F750 4E 80 04 21 */ bctrl +/* 803327F4 0032F754 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803327F8 0032F758 38 60 00 00 */ li r3, 0 +/* 803327FC 0032F75C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80332800 0032F760 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80332804 0032F764 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80332808 0032F768 C0 21 00 08 */ lfs f1, 8(r1) +/* 8033280C 0032F76C C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80332810 0032F770 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80332814 0032F774 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80332818 0032F778 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 8033281C 0032F77C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332820 0032F780 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80332824 0032F784 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80332828 0032F788 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033282C 0032F78C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80332830 0032F790 7C 08 03 A6 */ mtlr r0 +/* 80332834 0032F794 38 21 00 30 */ addi r1, r1, 0x30 +/* 80332838 0032F798 4E 80 00 20 */ blr + +.global __dt__13CREDotProduct +__dt__13CREDotProduct: +/* 8033283C 0032F79C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332840 0032F7A0 7C 08 02 A6 */ mflr r0 +/* 80332844 0032F7A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332848 0032F7A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033284C 0032F7AC 7C 9F 23 78 */ mr r31, r4 +/* 80332850 0032F7B0 93 C1 00 08 */ stw r30, 8(r1) +/* 80332854 0032F7B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332858 0032F7B8 41 82 00 88 */ beq lbl_803328E0 +/* 8033285C 0032F7BC 3C 60 80 3F */ lis r3, lbl_803EE09C@ha +/* 80332860 0032F7C0 38 03 E0 9C */ addi r0, r3, lbl_803EE09C@l +/* 80332864 0032F7C4 90 1E 00 00 */ stw r0, 0(r30) +/* 80332868 0032F7C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033286C 0032F7CC 28 03 00 00 */ cmplwi r3, 0 +/* 80332870 0032F7D0 41 82 00 18 */ beq lbl_80332888 +/* 80332874 0032F7D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332878 0032F7D8 38 80 00 01 */ li r4, 1 +/* 8033287C 0032F7DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332880 0032F7E0 7D 89 03 A6 */ mtctr r12 +/* 80332884 0032F7E4 4E 80 04 21 */ bctrl +lbl_80332888: +/* 80332888 0032F7E8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8033288C 0032F7EC 28 03 00 00 */ cmplwi r3, 0 +/* 80332890 0032F7F0 41 82 00 18 */ beq lbl_803328A8 +/* 80332894 0032F7F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332898 0032F7F8 38 80 00 01 */ li r4, 1 +/* 8033289C 0032F7FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803328A0 0032F800 7D 89 03 A6 */ mtctr r12 +/* 803328A4 0032F804 4E 80 04 21 */ bctrl +lbl_803328A8: +/* 803328A8 0032F808 28 1E 00 00 */ cmplwi r30, 0 +/* 803328AC 0032F80C 41 82 00 20 */ beq lbl_803328CC +/* 803328B0 0032F810 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803328B4 0032F814 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803328B8 0032F818 90 1E 00 00 */ stw r0, 0(r30) +/* 803328BC 0032F81C 41 82 00 10 */ beq lbl_803328CC +/* 803328C0 0032F820 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803328C4 0032F824 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803328C8 0032F828 90 1E 00 00 */ stw r0, 0(r30) +lbl_803328CC: +/* 803328CC 0032F82C 7F E0 07 35 */ extsh. r0, r31 +/* 803328D0 0032F830 40 81 00 10 */ ble lbl_803328E0 +/* 803328D4 0032F834 7F C3 F3 78 */ mr r3, r30 +/* 803328D8 0032F838 38 80 00 0C */ li r4, 0xc +/* 803328DC 0032F83C 48 03 A1 89 */ bl sub_8036ca64 +lbl_803328E0: +/* 803328E0 0032F840 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803328E4 0032F844 7F C3 F3 78 */ mr r3, r30 +/* 803328E8 0032F848 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803328EC 0032F84C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803328F0 0032F850 7C 08 03 A6 */ mtlr r0 +/* 803328F4 0032F854 38 21 00 10 */ addi r1, r1, 0x10 +/* 803328F8 0032F858 4E 80 00 20 */ blr + +.global __ct__13CREDotProductFP14CVectorElementP14CVectorElement +__ct__13CREDotProductFP14CVectorElementP14CVectorElement: +/* 803328FC 0032F85C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332900 0032F860 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332904 0032F864 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80332908 0032F868 3C C0 80 3F */ lis r6, lbl_803EE09C@ha +/* 8033290C 0032F86C 90 03 00 00 */ stw r0, 0(r3) +/* 80332910 0032F870 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332914 0032F874 38 06 E0 9C */ addi r0, r6, lbl_803EE09C@l +/* 80332918 0032F878 90 E3 00 00 */ stw r7, 0(r3) +/* 8033291C 0032F87C 90 03 00 00 */ stw r0, 0(r3) +/* 80332920 0032F880 90 83 00 04 */ stw r4, 4(r3) +/* 80332924 0032F884 90 A3 00 08 */ stw r5, 8(r3) +/* 80332928 0032F888 4E 80 00 20 */ blr + +.global GetValue__11CREMultiplyCFiRf +GetValue__11CREMultiplyCFiRf: +/* 8033292C 0032F88C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332930 0032F890 7C 08 02 A6 */ mflr r0 +/* 80332934 0032F894 90 01 00 24 */ stw r0, 0x24(r1) +/* 80332938 0032F898 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033293C 0032F89C 7C BF 2B 78 */ mr r31, r5 +/* 80332940 0032F8A0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332944 0032F8A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332948 0032F8A8 7C 9E 23 78 */ mr r30, r4 +/* 8033294C 0032F8AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80332950 0032F8B0 7C 7D 1B 78 */ mr r29, r3 +/* 80332954 0032F8B4 80 63 00 04 */ lwz r3, 4(r3) +/* 80332958 0032F8B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033295C 0032F8BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332960 0032F8C0 7D 89 03 A6 */ mtctr r12 +/* 80332964 0032F8C4 4E 80 04 21 */ bctrl +/* 80332968 0032F8C8 80 7D 00 08 */ lwz r3, 8(r29) +/* 8033296C 0032F8CC 7F C4 F3 78 */ mr r4, r30 +/* 80332970 0032F8D0 38 A1 00 08 */ addi r5, r1, 8 +/* 80332974 0032F8D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332978 0032F8D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033297C 0032F8DC 7D 89 03 A6 */ mtctr r12 +/* 80332980 0032F8E0 4E 80 04 21 */ bctrl +/* 80332984 0032F8E4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332988 0032F8E8 38 60 00 00 */ li r3, 0 +/* 8033298C 0032F8EC C0 01 00 08 */ lfs f0, 8(r1) +/* 80332990 0032F8F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80332994 0032F8F4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332998 0032F8F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033299C 0032F8FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803329A0 0032F900 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803329A4 0032F904 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803329A8 0032F908 7C 08 03 A6 */ mtlr r0 +/* 803329AC 0032F90C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803329B0 0032F910 4E 80 00 20 */ blr + +.global __dt__11CREMultiplyFv +__dt__11CREMultiplyFv: +/* 803329B4 0032F914 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803329B8 0032F918 7C 08 02 A6 */ mflr r0 +/* 803329BC 0032F91C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803329C0 0032F920 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803329C4 0032F924 7C 9F 23 78 */ mr r31, r4 +/* 803329C8 0032F928 93 C1 00 08 */ stw r30, 8(r1) +/* 803329CC 0032F92C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803329D0 0032F930 41 82 00 88 */ beq lbl_80332A58 +/* 803329D4 0032F934 3C 60 80 3F */ lis r3, lbl_803EE0B0@ha +/* 803329D8 0032F938 38 03 E0 B0 */ addi r0, r3, lbl_803EE0B0@l +/* 803329DC 0032F93C 90 1E 00 00 */ stw r0, 0(r30) +/* 803329E0 0032F940 80 7E 00 04 */ lwz r3, 4(r30) +/* 803329E4 0032F944 28 03 00 00 */ cmplwi r3, 0 +/* 803329E8 0032F948 41 82 00 18 */ beq lbl_80332A00 +/* 803329EC 0032F94C 81 83 00 00 */ lwz r12, 0(r3) +/* 803329F0 0032F950 38 80 00 01 */ li r4, 1 +/* 803329F4 0032F954 81 8C 00 08 */ lwz r12, 8(r12) +/* 803329F8 0032F958 7D 89 03 A6 */ mtctr r12 +/* 803329FC 0032F95C 4E 80 04 21 */ bctrl +lbl_80332A00: +/* 80332A00 0032F960 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332A04 0032F964 28 03 00 00 */ cmplwi r3, 0 +/* 80332A08 0032F968 41 82 00 18 */ beq lbl_80332A20 +/* 80332A0C 0032F96C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332A10 0032F970 38 80 00 01 */ li r4, 1 +/* 80332A14 0032F974 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332A18 0032F978 7D 89 03 A6 */ mtctr r12 +/* 80332A1C 0032F97C 4E 80 04 21 */ bctrl +lbl_80332A20: +/* 80332A20 0032F980 28 1E 00 00 */ cmplwi r30, 0 +/* 80332A24 0032F984 41 82 00 20 */ beq lbl_80332A44 +/* 80332A28 0032F988 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332A2C 0032F98C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332A30 0032F990 90 1E 00 00 */ stw r0, 0(r30) +/* 80332A34 0032F994 41 82 00 10 */ beq lbl_80332A44 +/* 80332A38 0032F998 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332A3C 0032F99C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332A40 0032F9A0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332A44: +/* 80332A44 0032F9A4 7F E0 07 35 */ extsh. r0, r31 +/* 80332A48 0032F9A8 40 81 00 10 */ ble lbl_80332A58 +/* 80332A4C 0032F9AC 7F C3 F3 78 */ mr r3, r30 +/* 80332A50 0032F9B0 38 80 00 0C */ li r4, 0xc +/* 80332A54 0032F9B4 48 03 A0 11 */ bl sub_8036ca64 +lbl_80332A58: +/* 80332A58 0032F9B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332A5C 0032F9BC 7F C3 F3 78 */ mr r3, r30 +/* 80332A60 0032F9C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332A64 0032F9C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332A68 0032F9C8 7C 08 03 A6 */ mtlr r0 +/* 80332A6C 0032F9CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332A70 0032F9D0 4E 80 00 20 */ blr + +.global __ct__11CREMultiplyFP12CRealElementP12CRealElement +__ct__11CREMultiplyFP12CRealElementP12CRealElement: +/* 80332A74 0032F9D4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332A78 0032F9D8 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332A7C 0032F9DC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80332A80 0032F9E0 3C C0 80 3F */ lis r6, lbl_803EE0B0@ha +/* 80332A84 0032F9E4 90 03 00 00 */ stw r0, 0(r3) +/* 80332A88 0032F9E8 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332A8C 0032F9EC 38 06 E0 B0 */ addi r0, r6, lbl_803EE0B0@l +/* 80332A90 0032F9F0 90 E3 00 00 */ stw r7, 0(r3) +/* 80332A94 0032F9F4 90 03 00 00 */ stw r0, 0(r3) +/* 80332A98 0032F9F8 90 83 00 04 */ stw r4, 4(r3) +/* 80332A9C 0032F9FC 90 A3 00 08 */ stw r5, 8(r3) +/* 80332AA0 0032FA00 4E 80 00 20 */ blr + +.global GetValue__6CREAddCFiRf +GetValue__6CREAddCFiRf: +/* 80332AA4 0032FA04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332AA8 0032FA08 7C 08 02 A6 */ mflr r0 +/* 80332AAC 0032FA0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80332AB0 0032FA10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80332AB4 0032FA14 7C BF 2B 78 */ mr r31, r5 +/* 80332AB8 0032FA18 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332ABC 0032FA1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332AC0 0032FA20 7C 9E 23 78 */ mr r30, r4 +/* 80332AC4 0032FA24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80332AC8 0032FA28 7C 7D 1B 78 */ mr r29, r3 +/* 80332ACC 0032FA2C 80 63 00 04 */ lwz r3, 4(r3) +/* 80332AD0 0032FA30 81 83 00 00 */ lwz r12, 0(r3) +/* 80332AD4 0032FA34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332AD8 0032FA38 7D 89 03 A6 */ mtctr r12 +/* 80332ADC 0032FA3C 4E 80 04 21 */ bctrl +/* 80332AE0 0032FA40 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332AE4 0032FA44 7F C4 F3 78 */ mr r4, r30 +/* 80332AE8 0032FA48 38 A1 00 08 */ addi r5, r1, 8 +/* 80332AEC 0032FA4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332AF0 0032FA50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332AF4 0032FA54 7D 89 03 A6 */ mtctr r12 +/* 80332AF8 0032FA58 4E 80 04 21 */ bctrl +/* 80332AFC 0032FA5C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332B00 0032FA60 38 60 00 00 */ li r3, 0 +/* 80332B04 0032FA64 C0 01 00 08 */ lfs f0, 8(r1) +/* 80332B08 0032FA68 EC 01 00 2A */ fadds f0, f1, f0 +/* 80332B0C 0032FA6C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332B10 0032FA70 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80332B14 0032FA74 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332B18 0032FA78 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332B1C 0032FA7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332B20 0032FA80 7C 08 03 A6 */ mtlr r0 +/* 80332B24 0032FA84 38 21 00 20 */ addi r1, r1, 0x20 +/* 80332B28 0032FA88 4E 80 00 20 */ blr + +.global __dt__6CREAddFv +__dt__6CREAddFv: +/* 80332B2C 0032FA8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332B30 0032FA90 7C 08 02 A6 */ mflr r0 +/* 80332B34 0032FA94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332B38 0032FA98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332B3C 0032FA9C 7C 9F 23 78 */ mr r31, r4 +/* 80332B40 0032FAA0 93 C1 00 08 */ stw r30, 8(r1) +/* 80332B44 0032FAA4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332B48 0032FAA8 41 82 00 88 */ beq lbl_80332BD0 +/* 80332B4C 0032FAAC 3C 60 80 3F */ lis r3, lbl_803EE0C4@ha +/* 80332B50 0032FAB0 38 03 E0 C4 */ addi r0, r3, lbl_803EE0C4@l +/* 80332B54 0032FAB4 90 1E 00 00 */ stw r0, 0(r30) +/* 80332B58 0032FAB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332B5C 0032FABC 28 03 00 00 */ cmplwi r3, 0 +/* 80332B60 0032FAC0 41 82 00 18 */ beq lbl_80332B78 +/* 80332B64 0032FAC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332B68 0032FAC8 38 80 00 01 */ li r4, 1 +/* 80332B6C 0032FACC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332B70 0032FAD0 7D 89 03 A6 */ mtctr r12 +/* 80332B74 0032FAD4 4E 80 04 21 */ bctrl +lbl_80332B78: +/* 80332B78 0032FAD8 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332B7C 0032FADC 28 03 00 00 */ cmplwi r3, 0 +/* 80332B80 0032FAE0 41 82 00 18 */ beq lbl_80332B98 +/* 80332B84 0032FAE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332B88 0032FAE8 38 80 00 01 */ li r4, 1 +/* 80332B8C 0032FAEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332B90 0032FAF0 7D 89 03 A6 */ mtctr r12 +/* 80332B94 0032FAF4 4E 80 04 21 */ bctrl +lbl_80332B98: +/* 80332B98 0032FAF8 28 1E 00 00 */ cmplwi r30, 0 +/* 80332B9C 0032FAFC 41 82 00 20 */ beq lbl_80332BBC +/* 80332BA0 0032FB00 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332BA4 0032FB04 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332BA8 0032FB08 90 1E 00 00 */ stw r0, 0(r30) +/* 80332BAC 0032FB0C 41 82 00 10 */ beq lbl_80332BBC +/* 80332BB0 0032FB10 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332BB4 0032FB14 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332BB8 0032FB18 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332BBC: +/* 80332BBC 0032FB1C 7F E0 07 35 */ extsh. r0, r31 +/* 80332BC0 0032FB20 40 81 00 10 */ ble lbl_80332BD0 +/* 80332BC4 0032FB24 7F C3 F3 78 */ mr r3, r30 +/* 80332BC8 0032FB28 38 80 00 0C */ li r4, 0xc +/* 80332BCC 0032FB2C 48 03 9E 99 */ bl sub_8036ca64 +lbl_80332BD0: +/* 80332BD0 0032FB30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332BD4 0032FB34 7F C3 F3 78 */ mr r3, r30 +/* 80332BD8 0032FB38 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332BDC 0032FB3C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332BE0 0032FB40 7C 08 03 A6 */ mtlr r0 +/* 80332BE4 0032FB44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332BE8 0032FB48 4E 80 00 20 */ blr + +.global __ct__6CREAddFP12CRealElementP12CRealElement +__ct__6CREAddFP12CRealElementP12CRealElement: +/* 80332BEC 0032FB4C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332BF0 0032FB50 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332BF4 0032FB54 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80332BF8 0032FB58 3C C0 80 3F */ lis r6, lbl_803EE0C4@ha +/* 80332BFC 0032FB5C 90 03 00 00 */ stw r0, 0(r3) +/* 80332C00 0032FB60 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332C04 0032FB64 38 06 E0 C4 */ addi r0, r6, lbl_803EE0C4@l +/* 80332C08 0032FB68 90 E3 00 00 */ stw r7, 0(r3) +/* 80332C0C 0032FB6C 90 03 00 00 */ stw r0, 0(r3) +/* 80332C10 0032FB70 90 83 00 04 */ stw r4, 4(r3) +/* 80332C14 0032FB74 90 A3 00 08 */ stw r5, 8(r3) +/* 80332C18 0032FB78 4E 80 00 20 */ blr + +.global GetValue__12CRETimeScaleCFiRf +GetValue__12CRETimeScaleCFiRf: +/* 80332C1C 0032FB7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332C20 0032FB80 7C 08 02 A6 */ mflr r0 +/* 80332C24 0032FB84 90 01 00 24 */ stw r0, 0x24(r1) +/* 80332C28 0032FB88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80332C2C 0032FB8C 7C BF 2B 78 */ mr r31, r5 +/* 80332C30 0032FB90 38 A1 00 08 */ addi r5, r1, 8 +/* 80332C34 0032FB94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332C38 0032FB98 7C 9E 23 78 */ mr r30, r4 +/* 80332C3C 0032FB9C 80 63 00 04 */ lwz r3, 4(r3) +/* 80332C40 0032FBA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80332C44 0032FBA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332C48 0032FBA8 7D 89 03 A6 */ mtctr r12 +/* 80332C4C 0032FBAC 4E 80 04 21 */ bctrl +/* 80332C50 0032FBB0 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80332C54 0032FBB4 3C 00 43 30 */ lis r0, 0x4330 +/* 80332C58 0032FBB8 90 61 00 14 */ stw r3, 0x14(r1) +/* 80332C5C 0032FBBC 38 60 00 00 */ li r3, 0 +/* 80332C60 0032FBC0 C8 42 CB 20 */ lfd f2, lbl_805AE840@sda21(r2) +/* 80332C64 0032FBC4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80332C68 0032FBC8 C0 01 00 08 */ lfs f0, 8(r1) +/* 80332C6C 0032FBCC C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80332C70 0032FBD0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80332C74 0032FBD4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80332C78 0032FBD8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332C7C 0032FBDC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80332C80 0032FBE0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332C84 0032FBE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332C88 0032FBE8 7C 08 03 A6 */ mtlr r0 +/* 80332C8C 0032FBEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80332C90 0032FBF0 4E 80 00 20 */ blr + +.global __dt__12CRETimeScaleFv +__dt__12CRETimeScaleFv: +/* 80332C94 0032FBF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332C98 0032FBF8 7C 08 02 A6 */ mflr r0 +/* 80332C9C 0032FBFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332CA0 0032FC00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332CA4 0032FC04 7C 9F 23 78 */ mr r31, r4 +/* 80332CA8 0032FC08 93 C1 00 08 */ stw r30, 8(r1) +/* 80332CAC 0032FC0C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332CB0 0032FC10 41 82 00 68 */ beq lbl_80332D18 +/* 80332CB4 0032FC14 3C 60 80 3F */ lis r3, lbl_803EE0D8@ha +/* 80332CB8 0032FC18 38 03 E0 D8 */ addi r0, r3, lbl_803EE0D8@l +/* 80332CBC 0032FC1C 90 1E 00 00 */ stw r0, 0(r30) +/* 80332CC0 0032FC20 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332CC4 0032FC24 28 03 00 00 */ cmplwi r3, 0 +/* 80332CC8 0032FC28 41 82 00 18 */ beq lbl_80332CE0 +/* 80332CCC 0032FC2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332CD0 0032FC30 38 80 00 01 */ li r4, 1 +/* 80332CD4 0032FC34 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332CD8 0032FC38 7D 89 03 A6 */ mtctr r12 +/* 80332CDC 0032FC3C 4E 80 04 21 */ bctrl +lbl_80332CE0: +/* 80332CE0 0032FC40 28 1E 00 00 */ cmplwi r30, 0 +/* 80332CE4 0032FC44 41 82 00 20 */ beq lbl_80332D04 +/* 80332CE8 0032FC48 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332CEC 0032FC4C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332CF0 0032FC50 90 1E 00 00 */ stw r0, 0(r30) +/* 80332CF4 0032FC54 41 82 00 10 */ beq lbl_80332D04 +/* 80332CF8 0032FC58 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332CFC 0032FC5C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332D00 0032FC60 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332D04: +/* 80332D04 0032FC64 7F E0 07 35 */ extsh. r0, r31 +/* 80332D08 0032FC68 40 81 00 10 */ ble lbl_80332D18 +/* 80332D0C 0032FC6C 7F C3 F3 78 */ mr r3, r30 +/* 80332D10 0032FC70 38 80 00 08 */ li r4, 8 +/* 80332D14 0032FC74 48 03 9D 51 */ bl sub_8036ca64 +lbl_80332D18: +/* 80332D18 0032FC78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332D1C 0032FC7C 7F C3 F3 78 */ mr r3, r30 +/* 80332D20 0032FC80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332D24 0032FC84 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332D28 0032FC88 7C 08 03 A6 */ mtlr r0 +/* 80332D2C 0032FC8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332D30 0032FC90 4E 80 00 20 */ blr + +.global __ct__12CRETimeScaleFP12CRealElement +__ct__12CRETimeScaleFP12CRealElement: +/* 80332D34 0032FC94 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80332D38 0032FC98 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80332D3C 0032FC9C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80332D40 0032FCA0 3C A0 80 3F */ lis r5, lbl_803EE0D8@ha +/* 80332D44 0032FCA4 90 03 00 00 */ stw r0, 0(r3) +/* 80332D48 0032FCA8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80332D4C 0032FCAC 38 05 E0 D8 */ addi r0, r5, lbl_803EE0D8@l +/* 80332D50 0032FCB0 90 C3 00 00 */ stw r6, 0(r3) +/* 80332D54 0032FCB4 90 03 00 00 */ stw r0, 0(r3) +/* 80332D58 0032FCB8 90 83 00 04 */ stw r4, 4(r3) +/* 80332D5C 0032FCBC 4E 80 00 20 */ blr + +.global GetValue__11CRESineWaveCFiRf +GetValue__11CRESineWaveCFiRf: +/* 80332D60 0032FCC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80332D64 0032FCC4 7C 08 02 A6 */ mflr r0 +/* 80332D68 0032FCC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80332D6C 0032FCCC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80332D70 0032FCD0 7C BF 2B 78 */ mr r31, r5 +/* 80332D74 0032FCD4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80332D78 0032FCD8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80332D7C 0032FCDC 7C 9E 23 78 */ mr r30, r4 +/* 80332D80 0032FCE0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80332D84 0032FCE4 7C 7D 1B 78 */ mr r29, r3 +/* 80332D88 0032FCE8 80 63 00 08 */ lwz r3, 8(r3) +/* 80332D8C 0032FCEC 81 83 00 00 */ lwz r12, 0(r3) +/* 80332D90 0032FCF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332D94 0032FCF4 7D 89 03 A6 */ mtctr r12 +/* 80332D98 0032FCF8 4E 80 04 21 */ bctrl +/* 80332D9C 0032FCFC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80332DA0 0032FD00 7F C4 F3 78 */ mr r4, r30 +/* 80332DA4 0032FD04 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332DA8 0032FD08 81 83 00 00 */ lwz r12, 0(r3) +/* 80332DAC 0032FD0C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332DB0 0032FD10 7D 89 03 A6 */ mtctr r12 +/* 80332DB4 0032FD14 4E 80 04 21 */ bctrl +/* 80332DB8 0032FD18 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80332DBC 0032FD1C 7F C4 F3 78 */ mr r4, r30 +/* 80332DC0 0032FD20 38 A1 00 08 */ addi r5, r1, 8 +/* 80332DC4 0032FD24 81 83 00 00 */ lwz r12, 0(r3) +/* 80332DC8 0032FD28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332DCC 0032FD2C 7D 89 03 A6 */ mtctr r12 +/* 80332DD0 0032FD30 4E 80 04 21 */ bctrl +/* 80332DD4 0032FD34 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80332DD8 0032FD38 3C 00 43 30 */ lis r0, 0x4330 +/* 80332DDC 0032FD3C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80332DE0 0032FD40 C8 62 CB 20 */ lfd f3, lbl_805AE840@sda21(r2) +/* 80332DE4 0032FD44 90 01 00 18 */ stw r0, 0x18(r1) +/* 80332DE8 0032FD48 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332DEC 0032FD4C C8 41 00 18 */ lfd f2, 0x18(r1) +/* 80332DF0 0032FD50 C0 01 00 08 */ lfs f0, 8(r1) +/* 80332DF4 0032FD54 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80332DF8 0032FD58 C0 62 CB 38 */ lfs f3, lbl_805AE858@sda21(r2) +/* 80332DFC 0032FD5C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80332E00 0032FD60 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80332E04 0032FD64 48 06 1C D9 */ bl sin +/* 80332E08 0032FD68 FC 20 08 18 */ frsp f1, f1 +/* 80332E0C 0032FD6C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80332E10 0032FD70 38 60 00 00 */ li r3, 0 +/* 80332E14 0032FD74 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80332E18 0032FD78 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332E1C 0032FD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80332E20 0032FD80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80332E24 0032FD84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80332E28 0032FD88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80332E2C 0032FD8C 7C 08 03 A6 */ mtlr r0 +/* 80332E30 0032FD90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80332E34 0032FD94 4E 80 00 20 */ blr + +.global __dt__11CRESineWaveFv +__dt__11CRESineWaveFv: +/* 80332E38 0032FD98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332E3C 0032FD9C 7C 08 02 A6 */ mflr r0 +/* 80332E40 0032FDA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332E44 0032FDA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332E48 0032FDA8 7C 9F 23 78 */ mr r31, r4 +/* 80332E4C 0032FDAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80332E50 0032FDB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332E54 0032FDB4 41 82 00 A8 */ beq lbl_80332EFC +/* 80332E58 0032FDB8 3C 60 80 3F */ lis r3, lbl_803EE0EC@ha +/* 80332E5C 0032FDBC 38 03 E0 EC */ addi r0, r3, lbl_803EE0EC@l +/* 80332E60 0032FDC0 90 1E 00 00 */ stw r0, 0(r30) +/* 80332E64 0032FDC4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332E68 0032FDC8 28 03 00 00 */ cmplwi r3, 0 +/* 80332E6C 0032FDCC 41 82 00 18 */ beq lbl_80332E84 +/* 80332E70 0032FDD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80332E74 0032FDD4 38 80 00 01 */ li r4, 1 +/* 80332E78 0032FDD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332E7C 0032FDDC 7D 89 03 A6 */ mtctr r12 +/* 80332E80 0032FDE0 4E 80 04 21 */ bctrl +lbl_80332E84: +/* 80332E84 0032FDE4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332E88 0032FDE8 28 03 00 00 */ cmplwi r3, 0 +/* 80332E8C 0032FDEC 41 82 00 18 */ beq lbl_80332EA4 +/* 80332E90 0032FDF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80332E94 0032FDF4 38 80 00 01 */ li r4, 1 +/* 80332E98 0032FDF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332E9C 0032FDFC 7D 89 03 A6 */ mtctr r12 +/* 80332EA0 0032FE00 4E 80 04 21 */ bctrl +lbl_80332EA4: +/* 80332EA4 0032FE04 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80332EA8 0032FE08 28 03 00 00 */ cmplwi r3, 0 +/* 80332EAC 0032FE0C 41 82 00 18 */ beq lbl_80332EC4 +/* 80332EB0 0032FE10 81 83 00 00 */ lwz r12, 0(r3) +/* 80332EB4 0032FE14 38 80 00 01 */ li r4, 1 +/* 80332EB8 0032FE18 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332EBC 0032FE1C 7D 89 03 A6 */ mtctr r12 +/* 80332EC0 0032FE20 4E 80 04 21 */ bctrl +lbl_80332EC4: +/* 80332EC4 0032FE24 28 1E 00 00 */ cmplwi r30, 0 +/* 80332EC8 0032FE28 41 82 00 20 */ beq lbl_80332EE8 +/* 80332ECC 0032FE2C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332ED0 0032FE30 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332ED4 0032FE34 90 1E 00 00 */ stw r0, 0(r30) +/* 80332ED8 0032FE38 41 82 00 10 */ beq lbl_80332EE8 +/* 80332EDC 0032FE3C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332EE0 0032FE40 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332EE4 0032FE44 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332EE8: +/* 80332EE8 0032FE48 7F E0 07 35 */ extsh. r0, r31 +/* 80332EEC 0032FE4C 40 81 00 10 */ ble lbl_80332EFC +/* 80332EF0 0032FE50 7F C3 F3 78 */ mr r3, r30 +/* 80332EF4 0032FE54 38 80 00 10 */ li r4, 0x10 +/* 80332EF8 0032FE58 48 03 9B 6D */ bl sub_8036ca64 +lbl_80332EFC: +/* 80332EFC 0032FE5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332F00 0032FE60 7F C3 F3 78 */ mr r3, r30 +/* 80332F04 0032FE64 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332F08 0032FE68 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332F0C 0032FE6C 7C 08 03 A6 */ mtlr r0 +/* 80332F10 0032FE70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332F14 0032FE74 4E 80 00 20 */ blr + +.global __ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement +__ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement: +/* 80332F18 0032FE78 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80332F1C 0032FE7C 3D 00 80 3F */ lis r8, lbl_803EC554@ha +/* 80332F20 0032FE80 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80332F24 0032FE84 3C E0 80 3F */ lis r7, lbl_803EE0EC@ha +/* 80332F28 0032FE88 90 03 00 00 */ stw r0, 0(r3) +/* 80332F2C 0032FE8C 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l +/* 80332F30 0032FE90 38 07 E0 EC */ addi r0, r7, lbl_803EE0EC@l +/* 80332F34 0032FE94 91 03 00 00 */ stw r8, 0(r3) +/* 80332F38 0032FE98 90 03 00 00 */ stw r0, 0(r3) +/* 80332F3C 0032FE9C 90 A3 00 04 */ stw r5, 4(r3) +/* 80332F40 0032FEA0 90 C3 00 08 */ stw r6, 8(r3) +/* 80332F44 0032FEA4 90 83 00 0C */ stw r4, 0xc(r3) +/* 80332F48 0032FEA8 4E 80 00 20 */ blr + +.global GetValue__11CREConstantCFiRf +GetValue__11CREConstantCFiRf: +/* 80332F4C 0032FEAC C0 03 00 04 */ lfs f0, 4(r3) +/* 80332F50 0032FEB0 38 60 00 00 */ li r3, 0 +/* 80332F54 0032FEB4 D0 05 00 00 */ stfs f0, 0(r5) +/* 80332F58 0032FEB8 4E 80 00 20 */ blr + +.global __dt__11CREConstantFv +__dt__11CREConstantFv: +/* 80332F5C 0032FEBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332F60 0032FEC0 7C 08 02 A6 */ mflr r0 +/* 80332F64 0032FEC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332F68 0032FEC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332F6C 0032FECC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80332F70 0032FED0 41 82 00 44 */ beq lbl_80332FB4 +/* 80332F74 0032FED4 3C 60 80 3F */ lis r3, lbl_803EE100@ha +/* 80332F78 0032FED8 38 03 E1 00 */ addi r0, r3, lbl_803EE100@l +/* 80332F7C 0032FEDC 90 1F 00 00 */ stw r0, 0(r31) +/* 80332F80 0032FEE0 41 82 00 20 */ beq lbl_80332FA0 +/* 80332F84 0032FEE4 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332F88 0032FEE8 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332F8C 0032FEEC 90 1F 00 00 */ stw r0, 0(r31) +/* 80332F90 0032FEF0 41 82 00 10 */ beq lbl_80332FA0 +/* 80332F94 0032FEF4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332F98 0032FEF8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332F9C 0032FEFC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80332FA0: +/* 80332FA0 0032FF00 7C 80 07 35 */ extsh. r0, r4 +/* 80332FA4 0032FF04 40 81 00 10 */ ble lbl_80332FB4 +/* 80332FA8 0032FF08 7F E3 FB 78 */ mr r3, r31 +/* 80332FAC 0032FF0C 38 80 00 08 */ li r4, 8 +/* 80332FB0 0032FF10 48 03 9A B5 */ bl sub_8036ca64 +lbl_80332FB4: +/* 80332FB4 0032FF14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332FB8 0032FF18 7F E3 FB 78 */ mr r3, r31 +/* 80332FBC 0032FF1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332FC0 0032FF20 7C 08 03 A6 */ mtlr r0 +/* 80332FC4 0032FF24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332FC8 0032FF28 4E 80 00 20 */ blr + +.global __ct__11CREConstantFf +__ct__11CREConstantFf: +/* 80332FCC 0032FF2C 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 80332FD0 0032FF30 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80332FD4 0032FF34 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 80332FD8 0032FF38 3C 80 80 3F */ lis r4, lbl_803EE100@ha +/* 80332FDC 0032FF3C 90 03 00 00 */ stw r0, 0(r3) +/* 80332FE0 0032FF40 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80332FE4 0032FF44 38 04 E1 00 */ addi r0, r4, lbl_803EE100@l +/* 80332FE8 0032FF48 90 A3 00 00 */ stw r5, 0(r3) +/* 80332FEC 0032FF4C 90 03 00 00 */ stw r0, 0(r3) +/* 80332FF0 0032FF50 D0 23 00 04 */ stfs f1, 4(r3) +/* 80332FF4 0032FF54 4E 80 00 20 */ blr + +.global __dt__7CREPRLW +__dt__7CREPRLW: +/* 80332FF8 0032FF58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332FFC 0032FF5C 7C 08 02 A6 */ mflr r0 +/* 80333000 0032FF60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333004 0032FF64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333008 0032FF68 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033300C 0032FF6C 41 82 00 44 */ beq lbl_80333050 +/* 80333010 0032FF70 3C 60 80 3F */ lis r3, lbl_803EDF34@ha +/* 80333014 0032FF74 38 03 DF 34 */ addi r0, r3, lbl_803EDF34@l +/* 80333018 0032FF78 90 1F 00 00 */ stw r0, 0(r31) +/* 8033301C 0032FF7C 41 82 00 20 */ beq lbl_8033303C +/* 80333020 0032FF80 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333024 0032FF84 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333028 0032FF88 90 1F 00 00 */ stw r0, 0(r31) +/* 8033302C 0032FF8C 41 82 00 10 */ beq lbl_8033303C +/* 80333030 0032FF90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333034 0032FF94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333038 0032FF98 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033303C: +/* 8033303C 0032FF9C 7C 80 07 35 */ extsh. r0, r4 +/* 80333040 0032FFA0 40 81 00 10 */ ble lbl_80333050 +/* 80333044 0032FFA4 7F E3 FB 78 */ mr r3, r31 +/* 80333048 0032FFA8 38 80 00 04 */ li r4, 4 +/* 8033304C 0032FFAC 48 03 9A 19 */ bl sub_8036ca64 +lbl_80333050: +/* 80333050 0032FFB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333054 0032FFB4 7F E3 FB 78 */ mr r3, r31 +/* 80333058 0032FFB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033305C 0032FFBC 7C 08 03 A6 */ mtlr r0 +/* 80333060 0032FFC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333064 0032FFC4 4E 80 00 20 */ blr + +.global __dt__7CREPSLL +__dt__7CREPSLL: +/* 80333068 0032FFC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033306C 0032FFCC 7C 08 02 A6 */ mflr r0 +/* 80333070 0032FFD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333074 0032FFD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333078 0032FFD8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033307C 0032FFDC 41 82 00 44 */ beq lbl_803330C0 +/* 80333080 0032FFE0 3C 60 80 3F */ lis r3, lbl_803EDF48@ha +/* 80333084 0032FFE4 38 03 DF 48 */ addi r0, r3, lbl_803EDF48@l +/* 80333088 0032FFE8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033308C 0032FFEC 41 82 00 20 */ beq lbl_803330AC +/* 80333090 0032FFF0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333094 0032FFF4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333098 0032FFF8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033309C 0032FFFC 41 82 00 10 */ beq lbl_803330AC +/* 803330A0 00330000 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803330A4 00330004 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803330A8 00330008 90 1F 00 00 */ stw r0, 0(r31) +lbl_803330AC: +/* 803330AC 0033000C 7C 80 07 35 */ extsh. r0, r4 +/* 803330B0 00330010 40 81 00 10 */ ble lbl_803330C0 +/* 803330B4 00330014 7F E3 FB 78 */ mr r3, r31 +/* 803330B8 00330018 38 80 00 04 */ li r4, 4 +/* 803330BC 0033001C 48 03 99 A9 */ bl sub_8036ca64 +lbl_803330C0: +/* 803330C0 00330020 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803330C4 00330024 7F E3 FB 78 */ mr r3, r31 +/* 803330C8 00330028 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803330CC 0033002C 7C 08 03 A6 */ mtlr r0 +/* 803330D0 00330030 38 21 00 10 */ addi r1, r1, 0x10 +/* 803330D4 00330034 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter8 +__dt__27CREParticleAccessParameter8: +/* 803330D8 00330038 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803330DC 0033003C 7C 08 02 A6 */ mflr r0 +/* 803330E0 00330040 90 01 00 14 */ stw r0, 0x14(r1) +/* 803330E4 00330044 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803330E8 00330048 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803330EC 0033004C 41 82 00 44 */ beq lbl_80333130 +/* 803330F0 00330050 3C 60 80 3F */ lis r3, lbl_803EDF5C@ha +/* 803330F4 00330054 38 03 DF 5C */ addi r0, r3, lbl_803EDF5C@l +/* 803330F8 00330058 90 1F 00 00 */ stw r0, 0(r31) +/* 803330FC 0033005C 41 82 00 20 */ beq lbl_8033311C +/* 80333100 00330060 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333104 00330064 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333108 00330068 90 1F 00 00 */ stw r0, 0(r31) +/* 8033310C 0033006C 41 82 00 10 */ beq lbl_8033311C +/* 80333110 00330070 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333114 00330074 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333118 00330078 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033311C: +/* 8033311C 0033007C 7C 80 07 35 */ extsh. r0, r4 +/* 80333120 00330080 40 81 00 10 */ ble lbl_80333130 +/* 80333124 00330084 7F E3 FB 78 */ mr r3, r31 +/* 80333128 00330088 38 80 00 04 */ li r4, 4 +/* 8033312C 0033008C 48 03 99 39 */ bl sub_8036ca64 +lbl_80333130: +/* 80333130 00330090 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333134 00330094 7F E3 FB 78 */ mr r3, r31 +/* 80333138 00330098 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033313C 0033009C 7C 08 03 A6 */ mtlr r0 +/* 80333140 003300A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333144 003300A4 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter7 +__dt__27CREParticleAccessParameter7: +/* 80333148 003300A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033314C 003300AC 7C 08 02 A6 */ mflr r0 +/* 80333150 003300B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333154 003300B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333158 003300B8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033315C 003300BC 41 82 00 44 */ beq lbl_803331A0 +/* 80333160 003300C0 3C 60 80 3F */ lis r3, lbl_803EDF70@ha +/* 80333164 003300C4 38 03 DF 70 */ addi r0, r3, lbl_803EDF70@l +/* 80333168 003300C8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033316C 003300CC 41 82 00 20 */ beq lbl_8033318C +/* 80333170 003300D0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333174 003300D4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333178 003300D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033317C 003300DC 41 82 00 10 */ beq lbl_8033318C +/* 80333180 003300E0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333184 003300E4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333188 003300E8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033318C: +/* 8033318C 003300EC 7C 80 07 35 */ extsh. r0, r4 +/* 80333190 003300F0 40 81 00 10 */ ble lbl_803331A0 +/* 80333194 003300F4 7F E3 FB 78 */ mr r3, r31 +/* 80333198 003300F8 38 80 00 04 */ li r4, 4 +/* 8033319C 003300FC 48 03 98 C9 */ bl sub_8036ca64 +lbl_803331A0: +/* 803331A0 00330100 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803331A4 00330104 7F E3 FB 78 */ mr r3, r31 +/* 803331A8 00330108 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803331AC 0033010C 7C 08 03 A6 */ mtlr r0 +/* 803331B0 00330110 38 21 00 10 */ addi r1, r1, 0x10 +/* 803331B4 00330114 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter6 +__dt__27CREParticleAccessParameter6: +/* 803331B8 00330118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803331BC 0033011C 7C 08 02 A6 */ mflr r0 +/* 803331C0 00330120 90 01 00 14 */ stw r0, 0x14(r1) +/* 803331C4 00330124 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803331C8 00330128 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803331CC 0033012C 41 82 00 44 */ beq lbl_80333210 +/* 803331D0 00330130 3C 60 80 3F */ lis r3, lbl_803EDF84@ha +/* 803331D4 00330134 38 03 DF 84 */ addi r0, r3, lbl_803EDF84@l +/* 803331D8 00330138 90 1F 00 00 */ stw r0, 0(r31) +/* 803331DC 0033013C 41 82 00 20 */ beq lbl_803331FC +/* 803331E0 00330140 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803331E4 00330144 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803331E8 00330148 90 1F 00 00 */ stw r0, 0(r31) +/* 803331EC 0033014C 41 82 00 10 */ beq lbl_803331FC +/* 803331F0 00330150 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803331F4 00330154 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803331F8 00330158 90 1F 00 00 */ stw r0, 0(r31) +lbl_803331FC: +/* 803331FC 0033015C 7C 80 07 35 */ extsh. r0, r4 +/* 80333200 00330160 40 81 00 10 */ ble lbl_80333210 +/* 80333204 00330164 7F E3 FB 78 */ mr r3, r31 +/* 80333208 00330168 38 80 00 04 */ li r4, 4 +/* 8033320C 0033016C 48 03 98 59 */ bl sub_8036ca64 +lbl_80333210: +/* 80333210 00330170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333214 00330174 7F E3 FB 78 */ mr r3, r31 +/* 80333218 00330178 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033321C 0033017C 7C 08 03 A6 */ mtlr r0 +/* 80333220 00330180 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333224 00330184 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter5 +__dt__27CREParticleAccessParameter5: +/* 80333228 00330188 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033322C 0033018C 7C 08 02 A6 */ mflr r0 +/* 80333230 00330190 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333234 00330194 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333238 00330198 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033323C 0033019C 41 82 00 44 */ beq lbl_80333280 +/* 80333240 003301A0 3C 60 80 3F */ lis r3, lbl_803EDF98@ha +/* 80333244 003301A4 38 03 DF 98 */ addi r0, r3, lbl_803EDF98@l +/* 80333248 003301A8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033324C 003301AC 41 82 00 20 */ beq lbl_8033326C +/* 80333250 003301B0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333254 003301B4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333258 003301B8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033325C 003301BC 41 82 00 10 */ beq lbl_8033326C +/* 80333260 003301C0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333264 003301C4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333268 003301C8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033326C: +/* 8033326C 003301CC 7C 80 07 35 */ extsh. r0, r4 +/* 80333270 003301D0 40 81 00 10 */ ble lbl_80333280 +/* 80333274 003301D4 7F E3 FB 78 */ mr r3, r31 +/* 80333278 003301D8 38 80 00 04 */ li r4, 4 +/* 8033327C 003301DC 48 03 97 E9 */ bl sub_8036ca64 +lbl_80333280: +/* 80333280 003301E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333284 003301E4 7F E3 FB 78 */ mr r3, r31 +/* 80333288 003301E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033328C 003301EC 7C 08 03 A6 */ mtlr r0 +/* 80333290 003301F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333294 003301F4 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter4 +__dt__27CREParticleAccessParameter4: +/* 80333298 003301F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033329C 003301FC 7C 08 02 A6 */ mflr r0 +/* 803332A0 00330200 90 01 00 14 */ stw r0, 0x14(r1) +/* 803332A4 00330204 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803332A8 00330208 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803332AC 0033020C 41 82 00 44 */ beq lbl_803332F0 +/* 803332B0 00330210 3C 60 80 3F */ lis r3, lbl_803EDFAC@ha +/* 803332B4 00330214 38 03 DF AC */ addi r0, r3, lbl_803EDFAC@l +/* 803332B8 00330218 90 1F 00 00 */ stw r0, 0(r31) +/* 803332BC 0033021C 41 82 00 20 */ beq lbl_803332DC +/* 803332C0 00330220 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803332C4 00330224 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803332C8 00330228 90 1F 00 00 */ stw r0, 0(r31) +/* 803332CC 0033022C 41 82 00 10 */ beq lbl_803332DC +/* 803332D0 00330230 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803332D4 00330234 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803332D8 00330238 90 1F 00 00 */ stw r0, 0(r31) +lbl_803332DC: +/* 803332DC 0033023C 7C 80 07 35 */ extsh. r0, r4 +/* 803332E0 00330240 40 81 00 10 */ ble lbl_803332F0 +/* 803332E4 00330244 7F E3 FB 78 */ mr r3, r31 +/* 803332E8 00330248 38 80 00 04 */ li r4, 4 +/* 803332EC 0033024C 48 03 97 79 */ bl sub_8036ca64 +lbl_803332F0: +/* 803332F0 00330250 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803332F4 00330254 7F E3 FB 78 */ mr r3, r31 +/* 803332F8 00330258 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803332FC 0033025C 7C 08 03 A6 */ mtlr r0 +/* 80333300 00330260 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333304 00330264 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter3 +__dt__27CREParticleAccessParameter3: +/* 80333308 00330268 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033330C 0033026C 7C 08 02 A6 */ mflr r0 +/* 80333310 00330270 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333314 00330274 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333318 00330278 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033331C 0033027C 41 82 00 44 */ beq lbl_80333360 +/* 80333320 00330280 3C 60 80 3F */ lis r3, lbl_803EDFC0@ha +/* 80333324 00330284 38 03 DF C0 */ addi r0, r3, lbl_803EDFC0@l +/* 80333328 00330288 90 1F 00 00 */ stw r0, 0(r31) +/* 8033332C 0033028C 41 82 00 20 */ beq lbl_8033334C +/* 80333330 00330290 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333334 00330294 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333338 00330298 90 1F 00 00 */ stw r0, 0(r31) +/* 8033333C 0033029C 41 82 00 10 */ beq lbl_8033334C +/* 80333340 003302A0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333344 003302A4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333348 003302A8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033334C: +/* 8033334C 003302AC 7C 80 07 35 */ extsh. r0, r4 +/* 80333350 003302B0 40 81 00 10 */ ble lbl_80333360 +/* 80333354 003302B4 7F E3 FB 78 */ mr r3, r31 +/* 80333358 003302B8 38 80 00 04 */ li r4, 4 +/* 8033335C 003302BC 48 03 97 09 */ bl sub_8036ca64 +lbl_80333360: +/* 80333360 003302C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333364 003302C4 7F E3 FB 78 */ mr r3, r31 +/* 80333368 003302C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033336C 003302CC 7C 08 03 A6 */ mtlr r0 +/* 80333370 003302D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333374 003302D4 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter2 +__dt__27CREParticleAccessParameter2: +/* 80333378 003302D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033337C 003302DC 7C 08 02 A6 */ mflr r0 +/* 80333380 003302E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333384 003302E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333388 003302E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033338C 003302EC 41 82 00 44 */ beq lbl_803333D0 +/* 80333390 003302F0 3C 60 80 3F */ lis r3, lbl_803EDFD4@ha +/* 80333394 003302F4 38 03 DF D4 */ addi r0, r3, lbl_803EDFD4@l +/* 80333398 003302F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033339C 003302FC 41 82 00 20 */ beq lbl_803333BC +/* 803333A0 00330300 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803333A4 00330304 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803333A8 00330308 90 1F 00 00 */ stw r0, 0(r31) +/* 803333AC 0033030C 41 82 00 10 */ beq lbl_803333BC +/* 803333B0 00330310 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803333B4 00330314 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803333B8 00330318 90 1F 00 00 */ stw r0, 0(r31) +lbl_803333BC: +/* 803333BC 0033031C 7C 80 07 35 */ extsh. r0, r4 +/* 803333C0 00330320 40 81 00 10 */ ble lbl_803333D0 +/* 803333C4 00330324 7F E3 FB 78 */ mr r3, r31 +/* 803333C8 00330328 38 80 00 04 */ li r4, 4 +/* 803333CC 0033032C 48 03 96 99 */ bl sub_8036ca64 +lbl_803333D0: +/* 803333D0 00330330 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803333D4 00330334 7F E3 FB 78 */ mr r3, r31 +/* 803333D8 00330338 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803333DC 0033033C 7C 08 03 A6 */ mtlr r0 +/* 803333E0 00330340 38 21 00 10 */ addi r1, r1, 0x10 +/* 803333E4 00330344 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter1 +__dt__27CREParticleAccessParameter1: +/* 803333E8 00330348 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803333EC 0033034C 7C 08 02 A6 */ mflr r0 +/* 803333F0 00330350 90 01 00 14 */ stw r0, 0x14(r1) +/* 803333F4 00330354 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803333F8 00330358 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803333FC 0033035C 41 82 00 44 */ beq lbl_80333440 +/* 80333400 00330360 3C 60 80 3F */ lis r3, lbl_803EDFE8@ha +/* 80333404 00330364 38 03 DF E8 */ addi r0, r3, lbl_803EDFE8@l +/* 80333408 00330368 90 1F 00 00 */ stw r0, 0(r31) +/* 8033340C 0033036C 41 82 00 20 */ beq lbl_8033342C +/* 80333410 00330370 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333414 00330374 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333418 00330378 90 1F 00 00 */ stw r0, 0(r31) +/* 8033341C 0033037C 41 82 00 10 */ beq lbl_8033342C +/* 80333420 00330380 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333424 00330384 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333428 00330388 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033342C: +/* 8033342C 0033038C 7C 80 07 35 */ extsh. r0, r4 +/* 80333430 00330390 40 81 00 10 */ ble lbl_80333440 +/* 80333434 00330394 7F E3 FB 78 */ mr r3, r31 +/* 80333438 00330398 38 80 00 04 */ li r4, 4 +/* 8033343C 0033039C 48 03 96 29 */ bl sub_8036ca64 +lbl_80333440: +/* 80333440 003303A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333444 003303A4 7F E3 FB 78 */ mr r3, r31 +/* 80333448 003303A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033344C 003303AC 7C 08 03 A6 */ mtlr r0 +/* 80333450 003303B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333454 003303B4 4E 80 00 20 */ blr + +.global IsConstant__16CREInitialRandomCF +IsConstant__16CREInitialRandomCF: +/* 80333458 003303B8 38 60 00 01 */ li r3, 1 +/* 8033345C 003303BC 4E 80 00 20 */ blr + +.global IsConstant__11CREConstantCFv +IsConstant__11CREConstantCFv: +/* 80333460 003303C0 38 60 00 01 */ li r3, 1 +/* 80333464 003303C4 4E 80 00 20 */ blr + +.global sub_80333468 +sub_80333468: +/* 80333468 003303C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033346C 003303CC 7C 08 02 A6 */ mflr r0 +/* 80333470 003303D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333474 003303D4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80333478 003303D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033347C 003303DC 7C 7F 1B 78 */ mr r31, r3 +/* 80333480 003303E0 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80333484 003303E4 80 DF 00 00 */ lwz r6, 0(r31) +/* 80333488 003303E8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8033348C 003303EC 38 61 00 08 */ addi r3, r1, 8 +/* 80333490 003303F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80333494 003303F4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80333498 003303F8 81 84 00 00 */ lwz r12, 0(r4) +/* 8033349C 003303FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803334A0 00330400 7D 89 03 A6 */ mtctr r12 +/* 803334A4 00330404 4E 80 04 21 */ bctrl +/* 803334A8 00330408 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 803334AC 0033040C 28 00 00 00 */ cmplwi r0, 0 +/* 803334B0 00330410 40 82 00 20 */ bne lbl_803334D0 +/* 803334B4 00330414 34 7F 00 10 */ addic. r3, r31, 0x10 +/* 803334B8 00330418 41 82 00 0C */ beq lbl_803334C4 +/* 803334BC 0033041C 38 81 00 08 */ addi r4, r1, 8 +/* 803334C0 00330420 48 00 D9 E9 */ bl __ct__6CTokenFRC6CToken +lbl_803334C4: +/* 803334C4 00330424 38 00 00 01 */ li r0, 1 +/* 803334C8 00330428 98 1F 00 18 */ stb r0, 0x18(r31) +/* 803334CC 0033042C 48 00 00 10 */ b lbl_803334DC +lbl_803334D0: +/* 803334D0 00330430 38 7F 00 10 */ addi r3, r31, 0x10 +/* 803334D4 00330434 38 81 00 08 */ addi r4, r1, 8 +/* 803334D8 00330438 48 00 D7 ED */ bl __as__6CTokenFRC6CToken +lbl_803334DC: +/* 803334DC 0033043C 38 61 00 08 */ addi r3, r1, 8 +/* 803334E0 00330440 38 80 FF FF */ li r4, -1 +/* 803334E4 00330444 48 00 D9 5D */ bl __dt__6CTokenFv +/* 803334E8 00330448 38 7F 00 10 */ addi r3, r31, 0x10 +/* 803334EC 0033044C 48 00 D8 99 */ bl Lock__6CTokenFv +/* 803334F0 00330450 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803334F4 00330454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803334F8 00330458 7C 08 03 A6 */ mtlr r0 +/* 803334FC 0033045C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333500 00330460 4E 80 00 20 */ blr + +.global sub_80333504 +sub_80333504: +/* 80333504 00330464 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333508 00330468 7C 08 02 A6 */ mflr r0 +/* 8033350C 0033046C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333510 00330470 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333514 00330474 7C 9F 23 78 */ mr r31, r4 +/* 80333518 00330478 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033351C 0033047C 7C 7E 1B 78 */ mr r30, r3 +/* 80333520 00330480 88 0D A9 15 */ lbz r0, lbl_805A94D5@sda21(r13) +/* 80333524 00330484 7C 00 07 75 */ extsb. r0, r0 +/* 80333528 00330488 40 82 00 4C */ bne lbl_80333574 +/* 8033352C 0033048C 38 00 00 00 */ li r0, 0 +/* 80333530 00330490 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha +/* 80333534 00330494 90 01 00 0C */ stw r0, 0xc(r1) +/* 80333538 00330498 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l +/* 8033353C 0033049C 38 81 00 08 */ addi r4, r1, 8 +/* 80333540 003304A0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80333544 003304A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333548 003304A8 48 00 00 9D */ bl sub_803335e4 +/* 8033354C 003304AC 3C 80 80 33 */ lis r4, sub_80329c3c@ha +/* 80333550 003304B0 3C A0 80 4C */ lis r5, lbl_804BFF10@ha +/* 80333554 003304B4 38 84 9C 3C */ addi r4, r4, sub_80329c3c@l +/* 80333558 003304B8 38 A5 FF 10 */ addi r5, r5, lbl_804BFF10@l +/* 8033355C 003304BC 48 05 61 31 */ bl __register_global_object +/* 80333560 003304C0 38 61 00 08 */ addi r3, r1, 8 +/* 80333564 003304C4 38 80 FF FF */ li r4, -1 +/* 80333568 003304C8 4B FF 66 D5 */ bl sub_80329c3c +/* 8033356C 003304CC 38 00 00 01 */ li r0, 1 +/* 80333570 003304D0 98 0D A9 15 */ stb r0, lbl_805A94D5@sda21(r13) +lbl_80333574: +/* 80333574 003304D4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80333578 003304D8 7C 1F 00 40 */ cmplw r31, r0 +/* 8033357C 003304DC 41 80 00 10 */ blt lbl_8033358C +/* 80333580 003304E0 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha +/* 80333584 003304E4 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l +/* 80333588 003304E8 48 00 00 44 */ b lbl_803335CC +lbl_8033358C: +/* 8033358C 003304EC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80333590 003304F0 38 80 00 00 */ li r4, 0 +/* 80333594 003304F4 7C 09 03 A6 */ mtctr r0 +/* 80333598 003304F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8033359C 003304FC 40 81 00 28 */ ble lbl_803335C4 +lbl_803335A0: +/* 803335A0 00330500 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803335A4 00330504 7C 60 22 14 */ add r3, r0, r4 +/* 803335A8 00330508 80 03 00 00 */ lwz r0, 0(r3) +/* 803335AC 0033050C 7C 00 F8 40 */ cmplw r0, r31 +/* 803335B0 00330510 40 82 00 0C */ bne lbl_803335BC +/* 803335B4 00330514 38 63 00 04 */ addi r3, r3, 4 +/* 803335B8 00330518 48 00 00 14 */ b lbl_803335CC +lbl_803335BC: +/* 803335BC 0033051C 38 84 00 14 */ addi r4, r4, 0x14 +/* 803335C0 00330520 42 00 FF E0 */ bdnz lbl_803335A0 +lbl_803335C4: +/* 803335C4 00330524 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha +/* 803335C8 00330528 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l +lbl_803335CC: +/* 803335CC 0033052C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803335D0 00330530 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803335D4 00330534 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803335D8 00330538 7C 08 03 A6 */ mtlr r0 +/* 803335DC 0033053C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803335E0 00330540 4E 80 00 20 */ blr + +.global sub_803335e4 +sub_803335e4: +/* 803335E4 00330544 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803335E8 00330548 7C 08 02 A6 */ mflr r0 +/* 803335EC 0033054C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803335F0 00330550 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803335F4 00330554 7C 9C 23 78 */ mr r28, r4 +/* 803335F8 00330558 7C 7F 1B 78 */ mr r31, r3 +/* 803335FC 0033055C 80 04 00 04 */ lwz r0, 4(r4) +/* 80333600 00330560 90 03 00 04 */ stw r0, 4(r3) +/* 80333604 00330564 80 04 00 08 */ lwz r0, 8(r4) +/* 80333608 00330568 90 03 00 08 */ stw r0, 8(r3) +/* 8033360C 0033056C 80 04 00 04 */ lwz r0, 4(r4) +/* 80333610 00330570 2C 00 00 00 */ cmpwi r0, 0 +/* 80333614 00330574 40 82 00 1C */ bne lbl_80333630 +/* 80333618 00330578 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033361C 0033057C 2C 00 00 00 */ cmpwi r0, 0 +/* 80333620 00330580 40 82 00 10 */ bne lbl_80333630 +/* 80333624 00330584 38 00 00 00 */ li r0, 0 +/* 80333628 00330588 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8033362C 0033058C 48 00 00 A8 */ b lbl_803336D4 +lbl_80333630: +/* 80333630 00330590 80 1F 00 08 */ lwz r0, 8(r31) +/* 80333634 00330594 1C 60 00 1C */ mulli r3, r0, 0x1c +/* 80333638 00330598 2C 03 00 00 */ cmpwi r3, 0 +/* 8033363C 0033059C 40 82 00 10 */ bne lbl_8033364C +/* 80333640 003305A0 38 00 00 00 */ li r0, 0 +/* 80333644 003305A4 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80333648 003305A8 48 00 00 18 */ b lbl_80333660 +lbl_8033364C: +/* 8033364C 003305AC 3C 80 80 3D */ lis r4, lbl_803D7978@ha +/* 80333650 003305B0 38 A0 00 00 */ li r5, 0 +/* 80333654 003305B4 38 84 79 78 */ addi r4, r4, lbl_803D7978@l +/* 80333658 003305B8 4B FE 21 C1 */ bl __nwa__FUlPCcPCc +/* 8033365C 003305BC 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_80333660: +/* 80333660 003305C0 83 7F 00 04 */ lwz r27, 4(r31) +/* 80333664 003305C4 3B C0 00 00 */ li r30, 0 +/* 80333668 003305C8 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 8033366C 003305CC 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 80333670 003305D0 48 00 00 5C */ b lbl_803336CC +lbl_80333674: +/* 80333674 003305D4 28 1D 00 00 */ cmplwi r29, 0 +/* 80333678 003305D8 41 82 00 48 */ beq lbl_803336C0 +/* 8033367C 003305DC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80333680 003305E0 90 1D 00 00 */ stw r0, 0(r29) +/* 80333684 003305E4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80333688 003305E8 90 1D 00 04 */ stw r0, 4(r29) +/* 8033368C 003305EC 80 1C 00 08 */ lwz r0, 8(r28) +/* 80333690 003305F0 90 1D 00 08 */ stw r0, 8(r29) +/* 80333694 003305F4 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80333698 003305F8 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033369C 003305FC 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 803336A0 00330600 98 1D 00 18 */ stb r0, 0x18(r29) +/* 803336A4 00330604 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 803336A8 00330608 28 00 00 00 */ cmplwi r0, 0 +/* 803336AC 0033060C 41 82 00 14 */ beq lbl_803336C0 +/* 803336B0 00330610 34 7D 00 10 */ addic. r3, r29, 0x10 +/* 803336B4 00330614 38 9C 00 10 */ addi r4, r28, 0x10 +/* 803336B8 00330618 41 82 00 08 */ beq lbl_803336C0 +/* 803336BC 0033061C 48 00 D7 ED */ bl __ct__6CTokenFRC6CToken +lbl_803336C0: +/* 803336C0 00330620 3B BD 00 1C */ addi r29, r29, 0x1c +/* 803336C4 00330624 3B DE 00 01 */ addi r30, r30, 1 +/* 803336C8 00330628 3B 9C 00 1C */ addi r28, r28, 0x1c +lbl_803336CC: +/* 803336CC 0033062C 7C 1E D8 00 */ cmpw r30, r27 +/* 803336D0 00330630 41 80 FF A4 */ blt lbl_80333674 +lbl_803336D4: +/* 803336D4 00330634 7F E3 FB 78 */ mr r3, r31 +/* 803336D8 00330638 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803336DC 0033063C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803336E0 00330640 7C 08 03 A6 */ mtlr r0 +/* 803336E4 00330644 38 21 00 20 */ addi r1, r1, 0x20 +/* 803336E8 00330648 4E 80 00 20 */ blr + +.global sub_803336ec +sub_803336ec: +/* 803336EC 0033064C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803336F0 00330650 7C 08 02 A6 */ mflr r0 +/* 803336F4 00330654 90 01 00 34 */ stw r0, 0x34(r1) +/* 803336F8 00330658 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 803336FC 0033065C 7C 79 1B 78 */ mr r25, r3 +/* 80333700 00330660 7C 9A 23 78 */ mr r26, r4 +/* 80333704 00330664 3B 80 00 00 */ li r28, 0 +/* 80333708 00330668 3B A0 00 00 */ li r29, 0 +/* 8033370C 0033066C 48 00 00 44 */ b lbl_80333750 +lbl_80333710: +/* 80333710 00330670 80 19 00 1C */ lwz r0, 0x1c(r25) +/* 80333714 00330674 3B 60 00 00 */ li r27, 0 +/* 80333718 00330678 3B C0 00 00 */ li r30, 0 +/* 8033371C 0033067C 7F E0 EA 14 */ add r31, r0, r29 +/* 80333720 00330680 48 00 00 1C */ b lbl_8033373C +lbl_80333724: +/* 80333724 00330684 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80333728 00330688 7F 44 D3 78 */ mr r4, r26 +/* 8033372C 0033068C 7C 60 F2 14 */ add r3, r0, r30 +/* 80333730 00330690 4B FF FD 39 */ bl sub_80333468 +/* 80333734 00330694 3B DE 00 1C */ addi r30, r30, 0x1c +/* 80333738 00330698 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8033373C: +/* 8033373C 0033069C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80333740 003306A0 7C 1B 00 00 */ cmpw r27, r0 +/* 80333744 003306A4 41 80 FF E0 */ blt lbl_80333724 +/* 80333748 003306A8 3B BD 00 14 */ addi r29, r29, 0x14 +/* 8033374C 003306AC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80333750: +/* 80333750 003306B0 80 19 00 14 */ lwz r0, 0x14(r25) +/* 80333754 003306B4 7C 1C 00 00 */ cmpw r28, r0 +/* 80333758 003306B8 41 80 FF B8 */ blt lbl_80333710 +/* 8033375C 003306BC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80333760 003306C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333764 003306C4 7C 08 03 A6 */ mtlr r0 +/* 80333768 003306C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033376C 003306CC 4E 80 00 20 */ blr + +.global __ct__24CSpawnSystemKeyframeDataFR12CInputStream +__ct__24CSpawnSystemKeyframeDataFR12CInputStream: +/* 80333770 003306D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333774 003306D4 7C 08 02 A6 */ mflr r0 +/* 80333778 003306D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033377C 003306DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333780 003306E0 7C 9F 23 78 */ mr r31, r4 +/* 80333784 003306E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80333788 003306E8 7C 7E 1B 78 */ mr r30, r3 +/* 8033378C 003306EC 7F E3 FB 78 */ mr r3, r31 +/* 80333790 003306F0 48 00 B4 F5 */ bl ReadLong__12CInputStreamFv +/* 80333794 003306F4 90 7E 00 00 */ stw r3, 0(r30) +/* 80333798 003306F8 7F E3 FB 78 */ mr r3, r31 +/* 8033379C 003306FC 48 00 B4 E9 */ bl ReadLong__12CInputStreamFv +/* 803337A0 00330700 90 7E 00 04 */ stw r3, 4(r30) +/* 803337A4 00330704 7F E3 FB 78 */ mr r3, r31 +/* 803337A8 00330708 48 00 B4 DD */ bl ReadLong__12CInputStreamFv +/* 803337AC 0033070C 90 7E 00 08 */ stw r3, 8(r30) +/* 803337B0 00330710 7F E3 FB 78 */ mr r3, r31 +/* 803337B4 00330714 48 00 B4 D1 */ bl ReadLong__12CInputStreamFv +/* 803337B8 00330718 90 7E 00 0C */ stw r3, 0xc(r30) +/* 803337BC 0033071C 7F E4 FB 78 */ mr r4, r31 +/* 803337C0 00330720 38 7E 00 10 */ addi r3, r30, 0x10 +/* 803337C4 00330724 38 A1 00 08 */ addi r5, r1, 8 +/* 803337C8 00330728 48 00 00 45 */ bl sub_8033380c +/* 803337CC 0033072C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803337D0 00330730 7F C3 F3 78 */ mr r3, r30 +/* 803337D4 00330734 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803337D8 00330738 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803337DC 0033073C 7C 08 03 A6 */ mtlr r0 +/* 803337E0 00330740 38 21 00 20 */ addi r1, r1, 0x20 +/* 803337E4 00330744 4E 80 00 20 */ blr + +.global sub_803337e8 +sub_803337e8: +/* 803337E8 00330748 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803337EC 0033074C 7C 08 02 A6 */ mflr r0 +/* 803337F0 00330750 38 80 FF FF */ li r4, -1 +/* 803337F4 00330754 90 01 00 14 */ stw r0, 0x14(r1) +/* 803337F8 00330758 4B FF 63 ED */ bl sub_80329be4 +/* 803337FC 0033075C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333800 00330760 7C 08 03 A6 */ mtlr r0 +/* 80333804 00330764 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333808 00330768 4E 80 00 20 */ blr + +.global sub_8033380c +sub_8033380c: +/* 8033380C 0033076C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80333810 00330770 7C 08 02 A6 */ mflr r0 +/* 80333814 00330774 90 01 00 44 */ stw r0, 0x44(r1) +/* 80333818 00330778 38 00 00 00 */ li r0, 0 +/* 8033381C 0033077C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80333820 00330780 7C 7B 1B 78 */ mr r27, r3 +/* 80333824 00330784 7C 9C 23 78 */ mr r28, r4 +/* 80333828 00330788 90 03 00 04 */ stw r0, 4(r3) +/* 8033382C 0033078C 7F 83 E3 78 */ mr r3, r28 +/* 80333830 00330790 90 1B 00 08 */ stw r0, 8(r27) +/* 80333834 00330794 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80333838 00330798 48 00 B4 4D */ bl ReadLong__12CInputStreamFv +/* 8033383C 0033079C 7C 7E 1B 78 */ mr r30, r3 +/* 80333840 003307A0 7F 63 DB 78 */ mr r3, r27 +/* 80333844 003307A4 7F C4 F3 78 */ mr r4, r30 +/* 80333848 003307A8 48 00 05 DD */ bl sub_80333e24 +/* 8033384C 003307AC 3B E1 00 08 */ addi r31, r1, 8 +/* 80333850 003307B0 3B A0 00 00 */ li r29, 0 +/* 80333854 003307B4 48 00 00 38 */ b lbl_8033388C +lbl_80333858: +/* 80333858 003307B8 88 0D A9 00 */ lbz r0, lbl_805A94C0@sda21(r13) +/* 8033385C 003307BC 7F 84 E3 78 */ mr r4, r28 +/* 80333860 003307C0 7F E5 FB 78 */ mr r5, r31 +/* 80333864 003307C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80333868 003307C8 98 01 00 08 */ stb r0, 8(r1) +/* 8033386C 003307CC 48 00 01 25 */ bl sub_80333990 +/* 80333870 003307D0 7F 63 DB 78 */ mr r3, r27 +/* 80333874 003307D4 38 81 00 0C */ addi r4, r1, 0xc +/* 80333878 003307D8 48 00 00 35 */ bl sub_803338ac +/* 8033387C 003307DC 38 61 00 0C */ addi r3, r1, 0xc +/* 80333880 003307E0 38 80 FF FF */ li r4, -1 +/* 80333884 003307E4 4B FF 63 61 */ bl sub_80329be4 +/* 80333888 003307E8 3B BD 00 01 */ addi r29, r29, 1 +lbl_8033388C: +/* 8033388C 003307EC 7C 1D F0 00 */ cmpw r29, r30 +/* 80333890 003307F0 41 80 FF C8 */ blt lbl_80333858 +/* 80333894 003307F4 7F 63 DB 78 */ mr r3, r27 +/* 80333898 003307F8 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8033389C 003307FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803338A0 00330800 7C 08 03 A6 */ mtlr r0 +/* 803338A4 00330804 38 21 00 40 */ addi r1, r1, 0x40 +/* 803338A8 00330808 4E 80 00 20 */ blr + +.global sub_803338ac +sub_803338ac: +/* 803338AC 0033080C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803338B0 00330810 7C 08 02 A6 */ mflr r0 +/* 803338B4 00330814 90 01 00 14 */ stw r0, 0x14(r1) +/* 803338B8 00330818 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803338BC 0033081C 7C 9F 23 78 */ mr r31, r4 +/* 803338C0 00330820 93 C1 00 08 */ stw r30, 8(r1) +/* 803338C4 00330824 7C 7E 1B 78 */ mr r30, r3 +/* 803338C8 00330828 80 03 00 04 */ lwz r0, 4(r3) +/* 803338CC 0033082C 80 A3 00 08 */ lwz r5, 8(r3) +/* 803338D0 00330830 7C 00 28 00 */ cmpw r0, r5 +/* 803338D4 00330834 41 80 00 18 */ blt lbl_803338EC +/* 803338D8 00330838 2C 05 00 00 */ cmpwi r5, 0 +/* 803338DC 0033083C 38 80 00 04 */ li r4, 4 +/* 803338E0 00330840 41 82 00 08 */ beq lbl_803338E8 +/* 803338E4 00330844 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803338E8: +/* 803338E8 00330848 48 00 05 3D */ bl sub_80333e24 +lbl_803338EC: +/* 803338EC 0033084C 80 1E 00 04 */ lwz r0, 4(r30) +/* 803338F0 00330850 7F E4 FB 78 */ mr r4, r31 +/* 803338F4 00330854 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803338F8 00330858 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 803338FC 0033085C 7C 63 02 14 */ add r3, r3, r0 +/* 80333900 00330860 48 00 00 29 */ bl sub_80333928 +/* 80333904 00330864 80 7E 00 04 */ lwz r3, 4(r30) +/* 80333908 00330868 38 03 00 01 */ addi r0, r3, 1 +/* 8033390C 0033086C 90 1E 00 04 */ stw r0, 4(r30) +/* 80333910 00330870 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333914 00330874 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333918 00330878 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033391C 0033087C 7C 08 03 A6 */ mtlr r0 +/* 80333920 00330880 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333924 00330884 4E 80 00 20 */ blr + +.global sub_80333928 +sub_80333928: +/* 80333928 00330888 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033392C 0033088C 7C 08 02 A6 */ mflr r0 +/* 80333930 00330890 28 03 00 00 */ cmplwi r3, 0 +/* 80333934 00330894 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333938 00330898 41 82 00 08 */ beq lbl_80333940 +/* 8033393C 0033089C 48 00 00 15 */ bl sub_80333950 +lbl_80333940: +/* 80333940 003308A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333944 003308A4 7C 08 03 A6 */ mtlr r0 +/* 80333948 003308A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033394C 003308AC 4E 80 00 20 */ blr + +.global sub_80333950 +sub_80333950: +/* 80333950 003308B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333954 003308B4 7C 08 02 A6 */ mflr r0 +/* 80333958 003308B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033395C 003308BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333960 003308C0 7C 7F 1B 78 */ mr r31, r3 +/* 80333964 003308C4 38 7F 00 04 */ addi r3, r31, 4 +/* 80333968 003308C8 80 04 00 00 */ lwz r0, 0(r4) +/* 8033396C 003308CC 38 84 00 04 */ addi r4, r4, 4 +/* 80333970 003308D0 90 1F 00 00 */ stw r0, 0(r31) +/* 80333974 003308D4 4B FF FC 71 */ bl sub_803335e4 +/* 80333978 003308D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033397C 003308DC 7F E3 FB 78 */ mr r3, r31 +/* 80333980 003308E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333984 003308E4 7C 08 03 A6 */ mtlr r0 +/* 80333988 003308E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033398C 003308EC 4E 80 00 20 */ blr + +.global sub_80333990 +sub_80333990: +/* 80333990 003308F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333994 003308F4 7C 08 02 A6 */ mflr r0 +/* 80333998 003308F8 7C 85 23 78 */ mr r5, r4 +/* 8033399C 003308FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 803339A0 00330900 38 81 00 08 */ addi r4, r1, 8 +/* 803339A4 00330904 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803339A8 00330908 7C 7F 1B 78 */ mr r31, r3 +/* 803339AC 0033090C 88 0D A9 04 */ lbz r0, lbl_805A94C4@sda21(r13) +/* 803339B0 00330910 98 01 00 08 */ stb r0, 8(r1) +/* 803339B4 00330914 48 00 00 19 */ bl sub_803339cc +/* 803339B8 00330918 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803339BC 0033091C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803339C0 00330920 7C 08 03 A6 */ mtlr r0 +/* 803339C4 00330924 38 21 00 20 */ addi r1, r1, 0x20 +/* 803339C8 00330928 4E 80 00 20 */ blr + +.global sub_803339cc +sub_803339cc: +/* 803339CC 0033092C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803339D0 00330930 7C 08 02 A6 */ mflr r0 +/* 803339D4 00330934 7C A4 2B 78 */ mr r4, r5 +/* 803339D8 00330938 90 01 00 14 */ stw r0, 0x14(r1) +/* 803339DC 0033093C 48 00 00 15 */ bl sub_803339f0 +/* 803339E0 00330940 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803339E4 00330944 7C 08 03 A6 */ mtlr r0 +/* 803339E8 00330948 38 21 00 10 */ addi r1, r1, 0x10 +/* 803339EC 0033094C 4E 80 00 20 */ blr + +.global sub_803339f0 +sub_803339f0: +/* 803339F0 00330950 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803339F4 00330954 7C 08 02 A6 */ mflr r0 +/* 803339F8 00330958 90 01 00 34 */ stw r0, 0x34(r1) +/* 803339FC 0033095C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80333A00 00330960 7C 9F 23 78 */ mr r31, r4 +/* 80333A04 00330964 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80333A08 00330968 7C 7E 1B 78 */ mr r30, r3 +/* 80333A0C 0033096C 7F E3 FB 78 */ mr r3, r31 +/* 80333A10 00330970 48 00 B2 75 */ bl ReadLong__12CInputStreamFv +/* 80333A14 00330974 90 7E 00 00 */ stw r3, 0(r30) +/* 80333A18 00330978 7F E4 FB 78 */ mr r4, r31 +/* 80333A1C 0033097C 38 61 00 0C */ addi r3, r1, 0xc +/* 80333A20 00330980 38 A1 00 08 */ addi r5, r1, 8 +/* 80333A24 00330984 88 0D A9 08 */ lbz r0, lbl_805A94C8@sda21(r13) +/* 80333A28 00330988 98 01 00 08 */ stb r0, 8(r1) +/* 80333A2C 0033098C 48 00 00 39 */ bl sub_80333a64 +/* 80333A30 00330990 38 7E 00 04 */ addi r3, r30, 4 +/* 80333A34 00330994 38 81 00 0C */ addi r4, r1, 0xc +/* 80333A38 00330998 4B FF FB AD */ bl sub_803335e4 +/* 80333A3C 0033099C 38 61 00 0C */ addi r3, r1, 0xc +/* 80333A40 003309A0 38 80 FF FF */ li r4, -1 +/* 80333A44 003309A4 4B FF 61 F9 */ bl sub_80329c3c +/* 80333A48 003309A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333A4C 003309AC 7F C3 F3 78 */ mr r3, r30 +/* 80333A50 003309B0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80333A54 003309B4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80333A58 003309B8 7C 08 03 A6 */ mtlr r0 +/* 80333A5C 003309BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80333A60 003309C0 4E 80 00 20 */ blr + +.global sub_80333a64 +sub_80333a64: +/* 80333A64 003309C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333A68 003309C8 7C 08 02 A6 */ mflr r0 +/* 80333A6C 003309CC 7C 85 23 78 */ mr r5, r4 +/* 80333A70 003309D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333A74 003309D4 38 81 00 08 */ addi r4, r1, 8 +/* 80333A78 003309D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333A7C 003309DC 7C 7F 1B 78 */ mr r31, r3 +/* 80333A80 003309E0 88 0D A9 0C */ lbz r0, lbl_805A94CC@sda21(r13) +/* 80333A84 003309E4 98 01 00 08 */ stb r0, 8(r1) +/* 80333A88 003309E8 48 00 00 19 */ bl sub_80333aa0 +/* 80333A8C 003309EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80333A90 003309F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80333A94 003309F4 7C 08 03 A6 */ mtlr r0 +/* 80333A98 003309F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333A9C 003309FC 4E 80 00 20 */ blr + +.global sub_80333aa0 +sub_80333aa0: +/* 80333AA0 00330A00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333AA4 00330A04 7C 08 02 A6 */ mflr r0 +/* 80333AA8 00330A08 7C A4 2B 78 */ mr r4, r5 +/* 80333AAC 00330A0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333AB0 00330A10 38 A1 00 08 */ addi r5, r1, 8 +/* 80333AB4 00330A14 48 00 00 15 */ bl sub_80333ac8 +/* 80333AB8 00330A18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333ABC 00330A1C 7C 08 03 A6 */ mtlr r0 +/* 80333AC0 00330A20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333AC4 00330A24 4E 80 00 20 */ blr + +.global sub_80333ac8 +sub_80333ac8: +/* 80333AC8 00330A28 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80333ACC 00330A2C 7C 08 02 A6 */ mflr r0 +/* 80333AD0 00330A30 90 01 00 44 */ stw r0, 0x44(r1) +/* 80333AD4 00330A34 38 00 00 00 */ li r0, 0 +/* 80333AD8 00330A38 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 80333ADC 00330A3C 7C 7A 1B 78 */ mr r26, r3 +/* 80333AE0 00330A40 7C 9B 23 78 */ mr r27, r4 +/* 80333AE4 00330A44 90 03 00 04 */ stw r0, 4(r3) +/* 80333AE8 00330A48 7F 63 DB 78 */ mr r3, r27 +/* 80333AEC 00330A4C 90 1A 00 08 */ stw r0, 8(r26) +/* 80333AF0 00330A50 90 1A 00 0C */ stw r0, 0xc(r26) +/* 80333AF4 00330A54 48 00 B1 91 */ bl ReadLong__12CInputStreamFv +/* 80333AF8 00330A58 7C 7E 1B 78 */ mr r30, r3 +/* 80333AFC 00330A5C 7F 43 D3 78 */ mr r3, r26 +/* 80333B00 00330A60 7F C4 F3 78 */ mr r4, r30 +/* 80333B04 00330A64 48 00 01 C1 */ bl sub_80333cc4 +/* 80333B08 00330A68 3B A1 00 1C */ addi r29, r1, 0x1c +/* 80333B0C 00330A6C 3B E1 00 08 */ addi r31, r1, 8 +/* 80333B10 00330A70 3B 80 00 00 */ li r28, 0 +/* 80333B14 00330A74 48 00 00 E8 */ b lbl_80333BFC +lbl_80333B18: +/* 80333B18 00330A78 88 0D A9 10 */ lbz r0, lbl_805A94D0@sda21(r13) +/* 80333B1C 00330A7C 7F 64 DB 78 */ mr r4, r27 +/* 80333B20 00330A80 7F E5 FB 78 */ mr r5, r31 +/* 80333B24 00330A84 38 61 00 0C */ addi r3, r1, 0xc +/* 80333B28 00330A88 98 01 00 08 */ stb r0, 8(r1) +/* 80333B2C 00330A8C 48 00 00 F1 */ bl sub_80333c1c +/* 80333B30 00330A90 80 1A 00 04 */ lwz r0, 4(r26) +/* 80333B34 00330A94 80 BA 00 08 */ lwz r5, 8(r26) +/* 80333B38 00330A98 7C 00 28 00 */ cmpw r0, r5 +/* 80333B3C 00330A9C 41 80 00 1C */ blt lbl_80333B58 +/* 80333B40 00330AA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80333B44 00330AA4 7F 43 D3 78 */ mr r3, r26 +/* 80333B48 00330AA8 38 80 00 04 */ li r4, 4 +/* 80333B4C 00330AAC 41 82 00 08 */ beq lbl_80333B54 +/* 80333B50 00330AB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80333B54: +/* 80333B54 00330AB4 48 00 01 71 */ bl sub_80333cc4 +lbl_80333B58: +/* 80333B58 00330AB8 80 1A 00 04 */ lwz r0, 4(r26) +/* 80333B5C 00330ABC 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 80333B60 00330AC0 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80333B64 00330AC4 7C 63 02 15 */ add. r3, r3, r0 +/* 80333B68 00330AC8 41 82 00 48 */ beq lbl_80333BB0 +/* 80333B6C 00330ACC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80333B70 00330AD0 90 03 00 00 */ stw r0, 0(r3) +/* 80333B74 00330AD4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80333B78 00330AD8 90 03 00 04 */ stw r0, 4(r3) +/* 80333B7C 00330ADC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333B80 00330AE0 90 03 00 08 */ stw r0, 8(r3) +/* 80333B84 00330AE4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80333B88 00330AE8 90 03 00 0C */ stw r0, 0xc(r3) +/* 80333B8C 00330AEC 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333B90 00330AF0 98 03 00 18 */ stb r0, 0x18(r3) +/* 80333B94 00330AF4 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333B98 00330AF8 28 00 00 00 */ cmplwi r0, 0 +/* 80333B9C 00330AFC 41 82 00 14 */ beq lbl_80333BB0 +/* 80333BA0 00330B00 34 63 00 10 */ addic. r3, r3, 0x10 +/* 80333BA4 00330B04 41 82 00 0C */ beq lbl_80333BB0 +/* 80333BA8 00330B08 7F A4 EB 78 */ mr r4, r29 +/* 80333BAC 00330B0C 48 00 D2 FD */ bl __ct__6CTokenFRC6CToken +lbl_80333BB0: +/* 80333BB0 00330B10 80 7A 00 04 */ lwz r3, 4(r26) +/* 80333BB4 00330B14 38 03 00 01 */ addi r0, r3, 1 +/* 80333BB8 00330B18 90 1A 00 04 */ stw r0, 4(r26) +/* 80333BBC 00330B1C 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333BC0 00330B20 28 00 00 00 */ cmplwi r0, 0 +/* 80333BC4 00330B24 41 82 00 0C */ beq lbl_80333BD0 +/* 80333BC8 00330B28 7F A3 EB 78 */ mr r3, r29 +/* 80333BCC 00330B2C 48 00 D1 75 */ bl Unlock__6CTokenFv +lbl_80333BD0: +/* 80333BD0 00330B30 28 1D 00 00 */ cmplwi r29, 0 +/* 80333BD4 00330B34 41 82 00 24 */ beq lbl_80333BF8 +/* 80333BD8 00330B38 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333BDC 00330B3C 28 00 00 00 */ cmplwi r0, 0 +/* 80333BE0 00330B40 41 82 00 10 */ beq lbl_80333BF0 +/* 80333BE4 00330B44 7F A3 EB 78 */ mr r3, r29 +/* 80333BE8 00330B48 38 80 FF FF */ li r4, -1 +/* 80333BEC 00330B4C 48 00 D2 55 */ bl __dt__6CTokenFv +lbl_80333BF0: +/* 80333BF0 00330B50 38 00 00 00 */ li r0, 0 +/* 80333BF4 00330B54 98 01 00 24 */ stb r0, 0x24(r1) +lbl_80333BF8: +/* 80333BF8 00330B58 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80333BFC: +/* 80333BFC 00330B5C 7C 1C F0 00 */ cmpw r28, r30 +/* 80333C00 00330B60 41 80 FF 18 */ blt lbl_80333B18 +/* 80333C04 00330B64 7F 43 D3 78 */ mr r3, r26 +/* 80333C08 00330B68 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 80333C0C 00330B6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80333C10 00330B70 7C 08 03 A6 */ mtlr r0 +/* 80333C14 00330B74 38 21 00 40 */ addi r1, r1, 0x40 +/* 80333C18 00330B78 4E 80 00 20 */ blr + +.global sub_80333c1c +sub_80333c1c: +/* 80333C1C 00330B7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333C20 00330B80 7C 08 02 A6 */ mflr r0 +/* 80333C24 00330B84 7C 85 23 78 */ mr r5, r4 +/* 80333C28 00330B88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333C2C 00330B8C 38 81 00 08 */ addi r4, r1, 8 +/* 80333C30 00330B90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333C34 00330B94 7C 7F 1B 78 */ mr r31, r3 +/* 80333C38 00330B98 88 0D A9 14 */ lbz r0, lbl_805A94D4@sda21(r13) +/* 80333C3C 00330B9C 98 01 00 08 */ stb r0, 8(r1) +/* 80333C40 00330BA0 48 00 00 19 */ bl sub_80333c58 +/* 80333C44 00330BA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80333C48 00330BA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80333C4C 00330BAC 7C 08 03 A6 */ mtlr r0 +/* 80333C50 00330BB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333C54 00330BB4 4E 80 00 20 */ blr + +.global sub_80333c58 +sub_80333c58: +/* 80333C58 00330BB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333C5C 00330BBC 7C 08 02 A6 */ mflr r0 +/* 80333C60 00330BC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333C64 00330BC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333C68 00330BC8 7C BF 2B 78 */ mr r31, r5 +/* 80333C6C 00330BCC 93 C1 00 08 */ stw r30, 8(r1) +/* 80333C70 00330BD0 7C 7E 1B 78 */ mr r30, r3 +/* 80333C74 00330BD4 7F E3 FB 78 */ mr r3, r31 +/* 80333C78 00330BD8 48 00 B0 0D */ bl ReadLong__12CInputStreamFv +/* 80333C7C 00330BDC 90 7E 00 00 */ stw r3, 0(r30) +/* 80333C80 00330BE0 7F E3 FB 78 */ mr r3, r31 +/* 80333C84 00330BE4 48 00 B0 01 */ bl ReadLong__12CInputStreamFv +/* 80333C88 00330BE8 90 7E 00 04 */ stw r3, 4(r30) +/* 80333C8C 00330BEC 7F E3 FB 78 */ mr r3, r31 +/* 80333C90 00330BF0 48 00 AF F5 */ bl ReadLong__12CInputStreamFv +/* 80333C94 00330BF4 90 7E 00 08 */ stw r3, 8(r30) +/* 80333C98 00330BF8 7F E3 FB 78 */ mr r3, r31 +/* 80333C9C 00330BFC 48 00 AF E9 */ bl ReadLong__12CInputStreamFv +/* 80333CA0 00330C00 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80333CA4 00330C04 38 00 00 00 */ li r0, 0 +/* 80333CA8 00330C08 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80333CAC 00330C0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333CB0 00330C10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333CB4 00330C14 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333CB8 00330C18 7C 08 03 A6 */ mtlr r0 +/* 80333CBC 00330C1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333CC0 00330C20 4E 80 00 20 */ blr + +.global sub_80333cc4 +sub_80333cc4: +/* 80333CC4 00330C24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80333CC8 00330C28 7C 08 02 A6 */ mflr r0 +/* 80333CCC 00330C2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80333CD0 00330C30 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80333CD4 00330C34 7C 9E 23 78 */ mr r30, r4 +/* 80333CD8 00330C38 7C 7D 1B 78 */ mr r29, r3 +/* 80333CDC 00330C3C 80 03 00 08 */ lwz r0, 8(r3) +/* 80333CE0 00330C40 7C 1E 00 00 */ cmpw r30, r0 +/* 80333CE4 00330C44 40 81 01 2C */ ble lbl_80333E10 +/* 80333CE8 00330C48 1C 7E 00 1C */ mulli r3, r30, 0x1c +/* 80333CEC 00330C4C 2C 03 00 00 */ cmpwi r3, 0 +/* 80333CF0 00330C50 40 82 00 0C */ bne lbl_80333CFC +/* 80333CF4 00330C54 3B E0 00 00 */ li r31, 0 +/* 80333CF8 00330C58 48 00 00 18 */ b lbl_80333D10 +lbl_80333CFC: +/* 80333CFC 00330C5C 3C 80 80 3D */ lis r4, lbl_803D7978@ha +/* 80333D00 00330C60 38 A0 00 00 */ li r5, 0 +/* 80333D04 00330C64 38 84 79 78 */ addi r4, r4, lbl_803D7978@l +/* 80333D08 00330C68 4B FE 1B 11 */ bl __nwa__FUlPCcPCc +/* 80333D0C 00330C6C 7C 7F 1B 78 */ mr r31, r3 +lbl_80333D10: +/* 80333D10 00330C70 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333D14 00330C74 7F FB FB 78 */ mr r27, r31 +/* 80333D18 00330C78 83 5D 00 0C */ lwz r26, 0xc(r29) +/* 80333D1C 00330C7C 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80333D20 00330C80 93 41 00 10 */ stw r26, 0x10(r1) +/* 80333D24 00330C84 7F 9A 02 14 */ add r28, r26, r0 +/* 80333D28 00330C88 93 41 00 14 */ stw r26, 0x14(r1) +/* 80333D2C 00330C8C 93 81 00 08 */ stw r28, 8(r1) +/* 80333D30 00330C90 93 81 00 0C */ stw r28, 0xc(r1) +/* 80333D34 00330C94 48 00 00 58 */ b lbl_80333D8C +lbl_80333D38: +/* 80333D38 00330C98 28 1B 00 00 */ cmplwi r27, 0 +/* 80333D3C 00330C9C 41 82 00 48 */ beq lbl_80333D84 +/* 80333D40 00330CA0 80 1A 00 00 */ lwz r0, 0(r26) +/* 80333D44 00330CA4 90 1B 00 00 */ stw r0, 0(r27) +/* 80333D48 00330CA8 80 1A 00 04 */ lwz r0, 4(r26) +/* 80333D4C 00330CAC 90 1B 00 04 */ stw r0, 4(r27) +/* 80333D50 00330CB0 80 1A 00 08 */ lwz r0, 8(r26) +/* 80333D54 00330CB4 90 1B 00 08 */ stw r0, 8(r27) +/* 80333D58 00330CB8 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 80333D5C 00330CBC 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80333D60 00330CC0 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333D64 00330CC4 98 1B 00 18 */ stb r0, 0x18(r27) +/* 80333D68 00330CC8 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333D6C 00330CCC 28 00 00 00 */ cmplwi r0, 0 +/* 80333D70 00330CD0 41 82 00 14 */ beq lbl_80333D84 +/* 80333D74 00330CD4 34 7B 00 10 */ addic. r3, r27, 0x10 +/* 80333D78 00330CD8 38 9A 00 10 */ addi r4, r26, 0x10 +/* 80333D7C 00330CDC 41 82 00 08 */ beq lbl_80333D84 +/* 80333D80 00330CE0 48 00 D1 29 */ bl __ct__6CTokenFRC6CToken +lbl_80333D84: +/* 80333D84 00330CE4 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 80333D88 00330CE8 3B 5A 00 1C */ addi r26, r26, 0x1c +lbl_80333D8C: +/* 80333D8C 00330CEC 7C 1A E0 40 */ cmplw r26, r28 +/* 80333D90 00330CF0 40 82 FF A8 */ bne lbl_80333D38 +/* 80333D94 00330CF4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333D98 00330CF8 3B 80 00 00 */ li r28, 0 +/* 80333D9C 00330CFC 83 5D 00 0C */ lwz r26, 0xc(r29) +/* 80333DA0 00330D00 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80333DA4 00330D04 7F 7A 02 14 */ add r27, r26, r0 +/* 80333DA8 00330D08 48 00 00 48 */ b lbl_80333DF0 +lbl_80333DAC: +/* 80333DAC 00330D0C 28 1A 00 00 */ cmplwi r26, 0 +/* 80333DB0 00330D10 41 82 00 3C */ beq lbl_80333DEC +/* 80333DB4 00330D14 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333DB8 00330D18 28 00 00 00 */ cmplwi r0, 0 +/* 80333DBC 00330D1C 41 82 00 0C */ beq lbl_80333DC8 +/* 80333DC0 00330D20 38 7A 00 10 */ addi r3, r26, 0x10 +/* 80333DC4 00330D24 48 00 CF 7D */ bl Unlock__6CTokenFv +lbl_80333DC8: +/* 80333DC8 00330D28 34 1A 00 10 */ addic. r0, r26, 0x10 +/* 80333DCC 00330D2C 41 82 00 20 */ beq lbl_80333DEC +/* 80333DD0 00330D30 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333DD4 00330D34 28 00 00 00 */ cmplwi r0, 0 +/* 80333DD8 00330D38 41 82 00 10 */ beq lbl_80333DE8 +/* 80333DDC 00330D3C 38 7A 00 10 */ addi r3, r26, 0x10 +/* 80333DE0 00330D40 38 80 FF FF */ li r4, -1 +/* 80333DE4 00330D44 48 00 D0 5D */ bl __dt__6CTokenFv +lbl_80333DE8: +/* 80333DE8 00330D48 9B 9A 00 18 */ stb r28, 0x18(r26) +lbl_80333DEC: +/* 80333DEC 00330D4C 3B 5A 00 1C */ addi r26, r26, 0x1c +lbl_80333DF0: +/* 80333DF0 00330D50 7C 1A D8 40 */ cmplw r26, r27 +/* 80333DF4 00330D54 40 82 FF B8 */ bne lbl_80333DAC +/* 80333DF8 00330D58 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80333DFC 00330D5C 28 03 00 00 */ cmplwi r3, 0 +/* 80333E00 00330D60 41 82 00 08 */ beq lbl_80333E08 +/* 80333E04 00330D64 4B FE 1B 2D */ bl Free__7CMemoryFPCv +lbl_80333E08: +/* 80333E08 00330D68 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80333E0C 00330D6C 93 DD 00 08 */ stw r30, 8(r29) +lbl_80333E10: +/* 80333E10 00330D70 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80333E14 00330D74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333E18 00330D78 7C 08 03 A6 */ mtlr r0 +/* 80333E1C 00330D7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80333E20 00330D80 4E 80 00 20 */ blr + +.global sub_80333e24 +sub_80333e24: +/* 80333E24 00330D84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80333E28 00330D88 7C 08 02 A6 */ mflr r0 +/* 80333E2C 00330D8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80333E30 00330D90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80333E34 00330D94 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80333E38 00330D98 7C 9E 23 78 */ mr r30, r4 +/* 80333E3C 00330D9C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80333E40 00330DA0 7C 7D 1B 78 */ mr r29, r3 +/* 80333E44 00330DA4 80 03 00 08 */ lwz r0, 8(r3) +/* 80333E48 00330DA8 7C 1E 00 00 */ cmpw r30, r0 +/* 80333E4C 00330DAC 40 81 00 8C */ ble lbl_80333ED8 +/* 80333E50 00330DB0 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 80333E54 00330DB4 2C 03 00 00 */ cmpwi r3, 0 +/* 80333E58 00330DB8 40 82 00 0C */ bne lbl_80333E64 +/* 80333E5C 00330DBC 3B E0 00 00 */ li r31, 0 +/* 80333E60 00330DC0 48 00 00 18 */ b lbl_80333E78 +lbl_80333E64: +/* 80333E64 00330DC4 3C 80 80 3D */ lis r4, lbl_803D7978@ha +/* 80333E68 00330DC8 38 A0 00 00 */ li r5, 0 +/* 80333E6C 00330DCC 38 84 79 78 */ addi r4, r4, lbl_803D7978@l +/* 80333E70 00330DD0 4B FE 19 A9 */ bl __nwa__FUlPCcPCc +/* 80333E74 00330DD4 7C 7F 1B 78 */ mr r31, r3 +lbl_80333E78: +/* 80333E78 00330DD8 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333E7C 00330DDC 7F E5 FB 78 */ mr r5, r31 +/* 80333E80 00330DE0 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80333E84 00330DE4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80333E88 00330DE8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80333E8C 00330DEC 38 81 00 0C */ addi r4, r1, 0xc +/* 80333E90 00330DF0 7C C6 02 14 */ add r6, r6, r0 +/* 80333E94 00330DF4 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80333E98 00330DF8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80333E9C 00330DFC 90 C1 00 08 */ stw r6, 8(r1) +/* 80333EA0 00330E00 90 01 00 10 */ stw r0, 0x10(r1) +/* 80333EA4 00330E04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333EA8 00330E08 48 00 00 99 */ bl sub_80333f40 +/* 80333EAC 00330E0C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333EB0 00330E10 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80333EB4 00330E14 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80333EB8 00330E18 7C 83 02 14 */ add r4, r3, r0 +/* 80333EBC 00330E1C 48 00 00 39 */ bl sub_80333ef4 +/* 80333EC0 00330E20 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80333EC4 00330E24 28 03 00 00 */ cmplwi r3, 0 +/* 80333EC8 00330E28 41 82 00 08 */ beq lbl_80333ED0 +/* 80333ECC 00330E2C 4B FE 1A 65 */ bl Free__7CMemoryFPCv +lbl_80333ED0: +/* 80333ED0 00330E30 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80333ED4 00330E34 93 DD 00 08 */ stw r30, 8(r29) +lbl_80333ED8: +/* 80333ED8 00330E38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333EDC 00330E3C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80333EE0 00330E40 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80333EE4 00330E44 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80333EE8 00330E48 7C 08 03 A6 */ mtlr r0 +/* 80333EEC 00330E4C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80333EF0 00330E50 4E 80 00 20 */ blr + +.global sub_80333ef4 +sub_80333ef4: +/* 80333EF4 00330E54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333EF8 00330E58 7C 08 02 A6 */ mflr r0 +/* 80333EFC 00330E5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333F00 00330E60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333F04 00330E64 7C 7F 1B 78 */ mr r31, r3 +/* 80333F08 00330E68 93 C1 00 08 */ stw r30, 8(r1) +/* 80333F0C 00330E6C 7C 9E 23 78 */ mr r30, r4 +/* 80333F10 00330E70 48 00 00 10 */ b lbl_80333F20 +lbl_80333F14: +/* 80333F14 00330E74 7F E3 FB 78 */ mr r3, r31 +/* 80333F18 00330E78 4B FF F8 D1 */ bl sub_803337e8 +/* 80333F1C 00330E7C 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80333F20: +/* 80333F20 00330E80 7C 1F F0 40 */ cmplw r31, r30 +/* 80333F24 00330E84 40 82 FF F0 */ bne lbl_80333F14 +/* 80333F28 00330E88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333F2C 00330E8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333F30 00330E90 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333F34 00330E94 7C 08 03 A6 */ mtlr r0 +/* 80333F38 00330E98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333F3C 00330E9C 4E 80 00 20 */ blr + +.global sub_80333f40 +sub_80333f40: +/* 80333F40 00330EA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333F44 00330EA4 7C 08 02 A6 */ mflr r0 +/* 80333F48 00330EA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333F4C 00330EAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333F50 00330EB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80333F54 00330EB4 7C BE 2B 78 */ mr r30, r5 +/* 80333F58 00330EB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80333F5C 00330EBC 7C 9D 23 78 */ mr r29, r4 +/* 80333F60 00330EC0 83 E3 00 00 */ lwz r31, 0(r3) +/* 80333F64 00330EC4 48 00 00 18 */ b lbl_80333F7C +lbl_80333F68: +/* 80333F68 00330EC8 7F C3 F3 78 */ mr r3, r30 +/* 80333F6C 00330ECC 7F E4 FB 78 */ mr r4, r31 +/* 80333F70 00330ED0 4B FF F9 B9 */ bl sub_80333928 +/* 80333F74 00330ED4 3B DE 00 14 */ addi r30, r30, 0x14 +/* 80333F78 00330ED8 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80333F7C: +/* 80333F7C 00330EDC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80333F80 00330EE0 7C 1F 00 40 */ cmplw r31, r0 +/* 80333F84 00330EE4 40 82 FF E4 */ bne lbl_80333F68 +/* 80333F88 00330EE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80333F8C 00330EEC 7F C3 F3 78 */ mr r3, r30 +/* 80333F90 00330EF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80333F94 00330EF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80333F98 00330EF8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80333F9C 00330EFC 7C 08 03 A6 */ mtlr r0 +/* 80333FA0 00330F00 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333FA4 00330F04 4E 80 00 20 */ blr + +.global HasConstantTexture__15CUVEAnimTextureFv +HasConstantTexture__15CUVEAnimTextureFv: +/* 80333FA8 00330F08 38 60 00 01 */ li r3, 1 +/* 80333FAC 00330F0C 4E 80 00 20 */ blr + +.global HasConstantUV__15CUVEAnimTextureFv +HasConstantUV__15CUVEAnimTextureFv: +/* 80333FB0 00330F10 38 60 00 00 */ li r3, 0 +/* 80333FB4 00330F14 4E 80 00 20 */ blr + +.global GetValueTexture__15CUVEAnimTextureCFi +GetValueTexture__15CUVEAnimTextureCFi: +/* 80333FB8 00330F18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333FBC 00330F1C 7C 08 02 A6 */ mflr r0 +/* 80333FC0 00330F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333FC4 00330F24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333FC8 00330F28 7C 9F 23 78 */ mr r31, r4 +/* 80333FCC 00330F2C 38 9F 00 04 */ addi r4, r31, 4 +/* 80333FD0 00330F30 93 C1 00 08 */ stw r30, 8(r1) +/* 80333FD4 00330F34 7C 7E 1B 78 */ mr r30, r3 +/* 80333FD8 00330F38 48 00 CE D1 */ bl __ct__6CTokenFRC6CToken +/* 80333FDC 00330F3C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80333FE0 00330F40 7F C3 F3 78 */ mr r3, r30 +/* 80333FE4 00330F44 90 1E 00 08 */ stw r0, 8(r30) +/* 80333FE8 00330F48 48 00 CD 9D */ bl Lock__6CTokenFv +/* 80333FEC 00330F4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333FF0 00330F50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333FF4 00330F54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333FF8 00330F58 7C 08 03 A6 */ mtlr r0 +/* 80333FFC 00330F5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334000 00330F60 4E 80 00 20 */ blr + +.global GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet +GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet: +/* 80334004 00330F64 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80334008 00330F68 7C 08 02 A6 */ mflr r0 +/* 8033400C 00330F6C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80334010 00330F70 38 00 00 01 */ li r0, 1 +/* 80334014 00330F74 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80334018 00330F78 7C BF 2B 78 */ mr r31, r5 +/* 8033401C 00330F7C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80334020 00330F80 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80334024 00330F84 7C 7E 1B 78 */ mr r30, r3 +/* 80334028 00330F88 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033402C 00330F8C 7C 9D 23 78 */ mr r29, r4 +/* 80334030 00330F90 90 01 00 0C */ stw r0, 0xc(r1) +/* 80334034 00330F94 80 63 00 28 */ lwz r3, 0x28(r3) +/* 80334038 00330F98 81 83 00 00 */ lwz r12, 0(r3) +/* 8033403C 00330F9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334040 00330FA0 7D 89 03 A6 */ mtctr r12 +/* 80334044 00330FA4 4E 80 04 21 */ bctrl +/* 80334048 00330FA8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8033404C 00330FAC 3C A0 43 30 */ lis r5, 0x4330 +/* 80334050 00330FB0 80 FE 00 20 */ lwz r7, 0x20(r30) +/* 80334054 00330FB4 6F A6 80 00 */ xoris r6, r29, 0x8000 +/* 80334058 00330FB8 6C 04 80 00 */ xoris r4, r0, 0x8000 +/* 8033405C 00330FBC 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80334060 00330FC0 6C E3 80 00 */ xoris r3, r7, 0x8000 +/* 80334064 00330FC4 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80334068 00330FC8 C8 42 CB 40 */ lfd f2, lbl_805AE860@sda21(r2) +/* 8033406C 00330FCC 28 00 00 00 */ cmplwi r0, 0 +/* 80334070 00330FD0 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80334074 00330FD4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80334078 00330FD8 90 61 00 24 */ stw r3, 0x24(r1) +/* 8033407C 00330FDC EC 20 10 28 */ fsubs f1, f0, f2 +/* 80334080 00330FE0 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80334084 00330FE4 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 80334088 00330FE8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8033408C 00330FEC EC 00 10 28 */ fsubs f0, f0, f2 +/* 80334090 00330FF0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80334094 00330FF4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80334098 00330FF8 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 8033409C 00330FFC EC 21 10 28 */ fsubs f1, f1, f2 +/* 803340A0 00331000 EC 01 00 24 */ fdivs f0, f1, f0 +/* 803340A4 00331004 41 82 00 48 */ beq lbl_803340EC +/* 803340A8 00331008 FC 00 00 1E */ fctiwz f0, f0 +/* 803340AC 0033100C 80 0D 9D 30 */ lwz r0, lbl_805A88F0@sda21(r13) +/* 803340B0 00331010 38 61 00 08 */ addi r3, r1, 8 +/* 803340B4 00331014 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 803340B8 00331018 80 81 00 24 */ lwz r4, 0x24(r1) +/* 803340BC 0033101C 7C 04 00 00 */ cmpw r4, r0 +/* 803340C0 00331020 90 81 00 08 */ stw r4, 8(r1) +/* 803340C4 00331024 40 80 00 08 */ bge lbl_803340CC +/* 803340C8 00331028 38 6D 9D 30 */ addi r3, r13, lbl_805A88F0@sda21 +lbl_803340CC: +/* 803340CC 0033102C 80 83 00 00 */ lwz r4, 0(r3) +/* 803340D0 00331030 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803340D4 00331034 7C 04 18 00 */ cmpw r4, r3 +/* 803340D8 00331038 41 80 00 30 */ blt lbl_80334108 +/* 803340DC 0033103C 7C 04 1B D6 */ divw r0, r4, r3 +/* 803340E0 00331040 7C 00 19 D6 */ mullw r0, r0, r3 +/* 803340E4 00331044 7C 80 20 50 */ subf r4, r0, r4 +/* 803340E8 00331048 48 00 00 20 */ b lbl_80334108 +lbl_803340EC: +/* 803340EC 0033104C FC 00 00 1E */ fctiwz f0, f0 +/* 803340F0 00331050 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 803340F4 00331054 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803340F8 00331058 7C 00 38 00 */ cmpw r0, r7 +/* 803340FC 0033105C 7C 04 03 78 */ mr r4, r0 +/* 80334100 00331060 41 80 00 08 */ blt lbl_80334108 +/* 80334104 00331064 38 87 FF FF */ addi r4, r7, -1 +lbl_80334108: +/* 80334108 00331068 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 8033410C 0033106C 54 80 20 36 */ slwi r0, r4, 4 +/* 80334110 00331070 7C 63 02 14 */ add r3, r3, r0 +/* 80334114 00331074 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334118 00331078 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033411C 0033107C C0 03 00 04 */ lfs f0, 4(r3) +/* 80334120 00331080 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80334124 00331084 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334128 00331088 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8033412C 0033108C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80334130 00331090 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80334134 00331094 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80334138 00331098 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033413C 0033109C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80334140 003310A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80334144 003310A4 7C 08 03 A6 */ mtlr r0 +/* 80334148 003310A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033414C 003310AC 4E 80 00 20 */ blr + +.global __dt__15CUVEAnimTextureFv +__dt__15CUVEAnimTextureFv: +/* 80334150 003310B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80334154 003310B4 7C 08 02 A6 */ mflr r0 +/* 80334158 003310B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033415C 003310BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80334160 003310C0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80334164 003310C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80334168 003310C8 7C 9E 23 78 */ mr r30, r4 +/* 8033416C 003310CC 41 82 00 CC */ beq lbl_80334238 +/* 80334170 003310D0 3C 60 80 3F */ lis r3, lbl_803EE118@ha +/* 80334174 003310D4 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l +/* 80334178 003310D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033417C 003310DC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80334180 003310E0 28 03 00 00 */ cmplwi r3, 0 +/* 80334184 003310E4 41 82 00 18 */ beq lbl_8033419C +/* 80334188 003310E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033418C 003310EC 38 80 00 01 */ li r4, 1 +/* 80334190 003310F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334194 003310F4 7D 89 03 A6 */ mtctr r12 +/* 80334198 003310F8 4E 80 04 21 */ bctrl +lbl_8033419C: +/* 8033419C 003310FC 34 1F 00 2C */ addic. r0, r31, 0x2c +/* 803341A0 00331100 41 82 00 44 */ beq lbl_803341E4 +/* 803341A4 00331104 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 803341A8 00331108 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 803341AC 0033110C 54 00 20 36 */ slwi r0, r0, 4 +/* 803341B0 00331110 7C 03 02 14 */ add r0, r3, r0 +/* 803341B4 00331114 90 61 00 0C */ stw r3, 0xc(r1) +/* 803341B8 00331118 7C 64 1B 78 */ mr r4, r3 +/* 803341BC 0033111C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803341C0 00331120 90 01 00 10 */ stw r0, 0x10(r1) +/* 803341C4 00331124 90 61 00 08 */ stw r3, 8(r1) +/* 803341C8 00331128 48 00 00 08 */ b lbl_803341D0 +lbl_803341CC: +/* 803341CC 0033112C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_803341D0: +/* 803341D0 00331130 7C 04 00 40 */ cmplw r4, r0 +/* 803341D4 00331134 40 82 FF F8 */ bne lbl_803341CC +/* 803341D8 00331138 28 03 00 00 */ cmplwi r3, 0 +/* 803341DC 0033113C 41 82 00 08 */ beq lbl_803341E4 +/* 803341E0 00331140 4B FE 17 51 */ bl Free__7CMemoryFPCv +lbl_803341E4: +/* 803341E4 00331144 34 1F 00 04 */ addic. r0, r31, 4 +/* 803341E8 00331148 41 82 00 18 */ beq lbl_80334200 +/* 803341EC 0033114C 34 1F 00 04 */ addic. r0, r31, 4 +/* 803341F0 00331150 41 82 00 10 */ beq lbl_80334200 +/* 803341F4 00331154 38 7F 00 04 */ addi r3, r31, 4 +/* 803341F8 00331158 38 80 00 00 */ li r4, 0 +/* 803341FC 0033115C 48 00 CC 45 */ bl __dt__6CTokenFv +lbl_80334200: +/* 80334200 00331160 28 1F 00 00 */ cmplwi r31, 0 +/* 80334204 00331164 41 82 00 20 */ beq lbl_80334224 +/* 80334208 00331168 3C 60 80 3F */ lis r3, lbl_803EC568@ha +/* 8033420C 0033116C 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l +/* 80334210 00331170 90 1F 00 00 */ stw r0, 0(r31) +/* 80334214 00331174 41 82 00 10 */ beq lbl_80334224 +/* 80334218 00331178 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033421C 0033117C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334220 00331180 90 1F 00 00 */ stw r0, 0(r31) +lbl_80334224: +/* 80334224 00331184 7F C0 07 35 */ extsh. r0, r30 +/* 80334228 00331188 40 81 00 10 */ ble lbl_80334238 +/* 8033422C 0033118C 7F E3 FB 78 */ mr r3, r31 +/* 80334230 00331190 38 80 00 3C */ li r4, 0x3c +/* 80334234 00331194 48 03 88 31 */ bl sub_8036ca64 +lbl_80334238: +/* 80334238 00331198 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033423C 0033119C 7F E3 FB 78 */ mr r3, r31 +/* 80334240 003311A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80334244 003311A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80334248 003311A8 7C 08 03 A6 */ mtlr r0 +/* 8033424C 003311AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80334250 003311B0 4E 80 00 20 */ blr + +.global "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" +"__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb": +/* 80334254 003311B4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80334258 003311B8 7C 08 02 A6 */ mflr r0 +/* 8033425C 003311BC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80334260 003311C0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80334264 003311C4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80334268 003311C8 BF 01 00 70 */ stmw r24, 0x70(r1) +/* 8033426C 003311CC 7C 79 1B 78 */ mr r25, r3 +/* 80334270 003311D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334274 003311D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334278 003311D8 3D 60 80 3F */ lis r11, lbl_803EC568@ha +/* 8033427C 003311DC 90 19 00 00 */ stw r0, 0(r25) +/* 80334280 003311E0 38 0B C5 68 */ addi r0, r11, lbl_803EC568@l +/* 80334284 003311E4 3C 60 80 3F */ lis r3, lbl_803EE118@ha +/* 80334288 003311E8 3B 19 00 04 */ addi r24, r25, 4 +/* 8033428C 003311EC 90 19 00 00 */ stw r0, 0(r25) +/* 80334290 003311F0 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l +/* 80334294 003311F4 7C BF 2B 78 */ mr r31, r5 +/* 80334298 003311F8 7C DE 33 78 */ mr r30, r6 +/* 8033429C 003311FC 90 19 00 00 */ stw r0, 0(r25) +/* 803342A0 00331200 7C FD 3B 78 */ mr r29, r7 +/* 803342A4 00331204 7D 1C 43 78 */ mr r28, r8 +/* 803342A8 00331208 7D 3B 4B 78 */ mr r27, r9 +/* 803342AC 0033120C 7D 5A 53 78 */ mr r26, r10 +/* 803342B0 00331210 7F 03 C3 78 */ mr r3, r24 +/* 803342B4 00331214 48 00 CB F5 */ bl __ct__6CTokenFRC6CToken +/* 803342B8 00331218 7F 03 C3 78 */ mr r3, r24 +/* 803342BC 0033121C 48 00 CB 51 */ bl GetObj__6CTokenFv +/* 803342C0 00331220 80 83 00 04 */ lwz r4, 4(r3) +/* 803342C4 00331224 38 00 00 00 */ li r0, 0 +/* 803342C8 00331228 7F E3 FB 78 */ mr r3, r31 +/* 803342CC 0033122C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803342D0 00331230 90 98 00 08 */ stw r4, 8(r24) +/* 803342D4 00331234 38 80 00 00 */ li r4, 0 +/* 803342D8 00331238 9B 59 00 24 */ stb r26, 0x24(r25) +/* 803342DC 0033123C 90 19 00 30 */ stw r0, 0x30(r25) +/* 803342E0 00331240 90 19 00 34 */ stw r0, 0x34(r25) +/* 803342E4 00331244 90 19 00 38 */ stw r0, 0x38(r25) +/* 803342E8 00331248 90 01 00 10 */ stw r0, 0x10(r1) +/* 803342EC 0033124C 81 9F 00 00 */ lwz r12, 0(r31) +/* 803342F0 00331250 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803342F4 00331254 7D 89 03 A6 */ mtctr r12 +/* 803342F8 00331258 4E 80 04 21 */ bctrl +/* 803342FC 0033125C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80334300 00331260 28 1F 00 00 */ cmplwi r31, 0 +/* 80334304 00331264 90 19 00 10 */ stw r0, 0x10(r25) +/* 80334308 00331268 41 82 00 1C */ beq lbl_80334324 +/* 8033430C 0033126C 7F E3 FB 78 */ mr r3, r31 +/* 80334310 00331270 38 80 00 01 */ li r4, 1 +/* 80334314 00331274 81 9F 00 00 */ lwz r12, 0(r31) +/* 80334318 00331278 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033431C 0033127C 7D 89 03 A6 */ mtctr r12 +/* 80334320 00331280 4E 80 04 21 */ bctrl +lbl_80334324: +/* 80334324 00331284 7F C3 F3 78 */ mr r3, r30 +/* 80334328 00331288 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8033432C 0033128C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80334330 00331290 38 80 00 00 */ li r4, 0 +/* 80334334 00331294 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334338 00331298 7D 89 03 A6 */ mtctr r12 +/* 8033433C 0033129C 4E 80 04 21 */ bctrl +/* 80334340 003312A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80334344 003312A4 28 1E 00 00 */ cmplwi r30, 0 +/* 80334348 003312A8 90 19 00 14 */ stw r0, 0x14(r25) +/* 8033434C 003312AC 41 82 00 1C */ beq lbl_80334368 +/* 80334350 003312B0 7F C3 F3 78 */ mr r3, r30 +/* 80334354 003312B4 38 80 00 01 */ li r4, 1 +/* 80334358 003312B8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8033435C 003312BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334360 003312C0 7D 89 03 A6 */ mtctr r12 +/* 80334364 003312C4 4E 80 04 21 */ bctrl +lbl_80334368: +/* 80334368 003312C8 7F A3 EB 78 */ mr r3, r29 +/* 8033436C 003312CC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80334370 003312D0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80334374 003312D4 38 80 00 00 */ li r4, 0 +/* 80334378 003312D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033437C 003312DC 7D 89 03 A6 */ mtctr r12 +/* 80334380 003312E0 4E 80 04 21 */ bctrl +/* 80334384 003312E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80334388 003312E8 28 1D 00 00 */ cmplwi r29, 0 +/* 8033438C 003312EC 90 19 00 18 */ stw r0, 0x18(r25) +/* 80334390 003312F0 41 82 00 1C */ beq lbl_803343AC +/* 80334394 003312F4 7F A3 EB 78 */ mr r3, r29 +/* 80334398 003312F8 38 80 00 01 */ li r4, 1 +/* 8033439C 003312FC 81 9D 00 00 */ lwz r12, 0(r29) +/* 803343A0 00331300 81 8C 00 08 */ lwz r12, 8(r12) +/* 803343A4 00331304 7D 89 03 A6 */ mtctr r12 +/* 803343A8 00331308 4E 80 04 21 */ bctrl +lbl_803343AC: +/* 803343AC 0033130C 7F 83 E3 78 */ mr r3, r28 +/* 803343B0 00331310 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803343B4 00331314 81 9C 00 00 */ lwz r12, 0(r28) +/* 803343B8 00331318 38 80 00 00 */ li r4, 0 +/* 803343BC 0033131C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803343C0 00331320 7D 89 03 A6 */ mtctr r12 +/* 803343C4 00331324 4E 80 04 21 */ bctrl +/* 803343C8 00331328 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803343CC 0033132C 28 1C 00 00 */ cmplwi r28, 0 +/* 803343D0 00331330 90 19 00 1C */ stw r0, 0x1c(r25) +/* 803343D4 00331334 41 82 00 1C */ beq lbl_803343F0 +/* 803343D8 00331338 7F 83 E3 78 */ mr r3, r28 +/* 803343DC 0033133C 38 80 00 01 */ li r4, 1 +/* 803343E0 00331340 81 9C 00 00 */ lwz r12, 0(r28) +/* 803343E4 00331344 81 8C 00 08 */ lwz r12, 8(r12) +/* 803343E8 00331348 7D 89 03 A6 */ mtctr r12 +/* 803343EC 0033134C 4E 80 04 21 */ bctrl +lbl_803343F0: +/* 803343F0 00331350 93 79 00 28 */ stw r27, 0x28(r25) +/* 803343F4 00331354 38 AD 9D 28 */ addi r5, r13, lbl_805A88E8@sda21 +/* 803343F8 00331358 80 99 00 0C */ lwz r4, 0xc(r25) +/* 803343FC 0033135C 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80334400 00331360 AB 64 00 04 */ lha r27, 4(r4) +/* 80334404 00331364 80 0D 9D 28 */ lwz r0, lbl_805A88E8@sda21(r13) +/* 80334408 00331368 7C 7B 1B D6 */ divw r3, r27, r3 +/* 8033440C 0033136C AB A4 00 06 */ lha r29, 6(r4) +/* 80334410 00331370 7C 00 18 00 */ cmpw r0, r3 +/* 80334414 00331374 90 61 00 0C */ stw r3, 0xc(r1) +/* 80334418 00331378 40 80 00 08 */ bge lbl_80334420 +/* 8033441C 0033137C 38 A1 00 0C */ addi r5, r1, 0xc +lbl_80334420: +/* 80334420 00331380 80 99 00 1C */ lwz r4, 0x1c(r25) +/* 80334424 00331384 38 6D 9D 2C */ addi r3, r13, lbl_805A88EC@sda21 +/* 80334428 00331388 80 0D 9D 2C */ lwz r0, lbl_805A88EC@sda21(r13) +/* 8033442C 0033138C 7C 9D 23 D6 */ divw r4, r29, r4 +/* 80334430 00331390 83 85 00 00 */ lwz r28, 0(r5) +/* 80334434 00331394 7C 00 20 00 */ cmpw r0, r4 +/* 80334438 00331398 90 81 00 08 */ stw r4, 8(r1) +/* 8033443C 0033139C 40 80 00 08 */ bge lbl_80334444 +/* 80334440 003313A0 38 61 00 08 */ addi r3, r1, 8 +lbl_80334444: +/* 80334444 003313A4 83 43 00 00 */ lwz r26, 0(r3) +/* 80334448 003313A8 38 79 00 2C */ addi r3, r25, 0x2c +/* 8033444C 003313AC 7C 9C D1 D6 */ mullw r4, r28, r26 +/* 80334450 003313B0 90 99 00 20 */ stw r4, 0x20(r25) +/* 80334454 003313B4 48 00 03 21 */ bl sub_80334774 +/* 80334458 003313B8 CB E2 CB 40 */ lfd f31, lbl_805AE860@sda21(r2) +/* 8033445C 003313BC 3B 5A FF FF */ addi r26, r26, -1 +/* 80334460 003313C0 6F 7E 80 00 */ xoris r30, r27, 0x8000 +/* 80334464 003313C4 6F BF 80 00 */ xoris r31, r29, 0x8000 +/* 80334468 003313C8 3F A0 43 30 */ lis r29, 0x4330 +/* 8033446C 003313CC 48 00 01 54 */ b lbl_803345C0 +lbl_80334470: +/* 80334470 003313D0 3B 60 00 00 */ li r27, 0 +/* 80334474 003313D4 48 00 01 40 */ b lbl_803345B4 +lbl_80334478: +/* 80334478 003313D8 80 19 00 18 */ lwz r0, 0x18(r25) +/* 8033447C 003313DC 80 B9 00 1C */ lwz r5, 0x1c(r25) +/* 80334480 003313E0 7C C0 D9 D6 */ mullw r6, r0, r27 +/* 80334484 003313E4 80 99 00 10 */ lwz r4, 0x10(r25) +/* 80334488 003313E8 80 79 00 14 */ lwz r3, 0x14(r25) +/* 8033448C 003313EC 93 A1 00 28 */ stw r29, 0x28(r1) +/* 80334490 003313F0 80 19 00 30 */ lwz r0, 0x30(r25) +/* 80334494 003313F4 80 F9 00 34 */ lwz r7, 0x34(r25) +/* 80334498 003313F8 7C A5 D1 D6 */ mullw r5, r5, r26 +/* 8033449C 003313FC 7C 84 32 14 */ add r4, r4, r6 +/* 803344A0 00331400 6C C6 80 00 */ xoris r6, r6, 0x8000 +/* 803344A4 00331404 93 C1 00 34 */ stw r30, 0x34(r1) +/* 803344A8 00331408 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 803344AC 0033140C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 803344B0 00331410 7C 63 2A 14 */ add r3, r3, r5 +/* 803344B4 00331414 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 803344B8 00331418 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 803344BC 0033141C 93 A1 00 30 */ stw r29, 0x30(r1) +/* 803344C0 00331420 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 803344C4 00331424 7C 00 38 00 */ cmpw r0, r7 +/* 803344C8 00331428 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 803344CC 0033142C 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 803344D0 00331430 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 803344D4 00331434 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 803344D8 00331438 93 A1 00 38 */ stw r29, 0x38(r1) +/* 803344DC 0033143C C8 41 00 38 */ lfd f2, 0x38(r1) +/* 803344E0 00331440 EC 61 00 24 */ fdivs f3, f1, f0 +/* 803344E4 00331444 93 E1 00 44 */ stw r31, 0x44(r1) +/* 803344E8 00331448 93 A1 00 40 */ stw r29, 0x40(r1) +/* 803344EC 0033144C C8 21 00 40 */ lfd f1, 0x40(r1) +/* 803344F0 00331450 90 81 00 4C */ stw r4, 0x4c(r1) +/* 803344F4 00331454 93 A1 00 48 */ stw r29, 0x48(r1) +/* 803344F8 00331458 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 803344FC 0033145C EC 42 F8 28 */ fsubs f2, f2, f31 +/* 80334500 00331460 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80334504 00331464 93 C1 00 54 */ stw r30, 0x54(r1) +/* 80334508 00331468 EC 80 F8 28 */ fsubs f4, f0, f31 +/* 8033450C 0033146C 93 A1 00 50 */ stw r29, 0x50(r1) +/* 80334510 00331470 EC 42 08 24 */ fdivs f2, f2, f1 +/* 80334514 00331474 C8 21 00 50 */ lfd f1, 0x50(r1) +/* 80334518 00331478 90 61 00 5C */ stw r3, 0x5c(r1) +/* 8033451C 0033147C 93 A1 00 58 */ stw r29, 0x58(r1) +/* 80334520 00331480 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80334524 00331484 93 E1 00 64 */ stw r31, 0x64(r1) +/* 80334528 00331488 93 A1 00 60 */ stw r29, 0x60(r1) +/* 8033452C 0033148C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80334530 00331490 EC A0 F8 28 */ fsubs f5, f0, f31 +/* 80334534 00331494 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 80334538 00331498 EC 24 08 24 */ fdivs f1, f4, f1 +/* 8033453C 0033149C D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80334540 003314A0 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80334544 003314A4 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80334548 003314A8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8033454C 003314AC EC 05 00 24 */ fdivs f0, f5, f0 +/* 80334550 003314B0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80334554 003314B4 41 80 00 1C */ blt lbl_80334570 +/* 80334558 003314B8 2C 07 00 00 */ cmpwi r7, 0 +/* 8033455C 003314BC 38 79 00 2C */ addi r3, r25, 0x2c +/* 80334560 003314C0 38 80 00 04 */ li r4, 4 +/* 80334564 003314C4 41 82 00 08 */ beq lbl_8033456C +/* 80334568 003314C8 54 E4 08 3C */ slwi r4, r7, 1 +lbl_8033456C: +/* 8033456C 003314CC 48 00 02 09 */ bl sub_80334774 +lbl_80334570: +/* 80334570 003314D0 80 19 00 30 */ lwz r0, 0x30(r25) +/* 80334574 003314D4 80 79 00 38 */ lwz r3, 0x38(r25) +/* 80334578 003314D8 54 00 20 36 */ slwi r0, r0, 4 +/* 8033457C 003314DC 7C 83 02 15 */ add. r4, r3, r0 +/* 80334580 003314E0 41 82 00 24 */ beq lbl_803345A4 +/* 80334584 003314E4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80334588 003314E8 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8033458C 003314EC 90 64 00 00 */ stw r3, 0(r4) +/* 80334590 003314F0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80334594 003314F4 90 04 00 04 */ stw r0, 4(r4) +/* 80334598 003314F8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8033459C 003314FC 90 64 00 08 */ stw r3, 8(r4) +/* 803345A0 00331500 90 04 00 0C */ stw r0, 0xc(r4) +lbl_803345A4: +/* 803345A4 00331504 80 79 00 30 */ lwz r3, 0x30(r25) +/* 803345A8 00331508 3B 7B 00 01 */ addi r27, r27, 1 +/* 803345AC 0033150C 38 03 00 01 */ addi r0, r3, 1 +/* 803345B0 00331510 90 19 00 30 */ stw r0, 0x30(r25) +lbl_803345B4: +/* 803345B4 00331514 7C 1B E0 00 */ cmpw r27, r28 +/* 803345B8 00331518 41 80 FE C0 */ blt lbl_80334478 +/* 803345BC 0033151C 3B 5A FF FF */ addi r26, r26, -1 +lbl_803345C0: +/* 803345C0 00331520 2C 1A 00 00 */ cmpwi r26, 0 +/* 803345C4 00331524 40 80 FE AC */ bge lbl_80334470 +/* 803345C8 00331528 7F 23 CB 78 */ mr r3, r25 +/* 803345CC 0033152C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 803345D0 00331530 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 803345D4 00331534 BB 01 00 70 */ lmw r24, 0x70(r1) +/* 803345D8 00331538 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 803345DC 0033153C 7C 08 03 A6 */ mtlr r0 +/* 803345E0 00331540 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 803345E4 00331544 4E 80 00 20 */ blr + +.global GetValueTexture__12CUVEConstantCFi +GetValueTexture__12CUVEConstantCFi: +/* 803345E8 00331548 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803345EC 0033154C 7C 08 02 A6 */ mflr r0 +/* 803345F0 00331550 90 01 00 14 */ stw r0, 0x14(r1) +/* 803345F4 00331554 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803345F8 00331558 7C 9F 23 78 */ mr r31, r4 +/* 803345FC 0033155C 38 9F 00 04 */ addi r4, r31, 4 +/* 80334600 00331560 93 C1 00 08 */ stw r30, 8(r1) +/* 80334604 00331564 7C 7E 1B 78 */ mr r30, r3 +/* 80334608 00331568 48 00 C8 A1 */ bl __ct__6CTokenFRC6CToken +/* 8033460C 0033156C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80334610 00331570 7F C3 F3 78 */ mr r3, r30 +/* 80334614 00331574 90 1E 00 08 */ stw r0, 8(r30) +/* 80334618 00331578 48 00 C7 6D */ bl Lock__6CTokenFv +/* 8033461C 0033157C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334620 00331580 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334624 00331584 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334628 00331588 7C 08 03 A6 */ mtlr r0 +/* 8033462C 0033158C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334630 00331590 4E 80 00 20 */ blr + +.global GetValueUV__12CUVEConstantCFiR13SUVElementSet +GetValueUV__12CUVEConstantCFiR13SUVElementSet: +/* 80334634 00331594 C0 22 CB 48 */ lfs f1, lbl_805AE868@sda21(r2) +/* 80334638 00331598 C0 02 CB 4C */ lfs f0, lbl_805AE86C@sda21(r2) +/* 8033463C 0033159C D0 25 00 00 */ stfs f1, 0(r5) +/* 80334640 003315A0 D0 25 00 04 */ stfs f1, 4(r5) +/* 80334644 003315A4 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334648 003315A8 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8033464C 003315AC 4E 80 00 20 */ blr + +.global __dt__12CUVEConstantFv +__dt__12CUVEConstantFv: +/* 80334650 003315B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334654 003315B4 7C 08 02 A6 */ mflr r0 +/* 80334658 003315B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033465C 003315BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334660 003315C0 7C 9F 23 78 */ mr r31, r4 +/* 80334664 003315C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80334668 003315C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033466C 003315CC 41 82 00 64 */ beq lbl_803346D0 +/* 80334670 003315D0 3C 60 80 3F */ lis r3, lbl_803EE134@ha +/* 80334674 003315D4 34 1E 00 04 */ addic. r0, r30, 4 +/* 80334678 003315D8 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l +/* 8033467C 003315DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80334680 003315E0 41 82 00 18 */ beq lbl_80334698 +/* 80334684 003315E4 34 1E 00 04 */ addic. r0, r30, 4 +/* 80334688 003315E8 41 82 00 10 */ beq lbl_80334698 +/* 8033468C 003315EC 38 7E 00 04 */ addi r3, r30, 4 +/* 80334690 003315F0 38 80 00 00 */ li r4, 0 +/* 80334694 003315F4 48 00 C7 AD */ bl __dt__6CTokenFv +lbl_80334698: +/* 80334698 003315F8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033469C 003315FC 41 82 00 20 */ beq lbl_803346BC +/* 803346A0 00331600 3C 60 80 3F */ lis r3, lbl_803EC568@ha +/* 803346A4 00331604 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l +/* 803346A8 00331608 90 1E 00 00 */ stw r0, 0(r30) +/* 803346AC 0033160C 41 82 00 10 */ beq lbl_803346BC +/* 803346B0 00331610 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803346B4 00331614 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803346B8 00331618 90 1E 00 00 */ stw r0, 0(r30) +lbl_803346BC: +/* 803346BC 0033161C 7F E0 07 35 */ extsh. r0, r31 +/* 803346C0 00331620 40 81 00 10 */ ble lbl_803346D0 +/* 803346C4 00331624 7F C3 F3 78 */ mr r3, r30 +/* 803346C8 00331628 38 80 00 10 */ li r4, 0x10 +/* 803346CC 0033162C 48 03 83 99 */ bl sub_8036ca64 +lbl_803346D0: +/* 803346D0 00331630 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803346D4 00331634 7F C3 F3 78 */ mr r3, r30 +/* 803346D8 00331638 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803346DC 0033163C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803346E0 00331640 7C 08 03 A6 */ mtlr r0 +/* 803346E4 00331644 38 21 00 10 */ addi r1, r1, 0x10 +/* 803346E8 00331648 4E 80 00 20 */ blr + +.global "__ct__12CUVEConstantF17TToken<8CTexture>" +"__ct__12CUVEConstantF17TToken<8CTexture>": +/* 803346EC 0033164C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803346F0 00331650 7C 08 02 A6 */ mflr r0 +/* 803346F4 00331654 3C A0 80 3F */ lis r5, lbl_803EC568@ha +/* 803346F8 00331658 90 01 00 14 */ stw r0, 0x14(r1) +/* 803346FC 0033165C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334700 00331660 7C 7F 1B 78 */ mr r31, r3 +/* 80334704 00331664 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334708 00331668 93 C1 00 08 */ stw r30, 8(r1) +/* 8033470C 0033166C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334710 00331670 3C 60 80 3F */ lis r3, lbl_803EE134@ha +/* 80334714 00331674 3B DF 00 04 */ addi r30, r31, 4 +/* 80334718 00331678 90 1F 00 00 */ stw r0, 0(r31) +/* 8033471C 0033167C 38 05 C5 68 */ addi r0, r5, lbl_803EC568@l +/* 80334720 00331680 7F E6 FB 78 */ mr r6, r31 +/* 80334724 00331684 90 1F 00 00 */ stw r0, 0(r31) +/* 80334728 00331688 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l +/* 8033472C 0033168C 7F C3 F3 78 */ mr r3, r30 +/* 80334730 00331690 90 1F 00 00 */ stw r0, 0(r31) +/* 80334734 00331694 48 00 C7 75 */ bl __ct__6CTokenFRC6CToken +/* 80334738 00331698 7F C3 F3 78 */ mr r3, r30 +/* 8033473C 0033169C 48 00 C6 D1 */ bl GetObj__6CTokenFv +/* 80334740 003316A0 80 03 00 04 */ lwz r0, 4(r3) +/* 80334744 003316A4 7F E3 FB 78 */ mr r3, r31 +/* 80334748 003316A8 90 1E 00 08 */ stw r0, 8(r30) +/* 8033474C 003316AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334750 003316B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334754 003316B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334758 003316B8 7C 08 03 A6 */ mtlr r0 +/* 8033475C 003316BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334760 003316C0 4E 80 00 20 */ blr + +.global HasConstantTexture__12CUVEConstantFv +HasConstantTexture__12CUVEConstantFv: +/* 80334764 003316C4 38 60 00 01 */ li r3, 1 +/* 80334768 003316C8 4E 80 00 20 */ blr + +.global HasConstantUV__12CUVEConstantFv +HasConstantUV__12CUVEConstantFv: +/* 8033476C 003316CC 38 60 00 01 */ li r3, 1 +/* 80334770 003316D0 4E 80 00 20 */ blr + +.global sub_80334774 +sub_80334774: +/* 80334774 003316D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80334778 003316D8 7C 08 02 A6 */ mflr r0 +/* 8033477C 003316DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80334780 003316E0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80334784 003316E4 7C 9F 23 78 */ mr r31, r4 +/* 80334788 003316E8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033478C 003316EC 7C 7E 1B 78 */ mr r30, r3 +/* 80334790 003316F0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80334794 003316F4 80 03 00 08 */ lwz r0, 8(r3) +/* 80334798 003316F8 7C 1F 00 00 */ cmpw r31, r0 +/* 8033479C 003316FC 40 81 00 C0 */ ble lbl_8033485C +/* 803347A0 00331700 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 803347A4 00331704 40 82 00 0C */ bne lbl_803347B0 +/* 803347A8 00331708 3B A0 00 00 */ li r29, 0 +/* 803347AC 0033170C 48 00 00 18 */ b lbl_803347C4 +lbl_803347B0: +/* 803347B0 00331710 3C 80 80 3D */ lis r4, lbl_803D7980@ha +/* 803347B4 00331714 38 A0 00 00 */ li r5, 0 +/* 803347B8 00331718 38 84 79 80 */ addi r4, r4, lbl_803D7980@l +/* 803347BC 0033171C 4B FE 10 5D */ bl __nwa__FUlPCcPCc +/* 803347C0 00331720 7C 7D 1B 78 */ mr r29, r3 +lbl_803347C4: +/* 803347C4 00331724 80 1E 00 04 */ lwz r0, 4(r30) +/* 803347C8 00331728 7F A5 EB 78 */ mr r5, r29 +/* 803347CC 0033172C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 803347D0 00331730 54 00 20 36 */ slwi r0, r0, 4 +/* 803347D4 00331734 7C 86 02 14 */ add r4, r6, r0 +/* 803347D8 00331738 90 C1 00 10 */ stw r6, 0x10(r1) +/* 803347DC 0033173C 90 81 00 08 */ stw r4, 8(r1) +/* 803347E0 00331740 90 81 00 0C */ stw r4, 0xc(r1) +/* 803347E4 00331744 90 C1 00 14 */ stw r6, 0x14(r1) +/* 803347E8 00331748 48 00 00 34 */ b lbl_8033481C +lbl_803347EC: +/* 803347EC 0033174C 28 05 00 00 */ cmplwi r5, 0 +/* 803347F0 00331750 41 82 00 24 */ beq lbl_80334814 +/* 803347F4 00331754 80 66 00 00 */ lwz r3, 0(r6) +/* 803347F8 00331758 80 06 00 04 */ lwz r0, 4(r6) +/* 803347FC 0033175C 90 65 00 00 */ stw r3, 0(r5) +/* 80334800 00331760 90 05 00 04 */ stw r0, 4(r5) +/* 80334804 00331764 80 66 00 08 */ lwz r3, 8(r6) +/* 80334808 00331768 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8033480C 0033176C 90 65 00 08 */ stw r3, 8(r5) +/* 80334810 00331770 90 05 00 0C */ stw r0, 0xc(r5) +lbl_80334814: +/* 80334814 00331774 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80334818 00331778 38 C6 00 10 */ addi r6, r6, 0x10 +lbl_8033481C: +/* 8033481C 0033177C 7C 06 20 40 */ cmplw r6, r4 +/* 80334820 00331780 40 82 FF CC */ bne lbl_803347EC +/* 80334824 00331784 80 1E 00 04 */ lwz r0, 4(r30) +/* 80334828 00331788 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8033482C 0033178C 54 00 20 36 */ slwi r0, r0, 4 +/* 80334830 00331790 7C 64 1B 78 */ mr r4, r3 +/* 80334834 00331794 7C 03 02 14 */ add r0, r3, r0 +/* 80334838 00331798 48 00 00 08 */ b lbl_80334840 +lbl_8033483C: +/* 8033483C 0033179C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80334840: +/* 80334840 003317A0 7C 04 00 40 */ cmplw r4, r0 +/* 80334844 003317A4 40 82 FF F8 */ bne lbl_8033483C +/* 80334848 003317A8 28 03 00 00 */ cmplwi r3, 0 +/* 8033484C 003317AC 41 82 00 08 */ beq lbl_80334854 +/* 80334850 003317B0 4B FE 10 E1 */ bl Free__7CMemoryFPCv +lbl_80334854: +/* 80334854 003317B4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80334858 003317B8 93 FE 00 08 */ stw r31, 8(r30) +lbl_8033485C: +/* 8033485C 003317BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80334860 003317C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80334864 003317C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80334868 003317C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033486C 003317CC 7C 08 03 A6 */ mtlr r0 +/* 80334870 003317D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80334874 003317D4 4E 80 00 20 */ blr + +.global GetValue__7CVECVTCCFiR9CVector3f +GetValue__7CVECVTCCFiR9CVector3f: +/* 80334878 003317D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033487C 003317DC 7C 08 02 A6 */ mflr r0 +/* 80334880 003317E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80334884 003317E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80334888 003317E8 7C BF 2B 78 */ mr r31, r5 +/* 8033488C 003317EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80334890 003317F0 7C 9E 23 78 */ mr r30, r4 +/* 80334894 003317F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80334898 003317F8 7C 7D 1B 78 */ mr r29, r3 +/* 8033489C 003317FC 48 01 57 19 */ bl Black__6CColorFv +/* 803348A0 00331800 80 03 00 00 */ lwz r0, 0(r3) +/* 803348A4 00331804 7F C4 F3 78 */ mr r4, r30 +/* 803348A8 00331808 80 7D 00 04 */ lwz r3, 4(r29) +/* 803348AC 0033180C 38 A1 00 08 */ addi r5, r1, 8 +/* 803348B0 00331810 90 01 00 08 */ stw r0, 8(r1) +/* 803348B4 00331814 81 83 00 00 */ lwz r12, 0(r3) +/* 803348B8 00331818 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803348BC 0033181C 7D 89 03 A6 */ mtctr r12 +/* 803348C0 00331820 4E 80 04 21 */ bctrl +/* 803348C4 00331824 E0 01 A0 08 */ psq_l f0, 8(r1), 1, qr2 +/* 803348C8 00331828 C0 22 CB 50 */ lfs f1, lbl_805AE870@sda21(r2) +/* 803348CC 0033182C EC 01 00 32 */ fmuls f0, f1, f0 +/* 803348D0 00331830 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803348D4 00331834 E0 01 A0 09 */ psq_l f0, 9(r1), 1, qr2 +/* 803348D8 00331838 EC 01 00 32 */ fmuls f0, f1, f0 +/* 803348DC 0033183C D0 1F 00 04 */ stfs f0, 4(r31) +/* 803348E0 00331840 E0 01 A0 0A */ psq_l f0, 10(r1), 1, qr2 +/* 803348E4 00331844 38 60 00 00 */ li r3, 0 +/* 803348E8 00331848 EC 01 00 32 */ fmuls f0, f1, f0 +/* 803348EC 0033184C D0 1F 00 08 */ stfs f0, 8(r31) +/* 803348F0 00331850 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803348F4 00331854 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803348F8 00331858 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803348FC 0033185C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80334900 00331860 7C 08 03 A6 */ mtlr r0 +/* 80334904 00331864 38 21 00 20 */ addi r1, r1, 0x20 +/* 80334908 00331868 4E 80 00 20 */ blr + +.global __dt__7CVECVTC +__dt__7CVECVTC: +/* 8033490C 0033186C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334910 00331870 7C 08 02 A6 */ mflr r0 +/* 80334914 00331874 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334918 00331878 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033491C 0033187C 7C 9F 23 78 */ mr r31, r4 +/* 80334920 00331880 93 C1 00 08 */ stw r30, 8(r1) +/* 80334924 00331884 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80334928 00331888 41 82 00 68 */ beq lbl_80334990 +/* 8033492C 0033188C 3C 60 80 3F */ lis r3, lbl_803EE150@ha +/* 80334930 00331890 38 03 E1 50 */ addi r0, r3, lbl_803EE150@l +/* 80334934 00331894 90 1E 00 00 */ stw r0, 0(r30) +/* 80334938 00331898 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033493C 0033189C 28 03 00 00 */ cmplwi r3, 0 +/* 80334940 003318A0 41 82 00 18 */ beq lbl_80334958 +/* 80334944 003318A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80334948 003318A8 38 80 00 01 */ li r4, 1 +/* 8033494C 003318AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334950 003318B0 7D 89 03 A6 */ mtctr r12 +/* 80334954 003318B4 4E 80 04 21 */ bctrl +lbl_80334958: +/* 80334958 003318B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033495C 003318BC 41 82 00 20 */ beq lbl_8033497C +/* 80334960 003318C0 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80334964 003318C4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80334968 003318C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033496C 003318CC 41 82 00 10 */ beq lbl_8033497C +/* 80334970 003318D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334974 003318D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334978 003318D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033497C: +/* 8033497C 003318DC 7F E0 07 35 */ extsh. r0, r31 +/* 80334980 003318E0 40 81 00 10 */ ble lbl_80334990 +/* 80334984 003318E4 7F C3 F3 78 */ mr r3, r30 +/* 80334988 003318E8 38 80 00 08 */ li r4, 8 +/* 8033498C 003318EC 48 03 80 D9 */ bl sub_8036ca64 +lbl_80334990: +/* 80334990 003318F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334994 003318F4 7F C3 F3 78 */ mr r3, r30 +/* 80334998 003318F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033499C 003318FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803349A0 00331900 7C 08 03 A6 */ mtlr r0 +/* 803349A4 00331904 38 21 00 10 */ addi r1, r1, 0x10 +/* 803349A8 00331908 4E 80 00 20 */ blr + +.global __ct__7CVECTVCFP13CColorElement +__ct__7CVECTVCFP13CColorElement: +/* 803349AC 0033190C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803349B0 00331910 3C C0 80 3F */ lis r6, lbl_803EC594@ha +/* 803349B4 00331914 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803349B8 00331918 3C A0 80 3F */ lis r5, lbl_803EE150@ha +/* 803349BC 0033191C 90 03 00 00 */ stw r0, 0(r3) +/* 803349C0 00331920 38 C6 C5 94 */ addi r6, r6, lbl_803EC594@l +/* 803349C4 00331924 38 05 E1 50 */ addi r0, r5, lbl_803EE150@l +/* 803349C8 00331928 90 C3 00 00 */ stw r6, 0(r3) +/* 803349CC 0033192C 90 03 00 00 */ stw r0, 0(r3) +/* 803349D0 00331930 90 83 00 04 */ stw r4, 4(r3) +/* 803349D4 00331934 4E 80 00 20 */ blr + +.global GetValue__11CVESubtractCFiR9CVector3f +GetValue__11CVESubtractCFiR9CVector3f: +/* 803349D8 00331938 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803349DC 0033193C 7C 08 02 A6 */ mflr r0 +/* 803349E0 00331940 3C C0 80 5A */ lis r6, skZero3f@ha +/* 803349E4 00331944 90 01 00 34 */ stw r0, 0x34(r1) +/* 803349E8 00331948 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803349EC 0033194C 7C BF 2B 78 */ mr r31, r5 +/* 803349F0 00331950 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803349F4 00331954 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803349F8 00331958 7C 9E 23 78 */ mr r30, r4 +/* 803349FC 0033195C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80334A00 00331960 7C 7D 1B 78 */ mr r29, r3 +/* 80334A04 00331964 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 80334A08 00331968 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334A0C 0033196C C0 23 00 04 */ lfs f1, 4(r3) +/* 80334A10 00331970 C0 43 00 08 */ lfs f2, 8(r3) +/* 80334A14 00331974 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80334A18 00331978 80 7D 00 04 */ lwz r3, 4(r29) +/* 80334A1C 0033197C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80334A20 00331980 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80334A24 00331984 D0 01 00 08 */ stfs f0, 8(r1) +/* 80334A28 00331988 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80334A2C 0033198C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80334A30 00331990 81 83 00 00 */ lwz r12, 0(r3) +/* 80334A34 00331994 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334A38 00331998 7D 89 03 A6 */ mtctr r12 +/* 80334A3C 0033199C 4E 80 04 21 */ bctrl +/* 80334A40 003319A0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80334A44 003319A4 7F C4 F3 78 */ mr r4, r30 +/* 80334A48 003319A8 38 A1 00 08 */ addi r5, r1, 8 +/* 80334A4C 003319AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80334A50 003319B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334A54 003319B4 7D 89 03 A6 */ mtctr r12 +/* 80334A58 003319B8 4E 80 04 21 */ bctrl +/* 80334A5C 003319BC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80334A60 003319C0 38 60 00 00 */ li r3, 0 +/* 80334A64 003319C4 C0 01 00 08 */ lfs f0, 8(r1) +/* 80334A68 003319C8 C0 81 00 18 */ lfs f4, 0x18(r1) +/* 80334A6C 003319CC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80334A70 003319D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80334A74 003319D4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80334A78 003319D8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80334A7C 003319DC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80334A80 003319E0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334A84 003319E4 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80334A88 003319E8 D0 7F 00 04 */ stfs f3, 4(r31) +/* 80334A8C 003319EC D0 1F 00 08 */ stfs f0, 8(r31) +/* 80334A90 003319F0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80334A94 003319F4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80334A98 003319F8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80334A9C 003319FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80334AA0 00331A00 7C 08 03 A6 */ mtlr r0 +/* 80334AA4 00331A04 38 21 00 30 */ addi r1, r1, 0x30 +/* 80334AA8 00331A08 4E 80 00 20 */ blr + +.global __dt__11CVESubtract +__dt__11CVESubtract: +/* 80334AAC 00331A0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334AB0 00331A10 7C 08 02 A6 */ mflr r0 +/* 80334AB4 00331A14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334AB8 00331A18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334ABC 00331A1C 7C 9F 23 78 */ mr r31, r4 +/* 80334AC0 00331A20 93 C1 00 08 */ stw r30, 8(r1) +/* 80334AC4 00331A24 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80334AC8 00331A28 41 82 00 88 */ beq lbl_80334B50 +/* 80334ACC 00331A2C 3C 60 80 3F */ lis r3, lbl_803EE164@ha +/* 80334AD0 00331A30 38 03 E1 64 */ addi r0, r3, lbl_803EE164@l +/* 80334AD4 00331A34 90 1E 00 00 */ stw r0, 0(r30) +/* 80334AD8 00331A38 80 7E 00 04 */ lwz r3, 4(r30) +/* 80334ADC 00331A3C 28 03 00 00 */ cmplwi r3, 0 +/* 80334AE0 00331A40 41 82 00 18 */ beq lbl_80334AF8 +/* 80334AE4 00331A44 81 83 00 00 */ lwz r12, 0(r3) +/* 80334AE8 00331A48 38 80 00 01 */ li r4, 1 +/* 80334AEC 00331A4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334AF0 00331A50 7D 89 03 A6 */ mtctr r12 +/* 80334AF4 00331A54 4E 80 04 21 */ bctrl +lbl_80334AF8: +/* 80334AF8 00331A58 80 7E 00 08 */ lwz r3, 8(r30) +/* 80334AFC 00331A5C 28 03 00 00 */ cmplwi r3, 0 +/* 80334B00 00331A60 41 82 00 18 */ beq lbl_80334B18 +/* 80334B04 00331A64 81 83 00 00 */ lwz r12, 0(r3) +/* 80334B08 00331A68 38 80 00 01 */ li r4, 1 +/* 80334B0C 00331A6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334B10 00331A70 7D 89 03 A6 */ mtctr r12 +/* 80334B14 00331A74 4E 80 04 21 */ bctrl +lbl_80334B18: +/* 80334B18 00331A78 28 1E 00 00 */ cmplwi r30, 0 +/* 80334B1C 00331A7C 41 82 00 20 */ beq lbl_80334B3C +/* 80334B20 00331A80 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80334B24 00331A84 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80334B28 00331A88 90 1E 00 00 */ stw r0, 0(r30) +/* 80334B2C 00331A8C 41 82 00 10 */ beq lbl_80334B3C +/* 80334B30 00331A90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334B34 00331A94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334B38 00331A98 90 1E 00 00 */ stw r0, 0(r30) +lbl_80334B3C: +/* 80334B3C 00331A9C 7F E0 07 35 */ extsh. r0, r31 +/* 80334B40 00331AA0 40 81 00 10 */ ble lbl_80334B50 +/* 80334B44 00331AA4 7F C3 F3 78 */ mr r3, r30 +/* 80334B48 00331AA8 38 80 00 0C */ li r4, 0xc +/* 80334B4C 00331AAC 48 03 7F 19 */ bl sub_8036ca64 +lbl_80334B50: +/* 80334B50 00331AB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334B54 00331AB4 7F C3 F3 78 */ mr r3, r30 +/* 80334B58 00331AB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334B5C 00331ABC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334B60 00331AC0 7C 08 03 A6 */ mtlr r0 +/* 80334B64 00331AC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334B68 00331AC8 4E 80 00 20 */ blr + +.global __ct__10CVESubractFP14CVectorElementP14CVectorElement +__ct__10CVESubractFP14CVectorElementP14CVectorElement: +/* 80334B6C 00331ACC 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80334B70 00331AD0 3C E0 80 3F */ lis r7, lbl_803EC594@ha +/* 80334B74 00331AD4 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80334B78 00331AD8 3C C0 80 3F */ lis r6, lbl_803EE164@ha +/* 80334B7C 00331ADC 90 03 00 00 */ stw r0, 0(r3) +/* 80334B80 00331AE0 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l +/* 80334B84 00331AE4 38 06 E1 64 */ addi r0, r6, lbl_803EE164@l +/* 80334B88 00331AE8 90 E3 00 00 */ stw r7, 0(r3) +/* 80334B8C 00331AEC 90 03 00 00 */ stw r0, 0(r3) +/* 80334B90 00331AF0 90 83 00 04 */ stw r4, 4(r3) +/* 80334B94 00331AF4 90 A3 00 08 */ stw r5, 8(r3) +/* 80334B98 00331AF8 4E 80 00 20 */ blr + +.global GetValue__28CVEParticleSystemTranslationCFiR9CVector3f +GetValue__28CVEParticleSystemTranslationCFiR9CVector3f: +/* 80334B9C 00331AFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334BA0 00331B00 7C 08 02 A6 */ mflr r0 +/* 80334BA4 00331B04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334BA8 00331B08 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334BAC 00331B0C 7C BF 2B 78 */ mr r31, r5 +/* 80334BB0 00331B10 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334BB4 00331B14 80 63 00 04 */ lwz r3, 4(r3) +/* 80334BB8 00331B18 81 83 00 00 */ lwz r12, 0(r3) +/* 80334BBC 00331B1C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80334BC0 00331B20 7D 89 03 A6 */ mtctr r12 +/* 80334BC4 00331B24 4E 80 04 21 */ bctrl +/* 80334BC8 00331B28 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334BCC 00331B2C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334BD0 00331B30 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334BD4 00331B34 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80334BD8 00331B38 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334BDC 00331B3C 38 60 00 00 */ li r3, 0 +/* 80334BE0 00331B40 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80334BE4 00331B44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334BE8 00331B48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334BEC 00331B4C 7C 08 03 A6 */ mtlr r0 +/* 80334BF0 00331B50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334BF4 00331B54 4E 80 00 20 */ blr + +.global GetValue__33CVEParticleSystemOrientationRightCFiR9CVector3f +GetValue__33CVEParticleSystemOrientationRightCFiR9CVector3f: +/* 80334BF8 00331B58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334BFC 00331B5C 7C 08 02 A6 */ mflr r0 +/* 80334C00 00331B60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334C04 00331B64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334C08 00331B68 7C BF 2B 78 */ mr r31, r5 +/* 80334C0C 00331B6C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334C10 00331B70 80 63 00 04 */ lwz r3, 4(r3) +/* 80334C14 00331B74 81 83 00 00 */ lwz r12, 0(r3) +/* 80334C18 00331B78 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80334C1C 00331B7C 7D 89 03 A6 */ mtctr r12 +/* 80334C20 00331B80 4E 80 04 21 */ bctrl +/* 80334C24 00331B84 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 80334C28 00331B88 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80334C2C 00331B8C C0 03 00 00 */ lfs f0, 0(r3) +/* 80334C30 00331B90 38 60 00 00 */ li r3, 0 +/* 80334C34 00331B94 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334C38 00331B98 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80334C3C 00331B9C D0 5F 00 08 */ stfs f2, 8(r31) +/* 80334C40 00331BA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334C44 00331BA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334C48 00331BA8 7C 08 03 A6 */ mtlr r0 +/* 80334C4C 00331BAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334C50 00331BB0 4E 80 00 20 */ blr + +.global GetValue__31CVEParticleSystemOrienatationUpCFiR9CVector3f +GetValue__31CVEParticleSystemOrienatationUpCFiR9CVector3f: +/* 80334C54 00331BB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334C58 00331BB8 7C 08 02 A6 */ mflr r0 +/* 80334C5C 00331BBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334C60 00331BC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334C64 00331BC4 7C BF 2B 78 */ mr r31, r5 +/* 80334C68 00331BC8 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334C6C 00331BCC 80 63 00 04 */ lwz r3, 4(r3) +/* 80334C70 00331BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80334C74 00331BD4 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80334C78 00331BD8 7D 89 03 A6 */ mtctr r12 +/* 80334C7C 00331BDC 4E 80 04 21 */ bctrl +/* 80334C80 00331BE0 C0 43 00 28 */ lfs f2, 0x28(r3) +/* 80334C84 00331BE4 C0 23 00 18 */ lfs f1, 0x18(r3) +/* 80334C88 00331BE8 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334C8C 00331BEC 38 60 00 00 */ li r3, 0 +/* 80334C90 00331BF0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334C94 00331BF4 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80334C98 00331BF8 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80334C9C 00331BFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334CA0 00331C00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334CA4 00331C04 7C 08 03 A6 */ mtlr r0 +/* 80334CA8 00331C08 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334CAC 00331C0C 4E 80 00 20 */ blr + +.global GetValue__33CVEParticleSystemOrientationFrontCFiR9CVector3f +GetValue__33CVEParticleSystemOrientationFrontCFiR9CVector3f: +/* 80334CB0 00331C10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334CB4 00331C14 7C 08 02 A6 */ mflr r0 +/* 80334CB8 00331C18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334CBC 00331C1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334CC0 00331C20 7C BF 2B 78 */ mr r31, r5 +/* 80334CC4 00331C24 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334CC8 00331C28 80 63 00 04 */ lwz r3, 4(r3) +/* 80334CCC 00331C2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80334CD0 00331C30 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80334CD4 00331C34 7D 89 03 A6 */ mtctr r12 +/* 80334CD8 00331C38 4E 80 04 21 */ bctrl +/* 80334CDC 00331C3C C0 43 00 24 */ lfs f2, 0x24(r3) +/* 80334CE0 00331C40 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80334CE4 00331C44 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334CE8 00331C48 38 60 00 00 */ li r3, 0 +/* 80334CEC 00331C4C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334CF0 00331C50 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80334CF4 00331C54 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80334CF8 00331C58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334CFC 00331C5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334D00 00331C60 7C 08 03 A6 */ mtlr r0 +/* 80334D04 00331C64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334D08 00331C68 4E 80 00 20 */ blr + +.global GetValue__19CVEParticleVelocityCFiR9CVector3f +GetValue__19CVEParticleVelocityCFiR9CVector3f: +/* 80334D0C 00331C6C 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 80334D10 00331C70 38 60 00 00 */ li r3, 0 +/* 80334D14 00331C74 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80334D18 00331C78 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334D1C 00331C7C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80334D20 00331C80 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334D24 00331C84 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80334D28 00331C88 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334D2C 00331C8C 4E 80 00 20 */ blr + +.global GetValue__16CVEParticleColorCFiR9CVector3f +GetValue__16CVEParticleColorCFiR9CVector3f: +/* 80334D30 00331C90 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 80334D34 00331C94 38 60 00 00 */ li r3, 0 +/* 80334D38 00331C98 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80334D3C 00331C9C D0 05 00 00 */ stfs f0, 0(r5) +/* 80334D40 00331CA0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80334D44 00331CA4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334D48 00331CA8 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80334D4C 00331CAC D0 05 00 08 */ stfs f0, 8(r5) +/* 80334D50 00331CB0 4E 80 00 20 */ blr + +.global GetValue__19CVEParticleLocationCFiR9CVector3f +GetValue__19CVEParticleLocationCFiR9CVector3f: +/* 80334D54 00331CB4 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 80334D58 00331CB8 38 60 00 00 */ li r3, 0 +/* 80334D5C 00331CBC C0 04 00 04 */ lfs f0, 4(r4) +/* 80334D60 00331CC0 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334D64 00331CC4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80334D68 00331CC8 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334D6C 00331CCC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80334D70 00331CD0 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334D74 00331CD4 4E 80 00 20 */ blr + +.global GetValue__15CVERealToVectorCFiR9CVector3f +GetValue__15CVERealToVectorCFiR9CVector3f: +/* 80334D78 00331CD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80334D7C 00331CDC 7C 08 02 A6 */ mflr r0 +/* 80334D80 00331CE0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80334D84 00331CE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80334D88 00331CE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80334D8C 00331CEC 7C BF 2B 78 */ mr r31, r5 +/* 80334D90 00331CF0 38 A1 00 08 */ addi r5, r1, 8 +/* 80334D94 00331CF4 80 63 00 04 */ lwz r3, 4(r3) +/* 80334D98 00331CF8 D0 01 00 08 */ stfs f0, 8(r1) +/* 80334D9C 00331CFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80334DA0 00331D00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334DA4 00331D04 7D 89 03 A6 */ mtctr r12 +/* 80334DA8 00331D08 4E 80 04 21 */ bctrl +/* 80334DAC 00331D0C C0 01 00 08 */ lfs f0, 8(r1) +/* 80334DB0 00331D10 38 60 00 00 */ li r3, 0 +/* 80334DB4 00331D14 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334DB8 00331D18 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80334DBC 00331D1C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80334DC0 00331D20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80334DC4 00331D24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80334DC8 00331D28 7C 08 03 A6 */ mtlr r0 +/* 80334DCC 00331D2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80334DD0 00331D30 4E 80 00 20 */ blr + +.global __dt__15CVERealToVector +__dt__15CVERealToVector: +/* 80334DD4 00331D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334DD8 00331D38 7C 08 02 A6 */ mflr r0 +/* 80334DDC 00331D3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334DE0 00331D40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334DE4 00331D44 7C 9F 23 78 */ mr r31, r4 +/* 80334DE8 00331D48 93 C1 00 08 */ stw r30, 8(r1) +/* 80334DEC 00331D4C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80334DF0 00331D50 41 82 00 68 */ beq lbl_80334E58 +/* 80334DF4 00331D54 3C 60 80 3F */ lis r3, lbl_803EE204@ha +/* 80334DF8 00331D58 38 03 E2 04 */ addi r0, r3, lbl_803EE204@l +/* 80334DFC 00331D5C 90 1E 00 00 */ stw r0, 0(r30) +/* 80334E00 00331D60 80 7E 00 04 */ lwz r3, 4(r30) +/* 80334E04 00331D64 28 03 00 00 */ cmplwi r3, 0 +/* 80334E08 00331D68 41 82 00 18 */ beq lbl_80334E20 +/* 80334E0C 00331D6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80334E10 00331D70 38 80 00 01 */ li r4, 1 +/* 80334E14 00331D74 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334E18 00331D78 7D 89 03 A6 */ mtctr r12 +/* 80334E1C 00331D7C 4E 80 04 21 */ bctrl +lbl_80334E20: +/* 80334E20 00331D80 28 1E 00 00 */ cmplwi r30, 0 +/* 80334E24 00331D84 41 82 00 20 */ beq lbl_80334E44 +/* 80334E28 00331D88 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80334E2C 00331D8C 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80334E30 00331D90 90 1E 00 00 */ stw r0, 0(r30) +/* 80334E34 00331D94 41 82 00 10 */ beq lbl_80334E44 +/* 80334E38 00331D98 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334E3C 00331D9C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334E40 00331DA0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80334E44: +/* 80334E44 00331DA4 7F E0 07 35 */ extsh. r0, r31 +/* 80334E48 00331DA8 40 81 00 10 */ ble lbl_80334E58 +/* 80334E4C 00331DAC 7F C3 F3 78 */ mr r3, r30 +/* 80334E50 00331DB0 38 80 00 08 */ li r4, 8 +/* 80334E54 00331DB4 48 03 7C 11 */ bl sub_8036ca64 +lbl_80334E58: +/* 80334E58 00331DB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334E5C 00331DBC 7F C3 F3 78 */ mr r3, r30 +/* 80334E60 00331DC0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334E64 00331DC4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334E68 00331DC8 7C 08 03 A6 */ mtlr r0 +/* 80334E6C 00331DCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334E70 00331DD0 4E 80 00 20 */ blr + +.global __ct__15CVERealToVectorFP12CRealElement +__ct__15CVERealToVectorFP12CRealElement: +/* 80334E74 00331DD4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80334E78 00331DD8 3C C0 80 3F */ lis r6, lbl_803EC594@ha +/* 80334E7C 00331DDC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80334E80 00331DE0 3C A0 80 3F */ lis r5, lbl_803EE204@ha +/* 80334E84 00331DE4 90 03 00 00 */ stw r0, 0(r3) +/* 80334E88 00331DE8 38 C6 C5 94 */ addi r6, r6, lbl_803EC594@l +/* 80334E8C 00331DEC 38 05 E2 04 */ addi r0, r5, lbl_803EE204@l +/* 80334E90 00331DF0 90 C3 00 00 */ stw r6, 0(r3) +/* 80334E94 00331DF4 90 03 00 00 */ stw r0, 0(r3) +/* 80334E98 00331DF8 90 83 00 04 */ stw r4, 4(r3) +/* 80334E9C 00331DFC 4E 80 00 20 */ blr + +.global GetValue__18CVEKeyframeEmitterCFiR9CVector3f +GetValue__18CVEKeyframeEmitterCFiR9CVector3f: +/* 80334EA0 00331E00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334EA4 00331E04 80 03 00 04 */ lwz r0, 4(r3) +/* 80334EA8 00331E08 2C 00 00 00 */ cmpwi r0, 0 +/* 80334EAC 00331E0C 40 82 00 C8 */ bne lbl_80334F74 +/* 80334EB0 00331E10 88 03 00 0C */ lbz r0, 0xc(r3) +/* 80334EB4 00331E14 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) +/* 80334EB8 00331E18 28 00 00 00 */ cmplwi r0, 0 +/* 80334EBC 00331E1C 91 01 00 0C */ stw r8, 0xc(r1) +/* 80334EC0 00331E20 41 82 00 64 */ beq lbl_80334F24 +/* 80334EC4 00331E24 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80334EC8 00331E28 7C 08 00 00 */ cmpw r8, r0 +/* 80334ECC 00331E2C 41 80 00 2C */ blt lbl_80334EF8 +/* 80334ED0 00331E30 80 E3 00 14 */ lwz r7, 0x14(r3) +/* 80334ED4 00331E34 7C C7 40 50 */ subf r6, r7, r8 +/* 80334ED8 00331E38 7C 87 00 50 */ subf r4, r7, r0 +/* 80334EDC 00331E3C 7C 06 23 D6 */ divw r0, r6, r4 +/* 80334EE0 00331E40 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80334EE4 00331E44 7C 00 21 D6 */ mullw r0, r0, r4 +/* 80334EE8 00331E48 7C 00 30 50 */ subf r0, r0, r6 +/* 80334EEC 00331E4C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80334EF0 00331E50 7C 00 3A 14 */ add r0, r0, r7 +/* 80334EF4 00331E54 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80334EF8: +/* 80334EF8 00331E58 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80334EFC 00331E5C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80334F00 00331E60 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80334F04 00331E64 7C 63 02 14 */ add r3, r3, r0 +/* 80334F08 00331E68 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334F0C 00331E6C D0 05 00 00 */ stfs f0, 0(r5) +/* 80334F10 00331E70 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334F14 00331E74 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334F18 00331E78 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334F1C 00331E7C D0 05 00 08 */ stfs f0, 8(r5) +/* 80334F20 00331E80 48 00 00 4C */ b lbl_80334F6C +lbl_80334F24: +/* 80334F24 00331E84 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80334F28 00331E88 38 81 00 0C */ addi r4, r1, 0xc +/* 80334F2C 00331E8C 38 06 FF FF */ addi r0, r6, -1 +/* 80334F30 00331E90 7C 00 40 00 */ cmpw r0, r8 +/* 80334F34 00331E94 90 01 00 08 */ stw r0, 8(r1) +/* 80334F38 00331E98 40 80 00 08 */ bge lbl_80334F40 +/* 80334F3C 00331E9C 38 81 00 08 */ addi r4, r1, 8 +lbl_80334F40: +/* 80334F40 00331EA0 80 84 00 00 */ lwz r4, 0(r4) +/* 80334F44 00331EA4 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80334F48 00331EA8 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80334F4C 00331EAC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80334F50 00331EB0 7C 63 02 14 */ add r3, r3, r0 +/* 80334F54 00331EB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334F58 00331EB8 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334F5C 00331EBC C0 03 00 04 */ lfs f0, 4(r3) +/* 80334F60 00331EC0 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334F64 00331EC4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334F68 00331EC8 D0 05 00 08 */ stfs f0, 8(r5) +lbl_80334F6C: +/* 80334F6C 00331ECC 38 60 00 00 */ li r3, 0 +/* 80334F70 00331ED0 48 00 00 A8 */ b lbl_80335018 +lbl_80334F74: +/* 80334F74 00331ED4 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 80334F78 00331ED8 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80334F7C 00331EDC 40 82 00 2C */ bne lbl_80334FA8 +/* 80334F80 00331EE0 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80334F84 00331EE4 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80334F88 00331EE8 7C 63 02 14 */ add r3, r3, r0 +/* 80334F8C 00331EEC C0 03 00 00 */ lfs f0, 0(r3) +/* 80334F90 00331EF0 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334F94 00331EF4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334F98 00331EF8 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334F9C 00331EFC C0 03 00 08 */ lfs f0, 8(r3) +/* 80334FA0 00331F00 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334FA4 00331F04 48 00 00 70 */ b lbl_80335014 +lbl_80334FA8: +/* 80334FA8 00331F08 38 04 00 01 */ addi r0, r4, 1 +/* 80334FAC 00331F0C 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80334FB0 00331F10 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80334FB4 00331F14 C0 ED A8 E8 */ lfs f7, lbl_805A94A8@sda21(r13) +/* 80334FB8 00331F18 C0 02 CB 58 */ lfs f0, lbl_805AE878@sda21(r2) +/* 80334FBC 00331F1C 7C 66 02 14 */ add r3, r6, r0 +/* 80334FC0 00331F20 ED 00 38 28 */ fsubs f8, f0, f7 +/* 80334FC4 00331F24 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80334FC8 00331F28 C0 23 00 00 */ lfs f1, 0(r3) +/* 80334FCC 00331F2C C0 03 00 04 */ lfs f0, 4(r3) +/* 80334FD0 00331F30 EC A7 00 72 */ fmuls f5, f7, f1 +/* 80334FD4 00331F34 C0 23 00 08 */ lfs f1, 8(r3) +/* 80334FD8 00331F38 7C 66 02 14 */ add r3, r6, r0 +/* 80334FDC 00331F3C C0 83 00 00 */ lfs f4, 0(r3) +/* 80334FE0 00331F40 EC 67 00 32 */ fmuls f3, f7, f0 +/* 80334FE4 00331F44 C0 43 00 04 */ lfs f2, 4(r3) +/* 80334FE8 00331F48 EC C8 01 32 */ fmuls f6, f8, f4 +/* 80334FEC 00331F4C C0 03 00 08 */ lfs f0, 8(r3) +/* 80334FF0 00331F50 EC 88 00 B2 */ fmuls f4, f8, f2 +/* 80334FF4 00331F54 EC 48 00 32 */ fmuls f2, f8, f0 +/* 80334FF8 00331F58 EC 06 28 2A */ fadds f0, f6, f5 +/* 80334FFC 00331F5C EC 27 00 72 */ fmuls f1, f7, f1 +/* 80335000 00331F60 EC 64 18 2A */ fadds f3, f4, f3 +/* 80335004 00331F64 D0 05 00 00 */ stfs f0, 0(r5) +/* 80335008 00331F68 EC 02 08 2A */ fadds f0, f2, f1 +/* 8033500C 00331F6C D0 65 00 04 */ stfs f3, 4(r5) +/* 80335010 00331F70 D0 05 00 08 */ stfs f0, 8(r5) +lbl_80335014: +/* 80335014 00331F74 38 60 00 00 */ li r3, 0 +lbl_80335018: +/* 80335018 00331F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033501C 00331F7C 4E 80 00 20 */ blr + +.global __dt__18CVEKeyframeEmitter +__dt__18CVEKeyframeEmitter: +/* 80335020 00331F80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80335024 00331F84 7C 08 02 A6 */ mflr r0 +/* 80335028 00331F88 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033502C 00331F8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80335030 00331F90 7C 9F 23 78 */ mr r31, r4 +/* 80335034 00331F94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80335038 00331F98 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033503C 00331F9C 41 82 00 90 */ beq lbl_803350CC +/* 80335040 00331FA0 3C 60 80 3F */ lis r3, lbl_803EE218@ha +/* 80335044 00331FA4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80335048 00331FA8 38 03 E2 18 */ addi r0, r3, lbl_803EE218@l +/* 8033504C 00331FAC 90 1E 00 00 */ stw r0, 0(r30) +/* 80335050 00331FB0 41 82 00 44 */ beq lbl_80335094 +/* 80335054 00331FB4 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80335058 00331FB8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8033505C 00331FBC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80335060 00331FC0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80335064 00331FC4 7C 64 1B 78 */ mr r4, r3 +/* 80335068 00331FC8 7C 03 02 14 */ add r0, r3, r0 +/* 8033506C 00331FCC 90 61 00 08 */ stw r3, 8(r1) +/* 80335070 00331FD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80335074 00331FD4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80335078 00331FD8 48 00 00 08 */ b lbl_80335080 +lbl_8033507C: +/* 8033507C 00331FDC 38 84 00 0C */ addi r4, r4, 0xc +lbl_80335080: +/* 80335080 00331FE0 7C 04 00 40 */ cmplw r4, r0 +/* 80335084 00331FE4 40 82 FF F8 */ bne lbl_8033507C +/* 80335088 00331FE8 28 03 00 00 */ cmplwi r3, 0 +/* 8033508C 00331FEC 41 82 00 08 */ beq lbl_80335094 +/* 80335090 00331FF0 4B FE 08 A1 */ bl Free__7CMemoryFPCv +lbl_80335094: +/* 80335094 00331FF4 28 1E 00 00 */ cmplwi r30, 0 +/* 80335098 00331FF8 41 82 00 20 */ beq lbl_803350B8 +/* 8033509C 00331FFC 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803350A0 00332000 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803350A4 00332004 90 1E 00 00 */ stw r0, 0(r30) +/* 803350A8 00332008 41 82 00 10 */ beq lbl_803350B8 +/* 803350AC 0033200C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803350B0 00332010 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803350B4 00332014 90 1E 00 00 */ stw r0, 0(r30) +lbl_803350B8: +/* 803350B8 00332018 7F E0 07 35 */ extsh. r0, r31 +/* 803350BC 0033201C 40 81 00 10 */ ble lbl_803350CC +/* 803350C0 00332020 7F C3 F3 78 */ mr r3, r30 +/* 803350C4 00332024 38 80 00 28 */ li r4, 0x28 +/* 803350C8 00332028 48 03 79 9D */ bl sub_8036ca64 +lbl_803350CC: +/* 803350CC 0033202C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803350D0 00332030 7F C3 F3 78 */ mr r3, r30 +/* 803350D4 00332034 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803350D8 00332038 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803350DC 0033203C 7C 08 03 A6 */ mtlr r0 +/* 803350E0 00332040 38 21 00 20 */ addi r1, r1, 0x20 +/* 803350E4 00332044 4E 80 00 20 */ blr + +.global __ct__18CVEKeyframeEmitterFR12CInputStream +__ct__18CVEKeyframeEmitterFR12CInputStream: +/* 803350E8 00332048 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803350EC 0033204C 7C 08 02 A6 */ mflr r0 +/* 803350F0 00332050 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 803350F4 00332054 90 01 00 34 */ stw r0, 0x34(r1) +/* 803350F8 00332058 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803350FC 0033205C 7C 9F 23 78 */ mr r31, r4 +/* 80335100 00332060 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80335104 00332064 7C 7E 1B 78 */ mr r30, r3 +/* 80335108 00332068 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033510C 0033206C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80335110 00332070 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80335114 00332074 3C 60 80 3F */ lis r3, lbl_803EE218@ha +/* 80335118 00332078 7F C6 F3 78 */ mr r6, r30 +/* 8033511C 0033207C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80335120 00332080 90 1E 00 00 */ stw r0, 0(r30) +/* 80335124 00332084 38 05 C5 94 */ addi r0, r5, lbl_803EC594@l +/* 80335128 00332088 90 1E 00 00 */ stw r0, 0(r30) +/* 8033512C 0033208C 38 03 E2 18 */ addi r0, r3, lbl_803EE218@l +/* 80335130 00332090 7F E3 FB 78 */ mr r3, r31 +/* 80335134 00332094 90 1E 00 00 */ stw r0, 0(r30) +/* 80335138 00332098 48 00 9B 4D */ bl ReadLong__12CInputStreamFv +/* 8033513C 0033209C 90 7E 00 04 */ stw r3, 4(r30) +/* 80335140 003320A0 7F E3 FB 78 */ mr r3, r31 +/* 80335144 003320A4 48 00 9B 41 */ bl ReadLong__12CInputStreamFv +/* 80335148 003320A8 90 7E 00 08 */ stw r3, 8(r30) +/* 8033514C 003320AC 7F E3 FB 78 */ mr r3, r31 +/* 80335150 003320B0 48 00 9B 8D */ bl ReadBool__12CInputStreamFv +/* 80335154 003320B4 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80335158 003320B8 7F E3 FB 78 */ mr r3, r31 +/* 8033515C 003320BC 48 00 9B 81 */ bl ReadBool__12CInputStreamFv +/* 80335160 003320C0 98 7E 00 0D */ stb r3, 0xd(r30) +/* 80335164 003320C4 7F E3 FB 78 */ mr r3, r31 +/* 80335168 003320C8 48 00 9B 1D */ bl ReadLong__12CInputStreamFv +/* 8033516C 003320CC 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80335170 003320D0 7F E3 FB 78 */ mr r3, r31 +/* 80335174 003320D4 48 00 9B 11 */ bl ReadLong__12CInputStreamFv +/* 80335178 003320D8 90 7E 00 14 */ stw r3, 0x14(r30) +/* 8033517C 003320DC 38 00 00 00 */ li r0, 0 +/* 80335180 003320E0 7F E3 FB 78 */ mr r3, r31 +/* 80335184 003320E4 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80335188 003320E8 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033518C 003320EC 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80335190 003320F0 48 00 9A F5 */ bl ReadLong__12CInputStreamFv +/* 80335194 003320F4 7C 7C 1B 78 */ mr r28, r3 +/* 80335198 003320F8 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8033519C 003320FC 7F 84 E3 78 */ mr r4, r28 +/* 803351A0 00332100 4B D2 8B 59 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 803351A4 00332104 3B A0 00 00 */ li r29, 0 +/* 803351A8 00332108 48 00 00 74 */ b lbl_8033521C +lbl_803351AC: +/* 803351AC 0033210C 7F E4 FB 78 */ mr r4, r31 +/* 803351B0 00332110 38 61 00 08 */ addi r3, r1, 8 +/* 803351B4 00332114 4B FD F9 D9 */ bl __ct__9CVector3fFR12CInputStream +/* 803351B8 00332118 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803351BC 0033211C 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 803351C0 00332120 7C 00 28 00 */ cmpw r0, r5 +/* 803351C4 00332124 41 80 00 1C */ blt lbl_803351E0 +/* 803351C8 00332128 2C 05 00 00 */ cmpwi r5, 0 +/* 803351CC 0033212C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 803351D0 00332130 38 80 00 04 */ li r4, 4 +/* 803351D4 00332134 41 82 00 08 */ beq lbl_803351DC +/* 803351D8 00332138 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803351DC: +/* 803351DC 0033213C 4B D2 8B 1D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_803351E0: +/* 803351E0 00332140 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803351E4 00332144 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803351E8 00332148 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803351EC 0033214C 7C 63 02 15 */ add. r3, r3, r0 +/* 803351F0 00332150 41 82 00 1C */ beq lbl_8033520C +/* 803351F4 00332154 C0 01 00 08 */ lfs f0, 8(r1) +/* 803351F8 00332158 D0 03 00 00 */ stfs f0, 0(r3) +/* 803351FC 0033215C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80335200 00332160 D0 03 00 04 */ stfs f0, 4(r3) +/* 80335204 00332164 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80335208 00332168 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8033520C: +/* 8033520C 0033216C 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 80335210 00332170 3B BD 00 01 */ addi r29, r29, 1 +/* 80335214 00332174 38 03 00 01 */ addi r0, r3, 1 +/* 80335218 00332178 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_8033521C: +/* 8033521C 0033217C 7C 1D E0 00 */ cmpw r29, r28 +/* 80335220 00332180 41 80 FF 8C */ blt lbl_803351AC +/* 80335224 00332184 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80335228 00332188 7F C3 F3 78 */ mr r3, r30 +/* 8033522C 0033218C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80335230 00332190 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80335234 00332194 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80335238 00332198 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8033523C 0033219C 7C 08 03 A6 */ mtlr r0 +/* 80335240 003321A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80335244 003321A4 4E 80 00 20 */ blr + +.global GetValue__8CVEPulseCFiR9CVector3f +GetValue__8CVEPulseCFiR9CVector3f: +/* 80335248 003321A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033524C 003321AC 7C 08 02 A6 */ mflr r0 +/* 80335250 003321B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80335254 003321B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80335258 003321B8 7C BF 2B 78 */ mr r31, r5 +/* 8033525C 003321BC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80335260 003321C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80335264 003321C4 7C 9E 23 78 */ mr r30, r4 +/* 80335268 003321C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033526C 003321CC 7C 7D 1B 78 */ mr r29, r3 +/* 80335270 003321D0 80 63 00 04 */ lwz r3, 4(r3) +/* 80335274 003321D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335278 003321D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033527C 003321DC 7D 89 03 A6 */ mtctr r12 +/* 80335280 003321E0 4E 80 04 21 */ bctrl +/* 80335284 003321E4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80335288 003321E8 7F C4 F3 78 */ mr r4, r30 +/* 8033528C 003321EC 38 A1 00 08 */ addi r5, r1, 8 +/* 80335290 003321F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80335294 003321F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335298 003321F8 7D 89 03 A6 */ mtctr r12 +/* 8033529C 003321FC 4E 80 04 21 */ bctrl +/* 803352A0 00332200 80 61 00 08 */ lwz r3, 8(r1) +/* 803352A4 00332204 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803352A8 00332208 38 A3 00 01 */ addi r5, r3, 1 +/* 803352AC 0033220C 7C A4 2A 15 */ add. r5, r4, r5 +/* 803352B0 00332210 40 80 00 08 */ bge lbl_803352B8 +/* 803352B4 00332214 38 A0 00 01 */ li r5, 1 +lbl_803352B8: +/* 803352B8 00332218 2C 03 00 01 */ cmpwi r3, 1 +/* 803352BC 0033221C 41 80 00 58 */ blt lbl_80335314 +/* 803352C0 00332220 7C 1E 2B D6 */ divw r0, r30, r5 +/* 803352C4 00332224 7C 00 29 D6 */ mullw r0, r0, r5 +/* 803352C8 00332228 7C 00 F0 50 */ subf r0, r0, r30 +/* 803352CC 0033222C 7C 00 20 00 */ cmpw r0, r4 +/* 803352D0 00332230 40 81 00 24 */ ble lbl_803352F4 +/* 803352D4 00332234 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803352D8 00332238 7F C4 F3 78 */ mr r4, r30 +/* 803352DC 0033223C 7F E5 FB 78 */ mr r5, r31 +/* 803352E0 00332240 81 83 00 00 */ lwz r12, 0(r3) +/* 803352E4 00332244 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803352E8 00332248 7D 89 03 A6 */ mtctr r12 +/* 803352EC 0033224C 4E 80 04 21 */ bctrl +/* 803352F0 00332250 48 00 00 40 */ b lbl_80335330 +lbl_803352F4: +/* 803352F4 00332254 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803352F8 00332258 7F C4 F3 78 */ mr r4, r30 +/* 803352FC 0033225C 7F E5 FB 78 */ mr r5, r31 +/* 80335300 00332260 81 83 00 00 */ lwz r12, 0(r3) +/* 80335304 00332264 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335308 00332268 7D 89 03 A6 */ mtctr r12 +/* 8033530C 0033226C 4E 80 04 21 */ bctrl +/* 80335310 00332270 48 00 00 20 */ b lbl_80335330 +lbl_80335314: +/* 80335314 00332274 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80335318 00332278 7F C4 F3 78 */ mr r4, r30 +/* 8033531C 0033227C 7F E5 FB 78 */ mr r5, r31 +/* 80335320 00332280 81 83 00 00 */ lwz r12, 0(r3) +/* 80335324 00332284 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335328 00332288 7D 89 03 A6 */ mtctr r12 +/* 8033532C 0033228C 4E 80 04 21 */ bctrl +lbl_80335330: +/* 80335330 00332290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80335334 00332294 38 60 00 00 */ li r3, 0 +/* 80335338 00332298 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033533C 0033229C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80335340 003322A0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80335344 003322A4 7C 08 03 A6 */ mtlr r0 +/* 80335348 003322A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033534C 003322AC 4E 80 00 20 */ blr + +.global __dt__8CVEPulse +__dt__8CVEPulse: +/* 80335350 003322B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335354 003322B4 7C 08 02 A6 */ mflr r0 +/* 80335358 003322B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033535C 003322BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80335360 003322C0 7C 9F 23 78 */ mr r31, r4 +/* 80335364 003322C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80335368 003322C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033536C 003322CC 41 82 00 C8 */ beq lbl_80335434 +/* 80335370 003322D0 3C 60 80 3F */ lis r3, lbl_803EE22C@ha +/* 80335374 003322D4 38 03 E2 2C */ addi r0, r3, lbl_803EE22C@l +/* 80335378 003322D8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033537C 003322DC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80335380 003322E0 28 03 00 00 */ cmplwi r3, 0 +/* 80335384 003322E4 41 82 00 18 */ beq lbl_8033539C +/* 80335388 003322E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033538C 003322EC 38 80 00 01 */ li r4, 1 +/* 80335390 003322F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335394 003322F4 7D 89 03 A6 */ mtctr r12 +/* 80335398 003322F8 4E 80 04 21 */ bctrl +lbl_8033539C: +/* 8033539C 003322FC 80 7E 00 08 */ lwz r3, 8(r30) +/* 803353A0 00332300 28 03 00 00 */ cmplwi r3, 0 +/* 803353A4 00332304 41 82 00 18 */ beq lbl_803353BC +/* 803353A8 00332308 81 83 00 00 */ lwz r12, 0(r3) +/* 803353AC 0033230C 38 80 00 01 */ li r4, 1 +/* 803353B0 00332310 81 8C 00 08 */ lwz r12, 8(r12) +/* 803353B4 00332314 7D 89 03 A6 */ mtctr r12 +/* 803353B8 00332318 4E 80 04 21 */ bctrl +lbl_803353BC: +/* 803353BC 0033231C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803353C0 00332320 28 03 00 00 */ cmplwi r3, 0 +/* 803353C4 00332324 41 82 00 18 */ beq lbl_803353DC +/* 803353C8 00332328 81 83 00 00 */ lwz r12, 0(r3) +/* 803353CC 0033232C 38 80 00 01 */ li r4, 1 +/* 803353D0 00332330 81 8C 00 08 */ lwz r12, 8(r12) +/* 803353D4 00332334 7D 89 03 A6 */ mtctr r12 +/* 803353D8 00332338 4E 80 04 21 */ bctrl +lbl_803353DC: +/* 803353DC 0033233C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803353E0 00332340 28 03 00 00 */ cmplwi r3, 0 +/* 803353E4 00332344 41 82 00 18 */ beq lbl_803353FC +/* 803353E8 00332348 81 83 00 00 */ lwz r12, 0(r3) +/* 803353EC 0033234C 38 80 00 01 */ li r4, 1 +/* 803353F0 00332350 81 8C 00 08 */ lwz r12, 8(r12) +/* 803353F4 00332354 7D 89 03 A6 */ mtctr r12 +/* 803353F8 00332358 4E 80 04 21 */ bctrl +lbl_803353FC: +/* 803353FC 0033235C 28 1E 00 00 */ cmplwi r30, 0 +/* 80335400 00332360 41 82 00 20 */ beq lbl_80335420 +/* 80335404 00332364 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335408 00332368 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 8033540C 0033236C 90 1E 00 00 */ stw r0, 0(r30) +/* 80335410 00332370 41 82 00 10 */ beq lbl_80335420 +/* 80335414 00332374 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80335418 00332378 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033541C 0033237C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80335420: +/* 80335420 00332380 7F E0 07 35 */ extsh. r0, r31 +/* 80335424 00332384 40 81 00 10 */ ble lbl_80335434 +/* 80335428 00332388 7F C3 F3 78 */ mr r3, r30 +/* 8033542C 0033238C 38 80 00 14 */ li r4, 0x14 +/* 80335430 00332390 48 03 76 35 */ bl sub_8036ca64 +lbl_80335434: +/* 80335434 00332394 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335438 00332398 7F C3 F3 78 */ mr r3, r30 +/* 8033543C 0033239C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80335440 003323A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335444 003323A4 7C 08 03 A6 */ mtlr r0 +/* 80335448 003323A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033544C 003323AC 4E 80 00 20 */ blr + +.global __ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement +__ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement: +/* 80335450 003323B0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80335454 003323B4 3D 20 80 3F */ lis r9, lbl_803EC594@ha +/* 80335458 003323B8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 8033545C 003323BC 3D 00 80 3F */ lis r8, lbl_803EE22C@ha +/* 80335460 003323C0 90 03 00 00 */ stw r0, 0(r3) +/* 80335464 003323C4 39 29 C5 94 */ addi r9, r9, lbl_803EC594@l +/* 80335468 003323C8 38 08 E2 2C */ addi r0, r8, lbl_803EE22C@l +/* 8033546C 003323CC 91 23 00 00 */ stw r9, 0(r3) +/* 80335470 003323D0 90 03 00 00 */ stw r0, 0(r3) +/* 80335474 003323D4 90 83 00 04 */ stw r4, 4(r3) +/* 80335478 003323D8 90 A3 00 08 */ stw r5, 8(r3) +/* 8033547C 003323DC 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80335480 003323E0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80335484 003323E4 4E 80 00 20 */ blr + +.global GetValue__11CVEMultiplyCFiR9CVector3f +GetValue__11CVEMultiplyCFiR9CVector3f: +/* 80335488 003323E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033548C 003323EC 7C 08 02 A6 */ mflr r0 +/* 80335490 003323F0 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80335494 003323F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80335498 003323F8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033549C 003323FC 7C BF 2B 78 */ mr r31, r5 +/* 803354A0 00332400 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803354A4 00332404 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803354A8 00332408 7C 9E 23 78 */ mr r30, r4 +/* 803354AC 0033240C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803354B0 00332410 7C 7D 1B 78 */ mr r29, r3 +/* 803354B4 00332414 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 803354B8 00332418 C0 03 00 00 */ lfs f0, 0(r3) +/* 803354BC 0033241C C0 23 00 04 */ lfs f1, 4(r3) +/* 803354C0 00332420 C0 43 00 08 */ lfs f2, 8(r3) +/* 803354C4 00332424 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803354C8 00332428 80 7D 00 04 */ lwz r3, 4(r29) +/* 803354CC 0033242C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803354D0 00332430 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803354D4 00332434 D0 01 00 08 */ stfs f0, 8(r1) +/* 803354D8 00332438 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803354DC 0033243C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803354E0 00332440 81 83 00 00 */ lwz r12, 0(r3) +/* 803354E4 00332444 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803354E8 00332448 7D 89 03 A6 */ mtctr r12 +/* 803354EC 0033244C 4E 80 04 21 */ bctrl +/* 803354F0 00332450 80 7D 00 08 */ lwz r3, 8(r29) +/* 803354F4 00332454 7F C4 F3 78 */ mr r4, r30 +/* 803354F8 00332458 38 A1 00 08 */ addi r5, r1, 8 +/* 803354FC 0033245C 81 83 00 00 */ lwz r12, 0(r3) +/* 80335500 00332460 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335504 00332464 7D 89 03 A6 */ mtctr r12 +/* 80335508 00332468 4E 80 04 21 */ bctrl +/* 8033550C 0033246C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80335510 00332470 38 60 00 00 */ li r3, 0 +/* 80335514 00332474 C0 01 00 08 */ lfs f0, 8(r1) +/* 80335518 00332478 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8033551C 0033247C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80335520 00332480 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80335524 00332484 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80335528 00332488 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8033552C 0033248C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80335530 00332490 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80335534 00332494 EC 04 00 72 */ fmuls f0, f4, f1 +/* 80335538 00332498 D0 5F 00 04 */ stfs f2, 4(r31) +/* 8033553C 0033249C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80335540 003324A0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80335544 003324A4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80335548 003324A8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033554C 003324AC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80335550 003324B0 7C 08 03 A6 */ mtlr r0 +/* 80335554 003324B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80335558 003324B8 4E 80 00 20 */ blr + +.global __dt__11CVEMultiply +__dt__11CVEMultiply: +/* 8033555C 003324BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335560 003324C0 7C 08 02 A6 */ mflr r0 +/* 80335564 003324C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80335568 003324C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033556C 003324CC 7C 9F 23 78 */ mr r31, r4 +/* 80335570 003324D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80335574 003324D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80335578 003324D8 41 82 00 88 */ beq lbl_80335600 +/* 8033557C 003324DC 3C 60 80 3F */ lis r3, lbl_803EE240@ha +/* 80335580 003324E0 38 03 E2 40 */ addi r0, r3, lbl_803EE240@l +/* 80335584 003324E4 90 1E 00 00 */ stw r0, 0(r30) +/* 80335588 003324E8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033558C 003324EC 28 03 00 00 */ cmplwi r3, 0 +/* 80335590 003324F0 41 82 00 18 */ beq lbl_803355A8 +/* 80335594 003324F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335598 003324F8 38 80 00 01 */ li r4, 1 +/* 8033559C 003324FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803355A0 00332500 7D 89 03 A6 */ mtctr r12 +/* 803355A4 00332504 4E 80 04 21 */ bctrl +lbl_803355A8: +/* 803355A8 00332508 80 7E 00 08 */ lwz r3, 8(r30) +/* 803355AC 0033250C 28 03 00 00 */ cmplwi r3, 0 +/* 803355B0 00332510 41 82 00 18 */ beq lbl_803355C8 +/* 803355B4 00332514 81 83 00 00 */ lwz r12, 0(r3) +/* 803355B8 00332518 38 80 00 01 */ li r4, 1 +/* 803355BC 0033251C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803355C0 00332520 7D 89 03 A6 */ mtctr r12 +/* 803355C4 00332524 4E 80 04 21 */ bctrl +lbl_803355C8: +/* 803355C8 00332528 28 1E 00 00 */ cmplwi r30, 0 +/* 803355CC 0033252C 41 82 00 20 */ beq lbl_803355EC +/* 803355D0 00332530 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803355D4 00332534 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803355D8 00332538 90 1E 00 00 */ stw r0, 0(r30) +/* 803355DC 0033253C 41 82 00 10 */ beq lbl_803355EC +/* 803355E0 00332540 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803355E4 00332544 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803355E8 00332548 90 1E 00 00 */ stw r0, 0(r30) +lbl_803355EC: +/* 803355EC 0033254C 7F E0 07 35 */ extsh. r0, r31 +/* 803355F0 00332550 40 81 00 10 */ ble lbl_80335600 +/* 803355F4 00332554 7F C3 F3 78 */ mr r3, r30 +/* 803355F8 00332558 38 80 00 0C */ li r4, 0xc +/* 803355FC 0033255C 48 03 74 69 */ bl sub_8036ca64 +lbl_80335600: +/* 80335600 00332560 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335604 00332564 7F C3 F3 78 */ mr r3, r30 +/* 80335608 00332568 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033560C 0033256C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335610 00332570 7C 08 03 A6 */ mtlr r0 +/* 80335614 00332574 38 21 00 10 */ addi r1, r1, 0x10 +/* 80335618 00332578 4E 80 00 20 */ blr + +.global __ct__11CVEMultiplyFP14CVectorElementP14CVectorElement +__ct__11CVEMultiplyFP14CVectorElementP14CVectorElement: +/* 8033561C 0033257C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80335620 00332580 3C E0 80 3F */ lis r7, lbl_803EC594@ha +/* 80335624 00332584 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80335628 00332588 3C C0 80 3F */ lis r6, lbl_803EE240@ha +/* 8033562C 0033258C 90 03 00 00 */ stw r0, 0(r3) +/* 80335630 00332590 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l +/* 80335634 00332594 38 06 E2 40 */ addi r0, r6, lbl_803EE240@l +/* 80335638 00332598 90 E3 00 00 */ stw r7, 0(r3) +/* 8033563C 0033259C 90 03 00 00 */ stw r0, 0(r3) +/* 80335640 003325A0 90 83 00 04 */ stw r4, 4(r3) +/* 80335644 003325A4 90 A3 00 08 */ stw r5, 8(r3) +/* 80335648 003325A8 4E 80 00 20 */ blr + +.global GetValue__6CVEAddCFiR9CVector3f +GetValue__6CVEAddCFiR9CVector3f: +/* 8033564C 003325AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80335650 003325B0 7C 08 02 A6 */ mflr r0 +/* 80335654 003325B4 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80335658 003325B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033565C 003325BC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80335660 003325C0 7C BF 2B 78 */ mr r31, r5 +/* 80335664 003325C4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80335668 003325C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033566C 003325CC 7C 9E 23 78 */ mr r30, r4 +/* 80335670 003325D0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80335674 003325D4 7C 7D 1B 78 */ mr r29, r3 +/* 80335678 003325D8 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 8033567C 003325DC C0 03 00 00 */ lfs f0, 0(r3) +/* 80335680 003325E0 C0 23 00 04 */ lfs f1, 4(r3) +/* 80335684 003325E4 C0 43 00 08 */ lfs f2, 8(r3) +/* 80335688 003325E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033568C 003325EC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80335690 003325F0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80335694 003325F4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80335698 003325F8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8033569C 003325FC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803356A0 00332600 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803356A4 00332604 81 83 00 00 */ lwz r12, 0(r3) +/* 803356A8 00332608 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803356AC 0033260C 7D 89 03 A6 */ mtctr r12 +/* 803356B0 00332610 4E 80 04 21 */ bctrl +/* 803356B4 00332614 80 7D 00 08 */ lwz r3, 8(r29) +/* 803356B8 00332618 7F C4 F3 78 */ mr r4, r30 +/* 803356BC 0033261C 38 A1 00 08 */ addi r5, r1, 8 +/* 803356C0 00332620 81 83 00 00 */ lwz r12, 0(r3) +/* 803356C4 00332624 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803356C8 00332628 7D 89 03 A6 */ mtctr r12 +/* 803356CC 0033262C 4E 80 04 21 */ bctrl +/* 803356D0 00332630 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803356D4 00332634 38 60 00 00 */ li r3, 0 +/* 803356D8 00332638 C0 01 00 08 */ lfs f0, 8(r1) +/* 803356DC 0033263C C0 81 00 18 */ lfs f4, 0x18(r1) +/* 803356E0 00332640 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 803356E4 00332644 EC 01 00 2A */ fadds f0, f1, f0 +/* 803356E8 00332648 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 803356EC 0033264C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 803356F0 00332650 EC 64 18 2A */ fadds f3, f4, f3 +/* 803356F4 00332654 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803356F8 00332658 EC 02 08 2A */ fadds f0, f2, f1 +/* 803356FC 0033265C D0 7F 00 04 */ stfs f3, 4(r31) +/* 80335700 00332660 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80335704 00332664 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80335708 00332668 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033570C 0033266C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80335710 00332670 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80335714 00332674 7C 08 03 A6 */ mtlr r0 +/* 80335718 00332678 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033571C 0033267C 4E 80 00 20 */ blr + +.global __dt__6CVEAdd +__dt__6CVEAdd: +/* 80335720 00332680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335724 00332684 7C 08 02 A6 */ mflr r0 +/* 80335728 00332688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033572C 0033268C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80335730 00332690 7C 9F 23 78 */ mr r31, r4 +/* 80335734 00332694 93 C1 00 08 */ stw r30, 8(r1) +/* 80335738 00332698 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033573C 0033269C 41 82 00 88 */ beq lbl_803357C4 +/* 80335740 003326A0 3C 60 80 3F */ lis r3, lbl_803EE254@ha +/* 80335744 003326A4 38 03 E2 54 */ addi r0, r3, lbl_803EE254@l +/* 80335748 003326A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033574C 003326AC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80335750 003326B0 28 03 00 00 */ cmplwi r3, 0 +/* 80335754 003326B4 41 82 00 18 */ beq lbl_8033576C +/* 80335758 003326B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033575C 003326BC 38 80 00 01 */ li r4, 1 +/* 80335760 003326C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335764 003326C4 7D 89 03 A6 */ mtctr r12 +/* 80335768 003326C8 4E 80 04 21 */ bctrl +lbl_8033576C: +/* 8033576C 003326CC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80335770 003326D0 28 03 00 00 */ cmplwi r3, 0 +/* 80335774 003326D4 41 82 00 18 */ beq lbl_8033578C +/* 80335778 003326D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033577C 003326DC 38 80 00 01 */ li r4, 1 +/* 80335780 003326E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335784 003326E4 7D 89 03 A6 */ mtctr r12 +/* 80335788 003326E8 4E 80 04 21 */ bctrl +lbl_8033578C: +/* 8033578C 003326EC 28 1E 00 00 */ cmplwi r30, 0 +/* 80335790 003326F0 41 82 00 20 */ beq lbl_803357B0 +/* 80335794 003326F4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335798 003326F8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 8033579C 003326FC 90 1E 00 00 */ stw r0, 0(r30) +/* 803357A0 00332700 41 82 00 10 */ beq lbl_803357B0 +/* 803357A4 00332704 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803357A8 00332708 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803357AC 0033270C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803357B0: +/* 803357B0 00332710 7F E0 07 35 */ extsh. r0, r31 +/* 803357B4 00332714 40 81 00 10 */ ble lbl_803357C4 +/* 803357B8 00332718 7F C3 F3 78 */ mr r3, r30 +/* 803357BC 0033271C 38 80 00 0C */ li r4, 0xc +/* 803357C0 00332720 48 03 72 A5 */ bl sub_8036ca64 +lbl_803357C4: +/* 803357C4 00332724 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803357C8 00332728 7F C3 F3 78 */ mr r3, r30 +/* 803357CC 0033272C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803357D0 00332730 83 C1 00 08 */ lwz r30, 8(r1) +/* 803357D4 00332734 7C 08 03 A6 */ mtlr r0 +/* 803357D8 00332738 38 21 00 10 */ addi r1, r1, 0x10 +/* 803357DC 0033273C 4E 80 00 20 */ blr + +.global __ct__6CVEAddFP14CVectorElementP14CVectorElement +__ct__6CVEAddFP14CVectorElementP14CVectorElement: +/* 803357E0 00332740 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803357E4 00332744 3C E0 80 3F */ lis r7, lbl_803EC594@ha +/* 803357E8 00332748 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803357EC 0033274C 3C C0 80 3F */ lis r6, lbl_803EE254@ha +/* 803357F0 00332750 90 03 00 00 */ stw r0, 0(r3) +/* 803357F4 00332754 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l +/* 803357F8 00332758 38 06 E2 54 */ addi r0, r6, lbl_803EE254@l +/* 803357FC 0033275C 90 E3 00 00 */ stw r7, 0(r3) +/* 80335800 00332760 90 03 00 00 */ stw r0, 0(r3) +/* 80335804 00332764 90 83 00 04 */ stw r4, 4(r3) +/* 80335808 00332768 90 A3 00 08 */ stw r5, 8(r3) +/* 8033580C 0033276C 4E 80 00 20 */ blr + +.global GetValue__16CVECircleClusterCFiR9CVector3f +GetValue__16CVECircleClusterCFiR9CVector3f: +/* 80335810 00332770 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80335814 00332774 7C 08 02 A6 */ mflr r0 +/* 80335818 00332778 90 01 00 74 */ stw r0, 0x74(r1) +/* 8033581C 0033277C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80335820 00332780 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80335824 00332784 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80335828 00332788 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8033582C 0033278C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80335830 00332790 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80335834 00332794 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80335838 00332798 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033583C 0033279C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80335840 003327A0 7C 9E 23 78 */ mr r30, r4 +/* 80335844 003327A4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335848 003327A8 6F C6 80 00 */ xoris r6, r30, 0x8000 +/* 8033584C 003327AC 3C 00 43 30 */ lis r0, 0x4330 +/* 80335850 003327B0 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80335854 003327B4 7C 7D 1B 78 */ mr r29, r3 +/* 80335858 003327B8 7C BF 2B 78 */ mr r31, r5 +/* 8033585C 003327BC C8 42 CB 60 */ lfd f2, lbl_805AE880@sda21(r2) +/* 80335860 003327C0 90 01 00 28 */ stw r0, 0x28(r1) +/* 80335864 003327C4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80335868 003327C8 80 63 00 04 */ lwz r3, 4(r3) +/* 8033586C 003327CC C8 21 00 28 */ lfd f1, 0x28(r1) +/* 80335870 003327D0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80335874 003327D4 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80335878 003327D8 C3 BD 00 20 */ lfs f29, 0x20(r29) +/* 8033587C 003327DC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80335880 003327E0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80335884 003327E4 EF BD 00 72 */ fmuls f29, f29, f1 +/* 80335888 003327E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033588C 003327EC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335890 003327F0 7D 89 03 A6 */ mtctr r12 +/* 80335894 003327F4 4E 80 04 21 */ bctrl +/* 80335898 003327F8 FC 20 E8 90 */ fmr f1, f29 +/* 8033589C 003327FC 48 05 F2 41 */ bl sin +/* 803358A0 00332800 FC 80 08 18 */ frsp f4, f1 +/* 803358A4 00332804 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 803358A8 00332808 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 803358AC 0033280C FC 20 E8 90 */ fmr f1, f29 +/* 803358B0 00332810 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 803358B4 00332814 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 803358B8 00332818 EF A4 00 B2 */ fmuls f29, f4, f2 +/* 803358BC 0033281C EF C4 00 32 */ fmuls f30, f4, f0 +/* 803358C0 00332820 48 05 EB 31 */ bl cos +/* 803358C4 00332824 FC C0 08 18 */ frsp f6, f1 +/* 803358C8 00332828 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 803358CC 0033282C C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 803358D0 00332830 7F C4 F3 78 */ mr r4, r30 +/* 803358D4 00332834 C0 1D 00 08 */ lfs f0, 8(r29) +/* 803358D8 00332838 38 A1 00 08 */ addi r5, r1, 8 +/* 803358DC 0033283C EC 86 00 B2 */ fmuls f4, f6, f2 +/* 803358E0 00332840 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 803358E4 00332844 EC 46 00 72 */ fmuls f2, f6, f1 +/* 803358E8 00332848 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 803358EC 0033284C EC 06 00 32 */ fmuls f0, f6, f0 +/* 803358F0 00332850 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803358F4 00332854 EC 85 20 2A */ fadds f4, f5, f4 +/* 803358F8 00332858 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 803358FC 0033285C EC 43 10 2A */ fadds f2, f3, f2 +/* 80335900 00332860 EC 01 00 2A */ fadds f0, f1, f0 +/* 80335904 00332864 EC 64 E8 2A */ fadds f3, f4, f29 +/* 80335908 00332868 EC 22 F0 2A */ fadds f1, f2, f30 +/* 8033590C 0033286C EC 00 F8 2A */ fadds f0, f0, f31 +/* 80335910 00332870 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80335914 00332874 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80335918 00332878 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8033591C 0033287C 81 83 00 00 */ lwz r12, 0(r3) +/* 80335920 00332880 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335924 00332884 7D 89 03 A6 */ mtctr r12 +/* 80335928 00332888 4E 80 04 21 */ bctrl +/* 8033592C 0033288C 38 61 00 0C */ addi r3, r1, 0xc +/* 80335930 00332890 4B FD EF 89 */ bl Magnitude__9CVector3fCFv +/* 80335934 00332894 C0 01 00 08 */ lfs f0, 8(r1) +/* 80335938 00332898 EF A0 00 72 */ fmuls f29, f0, f1 +/* 8033593C 0033289C 4B FD CC C1 */ bl GetRandomNumber__9CRandom16Fv +/* 80335940 003328A0 4B FD CB 9D */ bl Float__9CRandom16Fv +/* 80335944 003328A4 EF DD 00 72 */ fmuls f30, f29, f1 +/* 80335948 003328A8 4B FD CC B5 */ bl GetRandomNumber__9CRandom16Fv +/* 8033594C 003328AC 4B FD CB 91 */ bl Float__9CRandom16Fv +/* 80335950 003328B0 EF FD 00 72 */ fmuls f31, f29, f1 +/* 80335954 003328B4 4B FD CC A9 */ bl GetRandomNumber__9CRandom16Fv +/* 80335958 003328B8 4B FD CB 85 */ bl Float__9CRandom16Fv +/* 8033595C 003328BC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80335960 003328C0 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 80335964 003328C4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80335968 003328C8 38 60 00 00 */ li r3, 0 +/* 8033596C 003328CC EC 1E 00 2A */ fadds f0, f30, f0 +/* 80335970 003328D0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80335974 003328D4 EC 3F 08 2A */ fadds f1, f31, f1 +/* 80335978 003328D8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8033597C 003328DC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80335980 003328E0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80335984 003328E4 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80335988 003328E8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8033598C 003328EC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80335990 003328F0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80335994 003328F4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80335998 003328F8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8033599C 003328FC CB A1 00 40 */ lfd f29, 0x40(r1) +/* 803359A0 00332900 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803359A4 00332904 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 803359A8 00332908 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803359AC 0033290C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 803359B0 00332910 7C 08 03 A6 */ mtlr r0 +/* 803359B4 00332914 38 21 00 70 */ addi r1, r1, 0x70 +/* 803359B8 00332918 4E 80 00 20 */ blr + +.global __dt__16CVECircleCluster +__dt__16CVECircleCluster: +/* 803359BC 0033291C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803359C0 00332920 7C 08 02 A6 */ mflr r0 +/* 803359C4 00332924 90 01 00 14 */ stw r0, 0x14(r1) +/* 803359C8 00332928 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803359CC 0033292C 7C 9F 23 78 */ mr r31, r4 +/* 803359D0 00332930 93 C1 00 08 */ stw r30, 8(r1) +/* 803359D4 00332934 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803359D8 00332938 41 82 00 88 */ beq lbl_80335A60 +/* 803359DC 0033293C 3C 60 80 3F */ lis r3, lbl_803EE268@ha +/* 803359E0 00332940 38 03 E2 68 */ addi r0, r3, lbl_803EE268@l +/* 803359E4 00332944 90 1E 00 00 */ stw r0, 0(r30) +/* 803359E8 00332948 80 7E 00 04 */ lwz r3, 4(r30) +/* 803359EC 0033294C 28 03 00 00 */ cmplwi r3, 0 +/* 803359F0 00332950 41 82 00 18 */ beq lbl_80335A08 +/* 803359F4 00332954 81 83 00 00 */ lwz r12, 0(r3) +/* 803359F8 00332958 38 80 00 01 */ li r4, 1 +/* 803359FC 0033295C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335A00 00332960 7D 89 03 A6 */ mtctr r12 +/* 80335A04 00332964 4E 80 04 21 */ bctrl +lbl_80335A08: +/* 80335A08 00332968 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80335A0C 0033296C 28 03 00 00 */ cmplwi r3, 0 +/* 80335A10 00332970 41 82 00 18 */ beq lbl_80335A28 +/* 80335A14 00332974 81 83 00 00 */ lwz r12, 0(r3) +/* 80335A18 00332978 38 80 00 01 */ li r4, 1 +/* 80335A1C 0033297C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335A20 00332980 7D 89 03 A6 */ mtctr r12 +/* 80335A24 00332984 4E 80 04 21 */ bctrl +lbl_80335A28: +/* 80335A28 00332988 28 1E 00 00 */ cmplwi r30, 0 +/* 80335A2C 0033298C 41 82 00 20 */ beq lbl_80335A4C +/* 80335A30 00332990 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335A34 00332994 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80335A38 00332998 90 1E 00 00 */ stw r0, 0(r30) +/* 80335A3C 0033299C 41 82 00 10 */ beq lbl_80335A4C +/* 80335A40 003329A0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80335A44 003329A4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80335A48 003329A8 90 1E 00 00 */ stw r0, 0(r30) +lbl_80335A4C: +/* 80335A4C 003329AC 7F E0 07 35 */ extsh. r0, r31 +/* 80335A50 003329B0 40 81 00 10 */ ble lbl_80335A60 +/* 80335A54 003329B4 7F C3 F3 78 */ mr r3, r30 +/* 80335A58 003329B8 38 80 00 28 */ li r4, 0x28 +/* 80335A5C 003329BC 48 03 70 09 */ bl sub_8036ca64 +lbl_80335A60: +/* 80335A60 003329C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335A64 003329C4 7F C3 F3 78 */ mr r3, r30 +/* 80335A68 003329C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80335A6C 003329CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335A70 003329D0 7C 08 03 A6 */ mtlr r0 +/* 80335A74 003329D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80335A78 003329D8 4E 80 00 20 */ blr + +.global __ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement +__ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement: +/* 80335A7C 003329DC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80335A80 003329E0 7C 08 02 A6 */ mflr r0 +/* 80335A84 003329E4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80335A88 003329E8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80335A8C 003329EC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80335A90 003329F0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80335A94 003329F4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80335A98 003329F8 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80335A9C 003329FC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80335AA0 00332A00 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80335AA4 00332A04 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80335AA8 00332A08 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80335AAC 00332A0C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80335AB0 00332A10 7C 7F 1B 78 */ mr r31, r3 +/* 80335AB4 00332A14 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80335AB8 00332A18 7C BD 2B 78 */ mr r29, r5 +/* 80335ABC 00332A1C 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335AC0 00332A20 90 1F 00 00 */ stw r0, 0(r31) +/* 80335AC4 00332A24 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80335AC8 00332A28 3D 00 80 3F */ lis r8, lbl_803EE268@ha +/* 80335ACC 00332A2C 90 1F 00 00 */ stw r0, 0(r31) +/* 80335AD0 00332A30 38 08 E2 68 */ addi r0, r8, lbl_803EE268@l +/* 80335AD4 00332A34 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80335AD8 00332A38 7C DE 33 78 */ mr r30, r6 +/* 80335ADC 00332A3C 90 1F 00 00 */ stw r0, 0(r31) +/* 80335AE0 00332A40 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80335AE4 00332A44 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335AE8 00332A48 7F C3 F3 78 */ mr r3, r30 +/* 80335AEC 00332A4C 90 9F 00 04 */ stw r4, 4(r31) +/* 80335AF0 00332A50 38 A1 00 08 */ addi r5, r1, 8 +/* 80335AF4 00332A54 38 80 00 00 */ li r4, 0 +/* 80335AF8 00332A58 C0 26 00 00 */ lfs f1, 0(r6) +/* 80335AFC 00332A5C D0 3F 00 08 */ stfs f1, 8(r31) +/* 80335B00 00332A60 C0 26 00 04 */ lfs f1, 4(r6) +/* 80335B04 00332A64 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80335B08 00332A68 C0 26 00 08 */ lfs f1, 8(r6) +/* 80335B0C 00332A6C D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80335B10 00332A70 C0 26 00 00 */ lfs f1, 0(r6) +/* 80335B14 00332A74 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80335B18 00332A78 C0 26 00 04 */ lfs f1, 4(r6) +/* 80335B1C 00332A7C D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80335B20 00332A80 C0 26 00 08 */ lfs f1, 8(r6) +/* 80335B24 00332A84 D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80335B28 00332A88 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80335B2C 00332A8C 90 FF 00 24 */ stw r7, 0x24(r31) +/* 80335B30 00332A90 81 9E 00 00 */ lwz r12, 0(r30) +/* 80335B34 00332A94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335B38 00332A98 7D 89 03 A6 */ mtctr r12 +/* 80335B3C 00332A9C 4E 80 04 21 */ bctrl +/* 80335B40 00332AA0 80 81 00 08 */ lwz r4, 8(r1) +/* 80335B44 00332AA4 3C 00 43 30 */ lis r0, 0x4330 +/* 80335B48 00332AA8 90 01 00 28 */ stw r0, 0x28(r1) +/* 80335B4C 00332AAC 7F A3 EB 78 */ mr r3, r29 +/* 80335B50 00332AB0 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80335B54 00332AB4 C8 22 CB 60 */ lfd f1, lbl_805AE880@sda21(r2) +/* 80335B58 00332AB8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80335B5C 00332ABC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80335B60 00332AC0 C0 42 CB 6C */ lfs f2, lbl_805AE88C@sda21(r2) +/* 80335B64 00332AC4 38 80 00 00 */ li r4, 0 +/* 80335B68 00332AC8 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80335B6C 00332ACC C0 62 CB 68 */ lfs f3, lbl_805AE888@sda21(r2) +/* 80335B70 00332AD0 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80335B74 00332AD4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335B78 00332AD8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80335B7C 00332ADC EC 23 00 72 */ fmuls f1, f3, f1 +/* 80335B80 00332AE0 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 80335B84 00332AE4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80335B88 00332AE8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80335B8C 00332AEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80335B90 00332AF0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80335B94 00332AF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335B98 00332AF8 7D 89 03 A6 */ mtctr r12 +/* 80335B9C 00332AFC 4E 80 04 21 */ bctrl +/* 80335BA0 00332B00 C3 E1 00 18 */ lfs f31, 0x18(r1) +/* 80335BA4 00332B04 38 61 00 18 */ addi r3, r1, 0x18 +/* 80335BA8 00332B08 C3 C1 00 1C */ lfs f30, 0x1c(r1) +/* 80335BAC 00332B0C C3 A1 00 20 */ lfs f29, 0x20(r1) +/* 80335BB0 00332B10 4B FD EB 49 */ bl CanBeNormalized__9CVector3fCFv +/* 80335BB4 00332B14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80335BB8 00332B18 41 82 00 2C */ beq lbl_80335BE4 +/* 80335BBC 00332B1C 38 61 00 0C */ addi r3, r1, 0xc +/* 80335BC0 00332B20 38 81 00 18 */ addi r4, r1, 0x18 +/* 80335BC4 00332B24 4B FD EC 8D */ bl AsNormalized__9CVector3fCFv +/* 80335BC8 00332B28 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80335BCC 00332B2C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80335BD0 00332B30 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80335BD4 00332B34 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80335BD8 00332B38 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80335BDC 00332B3C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80335BE0 00332B40 48 00 00 20 */ b lbl_80335C00 +lbl_80335BE4: +/* 80335BE4 00332B44 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80335BE8 00332B48 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) +/* 80335BEC 00332B4C C0 23 00 04 */ lfs f1, 4(r3) +/* 80335BF0 00332B50 C0 03 00 08 */ lfs f0, 8(r3) +/* 80335BF4 00332B54 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80335BF8 00332B58 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80335BFC 00332B5C D0 01 00 20 */ stfs f0, 0x20(r1) +lbl_80335C00: +/* 80335C00 00332B60 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80335C04 00332B64 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) +/* 80335C08 00332B68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80335C0C 00332B6C 40 81 00 34 */ ble lbl_80335C40 +/* 80335C10 00332B70 C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) +/* 80335C14 00332B74 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 80335C18 00332B78 EC 43 07 72 */ fmuls f2, f3, f29 +/* 80335C1C 00332B7C EC 24 07 F2 */ fmuls f1, f4, f31 +/* 80335C20 00332B80 EC 04 07 B2 */ fmuls f0, f4, f30 +/* 80335C24 00332B84 EC 5E 11 38 */ fmsubs f2, f30, f4, f2 +/* 80335C28 00332B88 EC 3D 09 38 */ fmsubs f1, f29, f4, f1 +/* 80335C2C 00332B8C EC 1F 00 F8 */ fmsubs f0, f31, f3, f0 +/* 80335C30 00332B90 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80335C34 00332B94 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80335C38 00332B98 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80335C3C 00332B9C 48 00 00 30 */ b lbl_80335C6C +lbl_80335C40: +/* 80335C40 00332BA0 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 80335C44 00332BA4 C0 42 CB 58 */ lfs f2, lbl_805AE878@sda21(r2) +/* 80335C48 00332BA8 EC 64 07 72 */ fmuls f3, f4, f29 +/* 80335C4C 00332BAC EC 24 07 F2 */ fmuls f1, f4, f31 +/* 80335C50 00332BB0 EC 02 07 B2 */ fmuls f0, f2, f30 +/* 80335C54 00332BB4 EC 7E 19 38 */ fmsubs f3, f30, f4, f3 +/* 80335C58 00332BB8 EC 3D 08 B8 */ fmsubs f1, f29, f2, f1 +/* 80335C5C 00332BBC EC 1F 01 38 */ fmsubs f0, f31, f4, f0 +/* 80335C60 00332BC0 D0 7F 00 08 */ stfs f3, 8(r31) +/* 80335C64 00332BC4 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80335C68 00332BC8 D0 1F 00 10 */ stfs f0, 0x10(r31) +lbl_80335C6C: +/* 80335C6C 00332BCC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 80335C70 00332BD0 28 1E 00 00 */ cmplwi r30, 0 +/* 80335C74 00332BD4 C0 BF 00 0C */ lfs f5, 0xc(r31) +/* 80335C78 00332BD8 C0 DF 00 10 */ lfs f6, 0x10(r31) +/* 80335C7C 00332BDC C0 E1 00 18 */ lfs f7, 0x18(r1) +/* 80335C80 00332BE0 EC 25 00 F2 */ fmuls f1, f5, f3 +/* 80335C84 00332BE4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80335C88 00332BE8 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80335C8C 00332BEC EC 06 01 F2 */ fmuls f0, f6, f7 +/* 80335C90 00332BF0 EC 22 09 B8 */ fmsubs f1, f2, f6, f1 +/* 80335C94 00332BF4 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80335C98 00332BF8 EC 03 01 38 */ fmsubs f0, f3, f4, f0 +/* 80335C9C 00332BFC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80335CA0 00332C00 EC 27 11 78 */ fmsubs f1, f7, f5, f2 +/* 80335CA4 00332C04 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80335CA8 00332C08 D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80335CAC 00332C0C 41 82 00 1C */ beq lbl_80335CC8 +/* 80335CB0 00332C10 7F C3 F3 78 */ mr r3, r30 +/* 80335CB4 00332C14 38 80 00 01 */ li r4, 1 +/* 80335CB8 00332C18 81 9E 00 00 */ lwz r12, 0(r30) +/* 80335CBC 00332C1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335CC0 00332C20 7D 89 03 A6 */ mtctr r12 +/* 80335CC4 00332C24 4E 80 04 21 */ bctrl +lbl_80335CC8: +/* 80335CC8 00332C28 28 1D 00 00 */ cmplwi r29, 0 +/* 80335CCC 00332C2C 41 82 00 1C */ beq lbl_80335CE8 +/* 80335CD0 00332C30 7F A3 EB 78 */ mr r3, r29 +/* 80335CD4 00332C34 38 80 00 01 */ li r4, 1 +/* 80335CD8 00332C38 81 9D 00 00 */ lwz r12, 0(r29) +/* 80335CDC 00332C3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335CE0 00332C40 7D 89 03 A6 */ mtctr r12 +/* 80335CE4 00332C44 4E 80 04 21 */ bctrl +lbl_80335CE8: +/* 80335CE8 00332C48 7F E3 FB 78 */ mr r3, r31 +/* 80335CEC 00332C4C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80335CF0 00332C50 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80335CF4 00332C54 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80335CF8 00332C58 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80335CFC 00332C5C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80335D00 00332C60 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80335D04 00332C64 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80335D08 00332C68 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80335D0C 00332C6C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80335D10 00332C70 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80335D14 00332C74 7C 08 03 A6 */ mtlr r0 +/* 80335D18 00332C78 38 21 00 70 */ addi r1, r1, 0x70 +/* 80335D1C 00332C7C 4E 80 00 20 */ blr + +.global GetValue__12CVETimeChainCFiR9CVector3f +GetValue__12CVETimeChainCFiR9CVector3f: +/* 80335D20 00332C80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80335D24 00332C84 7C 08 02 A6 */ mflr r0 +/* 80335D28 00332C88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80335D2C 00332C8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80335D30 00332C90 7C BF 2B 78 */ mr r31, r5 +/* 80335D34 00332C94 38 A1 00 08 */ addi r5, r1, 8 +/* 80335D38 00332C98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80335D3C 00332C9C 7C 9E 23 78 */ mr r30, r4 +/* 80335D40 00332CA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80335D44 00332CA4 7C 7D 1B 78 */ mr r29, r3 +/* 80335D48 00332CA8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80335D4C 00332CAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80335D50 00332CB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335D54 00332CB4 7D 89 03 A6 */ mtctr r12 +/* 80335D58 00332CB8 4E 80 04 21 */ bctrl +/* 80335D5C 00332CBC 80 01 00 08 */ lwz r0, 8(r1) +/* 80335D60 00332CC0 7C 1E 00 00 */ cmpw r30, r0 +/* 80335D64 00332CC4 40 80 00 24 */ bge lbl_80335D88 +/* 80335D68 00332CC8 80 7D 00 04 */ lwz r3, 4(r29) +/* 80335D6C 00332CCC 7F C4 F3 78 */ mr r4, r30 +/* 80335D70 00332CD0 7F E5 FB 78 */ mr r5, r31 +/* 80335D74 00332CD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335D78 00332CD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335D7C 00332CDC 7D 89 03 A6 */ mtctr r12 +/* 80335D80 00332CE0 4E 80 04 21 */ bctrl +/* 80335D84 00332CE4 48 00 00 20 */ b lbl_80335DA4 +lbl_80335D88: +/* 80335D88 00332CE8 80 7D 00 08 */ lwz r3, 8(r29) +/* 80335D8C 00332CEC 7F E5 FB 78 */ mr r5, r31 +/* 80335D90 00332CF0 7C 80 F0 50 */ subf r4, r0, r30 +/* 80335D94 00332CF4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335D98 00332CF8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335D9C 00332CFC 7D 89 03 A6 */ mtctr r12 +/* 80335DA0 00332D00 4E 80 04 21 */ bctrl +lbl_80335DA4: +/* 80335DA4 00332D04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80335DA8 00332D08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80335DAC 00332D0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80335DB0 00332D10 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80335DB4 00332D14 7C 08 03 A6 */ mtlr r0 +/* 80335DB8 00332D18 38 21 00 20 */ addi r1, r1, 0x20 +/* 80335DBC 00332D1C 4E 80 00 20 */ blr + +.global __dt__12CVETimeChain +__dt__12CVETimeChain: +/* 80335DC0 00332D20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335DC4 00332D24 7C 08 02 A6 */ mflr r0 +/* 80335DC8 00332D28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80335DCC 00332D2C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80335DD0 00332D30 7C 9F 23 78 */ mr r31, r4 +/* 80335DD4 00332D34 93 C1 00 08 */ stw r30, 8(r1) +/* 80335DD8 00332D38 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80335DDC 00332D3C 41 82 00 A8 */ beq lbl_80335E84 +/* 80335DE0 00332D40 3C 60 80 3F */ lis r3, lbl_803EE27C@ha +/* 80335DE4 00332D44 38 03 E2 7C */ addi r0, r3, lbl_803EE27C@l +/* 80335DE8 00332D48 90 1E 00 00 */ stw r0, 0(r30) +/* 80335DEC 00332D4C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80335DF0 00332D50 28 03 00 00 */ cmplwi r3, 0 +/* 80335DF4 00332D54 41 82 00 18 */ beq lbl_80335E0C +/* 80335DF8 00332D58 81 83 00 00 */ lwz r12, 0(r3) +/* 80335DFC 00332D5C 38 80 00 01 */ li r4, 1 +/* 80335E00 00332D60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335E04 00332D64 7D 89 03 A6 */ mtctr r12 +/* 80335E08 00332D68 4E 80 04 21 */ bctrl +lbl_80335E0C: +/* 80335E0C 00332D6C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80335E10 00332D70 28 03 00 00 */ cmplwi r3, 0 +/* 80335E14 00332D74 41 82 00 18 */ beq lbl_80335E2C +/* 80335E18 00332D78 81 83 00 00 */ lwz r12, 0(r3) +/* 80335E1C 00332D7C 38 80 00 01 */ li r4, 1 +/* 80335E20 00332D80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335E24 00332D84 7D 89 03 A6 */ mtctr r12 +/* 80335E28 00332D88 4E 80 04 21 */ bctrl +lbl_80335E2C: +/* 80335E2C 00332D8C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80335E30 00332D90 28 03 00 00 */ cmplwi r3, 0 +/* 80335E34 00332D94 41 82 00 18 */ beq lbl_80335E4C +/* 80335E38 00332D98 81 83 00 00 */ lwz r12, 0(r3) +/* 80335E3C 00332D9C 38 80 00 01 */ li r4, 1 +/* 80335E40 00332DA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335E44 00332DA4 7D 89 03 A6 */ mtctr r12 +/* 80335E48 00332DA8 4E 80 04 21 */ bctrl +lbl_80335E4C: +/* 80335E4C 00332DAC 28 1E 00 00 */ cmplwi r30, 0 +/* 80335E50 00332DB0 41 82 00 20 */ beq lbl_80335E70 +/* 80335E54 00332DB4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335E58 00332DB8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80335E5C 00332DBC 90 1E 00 00 */ stw r0, 0(r30) +/* 80335E60 00332DC0 41 82 00 10 */ beq lbl_80335E70 +/* 80335E64 00332DC4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80335E68 00332DC8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80335E6C 00332DCC 90 1E 00 00 */ stw r0, 0(r30) +lbl_80335E70: +/* 80335E70 00332DD0 7F E0 07 35 */ extsh. r0, r31 +/* 80335E74 00332DD4 40 81 00 10 */ ble lbl_80335E84 +/* 80335E78 00332DD8 7F C3 F3 78 */ mr r3, r30 +/* 80335E7C 00332DDC 38 80 00 10 */ li r4, 0x10 +/* 80335E80 00332DE0 48 03 6B E5 */ bl sub_8036ca64 +lbl_80335E84: +/* 80335E84 00332DE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335E88 00332DE8 7F C3 F3 78 */ mr r3, r30 +/* 80335E8C 00332DEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80335E90 00332DF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335E94 00332DF4 7C 08 03 A6 */ mtlr r0 +/* 80335E98 00332DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80335E9C 00332DFC 4E 80 00 20 */ blr + +.global __ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement +__ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement: +/* 80335EA0 00332E00 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80335EA4 00332E04 3D 00 80 3F */ lis r8, lbl_803EC594@ha +/* 80335EA8 00332E08 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80335EAC 00332E0C 3C E0 80 3F */ lis r7, lbl_803EE27C@ha +/* 80335EB0 00332E10 90 03 00 00 */ stw r0, 0(r3) +/* 80335EB4 00332E14 39 08 C5 94 */ addi r8, r8, lbl_803EC594@l +/* 80335EB8 00332E18 38 07 E2 7C */ addi r0, r7, lbl_803EE27C@l +/* 80335EBC 00332E1C 91 03 00 00 */ stw r8, 0(r3) +/* 80335EC0 00332E20 90 03 00 00 */ stw r0, 0(r3) +/* 80335EC4 00332E24 90 83 00 04 */ stw r4, 4(r3) +/* 80335EC8 00332E28 90 A3 00 08 */ stw r5, 8(r3) +/* 80335ECC 00332E2C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80335ED0 00332E30 4E 80 00 20 */ blr + +.global GetValue__9CVECircleCFiR9CVector3f +GetValue__9CVECircleCFiR9CVector3f: +/* 80335ED4 00332E34 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80335ED8 00332E38 7C 08 02 A6 */ mflr r0 +/* 80335EDC 00332E3C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80335EE0 00332E40 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80335EE4 00332E44 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80335EE8 00332E48 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80335EEC 00332E4C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80335EF0 00332E50 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80335EF4 00332E54 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80335EF8 00332E58 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80335EFC 00332E5C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80335F00 00332E60 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80335F04 00332E64 7C 7D 1B 78 */ mr r29, r3 +/* 80335F08 00332E68 7C BF 2B 78 */ mr r31, r5 +/* 80335F0C 00332E6C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80335F10 00332E70 7C 9E 23 78 */ mr r30, r4 +/* 80335F14 00332E74 38 A1 00 0C */ addi r5, r1, 0xc +/* 80335F18 00332E78 81 83 00 00 */ lwz r12, 0(r3) +/* 80335F1C 00332E7C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335F20 00332E80 7D 89 03 A6 */ mtctr r12 +/* 80335F24 00332E84 4E 80 04 21 */ bctrl +/* 80335F28 00332E88 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80335F2C 00332E8C 7F C4 F3 78 */ mr r4, r30 +/* 80335F30 00332E90 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80335F34 00332E94 81 83 00 00 */ lwz r12, 0(r3) +/* 80335F38 00332E98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335F3C 00332E9C 7D 89 03 A6 */ mtctr r12 +/* 80335F40 00332EA0 4E 80 04 21 */ bctrl +/* 80335F44 00332EA4 80 7D 00 20 */ lwz r3, 0x20(r29) +/* 80335F48 00332EA8 7F C4 F3 78 */ mr r4, r30 +/* 80335F4C 00332EAC 38 A1 00 08 */ addi r5, r1, 8 +/* 80335F50 00332EB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80335F54 00332EB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335F58 00332EB8 7D 89 03 A6 */ mtctr r12 +/* 80335F5C 00332EBC 4E 80 04 21 */ bctrl +/* 80335F60 00332EC0 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80335F64 00332EC4 3C 00 43 30 */ lis r0, 0x4330 +/* 80335F68 00332EC8 90 61 00 24 */ stw r3, 0x24(r1) +/* 80335F6C 00332ECC 7F C4 F3 78 */ mr r4, r30 +/* 80335F70 00332ED0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335F74 00332ED4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80335F78 00332ED8 90 01 00 20 */ stw r0, 0x20(r1) +/* 80335F7C 00332EDC C8 42 CB 60 */ lfd f2, lbl_805AE880@sda21(r2) +/* 80335F80 00332EE0 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 80335F84 00332EE4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80335F88 00332EE8 EC 41 10 28 */ fsubs f2, f1, f2 +/* 80335F8C 00332EEC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80335F90 00332EF0 C0 21 00 08 */ lfs f1, 8(r1) +/* 80335F94 00332EF4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80335F98 00332EF8 80 7D 00 04 */ lwz r3, 4(r29) +/* 80335F9C 00332EFC EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 80335FA0 00332F00 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80335FA4 00332F04 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) +/* 80335FA8 00332F08 81 83 00 00 */ lwz r12, 0(r3) +/* 80335FAC 00332F0C EF A0 00 72 */ fmuls f29, f0, f1 +/* 80335FB0 00332F10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335FB4 00332F14 7D 89 03 A6 */ mtctr r12 +/* 80335FB8 00332F18 4E 80 04 21 */ bctrl +/* 80335FBC 00332F1C FC 20 E8 90 */ fmr f1, f29 +/* 80335FC0 00332F20 48 05 EB 1D */ bl sin +/* 80335FC4 00332F24 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 80335FC8 00332F28 FC A0 08 18 */ frsp f5, f1 +/* 80335FCC 00332F2C C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 80335FD0 00332F30 FC 20 E8 90 */ fmr f1, f29 +/* 80335FD4 00332F34 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 80335FD8 00332F38 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80335FDC 00332F3C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80335FE0 00332F40 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80335FE4 00332F44 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80335FE8 00332F48 EF A5 00 F2 */ fmuls f29, f5, f3 +/* 80335FEC 00332F4C EF C5 00 B2 */ fmuls f30, f5, f2 +/* 80335FF0 00332F50 EF E5 00 32 */ fmuls f31, f5, f0 +/* 80335FF4 00332F54 48 05 E3 FD */ bl cos +/* 80335FF8 00332F58 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80335FFC 00332F5C FC C0 08 18 */ frsp f6, f1 +/* 80336000 00332F60 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80336004 00332F64 38 60 00 00 */ li r3, 0 +/* 80336008 00332F68 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8033600C 00332F6C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80336010 00332F70 C0 5D 00 10 */ lfs f2, 0x10(r29) +/* 80336014 00332F74 EC 83 00 72 */ fmuls f4, f3, f1 +/* 80336018 00332F78 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8033601C 00332F7C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80336020 00332F80 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 80336024 00332F84 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80336028 00332F88 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8033602C 00332F8C EC 86 01 32 */ fmuls f4, f6, f4 +/* 80336030 00332F90 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80336034 00332F94 EC 01 00 2A */ fadds f0, f1, f0 +/* 80336038 00332F98 EC 85 20 2A */ fadds f4, f5, f4 +/* 8033603C 00332F9C EC 23 10 2A */ fadds f1, f3, f2 +/* 80336040 00332FA0 EC 00 E8 2A */ fadds f0, f0, f29 +/* 80336044 00332FA4 EC 44 F0 2A */ fadds f2, f4, f30 +/* 80336048 00332FA8 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8033604C 00332FAC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80336050 00332FB0 D0 5F 00 04 */ stfs f2, 4(r31) +/* 80336054 00332FB4 D0 3F 00 08 */ stfs f1, 8(r31) +/* 80336058 00332FB8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8033605C 00332FBC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80336060 00332FC0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80336064 00332FC4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80336068 00332FC8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8033606C 00332FCC CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80336070 00332FD0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80336074 00332FD4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80336078 00332FD8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8033607C 00332FDC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80336080 00332FE0 7C 08 03 A6 */ mtlr r0 +/* 80336084 00332FE4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80336088 00332FE8 4E 80 00 20 */ blr + +.global __dt__9CVECircle +__dt__9CVECircle: +/* 8033608C 00332FEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336090 00332FF0 7C 08 02 A6 */ mflr r0 +/* 80336094 00332FF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336098 00332FF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033609C 00332FFC 7C 9F 23 78 */ mr r31, r4 +/* 803360A0 00333000 93 C1 00 08 */ stw r30, 8(r1) +/* 803360A4 00333004 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803360A8 00333008 41 82 00 C8 */ beq lbl_80336170 +/* 803360AC 0033300C 3C 60 80 3F */ lis r3, lbl_803EE290@ha +/* 803360B0 00333010 38 03 E2 90 */ addi r0, r3, lbl_803EE290@l +/* 803360B4 00333014 90 1E 00 00 */ stw r0, 0(r30) +/* 803360B8 00333018 80 7E 00 04 */ lwz r3, 4(r30) +/* 803360BC 0033301C 28 03 00 00 */ cmplwi r3, 0 +/* 803360C0 00333020 41 82 00 18 */ beq lbl_803360D8 +/* 803360C4 00333024 81 83 00 00 */ lwz r12, 0(r3) +/* 803360C8 00333028 38 80 00 01 */ li r4, 1 +/* 803360CC 0033302C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803360D0 00333030 7D 89 03 A6 */ mtctr r12 +/* 803360D4 00333034 4E 80 04 21 */ bctrl +lbl_803360D8: +/* 803360D8 00333038 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803360DC 0033303C 28 03 00 00 */ cmplwi r3, 0 +/* 803360E0 00333040 41 82 00 18 */ beq lbl_803360F8 +/* 803360E4 00333044 81 83 00 00 */ lwz r12, 0(r3) +/* 803360E8 00333048 38 80 00 01 */ li r4, 1 +/* 803360EC 0033304C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803360F0 00333050 7D 89 03 A6 */ mtctr r12 +/* 803360F4 00333054 4E 80 04 21 */ bctrl +lbl_803360F8: +/* 803360F8 00333058 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803360FC 0033305C 28 03 00 00 */ cmplwi r3, 0 +/* 80336100 00333060 41 82 00 18 */ beq lbl_80336118 +/* 80336104 00333064 81 83 00 00 */ lwz r12, 0(r3) +/* 80336108 00333068 38 80 00 01 */ li r4, 1 +/* 8033610C 0033306C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336110 00333070 7D 89 03 A6 */ mtctr r12 +/* 80336114 00333074 4E 80 04 21 */ bctrl +lbl_80336118: +/* 80336118 00333078 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8033611C 0033307C 28 03 00 00 */ cmplwi r3, 0 +/* 80336120 00333080 41 82 00 18 */ beq lbl_80336138 +/* 80336124 00333084 81 83 00 00 */ lwz r12, 0(r3) +/* 80336128 00333088 38 80 00 01 */ li r4, 1 +/* 8033612C 0033308C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336130 00333090 7D 89 03 A6 */ mtctr r12 +/* 80336134 00333094 4E 80 04 21 */ bctrl +lbl_80336138: +/* 80336138 00333098 28 1E 00 00 */ cmplwi r30, 0 +/* 8033613C 0033309C 41 82 00 20 */ beq lbl_8033615C +/* 80336140 003330A0 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336144 003330A4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336148 003330A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033614C 003330AC 41 82 00 10 */ beq lbl_8033615C +/* 80336150 003330B0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336154 003330B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336158 003330B8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033615C: +/* 8033615C 003330BC 7F E0 07 35 */ extsh. r0, r31 +/* 80336160 003330C0 40 81 00 10 */ ble lbl_80336170 +/* 80336164 003330C4 7F C3 F3 78 */ mr r3, r30 +/* 80336168 003330C8 38 80 00 2C */ li r4, 0x2c +/* 8033616C 003330CC 48 03 68 F9 */ bl sub_8036ca64 +lbl_80336170: +/* 80336170 003330D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336174 003330D4 7F C3 F3 78 */ mr r3, r30 +/* 80336178 003330D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033617C 003330DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336180 003330E0 7C 08 03 A6 */ mtlr r0 +/* 80336184 003330E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336188 003330E8 4E 80 00 20 */ blr + +.global __ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement +__ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement: +/* 8033618C 003330EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80336190 003330F0 7C 08 02 A6 */ mflr r0 +/* 80336194 003330F4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80336198 003330F8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033619C 003330FC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803361A0 00333100 7C BF 2B 78 */ mr r31, r5 +/* 803361A4 00333104 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803361A8 00333108 7C 7E 1B 78 */ mr r30, r3 +/* 803361AC 0033310C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803361B0 00333110 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803361B4 00333114 7F C9 F3 78 */ mr r9, r30 +/* 803361B8 00333118 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803361BC 0033311C 90 1E 00 00 */ stw r0, 0(r30) +/* 803361C0 00333120 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803361C4 00333124 7D 25 4B 78 */ mr r5, r9 +/* 803361C8 00333128 3C 60 80 3F */ lis r3, lbl_803EE290@ha +/* 803361CC 0033312C 90 09 00 00 */ stw r0, 0(r9) +/* 803361D0 00333130 38 03 E2 90 */ addi r0, r3, lbl_803EE290@l +/* 803361D4 00333134 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803361D8 00333138 90 1E 00 00 */ stw r0, 0(r30) +/* 803361DC 0033313C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803361E0 00333140 39 23 66 A0 */ addi r9, r3, skZero3f@l +/* 803361E4 00333144 90 9E 00 04 */ stw r4, 4(r30) +/* 803361E8 00333148 7F E3 FB 78 */ mr r3, r31 +/* 803361EC 0033314C 38 80 00 00 */ li r4, 0 +/* 803361F0 00333150 C0 29 00 00 */ lfs f1, 0(r9) +/* 803361F4 00333154 D0 3E 00 08 */ stfs f1, 8(r30) +/* 803361F8 00333158 C0 29 00 04 */ lfs f1, 4(r9) +/* 803361FC 0033315C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80336200 00333160 C0 29 00 08 */ lfs f1, 8(r9) +/* 80336204 00333164 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80336208 00333168 C0 29 00 00 */ lfs f1, 0(r9) +/* 8033620C 0033316C D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80336210 00333170 C0 29 00 04 */ lfs f1, 4(r9) +/* 80336214 00333174 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80336218 00333178 C0 29 00 08 */ lfs f1, 8(r9) +/* 8033621C 0033317C D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80336220 00333180 90 DE 00 20 */ stw r6, 0x20(r30) +/* 80336224 00333184 90 FE 00 24 */ stw r7, 0x24(r30) +/* 80336228 00333188 91 1E 00 28 */ stw r8, 0x28(r30) +/* 8033622C 0033318C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80336230 00333190 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80336234 00333194 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80336238 00333198 81 9F 00 00 */ lwz r12, 0(r31) +/* 8033623C 0033319C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336240 003331A0 7D 89 03 A6 */ mtctr r12 +/* 80336244 003331A4 4E 80 04 21 */ bctrl +/* 80336248 003331A8 38 61 00 08 */ addi r3, r1, 8 +/* 8033624C 003331AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80336250 003331B0 4B FD E6 01 */ bl AsNormalized__9CVector3fCFv +/* 80336254 003331B4 C1 01 00 08 */ lfs f8, 8(r1) +/* 80336258 003331B8 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) +/* 8033625C 003331BC C0 C1 00 0C */ lfs f6, 0xc(r1) +/* 80336260 003331C0 FC 08 00 40 */ fcmpo cr0, f8, f0 +/* 80336264 003331C4 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 80336268 003331C8 40 81 00 34 */ ble lbl_8033629C +/* 8033626C 003331CC C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) +/* 80336270 003331D0 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 80336274 003331D4 EC 43 01 F2 */ fmuls f2, f3, f7 +/* 80336278 003331D8 EC 24 02 32 */ fmuls f1, f4, f8 +/* 8033627C 003331DC EC 04 01 B2 */ fmuls f0, f4, f6 +/* 80336280 003331E0 EC 46 11 38 */ fmsubs f2, f6, f4, f2 +/* 80336284 003331E4 EC 27 09 38 */ fmsubs f1, f7, f4, f1 +/* 80336288 003331E8 EC 08 00 F8 */ fmsubs f0, f8, f3, f0 +/* 8033628C 003331EC D0 5E 00 08 */ stfs f2, 8(r30) +/* 80336290 003331F0 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80336294 003331F4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 80336298 003331F8 48 00 00 30 */ b lbl_803362C8 +lbl_8033629C: +/* 8033629C 003331FC C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 803362A0 00333200 C0 42 CB 58 */ lfs f2, lbl_805AE878@sda21(r2) +/* 803362A4 00333204 EC 64 01 F2 */ fmuls f3, f4, f7 +/* 803362A8 00333208 EC 24 02 32 */ fmuls f1, f4, f8 +/* 803362AC 0033320C EC 02 01 B2 */ fmuls f0, f2, f6 +/* 803362B0 00333210 EC 66 19 38 */ fmsubs f3, f6, f4, f3 +/* 803362B4 00333214 EC 27 08 B8 */ fmsubs f1, f7, f2, f1 +/* 803362B8 00333218 EC 08 01 38 */ fmsubs f0, f8, f4, f0 +/* 803362BC 0033321C D0 7E 00 08 */ stfs f3, 8(r30) +/* 803362C0 00333220 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 803362C4 00333224 D0 1E 00 10 */ stfs f0, 0x10(r30) +lbl_803362C8: +/* 803362C8 00333228 C0 9E 00 0C */ lfs f4, 0xc(r30) +/* 803362CC 0033322C 28 1F 00 00 */ cmplwi r31, 0 +/* 803362D0 00333230 C0 BE 00 10 */ lfs f5, 0x10(r30) +/* 803362D4 00333234 EC 44 01 F2 */ fmuls f2, f4, f7 +/* 803362D8 00333238 C0 7E 00 08 */ lfs f3, 8(r30) +/* 803362DC 0033323C EC 25 02 32 */ fmuls f1, f5, f8 +/* 803362E0 00333240 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 803362E4 00333244 EC 46 11 78 */ fmsubs f2, f6, f5, f2 +/* 803362E8 00333248 EC 27 08 F8 */ fmsubs f1, f7, f3, f1 +/* 803362EC 0033324C EC 08 01 38 */ fmsubs f0, f8, f4, f0 +/* 803362F0 00333250 D0 5E 00 14 */ stfs f2, 0x14(r30) +/* 803362F4 00333254 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 803362F8 00333258 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 803362FC 0033325C 41 82 00 1C */ beq lbl_80336318 +/* 80336300 00333260 7F E3 FB 78 */ mr r3, r31 +/* 80336304 00333264 38 80 00 01 */ li r4, 1 +/* 80336308 00333268 81 9F 00 00 */ lwz r12, 0(r31) +/* 8033630C 0033326C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336310 00333270 7D 89 03 A6 */ mtctr r12 +/* 80336314 00333274 4E 80 04 21 */ bctrl +lbl_80336318: +/* 80336318 00333278 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033631C 0033327C 7F C3 F3 78 */ mr r3, r30 +/* 80336320 00333280 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80336324 00333284 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80336328 00333288 7C 08 03 A6 */ mtlr r0 +/* 8033632C 0033328C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80336330 00333290 4E 80 00 20 */ blr + +.global GetValue__12CVEAngleConeCFiR9CVector3f +GetValue__12CVEAngleConeCFiR9CVector3f: +/* 80336334 00333294 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80336338 00333298 7C 08 02 A6 */ mflr r0 +/* 8033633C 0033329C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80336340 003332A0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80336344 003332A4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80336348 003332A8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8033634C 003332AC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80336350 003332B0 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80336354 003332B4 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80336358 003332B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033635C 003332BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80336360 003332C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80336364 003332C4 7C 7D 1B 78 */ mr r29, r3 +/* 80336368 003332C8 7C BF 2B 78 */ mr r31, r5 +/* 8033636C 003332CC 80 63 00 04 */ lwz r3, 4(r3) +/* 80336370 003332D0 7C 9E 23 78 */ mr r30, r4 +/* 80336374 003332D4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80336378 003332D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033637C 003332DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336380 003332E0 7D 89 03 A6 */ mtctr r12 +/* 80336384 003332E4 4E 80 04 21 */ bctrl +/* 80336388 003332E8 80 7D 00 08 */ lwz r3, 8(r29) +/* 8033638C 003332EC 7F C4 F3 78 */ mr r4, r30 +/* 80336390 003332F0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80336394 003332F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80336398 003332F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033639C 003332FC 7D 89 03 A6 */ mtctr r12 +/* 803363A0 00333300 4E 80 04 21 */ bctrl +/* 803363A4 00333304 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803363A8 00333308 7F C4 F3 78 */ mr r4, r30 +/* 803363AC 0033330C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803363B0 00333310 81 83 00 00 */ lwz r12, 0(r3) +/* 803363B4 00333314 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803363B8 00333318 7D 89 03 A6 */ mtctr r12 +/* 803363BC 0033331C 4E 80 04 21 */ bctrl +/* 803363C0 00333320 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803363C4 00333324 7F C4 F3 78 */ mr r4, r30 +/* 803363C8 00333328 38 A1 00 0C */ addi r5, r1, 0xc +/* 803363CC 0033332C 81 83 00 00 */ lwz r12, 0(r3) +/* 803363D0 00333330 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803363D4 00333334 7D 89 03 A6 */ mtctr r12 +/* 803363D8 00333338 4E 80 04 21 */ bctrl +/* 803363DC 0033333C C3 A1 00 14 */ lfs f29, 0x14(r1) +/* 803363E0 00333340 4B FD C2 1D */ bl GetRandomNumber__9CRandom16Fv +/* 803363E4 00333344 4B FD C0 F9 */ bl Float__9CRandom16Fv +/* 803363E8 00333348 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 803363EC 0033334C C0 42 CB 74 */ lfs f2, lbl_805AE894@sda21(r2) +/* 803363F0 00333350 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803363F4 00333354 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) +/* 803363F8 00333358 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 803363FC 0033335C C3 A1 00 0C */ lfs f29, 0xc(r1) +/* 80336400 00333360 EC 21 10 2A */ fadds f1, f1, f2 +/* 80336404 00333364 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80336408 00333368 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8033640C 0033336C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80336410 00333370 4B FD C1 ED */ bl GetRandomNumber__9CRandom16Fv +/* 80336414 00333374 4B FD C0 C9 */ bl Float__9CRandom16Fv +/* 80336418 00333378 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 8033641C 0033337C C0 42 CB 74 */ lfs f2, lbl_805AE894@sda21(r2) +/* 80336420 00333380 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80336424 00333384 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) +/* 80336428 00333388 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 8033642C 0033338C EC 41 10 2A */ fadds f2, f1, f2 +/* 80336430 00333390 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80336434 00333394 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80336438 00333398 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8033643C 0033339C 4B FD E9 09 */ bl FastCosR__5CMathFf +/* 80336440 003333A0 FF C0 08 90 */ fmr f30, f1 +/* 80336444 003333A4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80336448 003333A8 4B FD E8 FD */ bl FastCosR__5CMathFf +/* 8033644C 003333AC EF A1 07 B2 */ fmuls f29, f1, f30 +/* 80336450 003333B0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80336454 003333B4 4B FD E9 9D */ bl FastSinR__5CMathFf +/* 80336458 003333B8 FF C0 08 90 */ fmr f30, f1 +/* 8033645C 003333BC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80336460 003333C0 4B FD E8 E5 */ bl FastCosR__5CMathFf +/* 80336464 003333C4 FF E0 08 90 */ fmr f31, f1 +/* 80336468 003333C8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8033646C 003333CC 4B FD E9 85 */ bl FastSinR__5CMathFf +/* 80336470 003333D0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80336474 003333D4 FC 20 08 50 */ fneg f1, f1 +/* 80336478 003333D8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 8033647C 003333DC 7F C4 F3 78 */ mr r4, r30 +/* 80336480 003333E0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80336484 003333E4 38 A1 00 08 */ addi r5, r1, 8 +/* 80336488 003333E8 EF E1 07 F2 */ fmuls f31, f1, f31 +/* 8033648C 003333EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80336490 003333F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336494 003333F4 7D 89 03 A6 */ mtctr r12 +/* 80336498 003333F8 4E 80 04 21 */ bctrl +/* 8033649C 003333FC C0 01 00 08 */ lfs f0, 8(r1) +/* 803364A0 00333400 38 60 00 00 */ li r3, 0 +/* 803364A4 00333404 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 803364A8 00333408 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 803364AC 0033340C EC 00 07 72 */ fmuls f0, f0, f29 +/* 803364B0 00333410 D0 5F 00 00 */ stfs f2, 0(r31) +/* 803364B4 00333414 D0 3F 00 04 */ stfs f1, 4(r31) +/* 803364B8 00333418 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803364BC 0033341C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 803364C0 00333420 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 803364C4 00333424 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 803364C8 00333428 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 803364CC 0033342C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 803364D0 00333430 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 803364D4 00333434 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803364D8 00333438 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803364DC 0033343C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803364E0 00333440 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803364E4 00333444 7C 08 03 A6 */ mtlr r0 +/* 803364E8 00333448 38 21 00 60 */ addi r1, r1, 0x60 +/* 803364EC 0033344C 4E 80 00 20 */ blr + +.global __dt__12CVEAngleCone +__dt__12CVEAngleCone: +/* 803364F0 00333450 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803364F4 00333454 7C 08 02 A6 */ mflr r0 +/* 803364F8 00333458 90 01 00 14 */ stw r0, 0x14(r1) +/* 803364FC 0033345C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336500 00333460 7C 9F 23 78 */ mr r31, r4 +/* 80336504 00333464 93 C1 00 08 */ stw r30, 8(r1) +/* 80336508 00333468 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033650C 0033346C 41 82 00 E8 */ beq lbl_803365F4 +/* 80336510 00333470 3C 60 80 3F */ lis r3, lbl_803EE2A4@ha +/* 80336514 00333474 38 03 E2 A4 */ addi r0, r3, lbl_803EE2A4@l +/* 80336518 00333478 90 1E 00 00 */ stw r0, 0(r30) +/* 8033651C 0033347C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80336520 00333480 28 03 00 00 */ cmplwi r3, 0 +/* 80336524 00333484 41 82 00 18 */ beq lbl_8033653C +/* 80336528 00333488 81 83 00 00 */ lwz r12, 0(r3) +/* 8033652C 0033348C 38 80 00 01 */ li r4, 1 +/* 80336530 00333490 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336534 00333494 7D 89 03 A6 */ mtctr r12 +/* 80336538 00333498 4E 80 04 21 */ bctrl +lbl_8033653C: +/* 8033653C 0033349C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80336540 003334A0 28 03 00 00 */ cmplwi r3, 0 +/* 80336544 003334A4 41 82 00 18 */ beq lbl_8033655C +/* 80336548 003334A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033654C 003334AC 38 80 00 01 */ li r4, 1 +/* 80336550 003334B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336554 003334B4 7D 89 03 A6 */ mtctr r12 +/* 80336558 003334B8 4E 80 04 21 */ bctrl +lbl_8033655C: +/* 8033655C 003334BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80336560 003334C0 28 03 00 00 */ cmplwi r3, 0 +/* 80336564 003334C4 41 82 00 18 */ beq lbl_8033657C +/* 80336568 003334C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033656C 003334CC 38 80 00 01 */ li r4, 1 +/* 80336570 003334D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336574 003334D4 7D 89 03 A6 */ mtctr r12 +/* 80336578 003334D8 4E 80 04 21 */ bctrl +lbl_8033657C: +/* 8033657C 003334DC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80336580 003334E0 28 03 00 00 */ cmplwi r3, 0 +/* 80336584 003334E4 41 82 00 18 */ beq lbl_8033659C +/* 80336588 003334E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033658C 003334EC 38 80 00 01 */ li r4, 1 +/* 80336590 003334F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336594 003334F4 7D 89 03 A6 */ mtctr r12 +/* 80336598 003334F8 4E 80 04 21 */ bctrl +lbl_8033659C: +/* 8033659C 003334FC 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 803365A0 00333500 28 03 00 00 */ cmplwi r3, 0 +/* 803365A4 00333504 41 82 00 18 */ beq lbl_803365BC +/* 803365A8 00333508 81 83 00 00 */ lwz r12, 0(r3) +/* 803365AC 0033350C 38 80 00 01 */ li r4, 1 +/* 803365B0 00333510 81 8C 00 08 */ lwz r12, 8(r12) +/* 803365B4 00333514 7D 89 03 A6 */ mtctr r12 +/* 803365B8 00333518 4E 80 04 21 */ bctrl +lbl_803365BC: +/* 803365BC 0033351C 28 1E 00 00 */ cmplwi r30, 0 +/* 803365C0 00333520 41 82 00 20 */ beq lbl_803365E0 +/* 803365C4 00333524 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803365C8 00333528 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803365CC 0033352C 90 1E 00 00 */ stw r0, 0(r30) +/* 803365D0 00333530 41 82 00 10 */ beq lbl_803365E0 +/* 803365D4 00333534 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803365D8 00333538 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803365DC 0033353C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803365E0: +/* 803365E0 00333540 7F E0 07 35 */ extsh. r0, r31 +/* 803365E4 00333544 40 81 00 10 */ ble lbl_803365F4 +/* 803365E8 00333548 7F C3 F3 78 */ mr r3, r30 +/* 803365EC 0033354C 38 80 00 18 */ li r4, 0x18 +/* 803365F0 00333550 48 03 64 75 */ bl sub_8036ca64 +lbl_803365F4: +/* 803365F4 00333554 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803365F8 00333558 7F C3 F3 78 */ mr r3, r30 +/* 803365FC 0033355C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336600 00333560 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336604 00333564 7C 08 03 A6 */ mtlr r0 +/* 80336608 00333568 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033660C 0033356C 4E 80 00 20 */ blr + +.global __ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80336610 00333570 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80336614 00333574 3D 40 80 3F */ lis r10, lbl_803EC594@ha +/* 80336618 00333578 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 8033661C 0033357C 3D 20 80 3F */ lis r9, lbl_803EE2A4@ha +/* 80336620 00333580 90 03 00 00 */ stw r0, 0(r3) +/* 80336624 00333584 39 4A C5 94 */ addi r10, r10, lbl_803EC594@l +/* 80336628 00333588 38 09 E2 A4 */ addi r0, r9, lbl_803EE2A4@l +/* 8033662C 0033358C 91 43 00 00 */ stw r10, 0(r3) +/* 80336630 00333590 90 03 00 00 */ stw r0, 0(r3) +/* 80336634 00333594 90 83 00 04 */ stw r4, 4(r3) +/* 80336638 00333598 90 A3 00 08 */ stw r5, 8(r3) +/* 8033663C 0033359C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80336640 003335A0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80336644 003335A4 91 03 00 14 */ stw r8, 0x14(r3) +/* 80336648 003335A8 4E 80 00 20 */ blr + +.global GetValue__7CVEConeCFiR9CVector3f +GetValue__7CVEConeCFiR9CVector3f: +/* 8033664C 003335AC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80336650 003335B0 7C 08 02 A6 */ mflr r0 +/* 80336654 003335B4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80336658 003335B8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8033665C 003335BC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80336660 003335C0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80336664 003335C4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80336668 003335C8 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8033666C 003335CC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80336670 003335D0 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 80336674 003335D4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 80336678 003335D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033667C 003335DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80336680 003335E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80336684 003335E4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80336688 003335E8 7C 7D 1B 78 */ mr r29, r3 +/* 8033668C 003335EC 7C BF 2B 78 */ mr r31, r5 +/* 80336690 003335F0 80 63 00 08 */ lwz r3, 8(r3) +/* 80336694 003335F4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80336698 003335F8 7C 9E 23 78 */ mr r30, r4 +/* 8033669C 003335FC 38 A1 00 08 */ addi r5, r1, 8 +/* 803366A0 00333600 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803366A4 00333604 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803366A8 00333608 81 83 00 00 */ lwz r12, 0(r3) +/* 803366AC 0033360C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803366B0 00333610 7D 89 03 A6 */ mtctr r12 +/* 803366B4 00333614 4E 80 04 21 */ bctrl +/* 803366B8 00333618 80 7D 00 04 */ lwz r3, 4(r29) +/* 803366BC 0033361C 7F C4 F3 78 */ mr r4, r30 +/* 803366C0 00333620 38 A1 00 0C */ addi r5, r1, 0xc +/* 803366C4 00333624 81 83 00 00 */ lwz r12, 0(r3) +/* 803366C8 00333628 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803366CC 0033362C 7D 89 03 A6 */ mtctr r12 +/* 803366D0 00333630 4E 80 04 21 */ bctrl +/* 803366D4 00333634 C0 21 00 08 */ lfs f1, 8(r1) +/* 803366D8 00333638 C0 0D 9D 38 */ lfs f0, lbl_805A88F8@sda21(r13) +/* 803366DC 0033363C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803366E0 00333640 40 80 00 0C */ bge lbl_803366EC +/* 803366E4 00333644 38 61 00 08 */ addi r3, r1, 8 +/* 803366E8 00333648 48 00 00 08 */ b lbl_803366F0 +lbl_803366EC: +/* 803366EC 0033364C 38 6D 9D 38 */ addi r3, r13, lbl_805A88F8@sda21 +lbl_803366F0: +/* 803366F0 00333650 C0 03 00 00 */ lfs f0, 0(r3) +/* 803366F4 00333654 C3 82 CB 74 */ lfs f28, lbl_805AE894@sda21(r2) +/* 803366F8 00333658 D0 01 00 08 */ stfs f0, 8(r1) +/* 803366FC 0033365C C3 A2 CB 78 */ lfs f29, lbl_805AE898@sda21(r2) +/* 80336700 00333660 C3 C2 CB 58 */ lfs f30, lbl_805AE878@sda21(r2) +lbl_80336704: +/* 80336704 00333664 4B FD BE F9 */ bl GetRandomNumber__9CRandom16Fv +/* 80336708 00333668 4B FD BD D5 */ bl Float__9CRandom16Fv +/* 8033670C 0033366C C0 01 00 08 */ lfs f0, 8(r1) +/* 80336710 00333670 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80336714 00333674 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 80336718 00333678 EF E0 00 72 */ fmuls f31, f0, f1 +/* 8033671C 0033367C 4B FD BE E1 */ bl GetRandomNumber__9CRandom16Fv +/* 80336720 00333680 4B FD BD BD */ bl Float__9CRandom16Fv +/* 80336724 00333684 C0 01 00 08 */ lfs f0, 8(r1) +/* 80336728 00333688 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 8033672C 0033368C EC 1D 00 32 */ fmuls f0, f29, f0 +/* 80336730 00333690 ED 00 00 72 */ fmuls f8, f0, f1 +/* 80336734 00333694 EC 08 02 32 */ fmuls f0, f8, f8 +/* 80336738 00333698 EC 1F 07 FA */ fmadds f0, f31, f31, f0 +/* 8033673C 0033369C FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 80336740 003336A0 41 81 FF C4 */ bgt lbl_80336704 +/* 80336744 003336A4 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 80336748 003336A8 38 60 00 00 */ li r3, 0 +/* 8033674C 003336AC C0 7D 00 10 */ lfs f3, 0x10(r29) +/* 80336750 003336B0 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80336754 003336B4 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80336758 003336B8 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 8033675C 003336BC EC DF 00 F2 */ fmuls f6, f31, f3 +/* 80336760 003336C0 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 80336764 003336C4 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 80336768 003336C8 C0 BD 00 1C */ lfs f5, 0x1c(r29) +/* 8033676C 003336CC EC 22 08 2A */ fadds f1, f2, f1 +/* 80336770 003336D0 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80336774 003336D4 C0 5D 00 20 */ lfs f2, 0x20(r29) +/* 80336778 003336D8 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 8033677C 003336DC C0 81 00 14 */ lfs f4, 0x14(r1) +/* 80336780 003336E0 EC C7 30 2A */ fadds f6, f7, f6 +/* 80336784 003336E4 EC A8 01 72 */ fmuls f5, f8, f5 +/* 80336788 003336E8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8033678C 003336EC EC 64 18 2A */ fadds f3, f4, f3 +/* 80336790 003336F0 EC 28 00 B2 */ fmuls f1, f8, f2 +/* 80336794 003336F4 EC 46 28 2A */ fadds f2, f6, f5 +/* 80336798 003336F8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033679C 003336FC EC 03 08 2A */ fadds f0, f3, f1 +/* 803367A0 00333700 D0 5F 00 04 */ stfs f2, 4(r31) +/* 803367A4 00333704 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803367A8 00333708 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 803367AC 0033370C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 803367B0 00333710 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 803367B4 00333714 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 803367B8 00333718 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 803367BC 0033371C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 803367C0 00333720 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 803367C4 00333724 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 803367C8 00333728 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803367CC 0033372C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803367D0 00333730 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803367D4 00333734 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803367D8 00333738 7C 08 03 A6 */ mtlr r0 +/* 803367DC 0033373C 38 21 00 70 */ addi r1, r1, 0x70 +/* 803367E0 00333740 4E 80 00 20 */ blr + +.global __dt__7CVECone +__dt__7CVECone: +/* 803367E4 00333744 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803367E8 00333748 7C 08 02 A6 */ mflr r0 +/* 803367EC 0033374C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803367F0 00333750 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803367F4 00333754 7C 9F 23 78 */ mr r31, r4 +/* 803367F8 00333758 93 C1 00 08 */ stw r30, 8(r1) +/* 803367FC 0033375C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80336800 00333760 41 82 00 88 */ beq lbl_80336888 +/* 80336804 00333764 3C 60 80 3F */ lis r3, lbl_803EE2B8@ha +/* 80336808 00333768 38 03 E2 B8 */ addi r0, r3, lbl_803EE2B8@l +/* 8033680C 0033376C 90 1E 00 00 */ stw r0, 0(r30) +/* 80336810 00333770 80 7E 00 04 */ lwz r3, 4(r30) +/* 80336814 00333774 28 03 00 00 */ cmplwi r3, 0 +/* 80336818 00333778 41 82 00 18 */ beq lbl_80336830 +/* 8033681C 0033377C 81 83 00 00 */ lwz r12, 0(r3) +/* 80336820 00333780 38 80 00 01 */ li r4, 1 +/* 80336824 00333784 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336828 00333788 7D 89 03 A6 */ mtctr r12 +/* 8033682C 0033378C 4E 80 04 21 */ bctrl +lbl_80336830: +/* 80336830 00333790 80 7E 00 08 */ lwz r3, 8(r30) +/* 80336834 00333794 28 03 00 00 */ cmplwi r3, 0 +/* 80336838 00333798 41 82 00 18 */ beq lbl_80336850 +/* 8033683C 0033379C 81 83 00 00 */ lwz r12, 0(r3) +/* 80336840 003337A0 38 80 00 01 */ li r4, 1 +/* 80336844 003337A4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336848 003337A8 7D 89 03 A6 */ mtctr r12 +/* 8033684C 003337AC 4E 80 04 21 */ bctrl +lbl_80336850: +/* 80336850 003337B0 28 1E 00 00 */ cmplwi r30, 0 +/* 80336854 003337B4 41 82 00 20 */ beq lbl_80336874 +/* 80336858 003337B8 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 8033685C 003337BC 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336860 003337C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80336864 003337C4 41 82 00 10 */ beq lbl_80336874 +/* 80336868 003337C8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033686C 003337CC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336870 003337D0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80336874: +/* 80336874 003337D4 7F E0 07 35 */ extsh. r0, r31 +/* 80336878 003337D8 40 81 00 10 */ ble lbl_80336888 +/* 8033687C 003337DC 7F C3 F3 78 */ mr r3, r30 +/* 80336880 003337E0 38 80 00 24 */ li r4, 0x24 +/* 80336884 003337E4 48 03 61 E1 */ bl sub_8036ca64 +lbl_80336888: +/* 80336888 003337E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033688C 003337EC 7F C3 F3 78 */ mr r3, r30 +/* 80336890 003337F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336894 003337F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336898 003337F8 7C 08 03 A6 */ mtlr r0 +/* 8033689C 003337FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803368A0 00333800 4E 80 00 20 */ blr + +.global __ct__7CVEConeFP14CVectorElementP12CRealElement +__ct__7CVEConeFP14CVectorElementP12CRealElement: +/* 803368A4 00333804 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803368A8 00333808 7C 08 02 A6 */ mflr r0 +/* 803368AC 0033380C 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 803368B0 00333810 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 803368B4 00333814 90 01 00 34 */ stw r0, 0x34(r1) +/* 803368B8 00333818 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 803368BC 0033381C 3C C0 80 3F */ lis r6, lbl_803EE2B8@ha +/* 803368C0 00333820 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803368C4 00333824 7C 7F 1B 78 */ mr r31, r3 +/* 803368C8 00333828 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803368CC 0033382C 90 1F 00 00 */ stw r0, 0(r31) +/* 803368D0 00333830 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803368D4 00333834 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803368D8 00333838 7F E7 FB 78 */ mr r7, r31 +/* 803368DC 0033383C 90 1F 00 00 */ stw r0, 0(r31) +/* 803368E0 00333840 38 06 E2 B8 */ addi r0, r6, lbl_803EE2B8@l +/* 803368E4 00333844 90 1F 00 00 */ stw r0, 0(r31) +/* 803368E8 00333848 90 9F 00 04 */ stw r4, 4(r31) +/* 803368EC 0033384C 38 80 00 00 */ li r4, 0 +/* 803368F0 00333850 90 BF 00 08 */ stw r5, 8(r31) +/* 803368F4 00333854 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803368F8 00333858 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 803368FC 0033385C D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80336900 00333860 C0 23 00 04 */ lfs f1, 4(r3) +/* 80336904 00333864 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80336908 00333868 C0 23 00 08 */ lfs f1, 8(r3) +/* 8033690C 0033386C D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80336910 00333870 C0 23 00 00 */ lfs f1, 0(r3) +/* 80336914 00333874 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80336918 00333878 C0 23 00 04 */ lfs f1, 4(r3) +/* 8033691C 0033387C D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80336920 00333880 C0 23 00 08 */ lfs f1, 8(r3) +/* 80336924 00333884 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 80336928 00333888 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033692C 0033388C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80336930 00333890 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80336934 00333894 80 7F 00 04 */ lwz r3, 4(r31) +/* 80336938 00333898 81 83 00 00 */ lwz r12, 0(r3) +/* 8033693C 0033389C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336940 003338A0 7D 89 03 A6 */ mtctr r12 +/* 80336944 003338A4 4E 80 04 21 */ bctrl +/* 80336948 003338A8 38 61 00 08 */ addi r3, r1, 8 +/* 8033694C 003338AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80336950 003338B0 4B FD DF 01 */ bl AsNormalized__9CVector3fCFv +/* 80336954 003338B4 C1 01 00 08 */ lfs f8, 8(r1) +/* 80336958 003338B8 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) +/* 8033695C 003338BC C0 C1 00 0C */ lfs f6, 0xc(r1) +/* 80336960 003338C0 FC 08 00 40 */ fcmpo cr0, f8, f0 +/* 80336964 003338C4 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 80336968 003338C8 40 81 00 40 */ ble lbl_803369A8 +/* 8033696C 003338CC C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80336970 003338D0 C0 82 CB 58 */ lfs f4, lbl_805AE878@sda21(r2) +/* 80336974 003338D4 C1 21 00 14 */ lfs f9, 0x14(r1) +/* 80336978 003338D8 C0 62 CB 54 */ lfs f3, lbl_805AE874@sda21(r2) +/* 8033697C 003338DC EC 24 01 72 */ fmuls f1, f4, f5 +/* 80336980 003338E0 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80336984 003338E4 EC 03 02 72 */ fmuls f0, f3, f9 +/* 80336988 003338E8 EC 22 08 F8 */ fmsubs f1, f2, f3, f1 +/* 8033698C 003338EC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80336990 003338F0 EC 05 00 F8 */ fmsubs f0, f5, f3, f0 +/* 80336994 003338F4 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80336998 003338F8 EC 29 11 38 */ fmsubs f1, f9, f4, f2 +/* 8033699C 003338FC D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803369A0 00333900 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 803369A4 00333904 48 00 00 3C */ b lbl_803369E0 +lbl_803369A8: +/* 803369A8 00333908 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 803369AC 0033390C C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 803369B0 00333910 C1 21 00 14 */ lfs f9, 0x14(r1) +/* 803369B4 00333914 EC 24 01 72 */ fmuls f1, f4, f5 +/* 803369B8 00333918 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 803369BC 0033391C C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) +/* 803369C0 00333920 EC 04 02 72 */ fmuls f0, f4, f9 +/* 803369C4 00333924 EC 22 09 38 */ fmsubs f1, f2, f4, f1 +/* 803369C8 00333928 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 803369CC 0033392C EC 05 00 F8 */ fmsubs f0, f5, f3, f0 +/* 803369D0 00333930 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 803369D4 00333934 EC 29 11 38 */ fmsubs f1, f9, f4, f2 +/* 803369D8 00333938 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803369DC 0033393C D0 3F 00 14 */ stfs f1, 0x14(r31) +lbl_803369E0: +/* 803369E0 00333940 C0 9F 00 10 */ lfs f4, 0x10(r31) +/* 803369E4 00333944 7F E3 FB 78 */ mr r3, r31 +/* 803369E8 00333948 C0 BF 00 14 */ lfs f5, 0x14(r31) +/* 803369EC 0033394C EC 44 01 F2 */ fmuls f2, f4, f7 +/* 803369F0 00333950 C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 803369F4 00333954 EC 25 02 32 */ fmuls f1, f5, f8 +/* 803369F8 00333958 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 803369FC 0033395C EC 46 11 78 */ fmsubs f2, f6, f5, f2 +/* 80336A00 00333960 EC 27 08 F8 */ fmsubs f1, f7, f3, f1 +/* 80336A04 00333964 EC 08 01 38 */ fmsubs f0, f8, f4, f0 +/* 80336A08 00333968 D0 5F 00 18 */ stfs f2, 0x18(r31) +/* 80336A0C 0033396C D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80336A10 00333970 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80336A14 00333974 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80336A18 00333978 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80336A1C 0033397C 7C 08 03 A6 */ mtlr r0 +/* 80336A20 00333980 38 21 00 30 */ addi r1, r1, 0x30 +/* 80336A24 00333984 4E 80 00 20 */ blr + +.global GetValue__15CVEFastConstantCFiR9CVector3f +GetValue__15CVEFastConstantCFiR9CVector3f: +/* 80336A28 00333988 C0 03 00 04 */ lfs f0, 4(r3) +/* 80336A2C 0033398C D0 05 00 00 */ stfs f0, 0(r5) +/* 80336A30 00333990 C0 03 00 08 */ lfs f0, 8(r3) +/* 80336A34 00333994 D0 05 00 04 */ stfs f0, 4(r5) +/* 80336A38 00333998 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80336A3C 0033399C 38 60 00 00 */ li r3, 0 +/* 80336A40 003339A0 D0 05 00 08 */ stfs f0, 8(r5) +/* 80336A44 003339A4 4E 80 00 20 */ blr + +.global __dt__15CVEFastConstant +__dt__15CVEFastConstant: +/* 80336A48 003339A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336A4C 003339AC 7C 08 02 A6 */ mflr r0 +/* 80336A50 003339B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336A54 003339B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336A58 003339B8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336A5C 003339BC 41 82 00 44 */ beq lbl_80336AA0 +/* 80336A60 003339C0 3C 60 80 3F */ lis r3, lbl_803EE2CC@ha +/* 80336A64 003339C4 38 03 E2 CC */ addi r0, r3, lbl_803EE2CC@l +/* 80336A68 003339C8 90 1F 00 00 */ stw r0, 0(r31) +/* 80336A6C 003339CC 41 82 00 20 */ beq lbl_80336A8C +/* 80336A70 003339D0 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336A74 003339D4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336A78 003339D8 90 1F 00 00 */ stw r0, 0(r31) +/* 80336A7C 003339DC 41 82 00 10 */ beq lbl_80336A8C +/* 80336A80 003339E0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336A84 003339E4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336A88 003339E8 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336A8C: +/* 80336A8C 003339EC 7C 80 07 35 */ extsh. r0, r4 +/* 80336A90 003339F0 40 81 00 10 */ ble lbl_80336AA0 +/* 80336A94 003339F4 7F E3 FB 78 */ mr r3, r31 +/* 80336A98 003339F8 38 80 00 10 */ li r4, 0x10 +/* 80336A9C 003339FC 48 03 5F C9 */ bl sub_8036ca64 +lbl_80336AA0: +/* 80336AA0 00333A00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336AA4 00333A04 7F E3 FB 78 */ mr r3, r31 +/* 80336AA8 00333A08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336AAC 00333A0C 7C 08 03 A6 */ mtlr r0 +/* 80336AB0 00333A10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336AB4 00333A14 4E 80 00 20 */ blr + +.global __ct__15CVEFastConstantFfff +__ct__15CVEFastConstantFfff: +/* 80336AB8 00333A18 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 80336ABC 00333A1C 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80336AC0 00333A20 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 80336AC4 00333A24 3C 80 80 3F */ lis r4, lbl_803EE2CC@ha +/* 80336AC8 00333A28 90 03 00 00 */ stw r0, 0(r3) +/* 80336ACC 00333A2C 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80336AD0 00333A30 38 04 E2 CC */ addi r0, r4, lbl_803EE2CC@l +/* 80336AD4 00333A34 90 A3 00 00 */ stw r5, 0(r3) +/* 80336AD8 00333A38 90 03 00 00 */ stw r0, 0(r3) +/* 80336ADC 00333A3C D0 23 00 04 */ stfs f1, 4(r3) +/* 80336AE0 00333A40 D0 43 00 08 */ stfs f2, 8(r3) +/* 80336AE4 00333A44 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 80336AE8 00333A48 4E 80 00 20 */ blr + +.global GetValue__11CVEConstantCFiR9CVector3f +GetValue__11CVEConstantCFiR9CVector3f: +/* 80336AEC 00333A4C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80336AF0 00333A50 7C 08 02 A6 */ mflr r0 +/* 80336AF4 00333A54 90 01 00 34 */ stw r0, 0x34(r1) +/* 80336AF8 00333A58 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80336AFC 00333A5C 7C BF 2B 78 */ mr r31, r5 +/* 80336B00 00333A60 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80336B04 00333A64 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80336B08 00333A68 7C 9E 23 78 */ mr r30, r4 +/* 80336B0C 00333A6C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80336B10 00333A70 7C 7D 1B 78 */ mr r29, r3 +/* 80336B14 00333A74 80 63 00 04 */ lwz r3, 4(r3) +/* 80336B18 00333A78 81 83 00 00 */ lwz r12, 0(r3) +/* 80336B1C 00333A7C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336B20 00333A80 7D 89 03 A6 */ mtctr r12 +/* 80336B24 00333A84 4E 80 04 21 */ bctrl +/* 80336B28 00333A88 80 7D 00 08 */ lwz r3, 8(r29) +/* 80336B2C 00333A8C 7F C4 F3 78 */ mr r4, r30 +/* 80336B30 00333A90 38 A1 00 0C */ addi r5, r1, 0xc +/* 80336B34 00333A94 81 83 00 00 */ lwz r12, 0(r3) +/* 80336B38 00333A98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336B3C 00333A9C 7D 89 03 A6 */ mtctr r12 +/* 80336B40 00333AA0 4E 80 04 21 */ bctrl +/* 80336B44 00333AA4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80336B48 00333AA8 7F C4 F3 78 */ mr r4, r30 +/* 80336B4C 00333AAC 38 A1 00 08 */ addi r5, r1, 8 +/* 80336B50 00333AB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80336B54 00333AB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336B58 00333AB8 7D 89 03 A6 */ mtctr r12 +/* 80336B5C 00333ABC 4E 80 04 21 */ bctrl +/* 80336B60 00333AC0 C0 41 00 08 */ lfs f2, 8(r1) +/* 80336B64 00333AC4 38 60 00 00 */ li r3, 0 +/* 80336B68 00333AC8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80336B6C 00333ACC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80336B70 00333AD0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80336B74 00333AD4 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80336B78 00333AD8 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80336B7C 00333ADC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80336B80 00333AE0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80336B84 00333AE4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80336B88 00333AE8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80336B8C 00333AEC 7C 08 03 A6 */ mtlr r0 +/* 80336B90 00333AF0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80336B94 00333AF4 4E 80 00 20 */ blr + +.global __dt__11CVEConstantF +__dt__11CVEConstantF: +/* 80336B98 00333AF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336B9C 00333AFC 7C 08 02 A6 */ mflr r0 +/* 80336BA0 00333B00 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336BA4 00333B04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336BA8 00333B08 7C 9F 23 78 */ mr r31, r4 +/* 80336BAC 00333B0C 93 C1 00 08 */ stw r30, 8(r1) +/* 80336BB0 00333B10 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80336BB4 00333B14 41 82 00 A8 */ beq lbl_80336C5C +/* 80336BB8 00333B18 3C 60 80 3F */ lis r3, lbl_803EE2E0@ha +/* 80336BBC 00333B1C 38 03 E2 E0 */ addi r0, r3, lbl_803EE2E0@l +/* 80336BC0 00333B20 90 1E 00 00 */ stw r0, 0(r30) +/* 80336BC4 00333B24 80 7E 00 04 */ lwz r3, 4(r30) +/* 80336BC8 00333B28 28 03 00 00 */ cmplwi r3, 0 +/* 80336BCC 00333B2C 41 82 00 18 */ beq lbl_80336BE4 +/* 80336BD0 00333B30 81 83 00 00 */ lwz r12, 0(r3) +/* 80336BD4 00333B34 38 80 00 01 */ li r4, 1 +/* 80336BD8 00333B38 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336BDC 00333B3C 7D 89 03 A6 */ mtctr r12 +/* 80336BE0 00333B40 4E 80 04 21 */ bctrl +lbl_80336BE4: +/* 80336BE4 00333B44 80 7E 00 08 */ lwz r3, 8(r30) +/* 80336BE8 00333B48 28 03 00 00 */ cmplwi r3, 0 +/* 80336BEC 00333B4C 41 82 00 18 */ beq lbl_80336C04 +/* 80336BF0 00333B50 81 83 00 00 */ lwz r12, 0(r3) +/* 80336BF4 00333B54 38 80 00 01 */ li r4, 1 +/* 80336BF8 00333B58 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336BFC 00333B5C 7D 89 03 A6 */ mtctr r12 +/* 80336C00 00333B60 4E 80 04 21 */ bctrl +lbl_80336C04: +/* 80336C04 00333B64 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80336C08 00333B68 28 03 00 00 */ cmplwi r3, 0 +/* 80336C0C 00333B6C 41 82 00 18 */ beq lbl_80336C24 +/* 80336C10 00333B70 81 83 00 00 */ lwz r12, 0(r3) +/* 80336C14 00333B74 38 80 00 01 */ li r4, 1 +/* 80336C18 00333B78 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336C1C 00333B7C 7D 89 03 A6 */ mtctr r12 +/* 80336C20 00333B80 4E 80 04 21 */ bctrl +lbl_80336C24: +/* 80336C24 00333B84 28 1E 00 00 */ cmplwi r30, 0 +/* 80336C28 00333B88 41 82 00 20 */ beq lbl_80336C48 +/* 80336C2C 00333B8C 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336C30 00333B90 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336C34 00333B94 90 1E 00 00 */ stw r0, 0(r30) +/* 80336C38 00333B98 41 82 00 10 */ beq lbl_80336C48 +/* 80336C3C 00333B9C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336C40 00333BA0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336C44 00333BA4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80336C48: +/* 80336C48 00333BA8 7F E0 07 35 */ extsh. r0, r31 +/* 80336C4C 00333BAC 40 81 00 10 */ ble lbl_80336C5C +/* 80336C50 00333BB0 7F C3 F3 78 */ mr r3, r30 +/* 80336C54 00333BB4 38 80 00 10 */ li r4, 0x10 +/* 80336C58 00333BB8 48 03 5E 0D */ bl sub_8036ca64 +lbl_80336C5C: +/* 80336C5C 00333BBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336C60 00333BC0 7F C3 F3 78 */ mr r3, r30 +/* 80336C64 00333BC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336C68 00333BC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336C6C 00333BCC 7C 08 03 A6 */ mtlr r0 +/* 80336C70 00333BD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336C74 00333BD4 4E 80 00 20 */ blr + +.global __ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement +__ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement: +/* 80336C78 00333BD8 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80336C7C 00333BDC 3D 00 80 3F */ lis r8, lbl_803EC594@ha +/* 80336C80 00333BE0 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80336C84 00333BE4 3C E0 80 3F */ lis r7, lbl_803EE2E0@ha +/* 80336C88 00333BE8 90 03 00 00 */ stw r0, 0(r3) +/* 80336C8C 00333BEC 39 08 C5 94 */ addi r8, r8, lbl_803EC594@l +/* 80336C90 00333BF0 38 07 E2 E0 */ addi r0, r7, lbl_803EE2E0@l +/* 80336C94 00333BF4 91 03 00 00 */ stw r8, 0(r3) +/* 80336C98 00333BF8 90 03 00 00 */ stw r0, 0(r3) +/* 80336C9C 00333BFC 90 83 00 04 */ stw r4, 4(r3) +/* 80336CA0 00333C00 90 A3 00 08 */ stw r5, 8(r3) +/* 80336CA4 00333C04 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80336CA8 00333C08 4E 80 00 20 */ blr + +.global __dt__28CVEParticleSystemTranslationFv +__dt__28CVEParticleSystemTranslationFv: +/* 80336CAC 00333C0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336CB0 00333C10 7C 08 02 A6 */ mflr r0 +/* 80336CB4 00333C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336CB8 00333C18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336CBC 00333C1C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336CC0 00333C20 41 82 00 44 */ beq lbl_80336D04 +/* 80336CC4 00333C24 3C 60 80 3F */ lis r3, lbl_803EE178@ha +/* 80336CC8 00333C28 38 03 E1 78 */ addi r0, r3, lbl_803EE178@l +/* 80336CCC 00333C2C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336CD0 00333C30 41 82 00 20 */ beq lbl_80336CF0 +/* 80336CD4 00333C34 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336CD8 00333C38 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336CDC 00333C3C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336CE0 00333C40 41 82 00 10 */ beq lbl_80336CF0 +/* 80336CE4 00333C44 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336CE8 00333C48 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336CEC 00333C4C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336CF0: +/* 80336CF0 00333C50 7C 80 07 35 */ extsh. r0, r4 +/* 80336CF4 00333C54 40 81 00 10 */ ble lbl_80336D04 +/* 80336CF8 00333C58 7F E3 FB 78 */ mr r3, r31 +/* 80336CFC 00333C5C 38 80 00 04 */ li r4, 4 +/* 80336D00 00333C60 48 03 5D 65 */ bl sub_8036ca64 +lbl_80336D04: +/* 80336D04 00333C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336D08 00333C68 7F E3 FB 78 */ mr r3, r31 +/* 80336D0C 00333C6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336D10 00333C70 7C 08 03 A6 */ mtlr r0 +/* 80336D14 00333C74 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336D18 00333C78 4E 80 00 20 */ blr + +.global __dt__33CVEParticleSystemOrientationRightF +__dt__33CVEParticleSystemOrientationRightF: +/* 80336D1C 00333C7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336D20 00333C80 7C 08 02 A6 */ mflr r0 +/* 80336D24 00333C84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336D28 00333C88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336D2C 00333C8C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336D30 00333C90 41 82 00 44 */ beq lbl_80336D74 +/* 80336D34 00333C94 3C 60 80 3F */ lis r3, lbl_803EE18C@ha +/* 80336D38 00333C98 38 03 E1 8C */ addi r0, r3, lbl_803EE18C@l +/* 80336D3C 00333C9C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336D40 00333CA0 41 82 00 20 */ beq lbl_80336D60 +/* 80336D44 00333CA4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336D48 00333CA8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336D4C 00333CAC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336D50 00333CB0 41 82 00 10 */ beq lbl_80336D60 +/* 80336D54 00333CB4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336D58 00333CB8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336D5C 00333CBC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336D60: +/* 80336D60 00333CC0 7C 80 07 35 */ extsh. r0, r4 +/* 80336D64 00333CC4 40 81 00 10 */ ble lbl_80336D74 +/* 80336D68 00333CC8 7F E3 FB 78 */ mr r3, r31 +/* 80336D6C 00333CCC 38 80 00 04 */ li r4, 4 +/* 80336D70 00333CD0 48 03 5C F5 */ bl sub_8036ca64 +lbl_80336D74: +/* 80336D74 00333CD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336D78 00333CD8 7F E3 FB 78 */ mr r3, r31 +/* 80336D7C 00333CDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336D80 00333CE0 7C 08 03 A6 */ mtlr r0 +/* 80336D84 00333CE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336D88 00333CE8 4E 80 00 20 */ blr + +.global __dt__31CVEParticleSystemOrienatationUpF +__dt__31CVEParticleSystemOrienatationUpF: +/* 80336D8C 00333CEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336D90 00333CF0 7C 08 02 A6 */ mflr r0 +/* 80336D94 00333CF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336D98 00333CF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336D9C 00333CFC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336DA0 00333D00 41 82 00 44 */ beq lbl_80336DE4 +/* 80336DA4 00333D04 3C 60 80 3F */ lis r3, lbl_803EE1A0@ha +/* 80336DA8 00333D08 38 03 E1 A0 */ addi r0, r3, lbl_803EE1A0@l +/* 80336DAC 00333D0C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336DB0 00333D10 41 82 00 20 */ beq lbl_80336DD0 +/* 80336DB4 00333D14 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336DB8 00333D18 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336DBC 00333D1C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336DC0 00333D20 41 82 00 10 */ beq lbl_80336DD0 +/* 80336DC4 00333D24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336DC8 00333D28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336DCC 00333D2C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336DD0: +/* 80336DD0 00333D30 7C 80 07 35 */ extsh. r0, r4 +/* 80336DD4 00333D34 40 81 00 10 */ ble lbl_80336DE4 +/* 80336DD8 00333D38 7F E3 FB 78 */ mr r3, r31 +/* 80336DDC 00333D3C 38 80 00 04 */ li r4, 4 +/* 80336DE0 00333D40 48 03 5C 85 */ bl sub_8036ca64 +lbl_80336DE4: +/* 80336DE4 00333D44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336DE8 00333D48 7F E3 FB 78 */ mr r3, r31 +/* 80336DEC 00333D4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336DF0 00333D50 7C 08 03 A6 */ mtlr r0 +/* 80336DF4 00333D54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336DF8 00333D58 4E 80 00 20 */ blr + +.global __dt__33CVEParticleSystemOrientationFrontF +__dt__33CVEParticleSystemOrientationFrontF: +/* 80336DFC 00333D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336E00 00333D60 7C 08 02 A6 */ mflr r0 +/* 80336E04 00333D64 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336E08 00333D68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336E0C 00333D6C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336E10 00333D70 41 82 00 44 */ beq lbl_80336E54 +/* 80336E14 00333D74 3C 60 80 3F */ lis r3, lbl_803EE1B4@ha +/* 80336E18 00333D78 38 03 E1 B4 */ addi r0, r3, lbl_803EE1B4@l +/* 80336E1C 00333D7C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336E20 00333D80 41 82 00 20 */ beq lbl_80336E40 +/* 80336E24 00333D84 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336E28 00333D88 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336E2C 00333D8C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336E30 00333D90 41 82 00 10 */ beq lbl_80336E40 +/* 80336E34 00333D94 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336E38 00333D98 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336E3C 00333D9C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336E40: +/* 80336E40 00333DA0 7C 80 07 35 */ extsh. r0, r4 +/* 80336E44 00333DA4 40 81 00 10 */ ble lbl_80336E54 +/* 80336E48 00333DA8 7F E3 FB 78 */ mr r3, r31 +/* 80336E4C 00333DAC 38 80 00 04 */ li r4, 4 +/* 80336E50 00333DB0 48 03 5C 15 */ bl sub_8036ca64 +lbl_80336E54: +/* 80336E54 00333DB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336E58 00333DB8 7F E3 FB 78 */ mr r3, r31 +/* 80336E5C 00333DBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336E60 00333DC0 7C 08 03 A6 */ mtlr r0 +/* 80336E64 00333DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336E68 00333DC8 4E 80 00 20 */ blr + +.global __dt__19CVEParticleVelocityF +__dt__19CVEParticleVelocityF: +/* 80336E6C 00333DCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336E70 00333DD0 7C 08 02 A6 */ mflr r0 +/* 80336E74 00333DD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336E78 00333DD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336E7C 00333DDC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336E80 00333DE0 41 82 00 44 */ beq lbl_80336EC4 +/* 80336E84 00333DE4 3C 60 80 3F */ lis r3, lbl_803EE1C8@ha +/* 80336E88 00333DE8 38 03 E1 C8 */ addi r0, r3, lbl_803EE1C8@l +/* 80336E8C 00333DEC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336E90 00333DF0 41 82 00 20 */ beq lbl_80336EB0 +/* 80336E94 00333DF4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336E98 00333DF8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336E9C 00333DFC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336EA0 00333E00 41 82 00 10 */ beq lbl_80336EB0 +/* 80336EA4 00333E04 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336EA8 00333E08 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336EAC 00333E0C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336EB0: +/* 80336EB0 00333E10 7C 80 07 35 */ extsh. r0, r4 +/* 80336EB4 00333E14 40 81 00 10 */ ble lbl_80336EC4 +/* 80336EB8 00333E18 7F E3 FB 78 */ mr r3, r31 +/* 80336EBC 00333E1C 38 80 00 04 */ li r4, 4 +/* 80336EC0 00333E20 48 03 5B A5 */ bl sub_8036ca64 +lbl_80336EC4: +/* 80336EC4 00333E24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336EC8 00333E28 7F E3 FB 78 */ mr r3, r31 +/* 80336ECC 00333E2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336ED0 00333E30 7C 08 03 A6 */ mtlr r0 +/* 80336ED4 00333E34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336ED8 00333E38 4E 80 00 20 */ blr + +.global __dt__16CVEParticleColorF +__dt__16CVEParticleColorF: +/* 80336EDC 00333E3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336EE0 00333E40 7C 08 02 A6 */ mflr r0 +/* 80336EE4 00333E44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336EE8 00333E48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336EEC 00333E4C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336EF0 00333E50 41 82 00 44 */ beq lbl_80336F34 +/* 80336EF4 00333E54 3C 60 80 3F */ lis r3, lbl_803EE1DC@ha +/* 80336EF8 00333E58 38 03 E1 DC */ addi r0, r3, lbl_803EE1DC@l +/* 80336EFC 00333E5C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F00 00333E60 41 82 00 20 */ beq lbl_80336F20 +/* 80336F04 00333E64 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336F08 00333E68 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336F0C 00333E6C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F10 00333E70 41 82 00 10 */ beq lbl_80336F20 +/* 80336F14 00333E74 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336F18 00333E78 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336F1C 00333E7C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336F20: +/* 80336F20 00333E80 7C 80 07 35 */ extsh. r0, r4 +/* 80336F24 00333E84 40 81 00 10 */ ble lbl_80336F34 +/* 80336F28 00333E88 7F E3 FB 78 */ mr r3, r31 +/* 80336F2C 00333E8C 38 80 00 04 */ li r4, 4 +/* 80336F30 00333E90 48 03 5B 35 */ bl sub_8036ca64 +lbl_80336F34: +/* 80336F34 00333E94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336F38 00333E98 7F E3 FB 78 */ mr r3, r31 +/* 80336F3C 00333E9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336F40 00333EA0 7C 08 03 A6 */ mtlr r0 +/* 80336F44 00333EA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336F48 00333EA8 4E 80 00 20 */ blr + +.global __dt__19CVEParticleLocation +__dt__19CVEParticleLocation: +/* 80336F4C 00333EAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336F50 00333EB0 7C 08 02 A6 */ mflr r0 +/* 80336F54 00333EB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336F58 00333EB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336F5C 00333EBC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336F60 00333EC0 41 82 00 44 */ beq lbl_80336FA4 +/* 80336F64 00333EC4 3C 60 80 3F */ lis r3, lbl_803EE1F0@ha +/* 80336F68 00333EC8 38 03 E1 F0 */ addi r0, r3, lbl_803EE1F0@l +/* 80336F6C 00333ECC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F70 00333ED0 41 82 00 20 */ beq lbl_80336F90 +/* 80336F74 00333ED4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336F78 00333ED8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336F7C 00333EDC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F80 00333EE0 41 82 00 10 */ beq lbl_80336F90 +/* 80336F84 00333EE4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336F88 00333EE8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336F8C 00333EEC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336F90: +/* 80336F90 00333EF0 7C 80 07 35 */ extsh. r0, r4 +/* 80336F94 00333EF4 40 81 00 10 */ ble lbl_80336FA4 +/* 80336F98 00333EF8 7F E3 FB 78 */ mr r3, r31 +/* 80336F9C 00333EFC 38 80 00 04 */ li r4, 4 +/* 80336FA0 00333F00 48 03 5A C5 */ bl sub_8036ca64 +lbl_80336FA4: +/* 80336FA4 00333F04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336FA8 00333F08 7F E3 FB 78 */ mr r3, r31 +/* 80336FAC 00333F0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336FB0 00333F10 7C 08 03 A6 */ mtlr r0 +/* 80336FB4 00333F14 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336FB8 00333F18 4E 80 00 20 */ blr + +.global IsFastConstant__15CVEFastConstantCF +IsFastConstant__15CVEFastConstantCF: +/* 80336FBC 00333F1C 38 60 00 01 */ li r3, 1 +/* 80336FC0 00333F20 4E 80 00 20 */ blr + +.global __dt__5CWarpFv +__dt__5CWarpFv: +/* 80336FC4 00333F24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336FC8 00333F28 7C 08 02 A6 */ mflr r0 +/* 80336FCC 00333F2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336FD0 00333F30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336FD4 00333F34 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336FD8 00333F38 41 82 00 1C */ beq lbl_80336FF4 +/* 80336FDC 00333F3C 3C A0 80 3F */ lis r5, lbl_803EE2F8@ha +/* 80336FE0 00333F40 7C 80 07 35 */ extsh. r0, r4 +/* 80336FE4 00333F44 38 05 E2 F8 */ addi r0, r5, lbl_803EE2F8@l +/* 80336FE8 00333F48 90 1F 00 00 */ stw r0, 0(r31) +/* 80336FEC 00333F4C 40 81 00 08 */ ble lbl_80336FF4 +/* 80336FF0 00333F50 4B FD E9 41 */ bl Free__7CMemoryFPCv +lbl_80336FF4: +/* 80336FF4 00333F54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336FF8 00333F58 7F E3 FB 78 */ mr r3, r31 +/* 80336FFC 00333F5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80337000 00333F60 7C 08 03 A6 */ mtlr r0 +/* 80337004 00333F64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80337008 00333F68 4E 80 00 20 */ blr + +.global ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f +ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f: +/* 8033700C 00333F6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80337010 00333F70 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337014 00333F74 C0 43 00 04 */ lfs f2, 4(r3) +/* 80337018 00333F78 C0 25 00 04 */ lfs f1, 4(r5) +/* 8033701C 00333F7C EC 03 00 B2 */ fmuls f0, f3, f2 +/* 80337020 00333F80 C0 84 00 00 */ lfs f4, 0(r4) +/* 80337024 00333F84 C0 E3 00 00 */ lfs f7, 0(r3) +/* 80337028 00333F88 EC A1 18 28 */ fsubs f5, f1, f3 +/* 8033702C 00333F8C C0 25 00 00 */ lfs f1, 0(r5) +/* 80337030 00333F90 EC 04 01 FA */ fmadds f0, f4, f7, f0 +/* 80337034 00333F94 C1 24 00 08 */ lfs f9, 8(r4) +/* 80337038 00333F98 EC C1 20 28 */ fsubs f6, f1, f4 +/* 8033703C 00333F9C EC 65 00 B2 */ fmuls f3, f5, f2 +/* 80337040 00333FA0 C1 03 00 08 */ lfs f8, 8(r3) +/* 80337044 00333FA4 C0 25 00 08 */ lfs f1, 8(r5) +/* 80337048 00333FA8 EC 49 02 3A */ fmadds f2, f9, f8, f0 +/* 8033704C 00333FAC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337050 00333FB0 EC 81 48 28 */ fsubs f4, f1, f9 +/* 80337054 00333FB4 EC 66 19 FA */ fmadds f3, f6, f7, f3 +/* 80337058 00333FB8 C0 22 CB 80 */ lfs f1, lbl_805AE8A0@sda21(r2) +/* 8033705C 00333FBC EC 02 00 28 */ fsubs f0, f2, f0 +/* 80337060 00333FC0 D0 C1 00 08 */ stfs f6, 8(r1) +/* 80337064 00333FC4 EC 44 1A 3A */ fmadds f2, f4, f8, f3 +/* 80337068 00333FC8 FC 00 00 50 */ fneg f0, f0 +/* 8033706C 00333FCC D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80337070 00333FD0 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80337074 00333FD4 EC 00 10 24 */ fdivs f0, f0, f2 +/* 80337078 00333FD8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8033707C 00333FDC 4C 40 13 82 */ cror 2, 0, 2 +/* 80337080 00333FE0 40 82 00 08 */ bne lbl_80337088 +/* 80337084 00333FE4 48 00 00 1C */ b lbl_803370A0 +lbl_80337088: +/* 80337088 00333FE8 C0 22 CB 84 */ lfs f1, lbl_805AE8A4@sda21(r2) +/* 8033708C 00333FEC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337090 00333FF0 4C 41 13 82 */ cror 2, 1, 2 +/* 80337094 00333FF4 40 82 00 08 */ bne lbl_8033709C +/* 80337098 00333FF8 48 00 00 08 */ b lbl_803370A0 +lbl_8033709C: +/* 8033709C 00333FFC FC 20 00 90 */ fmr f1, f0 +lbl_803370A0: +/* 803370A0 00334000 38 21 00 20 */ addi r1, r1, 0x20 +/* 803370A4 00334004 4E 80 00 20 */ blr + +.global __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f +__ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 803370A8 00334008 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803370AC 0033400C 7C 08 02 A6 */ mflr r0 +/* 803370B0 00334010 90 01 00 44 */ stw r0, 0x44(r1) +/* 803370B4 00334014 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803370B8 00334018 7C 9F 23 78 */ mr r31, r4 +/* 803370BC 0033401C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803370C0 00334020 7C 7E 1B 78 */ mr r30, r3 +/* 803370C4 00334024 C0 44 00 00 */ lfs f2, 0(r4) +/* 803370C8 00334028 38 81 00 20 */ addi r4, r1, 0x20 +/* 803370CC 0033402C C0 26 00 00 */ lfs f1, 0(r6) +/* 803370D0 00334030 C0 05 00 00 */ lfs f0, 0(r5) +/* 803370D4 00334034 ED 01 10 28 */ fsubs f8, f1, f2 +/* 803370D8 00334038 C0 26 00 04 */ lfs f1, 4(r6) +/* 803370DC 0033403C EC 60 10 28 */ fsubs f3, f0, f2 +/* 803370E0 00334040 C0 9F 00 04 */ lfs f4, 4(r31) +/* 803370E4 00334044 C0 05 00 04 */ lfs f0, 4(r5) +/* 803370E8 00334048 EC E1 20 28 */ fsubs f7, f1, f4 +/* 803370EC 0033404C EC A0 20 28 */ fsubs f5, f0, f4 +/* 803370F0 00334050 C0 26 00 08 */ lfs f1, 8(r6) +/* 803370F4 00334054 C0 5F 00 08 */ lfs f2, 8(r31) +/* 803370F8 00334058 C0 05 00 08 */ lfs f0, 8(r5) +/* 803370FC 0033405C EC C1 10 28 */ fsubs f6, f1, f2 +/* 80337100 00334060 D1 01 00 08 */ stfs f8, 8(r1) +/* 80337104 00334064 EC 80 10 28 */ fsubs f4, f0, f2 +/* 80337108 00334068 EC 08 01 72 */ fmuls f0, f8, f5 +/* 8033710C 0033406C D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 80337110 00334070 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 80337114 00334074 EC 47 01 32 */ fmuls f2, f7, f4 +/* 80337118 00334078 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 8033711C 0033407C EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 80337120 00334080 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 +/* 80337124 00334084 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80337128 00334088 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 8033712C 0033408C D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80337130 00334090 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80337134 00334094 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80337138 00334098 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8033713C 0033409C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80337140 003340A0 4B FD CC 91 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80337144 003340A4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80337148 003340A8 7F C3 F3 78 */ mr r3, r30 +/* 8033714C 003340AC C0 1F 00 04 */ lfs f0, 4(r31) +/* 80337150 003340B0 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80337154 003340B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80337158 003340B8 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8033715C 003340BC C0 9E 00 08 */ lfs f4, 8(r30) +/* 80337160 003340C0 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80337164 003340C4 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80337168 003340C8 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 8033716C 003340CC D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 80337170 003340D0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80337174 003340D4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80337178 003340D8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033717C 003340DC 7C 08 03 A6 */ mtlr r0 +/* 80337180 003340E0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80337184 003340E4 4E 80 00 20 */ blr + +.global GetSurfaceNormal__7CSphereCFRC9CVector3f +GetSurfaceNormal__7CSphereCFRC9CVector3f: +/* 80337188 003340E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033718C 003340EC 7C 08 02 A6 */ mflr r0 +/* 80337190 003340F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80337194 003340F4 C0 25 00 04 */ lfs f1, 4(r5) +/* 80337198 003340F8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8033719C 003340FC C0 65 00 08 */ lfs f3, 8(r5) +/* 803371A0 00334100 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803371A4 00334104 C0 44 00 08 */ lfs f2, 8(r4) +/* 803371A8 00334108 C0 04 00 00 */ lfs f0, 0(r4) +/* 803371AC 0033410C 38 81 00 08 */ addi r4, r1, 8 +/* 803371B0 00334110 C0 25 00 00 */ lfs f1, 0(r5) +/* 803371B4 00334114 EC 43 10 28 */ fsubs f2, f3, f2 +/* 803371B8 00334118 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803371BC 0033411C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 803371C0 00334120 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803371C4 00334124 D0 01 00 08 */ stfs f0, 8(r1) +/* 803371C8 00334128 4B FD CC 09 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 803371CC 0033412C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803371D0 00334130 7C 08 03 A6 */ mtlr r0 +/* 803371D4 00334134 38 21 00 20 */ addi r1, r1, 0x20 +/* 803371D8 00334138 4E 80 00 20 */ blr + +.global ClosestPointAlongVector__6CAABoxCFRC9CVector3f +ClosestPointAlongVector__6CAABoxCFRC9CVector3f: +/* 803371DC 0033413C C0 05 00 00 */ lfs f0, 0(r5) +/* 803371E0 00334140 C0 24 00 00 */ lfs f1, 0(r4) +/* 803371E4 00334144 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 803371E8 00334148 C0 45 00 04 */ lfs f2, 4(r5) +/* 803371EC 0033414C FC A0 18 6E */ fsel f5, f0, f1, f3 +/* 803371F0 00334150 C0 64 00 04 */ lfs f3, 4(r4) +/* 803371F4 00334154 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 803371F8 00334158 C0 05 00 08 */ lfs f0, 8(r5) +/* 803371FC 0033415C C0 24 00 08 */ lfs f1, 8(r4) +/* 80337200 00334160 FC 62 20 EE */ fsel f3, f2, f3, f4 +/* 80337204 00334164 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80337208 00334168 D0 A3 00 00 */ stfs f5, 0(r3) +/* 8033720C 0033416C FC 00 10 6E */ fsel f0, f0, f1, f2 +/* 80337210 00334170 D0 63 00 04 */ stfs f3, 4(r3) +/* 80337214 00334174 D0 03 00 08 */ stfs f0, 8(r3) +/* 80337218 00334178 4E 80 00 20 */ blr + +.global FurthestPointAlongVector__6CAABoxCFRC9CVector3f +FurthestPointAlongVector__6CAABoxCFRC9CVector3f: +/* 8033721C 0033417C C0 05 00 00 */ lfs f0, 0(r5) +/* 80337220 00334180 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80337224 00334184 C0 64 00 00 */ lfs f3, 0(r4) +/* 80337228 00334188 C0 45 00 04 */ lfs f2, 4(r5) +/* 8033722C 0033418C FC A0 18 6E */ fsel f5, f0, f1, f3 +/* 80337230 00334190 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 80337234 00334194 C0 84 00 04 */ lfs f4, 4(r4) +/* 80337238 00334198 C0 05 00 08 */ lfs f0, 8(r5) +/* 8033723C 0033419C C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80337240 003341A0 FC 62 20 EE */ fsel f3, f2, f3, f4 +/* 80337244 003341A4 C0 44 00 08 */ lfs f2, 8(r4) +/* 80337248 003341A8 D0 A3 00 00 */ stfs f5, 0(r3) +/* 8033724C 003341AC FC 00 10 6E */ fsel f0, f0, f1, f2 +/* 80337250 003341B0 D0 63 00 04 */ stfs f3, 4(r3) +/* 80337254 003341B4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80337258 003341B8 4E 80 00 20 */ blr + +.global DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox +DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox: +/* 8033725C 003341BC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80337260 003341C0 7C 08 02 A6 */ mflr r0 +/* 80337264 003341C4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80337268 003341C8 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8033726C 003341CC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80337270 003341D0 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80337274 003341D4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80337278 003341D8 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8033727C 003341DC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 80337280 003341E0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80337284 003341E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80337288 003341E8 C0 C3 00 0C */ lfs f6, 0xc(r3) +/* 8033728C 003341EC FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80337290 003341F0 7C 00 00 26 */ mfcr r0 +/* 80337294 003341F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337298 003341F8 C0 E4 00 0C */ lfs f7, 0xc(r4) +/* 8033729C 003341FC 54 05 0F FE */ srwi r5, r0, 0x1f +/* 803372A0 00334200 FC 01 38 40 */ fcmpo cr0, f1, f7 +/* 803372A4 00334204 7C 00 00 26 */ mfcr r0 +/* 803372A8 00334208 C0 44 00 04 */ lfs f2, 4(r4) +/* 803372AC 0033420C C1 03 00 10 */ lfs f8, 0x10(r3) +/* 803372B0 00334210 54 06 17 FE */ rlwinm r6, r0, 2, 0x1f, 0x1f +/* 803372B4 00334214 FC 08 10 40 */ fcmpo cr0, f8, f2 +/* 803372B8 00334218 7C 00 00 26 */ mfcr r0 +/* 803372BC 0033421C C0 63 00 04 */ lfs f3, 4(r3) +/* 803372C0 00334220 C1 24 00 10 */ lfs f9, 0x10(r4) +/* 803372C4 00334224 54 07 0F FE */ srwi r7, r0, 0x1f +/* 803372C8 00334228 FC 03 48 40 */ fcmpo cr0, f3, f9 +/* 803372CC 0033422C 7C 00 00 26 */ mfcr r0 +/* 803372D0 00334230 C0 84 00 08 */ lfs f4, 8(r4) +/* 803372D4 00334234 C1 43 00 14 */ lfs f10, 0x14(r3) +/* 803372D8 00334238 54 08 17 FE */ rlwinm r8, r0, 2, 0x1f, 0x1f +/* 803372DC 0033423C FC 0A 20 40 */ fcmpo cr0, f10, f4 +/* 803372E0 00334240 7C 00 00 26 */ mfcr r0 +/* 803372E4 00334244 C0 A3 00 08 */ lfs f5, 8(r3) +/* 803372E8 00334248 C1 64 00 14 */ lfs f11, 0x14(r4) +/* 803372EC 0033424C 54 09 0F FE */ srwi r9, r0, 0x1f +/* 803372F0 00334250 FC 05 58 40 */ fcmpo cr0, f5, f11 +/* 803372F4 00334254 7C 00 00 26 */ mfcr r0 +/* 803372F8 00334258 28 05 00 00 */ cmplwi r5, 0 +/* 803372FC 0033425C 54 0A 17 FE */ rlwinm r10, r0, 2, 0x1f, 0x1f +/* 80337300 00334260 39 60 00 00 */ li r11, 0 +/* 80337304 00334264 38 00 00 00 */ li r0, 0 +/* 80337308 00334268 40 82 00 10 */ bne lbl_80337318 +/* 8033730C 0033426C 28 06 00 00 */ cmplwi r6, 0 +/* 80337310 00334270 40 82 00 08 */ bne lbl_80337318 +/* 80337314 00334274 38 00 00 01 */ li r0, 1 +lbl_80337318: +/* 80337318 00334278 28 07 00 00 */ cmplwi r7, 0 +/* 8033731C 0033427C 38 80 00 00 */ li r4, 0 +/* 80337320 00334280 40 82 00 10 */ bne lbl_80337330 +/* 80337324 00334284 28 08 00 00 */ cmplwi r8, 0 +/* 80337328 00334288 40 82 00 08 */ bne lbl_80337330 +/* 8033732C 0033428C 38 80 00 01 */ li r4, 1 +lbl_80337330: +/* 80337330 00334290 28 09 00 00 */ cmplwi r9, 0 +/* 80337334 00334294 38 60 00 00 */ li r3, 0 +/* 80337338 00334298 40 82 00 10 */ bne lbl_80337348 +/* 8033733C 0033429C 28 0A 00 00 */ cmplwi r10, 0 +/* 80337340 003342A0 40 82 00 08 */ bne lbl_80337348 +/* 80337344 003342A4 38 60 00 01 */ li r3, 1 +lbl_80337348: +/* 80337348 003342A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033734C 003342AC 41 82 00 08 */ beq lbl_80337354 +/* 80337350 003342B0 61 6B 00 01 */ ori r11, r11, 1 +lbl_80337354: +/* 80337354 003342B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80337358 003342B8 41 82 00 08 */ beq lbl_80337360 +/* 8033735C 003342BC 61 6B 00 02 */ ori r11, r11, 2 +lbl_80337360: +/* 80337360 003342C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80337364 003342C4 41 82 00 08 */ beq lbl_8033736C +/* 80337368 003342C8 61 6B 00 04 */ ori r11, r11, 4 +lbl_8033736C: +/* 8033736C 003342CC 28 05 00 00 */ cmplwi r5, 0 +/* 80337370 003342D0 41 82 00 10 */ beq lbl_80337380 +/* 80337374 003342D4 FF E0 30 90 */ fmr f31, f6 +/* 80337378 003342D8 FC 20 00 90 */ fmr f1, f0 +/* 8033737C 003342DC 48 00 00 0C */ b lbl_80337388 +lbl_80337380: +/* 80337380 003342E0 FF E0 08 90 */ fmr f31, f1 +/* 80337384 003342E4 FC 20 38 90 */ fmr f1, f7 +lbl_80337388: +/* 80337388 003342E8 28 07 00 00 */ cmplwi r7, 0 +/* 8033738C 003342EC 41 82 00 10 */ beq lbl_8033739C +/* 80337390 003342F0 FF C0 40 90 */ fmr f30, f8 +/* 80337394 003342F4 FC C0 10 90 */ fmr f6, f2 +/* 80337398 003342F8 48 00 00 0C */ b lbl_803373A4 +lbl_8033739C: +/* 8033739C 003342FC FF C0 18 90 */ fmr f30, f3 +/* 803373A0 00334300 FC C0 48 90 */ fmr f6, f9 +lbl_803373A4: +/* 803373A4 00334304 28 09 00 00 */ cmplwi r9, 0 +/* 803373A8 00334308 41 82 00 10 */ beq lbl_803373B8 +/* 803373AC 0033430C FF A0 50 90 */ fmr f29, f10 +/* 803373B0 00334310 FC 40 20 90 */ fmr f2, f4 +/* 803373B4 00334314 48 00 00 0C */ b lbl_803373C0 +lbl_803373B8: +/* 803373B8 00334318 FF A0 28 90 */ fmr f29, f5 +/* 803373BC 0033431C FC 40 58 90 */ fmr f2, f11 +lbl_803373C0: +/* 803373C0 00334320 28 0B 00 07 */ cmplwi r11, 7 +/* 803373C4 00334324 41 81 01 40 */ bgt lbl_80337504 +/* 803373C8 00334328 3C 60 80 3F */ lis r3, lbl_803EE318@ha +/* 803373CC 0033432C 55 60 10 3A */ slwi r0, r11, 2 +/* 803373D0 00334330 38 63 E3 18 */ addi r3, r3, lbl_803EE318@l +/* 803373D4 00334334 7C 03 00 2E */ lwzx r0, r3, r0 +/* 803373D8 00334338 7C 09 03 A6 */ mtctr r0 +/* 803373DC 0033433C 4E 80 04 20 */ bctr +/* 803373E0 00334340 FC 80 F0 18 */ frsp f4, f30 +/* 803373E4 00334344 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 803373E8 00334348 FC 60 E8 18 */ frsp f3, f29 +/* 803373EC 0033434C 38 61 00 5C */ addi r3, r1, 0x5c +/* 803373F0 00334350 FC 00 F8 18 */ frsp f0, f31 +/* 803373F4 00334354 D3 C1 00 54 */ stfs f30, 0x54(r1) +/* 803373F8 00334358 EC 84 30 28 */ fsubs f4, f4, f6 +/* 803373FC 0033435C D3 A1 00 58 */ stfs f29, 0x58(r1) +/* 80337400 00334360 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80337404 00334364 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80337408 00334368 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 8033740C 0033436C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80337410 00334370 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80337414 00334374 4B FD D4 A5 */ bl Magnitude__9CVector3fCFv +/* 80337418 00334378 48 00 00 F0 */ b lbl_80337508 +/* 8033741C 0033437C FC 20 30 90 */ fmr f1, f6 +/* 80337420 00334380 38 61 00 38 */ addi r3, r1, 0x38 +/* 80337424 00334384 4B FD CD DD */ bl __ct__9CVector2fFff +/* 80337428 00334388 FC 20 F0 90 */ fmr f1, f30 +/* 8033742C 0033438C 7C 7F 1B 78 */ mr r31, r3 +/* 80337430 00334390 FC 40 E8 90 */ fmr f2, f29 +/* 80337434 00334394 38 61 00 40 */ addi r3, r1, 0x40 +/* 80337438 00334398 4B FD CD C9 */ bl __ct__9CVector2fFff +/* 8033743C 0033439C 7C 64 1B 78 */ mr r4, r3 +/* 80337440 003343A0 7F E5 FB 78 */ mr r5, r31 +/* 80337444 003343A4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80337448 003343A8 4B FD CA F1 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8033744C 003343AC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80337450 003343B0 4B FD CC A5 */ bl Magnitude__9CVector2fCFv +/* 80337454 003343B4 48 00 00 B4 */ b lbl_80337508 +/* 80337458 003343B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033745C 003343BC 4B FD CD A5 */ bl __ct__9CVector2fFff +/* 80337460 003343C0 FC 20 F8 90 */ fmr f1, f31 +/* 80337464 003343C4 7C 7F 1B 78 */ mr r31, r3 +/* 80337468 003343C8 FC 40 E8 90 */ fmr f2, f29 +/* 8033746C 003343CC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80337470 003343D0 4B FD CD 91 */ bl __ct__9CVector2fFff +/* 80337474 003343D4 7C 64 1B 78 */ mr r4, r3 +/* 80337478 003343D8 7F E5 FB 78 */ mr r5, r31 +/* 8033747C 003343DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80337480 003343E0 4B FD CA B9 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 80337484 003343E4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80337488 003343E8 4B FD CC 6D */ bl Magnitude__9CVector2fCFv +/* 8033748C 003343EC 48 00 00 7C */ b lbl_80337508 +/* 80337490 003343F0 EC 1D 10 28 */ fsubs f0, f29, f2 +/* 80337494 003343F4 FC 00 02 10 */ fabs f0, f0 +/* 80337498 003343F8 FC 20 00 18 */ frsp f1, f0 +/* 8033749C 003343FC 48 00 00 6C */ b lbl_80337508 +/* 803374A0 00334400 FC 40 30 90 */ fmr f2, f6 +/* 803374A4 00334404 38 61 00 08 */ addi r3, r1, 8 +/* 803374A8 00334408 4B FD CD 59 */ bl __ct__9CVector2fFff +/* 803374AC 0033440C FC 20 F8 90 */ fmr f1, f31 +/* 803374B0 00334410 7C 7F 1B 78 */ mr r31, r3 +/* 803374B4 00334414 FC 40 F0 90 */ fmr f2, f30 +/* 803374B8 00334418 38 61 00 10 */ addi r3, r1, 0x10 +/* 803374BC 0033441C 4B FD CD 45 */ bl __ct__9CVector2fFff +/* 803374C0 00334420 7C 64 1B 78 */ mr r4, r3 +/* 803374C4 00334424 7F E5 FB 78 */ mr r5, r31 +/* 803374C8 00334428 38 61 00 18 */ addi r3, r1, 0x18 +/* 803374CC 0033442C 4B FD CA 6D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 803374D0 00334430 38 61 00 18 */ addi r3, r1, 0x18 +/* 803374D4 00334434 4B FD CC 21 */ bl Magnitude__9CVector2fCFv +/* 803374D8 00334438 48 00 00 30 */ b lbl_80337508 +/* 803374DC 0033443C EC 1E 30 28 */ fsubs f0, f30, f6 +/* 803374E0 00334440 FC 00 02 10 */ fabs f0, f0 +/* 803374E4 00334444 FC 20 00 18 */ frsp f1, f0 +/* 803374E8 00334448 48 00 00 20 */ b lbl_80337508 +/* 803374EC 0033444C EC 1F 08 28 */ fsubs f0, f31, f1 +/* 803374F0 00334450 FC 00 02 10 */ fabs f0, f0 +/* 803374F4 00334454 FC 20 00 18 */ frsp f1, f0 +/* 803374F8 00334458 48 00 00 10 */ b lbl_80337508 +/* 803374FC 0033445C C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2) +/* 80337500 00334460 48 00 00 08 */ b lbl_80337508 +lbl_80337504: +/* 80337504 00334464 C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2) +lbl_80337508: +/* 80337508 00334468 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8033750C 0033446C CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80337510 00334470 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80337514 00334474 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80337518 00334478 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8033751C 0033447C CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80337520 00334480 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80337524 00334484 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80337528 00334488 7C 08 03 A6 */ mtlr r0 +/* 8033752C 0033448C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80337530 00334490 4E 80 00 20 */ blr + +.global PointInside__6CAABoxCFRC9CVector3f +PointInside__6CAABoxCFRC9CVector3f: +/* 80337534 00334494 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337538 00334498 38 00 00 00 */ li r0, 0 +/* 8033753C 0033449C C0 03 00 00 */ lfs f0, 0(r3) +/* 80337540 003344A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337544 003344A4 4C 41 13 82 */ cror 2, 1, 2 +/* 80337548 003344A8 40 82 00 60 */ bne lbl_803375A8 +/* 8033754C 003344AC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337550 003344B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337554 003344B4 4C 40 13 82 */ cror 2, 0, 2 +/* 80337558 003344B8 40 82 00 50 */ bne lbl_803375A8 +/* 8033755C 003344BC C0 24 00 04 */ lfs f1, 4(r4) +/* 80337560 003344C0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80337564 003344C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337568 003344C8 4C 41 13 82 */ cror 2, 1, 2 +/* 8033756C 003344CC 40 82 00 3C */ bne lbl_803375A8 +/* 80337570 003344D0 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80337574 003344D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337578 003344D8 4C 40 13 82 */ cror 2, 0, 2 +/* 8033757C 003344DC 40 82 00 2C */ bne lbl_803375A8 +/* 80337580 003344E0 C0 24 00 08 */ lfs f1, 8(r4) +/* 80337584 003344E4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80337588 003344E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8033758C 003344EC 4C 41 13 82 */ cror 2, 1, 2 +/* 80337590 003344F0 40 82 00 18 */ bne lbl_803375A8 +/* 80337594 003344F4 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80337598 003344F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8033759C 003344FC 4C 40 13 82 */ cror 2, 0, 2 +/* 803375A0 00334500 40 82 00 08 */ bne lbl_803375A8 +/* 803375A4 00334504 38 00 00 01 */ li r0, 1 +lbl_803375A8: +/* 803375A8 00334508 7C 03 03 78 */ mr r3, r0 +/* 803375AC 0033450C 4E 80 00 20 */ blr + +.global GetPoint__6CAABoxCFi +GetPoint__6CAABoxCFi: +/* 803375B0 00334510 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803375B4 00334514 39 24 00 0C */ addi r9, r4, 0xc +/* 803375B8 00334518 54 A7 07 7A */ rlwinm r7, r5, 0, 0x1d, 0x1d +/* 803375BC 0033451C 54 A6 0F 7A */ rlwinm r6, r5, 1, 0x1d, 0x1d +/* 803375C0 00334520 80 02 D7 88 */ lwz r0, lbl_805AF4A8@sda21(r2) +/* 803375C4 00334524 39 01 00 08 */ addi r8, r1, 8 +/* 803375C8 00334528 81 42 D7 8C */ lwz r10, lbl_805AF4AC@sda21(r2) +/* 803375CC 0033452C 90 01 00 08 */ stw r0, 8(r1) +/* 803375D0 00334530 54 A0 17 7A */ rlwinm r0, r5, 2, 0x1d, 0x1d +/* 803375D4 00334534 91 41 00 0C */ stw r10, 0xc(r1) +/* 803375D8 00334538 90 81 00 08 */ stw r4, 8(r1) +/* 803375DC 0033453C 91 21 00 0C */ stw r9, 0xc(r1) +/* 803375E0 00334540 7C E8 38 2E */ lwzx r7, r8, r7 +/* 803375E4 00334544 7C A8 30 2E */ lwzx r5, r8, r6 +/* 803375E8 00334548 7C 88 00 2E */ lwzx r4, r8, r0 +/* 803375EC 0033454C C0 27 00 08 */ lfs f1, 8(r7) +/* 803375F0 00334550 C0 45 00 04 */ lfs f2, 4(r5) +/* 803375F4 00334554 C0 04 00 00 */ lfs f0, 0(r4) +/* 803375F8 00334558 D0 03 00 00 */ stfs f0, 0(r3) +/* 803375FC 0033455C D0 43 00 04 */ stfs f2, 4(r3) +/* 80337600 00334560 D0 23 00 08 */ stfs f1, 8(r3) +/* 80337604 00334564 38 21 00 10 */ addi r1, r1, 0x10 +/* 80337608 00334568 4E 80 00 20 */ blr + +.global GetCenterPoint__6CAABoxCFv +GetCenterPoint__6CAABoxCFv: +/* 8033760C 0033456C C0 24 00 00 */ lfs f1, 0(r4) +/* 80337610 00334570 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337614 00334574 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337618 00334578 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 8033761C 0033457C EC 01 00 2A */ fadds f0, f1, f0 +/* 80337620 00334580 C0 82 CB 8C */ lfs f4, lbl_805AE8AC@sda21(r2) +/* 80337624 00334584 EC 63 10 2A */ fadds f3, f3, f2 +/* 80337628 00334588 C0 44 00 08 */ lfs f2, 8(r4) +/* 8033762C 0033458C C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80337630 00334590 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80337634 00334594 EC 22 08 2A */ fadds f1, f2, f1 +/* 80337638 00334598 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 8033763C 0033459C D0 03 00 00 */ stfs f0, 0(r3) +/* 80337640 003345A0 EC 04 00 72 */ fmuls f0, f4, f1 +/* 80337644 003345A4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80337648 003345A8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8033764C 003345AC 4E 80 00 20 */ blr + +.global GetVolume__6CAABoxCFv +GetVolume__6CAABoxCFv: +/* 80337650 003345B0 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 80337654 003345B4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80337658 003345B8 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8033765C 003345BC C0 03 00 04 */ lfs f0, 4(r3) +/* 80337660 003345C0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80337664 003345C4 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 80337668 003345C8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8033766C 003345CC C0 23 00 08 */ lfs f1, 8(r3) +/* 80337670 003345D0 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80337674 003345D4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80337678 003345D8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8033767C 003345DC 4E 80 00 20 */ blr + +.global Invalid__6CAABoxCFv +Invalid__6CAABoxCFv: +/* 80337680 003345E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80337684 003345E4 7C 08 02 A6 */ mflr r0 +/* 80337688 003345E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033768C 003345EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80337690 003345F0 7C 7F 1B 78 */ mr r31, r3 +/* 80337694 003345F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337698 003345F8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8033769C 003345FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803376A0 00334600 40 81 00 2C */ ble lbl_803376CC +/* 803376A4 00334604 C0 3F 00 04 */ lfs f1, 4(r31) +/* 803376A8 00334608 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 803376AC 0033460C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803376B0 00334610 40 81 00 1C */ ble lbl_803376CC +/* 803376B4 00334614 C0 3F 00 08 */ lfs f1, 8(r31) +/* 803376B8 00334618 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 803376BC 0033461C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803376C0 00334620 40 81 00 0C */ ble lbl_803376CC +/* 803376C4 00334624 38 60 00 01 */ li r3, 1 +/* 803376C8 00334628 48 00 00 48 */ b lbl_80337710 +lbl_803376CC: +/* 803376CC 0033462C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803376D0 00334630 C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2) +/* 803376D4 00334634 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803376D8 00334638 7F E3 FB 78 */ mr r3, r31 +/* 803376DC 0033463C 4B FD CE D5 */ bl IsEqu__9CVector3fCFRC9CVector3ff +/* 803376E0 00334640 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803376E4 00334644 41 82 00 28 */ beq lbl_8033770C +/* 803376E8 00334648 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803376EC 0033464C C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2) +/* 803376F0 00334650 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803376F4 00334654 38 7F 00 0C */ addi r3, r31, 0xc +/* 803376F8 00334658 4B FD CE B9 */ bl IsEqu__9CVector3fCFRC9CVector3ff +/* 803376FC 0033465C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80337700 00334660 41 82 00 0C */ beq lbl_8033770C +/* 80337704 00334664 38 60 00 01 */ li r3, 1 +/* 80337708 00334668 48 00 00 08 */ b lbl_80337710 +lbl_8033770C: +/* 8033770C 0033466C 38 60 00 00 */ li r3, 0 +lbl_80337710: +/* 80337710 00334670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80337714 00334674 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80337718 00334678 7C 08 03 A6 */ mtlr r0 +/* 8033771C 0033467C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80337720 00334680 4E 80 00 20 */ blr + +.global GetBooleanIntersection__6CAABoxCFRC6CAABox +GetBooleanIntersection__6CAABoxCFRC6CAABox: +/* 80337724 00334684 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80337728 00334688 7C 08 02 A6 */ mflr r0 +/* 8033772C 0033468C 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80337730 00334690 7C A7 2B 78 */ mr r7, r5 +/* 80337734 00334694 90 01 00 24 */ stw r0, 0x24(r1) +/* 80337738 00334698 38 00 00 03 */ li r0, 3 +/* 8033773C 0033469C 7C 88 23 78 */ mr r8, r4 +/* 80337740 003346A0 39 41 00 14 */ addi r10, r1, 0x14 +/* 80337744 003346A4 C4 06 66 A0 */ lfsu f0, skZero3f@l(r6) +/* 80337748 003346A8 39 61 00 08 */ addi r11, r1, 8 +/* 8033774C 003346AC 39 20 00 00 */ li r9, 0 +/* 80337750 003346B0 C0 26 00 04 */ lfs f1, 4(r6) +/* 80337754 003346B4 C0 46 00 08 */ lfs f2, 8(r6) +/* 80337758 003346B8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033775C 003346BC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80337760 003346C0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337764 003346C4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337768 003346C8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8033776C 003346CC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337770 003346D0 7C 09 03 A6 */ mtctr r0 +lbl_80337774: +/* 80337774 003346D4 C0 68 00 00 */ lfs f3, 0(r8) +/* 80337778 003346D8 C0 47 00 00 */ lfs f2, 0(r7) +/* 8033777C 003346DC FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80337780 003346E0 4C 40 13 82 */ cror 2, 0, 2 +/* 80337784 003346E4 40 82 00 2C */ bne lbl_803377B0 +/* 80337788 003346E8 7C C4 4A 14 */ add r6, r4, r9 +/* 8033778C 003346EC 7D 85 4A 14 */ add r12, r5, r9 +/* 80337790 003346F0 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 80337794 003346F4 C0 0C 00 0C */ lfs f0, 0xc(r12) +/* 80337798 003346F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8033779C 003346FC 4C 41 13 82 */ cror 2, 1, 2 +/* 803377A0 00334700 40 82 00 10 */ bne lbl_803377B0 +/* 803377A4 00334704 D0 4A 00 00 */ stfs f2, 0(r10) +/* 803377A8 00334708 D0 0B 00 00 */ stfs f0, 0(r11) +/* 803377AC 0033470C 48 00 00 94 */ b lbl_80337840 +lbl_803377B0: +/* 803377B0 00334710 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 803377B4 00334714 4C 40 13 82 */ cror 2, 0, 2 +/* 803377B8 00334718 40 82 00 2C */ bne lbl_803377E4 +/* 803377BC 0033471C 7C C5 4A 14 */ add r6, r5, r9 +/* 803377C0 00334720 7D 84 4A 14 */ add r12, r4, r9 +/* 803377C4 00334724 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 803377C8 00334728 C0 0C 00 0C */ lfs f0, 0xc(r12) +/* 803377CC 0033472C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803377D0 00334730 4C 41 13 82 */ cror 2, 1, 2 +/* 803377D4 00334734 40 82 00 10 */ bne lbl_803377E4 +/* 803377D8 00334738 D0 6A 00 00 */ stfs f3, 0(r10) +/* 803377DC 0033473C D0 0B 00 00 */ stfs f0, 0(r11) +/* 803377E0 00334740 48 00 00 60 */ b lbl_80337840 +lbl_803377E4: +/* 803377E4 00334744 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 803377E8 00334748 4C 40 13 82 */ cror 2, 0, 2 +/* 803377EC 0033474C 40 82 00 24 */ bne lbl_80337810 +/* 803377F0 00334750 7C C5 4A 14 */ add r6, r5, r9 +/* 803377F4 00334754 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 803377F8 00334758 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803377FC 0033475C 4C 41 13 82 */ cror 2, 1, 2 +/* 80337800 00334760 40 82 00 10 */ bne lbl_80337810 +/* 80337804 00334764 D0 6A 00 00 */ stfs f3, 0(r10) +/* 80337808 00334768 D0 0B 00 00 */ stfs f0, 0(r11) +/* 8033780C 0033476C 48 00 00 34 */ b lbl_80337840 +lbl_80337810: +/* 80337810 00334770 7C C4 4A 14 */ add r6, r4, r9 +/* 80337814 00334774 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 80337818 00334778 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8033781C 0033477C 4C 40 13 82 */ cror 2, 0, 2 +/* 80337820 00334780 40 82 00 20 */ bne lbl_80337840 +/* 80337824 00334784 7C C5 4A 14 */ add r6, r5, r9 +/* 80337828 00334788 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8033782C 0033478C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337830 00334790 4C 41 13 82 */ cror 2, 1, 2 +/* 80337834 00334794 40 82 00 0C */ bne lbl_80337840 +/* 80337838 00334798 D0 4A 00 00 */ stfs f2, 0(r10) +/* 8033783C 0033479C D0 2B 00 00 */ stfs f1, 0(r11) +lbl_80337840: +/* 80337840 003347A0 38 E7 00 04 */ addi r7, r7, 4 +/* 80337844 003347A4 39 08 00 04 */ addi r8, r8, 4 +/* 80337848 003347A8 39 29 00 04 */ addi r9, r9, 4 +/* 8033784C 003347AC 39 4A 00 04 */ addi r10, r10, 4 +/* 80337850 003347B0 39 6B 00 04 */ addi r11, r11, 4 +/* 80337854 003347B4 42 00 FF 20 */ bdnz lbl_80337774 +/* 80337858 003347B8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8033785C 003347BC 38 A1 00 08 */ addi r5, r1, 8 +/* 80337860 003347C0 48 00 0C A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80337864 003347C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80337868 003347C8 7C 08 03 A6 */ mtlr r0 +/* 8033786C 003347CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80337870 003347D0 4E 80 00 20 */ blr + +.global ClampToBox__6CAABoxCFRC9CVector3f +ClampToBox__6CAABoxCFRC9CVector3f: +/* 80337874 003347D4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80337878 003347D8 C0 24 00 08 */ lfs f1, 8(r4) +/* 8033787C 003347DC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337880 003347E0 40 80 00 08 */ bge lbl_80337888 +/* 80337884 003347E4 48 00 00 18 */ b lbl_8033789C +lbl_80337888: +/* 80337888 003347E8 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 8033788C 003347EC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337890 003347F0 40 81 00 08 */ ble lbl_80337898 +/* 80337894 003347F4 48 00 00 08 */ b lbl_8033789C +lbl_80337898: +/* 80337898 003347F8 FC 20 00 90 */ fmr f1, f0 +lbl_8033789C: +/* 8033789C 003347FC C0 05 00 04 */ lfs f0, 4(r5) +/* 803378A0 00334800 C0 44 00 04 */ lfs f2, 4(r4) +/* 803378A4 00334804 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 803378A8 00334808 40 80 00 08 */ bge lbl_803378B0 +/* 803378AC 0033480C 48 00 00 18 */ b lbl_803378C4 +lbl_803378B0: +/* 803378B0 00334810 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803378B4 00334814 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 803378B8 00334818 40 81 00 08 */ ble lbl_803378C0 +/* 803378BC 0033481C 48 00 00 08 */ b lbl_803378C4 +lbl_803378C0: +/* 803378C0 00334820 FC 40 00 90 */ fmr f2, f0 +lbl_803378C4: +/* 803378C4 00334824 C0 05 00 00 */ lfs f0, 0(r5) +/* 803378C8 00334828 C0 64 00 00 */ lfs f3, 0(r4) +/* 803378CC 0033482C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803378D0 00334830 40 80 00 08 */ bge lbl_803378D8 +/* 803378D4 00334834 48 00 00 18 */ b lbl_803378EC +lbl_803378D8: +/* 803378D8 00334838 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 803378DC 0033483C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803378E0 00334840 40 81 00 08 */ ble lbl_803378E8 +/* 803378E4 00334844 48 00 00 08 */ b lbl_803378EC +lbl_803378E8: +/* 803378E8 00334848 FC 60 00 90 */ fmr f3, f0 +lbl_803378EC: +/* 803378EC 0033484C D0 63 00 00 */ stfs f3, 0(r3) +/* 803378F0 00334850 D0 43 00 04 */ stfs f2, 4(r3) +/* 803378F4 00334854 D0 23 00 08 */ stfs f1, 8(r3) +/* 803378F8 00334858 4E 80 00 20 */ blr + +.global GetTransformedAABox__6CAABoxCFRC12CTransform4f +GetTransformedAABox__6CAABoxCFRC12CTransform4f: +/* 803378FC 0033485C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80337900 00334860 7C 08 02 A6 */ mflr r0 +/* 80337904 00334864 3C C0 80 5A */ lis r6, skIdentity4f@ha +/* 80337908 00334868 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033790C 0033486C 38 06 66 70 */ addi r0, r6, skIdentity4f@l +/* 80337910 00334870 7C 05 00 40 */ cmplw r5, r0 +/* 80337914 00334874 40 82 00 38 */ bne lbl_8033794C +/* 80337918 00334878 C0 04 00 00 */ lfs f0, 0(r4) +/* 8033791C 0033487C D0 03 00 00 */ stfs f0, 0(r3) +/* 80337920 00334880 C0 04 00 04 */ lfs f0, 4(r4) +/* 80337924 00334884 D0 03 00 04 */ stfs f0, 4(r3) +/* 80337928 00334888 C0 04 00 08 */ lfs f0, 8(r4) +/* 8033792C 0033488C D0 03 00 08 */ stfs f0, 8(r3) +/* 80337930 00334890 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337934 00334894 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80337938 00334898 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8033793C 0033489C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80337940 003348A0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80337944 003348A4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80337948 003348A8 48 00 00 CC */ b lbl_80337A14 +lbl_8033794C: +/* 8033794C 003348AC C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 80337950 003348B0 39 21 00 14 */ addi r9, r1, 0x14 +/* 80337954 003348B4 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 80337958 003348B8 39 41 00 08 */ addi r10, r1, 8 +/* 8033795C 003348BC C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80337960 003348C0 39 60 00 00 */ li r11, 0 +/* 80337964 003348C4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80337968 003348C8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033796C 003348CC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337970 003348D0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337974 003348D4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80337978 003348D8 D0 41 00 10 */ stfs f2, 0x10(r1) +lbl_8033797C: +/* 8033797C 003348DC 38 00 00 03 */ li r0, 3 +/* 80337980 003348E0 7C 86 23 78 */ mr r6, r4 +/* 80337984 003348E4 7C A7 2B 78 */ mr r7, r5 +/* 80337988 003348E8 39 04 00 0C */ addi r8, r4, 0xc +/* 8033798C 003348EC 7C 09 03 A6 */ mtctr r0 +lbl_80337990: +/* 80337990 003348F0 C0 47 00 00 */ lfs f2, 0(r7) +/* 80337994 003348F4 C0 26 00 00 */ lfs f1, 0(r6) +/* 80337998 003348F8 C0 08 00 00 */ lfs f0, 0(r8) +/* 8033799C 003348FC EC 62 00 72 */ fmuls f3, f2, f1 +/* 803379A0 00334900 EC 42 00 32 */ fmuls f2, f2, f0 +/* 803379A4 00334904 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 803379A8 00334908 40 80 00 20 */ bge lbl_803379C8 +/* 803379AC 0033490C C0 29 00 00 */ lfs f1, 0(r9) +/* 803379B0 00334910 C0 0A 00 00 */ lfs f0, 0(r10) +/* 803379B4 00334914 EC 21 18 2A */ fadds f1, f1, f3 +/* 803379B8 00334918 EC 00 10 2A */ fadds f0, f0, f2 +/* 803379BC 0033491C D0 29 00 00 */ stfs f1, 0(r9) +/* 803379C0 00334920 D0 0A 00 00 */ stfs f0, 0(r10) +/* 803379C4 00334924 48 00 00 1C */ b lbl_803379E0 +lbl_803379C8: +/* 803379C8 00334928 C0 29 00 00 */ lfs f1, 0(r9) +/* 803379CC 0033492C C0 0A 00 00 */ lfs f0, 0(r10) +/* 803379D0 00334930 EC 21 10 2A */ fadds f1, f1, f2 +/* 803379D4 00334934 EC 00 18 2A */ fadds f0, f0, f3 +/* 803379D8 00334938 D0 29 00 00 */ stfs f1, 0(r9) +/* 803379DC 0033493C D0 0A 00 00 */ stfs f0, 0(r10) +lbl_803379E0: +/* 803379E0 00334940 38 C6 00 04 */ addi r6, r6, 4 +/* 803379E4 00334944 38 E7 00 04 */ addi r7, r7, 4 +/* 803379E8 00334948 39 08 00 04 */ addi r8, r8, 4 +/* 803379EC 0033494C 42 00 FF A4 */ bdnz lbl_80337990 +/* 803379F0 00334950 39 6B 00 01 */ addi r11, r11, 1 +/* 803379F4 00334954 39 29 00 04 */ addi r9, r9, 4 +/* 803379F8 00334958 2C 0B 00 03 */ cmpwi r11, 3 +/* 803379FC 0033495C 39 4A 00 04 */ addi r10, r10, 4 +/* 80337A00 00334960 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80337A04 00334964 41 80 FF 78 */ blt lbl_8033797C +/* 80337A08 00334968 38 81 00 14 */ addi r4, r1, 0x14 +/* 80337A0C 0033496C 38 A1 00 08 */ addi r5, r1, 8 +/* 80337A10 00334970 48 00 0A F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_80337A14: +/* 80337A14 00334974 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80337A18 00334978 7C 08 03 A6 */ mtlr r0 +/* 80337A1C 0033497C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80337A20 00334980 4E 80 00 20 */ blr + +.global InsidePlane__6CAABoxCFRC6CPlane +InsidePlane__6CAABoxCFRC6CPlane: +/* 80337A24 00334984 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337A28 00334988 C0 03 00 04 */ lfs f0, 4(r3) +/* 80337A2C 0033498C C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80337A30 00334990 C0 A4 00 00 */ lfs f5, 0(r4) +/* 80337A34 00334994 FC 03 08 2E */ fsel f0, f3, f0, f1 +/* 80337A38 00334998 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337A3C 0033499C C0 43 00 0C */ lfs f2, 0xc(r3) +/* 80337A40 003349A0 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80337A44 003349A4 FC 85 10 6E */ fsel f4, f5, f1, f2 +/* 80337A48 003349A8 C0 43 00 08 */ lfs f2, 8(r3) +/* 80337A4C 003349AC EC 23 00 32 */ fmuls f1, f3, f0 +/* 80337A50 003349B0 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 80337A54 003349B4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337A58 003349B8 FC 46 18 AE */ fsel f2, f6, f2, f3 +/* 80337A5C 003349BC EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 80337A60 003349C0 EC 26 08 BA */ fmadds f1, f6, f2, f1 +/* 80337A64 003349C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337A68 003349C8 4C 41 13 82 */ cror 2, 1, 2 +/* 80337A6C 003349CC 7C 00 00 26 */ mfcr r0 +/* 80337A70 003349D0 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f +/* 80337A74 003349D4 7C 00 00 34 */ cntlzw r0, r0 +/* 80337A78 003349D8 54 03 D9 7E */ srwi r3, r0, 5 +/* 80337A7C 003349DC 4E 80 00 20 */ blr + +.global Inside__6CAABoxCFRC6CAABox +Inside__6CAABoxCFRC6CAABox: +/* 80337A80 003349E0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337A84 003349E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80337A88 003349E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337A8C 003349EC 4C 41 13 82 */ cror 2, 1, 2 +/* 80337A90 003349F0 40 82 00 70 */ bne lbl_80337B00 +/* 80337A94 003349F4 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80337A98 003349F8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337A9C 003349FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AA0 00334A00 4C 40 13 82 */ cror 2, 0, 2 +/* 80337AA4 00334A04 40 82 00 5C */ bne lbl_80337B00 +/* 80337AA8 00334A08 C0 23 00 04 */ lfs f1, 4(r3) +/* 80337AAC 00334A0C C0 04 00 04 */ lfs f0, 4(r4) +/* 80337AB0 00334A10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AB4 00334A14 4C 41 13 82 */ cror 2, 1, 2 +/* 80337AB8 00334A18 40 82 00 48 */ bne lbl_80337B00 +/* 80337ABC 00334A1C C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80337AC0 00334A20 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80337AC4 00334A24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AC8 00334A28 4C 40 13 82 */ cror 2, 0, 2 +/* 80337ACC 00334A2C 40 82 00 34 */ bne lbl_80337B00 +/* 80337AD0 00334A30 C0 23 00 08 */ lfs f1, 8(r3) +/* 80337AD4 00334A34 C0 04 00 08 */ lfs f0, 8(r4) +/* 80337AD8 00334A38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337ADC 00334A3C 4C 41 13 82 */ cror 2, 1, 2 +/* 80337AE0 00334A40 40 82 00 20 */ bne lbl_80337B00 +/* 80337AE4 00334A44 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80337AE8 00334A48 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80337AEC 00334A4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AF0 00334A50 4C 40 13 82 */ cror 2, 0, 2 +/* 80337AF4 00334A54 40 82 00 0C */ bne lbl_80337B00 +/* 80337AF8 00334A58 38 60 00 01 */ li r3, 1 +/* 80337AFC 00334A5C 4E 80 00 20 */ blr +lbl_80337B00: +/* 80337B00 00334A60 38 60 00 00 */ li r3, 0 +/* 80337B04 00334A64 4E 80 00 20 */ blr + +.global AccumulateBounds__6CAABoxFRC9CVector3f +AccumulateBounds__6CAABoxFRC9CVector3f: +/* 80337B08 00334A68 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337B0C 00334A6C C0 03 00 00 */ lfs f0, 0(r3) +/* 80337B10 00334A70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B14 00334A74 40 80 00 08 */ bge lbl_80337B1C +/* 80337B18 00334A78 D0 23 00 00 */ stfs f1, 0(r3) +lbl_80337B1C: +/* 80337B1C 00334A7C C0 24 00 04 */ lfs f1, 4(r4) +/* 80337B20 00334A80 C0 03 00 04 */ lfs f0, 4(r3) +/* 80337B24 00334A84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B28 00334A88 40 80 00 08 */ bge lbl_80337B30 +/* 80337B2C 00334A8C D0 23 00 04 */ stfs f1, 4(r3) +lbl_80337B30: +/* 80337B30 00334A90 C0 24 00 08 */ lfs f1, 8(r4) +/* 80337B34 00334A94 C0 03 00 08 */ lfs f0, 8(r3) +/* 80337B38 00334A98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B3C 00334A9C 40 80 00 08 */ bge lbl_80337B44 +/* 80337B40 00334AA0 D0 23 00 08 */ stfs f1, 8(r3) +lbl_80337B44: +/* 80337B44 00334AA4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337B48 00334AA8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337B4C 00334AAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B50 00334AB0 40 81 00 08 */ ble lbl_80337B58 +/* 80337B54 00334AB4 D0 23 00 0C */ stfs f1, 0xc(r3) +lbl_80337B58: +/* 80337B58 00334AB8 C0 24 00 04 */ lfs f1, 4(r4) +/* 80337B5C 00334ABC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80337B60 00334AC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B64 00334AC4 40 81 00 08 */ ble lbl_80337B6C +/* 80337B68 00334AC8 D0 23 00 10 */ stfs f1, 0x10(r3) +lbl_80337B6C: +/* 80337B6C 00334ACC C0 24 00 08 */ lfs f1, 8(r4) +/* 80337B70 00334AD0 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80337B74 00334AD4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B78 00334AD8 4C 81 00 20 */ blelr +/* 80337B7C 00334ADC D0 23 00 14 */ stfs f1, 0x14(r3) +/* 80337B80 00334AE0 4E 80 00 20 */ blr + +.global DoBoundsOverlap__6CAABoxCFRC6CAABox +DoBoundsOverlap__6CAABoxCFRC6CAABox: +/* 80337B84 00334AE4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337B88 00334AE8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337B8C 00334AEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B90 00334AF0 41 81 00 54 */ bgt lbl_80337BE4 +/* 80337B94 00334AF4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337B98 00334AF8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337B9C 00334AFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BA0 00334B00 41 81 00 44 */ bgt lbl_80337BE4 +/* 80337BA4 00334B04 C0 24 00 04 */ lfs f1, 4(r4) +/* 80337BA8 00334B08 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80337BAC 00334B0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BB0 00334B10 41 81 00 34 */ bgt lbl_80337BE4 +/* 80337BB4 00334B14 C0 23 00 04 */ lfs f1, 4(r3) +/* 80337BB8 00334B18 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80337BBC 00334B1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BC0 00334B20 41 81 00 24 */ bgt lbl_80337BE4 +/* 80337BC4 00334B24 C0 24 00 08 */ lfs f1, 8(r4) +/* 80337BC8 00334B28 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80337BCC 00334B2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BD0 00334B30 41 81 00 14 */ bgt lbl_80337BE4 +/* 80337BD4 00334B34 C0 23 00 08 */ lfs f1, 8(r3) +/* 80337BD8 00334B38 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80337BDC 00334B3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BE0 00334B40 40 81 00 0C */ ble lbl_80337BEC +lbl_80337BE4: +/* 80337BE4 00334B44 38 60 00 00 */ li r3, 0 +/* 80337BE8 00334B48 4E 80 00 20 */ blr +lbl_80337BEC: +/* 80337BEC 00334B4C 38 60 00 01 */ li r3, 1 +/* 80337BF0 00334B50 4E 80 00 20 */ blr + +.global GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi +GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi: +/* 80337BF4 00334B54 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80337BF8 00334B58 7C 08 02 A6 */ mflr r0 +/* 80337BFC 00334B5C 2C 05 00 03 */ cmpwi r5, 3 +/* 80337C00 00334B60 90 01 00 64 */ stw r0, 0x64(r1) +/* 80337C04 00334B64 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 80337C08 00334B68 7C 7F 1B 78 */ mr r31, r3 +/* 80337C0C 00334B6C C0 64 00 04 */ lfs f3, 4(r4) +/* 80337C10 00334B70 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80337C14 00334B74 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337C18 00334B78 C0 84 00 08 */ lfs f4, 8(r4) +/* 80337C1C 00334B7C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337C20 00334B80 D0 21 00 08 */ stfs f1, 8(r1) +/* 80337C24 00334B84 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337C28 00334B88 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337C2C 00334B8C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80337C30 00334B90 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337C34 00334B94 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80337C38 00334B98 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337C3C 00334B9C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337C40 00334BA0 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337C44 00334BA4 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80337C48 00334BA8 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337C4C 00334BAC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80337C50 00334BB0 41 82 00 E0 */ beq lbl_80337D30 +/* 80337C54 00334BB4 40 80 00 14 */ bge lbl_80337C68 +/* 80337C58 00334BB8 2C 05 00 01 */ cmpwi r5, 1 +/* 80337C5C 00334BBC 41 82 00 64 */ beq lbl_80337CC0 +/* 80337C60 00334BC0 40 80 00 98 */ bge lbl_80337CF8 +/* 80337C64 00334BC4 48 00 00 14 */ b lbl_80337C78 +lbl_80337C68: +/* 80337C68 00334BC8 2C 05 00 05 */ cmpwi r5, 5 +/* 80337C6C 00334BCC 41 82 01 34 */ beq lbl_80337DA0 +/* 80337C70 00334BD0 40 80 00 08 */ bge lbl_80337C78 +/* 80337C74 00334BD4 48 00 00 F4 */ b lbl_80337D68 +lbl_80337C78: +/* 80337C78 00334BD8 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337C7C 00334BDC C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80337C80 00334BE0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337C84 00334BE4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337C88 00334BE8 C0 84 00 08 */ lfs f4, 8(r4) +/* 80337C8C 00334BEC D0 21 00 08 */ stfs f1, 8(r1) +/* 80337C90 00334BF0 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337C94 00334BF4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337C98 00334BF8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337C9C 00334BFC D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337CA0 00334C00 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337CA4 00334C04 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337CA8 00334C08 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337CAC 00334C0C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337CB0 00334C10 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337CB4 00334C14 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337CB8 00334C18 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337CBC 00334C1C 48 00 01 18 */ b lbl_80337DD4 +lbl_80337CC0: +/* 80337CC0 00334C20 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 80337CC4 00334C24 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337CC8 00334C28 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337CCC 00334C2C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337CD0 00334C30 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80337CD4 00334C34 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337CD8 00334C38 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337CDC 00334C3C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80337CE0 00334C40 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337CE4 00334C44 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337CE8 00334C48 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80337CEC 00334C4C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337CF0 00334C50 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337CF4 00334C54 48 00 00 E0 */ b lbl_80337DD4 +lbl_80337CF8: +/* 80337CF8 00334C58 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80337CFC 00334C5C D0 21 00 08 */ stfs f1, 8(r1) +/* 80337D00 00334C60 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80337D04 00334C64 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337D08 00334C68 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80337D0C 00334C6C D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337D10 00334C70 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337D14 00334C74 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80337D18 00334C78 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337D1C 00334C7C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337D20 00334C80 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337D24 00334C84 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80337D28 00334C88 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337D2C 00334C8C 48 00 00 A8 */ b lbl_80337DD4 +lbl_80337D30: +/* 80337D30 00334C90 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 80337D34 00334C94 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337D38 00334C98 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337D3C 00334C9C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337D40 00334CA0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337D44 00334CA4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80337D48 00334CA8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337D4C 00334CAC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337D50 00334CB0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80337D54 00334CB4 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337D58 00334CB8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80337D5C 00334CBC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337D60 00334CC0 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337D64 00334CC4 48 00 00 70 */ b lbl_80337DD4 +lbl_80337D68: +/* 80337D68 00334CC8 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 80337D6C 00334CCC D0 21 00 08 */ stfs f1, 8(r1) +/* 80337D70 00334CD0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80337D74 00334CD4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337D78 00334CD8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337D7C 00334CDC D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80337D80 00334CE0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337D84 00334CE4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337D88 00334CE8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337D8C 00334CEC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80337D90 00334CF0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337D94 00334CF4 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337D98 00334CF8 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80337D9C 00334CFC 48 00 00 38 */ b lbl_80337DD4 +lbl_80337DA0: +/* 80337DA0 00334D00 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80337DA4 00334D04 D0 21 00 08 */ stfs f1, 8(r1) +/* 80337DA8 00334D08 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337DAC 00334D0C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80337DB0 00334D10 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337DB4 00334D14 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337DB8 00334D18 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80337DBC 00334D1C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337DC0 00334D20 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80337DC4 00334D24 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337DC8 00334D28 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337DCC 00334D2C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80337DD0 00334D30 D0 81 00 34 */ stfs f4, 0x34(r1) +lbl_80337DD4: +/* 80337DD4 00334D34 38 06 00 01 */ addi r0, r6, 1 +/* 80337DD8 00334D38 38 66 00 02 */ addi r3, r6, 2 +/* 80337DDC 00334D3C 54 05 F0 02 */ slwi r5, r0, 0x1e +/* 80337DE0 00334D40 3B C1 00 08 */ addi r30, r1, 8 +/* 80337DE4 00334D44 54 07 0F FE */ srwi r7, r0, 0x1f +/* 80337DE8 00334D48 54 60 F0 02 */ slwi r0, r3, 0x1e +/* 80337DEC 00334D4C 54 64 0F FE */ srwi r4, r3, 0x1f +/* 80337DF0 00334D50 7F DC F3 78 */ mr r28, r30 +/* 80337DF4 00334D54 7C A7 28 50 */ subf r5, r7, r5 +/* 80337DF8 00334D58 7F DA F3 78 */ mr r26, r30 +/* 80337DFC 00334D5C 7C 04 00 50 */ subf r0, r4, r0 +/* 80337E00 00334D60 7F E3 FB 78 */ mr r3, r31 +/* 80337E04 00334D64 54 A5 10 3E */ rotlwi r5, r5, 2 +/* 80337E08 00334D68 54 00 10 3E */ rotlwi r0, r0, 2 +/* 80337E0C 00334D6C 7C A5 3A 14 */ add r5, r5, r7 +/* 80337E10 00334D70 7C 00 22 14 */ add r0, r0, r4 +/* 80337E14 00334D74 1F A6 00 0C */ mulli r29, r6, 0xc +/* 80337E18 00334D78 1F 65 00 0C */ mulli r27, r5, 0xc +/* 80337E1C 00334D7C 7F DE EA 14 */ add r30, r30, r29 +/* 80337E20 00334D80 1F 20 00 0C */ mulli r25, r0, 0xc +/* 80337E24 00334D84 7F C4 F3 78 */ mr r4, r30 +/* 80337E28 00334D88 7F 9C DA 14 */ add r28, r28, r27 +/* 80337E2C 00334D8C 7F 5A CA 14 */ add r26, r26, r25 +/* 80337E30 00334D90 7F 85 E3 78 */ mr r5, r28 +/* 80337E34 00334D94 7F 46 D3 78 */ mr r6, r26 +/* 80337E38 00334D98 4B FF F2 71 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80337E3C 00334D9C C0 1E 00 00 */ lfs f0, 0(r30) +/* 80337E40 00334DA0 38 61 00 0C */ addi r3, r1, 0xc +/* 80337E44 00334DA4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80337E48 00334DA8 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80337E4C 00334DAC 7C 03 EC 2E */ lfsx f0, r3, r29 +/* 80337E50 00334DB0 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80337E54 00334DB4 7C 04 EC 2E */ lfsx f0, r4, r29 +/* 80337E58 00334DB8 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80337E5C 00334DBC C0 1C 00 00 */ lfs f0, 0(r28) +/* 80337E60 00334DC0 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80337E64 00334DC4 7C 03 DC 2E */ lfsx f0, r3, r27 +/* 80337E68 00334DC8 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80337E6C 00334DCC 7C 04 DC 2E */ lfsx f0, r4, r27 +/* 80337E70 00334DD0 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80337E74 00334DD4 C0 1A 00 00 */ lfs f0, 0(r26) +/* 80337E78 00334DD8 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 80337E7C 00334DDC 7C 03 CC 2E */ lfsx f0, r3, r25 +/* 80337E80 00334DE0 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80337E84 00334DE4 7C 04 CC 2E */ lfsx f0, r4, r25 +/* 80337E88 00334DE8 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 80337E8C 00334DEC BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80337E90 00334DF0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80337E94 00334DF4 7C 08 03 A6 */ mtlr r0 +/* 80337E98 00334DF8 38 21 00 60 */ addi r1, r1, 0x60 +/* 80337E9C 00334DFC 4E 80 00 20 */ blr + +.global GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId +GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId: +/* 80337EA0 00334E00 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 80337EA4 00334E04 7C 08 02 A6 */ mflr r0 +/* 80337EA8 00334E08 90 01 02 34 */ stw r0, 0x234(r1) +/* 80337EAC 00334E0C DB E1 02 20 */ stfd f31, 0x220(r1) +/* 80337EB0 00334E10 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 80337EB4 00334E14 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 80337EB8 00334E18 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 80337EBC 00334E1C DB A1 02 00 */ stfd f29, 0x200(r1) +/* 80337EC0 00334E20 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 80337EC4 00334E24 DB 81 01 F0 */ stfd f28, 0x1f0(r1) +/* 80337EC8 00334E28 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 +/* 80337ECC 00334E2C 93 E1 01 EC */ stw r31, 0x1ec(r1) +/* 80337ED0 00334E30 28 05 00 0B */ cmplwi r5, 0xb +/* 80337ED4 00334E34 7C 7F 1B 78 */ mr r31, r3 +/* 80337ED8 00334E38 41 81 05 8C */ bgt lbl_80338464 +/* 80337EDC 00334E3C 3C 60 80 3F */ lis r3, lbl_803EE338@ha +/* 80337EE0 00334E40 54 A0 10 3A */ slwi r0, r5, 2 +/* 80337EE4 00334E44 38 63 E3 38 */ addi r3, r3, lbl_803EE338@l +/* 80337EE8 00334E48 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80337EEC 00334E4C 7C 09 03 A6 */ mtctr r0 +/* 80337EF0 00334E50 4E 80 04 20 */ bctr +/* 80337EF4 00334E54 C3 A4 00 04 */ lfs f29, 4(r4) +/* 80337EF8 00334E58 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 80337EFC 00334E5C C3 84 00 00 */ lfs f28, 0(r4) +/* 80337F00 00334E60 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 80337F04 00334E64 C3 E4 00 08 */ lfs f31, 8(r4) +/* 80337F08 00334E68 C3 C4 00 14 */ lfs f30, 0x14(r4) +/* 80337F0C 00334E6C EC 5C E0 28 */ fsubs f2, f28, f28 +/* 80337F10 00334E70 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 80337F14 00334E74 EC 1F F0 28 */ fsubs f0, f31, f30 +/* 80337F18 00334E78 D0 41 01 D0 */ stfs f2, 0x1d0(r1) +/* 80337F1C 00334E7C D0 21 01 D4 */ stfs f1, 0x1d4(r1) +/* 80337F20 00334E80 D0 01 01 D8 */ stfs f0, 0x1d8(r1) +/* 80337F24 00334E84 4B FD C9 2D */ bl AsNormalized__9CVector3fCFv +/* 80337F28 00334E88 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 80337F2C 00334E8C 38 81 01 C4 */ addi r4, r1, 0x1c4 +/* 80337F30 00334E90 4B FD BE A1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80337F34 00334E94 D3 9F 00 00 */ stfs f28, 0(r31) +/* 80337F38 00334E98 D3 BF 00 04 */ stfs f29, 4(r31) +/* 80337F3C 00334E9C D3 DF 00 08 */ stfs f30, 8(r31) +/* 80337F40 00334EA0 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 80337F44 00334EA4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80337F48 00334EA8 C0 01 01 BC */ lfs f0, 0x1bc(r1) +/* 80337F4C 00334EAC D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80337F50 00334EB0 C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 80337F54 00334EB4 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80337F58 00334EB8 D3 9F 00 18 */ stfs f28, 0x18(r31) +/* 80337F5C 00334EBC D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80337F60 00334EC0 D3 FF 00 20 */ stfs f31, 0x20(r31) +/* 80337F64 00334EC4 48 00 05 70 */ b lbl_803384D4 +/* 80337F68 00334EC8 C3 84 00 14 */ lfs f28, 0x14(r4) +/* 80337F6C 00334ECC 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80337F70 00334ED0 C3 A4 00 00 */ lfs f29, 0(r4) +/* 80337F74 00334ED4 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80337F78 00334ED8 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 80337F7C 00334EDC C3 E4 00 04 */ lfs f31, 4(r4) +/* 80337F80 00334EE0 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80337F84 00334EE4 38 81 01 AC */ addi r4, r1, 0x1ac +/* 80337F88 00334EE8 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 80337F8C 00334EEC D0 41 01 AC */ stfs f2, 0x1ac(r1) +/* 80337F90 00334EF0 D0 21 01 B0 */ stfs f1, 0x1b0(r1) +/* 80337F94 00334EF4 D0 01 01 B4 */ stfs f0, 0x1b4(r1) +/* 80337F98 00334EF8 4B FD C8 B9 */ bl AsNormalized__9CVector3fCFv +/* 80337F9C 00334EFC 38 61 01 94 */ addi r3, r1, 0x194 +/* 80337FA0 00334F00 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80337FA4 00334F04 4B FD BE 2D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80337FA8 00334F08 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80337FAC 00334F0C D3 FF 00 04 */ stfs f31, 4(r31) +/* 80337FB0 00334F10 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80337FB4 00334F14 C0 01 01 94 */ lfs f0, 0x194(r1) +/* 80337FB8 00334F18 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80337FBC 00334F1C C0 01 01 98 */ lfs f0, 0x198(r1) +/* 80337FC0 00334F20 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80337FC4 00334F24 C0 01 01 9C */ lfs f0, 0x19c(r1) +/* 80337FC8 00334F28 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80337FCC 00334F2C D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 80337FD0 00334F30 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 80337FD4 00334F34 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80337FD8 00334F38 48 00 04 FC */ b lbl_803384D4 +/* 80337FDC 00334F3C C3 84 00 08 */ lfs f28, 8(r4) +/* 80337FE0 00334F40 38 61 01 7C */ addi r3, r1, 0x17c +/* 80337FE4 00334F44 C3 A4 00 04 */ lfs f29, 4(r4) +/* 80337FE8 00334F48 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80337FEC 00334F4C C3 C4 00 0C */ lfs f30, 0xc(r4) +/* 80337FF0 00334F50 C3 E4 00 00 */ lfs f31, 0(r4) +/* 80337FF4 00334F54 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 80337FF8 00334F58 38 81 01 88 */ addi r4, r1, 0x188 +/* 80337FFC 00334F5C EC 5E F8 28 */ fsubs f2, f30, f31 +/* 80338000 00334F60 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 80338004 00334F64 D0 41 01 88 */ stfs f2, 0x188(r1) +/* 80338008 00334F68 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 8033800C 00334F6C 4B FD C8 45 */ bl AsNormalized__9CVector3fCFv +/* 80338010 00334F70 38 61 01 70 */ addi r3, r1, 0x170 +/* 80338014 00334F74 38 81 01 7C */ addi r4, r1, 0x17c +/* 80338018 00334F78 4B FD BD B9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8033801C 00334F7C D3 FF 00 00 */ stfs f31, 0(r31) +/* 80338020 00334F80 D3 BF 00 04 */ stfs f29, 4(r31) +/* 80338024 00334F84 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80338028 00334F88 C0 01 01 70 */ lfs f0, 0x170(r1) +/* 8033802C 00334F8C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338030 00334F90 C0 01 01 74 */ lfs f0, 0x174(r1) +/* 80338034 00334F94 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338038 00334F98 C0 01 01 78 */ lfs f0, 0x178(r1) +/* 8033803C 00334F9C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338040 00334FA0 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338044 00334FA4 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80338048 00334FA8 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 8033804C 00334FAC 48 00 04 88 */ b lbl_803384D4 +/* 80338050 00334FB0 C3 84 00 08 */ lfs f28, 8(r4) +/* 80338054 00334FB4 38 61 01 58 */ addi r3, r1, 0x158 +/* 80338058 00334FB8 C3 A4 00 00 */ lfs f29, 0(r4) +/* 8033805C 00334FBC EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338060 00334FC0 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 80338064 00334FC4 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80338068 00334FC8 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 8033806C 00334FCC 38 81 01 64 */ addi r4, r1, 0x164 +/* 80338070 00334FD0 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 80338074 00334FD4 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 80338078 00334FD8 D0 21 01 68 */ stfs f1, 0x168(r1) +/* 8033807C 00334FDC D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 80338080 00334FE0 4B FD C7 D1 */ bl AsNormalized__9CVector3fCFv +/* 80338084 00334FE4 38 61 01 4C */ addi r3, r1, 0x14c +/* 80338088 00334FE8 38 81 01 58 */ addi r4, r1, 0x158 +/* 8033808C 00334FEC 4B FD BD 45 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80338090 00334FF0 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80338094 00334FF4 D3 FF 00 04 */ stfs f31, 4(r31) +/* 80338098 00334FF8 D3 9F 00 08 */ stfs f28, 8(r31) +/* 8033809C 00334FFC C0 01 01 4C */ lfs f0, 0x14c(r1) +/* 803380A0 00335000 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803380A4 00335004 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 803380A8 00335008 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803380AC 0033500C C0 01 01 54 */ lfs f0, 0x154(r1) +/* 803380B0 00335010 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803380B4 00335014 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803380B8 00335018 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 803380BC 0033501C D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 803380C0 00335020 48 00 04 14 */ b lbl_803384D4 +/* 803380C4 00335024 C3 84 00 04 */ lfs f28, 4(r4) +/* 803380C8 00335028 38 61 01 34 */ addi r3, r1, 0x134 +/* 803380CC 0033502C C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 803380D0 00335030 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 803380D4 00335034 C3 C4 00 14 */ lfs f30, 0x14(r4) +/* 803380D8 00335038 C3 E4 00 08 */ lfs f31, 8(r4) +/* 803380DC 0033503C EC 5D E8 28 */ fsubs f2, f29, f29 +/* 803380E0 00335040 38 81 01 40 */ addi r4, r1, 0x140 +/* 803380E4 00335044 EC 1E F8 28 */ fsubs f0, f30, f31 +/* 803380E8 00335048 D0 41 01 40 */ stfs f2, 0x140(r1) +/* 803380EC 0033504C D0 21 01 44 */ stfs f1, 0x144(r1) +/* 803380F0 00335050 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 803380F4 00335054 4B FD C7 5D */ bl AsNormalized__9CVector3fCFv +/* 803380F8 00335058 38 61 01 28 */ addi r3, r1, 0x128 +/* 803380FC 0033505C 38 81 01 34 */ addi r4, r1, 0x134 +/* 80338100 00335060 4B FD BC D1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80338104 00335064 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80338108 00335068 D3 9F 00 04 */ stfs f28, 4(r31) +/* 8033810C 0033506C D3 FF 00 08 */ stfs f31, 8(r31) +/* 80338110 00335070 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 80338114 00335074 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338118 00335078 C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 8033811C 0033507C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338120 00335080 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 80338124 00335084 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338128 00335088 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 8033812C 0033508C D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 80338130 00335090 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 80338134 00335094 48 00 03 A0 */ b lbl_803384D4 +/* 80338138 00335098 C3 84 00 08 */ lfs f28, 8(r4) +/* 8033813C 0033509C 38 61 01 10 */ addi r3, r1, 0x110 +/* 80338140 003350A0 C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 80338144 003350A4 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338148 003350A8 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 8033814C 003350AC C3 E4 00 04 */ lfs f31, 4(r4) +/* 80338150 003350B0 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80338154 003350B4 38 81 01 1C */ addi r4, r1, 0x11c +/* 80338158 003350B8 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 8033815C 003350BC D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 80338160 003350C0 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 80338164 003350C4 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80338168 003350C8 4B FD C6 E9 */ bl AsNormalized__9CVector3fCFv +/* 8033816C 003350CC 38 61 01 04 */ addi r3, r1, 0x104 +/* 80338170 003350D0 38 81 01 10 */ addi r4, r1, 0x110 +/* 80338174 003350D4 4B FD BC 5D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80338178 003350D8 D3 BF 00 00 */ stfs f29, 0(r31) +/* 8033817C 003350DC D3 FF 00 04 */ stfs f31, 4(r31) +/* 80338180 003350E0 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80338184 003350E4 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 80338188 003350E8 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8033818C 003350EC C0 01 01 08 */ lfs f0, 0x108(r1) +/* 80338190 003350F0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338194 003350F4 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80338198 003350F8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8033819C 003350FC D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803381A0 00335100 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 803381A4 00335104 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 803381A8 00335108 48 00 03 2C */ b lbl_803384D4 +/* 803381AC 0033510C C3 84 00 14 */ lfs f28, 0x14(r4) +/* 803381B0 00335110 38 61 00 EC */ addi r3, r1, 0xec +/* 803381B4 00335114 C3 A4 00 04 */ lfs f29, 4(r4) +/* 803381B8 00335118 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 803381BC 0033511C C3 C4 00 00 */ lfs f30, 0(r4) +/* 803381C0 00335120 C3 E4 00 0C */ lfs f31, 0xc(r4) +/* 803381C4 00335124 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 803381C8 00335128 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 803381CC 0033512C EC 5E F8 28 */ fsubs f2, f30, f31 +/* 803381D0 00335130 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 803381D4 00335134 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 803381D8 00335138 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 803381DC 0033513C 4B FD C6 75 */ bl AsNormalized__9CVector3fCFv +/* 803381E0 00335140 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 803381E4 00335144 38 81 00 EC */ addi r4, r1, 0xec +/* 803381E8 00335148 4B FD BB E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 803381EC 0033514C D3 FF 00 00 */ stfs f31, 0(r31) +/* 803381F0 00335150 D3 BF 00 04 */ stfs f29, 4(r31) +/* 803381F4 00335154 D3 9F 00 08 */ stfs f28, 8(r31) +/* 803381F8 00335158 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 803381FC 0033515C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338200 00335160 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 80338204 00335164 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338208 00335168 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 8033820C 0033516C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338210 00335170 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338214 00335174 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80338218 00335178 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 8033821C 0033517C 48 00 02 B8 */ b lbl_803384D4 +/* 80338220 00335180 C3 84 00 14 */ lfs f28, 0x14(r4) +/* 80338224 00335184 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80338228 00335188 C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 8033822C 0033518C EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338230 00335190 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 80338234 00335194 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80338238 00335198 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 8033823C 0033519C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80338240 003351A0 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 80338244 003351A4 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 80338248 003351A8 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 8033824C 003351AC D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 80338250 003351B0 4B FD C6 01 */ bl AsNormalized__9CVector3fCFv +/* 80338254 003351B4 38 61 00 BC */ addi r3, r1, 0xbc +/* 80338258 003351B8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8033825C 003351BC 4B FD BB 75 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80338260 003351C0 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80338264 003351C4 D3 FF 00 04 */ stfs f31, 4(r31) +/* 80338268 003351C8 D3 9F 00 08 */ stfs f28, 8(r31) +/* 8033826C 003351CC C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80338270 003351D0 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338274 003351D4 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 80338278 003351D8 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8033827C 003351DC C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80338280 003351E0 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338284 003351E4 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 80338288 003351E8 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 8033828C 003351EC D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80338290 003351F0 48 00 02 44 */ b lbl_803384D4 +/* 80338294 003351F4 C3 84 00 10 */ lfs f28, 0x10(r4) +/* 80338298 003351F8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8033829C 003351FC C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 803382A0 00335200 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 803382A4 00335204 C3 C4 00 08 */ lfs f30, 8(r4) +/* 803382A8 00335208 C3 E4 00 14 */ lfs f31, 0x14(r4) +/* 803382AC 0033520C EC 5D E8 28 */ fsubs f2, f29, f29 +/* 803382B0 00335210 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 803382B4 00335214 EC 1E F8 28 */ fsubs f0, f30, f31 +/* 803382B8 00335218 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 803382BC 0033521C D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 803382C0 00335220 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 803382C4 00335224 4B FD C5 8D */ bl AsNormalized__9CVector3fCFv +/* 803382C8 00335228 38 61 00 98 */ addi r3, r1, 0x98 +/* 803382CC 0033522C 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 803382D0 00335230 4B FD BB 01 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 803382D4 00335234 D3 BF 00 00 */ stfs f29, 0(r31) +/* 803382D8 00335238 D3 9F 00 04 */ stfs f28, 4(r31) +/* 803382DC 0033523C D3 FF 00 08 */ stfs f31, 8(r31) +/* 803382E0 00335240 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 803382E4 00335244 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803382E8 00335248 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 803382EC 0033524C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803382F0 00335250 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 803382F4 00335254 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803382F8 00335258 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803382FC 0033525C D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 80338300 00335260 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 80338304 00335264 48 00 01 D0 */ b lbl_803384D4 +/* 80338308 00335268 C3 84 00 08 */ lfs f28, 8(r4) +/* 8033830C 0033526C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80338310 00335270 C3 A4 00 10 */ lfs f29, 0x10(r4) +/* 80338314 00335274 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338318 00335278 C3 C4 00 00 */ lfs f30, 0(r4) +/* 8033831C 0033527C C3 E4 00 0C */ lfs f31, 0xc(r4) +/* 80338320 00335280 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 80338324 00335284 38 81 00 8C */ addi r4, r1, 0x8c +/* 80338328 00335288 EC 5E F8 28 */ fsubs f2, f30, f31 +/* 8033832C 0033528C D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80338330 00335290 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80338334 00335294 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80338338 00335298 4B FD C5 19 */ bl AsNormalized__9CVector3fCFv +/* 8033833C 0033529C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80338340 003352A0 38 81 00 80 */ addi r4, r1, 0x80 +/* 80338344 003352A4 4B FD BA 8D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80338348 003352A8 D3 FF 00 00 */ stfs f31, 0(r31) +/* 8033834C 003352AC D3 BF 00 04 */ stfs f29, 4(r31) +/* 80338350 003352B0 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80338354 003352B4 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80338358 003352B8 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8033835C 003352BC C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80338360 003352C0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338364 003352C4 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80338368 003352C8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8033836C 003352CC D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338370 003352D0 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80338374 003352D4 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80338378 003352D8 48 00 01 5C */ b lbl_803384D4 +/* 8033837C 003352DC C3 84 00 10 */ lfs f28, 0x10(r4) +/* 80338380 003352E0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80338384 003352E4 C3 A4 00 00 */ lfs f29, 0(r4) +/* 80338388 003352E8 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 8033838C 003352EC C3 C4 00 14 */ lfs f30, 0x14(r4) +/* 80338390 003352F0 C3 E4 00 08 */ lfs f31, 8(r4) +/* 80338394 003352F4 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80338398 003352F8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8033839C 003352FC EC 1E F8 28 */ fsubs f0, f30, f31 +/* 803383A0 00335300 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 803383A4 00335304 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 803383A8 00335308 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 803383AC 0033530C 4B FD C4 A5 */ bl AsNormalized__9CVector3fCFv +/* 803383B0 00335310 38 61 00 50 */ addi r3, r1, 0x50 +/* 803383B4 00335314 38 81 00 5C */ addi r4, r1, 0x5c +/* 803383B8 00335318 4B FD BA 19 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 803383BC 0033531C D3 BF 00 00 */ stfs f29, 0(r31) +/* 803383C0 00335320 D3 9F 00 04 */ stfs f28, 4(r31) +/* 803383C4 00335324 D3 FF 00 08 */ stfs f31, 8(r31) +/* 803383C8 00335328 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 803383CC 0033532C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803383D0 00335330 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 803383D4 00335334 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803383D8 00335338 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 803383DC 0033533C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803383E0 00335340 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803383E4 00335344 D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 803383E8 00335348 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 803383EC 0033534C 48 00 00 E8 */ b lbl_803384D4 +/* 803383F0 00335350 C3 84 00 14 */ lfs f28, 0x14(r4) +/* 803383F4 00335354 38 61 00 38 */ addi r3, r1, 0x38 +/* 803383F8 00335358 C3 A4 00 10 */ lfs f29, 0x10(r4) +/* 803383FC 0033535C EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338400 00335360 C3 C4 00 0C */ lfs f30, 0xc(r4) +/* 80338404 00335364 C3 E4 00 00 */ lfs f31, 0(r4) +/* 80338408 00335368 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 8033840C 0033536C 38 81 00 44 */ addi r4, r1, 0x44 +/* 80338410 00335370 EC 5E F8 28 */ fsubs f2, f30, f31 +/* 80338414 00335374 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80338418 00335378 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8033841C 0033537C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80338420 00335380 4B FD C4 31 */ bl AsNormalized__9CVector3fCFv +/* 80338424 00335384 38 61 00 2C */ addi r3, r1, 0x2c +/* 80338428 00335388 38 81 00 38 */ addi r4, r1, 0x38 +/* 8033842C 0033538C 4B FD B9 A5 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80338430 00335390 D3 FF 00 00 */ stfs f31, 0(r31) +/* 80338434 00335394 D3 BF 00 04 */ stfs f29, 4(r31) +/* 80338438 00335398 D3 9F 00 08 */ stfs f28, 8(r31) +/* 8033843C 0033539C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80338440 003353A0 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338444 003353A4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80338448 003353A8 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8033844C 003353AC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80338450 003353B0 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338454 003353B4 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338458 003353B8 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 8033845C 003353BC D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80338460 003353C0 48 00 00 74 */ b lbl_803384D4 +lbl_80338464: +/* 80338464 003353C4 C3 84 00 04 */ lfs f28, 4(r4) +/* 80338468 003353C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8033846C 003353CC C3 A4 00 00 */ lfs f29, 0(r4) +/* 80338470 003353D0 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 80338474 003353D4 C3 C4 00 08 */ lfs f30, 8(r4) +/* 80338478 003353D8 C3 E4 00 14 */ lfs f31, 0x14(r4) +/* 8033847C 003353DC EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80338480 003353E0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80338484 003353E4 EC 1E F8 28 */ fsubs f0, f30, f31 +/* 80338488 003353E8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8033848C 003353EC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80338490 003353F0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80338494 003353F4 4B FD C3 BD */ bl AsNormalized__9CVector3fCFv +/* 80338498 003353F8 38 61 00 08 */ addi r3, r1, 8 +/* 8033849C 003353FC 38 81 00 14 */ addi r4, r1, 0x14 +/* 803384A0 00335400 4B FD B9 31 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 803384A4 00335404 D3 BF 00 00 */ stfs f29, 0(r31) +/* 803384A8 00335408 D3 9F 00 04 */ stfs f28, 4(r31) +/* 803384AC 0033540C D3 FF 00 08 */ stfs f31, 8(r31) +/* 803384B0 00335410 C0 01 00 08 */ lfs f0, 8(r1) +/* 803384B4 00335414 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803384B8 00335418 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803384BC 0033541C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803384C0 00335420 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803384C4 00335424 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803384C8 00335428 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803384CC 0033542C D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 803384D0 00335430 D3 DF 00 20 */ stfs f30, 0x20(r31) +lbl_803384D4: +/* 803384D4 00335434 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 803384D8 00335438 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 803384DC 0033543C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 803384E0 00335440 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 803384E4 00335444 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 803384E8 00335448 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 803384EC 0033544C E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 +/* 803384F0 00335450 CB 81 01 F0 */ lfd f28, 0x1f0(r1) +/* 803384F4 00335454 80 01 02 34 */ lwz r0, 0x234(r1) +/* 803384F8 00335458 83 E1 01 EC */ lwz r31, 0x1ec(r1) +/* 803384FC 0033545C 7C 08 03 A6 */ mtlr r0 +/* 80338500 00335460 38 21 02 30 */ addi r1, r1, 0x230 +/* 80338504 00335464 4E 80 00 20 */ blr + +.global __ct__6CAABoxFRC9CVector3fRC9CVector3f +__ct__6CAABoxFRC9CVector3fRC9CVector3f: +/* 80338508 00335468 C0 04 00 00 */ lfs f0, 0(r4) +/* 8033850C 0033546C D0 03 00 00 */ stfs f0, 0(r3) +/* 80338510 00335470 C0 04 00 04 */ lfs f0, 4(r4) +/* 80338514 00335474 D0 03 00 04 */ stfs f0, 4(r3) +/* 80338518 00335478 C0 04 00 08 */ lfs f0, 8(r4) +/* 8033851C 0033547C D0 03 00 08 */ stfs f0, 8(r3) +/* 80338520 00335480 C0 05 00 00 */ lfs f0, 0(r5) +/* 80338524 00335484 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80338528 00335488 C0 05 00 04 */ lfs f0, 4(r5) +/* 8033852C 0033548C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80338530 00335490 C0 05 00 08 */ lfs f0, 8(r5) +/* 80338534 00335494 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80338538 00335498 4E 80 00 20 */ blr + +.global __ct__6CAABoxFR12CInputStream +__ct__6CAABoxFR12CInputStream: +/* 8033853C 0033549C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338540 003354A0 7C 08 02 A6 */ mflr r0 +/* 80338544 003354A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80338548 003354A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033854C 003354AC 7C 9F 23 78 */ mr r31, r4 +/* 80338550 003354B0 93 C1 00 08 */ stw r30, 8(r1) +/* 80338554 003354B4 7C 7E 1B 78 */ mr r30, r3 +/* 80338558 003354B8 4B FD C6 35 */ bl __ct__9CVector3fFR12CInputStream +/* 8033855C 003354BC 7F E4 FB 78 */ mr r4, r31 +/* 80338560 003354C0 38 7E 00 0C */ addi r3, r30, 0xc +/* 80338564 003354C4 4B FD C6 29 */ bl __ct__9CVector3fFR12CInputStream +/* 80338568 003354C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033856C 003354CC 7F C3 F3 78 */ mr r3, r30 +/* 80338570 003354D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80338574 003354D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80338578 003354D8 7C 08 03 A6 */ mtlr r0 +/* 8033857C 003354DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338580 003354E0 4E 80 00 20 */ blr + +.global __sinit_CAABox_cpp +__sinit_CAABox_cpp: +/* 80338584 003354E4 C0 42 CB 94 */ lfs f2, lbl_805AE8B4@sda21(r2) +/* 80338588 003354E8 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 8033858C 003354EC C0 02 CB 88 */ lfs f0, lbl_805AE8A8@sda21(r2) +/* 80338590 003354F0 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 80338594 003354F4 D4 44 67 54 */ stfsu f2, lbl_805A6754@l(r4) +/* 80338598 003354F8 C0 22 CB 98 */ lfs f1, lbl_805AE8B8@sda21(r2) +/* 8033859C 003354FC D4 03 67 84 */ stfsu f0, lbl_805A6784@l(r3) +/* 803385A0 00335500 D0 44 00 04 */ stfs f2, 4(r4) +/* 803385A4 00335504 D0 44 00 08 */ stfs f2, 8(r4) +/* 803385A8 00335508 D0 24 00 0C */ stfs f1, 0xc(r4) +/* 803385AC 0033550C D0 24 00 10 */ stfs f1, 0x10(r4) +/* 803385B0 00335510 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 803385B4 00335514 D0 03 00 04 */ stfs f0, 4(r3) +/* 803385B8 00335518 D0 03 00 08 */ stfs f0, 8(r3) +/* 803385BC 0033551C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 803385C0 00335520 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803385C4 00335524 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803385C8 00335528 4E 80 00 20 */ blr + +.global FourCCToTypeIdx__11CFactoryMgrFUi +FourCCToTypeIdx__11CFactoryMgrFUi: +/* 803385CC 0033552C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803385D0 00335530 90 61 00 08 */ stw r3, 8(r1) +/* 803385D4 00335534 88 01 00 08 */ lbz r0, 8(r1) +/* 803385D8 00335538 7C 00 07 74 */ extsb r0, r0 +/* 803385DC 0033553C 2C 00 FF FF */ cmpwi r0, -1 +/* 803385E0 00335540 40 82 00 0C */ bne lbl_803385EC +/* 803385E4 00335544 38 00 FF FF */ li r0, -1 +/* 803385E8 00335548 48 00 00 14 */ b lbl_803385FC +lbl_803385EC: +/* 803385EC 0033554C 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 803385F0 00335550 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 803385F4 00335554 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 803385F8 00335558 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_803385FC: +/* 803385FC 0033555C 88 81 00 09 */ lbz r4, 9(r1) +/* 80338600 00335560 98 01 00 08 */ stb r0, 8(r1) +/* 80338604 00335564 7C 84 07 74 */ extsb r4, r4 +/* 80338608 00335568 2C 04 FF FF */ cmpwi r4, -1 +/* 8033860C 0033556C 40 82 00 0C */ bne lbl_80338618 +/* 80338610 00335570 38 00 FF FF */ li r0, -1 +/* 80338614 00335574 48 00 00 14 */ b lbl_80338628 +lbl_80338618: +/* 80338618 00335578 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 8033861C 0033557C 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80338620 00335580 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 80338624 00335584 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_80338628: +/* 80338628 00335588 88 81 00 0A */ lbz r4, 0xa(r1) +/* 8033862C 0033558C 98 01 00 09 */ stb r0, 9(r1) +/* 80338630 00335590 7C 84 07 74 */ extsb r4, r4 +/* 80338634 00335594 2C 04 FF FF */ cmpwi r4, -1 +/* 80338638 00335598 40 82 00 0C */ bne lbl_80338644 +/* 8033863C 0033559C 38 00 FF FF */ li r0, -1 +/* 80338640 003355A0 48 00 00 14 */ b lbl_80338654 +lbl_80338644: +/* 80338644 003355A4 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 80338648 003355A8 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8033864C 003355AC 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 80338650 003355B0 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_80338654: +/* 80338654 003355B4 88 81 00 0B */ lbz r4, 0xb(r1) +/* 80338658 003355B8 98 01 00 0A */ stb r0, 0xa(r1) +/* 8033865C 003355BC 7C 84 07 74 */ extsb r4, r4 +/* 80338660 003355C0 2C 04 FF FF */ cmpwi r4, -1 +/* 80338664 003355C4 40 82 00 0C */ bne lbl_80338670 +/* 80338668 003355C8 38 00 FF FF */ li r0, -1 +/* 8033866C 003355CC 48 00 00 14 */ b lbl_80338680 +lbl_80338670: +/* 80338670 003355D0 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 80338674 003355D4 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80338678 003355D8 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 8033867C 003355DC 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_80338680: +/* 80338680 003355E0 98 01 00 0B */ stb r0, 0xb(r1) +/* 80338684 003355E4 3C 60 80 3D */ lis r3, lbl_803D7988@ha +/* 80338688 003355E8 38 00 00 13 */ li r0, 0x13 +/* 8033868C 003355EC 38 83 79 88 */ addi r4, r3, lbl_803D7988@l +/* 80338690 003355F0 80 A1 00 08 */ lwz r5, 8(r1) +/* 80338694 003355F4 38 60 00 00 */ li r3, 0 +/* 80338698 003355F8 7C 09 03 A6 */ mtctr r0 +lbl_8033869C: +/* 8033869C 003355FC 80 04 00 00 */ lwz r0, 0(r4) +/* 803386A0 00335600 7C 05 00 40 */ cmplw r5, r0 +/* 803386A4 00335604 40 82 00 08 */ bne lbl_803386AC +/* 803386A8 00335608 48 00 00 28 */ b lbl_803386D0 +lbl_803386AC: +/* 803386AC 0033560C 84 04 00 04 */ lwzu r0, 4(r4) +/* 803386B0 00335610 38 63 00 01 */ addi r3, r3, 1 +/* 803386B4 00335614 7C 05 00 40 */ cmplw r5, r0 +/* 803386B8 00335618 40 82 00 08 */ bne lbl_803386C0 +/* 803386BC 0033561C 48 00 00 14 */ b lbl_803386D0 +lbl_803386C0: +/* 803386C0 00335620 38 84 00 04 */ addi r4, r4, 4 +/* 803386C4 00335624 38 63 00 01 */ addi r3, r3, 1 +/* 803386C8 00335628 42 00 FF D4 */ bdnz lbl_8033869C +/* 803386CC 0033562C 38 60 FF FF */ li r3, -1 +lbl_803386D0: +/* 803386D0 00335630 38 21 00 10 */ addi r1, r1, 0x10 +/* 803386D4 00335634 4E 80 00 20 */ blr + +.global TypeIdxToFourCC__11CFactoryMgrFUi +TypeIdxToFourCC__11CFactoryMgrFUi: +/* 803386D8 00335638 3C 80 80 3D */ lis r4, lbl_803D7988@ha +/* 803386DC 0033563C 54 60 10 3A */ slwi r0, r3, 2 +/* 803386E0 00335640 38 64 79 88 */ addi r3, r4, lbl_803D7988@l +/* 803386E4 00335644 7C 63 00 2E */ lwzx r3, r3, r0 +/* 803386E8 00335648 4E 80 00 20 */ blr + +.global MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer +MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer: +/* 803386EC 0033564C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 803386F0 00335650 7C 08 02 A6 */ mflr r0 +/* 803386F4 00335654 90 01 01 14 */ stw r0, 0x114(r1) +/* 803386F8 00335658 BF 21 00 F4 */ stmw r25, 0xf4(r1) +/* 803386FC 0033565C 7C BE 2B 78 */ mr r30, r5 +/* 80338700 00335660 7C DA 33 78 */ mr r26, r6 +/* 80338704 00335664 7C 7D 1B 78 */ mr r29, r3 +/* 80338708 00335668 7C FB 3B 78 */ mr r27, r7 +/* 8033870C 0033566C 7D 3F 4B 78 */ mr r31, r9 +/* 80338710 00335670 38 C0 00 00 */ li r6, 0 +/* 80338714 00335674 81 44 00 24 */ lwz r10, 0x24(r4) +/* 80338718 00335678 80 A5 00 00 */ lwz r5, 0(r5) +/* 8033871C 0033567C 48 00 00 20 */ b lbl_8033873C +lbl_80338720: +/* 80338720 00335680 80 0A 00 10 */ lwz r0, 0x10(r10) +/* 80338724 00335684 7C 00 28 00 */ cmpw r0, r5 +/* 80338728 00335688 41 80 00 10 */ blt lbl_80338738 +/* 8033872C 0033568C 7D 46 53 78 */ mr r6, r10 +/* 80338730 00335690 81 4A 00 00 */ lwz r10, 0(r10) +/* 80338734 00335694 48 00 00 08 */ b lbl_8033873C +lbl_80338738: +/* 80338738 00335698 81 4A 00 04 */ lwz r10, 4(r10) +lbl_8033873C: +/* 8033873C 0033569C 28 0A 00 00 */ cmplwi r10, 0 +/* 80338740 003356A0 40 82 FF E0 */ bne lbl_80338720 +/* 80338744 003356A4 28 06 00 00 */ cmplwi r6, 0 +/* 80338748 003356A8 38 60 00 00 */ li r3, 0 +/* 8033874C 003356AC 41 82 00 10 */ beq lbl_8033875C +/* 80338750 003356B0 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80338754 003356B4 7C 05 00 00 */ cmpw r5, r0 +/* 80338758 003356B8 40 80 00 08 */ bge lbl_80338760 +lbl_8033875C: +/* 8033875C 003356BC 38 60 00 01 */ li r3, 1 +lbl_80338760: +/* 80338760 003356C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338764 003356C4 41 82 00 08 */ beq lbl_8033876C +/* 80338768 003356C8 38 C0 00 00 */ li r6, 0 +lbl_8033876C: +/* 8033876C 003356CC 38 00 00 00 */ li r0, 0 +/* 80338770 003356D0 38 64 00 1C */ addi r3, r4, 0x1c +/* 80338774 003356D4 7C 06 00 40 */ cmplw r6, r0 +/* 80338778 003356D8 90 C1 00 40 */ stw r6, 0x40(r1) +/* 8033877C 003356DC 90 61 00 44 */ stw r3, 0x44(r1) +/* 80338780 003356E0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80338784 003356E4 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80338788 003356E8 40 82 00 0C */ bne lbl_80338794 +/* 8033878C 003356EC 7C 03 18 40 */ cmplw r3, r3 +/* 80338790 003356F0 41 82 00 08 */ beq lbl_80338798 +lbl_80338794: +/* 80338794 003356F4 38 00 00 01 */ li r0, 1 +lbl_80338798: +/* 80338798 003356F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033879C 003356FC 41 82 02 08 */ beq lbl_803389A4 +/* 803387A0 00335700 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 803387A4 00335704 83 86 00 14 */ lwz r28, 0x14(r6) +/* 803387A8 00335708 41 82 01 7C */ beq lbl_80338924 +/* 803387AC 0033570C 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803387B0 00335710 38 60 00 24 */ li r3, 0x24 +/* 803387B4 00335714 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 803387B8 00335718 38 A0 00 00 */ li r5, 0 +/* 803387BC 0033571C 4B FD D0 B1 */ bl __nw__FUlPCcPCc +/* 803387C0 00335720 7C 64 1B 79 */ or. r4, r3, r3 +/* 803387C4 00335724 41 82 00 18 */ beq lbl_803387DC +/* 803387C8 00335728 7F 44 D3 78 */ mr r4, r26 +/* 803387CC 0033572C 7F 65 DB 78 */ mr r5, r27 +/* 803387D0 00335730 38 C0 00 00 */ li r6, 0 +/* 803387D4 00335734 48 00 6A 39 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 803387D8 00335738 7C 64 1B 78 */ mr r4, r3 +lbl_803387DC: +/* 803387DC 0033573C 7C 04 00 D0 */ neg r0, r4 +/* 803387E0 00335740 90 81 00 5C */ stw r4, 0x5c(r1) +/* 803387E4 00335744 7C 00 23 78 */ or r0, r0, r4 +/* 803387E8 00335748 7C 83 23 78 */ mr r3, r4 +/* 803387EC 0033574C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803387F0 00335750 98 01 00 58 */ stb r0, 0x58(r1) +/* 803387F4 00335754 48 00 64 91 */ bl ReadLong__12CInputStreamFv +/* 803387F8 00335758 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803387FC 0033575C 7C 7A 1B 78 */ mr r26, r3 +/* 80338800 00335760 38 A0 00 00 */ li r5, 0 +/* 80338804 00335764 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80338808 00335768 4B FD D0 11 */ bl __nwa__FUlPCcPCc +/* 8033880C 0033576C 7C 03 00 D0 */ neg r0, r3 +/* 80338810 00335770 88 C1 00 58 */ lbz r6, 0x58(r1) +/* 80338814 00335774 7C 00 1B 78 */ or r0, r0, r3 +/* 80338818 00335778 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 8033881C 0033577C 54 07 0F FE */ srwi r7, r0, 0x1f +/* 80338820 00335780 38 00 00 00 */ li r0, 0 +/* 80338824 00335784 90 61 00 54 */ stw r3, 0x54(r1) +/* 80338828 00335788 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8033882C 0033578C 38 81 00 30 */ addi r4, r1, 0x30 +/* 80338830 00335790 98 E1 00 50 */ stb r7, 0x50(r1) +/* 80338834 00335794 98 C1 00 30 */ stb r6, 0x30(r1) +/* 80338838 00335798 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8033883C 0033579C 98 01 00 58 */ stb r0, 0x58(r1) +/* 80338840 003357A0 48 00 70 C1 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 80338844 003357A4 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80338848 003357A8 28 00 00 00 */ cmplwi r0, 0 +/* 8033884C 003357AC 41 82 00 24 */ beq lbl_80338870 +/* 80338850 003357B0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80338854 003357B4 28 03 00 00 */ cmplwi r3, 0 +/* 80338858 003357B8 41 82 00 18 */ beq lbl_80338870 +/* 8033885C 003357BC 81 83 00 00 */ lwz r12, 0(r3) +/* 80338860 003357C0 38 80 00 01 */ li r4, 1 +/* 80338864 003357C4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338868 003357C8 7D 89 03 A6 */ mtctr r12 +/* 8033886C 003357CC 4E 80 04 21 */ bctrl +lbl_80338870: +/* 80338870 003357D0 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80338874 003357D4 7F 45 D3 78 */ mr r5, r26 +/* 80338878 003357D8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8033887C 003357DC 48 00 66 D9 */ bl Get__12CInputStreamFPvUl +/* 80338880 003357E0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80338884 003357E4 38 80 FF FF */ li r4, -1 +/* 80338888 003357E8 48 00 6F B9 */ bl __dt__15CZipInputStreamFv +/* 8033888C 003357EC 7F 8C E3 78 */ mr r12, r28 +/* 80338890 003357F0 7F C4 F3 78 */ mr r4, r30 +/* 80338894 003357F4 7F 46 D3 78 */ mr r6, r26 +/* 80338898 003357F8 7F E7 FB 78 */ mr r7, r31 +/* 8033889C 003357FC 38 61 00 28 */ addi r3, r1, 0x28 +/* 803388A0 00335800 38 A1 00 50 */ addi r5, r1, 0x50 +/* 803388A4 00335804 7D 89 03 A6 */ mtctr r12 +/* 803388A8 00335808 4E 80 04 21 */ bctrl +/* 803388AC 0033580C 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803388B0 00335810 38 00 00 00 */ li r0, 0 +/* 803388B4 00335814 98 7D 00 00 */ stb r3, 0(r29) +/* 803388B8 00335818 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 803388BC 0033581C 90 7D 00 04 */ stw r3, 4(r29) +/* 803388C0 00335820 98 01 00 28 */ stb r0, 0x28(r1) +/* 803388C4 00335824 48 00 00 1C */ b lbl_803388E0 +/* 803388C8 00335828 41 82 00 18 */ beq lbl_803388E0 +/* 803388CC 0033582C 81 83 00 00 */ lwz r12, 0(r3) +/* 803388D0 00335830 38 80 00 01 */ li r4, 1 +/* 803388D4 00335834 81 8C 00 08 */ lwz r12, 8(r12) +/* 803388D8 00335838 7D 89 03 A6 */ mtctr r12 +/* 803388DC 0033583C 4E 80 04 21 */ bctrl +lbl_803388E0: +/* 803388E0 00335840 88 01 00 50 */ lbz r0, 0x50(r1) +/* 803388E4 00335844 28 00 00 00 */ cmplwi r0, 0 +/* 803388E8 00335848 41 82 00 0C */ beq lbl_803388F4 +/* 803388EC 0033584C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 803388F0 00335850 4B FD D0 41 */ bl Free__7CMemoryFPCv +lbl_803388F4: +/* 803388F4 00335854 88 01 00 58 */ lbz r0, 0x58(r1) +/* 803388F8 00335858 28 00 00 00 */ cmplwi r0, 0 +/* 803388FC 0033585C 41 82 02 70 */ beq lbl_80338B6C +/* 80338900 00335860 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80338904 00335864 28 03 00 00 */ cmplwi r3, 0 +/* 80338908 00335868 41 82 02 64 */ beq lbl_80338B6C +/* 8033890C 0033586C 81 83 00 00 */ lwz r12, 0(r3) +/* 80338910 00335870 38 80 00 01 */ li r4, 1 +/* 80338914 00335874 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338918 00335878 7D 89 03 A6 */ mtctr r12 +/* 8033891C 0033587C 4E 80 04 21 */ bctrl +/* 80338920 00335880 48 00 02 4C */ b lbl_80338B6C +lbl_80338924: +/* 80338924 00335884 7C 1A 00 D0 */ neg r0, r26 +/* 80338928 00335888 7F 8C E3 78 */ mr r12, r28 +/* 8033892C 0033588C 7C 00 D3 78 */ or r0, r0, r26 +/* 80338930 00335890 7F C4 F3 78 */ mr r4, r30 +/* 80338934 00335894 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80338938 00335898 7F 66 DB 78 */ mr r6, r27 +/* 8033893C 0033589C 7F E7 FB 78 */ mr r7, r31 +/* 80338940 003358A0 98 01 00 48 */ stb r0, 0x48(r1) +/* 80338944 003358A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80338948 003358A8 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8033894C 003358AC 93 41 00 4C */ stw r26, 0x4c(r1) +/* 80338950 003358B0 7D 89 03 A6 */ mtctr r12 +/* 80338954 003358B4 4E 80 04 21 */ bctrl +/* 80338958 003358B8 88 61 00 20 */ lbz r3, 0x20(r1) +/* 8033895C 003358BC 38 00 00 00 */ li r0, 0 +/* 80338960 003358C0 98 7D 00 00 */ stb r3, 0(r29) +/* 80338964 003358C4 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80338968 003358C8 90 7D 00 04 */ stw r3, 4(r29) +/* 8033896C 003358CC 98 01 00 20 */ stb r0, 0x20(r1) +/* 80338970 003358D0 48 00 00 1C */ b lbl_8033898C +/* 80338974 003358D4 41 82 00 18 */ beq lbl_8033898C +/* 80338978 003358D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033897C 003358DC 38 80 00 01 */ li r4, 1 +/* 80338980 003358E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338984 003358E4 7D 89 03 A6 */ mtctr r12 +/* 80338988 003358E8 4E 80 04 21 */ bctrl +lbl_8033898C: +/* 8033898C 003358EC 88 01 00 48 */ lbz r0, 0x48(r1) +/* 80338990 003358F0 28 00 00 00 */ cmplwi r0, 0 +/* 80338994 003358F4 41 82 01 D8 */ beq lbl_80338B6C +/* 80338998 003358F8 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8033899C 003358FC 4B FD CF 95 */ bl Free__7CMemoryFPCv +/* 803389A0 00335900 48 00 01 CC */ b lbl_80338B6C +lbl_803389A4: +/* 803389A4 00335904 80 BE 00 00 */ lwz r5, 0(r30) +/* 803389A8 00335908 38 C0 00 00 */ li r6, 0 +/* 803389AC 0033590C 80 64 00 10 */ lwz r3, 0x10(r4) +/* 803389B0 00335910 48 00 00 20 */ b lbl_803389D0 +lbl_803389B4: +/* 803389B4 00335914 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803389B8 00335918 7C 00 28 00 */ cmpw r0, r5 +/* 803389BC 0033591C 41 80 00 10 */ blt lbl_803389CC +/* 803389C0 00335920 7C 66 1B 78 */ mr r6, r3 +/* 803389C4 00335924 80 63 00 00 */ lwz r3, 0(r3) +/* 803389C8 00335928 48 00 00 08 */ b lbl_803389D0 +lbl_803389CC: +/* 803389CC 0033592C 80 63 00 04 */ lwz r3, 4(r3) +lbl_803389D0: +/* 803389D0 00335930 28 03 00 00 */ cmplwi r3, 0 +/* 803389D4 00335934 40 82 FF E0 */ bne lbl_803389B4 +/* 803389D8 00335938 28 06 00 00 */ cmplwi r6, 0 +/* 803389DC 0033593C 38 60 00 00 */ li r3, 0 +/* 803389E0 00335940 41 82 00 10 */ beq lbl_803389F0 +/* 803389E4 00335944 80 06 00 10 */ lwz r0, 0x10(r6) +/* 803389E8 00335948 7C 05 00 00 */ cmpw r5, r0 +/* 803389EC 0033594C 40 80 00 08 */ bge lbl_803389F4 +lbl_803389F0: +/* 803389F0 00335950 38 60 00 01 */ li r3, 1 +lbl_803389F4: +/* 803389F4 00335954 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803389F8 00335958 41 82 00 08 */ beq lbl_80338A00 +/* 803389FC 0033595C 38 C0 00 00 */ li r6, 0 +lbl_80338A00: +/* 80338A00 00335960 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 80338A04 00335964 83 26 00 14 */ lwz r25, 0x14(r6) +/* 80338A08 00335968 41 82 00 E8 */ beq lbl_80338AF0 +/* 80338A0C 0033596C 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80338A10 00335970 38 60 00 24 */ li r3, 0x24 +/* 80338A14 00335974 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80338A18 00335978 38 A0 00 00 */ li r5, 0 +/* 80338A1C 0033597C 4B FD CE 51 */ bl __nw__FUlPCcPCc +/* 80338A20 00335980 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80338A24 00335984 41 82 00 18 */ beq lbl_80338A3C +/* 80338A28 00335988 7F 44 D3 78 */ mr r4, r26 +/* 80338A2C 0033598C 7F 65 DB 78 */ mr r5, r27 +/* 80338A30 00335990 38 C0 00 00 */ li r6, 0 +/* 80338A34 00335994 48 00 67 D9 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 80338A38 00335998 7C 7C 1B 78 */ mr r28, r3 +lbl_80338A3C: +/* 80338A3C 0033599C 7F 83 E3 78 */ mr r3, r28 +/* 80338A40 003359A0 48 00 62 45 */ bl ReadLong__12CInputStreamFv +/* 80338A44 003359A4 7C 1C 00 D0 */ neg r0, r28 +/* 80338A48 003359A8 93 81 00 1C */ stw r28, 0x1c(r1) +/* 80338A4C 003359AC 7C 00 E3 78 */ or r0, r0, r28 +/* 80338A50 003359B0 38 61 00 84 */ addi r3, r1, 0x84 +/* 80338A54 003359B4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80338A58 003359B8 38 81 00 18 */ addi r4, r1, 0x18 +/* 80338A5C 003359BC 98 01 00 18 */ stb r0, 0x18(r1) +/* 80338A60 003359C0 48 00 6E A1 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 80338A64 003359C4 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80338A68 003359C8 28 00 00 00 */ cmplwi r0, 0 +/* 80338A6C 003359CC 41 82 00 24 */ beq lbl_80338A90 +/* 80338A70 003359D0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80338A74 003359D4 28 03 00 00 */ cmplwi r3, 0 +/* 80338A78 003359D8 41 82 00 18 */ beq lbl_80338A90 +/* 80338A7C 003359DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80338A80 003359E0 38 80 00 01 */ li r4, 1 +/* 80338A84 003359E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338A88 003359E8 7D 89 03 A6 */ mtctr r12 +/* 80338A8C 003359EC 4E 80 04 21 */ bctrl +lbl_80338A90: +/* 80338A90 003359F0 7F 2C CB 78 */ mr r12, r25 +/* 80338A94 003359F4 7F C4 F3 78 */ mr r4, r30 +/* 80338A98 003359F8 7F E6 FB 78 */ mr r6, r31 +/* 80338A9C 003359FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80338AA0 00335A00 38 A1 00 84 */ addi r5, r1, 0x84 +/* 80338AA4 00335A04 7D 89 03 A6 */ mtctr r12 +/* 80338AA8 00335A08 4E 80 04 21 */ bctrl +/* 80338AAC 00335A0C 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80338AB0 00335A10 38 00 00 00 */ li r0, 0 +/* 80338AB4 00335A14 98 7D 00 00 */ stb r3, 0(r29) +/* 80338AB8 00335A18 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80338ABC 00335A1C 90 7D 00 04 */ stw r3, 4(r29) +/* 80338AC0 00335A20 98 01 00 10 */ stb r0, 0x10(r1) +/* 80338AC4 00335A24 48 00 00 1C */ b lbl_80338AE0 +/* 80338AC8 00335A28 41 82 00 18 */ beq lbl_80338AE0 +/* 80338ACC 00335A2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80338AD0 00335A30 38 80 00 01 */ li r4, 1 +/* 80338AD4 00335A34 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338AD8 00335A38 7D 89 03 A6 */ mtctr r12 +/* 80338ADC 00335A3C 4E 80 04 21 */ bctrl +lbl_80338AE0: +/* 80338AE0 00335A40 38 61 00 84 */ addi r3, r1, 0x84 +/* 80338AE4 00335A44 38 80 FF FF */ li r4, -1 +/* 80338AE8 00335A48 48 00 6D 59 */ bl __dt__15CZipInputStreamFv +/* 80338AEC 00335A4C 48 00 00 80 */ b lbl_80338B6C +lbl_80338AF0: +/* 80338AF0 00335A50 7F 44 D3 78 */ mr r4, r26 +/* 80338AF4 00335A54 7F 65 DB 78 */ mr r5, r27 +/* 80338AF8 00335A58 38 61 00 60 */ addi r3, r1, 0x60 +/* 80338AFC 00335A5C 38 C0 00 00 */ li r6, 0 +/* 80338B00 00335A60 48 00 67 0D */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 80338B04 00335A64 7F 2C CB 78 */ mr r12, r25 +/* 80338B08 00335A68 7F C4 F3 78 */ mr r4, r30 +/* 80338B0C 00335A6C 7F E6 FB 78 */ mr r6, r31 +/* 80338B10 00335A70 38 61 00 08 */ addi r3, r1, 8 +/* 80338B14 00335A74 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80338B18 00335A78 7D 89 03 A6 */ mtctr r12 +/* 80338B1C 00335A7C 4E 80 04 21 */ bctrl +/* 80338B20 00335A80 88 61 00 08 */ lbz r3, 8(r1) +/* 80338B24 00335A84 38 00 00 00 */ li r0, 0 +/* 80338B28 00335A88 98 7D 00 00 */ stb r3, 0(r29) +/* 80338B2C 00335A8C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80338B30 00335A90 90 7D 00 04 */ stw r3, 4(r29) +/* 80338B34 00335A94 98 01 00 08 */ stb r0, 8(r1) +/* 80338B38 00335A98 48 00 00 1C */ b lbl_80338B54 +/* 80338B3C 00335A9C 41 82 00 18 */ beq lbl_80338B54 +/* 80338B40 00335AA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80338B44 00335AA4 38 80 00 01 */ li r4, 1 +/* 80338B48 00335AA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338B4C 00335AAC 7D 89 03 A6 */ mtctr r12 +/* 80338B50 00335AB0 4E 80 04 21 */ bctrl +lbl_80338B54: +/* 80338B54 00335AB4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80338B58 00335AB8 38 61 00 60 */ addi r3, r1, 0x60 +/* 80338B5C 00335ABC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80338B60 00335AC0 38 80 00 00 */ li r4, 0 +/* 80338B64 00335AC4 90 01 00 60 */ stw r0, 0x60(r1) +/* 80338B68 00335AC8 48 00 65 45 */ bl __dt__12CInputStreamFv +lbl_80338B6C: +/* 80338B6C 00335ACC BB 21 00 F4 */ lmw r25, 0xf4(r1) +/* 80338B70 00335AD0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80338B74 00335AD4 7C 08 03 A6 */ mtlr r0 +/* 80338B78 00335AD8 38 21 01 10 */ addi r1, r1, 0x110 +/* 80338B7C 00335ADC 4E 80 00 20 */ blr + +.global MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer +MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80338B80 00335AE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80338B84 00335AE4 7C 08 02 A6 */ mflr r0 +/* 80338B88 00335AE8 39 20 00 00 */ li r9, 0 +/* 80338B8C 00335AEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80338B90 00335AF0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80338B94 00335AF4 7C 7F 1B 78 */ mr r31, r3 +/* 80338B98 00335AF8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80338B9C 00335AFC 81 05 00 00 */ lwz r8, 0(r5) +/* 80338BA0 00335B00 48 00 00 20 */ b lbl_80338BC0 +lbl_80338BA4: +/* 80338BA4 00335B04 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80338BA8 00335B08 7C 00 40 00 */ cmpw r0, r8 +/* 80338BAC 00335B0C 41 80 00 10 */ blt lbl_80338BBC +/* 80338BB0 00335B10 7C 89 23 78 */ mr r9, r4 +/* 80338BB4 00335B14 80 84 00 00 */ lwz r4, 0(r4) +/* 80338BB8 00335B18 48 00 00 08 */ b lbl_80338BC0 +lbl_80338BBC: +/* 80338BBC 00335B1C 80 84 00 04 */ lwz r4, 4(r4) +lbl_80338BC0: +/* 80338BC0 00335B20 28 04 00 00 */ cmplwi r4, 0 +/* 80338BC4 00335B24 40 82 FF E0 */ bne lbl_80338BA4 +/* 80338BC8 00335B28 28 09 00 00 */ cmplwi r9, 0 +/* 80338BCC 00335B2C 7C A4 2B 78 */ mr r4, r5 +/* 80338BD0 00335B30 7C C5 33 78 */ mr r5, r6 +/* 80338BD4 00335B34 7C E6 3B 78 */ mr r6, r7 +/* 80338BD8 00335B38 38 61 00 08 */ addi r3, r1, 8 +/* 80338BDC 00335B3C 38 E0 00 00 */ li r7, 0 +/* 80338BE0 00335B40 41 82 00 10 */ beq lbl_80338BF0 +/* 80338BE4 00335B44 80 09 00 10 */ lwz r0, 0x10(r9) +/* 80338BE8 00335B48 7C 08 00 00 */ cmpw r8, r0 +/* 80338BEC 00335B4C 40 80 00 08 */ bge lbl_80338BF4 +lbl_80338BF0: +/* 80338BF0 00335B50 38 E0 00 01 */ li r7, 1 +lbl_80338BF4: +/* 80338BF4 00335B54 54 E0 06 3F */ clrlwi. r0, r7, 0x18 +/* 80338BF8 00335B58 41 82 00 08 */ beq lbl_80338C00 +/* 80338BFC 00335B5C 39 20 00 00 */ li r9, 0 +lbl_80338C00: +/* 80338C00 00335B60 81 89 00 14 */ lwz r12, 0x14(r9) +/* 80338C04 00335B64 7D 89 03 A6 */ mtctr r12 +/* 80338C08 00335B68 4E 80 04 21 */ bctrl +/* 80338C0C 00335B6C 88 61 00 08 */ lbz r3, 8(r1) +/* 80338C10 00335B70 38 00 00 00 */ li r0, 0 +/* 80338C14 00335B74 98 7F 00 00 */ stb r3, 0(r31) +/* 80338C18 00335B78 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80338C1C 00335B7C 90 7F 00 04 */ stw r3, 4(r31) +/* 80338C20 00335B80 98 01 00 08 */ stb r0, 8(r1) +/* 80338C24 00335B84 48 00 00 1C */ b lbl_80338C40 +/* 80338C28 00335B88 41 82 00 18 */ beq lbl_80338C40 +/* 80338C2C 00335B8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80338C30 00335B90 38 80 00 01 */ li r4, 1 +/* 80338C34 00335B94 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338C38 00335B98 7D 89 03 A6 */ mtctr r12 +/* 80338C3C 00335B9C 4E 80 04 21 */ bctrl +lbl_80338C40: +/* 80338C40 00335BA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80338C44 00335BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80338C48 00335BA8 7C 08 03 A6 */ mtlr r0 +/* 80338C4C 00335BAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80338C50 00335BB0 4E 80 00 20 */ blr + +.global CanMakeMemory__11CFactoryMgrFRC10SObjectTag +CanMakeMemory__11CFactoryMgrFRC10SObjectTag: +/* 80338C54 00335BB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338C58 00335BB8 38 C3 00 1C */ addi r6, r3, 0x1c +/* 80338C5C 00335BBC 38 A0 00 00 */ li r5, 0 +/* 80338C60 00335BC0 80 84 00 00 */ lwz r4, 0(r4) +/* 80338C64 00335BC4 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80338C68 00335BC8 48 00 00 20 */ b lbl_80338C88 +lbl_80338C6C: +/* 80338C6C 00335BCC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80338C70 00335BD0 7C 00 20 00 */ cmpw r0, r4 +/* 80338C74 00335BD4 41 80 00 10 */ blt lbl_80338C84 +/* 80338C78 00335BD8 7C 65 1B 78 */ mr r5, r3 +/* 80338C7C 00335BDC 80 63 00 00 */ lwz r3, 0(r3) +/* 80338C80 00335BE0 48 00 00 08 */ b lbl_80338C88 +lbl_80338C84: +/* 80338C84 00335BE4 80 63 00 04 */ lwz r3, 4(r3) +lbl_80338C88: +/* 80338C88 00335BE8 28 03 00 00 */ cmplwi r3, 0 +/* 80338C8C 00335BEC 40 82 FF E0 */ bne lbl_80338C6C +/* 80338C90 00335BF0 28 05 00 00 */ cmplwi r5, 0 +/* 80338C94 00335BF4 38 60 00 00 */ li r3, 0 +/* 80338C98 00335BF8 41 82 00 10 */ beq lbl_80338CA8 +/* 80338C9C 00335BFC 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80338CA0 00335C00 7C 04 00 00 */ cmpw r4, r0 +/* 80338CA4 00335C04 40 80 00 08 */ bge lbl_80338CAC +lbl_80338CA8: +/* 80338CA8 00335C08 38 60 00 01 */ li r3, 1 +lbl_80338CAC: +/* 80338CAC 00335C0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338CB0 00335C10 41 82 00 08 */ beq lbl_80338CB8 +/* 80338CB4 00335C14 38 A0 00 00 */ li r5, 0 +lbl_80338CB8: +/* 80338CB8 00335C18 28 05 00 00 */ cmplwi r5, 0 +/* 80338CBC 00335C1C 90 A1 00 08 */ stw r5, 8(r1) +/* 80338CC0 00335C20 38 60 00 00 */ li r3, 0 +/* 80338CC4 00335C24 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80338CC8 00335C28 40 82 00 0C */ bne lbl_80338CD4 +/* 80338CCC 00335C2C 7C 06 30 40 */ cmplw r6, r6 +/* 80338CD0 00335C30 41 82 00 08 */ beq lbl_80338CD8 +lbl_80338CD4: +/* 80338CD4 00335C34 38 60 00 01 */ li r3, 1 +lbl_80338CD8: +/* 80338CD8 00335C38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338CDC 00335C3C 4E 80 00 20 */ blr + +.global "AddFactory__11CFactoryMgrFUiPFRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer_C16CFactoryFnReturn" +"AddFactory__11CFactoryMgrFUiPFRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer_C16CFactoryFnReturn": +/* 80338CE0 00335C40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80338CE4 00335C44 7C 08 02 A6 */ mflr r0 +/* 80338CE8 00335C48 7C 67 1B 78 */ mr r7, r3 +/* 80338CEC 00335C4C 38 C0 00 00 */ li r6, 0 +/* 80338CF0 00335C50 90 01 00 34 */ stw r0, 0x34(r1) +/* 80338CF4 00335C54 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80338CF8 00335C58 48 00 00 20 */ b lbl_80338D18 +lbl_80338CFC: +/* 80338CFC 00335C5C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80338D00 00335C60 7C 00 20 00 */ cmpw r0, r4 +/* 80338D04 00335C64 41 80 00 10 */ blt lbl_80338D14 +/* 80338D08 00335C68 7C 66 1B 78 */ mr r6, r3 +/* 80338D0C 00335C6C 80 63 00 00 */ lwz r3, 0(r3) +/* 80338D10 00335C70 48 00 00 08 */ b lbl_80338D18 +lbl_80338D14: +/* 80338D14 00335C74 80 63 00 04 */ lwz r3, 4(r3) +lbl_80338D18: +/* 80338D18 00335C78 28 03 00 00 */ cmplwi r3, 0 +/* 80338D1C 00335C7C 40 82 FF E0 */ bne lbl_80338CFC +/* 80338D20 00335C80 28 06 00 00 */ cmplwi r6, 0 +/* 80338D24 00335C84 38 60 00 00 */ li r3, 0 +/* 80338D28 00335C88 41 82 00 10 */ beq lbl_80338D38 +/* 80338D2C 00335C8C 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80338D30 00335C90 7C 04 00 00 */ cmpw r4, r0 +/* 80338D34 00335C94 40 80 00 08 */ bge lbl_80338D3C +lbl_80338D38: +/* 80338D38 00335C98 38 60 00 01 */ li r3, 1 +lbl_80338D3C: +/* 80338D3C 00335C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338D40 00335CA0 41 82 00 08 */ beq lbl_80338D48 +/* 80338D44 00335CA4 38 C0 00 00 */ li r6, 0 +lbl_80338D48: +/* 80338D48 00335CA8 38 00 00 00 */ li r0, 0 +/* 80338D4C 00335CAC 38 67 00 1C */ addi r3, r7, 0x1c +/* 80338D50 00335CB0 7C 06 00 40 */ cmplw r6, r0 +/* 80338D54 00335CB4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80338D58 00335CB8 90 61 00 14 */ stw r3, 0x14(r1) +/* 80338D5C 00335CBC 40 82 00 0C */ bne lbl_80338D68 +/* 80338D60 00335CC0 7C 03 18 40 */ cmplw r3, r3 +/* 80338D64 00335CC4 41 82 00 08 */ beq lbl_80338D6C +lbl_80338D68: +/* 80338D68 00335CC8 38 00 00 01 */ li r0, 1 +lbl_80338D6C: +/* 80338D6C 00335CCC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80338D70 00335CD0 40 82 00 20 */ bne lbl_80338D90 +/* 80338D74 00335CD4 90 81 00 08 */ stw r4, 8(r1) +/* 80338D78 00335CD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80338D7C 00335CDC 38 87 00 14 */ addi r4, r7, 0x14 +/* 80338D80 00335CE0 38 C1 00 08 */ addi r6, r1, 8 +/* 80338D84 00335CE4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80338D88 00335CE8 80 A7 00 24 */ lwz r5, 0x24(r7) +/* 80338D8C 00335CEC 48 00 04 E5 */ bl sub_80339270 +lbl_80338D90: +/* 80338D90 00335CF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80338D94 00335CF4 7C 08 03 A6 */ mtlr r0 +/* 80338D98 00335CF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80338D9C 00335CFC 4E 80 00 20 */ blr + +.global AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn +AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn: +/* 80338DA0 00335D00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80338DA4 00335D04 7C 08 02 A6 */ mflr r0 +/* 80338DA8 00335D08 7C 67 1B 78 */ mr r7, r3 +/* 80338DAC 00335D0C 38 C0 00 00 */ li r6, 0 +/* 80338DB0 00335D10 90 01 00 34 */ stw r0, 0x34(r1) +/* 80338DB4 00335D14 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80338DB8 00335D18 48 00 00 20 */ b lbl_80338DD8 +lbl_80338DBC: +/* 80338DBC 00335D1C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80338DC0 00335D20 7C 00 20 00 */ cmpw r0, r4 +/* 80338DC4 00335D24 41 80 00 10 */ blt lbl_80338DD4 +/* 80338DC8 00335D28 7C 66 1B 78 */ mr r6, r3 +/* 80338DCC 00335D2C 80 63 00 00 */ lwz r3, 0(r3) +/* 80338DD0 00335D30 48 00 00 08 */ b lbl_80338DD8 +lbl_80338DD4: +/* 80338DD4 00335D34 80 63 00 04 */ lwz r3, 4(r3) +lbl_80338DD8: +/* 80338DD8 00335D38 28 03 00 00 */ cmplwi r3, 0 +/* 80338DDC 00335D3C 40 82 FF E0 */ bne lbl_80338DBC +/* 80338DE0 00335D40 28 06 00 00 */ cmplwi r6, 0 +/* 80338DE4 00335D44 38 60 00 00 */ li r3, 0 +/* 80338DE8 00335D48 41 82 00 10 */ beq lbl_80338DF8 +/* 80338DEC 00335D4C 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80338DF0 00335D50 7C 04 00 00 */ cmpw r4, r0 +/* 80338DF4 00335D54 40 80 00 08 */ bge lbl_80338DFC +lbl_80338DF8: +/* 80338DF8 00335D58 38 60 00 01 */ li r3, 1 +lbl_80338DFC: +/* 80338DFC 00335D5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338E00 00335D60 41 82 00 08 */ beq lbl_80338E08 +/* 80338E04 00335D64 38 C0 00 00 */ li r6, 0 +lbl_80338E08: +/* 80338E08 00335D68 38 00 00 00 */ li r0, 0 +/* 80338E0C 00335D6C 38 67 00 08 */ addi r3, r7, 8 +/* 80338E10 00335D70 7C 06 00 40 */ cmplw r6, r0 +/* 80338E14 00335D74 90 01 00 10 */ stw r0, 0x10(r1) +/* 80338E18 00335D78 90 61 00 14 */ stw r3, 0x14(r1) +/* 80338E1C 00335D7C 40 82 00 0C */ bne lbl_80338E28 +/* 80338E20 00335D80 7C 03 18 40 */ cmplw r3, r3 +/* 80338E24 00335D84 41 82 00 08 */ beq lbl_80338E2C +lbl_80338E28: +/* 80338E28 00335D88 38 00 00 01 */ li r0, 1 +lbl_80338E2C: +/* 80338E2C 00335D8C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80338E30 00335D90 40 82 00 20 */ bne lbl_80338E50 +/* 80338E34 00335D94 90 81 00 08 */ stw r4, 8(r1) +/* 80338E38 00335D98 7C E4 3B 78 */ mr r4, r7 +/* 80338E3C 00335D9C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80338E40 00335DA0 38 C1 00 08 */ addi r6, r1, 8 +/* 80338E44 00335DA4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80338E48 00335DA8 80 A7 00 10 */ lwz r5, 0x10(r7) +/* 80338E4C 00335DAC 48 00 01 85 */ bl sub_80338fd0 +lbl_80338E50: +/* 80338E50 00335DB0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80338E54 00335DB4 7C 08 03 A6 */ mtlr r0 +/* 80338E58 00335DB8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80338E5C 00335DBC 4E 80 00 20 */ blr + +.global sub_80338e60 +sub_80338e60: +/* 80338E60 00335DC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338E64 00335DC4 7C 08 02 A6 */ mflr r0 +/* 80338E68 00335DC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80338E6C 00335DCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80338E70 00335DD0 7C 9F 23 78 */ mr r31, r4 +/* 80338E74 00335DD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80338E78 00335DD8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80338E7C 00335DDC 41 82 00 80 */ beq lbl_80338EFC +/* 80338E80 00335DE0 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80338E84 00335DE4 41 82 00 34 */ beq lbl_80338EB8 +/* 80338E88 00335DE8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80338E8C 00335DEC 41 82 00 2C */ beq lbl_80338EB8 +/* 80338E90 00335DF0 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 80338E94 00335DF4 28 04 00 00 */ cmplwi r4, 0 +/* 80338E98 00335DF8 41 82 00 0C */ beq lbl_80338EA4 +/* 80338E9C 00335DFC 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80338EA0 00335E00 48 00 03 69 */ bl sub_80339208 +lbl_80338EA4: +/* 80338EA4 00335E04 38 00 00 00 */ li r0, 0 +/* 80338EA8 00335E08 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80338EAC 00335E0C 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80338EB0 00335E10 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80338EB4 00335E14 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80338EB8: +/* 80338EB8 00335E18 28 1E 00 00 */ cmplwi r30, 0 +/* 80338EBC 00335E1C 41 82 00 30 */ beq lbl_80338EEC +/* 80338EC0 00335E20 41 82 00 2C */ beq lbl_80338EEC +/* 80338EC4 00335E24 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 80338EC8 00335E28 28 04 00 00 */ cmplwi r4, 0 +/* 80338ECC 00335E2C 41 82 00 0C */ beq lbl_80338ED8 +/* 80338ED0 00335E30 7F C3 F3 78 */ mr r3, r30 +/* 80338ED4 00335E34 48 00 00 95 */ bl sub_80338f68 +lbl_80338ED8: +/* 80338ED8 00335E38 38 00 00 00 */ li r0, 0 +/* 80338EDC 00335E3C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80338EE0 00335E40 90 1E 00 08 */ stw r0, 8(r30) +/* 80338EE4 00335E44 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80338EE8 00335E48 90 1E 00 04 */ stw r0, 4(r30) +lbl_80338EEC: +/* 80338EEC 00335E4C 7F E0 07 35 */ extsh. r0, r31 +/* 80338EF0 00335E50 40 81 00 0C */ ble lbl_80338EFC +/* 80338EF4 00335E54 7F C3 F3 78 */ mr r3, r30 +/* 80338EF8 00335E58 4B FD CA 39 */ bl Free__7CMemoryFPCv +lbl_80338EFC: +/* 80338EFC 00335E5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80338F00 00335E60 7F C3 F3 78 */ mr r3, r30 +/* 80338F04 00335E64 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80338F08 00335E68 83 C1 00 08 */ lwz r30, 8(r1) +/* 80338F0C 00335E6C 7C 08 03 A6 */ mtlr r0 +/* 80338F10 00335E70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338F14 00335E74 4E 80 00 20 */ blr + +.global __ct__11CFactoryMgrFv +__ct__11CFactoryMgrFv: +/* 80338F18 00335E78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80338F1C 00335E7C 38 A0 00 00 */ li r5, 0 +/* 80338F20 00335E80 88 81 00 0C */ lbz r4, 0xc(r1) +/* 80338F24 00335E84 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80338F28 00335E88 98 83 00 00 */ stb r4, 0(r3) +/* 80338F2C 00335E8C 88 81 00 08 */ lbz r4, 8(r1) +/* 80338F30 00335E90 98 03 00 01 */ stb r0, 1(r3) +/* 80338F34 00335E94 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80338F38 00335E98 90 A3 00 04 */ stw r5, 4(r3) +/* 80338F3C 00335E9C 90 A3 00 08 */ stw r5, 8(r3) +/* 80338F40 00335EA0 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80338F44 00335EA4 90 A3 00 10 */ stw r5, 0x10(r3) +/* 80338F48 00335EA8 98 83 00 14 */ stb r4, 0x14(r3) +/* 80338F4C 00335EAC 98 03 00 15 */ stb r0, 0x15(r3) +/* 80338F50 00335EB0 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80338F54 00335EB4 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80338F58 00335EB8 90 A3 00 20 */ stw r5, 0x20(r3) +/* 80338F5C 00335EBC 90 A3 00 24 */ stw r5, 0x24(r3) +/* 80338F60 00335EC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80338F64 00335EC4 4E 80 00 20 */ blr + +.global sub_80338f68 +sub_80338f68: +/* 80338F68 00335EC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338F6C 00335ECC 7C 08 02 A6 */ mflr r0 +/* 80338F70 00335ED0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80338F74 00335ED4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80338F78 00335ED8 7C 9F 23 78 */ mr r31, r4 +/* 80338F7C 00335EDC 93 C1 00 08 */ stw r30, 8(r1) +/* 80338F80 00335EE0 7C 7E 1B 78 */ mr r30, r3 +/* 80338F84 00335EE4 80 84 00 00 */ lwz r4, 0(r4) +/* 80338F88 00335EE8 28 04 00 00 */ cmplwi r4, 0 +/* 80338F8C 00335EEC 41 82 00 08 */ beq lbl_80338F94 +/* 80338F90 00335EF0 4B FF FF D9 */ bl sub_80338f68 +lbl_80338F94: +/* 80338F94 00335EF4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80338F98 00335EF8 28 04 00 00 */ cmplwi r4, 0 +/* 80338F9C 00335EFC 41 82 00 0C */ beq lbl_80338FA8 +/* 80338FA0 00335F00 7F C3 F3 78 */ mr r3, r30 +/* 80338FA4 00335F04 4B FF FF C5 */ bl sub_80338f68 +lbl_80338FA8: +/* 80338FA8 00335F08 28 1F 00 00 */ cmplwi r31, 0 +/* 80338FAC 00335F0C 41 82 00 0C */ beq lbl_80338FB8 +/* 80338FB0 00335F10 7F E3 FB 78 */ mr r3, r31 +/* 80338FB4 00335F14 4B FD C9 7D */ bl Free__7CMemoryFPCv +lbl_80338FB8: +/* 80338FB8 00335F18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80338FBC 00335F1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80338FC0 00335F20 83 C1 00 08 */ lwz r30, 8(r1) +/* 80338FC4 00335F24 7C 08 03 A6 */ mtlr r0 +/* 80338FC8 00335F28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338FCC 00335F2C 4E 80 00 20 */ blr + +.global sub_80338fd0 +sub_80338fd0: +/* 80338FD0 00335F30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80338FD4 00335F34 7C 08 02 A6 */ mflr r0 +/* 80338FD8 00335F38 28 05 00 00 */ cmplwi r5, 0 +/* 80338FDC 00335F3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80338FE0 00335F40 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80338FE4 00335F44 7C 7C 1B 78 */ mr r28, r3 +/* 80338FE8 00335F48 7C 9D 23 78 */ mr r29, r4 +/* 80338FEC 00335F4C 7C DE 33 78 */ mr r30, r6 +/* 80338FF0 00335F50 40 82 00 88 */ bne lbl_80339078 +/* 80338FF4 00335F54 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80338FF8 00335F58 38 60 00 18 */ li r3, 0x18 +/* 80338FFC 00335F5C 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339000 00335F60 38 A0 00 00 */ li r5, 0 +/* 80339004 00335F64 4B FD C8 15 */ bl __nwa__FUlPCcPCc +/* 80339008 00335F68 28 03 00 00 */ cmplwi r3, 0 +/* 8033900C 00335F6C 41 82 00 30 */ beq lbl_8033903C +/* 80339010 00335F70 38 00 00 00 */ li r0, 0 +/* 80339014 00335F74 34 83 00 10 */ addic. r4, r3, 0x10 +/* 80339018 00335F78 90 03 00 00 */ stw r0, 0(r3) +/* 8033901C 00335F7C 90 03 00 04 */ stw r0, 4(r3) +/* 80339020 00335F80 90 03 00 08 */ stw r0, 8(r3) +/* 80339024 00335F84 90 03 00 0C */ stw r0, 0xc(r3) +/* 80339028 00335F88 41 82 00 14 */ beq lbl_8033903C +/* 8033902C 00335F8C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339030 00335F90 90 04 00 00 */ stw r0, 0(r4) +/* 80339034 00335F94 80 1E 00 04 */ lwz r0, 4(r30) +/* 80339038 00335F98 90 04 00 04 */ stw r0, 4(r4) +lbl_8033903C: +/* 8033903C 00335F9C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 80339040 00335FA0 38 1D 00 08 */ addi r0, r29, 8 +/* 80339044 00335FA4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80339048 00335FA8 38 63 00 01 */ addi r3, r3, 1 +/* 8033904C 00335FAC 90 7D 00 04 */ stw r3, 4(r29) +/* 80339050 00335FB0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80339054 00335FB4 90 7D 00 08 */ stw r3, 8(r29) +/* 80339058 00335FB8 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8033905C 00335FBC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80339060 00335FC0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80339064 00335FC4 90 7C 00 00 */ stw r3, 0(r28) +/* 80339068 00335FC8 90 1C 00 04 */ stw r0, 4(r28) +/* 8033906C 00335FCC 88 0D 9D 43 */ lbz r0, lbl_805A8903@sda21(r13) +/* 80339070 00335FD0 98 1C 00 08 */ stb r0, 8(r28) +/* 80339074 00335FD4 48 00 01 80 */ b lbl_803391F4 +lbl_80339078: +/* 80339078 00335FD8 7C BF 2B 78 */ mr r31, r5 +/* 8033907C 00335FDC 3B 60 00 00 */ li r27, 0 +/* 80339080 00335FE0 48 00 01 40 */ b lbl_803391C0 +lbl_80339084: +/* 80339084 00335FE4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80339088 00335FE8 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8033908C 00335FEC 7C A0 22 78 */ xor r0, r5, r4 +/* 80339090 00335FF0 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80339094 00335FF4 7C 00 28 38 */ and r0, r0, r5 +/* 80339098 00335FF8 7C 00 18 50 */ subf r0, r0, r3 +/* 8033909C 00335FFC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 803390A0 00336000 40 82 00 24 */ bne lbl_803390C4 +/* 803390A4 00336004 7C 05 20 00 */ cmpw r5, r4 +/* 803390A8 00336008 41 80 00 1C */ blt lbl_803390C4 +/* 803390AC 0033600C 93 FC 00 00 */ stw r31, 0(r28) +/* 803390B0 00336010 38 1D 00 08 */ addi r0, r29, 8 +/* 803390B4 00336014 90 1C 00 04 */ stw r0, 4(r28) +/* 803390B8 00336018 88 0D 9D 44 */ lbz r0, lbl_805A8904@sda21(r13) +/* 803390BC 0033601C 98 1C 00 08 */ stb r0, 8(r28) +/* 803390C0 00336020 48 00 01 34 */ b lbl_803391F4 +lbl_803390C4: +/* 803390C4 00336024 28 00 00 00 */ cmplwi r0, 0 +/* 803390C8 00336028 41 82 00 80 */ beq lbl_80339148 +/* 803390CC 0033602C 80 1F 00 00 */ lwz r0, 0(r31) +/* 803390D0 00336030 28 00 00 00 */ cmplwi r0, 0 +/* 803390D4 00336034 40 82 00 6C */ bne lbl_80339140 +/* 803390D8 00336038 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803390DC 0033603C 38 60 00 18 */ li r3, 0x18 +/* 803390E0 00336040 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 803390E4 00336044 38 A0 00 00 */ li r5, 0 +/* 803390E8 00336048 4B FD C7 31 */ bl __nwa__FUlPCcPCc +/* 803390EC 0033604C 28 03 00 00 */ cmplwi r3, 0 +/* 803390F0 00336050 41 82 00 34 */ beq lbl_80339124 +/* 803390F4 00336054 38 80 00 00 */ li r4, 0 +/* 803390F8 00336058 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 803390FC 0033605C 90 83 00 00 */ stw r4, 0(r3) +/* 80339100 00336060 38 00 00 01 */ li r0, 1 +/* 80339104 00336064 90 83 00 04 */ stw r4, 4(r3) +/* 80339108 00336068 93 E3 00 08 */ stw r31, 8(r3) +/* 8033910C 0033606C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80339110 00336070 41 82 00 14 */ beq lbl_80339124 +/* 80339114 00336074 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339118 00336078 90 05 00 00 */ stw r0, 0(r5) +/* 8033911C 0033607C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80339120 00336080 90 05 00 04 */ stw r0, 4(r5) +lbl_80339124: +/* 80339124 00336084 90 7F 00 00 */ stw r3, 0(r31) +/* 80339128 00336088 7C 7B 1B 78 */ mr r27, r3 +/* 8033912C 0033608C 80 1D 00 08 */ lwz r0, 8(r29) +/* 80339130 00336090 7C 1F 00 40 */ cmplw r31, r0 +/* 80339134 00336094 40 82 00 8C */ bne lbl_803391C0 +/* 80339138 00336098 90 7D 00 08 */ stw r3, 8(r29) +/* 8033913C 0033609C 48 00 00 84 */ b lbl_803391C0 +lbl_80339140: +/* 80339140 003360A0 7C 1F 03 78 */ mr r31, r0 +/* 80339144 003360A4 48 00 00 7C */ b lbl_803391C0 +lbl_80339148: +/* 80339148 003360A8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033914C 003360AC 28 00 00 00 */ cmplwi r0, 0 +/* 80339150 003360B0 40 82 00 6C */ bne lbl_803391BC +/* 80339154 003360B4 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80339158 003360B8 38 60 00 18 */ li r3, 0x18 +/* 8033915C 003360BC 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339160 003360C0 38 A0 00 00 */ li r5, 0 +/* 80339164 003360C4 4B FD C6 B5 */ bl __nwa__FUlPCcPCc +/* 80339168 003360C8 28 03 00 00 */ cmplwi r3, 0 +/* 8033916C 003360CC 41 82 00 34 */ beq lbl_803391A0 +/* 80339170 003360D0 38 80 00 00 */ li r4, 0 +/* 80339174 003360D4 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80339178 003360D8 90 83 00 00 */ stw r4, 0(r3) +/* 8033917C 003360DC 38 00 00 01 */ li r0, 1 +/* 80339180 003360E0 90 83 00 04 */ stw r4, 4(r3) +/* 80339184 003360E4 93 E3 00 08 */ stw r31, 8(r3) +/* 80339188 003360E8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033918C 003360EC 41 82 00 14 */ beq lbl_803391A0 +/* 80339190 003360F0 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339194 003360F4 90 05 00 00 */ stw r0, 0(r5) +/* 80339198 003360F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033919C 003360FC 90 05 00 04 */ stw r0, 4(r5) +lbl_803391A0: +/* 803391A0 00336100 90 7F 00 04 */ stw r3, 4(r31) +/* 803391A4 00336104 7C 7B 1B 78 */ mr r27, r3 +/* 803391A8 00336108 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803391AC 0033610C 7C 1F 00 40 */ cmplw r31, r0 +/* 803391B0 00336110 40 82 00 10 */ bne lbl_803391C0 +/* 803391B4 00336114 90 7D 00 0C */ stw r3, 0xc(r29) +/* 803391B8 00336118 48 00 00 08 */ b lbl_803391C0 +lbl_803391BC: +/* 803391BC 0033611C 7C 1F 03 78 */ mr r31, r0 +lbl_803391C0: +/* 803391C0 00336120 28 1B 00 00 */ cmplwi r27, 0 +/* 803391C4 00336124 41 82 FE C0 */ beq lbl_80339084 +/* 803391C8 00336128 80 BD 00 04 */ lwz r5, 4(r29) +/* 803391CC 0033612C 7F 64 DB 78 */ mr r4, r27 +/* 803391D0 00336130 38 7D 00 08 */ addi r3, r29, 8 +/* 803391D4 00336134 38 05 00 01 */ addi r0, r5, 1 +/* 803391D8 00336138 90 1D 00 04 */ stw r0, 4(r29) +/* 803391DC 0033613C 48 00 38 BD */ bl rbtree_rebalance__4rstlFPvPv +/* 803391E0 00336140 93 7C 00 00 */ stw r27, 0(r28) +/* 803391E4 00336144 38 1D 00 08 */ addi r0, r29, 8 +/* 803391E8 00336148 90 1C 00 04 */ stw r0, 4(r28) +/* 803391EC 0033614C 88 0D 9D 45 */ lbz r0, lbl_805A8905@sda21(r13) +/* 803391F0 00336150 98 1C 00 08 */ stb r0, 8(r28) +lbl_803391F4: +/* 803391F4 00336154 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803391F8 00336158 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803391FC 0033615C 7C 08 03 A6 */ mtlr r0 +/* 80339200 00336160 38 21 00 20 */ addi r1, r1, 0x20 +/* 80339204 00336164 4E 80 00 20 */ blr + +.global sub_80339208 +sub_80339208: +/* 80339208 00336168 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033920C 0033616C 7C 08 02 A6 */ mflr r0 +/* 80339210 00336170 90 01 00 14 */ stw r0, 0x14(r1) +/* 80339214 00336174 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339218 00336178 7C 9F 23 78 */ mr r31, r4 +/* 8033921C 0033617C 93 C1 00 08 */ stw r30, 8(r1) +/* 80339220 00336180 7C 7E 1B 78 */ mr r30, r3 +/* 80339224 00336184 80 84 00 00 */ lwz r4, 0(r4) +/* 80339228 00336188 28 04 00 00 */ cmplwi r4, 0 +/* 8033922C 0033618C 41 82 00 08 */ beq lbl_80339234 +/* 80339230 00336190 4B FF FF D9 */ bl sub_80339208 +lbl_80339234: +/* 80339234 00336194 80 9F 00 04 */ lwz r4, 4(r31) +/* 80339238 00336198 28 04 00 00 */ cmplwi r4, 0 +/* 8033923C 0033619C 41 82 00 0C */ beq lbl_80339248 +/* 80339240 003361A0 7F C3 F3 78 */ mr r3, r30 +/* 80339244 003361A4 4B FF FF C5 */ bl sub_80339208 +lbl_80339248: +/* 80339248 003361A8 28 1F 00 00 */ cmplwi r31, 0 +/* 8033924C 003361AC 41 82 00 0C */ beq lbl_80339258 +/* 80339250 003361B0 7F E3 FB 78 */ mr r3, r31 +/* 80339254 003361B4 4B FD C6 DD */ bl Free__7CMemoryFPCv +lbl_80339258: +/* 80339258 003361B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033925C 003361BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80339260 003361C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80339264 003361C4 7C 08 03 A6 */ mtlr r0 +/* 80339268 003361C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033926C 003361CC 4E 80 00 20 */ blr + +.global sub_80339270 +sub_80339270: +/* 80339270 003361D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80339274 003361D4 7C 08 02 A6 */ mflr r0 +/* 80339278 003361D8 28 05 00 00 */ cmplwi r5, 0 +/* 8033927C 003361DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80339280 003361E0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80339284 003361E4 7C 7C 1B 78 */ mr r28, r3 +/* 80339288 003361E8 7C 9D 23 78 */ mr r29, r4 +/* 8033928C 003361EC 7C DE 33 78 */ mr r30, r6 +/* 80339290 003361F0 40 82 00 88 */ bne lbl_80339318 +/* 80339294 003361F4 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80339298 003361F8 38 60 00 18 */ li r3, 0x18 +/* 8033929C 003361FC 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 803392A0 00336200 38 A0 00 00 */ li r5, 0 +/* 803392A4 00336204 4B FD C5 75 */ bl __nwa__FUlPCcPCc +/* 803392A8 00336208 28 03 00 00 */ cmplwi r3, 0 +/* 803392AC 0033620C 41 82 00 30 */ beq lbl_803392DC +/* 803392B0 00336210 38 00 00 00 */ li r0, 0 +/* 803392B4 00336214 34 83 00 10 */ addic. r4, r3, 0x10 +/* 803392B8 00336218 90 03 00 00 */ stw r0, 0(r3) +/* 803392BC 0033621C 90 03 00 04 */ stw r0, 4(r3) +/* 803392C0 00336220 90 03 00 08 */ stw r0, 8(r3) +/* 803392C4 00336224 90 03 00 0C */ stw r0, 0xc(r3) +/* 803392C8 00336228 41 82 00 14 */ beq lbl_803392DC +/* 803392CC 0033622C 80 1E 00 00 */ lwz r0, 0(r30) +/* 803392D0 00336230 90 04 00 00 */ stw r0, 0(r4) +/* 803392D4 00336234 80 1E 00 04 */ lwz r0, 4(r30) +/* 803392D8 00336238 90 04 00 04 */ stw r0, 4(r4) +lbl_803392DC: +/* 803392DC 0033623C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 803392E0 00336240 38 1D 00 08 */ addi r0, r29, 8 +/* 803392E4 00336244 80 7D 00 04 */ lwz r3, 4(r29) +/* 803392E8 00336248 38 63 00 01 */ addi r3, r3, 1 +/* 803392EC 0033624C 90 7D 00 04 */ stw r3, 4(r29) +/* 803392F0 00336250 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803392F4 00336254 90 7D 00 08 */ stw r3, 8(r29) +/* 803392F8 00336258 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803392FC 0033625C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80339300 00336260 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80339304 00336264 90 7C 00 00 */ stw r3, 0(r28) +/* 80339308 00336268 90 1C 00 04 */ stw r0, 4(r28) +/* 8033930C 0033626C 88 0D 9D 40 */ lbz r0, lbl_805A8900@sda21(r13) +/* 80339310 00336270 98 1C 00 08 */ stb r0, 8(r28) +/* 80339314 00336274 48 00 01 80 */ b lbl_80339494 +lbl_80339318: +/* 80339318 00336278 7C BF 2B 78 */ mr r31, r5 +/* 8033931C 0033627C 3B 60 00 00 */ li r27, 0 +/* 80339320 00336280 48 00 01 40 */ b lbl_80339460 +lbl_80339324: +/* 80339324 00336284 80 9E 00 00 */ lwz r4, 0(r30) +/* 80339328 00336288 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8033932C 0033628C 7C A0 22 78 */ xor r0, r5, r4 +/* 80339330 00336290 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80339334 00336294 7C 00 28 38 */ and r0, r0, r5 +/* 80339338 00336298 7C 00 18 50 */ subf r0, r0, r3 +/* 8033933C 0033629C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80339340 003362A0 40 82 00 24 */ bne lbl_80339364 +/* 80339344 003362A4 7C 05 20 00 */ cmpw r5, r4 +/* 80339348 003362A8 41 80 00 1C */ blt lbl_80339364 +/* 8033934C 003362AC 93 FC 00 00 */ stw r31, 0(r28) +/* 80339350 003362B0 38 1D 00 08 */ addi r0, r29, 8 +/* 80339354 003362B4 90 1C 00 04 */ stw r0, 4(r28) +/* 80339358 003362B8 88 0D 9D 41 */ lbz r0, lbl_805A8901@sda21(r13) +/* 8033935C 003362BC 98 1C 00 08 */ stb r0, 8(r28) +/* 80339360 003362C0 48 00 01 34 */ b lbl_80339494 +lbl_80339364: +/* 80339364 003362C4 28 00 00 00 */ cmplwi r0, 0 +/* 80339368 003362C8 41 82 00 80 */ beq lbl_803393E8 +/* 8033936C 003362CC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80339370 003362D0 28 00 00 00 */ cmplwi r0, 0 +/* 80339374 003362D4 40 82 00 6C */ bne lbl_803393E0 +/* 80339378 003362D8 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 8033937C 003362DC 38 60 00 18 */ li r3, 0x18 +/* 80339380 003362E0 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339384 003362E4 38 A0 00 00 */ li r5, 0 +/* 80339388 003362E8 4B FD C4 91 */ bl __nwa__FUlPCcPCc +/* 8033938C 003362EC 28 03 00 00 */ cmplwi r3, 0 +/* 80339390 003362F0 41 82 00 34 */ beq lbl_803393C4 +/* 80339394 003362F4 38 80 00 00 */ li r4, 0 +/* 80339398 003362F8 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8033939C 003362FC 90 83 00 00 */ stw r4, 0(r3) +/* 803393A0 00336300 38 00 00 01 */ li r0, 1 +/* 803393A4 00336304 90 83 00 04 */ stw r4, 4(r3) +/* 803393A8 00336308 93 E3 00 08 */ stw r31, 8(r3) +/* 803393AC 0033630C 90 03 00 0C */ stw r0, 0xc(r3) +/* 803393B0 00336310 41 82 00 14 */ beq lbl_803393C4 +/* 803393B4 00336314 80 1E 00 00 */ lwz r0, 0(r30) +/* 803393B8 00336318 90 05 00 00 */ stw r0, 0(r5) +/* 803393BC 0033631C 80 1E 00 04 */ lwz r0, 4(r30) +/* 803393C0 00336320 90 05 00 04 */ stw r0, 4(r5) +lbl_803393C4: +/* 803393C4 00336324 90 7F 00 00 */ stw r3, 0(r31) +/* 803393C8 00336328 7C 7B 1B 78 */ mr r27, r3 +/* 803393CC 0033632C 80 1D 00 08 */ lwz r0, 8(r29) +/* 803393D0 00336330 7C 1F 00 40 */ cmplw r31, r0 +/* 803393D4 00336334 40 82 00 8C */ bne lbl_80339460 +/* 803393D8 00336338 90 7D 00 08 */ stw r3, 8(r29) +/* 803393DC 0033633C 48 00 00 84 */ b lbl_80339460 +lbl_803393E0: +/* 803393E0 00336340 7C 1F 03 78 */ mr r31, r0 +/* 803393E4 00336344 48 00 00 7C */ b lbl_80339460 +lbl_803393E8: +/* 803393E8 00336348 80 1F 00 04 */ lwz r0, 4(r31) +/* 803393EC 0033634C 28 00 00 00 */ cmplwi r0, 0 +/* 803393F0 00336350 40 82 00 6C */ bne lbl_8033945C +/* 803393F4 00336354 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803393F8 00336358 38 60 00 18 */ li r3, 0x18 +/* 803393FC 0033635C 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339400 00336360 38 A0 00 00 */ li r5, 0 +/* 80339404 00336364 4B FD C4 15 */ bl __nwa__FUlPCcPCc +/* 80339408 00336368 28 03 00 00 */ cmplwi r3, 0 +/* 8033940C 0033636C 41 82 00 34 */ beq lbl_80339440 +/* 80339410 00336370 38 80 00 00 */ li r4, 0 +/* 80339414 00336374 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80339418 00336378 90 83 00 00 */ stw r4, 0(r3) +/* 8033941C 0033637C 38 00 00 01 */ li r0, 1 +/* 80339420 00336380 90 83 00 04 */ stw r4, 4(r3) +/* 80339424 00336384 93 E3 00 08 */ stw r31, 8(r3) +/* 80339428 00336388 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033942C 0033638C 41 82 00 14 */ beq lbl_80339440 +/* 80339430 00336390 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339434 00336394 90 05 00 00 */ stw r0, 0(r5) +/* 80339438 00336398 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033943C 0033639C 90 05 00 04 */ stw r0, 4(r5) +lbl_80339440: +/* 80339440 003363A0 90 7F 00 04 */ stw r3, 4(r31) +/* 80339444 003363A4 7C 7B 1B 78 */ mr r27, r3 +/* 80339448 003363A8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8033944C 003363AC 7C 1F 00 40 */ cmplw r31, r0 +/* 80339450 003363B0 40 82 00 10 */ bne lbl_80339460 +/* 80339454 003363B4 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80339458 003363B8 48 00 00 08 */ b lbl_80339460 +lbl_8033945C: +/* 8033945C 003363BC 7C 1F 03 78 */ mr r31, r0 +lbl_80339460: +/* 80339460 003363C0 28 1B 00 00 */ cmplwi r27, 0 +/* 80339464 003363C4 41 82 FE C0 */ beq lbl_80339324 +/* 80339468 003363C8 80 BD 00 04 */ lwz r5, 4(r29) +/* 8033946C 003363CC 7F 64 DB 78 */ mr r4, r27 +/* 80339470 003363D0 38 7D 00 08 */ addi r3, r29, 8 +/* 80339474 003363D4 38 05 00 01 */ addi r0, r5, 1 +/* 80339478 003363D8 90 1D 00 04 */ stw r0, 4(r29) +/* 8033947C 003363DC 48 00 36 1D */ bl rbtree_rebalance__4rstlFPvPv +/* 80339480 003363E0 93 7C 00 00 */ stw r27, 0(r28) +/* 80339484 003363E4 38 1D 00 08 */ addi r0, r29, 8 +/* 80339488 003363E8 90 1C 00 04 */ stw r0, 4(r28) +/* 8033948C 003363EC 88 0D 9D 42 */ lbz r0, lbl_805A8902@sda21(r13) +/* 80339490 003363F0 98 1C 00 08 */ stb r0, 8(r28) +lbl_80339494: +/* 80339494 003363F4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80339498 003363F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033949C 003363FC 7C 08 03 A6 */ mtlr r0 +/* 803394A0 00336400 38 21 00 20 */ addi r1, r1, 0x20 +/* 803394A4 00336404 4E 80 00 20 */ blr + +.global sub_803394a8 +sub_803394a8: +/* 803394A8 00336408 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803394AC 0033640C 7C 08 02 A6 */ mflr r0 +/* 803394B0 00336410 90 01 00 74 */ stw r0, 0x74(r1) +/* 803394B4 00336414 BE C1 00 48 */ stmw r22, 0x48(r1) +/* 803394B8 00336418 7C 7E 1B 78 */ mr r30, r3 +/* 803394BC 0033641C 7C 9F 23 78 */ mr r31, r4 +/* 803394C0 00336420 48 04 BE E9 */ bl OSGetTime +/* 803394C4 00336424 82 FE 00 28 */ lwz r23, 0x28(r30) +/* 803394C8 00336428 7C 9B 23 78 */ mr r27, r4 +/* 803394CC 0033642C 83 1E 00 18 */ lwz r24, 0x18(r30) +/* 803394D0 00336430 7C 7C 1B 78 */ mr r28, r3 +/* 803394D4 00336434 28 17 00 00 */ cmplwi r23, 0 +/* 803394D8 00336438 83 58 00 00 */ lwz r26, 0(r24) +/* 803394DC 0033643C 40 82 01 68 */ bne lbl_80339644 +/* 803394E0 00336440 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 803394E4 00336444 38 60 00 38 */ li r3, 0x38 +/* 803394E8 00336448 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 803394EC 0033644C 38 A0 00 00 */ li r5, 0 +/* 803394F0 00336450 4B FD C3 7D */ bl __nw__FUlPCcPCc +/* 803394F4 00336454 3C 80 80 34 */ lis r4, Alloc__11CZipSupportFPvUiUi@ha +/* 803394F8 00336458 3C A0 80 34 */ lis r5, Free__11CZipSupportFPvPv@ha +/* 803394FC 0033645C 38 04 FA 18 */ addi r0, r4, Alloc__11CZipSupportFPvUiUi@l +/* 80339500 00336460 7C 77 1B 78 */ mr r23, r3 +/* 80339504 00336464 90 03 00 20 */ stw r0, 0x20(r3) +/* 80339508 00336468 38 A5 F9 EC */ addi r5, r5, Free__11CZipSupportFPvPv@l +/* 8033950C 0033646C 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 80339510 00336470 38 00 00 00 */ li r0, 0 +/* 80339514 00336474 90 A3 00 24 */ stw r5, 0x24(r3) +/* 80339518 00336478 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033951C 0033647C 38 84 00 07 */ addi r4, r4, 7 +/* 80339520 00336480 38 A0 00 38 */ li r5, 0x38 +/* 80339524 00336484 90 03 00 28 */ stw r0, 0x28(r3) +/* 80339528 00336488 48 00 A4 39 */ bl inflateInit2_ +/* 8033952C 0033648C 38 A0 00 00 */ li r5, 0 +/* 80339530 00336490 7C 17 00 D0 */ neg r0, r23 +/* 80339534 00336494 90 B7 00 08 */ stw r5, 8(r23) +/* 80339538 00336498 7C 04 BB 78 */ or r4, r0, r23 +/* 8033953C 0033649C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80339540 003364A0 38 1E 00 24 */ addi r0, r30, 0x24 +/* 80339544 003364A4 90 B7 00 14 */ stw r5, 0x14(r23) +/* 80339548 003364A8 7C 03 00 40 */ cmplw r3, r0 +/* 8033954C 003364AC 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80339550 003364B0 90 B7 00 04 */ stw r5, 4(r23) +/* 80339554 003364B4 90 B7 00 10 */ stw r5, 0x10(r23) +/* 80339558 003364B8 90 B7 00 00 */ stw r5, 0(r23) +/* 8033955C 003364BC 90 B7 00 0C */ stw r5, 0xc(r23) +/* 80339560 003364C0 98 01 00 34 */ stb r0, 0x34(r1) +/* 80339564 003364C4 92 E1 00 38 */ stw r23, 0x38(r1) +/* 80339568 003364C8 41 82 00 30 */ beq lbl_80339598 +/* 8033956C 003364CC 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80339570 003364D0 28 00 00 00 */ cmplwi r0, 0 +/* 80339574 003364D4 41 82 00 0C */ beq lbl_80339580 +/* 80339578 003364D8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8033957C 003364DC 4B FD C3 B5 */ bl Free__7CMemoryFPCv +lbl_80339580: +/* 80339580 003364E0 88 61 00 34 */ lbz r3, 0x34(r1) +/* 80339584 003364E4 38 00 00 00 */ li r0, 0 +/* 80339588 003364E8 98 7E 00 24 */ stb r3, 0x24(r30) +/* 8033958C 003364EC 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80339590 003364F0 90 7E 00 28 */ stw r3, 0x28(r30) +/* 80339594 003364F4 98 01 00 34 */ stb r0, 0x34(r1) +lbl_80339598: +/* 80339598 003364F8 88 01 00 34 */ lbz r0, 0x34(r1) +/* 8033959C 003364FC 28 00 00 00 */ cmplwi r0, 0 +/* 803395A0 00336500 41 82 00 0C */ beq lbl_803395AC +/* 803395A4 00336504 80 61 00 38 */ lwz r3, 0x38(r1) +/* 803395A8 00336508 4B FD C3 89 */ bl Free__7CMemoryFPCv +lbl_803395AC: +/* 803395AC 0033650C 3C 60 80 3D */ lis r3, lbl_803D7A28@ha +/* 803395B0 00336510 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 803395B4 00336514 38 A3 7A 28 */ addi r5, r3, lbl_803D7A28@l +/* 803395B8 00336518 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 803395BC 0033651C 38 61 00 2C */ addi r3, r1, 0x2c +/* 803395C0 00336520 38 80 FF FF */ li r4, -1 +/* 803395C4 00336524 4B F9 CE 11 */ bl __ct__10CCallStackFUiPCcPCc +/* 803395C8 00336528 7C 67 1B 78 */ mr r7, r3 +/* 803395CC 0033652C 7F 43 D3 78 */ mr r3, r26 +/* 803395D0 00336530 38 80 00 02 */ li r4, 2 +/* 803395D4 00336534 38 A0 00 01 */ li r5, 1 +/* 803395D8 00336538 38 C0 00 00 */ li r6, 0 +/* 803395DC 0033653C 4B FD C3 B9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 803395E0 00336540 7C 03 00 D0 */ neg r0, r3 +/* 803395E4 00336544 38 81 00 24 */ addi r4, r1, 0x24 +/* 803395E8 00336548 7C 05 1B 78 */ or r5, r0, r3 +/* 803395EC 0033654C 38 1E 00 1C */ addi r0, r30, 0x1c +/* 803395F0 00336550 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803395F4 00336554 90 61 00 28 */ stw r3, 0x28(r1) +/* 803395F8 00336558 7C 04 00 40 */ cmplw r4, r0 +/* 803395FC 0033655C 98 A1 00 24 */ stb r5, 0x24(r1) +/* 80339600 00336560 41 82 00 30 */ beq lbl_80339630 +/* 80339604 00336564 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 80339608 00336568 28 00 00 00 */ cmplwi r0, 0 +/* 8033960C 0033656C 41 82 00 0C */ beq lbl_80339618 +/* 80339610 00336570 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80339614 00336574 4B FD C3 1D */ bl Free__7CMemoryFPCv +lbl_80339618: +/* 80339618 00336578 88 61 00 24 */ lbz r3, 0x24(r1) +/* 8033961C 0033657C 38 00 00 00 */ li r0, 0 +/* 80339620 00336580 98 7E 00 1C */ stb r3, 0x1c(r30) +/* 80339624 00336584 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80339628 00336588 90 7E 00 20 */ stw r3, 0x20(r30) +/* 8033962C 0033658C 98 01 00 24 */ stb r0, 0x24(r1) +lbl_80339630: +/* 80339630 00336590 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80339634 00336594 28 00 00 00 */ cmplwi r0, 0 +/* 80339638 00336598 41 82 00 0C */ beq lbl_80339644 +/* 8033963C 0033659C 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80339640 003365A0 4B FD C2 F1 */ bl Free__7CMemoryFPCv +lbl_80339644: +/* 80339644 003365A4 80 9E 00 2C */ lwz r4, 0x2c(r30) +/* 80339648 003365A8 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 8033964C 003365AC 3A D8 00 04 */ addi r22, r24, 4 +/* 80339650 003365B0 3B 00 00 00 */ li r24, 0 +/* 80339654 003365B4 3B 24 FF FC */ addi r25, r4, -4 +/* 80339658 003365B8 3B A3 FD 30 */ addi r29, r3, mData__10CStopwatch@l +/* 8033965C 003365BC 48 00 00 74 */ b lbl_803396D0 +lbl_80339660: +/* 80339660 003365C0 80 17 00 04 */ lwz r0, 4(r23) +/* 80339664 003365C4 28 00 00 00 */ cmplwi r0, 0 +/* 80339668 003365C8 40 82 00 5C */ bne lbl_803396C4 +/* 8033966C 003365CC 80 97 00 08 */ lwz r4, 8(r23) +/* 80339670 003365D0 38 62 CB A0 */ addi r3, r2, lbl_805AE8C0@sda21 +/* 80339674 003365D4 80 02 CB A0 */ lwz r0, lbl_805AE8C0@sda21(r2) +/* 80339678 003365D8 7C 84 C8 50 */ subf r4, r4, r25 +/* 8033967C 003365DC 7C 04 00 00 */ cmpw r4, r0 +/* 80339680 003365E0 90 81 00 08 */ stw r4, 8(r1) +/* 80339684 003365E4 40 80 00 08 */ bge lbl_8033968C +/* 80339688 003365E8 38 61 00 08 */ addi r3, r1, 8 +lbl_8033968C: +/* 8033968C 003365EC 80 63 00 00 */ lwz r3, 0(r3) +/* 80339690 003365F0 2C 03 00 00 */ cmpwi r3, 0 +/* 80339694 003365F4 41 82 00 84 */ beq lbl_80339718 +/* 80339698 003365F8 80 17 00 08 */ lwz r0, 8(r23) +/* 8033969C 003365FC 7C 16 02 14 */ add r0, r22, r0 +/* 803396A0 00336600 90 17 00 00 */ stw r0, 0(r23) +/* 803396A4 00336604 90 77 00 04 */ stw r3, 4(r23) +/* 803396A8 00336608 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803396AC 0033660C 80 17 00 14 */ lwz r0, 0x14(r23) +/* 803396B0 00336610 7C 03 02 14 */ add r0, r3, r0 +/* 803396B4 00336614 90 17 00 0C */ stw r0, 0xc(r23) +/* 803396B8 00336618 80 17 00 14 */ lwz r0, 0x14(r23) +/* 803396BC 0033661C 7C 00 D0 50 */ subf r0, r0, r26 +/* 803396C0 00336620 90 17 00 10 */ stw r0, 0x10(r23) +lbl_803396C4: +/* 803396C4 00336624 7E E3 BB 78 */ mr r3, r23 +/* 803396C8 00336628 38 80 00 00 */ li r4, 0 +/* 803396CC 0033662C 48 00 9C 91 */ bl inflate +lbl_803396D0: +/* 803396D0 00336630 28 1F 00 00 */ cmplwi r31, 0 +/* 803396D4 00336634 41 82 00 38 */ beq lbl_8033970C +/* 803396D8 00336638 48 04 BC D1 */ bl OSGetTime +/* 803396DC 0033663C 7C 9B 20 10 */ subfc r4, r27, r4 +/* 803396E0 00336640 80 BD 00 08 */ lwz r5, 8(r29) +/* 803396E4 00336644 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 803396E8 00336648 7C 7C 19 10 */ subfe r3, r28, r3 +/* 803396EC 0033664C 48 05 04 E1 */ bl __div2i +/* 803396F0 00336650 6C 65 80 00 */ xoris r5, r3, 0x8000 +/* 803396F4 00336654 6F 03 80 00 */ xoris r3, r24, 0x8000 +/* 803396F8 00336658 7C 1F 20 10 */ subfc r0, r31, r4 +/* 803396FC 0033665C 7C 63 29 10 */ subfe r3, r3, r5 +/* 80339700 00336660 7C 65 29 10 */ subfe r3, r5, r5 +/* 80339704 00336664 7C 63 00 D1 */ neg. r3, r3 +/* 80339708 00336668 41 82 00 10 */ beq lbl_80339718 +lbl_8033970C: +/* 8033970C 0033666C 80 17 00 14 */ lwz r0, 0x14(r23) +/* 80339710 00336670 7C 1A 00 40 */ cmplw r26, r0 +/* 80339714 00336674 40 82 FF 4C */ bne lbl_80339660 +lbl_80339718: +/* 80339718 00336678 80 17 00 14 */ lwz r0, 0x14(r23) +/* 8033971C 0033667C 7C 1A 00 40 */ cmplw r26, r0 +/* 80339720 00336680 40 82 01 48 */ bne lbl_80339868 +/* 80339724 00336684 7E E3 BB 78 */ mr r3, r23 +/* 80339728 00336688 48 00 A4 19 */ bl inflateEnd +/* 8033972C 0033668C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80339730 00336690 38 1E 00 24 */ addi r0, r30, 0x24 +/* 80339734 00336694 38 80 00 00 */ li r4, 0 +/* 80339738 00336698 7C 03 00 40 */ cmplw r3, r0 +/* 8033973C 0033669C 98 81 00 1C */ stb r4, 0x1c(r1) +/* 80339740 003366A0 90 81 00 20 */ stw r4, 0x20(r1) +/* 80339744 003366A4 41 82 00 30 */ beq lbl_80339774 +/* 80339748 003366A8 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 8033974C 003366AC 28 00 00 00 */ cmplwi r0, 0 +/* 80339750 003366B0 41 82 00 0C */ beq lbl_8033975C +/* 80339754 003366B4 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80339758 003366B8 4B FD C1 D9 */ bl Free__7CMemoryFPCv +lbl_8033975C: +/* 8033975C 003366BC 88 61 00 1C */ lbz r3, 0x1c(r1) +/* 80339760 003366C0 38 00 00 00 */ li r0, 0 +/* 80339764 003366C4 98 7E 00 24 */ stb r3, 0x24(r30) +/* 80339768 003366C8 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8033976C 003366CC 90 7E 00 28 */ stw r3, 0x28(r30) +/* 80339770 003366D0 98 01 00 1C */ stb r0, 0x1c(r1) +lbl_80339774: +/* 80339774 003366D4 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 80339778 003366D8 28 00 00 00 */ cmplwi r0, 0 +/* 8033977C 003366DC 41 82 00 0C */ beq lbl_80339788 +/* 80339780 003366E0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80339784 003366E4 4B FD C1 AD */ bl Free__7CMemoryFPCv +lbl_80339788: +/* 80339788 003366E8 38 00 00 00 */ li r0, 0 +/* 8033978C 003366EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80339790 003366F0 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 80339794 003366F4 38 1E 00 14 */ addi r0, r30, 0x14 +/* 80339798 003366F8 7C 03 00 40 */ cmplw r3, r0 +/* 8033979C 003366FC 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803397A0 00336700 7C 03 00 D0 */ neg r0, r3 +/* 803397A4 00336704 90 61 00 18 */ stw r3, 0x18(r1) +/* 803397A8 00336708 7C 00 1B 78 */ or r0, r0, r3 +/* 803397AC 0033670C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803397B0 00336710 98 01 00 14 */ stb r0, 0x14(r1) +/* 803397B4 00336714 41 82 00 30 */ beq lbl_803397E4 +/* 803397B8 00336718 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 803397BC 0033671C 28 00 00 00 */ cmplwi r0, 0 +/* 803397C0 00336720 41 82 00 0C */ beq lbl_803397CC +/* 803397C4 00336724 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 803397C8 00336728 4B FD C1 69 */ bl Free__7CMemoryFPCv +lbl_803397CC: +/* 803397CC 0033672C 88 61 00 14 */ lbz r3, 0x14(r1) +/* 803397D0 00336730 38 00 00 00 */ li r0, 0 +/* 803397D4 00336734 98 7E 00 14 */ stb r3, 0x14(r30) +/* 803397D8 00336738 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803397DC 0033673C 90 7E 00 18 */ stw r3, 0x18(r30) +/* 803397E0 00336740 98 01 00 14 */ stb r0, 0x14(r1) +lbl_803397E4: +/* 803397E4 00336744 88 01 00 14 */ lbz r0, 0x14(r1) +/* 803397E8 00336748 28 00 00 00 */ cmplwi r0, 0 +/* 803397EC 0033674C 41 82 00 0C */ beq lbl_803397F8 +/* 803397F0 00336750 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803397F4 00336754 4B FD C1 3D */ bl Free__7CMemoryFPCv +lbl_803397F8: +/* 803397F8 00336758 38 61 00 0C */ addi r3, r1, 0xc +/* 803397FC 0033675C 38 1E 00 1C */ addi r0, r30, 0x1c +/* 80339800 00336760 38 80 00 00 */ li r4, 0 +/* 80339804 00336764 7C 03 00 40 */ cmplw r3, r0 +/* 80339808 00336768 98 81 00 0C */ stb r4, 0xc(r1) +/* 8033980C 0033676C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80339810 00336770 41 82 00 30 */ beq lbl_80339840 +/* 80339814 00336774 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 80339818 00336778 28 00 00 00 */ cmplwi r0, 0 +/* 8033981C 0033677C 41 82 00 0C */ beq lbl_80339828 +/* 80339820 00336780 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80339824 00336784 4B FD C1 0D */ bl Free__7CMemoryFPCv +lbl_80339828: +/* 80339828 00336788 88 61 00 0C */ lbz r3, 0xc(r1) +/* 8033982C 0033678C 38 00 00 00 */ li r0, 0 +/* 80339830 00336790 98 7E 00 1C */ stb r3, 0x1c(r30) +/* 80339834 00336794 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80339838 00336798 90 7E 00 20 */ stw r3, 0x20(r30) +/* 8033983C 0033679C 98 01 00 0C */ stb r0, 0xc(r1) +lbl_80339840: +/* 80339840 003367A0 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80339844 003367A4 28 00 00 00 */ cmplwi r0, 0 +/* 80339848 003367A8 41 82 00 0C */ beq lbl_80339854 +/* 8033984C 003367AC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80339850 003367B0 4B FD C0 E1 */ bl Free__7CMemoryFPCv +lbl_80339854: +/* 80339854 003367B4 38 00 00 00 */ li r0, 0 +/* 80339858 003367B8 38 60 00 01 */ li r3, 1 +/* 8033985C 003367BC 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80339860 003367C0 93 5E 00 2C */ stw r26, 0x2c(r30) +/* 80339864 003367C4 48 00 00 08 */ b lbl_8033986C +lbl_80339868: +/* 80339868 003367C8 38 60 00 00 */ li r3, 0 +lbl_8033986C: +/* 8033986C 003367CC BA C1 00 48 */ lmw r22, 0x48(r1) +/* 80339870 003367D0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80339874 003367D4 7C 08 03 A6 */ mtlr r0 +/* 80339878 003367D8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8033987C 003367DC 4E 80 00 20 */ blr + +.global sub_80339880 +sub_80339880: +/* 80339880 003367E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339884 003367E4 7C 08 02 A6 */ mflr r0 +/* 80339888 003367E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033988C 003367EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339890 003367F0 7C 9F 23 78 */ mr r31, r4 +/* 80339894 003367F4 93 C1 00 08 */ stw r30, 8(r1) +/* 80339898 003367F8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033989C 003367FC 41 82 00 C8 */ beq lbl_80339964 +/* 803398A0 00336800 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 803398A4 00336804 28 00 00 00 */ cmplwi r0, 0 +/* 803398A8 00336808 41 82 00 0C */ beq lbl_803398B4 +/* 803398AC 0033680C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803398B0 00336810 48 00 A2 91 */ bl inflateEnd +lbl_803398B4: +/* 803398B4 00336814 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 803398B8 00336818 41 82 00 14 */ beq lbl_803398CC +/* 803398BC 0033681C 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 803398C0 00336820 41 82 00 0C */ beq lbl_803398CC +/* 803398C4 00336824 38 7E 00 34 */ addi r3, r30, 0x34 +/* 803398C8 00336828 4B CF AA 3D */ bl sub_80034304 +lbl_803398CC: +/* 803398CC 0033682C 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 803398D0 00336830 41 82 00 18 */ beq lbl_803398E8 +/* 803398D4 00336834 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 803398D8 00336838 28 00 00 00 */ cmplwi r0, 0 +/* 803398DC 0033683C 41 82 00 0C */ beq lbl_803398E8 +/* 803398E0 00336840 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803398E4 00336844 4B FD C0 4D */ bl Free__7CMemoryFPCv +lbl_803398E8: +/* 803398E8 00336848 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 803398EC 0033684C 41 82 00 18 */ beq lbl_80339904 +/* 803398F0 00336850 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 803398F4 00336854 28 00 00 00 */ cmplwi r0, 0 +/* 803398F8 00336858 41 82 00 0C */ beq lbl_80339904 +/* 803398FC 0033685C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80339900 00336860 4B FD C0 31 */ bl Free__7CMemoryFPCv +lbl_80339904: +/* 80339904 00336864 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80339908 00336868 41 82 00 18 */ beq lbl_80339920 +/* 8033990C 0033686C 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80339910 00336870 28 00 00 00 */ cmplwi r0, 0 +/* 80339914 00336874 41 82 00 0C */ beq lbl_80339920 +/* 80339918 00336878 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8033991C 0033687C 4B FD C0 15 */ bl Free__7CMemoryFPCv +lbl_80339920: +/* 80339920 00336880 34 1E 00 08 */ addic. r0, r30, 8 +/* 80339924 00336884 41 82 00 30 */ beq lbl_80339954 +/* 80339928 00336888 88 1E 00 08 */ lbz r0, 8(r30) +/* 8033992C 0033688C 28 00 00 00 */ cmplwi r0, 0 +/* 80339930 00336890 41 82 00 24 */ beq lbl_80339954 +/* 80339934 00336894 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80339938 00336898 28 03 00 00 */ cmplwi r3, 0 +/* 8033993C 0033689C 41 82 00 18 */ beq lbl_80339954 +/* 80339940 003368A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80339944 003368A4 38 80 00 01 */ li r4, 1 +/* 80339948 003368A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033994C 003368AC 7D 89 03 A6 */ mtctr r12 +/* 80339950 003368B0 4E 80 04 21 */ bctrl +lbl_80339954: +/* 80339954 003368B4 7F E0 07 35 */ extsh. r0, r31 +/* 80339958 003368B8 40 81 00 0C */ ble lbl_80339964 +/* 8033995C 003368BC 7F C3 F3 78 */ mr r3, r30 +/* 80339960 003368C0 4B FD BF D1 */ bl Free__7CMemoryFPCv +lbl_80339964: +/* 80339964 003368C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80339968 003368C8 7F C3 F3 78 */ mr r3, r30 +/* 8033996C 003368CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80339970 003368D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80339974 003368D4 7C 08 03 A6 */ mtlr r0 +/* 80339978 003368D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033997C 003368DC 4E 80 00 20 */ blr + +.global sub_80339980 +sub_80339980: +/* 80339980 003368E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339984 003368E4 7D 65 00 D0 */ neg r11, r5 +/* 80339988 003368E8 7C 07 00 D0 */ neg r0, r7 +/* 8033998C 003368EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339990 003368F0 81 84 00 00 */ lwz r12, 0(r4) +/* 80339994 003368F4 91 83 00 00 */ stw r12, 0(r3) +/* 80339998 003368F8 7D 6C 2B 78 */ or r12, r11, r5 +/* 8033999C 003368FC 7C 0B 3B 78 */ or r11, r0, r7 +/* 803399A0 00336900 38 00 00 00 */ li r0, 0 +/* 803399A4 00336904 83 E4 00 04 */ lwz r31, 4(r4) +/* 803399A8 00336908 55 8C 0F FE */ srwi r12, r12, 0x1f +/* 803399AC 0033690C 55 64 0F FE */ srwi r4, r11, 0x1f +/* 803399B0 00336910 93 E3 00 04 */ stw r31, 4(r3) +/* 803399B4 00336914 99 83 00 08 */ stb r12, 8(r3) +/* 803399B8 00336918 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803399BC 0033691C 90 C3 00 10 */ stw r6, 0x10(r3) +/* 803399C0 00336920 98 83 00 14 */ stb r4, 0x14(r3) +/* 803399C4 00336924 90 E3 00 18 */ stw r7, 0x18(r3) +/* 803399C8 00336928 98 03 00 1C */ stb r0, 0x1c(r3) +/* 803399CC 0033692C 90 03 00 20 */ stw r0, 0x20(r3) +/* 803399D0 00336930 98 03 00 24 */ stb r0, 0x24(r3) +/* 803399D4 00336934 90 03 00 28 */ stw r0, 0x28(r3) +/* 803399D8 00336938 91 03 00 2C */ stw r8, 0x2c(r3) +/* 803399DC 0033693C 91 23 00 30 */ stw r9, 0x30(r3) +/* 803399E0 00336940 80 0A 00 00 */ lwz r0, 0(r10) +/* 803399E4 00336944 90 03 00 34 */ stw r0, 0x34(r3) +/* 803399E8 00336948 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 803399EC 0033694C 80 85 00 04 */ lwz r4, 4(r5) +/* 803399F0 00336950 38 04 00 01 */ addi r0, r4, 1 +/* 803399F4 00336954 90 05 00 04 */ stw r0, 4(r5) +/* 803399F8 00336958 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803399FC 0033695C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80339A00 00336960 4E 80 00 20 */ blr + +.global PumpResource__11CResFactoryFR12SLoadingData +PumpResource__11CResFactoryFR12SLoadingData: +/* 80339A04 00336964 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80339A08 00336968 7C 08 02 A6 */ mflr r0 +/* 80339A0C 0033696C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80339A10 00336970 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80339A14 00336974 7C BF 2B 78 */ mr r31, r5 +/* 80339A18 00336978 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80339A1C 0033697C 7C 9E 23 78 */ mr r30, r4 +/* 80339A20 00336980 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80339A24 00336984 7C 7D 1B 78 */ mr r29, r3 +/* 80339A28 00336988 80 64 00 00 */ lwz r3, 0(r4) +/* 80339A2C 0033698C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80339A30 00336990 81 83 00 00 */ lwz r12, 0(r3) +/* 80339A34 00336994 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80339A38 00336998 7D 89 03 A6 */ mtctr r12 +/* 80339A3C 0033699C 4E 80 04 21 */ bctrl +/* 80339A40 003369A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339A44 003369A4 41 82 00 D4 */ beq lbl_80339B18 +/* 80339A48 003369A8 80 7E 00 00 */ lwz r3, 0(r30) +/* 80339A4C 003369AC 38 63 00 08 */ addi r3, r3, 8 +/* 80339A50 003369B0 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80339A54 003369B4 2C 00 00 01 */ cmpwi r0, 1 +/* 80339A58 003369B8 40 82 00 1C */ bne lbl_80339A74 +/* 80339A5C 003369BC 7F E4 FB 78 */ mr r4, r31 +/* 80339A60 003369C0 4B FF FA 49 */ bl sub_803394a8 +/* 80339A64 003369C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339A68 003369C8 40 82 00 0C */ bne lbl_80339A74 +/* 80339A6C 003369CC 38 60 00 00 */ li r3, 0 +/* 80339A70 003369D0 48 00 00 AC */ b lbl_80339B1C +lbl_80339A74: +/* 80339A74 003369D4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80339A78 003369D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339A7C 003369DC 38 84 00 08 */ addi r4, r4, 8 +/* 80339A80 003369E0 48 00 00 B9 */ bl sub_80339b38 +/* 80339A84 003369E4 7F A3 EB 78 */ mr r3, r29 +/* 80339A88 003369E8 7F C4 F3 78 */ mr r4, r30 +/* 80339A8C 003369EC 48 00 08 15 */ bl sub_8033a2a0 +/* 80339A90 003369F0 80 81 00 40 */ lwz r4, 0x40(r1) +/* 80339A94 003369F4 38 00 00 00 */ li r0, 0 +/* 80339A98 003369F8 98 01 00 24 */ stb r0, 0x24(r1) +/* 80339A9C 003369FC 38 61 00 08 */ addi r3, r1, 8 +/* 80339AA0 00336A00 7C 04 00 D0 */ neg r0, r4 +/* 80339AA4 00336A04 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 80339AA8 00336A08 7C 00 23 78 */ or r0, r0, r4 +/* 80339AAC 00336A0C 80 E1 00 3C */ lwz r7, 0x3c(r1) +/* 80339AB0 00336A10 38 9D 00 5C */ addi r4, r29, 0x5c +/* 80339AB4 00336A14 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80339AB8 00336A18 54 08 0F FE */ srwi r8, r0, 0x1f +/* 80339ABC 00336A1C 39 21 00 44 */ addi r9, r1, 0x44 +/* 80339AC0 00336A20 4B FF EC 2D */ bl MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer +/* 80339AC4 00336A24 38 00 00 00 */ li r0, 0 +/* 80339AC8 00336A28 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80339ACC 00336A2C 98 01 00 08 */ stb r0, 8(r1) +/* 80339AD0 00336A30 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80339AD4 00336A34 90 83 00 00 */ stw r4, 0(r3) +/* 80339AD8 00336A38 88 01 00 08 */ lbz r0, 8(r1) +/* 80339ADC 00336A3C 28 00 00 00 */ cmplwi r0, 0 +/* 80339AE0 00336A40 41 82 00 24 */ beq lbl_80339B04 +/* 80339AE4 00336A44 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80339AE8 00336A48 28 03 00 00 */ cmplwi r3, 0 +/* 80339AEC 00336A4C 41 82 00 18 */ beq lbl_80339B04 +/* 80339AF0 00336A50 81 83 00 00 */ lwz r12, 0(r3) +/* 80339AF4 00336A54 38 80 00 01 */ li r4, 1 +/* 80339AF8 00336A58 81 8C 00 08 */ lwz r12, 8(r12) +/* 80339AFC 00336A5C 7D 89 03 A6 */ mtctr r12 +/* 80339B00 00336A60 4E 80 04 21 */ bctrl +lbl_80339B04: +/* 80339B04 00336A64 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339B08 00336A68 38 80 FF FF */ li r4, -1 +/* 80339B0C 00336A6C 4B FF FD 75 */ bl sub_80339880 +/* 80339B10 00336A70 38 60 00 01 */ li r3, 1 +/* 80339B14 00336A74 48 00 00 08 */ b lbl_80339B1C +lbl_80339B18: +/* 80339B18 00336A78 38 60 00 00 */ li r3, 0 +lbl_80339B1C: +/* 80339B1C 00336A7C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80339B20 00336A80 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80339B24 00336A84 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80339B28 00336A88 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80339B2C 00336A8C 7C 08 03 A6 */ mtlr r0 +/* 80339B30 00336A90 38 21 00 60 */ addi r1, r1, 0x60 +/* 80339B34 00336A94 4E 80 00 20 */ blr + +.global sub_80339b38 +sub_80339b38: +/* 80339B38 00336A98 80 04 00 00 */ lwz r0, 0(r4) +/* 80339B3C 00336A9C 38 A0 00 00 */ li r5, 0 +/* 80339B40 00336AA0 90 03 00 00 */ stw r0, 0(r3) +/* 80339B44 00336AA4 80 04 00 04 */ lwz r0, 4(r4) +/* 80339B48 00336AA8 90 03 00 04 */ stw r0, 4(r3) +/* 80339B4C 00336AAC 88 04 00 08 */ lbz r0, 8(r4) +/* 80339B50 00336AB0 98 03 00 08 */ stb r0, 8(r3) +/* 80339B54 00336AB4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80339B58 00336AB8 90 03 00 0C */ stw r0, 0xc(r3) +/* 80339B5C 00336ABC 98 A4 00 08 */ stb r5, 8(r4) +/* 80339B60 00336AC0 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80339B64 00336AC4 90 03 00 10 */ stw r0, 0x10(r3) +/* 80339B68 00336AC8 88 04 00 14 */ lbz r0, 0x14(r4) +/* 80339B6C 00336ACC 98 03 00 14 */ stb r0, 0x14(r3) +/* 80339B70 00336AD0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80339B74 00336AD4 90 03 00 18 */ stw r0, 0x18(r3) +/* 80339B78 00336AD8 98 A4 00 14 */ stb r5, 0x14(r4) +/* 80339B7C 00336ADC 88 04 00 1C */ lbz r0, 0x1c(r4) +/* 80339B80 00336AE0 98 03 00 1C */ stb r0, 0x1c(r3) +/* 80339B84 00336AE4 80 04 00 20 */ lwz r0, 0x20(r4) +/* 80339B88 00336AE8 90 03 00 20 */ stw r0, 0x20(r3) +/* 80339B8C 00336AEC 98 A4 00 1C */ stb r5, 0x1c(r4) +/* 80339B90 00336AF0 88 04 00 24 */ lbz r0, 0x24(r4) +/* 80339B94 00336AF4 98 03 00 24 */ stb r0, 0x24(r3) +/* 80339B98 00336AF8 80 04 00 28 */ lwz r0, 0x28(r4) +/* 80339B9C 00336AFC 90 03 00 28 */ stw r0, 0x28(r3) +/* 80339BA0 00336B00 98 A4 00 24 */ stb r5, 0x24(r4) +/* 80339BA4 00336B04 80 04 00 2C */ lwz r0, 0x2c(r4) +/* 80339BA8 00336B08 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80339BAC 00336B0C 80 04 00 30 */ lwz r0, 0x30(r4) +/* 80339BB0 00336B10 90 03 00 30 */ stw r0, 0x30(r3) +/* 80339BB4 00336B14 80 04 00 34 */ lwz r0, 0x34(r4) +/* 80339BB8 00336B18 90 03 00 34 */ stw r0, 0x34(r3) +/* 80339BBC 00336B1C 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 80339BC0 00336B20 80 85 00 04 */ lwz r4, 4(r5) +/* 80339BC4 00336B24 38 04 00 01 */ addi r0, r4, 1 +/* 80339BC8 00336B28 90 05 00 04 */ stw r0, 4(r5) +/* 80339BCC 00336B2C 4E 80 00 20 */ blr + +.global AsyncIdle__11CResFactoryFUl +AsyncIdle__11CResFactoryFUl: +/* 80339BD0 00336B30 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80339BD4 00336B34 7C 08 02 A6 */ mflr r0 +/* 80339BD8 00336B38 90 01 00 34 */ stw r0, 0x34(r1) +/* 80339BDC 00336B3C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80339BE0 00336B40 7C 7A 1B 78 */ mr r26, r3 +/* 80339BE4 00336B44 7C 9B 23 78 */ mr r27, r4 +/* 80339BE8 00336B48 3B 80 00 01 */ li r28, 1 +/* 80339BEC 00336B4C 48 04 B7 BD */ bl OSGetTime +/* 80339BF0 00336B50 83 FA 00 B4 */ lwz r31, 0xb4(r26) +/* 80339BF4 00336B54 7C 9D 23 78 */ mr r29, r4 +/* 80339BF8 00336B58 7C 7E 1B 78 */ mr r30, r3 +/* 80339BFC 00336B5C 48 00 00 34 */ b lbl_80339C30 +lbl_80339C00: +/* 80339C00 00336B60 7F F9 FB 78 */ mr r25, r31 +/* 80339C04 00336B64 83 FF 00 04 */ lwz r31, 4(r31) +/* 80339C08 00336B68 80 79 00 14 */ lwz r3, 0x14(r25) +/* 80339C0C 00336B6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80339C10 00336B70 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80339C14 00336B74 7D 89 03 A6 */ mtctr r12 +/* 80339C18 00336B78 4E 80 04 21 */ bctrl +/* 80339C1C 00336B7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339C20 00336B80 41 82 00 10 */ beq lbl_80339C30 +/* 80339C24 00336B84 7F 24 CB 78 */ mr r4, r25 +/* 80339C28 00336B88 38 7A 00 B0 */ addi r3, r26, 0xb0 +/* 80339C2C 00336B8C 48 00 0C B1 */ bl sub_8033a8dc +lbl_80339C30: +/* 80339C30 00336B90 80 1A 00 B8 */ lwz r0, 0xb8(r26) +/* 80339C34 00336B94 7C 1F 00 40 */ cmplw r31, r0 +/* 80339C38 00336B98 40 82 FF C8 */ bne lbl_80339C00 +/* 80339C3C 00336B9C 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 80339C40 00336BA0 3B E3 FD 30 */ addi r31, r3, mData__10CStopwatch@l +/* 80339C44 00336BA4 48 00 00 90 */ b lbl_80339CD4 +lbl_80339C48: +/* 80339C48 00336BA8 3B 80 00 00 */ li r28, 0 +/* 80339C4C 00336BAC 48 04 B7 5D */ bl OSGetTime +/* 80339C50 00336BB0 7C 9D 20 10 */ subfc r4, r29, r4 +/* 80339C54 00336BB4 80 BF 00 08 */ lwz r5, 8(r31) +/* 80339C58 00336BB8 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80339C5C 00336BBC 7C 7E 19 10 */ subfe r3, r30, r3 +/* 80339C60 00336BC0 48 04 FF 6D */ bl __div2i +/* 80339C64 00336BC4 80 1A 00 88 */ lwz r0, 0x88(r26) +/* 80339C68 00336BC8 7C 85 23 78 */ mr r5, r4 +/* 80339C6C 00336BCC 90 01 00 08 */ stw r0, 8(r1) +/* 80339C70 00336BD0 48 00 00 4C */ b lbl_80339CBC +lbl_80339C74: +/* 80339C74 00336BD4 7F 43 D3 78 */ mr r3, r26 +/* 80339C78 00336BD8 38 81 00 08 */ addi r4, r1, 8 +/* 80339C7C 00336BDC 7C A5 D8 50 */ subf r5, r5, r27 +/* 80339C80 00336BE0 4B FF FD 85 */ bl PumpResource__11CResFactoryFR12SLoadingData +/* 80339C84 00336BE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339C88 00336BE8 41 82 00 0C */ beq lbl_80339C94 +/* 80339C8C 00336BEC 3B 80 00 01 */ li r28, 1 +/* 80339C90 00336BF0 48 00 00 44 */ b lbl_80339CD4 +lbl_80339C94: +/* 80339C94 00336BF4 80 61 00 08 */ lwz r3, 8(r1) +/* 80339C98 00336BF8 80 03 00 04 */ lwz r0, 4(r3) +/* 80339C9C 00336BFC 90 01 00 08 */ stw r0, 8(r1) +/* 80339CA0 00336C00 48 04 B7 09 */ bl OSGetTime +/* 80339CA4 00336C04 7C 9D 20 10 */ subfc r4, r29, r4 +/* 80339CA8 00336C08 80 BF 00 08 */ lwz r5, 8(r31) +/* 80339CAC 00336C0C 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80339CB0 00336C10 7C 7E 19 10 */ subfe r3, r30, r3 +/* 80339CB4 00336C14 48 04 FF 19 */ bl __div2i +/* 80339CB8 00336C18 7C 85 23 78 */ mr r5, r4 +lbl_80339CBC: +/* 80339CBC 00336C1C 80 61 00 08 */ lwz r3, 8(r1) +/* 80339CC0 00336C20 80 1A 00 8C */ lwz r0, 0x8c(r26) +/* 80339CC4 00336C24 7C 03 00 40 */ cmplw r3, r0 +/* 80339CC8 00336C28 41 82 00 0C */ beq lbl_80339CD4 +/* 80339CCC 00336C2C 7C 05 D8 40 */ cmplw r5, r27 +/* 80339CD0 00336C30 41 80 FF A4 */ blt lbl_80339C74 +lbl_80339CD4: +/* 80339CD4 00336C34 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80339CD8 00336C38 40 82 FF 70 */ bne lbl_80339C48 +/* 80339CDC 00336C3C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80339CE0 00336C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80339CE4 00336C44 7C 08 03 A6 */ mtlr r0 +/* 80339CE8 00336C48 38 21 00 30 */ addi r1, r1, 0x30 +/* 80339CEC 00336C4C 4E 80 00 20 */ blr + +.global CancelBuild__11CResFactoryFRC10SObjectTag +CancelBuild__11CResFactoryFRC10SObjectTag: +/* 80339CF0 00336C50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80339CF4 00336C54 7C 08 02 A6 */ mflr r0 +/* 80339CF8 00336C58 7C 85 23 78 */ mr r5, r4 +/* 80339CFC 00336C5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80339D00 00336C60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80339D04 00336C64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80339D08 00336C68 7C 7E 1B 78 */ mr r30, r3 +/* 80339D0C 00336C6C 7F C4 F3 78 */ mr r4, r30 +/* 80339D10 00336C70 38 61 00 08 */ addi r3, r1, 8 +/* 80339D14 00336C74 48 00 04 79 */ bl sub_8033a18c +/* 80339D18 00336C78 80 61 00 08 */ lwz r3, 8(r1) +/* 80339D1C 00336C7C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80339D20 00336C80 80 1E 00 8C */ lwz r0, 0x8c(r30) +/* 80339D24 00336C84 7C 03 00 40 */ cmplw r3, r0 +/* 80339D28 00336C88 41 82 00 34 */ beq lbl_80339D5C +/* 80339D2C 00336C8C 3B E3 00 08 */ addi r31, r3, 8 +/* 80339D30 00336C90 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80339D34 00336C94 81 83 00 00 */ lwz r12, 0(r3) +/* 80339D38 00336C98 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80339D3C 00336C9C 7D 89 03 A6 */ mtctr r12 +/* 80339D40 00336CA0 4E 80 04 21 */ bctrl +/* 80339D44 00336CA4 7F E4 FB 78 */ mr r4, r31 +/* 80339D48 00336CA8 38 7E 00 B0 */ addi r3, r30, 0xb0 +/* 80339D4C 00336CAC 48 00 00 29 */ bl sub_80339d74 +/* 80339D50 00336CB0 7F C3 F3 78 */ mr r3, r30 +/* 80339D54 00336CB4 38 81 00 0C */ addi r4, r1, 0xc +/* 80339D58 00336CB8 48 00 05 49 */ bl sub_8033a2a0 +lbl_80339D5C: +/* 80339D5C 00336CBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80339D60 00336CC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80339D64 00336CC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80339D68 00336CC8 7C 08 03 A6 */ mtlr r0 +/* 80339D6C 00336CCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80339D70 00336CD0 4E 80 00 20 */ blr + +.global sub_80339d74 +sub_80339d74: +/* 80339D74 00336CD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339D78 00336CD8 7C 08 02 A6 */ mflr r0 +/* 80339D7C 00336CDC 7C 85 23 78 */ mr r5, r4 +/* 80339D80 00336CE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80339D84 00336CE4 80 83 00 08 */ lwz r4, 8(r3) +/* 80339D88 00336CE8 48 00 00 15 */ bl sub_80339d9c +/* 80339D8C 00336CEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80339D90 00336CF0 7C 08 03 A6 */ mtlr r0 +/* 80339D94 00336CF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80339D98 00336CF8 4E 80 00 20 */ blr + +.global sub_80339d9c +sub_80339d9c: +/* 80339D9C 00336CFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339DA0 00336D00 7C 08 02 A6 */ mflr r0 +/* 80339DA4 00336D04 7C A6 2B 78 */ mr r6, r5 +/* 80339DA8 00336D08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80339DAC 00336D0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339DB0 00336D10 7C 9F 23 78 */ mr r31, r4 +/* 80339DB4 00336D14 7F E5 FB 78 */ mr r5, r31 +/* 80339DB8 00336D18 93 C1 00 08 */ stw r30, 8(r1) +/* 80339DBC 00336D1C 7C 7E 1B 78 */ mr r30, r3 +/* 80339DC0 00336D20 80 84 00 00 */ lwz r4, 0(r4) +/* 80339DC4 00336D24 48 00 00 49 */ bl sub_80339e0c +/* 80339DC8 00336D28 80 1E 00 04 */ lwz r0, 4(r30) +/* 80339DCC 00336D2C 7C 1F 00 40 */ cmplw r31, r0 +/* 80339DD0 00336D30 40 82 00 08 */ bne lbl_80339DD8 +/* 80339DD4 00336D34 90 7E 00 04 */ stw r3, 4(r30) +lbl_80339DD8: +/* 80339DD8 00336D38 80 83 00 00 */ lwz r4, 0(r3) +/* 80339DDC 00336D3C 90 64 00 04 */ stw r3, 4(r4) +/* 80339DE0 00336D40 80 83 00 04 */ lwz r4, 4(r3) +/* 80339DE4 00336D44 90 64 00 00 */ stw r3, 0(r4) +/* 80339DE8 00336D48 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80339DEC 00336D4C 38 04 00 01 */ addi r0, r4, 1 +/* 80339DF0 00336D50 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80339DF4 00336D54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80339DF8 00336D58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80339DFC 00336D5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80339E00 00336D60 7C 08 03 A6 */ mtlr r0 +/* 80339E04 00336D64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80339E08 00336D68 4E 80 00 20 */ blr + +.global sub_80339e0c +sub_80339e0c: +/* 80339E0C 00336D6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80339E10 00336D70 7C 08 02 A6 */ mflr r0 +/* 80339E14 00336D74 3C 60 80 3D */ lis r3, lbl_803D7A28@ha +/* 80339E18 00336D78 90 01 00 24 */ stw r0, 0x24(r1) +/* 80339E1C 00336D7C 38 03 7A 28 */ addi r0, r3, lbl_803D7A28@l +/* 80339E20 00336D80 38 60 00 40 */ li r3, 0x40 +/* 80339E24 00336D84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80339E28 00336D88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80339E2C 00336D8C 7C DE 33 78 */ mr r30, r6 +/* 80339E30 00336D90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80339E34 00336D94 7C BD 2B 78 */ mr r29, r5 +/* 80339E38 00336D98 38 A0 00 00 */ li r5, 0 +/* 80339E3C 00336D9C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80339E40 00336DA0 7C 9C 23 78 */ mr r28, r4 +/* 80339E44 00336DA4 7C 04 03 78 */ mr r4, r0 +/* 80339E48 00336DA8 4B FD B9 D1 */ bl __nwa__FUlPCcPCc +/* 80339E4C 00336DAC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80339E50 00336DB0 41 82 00 0C */ beq lbl_80339E5C +/* 80339E54 00336DB4 93 9F 00 00 */ stw r28, 0(r31) +/* 80339E58 00336DB8 93 BF 00 04 */ stw r29, 4(r31) +lbl_80339E5C: +/* 80339E5C 00336DBC 34 7F 00 08 */ addic. r3, r31, 8 +/* 80339E60 00336DC0 41 82 00 0C */ beq lbl_80339E6C +/* 80339E64 00336DC4 7F C4 F3 78 */ mr r4, r30 +/* 80339E68 00336DC8 4B FF FC D1 */ bl sub_80339b38 +lbl_80339E6C: +/* 80339E6C 00336DCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80339E70 00336DD0 7F E3 FB 78 */ mr r3, r31 +/* 80339E74 00336DD4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80339E78 00336DD8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80339E7C 00336DDC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80339E80 00336DE0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80339E84 00336DE4 7C 08 03 A6 */ mtlr r0 +/* 80339E88 00336DE8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80339E8C 00336DEC 4E 80 00 20 */ blr + +.global BuildAsync__11CResFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj +BuildAsync__11CResFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj: +/* 80339E90 00336DF0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80339E94 00336DF4 7C 08 02 A6 */ mflr r0 +/* 80339E98 00336DF8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80339E9C 00336DFC 38 00 00 00 */ li r0, 0 +/* 80339EA0 00336E00 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80339EA4 00336E04 7C 79 1B 78 */ mr r25, r3 +/* 80339EA8 00336E08 7C DC 33 78 */ mr r28, r6 +/* 80339EAC 00336E0C 7C 9A 23 78 */ mr r26, r4 +/* 80339EB0 00336E10 7C BB 2B 78 */ mr r27, r5 +/* 80339EB4 00336E14 38 79 00 04 */ addi r3, r25, 4 +/* 80339EB8 00336E18 90 06 00 00 */ stw r0, 0(r6) +/* 80339EBC 00336E1C 48 00 1D 95 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 80339EC0 00336E20 3C A0 80 3D */ lis r5, lbl_803D7A28@ha +/* 80339EC4 00336E24 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80339EC8 00336E28 7C 7F 1B 78 */ mr r31, r3 +/* 80339ECC 00336E2C 38 61 00 08 */ addi r3, r1, 8 +/* 80339ED0 00336E30 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80339ED4 00336E34 38 A5 7A 28 */ addi r5, r5, lbl_803D7A28@l +/* 80339ED8 00336E38 38 80 FF FF */ li r4, -1 +/* 80339EDC 00336E3C 4B F9 C4 F9 */ bl __ct__10CCallStackFUiPCcPCc +/* 80339EE0 00336E40 7C 67 1B 78 */ mr r7, r3 +/* 80339EE4 00336E44 7F E3 FB 78 */ mr r3, r31 +/* 80339EE8 00336E48 38 80 00 02 */ li r4, 2 +/* 80339EEC 00336E4C 38 A0 00 01 */ li r5, 1 +/* 80339EF0 00336E50 38 C0 00 00 */ li r6, 0 +/* 80339EF4 00336E54 4B FD BA A1 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80339EF8 00336E58 7C 7D 1B 78 */ mr r29, r3 +/* 80339EFC 00336E5C 7F 44 D3 78 */ mr r4, r26 +/* 80339F00 00336E60 38 79 00 04 */ addi r3, r25, 4 +/* 80339F04 00336E64 7F A5 EB 78 */ mr r5, r29 +/* 80339F08 00336E68 48 00 1C 71 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +/* 80339F0C 00336E6C 7C 7E 1B 78 */ mr r30, r3 +/* 80339F10 00336E70 7F 44 D3 78 */ mr r4, r26 +/* 80339F14 00336E74 38 79 00 04 */ addi r3, r25, 4 +/* 80339F18 00336E78 48 00 1C E1 */ bl GetResourceCompression__10CResLoaderCFRC10SObjectTag +/* 80339F1C 00336E7C 7C 69 1B 78 */ mr r9, r3 +/* 80339F20 00336E80 7F 44 D3 78 */ mr r4, r26 +/* 80339F24 00336E84 7F C5 F3 78 */ mr r5, r30 +/* 80339F28 00336E88 7F 86 E3 78 */ mr r6, r28 +/* 80339F2C 00336E8C 7F A7 EB 78 */ mr r7, r29 +/* 80339F30 00336E90 7F E8 FB 78 */ mr r8, r31 +/* 80339F34 00336E94 7F 6A DB 78 */ mr r10, r27 +/* 80339F38 00336E98 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339F3C 00336E9C 4B FF FA 45 */ bl sub_80339980 +/* 80339F40 00336EA0 7F 23 CB 78 */ mr r3, r25 +/* 80339F44 00336EA4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80339F48 00336EA8 48 00 05 B9 */ bl sub_8033a500 +/* 80339F4C 00336EAC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339F50 00336EB0 38 80 FF FF */ li r4, -1 +/* 80339F54 00336EB4 4B FF F9 2D */ bl sub_80339880 +/* 80339F58 00336EB8 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80339F5C 00336EBC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80339F60 00336EC0 7C 08 03 A6 */ mtlr r0 +/* 80339F64 00336EC4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80339F68 00336EC8 4E 80 00 20 */ blr + +.global BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer +BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer: +/* 80339F6C 00336ECC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80339F70 00336ED0 7C 08 02 A6 */ mflr r0 +/* 80339F74 00336ED4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80339F78 00336ED8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80339F7C 00336EDC 7C BF 2B 78 */ mr r31, r5 +/* 80339F80 00336EE0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80339F84 00336EE4 7C DE 33 78 */ mr r30, r6 +/* 80339F88 00336EE8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80339F8C 00336EEC 7C 9D 23 78 */ mr r29, r4 +/* 80339F90 00336EF0 7F E4 FB 78 */ mr r4, r31 +/* 80339F94 00336EF4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80339F98 00336EF8 7C 7C 1B 78 */ mr r28, r3 +/* 80339F9C 00336EFC 38 7D 00 5C */ addi r3, r29, 0x5c +/* 80339FA0 00336F00 4B FF EC B5 */ bl CanMakeMemory__11CFactoryMgrFRC10SObjectTag +/* 80339FA4 00336F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339FA8 00336F08 41 82 00 50 */ beq lbl_80339FF8 +/* 80339FAC 00336F0C 7F E4 FB 78 */ mr r4, r31 +/* 80339FB0 00336F10 38 7D 00 04 */ addi r3, r29, 4 +/* 80339FB4 00336F14 38 A1 00 0C */ addi r5, r1, 0xc +/* 80339FB8 00336F18 38 C1 00 08 */ addi r6, r1, 8 +/* 80339FBC 00336F1C 48 00 17 DD */ bl LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi +/* 80339FC0 00336F20 7F E4 FB 78 */ mr r4, r31 +/* 80339FC4 00336F24 38 7D 00 04 */ addi r3, r29, 4 +/* 80339FC8 00336F28 48 00 1C 31 */ bl GetResourceCompression__10CResLoaderCFRC10SObjectTag +/* 80339FCC 00336F2C 7C 03 00 D0 */ neg r0, r3 +/* 80339FD0 00336F30 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 80339FD4 00336F34 7C 00 1B 78 */ or r0, r0, r3 +/* 80339FD8 00336F38 80 E1 00 08 */ lwz r7, 8(r1) +/* 80339FDC 00336F3C 54 08 0F FE */ srwi r8, r0, 0x1f +/* 80339FE0 00336F40 7F 83 E3 78 */ mr r3, r28 +/* 80339FE4 00336F44 7F E5 FB 78 */ mr r5, r31 +/* 80339FE8 00336F48 7F C9 F3 78 */ mr r9, r30 +/* 80339FEC 00336F4C 38 9D 00 5C */ addi r4, r29, 0x5c +/* 80339FF0 00336F50 4B FF E6 FD */ bl MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer +/* 80339FF4 00336F54 48 00 00 B8 */ b lbl_8033A0AC +lbl_80339FF8: +/* 80339FF8 00336F58 7F E4 FB 78 */ mr r4, r31 +/* 80339FFC 00336F5C 38 7D 00 04 */ addi r3, r29, 4 +/* 8033A000 00336F60 38 A0 00 00 */ li r5, 0 +/* 8033A004 00336F64 48 00 19 65 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 8033A008 00336F68 7F E5 FB 78 */ mr r5, r31 +/* 8033A00C 00336F6C 7C 7F 1B 78 */ mr r31, r3 +/* 8033A010 00336F70 7F C7 F3 78 */ mr r7, r30 +/* 8033A014 00336F74 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033A018 00336F78 7F E6 FB 78 */ mr r6, r31 +/* 8033A01C 00336F7C 38 9D 00 5C */ addi r4, r29, 0x5c +/* 8033A020 00336F80 4B FF EB 61 */ bl MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer +/* 8033A024 00336F84 88 81 00 10 */ lbz r4, 0x10(r1) +/* 8033A028 00336F88 38 00 00 00 */ li r0, 0 +/* 8033A02C 00336F8C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8033A030 00336F90 98 81 00 18 */ stb r4, 0x18(r1) +/* 8033A034 00336F94 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8033A038 00336F98 98 01 00 10 */ stb r0, 0x10(r1) +/* 8033A03C 00336F9C 48 00 00 1C */ b lbl_8033A058 +/* 8033A040 00336FA0 41 82 00 18 */ beq lbl_8033A058 +/* 8033A044 00336FA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A048 00336FA8 38 80 00 01 */ li r4, 1 +/* 8033A04C 00336FAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033A050 00336FB0 7D 89 03 A6 */ mtctr r12 +/* 8033A054 00336FB4 4E 80 04 21 */ bctrl +lbl_8033A058: +/* 8033A058 00336FB8 28 1F 00 00 */ cmplwi r31, 0 +/* 8033A05C 00336FBC 41 82 00 1C */ beq lbl_8033A078 +/* 8033A060 00336FC0 7F E3 FB 78 */ mr r3, r31 +/* 8033A064 00336FC4 38 80 00 01 */ li r4, 1 +/* 8033A068 00336FC8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8033A06C 00336FCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033A070 00336FD0 7D 89 03 A6 */ mtctr r12 +/* 8033A074 00336FD4 4E 80 04 21 */ bctrl +lbl_8033A078: +/* 8033A078 00336FD8 88 81 00 18 */ lbz r4, 0x18(r1) +/* 8033A07C 00336FDC 38 00 00 00 */ li r0, 0 +/* 8033A080 00336FE0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8033A084 00336FE4 98 9C 00 00 */ stb r4, 0(r28) +/* 8033A088 00336FE8 90 7C 00 04 */ stw r3, 4(r28) +/* 8033A08C 00336FEC 98 01 00 18 */ stb r0, 0x18(r1) +/* 8033A090 00336FF0 48 00 00 1C */ b lbl_8033A0AC +/* 8033A094 00336FF4 41 82 00 18 */ beq lbl_8033A0AC +/* 8033A098 00336FF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A09C 00336FFC 38 80 00 01 */ li r4, 1 +/* 8033A0A0 00337000 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033A0A4 00337004 7D 89 03 A6 */ mtctr r12 +/* 8033A0A8 00337008 4E 80 04 21 */ bctrl +lbl_8033A0AC: +/* 8033A0AC 0033700C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033A0B0 00337010 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8033A0B4 00337014 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033A0B8 00337018 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033A0BC 0033701C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8033A0C0 00337020 7C 08 03 A6 */ mtlr r0 +/* 8033A0C4 00337024 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033A0C8 00337028 4E 80 00 20 */ blr + +.global Build__11CResFactoryFRC10SObjectTagRC15CVParamTransfer +Build__11CResFactoryFRC10SObjectTagRC15CVParamTransfer: +/* 8033A0CC 0033702C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A0D0 00337030 7C 08 02 A6 */ mflr r0 +/* 8033A0D4 00337034 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A0D8 00337038 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A0DC 0033703C 7C DF 33 78 */ mr r31, r6 +/* 8033A0E0 00337040 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A0E4 00337044 7C BE 2B 78 */ mr r30, r5 +/* 8033A0E8 00337048 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A0EC 0033704C 7C 9D 23 78 */ mr r29, r4 +/* 8033A0F0 00337050 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033A0F4 00337054 7C 7C 1B 78 */ mr r28, r3 +/* 8033A0F8 00337058 38 61 00 08 */ addi r3, r1, 8 +/* 8033A0FC 0033705C 48 00 00 91 */ bl sub_8033a18c +/* 8033A100 00337060 80 61 00 08 */ lwz r3, 8(r1) +/* 8033A104 00337064 90 61 00 0C */ stw r3, 0xc(r1) +/* 8033A108 00337068 80 1D 00 8C */ lwz r0, 0x8c(r29) +/* 8033A10C 0033706C 7C 03 00 40 */ cmplw r3, r0 +/* 8033A110 00337070 41 82 00 48 */ beq lbl_8033A158 +/* 8033A114 00337074 83 E3 00 18 */ lwz r31, 0x18(r3) +/* 8033A118 00337078 48 00 00 1C */ b lbl_8033A134 +lbl_8033A11C: +/* 8033A11C 0033707C 7F A3 EB 78 */ mr r3, r29 +/* 8033A120 00337080 38 81 00 0C */ addi r4, r1, 0xc +/* 8033A124 00337084 38 A0 00 00 */ li r5, 0 +/* 8033A128 00337088 4B FF F8 DD */ bl PumpResource__11CResFactoryFR12SLoadingData +/* 8033A12C 0033708C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033A130 00337090 41 82 FF EC */ beq lbl_8033A11C +lbl_8033A134: +/* 8033A134 00337094 80 7F 00 00 */ lwz r3, 0(r31) +/* 8033A138 00337098 28 03 00 00 */ cmplwi r3, 0 +/* 8033A13C 0033709C 41 82 FF E0 */ beq lbl_8033A11C +/* 8033A140 003370A0 7C 03 00 D0 */ neg r0, r3 +/* 8033A144 003370A4 7C 00 1B 78 */ or r0, r0, r3 +/* 8033A148 003370A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A14C 003370AC 98 1C 00 00 */ stb r0, 0(r28) +/* 8033A150 003370B0 90 7C 00 04 */ stw r3, 4(r28) +/* 8033A154 003370B4 48 00 00 18 */ b lbl_8033A16C +lbl_8033A158: +/* 8033A158 003370B8 7F 83 E3 78 */ mr r3, r28 +/* 8033A15C 003370BC 7F A4 EB 78 */ mr r4, r29 +/* 8033A160 003370C0 7F C5 F3 78 */ mr r5, r30 +/* 8033A164 003370C4 7F E6 FB 78 */ mr r6, r31 +/* 8033A168 003370C8 4B FF FE 05 */ bl BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer +lbl_8033A16C: +/* 8033A16C 003370CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A170 003370D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A174 003370D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A178 003370D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A17C 003370DC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033A180 003370E0 7C 08 03 A6 */ mtlr r0 +/* 8033A184 003370E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A188 003370E8 4E 80 00 20 */ blr + +.global sub_8033a18c +sub_8033a18c: +/* 8033A18C 003370EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A190 003370F0 38 C0 00 00 */ li r6, 0 +/* 8033A194 003370F4 81 04 00 AC */ lwz r8, 0xac(r4) +/* 8033A198 003370F8 48 00 00 58 */ b lbl_8033A1F0 +lbl_8033A19C: +/* 8033A19C 003370FC 80 08 00 10 */ lwz r0, 0x10(r8) +/* 8033A1A0 00337100 80 E5 00 00 */ lwz r7, 0(r5) +/* 8033A1A4 00337104 7C 00 38 40 */ cmplw r0, r7 +/* 8033A1A8 00337108 40 82 00 20 */ bne lbl_8033A1C8 +/* 8033A1AC 0033710C 80 08 00 14 */ lwz r0, 0x14(r8) +/* 8033A1B0 00337110 80 E5 00 04 */ lwz r7, 4(r5) +/* 8033A1B4 00337114 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A1B8 00337118 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A1BC 0033711C 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A1C0 00337120 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A1C4 00337124 48 00 00 14 */ b lbl_8033A1D8 +lbl_8033A1C8: +/* 8033A1C8 00337128 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A1CC 0033712C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A1D0 00337130 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A1D4 00337134 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A1D8: +/* 8033A1D8 00337138 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A1DC 0033713C 40 82 00 10 */ bne lbl_8033A1EC +/* 8033A1E0 00337140 7D 06 43 78 */ mr r6, r8 +/* 8033A1E4 00337144 81 08 00 00 */ lwz r8, 0(r8) +/* 8033A1E8 00337148 48 00 00 08 */ b lbl_8033A1F0 +lbl_8033A1EC: +/* 8033A1EC 0033714C 81 08 00 04 */ lwz r8, 4(r8) +lbl_8033A1F0: +/* 8033A1F0 00337150 28 08 00 00 */ cmplwi r8, 0 +/* 8033A1F4 00337154 40 82 FF A8 */ bne lbl_8033A19C +/* 8033A1F8 00337158 7C C7 00 34 */ cntlzw r7, r6 +/* 8033A1FC 0033715C 54 E0 DE 3F */ rlwinm. r0, r7, 0x1b, 0x18, 0x1f +/* 8033A200 00337160 54 E0 D9 7E */ srwi r0, r7, 5 +/* 8033A204 00337164 40 82 00 40 */ bne lbl_8033A244 +/* 8033A208 00337168 80 05 00 00 */ lwz r0, 0(r5) +/* 8033A20C 0033716C 80 E6 00 10 */ lwz r7, 0x10(r6) +/* 8033A210 00337170 7C 00 38 40 */ cmplw r0, r7 +/* 8033A214 00337174 40 82 00 20 */ bne lbl_8033A234 +/* 8033A218 00337178 80 05 00 04 */ lwz r0, 4(r5) +/* 8033A21C 0033717C 80 A6 00 14 */ lwz r5, 0x14(r6) +/* 8033A220 00337180 7C A0 02 78 */ xor r0, r5, r0 +/* 8033A224 00337184 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A228 00337188 7C A0 00 30 */ slw r0, r5, r0 +/* 8033A22C 0033718C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A230 00337190 48 00 00 14 */ b lbl_8033A244 +lbl_8033A234: +/* 8033A234 00337194 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A238 00337198 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A23C 0033719C 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A240 003371A0 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A244: +/* 8033A244 003371A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A248 003371A8 41 82 00 08 */ beq lbl_8033A250 +/* 8033A24C 003371AC 38 C0 00 00 */ li r6, 0 +lbl_8033A250: +/* 8033A250 003371B0 38 00 00 00 */ li r0, 0 +/* 8033A254 003371B4 38 A4 00 A4 */ addi r5, r4, 0xa4 +/* 8033A258 003371B8 7C 06 00 40 */ cmplw r6, r0 +/* 8033A25C 003371BC 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8033A260 003371C0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8033A264 003371C4 90 01 00 08 */ stw r0, 8(r1) +/* 8033A268 003371C8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8033A26C 003371CC 40 82 00 10 */ bne lbl_8033A27C +/* 8033A270 003371D0 7C 05 28 40 */ cmplw r5, r5 +/* 8033A274 003371D4 40 82 00 08 */ bne lbl_8033A27C +/* 8033A278 003371D8 38 00 00 01 */ li r0, 1 +lbl_8033A27C: +/* 8033A27C 003371DC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A280 003371E0 41 82 00 10 */ beq lbl_8033A290 +/* 8033A284 003371E4 80 04 00 8C */ lwz r0, 0x8c(r4) +/* 8033A288 003371E8 90 03 00 00 */ stw r0, 0(r3) +/* 8033A28C 003371EC 48 00 00 0C */ b lbl_8033A298 +lbl_8033A290: +/* 8033A290 003371F0 80 06 00 18 */ lwz r0, 0x18(r6) +/* 8033A294 003371F4 90 03 00 00 */ stw r0, 0(r3) +lbl_8033A298: +/* 8033A298 003371F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A29C 003371FC 4E 80 00 20 */ blr + +.global sub_8033a2a0 +sub_8033a2a0: +/* 8033A2A0 00337200 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A2A4 00337204 7C 08 02 A6 */ mflr r0 +/* 8033A2A8 00337208 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A2AC 0033720C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A2B0 00337210 7C 9F 23 78 */ mr r31, r4 +/* 8033A2B4 00337214 93 C1 00 08 */ stw r30, 8(r1) +/* 8033A2B8 00337218 7C 7E 1B 78 */ mr r30, r3 +/* 8033A2BC 0033721C 38 7E 00 9C */ addi r3, r30, 0x9c +/* 8033A2C0 00337220 80 84 00 00 */ lwz r4, 0(r4) +/* 8033A2C4 00337224 38 84 00 08 */ addi r4, r4, 8 +/* 8033A2C8 00337228 48 00 00 29 */ bl sub_8033a2f0 +/* 8033A2CC 0033722C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8033A2D0 00337230 38 7E 00 84 */ addi r3, r30, 0x84 +/* 8033A2D4 00337234 48 00 06 09 */ bl sub_8033a8dc +/* 8033A2D8 00337238 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A2DC 0033723C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A2E0 00337240 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033A2E4 00337244 7C 08 03 A6 */ mtlr r0 +/* 8033A2E8 00337248 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A2EC 0033724C 4E 80 00 20 */ blr + +.global sub_8033a2f0 +sub_8033a2f0: +/* 8033A2F0 00337250 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8033A2F4 00337254 7C 08 02 A6 */ mflr r0 +/* 8033A2F8 00337258 7C 85 23 78 */ mr r5, r4 +/* 8033A2FC 0033725C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8033A300 00337260 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8033A304 00337264 7C 7F 1B 78 */ mr r31, r3 +/* 8033A308 00337268 7F E4 FB 78 */ mr r4, r31 +/* 8033A30C 0033726C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8033A310 00337270 48 00 01 05 */ bl sub_8033a414 +/* 8033A314 00337274 80 E1 00 38 */ lwz r7, 0x38(r1) +/* 8033A318 00337278 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033A31C 0033727C 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 8033A320 00337280 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033A324 00337284 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 8033A328 00337288 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033A32C 0033728C 90 E1 00 48 */ stw r7, 0x48(r1) +/* 8033A330 00337290 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 8033A334 00337294 90 A1 00 50 */ stw r5, 0x50(r1) +/* 8033A338 00337298 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033A33C 0033729C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8033A340 003372A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A344 003372A4 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8033A348 003372A8 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8033A34C 003372AC 48 00 04 B5 */ bl sub_8033a800 +/* 8033A350 003372B0 83 C1 00 4C */ lwz r30, 0x4c(r1) +/* 8033A354 003372B4 7C 7A 1B 78 */ mr r26, r3 +/* 8033A358 003372B8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8033A35C 003372BC 93 C1 00 34 */ stw r30, 0x34(r1) +/* 8033A360 003372C0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8033A364 003372C4 90 01 00 30 */ stw r0, 0x30(r1) +/* 8033A368 003372C8 83 61 00 54 */ lwz r27, 0x54(r1) +/* 8033A36C 003372CC 48 00 00 68 */ b lbl_8033A3D4 +lbl_8033A370: +/* 8033A370 003372D0 90 81 00 08 */ stw r4, 8(r1) +/* 8033A374 003372D4 7F C3 F3 78 */ mr r3, r30 +/* 8033A378 003372D8 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8033A37C 003372DC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8033A380 003372E0 48 00 22 61 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8033A384 003372E4 83 A1 00 08 */ lwz r29, 8(r1) +/* 8033A388 003372E8 7F C0 F3 78 */ mr r0, r30 +/* 8033A38C 003372EC 90 61 00 30 */ stw r3, 0x30(r1) +/* 8033A390 003372F0 7C 03 03 78 */ mr r3, r0 +/* 8033A394 003372F4 7F A4 EB 78 */ mr r4, r29 +/* 8033A398 003372F8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8033A39C 003372FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A3A0 00337300 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8033A3A4 00337304 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033A3A8 00337308 48 00 22 39 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8033A3AC 0033730C 90 61 00 18 */ stw r3, 0x18(r1) +/* 8033A3B0 00337310 7F A4 EB 78 */ mr r4, r29 +/* 8033A3B4 00337314 38 7F 00 08 */ addi r3, r31, 8 +/* 8033A3B8 00337318 48 00 22 C5 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 8033A3BC 0033731C 28 03 00 00 */ cmplwi r3, 0 +/* 8033A3C0 00337320 41 82 00 08 */ beq lbl_8033A3C8 +/* 8033A3C4 00337324 4B FD B5 6D */ bl Free__7CMemoryFPCv +lbl_8033A3C8: +/* 8033A3C8 00337328 80 7F 00 04 */ lwz r3, 4(r31) +/* 8033A3CC 0033732C 38 03 FF FF */ addi r0, r3, -1 +/* 8033A3D0 00337330 90 1F 00 04 */ stw r0, 4(r31) +lbl_8033A3D4: +/* 8033A3D4 00337334 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8033A3D8 00337338 38 60 00 00 */ li r3, 0 +/* 8033A3DC 0033733C 7C 04 E0 40 */ cmplw r4, r28 +/* 8033A3E0 00337340 40 82 00 10 */ bne lbl_8033A3F0 +/* 8033A3E4 00337344 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033A3E8 00337348 7C 00 D8 40 */ cmplw r0, r27 +/* 8033A3EC 0033734C 41 82 00 08 */ beq lbl_8033A3F4 +lbl_8033A3F0: +/* 8033A3F0 00337350 38 60 00 01 */ li r3, 1 +lbl_8033A3F4: +/* 8033A3F4 00337354 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033A3F8 00337358 40 82 FF 78 */ bne lbl_8033A370 +/* 8033A3FC 0033735C 7F 43 D3 78 */ mr r3, r26 +/* 8033A400 00337360 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8033A404 00337364 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8033A408 00337368 7C 08 03 A6 */ mtlr r0 +/* 8033A40C 0033736C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8033A410 00337370 4E 80 00 20 */ blr + +.global sub_8033a414 +sub_8033a414: +/* 8033A414 00337374 80 C4 00 10 */ lwz r6, 0x10(r4) +/* 8033A418 00337378 39 00 00 00 */ li r8, 0 +/* 8033A41C 0033737C 7C C9 33 78 */ mr r9, r6 +/* 8033A420 00337380 48 00 00 58 */ b lbl_8033A478 +lbl_8033A424: +/* 8033A424 00337384 80 05 00 00 */ lwz r0, 0(r5) +/* 8033A428 00337388 80 E9 00 10 */ lwz r7, 0x10(r9) +/* 8033A42C 0033738C 7C 00 38 40 */ cmplw r0, r7 +/* 8033A430 00337390 40 82 00 20 */ bne lbl_8033A450 +/* 8033A434 00337394 80 05 00 04 */ lwz r0, 4(r5) +/* 8033A438 00337398 80 E9 00 14 */ lwz r7, 0x14(r9) +/* 8033A43C 0033739C 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A440 003373A0 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A444 003373A4 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A448 003373A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A44C 003373AC 48 00 00 14 */ b lbl_8033A460 +lbl_8033A450: +/* 8033A450 003373B0 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A454 003373B4 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A458 003373B8 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A45C 003373BC 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A460: +/* 8033A460 003373C0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A464 003373C4 41 82 00 10 */ beq lbl_8033A474 +/* 8033A468 003373C8 7D 28 4B 78 */ mr r8, r9 +/* 8033A46C 003373CC 81 29 00 00 */ lwz r9, 0(r9) +/* 8033A470 003373D0 48 00 00 08 */ b lbl_8033A478 +lbl_8033A474: +/* 8033A474 003373D4 81 29 00 04 */ lwz r9, 4(r9) +lbl_8033A478: +/* 8033A478 003373D8 28 09 00 00 */ cmplwi r9, 0 +/* 8033A47C 003373DC 40 82 FF A8 */ bne lbl_8033A424 +/* 8033A480 003373E0 39 44 00 08 */ addi r10, r4, 8 +/* 8033A484 003373E4 39 20 00 00 */ li r9, 0 +/* 8033A488 003373E8 48 00 00 58 */ b lbl_8033A4E0 +lbl_8033A48C: +/* 8033A48C 003373EC 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8033A490 003373F0 80 E5 00 00 */ lwz r7, 0(r5) +/* 8033A494 003373F4 7C 00 38 40 */ cmplw r0, r7 +/* 8033A498 003373F8 40 82 00 20 */ bne lbl_8033A4B8 +/* 8033A49C 003373FC 80 06 00 14 */ lwz r0, 0x14(r6) +/* 8033A4A0 00337400 80 E5 00 04 */ lwz r7, 4(r5) +/* 8033A4A4 00337404 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A4A8 00337408 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A4AC 0033740C 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A4B0 00337410 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A4B4 00337414 48 00 00 14 */ b lbl_8033A4C8 +lbl_8033A4B8: +/* 8033A4B8 00337418 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A4BC 0033741C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A4C0 00337420 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A4C4 00337424 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A4C8: +/* 8033A4C8 00337428 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A4CC 0033742C 40 82 00 10 */ bne lbl_8033A4DC +/* 8033A4D0 00337430 7C C9 33 78 */ mr r9, r6 +/* 8033A4D4 00337434 80 C6 00 00 */ lwz r6, 0(r6) +/* 8033A4D8 00337438 48 00 00 08 */ b lbl_8033A4E0 +lbl_8033A4DC: +/* 8033A4DC 0033743C 80 C6 00 04 */ lwz r6, 4(r6) +lbl_8033A4E0: +/* 8033A4E0 00337440 28 06 00 00 */ cmplwi r6, 0 +/* 8033A4E4 00337444 40 82 FF A8 */ bne lbl_8033A48C +/* 8033A4E8 00337448 91 23 00 00 */ stw r9, 0(r3) +/* 8033A4EC 0033744C 38 04 00 08 */ addi r0, r4, 8 +/* 8033A4F0 00337450 90 03 00 04 */ stw r0, 4(r3) +/* 8033A4F4 00337454 91 03 00 08 */ stw r8, 8(r3) +/* 8033A4F8 00337458 91 43 00 0C */ stw r10, 0xc(r3) +/* 8033A4FC 0033745C 4E 80 00 20 */ blr + +.global sub_8033a500 +sub_8033a500: +/* 8033A500 00337460 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033A504 00337464 7C 08 02 A6 */ mflr r0 +/* 8033A508 00337468 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033A50C 0033746C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033A510 00337470 7C 9F 23 78 */ mr r31, r4 +/* 8033A514 00337474 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033A518 00337478 7C 7E 1B 78 */ mr r30, r3 +/* 8033A51C 0033747C 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 8033A520 00337480 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8033A524 00337484 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033A528 00337488 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A52C 0033748C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8033A530 00337490 7D 89 03 A6 */ mtctr r12 +/* 8033A534 00337494 4E 80 04 21 */ bctrl +/* 8033A538 00337498 2C 03 00 00 */ cmpwi r3, 0 +/* 8033A53C 0033749C 40 82 00 48 */ bne lbl_8033A584 +/* 8033A540 003374A0 80 1E 00 88 */ lwz r0, 0x88(r30) +/* 8033A544 003374A4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033A548 003374A8 48 00 00 2C */ b lbl_8033A574 +lbl_8033A54C: +/* 8033A54C 003374AC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033A550 003374B0 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A554 003374B4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8033A558 003374B8 7D 89 03 A6 */ mtctr r12 +/* 8033A55C 003374BC 4E 80 04 21 */ bctrl +/* 8033A560 003374C0 2C 03 00 01 */ cmpwi r3, 1 +/* 8033A564 003374C4 41 82 00 20 */ beq lbl_8033A584 +/* 8033A568 003374C8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033A56C 003374CC 80 03 00 04 */ lwz r0, 4(r3) +/* 8033A570 003374D0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8033A574: +/* 8033A574 003374D4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033A578 003374D8 80 1E 00 8C */ lwz r0, 0x8c(r30) +/* 8033A57C 003374DC 7C 03 00 40 */ cmplw r3, r0 +/* 8033A580 003374E0 40 82 FF CC */ bne lbl_8033A54C +lbl_8033A584: +/* 8033A584 003374E4 7F E6 FB 78 */ mr r6, r31 +/* 8033A588 003374E8 38 61 00 08 */ addi r3, r1, 8 +/* 8033A58C 003374EC 38 9E 00 84 */ addi r4, r30, 0x84 +/* 8033A590 003374F0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8033A594 003374F4 48 00 00 49 */ bl sub_8033a5dc +/* 8033A598 003374F8 80 FF 00 00 */ lwz r7, 0(r31) +/* 8033A59C 003374FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8033A5A0 00337500 80 BF 00 04 */ lwz r5, 4(r31) +/* 8033A5A4 00337504 38 9E 00 9C */ addi r4, r30, 0x9c +/* 8033A5A8 00337508 80 01 00 08 */ lwz r0, 8(r1) +/* 8033A5AC 0033750C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8033A5B0 00337510 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8033A5B4 00337514 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8033A5B8 00337518 90 01 00 18 */ stw r0, 0x18(r1) +/* 8033A5BC 0033751C 80 BE 00 AC */ lwz r5, 0xac(r30) +/* 8033A5C0 00337520 48 00 04 45 */ bl sub_8033aa04 +/* 8033A5C4 00337524 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033A5C8 00337528 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8033A5CC 0033752C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033A5D0 00337530 7C 08 03 A6 */ mtlr r0 +/* 8033A5D4 00337534 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033A5D8 00337538 4E 80 00 20 */ blr + +.global sub_8033a5dc +sub_8033a5dc: +/* 8033A5DC 0033753C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A5E0 00337540 7C 08 02 A6 */ mflr r0 +/* 8033A5E4 00337544 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A5E8 00337548 7C 80 23 78 */ mr r0, r4 +/* 8033A5EC 0033754C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A5F0 00337550 7C 7F 1B 78 */ mr r31, r3 +/* 8033A5F4 00337554 7C 03 03 78 */ mr r3, r0 +/* 8033A5F8 00337558 80 85 00 00 */ lwz r4, 0(r5) +/* 8033A5FC 0033755C 7C C5 33 78 */ mr r5, r6 +/* 8033A600 00337560 4B FF F7 9D */ bl sub_80339d9c +/* 8033A604 00337564 90 7F 00 00 */ stw r3, 0(r31) +/* 8033A608 00337568 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A60C 0033756C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A610 00337570 7C 08 03 A6 */ mtlr r0 +/* 8033A614 00337574 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A618 00337578 4E 80 00 20 */ blr + +.global __dt__11CResFactoryFv +__dt__11CResFactoryFv: +/* 8033A61C 0033757C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A620 00337580 7C 08 02 A6 */ mflr r0 +/* 8033A624 00337584 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A628 00337588 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A62C 0033758C 7C 9F 23 78 */ mr r31, r4 +/* 8033A630 00337590 93 C1 00 08 */ stw r30, 8(r1) +/* 8033A634 00337594 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033A638 00337598 41 82 00 9C */ beq lbl_8033A6D4 +/* 8033A63C 0033759C 3C 80 80 3F */ lis r4, lbl_803EE368@ha +/* 8033A640 003375A0 38 7E 00 B0 */ addi r3, r30, 0xb0 +/* 8033A644 003375A4 38 04 E3 68 */ addi r0, r4, lbl_803EE368@l +/* 8033A648 003375A8 38 80 FF FF */ li r4, -1 +/* 8033A64C 003375AC 90 1E 00 00 */ stw r0, 0(r30) +/* 8033A650 003375B0 48 00 03 21 */ bl sub_8033a970 +/* 8033A654 003375B4 34 1E 00 9C */ addic. r0, r30, 0x9c +/* 8033A658 003375B8 41 82 00 34 */ beq lbl_8033A68C +/* 8033A65C 003375BC 34 1E 00 9C */ addic. r0, r30, 0x9c +/* 8033A660 003375C0 41 82 00 2C */ beq lbl_8033A68C +/* 8033A664 003375C4 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8033A668 003375C8 28 04 00 00 */ cmplwi r4, 0 +/* 8033A66C 003375CC 41 82 00 0C */ beq lbl_8033A678 +/* 8033A670 003375D0 38 7E 00 9C */ addi r3, r30, 0x9c +/* 8033A674 003375D4 48 00 01 25 */ bl sub_8033a798 +lbl_8033A678: +/* 8033A678 003375D8 38 00 00 00 */ li r0, 0 +/* 8033A67C 003375DC 90 1E 00 AC */ stw r0, 0xac(r30) +/* 8033A680 003375E0 90 1E 00 A4 */ stw r0, 0xa4(r30) +/* 8033A684 003375E4 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 8033A688 003375E8 90 1E 00 A0 */ stw r0, 0xa0(r30) +lbl_8033A68C: +/* 8033A68C 003375EC 38 7E 00 84 */ addi r3, r30, 0x84 +/* 8033A690 003375F0 38 80 FF FF */ li r4, -1 +/* 8033A694 003375F4 48 00 02 DD */ bl sub_8033a970 +/* 8033A698 003375F8 38 7E 00 5C */ addi r3, r30, 0x5c +/* 8033A69C 003375FC 38 80 FF FF */ li r4, -1 +/* 8033A6A0 00337600 4B FF E7 C1 */ bl sub_80338e60 +/* 8033A6A4 00337604 38 7E 00 04 */ addi r3, r30, 4 +/* 8033A6A8 00337608 38 80 FF FF */ li r4, -1 +/* 8033A6AC 0033760C 48 00 1C 5D */ bl __dt__10CResLoaderFv +/* 8033A6B0 00337610 28 1E 00 00 */ cmplwi r30, 0 +/* 8033A6B4 00337614 41 82 00 10 */ beq lbl_8033A6C4 +/* 8033A6B8 00337618 3C 60 80 3E */ lis r3, lbl_803D9C50@ha +/* 8033A6BC 0033761C 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l +/* 8033A6C0 00337620 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033A6C4: +/* 8033A6C4 00337624 7F E0 07 35 */ extsh. r0, r31 +/* 8033A6C8 00337628 40 81 00 0C */ ble lbl_8033A6D4 +/* 8033A6CC 0033762C 7F C3 F3 78 */ mr r3, r30 +/* 8033A6D0 00337630 4B FD B2 61 */ bl Free__7CMemoryFPCv +lbl_8033A6D4: +/* 8033A6D4 00337634 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A6D8 00337638 7F C3 F3 78 */ mr r3, r30 +/* 8033A6DC 0033763C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A6E0 00337640 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033A6E4 00337644 7C 08 03 A6 */ mtlr r0 +/* 8033A6E8 00337648 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A6EC 0033764C 4E 80 00 20 */ blr + +.global __ct__11CResFactoryFv +__ct__11CResFactoryFv: +/* 8033A6F0 00337650 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A6F4 00337654 7C 08 02 A6 */ mflr r0 +/* 8033A6F8 00337658 3C 80 80 3E */ lis r4, lbl_803D9C50@ha +/* 8033A6FC 0033765C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A700 00337660 38 04 9C 50 */ addi r0, r4, lbl_803D9C50@l +/* 8033A704 00337664 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A708 00337668 7C 7F 1B 78 */ mr r31, r3 +/* 8033A70C 0033766C 3C 60 80 3F */ lis r3, lbl_803EE368@ha +/* 8033A710 00337670 90 1F 00 00 */ stw r0, 0(r31) +/* 8033A714 00337674 38 03 E3 68 */ addi r0, r3, lbl_803EE368@l +/* 8033A718 00337678 38 7F 00 04 */ addi r3, r31, 4 +/* 8033A71C 0033767C 90 1F 00 00 */ stw r0, 0(r31) +/* 8033A720 00337680 48 00 1C 9D */ bl __ct__10CResLoaderFv +/* 8033A724 00337684 38 7F 00 5C */ addi r3, r31, 0x5c +/* 8033A728 00337688 4B FF E7 F1 */ bl __ct__11CFactoryMgrFv +/* 8033A72C 0033768C 38 FF 00 90 */ addi r7, r31, 0x90 +/* 8033A730 00337690 38 C0 00 00 */ li r6, 0 +/* 8033A734 00337694 90 FF 00 88 */ stw r7, 0x88(r31) +/* 8033A738 00337698 38 1F 00 BC */ addi r0, r31, 0xbc +/* 8033A73C 0033769C 88 A1 00 08 */ lbz r5, 8(r1) +/* 8033A740 003376A0 7F E3 FB 78 */ mr r3, r31 +/* 8033A744 003376A4 90 FF 00 8C */ stw r7, 0x8c(r31) +/* 8033A748 003376A8 88 81 00 0C */ lbz r4, 0xc(r1) +/* 8033A74C 003376AC 90 FF 00 90 */ stw r7, 0x90(r31) +/* 8033A750 003376B0 90 FF 00 94 */ stw r7, 0x94(r31) +/* 8033A754 003376B4 90 DF 00 98 */ stw r6, 0x98(r31) +/* 8033A758 003376B8 98 BF 00 9C */ stb r5, 0x9c(r31) +/* 8033A75C 003376BC 98 9F 00 9D */ stb r4, 0x9d(r31) +/* 8033A760 003376C0 90 DF 00 A0 */ stw r6, 0xa0(r31) +/* 8033A764 003376C4 90 DF 00 A4 */ stw r6, 0xa4(r31) +/* 8033A768 003376C8 90 DF 00 A8 */ stw r6, 0xa8(r31) +/* 8033A76C 003376CC 90 DF 00 AC */ stw r6, 0xac(r31) +/* 8033A770 003376D0 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 8033A774 003376D4 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8033A778 003376D8 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8033A77C 003376DC 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 8033A780 003376E0 90 DF 00 C4 */ stw r6, 0xc4(r31) +/* 8033A784 003376E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A788 003376E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A78C 003376EC 7C 08 03 A6 */ mtlr r0 +/* 8033A790 003376F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A794 003376F4 4E 80 00 20 */ blr + +.global sub_8033a798 +sub_8033a798: +/* 8033A798 003376F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A79C 003376FC 7C 08 02 A6 */ mflr r0 +/* 8033A7A0 00337700 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A7A4 00337704 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A7A8 00337708 7C 9F 23 78 */ mr r31, r4 +/* 8033A7AC 0033770C 93 C1 00 08 */ stw r30, 8(r1) +/* 8033A7B0 00337710 7C 7E 1B 78 */ mr r30, r3 +/* 8033A7B4 00337714 80 84 00 00 */ lwz r4, 0(r4) +/* 8033A7B8 00337718 28 04 00 00 */ cmplwi r4, 0 +/* 8033A7BC 0033771C 41 82 00 08 */ beq lbl_8033A7C4 +/* 8033A7C0 00337720 4B FF FF D9 */ bl sub_8033a798 +lbl_8033A7C4: +/* 8033A7C4 00337724 80 9F 00 04 */ lwz r4, 4(r31) +/* 8033A7C8 00337728 28 04 00 00 */ cmplwi r4, 0 +/* 8033A7CC 0033772C 41 82 00 0C */ beq lbl_8033A7D8 +/* 8033A7D0 00337730 7F C3 F3 78 */ mr r3, r30 +/* 8033A7D4 00337734 4B FF FF C5 */ bl sub_8033a798 +lbl_8033A7D8: +/* 8033A7D8 00337738 28 1F 00 00 */ cmplwi r31, 0 +/* 8033A7DC 0033773C 41 82 00 0C */ beq lbl_8033A7E8 +/* 8033A7E0 00337740 7F E3 FB 78 */ mr r3, r31 +/* 8033A7E4 00337744 4B FD B1 4D */ bl Free__7CMemoryFPCv +lbl_8033A7E8: +/* 8033A7E8 00337748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A7EC 0033774C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A7F0 00337750 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033A7F4 00337754 7C 08 03 A6 */ mtlr r0 +/* 8033A7F8 00337758 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A7FC 0033775C 4E 80 00 20 */ blr + +.global sub_8033a800 +sub_8033a800: +/* 8033A800 00337760 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A804 00337764 7C 08 02 A6 */ mflr r0 +/* 8033A808 00337768 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A80C 0033776C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8033A810 00337770 89 21 00 08 */ lbz r9, 8(r1) +/* 8033A814 00337774 81 04 00 00 */ lwz r8, 0(r4) +/* 8033A818 00337778 80 E4 00 04 */ lwz r7, 4(r4) +/* 8033A81C 0033777C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033A820 00337780 80 C3 00 00 */ lwz r6, 0(r3) +/* 8033A824 00337784 80 03 00 04 */ lwz r0, 4(r3) +/* 8033A828 00337788 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033A82C 0033778C 99 21 00 0C */ stb r9, 0xc(r1) +/* 8033A830 00337790 91 01 00 10 */ stw r8, 0x10(r1) +/* 8033A834 00337794 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8033A838 00337798 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8033A83C 0033779C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033A840 003377A0 48 00 00 15 */ bl sub_8033a854 +/* 8033A844 003377A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A848 003377A8 7C 08 03 A6 */ mtlr r0 +/* 8033A84C 003377AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A850 003377B0 4E 80 00 20 */ blr + +.global sub_8033a854 +sub_8033a854: +/* 8033A854 003377B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A858 003377B8 7C 08 02 A6 */ mflr r0 +/* 8033A85C 003377BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A860 003377C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A864 003377C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A868 003377C8 3B C0 00 00 */ li r30, 0 +/* 8033A86C 003377CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A870 003377D0 7C 9D 23 78 */ mr r29, r4 +/* 8033A874 003377D4 80 A3 00 00 */ lwz r5, 0(r3) +/* 8033A878 003377D8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8033A87C 003377DC 48 00 00 18 */ b lbl_8033A894 +lbl_8033A880: +/* 8033A880 003377E0 7F E3 FB 78 */ mr r3, r31 +/* 8033A884 003377E4 7C A4 2B 78 */ mr r4, r5 +/* 8033A888 003377E8 3B DE 00 01 */ addi r30, r30, 1 +/* 8033A88C 003377EC 48 00 1D 55 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8033A890 003377F0 7C 65 1B 78 */ mr r5, r3 +lbl_8033A894: +/* 8033A894 003377F4 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033A898 003377F8 38 60 00 00 */ li r3, 0 +/* 8033A89C 003377FC 7C 05 00 40 */ cmplw r5, r0 +/* 8033A8A0 00337800 40 82 00 10 */ bne lbl_8033A8B0 +/* 8033A8A4 00337804 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033A8A8 00337808 7C 1F 00 40 */ cmplw r31, r0 +/* 8033A8AC 0033780C 41 82 00 08 */ beq lbl_8033A8B4 +lbl_8033A8B0: +/* 8033A8B0 00337810 38 60 00 01 */ li r3, 1 +lbl_8033A8B4: +/* 8033A8B4 00337814 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033A8B8 00337818 40 82 FF C8 */ bne lbl_8033A880 +/* 8033A8BC 0033781C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A8C0 00337820 7F C3 F3 78 */ mr r3, r30 +/* 8033A8C4 00337824 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A8C8 00337828 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A8CC 0033782C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A8D0 00337830 7C 08 03 A6 */ mtlr r0 +/* 8033A8D4 00337834 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A8D8 00337838 4E 80 00 20 */ blr + +.global sub_8033a8dc +sub_8033a8dc: +/* 8033A8DC 0033783C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A8E0 00337840 7C 08 02 A6 */ mflr r0 +/* 8033A8E4 00337844 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A8E8 00337848 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A8EC 0033784C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A8F0 00337850 7C 9E 23 78 */ mr r30, r4 +/* 8033A8F4 00337854 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A8F8 00337858 7C 7D 1B 78 */ mr r29, r3 +/* 8033A8FC 0033785C 80 03 00 04 */ lwz r0, 4(r3) +/* 8033A900 00337860 83 E4 00 04 */ lwz r31, 4(r4) +/* 8033A904 00337864 7C 1E 00 40 */ cmplw r30, r0 +/* 8033A908 00337868 40 82 00 08 */ bne lbl_8033A910 +/* 8033A90C 0033786C 93 FD 00 04 */ stw r31, 4(r29) +lbl_8033A910: +/* 8033A910 00337870 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033A914 00337874 38 7E 00 08 */ addi r3, r30, 8 +/* 8033A918 00337878 80 BE 00 00 */ lwz r5, 0(r30) +/* 8033A91C 0033787C 38 80 FF FF */ li r4, -1 +/* 8033A920 00337880 90 05 00 04 */ stw r0, 4(r5) +/* 8033A924 00337884 80 1E 00 00 */ lwz r0, 0(r30) +/* 8033A928 00337888 80 BE 00 04 */ lwz r5, 4(r30) +/* 8033A92C 0033788C 90 05 00 00 */ stw r0, 0(r5) +/* 8033A930 00337890 4B FF EF 51 */ bl sub_80339880 +/* 8033A934 00337894 28 1E 00 00 */ cmplwi r30, 0 +/* 8033A938 00337898 41 82 00 0C */ beq lbl_8033A944 +/* 8033A93C 0033789C 7F C3 F3 78 */ mr r3, r30 +/* 8033A940 003378A0 4B FD AF F1 */ bl Free__7CMemoryFPCv +lbl_8033A944: +/* 8033A944 003378A4 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8033A948 003378A8 7F E3 FB 78 */ mr r3, r31 +/* 8033A94C 003378AC 38 04 FF FF */ addi r0, r4, -1 +/* 8033A950 003378B0 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8033A954 003378B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A958 003378B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A95C 003378BC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A960 003378C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A964 003378C4 7C 08 03 A6 */ mtlr r0 +/* 8033A968 003378C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A96C 003378CC 4E 80 00 20 */ blr + +.global sub_8033a970 +sub_8033a970: +/* 8033A970 003378D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A974 003378D4 7C 08 02 A6 */ mflr r0 +/* 8033A978 003378D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A97C 003378DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A980 003378E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A984 003378E4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A988 003378E8 7C 9D 23 78 */ mr r29, r4 +/* 8033A98C 003378EC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033A990 003378F0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8033A994 003378F4 41 82 00 4C */ beq lbl_8033A9E0 +/* 8033A998 003378F8 83 FC 00 04 */ lwz r31, 4(r28) +/* 8033A99C 003378FC 48 00 00 28 */ b lbl_8033A9C4 +lbl_8033A9A0: +/* 8033A9A0 00337900 7F FE FB 78 */ mr r30, r31 +/* 8033A9A4 00337904 83 FF 00 04 */ lwz r31, 4(r31) +/* 8033A9A8 00337908 38 7E 00 08 */ addi r3, r30, 8 +/* 8033A9AC 0033790C 38 80 FF FF */ li r4, -1 +/* 8033A9B0 00337910 4B FF EE D1 */ bl sub_80339880 +/* 8033A9B4 00337914 28 1E 00 00 */ cmplwi r30, 0 +/* 8033A9B8 00337918 41 82 00 0C */ beq lbl_8033A9C4 +/* 8033A9BC 0033791C 7F C3 F3 78 */ mr r3, r30 +/* 8033A9C0 00337920 4B FD AF 71 */ bl Free__7CMemoryFPCv +lbl_8033A9C4: +/* 8033A9C4 00337924 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033A9C8 00337928 7C 1F 00 40 */ cmplw r31, r0 +/* 8033A9CC 0033792C 40 82 FF D4 */ bne lbl_8033A9A0 +/* 8033A9D0 00337930 7F A0 07 35 */ extsh. r0, r29 +/* 8033A9D4 00337934 40 81 00 0C */ ble lbl_8033A9E0 +/* 8033A9D8 00337938 7F 83 E3 78 */ mr r3, r28 +/* 8033A9DC 0033793C 4B FD AF 55 */ bl Free__7CMemoryFPCv +lbl_8033A9E0: +/* 8033A9E0 00337940 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A9E4 00337944 7F 83 E3 78 */ mr r3, r28 +/* 8033A9E8 00337948 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A9EC 0033794C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A9F0 00337950 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A9F4 00337954 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033A9F8 00337958 7C 08 03 A6 */ mtlr r0 +/* 8033A9FC 0033795C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033AA00 00337960 4E 80 00 20 */ blr + +.global sub_8033aa04 +sub_8033aa04: +/* 8033AA04 00337964 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033AA08 00337968 7C 08 02 A6 */ mflr r0 +/* 8033AA0C 0033796C 28 05 00 00 */ cmplwi r5, 0 +/* 8033AA10 00337970 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033AA14 00337974 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8033AA18 00337978 7C 7B 1B 78 */ mr r27, r3 +/* 8033AA1C 0033797C 7C 9C 23 78 */ mr r28, r4 +/* 8033AA20 00337980 7C DD 33 78 */ mr r29, r6 +/* 8033AA24 00337984 40 82 00 90 */ bne lbl_8033AAB4 +/* 8033AA28 00337988 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 8033AA2C 0033798C 38 60 00 1C */ li r3, 0x1c +/* 8033AA30 00337990 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033AA34 00337994 38 A0 00 00 */ li r5, 0 +/* 8033AA38 00337998 4B FD AD E1 */ bl __nwa__FUlPCcPCc +/* 8033AA3C 0033799C 28 03 00 00 */ cmplwi r3, 0 +/* 8033AA40 003379A0 41 82 00 38 */ beq lbl_8033AA78 +/* 8033AA44 003379A4 38 00 00 00 */ li r0, 0 +/* 8033AA48 003379A8 34 83 00 10 */ addic. r4, r3, 0x10 +/* 8033AA4C 003379AC 90 03 00 00 */ stw r0, 0(r3) +/* 8033AA50 003379B0 90 03 00 04 */ stw r0, 4(r3) +/* 8033AA54 003379B4 90 03 00 08 */ stw r0, 8(r3) +/* 8033AA58 003379B8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033AA5C 003379BC 41 82 00 1C */ beq lbl_8033AA78 +/* 8033AA60 003379C0 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033AA64 003379C4 90 04 00 00 */ stw r0, 0(r4) +/* 8033AA68 003379C8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033AA6C 003379CC 90 04 00 04 */ stw r0, 4(r4) +/* 8033AA70 003379D0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033AA74 003379D4 90 04 00 08 */ stw r0, 8(r4) +lbl_8033AA78: +/* 8033AA78 003379D8 90 7C 00 10 */ stw r3, 0x10(r28) +/* 8033AA7C 003379DC 38 1C 00 08 */ addi r0, r28, 8 +/* 8033AA80 003379E0 80 7C 00 04 */ lwz r3, 4(r28) +/* 8033AA84 003379E4 38 63 00 01 */ addi r3, r3, 1 +/* 8033AA88 003379E8 90 7C 00 04 */ stw r3, 4(r28) +/* 8033AA8C 003379EC 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8033AA90 003379F0 90 7C 00 08 */ stw r3, 8(r28) +/* 8033AA94 003379F4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8033AA98 003379F8 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8033AA9C 003379FC 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8033AAA0 00337A00 90 7B 00 00 */ stw r3, 0(r27) +/* 8033AAA4 00337A04 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AAA8 00337A08 88 0D 9D 4C */ lbz r0, lbl_805A890C@sda21(r13) +/* 8033AAAC 00337A0C 98 1B 00 08 */ stb r0, 8(r27) +/* 8033AAB0 00337A10 48 00 01 EC */ b lbl_8033AC9C +lbl_8033AAB4: +/* 8033AAB4 00337A14 7C BF 2B 78 */ mr r31, r5 +/* 8033AAB8 00337A18 3B C0 00 00 */ li r30, 0 +/* 8033AABC 00337A1C 48 00 01 AC */ b lbl_8033AC68 +lbl_8033AAC0: +/* 8033AAC0 00337A20 80 BD 00 00 */ lwz r5, 0(r29) +/* 8033AAC4 00337A24 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8033AAC8 00337A28 7C 05 18 40 */ cmplw r5, r3 +/* 8033AACC 00337A2C 40 82 00 20 */ bne lbl_8033AAEC +/* 8033AAD0 00337A30 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033AAD4 00337A34 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8033AAD8 00337A38 7C 60 02 78 */ xor r0, r3, r0 +/* 8033AADC 00337A3C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AAE0 00337A40 7C 60 00 30 */ slw r0, r3, r0 +/* 8033AAE4 00337A44 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8033AAE8 00337A48 48 00 00 14 */ b lbl_8033AAFC +lbl_8033AAEC: +/* 8033AAEC 00337A4C 7C 60 2A 78 */ xor r0, r3, r5 +/* 8033AAF0 00337A50 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AAF4 00337A54 7C 60 00 30 */ slw r0, r3, r0 +/* 8033AAF8 00337A58 54 04 0F FE */ srwi r4, r0, 0x1f +lbl_8033AAFC: +/* 8033AAFC 00337A5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8033AB00 00337A60 40 82 00 5C */ bne lbl_8033AB5C +/* 8033AB04 00337A64 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033AB08 00337A68 7C 00 28 40 */ cmplw r0, r5 +/* 8033AB0C 00337A6C 40 82 00 20 */ bne lbl_8033AB2C +/* 8033AB10 00337A70 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8033AB14 00337A74 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033AB18 00337A78 7C 60 02 78 */ xor r0, r3, r0 +/* 8033AB1C 00337A7C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AB20 00337A80 7C 60 00 30 */ slw r0, r3, r0 +/* 8033AB24 00337A84 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033AB28 00337A88 48 00 00 14 */ b lbl_8033AB3C +lbl_8033AB2C: +/* 8033AB2C 00337A8C 7C A0 02 78 */ xor r0, r5, r0 +/* 8033AB30 00337A90 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AB34 00337A94 7C A0 00 30 */ slw r0, r5, r0 +/* 8033AB38 00337A98 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033AB3C: +/* 8033AB3C 00337A9C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033AB40 00337AA0 40 82 00 1C */ bne lbl_8033AB5C +/* 8033AB44 00337AA4 93 FB 00 00 */ stw r31, 0(r27) +/* 8033AB48 00337AA8 38 1C 00 08 */ addi r0, r28, 8 +/* 8033AB4C 00337AAC 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AB50 00337AB0 88 0D 9D 4D */ lbz r0, lbl_805A890D@sda21(r13) +/* 8033AB54 00337AB4 98 1B 00 08 */ stb r0, 8(r27) +/* 8033AB58 00337AB8 48 00 01 44 */ b lbl_8033AC9C +lbl_8033AB5C: +/* 8033AB5C 00337ABC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8033AB60 00337AC0 41 82 00 88 */ beq lbl_8033ABE8 +/* 8033AB64 00337AC4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8033AB68 00337AC8 28 00 00 00 */ cmplwi r0, 0 +/* 8033AB6C 00337ACC 40 82 00 74 */ bne lbl_8033ABE0 +/* 8033AB70 00337AD0 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 8033AB74 00337AD4 38 60 00 1C */ li r3, 0x1c +/* 8033AB78 00337AD8 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033AB7C 00337ADC 38 A0 00 00 */ li r5, 0 +/* 8033AB80 00337AE0 4B FD AC 99 */ bl __nwa__FUlPCcPCc +/* 8033AB84 00337AE4 28 03 00 00 */ cmplwi r3, 0 +/* 8033AB88 00337AE8 41 82 00 3C */ beq lbl_8033ABC4 +/* 8033AB8C 00337AEC 38 80 00 00 */ li r4, 0 +/* 8033AB90 00337AF0 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8033AB94 00337AF4 90 83 00 00 */ stw r4, 0(r3) +/* 8033AB98 00337AF8 38 00 00 01 */ li r0, 1 +/* 8033AB9C 00337AFC 90 83 00 04 */ stw r4, 4(r3) +/* 8033ABA0 00337B00 93 E3 00 08 */ stw r31, 8(r3) +/* 8033ABA4 00337B04 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033ABA8 00337B08 41 82 00 1C */ beq lbl_8033ABC4 +/* 8033ABAC 00337B0C 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033ABB0 00337B10 90 05 00 00 */ stw r0, 0(r5) +/* 8033ABB4 00337B14 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033ABB8 00337B18 90 05 00 04 */ stw r0, 4(r5) +/* 8033ABBC 00337B1C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033ABC0 00337B20 90 05 00 08 */ stw r0, 8(r5) +lbl_8033ABC4: +/* 8033ABC4 00337B24 90 7F 00 00 */ stw r3, 0(r31) +/* 8033ABC8 00337B28 7C 7E 1B 78 */ mr r30, r3 +/* 8033ABCC 00337B2C 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033ABD0 00337B30 7C 1F 00 40 */ cmplw r31, r0 +/* 8033ABD4 00337B34 40 82 00 94 */ bne lbl_8033AC68 +/* 8033ABD8 00337B38 90 7C 00 08 */ stw r3, 8(r28) +/* 8033ABDC 00337B3C 48 00 00 8C */ b lbl_8033AC68 +lbl_8033ABE0: +/* 8033ABE0 00337B40 7C 1F 03 78 */ mr r31, r0 +/* 8033ABE4 00337B44 48 00 00 84 */ b lbl_8033AC68 +lbl_8033ABE8: +/* 8033ABE8 00337B48 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033ABEC 00337B4C 28 00 00 00 */ cmplwi r0, 0 +/* 8033ABF0 00337B50 40 82 00 74 */ bne lbl_8033AC64 +/* 8033ABF4 00337B54 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 8033ABF8 00337B58 38 60 00 1C */ li r3, 0x1c +/* 8033ABFC 00337B5C 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033AC00 00337B60 38 A0 00 00 */ li r5, 0 +/* 8033AC04 00337B64 4B FD AC 15 */ bl __nwa__FUlPCcPCc +/* 8033AC08 00337B68 28 03 00 00 */ cmplwi r3, 0 +/* 8033AC0C 00337B6C 41 82 00 3C */ beq lbl_8033AC48 +/* 8033AC10 00337B70 38 80 00 00 */ li r4, 0 +/* 8033AC14 00337B74 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8033AC18 00337B78 90 83 00 00 */ stw r4, 0(r3) +/* 8033AC1C 00337B7C 38 00 00 01 */ li r0, 1 +/* 8033AC20 00337B80 90 83 00 04 */ stw r4, 4(r3) +/* 8033AC24 00337B84 93 E3 00 08 */ stw r31, 8(r3) +/* 8033AC28 00337B88 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033AC2C 00337B8C 41 82 00 1C */ beq lbl_8033AC48 +/* 8033AC30 00337B90 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033AC34 00337B94 90 05 00 00 */ stw r0, 0(r5) +/* 8033AC38 00337B98 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033AC3C 00337B9C 90 05 00 04 */ stw r0, 4(r5) +/* 8033AC40 00337BA0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033AC44 00337BA4 90 05 00 08 */ stw r0, 8(r5) +lbl_8033AC48: +/* 8033AC48 00337BA8 90 7F 00 04 */ stw r3, 4(r31) +/* 8033AC4C 00337BAC 7C 7E 1B 78 */ mr r30, r3 +/* 8033AC50 00337BB0 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 8033AC54 00337BB4 7C 1F 00 40 */ cmplw r31, r0 +/* 8033AC58 00337BB8 40 82 00 10 */ bne lbl_8033AC68 +/* 8033AC5C 00337BBC 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8033AC60 00337BC0 48 00 00 08 */ b lbl_8033AC68 +lbl_8033AC64: +/* 8033AC64 00337BC4 7C 1F 03 78 */ mr r31, r0 +lbl_8033AC68: +/* 8033AC68 00337BC8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033AC6C 00337BCC 41 82 FE 54 */ beq lbl_8033AAC0 +/* 8033AC70 00337BD0 80 BC 00 04 */ lwz r5, 4(r28) +/* 8033AC74 00337BD4 7F C4 F3 78 */ mr r4, r30 +/* 8033AC78 00337BD8 38 7C 00 08 */ addi r3, r28, 8 +/* 8033AC7C 00337BDC 38 05 00 01 */ addi r0, r5, 1 +/* 8033AC80 00337BE0 90 1C 00 04 */ stw r0, 4(r28) +/* 8033AC84 00337BE4 48 00 1E 15 */ bl rbtree_rebalance__4rstlFPvPv +/* 8033AC88 00337BE8 93 DB 00 00 */ stw r30, 0(r27) +/* 8033AC8C 00337BEC 38 1C 00 08 */ addi r0, r28, 8 +/* 8033AC90 00337BF0 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AC94 00337BF4 88 0D 9D 4E */ lbz r0, lbl_805A890E@sda21(r13) +/* 8033AC98 00337BF8 98 1B 00 08 */ stb r0, 8(r27) +lbl_8033AC9C: +/* 8033AC9C 00337BFC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8033ACA0 00337C00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033ACA4 00337C04 7C 08 03 A6 */ mtlr r0 +/* 8033ACA8 00337C08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033ACAC 00337C0C 4E 80 00 20 */ blr + +.global GetPakFile__10CResLoaderCFi +GetPakFile__10CResLoaderCFi: +/* 8033ACB0 00337C10 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8033ACB4 00337C14 7C 04 00 00 */ cmpw r4, r0 +/* 8033ACB8 00337C18 40 80 00 7C */ bge lbl_8033AD34 +/* 8033ACBC 00337C1C 2C 04 00 00 */ cmpwi r4, 0 +/* 8033ACC0 00337C20 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033ACC4 00337C24 38 C0 00 00 */ li r6, 0 +/* 8033ACC8 00337C28 40 81 00 64 */ ble lbl_8033AD2C +/* 8033ACCC 00337C2C 2C 04 00 08 */ cmpwi r4, 8 +/* 8033ACD0 00337C30 38 64 FF F8 */ addi r3, r4, -8 +/* 8033ACD4 00337C34 40 81 00 40 */ ble lbl_8033AD14 +/* 8033ACD8 00337C38 38 03 00 07 */ addi r0, r3, 7 +/* 8033ACDC 00337C3C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033ACE0 00337C40 7C 09 03 A6 */ mtctr r0 +/* 8033ACE4 00337C44 2C 03 00 00 */ cmpwi r3, 0 +/* 8033ACE8 00337C48 40 81 00 2C */ ble lbl_8033AD14 +lbl_8033ACEC: +/* 8033ACEC 00337C4C 80 65 00 04 */ lwz r3, 4(r5) +/* 8033ACF0 00337C50 38 C6 00 08 */ addi r6, r6, 8 +/* 8033ACF4 00337C54 80 63 00 04 */ lwz r3, 4(r3) +/* 8033ACF8 00337C58 80 63 00 04 */ lwz r3, 4(r3) +/* 8033ACFC 00337C5C 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD00 00337C60 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD04 00337C64 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD08 00337C68 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD0C 00337C6C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033AD10 00337C70 42 00 FF DC */ bdnz lbl_8033ACEC +lbl_8033AD14: +/* 8033AD14 00337C74 7C 06 20 50 */ subf r0, r6, r4 +/* 8033AD18 00337C78 7C 09 03 A6 */ mtctr r0 +/* 8033AD1C 00337C7C 7C 06 20 00 */ cmpw r6, r4 +/* 8033AD20 00337C80 40 80 00 0C */ bge lbl_8033AD2C +lbl_8033AD24: +/* 8033AD24 00337C84 80 A5 00 04 */ lwz r5, 4(r5) +/* 8033AD28 00337C88 42 00 FF FC */ bdnz lbl_8033AD24 +lbl_8033AD2C: +/* 8033AD2C 00337C8C 80 65 00 0C */ lwz r3, 0xc(r5) +/* 8033AD30 00337C90 4E 80 00 20 */ blr +lbl_8033AD34: +/* 8033AD34 00337C94 7C 80 20 51 */ subf. r4, r0, r4 +/* 8033AD38 00337C98 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 8033AD3C 00337C9C 38 C0 00 00 */ li r6, 0 +/* 8033AD40 00337CA0 40 81 00 64 */ ble lbl_8033ADA4 +/* 8033AD44 00337CA4 2C 04 00 08 */ cmpwi r4, 8 +/* 8033AD48 00337CA8 38 64 FF F8 */ addi r3, r4, -8 +/* 8033AD4C 00337CAC 40 81 00 40 */ ble lbl_8033AD8C +/* 8033AD50 00337CB0 38 03 00 07 */ addi r0, r3, 7 +/* 8033AD54 00337CB4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033AD58 00337CB8 7C 09 03 A6 */ mtctr r0 +/* 8033AD5C 00337CBC 2C 03 00 00 */ cmpwi r3, 0 +/* 8033AD60 00337CC0 40 81 00 2C */ ble lbl_8033AD8C +lbl_8033AD64: +/* 8033AD64 00337CC4 80 65 00 04 */ lwz r3, 4(r5) +/* 8033AD68 00337CC8 38 C6 00 08 */ addi r6, r6, 8 +/* 8033AD6C 00337CCC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD70 00337CD0 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD74 00337CD4 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD78 00337CD8 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD7C 00337CDC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD80 00337CE0 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD84 00337CE4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033AD88 00337CE8 42 00 FF DC */ bdnz lbl_8033AD64 +lbl_8033AD8C: +/* 8033AD8C 00337CEC 7C 06 20 50 */ subf r0, r6, r4 +/* 8033AD90 00337CF0 7C 09 03 A6 */ mtctr r0 +/* 8033AD94 00337CF4 7C 06 20 00 */ cmpw r6, r4 +/* 8033AD98 00337CF8 40 80 00 0C */ bge lbl_8033ADA4 +lbl_8033AD9C: +/* 8033AD9C 00337CFC 80 A5 00 04 */ lwz r5, 4(r5) +/* 8033ADA0 00337D00 42 00 FF FC */ bdnz lbl_8033AD9C +lbl_8033ADA4: +/* 8033ADA4 00337D04 80 65 00 0C */ lwz r3, 0xc(r5) +/* 8033ADA8 00337D08 4E 80 00 20 */ blr + +.global GetPakCount__10CResLoaderCFv +GetPakCount__10CResLoaderCFv: +/* 8033ADAC 00337D0C 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8033ADB0 00337D10 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 8033ADB4 00337D14 7C 64 02 14 */ add r3, r4, r0 +/* 8033ADB8 00337D18 4E 80 00 20 */ blr + +.global sub_8033adbc +sub_8033adbc: +/* 8033ADBC 00337D1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033ADC0 00337D20 7C 08 02 A6 */ mflr r0 +/* 8033ADC4 00337D24 38 E0 00 00 */ li r7, 0 +/* 8033ADC8 00337D28 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033ADCC 00337D2C 38 04 00 18 */ addi r0, r4, 0x18 +/* 8033ADD0 00337D30 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8033ADD4 00337D34 7C 7B 1B 78 */ mr r27, r3 +/* 8033ADD8 00337D38 3B C1 00 20 */ addi r30, r1, 0x20 +/* 8033ADDC 00337D3C 80 C2 D7 A0 */ lwz r6, lbl_805AF4C0@sda21(r2) +/* 8033ADE0 00337D40 80 A2 D7 A4 */ lwz r5, lbl_805AF4C4@sda21(r2) +/* 8033ADE4 00337D44 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8033ADE8 00337D48 80 C4 00 04 */ lwz r6, 4(r4) +/* 8033ADEC 00337D4C 90 A1 00 24 */ stw r5, 0x24(r1) +/* 8033ADF0 00337D50 80 A4 00 08 */ lwz r5, 8(r4) +/* 8033ADF4 00337D54 90 81 00 20 */ stw r4, 0x20(r1) +/* 8033ADF8 00337D58 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033ADFC 00337D5C 48 00 00 20 */ b lbl_8033AE1C +lbl_8033AE00: +/* 8033AE00 00337D60 80 66 00 0C */ lwz r3, 0xc(r6) +/* 8033AE04 00337D64 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8033AE08 00337D68 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8033AE0C 00337D6C 40 82 00 0C */ bne lbl_8033AE18 +/* 8033AE10 00337D70 80 03 00 58 */ lwz r0, 0x58(r3) +/* 8033AE14 00337D74 7C E7 02 14 */ add r7, r7, r0 +lbl_8033AE18: +/* 8033AE18 00337D78 80 C6 00 04 */ lwz r6, 4(r6) +lbl_8033AE1C: +/* 8033AE1C 00337D7C 7C 06 28 40 */ cmplw r6, r5 +/* 8033AE20 00337D80 40 82 FF E0 */ bne lbl_8033AE00 +/* 8033AE24 00337D84 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8033AE28 00337D88 80 C3 00 04 */ lwz r6, 4(r3) +/* 8033AE2C 00337D8C 80 A3 00 08 */ lwz r5, 8(r3) +/* 8033AE30 00337D90 48 00 00 20 */ b lbl_8033AE50 +lbl_8033AE34: +/* 8033AE34 00337D94 80 66 00 0C */ lwz r3, 0xc(r6) +/* 8033AE38 00337D98 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8033AE3C 00337D9C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8033AE40 00337DA0 40 82 00 0C */ bne lbl_8033AE4C +/* 8033AE44 00337DA4 80 03 00 58 */ lwz r0, 0x58(r3) +/* 8033AE48 00337DA8 7C E7 02 14 */ add r7, r7, r0 +lbl_8033AE4C: +/* 8033AE4C 00337DAC 80 C6 00 04 */ lwz r6, 4(r6) +lbl_8033AE50: +/* 8033AE50 00337DB0 7C 06 28 40 */ cmplw r6, r5 +/* 8033AE54 00337DB4 40 82 FF E0 */ bne lbl_8033AE34 +/* 8033AE58 00337DB8 38 00 00 00 */ li r0, 0 +/* 8033AE5C 00337DBC 7C E4 3B 78 */ mr r4, r7 +/* 8033AE60 00337DC0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8033AE64 00337DC4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033AE68 00337DC8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8033AE6C 00337DCC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033AE70 00337DD0 4B EE 23 55 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" +/* 8033AE74 00337DD4 3B A0 00 00 */ li r29, 0 +lbl_8033AE78: +/* 8033AE78 00337DD8 83 9E 00 00 */ lwz r28, 0(r30) +/* 8033AE7C 00337DDC 83 FC 00 04 */ lwz r31, 4(r28) +/* 8033AE80 00337DE0 48 00 00 68 */ b lbl_8033AEE8 +lbl_8033AE84: +/* 8033AE84 00337DE4 81 5F 00 0C */ lwz r10, 0xc(r31) +/* 8033AE88 00337DE8 88 0A 00 28 */ lbz r0, 0x28(r10) +/* 8033AE8C 00337DEC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8033AE90 00337DF0 40 82 00 54 */ bne lbl_8033AEE4 +/* 8033AE94 00337DF4 80 AA 00 58 */ lwz r5, 0x58(r10) +/* 8033AE98 00337DF8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033AE9C 00337DFC 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033AEA0 00337E00 38 81 00 1C */ addi r4, r1, 0x1c +/* 8033AEA4 00337E04 1D 05 00 18 */ mulli r8, r5, 0x18 +/* 8033AEA8 00337E08 81 2A 00 60 */ lwz r9, 0x60(r10) +/* 8033AEAC 00337E0C 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8033AEB0 00337E10 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8033AEB4 00337E14 38 C1 00 0C */ addi r6, r1, 0xc +/* 8033AEB8 00337E18 7D 29 42 14 */ add r9, r9, r8 +/* 8033AEBC 00337E1C 91 21 00 0C */ stw r9, 0xc(r1) +/* 8033AEC0 00337E20 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8033AEC4 00337E24 81 0A 00 60 */ lwz r8, 0x60(r10) +/* 8033AEC8 00337E28 7C 07 02 14 */ add r0, r7, r0 +/* 8033AECC 00337E2C 91 21 00 08 */ stw r9, 8(r1) +/* 8033AED0 00337E30 91 01 00 10 */ stw r8, 0x10(r1) +/* 8033AED4 00337E34 91 01 00 14 */ stw r8, 0x14(r1) +/* 8033AED8 00337E38 90 01 00 18 */ stw r0, 0x18(r1) +/* 8033AEDC 00337E3C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033AEE0 00337E40 48 00 00 F5 */ bl sub_8033afd4 +lbl_8033AEE4: +/* 8033AEE4 00337E44 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033AEE8: +/* 8033AEE8 00337E48 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033AEEC 00337E4C 7C 1F 00 40 */ cmplw r31, r0 +/* 8033AEF0 00337E50 40 82 FF 94 */ bne lbl_8033AE84 +/* 8033AEF4 00337E54 3B BD 00 01 */ addi r29, r29, 1 +/* 8033AEF8 00337E58 3B DE 00 04 */ addi r30, r30, 4 +/* 8033AEFC 00337E5C 2C 1D 00 02 */ cmpwi r29, 2 +/* 8033AF00 00337E60 41 80 FF 78 */ blt lbl_8033AE78 +/* 8033AF04 00337E64 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033AF08 00337E68 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AF0C 00337E6C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033AF10 00337E70 90 1B 00 08 */ stw r0, 8(r27) +/* 8033AF14 00337E74 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033AF18 00337E78 2C 00 00 00 */ cmpwi r0, 0 +/* 8033AF1C 00337E7C 40 82 00 1C */ bne lbl_8033AF38 +/* 8033AF20 00337E80 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033AF24 00337E84 2C 00 00 00 */ cmpwi r0, 0 +/* 8033AF28 00337E88 40 82 00 10 */ bne lbl_8033AF38 +/* 8033AF2C 00337E8C 38 00 00 00 */ li r0, 0 +/* 8033AF30 00337E90 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8033AF34 00337E94 48 00 00 80 */ b lbl_8033AFB4 +lbl_8033AF38: +/* 8033AF38 00337E98 80 1B 00 08 */ lwz r0, 8(r27) +/* 8033AF3C 00337E9C 1C 60 00 18 */ mulli r3, r0, 0x18 +/* 8033AF40 00337EA0 2C 03 00 00 */ cmpwi r3, 0 +/* 8033AF44 00337EA4 40 82 00 10 */ bne lbl_8033AF54 +/* 8033AF48 00337EA8 38 00 00 00 */ li r0, 0 +/* 8033AF4C 00337EAC 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8033AF50 00337EB0 48 00 00 18 */ b lbl_8033AF68 +lbl_8033AF54: +/* 8033AF54 00337EB4 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033AF58 00337EB8 38 A0 00 00 */ li r5, 0 +/* 8033AF5C 00337EBC 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033AF60 00337EC0 4B FD A8 B9 */ bl __nwa__FUlPCcPCc +/* 8033AF64 00337EC4 90 7B 00 0C */ stw r3, 0xc(r27) +lbl_8033AF68: +/* 8033AF68 00337EC8 83 DB 00 04 */ lwz r30, 4(r27) +/* 8033AF6C 00337ECC 3B 80 00 00 */ li r28, 0 +/* 8033AF70 00337ED0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033AF74 00337ED4 83 7B 00 0C */ lwz r27, 0xc(r27) +/* 8033AF78 00337ED8 48 00 00 34 */ b lbl_8033AFAC +lbl_8033AF7C: +/* 8033AF7C 00337EDC 28 1B 00 00 */ cmplwi r27, 0 +/* 8033AF80 00337EE0 41 82 00 20 */ beq lbl_8033AFA0 +/* 8033AF84 00337EE4 7F 63 DB 78 */ mr r3, r27 +/* 8033AF88 00337EE8 7F A4 EB 78 */ mr r4, r29 +/* 8033AF8C 00337EEC 48 00 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033AF90 00337EF0 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8033AF94 00337EF4 90 1B 00 10 */ stw r0, 0x10(r27) +/* 8033AF98 00337EF8 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 8033AF9C 00337EFC 90 1B 00 14 */ stw r0, 0x14(r27) +lbl_8033AFA0: +/* 8033AFA0 00337F00 3B 7B 00 18 */ addi r27, r27, 0x18 +/* 8033AFA4 00337F04 3B 9C 00 01 */ addi r28, r28, 1 +/* 8033AFA8 00337F08 3B BD 00 18 */ addi r29, r29, 0x18 +lbl_8033AFAC: +/* 8033AFAC 00337F0C 7C 1C F0 00 */ cmpw r28, r30 +/* 8033AFB0 00337F10 41 80 FF CC */ blt lbl_8033AF7C +lbl_8033AFB4: +/* 8033AFB4 00337F14 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033AFB8 00337F18 38 80 FF FF */ li r4, -1 +/* 8033AFBC 00337F1C 4B CC 9A 31 */ bl sub_800049ec +/* 8033AFC0 00337F20 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8033AFC4 00337F24 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033AFC8 00337F28 7C 08 03 A6 */ mtlr r0 +/* 8033AFCC 00337F2C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033AFD0 00337F30 4E 80 00 20 */ blr + +.global sub_8033afd4 +sub_8033afd4: +/* 8033AFD4 00337F34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033AFD8 00337F38 7C 08 02 A6 */ mflr r0 +/* 8033AFDC 00337F3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033AFE0 00337F40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033AFE4 00337F44 7C 7F 1B 78 */ mr r31, r3 +/* 8033AFE8 00337F48 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033AFEC 00337F4C 80 E5 00 00 */ lwz r7, 0(r5) +/* 8033AFF0 00337F50 80 04 00 00 */ lwz r0, 0(r4) +/* 8033AFF4 00337F54 38 81 00 0C */ addi r4, r1, 0xc +/* 8033AFF8 00337F58 80 A6 00 00 */ lwz r5, 0(r6) +/* 8033AFFC 00337F5C 90 E1 00 08 */ stw r7, 8(r1) +/* 8033B000 00337F60 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8033B004 00337F64 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8033B008 00337F68 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033B00C 00337F6C 48 00 14 19 */ bl "distance,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B0E0 00338040 80 19 00 10 */ lwz r0, 0x10(r25) +/* 8033B0E4 00338044 90 15 00 10 */ stw r0, 0x10(r21) +/* 8033B0E8 00338048 80 19 00 14 */ lwz r0, 0x14(r25) +/* 8033B0EC 0033804C 90 15 00 14 */ stw r0, 0x14(r21) +lbl_8033B0F0: +/* 8033B0F0 00338050 28 1A 00 00 */ cmplwi r26, 0 +/* 8033B0F4 00338054 41 82 00 10 */ beq lbl_8033B104 +/* 8033B0F8 00338058 41 82 00 0C */ beq lbl_8033B104 +/* 8033B0FC 0033805C 7F 43 D3 78 */ mr r3, r26 +/* 8033B100 00338060 48 00 29 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033B104: +/* 8033B104 00338064 3A B5 FF E8 */ addi r21, r21, -24 +/* 8033B108 00338068 3B 5A FF E8 */ addi r26, r26, -24 +/* 8033B10C 0033806C 3B 7B FF FF */ addi r27, r27, -1 +lbl_8033B110: +/* 8033B110 00338070 2C 1B 00 00 */ cmpwi r27, 0 +/* 8033B114 00338074 40 80 FF A8 */ bge lbl_8033B0BC +/* 8033B118 00338078 3A A0 00 00 */ li r21, 0 +/* 8033B11C 0033807C 48 00 00 34 */ b lbl_8033B150 +lbl_8033B120: +/* 8033B120 00338080 28 14 00 00 */ cmplwi r20, 0 +/* 8033B124 00338084 41 82 00 20 */ beq lbl_8033B144 +/* 8033B128 00338088 7E 83 A3 78 */ mr r3, r20 +/* 8033B12C 0033808C 7F C4 F3 78 */ mr r4, r30 +/* 8033B130 00338090 48 00 30 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B134 00338094 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8033B138 00338098 90 14 00 10 */ stw r0, 0x10(r20) +/* 8033B13C 0033809C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8033B140 003380A0 90 14 00 14 */ stw r0, 0x14(r20) +lbl_8033B144: +/* 8033B144 003380A4 3B DE 00 18 */ addi r30, r30, 0x18 +/* 8033B148 003380A8 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B14C 003380AC 3A B5 00 01 */ addi r21, r21, 1 +lbl_8033B150: +/* 8033B150 003380B0 7C 15 C0 00 */ cmpw r21, r24 +/* 8033B154 003380B4 41 80 FF CC */ blt lbl_8033B120 +/* 8033B158 003380B8 80 17 00 04 */ lwz r0, 4(r23) +/* 8033B15C 003380BC 7C 00 C2 14 */ add r0, r0, r24 +/* 8033B160 003380C0 90 17 00 04 */ stw r0, 4(r23) +/* 8033B164 003380C4 48 00 01 C4 */ b lbl_8033B328 +lbl_8033B168: +/* 8033B168 003380C8 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B16C 003380CC 38 00 00 04 */ li r0, 4 +/* 8033B170 003380D0 41 82 00 08 */ beq lbl_8033B178 +/* 8033B174 003380D4 54 60 08 3C */ slwi r0, r3, 1 +lbl_8033B178: +/* 8033B178 003380D8 7C 1B 03 78 */ mr r27, r0 +/* 8033B17C 003380DC 48 00 00 08 */ b lbl_8033B184 +lbl_8033B180: +/* 8033B180 003380E0 57 7B 08 3C */ slwi r27, r27, 1 +lbl_8033B184: +/* 8033B184 003380E4 7C 1B 38 00 */ cmpw r27, r7 +/* 8033B188 003380E8 41 80 FF F8 */ blt lbl_8033B180 +/* 8033B18C 003380EC 1C 7B 00 18 */ mulli r3, r27, 0x18 +/* 8033B190 003380F0 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B194 003380F4 40 82 00 0C */ bne lbl_8033B1A0 +/* 8033B198 003380F8 3B E0 00 00 */ li r31, 0 +/* 8033B19C 003380FC 48 00 00 18 */ b lbl_8033B1B4 +lbl_8033B1A0: +/* 8033B1A0 00338100 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033B1A4 00338104 38 A0 00 00 */ li r5, 0 +/* 8033B1A8 00338108 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033B1AC 0033810C 4B FD A6 6D */ bl __nwa__FUlPCcPCc +/* 8033B1B0 00338110 7C 7F 1B 78 */ mr r31, r3 +lbl_8033B1B4: +/* 8033B1B4 00338114 80 97 00 0C */ lwz r4, 0xc(r23) +/* 8033B1B8 00338118 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha +/* 8033B1BC 0033811C 80 14 00 00 */ lwz r0, 0(r20) +/* 8033B1C0 00338120 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l +/* 8033B1C4 00338124 7F FD FB 78 */ mr r29, r31 +/* 8033B1C8 00338128 3B 40 00 00 */ li r26, 0 +/* 8033B1CC 0033812C 7C 04 00 50 */ subf r0, r4, r0 +/* 8033B1D0 00338130 3B 20 00 00 */ li r25, 0 +/* 8033B1D4 00338134 7C 03 00 96 */ mulhw r0, r3, r0 +/* 8033B1D8 00338138 3A 80 00 00 */ li r20, 0 +/* 8033B1DC 0033813C 7C 00 16 70 */ srawi r0, r0, 2 +/* 8033B1E0 00338140 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033B1E4 00338144 7E A0 1A 14 */ add r21, r0, r3 +/* 8033B1E8 00338148 48 00 00 40 */ b lbl_8033B228 +lbl_8033B1EC: +/* 8033B1EC 0033814C 80 17 00 0C */ lwz r0, 0xc(r23) +/* 8033B1F0 00338150 28 1D 00 00 */ cmplwi r29, 0 +/* 8033B1F4 00338154 7E C0 A2 14 */ add r22, r0, r20 +/* 8033B1F8 00338158 41 82 00 20 */ beq lbl_8033B218 +/* 8033B1FC 0033815C 7F A3 EB 78 */ mr r3, r29 +/* 8033B200 00338160 7E C4 B3 78 */ mr r4, r22 +/* 8033B204 00338164 48 00 2F 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B208 00338168 80 16 00 10 */ lwz r0, 0x10(r22) +/* 8033B20C 0033816C 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8033B210 00338170 80 16 00 14 */ lwz r0, 0x14(r22) +/* 8033B214 00338174 90 1D 00 14 */ stw r0, 0x14(r29) +lbl_8033B218: +/* 8033B218 00338178 3B BD 00 18 */ addi r29, r29, 0x18 +/* 8033B21C 0033817C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8033B220 00338180 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B224 00338184 3B 39 00 01 */ addi r25, r25, 1 +lbl_8033B228: +/* 8033B228 00338188 7C 19 A8 00 */ cmpw r25, r21 +/* 8033B22C 0033818C 41 80 FF C0 */ blt lbl_8033B1EC +/* 8033B230 00338190 1C 1A 00 18 */ mulli r0, r26, 0x18 +/* 8033B234 00338194 3A C0 00 00 */ li r22, 0 +/* 8033B238 00338198 7E 9F 02 14 */ add r20, r31, r0 +/* 8033B23C 0033819C 48 00 00 38 */ b lbl_8033B274 +lbl_8033B240: +/* 8033B240 003381A0 28 14 00 00 */ cmplwi r20, 0 +/* 8033B244 003381A4 41 82 00 20 */ beq lbl_8033B264 +/* 8033B248 003381A8 7E 83 A3 78 */ mr r3, r20 +/* 8033B24C 003381AC 7F C4 F3 78 */ mr r4, r30 +/* 8033B250 003381B0 48 00 2F 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B254 003381B4 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8033B258 003381B8 90 14 00 10 */ stw r0, 0x10(r20) +/* 8033B25C 003381BC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8033B260 003381C0 90 14 00 14 */ stw r0, 0x14(r20) +lbl_8033B264: +/* 8033B264 003381C4 3B DE 00 18 */ addi r30, r30, 0x18 +/* 8033B268 003381C8 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B26C 003381CC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8033B270 003381D0 3A D6 00 01 */ addi r22, r22, 1 +lbl_8033B274: +/* 8033B274 003381D4 7C 16 C0 00 */ cmpw r22, r24 +/* 8033B278 003381D8 41 80 FF C8 */ blt lbl_8033B240 +/* 8033B27C 003381DC 1C 1A 00 18 */ mulli r0, r26, 0x18 +/* 8033B280 003381E0 7E B9 AB 78 */ mr r25, r21 +/* 8033B284 003381E4 1E 95 00 18 */ mulli r20, r21, 0x18 +/* 8033B288 003381E8 7E BF 02 14 */ add r21, r31, r0 +/* 8033B28C 003381EC 48 00 00 3C */ b lbl_8033B2C8 +lbl_8033B290: +/* 8033B290 003381F0 80 17 00 0C */ lwz r0, 0xc(r23) +/* 8033B294 003381F4 28 15 00 00 */ cmplwi r21, 0 +/* 8033B298 003381F8 7E C0 A2 14 */ add r22, r0, r20 +/* 8033B29C 003381FC 41 82 00 20 */ beq lbl_8033B2BC +/* 8033B2A0 00338200 7E A3 AB 78 */ mr r3, r21 +/* 8033B2A4 00338204 7E C4 B3 78 */ mr r4, r22 +/* 8033B2A8 00338208 48 00 2E B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B2AC 0033820C 80 16 00 10 */ lwz r0, 0x10(r22) +/* 8033B2B0 00338210 90 15 00 10 */ stw r0, 0x10(r21) +/* 8033B2B4 00338214 80 16 00 14 */ lwz r0, 0x14(r22) +/* 8033B2B8 00338218 90 15 00 14 */ stw r0, 0x14(r21) +lbl_8033B2BC: +/* 8033B2BC 0033821C 3A B5 00 18 */ addi r21, r21, 0x18 +/* 8033B2C0 00338220 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B2C4 00338224 3B 39 00 01 */ addi r25, r25, 1 +lbl_8033B2C8: +/* 8033B2C8 00338228 80 17 00 04 */ lwz r0, 4(r23) +/* 8033B2CC 0033822C 7C 19 00 00 */ cmpw r25, r0 +/* 8033B2D0 00338230 41 80 FF C0 */ blt lbl_8033B290 +/* 8033B2D4 00338234 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8033B2D8 00338238 7F 96 E3 78 */ mr r22, r28 +/* 8033B2DC 0033823C 7F 3C 02 14 */ add r25, r28, r0 +/* 8033B2E0 00338240 48 00 00 1C */ b lbl_8033B2FC +lbl_8033B2E4: +/* 8033B2E4 00338244 28 16 00 00 */ cmplwi r22, 0 +/* 8033B2E8 00338248 41 82 00 10 */ beq lbl_8033B2F8 +/* 8033B2EC 0033824C 41 82 00 0C */ beq lbl_8033B2F8 +/* 8033B2F0 00338250 7E C3 B3 78 */ mr r3, r22 +/* 8033B2F4 00338254 48 00 27 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033B2F8: +/* 8033B2F8 00338258 3A D6 00 18 */ addi r22, r22, 0x18 +lbl_8033B2FC: +/* 8033B2FC 0033825C 7C 16 C8 40 */ cmplw r22, r25 +/* 8033B300 00338260 40 82 FF E4 */ bne lbl_8033B2E4 +/* 8033B304 00338264 80 77 00 0C */ lwz r3, 0xc(r23) +/* 8033B308 00338268 28 03 00 00 */ cmplwi r3, 0 +/* 8033B30C 0033826C 41 82 00 08 */ beq lbl_8033B314 +/* 8033B310 00338270 4B FD A6 21 */ bl Free__7CMemoryFPCv +lbl_8033B314: +/* 8033B314 00338274 93 F7 00 0C */ stw r31, 0xc(r23) +/* 8033B318 00338278 93 77 00 08 */ stw r27, 8(r23) +/* 8033B31C 0033827C 80 17 00 04 */ lwz r0, 4(r23) +/* 8033B320 00338280 7C 00 C2 14 */ add r0, r0, r24 +/* 8033B324 00338284 90 17 00 04 */ stw r0, 4(r23) +lbl_8033B328: +/* 8033B328 00338288 BA 81 00 10 */ lmw r20, 0x10(r1) +/* 8033B32C 0033828C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033B330 00338290 7C 08 03 A6 */ mtlr r0 +/* 8033B334 00338294 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033B338 00338298 4E 80 00 20 */ blr + +.global "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033B33C 0033829C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033B340 003382A0 7C 08 02 A6 */ mflr r0 +/* 8033B344 003382A4 3C A0 80 3D */ lis r5, lbl_803D7A38@ha +/* 8033B348 003382A8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033B34C 003382AC 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l +/* 8033B350 003382B0 38 A5 00 07 */ addi r5, r5, 7 +/* 8033B354 003382B4 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8033B358 003382B8 7C 7B 1B 78 */ mr r27, r3 +/* 8033B35C 003382BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B360 003382C0 4B ED 0D 95 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 8033B364 003382C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B368 003382C8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033B36C 003382CC 48 00 2D F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B370 003382D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B374 003382D4 48 00 27 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B378 003382D8 80 82 D7 98 */ lwz r4, lbl_805AF4B8@sda21(r2) +/* 8033B37C 003382DC 38 1B 00 18 */ addi r0, r27, 0x18 +/* 8033B380 003382E0 80 62 D7 9C */ lwz r3, lbl_805AF4BC@sda21(r2) +/* 8033B384 003382E4 3B A1 00 08 */ addi r29, r1, 8 +/* 8033B388 003382E8 90 81 00 08 */ stw r4, 8(r1) +/* 8033B38C 003382EC 3B 80 00 00 */ li r28, 0 +/* 8033B390 003382F0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8033B394 003382F4 93 61 00 08 */ stw r27, 8(r1) +/* 8033B398 003382F8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8033B39C: +/* 8033B39C 003382FC 83 7D 00 00 */ lwz r27, 0(r29) +/* 8033B3A0 00338300 83 DB 00 04 */ lwz r30, 4(r27) +/* 8033B3A4 00338304 48 00 00 3C */ b lbl_8033B3E0 +lbl_8033B3A8: +/* 8033B3A8 00338308 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033B3AC 0033830C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B3B0 00338310 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8033B3B4 00338314 48 00 36 39 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B3B8 00338318 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B3BC 0033831C 40 82 00 20 */ bne lbl_8033B3DC +/* 8033B3C0 00338320 7F E3 FB 78 */ mr r3, r31 +/* 8033B3C4 00338324 48 02 C2 65 */ bl GetDepList__8CPakFileCFv +/* 8033B3C8 00338328 7C 7F 1B 78 */ mr r31, r3 +/* 8033B3CC 0033832C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B3D0 00338330 48 00 27 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B3D4 00338334 7F E3 FB 78 */ mr r3, r31 +/* 8033B3D8 00338338 48 00 00 30 */ b lbl_8033B408 +lbl_8033B3DC: +/* 8033B3DC 0033833C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033B3E0: +/* 8033B3E0 00338340 80 1B 00 08 */ lwz r0, 8(r27) +/* 8033B3E4 00338344 7C 1E 00 40 */ cmplw r30, r0 +/* 8033B3E8 00338348 40 82 FF C0 */ bne lbl_8033B3A8 +/* 8033B3EC 0033834C 3B 9C 00 01 */ addi r28, r28, 1 +/* 8033B3F0 00338350 3B BD 00 04 */ addi r29, r29, 4 +/* 8033B3F4 00338354 2C 1C 00 02 */ cmpwi r28, 2 +/* 8033B3F8 00338358 41 80 FF A4 */ blt lbl_8033B39C +/* 8033B3FC 0033835C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B400 00338360 48 00 26 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B404 00338364 38 60 00 00 */ li r3, 0 +lbl_8033B408: +/* 8033B408 00338368 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8033B40C 0033836C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033B410 00338370 7C 08 03 A6 */ mtlr r0 +/* 8033B414 00338374 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033B418 00338378 4E 80 00 20 */ blr + +.global sub_8033b41c +sub_8033b41c: +/* 8033B41C 0033837C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033B420 00338380 7C 08 02 A6 */ mflr r0 +/* 8033B424 00338384 3C A0 80 3D */ lis r5, lbl_803D7A38@ha +/* 8033B428 00338388 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033B42C 0033838C 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l +/* 8033B430 00338390 38 A5 00 07 */ addi r5, r5, 7 +/* 8033B434 00338394 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8033B438 00338398 7C 7B 1B 78 */ mr r27, r3 +/* 8033B43C 0033839C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B440 003383A0 4B ED 0C B5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 8033B444 003383A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B448 003383A8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033B44C 003383AC 48 00 2D 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B450 003383B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B454 003383B4 48 00 26 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B458 003383B8 7F 63 DB 78 */ mr r3, r27 +/* 8033B45C 003383BC 48 00 0A 01 */ bl sub_8033be5c +/* 8033B460 003383C0 80 82 D7 90 */ lwz r4, lbl_805AF4B0@sda21(r2) +/* 8033B464 003383C4 38 1B 00 18 */ addi r0, r27, 0x18 +/* 8033B468 003383C8 80 62 D7 94 */ lwz r3, lbl_805AF4B4@sda21(r2) +/* 8033B46C 003383CC 3B C1 00 08 */ addi r30, r1, 8 +/* 8033B470 003383D0 90 81 00 08 */ stw r4, 8(r1) +/* 8033B474 003383D4 3B A0 00 00 */ li r29, 0 +/* 8033B478 003383D8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8033B47C 003383DC 93 61 00 08 */ stw r27, 8(r1) +/* 8033B480 003383E0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8033B484: +/* 8033B484 003383E4 83 9E 00 00 */ lwz r28, 0(r30) +/* 8033B488 003383E8 83 FC 00 04 */ lwz r31, 4(r28) +/* 8033B48C 003383EC 48 00 00 38 */ b lbl_8033B4C4 +lbl_8033B490: +/* 8033B490 003383F0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033B494 003383F4 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B498 003383F8 38 63 00 18 */ addi r3, r3, 0x18 +/* 8033B49C 003383FC 48 00 35 51 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B4A0 00338400 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B4A4 00338404 40 82 00 1C */ bne lbl_8033B4C0 +/* 8033B4A8 00338408 7F 83 E3 78 */ mr r3, r28 +/* 8033B4AC 0033840C 7F E4 FB 78 */ mr r4, r31 +/* 8033B4B0 00338410 48 00 0F E1 */ bl sub_8033c490 +/* 8033B4B4 00338414 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B4B8 00338418 48 00 26 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B4BC 0033841C 48 00 00 8C */ b lbl_8033B548 +lbl_8033B4C0: +/* 8033B4C0 00338420 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033B4C4: +/* 8033B4C4 00338424 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033B4C8 00338428 7C 1F 00 40 */ cmplw r31, r0 +/* 8033B4CC 0033842C 40 82 FF C4 */ bne lbl_8033B490 +/* 8033B4D0 00338430 3B BD 00 01 */ addi r29, r29, 1 +/* 8033B4D4 00338434 3B DE 00 04 */ addi r30, r30, 4 +/* 8033B4D8 00338438 2C 1D 00 02 */ cmpwi r29, 2 +/* 8033B4DC 0033843C 41 80 FF A8 */ blt lbl_8033B484 +/* 8033B4E0 00338440 83 DB 00 34 */ lwz r30, 0x34(r27) +/* 8033B4E4 00338444 48 00 00 50 */ b lbl_8033B534 +lbl_8033B4E8: +/* 8033B4E8 00338448 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033B4EC 0033844C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B4F0 00338450 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8033B4F4 00338454 48 00 34 F9 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B4F8 00338458 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B4FC 0033845C 40 82 00 34 */ bne lbl_8033B530 +/* 8033B500 00338460 48 00 00 0C */ b lbl_8033B50C +lbl_8033B504: +/* 8033B504 00338464 7F 63 DB 78 */ mr r3, r27 +/* 8033B508 00338468 48 00 08 B9 */ bl AsyncIdlePakLoading__10CResLoaderFv +lbl_8033B50C: +/* 8033B50C 0033846C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8033B510 00338470 2C 00 00 03 */ cmpwi r0, 3 +/* 8033B514 00338474 40 82 FF F0 */ bne lbl_8033B504 +/* 8033B518 00338478 7F C4 F3 78 */ mr r4, r30 +/* 8033B51C 0033847C 38 7B 00 30 */ addi r3, r27, 0x30 +/* 8033B520 00338480 48 00 0F 71 */ bl sub_8033c490 +/* 8033B524 00338484 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B528 00338488 48 00 25 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B52C 0033848C 48 00 00 1C */ b lbl_8033B548 +lbl_8033B530: +/* 8033B530 00338490 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033B534: +/* 8033B534 00338494 80 1B 00 38 */ lwz r0, 0x38(r27) +/* 8033B538 00338498 7C 1E 00 40 */ cmplw r30, r0 +/* 8033B53C 0033849C 40 82 FF AC */ bne lbl_8033B4E8 +/* 8033B540 003384A0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B544 003384A4 48 00 25 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033B548: +/* 8033B548 003384A8 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8033B54C 003384AC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033B550 003384B0 7C 08 03 A6 */ mtlr r0 +/* 8033B554 003384B4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033B558 003384B8 4E 80 00 20 */ blr + +.global "AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +"AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b": +/* 8033B55C 003384BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033B560 003384C0 7C 08 02 A6 */ mflr r0 +/* 8033B564 003384C4 3C E0 80 3D */ lis r7, lbl_803D7A38@ha +/* 8033B568 003384C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033B56C 003384CC 38 E7 7A 38 */ addi r7, r7, lbl_803D7A38@l +/* 8033B570 003384D0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033B574 003384D4 7C 7F 1B 78 */ mr r31, r3 +/* 8033B578 003384D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B57C 003384DC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033B580 003384E0 7C BE 2B 78 */ mr r30, r5 +/* 8033B584 003384E4 38 A7 00 07 */ addi r5, r7, 7 +/* 8033B588 003384E8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033B58C 003384EC 7C DD 33 78 */ mr r29, r6 +/* 8033B590 003384F0 4B ED 0B 65 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 8033B594 003384F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B598 003384F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033B59C 003384FC 48 00 2B C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B5A0 00338500 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B5A4 00338504 48 00 25 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B5A8 00338508 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8033B5AC 0033850C 48 01 43 A1 */ bl FileExists__8CDvdFileFPCc +/* 8033B5B0 00338510 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033B5B4 00338514 41 82 00 D8 */ beq lbl_8033B68C +/* 8033B5B8 00338518 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033B5BC 0033851C 38 60 00 88 */ li r3, 0x88 +/* 8033B5C0 00338520 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033B5C4 00338524 38 A0 00 00 */ li r5, 0 +/* 8033B5C8 00338528 4B FD A2 A5 */ bl __nw__FUlPCcPCc +/* 8033B5CC 0033852C 7C 64 1B 79 */ or. r4, r3, r3 +/* 8033B5D0 00338530 41 82 00 18 */ beq lbl_8033B5E8 +/* 8033B5D4 00338534 7F C5 F3 78 */ mr r5, r30 +/* 8033B5D8 00338538 7F A6 EB 78 */ mr r6, r29 +/* 8033B5DC 0033853C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B5E0 00338540 48 02 CF B1 */ bl "__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +/* 8033B5E4 00338544 7C 64 1B 78 */ mr r4, r3 +lbl_8033B5E8: +/* 8033B5E8 00338548 7C 04 00 D0 */ neg r0, r4 +/* 8033B5EC 0033854C 83 DF 00 38 */ lwz r30, 0x38(r31) +/* 8033B5F0 00338550 7C 00 23 78 */ or r0, r0, r4 +/* 8033B5F4 00338554 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B5F8 00338558 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033B5FC 0033855C 90 81 00 0C */ stw r4, 0xc(r1) +/* 8033B600 00338560 83 BE 00 00 */ lwz r29, 0(r30) +/* 8033B604 00338564 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033B608 00338568 98 01 00 08 */ stb r0, 8(r1) +/* 8033B60C 0033856C 38 60 00 10 */ li r3, 0x10 +/* 8033B610 00338570 38 A0 00 00 */ li r5, 0 +/* 8033B614 00338574 4B FD A2 05 */ bl __nwa__FUlPCcPCc +/* 8033B618 00338578 28 03 00 00 */ cmplwi r3, 0 +/* 8033B61C 0033857C 41 82 00 0C */ beq lbl_8033B628 +/* 8033B620 00338580 93 A3 00 00 */ stw r29, 0(r3) +/* 8033B624 00338584 93 C3 00 04 */ stw r30, 4(r3) +lbl_8033B628: +/* 8033B628 00338588 34 C3 00 08 */ addic. r6, r3, 8 +/* 8033B62C 0033858C 41 82 00 1C */ beq lbl_8033B648 +/* 8033B630 00338590 88 A1 00 08 */ lbz r5, 8(r1) +/* 8033B634 00338594 38 00 00 00 */ li r0, 0 +/* 8033B638 00338598 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8033B63C 0033859C 98 A6 00 00 */ stb r5, 0(r6) +/* 8033B640 003385A0 90 86 00 04 */ stw r4, 4(r6) +/* 8033B644 003385A4 98 01 00 08 */ stb r0, 8(r1) +lbl_8033B648: +/* 8033B648 003385A8 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8033B64C 003385AC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033B650 003385B0 40 82 00 08 */ bne lbl_8033B658 +/* 8033B654 003385B4 90 7F 00 34 */ stw r3, 0x34(r31) +lbl_8033B658: +/* 8033B658 003385B8 80 83 00 00 */ lwz r4, 0(r3) +/* 8033B65C 003385BC 88 01 00 08 */ lbz r0, 8(r1) +/* 8033B660 003385C0 90 64 00 04 */ stw r3, 4(r4) +/* 8033B664 003385C4 28 00 00 00 */ cmplwi r0, 0 +/* 8033B668 003385C8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033B66C 003385CC 90 64 00 00 */ stw r3, 0(r4) +/* 8033B670 003385D0 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8033B674 003385D4 38 03 00 01 */ addi r0, r3, 1 +/* 8033B678 003385D8 90 1F 00 44 */ stw r0, 0x44(r31) +/* 8033B67C 003385DC 41 82 00 10 */ beq lbl_8033B68C +/* 8033B680 003385E0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033B684 003385E4 38 80 00 01 */ li r4, 1 +/* 8033B688 003385E8 48 02 CD 75 */ bl __dt__8CPakFileFv +lbl_8033B68C: +/* 8033B68C 003385EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B690 003385F0 48 00 24 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B694 003385F4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033B698 003385F8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033B69C 003385FC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033B6A0 00338600 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033B6A4 00338604 7C 08 03 A6 */ mtlr r0 +/* 8033B6A8 00338608 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033B6AC 0033860C 4E 80 00 20 */ blr + +.global LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc +LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc: +/* 8033B6B0 00338610 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033B6B4 00338614 7C 08 02 A6 */ mflr r0 +/* 8033B6B8 00338618 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033B6BC 0033861C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8033B6C0 00338620 7C 7B 1B 78 */ mr r27, r3 +/* 8033B6C4 00338624 7C BA 2B 78 */ mr r26, r5 +/* 8033B6C8 00338628 7C DE 33 78 */ mr r30, r6 +/* 8033B6CC 0033862C 7C FF 3B 78 */ mr r31, r7 +/* 8033B6D0 00338630 48 00 09 E9 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B6D4 00338634 28 1F 00 00 */ cmplwi r31, 0 +/* 8033B6D8 00338638 83 7B 00 50 */ lwz r27, 0x50(r27) +/* 8033B6DC 0033863C 7C 7C 1B 78 */ mr r28, r3 +/* 8033B6E0 00338640 41 82 00 0C */ beq lbl_8033B6EC +/* 8033B6E4 00338644 7F FD FB 78 */ mr r29, r31 +/* 8033B6E8 00338648 48 00 00 3C */ b lbl_8033B724 +lbl_8033B6EC: +/* 8033B6EC 0033864C 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B6F0 00338650 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8033B6F4 00338654 38 A3 7A 38 */ addi r5, r3, lbl_803D7A38@l +/* 8033B6F8 00338658 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8033B6FC 0033865C 38 61 00 08 */ addi r3, r1, 8 +/* 8033B700 00338660 38 80 FF FF */ li r4, -1 +/* 8033B704 00338664 4B F9 AC D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 8033B708 00338668 7C 67 1B 78 */ mr r7, r3 +/* 8033B70C 0033866C 7F C3 F3 78 */ mr r3, r30 +/* 8033B710 00338670 38 80 00 02 */ li r4, 2 +/* 8033B714 00338674 38 A0 00 01 */ li r5, 1 +/* 8033B718 00338678 38 C0 00 00 */ li r6, 0 +/* 8033B71C 0033867C 4B FD A2 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8033B720 00338680 7C 7D 1B 78 */ mr r29, r3 +lbl_8033B724: +/* 8033B724 00338684 7F 63 DB 78 */ mr r3, r27 +/* 8033B728 00338688 48 02 CF 79 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033B72C 0033868C 7C 60 1B 78 */ mr r0, r3 +/* 8033B730 00338690 7F 83 E3 78 */ mr r3, r28 +/* 8033B734 00338694 7F A4 EB 78 */ mr r4, r29 +/* 8033B738 00338698 7F C5 F3 78 */ mr r5, r30 +/* 8033B73C 0033869C 7C FA 02 14 */ add r7, r26, r0 +/* 8033B740 003386A0 38 C0 00 00 */ li r6, 0 +/* 8033B744 003386A4 48 01 43 C1 */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033B748 003386A8 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033B74C 003386AC 38 60 00 24 */ li r3, 0x24 +/* 8033B750 003386B0 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033B754 003386B4 38 A0 00 00 */ li r5, 0 +/* 8033B758 003386B8 4B FD A1 15 */ bl __nw__FUlPCcPCc +/* 8033B75C 003386BC 7C 60 1B 79 */ or. r0, r3, r3 +/* 8033B760 003386C0 41 82 00 20 */ beq lbl_8033B780 +/* 8033B764 003386C4 7C 1F 00 D0 */ neg r0, r31 +/* 8033B768 003386C8 7F A4 EB 78 */ mr r4, r29 +/* 8033B76C 003386CC 7C 00 FB 78 */ or r0, r0, r31 +/* 8033B770 003386D0 7F C5 F3 78 */ mr r5, r30 +/* 8033B774 003386D4 54 06 0F FE */ srwi r6, r0, 0x1f +/* 8033B778 003386D8 48 00 3A 95 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 8033B77C 003386DC 7C 60 1B 78 */ mr r0, r3 +lbl_8033B780: +/* 8033B780 003386E0 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8033B784 003386E4 7C 03 03 78 */ mr r3, r0 +/* 8033B788 003386E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033B78C 003386EC 7C 08 03 A6 */ mtlr r0 +/* 8033B790 003386F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033B794 003386F4 4E 80 00 20 */ blr + +.global LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi +LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi: +/* 8033B798 003386F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033B79C 003386FC 7C 08 02 A6 */ mflr r0 +/* 8033B7A0 00338700 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033B7A4 00338704 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8033B7A8 00338708 7C 7C 1B 78 */ mr r28, r3 +/* 8033B7AC 0033870C 7C BA 2B 78 */ mr r26, r5 +/* 8033B7B0 00338710 7C DB 33 78 */ mr r27, r6 +/* 8033B7B4 00338714 48 00 09 05 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B7B8 00338718 83 DC 00 50 */ lwz r30, 0x50(r28) +/* 8033B7BC 0033871C 7C 7F 1B 78 */ mr r31, r3 +/* 8033B7C0 00338720 7F C3 F3 78 */ mr r3, r30 +/* 8033B7C4 00338724 48 02 CE BD */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B7C8 00338728 38 03 00 1F */ addi r0, r3, 0x1f +/* 8033B7CC 0033872C 3C A0 80 3D */ lis r5, lbl_803D7A38@ha +/* 8033B7D0 00338730 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8033B7D4 00338734 38 61 00 08 */ addi r3, r1, 8 +/* 8033B7D8 00338738 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8033B7DC 0033873C 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l +/* 8033B7E0 00338740 54 1D 00 34 */ rlwinm r29, r0, 0, 0, 0x1a +/* 8033B7E4 00338744 38 80 FF FF */ li r4, -1 +/* 8033B7E8 00338748 4B F9 AB ED */ bl __ct__10CCallStackFUiPCcPCc +/* 8033B7EC 0033874C 7C 67 1B 78 */ mr r7, r3 +/* 8033B7F0 00338750 7F A3 EB 78 */ mr r3, r29 +/* 8033B7F4 00338754 38 80 00 02 */ li r4, 2 +/* 8033B7F8 00338758 38 A0 00 01 */ li r5, 1 +/* 8033B7FC 0033875C 38 C0 00 00 */ li r6, 0 +/* 8033B800 00338760 4B FD A1 95 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8033B804 00338764 7C 60 1B 78 */ mr r0, r3 +/* 8033B808 00338768 7F C3 F3 78 */ mr r3, r30 +/* 8033B80C 0033876C 7C 1C 03 78 */ mr r28, r0 +/* 8033B810 00338770 48 02 CE 91 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033B814 00338774 7C 67 1B 78 */ mr r7, r3 +/* 8033B818 00338778 7F E3 FB 78 */ mr r3, r31 +/* 8033B81C 0033877C 7F 84 E3 78 */ mr r4, r28 +/* 8033B820 00338780 7F A5 EB 78 */ mr r5, r29 +/* 8033B824 00338784 38 C0 00 00 */ li r6, 0 +/* 8033B828 00338788 48 01 42 DD */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033B82C 0033878C 93 9A 00 00 */ stw r28, 0(r26) +/* 8033B830 00338790 7F C3 F3 78 */ mr r3, r30 +/* 8033B834 00338794 48 02 CE 4D */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B838 00338798 90 7B 00 00 */ stw r3, 0(r27) +/* 8033B83C 0033879C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8033B840 003387A0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033B844 003387A4 7C 08 03 A6 */ mtlr r0 +/* 8033B848 003387A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033B84C 003387AC 4E 80 00 20 */ blr + +.global LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv +LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv: +/* 8033B850 003387B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033B854 003387B4 7C 08 02 A6 */ mflr r0 +/* 8033B858 003387B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033B85C 003387BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033B860 003387C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033B864 003387C4 7C 7E 1B 78 */ mr r30, r3 +/* 8033B868 003387C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033B86C 003387CC 7C BD 2B 78 */ mr r29, r5 +/* 8033B870 003387D0 48 00 08 49 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B874 003387D4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B878 003387D8 83 DE 00 50 */ lwz r30, 0x50(r30) +/* 8033B87C 003387DC 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033B880 003387E0 38 A0 00 00 */ li r5, 0 +/* 8033B884 003387E4 38 60 00 24 */ li r3, 0x24 +/* 8033B888 003387E8 4B FD 9F E5 */ bl __nw__FUlPCcPCc +/* 8033B88C 003387EC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033B890 003387F0 41 82 00 20 */ beq lbl_8033B8B0 +/* 8033B894 003387F4 7F C3 F3 78 */ mr r3, r30 +/* 8033B898 003387F8 48 02 CD E9 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B89C 003387FC 7C 65 1B 78 */ mr r5, r3 +/* 8033B8A0 00338800 7F E3 FB 78 */ mr r3, r31 +/* 8033B8A4 00338804 7F A4 EB 78 */ mr r4, r29 +/* 8033B8A8 00338808 48 00 39 25 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8033B8AC 0033880C 7C 7F 1B 78 */ mr r31, r3 +lbl_8033B8B0: +/* 8033B8B0 00338810 7F C3 F3 78 */ mr r3, r30 +/* 8033B8B4 00338814 48 02 CD B5 */ bl IsCompressed__Q28CPakFile8SResInfoCFv +/* 8033B8B8 00338818 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033B8BC 0033881C 41 82 00 8C */ beq lbl_8033B948 +/* 8033B8C0 00338820 7F E3 FB 78 */ mr r3, r31 +/* 8033B8C4 00338824 48 00 33 C1 */ bl ReadLong__12CInputStreamFv +/* 8033B8C8 00338828 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B8CC 0033882C 3B A0 00 00 */ li r29, 0 +/* 8033B8D0 00338830 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033B8D4 00338834 38 A0 00 00 */ li r5, 0 +/* 8033B8D8 00338838 38 60 00 34 */ li r3, 0x34 +/* 8033B8DC 0033883C 4B FD 9F 91 */ bl __nw__FUlPCcPCc +/* 8033B8E0 00338840 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033B8E4 00338844 41 82 00 28 */ beq lbl_8033B90C +/* 8033B8E8 00338848 7C 1F 00 D0 */ neg r0, r31 +/* 8033B8EC 0033884C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033B8F0 00338850 7C 00 FB 78 */ or r0, r0, r31 +/* 8033B8F4 00338854 38 81 00 08 */ addi r4, r1, 8 +/* 8033B8F8 00338858 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033B8FC 0033885C 3B A0 00 01 */ li r29, 1 +/* 8033B900 00338860 98 01 00 08 */ stb r0, 8(r1) +/* 8033B904 00338864 48 00 3F FD */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 8033B908 00338868 7C 7E 1B 78 */ mr r30, r3 +lbl_8033B90C: +/* 8033B90C 0033886C 7F A0 07 75 */ extsb. r0, r29 +/* 8033B910 00338870 41 82 00 30 */ beq lbl_8033B940 +/* 8033B914 00338874 88 01 00 08 */ lbz r0, 8(r1) +/* 8033B918 00338878 28 00 00 00 */ cmplwi r0, 0 +/* 8033B91C 0033887C 41 82 00 24 */ beq lbl_8033B940 +/* 8033B920 00338880 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033B924 00338884 28 03 00 00 */ cmplwi r3, 0 +/* 8033B928 00338888 41 82 00 18 */ beq lbl_8033B940 +/* 8033B92C 0033888C 81 83 00 00 */ lwz r12, 0(r3) +/* 8033B930 00338890 38 80 00 01 */ li r4, 1 +/* 8033B934 00338894 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033B938 00338898 7D 89 03 A6 */ mtctr r12 +/* 8033B93C 0033889C 4E 80 04 21 */ bctrl +lbl_8033B940: +/* 8033B940 003388A0 7F C3 F3 78 */ mr r3, r30 +/* 8033B944 003388A4 48 00 00 08 */ b lbl_8033B94C +lbl_8033B948: +/* 8033B948 003388A8 7F E3 FB 78 */ mr r3, r31 +lbl_8033B94C: +/* 8033B94C 003388AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033B950 003388B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033B954 003388B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033B958 003388B8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033B95C 003388BC 7C 08 03 A6 */ mtlr r0 +/* 8033B960 003388C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033B964 003388C4 4E 80 00 20 */ blr + +.global LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc: +/* 8033B968 003388C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033B96C 003388CC 7C 08 02 A6 */ mflr r0 +/* 8033B970 003388D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033B974 003388D4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8033B978 003388D8 7C 7B 1B 78 */ mr r27, r3 +/* 8033B97C 003388DC 7C BE 2B 78 */ mr r30, r5 +/* 8033B980 003388E0 48 00 07 39 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B984 003388E4 83 FB 00 50 */ lwz r31, 0x50(r27) +/* 8033B988 003388E8 7C 7C 1B 78 */ mr r28, r3 +/* 8033B98C 003388EC 7F E3 FB 78 */ mr r3, r31 +/* 8033B990 003388F0 48 02 CC F1 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B994 003388F4 28 1E 00 00 */ cmplwi r30, 0 +/* 8033B998 003388F8 38 03 00 1F */ addi r0, r3, 0x1f +/* 8033B99C 003388FC 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a +/* 8033B9A0 00338900 41 82 00 0C */ beq lbl_8033B9AC +/* 8033B9A4 00338904 7F DD F3 78 */ mr r29, r30 +/* 8033B9A8 00338908 48 00 00 3C */ b lbl_8033B9E4 +lbl_8033B9AC: +/* 8033B9AC 0033890C 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B9B0 00338910 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8033B9B4 00338914 38 A3 7A 38 */ addi r5, r3, lbl_803D7A38@l +/* 8033B9B8 00338918 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8033B9BC 0033891C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B9C0 00338920 38 80 FF FF */ li r4, -1 +/* 8033B9C4 00338924 4B F9 AA 11 */ bl __ct__10CCallStackFUiPCcPCc +/* 8033B9C8 00338928 7C 67 1B 78 */ mr r7, r3 +/* 8033B9CC 0033892C 7F 63 DB 78 */ mr r3, r27 +/* 8033B9D0 00338930 38 80 00 02 */ li r4, 2 +/* 8033B9D4 00338934 38 A0 00 01 */ li r5, 1 +/* 8033B9D8 00338938 38 C0 00 00 */ li r6, 0 +/* 8033B9DC 0033893C 4B FD 9F B9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8033B9E0 00338940 7C 7D 1B 78 */ mr r29, r3 +lbl_8033B9E4: +/* 8033B9E4 00338944 7F E3 FB 78 */ mr r3, r31 +/* 8033B9E8 00338948 48 02 CC B9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033B9EC 0033894C 7C 67 1B 78 */ mr r7, r3 +/* 8033B9F0 00338950 7F 83 E3 78 */ mr r3, r28 +/* 8033B9F4 00338954 7F A4 EB 78 */ mr r4, r29 +/* 8033B9F8 00338958 7F 65 DB 78 */ mr r5, r27 +/* 8033B9FC 0033895C 38 C0 00 00 */ li r6, 0 +/* 8033BA00 00338960 48 01 41 05 */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033BA04 00338964 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033BA08 00338968 38 60 00 24 */ li r3, 0x24 +/* 8033BA0C 0033896C 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033BA10 00338970 38 A0 00 00 */ li r5, 0 +/* 8033BA14 00338974 4B FD 9E 59 */ bl __nw__FUlPCcPCc +/* 8033BA18 00338978 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8033BA1C 0033897C 41 82 00 30 */ beq lbl_8033BA4C +/* 8033BA20 00338980 7C 1E 00 D0 */ neg r0, r30 +/* 8033BA24 00338984 7F E3 FB 78 */ mr r3, r31 +/* 8033BA28 00338988 7C 00 F3 78 */ or r0, r0, r30 +/* 8033BA2C 0033898C 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 8033BA30 00338990 48 02 CC 51 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033BA34 00338994 7C 65 1B 78 */ mr r5, r3 +/* 8033BA38 00338998 7F 83 E3 78 */ mr r3, r28 +/* 8033BA3C 0033899C 7F A4 EB 78 */ mr r4, r29 +/* 8033BA40 003389A0 7F C6 F3 78 */ mr r6, r30 +/* 8033BA44 003389A4 48 00 37 C9 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 8033BA48 003389A8 7C 7C 1B 78 */ mr r28, r3 +lbl_8033BA4C: +/* 8033BA4C 003389AC 7F E3 FB 78 */ mr r3, r31 +/* 8033BA50 003389B0 48 02 CC 19 */ bl IsCompressed__Q28CPakFile8SResInfoCFv +/* 8033BA54 003389B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BA58 003389B8 41 82 00 8C */ beq lbl_8033BAE4 +/* 8033BA5C 003389BC 7F 83 E3 78 */ mr r3, r28 +/* 8033BA60 003389C0 48 00 32 25 */ bl ReadLong__12CInputStreamFv +/* 8033BA64 003389C4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033BA68 003389C8 3B 60 00 00 */ li r27, 0 +/* 8033BA6C 003389CC 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033BA70 003389D0 38 A0 00 00 */ li r5, 0 +/* 8033BA74 003389D4 38 60 00 34 */ li r3, 0x34 +/* 8033BA78 003389D8 4B FD 9D F5 */ bl __nw__FUlPCcPCc +/* 8033BA7C 003389DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8033BA80 003389E0 41 82 00 28 */ beq lbl_8033BAA8 +/* 8033BA84 003389E4 7C 1C 00 D0 */ neg r0, r28 +/* 8033BA88 003389E8 93 81 00 0C */ stw r28, 0xc(r1) +/* 8033BA8C 003389EC 7C 00 E3 78 */ or r0, r0, r28 +/* 8033BA90 003389F0 38 81 00 08 */ addi r4, r1, 8 +/* 8033BA94 003389F4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033BA98 003389F8 3B 60 00 01 */ li r27, 1 +/* 8033BA9C 003389FC 98 01 00 08 */ stb r0, 8(r1) +/* 8033BAA0 00338A00 48 00 3E 61 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 8033BAA4 00338A04 7C 7D 1B 78 */ mr r29, r3 +lbl_8033BAA8: +/* 8033BAA8 00338A08 7F 60 07 75 */ extsb. r0, r27 +/* 8033BAAC 00338A0C 41 82 00 30 */ beq lbl_8033BADC +/* 8033BAB0 00338A10 88 01 00 08 */ lbz r0, 8(r1) +/* 8033BAB4 00338A14 28 00 00 00 */ cmplwi r0, 0 +/* 8033BAB8 00338A18 41 82 00 24 */ beq lbl_8033BADC +/* 8033BABC 00338A1C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033BAC0 00338A20 28 03 00 00 */ cmplwi r3, 0 +/* 8033BAC4 00338A24 41 82 00 18 */ beq lbl_8033BADC +/* 8033BAC8 00338A28 81 83 00 00 */ lwz r12, 0(r3) +/* 8033BACC 00338A2C 38 80 00 01 */ li r4, 1 +/* 8033BAD0 00338A30 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033BAD4 00338A34 7D 89 03 A6 */ mtctr r12 +/* 8033BAD8 00338A38 4E 80 04 21 */ bctrl +lbl_8033BADC: +/* 8033BADC 00338A3C 7F A3 EB 78 */ mr r3, r29 +/* 8033BAE0 00338A40 48 00 00 08 */ b lbl_8033BAE8 +lbl_8033BAE4: +/* 8033BAE4 00338A44 7F 83 E3 78 */ mr r3, r28 +lbl_8033BAE8: +/* 8033BAE8 00338A48 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8033BAEC 00338A4C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033BAF0 00338A50 7C 08 03 A6 */ mtlr r0 +/* 8033BAF4 00338A54 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033BAF8 00338A58 4E 80 00 20 */ blr + +.global LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc +LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc: +/* 8033BAFC 00338A5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BB00 00338A60 7C 08 02 A6 */ mflr r0 +/* 8033BB04 00338A64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BB08 00338A68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BB0C 00338A6C 7C 7F 1B 78 */ mr r31, r3 +/* 8033BB10 00338A70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BB14 00338A74 7C FE 3B 78 */ mr r30, r7 +/* 8033BB18 00338A78 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BB1C 00338A7C 7C DD 33 78 */ mr r29, r6 +/* 8033BB20 00338A80 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033BB24 00338A84 7C BC 2B 78 */ mr r28, r5 +/* 8033BB28 00338A88 48 00 05 91 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033BB2C 00338A8C 7C 60 1B 78 */ mr r0, r3 +/* 8033BB30 00338A90 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BB34 00338A94 7C 1F 03 78 */ mr r31, r0 +/* 8033BB38 00338A98 48 02 CB 69 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033BB3C 00338A9C 7C 60 1B 78 */ mr r0, r3 +/* 8033BB40 00338AA0 7F E3 FB 78 */ mr r3, r31 +/* 8033BB44 00338AA4 7F C4 F3 78 */ mr r4, r30 +/* 8033BB48 00338AA8 7F A5 EB 78 */ mr r5, r29 +/* 8033BB4C 00338AAC 7C FC 02 14 */ add r7, r28, r0 +/* 8033BB50 00338AB0 38 C0 00 00 */ li r6, 0 +/* 8033BB54 00338AB4 48 01 3E 6D */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033BB58 00338AB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BB5C 00338ABC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BB60 00338AC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BB64 00338AC4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BB68 00338AC8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033BB6C 00338ACC 7C 08 03 A6 */ mtlr r0 +/* 8033BB70 00338AD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BB74 00338AD4 4E 80 00 20 */ blr + +.global LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +LoadResourceAsync__10CResLoaderFRC10SObjectTagPc: +/* 8033BB78 00338AD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BB7C 00338ADC 7C 08 02 A6 */ mflr r0 +/* 8033BB80 00338AE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BB84 00338AE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BB88 00338AE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BB8C 00338AEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BB90 00338AF0 7C 7D 1B 78 */ mr r29, r3 +/* 8033BB94 00338AF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033BB98 00338AF8 7C BC 2B 78 */ mr r28, r5 +/* 8033BB9C 00338AFC 48 00 05 1D */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033BBA0 00338B00 83 BD 00 50 */ lwz r29, 0x50(r29) +/* 8033BBA4 00338B04 7C 7E 1B 78 */ mr r30, r3 +/* 8033BBA8 00338B08 7F A3 EB 78 */ mr r3, r29 +/* 8033BBAC 00338B0C 48 02 CA D5 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033BBB0 00338B10 7C 7F 1B 78 */ mr r31, r3 +/* 8033BBB4 00338B14 7F A3 EB 78 */ mr r3, r29 +/* 8033BBB8 00338B18 48 02 CA E9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033BBBC 00338B1C 38 1F 00 1F */ addi r0, r31, 0x1f +/* 8033BBC0 00338B20 7C 67 1B 78 */ mr r7, r3 +/* 8033BBC4 00338B24 7F C3 F3 78 */ mr r3, r30 +/* 8033BBC8 00338B28 7F 84 E3 78 */ mr r4, r28 +/* 8033BBCC 00338B2C 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 8033BBD0 00338B30 38 C0 00 00 */ li r6, 0 +/* 8033BBD4 00338B34 48 01 3D ED */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033BBD8 00338B38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BBDC 00338B3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BBE0 00338B40 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BBE4 00338B44 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BBE8 00338B48 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033BBEC 00338B4C 7C 08 03 A6 */ mtlr r0 +/* 8033BBF0 00338B50 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BBF4 00338B54 4E 80 00 20 */ blr + +.global GetResourceCompression__10CResLoaderCFRC10SObjectTag +GetResourceCompression__10CResLoaderCFRC10SObjectTag: +/* 8033BBF8 00338B58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BBFC 00338B5C 7C 08 02 A6 */ mflr r0 +/* 8033BC00 00338B60 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BC04 00338B64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BC08 00338B68 7C 7F 1B 78 */ mr r31, r3 +/* 8033BC0C 00338B6C 80 84 00 04 */ lwz r4, 4(r4) +/* 8033BC10 00338B70 48 00 02 69 */ bl FindResource__10CResLoaderCFUi +/* 8033BC14 00338B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BC18 00338B78 41 82 00 20 */ beq lbl_8033BC38 +/* 8033BC1C 00338B7C 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BC20 00338B80 48 02 CA 49 */ bl IsCompressed__Q28CPakFile8SResInfoCFv +/* 8033BC24 00338B84 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8033BC28 00338B88 7C 03 00 D0 */ neg r0, r3 +/* 8033BC2C 00338B8C 7C 00 1B 78 */ or r0, r0, r3 +/* 8033BC30 00338B90 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033BC34 00338B94 48 00 00 08 */ b lbl_8033BC3C +lbl_8033BC38: +/* 8033BC38 00338B98 38 60 00 00 */ li r3, 0 +lbl_8033BC3C: +/* 8033BC3C 00338B9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BC40 00338BA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BC44 00338BA4 7C 08 03 A6 */ mtlr r0 +/* 8033BC48 00338BA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BC4C 00338BAC 4E 80 00 20 */ blr + +.global ResourceSize__10CResLoaderCFRC10SObjectTag +ResourceSize__10CResLoaderCFRC10SObjectTag: +/* 8033BC50 00338BB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BC54 00338BB4 7C 08 02 A6 */ mflr r0 +/* 8033BC58 00338BB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BC5C 00338BBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BC60 00338BC0 7C 7F 1B 78 */ mr r31, r3 +/* 8033BC64 00338BC4 80 84 00 04 */ lwz r4, 4(r4) +/* 8033BC68 00338BC8 48 00 02 11 */ bl FindResource__10CResLoaderCFUi +/* 8033BC6C 00338BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BC70 00338BD0 41 82 00 10 */ beq lbl_8033BC80 +/* 8033BC74 00338BD4 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BC78 00338BD8 48 02 CA 09 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033BC7C 00338BDC 48 00 00 08 */ b lbl_8033BC84 +lbl_8033BC80: +/* 8033BC80 00338BE0 38 60 00 00 */ li r3, 0 +lbl_8033BC84: +/* 8033BC84 00338BE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BC88 00338BE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BC8C 00338BEC 7C 08 03 A6 */ mtlr r0 +/* 8033BC90 00338BF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BC94 00338BF4 4E 80 00 20 */ blr + +.global ResourceExists__10CResLoaderCFRC10SObjectTag +ResourceExists__10CResLoaderCFRC10SObjectTag: +/* 8033BC98 00338BF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BC9C 00338BFC 7C 08 02 A6 */ mflr r0 +/* 8033BCA0 00338C00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BCA4 00338C04 80 84 00 04 */ lwz r4, 4(r4) +/* 8033BCA8 00338C08 48 00 01 D1 */ bl FindResource__10CResLoaderCFUi +/* 8033BCAC 00338C0C 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8033BCB0 00338C10 7C 03 00 D0 */ neg r0, r3 +/* 8033BCB4 00338C14 7C 00 1B 78 */ or r0, r0, r3 +/* 8033BCB8 00338C18 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033BCBC 00338C1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BCC0 00338C20 7C 08 03 A6 */ mtlr r0 +/* 8033BCC4 00338C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BCC8 00338C28 4E 80 00 20 */ blr + +.global GetResourceTypeById__10CResLoaderCFUi +GetResourceTypeById__10CResLoaderCFUi: +/* 8033BCCC 00338C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BCD0 00338C30 7C 08 02 A6 */ mflr r0 +/* 8033BCD4 00338C34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BCD8 00338C38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BCDC 00338C3C 7C 7F 1B 78 */ mr r31, r3 +/* 8033BCE0 00338C40 48 00 01 99 */ bl FindResource__10CResLoaderCFUi +/* 8033BCE4 00338C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BCE8 00338C48 41 82 00 10 */ beq lbl_8033BCF8 +/* 8033BCEC 00338C4C 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BCF0 00338C50 48 02 C9 CD */ bl GetType__Q28CPakFile8SResInfoCFv +/* 8033BCF4 00338C54 48 00 00 08 */ b lbl_8033BCFC +lbl_8033BCF8: +/* 8033BCF8 00338C58 38 60 00 00 */ li r3, 0 +lbl_8033BCFC: +/* 8033BCFC 00338C5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BD00 00338C60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BD04 00338C64 7C 08 03 A6 */ mtlr r0 +/* 8033BD08 00338C68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BD0C 00338C6C 4E 80 00 20 */ blr + +.global GetResourceIdByName__10CResLoaderCFPCc +GetResourceIdByName__10CResLoaderCFPCc: +/* 8033BD10 00338C70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BD14 00338C74 7C 08 02 A6 */ mflr r0 +/* 8033BD18 00338C78 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BD1C 00338C7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BD20 00338C80 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BD24 00338C84 7C 9E 23 78 */ mr r30, r4 +/* 8033BD28 00338C88 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BD2C 00338C8C 7C 7D 1B 78 */ mr r29, r3 +/* 8033BD30 00338C90 83 E3 00 04 */ lwz r31, 4(r3) +/* 8033BD34 00338C94 48 00 00 20 */ b lbl_8033BD54 +lbl_8033BD38: +/* 8033BD38 00338C98 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033BD3C 00338C9C 7F C4 F3 78 */ mr r4, r30 +/* 8033BD40 00338CA0 48 02 B9 05 */ bl GetResIdByName__8CPakFileCFPCc +/* 8033BD44 00338CA4 28 03 00 00 */ cmplwi r3, 0 +/* 8033BD48 00338CA8 41 82 00 08 */ beq lbl_8033BD50 +/* 8033BD4C 00338CAC 48 00 00 48 */ b lbl_8033BD94 +lbl_8033BD50: +/* 8033BD50 00338CB0 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BD54: +/* 8033BD54 00338CB4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033BD58 00338CB8 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BD5C 00338CBC 40 82 FF DC */ bne lbl_8033BD38 +/* 8033BD60 00338CC0 83 FD 00 1C */ lwz r31, 0x1c(r29) +/* 8033BD64 00338CC4 48 00 00 20 */ b lbl_8033BD84 +lbl_8033BD68: +/* 8033BD68 00338CC8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033BD6C 00338CCC 7F C4 F3 78 */ mr r4, r30 +/* 8033BD70 00338CD0 48 02 B8 D5 */ bl GetResIdByName__8CPakFileCFPCc +/* 8033BD74 00338CD4 28 03 00 00 */ cmplwi r3, 0 +/* 8033BD78 00338CD8 41 82 00 08 */ beq lbl_8033BD80 +/* 8033BD7C 00338CDC 48 00 00 18 */ b lbl_8033BD94 +lbl_8033BD80: +/* 8033BD80 00338CE0 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BD84: +/* 8033BD84 00338CE4 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8033BD88 00338CE8 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BD8C 00338CEC 40 82 FF DC */ bne lbl_8033BD68 +/* 8033BD90 00338CF0 38 60 00 00 */ li r3, 0 +lbl_8033BD94: +/* 8033BD94 00338CF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BD98 00338CF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BD9C 00338CFC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BDA0 00338D00 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BDA4 00338D04 7C 08 03 A6 */ mtlr r0 +/* 8033BDA8 00338D08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BDAC 00338D0C 4E 80 00 20 */ blr + +.global AreAllPaksLoaded__10CResLoaderCFv +AreAllPaksLoaded__10CResLoaderCFv: +/* 8033BDB0 00338D10 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8033BDB4 00338D14 7C 00 00 34 */ cntlzw r0, r0 +/* 8033BDB8 00338D18 54 03 D9 7E */ srwi r3, r0, 5 +/* 8033BDBC 00338D1C 4E 80 00 20 */ blr + +.global AsyncIdlePakLoading__10CResLoaderFv +AsyncIdlePakLoading__10CResLoaderFv: +/* 8033BDC0 00338D20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BDC4 00338D24 7C 08 02 A6 */ mflr r0 +/* 8033BDC8 00338D28 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BDCC 00338D2C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8033BDD0 00338D30 7C 7B 1B 78 */ mr r27, r3 +/* 8033BDD4 00338D34 3B 80 00 00 */ li r28, 0 +/* 8033BDD8 00338D38 83 A3 00 34 */ lwz r29, 0x34(r3) +/* 8033BDDC 00338D3C 48 00 00 60 */ b lbl_8033BE3C +lbl_8033BDE0: +/* 8033BDE0 00338D40 83 DD 00 0C */ lwz r30, 0xc(r29) +/* 8033BDE4 00338D44 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 8033BDE8 00338D48 54 1F D7 FF */ rlwinm. r31, r0, 0x1a, 0x1f, 0x1f +/* 8033BDEC 00338D4C 40 82 00 0C */ bne lbl_8033BDF8 +/* 8033BDF0 00338D50 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8033BDF4 00338D54 40 82 00 0C */ bne lbl_8033BE00 +lbl_8033BDF8: +/* 8033BDF8 00338D58 7F C3 F3 78 */ mr r3, r30 +/* 8033BDFC 00338D5C 48 02 C5 55 */ bl AsyncIdle__8CPakFileFv +lbl_8033BE00: +/* 8033BE00 00338D60 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 8033BE04 00338D64 2C 00 00 03 */ cmpwi r0, 3 +/* 8033BE08 00338D68 40 82 00 24 */ bne lbl_8033BE2C +/* 8033BE0C 00338D6C 7F 63 DB 78 */ mr r3, r27 +/* 8033BE10 00338D70 38 9D 00 08 */ addi r4, r29, 8 +/* 8033BE14 00338D74 48 00 03 AD */ bl "MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>" +/* 8033BE18 00338D78 7F A4 EB 78 */ mr r4, r29 +/* 8033BE1C 00338D7C 38 7B 00 30 */ addi r3, r27, 0x30 +/* 8033BE20 00338D80 48 00 06 71 */ bl sub_8033c490 +/* 8033BE24 00338D84 7C 7D 1B 78 */ mr r29, r3 +/* 8033BE28 00338D88 48 00 00 14 */ b lbl_8033BE3C +lbl_8033BE2C: +/* 8033BE2C 00338D8C 28 1F 00 00 */ cmplwi r31, 0 +/* 8033BE30 00338D90 40 82 00 08 */ bne lbl_8033BE38 +/* 8033BE34 00338D94 3B 80 00 01 */ li r28, 1 +lbl_8033BE38: +/* 8033BE38 00338D98 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8033BE3C: +/* 8033BE3C 00338D9C 80 1B 00 38 */ lwz r0, 0x38(r27) +/* 8033BE40 00338DA0 7C 1D 00 40 */ cmplw r29, r0 +/* 8033BE44 00338DA4 40 82 FF 9C */ bne lbl_8033BDE0 +/* 8033BE48 00338DA8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8033BE4C 00338DAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BE50 00338DB0 7C 08 03 A6 */ mtlr r0 +/* 8033BE54 00338DB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BE58 00338DB8 4E 80 00 20 */ blr + +.global sub_8033be5c +sub_8033be5c: +/* 8033BE5C 00338DBC 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 8033BE60 00338DC0 38 80 FF FF */ li r4, -1 +/* 8033BE64 00338DC4 38 00 00 00 */ li r0, 0 +/* 8033BE68 00338DC8 90 A3 00 48 */ stw r5, 0x48(r3) +/* 8033BE6C 00338DCC 90 83 00 4C */ stw r4, 0x4c(r3) +/* 8033BE70 00338DD0 90 03 00 50 */ stw r0, 0x50(r3) +/* 8033BE74 00338DD4 4E 80 00 20 */ blr + +.global FindResource__10CResLoaderCFUi +FindResource__10CResLoaderCFUi: +/* 8033BE78 00338DD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BE7C 00338DDC 7C 08 02 A6 */ mflr r0 +/* 8033BE80 00338DE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BE84 00338DE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BE88 00338DE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BE8C 00338DEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BE90 00338DF0 7C 7D 1B 78 */ mr r29, r3 +/* 8033BE94 00338DF4 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 8033BE98 00338DF8 7C 00 20 40 */ cmplw r0, r4 +/* 8033BE9C 00338DFC 40 82 00 0C */ bne lbl_8033BEA8 +/* 8033BEA0 00338E00 38 60 00 01 */ li r3, 1 +/* 8033BEA4 00338E04 48 00 00 B8 */ b lbl_8033BF5C +lbl_8033BEA8: +/* 8033BEA8 00338E08 83 FD 00 04 */ lwz r31, 4(r29) +/* 8033BEAC 00338E0C 7C 9E 23 78 */ mr r30, r4 +/* 8033BEB0 00338E10 48 00 00 28 */ b lbl_8033BED8 +lbl_8033BEB4: +/* 8033BEB4 00338E14 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8033BEB8 00338E18 7F A3 EB 78 */ mr r3, r29 +/* 8033BEBC 00338E1C 7F C5 F3 78 */ mr r5, r30 +/* 8033BEC0 00338E20 48 00 02 A5 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BEC4 00338E24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BEC8 00338E28 41 82 00 0C */ beq lbl_8033BED4 +/* 8033BECC 00338E2C 38 60 00 01 */ li r3, 1 +/* 8033BED0 00338E30 48 00 00 8C */ b lbl_8033BF5C +lbl_8033BED4: +/* 8033BED4 00338E34 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BED8: +/* 8033BED8 00338E38 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033BEDC 00338E3C 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BEE0 00338E40 40 82 FF D4 */ bne lbl_8033BEB4 +/* 8033BEE4 00338E44 80 7D 00 48 */ lwz r3, 0x48(r29) +/* 8033BEE8 00338E48 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8033BEEC 00338E4C 7C 03 00 40 */ cmplw r3, r0 +/* 8033BEF0 00338E50 41 82 00 24 */ beq lbl_8033BF14 +/* 8033BEF4 00338E54 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8033BEF8 00338E58 7F A3 EB 78 */ mr r3, r29 +/* 8033BEFC 00338E5C 7F C5 F3 78 */ mr r5, r30 +/* 8033BF00 00338E60 48 00 02 65 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BF04 00338E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BF08 00338E68 41 82 00 0C */ beq lbl_8033BF14 +/* 8033BF0C 00338E6C 38 60 00 01 */ li r3, 1 +/* 8033BF10 00338E70 48 00 00 4C */ b lbl_8033BF5C +lbl_8033BF14: +/* 8033BF14 00338E74 83 FD 00 1C */ lwz r31, 0x1c(r29) +/* 8033BF18 00338E78 48 00 00 34 */ b lbl_8033BF4C +lbl_8033BF1C: +/* 8033BF1C 00338E7C 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 8033BF20 00338E80 7C 00 F8 40 */ cmplw r0, r31 +/* 8033BF24 00338E84 41 82 00 24 */ beq lbl_8033BF48 +/* 8033BF28 00338E88 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8033BF2C 00338E8C 7F A3 EB 78 */ mr r3, r29 +/* 8033BF30 00338E90 7F C5 F3 78 */ mr r5, r30 +/* 8033BF34 00338E94 48 00 02 31 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BF38 00338E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BF3C 00338E9C 41 82 00 0C */ beq lbl_8033BF48 +/* 8033BF40 00338EA0 38 60 00 01 */ li r3, 1 +/* 8033BF44 00338EA4 48 00 00 18 */ b lbl_8033BF5C +lbl_8033BF48: +/* 8033BF48 00338EA8 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BF4C: +/* 8033BF4C 00338EAC 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8033BF50 00338EB0 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BF54 00338EB4 40 82 FF C8 */ bne lbl_8033BF1C +/* 8033BF58 00338EB8 38 60 00 00 */ li r3, 0 +lbl_8033BF5C: +/* 8033BF5C 00338EBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BF60 00338EC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BF64 00338EC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BF68 00338EC8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BF6C 00338ECC 7C 08 03 A6 */ mtlr r0 +/* 8033BF70 00338ED0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BF74 00338ED4 4E 80 00 20 */ blr + +.global FindResource__10CResLoaderCFRC10SObjectTag +FindResource__10CResLoaderCFRC10SObjectTag: +/* 8033BF78 00338ED8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BF7C 00338EDC 7C 08 02 A6 */ mflr r0 +/* 8033BF80 00338EE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BF84 00338EE4 38 00 00 00 */ li r0, 0 +/* 8033BF88 00338EE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BF8C 00338EEC 7C 7F 1B 78 */ mr r31, r3 +/* 8033BF90 00338EF0 98 03 00 54 */ stb r0, 0x54(r3) +/* 8033BF94 00338EF4 48 00 01 25 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033BF98 00338EF8 38 00 00 01 */ li r0, 1 +/* 8033BF9C 00338EFC 98 1F 00 54 */ stb r0, 0x54(r31) +/* 8033BFA0 00338F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BFA4 00338F04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BFA8 00338F08 7C 08 03 A6 */ mtlr r0 +/* 8033BFAC 00338F0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BFB0 00338F10 4E 80 00 20 */ blr + +.global FindResourceForLoad__10CResLoaderFUi +FindResourceForLoad__10CResLoaderFUi: +/* 8033BFB4 00338F14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BFB8 00338F18 7C 08 02 A6 */ mflr r0 +/* 8033BFBC 00338F1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BFC0 00338F20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BFC4 00338F24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BFC8 00338F28 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BFCC 00338F2C 7C 9D 23 78 */ mr r29, r4 +/* 8033BFD0 00338F30 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033BFD4 00338F34 7C 7C 1B 78 */ mr r28, r3 +/* 8033BFD8 00338F38 83 C3 00 04 */ lwz r30, 4(r3) +/* 8033BFDC 00338F3C 48 00 00 2C */ b lbl_8033C008 +lbl_8033BFE0: +/* 8033BFE0 00338F40 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033BFE4 00338F44 7F 83 E3 78 */ mr r3, r28 +/* 8033BFE8 00338F48 7F A5 EB 78 */ mr r5, r29 +/* 8033BFEC 00338F4C 7F E4 FB 78 */ mr r4, r31 +/* 8033BFF0 00338F50 48 00 01 75 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BFF4 00338F54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BFF8 00338F58 41 82 00 0C */ beq lbl_8033C004 +/* 8033BFFC 00338F5C 7F E3 FB 78 */ mr r3, r31 +/* 8033C000 00338F60 48 00 00 98 */ b lbl_8033C098 +lbl_8033C004: +/* 8033C004 00338F64 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033C008: +/* 8033C008 00338F68 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033C00C 00338F6C 7C 1E 00 40 */ cmplw r30, r0 +/* 8033C010 00338F70 40 82 FF D0 */ bne lbl_8033BFE0 +/* 8033C014 00338F74 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 8033C018 00338F78 80 1C 00 20 */ lwz r0, 0x20(r28) +/* 8033C01C 00338F7C 7C 03 00 40 */ cmplw r3, r0 +/* 8033C020 00338F80 41 82 00 28 */ beq lbl_8033C048 +/* 8033C024 00338F84 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 8033C028 00338F88 7F 83 E3 78 */ mr r3, r28 +/* 8033C02C 00338F8C 7F A5 EB 78 */ mr r5, r29 +/* 8033C030 00338F90 7F E4 FB 78 */ mr r4, r31 +/* 8033C034 00338F94 48 00 00 A9 */ bl CacheFromPakForLoad__10CResLoaderFR8CPakFileUi +/* 8033C038 00338F98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033C03C 00338F9C 41 82 00 0C */ beq lbl_8033C048 +/* 8033C040 00338FA0 7F E3 FB 78 */ mr r3, r31 +/* 8033C044 00338FA4 48 00 00 54 */ b lbl_8033C098 +lbl_8033C048: +/* 8033C048 00338FA8 83 DC 00 1C */ lwz r30, 0x1c(r28) +/* 8033C04C 00338FAC 48 00 00 3C */ b lbl_8033C088 +lbl_8033C050: +/* 8033C050 00338FB0 80 1C 00 48 */ lwz r0, 0x48(r28) +/* 8033C054 00338FB4 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033C058 00338FB8 7C 00 F0 40 */ cmplw r0, r30 +/* 8033C05C 00338FBC 41 82 00 28 */ beq lbl_8033C084 +/* 8033C060 00338FC0 7F 83 E3 78 */ mr r3, r28 +/* 8033C064 00338FC4 7F E4 FB 78 */ mr r4, r31 +/* 8033C068 00338FC8 7F A5 EB 78 */ mr r5, r29 +/* 8033C06C 00338FCC 48 00 00 71 */ bl CacheFromPakForLoad__10CResLoaderFR8CPakFileUi +/* 8033C070 00338FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033C074 00338FD4 41 82 00 10 */ beq lbl_8033C084 +/* 8033C078 00338FD8 93 DC 00 48 */ stw r30, 0x48(r28) +/* 8033C07C 00338FDC 7F E3 FB 78 */ mr r3, r31 +/* 8033C080 00338FE0 48 00 00 18 */ b lbl_8033C098 +lbl_8033C084: +/* 8033C084 00338FE4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033C088: +/* 8033C088 00338FE8 80 1C 00 20 */ lwz r0, 0x20(r28) +/* 8033C08C 00338FEC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033C090 00338FF0 40 82 FF C0 */ bne lbl_8033C050 +/* 8033C094 00338FF4 38 60 00 00 */ li r3, 0 +lbl_8033C098: +/* 8033C098 00338FF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033C09C 00338FFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033C0A0 00339000 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033C0A4 00339004 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033C0A8 00339008 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033C0AC 0033900C 7C 08 03 A6 */ mtlr r0 +/* 8033C0B0 00339010 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033C0B4 00339014 4E 80 00 20 */ blr + +.global FindResourceForLoad__10CResLoaderFRC10SObjectTag +FindResourceForLoad__10CResLoaderFRC10SObjectTag: +/* 8033C0B8 00339018 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033C0BC 0033901C 7C 08 02 A6 */ mflr r0 +/* 8033C0C0 00339020 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033C0C4 00339024 80 84 00 04 */ lwz r4, 4(r4) +/* 8033C0C8 00339028 4B FF FE ED */ bl FindResourceForLoad__10CResLoaderFUi +/* 8033C0CC 0033902C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033C0D0 00339030 7C 08 03 A6 */ mtlr r0 +/* 8033C0D4 00339034 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033C0D8 00339038 4E 80 00 20 */ blr + +.global CacheFromPakForLoad__10CResLoaderFR8CPakFileUi +CacheFromPakForLoad__10CResLoaderFR8CPakFileUi: +/* 8033C0DC 0033903C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033C0E0 00339040 7C 08 02 A6 */ mflr r0 +/* 8033C0E4 00339044 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033C0E8 00339048 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033C0EC 0033904C 7C BF 2B 78 */ mr r31, r5 +/* 8033C0F0 00339050 93 C1 00 08 */ stw r30, 8(r1) +/* 8033C0F4 00339054 7C 7E 1B 78 */ mr r30, r3 +/* 8033C0F8 00339058 88 03 00 54 */ lbz r0, 0x54(r3) +/* 8033C0FC 0033905C 28 00 00 00 */ cmplwi r0, 0 +/* 8033C100 00339060 41 82 00 20 */ beq lbl_8033C120 +/* 8033C104 00339064 7C 83 23 78 */ mr r3, r4 +/* 8033C108 00339068 7F E4 FB 78 */ mr r4, r31 +/* 8033C10C 0033906C 48 02 B5 E5 */ bl GetResInfoForLoadPreferForward__8CPakFileCFUi +/* 8033C110 00339070 38 00 00 00 */ li r0, 0 +/* 8033C114 00339074 98 1E 00 54 */ stb r0, 0x54(r30) +/* 8033C118 00339078 7C 60 1B 78 */ mr r0, r3 +/* 8033C11C 0033907C 48 00 00 14 */ b lbl_8033C130 +lbl_8033C120: +/* 8033C120 00339080 7C 83 23 78 */ mr r3, r4 +/* 8033C124 00339084 7F E4 FB 78 */ mr r4, r31 +/* 8033C128 00339088 48 02 B7 45 */ bl GetResInfoForLoadDirectionless__8CPakFileCFUi +/* 8033C12C 0033908C 7C 60 1B 78 */ mr r0, r3 +lbl_8033C130: +/* 8033C130 00339090 28 00 00 00 */ cmplwi r0, 0 +/* 8033C134 00339094 40 82 00 0C */ bne lbl_8033C140 +/* 8033C138 00339098 38 60 00 00 */ li r3, 0 +/* 8033C13C 0033909C 48 00 00 10 */ b lbl_8033C14C +lbl_8033C140: +/* 8033C140 003390A0 93 FE 00 4C */ stw r31, 0x4c(r30) +/* 8033C144 003390A4 38 60 00 01 */ li r3, 1 +/* 8033C148 003390A8 90 1E 00 50 */ stw r0, 0x50(r30) +lbl_8033C14C: +/* 8033C14C 003390AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033C150 003390B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033C154 003390B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033C158 003390B8 7C 08 03 A6 */ mtlr r0 +/* 8033C15C 003390BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033C160 003390C0 4E 80 00 20 */ blr + +.global CacheFromPak__10CResLoaderCFRC8CPakFileUi +CacheFromPak__10CResLoaderCFRC8CPakFileUi: +/* 8033C164 003390C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033C168 003390C8 7C 08 02 A6 */ mflr r0 +/* 8033C16C 003390CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033C170 003390D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033C174 003390D4 7C BF 2B 78 */ mr r31, r5 +/* 8033C178 003390D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8033C17C 003390DC 7C 7E 1B 78 */ mr r30, r3 +/* 8033C180 003390E0 7C 83 23 78 */ mr r3, r4 +/* 8033C184 003390E4 7F E4 FB 78 */ mr r4, r31 +/* 8033C188 003390E8 48 02 B8 45 */ bl GetResInfo__8CPakFileCFUi +/* 8033C18C 003390EC 28 03 00 00 */ cmplwi r3, 0 +/* 8033C190 003390F0 40 82 00 0C */ bne lbl_8033C19C +/* 8033C194 003390F4 38 60 00 00 */ li r3, 0 +/* 8033C198 003390F8 48 00 00 10 */ b lbl_8033C1A8 +lbl_8033C19C: +/* 8033C19C 003390FC 93 FE 00 4C */ stw r31, 0x4c(r30) +/* 8033C1A0 00339100 90 7E 00 50 */ stw r3, 0x50(r30) +/* 8033C1A4 00339104 38 60 00 01 */ li r3, 1 +lbl_8033C1A8: +/* 8033C1A8 00339108 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033C1AC 0033910C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033C1B0 00339110 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033C1B4 00339114 7C 08 03 A6 */ mtlr r0 +/* 8033C1B8 00339118 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033C1BC 0033911C 4E 80 00 20 */ blr + +.global "MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>" +"MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>": +/* 8033C1C0 00339120 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033C1C4 00339124 7C 08 02 A6 */ mflr r0 +/* 8033C1C8 00339128 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033C1CC 0033912C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033C1D0 00339130 7C 9F 23 78 */ mr r31, r4 +/* 8033C1D4 00339134 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033C1D8 00339138 7C 7E 1B 78 */ mr r30, r3 +/* 8033C1DC 0033913C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033C1E0 00339140 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033C1E4 00339144 80 64 00 04 */ lwz r3, 4(r4) +/* 8033C1E8 00339148 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8033C1EC 0033914C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8033C1F0 00339150 41 82 00 80 */ beq lbl_8033C270 +/* 8033C1F4 00339154 83 BE 00 08 */ lwz r29, 8(r30) +/* 8033C1F8 00339158 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033C1FC 0033915C 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033C200 00339160 38 A0 00 00 */ li r5, 0 +/* 8033C204 00339164 83 9D 00 00 */ lwz r28, 0(r29) +/* 8033C208 00339168 38 60 00 10 */ li r3, 0x10 +/* 8033C20C 0033916C 4B FD 96 0D */ bl __nwa__FUlPCcPCc +/* 8033C210 00339170 28 03 00 00 */ cmplwi r3, 0 +/* 8033C214 00339174 41 82 00 0C */ beq lbl_8033C220 +/* 8033C218 00339178 93 83 00 00 */ stw r28, 0(r3) +/* 8033C21C 0033917C 93 A3 00 04 */ stw r29, 4(r3) +lbl_8033C220: +/* 8033C220 00339180 34 A3 00 08 */ addic. r5, r3, 8 +/* 8033C224 00339184 41 82 00 1C */ beq lbl_8033C240 +/* 8033C228 00339188 88 9F 00 00 */ lbz r4, 0(r31) +/* 8033C22C 0033918C 38 00 00 00 */ li r0, 0 +/* 8033C230 00339190 98 85 00 00 */ stb r4, 0(r5) +/* 8033C234 00339194 80 9F 00 04 */ lwz r4, 4(r31) +/* 8033C238 00339198 90 85 00 04 */ stw r4, 4(r5) +/* 8033C23C 0033919C 98 1F 00 00 */ stb r0, 0(r31) +lbl_8033C240: +/* 8033C240 003391A0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033C244 003391A4 7C 1D 00 40 */ cmplw r29, r0 +/* 8033C248 003391A8 40 82 00 08 */ bne lbl_8033C250 +/* 8033C24C 003391AC 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033C250: +/* 8033C250 003391B0 80 83 00 00 */ lwz r4, 0(r3) +/* 8033C254 003391B4 90 64 00 04 */ stw r3, 4(r4) +/* 8033C258 003391B8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033C25C 003391BC 90 64 00 00 */ stw r3, 0(r4) +/* 8033C260 003391C0 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8033C264 003391C4 38 03 00 01 */ addi r0, r3, 1 +/* 8033C268 003391C8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8033C26C 003391CC 48 00 00 7C */ b lbl_8033C2E8 +lbl_8033C270: +/* 8033C270 003391D0 83 BE 00 20 */ lwz r29, 0x20(r30) +/* 8033C274 003391D4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033C278 003391D8 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033C27C 003391DC 38 A0 00 00 */ li r5, 0 +/* 8033C280 003391E0 83 9D 00 00 */ lwz r28, 0(r29) +/* 8033C284 003391E4 38 60 00 10 */ li r3, 0x10 +/* 8033C288 003391E8 4B FD 95 91 */ bl __nwa__FUlPCcPCc +/* 8033C28C 003391EC 28 03 00 00 */ cmplwi r3, 0 +/* 8033C290 003391F0 41 82 00 0C */ beq lbl_8033C29C +/* 8033C294 003391F4 93 83 00 00 */ stw r28, 0(r3) +/* 8033C298 003391F8 93 A3 00 04 */ stw r29, 4(r3) +lbl_8033C29C: +/* 8033C29C 003391FC 34 A3 00 08 */ addic. r5, r3, 8 +/* 8033C2A0 00339200 41 82 00 1C */ beq lbl_8033C2BC +/* 8033C2A4 00339204 88 9F 00 00 */ lbz r4, 0(r31) +/* 8033C2A8 00339208 38 00 00 00 */ li r0, 0 +/* 8033C2AC 0033920C 98 85 00 00 */ stb r4, 0(r5) +/* 8033C2B0 00339210 80 9F 00 04 */ lwz r4, 4(r31) +/* 8033C2B4 00339214 90 85 00 04 */ stw r4, 4(r5) +/* 8033C2B8 00339218 98 1F 00 00 */ stb r0, 0(r31) +lbl_8033C2BC: +/* 8033C2BC 0033921C 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8033C2C0 00339220 7C 1D 00 40 */ cmplw r29, r0 +/* 8033C2C4 00339224 40 82 00 08 */ bne lbl_8033C2CC +/* 8033C2C8 00339228 90 7E 00 1C */ stw r3, 0x1c(r30) +lbl_8033C2CC: +/* 8033C2CC 0033922C 80 83 00 00 */ lwz r4, 0(r3) +/* 8033C2D0 00339230 90 64 00 04 */ stw r3, 4(r4) +/* 8033C2D4 00339234 80 83 00 04 */ lwz r4, 4(r3) +/* 8033C2D8 00339238 90 64 00 00 */ stw r3, 0(r4) +/* 8033C2DC 0033923C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8033C2E0 00339240 38 03 00 01 */ addi r0, r3, 1 +/* 8033C2E4 00339244 90 1E 00 2C */ stw r0, 0x2c(r30) +lbl_8033C2E8: +/* 8033C2E8 00339248 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033C2EC 0033924C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033C2F0 00339250 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033C2F4 00339254 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033C2F8 00339258 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033C2FC 0033925C 7C 08 03 A6 */ mtlr r0 +/* 8033C300 00339260 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033C304 00339264 4E 80 00 20 */ blr + +.global __dt__10CResLoaderFv +__dt__10CResLoaderFv: +/* 8033C308 00339268 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033C30C 0033926C 7C 08 02 A6 */ mflr r0 +/* 8033C310 00339270 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033C314 00339274 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033C318 00339278 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033C31C 0033927C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033C320 00339280 7C 9D 23 78 */ mr r29, r4 +/* 8033C324 00339284 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033C328 00339288 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8033C32C 0033928C 41 82 00 6C */ beq lbl_8033C398 +/* 8033C330 00339290 83 DC 00 34 */ lwz r30, 0x34(r28) +/* 8033C334 00339294 48 00 00 24 */ b lbl_8033C358 +lbl_8033C338: +/* 8033C338 00339298 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033C33C 0033929C 48 00 00 0C */ b lbl_8033C348 +lbl_8033C340: +/* 8033C340 003392A0 7F E3 FB 78 */ mr r3, r31 +/* 8033C344 003392A4 48 02 C0 0D */ bl AsyncIdle__8CPakFileFv +lbl_8033C348: +/* 8033C348 003392A8 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8033C34C 003392AC 2C 00 00 03 */ cmpwi r0, 3 +/* 8033C350 003392B0 40 82 FF F0 */ bne lbl_8033C340 +/* 8033C354 003392B4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033C358: +/* 8033C358 003392B8 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 8033C35C 003392BC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033C360 003392C0 40 82 FF D8 */ bne lbl_8033C338 +/* 8033C364 003392C4 38 7C 00 30 */ addi r3, r28, 0x30 +/* 8033C368 003392C8 38 80 FF FF */ li r4, -1 +/* 8033C36C 003392CC 48 00 01 CD */ bl sub_8033c538 +/* 8033C370 003392D0 38 7C 00 18 */ addi r3, r28, 0x18 +/* 8033C374 003392D4 38 80 FF FF */ li r4, -1 +/* 8033C378 003392D8 48 00 01 C1 */ bl sub_8033c538 +/* 8033C37C 003392DC 7F 83 E3 78 */ mr r3, r28 +/* 8033C380 003392E0 38 80 FF FF */ li r4, -1 +/* 8033C384 003392E4 48 00 01 B5 */ bl sub_8033c538 +/* 8033C388 003392E8 7F A0 07 35 */ extsh. r0, r29 +/* 8033C38C 003392EC 40 81 00 0C */ ble lbl_8033C398 +/* 8033C390 003392F0 7F 83 E3 78 */ mr r3, r28 +/* 8033C394 003392F4 4B FD 95 9D */ bl Free__7CMemoryFPCv +lbl_8033C398: +/* 8033C398 003392F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033C39C 003392FC 7F 83 E3 78 */ mr r3, r28 +/* 8033C3A0 00339300 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033C3A4 00339304 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033C3A8 00339308 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033C3AC 0033930C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033C3B0 00339310 7C 08 03 A6 */ mtlr r0 +/* 8033C3B4 00339314 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033C3B8 00339318 4E 80 00 20 */ blr + +.global __ct__10CResLoaderFv +__ct__10CResLoaderFv: +/* 8033C3BC 0033931C 38 83 00 0C */ addi r4, r3, 0xc +/* 8033C3C0 00339320 38 A0 00 00 */ li r5, 0 +/* 8033C3C4 00339324 90 83 00 04 */ stw r4, 4(r3) +/* 8033C3C8 00339328 38 C3 00 24 */ addi r6, r3, 0x24 +/* 8033C3CC 0033932C 38 E3 00 3C */ addi r7, r3, 0x3c +/* 8033C3D0 00339330 38 00 FF FF */ li r0, -1 +/* 8033C3D4 00339334 90 83 00 08 */ stw r4, 8(r3) +/* 8033C3D8 00339338 90 83 00 0C */ stw r4, 0xc(r3) +/* 8033C3DC 0033933C 90 83 00 10 */ stw r4, 0x10(r3) +/* 8033C3E0 00339340 90 A3 00 14 */ stw r5, 0x14(r3) +/* 8033C3E4 00339344 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 8033C3E8 00339348 90 C3 00 20 */ stw r6, 0x20(r3) +/* 8033C3EC 0033934C 90 C3 00 24 */ stw r6, 0x24(r3) +/* 8033C3F0 00339350 90 C3 00 28 */ stw r6, 0x28(r3) +/* 8033C3F4 00339354 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 8033C3F8 00339358 90 E3 00 34 */ stw r7, 0x34(r3) +/* 8033C3FC 0033935C 90 E3 00 38 */ stw r7, 0x38(r3) +/* 8033C400 00339360 90 E3 00 3C */ stw r7, 0x3c(r3) +/* 8033C404 00339364 90 E3 00 40 */ stw r7, 0x40(r3) +/* 8033C408 00339368 90 A3 00 44 */ stw r5, 0x44(r3) +/* 8033C40C 0033936C 80 83 00 20 */ lwz r4, 0x20(r3) +/* 8033C410 00339370 90 83 00 48 */ stw r4, 0x48(r3) +/* 8033C414 00339374 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8033C418 00339378 90 A3 00 50 */ stw r5, 0x50(r3) +/* 8033C41C 0033937C 98 A3 00 54 */ stb r5, 0x54(r3) +/* 8033C420 00339380 4E 80 00 20 */ blr + +.global "distance,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>Fv" +"internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv": +/* 8033CCCC 00339C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033CCD0 00339C30 7C 08 02 A6 */ mflr r0 +/* 8033CCD4 00339C34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033CCD8 00339C38 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033CCDC 00339C3C 28 05 00 00 */ cmplwi r5, 0 +/* 8033CCE0 00339C40 41 82 00 24 */ beq lbl_8033CD04 +/* 8033CCE4 00339C44 80 85 00 04 */ lwz r4, 4(r5) +/* 8033CCE8 00339C48 34 04 FF FF */ addic. r0, r4, -1 +/* 8033CCEC 00339C4C 90 05 00 04 */ stw r0, 4(r5) +/* 8033CCF0 00339C50 40 82 00 14 */ bne lbl_8033CD04 +/* 8033CCF4 00339C54 80 63 00 04 */ lwz r3, 4(r3) +/* 8033CCF8 00339C58 28 03 00 00 */ cmplwi r3, 0 +/* 8033CCFC 00339C5C 41 82 00 08 */ beq lbl_8033CD04 +/* 8033CD00 00339C60 4B FD 8C 31 */ bl Free__7CMemoryFPCv +lbl_8033CD04: +/* 8033CD04 00339C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033CD08 00339C68 7C 08 03 A6 */ mtlr r0 +/* 8033CD0C 00339C6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033CD10 00339C70 4E 80 00 20 */ blr + +.global "internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi" +"internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi": +/* 8033CD14 00339C74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033CD18 00339C78 7C 08 02 A6 */ mflr r0 +/* 8033CD1C 00339C7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033CD20 00339C80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033CD24 00339C84 7C 9F 23 78 */ mr r31, r4 +/* 8033CD28 00339C88 93 C1 00 08 */ stw r30, 8(r1) +/* 8033CD2C 00339C8C 7C 7E 1B 78 */ mr r30, r3 +/* 8033CD30 00339C90 34 7F 00 08 */ addic. r3, r31, 8 +/* 8033CD34 00339C94 40 82 00 10 */ bne lbl_8033CD44 +/* 8033CD38 00339C98 38 00 00 00 */ li r0, 0 +/* 8033CD3C 00339C9C 90 1E 00 04 */ stw r0, 4(r30) +/* 8033CD40 00339CA0 48 00 00 18 */ b lbl_8033CD58 +lbl_8033CD44: +/* 8033CD44 00339CA4 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033CD48 00339CA8 38 A0 00 00 */ li r5, 0 +/* 8033CD4C 00339CAC 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033CD50 00339CB0 4B FD 8A C9 */ bl __nwa__FUlPCcPCc +/* 8033CD54 00339CB4 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033CD58: +/* 8033CD58 00339CB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033CD5C 00339CBC 38 00 00 01 */ li r0, 1 +/* 8033CD60 00339CC0 38 63 00 08 */ addi r3, r3, 8 +/* 8033CD64 00339CC4 90 7E 00 00 */ stw r3, 0(r30) +/* 8033CD68 00339CC8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033CD6C 00339CCC 93 E3 00 00 */ stw r31, 0(r3) +/* 8033CD70 00339CD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033CD74 00339CD4 90 03 00 04 */ stw r0, 4(r3) +/* 8033CD78 00339CD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033CD7C 00339CDC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033CD80 00339CE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033CD84 00339CE4 7C 08 03 A6 */ mtlr r0 +/* 8033CD88 00339CE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033CD8C 00339CEC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator": +/* 8033CD90 00339CF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033CD94 00339CF4 7C 08 02 A6 */ mflr r0 +/* 8033CD98 00339CF8 2C 05 00 00 */ cmpwi r5, 0 +/* 8033CD9C 00339CFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033CDA0 00339D00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033CDA4 00339D04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033CDA8 00339D08 7C 9E 23 78 */ mr r30, r4 +/* 8033CDAC 00339D0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033CDB0 00339D10 7C 7D 1B 78 */ mr r29, r3 +/* 8033CDB4 00339D14 41 81 00 28 */ bgt lbl_8033CDDC +/* 8033CDB8 00339D18 88 1E 00 00 */ lbz r0, 0(r30) +/* 8033CDBC 00339D1C 7C 00 07 75 */ extsb. r0, r0 +/* 8033CDC0 00339D20 40 82 00 1C */ bne lbl_8033CDDC +/* 8033CDC4 00339D24 38 8D A9 1C */ addi r4, r13, lbl_805A94DC@sda21 +/* 8033CDC8 00339D28 38 00 00 00 */ li r0, 0 +/* 8033CDCC 00339D2C 90 9D 00 00 */ stw r4, 0(r29) +/* 8033CDD0 00339D30 90 1D 00 08 */ stw r0, 8(r29) +/* 8033CDD4 00339D34 90 1D 00 04 */ stw r0, 4(r29) +/* 8033CDD8 00339D38 48 00 01 80 */ b lbl_8033CF58 +lbl_8033CDDC: +/* 8033CDDC 00339D3C 7F C4 F3 78 */ mr r4, r30 +/* 8033CDE0 00339D40 3B E0 00 00 */ li r31, 0 +/* 8033CDE4 00339D44 48 00 00 0C */ b lbl_8033CDF0 +lbl_8033CDE8: +/* 8033CDE8 00339D48 38 84 00 01 */ addi r4, r4, 1 +/* 8033CDEC 00339D4C 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033CDF0: +/* 8033CDF0 00339D50 2C 05 FF FF */ cmpwi r5, -1 +/* 8033CDF4 00339D54 41 82 00 0C */ beq lbl_8033CE00 +/* 8033CDF8 00339D58 7C 1F 28 00 */ cmpw r31, r5 +/* 8033CDFC 00339D5C 40 80 00 90 */ bge lbl_8033CE8C +lbl_8033CE00: +/* 8033CE00 00339D60 88 C4 00 00 */ lbz r6, 0(r4) +/* 8033CE04 00339D64 38 60 00 00 */ li r3, 0 +/* 8033CE08 00339D68 7C C0 07 74 */ extsb r0, r6 +/* 8033CE0C 00339D6C 2C 00 00 61 */ cmpwi r0, 0x61 +/* 8033CE10 00339D70 41 80 00 10 */ blt lbl_8033CE20 +/* 8033CE14 00339D74 2C 00 00 7A */ cmpwi r0, 0x7a +/* 8033CE18 00339D78 41 81 00 08 */ bgt lbl_8033CE20 +/* 8033CE1C 00339D7C 38 60 00 01 */ li r3, 1 +lbl_8033CE20: +/* 8033CE20 00339D80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033CE24 00339D84 41 82 00 10 */ beq lbl_8033CE34 +/* 8033CE28 00339D88 7C C3 07 74 */ extsb r3, r6 +/* 8033CE2C 00339D8C 38 63 FF E0 */ addi r3, r3, -32 +/* 8033CE30 00339D90 48 00 00 54 */ b lbl_8033CE84 +lbl_8033CE34: +/* 8033CE34 00339D94 7C C3 07 74 */ extsb r3, r6 +/* 8033CE38 00339D98 38 00 00 00 */ li r0, 0 +/* 8033CE3C 00339D9C 2C 03 00 E0 */ cmpwi r3, 0xe0 +/* 8033CE40 00339DA0 41 80 00 10 */ blt lbl_8033CE50 +/* 8033CE44 00339DA4 2C 03 00 FE */ cmpwi r3, 0xfe +/* 8033CE48 00339DA8 41 81 00 08 */ bgt lbl_8033CE50 +/* 8033CE4C 00339DAC 38 00 00 01 */ li r0, 1 +lbl_8033CE50: +/* 8033CE50 00339DB0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033CE54 00339DB4 41 82 00 0C */ beq lbl_8033CE60 +/* 8033CE58 00339DB8 38 63 FF E0 */ addi r3, r3, -32 +/* 8033CE5C 00339DBC 48 00 00 28 */ b lbl_8033CE84 +lbl_8033CE60: +/* 8033CE60 00339DC0 2C 03 30 A0 */ cmpwi r3, 0x30a0 +/* 8033CE64 00339DC4 38 00 00 00 */ li r0, 0 +/* 8033CE68 00339DC8 41 80 00 10 */ blt lbl_8033CE78 +/* 8033CE6C 00339DCC 2C 03 30 FF */ cmpwi r3, 0x30ff +/* 8033CE70 00339DD0 41 81 00 08 */ bgt lbl_8033CE78 +/* 8033CE74 00339DD4 38 00 00 01 */ li r0, 1 +lbl_8033CE78: +/* 8033CE78 00339DD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033CE7C 00339DDC 41 82 00 08 */ beq lbl_8033CE84 +/* 8033CE80 00339DE0 38 63 FF A0 */ addi r3, r3, -96 +lbl_8033CE84: +/* 8033CE84 00339DE4 7C 60 07 75 */ extsb. r0, r3 +/* 8033CE88 00339DE8 40 82 FF 60 */ bne lbl_8033CDE8 +lbl_8033CE8C: +/* 8033CE8C 00339DEC 7F A3 EB 78 */ mr r3, r29 +/* 8033CE90 00339DF0 38 9F 00 01 */ addi r4, r31, 1 +/* 8033CE94 00339DF4 4B FF FE 81 */ bl "internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi" +/* 8033CE98 00339DF8 93 FD 00 08 */ stw r31, 8(r29) +/* 8033CE9C 00339DFC 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033CEA0 00339E00 38 A0 00 00 */ li r5, 0 +/* 8033CEA4 00339E04 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033CEA8 00339E08 40 81 00 A0 */ ble lbl_8033CF48 +/* 8033CEAC 00339E0C 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033CEB0 00339E10 38 9F FF F8 */ addi r4, r31, -8 +/* 8033CEB4 00339E14 40 81 00 68 */ ble lbl_8033CF1C +/* 8033CEB8 00339E18 38 04 00 07 */ addi r0, r4, 7 +/* 8033CEBC 00339E1C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033CEC0 00339E20 7C 09 03 A6 */ mtctr r0 +/* 8033CEC4 00339E24 2C 04 00 00 */ cmpwi r4, 0 +/* 8033CEC8 00339E28 40 81 00 54 */ ble lbl_8033CF1C +lbl_8033CECC: +/* 8033CECC 00339E2C 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033CED0 00339E30 7C C3 2A 14 */ add r6, r3, r5 +/* 8033CED4 00339E34 88 04 00 00 */ lbz r0, 0(r4) +/* 8033CED8 00339E38 38 A5 00 08 */ addi r5, r5, 8 +/* 8033CEDC 00339E3C 98 06 00 00 */ stb r0, 0(r6) +/* 8033CEE0 00339E40 88 04 00 01 */ lbz r0, 1(r4) +/* 8033CEE4 00339E44 98 06 00 01 */ stb r0, 1(r6) +/* 8033CEE8 00339E48 88 04 00 02 */ lbz r0, 2(r4) +/* 8033CEEC 00339E4C 98 06 00 02 */ stb r0, 2(r6) +/* 8033CEF0 00339E50 88 04 00 03 */ lbz r0, 3(r4) +/* 8033CEF4 00339E54 98 06 00 03 */ stb r0, 3(r6) +/* 8033CEF8 00339E58 88 04 00 04 */ lbz r0, 4(r4) +/* 8033CEFC 00339E5C 98 06 00 04 */ stb r0, 4(r6) +/* 8033CF00 00339E60 88 04 00 05 */ lbz r0, 5(r4) +/* 8033CF04 00339E64 98 06 00 05 */ stb r0, 5(r6) +/* 8033CF08 00339E68 88 04 00 06 */ lbz r0, 6(r4) +/* 8033CF0C 00339E6C 98 06 00 06 */ stb r0, 6(r6) +/* 8033CF10 00339E70 88 04 00 07 */ lbz r0, 7(r4) +/* 8033CF14 00339E74 98 06 00 07 */ stb r0, 7(r6) +/* 8033CF18 00339E78 42 00 FF B4 */ bdnz lbl_8033CECC +lbl_8033CF1C: +/* 8033CF1C 00339E7C 7C 05 F8 50 */ subf r0, r5, r31 +/* 8033CF20 00339E80 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033CF24 00339E84 7C 63 2A 14 */ add r3, r3, r5 +/* 8033CF28 00339E88 7C 09 03 A6 */ mtctr r0 +/* 8033CF2C 00339E8C 7C 05 F8 00 */ cmpw r5, r31 +/* 8033CF30 00339E90 40 80 00 18 */ bge lbl_8033CF48 +lbl_8033CF34: +/* 8033CF34 00339E94 88 04 00 00 */ lbz r0, 0(r4) +/* 8033CF38 00339E98 38 84 00 01 */ addi r4, r4, 1 +/* 8033CF3C 00339E9C 98 03 00 00 */ stb r0, 0(r3) +/* 8033CF40 00339EA0 38 63 00 01 */ addi r3, r3, 1 +/* 8033CF44 00339EA4 42 00 FF F0 */ bdnz lbl_8033CF34 +lbl_8033CF48: +/* 8033CF48 00339EA8 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033CF4C 00339EAC 38 00 00 00 */ li r0, 0 +/* 8033CF50 00339EB0 7F A3 EB 78 */ mr r3, r29 +/* 8033CF54 00339EB4 7C 04 F9 AE */ stbx r0, r4, r31 +lbl_8033CF58: +/* 8033CF58 00339EB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033CF5C 00339EBC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033CF60 00339EC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033CF64 00339EC4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033CF68 00339EC8 7C 08 03 A6 */ mtlr r0 +/* 8033CF6C 00339ECC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033CF70 00339ED0 4E 80 00 20 */ blr + +.global "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +"internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib": +/* 8033CF74 00339ED4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033CF78 00339ED8 7C 08 02 A6 */ mflr r0 +/* 8033CF7C 00339EDC 38 84 00 01 */ addi r4, r4, 1 +/* 8033CF80 00339EE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033CF84 00339EE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033CF88 00339EE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033CF8C 00339EEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033CF90 00339EF0 7C 7D 1B 78 */ mr r29, r3 +/* 8033CF94 00339EF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033CF98 00339EF8 7C BC 2B 78 */ mr r28, r5 +/* 8033CF9C 00339EFC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033CFA0 00339F00 28 03 00 00 */ cmplwi r3, 0 +/* 8033CFA4 00339F04 41 82 00 1C */ beq lbl_8033CFC0 +/* 8033CFA8 00339F08 80 03 00 04 */ lwz r0, 4(r3) +/* 8033CFAC 00339F0C 2C 00 00 01 */ cmpwi r0, 1 +/* 8033CFB0 00339F10 40 82 00 10 */ bne lbl_8033CFC0 +/* 8033CFB4 00339F14 80 03 00 00 */ lwz r0, 0(r3) +/* 8033CFB8 00339F18 7C 00 20 00 */ cmpw r0, r4 +/* 8033CFBC 00339F1C 40 80 01 58 */ bge lbl_8033D114 +lbl_8033CFC0: +/* 8033CFC0 00339F20 28 03 00 00 */ cmplwi r3, 0 +/* 8033CFC4 00339F24 41 82 00 30 */ beq lbl_8033CFF4 +/* 8033CFC8 00339F28 80 63 00 00 */ lwz r3, 0(r3) +/* 8033CFCC 00339F2C 38 00 00 04 */ li r0, 4 +/* 8033CFD0 00339F30 2C 03 00 04 */ cmpwi r3, 4 +/* 8033CFD4 00339F34 41 80 00 08 */ blt lbl_8033CFDC +/* 8033CFD8 00339F38 7C 60 1B 78 */ mr r0, r3 +lbl_8033CFDC: +/* 8033CFDC 00339F3C 7C 1E 03 78 */ mr r30, r0 +/* 8033CFE0 00339F40 48 00 00 08 */ b lbl_8033CFE8 +lbl_8033CFE4: +/* 8033CFE4 00339F44 57 DE 08 3C */ slwi r30, r30, 1 +lbl_8033CFE8: +/* 8033CFE8 00339F48 7C 1E 20 00 */ cmpw r30, r4 +/* 8033CFEC 00339F4C 41 80 FF F8 */ blt lbl_8033CFE4 +/* 8033CFF0 00339F50 48 00 00 08 */ b lbl_8033CFF8 +lbl_8033CFF4: +/* 8033CFF4 00339F54 7C 9E 23 78 */ mr r30, r4 +lbl_8033CFF8: +/* 8033CFF8 00339F58 57 C3 08 3C */ slwi r3, r30, 1 +/* 8033CFFC 00339F5C 34 63 00 08 */ addic. r3, r3, 8 +/* 8033D000 00339F60 40 82 00 0C */ bne lbl_8033D00C +/* 8033D004 00339F64 3B E0 00 00 */ li r31, 0 +/* 8033D008 00339F68 48 00 00 18 */ b lbl_8033D020 +lbl_8033D00C: +/* 8033D00C 00339F6C 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033D010 00339F70 38 A0 00 00 */ li r5, 0 +/* 8033D014 00339F74 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033D018 00339F78 4B FD 88 01 */ bl __nwa__FUlPCcPCc +/* 8033D01C 00339F7C 7C 7F 1B 78 */ mr r31, r3 +lbl_8033D020: +/* 8033D020 00339F80 93 DF 00 00 */ stw r30, 0(r31) +/* 8033D024 00339F84 38 60 00 01 */ li r3, 1 +/* 8033D028 00339F88 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8033D02C 00339F8C 3B DF 00 08 */ addi r30, r31, 8 +/* 8033D030 00339F90 90 7F 00 04 */ stw r3, 4(r31) +/* 8033D034 00339F94 41 82 00 D0 */ beq lbl_8033D104 +/* 8033D038 00339F98 80 BD 00 08 */ lwz r5, 8(r29) +/* 8033D03C 00339F9C 38 60 00 00 */ li r3, 0 +/* 8033D040 00339FA0 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033D044 00339FA4 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D048 00339FA8 40 81 00 AC */ ble lbl_8033D0F4 +/* 8033D04C 00339FAC 2C 05 00 08 */ cmpwi r5, 8 +/* 8033D050 00339FB0 38 C5 FF F8 */ addi r6, r5, -8 +/* 8033D054 00339FB4 40 81 00 70 */ ble lbl_8033D0C4 +/* 8033D058 00339FB8 38 06 00 07 */ addi r0, r6, 7 +/* 8033D05C 00339FBC 7C 87 23 78 */ mr r7, r4 +/* 8033D060 00339FC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D064 00339FC4 7F C8 F3 78 */ mr r8, r30 +/* 8033D068 00339FC8 7C 09 03 A6 */ mtctr r0 +/* 8033D06C 00339FCC 2C 06 00 00 */ cmpwi r6, 0 +/* 8033D070 00339FD0 40 81 00 54 */ ble lbl_8033D0C4 +lbl_8033D074: +/* 8033D074 00339FD4 A0 07 00 00 */ lhz r0, 0(r7) +/* 8033D078 00339FD8 38 63 00 08 */ addi r3, r3, 8 +/* 8033D07C 00339FDC B0 08 00 00 */ sth r0, 0(r8) +/* 8033D080 00339FE0 A0 07 00 02 */ lhz r0, 2(r7) +/* 8033D084 00339FE4 B0 08 00 02 */ sth r0, 2(r8) +/* 8033D088 00339FE8 A0 07 00 04 */ lhz r0, 4(r7) +/* 8033D08C 00339FEC B0 08 00 04 */ sth r0, 4(r8) +/* 8033D090 00339FF0 A0 07 00 06 */ lhz r0, 6(r7) +/* 8033D094 00339FF4 B0 08 00 06 */ sth r0, 6(r8) +/* 8033D098 00339FF8 A0 07 00 08 */ lhz r0, 8(r7) +/* 8033D09C 00339FFC B0 08 00 08 */ sth r0, 8(r8) +/* 8033D0A0 0033A000 A0 07 00 0A */ lhz r0, 0xa(r7) +/* 8033D0A4 0033A004 B0 08 00 0A */ sth r0, 0xa(r8) +/* 8033D0A8 0033A008 A0 07 00 0C */ lhz r0, 0xc(r7) +/* 8033D0AC 0033A00C B0 08 00 0C */ sth r0, 0xc(r8) +/* 8033D0B0 0033A010 A0 07 00 0E */ lhz r0, 0xe(r7) +/* 8033D0B4 0033A014 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D0B8 0033A018 B0 08 00 0E */ sth r0, 0xe(r8) +/* 8033D0BC 0033A01C 39 08 00 10 */ addi r8, r8, 0x10 +/* 8033D0C0 0033A020 42 00 FF B4 */ bdnz lbl_8033D074 +lbl_8033D0C4: +/* 8033D0C4 0033A024 54 66 08 3C */ slwi r6, r3, 1 +/* 8033D0C8 0033A028 7C 03 28 50 */ subf r0, r3, r5 +/* 8033D0CC 0033A02C 7C 84 32 14 */ add r4, r4, r6 +/* 8033D0D0 0033A030 7C DE 32 14 */ add r6, r30, r6 +/* 8033D0D4 0033A034 7C 09 03 A6 */ mtctr r0 +/* 8033D0D8 0033A038 7C 03 28 00 */ cmpw r3, r5 +/* 8033D0DC 0033A03C 40 80 00 18 */ bge lbl_8033D0F4 +lbl_8033D0E0: +/* 8033D0E0 0033A040 A0 04 00 00 */ lhz r0, 0(r4) +/* 8033D0E4 0033A044 38 84 00 02 */ addi r4, r4, 2 +/* 8033D0E8 0033A048 B0 06 00 00 */ sth r0, 0(r6) +/* 8033D0EC 0033A04C 38 C6 00 02 */ addi r6, r6, 2 +/* 8033D0F0 0033A050 42 00 FF F0 */ bdnz lbl_8033D0E0 +lbl_8033D0F4: +/* 8033D0F4 0033A054 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D0F8 0033A058 38 60 00 00 */ li r3, 0 +/* 8033D0FC 0033A05C 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D100 0033A060 7C 7E 03 2E */ sthx r3, r30, r0 +lbl_8033D104: +/* 8033D104 0033A064 7F A3 EB 78 */ mr r3, r29 +/* 8033D108 0033A068 48 00 00 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033D10C 0033A06C 93 FD 00 04 */ stw r31, 4(r29) +/* 8033D110 0033A070 93 DD 00 00 */ stw r30, 0(r29) +lbl_8033D114: +/* 8033D114 0033A074 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D118 0033A078 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D11C 0033A07C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D120 0033A080 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D124 0033A084 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033D128 0033A088 7C 08 03 A6 */ mtlr r0 +/* 8033D12C 0033A08C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D130 0033A090 4E 80 00 20 */ blr + +.global "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +"internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv": +/* 8033D134 0033A094 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D138 0033A098 7C 08 02 A6 */ mflr r0 +/* 8033D13C 0033A09C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D140 0033A0A0 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033D144 0033A0A4 28 05 00 00 */ cmplwi r5, 0 +/* 8033D148 0033A0A8 41 82 00 24 */ beq lbl_8033D16C +/* 8033D14C 0033A0AC 80 85 00 04 */ lwz r4, 4(r5) +/* 8033D150 0033A0B0 34 04 FF FF */ addic. r0, r4, -1 +/* 8033D154 0033A0B4 90 05 00 04 */ stw r0, 4(r5) +/* 8033D158 0033A0B8 40 82 00 14 */ bne lbl_8033D16C +/* 8033D15C 0033A0BC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033D160 0033A0C0 28 03 00 00 */ cmplwi r3, 0 +/* 8033D164 0033A0C4 41 82 00 08 */ beq lbl_8033D16C +/* 8033D168 0033A0C8 4B FD 87 C9 */ bl Free__7CMemoryFPCv +lbl_8033D16C: +/* 8033D16C 0033A0CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D170 0033A0D0 7C 08 03 A6 */ mtlr r0 +/* 8033D174 0033A0D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D178 0033A0D8 4E 80 00 20 */ blr + +.global "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +"internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi": +/* 8033D17C 0033A0DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D180 0033A0E0 7C 08 02 A6 */ mflr r0 +/* 8033D184 0033A0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D188 0033A0E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033D18C 0033A0EC 7C 9F 23 78 */ mr r31, r4 +/* 8033D190 0033A0F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033D194 0033A0F4 7C 7E 1B 78 */ mr r30, r3 +/* 8033D198 0033A0F8 54 83 08 3C */ slwi r3, r4, 1 +/* 8033D19C 0033A0FC 34 63 00 08 */ addic. r3, r3, 8 +/* 8033D1A0 0033A100 40 82 00 10 */ bne lbl_8033D1B0 +/* 8033D1A4 0033A104 38 00 00 00 */ li r0, 0 +/* 8033D1A8 0033A108 90 1E 00 04 */ stw r0, 4(r30) +/* 8033D1AC 0033A10C 48 00 00 18 */ b lbl_8033D1C4 +lbl_8033D1B0: +/* 8033D1B0 0033A110 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033D1B4 0033A114 38 A0 00 00 */ li r5, 0 +/* 8033D1B8 0033A118 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033D1BC 0033A11C 4B FD 86 5D */ bl __nwa__FUlPCcPCc +/* 8033D1C0 0033A120 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033D1C4: +/* 8033D1C4 0033A124 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033D1C8 0033A128 38 00 00 01 */ li r0, 1 +/* 8033D1CC 0033A12C 38 63 00 08 */ addi r3, r3, 8 +/* 8033D1D0 0033A130 90 7E 00 00 */ stw r3, 0(r30) +/* 8033D1D4 0033A134 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033D1D8 0033A138 93 E3 00 00 */ stw r31, 0(r3) +/* 8033D1DC 0033A13C 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033D1E0 0033A140 90 03 00 04 */ stw r0, 4(r3) +/* 8033D1E4 0033A144 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033D1E8 0033A148 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033D1EC 0033A14C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D1F0 0033A150 7C 08 03 A6 */ mtlr r0 +/* 8033D1F4 0033A154 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D1F8 0033A158 4E 80 00 20 */ blr + +.global sub_8033d1fc +sub_8033d1fc: +/* 8033D1FC 0033A15C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D200 0033A160 7C 08 02 A6 */ mflr r0 +/* 8033D204 0033A164 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D208 0033A168 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D20C 0033A16C 7C 9F 23 78 */ mr r31, r4 +/* 8033D210 0033A170 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D214 0033A174 7C 7E 1B 78 */ mr r30, r3 +/* 8033D218 0033A178 7F E3 FB 78 */ mr r3, r31 +/* 8033D21C 0033A17C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D220 0033A180 3B A0 00 00 */ li r29, 0 +/* 8033D224 0033A184 48 00 00 0C */ b lbl_8033D230 +lbl_8033D228: +/* 8033D228 0033A188 38 63 00 02 */ addi r3, r3, 2 +/* 8033D22C 0033A18C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8033D230: +/* 8033D230 0033A190 2C 05 FF FF */ cmpwi r5, -1 +/* 8033D234 0033A194 41 82 00 0C */ beq lbl_8033D240 +/* 8033D238 0033A198 7C 1D 28 00 */ cmpw r29, r5 +/* 8033D23C 0033A19C 40 80 00 10 */ bge lbl_8033D24C +lbl_8033D240: +/* 8033D240 0033A1A0 A0 03 00 00 */ lhz r0, 0(r3) +/* 8033D244 0033A1A4 28 00 00 00 */ cmplwi r0, 0 +/* 8033D248 0033A1A8 40 82 FF E0 */ bne lbl_8033D228 +lbl_8033D24C: +/* 8033D24C 0033A1AC 7F C3 F3 78 */ mr r3, r30 +/* 8033D250 0033A1B0 7F A4 EB 78 */ mr r4, r29 +/* 8033D254 0033A1B4 38 A0 00 00 */ li r5, 0 +/* 8033D258 0033A1B8 4B FF FD 1D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D25C 0033A1BC 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033D260 0033A1C0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D264 0033A1C4 38 60 00 00 */ li r3, 0 +/* 8033D268 0033A1C8 40 81 00 AC */ ble lbl_8033D314 +/* 8033D26C 0033A1CC 2C 1D 00 08 */ cmpwi r29, 8 +/* 8033D270 0033A1D0 38 BD FF F8 */ addi r5, r29, -8 +/* 8033D274 0033A1D4 40 81 00 70 */ ble lbl_8033D2E4 +/* 8033D278 0033A1D8 38 05 00 07 */ addi r0, r5, 7 +/* 8033D27C 0033A1DC 7F E6 FB 78 */ mr r6, r31 +/* 8033D280 0033A1E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D284 0033A1E4 7C 87 23 78 */ mr r7, r4 +/* 8033D288 0033A1E8 7C 09 03 A6 */ mtctr r0 +/* 8033D28C 0033A1EC 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D290 0033A1F0 40 81 00 54 */ ble lbl_8033D2E4 +lbl_8033D294: +/* 8033D294 0033A1F4 A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D298 0033A1F8 38 63 00 08 */ addi r3, r3, 8 +/* 8033D29C 0033A1FC B0 07 00 00 */ sth r0, 0(r7) +/* 8033D2A0 0033A200 A0 06 00 02 */ lhz r0, 2(r6) +/* 8033D2A4 0033A204 B0 07 00 02 */ sth r0, 2(r7) +/* 8033D2A8 0033A208 A0 06 00 04 */ lhz r0, 4(r6) +/* 8033D2AC 0033A20C B0 07 00 04 */ sth r0, 4(r7) +/* 8033D2B0 0033A210 A0 06 00 06 */ lhz r0, 6(r6) +/* 8033D2B4 0033A214 B0 07 00 06 */ sth r0, 6(r7) +/* 8033D2B8 0033A218 A0 06 00 08 */ lhz r0, 8(r6) +/* 8033D2BC 0033A21C B0 07 00 08 */ sth r0, 8(r7) +/* 8033D2C0 0033A220 A0 06 00 0A */ lhz r0, 0xa(r6) +/* 8033D2C4 0033A224 B0 07 00 0A */ sth r0, 0xa(r7) +/* 8033D2C8 0033A228 A0 06 00 0C */ lhz r0, 0xc(r6) +/* 8033D2CC 0033A22C B0 07 00 0C */ sth r0, 0xc(r7) +/* 8033D2D0 0033A230 A0 06 00 0E */ lhz r0, 0xe(r6) +/* 8033D2D4 0033A234 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D2D8 0033A238 B0 07 00 0E */ sth r0, 0xe(r7) +/* 8033D2DC 0033A23C 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D2E0 0033A240 42 00 FF B4 */ bdnz lbl_8033D294 +lbl_8033D2E4: +/* 8033D2E4 0033A244 54 66 08 3C */ slwi r6, r3, 1 +/* 8033D2E8 0033A248 7C 03 E8 50 */ subf r0, r3, r29 +/* 8033D2EC 0033A24C 7C BF 32 14 */ add r5, r31, r6 +/* 8033D2F0 0033A250 7C 84 32 14 */ add r4, r4, r6 +/* 8033D2F4 0033A254 7C 09 03 A6 */ mtctr r0 +/* 8033D2F8 0033A258 7C 03 E8 00 */ cmpw r3, r29 +/* 8033D2FC 0033A25C 40 80 00 18 */ bge lbl_8033D314 +lbl_8033D300: +/* 8033D300 0033A260 A0 05 00 00 */ lhz r0, 0(r5) +/* 8033D304 0033A264 38 A5 00 02 */ addi r5, r5, 2 +/* 8033D308 0033A268 B0 04 00 00 */ sth r0, 0(r4) +/* 8033D30C 0033A26C 38 84 00 02 */ addi r4, r4, 2 +/* 8033D310 0033A270 42 00 FF F0 */ bdnz lbl_8033D300 +lbl_8033D314: +/* 8033D314 0033A274 93 BE 00 08 */ stw r29, 8(r30) +/* 8033D318 0033A278 38 A0 00 00 */ li r5, 0 +/* 8033D31C 0033A27C 7F C3 F3 78 */ mr r3, r30 +/* 8033D320 0033A280 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D324 0033A284 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D328 0033A288 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D32C 0033A28C 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D330 0033A290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D334 0033A294 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D338 0033A298 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D33C 0033A29C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D340 0033A2A0 7C 08 03 A6 */ mtlr r0 +/* 8033D344 0033A2A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D348 0033A2A8 4E 80 00 20 */ blr + +.global sub_8033d34c +sub_8033d34c: +/* 8033D34C 0033A2AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D350 0033A2B0 7C 08 02 A6 */ mflr r0 +/* 8033D354 0033A2B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D358 0033A2B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033D35C 0033A2BC 7C 9F 23 78 */ mr r31, r4 +/* 8033D360 0033A2C0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033D364 0033A2C4 7C 7E 1B 78 */ mr r30, r3 +/* 8033D368 0033A2C8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033D36C 0033A2CC 28 04 00 00 */ cmplwi r4, 0 +/* 8033D370 0033A2D0 41 82 00 14 */ beq lbl_8033D384 +/* 8033D374 0033A2D4 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033D378 0033A2D8 7C 04 00 40 */ cmplw r4, r0 +/* 8033D37C 0033A2DC 40 82 00 08 */ bne lbl_8033D384 +/* 8033D380 0033A2E0 48 00 00 40 */ b lbl_8033D3C0 +lbl_8033D384: +/* 8033D384 0033A2E4 7F C3 F3 78 */ mr r3, r30 +/* 8033D388 0033A2E8 4B FF FD AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033D38C 0033A2EC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033D390 0033A2F0 90 1E 00 04 */ stw r0, 4(r30) +/* 8033D394 0033A2F4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8033D398 0033A2F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033D39C 0033A2FC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033D3A0 0033A300 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D3A4 0033A304 80 9E 00 04 */ lwz r4, 4(r30) +/* 8033D3A8 0033A308 28 04 00 00 */ cmplwi r4, 0 +/* 8033D3AC 0033A30C 41 82 00 10 */ beq lbl_8033D3BC +/* 8033D3B0 0033A310 80 64 00 04 */ lwz r3, 4(r4) +/* 8033D3B4 0033A314 38 03 00 01 */ addi r0, r3, 1 +/* 8033D3B8 0033A318 90 04 00 04 */ stw r0, 4(r4) +lbl_8033D3BC: +/* 8033D3BC 0033A31C 7F C3 F3 78 */ mr r3, r30 +lbl_8033D3C0: +/* 8033D3C0 0033A320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D3C4 0033A324 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033D3C8 0033A328 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033D3CC 0033A32C 7C 08 03 A6 */ mtlr r0 +/* 8033D3D0 0033A330 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D3D4 0033A334 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw": +/* 8033D3D8 0033A338 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D3DC 0033A33C 7C 08 02 A6 */ mflr r0 +/* 8033D3E0 0033A340 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D3E4 0033A344 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D3E8 0033A348 7C 9F 23 78 */ mr r31, r4 +/* 8033D3EC 0033A34C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D3F0 0033A350 7C 7E 1B 78 */ mr r30, r3 +/* 8033D3F4 0033A354 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D3F8 0033A358 7C BD 2B 78 */ mr r29, r5 +/* 8033D3FC 0033A35C 38 A0 00 01 */ li r5, 1 +/* 8033D400 0033A360 80 03 00 08 */ lwz r0, 8(r3) +/* 8033D404 0033A364 7C 80 FA 14 */ add r4, r0, r31 +/* 8033D408 0033A368 4B FF FB 6D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D40C 0033A36C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D410 0033A370 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033D414 0033A374 80 7E 00 00 */ lwz r3, 0(r30) +/* 8033D418 0033A378 38 80 00 00 */ li r4, 0 +/* 8033D41C 0033A37C 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D420 0033A380 7C A3 02 14 */ add r5, r3, r0 +/* 8033D424 0033A384 40 81 00 80 */ ble lbl_8033D4A4 +/* 8033D428 0033A388 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033D42C 0033A38C 38 7F FF F8 */ addi r3, r31, -8 +/* 8033D430 0033A390 40 81 00 4C */ ble lbl_8033D47C +/* 8033D434 0033A394 38 03 00 07 */ addi r0, r3, 7 +/* 8033D438 0033A398 7C A6 2B 78 */ mr r6, r5 +/* 8033D43C 0033A39C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D440 0033A3A0 57 A7 04 3E */ clrlwi r7, r29, 0x10 +/* 8033D444 0033A3A4 7C 09 03 A6 */ mtctr r0 +/* 8033D448 0033A3A8 2C 03 00 00 */ cmpwi r3, 0 +/* 8033D44C 0033A3AC 40 81 00 30 */ ble lbl_8033D47C +lbl_8033D450: +/* 8033D450 0033A3B0 B0 E6 00 00 */ sth r7, 0(r6) +/* 8033D454 0033A3B4 38 84 00 08 */ addi r4, r4, 8 +/* 8033D458 0033A3B8 B0 E6 00 02 */ sth r7, 2(r6) +/* 8033D45C 0033A3BC B0 E6 00 04 */ sth r7, 4(r6) +/* 8033D460 0033A3C0 B0 E6 00 06 */ sth r7, 6(r6) +/* 8033D464 0033A3C4 B0 E6 00 08 */ sth r7, 8(r6) +/* 8033D468 0033A3C8 B0 E6 00 0A */ sth r7, 0xa(r6) +/* 8033D46C 0033A3CC B0 E6 00 0C */ sth r7, 0xc(r6) +/* 8033D470 0033A3D0 B0 E6 00 0E */ sth r7, 0xe(r6) +/* 8033D474 0033A3D4 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D478 0033A3D8 42 00 FF D8 */ bdnz lbl_8033D450 +lbl_8033D47C: +/* 8033D47C 0033A3DC 54 83 08 3C */ slwi r3, r4, 1 +/* 8033D480 0033A3E0 7C 04 F8 50 */ subf r0, r4, r31 +/* 8033D484 0033A3E4 7C 65 1A 14 */ add r3, r5, r3 +/* 8033D488 0033A3E8 57 A5 04 3E */ clrlwi r5, r29, 0x10 +/* 8033D48C 0033A3EC 7C 09 03 A6 */ mtctr r0 +/* 8033D490 0033A3F0 7C 04 F8 00 */ cmpw r4, r31 +/* 8033D494 0033A3F4 40 80 00 10 */ bge lbl_8033D4A4 +lbl_8033D498: +/* 8033D498 0033A3F8 B0 A3 00 00 */ sth r5, 0(r3) +/* 8033D49C 0033A3FC 38 63 00 02 */ addi r3, r3, 2 +/* 8033D4A0 0033A400 42 00 FF F8 */ bdnz lbl_8033D498 +lbl_8033D4A4: +/* 8033D4A4 0033A404 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D4A8 0033A408 38 A0 00 00 */ li r5, 0 +/* 8033D4AC 0033A40C 7F C3 F3 78 */ mr r3, r30 +/* 8033D4B0 0033A410 7C 00 FA 14 */ add r0, r0, r31 +/* 8033D4B4 0033A414 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D4B8 0033A418 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D4BC 0033A41C 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D4C0 0033A420 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D4C4 0033A424 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D4C8 0033A428 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D4CC 0033A42C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D4D0 0033A430 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D4D4 0033A434 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D4D8 0033A438 7C 08 03 A6 */ mtlr r0 +/* 8033D4DC 0033A43C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D4E0 0033A440 4E 80 00 20 */ blr + +.global sub_8033d4e4 +sub_8033d4e4: +/* 8033D4E4 0033A444 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D4E8 0033A448 7C 08 02 A6 */ mflr r0 +/* 8033D4EC 0033A44C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D4F0 0033A450 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D4F4 0033A454 3B E0 00 00 */ li r31, 0 +/* 8033D4F8 0033A458 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D4FC 0033A45C 7C 9E 23 78 */ mr r30, r4 +/* 8033D500 0033A460 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D504 0033A464 7C 7D 1B 78 */ mr r29, r3 +/* 8033D508 0033A468 7F C3 F3 78 */ mr r3, r30 +/* 8033D50C 0033A46C 48 00 00 0C */ b lbl_8033D518 +lbl_8033D510: +/* 8033D510 0033A470 38 63 00 02 */ addi r3, r3, 2 +/* 8033D514 0033A474 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033D518: +/* 8033D518 0033A478 2C 05 FF FF */ cmpwi r5, -1 +/* 8033D51C 0033A47C 41 82 00 0C */ beq lbl_8033D528 +/* 8033D520 0033A480 7C 1F 28 00 */ cmpw r31, r5 +/* 8033D524 0033A484 40 80 00 10 */ bge lbl_8033D534 +lbl_8033D528: +/* 8033D528 0033A488 A0 03 00 00 */ lhz r0, 0(r3) +/* 8033D52C 0033A48C 28 00 00 00 */ cmplwi r0, 0 +/* 8033D530 0033A490 40 82 FF E0 */ bne lbl_8033D510 +lbl_8033D534: +/* 8033D534 0033A494 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D538 0033A498 7F A3 EB 78 */ mr r3, r29 +/* 8033D53C 0033A49C 38 A0 00 01 */ li r5, 1 +/* 8033D540 0033A4A0 7C 80 FA 14 */ add r4, r0, r31 +/* 8033D544 0033A4A4 4B FF FA 31 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D548 0033A4A8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D54C 0033A4AC 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033D550 0033A4B0 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033D554 0033A4B4 38 80 00 00 */ li r4, 0 +/* 8033D558 0033A4B8 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D55C 0033A4BC 7C 63 02 14 */ add r3, r3, r0 +/* 8033D560 0033A4C0 40 81 00 AC */ ble lbl_8033D60C +/* 8033D564 0033A4C4 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033D568 0033A4C8 38 BF FF F8 */ addi r5, r31, -8 +/* 8033D56C 0033A4CC 40 81 00 70 */ ble lbl_8033D5DC +/* 8033D570 0033A4D0 38 05 00 07 */ addi r0, r5, 7 +/* 8033D574 0033A4D4 7F C6 F3 78 */ mr r6, r30 +/* 8033D578 0033A4D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D57C 0033A4DC 7C 67 1B 78 */ mr r7, r3 +/* 8033D580 0033A4E0 7C 09 03 A6 */ mtctr r0 +/* 8033D584 0033A4E4 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D588 0033A4E8 40 81 00 54 */ ble lbl_8033D5DC +lbl_8033D58C: +/* 8033D58C 0033A4EC A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D590 0033A4F0 38 84 00 08 */ addi r4, r4, 8 +/* 8033D594 0033A4F4 B0 07 00 00 */ sth r0, 0(r7) +/* 8033D598 0033A4F8 A0 06 00 02 */ lhz r0, 2(r6) +/* 8033D59C 0033A4FC B0 07 00 02 */ sth r0, 2(r7) +/* 8033D5A0 0033A500 A0 06 00 04 */ lhz r0, 4(r6) +/* 8033D5A4 0033A504 B0 07 00 04 */ sth r0, 4(r7) +/* 8033D5A8 0033A508 A0 06 00 06 */ lhz r0, 6(r6) +/* 8033D5AC 0033A50C B0 07 00 06 */ sth r0, 6(r7) +/* 8033D5B0 0033A510 A0 06 00 08 */ lhz r0, 8(r6) +/* 8033D5B4 0033A514 B0 07 00 08 */ sth r0, 8(r7) +/* 8033D5B8 0033A518 A0 06 00 0A */ lhz r0, 0xa(r6) +/* 8033D5BC 0033A51C B0 07 00 0A */ sth r0, 0xa(r7) +/* 8033D5C0 0033A520 A0 06 00 0C */ lhz r0, 0xc(r6) +/* 8033D5C4 0033A524 B0 07 00 0C */ sth r0, 0xc(r7) +/* 8033D5C8 0033A528 A0 06 00 0E */ lhz r0, 0xe(r6) +/* 8033D5CC 0033A52C 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D5D0 0033A530 B0 07 00 0E */ sth r0, 0xe(r7) +/* 8033D5D4 0033A534 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D5D8 0033A538 42 00 FF B4 */ bdnz lbl_8033D58C +lbl_8033D5DC: +/* 8033D5DC 0033A53C 54 86 08 3C */ slwi r6, r4, 1 +/* 8033D5E0 0033A540 7C 04 F8 50 */ subf r0, r4, r31 +/* 8033D5E4 0033A544 7C BE 32 14 */ add r5, r30, r6 +/* 8033D5E8 0033A548 7C 63 32 14 */ add r3, r3, r6 +/* 8033D5EC 0033A54C 7C 09 03 A6 */ mtctr r0 +/* 8033D5F0 0033A550 7C 04 F8 00 */ cmpw r4, r31 +/* 8033D5F4 0033A554 40 80 00 18 */ bge lbl_8033D60C +lbl_8033D5F8: +/* 8033D5F8 0033A558 A0 05 00 00 */ lhz r0, 0(r5) +/* 8033D5FC 0033A55C 38 A5 00 02 */ addi r5, r5, 2 +/* 8033D600 0033A560 B0 03 00 00 */ sth r0, 0(r3) +/* 8033D604 0033A564 38 63 00 02 */ addi r3, r3, 2 +/* 8033D608 0033A568 42 00 FF F0 */ bdnz lbl_8033D5F8 +lbl_8033D60C: +/* 8033D60C 0033A56C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D610 0033A570 38 A0 00 00 */ li r5, 0 +/* 8033D614 0033A574 7F A3 EB 78 */ mr r3, r29 +/* 8033D618 0033A578 7C 00 FA 14 */ add r0, r0, r31 +/* 8033D61C 0033A57C 90 1D 00 08 */ stw r0, 8(r29) +/* 8033D620 0033A580 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D624 0033A584 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033D628 0033A588 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D62C 0033A58C 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D630 0033A590 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D634 0033A594 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D638 0033A598 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D63C 0033A59C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D640 0033A5A0 7C 08 03 A6 */ mtlr r0 +/* 8033D644 0033A5A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D648 0033A5A8 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033D64C 0033A5AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D650 0033A5B0 7C 08 02 A6 */ mflr r0 +/* 8033D654 0033A5B4 38 A0 00 01 */ li r5, 1 +/* 8033D658 0033A5B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D65C 0033A5BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033D660 0033A5C0 7C 9F 23 78 */ mr r31, r4 +/* 8033D664 0033A5C4 93 C1 00 08 */ stw r30, 8(r1) +/* 8033D668 0033A5C8 7C 7E 1B 78 */ mr r30, r3 +/* 8033D66C 0033A5CC 80 83 00 08 */ lwz r4, 8(r3) +/* 8033D670 0033A5D0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033D674 0033A5D4 7C 84 02 14 */ add r4, r4, r0 +/* 8033D678 0033A5D8 4B FF F8 FD */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D67C 0033A5DC 80 BF 00 08 */ lwz r5, 8(r31) +/* 8033D680 0033A5E0 38 80 00 00 */ li r4, 0 +/* 8033D684 0033A5E4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D688 0033A5E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D68C 0033A5EC 80 7E 00 00 */ lwz r3, 0(r30) +/* 8033D690 0033A5F0 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D694 0033A5F4 80 DF 00 00 */ lwz r6, 0(r31) +/* 8033D698 0033A5F8 7C 63 02 14 */ add r3, r3, r0 +/* 8033D69C 0033A5FC 40 81 00 AC */ ble lbl_8033D748 +/* 8033D6A0 0033A600 2C 05 00 08 */ cmpwi r5, 8 +/* 8033D6A4 0033A604 38 E5 FF F8 */ addi r7, r5, -8 +/* 8033D6A8 0033A608 40 81 00 70 */ ble lbl_8033D718 +/* 8033D6AC 0033A60C 38 07 00 07 */ addi r0, r7, 7 +/* 8033D6B0 0033A610 7C C8 33 78 */ mr r8, r6 +/* 8033D6B4 0033A614 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D6B8 0033A618 7C 69 1B 78 */ mr r9, r3 +/* 8033D6BC 0033A61C 7C 09 03 A6 */ mtctr r0 +/* 8033D6C0 0033A620 2C 07 00 00 */ cmpwi r7, 0 +/* 8033D6C4 0033A624 40 81 00 54 */ ble lbl_8033D718 +lbl_8033D6C8: +/* 8033D6C8 0033A628 A0 08 00 00 */ lhz r0, 0(r8) +/* 8033D6CC 0033A62C 38 84 00 08 */ addi r4, r4, 8 +/* 8033D6D0 0033A630 B0 09 00 00 */ sth r0, 0(r9) +/* 8033D6D4 0033A634 A0 08 00 02 */ lhz r0, 2(r8) +/* 8033D6D8 0033A638 B0 09 00 02 */ sth r0, 2(r9) +/* 8033D6DC 0033A63C A0 08 00 04 */ lhz r0, 4(r8) +/* 8033D6E0 0033A640 B0 09 00 04 */ sth r0, 4(r9) +/* 8033D6E4 0033A644 A0 08 00 06 */ lhz r0, 6(r8) +/* 8033D6E8 0033A648 B0 09 00 06 */ sth r0, 6(r9) +/* 8033D6EC 0033A64C A0 08 00 08 */ lhz r0, 8(r8) +/* 8033D6F0 0033A650 B0 09 00 08 */ sth r0, 8(r9) +/* 8033D6F4 0033A654 A0 08 00 0A */ lhz r0, 0xa(r8) +/* 8033D6F8 0033A658 B0 09 00 0A */ sth r0, 0xa(r9) +/* 8033D6FC 0033A65C A0 08 00 0C */ lhz r0, 0xc(r8) +/* 8033D700 0033A660 B0 09 00 0C */ sth r0, 0xc(r9) +/* 8033D704 0033A664 A0 08 00 0E */ lhz r0, 0xe(r8) +/* 8033D708 0033A668 39 08 00 10 */ addi r8, r8, 0x10 +/* 8033D70C 0033A66C B0 09 00 0E */ sth r0, 0xe(r9) +/* 8033D710 0033A670 39 29 00 10 */ addi r9, r9, 0x10 +/* 8033D714 0033A674 42 00 FF B4 */ bdnz lbl_8033D6C8 +lbl_8033D718: +/* 8033D718 0033A678 54 87 08 3C */ slwi r7, r4, 1 +/* 8033D71C 0033A67C 7C 04 28 50 */ subf r0, r4, r5 +/* 8033D720 0033A680 7C C6 3A 14 */ add r6, r6, r7 +/* 8033D724 0033A684 7C 63 3A 14 */ add r3, r3, r7 +/* 8033D728 0033A688 7C 09 03 A6 */ mtctr r0 +/* 8033D72C 0033A68C 7C 04 28 00 */ cmpw r4, r5 +/* 8033D730 0033A690 40 80 00 18 */ bge lbl_8033D748 +lbl_8033D734: +/* 8033D734 0033A694 A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D738 0033A698 38 C6 00 02 */ addi r6, r6, 2 +/* 8033D73C 0033A69C B0 03 00 00 */ sth r0, 0(r3) +/* 8033D740 0033A6A0 38 63 00 02 */ addi r3, r3, 2 +/* 8033D744 0033A6A4 42 00 FF F0 */ bdnz lbl_8033D734 +lbl_8033D748: +/* 8033D748 0033A6A8 80 9E 00 08 */ lwz r4, 8(r30) +/* 8033D74C 0033A6AC 38 A0 00 00 */ li r5, 0 +/* 8033D750 0033A6B0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033D754 0033A6B4 7F C3 F3 78 */ mr r3, r30 +/* 8033D758 0033A6B8 7C 04 02 14 */ add r0, r4, r0 +/* 8033D75C 0033A6BC 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D760 0033A6C0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D764 0033A6C4 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D768 0033A6C8 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D76C 0033A6CC 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D770 0033A6D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033D774 0033A6D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033D778 0033A6D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D77C 0033A6DC 7C 08 03 A6 */ mtlr r0 +/* 8033D780 0033A6E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D784 0033A6E4 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033D788 0033A6E8 80 04 00 00 */ lwz r0, 0(r4) +/* 8033D78C 0033A6EC 90 03 00 00 */ stw r0, 0(r3) +/* 8033D790 0033A6F0 80 04 00 04 */ lwz r0, 4(r4) +/* 8033D794 0033A6F4 90 03 00 04 */ stw r0, 4(r3) +/* 8033D798 0033A6F8 80 04 00 08 */ lwz r0, 8(r4) +/* 8033D79C 0033A6FC 90 03 00 08 */ stw r0, 8(r3) +/* 8033D7A0 0033A700 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033D7A4 0033A704 28 05 00 00 */ cmplwi r5, 0 +/* 8033D7A8 0033A708 4D 82 00 20 */ beqlr +/* 8033D7AC 0033A70C 80 85 00 04 */ lwz r4, 4(r5) +/* 8033D7B0 0033A710 38 04 00 01 */ addi r0, r4, 1 +/* 8033D7B4 0033A714 90 05 00 04 */ stw r0, 4(r5) +/* 8033D7B8 0033A718 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator": +/* 8033D7BC 0033A71C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D7C0 0033A720 7C 08 02 A6 */ mflr r0 +/* 8033D7C4 0033A724 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D7C8 0033A728 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D7CC 0033A72C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D7D0 0033A730 7C 9F 23 78 */ mr r31, r4 +/* 8033D7D4 0033A734 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D7D8 0033A738 7C 7E 1B 78 */ mr r30, r3 +/* 8033D7DC 0033A73C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D7E0 0033A740 41 81 00 28 */ bgt lbl_8033D808 +/* 8033D7E4 0033A744 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8033D7E8 0033A748 28 00 00 00 */ cmplwi r0, 0 +/* 8033D7EC 0033A74C 40 82 00 1C */ bne lbl_8033D808 +/* 8033D7F0 0033A750 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 +/* 8033D7F4 0033A754 38 00 00 00 */ li r0, 0 +/* 8033D7F8 0033A758 90 9E 00 00 */ stw r4, 0(r30) +/* 8033D7FC 0033A75C 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D800 0033A760 90 1E 00 04 */ stw r0, 4(r30) +/* 8033D804 0033A764 48 00 01 10 */ b lbl_8033D914 +lbl_8033D808: +/* 8033D808 0033A768 7F E3 FB 78 */ mr r3, r31 +/* 8033D80C 0033A76C 3B A0 00 00 */ li r29, 0 +/* 8033D810 0033A770 48 00 00 0C */ b lbl_8033D81C +lbl_8033D814: +/* 8033D814 0033A774 38 63 00 02 */ addi r3, r3, 2 +/* 8033D818 0033A778 3B BD 00 01 */ addi r29, r29, 1 +lbl_8033D81C: +/* 8033D81C 0033A77C 2C 05 FF FF */ cmpwi r5, -1 +/* 8033D820 0033A780 41 82 00 0C */ beq lbl_8033D82C +/* 8033D824 0033A784 7C 1D 28 00 */ cmpw r29, r5 +/* 8033D828 0033A788 40 80 00 10 */ bge lbl_8033D838 +lbl_8033D82C: +/* 8033D82C 0033A78C A0 03 00 00 */ lhz r0, 0(r3) +/* 8033D830 0033A790 28 00 00 00 */ cmplwi r0, 0 +/* 8033D834 0033A794 40 82 FF E0 */ bne lbl_8033D814 +lbl_8033D838: +/* 8033D838 0033A798 7F C3 F3 78 */ mr r3, r30 +/* 8033D83C 0033A79C 38 9D 00 01 */ addi r4, r29, 1 +/* 8033D840 0033A7A0 4B FF F9 3D */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +/* 8033D844 0033A7A4 93 BE 00 08 */ stw r29, 8(r30) +/* 8033D848 0033A7A8 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033D84C 0033A7AC 38 60 00 00 */ li r3, 0 +/* 8033D850 0033A7B0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D854 0033A7B4 40 81 00 AC */ ble lbl_8033D900 +/* 8033D858 0033A7B8 2C 1D 00 08 */ cmpwi r29, 8 +/* 8033D85C 0033A7BC 38 BD FF F8 */ addi r5, r29, -8 +/* 8033D860 0033A7C0 40 81 00 70 */ ble lbl_8033D8D0 +/* 8033D864 0033A7C4 38 05 00 07 */ addi r0, r5, 7 +/* 8033D868 0033A7C8 7F E6 FB 78 */ mr r6, r31 +/* 8033D86C 0033A7CC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D870 0033A7D0 7C 87 23 78 */ mr r7, r4 +/* 8033D874 0033A7D4 7C 09 03 A6 */ mtctr r0 +/* 8033D878 0033A7D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D87C 0033A7DC 40 81 00 54 */ ble lbl_8033D8D0 +lbl_8033D880: +/* 8033D880 0033A7E0 A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D884 0033A7E4 38 63 00 08 */ addi r3, r3, 8 +/* 8033D888 0033A7E8 B0 07 00 00 */ sth r0, 0(r7) +/* 8033D88C 0033A7EC A0 06 00 02 */ lhz r0, 2(r6) +/* 8033D890 0033A7F0 B0 07 00 02 */ sth r0, 2(r7) +/* 8033D894 0033A7F4 A0 06 00 04 */ lhz r0, 4(r6) +/* 8033D898 0033A7F8 B0 07 00 04 */ sth r0, 4(r7) +/* 8033D89C 0033A7FC A0 06 00 06 */ lhz r0, 6(r6) +/* 8033D8A0 0033A800 B0 07 00 06 */ sth r0, 6(r7) +/* 8033D8A4 0033A804 A0 06 00 08 */ lhz r0, 8(r6) +/* 8033D8A8 0033A808 B0 07 00 08 */ sth r0, 8(r7) +/* 8033D8AC 0033A80C A0 06 00 0A */ lhz r0, 0xa(r6) +/* 8033D8B0 0033A810 B0 07 00 0A */ sth r0, 0xa(r7) +/* 8033D8B4 0033A814 A0 06 00 0C */ lhz r0, 0xc(r6) +/* 8033D8B8 0033A818 B0 07 00 0C */ sth r0, 0xc(r7) +/* 8033D8BC 0033A81C A0 06 00 0E */ lhz r0, 0xe(r6) +/* 8033D8C0 0033A820 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D8C4 0033A824 B0 07 00 0E */ sth r0, 0xe(r7) +/* 8033D8C8 0033A828 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D8CC 0033A82C 42 00 FF B4 */ bdnz lbl_8033D880 +lbl_8033D8D0: +/* 8033D8D0 0033A830 54 66 08 3C */ slwi r6, r3, 1 +/* 8033D8D4 0033A834 7C 03 E8 50 */ subf r0, r3, r29 +/* 8033D8D8 0033A838 7C BF 32 14 */ add r5, r31, r6 +/* 8033D8DC 0033A83C 7C 84 32 14 */ add r4, r4, r6 +/* 8033D8E0 0033A840 7C 09 03 A6 */ mtctr r0 +/* 8033D8E4 0033A844 7C 03 E8 00 */ cmpw r3, r29 +/* 8033D8E8 0033A848 40 80 00 18 */ bge lbl_8033D900 +lbl_8033D8EC: +/* 8033D8EC 0033A84C A0 05 00 00 */ lhz r0, 0(r5) +/* 8033D8F0 0033A850 38 A5 00 02 */ addi r5, r5, 2 +/* 8033D8F4 0033A854 B0 04 00 00 */ sth r0, 0(r4) +/* 8033D8F8 0033A858 38 84 00 02 */ addi r4, r4, 2 +/* 8033D8FC 0033A85C 42 00 FF F0 */ bdnz lbl_8033D8EC +lbl_8033D900: +/* 8033D900 0033A860 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D904 0033A864 57 A0 08 3C */ slwi r0, r29, 1 +/* 8033D908 0033A868 38 A0 00 00 */ li r5, 0 +/* 8033D90C 0033A86C 7F C3 F3 78 */ mr r3, r30 +/* 8033D910 0033A870 7C A4 03 2E */ sthx r5, r4, r0 +lbl_8033D914: +/* 8033D914 0033A874 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D918 0033A878 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D91C 0033A87C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D920 0033A880 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D924 0033A884 7C 08 03 A6 */ mtlr r0 +/* 8033D928 0033A888 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D92C 0033A88C 4E 80 00 20 */ blr + +.global "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +"internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib": +/* 8033D930 0033A890 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D934 0033A894 7C 08 02 A6 */ mflr r0 +/* 8033D938 0033A898 38 84 00 01 */ addi r4, r4, 1 +/* 8033D93C 0033A89C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D940 0033A8A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D944 0033A8A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D948 0033A8A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D94C 0033A8AC 7C 7D 1B 78 */ mr r29, r3 +/* 8033D950 0033A8B0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033D954 0033A8B4 7C BC 2B 78 */ mr r28, r5 +/* 8033D958 0033A8B8 80 63 00 04 */ lwz r3, 4(r3) +/* 8033D95C 0033A8BC 28 03 00 00 */ cmplwi r3, 0 +/* 8033D960 0033A8C0 41 82 00 1C */ beq lbl_8033D97C +/* 8033D964 0033A8C4 80 03 00 04 */ lwz r0, 4(r3) +/* 8033D968 0033A8C8 2C 00 00 01 */ cmpwi r0, 1 +/* 8033D96C 0033A8CC 40 82 00 10 */ bne lbl_8033D97C +/* 8033D970 0033A8D0 80 03 00 00 */ lwz r0, 0(r3) +/* 8033D974 0033A8D4 7C 00 20 00 */ cmpw r0, r4 +/* 8033D978 0033A8D8 40 80 01 48 */ bge lbl_8033DAC0 +lbl_8033D97C: +/* 8033D97C 0033A8DC 28 03 00 00 */ cmplwi r3, 0 +/* 8033D980 0033A8E0 41 82 00 30 */ beq lbl_8033D9B0 +/* 8033D984 0033A8E4 80 63 00 00 */ lwz r3, 0(r3) +/* 8033D988 0033A8E8 38 00 00 04 */ li r0, 4 +/* 8033D98C 0033A8EC 2C 03 00 04 */ cmpwi r3, 4 +/* 8033D990 0033A8F0 41 80 00 08 */ blt lbl_8033D998 +/* 8033D994 0033A8F4 7C 60 1B 78 */ mr r0, r3 +lbl_8033D998: +/* 8033D998 0033A8F8 7C 1E 03 78 */ mr r30, r0 +/* 8033D99C 0033A8FC 48 00 00 08 */ b lbl_8033D9A4 +lbl_8033D9A0: +/* 8033D9A0 0033A900 57 DE 08 3C */ slwi r30, r30, 1 +lbl_8033D9A4: +/* 8033D9A4 0033A904 7C 1E 20 00 */ cmpw r30, r4 +/* 8033D9A8 0033A908 41 80 FF F8 */ blt lbl_8033D9A0 +/* 8033D9AC 0033A90C 48 00 00 08 */ b lbl_8033D9B4 +lbl_8033D9B0: +/* 8033D9B0 0033A910 7C 9E 23 78 */ mr r30, r4 +lbl_8033D9B4: +/* 8033D9B4 0033A914 34 7E 00 08 */ addic. r3, r30, 8 +/* 8033D9B8 0033A918 40 82 00 0C */ bne lbl_8033D9C4 +/* 8033D9BC 0033A91C 3B E0 00 00 */ li r31, 0 +/* 8033D9C0 0033A920 48 00 00 18 */ b lbl_8033D9D8 +lbl_8033D9C4: +/* 8033D9C4 0033A924 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033D9C8 0033A928 38 A0 00 00 */ li r5, 0 +/* 8033D9CC 0033A92C 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033D9D0 0033A930 4B FD 7E 49 */ bl __nwa__FUlPCcPCc +/* 8033D9D4 0033A934 7C 7F 1B 78 */ mr r31, r3 +lbl_8033D9D8: +/* 8033D9D8 0033A938 93 DF 00 00 */ stw r30, 0(r31) +/* 8033D9DC 0033A93C 38 60 00 01 */ li r3, 1 +/* 8033D9E0 0033A940 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8033D9E4 0033A944 3B DF 00 08 */ addi r30, r31, 8 +/* 8033D9E8 0033A948 90 7F 00 04 */ stw r3, 4(r31) +/* 8033D9EC 0033A94C 41 82 00 C4 */ beq lbl_8033DAB0 +/* 8033D9F0 0033A950 80 BD 00 08 */ lwz r5, 8(r29) +/* 8033D9F4 0033A954 38 80 00 00 */ li r4, 0 +/* 8033D9F8 0033A958 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033D9FC 0033A95C 2C 05 00 00 */ cmpwi r5, 0 +/* 8033DA00 0033A960 40 81 00 A4 */ ble lbl_8033DAA4 +/* 8033DA04 0033A964 2C 05 00 08 */ cmpwi r5, 8 +/* 8033DA08 0033A968 38 C5 FF F8 */ addi r6, r5, -8 +/* 8033DA0C 0033A96C 40 81 00 6C */ ble lbl_8033DA78 +/* 8033DA10 0033A970 38 06 00 07 */ addi r0, r6, 7 +/* 8033DA14 0033A974 7F C7 F3 78 */ mr r7, r30 +/* 8033DA18 0033A978 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033DA1C 0033A97C 7C 09 03 A6 */ mtctr r0 +/* 8033DA20 0033A980 2C 06 00 00 */ cmpwi r6, 0 +/* 8033DA24 0033A984 40 81 00 54 */ ble lbl_8033DA78 +lbl_8033DA28: +/* 8033DA28 0033A988 7C C3 22 14 */ add r6, r3, r4 +/* 8033DA2C 0033A98C 38 84 00 08 */ addi r4, r4, 8 +/* 8033DA30 0033A990 88 06 00 00 */ lbz r0, 0(r6) +/* 8033DA34 0033A994 98 07 00 00 */ stb r0, 0(r7) +/* 8033DA38 0033A998 88 06 00 01 */ lbz r0, 1(r6) +/* 8033DA3C 0033A99C 98 07 00 01 */ stb r0, 1(r7) +/* 8033DA40 0033A9A0 88 06 00 02 */ lbz r0, 2(r6) +/* 8033DA44 0033A9A4 98 07 00 02 */ stb r0, 2(r7) +/* 8033DA48 0033A9A8 88 06 00 03 */ lbz r0, 3(r6) +/* 8033DA4C 0033A9AC 98 07 00 03 */ stb r0, 3(r7) +/* 8033DA50 0033A9B0 88 06 00 04 */ lbz r0, 4(r6) +/* 8033DA54 0033A9B4 98 07 00 04 */ stb r0, 4(r7) +/* 8033DA58 0033A9B8 88 06 00 05 */ lbz r0, 5(r6) +/* 8033DA5C 0033A9BC 98 07 00 05 */ stb r0, 5(r7) +/* 8033DA60 0033A9C0 88 06 00 06 */ lbz r0, 6(r6) +/* 8033DA64 0033A9C4 98 07 00 06 */ stb r0, 6(r7) +/* 8033DA68 0033A9C8 88 06 00 07 */ lbz r0, 7(r6) +/* 8033DA6C 0033A9CC 98 07 00 07 */ stb r0, 7(r7) +/* 8033DA70 0033A9D0 38 E7 00 08 */ addi r7, r7, 8 +/* 8033DA74 0033A9D4 42 00 FF B4 */ bdnz lbl_8033DA28 +lbl_8033DA78: +/* 8033DA78 0033A9D8 7C 04 28 50 */ subf r0, r4, r5 +/* 8033DA7C 0033A9DC 7C DE 22 14 */ add r6, r30, r4 +/* 8033DA80 0033A9E0 7C 63 22 14 */ add r3, r3, r4 +/* 8033DA84 0033A9E4 7C 09 03 A6 */ mtctr r0 +/* 8033DA88 0033A9E8 7C 04 28 00 */ cmpw r4, r5 +/* 8033DA8C 0033A9EC 40 80 00 18 */ bge lbl_8033DAA4 +lbl_8033DA90: +/* 8033DA90 0033A9F0 88 03 00 00 */ lbz r0, 0(r3) +/* 8033DA94 0033A9F4 38 63 00 01 */ addi r3, r3, 1 +/* 8033DA98 0033A9F8 98 06 00 00 */ stb r0, 0(r6) +/* 8033DA9C 0033A9FC 38 C6 00 01 */ addi r6, r6, 1 +/* 8033DAA0 0033AA00 42 00 FF F0 */ bdnz lbl_8033DA90 +lbl_8033DAA4: +/* 8033DAA4 0033AA04 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DAA8 0033AA08 38 60 00 00 */ li r3, 0 +/* 8033DAAC 0033AA0C 7C 7E 01 AE */ stbx r3, r30, r0 +lbl_8033DAB0: +/* 8033DAB0 0033AA10 7F A3 EB 78 */ mr r3, r29 +/* 8033DAB4 0033AA14 48 00 00 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033DAB8 0033AA18 93 FD 00 04 */ stw r31, 4(r29) +/* 8033DABC 0033AA1C 93 DD 00 00 */ stw r30, 0(r29) +lbl_8033DAC0: +/* 8033DAC0 0033AA20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033DAC4 0033AA24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033DAC8 0033AA28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033DACC 0033AA2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033DAD0 0033AA30 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033DAD4 0033AA34 7C 08 03 A6 */ mtlr r0 +/* 8033DAD8 0033AA38 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033DADC 0033AA3C 4E 80 00 20 */ blr + +.global "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +"internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv": +/* 8033DAE0 0033AA40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DAE4 0033AA44 7C 08 02 A6 */ mflr r0 +/* 8033DAE8 0033AA48 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033DAEC 0033AA4C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033DAF0 0033AA50 28 05 00 00 */ cmplwi r5, 0 +/* 8033DAF4 0033AA54 41 82 00 24 */ beq lbl_8033DB18 +/* 8033DAF8 0033AA58 80 85 00 04 */ lwz r4, 4(r5) +/* 8033DAFC 0033AA5C 34 04 FF FF */ addic. r0, r4, -1 +/* 8033DB00 0033AA60 90 05 00 04 */ stw r0, 4(r5) +/* 8033DB04 0033AA64 40 82 00 14 */ bne lbl_8033DB18 +/* 8033DB08 0033AA68 80 63 00 04 */ lwz r3, 4(r3) +/* 8033DB0C 0033AA6C 28 03 00 00 */ cmplwi r3, 0 +/* 8033DB10 0033AA70 41 82 00 08 */ beq lbl_8033DB18 +/* 8033DB14 0033AA74 4B FD 7E 1D */ bl Free__7CMemoryFPCv +lbl_8033DB18: +/* 8033DB18 0033AA78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033DB1C 0033AA7C 7C 08 03 A6 */ mtlr r0 +/* 8033DB20 0033AA80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DB24 0033AA84 4E 80 00 20 */ blr + +.global "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +"internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi": +/* 8033DB28 0033AA88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DB2C 0033AA8C 7C 08 02 A6 */ mflr r0 +/* 8033DB30 0033AA90 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033DB34 0033AA94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033DB38 0033AA98 7C 9F 23 78 */ mr r31, r4 +/* 8033DB3C 0033AA9C 93 C1 00 08 */ stw r30, 8(r1) +/* 8033DB40 0033AAA0 7C 7E 1B 78 */ mr r30, r3 +/* 8033DB44 0033AAA4 34 7F 00 08 */ addic. r3, r31, 8 +/* 8033DB48 0033AAA8 40 82 00 10 */ bne lbl_8033DB58 +/* 8033DB4C 0033AAAC 38 00 00 00 */ li r0, 0 +/* 8033DB50 0033AAB0 90 1E 00 04 */ stw r0, 4(r30) +/* 8033DB54 0033AAB4 48 00 00 18 */ b lbl_8033DB6C +lbl_8033DB58: +/* 8033DB58 0033AAB8 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033DB5C 0033AABC 38 A0 00 00 */ li r5, 0 +/* 8033DB60 0033AAC0 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033DB64 0033AAC4 4B FD 7C B5 */ bl __nwa__FUlPCcPCc +/* 8033DB68 0033AAC8 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033DB6C: +/* 8033DB6C 0033AACC 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033DB70 0033AAD0 38 00 00 01 */ li r0, 1 +/* 8033DB74 0033AAD4 38 63 00 08 */ addi r3, r3, 8 +/* 8033DB78 0033AAD8 90 7E 00 00 */ stw r3, 0(r30) +/* 8033DB7C 0033AADC 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033DB80 0033AAE0 93 E3 00 00 */ stw r31, 0(r3) +/* 8033DB84 0033AAE4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033DB88 0033AAE8 90 03 00 04 */ stw r0, 4(r3) +/* 8033DB8C 0033AAEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033DB90 0033AAF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033DB94 0033AAF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033DB98 0033AAF8 7C 08 03 A6 */ mtlr r0 +/* 8033DB9C 0033AAFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DBA0 0033AB00 4E 80 00 20 */ blr + +.global "range_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" +"range_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii": +/* 8033DBA4 0033AB04 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033DBA8 0033AB08 7C 08 02 A6 */ mflr r0 +/* 8033DBAC 0033AB0C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033DBB0 0033AB10 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033DBB4 0033AB14 7C DF 33 78 */ mr r31, r6 +/* 8033DBB8 0033AB18 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033DBBC 0033AB1C 7C BE 2B 78 */ mr r30, r5 +/* 8033DBC0 0033AB20 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033DBC4 0033AB24 7C 9D 23 78 */ mr r29, r4 +/* 8033DBC8 0033AB28 93 81 00 30 */ stw r28, 0x30(r1) +/* 8033DBCC 0033AB2C 7C 7C 1B 78 */ mr r28, r3 +/* 8033DBD0 0033AB30 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033DBD4 0033AB34 48 00 00 9D */ bl "position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi" +/* 8033DBD8 0033AB38 2C 1F FF FF */ cmpwi r31, -1 +/* 8033DBDC 0033AB3C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8033DBE0 0033AB40 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8033DBE4 0033AB44 38 80 00 00 */ li r4, 0 +/* 8033DBE8 0033AB48 41 82 00 18 */ beq lbl_8033DC00 +/* 8033DBEC 0033AB4C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DBF0 0033AB50 7C 7E FA 14 */ add r3, r30, r31 +/* 8033DBF4 0033AB54 7C 03 00 00 */ cmpw r3, r0 +/* 8033DBF8 0033AB58 40 80 00 08 */ bge lbl_8033DC00 +/* 8033DBFC 0033AB5C 38 80 00 01 */ li r4, 1 +lbl_8033DC00: +/* 8033DC00 0033AB60 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8033DC04 0033AB64 41 82 00 24 */ beq lbl_8033DC28 +/* 8033DC08 0033AB68 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8033DC0C 0033AB6C 7C 06 FA 14 */ add r0, r6, r31 +/* 8033DC10 0033AB70 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033DC14 0033AB74 90 A1 00 08 */ stw r5, 8(r1) +/* 8033DC18 0033AB78 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033DC1C 0033AB7C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8033DC20 0033AB80 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033DC24 0033AB84 48 00 00 14 */ b lbl_8033DC38 +lbl_8033DC28: +/* 8033DC28 0033AB88 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DC2C 0033AB8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033DC30 0033AB90 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8033DC34 0033AB94 90 01 00 14 */ stw r0, 0x14(r1) +lbl_8033DC38: +/* 8033DC38 0033AB98 80 03 00 00 */ lwz r0, 0(r3) +/* 8033DC3C 0033AB9C 80 63 00 04 */ lwz r3, 4(r3) +/* 8033DC40 0033ABA0 90 BC 00 00 */ stw r5, 0(r28) +/* 8033DC44 0033ABA4 90 DC 00 04 */ stw r6, 4(r28) +/* 8033DC48 0033ABA8 90 1C 00 08 */ stw r0, 8(r28) +/* 8033DC4C 0033ABAC 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8033DC50 0033ABB0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033DC54 0033ABB4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033DC58 0033ABB8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033DC5C 0033ABBC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033DC60 0033ABC0 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8033DC64 0033ABC4 7C 08 03 A6 */ mtlr r0 +/* 8033DC68 0033ABC8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033DC6C 0033ABCC 4E 80 00 20 */ blr + +.global "position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi" +"position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi": +/* 8033DC70 0033ABD0 2C 05 FF FF */ cmpwi r5, -1 +/* 8033DC74 0033ABD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DC78 0033ABD8 41 82 00 10 */ beq lbl_8033DC88 +/* 8033DC7C 0033ABDC 80 04 00 08 */ lwz r0, 8(r4) +/* 8033DC80 0033ABE0 7C 05 00 00 */ cmpw r5, r0 +/* 8033DC84 0033ABE4 41 80 00 14 */ blt lbl_8033DC98 +lbl_8033DC88: +/* 8033DC88 0033ABE8 80 04 00 08 */ lwz r0, 8(r4) +/* 8033DC8C 0033ABEC 90 83 00 00 */ stw r4, 0(r3) +/* 8033DC90 0033ABF0 90 03 00 04 */ stw r0, 4(r3) +/* 8033DC94 0033ABF4 48 00 00 18 */ b lbl_8033DCAC +lbl_8033DC98: +/* 8033DC98 0033ABF8 90 83 00 00 */ stw r4, 0(r3) +/* 8033DC9C 0033ABFC 38 00 00 00 */ li r0, 0 +/* 8033DCA0 0033AC00 90 81 00 08 */ stw r4, 8(r1) +/* 8033DCA4 0033AC04 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033DCA8 0033AC08 90 A3 00 04 */ stw r5, 4(r3) +lbl_8033DCAC: +/* 8033DCAC 0033AC0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DCB0 0033AC10 4E 80 00 20 */ blr + +.global "PutTo__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFR13COutputStream" +"PutTo__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFR13COutputStream": +/* 8033DCB4 0033AC14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033DCB8 0033AC18 7C 08 02 A6 */ mflr r0 +/* 8033DCBC 0033AC1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033DCC0 0033AC20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033DCC4 0033AC24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033DCC8 0033AC28 3B C0 00 00 */ li r30, 0 +/* 8033DCCC 0033AC2C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033DCD0 0033AC30 7C 9D 23 78 */ mr r29, r4 +/* 8033DCD4 0033AC34 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033DCD8 0033AC38 7C 7C 1B 78 */ mr r28, r3 +/* 8033DCDC 0033AC3C 48 00 00 50 */ b lbl_8033DD2C +lbl_8033DCE0: +/* 8033DCE0 0033AC40 80 9C 00 00 */ lwz r4, 0(r28) +/* 8033DCE4 0033AC44 7F A3 EB 78 */ mr r3, r29 +/* 8033DCE8 0033AC48 7F E4 F0 AE */ lbzx r31, r4, r30 +/* 8033DCEC 0033AC4C 48 00 17 CD */ bl FlushShiftRegister__13COutputStreamFv +/* 8033DCF0 0033AC50 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033DCF4 0033AC54 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DCF8 0033AC58 7C 03 00 40 */ cmplw r3, r0 +/* 8033DCFC 0033AC5C 41 80 00 0C */ blt lbl_8033DD08 +/* 8033DD00 0033AC60 7F A3 EB 78 */ mr r3, r29 +/* 8033DD04 0033AC64 48 00 18 21 */ bl DoFlush__13COutputStreamFv +lbl_8033DD08: +/* 8033DD08 0033AC68 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8033DD0C 0033AC6C 3B DE 00 01 */ addi r30, r30, 1 +/* 8033DD10 0033AC70 38 03 00 01 */ addi r0, r3, 1 +/* 8033DD14 0033AC74 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8033DD18 0033AC78 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033DD1C 0033AC7C 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8033DD20 0033AC80 38 03 00 01 */ addi r0, r3, 1 +/* 8033DD24 0033AC84 90 1D 00 04 */ stw r0, 4(r29) +/* 8033DD28 0033AC88 7F E4 19 AE */ stbx r31, r4, r3 +lbl_8033DD2C: +/* 8033DD2C 0033AC8C 80 7C 00 08 */ lwz r3, 8(r28) +/* 8033DD30 0033AC90 38 03 00 01 */ addi r0, r3, 1 +/* 8033DD34 0033AC94 7C 1E 00 00 */ cmpw r30, r0 +/* 8033DD38 0033AC98 41 80 FF A8 */ blt lbl_8033DCE0 +/* 8033DD3C 0033AC9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033DD40 0033ACA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033DD44 0033ACA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033DD48 0033ACA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033DD4C 0033ACAC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033DD50 0033ACB0 7C 08 03 A6 */ mtlr r0 +/* 8033DD54 0033ACB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033DD58 0033ACB8 4E 80 00 20 */ blr + +.global "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033DD5C 0033ACBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DD60 0033ACC0 7C 08 02 A6 */ mflr r0 +/* 8033DD64 0033ACC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033DD68 0033ACC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033DD6C 0033ACCC 7C 9F 23 78 */ mr r31, r4 +/* 8033DD70 0033ACD0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033DD74 0033ACD4 7C 7E 1B 78 */ mr r30, r3 +/* 8033DD78 0033ACD8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033DD7C 0033ACDC 28 04 00 00 */ cmplwi r4, 0 +/* 8033DD80 0033ACE0 41 82 00 14 */ beq lbl_8033DD94 +/* 8033DD84 0033ACE4 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033DD88 0033ACE8 7C 04 00 40 */ cmplw r4, r0 +/* 8033DD8C 0033ACEC 40 82 00 08 */ bne lbl_8033DD94 +/* 8033DD90 0033ACF0 48 00 00 40 */ b lbl_8033DDD0 +lbl_8033DD94: +/* 8033DD94 0033ACF4 7F C3 F3 78 */ mr r3, r30 +/* 8033DD98 0033ACF8 4B FF FD 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033DD9C 0033ACFC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033DDA0 0033AD00 90 1E 00 04 */ stw r0, 4(r30) +/* 8033DDA4 0033AD04 80 1F 00 00 */ lwz r0, 0(r31) +/* 8033DDA8 0033AD08 90 1E 00 00 */ stw r0, 0(r30) +/* 8033DDAC 0033AD0C 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DDB0 0033AD10 90 1E 00 08 */ stw r0, 8(r30) +/* 8033DDB4 0033AD14 80 9E 00 04 */ lwz r4, 4(r30) +/* 8033DDB8 0033AD18 28 04 00 00 */ cmplwi r4, 0 +/* 8033DDBC 0033AD1C 41 82 00 10 */ beq lbl_8033DDCC +/* 8033DDC0 0033AD20 80 64 00 04 */ lwz r3, 4(r4) +/* 8033DDC4 0033AD24 38 03 00 01 */ addi r0, r3, 1 +/* 8033DDC8 0033AD28 90 04 00 04 */ stw r0, 4(r4) +lbl_8033DDCC: +/* 8033DDCC 0033AD2C 7F C3 F3 78 */ mr r3, r30 +lbl_8033DDD0: +/* 8033DDD0 0033AD30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033DDD4 0033AD34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033DDD8 0033AD38 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033DDDC 0033AD3C 7C 08 03 A6 */ mtlr r0 +/* 8033DDE0 0033AD40 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DDE4 0033AD44 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic": +/* 8033DDE8 0033AD48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033DDEC 0033AD4C 7C 08 02 A6 */ mflr r0 +/* 8033DDF0 0033AD50 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033DDF4 0033AD54 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033DDF8 0033AD58 7C 7F 1B 78 */ mr r31, r3 +/* 8033DDFC 0033AD5C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033DE00 0033AD60 7C BE 2B 78 */ mr r30, r5 +/* 8033DE04 0033AD64 38 A0 00 01 */ li r5, 1 +/* 8033DE08 0033AD68 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033DE0C 0033AD6C 7C 9D 23 78 */ mr r29, r4 +/* 8033DE10 0033AD70 80 03 00 08 */ lwz r0, 8(r3) +/* 8033DE14 0033AD74 7C 80 EA 14 */ add r4, r0, r29 +/* 8033DE18 0033AD78 4B FF FB 19 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033DE1C 0033AD7C 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033DE20 0033AD80 80 7F 00 00 */ lwz r3, 0(r31) +/* 8033DE24 0033AD84 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DE28 0033AD88 38 80 00 00 */ li r4, 0 +/* 8033DE2C 0033AD8C 7C 63 02 14 */ add r3, r3, r0 +/* 8033DE30 0033AD90 40 81 00 78 */ ble lbl_8033DEA8 +/* 8033DE34 0033AD94 2C 1D 00 08 */ cmpwi r29, 8 +/* 8033DE38 0033AD98 38 BD FF F8 */ addi r5, r29, -8 +/* 8033DE3C 0033AD9C 40 81 00 48 */ ble lbl_8033DE84 +/* 8033DE40 0033ADA0 38 05 00 07 */ addi r0, r5, 7 +/* 8033DE44 0033ADA4 7F C6 07 74 */ extsb r6, r30 +/* 8033DE48 0033ADA8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033DE4C 0033ADAC 7C 09 03 A6 */ mtctr r0 +/* 8033DE50 0033ADB0 2C 05 00 00 */ cmpwi r5, 0 +/* 8033DE54 0033ADB4 40 81 00 30 */ ble lbl_8033DE84 +lbl_8033DE58: +/* 8033DE58 0033ADB8 7C A3 22 14 */ add r5, r3, r4 +/* 8033DE5C 0033ADBC 38 84 00 08 */ addi r4, r4, 8 +/* 8033DE60 0033ADC0 98 C5 00 00 */ stb r6, 0(r5) +/* 8033DE64 0033ADC4 98 C5 00 01 */ stb r6, 1(r5) +/* 8033DE68 0033ADC8 98 C5 00 02 */ stb r6, 2(r5) +/* 8033DE6C 0033ADCC 98 C5 00 03 */ stb r6, 3(r5) +/* 8033DE70 0033ADD0 98 C5 00 04 */ stb r6, 4(r5) +/* 8033DE74 0033ADD4 98 C5 00 05 */ stb r6, 5(r5) +/* 8033DE78 0033ADD8 98 C5 00 06 */ stb r6, 6(r5) +/* 8033DE7C 0033ADDC 98 C5 00 07 */ stb r6, 7(r5) +/* 8033DE80 0033ADE0 42 00 FF D8 */ bdnz lbl_8033DE58 +lbl_8033DE84: +/* 8033DE84 0033ADE4 7C 04 E8 50 */ subf r0, r4, r29 +/* 8033DE88 0033ADE8 7F C5 07 74 */ extsb r5, r30 +/* 8033DE8C 0033ADEC 7C 63 22 14 */ add r3, r3, r4 +/* 8033DE90 0033ADF0 7C 09 03 A6 */ mtctr r0 +/* 8033DE94 0033ADF4 7C 04 E8 00 */ cmpw r4, r29 +/* 8033DE98 0033ADF8 40 80 00 10 */ bge lbl_8033DEA8 +lbl_8033DE9C: +/* 8033DE9C 0033ADFC 98 A3 00 00 */ stb r5, 0(r3) +/* 8033DEA0 0033AE00 38 63 00 01 */ addi r3, r3, 1 +/* 8033DEA4 0033AE04 42 00 FF F8 */ bdnz lbl_8033DE9C +lbl_8033DEA8: +/* 8033DEA8 0033AE08 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DEAC 0033AE0C 38 A0 00 00 */ li r5, 0 +/* 8033DEB0 0033AE10 7F E3 FB 78 */ mr r3, r31 +/* 8033DEB4 0033AE14 7C 00 EA 14 */ add r0, r0, r29 +/* 8033DEB8 0033AE18 90 1F 00 08 */ stw r0, 8(r31) +/* 8033DEBC 0033AE1C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8033DEC0 0033AE20 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DEC4 0033AE24 7C A4 01 AE */ stbx r5, r4, r0 +/* 8033DEC8 0033AE28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033DECC 0033AE2C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033DED0 0033AE30 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033DED4 0033AE34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033DED8 0033AE38 7C 08 03 A6 */ mtlr r0 +/* 8033DEDC 0033AE3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033DEE0 0033AE40 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci": +/* 8033DEE4 0033AE44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033DEE8 0033AE48 7C 08 02 A6 */ mflr r0 +/* 8033DEEC 0033AE4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033DEF0 0033AE50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033DEF4 0033AE54 3B E0 00 00 */ li r31, 0 +/* 8033DEF8 0033AE58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033DEFC 0033AE5C 7C 9E 23 78 */ mr r30, r4 +/* 8033DF00 0033AE60 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033DF04 0033AE64 7C 7D 1B 78 */ mr r29, r3 +/* 8033DF08 0033AE68 7F C3 F3 78 */ mr r3, r30 +/* 8033DF0C 0033AE6C 48 00 00 0C */ b lbl_8033DF18 +lbl_8033DF10: +/* 8033DF10 0033AE70 38 63 00 01 */ addi r3, r3, 1 +/* 8033DF14 0033AE74 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033DF18: +/* 8033DF18 0033AE78 2C 05 FF FF */ cmpwi r5, -1 +/* 8033DF1C 0033AE7C 41 82 00 0C */ beq lbl_8033DF28 +/* 8033DF20 0033AE80 7C 1F 28 00 */ cmpw r31, r5 +/* 8033DF24 0033AE84 40 80 00 10 */ bge lbl_8033DF34 +lbl_8033DF28: +/* 8033DF28 0033AE88 88 03 00 00 */ lbz r0, 0(r3) +/* 8033DF2C 0033AE8C 7C 00 07 75 */ extsb. r0, r0 +/* 8033DF30 0033AE90 40 82 FF E0 */ bne lbl_8033DF10 +lbl_8033DF34: +/* 8033DF34 0033AE94 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DF38 0033AE98 7F A3 EB 78 */ mr r3, r29 +/* 8033DF3C 0033AE9C 38 A0 00 01 */ li r5, 1 +/* 8033DF40 0033AEA0 7C 80 FA 14 */ add r4, r0, r31 +/* 8033DF44 0033AEA4 4B FF F9 ED */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033DF48 0033AEA8 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033DF4C 0033AEAC 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033DF50 0033AEB0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DF54 0033AEB4 38 A0 00 00 */ li r5, 0 +/* 8033DF58 0033AEB8 7C 63 02 14 */ add r3, r3, r0 +/* 8033DF5C 0033AEBC 40 81 00 A0 */ ble lbl_8033DFFC +/* 8033DF60 0033AEC0 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033DF64 0033AEC4 38 9F FF F8 */ addi r4, r31, -8 +/* 8033DF68 0033AEC8 40 81 00 68 */ ble lbl_8033DFD0 +/* 8033DF6C 0033AECC 38 04 00 07 */ addi r0, r4, 7 +/* 8033DF70 0033AED0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033DF74 0033AED4 7C 09 03 A6 */ mtctr r0 +/* 8033DF78 0033AED8 2C 04 00 00 */ cmpwi r4, 0 +/* 8033DF7C 0033AEDC 40 81 00 54 */ ble lbl_8033DFD0 +lbl_8033DF80: +/* 8033DF80 0033AEE0 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033DF84 0033AEE4 7C C3 2A 14 */ add r6, r3, r5 +/* 8033DF88 0033AEE8 88 04 00 00 */ lbz r0, 0(r4) +/* 8033DF8C 0033AEEC 38 A5 00 08 */ addi r5, r5, 8 +/* 8033DF90 0033AEF0 98 06 00 00 */ stb r0, 0(r6) +/* 8033DF94 0033AEF4 88 04 00 01 */ lbz r0, 1(r4) +/* 8033DF98 0033AEF8 98 06 00 01 */ stb r0, 1(r6) +/* 8033DF9C 0033AEFC 88 04 00 02 */ lbz r0, 2(r4) +/* 8033DFA0 0033AF00 98 06 00 02 */ stb r0, 2(r6) +/* 8033DFA4 0033AF04 88 04 00 03 */ lbz r0, 3(r4) +/* 8033DFA8 0033AF08 98 06 00 03 */ stb r0, 3(r6) +/* 8033DFAC 0033AF0C 88 04 00 04 */ lbz r0, 4(r4) +/* 8033DFB0 0033AF10 98 06 00 04 */ stb r0, 4(r6) +/* 8033DFB4 0033AF14 88 04 00 05 */ lbz r0, 5(r4) +/* 8033DFB8 0033AF18 98 06 00 05 */ stb r0, 5(r6) +/* 8033DFBC 0033AF1C 88 04 00 06 */ lbz r0, 6(r4) +/* 8033DFC0 0033AF20 98 06 00 06 */ stb r0, 6(r6) +/* 8033DFC4 0033AF24 88 04 00 07 */ lbz r0, 7(r4) +/* 8033DFC8 0033AF28 98 06 00 07 */ stb r0, 7(r6) +/* 8033DFCC 0033AF2C 42 00 FF B4 */ bdnz lbl_8033DF80 +lbl_8033DFD0: +/* 8033DFD0 0033AF30 7C 05 F8 50 */ subf r0, r5, r31 +/* 8033DFD4 0033AF34 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033DFD8 0033AF38 7C 63 2A 14 */ add r3, r3, r5 +/* 8033DFDC 0033AF3C 7C 09 03 A6 */ mtctr r0 +/* 8033DFE0 0033AF40 7C 05 F8 00 */ cmpw r5, r31 +/* 8033DFE4 0033AF44 40 80 00 18 */ bge lbl_8033DFFC +lbl_8033DFE8: +/* 8033DFE8 0033AF48 88 04 00 00 */ lbz r0, 0(r4) +/* 8033DFEC 0033AF4C 38 84 00 01 */ addi r4, r4, 1 +/* 8033DFF0 0033AF50 98 03 00 00 */ stb r0, 0(r3) +/* 8033DFF4 0033AF54 38 63 00 01 */ addi r3, r3, 1 +/* 8033DFF8 0033AF58 42 00 FF F0 */ bdnz lbl_8033DFE8 +lbl_8033DFFC: +/* 8033DFFC 0033AF5C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E000 0033AF60 38 A0 00 00 */ li r5, 0 +/* 8033E004 0033AF64 7F A3 EB 78 */ mr r3, r29 +/* 8033E008 0033AF68 7C 00 FA 14 */ add r0, r0, r31 +/* 8033E00C 0033AF6C 90 1D 00 08 */ stw r0, 8(r29) +/* 8033E010 0033AF70 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033E014 0033AF74 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E018 0033AF78 7C A4 01 AE */ stbx r5, r4, r0 +/* 8033E01C 0033AF7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033E020 0033AF80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033E024 0033AF84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033E028 0033AF88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033E02C 0033AF8C 7C 08 03 A6 */ mtlr r0 +/* 8033E030 0033AF90 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033E034 0033AF94 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E038 0033AF98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033E03C 0033AF9C 7C 08 02 A6 */ mflr r0 +/* 8033E040 0033AFA0 38 A0 00 01 */ li r5, 1 +/* 8033E044 0033AFA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033E048 0033AFA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033E04C 0033AFAC 7C 9F 23 78 */ mr r31, r4 +/* 8033E050 0033AFB0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033E054 0033AFB4 7C 7E 1B 78 */ mr r30, r3 +/* 8033E058 0033AFB8 80 83 00 08 */ lwz r4, 8(r3) +/* 8033E05C 0033AFBC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033E060 0033AFC0 7C 84 02 14 */ add r4, r4, r0 +/* 8033E064 0033AFC4 4B FF F8 CD */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E068 0033AFC8 80 DF 00 08 */ lwz r6, 8(r31) +/* 8033E06C 0033AFCC 38 A0 00 00 */ li r5, 0 +/* 8033E070 0033AFD0 80 7E 00 00 */ lwz r3, 0(r30) +/* 8033E074 0033AFD4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033E078 0033AFD8 2C 06 00 00 */ cmpwi r6, 0 +/* 8033E07C 0033AFDC 80 9F 00 00 */ lwz r4, 0(r31) +/* 8033E080 0033AFE0 7C 63 02 14 */ add r3, r3, r0 +/* 8033E084 0033AFE4 40 81 00 A0 */ ble lbl_8033E124 +/* 8033E088 0033AFE8 2C 06 00 08 */ cmpwi r6, 8 +/* 8033E08C 0033AFEC 38 E6 FF F8 */ addi r7, r6, -8 +/* 8033E090 0033AFF0 40 81 00 68 */ ble lbl_8033E0F8 +/* 8033E094 0033AFF4 38 07 00 07 */ addi r0, r7, 7 +/* 8033E098 0033AFF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033E09C 0033AFFC 7C 09 03 A6 */ mtctr r0 +/* 8033E0A0 0033B000 2C 07 00 00 */ cmpwi r7, 0 +/* 8033E0A4 0033B004 40 81 00 54 */ ble lbl_8033E0F8 +lbl_8033E0A8: +/* 8033E0A8 0033B008 7C E4 2A 14 */ add r7, r4, r5 +/* 8033E0AC 0033B00C 7D 03 2A 14 */ add r8, r3, r5 +/* 8033E0B0 0033B010 88 07 00 00 */ lbz r0, 0(r7) +/* 8033E0B4 0033B014 38 A5 00 08 */ addi r5, r5, 8 +/* 8033E0B8 0033B018 98 08 00 00 */ stb r0, 0(r8) +/* 8033E0BC 0033B01C 88 07 00 01 */ lbz r0, 1(r7) +/* 8033E0C0 0033B020 98 08 00 01 */ stb r0, 1(r8) +/* 8033E0C4 0033B024 88 07 00 02 */ lbz r0, 2(r7) +/* 8033E0C8 0033B028 98 08 00 02 */ stb r0, 2(r8) +/* 8033E0CC 0033B02C 88 07 00 03 */ lbz r0, 3(r7) +/* 8033E0D0 0033B030 98 08 00 03 */ stb r0, 3(r8) +/* 8033E0D4 0033B034 88 07 00 04 */ lbz r0, 4(r7) +/* 8033E0D8 0033B038 98 08 00 04 */ stb r0, 4(r8) +/* 8033E0DC 0033B03C 88 07 00 05 */ lbz r0, 5(r7) +/* 8033E0E0 0033B040 98 08 00 05 */ stb r0, 5(r8) +/* 8033E0E4 0033B044 88 07 00 06 */ lbz r0, 6(r7) +/* 8033E0E8 0033B048 98 08 00 06 */ stb r0, 6(r8) +/* 8033E0EC 0033B04C 88 07 00 07 */ lbz r0, 7(r7) +/* 8033E0F0 0033B050 98 08 00 07 */ stb r0, 7(r8) +/* 8033E0F4 0033B054 42 00 FF B4 */ bdnz lbl_8033E0A8 +lbl_8033E0F8: +/* 8033E0F8 0033B058 7C 05 30 50 */ subf r0, r5, r6 +/* 8033E0FC 0033B05C 7C 84 2A 14 */ add r4, r4, r5 +/* 8033E100 0033B060 7C 63 2A 14 */ add r3, r3, r5 +/* 8033E104 0033B064 7C 09 03 A6 */ mtctr r0 +/* 8033E108 0033B068 7C 05 30 00 */ cmpw r5, r6 +/* 8033E10C 0033B06C 40 80 00 18 */ bge lbl_8033E124 +lbl_8033E110: +/* 8033E110 0033B070 88 04 00 00 */ lbz r0, 0(r4) +/* 8033E114 0033B074 38 84 00 01 */ addi r4, r4, 1 +/* 8033E118 0033B078 98 03 00 00 */ stb r0, 0(r3) +/* 8033E11C 0033B07C 38 63 00 01 */ addi r3, r3, 1 +/* 8033E120 0033B080 42 00 FF F0 */ bdnz lbl_8033E110 +lbl_8033E124: +/* 8033E124 0033B084 80 9E 00 08 */ lwz r4, 8(r30) +/* 8033E128 0033B088 38 A0 00 00 */ li r5, 0 +/* 8033E12C 0033B08C 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033E130 0033B090 7F C3 F3 78 */ mr r3, r30 +/* 8033E134 0033B094 7C 04 02 14 */ add r0, r4, r0 +/* 8033E138 0033B098 90 1E 00 08 */ stw r0, 8(r30) +/* 8033E13C 0033B09C 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033E140 0033B0A0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033E144 0033B0A4 7C A4 01 AE */ stbx r5, r4, r0 +/* 8033E148 0033B0A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033E14C 0033B0AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033E150 0033B0B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033E154 0033B0B4 7C 08 03 A6 */ mtlr r0 +/* 8033E158 0033B0B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033E15C 0033B0BC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E160 0033B0C0 80 04 00 00 */ lwz r0, 0(r4) +/* 8033E164 0033B0C4 90 03 00 00 */ stw r0, 0(r3) +/* 8033E168 0033B0C8 80 04 00 04 */ lwz r0, 4(r4) +/* 8033E16C 0033B0CC 90 03 00 04 */ stw r0, 4(r3) +/* 8033E170 0033B0D0 80 04 00 08 */ lwz r0, 8(r4) +/* 8033E174 0033B0D4 90 03 00 08 */ stw r0, 8(r3) +/* 8033E178 0033B0D8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033E17C 0033B0DC 28 05 00 00 */ cmplwi r5, 0 +/* 8033E180 0033B0E0 4D 82 00 20 */ beqlr +/* 8033E184 0033B0E4 80 85 00 04 */ lwz r4, 4(r5) +/* 8033E188 0033B0E8 38 04 00 01 */ addi r0, r4, 1 +/* 8033E18C 0033B0EC 90 05 00 04 */ stw r0, 4(r5) +/* 8033E190 0033B0F0 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator": +/* 8033E194 0033B0F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033E198 0033B0F8 7C 08 02 A6 */ mflr r0 +/* 8033E19C 0033B0FC 2C 05 00 00 */ cmpwi r5, 0 +/* 8033E1A0 0033B100 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033E1A4 0033B104 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033E1A8 0033B108 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033E1AC 0033B10C 7C 9E 23 78 */ mr r30, r4 +/* 8033E1B0 0033B110 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033E1B4 0033B114 7C 7D 1B 78 */ mr r29, r3 +/* 8033E1B8 0033B118 41 81 00 28 */ bgt lbl_8033E1E0 +/* 8033E1BC 0033B11C 88 1E 00 00 */ lbz r0, 0(r30) +/* 8033E1C0 0033B120 7C 00 07 75 */ extsb. r0, r0 +/* 8033E1C4 0033B124 40 82 00 1C */ bne lbl_8033E1E0 +/* 8033E1C8 0033B128 38 8D A9 18 */ addi r4, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E1CC 0033B12C 38 00 00 00 */ li r0, 0 +/* 8033E1D0 0033B130 90 9D 00 00 */ stw r4, 0(r29) +/* 8033E1D4 0033B134 90 1D 00 08 */ stw r0, 8(r29) +/* 8033E1D8 0033B138 90 1D 00 04 */ stw r0, 4(r29) +/* 8033E1DC 0033B13C 48 00 01 00 */ b lbl_8033E2DC +lbl_8033E1E0: +/* 8033E1E0 0033B140 7F C3 F3 78 */ mr r3, r30 +/* 8033E1E4 0033B144 3B E0 00 00 */ li r31, 0 +/* 8033E1E8 0033B148 48 00 00 0C */ b lbl_8033E1F4 +lbl_8033E1EC: +/* 8033E1EC 0033B14C 38 63 00 01 */ addi r3, r3, 1 +/* 8033E1F0 0033B150 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033E1F4: +/* 8033E1F4 0033B154 2C 05 FF FF */ cmpwi r5, -1 +/* 8033E1F8 0033B158 41 82 00 0C */ beq lbl_8033E204 +/* 8033E1FC 0033B15C 7C 1F 28 00 */ cmpw r31, r5 +/* 8033E200 0033B160 40 80 00 10 */ bge lbl_8033E210 +lbl_8033E204: +/* 8033E204 0033B164 88 03 00 00 */ lbz r0, 0(r3) +/* 8033E208 0033B168 7C 00 07 75 */ extsb. r0, r0 +/* 8033E20C 0033B16C 40 82 FF E0 */ bne lbl_8033E1EC +lbl_8033E210: +/* 8033E210 0033B170 7F A3 EB 78 */ mr r3, r29 +/* 8033E214 0033B174 38 9F 00 01 */ addi r4, r31, 1 +/* 8033E218 0033B178 4B FF F9 11 */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +/* 8033E21C 0033B17C 93 FD 00 08 */ stw r31, 8(r29) +/* 8033E220 0033B180 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033E224 0033B184 38 A0 00 00 */ li r5, 0 +/* 8033E228 0033B188 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033E22C 0033B18C 40 81 00 A0 */ ble lbl_8033E2CC +/* 8033E230 0033B190 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033E234 0033B194 38 9F FF F8 */ addi r4, r31, -8 +/* 8033E238 0033B198 40 81 00 68 */ ble lbl_8033E2A0 +/* 8033E23C 0033B19C 38 04 00 07 */ addi r0, r4, 7 +/* 8033E240 0033B1A0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033E244 0033B1A4 7C 09 03 A6 */ mtctr r0 +/* 8033E248 0033B1A8 2C 04 00 00 */ cmpwi r4, 0 +/* 8033E24C 0033B1AC 40 81 00 54 */ ble lbl_8033E2A0 +lbl_8033E250: +/* 8033E250 0033B1B0 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033E254 0033B1B4 7C C3 2A 14 */ add r6, r3, r5 +/* 8033E258 0033B1B8 88 04 00 00 */ lbz r0, 0(r4) +/* 8033E25C 0033B1BC 38 A5 00 08 */ addi r5, r5, 8 +/* 8033E260 0033B1C0 98 06 00 00 */ stb r0, 0(r6) +/* 8033E264 0033B1C4 88 04 00 01 */ lbz r0, 1(r4) +/* 8033E268 0033B1C8 98 06 00 01 */ stb r0, 1(r6) +/* 8033E26C 0033B1CC 88 04 00 02 */ lbz r0, 2(r4) +/* 8033E270 0033B1D0 98 06 00 02 */ stb r0, 2(r6) +/* 8033E274 0033B1D4 88 04 00 03 */ lbz r0, 3(r4) +/* 8033E278 0033B1D8 98 06 00 03 */ stb r0, 3(r6) +/* 8033E27C 0033B1DC 88 04 00 04 */ lbz r0, 4(r4) +/* 8033E280 0033B1E0 98 06 00 04 */ stb r0, 4(r6) +/* 8033E284 0033B1E4 88 04 00 05 */ lbz r0, 5(r4) +/* 8033E288 0033B1E8 98 06 00 05 */ stb r0, 5(r6) +/* 8033E28C 0033B1EC 88 04 00 06 */ lbz r0, 6(r4) +/* 8033E290 0033B1F0 98 06 00 06 */ stb r0, 6(r6) +/* 8033E294 0033B1F4 88 04 00 07 */ lbz r0, 7(r4) +/* 8033E298 0033B1F8 98 06 00 07 */ stb r0, 7(r6) +/* 8033E29C 0033B1FC 42 00 FF B4 */ bdnz lbl_8033E250 +lbl_8033E2A0: +/* 8033E2A0 0033B200 7C 05 F8 50 */ subf r0, r5, r31 +/* 8033E2A4 0033B204 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033E2A8 0033B208 7C 63 2A 14 */ add r3, r3, r5 +/* 8033E2AC 0033B20C 7C 09 03 A6 */ mtctr r0 +/* 8033E2B0 0033B210 7C 05 F8 00 */ cmpw r5, r31 +/* 8033E2B4 0033B214 40 80 00 18 */ bge lbl_8033E2CC +lbl_8033E2B8: +/* 8033E2B8 0033B218 88 04 00 00 */ lbz r0, 0(r4) +/* 8033E2BC 0033B21C 38 84 00 01 */ addi r4, r4, 1 +/* 8033E2C0 0033B220 98 03 00 00 */ stb r0, 0(r3) +/* 8033E2C4 0033B224 38 63 00 01 */ addi r3, r3, 1 +/* 8033E2C8 0033B228 42 00 FF F0 */ bdnz lbl_8033E2B8 +lbl_8033E2CC: +/* 8033E2CC 0033B22C 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033E2D0 0033B230 38 00 00 00 */ li r0, 0 +/* 8033E2D4 0033B234 7F A3 EB 78 */ mr r3, r29 +/* 8033E2D8 0033B238 7C 04 F9 AE */ stbx r0, r4, r31 +lbl_8033E2DC: +/* 8033E2DC 0033B23C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033E2E0 0033B240 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033E2E4 0033B244 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033E2E8 0033B248 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033E2EC 0033B24C 7C 08 03 A6 */ mtlr r0 +/* 8033E2F0 0033B250 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033E2F4 0033B254 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 8033E2F8 0033B258 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 8033E2FC 0033B25C 7C 08 02 A6 */ mflr r0 +/* 8033E300 0033B260 90 01 04 34 */ stw r0, 0x434(r1) +/* 8033E304 0033B264 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E308 0033B268 BF 61 04 1C */ stmw r27, 0x41c(r1) +/* 8033E30C 0033B26C 7C 7B 1B 78 */ mr r27, r3 +/* 8033E310 0033B270 7C 9C 23 78 */ mr r28, r4 +/* 8033E314 0033B274 3B A0 00 00 */ li r29, 0 +/* 8033E318 0033B278 90 03 00 00 */ stw r0, 0(r3) +/* 8033E31C 0033B27C 38 00 00 00 */ li r0, 0 +/* 8033E320 0033B280 90 03 00 04 */ stw r0, 4(r3) +/* 8033E324 0033B284 7F 83 E3 78 */ mr r3, r28 +/* 8033E328 0033B288 90 1B 00 08 */ stw r0, 8(r27) +/* 8033E32C 0033B28C 48 00 09 E1 */ bl ReadChar__12CInputStreamFv +/* 8033E330 0033B290 7C 60 07 74 */ extsb r0, r3 +/* 8033E334 0033B294 3B C1 00 08 */ addi r30, r1, 8 +/* 8033E338 0033B298 7C 03 03 78 */ mr r3, r0 +/* 8033E33C 0033B29C 3B E0 00 00 */ li r31, 0 +/* 8033E340 0033B2A0 48 00 00 3C */ b lbl_8033E37C +lbl_8033E344: +/* 8033E344 0033B2A4 7C 7E E9 AE */ stbx r3, r30, r29 +/* 8033E348 0033B2A8 3B BD 00 01 */ addi r29, r29, 1 +/* 8033E34C 0033B2AC 2C 1D 04 00 */ cmpwi r29, 0x400 +/* 8033E350 0033B2B0 40 82 00 1C */ bne lbl_8033E36C +/* 8033E354 0033B2B4 9B E1 04 08 */ stb r31, 0x408(r1) +/* 8033E358 0033B2B8 7F 63 DB 78 */ mr r3, r27 +/* 8033E35C 0033B2BC 7F C4 F3 78 */ mr r4, r30 +/* 8033E360 0033B2C0 38 A0 FF FF */ li r5, -1 +/* 8033E364 0033B2C4 4B FF FB 81 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +/* 8033E368 0033B2C8 3B A0 00 00 */ li r29, 0 +lbl_8033E36C: +/* 8033E36C 0033B2CC 7F 83 E3 78 */ mr r3, r28 +/* 8033E370 0033B2D0 48 00 09 9D */ bl ReadChar__12CInputStreamFv +/* 8033E374 0033B2D4 7C 60 07 74 */ extsb r0, r3 +/* 8033E378 0033B2D8 7C 03 03 78 */ mr r3, r0 +lbl_8033E37C: +/* 8033E37C 0033B2DC 7C 60 07 75 */ extsb. r0, r3 +/* 8033E380 0033B2E0 40 82 FF C4 */ bne lbl_8033E344 +/* 8033E384 0033B2E4 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033E388 0033B2E8 41 82 00 1C */ beq lbl_8033E3A4 +/* 8033E38C 0033B2EC 38 81 00 08 */ addi r4, r1, 8 +/* 8033E390 0033B2F0 38 00 00 00 */ li r0, 0 +/* 8033E394 0033B2F4 7C 04 E9 AE */ stbx r0, r4, r29 +/* 8033E398 0033B2F8 7F 63 DB 78 */ mr r3, r27 +/* 8033E39C 0033B2FC 38 A0 FF FF */ li r5, -1 +/* 8033E3A0 0033B300 4B FF FB 45 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +lbl_8033E3A4: +/* 8033E3A4 0033B304 7F 63 DB 78 */ mr r3, r27 +/* 8033E3A8 0033B308 BB 61 04 1C */ lmw r27, 0x41c(r1) +/* 8033E3AC 0033B30C 80 01 04 34 */ lwz r0, 0x434(r1) +/* 8033E3B0 0033B310 7C 08 03 A6 */ mtlr r0 +/* 8033E3B4 0033B314 38 21 04 30 */ addi r1, r1, 0x430 +/* 8033E3B8 0033B318 4E 80 00 20 */ blr + +.global __sinit_rstl_strings_cpp +__sinit_rstl_strings_cpp: +/* 8033E3BC 0033B31C 88 0D A9 20 */ lbz r0, lbl_805A94E0@sda21(r13) +/* 8033E3C0 0033B320 7C 00 07 75 */ extsb. r0, r0 +/* 8033E3C4 0033B324 40 82 00 14 */ bne lbl_8033E3D8 +/* 8033E3C8 0033B328 38 60 00 00 */ li r3, 0 +/* 8033E3CC 0033B32C 38 00 00 01 */ li r0, 1 +/* 8033E3D0 0033B330 98 6D A9 18 */ stb r3, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21(r13) +/* 8033E3D4 0033B334 98 0D A9 20 */ stb r0, lbl_805A94E0@sda21(r13) +lbl_8033E3D8: +/* 8033E3D8 0033B338 88 0D A9 21 */ lbz r0, lbl_805A94E1@sda21(r13) +/* 8033E3DC 0033B33C 7C 00 07 75 */ extsb. r0, r0 +/* 8033E3E0 0033B340 40 82 00 14 */ bne lbl_8033E3F4 +/* 8033E3E4 0033B344 38 60 00 00 */ li r3, 0 +/* 8033E3E8 0033B348 38 00 00 01 */ li r0, 1 +/* 8033E3EC 0033B34C B0 6D A9 1A */ sth r3, lbl_805A94DA@sda21(r13) +/* 8033E3F0 0033B350 98 0D A9 21 */ stb r0, lbl_805A94E1@sda21(r13) +lbl_8033E3F4: +/* 8033E3F4 0033B354 88 0D A9 22 */ lbz r0, lbl_805A94E2@sda21(r13) +/* 8033E3F8 0033B358 7C 00 07 75 */ extsb. r0, r0 +/* 8033E3FC 0033B35C 40 82 00 14 */ bne lbl_8033E410 +/* 8033E400 0033B360 38 60 00 00 */ li r3, 0 +/* 8033E404 0033B364 38 00 00 01 */ li r0, 1 +/* 8033E408 0033B368 98 6D A9 1C */ stb r3, lbl_805A94DC@sda21(r13) +/* 8033E40C 0033B36C 98 0D A9 22 */ stb r0, lbl_805A94E2@sda21(r13) +lbl_8033E410: +/* 8033E410 0033B370 88 0D A9 23 */ lbz r0, lbl_805A94E3@sda21(r13) +/* 8033E414 0033B374 7C 00 07 75 */ extsb. r0, r0 +/* 8033E418 0033B378 4C 82 00 20 */ bnelr +/* 8033E41C 0033B37C 38 60 00 00 */ li r3, 0 +/* 8033E420 0033B380 38 00 00 01 */ li r0, 1 +/* 8033E424 0033B384 B0 6D A9 1E */ sth r3, lbl_805A94DE@sda21(r13) +/* 8033E428 0033B388 98 0D A9 23 */ stb r0, lbl_805A94E3@sda21(r13) +/* 8033E42C 0033B38C 4E 80 00 20 */ blr + +.global "TokenizeString__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCci" +"TokenizeString__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCci": +/* 8033E430 0033B390 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033E434 0033B394 7C 08 02 A6 */ mflr r0 +/* 8033E438 0033B398 2C 06 00 00 */ cmpwi r6, 0 +/* 8033E43C 0033B39C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033E440 0033B3A0 38 00 00 00 */ li r0, 0 +/* 8033E444 0033B3A4 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8033E448 0033B3A8 7C 7D 1B 78 */ mr r29, r3 +/* 8033E44C 0033B3AC 7C 9E 23 78 */ mr r30, r4 +/* 8033E450 0033B3B0 7C BF 2B 78 */ mr r31, r5 +/* 8033E454 0033B3B4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8033E458 0033B3B8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8033E45C 0033B3BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033E460 0033B3C0 40 81 00 10 */ ble lbl_8033E470 +/* 8033E464 0033B3C4 7C C4 33 78 */ mr r4, r6 +/* 8033E468 0033B3C8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033E46C 0033B3CC 4B D1 B7 49 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_8033E470: +/* 8033E470 0033B3D0 83 9E 00 08 */ lwz r28, 8(r30) +/* 8033E474 0033B3D4 3B 60 00 00 */ li r27, 0 +/* 8033E478 0033B3D8 48 00 00 D8 */ b lbl_8033E550 +/* 8033E47C 0033B3DC 48 00 00 08 */ b lbl_8033E484 +lbl_8033E480: +/* 8033E480 0033B3E0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8033E484: +/* 8033E484 0033B3E4 7C 1B E0 00 */ cmpw r27, r28 +/* 8033E488 0033B3E8 40 80 00 20 */ bge lbl_8033E4A8 +/* 8033E48C 0033B3EC 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033E490 0033B3F0 7F E3 FB 78 */ mr r3, r31 +/* 8033E494 0033B3F4 7C 84 D8 AE */ lbzx r4, r4, r27 +/* 8033E498 0033B3F8 7C 84 07 74 */ extsb r4, r4 +/* 8033E49C 0033B3FC 48 05 1A 91 */ bl strchr +/* 8033E4A0 0033B400 28 03 00 00 */ cmplwi r3, 0 +/* 8033E4A4 0033B404 40 82 FF DC */ bne lbl_8033E480 +lbl_8033E4A8: +/* 8033E4A8 0033B408 7C 1B E0 00 */ cmpw r27, r28 +/* 8033E4AC 0033B40C 41 82 00 AC */ beq lbl_8033E558 +/* 8033E4B0 0033B410 3B 5B 00 01 */ addi r26, r27, 1 +/* 8033E4B4 0033B414 48 00 00 08 */ b lbl_8033E4BC +lbl_8033E4B8: +/* 8033E4B8 0033B418 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8033E4BC: +/* 8033E4BC 0033B41C 7C 1A E0 00 */ cmpw r26, r28 +/* 8033E4C0 0033B420 40 80 00 20 */ bge lbl_8033E4E0 +/* 8033E4C4 0033B424 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033E4C8 0033B428 7F E3 FB 78 */ mr r3, r31 +/* 8033E4CC 0033B42C 7C 84 D0 AE */ lbzx r4, r4, r26 +/* 8033E4D0 0033B430 7C 84 07 74 */ extsb r4, r4 +/* 8033E4D4 0033B434 48 05 1A 59 */ bl strchr +/* 8033E4D8 0033B438 28 03 00 00 */ cmplwi r3, 0 +/* 8033E4DC 0033B43C 41 82 FF DC */ beq lbl_8033E4B8 +lbl_8033E4E0: +/* 8033E4E0 0033B440 7F C4 F3 78 */ mr r4, r30 +/* 8033E4E4 0033B444 7F 65 DB 78 */ mr r5, r27 +/* 8033E4E8 0033B448 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E4EC 0033B44C 7C DB D0 50 */ subf r6, r27, r26 +/* 8033E4F0 0033B450 4B ED EB D9 */ bl "substr__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" +/* 8033E4F4 0033B454 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E4F8 0033B458 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 8033E4FC 0033B45C 7C 00 28 00 */ cmpw r0, r5 +/* 8033E500 0033B460 41 80 00 1C */ blt lbl_8033E51C +/* 8033E504 0033B464 2C 05 00 00 */ cmpwi r5, 0 +/* 8033E508 0033B468 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033E50C 0033B46C 38 80 00 04 */ li r4, 4 +/* 8033E510 0033B470 41 82 00 08 */ beq lbl_8033E518 +/* 8033E514 0033B474 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8033E518: +/* 8033E518 0033B478 4B D1 B6 9D */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_8033E51C: +/* 8033E51C 0033B47C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E520 0033B480 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8033E524 0033B484 54 00 20 36 */ slwi r0, r0, 4 +/* 8033E528 0033B488 7C 63 02 15 */ add. r3, r3, r0 +/* 8033E52C 0033B48C 41 82 00 0C */ beq lbl_8033E538 +/* 8033E530 0033B490 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E534 0033B494 4B FF FC 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8033E538: +/* 8033E538 0033B498 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8033E53C 0033B49C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E540 0033B4A0 38 04 00 01 */ addi r0, r4, 1 +/* 8033E544 0033B4A4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8033E548 0033B4A8 4B FF F5 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E54C 0033B4AC 3B 7A 00 01 */ addi r27, r26, 1 +lbl_8033E550: +/* 8033E550 0033B4B0 7C 1B E0 00 */ cmpw r27, r28 +/* 8033E554 0033B4B4 41 80 FF 30 */ blt lbl_8033E484 +lbl_8033E558: +/* 8033E558 0033B4B8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E55C 0033B4BC 90 1D 00 04 */ stw r0, 4(r29) +/* 8033E560 0033B4C0 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033E564 0033B4C4 90 1D 00 08 */ stw r0, 8(r29) +/* 8033E568 0033B4C8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E56C 0033B4CC 2C 00 00 00 */ cmpwi r0, 0 +/* 8033E570 0033B4D0 40 82 00 1C */ bne lbl_8033E58C +/* 8033E574 0033B4D4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033E578 0033B4D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8033E57C 0033B4DC 40 82 00 10 */ bne lbl_8033E58C +/* 8033E580 0033B4E0 38 00 00 00 */ li r0, 0 +/* 8033E584 0033B4E4 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033E588 0033B4E8 48 00 00 6C */ b lbl_8033E5F4 +lbl_8033E58C: +/* 8033E58C 0033B4EC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E590 0033B4F0 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b +/* 8033E594 0033B4F4 40 82 00 10 */ bne lbl_8033E5A4 +/* 8033E598 0033B4F8 38 00 00 00 */ li r0, 0 +/* 8033E59C 0033B4FC 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033E5A0 0033B500 48 00 00 18 */ b lbl_8033E5B8 +lbl_8033E5A4: +/* 8033E5A4 0033B504 3C 80 80 3D */ lis r4, lbl_803D7A50@ha +/* 8033E5A8 0033B508 38 A0 00 00 */ li r5, 0 +/* 8033E5AC 0033B50C 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l +/* 8033E5B0 0033B510 4B FD 72 69 */ bl __nwa__FUlPCcPCc +/* 8033E5B4 0033B514 90 7D 00 0C */ stw r3, 0xc(r29) +lbl_8033E5B8: +/* 8033E5B8 0033B518 83 9D 00 04 */ lwz r28, 4(r29) +/* 8033E5BC 0033B51C 3B C0 00 00 */ li r30, 0 +/* 8033E5C0 0033B520 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 8033E5C4 0033B524 83 BD 00 0C */ lwz r29, 0xc(r29) +/* 8033E5C8 0033B528 48 00 00 24 */ b lbl_8033E5EC +lbl_8033E5CC: +/* 8033E5CC 0033B52C 28 1D 00 00 */ cmplwi r29, 0 +/* 8033E5D0 0033B530 41 82 00 10 */ beq lbl_8033E5E0 +/* 8033E5D4 0033B534 7F A3 EB 78 */ mr r3, r29 +/* 8033E5D8 0033B538 7F E4 FB 78 */ mr r4, r31 +/* 8033E5DC 0033B53C 4B FF FB 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8033E5E0: +/* 8033E5E0 0033B540 3B BD 00 10 */ addi r29, r29, 0x10 +/* 8033E5E4 0033B544 3B DE 00 01 */ addi r30, r30, 1 +/* 8033E5E8 0033B548 3B FF 00 10 */ addi r31, r31, 0x10 +lbl_8033E5EC: +/* 8033E5EC 0033B54C 7C 1E E0 00 */ cmpw r30, r28 +/* 8033E5F0 0033B550 41 80 FF DC */ blt lbl_8033E5CC +lbl_8033E5F4: +/* 8033E5F4 0033B554 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E5F8 0033B558 83 81 00 34 */ lwz r28, 0x34(r1) +/* 8033E5FC 0033B55C 54 00 20 36 */ slwi r0, r0, 4 +/* 8033E600 0033B560 7F BC 02 14 */ add r29, r28, r0 +/* 8033E604 0033B564 93 81 00 0C */ stw r28, 0xc(r1) +/* 8033E608 0033B568 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033E60C 0033B56C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8033E610 0033B570 93 81 00 08 */ stw r28, 8(r1) +/* 8033E614 0033B574 48 00 00 18 */ b lbl_8033E62C +lbl_8033E618: +/* 8033E618 0033B578 28 1C 00 00 */ cmplwi r28, 0 +/* 8033E61C 0033B57C 41 82 00 0C */ beq lbl_8033E628 +/* 8033E620 0033B580 7F 83 E3 78 */ mr r3, r28 +/* 8033E624 0033B584 4B FF F4 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033E628: +/* 8033E628 0033B588 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_8033E62C: +/* 8033E62C 0033B58C 7C 1C E8 40 */ cmplw r28, r29 +/* 8033E630 0033B590 40 82 FF E8 */ bne lbl_8033E618 +/* 8033E634 0033B594 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8033E638 0033B598 28 03 00 00 */ cmplwi r3, 0 +/* 8033E63C 0033B59C 41 82 00 08 */ beq lbl_8033E644 +/* 8033E640 0033B5A0 4B FD 72 F1 */ bl Free__7CMemoryFPCv +lbl_8033E644: +/* 8033E644 0033B5A4 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8033E648 0033B5A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033E64C 0033B5AC 7C 08 03 A6 */ mtlr r0 +/* 8033E650 0033B5B0 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033E654 0033B5B4 4E 80 00 20 */ blr + +.global ReadString__13CStringExtrasFR12CInputStream +ReadString__13CStringExtrasFR12CInputStream: +/* 8033E658 0033B5B8 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 8033E65C 0033B5BC 7C 08 02 A6 */ mflr r0 +/* 8033E660 0033B5C0 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E664 0033B5C4 90 01 02 34 */ stw r0, 0x234(r1) +/* 8033E668 0033B5C8 38 00 00 00 */ li r0, 0 +/* 8033E66C 0033B5CC 93 E1 02 2C */ stw r31, 0x22c(r1) +/* 8033E670 0033B5D0 93 C1 02 28 */ stw r30, 0x228(r1) +/* 8033E674 0033B5D4 93 A1 02 24 */ stw r29, 0x224(r1) +/* 8033E678 0033B5D8 7C 9D 23 78 */ mr r29, r4 +/* 8033E67C 0033B5DC 93 81 02 20 */ stw r28, 0x220(r1) +/* 8033E680 0033B5E0 7C 7C 1B 78 */ mr r28, r3 +/* 8033E684 0033B5E4 7F A3 EB 78 */ mr r3, r29 +/* 8033E688 0033B5E8 90 A1 00 08 */ stw r5, 8(r1) +/* 8033E68C 0033B5EC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033E690 0033B5F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8033E694 0033B5F4 48 00 05 F1 */ bl ReadLong__12CInputStreamFv +/* 8033E698 0033B5F8 7C 64 1B 78 */ mr r4, r3 +/* 8033E69C 0033B5FC 38 61 00 08 */ addi r3, r1, 8 +/* 8033E6A0 0033B600 38 A0 00 01 */ li r5, 1 +/* 8033E6A4 0033B604 7C 9E 23 78 */ mr r30, r4 +/* 8033E6A8 0033B608 4B FF F2 89 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E6AC 0033B60C 48 00 00 38 */ b lbl_8033E6E4 +lbl_8033E6B0: +/* 8033E6B0 0033B610 28 1E 02 00 */ cmplwi r30, 0x200 +/* 8033E6B4 0033B614 3B E0 02 00 */ li r31, 0x200 +/* 8033E6B8 0033B618 41 81 00 08 */ bgt lbl_8033E6C0 +/* 8033E6BC 0033B61C 7F DF F3 78 */ mr r31, r30 +lbl_8033E6C0: +/* 8033E6C0 0033B620 7F A3 EB 78 */ mr r3, r29 +/* 8033E6C4 0033B624 7F E5 FB 78 */ mr r5, r31 +/* 8033E6C8 0033B628 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E6CC 0033B62C 48 00 07 B5 */ bl ReadBytes__12CInputStreamFPvUl +/* 8033E6D0 0033B630 7F E5 FB 78 */ mr r5, r31 +/* 8033E6D4 0033B634 38 61 00 08 */ addi r3, r1, 8 +/* 8033E6D8 0033B638 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E6DC 0033B63C 4B FF F8 09 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +/* 8033E6E0 0033B640 7F DF F0 50 */ subf r30, r31, r30 +lbl_8033E6E4: +/* 8033E6E4 0033B644 2C 1E 00 00 */ cmpwi r30, 0 +/* 8033E6E8 0033B648 41 81 FF C8 */ bgt lbl_8033E6B0 +/* 8033E6EC 0033B64C 7F 83 E3 78 */ mr r3, r28 +/* 8033E6F0 0033B650 38 81 00 08 */ addi r4, r1, 8 +/* 8033E6F4 0033B654 4B FF FA 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E6F8 0033B658 38 61 00 08 */ addi r3, r1, 8 +/* 8033E6FC 0033B65C 4B FF F3 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E700 0033B660 80 01 02 34 */ lwz r0, 0x234(r1) +/* 8033E704 0033B664 83 E1 02 2C */ lwz r31, 0x22c(r1) +/* 8033E708 0033B668 83 C1 02 28 */ lwz r30, 0x228(r1) +/* 8033E70C 0033B66C 83 A1 02 24 */ lwz r29, 0x224(r1) +/* 8033E710 0033B670 83 81 02 20 */ lwz r28, 0x220(r1) +/* 8033E714 0033B674 7C 08 03 A6 */ mtlr r0 +/* 8033E718 0033B678 38 21 02 30 */ addi r1, r1, 0x230 +/* 8033E71C 0033B67C 4E 80 00 20 */ blr + +.global "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E720 0033B680 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033E724 0033B684 7C 08 02 A6 */ mflr r0 +/* 8033E728 0033B688 38 AD A9 1A */ addi r5, r13, lbl_805A94DA@sda21 +/* 8033E72C 0033B68C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033E730 0033B690 38 00 00 00 */ li r0, 0 +/* 8033E734 0033B694 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033E738 0033B698 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033E73C 0033B69C 7C 9E 23 78 */ mr r30, r4 +/* 8033E740 0033B6A0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8033E744 0033B6A4 7C 7D 1B 78 */ mr r29, r3 +/* 8033E748 0033B6A8 38 61 00 08 */ addi r3, r1, 8 +/* 8033E74C 0033B6AC 80 84 00 08 */ lwz r4, 8(r4) +/* 8033E750 0033B6B0 90 A1 00 08 */ stw r5, 8(r1) +/* 8033E754 0033B6B4 38 A0 00 01 */ li r5, 1 +/* 8033E758 0033B6B8 38 84 00 01 */ addi r4, r4, 1 +/* 8033E75C 0033B6BC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033E760 0033B6C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8033E764 0033B6C4 4B FF E8 11 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E768 0033B6C8 3B E0 00 00 */ li r31, 0 +/* 8033E76C 0033B6CC 48 00 00 20 */ b lbl_8033E78C +lbl_8033E770: +/* 8033E770 0033B6D0 80 BE 00 00 */ lwz r5, 0(r30) +/* 8033E774 0033B6D4 38 61 00 08 */ addi r3, r1, 8 +/* 8033E778 0033B6D8 38 80 00 01 */ li r4, 1 +/* 8033E77C 0033B6DC 7C A5 F8 AE */ lbzx r5, r5, r31 +/* 8033E780 0033B6E0 7C A5 07 74 */ extsb r5, r5 +/* 8033E784 0033B6E4 4B FF EC 55 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw" +/* 8033E788 0033B6E8 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033E78C: +/* 8033E78C 0033B6EC 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033E790 0033B6F0 7C 1F 00 00 */ cmpw r31, r0 +/* 8033E794 0033B6F4 41 80 FF DC */ blt lbl_8033E770 +/* 8033E798 0033B6F8 7F A3 EB 78 */ mr r3, r29 +/* 8033E79C 0033B6FC 38 81 00 08 */ addi r4, r1, 8 +/* 8033E7A0 0033B700 4B FF EF E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E7A4 0033B704 38 61 00 08 */ addi r3, r1, 8 +/* 8033E7A8 0033B708 4B FF E9 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E7AC 0033B70C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033E7B0 0033B710 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8033E7B4 0033B714 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033E7B8 0033B718 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033E7BC 0033B71C 7C 08 03 A6 */ mtlr r0 +/* 8033E7C0 0033B720 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033E7C4 0033B724 4E 80 00 20 */ blr + +.global "ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E7C8 0033B728 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033E7CC 0033B72C 7C 08 02 A6 */ mflr r0 +/* 8033E7D0 0033B730 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E7D4 0033B734 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033E7D8 0033B738 38 00 00 00 */ li r0, 0 +/* 8033E7DC 0033B73C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033E7E0 0033B740 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033E7E4 0033B744 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033E7E8 0033B748 7C 9D 23 78 */ mr r29, r4 +/* 8033E7EC 0033B74C 93 81 00 30 */ stw r28, 0x30(r1) +/* 8033E7F0 0033B750 7C 7C 1B 78 */ mr r28, r3 +/* 8033E7F4 0033B754 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E7F8 0033B758 80 84 00 08 */ lwz r4, 8(r4) +/* 8033E7FC 0033B75C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8033E800 0033B760 38 A0 00 01 */ li r5, 1 +/* 8033E804 0033B764 38 84 00 01 */ addi r4, r4, 1 +/* 8033E808 0033B768 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033E80C 0033B76C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8033E810 0033B770 4B FF F1 21 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E814 0033B774 3B C0 00 00 */ li r30, 0 +/* 8033E818 0033B778 3B E0 00 00 */ li r31, 0 +/* 8033E81C 0033B77C 48 00 00 38 */ b lbl_8033E854 +lbl_8033E820: +/* 8033E820 0033B780 80 BD 00 00 */ lwz r5, 0(r29) +/* 8033E824 0033B784 38 61 00 08 */ addi r3, r1, 8 +/* 8033E828 0033B788 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E82C 0033B78C 7C 05 FA 2E */ lhzx r0, r5, r31 +/* 8033E830 0033B790 7C 05 07 74 */ extsb r5, r0 +/* 8033E834 0033B794 4B EC D8 61 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>c" +/* 8033E838 0033B798 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E83C 0033B79C 38 81 00 08 */ addi r4, r1, 8 +/* 8033E840 0033B7A0 4B FF F5 1D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E844 0033B7A4 38 61 00 08 */ addi r3, r1, 8 +/* 8033E848 0033B7A8 4B FF F2 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E84C 0033B7AC 3B FF 00 02 */ addi r31, r31, 2 +/* 8033E850 0033B7B0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8033E854: +/* 8033E854 0033B7B4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E858 0033B7B8 7C 1E 00 00 */ cmpw r30, r0 +/* 8033E85C 0033B7BC 41 80 FF C4 */ blt lbl_8033E820 +/* 8033E860 0033B7C0 7F 83 E3 78 */ mr r3, r28 +/* 8033E864 0033B7C4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E868 0033B7C8 4B FF F8 F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E86C 0033B7CC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E870 0033B7D0 4B FF F2 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E874 0033B7D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033E878 0033B7D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033E87C 0033B7DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033E880 0033B7E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033E884 0033B7E4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8033E888 0033B7E8 7C 08 03 A6 */ mtlr r0 +/* 8033E88C 0033B7EC 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033E890 0033B7F0 4E 80 00 20 */ blr + +.global CreateFromInteger__13CStringExtrasFi +CreateFromInteger__13CStringExtrasFi: +/* 8033E894 0033B7F4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033E898 0033B7F8 7C 08 02 A6 */ mflr r0 +/* 8033E89C 0033B7FC 7C 85 FE 70 */ srawi r5, r4, 0x1f +/* 8033E8A0 0033B800 2C 04 00 00 */ cmpwi r4, 0 +/* 8033E8A4 0033B804 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033E8A8 0033B808 7C A0 22 78 */ xor r0, r5, r4 +/* 8033E8AC 0033B80C 7D 05 00 50 */ subf r8, r5, r0 +/* 8033E8B0 0033B810 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033E8B4 0033B814 3B E0 00 00 */ li r31, 0 +/* 8033E8B8 0033B818 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033E8BC 0033B81C 7C 7E 1B 78 */ mr r30, r3 +/* 8033E8C0 0033B820 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033E8C4 0033B824 93 81 00 30 */ stw r28, 0x30(r1) +/* 8033E8C8 0033B828 40 82 00 18 */ bne lbl_8033E8E0 +/* 8033E8CC 0033B82C 3C 80 80 3D */ lis r4, lbl_803D7A50@ha +/* 8033E8D0 0033B830 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l +/* 8033E8D4 0033B834 38 84 00 0E */ addi r4, r4, 0xe +/* 8033E8D8 0033B838 4B CC 63 E1 */ bl string_l__4rstlFPCc +/* 8033E8DC 0033B83C 48 00 00 CC */ b lbl_8033E9A8 +lbl_8033E8E0: +/* 8033E8E0 0033B840 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 8033E8E4 0033B844 38 E1 00 18 */ addi r7, r1, 0x18 +/* 8033E8E8 0033B848 38 C3 66 67 */ addi r6, r3, 0x66666667@l +/* 8033E8EC 0033B84C 48 00 00 38 */ b lbl_8033E924 +lbl_8033E8F0: +/* 8033E8F0 0033B850 7C 06 40 96 */ mulhw r0, r6, r8 +/* 8033E8F4 0033B854 3B FF 00 01 */ addi r31, r31, 1 +/* 8033E8F8 0033B858 7C 03 16 70 */ srawi r3, r0, 2 +/* 8033E8FC 0033B85C 54 65 0F FE */ srwi r5, r3, 0x1f +/* 8033E900 0033B860 7C 00 16 70 */ srawi r0, r0, 2 +/* 8033E904 0033B864 7C 63 2A 14 */ add r3, r3, r5 +/* 8033E908 0033B868 1C A3 00 0A */ mulli r5, r3, 0xa +/* 8033E90C 0033B86C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033E910 0033B870 7C A5 40 50 */ subf r5, r5, r8 +/* 8033E914 0033B874 7D 00 1A 14 */ add r8, r0, r3 +/* 8033E918 0033B878 38 05 00 30 */ addi r0, r5, 0x30 +/* 8033E91C 0033B87C 98 07 00 00 */ stb r0, 0(r7) +/* 8033E920 0033B880 38 E7 00 01 */ addi r7, r7, 1 +lbl_8033E924: +/* 8033E924 0033B884 2C 08 00 00 */ cmpwi r8, 0 +/* 8033E928 0033B888 41 81 FF C8 */ bgt lbl_8033E8F0 +/* 8033E92C 0033B88C 38 00 00 00 */ li r0, 0 +/* 8033E930 0033B890 38 6D A9 18 */ addi r3, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E934 0033B894 2C 04 00 00 */ cmpwi r4, 0 +/* 8033E938 0033B898 90 61 00 08 */ stw r3, 8(r1) +/* 8033E93C 0033B89C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033E940 0033B8A0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8033E944 0033B8A4 40 80 00 1C */ bge lbl_8033E960 +/* 8033E948 0033B8A8 3C 80 80 3D */ lis r4, lbl_803D7A50@ha +/* 8033E94C 0033B8AC 38 61 00 08 */ addi r3, r1, 8 +/* 8033E950 0033B8B0 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l +/* 8033E954 0033B8B4 38 A0 FF FF */ li r5, -1 +/* 8033E958 0033B8B8 38 84 00 10 */ addi r4, r4, 0x10 +/* 8033E95C 0033B8BC 4B FF F5 89 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +lbl_8033E960: +/* 8033E960 0033B8C0 3B A1 00 18 */ addi r29, r1, 0x18 +/* 8033E964 0033B8C4 3B 80 00 00 */ li r28, 0 +/* 8033E968 0033B8C8 48 00 00 24 */ b lbl_8033E98C +lbl_8033E96C: +/* 8033E96C 0033B8CC 7C 9C F8 50 */ subf r4, r28, r31 +/* 8033E970 0033B8D0 38 61 00 08 */ addi r3, r1, 8 +/* 8033E974 0033B8D4 38 04 FF FF */ addi r0, r4, -1 +/* 8033E978 0033B8D8 38 80 00 01 */ li r4, 1 +/* 8033E97C 0033B8DC 7C 1D 00 AE */ lbzx r0, r29, r0 +/* 8033E980 0033B8E0 7C 05 07 74 */ extsb r5, r0 +/* 8033E984 0033B8E4 4B FF F4 65 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic" +/* 8033E988 0033B8E8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8033E98C: +/* 8033E98C 0033B8EC 7C 1C F8 00 */ cmpw r28, r31 +/* 8033E990 0033B8F0 41 80 FF DC */ blt lbl_8033E96C +/* 8033E994 0033B8F4 7F C3 F3 78 */ mr r3, r30 +/* 8033E998 0033B8F8 38 81 00 08 */ addi r4, r1, 8 +/* 8033E99C 0033B8FC 4B FF F7 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E9A0 0033B900 38 61 00 08 */ addi r3, r1, 8 +/* 8033E9A4 0033B904 4B FF F1 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033E9A8: +/* 8033E9A8 0033B908 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033E9AC 0033B90C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033E9B0 0033B910 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033E9B4 0033B914 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033E9B8 0033B918 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8033E9BC 0033B91C 7C 08 03 A6 */ mtlr r0 +/* 8033E9C0 0033B920 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033E9C4 0033B924 4E 80 00 20 */ blr + +.global ConvertToUpperCase__13CStringExtrasFc +ConvertToUpperCase__13CStringExtrasFc: +/* 8033E9C8 0033B928 7C 60 07 74 */ extsb r0, r3 +/* 8033E9CC 0033B92C 2C 00 00 61 */ cmpwi r0, 0x61 +/* 8033E9D0 0033B930 4D 80 00 20 */ bltlr +/* 8033E9D4 0033B934 2C 00 00 7A */ cmpwi r0, 0x7a +/* 8033E9D8 0033B938 4D 81 00 20 */ bgtlr +/* 8033E9DC 0033B93C 38 03 FF E0 */ addi r0, r3, -32 +/* 8033E9E0 0033B940 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8033E9E4 0033B944 7C 03 07 74 */ extsb r3, r0 +/* 8033E9E8 0033B948 4E 80 00 20 */ blr + +.global "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E9EC 0033B94C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033E9F0 0033B950 7C 08 02 A6 */ mflr r0 +/* 8033E9F4 0033B954 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033E9F8 0033B958 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8033E9FC 0033B95C 7C 9B 23 78 */ mr r27, r4 +/* 8033EA00 0033B960 7C 7A 1B 78 */ mr r26, r3 +/* 8033EA04 0033B964 80 03 00 08 */ lwz r0, 8(r3) +/* 8033EA08 0033B968 38 61 00 0C */ addi r3, r1, 0xc +/* 8033EA0C 0033B96C 80 84 00 08 */ lwz r4, 8(r4) +/* 8033EA10 0033B970 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033EA14 0033B974 7C 04 00 00 */ cmpw r4, r0 +/* 8033EA18 0033B978 90 81 00 08 */ stw r4, 8(r1) +/* 8033EA1C 0033B97C 40 80 00 08 */ bge lbl_8033EA24 +/* 8033EA20 0033B980 38 61 00 08 */ addi r3, r1, 8 +lbl_8033EA24: +/* 8033EA24 0033B984 83 A3 00 00 */ lwz r29, 0(r3) +/* 8033EA28 0033B988 3B 80 00 00 */ li r28, 0 +/* 8033EA2C 0033B98C 48 00 00 68 */ b lbl_8033EA94 +lbl_8033EA30: +/* 8033EA30 0033B990 80 7B 00 00 */ lwz r3, 0(r27) +/* 8033EA34 0033B994 83 FA 00 00 */ lwz r31, 0(r26) +/* 8033EA38 0033B998 7C 63 E0 AE */ lbzx r3, r3, r28 +/* 8033EA3C 0033B99C 4B FF FF 8D */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA40 0033B9A0 7C 7E 07 74 */ extsb r30, r3 +/* 8033EA44 0033B9A4 7C 7F E0 AE */ lbzx r3, r31, r28 +/* 8033EA48 0033B9A8 4B FF FF 81 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA4C 0033B9AC 7C 60 07 74 */ extsb r0, r3 +/* 8033EA50 0033B9B0 7C 00 F0 00 */ cmpw r0, r30 +/* 8033EA54 0033B9B4 40 80 00 0C */ bge lbl_8033EA60 +/* 8033EA58 0033B9B8 38 60 FF FF */ li r3, -1 +/* 8033EA5C 0033B9BC 48 00 00 6C */ b lbl_8033EAC8 +lbl_8033EA60: +/* 8033EA60 0033B9C0 80 7B 00 00 */ lwz r3, 0(r27) +/* 8033EA64 0033B9C4 83 DA 00 00 */ lwz r30, 0(r26) +/* 8033EA68 0033B9C8 7C 63 E0 AE */ lbzx r3, r3, r28 +/* 8033EA6C 0033B9CC 4B FF FF 5D */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA70 0033B9D0 7C 7F 07 74 */ extsb r31, r3 +/* 8033EA74 0033B9D4 7C 7E E0 AE */ lbzx r3, r30, r28 +/* 8033EA78 0033B9D8 4B FF FF 51 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA7C 0033B9DC 7C 60 07 74 */ extsb r0, r3 +/* 8033EA80 0033B9E0 7C 00 F8 00 */ cmpw r0, r31 +/* 8033EA84 0033B9E4 40 81 00 0C */ ble lbl_8033EA90 +/* 8033EA88 0033B9E8 38 60 00 01 */ li r3, 1 +/* 8033EA8C 0033B9EC 48 00 00 3C */ b lbl_8033EAC8 +lbl_8033EA90: +/* 8033EA90 0033B9F0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8033EA94: +/* 8033EA94 0033B9F4 7C 1C E8 00 */ cmpw r28, r29 +/* 8033EA98 0033B9F8 41 80 FF 98 */ blt lbl_8033EA30 +/* 8033EA9C 0033B9FC 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8033EAA0 0033BA00 80 01 00 08 */ lwz r0, 8(r1) +/* 8033EAA4 0033BA04 7C 04 00 00 */ cmpw r4, r0 +/* 8033EAA8 0033BA08 40 80 00 0C */ bge lbl_8033EAB4 +/* 8033EAAC 0033BA0C 38 60 FF FF */ li r3, -1 +/* 8033EAB0 0033BA10 48 00 00 18 */ b lbl_8033EAC8 +lbl_8033EAB4: +/* 8033EAB4 0033BA14 7C 80 02 78 */ xor r0, r4, r0 +/* 8033EAB8 0033BA18 7C 03 0E 70 */ srawi r3, r0, 1 +/* 8033EABC 0033BA1C 7C 00 20 38 */ and r0, r0, r4 +/* 8033EAC0 0033BA20 7C 00 18 50 */ subf r0, r0, r3 +/* 8033EAC4 0033BA24 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_8033EAC8: +/* 8033EAC8 0033BA28 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8033EACC 0033BA2C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033EAD0 0033BA30 7C 08 03 A6 */ mtlr r0 +/* 8033EAD4 0033BA34 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033EAD8 0033BA38 4E 80 00 20 */ blr + +.global "IndexOfSubstring__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"IndexOfSubstring__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033EADC 0033BA3C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033EAE0 0033BA40 7C 08 02 A6 */ mflr r0 +/* 8033EAE4 0033BA44 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033EAE8 0033BA48 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 8033EAEC 0033BA4C 7C 99 23 78 */ mr r25, r4 +/* 8033EAF0 0033BA50 7C 78 1B 78 */ mr r24, r3 +/* 8033EAF4 0033BA54 83 A4 00 08 */ lwz r29, 8(r4) +/* 8033EAF8 0033BA58 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033EAFC 0033BA5C 40 82 00 0C */ bne lbl_8033EB08 +/* 8033EB00 0033BA60 38 60 00 00 */ li r3, 0 +/* 8033EB04 0033BA64 48 00 00 88 */ b lbl_8033EB8C +lbl_8033EB08: +/* 8033EB08 0033BA68 80 18 00 08 */ lwz r0, 8(r24) +/* 8033EB0C 0033BA6C 2C 00 00 00 */ cmpwi r0, 0 +/* 8033EB10 0033BA70 40 82 00 0C */ bne lbl_8033EB1C +/* 8033EB14 0033BA74 38 60 FF FF */ li r3, -1 +/* 8033EB18 0033BA78 48 00 00 74 */ b lbl_8033EB8C +lbl_8033EB1C: +/* 8033EB1C 0033BA7C 7C 7D 00 50 */ subf r3, r29, r0 +/* 8033EB20 0033BA80 3B 60 00 00 */ li r27, 0 +/* 8033EB24 0033BA84 3B 83 00 01 */ addi r28, r3, 1 +/* 8033EB28 0033BA88 48 00 00 58 */ b lbl_8033EB80 +lbl_8033EB2C: +/* 8033EB2C 0033BA8C 3B 40 00 00 */ li r26, 0 +/* 8033EB30 0033BA90 48 00 00 34 */ b lbl_8033EB64 +lbl_8033EB34: +/* 8033EB34 0033BA94 80 18 00 00 */ lwz r0, 0(r24) +/* 8033EB38 0033BA98 83 D9 00 00 */ lwz r30, 0(r25) +/* 8033EB3C 0033BA9C 7C 1A 02 14 */ add r0, r26, r0 +/* 8033EB40 0033BAA0 7C 7B 00 AE */ lbzx r3, r27, r0 +/* 8033EB44 0033BAA4 4B FF FE 85 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EB48 0033BAA8 7C 7F 07 74 */ extsb r31, r3 +/* 8033EB4C 0033BAAC 7C 7E D0 AE */ lbzx r3, r30, r26 +/* 8033EB50 0033BAB0 4B FF FE 79 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EB54 0033BAB4 7C 60 07 74 */ extsb r0, r3 +/* 8033EB58 0033BAB8 7C 00 F8 00 */ cmpw r0, r31 +/* 8033EB5C 0033BABC 40 82 00 10 */ bne lbl_8033EB6C +/* 8033EB60 0033BAC0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8033EB64: +/* 8033EB64 0033BAC4 7C 1A E8 00 */ cmpw r26, r29 +/* 8033EB68 0033BAC8 41 80 FF CC */ blt lbl_8033EB34 +lbl_8033EB6C: +/* 8033EB6C 0033BACC 7C 1A E8 00 */ cmpw r26, r29 +/* 8033EB70 0033BAD0 40 82 00 0C */ bne lbl_8033EB7C +/* 8033EB74 0033BAD4 7F 63 DB 78 */ mr r3, r27 +/* 8033EB78 0033BAD8 48 00 00 14 */ b lbl_8033EB8C +lbl_8033EB7C: +/* 8033EB7C 0033BADC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8033EB80: +/* 8033EB80 0033BAE0 7C 1B E0 00 */ cmpw r27, r28 +/* 8033EB84 0033BAE4 41 80 FF A8 */ blt lbl_8033EB2C +/* 8033EB88 0033BAE8 38 60 FF FF */ li r3, -1 +lbl_8033EB8C: +/* 8033EB8C 0033BAEC BB 01 00 10 */ lmw r24, 0x10(r1) +/* 8033EB90 0033BAF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033EB94 0033BAF4 7C 08 03 A6 */ mtlr r0 +/* 8033EB98 0033BAF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033EB9C 0033BAFC 4E 80 00 20 */ blr + +.global __sinit_RstlExtras_cpp +__sinit_RstlExtras_cpp: +/* 8033EBA0 0033BB00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EBA4 0033BB04 7C 08 02 A6 */ mflr r0 +/* 8033EBA8 0033BB08 3C 80 80 34 */ lis r4, __ct__Q24rstl8CRefDataFPCPvi@ha +/* 8033EBAC 0033BB0C 3C A0 01 00 */ lis r5, 0x00FFFFFF@ha +/* 8033EBB0 0033BB10 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EBB4 0033BB14 38 E0 00 00 */ li r7, 0 +/* 8033EBB8 0033BB18 38 05 FF FF */ addi r0, r5, 0x00FFFFFF@l +/* 8033EBBC 0033BB1C 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21 +/* 8033EBC0 0033BB20 3C 60 80 4C */ lis r3, lbl_804BFF30@ha +/* 8033EBC4 0033BB24 90 ED A9 28 */ stw r7, lbl_805A94E8@sda21(r13) +/* 8033EBC8 0033BB28 38 A3 FF 30 */ addi r5, r3, lbl_804BFF30@l +/* 8033EBCC 0033BB2C 38 84 EB EC */ addi r4, r4, __ct__Q24rstl8CRefDataFPCPvi@l +/* 8033EBD0 0033BB30 90 06 00 04 */ stw r0, 4(r6) +/* 8033EBD4 0033BB34 38 6D A9 28 */ addi r3, r13, lbl_805A94E8@sda21 +/* 8033EBD8 0033BB38 48 04 AA B5 */ bl __register_global_object +/* 8033EBDC 0033BB3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EBE0 0033BB40 7C 08 03 A6 */ mtlr r0 +/* 8033EBE4 0033BB44 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EBE8 0033BB48 4E 80 00 20 */ blr + +.global __ct__Q24rstl8CRefDataFPCPvi +__ct__Q24rstl8CRefDataFPCPvi: +/* 8033EBEC 0033BB4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EBF0 0033BB50 7C 08 02 A6 */ mflr r0 +/* 8033EBF4 0033BB54 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EBF8 0033BB58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033EBFC 0033BB5C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033EC00 0033BB60 41 82 00 10 */ beq lbl_8033EC10 +/* 8033EC04 0033BB64 7C 80 07 35 */ extsh. r0, r4 +/* 8033EC08 0033BB68 40 81 00 08 */ ble lbl_8033EC10 +/* 8033EC0C 0033BB6C 4B FD 6D 25 */ bl Free__7CMemoryFPCv +lbl_8033EC10: +/* 8033EC10 0033BB70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EC14 0033BB74 7F E3 FB 78 */ mr r3, r31 +/* 8033EC18 0033BB78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033EC1C 0033BB7C 7C 08 03 A6 */ mtlr r0 +/* 8033EC20 0033BB80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EC24 0033BB84 4E 80 00 20 */ blr + +.global ReadFloat__12CInputStreamFv +ReadFloat__12CInputStreamFv: +/* 8033EC28 0033BB88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EC2C 0033BB8C 7C 08 02 A6 */ mflr r0 +/* 8033EC30 0033BB90 38 8D A9 40 */ addi r4, r13, lbl_805A9500@sda21 +/* 8033EC34 0033BB94 38 A0 00 04 */ li r5, 4 +/* 8033EC38 0033BB98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EC3C 0033BB9C 48 00 03 19 */ bl Get__12CInputStreamFPvUl +/* 8033EC40 0033BBA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EC44 0033BBA4 C0 2D A9 40 */ lfs f1, lbl_805A9500@sda21(r13) +/* 8033EC48 0033BBA8 7C 08 03 A6 */ mtlr r0 +/* 8033EC4C 0033BBAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EC50 0033BBB0 4E 80 00 20 */ blr + +.global ReadLongLong__12CInputStreamFv +ReadLongLong__12CInputStreamFv: +/* 8033EC54 0033BBB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EC58 0033BBB8 7C 08 02 A6 */ mflr r0 +/* 8033EC5C 0033BBBC 38 8D A9 38 */ addi r4, r13, lbl_805A94F8@sda21 +/* 8033EC60 0033BBC0 38 A0 00 08 */ li r5, 8 +/* 8033EC64 0033BBC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EC68 0033BBC8 48 00 02 ED */ bl Get__12CInputStreamFPvUl +/* 8033EC6C 0033BBCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EC70 0033BBD0 80 6D A9 38 */ lwz r3, lbl_805A94F8@sda21(r13) +/* 8033EC74 0033BBD4 80 8D A9 3C */ lwz r4, lbl_805A94FC@sda21(r13) +/* 8033EC78 0033BBD8 7C 08 03 A6 */ mtlr r0 +/* 8033EC7C 0033BBDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EC80 0033BBE0 4E 80 00 20 */ blr + +.global ReadLong__12CInputStreamFv +ReadLong__12CInputStreamFv: +/* 8033EC84 0033BBE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EC88 0033BBE8 7C 08 02 A6 */ mflr r0 +/* 8033EC8C 0033BBEC 38 8D A9 34 */ addi r4, r13, lbl_805A94F4@sda21 +/* 8033EC90 0033BBF0 38 A0 00 04 */ li r5, 4 +/* 8033EC94 0033BBF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EC98 0033BBF8 48 00 02 BD */ bl Get__12CInputStreamFPvUl +/* 8033EC9C 0033BBFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ECA0 0033BC00 80 6D A9 34 */ lwz r3, lbl_805A94F4@sda21(r13) +/* 8033ECA4 0033BC04 7C 08 03 A6 */ mtlr r0 +/* 8033ECA8 0033BC08 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ECAC 0033BC0C 4E 80 00 20 */ blr + +.global ReadShort__12CInputStreamFv +ReadShort__12CInputStreamFv: +/* 8033ECB0 0033BC10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033ECB4 0033BC14 7C 08 02 A6 */ mflr r0 +/* 8033ECB8 0033BC18 38 8D A9 32 */ addi r4, r13, lbl_805A94F2@sda21 +/* 8033ECBC 0033BC1C 38 A0 00 02 */ li r5, 2 +/* 8033ECC0 0033BC20 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033ECC4 0033BC24 48 00 02 91 */ bl Get__12CInputStreamFPvUl +/* 8033ECC8 0033BC28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ECCC 0033BC2C A0 6D A9 32 */ lhz r3, lbl_805A94F2@sda21(r13) +/* 8033ECD0 0033BC30 7C 08 03 A6 */ mtlr r0 +/* 8033ECD4 0033BC34 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ECD8 0033BC38 4E 80 00 20 */ blr + +.global ReadBool__12CInputStreamFv +ReadBool__12CInputStreamFv: +/* 8033ECDC 0033BC3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033ECE0 0033BC40 7C 08 02 A6 */ mflr r0 +/* 8033ECE4 0033BC44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033ECE8 0033BC48 48 00 00 25 */ bl ReadChar__12CInputStreamFv +/* 8033ECEC 0033BC4C 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8033ECF0 0033BC50 7C 03 00 D0 */ neg r0, r3 +/* 8033ECF4 0033BC54 7C 00 1B 78 */ or r0, r0, r3 +/* 8033ECF8 0033BC58 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033ECFC 0033BC5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ED00 0033BC60 7C 08 03 A6 */ mtlr r0 +/* 8033ED04 0033BC64 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ED08 0033BC68 4E 80 00 20 */ blr + +.global ReadChar__12CInputStreamFv +ReadChar__12CInputStreamFv: +/* 8033ED0C 0033BC6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033ED10 0033BC70 7C 08 02 A6 */ mflr r0 +/* 8033ED14 0033BC74 38 8D A9 30 */ addi r4, r13, lbl_805A94F0@sda21 +/* 8033ED18 0033BC78 38 A0 00 01 */ li r5, 1 +/* 8033ED1C 0033BC7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033ED20 0033BC80 48 00 02 35 */ bl Get__12CInputStreamFPvUl +/* 8033ED24 0033BC84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ED28 0033BC88 88 6D A9 30 */ lbz r3, lbl_805A94F0@sda21(r13) +/* 8033ED2C 0033BC8C 7C 08 03 A6 */ mtlr r0 +/* 8033ED30 0033BC90 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ED34 0033BC94 4E 80 00 20 */ blr + +.global ReadBits__12CInputStreamFi +ReadBits__12CInputStreamFi: +/* 8033ED38 0033BC98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033ED3C 0033BC9C 7C 08 02 A6 */ mflr r0 +/* 8033ED40 0033BCA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033ED44 0033BCA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033ED48 0033BCA8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033ED4C 0033BCAC 7C 7E 1B 78 */ mr r30, r3 +/* 8033ED50 0033BCB0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033ED54 0033BCB4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033ED58 0033BCB8 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8033ED5C 0033BCBC 7C 03 20 40 */ cmplw r3, r4 +/* 8033ED60 0033BCC0 41 80 00 48 */ blt lbl_8033EDA8 +/* 8033ED64 0033BCC4 28 04 00 20 */ cmplwi r4, 0x20 +/* 8033ED68 0033BCC8 20 C4 00 20 */ subfic r6, r4, 0x20 +/* 8033ED6C 0033BCCC 38 A0 FF FF */ li r5, -1 +/* 8033ED70 0033BCD0 41 82 00 10 */ beq lbl_8033ED80 +/* 8033ED74 0033BCD4 38 00 00 01 */ li r0, 1 +/* 8033ED78 0033BCD8 7C 03 20 30 */ slw r3, r0, r4 +/* 8033ED7C 0033BCDC 38 A3 FF FF */ addi r5, r3, -1 +lbl_8033ED80: +/* 8033ED80 0033BCE0 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8033ED84 0033BCE4 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8033ED88 0033BCE8 7C 04 00 50 */ subf r0, r4, r0 +/* 8033ED8C 0033BCEC 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033ED90 0033BCF0 7C 60 34 30 */ srw r0, r3, r6 +/* 8033ED94 0033BCF4 7C A3 00 38 */ and r3, r5, r0 +/* 8033ED98 0033BCF8 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8033ED9C 0033BCFC 7C 00 20 30 */ slw r0, r0, r4 +/* 8033EDA0 0033BD00 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8033EDA4 0033BD04 48 00 00 BC */ b lbl_8033EE60 +lbl_8033EDA8: +/* 8033EDA8 0033BD08 28 03 00 20 */ cmplwi r3, 0x20 +/* 8033EDAC 0033BD0C 7F E3 20 50 */ subf r31, r3, r4 +/* 8033EDB0 0033BD10 20 E3 00 20 */ subfic r7, r3, 0x20 +/* 8033EDB4 0033BD14 38 C0 FF FF */ li r6, -1 +/* 8033EDB8 0033BD18 41 82 00 10 */ beq lbl_8033EDC8 +/* 8033EDBC 0033BD1C 38 00 00 01 */ li r0, 1 +/* 8033EDC0 0033BD20 7C 03 18 30 */ slw r3, r0, r3 +/* 8033EDC4 0033BD24 38 C3 FF FF */ addi r6, r3, -1 +lbl_8033EDC8: +/* 8033EDC8 0033BD28 57 E4 07 7E */ clrlwi r4, r31, 0x1d +/* 8033EDCC 0033BD2C 80 BE 00 1C */ lwz r5, 0x1c(r30) +/* 8033EDD0 0033BD30 7C 64 00 D0 */ neg r3, r4 +/* 8033EDD4 0033BD34 38 00 00 00 */ li r0, 0 +/* 8033EDD8 0033BD38 7C 63 23 78 */ or r3, r3, r4 +/* 8033EDDC 0033BD3C 7C A5 3C 30 */ srw r5, r5, r7 +/* 8033EDE0 0033BD40 57 E4 E8 FE */ srwi r4, r31, 3 +/* 8033EDE4 0033BD44 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033EDE8 0033BD48 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8033EDEC 0033BD4C 7C C6 28 38 */ and r6, r6, r5 +/* 8033EDF0 0033BD50 7F A4 02 14 */ add r29, r4, r0 +/* 8033EDF4 0033BD54 7F C3 F3 78 */ mr r3, r30 +/* 8033EDF8 0033BD58 7F A5 EB 78 */ mr r5, r29 +/* 8033EDFC 0033BD5C 7C DC F8 30 */ slw r28, r6, r31 +/* 8033EE00 0033BD60 38 9E 00 1C */ addi r4, r30, 0x1c +/* 8033EE04 0033BD64 48 00 01 51 */ bl Get__12CInputStreamFPvUl +/* 8033EE08 0033BD68 28 1F 00 20 */ cmplwi r31, 0x20 +/* 8033EE0C 0033BD6C 20 DF 00 20 */ subfic r6, r31, 0x20 +/* 8033EE10 0033BD70 38 A0 FF FF */ li r5, -1 +/* 8033EE14 0033BD74 41 82 00 10 */ beq lbl_8033EE24 +/* 8033EE18 0033BD78 38 00 00 01 */ li r0, 1 +/* 8033EE1C 0033BD7C 7C 03 F8 30 */ slw r3, r0, r31 +/* 8033EE20 0033BD80 38 A3 FF FF */ addi r5, r3, -1 +lbl_8033EE24: +/* 8033EE24 0033BD84 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 8033EE28 0033BD88 57 A0 18 38 */ slwi r0, r29, 3 +/* 8033EE2C 0033BD8C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 8033EE30 0033BD90 7C 84 34 30 */ srw r4, r4, r6 +/* 8033EE34 0033BD94 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033EE38 0033BD98 7C A0 20 38 */ and r0, r5, r4 +/* 8033EE3C 0033BD9C 7C 03 18 30 */ slw r3, r0, r3 +/* 8033EE40 0033BDA0 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8033EE44 0033BDA4 7F 9C 1B 78 */ or r28, r28, r3 +/* 8033EE48 0033BDA8 7F 83 E3 78 */ mr r3, r28 +/* 8033EE4C 0033BDAC 7C 1F 00 50 */ subf r0, r31, r0 +/* 8033EE50 0033BDB0 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033EE54 0033BDB4 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8033EE58 0033BDB8 7C 00 F8 30 */ slw r0, r0, r31 +/* 8033EE5C 0033BDBC 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_8033EE60: +/* 8033EE60 0033BDC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033EE64 0033BDC4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033EE68 0033BDC8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033EE6C 0033BDCC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033EE70 0033BDD0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033EE74 0033BDD4 7C 08 03 A6 */ mtlr r0 +/* 8033EE78 0033BDD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033EE7C 0033BDDC 4E 80 00 20 */ blr + +.global ReadBytes__12CInputStreamFPvUl +ReadBytes__12CInputStreamFPvUl: +/* 8033EE80 0033BDE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033EE84 0033BDE4 7C 08 02 A6 */ mflr r0 +/* 8033EE88 0033BDE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033EE8C 0033BDEC BF 41 00 08 */ stmw r26, 8(r1) +/* 8033EE90 0033BDF0 7C BC 2B 79 */ or. r28, r5, r5 +/* 8033EE94 0033BDF4 7C 7A 1B 78 */ mr r26, r3 +/* 8033EE98 0033BDF8 7C 9B 23 78 */ mr r27, r4 +/* 8033EE9C 0033BDFC 40 82 00 0C */ bne lbl_8033EEA8 +/* 8033EEA0 0033BE00 38 60 00 00 */ li r3, 0 +/* 8033EEA4 0033BE04 48 00 00 9C */ b lbl_8033EF40 +lbl_8033EEA8: +/* 8033EEA8 0033BE08 80 9A 00 04 */ lwz r4, 4(r26) +/* 8033EEAC 0033BE0C 80 1A 00 08 */ lwz r0, 8(r26) +/* 8033EEB0 0033BE10 7C 04 00 40 */ cmplw r4, r0 +/* 8033EEB4 0033BE14 40 82 00 08 */ bne lbl_8033EEBC +/* 8033EEB8 0033BE18 48 00 01 79 */ bl GrabAnotherBlock__12CInputStreamFv +lbl_8033EEBC: +/* 8033EEBC 0033BE1C 7F 9E E3 78 */ mr r30, r28 +/* 8033EEC0 0033BE20 3B A0 00 00 */ li r29, 0 +/* 8033EEC4 0033BE24 48 00 00 64 */ b lbl_8033EF28 +lbl_8033EEC8: +/* 8033EEC8 0033BE28 80 9A 00 04 */ lwz r4, 4(r26) +/* 8033EECC 0033BE2C 80 1A 00 08 */ lwz r0, 8(r26) +/* 8033EED0 0033BE30 7C 04 00 51 */ subf. r0, r4, r0 +/* 8033EED4 0033BE34 40 82 00 1C */ bne lbl_8033EEF0 +/* 8033EED8 0033BE38 7F 43 D3 78 */ mr r3, r26 +/* 8033EEDC 0033BE3C 48 00 01 75 */ bl InternalReadNext__12CInputStreamFv +/* 8033EEE0 0033BE40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033EEE4 0033BE44 40 82 00 44 */ bne lbl_8033EF28 +/* 8033EEE8 0033BE48 7F A3 EB 78 */ mr r3, r29 +/* 8033EEEC 0033BE4C 48 00 00 54 */ b lbl_8033EF40 +lbl_8033EEF0: +/* 8033EEF0 0033BE50 7C 1E 00 40 */ cmplw r30, r0 +/* 8033EEF4 0033BE54 7C 1F 03 78 */ mr r31, r0 +/* 8033EEF8 0033BE58 40 80 00 08 */ bge lbl_8033EF00 +/* 8033EEFC 0033BE5C 7F DF F3 78 */ mr r31, r30 +lbl_8033EF00: +/* 8033EF00 0033BE60 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 8033EF04 0033BE64 7F E5 FB 78 */ mr r5, r31 +/* 8033EF08 0033BE68 7C 7B EA 14 */ add r3, r27, r29 +/* 8033EF0C 0033BE6C 7C 80 22 14 */ add r4, r0, r4 +/* 8033EF10 0033BE70 4B CC 45 81 */ bl memcpy +/* 8033EF14 0033BE74 80 1A 00 04 */ lwz r0, 4(r26) +/* 8033EF18 0033BE78 7F BD FA 14 */ add r29, r29, r31 +/* 8033EF1C 0033BE7C 7F DF F0 50 */ subf r30, r31, r30 +/* 8033EF20 0033BE80 7C 00 FA 14 */ add r0, r0, r31 +/* 8033EF24 0033BE84 90 1A 00 04 */ stw r0, 4(r26) +lbl_8033EF28: +/* 8033EF28 0033BE88 7C 1D E0 40 */ cmplw r29, r28 +/* 8033EF2C 0033BE8C 41 80 FF 9C */ blt lbl_8033EEC8 +/* 8033EF30 0033BE90 80 1A 00 18 */ lwz r0, 0x18(r26) +/* 8033EF34 0033BE94 7F A3 EB 78 */ mr r3, r29 +/* 8033EF38 0033BE98 7C 00 EA 14 */ add r0, r0, r29 +/* 8033EF3C 0033BE9C 90 1A 00 18 */ stw r0, 0x18(r26) +lbl_8033EF40: +/* 8033EF40 0033BEA0 BB 41 00 08 */ lmw r26, 8(r1) +/* 8033EF44 0033BEA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033EF48 0033BEA8 7C 08 03 A6 */ mtlr r0 +/* 8033EF4C 0033BEAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033EF50 0033BEB0 4E 80 00 20 */ blr + +.global Get__12CInputStreamFPvUl +Get__12CInputStreamFPvUl: +/* 8033EF54 0033BEB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033EF58 0033BEB8 7C 08 02 A6 */ mflr r0 +/* 8033EF5C 0033BEBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033EF60 0033BEC0 38 00 00 00 */ li r0, 0 +/* 8033EF64 0033BEC4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8033EF68 0033BEC8 7C 7B 1B 78 */ mr r27, r3 +/* 8033EF6C 0033BECC 7C 9C 23 78 */ mr r28, r4 +/* 8033EF70 0033BED0 3B A0 00 00 */ li r29, 0 +/* 8033EF74 0033BED4 7C BE 2B 78 */ mr r30, r5 +/* 8033EF78 0033BED8 90 03 00 20 */ stw r0, 0x20(r3) +/* 8033EF7C 0033BEDC 48 00 00 8C */ b lbl_8033F008 +lbl_8033EF80: +/* 8033EF80 0033BEE0 80 9B 00 04 */ lwz r4, 4(r27) +/* 8033EF84 0033BEE4 80 1B 00 08 */ lwz r0, 8(r27) +/* 8033EF88 0033BEE8 7C 04 00 50 */ subf r0, r4, r0 +/* 8033EF8C 0033BEEC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033EF90 0033BEF0 7C 1F 03 78 */ mr r31, r0 +/* 8033EF94 0033BEF4 40 80 00 08 */ bge lbl_8033EF9C +/* 8033EF98 0033BEF8 7F DF F3 78 */ mr r31, r30 +lbl_8033EF9C: +/* 8033EF9C 0033BEFC 28 1F 00 00 */ cmplwi r31, 0 +/* 8033EFA0 0033BF00 41 82 00 30 */ beq lbl_8033EFD0 +/* 8033EFA4 0033BF04 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8033EFA8 0033BF08 7F E5 FB 78 */ mr r5, r31 +/* 8033EFAC 0033BF0C 7C 7C EA 14 */ add r3, r28, r29 +/* 8033EFB0 0033BF10 7C 80 22 14 */ add r4, r0, r4 +/* 8033EFB4 0033BF14 4B CC 44 DD */ bl memcpy +/* 8033EFB8 0033BF18 80 1B 00 04 */ lwz r0, 4(r27) +/* 8033EFBC 0033BF1C 7F DF F0 50 */ subf r30, r31, r30 +/* 8033EFC0 0033BF20 7F BD FA 14 */ add r29, r29, r31 +/* 8033EFC4 0033BF24 7C 00 FA 14 */ add r0, r0, r31 +/* 8033EFC8 0033BF28 90 1B 00 04 */ stw r0, 4(r27) +/* 8033EFCC 0033BF2C 48 00 00 3C */ b lbl_8033F008 +lbl_8033EFD0: +/* 8033EFD0 0033BF30 28 1E 01 00 */ cmplwi r30, 0x100 +/* 8033EFD4 0033BF34 40 81 00 2C */ ble lbl_8033F000 +/* 8033EFD8 0033BF38 7F 63 DB 78 */ mr r3, r27 +/* 8033EFDC 0033BF3C 7F C5 F3 78 */ mr r5, r30 +/* 8033EFE0 0033BF40 81 9B 00 00 */ lwz r12, 0(r27) +/* 8033EFE4 0033BF44 7C 9C EA 14 */ add r4, r28, r29 +/* 8033EFE8 0033BF48 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033EFEC 0033BF4C 7D 89 03 A6 */ mtctr r12 +/* 8033EFF0 0033BF50 4E 80 04 21 */ bctrl +/* 8033EFF4 0033BF54 7F C3 F0 50 */ subf r30, r3, r30 +/* 8033EFF8 0033BF58 7F BD 1A 14 */ add r29, r29, r3 +/* 8033EFFC 0033BF5C 48 00 00 0C */ b lbl_8033F008 +lbl_8033F000: +/* 8033F000 0033BF60 7F 63 DB 78 */ mr r3, r27 +/* 8033F004 0033BF64 48 00 00 2D */ bl GrabAnotherBlock__12CInputStreamFv +lbl_8033F008: +/* 8033F008 0033BF68 28 1E 00 00 */ cmplwi r30, 0 +/* 8033F00C 0033BF6C 40 82 FF 74 */ bne lbl_8033EF80 +/* 8033F010 0033BF70 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 8033F014 0033BF74 7C 00 EA 14 */ add r0, r0, r29 +/* 8033F018 0033BF78 90 1B 00 18 */ stw r0, 0x18(r27) +/* 8033F01C 0033BF7C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8033F020 0033BF80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F024 0033BF84 7C 08 03 A6 */ mtlr r0 +/* 8033F028 0033BF88 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F02C 0033BF8C 4E 80 00 20 */ blr + +.global GrabAnotherBlock__12CInputStreamFv +GrabAnotherBlock__12CInputStreamFv: +/* 8033F030 0033BF90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F034 0033BF94 7C 08 02 A6 */ mflr r0 +/* 8033F038 0033BF98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F03C 0033BF9C 48 00 00 15 */ bl InternalReadNext__12CInputStreamFv +/* 8033F040 0033BFA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F044 0033BFA4 7C 08 03 A6 */ mtlr r0 +/* 8033F048 0033BFA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F04C 0033BFAC 4E 80 00 20 */ blr + +.global InternalReadNext__12CInputStreamFv +InternalReadNext__12CInputStreamFv: +/* 8033F050 0033BFB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F054 0033BFB4 7C 08 02 A6 */ mflr r0 +/* 8033F058 0033BFB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F05C 0033BFBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F060 0033BFC0 7C 7F 1B 78 */ mr r31, r3 +/* 8033F064 0033BFC4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033F068 0033BFC8 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8033F06C 0033BFCC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033F070 0033BFD0 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8033F074 0033BFD4 7D 89 03 A6 */ mtctr r12 +/* 8033F078 0033BFD8 4E 80 04 21 */ bctrl +/* 8033F07C 0033BFDC 90 7F 00 08 */ stw r3, 8(r31) +/* 8033F080 0033BFE0 38 00 00 00 */ li r0, 0 +/* 8033F084 0033BFE4 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F088 0033BFE8 80 7F 00 08 */ lwz r3, 8(r31) +/* 8033F08C 0033BFEC 7C 03 00 D0 */ neg r0, r3 +/* 8033F090 0033BFF0 7C 00 1B 78 */ or r0, r0, r3 +/* 8033F094 0033BFF4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033F098 0033BFF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F09C 0033BFFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F0A0 0033C000 7C 08 03 A6 */ mtlr r0 +/* 8033F0A4 0033C004 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F0A8 0033C008 4E 80 00 20 */ blr + +.global __dt__12CInputStreamFv +__dt__12CInputStreamFv: +/* 8033F0AC 0033C00C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F0B0 0033C010 7C 08 02 A6 */ mflr r0 +/* 8033F0B4 0033C014 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F0B8 0033C018 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F0BC 0033C01C 7C 9F 23 78 */ mr r31, r4 +/* 8033F0C0 0033C020 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F0C4 0033C024 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F0C8 0033C028 41 82 00 34 */ beq lbl_8033F0FC +/* 8033F0CC 0033C02C 3C 60 80 3F */ lis r3, lbl_803EE388@ha +/* 8033F0D0 0033C030 38 03 E3 88 */ addi r0, r3, lbl_803EE388@l +/* 8033F0D4 0033C034 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F0D8 0033C038 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 8033F0DC 0033C03C 28 00 00 00 */ cmplwi r0, 0 +/* 8033F0E0 0033C040 41 82 00 0C */ beq lbl_8033F0EC +/* 8033F0E4 0033C044 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8033F0E8 0033C048 4B FD 68 49 */ bl Free__7CMemoryFPCv +lbl_8033F0EC: +/* 8033F0EC 0033C04C 7F E0 07 35 */ extsh. r0, r31 +/* 8033F0F0 0033C050 40 81 00 0C */ ble lbl_8033F0FC +/* 8033F0F4 0033C054 7F C3 F3 78 */ mr r3, r30 +/* 8033F0F8 0033C058 4B FD 68 39 */ bl Free__7CMemoryFPCv +lbl_8033F0FC: +/* 8033F0FC 0033C05C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F100 0033C060 7F C3 F3 78 */ mr r3, r30 +/* 8033F104 0033C064 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F108 0033C068 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F10C 0033C06C 7C 08 03 A6 */ mtlr r0 +/* 8033F110 0033C070 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F114 0033C074 4E 80 00 20 */ blr + +.global __ct__12CInputStreamFPCvib +__ct__12CInputStreamFPCvib: +/* 8033F118 0033C078 3C E0 80 3F */ lis r7, lbl_803EE388@ha +/* 8033F11C 0033C07C 38 00 00 00 */ li r0, 0 +/* 8033F120 0033C080 38 E7 E3 88 */ addi r7, r7, lbl_803EE388@l +/* 8033F124 0033C084 90 E3 00 00 */ stw r7, 0(r3) +/* 8033F128 0033C088 90 03 00 04 */ stw r0, 4(r3) +/* 8033F12C 0033C08C 90 A3 00 08 */ stw r5, 8(r3) +/* 8033F130 0033C090 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8033F134 0033C094 90 83 00 10 */ stw r4, 0x10(r3) +/* 8033F138 0033C098 98 C3 00 14 */ stb r6, 0x14(r3) +/* 8033F13C 0033C09C 90 03 00 18 */ stw r0, 0x18(r3) +/* 8033F140 0033C0A0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8033F144 0033C0A4 90 03 00 20 */ stw r0, 0x20(r3) +/* 8033F148 0033C0A8 4E 80 00 20 */ blr + +.global __ct__12CInputStreamFi +__ct__12CInputStreamFi: +/* 8033F14C 0033C0AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F150 0033C0B0 7C 08 02 A6 */ mflr r0 +/* 8033F154 0033C0B4 3C C0 80 3F */ lis r6, lbl_803EE388@ha +/* 8033F158 0033C0B8 3C A0 80 3D */ lis r5, lbl_803D7A68@ha +/* 8033F15C 0033C0BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F160 0033C0C0 38 06 E3 88 */ addi r0, r6, lbl_803EE388@l +/* 8033F164 0033C0C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F168 0033C0C8 7C 7F 1B 78 */ mr r31, r3 +/* 8033F16C 0033C0CC 7C 83 23 78 */ mr r3, r4 +/* 8033F170 0033C0D0 38 85 7A 68 */ addi r4, r5, lbl_803D7A68@l +/* 8033F174 0033C0D4 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F178 0033C0D8 38 00 00 00 */ li r0, 0 +/* 8033F17C 0033C0DC 38 A0 00 00 */ li r5, 0 +/* 8033F180 0033C0E0 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F184 0033C0E4 90 1F 00 08 */ stw r0, 8(r31) +/* 8033F188 0033C0E8 90 7F 00 0C */ stw r3, 0xc(r31) +/* 8033F18C 0033C0EC 4B FD 66 8D */ bl __nwa__FUlPCcPCc +/* 8033F190 0033C0F0 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8033F194 0033C0F4 38 80 00 01 */ li r4, 1 +/* 8033F198 0033C0F8 38 00 00 00 */ li r0, 0 +/* 8033F19C 0033C0FC 7F E3 FB 78 */ mr r3, r31 +/* 8033F1A0 0033C100 98 9F 00 14 */ stb r4, 0x14(r31) +/* 8033F1A4 0033C104 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8033F1A8 0033C108 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8033F1AC 0033C10C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8033F1B0 0033C110 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F1B4 0033C114 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F1B8 0033C118 7C 08 03 A6 */ mtlr r0 +/* 8033F1BC 0033C11C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F1C0 0033C120 4E 80 00 20 */ blr + +.global Read__15CMemoryInStreamFPvUl +Read__15CMemoryInStreamFPvUl: +/* 8033F1C4 0033C124 38 60 00 00 */ li r3, 0 +/* 8033F1C8 0033C128 4E 80 00 20 */ blr + +.global __ct__15CMemoryInStreamFPCvUl +__ct__15CMemoryInStreamFPCvUl: +/* 8033F1CC 0033C12C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F1D0 0033C130 7C 08 02 A6 */ mflr r0 +/* 8033F1D4 0033C134 38 C0 00 00 */ li r6, 0 +/* 8033F1D8 0033C138 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F1DC 0033C13C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F1E0 0033C140 7C 7F 1B 78 */ mr r31, r3 +/* 8033F1E4 0033C144 4B FF FF 35 */ bl __ct__12CInputStreamFPCvib +/* 8033F1E8 0033C148 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8033F1EC 0033C14C 7F E3 FB 78 */ mr r3, r31 +/* 8033F1F0 0033C150 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8033F1F4 0033C154 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F1F8 0033C158 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F1FC 0033C15C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F200 0033C160 7C 08 03 A6 */ mtlr r0 +/* 8033F204 0033C164 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F208 0033C168 4E 80 00 20 */ blr + +.global __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +__ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip: +/* 8033F20C 0033C16C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F210 0033C170 7C 08 02 A6 */ mflr r0 +/* 8033F214 0033C174 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F218 0033C178 7C C0 00 34 */ cntlzw r0, r6 +/* 8033F21C 0033C17C 54 06 D9 7E */ srwi r6, r0, 5 +/* 8033F220 0033C180 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F224 0033C184 7C 7F 1B 78 */ mr r31, r3 +/* 8033F228 0033C188 4B FF FE F1 */ bl __ct__12CInputStreamFPCvib +/* 8033F22C 0033C18C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8033F230 0033C190 7F E3 FB 78 */ mr r3, r31 +/* 8033F234 0033C194 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8033F238 0033C198 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F23C 0033C19C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F240 0033C1A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F244 0033C1A4 7C 08 03 A6 */ mtlr r0 +/* 8033F248 0033C1A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F24C 0033C1AC 4E 80 00 20 */ blr + +.global Write__16CMemoryStreamOutFPCvUl +Write__16CMemoryStreamOutFPCvUl: +/* 8033F250 0033C1B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F254 0033C1B4 7C 08 02 A6 */ mflr r0 +/* 8033F258 0033C1B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F25C 0033C1BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F260 0033C1C0 7C BF 2B 78 */ mr r31, r5 +/* 8033F264 0033C1C4 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F268 0033C1C8 7C 7E 1B 78 */ mr r30, r3 +/* 8033F26C 0033C1CC 80 63 00 84 */ lwz r3, 0x84(r3) +/* 8033F270 0033C1D0 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 8033F274 0033C1D4 7C 03 00 50 */ subf r0, r3, r0 +/* 8033F278 0033C1D8 7C 00 28 40 */ cmplw r0, r5 +/* 8033F27C 0033C1DC 40 80 00 08 */ bge lbl_8033F284 +/* 8033F280 0033C1E0 7C 1F 03 78 */ mr r31, r0 +lbl_8033F284: +/* 8033F284 0033C1E4 28 1F 00 00 */ cmplwi r31, 0 +/* 8033F288 0033C1E8 41 82 00 20 */ beq lbl_8033F2A8 +/* 8033F28C 0033C1EC 80 1E 00 7C */ lwz r0, 0x7c(r30) +/* 8033F290 0033C1F0 7F E5 FB 78 */ mr r5, r31 +/* 8033F294 0033C1F4 7C 60 1A 14 */ add r3, r0, r3 +/* 8033F298 0033C1F8 4B CC 41 F9 */ bl memcpy +/* 8033F29C 0033C1FC 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 8033F2A0 0033C200 7C 00 FA 14 */ add r0, r0, r31 +/* 8033F2A4 0033C204 90 1E 00 84 */ stw r0, 0x84(r30) +lbl_8033F2A8: +/* 8033F2A8 0033C208 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F2AC 0033C20C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F2B0 0033C210 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F2B4 0033C214 7C 08 03 A6 */ mtlr r0 +/* 8033F2B8 0033C218 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F2BC 0033C21C 4E 80 00 20 */ blr + +.global __dt__16CMemoryStreamOutFv +__dt__16CMemoryStreamOutFv: +/* 8033F2C0 0033C220 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F2C4 0033C224 7C 08 02 A6 */ mflr r0 +/* 8033F2C8 0033C228 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F2CC 0033C22C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F2D0 0033C230 7C 9F 23 78 */ mr r31, r4 +/* 8033F2D4 0033C234 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F2D8 0033C238 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F2DC 0033C23C 41 82 00 44 */ beq lbl_8033F320 +/* 8033F2E0 0033C240 3C 80 80 3F */ lis r4, lbl_803EE3A8@ha +/* 8033F2E4 0033C244 38 04 E3 A8 */ addi r0, r4, lbl_803EE3A8@l +/* 8033F2E8 0033C248 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F2EC 0033C24C 48 00 02 89 */ bl Flush__13COutputStreamFv +/* 8033F2F0 0033C250 88 1E 00 88 */ lbz r0, 0x88(r30) +/* 8033F2F4 0033C254 28 00 00 00 */ cmplwi r0, 0 +/* 8033F2F8 0033C258 41 82 00 0C */ beq lbl_8033F304 +/* 8033F2FC 0033C25C 80 7E 00 7C */ lwz r3, 0x7c(r30) +/* 8033F300 0033C260 4B FD 66 31 */ bl Free__7CMemoryFPCv +lbl_8033F304: +/* 8033F304 0033C264 7F C3 F3 78 */ mr r3, r30 +/* 8033F308 0033C268 38 80 00 00 */ li r4, 0 +/* 8033F30C 0033C26C 48 00 03 85 */ bl __dt__13COutputStreamFv +/* 8033F310 0033C270 7F E0 07 35 */ extsh. r0, r31 +/* 8033F314 0033C274 40 81 00 0C */ ble lbl_8033F320 +/* 8033F318 0033C278 7F C3 F3 78 */ mr r3, r30 +/* 8033F31C 0033C27C 4B FD 66 15 */ bl Free__7CMemoryFPCv +lbl_8033F320: +/* 8033F320 0033C280 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F324 0033C284 7F C3 F3 78 */ mr r3, r30 +/* 8033F328 0033C288 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F32C 0033C28C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F330 0033C290 7C 08 03 A6 */ mtlr r0 +/* 8033F334 0033C294 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F338 0033C298 4E 80 00 20 */ blr + +.global __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +__ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi: +/* 8033F33C 0033C29C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F340 0033C2A0 7C 08 02 A6 */ mflr r0 +/* 8033F344 0033C2A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F348 0033C2A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F34C 0033C2AC 7C DF 33 78 */ mr r31, r6 +/* 8033F350 0033C2B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F354 0033C2B4 7C BE 2B 78 */ mr r30, r5 +/* 8033F358 0033C2B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F35C 0033C2BC 7C 9D 23 78 */ mr r29, r4 +/* 8033F360 0033C2C0 7C E4 3B 78 */ mr r4, r7 +/* 8033F364 0033C2C4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033F368 0033C2C8 7C 7C 1B 78 */ mr r28, r3 +/* 8033F36C 0033C2CC 48 00 03 91 */ bl __ct__13COutputStreamFi +/* 8033F370 0033C2D0 3C 60 80 3F */ lis r3, lbl_803EE3A8@ha +/* 8033F374 0033C2D4 7F E0 00 34 */ cntlzw r0, r31 +/* 8033F378 0033C2D8 38 63 E3 A8 */ addi r3, r3, lbl_803EE3A8@l +/* 8033F37C 0033C2DC 38 80 00 00 */ li r4, 0 +/* 8033F380 0033C2E0 90 7C 00 00 */ stw r3, 0(r28) +/* 8033F384 0033C2E4 54 00 D9 7E */ srwi r0, r0, 5 +/* 8033F388 0033C2E8 7F 83 E3 78 */ mr r3, r28 +/* 8033F38C 0033C2EC 93 BC 00 7C */ stw r29, 0x7c(r28) +/* 8033F390 0033C2F0 93 DC 00 80 */ stw r30, 0x80(r28) +/* 8033F394 0033C2F4 90 9C 00 84 */ stw r4, 0x84(r28) +/* 8033F398 0033C2F8 98 1C 00 88 */ stb r0, 0x88(r28) +/* 8033F39C 0033C2FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F3A0 0033C300 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F3A4 0033C304 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F3A8 0033C308 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033F3AC 0033C30C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F3B0 0033C310 7C 08 03 A6 */ mtlr r0 +/* 8033F3B4 0033C314 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F3B8 0033C318 4E 80 00 20 */ blr + +.global WriteBits__13COutputStreamFii +WriteBits__13COutputStreamFii: +/* 8033F3BC 0033C31C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F3C0 0033C320 7C 08 02 A6 */ mflr r0 +/* 8033F3C4 0033C324 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F3C8 0033C328 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F3CC 0033C32C 7C 9F 23 78 */ mr r31, r4 +/* 8033F3D0 0033C330 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F3D4 0033C334 7C 7E 1B 78 */ mr r30, r3 +/* 8033F3D8 0033C338 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F3DC 0033C33C 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033F3E0 0033C340 7C 03 28 40 */ cmplw r3, r5 +/* 8033F3E4 0033C344 41 80 00 44 */ blt lbl_8033F428 +/* 8033F3E8 0033C348 28 05 00 20 */ cmplwi r5, 0x20 +/* 8033F3EC 0033C34C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8033F3F0 0033C350 7C C5 18 50 */ subf r6, r5, r3 +/* 8033F3F4 0033C354 38 00 FF FF */ li r0, -1 +/* 8033F3F8 0033C358 41 82 00 10 */ beq lbl_8033F408 +/* 8033F3FC 0033C35C 38 00 00 01 */ li r0, 1 +/* 8033F400 0033C360 7C 03 28 30 */ slw r3, r0, r5 +/* 8033F404 0033C364 38 03 FF FF */ addi r0, r3, -1 +lbl_8033F408: +/* 8033F408 0033C368 7F E0 00 38 */ and r0, r31, r0 +/* 8033F40C 0033C36C 7C 00 30 30 */ slw r0, r0, r6 +/* 8033F410 0033C370 7C 80 03 78 */ or r0, r4, r0 +/* 8033F414 0033C374 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8033F418 0033C378 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8033F41C 0033C37C 7C 05 00 50 */ subf r0, r5, r0 +/* 8033F420 0033C380 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8033F424 0033C384 48 00 00 78 */ b lbl_8033F49C +lbl_8033F428: +/* 8033F428 0033C388 28 03 00 20 */ cmplwi r3, 0x20 +/* 8033F42C 0033C38C 7F A3 28 50 */ subf r29, r3, r5 +/* 8033F430 0033C390 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8033F434 0033C394 7F E5 EC 30 */ srw r5, r31, r29 +/* 8033F438 0033C398 38 00 FF FF */ li r0, -1 +/* 8033F43C 0033C39C 41 82 00 10 */ beq lbl_8033F44C +/* 8033F440 0033C3A0 38 00 00 01 */ li r0, 1 +/* 8033F444 0033C3A4 7C 03 18 30 */ slw r3, r0, r3 +/* 8033F448 0033C3A8 38 03 FF FF */ addi r0, r3, -1 +lbl_8033F44C: +/* 8033F44C 0033C3AC 7C A3 00 38 */ and r3, r5, r0 +/* 8033F450 0033C3B0 38 00 00 00 */ li r0, 0 +/* 8033F454 0033C3B4 7C 84 1B 78 */ or r4, r4, r3 +/* 8033F458 0033C3B8 7F C3 F3 78 */ mr r3, r30 +/* 8033F45C 0033C3BC 90 9E 00 14 */ stw r4, 0x14(r30) +/* 8033F460 0033C3C0 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8033F464 0033C3C4 48 00 00 55 */ bl FlushShiftRegister__13COutputStreamFv +/* 8033F468 0033C3C8 28 1D 00 20 */ cmplwi r29, 0x20 +/* 8033F46C 0033C3CC 20 9D 00 20 */ subfic r4, r29, 0x20 +/* 8033F470 0033C3D0 38 00 FF FF */ li r0, -1 +/* 8033F474 0033C3D4 41 82 00 10 */ beq lbl_8033F484 +/* 8033F478 0033C3D8 38 00 00 01 */ li r0, 1 +/* 8033F47C 0033C3DC 7C 03 E8 30 */ slw r3, r0, r29 +/* 8033F480 0033C3E0 38 03 FF FF */ addi r0, r3, -1 +lbl_8033F484: +/* 8033F484 0033C3E4 7F E0 00 38 */ and r0, r31, r0 +/* 8033F488 0033C3E8 7C 00 20 30 */ slw r0, r0, r4 +/* 8033F48C 0033C3EC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8033F490 0033C3F0 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8033F494 0033C3F4 7C 1D 00 50 */ subf r0, r29, r0 +/* 8033F498 0033C3F8 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_8033F49C: +/* 8033F49C 0033C3FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F4A0 0033C400 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F4A4 0033C404 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F4A8 0033C408 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F4AC 0033C40C 7C 08 03 A6 */ mtlr r0 +/* 8033F4B0 0033C410 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F4B4 0033C414 4E 80 00 20 */ blr + +.global FlushShiftRegister__13COutputStreamFv +FlushShiftRegister__13COutputStreamFv: +/* 8033F4B8 0033C418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F4BC 0033C41C 7C 08 02 A6 */ mflr r0 +/* 8033F4C0 0033C420 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F4C4 0033C424 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F4C8 0033C428 7C 7F 1B 78 */ mr r31, r3 +/* 8033F4CC 0033C42C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8033F4D0 0033C430 28 00 00 20 */ cmplwi r0, 0x20 +/* 8033F4D4 0033C434 40 80 00 3C */ bge lbl_8033F510 +/* 8033F4D8 0033C438 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8033F4DC 0033C43C 38 9F 00 14 */ addi r4, r31, 0x14 +/* 8033F4E0 0033C440 20 C0 00 20 */ subfic r6, r0, 0x20 +/* 8033F4E4 0033C444 54 C5 07 7E */ clrlwi r5, r6, 0x1d +/* 8033F4E8 0033C448 7C 05 00 D0 */ neg r0, r5 +/* 8033F4EC 0033C44C 54 C6 E8 FE */ srwi r6, r6, 3 +/* 8033F4F0 0033C450 7C 00 2B 78 */ or r0, r0, r5 +/* 8033F4F4 0033C454 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033F4F8 0033C458 7C A6 02 14 */ add r5, r6, r0 +/* 8033F4FC 0033C45C 48 00 00 AD */ bl DoPut__13COutputStreamFPCvUl +/* 8033F500 0033C460 38 60 00 00 */ li r3, 0 +/* 8033F504 0033C464 38 00 00 20 */ li r0, 0x20 +/* 8033F508 0033C468 90 7F 00 14 */ stw r3, 0x14(r31) +/* 8033F50C 0033C46C 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_8033F510: +/* 8033F510 0033C470 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F514 0033C474 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F518 0033C478 7C 08 03 A6 */ mtlr r0 +/* 8033F51C 0033C47C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F520 0033C480 4E 80 00 20 */ blr + +.global DoFlush__13COutputStreamFv +DoFlush__13COutputStreamFv: +/* 8033F524 0033C484 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F528 0033C488 7C 08 02 A6 */ mflr r0 +/* 8033F52C 0033C48C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F530 0033C490 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F534 0033C494 7C 7F 1B 78 */ mr r31, r3 +/* 8033F538 0033C498 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033F53C 0033C49C 28 05 00 00 */ cmplwi r5, 0 +/* 8033F540 0033C4A0 41 82 00 20 */ beq lbl_8033F560 +/* 8033F544 0033C4A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033F548 0033C4A8 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8033F54C 0033C4AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033F550 0033C4B0 7D 89 03 A6 */ mtctr r12 +/* 8033F554 0033C4B4 4E 80 04 21 */ bctrl +/* 8033F558 0033C4B8 38 00 00 00 */ li r0, 0 +/* 8033F55C 0033C4BC 90 1F 00 04 */ stw r0, 4(r31) +lbl_8033F560: +/* 8033F560 0033C4C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F564 0033C4C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F568 0033C4C8 7C 08 03 A6 */ mtlr r0 +/* 8033F56C 0033C4CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F570 0033C4D0 4E 80 00 20 */ blr + +.global Flush__13COutputStreamFv +Flush__13COutputStreamFv: +/* 8033F574 0033C4D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F578 0033C4D8 7C 08 02 A6 */ mflr r0 +/* 8033F57C 0033C4DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F580 0033C4E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F584 0033C4E4 7C 7F 1B 78 */ mr r31, r3 +/* 8033F588 0033C4E8 4B FF FF 31 */ bl FlushShiftRegister__13COutputStreamFv +/* 8033F58C 0033C4EC 7F E3 FB 78 */ mr r3, r31 +/* 8033F590 0033C4F0 4B FF FF 95 */ bl DoFlush__13COutputStreamFv +/* 8033F594 0033C4F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F598 0033C4F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F59C 0033C4FC 7C 08 03 A6 */ mtlr r0 +/* 8033F5A0 0033C500 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F5A4 0033C504 4E 80 00 20 */ blr + +.global DoPut__13COutputStreamFPCvUl +DoPut__13COutputStreamFPCvUl: +/* 8033F5A8 0033C508 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F5AC 0033C50C 7C 08 02 A6 */ mflr r0 +/* 8033F5B0 0033C510 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F5B4 0033C514 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F5B8 0033C518 7C 7F 1B 78 */ mr r31, r3 +/* 8033F5BC 0033C51C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F5C0 0033C520 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F5C4 0033C524 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033F5C8 0033C528 7C BC 2B 79 */ or. r28, r5, r5 +/* 8033F5CC 0033C52C 41 82 00 A4 */ beq lbl_8033F670 +/* 8033F5D0 0033C530 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033F5D4 0033C534 7C 00 E2 14 */ add r0, r0, r28 +/* 8033F5D8 0033C538 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8033F5DC 0033C53C 80 DF 00 04 */ lwz r6, 4(r31) +/* 8033F5E0 0033C540 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033F5E4 0033C544 7C 7C 32 14 */ add r3, r28, r6 +/* 8033F5E8 0033C548 7C 03 00 40 */ cmplw r3, r0 +/* 8033F5EC 0033C54C 41 81 00 20 */ bgt lbl_8033F60C +/* 8033F5F0 0033C550 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8033F5F4 0033C554 7C 60 32 14 */ add r3, r0, r6 +/* 8033F5F8 0033C558 4B CC 3E 99 */ bl memcpy +/* 8033F5FC 0033C55C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033F600 0033C560 7C 00 E2 14 */ add r0, r0, r28 +/* 8033F604 0033C564 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F608 0033C568 48 00 00 68 */ b lbl_8033F670 +lbl_8033F60C: +/* 8033F60C 0033C56C 7F A4 E2 14 */ add r29, r4, r28 +/* 8033F610 0033C570 48 00 00 58 */ b lbl_8033F668 +lbl_8033F614: +/* 8033F614 0033C574 80 7F 00 04 */ lwz r3, 4(r31) +/* 8033F618 0033C578 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033F61C 0033C57C 7C 03 00 50 */ subf r0, r3, r0 +/* 8033F620 0033C580 7C 1C 00 40 */ cmplw r28, r0 +/* 8033F624 0033C584 7C 1E 03 78 */ mr r30, r0 +/* 8033F628 0033C588 40 80 00 08 */ bge lbl_8033F630 +/* 8033F62C 0033C58C 7F 9E E3 78 */ mr r30, r28 +lbl_8033F630: +/* 8033F630 0033C590 28 1E 00 00 */ cmplwi r30, 0 +/* 8033F634 0033C594 41 82 00 2C */ beq lbl_8033F660 +/* 8033F638 0033C598 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8033F63C 0033C59C 7F C5 F3 78 */ mr r5, r30 +/* 8033F640 0033C5A0 7C 9C E8 50 */ subf r4, r28, r29 +/* 8033F644 0033C5A4 7C 60 1A 14 */ add r3, r0, r3 +/* 8033F648 0033C5A8 4B CC 3E 49 */ bl memcpy +/* 8033F64C 0033C5AC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033F650 0033C5B0 7F 9E E0 50 */ subf r28, r30, r28 +/* 8033F654 0033C5B4 7C 00 F2 14 */ add r0, r0, r30 +/* 8033F658 0033C5B8 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F65C 0033C5BC 48 00 00 0C */ b lbl_8033F668 +lbl_8033F660: +/* 8033F660 0033C5C0 7F E3 FB 78 */ mr r3, r31 +/* 8033F664 0033C5C4 4B FF FE C1 */ bl DoFlush__13COutputStreamFv +lbl_8033F668: +/* 8033F668 0033C5C8 28 1C 00 00 */ cmplwi r28, 0 +/* 8033F66C 0033C5CC 40 82 FF A8 */ bne lbl_8033F614 +lbl_8033F670: +/* 8033F670 0033C5D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F674 0033C5D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F678 0033C5D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F67C 0033C5DC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F680 0033C5E0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033F684 0033C5E4 7C 08 03 A6 */ mtlr r0 +/* 8033F688 0033C5E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F68C 0033C5EC 4E 80 00 20 */ blr + +.global __dt__13COutputStreamFv +__dt__13COutputStreamFv: +/* 8033F690 0033C5F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F694 0033C5F4 7C 08 02 A6 */ mflr r0 +/* 8033F698 0033C5F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F69C 0033C5FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F6A0 0033C600 7C 9F 23 78 */ mr r31, r4 +/* 8033F6A4 0033C604 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F6A8 0033C608 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F6AC 0033C60C 41 82 00 34 */ beq lbl_8033F6E0 +/* 8033F6B0 0033C610 3C 60 80 3F */ lis r3, lbl_803EE3B8@ha +/* 8033F6B4 0033C614 38 03 E3 B8 */ addi r0, r3, lbl_803EE3B8@l +/* 8033F6B8 0033C618 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F6BC 0033C61C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033F6C0 0033C620 28 00 00 40 */ cmplwi r0, 0x40 +/* 8033F6C4 0033C624 40 81 00 0C */ ble lbl_8033F6D0 +/* 8033F6C8 0033C628 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8033F6CC 0033C62C 4B FD 62 65 */ bl Free__7CMemoryFPCv +lbl_8033F6D0: +/* 8033F6D0 0033C630 7F E0 07 35 */ extsh. r0, r31 +/* 8033F6D4 0033C634 40 81 00 0C */ ble lbl_8033F6E0 +/* 8033F6D8 0033C638 7F C3 F3 78 */ mr r3, r30 +/* 8033F6DC 0033C63C 4B FD 62 55 */ bl Free__7CMemoryFPCv +lbl_8033F6E0: +/* 8033F6E0 0033C640 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F6E4 0033C644 7F C3 F3 78 */ mr r3, r30 +/* 8033F6E8 0033C648 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F6EC 0033C64C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F6F0 0033C650 7C 08 03 A6 */ mtlr r0 +/* 8033F6F4 0033C654 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F6F8 0033C658 4E 80 00 20 */ blr + +.global __ct__13COutputStreamFi +__ct__13COutputStreamFi: +/* 8033F6FC 0033C65C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F700 0033C660 7C 08 02 A6 */ mflr r0 +/* 8033F704 0033C664 3C A0 80 3F */ lis r5, lbl_803EE3B8@ha +/* 8033F708 0033C668 2C 04 00 40 */ cmpwi r4, 0x40 +/* 8033F70C 0033C66C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F710 0033C670 38 00 00 00 */ li r0, 0 +/* 8033F714 0033C674 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F718 0033C678 7C 7F 1B 78 */ mr r31, r3 +/* 8033F71C 0033C67C 38 65 E3 B8 */ addi r3, r5, lbl_803EE3B8@l +/* 8033F720 0033C680 90 7F 00 00 */ stw r3, 0(r31) +/* 8033F724 0033C684 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F728 0033C688 90 9F 00 08 */ stw r4, 8(r31) +/* 8033F72C 0033C68C 40 81 00 1C */ ble lbl_8033F748 +/* 8033F730 0033C690 3C A0 80 3D */ lis r5, lbl_803D7A70@ha +/* 8033F734 0033C694 7C 83 23 78 */ mr r3, r4 +/* 8033F738 0033C698 38 85 7A 70 */ addi r4, r5, lbl_803D7A70@l +/* 8033F73C 0033C69C 38 A0 00 00 */ li r5, 0 +/* 8033F740 0033C6A0 4B FD 60 D9 */ bl __nwa__FUlPCcPCc +/* 8033F744 0033C6A4 48 00 00 38 */ b lbl_8033F77C +lbl_8033F748: +/* 8033F748 0033C6A8 3C 60 08 42 */ lis r3, 0x08421085@ha +/* 8033F74C 0033C6AC 38 9F 00 1C */ addi r4, r31, 0x1c +/* 8033F750 0033C6B0 38 03 10 85 */ addi r0, r3, 0x08421085@l +/* 8033F754 0033C6B4 7C 60 20 16 */ mulhwu r3, r0, r4 +/* 8033F758 0033C6B8 7C 03 20 50 */ subf r0, r3, r4 +/* 8033F75C 0033C6BC 54 00 F8 7E */ srwi r0, r0, 1 +/* 8033F760 0033C6C0 7C 00 1A 14 */ add r0, r0, r3 +/* 8033F764 0033C6C4 54 00 E1 3E */ srwi r0, r0, 4 +/* 8033F768 0033C6C8 1C 00 00 1F */ mulli r0, r0, 0x1f +/* 8033F76C 0033C6CC 7C 00 20 50 */ subf r0, r0, r4 +/* 8033F770 0033C6D0 20 60 00 20 */ subfic r3, r0, 0x20 +/* 8033F774 0033C6D4 38 63 00 1C */ addi r3, r3, 0x1c +/* 8033F778 0033C6D8 7C 7F 1A 14 */ add r3, r31, r3 +lbl_8033F77C: +/* 8033F77C 0033C6DC 90 7F 00 0C */ stw r3, 0xc(r31) +/* 8033F780 0033C6E0 38 80 00 00 */ li r4, 0 +/* 8033F784 0033C6E4 38 00 00 20 */ li r0, 0x20 +/* 8033F788 0033C6E8 7F E3 FB 78 */ mr r3, r31 +/* 8033F78C 0033C6EC 90 9F 00 10 */ stw r4, 0x10(r31) +/* 8033F790 0033C6F0 90 9F 00 14 */ stw r4, 0x14(r31) +/* 8033F794 0033C6F4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8033F798 0033C6F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F79C 0033C6FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F7A0 0033C700 7C 08 03 A6 */ mtlr r0 +/* 8033F7A4 0033C704 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F7A8 0033C708 4E 80 00 20 */ blr + +.global Read__15CZipInputStreamFPvUl +Read__15CZipInputStreamFPvUl: +/* 8033F7AC 0033C70C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F7B0 0033C710 7C 08 02 A6 */ mflr r0 +/* 8033F7B4 0033C714 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F7B8 0033C718 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F7BC 0033C71C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F7C0 0033C720 7C BE 2B 78 */ mr r30, r5 +/* 8033F7C4 0033C724 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F7C8 0033C728 7C 7D 1B 78 */ mr r29, r3 +/* 8033F7CC 0033C72C 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8033F7D0 0033C730 90 83 00 0C */ stw r4, 0xc(r3) +/* 8033F7D4 0033C734 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F7D8 0033C738 93 C3 00 10 */ stw r30, 0x10(r3) +/* 8033F7DC 0033C73C 83 FD 00 30 */ lwz r31, 0x30(r29) +/* 8033F7E0 0033C740 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033F7E4 0033C744 28 00 00 00 */ cmplwi r0, 0 +/* 8033F7E8 0033C748 40 82 00 24 */ bne lbl_8033F80C +/* 8033F7EC 0033C74C 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 8033F7F0 0033C750 38 A0 10 00 */ li r5, 0x1000 +/* 8033F7F4 0033C754 80 9D 00 24 */ lwz r4, 0x24(r29) +/* 8033F7F8 0033C758 4B FF F6 89 */ bl ReadBytes__12CInputStreamFPvUl +/* 8033F7FC 0033C75C 90 7F 00 04 */ stw r3, 4(r31) +/* 8033F800 0033C760 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8033F804 0033C764 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F808 0033C768 90 03 00 00 */ stw r0, 0(r3) +lbl_8033F80C: +/* 8033F80C 0033C76C 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F810 0033C770 38 80 00 00 */ li r4, 0 +/* 8033F814 0033C774 48 00 3B 49 */ bl inflate +/* 8033F818 0033C778 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F81C 0033C77C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8033F820 0033C780 7C 60 F0 50 */ subf r3, r0, r30 +/* 8033F824 0033C784 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F828 0033C788 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F82C 0033C78C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F830 0033C790 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F834 0033C794 7C 08 03 A6 */ mtlr r0 +/* 8033F838 0033C798 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F83C 0033C79C 4E 80 00 20 */ blr + +.global __dt__15CZipInputStreamFv +__dt__15CZipInputStreamFv: +/* 8033F840 0033C7A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F844 0033C7A4 7C 08 02 A6 */ mflr r0 +/* 8033F848 0033C7A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F84C 0033C7AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F850 0033C7B0 7C 9F 23 78 */ mr r31, r4 +/* 8033F854 0033C7B4 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F858 0033C7B8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F85C 0033C7BC 41 82 00 88 */ beq lbl_8033F8E4 +/* 8033F860 0033C7C0 3C 60 80 3F */ lis r3, lbl_803EE3C8@ha +/* 8033F864 0033C7C4 38 03 E3 C8 */ addi r0, r3, lbl_803EE3C8@l +/* 8033F868 0033C7C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F86C 0033C7CC 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8033F870 0033C7D0 48 00 42 D1 */ bl inflateEnd +/* 8033F874 0033C7D4 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8033F878 0033C7D8 41 82 00 0C */ beq lbl_8033F884 +/* 8033F87C 0033C7DC 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8033F880 0033C7E0 4B FD 60 B1 */ bl Free__7CMemoryFPCv +lbl_8033F884: +/* 8033F884 0033C7E4 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8033F888 0033C7E8 41 82 00 30 */ beq lbl_8033F8B8 +/* 8033F88C 0033C7EC 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 8033F890 0033C7F0 28 00 00 00 */ cmplwi r0, 0 +/* 8033F894 0033C7F4 41 82 00 24 */ beq lbl_8033F8B8 +/* 8033F898 0033C7F8 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8033F89C 0033C7FC 28 03 00 00 */ cmplwi r3, 0 +/* 8033F8A0 0033C800 41 82 00 18 */ beq lbl_8033F8B8 +/* 8033F8A4 0033C804 81 83 00 00 */ lwz r12, 0(r3) +/* 8033F8A8 0033C808 38 80 00 01 */ li r4, 1 +/* 8033F8AC 0033C80C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033F8B0 0033C810 7D 89 03 A6 */ mtctr r12 +/* 8033F8B4 0033C814 4E 80 04 21 */ bctrl +lbl_8033F8B8: +/* 8033F8B8 0033C818 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 8033F8BC 0033C81C 41 82 00 0C */ beq lbl_8033F8C8 +/* 8033F8C0 0033C820 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8033F8C4 0033C824 4B FD 60 6D */ bl Free__7CMemoryFPCv +lbl_8033F8C8: +/* 8033F8C8 0033C828 7F C3 F3 78 */ mr r3, r30 +/* 8033F8CC 0033C82C 38 80 00 00 */ li r4, 0 +/* 8033F8D0 0033C830 4B FF F7 DD */ bl __dt__12CInputStreamFv +/* 8033F8D4 0033C834 7F E0 07 35 */ extsh. r0, r31 +/* 8033F8D8 0033C838 40 81 00 0C */ ble lbl_8033F8E4 +/* 8033F8DC 0033C83C 7F C3 F3 78 */ mr r3, r30 +/* 8033F8E0 0033C840 4B FD 60 51 */ bl Free__7CMemoryFPCv +lbl_8033F8E4: +/* 8033F8E4 0033C844 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F8E8 0033C848 7F C3 F3 78 */ mr r3, r30 +/* 8033F8EC 0033C84C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F8F0 0033C850 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F8F4 0033C854 7C 08 03 A6 */ mtlr r0 +/* 8033F8F8 0033C858 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F8FC 0033C85C 4E 80 00 20 */ blr + +.global "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +"__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>": +/* 8033F900 0033C860 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F904 0033C864 7C 08 02 A6 */ mflr r0 +/* 8033F908 0033C868 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F90C 0033C86C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F910 0033C870 7C 7F 1B 78 */ mr r31, r3 +/* 8033F914 0033C874 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F918 0033C878 7C 9E 23 78 */ mr r30, r4 +/* 8033F91C 0033C87C 38 80 10 00 */ li r4, 0x1000 +/* 8033F920 0033C880 4B FF F8 2D */ bl __ct__12CInputStreamFi +/* 8033F924 0033C884 3C 60 80 3F */ lis r3, lbl_803EE3C8@ha +/* 8033F928 0033C888 3C 80 80 3D */ lis r4, lbl_803D7A78@ha +/* 8033F92C 0033C88C 38 03 E3 C8 */ addi r0, r3, lbl_803EE3C8@l +/* 8033F930 0033C890 38 A0 00 00 */ li r5, 0 +/* 8033F934 0033C894 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F938 0033C898 38 60 10 00 */ li r3, 0x1000 +/* 8033F93C 0033C89C 38 84 7A 78 */ addi r4, r4, lbl_803D7A78@l +/* 8033F940 0033C8A0 4B FD 5E D9 */ bl __nwa__FUlPCcPCc +/* 8033F944 0033C8A4 90 7F 00 24 */ stw r3, 0x24(r31) +/* 8033F948 0033C8A8 3C 60 80 3D */ lis r3, lbl_803D7A78@ha +/* 8033F94C 0033C8AC 38 83 7A 78 */ addi r4, r3, lbl_803D7A78@l +/* 8033F950 0033C8B0 38 00 00 00 */ li r0, 0 +/* 8033F954 0033C8B4 88 DE 00 00 */ lbz r6, 0(r30) +/* 8033F958 0033C8B8 38 60 00 38 */ li r3, 0x38 +/* 8033F95C 0033C8BC 38 A0 00 00 */ li r5, 0 +/* 8033F960 0033C8C0 98 DF 00 28 */ stb r6, 0x28(r31) +/* 8033F964 0033C8C4 80 DE 00 04 */ lwz r6, 4(r30) +/* 8033F968 0033C8C8 90 DF 00 2C */ stw r6, 0x2c(r31) +/* 8033F96C 0033C8CC 98 1E 00 00 */ stb r0, 0(r30) +/* 8033F970 0033C8D0 4B FD 5E FD */ bl __nw__FUlPCcPCc +/* 8033F974 0033C8D4 90 7F 00 30 */ stw r3, 0x30(r31) +/* 8033F978 0033C8D8 3C A0 80 34 */ lis r5, Alloc__11CZipSupportFPvUiUi@ha +/* 8033F97C 0033C8DC 3C 80 80 34 */ lis r4, Free__11CZipSupportFPvPv@ha +/* 8033F980 0033C8E0 3C 60 80 3D */ lis r3, lbl_803D7A78@ha +/* 8033F984 0033C8E4 81 3F 00 30 */ lwz r9, 0x30(r31) +/* 8033F988 0033C8E8 38 63 7A 78 */ addi r3, r3, lbl_803D7A78@l +/* 8033F98C 0033C8EC 81 1F 00 24 */ lwz r8, 0x24(r31) +/* 8033F990 0033C8F0 38 E0 00 00 */ li r7, 0 +/* 8033F994 0033C8F4 38 C5 FA 18 */ addi r6, r5, Alloc__11CZipSupportFPvUiUi@l +/* 8033F998 0033C8F8 38 04 F9 EC */ addi r0, r4, Free__11CZipSupportFPvPv@l +/* 8033F99C 0033C8FC 91 09 00 00 */ stw r8, 0(r9) +/* 8033F9A0 0033C900 38 83 00 07 */ addi r4, r3, 7 +/* 8033F9A4 0033C904 38 A0 00 38 */ li r5, 0x38 +/* 8033F9A8 0033C908 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9AC 0033C90C 90 E3 00 04 */ stw r7, 4(r3) +/* 8033F9B0 0033C910 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9B4 0033C914 90 C3 00 20 */ stw r6, 0x20(r3) +/* 8033F9B8 0033C918 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9BC 0033C91C 90 03 00 24 */ stw r0, 0x24(r3) +/* 8033F9C0 0033C920 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9C4 0033C924 90 E3 00 28 */ stw r7, 0x28(r3) +/* 8033F9C8 0033C928 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9CC 0033C92C 48 00 3F 95 */ bl inflateInit2_ +/* 8033F9D0 0033C930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F9D4 0033C934 7F E3 FB 78 */ mr r3, r31 +/* 8033F9D8 0033C938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F9DC 0033C93C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F9E0 0033C940 7C 08 03 A6 */ mtlr r0 +/* 8033F9E4 0033C944 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F9E8 0033C948 4E 80 00 20 */ blr + +.global Free__11CZipSupportFPvPv +Free__11CZipSupportFPvPv: +/* 8033F9EC 0033C94C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F9F0 0033C950 7C 08 02 A6 */ mflr r0 +/* 8033F9F4 0033C954 28 04 00 00 */ cmplwi r4, 0 +/* 8033F9F8 0033C958 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F9FC 0033C95C 41 82 00 0C */ beq lbl_8033FA08 +/* 8033FA00 0033C960 7C 83 23 78 */ mr r3, r4 +/* 8033FA04 0033C964 4B FD 5F 2D */ bl Free__7CMemoryFPCv +lbl_8033FA08: +/* 8033FA08 0033C968 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FA0C 0033C96C 7C 08 03 A6 */ mtlr r0 +/* 8033FA10 0033C970 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FA14 0033C974 4E 80 00 20 */ blr + +.global Alloc__11CZipSupportFPvUiUi +Alloc__11CZipSupportFPvUiUi: +/* 8033FA18 0033C978 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FA1C 0033C97C 7C 08 02 A6 */ mflr r0 +/* 8033FA20 0033C980 7C 64 29 D6 */ mullw r3, r4, r5 +/* 8033FA24 0033C984 3C 80 80 3D */ lis r4, lbl_803D7A88@ha +/* 8033FA28 0033C988 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FA2C 0033C98C 38 A0 00 00 */ li r5, 0 +/* 8033FA30 0033C990 38 84 7A 88 */ addi r4, r4, lbl_803D7A88@l +/* 8033FA34 0033C994 4B FD 5D E5 */ bl __nwa__FUlPCcPCc +/* 8033FA38 0033C998 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FA3C 0033C99C 7C 08 03 A6 */ mtlr r0 +/* 8033FA40 0033C9A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FA44 0033C9A4 4E 80 00 20 */ blr + +.global "__dt__31TObjOwnerParamFv" +"__dt__31TObjOwnerParamFv": +/* 8033FA48 0033C9A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FA4C 0033C9AC 7C 08 02 A6 */ mflr r0 +/* 8033FA50 0033C9B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FA54 0033C9B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FA58 0033C9B8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033FA5C 0033C9BC 41 82 00 40 */ beq lbl_8033FA9C +/* 8033FA60 0033C9C0 3C 60 80 3F */ lis r3, lbl_803EE3D8@ha +/* 8033FA64 0033C9C4 38 03 E3 D8 */ addi r0, r3, lbl_803EE3D8@l +/* 8033FA68 0033C9C8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033FA6C 0033C9CC 41 82 00 20 */ beq lbl_8033FA8C +/* 8033FA70 0033C9D0 3C 60 80 3E */ lis r3, lbl_803D9C44@ha +/* 8033FA74 0033C9D4 38 03 9C 44 */ addi r0, r3, lbl_803D9C44@l +/* 8033FA78 0033C9D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033FA7C 0033C9DC 41 82 00 10 */ beq lbl_8033FA8C +/* 8033FA80 0033C9E0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8033FA84 0033C9E4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8033FA88 0033C9E8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033FA8C: +/* 8033FA8C 0033C9EC 7C 80 07 35 */ extsh. r0, r4 +/* 8033FA90 0033C9F0 40 81 00 0C */ ble lbl_8033FA9C +/* 8033FA94 0033C9F4 7F E3 FB 78 */ mr r3, r31 +/* 8033FA98 0033C9F8 4B FD 5E 99 */ bl Free__7CMemoryFPCv +lbl_8033FA9C: +/* 8033FA9C 0033C9FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FAA0 0033CA00 7F E3 FB 78 */ mr r3, r31 +/* 8033FAA4 0033CA04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FAA8 0033CA08 7C 08 03 A6 */ mtlr r0 +/* 8033FAAC 0033CA0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FAB0 0033CA10 4E 80 00 20 */ blr + +.global IsLoading__16CObjectReferenceCFv +IsLoading__16CObjectReferenceCFv: +/* 8033FAB4 0033CA14 88 03 00 03 */ lbz r0, 3(r3) +/* 8033FAB8 0033CA18 38 80 00 00 */ li r4, 0 +/* 8033FABC 0033CA1C 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 +/* 8033FAC0 0033CA20 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8033FAC4 0033CA24 7C 00 07 75 */ extsb. r0, r0 +/* 8033FAC8 0033CA28 41 82 00 14 */ beq lbl_8033FADC +/* 8033FACC 0033CA2C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8033FAD0 0033CA30 28 00 00 00 */ cmplwi r0, 0 +/* 8033FAD4 0033CA34 40 82 00 08 */ bne lbl_8033FADC +/* 8033FAD8 0033CA38 38 80 00 01 */ li r4, 1 +lbl_8033FADC: +/* 8033FADC 0033CA3C 7C 83 23 78 */ mr r3, r4 +/* 8033FAE0 0033CA40 4E 80 00 20 */ blr + +.global Unlock__16CObjectReferenceFv +Unlock__16CObjectReferenceFv: +/* 8033FAE4 0033CA44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FAE8 0033CA48 7C 08 02 A6 */ mflr r0 +/* 8033FAEC 0033CA4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FAF0 0033CA50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FAF4 0033CA54 7C 7F 1B 78 */ mr r31, r3 +/* 8033FAF8 0033CA58 A8 A3 00 02 */ lha r5, 2(r3) +/* 8033FAFC 0033CA5C 54 A0 80 1E */ slwi r0, r5, 0x10 +/* 8033FB00 0033CA60 7C 04 8E 70 */ srawi r4, r0, 0x11 +/* 8033FB04 0033CA64 38 04 FF FF */ addi r0, r4, -1 +/* 8033FB08 0033CA68 50 05 0C 3C */ rlwimi r5, r0, 1, 0x10, 0x1e +/* 8033FB0C 0033CA6C B0 A3 00 02 */ sth r5, 2(r3) +/* 8033FB10 0033CA70 A8 03 00 02 */ lha r0, 2(r3) +/* 8033FB14 0033CA74 54 00 80 1E */ slwi r0, r0, 0x10 +/* 8033FB18 0033CA78 7C 00 8E 70 */ srawi r0, r0, 0x11 +/* 8033FB1C 0033CA7C 7C 00 07 35 */ extsh. r0, r0 +/* 8033FB20 0033CA80 40 82 00 3C */ bne lbl_8033FB5C +/* 8033FB24 0033CA84 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033FB28 0033CA88 28 00 00 00 */ cmplwi r0, 0 +/* 8033FB2C 0033CA8C 41 82 00 18 */ beq lbl_8033FB44 +/* 8033FB30 0033CA90 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8033FB34 0033CA94 28 00 00 00 */ cmplwi r0, 0 +/* 8033FB38 0033CA98 41 82 00 0C */ beq lbl_8033FB44 +/* 8033FB3C 0033CA9C 48 00 01 39 */ bl Unload__16CObjectReferenceFv +/* 8033FB40 0033CAA0 48 00 00 1C */ b lbl_8033FB5C +lbl_8033FB44: +/* 8033FB44 0033CAA4 7F E3 FB 78 */ mr r3, r31 +/* 8033FB48 0033CAA8 4B FF FF 6D */ bl IsLoading__16CObjectReferenceCFv +/* 8033FB4C 0033CAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033FB50 0033CAB0 41 82 00 0C */ beq lbl_8033FB5C +/* 8033FB54 0033CAB4 7F E3 FB 78 */ mr r3, r31 +/* 8033FB58 0033CAB8 48 00 00 A5 */ bl CancelLoad__16CObjectReferenceFv +lbl_8033FB5C: +/* 8033FB5C 0033CABC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FB60 0033CAC0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FB64 0033CAC4 7C 08 03 A6 */ mtlr r0 +/* 8033FB68 0033CAC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FB6C 0033CACC 4E 80 00 20 */ blr + +.global RemoveReference__16CObjectReferenceFv +RemoveReference__16CObjectReferenceFv: +/* 8033FB70 0033CAD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FB74 0033CAD4 7C 08 02 A6 */ mflr r0 +/* 8033FB78 0033CAD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FB7C 0033CADC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FB80 0033CAE0 7C 7F 1B 78 */ mr r31, r3 +/* 8033FB84 0033CAE4 A8 83 00 00 */ lha r4, 0(r3) +/* 8033FB88 0033CAE8 38 04 FF FF */ addi r0, r4, -1 +/* 8033FB8C 0033CAEC B0 03 00 00 */ sth r0, 0(r3) +/* 8033FB90 0033CAF0 A8 03 00 00 */ lha r0, 0(r3) +/* 8033FB94 0033CAF4 2C 00 00 00 */ cmpwi r0, 0 +/* 8033FB98 0033CAF8 40 82 00 4C */ bne lbl_8033FBE4 +/* 8033FB9C 0033CAFC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033FBA0 0033CB00 28 00 00 00 */ cmplwi r0, 0 +/* 8033FBA4 0033CB04 41 82 00 0C */ beq lbl_8033FBB0 +/* 8033FBA8 0033CB08 48 00 00 CD */ bl Unload__16CObjectReferenceFv +/* 8033FBAC 0033CB0C 48 00 00 18 */ b lbl_8033FBC4 +lbl_8033FBB0: +/* 8033FBB0 0033CB10 4B FF FF 05 */ bl IsLoading__16CObjectReferenceCFv +/* 8033FBB4 0033CB14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033FBB8 0033CB18 41 82 00 0C */ beq lbl_8033FBC4 +/* 8033FBBC 0033CB1C 7F E3 FB 78 */ mr r3, r31 +/* 8033FBC0 0033CB20 48 00 00 3D */ bl CancelLoad__16CObjectReferenceFv +lbl_8033FBC4: +/* 8033FBC4 0033CB24 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FBC8 0033CB28 28 03 00 00 */ cmplwi r3, 0 +/* 8033FBCC 0033CB2C 41 82 00 18 */ beq lbl_8033FBE4 +/* 8033FBD0 0033CB30 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FBD4 0033CB34 38 9F 00 04 */ addi r4, r31, 4 +/* 8033FBD8 0033CB38 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8033FBDC 0033CB3C 7D 89 03 A6 */ mtctr r12 +/* 8033FBE0 0033CB40 4E 80 04 21 */ bctrl +lbl_8033FBE4: +/* 8033FBE4 0033CB44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FBE8 0033CB48 A8 7F 00 00 */ lha r3, 0(r31) +/* 8033FBEC 0033CB4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FBF0 0033CB50 7C 08 03 A6 */ mtlr r0 +/* 8033FBF4 0033CB54 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FBF8 0033CB58 4E 80 00 20 */ blr + +.global CancelLoad__16CObjectReferenceFv +CancelLoad__16CObjectReferenceFv: +/* 8033FBFC 0033CB5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FC00 0033CB60 7C 08 02 A6 */ mflr r0 +/* 8033FC04 0033CB64 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FC08 0033CB68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FC0C 0033CB6C 7C 7F 1B 78 */ mr r31, r3 +/* 8033FC10 0033CB70 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8033FC14 0033CB74 28 00 00 00 */ cmplwi r0, 0 +/* 8033FC18 0033CB78 41 82 00 48 */ beq lbl_8033FC60 +/* 8033FC1C 0033CB7C 4B FF FE 99 */ bl IsLoading__16CObjectReferenceCFv +/* 8033FC20 0033CB80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033FC24 0033CB84 41 82 00 3C */ beq lbl_8033FC60 +/* 8033FC28 0033CB88 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FC2C 0033CB8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FC30 0033CB90 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FC34 0033CB94 7D 89 03 A6 */ mtctr r12 +/* 8033FC38 0033CB98 4E 80 04 21 */ bctrl +/* 8033FC3C 0033CB9C 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FC40 0033CBA0 38 9F 00 04 */ addi r4, r31, 4 +/* 8033FC44 0033CBA4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8033FC48 0033CBA8 7D 89 03 A6 */ mtctr r12 +/* 8033FC4C 0033CBAC 4E 80 04 21 */ bctrl +/* 8033FC50 0033CBB0 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FC54 0033CBB4 38 60 00 00 */ li r3, 0 +/* 8033FC58 0033CBB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FC5C 0033CBBC 98 1F 00 03 */ stb r0, 3(r31) +lbl_8033FC60: +/* 8033FC60 0033CBC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FC64 0033CBC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FC68 0033CBC8 7C 08 03 A6 */ mtlr r0 +/* 8033FC6C 0033CBCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FC70 0033CBD0 4E 80 00 20 */ blr + +.global Unload__16CObjectReferenceFv +Unload__16CObjectReferenceFv: +/* 8033FC74 0033CBD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FC78 0033CBD8 7C 08 02 A6 */ mflr r0 +/* 8033FC7C 0033CBDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FC80 0033CBE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FC84 0033CBE4 7C 7F 1B 78 */ mr r31, r3 +/* 8033FC88 0033CBE8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8033FC8C 0033CBEC 28 03 00 00 */ cmplwi r3, 0 +/* 8033FC90 0033CBF0 41 82 00 18 */ beq lbl_8033FCA8 +/* 8033FC94 0033CBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FC98 0033CBF8 38 80 00 01 */ li r4, 1 +/* 8033FC9C 0033CBFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033FCA0 0033CC00 7D 89 03 A6 */ mtctr r12 +/* 8033FCA4 0033CC04 4E 80 04 21 */ bctrl +lbl_8033FCA8: +/* 8033FCA8 0033CC08 38 60 00 00 */ li r3, 0 +/* 8033FCAC 0033CC0C 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8033FCB0 0033CC10 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FCB4 0033CC14 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FCB8 0033CC18 98 1F 00 03 */ stb r0, 3(r31) +/* 8033FCBC 0033CC1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FCC0 0033CC20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FCC4 0033CC24 7C 08 03 A6 */ mtlr r0 +/* 8033FCC8 0033CC28 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FCCC 0033CC2C 4E 80 00 20 */ blr + +.global GetObject__16CObjectReferenceFv +GetObject__16CObjectReferenceFv: +/* 8033FCD0 0033CC30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033FCD4 0033CC34 7C 08 02 A6 */ mflr r0 +/* 8033FCD8 0033CC38 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033FCDC 0033CC3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033FCE0 0033CC40 7C 7F 1B 78 */ mr r31, r3 +/* 8033FCE4 0033CC44 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8033FCE8 0033CC48 28 00 00 00 */ cmplwi r0, 0 +/* 8033FCEC 0033CC4C 40 82 00 74 */ bne lbl_8033FD60 +/* 8033FCF0 0033CC50 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FCF4 0033CC54 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FCF8 0033CC58 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FCFC 0033CC5C 7D 89 03 A6 */ mtctr r12 +/* 8033FD00 0033CC60 4E 80 04 21 */ bctrl +/* 8033FD04 0033CC64 7C 64 1B 78 */ mr r4, r3 +/* 8033FD08 0033CC68 38 61 00 08 */ addi r3, r1, 8 +/* 8033FD0C 0033CC6C 81 84 00 00 */ lwz r12, 0(r4) +/* 8033FD10 0033CC70 38 BF 00 04 */ addi r5, r31, 4 +/* 8033FD14 0033CC74 38 DF 00 14 */ addi r6, r31, 0x14 +/* 8033FD18 0033CC78 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033FD1C 0033CC7C 7D 89 03 A6 */ mtctr r12 +/* 8033FD20 0033CC80 4E 80 04 21 */ bctrl +/* 8033FD24 0033CC84 38 00 00 00 */ li r0, 0 +/* 8033FD28 0033CC88 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033FD2C 0033CC8C 98 01 00 08 */ stb r0, 8(r1) +/* 8033FD30 0033CC90 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8033FD34 0033CC94 88 01 00 08 */ lbz r0, 8(r1) +/* 8033FD38 0033CC98 28 00 00 00 */ cmplwi r0, 0 +/* 8033FD3C 0033CC9C 41 82 00 24 */ beq lbl_8033FD60 +/* 8033FD40 0033CCA0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033FD44 0033CCA4 28 03 00 00 */ cmplwi r3, 0 +/* 8033FD48 0033CCA8 41 82 00 18 */ beq lbl_8033FD60 +/* 8033FD4C 0033CCAC 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FD50 0033CCB0 38 80 00 01 */ li r4, 1 +/* 8033FD54 0033CCB4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033FD58 0033CCB8 7D 89 03 A6 */ mtctr r12 +/* 8033FD5C 0033CCBC 4E 80 04 21 */ bctrl +lbl_8033FD60: +/* 8033FD60 0033CCC0 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FD64 0033CCC4 38 60 00 00 */ li r3, 0 +/* 8033FD68 0033CCC8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FD6C 0033CCCC 98 1F 00 03 */ stb r0, 3(r31) +/* 8033FD70 0033CCD0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8033FD74 0033CCD4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033FD78 0033CCD8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033FD7C 0033CCDC 7C 08 03 A6 */ mtlr r0 +/* 8033FD80 0033CCE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033FD84 0033CCE4 4E 80 00 20 */ blr + +.global Lock__16CObjectReferenceFv +Lock__16CObjectReferenceFv: +/* 8033FD88 0033CCE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FD8C 0033CCEC 7C 08 02 A6 */ mflr r0 +/* 8033FD90 0033CCF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FD94 0033CCF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FD98 0033CCF8 7C 7F 1B 78 */ mr r31, r3 +/* 8033FD9C 0033CCFC A8 83 00 02 */ lha r4, 2(r3) +/* 8033FDA0 0033CD00 54 80 80 1E */ slwi r0, r4, 0x10 +/* 8033FDA4 0033CD04 7C 03 8E 70 */ srawi r3, r0, 0x11 +/* 8033FDA8 0033CD08 38 03 00 01 */ addi r0, r3, 1 +/* 8033FDAC 0033CD0C 50 04 0C 3C */ rlwimi r4, r0, 1, 0x10, 0x1e +/* 8033FDB0 0033CD10 B0 9F 00 02 */ sth r4, 2(r31) +/* 8033FDB4 0033CD14 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033FDB8 0033CD18 28 00 00 00 */ cmplwi r0, 0 +/* 8033FDBC 0033CD1C 40 82 00 58 */ bne lbl_8033FE14 +/* 8033FDC0 0033CD20 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FDC4 0033CD24 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 +/* 8033FDC8 0033CD28 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8033FDCC 0033CD2C 7C 00 07 75 */ extsb. r0, r0 +/* 8033FDD0 0033CD30 40 82 00 44 */ bne lbl_8033FE14 +/* 8033FDD4 0033CD34 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FDD8 0033CD38 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FDDC 0033CD3C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FDE0 0033CD40 7D 89 03 A6 */ mtctr r12 +/* 8033FDE4 0033CD44 4E 80 04 21 */ bctrl +/* 8033FDE8 0033CD48 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FDEC 0033CD4C 38 9F 00 04 */ addi r4, r31, 4 +/* 8033FDF0 0033CD50 38 BF 00 14 */ addi r5, r31, 0x14 +/* 8033FDF4 0033CD54 38 DF 00 10 */ addi r6, r31, 0x10 +/* 8033FDF8 0033CD58 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8033FDFC 0033CD5C 7D 89 03 A6 */ mtctr r12 +/* 8033FE00 0033CD60 4E 80 04 21 */ bctrl +/* 8033FE04 0033CD64 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FE08 0033CD68 38 60 00 01 */ li r3, 1 +/* 8033FE0C 0033CD6C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FE10 0033CD70 98 1F 00 03 */ stb r0, 3(r31) +lbl_8033FE14: +/* 8033FE14 0033CD74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FE18 0033CD78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FE1C 0033CD7C 7C 08 03 A6 */ mtlr r0 +/* 8033FE20 0033CD80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FE24 0033CD84 4E 80 00 20 */ blr + +.global __dt__16CObjectReferenceFv +__dt__16CObjectReferenceFv: +/* 8033FE28 0033CD88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FE2C 0033CD8C 7C 08 02 A6 */ mflr r0 +/* 8033FE30 0033CD90 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FE34 0033CD94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FE38 0033CD98 7C 9F 23 78 */ mr r31, r4 +/* 8033FE3C 0033CD9C 93 C1 00 08 */ stw r30, 8(r1) +/* 8033FE40 0033CDA0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033FE44 0033CDA4 41 82 00 90 */ beq lbl_8033FED4 +/* 8033FE48 0033CDA8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8033FE4C 0033CDAC 28 03 00 00 */ cmplwi r3, 0 +/* 8033FE50 0033CDB0 41 82 00 20 */ beq lbl_8033FE70 +/* 8033FE54 0033CDB4 41 82 00 58 */ beq lbl_8033FEAC +/* 8033FE58 0033CDB8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FE5C 0033CDBC 38 80 00 01 */ li r4, 1 +/* 8033FE60 0033CDC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033FE64 0033CDC4 7D 89 03 A6 */ mtctr r12 +/* 8033FE68 0033CDC8 4E 80 04 21 */ bctrl +/* 8033FE6C 0033CDCC 48 00 00 40 */ b lbl_8033FEAC +lbl_8033FE70: +/* 8033FE70 0033CDD0 88 1E 00 03 */ lbz r0, 3(r30) +/* 8033FE74 0033CDD4 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 +/* 8033FE78 0033CDD8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8033FE7C 0033CDDC 7C 00 07 75 */ extsb. r0, r0 +/* 8033FE80 0033CDE0 41 82 00 2C */ beq lbl_8033FEAC +/* 8033FE84 0033CDE4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8033FE88 0033CDE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FE8C 0033CDEC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FE90 0033CDF0 7D 89 03 A6 */ mtctr r12 +/* 8033FE94 0033CDF4 4E 80 04 21 */ bctrl +/* 8033FE98 0033CDF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FE9C 0033CDFC 38 9E 00 04 */ addi r4, r30, 4 +/* 8033FEA0 0033CE00 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8033FEA4 0033CE04 7D 89 03 A6 */ mtctr r12 +/* 8033FEA8 0033CE08 4E 80 04 21 */ bctrl +lbl_8033FEAC: +/* 8033FEAC 0033CE0C 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8033FEB0 0033CE10 41 82 00 14 */ beq lbl_8033FEC4 +/* 8033FEB4 0033CE14 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8033FEB8 0033CE18 41 82 00 0C */ beq lbl_8033FEC4 +/* 8033FEBC 0033CE1C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8033FEC0 0033CE20 4B CF 44 45 */ bl sub_80034304 +lbl_8033FEC4: +/* 8033FEC4 0033CE24 7F E0 07 35 */ extsh. r0, r31 +/* 8033FEC8 0033CE28 40 81 00 0C */ ble lbl_8033FED4 +/* 8033FECC 0033CE2C 7F C3 F3 78 */ mr r3, r30 +/* 8033FED0 0033CE30 4B FD 5A 61 */ bl Free__7CMemoryFPCv +lbl_8033FED4: +/* 8033FED4 0033CE34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FED8 0033CE38 7F C3 F3 78 */ mr r3, r30 +/* 8033FEDC 0033CE3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FEE0 0033CE40 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033FEE4 0033CE44 7C 08 03 A6 */ mtlr r0 +/* 8033FEE8 0033CE48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FEEC 0033CE4C 4E 80 00 20 */ blr + +.global "__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>" +"__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>": +/* 8033FEF0 0033CE50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033FEF4 0033CE54 7C 08 02 A6 */ mflr r0 +/* 8033FEF8 0033CE58 38 A0 00 00 */ li r5, 0 +/* 8033FEFC 0033CE5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033FF00 0033CE60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033FF04 0033CE64 7C 7F 1B 78 */ mr r31, r3 +/* 8033FF08 0033CE68 A8 03 00 00 */ lha r0, 0(r3) +/* 8033FF0C 0033CE6C 50 A0 04 3E */ rlwimi r0, r5, 0, 0x10, 0x1f +/* 8033FF10 0033CE70 38 61 00 08 */ addi r3, r1, 8 +/* 8033FF14 0033CE74 B0 1F 00 00 */ sth r0, 0(r31) +/* 8033FF18 0033CE78 A8 1F 00 02 */ lha r0, 2(r31) +/* 8033FF1C 0033CE7C 50 A0 0C 3C */ rlwimi r0, r5, 1, 0x10, 0x1e +/* 8033FF20 0033CE80 B0 1F 00 02 */ sth r0, 2(r31) +/* 8033FF24 0033CE84 A8 1F 00 02 */ lha r0, 2(r31) +/* 8033FF28 0033CE88 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 8033FF2C 0033CE8C B0 1F 00 02 */ sth r0, 2(r31) +/* 8033FF30 0033CE90 90 BF 00 0C */ stw r5, 0xc(r31) +/* 8033FF34 0033CE94 98 A4 00 00 */ stb r5, 0(r4) +/* 8033FF38 0033CE98 80 04 00 04 */ lwz r0, 4(r4) +/* 8033FF3C 0033CE9C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8033FF40 0033CEA0 4B CF 4A 15 */ bl Null__15CVParamTransferFv +/* 8033FF44 0033CEA4 80 01 00 08 */ lwz r0, 8(r1) +/* 8033FF48 0033CEA8 38 61 00 08 */ addi r3, r1, 8 +/* 8033FF4C 0033CEAC 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8033FF50 0033CEB0 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 8033FF54 0033CEB4 80 85 00 04 */ lwz r4, 4(r5) +/* 8033FF58 0033CEB8 38 04 00 01 */ addi r0, r4, 1 +/* 8033FF5C 0033CEBC 90 05 00 04 */ stw r0, 4(r5) +/* 8033FF60 0033CEC0 4B CF 43 A5 */ bl sub_80034304 +/* 8033FF64 0033CEC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033FF68 0033CEC8 7F E3 FB 78 */ mr r3, r31 +/* 8033FF6C 0033CECC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033FF70 0033CED0 7C 08 03 A6 */ mtlr r0 +/* 8033FF74 0033CED4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033FF78 0033CED8 4E 80 00 20 */ blr + +.global "__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer" +"__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer": +/* 8033FF7C 0033CEDC 39 00 00 00 */ li r8, 0 +/* 8033FF80 0033CEE0 A8 03 00 00 */ lha r0, 0(r3) +/* 8033FF84 0033CEE4 51 00 04 3E */ rlwimi r0, r8, 0, 0x10, 0x1f +/* 8033FF88 0033CEE8 B0 03 00 00 */ sth r0, 0(r3) +/* 8033FF8C 0033CEEC A8 03 00 02 */ lha r0, 2(r3) +/* 8033FF90 0033CEF0 51 00 0C 3C */ rlwimi r0, r8, 1, 0x10, 0x1e +/* 8033FF94 0033CEF4 B0 03 00 02 */ sth r0, 2(r3) +/* 8033FF98 0033CEF8 A8 03 00 02 */ lha r0, 2(r3) +/* 8033FF9C 0033CEFC 51 00 07 FE */ rlwimi r0, r8, 0, 0x1f, 0x1f +/* 8033FFA0 0033CF00 B0 03 00 02 */ sth r0, 2(r3) +/* 8033FFA4 0033CF04 80 06 00 00 */ lwz r0, 0(r6) +/* 8033FFA8 0033CF08 90 03 00 04 */ stw r0, 4(r3) +/* 8033FFAC 0033CF0C 80 06 00 04 */ lwz r0, 4(r6) +/* 8033FFB0 0033CF10 90 03 00 08 */ stw r0, 8(r3) +/* 8033FFB4 0033CF14 90 83 00 0C */ stw r4, 0xc(r3) +/* 8033FFB8 0033CF18 99 05 00 00 */ stb r8, 0(r5) +/* 8033FFBC 0033CF1C 80 05 00 04 */ lwz r0, 4(r5) +/* 8033FFC0 0033CF20 90 03 00 10 */ stw r0, 0x10(r3) +/* 8033FFC4 0033CF24 80 07 00 00 */ lwz r0, 0(r7) +/* 8033FFC8 0033CF28 90 03 00 14 */ stw r0, 0x14(r3) +/* 8033FFCC 0033CF2C 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 8033FFD0 0033CF30 80 85 00 04 */ lwz r4, 4(r5) +/* 8033FFD4 0033CF34 38 04 00 01 */ addi r0, r4, 1 +/* 8033FFD8 0033CF38 90 05 00 04 */ stw r0, 4(r5) +/* 8033FFDC 0033CF3C 4E 80 00 20 */ blr + +.global GetFactory__11CSimplePoolCFv +GetFactory__11CSimplePoolCFv: +/* 8033FFE0 0033CF40 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033FFE4 0033CF44 4E 80 00 20 */ blr + +.global GetReferencedTags__11CSimplePoolFv +GetReferencedTags__11CSimplePoolFv: +/* 8033FFE8 0033CF48 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033FFEC 0033CF4C 7C 08 02 A6 */ mflr r0 +/* 8033FFF0 0033CF50 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033FFF4 0033CF54 38 00 00 00 */ li r0, 0 +/* 8033FFF8 0033CF58 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033FFFC 0033CF5C 7C 7F 1B 78 */ mr r31, r3 +/* 80340000 0033CF60 38 61 00 18 */ addi r3, r1, 0x18 +/* 80340004 0033CF64 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80340008 0033CF68 7C 9E 23 78 */ mr r30, r4 +/* 8034000C 0033CF6C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80340010 0033CF70 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80340014 0033CF74 80 84 00 08 */ lwz r4, 8(r4) +/* 80340018 0033CF78 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034001C 0033CF7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80340020 0033CF80 48 00 09 65 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +/* 80340024 0033CF84 3B BE 00 0C */ addi r29, r30, 0xc +/* 80340028 0033CF88 83 DE 00 0C */ lwz r30, 0xc(r30) +/* 8034002C 0033CF8C 48 00 00 6C */ b lbl_80340098 +lbl_80340030: +/* 80340030 0033CF90 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80340034 0033CF94 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80340038 0033CF98 7C 00 28 00 */ cmpw r0, r5 +/* 8034003C 0033CF9C 41 80 00 1C */ blt lbl_80340058 +/* 80340040 0033CFA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80340044 0033CFA4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80340048 0033CFA8 38 80 00 04 */ li r4, 4 +/* 8034004C 0033CFAC 41 82 00 08 */ beq lbl_80340054 +/* 80340050 0033CFB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80340054: +/* 80340054 0033CFB4 48 00 09 31 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +lbl_80340058: +/* 80340058 0033CFB8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034005C 0033CFBC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80340060 0033CFC0 54 00 18 38 */ slwi r0, r0, 3 +/* 80340064 0033CFC4 7C 63 02 15 */ add. r3, r3, r0 +/* 80340068 0033CFC8 41 82 00 14 */ beq lbl_8034007C +/* 8034006C 0033CFCC 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80340070 0033CFD0 90 03 00 00 */ stw r0, 0(r3) +/* 80340074 0033CFD4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80340078 0033CFD8 90 03 00 04 */ stw r0, 4(r3) +lbl_8034007C: +/* 8034007C 0033CFDC 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80340080 0033CFE0 7F A3 EB 78 */ mr r3, r29 +/* 80340084 0033CFE4 7F C4 F3 78 */ mr r4, r30 +/* 80340088 0033CFE8 38 05 00 01 */ addi r0, r5, 1 +/* 8034008C 0033CFEC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80340090 0033CFF0 4B FF C5 51 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80340094 0033CFF4 7C 7E 1B 78 */ mr r30, r3 +lbl_80340098: +/* 80340098 0033CFF8 28 1E 00 00 */ cmplwi r30, 0 +/* 8034009C 0033CFFC 38 00 00 00 */ li r0, 0 +/* 803400A0 0033D000 40 82 00 0C */ bne lbl_803400AC +/* 803400A4 0033D004 7C 1D E8 40 */ cmplw r29, r29 +/* 803400A8 0033D008 41 82 00 08 */ beq lbl_803400B0 +lbl_803400AC: +/* 803400AC 0033D00C 38 00 00 01 */ li r0, 1 +lbl_803400B0: +/* 803400B0 0033D010 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803400B4 0033D014 40 82 FF 7C */ bne lbl_80340030 +/* 803400B8 0033D018 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803400BC 0033D01C 90 1F 00 04 */ stw r0, 4(r31) +/* 803400C0 0033D020 80 01 00 20 */ lwz r0, 0x20(r1) +/* 803400C4 0033D024 90 1F 00 08 */ stw r0, 8(r31) +/* 803400C8 0033D028 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803400CC 0033D02C 2C 00 00 00 */ cmpwi r0, 0 +/* 803400D0 0033D030 40 82 00 1C */ bne lbl_803400EC +/* 803400D4 0033D034 80 01 00 20 */ lwz r0, 0x20(r1) +/* 803400D8 0033D038 2C 00 00 00 */ cmpwi r0, 0 +/* 803400DC 0033D03C 40 82 00 10 */ bne lbl_803400EC +/* 803400E0 0033D040 38 00 00 00 */ li r0, 0 +/* 803400E4 0033D044 90 1F 00 0C */ stw r0, 0xc(r31) +/* 803400E8 0033D048 48 00 00 6C */ b lbl_80340154 +lbl_803400EC: +/* 803400EC 0033D04C 80 1F 00 08 */ lwz r0, 8(r31) +/* 803400F0 0033D050 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 803400F4 0033D054 40 82 00 10 */ bne lbl_80340104 +/* 803400F8 0033D058 38 00 00 00 */ li r0, 0 +/* 803400FC 0033D05C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80340100 0033D060 48 00 00 18 */ b lbl_80340118 +lbl_80340104: +/* 80340104 0033D064 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340108 0033D068 38 A0 00 00 */ li r5, 0 +/* 8034010C 0033D06C 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340110 0033D070 4B FD 57 09 */ bl __nwa__FUlPCcPCc +/* 80340114 0033D074 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_80340118: +/* 80340118 0033D078 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034011C 0033D07C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80340120 0033D080 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80340124 0033D084 7C 09 03 A6 */ mtctr r0 +/* 80340128 0033D088 2C 00 00 00 */ cmpwi r0, 0 +/* 8034012C 0033D08C 40 81 00 28 */ ble lbl_80340154 +lbl_80340130: +/* 80340130 0033D090 28 03 00 00 */ cmplwi r3, 0 +/* 80340134 0033D094 41 82 00 14 */ beq lbl_80340148 +/* 80340138 0033D098 80 04 00 00 */ lwz r0, 0(r4) +/* 8034013C 0033D09C 90 03 00 00 */ stw r0, 0(r3) +/* 80340140 0033D0A0 80 04 00 04 */ lwz r0, 4(r4) +/* 80340144 0033D0A4 90 03 00 04 */ stw r0, 4(r3) +lbl_80340148: +/* 80340148 0033D0A8 38 63 00 08 */ addi r3, r3, 8 +/* 8034014C 0033D0AC 38 84 00 08 */ addi r4, r4, 8 +/* 80340150 0033D0B0 42 00 FF E0 */ bdnz lbl_80340130 +lbl_80340154: +/* 80340154 0033D0B4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80340158 0033D0B8 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034015C 0033D0BC 54 00 18 38 */ slwi r0, r0, 3 +/* 80340160 0033D0C0 7C 03 02 14 */ add r0, r3, r0 +/* 80340164 0033D0C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80340168 0033D0C8 7C 64 1B 78 */ mr r4, r3 +/* 8034016C 0033D0CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340170 0033D0D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80340174 0033D0D4 90 61 00 08 */ stw r3, 8(r1) +/* 80340178 0033D0D8 48 00 00 08 */ b lbl_80340180 +lbl_8034017C: +/* 8034017C 0033D0DC 38 84 00 08 */ addi r4, r4, 8 +lbl_80340180: +/* 80340180 0033D0E0 7C 04 00 40 */ cmplw r4, r0 +/* 80340184 0033D0E4 40 82 FF F8 */ bne lbl_8034017C +/* 80340188 0033D0E8 28 03 00 00 */ cmplwi r3, 0 +/* 8034018C 0033D0EC 41 82 00 08 */ beq lbl_80340194 +/* 80340190 0033D0F0 4B FD 57 A1 */ bl Free__7CMemoryFPCv +lbl_80340194: +/* 80340194 0033D0F4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80340198 0033D0F8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8034019C 0033D0FC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 803401A0 0033D100 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 803401A4 0033D104 7C 08 03 A6 */ mtlr r0 +/* 803401A8 0033D108 38 21 00 40 */ addi r1, r1, 0x40 +/* 803401AC 0033D10C 4E 80 00 20 */ blr + +.global DebugDumpPool__11CSimplePoolCFv +DebugDumpPool__11CSimplePoolCFv: +/* 803401B0 0033D110 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803401B4 0033D114 7C 08 02 A6 */ mflr r0 +/* 803401B8 0033D118 90 01 00 14 */ stw r0, 0x14(r1) +/* 803401BC 0033D11C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803401C0 0033D120 93 C1 00 08 */ stw r30, 8(r1) +/* 803401C4 0033D124 3B C3 00 0C */ addi r30, r3, 0xc +/* 803401C8 0033D128 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 803401CC 0033D12C 48 00 00 1C */ b lbl_803401E8 +lbl_803401D0: +/* 803401D0 0033D130 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803401D4 0033D134 48 00 0E 31 */ bl Type2Text__10SObjectTagFUi +/* 803401D8 0033D138 7F C3 F3 78 */ mr r3, r30 +/* 803401DC 0033D13C 7F E4 FB 78 */ mr r4, r31 +/* 803401E0 0033D140 4B FF C4 01 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 803401E4 0033D144 7C 7F 1B 78 */ mr r31, r3 +lbl_803401E8: +/* 803401E8 0033D148 28 1F 00 00 */ cmplwi r31, 0 +/* 803401EC 0033D14C 38 00 00 00 */ li r0, 0 +/* 803401F0 0033D150 40 82 00 0C */ bne lbl_803401FC +/* 803401F4 0033D154 7C 1E F0 40 */ cmplw r30, r30 +/* 803401F8 0033D158 41 82 00 08 */ beq lbl_80340200 +lbl_803401FC: +/* 803401FC 0033D15C 38 00 00 01 */ li r0, 1 +lbl_80340200: +/* 80340200 0033D160 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80340204 0033D164 40 82 FF CC */ bne lbl_803401D0 +/* 80340208 0033D168 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034020C 0033D16C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340210 0033D170 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340214 0033D174 7C 08 03 A6 */ mtlr r0 +/* 80340218 0033D178 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034021C 0033D17C 4E 80 00 20 */ blr + +.global Flush__11CSimplePoolFv +Flush__11CSimplePoolFv: +/* 80340220 0033D180 4E 80 00 20 */ blr + +.global ObjectIsLive__11CSimplePoolCFRC10SObjectTag +ObjectIsLive__11CSimplePoolCFRC10SObjectTag: +/* 80340224 0033D184 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 80340228 0033D188 38 E0 00 00 */ li r7, 0 +/* 8034022C 0033D18C 48 00 00 24 */ b lbl_80340250 +lbl_80340230: +/* 80340230 0033D190 80 A6 00 14 */ lwz r5, 0x14(r6) +/* 80340234 0033D194 80 04 00 04 */ lwz r0, 4(r4) +/* 80340238 0033D198 7C 05 00 40 */ cmplw r5, r0 +/* 8034023C 0033D19C 41 80 00 10 */ blt lbl_8034024C +/* 80340240 0033D1A0 7C C7 33 78 */ mr r7, r6 +/* 80340244 0033D1A4 80 C6 00 00 */ lwz r6, 0(r6) +/* 80340248 0033D1A8 48 00 00 08 */ b lbl_80340250 +lbl_8034024C: +/* 8034024C 0033D1AC 80 C6 00 04 */ lwz r6, 4(r6) +lbl_80340250: +/* 80340250 0033D1B0 28 06 00 00 */ cmplwi r6, 0 +/* 80340254 0033D1B4 40 82 FF DC */ bne lbl_80340230 +/* 80340258 0033D1B8 28 07 00 00 */ cmplwi r7, 0 +/* 8034025C 0033D1BC 38 A0 00 00 */ li r5, 0 +/* 80340260 0033D1C0 41 82 00 14 */ beq lbl_80340274 +/* 80340264 0033D1C4 80 84 00 04 */ lwz r4, 4(r4) +/* 80340268 0033D1C8 80 07 00 14 */ lwz r0, 0x14(r7) +/* 8034026C 0033D1CC 7C 04 00 40 */ cmplw r4, r0 +/* 80340270 0033D1D0 40 80 00 08 */ bge lbl_80340278 +lbl_80340274: +/* 80340274 0033D1D4 38 A0 00 01 */ li r5, 1 +lbl_80340278: +/* 80340278 0033D1D8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8034027C 0033D1DC 41 82 00 08 */ beq lbl_80340284 +/* 80340280 0033D1E0 38 E0 00 00 */ li r7, 0 +lbl_80340284: +/* 80340284 0033D1E4 28 07 00 00 */ cmplwi r7, 0 +/* 80340288 0033D1E8 38 63 00 0C */ addi r3, r3, 0xc +/* 8034028C 0033D1EC 38 00 00 00 */ li r0, 0 +/* 80340290 0033D1F0 40 82 00 10 */ bne lbl_803402A0 +/* 80340294 0033D1F4 7C 03 18 40 */ cmplw r3, r3 +/* 80340298 0033D1F8 40 82 00 08 */ bne lbl_803402A0 +/* 8034029C 0033D1FC 38 00 00 01 */ li r0, 1 +lbl_803402A0: +/* 803402A0 0033D200 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803402A4 0033D204 41 82 00 0C */ beq lbl_803402B0 +/* 803402A8 0033D208 38 60 00 00 */ li r3, 0 +/* 803402AC 0033D20C 4E 80 00 20 */ blr +lbl_803402B0: +/* 803402B0 0033D210 80 67 00 18 */ lwz r3, 0x18(r7) +/* 803402B4 0033D214 80 63 00 10 */ lwz r3, 0x10(r3) +/* 803402B8 0033D218 7C 03 00 D0 */ neg r0, r3 +/* 803402BC 0033D21C 7C 00 1B 78 */ or r0, r0, r3 +/* 803402C0 0033D220 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803402C4 0033D224 4E 80 00 20 */ blr + +.global HasObject__11CSimplePoolCFRC10SObjectTag +HasObject__11CSimplePoolCFRC10SObjectTag: +/* 803402C8 0033D228 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803402CC 0033D22C 7C 08 02 A6 */ mflr r0 +/* 803402D0 0033D230 38 E0 00 00 */ li r7, 0 +/* 803402D4 0033D234 90 01 00 14 */ stw r0, 0x14(r1) +/* 803402D8 0033D238 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803402DC 0033D23C 93 C1 00 08 */ stw r30, 8(r1) +/* 803402E0 0033D240 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 803402E4 0033D244 48 00 00 24 */ b lbl_80340308 +lbl_803402E8: +/* 803402E8 0033D248 80 A6 00 14 */ lwz r5, 0x14(r6) +/* 803402EC 0033D24C 80 04 00 04 */ lwz r0, 4(r4) +/* 803402F0 0033D250 7C 05 00 40 */ cmplw r5, r0 +/* 803402F4 0033D254 41 80 00 10 */ blt lbl_80340304 +/* 803402F8 0033D258 7C C7 33 78 */ mr r7, r6 +/* 803402FC 0033D25C 80 C6 00 00 */ lwz r6, 0(r6) +/* 80340300 0033D260 48 00 00 08 */ b lbl_80340308 +lbl_80340304: +/* 80340304 0033D264 80 C6 00 04 */ lwz r6, 4(r6) +lbl_80340308: +/* 80340308 0033D268 28 06 00 00 */ cmplwi r6, 0 +/* 8034030C 0033D26C 40 82 FF DC */ bne lbl_803402E8 +/* 80340310 0033D270 28 07 00 00 */ cmplwi r7, 0 +/* 80340314 0033D274 38 C0 00 00 */ li r6, 0 +/* 80340318 0033D278 41 82 00 14 */ beq lbl_8034032C +/* 8034031C 0033D27C 80 A4 00 04 */ lwz r5, 4(r4) +/* 80340320 0033D280 80 07 00 14 */ lwz r0, 0x14(r7) +/* 80340324 0033D284 7C 05 00 40 */ cmplw r5, r0 +/* 80340328 0033D288 40 80 00 08 */ bge lbl_80340330 +lbl_8034032C: +/* 8034032C 0033D28C 38 C0 00 01 */ li r6, 1 +lbl_80340330: +/* 80340330 0033D290 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80340334 0033D294 41 82 00 08 */ beq lbl_8034033C +/* 80340338 0033D298 38 E0 00 00 */ li r7, 0 +lbl_8034033C: +/* 8034033C 0033D29C 28 07 00 00 */ cmplwi r7, 0 +/* 80340340 0033D2A0 38 A3 00 0C */ addi r5, r3, 0xc +/* 80340344 0033D2A4 3B C0 00 01 */ li r30, 1 +/* 80340348 0033D2A8 38 00 00 00 */ li r0, 0 +/* 8034034C 0033D2AC 40 82 00 0C */ bne lbl_80340358 +/* 80340350 0033D2B0 7C 05 28 40 */ cmplw r5, r5 +/* 80340354 0033D2B4 41 82 00 08 */ beq lbl_8034035C +lbl_80340358: +/* 80340358 0033D2B8 38 00 00 01 */ li r0, 1 +lbl_8034035C: +/* 8034035C 0033D2BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80340360 0033D2C0 40 82 00 3C */ bne lbl_8034039C +/* 80340364 0033D2C4 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80340368 0033D2C8 3B E0 00 00 */ li r31, 0 +/* 8034036C 0033D2CC 28 03 00 00 */ cmplwi r3, 0 +/* 80340370 0033D2D0 41 82 00 20 */ beq lbl_80340390 +/* 80340374 0033D2D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80340378 0033D2D8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8034037C 0033D2DC 7D 89 03 A6 */ mtctr r12 +/* 80340380 0033D2E0 4E 80 04 21 */ bctrl +/* 80340384 0033D2E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80340388 0033D2E8 41 82 00 08 */ beq lbl_80340390 +/* 8034038C 0033D2EC 3B E0 00 01 */ li r31, 1 +lbl_80340390: +/* 80340390 0033D2F0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80340394 0033D2F4 40 82 00 08 */ bne lbl_8034039C +/* 80340398 0033D2F8 3B C0 00 00 */ li r30, 0 +lbl_8034039C: +/* 8034039C 0033D2FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803403A0 0033D300 7F C3 F3 78 */ mr r3, r30 +/* 803403A4 0033D304 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803403A8 0033D308 83 C1 00 08 */ lwz r30, 8(r1) +/* 803403AC 0033D30C 7C 08 03 A6 */ mtlr r0 +/* 803403B0 0033D310 38 21 00 10 */ addi r1, r1, 0x10 +/* 803403B4 0033D314 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFPCcRC15CVParamTransfer +GetObj__11CSimplePoolFPCcRC15CVParamTransfer: +/* 803403B8 0033D318 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803403BC 0033D31C 7C 08 02 A6 */ mflr r0 +/* 803403C0 0033D320 90 01 00 24 */ stw r0, 0x24(r1) +/* 803403C4 0033D324 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803403C8 0033D328 7C DF 33 78 */ mr r31, r6 +/* 803403CC 0033D32C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803403D0 0033D330 7C 9E 23 78 */ mr r30, r4 +/* 803403D4 0033D334 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803403D8 0033D338 7C 7D 1B 78 */ mr r29, r3 +/* 803403DC 0033D33C 80 64 00 18 */ lwz r3, 0x18(r4) +/* 803403E0 0033D340 7C A4 2B 78 */ mr r4, r5 +/* 803403E4 0033D344 81 83 00 00 */ lwz r12, 0(r3) +/* 803403E8 0033D348 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 803403EC 0033D34C 7D 89 03 A6 */ mtctr r12 +/* 803403F0 0033D350 4E 80 04 21 */ bctrl +/* 803403F4 0033D354 7C 60 1B 78 */ mr r0, r3 +/* 803403F8 0033D358 7F A3 EB 78 */ mr r3, r29 +/* 803403FC 0033D35C 7C 05 03 78 */ mr r5, r0 +/* 80340400 0033D360 7F C4 F3 78 */ mr r4, r30 +/* 80340404 0033D364 7F E6 FB 78 */ mr r6, r31 +/* 80340408 0033D368 48 00 00 81 */ bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer +/* 8034040C 0033D36C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340410 0033D370 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80340414 0033D374 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80340418 0033D378 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034041C 0033D37C 7C 08 03 A6 */ mtlr r0 +/* 80340420 0033D380 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340424 0033D384 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFPCc +GetObj__11CSimplePoolFPCc: +/* 80340428 0033D388 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034042C 0033D38C 7C 08 02 A6 */ mflr r0 +/* 80340430 0033D390 38 C4 00 1C */ addi r6, r4, 0x1c +/* 80340434 0033D394 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340438 0033D398 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034043C 0033D39C 7C 7F 1B 78 */ mr r31, r3 +/* 80340440 0033D3A0 4B FF FF 79 */ bl GetObj__11CSimplePoolFPCcRC15CVParamTransfer +/* 80340444 0033D3A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340448 0033D3A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034044C 0033D3AC 7C 08 03 A6 */ mtlr r0 +/* 80340450 0033D3B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340454 0033D3B4 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFRC10SObjectTag +GetObj__11CSimplePoolFRC10SObjectTag: +/* 80340458 0033D3B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034045C 0033D3BC 7C 08 02 A6 */ mflr r0 +/* 80340460 0033D3C0 38 C4 00 1C */ addi r6, r4, 0x1c +/* 80340464 0033D3C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340468 0033D3C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034046C 0033D3CC 7C 7F 1B 78 */ mr r31, r3 +/* 80340470 0033D3D0 48 00 00 19 */ bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer +/* 80340474 0033D3D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340478 0033D3D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034047C 0033D3DC 7C 08 03 A6 */ mtlr r0 +/* 80340480 0033D3E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340484 0033D3E4 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer +GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer: +/* 80340488 0033D3E8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8034048C 0033D3EC 7C 08 02 A6 */ mflr r0 +/* 80340490 0033D3F0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80340494 0033D3F4 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 80340498 0033D3F8 7C 9D 23 78 */ mr r29, r4 +/* 8034049C 0033D3FC 7C BE 2B 78 */ mr r30, r5 +/* 803404A0 0033D400 7C 7C 1B 78 */ mr r28, r3 +/* 803404A4 0033D404 7C DF 33 78 */ mr r31, r6 +/* 803404A8 0033D408 38 A0 00 00 */ li r5, 0 +/* 803404AC 0033D40C 80 84 00 14 */ lwz r4, 0x14(r4) +/* 803404B0 0033D410 48 00 00 24 */ b lbl_803404D4 +lbl_803404B4: +/* 803404B4 0033D414 80 64 00 14 */ lwz r3, 0x14(r4) +/* 803404B8 0033D418 80 1E 00 04 */ lwz r0, 4(r30) +/* 803404BC 0033D41C 7C 03 00 40 */ cmplw r3, r0 +/* 803404C0 0033D420 41 80 00 10 */ blt lbl_803404D0 +/* 803404C4 0033D424 7C 85 23 78 */ mr r5, r4 +/* 803404C8 0033D428 80 84 00 00 */ lwz r4, 0(r4) +/* 803404CC 0033D42C 48 00 00 08 */ b lbl_803404D4 +lbl_803404D0: +/* 803404D0 0033D430 80 84 00 04 */ lwz r4, 4(r4) +lbl_803404D4: +/* 803404D4 0033D434 28 04 00 00 */ cmplwi r4, 0 +/* 803404D8 0033D438 40 82 FF DC */ bne lbl_803404B4 +/* 803404DC 0033D43C 28 05 00 00 */ cmplwi r5, 0 +/* 803404E0 0033D440 38 80 00 00 */ li r4, 0 +/* 803404E4 0033D444 41 82 00 14 */ beq lbl_803404F8 +/* 803404E8 0033D448 80 7E 00 04 */ lwz r3, 4(r30) +/* 803404EC 0033D44C 80 05 00 14 */ lwz r0, 0x14(r5) +/* 803404F0 0033D450 7C 03 00 40 */ cmplw r3, r0 +/* 803404F4 0033D454 40 80 00 08 */ bge lbl_803404FC +lbl_803404F8: +/* 803404F8 0033D458 38 80 00 01 */ li r4, 1 +lbl_803404FC: +/* 803404FC 0033D45C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80340500 0033D460 41 82 00 08 */ beq lbl_80340508 +/* 80340504 0033D464 38 A0 00 00 */ li r5, 0 +lbl_80340508: +/* 80340508 0033D468 38 00 00 00 */ li r0, 0 +/* 8034050C 0033D46C 38 7D 00 0C */ addi r3, r29, 0xc +/* 80340510 0033D470 7C 05 00 40 */ cmplw r5, r0 +/* 80340514 0033D474 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340518 0033D478 90 61 00 18 */ stw r3, 0x18(r1) +/* 8034051C 0033D47C 40 82 00 0C */ bne lbl_80340528 +/* 80340520 0033D480 7C 03 18 40 */ cmplw r3, r3 +/* 80340524 0033D484 41 82 00 08 */ beq lbl_8034052C +lbl_80340528: +/* 80340528 0033D488 38 00 00 01 */ li r0, 1 +lbl_8034052C: +/* 8034052C 0033D48C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80340530 0033D490 41 82 00 14 */ beq lbl_80340544 +/* 80340534 0033D494 80 85 00 18 */ lwz r4, 0x18(r5) +/* 80340538 0033D498 7F 83 E3 78 */ mr r3, r28 +/* 8034053C 0033D49C 48 00 0A A9 */ bl __ct__6CTokenFP16CObjectReference +/* 80340540 0033D4A0 48 00 00 E0 */ b lbl_80340620 +lbl_80340544: +/* 80340544 0033D4A4 3C 60 80 3D */ lis r3, lbl_803D7A98@ha +/* 80340548 0033D4A8 3B 40 00 00 */ li r26, 0 +/* 8034054C 0033D4AC 38 83 7A 98 */ addi r4, r3, lbl_803D7A98@l +/* 80340550 0033D4B0 3B 20 00 00 */ li r25, 0 +/* 80340554 0033D4B4 38 60 00 18 */ li r3, 0x18 +/* 80340558 0033D4B8 38 A0 00 00 */ li r5, 0 +/* 8034055C 0033D4BC 4B FD 53 11 */ bl __nw__FUlPCcPCc +/* 80340560 0033D4C0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80340564 0033D4C4 41 82 00 44 */ beq lbl_803405A8 +/* 80340568 0033D4C8 81 3F 00 00 */ lwz r9, 0(r31) +/* 8034056C 0033D4CC 38 00 00 00 */ li r0, 0 +/* 80340570 0033D4D0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80340574 0033D4D4 7F A4 EB 78 */ mr r4, r29 +/* 80340578 0033D4D8 7F C6 F3 78 */ mr r6, r30 +/* 8034057C 0033D4DC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80340580 0033D4E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80340584 0033D4E4 38 E1 00 08 */ addi r7, r1, 8 +/* 80340588 0033D4E8 3B 20 00 01 */ li r25, 1 +/* 8034058C 0033D4EC 3B 40 00 01 */ li r26, 1 +/* 80340590 0033D4F0 91 21 00 08 */ stw r9, 8(r1) +/* 80340594 0033D4F4 81 09 00 04 */ lwz r8, 4(r9) +/* 80340598 0033D4F8 38 08 00 01 */ addi r0, r8, 1 +/* 8034059C 0033D4FC 90 09 00 04 */ stw r0, 4(r9) +/* 803405A0 0033D500 4B FF F9 DD */ bl "__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer" +/* 803405A4 0033D504 7C 7B 1B 78 */ mr r27, r3 +lbl_803405A8: +/* 803405A8 0033D508 7F 20 07 75 */ extsb. r0, r25 +/* 803405AC 0033D50C 41 82 00 30 */ beq lbl_803405DC +/* 803405B0 0033D510 88 01 00 0C */ lbz r0, 0xc(r1) +/* 803405B4 0033D514 28 00 00 00 */ cmplwi r0, 0 +/* 803405B8 0033D518 41 82 00 24 */ beq lbl_803405DC +/* 803405BC 0033D51C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803405C0 0033D520 28 03 00 00 */ cmplwi r3, 0 +/* 803405C4 0033D524 41 82 00 18 */ beq lbl_803405DC +/* 803405C8 0033D528 81 83 00 00 */ lwz r12, 0(r3) +/* 803405CC 0033D52C 38 80 00 01 */ li r4, 1 +/* 803405D0 0033D530 81 8C 00 08 */ lwz r12, 8(r12) +/* 803405D4 0033D534 7D 89 03 A6 */ mtctr r12 +/* 803405D8 0033D538 4E 80 04 21 */ bctrl +lbl_803405DC: +/* 803405DC 0033D53C 7F 40 07 75 */ extsb. r0, r26 +/* 803405E0 0033D540 41 82 00 0C */ beq lbl_803405EC +/* 803405E4 0033D544 38 61 00 08 */ addi r3, r1, 8 +/* 803405E8 0033D548 4B CF 3D 1D */ bl sub_80034304 +lbl_803405EC: +/* 803405EC 0033D54C 80 BE 00 00 */ lwz r5, 0(r30) +/* 803405F0 0033D550 38 61 00 1C */ addi r3, r1, 0x1c +/* 803405F4 0033D554 80 1E 00 04 */ lwz r0, 4(r30) +/* 803405F8 0033D558 38 9D 00 04 */ addi r4, r29, 4 +/* 803405FC 0033D55C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80340600 0033D560 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80340604 0033D564 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80340608 0033D568 93 61 00 30 */ stw r27, 0x30(r1) +/* 8034060C 0033D56C 80 BD 00 14 */ lwz r5, 0x14(r29) +/* 80340610 0033D570 48 00 04 69 */ bl sub_80340a78 +/* 80340614 0033D574 7F 83 E3 78 */ mr r3, r28 +/* 80340618 0033D578 7F 64 DB 78 */ mr r4, r27 +/* 8034061C 0033D57C 48 00 09 C9 */ bl __ct__6CTokenFP16CObjectReference +lbl_80340620: +/* 80340620 0033D580 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80340624 0033D584 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80340628 0033D588 7C 08 03 A6 */ mtlr r0 +/* 8034062C 0033D58C 38 21 00 60 */ addi r1, r1, 0x60 +/* 80340630 0033D590 4E 80 00 20 */ blr + +.global ObjectUnreferenced__11CSimplePoolFRC10SObjectTag +ObjectUnreferenced__11CSimplePoolFRC10SObjectTag: +/* 80340634 0033D594 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80340638 0033D598 7C 08 02 A6 */ mflr r0 +/* 8034063C 0033D59C 38 C0 00 00 */ li r6, 0 +/* 80340640 0033D5A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80340644 0033D5A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80340648 0033D5A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034064C 0033D5AC 7C 7E 1B 78 */ mr r30, r3 +/* 80340650 0033D5B0 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80340654 0033D5B4 48 00 00 24 */ b lbl_80340678 +lbl_80340658: +/* 80340658 0033D5B8 80 65 00 14 */ lwz r3, 0x14(r5) +/* 8034065C 0033D5BC 80 04 00 04 */ lwz r0, 4(r4) +/* 80340660 0033D5C0 7C 03 00 40 */ cmplw r3, r0 +/* 80340664 0033D5C4 41 80 00 10 */ blt lbl_80340674 +/* 80340668 0033D5C8 7C A6 2B 78 */ mr r6, r5 +/* 8034066C 0033D5CC 80 A5 00 00 */ lwz r5, 0(r5) +/* 80340670 0033D5D0 48 00 00 08 */ b lbl_80340678 +lbl_80340674: +/* 80340674 0033D5D4 80 A5 00 04 */ lwz r5, 4(r5) +lbl_80340678: +/* 80340678 0033D5D8 28 05 00 00 */ cmplwi r5, 0 +/* 8034067C 0033D5DC 40 82 FF DC */ bne lbl_80340658 +/* 80340680 0033D5E0 28 06 00 00 */ cmplwi r6, 0 +/* 80340684 0033D5E4 38 A0 00 00 */ li r5, 0 +/* 80340688 0033D5E8 41 82 00 14 */ beq lbl_8034069C +/* 8034068C 0033D5EC 80 64 00 04 */ lwz r3, 4(r4) +/* 80340690 0033D5F0 80 06 00 14 */ lwz r0, 0x14(r6) +/* 80340694 0033D5F4 7C 03 00 40 */ cmplw r3, r0 +/* 80340698 0033D5F8 40 80 00 08 */ bge lbl_803406A0 +lbl_8034069C: +/* 8034069C 0033D5FC 38 A0 00 01 */ li r5, 1 +lbl_803406A0: +/* 803406A0 0033D600 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 803406A4 0033D604 41 82 00 08 */ beq lbl_803406AC +/* 803406A8 0033D608 38 C0 00 00 */ li r6, 0 +lbl_803406AC: +/* 803406AC 0033D60C 3B FE 00 0C */ addi r31, r30, 0xc +/* 803406B0 0033D610 90 C1 00 10 */ stw r6, 0x10(r1) +/* 803406B4 0033D614 7F E3 FB 78 */ mr r3, r31 +/* 803406B8 0033D618 7C C4 33 78 */ mr r4, r6 +/* 803406BC 0033D61C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 803406C0 0033D620 90 C1 00 08 */ stw r6, 8(r1) +/* 803406C4 0033D624 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803406C8 0033D628 4B FF BF 19 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 803406CC 0033D62C 80 81 00 08 */ lwz r4, 8(r1) +/* 803406D0 0033D630 7F E3 FB 78 */ mr r3, r31 +/* 803406D4 0033D634 4B FF BF A9 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 803406D8 0033D638 28 03 00 00 */ cmplwi r3, 0 +/* 803406DC 0033D63C 41 82 00 08 */ beq lbl_803406E4 +/* 803406E0 0033D640 4B FD 52 51 */ bl Free__7CMemoryFPCv +lbl_803406E4: +/* 803406E4 0033D644 80 7E 00 08 */ lwz r3, 8(r30) +/* 803406E8 0033D648 38 03 FF FF */ addi r0, r3, -1 +/* 803406EC 0033D64C 90 1E 00 08 */ stw r0, 8(r30) +/* 803406F0 0033D650 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803406F4 0033D654 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803406F8 0033D658 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803406FC 0033D65C 7C 08 03 A6 */ mtlr r0 +/* 80340700 0033D660 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340704 0033D664 4E 80 00 20 */ blr + +.global __dt__11CSimplePool +__dt__11CSimplePool: +/* 80340708 0033D668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034070C 0033D66C 7C 08 02 A6 */ mflr r0 +/* 80340710 0033D670 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340714 0033D674 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340718 0033D678 7C 9F 23 78 */ mr r31, r4 +/* 8034071C 0033D67C 93 C1 00 08 */ stw r30, 8(r1) +/* 80340720 0033D680 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80340724 0033D684 41 82 00 94 */ beq lbl_803407B8 +/* 80340728 0033D688 3C 80 80 3F */ lis r4, lbl_803EE410@ha +/* 8034072C 0033D68C 38 04 E4 10 */ addi r0, r4, lbl_803EE410@l +/* 80340730 0033D690 90 1E 00 00 */ stw r0, 0(r30) +/* 80340734 0033D694 81 83 00 00 */ lwz r12, 0(r3) +/* 80340738 0033D698 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8034073C 0033D69C 7D 89 03 A6 */ mtctr r12 +/* 80340740 0033D6A0 4E 80 04 21 */ bctrl +/* 80340744 0033D6A4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340748 0033D6A8 2C 00 00 00 */ cmpwi r0, 0 +/* 8034074C 0033D6AC 40 81 00 0C */ ble lbl_80340758 +/* 80340750 0033D6B0 7F C3 F3 78 */ mr r3, r30 +/* 80340754 0033D6B4 4B FF FA 5D */ bl DebugDumpPool__11CSimplePoolCFv +lbl_80340758: +/* 80340758 0033D6B8 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8034075C 0033D6BC 41 82 00 14 */ beq lbl_80340770 +/* 80340760 0033D6C0 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 80340764 0033D6C4 41 82 00 0C */ beq lbl_80340770 +/* 80340768 0033D6C8 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8034076C 0033D6CC 4B CF 3B 99 */ bl sub_80034304 +lbl_80340770: +/* 80340770 0033D6D0 34 1E 00 04 */ addic. r0, r30, 4 +/* 80340774 0033D6D4 41 82 00 34 */ beq lbl_803407A8 +/* 80340778 0033D6D8 34 1E 00 04 */ addic. r0, r30, 4 +/* 8034077C 0033D6DC 41 82 00 2C */ beq lbl_803407A8 +/* 80340780 0033D6E0 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80340784 0033D6E4 28 04 00 00 */ cmplwi r4, 0 +/* 80340788 0033D6E8 41 82 00 0C */ beq lbl_80340794 +/* 8034078C 0033D6EC 38 7E 00 04 */ addi r3, r30, 4 +/* 80340790 0033D6F0 48 00 01 8D */ bl sub_8034091c +lbl_80340794: +/* 80340794 0033D6F4 38 00 00 00 */ li r0, 0 +/* 80340798 0033D6F8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8034079C 0033D6FC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 803407A0 0033D700 90 1E 00 10 */ stw r0, 0x10(r30) +/* 803407A4 0033D704 90 1E 00 08 */ stw r0, 8(r30) +lbl_803407A8: +/* 803407A8 0033D708 7F E0 07 35 */ extsh. r0, r31 +/* 803407AC 0033D70C 40 81 00 0C */ ble lbl_803407B8 +/* 803407B0 0033D710 7F C3 F3 78 */ mr r3, r30 +/* 803407B4 0033D714 4B FD 51 7D */ bl Free__7CMemoryFPCv +lbl_803407B8: +/* 803407B8 0033D718 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803407BC 0033D71C 7F C3 F3 78 */ mr r3, r30 +/* 803407C0 0033D720 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803407C4 0033D724 83 C1 00 08 */ lwz r30, 8(r1) +/* 803407C8 0033D728 7C 08 03 A6 */ mtlr r0 +/* 803407CC 0033D72C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803407D0 0033D730 4E 80 00 20 */ blr + +.global __ct__11CSimplePoolFR8IFactory +__ct__11CSimplePoolFR8IFactory: +/* 803407D4 0033D734 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803407D8 0033D738 7C 08 02 A6 */ mflr r0 +/* 803407DC 0033D73C 3C A0 80 3F */ lis r5, lbl_803EE3E4@ha +/* 803407E0 0033D740 90 01 00 24 */ stw r0, 0x24(r1) +/* 803407E4 0033D744 38 05 E3 E4 */ addi r0, r5, lbl_803EE3E4@l +/* 803407E8 0033D748 88 A1 00 08 */ lbz r5, 8(r1) +/* 803407EC 0033D74C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803407F0 0033D750 7C 7F 1B 78 */ mr r31, r3 +/* 803407F4 0033D754 3C 60 80 3F */ lis r3, lbl_803EE410@ha +/* 803407F8 0033D758 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803407FC 0033D75C 38 63 E4 10 */ addi r3, r3, lbl_803EE410@l +/* 80340800 0033D760 90 1F 00 00 */ stw r0, 0(r31) +/* 80340804 0033D764 38 00 00 00 */ li r0, 0 +/* 80340808 0033D768 90 7F 00 00 */ stw r3, 0(r31) +/* 8034080C 0033D76C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80340810 0033D770 88 CD A9 48 */ lbz r6, lbl_805A9508@sda21(r13) +/* 80340814 0033D774 98 BF 00 04 */ stb r5, 4(r31) +/* 80340818 0033D778 98 DF 00 05 */ stb r6, 5(r31) +/* 8034081C 0033D77C 90 1F 00 08 */ stw r0, 8(r31) +/* 80340820 0033D780 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80340824 0033D784 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80340828 0033D788 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8034082C 0033D78C 98 C1 00 0C */ stb r6, 0xc(r1) +/* 80340830 0033D790 90 9F 00 18 */ stw r4, 0x18(r31) +/* 80340834 0033D794 4B CF 41 21 */ bl Null__15CVParamTransferFv +/* 80340838 0033D798 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034083C 0033D79C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80340840 0033D7A0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80340844 0033D7A4 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80340848 0033D7A8 80 85 00 04 */ lwz r4, 4(r5) +/* 8034084C 0033D7AC 38 04 00 01 */ addi r0, r4, 1 +/* 80340850 0033D7B0 90 05 00 04 */ stw r0, 4(r5) +/* 80340854 0033D7B4 4B CF 3A B1 */ bl sub_80034304 +/* 80340858 0033D7B8 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 8034085C 0033D7BC 38 60 00 08 */ li r3, 8 +/* 80340860 0033D7C0 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340864 0033D7C4 38 A0 00 00 */ li r5, 0 +/* 80340868 0033D7C8 4B FD 50 05 */ bl __nw__FUlPCcPCc +/* 8034086C 0033D7CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80340870 0033D7D0 41 82 00 2C */ beq lbl_8034089C +/* 80340874 0033D7D4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80340878 0033D7D8 3C 80 80 3E */ lis r4, lbl_803D9C44@ha +/* 8034087C 0033D7DC 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80340880 0033D7E0 3C 60 80 3F */ lis r3, lbl_803EE3D8@ha +/* 80340884 0033D7E4 90 1E 00 00 */ stw r0, 0(r30) +/* 80340888 0033D7E8 38 84 9C 44 */ addi r4, r4, lbl_803D9C44@l +/* 8034088C 0033D7EC 38 03 E3 D8 */ addi r0, r3, lbl_803EE3D8@l +/* 80340890 0033D7F0 90 9E 00 00 */ stw r4, 0(r30) +/* 80340894 0033D7F4 90 1E 00 00 */ stw r0, 0(r30) +/* 80340898 0033D7F8 93 FE 00 04 */ stw r31, 4(r30) +lbl_8034089C: +/* 8034089C 0033D7FC 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 803408A0 0033D800 38 60 00 08 */ li r3, 8 +/* 803408A4 0033D804 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 803408A8 0033D808 38 A0 00 00 */ li r5, 0 +/* 803408AC 0033D80C 4B FD 4F C1 */ bl __nw__FUlPCcPCc +/* 803408B0 0033D810 28 03 00 00 */ cmplwi r3, 0 +/* 803408B4 0033D814 41 82 00 10 */ beq lbl_803408C4 +/* 803408B8 0033D818 93 C3 00 00 */ stw r30, 0(r3) +/* 803408BC 0033D81C 38 00 00 01 */ li r0, 1 +/* 803408C0 0033D820 90 03 00 04 */ stw r0, 4(r3) +lbl_803408C4: +/* 803408C4 0033D824 90 61 00 10 */ stw r3, 0x10(r1) +/* 803408C8 0033D828 38 9F 00 1C */ addi r4, r31, 0x1c +/* 803408CC 0033D82C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 803408D0 0033D830 7C 00 18 40 */ cmplw r0, r3 +/* 803408D4 0033D834 41 82 00 24 */ beq lbl_803408F8 +/* 803408D8 0033D838 7C 83 23 78 */ mr r3, r4 +/* 803408DC 0033D83C 4B CF 3A 29 */ bl sub_80034304 +/* 803408E0 0033D840 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803408E4 0033D844 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 803408E8 0033D848 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 803408EC 0033D84C 80 64 00 04 */ lwz r3, 4(r4) +/* 803408F0 0033D850 38 03 00 01 */ addi r0, r3, 1 +/* 803408F4 0033D854 90 04 00 04 */ stw r0, 4(r4) +lbl_803408F8: +/* 803408F8 0033D858 38 61 00 10 */ addi r3, r1, 0x10 +/* 803408FC 0033D85C 4B CF 3A 09 */ bl sub_80034304 +/* 80340900 0033D860 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340904 0033D864 7F E3 FB 78 */ mr r3, r31 +/* 80340908 0033D868 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034090C 0033D86C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80340910 0033D870 7C 08 03 A6 */ mtlr r0 +/* 80340914 0033D874 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340918 0033D878 4E 80 00 20 */ blr + +.global sub_8034091c +sub_8034091c: +/* 8034091C 0033D87C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340920 0033D880 7C 08 02 A6 */ mflr r0 +/* 80340924 0033D884 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340928 0033D888 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034092C 0033D88C 7C 9F 23 78 */ mr r31, r4 +/* 80340930 0033D890 93 C1 00 08 */ stw r30, 8(r1) +/* 80340934 0033D894 7C 7E 1B 78 */ mr r30, r3 +/* 80340938 0033D898 80 84 00 00 */ lwz r4, 0(r4) +/* 8034093C 0033D89C 28 04 00 00 */ cmplwi r4, 0 +/* 80340940 0033D8A0 41 82 00 08 */ beq lbl_80340948 +/* 80340944 0033D8A4 4B FF FF D9 */ bl sub_8034091c +lbl_80340948: +/* 80340948 0033D8A8 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034094C 0033D8AC 28 04 00 00 */ cmplwi r4, 0 +/* 80340950 0033D8B0 41 82 00 0C */ beq lbl_8034095C +/* 80340954 0033D8B4 7F C3 F3 78 */ mr r3, r30 +/* 80340958 0033D8B8 4B FF FF C5 */ bl sub_8034091c +lbl_8034095C: +/* 8034095C 0033D8BC 28 1F 00 00 */ cmplwi r31, 0 +/* 80340960 0033D8C0 41 82 00 0C */ beq lbl_8034096C +/* 80340964 0033D8C4 7F E3 FB 78 */ mr r3, r31 +/* 80340968 0033D8C8 4B FD 4F C9 */ bl Free__7CMemoryFPCv +lbl_8034096C: +/* 8034096C 0033D8CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340970 0033D8D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340974 0033D8D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340978 0033D8D8 7C 08 03 A6 */ mtlr r0 +/* 8034097C 0033D8DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340980 0033D8E0 4E 80 00 20 */ blr + +.global "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi": +/* 80340984 0033D8E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80340988 0033D8E8 7C 08 02 A6 */ mflr r0 +/* 8034098C 0033D8EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80340990 0033D8F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80340994 0033D8F4 7C 9F 23 78 */ mr r31, r4 +/* 80340998 0033D8F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034099C 0033D8FC 7C 7E 1B 78 */ mr r30, r3 +/* 803409A0 0033D900 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803409A4 0033D904 80 03 00 08 */ lwz r0, 8(r3) +/* 803409A8 0033D908 7C 1F 00 00 */ cmpw r31, r0 +/* 803409AC 0033D90C 40 81 00 B0 */ ble lbl_80340A5C +/* 803409B0 0033D910 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 803409B4 0033D914 40 82 00 0C */ bne lbl_803409C0 +/* 803409B8 0033D918 3B A0 00 00 */ li r29, 0 +/* 803409BC 0033D91C 48 00 00 18 */ b lbl_803409D4 +lbl_803409C0: +/* 803409C0 0033D920 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 803409C4 0033D924 38 A0 00 00 */ li r5, 0 +/* 803409C8 0033D928 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 803409CC 0033D92C 4B FD 4E 4D */ bl __nwa__FUlPCcPCc +/* 803409D0 0033D930 7C 7D 1B 78 */ mr r29, r3 +lbl_803409D4: +/* 803409D4 0033D934 80 1E 00 04 */ lwz r0, 4(r30) +/* 803409D8 0033D938 7F A4 EB 78 */ mr r4, r29 +/* 803409DC 0033D93C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 803409E0 0033D940 54 00 18 38 */ slwi r0, r0, 3 +/* 803409E4 0033D944 7C 65 02 14 */ add r3, r5, r0 +/* 803409E8 0033D948 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803409EC 0033D94C 90 61 00 08 */ stw r3, 8(r1) +/* 803409F0 0033D950 90 61 00 0C */ stw r3, 0xc(r1) +/* 803409F4 0033D954 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803409F8 0033D958 48 00 00 24 */ b lbl_80340A1C +lbl_803409FC: +/* 803409FC 0033D95C 28 04 00 00 */ cmplwi r4, 0 +/* 80340A00 0033D960 41 82 00 14 */ beq lbl_80340A14 +/* 80340A04 0033D964 80 05 00 00 */ lwz r0, 0(r5) +/* 80340A08 0033D968 90 04 00 00 */ stw r0, 0(r4) +/* 80340A0C 0033D96C 80 05 00 04 */ lwz r0, 4(r5) +/* 80340A10 0033D970 90 04 00 04 */ stw r0, 4(r4) +lbl_80340A14: +/* 80340A14 0033D974 38 84 00 08 */ addi r4, r4, 8 +/* 80340A18 0033D978 38 A5 00 08 */ addi r5, r5, 8 +lbl_80340A1C: +/* 80340A1C 0033D97C 7C 05 18 40 */ cmplw r5, r3 +/* 80340A20 0033D980 40 82 FF DC */ bne lbl_803409FC +/* 80340A24 0033D984 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340A28 0033D988 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80340A2C 0033D98C 54 00 18 38 */ slwi r0, r0, 3 +/* 80340A30 0033D990 7C 64 1B 78 */ mr r4, r3 +/* 80340A34 0033D994 7C 03 02 14 */ add r0, r3, r0 +/* 80340A38 0033D998 48 00 00 08 */ b lbl_80340A40 +lbl_80340A3C: +/* 80340A3C 0033D99C 38 84 00 08 */ addi r4, r4, 8 +lbl_80340A40: +/* 80340A40 0033D9A0 7C 04 00 40 */ cmplw r4, r0 +/* 80340A44 0033D9A4 40 82 FF F8 */ bne lbl_80340A3C +/* 80340A48 0033D9A8 28 03 00 00 */ cmplwi r3, 0 +/* 80340A4C 0033D9AC 41 82 00 08 */ beq lbl_80340A54 +/* 80340A50 0033D9B0 4B FD 4E E1 */ bl Free__7CMemoryFPCv +lbl_80340A54: +/* 80340A54 0033D9B4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80340A58 0033D9B8 93 FE 00 08 */ stw r31, 8(r30) +lbl_80340A5C: +/* 80340A5C 0033D9BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80340A60 0033D9C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80340A64 0033D9C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80340A68 0033D9C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80340A6C 0033D9CC 7C 08 03 A6 */ mtlr r0 +/* 80340A70 0033D9D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80340A74 0033D9D4 4E 80 00 20 */ blr + +.global sub_80340a78 +sub_80340a78: +/* 80340A78 0033D9D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80340A7C 0033D9DC 7C 08 02 A6 */ mflr r0 +/* 80340A80 0033D9E0 28 05 00 00 */ cmplwi r5, 0 +/* 80340A84 0033D9E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80340A88 0033D9E8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80340A8C 0033D9EC 7C 7C 1B 78 */ mr r28, r3 +/* 80340A90 0033D9F0 7C 9D 23 78 */ mr r29, r4 +/* 80340A94 0033D9F4 7C DE 33 78 */ mr r30, r6 +/* 80340A98 0033D9F8 40 82 00 90 */ bne lbl_80340B28 +/* 80340A9C 0033D9FC 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340AA0 0033DA00 38 60 00 1C */ li r3, 0x1c +/* 80340AA4 0033DA04 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340AA8 0033DA08 38 A0 00 00 */ li r5, 0 +/* 80340AAC 0033DA0C 4B FD 4D 6D */ bl __nwa__FUlPCcPCc +/* 80340AB0 0033DA10 28 03 00 00 */ cmplwi r3, 0 +/* 80340AB4 0033DA14 41 82 00 38 */ beq lbl_80340AEC +/* 80340AB8 0033DA18 38 00 00 00 */ li r0, 0 +/* 80340ABC 0033DA1C 34 83 00 10 */ addic. r4, r3, 0x10 +/* 80340AC0 0033DA20 90 03 00 00 */ stw r0, 0(r3) +/* 80340AC4 0033DA24 90 03 00 04 */ stw r0, 4(r3) +/* 80340AC8 0033DA28 90 03 00 08 */ stw r0, 8(r3) +/* 80340ACC 0033DA2C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80340AD0 0033DA30 41 82 00 1C */ beq lbl_80340AEC +/* 80340AD4 0033DA34 80 1E 00 00 */ lwz r0, 0(r30) +/* 80340AD8 0033DA38 90 04 00 00 */ stw r0, 0(r4) +/* 80340ADC 0033DA3C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340AE0 0033DA40 90 04 00 04 */ stw r0, 4(r4) +/* 80340AE4 0033DA44 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340AE8 0033DA48 90 04 00 08 */ stw r0, 8(r4) +lbl_80340AEC: +/* 80340AEC 0033DA4C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 80340AF0 0033DA50 38 1D 00 08 */ addi r0, r29, 8 +/* 80340AF4 0033DA54 80 7D 00 04 */ lwz r3, 4(r29) +/* 80340AF8 0033DA58 38 63 00 01 */ addi r3, r3, 1 +/* 80340AFC 0033DA5C 90 7D 00 04 */ stw r3, 4(r29) +/* 80340B00 0033DA60 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80340B04 0033DA64 90 7D 00 08 */ stw r3, 8(r29) +/* 80340B08 0033DA68 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80340B0C 0033DA6C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80340B10 0033DA70 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80340B14 0033DA74 90 7C 00 00 */ stw r3, 0(r28) +/* 80340B18 0033DA78 90 1C 00 04 */ stw r0, 4(r28) +/* 80340B1C 0033DA7C 88 0D 9D 50 */ lbz r0, lbl_805A8910@sda21(r13) +/* 80340B20 0033DA80 98 1C 00 08 */ stb r0, 8(r28) +/* 80340B24 0033DA84 48 00 01 8C */ b lbl_80340CB0 +lbl_80340B28: +/* 80340B28 0033DA88 7C BF 2B 78 */ mr r31, r5 +/* 80340B2C 0033DA8C 3B 60 00 00 */ li r27, 0 +/* 80340B30 0033DA90 48 00 01 4C */ b lbl_80340C7C +lbl_80340B34: +/* 80340B34 0033DA94 80 7E 00 04 */ lwz r3, 4(r30) +/* 80340B38 0033DA98 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 80340B3C 0033DA9C 7C 80 1A 78 */ xor r0, r4, r3 +/* 80340B40 0033DAA0 7C 00 00 34 */ cntlzw r0, r0 +/* 80340B44 0033DAA4 7C 80 00 30 */ slw r0, r4, r0 +/* 80340B48 0033DAA8 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80340B4C 0033DAAC 40 82 00 24 */ bne lbl_80340B70 +/* 80340B50 0033DAB0 7C 04 18 40 */ cmplw r4, r3 +/* 80340B54 0033DAB4 41 80 00 1C */ blt lbl_80340B70 +/* 80340B58 0033DAB8 93 FC 00 00 */ stw r31, 0(r28) +/* 80340B5C 0033DABC 38 1D 00 08 */ addi r0, r29, 8 +/* 80340B60 0033DAC0 90 1C 00 04 */ stw r0, 4(r28) +/* 80340B64 0033DAC4 88 0D 9D 51 */ lbz r0, lbl_805A8911@sda21(r13) +/* 80340B68 0033DAC8 98 1C 00 08 */ stb r0, 8(r28) +/* 80340B6C 0033DACC 48 00 01 44 */ b lbl_80340CB0 +lbl_80340B70: +/* 80340B70 0033DAD0 28 00 00 00 */ cmplwi r0, 0 +/* 80340B74 0033DAD4 41 82 00 88 */ beq lbl_80340BFC +/* 80340B78 0033DAD8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80340B7C 0033DADC 28 00 00 00 */ cmplwi r0, 0 +/* 80340B80 0033DAE0 40 82 00 74 */ bne lbl_80340BF4 +/* 80340B84 0033DAE4 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340B88 0033DAE8 38 60 00 1C */ li r3, 0x1c +/* 80340B8C 0033DAEC 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340B90 0033DAF0 38 A0 00 00 */ li r5, 0 +/* 80340B94 0033DAF4 4B FD 4C 85 */ bl __nwa__FUlPCcPCc +/* 80340B98 0033DAF8 28 03 00 00 */ cmplwi r3, 0 +/* 80340B9C 0033DAFC 41 82 00 3C */ beq lbl_80340BD8 +/* 80340BA0 0033DB00 38 80 00 00 */ li r4, 0 +/* 80340BA4 0033DB04 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80340BA8 0033DB08 90 83 00 00 */ stw r4, 0(r3) +/* 80340BAC 0033DB0C 38 00 00 01 */ li r0, 1 +/* 80340BB0 0033DB10 90 83 00 04 */ stw r4, 4(r3) +/* 80340BB4 0033DB14 93 E3 00 08 */ stw r31, 8(r3) +/* 80340BB8 0033DB18 90 03 00 0C */ stw r0, 0xc(r3) +/* 80340BBC 0033DB1C 41 82 00 1C */ beq lbl_80340BD8 +/* 80340BC0 0033DB20 80 1E 00 00 */ lwz r0, 0(r30) +/* 80340BC4 0033DB24 90 05 00 00 */ stw r0, 0(r5) +/* 80340BC8 0033DB28 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340BCC 0033DB2C 90 05 00 04 */ stw r0, 4(r5) +/* 80340BD0 0033DB30 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340BD4 0033DB34 90 05 00 08 */ stw r0, 8(r5) +lbl_80340BD8: +/* 80340BD8 0033DB38 90 7F 00 00 */ stw r3, 0(r31) +/* 80340BDC 0033DB3C 7C 7B 1B 78 */ mr r27, r3 +/* 80340BE0 0033DB40 80 1D 00 08 */ lwz r0, 8(r29) +/* 80340BE4 0033DB44 7C 1F 00 40 */ cmplw r31, r0 +/* 80340BE8 0033DB48 40 82 00 94 */ bne lbl_80340C7C +/* 80340BEC 0033DB4C 90 7D 00 08 */ stw r3, 8(r29) +/* 80340BF0 0033DB50 48 00 00 8C */ b lbl_80340C7C +lbl_80340BF4: +/* 80340BF4 0033DB54 7C 1F 03 78 */ mr r31, r0 +/* 80340BF8 0033DB58 48 00 00 84 */ b lbl_80340C7C +lbl_80340BFC: +/* 80340BFC 0033DB5C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80340C00 0033DB60 28 00 00 00 */ cmplwi r0, 0 +/* 80340C04 0033DB64 40 82 00 74 */ bne lbl_80340C78 +/* 80340C08 0033DB68 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340C0C 0033DB6C 38 60 00 1C */ li r3, 0x1c +/* 80340C10 0033DB70 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340C14 0033DB74 38 A0 00 00 */ li r5, 0 +/* 80340C18 0033DB78 4B FD 4C 01 */ bl __nwa__FUlPCcPCc +/* 80340C1C 0033DB7C 28 03 00 00 */ cmplwi r3, 0 +/* 80340C20 0033DB80 41 82 00 3C */ beq lbl_80340C5C +/* 80340C24 0033DB84 38 80 00 00 */ li r4, 0 +/* 80340C28 0033DB88 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80340C2C 0033DB8C 90 83 00 00 */ stw r4, 0(r3) +/* 80340C30 0033DB90 38 00 00 01 */ li r0, 1 +/* 80340C34 0033DB94 90 83 00 04 */ stw r4, 4(r3) +/* 80340C38 0033DB98 93 E3 00 08 */ stw r31, 8(r3) +/* 80340C3C 0033DB9C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80340C40 0033DBA0 41 82 00 1C */ beq lbl_80340C5C +/* 80340C44 0033DBA4 80 1E 00 00 */ lwz r0, 0(r30) +/* 80340C48 0033DBA8 90 05 00 00 */ stw r0, 0(r5) +/* 80340C4C 0033DBAC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340C50 0033DBB0 90 05 00 04 */ stw r0, 4(r5) +/* 80340C54 0033DBB4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340C58 0033DBB8 90 05 00 08 */ stw r0, 8(r5) +lbl_80340C5C: +/* 80340C5C 0033DBBC 90 7F 00 04 */ stw r3, 4(r31) +/* 80340C60 0033DBC0 7C 7B 1B 78 */ mr r27, r3 +/* 80340C64 0033DBC4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80340C68 0033DBC8 7C 1F 00 40 */ cmplw r31, r0 +/* 80340C6C 0033DBCC 40 82 00 10 */ bne lbl_80340C7C +/* 80340C70 0033DBD0 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80340C74 0033DBD4 48 00 00 08 */ b lbl_80340C7C +lbl_80340C78: +/* 80340C78 0033DBD8 7C 1F 03 78 */ mr r31, r0 +lbl_80340C7C: +/* 80340C7C 0033DBDC 28 1B 00 00 */ cmplwi r27, 0 +/* 80340C80 0033DBE0 41 82 FE B4 */ beq lbl_80340B34 +/* 80340C84 0033DBE4 80 BD 00 04 */ lwz r5, 4(r29) +/* 80340C88 0033DBE8 7F 64 DB 78 */ mr r4, r27 +/* 80340C8C 0033DBEC 38 7D 00 08 */ addi r3, r29, 8 +/* 80340C90 0033DBF0 38 05 00 01 */ addi r0, r5, 1 +/* 80340C94 0033DBF4 90 1D 00 04 */ stw r0, 4(r29) +/* 80340C98 0033DBF8 4B FF BE 01 */ bl rbtree_rebalance__4rstlFPvPv +/* 80340C9C 0033DBFC 93 7C 00 00 */ stw r27, 0(r28) +/* 80340CA0 0033DC00 38 1D 00 08 */ addi r0, r29, 8 +/* 80340CA4 0033DC04 90 1C 00 04 */ stw r0, 4(r28) +/* 80340CA8 0033DC08 88 0D 9D 52 */ lbz r0, lbl_805A8912@sda21(r13) +/* 80340CAC 0033DC0C 98 1C 00 08 */ stb r0, 8(r28) +lbl_80340CB0: +/* 80340CB0 0033DC10 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80340CB4 0033DC14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340CB8 0033DC18 7C 08 03 A6 */ mtlr r0 +/* 80340CBC 0033DC1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340CC0 0033DC20 4E 80 00 20 */ blr + +.global __as__6CTokenFRC6CToken +__as__6CTokenFRC6CToken: +/* 80340CC4 0033DC24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340CC8 0033DC28 7C 08 02 A6 */ mflr r0 +/* 80340CCC 0033DC2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340CD0 0033DC30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340CD4 0033DC34 7C 9F 23 78 */ mr r31, r4 +/* 80340CD8 0033DC38 93 C1 00 08 */ stw r30, 8(r1) +/* 80340CDC 0033DC3C 7C 7E 1B 78 */ mr r30, r3 +/* 80340CE0 0033DC40 7C 1F F0 40 */ cmplw r31, r30 +/* 80340CE4 0033DC44 40 82 00 08 */ bne lbl_80340CEC +/* 80340CE8 0033DC48 48 00 00 40 */ b lbl_80340D28 +lbl_80340CEC: +/* 80340CEC 0033DC4C 48 00 00 55 */ bl Unlock__6CTokenFv +/* 80340CF0 0033DC50 7F C3 F3 78 */ mr r3, r30 +/* 80340CF4 0033DC54 48 00 00 D5 */ bl RemoveRef__6CTokenFv +/* 80340CF8 0033DC58 80 1F 00 00 */ lwz r0, 0(r31) +/* 80340CFC 0033DC5C 90 1E 00 00 */ stw r0, 0(r30) +/* 80340D00 0033DC60 80 9E 00 00 */ lwz r4, 0(r30) +/* 80340D04 0033DC64 A8 64 00 00 */ lha r3, 0(r4) +/* 80340D08 0033DC68 38 03 00 01 */ addi r0, r3, 1 +/* 80340D0C 0033DC6C B0 04 00 00 */ sth r0, 0(r4) +/* 80340D10 0033DC70 88 1F 00 04 */ lbz r0, 4(r31) +/* 80340D14 0033DC74 28 00 00 00 */ cmplwi r0, 0 +/* 80340D18 0033DC78 41 82 00 0C */ beq lbl_80340D24 +/* 80340D1C 0033DC7C 7F C3 F3 78 */ mr r3, r30 +/* 80340D20 0033DC80 48 00 00 65 */ bl Lock__6CTokenFv +lbl_80340D24: +/* 80340D24 0033DC84 7F C3 F3 78 */ mr r3, r30 +lbl_80340D28: +/* 80340D28 0033DC88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340D2C 0033DC8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340D30 0033DC90 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340D34 0033DC94 7C 08 03 A6 */ mtlr r0 +/* 80340D38 0033DC98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340D3C 0033DC9C 4E 80 00 20 */ blr + +.global Unlock__6CTokenFv +Unlock__6CTokenFv: +/* 80340D40 0033DCA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340D44 0033DCA4 7C 08 02 A6 */ mflr r0 +/* 80340D48 0033DCA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340D4C 0033DCAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340D50 0033DCB0 7C 7F 1B 78 */ mr r31, r3 +/* 80340D54 0033DCB4 88 03 00 04 */ lbz r0, 4(r3) +/* 80340D58 0033DCB8 28 00 00 00 */ cmplwi r0, 0 +/* 80340D5C 0033DCBC 41 82 00 14 */ beq lbl_80340D70 +/* 80340D60 0033DCC0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340D64 0033DCC4 4B FF ED 81 */ bl Unlock__16CObjectReferenceFv +/* 80340D68 0033DCC8 38 00 00 00 */ li r0, 0 +/* 80340D6C 0033DCCC 98 1F 00 04 */ stb r0, 4(r31) +lbl_80340D70: +/* 80340D70 0033DCD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340D74 0033DCD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340D78 0033DCD8 7C 08 03 A6 */ mtlr r0 +/* 80340D7C 0033DCDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340D80 0033DCE0 4E 80 00 20 */ blr + +.global Lock__6CTokenFv +Lock__6CTokenFv: +/* 80340D84 0033DCE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340D88 0033DCE8 7C 08 02 A6 */ mflr r0 +/* 80340D8C 0033DCEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340D90 0033DCF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340D94 0033DCF4 7C 7F 1B 78 */ mr r31, r3 +/* 80340D98 0033DCF8 88 03 00 04 */ lbz r0, 4(r3) +/* 80340D9C 0033DCFC 28 00 00 00 */ cmplwi r0, 0 +/* 80340DA0 0033DD00 40 82 00 14 */ bne lbl_80340DB4 +/* 80340DA4 0033DD04 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340DA8 0033DD08 4B FF EF E1 */ bl Lock__16CObjectReferenceFv +/* 80340DAC 0033DD0C 38 00 00 01 */ li r0, 1 +/* 80340DB0 0033DD10 98 1F 00 04 */ stb r0, 4(r31) +lbl_80340DB4: +/* 80340DB4 0033DD14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340DB8 0033DD18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340DBC 0033DD1C 7C 08 03 A6 */ mtlr r0 +/* 80340DC0 0033DD20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340DC4 0033DD24 4E 80 00 20 */ blr + +.global RemoveRef__6CTokenFv +RemoveRef__6CTokenFv: +/* 80340DC8 0033DD28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340DCC 0033DD2C 7C 08 02 A6 */ mflr r0 +/* 80340DD0 0033DD30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340DD4 0033DD34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340DD8 0033DD38 7C 7F 1B 78 */ mr r31, r3 +/* 80340DDC 0033DD3C 80 63 00 00 */ lwz r3, 0(r3) +/* 80340DE0 0033DD40 4B FF ED 91 */ bl RemoveReference__16CObjectReferenceFv +/* 80340DE4 0033DD44 2C 03 00 00 */ cmpwi r3, 0 +/* 80340DE8 0033DD48 40 82 00 10 */ bne lbl_80340DF8 +/* 80340DEC 0033DD4C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340DF0 0033DD50 38 80 00 01 */ li r4, 1 +/* 80340DF4 0033DD54 4B FF F0 35 */ bl __dt__16CObjectReferenceFv +lbl_80340DF8: +/* 80340DF8 0033DD58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340DFC 0033DD5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340E00 0033DD60 7C 08 03 A6 */ mtlr r0 +/* 80340E04 0033DD64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340E08 0033DD68 4E 80 00 20 */ blr + +.global GetObj__6CTokenFv +GetObj__6CTokenFv: +/* 80340E0C 0033DD6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340E10 0033DD70 7C 08 02 A6 */ mflr r0 +/* 80340E14 0033DD74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340E18 0033DD78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340E1C 0033DD7C 7C 7F 1B 78 */ mr r31, r3 +/* 80340E20 0033DD80 4B FF FF 65 */ bl Lock__6CTokenFv +/* 80340E24 0033DD84 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340E28 0033DD88 4B FF EE A9 */ bl GetObject__16CObjectReferenceFv +/* 80340E2C 0033DD8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340E30 0033DD90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340E34 0033DD94 7C 08 03 A6 */ mtlr r0 +/* 80340E38 0033DD98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340E3C 0033DD9C 4E 80 00 20 */ blr + +.global __dt__6CTokenFv +__dt__6CTokenFv: +/* 80340E40 0033DDA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340E44 0033DDA4 7C 08 02 A6 */ mflr r0 +/* 80340E48 0033DDA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340E4C 0033DDAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340E50 0033DDB0 7C 9F 23 78 */ mr r31, r4 +/* 80340E54 0033DDB4 93 C1 00 08 */ stw r30, 8(r1) +/* 80340E58 0033DDB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80340E5C 0033DDBC 41 82 00 30 */ beq lbl_80340E8C +/* 80340E60 0033DDC0 88 1E 00 04 */ lbz r0, 4(r30) +/* 80340E64 0033DDC4 28 00 00 00 */ cmplwi r0, 0 +/* 80340E68 0033DDC8 41 82 00 0C */ beq lbl_80340E74 +/* 80340E6C 0033DDCC 80 7E 00 00 */ lwz r3, 0(r30) +/* 80340E70 0033DDD0 4B FF EC 75 */ bl Unlock__16CObjectReferenceFv +lbl_80340E74: +/* 80340E74 0033DDD4 7F C3 F3 78 */ mr r3, r30 +/* 80340E78 0033DDD8 4B FF FF 51 */ bl RemoveRef__6CTokenFv +/* 80340E7C 0033DDDC 7F E0 07 35 */ extsh. r0, r31 +/* 80340E80 0033DDE0 40 81 00 0C */ ble lbl_80340E8C +/* 80340E84 0033DDE4 7F C3 F3 78 */ mr r3, r30 +/* 80340E88 0033DDE8 4B FD 4A A9 */ bl Free__7CMemoryFPCv +lbl_80340E8C: +/* 80340E8C 0033DDEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340E90 0033DDF0 7F C3 F3 78 */ mr r3, r30 +/* 80340E94 0033DDF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340E98 0033DDF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340E9C 0033DDFC 7C 08 03 A6 */ mtlr r0 +/* 80340EA0 0033DE00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340EA4 0033DE04 4E 80 00 20 */ blr + +.global __ct__6CTokenFRC6CToken +__ct__6CTokenFRC6CToken: +/* 80340EA8 0033DE08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340EAC 0033DE0C 7C 08 02 A6 */ mflr r0 +/* 80340EB0 0033DE10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340EB4 0033DE14 38 00 00 00 */ li r0, 0 +/* 80340EB8 0033DE18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340EBC 0033DE1C 7C 7F 1B 78 */ mr r31, r3 +/* 80340EC0 0033DE20 80 A4 00 00 */ lwz r5, 0(r4) +/* 80340EC4 0033DE24 90 A3 00 00 */ stw r5, 0(r3) +/* 80340EC8 0033DE28 98 03 00 04 */ stb r0, 4(r3) +/* 80340ECC 0033DE2C 80 C3 00 00 */ lwz r6, 0(r3) +/* 80340ED0 0033DE30 A8 A6 00 00 */ lha r5, 0(r6) +/* 80340ED4 0033DE34 38 05 00 01 */ addi r0, r5, 1 +/* 80340ED8 0033DE38 B0 06 00 00 */ sth r0, 0(r6) +/* 80340EDC 0033DE3C 88 04 00 04 */ lbz r0, 4(r4) +/* 80340EE0 0033DE40 28 00 00 00 */ cmplwi r0, 0 +/* 80340EE4 0033DE44 41 82 00 08 */ beq lbl_80340EEC +/* 80340EE8 0033DE48 4B FF FE 9D */ bl Lock__6CTokenFv +lbl_80340EEC: +/* 80340EEC 0033DE4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340EF0 0033DE50 7F E3 FB 78 */ mr r3, r31 +/* 80340EF4 0033DE54 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340EF8 0033DE58 7C 08 03 A6 */ mtlr r0 +/* 80340EFC 0033DE5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340F00 0033DE60 4E 80 00 20 */ blr + +.global __ct__6CTokenFP4IObj +__ct__6CTokenFP4IObj: +/* 80340F04 0033DE64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80340F08 0033DE68 7C 08 02 A6 */ mflr r0 +/* 80340F0C 0033DE6C 3C A0 80 3D */ lis r5, lbl_803D7AA0@ha +/* 80340F10 0033DE70 90 01 00 24 */ stw r0, 0x24(r1) +/* 80340F14 0033DE74 38 05 7A A0 */ addi r0, r5, lbl_803D7AA0@l +/* 80340F18 0033DE78 38 A0 00 00 */ li r5, 0 +/* 80340F1C 0033DE7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80340F20 0033DE80 7C 9F 23 78 */ mr r31, r4 +/* 80340F24 0033DE84 7C 04 03 78 */ mr r4, r0 +/* 80340F28 0033DE88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80340F2C 0033DE8C 7C 7E 1B 78 */ mr r30, r3 +/* 80340F30 0033DE90 38 60 00 18 */ li r3, 0x18 +/* 80340F34 0033DE94 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80340F38 0033DE98 3B A0 00 00 */ li r29, 0 +/* 80340F3C 0033DE9C 4B FD 49 31 */ bl __nw__FUlPCcPCc +/* 80340F40 0033DEA0 7C 64 1B 79 */ or. r4, r3, r3 +/* 80340F44 0033DEA4 41 82 00 28 */ beq lbl_80340F6C +/* 80340F48 0033DEA8 7C 1F 00 D0 */ neg r0, r31 +/* 80340F4C 0033DEAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340F50 0033DEB0 7C 00 FB 78 */ or r0, r0, r31 +/* 80340F54 0033DEB4 38 81 00 08 */ addi r4, r1, 8 +/* 80340F58 0033DEB8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80340F5C 0033DEBC 3B A0 00 01 */ li r29, 1 +/* 80340F60 0033DEC0 98 01 00 08 */ stb r0, 8(r1) +/* 80340F64 0033DEC4 4B FF EF 8D */ bl "__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>" +/* 80340F68 0033DEC8 7C 64 1B 78 */ mr r4, r3 +lbl_80340F6C: +/* 80340F6C 0033DECC 7F A0 07 75 */ extsb. r0, r29 +/* 80340F70 0033DED0 90 9E 00 00 */ stw r4, 0(r30) +/* 80340F74 0033DED4 41 82 00 30 */ beq lbl_80340FA4 +/* 80340F78 0033DED8 88 01 00 08 */ lbz r0, 8(r1) +/* 80340F7C 0033DEDC 28 00 00 00 */ cmplwi r0, 0 +/* 80340F80 0033DEE0 41 82 00 24 */ beq lbl_80340FA4 +/* 80340F84 0033DEE4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80340F88 0033DEE8 28 03 00 00 */ cmplwi r3, 0 +/* 80340F8C 0033DEEC 41 82 00 18 */ beq lbl_80340FA4 +/* 80340F90 0033DEF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80340F94 0033DEF4 38 80 00 01 */ li r4, 1 +/* 80340F98 0033DEF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80340F9C 0033DEFC 7D 89 03 A6 */ mtctr r12 +/* 80340FA0 0033DF00 4E 80 04 21 */ bctrl +lbl_80340FA4: +/* 80340FA4 0033DF04 38 00 00 00 */ li r0, 0 +/* 80340FA8 0033DF08 7F C3 F3 78 */ mr r3, r30 +/* 80340FAC 0033DF0C 98 1E 00 04 */ stb r0, 4(r30) +/* 80340FB0 0033DF10 80 BE 00 00 */ lwz r5, 0(r30) +/* 80340FB4 0033DF14 A8 85 00 00 */ lha r4, 0(r5) +/* 80340FB8 0033DF18 38 04 00 01 */ addi r0, r4, 1 +/* 80340FBC 0033DF1C B0 05 00 00 */ sth r0, 0(r5) +/* 80340FC0 0033DF20 4B FF FD C5 */ bl Lock__6CTokenFv +/* 80340FC4 0033DF24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340FC8 0033DF28 7F C3 F3 78 */ mr r3, r30 +/* 80340FCC 0033DF2C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80340FD0 0033DF30 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80340FD4 0033DF34 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80340FD8 0033DF38 7C 08 03 A6 */ mtlr r0 +/* 80340FDC 0033DF3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340FE0 0033DF40 4E 80 00 20 */ blr + +.global __ct__6CTokenFP16CObjectReference +__ct__6CTokenFP16CObjectReference: +/* 80340FE4 0033DF44 90 83 00 00 */ stw r4, 0(r3) +/* 80340FE8 0033DF48 38 00 00 00 */ li r0, 0 +/* 80340FEC 0033DF4C 98 03 00 04 */ stb r0, 4(r3) +/* 80340FF0 0033DF50 80 A3 00 00 */ lwz r5, 0(r3) +/* 80340FF4 0033DF54 A8 85 00 00 */ lha r4, 0(r5) +/* 80340FF8 0033DF58 38 04 00 01 */ addi r0, r4, 1 +/* 80340FFC 0033DF5C B0 05 00 00 */ sth r0, 0(r5) +/* 80341000 0033DF60 4E 80 00 20 */ blr + +.global Type2Text__10SObjectTagFUi +Type2Text__10SObjectTagFUi: +/* 80341004 0033DF64 54 60 46 3E */ srwi r0, r3, 0x18 +/* 80341008 0033DF68 2C 00 FF FF */ cmpwi r0, -1 +/* 8034100C 0033DF6C 40 82 00 0C */ bne lbl_80341018 +/* 80341010 0033DF70 38 00 FF FF */ li r0, -1 +/* 80341014 0033DF74 48 00 00 10 */ b lbl_80341024 +lbl_80341018: +/* 80341018 0033DF78 3C 80 80 3F */ lis r4, lbl_803F2C20@ha +/* 8034101C 0033DF7C 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l +/* 80341020 0033DF80 7C 04 00 AE */ lbzx r0, r4, r0 +lbl_80341024: +/* 80341024 0033DF84 54 65 86 3E */ rlwinm r5, r3, 0x10, 0x18, 0x1f +/* 80341028 0033DF88 98 0D A9 58 */ stb r0, lbl_805A9518@sda21(r13) +/* 8034102C 0033DF8C 2C 05 FF FF */ cmpwi r5, -1 +/* 80341030 0033DF90 40 82 00 0C */ bne lbl_8034103C +/* 80341034 0033DF94 38 00 FF FF */ li r0, -1 +/* 80341038 0033DF98 48 00 00 10 */ b lbl_80341048 +lbl_8034103C: +/* 8034103C 0033DF9C 3C 80 80 3F */ lis r4, lbl_803F2C20@ha +/* 80341040 0033DFA0 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l +/* 80341044 0033DFA4 7C 04 28 AE */ lbzx r0, r4, r5 +lbl_80341048: +/* 80341048 0033DFA8 54 65 C6 3E */ rlwinm r5, r3, 0x18, 0x18, 0x1f +/* 8034104C 0033DFAC 38 8D A9 58 */ addi r4, r13, lbl_805A9518@sda21 +/* 80341050 0033DFB0 2C 05 FF FF */ cmpwi r5, -1 +/* 80341054 0033DFB4 98 04 00 01 */ stb r0, 1(r4) +/* 80341058 0033DFB8 40 82 00 0C */ bne lbl_80341064 +/* 8034105C 0033DFBC 38 00 FF FF */ li r0, -1 +/* 80341060 0033DFC0 48 00 00 10 */ b lbl_80341070 +lbl_80341064: +/* 80341064 0033DFC4 3C 80 80 3F */ lis r4, lbl_803F2C20@ha +/* 80341068 0033DFC8 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l +/* 8034106C 0033DFCC 7C 04 28 AE */ lbzx r0, r4, r5 +lbl_80341070: +/* 80341070 0033DFD0 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 80341074 0033DFD4 38 6D A9 58 */ addi r3, r13, lbl_805A9518@sda21 +/* 80341078 0033DFD8 2C 04 FF FF */ cmpwi r4, -1 +/* 8034107C 0033DFDC 98 03 00 02 */ stb r0, 2(r3) +/* 80341080 0033DFE0 40 82 00 0C */ bne lbl_8034108C +/* 80341084 0033DFE4 38 60 FF FF */ li r3, -1 +/* 80341088 0033DFE8 48 00 00 10 */ b lbl_80341098 +lbl_8034108C: +/* 8034108C 0033DFEC 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 80341090 0033DFF0 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 80341094 0033DFF4 7C 63 20 AE */ lbzx r3, r3, r4 +lbl_80341098: +/* 80341098 0033DFF8 38 AD A9 58 */ addi r5, r13, lbl_805A9518@sda21 +/* 8034109C 0033DFFC 38 00 00 00 */ li r0, 0 +/* 803410A0 0033E000 98 65 00 03 */ stb r3, 3(r5) +/* 803410A4 0033E004 3C 60 80 3F */ lis r3, lbl_803F2A20@ha +/* 803410A8 0033E008 38 83 2A 20 */ addi r4, r3, lbl_803F2A20@l +/* 803410AC 0033E00C 98 05 00 04 */ stb r0, 4(r5) +/* 803410B0 0033E010 38 00 00 2D */ li r0, 0x2d +/* 803410B4 0033E014 88 6D A9 58 */ lbz r3, lbl_805A9518@sda21(r13) +/* 803410B8 0033E018 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410BC 0033E01C 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410C0 0033E020 40 82 00 08 */ bne lbl_803410C8 +/* 803410C4 0033E024 98 05 00 00 */ stb r0, 0(r5) +lbl_803410C8: +/* 803410C8 0033E028 8C 65 00 01 */ lbzu r3, 1(r5) +/* 803410CC 0033E02C 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410D0 0033E030 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410D4 0033E034 40 82 00 08 */ bne lbl_803410DC +/* 803410D8 0033E038 98 05 00 00 */ stb r0, 0(r5) +lbl_803410DC: +/* 803410DC 0033E03C 8C 65 00 01 */ lbzu r3, 1(r5) +/* 803410E0 0033E040 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410E4 0033E044 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410E8 0033E048 40 82 00 08 */ bne lbl_803410F0 +/* 803410EC 0033E04C 98 05 00 00 */ stb r0, 0(r5) +lbl_803410F0: +/* 803410F0 0033E050 8C 65 00 01 */ lbzu r3, 1(r5) +/* 803410F4 0033E054 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410F8 0033E058 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410FC 0033E05C 40 82 00 08 */ bne lbl_80341104 +/* 80341100 0033E060 98 05 00 00 */ stb r0, 0(r5) +lbl_80341104: +/* 80341104 0033E064 38 6D A9 58 */ addi r3, r13, lbl_805A9518@sda21 +/* 80341108 0033E068 4E 80 00 20 */ blr + +.global __sinit_IObj_cpp +__sinit_IObj_cpp: +/* 8034110C 0033E06C 38 00 FF FF */ li r0, -1 +/* 80341110 0033E070 38 6D A9 50 */ addi r3, r13, lbl_805A9510@sda21 +/* 80341114 0033E074 90 0D A9 50 */ stw r0, lbl_805A9510@sda21(r13) +/* 80341118 0033E078 90 03 00 04 */ stw r0, 4(r3) +/* 8034111C 0033E07C 4E 80 00 20 */ blr + +.global adler32 +adler32: +/* 80341120 0033E080 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80341124 0033E084 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 80341128 0033E088 28 04 00 00 */ cmplwi r4, 0 +/* 8034112C 0033E08C 54 63 84 3E */ srwi r3, r3, 0x10 +/* 80341130 0033E090 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80341134 0033E094 40 82 00 0C */ bne lbl_80341140 +/* 80341138 0033E098 38 60 00 01 */ li r3, 1 +/* 8034113C 0033E09C 48 00 01 5C */ b lbl_80341298 +lbl_80341140: +/* 80341140 0033E0A0 3C E0 80 08 */ lis r7, 0x80078071@ha +/* 80341144 0033E0A4 3C C0 00 01 */ lis r6, 0x0000FFF1@ha +/* 80341148 0033E0A8 39 27 80 71 */ addi r9, r7, 0x80078071@l +/* 8034114C 0033E0AC 38 E6 FF F1 */ addi r7, r6, 0x0000FFF1@l +/* 80341150 0033E0B0 48 00 01 38 */ b lbl_80341288 +lbl_80341154: +/* 80341154 0033E0B4 28 05 15 B0 */ cmplwi r5, 0x15b0 +/* 80341158 0033E0B8 39 00 15 B0 */ li r8, 0x15b0 +/* 8034115C 0033E0BC 40 80 00 08 */ bge lbl_80341164 +/* 80341160 0033E0C0 7C A8 2B 78 */ mr r8, r5 +lbl_80341164: +/* 80341164 0033E0C4 55 06 E1 3E */ srwi r6, r8, 4 +/* 80341168 0033E0C8 7D 1B 43 78 */ mr r27, r8 +/* 8034116C 0033E0CC 7C A8 28 50 */ subf r5, r8, r5 +/* 80341170 0033E0D0 7C C9 03 A6 */ mtctr r6 +/* 80341174 0033E0D4 2C 08 00 10 */ cmpwi r8, 0x10 +/* 80341178 0033E0D8 41 80 00 D0 */ blt lbl_80341248 +lbl_8034117C: +/* 8034117C 0033E0DC 88 C4 00 00 */ lbz r6, 0(r4) +/* 80341180 0033E0E0 3B 7B FF F0 */ addi r27, r27, -16 +/* 80341184 0033E0E4 89 04 00 01 */ lbz r8, 1(r4) +/* 80341188 0033E0E8 7C 00 32 14 */ add r0, r0, r6 +/* 8034118C 0033E0EC 88 C4 00 02 */ lbz r6, 2(r4) +/* 80341190 0033E0F0 7C 63 02 14 */ add r3, r3, r0 +/* 80341194 0033E0F4 89 64 00 03 */ lbz r11, 3(r4) +/* 80341198 0033E0F8 7C 00 42 14 */ add r0, r0, r8 +/* 8034119C 0033E0FC 89 44 00 04 */ lbz r10, 4(r4) +/* 803411A0 0033E100 7C 63 02 14 */ add r3, r3, r0 +/* 803411A4 0033E104 89 04 00 05 */ lbz r8, 5(r4) +/* 803411A8 0033E108 7C 00 32 14 */ add r0, r0, r6 +/* 803411AC 0033E10C 88 C4 00 06 */ lbz r6, 6(r4) +/* 803411B0 0033E110 7C 63 02 14 */ add r3, r3, r0 +/* 803411B4 0033E114 8B 84 00 07 */ lbz r28, 7(r4) +/* 803411B8 0033E118 7C 00 5A 14 */ add r0, r0, r11 +/* 803411BC 0033E11C 8B A4 00 08 */ lbz r29, 8(r4) +/* 803411C0 0033E120 7C 63 02 14 */ add r3, r3, r0 +/* 803411C4 0033E124 8B C4 00 09 */ lbz r30, 9(r4) +/* 803411C8 0033E128 7C 00 52 14 */ add r0, r0, r10 +/* 803411CC 0033E12C 8B E4 00 0A */ lbz r31, 0xa(r4) +/* 803411D0 0033E130 7C 63 02 14 */ add r3, r3, r0 +/* 803411D4 0033E134 89 84 00 0B */ lbz r12, 0xb(r4) +/* 803411D8 0033E138 7C 00 42 14 */ add r0, r0, r8 +/* 803411DC 0033E13C 89 64 00 0C */ lbz r11, 0xc(r4) +/* 803411E0 0033E140 7C 63 02 14 */ add r3, r3, r0 +/* 803411E4 0033E144 89 44 00 0D */ lbz r10, 0xd(r4) +/* 803411E8 0033E148 7C 00 32 14 */ add r0, r0, r6 +/* 803411EC 0033E14C 89 04 00 0E */ lbz r8, 0xe(r4) +/* 803411F0 0033E150 7C 63 02 14 */ add r3, r3, r0 +/* 803411F4 0033E154 88 C4 00 0F */ lbz r6, 0xf(r4) +/* 803411F8 0033E158 7C 00 E2 14 */ add r0, r0, r28 +/* 803411FC 0033E15C 38 84 00 10 */ addi r4, r4, 0x10 +/* 80341200 0033E160 7C 63 02 14 */ add r3, r3, r0 +/* 80341204 0033E164 7C 00 EA 14 */ add r0, r0, r29 +/* 80341208 0033E168 7C 63 02 14 */ add r3, r3, r0 +/* 8034120C 0033E16C 7C 00 F2 14 */ add r0, r0, r30 +/* 80341210 0033E170 7C 63 02 14 */ add r3, r3, r0 +/* 80341214 0033E174 7C 00 FA 14 */ add r0, r0, r31 +/* 80341218 0033E178 7C 63 02 14 */ add r3, r3, r0 +/* 8034121C 0033E17C 7C 00 62 14 */ add r0, r0, r12 +/* 80341220 0033E180 7C 63 02 14 */ add r3, r3, r0 +/* 80341224 0033E184 7C 00 5A 14 */ add r0, r0, r11 +/* 80341228 0033E188 7C 63 02 14 */ add r3, r3, r0 +/* 8034122C 0033E18C 7C 00 52 14 */ add r0, r0, r10 +/* 80341230 0033E190 7C 63 02 14 */ add r3, r3, r0 +/* 80341234 0033E194 7C 00 42 14 */ add r0, r0, r8 +/* 80341238 0033E198 7C 63 02 14 */ add r3, r3, r0 +/* 8034123C 0033E19C 7C 00 32 14 */ add r0, r0, r6 +/* 80341240 0033E1A0 7C 63 02 14 */ add r3, r3, r0 +/* 80341244 0033E1A4 42 00 FF 38 */ bdnz lbl_8034117C +lbl_80341248: +/* 80341248 0033E1A8 2C 1B 00 00 */ cmpwi r27, 0 +/* 8034124C 0033E1AC 41 82 00 1C */ beq lbl_80341268 +lbl_80341250: +/* 80341250 0033E1B0 88 C4 00 00 */ lbz r6, 0(r4) +/* 80341254 0033E1B4 37 7B FF FF */ addic. r27, r27, -1 +/* 80341258 0033E1B8 38 84 00 01 */ addi r4, r4, 1 +/* 8034125C 0033E1BC 7C 00 32 14 */ add r0, r0, r6 +/* 80341260 0033E1C0 7C 63 02 14 */ add r3, r3, r0 +/* 80341264 0033E1C4 40 82 FF EC */ bne lbl_80341250 +lbl_80341268: +/* 80341268 0033E1C8 7D 09 00 16 */ mulhwu r8, r9, r0 +/* 8034126C 0033E1CC 7C C9 18 16 */ mulhwu r6, r9, r3 +/* 80341270 0033E1D0 55 08 8B FE */ srwi r8, r8, 0xf +/* 80341274 0033E1D4 7D 08 39 D6 */ mullw r8, r8, r7 +/* 80341278 0033E1D8 54 C6 8B FE */ srwi r6, r6, 0xf +/* 8034127C 0033E1DC 7C C6 39 D6 */ mullw r6, r6, r7 +/* 80341280 0033E1E0 7C 08 00 50 */ subf r0, r8, r0 +/* 80341284 0033E1E4 7C 66 18 50 */ subf r3, r6, r3 +lbl_80341288: +/* 80341288 0033E1E8 28 05 00 00 */ cmplwi r5, 0 +/* 8034128C 0033E1EC 40 82 FE C8 */ bne lbl_80341154 +/* 80341290 0033E1F0 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80341294 0033E1F4 7C 63 03 78 */ or r3, r3, r0 +lbl_80341298: +/* 80341298 0033E1F8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034129C 0033E1FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803412A0 0033E200 4E 80 00 20 */ blr + +.global inflate_blocks_free +inflate_blocks_free: +/* 803412A4 0033E204 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803412A8 0033E208 7C 08 02 A6 */ mflr r0 +/* 803412AC 0033E20C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803412B0 0033E210 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803412B4 0033E214 7C 9F 23 78 */ mr r31, r4 +/* 803412B8 0033E218 93 C1 00 08 */ stw r30, 8(r1) +/* 803412BC 0033E21C 7C 7E 1B 78 */ mr r30, r3 +/* 803412C0 0033E220 80 03 00 00 */ lwz r0, 0(r3) +/* 803412C4 0033E224 2C 00 00 04 */ cmpwi r0, 4 +/* 803412C8 0033E228 41 82 00 0C */ beq lbl_803412D4 +/* 803412CC 0033E22C 2C 00 00 05 */ cmpwi r0, 5 +/* 803412D0 0033E230 40 82 00 18 */ bne lbl_803412E8 +lbl_803412D4: +/* 803412D4 0033E234 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 803412D8 0033E238 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 803412DC 0033E23C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 803412E0 0033E240 7D 89 03 A6 */ mtctr r12 +/* 803412E4 0033E244 4E 80 04 21 */ bctrl +lbl_803412E8: +/* 803412E8 0033E248 80 1E 00 00 */ lwz r0, 0(r30) +/* 803412EC 0033E24C 2C 00 00 06 */ cmpwi r0, 6 +/* 803412F0 0033E250 40 82 00 10 */ bne lbl_80341300 +/* 803412F4 0033E254 80 7E 00 04 */ lwz r3, 4(r30) +/* 803412F8 0033E258 7F E4 FB 78 */ mr r4, r31 +/* 803412FC 0033E25C 48 00 10 D9 */ bl inflate_codes_free +lbl_80341300: +/* 80341300 0033E260 38 00 00 00 */ li r0, 0 +/* 80341304 0033E264 90 1E 00 00 */ stw r0, 0(r30) +/* 80341308 0033E268 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8034130C 0033E26C 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80341310 0033E270 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80341314 0033E274 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80341318 0033E278 90 1E 00 30 */ stw r0, 0x30(r30) +/* 8034131C 0033E27C 81 9E 00 38 */ lwz r12, 0x38(r30) +/* 80341320 0033E280 28 0C 00 00 */ cmplwi r12, 0 +/* 80341324 0033E284 41 82 00 20 */ beq lbl_80341344 +/* 80341328 0033E288 38 60 00 00 */ li r3, 0 +/* 8034132C 0033E28C 38 80 00 00 */ li r4, 0 +/* 80341330 0033E290 38 A0 00 00 */ li r5, 0 +/* 80341334 0033E294 7D 89 03 A6 */ mtctr r12 +/* 80341338 0033E298 4E 80 04 21 */ bctrl +/* 8034133C 0033E29C 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 80341340 0033E2A0 90 7F 00 30 */ stw r3, 0x30(r31) +lbl_80341344: +/* 80341344 0033E2A4 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341348 0033E2A8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8034134C 0033E2AC 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80341350 0033E2B0 7D 89 03 A6 */ mtctr r12 +/* 80341354 0033E2B4 4E 80 04 21 */ bctrl +/* 80341358 0033E2B8 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 8034135C 0033E2BC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341360 0033E2C0 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 80341364 0033E2C4 7D 89 03 A6 */ mtctr r12 +/* 80341368 0033E2C8 4E 80 04 21 */ bctrl +/* 8034136C 0033E2CC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341370 0033E2D0 7F C4 F3 78 */ mr r4, r30 +/* 80341374 0033E2D4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341378 0033E2D8 7D 89 03 A6 */ mtctr r12 +/* 8034137C 0033E2DC 4E 80 04 21 */ bctrl +/* 80341380 0033E2E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80341384 0033E2E4 38 60 00 00 */ li r3, 0 +/* 80341388 0033E2E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034138C 0033E2EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80341390 0033E2F0 7C 08 03 A6 */ mtlr r0 +/* 80341394 0033E2F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80341398 0033E2F8 4E 80 00 20 */ blr + +.global inflate_blocks +inflate_blocks: +/* 8034139C 0033E2FC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803413A0 0033E300 7C 08 02 A6 */ mflr r0 +/* 803413A4 0033E304 90 01 00 64 */ stw r0, 0x64(r1) +/* 803413A8 0033E308 BE A1 00 34 */ stmw r21, 0x34(r1) +/* 803413AC 0033E30C 7C 7E 1B 78 */ mr r30, r3 +/* 803413B0 0033E310 7C 9F 23 78 */ mr r31, r4 +/* 803413B4 0033E314 7C B6 2B 78 */ mr r22, r5 +/* 803413B8 0033E318 83 03 00 34 */ lwz r24, 0x34(r3) +/* 803413BC 0033E31C 80 03 00 30 */ lwz r0, 0x30(r3) +/* 803413C0 0033E320 83 44 00 00 */ lwz r26, 0(r4) +/* 803413C4 0033E324 7C 18 00 40 */ cmplw r24, r0 +/* 803413C8 0033E328 83 24 00 04 */ lwz r25, 4(r4) +/* 803413CC 0033E32C 83 83 00 20 */ lwz r28, 0x20(r3) +/* 803413D0 0033E330 83 63 00 1C */ lwz r27, 0x1c(r3) +/* 803413D4 0033E334 40 80 00 10 */ bge lbl_803413E4 +/* 803413D8 0033E338 7C 78 00 50 */ subf r3, r24, r0 +/* 803413DC 0033E33C 38 03 FF FF */ addi r0, r3, -1 +/* 803413E0 0033E340 48 00 00 0C */ b lbl_803413EC +lbl_803413E4: +/* 803413E4 0033E344 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803413E8 0033E348 7C 18 00 50 */ subf r0, r24, r0 +lbl_803413EC: +/* 803413EC 0033E34C 3C 60 80 3F */ lis r3, lbl_803EE440@ha +/* 803413F0 0033E350 7C 17 03 78 */ mr r23, r0 +/* 803413F4 0033E354 3B A3 E4 40 */ addi r29, r3, lbl_803EE440@l +lbl_803413F8: +/* 803413F8 0033E358 80 1E 00 00 */ lwz r0, 0(r30) +/* 803413FC 0033E35C 28 00 00 09 */ cmplwi r0, 9 +/* 80341400 0033E360 41 81 0D 20 */ bgt lbl_80342120 +/* 80341404 0033E364 54 00 10 3A */ slwi r0, r0, 2 +/* 80341408 0033E368 7C 1D 00 2E */ lwzx r0, r29, r0 +/* 8034140C 0033E36C 7C 09 03 A6 */ mtctr r0 +/* 80341410 0033E370 4E 80 04 20 */ bctr +/* 80341414 0033E374 20 1B 00 0A */ subfic r0, r27, 0xa +/* 80341418 0033E378 54 00 E8 FE */ srwi r0, r0, 3 +/* 8034141C 0033E37C 7C 09 03 A6 */ mtctr r0 +/* 80341420 0033E380 28 1B 00 03 */ cmplwi r27, 3 +/* 80341424 0033E384 40 80 00 6C */ bge lbl_80341490 +lbl_80341428: +/* 80341428 0033E388 28 19 00 00 */ cmplwi r25, 0 +/* 8034142C 0033E38C 41 82 00 0C */ beq lbl_80341438 +/* 80341430 0033E390 3A C0 00 00 */ li r22, 0 +/* 80341434 0033E394 48 00 00 40 */ b lbl_80341474 +lbl_80341438: +/* 80341438 0033E398 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034143C 0033E39C 7F C3 F3 78 */ mr r3, r30 +/* 80341440 0033E3A0 7F E4 FB 78 */ mr r4, r31 +/* 80341444 0033E3A4 7E C5 B3 78 */ mr r5, r22 +/* 80341448 0033E3A8 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034144C 0033E3AC 93 3F 00 04 */ stw r25, 4(r31) +/* 80341450 0033E3B0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341454 0033E3B4 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341458 0033E3B8 7C 00 D0 50 */ subf r0, r0, r26 +/* 8034145C 0033E3BC 7C 06 02 14 */ add r0, r6, r0 +/* 80341460 0033E3C0 90 1F 00 08 */ stw r0, 8(r31) +/* 80341464 0033E3C4 93 5F 00 00 */ stw r26, 0(r31) +/* 80341468 0033E3C8 93 1E 00 34 */ stw r24, 0x34(r30) +/* 8034146C 0033E3CC 48 00 2F A1 */ bl inflate_flush +/* 80341470 0033E3D0 48 00 0C E8 */ b lbl_80342158 +lbl_80341474: +/* 80341474 0033E3D4 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341478 0033E3D8 3B 39 FF FF */ addi r25, r25, -1 +/* 8034147C 0033E3DC 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341480 0033E3E0 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341484 0033E3E4 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341488 0033E3E8 7F 9C 03 78 */ or r28, r28, r0 +/* 8034148C 0033E3EC 42 00 FF 9C */ bdnz lbl_80341428 +lbl_80341490: +/* 80341490 0033E3F0 57 80 FF BE */ rlwinm r0, r28, 0x1f, 0x1e, 0x1f +/* 80341494 0033E3F4 57 83 07 FE */ clrlwi r3, r28, 0x1f +/* 80341498 0033E3F8 2C 00 00 02 */ cmpwi r0, 2 +/* 8034149C 0033E3FC 90 7E 00 18 */ stw r3, 0x18(r30) +/* 803414A0 0033E400 41 82 00 D4 */ beq lbl_80341574 +/* 803414A4 0033E404 40 80 00 14 */ bge lbl_803414B8 +/* 803414A8 0033E408 2C 00 00 00 */ cmpwi r0, 0 +/* 803414AC 0033E40C 41 82 00 18 */ beq lbl_803414C4 +/* 803414B0 0033E410 40 80 00 34 */ bge lbl_803414E4 +/* 803414B4 0033E414 4B FF FF 44 */ b lbl_803413F8 +lbl_803414B8: +/* 803414B8 0033E418 2C 00 00 04 */ cmpwi r0, 4 +/* 803414BC 0033E41C 40 80 FF 3C */ bge lbl_803413F8 +/* 803414C0 0033E420 48 00 00 C8 */ b lbl_80341588 +lbl_803414C4: +/* 803414C4 0033E424 38 00 00 01 */ li r0, 1 +/* 803414C8 0033E428 3B 7B FF FD */ addi r27, r27, -3 +/* 803414CC 0033E42C 57 63 07 7E */ clrlwi r3, r27, 0x1d +/* 803414D0 0033E430 57 9C E8 FE */ srwi r28, r28, 3 +/* 803414D4 0033E434 90 1E 00 00 */ stw r0, 0(r30) +/* 803414D8 0033E438 7F 9C 1C 30 */ srw r28, r28, r3 +/* 803414DC 0033E43C 7F 63 D8 50 */ subf r27, r3, r27 +/* 803414E0 0033E440 4B FF FF 18 */ b lbl_803413F8 +lbl_803414E4: +/* 803414E4 0033E444 7F E7 FB 78 */ mr r7, r31 +/* 803414E8 0033E448 38 61 00 2C */ addi r3, r1, 0x2c +/* 803414EC 0033E44C 38 81 00 28 */ addi r4, r1, 0x28 +/* 803414F0 0033E450 38 A1 00 24 */ addi r5, r1, 0x24 +/* 803414F4 0033E454 38 C1 00 20 */ addi r6, r1, 0x20 +/* 803414F8 0033E458 48 00 26 C9 */ bl inflate_trees_fixed +/* 803414FC 0033E45C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80341500 0033E460 7F E7 FB 78 */ mr r7, r31 +/* 80341504 0033E464 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80341508 0033E468 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8034150C 0033E46C 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 80341510 0033E470 48 00 18 31 */ bl inflate_codes_new +/* 80341514 0033E474 90 7E 00 04 */ stw r3, 4(r30) +/* 80341518 0033E478 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034151C 0033E47C 28 00 00 00 */ cmplwi r0, 0 +/* 80341520 0033E480 40 82 00 40 */ bne lbl_80341560 +/* 80341524 0033E484 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341528 0033E488 7F C3 F3 78 */ mr r3, r30 +/* 8034152C 0033E48C 7F E4 FB 78 */ mr r4, r31 +/* 80341530 0033E490 38 A0 FF FC */ li r5, -4 +/* 80341534 0033E494 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341538 0033E498 93 3F 00 04 */ stw r25, 4(r31) +/* 8034153C 0033E49C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341540 0033E4A0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341544 0033E4A4 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341548 0033E4A8 7C 06 02 14 */ add r0, r6, r0 +/* 8034154C 0033E4AC 90 1F 00 08 */ stw r0, 8(r31) +/* 80341550 0033E4B0 93 5F 00 00 */ stw r26, 0(r31) +/* 80341554 0033E4B4 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341558 0033E4B8 48 00 2E B5 */ bl inflate_flush +/* 8034155C 0033E4BC 48 00 0B FC */ b lbl_80342158 +lbl_80341560: +/* 80341560 0033E4C0 38 00 00 06 */ li r0, 6 +/* 80341564 0033E4C4 57 9C E8 FE */ srwi r28, r28, 3 +/* 80341568 0033E4C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8034156C 0033E4CC 3B 7B FF FD */ addi r27, r27, -3 +/* 80341570 0033E4D0 4B FF FE 88 */ b lbl_803413F8 +lbl_80341574: +/* 80341574 0033E4D4 38 00 00 03 */ li r0, 3 +/* 80341578 0033E4D8 57 9C E8 FE */ srwi r28, r28, 3 +/* 8034157C 0033E4DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80341580 0033E4E0 3B 7B FF FD */ addi r27, r27, -3 +/* 80341584 0033E4E4 4B FF FE 74 */ b lbl_803413F8 +lbl_80341588: +/* 80341588 0033E4E8 38 00 00 09 */ li r0, 9 +/* 8034158C 0033E4EC 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341590 0033E4F0 90 1E 00 00 */ stw r0, 0(r30) +/* 80341594 0033E4F4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 80341598 0033E4F8 57 86 E8 FE */ srwi r6, r28, 3 +/* 8034159C 0033E4FC 38 1B FF FD */ addi r0, r27, -3 +/* 803415A0 0033E500 90 7F 00 18 */ stw r3, 0x18(r31) +/* 803415A4 0033E504 7F C3 F3 78 */ mr r3, r30 +/* 803415A8 0033E508 7F E4 FB 78 */ mr r4, r31 +/* 803415AC 0033E50C 38 A0 FF FD */ li r5, -3 +/* 803415B0 0033E510 90 DE 00 20 */ stw r6, 0x20(r30) +/* 803415B4 0033E514 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 803415B8 0033E518 93 3F 00 04 */ stw r25, 4(r31) +/* 803415BC 0033E51C 80 1F 00 00 */ lwz r0, 0(r31) +/* 803415C0 0033E520 80 DF 00 08 */ lwz r6, 8(r31) +/* 803415C4 0033E524 7C 00 D0 50 */ subf r0, r0, r26 +/* 803415C8 0033E528 7C 06 02 14 */ add r0, r6, r0 +/* 803415CC 0033E52C 90 1F 00 08 */ stw r0, 8(r31) +/* 803415D0 0033E530 93 5F 00 00 */ stw r26, 0(r31) +/* 803415D4 0033E534 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803415D8 0033E538 48 00 2E 35 */ bl inflate_flush +/* 803415DC 0033E53C 48 00 0B 7C */ b lbl_80342158 +/* 803415E0 0033E540 20 1B 00 27 */ subfic r0, r27, 0x27 +/* 803415E4 0033E544 54 00 E8 FE */ srwi r0, r0, 3 +/* 803415E8 0033E548 7C 09 03 A6 */ mtctr r0 +/* 803415EC 0033E54C 28 1B 00 20 */ cmplwi r27, 0x20 +/* 803415F0 0033E550 40 80 00 6C */ bge lbl_8034165C +lbl_803415F4: +/* 803415F4 0033E554 28 19 00 00 */ cmplwi r25, 0 +/* 803415F8 0033E558 41 82 00 0C */ beq lbl_80341604 +/* 803415FC 0033E55C 3A C0 00 00 */ li r22, 0 +/* 80341600 0033E560 48 00 00 40 */ b lbl_80341640 +lbl_80341604: +/* 80341604 0033E564 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341608 0033E568 7F C3 F3 78 */ mr r3, r30 +/* 8034160C 0033E56C 7F E4 FB 78 */ mr r4, r31 +/* 80341610 0033E570 7E C5 B3 78 */ mr r5, r22 +/* 80341614 0033E574 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341618 0033E578 93 3F 00 04 */ stw r25, 4(r31) +/* 8034161C 0033E57C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341620 0033E580 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341624 0033E584 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341628 0033E588 7C 06 02 14 */ add r0, r6, r0 +/* 8034162C 0033E58C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341630 0033E590 93 5F 00 00 */ stw r26, 0(r31) +/* 80341634 0033E594 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341638 0033E598 48 00 2D D5 */ bl inflate_flush +/* 8034163C 0033E59C 48 00 0B 1C */ b lbl_80342158 +lbl_80341640: +/* 80341640 0033E5A0 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341644 0033E5A4 3B 39 FF FF */ addi r25, r25, -1 +/* 80341648 0033E5A8 3B 5A 00 01 */ addi r26, r26, 1 +/* 8034164C 0033E5AC 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341650 0033E5B0 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341654 0033E5B4 7F 9C 03 78 */ or r28, r28, r0 +/* 80341658 0033E5B8 42 00 FF 9C */ bdnz lbl_803415F4 +lbl_8034165C: +/* 8034165C 0033E5BC 7F 83 E0 F8 */ nor r3, r28, r28 +/* 80341660 0033E5C0 57 80 04 3E */ clrlwi r0, r28, 0x10 +/* 80341664 0033E5C4 54 63 84 3E */ srwi r3, r3, 0x10 +/* 80341668 0033E5C8 7C 03 00 40 */ cmplw r3, r0 +/* 8034166C 0033E5CC 41 82 00 58 */ beq lbl_803416C4 +/* 80341670 0033E5D0 38 00 00 09 */ li r0, 9 +/* 80341674 0033E5D4 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341678 0033E5D8 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 8034167C 0033E5DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80341680 0033E5E0 38 03 00 13 */ addi r0, r3, 0x13 +/* 80341684 0033E5E4 7F C3 F3 78 */ mr r3, r30 +/* 80341688 0033E5E8 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8034168C 0033E5EC 7F E4 FB 78 */ mr r4, r31 +/* 80341690 0033E5F0 38 A0 FF FD */ li r5, -3 +/* 80341694 0033E5F4 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341698 0033E5F8 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034169C 0033E5FC 93 3F 00 04 */ stw r25, 4(r31) +/* 803416A0 0033E600 80 1F 00 00 */ lwz r0, 0(r31) +/* 803416A4 0033E604 80 DF 00 08 */ lwz r6, 8(r31) +/* 803416A8 0033E608 7C 00 D0 50 */ subf r0, r0, r26 +/* 803416AC 0033E60C 7C 06 02 14 */ add r0, r6, r0 +/* 803416B0 0033E610 90 1F 00 08 */ stw r0, 8(r31) +/* 803416B4 0033E614 93 5F 00 00 */ stw r26, 0(r31) +/* 803416B8 0033E618 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803416BC 0033E61C 48 00 2D 51 */ bl inflate_flush +/* 803416C0 0033E620 48 00 0A 98 */ b lbl_80342158 +lbl_803416C4: +/* 803416C4 0033E624 90 1E 00 04 */ stw r0, 4(r30) +/* 803416C8 0033E628 3B 60 00 00 */ li r27, 0 +/* 803416CC 0033E62C 3B 80 00 00 */ li r28, 0 +/* 803416D0 0033E630 80 1E 00 04 */ lwz r0, 4(r30) +/* 803416D4 0033E634 28 00 00 00 */ cmplwi r0, 0 +/* 803416D8 0033E638 41 82 00 0C */ beq lbl_803416E4 +/* 803416DC 0033E63C 38 60 00 02 */ li r3, 2 +/* 803416E0 0033E640 48 00 00 18 */ b lbl_803416F8 +lbl_803416E4: +/* 803416E4 0033E644 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 803416E8 0033E648 38 60 00 00 */ li r3, 0 +/* 803416EC 0033E64C 28 00 00 00 */ cmplwi r0, 0 +/* 803416F0 0033E650 41 82 00 08 */ beq lbl_803416F8 +/* 803416F4 0033E654 38 60 00 07 */ li r3, 7 +lbl_803416F8: +/* 803416F8 0033E658 90 7E 00 00 */ stw r3, 0(r30) +/* 803416FC 0033E65C 4B FF FC FC */ b lbl_803413F8 +/* 80341700 0033E660 28 19 00 00 */ cmplwi r25, 0 +/* 80341704 0033E664 40 82 00 40 */ bne lbl_80341744 +/* 80341708 0033E668 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034170C 0033E66C 7F C3 F3 78 */ mr r3, r30 +/* 80341710 0033E670 7F E4 FB 78 */ mr r4, r31 +/* 80341714 0033E674 7E C5 B3 78 */ mr r5, r22 +/* 80341718 0033E678 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034171C 0033E67C 93 3F 00 04 */ stw r25, 4(r31) +/* 80341720 0033E680 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341724 0033E684 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341728 0033E688 7C 00 D0 50 */ subf r0, r0, r26 +/* 8034172C 0033E68C 7C 06 02 14 */ add r0, r6, r0 +/* 80341730 0033E690 90 1F 00 08 */ stw r0, 8(r31) +/* 80341734 0033E694 93 5F 00 00 */ stw r26, 0(r31) +/* 80341738 0033E698 93 1E 00 34 */ stw r24, 0x34(r30) +/* 8034173C 0033E69C 48 00 2C D1 */ bl inflate_flush +/* 80341740 0033E6A0 48 00 0A 18 */ b lbl_80342158 +lbl_80341744: +/* 80341744 0033E6A4 28 17 00 00 */ cmplwi r23, 0 +/* 80341748 0033E6A8 40 82 00 FC */ bne lbl_80341844 +/* 8034174C 0033E6AC 80 9E 00 2C */ lwz r4, 0x2c(r30) +/* 80341750 0033E6B0 7C 18 20 40 */ cmplw r24, r4 +/* 80341754 0033E6B4 40 82 00 30 */ bne lbl_80341784 +/* 80341758 0033E6B8 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8034175C 0033E6BC 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80341760 0033E6C0 7C 03 00 40 */ cmplw r3, r0 +/* 80341764 0033E6C4 41 82 00 20 */ beq lbl_80341784 +/* 80341768 0033E6C8 7C 00 18 40 */ cmplw r0, r3 +/* 8034176C 0033E6CC 7C 18 03 78 */ mr r24, r0 +/* 80341770 0033E6D0 40 80 00 10 */ bge lbl_80341780 +/* 80341774 0033E6D4 7C 60 18 50 */ subf r3, r0, r3 +/* 80341778 0033E6D8 3A E3 FF FF */ addi r23, r3, -1 +/* 8034177C 0033E6DC 48 00 00 08 */ b lbl_80341784 +lbl_80341780: +/* 80341780 0033E6E0 7E E0 20 50 */ subf r23, r0, r4 +lbl_80341784: +/* 80341784 0033E6E4 28 17 00 00 */ cmplwi r23, 0 +/* 80341788 0033E6E8 40 82 00 BC */ bne lbl_80341844 +/* 8034178C 0033E6EC 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341790 0033E6F0 7F C3 F3 78 */ mr r3, r30 +/* 80341794 0033E6F4 7F E4 FB 78 */ mr r4, r31 +/* 80341798 0033E6F8 7E C5 B3 78 */ mr r5, r22 +/* 8034179C 0033E6FC 48 00 2C 71 */ bl inflate_flush +/* 803417A0 0033E700 83 1E 00 34 */ lwz r24, 0x34(r30) +/* 803417A4 0033E704 7C 76 1B 78 */ mr r22, r3 +/* 803417A8 0033E708 80 9E 00 30 */ lwz r4, 0x30(r30) +/* 803417AC 0033E70C 7C 18 20 40 */ cmplw r24, r4 +/* 803417B0 0033E710 40 80 00 10 */ bge lbl_803417C0 +/* 803417B4 0033E714 7C 78 20 50 */ subf r3, r24, r4 +/* 803417B8 0033E718 38 03 FF FF */ addi r0, r3, -1 +/* 803417BC 0033E71C 48 00 00 0C */ b lbl_803417C8 +lbl_803417C0: +/* 803417C0 0033E720 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803417C4 0033E724 7C 18 00 50 */ subf r0, r24, r0 +lbl_803417C8: +/* 803417C8 0033E728 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 803417CC 0033E72C 7C 17 03 78 */ mr r23, r0 +/* 803417D0 0033E730 7C 18 18 40 */ cmplw r24, r3 +/* 803417D4 0033E734 40 82 00 2C */ bne lbl_80341800 +/* 803417D8 0033E738 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 803417DC 0033E73C 7C 04 00 40 */ cmplw r4, r0 +/* 803417E0 0033E740 41 82 00 20 */ beq lbl_80341800 +/* 803417E4 0033E744 7C 00 20 40 */ cmplw r0, r4 +/* 803417E8 0033E748 7C 18 03 78 */ mr r24, r0 +/* 803417EC 0033E74C 40 80 00 10 */ bge lbl_803417FC +/* 803417F0 0033E750 7C 60 20 50 */ subf r3, r0, r4 +/* 803417F4 0033E754 3A E3 FF FF */ addi r23, r3, -1 +/* 803417F8 0033E758 48 00 00 08 */ b lbl_80341800 +lbl_803417FC: +/* 803417FC 0033E75C 7E E0 18 50 */ subf r23, r0, r3 +lbl_80341800: +/* 80341800 0033E760 28 17 00 00 */ cmplwi r23, 0 +/* 80341804 0033E764 40 82 00 40 */ bne lbl_80341844 +/* 80341808 0033E768 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034180C 0033E76C 7F C3 F3 78 */ mr r3, r30 +/* 80341810 0033E770 7F E4 FB 78 */ mr r4, r31 +/* 80341814 0033E774 7E C5 B3 78 */ mr r5, r22 +/* 80341818 0033E778 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034181C 0033E77C 93 3F 00 04 */ stw r25, 4(r31) +/* 80341820 0033E780 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341824 0033E784 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341828 0033E788 7C 00 D0 50 */ subf r0, r0, r26 +/* 8034182C 0033E78C 7C 06 02 14 */ add r0, r6, r0 +/* 80341830 0033E790 90 1F 00 08 */ stw r0, 8(r31) +/* 80341834 0033E794 93 5F 00 00 */ stw r26, 0(r31) +/* 80341838 0033E798 93 1E 00 34 */ stw r24, 0x34(r30) +/* 8034183C 0033E79C 48 00 2B D1 */ bl inflate_flush +/* 80341840 0033E7A0 48 00 09 18 */ b lbl_80342158 +lbl_80341844: +/* 80341844 0033E7A4 82 BE 00 04 */ lwz r21, 4(r30) +/* 80341848 0033E7A8 3A C0 00 00 */ li r22, 0 +/* 8034184C 0033E7AC 7C 15 C8 40 */ cmplw r21, r25 +/* 80341850 0033E7B0 40 81 00 08 */ ble lbl_80341858 +/* 80341854 0033E7B4 7F 35 CB 78 */ mr r21, r25 +lbl_80341858: +/* 80341858 0033E7B8 7C 15 B8 40 */ cmplw r21, r23 +/* 8034185C 0033E7BC 40 81 00 08 */ ble lbl_80341864 +/* 80341860 0033E7C0 7E F5 BB 78 */ mr r21, r23 +lbl_80341864: +/* 80341864 0033E7C4 7F 03 C3 78 */ mr r3, r24 +/* 80341868 0033E7C8 7F 44 D3 78 */ mr r4, r26 +/* 8034186C 0033E7CC 7E A5 AB 78 */ mr r5, r21 +/* 80341870 0033E7D0 4B CC 1C 21 */ bl memcpy +/* 80341874 0033E7D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80341878 0033E7D8 7F 5A AA 14 */ add r26, r26, r21 +/* 8034187C 0033E7DC 7F 35 C8 50 */ subf r25, r21, r25 +/* 80341880 0033E7E0 7F 18 AA 14 */ add r24, r24, r21 +/* 80341884 0033E7E4 7C 15 00 51 */ subf. r0, r21, r0 +/* 80341888 0033E7E8 7E F5 B8 50 */ subf r23, r21, r23 +/* 8034188C 0033E7EC 90 1E 00 04 */ stw r0, 4(r30) +/* 80341890 0033E7F0 40 82 FB 68 */ bne lbl_803413F8 +/* 80341894 0033E7F4 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80341898 0033E7F8 38 60 00 00 */ li r3, 0 +/* 8034189C 0033E7FC 28 00 00 00 */ cmplwi r0, 0 +/* 803418A0 0033E800 41 82 00 08 */ beq lbl_803418A8 +/* 803418A4 0033E804 38 60 00 07 */ li r3, 7 +lbl_803418A8: +/* 803418A8 0033E808 90 7E 00 00 */ stw r3, 0(r30) +/* 803418AC 0033E80C 4B FF FB 4C */ b lbl_803413F8 +/* 803418B0 0033E810 20 1B 00 15 */ subfic r0, r27, 0x15 +/* 803418B4 0033E814 54 00 E8 FE */ srwi r0, r0, 3 +/* 803418B8 0033E818 7C 09 03 A6 */ mtctr r0 +/* 803418BC 0033E81C 28 1B 00 0E */ cmplwi r27, 0xe +/* 803418C0 0033E820 40 80 00 6C */ bge lbl_8034192C +lbl_803418C4: +/* 803418C4 0033E824 28 19 00 00 */ cmplwi r25, 0 +/* 803418C8 0033E828 41 82 00 0C */ beq lbl_803418D4 +/* 803418CC 0033E82C 3A C0 00 00 */ li r22, 0 +/* 803418D0 0033E830 48 00 00 40 */ b lbl_80341910 +lbl_803418D4: +/* 803418D4 0033E834 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803418D8 0033E838 7F C3 F3 78 */ mr r3, r30 +/* 803418DC 0033E83C 7F E4 FB 78 */ mr r4, r31 +/* 803418E0 0033E840 7E C5 B3 78 */ mr r5, r22 +/* 803418E4 0033E844 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803418E8 0033E848 93 3F 00 04 */ stw r25, 4(r31) +/* 803418EC 0033E84C 80 1F 00 00 */ lwz r0, 0(r31) +/* 803418F0 0033E850 80 DF 00 08 */ lwz r6, 8(r31) +/* 803418F4 0033E854 7C 00 D0 50 */ subf r0, r0, r26 +/* 803418F8 0033E858 7C 06 02 14 */ add r0, r6, r0 +/* 803418FC 0033E85C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341900 0033E860 93 5F 00 00 */ stw r26, 0(r31) +/* 80341904 0033E864 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341908 0033E868 48 00 2B 05 */ bl inflate_flush +/* 8034190C 0033E86C 48 00 08 4C */ b lbl_80342158 +lbl_80341910: +/* 80341910 0033E870 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341914 0033E874 3B 39 FF FF */ addi r25, r25, -1 +/* 80341918 0033E878 3B 5A 00 01 */ addi r26, r26, 1 +/* 8034191C 0033E87C 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341920 0033E880 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341924 0033E884 7F 9C 03 78 */ or r28, r28, r0 +/* 80341928 0033E888 42 00 FF 9C */ bdnz lbl_803418C4 +lbl_8034192C: +/* 8034192C 0033E88C 57 83 06 FE */ clrlwi r3, r28, 0x1b +/* 80341930 0033E890 57 80 04 BE */ clrlwi r0, r28, 0x12 +/* 80341934 0033E894 28 03 00 1D */ cmplwi r3, 0x1d +/* 80341938 0033E898 90 1E 00 04 */ stw r0, 4(r30) +/* 8034193C 0033E89C 41 81 00 10 */ bgt lbl_8034194C +/* 80341940 0033E8A0 54 00 DE FE */ rlwinm r0, r0, 0x1b, 0x1b, 0x1f +/* 80341944 0033E8A4 28 00 00 1D */ cmplwi r0, 0x1d +/* 80341948 0033E8A8 40 81 00 58 */ ble lbl_803419A0 +lbl_8034194C: +/* 8034194C 0033E8AC 38 00 00 09 */ li r0, 9 +/* 80341950 0033E8B0 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341954 0033E8B4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 80341958 0033E8B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8034195C 0033E8BC 38 03 00 30 */ addi r0, r3, 0x30 +/* 80341960 0033E8C0 7F C3 F3 78 */ mr r3, r30 +/* 80341964 0033E8C4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80341968 0033E8C8 7F E4 FB 78 */ mr r4, r31 +/* 8034196C 0033E8CC 38 A0 FF FD */ li r5, -3 +/* 80341970 0033E8D0 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341974 0033E8D4 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341978 0033E8D8 93 3F 00 04 */ stw r25, 4(r31) +/* 8034197C 0033E8DC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341980 0033E8E0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341984 0033E8E4 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341988 0033E8E8 7C 06 02 14 */ add r0, r6, r0 +/* 8034198C 0033E8EC 90 1F 00 08 */ stw r0, 8(r31) +/* 80341990 0033E8F0 93 5F 00 00 */ stw r26, 0(r31) +/* 80341994 0033E8F4 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341998 0033E8F8 48 00 2A 75 */ bl inflate_flush +/* 8034199C 0033E8FC 48 00 07 BC */ b lbl_80342158 +lbl_803419A0: +/* 803419A0 0033E900 81 9F 00 20 */ lwz r12, 0x20(r31) +/* 803419A4 0033E904 7C 83 02 14 */ add r4, r3, r0 +/* 803419A8 0033E908 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 803419AC 0033E90C 38 A0 00 04 */ li r5, 4 +/* 803419B0 0033E910 7D 89 03 A6 */ mtctr r12 +/* 803419B4 0033E914 38 84 01 02 */ addi r4, r4, 0x102 +/* 803419B8 0033E918 4E 80 04 21 */ bctrl +/* 803419BC 0033E91C 28 03 00 00 */ cmplwi r3, 0 +/* 803419C0 0033E920 90 7E 00 0C */ stw r3, 0xc(r30) +/* 803419C4 0033E924 40 82 00 40 */ bne lbl_80341A04 +/* 803419C8 0033E928 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803419CC 0033E92C 7F C3 F3 78 */ mr r3, r30 +/* 803419D0 0033E930 7F E4 FB 78 */ mr r4, r31 +/* 803419D4 0033E934 38 A0 FF FC */ li r5, -4 +/* 803419D8 0033E938 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803419DC 0033E93C 93 3F 00 04 */ stw r25, 4(r31) +/* 803419E0 0033E940 80 1F 00 00 */ lwz r0, 0(r31) +/* 803419E4 0033E944 80 DF 00 08 */ lwz r6, 8(r31) +/* 803419E8 0033E948 7C 00 D0 50 */ subf r0, r0, r26 +/* 803419EC 0033E94C 7C 06 02 14 */ add r0, r6, r0 +/* 803419F0 0033E950 90 1F 00 08 */ stw r0, 8(r31) +/* 803419F4 0033E954 93 5F 00 00 */ stw r26, 0(r31) +/* 803419F8 0033E958 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803419FC 0033E95C 48 00 2A 11 */ bl inflate_flush +/* 80341A00 0033E960 48 00 07 58 */ b lbl_80342158 +lbl_80341A04: +/* 80341A04 0033E964 38 60 00 00 */ li r3, 0 +/* 80341A08 0033E968 38 00 00 04 */ li r0, 4 +/* 80341A0C 0033E96C 90 7E 00 08 */ stw r3, 8(r30) +/* 80341A10 0033E970 57 9C 93 BE */ srwi r28, r28, 0xe +/* 80341A14 0033E974 3B 7B FF F2 */ addi r27, r27, -14 +/* 80341A18 0033E978 90 1E 00 00 */ stw r0, 0(r30) +/* 80341A1C 0033E97C 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha +/* 80341A20 0033E980 38 A3 7A A8 */ addi r5, r3, lbl_803D7AA8@l +/* 80341A24 0033E984 48 00 00 AC */ b lbl_80341AD0 +lbl_80341A28: +/* 80341A28 0033E988 20 1B 00 0A */ subfic r0, r27, 0xa +/* 80341A2C 0033E98C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80341A30 0033E990 7C 09 03 A6 */ mtctr r0 +/* 80341A34 0033E994 28 1B 00 03 */ cmplwi r27, 3 +/* 80341A38 0033E998 40 80 00 6C */ bge lbl_80341AA4 +lbl_80341A3C: +/* 80341A3C 0033E99C 28 19 00 00 */ cmplwi r25, 0 +/* 80341A40 0033E9A0 41 82 00 0C */ beq lbl_80341A4C +/* 80341A44 0033E9A4 3A C0 00 00 */ li r22, 0 +/* 80341A48 0033E9A8 48 00 00 40 */ b lbl_80341A88 +lbl_80341A4C: +/* 80341A4C 0033E9AC 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341A50 0033E9B0 7F C3 F3 78 */ mr r3, r30 +/* 80341A54 0033E9B4 7F E4 FB 78 */ mr r4, r31 +/* 80341A58 0033E9B8 7E C5 B3 78 */ mr r5, r22 +/* 80341A5C 0033E9BC 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341A60 0033E9C0 93 3F 00 04 */ stw r25, 4(r31) +/* 80341A64 0033E9C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341A68 0033E9C8 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341A6C 0033E9CC 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341A70 0033E9D0 7C 06 02 14 */ add r0, r6, r0 +/* 80341A74 0033E9D4 90 1F 00 08 */ stw r0, 8(r31) +/* 80341A78 0033E9D8 93 5F 00 00 */ stw r26, 0(r31) +/* 80341A7C 0033E9DC 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341A80 0033E9E0 48 00 29 8D */ bl inflate_flush +/* 80341A84 0033E9E4 48 00 06 D4 */ b lbl_80342158 +lbl_80341A88: +/* 80341A88 0033E9E8 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341A8C 0033E9EC 3B 39 FF FF */ addi r25, r25, -1 +/* 80341A90 0033E9F0 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341A94 0033E9F4 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341A98 0033E9F8 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341A9C 0033E9FC 7F 9C 03 78 */ or r28, r28, r0 +/* 80341AA0 0033EA00 42 00 FF 9C */ bdnz lbl_80341A3C +lbl_80341AA4: +/* 80341AA4 0033EA04 80 7E 00 08 */ lwz r3, 8(r30) +/* 80341AA8 0033EA08 57 86 07 7E */ clrlwi r6, r28, 0x1d +/* 80341AAC 0033EA0C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341AB0 0033EA10 57 9C E8 FE */ srwi r28, r28, 3 +/* 80341AB4 0033EA14 54 60 10 3A */ slwi r0, r3, 2 +/* 80341AB8 0033EA18 38 63 00 01 */ addi r3, r3, 1 +/* 80341ABC 0033EA1C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80341AC0 0033EA20 3B 7B FF FD */ addi r27, r27, -3 +/* 80341AC4 0033EA24 90 7E 00 08 */ stw r3, 8(r30) +/* 80341AC8 0033EA28 54 00 10 3A */ slwi r0, r0, 2 +/* 80341ACC 0033EA2C 7C C4 01 2E */ stwx r6, r4, r0 +lbl_80341AD0: +/* 80341AD0 0033EA30 80 1E 00 04 */ lwz r0, 4(r30) +/* 80341AD4 0033EA34 80 9E 00 08 */ lwz r4, 8(r30) +/* 80341AD8 0033EA38 54 03 B2 BE */ srwi r3, r0, 0xa +/* 80341ADC 0033EA3C 38 03 00 04 */ addi r0, r3, 4 +/* 80341AE0 0033EA40 7C 04 00 40 */ cmplw r4, r0 +/* 80341AE4 0033EA44 41 80 FF 44 */ blt lbl_80341A28 +/* 80341AE8 0033EA48 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha +/* 80341AEC 0033EA4C 38 C0 00 00 */ li r6, 0 +/* 80341AF0 0033EA50 38 63 7A A8 */ addi r3, r3, lbl_803D7AA8@l +/* 80341AF4 0033EA54 48 00 00 24 */ b lbl_80341B18 +lbl_80341AF8: +/* 80341AF8 0033EA58 80 9E 00 08 */ lwz r4, 8(r30) +/* 80341AFC 0033EA5C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341B00 0033EA60 54 80 10 3A */ slwi r0, r4, 2 +/* 80341B04 0033EA64 38 84 00 01 */ addi r4, r4, 1 +/* 80341B08 0033EA68 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80341B0C 0033EA6C 90 9E 00 08 */ stw r4, 8(r30) +/* 80341B10 0033EA70 54 00 10 3A */ slwi r0, r0, 2 +/* 80341B14 0033EA74 7C C5 01 2E */ stwx r6, r5, r0 +lbl_80341B18: +/* 80341B18 0033EA78 80 1E 00 08 */ lwz r0, 8(r30) +/* 80341B1C 0033EA7C 28 00 00 13 */ cmplwi r0, 0x13 +/* 80341B20 0033EA80 41 80 FF D8 */ blt lbl_80341AF8 +/* 80341B24 0033EA84 38 00 00 07 */ li r0, 7 +/* 80341B28 0033EA88 7F E7 FB 78 */ mr r7, r31 +/* 80341B2C 0033EA8C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80341B30 0033EA90 38 9E 00 10 */ addi r4, r30, 0x10 +/* 80341B34 0033EA94 38 BE 00 14 */ addi r5, r30, 0x14 +/* 80341B38 0033EA98 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80341B3C 0033EA9C 80 DE 00 24 */ lwz r6, 0x24(r30) +/* 80341B40 0033EAA0 48 00 22 A1 */ bl inflate_trees_bits +/* 80341B44 0033EAA4 7C 77 1B 79 */ or. r23, r3, r3 +/* 80341B48 0033EAA8 41 82 00 64 */ beq lbl_80341BAC +/* 80341B4C 0033EAAC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341B50 0033EAB0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341B54 0033EAB4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341B58 0033EAB8 7D 89 03 A6 */ mtctr r12 +/* 80341B5C 0033EABC 4E 80 04 21 */ bctrl +/* 80341B60 0033EAC0 2C 17 FF FD */ cmpwi r23, -3 +/* 80341B64 0033EAC4 40 82 00 0C */ bne lbl_80341B70 +/* 80341B68 0033EAC8 38 00 00 09 */ li r0, 9 +/* 80341B6C 0033EACC 90 1E 00 00 */ stw r0, 0(r30) +lbl_80341B70: +/* 80341B70 0033EAD0 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341B74 0033EAD4 7F C3 F3 78 */ mr r3, r30 +/* 80341B78 0033EAD8 7F E4 FB 78 */ mr r4, r31 +/* 80341B7C 0033EADC 7E E5 BB 78 */ mr r5, r23 +/* 80341B80 0033EAE0 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341B84 0033EAE4 93 3F 00 04 */ stw r25, 4(r31) +/* 80341B88 0033EAE8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341B8C 0033EAEC 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341B90 0033EAF0 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341B94 0033EAF4 7C 06 02 14 */ add r0, r6, r0 +/* 80341B98 0033EAF8 90 1F 00 08 */ stw r0, 8(r31) +/* 80341B9C 0033EAFC 93 5F 00 00 */ stw r26, 0(r31) +/* 80341BA0 0033EB00 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341BA4 0033EB04 48 00 28 69 */ bl inflate_flush +/* 80341BA8 0033EB08 48 00 05 B0 */ b lbl_80342158 +lbl_80341BAC: +/* 80341BAC 0033EB0C 38 60 00 00 */ li r3, 0 +/* 80341BB0 0033EB10 38 00 00 05 */ li r0, 5 +/* 80341BB4 0033EB14 90 7E 00 08 */ stw r3, 8(r30) +/* 80341BB8 0033EB18 90 1E 00 00 */ stw r0, 0(r30) +/* 80341BBC 0033EB1C 3C 60 80 3F */ lis r3, lbl_803EF5C8@ha +/* 80341BC0 0033EB20 38 63 F5 C8 */ addi r3, r3, lbl_803EF5C8@l +/* 80341BC4 0033EB24 48 00 02 78 */ b lbl_80341E3C +lbl_80341BC8: +/* 80341BC8 0033EB28 80 DE 00 10 */ lwz r6, 0x10(r30) +/* 80341BCC 0033EB2C 38 A6 00 07 */ addi r5, r6, 7 +/* 80341BD0 0033EB30 7C BB 28 50 */ subf r5, r27, r5 +/* 80341BD4 0033EB34 54 A5 E8 FE */ srwi r5, r5, 3 +/* 80341BD8 0033EB38 7C A9 03 A6 */ mtctr r5 +/* 80341BDC 0033EB3C 7C 1B 30 40 */ cmplw r27, r6 +/* 80341BE0 0033EB40 40 80 00 6C */ bge lbl_80341C4C +lbl_80341BE4: +/* 80341BE4 0033EB44 28 19 00 00 */ cmplwi r25, 0 +/* 80341BE8 0033EB48 41 82 00 0C */ beq lbl_80341BF4 +/* 80341BEC 0033EB4C 3A C0 00 00 */ li r22, 0 +/* 80341BF0 0033EB50 48 00 00 40 */ b lbl_80341C30 +lbl_80341BF4: +/* 80341BF4 0033EB54 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341BF8 0033EB58 7F C3 F3 78 */ mr r3, r30 +/* 80341BFC 0033EB5C 7F E4 FB 78 */ mr r4, r31 +/* 80341C00 0033EB60 7E C5 B3 78 */ mr r5, r22 +/* 80341C04 0033EB64 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341C08 0033EB68 93 3F 00 04 */ stw r25, 4(r31) +/* 80341C0C 0033EB6C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341C10 0033EB70 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341C14 0033EB74 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341C18 0033EB78 7C 06 02 14 */ add r0, r6, r0 +/* 80341C1C 0033EB7C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341C20 0033EB80 93 5F 00 00 */ stw r26, 0(r31) +/* 80341C24 0033EB84 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341C28 0033EB88 48 00 27 E5 */ bl inflate_flush +/* 80341C2C 0033EB8C 48 00 05 2C */ b lbl_80342158 +lbl_80341C30: +/* 80341C30 0033EB90 88 BA 00 00 */ lbz r5, 0(r26) +/* 80341C34 0033EB94 3B 39 FF FF */ addi r25, r25, -1 +/* 80341C38 0033EB98 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341C3C 0033EB9C 7C A5 D8 30 */ slw r5, r5, r27 +/* 80341C40 0033EBA0 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341C44 0033EBA4 7F 9C 2B 78 */ or r28, r28, r5 +/* 80341C48 0033EBA8 42 00 FF 9C */ bdnz lbl_80341BE4 +lbl_80341C4C: +/* 80341C4C 0033EBAC 54 C5 10 3A */ slwi r5, r6, 2 +/* 80341C50 0033EBB0 80 DE 00 14 */ lwz r6, 0x14(r30) +/* 80341C54 0033EBB4 7C A3 28 2E */ lwzx r5, r3, r5 +/* 80341C58 0033EBB8 7F 85 28 38 */ and r5, r28, r5 +/* 80341C5C 0033EBBC 54 A5 18 38 */ slwi r5, r5, 3 +/* 80341C60 0033EBC0 7C C6 2A 14 */ add r6, r6, r5 +/* 80341C64 0033EBC4 80 A6 00 04 */ lwz r5, 4(r6) +/* 80341C68 0033EBC8 89 66 00 01 */ lbz r11, 1(r6) +/* 80341C6C 0033EBCC 28 05 00 10 */ cmplwi r5, 0x10 +/* 80341C70 0033EBD0 40 80 00 28 */ bge lbl_80341C98 +/* 80341C74 0033EBD4 80 DE 00 08 */ lwz r6, 8(r30) +/* 80341C78 0033EBD8 7F 9C 5C 30 */ srw r28, r28, r11 +/* 80341C7C 0033EBDC 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 80341C80 0033EBE0 7F 6B D8 50 */ subf r27, r11, r27 +/* 80341C84 0033EBE4 38 86 00 01 */ addi r4, r6, 1 +/* 80341C88 0033EBE8 54 C0 10 3A */ slwi r0, r6, 2 +/* 80341C8C 0033EBEC 90 9E 00 08 */ stw r4, 8(r30) +/* 80341C90 0033EBF0 7C A7 01 2E */ stwx r5, r7, r0 +/* 80341C94 0033EBF4 48 00 01 A8 */ b lbl_80341E3C +lbl_80341C98: +/* 80341C98 0033EBF8 28 05 00 12 */ cmplwi r5, 0x12 +/* 80341C9C 0033EBFC 39 40 00 07 */ li r10, 7 +/* 80341CA0 0033EC00 41 82 00 08 */ beq lbl_80341CA8 +/* 80341CA4 0033EC04 39 45 FF F2 */ addi r10, r5, -14 +lbl_80341CA8: +/* 80341CA8 0033EC08 28 05 00 12 */ cmplwi r5, 0x12 +/* 80341CAC 0033EC0C 39 20 00 03 */ li r9, 3 +/* 80341CB0 0033EC10 40 82 00 08 */ bne lbl_80341CB8 +/* 80341CB4 0033EC14 39 20 00 0B */ li r9, 0xb +lbl_80341CB8: +/* 80341CB8 0033EC18 7C EB 52 14 */ add r7, r11, r10 +/* 80341CBC 0033EC1C 38 C7 00 07 */ addi r6, r7, 7 +/* 80341CC0 0033EC20 7C DB 30 50 */ subf r6, r27, r6 +/* 80341CC4 0033EC24 54 C6 E8 FE */ srwi r6, r6, 3 +/* 80341CC8 0033EC28 7C C9 03 A6 */ mtctr r6 +/* 80341CCC 0033EC2C 7C 1B 38 40 */ cmplw r27, r7 +/* 80341CD0 0033EC30 40 80 00 6C */ bge lbl_80341D3C +lbl_80341CD4: +/* 80341CD4 0033EC34 28 19 00 00 */ cmplwi r25, 0 +/* 80341CD8 0033EC38 41 82 00 0C */ beq lbl_80341CE4 +/* 80341CDC 0033EC3C 3A C0 00 00 */ li r22, 0 +/* 80341CE0 0033EC40 48 00 00 40 */ b lbl_80341D20 +lbl_80341CE4: +/* 80341CE4 0033EC44 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341CE8 0033EC48 7F C3 F3 78 */ mr r3, r30 +/* 80341CEC 0033EC4C 7F E4 FB 78 */ mr r4, r31 +/* 80341CF0 0033EC50 7E C5 B3 78 */ mr r5, r22 +/* 80341CF4 0033EC54 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341CF8 0033EC58 93 3F 00 04 */ stw r25, 4(r31) +/* 80341CFC 0033EC5C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341D00 0033EC60 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341D04 0033EC64 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341D08 0033EC68 7C 06 02 14 */ add r0, r6, r0 +/* 80341D0C 0033EC6C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341D10 0033EC70 93 5F 00 00 */ stw r26, 0(r31) +/* 80341D14 0033EC74 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341D18 0033EC78 48 00 26 F5 */ bl inflate_flush +/* 80341D1C 0033EC7C 48 00 04 3C */ b lbl_80342158 +lbl_80341D20: +/* 80341D20 0033EC80 88 DA 00 00 */ lbz r6, 0(r26) +/* 80341D24 0033EC84 3B 39 FF FF */ addi r25, r25, -1 +/* 80341D28 0033EC88 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341D2C 0033EC8C 7C C6 D8 30 */ slw r6, r6, r27 +/* 80341D30 0033EC90 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341D34 0033EC94 7F 9C 33 78 */ or r28, r28, r6 +/* 80341D38 0033EC98 42 00 FF 9C */ bdnz lbl_80341CD4 +lbl_80341D3C: +/* 80341D3C 0033EC9C 3C C0 80 3F */ lis r6, lbl_803EF5C8@ha +/* 80341D40 0033ECA0 7F 6B D8 50 */ subf r27, r11, r27 +/* 80341D44 0033ECA4 55 48 10 3A */ slwi r8, r10, 2 +/* 80341D48 0033ECA8 7F 9C 5C 30 */ srw r28, r28, r11 +/* 80341D4C 0033ECAC 38 E6 F5 C8 */ addi r7, r6, lbl_803EF5C8@l +/* 80341D50 0033ECB0 54 86 06 FE */ clrlwi r6, r4, 0x1b +/* 80341D54 0033ECB4 7C E7 40 2E */ lwzx r7, r7, r8 +/* 80341D58 0033ECB8 54 84 DE FE */ rlwinm r4, r4, 0x1b, 0x1b, 0x1f +/* 80341D5C 0033ECBC 7C 86 22 14 */ add r4, r6, r4 +/* 80341D60 0033ECC0 7C 08 03 78 */ mr r8, r0 +/* 80341D64 0033ECC4 7F 86 38 38 */ and r6, r28, r7 +/* 80341D68 0033ECC8 7F 9C 54 30 */ srw r28, r28, r10 +/* 80341D6C 0033ECCC 7C E9 32 14 */ add r7, r9, r6 +/* 80341D70 0033ECD0 38 84 01 02 */ addi r4, r4, 0x102 +/* 80341D74 0033ECD4 7C C0 3A 14 */ add r6, r0, r7 +/* 80341D78 0033ECD8 7F 6A D8 50 */ subf r27, r10, r27 +/* 80341D7C 0033ECDC 7C 06 20 40 */ cmplw r6, r4 +/* 80341D80 0033ECE0 41 81 00 14 */ bgt lbl_80341D94 +/* 80341D84 0033ECE4 28 05 00 10 */ cmplwi r5, 0x10 +/* 80341D88 0033ECE8 40 82 00 74 */ bne lbl_80341DFC +/* 80341D8C 0033ECEC 28 00 00 01 */ cmplwi r0, 1 +/* 80341D90 0033ECF0 40 80 00 6C */ bge lbl_80341DFC +lbl_80341D94: +/* 80341D94 0033ECF4 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341D98 0033ECF8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341D9C 0033ECFC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341DA0 0033ED00 7D 89 03 A6 */ mtctr r12 +/* 80341DA4 0033ED04 4E 80 04 21 */ bctrl +/* 80341DA8 0033ED08 38 00 00 09 */ li r0, 9 +/* 80341DAC 0033ED0C 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341DB0 0033ED10 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 80341DB4 0033ED14 90 1E 00 00 */ stw r0, 0(r30) +/* 80341DB8 0033ED18 38 03 00 54 */ addi r0, r3, 0x54 +/* 80341DBC 0033ED1C 7F C3 F3 78 */ mr r3, r30 +/* 80341DC0 0033ED20 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80341DC4 0033ED24 7F E4 FB 78 */ mr r4, r31 +/* 80341DC8 0033ED28 38 A0 FF FD */ li r5, -3 +/* 80341DCC 0033ED2C 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341DD0 0033ED30 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341DD4 0033ED34 93 3F 00 04 */ stw r25, 4(r31) +/* 80341DD8 0033ED38 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341DDC 0033ED3C 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341DE0 0033ED40 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341DE4 0033ED44 7C 06 02 14 */ add r0, r6, r0 +/* 80341DE8 0033ED48 90 1F 00 08 */ stw r0, 8(r31) +/* 80341DEC 0033ED4C 93 5F 00 00 */ stw r26, 0(r31) +/* 80341DF0 0033ED50 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341DF4 0033ED54 48 00 26 19 */ bl inflate_flush +/* 80341DF8 0033ED58 48 00 03 60 */ b lbl_80342158 +lbl_80341DFC: +/* 80341DFC 0033ED5C 28 05 00 10 */ cmplwi r5, 0x10 +/* 80341E00 0033ED60 40 82 00 18 */ bne lbl_80341E18 +/* 80341E04 0033ED64 54 04 10 3A */ slwi r4, r0, 2 +/* 80341E08 0033ED68 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341E0C 0033ED6C 38 04 FF FC */ addi r0, r4, -4 +/* 80341E10 0033ED70 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80341E14 0033ED74 48 00 00 08 */ b lbl_80341E1C +lbl_80341E18: +/* 80341E18 0033ED78 38 00 00 00 */ li r0, 0 +lbl_80341E1C: +/* 80341E1C 0033ED7C 55 04 10 3A */ slwi r4, r8, 2 +lbl_80341E20: +/* 80341E20 0033ED80 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341E24 0033ED84 34 E7 FF FF */ addic. r7, r7, -1 +/* 80341E28 0033ED88 39 08 00 01 */ addi r8, r8, 1 +/* 80341E2C 0033ED8C 7C 05 21 2E */ stwx r0, r5, r4 +/* 80341E30 0033ED90 38 84 00 04 */ addi r4, r4, 4 +/* 80341E34 0033ED94 40 82 FF EC */ bne lbl_80341E20 +/* 80341E38 0033ED98 91 1E 00 08 */ stw r8, 8(r30) +lbl_80341E3C: +/* 80341E3C 0033ED9C 80 9E 00 04 */ lwz r4, 4(r30) +/* 80341E40 0033EDA0 80 1E 00 08 */ lwz r0, 8(r30) +/* 80341E44 0033EDA4 54 86 06 FE */ clrlwi r6, r4, 0x1b +/* 80341E48 0033EDA8 54 85 DE FE */ rlwinm r5, r4, 0x1b, 0x1b, 0x1f +/* 80341E4C 0033EDAC 7C A6 2A 14 */ add r5, r6, r5 +/* 80341E50 0033EDB0 38 A5 01 02 */ addi r5, r5, 0x102 +/* 80341E54 0033EDB4 7C 00 28 40 */ cmplw r0, r5 +/* 80341E58 0033EDB8 41 80 FD 70 */ blt lbl_80341BC8 +/* 80341E5C 0033EDBC 38 00 00 00 */ li r0, 0 +/* 80341E60 0033EDC0 38 60 00 09 */ li r3, 9 +/* 80341E64 0033EDC4 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80341E68 0033EDC8 38 00 00 06 */ li r0, 6 +/* 80341E6C 0033EDCC 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80341E70 0033EDD0 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80341E74 0033EDD4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80341E78 0033EDD8 39 01 00 14 */ addi r8, r1, 0x14 +/* 80341E7C 0033EDDC 39 21 00 10 */ addi r9, r1, 0x10 +/* 80341E80 0033EDE0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80341E84 0033EDE4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80341E88 0033EDE8 93 E1 00 08 */ stw r31, 8(r1) +/* 80341E8C 0033EDEC 54 03 06 FE */ clrlwi r3, r0, 0x1b +/* 80341E90 0033EDF0 54 04 DE FE */ rlwinm r4, r0, 0x1b, 0x1b, 0x1f +/* 80341E94 0033EDF4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341E98 0033EDF8 38 63 01 01 */ addi r3, r3, 0x101 +/* 80341E9C 0033EDFC 81 5E 00 24 */ lwz r10, 0x24(r30) +/* 80341EA0 0033EE00 38 84 00 01 */ addi r4, r4, 1 +/* 80341EA4 0033EE04 48 00 1D 4D */ bl inflate_trees_dynamic +/* 80341EA8 0033EE08 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341EAC 0033EE0C 7C 77 1B 78 */ mr r23, r3 +/* 80341EB0 0033EE10 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341EB4 0033EE14 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341EB8 0033EE18 7D 89 03 A6 */ mtctr r12 +/* 80341EBC 0033EE1C 4E 80 04 21 */ bctrl +/* 80341EC0 0033EE20 28 17 00 00 */ cmplwi r23, 0 +/* 80341EC4 0033EE24 41 82 00 54 */ beq lbl_80341F18 +/* 80341EC8 0033EE28 3C 17 00 01 */ addis r0, r23, 1 +/* 80341ECC 0033EE2C 28 00 FF FD */ cmplwi r0, 0xfffd +/* 80341ED0 0033EE30 40 82 00 0C */ bne lbl_80341EDC +/* 80341ED4 0033EE34 38 00 00 09 */ li r0, 9 +/* 80341ED8 0033EE38 90 1E 00 00 */ stw r0, 0(r30) +lbl_80341EDC: +/* 80341EDC 0033EE3C 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341EE0 0033EE40 7F C3 F3 78 */ mr r3, r30 +/* 80341EE4 0033EE44 7F E4 FB 78 */ mr r4, r31 +/* 80341EE8 0033EE48 7E E5 BB 78 */ mr r5, r23 +/* 80341EEC 0033EE4C 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341EF0 0033EE50 93 3F 00 04 */ stw r25, 4(r31) +/* 80341EF4 0033EE54 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341EF8 0033EE58 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341EFC 0033EE5C 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341F00 0033EE60 7C 06 02 14 */ add r0, r6, r0 +/* 80341F04 0033EE64 90 1F 00 08 */ stw r0, 8(r31) +/* 80341F08 0033EE68 93 5F 00 00 */ stw r26, 0(r31) +/* 80341F0C 0033EE6C 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341F10 0033EE70 48 00 24 FD */ bl inflate_flush +/* 80341F14 0033EE74 48 00 02 44 */ b lbl_80342158 +lbl_80341F18: +/* 80341F18 0033EE78 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80341F1C 0033EE7C 7F E7 FB 78 */ mr r7, r31 +/* 80341F20 0033EE80 80 81 00 18 */ lwz r4, 0x18(r1) +/* 80341F24 0033EE84 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80341F28 0033EE88 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80341F2C 0033EE8C 48 00 0E 15 */ bl inflate_codes_new +/* 80341F30 0033EE90 28 03 00 00 */ cmplwi r3, 0 +/* 80341F34 0033EE94 40 82 00 40 */ bne lbl_80341F74 +/* 80341F38 0033EE98 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341F3C 0033EE9C 7F C3 F3 78 */ mr r3, r30 +/* 80341F40 0033EEA0 7F E4 FB 78 */ mr r4, r31 +/* 80341F44 0033EEA4 38 A0 FF FC */ li r5, -4 +/* 80341F48 0033EEA8 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341F4C 0033EEAC 93 3F 00 04 */ stw r25, 4(r31) +/* 80341F50 0033EEB0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341F54 0033EEB4 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341F58 0033EEB8 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341F5C 0033EEBC 7C 06 02 14 */ add r0, r6, r0 +/* 80341F60 0033EEC0 90 1F 00 08 */ stw r0, 8(r31) +/* 80341F64 0033EEC4 93 5F 00 00 */ stw r26, 0(r31) +/* 80341F68 0033EEC8 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341F6C 0033EECC 48 00 24 A1 */ bl inflate_flush +/* 80341F70 0033EED0 48 00 01 E8 */ b lbl_80342158 +lbl_80341F74: +/* 80341F74 0033EED4 90 7E 00 04 */ stw r3, 4(r30) +/* 80341F78 0033EED8 38 00 00 06 */ li r0, 6 +/* 80341F7C 0033EEDC 90 1E 00 00 */ stw r0, 0(r30) +/* 80341F80 0033EEE0 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341F84 0033EEE4 7F C3 F3 78 */ mr r3, r30 +/* 80341F88 0033EEE8 7F E4 FB 78 */ mr r4, r31 +/* 80341F8C 0033EEEC 7E C5 B3 78 */ mr r5, r22 +/* 80341F90 0033EEF0 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341F94 0033EEF4 93 3F 00 04 */ stw r25, 4(r31) +/* 80341F98 0033EEF8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341F9C 0033EEFC 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341FA0 0033EF00 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341FA4 0033EF04 7C 06 02 14 */ add r0, r6, r0 +/* 80341FA8 0033EF08 90 1F 00 08 */ stw r0, 8(r31) +/* 80341FAC 0033EF0C 93 5F 00 00 */ stw r26, 0(r31) +/* 80341FB0 0033EF10 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341FB4 0033EF14 48 00 04 55 */ bl inflate_codes +/* 80341FB8 0033EF18 7C 65 1B 78 */ mr r5, r3 +/* 80341FBC 0033EF1C 2C 05 00 01 */ cmpwi r5, 1 +/* 80341FC0 0033EF20 41 82 00 14 */ beq lbl_80341FD4 +/* 80341FC4 0033EF24 7F C3 F3 78 */ mr r3, r30 +/* 80341FC8 0033EF28 7F E4 FB 78 */ mr r4, r31 +/* 80341FCC 0033EF2C 48 00 24 41 */ bl inflate_flush +/* 80341FD0 0033EF30 48 00 01 88 */ b lbl_80342158 +lbl_80341FD4: +/* 80341FD4 0033EF34 80 7E 00 04 */ lwz r3, 4(r30) +/* 80341FD8 0033EF38 7F E4 FB 78 */ mr r4, r31 +/* 80341FDC 0033EF3C 3A C0 00 00 */ li r22, 0 +/* 80341FE0 0033EF40 48 00 03 F5 */ bl inflate_codes_free +/* 80341FE4 0033EF44 83 1E 00 34 */ lwz r24, 0x34(r30) +/* 80341FE8 0033EF48 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 80341FEC 0033EF4C 83 5F 00 00 */ lwz r26, 0(r31) +/* 80341FF0 0033EF50 7C 18 00 40 */ cmplw r24, r0 +/* 80341FF4 0033EF54 83 3F 00 04 */ lwz r25, 4(r31) +/* 80341FF8 0033EF58 83 9E 00 20 */ lwz r28, 0x20(r30) +/* 80341FFC 0033EF5C 83 7E 00 1C */ lwz r27, 0x1c(r30) +/* 80342000 0033EF60 40 80 00 10 */ bge lbl_80342010 +/* 80342004 0033EF64 7C 78 00 50 */ subf r3, r24, r0 +/* 80342008 0033EF68 38 63 FF FF */ addi r3, r3, -1 +/* 8034200C 0033EF6C 48 00 00 0C */ b lbl_80342018 +lbl_80342010: +/* 80342010 0033EF70 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 80342014 0033EF74 7C 78 00 50 */ subf r3, r24, r0 +lbl_80342018: +/* 80342018 0033EF78 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8034201C 0033EF7C 7C 77 1B 78 */ mr r23, r3 +/* 80342020 0033EF80 28 00 00 00 */ cmplwi r0, 0 +/* 80342024 0033EF84 40 82 00 10 */ bne lbl_80342034 +/* 80342028 0033EF88 38 00 00 00 */ li r0, 0 +/* 8034202C 0033EF8C 90 1E 00 00 */ stw r0, 0(r30) +/* 80342030 0033EF90 4B FF F3 C8 */ b lbl_803413F8 +lbl_80342034: +/* 80342034 0033EF94 38 00 00 07 */ li r0, 7 +/* 80342038 0033EF98 90 1E 00 00 */ stw r0, 0(r30) +/* 8034203C 0033EF9C 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80342040 0033EFA0 7F C3 F3 78 */ mr r3, r30 +/* 80342044 0033EFA4 7F E4 FB 78 */ mr r4, r31 +/* 80342048 0033EFA8 7E C5 B3 78 */ mr r5, r22 +/* 8034204C 0033EFAC 48 00 23 C1 */ bl inflate_flush +/* 80342050 0033EFB0 80 FE 00 34 */ lwz r7, 0x34(r30) +/* 80342054 0033EFB4 7C 65 1B 78 */ mr r5, r3 +/* 80342058 0033EFB8 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 8034205C 0033EFBC 7C F8 3B 78 */ mr r24, r7 +/* 80342060 0033EFC0 7C 00 38 40 */ cmplw r0, r7 +/* 80342064 0033EFC4 41 82 00 3C */ beq lbl_803420A0 +/* 80342068 0033EFC8 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034206C 0033EFCC 7F C3 F3 78 */ mr r3, r30 +/* 80342070 0033EFD0 7F E4 FB 78 */ mr r4, r31 +/* 80342074 0033EFD4 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80342078 0033EFD8 93 3F 00 04 */ stw r25, 4(r31) +/* 8034207C 0033EFDC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342080 0033EFE0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80342084 0033EFE4 7C 00 D0 50 */ subf r0, r0, r26 +/* 80342088 0033EFE8 7C 06 02 14 */ add r0, r6, r0 +/* 8034208C 0033EFEC 90 1F 00 08 */ stw r0, 8(r31) +/* 80342090 0033EFF0 93 5F 00 00 */ stw r26, 0(r31) +/* 80342094 0033EFF4 90 FE 00 34 */ stw r7, 0x34(r30) +/* 80342098 0033EFF8 48 00 23 75 */ bl inflate_flush +/* 8034209C 0033EFFC 48 00 00 BC */ b lbl_80342158 +lbl_803420A0: +/* 803420A0 0033F000 38 00 00 08 */ li r0, 8 +/* 803420A4 0033F004 90 1E 00 00 */ stw r0, 0(r30) +/* 803420A8 0033F008 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803420AC 0033F00C 7F C3 F3 78 */ mr r3, r30 +/* 803420B0 0033F010 7F E4 FB 78 */ mr r4, r31 +/* 803420B4 0033F014 38 A0 00 01 */ li r5, 1 +/* 803420B8 0033F018 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803420BC 0033F01C 93 3F 00 04 */ stw r25, 4(r31) +/* 803420C0 0033F020 80 1F 00 00 */ lwz r0, 0(r31) +/* 803420C4 0033F024 80 DF 00 08 */ lwz r6, 8(r31) +/* 803420C8 0033F028 7C 00 D0 50 */ subf r0, r0, r26 +/* 803420CC 0033F02C 7C 06 02 14 */ add r0, r6, r0 +/* 803420D0 0033F030 90 1F 00 08 */ stw r0, 8(r31) +/* 803420D4 0033F034 93 5F 00 00 */ stw r26, 0(r31) +/* 803420D8 0033F038 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803420DC 0033F03C 48 00 23 31 */ bl inflate_flush +/* 803420E0 0033F040 48 00 00 78 */ b lbl_80342158 +/* 803420E4 0033F044 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803420E8 0033F048 7F C3 F3 78 */ mr r3, r30 +/* 803420EC 0033F04C 7F E4 FB 78 */ mr r4, r31 +/* 803420F0 0033F050 38 A0 FF FD */ li r5, -3 +/* 803420F4 0033F054 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803420F8 0033F058 93 3F 00 04 */ stw r25, 4(r31) +/* 803420FC 0033F05C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342100 0033F060 80 DF 00 08 */ lwz r6, 8(r31) +/* 80342104 0033F064 7C 00 D0 50 */ subf r0, r0, r26 +/* 80342108 0033F068 7C 06 02 14 */ add r0, r6, r0 +/* 8034210C 0033F06C 90 1F 00 08 */ stw r0, 8(r31) +/* 80342110 0033F070 93 5F 00 00 */ stw r26, 0(r31) +/* 80342114 0033F074 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80342118 0033F078 48 00 22 F5 */ bl inflate_flush +/* 8034211C 0033F07C 48 00 00 3C */ b lbl_80342158 +lbl_80342120: +/* 80342120 0033F080 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80342124 0033F084 7F C3 F3 78 */ mr r3, r30 +/* 80342128 0033F088 7F E4 FB 78 */ mr r4, r31 +/* 8034212C 0033F08C 38 A0 FF FE */ li r5, -2 +/* 80342130 0033F090 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80342134 0033F094 93 3F 00 04 */ stw r25, 4(r31) +/* 80342138 0033F098 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034213C 0033F09C 80 DF 00 08 */ lwz r6, 8(r31) +/* 80342140 0033F0A0 7C 00 D0 50 */ subf r0, r0, r26 +/* 80342144 0033F0A4 7C 06 02 14 */ add r0, r6, r0 +/* 80342148 0033F0A8 90 1F 00 08 */ stw r0, 8(r31) +/* 8034214C 0033F0AC 93 5F 00 00 */ stw r26, 0(r31) +/* 80342150 0033F0B0 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80342154 0033F0B4 48 00 22 B9 */ bl inflate_flush +lbl_80342158: +/* 80342158 0033F0B8 BA A1 00 34 */ lmw r21, 0x34(r1) +/* 8034215C 0033F0BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80342160 0033F0C0 7C 08 03 A6 */ mtlr r0 +/* 80342164 0033F0C4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80342168 0033F0C8 4E 80 00 20 */ blr + +.global inflate_blocks_new +inflate_blocks_new: +/* 8034216C 0033F0CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80342170 0033F0D0 7C 08 02 A6 */ mflr r0 +/* 80342174 0033F0D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80342178 0033F0D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034217C 0033F0DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80342180 0033F0E0 7C BE 2B 78 */ mr r30, r5 +/* 80342184 0033F0E4 38 A0 00 40 */ li r5, 0x40 +/* 80342188 0033F0E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034218C 0033F0EC 7C 9D 23 78 */ mr r29, r4 +/* 80342190 0033F0F0 38 80 00 01 */ li r4, 1 +/* 80342194 0033F0F4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80342198 0033F0F8 7C 7C 1B 78 */ mr r28, r3 +/* 8034219C 0033F0FC 81 83 00 20 */ lwz r12, 0x20(r3) +/* 803421A0 0033F100 80 63 00 28 */ lwz r3, 0x28(r3) +/* 803421A4 0033F104 7D 89 03 A6 */ mtctr r12 +/* 803421A8 0033F108 4E 80 04 21 */ bctrl +/* 803421AC 0033F10C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803421B0 0033F110 40 82 00 08 */ bne lbl_803421B8 +/* 803421B4 0033F114 48 00 01 38 */ b lbl_803422EC +lbl_803421B8: +/* 803421B8 0033F118 81 9C 00 20 */ lwz r12, 0x20(r28) +/* 803421BC 0033F11C 38 80 00 08 */ li r4, 8 +/* 803421C0 0033F120 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 803421C4 0033F124 38 A0 05 A0 */ li r5, 0x5a0 +/* 803421C8 0033F128 7D 89 03 A6 */ mtctr r12 +/* 803421CC 0033F12C 4E 80 04 21 */ bctrl +/* 803421D0 0033F130 28 03 00 00 */ cmplwi r3, 0 +/* 803421D4 0033F134 90 7F 00 24 */ stw r3, 0x24(r31) +/* 803421D8 0033F138 40 82 00 20 */ bne lbl_803421F8 +/* 803421DC 0033F13C 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 803421E0 0033F140 7F E4 FB 78 */ mr r4, r31 +/* 803421E4 0033F144 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 803421E8 0033F148 7D 89 03 A6 */ mtctr r12 +/* 803421EC 0033F14C 4E 80 04 21 */ bctrl +/* 803421F0 0033F150 38 60 00 00 */ li r3, 0 +/* 803421F4 0033F154 48 00 00 F8 */ b lbl_803422EC +lbl_803421F8: +/* 803421F8 0033F158 81 9C 00 20 */ lwz r12, 0x20(r28) +/* 803421FC 0033F15C 7F C5 F3 78 */ mr r5, r30 +/* 80342200 0033F160 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80342204 0033F164 38 80 00 01 */ li r4, 1 +/* 80342208 0033F168 7D 89 03 A6 */ mtctr r12 +/* 8034220C 0033F16C 4E 80 04 21 */ bctrl +/* 80342210 0033F170 28 03 00 00 */ cmplwi r3, 0 +/* 80342214 0033F174 90 7F 00 28 */ stw r3, 0x28(r31) +/* 80342218 0033F178 40 82 00 34 */ bne lbl_8034224C +/* 8034221C 0033F17C 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 80342220 0033F180 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80342224 0033F184 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80342228 0033F188 7D 89 03 A6 */ mtctr r12 +/* 8034222C 0033F18C 4E 80 04 21 */ bctrl +/* 80342230 0033F190 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 80342234 0033F194 7F E4 FB 78 */ mr r4, r31 +/* 80342238 0033F198 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8034223C 0033F19C 7D 89 03 A6 */ mtctr r12 +/* 80342240 0033F1A0 4E 80 04 21 */ bctrl +/* 80342244 0033F1A4 38 60 00 00 */ li r3, 0 +/* 80342248 0033F1A8 48 00 00 A4 */ b lbl_803422EC +lbl_8034224C: +/* 8034224C 0033F1AC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80342250 0033F1B0 38 00 00 00 */ li r0, 0 +/* 80342254 0033F1B4 7C 63 F2 14 */ add r3, r3, r30 +/* 80342258 0033F1B8 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 8034225C 0033F1BC 93 BF 00 38 */ stw r29, 0x38(r31) +/* 80342260 0033F1C0 90 1F 00 00 */ stw r0, 0(r31) +/* 80342264 0033F1C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342268 0033F1C8 2C 00 00 04 */ cmpwi r0, 4 +/* 8034226C 0033F1CC 41 82 00 0C */ beq lbl_80342278 +/* 80342270 0033F1D0 2C 00 00 05 */ cmpwi r0, 5 +/* 80342274 0033F1D4 40 82 00 18 */ bne lbl_8034228C +lbl_80342278: +/* 80342278 0033F1D8 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 8034227C 0033F1DC 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80342280 0033F1E0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80342284 0033F1E4 7D 89 03 A6 */ mtctr r12 +/* 80342288 0033F1E8 4E 80 04 21 */ bctrl +lbl_8034228C: +/* 8034228C 0033F1EC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342290 0033F1F0 2C 00 00 06 */ cmpwi r0, 6 +/* 80342294 0033F1F4 40 82 00 10 */ bne lbl_803422A4 +/* 80342298 0033F1F8 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034229C 0033F1FC 7F 84 E3 78 */ mr r4, r28 +/* 803422A0 0033F200 48 00 01 35 */ bl inflate_codes_free +lbl_803422A4: +/* 803422A4 0033F204 38 00 00 00 */ li r0, 0 +/* 803422A8 0033F208 90 1F 00 00 */ stw r0, 0(r31) +/* 803422AC 0033F20C 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 803422B0 0033F210 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803422B4 0033F214 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 803422B8 0033F218 90 1F 00 34 */ stw r0, 0x34(r31) +/* 803422BC 0033F21C 90 1F 00 30 */ stw r0, 0x30(r31) +/* 803422C0 0033F220 81 9F 00 38 */ lwz r12, 0x38(r31) +/* 803422C4 0033F224 28 0C 00 00 */ cmplwi r12, 0 +/* 803422C8 0033F228 41 82 00 20 */ beq lbl_803422E8 +/* 803422CC 0033F22C 38 60 00 00 */ li r3, 0 +/* 803422D0 0033F230 38 80 00 00 */ li r4, 0 +/* 803422D4 0033F234 38 A0 00 00 */ li r5, 0 +/* 803422D8 0033F238 7D 89 03 A6 */ mtctr r12 +/* 803422DC 0033F23C 4E 80 04 21 */ bctrl +/* 803422E0 0033F240 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 803422E4 0033F244 90 7C 00 30 */ stw r3, 0x30(r28) +lbl_803422E8: +/* 803422E8 0033F248 7F E3 FB 78 */ mr r3, r31 +lbl_803422EC: +/* 803422EC 0033F24C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803422F0 0033F250 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803422F4 0033F254 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803422F8 0033F258 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803422FC 0033F25C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80342300 0033F260 7C 08 03 A6 */ mtlr r0 +/* 80342304 0033F264 38 21 00 20 */ addi r1, r1, 0x20 +/* 80342308 0033F268 4E 80 00 20 */ blr + +.global inflate_blocks_reset +inflate_blocks_reset: +/* 8034230C 0033F26C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80342310 0033F270 7C 08 02 A6 */ mflr r0 +/* 80342314 0033F274 28 05 00 00 */ cmplwi r5, 0 +/* 80342318 0033F278 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034231C 0033F27C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80342320 0033F280 7C 9F 23 78 */ mr r31, r4 +/* 80342324 0033F284 93 C1 00 08 */ stw r30, 8(r1) +/* 80342328 0033F288 7C 7E 1B 78 */ mr r30, r3 +/* 8034232C 0033F28C 41 82 00 0C */ beq lbl_80342338 +/* 80342330 0033F290 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80342334 0033F294 90 05 00 00 */ stw r0, 0(r5) +lbl_80342338: +/* 80342338 0033F298 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034233C 0033F29C 2C 00 00 04 */ cmpwi r0, 4 +/* 80342340 0033F2A0 41 82 00 0C */ beq lbl_8034234C +/* 80342344 0033F2A4 2C 00 00 05 */ cmpwi r0, 5 +/* 80342348 0033F2A8 40 82 00 18 */ bne lbl_80342360 +lbl_8034234C: +/* 8034234C 0033F2AC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80342350 0033F2B0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80342354 0033F2B4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80342358 0033F2B8 7D 89 03 A6 */ mtctr r12 +/* 8034235C 0033F2BC 4E 80 04 21 */ bctrl +lbl_80342360: +/* 80342360 0033F2C0 80 1E 00 00 */ lwz r0, 0(r30) +/* 80342364 0033F2C4 2C 00 00 06 */ cmpwi r0, 6 +/* 80342368 0033F2C8 40 82 00 10 */ bne lbl_80342378 +/* 8034236C 0033F2CC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80342370 0033F2D0 7F E4 FB 78 */ mr r4, r31 +/* 80342374 0033F2D4 48 00 00 61 */ bl inflate_codes_free +lbl_80342378: +/* 80342378 0033F2D8 38 00 00 00 */ li r0, 0 +/* 8034237C 0033F2DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80342380 0033F2E0 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80342384 0033F2E4 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80342388 0033F2E8 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8034238C 0033F2EC 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80342390 0033F2F0 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80342394 0033F2F4 81 9E 00 38 */ lwz r12, 0x38(r30) +/* 80342398 0033F2F8 28 0C 00 00 */ cmplwi r12, 0 +/* 8034239C 0033F2FC 41 82 00 20 */ beq lbl_803423BC +/* 803423A0 0033F300 38 60 00 00 */ li r3, 0 +/* 803423A4 0033F304 38 80 00 00 */ li r4, 0 +/* 803423A8 0033F308 38 A0 00 00 */ li r5, 0 +/* 803423AC 0033F30C 7D 89 03 A6 */ mtctr r12 +/* 803423B0 0033F310 4E 80 04 21 */ bctrl +/* 803423B4 0033F314 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 803423B8 0033F318 90 7F 00 30 */ stw r3, 0x30(r31) +lbl_803423BC: +/* 803423BC 0033F31C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803423C0 0033F320 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803423C4 0033F324 83 C1 00 08 */ lwz r30, 8(r1) +/* 803423C8 0033F328 7C 08 03 A6 */ mtlr r0 +/* 803423CC 0033F32C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803423D0 0033F330 4E 80 00 20 */ blr + +.global inflate_codes_free +inflate_codes_free: +/* 803423D4 0033F334 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803423D8 0033F338 7C 08 02 A6 */ mflr r0 +/* 803423DC 0033F33C 7C 85 23 78 */ mr r5, r4 +/* 803423E0 0033F340 90 01 00 14 */ stw r0, 0x14(r1) +/* 803423E4 0033F344 81 84 00 24 */ lwz r12, 0x24(r4) +/* 803423E8 0033F348 7C 64 1B 78 */ mr r4, r3 +/* 803423EC 0033F34C 80 65 00 28 */ lwz r3, 0x28(r5) +/* 803423F0 0033F350 7D 89 03 A6 */ mtctr r12 +/* 803423F4 0033F354 4E 80 04 21 */ bctrl +/* 803423F8 0033F358 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803423FC 0033F35C 7C 08 03 A6 */ mtlr r0 +/* 80342400 0033F360 38 21 00 10 */ addi r1, r1, 0x10 +/* 80342404 0033F364 4E 80 00 20 */ blr + +.global inflate_codes +inflate_codes: +/* 80342408 0033F368 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034240C 0033F36C 7C 08 02 A6 */ mflr r0 +/* 80342410 0033F370 90 01 00 34 */ stw r0, 0x34(r1) +/* 80342414 0033F374 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 80342418 0033F378 7C 77 1B 78 */ mr r23, r3 +/* 8034241C 0033F37C 7C 98 23 78 */ mr r24, r4 +/* 80342420 0033F380 80 C3 00 34 */ lwz r6, 0x34(r3) +/* 80342424 0033F384 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80342428 0033F388 83 23 00 04 */ lwz r25, 4(r3) +/* 8034242C 0033F38C 7C 06 00 40 */ cmplw r6, r0 +/* 80342430 0033F390 83 84 00 00 */ lwz r28, 0(r4) +/* 80342434 0033F394 83 64 00 04 */ lwz r27, 4(r4) +/* 80342438 0033F398 83 C3 00 20 */ lwz r30, 0x20(r3) +/* 8034243C 0033F39C 83 A3 00 1C */ lwz r29, 0x1c(r3) +/* 80342440 0033F3A0 40 80 00 10 */ bge lbl_80342450 +/* 80342444 0033F3A4 7C 66 00 50 */ subf r3, r6, r0 +/* 80342448 0033F3A8 38 03 FF FF */ addi r0, r3, -1 +/* 8034244C 0033F3AC 48 00 00 0C */ b lbl_80342458 +lbl_80342450: +/* 80342450 0033F3B0 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342454 0033F3B4 7C 06 00 50 */ subf r0, r6, r0 +lbl_80342458: +/* 80342458 0033F3B8 3C 80 80 3F */ lis r4, lbl_803EE468@ha +/* 8034245C 0033F3BC 7C 03 03 78 */ mr r3, r0 +/* 80342460 0033F3C0 3B E4 E4 68 */ addi r31, r4, lbl_803EE468@l +lbl_80342464: +/* 80342464 0033F3C4 80 19 00 00 */ lwz r0, 0(r25) +/* 80342468 0033F3C8 28 00 00 09 */ cmplwi r0, 9 +/* 8034246C 0033F3CC 41 81 08 88 */ bgt lbl_80342CF4 +/* 80342470 0033F3D0 54 00 10 3A */ slwi r0, r0, 2 +/* 80342474 0033F3D4 7C 1F 00 2E */ lwzx r0, r31, r0 +/* 80342478 0033F3D8 7C 09 03 A6 */ mtctr r0 +/* 8034247C 0033F3DC 4E 80 04 20 */ bctr +/* 80342480 0033F3E0 28 03 01 02 */ cmplwi r3, 0x102 +/* 80342484 0033F3E4 41 80 00 AC */ blt lbl_80342530 +/* 80342488 0033F3E8 28 1B 00 0A */ cmplwi r27, 0xa +/* 8034248C 0033F3EC 41 80 00 A4 */ blt lbl_80342530 +/* 80342490 0033F3F0 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342494 0033F3F4 7E E7 BB 78 */ mr r7, r23 +/* 80342498 0033F3F8 7F 08 C3 78 */ mr r8, r24 +/* 8034249C 0033F3FC 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 803424A0 0033F400 93 78 00 04 */ stw r27, 4(r24) +/* 803424A4 0033F404 80 18 00 00 */ lwz r0, 0(r24) +/* 803424A8 0033F408 80 78 00 08 */ lwz r3, 8(r24) +/* 803424AC 0033F40C 7C 00 E0 50 */ subf r0, r0, r28 +/* 803424B0 0033F410 7C 03 02 14 */ add r0, r3, r0 +/* 803424B4 0033F414 90 18 00 08 */ stw r0, 8(r24) +/* 803424B8 0033F418 93 98 00 00 */ stw r28, 0(r24) +/* 803424BC 0033F41C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803424C0 0033F420 88 79 00 10 */ lbz r3, 0x10(r25) +/* 803424C4 0033F424 88 99 00 11 */ lbz r4, 0x11(r25) +/* 803424C8 0033F428 80 B9 00 14 */ lwz r5, 0x14(r25) +/* 803424CC 0033F42C 80 D9 00 18 */ lwz r6, 0x18(r25) +/* 803424D0 0033F430 48 00 08 F5 */ bl inflate_fast +/* 803424D4 0033F434 80 D7 00 34 */ lwz r6, 0x34(r23) +/* 803424D8 0033F438 7C 65 1B 78 */ mr r5, r3 +/* 803424DC 0033F43C 80 17 00 30 */ lwz r0, 0x30(r23) +/* 803424E0 0033F440 83 98 00 00 */ lwz r28, 0(r24) +/* 803424E4 0033F444 7C 06 00 40 */ cmplw r6, r0 +/* 803424E8 0033F448 83 78 00 04 */ lwz r27, 4(r24) +/* 803424EC 0033F44C 83 D7 00 20 */ lwz r30, 0x20(r23) +/* 803424F0 0033F450 83 B7 00 1C */ lwz r29, 0x1c(r23) +/* 803424F4 0033F454 40 80 00 10 */ bge lbl_80342504 +/* 803424F8 0033F458 7C 66 00 50 */ subf r3, r6, r0 +/* 803424FC 0033F45C 38 03 FF FF */ addi r0, r3, -1 +/* 80342500 0033F460 48 00 00 0C */ b lbl_8034250C +lbl_80342504: +/* 80342504 0033F464 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342508 0033F468 7C 06 00 50 */ subf r0, r6, r0 +lbl_8034250C: +/* 8034250C 0033F46C 2C 05 00 00 */ cmpwi r5, 0 +/* 80342510 0033F470 7C 03 03 78 */ mr r3, r0 +/* 80342514 0033F474 41 82 00 1C */ beq lbl_80342530 +/* 80342518 0033F478 2C 05 00 01 */ cmpwi r5, 1 +/* 8034251C 0033F47C 38 00 00 09 */ li r0, 9 +/* 80342520 0033F480 40 82 00 08 */ bne lbl_80342528 +/* 80342524 0033F484 38 00 00 07 */ li r0, 7 +lbl_80342528: +/* 80342528 0033F488 90 19 00 00 */ stw r0, 0(r25) +/* 8034252C 0033F48C 4B FF FF 38 */ b lbl_80342464 +lbl_80342530: +/* 80342530 0033F490 88 99 00 10 */ lbz r4, 0x10(r25) +/* 80342534 0033F494 38 00 00 01 */ li r0, 1 +/* 80342538 0033F498 90 99 00 0C */ stw r4, 0xc(r25) +/* 8034253C 0033F49C 80 99 00 14 */ lwz r4, 0x14(r25) +/* 80342540 0033F4A0 90 99 00 08 */ stw r4, 8(r25) +/* 80342544 0033F4A4 90 19 00 00 */ stw r0, 0(r25) +/* 80342548 0033F4A8 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 8034254C 0033F4AC 38 07 00 07 */ addi r0, r7, 7 +/* 80342550 0033F4B0 7C 1D 00 50 */ subf r0, r29, r0 +/* 80342554 0033F4B4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80342558 0033F4B8 7C 09 03 A6 */ mtctr r0 +/* 8034255C 0033F4BC 7C 1D 38 40 */ cmplw r29, r7 +/* 80342560 0033F4C0 40 80 00 68 */ bge lbl_803425C8 +lbl_80342564: +/* 80342564 0033F4C4 28 1B 00 00 */ cmplwi r27, 0 +/* 80342568 0033F4C8 41 82 00 0C */ beq lbl_80342574 +/* 8034256C 0033F4CC 38 A0 00 00 */ li r5, 0 +/* 80342570 0033F4D0 48 00 00 3C */ b lbl_803425AC +lbl_80342574: +/* 80342574 0033F4D4 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342578 0033F4D8 7E E3 BB 78 */ mr r3, r23 +/* 8034257C 0033F4DC 7F 04 C3 78 */ mr r4, r24 +/* 80342580 0033F4E0 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342584 0033F4E4 93 78 00 04 */ stw r27, 4(r24) +/* 80342588 0033F4E8 80 18 00 00 */ lwz r0, 0(r24) +/* 8034258C 0033F4EC 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342590 0033F4F0 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342594 0033F4F4 7C 07 02 14 */ add r0, r7, r0 +/* 80342598 0033F4F8 90 18 00 08 */ stw r0, 8(r24) +/* 8034259C 0033F4FC 93 98 00 00 */ stw r28, 0(r24) +/* 803425A0 0033F500 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803425A4 0033F504 48 00 1E 69 */ bl inflate_flush +/* 803425A8 0033F508 48 00 07 84 */ b lbl_80342D2C +lbl_803425AC: +/* 803425AC 0033F50C 88 1C 00 00 */ lbz r0, 0(r28) +/* 803425B0 0033F510 3B 7B FF FF */ addi r27, r27, -1 +/* 803425B4 0033F514 3B 9C 00 01 */ addi r28, r28, 1 +/* 803425B8 0033F518 7C 00 E8 30 */ slw r0, r0, r29 +/* 803425BC 0033F51C 3B BD 00 08 */ addi r29, r29, 8 +/* 803425C0 0033F520 7F DE 03 78 */ or r30, r30, r0 +/* 803425C4 0033F524 42 00 FF A0 */ bdnz lbl_80342564 +lbl_803425C8: +/* 803425C8 0033F528 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 803425CC 0033F52C 54 E0 10 3A */ slwi r0, r7, 2 +/* 803425D0 0033F530 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 803425D4 0033F534 80 F9 00 08 */ lwz r7, 8(r25) +/* 803425D8 0033F538 7C 04 00 2E */ lwzx r0, r4, r0 +/* 803425DC 0033F53C 7F C0 00 38 */ and r0, r30, r0 +/* 803425E0 0033F540 54 00 18 38 */ slwi r0, r0, 3 +/* 803425E4 0033F544 7C E7 02 14 */ add r7, r7, r0 +/* 803425E8 0033F548 88 87 00 00 */ lbz r4, 0(r7) +/* 803425EC 0033F54C 88 07 00 01 */ lbz r0, 1(r7) +/* 803425F0 0033F550 28 04 00 00 */ cmplwi r4, 0 +/* 803425F4 0033F554 7F DE 04 30 */ srw r30, r30, r0 +/* 803425F8 0033F558 7F A0 E8 50 */ subf r29, r0, r29 +/* 803425FC 0033F55C 40 82 00 18 */ bne lbl_80342614 +/* 80342600 0033F560 80 87 00 04 */ lwz r4, 4(r7) +/* 80342604 0033F564 38 00 00 06 */ li r0, 6 +/* 80342608 0033F568 90 99 00 08 */ stw r4, 8(r25) +/* 8034260C 0033F56C 90 19 00 00 */ stw r0, 0(r25) +/* 80342610 0033F570 4B FF FE 54 */ b lbl_80342464 +lbl_80342614: +/* 80342614 0033F574 54 80 06 F7 */ rlwinm. r0, r4, 0, 0x1b, 0x1b +/* 80342618 0033F578 41 82 00 20 */ beq lbl_80342638 +/* 8034261C 0033F57C 54 84 07 3E */ clrlwi r4, r4, 0x1c +/* 80342620 0033F580 38 00 00 02 */ li r0, 2 +/* 80342624 0033F584 90 99 00 08 */ stw r4, 8(r25) +/* 80342628 0033F588 80 87 00 04 */ lwz r4, 4(r7) +/* 8034262C 0033F58C 90 99 00 04 */ stw r4, 4(r25) +/* 80342630 0033F590 90 19 00 00 */ stw r0, 0(r25) +/* 80342634 0033F594 4B FF FE 30 */ b lbl_80342464 +lbl_80342638: +/* 80342638 0033F598 54 80 06 73 */ rlwinm. r0, r4, 0, 0x19, 0x19 +/* 8034263C 0033F59C 40 82 00 1C */ bne lbl_80342658 +/* 80342640 0033F5A0 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342644 0033F5A4 80 07 00 04 */ lwz r0, 4(r7) +/* 80342648 0033F5A8 54 00 18 38 */ slwi r0, r0, 3 +/* 8034264C 0033F5AC 7C 07 02 14 */ add r0, r7, r0 +/* 80342650 0033F5B0 90 19 00 08 */ stw r0, 8(r25) +/* 80342654 0033F5B4 4B FF FE 10 */ b lbl_80342464 +lbl_80342658: +/* 80342658 0033F5B8 54 80 06 B5 */ rlwinm. r0, r4, 0, 0x1a, 0x1a +/* 8034265C 0033F5BC 41 82 00 10 */ beq lbl_8034266C +/* 80342660 0033F5C0 38 00 00 07 */ li r0, 7 +/* 80342664 0033F5C4 90 19 00 00 */ stw r0, 0(r25) +/* 80342668 0033F5C8 4B FF FD FC */ b lbl_80342464 +lbl_8034266C: +/* 8034266C 0033F5CC 38 00 00 09 */ li r0, 9 +/* 80342670 0033F5D0 3C 60 80 3D */ lis r3, lbl_803D7B68@ha +/* 80342674 0033F5D4 90 19 00 00 */ stw r0, 0(r25) +/* 80342678 0033F5D8 38 03 7B 68 */ addi r0, r3, lbl_803D7B68@l +/* 8034267C 0033F5DC 7E E3 BB 78 */ mr r3, r23 +/* 80342680 0033F5E0 7F 04 C3 78 */ mr r4, r24 +/* 80342684 0033F5E4 90 18 00 18 */ stw r0, 0x18(r24) +/* 80342688 0033F5E8 38 A0 FF FD */ li r5, -3 +/* 8034268C 0033F5EC 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342690 0033F5F0 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342694 0033F5F4 93 78 00 04 */ stw r27, 4(r24) +/* 80342698 0033F5F8 80 18 00 00 */ lwz r0, 0(r24) +/* 8034269C 0033F5FC 80 F8 00 08 */ lwz r7, 8(r24) +/* 803426A0 0033F600 7C 00 E0 50 */ subf r0, r0, r28 +/* 803426A4 0033F604 7C 07 02 14 */ add r0, r7, r0 +/* 803426A8 0033F608 90 18 00 08 */ stw r0, 8(r24) +/* 803426AC 0033F60C 93 98 00 00 */ stw r28, 0(r24) +/* 803426B0 0033F610 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803426B4 0033F614 48 00 1D 59 */ bl inflate_flush +/* 803426B8 0033F618 48 00 06 74 */ b lbl_80342D2C +/* 803426BC 0033F61C 81 19 00 08 */ lwz r8, 8(r25) +/* 803426C0 0033F620 38 08 00 07 */ addi r0, r8, 7 +/* 803426C4 0033F624 7C 1D 00 50 */ subf r0, r29, r0 +/* 803426C8 0033F628 54 00 E8 FE */ srwi r0, r0, 3 +/* 803426CC 0033F62C 7C 09 03 A6 */ mtctr r0 +/* 803426D0 0033F630 7C 1D 40 40 */ cmplw r29, r8 +/* 803426D4 0033F634 40 80 00 68 */ bge lbl_8034273C +lbl_803426D8: +/* 803426D8 0033F638 28 1B 00 00 */ cmplwi r27, 0 +/* 803426DC 0033F63C 41 82 00 0C */ beq lbl_803426E8 +/* 803426E0 0033F640 38 A0 00 00 */ li r5, 0 +/* 803426E4 0033F644 48 00 00 3C */ b lbl_80342720 +lbl_803426E8: +/* 803426E8 0033F648 93 D7 00 20 */ stw r30, 0x20(r23) +/* 803426EC 0033F64C 7E E3 BB 78 */ mr r3, r23 +/* 803426F0 0033F650 7F 04 C3 78 */ mr r4, r24 +/* 803426F4 0033F654 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 803426F8 0033F658 93 78 00 04 */ stw r27, 4(r24) +/* 803426FC 0033F65C 80 18 00 00 */ lwz r0, 0(r24) +/* 80342700 0033F660 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342704 0033F664 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342708 0033F668 7C 07 02 14 */ add r0, r7, r0 +/* 8034270C 0033F66C 90 18 00 08 */ stw r0, 8(r24) +/* 80342710 0033F670 93 98 00 00 */ stw r28, 0(r24) +/* 80342714 0033F674 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342718 0033F678 48 00 1C F5 */ bl inflate_flush +/* 8034271C 0033F67C 48 00 06 10 */ b lbl_80342D2C +lbl_80342720: +/* 80342720 0033F680 88 1C 00 00 */ lbz r0, 0(r28) +/* 80342724 0033F684 3B 7B FF FF */ addi r27, r27, -1 +/* 80342728 0033F688 3B 9C 00 01 */ addi r28, r28, 1 +/* 8034272C 0033F68C 7C 00 E8 30 */ slw r0, r0, r29 +/* 80342730 0033F690 3B BD 00 08 */ addi r29, r29, 8 +/* 80342734 0033F694 7F DE 03 78 */ or r30, r30, r0 +/* 80342738 0033F698 42 00 FF A0 */ bdnz lbl_803426D8 +lbl_8034273C: +/* 8034273C 0033F69C 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 80342740 0033F6A0 55 00 10 3A */ slwi r0, r8, 2 +/* 80342744 0033F6A4 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 80342748 0033F6A8 80 F9 00 04 */ lwz r7, 4(r25) +/* 8034274C 0033F6AC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80342750 0033F6B0 38 00 00 03 */ li r0, 3 +/* 80342754 0033F6B4 7F A8 E8 50 */ subf r29, r8, r29 +/* 80342758 0033F6B8 7F C4 20 38 */ and r4, r30, r4 +/* 8034275C 0033F6BC 7F DE 44 30 */ srw r30, r30, r8 +/* 80342760 0033F6C0 7C 87 22 14 */ add r4, r7, r4 +/* 80342764 0033F6C4 90 99 00 04 */ stw r4, 4(r25) +/* 80342768 0033F6C8 88 99 00 11 */ lbz r4, 0x11(r25) +/* 8034276C 0033F6CC 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342770 0033F6D0 80 99 00 18 */ lwz r4, 0x18(r25) +/* 80342774 0033F6D4 90 99 00 08 */ stw r4, 8(r25) +/* 80342778 0033F6D8 90 19 00 00 */ stw r0, 0(r25) +/* 8034277C 0033F6DC 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 80342780 0033F6E0 38 07 00 07 */ addi r0, r7, 7 +/* 80342784 0033F6E4 7C 1D 00 50 */ subf r0, r29, r0 +/* 80342788 0033F6E8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8034278C 0033F6EC 7C 09 03 A6 */ mtctr r0 +/* 80342790 0033F6F0 7C 1D 38 40 */ cmplw r29, r7 +/* 80342794 0033F6F4 40 80 00 68 */ bge lbl_803427FC +lbl_80342798: +/* 80342798 0033F6F8 28 1B 00 00 */ cmplwi r27, 0 +/* 8034279C 0033F6FC 41 82 00 0C */ beq lbl_803427A8 +/* 803427A0 0033F700 38 A0 00 00 */ li r5, 0 +/* 803427A4 0033F704 48 00 00 3C */ b lbl_803427E0 +lbl_803427A8: +/* 803427A8 0033F708 93 D7 00 20 */ stw r30, 0x20(r23) +/* 803427AC 0033F70C 7E E3 BB 78 */ mr r3, r23 +/* 803427B0 0033F710 7F 04 C3 78 */ mr r4, r24 +/* 803427B4 0033F714 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 803427B8 0033F718 93 78 00 04 */ stw r27, 4(r24) +/* 803427BC 0033F71C 80 18 00 00 */ lwz r0, 0(r24) +/* 803427C0 0033F720 80 F8 00 08 */ lwz r7, 8(r24) +/* 803427C4 0033F724 7C 00 E0 50 */ subf r0, r0, r28 +/* 803427C8 0033F728 7C 07 02 14 */ add r0, r7, r0 +/* 803427CC 0033F72C 90 18 00 08 */ stw r0, 8(r24) +/* 803427D0 0033F730 93 98 00 00 */ stw r28, 0(r24) +/* 803427D4 0033F734 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803427D8 0033F738 48 00 1C 35 */ bl inflate_flush +/* 803427DC 0033F73C 48 00 05 50 */ b lbl_80342D2C +lbl_803427E0: +/* 803427E0 0033F740 88 1C 00 00 */ lbz r0, 0(r28) +/* 803427E4 0033F744 3B 7B FF FF */ addi r27, r27, -1 +/* 803427E8 0033F748 3B 9C 00 01 */ addi r28, r28, 1 +/* 803427EC 0033F74C 7C 00 E8 30 */ slw r0, r0, r29 +/* 803427F0 0033F750 3B BD 00 08 */ addi r29, r29, 8 +/* 803427F4 0033F754 7F DE 03 78 */ or r30, r30, r0 +/* 803427F8 0033F758 42 00 FF A0 */ bdnz lbl_80342798 +lbl_803427FC: +/* 803427FC 0033F75C 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 80342800 0033F760 54 E0 10 3A */ slwi r0, r7, 2 +/* 80342804 0033F764 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 80342808 0033F768 80 F9 00 08 */ lwz r7, 8(r25) +/* 8034280C 0033F76C 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80342810 0033F770 7F C0 00 38 */ and r0, r30, r0 +/* 80342814 0033F774 54 00 18 38 */ slwi r0, r0, 3 +/* 80342818 0033F778 7C E7 02 14 */ add r7, r7, r0 +/* 8034281C 0033F77C 89 07 00 00 */ lbz r8, 0(r7) +/* 80342820 0033F780 88 87 00 01 */ lbz r4, 1(r7) +/* 80342824 0033F784 55 00 06 F7 */ rlwinm. r0, r8, 0, 0x1b, 0x1b +/* 80342828 0033F788 7F DE 24 30 */ srw r30, r30, r4 +/* 8034282C 0033F78C 7F A4 E8 50 */ subf r29, r4, r29 +/* 80342830 0033F790 41 82 00 20 */ beq lbl_80342850 +/* 80342834 0033F794 55 04 07 3E */ clrlwi r4, r8, 0x1c +/* 80342838 0033F798 38 00 00 04 */ li r0, 4 +/* 8034283C 0033F79C 90 99 00 08 */ stw r4, 8(r25) +/* 80342840 0033F7A0 80 87 00 04 */ lwz r4, 4(r7) +/* 80342844 0033F7A4 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342848 0033F7A8 90 19 00 00 */ stw r0, 0(r25) +/* 8034284C 0033F7AC 4B FF FC 18 */ b lbl_80342464 +lbl_80342850: +/* 80342850 0033F7B0 55 00 06 73 */ rlwinm. r0, r8, 0, 0x19, 0x19 +/* 80342854 0033F7B4 40 82 00 1C */ bne lbl_80342870 +/* 80342858 0033F7B8 91 19 00 0C */ stw r8, 0xc(r25) +/* 8034285C 0033F7BC 80 07 00 04 */ lwz r0, 4(r7) +/* 80342860 0033F7C0 54 00 18 38 */ slwi r0, r0, 3 +/* 80342864 0033F7C4 7C 07 02 14 */ add r0, r7, r0 +/* 80342868 0033F7C8 90 19 00 08 */ stw r0, 8(r25) +/* 8034286C 0033F7CC 4B FF FB F8 */ b lbl_80342464 +lbl_80342870: +/* 80342870 0033F7D0 38 00 00 09 */ li r0, 9 +/* 80342874 0033F7D4 3C 60 80 3D */ lis r3, lbl_803D7B68@ha +/* 80342878 0033F7D8 38 63 7B 68 */ addi r3, r3, lbl_803D7B68@l +/* 8034287C 0033F7DC 90 19 00 00 */ stw r0, 0(r25) +/* 80342880 0033F7E0 38 03 00 1C */ addi r0, r3, 0x1c +/* 80342884 0033F7E4 7E E3 BB 78 */ mr r3, r23 +/* 80342888 0033F7E8 90 18 00 18 */ stw r0, 0x18(r24) +/* 8034288C 0033F7EC 7F 04 C3 78 */ mr r4, r24 +/* 80342890 0033F7F0 38 A0 FF FD */ li r5, -3 +/* 80342894 0033F7F4 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342898 0033F7F8 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 8034289C 0033F7FC 93 78 00 04 */ stw r27, 4(r24) +/* 803428A0 0033F800 80 18 00 00 */ lwz r0, 0(r24) +/* 803428A4 0033F804 80 F8 00 08 */ lwz r7, 8(r24) +/* 803428A8 0033F808 7C 00 E0 50 */ subf r0, r0, r28 +/* 803428AC 0033F80C 7C 07 02 14 */ add r0, r7, r0 +/* 803428B0 0033F810 90 18 00 08 */ stw r0, 8(r24) +/* 803428B4 0033F814 93 98 00 00 */ stw r28, 0(r24) +/* 803428B8 0033F818 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803428BC 0033F81C 48 00 1B 51 */ bl inflate_flush +/* 803428C0 0033F820 48 00 04 6C */ b lbl_80342D2C +/* 803428C4 0033F824 81 19 00 08 */ lwz r8, 8(r25) +/* 803428C8 0033F828 38 08 00 07 */ addi r0, r8, 7 +/* 803428CC 0033F82C 7C 1D 00 50 */ subf r0, r29, r0 +/* 803428D0 0033F830 54 00 E8 FE */ srwi r0, r0, 3 +/* 803428D4 0033F834 7C 09 03 A6 */ mtctr r0 +/* 803428D8 0033F838 7C 1D 40 40 */ cmplw r29, r8 +/* 803428DC 0033F83C 40 80 00 68 */ bge lbl_80342944 +lbl_803428E0: +/* 803428E0 0033F840 28 1B 00 00 */ cmplwi r27, 0 +/* 803428E4 0033F844 41 82 00 0C */ beq lbl_803428F0 +/* 803428E8 0033F848 38 A0 00 00 */ li r5, 0 +/* 803428EC 0033F84C 48 00 00 3C */ b lbl_80342928 +lbl_803428F0: +/* 803428F0 0033F850 93 D7 00 20 */ stw r30, 0x20(r23) +/* 803428F4 0033F854 7E E3 BB 78 */ mr r3, r23 +/* 803428F8 0033F858 7F 04 C3 78 */ mr r4, r24 +/* 803428FC 0033F85C 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342900 0033F860 93 78 00 04 */ stw r27, 4(r24) +/* 80342904 0033F864 80 18 00 00 */ lwz r0, 0(r24) +/* 80342908 0033F868 80 F8 00 08 */ lwz r7, 8(r24) +/* 8034290C 0033F86C 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342910 0033F870 7C 07 02 14 */ add r0, r7, r0 +/* 80342914 0033F874 90 18 00 08 */ stw r0, 8(r24) +/* 80342918 0033F878 93 98 00 00 */ stw r28, 0(r24) +/* 8034291C 0033F87C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342920 0033F880 48 00 1A ED */ bl inflate_flush +/* 80342924 0033F884 48 00 04 08 */ b lbl_80342D2C +lbl_80342928: +/* 80342928 0033F888 88 1C 00 00 */ lbz r0, 0(r28) +/* 8034292C 0033F88C 3B 7B FF FF */ addi r27, r27, -1 +/* 80342930 0033F890 3B 9C 00 01 */ addi r28, r28, 1 +/* 80342934 0033F894 7C 00 E8 30 */ slw r0, r0, r29 +/* 80342938 0033F898 3B BD 00 08 */ addi r29, r29, 8 +/* 8034293C 0033F89C 7F DE 03 78 */ or r30, r30, r0 +/* 80342940 0033F8A0 42 00 FF A0 */ bdnz lbl_803428E0 +lbl_80342944: +/* 80342944 0033F8A4 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 80342948 0033F8A8 55 00 10 3A */ slwi r0, r8, 2 +/* 8034294C 0033F8AC 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 80342950 0033F8B0 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 80342954 0033F8B4 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80342958 0033F8B8 38 00 00 05 */ li r0, 5 +/* 8034295C 0033F8BC 7F A8 E8 50 */ subf r29, r8, r29 +/* 80342960 0033F8C0 7F C4 20 38 */ and r4, r30, r4 +/* 80342964 0033F8C4 7F DE 44 30 */ srw r30, r30, r8 +/* 80342968 0033F8C8 7C 87 22 14 */ add r4, r7, r4 +/* 8034296C 0033F8CC 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342970 0033F8D0 90 19 00 00 */ stw r0, 0(r25) +/* 80342974 0033F8D4 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342978 0033F8D8 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 8034297C 0033F8DC 7C 80 30 50 */ subf r4, r0, r6 +/* 80342980 0033F8E0 7C 04 38 40 */ cmplw r4, r7 +/* 80342984 0033F8E4 40 80 00 14 */ bge lbl_80342998 +/* 80342988 0033F8E8 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 8034298C 0033F8EC 7C 84 38 50 */ subf r4, r4, r7 +/* 80342990 0033F8F0 7C 04 00 50 */ subf r0, r4, r0 +/* 80342994 0033F8F4 48 00 00 08 */ b lbl_8034299C +lbl_80342998: +/* 80342998 0033F8F8 7C 07 30 50 */ subf r0, r7, r6 +lbl_8034299C: +/* 8034299C 0033F8FC 7C 1A 03 78 */ mr r26, r0 +/* 803429A0 0033F900 48 00 01 30 */ b lbl_80342AD0 +lbl_803429A4: +/* 803429A4 0033F904 28 03 00 00 */ cmplwi r3, 0 +/* 803429A8 0033F908 40 82 00 F4 */ bne lbl_80342A9C +/* 803429AC 0033F90C 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 803429B0 0033F910 7C 06 38 40 */ cmplw r6, r7 +/* 803429B4 0033F914 40 82 00 30 */ bne lbl_803429E4 +/* 803429B8 0033F918 80 97 00 30 */ lwz r4, 0x30(r23) +/* 803429BC 0033F91C 80 17 00 28 */ lwz r0, 0x28(r23) +/* 803429C0 0033F920 7C 04 00 40 */ cmplw r4, r0 +/* 803429C4 0033F924 41 82 00 20 */ beq lbl_803429E4 +/* 803429C8 0033F928 7C 00 20 40 */ cmplw r0, r4 +/* 803429CC 0033F92C 7C 06 03 78 */ mr r6, r0 +/* 803429D0 0033F930 40 80 00 10 */ bge lbl_803429E0 +/* 803429D4 0033F934 7C 60 20 50 */ subf r3, r0, r4 +/* 803429D8 0033F938 38 63 FF FF */ addi r3, r3, -1 +/* 803429DC 0033F93C 48 00 00 08 */ b lbl_803429E4 +lbl_803429E0: +/* 803429E0 0033F940 7C 60 38 50 */ subf r3, r0, r7 +lbl_803429E4: +/* 803429E4 0033F944 28 03 00 00 */ cmplwi r3, 0 +/* 803429E8 0033F948 40 82 00 B4 */ bne lbl_80342A9C +/* 803429EC 0033F94C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803429F0 0033F950 7E E3 BB 78 */ mr r3, r23 +/* 803429F4 0033F954 7F 04 C3 78 */ mr r4, r24 +/* 803429F8 0033F958 48 00 1A 15 */ bl inflate_flush +/* 803429FC 0033F95C 80 D7 00 34 */ lwz r6, 0x34(r23) +/* 80342A00 0033F960 7C 65 1B 78 */ mr r5, r3 +/* 80342A04 0033F964 80 97 00 30 */ lwz r4, 0x30(r23) +/* 80342A08 0033F968 7C 06 20 40 */ cmplw r6, r4 +/* 80342A0C 0033F96C 40 80 00 10 */ bge lbl_80342A1C +/* 80342A10 0033F970 7C 66 20 50 */ subf r3, r6, r4 +/* 80342A14 0033F974 38 03 FF FF */ addi r0, r3, -1 +/* 80342A18 0033F978 48 00 00 0C */ b lbl_80342A24 +lbl_80342A1C: +/* 80342A1C 0033F97C 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342A20 0033F980 7C 06 00 50 */ subf r0, r6, r0 +lbl_80342A24: +/* 80342A24 0033F984 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 80342A28 0033F988 7C 03 03 78 */ mr r3, r0 +/* 80342A2C 0033F98C 7C 06 38 40 */ cmplw r6, r7 +/* 80342A30 0033F990 40 82 00 2C */ bne lbl_80342A5C +/* 80342A34 0033F994 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342A38 0033F998 7C 04 00 40 */ cmplw r4, r0 +/* 80342A3C 0033F99C 41 82 00 20 */ beq lbl_80342A5C +/* 80342A40 0033F9A0 7C 00 20 40 */ cmplw r0, r4 +/* 80342A44 0033F9A4 7C 06 03 78 */ mr r6, r0 +/* 80342A48 0033F9A8 40 80 00 10 */ bge lbl_80342A58 +/* 80342A4C 0033F9AC 7C 60 20 50 */ subf r3, r0, r4 +/* 80342A50 0033F9B0 38 63 FF FF */ addi r3, r3, -1 +/* 80342A54 0033F9B4 48 00 00 08 */ b lbl_80342A5C +lbl_80342A58: +/* 80342A58 0033F9B8 7C 60 38 50 */ subf r3, r0, r7 +lbl_80342A5C: +/* 80342A5C 0033F9BC 28 03 00 00 */ cmplwi r3, 0 +/* 80342A60 0033F9C0 40 82 00 3C */ bne lbl_80342A9C +/* 80342A64 0033F9C4 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342A68 0033F9C8 7E E3 BB 78 */ mr r3, r23 +/* 80342A6C 0033F9CC 7F 04 C3 78 */ mr r4, r24 +/* 80342A70 0033F9D0 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342A74 0033F9D4 93 78 00 04 */ stw r27, 4(r24) +/* 80342A78 0033F9D8 80 18 00 00 */ lwz r0, 0(r24) +/* 80342A7C 0033F9DC 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342A80 0033F9E0 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342A84 0033F9E4 7C 07 02 14 */ add r0, r7, r0 +/* 80342A88 0033F9E8 90 18 00 08 */ stw r0, 8(r24) +/* 80342A8C 0033F9EC 93 98 00 00 */ stw r28, 0(r24) +/* 80342A90 0033F9F0 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342A94 0033F9F4 48 00 19 79 */ bl inflate_flush +/* 80342A98 0033F9F8 48 00 02 94 */ b lbl_80342D2C +lbl_80342A9C: +/* 80342A9C 0033F9FC 88 1A 00 00 */ lbz r0, 0(r26) +/* 80342AA0 0033FA00 3B 5A 00 01 */ addi r26, r26, 1 +/* 80342AA4 0033FA04 38 A0 00 00 */ li r5, 0 +/* 80342AA8 0033FA08 38 63 FF FF */ addi r3, r3, -1 +/* 80342AAC 0033FA0C 98 06 00 00 */ stb r0, 0(r6) +/* 80342AB0 0033FA10 38 C6 00 01 */ addi r6, r6, 1 +/* 80342AB4 0033FA14 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342AB8 0033FA18 7C 1A 00 40 */ cmplw r26, r0 +/* 80342ABC 0033FA1C 40 82 00 08 */ bne lbl_80342AC4 +/* 80342AC0 0033FA20 83 57 00 28 */ lwz r26, 0x28(r23) +lbl_80342AC4: +/* 80342AC4 0033FA24 80 99 00 04 */ lwz r4, 4(r25) +/* 80342AC8 0033FA28 38 04 FF FF */ addi r0, r4, -1 +/* 80342ACC 0033FA2C 90 19 00 04 */ stw r0, 4(r25) +lbl_80342AD0: +/* 80342AD0 0033FA30 80 19 00 04 */ lwz r0, 4(r25) +/* 80342AD4 0033FA34 28 00 00 00 */ cmplwi r0, 0 +/* 80342AD8 0033FA38 40 82 FE CC */ bne lbl_803429A4 +/* 80342ADC 0033FA3C 38 00 00 00 */ li r0, 0 +/* 80342AE0 0033FA40 90 19 00 00 */ stw r0, 0(r25) +/* 80342AE4 0033FA44 4B FF F9 80 */ b lbl_80342464 +/* 80342AE8 0033FA48 28 03 00 00 */ cmplwi r3, 0 +/* 80342AEC 0033FA4C 40 82 00 F4 */ bne lbl_80342BE0 +/* 80342AF0 0033FA50 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 80342AF4 0033FA54 7C 06 38 40 */ cmplw r6, r7 +/* 80342AF8 0033FA58 40 82 00 30 */ bne lbl_80342B28 +/* 80342AFC 0033FA5C 80 97 00 30 */ lwz r4, 0x30(r23) +/* 80342B00 0033FA60 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342B04 0033FA64 7C 04 00 40 */ cmplw r4, r0 +/* 80342B08 0033FA68 41 82 00 20 */ beq lbl_80342B28 +/* 80342B0C 0033FA6C 7C 00 20 40 */ cmplw r0, r4 +/* 80342B10 0033FA70 7C 06 03 78 */ mr r6, r0 +/* 80342B14 0033FA74 40 80 00 10 */ bge lbl_80342B24 +/* 80342B18 0033FA78 7C 60 20 50 */ subf r3, r0, r4 +/* 80342B1C 0033FA7C 38 63 FF FF */ addi r3, r3, -1 +/* 80342B20 0033FA80 48 00 00 08 */ b lbl_80342B28 +lbl_80342B24: +/* 80342B24 0033FA84 7C 60 38 50 */ subf r3, r0, r7 +lbl_80342B28: +/* 80342B28 0033FA88 28 03 00 00 */ cmplwi r3, 0 +/* 80342B2C 0033FA8C 40 82 00 B4 */ bne lbl_80342BE0 +/* 80342B30 0033FA90 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342B34 0033FA94 7E E3 BB 78 */ mr r3, r23 +/* 80342B38 0033FA98 7F 04 C3 78 */ mr r4, r24 +/* 80342B3C 0033FA9C 48 00 18 D1 */ bl inflate_flush +/* 80342B40 0033FAA0 80 D7 00 34 */ lwz r6, 0x34(r23) +/* 80342B44 0033FAA4 7C 65 1B 78 */ mr r5, r3 +/* 80342B48 0033FAA8 80 97 00 30 */ lwz r4, 0x30(r23) +/* 80342B4C 0033FAAC 7C 06 20 40 */ cmplw r6, r4 +/* 80342B50 0033FAB0 40 80 00 10 */ bge lbl_80342B60 +/* 80342B54 0033FAB4 7C 66 20 50 */ subf r3, r6, r4 +/* 80342B58 0033FAB8 38 03 FF FF */ addi r0, r3, -1 +/* 80342B5C 0033FABC 48 00 00 0C */ b lbl_80342B68 +lbl_80342B60: +/* 80342B60 0033FAC0 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342B64 0033FAC4 7C 06 00 50 */ subf r0, r6, r0 +lbl_80342B68: +/* 80342B68 0033FAC8 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 80342B6C 0033FACC 7C 03 03 78 */ mr r3, r0 +/* 80342B70 0033FAD0 7C 06 38 40 */ cmplw r6, r7 +/* 80342B74 0033FAD4 40 82 00 2C */ bne lbl_80342BA0 +/* 80342B78 0033FAD8 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342B7C 0033FADC 7C 04 00 40 */ cmplw r4, r0 +/* 80342B80 0033FAE0 41 82 00 20 */ beq lbl_80342BA0 +/* 80342B84 0033FAE4 7C 00 20 40 */ cmplw r0, r4 +/* 80342B88 0033FAE8 7C 06 03 78 */ mr r6, r0 +/* 80342B8C 0033FAEC 40 80 00 10 */ bge lbl_80342B9C +/* 80342B90 0033FAF0 7C 60 20 50 */ subf r3, r0, r4 +/* 80342B94 0033FAF4 38 63 FF FF */ addi r3, r3, -1 +/* 80342B98 0033FAF8 48 00 00 08 */ b lbl_80342BA0 +lbl_80342B9C: +/* 80342B9C 0033FAFC 7C 60 38 50 */ subf r3, r0, r7 +lbl_80342BA0: +/* 80342BA0 0033FB00 28 03 00 00 */ cmplwi r3, 0 +/* 80342BA4 0033FB04 40 82 00 3C */ bne lbl_80342BE0 +/* 80342BA8 0033FB08 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342BAC 0033FB0C 7E E3 BB 78 */ mr r3, r23 +/* 80342BB0 0033FB10 7F 04 C3 78 */ mr r4, r24 +/* 80342BB4 0033FB14 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342BB8 0033FB18 93 78 00 04 */ stw r27, 4(r24) +/* 80342BBC 0033FB1C 80 18 00 00 */ lwz r0, 0(r24) +/* 80342BC0 0033FB20 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342BC4 0033FB24 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342BC8 0033FB28 7C 07 02 14 */ add r0, r7, r0 +/* 80342BCC 0033FB2C 90 18 00 08 */ stw r0, 8(r24) +/* 80342BD0 0033FB30 93 98 00 00 */ stw r28, 0(r24) +/* 80342BD4 0033FB34 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342BD8 0033FB38 48 00 18 35 */ bl inflate_flush +/* 80342BDC 0033FB3C 48 00 01 50 */ b lbl_80342D2C +lbl_80342BE0: +/* 80342BE0 0033FB40 80 99 00 08 */ lwz r4, 8(r25) +/* 80342BE4 0033FB44 38 00 00 00 */ li r0, 0 +/* 80342BE8 0033FB48 38 A0 00 00 */ li r5, 0 +/* 80342BEC 0033FB4C 38 63 FF FF */ addi r3, r3, -1 +/* 80342BF0 0033FB50 98 86 00 00 */ stb r4, 0(r6) +/* 80342BF4 0033FB54 38 C6 00 01 */ addi r6, r6, 1 +/* 80342BF8 0033FB58 90 19 00 00 */ stw r0, 0(r25) +/* 80342BFC 0033FB5C 4B FF F8 68 */ b lbl_80342464 +/* 80342C00 0033FB60 28 1D 00 07 */ cmplwi r29, 7 +/* 80342C04 0033FB64 40 81 00 10 */ ble lbl_80342C14 +/* 80342C08 0033FB68 3B BD FF F8 */ addi r29, r29, -8 +/* 80342C0C 0033FB6C 3B 7B 00 01 */ addi r27, r27, 1 +/* 80342C10 0033FB70 3B 9C FF FF */ addi r28, r28, -1 +lbl_80342C14: +/* 80342C14 0033FB74 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342C18 0033FB78 7E E3 BB 78 */ mr r3, r23 +/* 80342C1C 0033FB7C 7F 04 C3 78 */ mr r4, r24 +/* 80342C20 0033FB80 48 00 17 ED */ bl inflate_flush +/* 80342C24 0033FB84 80 F7 00 34 */ lwz r7, 0x34(r23) +/* 80342C28 0033FB88 7C 65 1B 78 */ mr r5, r3 +/* 80342C2C 0033FB8C 80 17 00 30 */ lwz r0, 0x30(r23) +/* 80342C30 0033FB90 7C E6 3B 78 */ mr r6, r7 +/* 80342C34 0033FB94 7C 00 38 40 */ cmplw r0, r7 +/* 80342C38 0033FB98 41 82 00 3C */ beq lbl_80342C74 +/* 80342C3C 0033FB9C 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342C40 0033FBA0 7E E3 BB 78 */ mr r3, r23 +/* 80342C44 0033FBA4 7F 04 C3 78 */ mr r4, r24 +/* 80342C48 0033FBA8 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342C4C 0033FBAC 93 78 00 04 */ stw r27, 4(r24) +/* 80342C50 0033FBB0 80 18 00 00 */ lwz r0, 0(r24) +/* 80342C54 0033FBB4 80 D8 00 08 */ lwz r6, 8(r24) +/* 80342C58 0033FBB8 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342C5C 0033FBBC 7C 06 02 14 */ add r0, r6, r0 +/* 80342C60 0033FBC0 90 18 00 08 */ stw r0, 8(r24) +/* 80342C64 0033FBC4 93 98 00 00 */ stw r28, 0(r24) +/* 80342C68 0033FBC8 90 F7 00 34 */ stw r7, 0x34(r23) +/* 80342C6C 0033FBCC 48 00 17 A1 */ bl inflate_flush +/* 80342C70 0033FBD0 48 00 00 BC */ b lbl_80342D2C +lbl_80342C74: +/* 80342C74 0033FBD4 38 00 00 08 */ li r0, 8 +/* 80342C78 0033FBD8 90 19 00 00 */ stw r0, 0(r25) +/* 80342C7C 0033FBDC 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342C80 0033FBE0 7E E3 BB 78 */ mr r3, r23 +/* 80342C84 0033FBE4 7F 04 C3 78 */ mr r4, r24 +/* 80342C88 0033FBE8 38 A0 00 01 */ li r5, 1 +/* 80342C8C 0033FBEC 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342C90 0033FBF0 93 78 00 04 */ stw r27, 4(r24) +/* 80342C94 0033FBF4 80 18 00 00 */ lwz r0, 0(r24) +/* 80342C98 0033FBF8 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342C9C 0033FBFC 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342CA0 0033FC00 7C 07 02 14 */ add r0, r7, r0 +/* 80342CA4 0033FC04 90 18 00 08 */ stw r0, 8(r24) +/* 80342CA8 0033FC08 93 98 00 00 */ stw r28, 0(r24) +/* 80342CAC 0033FC0C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342CB0 0033FC10 48 00 17 5D */ bl inflate_flush +/* 80342CB4 0033FC14 48 00 00 78 */ b lbl_80342D2C +/* 80342CB8 0033FC18 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342CBC 0033FC1C 7E E3 BB 78 */ mr r3, r23 +/* 80342CC0 0033FC20 7F 04 C3 78 */ mr r4, r24 +/* 80342CC4 0033FC24 38 A0 FF FD */ li r5, -3 +/* 80342CC8 0033FC28 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342CCC 0033FC2C 93 78 00 04 */ stw r27, 4(r24) +/* 80342CD0 0033FC30 80 18 00 00 */ lwz r0, 0(r24) +/* 80342CD4 0033FC34 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342CD8 0033FC38 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342CDC 0033FC3C 7C 07 02 14 */ add r0, r7, r0 +/* 80342CE0 0033FC40 90 18 00 08 */ stw r0, 8(r24) +/* 80342CE4 0033FC44 93 98 00 00 */ stw r28, 0(r24) +/* 80342CE8 0033FC48 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342CEC 0033FC4C 48 00 17 21 */ bl inflate_flush +/* 80342CF0 0033FC50 48 00 00 3C */ b lbl_80342D2C +lbl_80342CF4: +/* 80342CF4 0033FC54 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342CF8 0033FC58 7E E3 BB 78 */ mr r3, r23 +/* 80342CFC 0033FC5C 7F 04 C3 78 */ mr r4, r24 +/* 80342D00 0033FC60 38 A0 FF FE */ li r5, -2 +/* 80342D04 0033FC64 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342D08 0033FC68 93 78 00 04 */ stw r27, 4(r24) +/* 80342D0C 0033FC6C 80 18 00 00 */ lwz r0, 0(r24) +/* 80342D10 0033FC70 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342D14 0033FC74 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342D18 0033FC78 7C 07 02 14 */ add r0, r7, r0 +/* 80342D1C 0033FC7C 90 18 00 08 */ stw r0, 8(r24) +/* 80342D20 0033FC80 93 98 00 00 */ stw r28, 0(r24) +/* 80342D24 0033FC84 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342D28 0033FC88 48 00 16 E5 */ bl inflate_flush +lbl_80342D2C: +/* 80342D2C 0033FC8C BA E1 00 0C */ lmw r23, 0xc(r1) +/* 80342D30 0033FC90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80342D34 0033FC94 7C 08 03 A6 */ mtlr r0 +/* 80342D38 0033FC98 38 21 00 30 */ addi r1, r1, 0x30 +/* 80342D3C 0033FC9C 4E 80 00 20 */ blr + +.global inflate_codes_new +inflate_codes_new: +/* 80342D40 0033FCA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80342D44 0033FCA4 7C 08 02 A6 */ mflr r0 +/* 80342D48 0033FCA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80342D4C 0033FCAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80342D50 0033FCB0 7C DF 33 78 */ mr r31, r6 +/* 80342D54 0033FCB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80342D58 0033FCB8 7C BE 2B 78 */ mr r30, r5 +/* 80342D5C 0033FCBC 38 A0 00 1C */ li r5, 0x1c +/* 80342D60 0033FCC0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80342D64 0033FCC4 7C 9D 23 78 */ mr r29, r4 +/* 80342D68 0033FCC8 38 80 00 01 */ li r4, 1 +/* 80342D6C 0033FCCC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80342D70 0033FCD0 7C 7C 1B 78 */ mr r28, r3 +/* 80342D74 0033FCD4 81 87 00 20 */ lwz r12, 0x20(r7) +/* 80342D78 0033FCD8 80 67 00 28 */ lwz r3, 0x28(r7) +/* 80342D7C 0033FCDC 7D 89 03 A6 */ mtctr r12 +/* 80342D80 0033FCE0 4E 80 04 21 */ bctrl +/* 80342D84 0033FCE4 28 03 00 00 */ cmplwi r3, 0 +/* 80342D88 0033FCE8 41 82 00 1C */ beq lbl_80342DA4 +/* 80342D8C 0033FCEC 38 00 00 00 */ li r0, 0 +/* 80342D90 0033FCF0 90 03 00 00 */ stw r0, 0(r3) +/* 80342D94 0033FCF4 9B 83 00 10 */ stb r28, 0x10(r3) +/* 80342D98 0033FCF8 9B A3 00 11 */ stb r29, 0x11(r3) +/* 80342D9C 0033FCFC 93 C3 00 14 */ stw r30, 0x14(r3) +/* 80342DA0 0033FD00 93 E3 00 18 */ stw r31, 0x18(r3) +lbl_80342DA4: +/* 80342DA4 0033FD04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80342DA8 0033FD08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80342DAC 0033FD0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80342DB0 0033FD10 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80342DB4 0033FD14 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80342DB8 0033FD18 7C 08 03 A6 */ mtlr r0 +/* 80342DBC 0033FD1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80342DC0 0033FD20 4E 80 00 20 */ blr + +.global inflate_fast +inflate_fast: +/* 80342DC4 0033FD24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80342DC8 0033FD28 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 80342DCC 0033FD2C 81 87 00 34 */ lwz r12, 0x34(r7) +/* 80342DD0 0033FD30 83 27 00 30 */ lwz r25, 0x30(r7) +/* 80342DD4 0033FD34 81 48 00 00 */ lwz r10, 0(r8) +/* 80342DD8 0033FD38 7C 0C C8 40 */ cmplw r12, r25 +/* 80342DDC 0033FD3C 81 68 00 04 */ lwz r11, 4(r8) +/* 80342DE0 0033FD40 80 07 00 20 */ lwz r0, 0x20(r7) +/* 80342DE4 0033FD44 81 27 00 1C */ lwz r9, 0x1c(r7) +/* 80342DE8 0033FD48 40 80 00 10 */ bge lbl_80342DF8 +/* 80342DEC 0033FD4C 7F 2C C8 50 */ subf r25, r12, r25 +/* 80342DF0 0033FD50 3B 79 FF FF */ addi r27, r25, -1 +/* 80342DF4 0033FD54 48 00 00 0C */ b lbl_80342E00 +lbl_80342DF8: +/* 80342DF8 0033FD58 83 27 00 2C */ lwz r25, 0x2c(r7) +/* 80342DFC 0033FD5C 7F 6C C8 50 */ subf r27, r12, r25 +lbl_80342E00: +/* 80342E00 0033FD60 3F 20 80 3F */ lis r25, lbl_803EF5C8@ha +/* 80342E04 0033FD64 54 7A 10 3A */ slwi r26, r3, 2 +/* 80342E08 0033FD68 3B 39 F5 C8 */ addi r25, r25, lbl_803EF5C8@l +/* 80342E0C 0033FD6C 54 83 10 3A */ slwi r3, r4, 2 +/* 80342E10 0033FD70 7F F9 D0 2E */ lwzx r31, r25, r26 +/* 80342E14 0033FD74 7F 64 DB 78 */ mr r4, r27 +/* 80342E18 0033FD78 7F D9 18 2E */ lwzx r30, r25, r3 +/* 80342E1C 0033FD7C 48 00 00 1C */ b lbl_80342E38 +lbl_80342E20: +/* 80342E20 0033FD80 88 6A 00 00 */ lbz r3, 0(r10) +/* 80342E24 0033FD84 39 6B FF FF */ addi r11, r11, -1 +/* 80342E28 0033FD88 39 4A 00 01 */ addi r10, r10, 1 +/* 80342E2C 0033FD8C 7C 63 48 30 */ slw r3, r3, r9 +/* 80342E30 0033FD90 39 29 00 08 */ addi r9, r9, 8 +/* 80342E34 0033FD94 7C 00 1B 78 */ or r0, r0, r3 +lbl_80342E38: +/* 80342E38 0033FD98 28 09 00 14 */ cmplwi r9, 0x14 +/* 80342E3C 0033FD9C 41 80 FF E4 */ blt lbl_80342E20 +/* 80342E40 0033FDA0 7C 03 F8 38 */ and r3, r0, r31 +/* 80342E44 0033FDA4 54 63 18 38 */ slwi r3, r3, 3 +/* 80342E48 0033FDA8 7C 65 1A 14 */ add r3, r5, r3 +/* 80342E4C 0033FDAC 8B 03 00 00 */ lbz r24, 0(r3) +/* 80342E50 0033FDB0 28 18 00 00 */ cmplwi r24, 0 +/* 80342E54 0033FDB4 40 82 00 24 */ bne lbl_80342E78 +/* 80342E58 0033FDB8 8B 23 00 01 */ lbz r25, 1(r3) +/* 80342E5C 0033FDBC 38 84 FF FF */ addi r4, r4, -1 +/* 80342E60 0033FDC0 80 63 00 04 */ lwz r3, 4(r3) +/* 80342E64 0033FDC4 7C 00 CC 30 */ srw r0, r0, r25 +/* 80342E68 0033FDC8 7D 39 48 50 */ subf r9, r25, r9 +/* 80342E6C 0033FDCC 98 6C 00 00 */ stb r3, 0(r12) +/* 80342E70 0033FDD0 39 8C 00 01 */ addi r12, r12, 1 +/* 80342E74 0033FDD4 48 00 04 78 */ b lbl_803432EC +lbl_80342E78: +/* 80342E78 0033FDD8 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha +/* 80342E7C 0033FDDC 3B 9B F5 C8 */ addi r28, r27, lbl_803EF5C8@l +lbl_80342E80: +/* 80342E80 0033FDE0 8B 43 00 01 */ lbz r26, 1(r3) +/* 80342E84 0033FDE4 57 19 06 F7 */ rlwinm. r25, r24, 0, 0x1b, 0x1b +/* 80342E88 0033FDE8 7C 00 D4 30 */ srw r0, r0, r26 +/* 80342E8C 0033FDEC 7D 3A 48 50 */ subf r9, r26, r9 +/* 80342E90 0033FDF0 41 82 03 40 */ beq lbl_803431D0 +/* 80342E94 0033FDF4 3F 20 80 3F */ lis r25, lbl_803EF5C8@ha +/* 80342E98 0033FDF8 57 1D 07 3E */ clrlwi r29, r24, 0x1c +/* 80342E9C 0033FDFC 57 1A 16 BA */ rlwinm r26, r24, 2, 0x1a, 0x1d +/* 80342EA0 0033FE00 83 63 00 04 */ lwz r27, 4(r3) +/* 80342EA4 0033FE04 7D 3D 48 50 */ subf r9, r29, r9 +/* 80342EA8 0033FE08 38 79 F5 C8 */ addi r3, r25, lbl_803EF5C8@l +/* 80342EAC 0033FE0C 7C 63 D0 2E */ lwzx r3, r3, r26 +/* 80342EB0 0033FE10 28 09 00 0F */ cmplwi r9, 0xf +/* 80342EB4 0033FE14 23 89 00 16 */ subfic r28, r9, 0x16 +/* 80342EB8 0033FE18 7C 03 18 38 */ and r3, r0, r3 +/* 80342EBC 0033FE1C 7C 00 EC 30 */ srw r0, r0, r29 +/* 80342EC0 0033FE20 7F BB 1A 14 */ add r29, r27, r3 +/* 80342EC4 0033FE24 57 9C E8 FE */ srwi r28, r28, 3 +/* 80342EC8 0033FE28 40 80 00 C4 */ bge lbl_80342F8C +/* 80342ECC 0033FE2C 57 83 E8 FF */ rlwinm. r3, r28, 0x1d, 3, 0x1f +/* 80342ED0 0033FE30 7C 69 03 A6 */ mtctr r3 +/* 80342ED4 0033FE34 41 82 00 98 */ beq lbl_80342F6C +lbl_80342ED8: +/* 80342ED8 0033FE38 8B 2A 00 00 */ lbz r25, 0(r10) +/* 80342EDC 0033FE3C 39 6B FF F8 */ addi r11, r11, -8 +/* 80342EE0 0033FE40 7F 23 48 30 */ slw r3, r25, r9 +/* 80342EE4 0033FE44 8B 2A 00 01 */ lbz r25, 1(r10) +/* 80342EE8 0033FE48 39 29 00 08 */ addi r9, r9, 8 +/* 80342EEC 0033FE4C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342EF0 0033FE50 7F 23 48 30 */ slw r3, r25, r9 +/* 80342EF4 0033FE54 8B 2A 00 02 */ lbz r25, 2(r10) +/* 80342EF8 0033FE58 39 29 00 08 */ addi r9, r9, 8 +/* 80342EFC 0033FE5C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F00 0033FE60 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F04 0033FE64 8B 2A 00 03 */ lbz r25, 3(r10) +/* 80342F08 0033FE68 39 29 00 08 */ addi r9, r9, 8 +/* 80342F0C 0033FE6C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F10 0033FE70 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F14 0033FE74 8B 2A 00 04 */ lbz r25, 4(r10) +/* 80342F18 0033FE78 39 29 00 08 */ addi r9, r9, 8 +/* 80342F1C 0033FE7C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F20 0033FE80 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F24 0033FE84 8B 2A 00 05 */ lbz r25, 5(r10) +/* 80342F28 0033FE88 39 29 00 08 */ addi r9, r9, 8 +/* 80342F2C 0033FE8C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F30 0033FE90 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F34 0033FE94 8B 2A 00 06 */ lbz r25, 6(r10) +/* 80342F38 0033FE98 39 29 00 08 */ addi r9, r9, 8 +/* 80342F3C 0033FE9C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F40 0033FEA0 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F44 0033FEA4 8B 2A 00 07 */ lbz r25, 7(r10) +/* 80342F48 0033FEA8 39 29 00 08 */ addi r9, r9, 8 +/* 80342F4C 0033FEAC 39 4A 00 08 */ addi r10, r10, 8 +/* 80342F50 0033FEB0 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F54 0033FEB4 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F58 0033FEB8 39 29 00 08 */ addi r9, r9, 8 +/* 80342F5C 0033FEBC 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F60 0033FEC0 42 00 FF 78 */ bdnz lbl_80342ED8 +/* 80342F64 0033FEC4 73 9C 00 07 */ andi. r28, r28, 7 +/* 80342F68 0033FEC8 41 82 00 24 */ beq lbl_80342F8C +lbl_80342F6C: +/* 80342F6C 0033FECC 7F 89 03 A6 */ mtctr r28 +lbl_80342F70: +/* 80342F70 0033FED0 8B 2A 00 00 */ lbz r25, 0(r10) +/* 80342F74 0033FED4 39 6B FF FF */ addi r11, r11, -1 +/* 80342F78 0033FED8 39 4A 00 01 */ addi r10, r10, 1 +/* 80342F7C 0033FEDC 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F80 0033FEE0 39 29 00 08 */ addi r9, r9, 8 +/* 80342F84 0033FEE4 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F88 0033FEE8 42 00 FF E8 */ bdnz lbl_80342F70 +lbl_80342F8C: +/* 80342F8C 0033FEEC 7C 03 F0 38 */ and r3, r0, r30 +/* 80342F90 0033FEF0 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha +/* 80342F94 0033FEF4 54 63 18 38 */ slwi r3, r3, 3 +/* 80342F98 0033FEF8 7C 66 1A 14 */ add r3, r6, r3 +/* 80342F9C 0033FEFC 3B 9B F5 C8 */ addi r28, r27, lbl_803EF5C8@l +/* 80342FA0 0033FF00 8B 03 00 00 */ lbz r24, 0(r3) +lbl_80342FA4: +/* 80342FA4 0033FF04 8B 43 00 01 */ lbz r26, 1(r3) +/* 80342FA8 0033FF08 57 19 06 F7 */ rlwinm. r25, r24, 0, 0x1b, 0x1b +/* 80342FAC 0033FF0C 7C 00 D4 30 */ srw r0, r0, r26 +/* 80342FB0 0033FF10 7D 3A 48 50 */ subf r9, r26, r9 +/* 80342FB4 0033FF14 41 82 01 88 */ beq lbl_8034313C +/* 80342FB8 0033FF18 57 18 07 3E */ clrlwi r24, r24, 0x1c +/* 80342FBC 0033FF1C 3B 78 00 07 */ addi r27, r24, 7 +/* 80342FC0 0033FF20 7F 69 D8 50 */ subf r27, r9, r27 +/* 80342FC4 0033FF24 7C 09 C0 40 */ cmplw r9, r24 +/* 80342FC8 0033FF28 57 7B E8 FE */ srwi r27, r27, 3 +/* 80342FCC 0033FF2C 40 80 00 C4 */ bge lbl_80343090 +/* 80342FD0 0033FF30 57 7C E8 FF */ rlwinm. r28, r27, 0x1d, 3, 0x1f +/* 80342FD4 0033FF34 7F 89 03 A6 */ mtctr r28 +/* 80342FD8 0033FF38 41 82 00 98 */ beq lbl_80343070 +lbl_80342FDC: +/* 80342FDC 0033FF3C 8B 4A 00 00 */ lbz r26, 0(r10) +/* 80342FE0 0033FF40 39 6B FF F8 */ addi r11, r11, -8 +/* 80342FE4 0033FF44 7F 59 48 30 */ slw r25, r26, r9 +/* 80342FE8 0033FF48 8B 4A 00 01 */ lbz r26, 1(r10) +/* 80342FEC 0033FF4C 39 29 00 08 */ addi r9, r9, 8 +/* 80342FF0 0033FF50 7C 00 CB 78 */ or r0, r0, r25 +/* 80342FF4 0033FF54 7F 59 48 30 */ slw r25, r26, r9 +/* 80342FF8 0033FF58 8B 4A 00 02 */ lbz r26, 2(r10) +/* 80342FFC 0033FF5C 39 29 00 08 */ addi r9, r9, 8 +/* 80343000 0033FF60 7C 00 CB 78 */ or r0, r0, r25 +/* 80343004 0033FF64 7F 59 48 30 */ slw r25, r26, r9 +/* 80343008 0033FF68 8B 4A 00 03 */ lbz r26, 3(r10) +/* 8034300C 0033FF6C 39 29 00 08 */ addi r9, r9, 8 +/* 80343010 0033FF70 7C 00 CB 78 */ or r0, r0, r25 +/* 80343014 0033FF74 7F 59 48 30 */ slw r25, r26, r9 +/* 80343018 0033FF78 8B 4A 00 04 */ lbz r26, 4(r10) +/* 8034301C 0033FF7C 39 29 00 08 */ addi r9, r9, 8 +/* 80343020 0033FF80 7C 00 CB 78 */ or r0, r0, r25 +/* 80343024 0033FF84 7F 59 48 30 */ slw r25, r26, r9 +/* 80343028 0033FF88 8B 4A 00 05 */ lbz r26, 5(r10) +/* 8034302C 0033FF8C 39 29 00 08 */ addi r9, r9, 8 +/* 80343030 0033FF90 7C 00 CB 78 */ or r0, r0, r25 +/* 80343034 0033FF94 7F 59 48 30 */ slw r25, r26, r9 +/* 80343038 0033FF98 8B 4A 00 06 */ lbz r26, 6(r10) +/* 8034303C 0033FF9C 39 29 00 08 */ addi r9, r9, 8 +/* 80343040 0033FFA0 7C 00 CB 78 */ or r0, r0, r25 +/* 80343044 0033FFA4 7F 59 48 30 */ slw r25, r26, r9 +/* 80343048 0033FFA8 8B 4A 00 07 */ lbz r26, 7(r10) +/* 8034304C 0033FFAC 39 29 00 08 */ addi r9, r9, 8 +/* 80343050 0033FFB0 39 4A 00 08 */ addi r10, r10, 8 +/* 80343054 0033FFB4 7C 00 CB 78 */ or r0, r0, r25 +/* 80343058 0033FFB8 7F 59 48 30 */ slw r25, r26, r9 +/* 8034305C 0033FFBC 39 29 00 08 */ addi r9, r9, 8 +/* 80343060 0033FFC0 7C 00 CB 78 */ or r0, r0, r25 +/* 80343064 0033FFC4 42 00 FF 78 */ bdnz lbl_80342FDC +/* 80343068 0033FFC8 73 7B 00 07 */ andi. r27, r27, 7 +/* 8034306C 0033FFCC 41 82 00 24 */ beq lbl_80343090 +lbl_80343070: +/* 80343070 0033FFD0 7F 69 03 A6 */ mtctr r27 +lbl_80343074: +/* 80343074 0033FFD4 8B 4A 00 00 */ lbz r26, 0(r10) +/* 80343078 0033FFD8 39 6B FF FF */ addi r11, r11, -1 +/* 8034307C 0033FFDC 39 4A 00 01 */ addi r10, r10, 1 +/* 80343080 0033FFE0 7F 59 48 30 */ slw r25, r26, r9 +/* 80343084 0033FFE4 39 29 00 08 */ addi r9, r9, 8 +/* 80343088 0033FFE8 7C 00 CB 78 */ or r0, r0, r25 +/* 8034308C 0033FFEC 42 00 FF E8 */ bdnz lbl_80343074 +lbl_80343090: +/* 80343090 0033FFF0 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha +/* 80343094 0033FFF4 83 47 00 28 */ lwz r26, 0x28(r7) +/* 80343098 0033FFF8 57 1C 10 3A */ slwi r28, r24, 2 +/* 8034309C 0033FFFC 83 23 00 04 */ lwz r25, 4(r3) +/* 803430A0 00340000 38 7B F5 C8 */ addi r3, r27, lbl_803EF5C8@l +/* 803430A4 00340004 7F 5A 60 50 */ subf r26, r26, r12 +/* 803430A8 00340008 7C 63 E0 2E */ lwzx r3, r3, r28 +/* 803430AC 0034000C 7D 38 48 50 */ subf r9, r24, r9 +/* 803430B0 00340010 7C 9D 20 50 */ subf r4, r29, r4 +/* 803430B4 00340014 7C 03 18 38 */ and r3, r0, r3 +/* 803430B8 00340018 7C 00 C4 30 */ srw r0, r0, r24 +/* 803430BC 0034001C 7C 79 1A 14 */ add r3, r25, r3 +/* 803430C0 00340020 7C 1A 18 40 */ cmplw r26, r3 +/* 803430C4 00340024 41 80 00 28 */ blt lbl_803430EC +/* 803430C8 00340028 7F 23 60 50 */ subf r25, r3, r12 +/* 803430CC 0034002C 3B BD FF FE */ addi r29, r29, -2 +/* 803430D0 00340030 88 79 00 00 */ lbz r3, 0(r25) +/* 803430D4 00340034 98 6C 00 00 */ stb r3, 0(r12) +/* 803430D8 00340038 88 79 00 01 */ lbz r3, 1(r25) +/* 803430DC 0034003C 3B 39 00 02 */ addi r25, r25, 2 +/* 803430E0 00340040 98 6C 00 01 */ stb r3, 1(r12) +/* 803430E4 00340044 39 8C 00 02 */ addi r12, r12, 2 +/* 803430E8 00340048 48 00 00 38 */ b lbl_80343120 +lbl_803430EC: +/* 803430EC 0034004C 7F 1A 18 50 */ subf r24, r26, r3 +/* 803430F0 00340050 80 67 00 2C */ lwz r3, 0x2c(r7) +/* 803430F4 00340054 7C 1D C0 40 */ cmplw r29, r24 +/* 803430F8 00340058 7F 38 18 50 */ subf r25, r24, r3 +/* 803430FC 0034005C 40 81 00 24 */ ble lbl_80343120 +/* 80343100 00340060 7F B8 E8 50 */ subf r29, r24, r29 +lbl_80343104: +/* 80343104 00340064 88 79 00 00 */ lbz r3, 0(r25) +/* 80343108 00340068 37 18 FF FF */ addic. r24, r24, -1 +/* 8034310C 0034006C 3B 39 00 01 */ addi r25, r25, 1 +/* 80343110 00340070 98 6C 00 00 */ stb r3, 0(r12) +/* 80343114 00340074 39 8C 00 01 */ addi r12, r12, 1 +/* 80343118 00340078 40 82 FF EC */ bne lbl_80343104 +/* 8034311C 0034007C 83 27 00 28 */ lwz r25, 0x28(r7) +lbl_80343120: +/* 80343120 00340080 88 79 00 00 */ lbz r3, 0(r25) +/* 80343124 00340084 37 BD FF FF */ addic. r29, r29, -1 +/* 80343128 00340088 3B 39 00 01 */ addi r25, r25, 1 +/* 8034312C 0034008C 98 6C 00 00 */ stb r3, 0(r12) +/* 80343130 00340090 39 8C 00 01 */ addi r12, r12, 1 +/* 80343134 00340094 40 82 FF EC */ bne lbl_80343120 +/* 80343138 00340098 48 00 01 B4 */ b lbl_803432EC +lbl_8034313C: +/* 8034313C 0034009C 57 1A 06 73 */ rlwinm. r26, r24, 0, 0x19, 0x19 +/* 80343140 003400A0 40 82 00 2C */ bne lbl_8034316C +/* 80343144 003400A4 57 1B 10 3A */ slwi r27, r24, 2 +/* 80343148 003400A8 83 43 00 04 */ lwz r26, 4(r3) +/* 8034314C 003400AC 7F 7C D8 2E */ lwzx r27, r28, r27 +/* 80343150 003400B0 57 5A 18 38 */ slwi r26, r26, 3 +/* 80343154 003400B4 7C 1B D8 38 */ and r27, r0, r27 +/* 80343158 003400B8 7C 63 D2 14 */ add r3, r3, r26 +/* 8034315C 003400BC 57 7B 18 38 */ slwi r27, r27, 3 +/* 80343160 003400C0 7C 63 DA 14 */ add r3, r3, r27 +/* 80343164 003400C4 8B 03 00 00 */ lbz r24, 0(r3) +/* 80343168 003400C8 4B FF FE 3C */ b lbl_80342FA4 +lbl_8034316C: +/* 8034316C 003400CC 3C 60 80 3D */ lis r3, lbl_803D7BA0@ha +/* 80343170 003400D0 55 24 E8 FE */ srwi r4, r9, 3 +/* 80343174 003400D4 38 63 7B A0 */ addi r3, r3, lbl_803D7BA0@l +/* 80343178 003400D8 90 68 00 18 */ stw r3, 0x18(r8) +/* 8034317C 003400DC 80 68 00 04 */ lwz r3, 4(r8) +/* 80343180 003400E0 7C AB 18 50 */ subf r5, r11, r3 +/* 80343184 003400E4 7C 04 28 40 */ cmplw r4, r5 +/* 80343188 003400E8 40 80 00 08 */ bge lbl_80343190 +/* 8034318C 003400EC 7C 85 23 78 */ mr r5, r4 +lbl_80343190: +/* 80343190 003400F0 54 A3 18 38 */ slwi r3, r5, 3 +/* 80343194 003400F4 90 07 00 20 */ stw r0, 0x20(r7) +/* 80343198 003400F8 7D 23 48 50 */ subf r9, r3, r9 +/* 8034319C 003400FC 7D 6B 2A 14 */ add r11, r11, r5 +/* 803431A0 00340100 91 27 00 1C */ stw r9, 0x1c(r7) +/* 803431A4 00340104 7D 45 50 50 */ subf r10, r5, r10 +/* 803431A8 00340108 38 60 FF FD */ li r3, -3 +/* 803431AC 0034010C 91 68 00 04 */ stw r11, 4(r8) +/* 803431B0 00340110 80 08 00 00 */ lwz r0, 0(r8) +/* 803431B4 00340114 80 88 00 08 */ lwz r4, 8(r8) +/* 803431B8 00340118 7C 00 50 50 */ subf r0, r0, r10 +/* 803431BC 0034011C 7C 04 02 14 */ add r0, r4, r0 +/* 803431C0 00340120 90 08 00 08 */ stw r0, 8(r8) +/* 803431C4 00340124 91 48 00 00 */ stw r10, 0(r8) +/* 803431C8 00340128 91 87 00 34 */ stw r12, 0x34(r7) +/* 803431CC 0034012C 48 00 01 84 */ b lbl_80343350 +lbl_803431D0: +/* 803431D0 00340130 57 1B 06 73 */ rlwinm. r27, r24, 0, 0x19, 0x19 +/* 803431D4 00340134 40 82 00 50 */ bne lbl_80343224 +/* 803431D8 00340138 57 1B 10 3A */ slwi r27, r24, 2 +/* 803431DC 0034013C 83 A3 00 04 */ lwz r29, 4(r3) +/* 803431E0 00340140 7F 7C D8 2E */ lwzx r27, r28, r27 +/* 803431E4 00340144 57 BD 18 38 */ slwi r29, r29, 3 +/* 803431E8 00340148 7C 1B D8 38 */ and r27, r0, r27 +/* 803431EC 0034014C 7C 63 EA 14 */ add r3, r3, r29 +/* 803431F0 00340150 57 7B 18 38 */ slwi r27, r27, 3 +/* 803431F4 00340154 7C 63 DA 14 */ add r3, r3, r27 +/* 803431F8 00340158 8B 03 00 00 */ lbz r24, 0(r3) +/* 803431FC 0034015C 28 18 00 00 */ cmplwi r24, 0 +/* 80343200 00340160 40 82 FC 80 */ bne lbl_80342E80 +/* 80343204 00340164 8B 03 00 01 */ lbz r24, 1(r3) +/* 80343208 00340168 38 84 FF FF */ addi r4, r4, -1 +/* 8034320C 0034016C 80 63 00 04 */ lwz r3, 4(r3) +/* 80343210 00340170 7C 00 C4 30 */ srw r0, r0, r24 +/* 80343214 00340174 7D 38 48 50 */ subf r9, r24, r9 +/* 80343218 00340178 98 6C 00 00 */ stb r3, 0(r12) +/* 8034321C 0034017C 39 8C 00 01 */ addi r12, r12, 1 +/* 80343220 00340180 48 00 00 CC */ b lbl_803432EC +lbl_80343224: +/* 80343224 00340184 57 03 06 B5 */ rlwinm. r3, r24, 0, 0x1a, 0x1a +/* 80343228 00340188 41 82 00 5C */ beq lbl_80343284 +/* 8034322C 0034018C 80 68 00 04 */ lwz r3, 4(r8) +/* 80343230 00340190 55 24 E8 FE */ srwi r4, r9, 3 +/* 80343234 00340194 7C AB 18 50 */ subf r5, r11, r3 +/* 80343238 00340198 7C 04 28 40 */ cmplw r4, r5 +/* 8034323C 0034019C 40 80 00 08 */ bge lbl_80343244 +/* 80343240 003401A0 7C 85 23 78 */ mr r5, r4 +lbl_80343244: +/* 80343244 003401A4 54 A3 18 38 */ slwi r3, r5, 3 +/* 80343248 003401A8 90 07 00 20 */ stw r0, 0x20(r7) +/* 8034324C 003401AC 7D 23 48 50 */ subf r9, r3, r9 +/* 80343250 003401B0 7D 6B 2A 14 */ add r11, r11, r5 +/* 80343254 003401B4 91 27 00 1C */ stw r9, 0x1c(r7) +/* 80343258 003401B8 7D 45 50 50 */ subf r10, r5, r10 +/* 8034325C 003401BC 38 60 00 01 */ li r3, 1 +/* 80343260 003401C0 91 68 00 04 */ stw r11, 4(r8) +/* 80343264 003401C4 80 08 00 00 */ lwz r0, 0(r8) +/* 80343268 003401C8 80 88 00 08 */ lwz r4, 8(r8) +/* 8034326C 003401CC 7C 00 50 50 */ subf r0, r0, r10 +/* 80343270 003401D0 7C 04 02 14 */ add r0, r4, r0 +/* 80343274 003401D4 90 08 00 08 */ stw r0, 8(r8) +/* 80343278 003401D8 91 48 00 00 */ stw r10, 0(r8) +/* 8034327C 003401DC 91 87 00 34 */ stw r12, 0x34(r7) +/* 80343280 003401E0 48 00 00 D0 */ b lbl_80343350 +lbl_80343284: +/* 80343284 003401E4 3C 60 80 3D */ lis r3, lbl_803D7BA0@ha +/* 80343288 003401E8 55 24 E8 FE */ srwi r4, r9, 3 +/* 8034328C 003401EC 38 63 7B A0 */ addi r3, r3, lbl_803D7BA0@l +/* 80343290 003401F0 38 63 00 16 */ addi r3, r3, 0x16 +/* 80343294 003401F4 90 68 00 18 */ stw r3, 0x18(r8) +/* 80343298 003401F8 80 68 00 04 */ lwz r3, 4(r8) +/* 8034329C 003401FC 7C AB 18 50 */ subf r5, r11, r3 +/* 803432A0 00340200 7C 04 28 40 */ cmplw r4, r5 +/* 803432A4 00340204 40 80 00 08 */ bge lbl_803432AC +/* 803432A8 00340208 7C 85 23 78 */ mr r5, r4 +lbl_803432AC: +/* 803432AC 0034020C 54 A3 18 38 */ slwi r3, r5, 3 +/* 803432B0 00340210 90 07 00 20 */ stw r0, 0x20(r7) +/* 803432B4 00340214 7D 23 48 50 */ subf r9, r3, r9 +/* 803432B8 00340218 7D 6B 2A 14 */ add r11, r11, r5 +/* 803432BC 0034021C 91 27 00 1C */ stw r9, 0x1c(r7) +/* 803432C0 00340220 7D 45 50 50 */ subf r10, r5, r10 +/* 803432C4 00340224 38 60 FF FD */ li r3, -3 +/* 803432C8 00340228 91 68 00 04 */ stw r11, 4(r8) +/* 803432CC 0034022C 80 08 00 00 */ lwz r0, 0(r8) +/* 803432D0 00340230 80 88 00 08 */ lwz r4, 8(r8) +/* 803432D4 00340234 7C 00 50 50 */ subf r0, r0, r10 +/* 803432D8 00340238 7C 04 02 14 */ add r0, r4, r0 +/* 803432DC 0034023C 90 08 00 08 */ stw r0, 8(r8) +/* 803432E0 00340240 91 48 00 00 */ stw r10, 0(r8) +/* 803432E4 00340244 91 87 00 34 */ stw r12, 0x34(r7) +/* 803432E8 00340248 48 00 00 68 */ b lbl_80343350 +lbl_803432EC: +/* 803432EC 0034024C 28 04 01 02 */ cmplwi r4, 0x102 +/* 803432F0 00340250 41 80 00 0C */ blt lbl_803432FC +/* 803432F4 00340254 28 0B 00 0A */ cmplwi r11, 0xa +/* 803432F8 00340258 40 80 FB 40 */ bge lbl_80342E38 +lbl_803432FC: +/* 803432FC 0034025C 80 68 00 04 */ lwz r3, 4(r8) +/* 80343300 00340260 55 24 E8 FE */ srwi r4, r9, 3 +/* 80343304 00340264 7C AB 18 50 */ subf r5, r11, r3 +/* 80343308 00340268 7C 04 28 40 */ cmplw r4, r5 +/* 8034330C 0034026C 40 80 00 08 */ bge lbl_80343314 +/* 80343310 00340270 7C 85 23 78 */ mr r5, r4 +lbl_80343314: +/* 80343314 00340274 54 A3 18 38 */ slwi r3, r5, 3 +/* 80343318 00340278 90 07 00 20 */ stw r0, 0x20(r7) +/* 8034331C 0034027C 7D 23 48 50 */ subf r9, r3, r9 +/* 80343320 00340280 7D 6B 2A 14 */ add r11, r11, r5 +/* 80343324 00340284 91 27 00 1C */ stw r9, 0x1c(r7) +/* 80343328 00340288 7D 45 50 50 */ subf r10, r5, r10 +/* 8034332C 0034028C 38 60 00 00 */ li r3, 0 +/* 80343330 00340290 91 68 00 04 */ stw r11, 4(r8) +/* 80343334 00340294 80 08 00 00 */ lwz r0, 0(r8) +/* 80343338 00340298 80 88 00 08 */ lwz r4, 8(r8) +/* 8034333C 0034029C 7C 00 50 50 */ subf r0, r0, r10 +/* 80343340 003402A0 7C 04 02 14 */ add r0, r4, r0 +/* 80343344 003402A4 90 08 00 08 */ stw r0, 8(r8) +/* 80343348 003402A8 91 48 00 00 */ stw r10, 0(r8) +/* 8034334C 003402AC 91 87 00 34 */ stw r12, 0x34(r7) +lbl_80343350: +/* 80343350 003402B0 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 80343354 003402B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80343358 003402B8 4E 80 00 20 */ blr + +.global inflate +inflate: +/* 8034335C 003402BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80343360 003402C0 7C 08 02 A6 */ mflr r0 +/* 80343364 003402C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80343368 003402C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034336C 003402CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80343370 003402D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80343374 003402D4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80343378 003402D8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8034337C 003402DC 41 82 00 1C */ beq lbl_80343398 +/* 80343380 003402E0 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 80343384 003402E4 28 00 00 00 */ cmplwi r0, 0 +/* 80343388 003402E8 41 82 00 10 */ beq lbl_80343398 +/* 8034338C 003402EC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80343390 003402F0 28 00 00 00 */ cmplwi r0, 0 +/* 80343394 003402F4 40 82 00 0C */ bne lbl_803433A0 +lbl_80343398: +/* 80343398 003402F8 38 60 FF FE */ li r3, -2 +/* 8034339C 003402FC 48 00 05 A4 */ b lbl_80343940 +lbl_803433A0: +/* 803433A0 00340300 38 64 FF FC */ addi r3, r4, -4 +/* 803433A4 00340304 20 04 00 04 */ subfic r0, r4, 4 +/* 803433A8 00340308 7C 60 00 F8 */ nor r0, r3, r0 +/* 803433AC 0034030C 3C 60 80 3F */ lis r3, lbl_803EE490@ha +/* 803433B0 00340310 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 803433B4 00340314 38 00 FF FB */ li r0, -5 +/* 803433B8 00340318 7C 1E 20 38 */ and r30, r0, r4 +/* 803433BC 0034031C 3B E3 E4 90 */ addi r31, r3, lbl_803EE490@l +/* 803433C0 00340320 3B A0 FF FB */ li r29, -5 +lbl_803433C4: +/* 803433C4 00340324 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803433C8 00340328 80 04 00 00 */ lwz r0, 0(r4) +/* 803433CC 0034032C 28 00 00 0D */ cmplwi r0, 0xd +/* 803433D0 00340330 41 81 05 6C */ bgt lbl_8034393C +/* 803433D4 00340334 54 00 10 3A */ slwi r0, r0, 2 +/* 803433D8 00340338 7C 1F 00 2E */ lwzx r0, r31, r0 +/* 803433DC 0034033C 7C 09 03 A6 */ mtctr r0 +/* 803433E0 00340340 4E 80 04 20 */ bctr +/* 803433E4 00340344 80 7C 00 04 */ lwz r3, 4(r28) +/* 803433E8 00340348 28 03 00 00 */ cmplwi r3, 0 +/* 803433EC 0034034C 40 82 00 0C */ bne lbl_803433F8 +/* 803433F0 00340350 7F A3 EB 78 */ mr r3, r29 +/* 803433F4 00340354 48 00 05 4C */ b lbl_80343940 +lbl_803433F8: +/* 803433F8 00340358 38 03 FF FF */ addi r0, r3, -1 +/* 803433FC 0034035C 7F DD F3 78 */ mr r29, r30 +/* 80343400 00340360 90 1C 00 04 */ stw r0, 4(r28) +/* 80343404 00340364 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343408 00340368 38 03 00 01 */ addi r0, r3, 1 +/* 8034340C 0034036C 90 1C 00 08 */ stw r0, 8(r28) +/* 80343410 00340370 80 7C 00 00 */ lwz r3, 0(r28) +/* 80343414 00340374 38 03 00 01 */ addi r0, r3, 1 +/* 80343418 00340378 90 1C 00 00 */ stw r0, 0(r28) +/* 8034341C 0034037C 88 83 00 00 */ lbz r4, 0(r3) +/* 80343420 00340380 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343424 00340384 54 80 07 3E */ clrlwi r0, r4, 0x1c +/* 80343428 00340388 28 00 00 08 */ cmplwi r0, 8 +/* 8034342C 0034038C 90 83 00 04 */ stw r4, 4(r3) +/* 80343430 00340390 41 82 00 2C */ beq lbl_8034345C +/* 80343434 00340394 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80343438 00340398 38 A0 00 0D */ li r5, 0xd +/* 8034343C 0034039C 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343440 003403A0 38 00 00 05 */ li r0, 5 +/* 80343444 003403A4 90 A4 00 00 */ stw r5, 0(r4) +/* 80343448 003403A8 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 8034344C 003403AC 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343450 003403B0 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343454 003403B4 90 03 00 04 */ stw r0, 4(r3) +/* 80343458 003403B8 4B FF FF 6C */ b lbl_803433C4 +lbl_8034345C: +/* 8034345C 003403BC 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80343460 003403C0 80 64 00 04 */ lwz r3, 4(r4) +/* 80343464 003403C4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80343468 003403C8 54 63 E1 3E */ srwi r3, r3, 4 +/* 8034346C 003403CC 38 63 00 08 */ addi r3, r3, 8 +/* 80343470 003403D0 7C 03 00 40 */ cmplw r3, r0 +/* 80343474 003403D4 40 81 00 2C */ ble lbl_803434A0 +/* 80343478 003403D8 38 00 00 0D */ li r0, 0xd +/* 8034347C 003403DC 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343480 003403E0 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343484 003403E4 90 04 00 00 */ stw r0, 0(r4) +/* 80343488 003403E8 38 63 00 1B */ addi r3, r3, 0x1b +/* 8034348C 003403EC 38 00 00 05 */ li r0, 5 +/* 80343490 003403F0 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343494 003403F4 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343498 003403F8 90 03 00 04 */ stw r0, 4(r3) +/* 8034349C 003403FC 4B FF FF 28 */ b lbl_803433C4 +lbl_803434A0: +/* 803434A0 00340400 38 00 00 01 */ li r0, 1 +/* 803434A4 00340404 90 04 00 00 */ stw r0, 0(r4) +/* 803434A8 00340408 80 7C 00 04 */ lwz r3, 4(r28) +/* 803434AC 0034040C 28 03 00 00 */ cmplwi r3, 0 +/* 803434B0 00340410 40 82 00 0C */ bne lbl_803434BC +/* 803434B4 00340414 7F A3 EB 78 */ mr r3, r29 +/* 803434B8 00340418 48 00 04 88 */ b lbl_80343940 +lbl_803434BC: +/* 803434BC 0034041C 38 03 FF FF */ addi r0, r3, -1 +/* 803434C0 00340420 3C 60 08 42 */ lis r3, 0x08421085@ha +/* 803434C4 00340424 90 1C 00 04 */ stw r0, 4(r28) +/* 803434C8 00340428 38 03 10 85 */ addi r0, r3, 0x08421085@l +/* 803434CC 0034042C 7F DD F3 78 */ mr r29, r30 +/* 803434D0 00340430 80 7C 00 08 */ lwz r3, 8(r28) +/* 803434D4 00340434 38 63 00 01 */ addi r3, r3, 1 +/* 803434D8 00340438 90 7C 00 08 */ stw r3, 8(r28) +/* 803434DC 0034043C 80 9C 00 00 */ lwz r4, 0(r28) +/* 803434E0 00340440 38 64 00 01 */ addi r3, r4, 1 +/* 803434E4 00340444 90 7C 00 00 */ stw r3, 0(r28) +/* 803434E8 00340448 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 803434EC 0034044C 88 C4 00 00 */ lbz r6, 0(r4) +/* 803434F0 00340450 80 65 00 04 */ lwz r3, 4(r5) +/* 803434F4 00340454 54 63 40 2E */ slwi r3, r3, 8 +/* 803434F8 00340458 7C 83 32 14 */ add r4, r3, r6 +/* 803434FC 0034045C 7C 60 20 16 */ mulhwu r3, r0, r4 +/* 80343500 00340460 7C 03 20 50 */ subf r0, r3, r4 +/* 80343504 00340464 54 00 F8 7E */ srwi r0, r0, 1 +/* 80343508 00340468 7C 00 1A 14 */ add r0, r0, r3 +/* 8034350C 0034046C 54 00 E1 3E */ srwi r0, r0, 4 +/* 80343510 00340470 1C 00 00 1F */ mulli r0, r0, 0x1f +/* 80343514 00340474 7C 00 20 51 */ subf. r0, r0, r4 +/* 80343518 00340478 41 82 00 2C */ beq lbl_80343544 +/* 8034351C 0034047C 38 00 00 0D */ li r0, 0xd +/* 80343520 00340480 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343524 00340484 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343528 00340488 90 05 00 00 */ stw r0, 0(r5) +/* 8034352C 0034048C 38 63 00 2F */ addi r3, r3, 0x2f +/* 80343530 00340490 38 00 00 05 */ li r0, 5 +/* 80343534 00340494 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343538 00340498 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034353C 0034049C 90 03 00 04 */ stw r0, 4(r3) +/* 80343540 003404A0 4B FF FE 84 */ b lbl_803433C4 +lbl_80343544: +/* 80343544 003404A4 54 C0 06 B5 */ rlwinm. r0, r6, 0, 0x1a, 0x1a +/* 80343548 003404A8 40 82 00 10 */ bne lbl_80343558 +/* 8034354C 003404AC 38 00 00 07 */ li r0, 7 +/* 80343550 003404B0 90 05 00 00 */ stw r0, 0(r5) +/* 80343554 003404B4 4B FF FE 70 */ b lbl_803433C4 +lbl_80343558: +/* 80343558 003404B8 38 00 00 02 */ li r0, 2 +/* 8034355C 003404BC 90 05 00 00 */ stw r0, 0(r5) +/* 80343560 003404C0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343564 003404C4 28 03 00 00 */ cmplwi r3, 0 +/* 80343568 003404C8 40 82 00 0C */ bne lbl_80343574 +/* 8034356C 003404CC 7F A3 EB 78 */ mr r3, r29 +/* 80343570 003404D0 48 00 03 D0 */ b lbl_80343940 +lbl_80343574: +/* 80343574 003404D4 38 63 FF FF */ addi r3, r3, -1 +/* 80343578 003404D8 38 00 00 03 */ li r0, 3 +/* 8034357C 003404DC 90 7C 00 04 */ stw r3, 4(r28) +/* 80343580 003404E0 7F DD F3 78 */ mr r29, r30 +/* 80343584 003404E4 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343588 003404E8 38 63 00 01 */ addi r3, r3, 1 +/* 8034358C 003404EC 90 7C 00 08 */ stw r3, 8(r28) +/* 80343590 003404F0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343594 003404F4 38 64 00 01 */ addi r3, r4, 1 +/* 80343598 003404F8 90 7C 00 00 */ stw r3, 0(r28) +/* 8034359C 003404FC 88 84 00 00 */ lbz r4, 0(r4) +/* 803435A0 00340500 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803435A4 00340504 54 84 C0 0E */ slwi r4, r4, 0x18 +/* 803435A8 00340508 90 83 00 08 */ stw r4, 8(r3) +/* 803435AC 0034050C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803435B0 00340510 90 03 00 00 */ stw r0, 0(r3) +/* 803435B4 00340514 80 7C 00 04 */ lwz r3, 4(r28) +/* 803435B8 00340518 28 03 00 00 */ cmplwi r3, 0 +/* 803435BC 0034051C 40 82 00 0C */ bne lbl_803435C8 +/* 803435C0 00340520 7F A3 EB 78 */ mr r3, r29 +/* 803435C4 00340524 48 00 03 7C */ b lbl_80343940 +lbl_803435C8: +/* 803435C8 00340528 38 63 FF FF */ addi r3, r3, -1 +/* 803435CC 0034052C 38 00 00 04 */ li r0, 4 +/* 803435D0 00340530 90 7C 00 04 */ stw r3, 4(r28) +/* 803435D4 00340534 7F DD F3 78 */ mr r29, r30 +/* 803435D8 00340538 80 7C 00 08 */ lwz r3, 8(r28) +/* 803435DC 0034053C 38 63 00 01 */ addi r3, r3, 1 +/* 803435E0 00340540 90 7C 00 08 */ stw r3, 8(r28) +/* 803435E4 00340544 80 9C 00 00 */ lwz r4, 0(r28) +/* 803435E8 00340548 38 64 00 01 */ addi r3, r4, 1 +/* 803435EC 0034054C 90 7C 00 00 */ stw r3, 0(r28) +/* 803435F0 00340550 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 803435F4 00340554 88 64 00 00 */ lbz r3, 0(r4) +/* 803435F8 00340558 80 85 00 08 */ lwz r4, 8(r5) +/* 803435FC 0034055C 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80343600 00340560 7C 64 1A 14 */ add r3, r4, r3 +/* 80343604 00340564 90 65 00 08 */ stw r3, 8(r5) +/* 80343608 00340568 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034360C 0034056C 90 03 00 00 */ stw r0, 0(r3) +/* 80343610 00340570 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343614 00340574 28 03 00 00 */ cmplwi r3, 0 +/* 80343618 00340578 40 82 00 0C */ bne lbl_80343624 +/* 8034361C 0034057C 7F A3 EB 78 */ mr r3, r29 +/* 80343620 00340580 48 00 03 20 */ b lbl_80343940 +lbl_80343624: +/* 80343624 00340584 38 63 FF FF */ addi r3, r3, -1 +/* 80343628 00340588 38 00 00 05 */ li r0, 5 +/* 8034362C 0034058C 90 7C 00 04 */ stw r3, 4(r28) +/* 80343630 00340590 7F DD F3 78 */ mr r29, r30 +/* 80343634 00340594 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343638 00340598 38 63 00 01 */ addi r3, r3, 1 +/* 8034363C 0034059C 90 7C 00 08 */ stw r3, 8(r28) +/* 80343640 003405A0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343644 003405A4 38 64 00 01 */ addi r3, r4, 1 +/* 80343648 003405A8 90 7C 00 00 */ stw r3, 0(r28) +/* 8034364C 003405AC 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343650 003405B0 88 64 00 00 */ lbz r3, 0(r4) +/* 80343654 003405B4 80 85 00 08 */ lwz r4, 8(r5) +/* 80343658 003405B8 54 63 40 2E */ slwi r3, r3, 8 +/* 8034365C 003405BC 7C 64 1A 14 */ add r3, r4, r3 +/* 80343660 003405C0 90 65 00 08 */ stw r3, 8(r5) +/* 80343664 003405C4 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343668 003405C8 90 03 00 00 */ stw r0, 0(r3) +/* 8034366C 003405CC 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343670 003405D0 28 03 00 00 */ cmplwi r3, 0 +/* 80343674 003405D4 40 82 00 0C */ bne lbl_80343680 +/* 80343678 003405D8 7F A3 EB 78 */ mr r3, r29 +/* 8034367C 003405DC 48 00 02 C4 */ b lbl_80343940 +lbl_80343680: +/* 80343680 003405E0 38 63 FF FF */ addi r3, r3, -1 +/* 80343684 003405E4 38 00 00 06 */ li r0, 6 +/* 80343688 003405E8 90 7C 00 04 */ stw r3, 4(r28) +/* 8034368C 003405EC 38 60 00 02 */ li r3, 2 +/* 80343690 003405F0 80 9C 00 08 */ lwz r4, 8(r28) +/* 80343694 003405F4 38 84 00 01 */ addi r4, r4, 1 +/* 80343698 003405F8 90 9C 00 08 */ stw r4, 8(r28) +/* 8034369C 003405FC 80 BC 00 00 */ lwz r5, 0(r28) +/* 803436A0 00340600 38 85 00 01 */ addi r4, r5, 1 +/* 803436A4 00340604 90 9C 00 00 */ stw r4, 0(r28) +/* 803436A8 00340608 80 DC 00 1C */ lwz r6, 0x1c(r28) +/* 803436AC 0034060C 88 85 00 00 */ lbz r4, 0(r5) +/* 803436B0 00340610 80 A6 00 08 */ lwz r5, 8(r6) +/* 803436B4 00340614 7C 85 22 14 */ add r4, r5, r4 +/* 803436B8 00340618 90 86 00 08 */ stw r4, 8(r6) +/* 803436BC 0034061C 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803436C0 00340620 80 84 00 08 */ lwz r4, 8(r4) +/* 803436C4 00340624 90 9C 00 30 */ stw r4, 0x30(r28) +/* 803436C8 00340628 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803436CC 0034062C 90 04 00 00 */ stw r0, 0(r4) +/* 803436D0 00340630 48 00 02 70 */ b lbl_80343940 +/* 803436D4 00340634 38 00 00 0D */ li r0, 0xd +/* 803436D8 00340638 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 803436DC 0034063C 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 803436E0 00340640 90 04 00 00 */ stw r0, 0(r4) +/* 803436E4 00340644 38 63 00 46 */ addi r3, r3, 0x46 +/* 803436E8 00340648 38 00 00 00 */ li r0, 0 +/* 803436EC 0034064C 90 7C 00 18 */ stw r3, 0x18(r28) +/* 803436F0 00340650 38 60 FF FE */ li r3, -2 +/* 803436F4 00340654 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803436F8 00340658 90 04 00 04 */ stw r0, 4(r4) +/* 803436FC 0034065C 48 00 02 44 */ b lbl_80343940 +/* 80343700 00340660 80 64 00 14 */ lwz r3, 0x14(r4) +/* 80343704 00340664 7F 84 E3 78 */ mr r4, r28 +/* 80343708 00340668 7F A5 EB 78 */ mr r5, r29 +/* 8034370C 0034066C 4B FF DC 91 */ bl inflate_blocks +/* 80343710 00340670 7C 7D 1B 78 */ mr r29, r3 +/* 80343714 00340674 2C 1D FF FD */ cmpwi r29, -3 +/* 80343718 00340678 40 82 00 20 */ bne lbl_80343738 +/* 8034371C 0034067C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343720 00340680 38 80 00 0D */ li r4, 0xd +/* 80343724 00340684 38 00 00 00 */ li r0, 0 +/* 80343728 00340688 90 83 00 00 */ stw r4, 0(r3) +/* 8034372C 0034068C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343730 00340690 90 03 00 04 */ stw r0, 4(r3) +/* 80343734 00340694 4B FF FC 90 */ b lbl_803433C4 +lbl_80343738: +/* 80343738 00340698 2C 1D 00 00 */ cmpwi r29, 0 +/* 8034373C 0034069C 40 82 00 08 */ bne lbl_80343744 +/* 80343740 003406A0 7F DD F3 78 */ mr r29, r30 +lbl_80343744: +/* 80343744 003406A4 2C 1D 00 01 */ cmpwi r29, 1 +/* 80343748 003406A8 41 82 00 0C */ beq lbl_80343754 +/* 8034374C 003406AC 7F A3 EB 78 */ mr r3, r29 +/* 80343750 003406B0 48 00 01 F0 */ b lbl_80343940 +lbl_80343754: +/* 80343754 003406B4 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343758 003406B8 7F DD F3 78 */ mr r29, r30 +/* 8034375C 003406BC 7F 84 E3 78 */ mr r4, r28 +/* 80343760 003406C0 80 65 00 14 */ lwz r3, 0x14(r5) +/* 80343764 003406C4 38 A5 00 04 */ addi r5, r5, 4 +/* 80343768 003406C8 4B FF EB A5 */ bl inflate_blocks_reset +/* 8034376C 003406CC 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343770 003406D0 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80343774 003406D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80343778 003406D8 41 82 00 10 */ beq lbl_80343788 +/* 8034377C 003406DC 38 00 00 0C */ li r0, 0xc +/* 80343780 003406E0 90 03 00 00 */ stw r0, 0(r3) +/* 80343784 003406E4 4B FF FC 40 */ b lbl_803433C4 +lbl_80343788: +/* 80343788 003406E8 38 00 00 08 */ li r0, 8 +/* 8034378C 003406EC 90 03 00 00 */ stw r0, 0(r3) +/* 80343790 003406F0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343794 003406F4 28 03 00 00 */ cmplwi r3, 0 +/* 80343798 003406F8 40 82 00 0C */ bne lbl_803437A4 +/* 8034379C 003406FC 7F A3 EB 78 */ mr r3, r29 +/* 803437A0 00340700 48 00 01 A0 */ b lbl_80343940 +lbl_803437A4: +/* 803437A4 00340704 38 63 FF FF */ addi r3, r3, -1 +/* 803437A8 00340708 38 00 00 09 */ li r0, 9 +/* 803437AC 0034070C 90 7C 00 04 */ stw r3, 4(r28) +/* 803437B0 00340710 7F DD F3 78 */ mr r29, r30 +/* 803437B4 00340714 80 7C 00 08 */ lwz r3, 8(r28) +/* 803437B8 00340718 38 63 00 01 */ addi r3, r3, 1 +/* 803437BC 0034071C 90 7C 00 08 */ stw r3, 8(r28) +/* 803437C0 00340720 80 9C 00 00 */ lwz r4, 0(r28) +/* 803437C4 00340724 38 64 00 01 */ addi r3, r4, 1 +/* 803437C8 00340728 90 7C 00 00 */ stw r3, 0(r28) +/* 803437CC 0034072C 88 84 00 00 */ lbz r4, 0(r4) +/* 803437D0 00340730 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803437D4 00340734 54 84 C0 0E */ slwi r4, r4, 0x18 +/* 803437D8 00340738 90 83 00 08 */ stw r4, 8(r3) +/* 803437DC 0034073C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803437E0 00340740 90 03 00 00 */ stw r0, 0(r3) +/* 803437E4 00340744 80 7C 00 04 */ lwz r3, 4(r28) +/* 803437E8 00340748 28 03 00 00 */ cmplwi r3, 0 +/* 803437EC 0034074C 40 82 00 0C */ bne lbl_803437F8 +/* 803437F0 00340750 7F A3 EB 78 */ mr r3, r29 +/* 803437F4 00340754 48 00 01 4C */ b lbl_80343940 +lbl_803437F8: +/* 803437F8 00340758 38 63 FF FF */ addi r3, r3, -1 +/* 803437FC 0034075C 38 00 00 0A */ li r0, 0xa +/* 80343800 00340760 90 7C 00 04 */ stw r3, 4(r28) +/* 80343804 00340764 7F DD F3 78 */ mr r29, r30 +/* 80343808 00340768 80 7C 00 08 */ lwz r3, 8(r28) +/* 8034380C 0034076C 38 63 00 01 */ addi r3, r3, 1 +/* 80343810 00340770 90 7C 00 08 */ stw r3, 8(r28) +/* 80343814 00340774 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343818 00340778 38 64 00 01 */ addi r3, r4, 1 +/* 8034381C 0034077C 90 7C 00 00 */ stw r3, 0(r28) +/* 80343820 00340780 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343824 00340784 88 64 00 00 */ lbz r3, 0(r4) +/* 80343828 00340788 80 85 00 08 */ lwz r4, 8(r5) +/* 8034382C 0034078C 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80343830 00340790 7C 64 1A 14 */ add r3, r4, r3 +/* 80343834 00340794 90 65 00 08 */ stw r3, 8(r5) +/* 80343838 00340798 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034383C 0034079C 90 03 00 00 */ stw r0, 0(r3) +/* 80343840 003407A0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343844 003407A4 28 03 00 00 */ cmplwi r3, 0 +/* 80343848 003407A8 40 82 00 0C */ bne lbl_80343854 +/* 8034384C 003407AC 7F A3 EB 78 */ mr r3, r29 +/* 80343850 003407B0 48 00 00 F0 */ b lbl_80343940 +lbl_80343854: +/* 80343854 003407B4 38 63 FF FF */ addi r3, r3, -1 +/* 80343858 003407B8 38 00 00 0B */ li r0, 0xb +/* 8034385C 003407BC 90 7C 00 04 */ stw r3, 4(r28) +/* 80343860 003407C0 7F DD F3 78 */ mr r29, r30 +/* 80343864 003407C4 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343868 003407C8 38 63 00 01 */ addi r3, r3, 1 +/* 8034386C 003407CC 90 7C 00 08 */ stw r3, 8(r28) +/* 80343870 003407D0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343874 003407D4 38 64 00 01 */ addi r3, r4, 1 +/* 80343878 003407D8 90 7C 00 00 */ stw r3, 0(r28) +/* 8034387C 003407DC 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343880 003407E0 88 64 00 00 */ lbz r3, 0(r4) +/* 80343884 003407E4 80 85 00 08 */ lwz r4, 8(r5) +/* 80343888 003407E8 54 63 40 2E */ slwi r3, r3, 8 +/* 8034388C 003407EC 7C 64 1A 14 */ add r3, r4, r3 +/* 80343890 003407F0 90 65 00 08 */ stw r3, 8(r5) +/* 80343894 003407F4 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343898 003407F8 90 03 00 00 */ stw r0, 0(r3) +/* 8034389C 003407FC 80 7C 00 04 */ lwz r3, 4(r28) +/* 803438A0 00340800 28 03 00 00 */ cmplwi r3, 0 +/* 803438A4 00340804 40 82 00 0C */ bne lbl_803438B0 +/* 803438A8 00340808 7F A3 EB 78 */ mr r3, r29 +/* 803438AC 0034080C 48 00 00 94 */ b lbl_80343940 +lbl_803438B0: +/* 803438B0 00340810 38 03 FF FF */ addi r0, r3, -1 +/* 803438B4 00340814 7F DD F3 78 */ mr r29, r30 +/* 803438B8 00340818 90 1C 00 04 */ stw r0, 4(r28) +/* 803438BC 0034081C 80 7C 00 08 */ lwz r3, 8(r28) +/* 803438C0 00340820 38 03 00 01 */ addi r0, r3, 1 +/* 803438C4 00340824 90 1C 00 08 */ stw r0, 8(r28) +/* 803438C8 00340828 80 7C 00 00 */ lwz r3, 0(r28) +/* 803438CC 0034082C 38 03 00 01 */ addi r0, r3, 1 +/* 803438D0 00340830 90 1C 00 00 */ stw r0, 0(r28) +/* 803438D4 00340834 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803438D8 00340838 88 03 00 00 */ lbz r0, 0(r3) +/* 803438DC 0034083C 80 64 00 08 */ lwz r3, 8(r4) +/* 803438E0 00340840 7C 03 02 14 */ add r0, r3, r0 +/* 803438E4 00340844 90 04 00 08 */ stw r0, 8(r4) +/* 803438E8 00340848 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803438EC 0034084C 80 64 00 04 */ lwz r3, 4(r4) +/* 803438F0 00340850 80 04 00 08 */ lwz r0, 8(r4) +/* 803438F4 00340854 7C 03 00 40 */ cmplw r3, r0 +/* 803438F8 00340858 41 82 00 2C */ beq lbl_80343924 +/* 803438FC 0034085C 38 00 00 0D */ li r0, 0xd +/* 80343900 00340860 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343904 00340864 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343908 00340868 90 04 00 00 */ stw r0, 0(r4) +/* 8034390C 0034086C 38 63 00 56 */ addi r3, r3, 0x56 +/* 80343910 00340870 38 00 00 05 */ li r0, 5 +/* 80343914 00340874 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343918 00340878 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034391C 0034087C 90 03 00 04 */ stw r0, 4(r3) +/* 80343920 00340880 4B FF FA A4 */ b lbl_803433C4 +lbl_80343924: +/* 80343924 00340884 38 00 00 0C */ li r0, 0xc +/* 80343928 00340888 90 04 00 00 */ stw r0, 0(r4) +/* 8034392C 0034088C 38 60 00 01 */ li r3, 1 +/* 80343930 00340890 48 00 00 10 */ b lbl_80343940 +/* 80343934 00340894 38 60 FF FD */ li r3, -3 +/* 80343938 00340898 48 00 00 08 */ b lbl_80343940 +lbl_8034393C: +/* 8034393C 0034089C 38 60 FF FE */ li r3, -2 +lbl_80343940: +/* 80343940 003408A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80343944 003408A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80343948 003408A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034394C 003408AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80343950 003408B0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80343954 003408B4 7C 08 03 A6 */ mtlr r0 +/* 80343958 003408B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034395C 003408BC 4E 80 00 20 */ blr + +.global inflateInit2_ +inflateInit2_: +/* 80343960 003408C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80343964 003408C4 7C 08 02 A6 */ mflr r0 +/* 80343968 003408C8 28 04 00 00 */ cmplwi r4, 0 +/* 8034396C 003408CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80343970 003408D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343974 003408D4 7C 7F 1B 78 */ mr r31, r3 +/* 80343978 003408D8 41 82 00 2C */ beq lbl_803439A4 +/* 8034397C 003408DC 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343980 003408E0 88 84 00 00 */ lbz r4, 0(r4) +/* 80343984 003408E4 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343988 003408E8 88 03 00 6B */ lbz r0, 0x6b(r3) +/* 8034398C 003408EC 7C 83 07 74 */ extsb r3, r4 +/* 80343990 003408F0 7C 00 07 74 */ extsb r0, r0 +/* 80343994 003408F4 7C 03 00 00 */ cmpw r3, r0 +/* 80343998 003408F8 40 82 00 0C */ bne lbl_803439A4 +/* 8034399C 003408FC 28 05 00 38 */ cmplwi r5, 0x38 +/* 803439A0 00340900 41 82 00 0C */ beq lbl_803439AC +lbl_803439A4: +/* 803439A4 00340904 38 60 FF FA */ li r3, -6 +/* 803439A8 00340908 48 00 01 84 */ b lbl_80343B2C +lbl_803439AC: +/* 803439AC 0034090C 28 1F 00 00 */ cmplwi r31, 0 +/* 803439B0 00340910 40 82 00 0C */ bne lbl_803439BC +/* 803439B4 00340914 38 60 FF FE */ li r3, -2 +/* 803439B8 00340918 48 00 01 74 */ b lbl_80343B2C +lbl_803439BC: +/* 803439BC 0034091C 38 80 00 00 */ li r4, 0 +/* 803439C0 00340920 90 9F 00 18 */ stw r4, 0x18(r31) +/* 803439C4 00340924 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 803439C8 00340928 28 00 00 00 */ cmplwi r0, 0 +/* 803439CC 0034092C 40 82 00 14 */ bne lbl_803439E0 +/* 803439D0 00340930 3C 60 80 34 */ lis r3, zcalloc@ha +/* 803439D4 00340934 38 03 45 C0 */ addi r0, r3, zcalloc@l +/* 803439D8 00340938 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803439DC 0034093C 90 9F 00 28 */ stw r4, 0x28(r31) +lbl_803439E0: +/* 803439E0 00340940 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 803439E4 00340944 28 00 00 00 */ cmplwi r0, 0 +/* 803439E8 00340948 40 82 00 10 */ bne lbl_803439F8 +/* 803439EC 0034094C 3C 60 80 34 */ lis r3, zcfree@ha +/* 803439F0 00340950 38 03 45 8C */ addi r0, r3, zcfree@l +/* 803439F4 00340954 90 1F 00 24 */ stw r0, 0x24(r31) +lbl_803439F8: +/* 803439F8 00340958 81 9F 00 20 */ lwz r12, 0x20(r31) +/* 803439FC 0034095C 38 80 00 01 */ li r4, 1 +/* 80343A00 00340960 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80343A04 00340964 38 A0 00 18 */ li r5, 0x18 +/* 80343A08 00340968 7D 89 03 A6 */ mtctr r12 +/* 80343A0C 0034096C 4E 80 04 21 */ bctrl +/* 80343A10 00340970 28 03 00 00 */ cmplwi r3, 0 +/* 80343A14 00340974 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80343A18 00340978 40 82 00 0C */ bne lbl_80343A24 +/* 80343A1C 0034097C 38 60 FF FC */ li r3, -4 +/* 80343A20 00340980 48 00 01 0C */ b lbl_80343B2C +lbl_80343A24: +/* 80343A24 00340984 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343A28 00340988 38 C0 00 00 */ li r6, 0 +/* 80343A2C 0034098C 38 00 00 0F */ li r0, 0xf +/* 80343A30 00340990 3C 60 80 34 */ lis r3, adler32@ha +/* 80343A34 00340994 90 C4 00 14 */ stw r6, 0x14(r4) +/* 80343A38 00340998 38 83 11 20 */ addi r4, r3, adler32@l +/* 80343A3C 0034099C 7F E3 FB 78 */ mr r3, r31 +/* 80343A40 003409A0 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80343A44 003409A4 90 C5 00 0C */ stw r6, 0xc(r5) +/* 80343A48 003409A8 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80343A4C 003409AC 90 05 00 10 */ stw r0, 0x10(r5) +/* 80343A50 003409B0 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80343A54 003409B4 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80343A58 003409B8 2C 00 00 00 */ cmpwi r0, 0 +/* 80343A5C 003409BC 41 82 00 08 */ beq lbl_80343A64 +/* 80343A60 003409C0 7C C4 33 78 */ mr r4, r6 +lbl_80343A64: +/* 80343A64 003409C4 3C A0 00 01 */ lis r5, 0x00008000@ha +/* 80343A68 003409C8 38 A5 80 00 */ addi r5, r5, 0x00008000@l +/* 80343A6C 003409CC 4B FF E7 01 */ bl inflate_blocks_new +/* 80343A70 003409D0 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343A74 003409D4 28 03 00 00 */ cmplwi r3, 0 +/* 80343A78 003409D8 90 64 00 14 */ stw r3, 0x14(r4) +/* 80343A7C 003409DC 40 82 00 5C */ bne lbl_80343AD8 +/* 80343A80 003409E0 28 1F 00 00 */ cmplwi r31, 0 +/* 80343A84 003409E4 41 82 00 4C */ beq lbl_80343AD0 +/* 80343A88 003409E8 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80343A8C 003409EC 28 03 00 00 */ cmplwi r3, 0 +/* 80343A90 003409F0 41 82 00 40 */ beq lbl_80343AD0 +/* 80343A94 003409F4 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80343A98 003409F8 28 00 00 00 */ cmplwi r0, 0 +/* 80343A9C 003409FC 41 82 00 34 */ beq lbl_80343AD0 +/* 80343AA0 00340A00 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80343AA4 00340A04 28 03 00 00 */ cmplwi r3, 0 +/* 80343AA8 00340A08 41 82 00 0C */ beq lbl_80343AB4 +/* 80343AAC 00340A0C 7F E4 FB 78 */ mr r4, r31 +/* 80343AB0 00340A10 4B FF D7 F5 */ bl inflate_blocks_free +lbl_80343AB4: +/* 80343AB4 00340A14 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80343AB8 00340A18 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80343ABC 00340A1C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343AC0 00340A20 7D 89 03 A6 */ mtctr r12 +/* 80343AC4 00340A24 4E 80 04 21 */ bctrl +/* 80343AC8 00340A28 38 00 00 00 */ li r0, 0 +/* 80343ACC 00340A2C 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80343AD0: +/* 80343AD0 00340A30 38 60 FF FC */ li r3, -4 +/* 80343AD4 00340A34 48 00 00 58 */ b lbl_80343B2C +lbl_80343AD8: +/* 80343AD8 00340A38 28 1F 00 00 */ cmplwi r31, 0 +/* 80343ADC 00340A3C 41 82 00 4C */ beq lbl_80343B28 +/* 80343AE0 00340A40 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80343AE4 00340A44 28 00 00 00 */ cmplwi r0, 0 +/* 80343AE8 00340A48 41 82 00 40 */ beq lbl_80343B28 +/* 80343AEC 00340A4C 38 60 00 00 */ li r3, 0 +/* 80343AF0 00340A50 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80343AF4 00340A54 90 7F 00 08 */ stw r3, 8(r31) +/* 80343AF8 00340A58 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80343AFC 00340A5C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343B00 00340A60 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80343B04 00340A64 2C 00 00 00 */ cmpwi r0, 0 +/* 80343B08 00340A68 41 82 00 08 */ beq lbl_80343B10 +/* 80343B0C 00340A6C 38 60 00 07 */ li r3, 7 +lbl_80343B10: +/* 80343B10 00340A70 90 64 00 00 */ stw r3, 0(r4) +/* 80343B14 00340A74 7F E4 FB 78 */ mr r4, r31 +/* 80343B18 00340A78 38 A0 00 00 */ li r5, 0 +/* 80343B1C 00340A7C 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80343B20 00340A80 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80343B24 00340A84 4B FF E7 E9 */ bl inflate_blocks_reset +lbl_80343B28: +/* 80343B28 00340A88 38 60 00 00 */ li r3, 0 +lbl_80343B2C: +/* 80343B2C 00340A8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80343B30 00340A90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80343B34 00340A94 7C 08 03 A6 */ mtlr r0 +/* 80343B38 00340A98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80343B3C 00340A9C 4E 80 00 20 */ blr + +.global inflateEnd +inflateEnd: +/* 80343B40 00340AA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80343B44 00340AA4 7C 08 02 A6 */ mflr r0 +/* 80343B48 00340AA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80343B4C 00340AAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343B50 00340AB0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80343B54 00340AB4 41 82 00 1C */ beq lbl_80343B70 +/* 80343B58 00340AB8 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80343B5C 00340ABC 28 03 00 00 */ cmplwi r3, 0 +/* 80343B60 00340AC0 41 82 00 10 */ beq lbl_80343B70 +/* 80343B64 00340AC4 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80343B68 00340AC8 28 00 00 00 */ cmplwi r0, 0 +/* 80343B6C 00340ACC 40 82 00 0C */ bne lbl_80343B78 +lbl_80343B70: +/* 80343B70 00340AD0 38 60 FF FE */ li r3, -2 +/* 80343B74 00340AD4 48 00 00 38 */ b lbl_80343BAC +lbl_80343B78: +/* 80343B78 00340AD8 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80343B7C 00340ADC 28 03 00 00 */ cmplwi r3, 0 +/* 80343B80 00340AE0 41 82 00 0C */ beq lbl_80343B8C +/* 80343B84 00340AE4 7F E4 FB 78 */ mr r4, r31 +/* 80343B88 00340AE8 4B FF D7 1D */ bl inflate_blocks_free +lbl_80343B8C: +/* 80343B8C 00340AEC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80343B90 00340AF0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80343B94 00340AF4 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343B98 00340AF8 7D 89 03 A6 */ mtctr r12 +/* 80343B9C 00340AFC 4E 80 04 21 */ bctrl +/* 80343BA0 00340B00 38 00 00 00 */ li r0, 0 +/* 80343BA4 00340B04 38 60 00 00 */ li r3, 0 +/* 80343BA8 00340B08 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80343BAC: +/* 80343BAC 00340B0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80343BB0 00340B10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80343BB4 00340B14 7C 08 03 A6 */ mtlr r0 +/* 80343BB8 00340B18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80343BBC 00340B1C 4E 80 00 20 */ blr + +.global inflate_trees_fixed +inflate_trees_fixed: +/* 80343BC0 00340B20 80 0D 9D 58 */ lwz r0, lbl_805A8918@sda21(r13) +/* 80343BC4 00340B24 3D 00 80 3F */ lis r8, lbl_803EE4C8@ha +/* 80343BC8 00340B28 3C E0 80 3F */ lis r7, lbl_803EF4C8@ha +/* 80343BCC 00340B2C 90 03 00 00 */ stw r0, 0(r3) +/* 80343BD0 00340B30 39 08 E4 C8 */ addi r8, r8, lbl_803EE4C8@l +/* 80343BD4 00340B34 38 07 F4 C8 */ addi r0, r7, lbl_803EF4C8@l +/* 80343BD8 00340B38 38 60 00 00 */ li r3, 0 +/* 80343BDC 00340B3C 80 ED 9D 5C */ lwz r7, lbl_805A891C@sda21(r13) +/* 80343BE0 00340B40 90 E4 00 00 */ stw r7, 0(r4) +/* 80343BE4 00340B44 91 05 00 00 */ stw r8, 0(r5) +/* 80343BE8 00340B48 90 06 00 00 */ stw r0, 0(r6) +/* 80343BEC 00340B4C 4E 80 00 20 */ blr + +.global inflate_trees_dynamic +inflate_trees_dynamic: +/* 80343BF0 00340B50 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80343BF4 00340B54 7C 08 02 A6 */ mflr r0 +/* 80343BF8 00340B58 3D 60 80 3D */ lis r11, lbl_803D7C50@ha +/* 80343BFC 00340B5C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80343C00 00340B60 38 00 00 00 */ li r0, 0 +/* 80343C04 00340B64 BE A1 00 24 */ stmw r21, 0x24(r1) +/* 80343C08 00340B68 7C 9B 23 78 */ mr r27, r4 +/* 80343C0C 00340B6C 7C BC 2B 78 */ mr r28, r5 +/* 80343C10 00340B70 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80343C14 00340B74 7C 7A 1B 78 */ mr r26, r3 +/* 80343C18 00340B78 7C D5 33 78 */ mr r21, r6 +/* 80343C1C 00340B7C 7C FD 3B 78 */ mr r29, r7 +/* 80343C20 00340B80 7D 18 43 78 */ mr r24, r8 +/* 80343C24 00340B84 7D 36 4B 78 */ mr r22, r9 +/* 80343C28 00340B88 7D 57 53 78 */ mr r23, r10 +/* 80343C2C 00340B8C 3B 2B 7C 50 */ addi r25, r11, lbl_803D7C50@l +/* 80343C30 00340B90 38 80 01 20 */ li r4, 0x120 +/* 80343C34 00340B94 38 A0 00 04 */ li r5, 4 +/* 80343C38 00340B98 90 01 00 10 */ stw r0, 0x10(r1) +/* 80343C3C 00340B9C 81 9E 00 20 */ lwz r12, 0x20(r30) +/* 80343C40 00340BA0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343C44 00340BA4 7D 89 03 A6 */ mtctr r12 +/* 80343C48 00340BA8 4E 80 04 21 */ bctrl +/* 80343C4C 00340BAC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80343C50 00340BB0 40 82 00 0C */ bne lbl_80343C5C +/* 80343C54 00340BB4 38 60 FF FC */ li r3, -4 +/* 80343C58 00340BB8 48 00 01 74 */ b lbl_80343DCC +lbl_80343C5C: +/* 80343C5C 00340BBC 38 01 00 10 */ addi r0, r1, 0x10 +/* 80343C60 00340BC0 7F 83 E3 78 */ mr r3, r28 +/* 80343C64 00340BC4 90 01 00 08 */ stw r0, 8(r1) +/* 80343C68 00340BC8 7F 44 D3 78 */ mr r4, r26 +/* 80343C6C 00340BCC 7F 08 C3 78 */ mr r8, r24 +/* 80343C70 00340BD0 7E A9 AB 78 */ mr r9, r21 +/* 80343C74 00340BD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343C78 00340BD8 7E EA BB 78 */ mr r10, r23 +/* 80343C7C 00340BDC 38 D9 00 30 */ addi r6, r25, 0x30 +/* 80343C80 00340BE0 38 F9 00 AC */ addi r7, r25, 0xac +/* 80343C84 00340BE4 38 A0 01 01 */ li r5, 0x101 +/* 80343C88 00340BE8 48 00 02 51 */ bl huft_build +/* 80343C8C 00340BEC 7C 78 1B 79 */ or. r24, r3, r3 +/* 80343C90 00340BF0 40 82 00 10 */ bne lbl_80343CA0 +/* 80343C94 00340BF4 80 15 00 00 */ lwz r0, 0(r21) +/* 80343C98 00340BF8 28 00 00 00 */ cmplwi r0, 0 +/* 80343C9C 00340BFC 40 82 00 54 */ bne lbl_80343CF0 +lbl_80343CA0: +/* 80343CA0 00340C00 2C 18 FF FD */ cmpwi r24, -3 +/* 80343CA4 00340C04 40 82 00 14 */ bne lbl_80343CB8 +/* 80343CA8 00340C08 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343CAC 00340C0C 38 03 7E 68 */ addi r0, r3, lbl_803D7E68@l +/* 80343CB0 00340C10 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80343CB4 00340C14 48 00 00 20 */ b lbl_80343CD4 +lbl_80343CB8: +/* 80343CB8 00340C18 2C 18 FF FC */ cmpwi r24, -4 +/* 80343CBC 00340C1C 41 82 00 18 */ beq lbl_80343CD4 +/* 80343CC0 00340C20 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343CC4 00340C24 3B 00 FF FD */ li r24, -3 +/* 80343CC8 00340C28 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343CCC 00340C2C 38 03 00 23 */ addi r0, r3, 0x23 +/* 80343CD0 00340C30 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80343CD4: +/* 80343CD4 00340C34 81 9E 00 24 */ lwz r12, 0x24(r30) +/* 80343CD8 00340C38 7F E4 FB 78 */ mr r4, r31 +/* 80343CDC 00340C3C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343CE0 00340C40 7D 89 03 A6 */ mtctr r12 +/* 80343CE4 00340C44 4E 80 04 21 */ bctrl +/* 80343CE8 00340C48 7F 03 C3 78 */ mr r3, r24 +/* 80343CEC 00340C4C 48 00 00 E0 */ b lbl_80343DCC +lbl_80343CF0: +/* 80343CF0 00340C50 38 61 00 10 */ addi r3, r1, 0x10 +/* 80343CF4 00340C54 57 40 10 3A */ slwi r0, r26, 2 +/* 80343CF8 00340C58 90 61 00 08 */ stw r3, 8(r1) +/* 80343CFC 00340C5C 7F 64 DB 78 */ mr r4, r27 +/* 80343D00 00340C60 7E C8 B3 78 */ mr r8, r22 +/* 80343D04 00340C64 7F A9 EB 78 */ mr r9, r29 +/* 80343D08 00340C68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343D0C 00340C6C 7E EA BB 78 */ mr r10, r23 +/* 80343D10 00340C70 7C 7C 02 14 */ add r3, r28, r0 +/* 80343D14 00340C74 38 D9 01 28 */ addi r6, r25, 0x128 +/* 80343D18 00340C78 38 F9 01 A0 */ addi r7, r25, 0x1a0 +/* 80343D1C 00340C7C 38 A0 00 00 */ li r5, 0 +/* 80343D20 00340C80 48 00 01 B9 */ bl huft_build +/* 80343D24 00340C84 7C 79 1B 79 */ or. r25, r3, r3 +/* 80343D28 00340C88 40 82 00 18 */ bne lbl_80343D40 +/* 80343D2C 00340C8C 80 1D 00 00 */ lwz r0, 0(r29) +/* 80343D30 00340C90 28 00 00 00 */ cmplwi r0, 0 +/* 80343D34 00340C94 40 82 00 80 */ bne lbl_80343DB4 +/* 80343D38 00340C98 28 1A 01 01 */ cmplwi r26, 0x101 +/* 80343D3C 00340C9C 40 81 00 78 */ ble lbl_80343DB4 +lbl_80343D40: +/* 80343D40 00340CA0 2C 19 FF FD */ cmpwi r25, -3 +/* 80343D44 00340CA4 40 82 00 18 */ bne lbl_80343D5C +/* 80343D48 00340CA8 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343D4C 00340CAC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343D50 00340CB0 38 03 00 42 */ addi r0, r3, 0x42 +/* 80343D54 00340CB4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80343D58 00340CB8 48 00 00 40 */ b lbl_80343D98 +lbl_80343D5C: +/* 80343D5C 00340CBC 2C 19 FF FB */ cmpwi r25, -5 +/* 80343D60 00340CC0 40 82 00 1C */ bne lbl_80343D7C +/* 80343D64 00340CC4 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343D68 00340CC8 3B 20 FF FD */ li r25, -3 +/* 80343D6C 00340CCC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343D70 00340CD0 38 03 00 5F */ addi r0, r3, 0x5f +/* 80343D74 00340CD4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80343D78 00340CD8 48 00 00 20 */ b lbl_80343D98 +lbl_80343D7C: +/* 80343D7C 00340CDC 2C 19 FF FC */ cmpwi r25, -4 +/* 80343D80 00340CE0 41 82 00 18 */ beq lbl_80343D98 +/* 80343D84 00340CE4 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343D88 00340CE8 3B 20 FF FD */ li r25, -3 +/* 80343D8C 00340CEC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343D90 00340CF0 38 03 00 78 */ addi r0, r3, 0x78 +/* 80343D94 00340CF4 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80343D98: +/* 80343D98 00340CF8 81 9E 00 24 */ lwz r12, 0x24(r30) +/* 80343D9C 00340CFC 7F E4 FB 78 */ mr r4, r31 +/* 80343DA0 00340D00 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343DA4 00340D04 7D 89 03 A6 */ mtctr r12 +/* 80343DA8 00340D08 4E 80 04 21 */ bctrl +/* 80343DAC 00340D0C 7F 23 CB 78 */ mr r3, r25 +/* 80343DB0 00340D10 48 00 00 1C */ b lbl_80343DCC +lbl_80343DB4: +/* 80343DB4 00340D14 81 9E 00 24 */ lwz r12, 0x24(r30) +/* 80343DB8 00340D18 7F E4 FB 78 */ mr r4, r31 +/* 80343DBC 00340D1C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343DC0 00340D20 7D 89 03 A6 */ mtctr r12 +/* 80343DC4 00340D24 4E 80 04 21 */ bctrl +/* 80343DC8 00340D28 38 60 00 00 */ li r3, 0 +lbl_80343DCC: +/* 80343DCC 00340D2C BA A1 00 24 */ lmw r21, 0x24(r1) +/* 80343DD0 00340D30 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80343DD4 00340D34 7C 08 03 A6 */ mtlr r0 +/* 80343DD8 00340D38 38 21 00 50 */ addi r1, r1, 0x50 +/* 80343DDC 00340D3C 4E 80 00 20 */ blr + +.global inflate_trees_bits +inflate_trees_bits: +/* 80343DE0 00340D40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80343DE4 00340D44 7C 08 02 A6 */ mflr r0 +/* 80343DE8 00340D48 90 01 00 34 */ stw r0, 0x34(r1) +/* 80343DEC 00340D4C 38 00 00 00 */ li r0, 0 +/* 80343DF0 00340D50 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80343DF4 00340D54 7C 9B 23 78 */ mr r27, r4 +/* 80343DF8 00340D58 7C BC 2B 78 */ mr r28, r5 +/* 80343DFC 00340D5C 7C FD 3B 78 */ mr r29, r7 +/* 80343E00 00340D60 7C 7A 1B 78 */ mr r26, r3 +/* 80343E04 00340D64 7C DF 33 78 */ mr r31, r6 +/* 80343E08 00340D68 38 80 00 13 */ li r4, 0x13 +/* 80343E0C 00340D6C 38 A0 00 04 */ li r5, 4 +/* 80343E10 00340D70 90 01 00 10 */ stw r0, 0x10(r1) +/* 80343E14 00340D74 81 87 00 20 */ lwz r12, 0x20(r7) +/* 80343E18 00340D78 80 67 00 28 */ lwz r3, 0x28(r7) +/* 80343E1C 00340D7C 7D 89 03 A6 */ mtctr r12 +/* 80343E20 00340D80 4E 80 04 21 */ bctrl +/* 80343E24 00340D84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80343E28 00340D88 40 82 00 0C */ bne lbl_80343E34 +/* 80343E2C 00340D8C 38 60 FF FC */ li r3, -4 +/* 80343E30 00340D90 48 00 00 94 */ b lbl_80343EC4 +lbl_80343E34: +/* 80343E34 00340D94 38 01 00 10 */ addi r0, r1, 0x10 +/* 80343E38 00340D98 7F 43 D3 78 */ mr r3, r26 +/* 80343E3C 00340D9C 90 01 00 08 */ stw r0, 8(r1) +/* 80343E40 00340DA0 7F 88 E3 78 */ mr r8, r28 +/* 80343E44 00340DA4 7F 69 DB 78 */ mr r9, r27 +/* 80343E48 00340DA8 7F EA FB 78 */ mr r10, r31 +/* 80343E4C 00340DAC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80343E50 00340DB0 38 80 00 13 */ li r4, 0x13 +/* 80343E54 00340DB4 38 A0 00 13 */ li r5, 0x13 +/* 80343E58 00340DB8 38 C0 00 00 */ li r6, 0 +/* 80343E5C 00340DBC 38 E0 00 00 */ li r7, 0 +/* 80343E60 00340DC0 48 00 00 79 */ bl huft_build +/* 80343E64 00340DC4 7C 7F 1B 78 */ mr r31, r3 +/* 80343E68 00340DC8 2C 1F FF FD */ cmpwi r31, -3 +/* 80343E6C 00340DCC 40 82 00 18 */ bne lbl_80343E84 +/* 80343E70 00340DD0 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343E74 00340DD4 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343E78 00340DD8 38 03 00 99 */ addi r0, r3, 0x99 +/* 80343E7C 00340DDC 90 1D 00 18 */ stw r0, 0x18(r29) +/* 80343E80 00340DE0 48 00 00 2C */ b lbl_80343EAC +lbl_80343E84: +/* 80343E84 00340DE4 2C 1F FF FB */ cmpwi r31, -5 +/* 80343E88 00340DE8 41 82 00 10 */ beq lbl_80343E98 +/* 80343E8C 00340DEC 80 1B 00 00 */ lwz r0, 0(r27) +/* 80343E90 00340DF0 28 00 00 00 */ cmplwi r0, 0 +/* 80343E94 00340DF4 40 82 00 18 */ bne lbl_80343EAC +lbl_80343E98: +/* 80343E98 00340DF8 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343E9C 00340DFC 3B E0 FF FD */ li r31, -3 +/* 80343EA0 00340E00 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343EA4 00340E04 38 03 00 C1 */ addi r0, r3, 0xc1 +/* 80343EA8 00340E08 90 1D 00 18 */ stw r0, 0x18(r29) +lbl_80343EAC: +/* 80343EAC 00340E0C 81 9D 00 24 */ lwz r12, 0x24(r29) +/* 80343EB0 00340E10 7F C4 F3 78 */ mr r4, r30 +/* 80343EB4 00340E14 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80343EB8 00340E18 7D 89 03 A6 */ mtctr r12 +/* 80343EBC 00340E1C 4E 80 04 21 */ bctrl +/* 80343EC0 00340E20 7F E3 FB 78 */ mr r3, r31 +lbl_80343EC4: +/* 80343EC4 00340E24 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80343EC8 00340E28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80343ECC 00340E2C 7C 08 03 A6 */ mtlr r0 +/* 80343ED0 00340E30 38 21 00 30 */ addi r1, r1, 0x30 +/* 80343ED4 00340E34 4E 80 00 20 */ blr + +.global huft_build +huft_build: +/* 80343ED8 00340E38 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80343EDC 00340E3C 38 00 00 00 */ li r0, 0 +/* 80343EE0 00340E40 BD C1 00 D8 */ stmw r14, 0xd8(r1) +/* 80343EE4 00340E44 7C 6F 1B 78 */ mr r15, r3 +/* 80343EE8 00340E48 83 E1 01 28 */ lwz r31, 0x128(r1) +/* 80343EEC 00340E4C 7C 91 23 78 */ mr r17, r4 +/* 80343EF0 00340E50 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80343EF4 00340E54 39 81 00 8C */ addi r12, r1, 0x8c +/* 80343EF8 00340E58 82 01 01 2C */ lwz r16, 0x12c(r1) +/* 80343EFC 00340E5C 90 01 00 90 */ stw r0, 0x90(r1) +/* 80343F00 00340E60 90 01 00 94 */ stw r0, 0x94(r1) +/* 80343F04 00340E64 90 01 00 98 */ stw r0, 0x98(r1) +/* 80343F08 00340E68 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80343F0C 00340E6C 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80343F10 00340E70 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80343F14 00340E74 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80343F18 00340E78 90 01 00 AC */ stw r0, 0xac(r1) +/* 80343F1C 00340E7C 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80343F20 00340E80 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80343F24 00340E84 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80343F28 00340E88 90 01 00 BC */ stw r0, 0xbc(r1) +/* 80343F2C 00340E8C 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80343F30 00340E90 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80343F34 00340E94 90 01 00 C8 */ stw r0, 0xc8(r1) +lbl_80343F38: +/* 80343F38 00340E98 80 0F 00 00 */ lwz r0, 0(r15) +/* 80343F3C 00340E9C 36 31 FF FF */ addic. r17, r17, -1 +/* 80343F40 00340EA0 39 EF 00 04 */ addi r15, r15, 4 +/* 80343F44 00340EA4 54 0E 10 3A */ slwi r14, r0, 2 +/* 80343F48 00340EA8 7D 6C 70 2E */ lwzx r11, r12, r14 +/* 80343F4C 00340EAC 38 0B 00 01 */ addi r0, r11, 1 +/* 80343F50 00340EB0 7C 0C 71 2E */ stwx r0, r12, r14 +/* 80343F54 00340EB4 40 82 FF E4 */ bne lbl_80343F38 +/* 80343F58 00340EB8 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80343F5C 00340EBC 7C 00 20 40 */ cmplw r0, r4 +/* 80343F60 00340EC0 40 82 00 18 */ bne lbl_80343F78 +/* 80343F64 00340EC4 38 00 00 00 */ li r0, 0 +/* 80343F68 00340EC8 38 60 00 00 */ li r3, 0 +/* 80343F6C 00340ECC 90 08 00 00 */ stw r0, 0(r8) +/* 80343F70 00340ED0 90 09 00 00 */ stw r0, 0(r9) +/* 80343F74 00340ED4 48 00 04 8C */ b lbl_80344400 +lbl_80343F78: +/* 80343F78 00340ED8 38 00 00 03 */ li r0, 3 +/* 80343F7C 00340EDC 39 C1 00 90 */ addi r14, r1, 0x90 +/* 80343F80 00340EE0 81 89 00 00 */ lwz r12, 0(r9) +/* 80343F84 00340EE4 39 60 00 01 */ li r11, 1 +/* 80343F88 00340EE8 7C 09 03 A6 */ mtctr r0 +lbl_80343F8C: +/* 80343F8C 00340EEC 80 0E 00 00 */ lwz r0, 0(r14) +/* 80343F90 00340EF0 28 00 00 00 */ cmplwi r0, 0 +/* 80343F94 00340EF4 40 82 00 50 */ bne lbl_80343FE4 +/* 80343F98 00340EF8 80 0E 00 04 */ lwz r0, 4(r14) +/* 80343F9C 00340EFC 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FA0 00340F00 28 00 00 00 */ cmplwi r0, 0 +/* 80343FA4 00340F04 40 82 00 40 */ bne lbl_80343FE4 +/* 80343FA8 00340F08 80 0E 00 08 */ lwz r0, 8(r14) +/* 80343FAC 00340F0C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FB0 00340F10 28 00 00 00 */ cmplwi r0, 0 +/* 80343FB4 00340F14 40 82 00 30 */ bne lbl_80343FE4 +/* 80343FB8 00340F18 80 0E 00 0C */ lwz r0, 0xc(r14) +/* 80343FBC 00340F1C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FC0 00340F20 28 00 00 00 */ cmplwi r0, 0 +/* 80343FC4 00340F24 40 82 00 20 */ bne lbl_80343FE4 +/* 80343FC8 00340F28 80 0E 00 10 */ lwz r0, 0x10(r14) +/* 80343FCC 00340F2C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FD0 00340F30 28 00 00 00 */ cmplwi r0, 0 +/* 80343FD4 00340F34 40 82 00 10 */ bne lbl_80343FE4 +/* 80343FD8 00340F38 39 CE 00 14 */ addi r14, r14, 0x14 +/* 80343FDC 00340F3C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FE0 00340F40 42 00 FF AC */ bdnz lbl_80343F8C +lbl_80343FE4: +/* 80343FE4 00340F44 7C 0C 58 40 */ cmplw r12, r11 +/* 80343FE8 00340F48 40 80 00 08 */ bge lbl_80343FF0 +/* 80343FEC 00340F4C 7D 6C 5B 78 */ mr r12, r11 +lbl_80343FF0: +/* 80343FF0 00340F50 38 00 00 03 */ li r0, 3 +/* 80343FF4 00340F54 39 C1 00 C8 */ addi r14, r1, 0xc8 +/* 80343FF8 00340F58 39 E0 00 0F */ li r15, 0xf +/* 80343FFC 00340F5C 7C 09 03 A6 */ mtctr r0 +lbl_80344000: +/* 80344000 00340F60 80 0E 00 00 */ lwz r0, 0(r14) +/* 80344004 00340F64 28 00 00 00 */ cmplwi r0, 0 +/* 80344008 00340F68 40 82 00 50 */ bne lbl_80344058 +/* 8034400C 00340F6C 80 0E FF FC */ lwz r0, -4(r14) +/* 80344010 00340F70 39 EF FF FF */ addi r15, r15, -1 +/* 80344014 00340F74 28 00 00 00 */ cmplwi r0, 0 +/* 80344018 00340F78 40 82 00 40 */ bne lbl_80344058 +/* 8034401C 00340F7C 80 0E FF F8 */ lwz r0, -8(r14) +/* 80344020 00340F80 39 EF FF FF */ addi r15, r15, -1 +/* 80344024 00340F84 28 00 00 00 */ cmplwi r0, 0 +/* 80344028 00340F88 40 82 00 30 */ bne lbl_80344058 +/* 8034402C 00340F8C 80 0E FF F4 */ lwz r0, -0xc(r14) +/* 80344030 00340F90 39 EF FF FF */ addi r15, r15, -1 +/* 80344034 00340F94 28 00 00 00 */ cmplwi r0, 0 +/* 80344038 00340F98 40 82 00 20 */ bne lbl_80344058 +/* 8034403C 00340F9C 80 0E FF F0 */ lwz r0, -0x10(r14) +/* 80344040 00340FA0 39 EF FF FF */ addi r15, r15, -1 +/* 80344044 00340FA4 28 00 00 00 */ cmplwi r0, 0 +/* 80344048 00340FA8 40 82 00 10 */ bne lbl_80344058 +/* 8034404C 00340FAC 39 CE FF EC */ addi r14, r14, -20 +/* 80344050 00340FB0 39 EF FF FF */ addi r15, r15, -1 +/* 80344054 00340FB4 42 00 FF AC */ bdnz lbl_80344000 +lbl_80344058: +/* 80344058 00340FB8 7C 0C 78 40 */ cmplw r12, r15 +/* 8034405C 00340FBC 7D E0 7B 78 */ mr r0, r15 +/* 80344060 00340FC0 40 81 00 08 */ ble lbl_80344068 +/* 80344064 00340FC4 7D EC 7B 78 */ mr r12, r15 +lbl_80344068: +/* 80344068 00340FC8 39 C0 00 01 */ li r14, 1 +/* 8034406C 00340FCC 55 72 10 3A */ slwi r18, r11, 2 +/* 80344070 00340FD0 3A 61 00 8C */ addi r19, r1, 0x8c +/* 80344074 00340FD4 7E 2B 78 50 */ subf r17, r11, r15 +/* 80344078 00340FD8 7D 9B 63 78 */ mr r27, r12 +/* 8034407C 00340FDC 91 89 00 00 */ stw r12, 0(r9) +/* 80344080 00340FE0 7D CE 58 30 */ slw r14, r14, r11 +/* 80344084 00340FE4 7E 73 92 14 */ add r19, r19, r18 +/* 80344088 00340FE8 7E 29 03 A6 */ mtctr r17 +/* 8034408C 00340FEC 7C 0B 78 40 */ cmplw r11, r15 +/* 80344090 00340FF0 40 80 00 24 */ bge lbl_803440B4 +lbl_80344094: +/* 80344094 00340FF4 81 33 00 00 */ lwz r9, 0(r19) +/* 80344098 00340FF8 7D C9 70 51 */ subf. r14, r9, r14 +/* 8034409C 00340FFC 40 80 00 0C */ bge lbl_803440A8 +/* 803440A0 00341000 38 60 FF FD */ li r3, -3 +/* 803440A4 00341004 48 00 03 5C */ b lbl_80344400 +lbl_803440A8: +/* 803440A8 00341008 55 CE 08 3C */ slwi r14, r14, 1 +/* 803440AC 0034100C 3A 73 00 04 */ addi r19, r19, 4 +/* 803440B0 00341010 42 00 FF E4 */ bdnz lbl_80344094 +lbl_803440B4: +/* 803440B4 00341014 55 F1 10 3A */ slwi r17, r15, 2 +/* 803440B8 00341018 3A 41 00 8C */ addi r18, r1, 0x8c +/* 803440BC 0034101C 7D 32 88 2E */ lwzx r9, r18, r17 +/* 803440C0 00341020 7D C9 70 51 */ subf. r14, r9, r14 +/* 803440C4 00341024 40 80 00 0C */ bge lbl_803440D0 +/* 803440C8 00341028 38 60 FF FD */ li r3, -3 +/* 803440CC 0034102C 48 00 03 34 */ b lbl_80344400 +lbl_803440D0: +/* 803440D0 00341030 7D 29 72 14 */ add r9, r9, r14 +/* 803440D4 00341034 3A 60 00 00 */ li r19, 0 +/* 803440D8 00341038 7D 32 89 2E */ stwx r9, r18, r17 +/* 803440DC 0034103C 3A 21 00 90 */ addi r17, r1, 0x90 +/* 803440E0 00341040 3A 41 00 18 */ addi r18, r1, 0x18 +/* 803440E4 00341044 92 61 00 14 */ stw r19, 0x14(r1) +/* 803440E8 00341048 48 00 00 18 */ b lbl_80344100 +lbl_803440EC: +/* 803440EC 0034104C 81 31 00 00 */ lwz r9, 0(r17) +/* 803440F0 00341050 3A 31 00 04 */ addi r17, r17, 4 +/* 803440F4 00341054 7E 73 4A 14 */ add r19, r19, r9 +/* 803440F8 00341058 92 72 00 00 */ stw r19, 0(r18) +/* 803440FC 0034105C 3A 52 00 04 */ addi r18, r18, 4 +lbl_80344100: +/* 80344100 00341060 35 EF FF FF */ addic. r15, r15, -1 +/* 80344104 00341064 40 82 FF E8 */ bne lbl_803440EC +/* 80344108 00341068 3A 21 00 10 */ addi r17, r1, 0x10 +/* 8034410C 0034106C 3A 60 00 00 */ li r19, 0 +lbl_80344110: +/* 80344110 00341070 81 23 00 00 */ lwz r9, 0(r3) +/* 80344114 00341074 38 63 00 04 */ addi r3, r3, 4 +/* 80344118 00341078 28 09 00 00 */ cmplwi r9, 0 +/* 8034411C 0034107C 41 82 00 1C */ beq lbl_80344138 +/* 80344120 00341080 55 32 10 3A */ slwi r18, r9, 2 +/* 80344124 00341084 7D 31 90 2E */ lwzx r9, r17, r18 +/* 80344128 00341088 39 E9 00 01 */ addi r15, r9, 1 +/* 8034412C 0034108C 55 29 10 3A */ slwi r9, r9, 2 +/* 80344130 00341090 7D F1 91 2E */ stwx r15, r17, r18 +/* 80344134 00341094 7E 70 49 2E */ stwx r19, r16, r9 +lbl_80344138: +/* 80344138 00341098 3A 73 00 01 */ addi r19, r19, 1 +/* 8034413C 0034109C 7C 13 20 40 */ cmplw r19, r4 +/* 80344140 003410A0 41 80 FF D0 */ blt lbl_80344110 +/* 80344144 003410A4 54 04 10 3A */ slwi r4, r0, 2 +/* 80344148 003410A8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034414C 003410AC 7C 83 20 2E */ lwzx r4, r3, r4 +/* 80344150 003410B0 3B 20 00 00 */ li r25, 0 +/* 80344154 003410B4 93 21 00 50 */ stw r25, 0x50(r1) +/* 80344158 003410B8 55 69 10 3A */ slwi r9, r11, 2 +/* 8034415C 003410BC 3B 81 00 8C */ addi r28, r1, 0x8c +/* 80344160 003410C0 54 83 10 3A */ slwi r3, r4, 2 +/* 80344164 003410C4 93 21 00 10 */ stw r25, 0x10(r1) +/* 80344168 003410C8 7E 1A 83 78 */ mr r26, r16 +/* 8034416C 003410CC 7F 37 CB 78 */ mr r23, r25 +/* 80344170 003410D0 7E 6C 00 D0 */ neg r19, r12 +/* 80344174 003410D4 7F 9C 4A 14 */ add r28, r28, r9 +/* 80344178 003410D8 7D F0 1A 14 */ add r15, r16, r3 +/* 8034417C 003410DC 3A A0 FF FF */ li r21, -1 +/* 80344180 003410E0 3A 80 00 00 */ li r20, 0 +/* 80344184 003410E4 48 00 02 48 */ b lbl_803443CC +lbl_80344188: +/* 80344188 003410E8 82 DC 00 00 */ lwz r22, 0(r28) +/* 8034418C 003410EC 38 6B FF FF */ addi r3, r11, -1 +/* 80344190 003410F0 38 80 00 01 */ li r4, 1 +/* 80344194 003410F4 7C 90 18 30 */ slw r16, r4, r3 +/* 80344198 003410F8 7E C9 03 A6 */ mtctr r22 +/* 8034419C 003410FC 28 16 00 00 */ cmplwi r22, 0 +/* 803441A0 00341100 41 82 02 24 */ beq lbl_803443C4 +lbl_803441A4: +/* 803441A4 00341104 56 A3 10 3A */ slwi r3, r21, 2 +/* 803441A8 00341108 3B C1 00 50 */ addi r30, r1, 0x50 +/* 803441AC 0034110C 3B A1 00 10 */ addi r29, r1, 0x10 +/* 803441B0 00341110 39 36 00 00 */ addi r9, r22, 0 +/* 803441B4 00341114 7F DE 1A 14 */ add r30, r30, r3 +/* 803441B8 00341118 3A D6 FF FF */ addi r22, r22, -1 +/* 803441BC 0034111C 7F BD 1A 14 */ add r29, r29, r3 +/* 803441C0 00341120 48 00 00 F0 */ b lbl_803442B0 +lbl_803441C4: +/* 803441C4 00341124 7E 73 62 14 */ add r19, r19, r12 +/* 803441C8 00341128 3B DE 00 04 */ addi r30, r30, 4 +/* 803441CC 0034112C 7C 73 00 50 */ subf r3, r19, r0 +/* 803441D0 00341130 3B BD 00 04 */ addi r29, r29, 4 +/* 803441D4 00341134 7C 03 D8 40 */ cmplw r3, r27 +/* 803441D8 00341138 3A B5 00 01 */ addi r21, r21, 1 +/* 803441DC 0034113C 40 81 00 08 */ ble lbl_803441E4 +/* 803441E0 00341140 7F 63 DB 78 */ mr r3, r27 +lbl_803441E4: +/* 803441E4 00341144 7E 33 58 50 */ subf r17, r19, r11 +/* 803441E8 00341148 38 80 00 01 */ li r4, 1 +/* 803441EC 0034114C 7C 92 88 30 */ slw r18, r4, r17 +/* 803441F0 00341150 7C 12 48 40 */ cmplw r18, r9 +/* 803441F4 00341154 40 81 00 3C */ ble lbl_80344230 +/* 803441F8 00341158 7C 11 18 40 */ cmplw r17, r3 +/* 803441FC 0034115C 7F 84 E3 78 */ mr r4, r28 +/* 80344200 00341160 7E 49 90 50 */ subf r18, r9, r18 +/* 80344204 00341164 40 80 00 2C */ bge lbl_80344230 +/* 80344208 00341168 48 00 00 1C */ b lbl_80344224 +lbl_8034420C: +/* 8034420C 0034116C 86 84 00 04 */ lwzu r20, 4(r4) +/* 80344210 00341170 56 52 08 3C */ slwi r18, r18, 1 +/* 80344214 00341174 7C 12 A0 40 */ cmplw r18, r20 +/* 80344218 00341178 40 81 00 18 */ ble lbl_80344230 +/* 8034421C 0034117C 82 84 00 00 */ lwz r20, 0(r4) +/* 80344220 00341180 7E 54 90 50 */ subf r18, r20, r18 +lbl_80344224: +/* 80344224 00341184 3A 31 00 01 */ addi r17, r17, 1 +/* 80344228 00341188 7C 11 18 40 */ cmplw r17, r3 +/* 8034422C 0034118C 41 80 FF E0 */ blt lbl_8034420C +lbl_80344230: +/* 80344230 00341190 38 60 00 01 */ li r3, 1 +/* 80344234 00341194 80 9F 00 00 */ lwz r4, 0(r31) +/* 80344238 00341198 7C 77 88 30 */ slw r23, r3, r17 +/* 8034423C 0034119C 7C 64 BA 14 */ add r3, r4, r23 +/* 80344240 003411A0 28 03 05 A0 */ cmplwi r3, 0x5a0 +/* 80344244 003411A4 40 81 00 0C */ ble lbl_80344250 +/* 80344248 003411A8 38 60 FF FC */ li r3, -4 +/* 8034424C 003411AC 48 00 01 B4 */ b lbl_80344400 +lbl_80344250: +/* 80344250 003411B0 54 84 18 38 */ slwi r4, r4, 3 +/* 80344254 003411B4 2C 15 00 00 */ cmpwi r21, 0 +/* 80344258 003411B8 7E 8A 22 14 */ add r20, r10, r4 +/* 8034425C 003411BC 90 7F 00 00 */ stw r3, 0(r31) +/* 80344260 003411C0 92 9E 00 00 */ stw r20, 0(r30) +/* 80344264 003411C4 41 82 00 48 */ beq lbl_803442AC +/* 80344268 003411C8 7C 6C 98 50 */ subf r3, r12, r19 +/* 8034426C 003411CC 80 9E FF FC */ lwz r4, -4(r30) +/* 80344270 003411D0 7F 38 1C 30 */ srw r24, r25, r3 +/* 80344274 003411D4 9A 21 00 08 */ stb r17, 8(r1) +/* 80344278 003411D8 7C 64 A0 50 */ subf r3, r4, r20 +/* 8034427C 003411DC 99 81 00 09 */ stb r12, 9(r1) +/* 80344280 003411E0 57 11 18 38 */ slwi r17, r24, 3 +/* 80344284 003411E4 7C 63 1E 70 */ srawi r3, r3, 3 +/* 80344288 003411E8 7C 63 01 94 */ addze r3, r3 +/* 8034428C 003411EC 82 41 00 08 */ lwz r18, 8(r1) +/* 80344290 003411F0 7C 84 8A 14 */ add r4, r4, r17 +/* 80344294 003411F4 93 3D 00 00 */ stw r25, 0(r29) +/* 80344298 003411F8 7C 78 18 50 */ subf r3, r24, r3 +/* 8034429C 003411FC 92 44 00 00 */ stw r18, 0(r4) +/* 803442A0 00341200 90 61 00 0C */ stw r3, 0xc(r1) +/* 803442A4 00341204 90 64 00 04 */ stw r3, 4(r4) +/* 803442A8 00341208 48 00 00 08 */ b lbl_803442B0 +lbl_803442AC: +/* 803442AC 0034120C 92 88 00 00 */ stw r20, 0(r8) +lbl_803442B0: +/* 803442B0 00341210 7C 73 62 14 */ add r3, r19, r12 +/* 803442B4 00341214 7C 0B 18 00 */ cmpw r11, r3 +/* 803442B8 00341218 41 81 FF 0C */ bgt lbl_803441C4 +/* 803442BC 0034121C 7C 73 58 50 */ subf r3, r19, r11 +/* 803442C0 00341220 7C 1A 78 40 */ cmplw r26, r15 +/* 803442C4 00341224 98 61 00 09 */ stb r3, 9(r1) +/* 803442C8 00341228 41 80 00 10 */ blt lbl_803442D8 +/* 803442CC 0034122C 38 80 00 C0 */ li r4, 0xc0 +/* 803442D0 00341230 98 81 00 08 */ stb r4, 8(r1) +/* 803442D4 00341234 48 00 00 54 */ b lbl_80344328 +lbl_803442D8: +/* 803442D8 00341238 82 3A 00 00 */ lwz r17, 0(r26) +/* 803442DC 0034123C 7C 11 28 40 */ cmplw r17, r5 +/* 803442E0 00341240 40 80 00 28 */ bge lbl_80344308 +/* 803442E4 00341244 39 20 01 00 */ li r9, 0x100 +/* 803442E8 00341248 38 80 00 60 */ li r4, 0x60 +/* 803442EC 0034124C 7D 29 88 10 */ subfc r9, r9, r17 +/* 803442F0 00341250 92 21 00 0C */ stw r17, 0xc(r1) +/* 803442F4 00341254 7D 29 49 10 */ subfe r9, r9, r9 +/* 803442F8 00341258 3B 5A 00 04 */ addi r26, r26, 4 +/* 803442FC 0034125C 7C 84 48 78 */ andc r4, r4, r9 +/* 80344300 00341260 98 81 00 08 */ stb r4, 8(r1) +/* 80344304 00341264 48 00 00 24 */ b lbl_80344328 +lbl_80344308: +/* 80344308 00341268 7C 85 88 50 */ subf r4, r5, r17 +/* 8034430C 0034126C 3B 5A 00 04 */ addi r26, r26, 4 +/* 80344310 00341270 54 84 10 3A */ slwi r4, r4, 2 +/* 80344314 00341274 7D 27 20 2E */ lwzx r9, r7, r4 +/* 80344318 00341278 7C 86 20 2E */ lwzx r4, r6, r4 +/* 8034431C 0034127C 39 29 00 50 */ addi r9, r9, 0x50 +/* 80344320 00341280 99 21 00 08 */ stb r9, 8(r1) +/* 80344324 00341284 90 81 00 0C */ stw r4, 0xc(r1) +lbl_80344328: +/* 80344328 00341288 7F 32 9C 30 */ srw r18, r25, r19 +/* 8034432C 0034128C 38 80 00 01 */ li r4, 1 +/* 80344330 00341290 7C 98 18 30 */ slw r24, r4, r3 +/* 80344334 00341294 80 81 00 08 */ lwz r4, 8(r1) +/* 80344338 00341298 56 49 18 38 */ slwi r9, r18, 3 +/* 8034433C 0034129C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80344340 003412A0 7D 34 4A 14 */ add r9, r20, r9 +/* 80344344 003412A4 57 11 18 38 */ slwi r17, r24, 3 +/* 80344348 003412A8 48 00 00 14 */ b lbl_8034435C +lbl_8034434C: +/* 8034434C 003412AC 90 89 00 00 */ stw r4, 0(r9) +/* 80344350 003412B0 7E 52 C2 14 */ add r18, r18, r24 +/* 80344354 003412B4 90 69 00 04 */ stw r3, 4(r9) +/* 80344358 003412B8 7D 29 8A 14 */ add r9, r9, r17 +lbl_8034435C: +/* 8034435C 003412BC 7C 12 B8 40 */ cmplw r18, r23 +/* 80344360 003412C0 41 80 FF EC */ blt lbl_8034434C +/* 80344364 003412C4 7E 11 83 78 */ mr r17, r16 +/* 80344368 003412C8 48 00 00 0C */ b lbl_80344374 +lbl_8034436C: +/* 8034436C 003412CC 7F 39 8A 78 */ xor r25, r25, r17 +/* 80344370 003412D0 56 31 F8 7E */ srwi r17, r17, 1 +lbl_80344374: +/* 80344374 003412D4 7F 23 88 39 */ and. r3, r25, r17 +/* 80344378 003412D8 40 82 FF F4 */ bne lbl_8034436C +/* 8034437C 003412DC 38 80 00 01 */ li r4, 1 +/* 80344380 003412E0 56 B2 10 3A */ slwi r18, r21, 2 +/* 80344384 003412E4 7C 83 98 30 */ slw r3, r4, r19 +/* 80344388 003412E8 39 21 00 10 */ addi r9, r1, 0x10 +/* 8034438C 003412EC 7F 39 8A 78 */ xor r25, r25, r17 +/* 80344390 003412F0 3A 23 FF FF */ addi r17, r3, -1 +/* 80344394 003412F4 7D 29 92 14 */ add r9, r9, r18 +/* 80344398 003412F8 48 00 00 18 */ b lbl_803443B0 +lbl_8034439C: +/* 8034439C 003412FC 7E 6C 98 50 */ subf r19, r12, r19 +/* 803443A0 00341300 3A B5 FF FF */ addi r21, r21, -1 +/* 803443A4 00341304 7C 83 98 30 */ slw r3, r4, r19 +/* 803443A8 00341308 39 29 FF FC */ addi r9, r9, -4 +/* 803443AC 0034130C 3A 23 FF FF */ addi r17, r3, -1 +lbl_803443B0: +/* 803443B0 00341310 80 69 00 00 */ lwz r3, 0(r9) +/* 803443B4 00341314 7F 31 88 38 */ and r17, r25, r17 +/* 803443B8 00341318 7C 11 18 40 */ cmplw r17, r3 +/* 803443BC 0034131C 40 82 FF E0 */ bne lbl_8034439C +/* 803443C0 00341320 42 00 FD E4 */ bdnz lbl_803441A4 +lbl_803443C4: +/* 803443C4 00341324 3B 9C 00 04 */ addi r28, r28, 4 +/* 803443C8 00341328 39 6B 00 01 */ addi r11, r11, 1 +lbl_803443CC: +/* 803443CC 0034132C 7C 0B 00 00 */ cmpw r11, r0 +/* 803443D0 00341330 40 81 FD B8 */ ble lbl_80344188 +/* 803443D4 00341334 2C 0E 00 00 */ cmpwi r14, 0 +/* 803443D8 00341338 38 80 00 00 */ li r4, 0 +/* 803443DC 0034133C 41 82 00 10 */ beq lbl_803443EC +/* 803443E0 00341340 2C 00 00 01 */ cmpwi r0, 1 +/* 803443E4 00341344 41 82 00 08 */ beq lbl_803443EC +/* 803443E8 00341348 38 80 00 01 */ li r4, 1 +lbl_803443EC: +/* 803443EC 0034134C 7C 64 00 D0 */ neg r3, r4 +/* 803443F0 00341350 38 00 FF FB */ li r0, -5 +/* 803443F4 00341354 7C 63 23 78 */ or r3, r3, r4 +/* 803443F8 00341358 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 803443FC 0034135C 7C 03 18 38 */ and r3, r0, r3 +lbl_80344400: +/* 80344400 00341360 B9 C1 00 D8 */ lmw r14, 0xd8(r1) +/* 80344404 00341364 38 21 01 20 */ addi r1, r1, 0x120 +/* 80344408 00341368 4E 80 00 20 */ blr + +.global inflate_flush +inflate_flush: +/* 8034440C 0034136C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80344410 00341370 7C 08 02 A6 */ mflr r0 +/* 80344414 00341374 90 01 00 24 */ stw r0, 0x24(r1) +/* 80344418 00341378 BF 41 00 08 */ stmw r26, 8(r1) +/* 8034441C 0034137C 7C 7B 1B 78 */ mr r27, r3 +/* 80344420 00341380 7C 9C 23 78 */ mr r28, r4 +/* 80344424 00341384 7C BD 2B 78 */ mr r29, r5 +/* 80344428 00341388 83 C3 00 30 */ lwz r30, 0x30(r3) +/* 8034442C 0034138C 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80344430 00341390 83 E4 00 0C */ lwz r31, 0xc(r4) +/* 80344434 00341394 7C 1E 00 40 */ cmplw r30, r0 +/* 80344438 00341398 41 81 00 08 */ bgt lbl_80344440 +/* 8034443C 0034139C 48 00 00 08 */ b lbl_80344444 +lbl_80344440: +/* 80344440 003413A0 80 1B 00 2C */ lwz r0, 0x2c(r27) +lbl_80344444: +/* 80344444 003413A4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80344448 003413A8 7F 5E 00 50 */ subf r26, r30, r0 +/* 8034444C 003413AC 7C 1A 18 40 */ cmplw r26, r3 +/* 80344450 003413B0 40 81 00 08 */ ble lbl_80344458 +/* 80344454 003413B4 7C 7A 1B 78 */ mr r26, r3 +lbl_80344458: +/* 80344458 003413B8 28 1A 00 00 */ cmplwi r26, 0 +/* 8034445C 003413BC 41 82 00 10 */ beq lbl_8034446C +/* 80344460 003413C0 2C 1D FF FB */ cmpwi r29, -5 +/* 80344464 003413C4 40 82 00 08 */ bne lbl_8034446C +/* 80344468 003413C8 3B A0 00 00 */ li r29, 0 +lbl_8034446C: +/* 8034446C 003413CC 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80344470 003413D0 7C 1A 00 50 */ subf r0, r26, r0 +/* 80344474 003413D4 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80344478 003413D8 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 8034447C 003413DC 7C 00 D2 14 */ add r0, r0, r26 +/* 80344480 003413E0 90 1C 00 14 */ stw r0, 0x14(r28) +/* 80344484 003413E4 81 9B 00 38 */ lwz r12, 0x38(r27) +/* 80344488 003413E8 28 0C 00 00 */ cmplwi r12, 0 +/* 8034448C 003413EC 41 82 00 20 */ beq lbl_803444AC +/* 80344490 003413F0 7F C4 F3 78 */ mr r4, r30 +/* 80344494 003413F4 7F 45 D3 78 */ mr r5, r26 +/* 80344498 003413F8 80 7B 00 3C */ lwz r3, 0x3c(r27) +/* 8034449C 003413FC 7D 89 03 A6 */ mtctr r12 +/* 803444A0 00341400 4E 80 04 21 */ bctrl +/* 803444A4 00341404 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 803444A8 00341408 90 7C 00 30 */ stw r3, 0x30(r28) +lbl_803444AC: +/* 803444AC 0034140C 7F E3 FB 78 */ mr r3, r31 +/* 803444B0 00341410 7F C4 F3 78 */ mr r4, r30 +/* 803444B4 00341414 7F 45 D3 78 */ mr r5, r26 +/* 803444B8 00341418 4B CB EF D9 */ bl memcpy +/* 803444BC 0034141C 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 803444C0 00341420 7F DE D2 14 */ add r30, r30, r26 +/* 803444C4 00341424 7F FF D2 14 */ add r31, r31, r26 +/* 803444C8 00341428 7C 1E 18 40 */ cmplw r30, r3 +/* 803444CC 0034142C 40 82 00 A0 */ bne lbl_8034456C +/* 803444D0 00341430 80 1B 00 34 */ lwz r0, 0x34(r27) +/* 803444D4 00341434 80 9B 00 28 */ lwz r4, 0x28(r27) +/* 803444D8 00341438 7C 00 18 40 */ cmplw r0, r3 +/* 803444DC 0034143C 7C 9E 23 78 */ mr r30, r4 +/* 803444E0 00341440 40 82 00 08 */ bne lbl_803444E8 +/* 803444E4 00341444 90 9B 00 34 */ stw r4, 0x34(r27) +lbl_803444E8: +/* 803444E8 00341448 80 1B 00 34 */ lwz r0, 0x34(r27) +/* 803444EC 0034144C 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 803444F0 00341450 7F 5E 00 50 */ subf r26, r30, r0 +/* 803444F4 00341454 7C 1A 18 40 */ cmplw r26, r3 +/* 803444F8 00341458 40 81 00 08 */ ble lbl_80344500 +/* 803444FC 0034145C 7C 7A 1B 78 */ mr r26, r3 +lbl_80344500: +/* 80344500 00341460 28 1A 00 00 */ cmplwi r26, 0 +/* 80344504 00341464 41 82 00 10 */ beq lbl_80344514 +/* 80344508 00341468 2C 1D FF FB */ cmpwi r29, -5 +/* 8034450C 0034146C 40 82 00 08 */ bne lbl_80344514 +/* 80344510 00341470 3B A0 00 00 */ li r29, 0 +lbl_80344514: +/* 80344514 00341474 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80344518 00341478 7C 1A 00 50 */ subf r0, r26, r0 +/* 8034451C 0034147C 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80344520 00341480 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 80344524 00341484 7C 00 D2 14 */ add r0, r0, r26 +/* 80344528 00341488 90 1C 00 14 */ stw r0, 0x14(r28) +/* 8034452C 0034148C 81 9B 00 38 */ lwz r12, 0x38(r27) +/* 80344530 00341490 28 0C 00 00 */ cmplwi r12, 0 +/* 80344534 00341494 41 82 00 20 */ beq lbl_80344554 +/* 80344538 00341498 7F C4 F3 78 */ mr r4, r30 +/* 8034453C 0034149C 7F 45 D3 78 */ mr r5, r26 +/* 80344540 003414A0 80 7B 00 3C */ lwz r3, 0x3c(r27) +/* 80344544 003414A4 7D 89 03 A6 */ mtctr r12 +/* 80344548 003414A8 4E 80 04 21 */ bctrl +/* 8034454C 003414AC 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 80344550 003414B0 90 7C 00 30 */ stw r3, 0x30(r28) +lbl_80344554: +/* 80344554 003414B4 7F E3 FB 78 */ mr r3, r31 +/* 80344558 003414B8 7F C4 F3 78 */ mr r4, r30 +/* 8034455C 003414BC 7F 45 D3 78 */ mr r5, r26 +/* 80344560 003414C0 4B CB EF 31 */ bl memcpy +/* 80344564 003414C4 7F FF D2 14 */ add r31, r31, r26 +/* 80344568 003414C8 7F DE D2 14 */ add r30, r30, r26 +lbl_8034456C: +/* 8034456C 003414CC 93 FC 00 0C */ stw r31, 0xc(r28) +/* 80344570 003414D0 7F A3 EB 78 */ mr r3, r29 +/* 80344574 003414D4 93 DB 00 30 */ stw r30, 0x30(r27) +/* 80344578 003414D8 BB 41 00 08 */ lmw r26, 8(r1) +/* 8034457C 003414DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80344580 003414E0 7C 08 03 A6 */ mtlr r0 +/* 80344584 003414E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80344588 003414E8 4E 80 00 20 */ blr + +.global zcfree +zcfree: +/* 8034458C 003414EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344590 003414F0 7C 08 02 A6 */ mflr r0 +/* 80344594 003414F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344598 003414F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034459C 003414FC 7C 7F 1B 78 */ mr r31, r3 +/* 803445A0 00341500 7C 83 23 78 */ mr r3, r4 +/* 803445A4 00341504 48 04 5D B5 */ bl sub_8038a358 +/* 803445A8 00341508 28 1F 00 00 */ cmplwi r31, 0 +/* 803445AC 0034150C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803445B0 00341510 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803445B4 00341514 7C 08 03 A6 */ mtlr r0 +/* 803445B8 00341518 38 21 00 10 */ addi r1, r1, 0x10 +/* 803445BC 0034151C 4E 80 00 20 */ blr + +.global zcalloc +zcalloc: +/* 803445C0 00341520 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803445C4 00341524 7C 08 02 A6 */ mflr r0 +/* 803445C8 00341528 7C 83 23 78 */ mr r3, r4 +/* 803445CC 0034152C 7C A4 2B 78 */ mr r4, r5 +/* 803445D0 00341530 90 01 00 14 */ stw r0, 0x14(r1) +/* 803445D4 00341534 48 04 5C C1 */ bl calloc +/* 803445D8 00341538 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803445DC 0034153C 7C 08 03 A6 */ mtlr r0 +/* 803445E0 00341540 38 21 00 10 */ addi r1, r1, 0x10 +/* 803445E4 00341544 4E 80 00 20 */ blr + +.global CollectGarbage__12CARAMManagerFv +CollectGarbage__12CARAMManagerFv: +/* 803445E8 00341548 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803445EC 0034154C 7C 08 02 A6 */ mflr r0 +/* 803445F0 00341550 90 01 00 14 */ stw r0, 0x14(r1) +/* 803445F4 00341554 48 00 00 15 */ bl RefreshActiveDMAList__12CARAMManagerFv +/* 803445F8 00341558 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803445FC 0034155C 7C 08 03 A6 */ mtlr r0 +/* 80344600 00341560 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344604 00341564 4E 80 00 20 */ blr + +.global RefreshActiveDMAList__12CARAMManagerFv +RefreshActiveDMAList__12CARAMManagerFv: +/* 80344608 00341568 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034460C 0034156C 7C 08 02 A6 */ mflr r0 +/* 80344610 00341570 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344614 00341574 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344618 00341578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034461C 0034157C 3B E3 67 9C */ addi r31, r3, lbl_805A679C@l +/* 80344620 00341580 93 C1 00 08 */ stw r30, 8(r1) +/* 80344624 00341584 83 DF 00 04 */ lwz r30, 4(r31) +/* 80344628 00341588 48 00 00 30 */ b lbl_80344658 +lbl_8034462C: +/* 8034462C 0034158C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80344630 00341590 88 03 00 24 */ lbz r0, 0x24(r3) +/* 80344634 00341594 28 00 00 00 */ cmplwi r0, 0 +/* 80344638 00341598 41 82 00 1C */ beq lbl_80344654 +/* 8034463C 0034159C 4B FD 12 F5 */ bl Free__7CMemoryFPCv +/* 80344640 003415A0 7F E3 FB 78 */ mr r3, r31 +/* 80344644 003415A4 7F C4 F3 78 */ mr r4, r30 +/* 80344648 003415A8 48 00 08 3D */ bl sub_80344e84 +/* 8034464C 003415AC 7C 7E 1B 78 */ mr r30, r3 +/* 80344650 003415B0 48 00 00 08 */ b lbl_80344658 +lbl_80344654: +/* 80344654 003415B4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_80344658: +/* 80344658 003415B8 80 1F 00 08 */ lwz r0, 8(r31) +/* 8034465C 003415BC 7C 1E 00 40 */ cmplw r30, r0 +/* 80344660 003415C0 40 82 FF CC */ bne lbl_8034462C +/* 80344664 003415C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344668 003415C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034466C 003415CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80344670 003415D0 7C 08 03 A6 */ mtlr r0 +/* 80344674 003415D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344678 003415D8 4E 80 00 20 */ blr + +.global AramManagerDMACallback__12CARAMManagerFUl +AramManagerDMACallback__12CARAMManagerFUl: +/* 8034467C 003415DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344680 003415E0 7C 08 02 A6 */ mflr r0 +/* 80344684 003415E4 7C 64 1B 78 */ mr r4, r3 +/* 80344688 003415E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034468C 003415EC 38 00 00 01 */ li r0, 1 +/* 80344690 003415F0 98 03 00 24 */ stb r0, 0x24(r3) +/* 80344694 003415F4 80 03 00 08 */ lwz r0, 8(r3) +/* 80344698 003415F8 28 00 00 01 */ cmplwi r0, 1 +/* 8034469C 003415FC 40 82 00 10 */ bne lbl_803446AC +/* 803446A0 00341600 80 64 00 14 */ lwz r3, 0x14(r4) +/* 803446A4 00341604 80 84 00 18 */ lwz r4, 0x18(r4) +/* 803446A8 00341608 48 03 A3 DD */ bl DCInvalidateRange +lbl_803446AC: +/* 803446AC 0034160C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803446B0 00341610 7C 08 03 A6 */ mtlr r0 +/* 803446B4 00341614 38 21 00 10 */ addi r1, r1, 0x10 +/* 803446B8 00341618 4E 80 00 20 */ blr + +.global CancelDMA__12CARAMManagerFUi +CancelDMA__12CARAMManagerFUi: +/* 803446BC 0034161C 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 803446C0 00341620 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 803446C4 00341624 80 A4 00 04 */ lwz r5, 4(r4) +/* 803446C8 00341628 80 84 00 08 */ lwz r4, 8(r4) +/* 803446CC 0034162C 48 00 00 2C */ b lbl_803446F8 +lbl_803446D0: +/* 803446D0 00341630 80 C5 00 08 */ lwz r6, 8(r5) +/* 803446D4 00341634 80 06 00 20 */ lwz r0, 0x20(r6) +/* 803446D8 00341638 7C 00 18 40 */ cmplw r0, r3 +/* 803446DC 0034163C 40 82 00 18 */ bne lbl_803446F4 +/* 803446E0 00341640 88 66 00 24 */ lbz r3, 0x24(r6) +/* 803446E4 00341644 7C 03 00 D0 */ neg r0, r3 +/* 803446E8 00341648 7C 00 1B 78 */ or r0, r0, r3 +/* 803446EC 0034164C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803446F0 00341650 4E 80 00 20 */ blr +lbl_803446F4: +/* 803446F4 00341654 80 A5 00 04 */ lwz r5, 4(r5) +lbl_803446F8: +/* 803446F8 00341658 7C 05 20 40 */ cmplw r5, r4 +/* 803446FC 0034165C 40 82 FF D4 */ bne lbl_803446D0 +/* 80344700 00341660 38 60 00 01 */ li r3, 1 +/* 80344704 00341664 4E 80 00 20 */ blr + +.global WaitForAllDMAsToComplete__12CARAMManagerFv +WaitForAllDMAsToComplete__12CARAMManagerFv: +/* 80344708 00341668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034470C 0034166C 7C 08 02 A6 */ mflr r0 +/* 80344710 00341670 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344714 00341674 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344718 00341678 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034471C 0034167C 3B E3 67 9C */ addi r31, r3, lbl_805A679C@l +/* 80344720 00341680 48 00 00 08 */ b lbl_80344728 +lbl_80344724: +/* 80344724 00341684 4B FF FE E5 */ bl RefreshActiveDMAList__12CARAMManagerFv +lbl_80344728: +/* 80344728 00341688 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8034472C 0034168C 2C 00 00 00 */ cmpwi r0, 0 +/* 80344730 00341690 41 81 FF F4 */ bgt lbl_80344724 +/* 80344734 00341694 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344738 00341698 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034473C 0034169C 7C 08 03 A6 */ mtlr r0 +/* 80344740 003416A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344744 003416A4 4E 80 00 20 */ blr + +.global WaitForDMACompletion__12CARAMManagerFUi +WaitForDMACompletion__12CARAMManagerFUi: +/* 80344748 003416A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034474C 003416AC 7C 08 02 A6 */ mflr r0 +/* 80344750 003416B0 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 80344754 003416B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344758 003416B8 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 8034475C 003416BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80344760 003416C0 83 E4 00 04 */ lwz r31, 4(r4) +/* 80344764 003416C4 80 84 00 08 */ lwz r4, 8(r4) +/* 80344768 003416C8 48 00 00 40 */ b lbl_803447A8 +lbl_8034476C: +/* 8034476C 003416CC 80 BF 00 08 */ lwz r5, 8(r31) +/* 80344770 003416D0 80 05 00 20 */ lwz r0, 0x20(r5) +/* 80344774 003416D4 7C 00 18 40 */ cmplw r0, r3 +/* 80344778 003416D8 40 82 00 2C */ bne lbl_803447A4 +lbl_8034477C: +/* 8034477C 003416DC 88 05 00 24 */ lbz r0, 0x24(r5) +/* 80344780 003416E0 28 00 00 00 */ cmplwi r0, 0 +/* 80344784 003416E4 41 82 FF F8 */ beq lbl_8034477C +/* 80344788 003416E8 7C A3 2B 78 */ mr r3, r5 +/* 8034478C 003416EC 4B FD 11 A5 */ bl Free__7CMemoryFPCv +/* 80344790 003416F0 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344794 003416F4 7F E4 FB 78 */ mr r4, r31 +/* 80344798 003416F8 38 63 67 9C */ addi r3, r3, lbl_805A679C@l +/* 8034479C 003416FC 48 00 06 E9 */ bl sub_80344e84 +/* 803447A0 00341700 48 00 00 10 */ b lbl_803447B0 +lbl_803447A4: +/* 803447A4 00341704 83 FF 00 04 */ lwz r31, 4(r31) +lbl_803447A8: +/* 803447A8 00341708 7C 1F 20 40 */ cmplw r31, r4 +/* 803447AC 0034170C 40 82 FF C0 */ bne lbl_8034476C +lbl_803447B0: +/* 803447B0 00341710 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803447B4 00341714 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803447B8 00341718 7C 08 03 A6 */ mtlr r0 +/* 803447BC 0034171C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803447C0 00341720 4E 80 00 20 */ blr + +.global IsDMACompleted__12CARAMManagerFUi +IsDMACompleted__12CARAMManagerFUi: +/* 803447C4 00341724 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803447C8 00341728 7C 08 02 A6 */ mflr r0 +/* 803447CC 0034172C 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 803447D0 00341730 90 01 00 14 */ stw r0, 0x14(r1) +/* 803447D4 00341734 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 803447D8 00341738 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803447DC 0034173C 83 E4 00 04 */ lwz r31, 4(r4) +/* 803447E0 00341740 80 84 00 08 */ lwz r4, 8(r4) +/* 803447E4 00341744 48 00 00 4C */ b lbl_80344830 +lbl_803447E8: +/* 803447E8 00341748 80 BF 00 08 */ lwz r5, 8(r31) +/* 803447EC 0034174C 80 05 00 20 */ lwz r0, 0x20(r5) +/* 803447F0 00341750 7C 00 18 40 */ cmplw r0, r3 +/* 803447F4 00341754 40 82 00 38 */ bne lbl_8034482C +/* 803447F8 00341758 88 05 00 24 */ lbz r0, 0x24(r5) +/* 803447FC 0034175C 28 00 00 00 */ cmplwi r0, 0 +/* 80344800 00341760 41 82 00 24 */ beq lbl_80344824 +/* 80344804 00341764 7C A3 2B 78 */ mr r3, r5 +/* 80344808 00341768 4B FD 11 29 */ bl Free__7CMemoryFPCv +/* 8034480C 0034176C 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344810 00341770 7F E4 FB 78 */ mr r4, r31 +/* 80344814 00341774 38 63 67 9C */ addi r3, r3, lbl_805A679C@l +/* 80344818 00341778 48 00 06 6D */ bl sub_80344e84 +/* 8034481C 0034177C 38 60 00 01 */ li r3, 1 +/* 80344820 00341780 48 00 00 1C */ b lbl_8034483C +lbl_80344824: +/* 80344824 00341784 38 60 00 00 */ li r3, 0 +/* 80344828 00341788 48 00 00 14 */ b lbl_8034483C +lbl_8034482C: +/* 8034482C 0034178C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80344830: +/* 80344830 00341790 7C 1F 20 40 */ cmplw r31, r4 +/* 80344834 00341794 40 82 FF B4 */ bne lbl_803447E8 +/* 80344838 00341798 38 60 00 01 */ li r3, 1 +lbl_8034483C: +/* 8034483C 0034179C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344840 003417A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80344844 003417A4 7C 08 03 A6 */ mtlr r0 +/* 80344848 003417A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034484C 003417AC 4E 80 00 20 */ blr + +.global DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority: +/* 80344850 003417B0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80344854 003417B4 7C 08 02 A6 */ mflr r0 +/* 80344858 003417B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034485C 003417BC BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80344860 003417C0 7C 9C 23 78 */ mr r28, r4 +/* 80344864 003417C4 7C BF 2B 78 */ mr r31, r5 +/* 80344868 003417C8 7C 7B 1B 78 */ mr r27, r3 +/* 8034486C 003417CC 7C DD 33 78 */ mr r29, r6 +/* 80344870 003417D0 7F 83 E3 78 */ mr r3, r28 +/* 80344874 003417D4 7F E4 FB 78 */ mr r4, r31 +/* 80344878 003417D8 48 03 A2 0D */ bl DCInvalidateRange +/* 8034487C 003417DC 3C 80 80 3D */ lis r4, lbl_803D7F50@ha +/* 80344880 003417E0 38 60 00 28 */ li r3, 0x28 +/* 80344884 003417E4 38 84 7F 50 */ addi r4, r4, lbl_803D7F50@l +/* 80344888 003417E8 38 A0 00 00 */ li r5, 0 +/* 8034488C 003417EC 4B FD 0F E1 */ bl __nw__FUlPCcPCc +/* 80344890 003417F0 38 00 00 00 */ li r0, 0 +/* 80344894 003417F4 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 80344898 003417F8 98 03 00 24 */ stb r0, 0x24(r3) +/* 8034489C 003417FC 7C 7E 1B 78 */ mr r30, r3 +/* 803448A0 00341800 38 C5 67 9C */ addi r6, r5, lbl_805A679C@l +/* 803448A4 00341804 3C 60 80 3D */ lis r3, lbl_803D7F50@ha +/* 803448A8 00341808 80 0D A9 74 */ lwz r0, lbl_805A9534@sda21(r13) +/* 803448AC 0034180C 38 83 7F 50 */ addi r4, r3, lbl_803D7F50@l +/* 803448B0 00341810 38 60 00 0C */ li r3, 0xc +/* 803448B4 00341814 38 A0 00 00 */ li r5, 0 +/* 803448B8 00341818 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803448BC 0034181C 83 46 00 08 */ lwz r26, 8(r6) +/* 803448C0 00341820 83 3A 00 00 */ lwz r25, 0(r26) +/* 803448C4 00341824 4B FD 0F 55 */ bl __nwa__FUlPCcPCc +/* 803448C8 00341828 28 03 00 00 */ cmplwi r3, 0 +/* 803448CC 0034182C 41 82 00 0C */ beq lbl_803448D8 +/* 803448D0 00341830 93 23 00 00 */ stw r25, 0(r3) +/* 803448D4 00341834 93 43 00 04 */ stw r26, 4(r3) +lbl_803448D8: +/* 803448D8 00341838 34 83 00 08 */ addic. r4, r3, 8 +/* 803448DC 0034183C 41 82 00 08 */ beq lbl_803448E4 +/* 803448E0 00341840 93 C4 00 00 */ stw r30, 0(r4) +lbl_803448E4: +/* 803448E4 00341844 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 803448E8 00341848 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 803448EC 0034184C 80 04 00 04 */ lwz r0, 4(r4) +/* 803448F0 00341850 7C 1A 00 40 */ cmplw r26, r0 +/* 803448F4 00341854 40 82 00 08 */ bne lbl_803448FC +/* 803448F8 00341858 90 64 00 04 */ stw r3, 4(r4) +lbl_803448FC: +/* 803448FC 0034185C 80 C3 00 00 */ lwz r6, 0(r3) +/* 80344900 00341860 3C 80 80 34 */ lis r4, AramManagerDMACallback__12CARAMManagerFUl@ha +/* 80344904 00341864 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 80344908 00341868 20 1D 00 01 */ subfic r0, r29, 1 +/* 8034490C 0034186C 90 66 00 04 */ stw r3, 4(r6) +/* 80344910 00341870 39 44 46 7C */ addi r10, r4, AramManagerDMACallback__12CARAMManagerFUl@l +/* 80344914 00341874 39 65 67 9C */ addi r11, r5, lbl_805A679C@l +/* 80344918 00341878 7C 00 00 34 */ cntlzw r0, r0 +/* 8034491C 0034187C 80 83 00 04 */ lwz r4, 4(r3) +/* 80344920 00341880 54 06 D9 7E */ srwi r6, r0, 5 +/* 80344924 00341884 7F 67 DB 78 */ mr r7, r27 +/* 80344928 00341888 7F 88 E3 78 */ mr r8, r28 +/* 8034492C 0034188C 90 64 00 00 */ stw r3, 0(r4) +/* 80344930 00341890 7F E9 FB 78 */ mr r9, r31 +/* 80344934 00341894 7F C3 F3 78 */ mr r3, r30 +/* 80344938 00341898 38 A0 00 01 */ li r5, 1 +/* 8034493C 0034189C 80 8B 00 14 */ lwz r4, 0x14(r11) +/* 80344940 003418A0 38 04 00 01 */ addi r0, r4, 1 +/* 80344944 003418A4 90 0B 00 14 */ stw r0, 0x14(r11) +/* 80344948 003418A8 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 8034494C 003418AC 48 02 AD 25 */ bl ARQPostRequest +/* 80344950 003418B0 80 6D A9 74 */ lwz r3, lbl_805A9534@sda21(r13) +/* 80344954 003418B4 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80344958 003418B8 38 63 00 01 */ addi r3, r3, 1 +/* 8034495C 003418BC 7C 03 00 40 */ cmplw r3, r0 +/* 80344960 003418C0 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) +/* 80344964 003418C4 40 82 00 0C */ bne lbl_80344970 +/* 80344968 003418C8 38 03 00 01 */ addi r0, r3, 1 +/* 8034496C 003418CC 90 0D A9 74 */ stw r0, lbl_805A9534@sda21(r13) +lbl_80344970: +/* 80344970 003418D0 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80344974 003418D4 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80344978 003418D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034497C 003418DC 7C 08 03 A6 */ mtlr r0 +/* 80344980 003418E0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80344984 003418E4 4E 80 00 20 */ blr + +.global DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority: +/* 80344988 003418E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034498C 003418EC 7C 08 02 A6 */ mflr r0 +/* 80344990 003418F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80344994 003418F4 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80344998 003418F8 7C BF 2B 78 */ mr r31, r5 +/* 8034499C 003418FC 7C 9C 23 78 */ mr r28, r4 +/* 803449A0 00341900 7C 7B 1B 78 */ mr r27, r3 +/* 803449A4 00341904 7C DD 33 78 */ mr r29, r6 +/* 803449A8 00341908 7F E4 FB 78 */ mr r4, r31 +/* 803449AC 0034190C 48 03 A1 35 */ bl DCStoreRange +/* 803449B0 00341910 3C 80 80 3D */ lis r4, lbl_803D7F50@ha +/* 803449B4 00341914 38 60 00 28 */ li r3, 0x28 +/* 803449B8 00341918 38 84 7F 50 */ addi r4, r4, lbl_803D7F50@l +/* 803449BC 0034191C 38 A0 00 00 */ li r5, 0 +/* 803449C0 00341920 4B FD 0E AD */ bl __nw__FUlPCcPCc +/* 803449C4 00341924 38 00 00 00 */ li r0, 0 +/* 803449C8 00341928 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 803449CC 0034192C 98 03 00 24 */ stb r0, 0x24(r3) +/* 803449D0 00341930 7C 7E 1B 78 */ mr r30, r3 +/* 803449D4 00341934 38 C5 67 9C */ addi r6, r5, lbl_805A679C@l +/* 803449D8 00341938 3C 60 80 3D */ lis r3, lbl_803D7F50@ha +/* 803449DC 0034193C 80 0D A9 74 */ lwz r0, lbl_805A9534@sda21(r13) +/* 803449E0 00341940 38 83 7F 50 */ addi r4, r3, lbl_803D7F50@l +/* 803449E4 00341944 38 60 00 0C */ li r3, 0xc +/* 803449E8 00341948 38 A0 00 00 */ li r5, 0 +/* 803449EC 0034194C 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803449F0 00341950 83 46 00 08 */ lwz r26, 8(r6) +/* 803449F4 00341954 83 3A 00 00 */ lwz r25, 0(r26) +/* 803449F8 00341958 4B FD 0E 21 */ bl __nwa__FUlPCcPCc +/* 803449FC 0034195C 28 03 00 00 */ cmplwi r3, 0 +/* 80344A00 00341960 41 82 00 0C */ beq lbl_80344A0C +/* 80344A04 00341964 93 23 00 00 */ stw r25, 0(r3) +/* 80344A08 00341968 93 43 00 04 */ stw r26, 4(r3) +lbl_80344A0C: +/* 80344A0C 0034196C 34 83 00 08 */ addic. r4, r3, 8 +/* 80344A10 00341970 41 82 00 08 */ beq lbl_80344A18 +/* 80344A14 00341974 93 C4 00 00 */ stw r30, 0(r4) +lbl_80344A18: +/* 80344A18 00341978 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 80344A1C 0034197C 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 80344A20 00341980 80 04 00 04 */ lwz r0, 4(r4) +/* 80344A24 00341984 7C 1A 00 40 */ cmplw r26, r0 +/* 80344A28 00341988 40 82 00 08 */ bne lbl_80344A30 +/* 80344A2C 0034198C 90 64 00 04 */ stw r3, 4(r4) +lbl_80344A30: +/* 80344A30 00341990 80 C3 00 00 */ lwz r6, 0(r3) +/* 80344A34 00341994 3C 80 80 34 */ lis r4, AramManagerDMACallback__12CARAMManagerFUl@ha +/* 80344A38 00341998 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 80344A3C 0034199C 20 1D 00 01 */ subfic r0, r29, 1 +/* 80344A40 003419A0 90 66 00 04 */ stw r3, 4(r6) +/* 80344A44 003419A4 39 44 46 7C */ addi r10, r4, AramManagerDMACallback__12CARAMManagerFUl@l +/* 80344A48 003419A8 39 65 67 9C */ addi r11, r5, lbl_805A679C@l +/* 80344A4C 003419AC 7C 00 00 34 */ cntlzw r0, r0 +/* 80344A50 003419B0 80 83 00 04 */ lwz r4, 4(r3) +/* 80344A54 003419B4 54 06 D9 7E */ srwi r6, r0, 5 +/* 80344A58 003419B8 7F 67 DB 78 */ mr r7, r27 +/* 80344A5C 003419BC 7F 88 E3 78 */ mr r8, r28 +/* 80344A60 003419C0 90 64 00 00 */ stw r3, 0(r4) +/* 80344A64 003419C4 7F E9 FB 78 */ mr r9, r31 +/* 80344A68 003419C8 7F C3 F3 78 */ mr r3, r30 +/* 80344A6C 003419CC 38 A0 00 00 */ li r5, 0 +/* 80344A70 003419D0 80 8B 00 14 */ lwz r4, 0x14(r11) +/* 80344A74 003419D4 38 04 00 01 */ addi r0, r4, 1 +/* 80344A78 003419D8 90 0B 00 14 */ stw r0, 0x14(r11) +/* 80344A7C 003419DC 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 80344A80 003419E0 48 02 AB F1 */ bl ARQPostRequest +/* 80344A84 003419E4 80 6D A9 74 */ lwz r3, lbl_805A9534@sda21(r13) +/* 80344A88 003419E8 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80344A8C 003419EC 38 63 00 01 */ addi r3, r3, 1 +/* 80344A90 003419F0 7C 03 00 40 */ cmplw r3, r0 +/* 80344A94 003419F4 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) +/* 80344A98 003419F8 40 82 00 0C */ bne lbl_80344AA4 +/* 80344A9C 003419FC 38 03 00 01 */ addi r0, r3, 1 +/* 80344AA0 00341A00 90 0D A9 74 */ stw r0, lbl_805A9534@sda21(r13) +lbl_80344AA4: +/* 80344AA4 00341A04 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80344AA8 00341A08 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80344AAC 00341A0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80344AB0 00341A10 7C 08 03 A6 */ mtlr r0 +/* 80344AB4 00341A14 38 21 00 30 */ addi r1, r1, 0x30 +/* 80344AB8 00341A18 4E 80 00 20 */ blr + +.global Free__12CARAMManagerFPCv +Free__12CARAMManagerFPCv: +/* 80344ABC 00341A1C 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) +/* 80344AC0 00341A20 7C 00 18 40 */ cmplw r0, r3 +/* 80344AC4 00341A24 40 82 00 0C */ bne lbl_80344AD0 +/* 80344AC8 00341A28 38 60 00 00 */ li r3, 0 +/* 80344ACC 00341A2C 4E 80 00 20 */ blr +lbl_80344AD0: +/* 80344AD0 00341A30 80 8D A9 64 */ lwz r4, lbl_805A9524@sda21(r13) +/* 80344AD4 00341A34 38 A0 00 00 */ li r5, 0 +/* 80344AD8 00341A38 80 0D A9 68 */ lwz r0, lbl_805A9528@sda21(r13) +/* 80344ADC 00341A3C 7C 84 18 50 */ subf r4, r4, r3 +/* 80344AE0 00341A40 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344AE4 00341A44 7C 84 03 96 */ divwu r4, r4, r0 +/* 80344AE8 00341A48 80 0D A9 78 */ lwz r0, lbl_805A9538@sda21(r13) +/* 80344AEC 00341A4C 54 86 10 3A */ slwi r6, r4, 2 +/* 80344AF0 00341A50 7C 63 30 2E */ lwzx r3, r3, r6 +/* 80344AF4 00341A54 7C 03 00 50 */ subf r0, r3, r0 +/* 80344AF8 00341A58 28 03 00 00 */ cmplwi r3, 0 +/* 80344AFC 00341A5C 90 0D A9 78 */ stw r0, lbl_805A9538@sda21(r13) +/* 80344B00 00341A60 41 82 00 90 */ beq lbl_80344B90 +/* 80344B04 00341A64 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 80344B08 00341A68 7C 09 03 A6 */ mtctr r0 +/* 80344B0C 00341A6C 41 82 00 70 */ beq lbl_80344B7C +lbl_80344B10: +/* 80344B10 00341A70 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B14 00341A74 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B18 00341A78 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B1C 00341A7C 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B20 00341A80 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B24 00341A84 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B28 00341A88 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B2C 00341A8C 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B30 00341A90 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B34 00341A94 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B38 00341A98 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B3C 00341A9C 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B40 00341AA0 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B44 00341AA4 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B48 00341AA8 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B4C 00341AAC 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B50 00341AB0 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B54 00341AB4 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B58 00341AB8 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B5C 00341ABC 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B60 00341AC0 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B64 00341AC4 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B68 00341AC8 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B6C 00341ACC 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B70 00341AD0 42 00 FF A0 */ bdnz lbl_80344B10 +/* 80344B74 00341AD4 70 63 00 07 */ andi. r3, r3, 7 +/* 80344B78 00341AD8 41 82 00 18 */ beq lbl_80344B90 +lbl_80344B7C: +/* 80344B7C 00341ADC 7C 69 03 A6 */ mtctr r3 +lbl_80344B80: +/* 80344B80 00341AE0 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B84 00341AE4 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B88 00341AE8 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B8C 00341AEC 42 00 FF F4 */ bdnz lbl_80344B80 +lbl_80344B90: +/* 80344B90 00341AF0 38 60 00 01 */ li r3, 1 +/* 80344B94 00341AF4 4E 80 00 20 */ blr + +.global FindFreeBlocks__12CARAMManagerFUiUiUi +FindFreeBlocks__12CARAMManagerFUiUiUi: +/* 80344B98 00341AF8 80 ED A9 70 */ lwz r7, lbl_805A9530@sda21(r13) +/* 80344B9C 00341AFC 48 00 00 7C */ b lbl_80344C18 +lbl_80344BA0: +/* 80344BA0 00341B00 54 60 10 3A */ slwi r0, r3, 2 +/* 80344BA4 00341B04 7C 07 00 2E */ lwzx r0, r7, r0 +/* 80344BA8 00341B08 28 00 00 00 */ cmplwi r0, 0 +/* 80344BAC 00341B0C 40 82 00 68 */ bne lbl_80344C14 +/* 80344BB0 00341B10 28 05 00 01 */ cmplwi r5, 1 +/* 80344BB4 00341B14 4D 82 00 20 */ beqlr +/* 80344BB8 00341B18 38 63 00 01 */ addi r3, r3, 1 +/* 80344BBC 00341B1C 39 00 00 01 */ li r8, 1 +/* 80344BC0 00341B20 54 66 10 3A */ slwi r6, r3, 2 +/* 80344BC4 00341B24 7C 03 20 50 */ subf r0, r3, r4 +/* 80344BC8 00341B28 7C C7 32 14 */ add r6, r7, r6 +/* 80344BCC 00341B2C 7C 09 03 A6 */ mtctr r0 +/* 80344BD0 00341B30 7C 03 20 40 */ cmplw r3, r4 +/* 80344BD4 00341B34 40 80 00 44 */ bge lbl_80344C18 +lbl_80344BD8: +/* 80344BD8 00341B38 80 06 00 00 */ lwz r0, 0(r6) +/* 80344BDC 00341B3C 28 00 00 00 */ cmplwi r0, 0 +/* 80344BE0 00341B40 41 82 00 0C */ beq lbl_80344BEC +/* 80344BE4 00341B44 7C 63 02 14 */ add r3, r3, r0 +/* 80344BE8 00341B48 48 00 00 30 */ b lbl_80344C18 +lbl_80344BEC: +/* 80344BEC 00341B4C 39 08 00 01 */ addi r8, r8, 1 +/* 80344BF0 00341B50 7C 08 28 40 */ cmplw r8, r5 +/* 80344BF4 00341B54 40 82 00 10 */ bne lbl_80344C04 +/* 80344BF8 00341B58 38 05 FF FF */ addi r0, r5, -1 +/* 80344BFC 00341B5C 7C 60 18 50 */ subf r3, r0, r3 +/* 80344C00 00341B60 4E 80 00 20 */ blr +lbl_80344C04: +/* 80344C04 00341B64 38 C6 00 04 */ addi r6, r6, 4 +/* 80344C08 00341B68 38 63 00 01 */ addi r3, r3, 1 +/* 80344C0C 00341B6C 42 00 FF CC */ bdnz lbl_80344BD8 +/* 80344C10 00341B70 48 00 00 08 */ b lbl_80344C18 +lbl_80344C14: +/* 80344C14 00341B74 7C 63 02 14 */ add r3, r3, r0 +lbl_80344C18: +/* 80344C18 00341B78 7C 03 20 40 */ cmplw r3, r4 +/* 80344C1C 00341B7C 41 80 FF 84 */ blt lbl_80344BA0 +/* 80344C20 00341B80 38 60 FF FF */ li r3, -1 +/* 80344C24 00341B84 4E 80 00 20 */ blr + +.global Alloc__12CARAMManagerFUi +Alloc__12CARAMManagerFUi: +/* 80344C28 00341B88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344C2C 00341B8C 7C 08 02 A6 */ mflr r0 +/* 80344C30 00341B90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344C34 00341B94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80344C38 00341B98 80 CD A9 68 */ lwz r6, lbl_805A9528@sda21(r13) +/* 80344C3C 00341B9C 80 8D A9 6C */ lwz r4, lbl_805A952C@sda21(r13) +/* 80344C40 00341BA0 7C A6 1A 14 */ add r5, r6, r3 +/* 80344C44 00341BA4 38 60 00 00 */ li r3, 0 +/* 80344C48 00341BA8 38 05 FF FF */ addi r0, r5, -1 +/* 80344C4C 00341BAC 7F E0 33 96 */ divwu r31, r0, r6 +/* 80344C50 00341BB0 7F E5 FB 78 */ mr r5, r31 +/* 80344C54 00341BB4 4B FF FF 45 */ bl FindFreeBlocks__12CARAMManagerFUiUiUi +/* 80344C58 00341BB8 3C 03 00 01 */ addis r0, r3, 1 +/* 80344C5C 00341BBC 28 00 FF FF */ cmplwi r0, 0xffff +/* 80344C60 00341BC0 40 82 00 0C */ bne lbl_80344C6C +/* 80344C64 00341BC4 38 60 FF FF */ li r3, -1 +/* 80344C68 00341BC8 48 00 00 48 */ b lbl_80344CB0 +lbl_80344C6C: +/* 80344C6C 00341BCC 80 0D A9 68 */ lwz r0, lbl_805A9528@sda21(r13) +/* 80344C70 00341BD0 54 67 10 3A */ slwi r7, r3, 2 +/* 80344C74 00341BD4 80 CD A9 78 */ lwz r6, lbl_805A9538@sda21(r13) +/* 80344C78 00341BD8 7C 83 01 D6 */ mullw r4, r3, r0 +/* 80344C7C 00341BDC 80 AD A9 64 */ lwz r5, lbl_805A9524@sda21(r13) +/* 80344C80 00341BE0 7C 06 FA 14 */ add r0, r6, r31 +/* 80344C84 00341BE4 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344C88 00341BE8 90 0D A9 78 */ stw r0, lbl_805A9538@sda21(r13) +/* 80344C8C 00341BEC 38 00 FF FF */ li r0, -1 +/* 80344C90 00341BF0 7F E3 39 2E */ stwx r31, r3, r7 +/* 80344C94 00341BF4 7C 65 22 14 */ add r3, r5, r4 +/* 80344C98 00341BF8 48 00 00 10 */ b lbl_80344CA8 +lbl_80344C9C: +/* 80344C9C 00341BFC 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344CA0 00341C00 38 E7 00 04 */ addi r7, r7, 4 +/* 80344CA4 00341C04 7C 04 39 2E */ stwx r0, r4, r7 +lbl_80344CA8: +/* 80344CA8 00341C08 37 FF FF FF */ addic. r31, r31, -1 +/* 80344CAC 00341C0C 40 82 FF F0 */ bne lbl_80344C9C +lbl_80344CB0: +/* 80344CB0 00341C10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344CB4 00341C14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80344CB8 00341C18 7C 08 03 A6 */ mtlr r0 +/* 80344CBC 00341C1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344CC0 00341C20 4E 80 00 20 */ blr + +.global Shutdown__12CARAMManagerFv +Shutdown__12CARAMManagerFv: +/* 80344CC4 00341C24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344CC8 00341C28 7C 08 02 A6 */ mflr r0 +/* 80344CCC 00341C2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344CD0 00341C30 4B FF FA 39 */ bl WaitForAllDMAsToComplete__12CARAMManagerFv +/* 80344CD4 00341C34 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344CD8 00341C38 4B FD 0C 59 */ bl Free__7CMemoryFPCv +/* 80344CDC 00341C3C 80 0D A9 6C */ lwz r0, lbl_805A952C@sda21(r13) +/* 80344CE0 00341C40 38 60 00 00 */ li r3, 0 +/* 80344CE4 00341C44 90 61 00 08 */ stw r3, 8(r1) +/* 80344CE8 00341C48 7C 00 00 D0 */ neg r0, r0 +/* 80344CEC 00341C4C 54 03 10 3A */ slwi r3, r0, 2 +/* 80344CF0 00341C50 4B FD 0B D1 */ bl OffsetFakeStatics__7CMemoryFi +/* 80344CF4 00341C54 38 61 00 08 */ addi r3, r1, 8 +/* 80344CF8 00341C58 48 02 8D 85 */ bl ARFree +/* 80344CFC 00341C5C 38 00 00 00 */ li r0, 0 +/* 80344D00 00341C60 98 0D A9 60 */ stb r0, lbl_805A9520@sda21(r13) +/* 80344D04 00341C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344D08 00341C68 7C 08 03 A6 */ mtlr r0 +/* 80344D0C 00341C6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344D10 00341C70 4E 80 00 20 */ blr + +.global Initialize__12CARAMManagerFUi +Initialize__12CARAMManagerFUi: +/* 80344D14 00341C74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80344D18 00341C78 7C 08 02 A6 */ mflr r0 +/* 80344D1C 00341C7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80344D20 00341C80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80344D24 00341C84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80344D28 00341C88 7C 7E 1B 78 */ mr r30, r3 +/* 80344D2C 00341C8C 48 02 8E 91 */ bl ARGetSize +/* 80344D30 00341C90 80 0D 9D 60 */ lwz r0, lbl_805A8920@sda21(r13) +/* 80344D34 00341C94 93 CD A9 68 */ stw r30, lbl_805A9528@sda21(r13) +/* 80344D38 00341C98 7C 00 18 50 */ subf r0, r0, r3 +/* 80344D3C 00341C9C 7F E0 F3 96 */ divwu r31, r0, r30 +/* 80344D40 00341CA0 7C 7E F9 D6 */ mullw r3, r30, r31 +/* 80344D44 00341CA4 93 ED A9 6C */ stw r31, lbl_805A952C@sda21(r13) +/* 80344D48 00341CA8 48 02 8C CD */ bl ARAlloc +/* 80344D4C 00341CAC 3C A0 80 3D */ lis r5, lbl_803D7F50@ha +/* 80344D50 00341CB0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80344D54 00341CB4 90 6D A9 64 */ stw r3, lbl_805A9524@sda21(r13) +/* 80344D58 00341CB8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80344D5C 00341CBC 38 A5 7F 50 */ addi r5, r5, lbl_803D7F50@l +/* 80344D60 00341CC0 38 61 00 08 */ addi r3, r1, 8 +/* 80344D64 00341CC4 38 80 FF FF */ li r4, -1 +/* 80344D68 00341CC8 4B F9 16 6D */ bl __ct__10CCallStackFUiPCcPCc +/* 80344D6C 00341CCC 7C 67 1B 78 */ mr r7, r3 +/* 80344D70 00341CD0 57 E3 10 3A */ slwi r3, r31, 2 +/* 80344D74 00341CD4 38 80 00 00 */ li r4, 0 +/* 80344D78 00341CD8 38 A0 00 01 */ li r5, 1 +/* 80344D7C 00341CDC 38 C0 00 00 */ li r6, 0 +/* 80344D80 00341CE0 4B FD 0C 15 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80344D84 00341CE4 80 0D A9 6C */ lwz r0, lbl_805A952C@sda21(r13) +/* 80344D88 00341CE8 90 6D A9 70 */ stw r3, lbl_805A9530@sda21(r13) +/* 80344D8C 00341CEC 54 03 10 3A */ slwi r3, r0, 2 +/* 80344D90 00341CF0 4B FD 0B 31 */ bl OffsetFakeStatics__7CMemoryFi +/* 80344D94 00341CF4 28 1F 00 00 */ cmplwi r31, 0 +/* 80344D98 00341CF8 39 80 00 00 */ li r12, 0 +/* 80344D9C 00341CFC 40 81 00 BC */ ble lbl_80344E58 +/* 80344DA0 00341D00 28 1F 00 08 */ cmplwi r31, 8 +/* 80344DA4 00341D04 38 7F FF F8 */ addi r3, r31, -8 +/* 80344DA8 00341D08 40 81 00 88 */ ble lbl_80344E30 +/* 80344DAC 00341D0C 38 03 00 07 */ addi r0, r3, 7 +/* 80344DB0 00341D10 39 60 00 00 */ li r11, 0 +/* 80344DB4 00341D14 54 00 E8 FE */ srwi r0, r0, 3 +/* 80344DB8 00341D18 7C 09 03 A6 */ mtctr r0 +/* 80344DBC 00341D1C 28 03 00 00 */ cmplwi r3, 0 +/* 80344DC0 00341D20 40 81 00 70 */ ble lbl_80344E30 +lbl_80344DC4: +/* 80344DC4 00341D24 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344DC8 00341D28 39 40 00 00 */ li r10, 0 +/* 80344DCC 00341D2C 39 0B 00 04 */ addi r8, r11, 4 +/* 80344DD0 00341D30 38 EB 00 08 */ addi r7, r11, 8 +/* 80344DD4 00341D34 7D 43 59 2E */ stwx r10, r3, r11 +/* 80344DD8 00341D38 38 CB 00 0C */ addi r6, r11, 0xc +/* 80344DDC 00341D3C 38 AB 00 10 */ addi r5, r11, 0x10 +/* 80344DE0 00341D40 38 8B 00 14 */ addi r4, r11, 0x14 +/* 80344DE4 00341D44 81 2D A9 70 */ lwz r9, lbl_805A9530@sda21(r13) +/* 80344DE8 00341D48 38 6B 00 18 */ addi r3, r11, 0x18 +/* 80344DEC 00341D4C 38 0B 00 1C */ addi r0, r11, 0x1c +/* 80344DF0 00341D50 39 6B 00 20 */ addi r11, r11, 0x20 +/* 80344DF4 00341D54 7D 49 41 2E */ stwx r10, r9, r8 +/* 80344DF8 00341D58 39 8C 00 08 */ addi r12, r12, 8 +/* 80344DFC 00341D5C 81 0D A9 70 */ lwz r8, lbl_805A9530@sda21(r13) +/* 80344E00 00341D60 7D 48 39 2E */ stwx r10, r8, r7 +/* 80344E04 00341D64 80 ED A9 70 */ lwz r7, lbl_805A9530@sda21(r13) +/* 80344E08 00341D68 7D 47 31 2E */ stwx r10, r7, r6 +/* 80344E0C 00341D6C 80 CD A9 70 */ lwz r6, lbl_805A9530@sda21(r13) +/* 80344E10 00341D70 7D 46 29 2E */ stwx r10, r6, r5 +/* 80344E14 00341D74 80 AD A9 70 */ lwz r5, lbl_805A9530@sda21(r13) +/* 80344E18 00341D78 7D 45 21 2E */ stwx r10, r5, r4 +/* 80344E1C 00341D7C 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344E20 00341D80 7D 44 19 2E */ stwx r10, r4, r3 +/* 80344E24 00341D84 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344E28 00341D88 7D 43 01 2E */ stwx r10, r3, r0 +/* 80344E2C 00341D8C 42 00 FF 98 */ bdnz lbl_80344DC4 +lbl_80344E30: +/* 80344E30 00341D90 7C 0C F8 50 */ subf r0, r12, r31 +/* 80344E34 00341D94 55 85 10 3A */ slwi r5, r12, 2 +/* 80344E38 00341D98 38 80 00 00 */ li r4, 0 +/* 80344E3C 00341D9C 7C 09 03 A6 */ mtctr r0 +/* 80344E40 00341DA0 7C 0C F8 40 */ cmplw r12, r31 +/* 80344E44 00341DA4 40 80 00 14 */ bge lbl_80344E58 +lbl_80344E48: +/* 80344E48 00341DA8 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344E4C 00341DAC 7C 83 29 2E */ stwx r4, r3, r5 +/* 80344E50 00341DB0 38 A5 00 04 */ addi r5, r5, 4 +/* 80344E54 00341DB4 42 00 FF F4 */ bdnz lbl_80344E48 +lbl_80344E58: +/* 80344E58 00341DB8 38 60 00 00 */ li r3, 0 +/* 80344E5C 00341DBC 38 00 00 01 */ li r0, 1 +/* 80344E60 00341DC0 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) +/* 80344E64 00341DC4 38 60 00 01 */ li r3, 1 +/* 80344E68 00341DC8 98 0D A9 60 */ stb r0, lbl_805A9520@sda21(r13) +/* 80344E6C 00341DCC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80344E70 00341DD0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80344E74 00341DD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80344E78 00341DD8 7C 08 03 A6 */ mtlr r0 +/* 80344E7C 00341DDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80344E80 00341DE0 4E 80 00 20 */ blr + +.global sub_80344e84 +sub_80344e84: +/* 80344E84 00341DE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344E88 00341DE8 7C 08 02 A6 */ mflr r0 +/* 80344E8C 00341DEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344E90 00341DF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80344E94 00341DF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80344E98 00341DF8 7C 7E 1B 78 */ mr r30, r3 +/* 80344E9C 00341DFC 80 03 00 04 */ lwz r0, 4(r3) +/* 80344EA0 00341E00 83 E4 00 04 */ lwz r31, 4(r4) +/* 80344EA4 00341E04 7C 04 00 40 */ cmplw r4, r0 +/* 80344EA8 00341E08 40 82 00 08 */ bne lbl_80344EB0 +/* 80344EAC 00341E0C 93 FE 00 04 */ stw r31, 4(r30) +lbl_80344EB0: +/* 80344EB0 00341E10 80 04 00 04 */ lwz r0, 4(r4) +/* 80344EB4 00341E14 28 04 00 00 */ cmplwi r4, 0 +/* 80344EB8 00341E18 80 64 00 00 */ lwz r3, 0(r4) +/* 80344EBC 00341E1C 90 03 00 04 */ stw r0, 4(r3) +/* 80344EC0 00341E20 80 04 00 00 */ lwz r0, 0(r4) +/* 80344EC4 00341E24 80 64 00 04 */ lwz r3, 4(r4) +/* 80344EC8 00341E28 90 03 00 00 */ stw r0, 0(r3) +/* 80344ECC 00341E2C 41 82 00 0C */ beq lbl_80344ED8 +/* 80344ED0 00341E30 7C 83 23 78 */ mr r3, r4 +/* 80344ED4 00341E34 4B FD 0A 5D */ bl Free__7CMemoryFPCv +lbl_80344ED8: +/* 80344ED8 00341E38 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80344EDC 00341E3C 7F E3 FB 78 */ mr r3, r31 +/* 80344EE0 00341E40 38 04 FF FF */ addi r0, r4, -1 +/* 80344EE4 00341E44 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80344EE8 00341E48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80344EEC 00341E4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80344EF0 00341E50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344EF4 00341E54 7C 08 03 A6 */ mtlr r0 +/* 80344EF8 00341E58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344EFC 00341E5C 4E 80 00 20 */ blr + +.global __sinit_CARAMManager_cpp +__sinit_CARAMManager_cpp: +/* 80344F00 00341E60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344F04 00341E64 7C 08 02 A6 */ mflr r0 +/* 80344F08 00341E68 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344F0C 00341E6C 3C 80 80 34 */ lis r4, "__dt__Q24rstl67listFv"@ha +/* 80344F10 00341E70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344F14 00341E74 38 63 67 9C */ addi r3, r3, lbl_805A679C@l +/* 80344F18 00341E78 38 C3 00 0C */ addi r6, r3, 0xc +/* 80344F1C 00341E7C 38 00 00 00 */ li r0, 0 +/* 80344F20 00341E80 3C A0 80 4C */ lis r5, lbl_804BFF40@ha +/* 80344F24 00341E84 90 C3 00 04 */ stw r6, 4(r3) +/* 80344F28 00341E88 38 84 4F 54 */ addi r4, r4, "__dt__Q24rstl67listFv"@l +/* 80344F2C 00341E8C 90 C3 00 08 */ stw r6, 8(r3) +/* 80344F30 00341E90 38 A5 FF 40 */ addi r5, r5, lbl_804BFF40@l +/* 80344F34 00341E94 90 C6 00 00 */ stw r6, 0(r6) +/* 80344F38 00341E98 90 C3 00 10 */ stw r6, 0x10(r3) +/* 80344F3C 00341E9C 90 03 00 14 */ stw r0, 0x14(r3) +/* 80344F40 00341EA0 48 04 47 4D */ bl __register_global_object +/* 80344F44 00341EA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344F48 00341EA8 7C 08 03 A6 */ mtlr r0 +/* 80344F4C 00341EAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344F50 00341EB0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl67listFv" +"__dt__Q24rstl67listFv": +/* 80344F54 00341EB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80344F58 00341EB8 7C 08 02 A6 */ mflr r0 +/* 80344F5C 00341EBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80344F60 00341EC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80344F64 00341EC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80344F68 00341EC8 7C 9E 23 78 */ mr r30, r4 +/* 80344F6C 00341ECC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80344F70 00341ED0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80344F74 00341ED4 41 82 00 38 */ beq lbl_80344FAC +/* 80344F78 00341ED8 83 FD 00 04 */ lwz r31, 4(r29) +/* 80344F7C 00341EDC 48 00 00 14 */ b lbl_80344F90 +lbl_80344F80: +/* 80344F80 00341EE0 7F E3 FB 79 */ or. r3, r31, r31 +/* 80344F84 00341EE4 83 FF 00 04 */ lwz r31, 4(r31) +/* 80344F88 00341EE8 41 82 00 08 */ beq lbl_80344F90 +/* 80344F8C 00341EEC 4B FD 09 A5 */ bl Free__7CMemoryFPCv +lbl_80344F90: +/* 80344F90 00341EF0 80 1D 00 08 */ lwz r0, 8(r29) +/* 80344F94 00341EF4 7C 1F 00 40 */ cmplw r31, r0 +/* 80344F98 00341EF8 40 82 FF E8 */ bne lbl_80344F80 +/* 80344F9C 00341EFC 7F C0 07 35 */ extsh. r0, r30 +/* 80344FA0 00341F00 40 81 00 0C */ ble lbl_80344FAC +/* 80344FA4 00341F04 7F A3 EB 78 */ mr r3, r29 +/* 80344FA8 00341F08 4B FD 09 89 */ bl Free__7CMemoryFPCv +lbl_80344FAC: +/* 80344FAC 00341F0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80344FB0 00341F10 7F A3 EB 78 */ mr r3, r29 +/* 80344FB4 00341F14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80344FB8 00341F18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80344FBC 00341F1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80344FC0 00341F20 7C 08 03 A6 */ mtlr r0 +/* 80344FC4 00341F24 38 21 00 20 */ addi r1, r1, 0x20 +/* 80344FC8 00341F28 4E 80 00 20 */ blr + +.global PointInFrustumPlanes__14CFrustumPlanesCFRC9CVector3f +PointInFrustumPlanes__14CFrustumPlanesCFRC9CVector3f: +/* 80344FCC 00341F2C 80 03 00 00 */ lwz r0, 0(r3) +/* 80344FD0 00341F30 38 63 00 04 */ addi r3, r3, 4 +/* 80344FD4 00341F34 7C 09 03 A6 */ mtctr r0 +/* 80344FD8 00341F38 2C 00 00 00 */ cmpwi r0, 0 +/* 80344FDC 00341F3C 40 81 00 48 */ ble lbl_80345024 +lbl_80344FE0: +/* 80344FE0 00341F40 C0 23 00 04 */ lfs f1, 4(r3) +/* 80344FE4 00341F44 C0 04 00 04 */ lfs f0, 4(r4) +/* 80344FE8 00341F48 C0 43 00 00 */ lfs f2, 0(r3) +/* 80344FEC 00341F4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80344FF0 00341F50 C0 24 00 00 */ lfs f1, 0(r4) +/* 80344FF4 00341F54 C0 83 00 08 */ lfs f4, 8(r3) +/* 80344FF8 00341F58 C0 64 00 08 */ lfs f3, 8(r4) +/* 80344FFC 00341F5C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80345000 00341F60 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80345004 00341F64 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80345008 00341F68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034500C 00341F6C 4C 41 13 82 */ cror 2, 1, 2 +/* 80345010 00341F70 40 82 00 0C */ bne lbl_8034501C +/* 80345014 00341F74 38 60 00 00 */ li r3, 0 +/* 80345018 00341F78 4E 80 00 20 */ blr +lbl_8034501C: +/* 8034501C 00341F7C 38 63 00 10 */ addi r3, r3, 0x10 +/* 80345020 00341F80 42 00 FF C0 */ bdnz lbl_80344FE0 +lbl_80345024: +/* 80345024 00341F84 38 60 00 01 */ li r3, 1 +/* 80345028 00341F88 4E 80 00 20 */ blr + +.global SphereInFrustumPlanes__14CFrustumPlanesCFRC7CSphere +SphereInFrustumPlanes__14CFrustumPlanesCFRC7CSphere: +/* 8034502C 00341F8C 80 03 00 00 */ lwz r0, 0(r3) +/* 80345030 00341F90 38 63 00 04 */ addi r3, r3, 4 +/* 80345034 00341F94 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80345038 00341F98 C0 C4 00 00 */ lfs f6, 0(r4) +/* 8034503C 00341F9C C0 E4 00 04 */ lfs f7, 4(r4) +/* 80345040 00341FA0 C1 04 00 08 */ lfs f8, 8(r4) +/* 80345044 00341FA4 C0 02 CB B0 */ lfs f0, lbl_805AE8D0@sda21(r2) +/* 80345048 00341FA8 7C 09 03 A6 */ mtctr r0 +/* 8034504C 00341FAC 2C 00 00 00 */ cmpwi r0, 0 +/* 80345050 00341FB0 40 81 00 40 */ ble lbl_80345090 +lbl_80345054: +/* 80345054 00341FB4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345058 00341FB8 C0 63 00 00 */ lfs f3, 0(r3) +/* 8034505C 00341FBC EC 41 01 F2 */ fmuls f2, f1, f7 +/* 80345060 00341FC0 C0 83 00 08 */ lfs f4, 8(r3) +/* 80345064 00341FC4 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80345068 00341FC8 EC 43 11 BA */ fmadds f2, f3, f6, f2 +/* 8034506C 00341FCC EC 44 12 3A */ fmadds f2, f4, f8, f2 +/* 80345070 00341FD0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80345074 00341FD4 EC 21 28 28 */ fsubs f1, f1, f5 +/* 80345078 00341FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034507C 00341FDC 40 81 00 0C */ ble lbl_80345088 +/* 80345080 00341FE0 38 60 00 00 */ li r3, 0 +/* 80345084 00341FE4 4E 80 00 20 */ blr +lbl_80345088: +/* 80345088 00341FE8 38 63 00 10 */ addi r3, r3, 0x10 +/* 8034508C 00341FEC 42 00 FF C8 */ bdnz lbl_80345054 +lbl_80345090: +/* 80345090 00341FF0 38 60 00 01 */ li r3, 1 +/* 80345094 00341FF4 4E 80 00 20 */ blr + +.global sub_80345098 +sub_80345098: +/* 80345098 00341FF8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034509C 00341FFC 7C 08 02 A6 */ mflr r0 +/* 803450A0 00342000 90 01 00 44 */ stw r0, 0x44(r1) +/* 803450A4 00342004 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 803450A8 00342008 7C 7B 1B 78 */ mr r27, r3 +/* 803450AC 0034200C 7C 9C 23 78 */ mr r28, r4 +/* 803450B0 00342010 3B C0 00 01 */ li r30, 1 +/* 803450B4 00342014 3B FB 00 04 */ addi r31, r27, 4 +/* 803450B8 00342018 3B A0 00 00 */ li r29, 0 +/* 803450BC 0034201C 48 00 00 A8 */ b lbl_80345164 +lbl_803450C0: +/* 803450C0 00342020 7F 84 E3 78 */ mr r4, r28 +/* 803450C4 00342024 7F E5 FB 78 */ mr r5, r31 +/* 803450C8 00342028 38 61 00 14 */ addi r3, r1, 0x14 +/* 803450CC 0034202C 4B FF 21 11 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 803450D0 00342030 C0 3F 00 04 */ lfs f1, 4(r31) +/* 803450D4 00342034 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 803450D8 00342038 C0 5F 00 00 */ lfs f2, 0(r31) +/* 803450DC 0034203C EC 01 00 32 */ fmuls f0, f1, f0 +/* 803450E0 00342040 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803450E4 00342044 C0 9F 00 08 */ lfs f4, 8(r31) +/* 803450E8 00342048 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 803450EC 0034204C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803450F0 00342050 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 803450F4 00342054 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 803450F8 00342058 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803450FC 0034205C 4C 41 13 82 */ cror 2, 1, 2 +/* 80345100 00342060 40 82 00 0C */ bne lbl_8034510C +/* 80345104 00342064 38 60 00 00 */ li r3, 0 +/* 80345108 00342068 48 00 00 6C */ b lbl_80345174 +lbl_8034510C: +/* 8034510C 0034206C 2C 1E 00 01 */ cmpwi r30, 1 +/* 80345110 00342070 40 82 00 4C */ bne lbl_8034515C +/* 80345114 00342074 7F 84 E3 78 */ mr r4, r28 +/* 80345118 00342078 7F E5 FB 78 */ mr r5, r31 +/* 8034511C 0034207C 38 61 00 08 */ addi r3, r1, 8 +/* 80345120 00342080 4B FF 20 FD */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 80345124 00342084 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80345128 00342088 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8034512C 0034208C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80345130 00342090 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80345134 00342094 C0 21 00 08 */ lfs f1, 8(r1) +/* 80345138 00342098 C0 9F 00 08 */ lfs f4, 8(r31) +/* 8034513C 0034209C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80345140 003420A0 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80345144 003420A4 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80345148 003420A8 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8034514C 003420AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80345150 003420B0 4C 41 13 82 */ cror 2, 1, 2 +/* 80345154 003420B4 40 82 00 08 */ bne lbl_8034515C +/* 80345158 003420B8 3B C0 00 02 */ li r30, 2 +lbl_8034515C: +/* 8034515C 003420BC 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80345160 003420C0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80345164: +/* 80345164 003420C4 80 1B 00 00 */ lwz r0, 0(r27) +/* 80345168 003420C8 7C 1D 00 00 */ cmpw r29, r0 +/* 8034516C 003420CC 41 80 FF 54 */ blt lbl_803450C0 +/* 80345170 003420D0 7F C3 F3 78 */ mr r3, r30 +lbl_80345174: +/* 80345174 003420D4 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 80345178 003420D8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034517C 003420DC 7C 08 03 A6 */ mtlr r0 +/* 80345180 003420E0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80345184 003420E4 4E 80 00 20 */ blr + +.global "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +"BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>": +/* 80345188 003420E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034518C 003420EC 7C 08 02 A6 */ mflr r0 +/* 80345190 003420F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80345194 003420F4 80 03 00 00 */ lwz r0, 0(r3) +/* 80345198 003420F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8034519C 003420FC 40 82 00 0C */ bne lbl_803451A8 +/* 803451A0 00342100 38 60 00 01 */ li r3, 1 +/* 803451A4 00342104 48 00 00 1C */ b lbl_803451C0 +lbl_803451A8: +/* 803451A8 00342108 88 04 00 18 */ lbz r0, 0x18(r4) +/* 803451AC 0034210C 28 00 00 00 */ cmplwi r0, 0 +/* 803451B0 00342110 41 82 00 0C */ beq lbl_803451BC +/* 803451B4 00342114 48 00 00 1D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 803451B8 00342118 48 00 00 08 */ b lbl_803451C0 +lbl_803451BC: +/* 803451BC 0034211C 38 60 00 00 */ li r3, 0 +lbl_803451C0: +/* 803451C0 00342120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803451C4 00342124 7C 08 03 A6 */ mtlr r0 +/* 803451C8 00342128 38 21 00 10 */ addi r1, r1, 0x10 +/* 803451CC 0034212C 4E 80 00 20 */ blr + +.global BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox: +/* 803451D0 00342130 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803451D4 00342134 7C 08 02 A6 */ mflr r0 +/* 803451D8 00342138 90 01 00 24 */ stw r0, 0x24(r1) +/* 803451DC 0034213C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803451E0 00342140 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803451E4 00342144 3B C0 00 00 */ li r30, 0 +/* 803451E8 00342148 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803451EC 0034214C 7C 9D 23 78 */ mr r29, r4 +/* 803451F0 00342150 93 81 00 10 */ stw r28, 0x10(r1) +/* 803451F4 00342154 7C 7C 1B 78 */ mr r28, r3 +/* 803451F8 00342158 3B FC 00 04 */ addi r31, r28, 4 +/* 803451FC 0034215C 48 00 00 28 */ b lbl_80345224 +lbl_80345200: +/* 80345200 00342160 7F A3 EB 78 */ mr r3, r29 +/* 80345204 00342164 7F E4 FB 78 */ mr r4, r31 +/* 80345208 00342168 4B FF 28 1D */ bl InsidePlane__6CAABoxCFRC6CPlane +/* 8034520C 0034216C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80345210 00342170 40 82 00 0C */ bne lbl_8034521C +/* 80345214 00342174 38 60 00 00 */ li r3, 0 +/* 80345218 00342178 48 00 00 1C */ b lbl_80345234 +lbl_8034521C: +/* 8034521C 0034217C 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80345220 00342180 3B DE 00 01 */ addi r30, r30, 1 +lbl_80345224: +/* 80345224 00342184 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345228 00342188 7C 1E 00 00 */ cmpw r30, r0 +/* 8034522C 0034218C 41 80 FF D4 */ blt lbl_80345200 +/* 80345230 00342190 38 60 00 01 */ li r3, 1 +lbl_80345234: +/* 80345234 00342194 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80345238 00342198 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034523C 0034219C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80345240 003421A0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80345244 003421A4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80345248 003421A8 7C 08 03 A6 */ mtlr r0 +/* 8034524C 003421AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80345250 003421B0 4E 80 00 20 */ blr + +.global __ct__14CFrustumPlanesFRC12CTransform4ffffbf +__ct__14CFrustumPlanesFRC12CTransform4ffffbf: +/* 80345254 003421B4 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80345258 003421B8 7C 08 02 A6 */ mflr r0 +/* 8034525C 003421BC 90 01 01 84 */ stw r0, 0x184(r1) +/* 80345260 003421C0 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 80345264 003421C4 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80345268 003421C8 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 8034526C 003421CC F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80345270 003421D0 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 80345274 003421D4 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80345278 003421D8 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 8034527C 003421DC F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 80345280 003421E0 DB 61 01 30 */ stfd f27, 0x130(r1) +/* 80345284 003421E4 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 +/* 80345288 003421E8 DB 41 01 20 */ stfd f26, 0x120(r1) +/* 8034528C 003421EC F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 +/* 80345290 003421F0 DB 21 01 10 */ stfd f25, 0x110(r1) +/* 80345294 003421F4 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 +/* 80345298 003421F8 BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 8034529C 003421FC C0 02 CB B4 */ lfs f0, lbl_805AE8D4@sda21(r2) +/* 803452A0 00342200 7C 7C 1B 78 */ mr r28, r3 +/* 803452A4 00342204 38 00 00 00 */ li r0, 0 +/* 803452A8 00342208 FF 40 10 90 */ fmr f26, f2 +/* 803452AC 0034220C EF 21 00 32 */ fmuls f25, f1, f0 +/* 803452B0 00342210 90 03 00 00 */ stw r0, 0(r3) +/* 803452B4 00342214 FF C0 18 90 */ fmr f30, f3 +/* 803452B8 00342218 7C 9B 23 78 */ mr r27, r4 +/* 803452BC 0034221C FF E0 20 90 */ fmr f31, f4 +/* 803452C0 00342220 FC 20 C8 90 */ fmr f1, f25 +/* 803452C4 00342224 7C BD 2B 78 */ mr r29, r5 +/* 803452C8 00342228 48 04 F1 29 */ bl cos +/* 803452CC 0034222C FF A0 08 90 */ fmr f29, f1 +/* 803452D0 00342230 FC 20 C8 90 */ fmr f1, f25 +/* 803452D4 00342234 48 04 F8 09 */ bl sin +/* 803452D8 00342238 FC 40 E8 18 */ frsp f2, f29 +/* 803452DC 0034223C FC 00 08 18 */ frsp f0, f1 +/* 803452E0 00342240 EF 39 06 B2 */ fmuls f25, f25, f26 +/* 803452E4 00342244 EC 5E 10 24 */ fdivs f2, f30, f2 +/* 803452E8 00342248 FC 20 C8 90 */ fmr f1, f25 +/* 803452EC 0034224C EF 42 00 32 */ fmuls f26, f2, f0 +/* 803452F0 00342250 48 04 F1 01 */ bl cos +/* 803452F4 00342254 FF A0 08 90 */ fmr f29, f1 +/* 803452F8 00342258 FC 20 C8 90 */ fmr f1, f25 +/* 803452FC 0034225C 48 04 F7 E1 */ bl sin +/* 80345300 00342260 FC 40 E8 18 */ frsp f2, f29 +/* 80345304 00342264 D3 C1 00 C0 */ stfs f30, 0xc0(r1) +/* 80345308 00342268 FC 60 D0 50 */ fneg f3, f26 +/* 8034530C 0034226C 7F 64 DB 78 */ mr r4, r27 +/* 80345310 00342270 FC 00 08 18 */ frsp f0, f1 +/* 80345314 00342274 D3 41 00 C4 */ stfs f26, 0xc4(r1) +/* 80345318 00342278 EC 3E 10 24 */ fdivs f1, f30, f2 +/* 8034531C 0034227C D3 C1 00 CC */ stfs f30, 0xcc(r1) +/* 80345320 00342280 38 61 00 80 */ addi r3, r1, 0x80 +/* 80345324 00342284 38 A1 00 BC */ addi r5, r1, 0xbc +/* 80345328 00342288 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 8034532C 0034228C D3 C1 00 D8 */ stfs f30, 0xd8(r1) +/* 80345330 00342290 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80345334 00342294 D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 80345338 00342298 D3 C1 00 E4 */ stfs f30, 0xe4(r1) +/* 8034533C 0034229C FC 00 08 50 */ fneg f0, f1 +/* 80345340 003422A0 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 80345344 003422A4 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 80345348 003422A8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8034534C 003422AC D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 80345350 003422B0 D3 41 00 E8 */ stfs f26, 0xe8(r1) +/* 80345354 003422B4 4B FC D7 2D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80345358 003422B8 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8034535C 003422BC 7F 64 DB 78 */ mr r4, r27 +/* 80345360 003422C0 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80345364 003422C4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80345368 003422C8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8034536C 003422CC 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80345370 003422D0 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80345374 003422D4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80345378 003422D8 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8034537C 003422DC 4B FC D7 05 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80345380 003422E0 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80345384 003422E4 7F 64 DB 78 */ mr r4, r27 +/* 80345388 003422E8 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8034538C 003422EC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80345390 003422F0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80345394 003422F4 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 80345398 003422F8 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8034539C 003422FC D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 803453A0 00342300 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 803453A4 00342304 4B FC D6 DD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 803453A8 00342308 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 803453AC 0034230C 7F 64 DB 78 */ mr r4, r27 +/* 803453B0 00342310 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 803453B4 00342314 38 61 00 5C */ addi r3, r1, 0x5c +/* 803453B8 00342318 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 803453BC 0034231C 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 803453C0 00342320 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 803453C4 00342324 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 803453C8 00342328 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 803453CC 0034232C 4B FC D6 B5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 803453D0 00342330 C0 02 CB B0 */ lfs f0, lbl_805AE8D0@sda21(r2) +/* 803453D4 00342334 7F 64 DB 78 */ mr r4, r27 +/* 803453D8 00342338 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 803453DC 0034233C 38 61 00 50 */ addi r3, r1, 0x50 +/* 803453E0 00342340 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 803453E4 00342344 38 A1 00 44 */ addi r5, r1, 0x44 +/* 803453E8 00342348 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 803453EC 0034234C D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 803453F0 00342350 C3 7B 00 2C */ lfs f27, 0x2c(r27) +/* 803453F4 00342354 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 803453F8 00342358 C3 9B 00 1C */ lfs f28, 0x1c(r27) +/* 803453FC 0034235C D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80345400 00342360 C3 BB 00 0C */ lfs f29, 0xc(r27) +/* 80345404 00342364 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80345408 00342368 D3 C1 00 48 */ stfs f30, 0x48(r1) +/* 8034540C 0034236C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80345410 00342370 4B FC D6 D9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80345414 00342374 3B C1 00 A4 */ addi r30, r1, 0xa4 +/* 80345418 00342378 3B E1 00 98 */ addi r31, r1, 0x98 +/* 8034541C 0034237C C3 C1 00 50 */ lfs f30, 0x50(r1) +/* 80345420 00342380 7F C5 F3 78 */ mr r5, r30 +/* 80345424 00342384 C3 41 00 54 */ lfs f26, 0x54(r1) +/* 80345428 00342388 7F E6 FB 78 */ mr r6, r31 +/* 8034542C 0034238C C3 21 00 58 */ lfs f25, 0x58(r1) +/* 80345430 00342390 38 61 00 38 */ addi r3, r1, 0x38 +/* 80345434 00342394 38 81 00 8C */ addi r4, r1, 0x8c +/* 80345438 00342398 48 00 02 79 */ bl sub_803456b0 +/* 8034543C 0034239C C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80345440 003423A0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345444 003423A4 EC 1A 00 72 */ fmuls f0, f26, f1 +/* 80345448 003423A8 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8034544C 003423AC 54 00 20 36 */ slwi r0, r0, 4 +/* 80345450 003423B0 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80345454 003423B4 7C 7C 02 14 */ add r3, r28, r0 +/* 80345458 003423B8 EC 1E 00 BA */ fmadds f0, f30, f2, f0 +/* 8034545C 003423BC 34 63 00 04 */ addic. r3, r3, 4 +/* 80345460 003423C0 EC 19 00 FA */ fmadds f0, f25, f3, f0 +/* 80345464 003423C4 41 82 00 14 */ beq lbl_80345478 +/* 80345468 003423C8 D0 43 00 00 */ stfs f2, 0(r3) +/* 8034546C 003423CC D0 23 00 04 */ stfs f1, 4(r3) +/* 80345470 003423D0 D0 63 00 08 */ stfs f3, 8(r3) +/* 80345474 003423D4 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_80345478: +/* 80345478 003423D8 80 DC 00 00 */ lwz r6, 0(r28) +/* 8034547C 003423DC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80345480 003423E0 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80345484 003423E4 7F E5 FB 78 */ mr r5, r31 +/* 80345488 003423E8 38 06 00 01 */ addi r0, r6, 1 +/* 8034548C 003423EC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80345490 003423F0 90 1C 00 00 */ stw r0, 0(r28) +/* 80345494 003423F4 38 C1 00 8C */ addi r6, r1, 0x8c +/* 80345498 003423F8 48 00 02 19 */ bl sub_803456b0 +/* 8034549C 003423FC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 803454A0 00342400 80 1C 00 00 */ lwz r0, 0(r28) +/* 803454A4 00342404 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 803454A8 00342408 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 803454AC 0034240C 54 00 20 36 */ slwi r0, r0, 4 +/* 803454B0 00342410 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 803454B4 00342414 7C 7C 02 14 */ add r3, r28, r0 +/* 803454B8 00342418 EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 803454BC 0034241C 34 63 00 04 */ addic. r3, r3, 4 +/* 803454C0 00342420 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 803454C4 00342424 41 82 00 14 */ beq lbl_803454D8 +/* 803454C8 00342428 D0 43 00 00 */ stfs f2, 0(r3) +/* 803454CC 0034242C D0 23 00 04 */ stfs f1, 4(r3) +/* 803454D0 00342430 D0 63 00 08 */ stfs f3, 8(r3) +/* 803454D4 00342434 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_803454D8: +/* 803454D8 00342438 80 BC 00 00 */ lwz r5, 0(r28) +/* 803454DC 0034243C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803454E0 00342440 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803454E4 00342444 3B 61 00 B0 */ addi r27, r1, 0xb0 +/* 803454E8 00342448 38 05 00 01 */ addi r0, r5, 1 +/* 803454EC 0034244C 7F C6 F3 78 */ mr r6, r30 +/* 803454F0 00342450 90 1C 00 00 */ stw r0, 0(r28) +/* 803454F4 00342454 7F 65 DB 78 */ mr r5, r27 +/* 803454F8 00342458 38 61 00 20 */ addi r3, r1, 0x20 +/* 803454FC 0034245C 48 00 01 B5 */ bl sub_803456b0 +/* 80345500 00342460 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80345504 00342464 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345508 00342468 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 8034550C 0034246C C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80345510 00342470 54 00 20 36 */ slwi r0, r0, 4 +/* 80345514 00342474 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 80345518 00342478 7C 7C 02 14 */ add r3, r28, r0 +/* 8034551C 0034247C EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 80345520 00342480 34 63 00 04 */ addic. r3, r3, 4 +/* 80345524 00342484 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 80345528 00342488 41 82 00 14 */ beq lbl_8034553C +/* 8034552C 0034248C D0 43 00 00 */ stfs f2, 0(r3) +/* 80345530 00342490 D0 23 00 04 */ stfs f1, 4(r3) +/* 80345534 00342494 D0 63 00 08 */ stfs f3, 8(r3) +/* 80345538 00342498 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_8034553C: +/* 8034553C 0034249C 80 BC 00 00 */ lwz r5, 0(r28) +/* 80345540 003424A0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80345544 003424A4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80345548 003424A8 7F 66 DB 78 */ mr r6, r27 +/* 8034554C 003424AC 38 05 00 01 */ addi r0, r5, 1 +/* 80345550 003424B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80345554 003424B4 90 1C 00 00 */ stw r0, 0(r28) +/* 80345558 003424B8 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8034555C 003424BC 48 00 01 55 */ bl sub_803456b0 +/* 80345560 003424C0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80345564 003424C4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345568 003424C8 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 8034556C 003424CC C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80345570 003424D0 54 00 20 36 */ slwi r0, r0, 4 +/* 80345574 003424D4 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80345578 003424D8 7C 7C 02 14 */ add r3, r28, r0 +/* 8034557C 003424DC EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 80345580 003424E0 34 63 00 04 */ addic. r3, r3, 4 +/* 80345584 003424E4 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 80345588 003424E8 41 82 00 14 */ beq lbl_8034559C +/* 8034558C 003424EC D0 43 00 00 */ stfs f2, 0(r3) +/* 80345590 003424F0 D0 23 00 04 */ stfs f1, 4(r3) +/* 80345594 003424F4 D0 63 00 08 */ stfs f3, 8(r3) +/* 80345598 003424F8 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_8034559C: +/* 8034559C 003424FC 80 DC 00 00 */ lwz r6, 0(r28) +/* 803455A0 00342500 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803455A4 00342504 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803455A8 00342508 7F C5 F3 78 */ mr r5, r30 +/* 803455AC 0034250C 38 06 00 01 */ addi r0, r6, 1 +/* 803455B0 00342510 7F E6 FB 78 */ mr r6, r31 +/* 803455B4 00342514 90 1C 00 00 */ stw r0, 0(r28) +/* 803455B8 00342518 38 61 00 08 */ addi r3, r1, 8 +/* 803455BC 0034251C 48 00 00 F5 */ bl sub_803456b0 +/* 803455C0 00342520 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803455C4 00342524 80 1C 00 00 */ lwz r0, 0(r28) +/* 803455C8 00342528 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 803455CC 0034252C C0 41 00 08 */ lfs f2, 8(r1) +/* 803455D0 00342530 54 00 20 36 */ slwi r0, r0, 4 +/* 803455D4 00342534 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 803455D8 00342538 7C 7C 02 14 */ add r3, r28, r0 +/* 803455DC 0034253C EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 803455E0 00342540 34 63 00 04 */ addic. r3, r3, 4 +/* 803455E4 00342544 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 803455E8 00342548 41 82 00 14 */ beq lbl_803455FC +/* 803455EC 0034254C D0 43 00 00 */ stfs f2, 0(r3) +/* 803455F0 00342550 D0 23 00 04 */ stfs f1, 4(r3) +/* 803455F4 00342554 D0 63 00 08 */ stfs f3, 8(r3) +/* 803455F8 00342558 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_803455FC: +/* 803455FC 0034255C 80 7C 00 00 */ lwz r3, 0(r28) +/* 80345600 00342560 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80345604 00342564 38 03 00 01 */ addi r0, r3, 1 +/* 80345608 00342568 90 1C 00 00 */ stw r0, 0(r28) +/* 8034560C 0034256C 41 82 00 54 */ beq lbl_80345660 +/* 80345610 00342570 38 7C 00 04 */ addi r3, r28, 4 +/* 80345614 00342574 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345618 00342578 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8034561C 0034257C C0 5C 00 08 */ lfs f2, 8(r28) +/* 80345620 00342580 54 00 20 36 */ slwi r0, r0, 4 +/* 80345624 00342584 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 80345628 00342588 FC 60 00 50 */ fneg f3, f0 +/* 8034562C 0034258C C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 80345630 00342590 FC 40 10 50 */ fneg f2, f2 +/* 80345634 00342594 FC 20 08 50 */ fneg f1, f1 +/* 80345638 00342598 7C 63 02 15 */ add. r3, r3, r0 +/* 8034563C 0034259C EC 1F 00 28 */ fsubs f0, f31, f0 +/* 80345640 003425A0 41 82 00 14 */ beq lbl_80345654 +/* 80345644 003425A4 D0 63 00 00 */ stfs f3, 0(r3) +/* 80345648 003425A8 D0 43 00 04 */ stfs f2, 4(r3) +/* 8034564C 003425AC D0 23 00 08 */ stfs f1, 8(r3) +/* 80345650 003425B0 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_80345654: +/* 80345654 003425B4 80 7C 00 00 */ lwz r3, 0(r28) +/* 80345658 003425B8 38 03 00 01 */ addi r0, r3, 1 +/* 8034565C 003425BC 90 1C 00 00 */ stw r0, 0(r28) +lbl_80345660: +/* 80345660 003425C0 7F 83 E3 78 */ mr r3, r28 +/* 80345664 003425C4 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80345668 003425C8 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8034566C 003425CC E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80345670 003425D0 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80345674 003425D4 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80345678 003425D8 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 8034567C 003425DC E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 80345680 003425E0 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 80345684 003425E4 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 +/* 80345688 003425E8 CB 61 01 30 */ lfd f27, 0x130(r1) +/* 8034568C 003425EC E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 +/* 80345690 003425F0 CB 41 01 20 */ lfd f26, 0x120(r1) +/* 80345694 003425F4 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 +/* 80345698 003425F8 CB 21 01 10 */ lfd f25, 0x110(r1) +/* 8034569C 003425FC BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 803456A0 00342600 80 01 01 84 */ lwz r0, 0x184(r1) +/* 803456A4 00342604 7C 08 03 A6 */ mtlr r0 +/* 803456A8 00342608 38 21 01 80 */ addi r1, r1, 0x180 +/* 803456AC 0034260C 4E 80 00 20 */ blr + +.global sub_803456b0 +sub_803456b0: +/* 803456B0 00342610 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803456B4 00342614 7C 08 02 A6 */ mflr r0 +/* 803456B8 00342618 90 01 00 34 */ stw r0, 0x34(r1) +/* 803456BC 0034261C C0 26 00 00 */ lfs f1, 0(r6) +/* 803456C0 00342620 C0 44 00 00 */ lfs f2, 0(r4) +/* 803456C4 00342624 C0 05 00 00 */ lfs f0, 0(r5) +/* 803456C8 00342628 ED 01 10 28 */ fsubs f8, f1, f2 +/* 803456CC 0034262C C0 26 00 04 */ lfs f1, 4(r6) +/* 803456D0 00342630 EC 60 10 28 */ fsubs f3, f0, f2 +/* 803456D4 00342634 C0 84 00 04 */ lfs f4, 4(r4) +/* 803456D8 00342638 C0 44 00 08 */ lfs f2, 8(r4) +/* 803456DC 0034263C 38 81 00 20 */ addi r4, r1, 0x20 +/* 803456E0 00342640 EC E1 20 28 */ fsubs f7, f1, f4 +/* 803456E4 00342644 C0 06 00 08 */ lfs f0, 8(r6) +/* 803456E8 00342648 C0 25 00 04 */ lfs f1, 4(r5) +/* 803456EC 0034264C EC C0 10 28 */ fsubs f6, f0, f2 +/* 803456F0 00342650 C0 05 00 08 */ lfs f0, 8(r5) +/* 803456F4 00342654 EC A1 20 28 */ fsubs f5, f1, f4 +/* 803456F8 00342658 EC 80 10 28 */ fsubs f4, f0, f2 +/* 803456FC 0034265C D1 01 00 08 */ stfs f8, 8(r1) +/* 80345700 00342660 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 80345704 00342664 EC 08 01 72 */ fmuls f0, f8, f5 +/* 80345708 00342668 D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 8034570C 0034266C EC 47 01 32 */ fmuls f2, f7, f4 +/* 80345710 00342670 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 +/* 80345714 00342674 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80345718 00342678 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 8034571C 0034267C EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 80345720 00342680 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80345724 00342684 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80345728 00342688 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8034572C 0034268C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80345730 00342690 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80345734 00342694 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80345738 00342698 4B FC E6 99 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8034573C 0034269C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80345740 003426A0 7C 08 03 A6 */ mtlr r0 +/* 80345744 003426A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80345748 003426A8 4E 80 00 20 */ blr + +.global GetCompressedBlend__13CCubeMaterialCFv +GetCompressedBlend__13CCubeMaterialCFv: +/* 8034574C 003426AC 80 83 00 00 */ lwz r4, 0(r3) +/* 80345750 003426B0 80 04 00 00 */ lwz r0, 0(r4) +/* 80345754 003426B4 80 64 00 04 */ lwz r3, 4(r4) +/* 80345758 003426B8 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c +/* 8034575C 003426BC 54 63 10 3A */ slwi r3, r3, 2 +/* 80345760 003426C0 38 A3 00 10 */ addi r5, r3, 0x10 +/* 80345764 003426C4 7C A4 2A 14 */ add r5, r4, r5 +/* 80345768 003426C8 41 82 00 14 */ beq lbl_8034577C +/* 8034576C 003426CC 80 65 00 00 */ lwz r3, 0(r5) +/* 80345770 003426D0 38 03 00 01 */ addi r0, r3, 1 +/* 80345774 003426D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80345778 003426D8 7C A5 02 14 */ add r5, r5, r0 +lbl_8034577C: +/* 8034577C 003426DC 80 65 00 00 */ lwz r3, 0(r5) +/* 80345780 003426E0 4E 80 00 20 */ blr + +.global DisableShadowMaps__10CCubeModelFv +DisableShadowMaps__10CCubeModelFv: +/* 80345784 003426E4 38 00 00 00 */ li r0, 0 +/* 80345788 003426E8 98 0D A9 9A */ stb r0, lbl_805A955A@sda21(r13) +/* 8034578C 003426EC 4E 80 00 20 */ blr + +.global EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc +EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc: +/* 80345790 003426F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80345794 003426F4 7C 08 02 A6 */ mflr r0 +/* 80345798 003426F8 3C E0 80 4C */ lis r7, lbl_804BFF5C@ha +/* 8034579C 003426FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803457A0 00342700 38 00 00 01 */ li r0, 1 +/* 803457A4 00342704 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803457A8 00342708 7C DF 33 78 */ mr r31, r6 +/* 803457AC 0034270C 93 C1 00 08 */ stw r30, 8(r1) +/* 803457B0 00342710 7C BE 2B 78 */ mr r30, r5 +/* 803457B4 00342714 98 0D A9 9A */ stb r0, lbl_805A955A@sda21(r13) +/* 803457B8 00342718 38 07 FF 5C */ addi r0, r7, lbl_804BFF5C@l +/* 803457BC 0034271C 90 6D A9 9C */ stw r3, lbl_805A955C@sda21(r13) +/* 803457C0 00342720 7C 03 03 78 */ mr r3, r0 +/* 803457C4 00342724 4B FC D3 7D */ bl __as__12CTransform4fFRC12CTransform4f +/* 803457C8 00342728 9B CD A9 A0 */ stb r30, lbl_805A9560@sda21(r13) +/* 803457CC 0034272C 9B ED A9 A1 */ stb r31, lbl_805A9561@sda21(r13) +/* 803457D0 00342730 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803457D4 00342734 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803457D8 00342738 83 C1 00 08 */ lwz r30, 8(r1) +/* 803457DC 0034273C 7C 08 03 A6 */ mtlr r0 +/* 803457E0 00342740 38 21 00 10 */ addi r1, r1, 0x10 +/* 803457E4 00342744 4E 80 00 20 */ blr + +.global SetRenderModelBlack__10CCubeModelFb +SetRenderModelBlack__10CCubeModelFb: +/* 803457E8 00342748 38 00 00 00 */ li r0, 0 +/* 803457EC 0034274C 98 6D A9 98 */ stb r3, lbl_805A9558@sda21(r13) +/* 803457F0 00342750 98 0D A9 99 */ stb r0, lbl_805A9559@sda21(r13) +/* 803457F4 00342754 4E 80 00 20 */ blr + +.global SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch +SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch: +/* 803457F8 00342758 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803457FC 0034275C 7C 08 02 A6 */ mflr r0 +/* 80345800 00342760 3C 80 80 4C */ lis r4, lbl_804BFF50@ha +/* 80345804 00342764 90 01 00 24 */ stw r0, 0x24(r1) +/* 80345808 00342768 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034580C 0034276C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80345810 00342770 C0 43 00 00 */ lfs f2, 0(r3) +/* 80345814 00342774 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345818 00342778 D4 44 FF 50 */ stfsu f2, lbl_804BFF50@l(r4) +/* 8034581C 0034277C C0 03 00 08 */ lfs f0, 8(r3) +/* 80345820 00342780 D0 24 00 04 */ stfs f1, 4(r4) +/* 80345824 00342784 D0 04 00 08 */ stfs f0, 8(r4) +/* 80345828 00342788 48 00 01 19 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 8034582C 0034278C 48 03 FB 7D */ bl OSGetTime +/* 80345830 00342790 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 80345834 00342794 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 80345838 00342798 80 A6 00 08 */ lwz r5, 8(r6) +/* 8034583C 0034279C 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80345840 003427A0 48 04 43 8D */ bl __div2i +/* 80345844 003427A4 38 A0 00 00 */ li r5, 0 +/* 80345848 003427A8 38 C0 03 E8 */ li r6, 0x3e8 +/* 8034584C 003427AC 48 04 43 81 */ bl __div2i +/* 80345850 003427B0 C0 22 CB C4 */ lfs f1, lbl_805AE8E4@sda21(r2) +/* 80345854 003427B4 7C 9E 23 78 */ mr r30, r4 +/* 80345858 003427B8 C0 02 CB C8 */ lfs f0, lbl_805AE8E8@sda21(r2) +/* 8034585C 003427BC 7C 7F 1B 78 */ mr r31, r3 +/* 80345860 003427C0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80345864 003427C4 48 04 40 F1 */ bl __cvt_fp2unsigned +/* 80345868 003427C8 7C 66 1B 78 */ mr r6, r3 +/* 8034586C 003427CC 7F E3 FB 78 */ mr r3, r31 +/* 80345870 003427D0 7F C4 F3 78 */ mr r4, r30 +/* 80345874 003427D4 38 A0 00 00 */ li r5, 0 +/* 80345878 003427D8 48 04 45 71 */ bl __mod2i +/* 8034587C 003427DC 3C 00 43 30 */ lis r0, 0x4330 +/* 80345880 003427E0 90 81 00 0C */ stw r4, 0xc(r1) +/* 80345884 003427E4 C8 62 CB F0 */ lfd f3, lbl_805AE910@sda21(r2) +/* 80345888 003427E8 90 01 00 08 */ stw r0, 8(r1) +/* 8034588C 003427EC C0 42 CB CC */ lfs f2, lbl_805AE8EC@sda21(r2) +/* 80345890 003427F0 C8 01 00 08 */ lfd f0, 8(r1) +/* 80345894 003427F4 C0 22 CB E0 */ lfs f1, lbl_805AE900@sda21(r2) +/* 80345898 003427F8 EC 60 18 28 */ fsubs f3, f0, f3 +/* 8034589C 003427FC C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 803458A0 00342800 EC 43 10 24 */ fdivs f2, f3, f2 +/* 803458A4 00342804 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803458A8 00342808 D0 4D A9 94 */ stfs f2, lbl_805A9554@sda21(r13) +/* 803458AC 0034280C 48 04 F2 31 */ bl sin +/* 803458B0 00342810 C0 02 CB D8 */ lfs f0, lbl_805AE8F8@sda21(r2) +/* 803458B4 00342814 C8 82 CB D0 */ lfd f4, lbl_805AE8F0@sda21(r2) +/* 803458B8 00342818 C0 4D A9 94 */ lfs f2, lbl_805A9554@sda21(r13) +/* 803458BC 0034281C FC 60 20 7C */ fnmsub f3, f0, f1, f4 +/* 803458C0 00342820 C0 22 CB E0 */ lfs f1, lbl_805AE900@sda21(r2) +/* 803458C4 00342824 C0 02 CB E8 */ lfs f0, lbl_805AE908@sda21(r2) +/* 803458C8 00342828 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803458CC 0034282C FC 04 18 24 */ fdiv f0, f4, f3 +/* 803458D0 00342830 FC 00 00 18 */ frsp f0, f0 +/* 803458D4 00342834 D0 0D 9D 6C */ stfs f0, lbl_805A892C@sda21(r13) +/* 803458D8 00342838 48 04 F2 05 */ bl sin +/* 803458DC 0034283C C0 02 CB E4 */ lfs f0, lbl_805AE904@sda21(r2) +/* 803458E0 00342840 C8 42 CB D0 */ lfd f2, lbl_805AE8F0@sda21(r2) +/* 803458E4 00342844 FC 00 10 7C */ fnmsub f0, f0, f1, f2 +/* 803458E8 00342848 FC 02 00 24 */ fdiv f0, f2, f0 +/* 803458EC 0034284C FC 00 00 18 */ frsp f0, f0 +/* 803458F0 00342850 D0 0D 9D 70 */ stfs f0, lbl_805A8930@sda21(r13) +/* 803458F4 00342854 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803458F8 00342858 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803458FC 0034285C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80345900 00342860 7C 08 03 A6 */ mtlr r0 +/* 80345904 00342864 38 21 00 20 */ addi r1, r1, 0x20 +/* 80345908 00342868 4E 80 00 20 */ blr + +.global ResetCachedMaterials__13CCubeMaterialFv +ResetCachedMaterials__13CCubeMaterialFv: +/* 8034590C 0034286C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80345910 00342870 7C 08 02 A6 */ mflr r0 +/* 80345914 00342874 90 01 00 14 */ stw r0, 0x14(r1) +/* 80345918 00342878 48 00 00 29 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 8034591C 0034287C 38 60 00 00 */ li r3, 0 +/* 80345920 00342880 38 00 FF FF */ li r0, -1 +/* 80345924 00342884 90 6D A9 88 */ stw r3, lbl_805A9548@sda21(r13) +/* 80345928 00342888 90 6D A9 8C */ stw r3, lbl_805A954C@sda21(r13) +/* 8034592C 0034288C 90 0D 9D 68 */ stw r0, lbl_805A8928@sda21(r13) +/* 80345930 00342890 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80345934 00342894 7C 08 03 A6 */ mtlr r0 +/* 80345938 00342898 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034593C 0034289C 4E 80 00 20 */ blr + +.global KillCachedViewDepState__13CCubeMaterialFv +KillCachedViewDepState__13CCubeMaterialFv: +/* 80345940 003428A0 38 00 00 00 */ li r0, 0 +/* 80345944 003428A4 90 0D A9 84 */ stw r0, lbl_805A9544@sda21(r13) +/* 80345948 003428A8 4E 80 00 20 */ blr + +.global EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface +EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface: +/* 8034594C 003428AC 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80345950 003428B0 7C 08 02 A6 */ mflr r0 +/* 80345954 003428B4 90 01 01 84 */ stw r0, 0x184(r1) +/* 80345958 003428B8 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 8034595C 003428BC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80345960 003428C0 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 80345964 003428C4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80345968 003428C8 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 8034596C 003428CC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80345970 003428D0 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 80345974 003428D4 93 C1 01 48 */ stw r30, 0x148(r1) +/* 80345978 003428D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034597C 003428DC 40 82 00 14 */ bne lbl_80345990 +/* 80345980 003428E0 80 6D A9 84 */ lwz r3, lbl_805A9544@sda21(r13) +/* 80345984 003428E4 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) +/* 80345988 003428E8 7C 03 00 40 */ cmplw r3, r0 +/* 8034598C 003428EC 41 82 04 A0 */ beq lbl_80345E2C +lbl_80345990: +/* 80345990 003428F0 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) +/* 80345994 003428F4 28 00 00 00 */ cmplwi r0, 0 +/* 80345998 003428F8 40 82 00 08 */ bne lbl_803459A0 +/* 8034599C 003428FC 48 00 04 90 */ b lbl_80345E2C +lbl_803459A0: +/* 803459A0 00342900 3C A0 80 4C */ lis r5, lbl_804BFF50@ha +/* 803459A4 00342904 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 803459A8 00342908 38 83 62 04 */ addi r4, r3, lbl_805A6204@l +/* 803459AC 0034290C 3B E5 FF 50 */ addi r31, r5, lbl_804BFF50@l +/* 803459B0 00342910 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 803459B4 00342914 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803459B8 00342918 38 61 00 3C */ addi r3, r1, 0x3c +/* 803459BC 0034291C C0 7F 00 04 */ lfs f3, 4(r31) +/* 803459C0 00342920 38 A1 00 0C */ addi r5, r1, 0xc +/* 803459C4 00342924 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803459C8 00342928 C0 44 00 1C */ lfs f2, 0x1c(r4) +/* 803459CC 0034292C C0 3F 00 08 */ lfs f1, 8(r31) +/* 803459D0 00342930 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 803459D4 00342934 EC 43 10 28 */ fsubs f2, f3, f2 +/* 803459D8 00342938 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 803459DC 0034293C EC 01 00 28 */ fsubs f0, f1, f0 +/* 803459E0 00342940 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803459E4 00342944 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803459E8 00342948 4B FC D0 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 803459EC 0034294C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803459F0 00342950 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 803459F4 00342954 C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 803459F8 00342958 28 1E 00 00 */ cmplwi r30, 0 +/* 803459FC 0034295C C0 81 00 40 */ lfs f4, 0x40(r1) +/* 80345A00 00342960 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80345A04 00342964 80 8D A9 88 */ lwz r4, lbl_805A9548@sda21(r13) +/* 80345A08 00342968 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345A0C 0034296C C0 03 00 08 */ lfs f0, 8(r3) +/* 80345A10 00342970 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 80345A14 00342974 C3 E2 CB DC */ lfs f31, lbl_805AE8FC@sda21(r2) +/* 80345A18 00342978 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 80345A1C 0034297C D0 61 00 84 */ stfs f3, 0x84(r1) +/* 80345A20 00342980 90 8D A9 84 */ stw r4, lbl_805A9544@sda21(r13) +/* 80345A24 00342984 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80345A28 00342988 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80345A2C 0034298C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80345A30 00342990 41 82 00 7C */ beq lbl_80345AAC +/* 80345A34 00342994 38 00 00 02 */ li r0, 2 +/* 80345A38 00342998 80 7E 00 00 */ lwz r3, 0(r30) +/* 80345A3C 0034299C 90 0D A9 80 */ stw r0, lbl_805A9540@sda21(r13) +/* 80345A40 003429A0 C0 C3 00 24 */ lfs f6, 0x24(r3) +/* 80345A44 003429A4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345A48 003429A8 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80345A4C 003429AC C0 E3 00 20 */ lfs f7, 0x20(r3) +/* 80345A50 003429B0 EC 21 01 B2 */ fmuls f1, f1, f6 +/* 80345A54 003429B4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80345A58 003429B8 C1 03 00 28 */ lfs f8, 0x28(r3) +/* 80345A5C 003429BC EC 07 01 7A */ fmadds f0, f7, f5, f0 +/* 80345A60 003429C0 EC 22 09 FA */ fmadds f1, f2, f7, f1 +/* 80345A64 003429C4 C0 43 00 08 */ lfs f2, 8(r3) +/* 80345A68 003429C8 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 80345A6C 003429CC EC 08 00 FA */ fmadds f0, f8, f3, f0 +/* 80345A70 003429D0 EC 22 0A 3A */ fmadds f1, f2, f8, f1 +/* 80345A74 003429D4 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 80345A78 003429D8 D1 01 00 68 */ stfs f8, 0x68(r1) +/* 80345A7C 003429DC EC 00 08 28 */ fsubs f0, f0, f1 +/* 80345A80 003429E0 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80345A84 003429E4 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 80345A88 003429E8 EC 20 01 B2 */ fmuls f1, f0, f6 +/* 80345A8C 003429EC EC 00 02 32 */ fmuls f0, f0, f8 +/* 80345A90 003429F0 EC 45 10 28 */ fsubs f2, f5, f2 +/* 80345A94 003429F4 EC 24 08 28 */ fsubs f1, f4, f1 +/* 80345A98 003429F8 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80345A9C 003429FC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80345AA0 00342A00 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80345AA4 00342A04 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80345AA8 00342A08 48 00 00 60 */ b lbl_80345B08 +lbl_80345AAC: +/* 80345AAC 00342A0C 38 00 00 01 */ li r0, 1 +/* 80345AB0 00342A10 3B C4 00 20 */ addi r30, r4, 0x20 +/* 80345AB4 00342A14 90 0D A9 80 */ stw r0, lbl_805A9540@sda21(r13) +/* 80345AB8 00342A18 7F C4 F3 78 */ mr r4, r30 +/* 80345ABC 00342A1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80345AC0 00342A20 4B FF 1B 4D */ bl GetCenterPoint__6CAABoxCFv +/* 80345AC4 00342A24 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 80345AC8 00342A28 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80345ACC 00342A2C C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 80345AD0 00342A30 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80345AD4 00342A34 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80345AD8 00342A38 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80345ADC 00342A3C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80345AE0 00342A40 C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80345AE4 00342A44 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) +/* 80345AE8 00342A48 C0 81 00 34 */ lfs f4, 0x34(r1) +/* 80345AEC 00342A4C EC 02 00 2A */ fadds f0, f2, f0 +/* 80345AF0 00342A50 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80345AF4 00342A54 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80345AF8 00342A58 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80345AFC 00342A5C EF E1 00 32 */ fmuls f31, f1, f0 +/* 80345B00 00342A60 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 80345B04 00342A64 D0 41 00 78 */ stfs f2, 0x78(r1) +lbl_80345B08: +/* 80345B08 00342A68 80 AD A5 F0 */ lwz r5, lbl_805A91B0@sda21(r13) +/* 80345B0C 00342A6C 88 85 03 18 */ lbz r4, 0x318(r5) +/* 80345B10 00342A70 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80345B14 00342A74 41 82 00 A4 */ beq lbl_80345BB8 +/* 80345B18 00342A78 3C 80 80 5A */ lis r4, lbl_805A67B4@ha +/* 80345B1C 00342A7C 3C 60 80 4C */ lis r3, lbl_804BFF50@ha +/* 80345B20 00342A80 38 84 67 B4 */ addi r4, r4, lbl_805A67B4@l +/* 80345B24 00342A84 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80345B28 00342A88 C0 04 00 04 */ lfs f0, 4(r4) +/* 80345B2C 00342A8C C1 41 00 74 */ lfs f10, 0x74(r1) +/* 80345B30 00342A90 EC 80 08 28 */ fsubs f4, f0, f1 +/* 80345B34 00342A94 C0 04 00 00 */ lfs f0, 0(r4) +/* 80345B38 00342A98 C0 43 FF 50 */ lfs f2, lbl_804BFF50@l(r3) +/* 80345B3C 00342A9C EC CA 08 28 */ fsubs f6, f10, f1 +/* 80345B40 00342AA0 C1 21 00 70 */ lfs f9, 0x70(r1) +/* 80345B44 00342AA4 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80345B48 00342AA8 EC E9 10 28 */ fsubs f7, f9, f2 +/* 80345B4C 00342AAC C0 04 00 08 */ lfs f0, 8(r4) +/* 80345B50 00342AB0 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80345B54 00342AB4 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80345B58 00342AB8 C1 61 00 78 */ lfs f11, 0x78(r1) +/* 80345B5C 00342ABC ED 00 18 28 */ fsubs f8, f0, f3 +/* 80345B60 00342AC0 EC AB 18 28 */ fsubs f5, f11, f3 +/* 80345B64 00342AC4 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80345B68 00342AC8 EC 61 00 72 */ fmuls f3, f1, f1 +/* 80345B6C 00342ACC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80345B70 00342AD0 EC 27 01 F2 */ fmuls f1, f7, f7 +/* 80345B74 00342AD4 EC 06 01 B2 */ fmuls f0, f6, f6 +/* 80345B78 00342AD8 EC 63 10 2A */ fadds f3, f3, f2 +/* 80345B7C 00342ADC D1 01 00 20 */ stfs f8, 0x20(r1) +/* 80345B80 00342AE0 EC 88 02 32 */ fmuls f4, f8, f8 +/* 80345B84 00342AE4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80345B88 00342AE8 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80345B8C 00342AEC EC 45 01 72 */ fmuls f2, f5, f5 +/* 80345B90 00342AF0 EC 24 18 2A */ fadds f1, f4, f3 +/* 80345B94 00342AF4 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 80345B98 00342AF8 EC 02 00 2A */ fadds f0, f2, f0 +/* 80345B9C 00342AFC D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 80345BA0 00342B00 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80345BA4 00342B04 40 80 00 3C */ bge lbl_80345BE0 +/* 80345BA8 00342B08 D1 24 00 00 */ stfs f9, 0(r4) +/* 80345BAC 00342B0C D1 44 00 04 */ stfs f10, 4(r4) +/* 80345BB0 00342B10 D1 64 00 08 */ stfs f11, 8(r4) +/* 80345BB4 00342B14 48 00 00 2C */ b lbl_80345BE0 +lbl_80345BB8: +/* 80345BB8 00342B18 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80345BBC 00342B1C 3C 60 80 5A */ lis r3, lbl_805A67B4@ha +/* 80345BC0 00342B20 38 00 00 01 */ li r0, 1 +/* 80345BC4 00342B24 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80345BC8 00342B28 D4 43 67 B4 */ stfsu f2, lbl_805A67B4@l(r3) +/* 80345BCC 00342B2C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 80345BD0 00342B30 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80345BD4 00342B34 D0 23 00 04 */ stfs f1, 4(r3) +/* 80345BD8 00342B38 D0 03 00 08 */ stfs f0, 8(r3) +/* 80345BDC 00342B3C 98 85 03 18 */ stb r4, 0x318(r5) +lbl_80345BE0: +/* 80345BE0 00342B40 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80345BE4 00342B44 38 61 00 54 */ addi r3, r1, 0x54 +/* 80345BE8 00342B48 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80345BEC 00342B4C C0 61 00 78 */ lfs f3, 0x78(r1) +/* 80345BF0 00342B50 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80345BF4 00342B54 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80345BF8 00342B58 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 80345BFC 00342B5C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80345C00 00342B60 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80345C04 00342B64 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80345C08 00342B68 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80345C0C 00342B6C D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80345C10 00342B70 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80345C14 00342B74 4B FC EC A5 */ bl Magnitude__9CVector3fCFv +/* 80345C18 00342B78 C0 02 CB FC */ lfs f0, lbl_805AE91C@sda21(r2) +/* 80345C1C 00342B7C 38 81 00 08 */ addi r4, r1, 8 +/* 80345C20 00342B80 38 62 CB F8 */ addi r3, r2, lbl_805AE918@sda21 +/* 80345C24 00342B84 EC 00 0F FC */ fnmsubs f0, f0, f31, f1 +/* 80345C28 00342B88 D0 01 00 08 */ stfs f0, 8(r1) +/* 80345C2C 00342B8C 4B D0 9B 05 */ bl "Max__5CMathFRCfRCf" +/* 80345C30 00342B90 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80345C34 00342B94 C0 22 CC 00 */ lfs f1, lbl_805AE920@sda21(r2) +/* 80345C38 00342B98 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80345C3C 00342B9C 4C 41 13 82 */ cror 2, 1, 2 +/* 80345C40 00342BA0 40 82 00 10 */ bne lbl_80345C50 +/* 80345C44 00342BA4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80345C48 00342BA8 D0 0D A9 90 */ stfs f0, lbl_805A9550@sda21(r13) +/* 80345C4C 00342BAC 48 00 01 E0 */ b lbl_80345E2C +lbl_80345C50: +/* 80345C50 00342BB0 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80345C54 00342BB4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80345C58 00342BB8 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 80345C5C 00342BBC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80345C60 00342BC0 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80345C64 00342BC4 D0 0D A9 90 */ stfs f0, lbl_805A9550@sda21(r13) +/* 80345C68 00342BC8 4B FC D0 35 */ bl GetQuickInverse__12CTransform4fCFv +/* 80345C6C 00342BCC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80345C70 00342BD0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80345C74 00342BD4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80345C78 00342BD8 38 81 00 88 */ addi r4, r1, 0x88 +/* 80345C7C 00342BDC 4B FC CC D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80345C80 00342BE0 38 61 01 18 */ addi r3, r1, 0x118 +/* 80345C84 00342BE4 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80345C88 00342BE8 4B FC CE ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80345C8C 00342BEC 38 61 01 18 */ addi r3, r1, 0x118 +/* 80345C90 00342BF0 38 80 00 30 */ li r4, 0x30 +/* 80345C94 00342BF4 38 A0 00 00 */ li r5, 0 +/* 80345C98 00342BF8 48 03 67 F9 */ bl GXLoadTexMtxImm +/* 80345C9C 00342BFC 3C 60 80 3E */ lis r3, lbl_803D8078@ha +/* 80345CA0 00342C00 38 80 00 52 */ li r4, 0x52 +/* 80345CA4 00342C04 38 63 80 78 */ addi r3, r3, lbl_803D8078@l +/* 80345CA8 00342C08 38 A0 00 00 */ li r5, 0 +/* 80345CAC 00342C0C 48 03 67 E5 */ bl GXLoadTexMtxImm +/* 80345CB0 00342C10 C0 82 CB E8 */ lfs f4, lbl_805AE908@sda21(r2) +/* 80345CB4 00342C14 38 61 00 48 */ addi r3, r1, 0x48 +/* 80345CB8 00342C18 C3 C2 CC 04 */ lfs f30, lbl_805AE924@sda21(r2) +/* 80345CBC 00342C1C EC A4 F8 24 */ fdivs f5, f4, f31 +/* 80345CC0 00342C20 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 80345CC4 00342C24 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 80345CC8 00342C28 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80345CCC 00342C2C C0 62 CB DC */ lfs f3, lbl_805AE8FC@sda21(r2) +/* 80345CD0 00342C30 EC E5 00 B2 */ fmuls f7, f5, f2 +/* 80345CD4 00342C34 EC C5 00 72 */ fmuls f6, f5, f1 +/* 80345CD8 00342C38 EC A5 00 32 */ fmuls f5, f5, f0 +/* 80345CDC 00342C3C EC 24 01 F2 */ fmuls f1, f4, f7 +/* 80345CE0 00342C40 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 80345CE4 00342C44 EC 43 01 72 */ fmuls f2, f3, f5 +/* 80345CE8 00342C48 EC 25 08 F8 */ fmsubs f1, f5, f3, f1 +/* 80345CEC 00342C4C EC 07 00 F8 */ fmsubs f0, f7, f3, f0 +/* 80345CF0 00342C50 EC 46 11 38 */ fmsubs f2, f6, f4, f2 +/* 80345CF4 00342C54 FF A0 F0 90 */ fmr f29, f30 +/* 80345CF8 00342C58 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80345CFC 00342C5C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80345D00 00342C60 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80345D04 00342C64 4B FC E9 F5 */ bl CanBeNormalized__9CVector3fCFv +/* 80345D08 00342C68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80345D0C 00342C6C 41 82 00 10 */ beq lbl_80345D1C +/* 80345D10 00342C70 38 61 00 48 */ addi r3, r1, 0x48 +/* 80345D14 00342C74 4B FC EB E5 */ bl Normalize__9CVector3fFv +/* 80345D18 00342C78 48 00 00 20 */ b lbl_80345D38 +lbl_80345D1C: +/* 80345D1C 00342C7C 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 80345D20 00342C80 C4 43 67 18 */ lfsu f2, lbl_805A6718@l(r3) +/* 80345D24 00342C84 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345D28 00342C88 C0 03 00 08 */ lfs f0, 8(r3) +/* 80345D2C 00342C8C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80345D30 00342C90 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80345D34 00342C94 D0 01 00 50 */ stfs f0, 0x50(r1) +lbl_80345D38: +/* 80345D38 00342C98 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80345D3C 00342C9C 3C 60 80 3E */ lis r3, lbl_803D80A8@ha +/* 80345D40 00342CA0 C0 E1 00 4C */ lfs f7, 0x4c(r1) +/* 80345D44 00342CA4 39 83 80 A8 */ addi r12, r3, lbl_803D80A8@l +/* 80345D48 00342CA8 C0 81 00 84 */ lfs f4, 0x84(r1) +/* 80345D4C 00342CAC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80345D50 00342CB0 EC 60 01 F2 */ fmuls f3, f0, f7 +/* 80345D54 00342CB4 C0 42 CC 08 */ lfs f2, lbl_805AE928@sda21(r2) +/* 80345D58 00342CB8 C0 22 CB E8 */ lfs f1, lbl_805AE908@sda21(r2) +/* 80345D5C 00342CBC FC 00 20 50 */ fneg f0, f4 +/* 80345D60 00342CC0 C0 81 00 70 */ lfs f4, 0x70(r1) +/* 80345D64 00342CC4 38 80 00 33 */ li r4, 0x33 +/* 80345D68 00342CC8 C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 80345D6C 00342CCC EC A2 0F FA */ fmadds f5, f2, f31, f1 +/* 80345D70 00342CD0 C0 4D 9D 6C */ lfs f2, lbl_805A892C@sda21(r13) +/* 80345D74 00342CD4 38 A0 00 00 */ li r5, 0 +/* 80345D78 00342CD8 C0 2D 9D 70 */ lfs f1, lbl_805A8930@sda21(r13) +/* 80345D7C 00342CDC EC 64 19 BA */ fmadds f3, f4, f6, f3 +/* 80345D80 00342CE0 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80345D84 00342CE4 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80345D88 00342CE8 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 80345D8C 00342CEC C0 81 00 50 */ lfs f4, 0x50(r1) +/* 80345D90 00342CF0 EF DE 00 B2 */ fmuls f30, f30, f2 +/* 80345D94 00342CF4 81 2C 00 00 */ lwz r9, 0(r12) +/* 80345D98 00342CF8 EC 45 19 3A */ fmadds f2, f5, f4, f3 +/* 80345D9C 00342CFC EF BD 00 72 */ fmuls f29, f29, f1 +/* 80345DA0 00342D00 81 0C 00 04 */ lwz r8, 4(r12) +/* 80345DA4 00342D04 80 EC 00 0C */ lwz r7, 0xc(r12) +/* 80345DA8 00342D08 80 CC 00 18 */ lwz r6, 0x18(r12) +/* 80345DAC 00342D0C FC 40 10 50 */ fneg f2, f2 +/* 80345DB0 00342D10 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) +/* 80345DB4 00342D14 80 0C 00 1C */ lwz r0, 0x1c(r12) +/* 80345DB8 00342D18 EC 9E 01 B2 */ fmuls f4, f30, f6 +/* 80345DBC 00342D1C 91 21 00 E8 */ stw r9, 0xe8(r1) +/* 80345DC0 00342D20 EC 7E 01 F2 */ fmuls f3, f30, f7 +/* 80345DC4 00342D24 81 6C 00 08 */ lwz r11, 8(r12) +/* 80345DC8 00342D28 EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 80345DCC 00342D2C 91 01 00 EC */ stw r8, 0xec(r1) +/* 80345DD0 00342D30 81 4C 00 10 */ lwz r10, 0x10(r12) +/* 80345DD4 00342D34 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80345DD8 00342D38 90 E1 00 F4 */ stw r7, 0xf4(r1) +/* 80345DDC 00342D3C 81 2C 00 14 */ lwz r9, 0x14(r12) +/* 80345DE0 00342D40 90 C1 01 00 */ stw r6, 0x100(r1) +/* 80345DE4 00342D44 81 0C 00 20 */ lwz r8, 0x20(r12) +/* 80345DE8 00342D48 90 01 01 04 */ stw r0, 0x104(r1) +/* 80345DEC 00342D4C 80 EC 00 24 */ lwz r7, 0x24(r12) +/* 80345DF0 00342D50 80 CC 00 28 */ lwz r6, 0x28(r12) +/* 80345DF4 00342D54 80 0C 00 2C */ lwz r0, 0x2c(r12) +/* 80345DF8 00342D58 91 61 00 F0 */ stw r11, 0xf0(r1) +/* 80345DFC 00342D5C 91 41 00 F8 */ stw r10, 0xf8(r1) +/* 80345E00 00342D60 91 21 00 FC */ stw r9, 0xfc(r1) +/* 80345E04 00342D64 91 01 01 08 */ stw r8, 0x108(r1) +/* 80345E08 00342D68 90 E1 01 0C */ stw r7, 0x10c(r1) +/* 80345E0C 00342D6C 90 C1 01 10 */ stw r6, 0x110(r1) +/* 80345E10 00342D70 90 01 01 14 */ stw r0, 0x114(r1) +/* 80345E14 00342D74 D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 80345E18 00342D78 D0 61 00 EC */ stfs f3, 0xec(r1) +/* 80345E1C 00342D7C D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 80345E20 00342D80 D3 A1 01 00 */ stfs f29, 0x100(r1) +/* 80345E24 00342D84 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 80345E28 00342D88 48 03 66 69 */ bl GXLoadTexMtxImm +lbl_80345E2C: +/* 80345E2C 00342D8C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80345E30 00342D90 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80345E34 00342D94 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80345E38 00342D98 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80345E3C 00342D9C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80345E40 00342DA0 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80345E44 00342DA4 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 80345E48 00342DA8 80 01 01 84 */ lwz r0, 0x184(r1) +/* 80345E4C 00342DAC 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 80345E50 00342DB0 7C 08 03 A6 */ mtlr r0 +/* 80345E54 00342DB4 38 21 01 80 */ addi r1, r1, 0x180 +/* 80345E58 00342DB8 4E 80 00 20 */ blr + +.global SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel +SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel: +/* 80345E5C 00342DBC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80345E60 00342DC0 7C 08 02 A6 */ mflr r0 +/* 80345E64 00342DC4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80345E68 00342DC8 BE 21 00 44 */ stmw r17, 0x44(r1) +/* 80345E6C 00342DCC 7C 72 1B 78 */ mr r18, r3 +/* 80345E70 00342DD0 7C 9E 23 78 */ mr r30, r4 +/* 80345E74 00342DD4 7C D5 33 78 */ mr r21, r6 +/* 80345E78 00342DD8 80 0D A9 8C */ lwz r0, lbl_805A954C@sda21(r13) +/* 80345E7C 00342DDC 80 E3 00 00 */ lwz r7, 0(r3) +/* 80345E80 00342DE0 7C 07 00 40 */ cmplw r7, r0 +/* 80345E84 00342DE4 40 82 00 38 */ bne lbl_80345EBC +/* 80345E88 00342DE8 80 0D A9 80 */ lwz r0, lbl_805A9540@sda21(r13) +/* 80345E8C 00342DEC 2C 00 00 02 */ cmpwi r0, 2 +/* 80345E90 00342DF0 41 82 00 2C */ beq lbl_80345EBC +/* 80345E94 00342DF4 40 80 07 28 */ bge lbl_803465BC +/* 80345E98 00342DF8 2C 00 00 01 */ cmpwi r0, 1 +/* 80345E9C 00342DFC 40 80 00 08 */ bge lbl_80345EA4 +/* 80345EA0 00342E00 48 00 07 1C */ b lbl_803465BC +lbl_80345EA4: +/* 80345EA4 00342E04 80 6D A9 84 */ lwz r3, lbl_805A9544@sda21(r13) +/* 80345EA8 00342E08 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) +/* 80345EAC 00342E0C 7C 03 00 40 */ cmplw r3, r0 +/* 80345EB0 00342E10 40 82 00 0C */ bne lbl_80345EBC +/* 80345EB4 00342E14 48 00 07 08 */ b lbl_803465BC +/* 80345EB8 00342E18 48 00 07 04 */ b lbl_803465BC +lbl_80345EBC: +/* 80345EBC 00342E1C 88 0D A9 98 */ lbz r0, lbl_805A9558@sda21(r13) +/* 80345EC0 00342E20 28 00 00 00 */ cmplwi r0, 0 +/* 80345EC4 00342E24 41 82 00 10 */ beq lbl_80345ED4 +/* 80345EC8 00342E28 7E 43 93 78 */ mr r3, r18 +/* 80345ECC 00342E2C 48 00 0B C5 */ bl SetCurrentBlack__13CCubeMaterialCFv +/* 80345ED0 00342E30 48 00 06 EC */ b lbl_803465BC +lbl_80345ED4: +/* 80345ED4 00342E34 82 67 00 00 */ lwz r19, 0(r7) +/* 80345ED8 00342E38 3B A0 00 00 */ li r29, 0 +/* 80345EDC 00342E3C 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 80345EE0 00342E40 3A 20 00 00 */ li r17, 0 +/* 80345EE4 00342E44 72 63 01 40 */ andi. r3, r19, 0x140 +/* 80345EE8 00342E48 83 E7 00 04 */ lwz r31, 4(r7) +/* 80345EEC 00342E4C 7C 03 00 D0 */ neg r0, r3 +/* 80345EF0 00342E50 7C 00 1B 78 */ or r0, r0, r3 +/* 80345EF4 00342E54 54 19 0F FF */ rlwinm. r25, r0, 1, 0x1f, 0x1f +/* 80345EF8 00342E58 41 82 00 24 */ beq lbl_80345F1C +/* 80345EFC 00342E5C 56 60 05 EF */ rlwinm. r0, r19, 0, 0x17, 0x17 +/* 80345F00 00342E60 90 ED A9 8C */ stw r7, lbl_805A954C@sda21(r13) +/* 80345F04 00342E64 92 AD A9 88 */ stw r21, lbl_805A9548@sda21(r13) +/* 80345F08 00342E68 41 82 00 0C */ beq lbl_80345F14 +/* 80345F0C 00342E6C 7C A3 2B 78 */ mr r3, r5 +/* 80345F10 00342E70 48 00 00 08 */ b lbl_80345F18 +lbl_80345F14: +/* 80345F14 00342E74 38 60 00 00 */ li r3, 0 +lbl_80345F18: +/* 80345F18 00342E78 4B FF FA 35 */ bl EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface +lbl_80345F1C: +/* 80345F1C 00342E7C A0 1E 00 02 */ lhz r0, 2(r30) +/* 80345F20 00342E80 80 72 00 00 */ lwz r3, 0(r18) +/* 80345F24 00342E84 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 80345F28 00342E88 92 AD A9 88 */ stw r21, lbl_805A9548@sda21(r13) +/* 80345F2C 00342E8C 90 6D A9 8C */ stw r3, lbl_805A954C@sda21(r13) +/* 80345F30 00342E90 40 82 00 5C */ bne lbl_80345F8C +/* 80345F34 00342E94 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F38 00342E98 3A 80 00 00 */ li r20, 0 +/* 80345F3C 00342E9C 82 55 00 1C */ lwz r18, 0x1c(r21) +/* 80345F40 00342EA0 38 03 00 08 */ addi r0, r3, 8 +/* 80345F44 00342EA4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80345F48 00342EA8 48 00 00 38 */ b lbl_80345F80 +lbl_80345F4C: +/* 80345F4C 00342EAC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F50 00342EB0 7E 84 A3 78 */ mr r4, r20 +/* 80345F54 00342EB4 80 D2 00 0C */ lwz r6, 0xc(r18) +/* 80345F58 00342EB8 38 A0 00 01 */ li r5, 1 +/* 80345F5C 00342EBC 80 03 00 00 */ lwz r0, 0(r3) +/* 80345F60 00342EC0 1C 60 00 0C */ mulli r3, r0, 0xc +/* 80345F64 00342EC4 38 03 00 08 */ addi r0, r3, 8 +/* 80345F68 00342EC8 7C 66 00 2E */ lwzx r3, r6, r0 +/* 80345F6C 00342ECC 4B FC 97 D1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80345F70 00342ED0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F74 00342ED4 3A 94 00 01 */ addi r20, r20, 1 +/* 80345F78 00342ED8 38 03 00 04 */ addi r0, r3, 4 +/* 80345F7C 00342EDC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80345F80: +/* 80345F80 00342EE0 7C 14 F8 40 */ cmplw r20, r31 +/* 80345F84 00342EE4 41 80 FF C8 */ blt lbl_80345F4C +/* 80345F88 00342EE8 48 00 00 18 */ b lbl_80345FA0 +lbl_80345F8C: +/* 80345F8C 00342EEC 38 1F 00 02 */ addi r0, r31, 2 +/* 80345F90 00342EF0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F94 00342EF4 54 00 10 3A */ slwi r0, r0, 2 +/* 80345F98 00342EF8 7C 03 02 14 */ add r0, r3, r0 +/* 80345F9C 00342EFC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80345FA0: +/* 80345FA0 00342F00 80 0D 9D 68 */ lwz r0, lbl_805A8928@sda21(r13) +/* 80345FA4 00342F04 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345FA8 00342F08 2C 00 FF FF */ cmpwi r0, -1 +/* 80345FAC 00342F0C 80 63 00 04 */ lwz r3, 4(r3) +/* 80345FB0 00342F10 41 82 00 18 */ beq lbl_80345FC8 +/* 80345FB4 00342F14 7C 00 18 00 */ cmpw r0, r3 +/* 80345FB8 00342F18 40 82 00 10 */ bne lbl_80345FC8 +/* 80345FBC 00342F1C 80 0D A9 80 */ lwz r0, lbl_805A9540@sda21(r13) +/* 80345FC0 00342F20 2C 00 00 00 */ cmpwi r0, 0 +/* 80345FC4 00342F24 41 82 05 F8 */ beq lbl_803465BC +lbl_80345FC8: +/* 80345FC8 00342F28 90 6D 9D 68 */ stw r3, lbl_805A8928@sda21(r13) +/* 80345FCC 00342F2C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345FD0 00342F30 80 63 00 00 */ lwz r3, 0(r3) +/* 80345FD4 00342F34 4B FC 1F 29 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80345FD8 00342F38 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345FDC 00342F3C 56 64 9F FE */ rlwinm r4, r19, 0x13, 0x1f, 0x1f +/* 80345FE0 00342F40 88 0D A7 82 */ lbz r0, lbl_805A9342@sda21(r13) +/* 80345FE4 00342F44 38 63 00 08 */ addi r3, r3, 8 +/* 80345FE8 00342F48 7C 04 00 40 */ cmplw r4, r0 +/* 80345FEC 00342F4C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80345FF0 00342F50 41 82 00 0C */ beq lbl_80345FFC +/* 80345FF4 00342F54 7E A3 AB 78 */ mr r3, r21 +/* 80345FF8 00342F58 4B FC 15 61 */ bl SetUsingPackedLightmaps__10CCubeModelCFb +lbl_80345FFC: +/* 80345FFC 00342F5C 3A A0 00 00 */ li r21, 0 +/* 80346000 00342F60 56 60 07 39 */ rlwinm. r0, r19, 0, 0x1c, 0x1c +/* 80346004 00342F64 92 A1 00 38 */ stw r21, 0x38(r1) +/* 80346008 00342F68 41 82 00 7C */ beq lbl_80346084 +/* 8034600C 00342F6C 82 C1 00 3C */ lwz r22, 0x3c(r1) +/* 80346010 00342F70 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346014 00342F74 3A 40 00 00 */ li r18, 0 +/* 80346018 00342F78 80 16 00 00 */ lwz r0, 0(r22) +/* 8034601C 00342F7C 3A 83 53 EC */ addi r20, r3, lbl_805A53EC@l +/* 80346020 00342F80 90 01 00 38 */ stw r0, 0x38(r1) +/* 80346024 00342F84 48 00 00 40 */ b lbl_80346064 +lbl_80346028: +/* 80346028 00342F88 80 B6 00 04 */ lwz r5, 4(r22) +/* 8034602C 00342F8C 7C 74 AA 14 */ add r3, r20, r21 +/* 80346030 00342F90 84 03 00 58 */ lwzu r0, 0x58(r3) +/* 80346034 00342F94 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80346038 00342F98 7C 00 28 40 */ cmplw r0, r5 +/* 8034603C 00342F9C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80346040 00342FA0 41 82 00 18 */ beq lbl_80346058 +/* 80346044 00342FA4 90 A3 00 00 */ stw r5, 0(r3) +/* 80346048 00342FA8 7E 43 93 78 */ mr r3, r18 +/* 8034604C 00342FAC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80346050 00342FB0 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80346054 00342FB4 48 03 56 91 */ bl GXSetTevKColor +lbl_80346058: +/* 80346058 00342FB8 3A D6 00 04 */ addi r22, r22, 4 +/* 8034605C 00342FBC 3A 52 00 01 */ addi r18, r18, 1 +/* 80346060 00342FC0 3A B5 00 04 */ addi r21, r21, 4 +lbl_80346064: +/* 80346064 00342FC4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80346068 00342FC8 7C 12 18 40 */ cmplw r18, r3 +/* 8034606C 00342FCC 41 80 FF BC */ blt lbl_80346028 +/* 80346070 00342FD0 38 03 00 01 */ addi r0, r3, 1 +/* 80346074 00342FD4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80346078 00342FD8 54 00 10 3A */ slwi r0, r0, 2 +/* 8034607C 00342FDC 7C 03 02 14 */ add r0, r3, r0 +/* 80346080 00342FE0 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80346084: +/* 80346084 00342FE4 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) +/* 80346088 00342FE8 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 8034608C 00342FEC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 80346090 00342FF0 83 64 00 00 */ lwz r27, 0(r4) +/* 80346094 00342FF4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80346098 00342FF8 41 82 00 40 */ beq lbl_803460D8 +/* 8034609C 00342FFC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803460A0 00343000 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l +/* 803460A4 00343004 A0 12 00 56 */ lhz r0, 0x56(r18) +/* 803460A8 00343008 28 00 00 25 */ cmplwi r0, 0x25 +/* 803460AC 0034300C 41 82 00 3C */ beq lbl_803460E8 +/* 803460B0 00343010 38 60 00 25 */ li r3, 0x25 +/* 803460B4 00343014 4B D6 E2 C5 */ bl update_fog__3CGXFUi +/* 803460B8 00343018 38 00 00 25 */ li r0, 0x25 +/* 803460BC 0034301C 38 60 00 01 */ li r3, 1 +/* 803460C0 00343020 B0 12 00 56 */ sth r0, 0x56(r18) +/* 803460C4 00343024 38 80 00 01 */ li r4, 1 +/* 803460C8 00343028 38 A0 00 01 */ li r5, 1 +/* 803460CC 0034302C 38 C0 00 00 */ li r6, 0 +/* 803460D0 00343030 48 03 5D DD */ bl GXSetBlendMode +/* 803460D4 00343034 48 00 00 14 */ b lbl_803460E8 +lbl_803460D8: +/* 803460D8 00343038 7F 63 DB 78 */ mr r3, r27 +/* 803460DC 0034303C 7F C4 F3 78 */ mr r4, r30 +/* 803460E0 00343040 56 65 DF FE */ rlwinm r5, r19, 0x1b, 0x1f, 0x1f +/* 803460E4 00343044 48 00 20 29 */ bl SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb +lbl_803460E8: +/* 803460E8 00343048 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 803460EC 0034304C 56 7A B7 FF */ rlwinm. r26, r19, 0x16, 0x1f, 0x1f +/* 803460F0 00343050 38 63 00 04 */ addi r3, r3, 4 +/* 803460F4 00343054 90 61 00 3C */ stw r3, 0x3c(r1) +/* 803460F8 00343058 41 82 00 10 */ beq lbl_80346108 +/* 803460FC 0034305C 38 03 00 04 */ addi r0, r3, 4 +/* 80346100 00343060 82 23 00 00 */ lwz r17, 0(r3) +/* 80346104 00343064 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80346108: +/* 80346108 00343068 A0 7E 00 02 */ lhz r3, 2(r30) +/* 8034610C 0034306C 7E 64 9B 78 */ mr r4, r19 +/* 80346110 00343070 48 00 05 AD */ bl HandleDepth__FUiUi +/* 80346114 00343074 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 80346118 00343078 80 65 00 00 */ lwz r3, 0(r5) +/* 8034611C 0034307C 80 85 00 04 */ lwz r4, 4(r5) +/* 80346120 00343080 38 03 00 01 */ addi r0, r3, 1 +/* 80346124 00343084 54 00 10 3A */ slwi r0, r0, 2 +/* 80346128 00343088 7C 05 02 14 */ add r0, r5, r0 +/* 8034612C 0034308C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80346130 00343090 48 00 06 5D */ bl HandleColorChannels__FUiUi +/* 80346134 00343094 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 80346138 00343098 7C 78 1B 78 */ mr r24, r3 +/* 8034613C 0034309C 3A 80 00 00 */ li r20, 0 +/* 80346140 003430A0 28 00 00 00 */ cmplwi r0, 0 +/* 80346144 003430A4 41 82 00 08 */ beq lbl_8034614C +/* 80346148 003430A8 3A 80 00 02 */ li r20, 2 +lbl_8034614C: +/* 8034614C 003430AC 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80346150 003430B0 38 A0 00 00 */ li r5, 0 +/* 80346154 003430B4 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) +/* 80346158 003430B8 3A E0 00 00 */ li r23, 0 +/* 8034615C 003430BC 82 64 00 00 */ lwz r19, 0(r4) +/* 80346160 003430C0 38 C4 00 04 */ addi r6, r4, 4 +/* 80346164 003430C4 90 C1 00 28 */ stw r6, 0x28(r1) +/* 80346168 003430C8 1C 13 00 14 */ mulli r0, r19, 0x14 +/* 8034616C 003430CC 92 61 00 34 */ stw r19, 0x34(r1) +/* 80346170 003430D0 7C 86 02 14 */ add r4, r6, r0 +/* 80346174 003430D4 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80346178 003430D8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8034617C 003430DC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 80346180 003430E0 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80346184 003430E4 54 12 F7 FF */ rlwinm. r18, r0, 0x1e, 0x1f, 0x1f +/* 80346188 003430E8 90 81 00 28 */ stw r4, 0x28(r1) +/* 8034618C 003430EC 41 82 00 88 */ beq lbl_80346214 +/* 80346190 003430F0 38 14 00 01 */ addi r0, r20, 1 +/* 80346194 003430F4 90 81 00 24 */ stw r4, 0x24(r1) +/* 80346198 003430F8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034619C 003430FC 80 66 00 08 */ lwz r3, 8(r6) +/* 803461A0 00343100 54 60 BF BE */ rlwinm r0, r3, 0x17, 0x1e, 0x1f +/* 803461A4 00343104 90 61 00 30 */ stw r3, 0x30(r1) +/* 803461A8 00343108 28 00 00 01 */ cmplwi r0, 1 +/* 803461AC 0034310C 40 82 00 34 */ bne lbl_803461E0 +/* 803461B0 00343110 80 02 CB C0 */ lwz r0, lbl_805AE8E0@sda21(r2) +/* 803461B4 00343114 38 66 00 14 */ addi r3, r6, 0x14 +/* 803461B8 00343118 38 A4 00 04 */ addi r5, r4, 4 +/* 803461BC 0034311C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 803461C0 00343120 38 81 00 1C */ addi r4, r1, 0x1c +/* 803461C4 00343124 38 60 00 01 */ li r3, 1 +/* 803461C8 00343128 90 A1 00 28 */ stw r5, 0x28(r1) +/* 803461CC 0034312C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 803461D0 00343130 48 03 54 2D */ bl GXSetTevColor +/* 803461D4 00343134 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 803461D8 00343138 80 03 00 08 */ lwz r0, 8(r3) +/* 803461DC 0034313C 90 01 00 30 */ stw r0, 0x30(r1) +lbl_803461E0: +/* 803461E0 00343140 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 803461E4 00343144 7E 83 A3 78 */ mr r3, r20 +/* 803461E8 00343148 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 803461EC 0034314C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 803461F0 00343150 88 CD A9 9A */ lbz r6, lbl_805A955A@sda21(r13) +/* 803461F4 00343154 90 01 00 2C */ stw r0, 0x2c(r1) +/* 803461F8 00343158 48 00 1E 29 */ bl HandleTev__FiPCUiPCUib +/* 803461FC 0034315C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80346200 00343160 56 60 10 3A */ slwi r0, r19, 2 +/* 80346204 00343164 3A E0 00 00 */ li r23, 0 +/* 80346208 00343168 7C 03 02 14 */ add r0, r3, r0 +/* 8034620C 0034316C 90 01 00 28 */ stw r0, 0x28(r1) +/* 80346210 00343170 48 00 00 8C */ b lbl_8034629C +lbl_80346214: +/* 80346214 00343174 7C 13 A2 14 */ add r0, r19, r20 +/* 80346218 00343178 7E 93 A3 78 */ mr r19, r20 +/* 8034621C 0034317C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80346220 00343180 48 00 00 70 */ b lbl_80346290 +lbl_80346224: +/* 80346224 00343184 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 80346228 00343188 7E 63 9B 78 */ mr r3, r19 +/* 8034622C 0034318C 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80346230 00343190 38 C0 00 00 */ li r6, 0 +/* 80346234 00343194 28 00 00 00 */ cmplwi r0, 0 +/* 80346238 00343198 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8034623C 0034319C 41 82 00 10 */ beq lbl_8034624C +/* 80346240 003431A0 7C 13 A0 40 */ cmplw r19, r20 +/* 80346244 003431A4 40 82 00 08 */ bne lbl_8034624C +/* 80346248 003431A8 38 C0 00 01 */ li r6, 1 +lbl_8034624C: +/* 8034624C 003431AC 48 00 1D D5 */ bl HandleTev__FiPCUiPCUib +/* 80346250 003431B0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80346254 003431B4 80 03 00 08 */ lwz r0, 8(r3) +/* 80346258 003431B8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8034625C 003431BC 54 00 BF BE */ rlwinm r0, r0, 0x17, 0x1e, 0x1f +/* 80346260 003431C0 28 00 00 03 */ cmplwi r0, 3 +/* 80346264 003431C4 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80346268 003431C8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8034626C 003431CC 40 82 00 08 */ bne lbl_80346274 +/* 80346270 003431D0 3A E0 00 01 */ li r23, 1 +lbl_80346274: +/* 80346274 003431D4 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80346278 003431D8 3A 73 00 01 */ addi r19, r19, 1 +/* 8034627C 003431DC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80346280 003431E0 38 84 00 14 */ addi r4, r4, 0x14 +/* 80346284 003431E4 38 03 00 04 */ addi r0, r3, 4 +/* 80346288 003431E8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8034628C 003431EC 90 01 00 28 */ stw r0, 0x28(r1) +lbl_80346290: +/* 80346290 003431F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80346294 003431F4 7C 13 00 40 */ cmplw r19, r0 +/* 80346298 003431F8 41 80 FF 8C */ blt lbl_80346224 +lbl_8034629C: +/* 8034629C 003431FC 82 61 00 28 */ lwz r19, 0x28(r1) +/* 803462A0 00343200 28 12 00 00 */ cmplwi r18, 0 +/* 803462A4 00343204 92 61 00 10 */ stw r19, 0x10(r1) +/* 803462A8 00343208 41 82 00 9C */ beq lbl_80346344 +/* 803462AC 0034320C 82 B3 00 00 */ lwz r21, 0(r19) +/* 803462B0 00343210 3B 80 00 02 */ li r28, 2 +/* 803462B4 00343214 28 15 00 02 */ cmplwi r21, 2 +/* 803462B8 00343218 41 81 00 08 */ bgt lbl_803462C0 +/* 803462BC 0034321C 7E BC AB 78 */ mr r28, r21 +lbl_803462C0: +/* 803462C0 00343220 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803462C4 00343224 82 C1 00 10 */ lwz r22, 0x10(r1) +/* 803462C8 00343228 3A 80 00 00 */ li r20, 0 +/* 803462CC 0034322C 3A 60 00 00 */ li r19, 0 +/* 803462D0 00343230 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l +/* 803462D4 00343234 48 00 00 50 */ b lbl_80346324 +lbl_803462D8: +/* 803462D8 00343238 7C 72 9A 14 */ add r3, r18, r19 +/* 803462DC 0034323C 80 16 00 04 */ lwz r0, 4(r22) +/* 803462E0 00343240 38 A3 02 28 */ addi r5, r3, 0x228 +/* 803462E4 00343244 80 63 02 28 */ lwz r3, 0x228(r3) +/* 803462E8 00343248 7C 03 00 40 */ cmplw r3, r0 +/* 803462EC 0034324C 41 82 00 2C */ beq lbl_80346318 +/* 803462F0 00343250 54 04 BE FE */ rlwinm r4, r0, 0x17, 0x1b, 0x1f +/* 803462F4 00343254 54 03 8E BE */ rlwinm r3, r0, 0x11, 0x1a, 0x1f +/* 803462F8 00343258 90 05 00 00 */ stw r0, 0(r5) +/* 803462FC 0034325C 38 C4 00 1E */ addi r6, r4, 0x1e +/* 80346300 00343260 39 03 00 40 */ addi r8, r3, 0x40 +/* 80346304 00343264 54 07 97 FE */ rlwinm r7, r0, 0x12, 0x1f, 0x1f +/* 80346308 00343268 7E 83 A3 78 */ mr r3, r20 +/* 8034630C 0034326C 54 04 07 3E */ clrlwi r4, r0, 0x1c +/* 80346310 00343270 54 05 E6 FE */ rlwinm r5, r0, 0x1c, 0x1b, 0x1f +/* 80346314 00343274 48 03 1C 81 */ bl GXSetTexCoordGen2 +lbl_80346318: +/* 80346318 00343278 3A D6 00 04 */ addi r22, r22, 4 +/* 8034631C 0034327C 3A 94 00 01 */ addi r20, r20, 1 +/* 80346320 00343280 3A 73 00 04 */ addi r19, r19, 4 +lbl_80346324: +/* 80346324 00343284 7C 14 E0 40 */ cmplw r20, r28 +/* 80346328 00343288 41 80 FF B0 */ blt lbl_803462D8 +/* 8034632C 0034328C 38 15 00 01 */ addi r0, r21, 1 +/* 80346330 00343290 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80346334 00343294 54 00 10 3A */ slwi r0, r0, 2 +/* 80346338 00343298 7C 03 02 14 */ add r0, r3, r0 +/* 8034633C 0034329C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80346340 003432A0 48 00 00 84 */ b lbl_803463C4 +lbl_80346344: +/* 80346344 003432A4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346348 003432A8 83 93 00 00 */ lwz r28, 0(r19) +/* 8034634C 003432AC 3A 80 00 00 */ li r20, 0 +/* 80346350 003432B0 3A A0 00 00 */ li r21, 0 +/* 80346354 003432B4 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l +/* 80346358 003432B8 48 00 00 50 */ b lbl_803463A8 +lbl_8034635C: +/* 8034635C 003432BC 7C 72 AA 14 */ add r3, r18, r21 +/* 80346360 003432C0 81 33 00 04 */ lwz r9, 4(r19) +/* 80346364 003432C4 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80346368 003432C8 80 03 02 28 */ lwz r0, 0x228(r3) +/* 8034636C 003432CC 7C 00 48 40 */ cmplw r0, r9 +/* 80346370 003432D0 41 82 00 2C */ beq lbl_8034639C +/* 80346374 003432D4 55 24 BE FE */ rlwinm r4, r9, 0x17, 0x1b, 0x1f +/* 80346378 003432D8 55 23 8E BE */ rlwinm r3, r9, 0x11, 0x1a, 0x1f +/* 8034637C 003432DC 91 25 00 00 */ stw r9, 0(r5) +/* 80346380 003432E0 38 C4 00 1E */ addi r6, r4, 0x1e +/* 80346384 003432E4 39 03 00 40 */ addi r8, r3, 0x40 +/* 80346388 003432E8 55 27 97 FE */ rlwinm r7, r9, 0x12, 0x1f, 0x1f +/* 8034638C 003432EC 7E 83 A3 78 */ mr r3, r20 +/* 80346390 003432F0 55 24 07 3E */ clrlwi r4, r9, 0x1c +/* 80346394 003432F4 55 25 E6 FE */ rlwinm r5, r9, 0x1c, 0x1b, 0x1f +/* 80346398 003432F8 48 03 1B FD */ bl GXSetTexCoordGen2 +lbl_8034639C: +/* 8034639C 003432FC 3A 73 00 04 */ addi r19, r19, 4 +/* 803463A0 00343300 3A 94 00 01 */ addi r20, r20, 1 +/* 803463A4 00343304 3A B5 00 04 */ addi r21, r21, 4 +lbl_803463A8: +/* 803463A8 00343308 7C 14 E0 40 */ cmplw r20, r28 +/* 803463AC 0034330C 41 80 FF B0 */ blt lbl_8034635C +/* 803463B0 00343310 38 1C 00 01 */ addi r0, r28, 1 +/* 803463B4 00343314 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803463B8 00343318 54 00 10 3A */ slwi r0, r0, 2 +/* 803463BC 0034331C 7C 03 02 14 */ add r0, r3, r0 +/* 803463C0 00343320 90 01 00 10 */ stw r0, 0x10(r1) +lbl_803463C4: +/* 803463C4 00343324 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803463C8 00343328 3A 60 00 00 */ li r19, 0 +/* 803463CC 0034332C 3A 80 00 1E */ li r20, 0x1e +/* 803463D0 00343330 3A A0 00 40 */ li r21, 0x40 +/* 803463D4 00343334 38 03 00 08 */ addi r0, r3, 8 +/* 803463D8 00343338 82 43 00 04 */ lwz r18, 4(r3) +/* 803463DC 0034333C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803463E0 00343340 48 00 00 38 */ b lbl_80346418 +lbl_803463E4: +/* 803463E4 00343344 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803463E8 00343348 7E 84 A3 78 */ mr r4, r20 +/* 803463EC 0034334C 7E A5 AB 78 */ mr r5, r21 +/* 803463F0 00343350 48 00 15 FD */ bl HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx +/* 803463F4 00343354 2C 03 00 00 */ cmpwi r3, 0 +/* 803463F8 00343358 41 82 00 28 */ beq lbl_80346420 +/* 803463FC 0034335C 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80346400 00343360 54 60 10 3A */ slwi r0, r3, 2 +/* 80346404 00343364 3A 73 00 01 */ addi r19, r19, 1 +/* 80346408 00343368 3A 94 00 03 */ addi r20, r20, 3 +/* 8034640C 0034336C 7C 04 02 14 */ add r0, r4, r0 +/* 80346410 00343370 3A B5 00 03 */ addi r21, r21, 3 +/* 80346414 00343374 90 01 00 10 */ stw r0, 0x10(r1) +lbl_80346418: +/* 80346418 00343378 7C 13 90 40 */ cmplw r19, r18 +/* 8034641C 0034337C 41 80 FF C8 */ blt lbl_803463E4 +lbl_80346420: +/* 80346420 00343380 88 1E 00 00 */ lbz r0, 0(r30) +/* 80346424 00343384 7C 00 07 75 */ extsb. r0, r0 +/* 80346428 00343388 41 82 00 20 */ beq lbl_80346448 +/* 8034642C 0034338C 7F C5 F3 78 */ mr r5, r30 +/* 80346430 00343390 7F 66 DB 78 */ mr r6, r27 +/* 80346434 00343394 38 61 00 34 */ addi r3, r1, 0x34 +/* 80346438 00343398 38 81 00 38 */ addi r4, r1, 0x38 +/* 8034643C 0034339C 38 E1 00 30 */ addi r7, r1, 0x30 +/* 80346440 003433A0 39 01 00 2C */ addi r8, r1, 0x2c +/* 80346444 003433A4 48 00 11 49 */ bl HandleTransparency__FUiUiRC11CModelFlagsRUiRUi +lbl_80346448: +/* 80346448 003433A8 28 19 00 00 */ cmplwi r25, 0 +/* 8034644C 003433AC 41 82 00 C4 */ beq lbl_80346510 +/* 80346450 003433B0 C0 2D A9 90 */ lfs f1, lbl_805A9550@sda21(r13) +/* 80346454 003433B4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80346458 003433B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034645C 003433BC 40 81 00 94 */ ble lbl_803464F0 +/* 80346460 003433C0 28 1A 00 00 */ cmplwi r26, 0 +/* 80346464 003433C4 41 82 00 3C */ beq lbl_803464A0 +/* 80346468 003433C8 38 01 00 2C */ addi r0, r1, 0x2c +/* 8034646C 003433CC 7E E3 BB 78 */ mr r3, r23 +/* 80346470 003433D0 90 01 00 08 */ stw r0, 8(r1) +/* 80346474 003433D4 7F E7 FB 78 */ mr r7, r31 +/* 80346478 003433D8 7F 88 E3 78 */ mr r8, r28 +/* 8034647C 003433DC 56 24 07 7E */ clrlwi r4, r17, 0x1d +/* 80346480 003433E0 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 80346484 003433E4 39 41 00 30 */ addi r10, r1, 0x30 +/* 80346488 003433E8 81 21 00 38 */ lwz r9, 0x38(r1) +/* 8034648C 003433EC 38 A0 00 00 */ li r5, 0 +/* 80346490 003433F0 48 00 08 F9 */ bl HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi +/* 80346494 003433F4 3B A0 00 01 */ li r29, 1 +/* 80346498 003433F8 3B 9C 00 02 */ addi r28, r28, 2 +/* 8034649C 003433FC 48 00 00 34 */ b lbl_803464D0 +lbl_803464A0: +/* 803464A0 00343400 38 01 00 2C */ addi r0, r1, 0x2c +/* 803464A4 00343404 7E E3 BB 78 */ mr r3, r23 +/* 803464A8 00343408 90 01 00 08 */ stw r0, 8(r1) +/* 803464AC 0034340C 7F E7 FB 78 */ mr r7, r31 +/* 803464B0 00343410 7F 88 E3 78 */ mr r8, r28 +/* 803464B4 00343414 39 41 00 30 */ addi r10, r1, 0x30 +/* 803464B8 00343418 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 803464BC 0034341C 38 80 00 FF */ li r4, 0xff +/* 803464C0 00343420 81 21 00 38 */ lwz r9, 0x38(r1) +/* 803464C4 00343424 38 A0 00 00 */ li r5, 0 +/* 803464C8 00343428 48 00 08 C1 */ bl HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi +/* 803464CC 0034342C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_803464D0: +/* 803464D0 00343430 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803464D4 00343434 3B FF 00 01 */ addi r31, r31, 1 +/* 803464D8 00343438 80 81 00 38 */ lwz r4, 0x38(r1) +/* 803464DC 0034343C 7C 60 1A 14 */ add r3, r0, r3 +/* 803464E0 00343440 38 04 00 01 */ addi r0, r4, 1 +/* 803464E4 00343444 90 61 00 34 */ stw r3, 0x34(r1) +/* 803464E8 00343448 90 01 00 38 */ stw r0, 0x38(r1) +/* 803464EC 0034344C 48 00 00 24 */ b lbl_80346510 +lbl_803464F0: +/* 803464F0 00343450 80 01 00 30 */ lwz r0, 0x30(r1) +/* 803464F4 00343454 54 00 BF BF */ rlwinm. r0, r0, 0x17, 0x1e, 0x1f +/* 803464F8 00343458 41 82 00 18 */ beq lbl_80346510 +/* 803464FC 0034345C 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80346500 00343460 48 00 00 D1 */ bl DoPassthru__FUi +/* 80346504 00343464 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80346508 00343468 38 03 00 01 */ addi r0, r3, 1 +/* 8034650C 0034346C 90 01 00 34 */ stw r0, 0x34(r1) +lbl_80346510: +/* 80346510 00343470 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 80346514 00343474 28 00 00 00 */ cmplwi r0, 0 +/* 80346518 00343478 41 82 00 14 */ beq lbl_8034652C +/* 8034651C 0034347C 7F E3 FB 78 */ mr r3, r31 +/* 80346520 00343480 7F 84 E3 78 */ mr r4, r28 +/* 80346524 00343484 48 00 0D 01 */ bl DoModelShadow__FUiUi +/* 80346528 00343488 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8034652C: +/* 8034652C 0034348C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346530 00343490 57 A3 06 3E */ clrlwi r3, r29, 0x18 +/* 80346534 00343494 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l +/* 80346538 00343498 88 04 00 51 */ lbz r0, 0x51(r4) +/* 8034653C 0034349C 7C 00 18 40 */ cmplw r0, r3 +/* 80346540 003434A0 41 82 00 0C */ beq lbl_8034654C +/* 80346544 003434A4 9B A4 00 51 */ stb r29, 0x51(r4) +/* 80346548 003434A8 48 03 4D 71 */ bl GXSetNumIndStages +lbl_8034654C: +/* 8034654C 003434AC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346550 003434B0 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80346554 003434B4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346558 003434B8 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034655C 003434BC 54 A3 06 3E */ clrlwi r3, r5, 0x18 +/* 80346560 003434C0 7C 00 18 40 */ cmplw r0, r3 +/* 80346564 003434C4 41 82 00 0C */ beq lbl_80346570 +/* 80346568 003434C8 98 64 00 50 */ stb r3, 0x50(r4) +/* 8034656C 003434CC 48 03 56 61 */ bl GXSetNumTevStages +lbl_80346570: +/* 80346570 003434D0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346574 003434D4 57 83 06 3E */ clrlwi r3, r28, 0x18 +/* 80346578 003434D8 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l +/* 8034657C 003434DC 88 04 00 4F */ lbz r0, 0x4f(r4) +/* 80346580 003434E0 7C 03 00 40 */ cmplw r3, r0 +/* 80346584 003434E4 41 82 00 0C */ beq lbl_80346590 +/* 80346588 003434E8 9B 84 00 4F */ stb r28, 0x4f(r4) +/* 8034658C 003434EC 48 03 1C D9 */ bl GXSetNumTexGens +lbl_80346590: +/* 80346590 003434F0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346594 003434F4 57 06 06 3E */ clrlwi r6, r24, 0x18 +/* 80346598 003434F8 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l +/* 8034659C 003434FC 88 65 00 4D */ lbz r3, 0x4d(r5) +/* 803465A0 00343500 88 05 00 4C */ lbz r0, 0x4c(r5) +/* 803465A4 00343504 7C 86 18 50 */ subf r4, r6, r3 +/* 803465A8 00343508 7C 63 30 50 */ subf r3, r3, r6 +/* 803465AC 0034350C 7C 83 1B 78 */ or r3, r4, r3 +/* 803465B0 00343510 9B 05 00 4E */ stb r24, 0x4e(r5) +/* 803465B4 00343514 50 60 0F FE */ rlwimi r0, r3, 1, 0x1f, 0x1f +/* 803465B8 00343518 98 05 00 4C */ stb r0, 0x4c(r5) +lbl_803465BC: +/* 803465BC 0034351C BA 21 00 44 */ lmw r17, 0x44(r1) +/* 803465C0 00343520 80 01 00 84 */ lwz r0, 0x84(r1) +/* 803465C4 00343524 7C 08 03 A6 */ mtlr r0 +/* 803465C8 00343528 38 21 00 80 */ addi r1, r1, 0x80 +/* 803465CC 0034352C 4E 80 00 20 */ blr + +.global DoPassthru__FUi +DoPassthru__FUi: +/* 803465D0 00343530 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803465D4 00343534 7C 08 02 A6 */ mflr r0 +/* 803465D8 00343538 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 803465DC 0034353C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803465E0 00343540 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 803465E4 00343544 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803465E8 00343548 93 C1 00 08 */ stw r30, 8(r1) +/* 803465EC 0034354C 7C 7E 1B 78 */ mr r30, r3 +/* 803465F0 00343550 1C BE 00 1C */ mulli r5, r30, 0x1c +/* 803465F4 00343554 7C 80 2A 14 */ add r4, r0, r5 +/* 803465F8 00343558 80 04 00 68 */ lwz r0, 0x68(r4) +/* 803465FC 0034355C 3B E4 00 68 */ addi r31, r4, 0x68 +/* 80346600 00343560 28 00 3D EF */ cmplwi r0, 0x3def +/* 80346604 00343564 41 82 00 20 */ beq lbl_80346624 +/* 80346608 00343568 38 00 3D EF */ li r0, 0x3def +/* 8034660C 0034356C 38 80 00 0F */ li r4, 0xf +/* 80346610 00343570 90 1F 00 00 */ stw r0, 0(r31) +/* 80346614 00343574 38 A0 00 0F */ li r5, 0xf +/* 80346618 00343578 38 C0 00 0F */ li r6, 0xf +/* 8034661C 0034357C 38 E0 00 00 */ li r7, 0 +/* 80346620 00343580 48 03 4E 85 */ bl GXSetTevColorIn +lbl_80346624: +/* 80346624 00343584 80 1F 00 04 */ lwz r0, 4(r31) +/* 80346628 00343588 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 8034662C 0034358C 41 82 00 24 */ beq lbl_80346650 +/* 80346630 00343590 38 00 1C E7 */ li r0, 0x1ce7 +/* 80346634 00343594 7F C3 F3 78 */ mr r3, r30 +/* 80346638 00343598 90 1F 00 04 */ stw r0, 4(r31) +/* 8034663C 0034359C 38 80 00 07 */ li r4, 7 +/* 80346640 003435A0 38 A0 00 07 */ li r5, 7 +/* 80346644 003435A4 38 C0 00 07 */ li r6, 7 +/* 80346648 003435A8 38 E0 00 00 */ li r7, 0 +/* 8034664C 003435AC 48 03 4E 9D */ bl GXSetTevAlphaIn +lbl_80346650: +/* 80346650 003435B0 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80346654 003435B4 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 80346658 003435B8 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034665C 003435BC 41 82 00 24 */ beq lbl_80346680 +/* 80346660 003435C0 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80346664 003435C4 7F C3 F3 78 */ mr r3, r30 +/* 80346668 003435C8 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 8034666C 003435CC 38 80 00 FF */ li r4, 0xff +/* 80346670 003435D0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80346674 003435D4 38 A0 00 FF */ li r5, 0xff +/* 80346678 003435D8 38 C0 00 FF */ li r6, 0xff +/* 8034667C 003435DC 48 03 53 79 */ bl GXSetTevOrder +lbl_80346680: +/* 80346680 003435E0 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80346684 003435E4 28 00 00 00 */ cmplwi r0, 0 +/* 80346688 003435E8 41 82 00 14 */ beq lbl_8034669C +/* 8034668C 003435EC 38 00 00 00 */ li r0, 0 +/* 80346690 003435F0 7F C3 F3 78 */ mr r3, r30 +/* 80346694 003435F4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80346698 003435F8 48 03 4C 49 */ bl GXSetTevDirect +lbl_8034669C: +/* 8034669C 003435FC 7F C3 F3 78 */ mr r3, r30 +/* 803466A0 00343600 4B FC 15 B1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803466A4 00343604 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803466A8 00343608 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803466AC 0034360C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803466B0 00343610 7C 08 03 A6 */ mtlr r0 +/* 803466B4 00343614 38 21 00 10 */ addi r1, r1, 0x10 +/* 803466B8 00343618 4E 80 00 20 */ blr + +.global HandleDepth__FUiUi +HandleDepth__FUiUi: +/* 803466BC 0034361C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803466C0 00343620 7C 08 02 A6 */ mflr r0 +/* 803466C4 00343624 7C 87 23 78 */ mr r7, r4 +/* 803466C8 00343628 90 01 00 14 */ stw r0, 0x14(r1) +/* 803466CC 0034362C 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 803466D0 00343630 40 82 00 0C */ bne lbl_803466DC +/* 803466D4 00343634 38 80 00 07 */ li r4, 7 +/* 803466D8 00343638 48 00 00 38 */ b lbl_80346710 +lbl_803466DC: +/* 803466DC 0034363C 54 60 07 39 */ rlwinm. r0, r3, 0, 0x1c, 0x1c +/* 803466E0 00343640 41 82 00 1C */ beq lbl_803466FC +/* 803466E4 00343644 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b +/* 803466E8 00343648 41 82 00 0C */ beq lbl_803466F4 +/* 803466EC 0034364C 38 80 00 04 */ li r4, 4 +/* 803466F0 00343650 48 00 00 20 */ b lbl_80346710 +lbl_803466F4: +/* 803466F4 00343654 38 80 00 06 */ li r4, 6 +/* 803466F8 00343658 48 00 00 18 */ b lbl_80346710 +lbl_803466FC: +/* 803466FC 0034365C 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b +/* 80346700 00343660 41 82 00 0C */ beq lbl_8034670C +/* 80346704 00343664 38 80 00 01 */ li r4, 1 +/* 80346708 00343668 48 00 00 08 */ b lbl_80346710 +lbl_8034670C: +/* 8034670C 0034366C 38 80 00 03 */ li r4, 3 +lbl_80346710: +/* 80346710 00343670 54 66 07 BC */ rlwinm r6, r3, 0, 0x1e, 0x1e +/* 80346714 00343674 54 85 15 BA */ rlwinm r5, r4, 2, 0x16, 0x1d +/* 80346718 00343678 28 06 00 02 */ cmplwi r6, 2 +/* 8034671C 0034367C 38 60 00 00 */ li r3, 0 +/* 80346720 00343680 40 82 00 10 */ bne lbl_80346730 +/* 80346724 00343684 54 E0 06 31 */ rlwinm. r0, r7, 0, 0x18, 0x18 +/* 80346728 00343688 41 82 00 08 */ beq lbl_80346730 +/* 8034672C 0034368C 38 60 00 01 */ li r3, 1 +lbl_80346730: +/* 80346730 00343690 54 60 0D FC */ rlwinm r0, r3, 1, 0x17, 0x1e +/* 80346734 00343694 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346738 00343698 60 00 00 01 */ ori r0, r0, 1 +/* 8034673C 0034369C 7C A5 03 78 */ or r5, r5, r0 +/* 80346740 003436A0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80346744 003436A4 88 03 00 52 */ lbz r0, 0x52(r3) +/* 80346748 003436A8 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034674C 003436AC 7C 05 00 40 */ cmplw r5, r0 +/* 80346750 003436B0 41 82 00 2C */ beq lbl_8034677C +/* 80346754 003436B4 28 06 00 02 */ cmplwi r6, 2 +/* 80346758 003436B8 98 A3 00 52 */ stb r5, 0x52(r3) +/* 8034675C 003436BC 38 60 00 01 */ li r3, 1 +/* 80346760 003436C0 38 A0 00 00 */ li r5, 0 +/* 80346764 003436C4 40 82 00 10 */ bne lbl_80346774 +/* 80346768 003436C8 54 E0 06 31 */ rlwinm. r0, r7, 0, 0x18, 0x18 +/* 8034676C 003436CC 41 82 00 08 */ beq lbl_80346774 +/* 80346770 003436D0 38 A0 00 01 */ li r5, 1 +lbl_80346774: +/* 80346774 003436D4 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 80346778 003436D8 48 03 57 E1 */ bl GXSetZMode +lbl_8034677C: +/* 8034677C 003436DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80346780 003436E0 7C 08 03 A6 */ mtlr r0 +/* 80346784 003436E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80346788 003436E8 4E 80 00 20 */ blr + +.global HandleColorChannels__FUiUi +HandleColorChannels__FUiUi: +/* 8034678C 003436EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80346790 003436F0 7C 08 02 A6 */ mflr r0 +/* 80346794 003436F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80346798 003436F8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8034679C 003436FC 7C 9F 23 78 */ mr r31, r4 +/* 803467A0 00343700 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803467A4 00343704 7C 7E 1B 78 */ mr r30, r3 +/* 803467A8 00343708 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803467AC 0034370C 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 803467B0 00343710 28 00 00 00 */ cmplwi r0, 0 +/* 803467B4 00343714 41 82 01 5C */ beq lbl_80346910 +/* 803467B8 00343718 28 1E 00 00 */ cmplwi r30, 0 +/* 803467BC 0034371C 41 82 01 4C */ beq lbl_80346908 +/* 803467C0 00343720 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803467C4 00343724 80 A2 CB B8 */ lwz r5, lbl_805AE8D8@sda21(r2) +/* 803467C8 00343728 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 803467CC 0034372C 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 803467D0 00343730 7C 05 00 40 */ cmplw r5, r0 +/* 803467D4 00343734 41 82 00 18 */ beq lbl_803467EC +/* 803467D8 00343738 90 BD 00 3C */ stw r5, 0x3c(r29) +/* 803467DC 0034373C 38 81 00 24 */ addi r4, r1, 0x24 +/* 803467E0 00343740 38 60 00 05 */ li r3, 5 +/* 803467E4 00343744 90 A1 00 24 */ stw r5, 0x24(r1) +/* 803467E8 00343748 48 03 31 61 */ bl GXSetChanAmbColor +lbl_803467EC: +/* 803467EC 0034374C 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 803467F0 00343750 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 803467F4 00343754 7C 05 00 40 */ cmplw r5, r0 +/* 803467F8 00343758 41 82 00 18 */ beq lbl_80346810 +/* 803467FC 0034375C 90 BD 00 44 */ stw r5, 0x44(r29) +/* 80346800 00343760 38 81 00 20 */ addi r4, r1, 0x20 +/* 80346804 00343764 38 60 00 05 */ li r3, 5 +/* 80346808 00343768 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8034680C 0034376C 48 03 32 31 */ bl GXSetChanMatColor +lbl_80346810: +/* 80346810 00343770 89 2D A9 A1 */ lbz r9, lbl_805A9561@sda21(r13) +/* 80346814 00343774 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346818 00343778 38 E3 53 EC */ addi r7, r3, lbl_805A53EC@l +/* 8034681C 0034377C 38 00 00 01 */ li r0, 1 +/* 80346820 00343780 2C 09 00 00 */ cmpwi r9, 0 +/* 80346824 00343784 A1 07 00 32 */ lhz r8, 0x32(r7) +/* 80346828 00343788 40 82 00 08 */ bne lbl_80346830 +/* 8034682C 0034378C 38 00 00 00 */ li r0, 0 +lbl_80346830: +/* 80346830 00343790 54 05 07 FE */ clrlwi r5, r0, 0x1f +/* 80346834 00343794 88 6D A8 16 */ lbz r3, lbl_805A93D6@sda21(r13) +/* 80346838 00343798 88 0D A9 A0 */ lbz r0, lbl_805A9560@sda21(r13) +/* 8034683C 0034379C 51 25 1D 78 */ rlwimi r5, r9, 3, 0x15, 0x1c +/* 80346840 003437A0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346844 003437A4 60 A5 30 00 */ ori r5, r5, 0x3000 +/* 80346848 003437A8 7C 60 00 78 */ andc r0, r3, r0 +/* 8034684C 003437AC 38 C4 53 EC */ addi r6, r4, lbl_805A53EC@l +/* 80346850 003437B0 B0 A7 00 36 */ sth r5, 0x36(r7) +/* 80346854 003437B4 54 09 06 3F */ clrlwi. r9, r0, 0x18 +/* 80346858 003437B8 7C 65 40 50 */ subf r3, r5, r8 +/* 8034685C 003437BC 7C 08 28 50 */ subf r0, r8, r5 +/* 80346860 003437C0 88 86 00 4C */ lbz r4, 0x4c(r6) +/* 80346864 003437C4 7C 60 03 78 */ or r0, r3, r0 +/* 80346868 003437C8 A0 66 00 30 */ lhz r3, 0x30(r6) +/* 8034686C 003437CC 50 04 1F 7A */ rlwimi r4, r0, 3, 0x1d, 0x1d +/* 80346870 003437D0 57 E5 00 3C */ rlwinm r5, r31, 0, 0, 0x1e +/* 80346874 003437D4 98 86 00 4C */ stb r4, 0x4c(r6) +/* 80346878 003437D8 41 82 00 0C */ beq lbl_80346884 +/* 8034687C 003437DC 55 20 1D 78 */ rlwinm r0, r9, 3, 0x15, 0x1c +/* 80346880 003437E0 7F E5 03 78 */ or r5, r31, r0 +lbl_80346884: +/* 80346884 003437E4 7C 85 18 50 */ subf r4, r5, r3 +/* 80346888 003437E8 7C 63 28 50 */ subf r3, r3, r5 +/* 8034688C 003437EC 88 06 00 4C */ lbz r0, 0x4c(r6) +/* 80346890 003437F0 7C 83 1B 78 */ or r3, r4, r3 +/* 80346894 003437F4 50 60 17 BC */ rlwimi r0, r3, 2, 0x1e, 0x1e +/* 80346898 003437F8 28 09 00 00 */ cmplwi r9, 0 +/* 8034689C 003437FC B0 A6 00 34 */ sth r5, 0x34(r6) +/* 803468A0 00343800 98 06 00 4C */ stb r0, 0x4c(r6) +/* 803468A4 00343804 41 82 00 34 */ beq lbl_803468D8 +/* 803468A8 00343808 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803468AC 0034380C 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 803468B0 00343810 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803468B4 00343814 80 03 00 40 */ lwz r0, 0x40(r3) +/* 803468B8 00343818 7C 05 00 40 */ cmplw r5, r0 +/* 803468BC 0034381C 41 82 00 4C */ beq lbl_80346908 +/* 803468C0 00343820 90 A3 00 40 */ stw r5, 0x40(r3) +/* 803468C4 00343824 38 81 00 1C */ addi r4, r1, 0x1c +/* 803468C8 00343828 38 60 00 04 */ li r3, 4 +/* 803468CC 0034382C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 803468D0 00343830 48 03 31 6D */ bl GXSetChanMatColor +/* 803468D4 00343834 48 00 00 34 */ b lbl_80346908 +lbl_803468D8: +/* 803468D8 00343838 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803468DC 0034383C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803468E0 00343840 80 A3 00 38 */ lwz r5, 0x38(r3) +/* 803468E4 00343844 80 03 00 40 */ lwz r0, 0x40(r3) +/* 803468E8 00343848 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 803468EC 0034384C 7C 05 00 40 */ cmplw r5, r0 +/* 803468F0 00343850 41 82 00 18 */ beq lbl_80346908 +/* 803468F4 00343854 90 A3 00 40 */ stw r5, 0x40(r3) +/* 803468F8 00343858 38 81 00 18 */ addi r4, r1, 0x18 +/* 803468FC 0034385C 38 60 00 04 */ li r3, 4 +/* 80346900 00343860 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80346904 00343864 48 03 31 39 */ bl GXSetChanMatColor +lbl_80346908: +/* 80346908 00343868 38 60 00 02 */ li r3, 2 +/* 8034690C 0034386C 48 00 01 68 */ b lbl_80346A74 +lbl_80346910: +/* 80346910 00343870 28 1E 00 02 */ cmplwi r30, 2 +/* 80346914 00343874 40 82 00 58 */ bne lbl_8034696C +/* 80346918 00343878 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8034691C 0034387C 80 A2 CB B8 */ lwz r5, lbl_805AE8D8@sda21(r2) +/* 80346920 00343880 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 80346924 00343884 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 80346928 00343888 7C 05 00 40 */ cmplw r5, r0 +/* 8034692C 0034388C 41 82 00 18 */ beq lbl_80346944 +/* 80346930 00343890 90 BD 00 3C */ stw r5, 0x3c(r29) +/* 80346934 00343894 38 81 00 14 */ addi r4, r1, 0x14 +/* 80346938 00343898 38 60 00 05 */ li r3, 5 +/* 8034693C 0034389C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80346940 003438A0 48 03 30 09 */ bl GXSetChanAmbColor +lbl_80346944: +/* 80346944 003438A4 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 80346948 003438A8 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 8034694C 003438AC 7C 05 00 40 */ cmplw r5, r0 +/* 80346950 003438B0 41 82 00 48 */ beq lbl_80346998 +/* 80346954 003438B4 90 BD 00 44 */ stw r5, 0x44(r29) +/* 80346958 003438B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034695C 003438BC 38 60 00 05 */ li r3, 5 +/* 80346960 003438C0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80346964 003438C4 48 03 30 D9 */ bl GXSetChanMatColor +/* 80346968 003438C8 48 00 00 30 */ b lbl_80346998 +lbl_8034696C: +/* 8034696C 003438CC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346970 003438D0 38 A0 40 00 */ li r5, 0x4000 +/* 80346974 003438D4 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 80346978 003438D8 A0 66 00 32 */ lhz r3, 0x32(r6) +/* 8034697C 003438DC 88 06 00 4C */ lbz r0, 0x4c(r6) +/* 80346980 003438E0 38 83 C0 00 */ addi r4, r3, -16384 +/* 80346984 003438E4 20 63 40 00 */ subfic r3, r3, 0x4000 +/* 80346988 003438E8 7C 83 1B 78 */ or r3, r4, r3 +/* 8034698C 003438EC B0 A6 00 36 */ sth r5, 0x36(r6) +/* 80346990 003438F0 50 60 1F 7A */ rlwimi r0, r3, 3, 0x1d, 0x1d +/* 80346994 003438F4 98 06 00 4C */ stb r0, 0x4c(r6) +lbl_80346998: +/* 80346998 003438F8 28 1E 00 01 */ cmplwi r30, 1 +/* 8034699C 003438FC 41 80 00 A8 */ blt lbl_80346A44 +/* 803469A0 00343900 88 8D A8 16 */ lbz r4, lbl_805A93D6@sda21(r13) +/* 803469A4 00343904 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803469A8 00343908 39 03 53 EC */ addi r8, r3, lbl_805A53EC@l +/* 803469AC 0034390C 57 E7 00 3C */ rlwinm r7, r31, 0, 0, 0x1e +/* 803469B0 00343910 2C 04 00 00 */ cmpwi r4, 0 +/* 803469B4 00343914 A1 28 00 30 */ lhz r9, 0x30(r8) +/* 803469B8 00343918 41 82 00 0C */ beq lbl_803469C4 +/* 803469BC 0034391C 54 80 1D 78 */ rlwinm r0, r4, 3, 0x15, 0x1c +/* 803469C0 00343920 7F E7 03 78 */ or r7, r31, r0 +lbl_803469C4: +/* 803469C4 00343924 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803469C8 00343928 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 803469CC 0034392C 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 803469D0 00343930 7C A7 48 50 */ subf r5, r7, r9 +/* 803469D4 00343934 7C 89 38 50 */ subf r4, r9, r7 +/* 803469D8 00343938 88 66 00 4C */ lbz r3, 0x4c(r6) +/* 803469DC 0034393C 7C A4 23 78 */ or r4, r5, r4 +/* 803469E0 00343940 B0 E8 00 34 */ sth r7, 0x34(r8) +/* 803469E4 00343944 50 83 17 BC */ rlwimi r3, r4, 2, 0x1e, 0x1e +/* 803469E8 00343948 98 66 00 4C */ stb r3, 0x4c(r6) +/* 803469EC 0034394C 41 82 00 2C */ beq lbl_80346A18 +/* 803469F0 00343950 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 803469F4 00343954 80 06 00 40 */ lwz r0, 0x40(r6) +/* 803469F8 00343958 7C 05 00 40 */ cmplw r5, r0 +/* 803469FC 0034395C 41 82 00 74 */ beq lbl_80346A70 +/* 80346A00 00343960 90 A6 00 40 */ stw r5, 0x40(r6) +/* 80346A04 00343964 38 81 00 0C */ addi r4, r1, 0xc +/* 80346A08 00343968 38 60 00 04 */ li r3, 4 +/* 80346A0C 0034396C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80346A10 00343970 48 03 30 2D */ bl GXSetChanMatColor +/* 80346A14 00343974 48 00 00 5C */ b lbl_80346A70 +lbl_80346A18: +/* 80346A18 00343978 80 A6 00 38 */ lwz r5, 0x38(r6) +/* 80346A1C 0034397C 80 06 00 40 */ lwz r0, 0x40(r6) +/* 80346A20 00343980 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80346A24 00343984 7C 05 00 40 */ cmplw r5, r0 +/* 80346A28 00343988 41 82 00 48 */ beq lbl_80346A70 +/* 80346A2C 0034398C 90 A6 00 40 */ stw r5, 0x40(r6) +/* 80346A30 00343990 38 81 00 08 */ addi r4, r1, 8 +/* 80346A34 00343994 38 60 00 04 */ li r3, 4 +/* 80346A38 00343998 90 A1 00 08 */ stw r5, 8(r1) +/* 80346A3C 0034399C 48 03 30 01 */ bl GXSetChanMatColor +/* 80346A40 003439A0 48 00 00 30 */ b lbl_80346A70 +lbl_80346A44: +/* 80346A44 003439A4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346A48 003439A8 38 A0 40 00 */ li r5, 0x4000 +/* 80346A4C 003439AC 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 80346A50 003439B0 A0 66 00 30 */ lhz r3, 0x30(r6) +/* 80346A54 003439B4 88 06 00 4C */ lbz r0, 0x4c(r6) +/* 80346A58 003439B8 38 83 C0 00 */ addi r4, r3, -16384 +/* 80346A5C 003439BC 20 63 40 00 */ subfic r3, r3, 0x4000 +/* 80346A60 003439C0 7C 83 1B 78 */ or r3, r4, r3 +/* 80346A64 003439C4 B0 A6 00 34 */ sth r5, 0x34(r6) +/* 80346A68 003439C8 50 60 17 BC */ rlwimi r0, r3, 2, 0x1e, 0x1e +/* 80346A6C 003439CC 98 06 00 4C */ stb r0, 0x4c(r6) +lbl_80346A70: +/* 80346A70 003439D0 7F C3 F3 78 */ mr r3, r30 +lbl_80346A74: +/* 80346A74 003439D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80346A78 003439D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80346A7C 003439DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80346A80 003439E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80346A84 003439E4 7C 08 03 A6 */ mtlr r0 +/* 80346A88 003439E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80346A8C 003439EC 4E 80 00 20 */ blr + +.global SetCurrentBlack__13CCubeMaterialCFv +SetCurrentBlack__13CCubeMaterialCFv: +/* 80346A90 003439F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80346A94 003439F4 7C 08 02 A6 */ mflr r0 +/* 80346A98 003439F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80346A9C 003439FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80346AA0 00343A00 93 C1 00 08 */ stw r30, 8(r1) +/* 80346AA4 00343A04 80 83 00 00 */ lwz r4, 0(r3) +/* 80346AA8 00343A08 80 64 00 04 */ lwz r3, 4(r4) +/* 80346AAC 00343A0C 80 04 00 00 */ lwz r0, 0(r4) +/* 80346AB0 00343A10 54 63 10 3A */ slwi r3, r3, 2 +/* 80346AB4 00343A14 7C 64 1A 14 */ add r3, r4, r3 +/* 80346AB8 00343A18 54 00 06 B7 */ rlwinm. r0, r0, 0, 0x1a, 0x1b +/* 80346ABC 00343A1C 83 C3 00 08 */ lwz r30, 8(r3) +/* 80346AC0 00343A20 41 82 00 40 */ beq lbl_80346B00 +/* 80346AC4 00343A24 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346AC8 00343A28 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80346ACC 00343A2C A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80346AD0 00343A30 28 00 00 21 */ cmplwi r0, 0x21 +/* 80346AD4 00343A34 41 82 00 64 */ beq lbl_80346B38 +/* 80346AD8 00343A38 38 60 00 21 */ li r3, 0x21 +/* 80346ADC 00343A3C 4B D6 D8 9D */ bl update_fog__3CGXFUi +/* 80346AE0 00343A40 38 00 00 21 */ li r0, 0x21 +/* 80346AE4 00343A44 38 60 00 01 */ li r3, 1 +/* 80346AE8 00343A48 B0 1F 00 56 */ sth r0, 0x56(r31) +/* 80346AEC 00343A4C 38 80 00 00 */ li r4, 0 +/* 80346AF0 00343A50 38 A0 00 01 */ li r5, 1 +/* 80346AF4 00343A54 38 C0 00 00 */ li r6, 0 +/* 80346AF8 00343A58 48 03 53 B5 */ bl GXSetBlendMode +/* 80346AFC 00343A5C 48 00 00 3C */ b lbl_80346B38 +lbl_80346B00: +/* 80346B00 00343A60 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346B04 00343A64 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80346B08 00343A68 A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80346B0C 00343A6C 28 00 00 05 */ cmplwi r0, 5 +/* 80346B10 00343A70 41 82 00 28 */ beq lbl_80346B38 +/* 80346B14 00343A74 38 60 00 05 */ li r3, 5 +/* 80346B18 00343A78 4B D6 D8 61 */ bl update_fog__3CGXFUi +/* 80346B1C 00343A7C 38 00 00 05 */ li r0, 5 +/* 80346B20 00343A80 38 60 00 01 */ li r3, 1 +/* 80346B24 00343A84 B0 1F 00 56 */ sth r0, 0x56(r31) +/* 80346B28 00343A88 38 80 00 01 */ li r4, 1 +/* 80346B2C 00343A8C 38 A0 00 00 */ li r5, 0 +/* 80346B30 00343A90 38 C0 00 00 */ li r6, 0 +/* 80346B34 00343A94 48 03 53 79 */ bl GXSetBlendMode +lbl_80346B38: +/* 80346B38 00343A98 7F C3 F3 78 */ mr r3, r30 +/* 80346B3C 00343A9C 4B FC 13 C1 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80346B40 00343AA0 88 0D A9 99 */ lbz r0, lbl_805A9559@sda21(r13) +/* 80346B44 00343AA4 38 E0 00 0F */ li r7, 0xf +/* 80346B48 00343AA8 28 00 00 00 */ cmplwi r0, 0 +/* 80346B4C 00343AAC 41 82 00 08 */ beq lbl_80346B54 +/* 80346B50 00343AB0 38 E0 00 0C */ li r7, 0xc +lbl_80346B54: +/* 80346B54 00343AB4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346B58 00343AB8 54 E4 7B 20 */ rlwinm r4, r7, 0xf, 0xc, 0x10 +/* 80346B5C 00343ABC 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80346B60 00343AC0 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 80346B64 00343AC4 60 83 3D EF */ ori r3, r4, 0x3def +/* 80346B68 00343AC8 7C 03 00 40 */ cmplw r3, r0 +/* 80346B6C 00343ACC 41 82 00 1C */ beq lbl_80346B88 +/* 80346B70 00343AD0 90 7F 00 68 */ stw r3, 0x68(r31) +/* 80346B74 00343AD4 38 60 00 00 */ li r3, 0 +/* 80346B78 00343AD8 38 80 00 0F */ li r4, 0xf +/* 80346B7C 00343ADC 38 A0 00 0F */ li r5, 0xf +/* 80346B80 00343AE0 38 C0 00 0F */ li r6, 0xf +/* 80346B84 00343AE4 48 03 49 21 */ bl GXSetTevColorIn +lbl_80346B88: +/* 80346B88 00343AE8 88 0D A9 99 */ lbz r0, lbl_805A9559@sda21(r13) +/* 80346B8C 00343AEC 38 E0 00 07 */ li r7, 7 +/* 80346B90 00343AF0 28 00 00 00 */ cmplwi r0, 0 +/* 80346B94 00343AF4 41 82 00 08 */ beq lbl_80346B9C +/* 80346B98 00343AF8 38 E0 00 06 */ li r7, 6 +lbl_80346B9C: +/* 80346B9C 00343AFC 54 E3 7B 20 */ rlwinm r3, r7, 0xf, 0xc, 0x10 +/* 80346BA0 00343B00 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 80346BA4 00343B04 60 63 1C E7 */ ori r3, r3, 0x1ce7 +/* 80346BA8 00343B08 7C 03 00 40 */ cmplw r3, r0 +/* 80346BAC 00343B0C 41 82 00 1C */ beq lbl_80346BC8 +/* 80346BB0 00343B10 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 80346BB4 00343B14 38 60 00 00 */ li r3, 0 +/* 80346BB8 00343B18 38 80 00 07 */ li r4, 7 +/* 80346BBC 00343B1C 38 A0 00 07 */ li r5, 7 +/* 80346BC0 00343B20 38 C0 00 07 */ li r6, 7 +/* 80346BC4 00343B24 48 03 49 25 */ bl GXSetTevAlphaIn +lbl_80346BC8: +/* 80346BC8 00343B28 88 1F 00 81 */ lbz r0, 0x81(r31) +/* 80346BCC 00343B2C 2C 00 00 00 */ cmpwi r0, 0 +/* 80346BD0 00343B30 41 82 00 18 */ beq lbl_80346BE8 +/* 80346BD4 00343B34 38 00 00 00 */ li r0, 0 +/* 80346BD8 00343B38 38 60 00 00 */ li r3, 0 +/* 80346BDC 00343B3C 98 1F 00 81 */ stb r0, 0x81(r31) +/* 80346BE0 00343B40 38 80 00 00 */ li r4, 0 +/* 80346BE4 00343B44 48 03 4B E1 */ bl GXSetTevKAlphaSel +lbl_80346BE8: +/* 80346BE8 00343B48 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346BEC 00343B4C 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l +/* 80346BF0 00343B50 80 65 02 28 */ lwz r3, 0x228(r5) +/* 80346BF4 00343B54 3C 03 FF E2 */ addis r0, r3, 0xffe2 +/* 80346BF8 00343B58 28 00 94 01 */ cmplwi r0, 0x9401 +/* 80346BFC 00343B5C 41 82 00 2C */ beq lbl_80346C28 +/* 80346C00 00343B60 3C 80 00 1F */ lis r4, 0x001E9401@ha +/* 80346C04 00343B64 38 60 00 00 */ li r3, 0 +/* 80346C08 00343B68 38 04 94 01 */ addi r0, r4, 0x001E9401@l +/* 80346C0C 00343B6C 38 80 00 01 */ li r4, 1 +/* 80346C10 00343B70 90 05 02 28 */ stw r0, 0x228(r5) +/* 80346C14 00343B74 38 A0 00 00 */ li r5, 0 +/* 80346C18 00343B78 38 C0 00 3C */ li r6, 0x3c +/* 80346C1C 00343B7C 38 E0 00 00 */ li r7, 0 +/* 80346C20 00343B80 39 00 00 7D */ li r8, 0x7d +/* 80346C24 00343B84 48 03 13 71 */ bl GXSetTexCoordGen2 +lbl_80346C28: +/* 80346C28 00343B88 38 60 00 00 */ li r3, 0 +/* 80346C2C 00343B8C 4B FC 10 25 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80346C30 00343B90 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 80346C34 00343B94 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 80346C38 00343B98 28 00 FF FF */ cmplwi r0, 0xffff +/* 80346C3C 00343B9C 41 82 00 24 */ beq lbl_80346C60 +/* 80346C40 00343BA0 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80346C44 00343BA4 38 60 00 00 */ li r3, 0 +/* 80346C48 00343BA8 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 80346C4C 00343BAC 38 80 00 FF */ li r4, 0xff +/* 80346C50 00343BB0 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 80346C54 00343BB4 38 A0 00 FF */ li r5, 0xff +/* 80346C58 00343BB8 38 C0 00 FF */ li r6, 0xff +/* 80346C5C 00343BBC 48 03 4D 99 */ bl GXSetTevOrder +lbl_80346C60: +/* 80346C60 00343BC0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346C64 00343BC4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346C68 00343BC8 88 04 00 50 */ lbz r0, 0x50(r4) +/* 80346C6C 00343BCC 28 00 00 01 */ cmplwi r0, 1 +/* 80346C70 00343BD0 41 82 00 14 */ beq lbl_80346C84 +/* 80346C74 00343BD4 38 00 00 01 */ li r0, 1 +/* 80346C78 00343BD8 38 60 00 01 */ li r3, 1 +/* 80346C7C 00343BDC 98 04 00 50 */ stb r0, 0x50(r4) +/* 80346C80 00343BE0 48 03 4F 4D */ bl GXSetNumTevStages +lbl_80346C84: +/* 80346C84 00343BE4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346C88 00343BE8 38 E0 00 00 */ li r7, 0 +/* 80346C8C 00343BEC 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 80346C90 00343BF0 88 A6 00 4D */ lbz r5, 0x4d(r6) +/* 80346C94 00343BF4 88 06 00 4F */ lbz r0, 0x4f(r6) +/* 80346C98 00343BF8 7C 85 00 D0 */ neg r4, r5 +/* 80346C9C 00343BFC 88 66 00 4C */ lbz r3, 0x4c(r6) +/* 80346CA0 00343C00 7C 84 2B 78 */ or r4, r4, r5 +/* 80346CA4 00343C04 28 00 00 01 */ cmplwi r0, 1 +/* 80346CA8 00343C08 50 83 0F FE */ rlwimi r3, r4, 1, 0x1f, 0x1f +/* 80346CAC 00343C0C 98 E6 00 4E */ stb r7, 0x4e(r6) +/* 80346CB0 00343C10 98 66 00 4C */ stb r3, 0x4c(r6) +/* 80346CB4 00343C14 41 82 00 14 */ beq lbl_80346CC8 +/* 80346CB8 00343C18 38 00 00 01 */ li r0, 1 +/* 80346CBC 00343C1C 38 60 00 01 */ li r3, 1 +/* 80346CC0 00343C20 98 06 00 4F */ stb r0, 0x4f(r6) +/* 80346CC4 00343C24 48 03 15 A1 */ bl GXSetNumTexGens +lbl_80346CC8: +/* 80346CC8 00343C28 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346CCC 00343C2C 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346CD0 00343C30 88 04 00 51 */ lbz r0, 0x51(r4) +/* 80346CD4 00343C34 28 00 00 00 */ cmplwi r0, 0 +/* 80346CD8 00343C38 41 82 00 14 */ beq lbl_80346CEC +/* 80346CDC 00343C3C 38 00 00 00 */ li r0, 0 +/* 80346CE0 00343C40 38 60 00 00 */ li r3, 0 +/* 80346CE4 00343C44 98 04 00 51 */ stb r0, 0x51(r4) +/* 80346CE8 00343C48 48 03 45 D1 */ bl GXSetNumIndStages +lbl_80346CEC: +/* 80346CEC 00343C4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80346CF0 00343C50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80346CF4 00343C54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80346CF8 00343C58 7C 08 03 A6 */ mtlr r0 +/* 80346CFC 00343C5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80346D00 00343C60 4E 80 00 20 */ blr + +.global EnsureTevsDirect__13CCubeMaterialFv +EnsureTevsDirect__13CCubeMaterialFv: +/* 80346D04 00343C64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80346D08 00343C68 7C 08 02 A6 */ mflr r0 +/* 80346D0C 00343C6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80346D10 00343C70 80 0D 9D 74 */ lwz r0, lbl_805A8934@sda21(r13) +/* 80346D14 00343C74 2C 00 FF FF */ cmpwi r0, -1 +/* 80346D18 00343C78 41 82 00 60 */ beq lbl_80346D78 +/* 80346D1C 00343C7C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346D20 00343C80 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346D24 00343C84 88 04 00 51 */ lbz r0, 0x51(r4) +/* 80346D28 00343C88 28 00 00 00 */ cmplwi r0, 0 +/* 80346D2C 00343C8C 41 82 00 14 */ beq lbl_80346D40 +/* 80346D30 00343C90 38 00 00 00 */ li r0, 0 +/* 80346D34 00343C94 38 60 00 00 */ li r3, 0 +/* 80346D38 00343C98 98 04 00 51 */ stb r0, 0x51(r4) +/* 80346D3C 00343C9C 48 03 45 7D */ bl GXSetNumIndStages +lbl_80346D40: +/* 80346D40 00343CA0 80 6D 9D 74 */ lwz r3, lbl_805A8934@sda21(r13) +/* 80346D44 00343CA4 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346D48 00343CA8 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80346D4C 00343CAC 1C 83 00 1C */ mulli r4, r3, 0x1c +/* 80346D50 00343CB0 7C 80 22 14 */ add r4, r0, r4 +/* 80346D54 00343CB4 38 84 00 68 */ addi r4, r4, 0x68 +/* 80346D58 00343CB8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80346D5C 00343CBC 28 00 00 00 */ cmplwi r0, 0 +/* 80346D60 00343CC0 41 82 00 10 */ beq lbl_80346D70 +/* 80346D64 00343CC4 38 00 00 00 */ li r0, 0 +/* 80346D68 00343CC8 90 04 00 10 */ stw r0, 0x10(r4) +/* 80346D6C 00343CCC 48 03 45 75 */ bl GXSetTevDirect +lbl_80346D70: +/* 80346D70 00343CD0 38 00 FF FF */ li r0, -1 +/* 80346D74 00343CD4 90 0D 9D 74 */ stw r0, lbl_805A8934@sda21(r13) +lbl_80346D78: +/* 80346D78 00343CD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80346D7C 00343CDC 7C 08 03 A6 */ mtlr r0 +/* 80346D80 00343CE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80346D84 00343CE4 4E 80 00 20 */ blr + +.global HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi +HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi: +/* 80346D88 00343CE8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80346D8C 00343CEC 7C 08 02 A6 */ mflr r0 +/* 80346D90 00343CF0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80346D94 00343CF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80346D98 00343CF8 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 80346D9C 00343CFC 7C DD 33 78 */ mr r29, r6 +/* 80346DA0 00343D00 83 41 00 48 */ lwz r26, 0x48(r1) +/* 80346DA4 00343D04 7C 96 23 78 */ mr r22, r4 +/* 80346DA8 00343D08 7C B7 2B 78 */ mr r23, r5 +/* 80346DAC 00343D0C 7C FC 3B 78 */ mr r28, r7 +/* 80346DB0 00343D10 7D 18 43 78 */ mr r24, r8 +/* 80346DB4 00343D14 7D 3B 4B 78 */ mr r27, r9 +/* 80346DB8 00343D18 7D 59 53 78 */ mr r25, r10 +/* 80346DBC 00343D1C 3B E0 00 00 */ li r31, 0 +/* 80346DC0 00343D20 41 82 01 1C */ beq lbl_80346EDC +/* 80346DC4 00343D24 1C 9D 00 1C */ mulli r4, r29, 0x1c +/* 80346DC8 00343D28 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346DCC 00343D2C 3B C0 00 06 */ li r30, 6 +/* 80346DD0 00343D30 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80346DD4 00343D34 7C 60 22 14 */ add r3, r0, r4 +/* 80346DD8 00343D38 3B E3 00 68 */ addi r31, r3, 0x68 +/* 80346DDC 00343D3C 80 63 00 68 */ lwz r3, 0x68(r3) +/* 80346DE0 00343D40 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 80346DE4 00343D44 28 00 B8 CF */ cmplwi r0, 0xb8cf +/* 80346DE8 00343D48 41 82 00 28 */ beq lbl_80346E10 +/* 80346DEC 00343D4C 3C 80 00 08 */ lis r4, 0x0007B8CF@ha +/* 80346DF0 00343D50 7F A3 EB 78 */ mr r3, r29 +/* 80346DF4 00343D54 38 04 B8 CF */ addi r0, r4, 0x0007B8CF@l +/* 80346DF8 00343D58 38 80 00 0F */ li r4, 0xf +/* 80346DFC 00343D5C 90 1F 00 00 */ stw r0, 0(r31) +/* 80346E00 00343D60 38 A0 00 06 */ li r5, 6 +/* 80346E04 00343D64 38 C0 00 0E */ li r6, 0xe +/* 80346E08 00343D68 38 E0 00 0F */ li r7, 0xf +/* 80346E0C 00343D6C 48 03 46 99 */ bl GXSetTevColorIn +lbl_80346E10: +/* 80346E10 00343D70 80 7F 00 04 */ lwz r3, 4(r31) +/* 80346E14 00343D74 3C 03 FF FF */ addis r0, r3, 0xffff +/* 80346E18 00343D78 28 00 9C E7 */ cmplwi r0, 0x9ce7 +/* 80346E1C 00343D7C 41 82 00 28 */ beq lbl_80346E44 +/* 80346E20 00343D80 3C 80 00 02 */ lis r4, 0x00019CE7@ha +/* 80346E24 00343D84 7F A3 EB 78 */ mr r3, r29 +/* 80346E28 00343D88 38 04 9C E7 */ addi r0, r4, 0x00019CE7@l +/* 80346E2C 00343D8C 38 80 00 07 */ li r4, 7 +/* 80346E30 00343D90 90 1F 00 04 */ stw r0, 4(r31) +/* 80346E34 00343D94 38 A0 00 07 */ li r5, 7 +/* 80346E38 00343D98 38 C0 00 07 */ li r6, 7 +/* 80346E3C 00343D9C 38 E0 00 03 */ li r7, 3 +/* 80346E40 00343DA0 48 03 46 A9 */ bl GXSetTevAlphaIn +lbl_80346E44: +/* 80346E44 00343DA4 80 1F 00 08 */ lwz r0, 8(r31) +/* 80346E48 00343DA8 28 00 07 00 */ cmplwi r0, 0x700 +/* 80346E4C 00343DAC 41 82 00 28 */ beq lbl_80346E74 +/* 80346E50 00343DB0 38 00 07 00 */ li r0, 0x700 +/* 80346E54 00343DB4 7F A3 EB 78 */ mr r3, r29 +/* 80346E58 00343DB8 90 1F 00 08 */ stw r0, 8(r31) +/* 80346E5C 00343DBC 38 80 00 00 */ li r4, 0 +/* 80346E60 00343DC0 38 A0 00 00 */ li r5, 0 +/* 80346E64 00343DC4 38 C0 00 00 */ li r6, 0 +/* 80346E68 00343DC8 38 E0 00 01 */ li r7, 1 +/* 80346E6C 00343DCC 39 00 00 03 */ li r8, 3 +/* 80346E70 00343DD0 48 03 46 BD */ bl GXSetTevColorOp +lbl_80346E74: +/* 80346E74 00343DD4 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80346E78 00343DD8 28 00 07 00 */ cmplwi r0, 0x700 +/* 80346E7C 00343DDC 41 82 00 28 */ beq lbl_80346EA4 +/* 80346E80 00343DE0 38 00 07 00 */ li r0, 0x700 +/* 80346E84 00343DE4 7F A3 EB 78 */ mr r3, r29 +/* 80346E88 00343DE8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80346E8C 00343DEC 38 80 00 00 */ li r4, 0 +/* 80346E90 00343DF0 38 A0 00 00 */ li r5, 0 +/* 80346E94 00343DF4 38 C0 00 00 */ li r6, 0 +/* 80346E98 00343DF8 38 E0 00 01 */ li r7, 1 +/* 80346E9C 00343DFC 39 00 00 03 */ li r8, 3 +/* 80346EA0 00343E00 48 03 46 F5 */ bl GXSetTevAlphaOp +lbl_80346EA4: +/* 80346EA4 00343E04 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80346EA8 00343E08 3C 03 FF FA */ addis r0, r3, 0xfffa +/* 80346EAC 00343E0C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80346EB0 00343E10 41 82 00 24 */ beq lbl_80346ED4 +/* 80346EB4 00343E14 3C 80 00 07 */ lis r4, 0x0006FFFF@ha +/* 80346EB8 00343E18 7F A3 EB 78 */ mr r3, r29 +/* 80346EBC 00343E1C 38 04 FF FF */ addi r0, r4, 0x0006FFFF@l +/* 80346EC0 00343E20 38 80 00 FF */ li r4, 0xff +/* 80346EC4 00343E24 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80346EC8 00343E28 38 A0 00 FF */ li r5, 0xff +/* 80346ECC 00343E2C 38 C0 00 06 */ li r6, 6 +/* 80346ED0 00343E30 48 03 4B 25 */ bl GXSetTevOrder +lbl_80346ED4: +/* 80346ED4 00343E34 3B E0 00 01 */ li r31, 1 +/* 80346ED8 00343E38 48 00 00 08 */ b lbl_80346EE0 +lbl_80346EDC: +/* 80346EDC 00343E3C 3B C0 00 0E */ li r30, 0xe +lbl_80346EE0: +/* 80346EE0 00343E40 C0 2D A9 90 */ lfs f1, lbl_805A9550@sda21(r13) +/* 80346EE4 00343E44 38 80 00 FF */ li r4, 0xff +/* 80346EE8 00343E48 38 00 00 00 */ li r0, 0 +/* 80346EEC 00343E4C 98 81 00 0C */ stb r4, 0xc(r1) +/* 80346EF0 00343E50 FC 40 08 90 */ fmr f2, f1 +/* 80346EF4 00343E54 38 61 00 0C */ addi r3, r1, 0xc +/* 80346EF8 00343E58 FC 60 08 90 */ fmr f3, f1 +/* 80346EFC 00343E5C 98 01 00 0D */ stb r0, 0xd(r1) +/* 80346F00 00343E60 FC 80 08 90 */ fmr f4, f1 +/* 80346F04 00343E64 98 81 00 0E */ stb r4, 0xe(r1) +/* 80346F08 00343E68 98 81 00 0F */ stb r4, 0xf(r1) +/* 80346F0C 00343E6C 48 01 C4 91 */ bl Set__6CColorFffff +/* 80346F10 00343E70 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346F14 00343E74 57 64 10 3A */ slwi r4, r27, 2 +/* 80346F18 00343E78 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80346F1C 00343E7C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80346F20 00343E80 7C 63 22 14 */ add r3, r3, r4 +/* 80346F24 00343E84 38 83 00 58 */ addi r4, r3, 0x58 +/* 80346F28 00343E88 80 63 00 58 */ lwz r3, 0x58(r3) +/* 80346F2C 00343E8C 7C 03 00 40 */ cmplw r3, r0 +/* 80346F30 00343E90 41 82 00 18 */ beq lbl_80346F48 +/* 80346F34 00343E94 90 04 00 00 */ stw r0, 0(r4) +/* 80346F38 00343E98 7F 63 DB 78 */ mr r3, r27 +/* 80346F3C 00343E9C 38 81 00 08 */ addi r4, r1, 8 +/* 80346F40 00343EA0 90 01 00 08 */ stw r0, 8(r1) +/* 80346F44 00343EA4 48 03 47 A1 */ bl GXSetTevKColor +lbl_80346F48: +/* 80346F48 00343EA8 1C BD 00 1C */ mulli r5, r29, 0x1c +/* 80346F4C 00343EAC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346F50 00343EB0 38 9B 00 0C */ addi r4, r27, 0xc +/* 80346F54 00343EB4 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80346F58 00343EB8 7C 60 2A 14 */ add r3, r0, r5 +/* 80346F5C 00343EBC 38 63 00 68 */ addi r3, r3, 0x68 +/* 80346F60 00343EC0 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80346F64 00343EC4 7C 04 00 00 */ cmpw r4, r0 +/* 80346F68 00343EC8 41 82 00 10 */ beq lbl_80346F78 +/* 80346F6C 00343ECC 98 83 00 18 */ stb r4, 0x18(r3) +/* 80346F70 00343ED0 7F A3 EB 78 */ mr r3, r29 +/* 80346F74 00343ED4 48 03 47 E5 */ bl GXSetTevKColorSel +lbl_80346F78: +/* 80346F78 00343ED8 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) +/* 80346F7C 00343EDC 7F BD FA 14 */ add r29, r29, r31 +/* 80346F80 00343EE0 4B F7 55 C1 */ bl GetRealReflection__13CCubeRendererFv +/* 80346F84 00343EE4 7F 84 E3 78 */ mr r4, r28 +/* 80346F88 00343EE8 38 A0 00 00 */ li r5, 0 +/* 80346F8C 00343EEC 4B FC 87 B1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80346F90 00343EF0 2C 16 00 FF */ cmpwi r22, 0xff +/* 80346F94 00343EF4 41 82 00 C8 */ beq lbl_8034705C +/* 80346F98 00343EF8 7F 04 C3 78 */ mr r4, r24 +/* 80346F9C 00343EFC 7E C5 B3 78 */ mr r5, r22 +/* 80346FA0 00343F00 3B 78 00 01 */ addi r27, r24, 1 +/* 80346FA4 00343F04 38 60 00 00 */ li r3, 0 +/* 80346FA8 00343F08 48 03 41 FD */ bl GXSetIndTexOrder +/* 80346FAC 00343F0C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346FB0 00343F10 57 04 10 3A */ slwi r4, r24, 2 +/* 80346FB4 00343F14 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80346FB8 00343F18 7C 60 22 14 */ add r3, r0, r4 +/* 80346FBC 00343F1C 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80346FC0 00343F20 80 63 02 28 */ lwz r3, 0x228(r3) +/* 80346FC4 00343F24 3C 03 FF F7 */ addis r0, r3, 0xfff7 +/* 80346FC8 00343F28 28 00 4C 00 */ cmplwi r0, 0x4c00 +/* 80346FCC 00343F2C 41 82 00 2C */ beq lbl_80346FF8 +/* 80346FD0 00343F30 3C 80 00 09 */ lis r4, 0x00094C00@ha +/* 80346FD4 00343F34 7F 03 C3 78 */ mr r3, r24 +/* 80346FD8 00343F38 38 04 4C 00 */ addi r0, r4, 0x00094C00@l +/* 80346FDC 00343F3C 38 80 00 00 */ li r4, 0 +/* 80346FE0 00343F40 90 05 00 00 */ stw r0, 0(r5) +/* 80346FE4 00343F44 38 A0 00 00 */ li r5, 0 +/* 80346FE8 00343F48 38 C0 00 30 */ li r6, 0x30 +/* 80346FEC 00343F4C 38 E0 00 01 */ li r7, 1 +/* 80346FF0 00343F50 39 00 00 52 */ li r8, 0x52 +/* 80346FF4 00343F54 48 03 0F A1 */ bl GXSetTexCoordGen2 +lbl_80346FF8: +/* 80346FF8 00343F58 7F A3 EB 78 */ mr r3, r29 +/* 80346FFC 00343F5C 38 80 00 00 */ li r4, 0 +/* 80347000 00343F60 38 A0 00 01 */ li r5, 1 +/* 80347004 00343F64 38 C0 00 00 */ li r6, 0 +/* 80347008 00343F68 38 E0 00 01 */ li r7, 1 +/* 8034700C 00343F6C 48 00 01 6D */ bl SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID +/* 80347010 00343F70 7E E4 07 74 */ extsb r4, r23 +/* 80347014 00343F74 38 60 00 01 */ li r3, 1 +/* 80347018 00343F78 4B FC 0F A1 */ bl SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc +/* 8034701C 00343F7C 80 6D 9D 74 */ lwz r3, lbl_805A8934@sda21(r13) +/* 80347020 00343F80 7C 03 E8 00 */ cmpw r3, r29 +/* 80347024 00343F84 40 81 00 30 */ ble lbl_80347054 +/* 80347028 00343F88 1C A3 00 1C */ mulli r5, r3, 0x1c +/* 8034702C 00343F8C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80347030 00343F90 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80347034 00343F94 7C 80 2A 14 */ add r4, r0, r5 +/* 80347038 00343F98 38 84 00 68 */ addi r4, r4, 0x68 +/* 8034703C 00343F9C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80347040 00343FA0 28 00 00 00 */ cmplwi r0, 0 +/* 80347044 00343FA4 41 82 00 10 */ beq lbl_80347054 +/* 80347048 00343FA8 38 00 00 00 */ li r0, 0 +/* 8034704C 00343FAC 90 04 00 10 */ stw r0, 0x10(r4) +/* 80347050 00343FB0 48 03 42 91 */ bl GXSetTevDirect +lbl_80347054: +/* 80347054 00343FB4 93 AD 9D 74 */ stw r29, lbl_805A8934@sda21(r13) +/* 80347058 00343FB8 48 00 00 08 */ b lbl_80347060 +lbl_8034705C: +/* 8034705C 00343FBC 7F 1B C3 78 */ mr r27, r24 +lbl_80347060: +/* 80347060 00343FC0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347064 00343FC4 57 64 10 3A */ slwi r4, r27, 2 +/* 80347068 00343FC8 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 8034706C 00343FCC 7C 60 22 14 */ add r3, r0, r4 +/* 80347070 00343FD0 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80347074 00343FD4 80 63 02 28 */ lwz r3, 0x228(r3) +/* 80347078 00343FD8 3C 03 FF E2 */ addis r0, r3, 0xffe2 +/* 8034707C 00343FDC 28 00 8E 00 */ cmplwi r0, 0x8e00 +/* 80347080 00343FE0 41 82 00 2C */ beq lbl_803470AC +/* 80347084 00343FE4 3C 80 00 1F */ lis r4, 0x001E8E00@ha +/* 80347088 00343FE8 7F 63 DB 78 */ mr r3, r27 +/* 8034708C 00343FEC 38 04 8E 00 */ addi r0, r4, 0x001E8E00@l +/* 80347090 00343FF0 38 80 00 00 */ li r4, 0 +/* 80347094 00343FF4 90 05 00 00 */ stw r0, 0(r5) +/* 80347098 00343FF8 38 A0 00 00 */ li r5, 0 +/* 8034709C 00343FFC 38 C0 00 33 */ li r6, 0x33 +/* 803470A0 00344000 38 E0 00 00 */ li r7, 0 +/* 803470A4 00344004 39 00 00 7D */ li r8, 0x7d +/* 803470A8 00344008 48 03 0E ED */ bl GXSetTexCoordGen2 +lbl_803470AC: +/* 803470AC 0034400C 1C 9D 00 1C */ mulli r4, r29, 0x1c +/* 803470B0 00344010 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803470B4 00344014 57 C5 2D B4 */ rlwinm r5, r30, 5, 0x16, 0x1a +/* 803470B8 00344018 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 803470BC 0034401C 7C 60 22 14 */ add r3, r0, r4 +/* 803470C0 00344020 80 03 00 68 */ lwz r0, 0x68(r3) +/* 803470C4 00344024 60 A4 20 0F */ ori r4, r5, 0x200f +/* 803470C8 00344028 3A C3 00 68 */ addi r22, r3, 0x68 +/* 803470CC 0034402C 7C 04 00 40 */ cmplw r4, r0 +/* 803470D0 00344030 41 82 00 20 */ beq lbl_803470F0 +/* 803470D4 00344034 90 96 00 00 */ stw r4, 0(r22) +/* 803470D8 00344038 7F A3 EB 78 */ mr r3, r29 +/* 803470DC 0034403C 7F C5 F3 78 */ mr r5, r30 +/* 803470E0 00344040 38 80 00 0F */ li r4, 0xf +/* 803470E4 00344044 38 C0 00 08 */ li r6, 8 +/* 803470E8 00344048 38 E0 00 00 */ li r7, 0 +/* 803470EC 0034404C 48 03 43 B9 */ bl GXSetTevColorIn +lbl_803470F0: +/* 803470F0 00344050 80 16 00 04 */ lwz r0, 4(r22) +/* 803470F4 00344054 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 803470F8 00344058 41 82 00 24 */ beq lbl_8034711C +/* 803470FC 0034405C 38 00 1C E7 */ li r0, 0x1ce7 +/* 80347100 00344060 7F A3 EB 78 */ mr r3, r29 +/* 80347104 00344064 90 16 00 04 */ stw r0, 4(r22) +/* 80347108 00344068 38 80 00 07 */ li r4, 7 +/* 8034710C 0034406C 38 A0 00 07 */ li r5, 7 +/* 80347110 00344070 38 C0 00 07 */ li r6, 7 +/* 80347114 00344074 38 E0 00 00 */ li r7, 0 +/* 80347118 00344078 48 03 43 D1 */ bl GXSetTevAlphaIn +lbl_8034711C: +/* 8034711C 0034407C 7F A3 EB 78 */ mr r3, r29 +/* 80347120 00344080 4B FC 0B 31 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80347124 00344084 38 60 00 00 */ li r3, 0 +/* 80347128 00344088 57 80 44 2E */ rlwinm r0, r28, 8, 0x10, 0x17 +/* 8034712C 0034408C 90 7A 00 00 */ stw r3, 0(r26) +/* 80347130 00344090 53 60 06 3E */ rlwimi r0, r27, 0, 0x18, 0x1f +/* 80347134 00344094 90 79 00 00 */ stw r3, 0(r25) +/* 80347138 00344098 64 03 00 FF */ oris r3, r0, 0xff +/* 8034713C 0034409C 80 16 00 14 */ lwz r0, 0x14(r22) +/* 80347140 003440A0 7C 00 18 40 */ cmplw r0, r3 +/* 80347144 003440A4 41 82 00 1C */ beq lbl_80347160 +/* 80347148 003440A8 90 76 00 14 */ stw r3, 0x14(r22) +/* 8034714C 003440AC 7F A3 EB 78 */ mr r3, r29 +/* 80347150 003440B0 7F 64 DB 78 */ mr r4, r27 +/* 80347154 003440B4 7F 85 E3 78 */ mr r5, r28 +/* 80347158 003440B8 38 C0 00 FF */ li r6, 0xff +/* 8034715C 003440BC 48 03 48 99 */ bl GXSetTevOrder +lbl_80347160: +/* 80347160 003440C0 38 7F 00 01 */ addi r3, r31, 1 +/* 80347164 003440C4 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 80347168 003440C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034716C 003440CC 7C 08 03 A6 */ mtlr r0 +/* 80347170 003440D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80347174 003440D4 4E 80 00 20 */ blr + +.global SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID +SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID: +/* 80347178 003440D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034717C 003440DC 7C 08 02 A6 */ mflr r0 +/* 80347180 003440E0 39 00 00 00 */ li r8, 0 +/* 80347184 003440E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80347188 003440E8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8034718C 003440EC 41 82 00 08 */ beq lbl_80347194 +/* 80347190 003440F0 39 00 00 06 */ li r8, 6 +lbl_80347194: +/* 80347194 003440F4 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80347198 003440F8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8034719C 003440FC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 803471A0 00344100 38 06 53 EC */ addi r0, r6, lbl_805A53EC@l +/* 803471A4 00344104 7C C0 4A 14 */ add r6, r0, r9 +/* 803471A8 00344108 54 89 07 BE */ clrlwi r9, r4, 0x1e +/* 803471AC 0034410C 39 66 00 68 */ addi r11, r6, 0x68 +/* 803471B0 00344110 38 00 00 00 */ li r0, 0 +/* 803471B4 00344114 41 82 00 08 */ beq lbl_803471BC +/* 803471B8 00344118 38 00 00 07 */ li r0, 7 +lbl_803471BC: +/* 803471BC 0034411C 54 00 26 76 */ rlwinm r0, r0, 4, 0x19, 0x1b +/* 803471C0 00344120 54 E6 3D 70 */ rlwinm r6, r7, 7, 0x15, 0x18 +/* 803471C4 00344124 7C 00 4B 78 */ or r0, r0, r9 +/* 803471C8 00344128 55 09 5C A8 */ rlwinm r9, r8, 0xb, 0x12, 0x14 +/* 803471CC 0034412C 7C C0 03 78 */ or r0, r6, r0 +/* 803471D0 00344130 55 0A 73 E2 */ rlwinm r10, r8, 0xe, 0xf, 0x11 +/* 803471D4 00344134 7D 26 03 78 */ or r6, r9, r0 +/* 803471D8 00344138 80 0B 00 10 */ lwz r0, 0x10(r11) +/* 803471DC 0034413C 7D 46 33 78 */ or r6, r10, r6 +/* 803471E0 00344140 7C 00 30 40 */ cmplw r0, r6 +/* 803471E4 00344144 41 82 00 30 */ beq lbl_80347214 +/* 803471E8 00344148 90 CB 00 10 */ stw r6, 0x10(r11) +/* 803471EC 0034414C 38 C0 00 00 */ li r6, 0 +/* 803471F0 00344150 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 803471F4 00344154 38 A0 00 00 */ li r5, 0 +/* 803471F8 00344158 90 C1 00 08 */ stw r6, 8(r1) +/* 803471FC 0034415C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80347200 00344160 41 82 00 08 */ beq lbl_80347208 +/* 80347204 00344164 38 C0 00 07 */ li r6, 7 +lbl_80347208: +/* 80347208 00344168 7D 09 43 78 */ mr r9, r8 +/* 8034720C 0034416C 39 40 00 00 */ li r10, 0 +/* 80347210 00344170 48 03 3C 1D */ bl GXSetTevIndirect +lbl_80347214: +/* 80347214 00344174 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80347218 00344178 7C 08 03 A6 */ mtlr r0 +/* 8034721C 0034417C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80347220 00344180 4E 80 00 20 */ blr + +.global DoModelShadow__FUiUi +DoModelShadow__FUiUi: +/* 80347224 00344184 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80347228 00344188 7C 08 02 A6 */ mflr r0 +/* 8034722C 0034418C 38 A0 00 01 */ li r5, 1 +/* 80347230 00344190 90 01 00 64 */ stw r0, 0x64(r1) +/* 80347234 00344194 7C 60 1B 78 */ mr r0, r3 +/* 80347238 00344198 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 8034723C 0034419C 7C 9E 23 78 */ mr r30, r4 +/* 80347240 003441A0 7C 1D 03 78 */ mr r29, r0 +/* 80347244 003441A4 7C 04 03 78 */ mr r4, r0 +/* 80347248 003441A8 80 6D A9 9C */ lwz r3, lbl_805A955C@sda21(r13) +/* 8034724C 003441AC 4B FC 84 F1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80347250 003441B0 3C 60 80 3E */ lis r3, lbl_803D8048@ha +/* 80347254 003441B4 3C 80 80 4C */ lis r4, lbl_804BFF5C@ha +/* 80347258 003441B8 3B 03 80 48 */ addi r24, r3, lbl_803D8048@l +/* 8034725C 003441BC 38 61 00 08 */ addi r3, r1, 8 +/* 80347260 003441C0 83 38 00 00 */ lwz r25, 0(r24) +/* 80347264 003441C4 38 C4 FF 5C */ addi r6, r4, lbl_804BFF5C@l +/* 80347268 003441C8 83 58 00 04 */ lwz r26, 4(r24) +/* 8034726C 003441CC 38 80 00 2D */ li r4, 0x2d +/* 80347270 003441D0 83 78 00 08 */ lwz r27, 8(r24) +/* 80347274 003441D4 38 A0 00 00 */ li r5, 0 +/* 80347278 003441D8 83 98 00 0C */ lwz r28, 0xc(r24) +/* 8034727C 003441DC 83 F8 00 10 */ lwz r31, 0x10(r24) +/* 80347280 003441E0 81 98 00 14 */ lwz r12, 0x14(r24) +/* 80347284 003441E4 81 78 00 18 */ lwz r11, 0x18(r24) +/* 80347288 003441E8 81 58 00 1C */ lwz r10, 0x1c(r24) +/* 8034728C 003441EC 81 38 00 20 */ lwz r9, 0x20(r24) +/* 80347290 003441F0 81 18 00 24 */ lwz r8, 0x24(r24) +/* 80347294 003441F4 80 F8 00 28 */ lwz r7, 0x28(r24) +/* 80347298 003441F8 80 18 00 2C */ lwz r0, 0x2c(r24) +/* 8034729C 003441FC 93 21 00 08 */ stw r25, 8(r1) +/* 803472A0 00344200 C0 E6 00 00 */ lfs f7, 0(r6) +/* 803472A4 00344204 93 41 00 0C */ stw r26, 0xc(r1) +/* 803472A8 00344208 C0 C6 00 04 */ lfs f6, 4(r6) +/* 803472AC 0034420C 93 61 00 10 */ stw r27, 0x10(r1) +/* 803472B0 00344210 C0 A6 00 08 */ lfs f5, 8(r6) +/* 803472B4 00344214 93 81 00 14 */ stw r28, 0x14(r1) +/* 803472B8 00344218 C0 86 00 0C */ lfs f4, 0xc(r6) +/* 803472BC 0034421C 93 E1 00 18 */ stw r31, 0x18(r1) +/* 803472C0 00344220 C0 66 00 20 */ lfs f3, 0x20(r6) +/* 803472C4 00344224 91 81 00 1C */ stw r12, 0x1c(r1) +/* 803472C8 00344228 C0 46 00 24 */ lfs f2, 0x24(r6) +/* 803472CC 0034422C 91 61 00 20 */ stw r11, 0x20(r1) +/* 803472D0 00344230 C0 26 00 28 */ lfs f1, 0x28(r6) +/* 803472D4 00344234 91 41 00 24 */ stw r10, 0x24(r1) +/* 803472D8 00344238 C0 06 00 2C */ lfs f0, 0x2c(r6) +/* 803472DC 0034423C 91 21 00 28 */ stw r9, 0x28(r1) +/* 803472E0 00344240 91 01 00 2C */ stw r8, 0x2c(r1) +/* 803472E4 00344244 90 E1 00 30 */ stw r7, 0x30(r1) +/* 803472E8 00344248 90 01 00 34 */ stw r0, 0x34(r1) +/* 803472EC 0034424C D0 E1 00 08 */ stfs f7, 8(r1) +/* 803472F0 00344250 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 803472F4 00344254 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 803472F8 00344258 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 803472FC 0034425C D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80347300 00344260 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80347304 00344264 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80347308 00344268 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8034730C 0034426C 48 03 51 85 */ bl GXLoadTexMtxImm +/* 80347310 00344270 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347314 00344274 57 C4 10 3A */ slwi r4, r30, 2 +/* 80347318 00344278 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 8034731C 0034427C 7C 60 22 14 */ add r3, r0, r4 +/* 80347320 00344280 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80347324 00344284 80 63 02 28 */ lwz r3, 0x228(r3) +/* 80347328 00344288 3C 03 FF E2 */ addis r0, r3, 0xffe2 +/* 8034732C 0034428C 28 00 8A 00 */ cmplwi r0, 0x8a00 +/* 80347330 00344290 41 82 00 2C */ beq lbl_8034735C +/* 80347334 00344294 3C 80 00 1F */ lis r4, 0x001E8A00@ha +/* 80347338 00344298 7F C3 F3 78 */ mr r3, r30 +/* 8034733C 0034429C 38 04 8A 00 */ addi r0, r4, 0x001E8A00@l +/* 80347340 003442A0 38 80 00 00 */ li r4, 0 +/* 80347344 003442A4 90 05 00 00 */ stw r0, 0(r5) +/* 80347348 003442A8 38 A0 00 00 */ li r5, 0 +/* 8034734C 003442AC 38 C0 00 2D */ li r6, 0x2d +/* 80347350 003442B0 38 E0 00 00 */ li r7, 0 +/* 80347354 003442B4 39 00 00 7D */ li r8, 0x7d +/* 80347358 003442B8 48 03 0C 3D */ bl GXSetTexCoordGen2 +lbl_8034735C: +/* 8034735C 003442BC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347360 003442C0 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80347364 003442C4 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 80347368 003442C8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034736C 003442CC 41 82 00 28 */ beq lbl_80347394 +/* 80347370 003442D0 38 00 03 00 */ li r0, 0x300 +/* 80347374 003442D4 38 60 00 00 */ li r3, 0 +/* 80347378 003442D8 90 1F 00 70 */ stw r0, 0x70(r31) +/* 8034737C 003442DC 38 80 00 00 */ li r4, 0 +/* 80347380 003442E0 38 A0 00 00 */ li r5, 0 +/* 80347384 003442E4 38 C0 00 00 */ li r6, 0 +/* 80347388 003442E8 38 E0 00 01 */ li r7, 1 +/* 8034738C 003442EC 39 00 00 01 */ li r8, 1 +/* 80347390 003442F0 48 03 41 9D */ bl GXSetTevColorOp +lbl_80347394: +/* 80347394 003442F4 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 80347398 003442F8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034739C 003442FC 41 82 00 28 */ beq lbl_803473C4 +/* 803473A0 00344300 38 00 03 00 */ li r0, 0x300 +/* 803473A4 00344304 38 60 00 00 */ li r3, 0 +/* 803473A8 00344308 90 1F 00 74 */ stw r0, 0x74(r31) +/* 803473AC 0034430C 38 80 00 00 */ li r4, 0 +/* 803473B0 00344310 38 A0 00 00 */ li r5, 0 +/* 803473B4 00344314 38 C0 00 00 */ li r6, 0 +/* 803473B8 00344318 38 E0 00 01 */ li r7, 1 +/* 803473BC 0034431C 39 00 00 01 */ li r8, 1 +/* 803473C0 00344320 48 03 41 D5 */ bl GXSetTevAlphaOp +lbl_803473C4: +/* 803473C4 00344324 80 7F 00 68 */ lwz r3, 0x68(r31) +/* 803473C8 00344328 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 803473CC 0034432C 28 00 A1 4F */ cmplwi r0, 0xa14f +/* 803473D0 00344330 41 82 00 28 */ beq lbl_803473F8 +/* 803473D4 00344334 3C 80 00 08 */ lis r4, 0x0007A14F@ha +/* 803473D8 00344338 38 60 00 00 */ li r3, 0 +/* 803473DC 0034433C 38 04 A1 4F */ addi r0, r4, 0x0007A14F@l +/* 803473E0 00344340 38 80 00 0F */ li r4, 0xf +/* 803473E4 00344344 90 1F 00 68 */ stw r0, 0x68(r31) +/* 803473E8 00344348 38 A0 00 0A */ li r5, 0xa +/* 803473EC 0034434C 38 C0 00 08 */ li r6, 8 +/* 803473F0 00344350 38 E0 00 0F */ li r7, 0xf +/* 803473F4 00344354 48 03 40 B1 */ bl GXSetTevColorIn +lbl_803473F8: +/* 803473F8 00344358 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 803473FC 0034435C 3C 03 FF FE */ addis r0, r3, 0xfffe +/* 80347400 00344360 28 00 9C E7 */ cmplwi r0, 0x9ce7 +/* 80347404 00344364 41 82 00 28 */ beq lbl_8034742C +/* 80347408 00344368 3C 80 00 03 */ lis r4, 0x00029CE7@ha +/* 8034740C 0034436C 38 60 00 00 */ li r3, 0 +/* 80347410 00344370 38 04 9C E7 */ addi r0, r4, 0x00029CE7@l +/* 80347414 00344374 38 80 00 07 */ li r4, 7 +/* 80347418 00344378 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 8034741C 0034437C 38 A0 00 07 */ li r5, 7 +/* 80347420 00344380 38 C0 00 07 */ li r6, 7 +/* 80347424 00344384 38 E0 00 05 */ li r7, 5 +/* 80347428 00344388 48 03 40 C1 */ bl GXSetTevAlphaIn +lbl_8034742C: +/* 8034742C 0034438C 57 A3 44 2E */ rlwinm r3, r29, 8, 0x10, 0x17 +/* 80347430 00344390 80 1F 00 7C */ lwz r0, 0x7c(r31) +/* 80347434 00344394 53 C3 06 3E */ rlwimi r3, r30, 0, 0x18, 0x1f +/* 80347438 00344398 64 63 00 05 */ oris r3, r3, 5 +/* 8034743C 0034439C 7C 00 18 40 */ cmplw r0, r3 +/* 80347440 003443A0 41 82 00 1C */ beq lbl_8034745C +/* 80347444 003443A4 90 7F 00 7C */ stw r3, 0x7c(r31) +/* 80347448 003443A8 7F C4 F3 78 */ mr r4, r30 +/* 8034744C 003443AC 7F A5 EB 78 */ mr r5, r29 +/* 80347450 003443B0 38 60 00 00 */ li r3, 0 +/* 80347454 003443B4 38 C0 00 05 */ li r6, 5 +/* 80347458 003443B8 48 03 45 9D */ bl GXSetTevOrder +lbl_8034745C: +/* 8034745C 003443BC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347460 003443C0 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 80347464 003443C4 80 1D 00 8C */ lwz r0, 0x8c(r29) +/* 80347468 003443C8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034746C 003443CC 41 82 00 28 */ beq lbl_80347494 +/* 80347470 003443D0 38 00 03 00 */ li r0, 0x300 +/* 80347474 003443D4 38 60 00 01 */ li r3, 1 +/* 80347478 003443D8 90 1D 00 8C */ stw r0, 0x8c(r29) +/* 8034747C 003443DC 38 80 00 00 */ li r4, 0 +/* 80347480 003443E0 38 A0 00 00 */ li r5, 0 +/* 80347484 003443E4 38 C0 00 00 */ li r6, 0 +/* 80347488 003443E8 38 E0 00 01 */ li r7, 1 +/* 8034748C 003443EC 39 00 00 01 */ li r8, 1 +/* 80347490 003443F0 48 03 40 9D */ bl GXSetTevColorOp +lbl_80347494: +/* 80347494 003443F4 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 80347498 003443F8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034749C 003443FC 41 82 00 28 */ beq lbl_803474C4 +/* 803474A0 00344400 38 00 03 00 */ li r0, 0x300 +/* 803474A4 00344404 38 60 00 01 */ li r3, 1 +/* 803474A8 00344408 90 1D 00 90 */ stw r0, 0x90(r29) +/* 803474AC 0034440C 38 80 00 00 */ li r4, 0 +/* 803474B0 00344410 38 A0 00 00 */ li r5, 0 +/* 803474B4 00344414 38 C0 00 00 */ li r6, 0 +/* 803474B8 00344418 38 E0 00 01 */ li r7, 1 +/* 803474BC 0034441C 39 00 00 01 */ li r8, 1 +/* 803474C0 00344420 48 03 40 D5 */ bl GXSetTevAlphaOp +lbl_803474C4: +/* 803474C4 00344424 80 7D 00 84 */ lwz r3, 0x84(r29) +/* 803474C8 00344428 3C 03 FF FF */ addis r0, r3, 0xffff +/* 803474CC 0034442C 28 00 31 4F */ cmplwi r0, 0x314f +/* 803474D0 00344430 41 82 00 28 */ beq lbl_803474F8 +/* 803474D4 00344434 3C 80 00 01 */ lis r4, 0x0001314F@ha +/* 803474D8 00344438 38 60 00 01 */ li r3, 1 +/* 803474DC 0034443C 38 04 31 4F */ addi r0, r4, 0x0001314F@l +/* 803474E0 00344440 38 80 00 0F */ li r4, 0xf +/* 803474E4 00344444 90 1D 00 84 */ stw r0, 0x84(r29) +/* 803474E8 00344448 38 A0 00 0A */ li r5, 0xa +/* 803474EC 0034444C 38 C0 00 0C */ li r6, 0xc +/* 803474F0 00344450 38 E0 00 02 */ li r7, 2 +/* 803474F4 00344454 48 03 3F B1 */ bl GXSetTevColorIn +lbl_803474F8: +/* 803474F8 00344458 80 1D 00 88 */ lwz r0, 0x88(r29) +/* 803474FC 0034445C 28 00 98 A7 */ cmplwi r0, 0x98a7 +/* 80347500 00344460 41 82 00 28 */ beq lbl_80347528 +/* 80347504 00344464 3C 80 00 01 */ lis r4, 0x000098A7@ha +/* 80347508 00344468 38 60 00 01 */ li r3, 1 +/* 8034750C 0034446C 38 04 98 A7 */ addi r0, r4, 0x000098A7@l +/* 80347510 00344470 38 80 00 07 */ li r4, 7 +/* 80347514 00344474 90 1D 00 88 */ stw r0, 0x88(r29) +/* 80347518 00344478 38 A0 00 05 */ li r5, 5 +/* 8034751C 0034447C 38 C0 00 06 */ li r6, 6 +/* 80347520 00344480 38 E0 00 01 */ li r7, 1 +/* 80347524 00344484 48 03 3F C5 */ bl GXSetTevAlphaIn +lbl_80347528: +/* 80347528 00344488 88 1D 00 9D */ lbz r0, 0x9d(r29) +/* 8034752C 0034448C 2C 00 00 00 */ cmpwi r0, 0 +/* 80347530 00344490 41 82 00 18 */ beq lbl_80347548 +/* 80347534 00344494 38 00 00 00 */ li r0, 0 +/* 80347538 00344498 38 60 00 01 */ li r3, 1 +/* 8034753C 0034449C 98 1D 00 9D */ stb r0, 0x9d(r29) +/* 80347540 003444A0 38 80 00 00 */ li r4, 0 +/* 80347544 003444A4 48 03 42 81 */ bl GXSetTevKAlphaSel +lbl_80347548: +/* 80347548 003444A8 80 7D 00 98 */ lwz r3, 0x98(r29) +/* 8034754C 003444AC 3C 03 FF FC */ addis r0, r3, 0xfffc +/* 80347550 003444B0 28 00 FF FF */ cmplwi r0, 0xffff +/* 80347554 003444B4 41 82 00 24 */ beq lbl_80347578 +/* 80347558 003444B8 3C 80 00 05 */ lis r4, 0x0004FFFF@ha +/* 8034755C 003444BC 38 60 00 01 */ li r3, 1 +/* 80347560 003444C0 38 04 FF FF */ addi r0, r4, 0x0004FFFF@l +/* 80347564 003444C4 38 80 00 FF */ li r4, 0xff +/* 80347568 003444C8 90 1D 00 98 */ stw r0, 0x98(r29) +/* 8034756C 003444CC 38 A0 00 FF */ li r5, 0xff +/* 80347570 003444D0 38 C0 00 04 */ li r6, 4 +/* 80347574 003444D4 48 03 44 81 */ bl GXSetTevOrder +lbl_80347578: +/* 80347578 003444D8 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 8034757C 003444DC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80347580 003444E0 7C 08 03 A6 */ mtlr r0 +/* 80347584 003444E4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80347588 003444E8 4E 80 00 20 */ blr + +.global HandleTransparency__FUiUiRC11CModelFlagsRUiRUi +HandleTransparency__FUiUiRC11CModelFlagsRUiRUi: +/* 8034758C 003444EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80347590 003444F0 7C 08 02 A6 */ mflr r0 +/* 80347594 003444F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80347598 003444F8 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 8034759C 003444FC 7C B9 2B 78 */ mr r25, r5 +/* 803475A0 00344500 7C 7E 1B 78 */ mr r30, r3 +/* 803475A4 00344504 7C 9F 23 78 */ mr r31, r4 +/* 803475A8 00344508 7C FD 3B 78 */ mr r29, r7 +/* 803475AC 0034450C 7D 1B 43 78 */ mr r27, r8 +/* 803475B0 00344510 88 05 00 00 */ lbz r0, 0(r5) +/* 803475B4 00344514 7C 00 07 74 */ extsb r0, r0 +/* 803475B8 00344518 2C 00 00 02 */ cmpwi r0, 2 +/* 803475BC 0034451C 40 82 00 10 */ bne lbl_803475CC +/* 803475C0 00344520 54 C3 84 3E */ srwi r3, r6, 0x10 +/* 803475C4 00344524 2C 03 00 01 */ cmpwi r3, 1 +/* 803475C8 00344528 41 82 04 10 */ beq lbl_803479D8 +lbl_803475CC: +/* 803475CC 0034452C 2C 00 00 03 */ cmpwi r0, 3 +/* 803475D0 00344530 40 82 02 84 */ bne lbl_80347854 +/* 803475D4 00344534 80 7E 00 00 */ lwz r3, 0(r30) +/* 803475D8 00344538 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 803475DC 0034453C 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 803475E0 00344540 1C 83 00 1C */ mulli r4, r3, 0x1c +/* 803475E4 00344544 7C 7B 1B 78 */ mr r27, r3 +/* 803475E8 00344548 3B 43 00 01 */ addi r26, r3, 1 +/* 803475EC 0034454C 7C 80 22 14 */ add r4, r0, r4 +/* 803475F0 00344550 3B A4 00 68 */ addi r29, r4, 0x68 +/* 803475F4 00344554 80 84 00 68 */ lwz r4, 0x68(r4) +/* 803475F8 00344558 3C 04 FF F9 */ addis r0, r4, 0xfff9 +/* 803475FC 0034455C 28 00 3D EF */ cmplwi r0, 0x3def +/* 80347600 00344560 41 82 00 24 */ beq lbl_80347624 +/* 80347604 00344564 3C 80 00 07 */ lis r4, 0x00073DEF@ha +/* 80347608 00344568 38 A0 00 0F */ li r5, 0xf +/* 8034760C 0034456C 38 04 3D EF */ addi r0, r4, 0x00073DEF@l +/* 80347610 00344570 38 C0 00 0F */ li r6, 0xf +/* 80347614 00344574 90 1D 00 00 */ stw r0, 0(r29) +/* 80347618 00344578 38 80 00 0F */ li r4, 0xf +/* 8034761C 0034457C 38 E0 00 0E */ li r7, 0xe +/* 80347620 00344580 48 03 3E 85 */ bl GXSetTevColorIn +lbl_80347624: +/* 80347624 00344584 80 1D 00 04 */ lwz r0, 4(r29) +/* 80347628 00344588 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 8034762C 0034458C 41 82 00 24 */ beq lbl_80347650 +/* 80347630 00344590 38 00 1C E7 */ li r0, 0x1ce7 +/* 80347634 00344594 7F 63 DB 78 */ mr r3, r27 +/* 80347638 00344598 90 1D 00 04 */ stw r0, 4(r29) +/* 8034763C 0034459C 38 80 00 07 */ li r4, 7 +/* 80347640 003445A0 38 A0 00 07 */ li r5, 7 +/* 80347644 003445A4 38 C0 00 07 */ li r6, 7 +/* 80347648 003445A8 38 E0 00 00 */ li r7, 0 +/* 8034764C 003445AC 48 03 3E 9D */ bl GXSetTevAlphaIn +lbl_80347650: +/* 80347650 003445B0 80 1D 00 08 */ lwz r0, 8(r29) +/* 80347654 003445B4 28 00 03 00 */ cmplwi r0, 0x300 +/* 80347658 003445B8 41 82 00 28 */ beq lbl_80347680 +/* 8034765C 003445BC 38 00 03 00 */ li r0, 0x300 +/* 80347660 003445C0 7F 63 DB 78 */ mr r3, r27 +/* 80347664 003445C4 90 1D 00 08 */ stw r0, 8(r29) +/* 80347668 003445C8 38 80 00 00 */ li r4, 0 +/* 8034766C 003445CC 38 A0 00 00 */ li r5, 0 +/* 80347670 003445D0 38 C0 00 00 */ li r6, 0 +/* 80347674 003445D4 38 E0 00 01 */ li r7, 1 +/* 80347678 003445D8 39 00 00 01 */ li r8, 1 +/* 8034767C 003445DC 48 03 3E B1 */ bl GXSetTevColorOp +lbl_80347680: +/* 80347680 003445E0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347684 003445E4 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80347688 003445E8 38 83 00 1C */ addi r4, r3, 0x1c +/* 8034768C 003445EC 7C 04 00 00 */ cmpw r4, r0 +/* 80347690 003445F0 41 82 00 10 */ beq lbl_803476A0 +/* 80347694 003445F4 98 9D 00 18 */ stb r4, 0x18(r29) +/* 80347698 003445F8 7F 63 DB 78 */ mr r3, r27 +/* 8034769C 003445FC 48 03 40 BD */ bl GXSetTevKColorSel +lbl_803476A0: +/* 803476A0 00344600 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803476A4 00344604 28 00 01 00 */ cmplwi r0, 0x100 +/* 803476A8 00344608 41 82 00 28 */ beq lbl_803476D0 +/* 803476AC 0034460C 38 00 01 00 */ li r0, 0x100 +/* 803476B0 00344610 7F 63 DB 78 */ mr r3, r27 +/* 803476B4 00344614 90 1D 00 0C */ stw r0, 0xc(r29) +/* 803476B8 00344618 38 80 00 00 */ li r4, 0 +/* 803476BC 0034461C 38 A0 00 00 */ li r5, 0 +/* 803476C0 00344620 38 C0 00 00 */ li r6, 0 +/* 803476C4 00344624 38 E0 00 01 */ li r7, 1 +/* 803476C8 00344628 39 00 00 00 */ li r8, 0 +/* 803476CC 0034462C 48 03 3E C9 */ bl GXSetTevAlphaOp +lbl_803476D0: +/* 803476D0 00344630 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 803476D4 00344634 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 803476D8 00344638 28 00 FF FF */ cmplwi r0, 0xffff +/* 803476DC 0034463C 41 82 00 24 */ beq lbl_80347700 +/* 803476E0 00344640 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 803476E4 00344644 7F 63 DB 78 */ mr r3, r27 +/* 803476E8 00344648 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 803476EC 0034464C 38 80 00 FF */ li r4, 0xff +/* 803476F0 00344650 90 1D 00 14 */ stw r0, 0x14(r29) +/* 803476F4 00344654 38 A0 00 FF */ li r5, 0xff +/* 803476F8 00344658 38 C0 00 FF */ li r6, 0xff +/* 803476FC 0034465C 48 03 42 F9 */ bl GXSetTevOrder +lbl_80347700: +/* 80347700 00344660 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80347704 00344664 28 00 00 00 */ cmplwi r0, 0 +/* 80347708 00344668 41 82 00 14 */ beq lbl_8034771C +/* 8034770C 0034466C 38 00 00 00 */ li r0, 0 +/* 80347710 00344670 7F 63 DB 78 */ mr r3, r27 +/* 80347714 00344674 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80347718 00344678 48 03 3B C9 */ bl GXSetTevDirect +lbl_8034771C: +/* 8034771C 0034467C 1C 9A 00 1C */ mulli r4, r26, 0x1c +/* 80347720 00344680 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347724 00344684 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80347728 00344688 7C 60 22 14 */ add r3, r0, r4 +/* 8034772C 0034468C 3B 83 00 68 */ addi r28, r3, 0x68 +/* 80347730 00344690 80 63 00 68 */ lwz r3, 0x68(r3) +/* 80347734 00344694 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 80347738 00344698 28 00 B8 40 */ cmplwi r0, 0xb840 +/* 8034773C 0034469C 41 82 00 28 */ beq lbl_80347764 +/* 80347740 003446A0 3C 80 00 08 */ lis r4, 0x0007B840@ha +/* 80347744 003446A4 7F 43 D3 78 */ mr r3, r26 +/* 80347748 003446A8 38 04 B8 40 */ addi r0, r4, 0x0007B840@l +/* 8034774C 003446AC 38 80 00 00 */ li r4, 0 +/* 80347750 003446B0 90 1C 00 00 */ stw r0, 0(r28) +/* 80347754 003446B4 38 A0 00 02 */ li r5, 2 +/* 80347758 003446B8 38 C0 00 0E */ li r6, 0xe +/* 8034775C 003446BC 38 E0 00 0F */ li r7, 0xf +/* 80347760 003446C0 48 03 3D 45 */ bl GXSetTevColorIn +lbl_80347764: +/* 80347764 003446C4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80347768 003446C8 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 8034776C 003446CC 41 82 00 24 */ beq lbl_80347790 +/* 80347770 003446D0 38 00 1C E7 */ li r0, 0x1ce7 +/* 80347774 003446D4 7F 43 D3 78 */ mr r3, r26 +/* 80347778 003446D8 90 1C 00 04 */ stw r0, 4(r28) +/* 8034777C 003446DC 38 80 00 07 */ li r4, 7 +/* 80347780 003446E0 38 A0 00 07 */ li r5, 7 +/* 80347784 003446E4 38 C0 00 07 */ li r6, 7 +/* 80347788 003446E8 38 E0 00 00 */ li r7, 0 +/* 8034778C 003446EC 48 03 3D 5D */ bl GXSetTevAlphaIn +lbl_80347790: +/* 80347790 003446F0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347794 003446F4 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80347798 003446F8 38 83 00 0C */ addi r4, r3, 0xc +/* 8034779C 003446FC 7C 04 00 00 */ cmpw r4, r0 +/* 803477A0 00344700 41 82 00 10 */ beq lbl_803477B0 +/* 803477A4 00344704 98 9D 00 18 */ stb r4, 0x18(r29) +/* 803477A8 00344708 7F 63 DB 78 */ mr r3, r27 +/* 803477AC 0034470C 48 03 3F AD */ bl GXSetTevKColorSel +lbl_803477B0: +/* 803477B0 00344710 7F 43 D3 78 */ mr r3, r26 +/* 803477B4 00344714 4B FC 04 9D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803477B8 00344718 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 803477BC 0034471C 28 00 00 00 */ cmplwi r0, 0 +/* 803477C0 00344720 41 82 00 14 */ beq lbl_803477D4 +/* 803477C4 00344724 38 00 00 00 */ li r0, 0 +/* 803477C8 00344728 7F 43 D3 78 */ mr r3, r26 +/* 803477CC 0034472C 90 1C 00 10 */ stw r0, 0x10(r28) +/* 803477D0 00344730 48 03 3B 11 */ bl GXSetTevDirect +lbl_803477D4: +/* 803477D4 00344734 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 803477D8 00344738 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 803477DC 0034473C 28 00 FF FF */ cmplwi r0, 0xffff +/* 803477E0 00344740 41 82 00 24 */ beq lbl_80347804 +/* 803477E4 00344744 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 803477E8 00344748 7F 43 D3 78 */ mr r3, r26 +/* 803477EC 0034474C 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 803477F0 00344750 38 80 00 FF */ li r4, 0xff +/* 803477F4 00344754 90 1C 00 14 */ stw r0, 0x14(r28) +/* 803477F8 00344758 38 A0 00 FF */ li r5, 0xff +/* 803477FC 0034475C 38 C0 00 FF */ li r6, 0xff +/* 80347800 00344760 48 03 41 F5 */ bl GXSetTevOrder +lbl_80347804: +/* 80347804 00344764 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347808 00344768 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 8034780C 0034476C 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80347810 00344770 80 B9 00 04 */ lwz r5, 4(r25) +/* 80347814 00344774 54 64 10 3A */ slwi r4, r3, 2 +/* 80347818 00344778 7C 80 22 14 */ add r4, r0, r4 +/* 8034781C 0034477C 84 04 00 58 */ lwzu r0, 0x58(r4) +/* 80347820 00344780 7C 00 28 40 */ cmplw r0, r5 +/* 80347824 00344784 41 82 00 14 */ beq lbl_80347838 +/* 80347828 00344788 90 A4 00 00 */ stw r5, 0(r4) +/* 8034782C 0034478C 38 81 00 0C */ addi r4, r1, 0xc +/* 80347830 00344790 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80347834 00344794 48 03 3E B1 */ bl GXSetTevKColor +lbl_80347838: +/* 80347838 00344798 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034783C 0034479C 38 03 00 01 */ addi r0, r3, 1 +/* 80347840 003447A0 90 1F 00 00 */ stw r0, 0(r31) +/* 80347844 003447A4 80 7E 00 00 */ lwz r3, 0(r30) +/* 80347848 003447A8 38 03 00 02 */ addi r0, r3, 2 +/* 8034784C 003447AC 90 1E 00 00 */ stw r0, 0(r30) +/* 80347850 003447B0 48 00 01 88 */ b lbl_803479D8 +lbl_80347854: +/* 80347854 003447B4 2C 00 00 08 */ cmpwi r0, 8 +/* 80347858 003447B8 3C 60 00 04 */ lis r3, 0x000380C7@ha +/* 8034785C 003447BC 3B 03 80 C7 */ addi r24, r3, 0x000380C7@l +/* 80347860 003447C0 40 82 00 0C */ bne lbl_8034786C +/* 80347864 003447C4 3C 60 00 03 */ lis r3, 0x00031CE7@ha +/* 80347868 003447C8 3B 03 1C E7 */ addi r24, r3, 0x00031CE7@l +lbl_8034786C: +/* 8034786C 003447CC 2C 00 00 02 */ cmpwi r0, 2 +/* 80347870 003447D0 3C 60 00 08 */ lis r3, 0x000781CF@ha +/* 80347874 003447D4 38 E3 81 CF */ addi r7, r3, 0x000781CF@l +/* 80347878 003447D8 40 82 00 0C */ bne lbl_80347884 +/* 8034787C 003447DC 3C 60 00 07 */ lis r3, 0x0007018F@ha +/* 80347880 003447E0 38 E3 01 8F */ addi r7, r3, 0x0007018F@l +lbl_80347884: +/* 80347884 003447E4 83 5E 00 00 */ lwz r26, 0(r30) +/* 80347888 003447E8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8034788C 003447EC 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80347890 003447F0 1C 7A 00 1C */ mulli r3, r26, 0x1c +/* 80347894 003447F4 7C 60 1A 14 */ add r3, r0, r3 +/* 80347898 003447F8 3B 83 00 68 */ addi r28, r3, 0x68 +/* 8034789C 003447FC 80 03 00 68 */ lwz r0, 0x68(r3) +/* 803478A0 00344800 7C 07 00 40 */ cmplw r7, r0 +/* 803478A4 00344804 41 82 00 20 */ beq lbl_803478C4 +/* 803478A8 00344808 90 FC 00 00 */ stw r7, 0(r28) +/* 803478AC 0034480C 7F 43 D3 78 */ mr r3, r26 +/* 803478B0 00344810 54 E4 06 FE */ clrlwi r4, r7, 0x1b +/* 803478B4 00344814 54 E5 DE FE */ rlwinm r5, r7, 0x1b, 0x1b, 0x1f +/* 803478B8 00344818 54 E6 B6 FE */ rlwinm r6, r7, 0x16, 0x1b, 0x1f +/* 803478BC 0034481C 54 E7 8E FE */ rlwinm r7, r7, 0x11, 0x1b, 0x1f +/* 803478C0 00344820 48 03 3B E5 */ bl GXSetTevColorIn +lbl_803478C4: +/* 803478C4 00344824 80 1C 00 04 */ lwz r0, 4(r28) +/* 803478C8 00344828 7C 18 00 40 */ cmplw r24, r0 +/* 803478CC 0034482C 41 82 00 20 */ beq lbl_803478EC +/* 803478D0 00344830 93 1C 00 04 */ stw r24, 4(r28) +/* 803478D4 00344834 7F 43 D3 78 */ mr r3, r26 +/* 803478D8 00344838 57 04 06 FE */ clrlwi r4, r24, 0x1b +/* 803478DC 0034483C 57 05 DE FE */ rlwinm r5, r24, 0x1b, 0x1b, 0x1f +/* 803478E0 00344840 57 06 B6 FE */ rlwinm r6, r24, 0x16, 0x1b, 0x1f +/* 803478E4 00344844 57 07 8E FE */ rlwinm r7, r24, 0x11, 0x1b, 0x1f +/* 803478E8 00344848 48 03 3C 01 */ bl GXSetTevAlphaIn +lbl_803478EC: +/* 803478EC 0034484C 7F 43 D3 78 */ mr r3, r26 +/* 803478F0 00344850 4B FC 03 61 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803478F4 00344854 38 00 01 00 */ li r0, 0x100 +/* 803478F8 00344858 90 1D 00 00 */ stw r0, 0(r29) +/* 803478FC 0034485C 90 1B 00 00 */ stw r0, 0(r27) +/* 80347900 00344860 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80347904 00344864 28 00 00 00 */ cmplwi r0, 0 +/* 80347908 00344868 41 82 00 14 */ beq lbl_8034791C +/* 8034790C 0034486C 38 00 00 00 */ li r0, 0 +/* 80347910 00344870 7F 43 D3 78 */ mr r3, r26 +/* 80347914 00344874 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80347918 00344878 48 03 39 C9 */ bl GXSetTevDirect +lbl_8034791C: +/* 8034791C 0034487C 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 80347920 00344880 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 80347924 00344884 28 00 FF FF */ cmplwi r0, 0xffff +/* 80347928 00344888 41 82 00 24 */ beq lbl_8034794C +/* 8034792C 0034488C 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80347930 00344890 7F 43 D3 78 */ mr r3, r26 +/* 80347934 00344894 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 80347938 00344898 38 80 00 FF */ li r4, 0xff +/* 8034793C 0034489C 90 1C 00 14 */ stw r0, 0x14(r28) +/* 80347940 003448A0 38 A0 00 FF */ li r5, 0xff +/* 80347944 003448A4 38 C0 00 FF */ li r6, 0xff +/* 80347948 003448A8 48 03 40 AD */ bl GXSetTevOrder +lbl_8034794C: +/* 8034794C 003448AC 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347950 003448B0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80347954 003448B4 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80347958 003448B8 80 B9 00 04 */ lwz r5, 4(r25) +/* 8034795C 003448BC 54 64 10 3A */ slwi r4, r3, 2 +/* 80347960 003448C0 7C 80 22 14 */ add r4, r0, r4 +/* 80347964 003448C4 84 04 00 58 */ lwzu r0, 0x58(r4) +/* 80347968 003448C8 7C 00 28 40 */ cmplw r0, r5 +/* 8034796C 003448CC 41 82 00 14 */ beq lbl_80347980 +/* 80347970 003448D0 90 A4 00 00 */ stw r5, 0(r4) +/* 80347974 003448D4 38 81 00 08 */ addi r4, r1, 8 +/* 80347978 003448D8 90 A1 00 08 */ stw r5, 8(r1) +/* 8034797C 003448DC 48 03 3D 69 */ bl GXSetTevKColor +lbl_80347980: +/* 80347980 003448E0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347984 003448E4 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 80347988 003448E8 38 83 00 0C */ addi r4, r3, 0xc +/* 8034798C 003448EC 7C 04 00 00 */ cmpw r4, r0 +/* 80347990 003448F0 41 82 00 10 */ beq lbl_803479A0 +/* 80347994 003448F4 98 9C 00 18 */ stb r4, 0x18(r28) +/* 80347998 003448F8 7F 43 D3 78 */ mr r3, r26 +/* 8034799C 003448FC 48 03 3D BD */ bl GXSetTevKColorSel +lbl_803479A0: +/* 803479A0 00344900 80 7F 00 00 */ lwz r3, 0(r31) +/* 803479A4 00344904 88 1C 00 19 */ lbz r0, 0x19(r28) +/* 803479A8 00344908 38 83 00 1C */ addi r4, r3, 0x1c +/* 803479AC 0034490C 7C 04 00 00 */ cmpw r4, r0 +/* 803479B0 00344910 41 82 00 10 */ beq lbl_803479C0 +/* 803479B4 00344914 98 9C 00 19 */ stb r4, 0x19(r28) +/* 803479B8 00344918 7F 43 D3 78 */ mr r3, r26 +/* 803479BC 0034491C 48 03 3E 09 */ bl GXSetTevKAlphaSel +lbl_803479C0: +/* 803479C0 00344920 80 7E 00 00 */ lwz r3, 0(r30) +/* 803479C4 00344924 38 03 00 01 */ addi r0, r3, 1 +/* 803479C8 00344928 90 1E 00 00 */ stw r0, 0(r30) +/* 803479CC 0034492C 80 7F 00 00 */ lwz r3, 0(r31) +/* 803479D0 00344930 38 03 00 01 */ addi r0, r3, 1 +/* 803479D4 00344934 90 1F 00 00 */ stw r0, 0(r31) +lbl_803479D8: +/* 803479D8 00344938 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 803479DC 0034493C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803479E0 00344940 7C 08 03 A6 */ mtlr r0 +/* 803479E4 00344944 38 21 00 30 */ addi r1, r1, 0x30 +/* 803479E8 00344948 4E 80 00 20 */ blr + +.global HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx +HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx: +/* 803479EC 0034494C 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 803479F0 00344950 7C 08 02 A6 */ mflr r0 +/* 803479F4 00344954 90 01 03 44 */ stw r0, 0x344(r1) +/* 803479F8 00344958 DB E1 03 30 */ stfd f31, 0x330(r1) +/* 803479FC 0034495C F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 +/* 80347A00 00344960 DB C1 03 20 */ stfd f30, 0x320(r1) +/* 80347A04 00344964 F3 C1 03 28 */ psq_st f30, 808(r1), 0, qr0 +/* 80347A08 00344968 DB A1 03 10 */ stfd f29, 0x310(r1) +/* 80347A0C 0034496C F3 A1 03 18 */ psq_st f29, 792(r1), 0, qr0 +/* 80347A10 00344970 DB 81 03 00 */ stfd f28, 0x300(r1) +/* 80347A14 00344974 F3 81 03 08 */ psq_st f28, 776(r1), 0, qr0 +/* 80347A18 00344978 DB 61 02 F0 */ stfd f27, 0x2f0(r1) +/* 80347A1C 0034497C F3 61 02 F8 */ psq_st f27, 760(r1), 0, qr0 +/* 80347A20 00344980 BD E1 02 AC */ stmw r15, 0x2ac(r1) +/* 80347A24 00344984 7C 7C 1B 78 */ mr r28, r3 +/* 80347A28 00344988 3C 60 80 3D */ lis r3, lbl_803D7F58@ha +/* 80347A2C 0034498C 81 FC 00 00 */ lwz r15, 0(r28) +/* 80347A30 00344990 7C 9B 23 78 */ mr r27, r4 +/* 80347A34 00344994 7C BE 2B 78 */ mr r30, r5 +/* 80347A38 00344998 3B E3 7F 58 */ addi r31, r3, lbl_803D7F58@l +/* 80347A3C 0034499C 28 0F 00 07 */ cmplwi r15, 7 +/* 80347A40 003449A0 41 81 05 A0 */ bgt lbl_80347FE0 +/* 80347A44 003449A4 3C 60 80 3F */ lis r3, lbl_803EF640@ha +/* 80347A48 003449A8 55 E0 10 3A */ slwi r0, r15, 2 +/* 80347A4C 003449AC 38 63 F6 40 */ addi r3, r3, lbl_803EF640@l +/* 80347A50 003449B0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80347A54 003449B4 7C 09 03 A6 */ mtctr r0 +/* 80347A58 003449B8 4E 80 04 20 */ bctr +/* 80347A5C 003449BC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80347A60 003449C0 38 61 00 CC */ addi r3, r1, 0xcc +/* 80347A64 003449C4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80347A68 003449C8 4B FC B2 35 */ bl GetQuickInverse__12CTransform4fCFv +/* 80347A6C 003449CC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80347A70 003449D0 38 61 00 FC */ addi r3, r1, 0xfc +/* 80347A74 003449D4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80347A78 003449D8 38 81 00 CC */ addi r4, r1, 0xcc +/* 80347A7C 003449DC 4B FC B4 B5 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +/* 80347A80 003449E0 38 61 02 4C */ addi r3, r1, 0x24c +/* 80347A84 003449E4 38 81 00 FC */ addi r4, r1, 0xfc +/* 80347A88 003449E8 4B FC B0 ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80347A8C 003449EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80347A90 003449F0 7F 64 DB 78 */ mr r4, r27 +/* 80347A94 003449F4 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80347A98 003449F8 38 61 02 4C */ addi r3, r1, 0x24c +/* 80347A9C 003449FC C0 46 00 00 */ lfs f2, 0(r6) +/* 80347AA0 00344A00 38 A0 00 00 */ li r5, 0 +/* 80347AA4 00344A04 C0 26 00 04 */ lfs f1, 4(r6) +/* 80347AA8 00344A08 C0 06 00 08 */ lfs f0, 8(r6) +/* 80347AAC 00344A0C D0 41 02 58 */ stfs f2, 0x258(r1) +/* 80347AB0 00344A10 D0 21 02 68 */ stfs f1, 0x268(r1) +/* 80347AB4 00344A14 D0 01 02 78 */ stfs f0, 0x278(r1) +/* 80347AB8 00344A18 48 03 49 D9 */ bl GXLoadTexMtxImm +/* 80347ABC 00344A1C 7F C4 F3 78 */ mr r4, r30 +/* 80347AC0 00344A20 38 7F 00 00 */ addi r3, r31, 0 +/* 80347AC4 00344A24 38 A0 00 00 */ li r5, 0 +/* 80347AC8 00344A28 48 03 49 C9 */ bl GXLoadTexMtxImm +/* 80347ACC 00344A2C 38 60 00 01 */ li r3, 1 +/* 80347AD0 00344A30 48 00 05 14 */ b lbl_80347FE4 +/* 80347AD4 00344A34 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80347AD8 00344A38 38 61 00 6C */ addi r3, r1, 0x6c +/* 80347ADC 00344A3C 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80347AE0 00344A40 4B FC B1 BD */ bl GetQuickInverse__12CTransform4fCFv +/* 80347AE4 00344A44 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80347AE8 00344A48 38 61 00 9C */ addi r3, r1, 0x9c +/* 80347AEC 00344A4C 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80347AF0 00344A50 38 81 00 6C */ addi r4, r1, 0x6c +/* 80347AF4 00344A54 4B FC AE 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80347AF8 00344A58 38 61 02 1C */ addi r3, r1, 0x21c +/* 80347AFC 00344A5C 38 81 00 9C */ addi r4, r1, 0x9c +/* 80347B00 00344A60 4B FC B0 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80347B04 00344A64 7F 64 DB 78 */ mr r4, r27 +/* 80347B08 00344A68 38 61 02 1C */ addi r3, r1, 0x21c +/* 80347B0C 00344A6C 38 A0 00 00 */ li r5, 0 +/* 80347B10 00344A70 48 03 49 81 */ bl GXLoadTexMtxImm +/* 80347B14 00344A74 7F C4 F3 78 */ mr r4, r30 +/* 80347B18 00344A78 38 7F 00 00 */ addi r3, r31, 0 +/* 80347B1C 00344A7C 38 A0 00 00 */ li r5, 0 +/* 80347B20 00344A80 48 03 49 71 */ bl GXLoadTexMtxImm +/* 80347B24 00344A84 38 60 00 01 */ li r3, 1 +/* 80347B28 00344A88 48 00 04 BC */ b lbl_80347FE4 +/* 80347B2C 00344A8C C3 FC 00 04 */ lfs f31, 4(r28) +/* 80347B30 00344A90 C3 DC 00 08 */ lfs f30, 8(r28) +/* 80347B34 00344A94 C3 BC 00 0C */ lfs f29, 0xc(r28) +/* 80347B38 00344A98 C3 9C 00 10 */ lfs f28, 0x10(r28) +/* 80347B3C 00344A9C 4B FC 23 A5 */ bl GetSecondsMod900__9CGraphicsFv +/* 80347B40 00344AA0 EC 41 FF 7A */ fmadds f2, f1, f29, f31 +/* 80347B44 00344AA4 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347B48 00344AA8 EC 01 F7 3A */ fmadds f0, f1, f28, f30 +/* 80347B4C 00344AAC 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347B50 00344AB0 7F 64 DB 78 */ mr r4, r27 +/* 80347B54 00344AB4 38 A0 00 00 */ li r5, 0 +/* 80347B58 00344AB8 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80347B5C 00344ABC D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80347B60 00344AC0 48 03 49 31 */ bl GXLoadTexMtxImm +/* 80347B64 00344AC4 38 60 00 05 */ li r3, 5 +/* 80347B68 00344AC8 48 00 04 7C */ b lbl_80347FE4 +/* 80347B6C 00344ACC C3 9C 00 04 */ lfs f28, 4(r28) +/* 80347B70 00344AD0 C3 BC 00 08 */ lfs f29, 8(r28) +/* 80347B74 00344AD4 4B FC 23 6D */ bl GetSecondsMod900__9CGraphicsFv +/* 80347B78 00344AD8 EF 81 E7 7A */ fmadds f28, f1, f29, f28 +/* 80347B7C 00344ADC FC 20 E0 90 */ fmr f1, f28 +/* 80347B80 00344AE0 4B FC D2 71 */ bl FastSinR__5CMathFf +/* 80347B84 00344AE4 FF E0 08 90 */ fmr f31, f1 +/* 80347B88 00344AE8 FC 20 E0 90 */ fmr f1, f28 +/* 80347B8C 00344AEC 4B FC D1 B9 */ bl FastCosR__5CMathFf +/* 80347B90 00344AF0 EC 41 F8 28 */ fsubs f2, f1, f31 +/* 80347B94 00344AF4 C0 62 CB E8 */ lfs f3, lbl_805AE908@sda21(r2) +/* 80347B98 00344AF8 EC 1F 08 2A */ fadds f0, f31, f1 +/* 80347B9C 00344AFC 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 80347BA0 00344B00 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 80347BA4 00344B04 FC A0 F8 50 */ fneg f5, f31 +/* 80347BA8 00344B08 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80347BAC 00344B0C C0 82 CB FC */ lfs f4, lbl_805AE91C@sda21(r2) +/* 80347BB0 00344B10 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80347BB4 00344B14 81 1F 00 3C */ lwz r8, 0x3c(r31) +/* 80347BB8 00344B18 80 FF 00 40 */ lwz r7, 0x40(r31) +/* 80347BBC 00344B1C 7F 64 DB 78 */ mr r4, r27 +/* 80347BC0 00344B20 80 DF 00 44 */ lwz r6, 0x44(r31) +/* 80347BC4 00344B24 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80347BC8 00344B28 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80347BCC 00344B2C EC 04 00 32 */ fmuls f0, f4, f0 +/* 80347BD0 00344B30 90 61 01 EC */ stw r3, 0x1ec(r1) +/* 80347BD4 00344B34 38 61 01 EC */ addi r3, r1, 0x1ec +/* 80347BD8 00344B38 81 5F 00 38 */ lwz r10, 0x38(r31) +/* 80347BDC 00344B3C 90 A1 01 F0 */ stw r5, 0x1f0(r1) +/* 80347BE0 00344B40 38 A0 00 00 */ li r5, 0 +/* 80347BE4 00344B44 81 3F 00 48 */ lwz r9, 0x48(r31) +/* 80347BE8 00344B48 91 01 01 F8 */ stw r8, 0x1f8(r1) +/* 80347BEC 00344B4C 81 1F 00 50 */ lwz r8, 0x50(r31) +/* 80347BF0 00344B50 90 E1 01 FC */ stw r7, 0x1fc(r1) +/* 80347BF4 00344B54 80 FF 00 54 */ lwz r7, 0x54(r31) +/* 80347BF8 00344B58 90 C1 02 00 */ stw r6, 0x200(r1) +/* 80347BFC 00344B5C 80 DF 00 58 */ lwz r6, 0x58(r31) +/* 80347C00 00344B60 90 01 02 08 */ stw r0, 0x208(r1) +/* 80347C04 00344B64 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80347C08 00344B68 91 41 01 F4 */ stw r10, 0x1f4(r1) +/* 80347C0C 00344B6C 91 21 02 04 */ stw r9, 0x204(r1) +/* 80347C10 00344B70 91 01 02 0C */ stw r8, 0x20c(r1) +/* 80347C14 00344B74 90 E1 02 10 */ stw r7, 0x210(r1) +/* 80347C18 00344B78 90 C1 02 14 */ stw r6, 0x214(r1) +/* 80347C1C 00344B7C 90 01 02 18 */ stw r0, 0x218(r1) +/* 80347C20 00344B80 D0 21 01 EC */ stfs f1, 0x1ec(r1) +/* 80347C24 00344B84 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) +/* 80347C28 00344B88 D0 41 01 F8 */ stfs f2, 0x1f8(r1) +/* 80347C2C 00344B8C D3 E1 01 FC */ stfs f31, 0x1fc(r1) +/* 80347C30 00344B90 D0 21 02 00 */ stfs f1, 0x200(r1) +/* 80347C34 00344B94 D0 01 02 08 */ stfs f0, 0x208(r1) +/* 80347C38 00344B98 48 03 48 59 */ bl GXLoadTexMtxImm +/* 80347C3C 00344B9C 38 60 00 03 */ li r3, 3 +/* 80347C40 00344BA0 48 00 03 A4 */ b lbl_80347FE4 +/* 80347C44 00344BA4 C3 9C 00 04 */ lfs f28, 4(r28) +/* 80347C48 00344BA8 C3 BC 00 08 */ lfs f29, 8(r28) +/* 80347C4C 00344BAC C3 DC 00 0C */ lfs f30, 0xc(r28) +/* 80347C50 00344BB0 C3 7C 00 10 */ lfs f27, 0x10(r28) +/* 80347C54 00344BB4 4B FC 22 8D */ bl GetSecondsMod900__9CGraphicsFv +/* 80347C58 00344BB8 EC 1B 08 2A */ fadds f0, f27, f1 +/* 80347C5C 00344BBC 3C 60 43 30 */ lis r3, 0x4330 +/* 80347C60 00344BC0 C0 42 CB E8 */ lfs f2, lbl_805AE908@sda21(r2) +/* 80347C64 00344BC4 90 61 02 88 */ stw r3, 0x288(r1) +/* 80347C68 00344BC8 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80347C6C 00344BCC C8 22 CC 10 */ lfd f1, lbl_805AE930@sda21(r2) +/* 80347C70 00344BD0 EC 7E 00 32 */ fmuls f3, f30, f0 +/* 80347C74 00344BD4 EC 03 00 B2 */ fmuls f0, f3, f2 +/* 80347C78 00344BD8 FC 00 00 1E */ fctiwz f0, f0 +/* 80347C7C 00344BDC D8 01 02 80 */ stfd f0, 0x280(r1) +/* 80347C80 00344BE0 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80347C84 00344BE4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80347C88 00344BE8 90 01 02 8C */ stw r0, 0x28c(r1) +/* 80347C8C 00344BEC C8 01 02 88 */ lfd f0, 0x288(r1) +/* 80347C90 00344BF0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80347C94 00344BF4 EC 00 18 BC */ fnmsubs f0, f0, f2, f3 +/* 80347C98 00344BF8 EF E0 07 72 */ fmuls f31, f0, f29 +/* 80347C9C 00344BFC F3 E1 D0 08 */ psq_st f31, 8(r1), 1, qr5 +/* 80347CA0 00344C00 28 0F 00 04 */ cmplwi r15, 4 +/* 80347CA4 00344C04 A8 01 00 08 */ lha r0, 8(r1) +/* 80347CA8 00344C08 90 61 02 90 */ stw r3, 0x290(r1) +/* 80347CAC 00344C0C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80347CB0 00344C10 90 01 02 94 */ stw r0, 0x294(r1) +/* 80347CB4 00344C14 C8 01 02 90 */ lfd f0, 0x290(r1) +/* 80347CB8 00344C18 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80347CBC 00344C1C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80347CC0 00344C20 40 82 00 1C */ bne lbl_80347CDC +/* 80347CC4 00344C24 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347CC8 00344C28 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80347CCC 00344C2C 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347CD0 00344C30 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 80347CD4 00344C34 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80347CD8 00344C38 48 00 00 18 */ b lbl_80347CF0 +lbl_80347CDC: +/* 80347CDC 00344C3C 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347CE0 00344C40 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80347CE4 00344C44 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347CE8 00344C48 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80347CEC 00344C4C D0 23 00 1C */ stfs f1, 0x1c(r3) +lbl_80347CF0: +/* 80347CF0 00344C50 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347CF4 00344C54 7F 64 DB 78 */ mr r4, r27 +/* 80347CF8 00344C58 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347CFC 00344C5C 38 A0 00 00 */ li r5, 0 +/* 80347D00 00344C60 48 03 47 91 */ bl GXLoadTexMtxImm +/* 80347D04 00344C64 38 60 00 05 */ li r3, 5 +/* 80347D08 00344C68 48 00 02 DC */ b lbl_80347FE4 +/* 80347D0C 00344C6C 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 80347D10 00344C70 83 9F 00 60 */ lwz r28, 0x60(r31) +/* 80347D14 00344C74 3B 63 62 04 */ addi r27, r3, lbl_805A6204@l +/* 80347D18 00344C78 83 BF 00 64 */ lwz r29, 0x64(r31) +/* 80347D1C 00344C7C C0 42 CB D8 */ lfs f2, lbl_805AE8F8@sda21(r2) +/* 80347D20 00344C80 38 61 01 BC */ addi r3, r1, 0x1bc +/* 80347D24 00344C84 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 80347D28 00344C88 38 A0 00 00 */ li r5, 0 +/* 80347D2C 00344C8C C0 1B 00 1C */ lfs f0, 0x1c(r27) +/* 80347D30 00344C90 81 9F 00 68 */ lwz r12, 0x68(r31) +/* 80347D34 00344C94 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80347D38 00344C98 81 5F 00 70 */ lwz r10, 0x70(r31) +/* 80347D3C 00344C9C EC 02 00 32 */ fmuls f0, f2, f0 +/* 80347D40 00344CA0 81 3F 00 74 */ lwz r9, 0x74(r31) +/* 80347D44 00344CA4 81 1F 00 78 */ lwz r8, 0x78(r31) +/* 80347D48 00344CA8 80 FF 00 80 */ lwz r7, 0x80(r31) +/* 80347D4C 00344CAC 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 80347D50 00344CB0 80 1F 00 88 */ lwz r0, 0x88(r31) +/* 80347D54 00344CB4 81 7F 00 9C */ lwz r11, 0x9c(r31) +/* 80347D58 00344CB8 82 FF 00 AC */ lwz r23, 0xac(r31) +/* 80347D5C 00344CBC 91 61 01 98 */ stw r11, 0x198(r1) +/* 80347D60 00344CC0 81 7F 00 6C */ lwz r11, 0x6c(r31) +/* 80347D64 00344CC4 92 E1 01 A8 */ stw r23, 0x1a8(r1) +/* 80347D68 00344CC8 81 FF 00 7C */ lwz r15, 0x7c(r31) +/* 80347D6C 00344CCC 82 1F 00 8C */ lwz r16, 0x8c(r31) +/* 80347D70 00344CD0 82 3F 00 90 */ lwz r17, 0x90(r31) +/* 80347D74 00344CD4 82 5F 00 94 */ lwz r18, 0x94(r31) +/* 80347D78 00344CD8 82 7F 00 98 */ lwz r19, 0x98(r31) +/* 80347D7C 00344CDC 82 9F 00 A0 */ lwz r20, 0xa0(r31) +/* 80347D80 00344CE0 82 BF 00 A4 */ lwz r21, 0xa4(r31) +/* 80347D84 00344CE4 82 DF 00 A8 */ lwz r22, 0xa8(r31) +/* 80347D88 00344CE8 82 FF 00 B0 */ lwz r23, 0xb0(r31) +/* 80347D8C 00344CEC 83 5F 00 B4 */ lwz r26, 0xb4(r31) +/* 80347D90 00344CF0 83 3F 00 B8 */ lwz r25, 0xb8(r31) +/* 80347D94 00344CF4 83 1F 00 BC */ lwz r24, 0xbc(r31) +/* 80347D98 00344CF8 93 81 01 BC */ stw r28, 0x1bc(r1) +/* 80347D9C 00344CFC C1 5B 00 00 */ lfs f10, 0(r27) +/* 80347DA0 00344D00 93 A1 01 C0 */ stw r29, 0x1c0(r1) +/* 80347DA4 00344D04 C1 3B 00 04 */ lfs f9, 4(r27) +/* 80347DA8 00344D08 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 80347DAC 00344D0C C1 1B 00 08 */ lfs f8, 8(r27) +/* 80347DB0 00344D10 91 41 01 CC */ stw r10, 0x1cc(r1) +/* 80347DB4 00344D14 C0 FB 00 10 */ lfs f7, 0x10(r27) +/* 80347DB8 00344D18 91 21 01 D0 */ stw r9, 0x1d0(r1) +/* 80347DBC 00344D1C C0 DB 00 14 */ lfs f6, 0x14(r27) +/* 80347DC0 00344D20 91 01 01 D4 */ stw r8, 0x1d4(r1) +/* 80347DC4 00344D24 C0 BB 00 18 */ lfs f5, 0x18(r27) +/* 80347DC8 00344D28 90 E1 01 DC */ stw r7, 0x1dc(r1) +/* 80347DCC 00344D2C C0 9B 00 20 */ lfs f4, 0x20(r27) +/* 80347DD0 00344D30 90 C1 01 E0 */ stw r6, 0x1e0(r1) +/* 80347DD4 00344D34 C0 7B 00 24 */ lfs f3, 0x24(r27) +/* 80347DD8 00344D38 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80347DDC 00344D3C C0 5B 00 28 */ lfs f2, 0x28(r27) +/* 80347DE0 00344D40 91 61 01 C8 */ stw r11, 0x1c8(r1) +/* 80347DE4 00344D44 91 E1 01 D8 */ stw r15, 0x1d8(r1) +/* 80347DE8 00344D48 92 01 01 E8 */ stw r16, 0x1e8(r1) +/* 80347DEC 00344D4C D1 41 01 BC */ stfs f10, 0x1bc(r1) +/* 80347DF0 00344D50 D1 21 01 C0 */ stfs f9, 0x1c0(r1) +/* 80347DF4 00344D54 D1 01 01 C4 */ stfs f8, 0x1c4(r1) +/* 80347DF8 00344D58 D0 E1 01 CC */ stfs f7, 0x1cc(r1) +/* 80347DFC 00344D5C D0 C1 01 D0 */ stfs f6, 0x1d0(r1) +/* 80347E00 00344D60 D0 A1 01 D4 */ stfs f5, 0x1d4(r1) +/* 80347E04 00344D64 D0 81 01 DC */ stfs f4, 0x1dc(r1) +/* 80347E08 00344D68 D0 61 01 E0 */ stfs f3, 0x1e0(r1) +/* 80347E0C 00344D6C D0 41 01 E4 */ stfs f2, 0x1e4(r1) +/* 80347E10 00344D70 92 21 01 8C */ stw r17, 0x18c(r1) +/* 80347E14 00344D74 92 41 01 90 */ stw r18, 0x190(r1) +/* 80347E18 00344D78 92 61 01 94 */ stw r19, 0x194(r1) +/* 80347E1C 00344D7C 92 81 01 9C */ stw r20, 0x19c(r1) +/* 80347E20 00344D80 92 A1 01 A0 */ stw r21, 0x1a0(r1) +/* 80347E24 00344D84 92 C1 01 A4 */ stw r22, 0x1a4(r1) +/* 80347E28 00344D88 92 E1 01 AC */ stw r23, 0x1ac(r1) +/* 80347E2C 00344D8C 93 41 01 B0 */ stw r26, 0x1b0(r1) +/* 80347E30 00344D90 93 21 01 B4 */ stw r25, 0x1b4(r1) +/* 80347E34 00344D94 93 01 01 B8 */ stw r24, 0x1b8(r1) +/* 80347E38 00344D98 D0 21 01 98 */ stfs f1, 0x198(r1) +/* 80347E3C 00344D9C D0 01 01 A8 */ stfs f0, 0x1a8(r1) +/* 80347E40 00344DA0 48 03 46 51 */ bl GXLoadTexMtxImm +/* 80347E44 00344DA4 7F C4 F3 78 */ mr r4, r30 +/* 80347E48 00344DA8 38 61 01 8C */ addi r3, r1, 0x18c +/* 80347E4C 00344DAC 38 A0 00 00 */ li r5, 0 +/* 80347E50 00344DB0 48 03 46 41 */ bl GXLoadTexMtxImm +/* 80347E54 00344DB4 38 60 00 01 */ li r3, 1 +/* 80347E58 00344DB8 48 00 01 8C */ b lbl_80347FE4 +/* 80347E5C 00344DBC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80347E60 00344DC0 38 61 00 0C */ addi r3, r1, 0xc +/* 80347E64 00344DC4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80347E68 00344DC8 4B FC AE 35 */ bl GetQuickInverse__12CTransform4fCFv +/* 80347E6C 00344DCC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80347E70 00344DD0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80347E74 00344DD4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80347E78 00344DD8 38 81 00 0C */ addi r4, r1, 0xc +/* 80347E7C 00344DDC 4B FC B0 B5 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +/* 80347E80 00344DE0 38 61 01 5C */ addi r3, r1, 0x15c +/* 80347E84 00344DE4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80347E88 00344DE8 4B FC AC ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80347E8C 00344DEC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80347E90 00344DF0 3C C0 43 30 */ lis r6, 0x4330 +/* 80347E94 00344DF4 38 A3 61 D4 */ addi r5, r3, lbl_805A61D4@l +/* 80347E98 00344DF8 81 1F 00 C0 */ lwz r8, 0xc0(r31) +/* 80347E9C 00344DFC C0 25 00 0C */ lfs f1, 0xc(r5) +/* 80347EA0 00344E00 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80347EA4 00344E04 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80347EA8 00344E08 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 80347EAC 00344E0C 83 5F 00 CC */ lwz r26, 0xcc(r31) +/* 80347EB0 00344E10 7F 64 DB 78 */ mr r4, r27 +/* 80347EB4 00344E14 EC 41 00 2A */ fadds f2, f1, f0 +/* 80347EB8 00344E18 C0 62 CC 0C */ lfs f3, lbl_805AE92C@sda21(r2) +/* 80347EBC 00344E1C C0 22 CB D8 */ lfs f1, lbl_805AE8F8@sda21(r2) +/* 80347EC0 00344E20 38 61 01 5C */ addi r3, r1, 0x15c +/* 80347EC4 00344E24 C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 80347EC8 00344E28 38 A0 00 00 */ li r5, 0 +/* 80347ECC 00344E2C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80347ED0 00344E30 C0 9C 00 08 */ lfs f4, 8(r28) +/* 80347ED4 00344E34 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80347ED8 00344E38 81 9F 00 D8 */ lwz r12, 0xd8(r31) +/* 80347EDC 00344E3C C0 62 CB E8 */ lfs f3, lbl_805AE908@sda21(r2) +/* 80347EE0 00344E40 EC E4 00 B2 */ fmuls f7, f4, f2 +/* 80347EE4 00344E44 ED 04 00 32 */ fmuls f8, f4, f0 +/* 80347EE8 00344E48 81 7F 00 DC */ lwz r11, 0xdc(r31) +/* 80347EEC 00344E4C C0 C7 00 00 */ lfs f6, 0(r7) +/* 80347EF0 00344E50 EC 27 00 F2 */ fmuls f1, f7, f3 +/* 80347EF4 00344E54 C0 A7 00 04 */ lfs f5, 4(r7) +/* 80347EF8 00344E58 EC 08 00 F2 */ fmuls f0, f8, f3 +/* 80347EFC 00344E5C C0 87 00 08 */ lfs f4, 8(r7) +/* 80347F00 00344E60 FC 20 08 1E */ fctiwz f1, f1 +/* 80347F04 00344E64 83 1F 00 C4 */ lwz r24, 0xc4(r31) +/* 80347F08 00344E68 FC 00 00 1E */ fctiwz f0, f0 +/* 80347F0C 00344E6C 83 3F 00 C8 */ lwz r25, 0xc8(r31) +/* 80347F10 00344E70 83 BF 00 D0 */ lwz r29, 0xd0(r31) +/* 80347F14 00344E74 D8 21 02 90 */ stfd f1, 0x290(r1) +/* 80347F18 00344E78 83 7F 00 D4 */ lwz r27, 0xd4(r31) +/* 80347F1C 00344E7C D8 01 02 80 */ stfd f0, 0x280(r1) +/* 80347F20 00344E80 80 E1 02 94 */ lwz r7, 0x294(r1) +/* 80347F24 00344E84 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80347F28 00344E88 6C E7 80 00 */ xoris r7, r7, 0x8000 +/* 80347F2C 00344E8C 90 C1 02 88 */ stw r6, 0x288(r1) +/* 80347F30 00344E90 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80347F34 00344E94 C8 42 CC 10 */ lfd f2, lbl_805AE930@sda21(r2) +/* 80347F38 00344E98 90 E1 02 8C */ stw r7, 0x28c(r1) +/* 80347F3C 00344E9C C1 3C 00 04 */ lfs f9, 4(r28) +/* 80347F40 00344EA0 C8 01 02 88 */ lfd f0, 0x288(r1) +/* 80347F44 00344EA4 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) +/* 80347F48 00344EA8 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80347F4C 00344EAC 81 5F 00 E0 */ lwz r10, 0xe0(r31) +/* 80347F50 00344EB0 81 3F 00 E4 */ lwz r9, 0xe4(r31) +/* 80347F54 00344EB4 ED 21 02 72 */ fmuls f9, f1, f9 +/* 80347F58 00344EB8 91 01 01 2C */ stw r8, 0x12c(r1) +/* 80347F5C 00344EBC 81 1F 00 E8 */ lwz r8, 0xe8(r31) +/* 80347F60 00344EC0 91 81 01 44 */ stw r12, 0x144(r1) +/* 80347F64 00344EC4 EC 20 38 FC */ fnmsubs f1, f0, f3, f7 +/* 80347F68 00344EC8 80 FF 00 EC */ lwz r7, 0xec(r31) +/* 80347F6C 00344ECC 93 41 01 38 */ stw r26, 0x138(r1) +/* 80347F70 00344ED0 90 01 02 9C */ stw r0, 0x29c(r1) +/* 80347F74 00344ED4 90 C1 02 98 */ stw r6, 0x298(r1) +/* 80347F78 00344ED8 C8 01 02 98 */ lfd f0, 0x298(r1) +/* 80347F7C 00344EDC 91 61 01 48 */ stw r11, 0x148(r1) +/* 80347F80 00344EE0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80347F84 00344EE4 D0 C1 01 68 */ stfs f6, 0x168(r1) +/* 80347F88 00344EE8 EC 00 40 FC */ fnmsubs f0, f0, f3, f8 +/* 80347F8C 00344EEC D0 A1 01 78 */ stfs f5, 0x178(r1) +/* 80347F90 00344EF0 D0 81 01 88 */ stfs f4, 0x188(r1) +/* 80347F94 00344EF4 93 01 01 30 */ stw r24, 0x130(r1) +/* 80347F98 00344EF8 93 21 01 34 */ stw r25, 0x134(r1) +/* 80347F9C 00344EFC 93 A1 01 3C */ stw r29, 0x13c(r1) +/* 80347FA0 00344F00 93 61 01 40 */ stw r27, 0x140(r1) +/* 80347FA4 00344F04 91 41 01 4C */ stw r10, 0x14c(r1) +/* 80347FA8 00344F08 91 21 01 50 */ stw r9, 0x150(r1) +/* 80347FAC 00344F0C 91 01 01 54 */ stw r8, 0x154(r1) +/* 80347FB0 00344F10 90 E1 01 58 */ stw r7, 0x158(r1) +/* 80347FB4 00344F14 D1 21 01 2C */ stfs f9, 0x12c(r1) +/* 80347FB8 00344F18 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 80347FBC 00344F1C D1 21 01 44 */ stfs f9, 0x144(r1) +/* 80347FC0 00344F20 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 80347FC4 00344F24 48 03 44 CD */ bl GXLoadTexMtxImm +/* 80347FC8 00344F28 7F C4 F3 78 */ mr r4, r30 +/* 80347FCC 00344F2C 38 61 01 2C */ addi r3, r1, 0x12c +/* 80347FD0 00344F30 38 A0 00 00 */ li r5, 0 +/* 80347FD4 00344F34 48 03 44 BD */ bl GXLoadTexMtxImm +/* 80347FD8 00344F38 38 60 00 03 */ li r3, 3 +/* 80347FDC 00344F3C 48 00 00 08 */ b lbl_80347FE4 +lbl_80347FE0: +/* 80347FE0 00344F40 38 60 00 00 */ li r3, 0 +lbl_80347FE4: +/* 80347FE4 00344F44 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 +/* 80347FE8 00344F48 CB E1 03 30 */ lfd f31, 0x330(r1) +/* 80347FEC 00344F4C E3 C1 03 28 */ psq_l f30, 808(r1), 0, qr0 +/* 80347FF0 00344F50 CB C1 03 20 */ lfd f30, 0x320(r1) +/* 80347FF4 00344F54 E3 A1 03 18 */ psq_l f29, 792(r1), 0, qr0 +/* 80347FF8 00344F58 CB A1 03 10 */ lfd f29, 0x310(r1) +/* 80347FFC 00344F5C E3 81 03 08 */ psq_l f28, 776(r1), 0, qr0 +/* 80348000 00344F60 CB 81 03 00 */ lfd f28, 0x300(r1) +/* 80348004 00344F64 E3 61 02 F8 */ psq_l f27, 760(r1), 0, qr0 +/* 80348008 00344F68 CB 61 02 F0 */ lfd f27, 0x2f0(r1) +/* 8034800C 00344F6C B9 E1 02 AC */ lmw r15, 0x2ac(r1) +/* 80348010 00344F70 80 01 03 44 */ lwz r0, 0x344(r1) +/* 80348014 00344F74 7C 08 03 A6 */ mtlr r0 +/* 80348018 00344F78 38 21 03 40 */ addi r1, r1, 0x340 +/* 8034801C 00344F7C 4E 80 00 20 */ blr + +.global HandleTev__FiPCUiPCUib +HandleTev__FiPCUiPCUib: +/* 80348020 00344F80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348024 00344F84 7C 08 02 A6 */ mflr r0 +/* 80348028 00344F88 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034802C 00344F8C 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80348030 00344F90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348034 00344F94 7C 9F 23 78 */ mr r31, r4 +/* 80348038 00344F98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034803C 00344F9C 7C 7E 1B 78 */ mr r30, r3 +/* 80348040 00344FA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348044 00344FA4 7C BD 2B 78 */ mr r29, r5 +/* 80348048 00344FA8 41 82 00 10 */ beq lbl_80348058 +/* 8034804C 00344FAC 3C 80 00 08 */ lis r4, 0x0007A04F@ha +/* 80348050 00344FB0 38 84 A0 4F */ addi r4, r4, 0x0007A04F@l +/* 80348054 00344FB4 48 00 00 08 */ b lbl_8034805C +lbl_80348058: +/* 80348058 00344FB8 80 9F 00 00 */ lwz r4, 0(r31) +lbl_8034805C: +/* 8034805C 00344FBC 80 BF 00 04 */ lwz r5, 4(r31) +/* 80348060 00344FC0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80348064 00344FC4 80 FF 00 0C */ lwz r7, 0xc(r31) +/* 80348068 00344FC8 4B FB FC 81 */ bl SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi +/* 8034806C 00344FCC 1C BE 00 1C */ mulli r5, r30, 0x1c +/* 80348070 00344FD0 80 DD 00 00 */ lwz r6, 0(r29) +/* 80348074 00344FD4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80348078 00344FD8 83 BF 00 10 */ lwz r29, 0x10(r31) +/* 8034807C 00344FDC 54 C4 06 3E */ clrlwi r4, r6, 0x18 +/* 80348080 00344FE0 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80348084 00344FE4 7C 60 2A 14 */ add r3, r0, r5 +/* 80348088 00344FE8 54 C5 C6 3E */ rlwinm r5, r6, 0x18, 0x18, 0x1f +/* 8034808C 00344FEC 3B E3 00 68 */ addi r31, r3, 0x68 +/* 80348090 00344FF0 7C 83 23 78 */ mr r3, r4 +/* 80348094 00344FF4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80348098 00344FF8 50 C3 04 2E */ rlwimi r3, r6, 0, 0x10, 0x17 +/* 8034809C 00344FFC 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 803480A0 00345000 53 A3 82 1E */ rlwimi r3, r29, 0x10, 8, 0xf +/* 803480A4 00345004 7C 00 18 40 */ cmplw r0, r3 +/* 803480A8 00345008 41 82 00 10 */ beq lbl_803480B8 +/* 803480AC 0034500C 90 7F 00 14 */ stw r3, 0x14(r31) +/* 803480B0 00345010 7F C3 F3 78 */ mr r3, r30 +/* 803480B4 00345014 48 03 39 41 */ bl GXSetTevOrder +lbl_803480B8: +/* 803480B8 00345018 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 803480BC 0034501C 57 A4 C6 3E */ rlwinm r4, r29, 0x18, 0x18, 0x1f +/* 803480C0 00345020 7C 04 00 00 */ cmpw r4, r0 +/* 803480C4 00345024 41 82 00 10 */ beq lbl_803480D4 +/* 803480C8 00345028 98 9F 00 18 */ stb r4, 0x18(r31) +/* 803480CC 0034502C 7F C3 F3 78 */ mr r3, r30 +/* 803480D0 00345030 48 03 36 89 */ bl GXSetTevKColorSel +lbl_803480D4: +/* 803480D4 00345034 88 1F 00 19 */ lbz r0, 0x19(r31) +/* 803480D8 00345038 57 A4 86 3E */ rlwinm r4, r29, 0x10, 0x18, 0x1f +/* 803480DC 0034503C 7C 04 00 00 */ cmpw r4, r0 +/* 803480E0 00345040 41 82 00 10 */ beq lbl_803480F0 +/* 803480E4 00345044 98 9F 00 19 */ stb r4, 0x19(r31) +/* 803480E8 00345048 7F C3 F3 78 */ mr r3, r30 +/* 803480EC 0034504C 48 03 36 D9 */ bl GXSetTevKAlphaSel +lbl_803480F0: +/* 803480F0 00345050 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803480F4 00345054 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803480F8 00345058 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803480FC 0034505C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348100 00345060 7C 08 03 A6 */ mtlr r0 +/* 80348104 00345064 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348108 00345068 4E 80 00 20 */ blr + +.global SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb +SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb: +/* 8034810C 0034506C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348110 00345070 7C 08 02 A6 */ mflr r0 +/* 80348114 00345074 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348118 00345078 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8034811C 0034507C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348120 00345080 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348124 00345084 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348128 00345088 54 7D 04 3E */ clrlwi r29, r3, 0x10 +/* 8034812C 0034508C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80348130 00345090 54 7C 84 3E */ srwi r28, r3, 0x10 +/* 80348134 00345094 8B C4 00 00 */ lbz r30, 0(r4) +/* 80348138 00345098 7F DE 07 74 */ extsb r30, r30 +/* 8034813C 0034509C 41 82 00 4C */ beq lbl_80348188 +/* 80348140 003450A0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80348144 003450A4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80348148 003450A8 80 04 02 48 */ lwz r0, 0x248(r4) +/* 8034814C 003450AC 28 00 0A 06 */ cmplwi r0, 0xa06 +/* 80348150 003450B0 41 82 00 2C */ beq lbl_8034817C +/* 80348154 003450B4 38 00 0A 06 */ li r0, 0xa06 +/* 80348158 003450B8 38 60 00 06 */ li r3, 6 +/* 8034815C 003450BC 90 04 02 48 */ stw r0, 0x248(r4) +/* 80348160 003450C0 38 80 00 40 */ li r4, 0x40 +/* 80348164 003450C4 38 A0 00 01 */ li r5, 1 +/* 80348168 003450C8 38 C0 00 00 */ li r6, 0 +/* 8034816C 003450CC 38 E0 00 00 */ li r7, 0 +/* 80348170 003450D0 48 03 37 AD */ bl GXSetAlphaCompare +/* 80348174 003450D4 38 60 00 00 */ li r3, 0 +/* 80348178 003450D8 48 03 3E 15 */ bl GXSetZCompLoc +lbl_8034817C: +/* 8034817C 003450DC 3B A0 00 01 */ li r29, 1 +/* 80348180 003450E0 3B 80 00 00 */ li r28, 0 +/* 80348184 003450E4 48 00 00 48 */ b lbl_803481CC +lbl_80348188: +/* 80348188 003450E8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8034818C 003450EC 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l +/* 80348190 003450F0 80 65 02 48 */ lwz r3, 0x248(r5) +/* 80348194 003450F4 3C 03 FF FF */ addis r0, r3, 0xffff +/* 80348198 003450F8 28 00 C8 07 */ cmplwi r0, 0xc807 +/* 8034819C 003450FC 41 82 00 30 */ beq lbl_803481CC +/* 803481A0 00345100 3C 80 00 02 */ lis r4, 0x0001C807@ha +/* 803481A4 00345104 38 60 00 07 */ li r3, 7 +/* 803481A8 00345108 38 04 C8 07 */ addi r0, r4, 0x0001C807@l +/* 803481AC 0034510C 38 80 00 00 */ li r4, 0 +/* 803481B0 00345110 90 05 02 48 */ stw r0, 0x248(r5) +/* 803481B4 00345114 38 A0 00 01 */ li r5, 1 +/* 803481B8 00345118 38 C0 00 07 */ li r6, 7 +/* 803481BC 0034511C 38 E0 00 00 */ li r7, 0 +/* 803481C0 00345120 48 03 37 5D */ bl GXSetAlphaCompare +/* 803481C4 00345124 38 60 00 01 */ li r3, 1 +/* 803481C8 00345128 48 03 3D C5 */ bl GXSetZCompLoc +lbl_803481CC: +/* 803481CC 0034512C 2C 1E 00 04 */ cmpwi r30, 4 +/* 803481D0 00345130 40 81 00 2C */ ble lbl_803481FC +/* 803481D4 00345134 2C 1D 00 01 */ cmpwi r29, 1 +/* 803481D8 00345138 40 82 00 24 */ bne lbl_803481FC +/* 803481DC 0034513C 2C 1C 00 00 */ cmpwi r28, 0 +/* 803481E0 00345140 3B A0 00 04 */ li r29, 4 +/* 803481E4 00345144 40 82 00 18 */ bne lbl_803481FC +/* 803481E8 00345148 2C 1E 00 06 */ cmpwi r30, 6 +/* 803481EC 0034514C 38 00 00 05 */ li r0, 5 +/* 803481F0 00345150 40 81 00 08 */ ble lbl_803481F8 +/* 803481F4 00345154 38 00 00 01 */ li r0, 1 +lbl_803481F8: +/* 803481F8 00345158 7C 1C 03 78 */ mr r28, r0 +lbl_803481FC: +/* 803481FC 0034515C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80348200 00345160 57 A0 16 FA */ rlwinm r0, r29, 2, 0x1b, 0x1d +/* 80348204 00345164 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80348208 00345168 60 1E 00 01 */ ori r30, r0, 1 +/* 8034820C 0034516C A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80348210 00345170 53 9E 2E 34 */ rlwimi r30, r28, 5, 0x18, 0x1a +/* 80348214 00345174 7C 1E 00 40 */ cmplw r30, r0 +/* 80348218 00345178 41 82 00 24 */ beq lbl_8034823C +/* 8034821C 0034517C 7F C3 F3 78 */ mr r3, r30 +/* 80348220 00345180 4B D6 C1 59 */ bl update_fog__3CGXFUi +/* 80348224 00345184 B3 DF 00 56 */ sth r30, 0x56(r31) +/* 80348228 00345188 7F A4 EB 78 */ mr r4, r29 +/* 8034822C 0034518C 7F 85 E3 78 */ mr r5, r28 +/* 80348230 00345190 38 60 00 01 */ li r3, 1 +/* 80348234 00345194 38 C0 00 00 */ li r6, 0 +/* 80348238 00345198 48 03 3C 75 */ bl GXSetBlendMode +lbl_8034823C: +/* 8034823C 0034519C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348240 003451A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348244 003451A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348248 003451A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034824C 003451AC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80348250 003451B0 7C 08 03 A6 */ mtlr r0 +/* 80348254 003451B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348258 003451B8 4E 80 00 20 */ blr + +.global __sinit_CCubeMaterial_cpp +__sinit_CCubeMaterial_cpp: +/* 8034825C 003451BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348260 003451C0 7C 08 02 A6 */ mflr r0 +/* 80348264 003451C4 3C 60 80 4C */ lis r3, lbl_804BFF5C@ha +/* 80348268 003451C8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8034826C 003451CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348270 003451D0 3C C0 80 4C */ lis r6, lbl_804BFF50@ha +/* 80348274 003451D4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80348278 003451D8 3C A0 80 5A */ lis r5, lbl_805A67B4@ha +/* 8034827C 003451DC 38 63 FF 5C */ addi r3, r3, lbl_804BFF5C@l +/* 80348280 003451E0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80348284 003451E4 D4 06 FF 50 */ stfsu f0, lbl_804BFF50@l(r6) +/* 80348288 003451E8 D4 05 67 B4 */ stfsu f0, lbl_805A67B4@l(r5) +/* 8034828C 003451EC D0 06 00 04 */ stfs f0, 4(r6) +/* 80348290 003451F0 D0 06 00 08 */ stfs f0, 8(r6) +/* 80348294 003451F4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80348298 003451F8 D0 05 00 08 */ stfs f0, 8(r5) +/* 8034829C 003451FC 4B FC A8 D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 803482A0 00345200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803482A4 00345204 7C 08 03 A6 */ mtlr r0 +/* 803482A8 00345208 38 21 00 10 */ addi r1, r1, 0x10 +/* 803482AC 0034520C 4E 80 00 20 */ blr + +.global GetBounds__12CCubeSurfaceCFv +GetBounds__12CCubeSurfaceCFv: +/* 803482B0 00345210 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803482B4 00345214 7C 08 02 A6 */ mflr r0 +/* 803482B8 00345218 90 01 00 14 */ stw r0, 0x14(r1) +/* 803482BC 0034521C 80 84 00 00 */ lwz r4, 0(r4) +/* 803482C0 00345220 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 803482C4 00345224 28 00 00 00 */ cmplwi r0, 0 +/* 803482C8 00345228 41 82 00 38 */ beq lbl_80348300 +/* 803482CC 0034522C C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 803482D0 00345230 D0 03 00 00 */ stfs f0, 0(r3) +/* 803482D4 00345234 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 803482D8 00345238 D0 03 00 04 */ stfs f0, 4(r3) +/* 803482DC 0034523C C0 04 00 34 */ lfs f0, 0x34(r4) +/* 803482E0 00345240 D0 03 00 08 */ stfs f0, 8(r3) +/* 803482E4 00345244 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 803482E8 00345248 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 803482EC 0034524C C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 803482F0 00345250 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803482F4 00345254 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 803482F8 00345258 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803482FC 0034525C 48 00 00 0C */ b lbl_80348308 +lbl_80348300: +/* 80348300 00345260 7C 85 23 78 */ mr r5, r4 +/* 80348304 00345264 4B FF 02 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_80348308: +/* 80348308 00345268 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034830C 0034526C 7C 08 03 A6 */ mtlr r0 +/* 80348310 00345270 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348314 00345274 4E 80 00 20 */ blr + +.global __sinit_CCubeSurface_cpp +__sinit_CCubeSurface_cpp: +/* 80348318 00345278 C0 22 CC 18 */ lfs f1, lbl_805AE938@sda21(r2) +/* 8034831C 0034527C 3C 60 80 5A */ lis r3, lbl_805A67C0@ha +/* 80348320 00345280 C0 02 CC 1C */ lfs f0, lbl_805AE93C@sda21(r2) +/* 80348324 00345284 D4 23 67 C0 */ stfsu f1, lbl_805A67C0@l(r3) +/* 80348328 00345288 D0 03 00 04 */ stfs f0, 4(r3) +/* 8034832C 0034528C D0 03 00 08 */ stfs f0, 8(r3) +/* 80348330 00345290 4E 80 00 20 */ blr + +.global PutTo__13CCharAnimTimeCFR13COutputStream +PutTo__13CCharAnimTimeCFR13COutputStream: +/* 80348334 00345294 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348338 00345298 7C 08 02 A6 */ mflr r0 +/* 8034833C 0034529C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348340 003452A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348344 003452A4 7C 9F 23 78 */ mr r31, r4 +/* 80348348 003452A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034834C 003452AC 7C 7E 1B 78 */ mr r30, r3 +/* 80348350 003452B0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80348354 003452B4 7F E3 FB 78 */ mr r3, r31 +/* 80348358 003452B8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034835C 003452BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80348360 003452C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80348364 003452C4 4B FF 71 55 */ bl FlushShiftRegister__13COutputStreamFv +/* 80348368 003452C8 7F E3 FB 78 */ mr r3, r31 +/* 8034836C 003452CC 38 81 00 0C */ addi r4, r1, 0xc +/* 80348370 003452D0 38 A0 00 04 */ li r5, 4 +/* 80348374 003452D4 4B FF 72 35 */ bl DoPut__13COutputStreamFPCvUl +/* 80348378 003452D8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034837C 003452DC 7F E3 FB 78 */ mr r3, r31 +/* 80348380 003452E0 90 01 00 08 */ stw r0, 8(r1) +/* 80348384 003452E4 4B FF 71 35 */ bl FlushShiftRegister__13COutputStreamFv +/* 80348388 003452E8 7F E3 FB 78 */ mr r3, r31 +/* 8034838C 003452EC 38 81 00 08 */ addi r4, r1, 8 +/* 80348390 003452F0 38 A0 00 04 */ li r5, 4 +/* 80348394 003452F4 4B FF 72 15 */ bl DoPut__13COutputStreamFPCvUl +/* 80348398 003452F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034839C 003452FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803483A0 00345300 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803483A4 00345304 7C 08 03 A6 */ mtlr r0 +/* 803483A8 00345308 38 21 00 20 */ addi r1, r1, 0x20 +/* 803483AC 0034530C 4E 80 00 20 */ blr + +.global EqualsZero__13CCharAnimTimeCFv +EqualsZero__13CCharAnimTimeCFv: +/* 803483B0 00345310 80 83 00 04 */ lwz r4, 4(r3) +/* 803483B4 00345314 38 00 00 00 */ li r0, 0 +/* 803483B8 00345318 2C 04 00 01 */ cmpwi r4, 1 +/* 803483BC 0034531C 41 82 00 24 */ beq lbl_803483E0 +/* 803483C0 00345320 2C 04 00 02 */ cmpwi r4, 2 +/* 803483C4 00345324 41 82 00 1C */ beq lbl_803483E0 +/* 803483C8 00345328 2C 04 00 03 */ cmpwi r4, 3 +/* 803483CC 0034532C 41 82 00 14 */ beq lbl_803483E0 +/* 803483D0 00345330 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 803483D4 00345334 C0 03 00 00 */ lfs f0, 0(r3) +/* 803483D8 00345338 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803483DC 0034533C 40 82 00 08 */ bne lbl_803483E4 +lbl_803483E0: +/* 803483E0 00345340 38 00 00 01 */ li r0, 1 +lbl_803483E4: +/* 803483E4 00345344 7C 03 03 78 */ mr r3, r0 +/* 803483E8 00345348 4E 80 00 20 */ blr + +.global GreaterThanZero__13CCharAnimTimeCFv +GreaterThanZero__13CCharAnimTimeCFv: +/* 803483EC 0034534C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803483F0 00345350 7C 08 02 A6 */ mflr r0 +/* 803483F4 00345354 90 01 00 14 */ stw r0, 0x14(r1) +/* 803483F8 00345358 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803483FC 0034535C 7C 7F 1B 78 */ mr r31, r3 +/* 80348400 00345360 4B FF FF B1 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348404 00345364 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348408 00345368 41 82 00 0C */ beq lbl_80348414 +/* 8034840C 0034536C 38 60 00 00 */ li r3, 0 +/* 80348410 00345370 48 00 00 18 */ b lbl_80348428 +lbl_80348414: +/* 80348414 00345374 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348418 00345378 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 8034841C 0034537C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348420 00345380 7C 00 00 26 */ mfcr r0 +/* 80348424 00345384 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +lbl_80348428: +/* 80348428 00345388 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034842C 0034538C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348430 00345390 7C 08 03 A6 */ mtlr r0 +/* 80348434 00345394 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348438 00345398 4E 80 00 20 */ blr + +.global __ge__13CCharAnimTimeCFRC13CCharAnimTime +__ge__13CCharAnimTimeCFRC13CCharAnimTime: +/* 8034843C 0034539C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348440 003453A0 7C 08 02 A6 */ mflr r0 +/* 80348444 003453A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348448 003453A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034844C 003453AC 3B E0 00 00 */ li r31, 0 +/* 80348450 003453B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348454 003453B4 7C 9E 23 78 */ mr r30, r4 +/* 80348458 003453B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034845C 003453BC 7C 7D 1B 78 */ mr r29, r3 +/* 80348460 003453C0 48 00 06 A1 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348464 003453C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348468 003453C8 40 82 00 18 */ bne lbl_80348480 +/* 8034846C 003453CC 7F A3 EB 78 */ mr r3, r29 +/* 80348470 003453D0 7F C4 F3 78 */ mr r4, r30 +/* 80348474 003453D4 48 00 05 F9 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348478 003453D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034847C 003453DC 41 82 00 08 */ beq lbl_80348484 +lbl_80348480: +/* 80348480 003453E0 3B E0 00 01 */ li r31, 1 +lbl_80348484: +/* 80348484 003453E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348488 003453E8 7F E3 FB 78 */ mr r3, r31 +/* 8034848C 003453EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348490 003453F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348494 003453F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348498 003453F8 7C 08 03 A6 */ mtlr r0 +/* 8034849C 003453FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803484A0 00345400 4E 80 00 20 */ blr + +.global __le__13CCharAnimTimeCFRC13CCharAnimTime +__le__13CCharAnimTimeCFRC13CCharAnimTime: +/* 803484A4 00345404 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803484A8 00345408 7C 08 02 A6 */ mflr r0 +/* 803484AC 0034540C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803484B0 00345410 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803484B4 00345414 3B E0 00 00 */ li r31, 0 +/* 803484B8 00345418 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803484BC 0034541C 7C 9E 23 78 */ mr r30, r4 +/* 803484C0 00345420 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803484C4 00345424 7C 7D 1B 78 */ mr r29, r3 +/* 803484C8 00345428 48 00 06 39 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 803484CC 0034542C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803484D0 00345430 40 82 00 18 */ bne lbl_803484E8 +/* 803484D4 00345434 7F A3 EB 78 */ mr r3, r29 +/* 803484D8 00345438 7F C4 F3 78 */ mr r4, r30 +/* 803484DC 0034543C 48 00 07 61 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 803484E0 00345440 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803484E4 00345444 41 82 00 08 */ beq lbl_803484EC +lbl_803484E8: +/* 803484E8 00345448 3B E0 00 01 */ li r31, 1 +lbl_803484EC: +/* 803484EC 0034544C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803484F0 00345450 7F E3 FB 78 */ mr r3, r31 +/* 803484F4 00345454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803484F8 00345458 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803484FC 0034545C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348500 00345460 7C 08 03 A6 */ mtlr r0 +/* 80348504 00345464 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348508 00345468 4E 80 00 20 */ blr + +.global __ami__13CCharAnimTimeFRC13CCharAnimTime +__ami__13CCharAnimTimeFRC13CCharAnimTime: +/* 8034850C 0034546C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348510 00345470 7C 08 02 A6 */ mflr r0 +/* 80348514 00345474 7C 85 23 78 */ mr r5, r4 +/* 80348518 00345478 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034851C 0034547C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348520 00345480 7C 7F 1B 78 */ mr r31, r3 +/* 80348524 00345484 7F E4 FB 78 */ mr r4, r31 +/* 80348528 00345488 38 61 00 08 */ addi r3, r1, 8 +/* 8034852C 0034548C 48 00 02 39 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348530 00345490 C0 01 00 08 */ lfs f0, 8(r1) +/* 80348534 00345494 7F E3 FB 78 */ mr r3, r31 +/* 80348538 00345498 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034853C 0034549C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80348540 003454A0 90 1F 00 04 */ stw r0, 4(r31) +/* 80348544 003454A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348548 003454A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034854C 003454AC 7C 08 03 A6 */ mtlr r0 +/* 80348550 003454B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348554 003454B4 4E 80 00 20 */ blr + +.global __apl__13CCharAnimTimeFRC13CCharAnimTime +__apl__13CCharAnimTimeFRC13CCharAnimTime: +/* 80348558 003454B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034855C 003454BC 7C 08 02 A6 */ mflr r0 +/* 80348560 003454C0 7C 85 23 78 */ mr r5, r4 +/* 80348564 003454C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348568 003454C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034856C 003454CC 7C 7F 1B 78 */ mr r31, r3 +/* 80348570 003454D0 7F E4 FB 78 */ mr r4, r31 +/* 80348574 003454D4 38 61 00 08 */ addi r3, r1, 8 +/* 80348578 003454D8 48 00 00 2D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 8034857C 003454DC C0 01 00 08 */ lfs f0, 8(r1) +/* 80348580 003454E0 7F E3 FB 78 */ mr r3, r31 +/* 80348584 003454E4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80348588 003454E8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034858C 003454EC 90 1F 00 04 */ stw r0, 4(r31) +/* 80348590 003454F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348594 003454F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348598 003454F8 7C 08 03 A6 */ mtlr r0 +/* 8034859C 003454FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803485A0 00345500 4E 80 00 20 */ blr + +.global __pl__13CCharAnimTimeCFRC13CCharAnimTime +__pl__13CCharAnimTimeCFRC13CCharAnimTime: +/* 803485A4 00345504 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803485A8 00345508 7C 08 02 A6 */ mflr r0 +/* 803485AC 0034550C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803485B0 00345510 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803485B4 00345514 7C 7F 1B 78 */ mr r31, r3 +/* 803485B8 00345518 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803485BC 0034551C 7C BE 2B 78 */ mr r30, r5 +/* 803485C0 00345520 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803485C4 00345524 7C 9D 23 78 */ mr r29, r4 +/* 803485C8 00345528 80 64 00 04 */ lwz r3, 4(r4) +/* 803485CC 0034552C 2C 03 00 04 */ cmpwi r3, 4 +/* 803485D0 00345530 41 82 00 10 */ beq lbl_803485E0 +/* 803485D4 00345534 80 1E 00 04 */ lwz r0, 4(r30) +/* 803485D8 00345538 2C 00 00 04 */ cmpwi r0, 4 +/* 803485DC 0034553C 40 82 00 7C */ bne lbl_80348658 +lbl_803485E0: +/* 803485E0 00345540 2C 03 00 04 */ cmpwi r3, 4 +/* 803485E4 00345544 40 82 00 44 */ bne lbl_80348628 +/* 803485E8 00345548 80 1E 00 04 */ lwz r0, 4(r30) +/* 803485EC 0034554C 2C 00 00 04 */ cmpwi r0, 4 +/* 803485F0 00345550 40 82 00 38 */ bne lbl_80348628 +/* 803485F4 00345554 C0 1E 00 00 */ lfs f0, 0(r30) +/* 803485F8 00345558 C0 3D 00 00 */ lfs f1, 0(r29) +/* 803485FC 0034555C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80348600 00345560 40 82 00 14 */ bne lbl_80348614 +/* 80348604 00345564 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80348608 00345568 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034860C 0034556C 90 1F 00 04 */ stw r0, 4(r31) +/* 80348610 00345570 48 00 01 38 */ b lbl_80348748 +lbl_80348614: +/* 80348614 00345574 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 80348618 00345578 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034861C 0034557C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 80348620 00345580 90 1F 00 04 */ stw r0, 4(r31) +/* 80348624 00345584 48 00 01 24 */ b lbl_80348748 +lbl_80348628: +/* 80348628 00345588 2C 03 00 04 */ cmpwi r3, 4 +/* 8034862C 0034558C 40 82 00 18 */ bne lbl_80348644 +/* 80348630 00345590 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80348634 00345594 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80348638 00345598 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034863C 0034559C 90 1F 00 04 */ stw r0, 4(r31) +/* 80348640 003455A0 48 00 01 08 */ b lbl_80348748 +lbl_80348644: +/* 80348644 003455A4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348648 003455A8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034864C 003455AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348650 003455B0 90 1F 00 04 */ stw r0, 4(r31) +/* 80348654 003455B4 48 00 00 F4 */ b lbl_80348748 +lbl_80348658: +/* 80348658 003455B8 7F A3 EB 78 */ mr r3, r29 +/* 8034865C 003455BC 4B FF FD 55 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348660 003455C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348664 003455C4 41 82 00 D0 */ beq lbl_80348734 +/* 80348668 003455C8 7F C3 F3 78 */ mr r3, r30 +/* 8034866C 003455CC 4B FF FD 45 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348670 003455D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348674 003455D4 41 82 00 C0 */ beq lbl_80348734 +/* 80348678 003455D8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034867C 003455DC 2C 00 00 03 */ cmpwi r0, 3 +/* 80348680 003455E0 40 82 00 0C */ bne lbl_8034868C +/* 80348684 003455E4 38 60 FF FF */ li r3, -1 +/* 80348688 003455E8 48 00 00 18 */ b lbl_803486A0 +lbl_8034868C: +/* 8034868C 003455EC 2C 00 00 02 */ cmpwi r0, 2 +/* 80348690 003455F0 40 82 00 0C */ bne lbl_8034869C +/* 80348694 003455F4 38 60 00 00 */ li r3, 0 +/* 80348698 003455F8 48 00 00 08 */ b lbl_803486A0 +lbl_8034869C: +/* 8034869C 003455FC 38 60 00 01 */ li r3, 1 +lbl_803486A0: +/* 803486A0 00345600 80 1E 00 04 */ lwz r0, 4(r30) +/* 803486A4 00345604 2C 00 00 03 */ cmpwi r0, 3 +/* 803486A8 00345608 40 82 00 0C */ bne lbl_803486B4 +/* 803486AC 0034560C 38 80 FF FF */ li r4, -1 +/* 803486B0 00345610 48 00 00 18 */ b lbl_803486C8 +lbl_803486B4: +/* 803486B4 00345614 2C 00 00 02 */ cmpwi r0, 2 +/* 803486B8 00345618 40 82 00 0C */ bne lbl_803486C4 +/* 803486BC 0034561C 38 80 00 00 */ li r4, 0 +/* 803486C0 00345620 48 00 00 08 */ b lbl_803486C8 +lbl_803486C4: +/* 803486C4 00345624 38 80 00 01 */ li r4, 1 +lbl_803486C8: +/* 803486C8 00345628 80 0D 9D 8C */ lwz r0, lbl_805A894C@sda21(r13) +/* 803486CC 0034562C 7C 63 22 14 */ add r3, r3, r4 +/* 803486D0 00345630 90 61 00 08 */ stw r3, 8(r1) +/* 803486D4 00345634 38 81 00 08 */ addi r4, r1, 8 +/* 803486D8 00345638 7C 00 18 00 */ cmpw r0, r3 +/* 803486DC 0034563C 40 80 00 08 */ bge lbl_803486E4 +/* 803486E0 00345640 38 8D 9D 8C */ addi r4, r13, lbl_805A894C@sda21 +lbl_803486E4: +/* 803486E4 00345644 80 6D 9D 90 */ lwz r3, lbl_805A8950@sda21(r13) +/* 803486E8 00345648 80 04 00 00 */ lwz r0, 0(r4) +/* 803486EC 0034564C 7C 03 00 00 */ cmpw r3, r0 +/* 803486F0 00345650 40 80 00 08 */ bge lbl_803486F8 +/* 803486F4 00345654 48 00 00 08 */ b lbl_803486FC +lbl_803486F8: +/* 803486F8 00345658 38 8D 9D 90 */ addi r4, r13, lbl_805A8950@sda21 +lbl_803486FC: +/* 803486FC 0034565C 80 04 00 00 */ lwz r0, 0(r4) +/* 80348700 00345660 2C 00 FF FF */ cmpwi r0, -1 +/* 80348704 00345664 40 82 00 0C */ bne lbl_80348710 +/* 80348708 00345668 38 00 00 03 */ li r0, 3 +/* 8034870C 0034566C 48 00 00 18 */ b lbl_80348724 +lbl_80348710: +/* 80348710 00345670 2C 00 00 00 */ cmpwi r0, 0 +/* 80348714 00345674 40 82 00 0C */ bne lbl_80348720 +/* 80348718 00345678 38 00 00 02 */ li r0, 2 +/* 8034871C 0034567C 48 00 00 08 */ b lbl_80348724 +lbl_80348720: +/* 80348720 00345680 38 00 00 01 */ li r0, 1 +lbl_80348724: +/* 80348724 00345684 C0 0D 9D 94 */ lfs f0, lbl_805A8954@sda21(r13) +/* 80348728 00345688 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034872C 0034568C 90 1F 00 04 */ stw r0, 4(r31) +/* 80348730 00345690 48 00 00 18 */ b lbl_80348748 +lbl_80348734: +/* 80348734 00345694 C0 3D 00 00 */ lfs f1, 0(r29) +/* 80348738 00345698 7F E3 FB 78 */ mr r3, r31 +/* 8034873C 0034569C C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348740 003456A0 EC 21 00 2A */ fadds f1, f1, f0 +/* 80348744 003456A4 48 00 06 A9 */ bl __ct__13CCharAnimTimeFf +lbl_80348748: +/* 80348748 003456A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034874C 003456AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348750 003456B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348754 003456B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348758 003456B8 7C 08 03 A6 */ mtlr r0 +/* 8034875C 003456BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348760 003456C0 4E 80 00 20 */ blr + +.global __mi__13CCharAnimTimeCFRC13CCharAnimTime +__mi__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348764 003456C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348768 003456C8 7C 08 02 A6 */ mflr r0 +/* 8034876C 003456CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348770 003456D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348774 003456D4 7C BF 2B 78 */ mr r31, r5 +/* 80348778 003456D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034877C 003456DC 7C 9E 23 78 */ mr r30, r4 +/* 80348780 003456E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348784 003456E4 7C 7D 1B 78 */ mr r29, r3 +/* 80348788 003456E8 80 64 00 04 */ lwz r3, 4(r4) +/* 8034878C 003456EC 2C 03 00 04 */ cmpwi r3, 4 +/* 80348790 003456F0 41 82 00 10 */ beq lbl_803487A0 +/* 80348794 003456F4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348798 003456F8 2C 00 00 04 */ cmpwi r0, 4 +/* 8034879C 003456FC 40 82 00 80 */ bne lbl_8034881C +lbl_803487A0: +/* 803487A0 00345700 2C 03 00 04 */ cmpwi r3, 4 +/* 803487A4 00345704 40 82 00 44 */ bne lbl_803487E8 +/* 803487A8 00345708 80 1F 00 04 */ lwz r0, 4(r31) +/* 803487AC 0034570C 2C 00 00 04 */ cmpwi r0, 4 +/* 803487B0 00345710 40 82 00 38 */ bne lbl_803487E8 +/* 803487B4 00345714 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803487B8 00345718 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803487BC 0034571C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 803487C0 00345720 40 82 00 18 */ bne lbl_803487D8 +/* 803487C4 00345724 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 803487C8 00345728 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803487CC 0034572C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 803487D0 00345730 90 1D 00 04 */ stw r0, 4(r29) +/* 803487D4 00345734 48 00 01 04 */ b lbl_803488D8 +lbl_803487D8: +/* 803487D8 00345738 D0 3D 00 00 */ stfs f1, 0(r29) +/* 803487DC 0034573C 80 1E 00 04 */ lwz r0, 4(r30) +/* 803487E0 00345740 90 1D 00 04 */ stw r0, 4(r29) +/* 803487E4 00345744 48 00 00 F4 */ b lbl_803488D8 +lbl_803487E8: +/* 803487E8 00345748 2C 03 00 04 */ cmpwi r3, 4 +/* 803487EC 0034574C 40 82 00 18 */ bne lbl_80348804 +/* 803487F0 00345750 C0 1E 00 00 */ lfs f0, 0(r30) +/* 803487F4 00345754 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803487F8 00345758 80 1E 00 04 */ lwz r0, 4(r30) +/* 803487FC 0034575C 90 1D 00 04 */ stw r0, 4(r29) +/* 80348800 00345760 48 00 00 D8 */ b lbl_803488D8 +lbl_80348804: +/* 80348804 00345764 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348808 00345768 FC 00 00 50 */ fneg f0, f0 +/* 8034880C 0034576C D0 1D 00 00 */ stfs f0, 0(r29) +/* 80348810 00345770 80 0D 9D 84 */ lwz r0, lbl_805A8944@sda21(r13) +/* 80348814 00345774 90 1D 00 04 */ stw r0, 4(r29) +/* 80348818 00345778 48 00 00 C0 */ b lbl_803488D8 +lbl_8034881C: +/* 8034881C 0034577C 7F C3 F3 78 */ mr r3, r30 +/* 80348820 00345780 4B FF FB 91 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348824 00345784 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348828 00345788 41 82 00 9C */ beq lbl_803488C4 +/* 8034882C 0034578C 7F E3 FB 78 */ mr r3, r31 +/* 80348830 00345790 4B FF FB 81 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348834 00345794 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348838 00345798 41 82 00 8C */ beq lbl_803488C4 +/* 8034883C 0034579C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348840 003457A0 2C 00 00 03 */ cmpwi r0, 3 +/* 80348844 003457A4 40 82 00 0C */ bne lbl_80348850 +/* 80348848 003457A8 38 00 FF FF */ li r0, -1 +/* 8034884C 003457AC 48 00 00 18 */ b lbl_80348864 +lbl_80348850: +/* 80348850 003457B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80348854 003457B4 40 82 00 0C */ bne lbl_80348860 +/* 80348858 003457B8 38 00 00 00 */ li r0, 0 +/* 8034885C 003457BC 48 00 00 08 */ b lbl_80348864 +lbl_80348860: +/* 80348860 003457C0 38 00 00 01 */ li r0, 1 +lbl_80348864: +/* 80348864 003457C4 80 7F 00 04 */ lwz r3, 4(r31) +/* 80348868 003457C8 2C 03 00 03 */ cmpwi r3, 3 +/* 8034886C 003457CC 40 82 00 0C */ bne lbl_80348878 +/* 80348870 003457D0 38 60 FF FF */ li r3, -1 +/* 80348874 003457D4 48 00 00 18 */ b lbl_8034888C +lbl_80348878: +/* 80348878 003457D8 2C 03 00 02 */ cmpwi r3, 2 +/* 8034887C 003457DC 40 82 00 0C */ bne lbl_80348888 +/* 80348880 003457E0 38 60 00 00 */ li r3, 0 +/* 80348884 003457E4 48 00 00 08 */ b lbl_8034888C +lbl_80348888: +/* 80348888 003457E8 38 60 00 01 */ li r3, 1 +lbl_8034888C: +/* 8034888C 003457EC 7C 03 00 50 */ subf r0, r3, r0 +/* 80348890 003457F0 2C 00 FF FF */ cmpwi r0, -1 +/* 80348894 003457F4 40 82 00 0C */ bne lbl_803488A0 +/* 80348898 003457F8 38 00 00 03 */ li r0, 3 +/* 8034889C 003457FC 48 00 00 18 */ b lbl_803488B4 +lbl_803488A0: +/* 803488A0 00345800 2C 00 00 00 */ cmpwi r0, 0 +/* 803488A4 00345804 40 82 00 0C */ bne lbl_803488B0 +/* 803488A8 00345808 38 00 00 02 */ li r0, 2 +/* 803488AC 0034580C 48 00 00 08 */ b lbl_803488B4 +lbl_803488B0: +/* 803488B0 00345810 38 00 00 01 */ li r0, 1 +lbl_803488B4: +/* 803488B4 00345814 C0 0D 9D 88 */ lfs f0, lbl_805A8948@sda21(r13) +/* 803488B8 00345818 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803488BC 0034581C 90 1D 00 04 */ stw r0, 4(r29) +/* 803488C0 00345820 48 00 00 18 */ b lbl_803488D8 +lbl_803488C4: +/* 803488C4 00345824 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803488C8 00345828 7F A3 EB 78 */ mr r3, r29 +/* 803488CC 0034582C C0 1F 00 00 */ lfs f0, 0(r31) +/* 803488D0 00345830 EC 21 00 28 */ fsubs f1, f1, f0 +/* 803488D4 00345834 48 00 05 19 */ bl __ct__13CCharAnimTimeFf +lbl_803488D8: +/* 803488D8 00345838 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803488DC 0034583C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803488E0 00345840 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803488E4 00345844 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803488E8 00345848 7C 08 03 A6 */ mtlr r0 +/* 803488EC 0034584C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803488F0 00345850 4E 80 00 20 */ blr + +.global __ml__13CCharAnimTimeCFRCf +__ml__13CCharAnimTimeCFRCf: +/* 803488F4 00345854 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803488F8 00345858 7C 08 02 A6 */ mflr r0 +/* 803488FC 0034585C C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348900 00345860 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348904 00345864 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348908 00345868 7C BF 2B 78 */ mr r31, r5 +/* 8034890C 0034586C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348910 00345870 7C 9E 23 78 */ mr r30, r4 +/* 80348914 00345874 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348918 00345878 7C 7D 1B 78 */ mr r29, r3 +/* 8034891C 0034587C C0 05 00 00 */ lfs f0, 0(r5) +/* 80348920 00345880 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80348924 00345884 40 82 00 18 */ bne lbl_8034893C +/* 80348928 00345888 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 8034892C 0034588C D0 1D 00 00 */ stfs f0, 0(r29) +/* 80348930 00345890 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 80348934 00345894 90 1D 00 04 */ stw r0, 4(r29) +/* 80348938 00345898 48 00 00 C4 */ b lbl_803489FC +lbl_8034893C: +/* 8034893C 0034589C 7F C3 F3 78 */ mr r3, r30 +/* 80348940 003458A0 4B FF FA 71 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348944 003458A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348948 003458A8 41 82 00 A0 */ beq lbl_803489E8 +/* 8034894C 003458AC C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348950 003458B0 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348954 003458B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348958 003458B8 40 81 00 18 */ ble lbl_80348970 +/* 8034895C 003458BC C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348960 003458C0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80348964 003458C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348968 003458C8 90 1D 00 04 */ stw r0, 4(r29) +/* 8034896C 003458CC 48 00 00 90 */ b lbl_803489FC +lbl_80348970: +/* 80348970 003458D0 40 80 00 64 */ bge lbl_803489D4 +/* 80348974 003458D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348978 003458D8 2C 00 00 03 */ cmpwi r0, 3 +/* 8034897C 003458DC 40 82 00 0C */ bne lbl_80348988 +/* 80348980 003458E0 38 00 FF FF */ li r0, -1 +/* 80348984 003458E4 48 00 00 18 */ b lbl_8034899C +lbl_80348988: +/* 80348988 003458E8 2C 00 00 02 */ cmpwi r0, 2 +/* 8034898C 003458EC 40 82 00 0C */ bne lbl_80348998 +/* 80348990 003458F0 38 00 00 00 */ li r0, 0 +/* 80348994 003458F4 48 00 00 08 */ b lbl_8034899C +lbl_80348998: +/* 80348998 003458F8 38 00 00 01 */ li r0, 1 +lbl_8034899C: +/* 8034899C 003458FC 7C 00 00 D0 */ neg r0, r0 +/* 803489A0 00345900 2C 00 FF FF */ cmpwi r0, -1 +/* 803489A4 00345904 40 82 00 0C */ bne lbl_803489B0 +/* 803489A8 00345908 38 00 00 03 */ li r0, 3 +/* 803489AC 0034590C 48 00 00 18 */ b lbl_803489C4 +lbl_803489B0: +/* 803489B0 00345910 2C 00 00 00 */ cmpwi r0, 0 +/* 803489B4 00345914 40 82 00 0C */ bne lbl_803489C0 +/* 803489B8 00345918 38 00 00 02 */ li r0, 2 +/* 803489BC 0034591C 48 00 00 08 */ b lbl_803489C4 +lbl_803489C0: +/* 803489C0 00345920 38 00 00 01 */ li r0, 1 +lbl_803489C4: +/* 803489C4 00345924 C0 0D 9D 78 */ lfs f0, lbl_805A8938@sda21(r13) +/* 803489C8 00345928 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803489CC 0034592C 90 1D 00 04 */ stw r0, 4(r29) +/* 803489D0 00345930 48 00 00 2C */ b lbl_803489FC +lbl_803489D4: +/* 803489D4 00345934 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 803489D8 00345938 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803489DC 0034593C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 803489E0 00345940 90 1D 00 04 */ stw r0, 4(r29) +/* 803489E4 00345944 48 00 00 18 */ b lbl_803489FC +lbl_803489E8: +/* 803489E8 00345948 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803489EC 0034594C 7F A3 EB 78 */ mr r3, r29 +/* 803489F0 00345950 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803489F4 00345954 EC 21 00 32 */ fmuls f1, f1, f0 +/* 803489F8 00345958 48 00 03 F5 */ bl __ct__13CCharAnimTimeFf +lbl_803489FC: +/* 803489FC 0034595C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348A00 00345960 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348A04 00345964 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348A08 00345968 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348A0C 0034596C 7C 08 03 A6 */ mtlr r0 +/* 80348A10 00345970 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348A14 00345974 4E 80 00 20 */ blr + +.global __dv__13CCharAnimTimeCFRC13CCharAnimTime +__dv__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348A18 00345978 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348A1C 0034597C 7C 08 02 A6 */ mflr r0 +/* 80348A20 00345980 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348A24 00345984 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348A28 00345988 7C 9F 23 78 */ mr r31, r4 +/* 80348A2C 0034598C 93 C1 00 08 */ stw r30, 8(r1) +/* 80348A30 00345990 7C 7E 1B 78 */ mr r30, r3 +/* 80348A34 00345994 4B FF F9 7D */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348A38 00345998 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348A3C 0034599C 41 82 00 0C */ beq lbl_80348A48 +/* 80348A40 003459A0 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348A44 003459A4 48 00 00 10 */ b lbl_80348A54 +lbl_80348A48: +/* 80348A48 003459A8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348A4C 003459AC C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348A50 003459B0 EC 21 00 24 */ fdivs f1, f1, f0 +lbl_80348A54: +/* 80348A54 003459B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348A58 003459B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348A5C 003459BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348A60 003459C0 7C 08 03 A6 */ mtlr r0 +/* 80348A64 003459C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348A68 003459C8 4E 80 00 20 */ blr + +.global __gt__13CCharAnimTimeCFRC13CCharAnimTime +__gt__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348A6C 003459CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348A70 003459D0 7C 08 02 A6 */ mflr r0 +/* 80348A74 003459D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348A78 003459D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348A7C 003459DC 3B E0 00 00 */ li r31, 0 +/* 80348A80 003459E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348A84 003459E4 7C 9E 23 78 */ mr r30, r4 +/* 80348A88 003459E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348A8C 003459EC 7C 7D 1B 78 */ mr r29, r3 +/* 80348A90 003459F0 48 00 00 71 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348A94 003459F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348A98 003459F8 40 82 00 1C */ bne lbl_80348AB4 +/* 80348A9C 003459FC 7F A3 EB 78 */ mr r3, r29 +/* 80348AA0 00345A00 7F C4 F3 78 */ mr r4, r30 +/* 80348AA4 00345A04 48 00 01 99 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348AA8 00345A08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348AAC 00345A0C 40 82 00 08 */ bne lbl_80348AB4 +/* 80348AB0 00345A10 3B E0 00 01 */ li r31, 1 +lbl_80348AB4: +/* 80348AB4 00345A14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348AB8 00345A18 7F E3 FB 78 */ mr r3, r31 +/* 80348ABC 00345A1C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348AC0 00345A20 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348AC4 00345A24 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348AC8 00345A28 7C 08 03 A6 */ mtlr r0 +/* 80348ACC 00345A2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348AD0 00345A30 4E 80 00 20 */ blr + +.global __ne__13CCharAnimTimeCFRC13CCharAnimTime +__ne__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348AD4 00345A34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348AD8 00345A38 7C 08 02 A6 */ mflr r0 +/* 80348ADC 00345A3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348AE0 00345A40 48 00 00 21 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348AE4 00345A44 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80348AE8 00345A48 7C 00 00 34 */ cntlzw r0, r0 +/* 80348AEC 00345A4C 54 03 D9 7E */ srwi r3, r0, 5 +/* 80348AF0 00345A50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348AF4 00345A54 7C 08 03 A6 */ mtlr r0 +/* 80348AF8 00345A58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348AFC 00345A5C 4E 80 00 20 */ blr + +.global __eq__13CCharAnimTimeCFRC13CCharAnimTime +__eq__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348B00 00345A60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348B04 00345A64 7C 08 02 A6 */ mflr r0 +/* 80348B08 00345A68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348B0C 00345A6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348B10 00345A70 7C 9F 23 78 */ mr r31, r4 +/* 80348B14 00345A74 93 C1 00 08 */ stw r30, 8(r1) +/* 80348B18 00345A78 7C 7E 1B 78 */ mr r30, r3 +/* 80348B1C 00345A7C 80 03 00 04 */ lwz r0, 4(r3) +/* 80348B20 00345A80 2C 00 00 00 */ cmpwi r0, 0 +/* 80348B24 00345A84 40 82 00 4C */ bne lbl_80348B70 +/* 80348B28 00345A88 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348B2C 00345A8C 2C 00 00 00 */ cmpwi r0, 0 +/* 80348B30 00345A90 40 82 00 1C */ bne lbl_80348B4C +/* 80348B34 00345A94 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348B38 00345A98 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348B3C 00345A9C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80348B40 00345AA0 7C 00 00 26 */ mfcr r0 +/* 80348B44 00345AA4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 80348B48 00345AA8 48 00 00 DC */ b lbl_80348C24 +lbl_80348B4C: +/* 80348B4C 00345AAC 7F E3 FB 78 */ mr r3, r31 +/* 80348B50 00345AB0 4B FF F8 61 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348B54 00345AB4 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 80348B58 00345AB8 38 00 00 00 */ li r0, 0 +/* 80348B5C 00345ABC 7C 64 00 D0 */ neg r3, r4 +/* 80348B60 00345AC0 7C 63 23 78 */ or r3, r3, r4 +/* 80348B64 00345AC4 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 80348B68 00345AC8 7C 03 18 78 */ andc r3, r0, r3 +/* 80348B6C 00345ACC 48 00 00 B8 */ b lbl_80348C24 +lbl_80348B70: +/* 80348B70 00345AD0 4B FF F8 41 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348B74 00345AD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348B78 00345AD8 41 82 00 7C */ beq lbl_80348BF4 +/* 80348B7C 00345ADC 7F E3 FB 78 */ mr r3, r31 +/* 80348B80 00345AE0 4B FF F8 31 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348B84 00345AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348B88 00345AE8 41 82 00 64 */ beq lbl_80348BEC +/* 80348B8C 00345AEC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348B90 00345AF0 2C 00 00 03 */ cmpwi r0, 3 +/* 80348B94 00345AF4 40 82 00 0C */ bne lbl_80348BA0 +/* 80348B98 00345AF8 38 00 FF FF */ li r0, -1 +/* 80348B9C 00345AFC 48 00 00 18 */ b lbl_80348BB4 +lbl_80348BA0: +/* 80348BA0 00345B00 2C 00 00 02 */ cmpwi r0, 2 +/* 80348BA4 00345B04 40 82 00 0C */ bne lbl_80348BB0 +/* 80348BA8 00345B08 38 00 00 00 */ li r0, 0 +/* 80348BAC 00345B0C 48 00 00 08 */ b lbl_80348BB4 +lbl_80348BB0: +/* 80348BB0 00345B10 38 00 00 01 */ li r0, 1 +lbl_80348BB4: +/* 80348BB4 00345B14 80 7F 00 04 */ lwz r3, 4(r31) +/* 80348BB8 00345B18 2C 03 00 03 */ cmpwi r3, 3 +/* 80348BBC 00345B1C 40 82 00 0C */ bne lbl_80348BC8 +/* 80348BC0 00345B20 38 60 FF FF */ li r3, -1 +/* 80348BC4 00345B24 48 00 00 18 */ b lbl_80348BDC +lbl_80348BC8: +/* 80348BC8 00345B28 2C 03 00 02 */ cmpwi r3, 2 +/* 80348BCC 00345B2C 40 82 00 0C */ bne lbl_80348BD8 +/* 80348BD0 00345B30 38 60 00 00 */ li r3, 0 +/* 80348BD4 00345B34 48 00 00 08 */ b lbl_80348BDC +lbl_80348BD8: +/* 80348BD8 00345B38 38 60 00 01 */ li r3, 1 +lbl_80348BDC: +/* 80348BDC 00345B3C 7C 00 18 50 */ subf r0, r0, r3 +/* 80348BE0 00345B40 7C 00 00 34 */ cntlzw r0, r0 +/* 80348BE4 00345B44 54 03 D9 7E */ srwi r3, r0, 5 +/* 80348BE8 00345B48 48 00 00 3C */ b lbl_80348C24 +lbl_80348BEC: +/* 80348BEC 00345B4C 38 60 00 00 */ li r3, 0 +/* 80348BF0 00345B50 48 00 00 34 */ b lbl_80348C24 +lbl_80348BF4: +/* 80348BF4 00345B54 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348BF8 00345B58 2C 00 00 04 */ cmpwi r0, 4 +/* 80348BFC 00345B5C 40 82 00 24 */ bne lbl_80348C20 +/* 80348C00 00345B60 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80348C04 00345B64 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348C08 00345B68 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348C0C 00345B6C EC 22 00 72 */ fmuls f1, f2, f1 +/* 80348C10 00345B70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348C14 00345B74 7C 00 00 26 */ mfcr r0 +/* 80348C18 00345B78 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80348C1C 00345B7C 48 00 00 08 */ b lbl_80348C24 +lbl_80348C20: +/* 80348C20 00345B80 38 60 00 00 */ li r3, 0 +lbl_80348C24: +/* 80348C24 00345B84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348C28 00345B88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348C2C 00345B8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348C30 00345B90 7C 08 03 A6 */ mtlr r0 +/* 80348C34 00345B94 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348C38 00345B98 4E 80 00 20 */ blr + +.global __lt__13CCharAnimTimeCFRC13CCharAnimTime +__lt__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348C3C 00345B9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348C40 00345BA0 7C 08 02 A6 */ mflr r0 +/* 80348C44 00345BA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348C48 00345BA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348C4C 00345BAC 7C 9F 23 78 */ mr r31, r4 +/* 80348C50 00345BB0 93 C1 00 08 */ stw r30, 8(r1) +/* 80348C54 00345BB4 7C 7E 1B 78 */ mr r30, r3 +/* 80348C58 00345BB8 80 03 00 04 */ lwz r0, 4(r3) +/* 80348C5C 00345BBC 2C 00 00 00 */ cmpwi r0, 0 +/* 80348C60 00345BC0 40 82 00 68 */ bne lbl_80348CC8 +/* 80348C64 00345BC4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348C68 00345BC8 2C 00 00 00 */ cmpwi r0, 0 +/* 80348C6C 00345BCC 40 82 00 1C */ bne lbl_80348C88 +/* 80348C70 00345BD0 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348C74 00345BD4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348C78 00345BD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348C7C 00345BDC 7C 00 00 26 */ mfcr r0 +/* 80348C80 00345BE0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348C84 00345BE4 48 00 01 50 */ b lbl_80348DD4 +lbl_80348C88: +/* 80348C88 00345BE8 7F E3 FB 78 */ mr r3, r31 +/* 80348C8C 00345BEC 4B FF F7 25 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348C90 00345BF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348C94 00345BF4 41 82 00 1C */ beq lbl_80348CB0 +/* 80348C98 00345BF8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348C9C 00345BFC C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348CA0 00345C00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348CA4 00345C04 7C 00 00 26 */ mfcr r0 +/* 80348CA8 00345C08 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348CAC 00345C0C 48 00 01 28 */ b lbl_80348DD4 +lbl_80348CB0: +/* 80348CB0 00345C10 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348CB4 00345C14 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348CB8 00345C18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348CBC 00345C1C 7C 00 00 26 */ mfcr r0 +/* 80348CC0 00345C20 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80348CC4 00345C24 48 00 01 10 */ b lbl_80348DD4 +lbl_80348CC8: +/* 80348CC8 00345C28 4B FF F6 E9 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348CCC 00345C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348CD0 00345C30 41 82 00 B8 */ beq lbl_80348D88 +/* 80348CD4 00345C34 7F E3 FB 78 */ mr r3, r31 +/* 80348CD8 00345C38 4B FF F6 D9 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348CDC 00345C3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348CE0 00345C40 41 82 00 6C */ beq lbl_80348D4C +/* 80348CE4 00345C44 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348CE8 00345C48 2C 00 00 03 */ cmpwi r0, 3 +/* 80348CEC 00345C4C 40 82 00 0C */ bne lbl_80348CF8 +/* 80348CF0 00345C50 38 00 FF FF */ li r0, -1 +/* 80348CF4 00345C54 48 00 00 18 */ b lbl_80348D0C +lbl_80348CF8: +/* 80348CF8 00345C58 2C 00 00 02 */ cmpwi r0, 2 +/* 80348CFC 00345C5C 40 82 00 0C */ bne lbl_80348D08 +/* 80348D00 00345C60 38 00 00 00 */ li r0, 0 +/* 80348D04 00345C64 48 00 00 08 */ b lbl_80348D0C +lbl_80348D08: +/* 80348D08 00345C68 38 00 00 01 */ li r0, 1 +lbl_80348D0C: +/* 80348D0C 00345C6C 80 7F 00 04 */ lwz r3, 4(r31) +/* 80348D10 00345C70 2C 03 00 03 */ cmpwi r3, 3 +/* 80348D14 00345C74 40 82 00 0C */ bne lbl_80348D20 +/* 80348D18 00345C78 38 80 FF FF */ li r4, -1 +/* 80348D1C 00345C7C 48 00 00 18 */ b lbl_80348D34 +lbl_80348D20: +/* 80348D20 00345C80 2C 03 00 02 */ cmpwi r3, 2 +/* 80348D24 00345C84 40 82 00 0C */ bne lbl_80348D30 +/* 80348D28 00345C88 38 80 00 00 */ li r4, 0 +/* 80348D2C 00345C8C 48 00 00 08 */ b lbl_80348D34 +lbl_80348D30: +/* 80348D30 00345C90 38 80 00 01 */ li r4, 1 +lbl_80348D34: +/* 80348D34 00345C94 7C 80 02 78 */ xor r0, r4, r0 +/* 80348D38 00345C98 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80348D3C 00345C9C 7C 00 20 38 */ and r0, r0, r4 +/* 80348D40 00345CA0 7C 00 18 50 */ subf r0, r0, r3 +/* 80348D44 00345CA4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348D48 00345CA8 48 00 00 8C */ b lbl_80348DD4 +lbl_80348D4C: +/* 80348D4C 00345CAC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348D50 00345CB0 2C 00 00 00 */ cmpwi r0, 0 +/* 80348D54 00345CB4 40 82 00 1C */ bne lbl_80348D70 +/* 80348D58 00345CB8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348D5C 00345CBC C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348D60 00345CC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348D64 00345CC4 7C 00 00 26 */ mfcr r0 +/* 80348D68 00345CC8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348D6C 00345CCC 48 00 00 68 */ b lbl_80348DD4 +lbl_80348D70: +/* 80348D70 00345CD0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348D74 00345CD4 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348D78 00345CD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348D7C 00345CDC 7C 00 00 26 */ mfcr r0 +/* 80348D80 00345CE0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80348D84 00345CE4 48 00 00 50 */ b lbl_80348DD4 +lbl_80348D88: +/* 80348D88 00345CE8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348D8C 00345CEC 2C 00 00 04 */ cmpwi r0, 4 +/* 80348D90 00345CF0 40 82 00 30 */ bne lbl_80348DC0 +/* 80348D94 00345CF4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348D98 00345CF8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348D9C 00345CFC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80348DA0 00345D00 40 80 00 18 */ bge lbl_80348DB8 +/* 80348DA4 00345D04 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348DA8 00345D08 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80348DAC 00345D0C 40 81 00 0C */ ble lbl_80348DB8 +/* 80348DB0 00345D10 38 60 00 01 */ li r3, 1 +/* 80348DB4 00345D14 48 00 00 20 */ b lbl_80348DD4 +lbl_80348DB8: +/* 80348DB8 00345D18 38 60 00 00 */ li r3, 0 +/* 80348DBC 00345D1C 48 00 00 18 */ b lbl_80348DD4 +lbl_80348DC0: +/* 80348DC0 00345D20 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348DC4 00345D24 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348DC8 00345D28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348DCC 00345D2C 7C 00 00 26 */ mfcr r0 +/* 80348DD0 00345D30 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_80348DD4: +/* 80348DD4 00345D34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348DD8 00345D38 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348DDC 00345D3C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348DE0 00345D40 7C 08 03 A6 */ mtlr r0 +/* 80348DE4 00345D44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348DE8 00345D48 4E 80 00 20 */ blr + +.global __ct__13CCharAnimTimeFf +__ct__13CCharAnimTimeFf: +/* 80348DEC 00345D4C C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348DF0 00345D50 D0 23 00 00 */ stfs f1, 0(r3) +/* 80348DF4 00345D54 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80348DF8 00345D58 40 82 00 10 */ bne lbl_80348E08 +/* 80348DFC 00345D5C 38 00 00 02 */ li r0, 2 +/* 80348E00 00345D60 90 03 00 04 */ stw r0, 4(r3) +/* 80348E04 00345D64 4E 80 00 20 */ blr +lbl_80348E08: +/* 80348E08 00345D68 38 00 00 00 */ li r0, 0 +/* 80348E0C 00345D6C 90 03 00 04 */ stw r0, 4(r3) +/* 80348E10 00345D70 4E 80 00 20 */ blr + +.global __ct__13CCharAnimTimeFR12CInputStream +__ct__13CCharAnimTimeFR12CInputStream: +/* 80348E14 00345D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348E18 00345D78 7C 08 02 A6 */ mflr r0 +/* 80348E1C 00345D7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348E20 00345D80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348E24 00345D84 7C 9F 23 78 */ mr r31, r4 +/* 80348E28 00345D88 93 C1 00 08 */ stw r30, 8(r1) +/* 80348E2C 00345D8C 7C 7E 1B 78 */ mr r30, r3 +/* 80348E30 00345D90 7F E3 FB 78 */ mr r3, r31 +/* 80348E34 00345D94 4B FF 5D F5 */ bl ReadFloat__12CInputStreamFv +/* 80348E38 00345D98 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80348E3C 00345D9C 7F E3 FB 78 */ mr r3, r31 +/* 80348E40 00345DA0 4B FF 5E 45 */ bl ReadLong__12CInputStreamFv +/* 80348E44 00345DA4 90 7E 00 04 */ stw r3, 4(r30) +/* 80348E48 00345DA8 7F C3 F3 78 */ mr r3, r30 +/* 80348E4C 00345DAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348E50 00345DB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348E54 00345DB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348E58 00345DB8 7C 08 03 A6 */ mtlr r0 +/* 80348E5C 00345DBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348E60 00345DC0 4E 80 00 20 */ blr + +.global __ct__10CSegIdListFR12CInputStream +__ct__10CSegIdListFR12CInputStream: +/* 80348E64 00345DC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348E68 00345DC8 7C 08 02 A6 */ mflr r0 +/* 80348E6C 00345DCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348E70 00345DD0 38 A1 00 08 */ addi r5, r1, 8 +/* 80348E74 00345DD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348E78 00345DD8 7C 7F 1B 78 */ mr r31, r3 +/* 80348E7C 00345DDC 4B FA F2 51 */ bl "__ct__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80348E80 00345DE0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80348E84 00345DE4 38 80 00 02 */ li r4, 2 +/* 80348E88 00345DE8 4B FA ED 31 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 80348E8C 00345DEC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348E90 00345DF0 7F E3 FB 78 */ mr r3, r31 +/* 80348E94 00345DF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348E98 00345DF8 7C 08 03 A6 */ mtlr r0 +/* 80348E9C 00345DFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348EA0 00345E00 4E 80 00 20 */ blr + +.global ScaleAnalogueSticks__11CFinalInputCFff +ScaleAnalogueSticks__11CFinalInputCFff: +/* 80348EA4 00345E04 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80348EA8 00345E08 7C 08 02 A6 */ mflr r0 +/* 80348EAC 00345E0C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80348EB0 00345E10 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80348EB4 00345E14 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80348EB8 00345E18 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80348EBC 00345E1C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80348EC0 00345E20 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 80348EC4 00345E24 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80348EC8 00345E28 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 80348ECC 00345E2C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 80348ED0 00345E30 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 80348ED4 00345E34 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 80348ED8 00345E38 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 80348EDC 00345E3C F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 80348EE0 00345E40 DB 21 00 60 */ stfd f25, 0x60(r1) +/* 80348EE4 00345E44 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 80348EE8 00345E48 DB 01 00 50 */ stfd f24, 0x50(r1) +/* 80348EEC 00345E4C F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 +/* 80348EF0 00345E50 DA E1 00 40 */ stfd f23, 0x40(r1) +/* 80348EF4 00345E54 F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0 +/* 80348EF8 00345E58 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 80348EFC 00345E5C 7C 97 23 78 */ mr r23, r4 +/* 80348F00 00345E60 FF 80 08 90 */ fmr f28, f1 +/* 80348F04 00345E64 C0 04 00 08 */ lfs f0, 8(r4) +/* 80348F08 00345E68 7C 76 1B 78 */ mr r22, r3 +/* 80348F0C 00345E6C FE E0 10 90 */ fmr f23, f2 +/* 80348F10 00345E70 C3 E4 00 00 */ lfs f31, 0(r4) +/* 80348F14 00345E74 EC 00 E0 24 */ fdivs f0, f0, f28 +/* 80348F18 00345E78 83 E4 00 04 */ lwz r31, 4(r4) +/* 80348F1C 00345E7C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80348F20 00345E80 C3 77 00 18 */ lfs f27, 0x18(r23) +/* 80348F24 00345E84 C3 57 00 1C */ lfs f26, 0x1c(r23) +/* 80348F28 00345E88 38 6D 9D B8 */ addi r3, r13, lbl_805A8978@sda21 +/* 80348F2C 00345E8C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80348F30 00345E90 38 AD 9D BC */ addi r5, r13, lbl_805A897C@sda21 +/* 80348F34 00345E94 8B D7 00 20 */ lbz r30, 0x20(r23) +/* 80348F38 00345E98 8B B7 00 21 */ lbz r29, 0x21(r23) +/* 80348F3C 00345E9C 8B 97 00 22 */ lbz r28, 0x22(r23) +/* 80348F40 00345EA0 8B 77 00 23 */ lbz r27, 0x23(r23) +/* 80348F44 00345EA4 C3 37 00 24 */ lfs f25, 0x24(r23) +/* 80348F48 00345EA8 C3 17 00 28 */ lfs f24, 0x28(r23) +/* 80348F4C 00345EAC 8B 57 00 2C */ lbz r26, 0x2c(r23) +/* 80348F50 00345EB0 8B 37 00 2D */ lbz r25, 0x2d(r23) +/* 80348F54 00345EB4 8B 17 00 2E */ lbz r24, 0x2e(r23) +/* 80348F58 00345EB8 4B CC 33 5D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348F5C 00345EBC C0 17 00 0C */ lfs f0, 0xc(r23) +/* 80348F60 00345EC0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80348F64 00345EC4 C3 C3 00 00 */ lfs f30, 0(r3) +/* 80348F68 00345EC8 38 6D 9D C0 */ addi r3, r13, lbl_805A8980@sda21 +/* 80348F6C 00345ECC EC 00 E0 24 */ fdivs f0, f0, f28 +/* 80348F70 00345ED0 38 AD 9D C4 */ addi r5, r13, lbl_805A8984@sda21 +/* 80348F74 00345ED4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80348F78 00345ED8 4B CC 33 3D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348F7C 00345EDC C0 17 00 10 */ lfs f0, 0x10(r23) +/* 80348F80 00345EE0 38 81 00 0C */ addi r4, r1, 0xc +/* 80348F84 00345EE4 C3 A3 00 00 */ lfs f29, 0(r3) +/* 80348F88 00345EE8 38 6D 9D C8 */ addi r3, r13, lbl_805A8988@sda21 +/* 80348F8C 00345EEC EC 00 B8 24 */ fdivs f0, f0, f23 +/* 80348F90 00345EF0 38 AD 9D CC */ addi r5, r13, lbl_805A898C@sda21 +/* 80348F94 00345EF4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80348F98 00345EF8 4B CC 33 1D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348F9C 00345EFC C0 17 00 14 */ lfs f0, 0x14(r23) +/* 80348FA0 00345F00 38 81 00 08 */ addi r4, r1, 8 +/* 80348FA4 00345F04 C3 83 00 00 */ lfs f28, 0(r3) +/* 80348FA8 00345F08 38 6D 9D D0 */ addi r3, r13, lbl_805A8990@sda21 +/* 80348FAC 00345F0C EC 00 B8 24 */ fdivs f0, f0, f23 +/* 80348FB0 00345F10 38 AD 9D D4 */ addi r5, r13, lbl_805A8994@sda21 +/* 80348FB4 00345F14 D0 01 00 08 */ stfs f0, 8(r1) +/* 80348FB8 00345F18 4B CC 32 FD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348FBC 00345F1C C0 03 00 00 */ lfs f0, 0(r3) +/* 80348FC0 00345F20 D3 F6 00 00 */ stfs f31, 0(r22) +/* 80348FC4 00345F24 93 F6 00 04 */ stw r31, 4(r22) +/* 80348FC8 00345F28 D3 D6 00 08 */ stfs f30, 8(r22) +/* 80348FCC 00345F2C D3 B6 00 0C */ stfs f29, 0xc(r22) +/* 80348FD0 00345F30 D3 96 00 10 */ stfs f28, 0x10(r22) +/* 80348FD4 00345F34 D0 16 00 14 */ stfs f0, 0x14(r22) +/* 80348FD8 00345F38 D3 76 00 18 */ stfs f27, 0x18(r22) +/* 80348FDC 00345F3C D3 56 00 1C */ stfs f26, 0x1c(r22) +/* 80348FE0 00345F40 9B D6 00 20 */ stb r30, 0x20(r22) +/* 80348FE4 00345F44 9B B6 00 21 */ stb r29, 0x21(r22) +/* 80348FE8 00345F48 9B 96 00 22 */ stb r28, 0x22(r22) +/* 80348FEC 00345F4C 9B 76 00 23 */ stb r27, 0x23(r22) +/* 80348FF0 00345F50 D3 36 00 24 */ stfs f25, 0x24(r22) +/* 80348FF4 00345F54 D3 16 00 28 */ stfs f24, 0x28(r22) +/* 80348FF8 00345F58 9B 56 00 2C */ stb r26, 0x2c(r22) +/* 80348FFC 00345F5C 9B 36 00 2D */ stb r25, 0x2d(r22) +/* 80349000 00345F60 9B 16 00 2E */ stb r24, 0x2e(r22) +/* 80349004 00345F64 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80349008 00345F68 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8034900C 00345F6C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80349010 00345F70 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80349014 00345F74 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 80349018 00345F78 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8034901C 00345F7C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 80349020 00345F80 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 80349024 00345F84 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 80349028 00345F88 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8034902C 00345F8C E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 80349030 00345F90 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 80349034 00345F94 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 80349038 00345F98 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8034903C 00345F9C E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 +/* 80349040 00345FA0 CB 01 00 50 */ lfd f24, 0x50(r1) +/* 80349044 00345FA4 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0 +/* 80349048 00345FA8 CA E1 00 40 */ lfd f23, 0x40(r1) +/* 8034904C 00345FAC BA C1 00 18 */ lmw r22, 0x18(r1) +/* 80349050 00345FB0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80349054 00345FB4 7C 08 03 A6 */ mtlr r0 +/* 80349058 00345FB8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8034905C 00345FBC 4E 80 00 20 */ blr + +.global __ct__11CFinalInputFifRC10COsContext +__ct__11CFinalInputFifRC10COsContext: +/* 80349060 00345FC0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80349064 00345FC4 7C 08 02 A6 */ mflr r0 +/* 80349068 00345FC8 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2) +/* 8034906C 00345FCC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80349070 00345FD0 38 00 00 00 */ li r0, 0 +/* 80349074 00345FD4 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 80349078 00345FD8 7C BF 2B 78 */ mr r31, r5 +/* 8034907C 00345FDC 38 A0 00 6D */ li r5, 0x6d +/* 80349080 00345FE0 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 80349084 00345FE4 7C 7E 1B 78 */ mr r30, r3 +/* 80349088 00345FE8 D0 23 00 00 */ stfs f1, 0(r3) +/* 8034908C 00345FEC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80349090 00345FF0 90 9E 00 04 */ stw r4, 4(r30) +/* 80349094 00345FF4 7F E4 FB 78 */ mr r4, r31 +/* 80349098 00345FF8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8034909C 00345FFC D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 803490A0 00346000 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 803490A4 00346004 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 803490A8 00346008 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803490AC 0034600C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 803490B0 00346010 98 1E 00 22 */ stb r0, 0x22(r30) +/* 803490B4 00346014 98 1E 00 23 */ stb r0, 0x23(r30) +/* 803490B8 00346018 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803490BC 0034601C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803490C0 00346020 4B F8 D5 41 */ bl GetOsKeyState__10COsContextCFi +/* 803490C4 00346024 88 A1 00 C4 */ lbz r5, 0xc4(r1) +/* 803490C8 00346028 7F E4 FB 78 */ mr r4, r31 +/* 803490CC 0034602C 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 803490D0 00346030 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 803490D4 00346034 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803490D8 00346038 38 A0 00 6E */ li r5, 0x6e +/* 803490DC 0034603C 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803490E0 00346040 7C C7 07 74 */ extsb r7, r6 +/* 803490E4 00346044 7C C7 00 D0 */ neg r6, r7 +/* 803490E8 00346048 7C C6 3B 78 */ or r6, r6, r7 +/* 803490EC 0034604C 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18 +/* 803490F0 00346050 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 803490F4 00346054 4B F8 D5 0D */ bl GetOsKeyState__10COsContextCFi +/* 803490F8 00346058 88 A1 00 BC */ lbz r5, 0xbc(r1) +/* 803490FC 0034605C 7F E4 FB 78 */ mr r4, r31 +/* 80349100 00346060 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80349104 00346064 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80349108 00346068 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 8034910C 0034606C 38 A0 00 84 */ li r5, 0x84 +/* 80349110 00346070 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349114 00346074 7C C7 07 74 */ extsb r7, r6 +/* 80349118 00346078 7C C7 00 D0 */ neg r6, r7 +/* 8034911C 0034607C 7C C6 3B 78 */ or r6, r6, r7 +/* 80349120 00346080 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19 +/* 80349124 00346084 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 80349128 00346088 4B F8 D4 D9 */ bl GetOsKeyState__10COsContextCFi +/* 8034912C 0034608C 88 A1 00 B4 */ lbz r5, 0xb4(r1) +/* 80349130 00346090 7F E4 FB 78 */ mr r4, r31 +/* 80349134 00346094 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80349138 00346098 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8034913C 0034609C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349140 003460A0 38 A0 00 85 */ li r5, 0x85 +/* 80349144 003460A4 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349148 003460A8 7C C7 07 74 */ extsb r7, r6 +/* 8034914C 003460AC 7C C7 00 D0 */ neg r6, r7 +/* 80349150 003460B0 7C C6 3B 78 */ or r6, r6, r7 +/* 80349154 003460B4 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a +/* 80349158 003460B8 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 8034915C 003460BC 4B F8 D4 A5 */ bl GetOsKeyState__10COsContextCFi +/* 80349160 003460C0 88 A1 00 AC */ lbz r5, 0xac(r1) +/* 80349164 003460C4 7F E4 FB 78 */ mr r4, r31 +/* 80349168 003460C8 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8034916C 003460CC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80349170 003460D0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349174 003460D4 38 A0 00 16 */ li r5, 0x16 +/* 80349178 003460D8 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 8034917C 003460DC 7C C7 07 74 */ extsb r7, r6 +/* 80349180 003460E0 7C C7 00 D0 */ neg r6, r7 +/* 80349184 003460E4 7C C6 3B 78 */ or r6, r6, r7 +/* 80349188 003460E8 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b +/* 8034918C 003460EC 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 80349190 003460F0 4B F8 D4 71 */ bl GetOsKeyState__10COsContextCFi +/* 80349194 003460F4 88 A1 00 A4 */ lbz r5, 0xa4(r1) +/* 80349198 003460F8 7F E4 FB 78 */ mr r4, r31 +/* 8034919C 003460FC 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 803491A0 00346100 38 61 00 98 */ addi r3, r1, 0x98 +/* 803491A4 00346104 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803491A8 00346108 38 A0 00 78 */ li r5, 0x78 +/* 803491AC 0034610C 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803491B0 00346110 7C C7 07 74 */ extsb r7, r6 +/* 803491B4 00346114 7C C7 00 D0 */ neg r6, r7 +/* 803491B8 00346118 7C C6 3B 78 */ or r6, r6, r7 +/* 803491BC 0034611C 50 C0 27 38 */ rlwimi r0, r6, 4, 0x1c, 0x1c +/* 803491C0 00346120 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 803491C4 00346124 4B F8 D4 3D */ bl GetOsKeyState__10COsContextCFi +/* 803491C8 00346128 88 A1 00 9C */ lbz r5, 0x9c(r1) +/* 803491CC 0034612C 7F E4 FB 78 */ mr r4, r31 +/* 803491D0 00346130 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 803491D4 00346134 38 61 00 90 */ addi r3, r1, 0x90 +/* 803491D8 00346138 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803491DC 0034613C 38 A0 00 7E */ li r5, 0x7e +/* 803491E0 00346140 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803491E4 00346144 7C C7 07 74 */ extsb r7, r6 +/* 803491E8 00346148 7C C7 00 D0 */ neg r6, r7 +/* 803491EC 0034614C 7C C6 3B 78 */ or r6, r6, r7 +/* 803491F0 00346150 50 C0 1F 7A */ rlwimi r0, r6, 3, 0x1d, 0x1d +/* 803491F4 00346154 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 803491F8 00346158 4B F8 D4 09 */ bl GetOsKeyState__10COsContextCFi +/* 803491FC 0034615C 88 A1 00 94 */ lbz r5, 0x94(r1) +/* 80349200 00346160 7F E4 FB 78 */ mr r4, r31 +/* 80349204 00346164 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80349208 00346168 38 61 00 88 */ addi r3, r1, 0x88 +/* 8034920C 0034616C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349210 00346170 38 A0 00 1C */ li r5, 0x1c +/* 80349214 00346174 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349218 00346178 7C C7 07 74 */ extsb r7, r6 +/* 8034921C 0034617C 7C C7 00 D0 */ neg r6, r7 +/* 80349220 00346180 7C C6 3B 78 */ or r6, r6, r7 +/* 80349224 00346184 50 C0 17 BC */ rlwimi r0, r6, 2, 0x1e, 0x1e +/* 80349228 00346188 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 8034922C 0034618C 4B F8 D3 D5 */ bl GetOsKeyState__10COsContextCFi +/* 80349230 00346190 88 A1 00 8C */ lbz r5, 0x8c(r1) +/* 80349234 00346194 7F E4 FB 78 */ mr r4, r31 +/* 80349238 00346198 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8034923C 0034619C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80349240 003461A0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349244 003461A4 38 A0 00 1D */ li r5, 0x1d +/* 80349248 003461A8 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 8034924C 003461AC 7C C7 07 74 */ extsb r7, r6 +/* 80349250 003461B0 7C C7 00 D0 */ neg r6, r7 +/* 80349254 003461B4 7C C6 3B 78 */ or r6, r6, r7 +/* 80349258 003461B8 50 C0 0F FE */ rlwimi r0, r6, 1, 0x1f, 0x1f +/* 8034925C 003461BC 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 80349260 003461C0 4B F8 D3 A1 */ bl GetOsKeyState__10COsContextCFi +/* 80349264 003461C4 88 A1 00 84 */ lbz r5, 0x84(r1) +/* 80349268 003461C8 7F E4 FB 78 */ mr r4, r31 +/* 8034926C 003461CC 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 80349270 003461D0 38 61 00 78 */ addi r3, r1, 0x78 +/* 80349274 003461D4 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349278 003461D8 38 A0 00 1E */ li r5, 0x1e +/* 8034927C 003461DC 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349280 003461E0 7C C7 07 74 */ extsb r7, r6 +/* 80349284 003461E4 7C C7 00 D0 */ neg r6, r7 +/* 80349288 003461E8 7C C6 3B 78 */ or r6, r6, r7 +/* 8034928C 003461EC 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18 +/* 80349290 003461F0 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349294 003461F4 4B F8 D3 6D */ bl GetOsKeyState__10COsContextCFi +/* 80349298 003461F8 88 A1 00 7C */ lbz r5, 0x7c(r1) +/* 8034929C 003461FC 7F E4 FB 78 */ mr r4, r31 +/* 803492A0 00346200 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803492A4 00346204 38 61 00 70 */ addi r3, r1, 0x70 +/* 803492A8 00346208 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803492AC 0034620C 38 A0 00 1B */ li r5, 0x1b +/* 803492B0 00346210 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803492B4 00346214 7C C7 07 74 */ extsb r7, r6 +/* 803492B8 00346218 7C C7 00 D0 */ neg r6, r7 +/* 803492BC 0034621C 7C C6 3B 78 */ or r6, r6, r7 +/* 803492C0 00346220 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19 +/* 803492C4 00346224 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 803492C8 00346228 4B F8 D3 39 */ bl GetOsKeyState__10COsContextCFi +/* 803492CC 0034622C 88 A1 00 74 */ lbz r5, 0x74(r1) +/* 803492D0 00346230 7F E4 FB 78 */ mr r4, r31 +/* 803492D4 00346234 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803492D8 00346238 38 61 00 68 */ addi r3, r1, 0x68 +/* 803492DC 0034623C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803492E0 00346240 38 A0 00 05 */ li r5, 5 +/* 803492E4 00346244 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803492E8 00346248 7C C7 07 74 */ extsb r7, r6 +/* 803492EC 0034624C 7C C7 00 D0 */ neg r6, r7 +/* 803492F0 00346250 7C C6 3B 78 */ or r6, r6, r7 +/* 803492F4 00346254 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a +/* 803492F8 00346258 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 803492FC 0034625C 4B F8 D3 05 */ bl GetOsKeyState__10COsContextCFi +/* 80349300 00346260 88 A1 00 6C */ lbz r5, 0x6c(r1) +/* 80349304 00346264 7F E4 FB 78 */ mr r4, r31 +/* 80349308 00346268 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 8034930C 0034626C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80349310 00346270 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349314 00346274 38 A0 00 6D */ li r5, 0x6d +/* 80349318 00346278 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 8034931C 0034627C 7C C7 07 74 */ extsb r7, r6 +/* 80349320 00346280 7C C7 00 D0 */ neg r6, r7 +/* 80349324 00346284 7C C6 3B 78 */ or r6, r6, r7 +/* 80349328 00346288 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b +/* 8034932C 0034628C 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349330 00346290 4B F8 D2 D1 */ bl GetOsKeyState__10COsContextCFi +/* 80349334 00346294 88 61 00 64 */ lbz r3, 0x64(r1) +/* 80349338 00346298 38 80 00 00 */ li r4, 0 +/* 8034933C 0034629C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349340 003462A0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349344 003462A4 7C 00 07 75 */ extsb. r0, r0 +/* 80349348 003462A8 41 82 00 18 */ beq lbl_80349360 +/* 8034934C 003462AC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349350 003462B0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349354 003462B4 7C 00 07 75 */ extsb. r0, r0 +/* 80349358 003462B8 41 82 00 08 */ beq lbl_80349360 +/* 8034935C 003462BC 38 80 00 01 */ li r4, 1 +lbl_80349360: +/* 80349360 003462C0 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 80349364 003462C4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349368 003462C8 7F E4 FB 78 */ mr r4, r31 +/* 8034936C 003462CC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80349370 003462D0 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349374 003462D4 38 A0 00 6E */ li r5, 0x6e +/* 80349378 003462D8 4B F8 D2 89 */ bl GetOsKeyState__10COsContextCFi +/* 8034937C 003462DC 88 61 00 5C */ lbz r3, 0x5c(r1) +/* 80349380 003462E0 38 80 00 00 */ li r4, 0 +/* 80349384 003462E4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349388 003462E8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034938C 003462EC 7C 00 07 75 */ extsb. r0, r0 +/* 80349390 003462F0 41 82 00 18 */ beq lbl_803493A8 +/* 80349394 003462F4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349398 003462F8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034939C 003462FC 7C 00 07 75 */ extsb. r0, r0 +/* 803493A0 00346300 41 82 00 08 */ beq lbl_803493A8 +/* 803493A4 00346304 38 80 00 01 */ li r4, 1 +lbl_803493A8: +/* 803493A8 00346308 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803493AC 0034630C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 803493B0 00346310 7F E4 FB 78 */ mr r4, r31 +/* 803493B4 00346314 38 61 00 50 */ addi r3, r1, 0x50 +/* 803493B8 00346318 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 803493BC 0034631C 38 A0 00 84 */ li r5, 0x84 +/* 803493C0 00346320 4B F8 D2 41 */ bl GetOsKeyState__10COsContextCFi +/* 803493C4 00346324 88 61 00 54 */ lbz r3, 0x54(r1) +/* 803493C8 00346328 38 80 00 00 */ li r4, 0 +/* 803493CC 0034632C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803493D0 00346330 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803493D4 00346334 7C 00 07 75 */ extsb. r0, r0 +/* 803493D8 00346338 41 82 00 18 */ beq lbl_803493F0 +/* 803493DC 0034633C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 803493E0 00346340 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803493E4 00346344 7C 00 07 75 */ extsb. r0, r0 +/* 803493E8 00346348 41 82 00 08 */ beq lbl_803493F0 +/* 803493EC 0034634C 38 80 00 01 */ li r4, 1 +lbl_803493F0: +/* 803493F0 00346350 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803493F4 00346354 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 803493F8 00346358 7F E4 FB 78 */ mr r4, r31 +/* 803493FC 0034635C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80349400 00346360 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349404 00346364 38 A0 00 85 */ li r5, 0x85 +/* 80349408 00346368 4B F8 D1 F9 */ bl GetOsKeyState__10COsContextCFi +/* 8034940C 0034636C 88 61 00 4C */ lbz r3, 0x4c(r1) +/* 80349410 00346370 38 80 00 00 */ li r4, 0 +/* 80349414 00346374 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349418 00346378 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034941C 0034637C 7C 00 07 75 */ extsb. r0, r0 +/* 80349420 00346380 41 82 00 18 */ beq lbl_80349438 +/* 80349424 00346384 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349428 00346388 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034942C 0034638C 7C 00 07 75 */ extsb. r0, r0 +/* 80349430 00346390 41 82 00 08 */ beq lbl_80349438 +/* 80349434 00346394 38 80 00 01 */ li r4, 1 +lbl_80349438: +/* 80349438 00346398 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 8034943C 0034639C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349440 003463A0 7F E4 FB 78 */ mr r4, r31 +/* 80349444 003463A4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80349448 003463A8 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 8034944C 003463AC 38 A0 00 16 */ li r5, 0x16 +/* 80349450 003463B0 4B F8 D1 B1 */ bl GetOsKeyState__10COsContextCFi +/* 80349454 003463B4 88 61 00 44 */ lbz r3, 0x44(r1) +/* 80349458 003463B8 38 80 00 00 */ li r4, 0 +/* 8034945C 003463BC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349460 003463C0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349464 003463C4 7C 00 07 75 */ extsb. r0, r0 +/* 80349468 003463C8 41 82 00 18 */ beq lbl_80349480 +/* 8034946C 003463CC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349470 003463D0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349474 003463D4 7C 00 07 75 */ extsb. r0, r0 +/* 80349478 003463D8 41 82 00 08 */ beq lbl_80349480 +/* 8034947C 003463DC 38 80 00 01 */ li r4, 1 +lbl_80349480: +/* 80349480 003463E0 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 80349484 003463E4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349488 003463E8 7F E4 FB 78 */ mr r4, r31 +/* 8034948C 003463EC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80349490 003463F0 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349494 003463F4 38 A0 00 78 */ li r5, 0x78 +/* 80349498 003463F8 4B F8 D1 69 */ bl GetOsKeyState__10COsContextCFi +/* 8034949C 003463FC 88 61 00 3C */ lbz r3, 0x3c(r1) +/* 803494A0 00346400 38 80 00 00 */ li r4, 0 +/* 803494A4 00346404 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803494A8 00346408 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803494AC 0034640C 7C 00 07 75 */ extsb. r0, r0 +/* 803494B0 00346410 41 82 00 18 */ beq lbl_803494C8 +/* 803494B4 00346414 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 803494B8 00346418 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803494BC 0034641C 7C 00 07 75 */ extsb. r0, r0 +/* 803494C0 00346420 41 82 00 08 */ beq lbl_803494C8 +/* 803494C4 00346424 38 80 00 01 */ li r4, 1 +lbl_803494C8: +/* 803494C8 00346428 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 803494CC 0034642C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803494D0 00346430 7F E4 FB 78 */ mr r4, r31 +/* 803494D4 00346434 38 61 00 30 */ addi r3, r1, 0x30 +/* 803494D8 00346438 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 803494DC 0034643C 38 A0 00 7E */ li r5, 0x7e +/* 803494E0 00346440 4B F8 D1 21 */ bl GetOsKeyState__10COsContextCFi +/* 803494E4 00346444 88 61 00 34 */ lbz r3, 0x34(r1) +/* 803494E8 00346448 38 80 00 00 */ li r4, 0 +/* 803494EC 0034644C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803494F0 00346450 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803494F4 00346454 7C 00 07 75 */ extsb. r0, r0 +/* 803494F8 00346458 41 82 00 18 */ beq lbl_80349510 +/* 803494FC 0034645C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349500 00346460 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349504 00346464 7C 00 07 75 */ extsb. r0, r0 +/* 80349508 00346468 41 82 00 08 */ beq lbl_80349510 +/* 8034950C 0034646C 38 80 00 01 */ li r4, 1 +lbl_80349510: +/* 80349510 00346470 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 80349514 00346474 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349518 00346478 7F E4 FB 78 */ mr r4, r31 +/* 8034951C 0034647C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80349520 00346480 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349524 00346484 38 A0 00 1C */ li r5, 0x1c +/* 80349528 00346488 4B F8 D0 D9 */ bl GetOsKeyState__10COsContextCFi +/* 8034952C 0034648C 88 61 00 2C */ lbz r3, 0x2c(r1) +/* 80349530 00346490 38 80 00 00 */ li r4, 0 +/* 80349534 00346494 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349538 00346498 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034953C 0034649C 7C 00 07 75 */ extsb. r0, r0 +/* 80349540 003464A0 41 82 00 18 */ beq lbl_80349558 +/* 80349544 003464A4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349548 003464A8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034954C 003464AC 7C 00 07 75 */ extsb. r0, r0 +/* 80349550 003464B0 41 82 00 08 */ beq lbl_80349558 +/* 80349554 003464B4 38 80 00 01 */ li r4, 1 +lbl_80349558: +/* 80349558 003464B8 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 8034955C 003464BC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349560 003464C0 7F E4 FB 78 */ mr r4, r31 +/* 80349564 003464C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80349568 003464C8 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 8034956C 003464CC 38 A0 00 1D */ li r5, 0x1d +/* 80349570 003464D0 4B F8 D0 91 */ bl GetOsKeyState__10COsContextCFi +/* 80349574 003464D4 88 61 00 24 */ lbz r3, 0x24(r1) +/* 80349578 003464D8 38 80 00 00 */ li r4, 0 +/* 8034957C 003464DC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349580 003464E0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349584 003464E4 7C 00 07 75 */ extsb. r0, r0 +/* 80349588 003464E8 41 82 00 18 */ beq lbl_803495A0 +/* 8034958C 003464EC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349590 003464F0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349594 003464F4 7C 00 07 75 */ extsb. r0, r0 +/* 80349598 003464F8 41 82 00 08 */ beq lbl_803495A0 +/* 8034959C 003464FC 38 80 00 01 */ li r4, 1 +lbl_803495A0: +/* 803495A0 00346500 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 803495A4 00346504 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 803495A8 00346508 7F E4 FB 78 */ mr r4, r31 +/* 803495AC 0034650C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803495B0 00346510 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 803495B4 00346514 38 A0 00 1E */ li r5, 0x1e +/* 803495B8 00346518 4B F8 D0 49 */ bl GetOsKeyState__10COsContextCFi +/* 803495BC 0034651C 88 61 00 1C */ lbz r3, 0x1c(r1) +/* 803495C0 00346520 38 80 00 00 */ li r4, 0 +/* 803495C4 00346524 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803495C8 00346528 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803495CC 0034652C 7C 00 07 75 */ extsb. r0, r0 +/* 803495D0 00346530 41 82 00 18 */ beq lbl_803495E8 +/* 803495D4 00346534 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 803495D8 00346538 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803495DC 0034653C 7C 00 07 75 */ extsb. r0, r0 +/* 803495E0 00346540 41 82 00 08 */ beq lbl_803495E8 +/* 803495E4 00346544 38 80 00 01 */ li r4, 1 +lbl_803495E8: +/* 803495E8 00346548 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 803495EC 0034654C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 803495F0 00346550 7F E4 FB 78 */ mr r4, r31 +/* 803495F4 00346554 38 61 00 10 */ addi r3, r1, 0x10 +/* 803495F8 00346558 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 803495FC 0034655C 38 A0 00 1B */ li r5, 0x1b +/* 80349600 00346560 4B F8 D0 01 */ bl GetOsKeyState__10COsContextCFi +/* 80349604 00346564 88 61 00 14 */ lbz r3, 0x14(r1) +/* 80349608 00346568 38 80 00 00 */ li r4, 0 +/* 8034960C 0034656C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349610 00346570 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349614 00346574 7C 00 07 75 */ extsb. r0, r0 +/* 80349618 00346578 41 82 00 18 */ beq lbl_80349630 +/* 8034961C 0034657C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349620 00346580 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349624 00346584 7C 00 07 75 */ extsb. r0, r0 +/* 80349628 00346588 41 82 00 08 */ beq lbl_80349630 +/* 8034962C 0034658C 38 80 00 01 */ li r4, 1 +lbl_80349630: +/* 80349630 00346590 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 80349634 00346594 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349638 00346598 7F E4 FB 78 */ mr r4, r31 +/* 8034963C 0034659C 38 61 00 08 */ addi r3, r1, 8 +/* 80349640 003465A0 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349644 003465A4 38 A0 00 05 */ li r5, 5 +/* 80349648 003465A8 4B F8 CF B9 */ bl GetOsKeyState__10COsContextCFi +/* 8034964C 003465AC 88 61 00 0C */ lbz r3, 0xc(r1) +/* 80349650 003465B0 38 80 00 00 */ li r4, 0 +/* 80349654 003465B4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349658 003465B8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034965C 003465BC 7C 00 07 75 */ extsb. r0, r0 +/* 80349660 003465C0 41 82 00 18 */ beq lbl_80349678 +/* 80349664 003465C4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349668 003465C8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034966C 003465CC 7C 00 07 75 */ extsb. r0, r0 +/* 80349670 003465D0 41 82 00 08 */ beq lbl_80349678 +/* 80349674 003465D4 38 80 00 01 */ li r4, 1 +lbl_80349678: +/* 80349678 003465D8 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 8034967C 003465DC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349680 003465E0 7F C3 F3 78 */ mr r3, r30 +/* 80349684 003465E4 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349688 003465E8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8034968C 003465EC 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 80349690 003465F0 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 80349694 003465F4 7C 08 03 A6 */ mtlr r0 +/* 80349698 003465F8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8034969C 003465FC 4E 80 00 20 */ blr + +.global InitializeAnalog__11CFinalInputFff +InitializeAnalog__11CFinalInputFff: +/* 803496A0 00346600 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803496A4 00346604 7C 08 02 A6 */ mflr r0 +/* 803496A8 00346608 90 01 00 44 */ stw r0, 0x44(r1) +/* 803496AC 0034660C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803496B0 00346610 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803496B4 00346614 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803496B8 00346618 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803496BC 0034661C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803496C0 00346620 7C 7F 1B 78 */ mr r31, r3 +/* 803496C4 00346624 FF C0 08 90 */ fmr f30, f1 +/* 803496C8 00346628 C0 03 00 08 */ lfs f0, 8(r3) +/* 803496CC 0034662C FF E0 10 90 */ fmr f31, f2 +/* 803496D0 00346630 38 81 00 14 */ addi r4, r1, 0x14 +/* 803496D4 00346634 38 6D 9D 98 */ addi r3, r13, lbl_805A8958@sda21 +/* 803496D8 00346638 EC 00 F0 24 */ fdivs f0, f0, f30 +/* 803496DC 0034663C 38 AD 9D 9C */ addi r5, r13, lbl_805A895C@sda21 +/* 803496E0 00346640 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803496E4 00346644 4B CC 2B D1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 803496E8 00346648 C0 03 00 00 */ lfs f0, 0(r3) +/* 803496EC 0034664C 38 81 00 10 */ addi r4, r1, 0x10 +/* 803496F0 00346650 38 6D 9D A0 */ addi r3, r13, lbl_805A8960@sda21 +/* 803496F4 00346654 38 AD 9D A4 */ addi r5, r13, lbl_805A8964@sda21 +/* 803496F8 00346658 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803496FC 0034665C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80349700 00346660 EC 00 F0 24 */ fdivs f0, f0, f30 +/* 80349704 00346664 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80349708 00346668 4B CC 2B AD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8034970C 0034666C C0 03 00 00 */ lfs f0, 0(r3) +/* 80349710 00346670 38 81 00 0C */ addi r4, r1, 0xc +/* 80349714 00346674 38 6D 9D A8 */ addi r3, r13, lbl_805A8968@sda21 +/* 80349718 00346678 38 AD 9D AC */ addi r5, r13, lbl_805A896C@sda21 +/* 8034971C 0034667C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80349720 00346680 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80349724 00346684 EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80349728 00346688 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8034972C 0034668C 4B CC 2B 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80349730 00346690 C0 03 00 00 */ lfs f0, 0(r3) +/* 80349734 00346694 38 81 00 08 */ addi r4, r1, 8 +/* 80349738 00346698 38 6D 9D B0 */ addi r3, r13, lbl_805A8970@sda21 +/* 8034973C 0034669C 38 AD 9D B4 */ addi r5, r13, lbl_805A8974@sda21 +/* 80349740 003466A0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80349744 003466A4 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80349748 003466A8 EC 00 F8 24 */ fdivs f0, f0, f31 +/* 8034974C 003466AC D0 01 00 08 */ stfs f0, 8(r1) +/* 80349750 003466B0 4B CC 2B 65 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80349754 003466B4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80349758 003466B8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 8034975C 003466BC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80349760 003466C0 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 80349764 003466C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349768 003466C8 40 81 00 30 */ ble lbl_80349798 +/* 8034976C 003466CC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349770 003466D0 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349774 003466D4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349778 003466D8 54 04 10 3A */ slwi r4, r0, 2 +/* 8034977C 003466DC 7C 03 20 AE */ lbzx r0, r3, r4 +/* 80349780 003466E0 28 00 00 00 */ cmplwi r0, 0 +/* 80349784 003466E4 40 82 00 14 */ bne lbl_80349798 +/* 80349788 003466E8 38 00 00 01 */ li r0, 1 +/* 8034978C 003466EC 7C 03 21 AE */ stbx r0, r3, r4 +/* 80349790 003466F0 98 1F 00 21 */ stb r0, 0x21(r31) +/* 80349794 003466F4 48 00 00 DC */ b lbl_80349870 +lbl_80349798: +/* 80349798 003466F8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 8034979C 003466FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803497A0 00346700 40 81 00 2C */ ble lbl_803497CC +/* 803497A4 00346704 80 1F 00 04 */ lwz r0, 4(r31) +/* 803497A8 00346708 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803497AC 0034670C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803497B0 00346710 54 00 10 3A */ slwi r0, r0, 2 +/* 803497B4 00346714 7C 03 00 AE */ lbzx r0, r3, r0 +/* 803497B8 00346718 28 00 00 00 */ cmplwi r0, 0 +/* 803497BC 0034671C 41 82 00 10 */ beq lbl_803497CC +/* 803497C0 00346720 38 00 00 00 */ li r0, 0 +/* 803497C4 00346724 98 1F 00 21 */ stb r0, 0x21(r31) +/* 803497C8 00346728 48 00 00 A8 */ b lbl_80349870 +lbl_803497CC: +/* 803497CC 0034672C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 803497D0 00346730 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803497D4 00346734 40 80 00 38 */ bge lbl_8034980C +/* 803497D8 00346738 80 1F 00 04 */ lwz r0, 4(r31) +/* 803497DC 0034673C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803497E0 00346740 38 83 F6 60 */ addi r4, r3, lbl_803EF660@l +/* 803497E4 00346744 54 00 10 3A */ slwi r0, r0, 2 +/* 803497E8 00346748 7C 04 00 AE */ lbzx r0, r4, r0 +/* 803497EC 0034674C 28 00 00 00 */ cmplwi r0, 0 +/* 803497F0 00346750 40 82 00 1C */ bne lbl_8034980C +/* 803497F4 00346754 38 60 00 01 */ li r3, 1 +/* 803497F8 00346758 98 7F 00 21 */ stb r3, 0x21(r31) +/* 803497FC 0034675C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349800 00346760 54 00 10 3A */ slwi r0, r0, 2 +/* 80349804 00346764 7C 64 01 AE */ stbx r3, r4, r0 +/* 80349808 00346768 48 00 00 68 */ b lbl_80349870 +lbl_8034980C: +/* 8034980C 0034676C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349810 00346770 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349814 00346774 40 80 00 2C */ bge lbl_80349840 +/* 80349818 00346778 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034981C 0034677C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349820 00346780 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349824 00346784 54 00 10 3A */ slwi r0, r0, 2 +/* 80349828 00346788 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8034982C 0034678C 28 00 00 00 */ cmplwi r0, 0 +/* 80349830 00346790 41 82 00 10 */ beq lbl_80349840 +/* 80349834 00346794 38 00 00 00 */ li r0, 0 +/* 80349838 00346798 98 1F 00 21 */ stb r0, 0x21(r31) +/* 8034983C 0034679C 48 00 00 34 */ b lbl_80349870 +lbl_80349840: +/* 80349840 003467A0 FC 20 0A 10 */ fabs f1, f1 +/* 80349844 003467A4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349848 003467A8 FC 20 08 18 */ frsp f1, f1 +/* 8034984C 003467AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349850 003467B0 40 80 00 20 */ bge lbl_80349870 +/* 80349854 003467B4 38 80 00 00 */ li r4, 0 +/* 80349858 003467B8 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 8034985C 003467BC 98 9F 00 21 */ stb r4, 0x21(r31) +/* 80349860 003467C0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349864 003467C4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349868 003467C8 54 00 10 3A */ slwi r0, r0, 2 +/* 8034986C 003467CC 7C 83 01 AE */ stbx r4, r3, r0 +lbl_80349870: +/* 80349870 003467D0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80349874 003467D4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349878 003467D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034987C 003467DC 40 81 00 3C */ ble lbl_803498B8 +/* 80349880 003467E0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349884 003467E4 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349888 003467E8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 8034988C 003467EC 38 83 00 01 */ addi r4, r3, 1 +/* 80349890 003467F0 54 00 10 3A */ slwi r0, r0, 2 +/* 80349894 003467F4 7C 04 00 AE */ lbzx r0, r4, r0 +/* 80349898 003467F8 28 00 00 00 */ cmplwi r0, 0 +/* 8034989C 003467FC 40 82 00 1C */ bne lbl_803498B8 +/* 803498A0 00346800 38 60 00 01 */ li r3, 1 +/* 803498A4 00346804 98 7F 00 20 */ stb r3, 0x20(r31) +/* 803498A8 00346808 80 1F 00 04 */ lwz r0, 4(r31) +/* 803498AC 0034680C 54 00 10 3A */ slwi r0, r0, 2 +/* 803498B0 00346810 7C 64 01 AE */ stbx r3, r4, r0 +/* 803498B4 00346814 48 00 00 E4 */ b lbl_80349998 +lbl_803498B8: +/* 803498B8 00346818 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 803498BC 0034681C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803498C0 00346820 40 81 00 30 */ ble lbl_803498F0 +/* 803498C4 00346824 80 1F 00 04 */ lwz r0, 4(r31) +/* 803498C8 00346828 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803498CC 0034682C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803498D0 00346830 54 00 10 3A */ slwi r0, r0, 2 +/* 803498D4 00346834 7C 63 02 14 */ add r3, r3, r0 +/* 803498D8 00346838 88 03 00 01 */ lbz r0, 1(r3) +/* 803498DC 0034683C 28 00 00 00 */ cmplwi r0, 0 +/* 803498E0 00346840 41 82 00 10 */ beq lbl_803498F0 +/* 803498E4 00346844 38 00 00 00 */ li r0, 0 +/* 803498E8 00346848 98 1F 00 20 */ stb r0, 0x20(r31) +/* 803498EC 0034684C 48 00 00 AC */ b lbl_80349998 +lbl_803498F0: +/* 803498F0 00346850 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 803498F4 00346854 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803498F8 00346858 40 80 00 34 */ bge lbl_8034992C +/* 803498FC 0034685C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349900 00346860 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349904 00346864 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349908 00346868 54 00 10 3A */ slwi r0, r0, 2 +/* 8034990C 0034686C 7C 63 02 14 */ add r3, r3, r0 +/* 80349910 00346870 8C 03 00 01 */ lbzu r0, 1(r3) +/* 80349914 00346874 28 00 00 00 */ cmplwi r0, 0 +/* 80349918 00346878 40 82 00 14 */ bne lbl_8034992C +/* 8034991C 0034687C 38 00 00 01 */ li r0, 1 +/* 80349920 00346880 98 03 00 00 */ stb r0, 0(r3) +/* 80349924 00346884 98 1F 00 20 */ stb r0, 0x20(r31) +/* 80349928 00346888 48 00 00 70 */ b lbl_80349998 +lbl_8034992C: +/* 8034992C 0034688C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349930 00346890 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349934 00346894 40 80 00 30 */ bge lbl_80349964 +/* 80349938 00346898 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034993C 0034689C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349940 003468A0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349944 003468A4 54 00 10 3A */ slwi r0, r0, 2 +/* 80349948 003468A8 7C 63 02 14 */ add r3, r3, r0 +/* 8034994C 003468AC 88 03 00 01 */ lbz r0, 1(r3) +/* 80349950 003468B0 28 00 00 00 */ cmplwi r0, 0 +/* 80349954 003468B4 41 82 00 10 */ beq lbl_80349964 +/* 80349958 003468B8 38 00 00 00 */ li r0, 0 +/* 8034995C 003468BC 98 1F 00 20 */ stb r0, 0x20(r31) +/* 80349960 003468C0 48 00 00 38 */ b lbl_80349998 +lbl_80349964: +/* 80349964 003468C4 FC 20 0A 10 */ fabs f1, f1 +/* 80349968 003468C8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 8034996C 003468CC FC 20 08 18 */ frsp f1, f1 +/* 80349970 003468D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349974 003468D4 40 80 00 24 */ bge lbl_80349998 +/* 80349978 003468D8 38 80 00 00 */ li r4, 0 +/* 8034997C 003468DC 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349980 003468E0 98 9F 00 20 */ stb r4, 0x20(r31) +/* 80349984 003468E4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349988 003468E8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034998C 003468EC 54 00 10 3A */ slwi r0, r0, 2 +/* 80349990 003468F0 7C 63 02 14 */ add r3, r3, r0 +/* 80349994 003468F4 98 83 00 01 */ stb r4, 1(r3) +lbl_80349998: +/* 80349998 003468F8 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8034999C 003468FC C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 803499A0 00346900 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803499A4 00346904 40 81 00 34 */ ble lbl_803499D8 +/* 803499A8 00346908 80 1F 00 04 */ lwz r0, 4(r31) +/* 803499AC 0034690C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803499B0 00346910 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803499B4 00346914 54 00 10 3A */ slwi r0, r0, 2 +/* 803499B8 00346918 7C 63 02 14 */ add r3, r3, r0 +/* 803499BC 0034691C 8C 03 00 02 */ lbzu r0, 2(r3) +/* 803499C0 00346920 28 00 00 00 */ cmplwi r0, 0 +/* 803499C4 00346924 40 82 00 14 */ bne lbl_803499D8 +/* 803499C8 00346928 38 00 00 01 */ li r0, 1 +/* 803499CC 0034692C 98 03 00 00 */ stb r0, 0(r3) +/* 803499D0 00346930 98 1F 00 23 */ stb r0, 0x23(r31) +/* 803499D4 00346934 48 00 00 EC */ b lbl_80349AC0 +lbl_803499D8: +/* 803499D8 00346938 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 803499DC 0034693C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803499E0 00346940 40 81 00 30 */ ble lbl_80349A10 +/* 803499E4 00346944 80 1F 00 04 */ lwz r0, 4(r31) +/* 803499E8 00346948 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803499EC 0034694C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803499F0 00346950 54 00 10 3A */ slwi r0, r0, 2 +/* 803499F4 00346954 7C 63 02 14 */ add r3, r3, r0 +/* 803499F8 00346958 88 03 00 02 */ lbz r0, 2(r3) +/* 803499FC 0034695C 28 00 00 00 */ cmplwi r0, 0 +/* 80349A00 00346960 41 82 00 10 */ beq lbl_80349A10 +/* 80349A04 00346964 38 00 00 00 */ li r0, 0 +/* 80349A08 00346968 98 1F 00 23 */ stb r0, 0x23(r31) +/* 80349A0C 0034696C 48 00 00 B4 */ b lbl_80349AC0 +lbl_80349A10: +/* 80349A10 00346970 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349A14 00346974 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349A18 00346978 40 80 00 3C */ bge lbl_80349A54 +/* 80349A1C 0034697C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349A20 00346980 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349A24 00346984 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349A28 00346988 38 83 00 02 */ addi r4, r3, 2 +/* 80349A2C 0034698C 54 00 10 3A */ slwi r0, r0, 2 +/* 80349A30 00346990 7C 04 00 AE */ lbzx r0, r4, r0 +/* 80349A34 00346994 28 00 00 00 */ cmplwi r0, 0 +/* 80349A38 00346998 40 82 00 1C */ bne lbl_80349A54 +/* 80349A3C 0034699C 38 60 00 01 */ li r3, 1 +/* 80349A40 003469A0 98 7F 00 23 */ stb r3, 0x23(r31) +/* 80349A44 003469A4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349A48 003469A8 54 00 10 3A */ slwi r0, r0, 2 +/* 80349A4C 003469AC 7C 64 01 AE */ stbx r3, r4, r0 +/* 80349A50 003469B0 48 00 00 70 */ b lbl_80349AC0 +lbl_80349A54: +/* 80349A54 003469B4 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349A58 003469B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349A5C 003469BC 40 80 00 30 */ bge lbl_80349A8C +/* 80349A60 003469C0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349A64 003469C4 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349A68 003469C8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349A6C 003469CC 54 00 10 3A */ slwi r0, r0, 2 +/* 80349A70 003469D0 7C 63 02 14 */ add r3, r3, r0 +/* 80349A74 003469D4 88 03 00 02 */ lbz r0, 2(r3) +/* 80349A78 003469D8 28 00 00 00 */ cmplwi r0, 0 +/* 80349A7C 003469DC 41 82 00 10 */ beq lbl_80349A8C +/* 80349A80 003469E0 38 00 00 00 */ li r0, 0 +/* 80349A84 003469E4 98 1F 00 23 */ stb r0, 0x23(r31) +/* 80349A88 003469E8 48 00 00 38 */ b lbl_80349AC0 +lbl_80349A8C: +/* 80349A8C 003469EC FC 20 0A 10 */ fabs f1, f1 +/* 80349A90 003469F0 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349A94 003469F4 FC 20 08 18 */ frsp f1, f1 +/* 80349A98 003469F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349A9C 003469FC 40 80 00 24 */ bge lbl_80349AC0 +/* 80349AA0 00346A00 38 80 00 00 */ li r4, 0 +/* 80349AA4 00346A04 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349AA8 00346A08 98 9F 00 23 */ stb r4, 0x23(r31) +/* 80349AAC 00346A0C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349AB0 00346A10 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349AB4 00346A14 54 00 10 3A */ slwi r0, r0, 2 +/* 80349AB8 00346A18 7C 63 02 14 */ add r3, r3, r0 +/* 80349ABC 00346A1C 98 83 00 02 */ stb r4, 2(r3) +lbl_80349AC0: +/* 80349AC0 00346A20 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80349AC4 00346A24 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349AC8 00346A28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349ACC 00346A2C 40 81 00 3C */ ble lbl_80349B08 +/* 80349AD0 00346A30 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349AD4 00346A34 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349AD8 00346A38 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349ADC 00346A3C 38 83 00 03 */ addi r4, r3, 3 +/* 80349AE0 00346A40 54 00 10 3A */ slwi r0, r0, 2 +/* 80349AE4 00346A44 7C 04 00 AE */ lbzx r0, r4, r0 +/* 80349AE8 00346A48 28 00 00 00 */ cmplwi r0, 0 +/* 80349AEC 00346A4C 40 82 00 1C */ bne lbl_80349B08 +/* 80349AF0 00346A50 38 60 00 01 */ li r3, 1 +/* 80349AF4 00346A54 98 7F 00 22 */ stb r3, 0x22(r31) +/* 80349AF8 00346A58 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349AFC 00346A5C 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B00 00346A60 7C 64 01 AE */ stbx r3, r4, r0 +/* 80349B04 00346A64 48 00 00 E4 */ b lbl_80349BE8 +lbl_80349B08: +/* 80349B08 00346A68 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349B0C 00346A6C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349B10 00346A70 40 81 00 30 */ ble lbl_80349B40 +/* 80349B14 00346A74 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349B18 00346A78 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349B1C 00346A7C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349B20 00346A80 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B24 00346A84 7C 63 02 14 */ add r3, r3, r0 +/* 80349B28 00346A88 88 03 00 03 */ lbz r0, 3(r3) +/* 80349B2C 00346A8C 28 00 00 00 */ cmplwi r0, 0 +/* 80349B30 00346A90 41 82 00 10 */ beq lbl_80349B40 +/* 80349B34 00346A94 38 00 00 00 */ li r0, 0 +/* 80349B38 00346A98 98 1F 00 22 */ stb r0, 0x22(r31) +/* 80349B3C 00346A9C 48 00 00 AC */ b lbl_80349BE8 +lbl_80349B40: +/* 80349B40 00346AA0 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349B44 00346AA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349B48 00346AA8 40 80 00 34 */ bge lbl_80349B7C +/* 80349B4C 00346AAC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349B50 00346AB0 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349B54 00346AB4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349B58 00346AB8 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B5C 00346ABC 7C 63 02 14 */ add r3, r3, r0 +/* 80349B60 00346AC0 8C 03 00 03 */ lbzu r0, 3(r3) +/* 80349B64 00346AC4 28 00 00 00 */ cmplwi r0, 0 +/* 80349B68 00346AC8 40 82 00 14 */ bne lbl_80349B7C +/* 80349B6C 00346ACC 38 00 00 01 */ li r0, 1 +/* 80349B70 00346AD0 98 03 00 00 */ stb r0, 0(r3) +/* 80349B74 00346AD4 98 1F 00 22 */ stb r0, 0x22(r31) +/* 80349B78 00346AD8 48 00 00 70 */ b lbl_80349BE8 +lbl_80349B7C: +/* 80349B7C 00346ADC C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349B80 00346AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349B84 00346AE4 40 80 00 30 */ bge lbl_80349BB4 +/* 80349B88 00346AE8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349B8C 00346AEC 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349B90 00346AF0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349B94 00346AF4 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B98 00346AF8 7C 63 02 14 */ add r3, r3, r0 +/* 80349B9C 00346AFC 88 03 00 03 */ lbz r0, 3(r3) +/* 80349BA0 00346B00 28 00 00 00 */ cmplwi r0, 0 +/* 80349BA4 00346B04 41 82 00 10 */ beq lbl_80349BB4 +/* 80349BA8 00346B08 38 00 00 00 */ li r0, 0 +/* 80349BAC 00346B0C 98 1F 00 22 */ stb r0, 0x22(r31) +/* 80349BB0 00346B10 48 00 00 38 */ b lbl_80349BE8 +lbl_80349BB4: +/* 80349BB4 00346B14 FC 20 0A 10 */ fabs f1, f1 +/* 80349BB8 00346B18 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349BBC 00346B1C FC 20 08 18 */ frsp f1, f1 +/* 80349BC0 00346B20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349BC4 00346B24 40 80 00 24 */ bge lbl_80349BE8 +/* 80349BC8 00346B28 38 80 00 00 */ li r4, 0 +/* 80349BCC 00346B2C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349BD0 00346B30 98 9F 00 22 */ stb r4, 0x22(r31) +/* 80349BD4 00346B34 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349BD8 00346B38 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349BDC 00346B3C 54 00 10 3A */ slwi r0, r0, 2 +/* 80349BE0 00346B40 7C 63 02 14 */ add r3, r3, r0 +/* 80349BE4 00346B44 98 83 00 03 */ stb r4, 3(r3) +lbl_80349BE8: +/* 80349BE8 00346B48 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80349BEC 00346B4C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80349BF0 00346B50 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80349BF4 00346B54 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80349BF8 00346B58 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80349BFC 00346B5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80349C00 00346B60 7C 08 03 A6 */ mtlr r0 +/* 80349C04 00346B64 38 21 00 40 */ addi r1, r1, 0x40 +/* 80349C08 00346B68 4E 80 00 20 */ blr + +.global __ct__11CFinalInputFifRC22CControllerGamepadDataff +__ct__11CFinalInputFifRC22CControllerGamepadDataff: +/* 80349C0C 00346B6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80349C10 00346B70 7C 08 02 A6 */ mflr r0 +/* 80349C14 00346B74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80349C18 00346B78 38 00 00 00 */ li r0, 0 +/* 80349C1C 00346B7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80349C20 00346B80 7C 7F 1B 78 */ mr r31, r3 +/* 80349C24 00346B84 D0 23 00 00 */ stfs f1, 0(r3) +/* 80349C28 00346B88 90 83 00 04 */ stw r4, 4(r3) +/* 80349C2C 00346B8C C0 05 00 08 */ lfs f0, 8(r5) +/* 80349C30 00346B90 D0 03 00 08 */ stfs f0, 8(r3) +/* 80349C34 00346B94 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 80349C38 00346B98 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80349C3C 00346B9C C0 05 00 18 */ lfs f0, 0x18(r5) +/* 80349C40 00346BA0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80349C44 00346BA4 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 80349C48 00346BA8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80349C4C 00346BAC C0 05 00 28 */ lfs f0, 0x28(r5) +/* 80349C50 00346BB0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80349C54 00346BB4 C0 05 00 30 */ lfs f0, 0x30(r5) +/* 80349C58 00346BB8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80349C5C 00346BBC 98 03 00 20 */ stb r0, 0x20(r3) +/* 80349C60 00346BC0 98 03 00 21 */ stb r0, 0x21(r3) +/* 80349C64 00346BC4 98 03 00 22 */ stb r0, 0x22(r3) +/* 80349C68 00346BC8 98 03 00 23 */ stb r0, 0x23(r3) +/* 80349C6C 00346BCC C0 05 00 24 */ lfs f0, 0x24(r5) +/* 80349C70 00346BD0 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80349C74 00346BD4 C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 80349C78 00346BD8 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80349C7C 00346BDC 88 85 00 34 */ lbz r4, 0x34(r5) +/* 80349C80 00346BE0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349C84 00346BE4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349C88 00346BE8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349C8C 00346BEC 88 85 00 37 */ lbz r4, 0x37(r5) +/* 80349C90 00346BF0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349C94 00346BF4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349C98 00346BF8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349C9C 00346BFC 88 85 00 3A */ lbz r4, 0x3a(r5) +/* 80349CA0 00346C00 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CA4 00346C04 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349CA8 00346C08 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CAC 00346C0C 88 85 00 3D */ lbz r4, 0x3d(r5) +/* 80349CB0 00346C10 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CB4 00346C14 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349CB8 00346C18 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CBC 00346C1C 88 85 00 43 */ lbz r4, 0x43(r5) +/* 80349CC0 00346C20 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CC4 00346C24 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349CC8 00346C28 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CCC 00346C2C 88 85 00 52 */ lbz r4, 0x52(r5) +/* 80349CD0 00346C30 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CD4 00346C34 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349CD8 00346C38 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CDC 00346C3C 88 85 00 55 */ lbz r4, 0x55(r5) +/* 80349CE0 00346C40 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CE4 00346C44 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349CE8 00346C48 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CEC 00346C4C 88 85 00 46 */ lbz r4, 0x46(r5) +/* 80349CF0 00346C50 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CF4 00346C54 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349CF8 00346C58 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CFC 00346C5C 88 85 00 49 */ lbz r4, 0x49(r5) +/* 80349D00 00346C60 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349D04 00346C64 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349D08 00346C68 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349D0C 00346C6C 88 85 00 4C */ lbz r4, 0x4c(r5) +/* 80349D10 00346C70 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349D14 00346C74 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349D18 00346C78 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349D1C 00346C7C 88 85 00 4F */ lbz r4, 0x4f(r5) +/* 80349D20 00346C80 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349D24 00346C84 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349D28 00346C88 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349D2C 00346C8C 88 85 00 40 */ lbz r4, 0x40(r5) +/* 80349D30 00346C90 FC 20 10 90 */ fmr f1, f2 +/* 80349D34 00346C94 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D38 00346C98 FC 40 18 90 */ fmr f2, f3 +/* 80349D3C 00346C9C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349D40 00346CA0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D44 00346CA4 88 85 00 35 */ lbz r4, 0x35(r5) +/* 80349D48 00346CA8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D4C 00346CAC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349D50 00346CB0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D54 00346CB4 88 85 00 38 */ lbz r4, 0x38(r5) +/* 80349D58 00346CB8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D5C 00346CBC 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349D60 00346CC0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D64 00346CC4 88 85 00 3B */ lbz r4, 0x3b(r5) +/* 80349D68 00346CC8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D6C 00346CCC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349D70 00346CD0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D74 00346CD4 88 85 00 3E */ lbz r4, 0x3e(r5) +/* 80349D78 00346CD8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D7C 00346CDC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349D80 00346CE0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D84 00346CE4 88 85 00 44 */ lbz r4, 0x44(r5) +/* 80349D88 00346CE8 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349D8C 00346CEC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349D90 00346CF0 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349D94 00346CF4 88 85 00 53 */ lbz r4, 0x53(r5) +/* 80349D98 00346CF8 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349D9C 00346CFC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349DA0 00346D00 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DA4 00346D04 88 85 00 56 */ lbz r4, 0x56(r5) +/* 80349DA8 00346D08 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DAC 00346D0C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349DB0 00346D10 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DB4 00346D14 88 85 00 47 */ lbz r4, 0x47(r5) +/* 80349DB8 00346D18 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DBC 00346D1C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349DC0 00346D20 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DC4 00346D24 88 85 00 4A */ lbz r4, 0x4a(r5) +/* 80349DC8 00346D28 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DCC 00346D2C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349DD0 00346D30 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DD4 00346D34 88 85 00 4D */ lbz r4, 0x4d(r5) +/* 80349DD8 00346D38 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DDC 00346D3C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349DE0 00346D40 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DE4 00346D44 88 85 00 50 */ lbz r4, 0x50(r5) +/* 80349DE8 00346D48 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DEC 00346D4C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349DF0 00346D50 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DF4 00346D54 88 85 00 41 */ lbz r4, 0x41(r5) +/* 80349DF8 00346D58 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DFC 00346D5C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349E00 00346D60 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349E04 00346D64 4B FF F8 9D */ bl InitializeAnalog__11CFinalInputFff +/* 80349E08 00346D68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80349E0C 00346D6C 7F E3 FB 78 */ mr r3, r31 +/* 80349E10 00346D70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80349E14 00346D74 7C 08 03 A6 */ mtlr r0 +/* 80349E18 00346D78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80349E1C 00346D7C 4E 80 00 20 */ blr + +.global __ct__11CFinalInputFv +__ct__11CFinalInputFv: +/* 80349E20 00346D80 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2) +/* 80349E24 00346D84 38 80 00 00 */ li r4, 0 +/* 80349E28 00346D88 D0 03 00 00 */ stfs f0, 0(r3) +/* 80349E2C 00346D8C 90 83 00 04 */ stw r4, 4(r3) +/* 80349E30 00346D90 D0 03 00 08 */ stfs f0, 8(r3) +/* 80349E34 00346D94 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80349E38 00346D98 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80349E3C 00346D9C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80349E40 00346DA0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80349E44 00346DA4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80349E48 00346DA8 98 83 00 20 */ stb r4, 0x20(r3) +/* 80349E4C 00346DAC 98 83 00 21 */ stb r4, 0x21(r3) +/* 80349E50 00346DB0 98 83 00 22 */ stb r4, 0x22(r3) +/* 80349E54 00346DB4 98 83 00 23 */ stb r4, 0x23(r3) +/* 80349E58 00346DB8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80349E5C 00346DBC D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80349E60 00346DC0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E64 00346DC4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349E68 00346DC8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E6C 00346DCC 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E70 00346DD0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349E74 00346DD4 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E78 00346DD8 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E7C 00346DDC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349E80 00346DE0 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E84 00346DE4 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E88 00346DE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349E8C 00346DEC 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E90 00346DF0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E94 00346DF4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349E98 00346DF8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E9C 00346DFC 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349EA0 00346E00 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349EA4 00346E04 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349EA8 00346E08 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349EAC 00346E0C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349EB0 00346E10 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349EB4 00346E14 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349EB8 00346E18 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349EBC 00346E1C 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349EC0 00346E20 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EC4 00346E24 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349EC8 00346E28 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349ECC 00346E2C 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349ED0 00346E30 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349ED4 00346E34 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349ED8 00346E38 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EDC 00346E3C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349EE0 00346E40 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349EE4 00346E44 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EE8 00346E48 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349EEC 00346E4C 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349EF0 00346E50 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EF4 00346E54 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349EF8 00346E58 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349EFC 00346E5C 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349F00 00346E60 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349F04 00346E64 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349F08 00346E68 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349F0C 00346E6C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349F10 00346E70 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349F14 00346E74 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349F18 00346E78 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349F1C 00346E7C 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349F20 00346E80 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F24 00346E84 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349F28 00346E88 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F2C 00346E8C 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F30 00346E90 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349F34 00346E94 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F38 00346E98 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F3C 00346E9C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349F40 00346EA0 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F44 00346EA4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F48 00346EA8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349F4C 00346EAC 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F50 00346EB0 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F54 00346EB4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349F58 00346EB8 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F5C 00346EBC 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F60 00346EC0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349F64 00346EC4 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F68 00346EC8 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F6C 00346ECC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349F70 00346ED0 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F74 00346ED4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F78 00346ED8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349F7C 00346EDC 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F80 00346EE0 4E 80 00 20 */ blr + +.global Orange__6CColorFv +Orange__6CColorFv: +/* 80349F84 00346EE4 38 6D A9 C8 */ addi r3, r13, lbl_805A9588@sda21 +/* 80349F88 00346EE8 4E 80 00 20 */ blr + +.global Yellow__6CColorFv +Yellow__6CColorFv: +/* 80349F8C 00346EEC 38 6D A9 C0 */ addi r3, r13, lbl_805A9580@sda21 +/* 80349F90 00346EF0 4E 80 00 20 */ blr + +.global Blue__6CColorFv +Blue__6CColorFv: +/* 80349F94 00346EF4 38 6D A9 BC */ addi r3, r13, lbl_805A957C@sda21 +/* 80349F98 00346EF8 4E 80 00 20 */ blr + +.global Red__6CColorFv +Red__6CColorFv: +/* 80349F9C 00346EFC 38 6D A9 B4 */ addi r3, r13, lbl_805A9574@sda21 +/* 80349FA0 00346F00 4E 80 00 20 */ blr + +.global Grey__6CColorFv +Grey__6CColorFv: +/* 80349FA4 00346F04 38 6D A9 B0 */ addi r3, r13, lbl_805A9570@sda21 +/* 80349FA8 00346F08 4E 80 00 20 */ blr + +.global White__6CColorFv +White__6CColorFv: +/* 80349FAC 00346F0C 38 6D A9 AC */ addi r3, r13, lbl_805A956C@sda21 +/* 80349FB0 00346F10 4E 80 00 20 */ blr + +.global Black__6CColorFv +Black__6CColorFv: +/* 80349FB4 00346F14 38 6D A9 A8 */ addi r3, r13, lbl_805A9568@sda21 +/* 80349FB8 00346F18 4E 80 00 20 */ blr + +.global __sinit_CColor_cpp +__sinit_CColor_cpp: +/* 80349FBC 00346F1C 3D 20 80 81 */ lis r9, 0x808080FF@ha +/* 80349FC0 00346F20 3D 00 FF 00 */ lis r8, 0xFF0000FF@ha +/* 80349FC4 00346F24 3C E0 00 FF */ lis r7, 0x00FF00FF@ha +/* 80349FC8 00346F28 3C C0 00 01 */ lis r6, 0x0000FFFF@ha +/* 80349FCC 00346F2C 3C A0 FF FF */ lis r5, 0xFFFF00FF@ha +/* 80349FD0 00346F30 3C 80 A0 01 */ lis r4, 0xA000FFFF@ha +/* 80349FD4 00346F34 3C 60 FF 70 */ lis r3, 0xFF7000FF@ha +/* 80349FD8 00346F38 39 29 80 FF */ addi r9, r9, 0x808080FF@l +/* 80349FDC 00346F3C 39 08 00 FF */ addi r8, r8, 0xFF0000FF@l +/* 80349FE0 00346F40 38 E7 00 FF */ addi r7, r7, 0x00FF00FF@l +/* 80349FE4 00346F44 38 C6 FF FF */ addi r6, r6, 0x0000FFFF@l +/* 80349FE8 00346F48 38 A5 00 FF */ addi r5, r5, 0xFFFF00FF@l +/* 80349FEC 00346F4C 38 84 FF FF */ addi r4, r4, 0xA000FFFF@l +/* 80349FF0 00346F50 38 03 00 FF */ addi r0, r3, 0xFF7000FF@l +/* 80349FF4 00346F54 39 40 00 FF */ li r10, 0xff +/* 80349FF8 00346F58 38 60 FF FF */ li r3, -1 +/* 80349FFC 00346F5C 91 4D A9 A8 */ stw r10, lbl_805A9568@sda21(r13) +/* 8034A000 00346F60 90 6D A9 AC */ stw r3, lbl_805A956C@sda21(r13) +/* 8034A004 00346F64 91 2D A9 B0 */ stw r9, lbl_805A9570@sda21(r13) +/* 8034A008 00346F68 91 0D A9 B4 */ stw r8, lbl_805A9574@sda21(r13) +/* 8034A00C 00346F6C 90 ED A9 B8 */ stw r7, lbl_805A9578@sda21(r13) +/* 8034A010 00346F70 90 CD A9 BC */ stw r6, lbl_805A957C@sda21(r13) +/* 8034A014 00346F74 90 AD A9 C0 */ stw r5, lbl_805A9580@sda21(r13) +/* 8034A018 00346F78 90 8D A9 C4 */ stw r4, lbl_805A9584@sda21(r13) +/* 8034A01C 00346F7C 90 0D A9 C8 */ stw r0, lbl_805A9588@sda21(r13) +/* 8034A020 00346F80 4E 80 00 20 */ blr + +.global FAudioGroupSetLocDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FAudioGroupSetLocDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8034A024 00346F84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A028 00346F88 7C 08 02 A6 */ mflr r0 +/* 8034A02C 00346F8C 3C 80 80 3E */ lis r4, lbl_803D8108@ha +/* 8034A030 00346F90 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A034 00346F94 38 84 81 08 */ addi r4, r4, lbl_803D8108@l +/* 8034A038 00346F98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A03C 00346F9C 7C DF 33 78 */ mr r31, r6 +/* 8034A040 00346FA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A044 00346FA4 7C BE 2B 78 */ mr r30, r5 +/* 8034A048 00346FA8 38 A0 00 00 */ li r5, 0 +/* 8034A04C 00346FAC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034A050 00346FB0 7C 7D 1B 78 */ mr r29, r3 +/* 8034A054 00346FB4 38 60 00 44 */ li r3, 0x44 +/* 8034A058 00346FB8 4B FC B8 15 */ bl __nw__FUlPCcPCc +/* 8034A05C 00346FBC 7C 64 1B 79 */ or. r4, r3, r3 +/* 8034A060 00346FC0 41 82 00 14 */ beq lbl_8034A074 +/* 8034A064 00346FC4 7F C4 F3 78 */ mr r4, r30 +/* 8034A068 00346FC8 7F E5 FB 78 */ mr r5, r31 +/* 8034A06C 00346FCC 48 00 03 89 */ bl __ct__15CAudioGrpSetLocFR12CInputStream +/* 8034A070 00346FD0 7C 64 1B 78 */ mr r4, r3 +lbl_8034A074: +/* 8034A074 00346FD4 7F A3 EB 78 */ mr r3, r29 +/* 8034A078 00346FD8 48 00 00 21 */ bl sub_8034a098 +/* 8034A07C 00346FDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A080 00346FE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A084 00346FE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A088 00346FE8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034A08C 00346FEC 7C 08 03 A6 */ mtlr r0 +/* 8034A090 00346FF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A094 00346FF4 4E 80 00 20 */ blr + +.global sub_8034a098 +sub_8034a098: +/* 8034A098 00346FF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A09C 00346FFC 7C 08 02 A6 */ mflr r0 +/* 8034A0A0 00347000 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A0A4 00347004 7C 04 00 D0 */ neg r0, r4 +/* 8034A0A8 00347008 7C 00 23 78 */ or r0, r0, r4 +/* 8034A0AC 0034700C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A0B0 00347010 7C 7F 1B 78 */ mr r31, r3 +/* 8034A0B4 00347014 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034A0B8 00347018 38 61 00 08 */ addi r3, r1, 8 +/* 8034A0BC 0034701C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A0C0 00347020 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034A0C4 00347024 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034A0C8 00347028 98 01 00 10 */ stb r0, 0x10(r1) +/* 8034A0CC 0034702C 48 00 01 D9 */ bl sub_8034a2a4 +/* 8034A0D0 00347030 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A0D4 00347034 38 00 00 00 */ li r0, 0 +/* 8034A0D8 00347038 98 01 00 08 */ stb r0, 8(r1) +/* 8034A0DC 0034703C 7C 03 00 D0 */ neg r0, r3 +/* 8034A0E0 00347040 7C 00 1B 78 */ or r0, r0, r3 +/* 8034A0E4 00347044 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034A0E8 00347048 98 1F 00 00 */ stb r0, 0(r31) +/* 8034A0EC 0034704C 90 7F 00 04 */ stw r3, 4(r31) +/* 8034A0F0 00347050 88 01 00 08 */ lbz r0, 8(r1) +/* 8034A0F4 00347054 28 00 00 00 */ cmplwi r0, 0 +/* 8034A0F8 00347058 41 82 00 24 */ beq lbl_8034A11C +/* 8034A0FC 0034705C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A100 00347060 28 03 00 00 */ cmplwi r3, 0 +/* 8034A104 00347064 41 82 00 18 */ beq lbl_8034A11C +/* 8034A108 00347068 81 83 00 00 */ lwz r12, 0(r3) +/* 8034A10C 0034706C 38 80 00 01 */ li r4, 1 +/* 8034A110 00347070 81 8C 00 08 */ lwz r12, 8(r12) +/* 8034A114 00347074 7D 89 03 A6 */ mtctr r12 +/* 8034A118 00347078 4E 80 04 21 */ bctrl +lbl_8034A11C: +/* 8034A11C 0034707C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8034A120 00347080 28 00 00 00 */ cmplwi r0, 0 +/* 8034A124 00347084 41 82 00 70 */ beq lbl_8034A194 +/* 8034A128 00347088 83 C1 00 14 */ lwz r30, 0x14(r1) +/* 8034A12C 0034708C 28 1E 00 00 */ cmplwi r30, 0 +/* 8034A130 00347090 41 82 00 64 */ beq lbl_8034A194 +/* 8034A134 00347094 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8034A138 00347098 41 82 00 0C */ beq lbl_8034A144 +/* 8034A13C 0034709C 38 7E 00 20 */ addi r3, r30, 0x20 +/* 8034A140 003470A0 4B FF 39 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A144: +/* 8034A144 003470A4 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8034A148 003470A8 41 82 00 0C */ beq lbl_8034A154 +/* 8034A14C 003470AC 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8034A150 003470B0 4B FF 39 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A154: +/* 8034A154 003470B4 34 1E 00 08 */ addic. r0, r30, 8 +/* 8034A158 003470B8 41 82 00 18 */ beq lbl_8034A170 +/* 8034A15C 003470BC 88 1E 00 08 */ lbz r0, 8(r30) +/* 8034A160 003470C0 28 00 00 00 */ cmplwi r0, 0 +/* 8034A164 003470C4 41 82 00 0C */ beq lbl_8034A170 +/* 8034A168 003470C8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034A16C 003470CC 4B FC B7 C5 */ bl Free__7CMemoryFPCv +lbl_8034A170: +/* 8034A170 003470D0 28 1E 00 00 */ cmplwi r30, 0 +/* 8034A174 003470D4 41 82 00 18 */ beq lbl_8034A18C +/* 8034A178 003470D8 88 1E 00 00 */ lbz r0, 0(r30) +/* 8034A17C 003470DC 28 00 00 00 */ cmplwi r0, 0 +/* 8034A180 003470E0 41 82 00 0C */ beq lbl_8034A18C +/* 8034A184 003470E4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8034A188 003470E8 4B FC B7 A9 */ bl Free__7CMemoryFPCv +lbl_8034A18C: +/* 8034A18C 003470EC 7F C3 F3 78 */ mr r3, r30 +/* 8034A190 003470F0 4B FC B7 A1 */ bl Free__7CMemoryFPCv +lbl_8034A194: +/* 8034A194 003470F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A198 003470F8 7F E3 FB 78 */ mr r3, r31 +/* 8034A19C 003470FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A1A0 00347100 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A1A4 00347104 7C 08 03 A6 */ mtlr r0 +/* 8034A1A8 00347108 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A1AC 0034710C 4E 80 00 20 */ blr + +.global sub_8034a1b0 +sub_8034a1b0: +/* 8034A1B0 00347110 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A1B4 00347114 7C 08 02 A6 */ mflr r0 +/* 8034A1B8 00347118 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A1BC 0034711C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A1C0 00347120 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A1C4 00347124 7C 9E 23 78 */ mr r30, r4 +/* 8034A1C8 00347128 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034A1CC 0034712C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8034A1D0 00347130 41 82 00 B4 */ beq lbl_8034A284 +/* 8034A1D4 00347134 3C 60 80 3F */ lis r3, lbl_803EF670@ha +/* 8034A1D8 00347138 38 03 F6 70 */ addi r0, r3, lbl_803EF670@l +/* 8034A1DC 0034713C 90 1D 00 00 */ stw r0, 0(r29) +/* 8034A1E0 00347140 83 FD 00 04 */ lwz r31, 4(r29) +/* 8034A1E4 00347144 28 1F 00 00 */ cmplwi r31, 0 +/* 8034A1E8 00347148 41 82 00 68 */ beq lbl_8034A250 +/* 8034A1EC 0034714C 41 82 00 64 */ beq lbl_8034A250 +/* 8034A1F0 00347150 34 1F 00 20 */ addic. r0, r31, 0x20 +/* 8034A1F4 00347154 41 82 00 0C */ beq lbl_8034A200 +/* 8034A1F8 00347158 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8034A1FC 0034715C 4B FF 38 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A200: +/* 8034A200 00347160 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034A204 00347164 41 82 00 0C */ beq lbl_8034A210 +/* 8034A208 00347168 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034A20C 0034716C 4B FF 38 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A210: +/* 8034A210 00347170 34 1F 00 08 */ addic. r0, r31, 8 +/* 8034A214 00347174 41 82 00 18 */ beq lbl_8034A22C +/* 8034A218 00347178 88 1F 00 08 */ lbz r0, 8(r31) +/* 8034A21C 0034717C 28 00 00 00 */ cmplwi r0, 0 +/* 8034A220 00347180 41 82 00 0C */ beq lbl_8034A22C +/* 8034A224 00347184 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8034A228 00347188 4B FC B7 09 */ bl Free__7CMemoryFPCv +lbl_8034A22C: +/* 8034A22C 0034718C 28 1F 00 00 */ cmplwi r31, 0 +/* 8034A230 00347190 41 82 00 18 */ beq lbl_8034A248 +/* 8034A234 00347194 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034A238 00347198 28 00 00 00 */ cmplwi r0, 0 +/* 8034A23C 0034719C 41 82 00 0C */ beq lbl_8034A248 +/* 8034A240 003471A0 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034A244 003471A4 4B FC B6 ED */ bl Free__7CMemoryFPCv +lbl_8034A248: +/* 8034A248 003471A8 7F E3 FB 78 */ mr r3, r31 +/* 8034A24C 003471AC 4B FC B6 E5 */ bl Free__7CMemoryFPCv +lbl_8034A250: +/* 8034A250 003471B0 28 1D 00 00 */ cmplwi r29, 0 +/* 8034A254 003471B4 41 82 00 20 */ beq lbl_8034A274 +/* 8034A258 003471B8 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8034A25C 003471BC 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8034A260 003471C0 90 1D 00 00 */ stw r0, 0(r29) +/* 8034A264 003471C4 41 82 00 10 */ beq lbl_8034A274 +/* 8034A268 003471C8 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8034A26C 003471CC 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8034A270 003471D0 90 1D 00 00 */ stw r0, 0(r29) +lbl_8034A274: +/* 8034A274 003471D4 7F C0 07 35 */ extsh. r0, r30 +/* 8034A278 003471D8 40 81 00 0C */ ble lbl_8034A284 +/* 8034A27C 003471DC 7F A3 EB 78 */ mr r3, r29 +/* 8034A280 003471E0 4B FC B6 B1 */ bl Free__7CMemoryFPCv +lbl_8034A284: +/* 8034A284 003471E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A288 003471E8 7F A3 EB 78 */ mr r3, r29 +/* 8034A28C 003471EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A290 003471F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A294 003471F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034A298 003471F8 7C 08 03 A6 */ mtlr r0 +/* 8034A29C 003471FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A2A0 00347200 4E 80 00 20 */ blr + +.global sub_8034a2a4 +sub_8034a2a4: +/* 8034A2A4 00347204 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A2A8 00347208 7C 08 02 A6 */ mflr r0 +/* 8034A2AC 0034720C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A2B0 00347210 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A2B4 00347214 7C 7F 1B 78 */ mr r31, r3 +/* 8034A2B8 00347218 48 00 00 19 */ bl sub_8034a2d0 +/* 8034A2BC 0034721C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A2C0 00347220 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A2C4 00347224 7C 08 03 A6 */ mtlr r0 +/* 8034A2C8 00347228 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A2CC 0034722C 4E 80 00 20 */ blr + +.global sub_8034a2d0 +sub_8034a2d0: +/* 8034A2D0 00347230 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A2D4 00347234 7C 08 02 A6 */ mflr r0 +/* 8034A2D8 00347238 3C A0 80 3E */ lis r5, lbl_803D8108@ha +/* 8034A2DC 0034723C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A2E0 00347240 38 05 81 08 */ addi r0, r5, lbl_803D8108@l +/* 8034A2E4 00347244 38 A0 00 00 */ li r5, 0 +/* 8034A2E8 00347248 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A2EC 0034724C 7C 9F 23 78 */ mr r31, r4 +/* 8034A2F0 00347250 7C 04 03 78 */ mr r4, r0 +/* 8034A2F4 00347254 93 C1 00 08 */ stw r30, 8(r1) +/* 8034A2F8 00347258 7C 7E 1B 78 */ mr r30, r3 +/* 8034A2FC 0034725C 38 60 00 08 */ li r3, 8 +/* 8034A300 00347260 4B FC B5 6D */ bl __nw__FUlPCcPCc +/* 8034A304 00347264 28 03 00 00 */ cmplwi r3, 0 +/* 8034A308 00347268 41 82 00 38 */ beq lbl_8034A340 +/* 8034A30C 0034726C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8034A310 00347270 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8034A314 00347274 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8034A318 00347278 3C 80 80 3F */ lis r4, lbl_803EF670@ha +/* 8034A31C 0034727C 90 03 00 00 */ stw r0, 0(r3) +/* 8034A320 00347280 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8034A324 00347284 38 A0 00 00 */ li r5, 0 +/* 8034A328 00347288 38 04 F6 70 */ addi r0, r4, lbl_803EF670@l +/* 8034A32C 0034728C 90 C3 00 00 */ stw r6, 0(r3) +/* 8034A330 00347290 98 BF 00 00 */ stb r5, 0(r31) +/* 8034A334 00347294 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034A338 00347298 90 83 00 04 */ stw r4, 4(r3) +/* 8034A33C 0034729C 90 03 00 00 */ stw r0, 0(r3) +lbl_8034A340: +/* 8034A340 003472A0 7C 03 00 D0 */ neg r0, r3 +/* 8034A344 003472A4 7C 00 1B 78 */ or r0, r0, r3 +/* 8034A348 003472A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034A34C 003472AC 98 1E 00 00 */ stb r0, 0(r30) +/* 8034A350 003472B0 90 7E 00 04 */ stw r3, 4(r30) +/* 8034A354 003472B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A358 003472B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034A35C 003472BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A360 003472C0 7C 08 03 A6 */ mtlr r0 +/* 8034A364 003472C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A368 003472C8 4E 80 00 20 */ blr + +.global sub_8034a36c +sub_8034a36c: +/* 8034A36C 003472CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A370 003472D0 7C 08 02 A6 */ mflr r0 +/* 8034A374 003472D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A378 003472D8 38 01 00 08 */ addi r0, r1, 8 +/* 8034A37C 003472DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A380 003472E0 7C 7F 1B 78 */ mr r31, r3 +/* 8034A384 003472E4 38 60 00 00 */ li r3, 0 +/* 8034A388 003472E8 7C 00 F8 40 */ cmplw r0, r31 +/* 8034A38C 003472EC 98 61 00 08 */ stb r3, 8(r1) +/* 8034A390 003472F0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034A394 003472F4 41 82 00 30 */ beq lbl_8034A3C4 +/* 8034A398 003472F8 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034A39C 003472FC 28 00 00 00 */ cmplwi r0, 0 +/* 8034A3A0 00347300 41 82 00 0C */ beq lbl_8034A3AC +/* 8034A3A4 00347304 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034A3A8 00347308 4B FC B5 89 */ bl Free__7CMemoryFPCv +lbl_8034A3AC: +/* 8034A3AC 0034730C 88 81 00 08 */ lbz r4, 8(r1) +/* 8034A3B0 00347310 38 00 00 00 */ li r0, 0 +/* 8034A3B4 00347314 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A3B8 00347318 98 9F 00 00 */ stb r4, 0(r31) +/* 8034A3BC 0034731C 90 7F 00 04 */ stw r3, 4(r31) +/* 8034A3C0 00347320 98 01 00 08 */ stb r0, 8(r1) +lbl_8034A3C4: +/* 8034A3C4 00347324 88 01 00 08 */ lbz r0, 8(r1) +/* 8034A3C8 00347328 28 00 00 00 */ cmplwi r0, 0 +/* 8034A3CC 0034732C 41 82 00 0C */ beq lbl_8034A3D8 +/* 8034A3D0 00347330 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A3D4 00347334 4B FC B5 5D */ bl Free__7CMemoryFPCv +lbl_8034A3D8: +/* 8034A3D8 00347338 38 00 00 00 */ li r0, 0 +/* 8034A3DC 0034733C 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8034A3E0 00347340 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A3E4 00347344 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A3E8 00347348 7C 08 03 A6 */ mtlr r0 +/* 8034A3EC 0034734C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A3F0 00347350 4E 80 00 20 */ blr + +.global __ct__15CAudioGrpSetLocFR12CInputStream +__ct__15CAudioGrpSetLocFR12CInputStream: +/* 8034A3F4 00347354 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8034A3F8 00347358 7C 08 02 A6 */ mflr r0 +/* 8034A3FC 0034735C 38 C0 00 00 */ li r6, 0 +/* 8034A400 00347360 90 01 00 94 */ stw r0, 0x94(r1) +/* 8034A404 00347364 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8034A408 00347368 BE E1 00 6C */ stmw r23, 0x6c(r1) +/* 8034A40C 0034736C 7C 78 1B 78 */ mr r24, r3 +/* 8034A410 00347370 7C 9A 23 78 */ mr r26, r4 +/* 8034A414 00347374 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034A418 00347378 98 C4 00 00 */ stb r6, 0(r4) +/* 8034A41C 0034737C 80 E4 00 04 */ lwz r7, 4(r4) +/* 8034A420 00347380 7C 87 00 D0 */ neg r4, r7 +/* 8034A424 00347384 7C 84 3B 78 */ or r4, r4, r7 +/* 8034A428 00347388 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034A42C 0034738C 98 98 00 00 */ stb r4, 0(r24) +/* 8034A430 00347390 90 F8 00 04 */ stw r7, 4(r24) +/* 8034A434 00347394 98 D8 00 08 */ stb r6, 8(r24) +/* 8034A438 00347398 90 D8 00 0C */ stw r6, 0xc(r24) +/* 8034A43C 0034739C 90 18 00 10 */ stw r0, 0x10(r24) +/* 8034A440 003473A0 90 D8 00 14 */ stw r6, 0x14(r24) +/* 8034A444 003473A4 90 D8 00 18 */ stw r6, 0x18(r24) +/* 8034A448 003473A8 90 18 00 20 */ stw r0, 0x20(r24) +/* 8034A44C 003473AC 90 D8 00 24 */ stw r6, 0x24(r24) +/* 8034A450 003473B0 90 D8 00 28 */ stw r6, 0x28(r24) +/* 8034A454 003473B4 90 D8 00 30 */ stw r6, 0x30(r24) +/* 8034A458 003473B8 90 D8 00 34 */ stw r6, 0x34(r24) +/* 8034A45C 003473BC 90 D8 00 38 */ stw r6, 0x38(r24) +/* 8034A460 003473C0 90 D8 00 3C */ stw r6, 0x3c(r24) +/* 8034A464 003473C4 90 D8 00 40 */ stw r6, 0x40(r24) +/* 8034A468 003473C8 80 9A 00 04 */ lwz r4, 4(r26) +/* 8034A46C 003473CC 4B FF 4D 61 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8034A470 003473D0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034A474 003473D4 38 81 00 40 */ addi r4, r1, 0x40 +/* 8034A478 003473D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8034A47C 003473DC 4B FF 3E 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 8034A480 003473E0 38 78 00 10 */ addi r3, r24, 0x10 +/* 8034A484 003473E4 38 81 00 30 */ addi r4, r1, 0x30 +/* 8034A488 003473E8 4B FF 38 D5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A48C 003473EC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034A490 003473F0 4B FF 36 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034A494 003473F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034A498 003473F8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8034A49C 003473FC 38 A1 00 08 */ addi r5, r1, 8 +/* 8034A4A0 00347400 4B FF 3E 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 8034A4A4 00347404 38 78 00 20 */ addi r3, r24, 0x20 +/* 8034A4A8 00347408 38 81 00 20 */ addi r4, r1, 0x20 +/* 8034A4AC 0034740C 4B FF 38 B1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A4B0 00347410 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034A4B4 00347414 4B FF 36 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034A4B8 00347418 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034A4BC 0034741C 4B FF 47 C9 */ bl ReadLong__12CInputStreamFv +/* 8034A4C0 00347420 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8034A4C4 00347424 7C 7F 1B 78 */ mr r31, r3 +/* 8034A4C8 00347428 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8034A4CC 0034742C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8034A4D0 00347430 90 01 00 40 */ stw r0, 0x40(r1) +/* 8034A4D4 00347434 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034A4D8 00347438 38 80 00 00 */ li r4, 0 +/* 8034A4DC 0034743C 4B FF 4B D1 */ bl __dt__12CInputStreamFv +/* 8034A4E0 00347440 48 00 03 35 */ bl sub_8034a814 +/* 8034A4E4 00347444 80 7A 00 04 */ lwz r3, 4(r26) +/* 8034A4E8 00347448 7F 9E FA 14 */ add r28, r30, r31 +/* 8034A4EC 0034744C 7F A3 E0 2E */ lwzx r29, r3, r28 +/* 8034A4F0 00347450 48 00 03 25 */ bl sub_8034a814 +/* 8034A4F4 00347454 7F 7C EA 14 */ add r27, r28, r29 +/* 8034A4F8 00347458 80 7A 00 04 */ lwz r3, 4(r26) +/* 8034A4FC 0034745C 3B 7B 00 04 */ addi r27, r27, 4 +/* 8034A500 00347460 7E E3 D8 2E */ lwzx r23, r3, r27 +/* 8034A504 00347464 48 00 03 11 */ bl sub_8034a814 +/* 8034A508 00347468 92 F8 00 30 */ stw r23, 0x30(r24) +/* 8034A50C 0034746C 7F 3B BA 14 */ add r25, r27, r23 +/* 8034A510 00347470 3B 39 00 04 */ addi r25, r25, 4 +/* 8034A514 00347474 80 7A 00 04 */ lwz r3, 4(r26) +/* 8034A518 00347478 7F 43 C8 2E */ lwzx r26, r3, r25 +/* 8034A51C 0034747C 48 00 02 F9 */ bl sub_8034a814 +/* 8034A520 00347480 3C 60 80 3E */ lis r3, lbl_803D8108@ha +/* 8034A524 00347484 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034A528 00347488 38 A3 81 08 */ addi r5, r3, lbl_803D8108@l +/* 8034A52C 0034748C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034A530 00347490 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034A534 00347494 38 80 FF FF */ li r4, -1 +/* 8034A538 00347498 4B F8 BE 9D */ bl __ct__10CCallStackFUiPCcPCc +/* 8034A53C 0034749C 7C 9D D2 14 */ add r4, r29, r26 +/* 8034A540 003474A0 7C 67 1B 78 */ mr r7, r3 +/* 8034A544 003474A4 38 64 00 08 */ addi r3, r4, 8 +/* 8034A548 003474A8 38 A0 00 01 */ li r5, 1 +/* 8034A54C 003474AC 38 80 00 02 */ li r4, 2 +/* 8034A550 003474B0 38 C0 00 00 */ li r6, 0 +/* 8034A554 003474B4 7C 7F 1A 14 */ add r3, r31, r3 +/* 8034A558 003474B8 4B FC B4 3D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034A55C 003474BC 7C 83 00 D0 */ neg r4, r3 +/* 8034A560 003474C0 38 01 00 10 */ addi r0, r1, 0x10 +/* 8034A564 003474C4 7C 84 1B 78 */ or r4, r4, r3 +/* 8034A568 003474C8 38 B8 00 08 */ addi r5, r24, 8 +/* 8034A56C 003474CC 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034A570 003474D0 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034A574 003474D4 7C 00 28 40 */ cmplw r0, r5 +/* 8034A578 003474D8 98 81 00 10 */ stb r4, 0x10(r1) +/* 8034A57C 003474DC 41 82 00 30 */ beq lbl_8034A5AC +/* 8034A580 003474E0 88 05 00 00 */ lbz r0, 0(r5) +/* 8034A584 003474E4 28 00 00 00 */ cmplwi r0, 0 +/* 8034A588 003474E8 41 82 00 0C */ beq lbl_8034A594 +/* 8034A58C 003474EC 80 78 00 0C */ lwz r3, 0xc(r24) +/* 8034A590 003474F0 4B FC B3 A1 */ bl Free__7CMemoryFPCv +lbl_8034A594: +/* 8034A594 003474F4 88 61 00 10 */ lbz r3, 0x10(r1) +/* 8034A598 003474F8 38 00 00 00 */ li r0, 0 +/* 8034A59C 003474FC 98 78 00 08 */ stb r3, 8(r24) +/* 8034A5A0 00347500 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034A5A4 00347504 90 78 00 0C */ stw r3, 0xc(r24) +/* 8034A5A8 00347508 98 01 00 10 */ stb r0, 0x10(r1) +lbl_8034A5AC: +/* 8034A5AC 0034750C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8034A5B0 00347510 28 00 00 00 */ cmplwi r0, 0 +/* 8034A5B4 00347514 41 82 00 0C */ beq lbl_8034A5C0 +/* 8034A5B8 00347518 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034A5BC 0034751C 4B FC B3 75 */ bl Free__7CMemoryFPCv +lbl_8034A5C0: +/* 8034A5C0 00347520 82 F8 00 04 */ lwz r23, 4(r24) +/* 8034A5C4 00347524 7F E5 FB 78 */ mr r5, r31 +/* 8034A5C8 00347528 80 18 00 0C */ lwz r0, 0xc(r24) +/* 8034A5CC 0034752C 7C 97 F2 14 */ add r4, r23, r30 +/* 8034A5D0 00347530 90 18 00 34 */ stw r0, 0x34(r24) +/* 8034A5D4 00347534 80 78 00 34 */ lwz r3, 0x34(r24) +/* 8034A5D8 00347538 4B CB 8E B9 */ bl memcpy +/* 8034A5DC 0034753C 38 7F 00 03 */ addi r3, r31, 3 +/* 8034A5E0 00347540 80 18 00 0C */ lwz r0, 0xc(r24) +/* 8034A5E4 00347544 54 7E 00 3A */ rlwinm r30, r3, 0, 0, 0x1d +/* 8034A5E8 00347548 7C 9C BA 14 */ add r4, r28, r23 +/* 8034A5EC 0034754C 7C 00 F2 14 */ add r0, r0, r30 +/* 8034A5F0 00347550 7F A5 EB 78 */ mr r5, r29 +/* 8034A5F4 00347554 90 18 00 38 */ stw r0, 0x38(r24) +/* 8034A5F8 00347558 38 84 00 04 */ addi r4, r4, 4 +/* 8034A5FC 0034755C 80 78 00 38 */ lwz r3, 0x38(r24) +/* 8034A600 00347560 4B CB 8E 91 */ bl memcpy +/* 8034A604 00347564 38 1D 00 03 */ addi r0, r29, 3 +/* 8034A608 00347568 7C 99 BA 14 */ add r4, r25, r23 +/* 8034A60C 0034756C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 8034A610 00347570 80 18 00 0C */ lwz r0, 0xc(r24) +/* 8034A614 00347574 7C 7E 1A 14 */ add r3, r30, r3 +/* 8034A618 00347578 7F 45 D3 78 */ mr r5, r26 +/* 8034A61C 0034757C 7C 00 1A 14 */ add r0, r0, r3 +/* 8034A620 00347580 38 84 00 04 */ addi r4, r4, 4 +/* 8034A624 00347584 90 18 00 3C */ stw r0, 0x3c(r24) +/* 8034A628 00347588 80 78 00 3C */ lwz r3, 0x3c(r24) +/* 8034A62C 0034758C 4B CB 8E 65 */ bl memcpy +/* 8034A630 00347590 7C 9B BA 14 */ add r4, r27, r23 +/* 8034A634 00347594 7F 03 C3 78 */ mr r3, r24 +/* 8034A638 00347598 38 04 00 04 */ addi r0, r4, 4 +/* 8034A63C 0034759C 90 18 00 40 */ stw r0, 0x40(r24) +/* 8034A640 003475A0 BA E1 00 6C */ lmw r23, 0x6c(r1) +/* 8034A644 003475A4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8034A648 003475A8 7C 08 03 A6 */ mtlr r0 +/* 8034A64C 003475AC 38 21 00 90 */ addi r1, r1, 0x90 +/* 8034A650 003475B0 4E 80 00 20 */ blr + +.global FreeSampleBuffer__14CAudioGroupSetFv +FreeSampleBuffer__14CAudioGroupSetFv: +/* 8034A654 003475B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A658 003475B8 7C 08 02 A6 */ mflr r0 +/* 8034A65C 003475BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A660 003475C0 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8034A664 003475C4 4B FF FD 09 */ bl sub_8034a36c +/* 8034A668 003475C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A66C 003475CC 7C 08 03 A6 */ mtlr r0 +/* 8034A670 003475D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A674 003475D4 4E 80 00 20 */ blr + +.global Reload__14CAudioGroupSetFv +Reload__14CAudioGroupSetFv: +/* 8034A678 003475D8 4E 80 00 20 */ blr + +.global __dt__14CAudioGroupSetFv +__dt__14CAudioGroupSetFv: +/* 8034A67C 003475DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A680 003475E0 7C 08 02 A6 */ mflr r0 +/* 8034A684 003475E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A688 003475E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A68C 003475EC 7C 9F 23 78 */ mr r31, r4 +/* 8034A690 003475F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8034A694 003475F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034A698 003475F8 41 82 00 68 */ beq lbl_8034A700 +/* 8034A69C 003475FC 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8034A6A0 00347600 41 82 00 30 */ beq lbl_8034A6D0 +/* 8034A6A4 00347604 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8034A6A8 00347608 28 00 00 00 */ cmplwi r0, 0 +/* 8034A6AC 0034760C 41 82 00 1C */ beq lbl_8034A6C8 +/* 8034A6B0 00347610 34 7E 00 20 */ addic. r3, r30, 0x20 +/* 8034A6B4 00347614 41 82 00 14 */ beq lbl_8034A6C8 +/* 8034A6B8 00347618 28 03 00 00 */ cmplwi r3, 0 +/* 8034A6BC 0034761C 41 82 00 0C */ beq lbl_8034A6C8 +/* 8034A6C0 00347620 38 80 00 00 */ li r4, 0 +/* 8034A6C4 00347624 4B FF 67 7D */ bl __dt__6CTokenFv +lbl_8034A6C8: +/* 8034A6C8 00347628 38 00 00 00 */ li r0, 0 +/* 8034A6CC 0034762C 98 1E 00 2C */ stb r0, 0x2c(r30) +lbl_8034A6D0: +/* 8034A6D0 00347630 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8034A6D4 00347634 41 82 00 0C */ beq lbl_8034A6E0 +/* 8034A6D8 00347638 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8034A6DC 0034763C 4B FF 34 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A6E0: +/* 8034A6E0 00347640 28 1E 00 00 */ cmplwi r30, 0 +/* 8034A6E4 00347644 41 82 00 0C */ beq lbl_8034A6F0 +/* 8034A6E8 00347648 7F C3 F3 78 */ mr r3, r30 +/* 8034A6EC 0034764C 4B FF 33 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A6F0: +/* 8034A6F0 00347650 7F E0 07 35 */ extsh. r0, r31 +/* 8034A6F4 00347654 40 81 00 0C */ ble lbl_8034A700 +/* 8034A6F8 00347658 7F C3 F3 78 */ mr r3, r30 +/* 8034A6FC 0034765C 4B FC B2 35 */ bl Free__7CMemoryFPCv +lbl_8034A700: +/* 8034A700 00347660 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A704 00347664 7F C3 F3 78 */ mr r3, r30 +/* 8034A708 00347668 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A70C 0034766C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034A710 00347670 7C 08 03 A6 */ mtlr r0 +/* 8034A714 00347674 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A718 00347678 4E 80 00 20 */ blr + +.global "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" +"__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>": +/* 8034A71C 0034767C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A720 00347680 7C 08 02 A6 */ mflr r0 +/* 8034A724 00347684 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A728 00347688 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A72C 0034768C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A730 00347690 7C 9E 23 78 */ mr r30, r4 +/* 8034A734 00347694 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034A738 00347698 7C 7D 1B 78 */ mr r29, r3 +/* 8034A73C 0034769C 80 84 00 08 */ lwz r4, 8(r4) +/* 8034A740 003476A0 38 84 00 10 */ addi r4, r4, 0x10 +/* 8034A744 003476A4 4B FF 3A 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A748 003476A8 80 9E 00 08 */ lwz r4, 8(r30) +/* 8034A74C 003476AC 38 7D 00 10 */ addi r3, r29, 0x10 +/* 8034A750 003476B0 38 84 00 20 */ addi r4, r4, 0x20 +/* 8034A754 003476B4 4B FF 3A 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A758 003476B8 38 00 00 01 */ li r0, 1 +/* 8034A75C 003476BC 37 FD 00 20 */ addic. r31, r29, 0x20 +/* 8034A760 003476C0 98 1D 00 2C */ stb r0, 0x2c(r29) +/* 8034A764 003476C4 41 82 00 20 */ beq lbl_8034A784 +/* 8034A768 003476C8 7F E3 FB 78 */ mr r3, r31 +/* 8034A76C 003476CC 7F C4 F3 78 */ mr r4, r30 +/* 8034A770 003476D0 4B FF 67 39 */ bl __ct__6CTokenFRC6CToken +/* 8034A774 003476D4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8034A778 003476D8 7F E3 FB 78 */ mr r3, r31 +/* 8034A77C 003476DC 90 1F 00 08 */ stw r0, 8(r31) +/* 8034A780 003476E0 4B FF 66 05 */ bl Lock__6CTokenFv +lbl_8034A784: +/* 8034A784 003476E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A788 003476E8 7F A3 EB 78 */ mr r3, r29 +/* 8034A78C 003476EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A790 003476F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A794 003476F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034A798 003476F8 7C 08 03 A6 */ mtlr r0 +/* 8034A79C 003476FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A7A0 00347700 4E 80 00 20 */ blr + +.global sub_8034a7a4 +sub_8034a7a4: +/* 8034A7A4 00347704 88 6D 9D DE */ lbz r3, lbl_805A899E@sda21(r13) +/* 8034A7A8 00347708 4E 80 00 20 */ blr + +.global sub_8034a7ac +sub_8034a7ac: +/* 8034A7AC 0034770C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A7B0 00347710 7C 08 02 A6 */ mflr r0 +/* 8034A7B4 00347714 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A7B8 00347718 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8034A7BC 0034771C 88 8D 9D DE */ lbz r4, lbl_805A899E@sda21(r13) +/* 8034A7C0 00347720 7C 04 00 40 */ cmplw r4, r0 +/* 8034A7C4 00347724 41 82 00 28 */ beq lbl_8034A7EC +/* 8034A7C8 00347728 28 00 00 00 */ cmplwi r0, 0 +/* 8034A7CC 0034772C 98 6D 9D DE */ stb r3, lbl_805A899E@sda21(r13) +/* 8034A7D0 00347730 41 82 00 10 */ beq lbl_8034A7E0 +/* 8034A7D4 00347734 80 6D A9 F8 */ lwz r3, lbl_805A95B8@sda21(r13) +/* 8034A7D8 00347738 48 02 27 65 */ bl AIRegisterDMACallback +/* 8034A7DC 0034773C 48 00 00 10 */ b lbl_8034A7EC +lbl_8034A7E0: +/* 8034A7E0 00347740 38 60 00 00 */ li r3, 0 +/* 8034A7E4 00347744 48 02 27 59 */ bl AIRegisterDMACallback +/* 8034A7E8 00347748 90 6D A9 F8 */ stw r3, lbl_805A95B8@sda21(r13) +lbl_8034A7EC: +/* 8034A7EC 0034774C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A7F0 00347750 7C 08 03 A6 */ mtlr r0 +/* 8034A7F4 00347754 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A7F8 00347758 4E 80 00 20 */ blr + +.global GetDefaultVolumeScale__9CAudioSysFv +GetDefaultVolumeScale__9CAudioSysFv: +/* 8034A7FC 0034775C A8 6D 9D DC */ lha r3, lbl_805A899C@sda21(r13) +/* 8034A800 00347760 4E 80 00 20 */ blr + +.global SetDefaultVolumeScale__9CAudioSysFs +SetDefaultVolumeScale__9CAudioSysFs: +/* 8034A804 00347764 B0 6D 9D DC */ sth r3, lbl_805A899C@sda21(r13) +/* 8034A808 00347768 4E 80 00 20 */ blr + +.global SetVolumeScale__9CAudioSysFs +SetVolumeScale__9CAudioSysFs: +/* 8034A80C 0034776C B0 6D 9D DA */ sth r3, lbl_805A899A@sda21(r13) +/* 8034A810 00347770 4E 80 00 20 */ blr + +.global sub_8034a814 +sub_8034a814: +/* 8034A814 00347774 88 6D A9 D2 */ lbz r3, lbl_805A9592@sda21(r13) +/* 8034A818 00347778 4E 80 00 20 */ blr + +.global SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes +SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes: +/* 8034A81C 0034777C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A820 00347780 7C 08 02 A6 */ mflr r0 +/* 8034A824 00347784 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A828 00347788 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A82C 0034778C 7C 7F 1B 78 */ mr r31, r3 +/* 8034A830 00347790 2C 1F 00 01 */ cmpwi r31, 1 +/* 8034A834 00347794 41 82 00 2C */ beq lbl_8034A860 +/* 8034A838 00347798 40 80 00 10 */ bge lbl_8034A848 +/* 8034A83C 0034779C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8034A840 003477A0 40 80 00 14 */ bge lbl_8034A854 +/* 8034A844 003477A4 48 00 00 38 */ b lbl_8034A87C +lbl_8034A848: +/* 8034A848 003477A8 2C 1F 00 03 */ cmpwi r31, 3 +/* 8034A84C 003477AC 40 80 00 30 */ bge lbl_8034A87C +/* 8034A850 003477B0 48 00 00 1C */ b lbl_8034A86C +lbl_8034A854: +/* 8034A854 003477B4 38 60 00 00 */ li r3, 0 +/* 8034A858 003477B8 48 00 00 3D */ bl SetStereoMode__9CAudioSysFb +/* 8034A85C 003477BC 48 00 00 20 */ b lbl_8034A87C +lbl_8034A860: +/* 8034A860 003477C0 38 60 00 01 */ li r3, 1 +/* 8034A864 003477C4 48 00 00 31 */ bl SetStereoMode__9CAudioSysFb +/* 8034A868 003477C8 48 00 00 14 */ b lbl_8034A87C +lbl_8034A86C: +/* 8034A86C 003477CC 38 60 00 01 */ li r3, 1 +/* 8034A870 003477D0 48 00 00 25 */ bl SetStereoMode__9CAudioSysFb +/* 8034A874 003477D4 38 60 00 02 */ li r3, 2 +/* 8034A878 003477D8 48 05 1B D1 */ bl sndOutputMode +lbl_8034A87C: +/* 8034A87C 003477DC 93 ED A9 EC */ stw r31, lbl_805A95AC@sda21(r13) +/* 8034A880 003477E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A884 003477E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A888 003477E8 7C 08 03 A6 */ mtlr r0 +/* 8034A88C 003477EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A890 003477F0 4E 80 00 20 */ blr + +.global SetStereoMode__9CAudioSysFb +SetStereoMode__9CAudioSysFb: +/* 8034A894 003477F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A898 003477F8 7C 08 02 A6 */ mflr r0 +/* 8034A89C 003477FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A8A0 00347800 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034A8A4 00347804 41 82 00 18 */ beq lbl_8034A8BC +/* 8034A8A8 00347808 38 60 00 01 */ li r3, 1 +/* 8034A8AC 0034780C 48 05 1B 9D */ bl sndOutputMode +/* 8034A8B0 00347810 38 60 00 01 */ li r3, 1 +/* 8034A8B4 00347814 48 03 97 DD */ bl OSSetSoundMode +/* 8034A8B8 00347818 48 00 00 14 */ b lbl_8034A8CC +lbl_8034A8BC: +/* 8034A8BC 0034781C 38 60 00 00 */ li r3, 0 +/* 8034A8C0 00347820 48 05 1B 89 */ bl sndOutputMode +/* 8034A8C4 00347824 38 60 00 00 */ li r3, 0 +/* 8034A8C8 00347828 48 03 97 C9 */ bl OSSetSoundMode +lbl_8034A8CC: +/* 8034A8CC 0034782C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A8D0 00347830 7C 08 03 A6 */ mtlr r0 +/* 8034A8D4 00347834 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A8D8 00347838 4E 80 00 20 */ blr + +.global SeqVolume__9CAudioSysFUcUsUlUc +SeqVolume__9CAudioSysFUcUsUlUc: +/* 8034A8DC 0034783C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A8E0 00347840 7C 08 02 A6 */ mflr r0 +/* 8034A8E4 00347844 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034A8E8 00347848 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034A8EC 0034784C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A8F0 00347850 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034A8F4 00347854 48 05 18 19 */ bl sndSeqVolume +/* 8034A8F8 00347858 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A8FC 0034785C 7C 08 03 A6 */ mtlr r0 +/* 8034A900 00347860 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A904 00347864 4E 80 00 20 */ blr + +.global SeqStop__9CAudioSysFUl +SeqStop__9CAudioSysFUl: +/* 8034A908 00347868 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A90C 0034786C 7C 08 02 A6 */ mflr r0 +/* 8034A910 00347870 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A914 00347874 48 05 16 E9 */ bl sndSeqStop +/* 8034A918 00347878 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A91C 0034787C 7C 08 03 A6 */ mtlr r0 +/* 8034A920 00347880 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A924 00347884 4E 80 00 20 */ blr + +.global SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc +SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc: +/* 8034A928 00347888 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A92C 0034788C 7C 08 02 A6 */ mflr r0 +/* 8034A930 00347890 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8034A934 00347894 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034A938 00347898 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A93C 0034789C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8034A940 003478A0 48 06 02 A1 */ bl sndSeqPlayEx +/* 8034A944 003478A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A948 003478A8 7C 08 03 A6 */ mtlr r0 +/* 8034A94C 003478AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A950 003478B0 4E 80 00 20 */ blr + +.global S3dFindLowerPriorityHandle__9CAudioSysFUi +S3dFindLowerPriorityHandle__9CAudioSysFUi: +/* 8034A954 003478B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A958 003478B8 7C 08 02 A6 */ mflr r0 +/* 8034A95C 003478BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A960 003478C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A964 003478C4 93 C1 00 08 */ stw r30, 8(r1) +/* 8034A968 003478C8 3B C0 00 00 */ li r30, 0 +/* 8034A96C 003478CC 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034A970 003478D0 8B ED A9 D3 */ lbz r31, lbl_805A9593@sda21(r13) +/* 8034A974 003478D4 80 84 00 0C */ lwz r4, 0xc(r4) +lbl_8034A978: +/* 8034A978 003478D8 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034A97C 003478DC 28 00 00 00 */ cmplwi r0, 0 +/* 8034A980 003478E0 41 82 00 38 */ beq lbl_8034A9B8 +/* 8034A984 003478E4 88 04 00 52 */ lbz r0, 0x52(r4) +/* 8034A988 003478E8 7C 00 18 40 */ cmplw r0, r3 +/* 8034A98C 003478EC 41 81 00 1C */ bgt lbl_8034A9A8 +/* 8034A990 003478F0 88 04 00 51 */ lbz r0, 0x51(r4) +/* 8034A994 003478F4 28 00 00 00 */ cmplwi r0, 0 +/* 8034A998 003478F8 40 82 00 10 */ bne lbl_8034A9A8 +/* 8034A99C 003478FC 7F C3 F3 78 */ mr r3, r30 +/* 8034A9A0 00347900 48 00 02 39 */ bl S3dRemoveEmitter__9CAudioSysFUi +/* 8034A9A4 00347904 48 00 00 14 */ b lbl_8034A9B8 +lbl_8034A9A8: +/* 8034A9A8 00347908 3B DE 00 01 */ addi r30, r30, 1 +/* 8034A9AC 0034790C 38 84 00 54 */ addi r4, r4, 0x54 +/* 8034A9B0 00347910 7C 1E F8 00 */ cmpw r30, r31 +/* 8034A9B4 00347914 41 80 FF C4 */ blt lbl_8034A978 +lbl_8034A9B8: +/* 8034A9B8 00347918 7C 1E F8 00 */ cmpw r30, r31 +/* 8034A9BC 0034791C 38 60 FF FF */ li r3, -1 +/* 8034A9C0 00347920 40 80 00 08 */ bge lbl_8034A9C8 +/* 8034A9C4 00347924 7F C3 F3 78 */ mr r3, r30 +lbl_8034A9C8: +/* 8034A9C8 00347928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A9CC 0034792C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A9D0 00347930 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034A9D4 00347934 7C 08 03 A6 */ mtlr r0 +/* 8034A9D8 00347938 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A9DC 0034793C 4E 80 00 20 */ blr + +.global S3dFindUnusedHandle__9CAudioSysFv +S3dFindUnusedHandle__9CAudioSysFv: +/* 8034A9E0 00347940 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034A9E4 00347944 38 60 00 00 */ li r3, 0 +/* 8034A9E8 00347948 88 AD A9 D3 */ lbz r5, lbl_805A9593@sda21(r13) +/* 8034A9EC 0034794C 80 84 00 0C */ lwz r4, 0xc(r4) +lbl_8034A9F0: +/* 8034A9F0 00347950 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034A9F4 00347954 28 00 00 00 */ cmplwi r0, 0 +/* 8034A9F8 00347958 41 82 00 14 */ beq lbl_8034AA0C +/* 8034A9FC 0034795C 38 63 00 01 */ addi r3, r3, 1 +/* 8034AA00 00347960 38 84 00 54 */ addi r4, r4, 0x54 +/* 8034AA04 00347964 7C 03 28 00 */ cmpw r3, r5 +/* 8034AA08 00347968 41 80 FF E8 */ blt lbl_8034A9F0 +lbl_8034AA0C: +/* 8034AA0C 0034796C 7C 03 28 00 */ cmpw r3, r5 +/* 8034AA10 00347970 4D 80 00 20 */ bltlr +/* 8034AA14 00347974 38 60 FF FF */ li r3, -1 +/* 8034AA18 00347978 4E 80 00 20 */ blr + +.global S3dEmitterVoiceID__9CAudioSysFUi +S3dEmitterVoiceID__9CAudioSysFUi: +/* 8034AA1C 0034797C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AA20 00347980 7C 08 02 A6 */ mflr r0 +/* 8034AA24 00347984 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AA28 00347988 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AA2C 0034798C 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AA30 00347990 40 82 00 0C */ bne lbl_8034AA3C +/* 8034AA34 00347994 38 60 00 00 */ li r3, 0 +/* 8034AA38 00347998 48 00 00 2C */ b lbl_8034AA64 +lbl_8034AA3C: +/* 8034AA3C 0034799C 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034AA40 003479A0 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AA44 003479A4 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8034AA48 003479A8 7C 63 02 14 */ add r3, r3, r0 +/* 8034AA4C 003479AC 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8034AA50 003479B0 28 00 00 00 */ cmplwi r0, 0 +/* 8034AA54 003479B4 41 82 00 0C */ beq lbl_8034AA60 +/* 8034AA58 003479B8 48 06 4D B9 */ bl sndEmitterVoiceID +/* 8034AA5C 003479BC 48 00 00 08 */ b lbl_8034AA64 +lbl_8034AA60: +/* 8034AA60 003479C0 38 60 FF FF */ li r3, -1 +lbl_8034AA64: +/* 8034AA64 003479C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AA68 003479C8 7C 08 03 A6 */ mtlr r0 +/* 8034AA6C 003479CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AA70 003479D0 4E 80 00 20 */ blr + +.global S3dCheckEmitter__9CAudioSysFUi +S3dCheckEmitter__9CAudioSysFUi: +/* 8034AA74 003479D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AA78 003479D8 7C 08 02 A6 */ mflr r0 +/* 8034AA7C 003479DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AA80 003479E0 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AA84 003479E4 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AA88 003479E8 40 82 00 0C */ bne lbl_8034AA94 +/* 8034AA8C 003479EC 38 60 00 00 */ li r3, 0 +/* 8034AA90 003479F0 48 00 00 2C */ b lbl_8034AABC +lbl_8034AA94: +/* 8034AA94 003479F4 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034AA98 003479F8 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AA9C 003479FC 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8034AAA0 00347A00 7C 63 02 14 */ add r3, r3, r0 +/* 8034AAA4 00347A04 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8034AAA8 00347A08 28 00 00 00 */ cmplwi r0, 0 +/* 8034AAAC 00347A0C 41 82 00 0C */ beq lbl_8034AAB8 +/* 8034AAB0 00347A10 48 06 48 51 */ bl sndCheckEmitter +/* 8034AAB4 00347A14 48 00 00 08 */ b lbl_8034AABC +lbl_8034AAB8: +/* 8034AAB8 00347A18 38 60 00 00 */ li r3, 0 +lbl_8034AABC: +/* 8034AABC 00347A1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AAC0 00347A20 7C 08 03 A6 */ mtlr r0 +/* 8034AAC4 00347A24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AAC8 00347A28 4E 80 00 20 */ blr + +.global S3dFlushUnusedEmitters__9CAudioSysFv +S3dFlushUnusedEmitters__9CAudioSysFv: +/* 8034AACC 00347A2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AAD0 00347A30 7C 08 02 A6 */ mflr r0 +/* 8034AAD4 00347A34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AAD8 00347A38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034AADC 00347A3C 3B E0 00 00 */ li r31, 0 +/* 8034AAE0 00347A40 93 C1 00 08 */ stw r30, 8(r1) +/* 8034AAE4 00347A44 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034AAE8 00347A48 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 8034AAEC 00347A4C 48 00 00 3C */ b lbl_8034AB28 +lbl_8034AAF0: +/* 8034AAF0 00347A50 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 8034AAF4 00347A54 28 00 00 00 */ cmplwi r0, 0 +/* 8034AAF8 00347A58 41 82 00 2C */ beq lbl_8034AB24 +/* 8034AAFC 00347A5C 7F C3 F3 78 */ mr r3, r30 +/* 8034AB00 00347A60 48 06 48 01 */ bl sndCheckEmitter +/* 8034AB04 00347A64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034AB08 00347A68 40 82 00 1C */ bne lbl_8034AB24 +/* 8034AB0C 00347A6C 88 1E 00 51 */ lbz r0, 0x51(r30) +/* 8034AB10 00347A70 28 00 00 00 */ cmplwi r0, 0 +/* 8034AB14 00347A74 40 82 00 10 */ bne lbl_8034AB24 +/* 8034AB18 00347A78 9B FE 00 50 */ stb r31, 0x50(r30) +/* 8034AB1C 00347A7C 7F C3 F3 78 */ mr r3, r30 +/* 8034AB20 00347A80 48 06 4C 49 */ bl sndRemoveEmitter +lbl_8034AB24: +/* 8034AB24 00347A84 3B DE 00 54 */ addi r30, r30, 0x54 +lbl_8034AB28: +/* 8034AB28 00347A88 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034AB2C 00347A8C 80 03 00 04 */ lwz r0, 4(r3) +/* 8034AB30 00347A90 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8034AB34 00347A94 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8034AB38 00347A98 7C 03 02 14 */ add r0, r3, r0 +/* 8034AB3C 00347A9C 7C 1E 00 40 */ cmplw r30, r0 +/* 8034AB40 00347AA0 40 82 FF B0 */ bne lbl_8034AAF0 +/* 8034AB44 00347AA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AB48 00347AA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034AB4C 00347AAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034AB50 00347AB0 7C 08 03 A6 */ mtlr r0 +/* 8034AB54 00347AB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AB58 00347AB8 4E 80 00 20 */ blr + +.global S3dFlushAllEmitters__9CAudioSysFv +S3dFlushAllEmitters__9CAudioSysFv: +/* 8034AB5C 00347ABC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AB60 00347AC0 7C 08 02 A6 */ mflr r0 +/* 8034AB64 00347AC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AB68 00347AC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034AB6C 00347ACC 3B E0 00 00 */ li r31, 0 +/* 8034AB70 00347AD0 93 C1 00 08 */ stw r30, 8(r1) +/* 8034AB74 00347AD4 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034AB78 00347AD8 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 8034AB7C 00347ADC 48 00 00 20 */ b lbl_8034AB9C +lbl_8034AB80: +/* 8034AB80 00347AE0 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 8034AB84 00347AE4 28 00 00 00 */ cmplwi r0, 0 +/* 8034AB88 00347AE8 41 82 00 10 */ beq lbl_8034AB98 +/* 8034AB8C 00347AEC 9B FE 00 50 */ stb r31, 0x50(r30) +/* 8034AB90 00347AF0 7F C3 F3 78 */ mr r3, r30 +/* 8034AB94 00347AF4 48 06 4B D5 */ bl sndRemoveEmitter +lbl_8034AB98: +/* 8034AB98 00347AF8 3B DE 00 54 */ addi r30, r30, 0x54 +lbl_8034AB9C: +/* 8034AB9C 00347AFC 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034ABA0 00347B00 80 03 00 04 */ lwz r0, 4(r3) +/* 8034ABA4 00347B04 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8034ABA8 00347B08 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8034ABAC 00347B0C 7C 03 02 14 */ add r0, r3, r0 +/* 8034ABB0 00347B10 7C 1E 00 40 */ cmplw r30, r0 +/* 8034ABB4 00347B14 40 82 FF CC */ bne lbl_8034AB80 +/* 8034ABB8 00347B18 38 00 00 00 */ li r0, 0 +/* 8034ABBC 00347B1C 90 0D A9 E8 */ stw r0, lbl_805A95A8@sda21(r13) +/* 8034ABC0 00347B20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034ABC4 00347B24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034ABC8 00347B28 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034ABCC 00347B2C 7C 08 03 A6 */ mtlr r0 +/* 8034ABD0 00347B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034ABD4 00347B34 4E 80 00 20 */ blr + +.global S3dRemoveEmitter__9CAudioSysFUi +S3dRemoveEmitter__9CAudioSysFUi: +/* 8034ABD8 00347B38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034ABDC 00347B3C 7C 08 02 A6 */ mflr r0 +/* 8034ABE0 00347B40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034ABE4 00347B44 3C 03 00 01 */ addis r0, r3, 1 +/* 8034ABE8 00347B48 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034ABEC 00347B4C 40 82 00 0C */ bne lbl_8034ABF8 +/* 8034ABF0 00347B50 38 60 00 00 */ li r3, 0 +/* 8034ABF4 00347B54 48 00 00 3C */ b lbl_8034AC30 +lbl_8034ABF8: +/* 8034ABF8 00347B58 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034ABFC 00347B5C 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AC00 00347B60 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8034AC04 00347B64 7C 84 02 14 */ add r4, r4, r0 +/* 8034AC08 00347B68 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034AC0C 00347B6C 28 00 00 00 */ cmplwi r0, 0 +/* 8034AC10 00347B70 41 82 00 1C */ beq lbl_8034AC2C +/* 8034AC14 00347B74 38 00 00 00 */ li r0, 0 +/* 8034AC18 00347B78 98 04 00 50 */ stb r0, 0x50(r4) +/* 8034AC1C 00347B7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13) +/* 8034AC20 00347B80 7C 83 23 78 */ mr r3, r4 +/* 8034AC24 00347B84 48 06 4B 45 */ bl sndRemoveEmitter +/* 8034AC28 00347B88 48 00 00 08 */ b lbl_8034AC30 +lbl_8034AC2C: +/* 8034AC2C 00347B8C 38 60 00 01 */ li r3, 1 +lbl_8034AC30: +/* 8034AC30 00347B90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AC34 00347B94 7C 08 03 A6 */ mtlr r0 +/* 8034AC38 00347B98 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AC3C 00347B9C 4E 80 00 20 */ blr + +.global S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc +S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc: +/* 8034AC40 00347BA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034AC44 00347BA4 7C 08 02 A6 */ mflr r0 +/* 8034AC48 00347BA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034AC4C 00347BAC 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AC50 00347BB0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AC54 00347BB4 40 82 00 0C */ bne lbl_8034AC60 +/* 8034AC58 00347BB8 38 60 00 00 */ li r3, 0 +/* 8034AC5C 00347BBC 48 00 00 58 */ b lbl_8034ACB4 +lbl_8034AC60: +/* 8034AC60 00347BC0 80 ED A9 E0 */ lwz r7, lbl_805A95A0@sda21(r13) +/* 8034AC64 00347BC4 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AC68 00347BC8 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8034AC6C 00347BCC 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034AC70 00347BD0 80 67 00 0C */ lwz r3, 0xc(r7) +/* 8034AC74 00347BD4 38 E0 00 00 */ li r7, 0 +/* 8034AC78 00347BD8 C0 84 00 04 */ lfs f4, 4(r4) +/* 8034AC7C 00347BDC C0 64 00 08 */ lfs f3, 8(r4) +/* 8034AC80 00347BE0 7C 63 02 14 */ add r3, r3, r0 +/* 8034AC84 00347BE4 C0 45 00 00 */ lfs f2, 0(r5) +/* 8034AC88 00347BE8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8034AC8C 00347BEC C0 25 00 04 */ lfs f1, 4(r5) +/* 8034AC90 00347BF0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8034AC94 00347BF4 38 A1 00 08 */ addi r5, r1, 8 +/* 8034AC98 00347BF8 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8034AC9C 00347BFC D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8034ACA0 00347C00 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8034ACA4 00347C04 D0 41 00 08 */ stfs f2, 8(r1) +/* 8034ACA8 00347C08 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8034ACAC 00347C0C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034ACB0 00347C10 48 06 45 21 */ bl sndUpdateEmitter +lbl_8034ACB4: +/* 8034ACB4 00347C14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034ACB8 00347C18 7C 08 03 A6 */ mtlr r0 +/* 8034ACBC 00347C1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034ACC0 00347C20 4E 80 00 20 */ blr + +.global S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO +S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO: +/* 8034ACC4 00347C24 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034ACC8 00347C28 7C 08 02 A6 */ mflr r0 +/* 8034ACCC 00347C2C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034ACD0 00347C30 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8034ACD4 00347C34 7C 7B 1B 78 */ mr r27, r3 +/* 8034ACD8 00347C38 7C 9C 23 78 */ mr r28, r4 +/* 8034ACDC 00347C3C 7C BD 2B 78 */ mr r29, r5 +/* 8034ACE0 00347C40 80 CD A9 E8 */ lwz r6, lbl_805A95A8@sda21(r13) +/* 8034ACE4 00347C44 3C 06 00 01 */ addis r0, r6, 1 +/* 8034ACE8 00347C48 7C DE 33 78 */ mr r30, r6 +/* 8034ACEC 00347C4C 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034ACF0 00347C50 40 82 00 24 */ bne lbl_8034AD14 +/* 8034ACF4 00347C54 88 7B 00 29 */ lbz r3, 0x29(r27) +/* 8034ACF8 00347C58 4B FF FC 5D */ bl S3dFindLowerPriorityHandle__9CAudioSysFUi +/* 8034ACFC 00347C5C 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AD00 00347C60 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AD04 00347C64 40 82 00 0C */ bne lbl_8034AD10 +/* 8034AD08 00347C68 38 60 FF FF */ li r3, -1 +/* 8034AD0C 00347C6C 48 00 01 18 */ b lbl_8034AE24 +lbl_8034AD10: +/* 8034AD10 00347C70 7C 7E 1B 78 */ mr r30, r3 +lbl_8034AD14: +/* 8034AD14 00347C74 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034AD18 00347C78 1C 7E 00 54 */ mulli r3, r30, 0x54 +/* 8034AD1C 00347C7C 88 BB 00 26 */ lbz r5, 0x26(r27) +/* 8034AD20 00347C80 38 00 00 7F */ li r0, 0x7f +/* 8034AD24 00347C84 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8034AD28 00347C88 C0 BB 00 00 */ lfs f5, 0(r27) +/* 8034AD2C 00347C8C 28 05 00 7F */ cmplwi r5, 0x7f +/* 8034AD30 00347C90 C0 9B 00 04 */ lfs f4, 4(r27) +/* 8034AD34 00347C94 7F E4 1A 14 */ add r31, r4, r3 +/* 8034AD38 00347C98 C0 7B 00 08 */ lfs f3, 8(r27) +/* 8034AD3C 00347C9C C0 5B 00 0C */ lfs f2, 0xc(r27) +/* 8034AD40 00347CA0 C0 3B 00 10 */ lfs f1, 0x10(r27) +/* 8034AD44 00347CA4 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 8034AD48 00347CA8 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 8034AD4C 00347CAC D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8034AD50 00347CB0 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8034AD54 00347CB4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8034AD58 00347CB8 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8034AD5C 00347CBC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8034AD60 00347CC0 41 81 00 08 */ bgt lbl_8034AD68 +/* 8034AD64 00347CC4 7C A0 2B 78 */ mr r0, r5 +lbl_8034AD68: +/* 8034AD68 00347CC8 A8 CD 9D DA */ lha r6, lbl_805A899A@sda21(r13) +/* 8034AD6C 00347CCC 3C 60 81 02 */ lis r3, 0x81020409@ha +/* 8034AD70 00347CD0 38 83 04 09 */ addi r4, r3, 0x81020409@l +/* 8034AD74 00347CD4 88 BB 00 27 */ lbz r5, 0x27(r27) +/* 8034AD78 00347CD8 7C 66 01 D6 */ mullw r3, r6, r0 +/* 8034AD7C 00347CDC 38 00 00 7F */ li r0, 0x7f +/* 8034AD80 00347CE0 28 05 00 7F */ cmplwi r5, 0x7f +/* 8034AD84 00347CE4 7C 84 18 96 */ mulhw r4, r4, r3 +/* 8034AD88 00347CE8 7C 64 1A 14 */ add r3, r4, r3 +/* 8034AD8C 00347CEC 7C 63 36 70 */ srawi r3, r3, 6 +/* 8034AD90 00347CF0 54 64 0F FE */ srwi r4, r3, 0x1f +/* 8034AD94 00347CF4 7C 63 22 14 */ add r3, r3, r4 +/* 8034AD98 00347CF8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034AD9C 00347CFC 7C 69 07 74 */ extsb r9, r3 +/* 8034ADA0 00347D00 41 81 00 08 */ bgt lbl_8034ADA8 +/* 8034ADA4 00347D04 7C A0 2B 78 */ mr r0, r5 +lbl_8034ADA8: +/* 8034ADA8 00347D08 7C 06 01 D6 */ mullw r0, r6, r0 +/* 8034ADAC 00347D0C 3C 60 81 02 */ lis r3, 0x81020409@ha +/* 8034ADB0 00347D10 38 A0 00 00 */ li r5, 0 +/* 8034ADB4 00347D14 38 83 04 09 */ addi r4, r3, 0x81020409@l +/* 8034ADB8 00347D18 90 A1 00 08 */ stw r5, 8(r1) +/* 8034ADBC 00347D1C 7F E3 FB 78 */ mr r3, r31 +/* 8034ADC0 00347D20 7C A4 00 96 */ mulhw r5, r4, r0 +/* 8034ADC4 00347D24 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8034ADC8 00347D28 7F 88 E3 78 */ mr r8, r28 +/* 8034ADCC 00347D2C A0 FB 00 24 */ lhz r7, 0x24(r27) +/* 8034ADD0 00347D30 38 81 00 1C */ addi r4, r1, 0x1c +/* 8034ADD4 00347D34 C0 3B 00 18 */ lfs f1, 0x18(r27) +/* 8034ADD8 00347D38 7C 05 02 14 */ add r0, r5, r0 +/* 8034ADDC 00347D3C C0 5B 00 1C */ lfs f2, 0x1c(r27) +/* 8034ADE0 00347D40 7C 00 36 70 */ srawi r0, r0, 6 +/* 8034ADE4 00347D44 80 DB 00 20 */ lwz r6, 0x20(r27) +/* 8034ADE8 00347D48 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8034ADEC 00347D4C 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 8034ADF0 00347D50 7C 00 2A 14 */ add r0, r0, r5 +/* 8034ADF4 00347D54 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034ADF8 00347D58 54 0A 06 3E */ clrlwi r10, r0, 0x18 +/* 8034ADFC 00347D5C 48 06 49 1D */ bl sndAddEmitterParaEx +/* 8034AE00 00347D60 38 00 00 01 */ li r0, 1 +/* 8034AE04 00347D64 98 1F 00 50 */ stb r0, 0x50(r31) +/* 8034AE08 00347D68 88 1B 00 28 */ lbz r0, 0x28(r27) +/* 8034AE0C 00347D6C 98 1F 00 51 */ stb r0, 0x51(r31) +/* 8034AE10 00347D70 88 1B 00 29 */ lbz r0, 0x29(r27) +/* 8034AE14 00347D74 98 1F 00 52 */ stb r0, 0x52(r31) +/* 8034AE18 00347D78 4B FF FB C9 */ bl S3dFindUnusedHandle__9CAudioSysFv +/* 8034AE1C 00347D7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13) +/* 8034AE20 00347D80 7F C3 F3 78 */ mr r3, r30 +lbl_8034AE24: +/* 8034AE24 00347D84 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8034AE28 00347D88 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034AE2C 00347D8C 7C 08 03 A6 */ mtlr r0 +/* 8034AE30 00347D90 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034AE34 00347D94 4E 80 00 20 */ blr + +.global S3dRemoveListener__9CAudioSysFv +S3dRemoveListener__9CAudioSysFv: +/* 8034AE38 00347D98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AE3C 00347D9C 7C 08 02 A6 */ mflr r0 +/* 8034AE40 00347DA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AE44 00347DA4 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) +/* 8034AE48 00347DA8 28 00 00 00 */ cmplwi r0, 0 +/* 8034AE4C 00347DAC 41 82 00 18 */ beq lbl_8034AE64 +/* 8034AE50 00347DB0 38 00 00 00 */ li r0, 0 +/* 8034AE54 00347DB4 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034AE58 00347DB8 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) +/* 8034AE5C 00347DBC 48 06 4F 31 */ bl sndRemoveListener +/* 8034AE60 00347DC0 48 00 00 08 */ b lbl_8034AE68 +lbl_8034AE64: +/* 8034AE64 00347DC4 38 60 00 00 */ li r3, 0 +lbl_8034AE68: +/* 8034AE68 00347DC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AE6C 00347DCC 7C 08 03 A6 */ mtlr r0 +/* 8034AE70 00347DD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AE74 00347DD4 4E 80 00 20 */ blr + +.global S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc +S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc: +/* 8034AE78 00347DD8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034AE7C 00347DDC 7C 08 02 A6 */ mflr r0 +/* 8034AE80 00347DE0 7C E8 3B 78 */ mr r8, r7 +/* 8034AE84 00347DE4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034AE88 00347DE8 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) +/* 8034AE8C 00347DEC 28 00 00 00 */ cmplwi r0, 0 +/* 8034AE90 00347DF0 41 82 00 88 */ beq lbl_8034AF18 +/* 8034AE94 00347DF4 C1 63 00 00 */ lfs f11, 0(r3) +/* 8034AE98 00347DF8 38 E1 00 08 */ addi r7, r1, 8 +/* 8034AE9C 00347DFC C1 43 00 04 */ lfs f10, 4(r3) +/* 8034AEA0 00347E00 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8034AEA4 00347E04 C1 23 00 08 */ lfs f9, 8(r3) +/* 8034AEA8 00347E08 39 20 00 00 */ li r9, 0 +/* 8034AEAC 00347E0C C1 04 00 00 */ lfs f8, 0(r4) +/* 8034AEB0 00347E10 C0 E4 00 04 */ lfs f7, 4(r4) +/* 8034AEB4 00347E14 C0 C4 00 08 */ lfs f6, 8(r4) +/* 8034AEB8 00347E18 38 81 00 2C */ addi r4, r1, 0x2c +/* 8034AEBC 00347E1C C0 A5 00 00 */ lfs f5, 0(r5) +/* 8034AEC0 00347E20 C0 85 00 04 */ lfs f4, 4(r5) +/* 8034AEC4 00347E24 C0 65 00 08 */ lfs f3, 8(r5) +/* 8034AEC8 00347E28 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8034AECC 00347E2C C0 46 00 00 */ lfs f2, 0(r6) +/* 8034AED0 00347E30 C0 26 00 04 */ lfs f1, 4(r6) +/* 8034AED4 00347E34 C0 06 00 08 */ lfs f0, 8(r6) +/* 8034AED8 00347E38 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8034AEDC 00347E3C D1 61 00 2C */ stfs f11, 0x2c(r1) +/* 8034AEE0 00347E40 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034AEE4 00347E44 D1 41 00 30 */ stfs f10, 0x30(r1) +/* 8034AEE8 00347E48 D1 21 00 34 */ stfs f9, 0x34(r1) +/* 8034AEEC 00347E4C D1 01 00 20 */ stfs f8, 0x20(r1) +/* 8034AEF0 00347E50 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 8034AEF4 00347E54 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 8034AEF8 00347E58 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8034AEFC 00347E5C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8034AF00 00347E60 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8034AF04 00347E64 D0 41 00 08 */ stfs f2, 8(r1) +/* 8034AF08 00347E68 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8034AF0C 00347E6C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034AF10 00347E70 48 06 4A 59 */ bl sndUpdateListener +/* 8034AF14 00347E74 48 00 00 08 */ b lbl_8034AF1C +lbl_8034AF18: +/* 8034AF18 00347E78 38 60 00 00 */ li r3, 0 +lbl_8034AF1C: +/* 8034AF1C 00347E7C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034AF20 00347E80 7C 08 03 A6 */ mtlr r0 +/* 8034AF24 00347E84 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034AF28 00347E88 4E 80 00 20 */ blr + +.global S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc +S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc: +/* 8034AF2C 00347E8C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8034AF30 00347E90 7C 08 02 A6 */ mflr r0 +/* 8034AF34 00347E94 90 01 00 94 */ stw r0, 0x94(r1) +/* 8034AF38 00347E98 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8034AF3C 00347E9C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8034AF40 00347EA0 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 8034AF44 00347EA4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8034AF48 00347EA8 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8034AF4C 00347EAC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 8034AF50 00347EB0 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 8034AF54 00347EB4 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 8034AF58 00347EB8 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8034AF5C 00347EBC 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) +/* 8034AF60 00347EC0 FF 80 08 90 */ fmr f28, f1 +/* 8034AF64 00347EC4 FF A0 10 90 */ fmr f29, f2 +/* 8034AF68 00347EC8 7C 7A 1B 78 */ mr r26, r3 +/* 8034AF6C 00347ECC FF C0 18 90 */ fmr f30, f3 +/* 8034AF70 00347ED0 28 00 00 00 */ cmplwi r0, 0 +/* 8034AF74 00347ED4 7C 9B 23 78 */ mr r27, r4 +/* 8034AF78 00347ED8 7C BC 2B 78 */ mr r28, r5 +/* 8034AF7C 00347EDC 7C DD 33 78 */ mr r29, r6 +/* 8034AF80 00347EE0 7C FE 3B 78 */ mr r30, r7 +/* 8034AF84 00347EE4 7D 1F 43 78 */ mr r31, r8 +/* 8034AF88 00347EE8 41 82 00 08 */ beq lbl_8034AF90 +/* 8034AF8C 00347EEC 4B FF FE AD */ bl S3dRemoveListener__9CAudioSysFv +lbl_8034AF90: +/* 8034AF90 00347EF0 C3 FA 00 00 */ lfs f31, 0(r26) +/* 8034AF94 00347EF4 38 00 00 01 */ li r0, 1 +/* 8034AF98 00347EF8 C1 BA 00 04 */ lfs f13, 4(r26) +/* 8034AF9C 00347EFC FC 20 E0 90 */ fmr f1, f28 +/* 8034AFA0 00347F00 C1 9A 00 08 */ lfs f12, 8(r26) +/* 8034AFA4 00347F04 FC 40 E8 90 */ fmr f2, f29 +/* 8034AFA8 00347F08 C1 7B 00 00 */ lfs f11, 0(r27) +/* 8034AFAC 00347F0C FC 60 F0 90 */ fmr f3, f30 +/* 8034AFB0 00347F10 C1 5B 00 04 */ lfs f10, 4(r27) +/* 8034AFB4 00347F14 C1 3B 00 08 */ lfs f9, 8(r27) +/* 8034AFB8 00347F18 7F C8 F3 78 */ mr r8, r30 +/* 8034AFBC 00347F1C C1 1C 00 00 */ lfs f8, 0(r28) +/* 8034AFC0 00347F20 38 81 00 2C */ addi r4, r1, 0x2c +/* 8034AFC4 00347F24 C0 FC 00 04 */ lfs f7, 4(r28) +/* 8034AFC8 00347F28 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8034AFCC 00347F2C C0 DC 00 08 */ lfs f6, 8(r28) +/* 8034AFD0 00347F30 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8034AFD4 00347F34 C0 BD 00 00 */ lfs f5, 0(r29) +/* 8034AFD8 00347F38 38 E1 00 08 */ addi r7, r1, 8 +/* 8034AFDC 00347F3C C0 9D 00 04 */ lfs f4, 4(r29) +/* 8034AFE0 00347F40 57 E9 06 3E */ clrlwi r9, r31, 0x18 +/* 8034AFE4 00347F44 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8034AFE8 00347F48 39 40 00 00 */ li r10, 0 +/* 8034AFEC 00347F4C D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 8034AFF0 00347F50 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034AFF4 00347F54 D1 A1 00 30 */ stfs f13, 0x30(r1) +/* 8034AFF8 00347F58 D1 81 00 34 */ stfs f12, 0x34(r1) +/* 8034AFFC 00347F5C D1 61 00 20 */ stfs f11, 0x20(r1) +/* 8034B000 00347F60 D1 41 00 24 */ stfs f10, 0x24(r1) +/* 8034B004 00347F64 D1 21 00 28 */ stfs f9, 0x28(r1) +/* 8034B008 00347F68 D1 01 00 14 */ stfs f8, 0x14(r1) +/* 8034B00C 00347F6C D0 E1 00 18 */ stfs f7, 0x18(r1) +/* 8034B010 00347F70 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 8034B014 00347F74 D0 A1 00 08 */ stfs f5, 8(r1) +/* 8034B018 00347F78 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8034B01C 00347F7C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034B020 00347F80 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) +/* 8034B024 00347F84 48 06 4B 49 */ bl sndAddListener +/* 8034B028 00347F88 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8034B02C 00347F8C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8034B030 00347F90 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8034B034 00347F94 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8034B038 00347F98 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8034B03C 00347F9C CB A1 00 60 */ lfd f29, 0x60(r1) +/* 8034B040 00347FA0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 8034B044 00347FA4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 8034B048 00347FA8 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8034B04C 00347FAC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8034B050 00347FB0 7C 08 03 A6 */ mtlr r0 +/* 8034B054 00347FB4 38 21 00 90 */ addi r1, r1, 0x90 +/* 8034B058 00347FB8 4E 80 00 20 */ blr + +.global "FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034B05C 00347FBC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B060 00347FC0 7C 08 02 A6 */ mflr r0 +/* 8034B064 00347FC4 7C 85 23 78 */ mr r5, r4 +/* 8034B068 00347FC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B06C 00347FCC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B070 00347FD0 7C 7F 1B 78 */ mr r31, r3 +/* 8034B074 00347FD4 80 CD A9 DC */ lwz r6, lbl_805A959C@sda21(r13) +/* 8034B078 00347FD8 80 06 00 04 */ lwz r0, 4(r6) +/* 8034B07C 00347FDC 2C 00 00 00 */ cmpwi r0, 0 +/* 8034B080 00347FE0 41 81 00 20 */ bgt lbl_8034B0A0 +/* 8034B084 00347FE4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B088 00347FE8 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B08C 00347FEC 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B090 00347FF0 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B094 00347FF4 38 03 00 01 */ addi r0, r3, 1 +/* 8034B098 00347FF8 90 04 00 04 */ stw r0, 4(r4) +/* 8034B09C 00347FFC 48 00 00 7C */ b lbl_8034B118 +lbl_8034B0A0: +/* 8034B0A0 00348000 7C C4 33 78 */ mr r4, r6 +/* 8034B0A4 00348004 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B0A8 00348008 48 00 00 85 */ bl sub_8034b12c +/* 8034B0AC 0034800C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13) +/* 8034B0B0 00348010 38 80 00 00 */ li r4, 0 +/* 8034B0B4 00348014 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8034B0B8 00348018 38 03 00 08 */ addi r0, r3, 8 +/* 8034B0BC 0034801C 90 81 00 08 */ stw r4, 8(r1) +/* 8034B0C0 00348020 7C 05 20 40 */ cmplw r5, r4 +/* 8034B0C4 00348024 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034B0C8 00348028 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034B0CC 0034802C 40 82 00 0C */ bne lbl_8034B0D8 +/* 8034B0D0 00348030 7C 03 00 40 */ cmplw r3, r0 +/* 8034B0D4 00348034 41 82 00 08 */ beq lbl_8034B0DC +lbl_8034B0D8: +/* 8034B0D8 00348038 38 80 00 01 */ li r4, 1 +lbl_8034B0DC: +/* 8034B0DC 0034803C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034B0E0 00348040 41 82 00 20 */ beq lbl_8034B100 +/* 8034B0E4 00348044 80 05 00 20 */ lwz r0, 0x20(r5) +/* 8034B0E8 00348048 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B0EC 0034804C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B0F0 00348050 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B0F4 00348054 38 03 00 01 */ addi r0, r3, 1 +/* 8034B0F8 00348058 90 04 00 04 */ stw r0, 4(r4) +/* 8034B0FC 0034805C 48 00 00 1C */ b lbl_8034B118 +lbl_8034B100: +/* 8034B100 00348060 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B104 00348064 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B108 00348068 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B10C 0034806C 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B110 00348070 38 03 00 01 */ addi r0, r3, 1 +/* 8034B114 00348074 90 04 00 04 */ stw r0, 4(r4) +lbl_8034B118: +/* 8034B118 00348078 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B11C 0034807C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B120 00348080 7C 08 03 A6 */ mtlr r0 +/* 8034B124 00348084 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B128 00348088 4E 80 00 20 */ blr + +.global sub_8034b12c +sub_8034b12c: +/* 8034B12C 0034808C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B130 00348090 7C 08 02 A6 */ mflr r0 +/* 8034B134 00348094 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B138 00348098 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034B13C 0034809C 7C 9F 23 78 */ mr r31, r4 +/* 8034B140 003480A0 7C A4 2B 78 */ mr r4, r5 +/* 8034B144 003480A4 93 C1 00 08 */ stw r30, 8(r1) +/* 8034B148 003480A8 7C 7E 1B 78 */ mr r30, r3 +/* 8034B14C 003480AC 7F E3 FB 78 */ mr r3, r31 +/* 8034B150 003480B0 48 00 00 29 */ bl sub_8034b178 +/* 8034B154 003480B4 90 7E 00 00 */ stw r3, 0(r30) +/* 8034B158 003480B8 38 1F 00 08 */ addi r0, r31, 8 +/* 8034B15C 003480BC 90 1E 00 04 */ stw r0, 4(r30) +/* 8034B160 003480C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B164 003480C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034B168 003480C8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034B16C 003480CC 7C 08 03 A6 */ mtlr r0 +/* 8034B170 003480D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B174 003480D4 4E 80 00 20 */ blr + +.global sub_8034b178 +sub_8034b178: +/* 8034B178 003480D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B17C 003480DC 7C 08 02 A6 */ mflr r0 +/* 8034B180 003480E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B184 003480E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B188 003480E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034B18C 003480EC 3B C0 00 00 */ li r30, 0 +/* 8034B190 003480F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034B194 003480F4 7C 9D 23 78 */ mr r29, r4 +/* 8034B198 003480F8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034B19C 003480FC 7C 7C 1B 78 */ mr r28, r3 +/* 8034B1A0 00348100 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034B1A4 00348104 48 00 00 2C */ b lbl_8034B1D0 +lbl_8034B1A8: +/* 8034B1A8 00348108 7F A5 EB 78 */ mr r5, r29 +/* 8034B1AC 0034810C 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B1B0 00348110 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034B1B4 00348114 4B CD F5 75 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B1B8 00348118 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B1BC 0034811C 40 82 00 10 */ bne lbl_8034B1CC +/* 8034B1C0 00348120 7F FE FB 78 */ mr r30, r31 +/* 8034B1C4 00348124 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034B1C8 00348128 48 00 00 08 */ b lbl_8034B1D0 +lbl_8034B1CC: +/* 8034B1CC 0034812C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034B1D0: +/* 8034B1D0 00348130 28 1F 00 00 */ cmplwi r31, 0 +/* 8034B1D4 00348134 40 82 FF D4 */ bne lbl_8034B1A8 +/* 8034B1D8 00348138 28 1E 00 00 */ cmplwi r30, 0 +/* 8034B1DC 0034813C 3B E0 00 00 */ li r31, 0 +/* 8034B1E0 00348140 41 82 00 1C */ beq lbl_8034B1FC +/* 8034B1E4 00348144 7F A4 EB 78 */ mr r4, r29 +/* 8034B1E8 00348148 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B1EC 0034814C 38 BE 00 10 */ addi r5, r30, 0x10 +/* 8034B1F0 00348150 4B CD F5 39 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B1F4 00348154 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B1F8 00348158 41 82 00 08 */ beq lbl_8034B200 +lbl_8034B1FC: +/* 8034B1FC 0034815C 3B E0 00 01 */ li r31, 1 +lbl_8034B200: +/* 8034B200 00348160 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8034B204 00348164 41 82 00 0C */ beq lbl_8034B210 +/* 8034B208 00348168 38 60 00 00 */ li r3, 0 +/* 8034B20C 0034816C 48 00 00 08 */ b lbl_8034B214 +lbl_8034B210: +/* 8034B210 00348170 7F C3 F3 78 */ mr r3, r30 +lbl_8034B214: +/* 8034B214 00348174 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B218 00348178 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B21C 0034817C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034B220 00348180 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034B224 00348184 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034B228 00348188 7C 08 03 A6 */ mtlr r0 +/* 8034B22C 0034818C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B230 00348190 4E 80 00 20 */ blr + +.global TrkNextTrack__9CAudioSysFv +TrkNextTrack__9CAudioSysFv: +/* 8034B234 00348194 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B238 00348198 7C 08 02 A6 */ mflr r0 +/* 8034B23C 0034819C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B240 003481A0 48 06 CB 41 */ bl DTKNextTrack +/* 8034B244 003481A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B248 003481A8 7C 08 03 A6 */ mtlr r0 +/* 8034B24C 003481AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B250 003481B0 4E 80 00 20 */ blr + +.global TrkSetVolume__9CAudioSysFUcUc +TrkSetVolume__9CAudioSysFUcUc: +/* 8034B254 003481B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B258 003481B8 7C 08 02 A6 */ mflr r0 +/* 8034B25C 003481BC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034B260 003481C0 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 8034B264 003481C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B268 003481C8 48 06 CB C5 */ bl DTKSetVolume +/* 8034B26C 003481CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B270 003481D0 7C 08 03 A6 */ mtlr r0 +/* 8034B274 003481D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B278 003481D8 4E 80 00 20 */ blr + +.global TrkGetState__9CAudioSysFv +TrkGetState__9CAudioSysFv: +/* 8034B27C 003481DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B280 003481E0 7C 08 02 A6 */ mflr r0 +/* 8034B284 003481E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B288 003481E8 48 06 CB 9D */ bl DTKGetState +/* 8034B28C 003481EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B290 003481F0 7C 08 03 A6 */ mtlr r0 +/* 8034B294 003481F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B298 003481F8 4E 80 00 20 */ blr + +.global TrkSetState__9CAudioSysF13ETRKPlayState +TrkSetState__9CAudioSysF13ETRKPlayState: +/* 8034B29C 003481FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B2A0 00348200 7C 08 02 A6 */ mflr r0 +/* 8034B2A4 00348204 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B2A8 00348208 48 06 C8 F9 */ bl DTKSetState +/* 8034B2AC 0034820C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B2B0 00348210 7C 08 03 A6 */ mtlr r0 +/* 8034B2B4 00348214 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B2B8 00348218 4E 80 00 20 */ blr + +.global TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode +TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode: +/* 8034B2BC 0034821C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B2C0 00348220 7C 08 02 A6 */ mflr r0 +/* 8034B2C4 00348224 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B2C8 00348228 48 06 C8 D1 */ bl DTKSetRepeatMode +/* 8034B2CC 0034822C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B2D0 00348230 7C 08 03 A6 */ mtlr r0 +/* 8034B2D4 00348234 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B2D8 00348238 4E 80 00 20 */ blr + +.global TrkSetSampleRate__9CAudioSysF14ETRKSampleRate +TrkSetSampleRate__9CAudioSysF14ETRKSampleRate: +/* 8034B2DC 0034823C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B2E0 00348240 7C 08 02 A6 */ mflr r0 +/* 8034B2E4 00348244 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B2E8 00348248 48 06 C8 AD */ bl DTKSetSampleRate +/* 8034B2EC 0034824C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B2F0 00348250 7C 08 03 A6 */ mtlr r0 +/* 8034B2F4 00348254 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B2F8 00348258 4E 80 00 20 */ blr + +.global TrkFlushTracks__9CAudioSysFv +TrkFlushTracks__9CAudioSysFv: +/* 8034B2FC 0034825C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B300 00348260 7C 08 02 A6 */ mflr r0 +/* 8034B304 00348264 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B308 00348268 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034B30C 0034826C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13) +/* 8034B310 00348270 80 03 00 04 */ lwz r0, 4(r3) +/* 8034B314 00348274 2C 00 00 00 */ cmpwi r0, 0 +/* 8034B318 00348278 40 81 00 38 */ ble lbl_8034B350 +/* 8034B31C 0034827C 38 60 00 00 */ li r3, 0 +/* 8034B320 00348280 48 06 C8 11 */ bl DTKFlushTracks +/* 8034B324 00348284 83 ED A9 DC */ lwz r31, lbl_805A959C@sda21(r13) +/* 8034B328 00348288 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034B32C 0034828C 28 04 00 00 */ cmplwi r4, 0 +/* 8034B330 00348290 41 82 00 0C */ beq lbl_8034B33C +/* 8034B334 00348294 7F E3 FB 78 */ mr r3, r31 +/* 8034B338 00348298 48 00 16 FD */ bl sub_8034ca34 +lbl_8034B33C: +/* 8034B33C 0034829C 38 00 00 00 */ li r0, 0 +/* 8034B340 003482A0 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8034B344 003482A4 90 1F 00 08 */ stw r0, 8(r31) +/* 8034B348 003482A8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8034B34C 003482AC 90 1F 00 04 */ stw r0, 4(r31) +lbl_8034B350: +/* 8034B350 003482B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B354 003482B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034B358 003482B8 7C 08 03 A6 */ mtlr r0 +/* 8034B35C 003482BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B360 003482C0 4E 80 00 20 */ blr + +.global "TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi" +"TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi": +/* 8034B364 003482C4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8034B368 003482C8 7C 08 02 A6 */ mflr r0 +/* 8034B36C 003482CC 90 01 00 54 */ stw r0, 0x54(r1) +/* 8034B370 003482D0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8034B374 003482D4 7C BF 2B 78 */ mr r31, r5 +/* 8034B378 003482D8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8034B37C 003482DC 7C 9E 23 78 */ mr r30, r4 +/* 8034B380 003482E0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8034B384 003482E4 93 81 00 40 */ stw r28, 0x40(r1) +/* 8034B388 003482E8 7C 7C 1B 78 */ mr r28, r3 +lbl_8034B38C: +/* 8034B38C 003482EC 4B FF FE F1 */ bl TrkGetState__9CAudioSysFv +/* 8034B390 003482F0 2C 03 00 03 */ cmpwi r3, 3 +/* 8034B394 003482F4 41 82 FF F8 */ beq lbl_8034B38C +/* 8034B398 003482F8 7F 84 E3 78 */ mr r4, r28 +/* 8034B39C 003482FC 38 61 00 08 */ addi r3, r1, 8 +/* 8034B3A0 00348300 4B FF FC BD */ bl "FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034B3A4 00348304 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034B3A8 00348308 38 61 00 08 */ addi r3, r1, 8 +/* 8034B3AC 0034830C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034B3B0 00348310 80 85 00 04 */ lwz r4, 4(r5) +/* 8034B3B4 00348314 38 04 00 01 */ addi r0, r4, 1 +/* 8034B3B8 00348318 90 05 00 04 */ stw r0, 4(r5) +/* 8034B3BC 0034831C 48 00 20 49 */ bl sub_8034d404 +/* 8034B3C0 00348320 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034B3C4 00348324 80 63 00 00 */ lwz r3, 0(r3) +/* 8034B3C8 00348328 28 03 00 00 */ cmplwi r3, 0 +/* 8034B3CC 0034832C 40 82 00 E8 */ bne lbl_8034B4B4 +/* 8034B3D0 00348330 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034B3D4 00348334 38 60 00 64 */ li r3, 0x64 +/* 8034B3D8 00348338 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034B3DC 0034833C 38 A0 00 00 */ li r5, 0 +/* 8034B3E0 00348340 4B FC A4 8D */ bl __nw__FUlPCcPCc +/* 8034B3E4 00348344 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8034B3E8 00348348 41 82 00 18 */ beq lbl_8034B400 +/* 8034B3EC 0034834C 38 00 00 01 */ li r0, 1 +/* 8034B3F0 00348350 7F 84 E3 78 */ mr r4, r28 +/* 8034B3F4 00348354 98 1D 00 50 */ stb r0, 0x50(r29) +/* 8034B3F8 00348358 38 7D 00 54 */ addi r3, r29, 0x54 +/* 8034B3FC 0034835C 4B FF 2D 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034B400: +/* 8034B400 00348360 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034B404 00348364 38 60 00 08 */ li r3, 8 +/* 8034B408 00348368 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034B40C 0034836C 38 A0 00 00 */ li r5, 0 +/* 8034B410 00348370 4B FC A4 5D */ bl __nw__FUlPCcPCc +/* 8034B414 00348374 28 03 00 00 */ cmplwi r3, 0 +/* 8034B418 00348378 41 82 00 10 */ beq lbl_8034B428 +/* 8034B41C 0034837C 93 A3 00 00 */ stw r29, 0(r3) +/* 8034B420 00348380 38 00 00 01 */ li r0, 1 +/* 8034B424 00348384 90 03 00 04 */ stw r0, 4(r3) +lbl_8034B428: +/* 8034B428 00348388 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034B42C 0034838C 7F 84 E3 78 */ mr r4, r28 +/* 8034B430 00348390 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034B434 00348394 4B FF 2D 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034B438 00348398 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034B43C 0034839C 3B A1 00 30 */ addi r29, r1, 0x30 +/* 8034B440 003483A0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034B444 003483A4 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8034B448 003483A8 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8034B44C 003483AC 80 85 00 04 */ lwz r4, 4(r5) +/* 8034B450 003483B0 38 04 00 01 */ addi r0, r4, 1 +/* 8034B454 003483B4 90 05 00 04 */ stw r0, 4(r5) +/* 8034B458 003483B8 80 8D A9 DC */ lwz r4, lbl_805A959C@sda21(r13) +/* 8034B45C 003483BC 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034B460 003483C0 48 00 1D 25 */ bl sub_8034d184 +/* 8034B464 003483C4 28 1D 00 00 */ cmplwi r29, 0 +/* 8034B468 003483C8 41 82 00 10 */ beq lbl_8034B478 +/* 8034B46C 003483CC 41 82 00 0C */ beq lbl_8034B478 +/* 8034B470 003483D0 7F A3 EB 78 */ mr r3, r29 +/* 8034B474 003483D4 48 00 1F 91 */ bl sub_8034d404 +lbl_8034B478: +/* 8034B478 003483D8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034B47C 003483DC 4B FF 26 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034B480 003483E0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034B484 003483E4 7F E5 FB 78 */ mr r5, r31 +/* 8034B488 003483E8 7F C6 F3 78 */ mr r6, r30 +/* 8034B48C 003483EC 80 83 00 00 */ lwz r4, 0(r3) +/* 8034B490 003483F0 80 64 00 54 */ lwz r3, 0x54(r4) +/* 8034B494 003483F4 48 06 C5 81 */ bl sub_803b7a14 +/* 8034B498 003483F8 7C 7D 1B 78 */ mr r29, r3 +/* 8034B49C 003483FC 38 61 00 0C */ addi r3, r1, 0xc +/* 8034B4A0 00348400 48 00 1F 65 */ bl sub_8034d404 +/* 8034B4A4 00348404 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B4A8 00348408 48 00 1F 5D */ bl sub_8034d404 +/* 8034B4AC 0034840C 7F A3 EB 78 */ mr r3, r29 +/* 8034B4B0 00348410 48 00 00 50 */ b lbl_8034B500 +lbl_8034B4B4: +/* 8034B4B4 00348414 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8034B4B8 00348418 28 00 00 00 */ cmplwi r0, 0 +/* 8034B4BC 0034841C 40 82 00 38 */ bne lbl_8034B4F4 +/* 8034B4C0 00348420 38 00 00 01 */ li r0, 1 +/* 8034B4C4 00348424 7F E5 FB 78 */ mr r5, r31 +/* 8034B4C8 00348428 98 03 00 50 */ stb r0, 0x50(r3) +/* 8034B4CC 0034842C 7F C6 F3 78 */ mr r6, r30 +/* 8034B4D0 00348430 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034B4D4 00348434 80 83 00 00 */ lwz r4, 0(r3) +/* 8034B4D8 00348438 80 64 00 54 */ lwz r3, 0x54(r4) +/* 8034B4DC 0034843C 48 06 C5 39 */ bl sub_803b7a14 +/* 8034B4E0 00348440 7C 7D 1B 78 */ mr r29, r3 +/* 8034B4E4 00348444 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B4E8 00348448 48 00 1F 1D */ bl sub_8034d404 +/* 8034B4EC 0034844C 7F A3 EB 78 */ mr r3, r29 +/* 8034B4F0 00348450 48 00 00 10 */ b lbl_8034B500 +lbl_8034B4F4: +/* 8034B4F4 00348454 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B4F8 00348458 48 00 1F 0D */ bl sub_8034d404 +/* 8034B4FC 0034845C 38 60 13 88 */ li r3, 0x1388 +lbl_8034B500: +/* 8034B500 00348460 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8034B504 00348464 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8034B508 00348468 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8034B50C 0034846C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8034B510 00348470 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8034B514 00348474 7C 08 03 A6 */ mtlr r0 +/* 8034B518 00348478 38 21 00 50 */ addi r1, r1, 0x50 +/* 8034B51C 0034847C 4E 80 00 20 */ blr + +.global SfxCtrl__9CAudioSysFUlUcUc +SfxCtrl__9CAudioSysFUlUcUc: +/* 8034B520 00348480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B524 00348484 7C 08 02 A6 */ mflr r0 +/* 8034B528 00348488 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B52C 0034848C 48 05 0C 65 */ bl sndFXCtrl +/* 8034B530 00348490 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B534 00348494 7C 08 03 A6 */ mtlr r0 +/* 8034B538 00348498 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B53C 0034849C 4E 80 00 20 */ blr + +.global SfxPitchBend__9CAudioSysFUlUs +SfxPitchBend__9CAudioSysFUlUs: +/* 8034B540 003484A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B544 003484A4 7C 08 02 A6 */ mflr r0 +/* 8034B548 003484A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B54C 003484AC 7C 80 23 78 */ mr r0, r4 +/* 8034B550 003484B0 38 80 00 80 */ li r4, 0x80 +/* 8034B554 003484B4 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8034B558 003484B8 48 05 0C 99 */ bl sndFXCtrl14 +/* 8034B55C 003484BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B560 003484C0 7C 08 03 A6 */ mtlr r0 +/* 8034B564 003484C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B568 003484C8 4E 80 00 20 */ blr + +.global SfxVolume__9CAudioSysFUlUc +SfxVolume__9CAudioSysFUlUc: +/* 8034B56C 003484CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B570 003484D0 7C 08 02 A6 */ mflr r0 +/* 8034B574 003484D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B578 003484D8 7C 80 23 78 */ mr r0, r4 +/* 8034B57C 003484DC 38 80 00 07 */ li r4, 7 +/* 8034B580 003484E0 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8034B584 003484E4 48 05 0C 0D */ bl sndFXCtrl +/* 8034B588 003484E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B58C 003484EC 7C 08 03 A6 */ mtlr r0 +/* 8034B590 003484F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B594 003484F4 4E 80 00 20 */ blr + +.global SfxSpan__9CAudioSysFUlUc +SfxSpan__9CAudioSysFUlUc: +/* 8034B598 003484F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B59C 003484FC 7C 08 02 A6 */ mflr r0 +/* 8034B5A0 00348500 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B5A4 00348504 7C 80 23 78 */ mr r0, r4 +/* 8034B5A8 00348508 38 80 00 83 */ li r4, 0x83 +/* 8034B5AC 0034850C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8034B5B0 00348510 48 05 0B E1 */ bl sndFXCtrl +/* 8034B5B4 00348514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B5B8 00348518 7C 08 03 A6 */ mtlr r0 +/* 8034B5BC 0034851C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B5C0 00348520 4E 80 00 20 */ blr + +.global SfxCheck__9CAudioSysFUl +SfxCheck__9CAudioSysFUl: +/* 8034B5C4 00348524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B5C8 00348528 7C 08 02 A6 */ mflr r0 +/* 8034B5CC 0034852C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B5D0 00348530 48 05 0D 45 */ bl sndFXCheck +/* 8034B5D4 00348534 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B5D8 00348538 7C 08 03 A6 */ mtlr r0 +/* 8034B5DC 0034853C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B5E0 00348540 4E 80 00 20 */ blr + +.global SfxStop__9CAudioSysFUl +SfxStop__9CAudioSysFUl: +/* 8034B5E4 00348544 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B5E8 00348548 7C 08 02 A6 */ mflr r0 +/* 8034B5EC 0034854C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B5F0 00348550 48 05 0C 61 */ bl sndFXKeyOff +/* 8034B5F4 00348554 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B5F8 00348558 7C 08 03 A6 */ mtlr r0 +/* 8034B5FC 0034855C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B600 00348560 4E 80 00 20 */ blr + +.global SfxStart__9CAudioSysFUsUcUcUc +SfxStart__9CAudioSysFUsUcUcUc: +/* 8034B604 00348564 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B608 00348568 7C 08 02 A6 */ mflr r0 +/* 8034B60C 0034856C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8034B610 00348570 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B614 00348574 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8034B618 00348578 28 00 00 7F */ cmplwi r0, 0x7f +/* 8034B61C 0034857C 38 80 00 7F */ li r4, 0x7f +/* 8034B620 00348580 A8 ED 9D DA */ lha r7, lbl_805A899A@sda21(r13) +/* 8034B624 00348584 41 81 00 08 */ bgt lbl_8034B62C +/* 8034B628 00348588 7C 04 03 78 */ mr r4, r0 +lbl_8034B62C: +/* 8034B62C 0034858C 7C 07 21 D6 */ mullw r0, r7, r4 +/* 8034B630 00348590 3C 80 81 02 */ lis r4, 0x81020409@ha +/* 8034B634 00348594 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034B638 00348598 38 84 04 09 */ addi r4, r4, 0x81020409@l +/* 8034B63C 0034859C 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034B640 003485A0 7C 84 00 96 */ mulhw r4, r4, r0 +/* 8034B644 003485A4 7C 04 02 14 */ add r0, r4, r0 +/* 8034B648 003485A8 7C 00 36 70 */ srawi r0, r0, 6 +/* 8034B64C 003485AC 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8034B650 003485B0 7C 00 22 14 */ add r0, r0, r4 +/* 8034B654 003485B4 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 8034B658 003485B8 48 05 0C 39 */ bl sndFXStartEx +/* 8034B65C 003485BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B660 003485C0 7C 08 03 A6 */ mtlr r0 +/* 8034B664 003485C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B668 003485C8 4E 80 00 20 */ blr + +.global "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034B66C 003485CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B670 003485D0 7C 08 02 A6 */ mflr r0 +/* 8034B674 003485D4 7C 85 23 78 */ mr r5, r4 +/* 8034B678 003485D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B67C 003485DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B680 003485E0 7C 7F 1B 78 */ mr r31, r3 +/* 8034B684 003485E4 80 CD A9 D4 */ lwz r6, lbl_805A9594@sda21(r13) +/* 8034B688 003485E8 80 06 00 04 */ lwz r0, 4(r6) +/* 8034B68C 003485EC 2C 00 00 00 */ cmpwi r0, 0 +/* 8034B690 003485F0 41 81 00 20 */ bgt lbl_8034B6B0 +/* 8034B694 003485F4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B698 003485F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B69C 003485FC 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B6A0 00348600 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B6A4 00348604 38 03 00 01 */ addi r0, r3, 1 +/* 8034B6A8 00348608 90 04 00 04 */ stw r0, 4(r4) +/* 8034B6AC 0034860C 48 00 00 7C */ b lbl_8034B728 +lbl_8034B6B0: +/* 8034B6B0 00348610 7C C4 33 78 */ mr r4, r6 +/* 8034B6B4 00348614 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B6B8 00348618 48 00 00 85 */ bl sub_8034b73c +/* 8034B6BC 0034861C 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13) +/* 8034B6C0 00348620 38 80 00 00 */ li r4, 0 +/* 8034B6C4 00348624 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8034B6C8 00348628 38 03 00 08 */ addi r0, r3, 8 +/* 8034B6CC 0034862C 90 81 00 08 */ stw r4, 8(r1) +/* 8034B6D0 00348630 7C 05 20 40 */ cmplw r5, r4 +/* 8034B6D4 00348634 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034B6D8 00348638 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034B6DC 0034863C 40 82 00 0C */ bne lbl_8034B6E8 +/* 8034B6E0 00348640 7C 03 00 40 */ cmplw r3, r0 +/* 8034B6E4 00348644 41 82 00 08 */ beq lbl_8034B6EC +lbl_8034B6E8: +/* 8034B6E8 00348648 38 80 00 01 */ li r4, 1 +lbl_8034B6EC: +/* 8034B6EC 0034864C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034B6F0 00348650 41 82 00 20 */ beq lbl_8034B710 +/* 8034B6F4 00348654 80 05 00 20 */ lwz r0, 0x20(r5) +/* 8034B6F8 00348658 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B6FC 0034865C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B700 00348660 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B704 00348664 38 03 00 01 */ addi r0, r3, 1 +/* 8034B708 00348668 90 04 00 04 */ stw r0, 4(r4) +/* 8034B70C 0034866C 48 00 00 1C */ b lbl_8034B728 +lbl_8034B710: +/* 8034B710 00348670 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B714 00348674 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B718 00348678 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B71C 0034867C 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B720 00348680 38 03 00 01 */ addi r0, r3, 1 +/* 8034B724 00348684 90 04 00 04 */ stw r0, 4(r4) +lbl_8034B728: +/* 8034B728 00348688 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B72C 0034868C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B730 00348690 7C 08 03 A6 */ mtlr r0 +/* 8034B734 00348694 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B738 00348698 4E 80 00 20 */ blr + +.global sub_8034b73c +sub_8034b73c: +/* 8034B73C 0034869C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B740 003486A0 7C 08 02 A6 */ mflr r0 +/* 8034B744 003486A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B748 003486A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034B74C 003486AC 7C 9F 23 78 */ mr r31, r4 +/* 8034B750 003486B0 7C A4 2B 78 */ mr r4, r5 +/* 8034B754 003486B4 93 C1 00 08 */ stw r30, 8(r1) +/* 8034B758 003486B8 7C 7E 1B 78 */ mr r30, r3 +/* 8034B75C 003486BC 7F E3 FB 78 */ mr r3, r31 +/* 8034B760 003486C0 48 00 00 29 */ bl sub_8034b788 +/* 8034B764 003486C4 90 7E 00 00 */ stw r3, 0(r30) +/* 8034B768 003486C8 38 1F 00 08 */ addi r0, r31, 8 +/* 8034B76C 003486CC 90 1E 00 04 */ stw r0, 4(r30) +/* 8034B770 003486D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B774 003486D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034B778 003486D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034B77C 003486DC 7C 08 03 A6 */ mtlr r0 +/* 8034B780 003486E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B784 003486E4 4E 80 00 20 */ blr + +.global sub_8034b788 +sub_8034b788: +/* 8034B788 003486E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B78C 003486EC 7C 08 02 A6 */ mflr r0 +/* 8034B790 003486F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B794 003486F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B798 003486F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034B79C 003486FC 3B C0 00 00 */ li r30, 0 +/* 8034B7A0 00348700 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034B7A4 00348704 7C 9D 23 78 */ mr r29, r4 +/* 8034B7A8 00348708 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034B7AC 0034870C 7C 7C 1B 78 */ mr r28, r3 +/* 8034B7B0 00348710 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034B7B4 00348714 48 00 00 2C */ b lbl_8034B7E0 +lbl_8034B7B8: +/* 8034B7B8 00348718 7F A5 EB 78 */ mr r5, r29 +/* 8034B7BC 0034871C 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B7C0 00348720 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034B7C4 00348724 4B CD EF 65 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B7C8 00348728 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B7CC 0034872C 40 82 00 10 */ bne lbl_8034B7DC +/* 8034B7D0 00348730 7F FE FB 78 */ mr r30, r31 +/* 8034B7D4 00348734 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034B7D8 00348738 48 00 00 08 */ b lbl_8034B7E0 +lbl_8034B7DC: +/* 8034B7DC 0034873C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034B7E0: +/* 8034B7E0 00348740 28 1F 00 00 */ cmplwi r31, 0 +/* 8034B7E4 00348744 40 82 FF D4 */ bne lbl_8034B7B8 +/* 8034B7E8 00348748 28 1E 00 00 */ cmplwi r30, 0 +/* 8034B7EC 0034874C 3B E0 00 00 */ li r31, 0 +/* 8034B7F0 00348750 41 82 00 1C */ beq lbl_8034B80C +/* 8034B7F4 00348754 7F A4 EB 78 */ mr r4, r29 +/* 8034B7F8 00348758 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B7FC 0034875C 38 BE 00 10 */ addi r5, r30, 0x10 +/* 8034B800 00348760 4B CD EF 29 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B804 00348764 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B808 00348768 41 82 00 08 */ beq lbl_8034B810 +lbl_8034B80C: +/* 8034B80C 0034876C 3B E0 00 01 */ li r31, 1 +lbl_8034B810: +/* 8034B810 00348770 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8034B814 00348774 41 82 00 0C */ beq lbl_8034B820 +/* 8034B818 00348778 38 60 00 00 */ li r3, 0 +/* 8034B81C 0034877C 48 00 00 08 */ b lbl_8034B824 +lbl_8034B820: +/* 8034B820 00348780 7F C3 F3 78 */ mr r3, r30 +lbl_8034B824: +/* 8034B824 00348784 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B828 00348788 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B82C 0034878C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034B830 00348790 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034B834 00348794 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034B838 00348798 7C 08 03 A6 */ mtlr r0 +/* 8034B83C 0034879C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B840 003487A0 4E 80 00 20 */ blr + +.global SysGetGroupSetName__9CAudioSysFUi +SysGetGroupSetName__9CAudioSysFUi: +/* 8034B844 003487A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B848 003487A8 38 A0 00 00 */ li r5, 0 +/* 8034B84C 003487AC 80 CD A9 D8 */ lwz r6, lbl_805A9598@sda21(r13) +/* 8034B850 003487B0 80 86 00 10 */ lwz r4, 0x10(r6) +/* 8034B854 003487B4 48 00 00 20 */ b lbl_8034B874 +lbl_8034B858: +/* 8034B858 003487B8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8034B85C 003487BC 7C 00 18 40 */ cmplw r0, r3 +/* 8034B860 003487C0 41 80 00 10 */ blt lbl_8034B870 +/* 8034B864 003487C4 7C 85 23 78 */ mr r5, r4 +/* 8034B868 003487C8 80 84 00 00 */ lwz r4, 0(r4) +/* 8034B86C 003487CC 48 00 00 08 */ b lbl_8034B874 +lbl_8034B870: +/* 8034B870 003487D0 80 84 00 04 */ lwz r4, 4(r4) +lbl_8034B874: +/* 8034B874 003487D4 28 04 00 00 */ cmplwi r4, 0 +/* 8034B878 003487D8 40 82 FF E0 */ bne lbl_8034B858 +/* 8034B87C 003487DC 28 05 00 00 */ cmplwi r5, 0 +/* 8034B880 003487E0 38 80 00 00 */ li r4, 0 +/* 8034B884 003487E4 41 82 00 10 */ beq lbl_8034B894 +/* 8034B888 003487E8 80 05 00 10 */ lwz r0, 0x10(r5) +/* 8034B88C 003487EC 7C 03 00 40 */ cmplw r3, r0 +/* 8034B890 003487F0 40 80 00 08 */ bge lbl_8034B898 +lbl_8034B894: +/* 8034B894 003487F4 38 80 00 01 */ li r4, 1 +lbl_8034B898: +/* 8034B898 003487F8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034B89C 003487FC 41 82 00 08 */ beq lbl_8034B8A4 +/* 8034B8A0 00348800 38 A0 00 00 */ li r5, 0 +lbl_8034B8A4: +/* 8034B8A4 00348804 38 00 00 00 */ li r0, 0 +/* 8034B8A8 00348808 38 66 00 08 */ addi r3, r6, 8 +/* 8034B8AC 0034880C 7C 05 00 40 */ cmplw r5, r0 +/* 8034B8B0 00348810 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034B8B4 00348814 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034B8B8 00348818 90 01 00 08 */ stw r0, 8(r1) +/* 8034B8BC 0034881C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034B8C0 00348820 40 82 00 0C */ bne lbl_8034B8CC +/* 8034B8C4 00348824 7C 03 18 40 */ cmplw r3, r3 +/* 8034B8C8 00348828 41 82 00 08 */ beq lbl_8034B8D0 +lbl_8034B8CC: +/* 8034B8CC 0034882C 38 00 00 01 */ li r0, 1 +lbl_8034B8D0: +/* 8034B8D0 00348830 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8034B8D4 00348834 41 82 00 0C */ beq lbl_8034B8E0 +/* 8034B8D8 00348838 38 65 00 14 */ addi r3, r5, 0x14 +/* 8034B8DC 0034883C 48 00 00 0C */ b lbl_8034B8E8 +lbl_8034B8E0: +/* 8034B8E0 00348840 3C 60 80 5A */ lis r3, lbl_805A67CC@ha +/* 8034B8E4 00348844 38 63 67 CC */ addi r3, r3, lbl_805A67CC@l +lbl_8034B8E8: +/* 8034B8E8 00348848 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B8EC 0034884C 4E 80 00 20 */ blr + +.global SysPopGroupFromARAM__9CAudioSysFv +SysPopGroupFromARAM__9CAudioSysFv: +/* 8034B8F0 00348850 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B8F4 00348854 7C 08 02 A6 */ mflr r0 +/* 8034B8F8 00348858 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B8FC 0034885C 48 05 EE 5D */ bl sndPopGroup +/* 8034B900 00348860 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B904 00348864 7C 08 03 A6 */ mtlr r0 +/* 8034B908 00348868 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B90C 0034886C 4E 80 00 20 */ blr + +.global "SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc" +"SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc": +/* 8034B910 00348870 94 21 EF B0 */ stwu r1, -0x1050(r1) +/* 8034B914 00348874 7C 08 02 A6 */ mflr r0 +/* 8034B918 00348878 90 01 10 54 */ stw r0, 0x1054(r1) +/* 8034B91C 0034887C BF 61 10 3C */ stmw r27, 0x103c(r1) +/* 8034B920 00348880 7C 9B 23 78 */ mr r27, r4 +/* 8034B924 00348884 7C 64 1B 78 */ mr r4, r3 +/* 8034B928 00348888 38 61 00 08 */ addi r3, r1, 8 +/* 8034B92C 0034888C 4B FF FD 41 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034B930 00348890 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034B934 00348894 38 61 00 08 */ addi r3, r1, 8 +/* 8034B938 00348898 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8034B93C 0034889C 80 85 00 04 */ lwz r4, 4(r5) +/* 8034B940 003488A0 38 04 00 01 */ addi r0, r4, 1 +/* 8034B944 003488A4 90 05 00 04 */ stw r0, 4(r5) +/* 8034B948 003488A8 48 00 10 91 */ bl sub_8034c9d8 +/* 8034B94C 003488AC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034B950 003488B0 80 63 00 00 */ lwz r3, 0(r3) +/* 8034B954 003488B4 28 03 00 00 */ cmplwi r3, 0 +/* 8034B958 003488B8 41 82 00 70 */ beq lbl_8034B9C8 +/* 8034B95C 003488BC 80 A3 00 28 */ lwz r5, 0x28(r3) +/* 8034B960 003488C0 38 01 00 2F */ addi r0, r1, 0x2f +/* 8034B964 003488C4 3C 60 80 35 */ lis r3, sub_8034b9e8@ha +/* 8034B968 003488C8 38 80 10 00 */ li r4, 0x1000 +/* 8034B96C 003488CC 83 E5 00 38 */ lwz r31, 0x38(r5) +/* 8034B970 003488D0 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 8034B974 003488D4 83 C5 00 40 */ lwz r30, 0x40(r5) +/* 8034B978 003488D8 38 63 B9 E8 */ addi r3, r3, sub_8034b9e8@l +/* 8034B97C 003488DC 83 A5 00 3C */ lwz r29, 0x3c(r5) +/* 8034B980 003488E0 83 85 00 34 */ lwz r28, 0x34(r5) +/* 8034B984 003488E4 90 0D A9 FC */ stw r0, lbl_805A95BC@sda21(r13) +/* 8034B988 003488E8 48 05 EA 85 */ bl sndSetSampleDataUploadCallback +/* 8034B98C 003488EC 7F E3 FB 78 */ mr r3, r31 +/* 8034B990 003488F0 7F C5 F3 78 */ mr r5, r30 +/* 8034B994 003488F4 7F A6 EB 78 */ mr r6, r29 +/* 8034B998 003488F8 7F 87 E3 78 */ mr r7, r28 +/* 8034B99C 003488FC 57 64 06 3E */ clrlwi r4, r27, 0x18 +/* 8034B9A0 00348900 48 05 EA 8D */ bl sndPushGroup +/* 8034B9A4 00348904 7C 7F 1B 78 */ mr r31, r3 +/* 8034B9A8 00348908 38 60 00 00 */ li r3, 0 +/* 8034B9AC 0034890C 38 80 00 00 */ li r4, 0 +/* 8034B9B0 00348910 48 05 EA 5D */ bl sndSetSampleDataUploadCallback +/* 8034B9B4 00348914 57 FF 06 3E */ clrlwi r31, r31, 0x18 +/* 8034B9B8 00348918 38 61 00 0C */ addi r3, r1, 0xc +/* 8034B9BC 0034891C 48 00 10 1D */ bl sub_8034c9d8 +/* 8034B9C0 00348920 7F E3 FB 78 */ mr r3, r31 +/* 8034B9C4 00348924 48 00 00 10 */ b lbl_8034B9D4 +lbl_8034B9C8: +/* 8034B9C8 00348928 38 61 00 0C */ addi r3, r1, 0xc +/* 8034B9CC 0034892C 48 00 10 0D */ bl sub_8034c9d8 +/* 8034B9D0 00348930 38 60 00 00 */ li r3, 0 +lbl_8034B9D4: +/* 8034B9D4 00348934 BB 61 10 3C */ lmw r27, 0x103c(r1) +/* 8034B9D8 00348938 80 01 10 54 */ lwz r0, 0x1054(r1) +/* 8034B9DC 0034893C 7C 08 03 A6 */ mtlr r0 +/* 8034B9E0 00348940 38 21 10 50 */ addi r1, r1, 0x1050 +/* 8034B9E4 00348944 4E 80 00 20 */ blr + +.global sub_8034b9e8 +sub_8034b9e8: +/* 8034B9E8 00348948 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B9EC 0034894C 7C 08 02 A6 */ mflr r0 +/* 8034B9F0 00348950 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B9F4 00348954 38 00 00 01 */ li r0, 1 +/* 8034B9F8 00348958 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B9FC 0034895C 7C 9F 23 78 */ mr r31, r4 +/* 8034BA00 00348960 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BA04 00348964 7C 7E 1B 78 */ mr r30, r3 +/* 8034BA08 00348968 98 01 00 08 */ stb r0, 8(r1) +/* 8034BA0C 0034896C 48 00 00 18 */ b lbl_8034BA24 +lbl_8034BA10: +/* 8034BA10 00348970 48 02 1E D9 */ bl ARGetDMAStatus +/* 8034BA14 00348974 7C 03 00 D0 */ neg r0, r3 +/* 8034BA18 00348978 7C 00 1B 78 */ or r0, r0, r3 +/* 8034BA1C 0034897C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034BA20 00348980 98 01 00 08 */ stb r0, 8(r1) +lbl_8034BA24: +/* 8034BA24 00348984 88 01 00 08 */ lbz r0, 8(r1) +/* 8034BA28 00348988 28 00 00 00 */ cmplwi r0, 0 +/* 8034BA2C 0034898C 40 82 FF E4 */ bne lbl_8034BA10 +/* 8034BA30 00348990 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) +/* 8034BA34 00348994 7F C4 F3 78 */ mr r4, r30 +/* 8034BA38 00348998 7F E5 FB 78 */ mr r5, r31 +/* 8034BA3C 0034899C 4B CB 7A 55 */ bl memcpy +/* 8034BA40 003489A0 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) +/* 8034BA44 003489A4 7F E4 FB 78 */ mr r4, r31 +/* 8034BA48 003489A8 48 03 30 69 */ bl DCFlushRange +/* 8034BA4C 003489AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BA50 003489B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BA54 003489B4 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) +/* 8034BA58 003489B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BA5C 003489BC 7C 08 03 A6 */ mtlr r0 +/* 8034BA60 003489C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BA64 003489C4 4E 80 00 20 */ blr + +.global "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034BA68 003489C8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034BA6C 003489CC 7C 08 02 A6 */ mflr r0 +/* 8034BA70 003489D0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034BA74 003489D4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8034BA78 003489D8 7C 7F 1B 78 */ mr r31, r3 +/* 8034BA7C 003489DC 38 61 00 08 */ addi r3, r1, 8 +/* 8034BA80 003489E0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8034BA84 003489E4 7F E4 FB 78 */ mr r4, r31 +/* 8034BA88 003489E8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8034BA8C 003489EC 4B FF FB E1 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034BA90 003489F0 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034BA94 003489F4 38 61 00 08 */ addi r3, r1, 8 +/* 8034BA98 003489F8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8034BA9C 003489FC 80 85 00 04 */ lwz r4, 4(r5) +/* 8034BAA0 00348A00 38 04 00 01 */ addi r0, r4, 1 +/* 8034BAA4 00348A04 90 05 00 04 */ stw r0, 4(r5) +/* 8034BAA8 00348A08 48 00 0F 31 */ bl sub_8034c9d8 +/* 8034BAAC 00348A0C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034BAB0 00348A10 80 03 00 00 */ lwz r0, 0(r3) +/* 8034BAB4 00348A14 28 00 00 00 */ cmplwi r0, 0 +/* 8034BAB8 00348A18 41 82 01 24 */ beq lbl_8034BBDC +/* 8034BABC 00348A1C 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13) +/* 8034BAC0 00348A20 84 03 00 08 */ lwzu r0, 8(r3) +/* 8034BAC4 00348A24 90 61 00 24 */ stw r3, 0x24(r1) +/* 8034BAC8 00348A28 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034BACC 00348A2C 48 00 00 A0 */ b lbl_8034BB6C +lbl_8034BAD0: +/* 8034BAD0 00348A30 7F E4 FB 78 */ mr r4, r31 +/* 8034BAD4 00348A34 38 65 00 14 */ addi r3, r5, 0x14 +/* 8034BAD8 00348A38 4B D0 6B 09 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 8034BADC 00348A3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BAE0 00348A40 41 82 00 7C */ beq lbl_8034BB5C +/* 8034BAE4 00348A44 83 A1 00 20 */ lwz r29, 0x20(r1) +/* 8034BAE8 00348A48 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034BAEC 00348A4C 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8034BAF0 00348A50 7F A4 EB 78 */ mr r4, r29 +/* 8034BAF4 00348A54 83 CD A9 D8 */ lwz r30, lbl_805A9598@sda21(r13) +/* 8034BAF8 00348A58 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8034BAFC 00348A5C 4B FF 0A E5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BB00 00348A60 90 61 00 18 */ stw r3, 0x18(r1) +/* 8034BB04 00348A64 7F A4 EB 78 */ mr r4, r29 +/* 8034BB08 00348A68 38 7E 00 08 */ addi r3, r30, 8 +/* 8034BB0C 00348A6C 4B FF 0B 71 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 8034BB10 00348A70 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8034BB14 00348A74 41 82 00 18 */ beq lbl_8034BB2C +/* 8034BB18 00348A78 34 1D 00 10 */ addic. r0, r29, 0x10 +/* 8034BB1C 00348A7C 41 82 00 10 */ beq lbl_8034BB2C +/* 8034BB20 00348A80 34 7D 00 14 */ addic. r3, r29, 0x14 +/* 8034BB24 00348A84 41 82 00 08 */ beq lbl_8034BB2C +/* 8034BB28 00348A88 4B FF 1F B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034BB2C: +/* 8034BB2C 00348A8C 28 1D 00 00 */ cmplwi r29, 0 +/* 8034BB30 00348A90 41 82 00 0C */ beq lbl_8034BB3C +/* 8034BB34 00348A94 7F A3 EB 78 */ mr r3, r29 +/* 8034BB38 00348A98 4B FC 9D F9 */ bl Free__7CMemoryFPCv +lbl_8034BB3C: +/* 8034BB3C 00348A9C 80 9E 00 04 */ lwz r4, 4(r30) +/* 8034BB40 00348AA0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8034BB44 00348AA4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034BB48 00348AA8 38 84 FF FF */ addi r4, r4, -1 +/* 8034BB4C 00348AAC 90 9E 00 04 */ stw r4, 4(r30) +/* 8034BB50 00348AB0 90 61 00 20 */ stw r3, 0x20(r1) +/* 8034BB54 00348AB4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BB58 00348AB8 48 00 00 14 */ b lbl_8034BB6C +lbl_8034BB5C: +/* 8034BB5C 00348ABC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034BB60 00348AC0 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8034BB64 00348AC4 4B FF 0A 7D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BB68 00348AC8 90 61 00 20 */ stw r3, 0x20(r1) +lbl_8034BB6C: +/* 8034BB6C 00348ACC 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13) +/* 8034BB70 00348AD0 38 80 00 00 */ li r4, 0 +/* 8034BB74 00348AD4 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8034BB78 00348AD8 38 63 00 08 */ addi r3, r3, 8 +/* 8034BB7C 00348ADC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034BB80 00348AE0 7C 05 20 40 */ cmplw r5, r4 +/* 8034BB84 00348AE4 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034BB88 00348AE8 40 82 00 10 */ bne lbl_8034BB98 +/* 8034BB8C 00348AEC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BB90 00348AF0 7C 00 18 40 */ cmplw r0, r3 +/* 8034BB94 00348AF4 41 82 00 08 */ beq lbl_8034BB9C +lbl_8034BB98: +/* 8034BB98 00348AF8 38 80 00 01 */ li r4, 1 +lbl_8034BB9C: +/* 8034BB9C 00348AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034BBA0 00348B00 40 82 FF 30 */ bne lbl_8034BAD0 +/* 8034BBA4 00348B04 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034BBA8 00348B08 7F E4 FB 78 */ mr r4, r31 +/* 8034BBAC 00348B0C 80 0D A9 F4 */ lwz r0, lbl_805A95B4@sda21(r13) +/* 8034BBB0 00348B10 80 A3 00 00 */ lwz r5, 0(r3) +/* 8034BBB4 00348B14 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13) +/* 8034BBB8 00348B18 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8034BBBC 00348B1C 80 A5 00 30 */ lwz r5, 0x30(r5) +/* 8034BBC0 00348B20 7C 05 00 50 */ subf r0, r5, r0 +/* 8034BBC4 00348B24 90 0D A9 F4 */ stw r0, lbl_805A95B4@sda21(r13) +/* 8034BBC8 00348B28 48 00 00 3D */ bl sub_8034bc04 +/* 8034BBCC 00348B2C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034BBD0 00348B30 48 00 0E 09 */ bl sub_8034c9d8 +/* 8034BBD4 00348B34 38 60 00 01 */ li r3, 1 +/* 8034BBD8 00348B38 48 00 00 10 */ b lbl_8034BBE8 +lbl_8034BBDC: +/* 8034BBDC 00348B3C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034BBE0 00348B40 48 00 0D F9 */ bl sub_8034c9d8 +/* 8034BBE4 00348B44 38 60 00 00 */ li r3, 0 +lbl_8034BBE8: +/* 8034BBE8 00348B48 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034BBEC 00348B4C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8034BBF0 00348B50 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8034BBF4 00348B54 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8034BBF8 00348B58 7C 08 03 A6 */ mtlr r0 +/* 8034BBFC 00348B5C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034BC00 00348B60 4E 80 00 20 */ blr + +.global sub_8034bc04 +sub_8034bc04: +/* 8034BC04 00348B64 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8034BC08 00348B68 7C 08 02 A6 */ mflr r0 +/* 8034BC0C 00348B6C 7C 85 23 78 */ mr r5, r4 +/* 8034BC10 00348B70 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034BC14 00348B74 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8034BC18 00348B78 7C 7F 1B 78 */ mr r31, r3 +/* 8034BC1C 00348B7C 7F E4 FB 78 */ mr r4, r31 +/* 8034BC20 00348B80 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034BC24 00348B84 48 00 01 A9 */ bl sub_8034bdcc +/* 8034BC28 00348B88 80 E1 00 40 */ lwz r7, 0x40(r1) +/* 8034BC2C 00348B8C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034BC30 00348B90 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 8034BC34 00348B94 38 81 00 28 */ addi r4, r1, 0x28 +/* 8034BC38 00348B98 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 8034BC3C 00348B9C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8034BC40 00348BA0 90 E1 00 50 */ stw r7, 0x50(r1) +/* 8034BC44 00348BA4 90 C1 00 54 */ stw r6, 0x54(r1) +/* 8034BC48 00348BA8 90 A1 00 58 */ stw r5, 0x58(r1) +/* 8034BC4C 00348BAC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8034BC50 00348BB0 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8034BC54 00348BB4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8034BC58 00348BB8 90 E1 00 30 */ stw r7, 0x30(r1) +/* 8034BC5C 00348BBC 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8034BC60 00348BC0 48 00 0F 91 */ bl sub_8034cbf0 +/* 8034BC64 00348BC4 83 C1 00 54 */ lwz r30, 0x54(r1) +/* 8034BC68 00348BC8 7C 7B 1B 78 */ mr r27, r3 +/* 8034BC6C 00348BCC 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8034BC70 00348BD0 93 C1 00 3C */ stw r30, 0x3c(r1) +/* 8034BC74 00348BD4 83 A1 00 58 */ lwz r29, 0x58(r1) +/* 8034BC78 00348BD8 90 01 00 38 */ stw r0, 0x38(r1) +/* 8034BC7C 00348BDC 83 81 00 5C */ lwz r28, 0x5c(r1) +/* 8034BC80 00348BE0 48 00 00 44 */ b lbl_8034BCC4 +lbl_8034BC84: +/* 8034BC84 00348BE4 90 81 00 08 */ stw r4, 8(r1) +/* 8034BC88 00348BE8 7F C3 F3 78 */ mr r3, r30 +/* 8034BC8C 00348BEC 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8034BC90 00348BF0 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8034BC94 00348BF4 4B FF 09 4D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BC98 00348BF8 80 C1 00 08 */ lwz r6, 8(r1) +/* 8034BC9C 00348BFC 7F C0 F3 78 */ mr r0, r30 +/* 8034BCA0 00348C00 90 61 00 38 */ stw r3, 0x38(r1) +/* 8034BCA4 00348C04 7F E4 FB 78 */ mr r4, r31 +/* 8034BCA8 00348C08 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8034BCAC 00348C0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034BCB0 00348C10 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8034BCB4 00348C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BCB8 00348C18 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8034BCBC 00348C1C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034BCC0 00348C20 48 00 00 45 */ bl sub_8034bd04 +lbl_8034BCC4: +/* 8034BCC4 00348C24 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8034BCC8 00348C28 38 60 00 00 */ li r3, 0 +/* 8034BCCC 00348C2C 7C 04 E8 40 */ cmplw r4, r29 +/* 8034BCD0 00348C30 40 82 00 10 */ bne lbl_8034BCE0 +/* 8034BCD4 00348C34 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8034BCD8 00348C38 7C 00 E0 40 */ cmplw r0, r28 +/* 8034BCDC 00348C3C 41 82 00 08 */ beq lbl_8034BCE4 +lbl_8034BCE0: +/* 8034BCE0 00348C40 38 60 00 01 */ li r3, 1 +lbl_8034BCE4: +/* 8034BCE4 00348C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BCE8 00348C48 40 82 FF 9C */ bne lbl_8034BC84 +/* 8034BCEC 00348C4C 7F 63 DB 78 */ mr r3, r27 +/* 8034BCF0 00348C50 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8034BCF4 00348C54 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8034BCF8 00348C58 7C 08 03 A6 */ mtlr r0 +/* 8034BCFC 00348C5C 38 21 00 80 */ addi r1, r1, 0x80 +/* 8034BD00 00348C60 4E 80 00 20 */ blr + +.global sub_8034bd04 +sub_8034bd04: +/* 8034BD04 00348C64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034BD08 00348C68 7C 08 02 A6 */ mflr r0 +/* 8034BD0C 00348C6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BD10 00348C70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034BD14 00348C74 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BD18 00348C78 7C BE 2B 78 */ mr r30, r5 +/* 8034BD1C 00348C7C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034BD20 00348C80 7C 9D 23 78 */ mr r29, r4 +/* 8034BD24 00348C84 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034BD28 00348C88 7C 7C 1B 78 */ mr r28, r3 +/* 8034BD2C 00348C8C 83 E5 00 00 */ lwz r31, 0(r5) +/* 8034BD30 00348C90 80 65 00 04 */ lwz r3, 4(r5) +/* 8034BD34 00348C94 7F E4 FB 78 */ mr r4, r31 +/* 8034BD38 00348C98 4B FF 08 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BD3C 00348C9C 90 7E 00 00 */ stw r3, 0(r30) +/* 8034BD40 00348CA0 7F E4 FB 78 */ mr r4, r31 +/* 8034BD44 00348CA4 38 7D 00 08 */ addi r3, r29, 8 +/* 8034BD48 00348CA8 4B FF 09 35 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 8034BD4C 00348CAC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034BD50 00348CB0 41 82 00 30 */ beq lbl_8034BD80 +/* 8034BD54 00348CB4 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034BD58 00348CB8 41 82 00 28 */ beq lbl_8034BD80 +/* 8034BD5C 00348CBC 34 7F 00 20 */ addic. r3, r31, 0x20 +/* 8034BD60 00348CC0 41 82 00 10 */ beq lbl_8034BD70 +/* 8034BD64 00348CC4 28 03 00 00 */ cmplwi r3, 0 +/* 8034BD68 00348CC8 41 82 00 08 */ beq lbl_8034BD70 +/* 8034BD6C 00348CCC 48 00 0C 6D */ bl sub_8034c9d8 +lbl_8034BD70: +/* 8034BD70 00348CD0 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034BD74 00348CD4 41 82 00 0C */ beq lbl_8034BD80 +/* 8034BD78 00348CD8 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034BD7C 00348CDC 4B FF 1D 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034BD80: +/* 8034BD80 00348CE0 28 1F 00 00 */ cmplwi r31, 0 +/* 8034BD84 00348CE4 41 82 00 0C */ beq lbl_8034BD90 +/* 8034BD88 00348CE8 7F E3 FB 78 */ mr r3, r31 +/* 8034BD8C 00348CEC 4B FC 9B A5 */ bl Free__7CMemoryFPCv +lbl_8034BD90: +/* 8034BD90 00348CF0 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034BD94 00348CF4 38 03 FF FF */ addi r0, r3, -1 +/* 8034BD98 00348CF8 90 1D 00 04 */ stw r0, 4(r29) +/* 8034BD9C 00348CFC 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034BDA0 00348D00 90 1C 00 00 */ stw r0, 0(r28) +/* 8034BDA4 00348D04 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034BDA8 00348D08 90 1C 00 04 */ stw r0, 4(r28) +/* 8034BDAC 00348D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BDB0 00348D10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BDB4 00348D14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034BDB8 00348D18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034BDBC 00348D1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BDC0 00348D20 7C 08 03 A6 */ mtlr r0 +/* 8034BDC4 00348D24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BDC8 00348D28 4E 80 00 20 */ blr + +.global sub_8034bdcc +sub_8034bdcc: +/* 8034BDCC 00348D2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034BDD0 00348D30 7C 08 02 A6 */ mflr r0 +/* 8034BDD4 00348D34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034BDD8 00348D38 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034BDDC 00348D3C 7C BF 2B 78 */ mr r31, r5 +/* 8034BDE0 00348D40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034BDE4 00348D44 7C 9E 23 78 */ mr r30, r4 +/* 8034BDE8 00348D48 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034BDEC 00348D4C 7C 7D 1B 78 */ mr r29, r3 +/* 8034BDF0 00348D50 38 61 00 08 */ addi r3, r1, 8 +/* 8034BDF4 00348D54 48 00 01 21 */ bl sub_8034bf14 +/* 8034BDF8 00348D58 7F C4 F3 78 */ mr r4, r30 +/* 8034BDFC 00348D5C 7F E5 FB 78 */ mr r5, r31 +/* 8034BE00 00348D60 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034BE04 00348D64 48 00 00 41 */ bl sub_8034be44 +/* 8034BE08 00348D68 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8034BE0C 00348D6C 90 1D 00 00 */ stw r0, 0(r29) +/* 8034BE10 00348D70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034BE14 00348D74 90 1D 00 04 */ stw r0, 4(r29) +/* 8034BE18 00348D78 80 01 00 08 */ lwz r0, 8(r1) +/* 8034BE1C 00348D7C 90 1D 00 08 */ stw r0, 8(r29) +/* 8034BE20 00348D80 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034BE24 00348D84 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034BE28 00348D88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034BE2C 00348D8C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034BE30 00348D90 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034BE34 00348D94 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034BE38 00348D98 7C 08 03 A6 */ mtlr r0 +/* 8034BE3C 00348D9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034BE40 00348DA0 4E 80 00 20 */ blr + +.global sub_8034be44 +sub_8034be44: +/* 8034BE44 00348DA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034BE48 00348DA8 7C 08 02 A6 */ mflr r0 +/* 8034BE4C 00348DAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BE50 00348DB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034BE54 00348DB4 7C 9F 23 78 */ mr r31, r4 +/* 8034BE58 00348DB8 7C A4 2B 78 */ mr r4, r5 +/* 8034BE5C 00348DBC 93 C1 00 08 */ stw r30, 8(r1) +/* 8034BE60 00348DC0 7C 7E 1B 78 */ mr r30, r3 +/* 8034BE64 00348DC4 7F E3 FB 78 */ mr r3, r31 +/* 8034BE68 00348DC8 48 00 00 29 */ bl sub_8034be90 +/* 8034BE6C 00348DCC 90 7E 00 00 */ stw r3, 0(r30) +/* 8034BE70 00348DD0 38 1F 00 08 */ addi r0, r31, 8 +/* 8034BE74 00348DD4 90 1E 00 04 */ stw r0, 4(r30) +/* 8034BE78 00348DD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034BE7C 00348DDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034BE80 00348DE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034BE84 00348DE4 7C 08 03 A6 */ mtlr r0 +/* 8034BE88 00348DE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034BE8C 00348DEC 4E 80 00 20 */ blr + +.global sub_8034be90 +sub_8034be90: +/* 8034BE90 00348DF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034BE94 00348DF4 7C 08 02 A6 */ mflr r0 +/* 8034BE98 00348DF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BE9C 00348DFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034BEA0 00348E00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BEA4 00348E04 3B C0 00 00 */ li r30, 0 +/* 8034BEA8 00348E08 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034BEAC 00348E0C 7C 9D 23 78 */ mr r29, r4 +/* 8034BEB0 00348E10 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034BEB4 00348E14 7C 7C 1B 78 */ mr r28, r3 +/* 8034BEB8 00348E18 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034BEBC 00348E1C 48 00 00 2C */ b lbl_8034BEE8 +lbl_8034BEC0: +/* 8034BEC0 00348E20 7F A5 EB 78 */ mr r5, r29 +/* 8034BEC4 00348E24 38 7C 00 01 */ addi r3, r28, 1 +/* 8034BEC8 00348E28 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034BECC 00348E2C 4B CD E8 5D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034BED0 00348E30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BED4 00348E34 40 82 00 10 */ bne lbl_8034BEE4 +/* 8034BED8 00348E38 7F FE FB 78 */ mr r30, r31 +/* 8034BEDC 00348E3C 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034BEE0 00348E40 48 00 00 08 */ b lbl_8034BEE8 +lbl_8034BEE4: +/* 8034BEE4 00348E44 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034BEE8: +/* 8034BEE8 00348E48 28 1F 00 00 */ cmplwi r31, 0 +/* 8034BEEC 00348E4C 40 82 FF D4 */ bne lbl_8034BEC0 +/* 8034BEF0 00348E50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BEF4 00348E54 7F C3 F3 78 */ mr r3, r30 +/* 8034BEF8 00348E58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BEFC 00348E5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BF00 00348E60 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034BF04 00348E64 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034BF08 00348E68 7C 08 03 A6 */ mtlr r0 +/* 8034BF0C 00348E6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BF10 00348E70 4E 80 00 20 */ blr + +.global sub_8034bf14 +sub_8034bf14: +/* 8034BF14 00348E74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034BF18 00348E78 7C 08 02 A6 */ mflr r0 +/* 8034BF1C 00348E7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BF20 00348E80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034BF24 00348E84 7C 9F 23 78 */ mr r31, r4 +/* 8034BF28 00348E88 7C A4 2B 78 */ mr r4, r5 +/* 8034BF2C 00348E8C 93 C1 00 08 */ stw r30, 8(r1) +/* 8034BF30 00348E90 7C 7E 1B 78 */ mr r30, r3 +/* 8034BF34 00348E94 7F E3 FB 78 */ mr r3, r31 +/* 8034BF38 00348E98 48 00 00 29 */ bl sub_8034bf60 +/* 8034BF3C 00348E9C 90 7E 00 00 */ stw r3, 0(r30) +/* 8034BF40 00348EA0 38 1F 00 08 */ addi r0, r31, 8 +/* 8034BF44 00348EA4 90 1E 00 04 */ stw r0, 4(r30) +/* 8034BF48 00348EA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034BF4C 00348EAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034BF50 00348EB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034BF54 00348EB4 7C 08 03 A6 */ mtlr r0 +/* 8034BF58 00348EB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034BF5C 00348EBC 4E 80 00 20 */ blr + +.global sub_8034bf60 +sub_8034bf60: +/* 8034BF60 00348EC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034BF64 00348EC4 7C 08 02 A6 */ mflr r0 +/* 8034BF68 00348EC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BF6C 00348ECC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034BF70 00348ED0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BF74 00348ED4 3B C0 00 00 */ li r30, 0 +/* 8034BF78 00348ED8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034BF7C 00348EDC 7C 9D 23 78 */ mr r29, r4 +/* 8034BF80 00348EE0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034BF84 00348EE4 7C 7C 1B 78 */ mr r28, r3 +/* 8034BF88 00348EE8 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034BF8C 00348EEC 48 00 00 2C */ b lbl_8034BFB8 +lbl_8034BF90: +/* 8034BF90 00348EF0 7F A4 EB 78 */ mr r4, r29 +/* 8034BF94 00348EF4 38 7C 00 01 */ addi r3, r28, 1 +/* 8034BF98 00348EF8 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8034BF9C 00348EFC 4B CD E7 8D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034BFA0 00348F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BFA4 00348F04 41 82 00 10 */ beq lbl_8034BFB4 +/* 8034BFA8 00348F08 7F FE FB 78 */ mr r30, r31 +/* 8034BFAC 00348F0C 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034BFB0 00348F10 48 00 00 08 */ b lbl_8034BFB8 +lbl_8034BFB4: +/* 8034BFB4 00348F14 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034BFB8: +/* 8034BFB8 00348F18 28 1F 00 00 */ cmplwi r31, 0 +/* 8034BFBC 00348F1C 40 82 FF D4 */ bne lbl_8034BF90 +/* 8034BFC0 00348F20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BFC4 00348F24 7F C3 F3 78 */ mr r3, r30 +/* 8034BFC8 00348F28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BFCC 00348F2C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BFD0 00348F30 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034BFD4 00348F34 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034BFD8 00348F38 7C 08 03 A6 */ mtlr r0 +/* 8034BFDC 00348F3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BFE0 00348F40 4E 80 00 20 */ blr + +.global "SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034BFE4 00348F44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034BFE8 00348F48 7C 08 02 A6 */ mflr r0 +/* 8034BFEC 00348F4C 7C 64 1B 78 */ mr r4, r3 +/* 8034BFF0 00348F50 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BFF4 00348F54 38 61 00 08 */ addi r3, r1, 8 +/* 8034BFF8 00348F58 4B FF F6 75 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034BFFC 00348F5C 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034C000 00348F60 38 61 00 08 */ addi r3, r1, 8 +/* 8034C004 00348F64 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8034C008 00348F68 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C00C 00348F6C 38 04 00 01 */ addi r0, r4, 1 +/* 8034C010 00348F70 90 05 00 04 */ stw r0, 4(r5) +/* 8034C014 00348F74 48 00 09 C5 */ bl sub_8034c9d8 +/* 8034C018 00348F78 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034C01C 00348F7C 80 63 00 00 */ lwz r3, 0(r3) +/* 8034C020 00348F80 28 03 00 00 */ cmplwi r3, 0 +/* 8034C024 00348F84 41 82 00 18 */ beq lbl_8034C03C +/* 8034C028 00348F88 4B FF E6 2D */ bl FreeSampleBuffer__14CAudioGroupSetFv +/* 8034C02C 00348F8C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C030 00348F90 48 00 09 A9 */ bl sub_8034c9d8 +/* 8034C034 00348F94 38 60 00 01 */ li r3, 1 +/* 8034C038 00348F98 48 00 00 10 */ b lbl_8034C048 +lbl_8034C03C: +/* 8034C03C 00348F9C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C040 00348FA0 48 00 09 99 */ bl sub_8034c9d8 +/* 8034C044 00348FA4 38 60 00 00 */ li r3, 0 +lbl_8034C048: +/* 8034C048 00348FA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C04C 00348FAC 7C 08 03 A6 */ mtlr r0 +/* 8034C050 00348FB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C054 00348FB4 4E 80 00 20 */ blr + +.global "SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034C058 00348FB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034C05C 00348FBC 7C 08 02 A6 */ mflr r0 +/* 8034C060 00348FC0 7C 64 1B 78 */ mr r4, r3 +/* 8034C064 00348FC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034C068 00348FC8 38 61 00 08 */ addi r3, r1, 8 +/* 8034C06C 00348FCC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034C070 00348FD0 4B FF F5 FD */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C074 00348FD4 80 81 00 08 */ lwz r4, 8(r1) +/* 8034C078 00348FD8 38 61 00 08 */ addi r3, r1, 8 +/* 8034C07C 00348FDC 80 84 00 00 */ lwz r4, 0(r4) +/* 8034C080 00348FE0 7C 04 00 D0 */ neg r0, r4 +/* 8034C084 00348FE4 7C 00 23 78 */ or r0, r0, r4 +/* 8034C088 00348FE8 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 8034C08C 00348FEC 48 00 09 4D */ bl sub_8034c9d8 +/* 8034C090 00348FF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034C094 00348FF4 7F E3 FB 78 */ mr r3, r31 +/* 8034C098 00348FF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034C09C 00348FFC 7C 08 03 A6 */ mtlr r0 +/* 8034C0A0 00349000 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034C0A4 00349004 4E 80 00 20 */ blr + +.global "SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi" +"SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi": +/* 8034C0A8 00349008 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8034C0AC 0034900C 7C 08 02 A6 */ mflr r0 +/* 8034C0B0 00349010 90 01 00 74 */ stw r0, 0x74(r1) +/* 8034C0B4 00349014 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8034C0B8 00349018 7C BF 2B 78 */ mr r31, r5 +/* 8034C0BC 0034901C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8034C0C0 00349020 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8034C0C4 00349024 7C 7D 1B 78 */ mr r29, r3 +/* 8034C0C8 00349028 38 61 00 08 */ addi r3, r1, 8 +/* 8034C0CC 0034902C 93 81 00 60 */ stw r28, 0x60(r1) +/* 8034C0D0 00349030 4B FF F5 9D */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C0D4 00349034 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034C0D8 00349038 38 61 00 08 */ addi r3, r1, 8 +/* 8034C0DC 0034903C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034C0E0 00349040 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C0E4 00349044 38 04 00 01 */ addi r0, r4, 1 +/* 8034C0E8 00349048 90 05 00 04 */ stw r0, 4(r5) +/* 8034C0EC 0034904C 48 00 08 ED */ bl sub_8034c9d8 +/* 8034C0F0 00349050 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034C0F4 00349054 80 63 00 00 */ lwz r3, 0(r3) +/* 8034C0F8 00349058 28 03 00 00 */ cmplwi r3, 0 +/* 8034C0FC 0034905C 40 82 01 84 */ bne lbl_8034C280 +/* 8034C100 00349060 3C 60 80 3E */ lis r3, lbl_803D8210@ha +/* 8034C104 00349064 3B 80 00 00 */ li r28, 0 +/* 8034C108 00349068 38 83 82 10 */ addi r4, r3, lbl_803D8210@l +/* 8034C10C 0034906C 38 A0 00 00 */ li r5, 0 +/* 8034C110 00349070 38 60 00 30 */ li r3, 0x30 +/* 8034C114 00349074 4B FC 97 59 */ bl __nw__FUlPCcPCc +/* 8034C118 00349078 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C11C 0034907C 41 82 00 38 */ beq lbl_8034C154 +/* 8034C120 00349080 3B 81 00 2C */ addi r28, r1, 0x2c +/* 8034C124 00349084 7F A4 EB 78 */ mr r4, r29 +/* 8034C128 00349088 7F 83 E3 78 */ mr r3, r28 +/* 8034C12C 0034908C 4B FF 4D 7D */ bl __ct__6CTokenFRC6CToken +/* 8034C130 00349090 7F 83 E3 78 */ mr r3, r28 +/* 8034C134 00349094 4B FF 4C D9 */ bl GetObj__6CTokenFv +/* 8034C138 00349098 80 03 00 04 */ lwz r0, 4(r3) +/* 8034C13C 0034909C 7F 84 E3 78 */ mr r4, r28 +/* 8034C140 003490A0 7F C3 F3 78 */ mr r3, r30 +/* 8034C144 003490A4 3B 80 00 01 */ li r28, 1 +/* 8034C148 003490A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034C14C 003490AC 4B FF E5 D1 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" +/* 8034C150 003490B0 7C 7E 1B 78 */ mr r30, r3 +lbl_8034C154: +/* 8034C154 003490B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C158 003490B8 38 60 00 08 */ li r3, 8 +/* 8034C15C 003490BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C160 003490C0 38 A0 00 00 */ li r5, 0 +/* 8034C164 003490C4 4B FC 97 09 */ bl __nw__FUlPCcPCc +/* 8034C168 003490C8 28 03 00 00 */ cmplwi r3, 0 +/* 8034C16C 003490CC 41 82 00 10 */ beq lbl_8034C17C +/* 8034C170 003490D0 93 C3 00 00 */ stw r30, 0(r3) +/* 8034C174 003490D4 38 00 00 01 */ li r0, 1 +/* 8034C178 003490D8 90 03 00 04 */ stw r0, 4(r3) +lbl_8034C17C: +/* 8034C17C 003490DC 7F 80 07 75 */ extsb. r0, r28 +/* 8034C180 003490E0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034C184 003490E4 41 82 00 10 */ beq lbl_8034C194 +/* 8034C188 003490E8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8034C18C 003490EC 38 80 00 00 */ li r4, 0 +/* 8034C190 003490F0 4B FF 4C B1 */ bl __dt__6CTokenFv +lbl_8034C194: +/* 8034C194 003490F4 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034C198 003490F8 80 8D A9 F4 */ lwz r4, lbl_805A95B4@sda21(r13) +/* 8034C19C 003490FC 80 65 00 00 */ lwz r3, 0(r5) +/* 8034C1A0 00349100 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13) +/* 8034C1A4 00349104 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8034C1A8 00349108 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8034C1AC 0034910C 7C 64 1A 14 */ add r3, r4, r3 +/* 8034C1B0 00349110 7C 03 00 00 */ cmpw r3, r0 +/* 8034C1B4 00349114 40 81 00 1C */ ble lbl_8034C1D0 +/* 8034C1B8 00349118 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C1BC 0034911C 48 00 08 1D */ bl sub_8034c9d8 +/* 8034C1C0 00349120 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C1C4 00349124 48 00 08 15 */ bl sub_8034c9d8 +/* 8034C1C8 00349128 38 60 00 01 */ li r3, 1 +/* 8034C1CC 0034912C 48 00 00 C4 */ b lbl_8034C290 +lbl_8034C1D0: +/* 8034C1D0 00349130 90 6D A9 F4 */ stw r3, lbl_805A95B4@sda21(r13) +/* 8034C1D4 00349134 38 61 00 4C */ addi r3, r1, 0x4c +/* 8034C1D8 00349138 80 85 00 00 */ lwz r4, 0(r5) +/* 8034C1DC 0034913C 3B C4 00 10 */ addi r30, r4, 0x10 +/* 8034C1E0 00349140 7F C4 F3 78 */ mr r4, r30 +/* 8034C1E4 00349144 4B FF 1F 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C1E8 00349148 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034C1EC 0034914C 3B A1 00 5C */ addi r29, r1, 0x5c +/* 8034C1F0 00349150 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034C1F4 00349154 38 C1 00 4C */ addi r6, r1, 0x4c +/* 8034C1F8 00349158 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 8034C1FC 0034915C 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C200 00349160 38 04 00 01 */ addi r0, r4, 1 +/* 8034C204 00349164 90 05 00 04 */ stw r0, 4(r5) +/* 8034C208 00349168 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13) +/* 8034C20C 0034916C 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C210 00349170 48 00 0A BD */ bl "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" +/* 8034C214 00349174 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C218 00349178 41 82 00 10 */ beq lbl_8034C228 +/* 8034C21C 0034917C 41 82 00 0C */ beq lbl_8034C228 +/* 8034C220 00349180 7F A3 EB 78 */ mr r3, r29 +/* 8034C224 00349184 48 00 07 B5 */ bl sub_8034c9d8 +lbl_8034C228: +/* 8034C228 00349188 38 61 00 4C */ addi r3, r1, 0x4c +/* 8034C22C 0034918C 4B FF 18 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034C230 00349190 3B A1 00 3C */ addi r29, r1, 0x3c +/* 8034C234 00349194 93 E1 00 38 */ stw r31, 0x38(r1) +/* 8034C238 00349198 7F A3 EB 78 */ mr r3, r29 +/* 8034C23C 0034919C 7F C4 F3 78 */ mr r4, r30 +/* 8034C240 003491A0 4B FF 1F 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C244 003491A4 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13) +/* 8034C248 003491A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034C24C 003491AC 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8034C250 003491B0 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C254 003491B4 48 00 0C F9 */ bl "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" +/* 8034C258 003491B8 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C25C 003491BC 41 82 00 0C */ beq lbl_8034C268 +/* 8034C260 003491C0 7F A3 EB 78 */ mr r3, r29 +/* 8034C264 003491C4 4B FF 18 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034C268: +/* 8034C268 003491C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C26C 003491CC 48 00 07 6D */ bl sub_8034c9d8 +/* 8034C270 003491D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C274 003491D4 48 00 07 65 */ bl sub_8034c9d8 +/* 8034C278 003491D8 38 60 00 00 */ li r3, 0 +/* 8034C27C 003491DC 48 00 00 14 */ b lbl_8034C290 +lbl_8034C280: +/* 8034C280 003491E0 4B FF E3 F9 */ bl Reload__14CAudioGroupSetFv +/* 8034C284 003491E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C288 003491E8 48 00 07 51 */ bl sub_8034c9d8 +/* 8034C28C 003491EC 38 60 00 01 */ li r3, 1 +lbl_8034C290: +/* 8034C290 003491F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8034C294 003491F4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8034C298 003491F8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8034C29C 003491FC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8034C2A0 00349200 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8034C2A4 00349204 7C 08 03 A6 */ mtlr r0 +/* 8034C2A8 00349208 38 21 00 70 */ addi r1, r1, 0x70 +/* 8034C2AC 0034920C 4E 80 00 20 */ blr + +.global SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi +SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi: +/* 8034C2B0 00349210 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8034C2B4 00349214 7C 08 02 A6 */ mflr r0 +/* 8034C2B8 00349218 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034C2BC 0034921C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8034C2C0 00349220 7C 9F 23 78 */ mr r31, r4 +/* 8034C2C4 00349224 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8034C2C8 00349228 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8034C2CC 0034922C 7C 7D 1B 78 */ mr r29, r3 +/* 8034C2D0 00349230 7F E3 FB 78 */ mr r3, r31 +/* 8034C2D4 00349234 4B FF F5 71 */ bl SysGetGroupSetName__9CAudioSysFUi +/* 8034C2D8 00349238 7C 60 1B 78 */ mr r0, r3 +/* 8034C2DC 0034923C 38 61 00 08 */ addi r3, r1, 8 +/* 8034C2E0 00349240 7C 04 03 78 */ mr r4, r0 +/* 8034C2E4 00349244 4B FF F3 89 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C2E8 00349248 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034C2EC 0034924C 38 61 00 08 */ addi r3, r1, 8 +/* 8034C2F0 00349250 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034C2F4 00349254 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C2F8 00349258 38 04 00 01 */ addi r0, r4, 1 +/* 8034C2FC 0034925C 90 05 00 04 */ stw r0, 4(r5) +/* 8034C300 00349260 48 00 06 D9 */ bl sub_8034c9d8 +/* 8034C304 00349264 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034C308 00349268 80 63 00 00 */ lwz r3, 0(r3) +/* 8034C30C 0034926C 28 03 00 00 */ cmplwi r3, 0 +/* 8034C310 00349270 40 82 01 B0 */ bne lbl_8034C4C0 +/* 8034C314 00349274 3C 60 41 47 */ lis r3, 0x41475343@ha +/* 8034C318 00349278 93 E1 00 20 */ stw r31, 0x20(r1) +/* 8034C31C 0034927C 38 03 53 43 */ addi r0, r3, 0x41475343@l +/* 8034C320 00349280 7F A4 EB 78 */ mr r4, r29 +/* 8034C324 00349284 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034C328 00349288 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034C32C 0034928C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8034C330 00349290 81 9D 00 00 */ lwz r12, 0(r29) +/* 8034C334 00349294 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034C338 00349298 7D 89 03 A6 */ mtctr r12 +/* 8034C33C 0034929C 4E 80 04 21 */ bctrl +/* 8034C340 003492A0 3B A1 00 3C */ addi r29, r1, 0x3c +/* 8034C344 003492A4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8034C348 003492A8 7F A3 EB 78 */ mr r3, r29 +/* 8034C34C 003492AC 4B FF 4B 5D */ bl __ct__6CTokenFRC6CToken +/* 8034C350 003492B0 7F A3 EB 78 */ mr r3, r29 +/* 8034C354 003492B4 4B FF 4A B9 */ bl GetObj__6CTokenFv +/* 8034C358 003492B8 80 03 00 04 */ lwz r0, 4(r3) +/* 8034C35C 003492BC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034C360 003492C0 38 80 FF FF */ li r4, -1 +/* 8034C364 003492C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034C368 003492C8 4B FF 4A D9 */ bl __dt__6CTokenFv +/* 8034C36C 003492CC 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C370 003492D0 38 60 00 30 */ li r3, 0x30 +/* 8034C374 003492D4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C378 003492D8 38 A0 00 00 */ li r5, 0 +/* 8034C37C 003492DC 4B FC 94 F1 */ bl __nw__FUlPCcPCc +/* 8034C380 003492E0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C384 003492E4 41 82 00 10 */ beq lbl_8034C394 +/* 8034C388 003492E8 7F A4 EB 78 */ mr r4, r29 +/* 8034C38C 003492EC 4B FF E3 91 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" +/* 8034C390 003492F0 7C 7E 1B 78 */ mr r30, r3 +lbl_8034C394: +/* 8034C394 003492F4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C398 003492F8 38 60 00 08 */ li r3, 8 +/* 8034C39C 003492FC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C3A0 00349300 38 A0 00 00 */ li r5, 0 +/* 8034C3A4 00349304 4B FC 94 C9 */ bl __nw__FUlPCcPCc +/* 8034C3A8 00349308 28 03 00 00 */ cmplwi r3, 0 +/* 8034C3AC 0034930C 41 82 00 10 */ beq lbl_8034C3BC +/* 8034C3B0 00349310 93 C3 00 00 */ stw r30, 0(r3) +/* 8034C3B4 00349314 38 00 00 01 */ li r0, 1 +/* 8034C3B8 00349318 90 03 00 04 */ stw r0, 4(r3) +lbl_8034C3BC: +/* 8034C3BC 0034931C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034C3C0 00349320 80 AD A9 F4 */ lwz r5, lbl_805A95B4@sda21(r13) +/* 8034C3C4 00349324 80 83 00 00 */ lwz r4, 0(r3) +/* 8034C3C8 00349328 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13) +/* 8034C3CC 0034932C 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8034C3D0 00349330 80 84 00 30 */ lwz r4, 0x30(r4) +/* 8034C3D4 00349334 7C 85 22 14 */ add r4, r5, r4 +/* 8034C3D8 00349338 7C 04 00 00 */ cmpw r4, r0 +/* 8034C3DC 0034933C 40 81 00 28 */ ble lbl_8034C404 +/* 8034C3E0 00349340 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C3E4 00349344 48 00 05 F5 */ bl sub_8034c9d8 +/* 8034C3E8 00349348 38 61 00 3C */ addi r3, r1, 0x3c +/* 8034C3EC 0034934C 38 80 00 00 */ li r4, 0 +/* 8034C3F0 00349350 4B FF 4A 51 */ bl __dt__6CTokenFv +/* 8034C3F4 00349354 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C3F8 00349358 48 00 05 E1 */ bl sub_8034c9d8 +/* 8034C3FC 0034935C 38 60 00 01 */ li r3, 1 +/* 8034C400 00349360 48 00 00 D0 */ b lbl_8034C4D0 +lbl_8034C404: +/* 8034C404 00349364 90 8D A9 F4 */ stw r4, lbl_805A95B4@sda21(r13) +/* 8034C408 00349368 80 83 00 00 */ lwz r4, 0(r3) +/* 8034C40C 0034936C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8034C410 00349370 3B C4 00 10 */ addi r30, r4, 0x10 +/* 8034C414 00349374 7F C4 F3 78 */ mr r4, r30 +/* 8034C418 00349378 4B FF 1D 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C41C 0034937C 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034C420 00349380 3B A1 00 6C */ addi r29, r1, 0x6c +/* 8034C424 00349384 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034C428 00349388 38 C1 00 5C */ addi r6, r1, 0x5c +/* 8034C42C 0034938C 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 8034C430 00349390 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C434 00349394 38 04 00 01 */ addi r0, r4, 1 +/* 8034C438 00349398 90 05 00 04 */ stw r0, 4(r5) +/* 8034C43C 0034939C 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13) +/* 8034C440 003493A0 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C444 003493A4 48 00 08 89 */ bl "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" +/* 8034C448 003493A8 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C44C 003493AC 41 82 00 10 */ beq lbl_8034C45C +/* 8034C450 003493B0 41 82 00 0C */ beq lbl_8034C45C +/* 8034C454 003493B4 7F A3 EB 78 */ mr r3, r29 +/* 8034C458 003493B8 48 00 05 81 */ bl sub_8034c9d8 +lbl_8034C45C: +/* 8034C45C 003493BC 38 61 00 5C */ addi r3, r1, 0x5c +/* 8034C460 003493C0 4B FF 16 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034C464 003493C4 3B A1 00 4C */ addi r29, r1, 0x4c +/* 8034C468 003493C8 93 E1 00 48 */ stw r31, 0x48(r1) +/* 8034C46C 003493CC 7F A3 EB 78 */ mr r3, r29 +/* 8034C470 003493D0 7F C4 F3 78 */ mr r4, r30 +/* 8034C474 003493D4 4B FF 1C ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C478 003493D8 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13) +/* 8034C47C 003493DC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8034C480 003493E0 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8034C484 003493E4 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C488 003493E8 48 00 0A C5 */ bl "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" +/* 8034C48C 003493EC 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C490 003493F0 41 82 00 0C */ beq lbl_8034C49C +/* 8034C494 003493F4 7F A3 EB 78 */ mr r3, r29 +/* 8034C498 003493F8 4B FF 16 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034C49C: +/* 8034C49C 003493FC 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C4A0 00349400 48 00 05 39 */ bl sub_8034c9d8 +/* 8034C4A4 00349404 38 61 00 3C */ addi r3, r1, 0x3c +/* 8034C4A8 00349408 38 80 00 00 */ li r4, 0 +/* 8034C4AC 0034940C 4B FF 49 95 */ bl __dt__6CTokenFv +/* 8034C4B0 00349410 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C4B4 00349414 48 00 05 25 */ bl sub_8034c9d8 +/* 8034C4B8 00349418 38 60 00 00 */ li r3, 0 +/* 8034C4BC 0034941C 48 00 00 14 */ b lbl_8034C4D0 +lbl_8034C4C0: +/* 8034C4C0 00349420 4B FF E1 B9 */ bl Reload__14CAudioGroupSetFv +/* 8034C4C4 00349424 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C4C8 00349428 48 00 05 11 */ bl sub_8034c9d8 +/* 8034C4CC 0034942C 38 60 00 01 */ li r3, 1 +lbl_8034C4D0: +/* 8034C4D0 00349430 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8034C4D4 00349434 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8034C4D8 00349438 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8034C4DC 0034943C 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8034C4E0 00349440 7C 08 03 A6 */ mtlr r0 +/* 8034C4E4 00349444 38 21 00 80 */ addi r1, r1, 0x80 +/* 8034C4E8 00349448 4E 80 00 20 */ blr + +.global SysSetSfxVolume__9CAudioSysFUcUsUcUc +SysSetSfxVolume__9CAudioSysFUcUsUcUc: +/* 8034C4EC 0034944C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C4F0 00349450 7C 08 02 A6 */ mflr r0 +/* 8034C4F4 00349454 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034C4F8 00349458 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034C4FC 0034945C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C500 00349460 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034C504 00349464 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034C508 00349468 48 04 FE AD */ bl sndMasterVolume +/* 8034C50C 0034946C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C510 00349470 7C 08 03 A6 */ mtlr r0 +/* 8034C514 00349474 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C518 00349478 4E 80 00 20 */ blr + +.global SysSetVolume__9CAudioSysFUcUsUc +SysSetVolume__9CAudioSysFUcUsUc: +/* 8034C51C 0034947C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C520 00349480 7C 08 02 A6 */ mflr r0 +/* 8034C524 00349484 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034C528 00349488 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034C52C 0034948C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C530 00349490 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034C534 00349494 48 04 FE 21 */ bl sndVolume +/* 8034C538 00349498 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C53C 0034949C 7C 08 03 A6 */ mtlr r0 +/* 8034C540 003494A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C544 003494A4 4E 80 00 20 */ blr + +.global __dt__9CAudioSysFv +__dt__9CAudioSysFv: +/* 8034C548 003494A8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034C54C 003494AC 7C 08 02 A6 */ mflr r0 +/* 8034C550 003494B0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034C554 003494B4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034C558 003494B8 7C 9F 23 78 */ mr r31, r4 +/* 8034C55C 003494BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034C560 003494C0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C564 003494C4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034C568 003494C8 41 82 01 68 */ beq lbl_8034C6D0 +/* 8034C56C 003494CC 4B FF E5 F1 */ bl S3dFlushAllEmitters__9CAudioSysFv +/* 8034C570 003494D0 4B FF E8 C9 */ bl S3dRemoveListener__9CAudioSysFv +/* 8034C574 003494D4 48 06 47 65 */ bl sndQuit +/* 8034C578 003494D8 83 AD A9 D4 */ lwz r29, lbl_805A9594@sda21(r13) +/* 8034C57C 003494DC 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C580 003494E0 41 82 00 38 */ beq lbl_8034C5B8 +/* 8034C584 003494E4 41 82 00 2C */ beq lbl_8034C5B0 +/* 8034C588 003494E8 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8034C58C 003494EC 28 04 00 00 */ cmplwi r4, 0 +/* 8034C590 003494F0 41 82 00 0C */ beq lbl_8034C59C +/* 8034C594 003494F4 7F A3 EB 78 */ mr r3, r29 +/* 8034C598 003494F8 48 00 05 BD */ bl sub_8034cb54 +lbl_8034C59C: +/* 8034C59C 003494FC 38 00 00 00 */ li r0, 0 +/* 8034C5A0 00349500 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034C5A4 00349504 90 1D 00 08 */ stw r0, 8(r29) +/* 8034C5A8 00349508 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034C5AC 0034950C 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034C5B0: +/* 8034C5B0 00349510 7F A3 EB 78 */ mr r3, r29 +/* 8034C5B4 00349514 4B FC 93 7D */ bl Free__7CMemoryFPCv +lbl_8034C5B8: +/* 8034C5B8 00349518 83 AD A9 D8 */ lwz r29, lbl_805A9598@sda21(r13) +/* 8034C5BC 0034951C 38 00 00 00 */ li r0, 0 +/* 8034C5C0 00349520 90 0D A9 D4 */ stw r0, lbl_805A9594@sda21(r13) +/* 8034C5C4 00349524 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C5C8 00349528 41 82 00 38 */ beq lbl_8034C600 +/* 8034C5CC 0034952C 41 82 00 2C */ beq lbl_8034C5F8 +/* 8034C5D0 00349530 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8034C5D4 00349534 28 04 00 00 */ cmplwi r4, 0 +/* 8034C5D8 00349538 41 82 00 0C */ beq lbl_8034C5E4 +/* 8034C5DC 0034953C 7F A3 EB 78 */ mr r3, r29 +/* 8034C5E0 00349540 48 00 04 F1 */ bl sub_8034cad0 +lbl_8034C5E4: +/* 8034C5E4 00349544 38 00 00 00 */ li r0, 0 +/* 8034C5E8 00349548 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034C5EC 0034954C 90 1D 00 08 */ stw r0, 8(r29) +/* 8034C5F0 00349550 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034C5F4 00349554 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034C5F8: +/* 8034C5F8 00349558 7F A3 EB 78 */ mr r3, r29 +/* 8034C5FC 0034955C 4B FC 93 35 */ bl Free__7CMemoryFPCv +lbl_8034C600: +/* 8034C600 00349560 83 AD A9 DC */ lwz r29, lbl_805A959C@sda21(r13) +/* 8034C604 00349564 38 00 00 00 */ li r0, 0 +/* 8034C608 00349568 90 0D A9 D8 */ stw r0, lbl_805A9598@sda21(r13) +/* 8034C60C 0034956C 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C610 00349570 41 82 00 38 */ beq lbl_8034C648 +/* 8034C614 00349574 41 82 00 2C */ beq lbl_8034C640 +/* 8034C618 00349578 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8034C61C 0034957C 28 04 00 00 */ cmplwi r4, 0 +/* 8034C620 00349580 41 82 00 0C */ beq lbl_8034C62C +/* 8034C624 00349584 7F A3 EB 78 */ mr r3, r29 +/* 8034C628 00349588 48 00 04 0D */ bl sub_8034ca34 +lbl_8034C62C: +/* 8034C62C 0034958C 38 00 00 00 */ li r0, 0 +/* 8034C630 00349590 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034C634 00349594 90 1D 00 08 */ stw r0, 8(r29) +/* 8034C638 00349598 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034C63C 0034959C 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034C640: +/* 8034C640 003495A0 7F A3 EB 78 */ mr r3, r29 +/* 8034C644 003495A4 4B FC 92 ED */ bl Free__7CMemoryFPCv +lbl_8034C648: +/* 8034C648 003495A8 83 AD A9 E0 */ lwz r29, lbl_805A95A0@sda21(r13) +/* 8034C64C 003495AC 38 00 00 00 */ li r0, 0 +/* 8034C650 003495B0 90 0D A9 DC */ stw r0, lbl_805A959C@sda21(r13) +/* 8034C654 003495B4 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C658 003495B8 41 82 00 4C */ beq lbl_8034C6A4 +/* 8034C65C 003495BC 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034C660 003495C0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8034C664 003495C4 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8034C668 003495C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034C66C 003495CC 7C 64 1B 78 */ mr r4, r3 +/* 8034C670 003495D0 7C 03 02 14 */ add r0, r3, r0 +/* 8034C674 003495D4 90 61 00 08 */ stw r3, 8(r1) +/* 8034C678 003495D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C67C 003495DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034C680 003495E0 48 00 00 08 */ b lbl_8034C688 +lbl_8034C684: +/* 8034C684 003495E4 38 84 00 54 */ addi r4, r4, 0x54 +lbl_8034C688: +/* 8034C688 003495E8 7C 04 00 40 */ cmplw r4, r0 +/* 8034C68C 003495EC 40 82 FF F8 */ bne lbl_8034C684 +/* 8034C690 003495F0 28 03 00 00 */ cmplwi r3, 0 +/* 8034C694 003495F4 41 82 00 08 */ beq lbl_8034C69C +/* 8034C698 003495F8 4B FC 92 99 */ bl Free__7CMemoryFPCv +lbl_8034C69C: +/* 8034C69C 003495FC 7F A3 EB 78 */ mr r3, r29 +/* 8034C6A0 00349600 4B FC 92 91 */ bl Free__7CMemoryFPCv +lbl_8034C6A4: +/* 8034C6A4 00349604 38 00 00 00 */ li r0, 0 +/* 8034C6A8 00349608 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034C6AC 0034960C 90 0D A9 E0 */ stw r0, lbl_805A95A0@sda21(r13) +/* 8034C6B0 00349610 4B FC 92 81 */ bl Free__7CMemoryFPCv +/* 8034C6B4 00349614 38 60 00 00 */ li r3, 0 +/* 8034C6B8 00349618 7F E0 07 35 */ extsh. r0, r31 +/* 8034C6BC 0034961C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13) +/* 8034C6C0 00349620 98 6D A9 D0 */ stb r3, lbl_805A9590@sda21(r13) +/* 8034C6C4 00349624 40 81 00 0C */ ble lbl_8034C6D0 +/* 8034C6C8 00349628 7F C3 F3 78 */ mr r3, r30 +/* 8034C6CC 0034962C 4B FC 92 65 */ bl Free__7CMemoryFPCv +lbl_8034C6D0: +/* 8034C6D0 00349630 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034C6D4 00349634 7F C3 F3 78 */ mr r3, r30 +/* 8034C6D8 00349638 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034C6DC 0034963C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034C6E0 00349640 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034C6E4 00349644 7C 08 03 A6 */ mtlr r0 +/* 8034C6E8 00349648 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034C6EC 0034964C 4E 80 00 20 */ blr + +.global __ct__9CAudioSysFUcUcUcUcUi +__ct__9CAudioSysFUcUcUcUcUi: +/* 8034C6F0 00349650 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8034C6F4 00349654 7C 08 02 A6 */ mflr r0 +/* 8034C6F8 00349658 39 40 00 01 */ li r10, 1 +/* 8034C6FC 0034965C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8034C700 00349660 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 8034C704 00349664 7C 7A 1B 78 */ mr r26, r3 +/* 8034C708 00349668 7C 9F 23 78 */ mr r31, r4 +/* 8034C70C 0034966C 7C BE 2B 78 */ mr r30, r5 +/* 8034C710 00349670 7C DD 33 78 */ mr r29, r6 +/* 8034C714 00349674 7C FB 3B 78 */ mr r27, r7 +/* 8034C718 00349678 7D 1C 43 78 */ mr r28, r8 +/* 8034C71C 0034967C 38 60 00 00 */ li r3, 0 +/* 8034C720 00349680 81 22 CC 44 */ lwz r9, lbl_805AE964@sda21(r2) +/* 8034C724 00349684 80 02 CC 48 */ lwz r0, lbl_805AE968@sda21(r2) +/* 8034C728 00349688 99 4D A9 D0 */ stb r10, lbl_805A9590@sda21(r13) +/* 8034C72C 0034968C 91 21 00 20 */ stw r9, 0x20(r1) +/* 8034C730 00349690 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034C734 00349694 48 02 0C A1 */ bl AIInit +/* 8034C738 00349698 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034C73C 0034969C 48 06 77 CD */ bl sndSetHooks +/* 8034C740 003496A0 88 0D 9D D8 */ lbz r0, lbl_805A8998@sda21(r13) +/* 8034C744 003496A4 28 00 00 00 */ cmplwi r0, 0 +/* 8034C748 003496A8 41 82 00 24 */ beq lbl_8034C76C +/* 8034C74C 003496AC 7F 88 E3 78 */ mr r8, r28 +/* 8034C750 003496B0 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8034C754 003496B4 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 8034C758 003496B8 57 A5 06 3E */ clrlwi r5, r29, 0x18 +/* 8034C75C 003496BC 38 C0 00 01 */ li r6, 1 +/* 8034C760 003496C0 38 E0 00 01 */ li r7, 1 +/* 8034C764 003496C4 48 06 44 5D */ bl sndInit +/* 8034C768 003496C8 48 00 00 20 */ b lbl_8034C788 +lbl_8034C76C: +/* 8034C76C 003496CC 7F 88 E3 78 */ mr r8, r28 +/* 8034C770 003496D0 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8034C774 003496D4 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 8034C778 003496D8 57 A5 06 3E */ clrlwi r5, r29, 0x18 +/* 8034C77C 003496DC 38 C0 00 01 */ li r6, 1 +/* 8034C780 003496E0 38 E0 00 00 */ li r7, 0 +/* 8034C784 003496E4 48 06 44 3D */ bl sndInit +lbl_8034C788: +/* 8034C788 003496E8 48 06 B2 15 */ bl DTKInit +/* 8034C78C 003496EC 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C790 003496F0 38 60 00 14 */ li r3, 0x14 +/* 8034C794 003496F4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C798 003496F8 38 A0 00 00 */ li r5, 0 +/* 8034C79C 003496FC 4B FC 90 D1 */ bl __nw__FUlPCcPCc +/* 8034C7A0 00349700 28 03 00 00 */ cmplwi r3, 0 +/* 8034C7A4 00349704 41 82 00 28 */ beq lbl_8034C7CC +/* 8034C7A8 00349708 88 A1 00 10 */ lbz r5, 0x10(r1) +/* 8034C7AC 0034970C 38 00 00 00 */ li r0, 0 +/* 8034C7B0 00349710 88 81 00 1C */ lbz r4, 0x1c(r1) +/* 8034C7B4 00349714 98 A3 00 00 */ stb r5, 0(r3) +/* 8034C7B8 00349718 98 83 00 01 */ stb r4, 1(r3) +/* 8034C7BC 0034971C 90 03 00 04 */ stw r0, 4(r3) +/* 8034C7C0 00349720 90 03 00 08 */ stw r0, 8(r3) +/* 8034C7C4 00349724 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034C7C8 00349728 90 03 00 10 */ stw r0, 0x10(r3) +lbl_8034C7CC: +/* 8034C7CC 0034972C 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C7D0 00349730 90 6D A9 D4 */ stw r3, lbl_805A9594@sda21(r13) +/* 8034C7D4 00349734 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C7D8 00349738 38 60 00 14 */ li r3, 0x14 +/* 8034C7DC 0034973C 38 A0 00 00 */ li r5, 0 +/* 8034C7E0 00349740 4B FC 90 8D */ bl __nw__FUlPCcPCc +/* 8034C7E4 00349744 28 03 00 00 */ cmplwi r3, 0 +/* 8034C7E8 00349748 41 82 00 28 */ beq lbl_8034C810 +/* 8034C7EC 0034974C 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 8034C7F0 00349750 38 00 00 00 */ li r0, 0 +/* 8034C7F4 00349754 88 81 00 18 */ lbz r4, 0x18(r1) +/* 8034C7F8 00349758 98 A3 00 00 */ stb r5, 0(r3) +/* 8034C7FC 0034975C 98 83 00 01 */ stb r4, 1(r3) +/* 8034C800 00349760 90 03 00 04 */ stw r0, 4(r3) +/* 8034C804 00349764 90 03 00 08 */ stw r0, 8(r3) +/* 8034C808 00349768 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034C80C 0034976C 90 03 00 10 */ stw r0, 0x10(r3) +lbl_8034C810: +/* 8034C810 00349770 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C814 00349774 90 6D A9 D8 */ stw r3, lbl_805A9598@sda21(r13) +/* 8034C818 00349778 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C81C 0034977C 38 60 00 14 */ li r3, 0x14 +/* 8034C820 00349780 38 A0 00 00 */ li r5, 0 +/* 8034C824 00349784 4B FC 90 49 */ bl __nw__FUlPCcPCc +/* 8034C828 00349788 28 03 00 00 */ cmplwi r3, 0 +/* 8034C82C 0034978C 41 82 00 28 */ beq lbl_8034C854 +/* 8034C830 00349790 88 A1 00 08 */ lbz r5, 8(r1) +/* 8034C834 00349794 38 00 00 00 */ li r0, 0 +/* 8034C838 00349798 88 81 00 14 */ lbz r4, 0x14(r1) +/* 8034C83C 0034979C 98 A3 00 00 */ stb r5, 0(r3) +/* 8034C840 003497A0 98 83 00 01 */ stb r4, 1(r3) +/* 8034C844 003497A4 90 03 00 04 */ stw r0, 4(r3) +/* 8034C848 003497A8 90 03 00 08 */ stw r0, 8(r3) +/* 8034C84C 003497AC 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034C850 003497B0 90 03 00 10 */ stw r0, 0x10(r3) +lbl_8034C854: +/* 8034C854 003497B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C858 003497B8 90 6D A9 DC */ stw r3, lbl_805A959C@sda21(r13) +/* 8034C85C 003497BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C860 003497C0 38 60 00 10 */ li r3, 0x10 +/* 8034C864 003497C4 38 A0 00 00 */ li r5, 0 +/* 8034C868 003497C8 4B FC 90 05 */ bl __nw__FUlPCcPCc +/* 8034C86C 003497CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C870 003497D0 41 82 00 A0 */ beq lbl_8034C910 +/* 8034C874 003497D4 57 7D 06 3E */ clrlwi r29, r27, 0x18 +/* 8034C878 003497D8 8B E2 CC 41 */ lbz r31, lbl_805AE961@sda21(r2) +/* 8034C87C 003497DC 93 BE 00 04 */ stw r29, 4(r30) +/* 8034C880 003497E0 93 BE 00 08 */ stw r29, 8(r30) +/* 8034C884 003497E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034C888 003497E8 1C 60 00 54 */ mulli r3, r0, 0x54 +/* 8034C88C 003497EC 2C 03 00 00 */ cmpwi r3, 0 +/* 8034C890 003497F0 40 82 00 10 */ bne lbl_8034C8A0 +/* 8034C894 003497F4 38 00 00 00 */ li r0, 0 +/* 8034C898 003497F8 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8034C89C 003497FC 48 00 00 18 */ b lbl_8034C8B4 +lbl_8034C8A0: +/* 8034C8A0 00349800 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C8A4 00349804 38 A0 00 00 */ li r5, 0 +/* 8034C8A8 00349808 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C8AC 0034980C 4B FC 8F 6D */ bl __nwa__FUlPCcPCc +/* 8034C8B0 00349810 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_8034C8B4: +/* 8034C8B4 00349814 39 20 00 00 */ li r9, 0 +/* 8034C8B8 00349818 81 5E 00 0C */ lwz r10, 0xc(r30) +/* 8034C8BC 0034981C 7D 23 4B 78 */ mr r3, r9 +/* 8034C8C0 00349820 38 C0 00 0A */ li r6, 0xa +/* 8034C8C4 00349824 7D 20 4B 78 */ mr r0, r9 +/* 8034C8C8 00349828 48 00 00 40 */ b lbl_8034C908 +lbl_8034C8CC: +/* 8034C8CC 0034982C 28 0A 00 00 */ cmplwi r10, 0 +/* 8034C8D0 00349830 41 82 00 30 */ beq lbl_8034C900 +/* 8034C8D4 00349834 39 0A FF FC */ addi r8, r10, -4 +/* 8034C8D8 00349838 38 E1 00 24 */ addi r7, r1, 0x24 +/* 8034C8DC 0034983C 7C C9 03 A6 */ mtctr r6 +lbl_8034C8E0: +/* 8034C8E0 00349840 80 A7 00 04 */ lwz r5, 4(r7) +/* 8034C8E4 00349844 84 87 00 08 */ lwzu r4, 8(r7) +/* 8034C8E8 00349848 90 A8 00 04 */ stw r5, 4(r8) +/* 8034C8EC 0034984C 94 88 00 08 */ stwu r4, 8(r8) +/* 8034C8F0 00349850 42 00 FF F0 */ bdnz lbl_8034C8E0 +/* 8034C8F4 00349854 98 6A 00 50 */ stb r3, 0x50(r10) +/* 8034C8F8 00349858 98 0A 00 51 */ stb r0, 0x51(r10) +/* 8034C8FC 0034985C 9B EA 00 52 */ stb r31, 0x52(r10) +lbl_8034C900: +/* 8034C900 00349860 39 29 00 01 */ addi r9, r9, 1 +/* 8034C904 00349864 39 4A 00 54 */ addi r10, r10, 0x54 +lbl_8034C908: +/* 8034C908 00349868 7C 09 E8 00 */ cmpw r9, r29 +/* 8034C90C 0034986C 41 80 FF C0 */ blt lbl_8034C8CC +lbl_8034C910: +/* 8034C910 00349870 3C 60 80 3E */ lis r3, lbl_803D8210@ha +/* 8034C914 00349874 93 CD A9 E0 */ stw r30, lbl_805A95A0@sda21(r13) +/* 8034C918 00349878 38 83 82 10 */ addi r4, r3, lbl_803D8210@l +/* 8034C91C 0034987C 38 A0 00 00 */ li r5, 0 +/* 8034C920 00349880 38 60 00 90 */ li r3, 0x90 +/* 8034C924 00349884 4B FC 8F 49 */ bl __nw__FUlPCcPCc +/* 8034C928 00349888 38 00 00 00 */ li r0, 0 +/* 8034C92C 0034988C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13) +/* 8034C930 00349890 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) +/* 8034C934 00349894 9B 6D A9 D3 */ stb r27, lbl_805A9593@sda21(r13) +/* 8034C938 00349898 48 03 76 D9 */ bl OSGetSoundMode +/* 8034C93C 0034989C 28 03 00 00 */ cmplwi r3, 0 +/* 8034C940 003498A0 40 82 00 18 */ bne lbl_8034C958 +/* 8034C944 003498A4 38 60 00 00 */ li r3, 0 +/* 8034C948 003498A8 48 04 FB 01 */ bl sndOutputMode +/* 8034C94C 003498AC 38 00 00 00 */ li r0, 0 +/* 8034C950 003498B0 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13) +/* 8034C954 003498B4 48 00 00 14 */ b lbl_8034C968 +lbl_8034C958: +/* 8034C958 003498B8 38 60 00 02 */ li r3, 2 +/* 8034C95C 003498BC 48 04 FA ED */ bl sndOutputMode +/* 8034C960 003498C0 38 00 00 02 */ li r0, 2 +/* 8034C964 003498C4 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13) +lbl_8034C968: +/* 8034C968 003498C8 93 8D A9 F0 */ stw r28, lbl_805A95B0@sda21(r13) +/* 8034C96C 003498CC 7F 43 D3 78 */ mr r3, r26 +/* 8034C970 003498D0 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 8034C974 003498D4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8034C978 003498D8 7C 08 03 A6 */ mtlr r0 +/* 8034C97C 003498DC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8034C980 003498E0 4E 80 00 20 */ blr + +.global DoFree__FPv +DoFree__FPv: +/* 8034C984 003498E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C988 003498E8 7C 08 02 A6 */ mflr r0 +/* 8034C98C 003498EC 28 03 00 00 */ cmplwi r3, 0 +/* 8034C990 003498F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C994 003498F4 41 82 00 08 */ beq lbl_8034C99C +/* 8034C998 003498F8 4B FC 8F 99 */ bl Free__7CMemoryFPCv +lbl_8034C99C: +/* 8034C99C 003498FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C9A0 00349900 7C 08 03 A6 */ mtlr r0 +/* 8034C9A4 00349904 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C9A8 00349908 4E 80 00 20 */ blr + +.global DoMalloc__FUl +DoMalloc__FUl: +/* 8034C9AC 0034990C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C9B0 00349910 7C 08 02 A6 */ mflr r0 +/* 8034C9B4 00349914 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C9B8 00349918 38 A0 00 00 */ li r5, 0 +/* 8034C9BC 0034991C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C9C0 00349920 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C9C4 00349924 4B FC 8E 55 */ bl __nwa__FUlPCcPCc +/* 8034C9C8 00349928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C9CC 0034992C 7C 08 03 A6 */ mtlr r0 +/* 8034C9D0 00349930 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C9D4 00349934 4E 80 00 20 */ blr + +.global sub_8034c9d8 +sub_8034c9d8: +/* 8034C9D8 00349938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C9DC 0034993C 7C 08 02 A6 */ mflr r0 +/* 8034C9E0 00349940 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C9E4 00349944 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034C9E8 00349948 7C 7F 1B 78 */ mr r31, r3 +/* 8034C9EC 0034994C 80 83 00 00 */ lwz r4, 0(r3) +/* 8034C9F0 00349950 80 64 00 04 */ lwz r3, 4(r4) +/* 8034C9F4 00349954 34 03 FF FF */ addic. r0, r3, -1 +/* 8034C9F8 00349958 90 04 00 04 */ stw r0, 4(r4) +/* 8034C9FC 0034995C 41 81 00 24 */ bgt lbl_8034CA20 +/* 8034CA00 00349960 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034CA04 00349964 38 80 00 01 */ li r4, 1 +/* 8034CA08 00349968 80 63 00 00 */ lwz r3, 0(r3) +/* 8034CA0C 0034996C 4B FF DC 71 */ bl __dt__14CAudioGroupSetFv +/* 8034CA10 00349970 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034CA14 00349974 28 03 00 00 */ cmplwi r3, 0 +/* 8034CA18 00349978 41 82 00 08 */ beq lbl_8034CA20 +/* 8034CA1C 0034997C 4B FC 8F 15 */ bl Free__7CMemoryFPCv +lbl_8034CA20: +/* 8034CA20 00349980 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CA24 00349984 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CA28 00349988 7C 08 03 A6 */ mtlr r0 +/* 8034CA2C 0034998C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CA30 00349990 4E 80 00 20 */ blr + +.global sub_8034ca34 +sub_8034ca34: +/* 8034CA34 00349994 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034CA38 00349998 7C 08 02 A6 */ mflr r0 +/* 8034CA3C 0034999C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034CA40 003499A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034CA44 003499A4 7C 9F 23 78 */ mr r31, r4 +/* 8034CA48 003499A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8034CA4C 003499AC 7C 7E 1B 78 */ mr r30, r3 +/* 8034CA50 003499B0 80 84 00 00 */ lwz r4, 0(r4) +/* 8034CA54 003499B4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CA58 003499B8 41 82 00 08 */ beq lbl_8034CA60 +/* 8034CA5C 003499BC 4B FF FF D9 */ bl sub_8034ca34 +lbl_8034CA60: +/* 8034CA60 003499C0 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034CA64 003499C4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CA68 003499C8 41 82 00 0C */ beq lbl_8034CA74 +/* 8034CA6C 003499CC 7F C3 F3 78 */ mr r3, r30 +/* 8034CA70 003499D0 4B FF FF C5 */ bl sub_8034ca34 +lbl_8034CA74: +/* 8034CA74 003499D4 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CA78 003499D8 41 82 00 30 */ beq lbl_8034CAA8 +/* 8034CA7C 003499DC 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CA80 003499E0 41 82 00 28 */ beq lbl_8034CAA8 +/* 8034CA84 003499E4 34 7F 00 20 */ addic. r3, r31, 0x20 +/* 8034CA88 003499E8 41 82 00 10 */ beq lbl_8034CA98 +/* 8034CA8C 003499EC 28 03 00 00 */ cmplwi r3, 0 +/* 8034CA90 003499F0 41 82 00 08 */ beq lbl_8034CA98 +/* 8034CA94 003499F4 48 00 09 71 */ bl sub_8034d404 +lbl_8034CA98: +/* 8034CA98 003499F8 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CA9C 003499FC 41 82 00 0C */ beq lbl_8034CAA8 +/* 8034CAA0 00349A00 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034CAA4 00349A04 4B FF 10 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034CAA8: +/* 8034CAA8 00349A08 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CAAC 00349A0C 41 82 00 0C */ beq lbl_8034CAB8 +/* 8034CAB0 00349A10 7F E3 FB 78 */ mr r3, r31 +/* 8034CAB4 00349A14 4B FC 8E 7D */ bl Free__7CMemoryFPCv +lbl_8034CAB8: +/* 8034CAB8 00349A18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CABC 00349A1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CAC0 00349A20 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034CAC4 00349A24 7C 08 03 A6 */ mtlr r0 +/* 8034CAC8 00349A28 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CACC 00349A2C 4E 80 00 20 */ blr + +.global sub_8034cad0 +sub_8034cad0: +/* 8034CAD0 00349A30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034CAD4 00349A34 7C 08 02 A6 */ mflr r0 +/* 8034CAD8 00349A38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034CADC 00349A3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034CAE0 00349A40 7C 9F 23 78 */ mr r31, r4 +/* 8034CAE4 00349A44 93 C1 00 08 */ stw r30, 8(r1) +/* 8034CAE8 00349A48 7C 7E 1B 78 */ mr r30, r3 +/* 8034CAEC 00349A4C 80 84 00 00 */ lwz r4, 0(r4) +/* 8034CAF0 00349A50 28 04 00 00 */ cmplwi r4, 0 +/* 8034CAF4 00349A54 41 82 00 08 */ beq lbl_8034CAFC +/* 8034CAF8 00349A58 4B FF FF D9 */ bl sub_8034cad0 +lbl_8034CAFC: +/* 8034CAFC 00349A5C 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034CB00 00349A60 28 04 00 00 */ cmplwi r4, 0 +/* 8034CB04 00349A64 41 82 00 0C */ beq lbl_8034CB10 +/* 8034CB08 00349A68 7F C3 F3 78 */ mr r3, r30 +/* 8034CB0C 00349A6C 4B FF FF C5 */ bl sub_8034cad0 +lbl_8034CB10: +/* 8034CB10 00349A70 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CB14 00349A74 41 82 00 18 */ beq lbl_8034CB2C +/* 8034CB18 00349A78 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CB1C 00349A7C 41 82 00 10 */ beq lbl_8034CB2C +/* 8034CB20 00349A80 34 7F 00 14 */ addic. r3, r31, 0x14 +/* 8034CB24 00349A84 41 82 00 08 */ beq lbl_8034CB2C +/* 8034CB28 00349A88 4B FF 0F B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034CB2C: +/* 8034CB2C 00349A8C 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CB30 00349A90 41 82 00 0C */ beq lbl_8034CB3C +/* 8034CB34 00349A94 7F E3 FB 78 */ mr r3, r31 +/* 8034CB38 00349A98 4B FC 8D F9 */ bl Free__7CMemoryFPCv +lbl_8034CB3C: +/* 8034CB3C 00349A9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CB40 00349AA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CB44 00349AA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034CB48 00349AA8 7C 08 03 A6 */ mtlr r0 +/* 8034CB4C 00349AAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CB50 00349AB0 4E 80 00 20 */ blr + +.global sub_8034cb54 +sub_8034cb54: +/* 8034CB54 00349AB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034CB58 00349AB8 7C 08 02 A6 */ mflr r0 +/* 8034CB5C 00349ABC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034CB60 00349AC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034CB64 00349AC4 7C 9F 23 78 */ mr r31, r4 +/* 8034CB68 00349AC8 93 C1 00 08 */ stw r30, 8(r1) +/* 8034CB6C 00349ACC 7C 7E 1B 78 */ mr r30, r3 +/* 8034CB70 00349AD0 80 84 00 00 */ lwz r4, 0(r4) +/* 8034CB74 00349AD4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CB78 00349AD8 41 82 00 08 */ beq lbl_8034CB80 +/* 8034CB7C 00349ADC 4B FF FF D9 */ bl sub_8034cb54 +lbl_8034CB80: +/* 8034CB80 00349AE0 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034CB84 00349AE4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CB88 00349AE8 41 82 00 0C */ beq lbl_8034CB94 +/* 8034CB8C 00349AEC 7F C3 F3 78 */ mr r3, r30 +/* 8034CB90 00349AF0 4B FF FF C5 */ bl sub_8034cb54 +lbl_8034CB94: +/* 8034CB94 00349AF4 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CB98 00349AF8 41 82 00 30 */ beq lbl_8034CBC8 +/* 8034CB9C 00349AFC 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CBA0 00349B00 41 82 00 28 */ beq lbl_8034CBC8 +/* 8034CBA4 00349B04 34 7F 00 20 */ addic. r3, r31, 0x20 +/* 8034CBA8 00349B08 41 82 00 10 */ beq lbl_8034CBB8 +/* 8034CBAC 00349B0C 28 03 00 00 */ cmplwi r3, 0 +/* 8034CBB0 00349B10 41 82 00 08 */ beq lbl_8034CBB8 +/* 8034CBB4 00349B14 4B FF FE 25 */ bl sub_8034c9d8 +lbl_8034CBB8: +/* 8034CBB8 00349B18 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CBBC 00349B1C 41 82 00 0C */ beq lbl_8034CBC8 +/* 8034CBC0 00349B20 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034CBC4 00349B24 4B FF 0F 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034CBC8: +/* 8034CBC8 00349B28 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CBCC 00349B2C 41 82 00 0C */ beq lbl_8034CBD8 +/* 8034CBD0 00349B30 7F E3 FB 78 */ mr r3, r31 +/* 8034CBD4 00349B34 4B FC 8D 5D */ bl Free__7CMemoryFPCv +lbl_8034CBD8: +/* 8034CBD8 00349B38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CBDC 00349B3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CBE0 00349B40 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034CBE4 00349B44 7C 08 03 A6 */ mtlr r0 +/* 8034CBE8 00349B48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CBEC 00349B4C 4E 80 00 20 */ blr + +.global sub_8034cbf0 +sub_8034cbf0: +/* 8034CBF0 00349B50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CBF4 00349B54 7C 08 02 A6 */ mflr r0 +/* 8034CBF8 00349B58 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CBFC 00349B5C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8034CC00 00349B60 89 21 00 08 */ lbz r9, 8(r1) +/* 8034CC04 00349B64 81 04 00 00 */ lwz r8, 0(r4) +/* 8034CC08 00349B68 80 E4 00 04 */ lwz r7, 4(r4) +/* 8034CC0C 00349B6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034CC10 00349B70 80 C3 00 00 */ lwz r6, 0(r3) +/* 8034CC14 00349B74 80 03 00 04 */ lwz r0, 4(r3) +/* 8034CC18 00349B78 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034CC1C 00349B7C 99 21 00 0C */ stb r9, 0xc(r1) +/* 8034CC20 00349B80 91 01 00 10 */ stw r8, 0x10(r1) +/* 8034CC24 00349B84 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8034CC28 00349B88 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8034CC2C 00349B8C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034CC30 00349B90 48 00 00 15 */ bl sub_8034cc44 +/* 8034CC34 00349B94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034CC38 00349B98 7C 08 03 A6 */ mtlr r0 +/* 8034CC3C 00349B9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034CC40 00349BA0 4E 80 00 20 */ blr + +.global sub_8034cc44 +sub_8034cc44: +/* 8034CC44 00349BA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CC48 00349BA8 7C 08 02 A6 */ mflr r0 +/* 8034CC4C 00349BAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CC50 00349BB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034CC54 00349BB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034CC58 00349BB8 3B C0 00 00 */ li r30, 0 +/* 8034CC5C 00349BBC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034CC60 00349BC0 7C 9D 23 78 */ mr r29, r4 +/* 8034CC64 00349BC4 80 A3 00 00 */ lwz r5, 0(r3) +/* 8034CC68 00349BC8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8034CC6C 00349BCC 48 00 00 18 */ b lbl_8034CC84 +lbl_8034CC70: +/* 8034CC70 00349BD0 7F E3 FB 78 */ mr r3, r31 +/* 8034CC74 00349BD4 7C A4 2B 78 */ mr r4, r5 +/* 8034CC78 00349BD8 3B DE 00 01 */ addi r30, r30, 1 +/* 8034CC7C 00349BDC 4B FE F9 65 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034CC80 00349BE0 7C 65 1B 78 */ mr r5, r3 +lbl_8034CC84: +/* 8034CC84 00349BE4 80 1D 00 00 */ lwz r0, 0(r29) +/* 8034CC88 00349BE8 38 60 00 00 */ li r3, 0 +/* 8034CC8C 00349BEC 7C 05 00 40 */ cmplw r5, r0 +/* 8034CC90 00349BF0 40 82 00 10 */ bne lbl_8034CCA0 +/* 8034CC94 00349BF4 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034CC98 00349BF8 7C 1F 00 40 */ cmplw r31, r0 +/* 8034CC9C 00349BFC 41 82 00 08 */ beq lbl_8034CCA4 +lbl_8034CCA0: +/* 8034CCA0 00349C00 38 60 00 01 */ li r3, 1 +lbl_8034CCA4: +/* 8034CCA4 00349C04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034CCA8 00349C08 40 82 FF C8 */ bne lbl_8034CC70 +/* 8034CCAC 00349C0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034CCB0 00349C10 7F C3 F3 78 */ mr r3, r30 +/* 8034CCB4 00349C14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034CCB8 00349C18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034CCBC 00349C1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034CCC0 00349C20 7C 08 03 A6 */ mtlr r0 +/* 8034CCC4 00349C24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034CCC8 00349C28 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" +"insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator": +/* 8034CCCC 00349C2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CCD0 00349C30 7C 08 02 A6 */ mflr r0 +/* 8034CCD4 00349C34 28 05 00 00 */ cmplwi r5, 0 +/* 8034CCD8 00349C38 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CCDC 00349C3C BF 41 00 08 */ stmw r26, 8(r1) +/* 8034CCE0 00349C40 7C 7C 1B 78 */ mr r28, r3 +/* 8034CCE4 00349C44 7C 9D 23 78 */ mr r29, r4 +/* 8034CCE8 00349C48 7C DE 33 78 */ mr r30, r6 +/* 8034CCEC 00349C4C 40 82 00 9C */ bne lbl_8034CD88 +/* 8034CCF0 00349C50 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CCF4 00349C54 38 60 00 24 */ li r3, 0x24 +/* 8034CCF8 00349C58 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CCFC 00349C5C 38 A0 00 00 */ li r5, 0 +/* 8034CD00 00349C60 4B FC 8B 19 */ bl __nwa__FUlPCcPCc +/* 8034CD04 00349C64 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034CD08 00349C68 41 82 00 44 */ beq lbl_8034CD4C +/* 8034CD0C 00349C6C 38 00 00 00 */ li r0, 0 +/* 8034CD10 00349C70 37 FB 00 10 */ addic. r31, r27, 0x10 +/* 8034CD14 00349C74 90 1B 00 00 */ stw r0, 0(r27) +/* 8034CD18 00349C78 90 1B 00 04 */ stw r0, 4(r27) +/* 8034CD1C 00349C7C 90 1B 00 08 */ stw r0, 8(r27) +/* 8034CD20 00349C80 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034CD24 00349C84 41 82 00 28 */ beq lbl_8034CD4C +/* 8034CD28 00349C88 7F E3 FB 78 */ mr r3, r31 +/* 8034CD2C 00349C8C 7F C4 F3 78 */ mr r4, r30 +/* 8034CD30 00349C90 4B FF 14 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034CD34 00349C94 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034CD38 00349C98 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8034CD3C 00349C9C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034CD40 00349CA0 80 64 00 04 */ lwz r3, 4(r4) +/* 8034CD44 00349CA4 38 03 00 01 */ addi r0, r3, 1 +/* 8034CD48 00349CA8 90 04 00 04 */ stw r0, 4(r4) +lbl_8034CD4C: +/* 8034CD4C 00349CAC 93 7D 00 10 */ stw r27, 0x10(r29) +/* 8034CD50 00349CB0 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CD54 00349CB4 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034CD58 00349CB8 38 63 00 01 */ addi r3, r3, 1 +/* 8034CD5C 00349CBC 90 7D 00 04 */ stw r3, 4(r29) +/* 8034CD60 00349CC0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CD64 00349CC4 90 7D 00 08 */ stw r3, 8(r29) +/* 8034CD68 00349CC8 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CD6C 00349CCC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8034CD70 00349CD0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CD74 00349CD4 90 7C 00 00 */ stw r3, 0(r28) +/* 8034CD78 00349CD8 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CD7C 00349CDC 88 0D 9D E5 */ lbz r0, lbl_805A89A5@sda21(r13) +/* 8034CD80 00349CE0 98 1C 00 08 */ stb r0, 8(r28) +/* 8034CD84 00349CE4 48 00 01 B4 */ b lbl_8034CF38 +lbl_8034CD88: +/* 8034CD88 00349CE8 7C BF 2B 78 */ mr r31, r5 +/* 8034CD8C 00349CEC 3B 40 00 00 */ li r26, 0 +/* 8034CD90 00349CF0 48 00 01 74 */ b lbl_8034CF04 +lbl_8034CD94: +/* 8034CD94 00349CF4 7F C4 F3 78 */ mr r4, r30 +/* 8034CD98 00349CF8 38 7D 00 01 */ addi r3, r29, 1 +/* 8034CD9C 00349CFC 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8034CDA0 00349D00 4B CD D9 89 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034CDA4 00349D04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034CDA8 00349D08 7C 7B 1B 78 */ mr r27, r3 +/* 8034CDAC 00349D0C 40 82 00 34 */ bne lbl_8034CDE0 +/* 8034CDB0 00349D10 7F C5 F3 78 */ mr r5, r30 +/* 8034CDB4 00349D14 38 7D 00 01 */ addi r3, r29, 1 +/* 8034CDB8 00349D18 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034CDBC 00349D1C 4B CD D9 6D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034CDC0 00349D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034CDC4 00349D24 40 82 00 1C */ bne lbl_8034CDE0 +/* 8034CDC8 00349D28 93 FC 00 00 */ stw r31, 0(r28) +/* 8034CDCC 00349D2C 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CDD0 00349D30 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CDD4 00349D34 88 0D 9D E6 */ lbz r0, lbl_805A89A6@sda21(r13) +/* 8034CDD8 00349D38 98 1C 00 08 */ stb r0, 8(r28) +/* 8034CDDC 00349D3C 48 00 01 5C */ b lbl_8034CF38 +lbl_8034CDE0: +/* 8034CDE0 00349D40 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8034CDE4 00349D44 41 82 00 94 */ beq lbl_8034CE78 +/* 8034CDE8 00349D48 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034CDEC 00349D4C 28 00 00 00 */ cmplwi r0, 0 +/* 8034CDF0 00349D50 40 82 00 80 */ bne lbl_8034CE70 +/* 8034CDF4 00349D54 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CDF8 00349D58 38 60 00 24 */ li r3, 0x24 +/* 8034CDFC 00349D5C 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CE00 00349D60 38 A0 00 00 */ li r5, 0 +/* 8034CE04 00349D64 4B FC 8A 15 */ bl __nwa__FUlPCcPCc +/* 8034CE08 00349D68 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034CE0C 00349D6C 41 82 00 48 */ beq lbl_8034CE54 +/* 8034CE10 00349D70 38 60 00 00 */ li r3, 0 +/* 8034CE14 00349D74 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034CE18 00349D78 90 7B 00 00 */ stw r3, 0(r27) +/* 8034CE1C 00349D7C 38 00 00 01 */ li r0, 1 +/* 8034CE20 00349D80 90 7B 00 04 */ stw r3, 4(r27) +/* 8034CE24 00349D84 93 FB 00 08 */ stw r31, 8(r27) +/* 8034CE28 00349D88 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034CE2C 00349D8C 41 82 00 28 */ beq lbl_8034CE54 +/* 8034CE30 00349D90 7F 43 D3 78 */ mr r3, r26 +/* 8034CE34 00349D94 7F C4 F3 78 */ mr r4, r30 +/* 8034CE38 00349D98 4B FF 13 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034CE3C 00349D9C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034CE40 00349DA0 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034CE44 00349DA4 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034CE48 00349DA8 80 64 00 04 */ lwz r3, 4(r4) +/* 8034CE4C 00349DAC 38 03 00 01 */ addi r0, r3, 1 +/* 8034CE50 00349DB0 90 04 00 04 */ stw r0, 4(r4) +lbl_8034CE54: +/* 8034CE54 00349DB4 93 7F 00 00 */ stw r27, 0(r31) +/* 8034CE58 00349DB8 7F 7A DB 78 */ mr r26, r27 +/* 8034CE5C 00349DBC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8034CE60 00349DC0 7C 1F 00 40 */ cmplw r31, r0 +/* 8034CE64 00349DC4 40 82 00 A0 */ bne lbl_8034CF04 +/* 8034CE68 00349DC8 93 7D 00 08 */ stw r27, 8(r29) +/* 8034CE6C 00349DCC 48 00 00 98 */ b lbl_8034CF04 +lbl_8034CE70: +/* 8034CE70 00349DD0 7C 1F 03 78 */ mr r31, r0 +/* 8034CE74 00349DD4 48 00 00 90 */ b lbl_8034CF04 +lbl_8034CE78: +/* 8034CE78 00349DD8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034CE7C 00349DDC 28 00 00 00 */ cmplwi r0, 0 +/* 8034CE80 00349DE0 40 82 00 80 */ bne lbl_8034CF00 +/* 8034CE84 00349DE4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CE88 00349DE8 38 60 00 24 */ li r3, 0x24 +/* 8034CE8C 00349DEC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CE90 00349DF0 38 A0 00 00 */ li r5, 0 +/* 8034CE94 00349DF4 4B FC 89 85 */ bl __nwa__FUlPCcPCc +/* 8034CE98 00349DF8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034CE9C 00349DFC 41 82 00 48 */ beq lbl_8034CEE4 +/* 8034CEA0 00349E00 38 60 00 00 */ li r3, 0 +/* 8034CEA4 00349E04 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034CEA8 00349E08 90 7B 00 00 */ stw r3, 0(r27) +/* 8034CEAC 00349E0C 38 00 00 01 */ li r0, 1 +/* 8034CEB0 00349E10 90 7B 00 04 */ stw r3, 4(r27) +/* 8034CEB4 00349E14 93 FB 00 08 */ stw r31, 8(r27) +/* 8034CEB8 00349E18 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034CEBC 00349E1C 41 82 00 28 */ beq lbl_8034CEE4 +/* 8034CEC0 00349E20 7F 43 D3 78 */ mr r3, r26 +/* 8034CEC4 00349E24 7F C4 F3 78 */ mr r4, r30 +/* 8034CEC8 00349E28 4B FF 12 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034CECC 00349E2C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034CED0 00349E30 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034CED4 00349E34 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034CED8 00349E38 80 64 00 04 */ lwz r3, 4(r4) +/* 8034CEDC 00349E3C 38 03 00 01 */ addi r0, r3, 1 +/* 8034CEE0 00349E40 90 04 00 04 */ stw r0, 4(r4) +lbl_8034CEE4: +/* 8034CEE4 00349E44 93 7F 00 04 */ stw r27, 4(r31) +/* 8034CEE8 00349E48 7F 7A DB 78 */ mr r26, r27 +/* 8034CEEC 00349E4C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034CEF0 00349E50 7C 1F 00 40 */ cmplw r31, r0 +/* 8034CEF4 00349E54 40 82 00 10 */ bne lbl_8034CF04 +/* 8034CEF8 00349E58 93 7D 00 0C */ stw r27, 0xc(r29) +/* 8034CEFC 00349E5C 48 00 00 08 */ b lbl_8034CF04 +lbl_8034CF00: +/* 8034CF00 00349E60 7C 1F 03 78 */ mr r31, r0 +lbl_8034CF04: +/* 8034CF04 00349E64 28 1A 00 00 */ cmplwi r26, 0 +/* 8034CF08 00349E68 41 82 FE 8C */ beq lbl_8034CD94 +/* 8034CF0C 00349E6C 80 BD 00 04 */ lwz r5, 4(r29) +/* 8034CF10 00349E70 7F 44 D3 78 */ mr r4, r26 +/* 8034CF14 00349E74 38 7D 00 08 */ addi r3, r29, 8 +/* 8034CF18 00349E78 38 05 00 01 */ addi r0, r5, 1 +/* 8034CF1C 00349E7C 90 1D 00 04 */ stw r0, 4(r29) +/* 8034CF20 00349E80 4B FE FB 79 */ bl rbtree_rebalance__4rstlFPvPv +/* 8034CF24 00349E84 93 5C 00 00 */ stw r26, 0(r28) +/* 8034CF28 00349E88 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CF2C 00349E8C 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CF30 00349E90 88 0D 9D E7 */ lbz r0, lbl_805A89A7@sda21(r13) +/* 8034CF34 00349E94 98 1C 00 08 */ stb r0, 8(r28) +lbl_8034CF38: +/* 8034CF38 00349E98 BB 41 00 08 */ lmw r26, 8(r1) +/* 8034CF3C 00349E9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034CF40 00349EA0 7C 08 03 A6 */ mtlr r0 +/* 8034CF44 00349EA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034CF48 00349EA8 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" +"insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24": +/* 8034CF4C 00349EAC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CF50 00349EB0 7C 08 02 A6 */ mflr r0 +/* 8034CF54 00349EB4 28 05 00 00 */ cmplwi r5, 0 +/* 8034CF58 00349EB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CF5C 00349EBC BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034CF60 00349EC0 7C 7C 1B 78 */ mr r28, r3 +/* 8034CF64 00349EC4 7C 9D 23 78 */ mr r29, r4 +/* 8034CF68 00349EC8 7C DE 33 78 */ mr r30, r6 +/* 8034CF6C 00349ECC 40 82 00 8C */ bne lbl_8034CFF8 +/* 8034CF70 00349ED0 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CF74 00349ED4 38 60 00 24 */ li r3, 0x24 +/* 8034CF78 00349ED8 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CF7C 00349EDC 38 A0 00 00 */ li r5, 0 +/* 8034CF80 00349EE0 4B FC 88 99 */ bl __nwa__FUlPCcPCc +/* 8034CF84 00349EE4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034CF88 00349EE8 41 82 00 34 */ beq lbl_8034CFBC +/* 8034CF8C 00349EEC 38 00 00 00 */ li r0, 0 +/* 8034CF90 00349EF0 34 BF 00 10 */ addic. r5, r31, 0x10 +/* 8034CF94 00349EF4 90 1F 00 00 */ stw r0, 0(r31) +/* 8034CF98 00349EF8 90 1F 00 04 */ stw r0, 4(r31) +/* 8034CF9C 00349EFC 90 1F 00 08 */ stw r0, 8(r31) +/* 8034CFA0 00349F00 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8034CFA4 00349F04 41 82 00 18 */ beq lbl_8034CFBC +/* 8034CFA8 00349F08 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034CFAC 00349F0C 38 65 00 04 */ addi r3, r5, 4 +/* 8034CFB0 00349F10 38 9E 00 04 */ addi r4, r30, 4 +/* 8034CFB4 00349F14 90 05 00 00 */ stw r0, 0(r5) +/* 8034CFB8 00349F18 4B FF 11 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034CFBC: +/* 8034CFBC 00349F1C 93 FD 00 10 */ stw r31, 0x10(r29) +/* 8034CFC0 00349F20 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CFC4 00349F24 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034CFC8 00349F28 38 63 00 01 */ addi r3, r3, 1 +/* 8034CFCC 00349F2C 90 7D 00 04 */ stw r3, 4(r29) +/* 8034CFD0 00349F30 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CFD4 00349F34 90 7D 00 08 */ stw r3, 8(r29) +/* 8034CFD8 00349F38 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CFDC 00349F3C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8034CFE0 00349F40 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CFE4 00349F44 90 7C 00 00 */ stw r3, 0(r28) +/* 8034CFE8 00349F48 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CFEC 00349F4C 88 0D 9D E2 */ lbz r0, lbl_805A89A2@sda21(r13) +/* 8034CFF0 00349F50 98 1C 00 08 */ stb r0, 8(r28) +/* 8034CFF4 00349F54 48 00 01 7C */ b lbl_8034D170 +lbl_8034CFF8: +/* 8034CFF8 00349F58 7C BF 2B 78 */ mr r31, r5 +/* 8034CFFC 00349F5C 3B 60 00 00 */ li r27, 0 +/* 8034D000 00349F60 48 00 01 3C */ b lbl_8034D13C +lbl_8034D004: +/* 8034D004 00349F64 80 7E 00 00 */ lwz r3, 0(r30) +/* 8034D008 00349F68 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034D00C 00349F6C 7C 80 1A 78 */ xor r0, r4, r3 +/* 8034D010 00349F70 7C 00 00 34 */ cntlzw r0, r0 +/* 8034D014 00349F74 7C 80 00 30 */ slw r0, r4, r0 +/* 8034D018 00349F78 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 8034D01C 00349F7C 40 82 00 24 */ bne lbl_8034D040 +/* 8034D020 00349F80 7C 04 18 40 */ cmplw r4, r3 +/* 8034D024 00349F84 41 80 00 1C */ blt lbl_8034D040 +/* 8034D028 00349F88 93 FC 00 00 */ stw r31, 0(r28) +/* 8034D02C 00349F8C 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D030 00349F90 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D034 00349F94 88 0D 9D E3 */ lbz r0, lbl_805A89A3@sda21(r13) +/* 8034D038 00349F98 98 1C 00 08 */ stb r0, 8(r28) +/* 8034D03C 00349F9C 48 00 01 34 */ b lbl_8034D170 +lbl_8034D040: +/* 8034D040 00349FA0 28 00 00 00 */ cmplwi r0, 0 +/* 8034D044 00349FA4 41 82 00 80 */ beq lbl_8034D0C4 +/* 8034D048 00349FA8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034D04C 00349FAC 28 00 00 00 */ cmplwi r0, 0 +/* 8034D050 00349FB0 40 82 00 6C */ bne lbl_8034D0BC +/* 8034D054 00349FB4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D058 00349FB8 38 60 00 24 */ li r3, 0x24 +/* 8034D05C 00349FBC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D060 00349FC0 38 A0 00 00 */ li r5, 0 +/* 8034D064 00349FC4 4B FC 87 B5 */ bl __nwa__FUlPCcPCc +/* 8034D068 00349FC8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D06C 00349FCC 41 82 00 38 */ beq lbl_8034D0A4 +/* 8034D070 00349FD0 38 60 00 00 */ li r3, 0 +/* 8034D074 00349FD4 34 BB 00 10 */ addic. r5, r27, 0x10 +/* 8034D078 00349FD8 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D07C 00349FDC 38 00 00 01 */ li r0, 1 +/* 8034D080 00349FE0 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D084 00349FE4 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D088 00349FE8 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D08C 00349FEC 41 82 00 18 */ beq lbl_8034D0A4 +/* 8034D090 00349FF0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034D094 00349FF4 38 65 00 04 */ addi r3, r5, 4 +/* 8034D098 00349FF8 38 9E 00 04 */ addi r4, r30, 4 +/* 8034D09C 00349FFC 90 05 00 00 */ stw r0, 0(r5) +/* 8034D0A0 0034A000 4B FF 10 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034D0A4: +/* 8034D0A4 0034A004 93 7F 00 00 */ stw r27, 0(r31) +/* 8034D0A8 0034A008 80 1D 00 08 */ lwz r0, 8(r29) +/* 8034D0AC 0034A00C 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D0B0 0034A010 40 82 00 8C */ bne lbl_8034D13C +/* 8034D0B4 0034A014 93 7D 00 08 */ stw r27, 8(r29) +/* 8034D0B8 0034A018 48 00 00 84 */ b lbl_8034D13C +lbl_8034D0BC: +/* 8034D0BC 0034A01C 7C 1F 03 78 */ mr r31, r0 +/* 8034D0C0 0034A020 48 00 00 7C */ b lbl_8034D13C +lbl_8034D0C4: +/* 8034D0C4 0034A024 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D0C8 0034A028 28 00 00 00 */ cmplwi r0, 0 +/* 8034D0CC 0034A02C 40 82 00 6C */ bne lbl_8034D138 +/* 8034D0D0 0034A030 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D0D4 0034A034 38 60 00 24 */ li r3, 0x24 +/* 8034D0D8 0034A038 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D0DC 0034A03C 38 A0 00 00 */ li r5, 0 +/* 8034D0E0 0034A040 4B FC 87 39 */ bl __nwa__FUlPCcPCc +/* 8034D0E4 0034A044 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D0E8 0034A048 41 82 00 38 */ beq lbl_8034D120 +/* 8034D0EC 0034A04C 38 60 00 00 */ li r3, 0 +/* 8034D0F0 0034A050 34 BB 00 10 */ addic. r5, r27, 0x10 +/* 8034D0F4 0034A054 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D0F8 0034A058 38 00 00 01 */ li r0, 1 +/* 8034D0FC 0034A05C 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D100 0034A060 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D104 0034A064 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D108 0034A068 41 82 00 18 */ beq lbl_8034D120 +/* 8034D10C 0034A06C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034D110 0034A070 38 65 00 04 */ addi r3, r5, 4 +/* 8034D114 0034A074 38 9E 00 04 */ addi r4, r30, 4 +/* 8034D118 0034A078 90 05 00 00 */ stw r0, 0(r5) +/* 8034D11C 0034A07C 4B FF 10 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034D120: +/* 8034D120 0034A080 93 7F 00 04 */ stw r27, 4(r31) +/* 8034D124 0034A084 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034D128 0034A088 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D12C 0034A08C 40 82 00 10 */ bne lbl_8034D13C +/* 8034D130 0034A090 93 7D 00 0C */ stw r27, 0xc(r29) +/* 8034D134 0034A094 48 00 00 08 */ b lbl_8034D13C +lbl_8034D138: +/* 8034D138 0034A098 7C 1F 03 78 */ mr r31, r0 +lbl_8034D13C: +/* 8034D13C 0034A09C 28 1B 00 00 */ cmplwi r27, 0 +/* 8034D140 0034A0A0 41 82 FE C4 */ beq lbl_8034D004 +/* 8034D144 0034A0A4 80 BD 00 04 */ lwz r5, 4(r29) +/* 8034D148 0034A0A8 7F 64 DB 78 */ mr r4, r27 +/* 8034D14C 0034A0AC 38 7D 00 08 */ addi r3, r29, 8 +/* 8034D150 0034A0B0 38 05 00 01 */ addi r0, r5, 1 +/* 8034D154 0034A0B4 90 1D 00 04 */ stw r0, 4(r29) +/* 8034D158 0034A0B8 4B FE F9 41 */ bl rbtree_rebalance__4rstlFPvPv +/* 8034D15C 0034A0BC 93 7C 00 00 */ stw r27, 0(r28) +/* 8034D160 0034A0C0 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D164 0034A0C4 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D168 0034A0C8 88 0D 9D E4 */ lbz r0, lbl_805A89A4@sda21(r13) +/* 8034D16C 0034A0CC 98 1C 00 08 */ stb r0, 8(r28) +lbl_8034D170: +/* 8034D170 0034A0D0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034D174 0034A0D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D178 0034A0D8 7C 08 03 A6 */ mtlr r0 +/* 8034D17C 0034A0DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D180 0034A0E0 4E 80 00 20 */ blr + +.global sub_8034d184 +sub_8034d184: +/* 8034D184 0034A0E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D188 0034A0E8 7C 08 02 A6 */ mflr r0 +/* 8034D18C 0034A0EC 28 05 00 00 */ cmplwi r5, 0 +/* 8034D190 0034A0F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D194 0034A0F4 BF 41 00 08 */ stmw r26, 8(r1) +/* 8034D198 0034A0F8 7C 7C 1B 78 */ mr r28, r3 +/* 8034D19C 0034A0FC 7C 9D 23 78 */ mr r29, r4 +/* 8034D1A0 0034A100 7C DE 33 78 */ mr r30, r6 +/* 8034D1A4 0034A104 40 82 00 9C */ bne lbl_8034D240 +/* 8034D1A8 0034A108 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D1AC 0034A10C 38 60 00 24 */ li r3, 0x24 +/* 8034D1B0 0034A110 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D1B4 0034A114 38 A0 00 00 */ li r5, 0 +/* 8034D1B8 0034A118 4B FC 86 61 */ bl __nwa__FUlPCcPCc +/* 8034D1BC 0034A11C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D1C0 0034A120 41 82 00 44 */ beq lbl_8034D204 +/* 8034D1C4 0034A124 38 00 00 00 */ li r0, 0 +/* 8034D1C8 0034A128 37 FB 00 10 */ addic. r31, r27, 0x10 +/* 8034D1CC 0034A12C 90 1B 00 00 */ stw r0, 0(r27) +/* 8034D1D0 0034A130 90 1B 00 04 */ stw r0, 4(r27) +/* 8034D1D4 0034A134 90 1B 00 08 */ stw r0, 8(r27) +/* 8034D1D8 0034A138 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D1DC 0034A13C 41 82 00 28 */ beq lbl_8034D204 +/* 8034D1E0 0034A140 7F E3 FB 78 */ mr r3, r31 +/* 8034D1E4 0034A144 7F C4 F3 78 */ mr r4, r30 +/* 8034D1E8 0034A148 4B FF 0F 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D1EC 0034A14C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034D1F0 0034A150 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8034D1F4 0034A154 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034D1F8 0034A158 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D1FC 0034A15C 38 03 00 01 */ addi r0, r3, 1 +/* 8034D200 0034A160 90 04 00 04 */ stw r0, 4(r4) +lbl_8034D204: +/* 8034D204 0034A164 93 7D 00 10 */ stw r27, 0x10(r29) +/* 8034D208 0034A168 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D20C 0034A16C 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034D210 0034A170 38 63 00 01 */ addi r3, r3, 1 +/* 8034D214 0034A174 90 7D 00 04 */ stw r3, 4(r29) +/* 8034D218 0034A178 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034D21C 0034A17C 90 7D 00 08 */ stw r3, 8(r29) +/* 8034D220 0034A180 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034D224 0034A184 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8034D228 0034A188 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034D22C 0034A18C 90 7C 00 00 */ stw r3, 0(r28) +/* 8034D230 0034A190 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D234 0034A194 88 0D 9D DF */ lbz r0, lbl_805A899F@sda21(r13) +/* 8034D238 0034A198 98 1C 00 08 */ stb r0, 8(r28) +/* 8034D23C 0034A19C 48 00 01 B4 */ b lbl_8034D3F0 +lbl_8034D240: +/* 8034D240 0034A1A0 7C BF 2B 78 */ mr r31, r5 +/* 8034D244 0034A1A4 3B 40 00 00 */ li r26, 0 +/* 8034D248 0034A1A8 48 00 01 74 */ b lbl_8034D3BC +lbl_8034D24C: +/* 8034D24C 0034A1AC 7F C4 F3 78 */ mr r4, r30 +/* 8034D250 0034A1B0 38 7D 00 01 */ addi r3, r29, 1 +/* 8034D254 0034A1B4 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8034D258 0034A1B8 4B CD D4 D1 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034D25C 0034A1BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034D260 0034A1C0 7C 7B 1B 78 */ mr r27, r3 +/* 8034D264 0034A1C4 40 82 00 34 */ bne lbl_8034D298 +/* 8034D268 0034A1C8 7F C5 F3 78 */ mr r5, r30 +/* 8034D26C 0034A1CC 38 7D 00 01 */ addi r3, r29, 1 +/* 8034D270 0034A1D0 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034D274 0034A1D4 4B CD D4 B5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034D278 0034A1D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034D27C 0034A1DC 40 82 00 1C */ bne lbl_8034D298 +/* 8034D280 0034A1E0 93 FC 00 00 */ stw r31, 0(r28) +/* 8034D284 0034A1E4 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D288 0034A1E8 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D28C 0034A1EC 88 0D 9D E0 */ lbz r0, lbl_805A89A0@sda21(r13) +/* 8034D290 0034A1F0 98 1C 00 08 */ stb r0, 8(r28) +/* 8034D294 0034A1F4 48 00 01 5C */ b lbl_8034D3F0 +lbl_8034D298: +/* 8034D298 0034A1F8 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8034D29C 0034A1FC 41 82 00 94 */ beq lbl_8034D330 +/* 8034D2A0 0034A200 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034D2A4 0034A204 28 00 00 00 */ cmplwi r0, 0 +/* 8034D2A8 0034A208 40 82 00 80 */ bne lbl_8034D328 +/* 8034D2AC 0034A20C 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D2B0 0034A210 38 60 00 24 */ li r3, 0x24 +/* 8034D2B4 0034A214 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D2B8 0034A218 38 A0 00 00 */ li r5, 0 +/* 8034D2BC 0034A21C 4B FC 85 5D */ bl __nwa__FUlPCcPCc +/* 8034D2C0 0034A220 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D2C4 0034A224 41 82 00 48 */ beq lbl_8034D30C +/* 8034D2C8 0034A228 38 60 00 00 */ li r3, 0 +/* 8034D2CC 0034A22C 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034D2D0 0034A230 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D2D4 0034A234 38 00 00 01 */ li r0, 1 +/* 8034D2D8 0034A238 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D2DC 0034A23C 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D2E0 0034A240 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D2E4 0034A244 41 82 00 28 */ beq lbl_8034D30C +/* 8034D2E8 0034A248 7F 43 D3 78 */ mr r3, r26 +/* 8034D2EC 0034A24C 7F C4 F3 78 */ mr r4, r30 +/* 8034D2F0 0034A250 4B FF 0E 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D2F4 0034A254 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034D2F8 0034A258 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034D2FC 0034A25C 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034D300 0034A260 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D304 0034A264 38 03 00 01 */ addi r0, r3, 1 +/* 8034D308 0034A268 90 04 00 04 */ stw r0, 4(r4) +lbl_8034D30C: +/* 8034D30C 0034A26C 93 7F 00 00 */ stw r27, 0(r31) +/* 8034D310 0034A270 7F 7A DB 78 */ mr r26, r27 +/* 8034D314 0034A274 80 1D 00 08 */ lwz r0, 8(r29) +/* 8034D318 0034A278 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D31C 0034A27C 40 82 00 A0 */ bne lbl_8034D3BC +/* 8034D320 0034A280 93 7D 00 08 */ stw r27, 8(r29) +/* 8034D324 0034A284 48 00 00 98 */ b lbl_8034D3BC +lbl_8034D328: +/* 8034D328 0034A288 7C 1F 03 78 */ mr r31, r0 +/* 8034D32C 0034A28C 48 00 00 90 */ b lbl_8034D3BC +lbl_8034D330: +/* 8034D330 0034A290 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D334 0034A294 28 00 00 00 */ cmplwi r0, 0 +/* 8034D338 0034A298 40 82 00 80 */ bne lbl_8034D3B8 +/* 8034D33C 0034A29C 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D340 0034A2A0 38 60 00 24 */ li r3, 0x24 +/* 8034D344 0034A2A4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D348 0034A2A8 38 A0 00 00 */ li r5, 0 +/* 8034D34C 0034A2AC 4B FC 84 CD */ bl __nwa__FUlPCcPCc +/* 8034D350 0034A2B0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D354 0034A2B4 41 82 00 48 */ beq lbl_8034D39C +/* 8034D358 0034A2B8 38 60 00 00 */ li r3, 0 +/* 8034D35C 0034A2BC 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034D360 0034A2C0 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D364 0034A2C4 38 00 00 01 */ li r0, 1 +/* 8034D368 0034A2C8 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D36C 0034A2CC 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D370 0034A2D0 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D374 0034A2D4 41 82 00 28 */ beq lbl_8034D39C +/* 8034D378 0034A2D8 7F 43 D3 78 */ mr r3, r26 +/* 8034D37C 0034A2DC 7F C4 F3 78 */ mr r4, r30 +/* 8034D380 0034A2E0 4B FF 0D E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D384 0034A2E4 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034D388 0034A2E8 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034D38C 0034A2EC 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034D390 0034A2F0 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D394 0034A2F4 38 03 00 01 */ addi r0, r3, 1 +/* 8034D398 0034A2F8 90 04 00 04 */ stw r0, 4(r4) +lbl_8034D39C: +/* 8034D39C 0034A2FC 93 7F 00 04 */ stw r27, 4(r31) +/* 8034D3A0 0034A300 7F 7A DB 78 */ mr r26, r27 +/* 8034D3A4 0034A304 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034D3A8 0034A308 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D3AC 0034A30C 40 82 00 10 */ bne lbl_8034D3BC +/* 8034D3B0 0034A310 93 7D 00 0C */ stw r27, 0xc(r29) +/* 8034D3B4 0034A314 48 00 00 08 */ b lbl_8034D3BC +lbl_8034D3B8: +/* 8034D3B8 0034A318 7C 1F 03 78 */ mr r31, r0 +lbl_8034D3BC: +/* 8034D3BC 0034A31C 28 1A 00 00 */ cmplwi r26, 0 +/* 8034D3C0 0034A320 41 82 FE 8C */ beq lbl_8034D24C +/* 8034D3C4 0034A324 80 BD 00 04 */ lwz r5, 4(r29) +/* 8034D3C8 0034A328 7F 44 D3 78 */ mr r4, r26 +/* 8034D3CC 0034A32C 38 7D 00 08 */ addi r3, r29, 8 +/* 8034D3D0 0034A330 38 05 00 01 */ addi r0, r5, 1 +/* 8034D3D4 0034A334 90 1D 00 04 */ stw r0, 4(r29) +/* 8034D3D8 0034A338 4B FE F6 C1 */ bl rbtree_rebalance__4rstlFPvPv +/* 8034D3DC 0034A33C 93 5C 00 00 */ stw r26, 0(r28) +/* 8034D3E0 0034A340 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D3E4 0034A344 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D3E8 0034A348 88 0D 9D E1 */ lbz r0, lbl_805A89A1@sda21(r13) +/* 8034D3EC 0034A34C 98 1C 00 08 */ stb r0, 8(r28) +lbl_8034D3F0: +/* 8034D3F0 0034A350 BB 41 00 08 */ lmw r26, 8(r1) +/* 8034D3F4 0034A354 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D3F8 0034A358 7C 08 03 A6 */ mtlr r0 +/* 8034D3FC 0034A35C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D400 0034A360 4E 80 00 20 */ blr + +.global sub_8034d404 +sub_8034d404: +/* 8034D404 0034A364 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D408 0034A368 7C 08 02 A6 */ mflr r0 +/* 8034D40C 0034A36C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D410 0034A370 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034D414 0034A374 93 C1 00 08 */ stw r30, 8(r1) +/* 8034D418 0034A378 7C 7E 1B 78 */ mr r30, r3 +/* 8034D41C 0034A37C 80 83 00 00 */ lwz r4, 0(r3) +/* 8034D420 0034A380 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D424 0034A384 34 03 FF FF */ addic. r0, r3, -1 +/* 8034D428 0034A388 90 04 00 04 */ stw r0, 4(r4) +/* 8034D42C 0034A38C 41 81 00 3C */ bgt lbl_8034D468 +/* 8034D430 0034A390 80 7E 00 00 */ lwz r3, 0(r30) +/* 8034D434 0034A394 83 E3 00 00 */ lwz r31, 0(r3) +/* 8034D438 0034A398 28 1F 00 00 */ cmplwi r31, 0 +/* 8034D43C 0034A39C 41 82 00 1C */ beq lbl_8034D458 +/* 8034D440 0034A3A0 34 1F 00 54 */ addic. r0, r31, 0x54 +/* 8034D444 0034A3A4 41 82 00 0C */ beq lbl_8034D450 +/* 8034D448 0034A3A8 38 7F 00 54 */ addi r3, r31, 0x54 +/* 8034D44C 0034A3AC 4B FF 06 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034D450: +/* 8034D450 0034A3B0 7F E3 FB 78 */ mr r3, r31 +/* 8034D454 0034A3B4 4B FC 84 DD */ bl Free__7CMemoryFPCv +lbl_8034D458: +/* 8034D458 0034A3B8 80 7E 00 00 */ lwz r3, 0(r30) +/* 8034D45C 0034A3BC 28 03 00 00 */ cmplwi r3, 0 +/* 8034D460 0034A3C0 41 82 00 08 */ beq lbl_8034D468 +/* 8034D464 0034A3C4 4B FC 84 CD */ bl Free__7CMemoryFPCv +lbl_8034D468: +/* 8034D468 0034A3C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D46C 0034A3CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034D470 0034A3D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034D474 0034A3D4 7C 08 03 A6 */ mtlr r0 +/* 8034D478 0034A3D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D47C 0034A3DC 4E 80 00 20 */ blr + +.global __sinit_DolphinCAudioSys_cpp +__sinit_DolphinCAudioSys_cpp: +/* 8034D480 0034A3E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D484 0034A3E4 7C 08 02 A6 */ mflr r0 +/* 8034D488 0034A3E8 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D48C 0034A3EC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D490 0034A3F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D494 0034A3F4 38 61 00 08 */ addi r3, r1, 8 +/* 8034D498 0034A3F8 38 84 00 07 */ addi r4, r4, 7 +/* 8034D49C 0034A3FC 4B CB 78 1D */ bl string_l__4rstlFPCc +/* 8034D4A0 0034A400 3C 60 80 5A */ lis r3, lbl_805A67CC@ha +/* 8034D4A4 0034A404 38 81 00 08 */ addi r4, r1, 8 +/* 8034D4A8 0034A408 38 63 67 CC */ addi r3, r3, lbl_805A67CC@l +/* 8034D4AC 0034A40C 4B FF 0C B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D4B0 0034A410 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8034D4B4 0034A414 3C A0 80 4C */ lis r5, lbl_804BFF90@ha +/* 8034D4B8 0034A418 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8034D4BC 0034A41C 38 A5 FF 90 */ addi r5, r5, lbl_804BFF90@l +/* 8034D4C0 0034A420 48 03 C1 CD */ bl __register_global_object +/* 8034D4C4 0034A424 38 61 00 08 */ addi r3, r1, 8 +/* 8034D4C8 0034A428 4B FF 06 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034D4CC 0034A42C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D4D0 0034A430 7C 08 03 A6 */ mtlr r0 +/* 8034D4D4 0034A434 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D4D8 0034A438 4E 80 00 20 */ blr + +.global FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034D4DC 0034A43C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034D4E0 0034A440 7C 08 02 A6 */ mflr r0 +/* 8034D4E4 0034A444 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034D4E8 0034A448 48 00 02 E9 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034D4EC 0034A44C 38 00 00 00 */ li r0, 0 +/* 8034D4F0 0034A450 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034D4F4 0034A454 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034D4F8 0034A458 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034D4FC 0034A45C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D500 0034A460 48 00 00 49 */ bl "__dt__Q24rstl36vectorFv" +/* 8034D504 0034A464 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034D508 0034A468 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034D50C 0034A46C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034D510 0034A470 7C 83 02 14 */ add r4, r3, r0 +/* 8034D514 0034A474 7C 03 20 50 */ subf r0, r3, r4 +/* 8034D518 0034A478 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034D51C 0034A47C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034D520 0034A480 90 61 00 08 */ stw r3, 8(r1) +/* 8034D524 0034A484 7C 09 03 A6 */ mtctr r0 +/* 8034D528 0034A488 7C 03 20 40 */ cmplw r3, r4 +/* 8034D52C 0034A48C 41 82 00 08 */ beq lbl_8034D534 +lbl_8034D530: +/* 8034D530 0034A490 42 00 00 00 */ bdnz lbl_8034D530 +lbl_8034D534: +/* 8034D534 0034A494 4B FC 83 FD */ bl Free__7CMemoryFPCv +/* 8034D538 0034A498 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034D53C 0034A49C 7C 08 03 A6 */ mtlr r0 +/* 8034D540 0034A4A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034D544 0034A4A4 4E 80 00 20 */ blr + +.global "__dt__Q24rstl36vectorFv" +"__dt__Q24rstl36vectorFv": +/* 8034D548 0034A4A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D54C 0034A4AC 7C 08 02 A6 */ mflr r0 +/* 8034D550 0034A4B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D554 0034A4B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034D558 0034A4B8 7C 9F 23 78 */ mr r31, r4 +/* 8034D55C 0034A4BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034D560 0034A4C0 7C 7E 1B 78 */ mr r30, r3 +/* 8034D564 0034A4C4 7C 1E F8 40 */ cmplw r30, r31 +/* 8034D568 0034A4C8 40 82 00 08 */ bne lbl_8034D570 +/* 8034D56C 0034A4CC 48 00 00 B4 */ b lbl_8034D620 +lbl_8034D570: +/* 8034D570 0034A4D0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8034D574 0034A4D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034D578 0034A4D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034D57C 0034A4DC 7C 64 02 14 */ add r3, r4, r0 +/* 8034D580 0034A4E0 7C 04 18 50 */ subf r0, r4, r3 +/* 8034D584 0034A4E4 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034D588 0034A4E8 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034D58C 0034A4EC 90 81 00 08 */ stw r4, 8(r1) +/* 8034D590 0034A4F0 7C 09 03 A6 */ mtctr r0 +/* 8034D594 0034A4F4 7C 04 18 40 */ cmplw r4, r3 +/* 8034D598 0034A4F8 41 82 00 08 */ beq lbl_8034D5A0 +lbl_8034D59C: +/* 8034D59C 0034A4FC 42 00 00 00 */ bdnz lbl_8034D59C +lbl_8034D5A0: +/* 8034D5A0 0034A500 38 00 00 00 */ li r0, 0 +/* 8034D5A4 0034A504 90 1E 00 04 */ stw r0, 4(r30) +/* 8034D5A8 0034A508 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034D5AC 0034A50C 2C 04 00 00 */ cmpwi r4, 0 +/* 8034D5B0 0034A510 40 82 00 20 */ bne lbl_8034D5D0 +/* 8034D5B4 0034A514 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034D5B8 0034A518 4B FC 83 79 */ bl Free__7CMemoryFPCv +/* 8034D5BC 0034A51C 38 00 00 00 */ li r0, 0 +/* 8034D5C0 0034A520 90 1E 00 04 */ stw r0, 4(r30) +/* 8034D5C4 0034A524 90 1E 00 08 */ stw r0, 8(r30) +/* 8034D5C8 0034A528 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8034D5CC 0034A52C 48 00 00 50 */ b lbl_8034D61C +lbl_8034D5D0: +/* 8034D5D0 0034A530 7F C3 F3 78 */ mr r3, r30 +/* 8034D5D4 0034A534 48 00 18 65 */ bl "reserve__Q24rstl36vectorFi" +/* 8034D5D8 0034A538 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8034D5DC 0034A53C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D5E0 0034A540 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034D5E4 0034A544 7C 85 02 14 */ add r4, r5, r0 +/* 8034D5E8 0034A548 7C 05 20 50 */ subf r0, r5, r4 +/* 8034D5EC 0034A54C 7C 09 03 A6 */ mtctr r0 +/* 8034D5F0 0034A550 7C 05 20 40 */ cmplw r5, r4 +/* 8034D5F4 0034A554 41 82 00 20 */ beq lbl_8034D614 +lbl_8034D5F8: +/* 8034D5F8 0034A558 28 03 00 00 */ cmplwi r3, 0 +/* 8034D5FC 0034A55C 41 82 00 0C */ beq lbl_8034D608 +/* 8034D600 0034A560 88 05 00 00 */ lbz r0, 0(r5) +/* 8034D604 0034A564 98 03 00 00 */ stb r0, 0(r3) +lbl_8034D608: +/* 8034D608 0034A568 38 63 00 01 */ addi r3, r3, 1 +/* 8034D60C 0034A56C 38 A5 00 01 */ addi r5, r5, 1 +/* 8034D610 0034A570 42 00 FF E8 */ bdnz lbl_8034D5F8 +lbl_8034D614: +/* 8034D614 0034A574 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D618 0034A578 90 1E 00 04 */ stw r0, 4(r30) +lbl_8034D61C: +/* 8034D61C 0034A57C 7F C3 F3 78 */ mr r3, r30 +lbl_8034D620: +/* 8034D620 0034A580 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D624 0034A584 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034D628 0034A588 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034D62C 0034A58C 7C 08 03 A6 */ mtlr r0 +/* 8034D630 0034A590 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D634 0034A594 4E 80 00 20 */ blr + +.global sub_8034d638 +sub_8034d638: +/* 8034D638 0034A598 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D63C 0034A59C 7C 08 02 A6 */ mflr r0 +/* 8034D640 0034A5A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D644 0034A5A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034D648 0034A5A8 7C 9F 23 78 */ mr r31, r4 +/* 8034D64C 0034A5AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034D650 0034A5B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034D654 0034A5B4 41 82 00 48 */ beq lbl_8034D69C +/* 8034D658 0034A5B8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034D65C 0034A5BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034D660 0034A5C0 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034D664 0034A5C4 7C 83 02 14 */ add r4, r3, r0 +/* 8034D668 0034A5C8 7C 03 20 50 */ subf r0, r3, r4 +/* 8034D66C 0034A5CC 90 81 00 08 */ stw r4, 8(r1) +/* 8034D670 0034A5D0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034D674 0034A5D4 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034D678 0034A5D8 7C 09 03 A6 */ mtctr r0 +/* 8034D67C 0034A5DC 7C 03 20 40 */ cmplw r3, r4 +/* 8034D680 0034A5E0 41 82 00 08 */ beq lbl_8034D688 +lbl_8034D684: +/* 8034D684 0034A5E4 42 00 00 00 */ bdnz lbl_8034D684 +lbl_8034D688: +/* 8034D688 0034A5E8 4B FC 82 A9 */ bl Free__7CMemoryFPCv +/* 8034D68C 0034A5EC 7F E0 07 35 */ extsh. r0, r31 +/* 8034D690 0034A5F0 40 81 00 0C */ ble lbl_8034D69C +/* 8034D694 0034A5F4 7F C3 F3 78 */ mr r3, r30 +/* 8034D698 0034A5F8 4B FC 82 99 */ bl Free__7CMemoryFPCv +lbl_8034D69C: +/* 8034D69C 0034A5FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D6A0 0034A600 7F C3 F3 78 */ mr r3, r30 +/* 8034D6A4 0034A604 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034D6A8 0034A608 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034D6AC 0034A60C 7C 08 03 A6 */ mtlr r0 +/* 8034D6B0 0034A610 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D6B4 0034A614 4E 80 00 20 */ blr + +.global AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034D6B8 0034A618 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D6BC 0034A61C 7C 08 02 A6 */ mflr r0 +/* 8034D6C0 0034A620 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D6C4 0034A624 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034D6C8 0034A628 93 C1 00 08 */ stw r30, 8(r1) +/* 8034D6CC 0034A62C 48 00 01 05 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034D6D0 0034A630 3C 80 00 01 */ lis r4, 0x0000A000@ha +/* 8034D6D4 0034A634 7C 7F 1B 78 */ mr r31, r3 +/* 8034D6D8 0034A638 38 84 A0 00 */ addi r4, r4, 0x0000A000@l +/* 8034D6DC 0034A63C 38 AD 9D EB */ addi r5, r13, lbl_805A89AB@sda21 +/* 8034D6E0 0034A640 48 00 00 31 */ bl "resize__Q24rstl36vectorFiRCc" +/* 8034D6E4 0034A644 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 8034D6E8 0034A648 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034D6EC 0034A64C 7F C3 F3 78 */ mr r3, r30 +/* 8034D6F0 0034A650 48 03 13 95 */ bl DCInvalidateRange +/* 8034D6F4 0034A654 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D6F8 0034A658 7F C3 F3 78 */ mr r3, r30 +/* 8034D6FC 0034A65C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034D700 0034A660 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034D704 0034A664 7C 08 03 A6 */ mtlr r0 +/* 8034D708 0034A668 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D70C 0034A66C 4E 80 00 20 */ blr + +.global "resize__Q24rstl36vectorFiRCc" +"resize__Q24rstl36vectorFiRCc": +/* 8034D710 0034A670 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034D714 0034A674 7C 08 02 A6 */ mflr r0 +/* 8034D718 0034A678 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034D71C 0034A67C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034D720 0034A680 7C BF 2B 78 */ mr r31, r5 +/* 8034D724 0034A684 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034D728 0034A688 7C 9E 23 78 */ mr r30, r4 +/* 8034D72C 0034A68C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034D730 0034A690 7C 7D 1B 78 */ mr r29, r3 +/* 8034D734 0034A694 80 03 00 04 */ lwz r0, 4(r3) +/* 8034D738 0034A698 7C 00 F0 00 */ cmpw r0, r30 +/* 8034D73C 0034A69C 41 82 00 78 */ beq lbl_8034D7B4 +/* 8034D740 0034A6A0 7C 1E 00 00 */ cmpw r30, r0 +/* 8034D744 0034A6A4 40 81 00 3C */ ble lbl_8034D780 +/* 8034D748 0034A6A8 48 00 16 F1 */ bl "reserve__Q24rstl36vectorFi" +/* 8034D74C 0034A6AC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034D750 0034A6B0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034D754 0034A6B4 7C 83 F0 51 */ subf. r4, r3, r30 +/* 8034D758 0034A6B8 7C 60 1A 14 */ add r3, r0, r3 +/* 8034D75C 0034A6BC 7C 89 03 A6 */ mtctr r4 +/* 8034D760 0034A6C0 40 81 00 50 */ ble lbl_8034D7B0 +lbl_8034D764: +/* 8034D764 0034A6C4 28 03 00 00 */ cmplwi r3, 0 +/* 8034D768 0034A6C8 41 82 00 0C */ beq lbl_8034D774 +/* 8034D76C 0034A6CC 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034D770 0034A6D0 98 03 00 00 */ stb r0, 0(r3) +lbl_8034D774: +/* 8034D774 0034A6D4 38 63 00 01 */ addi r3, r3, 1 +/* 8034D778 0034A6D8 42 00 FF EC */ bdnz lbl_8034D764 +/* 8034D77C 0034A6DC 48 00 00 34 */ b lbl_8034D7B0 +lbl_8034D780: +/* 8034D780 0034A6E0 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8034D784 0034A6E4 7C 64 02 14 */ add r3, r4, r0 +/* 8034D788 0034A6E8 7C 84 F2 14 */ add r4, r4, r30 +/* 8034D78C 0034A6EC 7C 04 18 50 */ subf r0, r4, r3 +/* 8034D790 0034A6F0 90 61 00 08 */ stw r3, 8(r1) +/* 8034D794 0034A6F4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034D798 0034A6F8 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034D79C 0034A6FC 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034D7A0 0034A700 7C 09 03 A6 */ mtctr r0 +/* 8034D7A4 0034A704 7C 04 18 40 */ cmplw r4, r3 +/* 8034D7A8 0034A708 41 82 00 08 */ beq lbl_8034D7B0 +lbl_8034D7AC: +/* 8034D7AC 0034A70C 42 00 00 00 */ bdnz lbl_8034D7AC +lbl_8034D7B0: +/* 8034D7B0 0034A710 93 DD 00 04 */ stw r30, 4(r29) +lbl_8034D7B4: +/* 8034D7B4 0034A714 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034D7B8 0034A718 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034D7BC 0034A71C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034D7C0 0034A720 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034D7C4 0034A724 7C 08 03 A6 */ mtlr r0 +/* 8034D7C8 0034A728 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034D7CC 0034A72C 4E 80 00 20 */ blr + +.global WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034D7D0 0034A730 2C 03 00 01 */ cmpwi r3, 1 +/* 8034D7D4 0034A734 41 82 00 20 */ beq lbl_8034D7F4 +/* 8034D7D8 0034A738 40 80 00 28 */ bge lbl_8034D800 +/* 8034D7DC 0034A73C 2C 03 00 00 */ cmpwi r3, 0 +/* 8034D7E0 0034A740 40 80 00 08 */ bge lbl_8034D7E8 +/* 8034D7E4 0034A744 48 00 00 1C */ b lbl_8034D800 +lbl_8034D7E8: +/* 8034D7E8 0034A748 3C 60 80 5A */ lis r3, lbl_805A67DC@ha +/* 8034D7EC 0034A74C 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l +/* 8034D7F0 0034A750 4E 80 00 20 */ blr +lbl_8034D7F4: +/* 8034D7F4 0034A754 3C 60 80 5A */ lis r3, lbl_805A67FC@ha +/* 8034D7F8 0034A758 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l +/* 8034D7FC 0034A75C 4E 80 00 20 */ blr +lbl_8034D800: +/* 8034D800 0034A760 3C 60 80 5A */ lis r3, lbl_805A67DC@ha +/* 8034D804 0034A764 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l +/* 8034D808 0034A768 4E 80 00 20 */ blr + +.global SetStatus__14CMemoryCardSysFiiPC8CARDStat +SetStatus__14CMemoryCardSysFiiPC8CARDStat: +/* 8034D80C 0034A76C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D810 0034A770 7C 08 02 A6 */ mflr r0 +/* 8034D814 0034A774 38 C0 00 00 */ li r6, 0 +/* 8034D818 0034A778 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D81C 0034A77C 48 07 0A 5D */ bl CARDSetStatusAsync +/* 8034D820 0034A780 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D824 0034A784 7C 08 03 A6 */ mtlr r0 +/* 8034D828 0034A788 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D82C 0034A78C 4E 80 00 20 */ blr + +.global GetStatus__14CMemoryCardSysFiiP8CARDStat +GetStatus__14CMemoryCardSysFiiP8CARDStat: +/* 8034D830 0034A790 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8034D834 0034A794 7C 08 02 A6 */ mflr r0 +/* 8034D838 0034A798 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034D83C 0034A79C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8034D840 0034A7A0 7C BF 2B 78 */ mr r31, r5 +/* 8034D844 0034A7A4 38 A1 00 08 */ addi r5, r1, 8 +/* 8034D848 0034A7A8 48 07 09 05 */ bl CARDGetStatus +/* 8034D84C 0034A7AC 38 00 00 0D */ li r0, 0xd +/* 8034D850 0034A7B0 38 DF FF FC */ addi r6, r31, -4 +/* 8034D854 0034A7B4 38 A1 00 04 */ addi r5, r1, 4 +/* 8034D858 0034A7B8 7C 09 03 A6 */ mtctr r0 +lbl_8034D85C: +/* 8034D85C 0034A7BC 80 85 00 04 */ lwz r4, 4(r5) +/* 8034D860 0034A7C0 84 05 00 08 */ lwzu r0, 8(r5) +/* 8034D864 0034A7C4 90 86 00 04 */ stw r4, 4(r6) +/* 8034D868 0034A7C8 94 06 00 08 */ stwu r0, 8(r6) +/* 8034D86C 0034A7CC 42 00 FF F0 */ bdnz lbl_8034D85C +/* 8034D870 0034A7D0 80 05 00 04 */ lwz r0, 4(r5) +/* 8034D874 0034A7D4 90 06 00 04 */ stw r0, 4(r6) +/* 8034D878 0034A7D8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8034D87C 0034A7DC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8034D880 0034A7E0 7C 08 03 A6 */ mtlr r0 +/* 8034D884 0034A7E4 38 21 00 80 */ addi r1, r1, 0x80 +/* 8034D888 0034A7E8 4E 80 00 20 */ blr + +.global GetSerialNo__14CMemoryCardSysFiRx +GetSerialNo__14CMemoryCardSysFiRx: +/* 8034D88C 0034A7EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D890 0034A7F0 7C 08 02 A6 */ mflr r0 +/* 8034D894 0034A7F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D898 0034A7F8 48 07 0D 51 */ bl CARDGetSerialNo +/* 8034D89C 0034A7FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D8A0 0034A800 7C 08 03 A6 */ mtlr r0 +/* 8034D8A4 0034A804 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D8A8 0034A808 4E 80 00 20 */ blr + +.global TryFileRead__19SMemoryCardFileInfoFv +TryFileRead__19SMemoryCardFileInfoFv: +/* 8034D8AC 0034A80C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D8B0 0034A810 7C 08 02 A6 */ mflr r0 +/* 8034D8B4 0034A814 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D8B8 0034A818 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034D8BC 0034A81C 7C 7F 1B 78 */ mr r31, r3 +/* 8034D8C0 0034A820 48 00 11 ED */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034D8C4 0034A824 48 00 0B 29 */ bl GetResultCode__14CMemoryCardSysFi +/* 8034D8C8 0034A828 2C 03 00 00 */ cmpwi r3, 0 +/* 8034D8CC 0034A82C 41 82 00 08 */ beq lbl_8034D8D4 +/* 8034D8D0 0034A830 48 00 00 0C */ b lbl_8034D8DC +lbl_8034D8D4: +/* 8034D8D4 0034A834 7F E3 FB 78 */ mr r3, r31 +/* 8034D8D8 0034A838 48 00 12 71 */ bl FileRead__19SMemoryCardFileInfoFv +lbl_8034D8DC: +/* 8034D8DC 0034A83C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D8E0 0034A840 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034D8E4 0034A844 7C 08 03 A6 */ mtlr r0 +/* 8034D8E8 0034A848 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D8EC 0034A84C 4E 80 00 20 */ blr + +.global StartRead__19SMemoryCardFileInfoFv +StartRead__19SMemoryCardFileInfoFv: +/* 8034D8F0 0034A850 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8034D8F4 0034A854 7C 08 02 A6 */ mflr r0 +/* 8034D8F8 0034A858 38 80 00 00 */ li r4, 0 +/* 8034D8FC 0034A85C 38 A0 00 6C */ li r5, 0x6c +/* 8034D900 0034A860 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8034D904 0034A864 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8034D908 0034A868 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8034D90C 0034A86C 7C 7E 1B 78 */ mr r30, r3 +/* 8034D910 0034A870 38 61 00 28 */ addi r3, r1, 0x28 +/* 8034D914 0034A874 4B CB 5A 95 */ bl memset +/* 8034D918 0034A878 7F C3 F3 78 */ mr r3, r30 +/* 8034D91C 0034A87C 48 00 11 89 */ bl GetFileNo__19SMemoryCardFileInfoFv +/* 8034D920 0034A880 7C 7F 1B 78 */ mr r31, r3 +/* 8034D924 0034A884 7F C3 F3 78 */ mr r3, r30 +/* 8034D928 0034A888 48 00 11 85 */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034D92C 0034A88C 7F E4 FB 78 */ mr r4, r31 +/* 8034D930 0034A890 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8034D934 0034A894 4B FF FE FD */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat +/* 8034D938 0034A898 2C 03 00 00 */ cmpwi r3, 0 +/* 8034D93C 0034A89C 41 82 00 08 */ beq lbl_8034D944 +/* 8034D940 0034A8A0 48 00 00 90 */ b lbl_8034D9D0 +lbl_8034D944: +/* 8034D944 0034A8A4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8034D948 0034A8A8 48 00 0C 85 */ bl GetFileLength__8CARDStatFv +/* 8034D94C 0034A8AC 38 00 00 00 */ li r0, 0 +/* 8034D950 0034A8B0 7C 7F 1B 78 */ mr r31, r3 +/* 8034D954 0034A8B4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034D958 0034A8B8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8034D95C 0034A8BC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034D960 0034A8C0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034D964 0034A8C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D968 0034A8C8 4B F5 AD 4D */ bl sub_802a86b4 +/* 8034D96C 0034A8CC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034D970 0034A8D0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034D974 0034A8D4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034D978 0034A8D8 7C 83 02 14 */ add r4, r3, r0 +/* 8034D97C 0034A8DC 7C 03 20 50 */ subf r0, r3, r4 +/* 8034D980 0034A8E0 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034D984 0034A8E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034D988 0034A8E8 90 61 00 08 */ stw r3, 8(r1) +/* 8034D98C 0034A8EC 7C 09 03 A6 */ mtctr r0 +/* 8034D990 0034A8F0 7C 03 20 40 */ cmplw r3, r4 +/* 8034D994 0034A8F4 41 82 00 08 */ beq lbl_8034D99C +lbl_8034D998: +/* 8034D998 0034A8F8 42 00 00 00 */ bdnz lbl_8034D998 +lbl_8034D99C: +/* 8034D99C 0034A8FC 28 03 00 00 */ cmplwi r3, 0 +/* 8034D9A0 0034A900 41 82 00 08 */ beq lbl_8034D9A8 +/* 8034D9A4 0034A904 4B FC 7F 8D */ bl Free__7CMemoryFPCv +lbl_8034D9A8: +/* 8034D9A8 0034A908 7F E4 FB 78 */ mr r4, r31 +/* 8034D9AC 0034A90C 38 7E 00 24 */ addi r3, r30, 0x24 +/* 8034D9B0 0034A910 38 AD 9D EA */ addi r5, r13, lbl_805A89AA@sda21 +/* 8034D9B4 0034A914 48 00 00 35 */ bl sub_8034d9e8 +/* 8034D9B8 0034A918 80 9E 00 30 */ lwz r4, 0x30(r30) +/* 8034D9BC 0034A91C 7F C3 F3 78 */ mr r3, r30 +/* 8034D9C0 0034A920 7F E5 FB 78 */ mr r5, r31 +/* 8034D9C4 0034A924 38 C0 00 00 */ li r6, 0 +/* 8034D9C8 0034A928 38 E0 00 00 */ li r7, 0 +/* 8034D9CC 0034A92C 48 06 FE 2D */ bl CARDReadAsync +lbl_8034D9D0: +/* 8034D9D0 0034A930 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8034D9D4 0034A934 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8034D9D8 0034A938 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8034D9DC 0034A93C 7C 08 03 A6 */ mtlr r0 +/* 8034D9E0 0034A940 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8034D9E4 0034A944 4E 80 00 20 */ blr + +.global sub_8034d9e8 +sub_8034d9e8: +/* 8034D9E8 0034A948 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034D9EC 0034A94C 7C 08 02 A6 */ mflr r0 +/* 8034D9F0 0034A950 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034D9F4 0034A954 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034D9F8 0034A958 7C BF 2B 78 */ mr r31, r5 +/* 8034D9FC 0034A95C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034DA00 0034A960 7C 9E 23 78 */ mr r30, r4 +/* 8034DA04 0034A964 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034DA08 0034A968 7C 7D 1B 78 */ mr r29, r3 +/* 8034DA0C 0034A96C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8034DA10 0034A970 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8034DA14 0034A974 80 03 00 04 */ lwz r0, 4(r3) +/* 8034DA18 0034A978 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034DA1C 0034A97C 7C 64 02 14 */ add r3, r4, r0 +/* 8034DA20 0034A980 7C 04 18 50 */ subf r0, r4, r3 +/* 8034DA24 0034A984 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034DA28 0034A988 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034DA2C 0034A98C 90 81 00 08 */ stw r4, 8(r1) +/* 8034DA30 0034A990 7C 09 03 A6 */ mtctr r0 +/* 8034DA34 0034A994 7C 04 18 40 */ cmplw r4, r3 +/* 8034DA38 0034A998 41 82 00 08 */ beq lbl_8034DA40 +lbl_8034DA3C: +/* 8034DA3C 0034A99C 42 00 00 00 */ bdnz lbl_8034DA3C +lbl_8034DA40: +/* 8034DA40 0034A9A0 38 00 00 00 */ li r0, 0 +/* 8034DA44 0034A9A4 7F A3 EB 78 */ mr r3, r29 +/* 8034DA48 0034A9A8 90 1D 00 04 */ stw r0, 4(r29) +/* 8034DA4C 0034A9AC 7F C4 F3 78 */ mr r4, r30 +/* 8034DA50 0034A9B0 48 00 12 E1 */ bl sub_8034ed30 +/* 8034DA54 0034A9B4 3B 80 00 00 */ li r28, 0 +/* 8034DA58 0034A9B8 48 00 00 54 */ b lbl_8034DAAC +lbl_8034DA5C: +/* 8034DA5C 0034A9BC 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034DA60 0034A9C0 80 BD 00 08 */ lwz r5, 8(r29) +/* 8034DA64 0034A9C4 7C 00 28 00 */ cmpw r0, r5 +/* 8034DA68 0034A9C8 41 80 00 1C */ blt lbl_8034DA84 +/* 8034DA6C 0034A9CC 2C 05 00 00 */ cmpwi r5, 0 +/* 8034DA70 0034A9D0 7F A3 EB 78 */ mr r3, r29 +/* 8034DA74 0034A9D4 38 80 00 04 */ li r4, 4 +/* 8034DA78 0034A9D8 41 82 00 08 */ beq lbl_8034DA80 +/* 8034DA7C 0034A9DC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8034DA80: +/* 8034DA80 0034A9E0 48 00 12 B1 */ bl sub_8034ed30 +lbl_8034DA84: +/* 8034DA84 0034A9E4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8034DA88 0034A9E8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034DA8C 0034A9EC 7C 63 02 15 */ add. r3, r3, r0 +/* 8034DA90 0034A9F0 41 82 00 0C */ beq lbl_8034DA9C +/* 8034DA94 0034A9F4 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034DA98 0034A9F8 98 03 00 00 */ stb r0, 0(r3) +lbl_8034DA9C: +/* 8034DA9C 0034A9FC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034DAA0 0034AA00 3B 9C 00 01 */ addi r28, r28, 1 +/* 8034DAA4 0034AA04 38 03 00 01 */ addi r0, r3, 1 +/* 8034DAA8 0034AA08 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034DAAC: +/* 8034DAAC 0034AA0C 7C 1C F0 00 */ cmpw r28, r30 +/* 8034DAB0 0034AA10 41 80 FF AC */ blt lbl_8034DA5C +/* 8034DAB4 0034AA14 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034DAB8 0034AA18 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034DABC 0034AA1C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034DAC0 0034AA20 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034DAC4 0034AA24 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8034DAC8 0034AA28 7C 08 03 A6 */ mtlr r0 +/* 8034DACC 0034AA2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034DAD0 0034AA30 4E 80 00 20 */ blr + +.global GetStatus__13CCardFileInfoFP8CARDStat +GetStatus__13CCardFileInfoFP8CARDStat: +/* 8034DAD4 0034AA34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034DAD8 0034AA38 7C 08 02 A6 */ mflr r0 +/* 8034DADC 0034AA3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DAE0 0034AA40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034DAE4 0034AA44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034DAE8 0034AA48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034DAEC 0034AA4C 7C 9D 23 78 */ mr r29, r4 +/* 8034DAF0 0034AA50 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034DAF4 0034AA54 7C 7C 1B 78 */ mr r28, r3 +/* 8034DAF8 0034AA58 48 00 0F 9D */ bl GetFileNo__13CCardFileInfoFv +/* 8034DAFC 0034AA5C 7C 7F 1B 78 */ mr r31, r3 +/* 8034DB00 0034AA60 7F 83 E3 78 */ mr r3, r28 +/* 8034DB04 0034AA64 48 00 0F 99 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DB08 0034AA68 7F E4 FB 78 */ mr r4, r31 +/* 8034DB0C 0034AA6C 7F A5 EB 78 */ mr r5, r29 +/* 8034DB10 0034AA70 4B FF FD 21 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat +/* 8034DB14 0034AA74 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DB18 0034AA78 41 82 00 08 */ beq lbl_8034DB20 +/* 8034DB1C 0034AA7C 48 00 00 D8 */ b lbl_8034DBF4 +lbl_8034DB20: +/* 8034DB20 0034AA80 7F A3 EB 78 */ mr r3, r29 +/* 8034DB24 0034AA84 38 80 00 04 */ li r4, 4 +/* 8034DB28 0034AA88 48 00 0A 09 */ bl SetCommentAddr__8CARDStatFi +/* 8034DB2C 0034AA8C 7F A3 EB 78 */ mr r3, r29 +/* 8034DB30 0034AA90 38 80 00 44 */ li r4, 0x44 +/* 8034DB34 0034AA94 48 00 0A 05 */ bl SetIconAddr__8CARDStatFi +/* 8034DB38 0034AA98 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 8034DB3C 0034AA9C 3C 03 00 01 */ addis r0, r3, 1 +/* 8034DB40 0034AAA0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034DB44 0034AAA4 40 82 00 0C */ bne lbl_8034DB50 +/* 8034DB48 0034AAA8 38 80 00 00 */ li r4, 0 +/* 8034DB4C 0034AAAC 48 00 00 20 */ b lbl_8034DB6C +lbl_8034DB50: +/* 8034DB50 0034AAB0 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 8034DB54 0034AAB4 80 03 00 00 */ lwz r0, 0(r3) +/* 8034DB58 0034AAB8 2C 00 00 08 */ cmpwi r0, 8 +/* 8034DB5C 0034AABC 40 82 00 0C */ bne lbl_8034DB68 +/* 8034DB60 0034AAC0 38 80 00 02 */ li r4, 2 +/* 8034DB64 0034AAC4 48 00 00 08 */ b lbl_8034DB6C +lbl_8034DB68: +/* 8034DB68 0034AAC8 38 80 00 01 */ li r4, 1 +lbl_8034DB6C: +/* 8034DB6C 0034AACC 7F A3 EB 78 */ mr r3, r29 +/* 8034DB70 0034AAD0 48 00 0A 19 */ bl SetBannerFormat__8CARDStatFi +/* 8034DB74 0034AAD4 3B FC 00 54 */ addi r31, r28, 0x54 +/* 8034DB78 0034AAD8 3B C0 00 00 */ li r30, 0 +/* 8034DB7C 0034AADC 48 00 00 40 */ b lbl_8034DBBC +lbl_8034DB80: +/* 8034DB80 0034AAE0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8034DB84 0034AAE4 38 80 00 01 */ li r4, 1 +/* 8034DB88 0034AAE8 80 03 00 00 */ lwz r0, 0(r3) +/* 8034DB8C 0034AAEC 2C 00 00 08 */ cmpwi r0, 8 +/* 8034DB90 0034AAF0 40 82 00 08 */ bne lbl_8034DB98 +/* 8034DB94 0034AAF4 38 80 00 02 */ li r4, 2 +lbl_8034DB98: +/* 8034DB98 0034AAF8 7F A3 EB 78 */ mr r3, r29 +/* 8034DB9C 0034AAFC 7F C5 F3 78 */ mr r5, r30 +/* 8034DBA0 0034AB00 48 00 09 C5 */ bl SetIconFormat__8CARDStatFii +/* 8034DBA4 0034AB04 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034DBA8 0034AB08 7F A3 EB 78 */ mr r3, r29 +/* 8034DBAC 0034AB0C 7F C5 F3 78 */ mr r5, r30 +/* 8034DBB0 0034AB10 48 00 09 91 */ bl SetIconSpeed__8CARDStatFii +/* 8034DBB4 0034AB14 3B FF 00 14 */ addi r31, r31, 0x14 +/* 8034DBB8 0034AB18 3B DE 00 01 */ addi r30, r30, 1 +lbl_8034DBBC: +/* 8034DBBC 0034AB1C 80 1C 00 50 */ lwz r0, 0x50(r28) +/* 8034DBC0 0034AB20 7C 1E 00 00 */ cmpw r30, r0 +/* 8034DBC4 0034AB24 41 80 FF BC */ blt lbl_8034DB80 +/* 8034DBC8 0034AB28 2C 1E 00 08 */ cmpwi r30, 8 +/* 8034DBCC 0034AB2C 40 80 00 24 */ bge lbl_8034DBF0 +/* 8034DBD0 0034AB30 7F A3 EB 78 */ mr r3, r29 +/* 8034DBD4 0034AB34 7F C5 F3 78 */ mr r5, r30 +/* 8034DBD8 0034AB38 38 80 00 00 */ li r4, 0 +/* 8034DBDC 0034AB3C 48 00 09 89 */ bl SetIconFormat__8CARDStatFii +/* 8034DBE0 0034AB40 7F A3 EB 78 */ mr r3, r29 +/* 8034DBE4 0034AB44 7F C5 F3 78 */ mr r5, r30 +/* 8034DBE8 0034AB48 38 80 00 00 */ li r4, 0 +/* 8034DBEC 0034AB4C 48 00 09 55 */ bl SetIconSpeed__8CARDStatFii +lbl_8034DBF0: +/* 8034DBF0 0034AB50 38 60 00 00 */ li r3, 0 +lbl_8034DBF4: +/* 8034DBF4 0034AB54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034DBF8 0034AB58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034DBFC 0034AB5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034DC00 0034AB60 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034DC04 0034AB64 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034DC08 0034AB68 7C 08 03 A6 */ mtlr r0 +/* 8034DC0C 0034AB6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034DC10 0034AB70 4E 80 00 20 */ blr + +.global PumpCardTransfer__13CCardFileInfoFv +PumpCardTransfer__13CCardFileInfoFv: +/* 8034DC14 0034AB74 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8034DC18 0034AB78 7C 08 02 A6 */ mflr r0 +/* 8034DC1C 0034AB7C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8034DC20 0034AB80 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8034DC24 0034AB84 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8034DC28 0034AB88 7C 7E 1B 78 */ mr r30, r3 +/* 8034DC2C 0034AB8C 80 03 00 00 */ lwz r0, 0(r3) +/* 8034DC30 0034AB90 2C 00 00 00 */ cmpwi r0, 0 +/* 8034DC34 0034AB94 40 82 00 0C */ bne lbl_8034DC40 +/* 8034DC38 0034AB98 38 60 00 00 */ li r3, 0 +/* 8034DC3C 0034AB9C 48 00 01 00 */ b lbl_8034DD3C +lbl_8034DC40: +/* 8034DC40 0034ABA0 2C 00 00 01 */ cmpwi r0, 1 +/* 8034DC44 0034ABA4 40 82 00 D8 */ bne lbl_8034DD1C +/* 8034DC48 0034ABA8 48 00 0E 55 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DC4C 0034ABAC 48 00 07 A1 */ bl GetResultCode__14CMemoryCardSysFi +/* 8034DC50 0034ABB0 7C 7F 1B 78 */ mr r31, r3 +/* 8034DC54 0034ABB4 2C 1F FF FF */ cmpwi r31, -1 +/* 8034DC58 0034ABB8 41 82 00 54 */ beq lbl_8034DCAC +/* 8034DC5C 0034ABBC 38 00 00 00 */ li r0, 0 +/* 8034DC60 0034ABC0 38 7E 01 04 */ addi r3, r30, 0x104 +/* 8034DC64 0034ABC4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034DC68 0034ABC8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034DC6C 0034ABCC 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034DC70 0034ABD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DC74 0034ABD4 48 00 00 E1 */ bl sub_8034dd54 +/* 8034DC78 0034ABD8 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034DC7C 0034ABDC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034DC80 0034ABE0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034DC84 0034ABE4 7C 83 02 14 */ add r4, r3, r0 +/* 8034DC88 0034ABE8 7C 03 20 50 */ subf r0, r3, r4 +/* 8034DC8C 0034ABEC 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034DC90 0034ABF0 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034DC94 0034ABF4 90 61 00 08 */ stw r3, 8(r1) +/* 8034DC98 0034ABF8 7C 09 03 A6 */ mtctr r0 +/* 8034DC9C 0034ABFC 7C 03 20 40 */ cmplw r3, r4 +/* 8034DCA0 0034AC00 41 82 00 08 */ beq lbl_8034DCA8 +lbl_8034DCA4: +/* 8034DCA4 0034AC04 42 00 00 00 */ bdnz lbl_8034DCA4 +lbl_8034DCA8: +/* 8034DCA8 0034AC08 4B FC 7C 89 */ bl Free__7CMemoryFPCv +lbl_8034DCAC: +/* 8034DCAC 0034AC0C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8034DCB0 0034AC10 41 82 00 0C */ beq lbl_8034DCBC +/* 8034DCB4 0034AC14 7F E3 FB 78 */ mr r3, r31 +/* 8034DCB8 0034AC18 48 00 00 84 */ b lbl_8034DD3C +lbl_8034DCBC: +/* 8034DCBC 0034AC1C 38 00 00 02 */ li r0, 2 +/* 8034DCC0 0034AC20 38 61 00 28 */ addi r3, r1, 0x28 +/* 8034DCC4 0034AC24 90 1E 00 00 */ stw r0, 0(r30) +/* 8034DCC8 0034AC28 38 80 00 00 */ li r4, 0 +/* 8034DCCC 0034AC2C 38 A0 00 6C */ li r5, 0x6c +/* 8034DCD0 0034AC30 4B CB 56 D9 */ bl memset +/* 8034DCD4 0034AC34 7F C3 F3 78 */ mr r3, r30 +/* 8034DCD8 0034AC38 38 81 00 28 */ addi r4, r1, 0x28 +/* 8034DCDC 0034AC3C 4B FF FD F9 */ bl GetStatus__13CCardFileInfoFP8CARDStat +/* 8034DCE0 0034AC40 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DCE4 0034AC44 41 82 00 08 */ beq lbl_8034DCEC +/* 8034DCE8 0034AC48 48 00 00 54 */ b lbl_8034DD3C +lbl_8034DCEC: +/* 8034DCEC 0034AC4C 7F C3 F3 78 */ mr r3, r30 +/* 8034DCF0 0034AC50 48 00 0D A5 */ bl GetFileNo__13CCardFileInfoFv +/* 8034DCF4 0034AC54 7C 7F 1B 78 */ mr r31, r3 +/* 8034DCF8 0034AC58 7F C3 F3 78 */ mr r3, r30 +/* 8034DCFC 0034AC5C 48 00 0D A1 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DD00 0034AC60 7F E4 FB 78 */ mr r4, r31 +/* 8034DD04 0034AC64 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8034DD08 0034AC68 4B FF FB 05 */ bl SetStatus__14CMemoryCardSysFiiPC8CARDStat +/* 8034DD0C 0034AC6C 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DD10 0034AC70 40 82 00 2C */ bne lbl_8034DD3C +/* 8034DD14 0034AC74 38 60 FF FF */ li r3, -1 +/* 8034DD18 0034AC78 48 00 00 24 */ b lbl_8034DD3C +lbl_8034DD1C: +/* 8034DD1C 0034AC7C 48 00 0D 81 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DD20 0034AC80 48 00 06 CD */ bl GetResultCode__14CMemoryCardSysFi +/* 8034DD24 0034AC84 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DD28 0034AC88 41 82 00 08 */ beq lbl_8034DD30 +/* 8034DD2C 0034AC8C 48 00 00 10 */ b lbl_8034DD3C +lbl_8034DD30: +/* 8034DD30 0034AC90 38 00 00 00 */ li r0, 0 +/* 8034DD34 0034AC94 38 60 00 00 */ li r3, 0 +/* 8034DD38 0034AC98 90 1E 00 00 */ stw r0, 0(r30) +lbl_8034DD3C: +/* 8034DD3C 0034AC9C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8034DD40 0034ACA0 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8034DD44 0034ACA4 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8034DD48 0034ACA8 7C 08 03 A6 */ mtlr r0 +/* 8034DD4C 0034ACAC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8034DD50 0034ACB0 4E 80 00 20 */ blr + +.global sub_8034dd54 +sub_8034dd54: +/* 8034DD54 0034ACB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034DD58 0034ACB8 7C 08 02 A6 */ mflr r0 +/* 8034DD5C 0034ACBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DD60 0034ACC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034DD64 0034ACC4 7C 9F 23 78 */ mr r31, r4 +/* 8034DD68 0034ACC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034DD6C 0034ACCC 7C 7E 1B 78 */ mr r30, r3 +/* 8034DD70 0034ACD0 7C 1E F8 40 */ cmplw r30, r31 +/* 8034DD74 0034ACD4 40 82 00 08 */ bne lbl_8034DD7C +/* 8034DD78 0034ACD8 48 00 00 B4 */ b lbl_8034DE2C +lbl_8034DD7C: +/* 8034DD7C 0034ACDC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8034DD80 0034ACE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034DD84 0034ACE4 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034DD88 0034ACE8 7C 64 02 14 */ add r3, r4, r0 +/* 8034DD8C 0034ACEC 7C 04 18 50 */ subf r0, r4, r3 +/* 8034DD90 0034ACF0 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034DD94 0034ACF4 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034DD98 0034ACF8 90 81 00 08 */ stw r4, 8(r1) +/* 8034DD9C 0034ACFC 7C 09 03 A6 */ mtctr r0 +/* 8034DDA0 0034AD00 7C 04 18 40 */ cmplw r4, r3 +/* 8034DDA4 0034AD04 41 82 00 08 */ beq lbl_8034DDAC +lbl_8034DDA8: +/* 8034DDA8 0034AD08 42 00 00 00 */ bdnz lbl_8034DDA8 +lbl_8034DDAC: +/* 8034DDAC 0034AD0C 38 00 00 00 */ li r0, 0 +/* 8034DDB0 0034AD10 90 1E 00 04 */ stw r0, 4(r30) +/* 8034DDB4 0034AD14 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034DDB8 0034AD18 2C 04 00 00 */ cmpwi r4, 0 +/* 8034DDBC 0034AD1C 40 82 00 20 */ bne lbl_8034DDDC +/* 8034DDC0 0034AD20 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034DDC4 0034AD24 4B FC 7B 6D */ bl Free__7CMemoryFPCv +/* 8034DDC8 0034AD28 38 00 00 00 */ li r0, 0 +/* 8034DDCC 0034AD2C 90 1E 00 04 */ stw r0, 4(r30) +/* 8034DDD0 0034AD30 90 1E 00 08 */ stw r0, 8(r30) +/* 8034DDD4 0034AD34 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8034DDD8 0034AD38 48 00 00 50 */ b lbl_8034DE28 +lbl_8034DDDC: +/* 8034DDDC 0034AD3C 7F C3 F3 78 */ mr r3, r30 +/* 8034DDE0 0034AD40 48 00 0F 51 */ bl sub_8034ed30 +/* 8034DDE4 0034AD44 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8034DDE8 0034AD48 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034DDEC 0034AD4C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034DDF0 0034AD50 7C 85 02 14 */ add r4, r5, r0 +/* 8034DDF4 0034AD54 7C 05 20 50 */ subf r0, r5, r4 +/* 8034DDF8 0034AD58 7C 09 03 A6 */ mtctr r0 +/* 8034DDFC 0034AD5C 7C 05 20 40 */ cmplw r5, r4 +/* 8034DE00 0034AD60 41 82 00 20 */ beq lbl_8034DE20 +lbl_8034DE04: +/* 8034DE04 0034AD64 28 03 00 00 */ cmplwi r3, 0 +/* 8034DE08 0034AD68 41 82 00 0C */ beq lbl_8034DE14 +/* 8034DE0C 0034AD6C 88 05 00 00 */ lbz r0, 0(r5) +/* 8034DE10 0034AD70 98 03 00 00 */ stb r0, 0(r3) +lbl_8034DE14: +/* 8034DE14 0034AD74 38 63 00 01 */ addi r3, r3, 1 +/* 8034DE18 0034AD78 38 A5 00 01 */ addi r5, r5, 1 +/* 8034DE1C 0034AD7C 42 00 FF E8 */ bdnz lbl_8034DE04 +lbl_8034DE20: +/* 8034DE20 0034AD80 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034DE24 0034AD84 90 1E 00 04 */ stw r0, 4(r30) +lbl_8034DE28: +/* 8034DE28 0034AD88 7F C3 F3 78 */ mr r3, r30 +lbl_8034DE2C: +/* 8034DE2C 0034AD8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034DE30 0034AD90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034DE34 0034AD94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034DE38 0034AD98 7C 08 03 A6 */ mtlr r0 +/* 8034DE3C 0034AD9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034DE40 0034ADA0 4E 80 00 20 */ blr + +.global Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl +Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl: +/* 8034DE44 0034ADA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034DE48 0034ADA8 7C 08 02 A6 */ mflr r0 +/* 8034DE4C 0034ADAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DE50 0034ADB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034DE54 0034ADB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034DE58 0034ADB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034DE5C 0034ADBC 7C 7D 1B 78 */ mr r29, r3 +/* 8034DE60 0034ADC0 48 00 08 31 */ bl BuildCardBuffer__13CCardFileInfoFv +/* 8034DE64 0034ADC4 83 DD 01 10 */ lwz r30, 0x110(r29) +/* 8034DE68 0034ADC8 83 FD 01 08 */ lwz r31, 0x108(r29) +/* 8034DE6C 0034ADCC 7F C3 F3 78 */ mr r3, r30 +/* 8034DE70 0034ADD0 7F E4 FB 78 */ mr r4, r31 +/* 8034DE74 0034ADD4 48 03 0C 6D */ bl DCStoreRange +/* 8034DE78 0034ADD8 7F C4 F3 78 */ mr r4, r30 +/* 8034DE7C 0034ADDC 7F E5 FB 78 */ mr r5, r31 +/* 8034DE80 0034ADE0 38 7D 00 04 */ addi r3, r29, 4 +/* 8034DE84 0034ADE4 38 C0 00 00 */ li r6, 0 +/* 8034DE88 0034ADE8 38 E0 00 00 */ li r7, 0 +/* 8034DE8C 0034ADEC 48 06 FC D5 */ bl CARDWriteAsync +/* 8034DE90 0034ADF0 38 00 00 01 */ li r0, 1 +/* 8034DE94 0034ADF4 90 1D 00 00 */ stw r0, 0(r29) +/* 8034DE98 0034ADF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034DE9C 0034ADFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034DEA0 0034AE00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034DEA4 0034AE04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034DEA8 0034AE08 7C 08 03 A6 */ mtlr r0 +/* 8034DEAC 0034AE0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034DEB0 0034AE10 4E 80 00 20 */ blr + +.global CheckCard__14CMemoryCardSysFv +CheckCard__14CMemoryCardSysFv: +/* 8034DEB4 0034AE14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DEB8 0034AE18 7C 08 02 A6 */ mflr r0 +/* 8034DEBC 0034AE1C 38 80 00 00 */ li r4, 0 +/* 8034DEC0 0034AE20 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DEC4 0034AE24 48 06 DC 25 */ bl CARDCheckAsync +/* 8034DEC8 0034AE28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DECC 0034AE2C 7C 08 03 A6 */ mtlr r0 +/* 8034DED0 0034AE30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DED4 0034AE34 4E 80 00 20 */ blr + +.global Rename__14CMemoryCardSysFiPCcPCc +Rename__14CMemoryCardSysFiPCcPCc: +/* 8034DED8 0034AE38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DEDC 0034AE3C 7C 08 02 A6 */ mflr r0 +/* 8034DEE0 0034AE40 38 C0 00 00 */ li r6, 0 +/* 8034DEE4 0034AE44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DEE8 0034AE48 80 84 00 00 */ lwz r4, 0(r4) +/* 8034DEEC 0034AE4C 80 A5 00 00 */ lwz r5, 0(r5) +/* 8034DEF0 0034AE50 48 07 04 FD */ bl CARDRenameAsync +/* 8034DEF4 0034AE54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DEF8 0034AE58 7C 08 03 A6 */ mtlr r0 +/* 8034DEFC 0034AE5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DF00 0034AE60 4E 80 00 20 */ blr + +.global Close__13CCardFileInfoFv +Close__13CCardFileInfoFv: +/* 8034DF04 0034AE64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DF08 0034AE68 7C 08 02 A6 */ mflr r0 +/* 8034DF0C 0034AE6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DF10 0034AE70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034DF14 0034AE74 93 C1 00 08 */ stw r30, 8(r1) +/* 8034DF18 0034AE78 7C 7E 1B 78 */ mr r30, r3 +/* 8034DF1C 0034AE7C 48 00 0B 81 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DF20 0034AE80 7C 7F 1B 78 */ mr r31, r3 +/* 8034DF24 0034AE84 38 7E 00 04 */ addi r3, r30, 4 +/* 8034DF28 0034AE88 48 06 F2 3D */ bl CARDClose +/* 8034DF2C 0034AE8C 93 FE 00 04 */ stw r31, 4(r30) +/* 8034DF30 0034AE90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DF34 0034AE94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034DF38 0034AE98 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034DF3C 0034AE9C 7C 08 03 A6 */ mtlr r0 +/* 8034DF40 0034AEA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DF44 0034AEA4 4E 80 00 20 */ blr + +.global Close__19SMemoryCardFileInfo +Close__19SMemoryCardFileInfo: +/* 8034DF48 0034AEA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DF4C 0034AEAC 7C 08 02 A6 */ mflr r0 +/* 8034DF50 0034AEB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DF54 0034AEB4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034DF58 0034AEB8 93 C1 00 08 */ stw r30, 8(r1) +/* 8034DF5C 0034AEBC 7C 7E 1B 78 */ mr r30, r3 +/* 8034DF60 0034AEC0 48 00 0B 4D */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034DF64 0034AEC4 7C 7F 1B 78 */ mr r31, r3 +/* 8034DF68 0034AEC8 7F C3 F3 78 */ mr r3, r30 +/* 8034DF6C 0034AECC 48 06 F1 F9 */ bl CARDClose +/* 8034DF70 0034AED0 93 FE 00 00 */ stw r31, 0(r30) +/* 8034DF74 0034AED4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DF78 0034AED8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034DF7C 0034AEDC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034DF80 0034AEE0 7C 08 03 A6 */ mtlr r0 +/* 8034DF84 0034AEE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DF88 0034AEE8 4E 80 00 20 */ blr + +.global FastDeleteFile__14CMemoryCardSysFii +FastDeleteFile__14CMemoryCardSysFii: +/* 8034DF8C 0034AEEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DF90 0034AEF0 7C 08 02 A6 */ mflr r0 +/* 8034DF94 0034AEF4 38 A0 00 00 */ li r5, 0 +/* 8034DF98 0034AEF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DF9C 0034AEFC 48 06 FD 7D */ bl CARDFastDeleteAsync +/* 8034DFA0 0034AF00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DFA4 0034AF04 7C 08 03 A6 */ mtlr r0 +/* 8034DFA8 0034AF08 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DFAC 0034AF0C 4E 80 00 20 */ blr + +.global DeleteFile__14CMemoryCardSysFiPCc +DeleteFile__14CMemoryCardSysFiPCc: +/* 8034DFB0 0034AF10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DFB4 0034AF14 7C 08 02 A6 */ mflr r0 +/* 8034DFB8 0034AF18 38 A0 00 00 */ li r5, 0 +/* 8034DFBC 0034AF1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DFC0 0034AF20 80 84 00 00 */ lwz r4, 0(r4) +/* 8034DFC4 0034AF24 48 06 FE 81 */ bl CARDDeleteAsync +/* 8034DFC8 0034AF28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DFCC 0034AF2C 7C 08 03 A6 */ mtlr r0 +/* 8034DFD0 0034AF30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DFD4 0034AF34 4E 80 00 20 */ blr + +.global "CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo" +"CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo": +/* 8034DFD8 0034AF38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DFDC 0034AF3C 7C 08 02 A6 */ mflr r0 +/* 8034DFE0 0034AF40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DFE4 0034AF44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034DFE8 0034AF48 93 C1 00 08 */ stw r30, 8(r1) +/* 8034DFEC 0034AF4C 7C 7E 1B 78 */ mr r30, r3 +/* 8034DFF0 0034AF50 48 00 06 69 */ bl CalculateTotalDataSize__13CCardFileInfoFv +/* 8034DFF4 0034AF54 7C 60 1B 78 */ mr r0, r3 +/* 8034DFF8 0034AF58 7F C3 F3 78 */ mr r3, r30 +/* 8034DFFC 0034AF5C 7C 1F 03 78 */ mr r31, r0 +/* 8034E000 0034AF60 48 00 0A 9D */ bl GetCardPort__13CCardFileInfoFv +/* 8034E004 0034AF64 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 8034E008 0034AF68 7F E5 FB 78 */ mr r5, r31 +/* 8034E00C 0034AF6C 38 DE 00 04 */ addi r6, r30, 4 +/* 8034E010 0034AF70 38 E0 00 00 */ li r7, 0 +/* 8034E014 0034AF74 48 06 F2 DD */ bl CARDCreateAsync +/* 8034E018 0034AF78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E01C 0034AF7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E020 0034AF80 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E024 0034AF84 7C 08 03 A6 */ mtlr r0 +/* 8034E028 0034AF88 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E02C 0034AF8C 4E 80 00 20 */ blr + +.global "OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo" +"OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo": +/* 8034E030 0034AF90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E034 0034AF94 7C 08 02 A6 */ mflr r0 +/* 8034E038 0034AF98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E03C 0034AF9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E040 0034AFA0 7C 7F 1B 78 */ mr r31, r3 +/* 8034E044 0034AFA4 48 00 0A 69 */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034E048 0034AFA8 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 8034E04C 0034AFAC 7F E5 FB 78 */ mr r5, r31 +/* 8034E050 0034AFB0 48 06 EF 9D */ bl CARDOpen +/* 8034E054 0034AFB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E058 0034AFB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E05C 0034AFBC 7C 08 03 A6 */ mtlr r0 +/* 8034E060 0034AFC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E064 0034AFC4 4E 80 00 20 */ blr + +.global LockIconToken__13CCardFileInfoFiiR11CSimplePool +LockIconToken__13CCardFileInfoFiiR11CSimplePool: +/* 8034E068 0034AFC8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034E06C 0034AFCC 7C 08 02 A6 */ mflr r0 +/* 8034E070 0034AFD0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034E074 0034AFD4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034E078 0034AFD8 7C 7F 1B 78 */ mr r31, r3 +/* 8034E07C 0034AFDC 38 61 00 08 */ addi r3, r1, 8 +/* 8034E080 0034AFE0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034E084 0034AFE4 48 00 0A 31 */ bl sub_8034eab4 +/* 8034E088 0034AFE8 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8034E08C 0034AFEC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8034E090 0034AFF0 7C BF 02 14 */ add r5, r31, r0 +/* 8034E094 0034AFF4 34 A5 00 54 */ addic. r5, r5, 0x54 +/* 8034E098 0034AFF8 41 82 00 34 */ beq lbl_8034E0CC +/* 8034E09C 0034AFFC 80 01 00 08 */ lwz r0, 8(r1) +/* 8034E0A0 0034B000 3B C5 00 08 */ addi r30, r5, 8 +/* 8034E0A4 0034B004 7F C3 F3 78 */ mr r3, r30 +/* 8034E0A8 0034B008 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034E0AC 0034B00C 90 05 00 00 */ stw r0, 0(r5) +/* 8034E0B0 0034B010 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034E0B4 0034B014 90 05 00 04 */ stw r0, 4(r5) +/* 8034E0B8 0034B018 4B FF 2D F1 */ bl __ct__6CTokenFRC6CToken +/* 8034E0BC 0034B01C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8034E0C0 0034B020 7F C3 F3 78 */ mr r3, r30 +/* 8034E0C4 0034B024 90 1E 00 08 */ stw r0, 8(r30) +/* 8034E0C8 0034B028 4B FF 2C BD */ bl Lock__6CTokenFv +lbl_8034E0CC: +/* 8034E0CC 0034B02C 80 9F 00 50 */ lwz r4, 0x50(r31) +/* 8034E0D0 0034B030 34 61 00 10 */ addic. r3, r1, 0x10 +/* 8034E0D4 0034B034 38 04 00 01 */ addi r0, r4, 1 +/* 8034E0D8 0034B038 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8034E0DC 0034B03C 41 82 00 14 */ beq lbl_8034E0F0 +/* 8034E0E0 0034B040 28 03 00 00 */ cmplwi r3, 0 +/* 8034E0E4 0034B044 41 82 00 0C */ beq lbl_8034E0F0 +/* 8034E0E8 0034B048 38 80 00 00 */ li r4, 0 +/* 8034E0EC 0034B04C 4B FF 2D 55 */ bl __dt__6CTokenFv +lbl_8034E0F0: +/* 8034E0F0 0034B050 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034E0F4 0034B054 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034E0F8 0034B058 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034E0FC 0034B05C 7C 08 03 A6 */ mtlr r0 +/* 8034E100 0034B060 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034E104 0034B064 4E 80 00 20 */ blr + +.global LockBannerToken__13CCardFileInfoFiR11CSimplePool +LockBannerToken__13CCardFileInfoFiR11CSimplePool: +/* 8034E108 0034B068 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034E10C 0034B06C 7C 08 02 A6 */ mflr r0 +/* 8034E110 0034B070 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034E114 0034B074 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034E118 0034B078 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034E11C 0034B07C 7C 7E 1B 78 */ mr r30, r3 +/* 8034E120 0034B080 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8034E124 0034B084 90 9E 00 3C */ stw r4, 0x3c(r30) +/* 8034E128 0034B088 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8034E12C 0034B08C 7C A4 2B 78 */ mr r4, r5 +/* 8034E130 0034B090 38 61 00 08 */ addi r3, r1, 8 +/* 8034E134 0034B094 80 DE 00 3C */ lwz r6, 0x3c(r30) +/* 8034E138 0034B098 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034E13C 0034B09C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034E140 0034B0A0 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8034E144 0034B0A4 81 84 00 00 */ lwz r12, 0(r4) +/* 8034E148 0034B0A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034E14C 0034B0AC 7D 89 03 A6 */ mtctr r12 +/* 8034E150 0034B0B0 4E 80 04 21 */ bctrl +/* 8034E154 0034B0B4 3B E1 00 18 */ addi r31, r1, 0x18 +/* 8034E158 0034B0B8 38 81 00 08 */ addi r4, r1, 8 +/* 8034E15C 0034B0BC 7F E3 FB 78 */ mr r3, r31 +/* 8034E160 0034B0C0 4B FF 2D 49 */ bl __ct__6CTokenFRC6CToken +/* 8034E164 0034B0C4 7F E3 FB 78 */ mr r3, r31 +/* 8034E168 0034B0C8 4B FF 2C A5 */ bl GetObj__6CTokenFv +/* 8034E16C 0034B0CC 80 03 00 04 */ lwz r0, 4(r3) +/* 8034E170 0034B0D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034E174 0034B0D4 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 8034E178 0034B0D8 28 00 00 00 */ cmplwi r0, 0 +/* 8034E17C 0034B0DC 40 82 00 34 */ bne lbl_8034E1B0 +/* 8034E180 0034B0E0 37 FE 00 40 */ addic. r31, r30, 0x40 +/* 8034E184 0034B0E4 41 82 00 20 */ beq lbl_8034E1A4 +/* 8034E188 0034B0E8 7F E3 FB 78 */ mr r3, r31 +/* 8034E18C 0034B0EC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034E190 0034B0F0 4B FF 2D 19 */ bl __ct__6CTokenFRC6CToken +/* 8034E194 0034B0F4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8034E198 0034B0F8 7F E3 FB 78 */ mr r3, r31 +/* 8034E19C 0034B0FC 90 1F 00 08 */ stw r0, 8(r31) +/* 8034E1A0 0034B100 4B FF 2B E5 */ bl Lock__6CTokenFv +lbl_8034E1A4: +/* 8034E1A4 0034B104 38 00 00 01 */ li r0, 1 +/* 8034E1A8 0034B108 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 8034E1AC 0034B10C 48 00 00 1C */ b lbl_8034E1C8 +lbl_8034E1B0: +/* 8034E1B0 0034B110 3B FE 00 40 */ addi r31, r30, 0x40 +/* 8034E1B4 0034B114 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034E1B8 0034B118 7F E3 FB 78 */ mr r3, r31 +/* 8034E1BC 0034B11C 4B FF 2B 09 */ bl __as__6CTokenFRC6CToken +/* 8034E1C0 0034B120 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8034E1C4 0034B124 90 1F 00 08 */ stw r0, 8(r31) +lbl_8034E1C8: +/* 8034E1C8 0034B128 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034E1CC 0034B12C 38 80 00 00 */ li r4, 0 +/* 8034E1D0 0034B130 4B FF 2C 71 */ bl __dt__6CTokenFv +/* 8034E1D4 0034B134 38 61 00 08 */ addi r3, r1, 8 +/* 8034E1D8 0034B138 38 80 FF FF */ li r4, -1 +/* 8034E1DC 0034B13C 4B FF 2C 65 */ bl __dt__6CTokenFv +/* 8034E1E0 0034B140 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034E1E4 0034B144 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034E1E8 0034B148 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034E1EC 0034B14C 7C 08 03 A6 */ mtlr r0 +/* 8034E1F0 0034B150 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034E1F4 0034B154 4E 80 00 20 */ blr + +.global __ct__13CCardFileInfoFRCQ24rstl6string +__ct__13CCardFileInfoFRCQ24rstl6string: +/* 8034E1F8 0034B158 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E1FC 0034B15C 7C 08 02 A6 */ mflr r0 +/* 8034E200 0034B160 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E204 0034B164 38 00 00 00 */ li r0, 0 +/* 8034E208 0034B168 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E20C 0034B16C 7C 9F 23 78 */ mr r31, r4 +/* 8034E210 0034B170 7C A4 2B 78 */ mr r4, r5 +/* 8034E214 0034B174 93 C1 00 08 */ stw r30, 8(r1) +/* 8034E218 0034B178 7C 7E 1B 78 */ mr r30, r3 +/* 8034E21C 0034B17C 90 03 00 00 */ stw r0, 0(r3) +/* 8034E220 0034B180 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8034E224 0034B184 4B FE FF 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034E228 0034B188 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8034E22C 0034B18C 38 80 00 00 */ li r4, 0 +/* 8034E230 0034B190 90 1E 00 28 */ stw r0, 0x28(r30) +/* 8034E234 0034B194 38 00 FF FF */ li r0, -1 +/* 8034E238 0034B198 7F C3 F3 78 */ mr r3, r30 +/* 8034E23C 0034B19C 90 9E 00 2C */ stw r4, 0x2c(r30) +/* 8034E240 0034B1A0 90 9E 00 30 */ stw r4, 0x30(r30) +/* 8034E244 0034B1A4 90 9E 00 38 */ stw r4, 0x38(r30) +/* 8034E248 0034B1A8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 8034E24C 0034B1AC 98 9E 00 4C */ stb r4, 0x4c(r30) +/* 8034E250 0034B1B0 90 9E 00 50 */ stw r4, 0x50(r30) +/* 8034E254 0034B1B4 90 9E 00 F8 */ stw r4, 0xf8(r30) +/* 8034E258 0034B1B8 90 9E 00 FC */ stw r4, 0xfc(r30) +/* 8034E25C 0034B1BC 90 9E 01 00 */ stw r4, 0x100(r30) +/* 8034E260 0034B1C0 90 9E 01 08 */ stw r4, 0x108(r30) +/* 8034E264 0034B1C4 90 9E 01 0C */ stw r4, 0x10c(r30) +/* 8034E268 0034B1C8 90 9E 01 10 */ stw r4, 0x110(r30) +/* 8034E26C 0034B1CC 93 FE 00 04 */ stw r31, 4(r30) +/* 8034E270 0034B1D0 90 1E 00 08 */ stw r0, 8(r30) +/* 8034E274 0034B1D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E278 0034B1D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E27C 0034B1DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E280 0034B1E0 7C 08 03 A6 */ mtlr r0 +/* 8034E284 0034B1E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E288 0034B1E8 4E 80 00 20 */ blr + +.global __ct__19SMemoryCardFileInfoFiRCQ24rstl6string +__ct__19SMemoryCardFileInfoFiRCQ24rstl6string: +/* 8034E28C 0034B1EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E290 0034B1F0 7C 08 02 A6 */ mflr r0 +/* 8034E294 0034B1F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E298 0034B1F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E29C 0034B1FC 7C 9F 23 78 */ mr r31, r4 +/* 8034E2A0 0034B200 7C A4 2B 78 */ mr r4, r5 +/* 8034E2A4 0034B204 93 C1 00 08 */ stw r30, 8(r1) +/* 8034E2A8 0034B208 7C 7E 1B 78 */ mr r30, r3 +/* 8034E2AC 0034B20C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8034E2B0 0034B210 4B FE FE B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034E2B4 0034B214 38 80 00 00 */ li r4, 0 +/* 8034E2B8 0034B218 38 00 FF FF */ li r0, -1 +/* 8034E2BC 0034B21C 90 9E 00 28 */ stw r4, 0x28(r30) +/* 8034E2C0 0034B220 7F C3 F3 78 */ mr r3, r30 +/* 8034E2C4 0034B224 90 9E 00 2C */ stw r4, 0x2c(r30) +/* 8034E2C8 0034B228 90 9E 00 30 */ stw r4, 0x30(r30) +/* 8034E2CC 0034B22C 90 9E 00 38 */ stw r4, 0x38(r30) +/* 8034E2D0 0034B230 90 9E 00 3C */ stw r4, 0x3c(r30) +/* 8034E2D4 0034B234 90 9E 00 40 */ stw r4, 0x40(r30) +/* 8034E2D8 0034B238 93 FE 00 00 */ stw r31, 0(r30) +/* 8034E2DC 0034B23C 90 1E 00 04 */ stw r0, 4(r30) +/* 8034E2E0 0034B240 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E2E4 0034B244 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E2E8 0034B248 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E2EC 0034B24C 7C 08 03 A6 */ mtlr r0 +/* 8034E2F0 0034B250 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E2F4 0034B254 4E 80 00 20 */ blr + +.global GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUi +GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUi: +/* 8034E2F8 0034B258 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034E2FC 0034B25C 7C 08 02 A6 */ mflr r0 +/* 8034E300 0034B260 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E304 0034B264 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034E308 0034B268 7C BF 2B 78 */ mr r31, r5 +/* 8034E30C 0034B26C 38 A1 00 08 */ addi r5, r1, 8 +/* 8034E310 0034B270 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034E314 0034B274 7C 9E 23 78 */ mr r30, r4 +/* 8034E318 0034B278 38 81 00 0C */ addi r4, r1, 0xc +/* 8034E31C 0034B27C 48 06 AB D1 */ bl CARDFreeBlocks +/* 8034E320 0034B280 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034E324 0034B284 90 1E 00 00 */ stw r0, 0(r30) +/* 8034E328 0034B288 80 01 00 08 */ lwz r0, 8(r1) +/* 8034E32C 0034B28C 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E330 0034B290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034E334 0034B294 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034E338 0034B298 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034E33C 0034B29C 7C 08 03 A6 */ mtlr r0 +/* 8034E340 0034B2A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034E344 0034B2A4 4E 80 00 20 */ blr + +.global FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E348 0034B2A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E34C 0034B2AC 7C 08 02 A6 */ mflr r0 +/* 8034E350 0034B2B0 38 80 00 00 */ li r4, 0 +/* 8034E354 0034B2B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E358 0034B2B8 48 06 E9 CD */ bl CARDFormatAsync +/* 8034E35C 0034B2BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E360 0034B2C0 7C 08 03 A6 */ mtlr r0 +/* 8034E364 0034B2C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E368 0034B2C8 4E 80 00 20 */ blr + +.global UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E36C 0034B2CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E370 0034B2D0 7C 08 02 A6 */ mflr r0 +/* 8034E374 0034B2D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E378 0034B2D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E37C 0034B2DC 7C 7F 1B 78 */ mr r31, r3 +/* 8034E380 0034B2E0 48 06 E1 5D */ bl CARDUnmount +/* 8034E384 0034B2E4 7C 60 1B 78 */ mr r0, r3 +/* 8034E388 0034B2E8 7F E3 FB 78 */ mr r3, r31 +/* 8034E38C 0034B2EC 7C 1F 03 78 */ mr r31, r0 +/* 8034E390 0034B2F0 4B FF F1 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E394 0034B2F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E398 0034B2F8 7F E3 FB 78 */ mr r3, r31 +/* 8034E39C 0034B2FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E3A0 0034B300 7C 08 03 A6 */ mtlr r0 +/* 8034E3A4 0034B304 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E3A8 0034B308 4E 80 00 20 */ blr + +.global MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E3AC 0034B30C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E3B0 0034B310 7C 08 02 A6 */ mflr r0 +/* 8034E3B4 0034B314 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E3B8 0034B318 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E3BC 0034B31C 7C 7F 1B 78 */ mr r31, r3 +/* 8034E3C0 0034B320 4B FF F2 F9 */ bl AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E3C4 0034B324 7C 64 1B 78 */ mr r4, r3 +/* 8034E3C8 0034B328 7F E3 FB 78 */ mr r3, r31 +/* 8034E3CC 0034B32C 38 A0 00 00 */ li r5, 0 +/* 8034E3D0 0034B330 38 C0 00 00 */ li r6, 0 +/* 8034E3D4 0034B334 48 06 DE CD */ bl CARDMountAsync +/* 8034E3D8 0034B338 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E3DC 0034B33C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E3E0 0034B340 7C 08 03 A6 */ mtlr r0 +/* 8034E3E4 0034B344 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E3E8 0034B348 4E 80 00 20 */ blr + +.global GetResultCode__14CMemoryCardSysFi +GetResultCode__14CMemoryCardSysFi: +/* 8034E3EC 0034B34C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E3F0 0034B350 7C 08 02 A6 */ mflr r0 +/* 8034E3F4 0034B354 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E3F8 0034B358 48 06 AA C5 */ bl CARDGetResultCode +/* 8034E3FC 0034B35C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E400 0034B360 7C 08 03 A6 */ mtlr r0 +/* 8034E404 0034B364 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E408 0034B368 4E 80 00 20 */ blr + +.global IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E40C 0034B36C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034E410 0034B370 7C 08 02 A6 */ mflr r0 +/* 8034E414 0034B374 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E418 0034B378 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034E41C 0034B37C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034E420 0034B380 7C 7F 1B 78 */ mr r31, r3 +/* 8034E424 0034B384 7C 83 23 78 */ mr r3, r4 +/* 8034E428 0034B388 38 81 00 0C */ addi r4, r1, 0xc +/* 8034E42C 0034B38C 48 06 D7 B1 */ bl CARDProbeEx +/* 8034E430 0034B390 90 61 00 08 */ stw r3, 8(r1) +/* 8034E434 0034B394 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034E438 0034B398 90 7F 00 00 */ stw r3, 0(r31) +/* 8034E43C 0034B39C 90 1F 00 04 */ stw r0, 4(r31) +/* 8034E440 0034B3A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8034E444 0034B3A4 90 1F 00 08 */ stw r0, 8(r31) +/* 8034E448 0034B3A8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034E44C 0034B3AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034E450 0034B3B0 7C 08 03 A6 */ mtlr r0 +/* 8034E454 0034B3B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034E458 0034B3B8 4E 80 00 20 */ blr + +.global sub_8034e45c +sub_8034e45c: +/* 8034E45C 0034B3BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E460 0034B3C0 7C 08 02 A6 */ mflr r0 +/* 8034E464 0034B3C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E468 0034B3C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E46C 0034B3CC 7C 9F 23 78 */ mr r31, r4 +/* 8034E470 0034B3D0 93 C1 00 08 */ stw r30, 8(r1) +/* 8034E474 0034B3D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034E478 0034B3D8 41 82 00 2C */ beq lbl_8034E4A4 +/* 8034E47C 0034B3DC 38 00 00 00 */ li r0, 0 +/* 8034E480 0034B3E0 38 60 00 00 */ li r3, 0 +/* 8034E484 0034B3E4 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13) +/* 8034E488 0034B3E8 4B FF F0 55 */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E48C 0034B3EC 38 60 00 01 */ li r3, 1 +/* 8034E490 0034B3F0 4B FF F0 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E494 0034B3F4 7F E0 07 35 */ extsh. r0, r31 +/* 8034E498 0034B3F8 40 81 00 0C */ ble lbl_8034E4A4 +/* 8034E49C 0034B3FC 7F C3 F3 78 */ mr r3, r30 +/* 8034E4A0 0034B400 4B FC 74 91 */ bl Free__7CMemoryFPCv +lbl_8034E4A4: +/* 8034E4A4 0034B404 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E4A8 0034B408 7F C3 F3 78 */ mr r3, r30 +/* 8034E4AC 0034B40C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E4B0 0034B410 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E4B4 0034B414 7C 08 03 A6 */ mtlr r0 +/* 8034E4B8 0034B418 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E4BC 0034B41C 4E 80 00 20 */ blr + +.global Initialize__14CMemoryCardSysFv +Initialize__14CMemoryCardSysFv: +/* 8034E4C0 0034B420 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E4C4 0034B424 7C 08 02 A6 */ mflr r0 +/* 8034E4C8 0034B428 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E4CC 0034B42C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E4D0 0034B430 7C 7F 1B 78 */ mr r31, r3 +/* 8034E4D4 0034B434 88 0D AA 00 */ lbz r0, lbl_805A95C0@sda21(r13) +/* 8034E4D8 0034B438 28 00 00 00 */ cmplwi r0, 0 +/* 8034E4DC 0034B43C 40 82 00 10 */ bne lbl_8034E4EC +/* 8034E4E0 0034B440 48 06 A7 D5 */ bl CARDInit +/* 8034E4E4 0034B444 38 00 00 01 */ li r0, 1 +/* 8034E4E8 0034B448 98 0D AA 00 */ stb r0, lbl_805A95C0@sda21(r13) +lbl_8034E4EC: +/* 8034E4EC 0034B44C 38 00 00 01 */ li r0, 1 +/* 8034E4F0 0034B450 7F E3 FB 78 */ mr r3, r31 +/* 8034E4F4 0034B454 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13) +/* 8034E4F8 0034B458 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E4FC 0034B45C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E500 0034B460 7C 08 03 A6 */ mtlr r0 +/* 8034E504 0034B464 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E508 0034B468 4E 80 00 20 */ blr + +.global SetComment__13CCardFileInfoFv +SetComment__13CCardFileInfoFv: +/* 8034E50C 0034B46C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E510 0034B470 7C 08 02 A6 */ mflr r0 +/* 8034E514 0034B474 38 63 00 28 */ addi r3, r3, 0x28 +/* 8034E518 0034B478 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E51C 0034B47C 4B FE F8 41 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034E520 0034B480 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E524 0034B484 7C 08 03 A6 */ mtlr r0 +/* 8034E528 0034B488 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E52C 0034B48C 4E 80 00 20 */ blr + +.global SetCommentAddr__8CARDStatFi +SetCommentAddr__8CARDStatFi: +/* 8034E530 0034B490 90 83 00 38 */ stw r4, 0x38(r3) +/* 8034E534 0034B494 4E 80 00 20 */ blr + +.global SetIconAddr__8CARDStatFi +SetIconAddr__8CARDStatFi: +/* 8034E538 0034B498 90 83 00 30 */ stw r4, 0x30(r3) +/* 8034E53C 0034B49C 4E 80 00 20 */ blr + +.global SetIconSpeed__8CARDStatFii +SetIconSpeed__8CARDStatFii: +/* 8034E540 0034B4A0 54 A7 08 3C */ slwi r7, r5, 1 +/* 8034E544 0034B4A4 38 00 00 03 */ li r0, 3 +/* 8034E548 0034B4A8 7C 05 38 30 */ slw r5, r0, r7 +/* 8034E54C 0034B4AC A0 C3 00 36 */ lhz r6, 0x36(r3) +/* 8034E550 0034B4B0 7C 80 38 30 */ slw r0, r4, r7 +/* 8034E554 0034B4B4 7C C4 28 78 */ andc r4, r6, r5 +/* 8034E558 0034B4B8 7C 80 03 78 */ or r0, r4, r0 +/* 8034E55C 0034B4BC B0 03 00 36 */ sth r0, 0x36(r3) +/* 8034E560 0034B4C0 4E 80 00 20 */ blr + +.global SetIconFormat__8CARDStatFii +SetIconFormat__8CARDStatFii: +/* 8034E564 0034B4C4 54 A7 08 3C */ slwi r7, r5, 1 +/* 8034E568 0034B4C8 38 00 00 03 */ li r0, 3 +/* 8034E56C 0034B4CC 7C 05 38 30 */ slw r5, r0, r7 +/* 8034E570 0034B4D0 A0 C3 00 34 */ lhz r6, 0x34(r3) +/* 8034E574 0034B4D4 7C 80 38 30 */ slw r0, r4, r7 +/* 8034E578 0034B4D8 7C C4 28 78 */ andc r4, r6, r5 +/* 8034E57C 0034B4DC 7C 80 03 78 */ or r0, r4, r0 +/* 8034E580 0034B4E0 B0 03 00 34 */ sth r0, 0x34(r3) +/* 8034E584 0034B4E4 4E 80 00 20 */ blr + +.global SetBannerFormat__8CARDStatFi +SetBannerFormat__8CARDStatFi: +/* 8034E588 0034B4E8 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8034E58C 0034B4EC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8034E590 0034B4F0 7C 00 23 78 */ or r0, r0, r4 +/* 8034E594 0034B4F4 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8034E598 0034B4F8 4E 80 00 20 */ blr + +.global GetCommentAddr__8CARDStatFv +GetCommentAddr__8CARDStatFv: +/* 8034E59C 0034B4FC 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8034E5A0 0034B500 4E 80 00 20 */ blr + +.global GetIconFormat__8CARDStatFi +GetIconFormat__8CARDStatFi: +/* 8034E5A4 0034B504 A0 63 00 34 */ lhz r3, 0x34(r3) +/* 8034E5A8 0034B508 54 80 08 3C */ slwi r0, r4, 1 +/* 8034E5AC 0034B50C 7C 60 06 30 */ sraw r0, r3, r0 +/* 8034E5B0 0034B510 54 03 07 BE */ clrlwi r3, r0, 0x1e +/* 8034E5B4 0034B514 4E 80 00 20 */ blr + +.global GetBannerFormat__8CARDStatFv +GetBannerFormat__8CARDStatFv: +/* 8034E5B8 0034B518 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8034E5BC 0034B51C 54 03 07 BE */ clrlwi r3, r0, 0x1e +/* 8034E5C0 0034B520 4E 80 00 20 */ blr + +.global GetTime__8CARDStatFv +GetTime__8CARDStatFv: +/* 8034E5C4 0034B524 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8034E5C8 0034B528 4E 80 00 20 */ blr + +.global GetFileLength__8CARDStatFv +GetFileLength__8CARDStatFv: +/* 8034E5CC 0034B52C 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8034E5D0 0034B530 4E 80 00 20 */ blr + +.global CalculateBannerDataSize__13CCardFileInfoFv +CalculateBannerDataSize__13CCardFileInfoFv: +/* 8034E5D4 0034B534 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 8034E5D8 0034B538 38 A0 00 44 */ li r5, 0x44 +/* 8034E5DC 0034B53C 3C 04 00 01 */ addis r0, r4, 1 +/* 8034E5E0 0034B540 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034E5E4 0034B544 41 82 00 20 */ beq lbl_8034E604 +/* 8034E5E8 0034B548 80 83 00 48 */ lwz r4, 0x48(r3) +/* 8034E5EC 0034B54C 80 04 00 00 */ lwz r0, 0(r4) +/* 8034E5F0 0034B550 2C 00 00 08 */ cmpwi r0, 8 +/* 8034E5F4 0034B554 40 82 00 0C */ bne lbl_8034E600 +/* 8034E5F8 0034B558 38 A0 18 44 */ li r5, 0x1844 +/* 8034E5FC 0034B55C 48 00 00 08 */ b lbl_8034E604 +lbl_8034E600: +/* 8034E600 0034B560 38 A0 0E 44 */ li r5, 0xe44 +lbl_8034E604: +/* 8034E604 0034B564 80 03 00 50 */ lwz r0, 0x50(r3) +/* 8034E608 0034B568 38 83 00 54 */ addi r4, r3, 0x54 +/* 8034E60C 0034B56C 38 C0 00 00 */ li r6, 0 +/* 8034E610 0034B570 7C 09 03 A6 */ mtctr r0 +/* 8034E614 0034B574 2C 00 00 00 */ cmpwi r0, 0 +/* 8034E618 0034B578 40 81 00 2C */ ble lbl_8034E644 +lbl_8034E61C: +/* 8034E61C 0034B57C 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8034E620 0034B580 80 03 00 00 */ lwz r0, 0(r3) +/* 8034E624 0034B584 2C 00 00 08 */ cmpwi r0, 8 +/* 8034E628 0034B588 40 82 00 0C */ bne lbl_8034E634 +/* 8034E62C 0034B58C 38 A5 08 00 */ addi r5, r5, 0x800 +/* 8034E630 0034B590 48 00 00 0C */ b lbl_8034E63C +lbl_8034E634: +/* 8034E634 0034B594 38 C0 00 01 */ li r6, 1 +/* 8034E638 0034B598 38 A5 04 00 */ addi r5, r5, 0x400 +lbl_8034E63C: +/* 8034E63C 0034B59C 38 84 00 14 */ addi r4, r4, 0x14 +/* 8034E640 0034B5A0 42 00 FF DC */ bdnz lbl_8034E61C +lbl_8034E644: +/* 8034E644 0034B5A4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8034E648 0034B5A8 41 82 00 08 */ beq lbl_8034E650 +/* 8034E64C 0034B5AC 38 A5 02 00 */ addi r5, r5, 0x200 +lbl_8034E650: +/* 8034E650 0034B5B0 7C A3 2B 78 */ mr r3, r5 +/* 8034E654 0034B5B4 4E 80 00 20 */ blr + +.global CalculateTotalDataSize__13CCardFileInfoFv +CalculateTotalDataSize__13CCardFileInfoFv: +/* 8034E658 0034B5B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E65C 0034B5BC 7C 08 02 A6 */ mflr r0 +/* 8034E660 0034B5C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E664 0034B5C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E668 0034B5C8 83 E3 00 F8 */ lwz r31, 0xf8(r3) +/* 8034E66C 0034B5CC 4B FF FF 69 */ bl CalculateBannerDataSize__13CCardFileInfoFv +/* 8034E670 0034B5D0 7C 63 FA 14 */ add r3, r3, r31 +/* 8034E674 0034B5D4 38 03 1F FF */ addi r0, r3, 0x1fff +/* 8034E678 0034B5D8 54 03 00 24 */ rlwinm r3, r0, 0, 0, 0x12 +/* 8034E67C 0034B5DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E680 0034B5E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E684 0034B5E4 7C 08 03 A6 */ mtlr r0 +/* 8034E688 0034B5E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E68C 0034B5EC 4E 80 00 20 */ blr + +.global BuildCardBuffer__13CCardFileInfoFv +BuildCardBuffer__13CCardFileInfoFv: +/* 8034E690 0034B5F0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8034E694 0034B5F4 7C 08 02 A6 */ mflr r0 +/* 8034E698 0034B5F8 90 01 01 14 */ stw r0, 0x114(r1) +/* 8034E69C 0034B5FC 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8034E6A0 0034B600 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8034E6A4 0034B604 93 A1 01 04 */ stw r29, 0x104(r1) +/* 8034E6A8 0034B608 93 81 01 00 */ stw r28, 0x100(r1) +/* 8034E6AC 0034B60C 7C 7C 1B 78 */ mr r28, r3 +/* 8034E6B0 0034B610 4B FF FF 25 */ bl CalculateBannerDataSize__13CCardFileInfoFv +/* 8034E6B4 0034B614 80 9C 00 F8 */ lwz r4, 0xf8(r28) +/* 8034E6B8 0034B618 7C 7F 1B 78 */ mr r31, r3 +/* 8034E6BC 0034B61C 38 7C 01 04 */ addi r3, r28, 0x104 +/* 8034E6C0 0034B620 38 AD 9D E9 */ addi r5, r13, lbl_805A89A9@sda21 +/* 8034E6C4 0034B624 38 04 1F FF */ addi r0, r4, 0x1fff +/* 8034E6C8 0034B628 7C 1F 02 14 */ add r0, r31, r0 +/* 8034E6CC 0034B62C 54 1E 00 24 */ rlwinm r30, r0, 0, 0, 0x12 +/* 8034E6D0 0034B630 7F C4 F3 78 */ mr r4, r30 +/* 8034E6D4 0034B634 4B FF F3 15 */ bl sub_8034d9e8 +/* 8034E6D8 0034B638 83 BC 01 10 */ lwz r29, 0x110(r28) +/* 8034E6DC 0034B63C 7F C5 F3 78 */ mr r5, r30 +/* 8034E6E0 0034B640 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E6E4 0034B644 38 C0 00 01 */ li r6, 1 +/* 8034E6E8 0034B648 7F A4 EB 78 */ mr r4, r29 +/* 8034E6EC 0034B64C 38 E0 10 00 */ li r7, 0x1000 +/* 8034E6F0 0034B650 4B FF 0C 4D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8034E6F4 0034B654 38 00 00 00 */ li r0, 0 +/* 8034E6F8 0034B658 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E6FC 0034B65C 90 01 00 08 */ stw r0, 8(r1) +/* 8034E700 0034B660 4B FF 0D B9 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E704 0034B664 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E708 0034B668 38 81 00 08 */ addi r4, r1, 8 +/* 8034E70C 0034B66C 38 A0 00 04 */ li r5, 4 +/* 8034E710 0034B670 4B FF 0E 99 */ bl DoPut__13COutputStreamFPCvUl +/* 8034E714 0034B674 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8034E718 0034B678 38 61 00 2C */ addi r3, r1, 0x2c +/* 8034E71C 0034B67C 38 A0 00 40 */ li r5, 0x40 +/* 8034E720 0034B680 48 04 19 A5 */ bl strncpy +/* 8034E724 0034B684 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E728 0034B688 4B FF 0D 91 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E72C 0034B68C 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E730 0034B690 38 81 00 2C */ addi r4, r1, 0x2c +/* 8034E734 0034B694 38 A0 00 40 */ li r5, 0x40 +/* 8034E738 0034B698 4B FF 0E 71 */ bl DoPut__13COutputStreamFPCvUl +/* 8034E73C 0034B69C 7F 83 E3 78 */ mr r3, r28 +/* 8034E740 0034B6A0 38 81 00 6C */ addi r4, r1, 0x6c +/* 8034E744 0034B6A4 48 00 01 79 */ bl WriteBannerData__13CCardFileInfoFv +/* 8034E748 0034B6A8 7F 83 E3 78 */ mr r3, r28 +/* 8034E74C 0034B6AC 38 81 00 6C */ addi r4, r1, 0x6c +/* 8034E750 0034B6B0 48 00 00 AD */ bl WriteIconData__13CCardFileInfoFv +/* 8034E754 0034B6B4 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E758 0034B6B8 38 80 FF FF */ li r4, -1 +/* 8034E75C 0034B6BC 4B FF 0B 65 */ bl __dt__16CMemoryStreamOutFv +/* 8034E760 0034B6C0 80 1C 01 10 */ lwz r0, 0x110(r28) +/* 8034E764 0034B6C4 80 9C 01 00 */ lwz r4, 0x100(r28) +/* 8034E768 0034B6C8 80 BC 00 F8 */ lwz r5, 0xf8(r28) +/* 8034E76C 0034B6CC 7C 60 FA 14 */ add r3, r0, r31 +/* 8034E770 0034B6D0 4B CB 4D 21 */ bl memcpy +/* 8034E774 0034B6D4 38 7D 00 04 */ addi r3, r29, 4 +/* 8034E778 0034B6D8 38 9E FF FC */ addi r4, r30, -4 +/* 8034E77C 0034B6DC 4B FC 6E 15 */ bl Calculate__6CCRC32FPCvUi +/* 8034E780 0034B6E0 90 7D 00 00 */ stw r3, 0(r29) +/* 8034E784 0034B6E4 38 00 00 00 */ li r0, 0 +/* 8034E788 0034B6E8 38 7C 00 F4 */ addi r3, r28, 0xf4 +/* 8034E78C 0034B6EC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8034E790 0034B6F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034E794 0034B6F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E798 0034B6F8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8034E79C 0034B6FC 4B F5 9F 19 */ bl sub_802a86b4 +/* 8034E7A0 0034B700 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8034E7A4 0034B704 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8034E7A8 0034B708 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034E7AC 0034B70C 7C 83 02 14 */ add r4, r3, r0 +/* 8034E7B0 0034B710 7C 03 20 50 */ subf r0, r3, r4 +/* 8034E7B4 0034B714 90 81 00 18 */ stw r4, 0x18(r1) +/* 8034E7B8 0034B718 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034E7BC 0034B71C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034E7C0 0034B720 7C 09 03 A6 */ mtctr r0 +/* 8034E7C4 0034B724 7C 03 20 40 */ cmplw r3, r4 +/* 8034E7C8 0034B728 41 82 00 08 */ beq lbl_8034E7D0 +lbl_8034E7CC: +/* 8034E7CC 0034B72C 42 00 00 00 */ bdnz lbl_8034E7CC +lbl_8034E7D0: +/* 8034E7D0 0034B730 28 03 00 00 */ cmplwi r3, 0 +/* 8034E7D4 0034B734 41 82 00 08 */ beq lbl_8034E7DC +/* 8034E7D8 0034B738 4B FC 71 59 */ bl Free__7CMemoryFPCv +lbl_8034E7DC: +/* 8034E7DC 0034B73C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8034E7E0 0034B740 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8034E7E4 0034B744 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8034E7E8 0034B748 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 8034E7EC 0034B74C 83 81 01 00 */ lwz r28, 0x100(r1) +/* 8034E7F0 0034B750 7C 08 03 A6 */ mtlr r0 +/* 8034E7F4 0034B754 38 21 01 10 */ addi r1, r1, 0x110 +/* 8034E7F8 0034B758 4E 80 00 20 */ blr + +.global WriteIconData__13CCardFileInfoFv +WriteIconData__13CCardFileInfoFv: +/* 8034E7FC 0034B75C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034E800 0034B760 7C 08 02 A6 */ mflr r0 +/* 8034E804 0034B764 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034E808 0034B768 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 8034E80C 0034B76C 7C 77 1B 78 */ mr r23, r3 +/* 8034E810 0034B770 7C 98 23 78 */ mr r24, r4 +/* 8034E814 0034B774 3B 80 00 00 */ li r28, 0 +/* 8034E818 0034B778 3B B7 00 54 */ addi r29, r23, 0x54 +/* 8034E81C 0034B77C 3B 60 00 00 */ li r27, 0 +/* 8034E820 0034B780 48 00 00 5C */ b lbl_8034E87C +lbl_8034E824: +/* 8034E824 0034B784 83 DD 00 10 */ lwz r30, 0x10(r29) +/* 8034E828 0034B788 38 80 00 00 */ li r4, 0 +/* 8034E82C 0034B78C 83 5E 00 00 */ lwz r26, 0(r30) +/* 8034E830 0034B790 7F C3 F3 78 */ mr r3, r30 +/* 8034E834 0034B794 4B FB FD C1 */ bl GetConstBitMapData__8CTextureCFi +/* 8034E838 0034B798 2C 1A 00 08 */ cmpwi r26, 8 +/* 8034E83C 0034B79C 7C 79 1B 78 */ mr r25, r3 +/* 8034E840 0034B7A0 3B E0 04 00 */ li r31, 0x400 +/* 8034E844 0034B7A4 40 82 00 08 */ bne lbl_8034E84C +/* 8034E848 0034B7A8 3B E0 08 00 */ li r31, 0x800 +lbl_8034E84C: +/* 8034E84C 0034B7AC 7F 03 C3 78 */ mr r3, r24 +/* 8034E850 0034B7B0 4B FF 0C 69 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E854 0034B7B4 7F 03 C3 78 */ mr r3, r24 +/* 8034E858 0034B7B8 7F 24 CB 78 */ mr r4, r25 +/* 8034E85C 0034B7BC 7F E5 FB 78 */ mr r5, r31 +/* 8034E860 0034B7C0 4B FF 0D 49 */ bl DoPut__13COutputStreamFPCvUl +/* 8034E864 0034B7C4 2C 1A 00 05 */ cmpwi r26, 5 +/* 8034E868 0034B7C8 40 82 00 0C */ bne lbl_8034E874 +/* 8034E86C 0034B7CC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8034E870 0034B7D0 83 83 00 0C */ lwz r28, 0xc(r3) +lbl_8034E874: +/* 8034E874 0034B7D4 3B BD 00 14 */ addi r29, r29, 0x14 +/* 8034E878 0034B7D8 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8034E87C: +/* 8034E87C 0034B7DC 80 17 00 50 */ lwz r0, 0x50(r23) +/* 8034E880 0034B7E0 7C 1B 00 00 */ cmpw r27, r0 +/* 8034E884 0034B7E4 41 80 FF A0 */ blt lbl_8034E824 +/* 8034E888 0034B7E8 28 1C 00 00 */ cmplwi r28, 0 +/* 8034E88C 0034B7EC 41 82 00 1C */ beq lbl_8034E8A8 +/* 8034E890 0034B7F0 7F 03 C3 78 */ mr r3, r24 +/* 8034E894 0034B7F4 4B FF 0C 25 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E898 0034B7F8 7F 03 C3 78 */ mr r3, r24 +/* 8034E89C 0034B7FC 7F 84 E3 78 */ mr r4, r28 +/* 8034E8A0 0034B800 38 A0 02 00 */ li r5, 0x200 +/* 8034E8A4 0034B804 4B FF 0D 05 */ bl DoPut__13COutputStreamFPCvUl +lbl_8034E8A8: +/* 8034E8A8 0034B808 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 8034E8AC 0034B80C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034E8B0 0034B810 7C 08 03 A6 */ mtlr r0 +/* 8034E8B4 0034B814 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034E8B8 0034B818 4E 80 00 20 */ blr + +.global WriteBannerData__13CCardFileInfoFv +WriteBannerData__13CCardFileInfoFv: +/* 8034E8BC 0034B81C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034E8C0 0034B820 7C 08 02 A6 */ mflr r0 +/* 8034E8C4 0034B824 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E8C8 0034B828 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034E8CC 0034B82C 7C 9B 23 78 */ mr r27, r4 +/* 8034E8D0 0034B830 80 A3 00 3C */ lwz r5, 0x3c(r3) +/* 8034E8D4 0034B834 3C 05 00 01 */ addis r0, r5, 1 +/* 8034E8D8 0034B838 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034E8DC 0034B83C 41 82 00 6C */ beq lbl_8034E948 +/* 8034E8E0 0034B840 83 C3 00 48 */ lwz r30, 0x48(r3) +/* 8034E8E4 0034B844 38 80 00 00 */ li r4, 0 +/* 8034E8E8 0034B848 83 BE 00 00 */ lwz r29, 0(r30) +/* 8034E8EC 0034B84C 7F C3 F3 78 */ mr r3, r30 +/* 8034E8F0 0034B850 4B FB FD 05 */ bl GetConstBitMapData__8CTextureCFi +/* 8034E8F4 0034B854 2C 1D 00 08 */ cmpwi r29, 8 +/* 8034E8F8 0034B858 7C 7C 1B 78 */ mr r28, r3 +/* 8034E8FC 0034B85C 3B E0 0C 00 */ li r31, 0xc00 +/* 8034E900 0034B860 40 82 00 08 */ bne lbl_8034E908 +/* 8034E904 0034B864 3B E0 18 00 */ li r31, 0x1800 +lbl_8034E908: +/* 8034E908 0034B868 7F 63 DB 78 */ mr r3, r27 +/* 8034E90C 0034B86C 4B FF 0B AD */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E910 0034B870 7F 63 DB 78 */ mr r3, r27 +/* 8034E914 0034B874 7F 84 E3 78 */ mr r4, r28 +/* 8034E918 0034B878 7F E5 FB 78 */ mr r5, r31 +/* 8034E91C 0034B87C 4B FF 0C 8D */ bl DoPut__13COutputStreamFPCvUl +/* 8034E920 0034B880 2C 1D 00 05 */ cmpwi r29, 5 +/* 8034E924 0034B884 40 82 00 24 */ bne lbl_8034E948 +/* 8034E928 0034B888 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 8034E92C 0034B88C 7F 63 DB 78 */ mr r3, r27 +/* 8034E930 0034B890 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 8034E934 0034B894 4B FF 0B 85 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E938 0034B898 7F 63 DB 78 */ mr r3, r27 +/* 8034E93C 0034B89C 7F C4 F3 78 */ mr r4, r30 +/* 8034E940 0034B8A0 38 A0 02 00 */ li r5, 0x200 +/* 8034E944 0034B8A4 4B FF 0C 65 */ bl DoPut__13COutputStreamFPCvUl +lbl_8034E948: +/* 8034E948 0034B8A8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034E94C 0034B8AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034E950 0034B8B0 7C 08 03 A6 */ mtlr r0 +/* 8034E954 0034B8B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034E958 0034B8B8 4E 80 00 20 */ blr + +.global GetSaveDataOffset__19SMemoryCardFileInfoFRPv +GetSaveDataOffset__19SMemoryCardFileInfoFRPv: +/* 8034E95C 0034B8BC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8034E960 0034B8C0 7C 08 02 A6 */ mflr r0 +/* 8034E964 0034B8C4 38 A0 00 6C */ li r5, 0x6c +/* 8034E968 0034B8C8 90 01 00 94 */ stw r0, 0x94(r1) +/* 8034E96C 0034B8CC 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8034E970 0034B8D0 7C 9F 23 78 */ mr r31, r4 +/* 8034E974 0034B8D4 38 80 00 00 */ li r4, 0 +/* 8034E978 0034B8D8 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8034E97C 0034B8DC 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8034E980 0034B8E0 7C 7D 1B 78 */ mr r29, r3 +/* 8034E984 0034B8E4 38 61 00 08 */ addi r3, r1, 8 +/* 8034E988 0034B8E8 4B CB 4A 21 */ bl memset +/* 8034E98C 0034B8EC 7F A3 EB 78 */ mr r3, r29 +/* 8034E990 0034B8F0 48 00 01 15 */ bl GetFileNo__19SMemoryCardFileInfoFv +/* 8034E994 0034B8F4 7C 7E 1B 78 */ mr r30, r3 +/* 8034E998 0034B8F8 7F A3 EB 78 */ mr r3, r29 +/* 8034E99C 0034B8FC 48 00 01 11 */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034E9A0 0034B900 7F C4 F3 78 */ mr r4, r30 +/* 8034E9A4 0034B904 38 A1 00 08 */ addi r5, r1, 8 +/* 8034E9A8 0034B908 4B FF EE 89 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat +/* 8034E9AC 0034B90C 2C 03 00 00 */ cmpwi r3, 0 +/* 8034E9B0 0034B910 41 82 00 10 */ beq lbl_8034E9C0 +/* 8034E9B4 0034B914 38 00 FF FF */ li r0, -1 +/* 8034E9B8 0034B918 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9BC 0034B91C 48 00 00 BC */ b lbl_8034EA78 +lbl_8034E9C0: +/* 8034E9C0 0034B920 38 00 00 04 */ li r0, 4 +/* 8034E9C4 0034B924 38 61 00 08 */ addi r3, r1, 8 +/* 8034E9C8 0034B928 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9CC 0034B92C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034E9D0 0034B930 38 04 00 40 */ addi r0, r4, 0x40 +/* 8034E9D4 0034B934 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9D8 0034B938 4B FF FB E1 */ bl GetBannerFormat__8CARDStatFv +/* 8034E9DC 0034B93C 2C 03 00 01 */ cmpwi r3, 1 +/* 8034E9E0 0034B940 40 82 00 14 */ bne lbl_8034E9F4 +/* 8034E9E4 0034B944 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034E9E8 0034B948 38 03 0E 00 */ addi r0, r3, 0xe00 +/* 8034E9EC 0034B94C 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9F0 0034B950 48 00 00 18 */ b lbl_8034EA08 +lbl_8034E9F4: +/* 8034E9F4 0034B954 2C 03 00 02 */ cmpwi r3, 2 +/* 8034E9F8 0034B958 40 82 00 10 */ bne lbl_8034EA08 +/* 8034E9FC 0034B95C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA00 0034B960 38 03 18 00 */ addi r0, r3, 0x1800 +/* 8034EA04 0034B964 90 1F 00 00 */ stw r0, 0(r31) +lbl_8034EA08: +/* 8034EA08 0034B968 38 61 00 08 */ addi r3, r1, 8 +/* 8034EA0C 0034B96C 3B C0 00 00 */ li r30, 0 +/* 8034EA10 0034B970 3B A0 00 00 */ li r29, 0 +/* 8034EA14 0034B974 38 80 00 00 */ li r4, 0 +/* 8034EA18 0034B978 4B FF FB 8D */ bl GetIconFormat__8CARDStatFi +/* 8034EA1C 0034B97C 48 00 00 3C */ b lbl_8034EA58 +lbl_8034EA20: +/* 8034EA20 0034B980 2C 03 00 01 */ cmpwi r3, 1 +/* 8034EA24 0034B984 40 82 00 18 */ bne lbl_8034EA3C +/* 8034EA28 0034B988 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA2C 0034B98C 3B C0 00 01 */ li r30, 1 +/* 8034EA30 0034B990 38 03 04 00 */ addi r0, r3, 0x400 +/* 8034EA34 0034B994 90 1F 00 00 */ stw r0, 0(r31) +/* 8034EA38 0034B998 48 00 00 10 */ b lbl_8034EA48 +lbl_8034EA3C: +/* 8034EA3C 0034B99C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA40 0034B9A0 38 03 08 00 */ addi r0, r3, 0x800 +/* 8034EA44 0034B9A4 90 1F 00 00 */ stw r0, 0(r31) +lbl_8034EA48: +/* 8034EA48 0034B9A8 3B BD 00 01 */ addi r29, r29, 1 +/* 8034EA4C 0034B9AC 38 61 00 08 */ addi r3, r1, 8 +/* 8034EA50 0034B9B0 7F A4 EB 78 */ mr r4, r29 +/* 8034EA54 0034B9B4 4B FF FB 51 */ bl GetIconFormat__8CARDStatFi +lbl_8034EA58: +/* 8034EA58 0034B9B8 2C 03 00 00 */ cmpwi r3, 0 +/* 8034EA5C 0034B9BC 40 82 FF C4 */ bne lbl_8034EA20 +/* 8034EA60 0034B9C0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8034EA64 0034B9C4 41 82 00 10 */ beq lbl_8034EA74 +/* 8034EA68 0034B9C8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA6C 0034B9CC 38 03 02 00 */ addi r0, r3, 0x200 +/* 8034EA70 0034B9D0 90 1F 00 00 */ stw r0, 0(r31) +lbl_8034EA74: +/* 8034EA74 0034B9D4 38 60 00 00 */ li r3, 0 +lbl_8034EA78: +/* 8034EA78 0034B9D8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8034EA7C 0034B9DC 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8034EA80 0034B9E0 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8034EA84 0034B9E4 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8034EA88 0034B9E8 7C 08 03 A6 */ mtlr r0 +/* 8034EA8C 0034B9EC 38 21 00 90 */ addi r1, r1, 0x90 +/* 8034EA90 0034B9F0 4E 80 00 20 */ blr + +.global GetFileNo__13CCardFileInfoFv +GetFileNo__13CCardFileInfoFv: +/* 8034EA94 0034B9F4 80 63 00 08 */ lwz r3, 8(r3) +/* 8034EA98 0034B9F8 4E 80 00 20 */ blr + +.global GetCardPort__13CCardFileInfoFv +GetCardPort__13CCardFileInfoFv: +/* 8034EA9C 0034B9FC 80 63 00 04 */ lwz r3, 4(r3) +/* 8034EAA0 0034BA00 4E 80 00 20 */ blr + +.global GetFileNo__19SMemoryCardFileInfoFv +GetFileNo__19SMemoryCardFileInfoFv: +/* 8034EAA4 0034BA04 80 63 00 04 */ lwz r3, 4(r3) +/* 8034EAA8 0034BA08 4E 80 00 20 */ blr + +.global GetFileCardPort__19SMemoryCardFileInfoFv +GetFileCardPort__19SMemoryCardFileInfoFv: +/* 8034EAAC 0034BA0C 80 63 00 00 */ lwz r3, 0(r3) +/* 8034EAB0 0034BA10 4E 80 00 20 */ blr + +.global sub_8034eab4 +sub_8034eab4: +/* 8034EAB4 0034BA14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034EAB8 0034BA18 7C 08 02 A6 */ mflr r0 +/* 8034EABC 0034BA1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034EAC0 0034BA20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034EAC4 0034BA24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034EAC8 0034BA28 7C 7E 1B 78 */ mr r30, r3 +/* 8034EACC 0034BA2C 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8034EAD0 0034BA30 90 9E 00 00 */ stw r4, 0(r30) +/* 8034EAD4 0034BA34 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8034EAD8 0034BA38 38 61 00 08 */ addi r3, r1, 8 +/* 8034EADC 0034BA3C 90 BE 00 04 */ stw r5, 4(r30) +/* 8034EAE0 0034BA40 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034EAE4 0034BA44 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034EAE8 0034BA48 7C C4 33 78 */ mr r4, r6 +/* 8034EAEC 0034BA4C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034EAF0 0034BA50 81 86 00 00 */ lwz r12, 0(r6) +/* 8034EAF4 0034BA54 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034EAF8 0034BA58 7D 89 03 A6 */ mtctr r12 +/* 8034EAFC 0034BA5C 4E 80 04 21 */ bctrl +/* 8034EB00 0034BA60 3B FE 00 08 */ addi r31, r30, 8 +/* 8034EB04 0034BA64 38 81 00 08 */ addi r4, r1, 8 +/* 8034EB08 0034BA68 7F E3 FB 78 */ mr r3, r31 +/* 8034EB0C 0034BA6C 4B FF 23 9D */ bl __ct__6CTokenFRC6CToken +/* 8034EB10 0034BA70 7F E3 FB 78 */ mr r3, r31 +/* 8034EB14 0034BA74 4B FF 22 F9 */ bl GetObj__6CTokenFv +/* 8034EB18 0034BA78 80 03 00 04 */ lwz r0, 4(r3) +/* 8034EB1C 0034BA7C 38 61 00 08 */ addi r3, r1, 8 +/* 8034EB20 0034BA80 38 80 FF FF */ li r4, -1 +/* 8034EB24 0034BA84 90 1F 00 08 */ stw r0, 8(r31) +/* 8034EB28 0034BA88 4B FF 23 19 */ bl __dt__6CTokenFv +/* 8034EB2C 0034BA8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034EB30 0034BA90 7F C3 F3 78 */ mr r3, r30 +/* 8034EB34 0034BA94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034EB38 0034BA98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034EB3C 0034BA9C 7C 08 03 A6 */ mtlr r0 +/* 8034EB40 0034BAA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034EB44 0034BAA4 4E 80 00 20 */ blr + +.global FileRead__19SMemoryCardFileInfoFv +FileRead__19SMemoryCardFileInfoFv: +/* 8034EB48 0034BAA8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8034EB4C 0034BAAC 7C 08 02 A6 */ mflr r0 +/* 8034EB50 0034BAB0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8034EB54 0034BAB4 38 00 00 00 */ li r0, 0 +/* 8034EB58 0034BAB8 38 81 00 7C */ addi r4, r1, 0x7c +/* 8034EB5C 0034BABC BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 8034EB60 0034BAC0 7C 7F 1B 78 */ mr r31, r3 +/* 8034EB64 0034BAC4 3B DF 00 34 */ addi r30, r31, 0x34 +/* 8034EB68 0034BAC8 7F C3 F3 78 */ mr r3, r30 +/* 8034EB6C 0034BACC 90 01 00 80 */ stw r0, 0x80(r1) +/* 8034EB70 0034BAD0 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034EB74 0034BAD4 90 01 00 88 */ stw r0, 0x88(r1) +/* 8034EB78 0034BAD8 4B F5 9B 3D */ bl sub_802a86b4 +/* 8034EB7C 0034BADC 80 61 00 88 */ lwz r3, 0x88(r1) +/* 8034EB80 0034BAE0 80 01 00 80 */ lwz r0, 0x80(r1) +/* 8034EB84 0034BAE4 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8034EB88 0034BAE8 7C 83 02 14 */ add r4, r3, r0 +/* 8034EB8C 0034BAEC 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EB90 0034BAF0 90 81 00 44 */ stw r4, 0x44(r1) +/* 8034EB94 0034BAF4 90 81 00 40 */ stw r4, 0x40(r1) +/* 8034EB98 0034BAF8 90 61 00 38 */ stw r3, 0x38(r1) +/* 8034EB9C 0034BAFC 7C 09 03 A6 */ mtctr r0 +/* 8034EBA0 0034BB00 7C 03 20 40 */ cmplw r3, r4 +/* 8034EBA4 0034BB04 41 82 00 08 */ beq lbl_8034EBAC +lbl_8034EBA8: +/* 8034EBA8 0034BB08 42 00 00 00 */ bdnz lbl_8034EBA8 +lbl_8034EBAC: +/* 8034EBAC 0034BB0C 28 03 00 00 */ cmplwi r3, 0 +/* 8034EBB0 0034BB10 41 82 00 08 */ beq lbl_8034EBB8 +/* 8034EBB4 0034BB14 4B FC 6D 7D */ bl Free__7CMemoryFPCv +lbl_8034EBB8: +/* 8034EBB8 0034BB18 83 9F 00 30 */ lwz r28, 0x30(r31) +/* 8034EBBC 0034BB1C 83 BF 00 28 */ lwz r29, 0x28(r31) +/* 8034EBC0 0034BB20 83 7C 00 00 */ lwz r27, 0(r28) +/* 8034EBC4 0034BB24 38 7C 00 04 */ addi r3, r28, 4 +/* 8034EBC8 0034BB28 38 9D FF FC */ addi r4, r29, -4 +/* 8034EBCC 0034BB2C 4B FC 69 C5 */ bl Calculate__6CCRC32FPCvUi +/* 8034EBD0 0034BB30 7C 1B 18 40 */ cmplw r27, r3 +/* 8034EBD4 0034BB34 40 82 00 F4 */ bne lbl_8034ECC8 +/* 8034EBD8 0034BB38 7F E3 FB 78 */ mr r3, r31 +/* 8034EBDC 0034BB3C 38 81 00 48 */ addi r4, r1, 0x48 +/* 8034EBE0 0034BB40 4B FF FD 7D */ bl GetSaveDataOffset__19SMemoryCardFileInfoFRPv +/* 8034EBE4 0034BB44 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034EBE8 0034BB48 41 82 00 5C */ beq lbl_8034EC44 +/* 8034EBEC 0034BB4C 38 00 00 00 */ li r0, 0 +/* 8034EBF0 0034BB50 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034EBF4 0034BB54 90 01 00 70 */ stw r0, 0x70(r1) +/* 8034EBF8 0034BB58 38 81 00 6C */ addi r4, r1, 0x6c +/* 8034EBFC 0034BB5C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8034EC00 0034BB60 90 01 00 78 */ stw r0, 0x78(r1) +/* 8034EC04 0034BB64 4B FF F1 51 */ bl sub_8034dd54 +/* 8034EC08 0034BB68 80 61 00 78 */ lwz r3, 0x78(r1) +/* 8034EC0C 0034BB6C 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8034EC10 0034BB70 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8034EC14 0034BB74 7C 83 02 14 */ add r4, r3, r0 +/* 8034EC18 0034BB78 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EC1C 0034BB7C 90 81 00 34 */ stw r4, 0x34(r1) +/* 8034EC20 0034BB80 90 81 00 30 */ stw r4, 0x30(r1) +/* 8034EC24 0034BB84 90 61 00 28 */ stw r3, 0x28(r1) +/* 8034EC28 0034BB88 7C 09 03 A6 */ mtctr r0 +/* 8034EC2C 0034BB8C 7C 03 20 40 */ cmplw r3, r4 +/* 8034EC30 0034BB90 41 82 00 08 */ beq lbl_8034EC38 +lbl_8034EC34: +/* 8034EC34 0034BB94 42 00 00 00 */ bdnz lbl_8034EC34 +lbl_8034EC38: +/* 8034EC38 0034BB98 4B FC 6C F9 */ bl Free__7CMemoryFPCv +/* 8034EC3C 0034BB9C 7F 63 DB 78 */ mr r3, r27 +/* 8034EC40 0034BBA0 48 00 00 DC */ b lbl_8034ED1C +lbl_8034EC44: +/* 8034EC44 0034BBA4 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8034EC48 0034BBA8 7F C3 F3 78 */ mr r3, r30 +/* 8034EC4C 0034BBAC 38 AD 9D E8 */ addi r5, r13, lbl_805A89A8@sda21 +/* 8034EC50 0034BBB0 7F 60 E8 50 */ subf r27, r0, r29 +/* 8034EC54 0034BBB4 7F 64 DB 78 */ mr r4, r27 +/* 8034EC58 0034BBB8 4B E8 4F C5 */ bl "resize__Q24rstl37vectorFiRCUc" +/* 8034EC5C 0034BBBC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8034EC60 0034BBC0 7F 65 DB 78 */ mr r5, r27 +/* 8034EC64 0034BBC4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034EC68 0034BBC8 7C 9C 02 14 */ add r4, r28, r0 +/* 8034EC6C 0034BBCC 4B CB 48 25 */ bl memcpy +/* 8034EC70 0034BBD0 38 00 00 00 */ li r0, 0 +/* 8034EC74 0034BBD4 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034EC78 0034BBD8 90 01 00 60 */ stw r0, 0x60(r1) +/* 8034EC7C 0034BBDC 38 81 00 5C */ addi r4, r1, 0x5c +/* 8034EC80 0034BBE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8034EC84 0034BBE4 90 01 00 68 */ stw r0, 0x68(r1) +/* 8034EC88 0034BBE8 4B FF F0 CD */ bl sub_8034dd54 +/* 8034EC8C 0034BBEC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 8034EC90 0034BBF0 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8034EC94 0034BBF4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8034EC98 0034BBF8 7C 83 02 14 */ add r4, r3, r0 +/* 8034EC9C 0034BBFC 7C 03 20 50 */ subf r0, r3, r4 +/* 8034ECA0 0034BC00 90 81 00 24 */ stw r4, 0x24(r1) +/* 8034ECA4 0034BC04 90 81 00 20 */ stw r4, 0x20(r1) +/* 8034ECA8 0034BC08 90 61 00 18 */ stw r3, 0x18(r1) +/* 8034ECAC 0034BC0C 7C 09 03 A6 */ mtctr r0 +/* 8034ECB0 0034BC10 7C 03 20 40 */ cmplw r3, r4 +/* 8034ECB4 0034BC14 41 82 00 08 */ beq lbl_8034ECBC +lbl_8034ECB8: +/* 8034ECB8 0034BC18 42 00 00 00 */ bdnz lbl_8034ECB8 +lbl_8034ECBC: +/* 8034ECBC 0034BC1C 4B FC 6C 75 */ bl Free__7CMemoryFPCv +/* 8034ECC0 0034BC20 38 60 00 00 */ li r3, 0 +/* 8034ECC4 0034BC24 48 00 00 58 */ b lbl_8034ED1C +lbl_8034ECC8: +/* 8034ECC8 0034BC28 38 00 00 00 */ li r0, 0 +/* 8034ECCC 0034BC2C 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034ECD0 0034BC30 90 01 00 50 */ stw r0, 0x50(r1) +/* 8034ECD4 0034BC34 38 81 00 4C */ addi r4, r1, 0x4c +/* 8034ECD8 0034BC38 90 01 00 54 */ stw r0, 0x54(r1) +/* 8034ECDC 0034BC3C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8034ECE0 0034BC40 4B FF F0 75 */ bl sub_8034dd54 +/* 8034ECE4 0034BC44 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8034ECE8 0034BC48 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8034ECEC 0034BC4C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034ECF0 0034BC50 7C 83 02 14 */ add r4, r3, r0 +/* 8034ECF4 0034BC54 7C 03 20 50 */ subf r0, r3, r4 +/* 8034ECF8 0034BC58 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034ECFC 0034BC5C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034ED00 0034BC60 90 61 00 08 */ stw r3, 8(r1) +/* 8034ED04 0034BC64 7C 09 03 A6 */ mtctr r0 +/* 8034ED08 0034BC68 7C 03 20 40 */ cmplw r3, r4 +/* 8034ED0C 0034BC6C 41 82 00 08 */ beq lbl_8034ED14 +lbl_8034ED10: +/* 8034ED10 0034BC70 42 00 00 00 */ bdnz lbl_8034ED10 +lbl_8034ED14: +/* 8034ED14 0034BC74 4B FC 6C 1D */ bl Free__7CMemoryFPCv +/* 8034ED18 0034BC78 38 60 FC 15 */ li r3, -1003 +lbl_8034ED1C: +/* 8034ED1C 0034BC7C BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 8034ED20 0034BC80 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8034ED24 0034BC84 7C 08 03 A6 */ mtlr r0 +/* 8034ED28 0034BC88 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8034ED2C 0034BC8C 4E 80 00 20 */ blr + +.global sub_8034ed30 +sub_8034ed30: +/* 8034ED30 0034BC90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034ED34 0034BC94 7C 08 02 A6 */ mflr r0 +/* 8034ED38 0034BC98 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034ED3C 0034BC9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034ED40 0034BCA0 7C 9F 23 78 */ mr r31, r4 +/* 8034ED44 0034BCA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034ED48 0034BCA8 7C 7E 1B 78 */ mr r30, r3 +/* 8034ED4C 0034BCAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034ED50 0034BCB0 80 03 00 08 */ lwz r0, 8(r3) +/* 8034ED54 0034BCB4 7C 1F 00 00 */ cmpw r31, r0 +/* 8034ED58 0034BCB8 40 81 00 C4 */ ble lbl_8034EE1C +/* 8034ED5C 0034BCBC 7F FD FB 79 */ or. r29, r31, r31 +/* 8034ED60 0034BCC0 40 82 00 0C */ bne lbl_8034ED6C +/* 8034ED64 0034BCC4 3B A0 00 00 */ li r29, 0 +/* 8034ED68 0034BCC8 48 00 00 3C */ b lbl_8034EDA4 +lbl_8034ED6C: +/* 8034ED6C 0034BCCC 3C 60 80 3E */ lis r3, lbl_803D8220@ha +/* 8034ED70 0034BCD0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034ED74 0034BCD4 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l +/* 8034ED78 0034BCD8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034ED7C 0034BCDC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034ED80 0034BCE0 38 80 FF FF */ li r4, -1 +/* 8034ED84 0034BCE4 4B F8 76 51 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034ED88 0034BCE8 7C 67 1B 78 */ mr r7, r3 +/* 8034ED8C 0034BCEC 7F A3 EB 78 */ mr r3, r29 +/* 8034ED90 0034BCF0 38 80 00 02 */ li r4, 2 +/* 8034ED94 0034BCF4 38 A0 00 01 */ li r5, 1 +/* 8034ED98 0034BCF8 38 C0 00 00 */ li r6, 0 +/* 8034ED9C 0034BCFC 4B FC 6B F9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034EDA0 0034BD00 7C 7D 1B 78 */ mr r29, r3 +lbl_8034EDA4: +/* 8034EDA4 0034BD04 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8034EDA8 0034BD08 7F A4 EB 78 */ mr r4, r29 +/* 8034EDAC 0034BD0C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EDB0 0034BD10 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034EDB4 0034BD14 7C 65 02 14 */ add r3, r5, r0 +/* 8034EDB8 0034BD18 7C 05 18 50 */ subf r0, r5, r3 +/* 8034EDBC 0034BD1C 90 61 00 08 */ stw r3, 8(r1) +/* 8034EDC0 0034BD20 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034EDC4 0034BD24 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8034EDC8 0034BD28 7C 09 03 A6 */ mtctr r0 +/* 8034EDCC 0034BD2C 7C 05 18 40 */ cmplw r5, r3 +/* 8034EDD0 0034BD30 41 82 00 20 */ beq lbl_8034EDF0 +lbl_8034EDD4: +/* 8034EDD4 0034BD34 28 04 00 00 */ cmplwi r4, 0 +/* 8034EDD8 0034BD38 41 82 00 0C */ beq lbl_8034EDE4 +/* 8034EDDC 0034BD3C 88 05 00 00 */ lbz r0, 0(r5) +/* 8034EDE0 0034BD40 98 04 00 00 */ stb r0, 0(r4) +lbl_8034EDE4: +/* 8034EDE4 0034BD44 38 84 00 01 */ addi r4, r4, 1 +/* 8034EDE8 0034BD48 38 A5 00 01 */ addi r5, r5, 1 +/* 8034EDEC 0034BD4C 42 00 FF E8 */ bdnz lbl_8034EDD4 +lbl_8034EDF0: +/* 8034EDF0 0034BD50 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034EDF4 0034BD54 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EDF8 0034BD58 7C 83 02 14 */ add r4, r3, r0 +/* 8034EDFC 0034BD5C 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EE00 0034BD60 7C 09 03 A6 */ mtctr r0 +/* 8034EE04 0034BD64 7C 03 20 40 */ cmplw r3, r4 +/* 8034EE08 0034BD68 41 82 00 08 */ beq lbl_8034EE10 +lbl_8034EE0C: +/* 8034EE0C 0034BD6C 42 00 00 00 */ bdnz lbl_8034EE0C +lbl_8034EE10: +/* 8034EE10 0034BD70 4B FC 6B 21 */ bl Free__7CMemoryFPCv +/* 8034EE14 0034BD74 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8034EE18 0034BD78 93 FE 00 08 */ stw r31, 8(r30) +lbl_8034EE1C: +/* 8034EE1C 0034BD7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034EE20 0034BD80 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034EE24 0034BD84 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034EE28 0034BD88 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034EE2C 0034BD8C 7C 08 03 A6 */ mtlr r0 +/* 8034EE30 0034BD90 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034EE34 0034BD94 4E 80 00 20 */ blr + +.global "reserve__Q24rstl36vectorFi" +"reserve__Q24rstl36vectorFi": +/* 8034EE38 0034BD98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034EE3C 0034BD9C 7C 08 02 A6 */ mflr r0 +/* 8034EE40 0034BDA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034EE44 0034BDA4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034EE48 0034BDA8 7C 9F 23 78 */ mr r31, r4 +/* 8034EE4C 0034BDAC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034EE50 0034BDB0 7C 7E 1B 78 */ mr r30, r3 +/* 8034EE54 0034BDB4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034EE58 0034BDB8 80 03 00 08 */ lwz r0, 8(r3) +/* 8034EE5C 0034BDBC 7C 1F 00 00 */ cmpw r31, r0 +/* 8034EE60 0034BDC0 40 81 00 C4 */ ble lbl_8034EF24 +/* 8034EE64 0034BDC4 7F FD FB 79 */ or. r29, r31, r31 +/* 8034EE68 0034BDC8 40 82 00 0C */ bne lbl_8034EE74 +/* 8034EE6C 0034BDCC 3B A0 00 00 */ li r29, 0 +/* 8034EE70 0034BDD0 48 00 00 3C */ b lbl_8034EEAC +lbl_8034EE74: +/* 8034EE74 0034BDD4 3C 60 80 3E */ lis r3, lbl_803D8220@ha +/* 8034EE78 0034BDD8 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034EE7C 0034BDDC 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l +/* 8034EE80 0034BDE0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034EE84 0034BDE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034EE88 0034BDE8 38 80 FF FF */ li r4, -1 +/* 8034EE8C 0034BDEC 4B F8 75 49 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034EE90 0034BDF0 7C 67 1B 78 */ mr r7, r3 +/* 8034EE94 0034BDF4 7F A3 EB 78 */ mr r3, r29 +/* 8034EE98 0034BDF8 38 80 00 02 */ li r4, 2 +/* 8034EE9C 0034BDFC 38 A0 00 01 */ li r5, 1 +/* 8034EEA0 0034BE00 38 C0 00 00 */ li r6, 0 +/* 8034EEA4 0034BE04 4B FC 6A F1 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034EEA8 0034BE08 7C 7D 1B 78 */ mr r29, r3 +lbl_8034EEAC: +/* 8034EEAC 0034BE0C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8034EEB0 0034BE10 7F A4 EB 78 */ mr r4, r29 +/* 8034EEB4 0034BE14 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EEB8 0034BE18 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034EEBC 0034BE1C 7C 65 02 14 */ add r3, r5, r0 +/* 8034EEC0 0034BE20 7C 05 18 50 */ subf r0, r5, r3 +/* 8034EEC4 0034BE24 90 61 00 08 */ stw r3, 8(r1) +/* 8034EEC8 0034BE28 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034EECC 0034BE2C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8034EED0 0034BE30 7C 09 03 A6 */ mtctr r0 +/* 8034EED4 0034BE34 7C 05 18 40 */ cmplw r5, r3 +/* 8034EED8 0034BE38 41 82 00 20 */ beq lbl_8034EEF8 +lbl_8034EEDC: +/* 8034EEDC 0034BE3C 28 04 00 00 */ cmplwi r4, 0 +/* 8034EEE0 0034BE40 41 82 00 0C */ beq lbl_8034EEEC +/* 8034EEE4 0034BE44 88 05 00 00 */ lbz r0, 0(r5) +/* 8034EEE8 0034BE48 98 04 00 00 */ stb r0, 0(r4) +lbl_8034EEEC: +/* 8034EEEC 0034BE4C 38 84 00 01 */ addi r4, r4, 1 +/* 8034EEF0 0034BE50 38 A5 00 01 */ addi r5, r5, 1 +/* 8034EEF4 0034BE54 42 00 FF E8 */ bdnz lbl_8034EEDC +lbl_8034EEF8: +/* 8034EEF8 0034BE58 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034EEFC 0034BE5C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EF00 0034BE60 7C 83 02 14 */ add r4, r3, r0 +/* 8034EF04 0034BE64 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EF08 0034BE68 7C 09 03 A6 */ mtctr r0 +/* 8034EF0C 0034BE6C 7C 03 20 40 */ cmplw r3, r4 +/* 8034EF10 0034BE70 41 82 00 08 */ beq lbl_8034EF18 +lbl_8034EF14: +/* 8034EF14 0034BE74 42 00 00 00 */ bdnz lbl_8034EF14 +lbl_8034EF18: +/* 8034EF18 0034BE78 4B FC 6A 19 */ bl Free__7CMemoryFPCv +/* 8034EF1C 0034BE7C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8034EF20 0034BE80 93 FE 00 08 */ stw r31, 8(r30) +lbl_8034EF24: +/* 8034EF24 0034BE84 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034EF28 0034BE88 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034EF2C 0034BE8C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034EF30 0034BE90 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034EF34 0034BE94 7C 08 03 A6 */ mtlr r0 +/* 8034EF38 0034BE98 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034EF3C 0034BE9C 4E 80 00 20 */ blr + +.global __sinit_DolphinCMemoryCardSys_cpp +__sinit_DolphinCMemoryCardSys_cpp: +/* 8034EF40 0034BEA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034EF44 0034BEA4 7C 08 02 A6 */ mflr r0 +/* 8034EF48 0034BEA8 3C 60 80 5A */ lis r3, lbl_805A67DC@ha +/* 8034EF4C 0034BEAC 3C 80 80 35 */ lis r4, sub_8034d638@ha +/* 8034EF50 0034BEB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034EF54 0034BEB4 3C A0 80 4C */ lis r5, lbl_804BFFA0@ha +/* 8034EF58 0034BEB8 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l +/* 8034EF5C 0034BEBC 38 00 00 00 */ li r0, 0 +/* 8034EF60 0034BEC0 90 03 00 04 */ stw r0, 4(r3) +/* 8034EF64 0034BEC4 38 84 D6 38 */ addi r4, r4, sub_8034d638@l +/* 8034EF68 0034BEC8 38 A5 FF A0 */ addi r5, r5, lbl_804BFFA0@l +/* 8034EF6C 0034BECC 90 03 00 08 */ stw r0, 8(r3) +/* 8034EF70 0034BED0 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034EF74 0034BED4 48 03 A7 19 */ bl __register_global_object +/* 8034EF78 0034BED8 3C 60 80 5A */ lis r3, lbl_805A67FC@ha +/* 8034EF7C 0034BEDC 3C 80 80 35 */ lis r4, sub_8034d638@ha +/* 8034EF80 0034BEE0 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l +/* 8034EF84 0034BEE4 38 00 00 00 */ li r0, 0 +/* 8034EF88 0034BEE8 3C A0 80 4C */ lis r5, lbl_804BFFAC@ha +/* 8034EF8C 0034BEEC 90 03 00 04 */ stw r0, 4(r3) +/* 8034EF90 0034BEF0 38 84 D6 38 */ addi r4, r4, sub_8034d638@l +/* 8034EF94 0034BEF4 90 03 00 08 */ stw r0, 8(r3) +/* 8034EF98 0034BEF8 38 A5 FF AC */ addi r5, r5, lbl_804BFFAC@l +/* 8034EF9C 0034BEFC 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034EFA0 0034BF00 48 03 A6 ED */ bl __register_global_object +/* 8034EFA4 0034BF04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034EFA8 0034BF08 7C 08 03 A6 */ mtlr r0 +/* 8034EFAC 0034BF0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034EFB0 0034BF10 4E 80 00 20 */ blr + +.global Create__11IControllerFRC10COsContext +Create__11IControllerFRC10COsContext: +/* 8034EFB4 0034BF14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034EFB8 0034BF18 7C 08 02 A6 */ mflr r0 +/* 8034EFBC 0034BF1C 3C 80 80 3E */ lis r4, lbl_803D8228@ha +/* 8034EFC0 0034BF20 38 60 01 D0 */ li r3, 0x1d0 +/* 8034EFC4 0034BF24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034EFC8 0034BF28 38 84 82 28 */ addi r4, r4, lbl_803D8228@l +/* 8034EFCC 0034BF2C 38 A0 00 00 */ li r5, 0 +/* 8034EFD0 0034BF30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034EFD4 0034BF34 4B FC 68 99 */ bl __nw__FUlPCcPCc +/* 8034EFD8 0034BF38 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034EFDC 0034BF3C 41 82 00 0C */ beq lbl_8034EFE8 +/* 8034EFE0 0034BF40 48 00 07 A9 */ bl __ct__18CDolphinControllerFv +/* 8034EFE4 0034BF44 7C 7F 1B 78 */ mr r31, r3 +lbl_8034EFE8: +/* 8034EFE8 0034BF48 7F E3 FB 78 */ mr r3, r31 +/* 8034EFEC 0034BF4C 48 00 06 95 */ bl Initialize__18CDolphinControllerFv +/* 8034EFF0 0034BF50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034EFF4 0034BF54 7F E3 FB 78 */ mr r3, r31 +/* 8034EFF8 0034BF58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034EFFC 0034BF5C 7C 08 03 A6 */ mtlr r0 +/* 8034F000 0034BF60 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F004 0034BF64 4E 80 00 20 */ blr + +.global __dt__11IControllerFv +__dt__11IControllerFv: +/* 8034F008 0034BF68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F00C 0034BF6C 7C 08 02 A6 */ mflr r0 +/* 8034F010 0034BF70 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F014 0034BF74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F018 0034BF78 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034F01C 0034BF7C 41 82 00 1C */ beq lbl_8034F038 +/* 8034F020 0034BF80 3C A0 80 3F */ lis r5, lbl_803EF680@ha +/* 8034F024 0034BF84 7C 80 07 35 */ extsh. r0, r4 +/* 8034F028 0034BF88 38 05 F6 80 */ addi r0, r5, lbl_803EF680@l +/* 8034F02C 0034BF8C 90 1F 00 00 */ stw r0, 0(r31) +/* 8034F030 0034BF90 40 81 00 08 */ ble lbl_8034F038 +/* 8034F034 0034BF94 4B FC 68 FD */ bl Free__7CMemoryFPCv +lbl_8034F038: +/* 8034F038 0034BF98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F03C 0034BF9C 7F E3 FB 78 */ mr r3, r31 +/* 8034F040 0034BFA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F044 0034BFA4 7C 08 03 A6 */ mtlr r0 +/* 8034F048 0034BFA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F04C 0034BFAC 4E 80 00 20 */ blr + +.global __ct__11IControllerFv +__ct__11IControllerFv: +/* 8034F050 0034BFB0 3C 80 80 3F */ lis r4, lbl_803EF680@ha +/* 8034F054 0034BFB4 38 04 F6 80 */ addi r0, r4, lbl_803EF680@l +/* 8034F058 0034BFB8 90 03 00 00 */ stw r0, 0(r3) +/* 8034F05C 0034BFBC 4E 80 00 20 */ blr + +.global GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis +GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis: +/* 8034F060 0034BFC0 2C 04 00 02 */ cmpwi r4, 2 +/* 8034F064 0034BFC4 40 80 00 10 */ bge lbl_8034F074 +/* 8034F068 0034BFC8 2C 04 00 00 */ cmpwi r4, 0 +/* 8034F06C 0034BFCC 40 80 00 14 */ bge lbl_8034F080 +/* 8034F070 0034BFD0 48 00 00 20 */ b lbl_8034F090 +lbl_8034F074: +/* 8034F074 0034BFD4 2C 04 00 04 */ cmpwi r4, 4 +/* 8034F078 0034BFD8 40 80 00 18 */ bge lbl_8034F090 +/* 8034F07C 0034BFDC 48 00 00 0C */ b lbl_8034F088 +lbl_8034F080: +/* 8034F080 0034BFE0 C0 22 CC 70 */ lfs f1, lbl_805AE990@sda21(r2) +/* 8034F084 0034BFE4 4E 80 00 20 */ blr +lbl_8034F088: +/* 8034F088 0034BFE8 C0 22 CC 74 */ lfs f1, lbl_805AE994@sda21(r2) +/* 8034F08C 0034BFEC 4E 80 00 20 */ blr +lbl_8034F090: +/* 8034F090 0034BFF0 C0 22 CC 78 */ lfs f1, lbl_805AE998@sda21(r2) +/* 8034F094 0034BFF4 4E 80 00 20 */ blr + +.global SetMotorState__18CDolphinControllerF7EIOPort11EMotorState +SetMotorState__18CDolphinControllerF7EIOPort11EMotorState: +/* 8034F098 0034BFF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F09C 0034BFFC 7C 08 02 A6 */ mflr r0 +/* 8034F0A0 0034C000 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F0A4 0034C004 54 80 10 3A */ slwi r0, r4, 2 +/* 8034F0A8 0034C008 7C 83 02 14 */ add r4, r3, r0 +/* 8034F0AC 0034C00C 38 63 01 94 */ addi r3, r3, 0x194 +/* 8034F0B0 0034C010 90 A4 01 94 */ stw r5, 0x194(r4) +/* 8034F0B4 0034C014 48 03 7A 71 */ bl PADControlAllMotors +/* 8034F0B8 0034C018 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F0BC 0034C01C 7C 08 03 A6 */ mtlr r0 +/* 8034F0C0 0034C020 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F0C4 0034C024 4E 80 00 20 */ blr + +.global sub_8034f0c8 +sub_8034f0c8: +/* 8034F0C8 0034C028 54 80 10 3A */ slwi r0, r4, 2 +/* 8034F0CC 0034C02C 7C 63 02 14 */ add r3, r3, r0 +/* 8034F0D0 0034C030 80 63 01 A4 */ lwz r3, 0x1a4(r3) +/* 8034F0D4 0034C034 4E 80 00 20 */ blr + +.global GetGamepadData__18CDolphinControllerFi +GetGamepadData__18CDolphinControllerFi: +/* 8034F0D8 0034C038 1C 84 00 58 */ mulli r4, r4, 0x58 +/* 8034F0DC 0034C03C 7C 60 1B 78 */ mr r0, r3 +/* 8034F0E0 0034C040 38 64 00 34 */ addi r3, r4, 0x34 +/* 8034F0E4 0034C044 7C 60 1A 14 */ add r3, r0, r3 +/* 8034F0E8 0034C048 4E 80 00 20 */ blr + +.global GetDeviceCount__18CDolphinControllerCFv +GetDeviceCount__18CDolphinControllerCFv: +/* 8034F0EC 0034C04C 38 60 00 04 */ li r3, 4 +/* 8034F0F0 0034C050 4E 80 00 20 */ blr + +.global ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis +ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis: +/* 8034F0F4 0034C054 C0 02 CC 7C */ lfs f0, lbl_805AE99C@sda21(r2) +/* 8034F0F8 0034C058 C0 42 CC 54 */ lfs f2, lbl_805AE974@sda21(r2) +/* 8034F0FC 0034C05C EC 61 00 32 */ fmuls f3, f1, f0 +/* 8034F100 0034C060 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 8034F104 0034C064 40 81 00 08 */ ble lbl_8034F10C +/* 8034F108 0034C068 FC 60 10 90 */ fmr f3, f2 +lbl_8034F10C: +/* 8034F10C 0034C06C C0 04 00 04 */ lfs f0, 4(r4) +/* 8034F110 0034C070 C0 22 CC 5C */ lfs f1, lbl_805AE97C@sda21(r2) +/* 8034F114 0034C074 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8034F118 0034C078 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8034F11C 0034C07C 40 81 00 08 */ ble lbl_8034F124 +/* 8034F120 0034C080 FC 00 08 90 */ fmr f0, f1 +lbl_8034F124: +/* 8034F124 0034C084 D0 04 00 00 */ stfs f0, 0(r4) +/* 8034F128 0034C088 D0 64 00 04 */ stfs f3, 4(r4) +/* 8034F12C 0034C08C 4E 80 00 20 */ blr + +.global ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs +ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs: +/* 8034F130 0034C090 1C E4 00 0C */ mulli r7, r4, 0xc +/* 8034F134 0034C094 54 C4 04 3E */ clrlwi r4, r6, 0x10 +/* 8034F138 0034C098 88 05 00 00 */ lbz r0, 0(r5) +/* 8034F13C 0034C09C 7C 63 3A 14 */ add r3, r3, r7 +/* 8034F140 0034C0A0 A0 63 00 04 */ lhz r3, 4(r3) +/* 8034F144 0034C0A4 7C 64 20 38 */ and r4, r3, r4 +/* 8034F148 0034C0A8 7C 64 00 D0 */ neg r3, r4 +/* 8034F14C 0034C0AC 7C 63 23 78 */ or r3, r3, r4 +/* 8034F150 0034C0B0 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8034F154 0034C0B4 7C 60 02 78 */ xor r0, r3, r0 +/* 8034F158 0034C0B8 7C 60 00 38 */ and r0, r3, r0 +/* 8034F15C 0034C0BC 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F160 0034C0C0 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F164 0034C0C4 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F168 0034C0C8 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F16C 0034C0CC 98 05 00 01 */ stb r0, 1(r5) +/* 8034F170 0034C0D0 88 85 00 00 */ lbz r4, 0(r5) +/* 8034F174 0034C0D4 7C 60 22 78 */ xor r0, r3, r4 +/* 8034F178 0034C0D8 7C 80 00 38 */ and r0, r4, r0 +/* 8034F17C 0034C0DC 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F180 0034C0E0 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F184 0034C0E4 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F188 0034C0E8 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F18C 0034C0EC 98 05 00 02 */ stb r0, 2(r5) +/* 8034F190 0034C0F0 98 65 00 00 */ stb r3, 0(r5) +/* 8034F194 0034C0F4 4E 80 00 20 */ blr + +.global ProcessButtons__18CDolphinControllerFi +ProcessButtons__18CDolphinControllerFi: +/* 8034F198 0034C0F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034F19C 0034C0FC 7C 08 02 A6 */ mflr r0 +/* 8034F1A0 0034C100 3C A0 80 3F */ lis r5, lbl_803EF6A0@ha +/* 8034F1A4 0034C104 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034F1A8 0034C108 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8034F1AC 0034C10C 7C 9B 23 78 */ mr r27, r4 +/* 8034F1B0 0034C110 1C 9B 00 58 */ mulli r4, r27, 0x58 +/* 8034F1B4 0034C114 7C 7A 1B 78 */ mr r26, r3 +/* 8034F1B8 0034C118 3B C5 F6 A0 */ addi r30, r5, lbl_803EF6A0@l +/* 8034F1BC 0034C11C 3B 80 00 00 */ li r28, 0 +/* 8034F1C0 0034C120 3B A4 00 34 */ addi r29, r4, 0x34 +/* 8034F1C4 0034C124 3B E0 00 00 */ li r31, 0 +/* 8034F1C8 0034C128 7F BA EA 14 */ add r29, r26, r29 +lbl_8034F1CC: +/* 8034F1CC 0034C12C 38 BF 00 34 */ addi r5, r31, 0x34 +/* 8034F1D0 0034C130 A0 DE 00 00 */ lhz r6, 0(r30) +/* 8034F1D4 0034C134 7F 43 D3 78 */ mr r3, r26 +/* 8034F1D8 0034C138 7F 64 DB 78 */ mr r4, r27 +/* 8034F1DC 0034C13C 7C BD 2A 14 */ add r5, r29, r5 +/* 8034F1E0 0034C140 4B FF FF 51 */ bl ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs +/* 8034F1E4 0034C144 3B 9C 00 01 */ addi r28, r28, 1 +/* 8034F1E8 0034C148 3B FF 00 03 */ addi r31, r31, 3 +/* 8034F1EC 0034C14C 2C 1C 00 0C */ cmpwi r28, 0xc +/* 8034F1F0 0034C150 3B DE 00 02 */ addi r30, r30, 2 +/* 8034F1F4 0034C154 41 80 FF D8 */ blt lbl_8034F1CC +/* 8034F1F8 0034C158 1F DB 00 0C */ mulli r30, r27, 0xc +/* 8034F1FC 0034C15C 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F200 0034C160 90 01 00 08 */ stw r0, 8(r1) +/* 8034F204 0034C164 7F 43 D3 78 */ mr r3, r26 +/* 8034F208 0034C168 C8 22 CC 80 */ lfd f1, lbl_805AE9A0@sda21(r2) +/* 8034F20C 0034C16C 38 9D 00 24 */ addi r4, r29, 0x24 +/* 8034F210 0034C170 7C BA F2 14 */ add r5, r26, r30 +/* 8034F214 0034C174 88 05 00 0A */ lbz r0, 0xa(r5) +/* 8034F218 0034C178 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F21C 0034C17C C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F220 0034C180 EC 20 08 28 */ fsubs f1, f0, f1 +/* 8034F224 0034C184 4B FF FE D1 */ bl ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis +/* 8034F228 0034C188 7C 7A F2 14 */ add r3, r26, r30 +/* 8034F22C 0034C18C 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F230 0034C190 88 A3 00 0B */ lbz r5, 0xb(r3) +/* 8034F234 0034C194 7F 43 D3 78 */ mr r3, r26 +/* 8034F238 0034C198 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034F23C 0034C19C 38 9D 00 2C */ addi r4, r29, 0x2c +/* 8034F240 0034C1A0 C8 22 CC 80 */ lfd f1, lbl_805AE9A0@sda21(r2) +/* 8034F244 0034C1A4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8034F248 0034C1A8 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8034F24C 0034C1AC EC 20 08 28 */ fsubs f1, f0, f1 +/* 8034F250 0034C1B0 4B FF FE A5 */ bl ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis +/* 8034F254 0034C1B4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8034F258 0034C1B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034F25C 0034C1BC 7C 08 03 A6 */ mtlr r0 +/* 8034F260 0034C1C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034F264 0034C1C4 4E 80 00 20 */ blr + +.global ProcessAxis__18CDolphinControllerFi8EJoyAxis +ProcessAxis__18CDolphinControllerFi8EJoyAxis: +/* 8034F268 0034C1C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034F26C 0034C1CC 7C 08 02 A6 */ mflr r0 +/* 8034F270 0034C1D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034F274 0034C1D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034F278 0034C1D8 7C BF 2B 78 */ mr r31, r5 +/* 8034F27C 0034C1DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034F280 0034C1E0 7C 9E 23 78 */ mr r30, r4 +/* 8034F284 0034C1E4 7F E4 FB 78 */ mr r4, r31 +/* 8034F288 0034C1E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034F28C 0034C1EC 7C 7D 1B 78 */ mr r29, r3 +/* 8034F290 0034C1F0 4B FF FD D1 */ bl GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis +/* 8034F294 0034C1F4 C0 02 CC 88 */ lfs f0, lbl_805AE9A8@sda21(r2) +/* 8034F298 0034C1F8 1C 7E 00 58 */ mulli r3, r30, 0x58 +/* 8034F29C 0034C1FC 57 E0 18 38 */ slwi r0, r31, 3 +/* 8034F2A0 0034C200 C0 62 CC 78 */ lfs f3, lbl_805AE998@sda21(r2) +/* 8034F2A4 0034C204 EC 40 08 24 */ fdivs f2, f0, f1 +/* 8034F2A8 0034C208 2C 1F 00 02 */ cmpwi r31, 2 +/* 8034F2AC 0034C20C 38 63 00 34 */ addi r3, r3, 0x34 +/* 8034F2B0 0034C210 7C 63 02 14 */ add r3, r3, r0 +/* 8034F2B4 0034C214 38 83 00 04 */ addi r4, r3, 4 +/* 8034F2B8 0034C218 7C 9D 22 14 */ add r4, r29, r4 +/* 8034F2BC 0034C21C 41 82 00 84 */ beq lbl_8034F340 +/* 8034F2C0 0034C220 40 80 00 14 */ bge lbl_8034F2D4 +/* 8034F2C4 0034C224 2C 1F 00 00 */ cmpwi r31, 0 +/* 8034F2C8 0034C228 41 82 00 18 */ beq lbl_8034F2E0 +/* 8034F2CC 0034C22C 40 80 00 44 */ bge lbl_8034F310 +/* 8034F2D0 0034C230 48 00 00 CC */ b lbl_8034F39C +lbl_8034F2D4: +/* 8034F2D4 0034C234 2C 1F 00 04 */ cmpwi r31, 4 +/* 8034F2D8 0034C238 40 80 00 C4 */ bge lbl_8034F39C +/* 8034F2DC 0034C23C 48 00 00 94 */ b lbl_8034F370 +lbl_8034F2E0: +/* 8034F2E0 0034C240 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F2E4 0034C244 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F2E8 0034C248 90 01 00 08 */ stw r0, 8(r1) +/* 8034F2EC 0034C24C C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F2F0 0034C250 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F2F4 0034C254 88 03 00 06 */ lbz r0, 6(r3) +/* 8034F2F8 0034C258 7C 00 07 74 */ extsb r0, r0 +/* 8034F2FC 0034C25C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F300 0034C260 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F304 0034C264 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F308 0034C268 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8034F30C 0034C26C 48 00 00 90 */ b lbl_8034F39C +lbl_8034F310: +/* 8034F310 0034C270 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F314 0034C274 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F318 0034C278 90 01 00 08 */ stw r0, 8(r1) +/* 8034F31C 0034C27C C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F320 0034C280 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F324 0034C284 88 03 00 07 */ lbz r0, 7(r3) +/* 8034F328 0034C288 7C 00 07 74 */ extsb r0, r0 +/* 8034F32C 0034C28C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F330 0034C290 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F334 0034C294 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F338 0034C298 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8034F33C 0034C29C 48 00 00 60 */ b lbl_8034F39C +lbl_8034F340: +/* 8034F340 0034C2A0 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F344 0034C2A4 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F348 0034C2A8 90 01 00 08 */ stw r0, 8(r1) +/* 8034F34C 0034C2AC C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F350 0034C2B0 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F354 0034C2B4 88 03 00 08 */ lbz r0, 8(r3) +/* 8034F358 0034C2B8 7C 00 07 74 */ extsb r0, r0 +/* 8034F35C 0034C2BC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F360 0034C2C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F364 0034C2C4 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F368 0034C2C8 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8034F36C 0034C2CC 48 00 00 30 */ b lbl_8034F39C +lbl_8034F370: +/* 8034F370 0034C2D0 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F374 0034C2D4 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F378 0034C2D8 90 01 00 08 */ stw r0, 8(r1) +/* 8034F37C 0034C2DC C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F380 0034C2E0 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F384 0034C2E4 88 03 00 09 */ lbz r0, 9(r3) +/* 8034F388 0034C2E8 7C 00 07 74 */ extsb r0, r0 +/* 8034F38C 0034C2EC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F390 0034C2F0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F394 0034C2F4 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F398 0034C2F8 EC 60 08 28 */ fsubs f3, f0, f1 +lbl_8034F39C: +/* 8034F39C 0034C2FC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8034F3A0 0034C300 C0 02 CC 50 */ lfs f0, lbl_805AE970@sda21(r2) +/* 8034F3A4 0034C304 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8034F3A8 0034C308 40 80 00 0C */ bge lbl_8034F3B4 +/* 8034F3AC 0034C30C FC 40 00 90 */ fmr f2, f0 +/* 8034F3B0 0034C310 48 00 00 14 */ b lbl_8034F3C4 +lbl_8034F3B4: +/* 8034F3B4 0034C314 C0 02 CC 54 */ lfs f0, lbl_805AE974@sda21(r2) +/* 8034F3B8 0034C318 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8034F3BC 0034C31C 40 81 00 08 */ ble lbl_8034F3C4 +/* 8034F3C0 0034C320 FC 40 00 90 */ fmr f2, f0 +lbl_8034F3C4: +/* 8034F3C4 0034C324 C0 04 00 04 */ lfs f0, 4(r4) +/* 8034F3C8 0034C328 C0 22 CC 58 */ lfs f1, lbl_805AE978@sda21(r2) +/* 8034F3CC 0034C32C EC 62 00 28 */ fsubs f3, f2, f0 +/* 8034F3D0 0034C330 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 8034F3D4 0034C334 40 80 00 0C */ bge lbl_8034F3E0 +/* 8034F3D8 0034C338 FC 60 08 90 */ fmr f3, f1 +/* 8034F3DC 0034C33C 48 00 00 14 */ b lbl_8034F3F0 +lbl_8034F3E0: +/* 8034F3E0 0034C340 C0 02 CC 5C */ lfs f0, lbl_805AE97C@sda21(r2) +/* 8034F3E4 0034C344 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8034F3E8 0034C348 40 81 00 08 */ ble lbl_8034F3F0 +/* 8034F3EC 0034C34C FC 60 00 90 */ fmr f3, f0 +lbl_8034F3F0: +/* 8034F3F0 0034C350 D0 64 00 00 */ stfs f3, 0(r4) +/* 8034F3F4 0034C354 D0 44 00 04 */ stfs f2, 4(r4) +/* 8034F3F8 0034C358 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034F3FC 0034C35C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034F400 0034C360 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034F404 0034C364 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034F408 0034C368 7C 08 03 A6 */ mtlr r0 +/* 8034F40C 0034C36C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034F410 0034C370 4E 80 00 20 */ blr + +.global ProcessInputData__18CDolphinControllerFv +ProcessInputData__18CDolphinControllerFv: +/* 8034F414 0034C374 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034F418 0034C378 7C 08 02 A6 */ mflr r0 +/* 8034F41C 0034C37C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034F420 0034C380 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034F424 0034C384 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034F428 0034C388 3B C0 00 00 */ li r30, 0 +/* 8034F42C 0034C38C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034F430 0034C390 7C 7D 1B 78 */ mr r29, r3 +/* 8034F434 0034C394 7F BF EB 78 */ mr r31, r29 +lbl_8034F438: +/* 8034F438 0034C398 88 1F 00 34 */ lbz r0, 0x34(r31) +/* 8034F43C 0034C39C 28 00 00 00 */ cmplwi r0, 0 +/* 8034F440 0034C3A0 41 82 00 50 */ beq lbl_8034F490 +/* 8034F444 0034C3A4 7F A3 EB 78 */ mr r3, r29 +/* 8034F448 0034C3A8 7F C4 F3 78 */ mr r4, r30 +/* 8034F44C 0034C3AC 38 A0 00 00 */ li r5, 0 +/* 8034F450 0034C3B0 4B FF FE 19 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F454 0034C3B4 7F A3 EB 78 */ mr r3, r29 +/* 8034F458 0034C3B8 7F C4 F3 78 */ mr r4, r30 +/* 8034F45C 0034C3BC 38 A0 00 01 */ li r5, 1 +/* 8034F460 0034C3C0 4B FF FE 09 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F464 0034C3C4 7F A3 EB 78 */ mr r3, r29 +/* 8034F468 0034C3C8 7F C4 F3 78 */ mr r4, r30 +/* 8034F46C 0034C3CC 38 A0 00 02 */ li r5, 2 +/* 8034F470 0034C3D0 4B FF FD F9 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F474 0034C3D4 7F A3 EB 78 */ mr r3, r29 +/* 8034F478 0034C3D8 7F C4 F3 78 */ mr r4, r30 +/* 8034F47C 0034C3DC 38 A0 00 03 */ li r5, 3 +/* 8034F480 0034C3E0 4B FF FD E9 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F484 0034C3E4 7F A3 EB 78 */ mr r3, r29 +/* 8034F488 0034C3E8 7F C4 F3 78 */ mr r4, r30 +/* 8034F48C 0034C3EC 4B FF FD 0D */ bl ProcessButtons__18CDolphinControllerFi +lbl_8034F490: +/* 8034F490 0034C3F0 3B DE 00 01 */ addi r30, r30, 1 +/* 8034F494 0034C3F4 3B FF 00 58 */ addi r31, r31, 0x58 +/* 8034F498 0034C3F8 2C 1E 00 04 */ cmpwi r30, 4 +/* 8034F49C 0034C3FC 41 80 FF 9C */ blt lbl_8034F438 +/* 8034F4A0 0034C400 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034F4A4 0034C404 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034F4A8 0034C408 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034F4AC 0034C40C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034F4B0 0034C410 7C 08 03 A6 */ mtlr r0 +/* 8034F4B4 0034C414 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034F4B8 0034C418 4E 80 00 20 */ blr + +.global ReadDevices__18CDolphinControllerFv +ReadDevices__18CDolphinControllerFv: +/* 8034F4BC 0034C41C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8034F4C0 0034C420 7C 08 02 A6 */ mflr r0 +/* 8034F4C4 0034C424 90 01 00 54 */ stw r0, 0x54(r1) +/* 8034F4C8 0034C428 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8034F4CC 0034C42C 7C 7A 1B 78 */ mr r26, r3 +/* 8034F4D0 0034C430 38 61 00 08 */ addi r3, r1, 8 +/* 8034F4D4 0034C434 48 03 72 A5 */ bl PADRead +/* 8034F4D8 0034C438 88 61 00 12 */ lbz r3, 0x12(r1) +/* 8034F4DC 0034C43C 7C 60 07 75 */ extsb. r0, r3 +/* 8034F4E0 0034C440 40 82 00 20 */ bne lbl_8034F500 +/* 8034F4E4 0034C444 38 61 00 08 */ addi r3, r1, 8 +/* 8034F4E8 0034C448 48 03 65 01 */ bl PADClamp +/* 8034F4EC 0034C44C 38 7A 00 04 */ addi r3, r26, 4 +/* 8034F4F0 0034C450 38 81 00 08 */ addi r4, r1, 8 +/* 8034F4F4 0034C454 38 A0 00 30 */ li r5, 0x30 +/* 8034F4F8 0034C458 4B CB 3F 99 */ bl memcpy +/* 8034F4FC 0034C45C 48 00 00 20 */ b lbl_8034F51C +lbl_8034F500: +/* 8034F500 0034C460 98 7A 00 0E */ stb r3, 0xe(r26) +/* 8034F504 0034C464 88 01 00 1E */ lbz r0, 0x1e(r1) +/* 8034F508 0034C468 98 1A 00 1A */ stb r0, 0x1a(r26) +/* 8034F50C 0034C46C 88 01 00 2A */ lbz r0, 0x2a(r1) +/* 8034F510 0034C470 98 1A 00 26 */ stb r0, 0x26(r26) +/* 8034F514 0034C474 88 01 00 36 */ lbz r0, 0x36(r1) +/* 8034F518 0034C478 98 1A 00 32 */ stb r0, 0x32(r26) +lbl_8034F51C: +/* 8034F51C 0034C47C 7F 5E D3 78 */ mr r30, r26 +/* 8034F520 0034C480 7F 5D D3 78 */ mr r29, r26 +/* 8034F524 0034C484 7F 5C D3 78 */ mr r28, r26 +/* 8034F528 0034C488 3B 60 00 00 */ li r27, 0 +/* 8034F52C 0034C48C 3F E0 80 00 */ lis r31, 0x8000 +lbl_8034F530: +/* 8034F530 0034C490 88 1E 00 0E */ lbz r0, 0xe(r30) +/* 8034F534 0034C494 7F E4 DC 30 */ srw r4, r31, r27 +/* 8034F538 0034C498 7C 03 07 74 */ extsb r3, r0 +/* 8034F53C 0034C49C 2C 03 FF FE */ cmpwi r3, -2 +/* 8034F540 0034C4A0 41 82 00 34 */ beq lbl_8034F574 +/* 8034F544 0034C4A4 7C 00 07 75 */ extsb. r0, r0 +/* 8034F548 0034C4A8 40 82 00 10 */ bne lbl_8034F558 +/* 8034F54C 0034C4AC 38 00 00 01 */ li r0, 1 +/* 8034F550 0034C4B0 98 1D 00 34 */ stb r0, 0x34(r29) +/* 8034F554 0034C4B4 48 00 00 20 */ b lbl_8034F574 +lbl_8034F558: +/* 8034F558 0034C4B8 2C 03 FF FF */ cmpwi r3, -1 +/* 8034F55C 0034C4BC 40 82 00 18 */ bne lbl_8034F574 +/* 8034F560 0034C4C0 80 7A 01 C8 */ lwz r3, 0x1c8(r26) +/* 8034F564 0034C4C4 38 00 00 00 */ li r0, 0 +/* 8034F568 0034C4C8 7C 63 23 78 */ or r3, r3, r4 +/* 8034F56C 0034C4CC 90 7A 01 C8 */ stw r3, 0x1c8(r26) +/* 8034F570 0034C4D0 98 1D 00 34 */ stb r0, 0x34(r29) +lbl_8034F574: +/* 8034F574 0034C4D4 80 7C 01 B4 */ lwz r3, 0x1b4(r28) +/* 8034F578 0034C4D8 28 03 00 00 */ cmplwi r3, 0 +/* 8034F57C 0034C4DC 41 82 00 10 */ beq lbl_8034F58C +/* 8034F580 0034C4E0 38 03 FF FF */ addi r0, r3, -1 +/* 8034F584 0034C4E4 90 1C 01 B4 */ stw r0, 0x1b4(r28) +/* 8034F588 0034C4E8 48 00 00 78 */ b lbl_8034F600 +lbl_8034F58C: +/* 8034F58C 0034C4EC 7F 63 DB 78 */ mr r3, r27 +/* 8034F590 0034C4F0 48 07 09 59 */ bl SIProbe +/* 8034F594 0034C4F4 70 60 00 C8 */ andi. r0, r3, 0xc8 +/* 8034F598 0034C4F8 41 82 00 1C */ beq lbl_8034F5B4 +/* 8034F59C 0034C4FC 80 1C 01 B4 */ lwz r0, 0x1b4(r28) +/* 8034F5A0 0034C500 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5A4 0034C504 40 82 00 5C */ bne lbl_8034F600 +/* 8034F5A8 0034C508 80 02 CC 60 */ lwz r0, lbl_805AE980@sda21(r2) +/* 8034F5AC 0034C50C 90 1C 01 A4 */ stw r0, 0x1a4(r28) +/* 8034F5B0 0034C510 48 00 00 50 */ b lbl_8034F600 +lbl_8034F5B4: +/* 8034F5B4 0034C514 3C 03 74 F0 */ addis r0, r3, 0x74f0 +/* 8034F5B8 0034C518 38 80 00 3C */ li r4, 0x3c +/* 8034F5BC 0034C51C 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5C0 0034C520 90 9C 01 B4 */ stw r4, 0x1b4(r28) +/* 8034F5C4 0034C524 40 82 00 10 */ bne lbl_8034F5D4 +/* 8034F5C8 0034C528 80 02 CC 6C */ lwz r0, lbl_805AE98C@sda21(r2) +/* 8034F5CC 0034C52C 90 1C 01 A4 */ stw r0, 0x1a4(r28) +/* 8034F5D0 0034C530 48 00 00 30 */ b lbl_8034F600 +lbl_8034F5D4: +/* 8034F5D4 0034C534 3C 03 FF FC */ addis r0, r3, 0xfffc +/* 8034F5D8 0034C538 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5DC 0034C53C 40 82 00 10 */ bne lbl_8034F5EC +/* 8034F5E0 0034C540 80 02 CC 68 */ lwz r0, lbl_805AE988@sda21(r2) +/* 8034F5E4 0034C544 90 1C 01 A4 */ stw r0, 0x1a4(r28) +/* 8034F5E8 0034C548 48 00 00 18 */ b lbl_8034F600 +lbl_8034F5EC: +/* 8034F5EC 0034C54C 3C 03 F7 00 */ addis r0, r3, 0xf700 +/* 8034F5F0 0034C550 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5F4 0034C554 40 82 00 0C */ bne lbl_8034F600 +/* 8034F5F8 0034C558 80 02 CC 64 */ lwz r0, lbl_805AE984@sda21(r2) +/* 8034F5FC 0034C55C 90 1C 01 A4 */ stw r0, 0x1a4(r28) +lbl_8034F600: +/* 8034F600 0034C560 3B 7B 00 01 */ addi r27, r27, 1 +/* 8034F604 0034C564 3B BD 00 58 */ addi r29, r29, 0x58 +/* 8034F608 0034C568 2C 1B 00 04 */ cmpwi r27, 4 +/* 8034F60C 0034C56C 3B 9C 00 04 */ addi r28, r28, 4 +/* 8034F610 0034C570 3B DE 00 0C */ addi r30, r30, 0xc +/* 8034F614 0034C574 41 80 FF 1C */ blt lbl_8034F530 +/* 8034F618 0034C578 80 7A 01 C8 */ lwz r3, 0x1c8(r26) +/* 8034F61C 0034C57C 28 03 00 00 */ cmplwi r3, 0 +/* 8034F620 0034C580 41 82 00 18 */ beq lbl_8034F638 +/* 8034F624 0034C584 48 03 6D 39 */ bl PADReset +/* 8034F628 0034C588 2C 03 00 00 */ cmpwi r3, 0 +/* 8034F62C 0034C58C 41 82 00 0C */ beq lbl_8034F638 +/* 8034F630 0034C590 38 00 00 00 */ li r0, 0 +/* 8034F634 0034C594 90 1A 01 C8 */ stw r0, 0x1c8(r26) +lbl_8034F638: +/* 8034F638 0034C598 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8034F63C 0034C59C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8034F640 0034C5A0 7C 08 03 A6 */ mtlr r0 +/* 8034F644 0034C5A4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8034F648 0034C5A8 4E 80 00 20 */ blr + +.global Poll__18CDolphinControllerFv +Poll__18CDolphinControllerFv: +/* 8034F64C 0034C5AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F650 0034C5B0 7C 08 02 A6 */ mflr r0 +/* 8034F654 0034C5B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F658 0034C5B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F65C 0034C5BC 7C 7F 1B 78 */ mr r31, r3 +/* 8034F660 0034C5C0 4B FF FE 5D */ bl ReadDevices__18CDolphinControllerFv +/* 8034F664 0034C5C4 7F E3 FB 78 */ mr r3, r31 +/* 8034F668 0034C5C8 4B FF FD AD */ bl ProcessInputData__18CDolphinControllerFv +/* 8034F66C 0034C5CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F670 0034C5D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F674 0034C5D4 7C 08 03 A6 */ mtlr r0 +/* 8034F678 0034C5D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F67C 0034C5DC 4E 80 00 20 */ blr + +.global Initialize__18CDolphinControllerFv +Initialize__18CDolphinControllerFv: +/* 8034F680 0034C5E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F684 0034C5E4 7C 08 02 A6 */ mflr r0 +/* 8034F688 0034C5E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F68C 0034C5EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F690 0034C5F0 7C 7F 1B 78 */ mr r31, r3 +/* 8034F694 0034C5F4 48 07 9F B9 */ bl GBAInit +/* 8034F698 0034C5F8 38 7F 00 04 */ addi r3, r31, 4 +/* 8034F69C 0034C5FC 38 80 00 00 */ li r4, 0 +/* 8034F6A0 0034C600 38 A0 00 30 */ li r5, 0x30 +/* 8034F6A4 0034C604 4B CB 3D 05 */ bl memset +/* 8034F6A8 0034C608 38 A0 00 00 */ li r5, 0 +/* 8034F6AC 0034C60C 38 80 00 02 */ li r4, 2 +/* 8034F6B0 0034C610 98 BF 00 34 */ stb r5, 0x34(r31) +/* 8034F6B4 0034C614 38 7F 01 94 */ addi r3, r31, 0x194 +/* 8034F6B8 0034C618 80 02 CC 60 */ lwz r0, lbl_805AE980@sda21(r2) +/* 8034F6BC 0034C61C 90 9F 01 94 */ stw r4, 0x194(r31) +/* 8034F6C0 0034C620 90 BF 01 B4 */ stw r5, 0x1b4(r31) +/* 8034F6C4 0034C624 90 1F 01 A4 */ stw r0, 0x1a4(r31) +/* 8034F6C8 0034C628 98 BF 00 8C */ stb r5, 0x8c(r31) +/* 8034F6CC 0034C62C 90 9F 01 98 */ stw r4, 0x198(r31) +/* 8034F6D0 0034C630 90 BF 01 B8 */ stw r5, 0x1b8(r31) +/* 8034F6D4 0034C634 90 1F 01 A8 */ stw r0, 0x1a8(r31) +/* 8034F6D8 0034C638 98 BF 00 E4 */ stb r5, 0xe4(r31) +/* 8034F6DC 0034C63C 90 9F 01 9C */ stw r4, 0x19c(r31) +/* 8034F6E0 0034C640 90 BF 01 BC */ stw r5, 0x1bc(r31) +/* 8034F6E4 0034C644 90 1F 01 AC */ stw r0, 0x1ac(r31) +/* 8034F6E8 0034C648 98 BF 01 3C */ stb r5, 0x13c(r31) +/* 8034F6EC 0034C64C 90 9F 01 A0 */ stw r4, 0x1a0(r31) +/* 8034F6F0 0034C650 90 BF 01 C0 */ stw r5, 0x1c0(r31) +/* 8034F6F4 0034C654 90 1F 01 B0 */ stw r0, 0x1b0(r31) +/* 8034F6F8 0034C658 48 03 74 2D */ bl PADControlAllMotors +/* 8034F6FC 0034C65C 7F E3 FB 78 */ mr r3, r31 +/* 8034F700 0034C660 81 9F 00 00 */ lwz r12, 0(r31) +/* 8034F704 0034C664 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034F708 0034C668 7D 89 03 A6 */ mtctr r12 +/* 8034F70C 0034C66C 4E 80 04 21 */ bctrl +/* 8034F710 0034C670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F714 0034C674 38 60 00 01 */ li r3, 1 +/* 8034F718 0034C678 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F71C 0034C67C 7C 08 03 A6 */ mtlr r0 +/* 8034F720 0034C680 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F724 0034C684 4E 80 00 20 */ blr + +.global __dt__18CDolphinControllerFv +__dt__18CDolphinControllerFv: +/* 8034F728 0034C688 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F72C 0034C68C 7C 08 02 A6 */ mflr r0 +/* 8034F730 0034C690 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F734 0034C694 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F738 0034C698 7C 9F 23 78 */ mr r31, r4 +/* 8034F73C 0034C69C 93 C1 00 08 */ stw r30, 8(r1) +/* 8034F740 0034C6A0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034F744 0034C6A4 41 82 00 28 */ beq lbl_8034F76C +/* 8034F748 0034C6A8 3C A0 80 3F */ lis r5, lbl_803EF6B8@ha +/* 8034F74C 0034C6AC 38 80 00 00 */ li r4, 0 +/* 8034F750 0034C6B0 38 05 F6 B8 */ addi r0, r5, lbl_803EF6B8@l +/* 8034F754 0034C6B4 90 1E 00 00 */ stw r0, 0(r30) +/* 8034F758 0034C6B8 4B FF F8 B1 */ bl __dt__11IControllerFv +/* 8034F75C 0034C6BC 7F E0 07 35 */ extsh. r0, r31 +/* 8034F760 0034C6C0 40 81 00 0C */ ble lbl_8034F76C +/* 8034F764 0034C6C4 7F C3 F3 78 */ mr r3, r30 +/* 8034F768 0034C6C8 4B FC 61 C9 */ bl Free__7CMemoryFPCv +lbl_8034F76C: +/* 8034F76C 0034C6CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F770 0034C6D0 7F C3 F3 78 */ mr r3, r30 +/* 8034F774 0034C6D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F778 0034C6D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034F77C 0034C6DC 7C 08 03 A6 */ mtlr r0 +/* 8034F780 0034C6E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F784 0034C6E4 4E 80 00 20 */ blr + +.global __ct__18CDolphinControllerFv +__ct__18CDolphinControllerFv: +/* 8034F788 0034C6E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F78C 0034C6EC 7C 08 02 A6 */ mflr r0 +/* 8034F790 0034C6F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F794 0034C6F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F798 0034C6F8 7C 7F 1B 78 */ mr r31, r3 +/* 8034F79C 0034C6FC 4B FF F8 B5 */ bl __ct__11IControllerFv +/* 8034F7A0 0034C700 3C 60 80 3F */ lis r3, lbl_803EF6B8@ha +/* 8034F7A4 0034C704 3C 80 80 35 */ lis r4, __ct__22CControllerGamepadDataFv@ha +/* 8034F7A8 0034C708 38 03 F6 B8 */ addi r0, r3, lbl_803EF6B8@l +/* 8034F7AC 0034C70C 38 A0 00 00 */ li r5, 0 +/* 8034F7B0 0034C710 90 1F 00 00 */ stw r0, 0(r31) +/* 8034F7B4 0034C714 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8034F7B8 0034C718 38 84 F8 2C */ addi r4, r4, __ct__22CControllerGamepadDataFv@l +/* 8034F7BC 0034C71C 38 C0 00 58 */ li r6, 0x58 +/* 8034F7C0 0034C720 38 E0 00 04 */ li r7, 4 +/* 8034F7C4 0034C724 48 03 9F 89 */ bl __construct_array +/* 8034F7C8 0034C728 3C 00 F0 00 */ lis r0, 0xf000 +/* 8034F7CC 0034C72C 38 60 00 00 */ li r3, 0 +/* 8034F7D0 0034C730 90 1F 01 C4 */ stw r0, 0x1c4(r31) +/* 8034F7D4 0034C734 90 7F 01 C8 */ stw r3, 0x1c8(r31) +/* 8034F7D8 0034C738 90 7F 01 CC */ stw r3, 0x1cc(r31) +/* 8034F7DC 0034C73C 88 0D AA 09 */ lbz r0, lbl_805A95C9@sda21(r13) +/* 8034F7E0 0034C740 7C 00 07 75 */ extsb. r0, r0 +/* 8034F7E4 0034C744 40 82 00 10 */ bne lbl_8034F7F4 +/* 8034F7E8 0034C748 38 00 00 01 */ li r0, 1 +/* 8034F7EC 0034C74C 98 6D AA 08 */ stb r3, lbl_805A95C8@sda21(r13) +/* 8034F7F0 0034C750 98 0D AA 09 */ stb r0, lbl_805A95C9@sda21(r13) +lbl_8034F7F4: +/* 8034F7F4 0034C754 88 0D AA 08 */ lbz r0, lbl_805A95C8@sda21(r13) +/* 8034F7F8 0034C758 28 00 00 00 */ cmplwi r0, 0 +/* 8034F7FC 0034C75C 40 82 00 18 */ bne lbl_8034F814 +/* 8034F800 0034C760 38 60 00 05 */ li r3, 5 +/* 8034F804 0034C764 48 03 74 7D */ bl PADSetSpec +/* 8034F808 0034C768 48 03 6D 59 */ bl PADInit +/* 8034F80C 0034C76C 38 00 00 01 */ li r0, 1 +/* 8034F810 0034C770 98 0D AA 08 */ stb r0, lbl_805A95C8@sda21(r13) +lbl_8034F814: +/* 8034F814 0034C774 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F818 0034C778 7F E3 FB 78 */ mr r3, r31 +/* 8034F81C 0034C77C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F820 0034C780 7C 08 03 A6 */ mtlr r0 +/* 8034F824 0034C784 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F828 0034C788 4E 80 00 20 */ blr + +.global __ct__22CControllerGamepadDataFv +__ct__22CControllerGamepadDataFv: +/* 8034F82C 0034C78C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F830 0034C790 7C 08 02 A6 */ mflr r0 +/* 8034F834 0034C794 3C 80 80 35 */ lis r4, __ct__15CControllerAxisFv@ha +/* 8034F838 0034C798 38 A0 00 00 */ li r5, 0 +/* 8034F83C 0034C79C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F840 0034C7A0 38 84 F8 C0 */ addi r4, r4, __ct__15CControllerAxisFv@l +/* 8034F844 0034C7A4 38 C0 00 08 */ li r6, 8 +/* 8034F848 0034C7A8 38 E0 00 04 */ li r7, 4 +/* 8034F84C 0034C7AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F850 0034C7B0 7C 7F 1B 78 */ mr r31, r3 +/* 8034F854 0034C7B4 38 7F 00 04 */ addi r3, r31, 4 +/* 8034F858 0034C7B8 48 03 9E F5 */ bl __construct_array +/* 8034F85C 0034C7BC 3C 80 80 35 */ lis r4, __ct__15CControllerAxisFv@ha +/* 8034F860 0034C7C0 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034F864 0034C7C4 38 84 F8 C0 */ addi r4, r4, __ct__15CControllerAxisFv@l +/* 8034F868 0034C7C8 38 A0 00 00 */ li r5, 0 +/* 8034F86C 0034C7CC 38 C0 00 08 */ li r6, 8 +/* 8034F870 0034C7D0 38 E0 00 02 */ li r7, 2 +/* 8034F874 0034C7D4 48 03 9E D9 */ bl __construct_array +/* 8034F878 0034C7D8 3C 80 80 35 */ lis r4, __ct__17CControllerButtonFv@ha +/* 8034F87C 0034C7DC 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8034F880 0034C7E0 38 84 F8 AC */ addi r4, r4, __ct__17CControllerButtonFv@l +/* 8034F884 0034C7E4 38 A0 00 00 */ li r5, 0 +/* 8034F888 0034C7E8 38 C0 00 03 */ li r6, 3 +/* 8034F88C 0034C7EC 38 E0 00 0C */ li r7, 0xc +/* 8034F890 0034C7F0 48 03 9E BD */ bl __construct_array +/* 8034F894 0034C7F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F898 0034C7F8 7F E3 FB 78 */ mr r3, r31 +/* 8034F89C 0034C7FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F8A0 0034C800 7C 08 03 A6 */ mtlr r0 +/* 8034F8A4 0034C804 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F8A8 0034C808 4E 80 00 20 */ blr + +.global __ct__17CControllerButtonFv +__ct__17CControllerButtonFv: +/* 8034F8AC 0034C80C 38 00 00 00 */ li r0, 0 +/* 8034F8B0 0034C810 98 03 00 00 */ stb r0, 0(r3) +/* 8034F8B4 0034C814 98 03 00 01 */ stb r0, 1(r3) +/* 8034F8B8 0034C818 98 03 00 02 */ stb r0, 2(r3) +/* 8034F8BC 0034C81C 4E 80 00 20 */ blr + +.global __ct__15CControllerAxisFv +__ct__15CControllerAxisFv: +/* 8034F8C0 0034C820 C0 02 CC 78 */ lfs f0, lbl_805AE998@sda21(r2) +/* 8034F8C4 0034C824 D0 03 00 00 */ stfs f0, 0(r3) +/* 8034F8C8 0034C828 D0 03 00 04 */ stfs f0, 4(r3) +/* 8034F8CC 0034C82C 4E 80 00 20 */ blr + +.global UpdateFilePos__8CDvdFileFi +UpdateFilePos__8CDvdFileFi: +/* 8034F8D0 0034C830 38 04 00 1F */ addi r0, r4, 0x1f +/* 8034F8D4 0034C834 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8034F8D8 0034C838 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 8034F8DC 0034C83C 7C 04 02 14 */ add r0, r4, r0 +/* 8034F8E0 0034C840 90 03 00 10 */ stw r0, 0x10(r3) +/* 8034F8E4 0034C844 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8034F8E8 0034C848 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8034F8EC 0034C84C 7C 00 20 00 */ cmpw r0, r4 +/* 8034F8F0 0034C850 4C 81 00 20 */ blelr +/* 8034F8F4 0034C854 90 83 00 10 */ stw r4, 0x10(r3) +/* 8034F8F8 0034C858 4E 80 00 20 */ blr + +.global CalcFileOffset__8CDvdFileFi11ESeekOrigin +CalcFileOffset__8CDvdFileFi11ESeekOrigin: +/* 8034F8FC 0034C85C 2C 05 00 01 */ cmpwi r5, 1 +/* 8034F900 0034C860 41 82 00 28 */ beq lbl_8034F928 +/* 8034F904 0034C864 40 80 00 10 */ bge lbl_8034F914 +/* 8034F908 0034C868 2C 05 00 00 */ cmpwi r5, 0 +/* 8034F90C 0034C86C 40 80 00 14 */ bge lbl_8034F920 +/* 8034F910 0034C870 4E 80 00 20 */ blr +lbl_8034F914: +/* 8034F914 0034C874 2C 05 00 03 */ cmpwi r5, 3 +/* 8034F918 0034C878 4C 80 00 20 */ bgelr +/* 8034F91C 0034C87C 48 00 00 1C */ b lbl_8034F938 +lbl_8034F920: +/* 8034F920 0034C880 90 83 00 10 */ stw r4, 0x10(r3) +/* 8034F924 0034C884 4E 80 00 20 */ blr +lbl_8034F928: +/* 8034F928 0034C888 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8034F92C 0034C88C 7C 00 22 14 */ add r0, r0, r4 +/* 8034F930 0034C890 90 03 00 10 */ stw r0, 0x10(r3) +/* 8034F934 0034C894 4E 80 00 20 */ blr +lbl_8034F938: +/* 8034F938 0034C898 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8034F93C 0034C89C 7C 04 02 14 */ add r0, r4, r0 +/* 8034F940 0034C8A0 90 03 00 10 */ stw r0, 0x10(r3) +/* 8034F944 0034C8A4 4E 80 00 20 */ blr + +.global internalCallback__8CDvdFileFlP11DVDFileInfo +internalCallback__8CDvdFileFlP11DVDFileInfo: +/* 8034F948 0034C8A8 4E 80 00 20 */ blr + +.global FileExists__8CDvdFileFPCc +FileExists__8CDvdFileFPCc: +/* 8034F94C 0034C8AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F950 0034C8B0 7C 08 02 A6 */ mflr r0 +/* 8034F954 0034C8B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F958 0034C8B8 48 00 0B 99 */ bl DecodeARAMFile__FPCc +/* 8034F95C 0034C8BC 48 02 19 C1 */ bl DVDConvertPathToEntrynum +/* 8034F960 0034C8C0 20 83 FF FF */ subfic r4, r3, -1 +/* 8034F964 0034C8C4 38 03 00 01 */ addi r0, r3, 1 +/* 8034F968 0034C8C8 7C 80 03 78 */ or r0, r4, r0 +/* 8034F96C 0034C8CC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8034F970 0034C8D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F974 0034C8D4 7C 08 03 A6 */ mtlr r0 +/* 8034F978 0034C8D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F97C 0034C8DC 4E 80 00 20 */ blr + +.global CloseFile__8CDvdFileFv +CloseFile__8CDvdFileFv: +/* 8034F980 0034C8E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F984 0034C8E4 7C 08 02 A6 */ mflr r0 +/* 8034F988 0034C8E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F98C 0034C8EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F990 0034C8F0 7C 7F 1B 78 */ mr r31, r3 +/* 8034F994 0034C8F4 88 03 00 08 */ lbz r0, 8(r3) +/* 8034F998 0034C8F8 28 00 00 00 */ cmplwi r0, 0 +/* 8034F99C 0034C8FC 41 82 00 10 */ beq lbl_8034F9AC +/* 8034F9A0 0034C900 48 00 03 ED */ bl StallForARAMFile__8CDvdFileFv +/* 8034F9A4 0034C904 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034F9A8 0034C908 4B FF 51 15 */ bl Free__12CARAMManagerFPCv +lbl_8034F9AC: +/* 8034F9AC 0034C90C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F9B0 0034C910 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F9B4 0034C914 7C 08 03 A6 */ mtlr r0 +/* 8034F9B8 0034C918 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F9BC 0034C91C 4E 80 00 20 */ blr + +.global AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini: +/* 8034F9C0 0034C920 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034F9C4 0034C924 7C 08 02 A6 */ mflr r0 +/* 8034F9C8 0034C928 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034F9CC 0034C92C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034F9D0 0034C930 7C 7D 1B 78 */ mr r29, r3 +/* 8034F9D4 0034C934 7C 9E 23 78 */ mr r30, r4 +/* 8034F9D8 0034C938 7C BF 2B 78 */ mr r31, r5 +/* 8034F9DC 0034C93C 7C DC 33 78 */ mr r28, r6 +/* 8034F9E0 0034C940 7C FB 3B 78 */ mr r27, r7 +/* 8034F9E4 0034C944 48 00 03 A9 */ bl StallForARAMFile__8CDvdFileFv +/* 8034F9E8 0034C948 7F A3 EB 78 */ mr r3, r29 +/* 8034F9EC 0034C94C 7F 64 DB 78 */ mr r4, r27 +/* 8034F9F0 0034C950 7F 85 E3 78 */ mr r5, r28 +/* 8034F9F4 0034C954 4B FF FF 09 */ bl CalcFileOffset__8CDvdFileFi11ESeekOrigin +/* 8034F9F8 0034C958 88 1D 00 08 */ lbz r0, 8(r29) +/* 8034F9FC 0034C95C 28 00 00 00 */ cmplwi r0, 0 +/* 8034FA00 0034C960 41 82 00 74 */ beq lbl_8034FA74 +/* 8034FA04 0034C964 38 1F 00 1F */ addi r0, r31, 0x1f +/* 8034FA08 0034C968 7F C3 F3 78 */ mr r3, r30 +/* 8034FA0C 0034C96C 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a +/* 8034FA10 0034C970 7F 64 DB 78 */ mr r4, r27 +/* 8034FA14 0034C974 48 02 F0 9D */ bl DCFlushRange +/* 8034FA18 0034C978 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 8034FA1C 0034C97C 38 60 00 08 */ li r3, 8 +/* 8034FA20 0034C980 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 8034FA24 0034C984 38 A0 00 00 */ li r5, 0 +/* 8034FA28 0034C988 4B FC 5E 45 */ bl __nw__FUlPCcPCc +/* 8034FA2C 0034C98C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8034FA30 0034C990 41 82 00 3C */ beq lbl_8034FA6C +/* 8034FA34 0034C994 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034FA38 0034C998 7F C4 F3 78 */ mr r4, r30 +/* 8034FA3C 0034C99C 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8034FA40 0034C9A0 7F 65 DB 78 */ mr r5, r27 +/* 8034FA44 0034C9A4 38 C0 00 01 */ li r6, 1 +/* 8034FA48 0034C9A8 7C 63 02 14 */ add r3, r3, r0 +/* 8034FA4C 0034C9AC 4B FF 4E 05 */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 8034FA50 0034C9B0 3C A0 80 3E */ lis r5, lbl_803D9FF8@ha +/* 8034FA54 0034C9B4 3C 80 80 3F */ lis r4, lbl_803ED578@ha +/* 8034FA58 0034C9B8 38 05 9F F8 */ addi r0, r5, lbl_803D9FF8@l +/* 8034FA5C 0034C9BC 90 1C 00 00 */ stw r0, 0(r28) +/* 8034FA60 0034C9C0 38 04 D5 78 */ addi r0, r4, lbl_803ED578@l +/* 8034FA64 0034C9C4 90 1C 00 00 */ stw r0, 0(r28) +/* 8034FA68 0034C9C8 90 7C 00 04 */ stw r3, 4(r28) +lbl_8034FA6C: +/* 8034FA6C 0034C9CC 7F 9B E3 78 */ mr r27, r28 +/* 8034FA70 0034C9D0 48 00 00 70 */ b lbl_8034FAE0 +lbl_8034FA74: +/* 8034FA74 0034C9D4 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 8034FA78 0034C9D8 38 60 00 40 */ li r3, 0x40 +/* 8034FA7C 0034C9DC 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 8034FA80 0034C9E0 38 A0 00 00 */ li r5, 0 +/* 8034FA84 0034C9E4 4B FC 5D E9 */ bl __nw__FUlPCcPCc +/* 8034FA88 0034C9E8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8034FA8C 0034C9EC 41 82 00 1C */ beq lbl_8034FAA8 +/* 8034FA90 0034C9F0 3C 80 80 3E */ lis r4, lbl_803D9FF8@ha +/* 8034FA94 0034C9F4 3C 60 80 3F */ lis r3, lbl_803ED594@ha +/* 8034FA98 0034C9F8 38 04 9F F8 */ addi r0, r4, lbl_803D9FF8@l +/* 8034FA9C 0034C9FC 90 1C 00 00 */ stw r0, 0(r28) +/* 8034FAA0 0034CA00 38 03 D5 94 */ addi r0, r3, lbl_803ED594@l +/* 8034FAA4 0034CA04 90 1C 00 00 */ stw r0, 0(r28) +lbl_8034FAA8: +/* 8034FAA8 0034CA08 3B 7C 00 04 */ addi r27, r28, 4 +/* 8034FAAC 0034CA0C 80 7D 00 00 */ lwz r3, 0(r29) +/* 8034FAB0 0034CA10 7F 64 DB 78 */ mr r4, r27 +/* 8034FAB4 0034CA14 48 02 1B 5D */ bl DVDFastOpen +/* 8034FAB8 0034CA18 3C 60 80 35 */ lis r3, internalCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 8034FABC 0034CA1C 38 1F 00 1F */ addi r0, r31, 0x1f +/* 8034FAC0 0034CA20 38 E3 F9 48 */ addi r7, r3, internalCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8034FAC4 0034CA24 80 DD 00 10 */ lwz r6, 0x10(r29) +/* 8034FAC8 0034CA28 7F 63 DB 78 */ mr r3, r27 +/* 8034FACC 0034CA2C 7F C4 F3 78 */ mr r4, r30 +/* 8034FAD0 0034CA30 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 8034FAD4 0034CA34 39 00 00 02 */ li r8, 2 +/* 8034FAD8 0034CA38 48 02 1E BD */ bl DVDReadAsyncPrio +/* 8034FADC 0034CA3C 7F 9B E3 78 */ mr r27, r28 +lbl_8034FAE0: +/* 8034FAE0 0034CA40 7F A3 EB 78 */ mr r3, r29 +/* 8034FAE4 0034CA44 7F E4 FB 78 */ mr r4, r31 +/* 8034FAE8 0034CA48 4B FF FD E9 */ bl UpdateFilePos__8CDvdFileFi +/* 8034FAEC 0034CA4C 7F 63 DB 78 */ mr r3, r27 +/* 8034FAF0 0034CA50 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034FAF4 0034CA54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034FAF8 0034CA58 7C 08 03 A6 */ mtlr r0 +/* 8034FAFC 0034CA5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034FB00 0034CA60 4E 80 00 20 */ blr + +.global SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini: +/* 8034FB04 0034CA64 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8034FB08 0034CA68 7C 08 02 A6 */ mflr r0 +/* 8034FB0C 0034CA6C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8034FB10 0034CA70 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 8034FB14 0034CA74 7C 7B 1B 78 */ mr r27, r3 +/* 8034FB18 0034CA78 7C 9C 23 78 */ mr r28, r4 +/* 8034FB1C 0034CA7C 7C BD 2B 78 */ mr r29, r5 +/* 8034FB20 0034CA80 7C DE 33 78 */ mr r30, r6 +/* 8034FB24 0034CA84 7C FF 3B 78 */ mr r31, r7 +/* 8034FB28 0034CA88 48 00 02 65 */ bl StallForARAMFile__8CDvdFileFv +/* 8034FB2C 0034CA8C 7F 63 DB 78 */ mr r3, r27 +/* 8034FB30 0034CA90 7F E4 FB 78 */ mr r4, r31 +/* 8034FB34 0034CA94 7F C5 F3 78 */ mr r5, r30 +/* 8034FB38 0034CA98 4B FF FD C5 */ bl CalcFileOffset__8CDvdFileFi11ESeekOrigin +/* 8034FB3C 0034CA9C 88 1B 00 08 */ lbz r0, 8(r27) +/* 8034FB40 0034CAA0 28 00 00 00 */ cmplwi r0, 0 +/* 8034FB44 0034CAA4 41 82 00 3C */ beq lbl_8034FB80 +/* 8034FB48 0034CAA8 38 1D 00 1F */ addi r0, r29, 0x1f +/* 8034FB4C 0034CAAC 7F 83 E3 78 */ mr r3, r28 +/* 8034FB50 0034CAB0 54 1F 00 34 */ rlwinm r31, r0, 0, 0, 0x1a +/* 8034FB54 0034CAB4 7F E4 FB 78 */ mr r4, r31 +/* 8034FB58 0034CAB8 48 02 EF 59 */ bl DCFlushRange +/* 8034FB5C 0034CABC 80 7B 00 04 */ lwz r3, 4(r27) +/* 8034FB60 0034CAC0 7F 84 E3 78 */ mr r4, r28 +/* 8034FB64 0034CAC4 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8034FB68 0034CAC8 7F E5 FB 78 */ mr r5, r31 +/* 8034FB6C 0034CACC 38 C0 00 01 */ li r6, 1 +/* 8034FB70 0034CAD0 7C 63 02 14 */ add r3, r3, r0 +/* 8034FB74 0034CAD4 4B FF 4C DD */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 8034FB78 0034CAD8 4B FF 4B D1 */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 8034FB7C 0034CADC 48 00 00 4C */ b lbl_8034FBC8 +lbl_8034FB80: +/* 8034FB80 0034CAE0 80 7B 00 00 */ lwz r3, 0(r27) +/* 8034FB84 0034CAE4 38 81 00 08 */ addi r4, r1, 8 +/* 8034FB88 0034CAE8 48 02 1A 89 */ bl DVDFastOpen +/* 8034FB8C 0034CAEC 3C 60 80 35 */ lis r3, internalCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 8034FB90 0034CAF0 38 1D 00 1F */ addi r0, r29, 0x1f +/* 8034FB94 0034CAF4 38 E3 F9 48 */ addi r7, r3, internalCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8034FB98 0034CAF8 80 DB 00 10 */ lwz r6, 0x10(r27) +/* 8034FB9C 0034CAFC 7F 84 E3 78 */ mr r4, r28 +/* 8034FBA0 0034CB00 38 61 00 08 */ addi r3, r1, 8 +/* 8034FBA4 0034CB04 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 8034FBA8 0034CB08 39 00 00 02 */ li r8, 2 +/* 8034FBAC 0034CB0C 48 02 1D E9 */ bl DVDReadAsyncPrio +lbl_8034FBB0: +/* 8034FBB0 0034CB10 38 61 00 08 */ addi r3, r1, 8 +/* 8034FBB4 0034CB14 48 02 45 51 */ bl DVDGetCommandBlockStatus +/* 8034FBB8 0034CB18 2C 03 00 00 */ cmpwi r3, 0 +/* 8034FBBC 0034CB1C 40 82 FF F4 */ bne lbl_8034FBB0 +/* 8034FBC0 0034CB20 38 61 00 08 */ addi r3, r1, 8 +/* 8034FBC4 0034CB24 48 02 1B 89 */ bl DVDClose +lbl_8034FBC8: +/* 8034FBC8 0034CB28 7F 63 DB 78 */ mr r3, r27 +/* 8034FBCC 0034CB2C 7F A4 EB 78 */ mr r4, r29 +/* 8034FBD0 0034CB30 4B FF FD 01 */ bl UpdateFilePos__8CDvdFileFi +/* 8034FBD4 0034CB34 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8034FBD8 0034CB38 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8034FBDC 0034CB3C 7C 08 03 A6 */ mtlr r0 +/* 8034FBE0 0034CB40 38 21 00 60 */ addi r1, r1, 0x60 +/* 8034FBE4 0034CB44 4E 80 00 20 */ blr + +.global SyncRead__8CDvdFileFPvUi +SyncRead__8CDvdFileFPvUi: +/* 8034FBE8 0034CB48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034FBEC 0034CB4C 7C 08 02 A6 */ mflr r0 +/* 8034FBF0 0034CB50 38 C0 00 01 */ li r6, 1 +/* 8034FBF4 0034CB54 38 E0 00 00 */ li r7, 0 +/* 8034FBF8 0034CB58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034FBFC 0034CB5C 4B FF FD C5 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8034FC00 0034CB60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034FC04 0034CB64 7C 08 03 A6 */ mtlr r0 +/* 8034FC08 0034CB68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034FC0C 0034CB6C 4E 80 00 20 */ blr + +.global __dt__8CDvdFileFv +__dt__8CDvdFileFv: +/* 8034FC10 0034CB70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034FC14 0034CB74 7C 08 02 A6 */ mflr r0 +/* 8034FC18 0034CB78 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034FC1C 0034CB7C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034FC20 0034CB80 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034FC24 0034CB84 7C 9C 23 78 */ mr r28, r4 +/* 8034FC28 0034CB88 41 82 00 90 */ beq lbl_8034FCB8 +/* 8034FC2C 0034CB8C 4B FF FD 55 */ bl CloseFile__8CDvdFileFv +/* 8034FC30 0034CB90 34 1B 00 18 */ addic. r0, r27, 0x18 +/* 8034FC34 0034CB94 41 82 00 0C */ beq lbl_8034FC40 +/* 8034FC38 0034CB98 38 7B 00 18 */ addi r3, r27, 0x18 +/* 8034FC3C 0034CB9C 4B FE DE A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034FC40: +/* 8034FC40 0034CBA0 34 1B 00 0C */ addic. r0, r27, 0xc +/* 8034FC44 0034CBA4 41 82 00 64 */ beq lbl_8034FCA8 +/* 8034FC48 0034CBA8 83 FB 00 0C */ lwz r31, 0xc(r27) +/* 8034FC4C 0034CBAC 28 1F 00 00 */ cmplwi r31, 0 +/* 8034FC50 0034CBB0 41 82 00 58 */ beq lbl_8034FCA8 +/* 8034FC54 0034CBB4 34 1F 00 64 */ addic. r0, r31, 0x64 +/* 8034FC58 0034CBB8 41 82 00 48 */ beq lbl_8034FCA0 +/* 8034FC5C 0034CBBC 3B BF 00 68 */ addi r29, r31, 0x68 +/* 8034FC60 0034CBC0 3B C0 00 00 */ li r30, 0 +/* 8034FC64 0034CBC4 48 00 00 28 */ b lbl_8034FC8C +lbl_8034FC68: +/* 8034FC68 0034CBC8 28 1D 00 00 */ cmplwi r29, 0 +/* 8034FC6C 0034CBCC 41 82 00 18 */ beq lbl_8034FC84 +/* 8034FC70 0034CBD0 88 1D 00 00 */ lbz r0, 0(r29) +/* 8034FC74 0034CBD4 28 00 00 00 */ cmplwi r0, 0 +/* 8034FC78 0034CBD8 41 82 00 0C */ beq lbl_8034FC84 +/* 8034FC7C 0034CBDC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034FC80 0034CBE0 4B FC 5C B1 */ bl Free__7CMemoryFPCv +lbl_8034FC84: +/* 8034FC84 0034CBE4 3B BD 00 08 */ addi r29, r29, 8 +/* 8034FC88 0034CBE8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8034FC8C: +/* 8034FC8C 0034CBEC 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8034FC90 0034CBF0 7C 1E 00 00 */ cmpw r30, r0 +/* 8034FC94 0034CBF4 41 80 FF D4 */ blt lbl_8034FC68 +/* 8034FC98 0034CBF8 38 00 00 00 */ li r0, 0 +/* 8034FC9C 0034CBFC 90 1F 00 64 */ stw r0, 0x64(r31) +lbl_8034FCA0: +/* 8034FCA0 0034CC00 7F E3 FB 78 */ mr r3, r31 +/* 8034FCA4 0034CC04 4B FC 5C 8D */ bl Free__7CMemoryFPCv +lbl_8034FCA8: +/* 8034FCA8 0034CC08 7F 80 07 35 */ extsh. r0, r28 +/* 8034FCAC 0034CC0C 40 81 00 0C */ ble lbl_8034FCB8 +/* 8034FCB0 0034CC10 7F 63 DB 78 */ mr r3, r27 +/* 8034FCB4 0034CC14 4B FC 5C 7D */ bl Free__7CMemoryFPCv +lbl_8034FCB8: +/* 8034FCB8 0034CC18 7F 63 DB 78 */ mr r3, r27 +/* 8034FCBC 0034CC1C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034FCC0 0034CC20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034FCC4 0034CC24 7C 08 03 A6 */ mtlr r0 +/* 8034FCC8 0034CC28 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034FCCC 0034CC2C 4E 80 00 20 */ blr + +.global __ct__8CDvdFileFPCc +__ct__8CDvdFileFPCc: +/* 8034FCD0 0034CC30 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8034FCD4 0034CC34 7C 08 02 A6 */ mflr r0 +/* 8034FCD8 0034CC38 38 A0 FF FF */ li r5, -1 +/* 8034FCDC 0034CC3C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8034FCE0 0034CC40 38 00 FF FF */ li r0, -1 +/* 8034FCE4 0034CC44 38 C1 00 08 */ addi r6, r1, 8 +/* 8034FCE8 0034CC48 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8034FCEC 0034CC4C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8034FCF0 0034CC50 7C 9E 23 78 */ mr r30, r4 +/* 8034FCF4 0034CC54 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8034FCF8 0034CC58 7C 7D 1B 78 */ mr r29, r3 +/* 8034FCFC 0034CC5C 90 03 00 00 */ stw r0, 0(r3) +/* 8034FD00 0034CC60 38 00 00 00 */ li r0, 0 +/* 8034FD04 0034CC64 38 7D 00 18 */ addi r3, r29, 0x18 +/* 8034FD08 0034CC68 90 1D 00 04 */ stw r0, 4(r29) +/* 8034FD0C 0034CC6C 98 1D 00 08 */ stb r0, 8(r29) +/* 8034FD10 0034CC70 98 1D 00 09 */ stb r0, 9(r29) +/* 8034FD14 0034CC74 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034FD18 0034CC78 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034FD1C 0034CC7C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8034FD20 0034CC80 4B FE E4 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8034FD24 0034CC84 7F C3 F3 78 */ mr r3, r30 +/* 8034FD28 0034CC88 48 00 07 C9 */ bl DecodeARAMFile__FPCc +/* 8034FD2C 0034CC8C 7C 7F 1B 78 */ mr r31, r3 +/* 8034FD30 0034CC90 48 02 15 ED */ bl DVDConvertPathToEntrynum +/* 8034FD34 0034CC94 90 7D 00 00 */ stw r3, 0(r29) +/* 8034FD38 0034CC98 80 7D 00 00 */ lwz r3, 0(r29) +/* 8034FD3C 0034CC9C 2C 03 FF FF */ cmpwi r3, -1 +/* 8034FD40 0034CCA0 41 82 00 0C */ beq lbl_8034FD4C +/* 8034FD44 0034CCA4 38 81 00 0C */ addi r4, r1, 0xc +/* 8034FD48 0034CCA8 48 02 18 C9 */ bl DVDFastOpen +lbl_8034FD4C: +/* 8034FD4C 0034CCAC 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8034FD50 0034CCB0 38 61 00 0C */ addi r3, r1, 0xc +/* 8034FD54 0034CCB4 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8034FD58 0034CCB8 48 02 19 F5 */ bl DVDClose +/* 8034FD5C 0034CCBC 7C 1E F8 40 */ cmplw r30, r31 +/* 8034FD60 0034CCC0 41 82 00 0C */ beq lbl_8034FD6C +/* 8034FD64 0034CCC4 7F A3 EB 78 */ mr r3, r29 +/* 8034FD68 0034CCC8 48 00 03 D5 */ bl TryARAMFile__8CDvdFileFv +lbl_8034FD6C: +/* 8034FD6C 0034CCCC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8034FD70 0034CCD0 7F A3 EB 78 */ mr r3, r29 +/* 8034FD74 0034CCD4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8034FD78 0034CCD8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8034FD7C 0034CCDC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8034FD80 0034CCE0 7C 08 03 A6 */ mtlr r0 +/* 8034FD84 0034CCE4 38 21 00 60 */ addi r1, r1, 0x60 +/* 8034FD88 0034CCE8 4E 80 00 20 */ blr + +.global StallForARAMFile__8CDvdFileFv +StallForARAMFile__8CDvdFileFv: +/* 8034FD8C 0034CCEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034FD90 0034CCF0 7C 08 02 A6 */ mflr r0 +/* 8034FD94 0034CCF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034FD98 0034CCF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034FD9C 0034CCFC 7C 7F 1B 78 */ mr r31, r3 +/* 8034FDA0 0034CD00 48 00 00 08 */ b lbl_8034FDA8 +lbl_8034FDA4: +/* 8034FDA4 0034CD04 48 03 4D 79 */ bl OSYieldThread +lbl_8034FDA8: +/* 8034FDA8 0034CD08 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8034FDAC 0034CD0C 28 00 00 00 */ cmplwi r0, 0 +/* 8034FDB0 0034CD10 40 82 FF F4 */ bne lbl_8034FDA4 +/* 8034FDB4 0034CD14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034FDB8 0034CD18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034FDBC 0034CD1C 7C 08 03 A6 */ mtlr r0 +/* 8034FDC0 0034CD20 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034FDC4 0034CD24 4E 80 00 20 */ blr + +.global StartARAMFileLoad__8CDvdFileFv +StartARAMFileLoad__8CDvdFileFv: +/* 8034FDC8 0034CD28 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034FDCC 0034CD2C 7C 08 02 A6 */ mflr r0 +/* 8034FDD0 0034CD30 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034FDD4 0034CD34 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034FDD8 0034CD38 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034FDDC 0034CD3C 38 80 FF FF */ li r4, -1 +/* 8034FDE0 0034CD40 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8034FDE4 0034CD44 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8034FDE8 0034CD48 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8034FDEC 0034CD4C 7C 7D 1B 78 */ mr r29, r3 +/* 8034FDF0 0034CD50 3C 60 80 3E */ lis r3, lbl_803D8230@ha +/* 8034FDF4 0034CD54 93 81 00 30 */ stw r28, 0x30(r1) +/* 8034FDF8 0034CD58 38 A3 82 30 */ addi r5, r3, lbl_803D8230@l +/* 8034FDFC 0034CD5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034FE00 0034CD60 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 8034FE04 0034CD64 4B F8 65 D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034FE08 0034CD68 7C 67 1B 78 */ mr r7, r3 +/* 8034FE0C 0034CD6C 3C 60 00 01 */ lis r3, 1 +/* 8034FE10 0034CD70 38 80 00 02 */ li r4, 2 +/* 8034FE14 0034CD74 38 A0 00 01 */ li r5, 1 +/* 8034FE18 0034CD78 38 C0 00 00 */ li r6, 0 +/* 8034FE1C 0034CD7C 4B FC 5B 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034FE20 0034CD80 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8034FE24 0034CD84 7C 83 00 D0 */ neg r4, r3 +/* 8034FE28 0034CD88 7C 84 1B 78 */ or r4, r4, r3 +/* 8034FE2C 0034CD8C 3B DF 00 68 */ addi r30, r31, 0x68 +/* 8034FE30 0034CD90 54 00 18 38 */ slwi r0, r0, 3 +/* 8034FE34 0034CD94 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8034FE38 0034CD98 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034FE3C 0034CD9C 7C BE 02 15 */ add. r5, r30, r0 +/* 8034FE40 0034CDA0 98 81 00 18 */ stb r4, 0x18(r1) +/* 8034FE44 0034CDA4 41 82 00 14 */ beq lbl_8034FE58 +/* 8034FE48 0034CDA8 98 85 00 00 */ stb r4, 0(r5) +/* 8034FE4C 0034CDAC 38 00 00 00 */ li r0, 0 +/* 8034FE50 0034CDB0 90 65 00 04 */ stw r3, 4(r5) +/* 8034FE54 0034CDB4 98 01 00 18 */ stb r0, 0x18(r1) +lbl_8034FE58: +/* 8034FE58 0034CDB8 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8034FE5C 0034CDBC 88 01 00 18 */ lbz r0, 0x18(r1) +/* 8034FE60 0034CDC0 38 63 00 01 */ addi r3, r3, 1 +/* 8034FE64 0034CDC4 28 00 00 00 */ cmplwi r0, 0 +/* 8034FE68 0034CDC8 90 7F 00 64 */ stw r3, 0x64(r31) +/* 8034FE6C 0034CDCC 41 82 00 0C */ beq lbl_8034FE78 +/* 8034FE70 0034CDD0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8034FE74 0034CDD4 4B FC 5A BD */ bl Free__7CMemoryFPCv +lbl_8034FE78: +/* 8034FE78 0034CDD8 3C 60 80 3E */ lis r3, lbl_803D8230@ha +/* 8034FE7C 0034CDDC 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034FE80 0034CDE0 38 A3 82 30 */ addi r5, r3, lbl_803D8230@l +/* 8034FE84 0034CDE4 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034FE88 0034CDE8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034FE8C 0034CDEC 38 80 FF FF */ li r4, -1 +/* 8034FE90 0034CDF0 4B F8 65 45 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034FE94 0034CDF4 7C 67 1B 78 */ mr r7, r3 +/* 8034FE98 0034CDF8 3C 60 00 01 */ lis r3, 1 +/* 8034FE9C 0034CDFC 38 80 00 02 */ li r4, 2 +/* 8034FEA0 0034CE00 38 A0 00 01 */ li r5, 1 +/* 8034FEA4 0034CE04 38 C0 00 00 */ li r6, 0 +/* 8034FEA8 0034CE08 4B FC 5A ED */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034FEAC 0034CE0C 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8034FEB0 0034CE10 7C 83 00 D0 */ neg r4, r3 +/* 8034FEB4 0034CE14 7C 84 1B 78 */ or r4, r4, r3 +/* 8034FEB8 0034CE18 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034FEBC 0034CE1C 54 00 18 38 */ slwi r0, r0, 3 +/* 8034FEC0 0034CE20 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034FEC4 0034CE24 7C BE 02 15 */ add. r5, r30, r0 +/* 8034FEC8 0034CE28 98 81 00 08 */ stb r4, 8(r1) +/* 8034FECC 0034CE2C 41 82 00 14 */ beq lbl_8034FEE0 +/* 8034FED0 0034CE30 98 85 00 00 */ stb r4, 0(r5) +/* 8034FED4 0034CE34 38 00 00 00 */ li r0, 0 +/* 8034FED8 0034CE38 90 65 00 04 */ stw r3, 4(r5) +/* 8034FEDC 0034CE3C 98 01 00 08 */ stb r0, 8(r1) +lbl_8034FEE0: +/* 8034FEE0 0034CE40 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8034FEE4 0034CE44 88 01 00 08 */ lbz r0, 8(r1) +/* 8034FEE8 0034CE48 38 63 00 01 */ addi r3, r3, 1 +/* 8034FEEC 0034CE4C 28 00 00 00 */ cmplwi r0, 0 +/* 8034FEF0 0034CE50 90 7F 00 64 */ stw r3, 0x64(r31) +/* 8034FEF4 0034CE54 41 82 00 0C */ beq lbl_8034FF00 +/* 8034FEF8 0034CE58 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034FEFC 0034CE5C 4B FC 5A 35 */ bl Free__7CMemoryFPCv +lbl_8034FF00: +/* 8034FF00 0034CE60 80 6D 9D F8 */ lwz r3, lbl_805A89B8@sda21(r13) +/* 8034FF04 0034CE64 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 8034FF08 0034CE68 7C 03 00 00 */ cmpw r3, r0 +/* 8034FF0C 0034CE6C 40 80 00 0C */ bge lbl_8034FF18 +/* 8034FF10 0034CE70 38 6D 9D F8 */ addi r3, r13, lbl_805A89B8@sda21 +/* 8034FF14 0034CE74 48 00 00 08 */ b lbl_8034FF1C +lbl_8034FF18: +/* 8034FF18 0034CE78 38 7D 00 14 */ addi r3, r29, 0x14 +lbl_8034FF1C: +/* 8034FF1C 0034CE7C 83 83 00 00 */ lwz r28, 0(r3) +/* 8034FF20 0034CE80 38 9F 00 20 */ addi r4, r31, 0x20 +/* 8034FF24 0034CE84 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8034FF28 0034CE88 7C 1C 00 50 */ subf r0, r28, r0 +/* 8034FF2C 0034CE8C 90 1F 00 84 */ stw r0, 0x84(r31) +/* 8034FF30 0034CE90 93 9F 00 80 */ stw r28, 0x80(r31) +/* 8034FF34 0034CE94 80 7D 00 00 */ lwz r3, 0(r29) +/* 8034FF38 0034CE98 48 02 16 D9 */ bl DVDFastOpen +/* 8034FF3C 0034CE9C 3C 60 80 35 */ lis r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 8034FF40 0034CEA0 80 9E 00 04 */ lwz r4, 4(r30) +/* 8034FF44 0034CEA4 38 E3 04 B8 */ addi r7, r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8034FF48 0034CEA8 7F 85 E3 78 */ mr r5, r28 +/* 8034FF4C 0034CEAC 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8034FF50 0034CEB0 38 C0 00 00 */ li r6, 0 +/* 8034FF54 0034CEB4 39 00 00 02 */ li r8, 2 +/* 8034FF58 0034CEB8 48 02 1A 3D */ bl DVDReadAsyncPrio +/* 8034FF5C 0034CEBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034FF60 0034CEC0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8034FF64 0034CEC4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8034FF68 0034CEC8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8034FF6C 0034CECC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8034FF70 0034CED0 7C 08 03 A6 */ mtlr r0 +/* 8034FF74 0034CED4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034FF78 0034CED8 4E 80 00 20 */ blr + +.global sub_8034ff7c +sub_8034ff7c: +/* 8034FF7C 0034CEDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034FF80 0034CEE0 7C 08 02 A6 */ mflr r0 +/* 8034FF84 0034CEE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034FF88 0034CEE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034FF8C 0034CEEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034FF90 0034CEF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034FF94 0034CEF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034FF98 0034CEF8 7C 7C 1B 78 */ mr r28, r3 +/* 8034FF9C 0034CEFC 88 03 00 08 */ lbz r0, 8(r3) +/* 8034FFA0 0034CF00 28 00 00 00 */ cmplwi r0, 0 +/* 8034FFA4 0034CF04 40 82 00 0C */ bne lbl_8034FFB0 +/* 8034FFA8 0034CF08 38 60 00 01 */ li r3, 1 +/* 8034FFAC 0034CF0C 48 00 00 84 */ b lbl_80350030 +lbl_8034FFB0: +/* 8034FFB0 0034CF10 88 1C 00 09 */ lbz r0, 9(r28) +/* 8034FFB4 0034CF14 28 00 00 00 */ cmplwi r0, 0 +/* 8034FFB8 0034CF18 40 82 00 0C */ bne lbl_8034FFC4 +/* 8034FFBC 0034CF1C 38 60 00 00 */ li r3, 0 +/* 8034FFC0 0034CF20 48 00 00 70 */ b lbl_80350030 +lbl_8034FFC4: +/* 8034FFC4 0034CF24 83 FC 00 0C */ lwz r31, 0xc(r28) +/* 8034FFC8 0034CF28 28 1F 00 00 */ cmplwi r31, 0 +/* 8034FFCC 0034CF2C 41 82 00 58 */ beq lbl_80350024 +/* 8034FFD0 0034CF30 34 1F 00 64 */ addic. r0, r31, 0x64 +/* 8034FFD4 0034CF34 41 82 00 48 */ beq lbl_8035001C +/* 8034FFD8 0034CF38 3B BF 00 68 */ addi r29, r31, 0x68 +/* 8034FFDC 0034CF3C 3B C0 00 00 */ li r30, 0 +/* 8034FFE0 0034CF40 48 00 00 28 */ b lbl_80350008 +lbl_8034FFE4: +/* 8034FFE4 0034CF44 28 1D 00 00 */ cmplwi r29, 0 +/* 8034FFE8 0034CF48 41 82 00 18 */ beq lbl_80350000 +/* 8034FFEC 0034CF4C 88 1D 00 00 */ lbz r0, 0(r29) +/* 8034FFF0 0034CF50 28 00 00 00 */ cmplwi r0, 0 +/* 8034FFF4 0034CF54 41 82 00 0C */ beq lbl_80350000 +/* 8034FFF8 0034CF58 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034FFFC 0034CF5C 4B FC 59 35 */ bl Free__7CMemoryFPCv +lbl_80350000: +/* 80350000 0034CF60 3B BD 00 08 */ addi r29, r29, 8 +/* 80350004 0034CF64 3B DE 00 01 */ addi r30, r30, 1 +lbl_80350008: +/* 80350008 0034CF68 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8035000C 0034CF6C 7C 1E 00 00 */ cmpw r30, r0 +/* 80350010 0034CF70 41 80 FF D4 */ blt lbl_8034FFE4 +/* 80350014 0034CF74 38 00 00 00 */ li r0, 0 +/* 80350018 0034CF78 90 1F 00 64 */ stw r0, 0x64(r31) +lbl_8035001C: +/* 8035001C 0034CF7C 7F E3 FB 78 */ mr r3, r31 +/* 80350020 0034CF80 4B FC 59 11 */ bl Free__7CMemoryFPCv +lbl_80350024: +/* 80350024 0034CF84 38 00 00 00 */ li r0, 0 +/* 80350028 0034CF88 38 60 00 01 */ li r3, 1 +/* 8035002C 0034CF8C 90 1C 00 0C */ stw r0, 0xc(r28) +lbl_80350030: +/* 80350030 0034CF90 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350034 0034CF94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350038 0034CF98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035003C 0034CF9C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350040 0034CFA0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80350044 0034CFA4 7C 08 03 A6 */ mtlr r0 +/* 80350048 0034CFA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035004C 0034CFAC 4E 80 00 20 */ blr + +.global PopARAMFileLoad__8CDvdFileFv +PopARAMFileLoad__8CDvdFileFv: +/* 80350050 0034CFB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350054 0034CFB4 7C 08 02 A6 */ mflr r0 +/* 80350058 0034CFB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035005C 0034CFBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350060 0034CFC0 93 C1 00 08 */ stw r30, 8(r1) +/* 80350064 0034CFC4 7C 7E 1B 78 */ mr r30, r3 +/* 80350068 0034CFC8 48 03 15 F9 */ bl OSDisableInterrupts +/* 8035006C 0034CFCC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80350070 0034CFD0 38 00 00 01 */ li r0, 1 +/* 80350074 0034CFD4 7C 7F 1B 78 */ mr r31, r3 +/* 80350078 0034CFD8 80 84 00 60 */ lwz r4, 0x60(r4) +/* 8035007C 0034CFDC 98 1E 00 09 */ stb r0, 9(r30) +/* 80350080 0034CFE0 28 04 00 00 */ cmplwi r4, 0 +/* 80350084 0034CFE4 90 8D AA 10 */ stw r4, lbl_805A95D0@sda21(r13) +/* 80350088 0034CFE8 41 82 00 0C */ beq lbl_80350094 +/* 8035008C 0034CFEC 7C 83 23 78 */ mr r3, r4 +/* 80350090 0034CFF0 4B FF FD 39 */ bl StartARAMFileLoad__8CDvdFileFv +lbl_80350094: +/* 80350094 0034CFF4 7F E3 FB 78 */ mr r3, r31 +/* 80350098 0034CFF8 48 03 15 F1 */ bl OSRestoreInterrupts +/* 8035009C 0034CFFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803500A0 0034D000 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803500A4 0034D004 83 C1 00 08 */ lwz r30, 8(r1) +/* 803500A8 0034D008 7C 08 03 A6 */ mtlr r0 +/* 803500AC 0034D00C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803500B0 0034D010 4E 80 00 20 */ blr + +.global PushARAMFileLoad__8CDvdFileFv +PushARAMFileLoad__8CDvdFileFv: +/* 803500B4 0034D014 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803500B8 0034D018 7C 08 02 A6 */ mflr r0 +/* 803500BC 0034D01C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803500C0 0034D020 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803500C4 0034D024 93 C1 00 08 */ stw r30, 8(r1) +/* 803500C8 0034D028 7C 7E 1B 78 */ mr r30, r3 +/* 803500CC 0034D02C 48 03 15 95 */ bl OSDisableInterrupts +/* 803500D0 0034D030 80 0D AA 10 */ lwz r0, lbl_805A95D0@sda21(r13) +/* 803500D4 0034D034 7C 7F 1B 78 */ mr r31, r3 +/* 803500D8 0034D038 28 00 00 00 */ cmplwi r0, 0 +/* 803500DC 0034D03C 40 82 00 14 */ bne lbl_803500F0 +/* 803500E0 0034D040 93 CD AA 10 */ stw r30, lbl_805A95D0@sda21(r13) +/* 803500E4 0034D044 7F C3 F3 78 */ mr r3, r30 +/* 803500E8 0034D048 4B FF FC E1 */ bl StartARAMFileLoad__8CDvdFileFv +/* 803500EC 0034D04C 48 00 00 30 */ b lbl_8035011C +lbl_803500F0: +/* 803500F0 0034D050 7C 03 03 78 */ mr r3, r0 +/* 803500F4 0034D054 48 00 00 20 */ b lbl_80350114 +lbl_803500F8: +/* 803500F8 0034D058 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803500FC 0034D05C 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80350100 0034D060 28 00 00 00 */ cmplwi r0, 0 +/* 80350104 0034D064 40 82 00 0C */ bne lbl_80350110 +/* 80350108 0034D068 93 C3 00 60 */ stw r30, 0x60(r3) +/* 8035010C 0034D06C 48 00 00 10 */ b lbl_8035011C +lbl_80350110: +/* 80350110 0034D070 7C 03 03 78 */ mr r3, r0 +lbl_80350114: +/* 80350114 0034D074 28 03 00 00 */ cmplwi r3, 0 +/* 80350118 0034D078 40 82 FF E0 */ bne lbl_803500F8 +lbl_8035011C: +/* 8035011C 0034D07C 7F E3 FB 78 */ mr r3, r31 +/* 80350120 0034D080 48 03 15 69 */ bl OSRestoreInterrupts +/* 80350124 0034D084 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350128 0034D088 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035012C 0034D08C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350130 0034D090 7C 08 03 A6 */ mtlr r0 +/* 80350134 0034D094 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350138 0034D098 4E 80 00 20 */ blr + +.global TryARAMFile__8CDvdFileFv +TryARAMFile__8CDvdFileFv: +/* 8035013C 0034D09C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350140 0034D0A0 7C 08 02 A6 */ mflr r0 +/* 80350144 0034D0A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350148 0034D0A8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8035014C 0034D0AC 7C 7B 1B 78 */ mr r27, r3 +/* 80350150 0034D0B0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80350154 0034D0B4 4B FF 4A D5 */ bl Alloc__12CARAMManagerFUi +/* 80350158 0034D0B8 90 7B 00 04 */ stw r3, 4(r27) +/* 8035015C 0034D0BC 80 62 CB A8 */ lwz r3, lbl_805AE8C8@sda21(r2) +/* 80350160 0034D0C0 80 1B 00 04 */ lwz r0, 4(r27) +/* 80350164 0034D0C4 7C 03 00 40 */ cmplw r3, r0 +/* 80350168 0034D0C8 41 82 00 E0 */ beq lbl_80350248 +/* 8035016C 0034D0CC 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 80350170 0034D0D0 38 60 00 94 */ li r3, 0x94 +/* 80350174 0034D0D4 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 80350178 0034D0D8 38 A0 00 00 */ li r5, 0 +/* 8035017C 0034D0DC 4B FC 56 F1 */ bl __nw__FUlPCcPCc +/* 80350180 0034D0E0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80350184 0034D0E4 41 82 00 34 */ beq lbl_803501B8 +/* 80350188 0034D0E8 38 00 00 00 */ li r0, 0 +/* 8035018C 0034D0EC 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 80350190 0034D0F0 90 1F 00 60 */ stw r0, 0x60(r31) +/* 80350194 0034D0F4 90 1F 00 64 */ stw r0, 0x64(r31) +/* 80350198 0034D0F8 98 1F 00 78 */ stb r0, 0x78(r31) +/* 8035019C 0034D0FC 98 1F 00 79 */ stb r0, 0x79(r31) +/* 803501A0 0034D100 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 803501A4 0034D104 90 1F 00 80 */ stw r0, 0x80(r31) +/* 803501A8 0034D108 90 1F 00 84 */ stw r0, 0x84(r31) +/* 803501AC 0034D10C 90 1F 00 88 */ stw r0, 0x88(r31) +/* 803501B0 0034D110 90 1F 00 8C */ stw r0, 0x8c(r31) +/* 803501B4 0034D114 90 1F 00 90 */ stw r0, 0x90(r31) +lbl_803501B8: +/* 803501B8 0034D118 83 DB 00 0C */ lwz r30, 0xc(r27) +/* 803501BC 0034D11C 28 1E 00 00 */ cmplwi r30, 0 +/* 803501C0 0034D120 41 82 00 58 */ beq lbl_80350218 +/* 803501C4 0034D124 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 803501C8 0034D128 41 82 00 48 */ beq lbl_80350210 +/* 803501CC 0034D12C 3B 9E 00 68 */ addi r28, r30, 0x68 +/* 803501D0 0034D130 3B A0 00 00 */ li r29, 0 +/* 803501D4 0034D134 48 00 00 28 */ b lbl_803501FC +lbl_803501D8: +/* 803501D8 0034D138 28 1C 00 00 */ cmplwi r28, 0 +/* 803501DC 0034D13C 41 82 00 18 */ beq lbl_803501F4 +/* 803501E0 0034D140 88 1C 00 00 */ lbz r0, 0(r28) +/* 803501E4 0034D144 28 00 00 00 */ cmplwi r0, 0 +/* 803501E8 0034D148 41 82 00 0C */ beq lbl_803501F4 +/* 803501EC 0034D14C 80 7C 00 04 */ lwz r3, 4(r28) +/* 803501F0 0034D150 4B FC 57 41 */ bl Free__7CMemoryFPCv +lbl_803501F4: +/* 803501F4 0034D154 3B 9C 00 08 */ addi r28, r28, 8 +/* 803501F8 0034D158 3B BD 00 01 */ addi r29, r29, 1 +lbl_803501FC: +/* 803501FC 0034D15C 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 80350200 0034D160 7C 1D 00 00 */ cmpw r29, r0 +/* 80350204 0034D164 41 80 FF D4 */ blt lbl_803501D8 +/* 80350208 0034D168 38 00 00 00 */ li r0, 0 +/* 8035020C 0034D16C 90 1E 00 64 */ stw r0, 0x64(r30) +lbl_80350210: +/* 80350210 0034D170 7F C3 F3 78 */ mr r3, r30 +/* 80350214 0034D174 4B FC 57 1D */ bl Free__7CMemoryFPCv +lbl_80350218: +/* 80350218 0034D178 93 FB 00 0C */ stw r31, 0xc(r27) +/* 8035021C 0034D17C 38 80 00 01 */ li r4, 1 +/* 80350220 0034D180 7F 63 DB 78 */ mr r3, r27 +/* 80350224 0034D184 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 80350228 0034D188 93 65 00 5C */ stw r27, 0x5c(r5) +/* 8035022C 0034D18C 98 85 00 78 */ stb r4, 0x78(r5) +/* 80350230 0034D190 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 80350234 0034D194 90 05 00 8C */ stw r0, 0x8c(r5) +/* 80350238 0034D198 90 05 00 84 */ stw r0, 0x84(r5) +/* 8035023C 0034D19C 90 05 00 7C */ stw r0, 0x7c(r5) +/* 80350240 0034D1A0 98 9B 00 08 */ stb r4, 8(r27) +/* 80350244 0034D1A4 4B FF FE 71 */ bl PushARAMFileLoad__8CDvdFileFv +lbl_80350248: +/* 80350248 0034D1A8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8035024C 0034D1AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350250 0034D1B0 7C 08 03 A6 */ mtlr r0 +/* 80350254 0034D1B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350258 0034D1B8 4E 80 00 20 */ blr + +.global PingARAMTransfer__8CDvdFileFv +PingARAMTransfer__8CDvdFileFv: +/* 8035025C 0034D1BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350260 0034D1C0 7C 08 02 A6 */ mflr r0 +/* 80350264 0034D1C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350268 0034D1C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035026C 0034D1CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350270 0034D1D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350274 0034D1D4 7C 7D 1B 78 */ mr r29, r3 +/* 80350278 0034D1D8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035027C 0034D1DC 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 80350280 0034D1E0 80 9F 00 8C */ lwz r4, 0x8c(r31) +/* 80350284 0034D1E4 2C 04 00 00 */ cmpwi r4, 0 +/* 80350288 0034D1E8 40 82 00 0C */ bne lbl_80350294 +/* 8035028C 0034D1EC 4B FF FD C5 */ bl PopARAMFileLoad__8CDvdFileFv +/* 80350290 0034D1F0 48 00 01 0C */ b lbl_8035039C +lbl_80350294: +/* 80350294 0034D1F4 80 0D 9D F0 */ lwz r0, lbl_805A89B0@sda21(r13) +/* 80350298 0034D1F8 7C 04 00 00 */ cmpw r4, r0 +/* 8035029C 0034D1FC 40 80 00 0C */ bge lbl_803502A8 +/* 803502A0 0034D200 38 9F 00 8C */ addi r4, r31, 0x8c +/* 803502A4 0034D204 48 00 00 08 */ b lbl_803502AC +lbl_803502A8: +/* 803502A8 0034D208 38 8D 9D F0 */ addi r4, r13, lbl_805A89B0@sda21 +lbl_803502AC: +/* 803502AC 0034D20C 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 803502B0 0034D210 3C 60 80 35 */ lis r3, ARAMARAMXferCallback__8CDvdFileFUl@ha +/* 803502B4 0034D214 83 84 00 00 */ lwz r28, 0(r4) +/* 803502B8 0034D218 39 43 04 94 */ addi r10, r3, ARAMARAMXferCallback__8CDvdFileFUl@l +/* 803502BC 0034D21C 3B DF 00 68 */ addi r30, r31, 0x68 +/* 803502C0 0034D220 54 00 18 38 */ slwi r0, r0, 3 +/* 803502C4 0034D224 7C BE 02 14 */ add r5, r30, r0 +/* 803502C8 0034D228 80 9D 00 04 */ lwz r4, 4(r29) +/* 803502CC 0034D22C 80 1F 00 88 */ lwz r0, 0x88(r31) +/* 803502D0 0034D230 7F E3 FB 78 */ mr r3, r31 +/* 803502D4 0034D234 80 E5 00 04 */ lwz r7, 4(r5) +/* 803502D8 0034D238 7F 89 E3 78 */ mr r9, r28 +/* 803502DC 0034D23C 7D 04 02 14 */ add r8, r4, r0 +/* 803502E0 0034D240 38 80 00 00 */ li r4, 0 +/* 803502E4 0034D244 38 A0 00 00 */ li r5, 0 +/* 803502E8 0034D248 38 C0 00 01 */ li r6, 1 +/* 803502EC 0034D24C 48 01 F3 85 */ bl ARQPostRequest +/* 803502F0 0034D250 80 7F 00 8C */ lwz r3, 0x8c(r31) +/* 803502F4 0034D254 38 00 00 00 */ li r0, 0 +/* 803502F8 0034D258 7C 7C 18 50 */ subf r3, r28, r3 +/* 803502FC 0034D25C 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 80350300 0034D260 80 7F 00 88 */ lwz r3, 0x88(r31) +/* 80350304 0034D264 7C 63 E2 14 */ add r3, r3, r28 +/* 80350308 0034D268 90 7F 00 88 */ stw r3, 0x88(r31) +/* 8035030C 0034D26C 98 1F 00 78 */ stb r0, 0x78(r31) +/* 80350310 0034D270 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 80350314 0034D274 68 00 00 01 */ xori r0, r0, 1 +/* 80350318 0034D278 90 1F 00 90 */ stw r0, 0x90(r31) +/* 8035031C 0034D27C 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80350320 0034D280 2C 03 00 00 */ cmpwi r3, 0 +/* 80350324 0034D284 41 82 00 78 */ beq lbl_8035039C +/* 80350328 0034D288 80 0D 9D F4 */ lwz r0, lbl_805A89B4@sda21(r13) +/* 8035032C 0034D28C 7C 03 00 00 */ cmpw r3, r0 +/* 80350330 0034D290 40 80 00 0C */ bge lbl_8035033C +/* 80350334 0034D294 38 7F 00 84 */ addi r3, r31, 0x84 +/* 80350338 0034D298 48 00 00 08 */ b lbl_80350340 +lbl_8035033C: +/* 8035033C 0034D29C 38 6D 9D F4 */ addi r3, r13, lbl_805A89B4@sda21 +lbl_80350340: +/* 80350340 0034D2A0 83 83 00 00 */ lwz r28, 0(r3) +/* 80350344 0034D2A4 38 9F 00 20 */ addi r4, r31, 0x20 +/* 80350348 0034D2A8 80 7D 00 00 */ lwz r3, 0(r29) +/* 8035034C 0034D2AC 48 02 12 C5 */ bl DVDFastOpen +/* 80350350 0034D2B0 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 80350354 0034D2B4 3C 60 80 35 */ lis r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 80350358 0034D2B8 38 E3 04 B8 */ addi r7, r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8035035C 0034D2BC 80 DF 00 80 */ lwz r6, 0x80(r31) +/* 80350360 0034D2C0 54 03 18 38 */ slwi r3, r0, 3 +/* 80350364 0034D2C4 7F 85 E3 78 */ mr r5, r28 +/* 80350368 0034D2C8 38 03 00 04 */ addi r0, r3, 4 +/* 8035036C 0034D2CC 39 00 00 02 */ li r8, 2 +/* 80350370 0034D2D0 7C 9E 00 2E */ lwzx r4, r30, r0 +/* 80350374 0034D2D4 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80350378 0034D2D8 48 02 16 1D */ bl DVDReadAsyncPrio +/* 8035037C 0034D2DC 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80350380 0034D2E0 38 00 00 00 */ li r0, 0 +/* 80350384 0034D2E4 7C 63 E2 14 */ add r3, r3, r28 +/* 80350388 0034D2E8 90 7F 00 80 */ stw r3, 0x80(r31) +/* 8035038C 0034D2EC 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80350390 0034D2F0 7C 7C 18 50 */ subf r3, r28, r3 +/* 80350394 0034D2F4 90 7F 00 84 */ stw r3, 0x84(r31) +/* 80350398 0034D2F8 98 1F 00 79 */ stb r0, 0x79(r31) +lbl_8035039C: +/* 8035039C 0034D2FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803503A0 0034D300 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803503A4 0034D304 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803503A8 0034D308 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803503AC 0034D30C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803503B0 0034D310 7C 08 03 A6 */ mtlr r0 +/* 803503B4 0034D314 38 21 00 20 */ addi r1, r1, 0x20 +/* 803503B8 0034D318 4E 80 00 20 */ blr + +.global HandleDVDInterrupt__8CDvdFileFv +HandleDVDInterrupt__8CDvdFileFv: +/* 803503BC 0034D31C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803503C0 0034D320 7C 08 02 A6 */ mflr r0 +/* 803503C4 0034D324 90 01 00 14 */ stw r0, 0x14(r1) +/* 803503C8 0034D328 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803503CC 0034D32C 93 C1 00 08 */ stw r30, 8(r1) +/* 803503D0 0034D330 7C 7E 1B 78 */ mr r30, r3 +/* 803503D4 0034D334 48 03 12 8D */ bl OSDisableInterrupts +/* 803503D8 0034D338 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 803503DC 0034D33C 38 00 00 01 */ li r0, 1 +/* 803503E0 0034D340 7C 7F 1B 78 */ mr r31, r3 +/* 803503E4 0034D344 98 04 00 79 */ stb r0, 0x79(r4) +/* 803503E8 0034D348 88 04 00 78 */ lbz r0, 0x78(r4) +/* 803503EC 0034D34C 28 00 00 00 */ cmplwi r0, 0 +/* 803503F0 0034D350 41 82 00 18 */ beq lbl_80350408 +/* 803503F4 0034D354 88 04 00 79 */ lbz r0, 0x79(r4) +/* 803503F8 0034D358 28 00 00 00 */ cmplwi r0, 0 +/* 803503FC 0034D35C 41 82 00 0C */ beq lbl_80350408 +/* 80350400 0034D360 7F C3 F3 78 */ mr r3, r30 +/* 80350404 0034D364 4B FF FE 59 */ bl PingARAMTransfer__8CDvdFileFv +lbl_80350408: +/* 80350408 0034D368 7F E3 FB 78 */ mr r3, r31 +/* 8035040C 0034D36C 48 03 12 7D */ bl OSRestoreInterrupts +/* 80350410 0034D370 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350414 0034D374 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350418 0034D378 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035041C 0034D37C 7C 08 03 A6 */ mtlr r0 +/* 80350420 0034D380 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350424 0034D384 4E 80 00 20 */ blr + +.global HandleARAMInterrupt__8CDvdFileFv +HandleARAMInterrupt__8CDvdFileFv: +/* 80350428 0034D388 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035042C 0034D38C 7C 08 02 A6 */ mflr r0 +/* 80350430 0034D390 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350434 0034D394 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350438 0034D398 93 C1 00 08 */ stw r30, 8(r1) +/* 8035043C 0034D39C 7C 7E 1B 78 */ mr r30, r3 +/* 80350440 0034D3A0 48 03 12 21 */ bl OSDisableInterrupts +/* 80350444 0034D3A4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80350448 0034D3A8 38 00 00 01 */ li r0, 1 +/* 8035044C 0034D3AC 7C 7F 1B 78 */ mr r31, r3 +/* 80350450 0034D3B0 98 04 00 78 */ stb r0, 0x78(r4) +/* 80350454 0034D3B4 88 04 00 78 */ lbz r0, 0x78(r4) +/* 80350458 0034D3B8 28 00 00 00 */ cmplwi r0, 0 +/* 8035045C 0034D3BC 41 82 00 18 */ beq lbl_80350474 +/* 80350460 0034D3C0 88 04 00 79 */ lbz r0, 0x79(r4) +/* 80350464 0034D3C4 28 00 00 00 */ cmplwi r0, 0 +/* 80350468 0034D3C8 41 82 00 0C */ beq lbl_80350474 +/* 8035046C 0034D3CC 7F C3 F3 78 */ mr r3, r30 +/* 80350470 0034D3D0 4B FF FD ED */ bl PingARAMTransfer__8CDvdFileFv +lbl_80350474: +/* 80350474 0034D3D4 7F E3 FB 78 */ mr r3, r31 +/* 80350478 0034D3D8 48 03 12 11 */ bl OSRestoreInterrupts +/* 8035047C 0034D3DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350480 0034D3E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350484 0034D3E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350488 0034D3E8 7C 08 03 A6 */ mtlr r0 +/* 8035048C 0034D3EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350490 0034D3F0 4E 80 00 20 */ blr + +.global ARAMARAMXferCallback__8CDvdFileFUl +ARAMARAMXferCallback__8CDvdFileFUl: +/* 80350494 0034D3F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350498 0034D3F8 7C 08 02 A6 */ mflr r0 +/* 8035049C 0034D3FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803504A0 0034D400 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 803504A4 0034D404 4B FF FF 85 */ bl HandleARAMInterrupt__8CDvdFileFv +/* 803504A8 0034D408 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803504AC 0034D40C 7C 08 03 A6 */ mtlr r0 +/* 803504B0 0034D410 38 21 00 10 */ addi r1, r1, 0x10 +/* 803504B4 0034D414 4E 80 00 20 */ blr + +.global DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo +DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo: +/* 803504B8 0034D418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803504BC 0034D41C 7C 08 02 A6 */ mflr r0 +/* 803504C0 0034D420 90 01 00 14 */ stw r0, 0x14(r1) +/* 803504C4 0034D424 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803504C8 0034D428 7C 9F 23 78 */ mr r31, r4 +/* 803504CC 0034D42C 7F E3 FB 78 */ mr r3, r31 +/* 803504D0 0034D430 48 02 12 7D */ bl DVDClose +/* 803504D4 0034D434 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 803504D8 0034D438 4B FF FE E5 */ bl HandleDVDInterrupt__8CDvdFileFv +/* 803504DC 0034D43C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803504E0 0034D440 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803504E4 0034D444 7C 08 03 A6 */ mtlr r0 +/* 803504E8 0034D448 38 21 00 10 */ addi r1, r1, 0x10 +/* 803504EC 0034D44C 4E 80 00 20 */ blr + +.global DecodeARAMFile__FPCc +DecodeARAMFile__FPCc: +/* 803504F0 0034D450 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803504F4 0034D454 7C 08 02 A6 */ mflr r0 +/* 803504F8 0034D458 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 803504FC 0034D45C 38 A0 00 05 */ li r5, 5 +/* 80350500 0034D460 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350504 0034D464 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 80350508 0034D468 38 84 00 07 */ addi r4, r4, 7 +/* 8035050C 0034D46C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350510 0034D470 7C 7F 1B 78 */ mr r31, r3 +/* 80350514 0034D474 48 03 FA 49 */ bl strncmp +/* 80350518 0034D478 2C 03 00 00 */ cmpwi r3, 0 +/* 8035051C 0034D47C 41 82 00 0C */ beq lbl_80350528 +/* 80350520 0034D480 7F E3 FB 78 */ mr r3, r31 +/* 80350524 0034D484 48 00 00 08 */ b lbl_8035052C +lbl_80350528: +/* 80350528 0034D488 38 7F 00 05 */ addi r3, r31, 5 +lbl_8035052C: +/* 8035052C 0034D48C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350530 0034D490 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350534 0034D494 7C 08 03 A6 */ mtlr r0 +/* 80350538 0034D498 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035053C 0034D49C 4E 80 00 20 */ blr + +.global sub_80350540 +sub_80350540: +/* 80350540 0034D4A0 54 85 04 3E */ clrlwi r5, r4, 0x10 +/* 80350544 0034D4A4 28 05 00 04 */ cmplwi r5, 4 +/* 80350548 0034D4A8 40 80 00 48 */ bge lbl_80350590 +/* 8035054C 0034D4AC 28 05 00 03 */ cmplwi r5, 3 +/* 80350550 0034D4B0 40 82 00 0C */ bne lbl_8035055C +/* 80350554 0034D4B4 38 A0 00 60 */ li r5, 0x60 +/* 80350558 0034D4B8 48 00 00 14 */ b lbl_8035056C +lbl_8035055C: +/* 8035055C 0034D4BC 28 05 00 02 */ cmplwi r5, 2 +/* 80350560 0034D4C0 38 A0 00 20 */ li r5, 0x20 +/* 80350564 0034D4C4 40 82 00 08 */ bne lbl_8035056C +/* 80350568 0034D4C8 38 A0 00 40 */ li r5, 0x40 +lbl_8035056C: +/* 8035056C 0034D4CC 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 80350570 0034D4D0 60 A4 00 80 */ ori r4, r5, 0x80 +/* 80350574 0034D4D4 28 00 00 01 */ cmplwi r0, 1 +/* 80350578 0034D4D8 98 83 00 00 */ stb r4, 0(r3) +/* 8035057C 0034D4DC 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 80350580 0034D4E0 4C 81 00 20 */ blelr +/* 80350584 0034D4E4 7C 63 02 14 */ add r3, r3, r0 +/* 80350588 0034D4E8 98 83 FF FF */ stb r4, -1(r3) +/* 8035058C 0034D4EC 4E 80 00 20 */ blr +lbl_80350590: +/* 80350590 0034D4F0 54 80 C6 3E */ rlwinm r0, r4, 0x18, 0x18, 0x1f +/* 80350594 0034D4F4 7C A3 2A 14 */ add r5, r3, r5 +/* 80350598 0034D4F8 60 00 00 80 */ ori r0, r0, 0x80 +/* 8035059C 0034D4FC 98 03 00 00 */ stb r0, 0(r3) +/* 803505A0 0034D500 98 83 00 01 */ stb r4, 1(r3) +/* 803505A4 0034D504 98 85 FF FE */ stb r4, -2(r5) +/* 803505A8 0034D508 98 05 FF FF */ stb r0, -1(r5) +/* 803505AC 0034D50C 4E 80 00 20 */ blr + +.global sub_803505b0 +sub_803505b0: +/* 803505B0 0034D510 7C 03 20 50 */ subf r0, r3, r4 +/* 803505B4 0034D514 2C 00 00 01 */ cmpwi r0, 1 +/* 803505B8 0034D518 40 81 00 0C */ ble lbl_803505C4 +/* 803505BC 0034D51C 88 83 00 01 */ lbz r4, 1(r3) +/* 803505C0 0034D520 48 00 00 08 */ b lbl_803505C8 +lbl_803505C4: +/* 803505C4 0034D524 38 80 00 00 */ li r4, 0 +lbl_803505C8: +/* 803505C8 0034D528 88 03 00 00 */ lbz r0, 0(r3) +/* 803505CC 0034D52C 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 803505D0 0034D530 54 00 44 6E */ rlwinm r0, r0, 8, 0x11, 0x17 +/* 803505D4 0034D534 7C 63 02 14 */ add r3, r3, r0 +/* 803505D8 0034D538 54 60 04 65 */ rlwinm. r0, r3, 0, 0x11, 0x12 +/* 803505DC 0034D53C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 803505E0 0034D540 4D 82 00 20 */ beqlr +/* 803505E4 0034D544 28 00 60 00 */ cmplwi r0, 0x6000 +/* 803505E8 0034D548 40 82 00 0C */ bne lbl_803505F4 +/* 803505EC 0034D54C 38 00 00 03 */ li r0, 3 +/* 803505F0 0034D550 48 00 00 14 */ b lbl_80350604 +lbl_803505F4: +/* 803505F4 0034D554 20 00 40 00 */ subfic r0, r0, 0x4000 +/* 803505F8 0034D558 7C 00 00 34 */ cntlzw r0, r0 +/* 803505FC 0034D55C 54 03 D9 7E */ srwi r3, r0, 5 +/* 80350600 0034D560 38 03 00 01 */ addi r0, r3, 1 +lbl_80350604: +/* 80350604 0034D564 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80350608 0034D568 4E 80 00 20 */ blr + +.global sub_8035060c +sub_8035060c: +/* 8035060C 0034D56C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350610 0034D570 7C 08 02 A6 */ mflr r0 +/* 80350614 0034D574 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350618 0034D578 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8035061C 0034D57C 7C 7B 1B 78 */ mr r27, r3 +/* 80350620 0034D580 3B 80 00 00 */ li r28, 0 +/* 80350624 0034D584 80 03 00 04 */ lwz r0, 4(r3) +/* 80350628 0034D588 80 63 00 08 */ lwz r3, 8(r3) +/* 8035062C 0034D58C 7C 80 20 50 */ subf r4, r0, r4 +/* 80350630 0034D590 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 80350634 0034D594 54 84 D9 7E */ srwi r4, r4, 5 +/* 80350638 0034D598 7C C3 20 AE */ lbzx r6, r3, r4 +/* 8035063C 0034D59C 7C 00 32 14 */ add r0, r0, r6 +/* 80350640 0034D5A0 7C DD 33 78 */ mr r29, r6 +/* 80350644 0034D5A4 90 1B 00 14 */ stw r0, 0x14(r27) +/* 80350648 0034D5A8 80 7B 00 18 */ lwz r3, 0x18(r27) +/* 8035064C 0034D5AC 38 03 FF FF */ addi r0, r3, -1 +/* 80350650 0034D5B0 90 1B 00 18 */ stw r0, 0x18(r27) +/* 80350654 0034D5B4 83 FB 00 08 */ lwz r31, 8(r27) +/* 80350658 0034D5B8 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 8035065C 0034D5BC 7C FF 22 14 */ add r7, r31, r4 +/* 80350660 0034D5C0 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 80350664 0034D5C4 7C 00 38 40 */ cmplw r0, r7 +/* 80350668 0034D5C8 7C FE 3B 78 */ mr r30, r7 +/* 8035066C 0034D5CC 7C 9F 1A 14 */ add r4, r31, r3 +/* 80350670 0034D5D0 40 82 00 08 */ bne lbl_80350678 +/* 80350674 0034D5D4 3B 80 00 01 */ li r28, 1 +lbl_80350678: +/* 80350678 0034D5D8 7C 07 F8 40 */ cmplw r7, r31 +/* 8035067C 0034D5DC 40 81 00 60 */ ble lbl_803506DC +/* 80350680 0034D5E0 88 A7 FF FF */ lbz r5, -1(r7) +/* 80350684 0034D5E4 54 A0 06 31 */ rlwinm. r0, r5, 0, 0x18, 0x18 +/* 80350688 0034D5E8 41 82 00 54 */ beq lbl_803506DC +/* 8035068C 0034D5EC 54 A0 06 75 */ rlwinm. r0, r5, 0, 0x19, 0x1a +/* 80350690 0034D5F0 40 82 00 18 */ bne lbl_803506A8 +/* 80350694 0034D5F4 88 67 FF FE */ lbz r3, -2(r7) +/* 80350698 0034D5F8 54 A0 44 6E */ rlwinm r0, r5, 8, 0x11, 0x17 +/* 8035069C 0034D5FC 7C 03 02 14 */ add r0, r3, r0 +/* 803506A0 0034D600 54 00 04 3E */ clrlwi r0, r0, 0x10 +/* 803506A4 0034D604 48 00 00 28 */ b lbl_803506CC +lbl_803506A8: +/* 803506A8 0034D608 28 00 00 60 */ cmplwi r0, 0x60 +/* 803506AC 0034D60C 40 82 00 0C */ bne lbl_803506B8 +/* 803506B0 0034D610 38 00 00 03 */ li r0, 3 +/* 803506B4 0034D614 48 00 00 14 */ b lbl_803506C8 +lbl_803506B8: +/* 803506B8 0034D618 20 00 00 40 */ subfic r0, r0, 0x40 +/* 803506BC 0034D61C 7C 00 00 34 */ cntlzw r0, r0 +/* 803506C0 0034D620 54 03 D9 7E */ srwi r3, r0, 5 +/* 803506C4 0034D624 38 03 00 01 */ addi r0, r3, 1 +lbl_803506C8: +/* 803506C8 0034D628 54 00 04 3E */ clrlwi r0, r0, 0x10 +lbl_803506CC: +/* 803506CC 0034D62C 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 803506D0 0034D630 7C 1D 02 14 */ add r0, r29, r0 +/* 803506D4 0034D634 7F C3 F0 50 */ subf r30, r3, r30 +/* 803506D8 0034D638 54 1D 04 3E */ clrlwi r29, r0, 0x10 +lbl_803506DC: +/* 803506DC 0034D63C 7C 67 32 14 */ add r3, r7, r6 +/* 803506E0 0034D640 7C 03 20 40 */ cmplw r3, r4 +/* 803506E4 0034D644 40 80 00 1C */ bge lbl_80350700 +/* 803506E8 0034D648 88 03 00 00 */ lbz r0, 0(r3) +/* 803506EC 0034D64C 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18 +/* 803506F0 0034D650 40 81 00 10 */ ble lbl_80350700 +/* 803506F4 0034D654 4B FF FE BD */ bl sub_803505b0 +/* 803506F8 0034D658 7C 1D 1A 14 */ add r0, r29, r3 +/* 803506FC 0034D65C 54 1D 04 3E */ clrlwi r29, r0, 0x10 +lbl_80350700: +/* 80350700 0034D660 7F C3 F3 78 */ mr r3, r30 +/* 80350704 0034D664 57 A4 04 3E */ clrlwi r4, r29, 0x10 +/* 80350708 0034D668 4B FF FE 39 */ bl sub_80350540 +/* 8035070C 0034D66C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80350710 0034D670 41 82 00 24 */ beq lbl_80350734 +/* 80350714 0034D674 7C 1E F8 40 */ cmplw r30, r31 +/* 80350718 0034D678 40 82 00 10 */ bne lbl_80350728 +/* 8035071C 0034D67C 38 00 00 00 */ li r0, 0 +/* 80350720 0034D680 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80350724 0034D684 48 00 00 10 */ b lbl_80350734 +lbl_80350728: +/* 80350728 0034D688 88 1E FF FF */ lbz r0, -1(r30) +/* 8035072C 0034D68C 7C 00 F0 50 */ subf r0, r0, r30 +/* 80350730 0034D690 90 1B 00 0C */ stw r0, 0xc(r27) +lbl_80350734: +/* 80350734 0034D694 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80350738 0034D698 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035073C 0034D69C 7C 08 03 A6 */ mtlr r0 +/* 80350740 0034D6A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350744 0034D6A4 4E 80 00 20 */ blr + +.global sub_80350748 +sub_80350748: +/* 80350748 0034D6A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035074C 0034D6AC 7C 08 02 A6 */ mflr r0 +/* 80350750 0034D6B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350754 0034D6B4 BF 41 00 08 */ stmw r26, 8(r1) +/* 80350758 0034D6B8 7C 9B 23 78 */ mr r27, r4 +/* 8035075C 0034D6BC 7C 7A 1B 78 */ mr r26, r3 +/* 80350760 0034D6C0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80350764 0034D6C4 7C 00 D8 40 */ cmplw r0, r27 +/* 80350768 0034D6C8 41 80 00 A8 */ blt lbl_80350810 +/* 8035076C 0034D6CC 83 FA 00 0C */ lwz r31, 0xc(r26) +/* 80350770 0034D6D0 83 DA 00 08 */ lwz r30, 8(r26) +/* 80350774 0034D6D4 28 1F 00 00 */ cmplwi r31, 0 +/* 80350778 0034D6D8 40 82 00 08 */ bne lbl_80350780 +/* 8035077C 0034D6DC 7F DF F3 78 */ mr r31, r30 +lbl_80350780: +/* 80350780 0034D6E0 80 1A 00 1C */ lwz r0, 0x1c(r26) +/* 80350784 0034D6E4 7F FC FB 78 */ mr r28, r31 +/* 80350788 0034D6E8 7F BE 02 14 */ add r29, r30, r0 +lbl_8035078C: +/* 8035078C 0034D6EC 88 7C 00 00 */ lbz r3, 0(r28) +/* 80350790 0034D6F0 54 60 06 31 */ rlwinm. r0, r3, 0, 0x18, 0x18 +/* 80350794 0034D6F4 41 82 00 0C */ beq lbl_803507A0 +/* 80350798 0034D6F8 7C 1C E8 40 */ cmplw r28, r29 +/* 8035079C 0034D6FC 40 82 00 1C */ bne lbl_803507B8 +lbl_803507A0: +/* 803507A0 0034D700 7C 1C E8 40 */ cmplw r28, r29 +/* 803507A4 0034D704 40 82 00 0C */ bne lbl_803507B0 +/* 803507A8 0034D708 7F DC F3 78 */ mr r28, r30 +/* 803507AC 0034D70C 48 00 00 5C */ b lbl_80350808 +lbl_803507B0: +/* 803507B0 0034D710 7F 9C 1A 14 */ add r28, r28, r3 +/* 803507B4 0034D714 48 00 00 54 */ b lbl_80350808 +lbl_803507B8: +/* 803507B8 0034D718 7F 83 E3 78 */ mr r3, r28 +/* 803507BC 0034D71C 7F A4 EB 78 */ mr r4, r29 +/* 803507C0 0034D720 4B FF FD F1 */ bl sub_803505b0 +/* 803507C4 0034D724 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 803507C8 0034D728 7C 00 D8 40 */ cmplw r0, r27 +/* 803507CC 0034D72C 41 80 00 24 */ blt lbl_803507F0 +/* 803507D0 0034D730 7C 1B 00 50 */ subf r0, r27, r0 +/* 803507D4 0034D734 54 04 04 3F */ clrlwi. r4, r0, 0x10 +/* 803507D8 0034D738 41 82 00 0C */ beq lbl_803507E4 +/* 803507DC 0034D73C 7C 7C DA 14 */ add r3, r28, r27 +/* 803507E0 0034D740 4B FF FD 61 */ bl sub_80350540 +lbl_803507E4: +/* 803507E4 0034D744 93 9A 00 0C */ stw r28, 0xc(r26) +/* 803507E8 0034D748 7F 83 E3 78 */ mr r3, r28 +/* 803507EC 0034D74C 48 00 00 28 */ b lbl_80350814 +lbl_803507F0: +/* 803507F0 0034D750 7F 9C 02 14 */ add r28, r28, r0 +/* 803507F4 0034D754 7C 1C F8 40 */ cmplw r28, r31 +/* 803507F8 0034D758 41 82 00 18 */ beq lbl_80350810 +/* 803507FC 0034D75C 7C 1C E8 40 */ cmplw r28, r29 +/* 80350800 0034D760 40 82 00 08 */ bne lbl_80350808 +/* 80350804 0034D764 7F DC F3 78 */ mr r28, r30 +lbl_80350808: +/* 80350808 0034D768 7C 1C F8 40 */ cmplw r28, r31 +/* 8035080C 0034D76C 40 82 FF 80 */ bne lbl_8035078C +lbl_80350810: +/* 80350810 0034D770 38 60 00 00 */ li r3, 0 +lbl_80350814: +/* 80350814 0034D774 BB 41 00 08 */ lmw r26, 8(r1) +/* 80350818 0034D778 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035081C 0034D77C 7C 08 03 A6 */ mtlr r0 +/* 80350820 0034D780 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350824 0034D784 4E 80 00 20 */ blr + +.global FindFree__16CMediumAllocPoolFi +FindFree__16CMediumAllocPoolFi: +/* 80350828 0034D788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035082C 0034D78C 7C 08 02 A6 */ mflr r0 +/* 80350830 0034D790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350834 0034D794 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350838 0034D798 7C 9F 23 78 */ mr r31, r4 +/* 8035083C 0034D79C 93 C1 00 08 */ stw r30, 8(r1) +/* 80350840 0034D7A0 7C 7E 1B 78 */ mr r30, r3 +/* 80350844 0034D7A4 4B FF FF 05 */ bl sub_80350748 +/* 80350848 0034D7A8 28 03 00 00 */ cmplwi r3, 0 +/* 8035084C 0034D7AC 40 82 00 0C */ bne lbl_80350858 +/* 80350850 0034D7B0 38 60 00 00 */ li r3, 0 +/* 80350854 0034D7B4 48 00 00 3C */ b lbl_80350890 +lbl_80350858: +/* 80350858 0034D7B8 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035085C 0034D7BC 7C 83 FA 14 */ add r4, r3, r31 +/* 80350860 0034D7C0 80 BE 00 04 */ lwz r5, 4(r30) +/* 80350864 0034D7C4 7C 00 18 50 */ subf r0, r0, r3 +/* 80350868 0034D7C8 9B E3 00 00 */ stb r31, 0(r3) +/* 8035086C 0034D7CC 54 00 28 34 */ slwi r0, r0, 5 +/* 80350870 0034D7D0 7C 65 02 14 */ add r3, r5, r0 +/* 80350874 0034D7D4 9B E4 FF FF */ stb r31, -1(r4) +/* 80350878 0034D7D8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8035087C 0034D7DC 7C 1F 00 50 */ subf r0, r31, r0 +/* 80350880 0034D7E0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80350884 0034D7E4 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 80350888 0034D7E8 38 04 00 01 */ addi r0, r4, 1 +/* 8035088C 0034D7EC 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80350890: +/* 80350890 0034D7F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350894 0034D7F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350898 0034D7F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035089C 0034D7FC 7C 08 03 A6 */ mtlr r0 +/* 803508A0 0034D800 38 21 00 10 */ addi r1, r1, 0x10 +/* 803508A4 0034D804 4E 80 00 20 */ blr + +.global __dt__18SMediumAllocPuddleFv +__dt__18SMediumAllocPuddleFv: +/* 803508A8 0034D808 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803508AC 0034D80C 7C 08 02 A6 */ mflr r0 +/* 803508B0 0034D810 90 01 00 14 */ stw r0, 0x14(r1) +/* 803508B4 0034D814 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803508B8 0034D818 7C 9F 23 78 */ mr r31, r4 +/* 803508BC 0034D81C 93 C1 00 08 */ stw r30, 8(r1) +/* 803508C0 0034D820 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803508C4 0034D824 41 82 00 2C */ beq lbl_803508F0 +/* 803508C8 0034D828 41 82 00 18 */ beq lbl_803508E0 +/* 803508CC 0034D82C 88 1E 00 00 */ lbz r0, 0(r30) +/* 803508D0 0034D830 28 00 00 00 */ cmplwi r0, 0 +/* 803508D4 0034D834 41 82 00 0C */ beq lbl_803508E0 +/* 803508D8 0034D838 80 7E 00 04 */ lwz r3, 4(r30) +/* 803508DC 0034D83C 4B FC 50 55 */ bl Free__7CMemoryFPCv +lbl_803508E0: +/* 803508E0 0034D840 7F E0 07 35 */ extsh. r0, r31 +/* 803508E4 0034D844 40 81 00 0C */ ble lbl_803508F0 +/* 803508E8 0034D848 7F C3 F3 78 */ mr r3, r30 +/* 803508EC 0034D84C 4B FC 50 45 */ bl Free__7CMemoryFPCv +lbl_803508F0: +/* 803508F0 0034D850 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803508F4 0034D854 7F C3 F3 78 */ mr r3, r30 +/* 803508F8 0034D858 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803508FC 0034D85C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350900 0034D860 7C 08 03 A6 */ mtlr r0 +/* 80350904 0034D864 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350908 0034D868 4E 80 00 20 */ blr + +.global __ct__18SMediumAllocPuddleFUiPvPv +__ct__18SMediumAllocPuddleFUiPvPv: +/* 8035090C 0034D86C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350910 0034D870 7C 08 02 A6 */ mflr r0 +/* 80350914 0034D874 38 E0 00 00 */ li r7, 0 +/* 80350918 0034D878 7C 89 23 78 */ mr r9, r4 +/* 8035091C 0034D87C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350920 0034D880 7C 05 00 D0 */ neg r0, r5 +/* 80350924 0034D884 7C 00 2B 78 */ or r0, r0, r5 +/* 80350928 0034D888 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035092C 0034D88C 7C 7F 1B 78 */ mr r31, r3 +/* 80350930 0034D890 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80350934 0034D894 54 80 28 34 */ slwi r0, r4, 5 +/* 80350938 0034D898 98 7F 00 00 */ stb r3, 0(r31) +/* 8035093C 0034D89C 7D 05 02 14 */ add r8, r5, r0 +/* 80350940 0034D8A0 38 00 FF FF */ li r0, -1 +/* 80350944 0034D8A4 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 80350948 0034D8A8 90 BF 00 04 */ stw r5, 4(r31) +/* 8035094C 0034D8AC 91 1F 00 08 */ stw r8, 8(r31) +/* 80350950 0034D8B0 90 FF 00 0C */ stw r7, 0xc(r31) +/* 80350954 0034D8B4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80350958 0034D8B8 91 3F 00 14 */ stw r9, 0x14(r31) +/* 8035095C 0034D8BC 90 FF 00 18 */ stw r7, 0x18(r31) +/* 80350960 0034D8C0 91 3F 00 1C */ stw r9, 0x1c(r31) +/* 80350964 0034D8C4 88 1F 00 20 */ lbz r0, 0x20(r31) +/* 80350968 0034D8C8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8035096C 0034D8CC 98 1F 00 20 */ stb r0, 0x20(r31) +/* 80350970 0034D8D0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80350974 0034D8D4 4B FF FB CD */ bl sub_80350540 +/* 80350978 0034D8D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035097C 0034D8DC 7F E3 FB 78 */ mr r3, r31 +/* 80350980 0034D8E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350984 0034D8E4 7C 08 03 A6 */ mtlr r0 +/* 80350988 0034D8E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035098C 0034D8EC 4E 80 00 20 */ blr + +.global AddPuddle__16CMediumAllocPoolFUiPvPvi +AddPuddle__16CMediumAllocPoolFUiPvPvi: +/* 80350990 0034D8F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80350994 0034D8F4 7C 08 02 A6 */ mflr r0 +/* 80350998 0034D8F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035099C 0034D8FC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803509A0 0034D900 7C 7F 1B 78 */ mr r31, r3 +/* 803509A4 0034D904 38 61 00 08 */ addi r3, r1, 8 +/* 803509A8 0034D908 4B FF FF 65 */ bl __ct__18SMediumAllocPuddleFUiPvPv +/* 803509AC 0034D90C 7F E3 FB 78 */ mr r3, r31 +/* 803509B0 0034D910 38 81 00 08 */ addi r4, r1, 8 +/* 803509B4 0034D914 48 00 00 39 */ bl sub_803509ec +/* 803509B8 0034D918 38 61 00 08 */ addi r3, r1, 8 +/* 803509BC 0034D91C 38 80 FF FF */ li r4, -1 +/* 803509C0 0034D920 4B FF FE E9 */ bl __dt__18SMediumAllocPuddleFv +/* 803509C4 0034D924 80 1F 00 08 */ lwz r0, 8(r31) +/* 803509C8 0034D928 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803509CC 0034D92C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 803509D0 0034D930 80 03 00 00 */ lwz r0, 0(r3) +/* 803509D4 0034D934 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803509D8 0034D938 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803509DC 0034D93C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803509E0 0034D940 7C 08 03 A6 */ mtlr r0 +/* 803509E4 0034D944 38 21 00 40 */ addi r1, r1, 0x40 +/* 803509E8 0034D948 4E 80 00 20 */ blr + +.global sub_803509ec +sub_803509ec: +/* 803509EC 0034D94C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803509F0 0034D950 7C 08 02 A6 */ mflr r0 +/* 803509F4 0034D954 7C 85 23 78 */ mr r5, r4 +/* 803509F8 0034D958 90 01 00 14 */ stw r0, 0x14(r1) +/* 803509FC 0034D95C 80 83 00 08 */ lwz r4, 8(r3) +/* 80350A00 0034D960 48 00 00 15 */ bl "do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle" +/* 80350A04 0034D964 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350A08 0034D968 7C 08 03 A6 */ mtlr r0 +/* 80350A0C 0034D96C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350A10 0034D970 4E 80 00 20 */ blr + +.global "do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle" +"do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle": +/* 80350A14 0034D974 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350A18 0034D978 7C 08 02 A6 */ mflr r0 +/* 80350A1C 0034D97C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350A20 0034D980 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80350A24 0034D984 7C 9F 23 78 */ mr r31, r4 +/* 80350A28 0034D988 3C 80 80 3E */ lis r4, lbl_803D8240@ha +/* 80350A2C 0034D98C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350A30 0034D990 7C 7E 1B 78 */ mr r30, r3 +/* 80350A34 0034D994 38 84 82 40 */ addi r4, r4, lbl_803D8240@l +/* 80350A38 0034D998 38 60 00 2C */ li r3, 0x2c +/* 80350A3C 0034D99C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350A40 0034D9A0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80350A44 0034D9A4 7C BC 2B 78 */ mr r28, r5 +/* 80350A48 0034D9A8 38 A0 00 00 */ li r5, 0 +/* 80350A4C 0034D9AC 83 BF 00 00 */ lwz r29, 0(r31) +/* 80350A50 0034D9B0 4B FC 4D C9 */ bl __nwa__FUlPCcPCc +/* 80350A54 0034D9B4 28 03 00 00 */ cmplwi r3, 0 +/* 80350A58 0034D9B8 41 82 00 0C */ beq lbl_80350A64 +/* 80350A5C 0034D9BC 93 A3 00 00 */ stw r29, 0(r3) +/* 80350A60 0034D9C0 93 E3 00 04 */ stw r31, 4(r3) +lbl_80350A64: +/* 80350A64 0034D9C4 34 A3 00 08 */ addic. r5, r3, 8 +/* 80350A68 0034D9C8 41 82 00 54 */ beq lbl_80350ABC +/* 80350A6C 0034D9CC 88 9C 00 00 */ lbz r4, 0(r28) +/* 80350A70 0034D9D0 38 00 00 00 */ li r0, 0 +/* 80350A74 0034D9D4 98 85 00 00 */ stb r4, 0(r5) +/* 80350A78 0034D9D8 80 9C 00 04 */ lwz r4, 4(r28) +/* 80350A7C 0034D9DC 90 85 00 04 */ stw r4, 4(r5) +/* 80350A80 0034D9E0 98 1C 00 00 */ stb r0, 0(r28) +/* 80350A84 0034D9E4 80 1C 00 08 */ lwz r0, 8(r28) +/* 80350A88 0034D9E8 90 05 00 08 */ stw r0, 8(r5) +/* 80350A8C 0034D9EC 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80350A90 0034D9F0 90 05 00 0C */ stw r0, 0xc(r5) +/* 80350A94 0034D9F4 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80350A98 0034D9F8 90 05 00 10 */ stw r0, 0x10(r5) +/* 80350A9C 0034D9FC 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 80350AA0 0034DA00 90 05 00 14 */ stw r0, 0x14(r5) +/* 80350AA4 0034DA04 80 1C 00 18 */ lwz r0, 0x18(r28) +/* 80350AA8 0034DA08 90 05 00 18 */ stw r0, 0x18(r5) +/* 80350AAC 0034DA0C 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 80350AB0 0034DA10 90 05 00 1C */ stw r0, 0x1c(r5) +/* 80350AB4 0034DA14 88 1C 00 20 */ lbz r0, 0x20(r28) +/* 80350AB8 0034DA18 98 05 00 20 */ stb r0, 0x20(r5) +lbl_80350ABC: +/* 80350ABC 0034DA1C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80350AC0 0034DA20 7C 1F 00 40 */ cmplw r31, r0 +/* 80350AC4 0034DA24 40 82 00 08 */ bne lbl_80350ACC +/* 80350AC8 0034DA28 90 7E 00 04 */ stw r3, 4(r30) +lbl_80350ACC: +/* 80350ACC 0034DA2C 80 83 00 00 */ lwz r4, 0(r3) +/* 80350AD0 0034DA30 90 64 00 04 */ stw r3, 4(r4) +/* 80350AD4 0034DA34 80 83 00 04 */ lwz r4, 4(r3) +/* 80350AD8 0034DA38 90 64 00 00 */ stw r3, 0(r4) +/* 80350ADC 0034DA3C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80350AE0 0034DA40 38 04 00 01 */ addi r0, r4, 1 +/* 80350AE4 0034DA44 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80350AE8 0034DA48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350AEC 0034DA4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350AF0 0034DA50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80350AF4 0034DA54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350AF8 0034DA58 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80350AFC 0034DA5C 7C 08 03 A6 */ mtlr r0 +/* 80350B00 0034DA60 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350B04 0034DA64 4E 80 00 20 */ blr + +.global GetNumBlocksAvailable__16CMediumAllocPoolFv +GetNumBlocksAvailable__16CMediumAllocPoolFv: +/* 80350B08 0034DA68 80 83 00 04 */ lwz r4, 4(r3) +/* 80350B0C 0034DA6C 38 A0 00 00 */ li r5, 0 +/* 80350B10 0034DA70 80 63 00 08 */ lwz r3, 8(r3) +/* 80350B14 0034DA74 48 00 00 10 */ b lbl_80350B24 +lbl_80350B18: +/* 80350B18 0034DA78 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 80350B1C 0034DA7C 80 84 00 04 */ lwz r4, 4(r4) +/* 80350B20 0034DA80 7C A5 02 14 */ add r5, r5, r0 +lbl_80350B24: +/* 80350B24 0034DA84 7C 04 18 40 */ cmplw r4, r3 +/* 80350B28 0034DA88 40 82 FF F0 */ bne lbl_80350B18 +/* 80350B2C 0034DA8C 7C A3 2B 78 */ mr r3, r5 +/* 80350B30 0034DA90 4E 80 00 20 */ blr + +.global GetTotalEntries__16CMediumAllocPoolFv +GetTotalEntries__16CMediumAllocPoolFv: +/* 80350B34 0034DA94 80 83 00 04 */ lwz r4, 4(r3) +/* 80350B38 0034DA98 38 A0 00 00 */ li r5, 0 +/* 80350B3C 0034DA9C 80 63 00 08 */ lwz r3, 8(r3) +/* 80350B40 0034DAA0 48 00 00 10 */ b lbl_80350B50 +lbl_80350B44: +/* 80350B44 0034DAA4 80 04 00 24 */ lwz r0, 0x24(r4) +/* 80350B48 0034DAA8 80 84 00 04 */ lwz r4, 4(r4) +/* 80350B4C 0034DAAC 7C A5 02 14 */ add r5, r5, r0 +lbl_80350B50: +/* 80350B50 0034DAB0 7C 04 18 40 */ cmplw r4, r3 +/* 80350B54 0034DAB4 40 82 FF F0 */ bne lbl_80350B44 +/* 80350B58 0034DAB8 7C A3 2B 78 */ mr r3, r5 +/* 80350B5C 0034DABC 4E 80 00 20 */ blr + +.global GetNumAllocs__16CMediumAllocPoolFv +GetNumAllocs__16CMediumAllocPoolFv: +/* 80350B60 0034DAC0 80 83 00 04 */ lwz r4, 4(r3) +/* 80350B64 0034DAC4 38 A0 00 00 */ li r5, 0 +/* 80350B68 0034DAC8 80 63 00 08 */ lwz r3, 8(r3) +/* 80350B6C 0034DACC 48 00 00 10 */ b lbl_80350B7C +lbl_80350B70: +/* 80350B70 0034DAD0 80 04 00 20 */ lwz r0, 0x20(r4) +/* 80350B74 0034DAD4 80 84 00 04 */ lwz r4, 4(r4) +/* 80350B78 0034DAD8 7C A5 02 14 */ add r5, r5, r0 +lbl_80350B7C: +/* 80350B7C 0034DADC 7C 04 18 40 */ cmplw r4, r3 +/* 80350B80 0034DAE0 40 82 FF F0 */ bne lbl_80350B70 +/* 80350B84 0034DAE4 7C A3 2B 78 */ mr r3, r5 +/* 80350B88 0034DAE8 4E 80 00 20 */ blr + +.global Free__16CMediumAllocPoolFPCv +Free__16CMediumAllocPoolFPCv: +/* 80350B8C 0034DAEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350B90 0034DAF0 7C 08 02 A6 */ mflr r0 +/* 80350B94 0034DAF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350B98 0034DAF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350B9C 0034DAFC 93 C1 00 08 */ stw r30, 8(r1) +/* 80350BA0 0034DB00 7C 7E 1B 78 */ mr r30, r3 +/* 80350BA4 0034DB04 83 E3 00 04 */ lwz r31, 4(r3) +/* 80350BA8 0034DB08 80 C3 00 08 */ lwz r6, 8(r3) +/* 80350BAC 0034DB0C 48 00 00 68 */ b lbl_80350C14 +lbl_80350BB0: +/* 80350BB0 0034DB10 38 7F 00 08 */ addi r3, r31, 8 +/* 80350BB4 0034DB14 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80350BB8 0034DB18 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80350BBC 0034DB1C 7C A5 20 50 */ subf r5, r5, r4 +/* 80350BC0 0034DB20 54 00 28 34 */ slwi r0, r0, 5 +/* 80350BC4 0034DB24 7C 05 00 40 */ cmplw r5, r0 +/* 80350BC8 0034DB28 40 80 00 48 */ bge lbl_80350C10 +/* 80350BCC 0034DB2C 4B FF FA 41 */ bl sub_8035060c +/* 80350BD0 0034DB30 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80350BD4 0034DB34 28 00 00 00 */ cmplwi r0, 0 +/* 80350BD8 0034DB38 40 82 00 30 */ bne lbl_80350C08 +/* 80350BDC 0034DB3C 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80350BE0 0034DB40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80350BE4 0034DB44 41 82 00 24 */ beq lbl_80350C08 +/* 80350BE8 0034DB48 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80350BEC 0034DB4C 7C 00 F8 40 */ cmplw r0, r31 +/* 80350BF0 0034DB50 40 82 00 0C */ bne lbl_80350BFC +/* 80350BF4 0034DB54 80 1E 00 04 */ lwz r0, 4(r30) +/* 80350BF8 0034DB58 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80350BFC: +/* 80350BFC 0034DB5C 7F C3 F3 78 */ mr r3, r30 +/* 80350C00 0034DB60 7F E4 FB 78 */ mr r4, r31 +/* 80350C04 0034DB64 48 00 01 8D */ bl "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" +lbl_80350C08: +/* 80350C08 0034DB68 38 60 00 02 */ li r3, 2 +/* 80350C0C 0034DB6C 48 00 00 14 */ b lbl_80350C20 +lbl_80350C10: +/* 80350C10 0034DB70 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80350C14: +/* 80350C14 0034DB74 7C 1F 30 40 */ cmplw r31, r6 +/* 80350C18 0034DB78 40 82 FF 98 */ bne lbl_80350BB0 +/* 80350C1C 0034DB7C 38 60 00 01 */ li r3, 1 +lbl_80350C20: +/* 80350C20 0034DB80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350C24 0034DB84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350C28 0034DB88 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350C2C 0034DB8C 7C 08 03 A6 */ mtlr r0 +/* 80350C30 0034DB90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350C34 0034DB94 4E 80 00 20 */ blr + +.global Alloc__16CMediumAllocPoolFUi +Alloc__16CMediumAllocPoolFUi: +/* 80350C38 0034DB98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350C3C 0034DB9C 7C 08 02 A6 */ mflr r0 +/* 80350C40 0034DBA0 28 04 00 20 */ cmplwi r4, 0x20 +/* 80350C44 0034DBA4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350C48 0034DBA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80350C4C 0034DBAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350C50 0034DBB0 3B C0 00 01 */ li r30, 1 +/* 80350C54 0034DBB4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350C58 0034DBB8 7C 7D 1B 78 */ mr r29, r3 +/* 80350C5C 0034DBBC 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80350C60 0034DBC0 38 63 00 08 */ addi r3, r3, 8 +/* 80350C64 0034DBC4 41 80 00 0C */ blt lbl_80350C70 +/* 80350C68 0034DBC8 38 04 00 1F */ addi r0, r4, 0x1f +/* 80350C6C 0034DBCC 54 1E D9 7E */ srwi r30, r0, 5 +lbl_80350C70: +/* 80350C70 0034DBD0 7F C4 F3 78 */ mr r4, r30 +/* 80350C74 0034DBD4 4B FF FB B5 */ bl FindFree__16CMediumAllocPoolFi +/* 80350C78 0034DBD8 28 03 00 00 */ cmplwi r3, 0 +/* 80350C7C 0034DBDC 40 82 00 44 */ bne lbl_80350CC0 +/* 80350C80 0034DBE0 83 FD 00 04 */ lwz r31, 4(r29) +/* 80350C84 0034DBE4 48 00 00 30 */ b lbl_80350CB4 +lbl_80350C88: +/* 80350C88 0034DBE8 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 80350C8C 0034DBEC 7C 1F 00 40 */ cmplw r31, r0 +/* 80350C90 0034DBF0 41 82 00 20 */ beq lbl_80350CB0 +/* 80350C94 0034DBF4 7F C4 F3 78 */ mr r4, r30 +/* 80350C98 0034DBF8 38 7F 00 08 */ addi r3, r31, 8 +/* 80350C9C 0034DBFC 4B FF FB 8D */ bl FindFree__16CMediumAllocPoolFi +/* 80350CA0 0034DC00 28 03 00 00 */ cmplwi r3, 0 +/* 80350CA4 0034DC04 41 82 00 0C */ beq lbl_80350CB0 +/* 80350CA8 0034DC08 93 FD 00 18 */ stw r31, 0x18(r29) +/* 80350CAC 0034DC0C 48 00 00 14 */ b lbl_80350CC0 +lbl_80350CB0: +/* 80350CB0 0034DC10 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80350CB4: +/* 80350CB4 0034DC14 80 1D 00 08 */ lwz r0, 8(r29) +/* 80350CB8 0034DC18 7C 1F 00 40 */ cmplw r31, r0 +/* 80350CBC 0034DC1C 40 82 FF CC */ bne lbl_80350C88 +lbl_80350CC0: +/* 80350CC0 0034DC20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350CC4 0034DC24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350CC8 0034DC28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80350CCC 0034DC2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350CD0 0034DC30 7C 08 03 A6 */ mtlr r0 +/* 80350CD4 0034DC34 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350CD8 0034DC38 4E 80 00 20 */ blr + +.global sub_80350cdc +sub_80350cdc: +/* 80350CDC 0034DC3C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80350CE0 0034DC40 7C 03 00 D0 */ neg r0, r3 +/* 80350CE4 0034DC44 7C 00 1B 78 */ or r0, r0, r3 +/* 80350CE8 0034DC48 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80350CEC 0034DC4C 4E 80 00 20 */ blr + +.global ClearPuddles__16CMediumAllocPoolFv +ClearPuddles__16CMediumAllocPoolFv: +/* 80350CF0 0034DC50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350CF4 0034DC54 7C 08 02 A6 */ mflr r0 +/* 80350CF8 0034DC58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350CFC 0034DC5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350D00 0034DC60 93 C1 00 08 */ stw r30, 8(r1) +/* 80350D04 0034DC64 7C 7E 1B 78 */ mr r30, r3 +/* 80350D08 0034DC68 80 03 00 08 */ lwz r0, 8(r3) +/* 80350D0C 0034DC6C 90 03 00 18 */ stw r0, 0x18(r3) +/* 80350D10 0034DC70 80 83 00 04 */ lwz r4, 4(r3) +/* 80350D14 0034DC74 83 E3 00 08 */ lwz r31, 8(r3) +/* 80350D18 0034DC78 7C 83 23 78 */ mr r3, r4 +/* 80350D1C 0034DC7C 48 00 00 08 */ b lbl_80350D24 +lbl_80350D20: +/* 80350D20 0034DC80 80 63 00 04 */ lwz r3, 4(r3) +lbl_80350D24: +/* 80350D24 0034DC84 7C 03 F8 40 */ cmplw r3, r31 +/* 80350D28 0034DC88 40 82 FF F8 */ bne lbl_80350D20 +/* 80350D2C 0034DC8C 48 00 00 10 */ b lbl_80350D3C +lbl_80350D30: +/* 80350D30 0034DC90 7F C3 F3 78 */ mr r3, r30 +/* 80350D34 0034DC94 48 00 00 5D */ bl "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" +/* 80350D38 0034DC98 7C 64 1B 78 */ mr r4, r3 +lbl_80350D3C: +/* 80350D3C 0034DC9C 7C 04 F8 40 */ cmplw r4, r31 +/* 80350D40 0034DCA0 40 82 FF F0 */ bne lbl_80350D30 +/* 80350D44 0034DCA4 38 00 00 00 */ li r0, 0 +/* 80350D48 0034DCA8 90 0D AA 18 */ stw r0, lbl_805A95D8@sda21(r13) +/* 80350D4C 0034DCAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350D50 0034DCB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350D54 0034DCB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350D58 0034DCB8 7C 08 03 A6 */ mtlr r0 +/* 80350D5C 0034DCBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350D60 0034DCC0 4E 80 00 20 */ blr + +.global __ct__16CMediumAllocPoolFv +__ct__16CMediumAllocPoolFv: +/* 80350D64 0034DCC4 38 83 00 0C */ addi r4, r3, 0xc +/* 80350D68 0034DCC8 38 00 00 00 */ li r0, 0 +/* 80350D6C 0034DCCC 90 83 00 04 */ stw r4, 4(r3) +/* 80350D70 0034DCD0 90 83 00 08 */ stw r4, 8(r3) +/* 80350D74 0034DCD4 90 83 00 0C */ stw r4, 0xc(r3) +/* 80350D78 0034DCD8 90 83 00 10 */ stw r4, 0x10(r3) +/* 80350D7C 0034DCDC 90 03 00 14 */ stw r0, 0x14(r3) +/* 80350D80 0034DCE0 80 03 00 04 */ lwz r0, 4(r3) +/* 80350D84 0034DCE4 90 03 00 18 */ stw r0, 0x18(r3) +/* 80350D88 0034DCE8 90 6D AA 18 */ stw r3, lbl_805A95D8@sda21(r13) +/* 80350D8C 0034DCEC 4E 80 00 20 */ blr + +.global "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" +"erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator": +/* 80350D90 0034DCF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350D94 0034DCF4 7C 08 02 A6 */ mflr r0 +/* 80350D98 0034DCF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350D9C 0034DCFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80350DA0 0034DD00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350DA4 0034DD04 7C 9E 23 78 */ mr r30, r4 +/* 80350DA8 0034DD08 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350DAC 0034DD0C 7C 7D 1B 78 */ mr r29, r3 +/* 80350DB0 0034DD10 80 03 00 04 */ lwz r0, 4(r3) +/* 80350DB4 0034DD14 83 E4 00 04 */ lwz r31, 4(r4) +/* 80350DB8 0034DD18 7C 1E 00 40 */ cmplw r30, r0 +/* 80350DBC 0034DD1C 40 82 00 08 */ bne lbl_80350DC4 +/* 80350DC0 0034DD20 93 FD 00 04 */ stw r31, 4(r29) +lbl_80350DC4: +/* 80350DC4 0034DD24 80 1E 00 04 */ lwz r0, 4(r30) +/* 80350DC8 0034DD28 38 7E 00 08 */ addi r3, r30, 8 +/* 80350DCC 0034DD2C 80 BE 00 00 */ lwz r5, 0(r30) +/* 80350DD0 0034DD30 38 80 FF FF */ li r4, -1 +/* 80350DD4 0034DD34 90 05 00 04 */ stw r0, 4(r5) +/* 80350DD8 0034DD38 80 1E 00 00 */ lwz r0, 0(r30) +/* 80350DDC 0034DD3C 80 BE 00 04 */ lwz r5, 4(r30) +/* 80350DE0 0034DD40 90 05 00 00 */ stw r0, 0(r5) +/* 80350DE4 0034DD44 4B FF FA C5 */ bl __dt__18SMediumAllocPuddleFv +/* 80350DE8 0034DD48 28 1E 00 00 */ cmplwi r30, 0 +/* 80350DEC 0034DD4C 41 82 00 0C */ beq lbl_80350DF8 +/* 80350DF0 0034DD50 7F C3 F3 78 */ mr r3, r30 +/* 80350DF4 0034DD54 4B FC 4B 3D */ bl Free__7CMemoryFPCv +lbl_80350DF8: +/* 80350DF8 0034DD58 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80350DFC 0034DD5C 7F E3 FB 78 */ mr r3, r31 +/* 80350E00 0034DD60 38 04 FF FF */ addi r0, r4, -1 +/* 80350E04 0034DD64 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80350E08 0034DD68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350E0C 0034DD6C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80350E10 0034DD70 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350E14 0034DD74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350E18 0034DD78 7C 08 03 A6 */ mtlr r0 +/* 80350E1C 0034DD7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350E20 0034DD80 4E 80 00 20 */ blr + +.global Free__15CSmallAllocPoolFPCv +Free__15CSmallAllocPoolFPCv: +/* 80350E24 0034DD84 80 03 00 00 */ lwz r0, 0(r3) +/* 80350E28 0034DD88 38 C0 00 04 */ li r6, 4 +/* 80350E2C 0034DD8C 80 A3 00 04 */ lwz r5, 4(r3) +/* 80350E30 0034DD90 7C 80 20 50 */ subf r4, r0, r4 +/* 80350E34 0034DD94 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80350E38 0034DD98 7C 84 16 70 */ srawi r4, r4, 2 +/* 80350E3C 0034DD9C 7D 04 01 94 */ addze r8, r4 +/* 80350E40 0034DDA0 55 04 07 FE */ clrlwi r4, r8, 0x1f +/* 80350E44 0034DDA4 55 09 F8 7E */ srwi r9, r8, 1 +/* 80350E48 0034DDA8 7C E4 00 D0 */ neg r7, r4 +/* 80350E4C 0034DDAC 7C 85 48 AE */ lbzx r4, r5, r9 +/* 80350E50 0034DDB0 7C C5 38 78 */ andc r5, r6, r7 +/* 80350E54 0034DDB4 7C 84 2E 30 */ sraw r4, r4, r5 +/* 80350E58 0034DDB8 54 84 07 3E */ clrlwi r4, r4, 0x1c +/* 80350E5C 0034DDBC 7C 00 22 14 */ add r0, r0, r4 +/* 80350E60 0034DDC0 90 03 00 18 */ stw r0, 0x18(r3) +/* 80350E64 0034DDC4 7C 85 23 78 */ mr r5, r4 +/* 80350E68 0034DDC8 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 80350E6C 0034DDCC 38 04 FF FF */ addi r0, r4, -1 +/* 80350E70 0034DDD0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80350E74 0034DDD4 91 03 00 14 */ stw r8, 0x14(r3) +/* 80350E78 0034DDD8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80350E7C 0034DDDC 7C 08 00 40 */ cmplw r8, r0 +/* 80350E80 0034DDE0 40 82 00 0C */ bne lbl_80350E8C +/* 80350E84 0034DDE4 38 00 FF FF */ li r0, -1 +/* 80350E88 0034DDE8 90 03 00 10 */ stw r0, 0x10(r3) +lbl_80350E8C: +/* 80350E8C 0034DDEC 80 63 00 04 */ lwz r3, 4(r3) +/* 80350E90 0034DDF0 38 00 00 00 */ li r0, 0 +/* 80350E94 0034DDF4 7C 63 4A 14 */ add r3, r3, r9 +/* 80350E98 0034DDF8 48 00 00 10 */ b lbl_80350EA8 +lbl_80350E9C: +/* 80350E9C 0034DDFC 98 03 00 00 */ stb r0, 0(r3) +/* 80350EA0 0034DE00 38 A5 FF FE */ addi r5, r5, -2 +/* 80350EA4 0034DE04 38 63 00 01 */ addi r3, r3, 1 +lbl_80350EA8: +/* 80350EA8 0034DE08 2C 05 00 00 */ cmpwi r5, 0 +/* 80350EAC 0034DE0C 40 82 FF F0 */ bne lbl_80350E9C +/* 80350EB0 0034DE10 38 60 00 01 */ li r3, 1 +/* 80350EB4 0034DE14 4E 80 00 20 */ blr + +.global Alloc__15CSmallAllocPoolFUi +Alloc__15CSmallAllocPoolFUi: +/* 80350EB8 0034DE18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350EBC 0034DE1C 7C 08 02 A6 */ mflr r0 +/* 80350EC0 0034DE20 28 04 00 04 */ cmplwi r4, 4 +/* 80350EC4 0034DE24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350EC8 0034DE28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350ECC 0034DE2C 7C 7F 1B 78 */ mr r31, r3 +/* 80350ED0 0034DE30 38 60 00 01 */ li r3, 1 +/* 80350ED4 0034DE34 93 C1 00 08 */ stw r30, 8(r1) +/* 80350ED8 0034DE38 41 80 00 0C */ blt lbl_80350EE4 +/* 80350EDC 0034DE3C 38 04 00 03 */ addi r0, r4, 3 +/* 80350EE0 0034DE40 54 03 F0 BE */ srwi r3, r0, 2 +lbl_80350EE4: +/* 80350EE4 0034DE44 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 80350EE8 0034DE48 7C 7E 1B 78 */ mr r30, r3 +/* 80350EEC 0034DE4C 41 82 00 08 */ beq lbl_80350EF4 +/* 80350EF0 0034DE50 3B C3 00 01 */ addi r30, r3, 1 +lbl_80350EF4: +/* 80350EF4 0034DE54 7F E3 FB 78 */ mr r3, r31 +/* 80350EF8 0034DE58 7F C4 F3 78 */ mr r4, r30 +/* 80350EFC 0034DE5C 48 00 00 D5 */ bl FindFree__15CSmallAllocPoolFi +/* 80350F00 0034DE60 28 03 00 00 */ cmplwi r3, 0 +/* 80350F04 0034DE64 40 82 00 0C */ bne lbl_80350F10 +/* 80350F08 0034DE68 38 60 00 00 */ li r3, 0 +/* 80350F0C 0034DE6C 48 00 00 AC */ b lbl_80350FB8 +lbl_80350F10: +/* 80350F10 0034DE70 38 9E FF FE */ addi r4, r30, -2 +/* 80350F14 0034DE74 80 DF 00 04 */ lwz r6, 4(r31) +/* 80350F18 0034DE78 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80350F1C 0034DE7C 57 C5 20 36 */ slwi r5, r30, 4 +/* 80350F20 0034DE80 7C 00 22 14 */ add r0, r0, r4 +/* 80350F24 0034DE84 7C 86 18 50 */ subf r4, r6, r3 +/* 80350F28 0034DE88 7C 07 0E 71 */ srawi. r7, r0, 1 +/* 80350F2C 0034DE8C 80 DF 00 00 */ lwz r6, 0(r31) +/* 80350F30 0034DE90 60 A0 00 0F */ ori r0, r5, 0xf +/* 80350F34 0034DE94 54 85 18 38 */ slwi r5, r4, 3 +/* 80350F38 0034DE98 98 03 00 00 */ stb r0, 0(r3) +/* 80350F3C 0034DE9C 7C A6 2A 14 */ add r5, r6, r5 +/* 80350F40 0034DEA0 38 C3 00 01 */ addi r6, r3, 1 +/* 80350F44 0034DEA4 7C E4 3B 78 */ mr r4, r7 +/* 80350F48 0034DEA8 38 60 00 FF */ li r3, 0xff +/* 80350F4C 0034DEAC 41 82 00 50 */ beq lbl_80350F9C +/* 80350F50 0034DEB0 54 E0 E8 FF */ rlwinm. r0, r7, 0x1d, 3, 0x1f +/* 80350F54 0034DEB4 7C 09 03 A6 */ mtctr r0 +/* 80350F58 0034DEB8 41 82 00 34 */ beq lbl_80350F8C +lbl_80350F5C: +/* 80350F5C 0034DEBC 98 66 00 00 */ stb r3, 0(r6) +/* 80350F60 0034DEC0 98 66 00 01 */ stb r3, 1(r6) +/* 80350F64 0034DEC4 98 66 00 02 */ stb r3, 2(r6) +/* 80350F68 0034DEC8 98 66 00 03 */ stb r3, 3(r6) +/* 80350F6C 0034DECC 98 66 00 04 */ stb r3, 4(r6) +/* 80350F70 0034DED0 98 66 00 05 */ stb r3, 5(r6) +/* 80350F74 0034DED4 98 66 00 06 */ stb r3, 6(r6) +/* 80350F78 0034DED8 98 66 00 07 */ stb r3, 7(r6) +/* 80350F7C 0034DEDC 38 C6 00 08 */ addi r6, r6, 8 +/* 80350F80 0034DEE0 42 00 FF DC */ bdnz lbl_80350F5C +/* 80350F84 0034DEE4 70 84 00 07 */ andi. r4, r4, 7 +/* 80350F88 0034DEE8 41 82 00 14 */ beq lbl_80350F9C +lbl_80350F8C: +/* 80350F8C 0034DEEC 7C 89 03 A6 */ mtctr r4 +lbl_80350F90: +/* 80350F90 0034DEF0 98 66 00 00 */ stb r3, 0(r6) +/* 80350F94 0034DEF4 38 C6 00 01 */ addi r6, r6, 1 +/* 80350F98 0034DEF8 42 00 FF F8 */ bdnz lbl_80350F90 +lbl_80350F9C: +/* 80350F9C 0034DEFC 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80350FA0 0034DF00 7C A3 2B 78 */ mr r3, r5 +/* 80350FA4 0034DF04 7C 1E 00 50 */ subf r0, r30, r0 +/* 80350FA8 0034DF08 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80350FAC 0034DF0C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80350FB0 0034DF10 38 04 00 01 */ addi r0, r4, 1 +/* 80350FB4 0034DF14 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80350FB8: +/* 80350FB8 0034DF18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350FBC 0034DF1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350FC0 0034DF20 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350FC4 0034DF24 7C 08 03 A6 */ mtlr r0 +/* 80350FC8 0034DF28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350FCC 0034DF2C 4E 80 00 20 */ blr + +.global FindFree__15CSmallAllocPoolFi +FindFree__15CSmallAllocPoolFi: +/* 80350FD0 0034DF30 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80350FD4 0034DF34 54 85 0F FE */ srwi r5, r4, 0x1f +/* 80350FD8 0034DF38 7C 85 22 14 */ add r4, r5, r4 +/* 80350FDC 0034DF3C 28 00 00 00 */ cmplwi r0, 0 +/* 80350FE0 0034DF40 7C 86 0E 70 */ srawi r6, r4, 1 +/* 80350FE4 0034DF44 40 82 00 0C */ bne lbl_80350FF0 +/* 80350FE8 0034DF48 80 03 00 04 */ lwz r0, 4(r3) +/* 80350FEC 0034DF4C 90 03 00 0C */ stw r0, 0xc(r3) +lbl_80350FF0: +/* 80350FF0 0034DF50 80 03 00 08 */ lwz r0, 8(r3) +/* 80350FF4 0034DF54 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 80350FF8 0034DF58 80 A3 00 04 */ lwz r5, 4(r3) +/* 80350FFC 0034DF5C 54 00 F8 7E */ srwi r0, r0, 1 +/* 80351000 0034DF60 7C E9 3B 78 */ mr r9, r7 +/* 80351004 0034DF64 7D 05 02 14 */ add r8, r5, r0 +lbl_80351008: +/* 80351008 0034DF68 88 09 00 00 */ lbz r0, 0(r9) +/* 8035100C 0034DF6C 28 00 00 00 */ cmplwi r0, 0 +/* 80351010 0034DF70 40 82 00 0C */ bne lbl_8035101C +/* 80351014 0034DF74 7C 09 40 40 */ cmplw r9, r8 +/* 80351018 0034DF78 40 82 00 2C */ bne lbl_80351044 +lbl_8035101C: +/* 8035101C 0034DF7C 7C 09 40 40 */ cmplw r9, r8 +/* 80351020 0034DF80 40 82 00 0C */ bne lbl_8035102C +/* 80351024 0034DF84 7C A9 2B 78 */ mr r9, r5 +/* 80351028 0034DF88 48 00 00 98 */ b lbl_803510C0 +lbl_8035102C: +/* 8035102C 0034DF8C 7C 04 26 70 */ srawi r4, r0, 4 +/* 80351030 0034DF90 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80351034 0034DF94 7C 00 22 14 */ add r0, r0, r4 +/* 80351038 0034DF98 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8035103C 0034DF9C 7D 29 02 14 */ add r9, r9, r0 +/* 80351040 0034DFA0 48 00 00 80 */ b lbl_803510C0 +lbl_80351044: +/* 80351044 0034DFA4 7C 89 32 14 */ add r4, r9, r6 +/* 80351048 0034DFA8 39 49 00 01 */ addi r10, r9, 1 +/* 8035104C 0034DFAC 48 00 00 14 */ b lbl_80351060 +lbl_80351050: +/* 80351050 0034DFB0 88 0A 00 00 */ lbz r0, 0(r10) +/* 80351054 0034DFB4 28 00 00 00 */ cmplwi r0, 0 +/* 80351058 0034DFB8 40 82 00 20 */ bne lbl_80351078 +/* 8035105C 0034DFBC 39 4A 00 01 */ addi r10, r10, 1 +lbl_80351060: +/* 80351060 0034DFC0 7C 0A 38 40 */ cmplw r10, r7 +/* 80351064 0034DFC4 41 82 00 14 */ beq lbl_80351078 +/* 80351068 0034DFC8 7C 0A 40 40 */ cmplw r10, r8 +/* 8035106C 0034DFCC 41 82 00 0C */ beq lbl_80351078 +/* 80351070 0034DFD0 7C 0A 20 40 */ cmplw r10, r4 +/* 80351074 0034DFD4 40 82 FF DC */ bne lbl_80351050 +lbl_80351078: +/* 80351078 0034DFD8 7C 0A 20 40 */ cmplw r10, r4 +/* 8035107C 0034DFDC 40 82 00 20 */ bne lbl_8035109C +/* 80351080 0034DFE0 7C 0A 40 40 */ cmplw r10, r8 +/* 80351084 0034DFE4 40 82 00 0C */ bne lbl_80351090 +/* 80351088 0034DFE8 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8035108C 0034DFEC 48 00 00 08 */ b lbl_80351094 +lbl_80351090: +/* 80351090 0034DFF0 91 23 00 0C */ stw r9, 0xc(r3) +lbl_80351094: +/* 80351094 0034DFF4 7D 23 4B 78 */ mr r3, r9 +/* 80351098 0034DFF8 4E 80 00 20 */ blr +lbl_8035109C: +/* 8035109C 0034DFFC 7C 0A 38 40 */ cmplw r10, r7 +/* 803510A0 0034E000 40 82 00 0C */ bne lbl_803510AC +/* 803510A4 0034E004 38 60 00 00 */ li r3, 0 +/* 803510A8 0034E008 4E 80 00 20 */ blr +lbl_803510AC: +/* 803510AC 0034E00C 7C 0A 40 40 */ cmplw r10, r8 +/* 803510B0 0034E010 40 82 00 0C */ bne lbl_803510BC +/* 803510B4 0034E014 7C A9 2B 78 */ mr r9, r5 +/* 803510B8 0034E018 48 00 00 08 */ b lbl_803510C0 +lbl_803510BC: +/* 803510BC 0034E01C 7D 49 53 78 */ mr r9, r10 +lbl_803510C0: +/* 803510C0 0034E020 7C 09 38 40 */ cmplw r9, r7 +/* 803510C4 0034E024 40 82 FF 44 */ bne lbl_80351008 +/* 803510C8 0034E028 38 60 00 00 */ li r3, 0 +/* 803510CC 0034E02C 4E 80 00 20 */ blr + +.global __ct__15CSmallAllocPoolFUiPvPv +__ct__15CSmallAllocPoolFUiPvPv: +/* 803510D0 0034E030 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803510D4 0034E034 7C 08 02 A6 */ mflr r0 +/* 803510D8 0034E038 7C 88 23 78 */ mr r8, r4 +/* 803510DC 0034E03C 38 E0 00 00 */ li r7, 0 +/* 803510E0 0034E040 90 01 00 14 */ stw r0, 0x14(r1) +/* 803510E4 0034E044 38 00 FF FF */ li r0, -1 +/* 803510E8 0034E048 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803510EC 0034E04C 7C 7F 1B 78 */ mr r31, r3 +/* 803510F0 0034E050 90 A3 00 00 */ stw r5, 0(r3) +/* 803510F4 0034E054 54 85 F8 7E */ srwi r5, r4, 1 +/* 803510F8 0034E058 38 80 00 00 */ li r4, 0 +/* 803510FC 0034E05C 90 C3 00 04 */ stw r6, 4(r3) +/* 80351100 0034E060 7C C3 33 78 */ mr r3, r6 +/* 80351104 0034E064 91 1F 00 08 */ stw r8, 8(r31) +/* 80351108 0034E068 90 FF 00 0C */ stw r7, 0xc(r31) +/* 8035110C 0034E06C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80351110 0034E070 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80351114 0034E074 91 1F 00 18 */ stw r8, 0x18(r31) +/* 80351118 0034E078 90 FF 00 1C */ stw r7, 0x1c(r31) +/* 8035111C 0034E07C 4B CB 22 8D */ bl memset +/* 80351120 0034E080 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351124 0034E084 7F E3 FB 78 */ mr r3, r31 +/* 80351128 0034E088 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035112C 0034E08C 7C 08 03 A6 */ mtlr r0 +/* 80351130 0034E090 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351134 0034E094 4E 80 00 20 */ blr + +.global sub_80351138 +sub_80351138: +/* 80351138 0034E098 80 03 00 B8 */ lwz r0, 0xb8(r3) +/* 8035113C 0034E09C 7C 00 22 14 */ add r0, r0, r4 +/* 80351140 0034E0A0 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 80351144 0034E0A4 4E 80 00 20 */ blr + +.global GetLargestFreeChunk__14CGameAllocatorCFv +GetLargestFreeChunk__14CGameAllocatorCFv: +/* 80351148 0034E0A8 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8035114C 0034E0AC 38 60 00 00 */ li r3, 0 +/* 80351150 0034E0B0 48 00 00 28 */ b lbl_80351178 +lbl_80351154: +/* 80351154 0034E0B4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80351158 0034E0B8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8035115C 0034E0BC 40 82 00 14 */ bne lbl_80351170 +/* 80351160 0034E0C0 80 04 00 04 */ lwz r0, 4(r4) +/* 80351164 0034E0C4 7C 00 18 40 */ cmplw r0, r3 +/* 80351168 0034E0C8 40 81 00 08 */ ble lbl_80351170 +/* 8035116C 0034E0CC 7C 03 03 78 */ mr r3, r0 +lbl_80351170: +/* 80351170 0034E0D0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80351174 0034E0D4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +lbl_80351178: +/* 80351178 0034E0D8 28 04 00 00 */ cmplwi r4, 0 +/* 8035117C 0034E0DC 40 82 FF D8 */ bne lbl_80351154 + +.global sub_80351180 +sub_80351180: +/* 80351180 0034E0E0 4E 80 00 20 */ blr + +.global DumpAllocations__14CGameAllocatorCFv +DumpAllocations__14CGameAllocatorCFv: +/* 80351184 0034E0E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351188 0034E0E8 7C 08 02 A6 */ mflr r0 +/* 8035118C 0034E0EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351190 0034E0F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80351194 0034E0F4 93 C1 00 08 */ stw r30, 8(r1) +/* 80351198 0034E0F8 7C 7E 1B 78 */ mr r30, r3 +/* 8035119C 0034E0FC 4B FF FF AD */ bl GetLargestFreeChunk__14CGameAllocatorCFv +/* 803511A0 0034E100 83 DE 00 0C */ lwz r30, 0xc(r30) +/* 803511A4 0034E104 3B E0 00 00 */ li r31, 0 +/* 803511A8 0034E108 48 00 00 30 */ b lbl_803511D8 +lbl_803511AC: +/* 803511AC 0034E10C 3B FF 00 01 */ addi r31, r31, 1 +/* 803511B0 0034E110 57 E0 F0 02 */ slwi r0, r31, 0x1e +/* 803511B4 0034E114 57 E3 0F FE */ srwi r3, r31, 0x1f +/* 803511B8 0034E118 7C 03 00 50 */ subf r0, r3, r0 +/* 803511BC 0034E11C 54 00 10 3E */ rotlwi r0, r0, 2 +/* 803511C0 0034E120 7C 00 1A 15 */ add. r0, r0, r3 +/* 803511C4 0034E124 40 82 00 0C */ bne lbl_803511D0 +/* 803511C8 0034E128 C0 22 CC 98 */ lfs f1, lbl_805AE9B8@sda21(r2) +/* 803511CC 0034E12C 4B F8 50 A1 */ bl Wait__10CStopwatchFf +lbl_803511D0: +/* 803511D0 0034E130 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 803511D4 0034E134 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +lbl_803511D8: +/* 803511D8 0034E138 28 1E 00 00 */ cmplwi r30, 0 +/* 803511DC 0034E13C 40 82 FF D0 */ bne lbl_803511AC +/* 803511E0 0034E140 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803511E4 0034E144 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803511E8 0034E148 83 C1 00 08 */ lwz r30, 8(r1) +/* 803511EC 0034E14C 7C 08 03 A6 */ mtlr r0 +/* 803511F0 0034E150 38 21 00 10 */ addi r1, r1, 0x10 +/* 803511F4 0034E154 4E 80 00 20 */ blr + +.global RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo: +/* 803511F8 0034E158 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803511FC 0034E15C 7C 08 02 A6 */ mflr r0 +/* 80351200 0034E160 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351204 0034E164 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80351208 0034E168 7C 9F 23 78 */ mr r31, r4 +/* 8035120C 0034E16C 93 C1 00 08 */ stw r30, 8(r1) +/* 80351210 0034E170 7C 7E 1B 78 */ mr r30, r3 +/* 80351214 0034E174 80 64 00 04 */ lwz r3, 4(r4) +/* 80351218 0034E178 48 00 00 E5 */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi +/* 8035121C 0034E17C 54 60 10 3A */ slwi r0, r3, 2 +/* 80351220 0034E180 38 80 00 00 */ li r4, 0 +/* 80351224 0034E184 7C 7E 02 14 */ add r3, r30, r0 +/* 80351228 0034E188 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 8035122C 0034E18C 48 00 00 50 */ b lbl_8035127C +lbl_80351230: +/* 80351230 0034E190 7C 05 F8 40 */ cmplw r5, r31 +/* 80351234 0034E194 40 82 00 3C */ bne lbl_80351270 +/* 80351238 0034E198 28 04 00 00 */ cmplwi r4, 0 +/* 8035123C 0034E19C 40 82 00 14 */ bne lbl_80351250 +/* 80351240 0034E1A0 80 05 00 18 */ lwz r0, 0x18(r5) +/* 80351244 0034E1A4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80351248 0034E1A8 90 03 00 14 */ stw r0, 0x14(r3) +/* 8035124C 0034E1AC 48 00 00 38 */ b lbl_80351284 +lbl_80351250: +/* 80351250 0034E1B0 80 05 00 18 */ lwz r0, 0x18(r5) +/* 80351254 0034E1B4 80 64 00 18 */ lwz r3, 0x18(r4) +/* 80351258 0034E1B8 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 8035125C 0034E1BC 90 04 00 18 */ stw r0, 0x18(r4) +/* 80351260 0034E1C0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80351264 0034E1C4 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351268 0034E1C8 90 04 00 18 */ stw r0, 0x18(r4) +/* 8035126C 0034E1CC 48 00 00 18 */ b lbl_80351284 +lbl_80351270: +/* 80351270 0034E1D0 80 05 00 18 */ lwz r0, 0x18(r5) +/* 80351274 0034E1D4 7C A4 2B 78 */ mr r4, r5 +/* 80351278 0034E1D8 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +lbl_8035127C: +/* 8035127C 0034E1DC 28 05 00 00 */ cmplwi r5, 0 +/* 80351280 0034E1E0 40 82 FF B0 */ bne lbl_80351230 +lbl_80351284: +/* 80351284 0034E1E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351288 0034E1E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035128C 0034E1EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80351290 0034E1F0 7C 08 03 A6 */ mtlr r0 +/* 80351294 0034E1F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351298 0034E1F8 4E 80 00 20 */ blr + +.global AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo: +/* 8035129C 0034E1FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803512A0 0034E200 7C 08 02 A6 */ mflr r0 +/* 803512A4 0034E204 90 01 00 14 */ stw r0, 0x14(r1) +/* 803512A8 0034E208 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803512AC 0034E20C 7C 9F 23 78 */ mr r31, r4 +/* 803512B0 0034E210 93 C1 00 08 */ stw r30, 8(r1) +/* 803512B4 0034E214 7C 7E 1B 78 */ mr r30, r3 +/* 803512B8 0034E218 80 64 00 04 */ lwz r3, 4(r4) +/* 803512BC 0034E21C 48 00 00 41 */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi +/* 803512C0 0034E220 54 60 10 3A */ slwi r0, r3, 2 +/* 803512C4 0034E224 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 803512C8 0034E228 7C 9E 02 14 */ add r4, r30, r0 +/* 803512CC 0034E22C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 803512D0 0034E230 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803512D4 0034E234 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 803512D8 0034E238 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 803512DC 0034E23C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803512E0 0034E240 93 E4 00 14 */ stw r31, 0x14(r4) +/* 803512E4 0034E244 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803512E8 0034E248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803512EC 0034E24C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803512F0 0034E250 7C 08 03 A6 */ mtlr r0 +/* 803512F4 0034E254 38 21 00 10 */ addi r1, r1, 0x10 +/* 803512F8 0034E258 4E 80 00 20 */ blr + +.global GetFreeBinEntryForSize__14CGameAllocatorFUi +GetFreeBinEntryForSize__14CGameAllocatorFUi: +/* 803512FC 0034E25C 38 80 00 20 */ li r4, 0x20 +/* 80351300 0034E260 38 A0 00 00 */ li r5, 0 +/* 80351304 0034E264 3C 00 00 20 */ lis r0, 0x20 +/* 80351308 0034E268 48 00 00 1C */ b lbl_80351324 +lbl_8035130C: +/* 8035130C 0034E26C 7C 03 20 40 */ cmplw r3, r4 +/* 80351310 0034E270 40 80 00 0C */ bge lbl_8035131C +/* 80351314 0034E274 7C A3 2B 78 */ mr r3, r5 +/* 80351318 0034E278 4E 80 00 20 */ blr +lbl_8035131C: +/* 8035131C 0034E27C 54 84 08 3C */ slwi r4, r4, 1 +/* 80351320 0034E280 38 A5 00 01 */ addi r5, r5, 1 +lbl_80351324: +/* 80351324 0034E284 7C 04 00 40 */ cmplw r4, r0 +/* 80351328 0034E288 41 80 FF E4 */ blt lbl_8035130C +/* 8035132C 0034E28C 38 60 00 0F */ li r3, 0xf +/* 80351330 0034E290 4E 80 00 20 */ blr + +.global EnumAllocations__14CGameAllocatorCFPFRCQ210IAllocator10SAllocInfoPCv_CbPCvb +EnumAllocations__14CGameAllocatorCFPFRCQ210IAllocator10SAllocInfoPCv_CbPCvb: +/* 80351334 0034E294 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80351338 0034E298 7C 08 02 A6 */ mflr r0 +/* 8035133C 0034E29C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80351340 0034E2A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80351344 0034E2A4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80351348 0034E2A8 3B C0 00 00 */ li r30, 0 +/* 8035134C 0034E2AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80351350 0034E2B0 7C BD 2B 78 */ mr r29, r5 +/* 80351354 0034E2B4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80351358 0034E2B8 7C 9C 23 78 */ mr r28, r4 +/* 8035135C 0034E2BC 81 43 00 0C */ lwz r10, 0xc(r3) +/* 80351360 0034E2C0 48 00 00 88 */ b lbl_803513E8 +lbl_80351364: +/* 80351364 0034E2C4 80 6A 00 1C */ lwz r3, 0x1c(r10) +/* 80351368 0034E2C8 3C 03 15 16 */ addis r0, r3, 0x1516 +/* 8035136C 0034E2CC 28 00 EA EA */ cmplwi r0, 0xeaea +/* 80351370 0034E2D0 41 82 00 0C */ beq lbl_8035137C +/* 80351374 0034E2D4 38 60 FF FF */ li r3, -1 +/* 80351378 0034E2D8 48 00 00 7C */ b lbl_803513F4 +lbl_8035137C: +/* 8035137C 0034E2DC 80 6A 00 00 */ lwz r3, 0(r10) +/* 80351380 0034E2E0 3C 03 10 11 */ addis r0, r3, 0x1011 +/* 80351384 0034E2E4 28 00 EF EF */ cmplwi r0, 0xefef +/* 80351388 0034E2E8 41 82 00 0C */ beq lbl_80351394 +/* 8035138C 0034E2EC 38 60 FF FF */ li r3, -1 +/* 80351390 0034E2F0 48 00 00 64 */ b lbl_803513F4 +lbl_80351394: +/* 80351394 0034E2F4 80 6A 00 10 */ lwz r3, 0x10(r10) +/* 80351398 0034E2F8 7F 8C E3 78 */ mr r12, r28 +/* 8035139C 0034E2FC 80 CA 00 14 */ lwz r6, 0x14(r10) +/* 803513A0 0034E300 38 00 00 00 */ li r0, 0 +/* 803513A4 0034E304 81 2A 00 0C */ lwz r9, 0xc(r10) +/* 803513A8 0034E308 54 65 07 FE */ clrlwi r5, r3, 0x1f +/* 803513AC 0034E30C 81 0A 00 08 */ lwz r8, 8(r10) +/* 803513B0 0034E310 7F A4 EB 78 */ mr r4, r29 +/* 803513B4 0034E314 80 EA 00 04 */ lwz r7, 4(r10) +/* 803513B8 0034E318 54 DF 00 34 */ rlwinm r31, r6, 0, 0, 0x1a +/* 803513BC 0034E31C 38 61 00 08 */ addi r3, r1, 8 +/* 803513C0 0034E320 91 41 00 08 */ stw r10, 8(r1) +/* 803513C4 0034E324 90 E1 00 0C */ stw r7, 0xc(r1) +/* 803513C8 0034E328 98 A1 00 10 */ stb r5, 0x10(r1) +/* 803513CC 0034E32C 98 01 00 11 */ stb r0, 0x11(r1) +/* 803513D0 0034E330 91 01 00 14 */ stw r8, 0x14(r1) +/* 803513D4 0034E334 91 21 00 18 */ stw r9, 0x18(r1) +/* 803513D8 0034E338 7D 89 03 A6 */ mtctr r12 +/* 803513DC 0034E33C 4E 80 04 21 */ bctrl +/* 803513E0 0034E340 7F EA FB 78 */ mr r10, r31 +/* 803513E4 0034E344 3B DE 00 01 */ addi r30, r30, 1 +lbl_803513E8: +/* 803513E8 0034E348 28 0A 00 00 */ cmplwi r10, 0 +/* 803513EC 0034E34C 40 82 FF 78 */ bne lbl_80351364 +/* 803513F0 0034E350 7F C3 F3 78 */ mr r3, r30 +lbl_803513F4: +/* 803513F4 0034E354 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803513F8 0034E358 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803513FC 0034E35C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80351400 0034E360 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80351404 0034E364 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80351408 0034E368 7C 08 03 A6 */ mtlr r0 +/* 8035140C 0034E36C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80351410 0034E370 4E 80 00 20 */ blr + +.global GetMetrics__14CGameAllocatorCFv +GetMetrics__14CGameAllocatorCFv: +/* 80351414 0034E374 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80351418 0034E378 7C 08 02 A6 */ mflr r0 +/* 8035141C 0034E37C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80351420 0034E380 BF 41 00 A8 */ stmw r26, 0xa8(r1) +/* 80351424 0034E384 7C 7D 1B 78 */ mr r29, r3 +/* 80351428 0034E388 7C 9E 23 78 */ mr r30, r4 +/* 8035142C 0034E38C 80 64 00 74 */ lwz r3, 0x74(r4) +/* 80351430 0034E390 28 03 00 00 */ cmplwi r3, 0 +/* 80351434 0034E394 41 82 00 10 */ beq lbl_80351444 +/* 80351438 0034E398 4B FF F6 FD */ bl GetTotalEntries__16CMediumAllocPoolFv +/* 8035143C 0034E39C 54 7F 28 34 */ slwi r31, r3, 5 +/* 80351440 0034E3A0 48 00 00 08 */ b lbl_80351448 +lbl_80351444: +/* 80351444 0034E3A4 3B E0 00 00 */ li r31, 0 +lbl_80351448: +/* 80351448 0034E3A8 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8035144C 0034E3AC 28 03 00 00 */ cmplwi r3, 0 +/* 80351450 0034E3B0 41 82 00 10 */ beq lbl_80351460 +/* 80351454 0034E3B4 4B FF F6 B5 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv +/* 80351458 0034E3B8 7C 7B 1B 78 */ mr r27, r3 +/* 8035145C 0034E3BC 48 00 00 08 */ b lbl_80351464 +lbl_80351460: +/* 80351460 0034E3C0 3B 60 00 00 */ li r27, 0 +lbl_80351464: +/* 80351464 0034E3C4 83 5E 00 74 */ lwz r26, 0x74(r30) +/* 80351468 0034E3C8 28 1A 00 00 */ cmplwi r26, 0 +/* 8035146C 0034E3CC 41 82 00 20 */ beq lbl_8035148C +/* 80351470 0034E3D0 7F 43 D3 78 */ mr r3, r26 +/* 80351474 0034E3D4 4B FF F6 C1 */ bl GetTotalEntries__16CMediumAllocPoolFv +/* 80351478 0034E3D8 7C 7C 1B 78 */ mr r28, r3 +/* 8035147C 0034E3DC 7F 43 D3 78 */ mr r3, r26 +/* 80351480 0034E3E0 4B FF F6 89 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv +/* 80351484 0034E3E4 7F 83 E0 50 */ subf r28, r3, r28 +/* 80351488 0034E3E8 48 00 00 08 */ b lbl_80351490 +lbl_8035148C: +/* 8035148C 0034E3EC 3B 80 00 00 */ li r28, 0 +lbl_80351490: +/* 80351490 0034E3F0 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 80351494 0034E3F4 28 03 00 00 */ cmplwi r3, 0 +/* 80351498 0034E3F8 41 82 00 10 */ beq lbl_803514A8 +/* 8035149C 0034E3FC 4B FF F6 C5 */ bl GetNumAllocs__16CMediumAllocPoolFv +/* 803514A0 0034E400 7C 64 1B 78 */ mr r4, r3 +/* 803514A4 0034E404 48 00 00 08 */ b lbl_803514AC +lbl_803514A8: +/* 803514A8 0034E408 38 80 00 00 */ li r4, 0 +lbl_803514AC: +/* 803514AC 0034E40C 80 BE 00 60 */ lwz r5, 0x60(r30) +/* 803514B0 0034E410 28 05 00 00 */ cmplwi r5, 0 +/* 803514B4 0034E414 41 82 00 0C */ beq lbl_803514C0 +/* 803514B8 0034E418 80 C5 00 18 */ lwz r6, 0x18(r5) +/* 803514BC 0034E41C 48 00 00 08 */ b lbl_803514C4 +lbl_803514C0: +/* 803514C0 0034E420 38 C0 00 00 */ li r6, 0 +lbl_803514C4: +/* 803514C4 0034E424 28 05 00 00 */ cmplwi r5, 0 +/* 803514C8 0034E428 41 82 00 14 */ beq lbl_803514DC +/* 803514CC 0034E42C 80 65 00 18 */ lwz r3, 0x18(r5) +/* 803514D0 0034E430 80 05 00 08 */ lwz r0, 8(r5) +/* 803514D4 0034E434 7C E3 00 50 */ subf r7, r3, r0 +/* 803514D8 0034E438 48 00 00 08 */ b lbl_803514E0 +lbl_803514DC: +/* 803514DC 0034E43C 38 E0 00 00 */ li r7, 0 +lbl_803514E0: +/* 803514E0 0034E440 28 05 00 00 */ cmplwi r5, 0 +/* 803514E4 0034E444 41 82 00 0C */ beq lbl_803514F0 +/* 803514E8 0034E448 81 05 00 1C */ lwz r8, 0x1c(r5) +/* 803514EC 0034E44C 48 00 00 08 */ b lbl_803514F4 +lbl_803514F0: +/* 803514F0 0034E450 39 00 00 00 */ li r8, 0 +lbl_803514F4: +/* 803514F4 0034E454 80 BE 00 80 */ lwz r5, 0x80(r30) +/* 803514F8 0034E458 38 61 00 48 */ addi r3, r1, 0x48 +/* 803514FC 0034E45C 80 1E 00 98 */ lwz r0, 0x98(r30) +/* 80351500 0034E460 90 01 00 08 */ stw r0, 8(r1) +/* 80351504 0034E464 80 1E 00 9C */ lwz r0, 0x9c(r30) +/* 80351508 0034E468 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035150C 0034E46C 80 1E 00 A0 */ lwz r0, 0xa0(r30) +/* 80351510 0034E470 90 01 00 10 */ stw r0, 0x10(r1) +/* 80351514 0034E474 80 1E 00 A4 */ lwz r0, 0xa4(r30) +/* 80351518 0034E478 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035151C 0034E47C 91 01 00 18 */ stw r8, 0x18(r1) +/* 80351520 0034E480 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 80351524 0034E484 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80351528 0034E488 90 81 00 24 */ stw r4, 0x24(r1) +/* 8035152C 0034E48C 93 81 00 28 */ stw r28, 0x28(r1) +/* 80351530 0034E490 93 61 00 2C */ stw r27, 0x2c(r1) +/* 80351534 0034E494 80 1E 00 B0 */ lwz r0, 0xb0(r30) +/* 80351538 0034E498 7C 00 28 50 */ subf r0, r0, r5 +/* 8035153C 0034E49C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80351540 0034E4A0 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 80351544 0034E4A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80351548 0034E4A8 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 8035154C 0034E4AC 90 01 00 38 */ stw r0, 0x38(r1) +/* 80351550 0034E4B0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80351554 0034E4B4 80 1E 00 B8 */ lwz r0, 0xb8(r30) +/* 80351558 0034E4B8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8035155C 0034E4BC 80 9E 00 08 */ lwz r4, 8(r30) +/* 80351560 0034E4C0 80 DE 00 84 */ lwz r6, 0x84(r30) +/* 80351564 0034E4C4 80 FE 00 88 */ lwz r7, 0x88(r30) +/* 80351568 0034E4C8 81 1E 00 8C */ lwz r8, 0x8c(r30) +/* 8035156C 0034E4CC 81 3E 00 90 */ lwz r9, 0x90(r30) +/* 80351570 0034E4D0 81 5E 00 94 */ lwz r10, 0x94(r30) +/* 80351574 0034E4D4 4B FC 47 6D */ bl __ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi +/* 80351578 0034E4D8 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 8035157C 0034E4DC 7F A3 EB 78 */ mr r3, r29 +/* 80351580 0034E4E0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80351584 0034E4E4 90 1E 00 B0 */ stw r0, 0xb0(r30) +/* 80351588 0034E4E8 4B D7 20 C5 */ bl __ct__Q210IAllocator8SMetricsFRCQ210IAllocator8SMetrics +/* 8035158C 0034E4EC BB 41 00 A8 */ lmw r26, 0xa8(r1) +/* 80351590 0034E4F0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80351594 0034E4F4 7C 08 03 A6 */ mtlr r0 +/* 80351598 0034E4F8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8035159C 0034E4FC 4E 80 00 20 */ blr + +.global GetAllocInfo__14CGameAllocatorCFPCv +GetAllocInfo__14CGameAllocatorCFPCv: +/* 803515A0 0034E500 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803515A4 0034E504 7C 08 02 A6 */ mflr r0 +/* 803515A8 0034E508 90 01 00 14 */ stw r0, 0x14(r1) +/* 803515AC 0034E50C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803515B0 0034E510 7C 7F 1B 78 */ mr r31, r3 +/* 803515B4 0034E514 7C 83 23 78 */ mr r3, r4 +/* 803515B8 0034E518 7C A4 2B 78 */ mr r4, r5 +/* 803515BC 0034E51C 48 00 10 A5 */ bl GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv +/* 803515C0 0034E520 80 83 00 10 */ lwz r4, 0x10(r3) +/* 803515C4 0034E524 38 00 00 00 */ li r0, 0 +/* 803515C8 0034E528 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 803515CC 0034E52C 80 C3 00 08 */ lwz r6, 8(r3) +/* 803515D0 0034E530 54 84 07 FE */ clrlwi r4, r4, 0x1f +/* 803515D4 0034E534 80 A3 00 04 */ lwz r5, 4(r3) +/* 803515D8 0034E538 90 7F 00 00 */ stw r3, 0(r31) +/* 803515DC 0034E53C 90 BF 00 04 */ stw r5, 4(r31) +/* 803515E0 0034E540 98 9F 00 08 */ stb r4, 8(r31) +/* 803515E4 0034E544 98 1F 00 09 */ stb r0, 9(r31) +/* 803515E8 0034E548 90 DF 00 0C */ stw r6, 0xc(r31) +/* 803515EC 0034E54C 90 FF 00 10 */ stw r7, 0x10(r31) +/* 803515F0 0034E550 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803515F4 0034E554 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803515F8 0034E558 7C 08 03 A6 */ mtlr r0 +/* 803515FC 0034E55C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351600 0034E560 4E 80 00 20 */ blr + +.global SetOutOfMemoryCallback__14CGameAllocatorFPFPCvUi_CbPCv +SetOutOfMemoryCallback__14CGameAllocatorFPFPCvUi_CbPCv: +/* 80351604 0034E564 90 83 00 58 */ stw r4, 0x58(r3) +/* 80351608 0034E568 90 A3 00 5C */ stw r5, 0x5c(r3) +/* 8035160C 0034E56C 4E 80 00 20 */ blr + +.global ReleaseAllSecondary__14CGameAllocatorFv +ReleaseAllSecondary__14CGameAllocatorFv: +/* 80351610 0034E570 4E 80 00 20 */ blr + +.global FreeSecondary__14CGameAllocatorFPCv +FreeSecondary__14CGameAllocatorFPCv: +/* 80351614 0034E574 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351618 0034E578 7C 08 02 A6 */ mflr r0 +/* 8035161C 0034E57C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351620 0034E580 81 83 00 00 */ lwz r12, 0(r3) +/* 80351624 0034E584 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80351628 0034E588 7D 89 03 A6 */ mtctr r12 +/* 8035162C 0034E58C 4E 80 04 21 */ bctrl +/* 80351630 0034E590 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351634 0034E594 7C 08 03 A6 */ mtlr r0 +/* 80351638 0034E598 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035163C 0034E59C 4E 80 00 20 */ blr + +.global AllocSecondary__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +AllocSecondary__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: +/* 80351640 0034E5A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351644 0034E5A4 7C 08 02 A6 */ mflr r0 +/* 80351648 0034E5A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035164C 0034E5AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80351650 0034E5B0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80351654 0034E5B4 7D 89 03 A6 */ mtctr r12 +/* 80351658 0034E5B8 4E 80 04 21 */ bctrl +/* 8035165C 0034E5BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351660 0034E5C0 7C 08 03 A6 */ mtlr r0 +/* 80351664 0034E5C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351668 0034E5C8 4E 80 00 20 */ blr + +.global ReleaseAll__14CGameAllocatorFv +ReleaseAll__14CGameAllocatorFv: +/* 8035166C 0034E5CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351670 0034E5D0 7C 08 02 A6 */ mflr r0 +/* 80351674 0034E5D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351678 0034E5D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035167C 0034E5DC 93 C1 00 08 */ stw r30, 8(r1) +/* 80351680 0034E5E0 7C 7E 1B 78 */ mr r30, r3 +/* 80351684 0034E5E4 80 63 00 74 */ lwz r3, 0x74(r3) +/* 80351688 0034E5E8 28 03 00 00 */ cmplwi r3, 0 +/* 8035168C 0034E5EC 41 82 00 1C */ beq lbl_803516A8 +/* 80351690 0034E5F0 4B FF F6 61 */ bl ClearPuddles__16CMediumAllocPoolFv +/* 80351694 0034E5F4 80 9E 00 74 */ lwz r4, 0x74(r30) +/* 80351698 0034E5F8 7F C3 F3 78 */ mr r3, r30 +/* 8035169C 0034E5FC 48 00 00 65 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +/* 803516A0 0034E600 38 00 00 00 */ li r0, 0 +/* 803516A4 0034E604 90 1E 00 74 */ stw r0, 0x74(r30) +lbl_803516A8: +/* 803516A8 0034E608 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 803516AC 0034E60C 48 00 00 28 */ b lbl_803516D4 +lbl_803516B0: +/* 803516B0 0034E610 80 04 00 10 */ lwz r0, 0x10(r4) +/* 803516B4 0034E614 80 64 00 14 */ lwz r3, 0x14(r4) +/* 803516B8 0034E618 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 803516BC 0034E61C 54 7F 00 34 */ rlwinm r31, r3, 0, 0, 0x1a +/* 803516C0 0034E620 41 82 00 10 */ beq lbl_803516D0 +/* 803516C4 0034E624 7F C3 F3 78 */ mr r3, r30 +/* 803516C8 0034E628 38 84 00 20 */ addi r4, r4, 0x20 +/* 803516CC 0034E62C 48 00 00 35 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +lbl_803516D0: +/* 803516D0 0034E630 7F E4 FB 78 */ mr r4, r31 +lbl_803516D4: +/* 803516D4 0034E634 28 04 00 00 */ cmplwi r4, 0 +/* 803516D8 0034E638 40 82 FF D8 */ bne lbl_803516B0 +/* 803516DC 0034E63C 38 00 00 00 */ li r0, 0 +/* 803516E0 0034E640 90 1E 00 0C */ stw r0, 0xc(r30) +/* 803516E4 0034E644 90 1E 00 10 */ stw r0, 0x10(r30) +/* 803516E8 0034E648 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803516EC 0034E64C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803516F0 0034E650 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803516F4 0034E654 7C 08 03 A6 */ mtlr r0 +/* 803516F8 0034E658 38 21 00 10 */ addi r1, r1, 0x10 +/* 803516FC 0034E65C 4E 80 00 20 */ blr + +.global FreeNormalAllocation__14CGameAllocatorFPCv +FreeNormalAllocation__14CGameAllocatorFPCv: +/* 80351700 0034E660 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80351704 0034E664 7C 08 02 A6 */ mflr r0 +/* 80351708 0034E668 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035170C 0034E66C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80351710 0034E670 7C 79 1B 78 */ mr r25, r3 +/* 80351714 0034E674 48 00 0F 4D */ bl GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv +/* 80351718 0034E678 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8035171C 0034E67C 3B 80 00 00 */ li r28, 0 +/* 80351720 0034E680 83 63 00 04 */ lwz r27, 4(r3) +/* 80351724 0034E684 7C 7D 1B 78 */ mr r29, r3 +/* 80351728 0034E688 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a +/* 8035172C 0034E68C 3B 40 00 00 */ li r26, 0 +/* 80351730 0034E690 41 82 00 0C */ beq lbl_8035173C +/* 80351734 0034E694 7C 7D 00 50 */ subf r3, r29, r0 +/* 80351738 0034E698 3B 43 FF E0 */ addi r26, r3, -32 +lbl_8035173C: +/* 8035173C 0034E69C 93 5D 00 04 */ stw r26, 4(r29) +/* 80351740 0034E6A0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80351744 0034E6A4 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80351748 0034E6A8 54 7F 00 35 */ rlwinm. r31, r3, 0, 0, 0x1a +/* 8035174C 0034E6AC 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80351750 0034E6B0 41 82 00 68 */ beq lbl_803517B8 +/* 80351754 0034E6B4 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80351758 0034E6B8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8035175C 0034E6BC 40 82 00 5C */ bne lbl_803517B8 +/* 80351760 0034E6C0 7F 23 CB 78 */ mr r3, r25 +/* 80351764 0034E6C4 7F E4 FB 78 */ mr r4, r31 +/* 80351768 0034E6C8 4B FF FA 91 */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 8035176C 0034E6CC 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80351770 0034E6D0 28 1E 00 00 */ cmplwi r30, 0 +/* 80351774 0034E6D4 93 DF 00 14 */ stw r30, 0x14(r31) +/* 80351778 0034E6D8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8035177C 0034E6DC 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351780 0034E6E0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80351784 0034E6E4 41 82 00 18 */ beq lbl_8035179C +/* 80351788 0034E6E8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8035178C 0034E6EC 93 FE 00 10 */ stw r31, 0x10(r30) +/* 80351790 0034E6F0 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80351794 0034E6F4 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351798 0034E6F8 90 1E 00 10 */ stw r0, 0x10(r30) +lbl_8035179C: +/* 8035179C 0034E6FC 80 1D 00 04 */ lwz r0, 4(r29) +/* 803517A0 0034E700 7F FD FB 78 */ mr r29, r31 +/* 803517A4 0034E704 80 7F 00 04 */ lwz r3, 4(r31) +/* 803517A8 0034E708 3B 80 00 20 */ li r28, 0x20 +/* 803517AC 0034E70C 7C 60 1A 14 */ add r3, r0, r3 +/* 803517B0 0034E710 38 03 00 20 */ addi r0, r3, 0x20 +/* 803517B4 0034E714 90 1F 00 04 */ stw r0, 4(r31) +lbl_803517B8: +/* 803517B8 0034E718 28 1E 00 00 */ cmplwi r30, 0 +/* 803517BC 0034E71C 41 82 00 8C */ beq lbl_80351848 +/* 803517C0 0034E720 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 803517C4 0034E724 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 803517C8 0034E728 40 82 00 80 */ bne lbl_80351848 +/* 803517CC 0034E72C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 803517D0 0034E730 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a +/* 803517D4 0034E734 41 82 00 74 */ beq lbl_80351848 +/* 803517D8 0034E738 7F 23 CB 78 */ mr r3, r25 +/* 803517DC 0034E73C 7F C4 F3 78 */ mr r4, r30 +/* 803517E0 0034E740 4B FF FA 19 */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 803517E4 0034E744 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 803517E8 0034E748 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 803517EC 0034E74C 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 803517F0 0034E750 90 1D 00 14 */ stw r0, 0x14(r29) +/* 803517F4 0034E754 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 803517F8 0034E758 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 803517FC 0034E75C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80351800 0034E760 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80351804 0034E764 54 04 00 35 */ rlwinm. r4, r0, 0, 0, 0x1a +/* 80351808 0034E768 41 82 00 18 */ beq lbl_80351820 +/* 8035180C 0034E76C 80 64 00 10 */ lwz r3, 0x10(r4) +/* 80351810 0034E770 93 A4 00 10 */ stw r29, 0x10(r4) +/* 80351814 0034E774 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80351818 0034E778 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 8035181C 0034E77C 90 04 00 10 */ stw r0, 0x10(r4) +lbl_80351820: +/* 80351820 0034E780 80 7D 00 04 */ lwz r3, 4(r29) +/* 80351824 0034E784 3B 9C 00 20 */ addi r28, r28, 0x20 +/* 80351828 0034E788 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035182C 0034E78C 7C 60 1A 14 */ add r3, r0, r3 +/* 80351830 0034E790 38 03 00 20 */ addi r0, r3, 0x20 +/* 80351834 0034E794 90 1D 00 04 */ stw r0, 4(r29) +/* 80351838 0034E798 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8035183C 0034E79C 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e +/* 80351840 0034E7A0 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80351844 0034E7A4 48 00 00 10 */ b lbl_80351854 +lbl_80351848: +/* 80351848 0034E7A8 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8035184C 0034E7AC 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e +/* 80351850 0034E7B0 90 1D 00 10 */ stw r0, 0x10(r29) +lbl_80351854: +/* 80351854 0034E7B4 7F 23 CB 78 */ mr r3, r25 +/* 80351858 0034E7B8 7F A4 EB 78 */ mr r4, r29 +/* 8035185C 0034E7BC 4B FF FA 41 */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80351860 0034E7C0 80 79 00 84 */ lwz r3, 0x84(r25) +/* 80351864 0034E7C4 7C 9A E2 14 */ add r4, r26, r28 +/* 80351868 0034E7C8 28 1B 00 38 */ cmplwi r27, 0x38 +/* 8035186C 0034E7CC 38 03 FF FF */ addi r0, r3, -1 +/* 80351870 0034E7D0 90 19 00 84 */ stw r0, 0x84(r25) +/* 80351874 0034E7D4 80 19 00 88 */ lwz r0, 0x88(r25) +/* 80351878 0034E7D8 7C 1B 00 50 */ subf r0, r27, r0 +/* 8035187C 0034E7DC 90 19 00 88 */ stw r0, 0x88(r25) +/* 80351880 0034E7E0 80 19 00 8C */ lwz r0, 0x8c(r25) +/* 80351884 0034E7E4 7C 04 00 50 */ subf r0, r4, r0 +/* 80351888 0034E7E8 90 19 00 8C */ stw r0, 0x8c(r25) +/* 8035188C 0034E7EC 80 19 00 90 */ lwz r0, 0x90(r25) +/* 80351890 0034E7F0 7C 00 22 14 */ add r0, r0, r4 +/* 80351894 0034E7F4 90 19 00 90 */ stw r0, 0x90(r25) +/* 80351898 0034E7F8 41 81 00 10 */ bgt lbl_803518A8 +/* 8035189C 0034E7FC 80 79 00 A8 */ lwz r3, 0xa8(r25) +/* 803518A0 0034E800 38 03 FF FF */ addi r0, r3, -1 +/* 803518A4 0034E804 90 19 00 A8 */ stw r0, 0xa8(r25) +lbl_803518A8: +/* 803518A8 0034E808 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 803518AC 0034E80C 38 60 00 01 */ li r3, 1 +/* 803518B0 0034E810 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803518B4 0034E814 7C 08 03 A6 */ mtlr r0 +/* 803518B8 0034E818 38 21 00 30 */ addi r1, r1, 0x30 +/* 803518BC 0034E81C 4E 80 00 20 */ blr + +.global Free__14CGameAllocatorFPCv +Free__14CGameAllocatorFPCv: +/* 803518C0 0034E820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803518C4 0034E824 7C 08 02 A6 */ mflr r0 +/* 803518C8 0034E828 90 01 00 14 */ stw r0, 0x14(r1) +/* 803518CC 0034E82C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803518D0 0034E830 7C 9F 23 79 */ or. r31, r4, r4 +/* 803518D4 0034E834 93 C1 00 08 */ stw r30, 8(r1) +/* 803518D8 0034E838 7C 7E 1B 78 */ mr r30, r3 +/* 803518DC 0034E83C 40 82 00 0C */ bne lbl_803518E8 +/* 803518E0 0034E840 38 60 00 01 */ li r3, 1 +/* 803518E4 0034E844 48 00 00 6C */ b lbl_80351950 +lbl_803518E8: +/* 803518E8 0034E848 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 803518EC 0034E84C 28 03 00 00 */ cmplwi r3, 0 +/* 803518F0 0034E850 41 82 00 28 */ beq lbl_80351918 +/* 803518F4 0034E854 80 A3 00 00 */ lwz r5, 0(r3) +/* 803518F8 0034E858 80 03 00 08 */ lwz r0, 8(r3) +/* 803518FC 0034E85C 7C A5 F8 50 */ subf r5, r5, r31 +/* 80351900 0034E860 7C A5 16 70 */ srawi r5, r5, 2 +/* 80351904 0034E864 7C A5 01 94 */ addze r5, r5 +/* 80351908 0034E868 7C 05 00 40 */ cmplw r5, r0 +/* 8035190C 0034E86C 40 80 00 0C */ bge lbl_80351918 +/* 80351910 0034E870 4B FF F5 15 */ bl Free__15CSmallAllocPoolFPCv +/* 80351914 0034E874 48 00 00 3C */ b lbl_80351950 +lbl_80351918: +/* 80351918 0034E878 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8035191C 0034E87C 28 03 00 00 */ cmplwi r3, 0 +/* 80351920 0034E880 41 82 00 24 */ beq lbl_80351944 +/* 80351924 0034E884 7F E4 FB 78 */ mr r4, r31 +/* 80351928 0034E888 4B FF F2 65 */ bl Free__16CMediumAllocPoolFPCv +/* 8035192C 0034E88C 2C 03 00 01 */ cmpwi r3, 1 +/* 80351930 0034E890 41 82 00 14 */ beq lbl_80351944 +/* 80351934 0034E894 7C 03 00 D0 */ neg r0, r3 +/* 80351938 0034E898 7C 00 18 78 */ andc r0, r0, r3 +/* 8035193C 0034E89C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80351940 0034E8A0 48 00 00 10 */ b lbl_80351950 +lbl_80351944: +/* 80351944 0034E8A4 7F C3 F3 78 */ mr r3, r30 +/* 80351948 0034E8A8 7F E4 FB 78 */ mr r4, r31 +/* 8035194C 0034E8AC 4B FF FD B5 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +lbl_80351950: +/* 80351950 0034E8B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351954 0034E8B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80351958 0034E8B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035195C 0034E8BC 7C 08 03 A6 */ mtlr r0 +/* 80351960 0034E8C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351964 0034E8C4 4E 80 00 20 */ blr + +.global UpdateAllocDebugStats__14CGameAllocatorFUiUiUi +UpdateAllocDebugStats__14CGameAllocatorFUiUiUi: +/* 80351968 0034E8C8 80 E3 00 84 */ lwz r7, 0x84(r3) +/* 8035196C 0034E8CC 7C C5 32 14 */ add r6, r5, r6 +/* 80351970 0034E8D0 38 07 00 01 */ addi r0, r7, 1 +/* 80351974 0034E8D4 90 03 00 84 */ stw r0, 0x84(r3) +/* 80351978 0034E8D8 80 A3 00 80 */ lwz r5, 0x80(r3) +/* 8035197C 0034E8DC 38 05 00 01 */ addi r0, r5, 1 +/* 80351980 0034E8E0 90 03 00 80 */ stw r0, 0x80(r3) +/* 80351984 0034E8E4 80 03 00 88 */ lwz r0, 0x88(r3) +/* 80351988 0034E8E8 7C 00 22 14 */ add r0, r0, r4 +/* 8035198C 0034E8EC 90 03 00 88 */ stw r0, 0x88(r3) +/* 80351990 0034E8F0 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 80351994 0034E8F4 7C 00 32 14 */ add r0, r0, r6 +/* 80351998 0034E8F8 90 03 00 8C */ stw r0, 0x8c(r3) +/* 8035199C 0034E8FC 80 03 00 90 */ lwz r0, 0x90(r3) +/* 803519A0 0034E900 7C 06 00 50 */ subf r0, r6, r0 +/* 803519A4 0034E904 90 03 00 90 */ stw r0, 0x90(r3) +/* 803519A8 0034E908 80 A3 00 84 */ lwz r5, 0x84(r3) +/* 803519AC 0034E90C 80 03 00 94 */ lwz r0, 0x94(r3) +/* 803519B0 0034E910 7C 05 00 40 */ cmplw r5, r0 +/* 803519B4 0034E914 40 81 00 08 */ ble lbl_803519BC +/* 803519B8 0034E918 90 A3 00 94 */ stw r5, 0x94(r3) +lbl_803519BC: +/* 803519BC 0034E91C 80 A3 00 8C */ lwz r5, 0x8c(r3) +/* 803519C0 0034E920 80 03 00 98 */ lwz r0, 0x98(r3) +/* 803519C4 0034E924 7C 05 00 40 */ cmplw r5, r0 +/* 803519C8 0034E928 40 81 00 08 */ ble lbl_803519D0 +/* 803519CC 0034E92C 90 A3 00 98 */ stw r5, 0x98(r3) +lbl_803519D0: +/* 803519D0 0034E930 80 03 00 9C */ lwz r0, 0x9c(r3) +/* 803519D4 0034E934 7C 04 00 40 */ cmplw r4, r0 +/* 803519D8 0034E938 40 80 00 08 */ bge lbl_803519E0 +/* 803519DC 0034E93C 90 83 00 9C */ stw r4, 0x9c(r3) +lbl_803519E0: +/* 803519E0 0034E940 80 03 00 A0 */ lwz r0, 0xa0(r3) +/* 803519E4 0034E944 7C 04 00 40 */ cmplw r4, r0 +/* 803519E8 0034E948 40 81 00 08 */ ble lbl_803519F0 +/* 803519EC 0034E94C 90 83 00 A0 */ stw r4, 0xa0(r3) +lbl_803519F0: +/* 803519F0 0034E950 80 C3 00 80 */ lwz r6, 0x80(r3) +/* 803519F4 0034E954 28 04 00 38 */ cmplwi r4, 0x38 +/* 803519F8 0034E958 80 A3 00 A4 */ lwz r5, 0xa4(r3) +/* 803519FC 0034E95C 38 06 FF FF */ addi r0, r6, -1 +/* 80351A00 0034E960 7C 05 01 D6 */ mullw r0, r5, r0 +/* 80351A04 0034E964 7C 04 02 14 */ add r0, r4, r0 +/* 80351A08 0034E968 7C 00 33 96 */ divwu r0, r0, r6 +/* 80351A0C 0034E96C 90 03 00 A4 */ stw r0, 0xa4(r3) +/* 80351A10 0034E970 4D 81 00 20 */ bgtlr +/* 80351A14 0034E974 80 83 00 A8 */ lwz r4, 0xa8(r3) +/* 80351A18 0034E978 38 04 00 01 */ addi r0, r4, 1 +/* 80351A1C 0034E97C 90 03 00 A8 */ stw r0, 0xa8(r3) +/* 80351A20 0034E980 4E 80 00 20 */ blr + +.global FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack +FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack: +/* 80351A24 0034E984 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80351A28 0034E988 7C 08 02 A6 */ mflr r0 +/* 80351A2C 0034E98C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80351A30 0034E990 38 06 00 20 */ addi r0, r6, 0x20 +/* 80351A34 0034E994 BF 01 00 50 */ stmw r24, 0x50(r1) +/* 80351A38 0034E998 7C 98 23 78 */ mr r24, r4 +/* 80351A3C 0034E99C 7C B9 2B 78 */ mr r25, r5 +/* 80351A40 0034E9A0 7D 1A 43 78 */ mr r26, r8 +/* 80351A44 0034E9A4 54 FF 07 FE */ clrlwi r31, r7, 0x1f +/* 80351A48 0034E9A8 3B A0 00 00 */ li r29, 0 +/* 80351A4C 0034E9AC 80 84 00 04 */ lwz r4, 4(r4) +/* 80351A50 0034E9B0 7C 04 00 40 */ cmplw r4, r0 +/* 80351A54 0034E9B4 40 82 00 0C */ bne lbl_80351A60 +/* 80351A58 0034E9B8 3B A0 00 20 */ li r29, 0x20 +/* 80351A5C 0034E9BC 38 C6 00 20 */ addi r6, r6, 0x20 +lbl_80351A60: +/* 80351A60 0034E9C0 7C 04 30 40 */ cmplw r4, r6 +/* 80351A64 0034E9C4 7F 1C C3 78 */ mr r28, r24 +/* 80351A68 0034E9C8 41 82 01 64 */ beq lbl_80351BCC +/* 80351A6C 0034E9CC 80 18 00 14 */ lwz r0, 0x14(r24) +/* 80351A70 0034E9D0 28 1F 00 00 */ cmplwi r31, 0 +/* 80351A74 0034E9D4 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80351A78 0034E9D8 41 82 00 8C */ beq lbl_80351B04 +/* 80351A7C 0034E9DC 3C 80 EF F0 */ lis r4, 0xEFEFEFEF@ha +/* 80351A80 0034E9E0 7C A6 F0 50 */ subf r5, r6, r30 +/* 80351A84 0034E9E4 39 44 EF EF */ addi r10, r4, 0xEFEFEFEF@l +/* 80351A88 0034E9E8 39 00 00 00 */ li r8, 0 +/* 80351A8C 0034E9EC 91 45 FF E0 */ stw r10, -0x20(r5) +/* 80351A90 0034E9F0 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80351A94 0034E9F4 38 84 82 48 */ addi r4, r4, lbl_803D8248@l +/* 80351A98 0034E9F8 3B 65 FF E0 */ addi r27, r5, -32 +/* 80351A9C 0034E9FC 93 25 FF E4 */ stw r25, -0x1c(r5) +/* 80351AA0 0034EA00 39 24 00 20 */ addi r9, r4, 0x20 +/* 80351AA4 0034EA04 3C 80 EA EB */ lis r4, 0xEAEAEAEA@ha +/* 80351AA8 0034EA08 38 A6 00 20 */ addi r5, r6, 0x20 +/* 80351AAC 0034EA0C 91 3B 00 08 */ stw r9, 8(r27) +/* 80351AB0 0034EA10 38 E4 EA EA */ addi r7, r4, 0xEAEAEAEA@l +/* 80351AB4 0034EA14 7F 04 C3 78 */ mr r4, r24 +/* 80351AB8 0034EA18 91 3B 00 0C */ stw r9, 0xc(r27) +/* 80351ABC 0034EA1C 93 1B 00 10 */ stw r24, 0x10(r27) +/* 80351AC0 0034EA20 93 DB 00 14 */ stw r30, 0x14(r27) +/* 80351AC4 0034EA24 91 1B 00 18 */ stw r8, 0x18(r27) +/* 80351AC8 0034EA28 90 FB 00 1C */ stw r7, 0x1c(r27) +/* 80351ACC 0034EA2C 80 18 00 04 */ lwz r0, 4(r24) +/* 80351AD0 0034EA30 91 41 00 28 */ stw r10, 0x28(r1) +/* 80351AD4 0034EA34 7C 05 00 50 */ subf r0, r5, r0 +/* 80351AD8 0034EA38 93 21 00 2C */ stw r25, 0x2c(r1) +/* 80351ADC 0034EA3C 91 21 00 30 */ stw r9, 0x30(r1) +/* 80351AE0 0034EA40 91 21 00 34 */ stw r9, 0x34(r1) +/* 80351AE4 0034EA44 93 01 00 38 */ stw r24, 0x38(r1) +/* 80351AE8 0034EA48 93 C1 00 3C */ stw r30, 0x3c(r1) +/* 80351AEC 0034EA4C 91 01 00 40 */ stw r8, 0x40(r1) +/* 80351AF0 0034EA50 90 E1 00 44 */ stw r7, 0x44(r1) +/* 80351AF4 0034EA54 90 18 00 04 */ stw r0, 4(r24) +/* 80351AF8 0034EA58 4B FF F7 A5 */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80351AFC 0034EA5C 7F 7C DB 78 */ mr r28, r27 +/* 80351B00 0034EA60 48 00 00 84 */ b lbl_80351B84 +lbl_80351B04: +/* 80351B04 0034EA64 3B 66 00 20 */ addi r27, r6, 0x20 +/* 80351B08 0034EA68 81 18 00 18 */ lwz r8, 0x18(r24) +/* 80351B0C 0034EA6C 3C A0 EF F0 */ lis r5, 0xEFEFEFEF@ha +/* 80351B10 0034EA70 80 18 00 04 */ lwz r0, 4(r24) +/* 80351B14 0034EA74 38 E5 EF EF */ addi r7, r5, 0xEFEFEFEF@l +/* 80351B18 0034EA78 7F 78 DA 14 */ add r27, r24, r27 +/* 80351B1C 0034EA7C 7C A6 00 50 */ subf r5, r6, r0 +/* 80351B20 0034EA80 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80351B24 0034EA84 38 C5 FF E0 */ addi r6, r5, -32 +/* 80351B28 0034EA88 90 FB 00 00 */ stw r7, 0(r27) +/* 80351B2C 0034EA8C 38 84 82 48 */ addi r4, r4, lbl_803D8248@l +/* 80351B30 0034EA90 55 08 00 34 */ rlwinm r8, r8, 0, 0, 0x1a +/* 80351B34 0034EA94 38 A4 00 20 */ addi r5, r4, 0x20 +/* 80351B38 0034EA98 90 DB 00 04 */ stw r6, 4(r27) +/* 80351B3C 0034EA9C 3C 80 EA EB */ lis r4, 0xEAEAEAEA@ha +/* 80351B40 0034EAA0 90 BB 00 08 */ stw r5, 8(r27) +/* 80351B44 0034EAA4 38 04 EA EA */ addi r0, r4, 0xEAEAEAEA@l +/* 80351B48 0034EAA8 7F 64 DB 78 */ mr r4, r27 +/* 80351B4C 0034EAAC 90 BB 00 0C */ stw r5, 0xc(r27) +/* 80351B50 0034EAB0 93 1B 00 10 */ stw r24, 0x10(r27) +/* 80351B54 0034EAB4 93 DB 00 14 */ stw r30, 0x14(r27) +/* 80351B58 0034EAB8 91 1B 00 18 */ stw r8, 0x18(r27) +/* 80351B5C 0034EABC 90 E1 00 08 */ stw r7, 8(r1) +/* 80351B60 0034EAC0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80351B64 0034EAC4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80351B68 0034EAC8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80351B6C 0034EACC 93 01 00 18 */ stw r24, 0x18(r1) +/* 80351B70 0034EAD0 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 80351B74 0034EAD4 91 01 00 20 */ stw r8, 0x20(r1) +/* 80351B78 0034EAD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80351B7C 0034EADC 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 80351B80 0034EAE0 4B FF F7 1D */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +lbl_80351B84: +/* 80351B84 0034EAE4 7F 43 D3 78 */ mr r3, r26 +/* 80351B88 0034EAE8 4B F8 48 45 */ bl GetFileAndLineText__10CCallStackCFv +/* 80351B8C 0034EAEC 90 7C 00 08 */ stw r3, 8(r28) +/* 80351B90 0034EAF0 7F 43 D3 78 */ mr r3, r26 +/* 80351B94 0034EAF4 4B F8 48 31 */ bl GetTypeText__10CCallStackCFv +/* 80351B98 0034EAF8 90 7C 00 0C */ stw r3, 0xc(r28) +/* 80351B9C 0034EAFC 3B A0 00 20 */ li r29, 0x20 +/* 80351BA0 0034EB00 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80351BA4 0034EB04 93 7E 00 10 */ stw r27, 0x10(r30) +/* 80351BA8 0034EB08 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80351BAC 0034EB0C 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351BB0 0034EB10 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80351BB4 0034EB14 80 78 00 14 */ lwz r3, 0x14(r24) +/* 80351BB8 0034EB18 93 78 00 14 */ stw r27, 0x14(r24) +/* 80351BBC 0034EB1C 80 18 00 14 */ lwz r0, 0x14(r24) +/* 80351BC0 0034EB20 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351BC4 0034EB24 90 18 00 14 */ stw r0, 0x14(r24) +/* 80351BC8 0034EB28 48 00 00 1C */ b lbl_80351BE4 +lbl_80351BCC: +/* 80351BCC 0034EB2C 7F 43 D3 78 */ mr r3, r26 +/* 80351BD0 0034EB30 4B F8 47 FD */ bl GetFileAndLineText__10CCallStackCFv +/* 80351BD4 0034EB34 90 78 00 08 */ stw r3, 8(r24) +/* 80351BD8 0034EB38 7F 43 D3 78 */ mr r3, r26 +/* 80351BDC 0034EB3C 4B F8 47 E9 */ bl GetTypeText__10CCallStackCFv +/* 80351BE0 0034EB40 90 78 00 0C */ stw r3, 0xc(r24) +lbl_80351BE4: +/* 80351BE4 0034EB44 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80351BE8 0034EB48 28 1F 00 00 */ cmplwi r31, 0 +/* 80351BEC 0034EB4C 38 80 00 00 */ li r4, 0 +/* 80351BF0 0034EB50 54 60 06 FE */ clrlwi r0, r3, 0x1b +/* 80351BF4 0034EB54 54 65 00 34 */ rlwinm r5, r3, 0, 0, 0x1a +/* 80351BF8 0034EB58 41 82 00 08 */ beq lbl_80351C00 +/* 80351BFC 0034EB5C 38 80 00 02 */ li r4, 2 +lbl_80351C00: +/* 80351C00 0034EB60 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d +/* 80351C04 0034EB64 7F A3 EB 78 */ mr r3, r29 +/* 80351C08 0034EB68 7C 80 03 78 */ or r0, r4, r0 +/* 80351C0C 0034EB6C 7C A0 03 78 */ or r0, r5, r0 +/* 80351C10 0034EB70 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80351C14 0034EB74 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 80351C18 0034EB78 54 80 06 FC */ rlwinm r0, r4, 0, 0x1b, 0x1e +/* 80351C1C 0034EB7C 60 00 00 01 */ ori r0, r0, 1 +/* 80351C20 0034EB80 50 80 00 34 */ rlwimi r0, r4, 0, 0, 0x1a +/* 80351C24 0034EB84 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80351C28 0034EB88 93 3C 00 04 */ stw r25, 4(r28) +/* 80351C2C 0034EB8C BB 01 00 50 */ lmw r24, 0x50(r1) +/* 80351C30 0034EB90 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80351C34 0034EB94 7C 08 03 A6 */ mtlr r0 +/* 80351C38 0034EB98 38 21 00 70 */ addi r1, r1, 0x70 +/* 80351C3C 0034EB9C 4E 80 00 20 */ blr + +.global FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi +FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi: +/* 80351C40 0034EBA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351C44 0034EBA4 7C 08 02 A6 */ mflr r0 +/* 80351C48 0034EBA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351C4C 0034EBAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80351C50 0034EBB0 3B E0 00 00 */ li r31, 0 +/* 80351C54 0034EBB4 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80351C58 0034EBB8 48 00 00 28 */ b lbl_80351C80 +lbl_80351C5C: +/* 80351C5C 0034EBBC 80 A6 00 10 */ lwz r5, 0x10(r6) +/* 80351C60 0034EBC0 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 80351C64 0034EBC4 40 82 00 18 */ bne lbl_80351C7C +/* 80351C68 0034EBC8 80 06 00 04 */ lwz r0, 4(r6) +/* 80351C6C 0034EBCC 7C 00 20 40 */ cmplw r0, r4 +/* 80351C70 0034EBD0 41 80 00 0C */ blt lbl_80351C7C +/* 80351C74 0034EBD4 7C DF 33 78 */ mr r31, r6 +/* 80351C78 0034EBD8 48 00 00 10 */ b lbl_80351C88 +lbl_80351C7C: +/* 80351C7C 0034EBDC 54 A6 00 34 */ rlwinm r6, r5, 0, 0, 0x1a +lbl_80351C80: +/* 80351C80 0034EBE0 28 06 00 00 */ cmplwi r6, 0 +/* 80351C84 0034EBE4 40 82 FF D8 */ bne lbl_80351C5C +lbl_80351C88: +/* 80351C88 0034EBE8 7F E4 FB 78 */ mr r4, r31 +/* 80351C8C 0034EBEC 4B FF F5 6D */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80351C90 0034EBF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351C94 0034EBF4 7F E3 FB 78 */ mr r3, r31 +/* 80351C98 0034EBF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80351C9C 0034EBFC 7C 08 03 A6 */ mtlr r0 +/* 80351CA0 0034EC00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351CA4 0034EC04 4E 80 00 20 */ blr + +.global FindFreeBlock__14CGameAllocatorFUi +FindFreeBlock__14CGameAllocatorFUi: +/* 80351CA8 0034EC08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80351CAC 0034EC0C 7C 08 02 A6 */ mflr r0 +/* 80351CB0 0034EC10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80351CB4 0034EC14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80351CB8 0034EC18 3B E0 00 00 */ li r31, 0 +/* 80351CBC 0034EC1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80351CC0 0034EC20 7C 9E 23 78 */ mr r30, r4 +/* 80351CC4 0034EC24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80351CC8 0034EC28 7C 7D 1B 78 */ mr r29, r3 +/* 80351CCC 0034EC2C 7F C3 F3 78 */ mr r3, r30 +/* 80351CD0 0034EC30 4B FF F6 2D */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi +/* 80351CD4 0034EC34 54 60 10 3A */ slwi r0, r3, 2 +/* 80351CD8 0034EC38 38 C0 00 00 */ li r6, 0 +/* 80351CDC 0034EC3C 38 E0 00 00 */ li r7, 0 +/* 80351CE0 0034EC40 3D 00 10 00 */ lis r8, 0x1000 +/* 80351CE4 0034EC44 7C BD 02 14 */ add r5, r29, r0 +/* 80351CE8 0034EC48 48 00 00 74 */ b lbl_80351D5C +lbl_80351CEC: +/* 80351CEC 0034EC4C 81 25 00 14 */ lwz r9, 0x14(r5) +/* 80351CF0 0034EC50 39 40 00 00 */ li r10, 0 +/* 80351CF4 0034EC54 48 00 00 58 */ b lbl_80351D4C +lbl_80351CF8: +/* 80351CF8 0034EC58 80 09 00 10 */ lwz r0, 0x10(r9) +/* 80351CFC 0034EC5C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80351D00 0034EC60 40 82 00 40 */ bne lbl_80351D40 +/* 80351D04 0034EC64 80 09 00 04 */ lwz r0, 4(r9) +/* 80351D08 0034EC68 7C 00 F0 40 */ cmplw r0, r30 +/* 80351D0C 0034EC6C 41 80 00 34 */ blt lbl_80351D40 +/* 80351D10 0034EC70 7C 9E 00 50 */ subf r4, r30, r0 +/* 80351D14 0034EC74 7C 04 40 40 */ cmplw r4, r8 +/* 80351D18 0034EC78 40 80 00 28 */ bge lbl_80351D40 +/* 80351D1C 0034EC7C 80 09 00 14 */ lwz r0, 0x14(r9) +/* 80351D20 0034EC80 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a +/* 80351D24 0034EC84 41 82 00 1C */ beq lbl_80351D40 +/* 80351D28 0034EC88 28 04 00 20 */ cmplwi r4, 0x20 +/* 80351D2C 0034EC8C 7D 3F 4B 78 */ mr r31, r9 +/* 80351D30 0034EC90 7D 47 53 78 */ mr r7, r10 +/* 80351D34 0034EC94 7C 88 23 78 */ mr r8, r4 +/* 80351D38 0034EC98 7C 66 1B 78 */ mr r6, r3 +/* 80351D3C 0034EC9C 41 80 00 18 */ blt lbl_80351D54 +lbl_80351D40: +/* 80351D40 0034ECA0 80 09 00 18 */ lwz r0, 0x18(r9) +/* 80351D44 0034ECA4 7D 2A 4B 78 */ mr r10, r9 +/* 80351D48 0034ECA8 54 09 00 34 */ rlwinm r9, r0, 0, 0, 0x1a +lbl_80351D4C: +/* 80351D4C 0034ECAC 28 09 00 00 */ cmplwi r9, 0 +/* 80351D50 0034ECB0 40 82 FF A8 */ bne lbl_80351CF8 +lbl_80351D54: +/* 80351D54 0034ECB4 38 A5 00 04 */ addi r5, r5, 4 +/* 80351D58 0034ECB8 38 63 00 01 */ addi r3, r3, 1 +lbl_80351D5C: +/* 80351D5C 0034ECBC 28 03 00 10 */ cmplwi r3, 0x10 +/* 80351D60 0034ECC0 40 80 00 0C */ bge lbl_80351D6C +/* 80351D64 0034ECC4 28 1F 00 00 */ cmplwi r31, 0 +/* 80351D68 0034ECC8 41 82 FF 84 */ beq lbl_80351CEC +lbl_80351D6C: +/* 80351D6C 0034ECCC 28 1F 00 00 */ cmplwi r31, 0 +/* 80351D70 0034ECD0 41 82 00 40 */ beq lbl_80351DB0 +/* 80351D74 0034ECD4 28 07 00 00 */ cmplwi r7, 0 +/* 80351D78 0034ECD8 40 82 00 1C */ bne lbl_80351D94 +/* 80351D7C 0034ECDC 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80351D80 0034ECE0 54 C0 10 3A */ slwi r0, r6, 2 +/* 80351D84 0034ECE4 7C 7D 02 14 */ add r3, r29, r0 +/* 80351D88 0034ECE8 54 80 00 34 */ rlwinm r0, r4, 0, 0, 0x1a +/* 80351D8C 0034ECEC 90 03 00 14 */ stw r0, 0x14(r3) +/* 80351D90 0034ECF0 48 00 00 20 */ b lbl_80351DB0 +lbl_80351D94: +/* 80351D94 0034ECF4 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80351D98 0034ECF8 80 67 00 18 */ lwz r3, 0x18(r7) +/* 80351D9C 0034ECFC 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80351DA0 0034ED00 90 07 00 18 */ stw r0, 0x18(r7) +/* 80351DA4 0034ED04 80 07 00 18 */ lwz r0, 0x18(r7) +/* 80351DA8 0034ED08 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351DAC 0034ED0C 90 07 00 18 */ stw r0, 0x18(r7) +lbl_80351DB0: +/* 80351DB0 0034ED10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80351DB4 0034ED14 7F E3 FB 78 */ mr r3, r31 +/* 80351DB8 0034ED18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80351DBC 0034ED1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80351DC0 0034ED20 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80351DC4 0034ED24 7C 08 03 A6 */ mtlr r0 +/* 80351DC8 0034ED28 38 21 00 20 */ addi r1, r1, 0x20 +/* 80351DCC 0034ED2C 4E 80 00 20 */ blr + +.global Alloc__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +Alloc__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: +/* 80351DD0 0034ED30 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80351DD4 0034ED34 7C 08 02 A6 */ mflr r0 +/* 80351DD8 0034ED38 90 01 00 44 */ stw r0, 0x44(r1) +/* 80351DDC 0034ED3C BE C1 00 18 */ stmw r22, 0x18(r1) +/* 80351DE0 0034ED40 7C 7F 1B 78 */ mr r31, r3 +/* 80351DE4 0034ED44 7C 9A 23 78 */ mr r26, r4 +/* 80351DE8 0034ED48 7C BB 2B 78 */ mr r27, r5 +/* 80351DEC 0034ED4C 7C DC 33 78 */ mr r28, r6 +/* 80351DF0 0034ED50 7C FD 3B 78 */ mr r29, r7 +/* 80351DF4 0034ED54 7D 1E 43 78 */ mr r30, r8 +/* 80351DF8 0034ED58 48 03 35 C9 */ bl OSGetTick +/* 80351DFC 0034ED5C 57 60 07 BD */ rlwinm. r0, r27, 0, 0x1e, 0x1e +/* 80351E00 0034ED60 7C 79 1B 78 */ mr r25, r3 +/* 80351E04 0034ED64 41 82 00 0C */ beq lbl_80351E10 +/* 80351E08 0034ED68 38 1A 00 1F */ addi r0, r26, 0x1f +/* 80351E0C 0034ED6C 54 1A 00 34 */ rlwinm r26, r0, 0, 0, 0x1a +lbl_80351E10: +/* 80351E10 0034ED70 28 1A 00 38 */ cmplwi r26, 0x38 +/* 80351E14 0034ED74 38 60 00 00 */ li r3, 0 +/* 80351E18 0034ED78 41 81 00 1C */ bgt lbl_80351E34 +/* 80351E1C 0034ED7C 57 60 07 BF */ clrlwi. r0, r27, 0x1e +/* 80351E20 0034ED80 40 82 00 14 */ bne lbl_80351E34 +/* 80351E24 0034ED84 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80351E28 0034ED88 28 00 00 00 */ cmplwi r0, 0 +/* 80351E2C 0034ED8C 41 82 00 08 */ beq lbl_80351E34 +/* 80351E30 0034ED90 38 60 00 01 */ li r3, 1 +lbl_80351E34: +/* 80351E34 0034ED94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80351E38 0034ED98 7C 64 1B 78 */ mr r4, r3 +/* 80351E3C 0034ED9C 41 82 00 1C */ beq lbl_80351E58 +/* 80351E40 0034EDA0 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 80351E44 0034EDA4 2C 03 00 00 */ cmpwi r3, 0 +/* 80351E48 0034EDA8 40 81 00 10 */ ble lbl_80351E58 +/* 80351E4C 0034EDAC 38 03 FF FF */ addi r0, r3, -1 +/* 80351E50 0034EDB0 38 80 00 00 */ li r4, 0 +/* 80351E54 0034EDB4 90 1F 00 70 */ stw r0, 0x70(r31) +lbl_80351E58: +/* 80351E58 0034EDB8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80351E5C 0034EDBC 41 82 00 98 */ beq lbl_80351EF4 +/* 80351E60 0034EDC0 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80351E64 0034EDC4 7F 44 D3 78 */ mr r4, r26 +/* 80351E68 0034EDC8 4B FF F0 51 */ bl Alloc__15CSmallAllocPoolFUi +/* 80351E6C 0034EDCC 80 BF 00 60 */ lwz r5, 0x60(r31) +/* 80351E70 0034EDD0 7C 78 1B 78 */ mr r24, r3 +/* 80351E74 0034EDD4 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 80351E78 0034EDD8 80 85 00 18 */ lwz r4, 0x18(r5) +/* 80351E7C 0034EDDC 80 65 00 08 */ lwz r3, 8(r5) +/* 80351E80 0034EDE0 7C 84 18 50 */ subf r4, r4, r3 +/* 80351E84 0034EDE4 7C 00 20 40 */ cmplw r0, r4 +/* 80351E88 0034EDE8 40 80 00 38 */ bge lbl_80351EC0 +/* 80351E8C 0034EDEC 90 9F 00 AC */ stw r4, 0xac(r31) +/* 80351E90 0034EDF0 88 0D AA 28 */ lbz r0, lbl_805A95E8@sda21(r13) +/* 80351E94 0034EDF4 7C 00 07 75 */ extsb. r0, r0 +/* 80351E98 0034EDF8 40 82 00 14 */ bne lbl_80351EAC +/* 80351E9C 0034EDFC 38 60 00 00 */ li r3, 0 +/* 80351EA0 0034EE00 38 00 00 01 */ li r0, 1 +/* 80351EA4 0034EE04 90 6D AA 24 */ stw r3, lbl_805A95E4@sda21(r13) +/* 80351EA8 0034EE08 98 0D AA 28 */ stb r0, lbl_805A95E8@sda21(r13) +lbl_80351EAC: +/* 80351EAC 0034EE0C 80 6D AA 24 */ lwz r3, lbl_805A95E4@sda21(r13) +/* 80351EB0 0034EE10 38 03 00 80 */ addi r0, r3, 0x80 +/* 80351EB4 0034EE14 7C 00 20 40 */ cmplw r0, r4 +/* 80351EB8 0034EE18 40 80 00 08 */ bge lbl_80351EC0 +/* 80351EBC 0034EE1C 90 8D AA 24 */ stw r4, lbl_805A95E4@sda21(r13) +lbl_80351EC0: +/* 80351EC0 0034EE20 28 18 00 00 */ cmplwi r24, 0 +/* 80351EC4 0034EE24 41 82 00 20 */ beq lbl_80351EE4 +/* 80351EC8 0034EE28 48 03 34 F9 */ bl OSGetTick +/* 80351ECC 0034EE2C 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) +/* 80351ED0 0034EE30 7C 99 18 50 */ subf r4, r25, r3 +/* 80351ED4 0034EE34 7F 03 C3 78 */ mr r3, r24 +/* 80351ED8 0034EE38 7C 00 22 14 */ add r0, r0, r4 +/* 80351EDC 0034EE3C 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) +/* 80351EE0 0034EE40 48 00 02 84 */ b lbl_80352164 +lbl_80351EE4: +/* 80351EE4 0034EE44 38 60 00 19 */ li r3, 0x19 +/* 80351EE8 0034EE48 38 00 00 01 */ li r0, 1 +/* 80351EEC 0034EE4C 90 7F 00 70 */ stw r3, 0x70(r31) +/* 80351EF0 0034EE50 98 1F 00 6C */ stb r0, 0x6c(r31) +lbl_80351EF4: +/* 80351EF4 0034EE54 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351EF8 0034EE58 28 03 00 00 */ cmplwi r3, 0 +/* 80351EFC 0034EE5C 41 82 01 10 */ beq lbl_8035200C +/* 80351F00 0034EE60 28 1A 04 00 */ cmplwi r26, 0x400 +/* 80351F04 0034EE64 41 81 01 08 */ bgt lbl_8035200C +/* 80351F08 0034EE68 57 60 07 FF */ clrlwi. r0, r27, 0x1f +/* 80351F0C 0034EE6C 40 82 01 00 */ bne lbl_8035200C +/* 80351F10 0034EE70 4B FF ED CD */ bl sub_80350cdc +/* 80351F14 0034EE74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80351F18 0034EE78 40 82 00 20 */ bne lbl_80351F38 +/* 80351F1C 0034EE7C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351F20 0034EE80 3A E0 00 00 */ li r23, 0 +/* 80351F24 0034EE84 80 BF 00 78 */ lwz r5, 0x78(r31) +/* 80351F28 0034EE88 38 80 10 00 */ li r4, 0x1000 +/* 80351F2C 0034EE8C 38 C0 00 00 */ li r6, 0 +/* 80351F30 0034EE90 4B FF EA 61 */ bl AddPuddle__16CMediumAllocPoolFUiPvPvi +/* 80351F34 0034EE94 92 FF 00 78 */ stw r23, 0x78(r31) +lbl_80351F38: +/* 80351F38 0034EE98 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351F3C 0034EE9C 7F 44 D3 78 */ mr r4, r26 +/* 80351F40 0034EEA0 4B FF EC F9 */ bl Alloc__16CMediumAllocPoolFUi +/* 80351F44 0034EEA4 7C 77 1B 79 */ or. r23, r3, r3 +/* 80351F48 0034EEA8 40 82 00 74 */ bne lbl_80351FBC +/* 80351F4C 0034EEAC 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80351F50 0034EEB0 38 61 00 08 */ addi r3, r1, 8 +/* 80351F54 0034EEB4 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l +/* 80351F58 0034EEB8 38 80 FF FF */ li r4, -1 +/* 80351F5C 0034EEBC 38 A6 00 21 */ addi r5, r6, 0x21 +/* 80351F60 0034EEC0 38 C6 00 38 */ addi r6, r6, 0x38 +/* 80351F64 0034EEC4 4B F8 44 71 */ bl __ct__10CCallStackFUiPCcPCc +/* 80351F68 0034EEC8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80351F6C 0034EECC 3C 80 00 02 */ lis r4, 0x00021000@ha +/* 80351F70 0034EED0 7C 68 1B 78 */ mr r8, r3 +/* 80351F74 0034EED4 7F E3 FB 78 */ mr r3, r31 +/* 80351F78 0034EED8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80351F7C 0034EEDC 38 A0 00 00 */ li r5, 0 +/* 80351F80 0034EEE0 38 84 10 00 */ addi r4, r4, 0x00021000@l +/* 80351F84 0034EEE4 38 C0 00 01 */ li r6, 1 +/* 80351F88 0034EEE8 38 E0 00 00 */ li r7, 0 +/* 80351F8C 0034EEEC 7D 89 03 A6 */ mtctr r12 +/* 80351F90 0034EEF0 4E 80 04 21 */ bctrl +/* 80351F94 0034EEF4 7C 60 1B 78 */ mr r0, r3 +/* 80351F98 0034EEF8 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351F9C 0034EEFC 7C 05 03 78 */ mr r5, r0 +/* 80351FA0 0034EF00 38 80 10 00 */ li r4, 0x1000 +/* 80351FA4 0034EF04 38 C0 00 01 */ li r6, 1 +/* 80351FA8 0034EF08 4B FF E9 E9 */ bl AddPuddle__16CMediumAllocPoolFUiPvPvi +/* 80351FAC 0034EF0C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351FB0 0034EF10 7F 44 D3 78 */ mr r4, r26 +/* 80351FB4 0034EF14 4B FF EC 85 */ bl Alloc__16CMediumAllocPoolFUi +/* 80351FB8 0034EF18 7C 77 1B 78 */ mr r23, r3 +lbl_80351FBC: +/* 80351FBC 0034EF1C 28 17 00 00 */ cmplwi r23, 0 +/* 80351FC0 0034EF20 41 82 00 20 */ beq lbl_80351FE0 +/* 80351FC4 0034EF24 48 03 33 FD */ bl OSGetTick +/* 80351FC8 0034EF28 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) +/* 80351FCC 0034EF2C 7C 99 18 50 */ subf r4, r25, r3 +/* 80351FD0 0034EF30 7E E3 BB 78 */ mr r3, r23 +/* 80351FD4 0034EF34 7C 00 22 14 */ add r0, r0, r4 +/* 80351FD8 0034EF38 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) +/* 80351FDC 0034EF3C 48 00 01 88 */ b lbl_80352164 +lbl_80351FE0: +/* 80351FE0 0034EF40 88 1F 00 7C */ lbz r0, 0x7c(r31) +/* 80351FE4 0034EF44 28 00 00 00 */ cmplwi r0, 0 +/* 80351FE8 0034EF48 40 82 00 1C */ bne lbl_80352004 +/* 80351FEC 0034EF4C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351FF0 0034EF50 4B FF EB 45 */ bl GetTotalEntries__16CMediumAllocPoolFv +/* 80351FF4 0034EF54 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351FF8 0034EF58 4B FF EB 69 */ bl GetNumAllocs__16CMediumAllocPoolFv +/* 80351FFC 0034EF5C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80352000 0034EF60 4B FF EB 09 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv +lbl_80352004: +/* 80352004 0034EF64 38 00 00 01 */ li r0, 1 +/* 80352008 0034EF68 98 1F 00 7C */ stb r0, 0x7c(r31) +lbl_8035200C: +/* 8035200C 0034EF6C 57 77 07 FF */ clrlwi. r23, r27, 0x1f +/* 80352010 0034EF70 38 1A 00 1F */ addi r0, r26, 0x1f +/* 80352014 0034EF74 54 16 00 34 */ rlwinm r22, r0, 0, 0, 0x1a +/* 80352018 0034EF78 41 82 00 18 */ beq lbl_80352030 +/* 8035201C 0034EF7C 7F E3 FB 78 */ mr r3, r31 +/* 80352020 0034EF80 7E C4 B3 78 */ mr r4, r22 +/* 80352024 0034EF84 4B FF FC 1D */ bl FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi +/* 80352028 0034EF88 7C 78 1B 78 */ mr r24, r3 +/* 8035202C 0034EF8C 48 00 00 14 */ b lbl_80352040 +lbl_80352030: +/* 80352030 0034EF90 7F E3 FB 78 */ mr r3, r31 +/* 80352034 0034EF94 7E C4 B3 78 */ mr r4, r22 +/* 80352038 0034EF98 4B FF FC 71 */ bl FindFreeBlock__14CGameAllocatorFUi +/* 8035203C 0034EF9C 7C 78 1B 78 */ mr r24, r3 +lbl_80352040: +/* 80352040 0034EFA0 28 18 00 00 */ cmplwi r24, 0 +/* 80352044 0034EFA4 40 82 00 BC */ bne lbl_80352100 +/* 80352048 0034EFA8 81 9F 00 58 */ lwz r12, 0x58(r31) +/* 8035204C 0034EFAC 38 60 00 00 */ li r3, 0 +/* 80352050 0034EFB0 28 0C 00 00 */ cmplwi r12, 0 +/* 80352054 0034EFB4 41 82 00 80 */ beq lbl_803520D4 +/* 80352058 0034EFB8 7F 44 D3 78 */ mr r4, r26 +/* 8035205C 0034EFBC 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80352060 0034EFC0 7D 89 03 A6 */ mtctr r12 +/* 80352064 0034EFC4 4E 80 04 21 */ bctrl +/* 80352068 0034EFC8 88 0D AA 2A */ lbz r0, lbl_805A95EA@sda21(r13) +/* 8035206C 0034EFCC 7C 00 07 75 */ extsb. r0, r0 +/* 80352070 0034EFD0 40 82 00 14 */ bne lbl_80352084 +/* 80352074 0034EFD4 38 60 00 00 */ li r3, 0 +/* 80352078 0034EFD8 38 00 00 01 */ li r0, 1 +/* 8035207C 0034EFDC 98 6D AA 29 */ stb r3, lbl_805A95E9@sda21(r13) +/* 80352080 0034EFE0 98 0D AA 2A */ stb r0, lbl_805A95EA@sda21(r13) +lbl_80352084: +/* 80352084 0034EFE4 88 0D AA 29 */ lbz r0, lbl_805A95E9@sda21(r13) +/* 80352088 0034EFE8 28 00 00 00 */ cmplwi r0, 0 +/* 8035208C 0034EFEC 40 82 00 40 */ bne lbl_803520CC +/* 80352090 0034EFF0 38 00 00 01 */ li r0, 1 +/* 80352094 0034EFF4 7F E3 FB 78 */ mr r3, r31 +/* 80352098 0034EFF8 98 0D AA 29 */ stb r0, lbl_805A95E9@sda21(r13) +/* 8035209C 0034EFFC 7F 44 D3 78 */ mr r4, r26 +/* 803520A0 0034F000 7F 65 DB 78 */ mr r5, r27 +/* 803520A4 0034F004 7F 86 E3 78 */ mr r6, r28 +/* 803520A8 0034F008 81 9F 00 00 */ lwz r12, 0(r31) +/* 803520AC 0034F00C 7F A7 EB 78 */ mr r7, r29 +/* 803520B0 0034F010 7F C8 F3 78 */ mr r8, r30 +/* 803520B4 0034F014 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803520B8 0034F018 7D 89 03 A6 */ mtctr r12 +/* 803520BC 0034F01C 4E 80 04 21 */ bctrl +/* 803520C0 0034F020 38 00 00 00 */ li r0, 0 +/* 803520C4 0034F024 98 0D AA 29 */ stb r0, lbl_805A95E9@sda21(r13) +/* 803520C8 0034F028 48 00 00 0C */ b lbl_803520D4 +lbl_803520CC: +/* 803520CC 0034F02C 38 60 00 00 */ li r3, 0 +/* 803520D0 0034F030 48 00 00 94 */ b lbl_80352164 +lbl_803520D4: +/* 803520D4 0034F034 28 03 00 00 */ cmplwi r3, 0 +/* 803520D8 0034F038 40 82 00 8C */ bne lbl_80352164 +/* 803520DC 0034F03C 7F C3 F3 78 */ mr r3, r30 +/* 803520E0 0034F040 4B F8 42 ED */ bl GetFileAndLineText__10CCallStackCFv +/* 803520E4 0034F044 7F C3 F3 78 */ mr r3, r30 +/* 803520E8 0034F048 4B F8 42 DD */ bl GetTypeText__10CCallStackCFv +/* 803520EC 0034F04C 7F E3 FB 78 */ mr r3, r31 +/* 803520F0 0034F050 4B FF F0 95 */ bl DumpAllocations__14CGameAllocatorCFv +/* 803520F4 0034F054 38 60 00 00 */ li r3, 0 +/* 803520F8 0034F058 48 00 00 6C */ b lbl_80352164 +/* 803520FC 0034F05C 48 00 00 68 */ b lbl_80352164 +lbl_80352100: +/* 80352100 0034F060 7F E3 FB 78 */ mr r3, r31 +/* 80352104 0034F064 7F 04 C3 78 */ mr r4, r24 +/* 80352108 0034F068 7F 45 D3 78 */ mr r5, r26 +/* 8035210C 0034F06C 7E C6 B3 78 */ mr r6, r22 +/* 80352110 0034F070 7F 67 DB 78 */ mr r7, r27 +/* 80352114 0034F074 7F C8 F3 78 */ mr r8, r30 +/* 80352118 0034F078 4B FF F9 0D */ bl FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack +/* 8035211C 0034F07C 28 17 00 00 */ cmplwi r23, 0 +/* 80352120 0034F080 7C 66 1B 78 */ mr r6, r3 +/* 80352124 0034F084 41 82 00 18 */ beq lbl_8035213C +/* 80352128 0034F088 80 18 00 10 */ lwz r0, 0x10(r24) +/* 8035212C 0034F08C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80352130 0034F090 40 82 00 0C */ bne lbl_8035213C +/* 80352134 0034F094 80 18 00 14 */ lwz r0, 0x14(r24) +/* 80352138 0034F098 54 18 00 34 */ rlwinm r24, r0, 0, 0, 0x1a +lbl_8035213C: +/* 8035213C 0034F09C 7F E3 FB 78 */ mr r3, r31 +/* 80352140 0034F0A0 7F 44 D3 78 */ mr r4, r26 +/* 80352144 0034F0A4 7E C5 B3 78 */ mr r5, r22 +/* 80352148 0034F0A8 4B FF F8 21 */ bl UpdateAllocDebugStats__14CGameAllocatorFUiUiUi +/* 8035214C 0034F0AC 48 03 32 75 */ bl OSGetTick +/* 80352150 0034F0B0 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) +/* 80352154 0034F0B4 7C 99 18 50 */ subf r4, r25, r3 +/* 80352158 0034F0B8 38 78 00 20 */ addi r3, r24, 0x20 +/* 8035215C 0034F0BC 7C 00 22 14 */ add r0, r0, r4 +/* 80352160 0034F0C0 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) +lbl_80352164: +/* 80352164 0034F0C4 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 80352168 0034F0C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035216C 0034F0CC 7C 08 03 A6 */ mtlr r0 +/* 80352170 0034F0D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80352174 0034F0D4 4E 80 00 20 */ blr + +.global Shutdown__14CGameAllocatorFv +Shutdown__14CGameAllocatorFv: +/* 80352178 0034F0D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035217C 0034F0DC 7C 08 02 A6 */ mflr r0 +/* 80352180 0034F0E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80352184 0034F0E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80352188 0034F0E8 7C 7F 1B 78 */ mr r31, r3 +/* 8035218C 0034F0EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80352190 0034F0F0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80352194 0034F0F4 7D 89 03 A6 */ mtctr r12 +/* 80352198 0034F0F8 4E 80 04 21 */ bctrl +/* 8035219C 0034F0FC 38 00 00 00 */ li r0, 0 +/* 803521A0 0034F100 98 1F 00 04 */ stb r0, 4(r31) +/* 803521A4 0034F104 90 1F 00 54 */ stw r0, 0x54(r31) +/* 803521A8 0034F108 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803521AC 0034F10C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803521B0 0034F110 7C 08 03 A6 */ mtlr r0 +/* 803521B4 0034F114 38 21 00 10 */ addi r1, r1, 0x10 +/* 803521B8 0034F118 4E 80 00 20 */ blr + +.global Initialize__14CGameAllocatorFR10COsContext +Initialize__14CGameAllocatorFR10COsContext: +/* 803521BC 0034F11C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 803521C0 0034F120 7C 08 02 A6 */ mflr r0 +/* 803521C4 0034F124 90 01 00 84 */ stw r0, 0x84(r1) +/* 803521C8 0034F128 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 803521CC 0034F12C 7C 7F 1B 78 */ mr r31, r3 +/* 803521D0 0034F130 93 C1 00 78 */ stw r30, 0x78(r1) +/* 803521D4 0034F134 80 A4 00 20 */ lwz r5, 0x20(r4) +/* 803521D8 0034F138 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 803521DC 0034F13C 38 80 00 20 */ li r4, 0x20 +/* 803521E0 0034F140 38 65 00 1F */ addi r3, r5, 0x1f +/* 803521E4 0034F144 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 803521E8 0034F148 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 803521EC 0034F14C 7C 63 00 50 */ subf r3, r3, r0 +/* 803521F0 0034F150 38 03 FF C0 */ addi r0, r3, -64 +/* 803521F4 0034F154 90 1F 00 08 */ stw r0, 8(r31) +/* 803521F8 0034F158 80 7F 00 08 */ lwz r3, 8(r31) +/* 803521FC 0034F15C 48 02 C5 B5 */ bl OSAllocFromArenaLo +/* 80352200 0034F160 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80352204 0034F164 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352208 0034F168 54 60 00 06 */ rlwinm r0, r3, 0, 0, 3 +/* 8035220C 0034F16C 7C 00 18 50 */ subf r0, r0, r3 +/* 80352210 0034F170 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 80352214 0034F174 48 02 C5 85 */ bl OSGetArenaLo +/* 80352218 0034F178 80 7F 00 08 */ lwz r3, 8(r31) +/* 8035221C 0034F17C 38 E0 00 00 */ li r7, 0 +/* 80352220 0034F180 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80352224 0034F184 3C 80 EF F0 */ lis r4, 0xEFEFEFEF@ha +/* 80352228 0034F188 38 03 FF E0 */ addi r0, r3, -32 +/* 8035222C 0034F18C 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 80352230 0034F190 7C 05 02 14 */ add r0, r5, r0 +/* 80352234 0034F194 39 44 EF EF */ addi r10, r4, 0xEFEFEFEF@l +/* 80352238 0034F198 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8035223C 0034F19C 38 83 82 48 */ addi r4, r3, lbl_803D8248@l +/* 80352240 0034F1A0 39 04 00 42 */ addi r8, r4, 0x42 +/* 80352244 0034F1A4 3C 60 EA EB */ lis r3, 0xEAEAEAEA@ha +/* 80352248 0034F1A8 81 9F 00 10 */ lwz r12, 0x10(r31) +/* 8035224C 0034F1AC 38 C3 EA EA */ addi r6, r3, 0xEAEAEAEA@l +/* 80352250 0034F1B0 81 3F 00 08 */ lwz r9, 8(r31) +/* 80352254 0034F1B4 38 A4 00 4A */ addi r5, r4, 0x4a +/* 80352258 0034F1B8 81 7F 00 0C */ lwz r11, 0xc(r31) +/* 8035225C 0034F1BC 7F E3 FB 78 */ mr r3, r31 +/* 80352260 0034F1C0 38 89 FF C0 */ addi r4, r9, -64 +/* 80352264 0034F1C4 91 41 00 50 */ stw r10, 0x50(r1) +/* 80352268 0034F1C8 91 4B 00 00 */ stw r10, 0(r11) +/* 8035226C 0034F1CC 90 8B 00 04 */ stw r4, 4(r11) +/* 80352270 0034F1D0 91 0B 00 08 */ stw r8, 8(r11) +/* 80352274 0034F1D4 91 0B 00 0C */ stw r8, 0xc(r11) +/* 80352278 0034F1D8 90 EB 00 10 */ stw r7, 0x10(r11) +/* 8035227C 0034F1DC 91 8B 00 14 */ stw r12, 0x14(r11) +/* 80352280 0034F1E0 91 8B 00 18 */ stw r12, 0x18(r11) +/* 80352284 0034F1E4 90 CB 00 1C */ stw r6, 0x1c(r11) +/* 80352288 0034F1E8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035228C 0034F1EC 81 3F 00 10 */ lwz r9, 0x10(r31) +/* 80352290 0034F1F0 90 81 00 54 */ stw r4, 0x54(r1) +/* 80352294 0034F1F4 91 49 00 00 */ stw r10, 0(r9) +/* 80352298 0034F1F8 90 E9 00 04 */ stw r7, 4(r9) +/* 8035229C 0034F1FC 90 A9 00 08 */ stw r5, 8(r9) +/* 803522A0 0034F200 90 A9 00 0C */ stw r5, 0xc(r9) +/* 803522A4 0034F204 90 09 00 10 */ stw r0, 0x10(r9) +/* 803522A8 0034F208 90 E9 00 14 */ stw r7, 0x14(r9) +/* 803522AC 0034F20C 90 E9 00 18 */ stw r7, 0x18(r9) +/* 803522B0 0034F210 90 C9 00 1C */ stw r6, 0x1c(r9) +/* 803522B4 0034F214 90 FF 00 14 */ stw r7, 0x14(r31) +/* 803522B8 0034F218 90 FF 00 18 */ stw r7, 0x18(r31) +/* 803522BC 0034F21C 90 FF 00 1C */ stw r7, 0x1c(r31) +/* 803522C0 0034F220 90 FF 00 20 */ stw r7, 0x20(r31) +/* 803522C4 0034F224 90 FF 00 24 */ stw r7, 0x24(r31) +/* 803522C8 0034F228 90 FF 00 28 */ stw r7, 0x28(r31) +/* 803522CC 0034F22C 90 FF 00 2C */ stw r7, 0x2c(r31) +/* 803522D0 0034F230 90 FF 00 30 */ stw r7, 0x30(r31) +/* 803522D4 0034F234 90 FF 00 34 */ stw r7, 0x34(r31) +/* 803522D8 0034F238 90 FF 00 38 */ stw r7, 0x38(r31) +/* 803522DC 0034F23C 90 FF 00 3C */ stw r7, 0x3c(r31) +/* 803522E0 0034F240 90 FF 00 40 */ stw r7, 0x40(r31) +/* 803522E4 0034F244 90 FF 00 44 */ stw r7, 0x44(r31) +/* 803522E8 0034F248 90 FF 00 48 */ stw r7, 0x48(r31) +/* 803522EC 0034F24C 90 FF 00 4C */ stw r7, 0x4c(r31) +/* 803522F0 0034F250 90 FF 00 50 */ stw r7, 0x50(r31) +/* 803522F4 0034F254 91 01 00 58 */ stw r8, 0x58(r1) +/* 803522F8 0034F258 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 803522FC 0034F25C 91 01 00 5C */ stw r8, 0x5c(r1) +/* 80352300 0034F260 90 E1 00 60 */ stw r7, 0x60(r1) +/* 80352304 0034F264 91 81 00 64 */ stw r12, 0x64(r1) +/* 80352308 0034F268 91 81 00 68 */ stw r12, 0x68(r1) +/* 8035230C 0034F26C 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80352310 0034F270 91 41 00 30 */ stw r10, 0x30(r1) +/* 80352314 0034F274 90 E1 00 34 */ stw r7, 0x34(r1) +/* 80352318 0034F278 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8035231C 0034F27C 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 80352320 0034F280 90 01 00 40 */ stw r0, 0x40(r1) +/* 80352324 0034F284 90 E1 00 44 */ stw r7, 0x44(r1) +/* 80352328 0034F288 90 E1 00 48 */ stw r7, 0x48(r1) +/* 8035232C 0034F28C 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 80352330 0034F290 4B FF EF 6D */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80352334 0034F294 39 00 00 00 */ li r8, 0 +/* 80352338 0034F298 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 8035233C 0034F29C 91 1F 00 80 */ stw r8, 0x80(r31) +/* 80352340 0034F2A0 38 83 82 48 */ addi r4, r3, lbl_803D8248@l +/* 80352344 0034F2A4 38 00 00 01 */ li r0, 1 +/* 80352348 0034F2A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035234C 0034F2AC 91 1F 00 84 */ stw r8, 0x84(r31) +/* 80352350 0034F2B0 38 A4 00 52 */ addi r5, r4, 0x52 +/* 80352354 0034F2B4 38 C4 00 38 */ addi r6, r4, 0x38 +/* 80352358 0034F2B8 38 80 FF FF */ li r4, -1 +/* 8035235C 0034F2BC 91 1F 00 88 */ stw r8, 0x88(r31) +/* 80352360 0034F2C0 91 1F 00 8C */ stw r8, 0x8c(r31) +/* 80352364 0034F2C4 80 FF 00 08 */ lwz r7, 8(r31) +/* 80352368 0034F2C8 90 FF 00 90 */ stw r7, 0x90(r31) +/* 8035236C 0034F2CC 91 1F 00 94 */ stw r8, 0x94(r31) +/* 80352370 0034F2D0 91 1F 00 98 */ stw r8, 0x98(r31) +/* 80352374 0034F2D4 91 1F 00 9C */ stw r8, 0x9c(r31) +/* 80352378 0034F2D8 91 1F 00 A0 */ stw r8, 0xa0(r31) +/* 8035237C 0034F2DC 91 1F 00 A4 */ stw r8, 0xa4(r31) +/* 80352380 0034F2E0 91 1F 00 A8 */ stw r8, 0xa8(r31) +/* 80352384 0034F2E4 98 1F 00 04 */ stb r0, 4(r31) +/* 80352388 0034F2E8 4B F8 40 4D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035238C 0034F2EC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80352390 0034F2F0 7C 68 1B 78 */ mr r8, r3 +/* 80352394 0034F2F4 7F E3 FB 78 */ mr r3, r31 +/* 80352398 0034F2F8 3C 80 00 0B */ lis r4, 0xb +/* 8035239C 0034F2FC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803523A0 0034F300 38 A0 00 00 */ li r5, 0 +/* 803523A4 0034F304 38 C0 00 01 */ li r6, 1 +/* 803523A8 0034F308 38 E0 00 00 */ li r7, 0 +/* 803523AC 0034F30C 7D 89 03 A6 */ mtctr r12 +/* 803523B0 0034F310 4E 80 04 21 */ bctrl +/* 803523B4 0034F314 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 803523B8 0034F318 90 7F 00 64 */ stw r3, 0x64(r31) +/* 803523BC 0034F31C 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l +/* 803523C0 0034F320 38 61 00 20 */ addi r3, r1, 0x20 +/* 803523C4 0034F324 38 A6 00 68 */ addi r5, r6, 0x68 +/* 803523C8 0034F328 38 80 FF FF */ li r4, -1 +/* 803523CC 0034F32C 38 C6 00 38 */ addi r6, r6, 0x38 +/* 803523D0 0034F330 4B F8 40 05 */ bl __ct__10CCallStackFUiPCcPCc +/* 803523D4 0034F334 81 9F 00 00 */ lwz r12, 0(r31) +/* 803523D8 0034F338 3C 80 00 01 */ lis r4, 0x00016000@ha +/* 803523DC 0034F33C 7C 68 1B 78 */ mr r8, r3 +/* 803523E0 0034F340 7F E3 FB 78 */ mr r3, r31 +/* 803523E4 0034F344 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803523E8 0034F348 38 A0 00 00 */ li r5, 0 +/* 803523EC 0034F34C 38 84 60 00 */ addi r4, r4, 0x00016000@l +/* 803523F0 0034F350 38 C0 00 01 */ li r6, 1 +/* 803523F4 0034F354 38 E0 00 00 */ li r7, 0 +/* 803523F8 0034F358 7D 89 03 A6 */ mtctr r12 +/* 803523FC 0034F35C 4E 80 04 21 */ bctrl +/* 80352400 0034F360 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80352404 0034F364 90 7F 00 68 */ stw r3, 0x68(r31) +/* 80352408 0034F368 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l +/* 8035240C 0034F36C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80352410 0034F370 38 A6 00 7E */ addi r5, r6, 0x7e +/* 80352414 0034F374 38 80 FF FF */ li r4, -1 +/* 80352418 0034F378 38 C6 00 38 */ addi r6, r6, 0x38 +/* 8035241C 0034F37C 4B F8 3F B9 */ bl __ct__10CCallStackFUiPCcPCc +/* 80352420 0034F380 81 9F 00 00 */ lwz r12, 0(r31) +/* 80352424 0034F384 7C 68 1B 78 */ mr r8, r3 +/* 80352428 0034F388 7F E3 FB 78 */ mr r3, r31 +/* 8035242C 0034F38C 38 80 00 20 */ li r4, 0x20 +/* 80352430 0034F390 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80352434 0034F394 38 A0 00 00 */ li r5, 0 +/* 80352438 0034F398 38 C0 00 01 */ li r6, 1 +/* 8035243C 0034F39C 38 E0 00 00 */ li r7, 0 +/* 80352440 0034F3A0 7D 89 03 A6 */ mtctr r12 +/* 80352444 0034F3A4 4E 80 04 21 */ bctrl +/* 80352448 0034F3A8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8035244C 0034F3AC 41 82 00 1C */ beq lbl_80352468 +/* 80352450 0034F3B0 3C 80 00 03 */ lis r4, 0x0002C000@ha +/* 80352454 0034F3B4 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80352458 0034F3B8 80 DF 00 68 */ lwz r6, 0x68(r31) +/* 8035245C 0034F3BC 38 84 C0 00 */ addi r4, r4, 0x0002C000@l +/* 80352460 0034F3C0 4B FF EC 71 */ bl __ct__15CSmallAllocPoolFUiPvPv +/* 80352464 0034F3C4 7C 60 1B 78 */ mr r0, r3 +lbl_80352468: +/* 80352468 0034F3C8 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 8035246C 0034F3CC 90 1F 00 60 */ stw r0, 0x60(r31) +/* 80352470 0034F3D0 38 C3 82 48 */ addi r6, r3, lbl_803D8248@l +/* 80352474 0034F3D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352478 0034F3D8 38 A6 00 94 */ addi r5, r6, 0x94 +/* 8035247C 0034F3DC 38 80 FF FF */ li r4, -1 +/* 80352480 0034F3E0 38 C6 00 38 */ addi r6, r6, 0x38 +/* 80352484 0034F3E4 4B F8 3F 51 */ bl __ct__10CCallStackFUiPCcPCc +/* 80352488 0034F3E8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8035248C 0034F3EC 7C 68 1B 78 */ mr r8, r3 +/* 80352490 0034F3F0 7F E3 FB 78 */ mr r3, r31 +/* 80352494 0034F3F4 38 80 00 1C */ li r4, 0x1c +/* 80352498 0034F3F8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8035249C 0034F3FC 38 A0 00 00 */ li r5, 0 +/* 803524A0 0034F400 38 C0 00 01 */ li r6, 1 +/* 803524A4 0034F404 38 E0 00 00 */ li r7, 0 +/* 803524A8 0034F408 7D 89 03 A6 */ mtctr r12 +/* 803524AC 0034F40C 4E 80 04 21 */ bctrl +/* 803524B0 0034F410 7C 60 1B 79 */ or. r0, r3, r3 +/* 803524B4 0034F414 41 82 00 0C */ beq lbl_803524C0 +/* 803524B8 0034F418 4B FF E8 AD */ bl __ct__16CMediumAllocPoolFv +/* 803524BC 0034F41C 7C 60 1B 78 */ mr r0, r3 +lbl_803524C0: +/* 803524C0 0034F420 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 803524C4 0034F424 90 1F 00 74 */ stw r0, 0x74(r31) +/* 803524C8 0034F428 38 83 82 48 */ addi r4, r3, lbl_803D8248@l +/* 803524CC 0034F42C 3F C0 00 02 */ lis r30, 2 +/* 803524D0 0034F430 38 61 00 08 */ addi r3, r1, 8 +/* 803524D4 0034F434 38 A4 00 21 */ addi r5, r4, 0x21 +/* 803524D8 0034F438 38 C4 00 38 */ addi r6, r4, 0x38 +/* 803524DC 0034F43C 38 80 FF FF */ li r4, -1 +/* 803524E0 0034F440 4B F8 3E F5 */ bl __ct__10CCallStackFUiPCcPCc +/* 803524E4 0034F444 81 9F 00 00 */ lwz r12, 0(r31) +/* 803524E8 0034F448 7C 68 1B 78 */ mr r8, r3 +/* 803524EC 0034F44C 7F E3 FB 78 */ mr r3, r31 +/* 803524F0 0034F450 38 9E 10 00 */ addi r4, r30, 0x1000 +/* 803524F4 0034F454 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803524F8 0034F458 38 A0 00 00 */ li r5, 0 +/* 803524FC 0034F45C 38 C0 00 01 */ li r6, 1 +/* 80352500 0034F460 38 E0 00 00 */ li r7, 0 +/* 80352504 0034F464 7D 89 03 A6 */ mtctr r12 +/* 80352508 0034F468 4E 80 04 21 */ bctrl +/* 8035250C 0034F46C 90 7F 00 78 */ stw r3, 0x78(r31) +/* 80352510 0034F470 3C 60 00 0C */ lis r3, 0x000C6000@ha +/* 80352514 0034F474 38 03 60 00 */ addi r0, r3, 0x000C6000@l +/* 80352518 0034F478 38 60 00 01 */ li r3, 1 +/* 8035251C 0034F47C 80 9F 00 84 */ lwz r4, 0x84(r31) +/* 80352520 0034F480 38 84 FF FC */ addi r4, r4, -4 +/* 80352524 0034F484 90 9F 00 84 */ stw r4, 0x84(r31) +/* 80352528 0034F488 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8035252C 0034F48C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80352530 0034F490 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80352534 0034F494 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80352538 0034F498 7C 08 03 A6 */ mtlr r0 +/* 8035253C 0034F49C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80352540 0034F4A0 4E 80 00 20 */ blr + +.global __dt__14CGameAllocatorFv +__dt__14CGameAllocatorFv: +/* 80352544 0034F4A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352548 0034F4A8 7C 08 02 A6 */ mflr r0 +/* 8035254C 0034F4AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80352550 0034F4B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80352554 0034F4B4 7C 9F 23 78 */ mr r31, r4 +/* 80352558 0034F4B8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035255C 0034F4BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80352560 0034F4C0 41 82 00 50 */ beq lbl_803525B0 +/* 80352564 0034F4C4 3C 60 80 3F */ lis r3, lbl_803EF6D8@ha +/* 80352568 0034F4C8 38 03 F6 D8 */ addi r0, r3, lbl_803EF6D8@l +/* 8035256C 0034F4CC 90 1E 00 00 */ stw r0, 0(r30) +/* 80352570 0034F4D0 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 80352574 0034F4D4 28 03 00 00 */ cmplwi r3, 0 +/* 80352578 0034F4D8 41 82 00 1C */ beq lbl_80352594 +/* 8035257C 0034F4DC 4B FF E7 75 */ bl ClearPuddles__16CMediumAllocPoolFv +/* 80352580 0034F4E0 80 9E 00 74 */ lwz r4, 0x74(r30) +/* 80352584 0034F4E4 7F C3 F3 78 */ mr r3, r30 +/* 80352588 0034F4E8 4B FF F1 79 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +/* 8035258C 0034F4EC 38 00 00 00 */ li r0, 0 +/* 80352590 0034F4F0 90 1E 00 74 */ stw r0, 0x74(r30) +lbl_80352594: +/* 80352594 0034F4F4 7F C3 F3 78 */ mr r3, r30 +/* 80352598 0034F4F8 38 80 00 00 */ li r4, 0 +/* 8035259C 0034F4FC 4B FC 36 FD */ bl __dt__10IAllocatorFv +/* 803525A0 0034F500 7F E0 07 35 */ extsh. r0, r31 +/* 803525A4 0034F504 40 81 00 0C */ ble lbl_803525B0 +/* 803525A8 0034F508 7F C3 F3 78 */ mr r3, r30 +/* 803525AC 0034F50C 4B FC 33 85 */ bl Free__7CMemoryFPCv +lbl_803525B0: +/* 803525B0 0034F510 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803525B4 0034F514 7F C3 F3 78 */ mr r3, r30 +/* 803525B8 0034F518 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803525BC 0034F51C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803525C0 0034F520 7C 08 03 A6 */ mtlr r0 +/* 803525C4 0034F524 38 21 00 10 */ addi r1, r1, 0x10 +/* 803525C8 0034F528 4E 80 00 20 */ blr + +.global __ct__14CGameAllocatorFv +__ct__14CGameAllocatorFv: +/* 803525CC 0034F52C 3C A0 80 3F */ lis r5, lbl_803ED9C0@ha +/* 803525D0 0034F530 3C 80 80 3F */ lis r4, lbl_803EF6D8@ha +/* 803525D4 0034F534 38 A5 D9 C0 */ addi r5, r5, lbl_803ED9C0@l +/* 803525D8 0034F538 38 00 00 00 */ li r0, 0 +/* 803525DC 0034F53C 90 A3 00 00 */ stw r5, 0(r3) +/* 803525E0 0034F540 38 84 F6 D8 */ addi r4, r4, lbl_803EF6D8@l +/* 803525E4 0034F544 90 83 00 00 */ stw r4, 0(r3) +/* 803525E8 0034F548 98 03 00 04 */ stb r0, 4(r3) +/* 803525EC 0034F54C 90 03 00 08 */ stw r0, 8(r3) +/* 803525F0 0034F550 90 03 00 0C */ stw r0, 0xc(r3) +/* 803525F4 0034F554 90 03 00 10 */ stw r0, 0x10(r3) +/* 803525F8 0034F558 90 03 00 54 */ stw r0, 0x54(r3) +/* 803525FC 0034F55C 90 03 00 58 */ stw r0, 0x58(r3) +/* 80352600 0034F560 90 03 00 5C */ stw r0, 0x5c(r3) +/* 80352604 0034F564 90 03 00 60 */ stw r0, 0x60(r3) +/* 80352608 0034F568 90 03 00 64 */ stw r0, 0x64(r3) +/* 8035260C 0034F56C 90 03 00 68 */ stw r0, 0x68(r3) +/* 80352610 0034F570 98 03 00 6C */ stb r0, 0x6c(r3) +/* 80352614 0034F574 90 03 00 70 */ stw r0, 0x70(r3) +/* 80352618 0034F578 90 03 00 74 */ stw r0, 0x74(r3) +/* 8035261C 0034F57C 90 03 00 80 */ stw r0, 0x80(r3) +/* 80352620 0034F580 90 03 00 84 */ stw r0, 0x84(r3) +/* 80352624 0034F584 90 03 00 88 */ stw r0, 0x88(r3) +/* 80352628 0034F588 90 03 00 8C */ stw r0, 0x8c(r3) +/* 8035262C 0034F58C 90 03 00 90 */ stw r0, 0x90(r3) +/* 80352630 0034F590 90 03 00 94 */ stw r0, 0x94(r3) +/* 80352634 0034F594 90 03 00 98 */ stw r0, 0x98(r3) +/* 80352638 0034F598 90 03 00 9C */ stw r0, 0x9c(r3) +/* 8035263C 0034F59C 90 03 00 A0 */ stw r0, 0xa0(r3) +/* 80352640 0034F5A0 90 03 00 A4 */ stw r0, 0xa4(r3) +/* 80352644 0034F5A4 90 03 00 A8 */ stw r0, 0xa8(r3) +/* 80352648 0034F5A8 90 03 00 AC */ stw r0, 0xac(r3) +/* 8035264C 0034F5AC 90 03 00 B0 */ stw r0, 0xb0(r3) +/* 80352650 0034F5B0 90 03 00 B4 */ stw r0, 0xb4(r3) +/* 80352654 0034F5B4 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 80352658 0034F5B8 90 03 00 BC */ stw r0, 0xbc(r3) +/* 8035265C 0034F5BC 4E 80 00 20 */ blr + +.global GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv +GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv: +/* 80352660 0034F5C0 38 64 FF E0 */ addi r3, r4, -32 +/* 80352664 0034F5C4 4E 80 00 20 */ blr + +.global sub_80352668 +sub_80352668: +/* 80352668 0034F5C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035266C 0034F5CC 7C 08 02 A6 */ mflr r0 +/* 80352670 0034F5D0 3C A0 80 3E */ lis r5, lbl_803D82F8@ha +/* 80352674 0034F5D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80352678 0034F5D8 38 A5 82 F8 */ addi r5, r5, lbl_803D82F8@l +/* 8035267C 0034F5DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352680 0034F5E0 7C 9F 23 78 */ mr r31, r4 +/* 80352684 0034F5E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80352688 0034F5E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035268C 0034F5EC 80 E3 00 18 */ lwz r7, 0x18(r3) +/* 80352690 0034F5F0 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 80352694 0034F5F4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 80352698 0034F5F8 80 07 00 14 */ lwz r0, 0x14(r7) +/* 8035269C 0034F5FC 38 61 00 08 */ addi r3, r1, 8 +/* 803526A0 0034F600 83 C7 00 10 */ lwz r30, 0x10(r7) +/* 803526A4 0034F604 1C 80 00 0C */ mulli r4, r0, 0xc +/* 803526A8 0034F608 38 04 00 1F */ addi r0, r4, 0x1f +/* 803526AC 0034F60C 38 80 FF FF */ li r4, -1 +/* 803526B0 0034F610 54 1D 00 34 */ rlwinm r29, r0, 0, 0, 0x1a +/* 803526B4 0034F614 4B F8 3D 21 */ bl __ct__10CCallStackFUiPCcPCc +/* 803526B8 0034F618 1C BE 00 0C */ mulli r5, r30, 0xc +/* 803526BC 0034F61C 38 80 00 02 */ li r4, 2 +/* 803526C0 0034F620 7C 67 1B 78 */ mr r7, r3 +/* 803526C4 0034F624 38 C0 00 00 */ li r6, 0 +/* 803526C8 0034F628 38 05 00 1F */ addi r0, r5, 0x1f +/* 803526CC 0034F62C 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 803526D0 0034F630 38 A0 00 01 */ li r5, 1 +/* 803526D4 0034F634 7C 60 EA 14 */ add r3, r0, r29 +/* 803526D8 0034F638 4B FC 32 BD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 803526DC 0034F63C 28 1F 00 00 */ cmplwi r31, 0 +/* 803526E0 0034F640 41 82 00 0C */ beq lbl_803526EC +/* 803526E4 0034F644 7C 03 EA 14 */ add r0, r3, r29 +/* 803526E8 0034F648 90 1F 00 00 */ stw r0, 0(r31) +lbl_803526EC: +/* 803526EC 0034F64C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803526F0 0034F650 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803526F4 0034F654 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803526F8 0034F658 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803526FC 0034F65C 7C 08 03 A6 */ mtlr r0 +/* 80352700 0034F660 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352704 0034F664 4E 80 00 20 */ blr + +.global ClearPointGeneratorFunc__13CSkinnedModelFv +ClearPointGeneratorFunc__13CSkinnedModelFv: +/* 80352708 0034F668 38 00 00 00 */ li r0, 0 +/* 8035270C 0034F66C 90 0D AA 30 */ stw r0, lbl_805A95F0@sda21(r13) +/* 80352710 0034F670 4E 80 00 20 */ blr + +.global SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v +SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v: +/* 80352714 0034F674 90 8D AA 30 */ stw r4, lbl_805A95F0@sda21(r13) +/* 80352718 0034F678 90 6D AA 34 */ stw r3, lbl_805A95F4@sda21(r13) +/* 8035271C 0034F67C 4E 80 00 20 */ blr + +.global sub_80352720 +sub_80352720: +/* 80352720 0034F680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352724 0034F684 7C 08 02 A6 */ mflr r0 +/* 80352728 0034F688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035272C 0034F68C 48 00 0D E1 */ bl sub_8035350c +/* 80352730 0034F690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80352734 0034F694 7C 08 03 A6 */ mtlr r0 +/* 80352738 0034F698 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035273C 0034F69C 4E 80 00 20 */ blr + +.global sub_80352740 +sub_80352740: +/* 80352740 0034F6A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352744 0034F6A4 7C 08 02 A6 */ mflr r0 +/* 80352748 0034F6A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035274C 0034F6AC 48 00 0E 61 */ bl sub_803535ac +/* 80352750 0034F6B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80352754 0034F6B4 7C 08 03 A6 */ mtlr r0 +/* 80352758 0034F6B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035275C 0034F6BC 4E 80 00 20 */ blr + +.global sub_80352760 +sub_80352760: +/* 80352760 0034F6C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80352764 0034F6C4 7C 08 02 A6 */ mflr r0 +/* 80352768 0034F6C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035276C 0034F6CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352770 0034F6D0 7C 7F 1B 78 */ mr r31, r3 +/* 80352774 0034F6D4 88 03 00 38 */ lbz r0, 0x38(r3) +/* 80352778 0034F6D8 28 00 00 00 */ cmplwi r0, 0 +/* 8035277C 0034F6DC 41 82 00 DC */ beq lbl_80352858 +/* 80352780 0034F6E0 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80352784 0034F6E4 28 00 00 00 */ cmplwi r0, 0 +/* 80352788 0034F6E8 41 82 00 D0 */ beq lbl_80352858 +/* 8035278C 0034F6EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352790 0034F6F0 38 1F 00 28 */ addi r0, r31, 0x28 +/* 80352794 0034F6F4 38 80 00 00 */ li r4, 0 +/* 80352798 0034F6F8 7C 03 00 40 */ cmplw r3, r0 +/* 8035279C 0034F6FC 98 81 00 10 */ stb r4, 0x10(r1) +/* 803527A0 0034F700 90 81 00 14 */ stw r4, 0x14(r1) +/* 803527A4 0034F704 41 82 00 30 */ beq lbl_803527D4 +/* 803527A8 0034F708 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 803527AC 0034F70C 28 00 00 00 */ cmplwi r0, 0 +/* 803527B0 0034F710 41 82 00 0C */ beq lbl_803527BC +/* 803527B4 0034F714 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 803527B8 0034F718 4B FC 31 79 */ bl Free__7CMemoryFPCv +lbl_803527BC: +/* 803527BC 0034F71C 88 81 00 10 */ lbz r4, 0x10(r1) +/* 803527C0 0034F720 38 00 00 00 */ li r0, 0 +/* 803527C4 0034F724 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803527C8 0034F728 98 9F 00 28 */ stb r4, 0x28(r31) +/* 803527CC 0034F72C 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 803527D0 0034F730 98 01 00 10 */ stb r0, 0x10(r1) +lbl_803527D4: +/* 803527D4 0034F734 88 01 00 10 */ lbz r0, 0x10(r1) +/* 803527D8 0034F738 28 00 00 00 */ cmplwi r0, 0 +/* 803527DC 0034F73C 41 82 00 0C */ beq lbl_803527E8 +/* 803527E0 0034F740 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803527E4 0034F744 4B FC 31 4D */ bl Free__7CMemoryFPCv +lbl_803527E8: +/* 803527E8 0034F748 38 61 00 08 */ addi r3, r1, 8 +/* 803527EC 0034F74C 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803527F0 0034F750 38 80 00 00 */ li r4, 0 +/* 803527F4 0034F754 7C 03 00 40 */ cmplw r3, r0 +/* 803527F8 0034F758 98 81 00 08 */ stb r4, 8(r1) +/* 803527FC 0034F75C 90 81 00 0C */ stw r4, 0xc(r1) +/* 80352800 0034F760 41 82 00 30 */ beq lbl_80352830 +/* 80352804 0034F764 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80352808 0034F768 28 00 00 00 */ cmplwi r0, 0 +/* 8035280C 0034F76C 41 82 00 0C */ beq lbl_80352818 +/* 80352810 0034F770 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80352814 0034F774 4B FC 31 1D */ bl Free__7CMemoryFPCv +lbl_80352818: +/* 80352818 0034F778 88 81 00 08 */ lbz r4, 8(r1) +/* 8035281C 0034F77C 38 00 00 00 */ li r0, 0 +/* 80352820 0034F780 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352824 0034F784 98 9F 00 30 */ stb r4, 0x30(r31) +/* 80352828 0034F788 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8035282C 0034F78C 98 01 00 08 */ stb r0, 8(r1) +lbl_80352830: +/* 80352830 0034F790 88 01 00 08 */ lbz r0, 8(r1) +/* 80352834 0034F794 28 00 00 00 */ cmplwi r0, 0 +/* 80352838 0034F798 41 82 00 0C */ beq lbl_80352844 +/* 8035283C 0034F79C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352840 0034F7A0 4B FC 30 F1 */ bl Free__7CMemoryFPCv +lbl_80352844: +/* 80352844 0034F7A4 A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352848 0034F7A8 48 02 5B D9 */ bl GXSetDrawSync +/* 8035284C 0034F7AC A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352850 0034F7B0 38 03 00 01 */ addi r0, r3, 1 +/* 80352854 0034F7B4 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) +lbl_80352858: +/* 80352858 0034F7B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035285C 0034F7BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80352860 0034F7C0 7C 08 03 A6 */ mtlr r0 +/* 80352864 0034F7C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352868 0034F7C8 4E 80 00 20 */ blr + +.global AllocateStorage__13CSkinnedModelFv +AllocateStorage__13CSkinnedModelFv: +/* 8035286C 0034F7CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80352870 0034F7D0 7C 08 02 A6 */ mflr r0 +/* 80352874 0034F7D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80352878 0034F7D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035287C 0034F7DC 7C 7F 1B 78 */ mr r31, r3 +/* 80352880 0034F7E0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80352884 0034F7E4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80352888 0034F7E8 88 03 00 38 */ lbz r0, 0x38(r3) +/* 8035288C 0034F7EC 28 00 00 00 */ cmplwi r0, 0 +/* 80352890 0034F7F0 41 82 01 40 */ beq lbl_803529D0 +/* 80352894 0034F7F4 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80352898 0034F7F8 28 00 00 00 */ cmplwi r0, 0 +/* 8035289C 0034F7FC 41 82 00 10 */ beq lbl_803528AC +/* 803528A0 0034F800 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 803528A4 0034F804 28 00 00 00 */ cmplwi r0, 0 +/* 803528A8 0034F808 40 82 01 28 */ bne lbl_803529D0 +lbl_803528AC: +/* 803528AC 0034F80C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 803528B0 0034F810 83 C3 00 10 */ lwz r30, 0x10(r3) +/* 803528B4 0034F814 83 A3 00 14 */ lwz r29, 0x14(r3) +/* 803528B8 0034F818 48 00 02 B9 */ bl TickAllocations__13CSkinnedModelFv +/* 803528BC 0034F81C 1C 7D 00 0C */ mulli r3, r29, 0xc +/* 803528C0 0034F820 1C 9E 00 0C */ mulli r4, r30, 0xc +/* 803528C4 0034F824 38 03 00 1F */ addi r0, r3, 0x1f +/* 803528C8 0034F828 38 84 00 1F */ addi r4, r4, 0x1f +/* 803528CC 0034F82C 54 03 00 34 */ rlwinm r3, r0, 0, 0, 0x1a +/* 803528D0 0034F830 54 9D 00 34 */ rlwinm r29, r4, 0, 0, 0x1a +/* 803528D4 0034F834 38 63 00 20 */ addi r3, r3, 0x20 +/* 803528D8 0034F838 7C 7D 1A 14 */ add r3, r29, r3 +/* 803528DC 0034F83C 48 00 01 11 */ bl EnsureAllocation__13CSkinnedModelFi +/* 803528E0 0034F840 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha +/* 803528E4 0034F844 7C 7E 1B 78 */ mr r30, r3 +/* 803528E8 0034F848 38 04 FF C0 */ addi r0, r4, lbl_804BFFC0@l +/* 803528EC 0034F84C 7C 1E 00 40 */ cmplw r30, r0 +/* 803528F0 0034F850 40 82 00 08 */ bne lbl_803528F8 +/* 803528F4 0034F854 48 02 56 91 */ bl GXInvalidateVtxCache +lbl_803528F8: +/* 803528F8 0034F858 7C 1E 00 D0 */ neg r0, r30 +/* 803528FC 0034F85C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352900 0034F860 7C 04 F3 78 */ or r4, r0, r30 +/* 80352904 0034F864 38 1F 00 28 */ addi r0, r31, 0x28 +/* 80352908 0034F868 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8035290C 0034F86C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80352910 0034F870 7C 03 00 40 */ cmplw r3, r0 +/* 80352914 0034F874 98 81 00 10 */ stb r4, 0x10(r1) +/* 80352918 0034F878 41 82 00 30 */ beq lbl_80352948 +/* 8035291C 0034F87C 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80352920 0034F880 28 00 00 00 */ cmplwi r0, 0 +/* 80352924 0034F884 41 82 00 0C */ beq lbl_80352930 +/* 80352928 0034F888 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8035292C 0034F88C 4B FC 30 05 */ bl Free__7CMemoryFPCv +lbl_80352930: +/* 80352930 0034F890 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80352934 0034F894 38 00 00 00 */ li r0, 0 +/* 80352938 0034F898 98 7F 00 28 */ stb r3, 0x28(r31) +/* 8035293C 0034F89C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352940 0034F8A0 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 80352944 0034F8A4 98 01 00 10 */ stb r0, 0x10(r1) +lbl_80352948: +/* 80352948 0034F8A8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8035294C 0034F8AC 28 00 00 00 */ cmplwi r0, 0 +/* 80352950 0034F8B0 41 82 00 0C */ beq lbl_8035295C +/* 80352954 0034F8B4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352958 0034F8B8 4B FC 2F D9 */ bl Free__7CMemoryFPCv +lbl_8035295C: +/* 8035295C 0034F8BC 7C BE EA 14 */ add r5, r30, r29 +/* 80352960 0034F8C0 38 61 00 08 */ addi r3, r1, 8 +/* 80352964 0034F8C4 7C 85 00 D0 */ neg r4, r5 +/* 80352968 0034F8C8 38 1F 00 30 */ addi r0, r31, 0x30 +/* 8035296C 0034F8CC 7C 84 2B 78 */ or r4, r4, r5 +/* 80352970 0034F8D0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80352974 0034F8D4 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80352978 0034F8D8 7C 03 00 40 */ cmplw r3, r0 +/* 8035297C 0034F8DC 98 81 00 08 */ stb r4, 8(r1) +/* 80352980 0034F8E0 41 82 00 30 */ beq lbl_803529B0 +/* 80352984 0034F8E4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80352988 0034F8E8 28 00 00 00 */ cmplwi r0, 0 +/* 8035298C 0034F8EC 41 82 00 0C */ beq lbl_80352998 +/* 80352990 0034F8F0 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80352994 0034F8F4 4B FC 2F 9D */ bl Free__7CMemoryFPCv +lbl_80352998: +/* 80352998 0034F8F8 88 61 00 08 */ lbz r3, 8(r1) +/* 8035299C 0034F8FC 38 00 00 00 */ li r0, 0 +/* 803529A0 0034F900 98 7F 00 30 */ stb r3, 0x30(r31) +/* 803529A4 0034F904 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803529A8 0034F908 90 7F 00 34 */ stw r3, 0x34(r31) +/* 803529AC 0034F90C 98 01 00 08 */ stb r0, 8(r1) +lbl_803529B0: +/* 803529B0 0034F910 88 01 00 08 */ lbz r0, 8(r1) +/* 803529B4 0034F914 28 00 00 00 */ cmplwi r0, 0 +/* 803529B8 0034F918 41 82 00 0C */ beq lbl_803529C4 +/* 803529BC 0034F91C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803529C0 0034F920 4B FC 2F 71 */ bl Free__7CMemoryFPCv +lbl_803529C4: +/* 803529C4 0034F924 38 00 00 00 */ li r0, 0 +/* 803529C8 0034F928 98 1F 00 28 */ stb r0, 0x28(r31) +/* 803529CC 0034F92C 98 1F 00 30 */ stb r0, 0x30(r31) +lbl_803529D0: +/* 803529D0 0034F930 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803529D4 0034F934 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803529D8 0034F938 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803529DC 0034F93C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803529E0 0034F940 7C 08 03 A6 */ mtlr r0 +/* 803529E4 0034F944 38 21 00 30 */ addi r1, r1, 0x30 +/* 803529E8 0034F948 4E 80 00 20 */ blr + +.global EnsureAllocation__13CSkinnedModelFi +EnsureAllocation__13CSkinnedModelFi: +/* 803529EC 0034F94C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803529F0 0034F950 7C 08 02 A6 */ mflr r0 +/* 803529F4 0034F954 90 01 00 24 */ stw r0, 0x24(r1) +/* 803529F8 0034F958 38 03 00 1F */ addi r0, r3, 0x1f +/* 803529FC 0034F95C 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80352A00 0034F960 BF 41 00 08 */ stmw r26, 8(r1) +/* 80352A04 0034F964 54 1C 00 34 */ rlwinm r28, r0, 0, 0, 0x1a +/* 80352A08 0034F968 38 63 FF CC */ addi r3, r3, lbl_8053FFCC@l +/* 80352A0C 0034F96C 7F 84 E3 78 */ mr r4, r28 +/* 80352A10 0034F970 4B FC 2C E9 */ bl Alloc__15CCircularBufferFi +/* 80352A14 0034F974 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80352A18 0034F978 40 82 00 24 */ bne lbl_80352A3C +/* 80352A1C 0034F97C 88 0D AA 41 */ lbz r0, lbl_805A9601@sda21(r13) +/* 80352A20 0034F980 28 00 00 00 */ cmplwi r0, 0 +/* 80352A24 0034F984 40 82 00 18 */ bne lbl_80352A3C +/* 80352A28 0034F988 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80352A2C 0034F98C 38 63 FF CC */ addi r3, r3, lbl_8053FFCC@l +/* 80352A30 0034F990 4B FC 2C 31 */ bl GetAllocatedAmount__15CCircularBufferCFv +/* 80352A34 0034F994 38 00 00 01 */ li r0, 1 +/* 80352A38 0034F998 98 0D AA 41 */ stb r0, lbl_805A9601@sda21(r13) +lbl_80352A3C: +/* 80352A3C 0034F99C 48 03 29 85 */ bl OSGetTick +/* 80352A40 0034F9A0 3C A0 80 54 */ lis r5, lbl_8053FFF4@ha +/* 80352A44 0034F9A4 3C 80 80 54 */ lis r4, lbl_8053FFCC@ha +/* 80352A48 0034F9A8 7C 7D 1B 78 */ mr r29, r3 +/* 80352A4C 0034F9AC 3B E5 FF F4 */ addi r31, r5, lbl_8053FFF4@l +/* 80352A50 0034F9B0 3B 64 FF CC */ addi r27, r4, lbl_8053FFCC@l +/* 80352A54 0034F9B4 48 00 00 84 */ b lbl_80352AD8 +lbl_80352A58: +/* 80352A58 0034F9B8 48 00 01 19 */ bl TickAllocations__13CSkinnedModelFv +/* 80352A5C 0034F9BC 7F 63 DB 78 */ mr r3, r27 +/* 80352A60 0034F9C0 7F 84 E3 78 */ mr r4, r28 +/* 80352A64 0034F9C4 4B FC 2C 95 */ bl Alloc__15CCircularBufferFi +/* 80352A68 0034F9C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80352A6C 0034F9CC 40 82 00 6C */ bne lbl_80352AD8 +/* 80352A70 0034F9D0 48 03 29 51 */ bl OSGetTick +/* 80352A74 0034F9D4 3C A0 80 00 */ lis r5, 0x800000F8@ha +/* 80352A78 0034F9D8 3C 80 10 62 */ lis r4, 0x10624DD3@ha +/* 80352A7C 0034F9DC 80 05 00 F8 */ lwz r0, 0x800000F8@l(r5) +/* 80352A80 0034F9E0 7C 7A 1B 78 */ mr r26, r3 +/* 80352A84 0034F9E4 38 64 4D D3 */ addi r3, r4, 0x10624DD3@l +/* 80352A88 0034F9E8 54 00 F0 BE */ srwi r0, r0, 2 +/* 80352A8C 0034F9EC 7C 03 00 16 */ mulhwu r0, r3, r0 +/* 80352A90 0034F9F0 7C 7D D0 50 */ subf r3, r29, r26 +/* 80352A94 0034F9F4 54 00 D1 BE */ srwi r0, r0, 6 +/* 80352A98 0034F9F8 7C 03 03 96 */ divwu r0, r3, r0 +/* 80352A9C 0034F9FC 28 00 00 3C */ cmplwi r0, 0x3c +/* 80352AA0 0034FA00 40 81 00 38 */ ble lbl_80352AD8 +/* 80352AA4 0034FA04 48 02 5A 35 */ bl GXReadDrawSync +/* 80352AA8 0034FA08 80 7F 00 04 */ lwz r3, 4(r31) +/* 80352AAC 0034FA0C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80352AB0 0034FA10 48 00 00 08 */ b lbl_80352AB8 +lbl_80352AB4: +/* 80352AB4 0034FA14 80 63 00 04 */ lwz r3, 4(r3) +lbl_80352AB8: +/* 80352AB8 0034FA18 7C 03 00 40 */ cmplw r3, r0 +/* 80352ABC 0034FA1C 40 82 FF F8 */ bne lbl_80352AB4 +/* 80352AC0 0034FA20 A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352AC4 0034FA24 7F 5D D3 78 */ mr r29, r26 +/* 80352AC8 0034FA28 48 02 59 59 */ bl GXSetDrawSync +/* 80352ACC 0034FA2C A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352AD0 0034FA30 38 03 00 01 */ addi r0, r3, 1 +/* 80352AD4 0034FA34 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) +lbl_80352AD8: +/* 80352AD8 0034FA38 28 1E 00 00 */ cmplwi r30, 0 +/* 80352ADC 0034FA3C 41 82 FF 7C */ beq lbl_80352A58 +/* 80352AE0 0034FA40 83 BF 00 08 */ lwz r29, 8(r31) +/* 80352AE4 0034FA44 3C 60 80 3E */ lis r3, lbl_803D82F8@ha +/* 80352AE8 0034FA48 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l +/* 80352AEC 0034FA4C A3 6D AA 38 */ lhz r27, lbl_805A95F8@sda21(r13) +/* 80352AF0 0034FA50 83 5D 00 00 */ lwz r26, 0(r29) +/* 80352AF4 0034FA54 38 60 00 14 */ li r3, 0x14 +/* 80352AF8 0034FA58 38 A0 00 00 */ li r5, 0 +/* 80352AFC 0034FA5C 4B FC 2D 1D */ bl __nwa__FUlPCcPCc +/* 80352B00 0034FA60 28 03 00 00 */ cmplwi r3, 0 +/* 80352B04 0034FA64 41 82 00 0C */ beq lbl_80352B10 +/* 80352B08 0034FA68 93 43 00 00 */ stw r26, 0(r3) +/* 80352B0C 0034FA6C 93 A3 00 04 */ stw r29, 4(r3) +lbl_80352B10: +/* 80352B10 0034FA70 34 83 00 08 */ addic. r4, r3, 8 +/* 80352B14 0034FA74 41 82 00 10 */ beq lbl_80352B24 +/* 80352B18 0034FA78 93 C4 00 00 */ stw r30, 0(r4) +/* 80352B1C 0034FA7C 93 84 00 04 */ stw r28, 4(r4) +/* 80352B20 0034FA80 B3 64 00 08 */ sth r27, 8(r4) +lbl_80352B24: +/* 80352B24 0034FA84 80 1F 00 04 */ lwz r0, 4(r31) +/* 80352B28 0034FA88 7C 1D 00 40 */ cmplw r29, r0 +/* 80352B2C 0034FA8C 40 82 00 08 */ bne lbl_80352B34 +/* 80352B30 0034FA90 90 7F 00 04 */ stw r3, 4(r31) +lbl_80352B34: +/* 80352B34 0034FA94 80 C3 00 00 */ lwz r6, 0(r3) +/* 80352B38 0034FA98 3C 80 80 54 */ lis r4, lbl_8053FFF4@ha +/* 80352B3C 0034FA9C 38 A4 FF F4 */ addi r5, r4, lbl_8053FFF4@l +/* 80352B40 0034FAA0 90 66 00 04 */ stw r3, 4(r6) +/* 80352B44 0034FAA4 80 83 00 04 */ lwz r4, 4(r3) +/* 80352B48 0034FAA8 90 64 00 00 */ stw r3, 0(r4) +/* 80352B4C 0034FAAC 7F C3 F3 78 */ mr r3, r30 +/* 80352B50 0034FAB0 80 85 00 14 */ lwz r4, 0x14(r5) +/* 80352B54 0034FAB4 38 04 00 01 */ addi r0, r4, 1 +/* 80352B58 0034FAB8 90 05 00 14 */ stw r0, 0x14(r5) +/* 80352B5C 0034FABC BB 41 00 08 */ lmw r26, 8(r1) +/* 80352B60 0034FAC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80352B64 0034FAC4 7C 08 03 A6 */ mtlr r0 +/* 80352B68 0034FAC8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352B6C 0034FACC 4E 80 00 20 */ blr + +.global TickAllocations__13CSkinnedModelFv +TickAllocations__13CSkinnedModelFv: +/* 80352B70 0034FAD0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80352B74 0034FAD4 7C 08 02 A6 */ mflr r0 +/* 80352B78 0034FAD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80352B7C 0034FADC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352B80 0034FAE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80352B84 0034FAE4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80352B88 0034FAE8 48 02 59 51 */ bl GXReadDrawSync +/* 80352B8C 0034FAEC A0 0D AA 38 */ lhz r0, lbl_805A95F8@sda21(r13) +/* 80352B90 0034FAF0 54 7D 04 3E */ clrlwi r29, r3, 0x10 +/* 80352B94 0034FAF4 7C 1D 00 00 */ cmpw r29, r0 +/* 80352B98 0034FAF8 40 81 00 08 */ ble lbl_80352BA0 +/* 80352B9C 0034FAFC 3F BD FF FF */ addis r29, r29, 0xffff +lbl_80352BA0: +/* 80352BA0 0034FB00 3C 80 80 54 */ lis r4, lbl_8053FFF4@ha +/* 80352BA4 0034FB04 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80352BA8 0034FB08 3B C4 FF F4 */ addi r30, r4, lbl_8053FFF4@l +/* 80352BAC 0034FB0C 3B E3 FF CC */ addi r31, r3, lbl_8053FFCC@l +/* 80352BB0 0034FB10 48 00 00 40 */ b lbl_80352BF0 +lbl_80352BB4: +/* 80352BB4 0034FB14 80 BE 00 04 */ lwz r5, 4(r30) +/* 80352BB8 0034FB18 A0 0D AA 38 */ lhz r0, lbl_805A95F8@sda21(r13) +/* 80352BBC 0034FB1C A0 65 00 10 */ lhz r3, 0x10(r5) +/* 80352BC0 0034FB20 7C 03 00 00 */ cmpw r3, r0 +/* 80352BC4 0034FB24 40 81 00 08 */ ble lbl_80352BCC +/* 80352BC8 0034FB28 3C 63 FF FF */ addis r3, r3, 0xffff +lbl_80352BCC: +/* 80352BCC 0034FB2C 7C 1D 18 00 */ cmpw r29, r3 +/* 80352BD0 0034FB30 41 80 00 2C */ blt lbl_80352BFC +/* 80352BD4 0034FB34 80 85 00 08 */ lwz r4, 8(r5) +/* 80352BD8 0034FB38 7F E3 FB 78 */ mr r3, r31 +/* 80352BDC 0034FB3C 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80352BE0 0034FB40 4B FC 2A AD */ bl Free__15CCircularBufferFPvi +/* 80352BE4 0034FB44 80 9E 00 04 */ lwz r4, 4(r30) +/* 80352BE8 0034FB48 7F C3 F3 78 */ mr r3, r30 +/* 80352BEC 0034FB4C 48 00 0B 15 */ bl sub_80353700 +lbl_80352BF0: +/* 80352BF0 0034FB50 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80352BF4 0034FB54 2C 00 00 00 */ cmpwi r0, 0 +/* 80352BF8 0034FB58 40 82 FF BC */ bne lbl_80352BB4 +lbl_80352BFC: +/* 80352BFC 0034FB5C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80352C00 0034FB60 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80352C04 0034FB64 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80352C08 0034FB68 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80352C0C 0034FB6C 7C 08 03 A6 */ mtlr r0 +/* 80352C10 0034FB70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352C14 0034FB74 4E 80 00 20 */ blr + +.global CalculateDefault__13CSkinnedModelFv +CalculateDefault__13CSkinnedModelFv: +/* 80352C18 0034FB78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80352C1C 0034FB7C 7C 08 02 A6 */ mflr r0 +/* 80352C20 0034FB80 38 80 00 00 */ li r4, 0 +/* 80352C24 0034FB84 90 01 00 24 */ stw r0, 0x24(r1) +/* 80352C28 0034FB88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352C2C 0034FB8C 7C 7F 1B 78 */ mr r31, r3 +/* 80352C30 0034FB90 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352C34 0034FB94 38 1F 00 28 */ addi r0, r31, 0x28 +/* 80352C38 0034FB98 98 81 00 10 */ stb r4, 0x10(r1) +/* 80352C3C 0034FB9C 7C 03 00 40 */ cmplw r3, r0 +/* 80352C40 0034FBA0 90 81 00 14 */ stw r4, 0x14(r1) +/* 80352C44 0034FBA4 41 82 00 30 */ beq lbl_80352C74 +/* 80352C48 0034FBA8 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80352C4C 0034FBAC 28 00 00 00 */ cmplwi r0, 0 +/* 80352C50 0034FBB0 41 82 00 0C */ beq lbl_80352C5C +/* 80352C54 0034FBB4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80352C58 0034FBB8 4B FC 2C D9 */ bl Free__7CMemoryFPCv +lbl_80352C5C: +/* 80352C5C 0034FBBC 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80352C60 0034FBC0 38 00 00 00 */ li r0, 0 +/* 80352C64 0034FBC4 98 7F 00 28 */ stb r3, 0x28(r31) +/* 80352C68 0034FBC8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352C6C 0034FBCC 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 80352C70 0034FBD0 98 01 00 10 */ stb r0, 0x10(r1) +lbl_80352C74: +/* 80352C74 0034FBD4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80352C78 0034FBD8 28 00 00 00 */ cmplwi r0, 0 +/* 80352C7C 0034FBDC 41 82 00 0C */ beq lbl_80352C88 +/* 80352C80 0034FBE0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352C84 0034FBE4 4B FC 2C AD */ bl Free__7CMemoryFPCv +lbl_80352C88: +/* 80352C88 0034FBE8 38 61 00 08 */ addi r3, r1, 8 +/* 80352C8C 0034FBEC 38 1F 00 30 */ addi r0, r31, 0x30 +/* 80352C90 0034FBF0 38 80 00 00 */ li r4, 0 +/* 80352C94 0034FBF4 7C 03 00 40 */ cmplw r3, r0 +/* 80352C98 0034FBF8 98 81 00 08 */ stb r4, 8(r1) +/* 80352C9C 0034FBFC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80352CA0 0034FC00 41 82 00 30 */ beq lbl_80352CD0 +/* 80352CA4 0034FC04 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80352CA8 0034FC08 28 00 00 00 */ cmplwi r0, 0 +/* 80352CAC 0034FC0C 41 82 00 0C */ beq lbl_80352CB8 +/* 80352CB0 0034FC10 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80352CB4 0034FC14 4B FC 2C 7D */ bl Free__7CMemoryFPCv +lbl_80352CB8: +/* 80352CB8 0034FC18 88 61 00 08 */ lbz r3, 8(r1) +/* 80352CBC 0034FC1C 38 00 00 00 */ li r0, 0 +/* 80352CC0 0034FC20 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80352CC4 0034FC24 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352CC8 0034FC28 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80352CCC 0034FC2C 98 01 00 08 */ stb r0, 8(r1) +lbl_80352CD0: +/* 80352CD0 0034FC30 88 01 00 08 */ lbz r0, 8(r1) +/* 80352CD4 0034FC34 28 00 00 00 */ cmplwi r0, 0 +/* 80352CD8 0034FC38 41 82 00 0C */ beq lbl_80352CE4 +/* 80352CDC 0034FC3C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352CE0 0034FC40 4B FC 2C 51 */ bl Free__7CMemoryFPCv +lbl_80352CE4: +/* 80352CE4 0034FC44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80352CE8 0034FC48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80352CEC 0034FC4C 7C 08 03 A6 */ mtlr r0 +/* 80352CF0 0034FC50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352CF4 0034FC54 4E 80 00 20 */ blr + +.global "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" +"Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf": +/* 80352CF8 0034FC58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80352CFC 0034FC5C 7C 08 02 A6 */ mflr r0 +/* 80352D00 0034FC60 28 07 00 00 */ cmplwi r7, 0 +/* 80352D04 0034FC64 90 01 00 34 */ stw r0, 0x34(r1) +/* 80352D08 0034FC68 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 80352D0C 0034FC6C 7C BB 2B 78 */ mr r27, r5 +/* 80352D10 0034FC70 7C 79 1B 78 */ mr r25, r3 +/* 80352D14 0034FC74 7C 9A 23 78 */ mr r26, r4 +/* 80352D18 0034FC78 7C DC 33 78 */ mr r28, r6 +/* 80352D1C 0034FC7C 81 03 00 18 */ lwz r8, 0x18(r3) +/* 80352D20 0034FC80 80 A8 00 10 */ lwz r5, 0x10(r8) +/* 80352D24 0034FC84 80 08 00 14 */ lwz r0, 0x14(r8) +/* 80352D28 0034FC88 1F C5 00 0C */ mulli r30, r5, 0xc +/* 80352D2C 0034FC8C 1F E0 00 0C */ mulli r31, r0, 0xc +/* 80352D30 0034FC90 41 82 00 0C */ beq lbl_80352D3C +/* 80352D34 0034FC94 7C FD 3B 78 */ mr r29, r7 +/* 80352D38 0034FC98 48 00 00 28 */ b lbl_80352D60 +lbl_80352D3C: +/* 80352D3C 0034FC9C 88 19 00 39 */ lbz r0, 0x39(r25) +/* 80352D40 0034FCA0 28 00 00 00 */ cmplwi r0, 0 +/* 80352D44 0034FCA4 41 82 00 14 */ beq lbl_80352D58 +/* 80352D48 0034FCA8 80 B9 00 24 */ lwz r5, 0x24(r25) +/* 80352D4C 0034FCAC 7D 03 43 78 */ mr r3, r8 +/* 80352D50 0034FCB0 48 00 12 FD */ bl BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo +/* 80352D54 0034FCB4 48 00 01 80 */ b lbl_80352ED4 +lbl_80352D58: +/* 80352D58 0034FCB8 4B FF FB 15 */ bl AllocateStorage__13CSkinnedModelFv +/* 80352D5C 0034FCBC 83 B9 00 2C */ lwz r29, 0x2c(r25) +lbl_80352D60: +/* 80352D60 0034FCC0 38 7E 00 1F */ addi r3, r30, 0x1f +/* 80352D64 0034FCC4 38 1F 00 1F */ addi r0, r31, 0x1f +/* 80352D68 0034FCC8 54 7F 00 34 */ rlwinm r31, r3, 0, 0, 0x1a +/* 80352D6C 0034FCCC 7F A3 EB 78 */ mr r3, r29 +/* 80352D70 0034FCD0 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80352D74 0034FCD4 7F DF 02 14 */ add r30, r31, r0 +/* 80352D78 0034FCD8 7F C4 F3 78 */ mr r4, r30 +/* 80352D7C 0034FCDC 48 02 BD 35 */ bl DCFlushRange +/* 80352D80 0034FCE0 48 02 E8 E1 */ bl OSDisableInterrupts +/* 80352D84 0034FCE4 7C 60 1B 78 */ mr r0, r3 +/* 80352D88 0034FCE8 7F A3 EB 78 */ mr r3, r29 +/* 80352D8C 0034FCEC 7C 18 03 78 */ mr r24, r0 +/* 80352D90 0034FCF0 48 02 3D A5 */ bl GXRedirectWriteGatherPipe +/* 80352D94 0034FCF4 7C 60 1B 78 */ mr r0, r3 +/* 80352D98 0034FCF8 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352D9C 0034FCFC 80 99 00 0C */ lwz r4, 0xc(r25) +/* 80352DA0 0034FD00 7C 17 03 78 */ mr r23, r0 +/* 80352DA4 0034FD04 48 00 0E 71 */ bl InitLockedCacheState__10CSkinRulesFRC10CSkinRules +/* 80352DA8 0034FD08 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352DAC 0034FD0C 7F 44 D3 78 */ mr r4, r26 +/* 80352DB0 0034FD10 80 B9 00 24 */ lwz r5, 0x24(r25) +/* 80352DB4 0034FD14 48 00 12 99 */ bl BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo +/* 80352DB8 0034FD18 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352DBC 0034FD1C 7E E4 BB 78 */ mr r4, r23 +/* 80352DC0 0034FD20 48 00 11 F1 */ bl BuildPoints__10CSkinRulesCFPVv +/* 80352DC4 0034FD24 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352DC8 0034FD28 38 C0 00 00 */ li r6, 0 +/* 80352DCC 0034FD2C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80352DD0 0034FD30 1C 60 00 03 */ mulli r3, r0, 3 +/* 80352DD4 0034FD34 38 03 00 07 */ addi r0, r3, 7 +/* 80352DD8 0034FD38 54 00 00 38 */ rlwinm r0, r0, 0, 0, 0x1c +/* 80352DDC 0034FD3C 7C A3 00 51 */ subf. r5, r3, r0 +/* 80352DE0 0034FD40 40 81 00 6C */ ble lbl_80352E4C +/* 80352DE4 0034FD44 2C 05 00 08 */ cmpwi r5, 8 +/* 80352DE8 0034FD48 38 85 FF F8 */ addi r4, r5, -8 +/* 80352DEC 0034FD4C 40 81 00 44 */ ble lbl_80352E30 +/* 80352DF0 0034FD50 38 04 00 07 */ addi r0, r4, 7 +/* 80352DF4 0034FD54 38 60 00 00 */ li r3, 0 +/* 80352DF8 0034FD58 54 00 E8 FE */ srwi r0, r0, 3 +/* 80352DFC 0034FD5C 7C 09 03 A6 */ mtctr r0 +/* 80352E00 0034FD60 2C 04 00 00 */ cmpwi r4, 0 +/* 80352E04 0034FD64 40 81 00 2C */ ble lbl_80352E30 +lbl_80352E08: +/* 80352E08 0034FD68 90 77 00 00 */ stw r3, 0(r23) +/* 80352E0C 0034FD6C 38 C6 00 08 */ addi r6, r6, 8 +/* 80352E10 0034FD70 90 77 00 00 */ stw r3, 0(r23) +/* 80352E14 0034FD74 90 77 00 00 */ stw r3, 0(r23) +/* 80352E18 0034FD78 90 77 00 00 */ stw r3, 0(r23) +/* 80352E1C 0034FD7C 90 77 00 00 */ stw r3, 0(r23) +/* 80352E20 0034FD80 90 77 00 00 */ stw r3, 0(r23) +/* 80352E24 0034FD84 90 77 00 00 */ stw r3, 0(r23) +/* 80352E28 0034FD88 90 77 00 00 */ stw r3, 0(r23) +/* 80352E2C 0034FD8C 42 00 FF DC */ bdnz lbl_80352E08 +lbl_80352E30: +/* 80352E30 0034FD90 7C 06 28 50 */ subf r0, r6, r5 +/* 80352E34 0034FD94 38 60 00 00 */ li r3, 0 +/* 80352E38 0034FD98 7C 09 03 A6 */ mtctr r0 +/* 80352E3C 0034FD9C 7C 06 28 00 */ cmpw r6, r5 +/* 80352E40 0034FDA0 40 80 00 0C */ bge lbl_80352E4C +lbl_80352E44: +/* 80352E44 0034FDA4 90 77 00 00 */ stw r3, 0(r23) +/* 80352E48 0034FDA8 42 00 FF FC */ bdnz lbl_80352E44 +lbl_80352E4C: +/* 80352E4C 0034FDAC 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352E50 0034FDB0 7E E4 BB 78 */ mr r4, r23 +/* 80352E54 0034FDB4 48 00 10 C1 */ bl BuildNormals__10CSkinRulesCFPVv +/* 80352E58 0034FDB8 48 02 3D D1 */ bl GXRestoreWriteGatherPipe +/* 80352E5C 0034FDBC 7F 03 C3 78 */ mr r3, r24 +/* 80352E60 0034FDC0 48 02 E8 29 */ bl OSRestoreInterrupts +/* 80352E64 0034FDC4 88 1B 00 48 */ lbz r0, 0x48(r27) +/* 80352E68 0034FDC8 28 00 00 00 */ cmplwi r0, 0 +/* 80352E6C 0034FDCC 41 82 00 30 */ beq lbl_80352E9C +/* 80352E70 0034FDD0 80 D9 00 18 */ lwz r6, 0x18(r25) +/* 80352E74 0034FDD4 7F 63 DB 78 */ mr r3, r27 +/* 80352E78 0034FDD8 7F A4 EB 78 */ mr r4, r29 +/* 80352E7C 0034FDDC 7F 85 E3 78 */ mr r5, r28 +/* 80352E80 0034FDE0 81 06 00 10 */ lwz r8, 0x10(r6) +/* 80352E84 0034FDE4 7F 47 D3 78 */ mr r7, r26 +/* 80352E88 0034FDE8 38 D9 00 10 */ addi r6, r25, 0x10 +/* 80352E8C 0034FDEC 48 00 47 0D */ bl "MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi" +/* 80352E90 0034FDF0 7F A3 EB 78 */ mr r3, r29 +/* 80352E94 0034FDF4 7F E4 FB 78 */ mr r4, r31 +/* 80352E98 0034FDF8 48 02 BC 19 */ bl DCFlushRange +lbl_80352E9C: +/* 80352E9C 0034FDFC 81 8D AA 30 */ lwz r12, lbl_805A95F0@sda21(r13) +/* 80352EA0 0034FE00 28 0C 00 00 */ cmplwi r12, 0 +/* 80352EA4 0034FE04 41 82 00 30 */ beq lbl_80352ED4 +/* 80352EA8 0034FE08 80 B9 00 18 */ lwz r5, 0x18(r25) +/* 80352EAC 0034FE0C 7F A4 EB 78 */ mr r4, r29 +/* 80352EB0 0034FE10 80 6D AA 34 */ lwz r3, lbl_805A95F4@sda21(r13) +/* 80352EB4 0034FE14 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80352EB8 0034FE18 1C 06 00 0C */ mulli r0, r6, 0xc +/* 80352EBC 0034FE1C 7C BD 02 14 */ add r5, r29, r0 +/* 80352EC0 0034FE20 7D 89 03 A6 */ mtctr r12 +/* 80352EC4 0034FE24 4E 80 04 21 */ bctrl +/* 80352EC8 0034FE28 7F A3 EB 78 */ mr r3, r29 +/* 80352ECC 0034FE2C 7F C4 F3 78 */ mr r4, r30 +/* 80352ED0 0034FE30 48 02 BB B5 */ bl DCInvalidateRange +lbl_80352ED4: +/* 80352ED4 0034FE34 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 80352ED8 0034FE38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80352EDC 0034FE3C 7C 08 03 A6 */ mtlr r0 +/* 80352EE0 0034FE40 38 21 00 30 */ addi r1, r1, 0x30 +/* 80352EE4 0034FE44 4E 80 00 20 */ blr + +.global sub_80352ee8 +sub_80352ee8: +/* 80352EE8 0034FE48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352EEC 0034FE4C 7C 08 02 A6 */ mflr r0 +/* 80352EF0 0034FE50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80352EF4 0034FE54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80352EF8 0034FE58 7C 7F 1B 78 */ mr r31, r3 +/* 80352EFC 0034FE5C 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80352F00 0034FE60 48 00 2B 49 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 80352F04 0034FE64 7F E3 FB 78 */ mr r3, r31 +/* 80352F08 0034FE68 4B FF F8 59 */ bl sub_80352760 +/* 80352F0C 0034FE6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80352F10 0034FE70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80352F14 0034FE74 7C 08 03 A6 */ mtlr r0 +/* 80352F18 0034FE78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80352F1C 0034FE7C 4E 80 00 20 */ blr + +.global DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv: +/* 80352F20 0034FE80 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80352F24 0034FE84 7C 08 02 A6 */ mflr r0 +/* 80352F28 0034FE88 90 01 00 84 */ stw r0, 0x84(r1) +/* 80352F2C 0034FE8C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80352F30 0034FE90 7C 7F 1B 78 */ mr r31, r3 +/* 80352F34 0034FE94 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80352F38 0034FE98 93 A1 00 74 */ stw r29, 0x74(r1) +/* 80352F3C 0034FE9C 7C BD 2B 78 */ mr r29, r5 +/* 80352F40 0034FEA0 93 81 00 70 */ stw r28, 0x70(r1) +/* 80352F44 0034FEA4 7C 9C 23 78 */ mr r28, r4 +/* 80352F48 0034FEA8 88 03 00 39 */ lbz r0, 0x39(r3) +/* 80352F4C 0034FEAC 28 00 00 00 */ cmplwi r0, 0 +/* 80352F50 0034FEB0 41 82 00 68 */ beq lbl_80352FB8 +/* 80352F54 0034FEB4 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80352F58 0034FEB8 38 61 00 38 */ addi r3, r1, 0x38 +/* 80352F5C 0034FEBC 38 84 62 04 */ addi r4, r4, lbl_805A6204@l +/* 80352F60 0034FEC0 4B FB FC 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80352F64 0034FEC4 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 80352F68 0034FEC8 38 61 00 08 */ addi r3, r1, 8 +/* 80352F6C 0034FECC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80352F70 0034FED0 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80352F74 0034FED4 38 A5 00 20 */ addi r5, r5, 0x20 +/* 80352F78 0034FED8 4B FB F9 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80352F7C 0034FEDC 38 61 00 08 */ addi r3, r1, 8 +/* 80352F80 0034FEE0 4B FB 96 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80352F84 0034FEE4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352F88 0034FEE8 48 00 27 3D */ bl GetNormals__6CModelCFv +/* 80352F8C 0034FEEC 7C 7E 1B 78 */ mr r30, r3 +/* 80352F90 0034FEF0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352F94 0034FEF4 48 00 27 3D */ bl GetPositions__6CModelCFv +/* 80352F98 0034FEF8 7F 8C E3 78 */ mr r12, r28 +/* 80352F9C 0034FEFC 7F C4 F3 78 */ mr r4, r30 +/* 80352FA0 0034FF00 7F A5 EB 78 */ mr r5, r29 +/* 80352FA4 0034FF04 7D 89 03 A6 */ mtctr r12 +/* 80352FA8 0034FF08 4E 80 04 21 */ bctrl +/* 80352FAC 0034FF0C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80352FB0 0034FF10 4B FB 96 31 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80352FB4 0034FF14 48 00 00 90 */ b lbl_80353044 +lbl_80352FB8: +/* 80352FB8 0034FF18 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80352FBC 0034FF1C 28 03 00 00 */ cmplwi r3, 0 +/* 80352FC0 0034FF20 40 82 00 30 */ bne lbl_80352FF0 +/* 80352FC4 0034FF24 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352FC8 0034FF28 48 00 26 FD */ bl GetNormals__6CModelCFv +/* 80352FCC 0034FF2C 7C 7E 1B 78 */ mr r30, r3 +/* 80352FD0 0034FF30 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352FD4 0034FF34 48 00 26 FD */ bl GetPositions__6CModelCFv +/* 80352FD8 0034FF38 7F 8C E3 78 */ mr r12, r28 +/* 80352FDC 0034FF3C 7F C4 F3 78 */ mr r4, r30 +/* 80352FE0 0034FF40 7F A5 EB 78 */ mr r5, r29 +/* 80352FE4 0034FF44 7D 89 03 A6 */ mtctr r12 +/* 80352FE8 0034FF48 4E 80 04 21 */ bctrl +/* 80352FEC 0034FF4C 48 00 00 58 */ b lbl_80353044 +lbl_80352FF0: +/* 80352FF0 0034FF50 7F 8C E3 78 */ mr r12, r28 +/* 80352FF4 0034FF54 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 80352FF8 0034FF58 7D 89 03 A6 */ mtctr r12 +/* 80352FFC 0034FF5C 4E 80 04 21 */ bctrl +/* 80353000 0034FF60 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80353004 0034FF64 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80353008 0034FF68 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8035300C 0034FF6C 1C 80 00 0C */ mulli r4, r0, 0xc +/* 80353010 0034FF70 38 04 00 1F */ addi r0, r4, 0x1f +/* 80353014 0034FF74 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 80353018 0034FF78 48 02 BA F9 */ bl DCFlushRangeNoSync +/* 8035301C 0034FF7C 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80353020 0034FF80 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80353024 0034FF84 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80353028 0034FF88 1C 80 00 0C */ mulli r4, r0, 0xc +/* 8035302C 0034FF8C 38 04 00 1F */ addi r0, r4, 0x1f +/* 80353030 0034FF90 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 80353034 0034FF94 48 02 BA DD */ bl DCFlushRangeNoSync +/* 80353038 0034FF98 48 01 C7 D5 */ bl PPCSync +/* 8035303C 0034FF9C 7F E3 FB 78 */ mr r3, r31 +/* 80353040 0034FFA0 4B FF F7 21 */ bl sub_80352760 +lbl_80353044: +/* 80353044 0034FFA4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80353048 0034FFA8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8035304C 0034FFAC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80353050 0034FFB0 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 80353054 0034FFB4 83 81 00 70 */ lwz r28, 0x70(r1) +/* 80353058 0034FFB8 7C 08 03 A6 */ mtlr r0 +/* 8035305C 0034FFBC 38 21 00 80 */ addi r1, r1, 0x80 +/* 80353060 0034FFC0 4E 80 00 20 */ blr + +.global sub_80353064 +sub_80353064: +/* 80353064 0034FFC4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80353068 0034FFC8 7C 08 02 A6 */ mflr r0 +/* 8035306C 0034FFCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80353070 0034FFD0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80353074 0034FFD4 7C 9F 23 78 */ mr r31, r4 +/* 80353078 0034FFD8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8035307C 0034FFDC 7C 7E 1B 78 */ mr r30, r3 +/* 80353080 0034FFE0 88 03 00 39 */ lbz r0, 0x39(r3) +/* 80353084 0034FFE4 28 00 00 00 */ cmplwi r0, 0 +/* 80353088 0034FFE8 41 82 00 4C */ beq lbl_803530D4 +/* 8035308C 0034FFEC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80353090 0034FFF0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80353094 0034FFF4 38 84 62 04 */ addi r4, r4, lbl_805A6204@l +/* 80353098 0034FFF8 4B FB FA DD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035309C 0034FFFC 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 803530A0 00350000 38 61 00 08 */ addi r3, r1, 8 +/* 803530A4 00350004 38 81 00 38 */ addi r4, r1, 0x38 +/* 803530A8 00350008 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 803530AC 0035000C 38 A5 00 20 */ addi r5, r5, 0x20 +/* 803530B0 00350010 4B FB F8 A1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803530B4 00350014 38 61 00 08 */ addi r3, r1, 8 +/* 803530B8 00350018 4B FB 95 29 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803530BC 0035001C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803530C0 00350020 7F E4 FB 78 */ mr r4, r31 +/* 803530C4 00350024 48 00 2B 11 */ bl Draw__6CModelCFRC11CModelFlags +/* 803530C8 00350028 38 61 00 38 */ addi r3, r1, 0x38 +/* 803530CC 0035002C 4B FB 95 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803530D0 00350030 48 00 00 38 */ b lbl_80353108 +lbl_803530D4: +/* 803530D4 00350034 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803530D8 00350038 28 00 00 00 */ cmplwi r0, 0 +/* 803530DC 0035003C 40 82 00 10 */ bne lbl_803530EC +/* 803530E0 00350040 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803530E4 00350044 48 00 2A F1 */ bl Draw__6CModelCFRC11CModelFlags +/* 803530E8 00350048 48 00 00 20 */ b lbl_80353108 +lbl_803530EC: +/* 803530EC 0035004C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803530F0 00350050 7C 04 03 78 */ mr r4, r0 +/* 803530F4 00350054 80 BE 00 34 */ lwz r5, 0x34(r30) +/* 803530F8 00350058 7F E6 FB 78 */ mr r6, r31 +/* 803530FC 0035005C 48 00 29 4D */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 80353100 00350060 7F C3 F3 78 */ mr r3, r30 +/* 80353104 00350064 4B FF F6 5D */ bl sub_80352760 +lbl_80353108: +/* 80353108 00350068 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8035310C 0035006C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80353110 00350070 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80353114 00350074 7C 08 03 A6 */ mtlr r0 +/* 80353118 00350078 38 21 00 70 */ addi r1, r1, 0x70 +/* 8035311C 0035007C 4E 80 00 20 */ blr + +.global sub_80353120 +sub_80353120: +/* 80353120 00350080 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353124 00350084 7C 08 02 A6 */ mflr r0 +/* 80353128 00350088 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035312C 0035008C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353130 00350090 7C 7F 1B 78 */ mr r31, r3 +/* 80353134 00350094 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353138 00350098 48 00 04 75 */ bl sub_803535ac +/* 8035313C 0035009C 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 80353140 003500A0 28 00 00 00 */ cmplwi r0, 0 +/* 80353144 003500A4 40 82 01 08 */ bne lbl_8035324C +/* 80353148 003500A8 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 8035314C 003500AC 3C 60 80 3E */ lis r3, lbl_803D82F8@ha +/* 80353150 003500B0 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l +/* 80353154 003500B4 38 A0 00 00 */ li r5, 0 +/* 80353158 003500B8 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8035315C 003500BC 83 C6 00 14 */ lwz r30, 0x14(r6) +/* 80353160 003500C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80353164 003500C4 54 03 10 3A */ slwi r3, r0, 2 +/* 80353168 003500C8 4B FC 26 B1 */ bl __nwa__FUlPCcPCc +/* 8035316C 003500CC 7C 03 00 D0 */ neg r0, r3 +/* 80353170 003500D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80353174 003500D4 7C 05 1B 78 */ or r5, r0, r3 +/* 80353178 003500D8 38 1F 00 28 */ addi r0, r31, 0x28 +/* 8035317C 003500DC 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 80353180 003500E0 90 61 00 14 */ stw r3, 0x14(r1) +/* 80353184 003500E4 7C 04 00 40 */ cmplw r4, r0 +/* 80353188 003500E8 98 A1 00 10 */ stb r5, 0x10(r1) +/* 8035318C 003500EC 41 82 00 30 */ beq lbl_803531BC +/* 80353190 003500F0 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80353194 003500F4 28 00 00 00 */ cmplwi r0, 0 +/* 80353198 003500F8 41 82 00 0C */ beq lbl_803531A4 +/* 8035319C 003500FC 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 803531A0 00350100 4B FC 27 91 */ bl Free__7CMemoryFPCv +lbl_803531A4: +/* 803531A4 00350104 88 61 00 10 */ lbz r3, 0x10(r1) +/* 803531A8 00350108 38 00 00 00 */ li r0, 0 +/* 803531AC 0035010C 98 7F 00 28 */ stb r3, 0x28(r31) +/* 803531B0 00350110 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803531B4 00350114 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 803531B8 00350118 98 01 00 10 */ stb r0, 0x10(r1) +lbl_803531BC: +/* 803531BC 0035011C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 803531C0 00350120 28 00 00 00 */ cmplwi r0, 0 +/* 803531C4 00350124 41 82 00 0C */ beq lbl_803531D0 +/* 803531C8 00350128 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803531CC 0035012C 4B FC 27 65 */ bl Free__7CMemoryFPCv +lbl_803531D0: +/* 803531D0 00350130 1C 1E 00 0C */ mulli r0, r30, 0xc +/* 803531D4 00350134 3C 60 80 3E */ lis r3, lbl_803D82F8@ha +/* 803531D8 00350138 38 A0 00 00 */ li r5, 0 +/* 803531DC 0035013C 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l +/* 803531E0 00350140 54 03 10 3A */ slwi r3, r0, 2 +/* 803531E4 00350144 4B FC 26 35 */ bl __nwa__FUlPCcPCc +/* 803531E8 00350148 7C 03 00 D0 */ neg r0, r3 +/* 803531EC 0035014C 38 81 00 08 */ addi r4, r1, 8 +/* 803531F0 00350150 7C 05 1B 78 */ or r5, r0, r3 +/* 803531F4 00350154 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803531F8 00350158 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803531FC 0035015C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80353200 00350160 7C 04 00 40 */ cmplw r4, r0 +/* 80353204 00350164 98 A1 00 08 */ stb r5, 8(r1) +/* 80353208 00350168 41 82 00 30 */ beq lbl_80353238 +/* 8035320C 0035016C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80353210 00350170 28 00 00 00 */ cmplwi r0, 0 +/* 80353214 00350174 41 82 00 0C */ beq lbl_80353220 +/* 80353218 00350178 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8035321C 0035017C 4B FC 27 15 */ bl Free__7CMemoryFPCv +lbl_80353220: +/* 80353220 00350180 88 61 00 08 */ lbz r3, 8(r1) +/* 80353224 00350184 38 00 00 00 */ li r0, 0 +/* 80353228 00350188 98 7F 00 30 */ stb r3, 0x30(r31) +/* 8035322C 0035018C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80353230 00350190 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80353234 00350194 98 01 00 08 */ stb r0, 8(r1) +lbl_80353238: +/* 80353238 00350198 88 01 00 08 */ lbz r0, 8(r1) +/* 8035323C 0035019C 28 00 00 00 */ cmplwi r0, 0 +/* 80353240 003501A0 41 82 00 0C */ beq lbl_8035324C +/* 80353244 003501A4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80353248 003501A8 4B FC 26 E9 */ bl Free__7CMemoryFPCv +lbl_8035324C: +/* 8035324C 003501AC 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 80353250 003501B0 80 03 00 04 */ lwz r0, 4(r3) +/* 80353254 003501B4 2C 00 00 01 */ cmpwi r0, 1 +/* 80353258 003501B8 40 82 00 0C */ bne lbl_80353264 +/* 8035325C 003501BC 38 00 00 01 */ li r0, 1 +/* 80353260 003501C0 98 1F 00 39 */ stb r0, 0x39(r31) +lbl_80353264: +/* 80353264 003501C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353268 003501C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035326C 003501CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353270 003501D0 7C 08 03 A6 */ mtlr r0 +/* 80353274 003501D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353278 003501D8 4E 80 00 20 */ blr + +.global __dt__13CSkinnedModelFv +__dt__13CSkinnedModelFv: +/* 8035327C 003501DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353280 003501E0 7C 08 02 A6 */ mflr r0 +/* 80353284 003501E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353288 003501E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035328C 003501EC 7C 9F 23 78 */ mr r31, r4 +/* 80353290 003501F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80353294 003501F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80353298 003501F8 41 82 00 B0 */ beq lbl_80353348 +/* 8035329C 003501FC 3C 60 80 3F */ lis r3, lbl_803EF718@ha +/* 803532A0 00350200 38 03 F7 18 */ addi r0, r3, lbl_803EF718@l +/* 803532A4 00350204 90 1E 00 00 */ stw r0, 0(r30) +/* 803532A8 00350208 48 00 02 65 */ bl sub_8035350c +/* 803532AC 0035020C 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 803532B0 00350210 41 82 00 18 */ beq lbl_803532C8 +/* 803532B4 00350214 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 803532B8 00350218 28 00 00 00 */ cmplwi r0, 0 +/* 803532BC 0035021C 41 82 00 0C */ beq lbl_803532C8 +/* 803532C0 00350220 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 803532C4 00350224 4B FC 26 6D */ bl Free__7CMemoryFPCv +lbl_803532C8: +/* 803532C8 00350228 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 803532CC 0035022C 41 82 00 18 */ beq lbl_803532E4 +/* 803532D0 00350230 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 803532D4 00350234 28 00 00 00 */ cmplwi r0, 0 +/* 803532D8 00350238 41 82 00 0C */ beq lbl_803532E4 +/* 803532DC 0035023C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 803532E0 00350240 4B FC 26 51 */ bl Free__7CMemoryFPCv +lbl_803532E4: +/* 803532E4 00350244 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 803532E8 00350248 41 82 00 18 */ beq lbl_80353300 +/* 803532EC 0035024C 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 803532F0 00350250 41 82 00 10 */ beq lbl_80353300 +/* 803532F4 00350254 38 7E 00 1C */ addi r3, r30, 0x1c +/* 803532F8 00350258 38 80 00 00 */ li r4, 0 +/* 803532FC 0035025C 4B FE DB 45 */ bl __dt__6CTokenFv +lbl_80353300: +/* 80353300 00350260 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 80353304 00350264 41 82 00 18 */ beq lbl_8035331C +/* 80353308 00350268 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8035330C 0035026C 41 82 00 10 */ beq lbl_8035331C +/* 80353310 00350270 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80353314 00350274 38 80 00 00 */ li r4, 0 +/* 80353318 00350278 4B FE DB 29 */ bl __dt__6CTokenFv +lbl_8035331C: +/* 8035331C 0035027C 34 1E 00 04 */ addic. r0, r30, 4 +/* 80353320 00350280 41 82 00 18 */ beq lbl_80353338 +/* 80353324 00350284 34 1E 00 04 */ addic. r0, r30, 4 +/* 80353328 00350288 41 82 00 10 */ beq lbl_80353338 +/* 8035332C 0035028C 38 7E 00 04 */ addi r3, r30, 4 +/* 80353330 00350290 38 80 00 00 */ li r4, 0 +/* 80353334 00350294 4B FE DB 0D */ bl __dt__6CTokenFv +lbl_80353338: +/* 80353338 00350298 7F E0 07 35 */ extsh. r0, r31 +/* 8035333C 0035029C 40 81 00 0C */ ble lbl_80353348 +/* 80353340 003502A0 7F C3 F3 78 */ mr r3, r30 +/* 80353344 003502A4 4B FC 25 ED */ bl Free__7CMemoryFPCv +lbl_80353348: +/* 80353348 003502A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035334C 003502AC 7F C3 F3 78 */ mr r3, r30 +/* 80353350 003502B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353354 003502B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80353358 003502B8 7C 08 03 A6 */ mtlr r0 +/* 8035335C 003502BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353360 003502C0 4E 80 00 20 */ blr + +.global __ct__13CSkinnedModelFRC13CSkinnedModel +__ct__13CSkinnedModelFRC13CSkinnedModel: +/* 80353364 003502C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353368 003502C8 7C 08 02 A6 */ mflr r0 +/* 8035336C 003502CC 3C A0 80 3F */ lis r5, lbl_803EF718@ha +/* 80353370 003502D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353374 003502D4 38 05 F7 18 */ addi r0, r5, lbl_803EF718@l +/* 80353378 003502D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035337C 003502DC 7C 9F 23 78 */ mr r31, r4 +/* 80353380 003502E0 38 9F 00 04 */ addi r4, r31, 4 +/* 80353384 003502E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353388 003502E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035338C 003502EC 7C 7D 1B 78 */ mr r29, r3 +/* 80353390 003502F0 3B DD 00 04 */ addi r30, r29, 4 +/* 80353394 003502F4 90 03 00 00 */ stw r0, 0(r3) +/* 80353398 003502F8 7F C3 F3 78 */ mr r3, r30 +/* 8035339C 003502FC 4B FE DB 0D */ bl __ct__6CTokenFRC6CToken +/* 803533A0 00350300 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803533A4 00350304 7F C3 F3 78 */ mr r3, r30 +/* 803533A8 00350308 90 1E 00 08 */ stw r0, 8(r30) +/* 803533AC 0035030C 4B FE D9 D9 */ bl Lock__6CTokenFv +/* 803533B0 00350310 3B DD 00 10 */ addi r30, r29, 0x10 +/* 803533B4 00350314 38 9F 00 10 */ addi r4, r31, 0x10 +/* 803533B8 00350318 7F C3 F3 78 */ mr r3, r30 +/* 803533BC 0035031C 4B FE DA ED */ bl __ct__6CTokenFRC6CToken +/* 803533C0 00350320 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 803533C4 00350324 7F C3 F3 78 */ mr r3, r30 +/* 803533C8 00350328 90 1E 00 08 */ stw r0, 8(r30) +/* 803533CC 0035032C 4B FE D9 B9 */ bl Lock__6CTokenFv +/* 803533D0 00350330 3B DD 00 1C */ addi r30, r29, 0x1c +/* 803533D4 00350334 38 9F 00 1C */ addi r4, r31, 0x1c +/* 803533D8 00350338 7F C3 F3 78 */ mr r3, r30 +/* 803533DC 0035033C 4B FE DA CD */ bl __ct__6CTokenFRC6CToken +/* 803533E0 00350340 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 803533E4 00350344 7F C3 F3 78 */ mr r3, r30 +/* 803533E8 00350348 90 1E 00 08 */ stw r0, 8(r30) +/* 803533EC 0035034C 4B FE D9 99 */ bl Lock__6CTokenFv +/* 803533F0 00350350 38 80 00 00 */ li r4, 0 +/* 803533F4 00350354 7F A3 EB 78 */ mr r3, r29 +/* 803533F8 00350358 98 9D 00 28 */ stb r4, 0x28(r29) +/* 803533FC 0035035C 90 9D 00 2C */ stw r4, 0x2c(r29) +/* 80353400 00350360 98 9D 00 30 */ stb r4, 0x30(r29) +/* 80353404 00350364 90 9D 00 34 */ stw r4, 0x34(r29) +/* 80353408 00350368 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 8035340C 0035036C 98 1D 00 38 */ stb r0, 0x38(r29) +/* 80353410 00350370 98 9D 00 39 */ stb r4, 0x39(r29) +/* 80353414 00350374 4B FF FD 0D */ bl sub_80353120 +/* 80353418 00350378 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035341C 0035037C 7F A3 EB 78 */ mr r3, r29 +/* 80353420 00350380 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353424 00350384 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353428 00350388 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035342C 0035038C 7C 08 03 A6 */ mtlr r0 +/* 80353430 00350390 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353434 00350394 4E 80 00 20 */ blr + +.global "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +"__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership": +/* 80353438 00350398 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035343C 0035039C 7C 08 02 A6 */ mflr r0 +/* 80353440 003503A0 3D 00 80 3F */ lis r8, lbl_803EF718@ha +/* 80353444 003503A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353448 003503A8 38 08 F7 18 */ addi r0, r8, lbl_803EF718@l +/* 8035344C 003503AC BF 41 00 08 */ stmw r26, 8(r1) +/* 80353450 003503B0 7C 7A 1B 78 */ mr r26, r3 +/* 80353454 003503B4 3B 7A 00 04 */ addi r27, r26, 4 +/* 80353458 003503B8 7C 9C 23 78 */ mr r28, r4 +/* 8035345C 003503BC 7C BD 2B 78 */ mr r29, r5 +/* 80353460 003503C0 7C DE 33 78 */ mr r30, r6 +/* 80353464 003503C4 7C FF 3B 78 */ mr r31, r7 +/* 80353468 003503C8 90 03 00 00 */ stw r0, 0(r3) +/* 8035346C 003503CC 7F 63 DB 78 */ mr r3, r27 +/* 80353470 003503D0 4B FE DA 39 */ bl __ct__6CTokenFRC6CToken +/* 80353474 003503D4 80 1C 00 08 */ lwz r0, 8(r28) +/* 80353478 003503D8 7F 63 DB 78 */ mr r3, r27 +/* 8035347C 003503DC 90 1B 00 08 */ stw r0, 8(r27) +/* 80353480 003503E0 4B FE D9 05 */ bl Lock__6CTokenFv +/* 80353484 003503E4 3B 7A 00 10 */ addi r27, r26, 0x10 +/* 80353488 003503E8 7F A4 EB 78 */ mr r4, r29 +/* 8035348C 003503EC 7F 63 DB 78 */ mr r3, r27 +/* 80353490 003503F0 4B FE DA 19 */ bl __ct__6CTokenFRC6CToken +/* 80353494 003503F4 80 1D 00 08 */ lwz r0, 8(r29) +/* 80353498 003503F8 7F 63 DB 78 */ mr r3, r27 +/* 8035349C 003503FC 90 1B 00 08 */ stw r0, 8(r27) +/* 803534A0 00350400 4B FE D8 E5 */ bl Lock__6CTokenFv +/* 803534A4 00350404 3B 7A 00 1C */ addi r27, r26, 0x1c +/* 803534A8 00350408 7F C4 F3 78 */ mr r4, r30 +/* 803534AC 0035040C 7F 63 DB 78 */ mr r3, r27 +/* 803534B0 00350410 4B FE D9 F9 */ bl __ct__6CTokenFRC6CToken +/* 803534B4 00350414 80 1E 00 08 */ lwz r0, 8(r30) +/* 803534B8 00350418 7F 63 DB 78 */ mr r3, r27 +/* 803534BC 0035041C 90 1B 00 08 */ stw r0, 8(r27) +/* 803534C0 00350420 4B FE D8 C5 */ bl Lock__6CTokenFv +/* 803534C4 00350424 38 80 00 00 */ li r4, 0 +/* 803534C8 00350428 20 1F 00 01 */ subfic r0, r31, 1 +/* 803534CC 0035042C 98 9A 00 28 */ stb r4, 0x28(r26) +/* 803534D0 00350430 7C 00 00 34 */ cntlzw r0, r0 +/* 803534D4 00350434 54 00 D9 7E */ srwi r0, r0, 5 +/* 803534D8 00350438 7F 43 D3 78 */ mr r3, r26 +/* 803534DC 0035043C 90 9A 00 2C */ stw r4, 0x2c(r26) +/* 803534E0 00350440 98 9A 00 30 */ stb r4, 0x30(r26) +/* 803534E4 00350444 90 9A 00 34 */ stw r4, 0x34(r26) +/* 803534E8 00350448 98 1A 00 38 */ stb r0, 0x38(r26) +/* 803534EC 0035044C 98 9A 00 39 */ stb r4, 0x39(r26) +/* 803534F0 00350450 4B FF FC 31 */ bl sub_80353120 +/* 803534F4 00350454 7F 43 D3 78 */ mr r3, r26 +/* 803534F8 00350458 BB 41 00 08 */ lmw r26, 8(r1) +/* 803534FC 0035045C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353500 00350460 7C 08 03 A6 */ mtlr r0 +/* 80353504 00350464 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353508 00350468 4E 80 00 20 */ blr + +.global sub_8035350c +sub_8035350c: +/* 8035350C 0035046C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353510 00350470 7C 08 02 A6 */ mflr r0 +/* 80353514 00350474 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353518 00350478 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035351C 0035047C 93 C1 00 08 */ stw r30, 8(r1) +/* 80353520 00350480 80 6D AA 3C */ lwz r3, lbl_805A95FC@sda21(r13) +/* 80353524 00350484 34 03 FF FF */ addic. r0, r3, -1 +/* 80353528 00350488 90 0D AA 3C */ stw r0, lbl_805A95FC@sda21(r13) +/* 8035352C 0035048C 40 82 00 68 */ bne lbl_80353594 +/* 80353530 00350490 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80353534 00350494 3B C3 FF CC */ addi r30, r3, lbl_8053FFCC@l +/* 80353538 00350498 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 8035353C 0035049C 28 00 00 00 */ cmplwi r0, 0 +/* 80353540 003504A0 41 82 00 24 */ beq lbl_80353564 +/* 80353544 003504A4 28 1E 00 00 */ cmplwi r30, 0 +/* 80353548 003504A8 41 82 00 1C */ beq lbl_80353564 +/* 8035354C 003504AC 41 82 00 18 */ beq lbl_80353564 +/* 80353550 003504B0 88 1E 00 00 */ lbz r0, 0(r30) +/* 80353554 003504B4 28 00 00 00 */ cmplwi r0, 0 +/* 80353558 003504B8 41 82 00 0C */ beq lbl_80353564 +/* 8035355C 003504BC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80353560 003504C0 4B FC 23 D1 */ bl Free__7CMemoryFPCv +lbl_80353564: +/* 80353564 003504C4 3C 60 80 54 */ lis r3, lbl_8053FFF4@ha +/* 80353568 003504C8 38 00 00 00 */ li r0, 0 +/* 8035356C 003504CC 3B E3 FF F4 */ addi r31, r3, lbl_8053FFF4@l +/* 80353570 003504D0 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80353574 003504D4 83 DF 00 08 */ lwz r30, 8(r31) +/* 80353578 003504D8 80 9F 00 04 */ lwz r4, 4(r31) +/* 8035357C 003504DC 48 00 00 10 */ b lbl_8035358C +lbl_80353580: +/* 80353580 003504E0 7F E3 FB 78 */ mr r3, r31 +/* 80353584 003504E4 48 00 01 7D */ bl sub_80353700 +/* 80353588 003504E8 7C 64 1B 78 */ mr r4, r3 +lbl_8035358C: +/* 8035358C 003504EC 7C 04 F0 40 */ cmplw r4, r30 +/* 80353590 003504F0 40 82 FF F0 */ bne lbl_80353580 +lbl_80353594: +/* 80353594 003504F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353598 003504F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035359C 003504FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803535A0 00350500 7C 08 03 A6 */ mtlr r0 +/* 803535A4 00350504 38 21 00 10 */ addi r1, r1, 0x10 +/* 803535A8 00350508 4E 80 00 20 */ blr + +.global sub_803535ac +sub_803535ac: +/* 803535AC 0035050C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803535B0 00350510 7C 08 02 A6 */ mflr r0 +/* 803535B4 00350514 90 01 00 34 */ stw r0, 0x34(r1) +/* 803535B8 00350518 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803535BC 0035051C 88 0D AA 40 */ lbz r0, lbl_805A9600@sda21(r13) +/* 803535C0 00350520 28 00 00 00 */ cmplwi r0, 0 +/* 803535C4 00350524 40 82 00 2C */ bne lbl_803535F0 +/* 803535C8 00350528 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 803535CC 0035052C 38 63 FF FF */ addi r3, r3, 0x0000FFFF@l +/* 803535D0 00350530 48 02 4E 51 */ bl GXSetDrawSync +lbl_803535D4: +/* 803535D4 00350534 48 02 4F 05 */ bl GXReadDrawSync +/* 803535D8 00350538 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 803535DC 0035053C 28 00 FF FF */ cmplwi r0, 0xffff +/* 803535E0 00350540 40 82 FF F4 */ bne lbl_803535D4 +/* 803535E4 00350544 38 00 00 01 */ li r0, 1 +/* 803535E8 00350548 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) +/* 803535EC 0035054C 98 0D AA 40 */ stb r0, lbl_805A9600@sda21(r13) +lbl_803535F0: +/* 803535F0 00350550 80 0D AA 3C */ lwz r0, lbl_805A95FC@sda21(r13) +/* 803535F4 00350554 2C 00 00 00 */ cmpwi r0, 0 +/* 803535F8 00350558 40 82 00 E8 */ bne lbl_803536E0 +/* 803535FC 0035055C 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha +/* 80353600 00350560 38 61 00 08 */ addi r3, r1, 8 +/* 80353604 00350564 38 84 FF C0 */ addi r4, r4, lbl_804BFFC0@l +/* 80353608 00350568 3C A0 00 08 */ lis r5, 8 +/* 8035360C 0035056C 38 C0 00 01 */ li r6, 1 +/* 80353610 00350570 4B FC 21 CD */ bl __ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership +/* 80353614 00350574 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80353618 00350578 3B E3 FF CC */ addi r31, r3, lbl_8053FFCC@l +/* 8035361C 0035057C 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 80353620 00350580 28 00 00 00 */ cmplwi r0, 0 +/* 80353624 00350584 40 82 00 50 */ bne lbl_80353674 +/* 80353628 00350588 28 1F 00 00 */ cmplwi r31, 0 +/* 8035362C 0035058C 41 82 00 3C */ beq lbl_80353668 +/* 80353630 00350590 89 01 00 08 */ lbz r8, 8(r1) +/* 80353634 00350594 38 C0 00 00 */ li r6, 0 +/* 80353638 00350598 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 8035363C 0035059C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80353640 003505A0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80353644 003505A4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80353648 003505A8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8035364C 003505AC 99 1F 00 00 */ stb r8, 0(r31) +/* 80353650 003505B0 90 FF 00 04 */ stw r7, 4(r31) +/* 80353654 003505B4 98 C1 00 08 */ stb r6, 8(r1) +/* 80353658 003505B8 90 BF 00 08 */ stw r5, 8(r31) +/* 8035365C 003505BC 90 9F 00 0C */ stw r4, 0xc(r31) +/* 80353660 003505C0 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80353664 003505C4 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80353668: +/* 80353668 003505C8 38 00 00 01 */ li r0, 1 +/* 8035366C 003505CC 98 1F 00 18 */ stb r0, 0x18(r31) +/* 80353670 003505D0 48 00 00 5C */ b lbl_803536CC +lbl_80353674: +/* 80353674 003505D4 38 01 00 08 */ addi r0, r1, 8 +/* 80353678 003505D8 7C 00 F8 40 */ cmplw r0, r31 +/* 8035367C 003505DC 41 82 00 30 */ beq lbl_803536AC +/* 80353680 003505E0 88 1F 00 00 */ lbz r0, 0(r31) +/* 80353684 003505E4 28 00 00 00 */ cmplwi r0, 0 +/* 80353688 003505E8 41 82 00 0C */ beq lbl_80353694 +/* 8035368C 003505EC 80 7F 00 04 */ lwz r3, 4(r31) +/* 80353690 003505F0 4B FC 22 A1 */ bl Free__7CMemoryFPCv +lbl_80353694: +/* 80353694 003505F4 88 81 00 08 */ lbz r4, 8(r1) +/* 80353698 003505F8 38 00 00 00 */ li r0, 0 +/* 8035369C 003505FC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803536A0 00350600 98 9F 00 00 */ stb r4, 0(r31) +/* 803536A4 00350604 90 7F 00 04 */ stw r3, 4(r31) +/* 803536A8 00350608 98 01 00 08 */ stb r0, 8(r1) +lbl_803536AC: +/* 803536AC 0035060C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 803536B0 00350610 80 81 00 14 */ lwz r4, 0x14(r1) +/* 803536B4 00350614 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803536B8 00350618 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803536BC 0035061C 90 BF 00 08 */ stw r5, 8(r31) +/* 803536C0 00350620 90 9F 00 0C */ stw r4, 0xc(r31) +/* 803536C4 00350624 90 7F 00 10 */ stw r3, 0x10(r31) +/* 803536C8 00350628 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_803536CC: +/* 803536CC 0035062C 88 01 00 08 */ lbz r0, 8(r1) +/* 803536D0 00350630 28 00 00 00 */ cmplwi r0, 0 +/* 803536D4 00350634 41 82 00 0C */ beq lbl_803536E0 +/* 803536D8 00350638 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803536DC 0035063C 4B FC 22 55 */ bl Free__7CMemoryFPCv +lbl_803536E0: +/* 803536E0 00350640 80 6D AA 3C */ lwz r3, lbl_805A95FC@sda21(r13) +/* 803536E4 00350644 38 03 00 01 */ addi r0, r3, 1 +/* 803536E8 00350648 90 0D AA 3C */ stw r0, lbl_805A95FC@sda21(r13) +/* 803536EC 0035064C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803536F0 00350650 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803536F4 00350654 7C 08 03 A6 */ mtlr r0 +/* 803536F8 00350658 38 21 00 30 */ addi r1, r1, 0x30 +/* 803536FC 0035065C 4E 80 00 20 */ blr + +.global sub_80353700 +sub_80353700: +/* 80353700 00350660 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353704 00350664 7C 08 02 A6 */ mflr r0 +/* 80353708 00350668 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035370C 0035066C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353710 00350670 93 C1 00 08 */ stw r30, 8(r1) +/* 80353714 00350674 7C 7E 1B 78 */ mr r30, r3 +/* 80353718 00350678 80 03 00 04 */ lwz r0, 4(r3) +/* 8035371C 0035067C 83 E4 00 04 */ lwz r31, 4(r4) +/* 80353720 00350680 7C 04 00 40 */ cmplw r4, r0 +/* 80353724 00350684 40 82 00 08 */ bne lbl_8035372C +/* 80353728 00350688 93 FE 00 04 */ stw r31, 4(r30) +lbl_8035372C: +/* 8035372C 0035068C 80 04 00 04 */ lwz r0, 4(r4) +/* 80353730 00350690 28 04 00 00 */ cmplwi r4, 0 +/* 80353734 00350694 80 64 00 00 */ lwz r3, 0(r4) +/* 80353738 00350698 90 03 00 04 */ stw r0, 4(r3) +/* 8035373C 0035069C 80 04 00 00 */ lwz r0, 0(r4) +/* 80353740 003506A0 80 64 00 04 */ lwz r3, 4(r4) +/* 80353744 003506A4 90 03 00 00 */ stw r0, 0(r3) +/* 80353748 003506A8 41 82 00 0C */ beq lbl_80353754 +/* 8035374C 003506AC 7C 83 23 78 */ mr r3, r4 +/* 80353750 003506B0 4B FC 21 E1 */ bl Free__7CMemoryFPCv +lbl_80353754: +/* 80353754 003506B4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80353758 003506B8 7F E3 FB 78 */ mr r3, r31 +/* 8035375C 003506BC 38 04 FF FF */ addi r0, r4, -1 +/* 80353760 003506C0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80353764 003506C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353768 003506C8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035376C 003506CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353770 003506D0 7C 08 03 A6 */ mtlr r0 +/* 80353774 003506D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353778 003506D8 4E 80 00 20 */ blr + +.global __sinit_DolphinCSkinnedModel_cpp +__sinit_DolphinCSkinnedModel_cpp: +/* 8035377C 003506DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353780 003506E0 7C 08 02 A6 */ mflr r0 +/* 80353784 003506E4 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha +/* 80353788 003506E8 3C 60 80 35 */ lis r3, "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv"@ha +/* 8035378C 003506EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353790 003506F0 38 84 FF C0 */ addi r4, r4, lbl_804BFFC0@l +/* 80353794 003506F4 38 00 00 00 */ li r0, 0 +/* 80353798 003506F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035379C 003506FC 3F E4 00 08 */ addis r31, r4, 8 +/* 803537A0 00350700 38 83 38 74 */ addi r4, r3, "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv"@l +/* 803537A4 00350704 38 7F 00 0C */ addi r3, r31, 0xc +/* 803537A8 00350708 38 BF 00 00 */ addi r5, r31, 0 +/* 803537AC 0035070C 98 03 00 18 */ stb r0, 0x18(r3) +/* 803537B0 00350710 48 03 5E DD */ bl __register_global_object +/* 803537B4 00350714 38 DF 00 34 */ addi r6, r31, 0x34 +/* 803537B8 00350718 3C 80 80 35 */ lis r4, "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv"@ha +/* 803537BC 0035071C 7C C3 33 78 */ mr r3, r6 +/* 803537C0 00350720 38 00 00 00 */ li r0, 0 +/* 803537C4 00350724 38 C6 00 0C */ addi r6, r6, 0xc +/* 803537C8 00350728 90 03 00 14 */ stw r0, 0x14(r3) +/* 803537CC 0035072C 38 84 37 FC */ addi r4, r4, "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv"@l +/* 803537D0 00350730 38 BF 00 28 */ addi r5, r31, 0x28 +/* 803537D4 00350734 90 C3 00 04 */ stw r6, 4(r3) +/* 803537D8 00350738 90 C3 00 08 */ stw r6, 8(r3) +/* 803537DC 0035073C 90 C6 00 00 */ stw r6, 0(r6) +/* 803537E0 00350740 90 C3 00 10 */ stw r6, 0x10(r3) +/* 803537E4 00350744 48 03 5E A9 */ bl __register_global_object +/* 803537E8 00350748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803537EC 0035074C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803537F0 00350750 7C 08 03 A6 */ mtlr r0 +/* 803537F4 00350754 38 21 00 10 */ addi r1, r1, 0x10 +/* 803537F8 00350758 4E 80 00 20 */ blr + +.global "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv": +/* 803537FC 0035075C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353800 00350760 7C 08 02 A6 */ mflr r0 +/* 80353804 00350764 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353808 00350768 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035380C 0035076C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353810 00350770 7C 9E 23 78 */ mr r30, r4 +/* 80353814 00350774 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80353818 00350778 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8035381C 0035077C 41 82 00 38 */ beq lbl_80353854 +/* 80353820 00350780 83 FD 00 04 */ lwz r31, 4(r29) +/* 80353824 00350784 48 00 00 14 */ b lbl_80353838 +lbl_80353828: +/* 80353828 00350788 7F E3 FB 79 */ or. r3, r31, r31 +/* 8035382C 0035078C 83 FF 00 04 */ lwz r31, 4(r31) +/* 80353830 00350790 41 82 00 08 */ beq lbl_80353838 +/* 80353834 00350794 4B FC 20 FD */ bl Free__7CMemoryFPCv +lbl_80353838: +/* 80353838 00350798 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035383C 0035079C 7C 1F 00 40 */ cmplw r31, r0 +/* 80353840 003507A0 40 82 FF E8 */ bne lbl_80353828 +/* 80353844 003507A4 7F C0 07 35 */ extsh. r0, r30 +/* 80353848 003507A8 40 81 00 0C */ ble lbl_80353854 +/* 8035384C 003507AC 7F A3 EB 78 */ mr r3, r29 +/* 80353850 003507B0 4B FC 20 E1 */ bl Free__7CMemoryFPCv +lbl_80353854: +/* 80353854 003507B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353858 003507B8 7F A3 EB 78 */ mr r3, r29 +/* 8035385C 003507BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353860 003507C0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353864 003507C4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80353868 003507C8 7C 08 03 A6 */ mtlr r0 +/* 8035386C 003507CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353870 003507D0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv" +"__dt__Q24rstl34optional_object<15CCircularBuffer>Fv": +/* 80353874 003507D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353878 003507D8 7C 08 02 A6 */ mflr r0 +/* 8035387C 003507DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353880 003507E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353884 003507E4 7C 9F 23 78 */ mr r31, r4 +/* 80353888 003507E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035388C 003507EC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80353890 003507F0 41 82 00 48 */ beq lbl_803538D8 +/* 80353894 003507F4 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80353898 003507F8 28 00 00 00 */ cmplwi r0, 0 +/* 8035389C 003507FC 41 82 00 24 */ beq lbl_803538C0 +/* 803538A0 00350800 28 1E 00 00 */ cmplwi r30, 0 +/* 803538A4 00350804 41 82 00 1C */ beq lbl_803538C0 +/* 803538A8 00350808 41 82 00 18 */ beq lbl_803538C0 +/* 803538AC 0035080C 88 1E 00 00 */ lbz r0, 0(r30) +/* 803538B0 00350810 28 00 00 00 */ cmplwi r0, 0 +/* 803538B4 00350814 41 82 00 0C */ beq lbl_803538C0 +/* 803538B8 00350818 80 7E 00 04 */ lwz r3, 4(r30) +/* 803538BC 0035081C 4B FC 20 75 */ bl Free__7CMemoryFPCv +lbl_803538C0: +/* 803538C0 00350820 38 60 00 00 */ li r3, 0 +/* 803538C4 00350824 7F E0 07 35 */ extsh. r0, r31 +/* 803538C8 00350828 98 7E 00 18 */ stb r3, 0x18(r30) +/* 803538CC 0035082C 40 81 00 0C */ ble lbl_803538D8 +/* 803538D0 00350830 7F C3 F3 78 */ mr r3, r30 +/* 803538D4 00350834 4B FC 20 5D */ bl Free__7CMemoryFPCv +lbl_803538D8: +/* 803538D8 00350838 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803538DC 0035083C 7F C3 F3 78 */ mr r3, r30 +/* 803538E0 00350840 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803538E4 00350844 83 C1 00 08 */ lwz r30, 8(r1) +/* 803538E8 00350848 7C 08 03 A6 */ mtlr r0 +/* 803538EC 0035084C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803538F0 00350850 4E 80 00 20 */ blr + +.global ProcessingNormals__10CSkinRulesFiPPUs +ProcessingNormals__10CSkinRulesFiPPUs: +/* 803538F4 00350854 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803538F8 00350858 7C 08 02 A6 */ mflr r0 +/* 803538FC 0035085C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353900 00350860 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353904 00350864 7C 9F 23 78 */ mr r31, r4 +/* 80353908 00350868 80 AD AA 68 */ lwz r5, lbl_805A9628@sda21(r13) +/* 8035390C 0035086C 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) +/* 80353910 00350870 7C 05 1A 14 */ add r0, r5, r3 +/* 80353914 00350874 90 61 00 08 */ stw r3, 8(r1) +/* 80353918 00350878 7C 00 20 00 */ cmpw r0, r4 +/* 8035391C 0035087C 40 81 00 98 */ ble lbl_803539B4 +/* 80353920 00350880 7C 05 20 00 */ cmpw r5, r4 +/* 80353924 00350884 40 82 00 40 */ bne lbl_80353964 +/* 80353928 00350888 48 00 01 C5 */ bl WaitForQueue__Fv +/* 8035392C 0035088C 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353930 00350890 3C 60 E0 00 */ lis r3, 0xe000 +/* 80353934 00350894 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) +/* 80353938 00350898 28 00 00 00 */ cmplwi r0, 0 +/* 8035393C 0035089C 90 6D AA 6C */ stw r3, lbl_805A962C@sda21(r13) +/* 80353940 003508A0 90 8D AA 70 */ stw r4, lbl_805A9630@sda21(r13) +/* 80353944 003508A4 41 82 00 0C */ beq lbl_80353950 +/* 80353948 003508A8 38 03 10 00 */ addi r0, r3, 0x1000 +/* 8035394C 003508AC 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) +lbl_80353950: +/* 80353950 003508B0 80 6D AA 60 */ lwz r3, lbl_805A9620@sda21(r13) +/* 80353954 003508B4 80 0D AA 58 */ lwz r0, lbl_805A9618@sda21(r13) +/* 80353958 003508B8 7C 03 02 14 */ add r0, r3, r0 +/* 8035395C 003508BC 90 0D AA 60 */ stw r0, lbl_805A9620@sda21(r13) +/* 80353960 003508C0 48 00 01 BD */ bl StartNextTransaction__10CSkinRulesFv +lbl_80353964: +/* 80353964 003508C4 80 AD AA 68 */ lwz r5, lbl_805A9628@sda21(r13) +/* 80353968 003508C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8035396C 003508CC 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) +/* 80353970 003508D0 80 01 00 08 */ lwz r0, 8(r1) +/* 80353974 003508D4 7C 85 20 50 */ subf r4, r5, r4 +/* 80353978 003508D8 7C 00 20 00 */ cmpw r0, r4 +/* 8035397C 003508DC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353980 003508E0 40 80 00 08 */ bge lbl_80353988 +/* 80353984 003508E4 38 61 00 08 */ addi r3, r1, 8 +lbl_80353988: +/* 80353988 003508E8 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 8035398C 003508EC 80 8D AA 6C */ lwz r4, lbl_805A962C@sda21(r13) +/* 80353990 003508F0 7C 00 28 50 */ subf r0, r0, r5 +/* 80353994 003508F4 80 63 00 00 */ lwz r3, 0(r3) +/* 80353998 003508F8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035399C 003508FC 7C 04 02 14 */ add r0, r4, r0 +/* 803539A0 00350900 90 1F 00 00 */ stw r0, 0(r31) +/* 803539A4 00350904 80 0D AA 68 */ lwz r0, lbl_805A9628@sda21(r13) +/* 803539A8 00350908 7C 00 1A 14 */ add r0, r0, r3 +/* 803539AC 0035090C 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) +/* 803539B0 00350910 48 00 00 2C */ b lbl_803539DC +lbl_803539B4: +/* 803539B4 00350914 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 803539B8 00350918 80 6D AA 6C */ lwz r3, lbl_805A962C@sda21(r13) +/* 803539BC 0035091C 7C 00 28 50 */ subf r0, r0, r5 +/* 803539C0 00350920 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803539C4 00350924 7C 03 02 14 */ add r0, r3, r0 +/* 803539C8 00350928 90 1F 00 00 */ stw r0, 0(r31) +/* 803539CC 0035092C 80 61 00 08 */ lwz r3, 8(r1) +/* 803539D0 00350930 80 0D AA 68 */ lwz r0, lbl_805A9628@sda21(r13) +/* 803539D4 00350934 7C 00 1A 14 */ add r0, r0, r3 +/* 803539D8 00350938 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) +lbl_803539DC: +/* 803539DC 0035093C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803539E0 00350940 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803539E4 00350944 7C 08 03 A6 */ mtlr r0 +/* 803539E8 00350948 38 21 00 20 */ addi r1, r1, 0x20 +/* 803539EC 0035094C 4E 80 00 20 */ blr + +.global ProcessingPoints__10CSkinRulesFiPPUs +ProcessingPoints__10CSkinRulesFiPPUs: +/* 803539F0 00350950 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803539F4 00350954 7C 08 02 A6 */ mflr r0 +/* 803539F8 00350958 90 01 00 24 */ stw r0, 0x24(r1) +/* 803539FC 0035095C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353A00 00350960 7C 9F 23 78 */ mr r31, r4 +/* 80353A04 00350964 80 AD AA 64 */ lwz r5, lbl_805A9624@sda21(r13) +/* 80353A08 00350968 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) +/* 80353A0C 0035096C 7C 05 1A 14 */ add r0, r5, r3 +/* 80353A10 00350970 90 61 00 08 */ stw r3, 8(r1) +/* 80353A14 00350974 7C 00 20 00 */ cmpw r0, r4 +/* 80353A18 00350978 40 81 00 98 */ ble lbl_80353AB0 +/* 80353A1C 0035097C 7C 05 20 00 */ cmpw r5, r4 +/* 80353A20 00350980 40 82 00 40 */ bne lbl_80353A60 +/* 80353A24 00350984 48 00 00 C9 */ bl WaitForQueue__Fv +/* 80353A28 00350988 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353A2C 0035098C 3C 60 E0 00 */ lis r3, 0xe000 +/* 80353A30 00350990 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) +/* 80353A34 00350994 28 00 00 00 */ cmplwi r0, 0 +/* 80353A38 00350998 90 6D AA 6C */ stw r3, lbl_805A962C@sda21(r13) +/* 80353A3C 0035099C 90 8D AA 70 */ stw r4, lbl_805A9630@sda21(r13) +/* 80353A40 003509A0 41 82 00 0C */ beq lbl_80353A4C +/* 80353A44 003509A4 38 03 10 00 */ addi r0, r3, 0x1000 +/* 80353A48 003509A8 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) +lbl_80353A4C: +/* 80353A4C 003509AC 80 6D AA 5C */ lwz r3, lbl_805A961C@sda21(r13) +/* 80353A50 003509B0 80 0D AA 58 */ lwz r0, lbl_805A9618@sda21(r13) +/* 80353A54 003509B4 7C 03 02 14 */ add r0, r3, r0 +/* 80353A58 003509B8 90 0D AA 5C */ stw r0, lbl_805A961C@sda21(r13) +/* 80353A5C 003509BC 48 00 00 C1 */ bl StartNextTransaction__10CSkinRulesFv +lbl_80353A60: +/* 80353A60 003509C0 80 AD AA 64 */ lwz r5, lbl_805A9624@sda21(r13) +/* 80353A64 003509C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80353A68 003509C8 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) +/* 80353A6C 003509CC 80 01 00 08 */ lwz r0, 8(r1) +/* 80353A70 003509D0 7C 85 20 50 */ subf r4, r5, r4 +/* 80353A74 003509D4 7C 00 20 00 */ cmpw r0, r4 +/* 80353A78 003509D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353A7C 003509DC 40 80 00 08 */ bge lbl_80353A84 +/* 80353A80 003509E0 38 61 00 08 */ addi r3, r1, 8 +lbl_80353A84: +/* 80353A84 003509E4 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 80353A88 003509E8 80 8D AA 6C */ lwz r4, lbl_805A962C@sda21(r13) +/* 80353A8C 003509EC 7C 00 28 50 */ subf r0, r0, r5 +/* 80353A90 003509F0 80 63 00 00 */ lwz r3, 0(r3) +/* 80353A94 003509F4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80353A98 003509F8 7C 04 02 14 */ add r0, r4, r0 +/* 80353A9C 003509FC 90 1F 00 00 */ stw r0, 0(r31) +/* 80353AA0 00350A00 80 0D AA 64 */ lwz r0, lbl_805A9624@sda21(r13) +/* 80353AA4 00350A04 7C 00 1A 14 */ add r0, r0, r3 +/* 80353AA8 00350A08 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) +/* 80353AAC 00350A0C 48 00 00 2C */ b lbl_80353AD8 +lbl_80353AB0: +/* 80353AB0 00350A10 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 80353AB4 00350A14 80 6D AA 6C */ lwz r3, lbl_805A962C@sda21(r13) +/* 80353AB8 00350A18 7C 00 28 50 */ subf r0, r0, r5 +/* 80353ABC 00350A1C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80353AC0 00350A20 7C 03 02 14 */ add r0, r3, r0 +/* 80353AC4 00350A24 90 1F 00 00 */ stw r0, 0(r31) +/* 80353AC8 00350A28 80 61 00 08 */ lwz r3, 8(r1) +/* 80353ACC 00350A2C 80 0D AA 64 */ lwz r0, lbl_805A9624@sda21(r13) +/* 80353AD0 00350A30 7C 00 1A 14 */ add r0, r0, r3 +/* 80353AD4 00350A34 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) +lbl_80353AD8: +/* 80353AD8 00350A38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353ADC 00350A3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353AE0 00350A40 7C 08 03 A6 */ mtlr r0 +/* 80353AE4 00350A44 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353AE8 00350A48 4E 80 00 20 */ blr + +.global WaitForQueue__Fv +WaitForQueue__Fv: +/* 80353AEC 00350A4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353AF0 00350A50 7C 08 02 A6 */ mflr r0 +/* 80353AF4 00350A54 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353AF8 00350A58 48 02 B3 C1 */ bl LCQueueLength +/* 80353AFC 00350A5C 28 03 00 00 */ cmplwi r3, 0 +/* 80353B00 00350A60 41 82 00 0C */ beq lbl_80353B0C +/* 80353B04 00350A64 38 60 00 00 */ li r3, 0 +/* 80353B08 00350A68 48 02 B3 BD */ bl LCQueueWait +lbl_80353B0C: +/* 80353B0C 00350A6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353B10 00350A70 7C 08 03 A6 */ mtlr r0 +/* 80353B14 00350A74 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353B18 00350A78 4E 80 00 20 */ blr + +.global StartNextTransaction__10CSkinRulesFv +StartNextTransaction__10CSkinRulesFv: +/* 80353B1C 00350A7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353B20 00350A80 7C 08 02 A6 */ mflr r0 +/* 80353B24 00350A84 3C 60 E0 00 */ lis r3, 0xe000 +/* 80353B28 00350A88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353B2C 00350A8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353B30 00350A90 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353B34 00350A94 28 00 00 00 */ cmplwi r0, 0 +/* 80353B38 00350A98 40 82 00 08 */ bne lbl_80353B40 +/* 80353B3C 00350A9C 38 63 10 00 */ addi r3, r3, 0x1000 +lbl_80353B40: +/* 80353B40 00350AA0 80 AD AA 50 */ lwz r5, lbl_805A9610@sda21(r13) +/* 80353B44 00350AA4 80 CD AA 5C */ lwz r6, lbl_805A961C@sda21(r13) +/* 80353B48 00350AA8 80 85 00 10 */ lwz r4, 0x10(r5) +/* 80353B4C 00350AAC 7C 06 20 00 */ cmpw r6, r4 +/* 80353B50 00350AB0 41 82 00 3C */ beq lbl_80353B8C +/* 80353B54 00350AB4 80 0D 9E 08 */ lwz r0, lbl_805A89C8@sda21(r13) +/* 80353B58 00350AB8 7C 86 20 50 */ subf r4, r6, r4 +/* 80353B5C 00350ABC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353B60 00350AC0 38 AD 9E 08 */ addi r5, r13, lbl_805A89C8@sda21 +/* 80353B64 00350AC4 7C 04 00 00 */ cmpw r4, r0 +/* 80353B68 00350AC8 40 80 00 08 */ bge lbl_80353B70 +/* 80353B6C 00350ACC 38 A1 00 0C */ addi r5, r1, 0xc +lbl_80353B70: +/* 80353B70 00350AD0 80 8D AA 54 */ lwz r4, lbl_805A9614@sda21(r13) +/* 80353B74 00350AD4 1C 06 00 0C */ mulli r0, r6, 0xc +/* 80353B78 00350AD8 83 E5 00 00 */ lwz r31, 0(r5) +/* 80353B7C 00350ADC 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80353B80 00350AE0 80 84 00 08 */ lwz r4, 8(r4) +/* 80353B84 00350AE4 7C 84 02 14 */ add r4, r4, r0 +/* 80353B88 00350AE8 48 00 00 48 */ b lbl_80353BD0 +lbl_80353B8C: +/* 80353B8C 00350AEC 80 85 00 14 */ lwz r4, 0x14(r5) +/* 80353B90 00350AF0 80 CD AA 60 */ lwz r6, lbl_805A9620@sda21(r13) +/* 80353B94 00350AF4 7C 04 30 00 */ cmpw r4, r6 +/* 80353B98 00350AF8 41 82 00 68 */ beq lbl_80353C00 +/* 80353B9C 00350AFC 80 0D 9E 0C */ lwz r0, lbl_805A89CC@sda21(r13) +/* 80353BA0 00350B00 7C 86 20 50 */ subf r4, r6, r4 +/* 80353BA4 00350B04 90 81 00 08 */ stw r4, 8(r1) +/* 80353BA8 00350B08 38 AD 9E 0C */ addi r5, r13, lbl_805A89CC@sda21 +/* 80353BAC 00350B0C 7C 04 00 00 */ cmpw r4, r0 +/* 80353BB0 00350B10 40 80 00 08 */ bge lbl_80353BB8 +/* 80353BB4 00350B14 38 A1 00 08 */ addi r5, r1, 8 +lbl_80353BB8: +/* 80353BB8 00350B18 80 8D AA 54 */ lwz r4, lbl_805A9614@sda21(r13) +/* 80353BBC 00350B1C 1C 06 00 0C */ mulli r0, r6, 0xc +/* 80353BC0 00350B20 83 E5 00 00 */ lwz r31, 0(r5) +/* 80353BC4 00350B24 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80353BC8 00350B28 80 84 00 0C */ lwz r4, 0xc(r4) +/* 80353BCC 00350B2C 7C 84 02 14 */ add r4, r4, r0 +lbl_80353BD0: +/* 80353BD0 00350B30 1C BF 00 0C */ mulli r5, r31, 0xc +/* 80353BD4 00350B34 38 05 00 1F */ addi r0, r5, 0x1f +/* 80353BD8 00350B38 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 80353BDC 00350B3C 48 02 B1 85 */ bl sub_8037ed60 +/* 80353BE0 00350B40 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353BE4 00350B44 80 6D AA 74 */ lwz r3, lbl_805A9634@sda21(r13) +/* 80353BE8 00350B48 7C 00 00 34 */ cntlzw r0, r0 +/* 80353BEC 00350B4C 93 ED AA 58 */ stw r31, lbl_805A9618@sda21(r13) +/* 80353BF0 00350B50 38 63 00 01 */ addi r3, r3, 1 +/* 80353BF4 00350B54 54 00 D9 7E */ srwi r0, r0, 5 +/* 80353BF8 00350B58 90 6D AA 74 */ stw r3, lbl_805A9634@sda21(r13) +/* 80353BFC 00350B5C 98 0D 9E 04 */ stb r0, lbl_805A89C4@sda21(r13) +lbl_80353C00: +/* 80353C00 00350B60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353C04 00350B64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353C08 00350B68 7C 08 03 A6 */ mtlr r0 +/* 80353C0C 00350B6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353C10 00350B70 4E 80 00 20 */ blr + +.global InitLockedCacheState__10CSkinRulesFRC10CSkinRules +InitLockedCacheState__10CSkinRulesFRC10CSkinRules: +/* 80353C14 00350B74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353C18 00350B78 7C 08 02 A6 */ mflr r0 +/* 80353C1C 00350B7C 38 A0 00 01 */ li r5, 1 +/* 80353C20 00350B80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353C24 00350B84 38 00 00 00 */ li r0, 0 +/* 80353C28 00350B88 90 6D AA 50 */ stw r3, lbl_805A9610@sda21(r13) +/* 80353C2C 00350B8C 90 8D AA 54 */ stw r4, lbl_805A9614@sda21(r13) +/* 80353C30 00350B90 98 AD 9E 04 */ stb r5, lbl_805A89C4@sda21(r13) +/* 80353C34 00350B94 90 0D AA 5C */ stw r0, lbl_805A961C@sda21(r13) +/* 80353C38 00350B98 90 0D AA 60 */ stw r0, lbl_805A9620@sda21(r13) +/* 80353C3C 00350B9C 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) +/* 80353C40 00350BA0 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) +/* 80353C44 00350BA4 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) +/* 80353C48 00350BA8 90 0D AA 70 */ stw r0, lbl_805A9630@sda21(r13) +/* 80353C4C 00350BAC 90 0D AA 74 */ stw r0, lbl_805A9634@sda21(r13) +/* 80353C50 00350BB0 4B FF FE CD */ bl StartNextTransaction__10CSkinRulesFv +/* 80353C54 00350BB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353C58 00350BB8 7C 08 03 A6 */ mtlr r0 +/* 80353C5C 00350BBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353C60 00350BC0 4E 80 00 20 */ blr + +.global FSkinRulesFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FSkinRulesFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80353C64 00350BC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353C68 00350BC8 7C 08 02 A6 */ mflr r0 +/* 80353C6C 00350BCC 3C 80 80 3E */ lis r4, lbl_803D8300@ha +/* 80353C70 00350BD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353C74 00350BD4 38 84 83 00 */ addi r4, r4, lbl_803D8300@l +/* 80353C78 00350BD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353C7C 00350BDC 7C BF 2B 78 */ mr r31, r5 +/* 80353C80 00350BE0 38 A0 00 00 */ li r5, 0 +/* 80353C84 00350BE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353C88 00350BE8 7C 7E 1B 78 */ mr r30, r3 +/* 80353C8C 00350BEC 38 60 00 18 */ li r3, 0x18 +/* 80353C90 00350BF0 4B FC 1B DD */ bl __nw__FUlPCcPCc +/* 80353C94 00350BF4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80353C98 00350BF8 41 82 00 10 */ beq lbl_80353CA8 +/* 80353C9C 00350BFC 7F E4 FB 78 */ mr r4, r31 +/* 80353CA0 00350C00 48 00 06 31 */ bl __ct__10CSkinRulesFR12CInputStream +/* 80353CA4 00350C04 7C 64 1B 78 */ mr r4, r3 +lbl_80353CA8: +/* 80353CA8 00350C08 7C 04 00 D0 */ neg r0, r4 +/* 80353CAC 00350C0C 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353CB0 00350C10 7C 00 23 78 */ or r0, r0, r4 +/* 80353CB4 00350C14 38 61 00 10 */ addi r3, r1, 0x10 +/* 80353CB8 00350C18 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80353CBC 00350C1C 38 81 00 08 */ addi r4, r1, 8 +/* 80353CC0 00350C20 98 01 00 08 */ stb r0, 8(r1) +/* 80353CC4 00350C24 48 00 01 11 */ bl "GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +/* 80353CC8 00350C28 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80353CCC 00350C2C 38 00 00 00 */ li r0, 0 +/* 80353CD0 00350C30 98 01 00 10 */ stb r0, 0x10(r1) +/* 80353CD4 00350C34 7C 03 00 D0 */ neg r0, r3 +/* 80353CD8 00350C38 7C 00 1B 78 */ or r0, r0, r3 +/* 80353CDC 00350C3C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80353CE0 00350C40 98 1E 00 00 */ stb r0, 0(r30) +/* 80353CE4 00350C44 90 7E 00 04 */ stw r3, 4(r30) +/* 80353CE8 00350C48 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80353CEC 00350C4C 28 00 00 00 */ cmplwi r0, 0 +/* 80353CF0 00350C50 41 82 00 24 */ beq lbl_80353D14 +/* 80353CF4 00350C54 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80353CF8 00350C58 28 03 00 00 */ cmplwi r3, 0 +/* 80353CFC 00350C5C 41 82 00 18 */ beq lbl_80353D14 +/* 80353D00 00350C60 81 83 00 00 */ lwz r12, 0(r3) +/* 80353D04 00350C64 38 80 00 01 */ li r4, 1 +/* 80353D08 00350C68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80353D0C 00350C6C 7D 89 03 A6 */ mtctr r12 +/* 80353D10 00350C70 4E 80 04 21 */ bctrl +lbl_80353D14: +/* 80353D14 00350C74 88 01 00 08 */ lbz r0, 8(r1) +/* 80353D18 00350C78 28 00 00 00 */ cmplwi r0, 0 +/* 80353D1C 00350C7C 41 82 00 10 */ beq lbl_80353D2C +/* 80353D20 00350C80 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80353D24 00350C84 38 80 00 01 */ li r4, 1 +/* 80353D28 00350C88 48 00 04 4D */ bl __dt__10CSkinRulesFv +lbl_80353D2C: +/* 80353D2C 00350C8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353D30 00350C90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353D34 00350C94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353D38 00350C98 7C 08 03 A6 */ mtlr r0 +/* 80353D3C 00350C9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353D40 00350CA0 4E 80 00 20 */ blr + +.global "__dt__20TToken<10CSkinRules>Fv" +"__dt__20TToken<10CSkinRules>Fv": +/* 80353D44 00350CA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353D48 00350CA8 7C 08 02 A6 */ mflr r0 +/* 80353D4C 00350CAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353D50 00350CB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353D54 00350CB4 7C 9F 23 78 */ mr r31, r4 +/* 80353D58 00350CB8 93 C1 00 08 */ stw r30, 8(r1) +/* 80353D5C 00350CBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80353D60 00350CC0 41 82 00 58 */ beq lbl_80353DB8 +/* 80353D64 00350CC4 3C 60 80 3F */ lis r3, lbl_803EF728@ha +/* 80353D68 00350CC8 38 03 F7 28 */ addi r0, r3, lbl_803EF728@l +/* 80353D6C 00350CCC 90 1E 00 00 */ stw r0, 0(r30) +/* 80353D70 00350CD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80353D74 00350CD4 28 03 00 00 */ cmplwi r3, 0 +/* 80353D78 00350CD8 41 82 00 0C */ beq lbl_80353D84 +/* 80353D7C 00350CDC 38 80 00 01 */ li r4, 1 +/* 80353D80 00350CE0 48 00 03 F5 */ bl __dt__10CSkinRulesFv +lbl_80353D84: +/* 80353D84 00350CE4 28 1E 00 00 */ cmplwi r30, 0 +/* 80353D88 00350CE8 41 82 00 20 */ beq lbl_80353DA8 +/* 80353D8C 00350CEC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80353D90 00350CF0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80353D94 00350CF4 90 1E 00 00 */ stw r0, 0(r30) +/* 80353D98 00350CF8 41 82 00 10 */ beq lbl_80353DA8 +/* 80353D9C 00350CFC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80353DA0 00350D00 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80353DA4 00350D04 90 1E 00 00 */ stw r0, 0(r30) +lbl_80353DA8: +/* 80353DA8 00350D08 7F E0 07 35 */ extsh. r0, r31 +/* 80353DAC 00350D0C 40 81 00 0C */ ble lbl_80353DB8 +/* 80353DB0 00350D10 7F C3 F3 78 */ mr r3, r30 +/* 80353DB4 00350D14 4B FC 1B 7D */ bl Free__7CMemoryFPCv +lbl_80353DB8: +/* 80353DB8 00350D18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353DBC 00350D1C 7F C3 F3 78 */ mr r3, r30 +/* 80353DC0 00350D20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353DC4 00350D24 83 C1 00 08 */ lwz r30, 8(r1) +/* 80353DC8 00350D28 7C 08 03 A6 */ mtlr r0 +/* 80353DCC 00350D2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353DD0 00350D30 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +"GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>": +/* 80353DD4 00350D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353DD8 00350D38 7C 08 02 A6 */ mflr r0 +/* 80353DDC 00350D3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353DE0 00350D40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353DE4 00350D44 7C 7F 1B 78 */ mr r31, r3 +/* 80353DE8 00350D48 48 00 00 19 */ bl "GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +/* 80353DEC 00350D4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353DF0 00350D50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353DF4 00350D54 7C 08 03 A6 */ mtlr r0 +/* 80353DF8 00350D58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353DFC 00350D5C 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +"GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>": +/* 80353E00 00350D60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353E04 00350D64 7C 08 02 A6 */ mflr r0 +/* 80353E08 00350D68 3C A0 80 3E */ lis r5, lbl_803D8300@ha +/* 80353E0C 00350D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353E10 00350D70 38 05 83 00 */ addi r0, r5, lbl_803D8300@l +/* 80353E14 00350D74 38 A0 00 00 */ li r5, 0 +/* 80353E18 00350D78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353E1C 00350D7C 7C 9F 23 78 */ mr r31, r4 +/* 80353E20 00350D80 7C 04 03 78 */ mr r4, r0 +/* 80353E24 00350D84 93 C1 00 08 */ stw r30, 8(r1) +/* 80353E28 00350D88 7C 7E 1B 78 */ mr r30, r3 +/* 80353E2C 00350D8C 38 60 00 08 */ li r3, 8 +/* 80353E30 00350D90 4B FC 1A 3D */ bl __nw__FUlPCcPCc +/* 80353E34 00350D94 28 03 00 00 */ cmplwi r3, 0 +/* 80353E38 00350D98 41 82 00 38 */ beq lbl_80353E70 +/* 80353E3C 00350D9C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80353E40 00350DA0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80353E44 00350DA4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80353E48 00350DA8 3C 80 80 3F */ lis r4, lbl_803EF728@ha +/* 80353E4C 00350DAC 90 03 00 00 */ stw r0, 0(r3) +/* 80353E50 00350DB0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80353E54 00350DB4 38 A0 00 00 */ li r5, 0 +/* 80353E58 00350DB8 38 04 F7 28 */ addi r0, r4, lbl_803EF728@l +/* 80353E5C 00350DBC 90 C3 00 00 */ stw r6, 0(r3) +/* 80353E60 00350DC0 98 BF 00 00 */ stb r5, 0(r31) +/* 80353E64 00350DC4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80353E68 00350DC8 90 83 00 04 */ stw r4, 4(r3) +/* 80353E6C 00350DCC 90 03 00 00 */ stw r0, 0(r3) +lbl_80353E70: +/* 80353E70 00350DD0 7C 03 00 D0 */ neg r0, r3 +/* 80353E74 00350DD4 7C 00 1B 78 */ or r0, r0, r3 +/* 80353E78 00350DD8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80353E7C 00350DDC 98 1E 00 00 */ stb r0, 0(r30) +/* 80353E80 00350DE0 90 7E 00 04 */ stw r3, 4(r30) +/* 80353E84 00350DE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353E88 00350DE8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80353E8C 00350DEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353E90 00350DF0 7C 08 03 A6 */ mtlr r0 +/* 80353E94 00350DF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353E98 00350DF8 4E 80 00 20 */ blr + +.global BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f +BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f: +/* 80353E9C 00350DFC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80353EA0 00350E00 7C 08 02 A6 */ mflr r0 +/* 80353EA4 00350E04 90 01 00 34 */ stw r0, 0x34(r1) +/* 80353EA8 00350E08 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80353EAC 00350E0C 7C 79 1B 78 */ mr r25, r3 +/* 80353EB0 00350E10 7C 9A 23 78 */ mr r26, r4 +/* 80353EB4 00350E14 7C BB 2B 78 */ mr r27, r5 +/* 80353EB8 00350E18 3B A0 00 00 */ li r29, 0 +/* 80353EBC 00350E1C 3B 80 00 00 */ li r28, 0 +/* 80353EC0 00350E20 3B C0 00 00 */ li r30, 0 +/* 80353EC4 00350E24 48 00 00 30 */ b lbl_80353EF4 +lbl_80353EC8: +/* 80353EC8 00350E28 80 19 00 0C */ lwz r0, 0xc(r25) +/* 80353ECC 00350E2C 1C BD 00 0C */ mulli r5, r29, 0xc +/* 80353ED0 00350E30 7C 60 F2 14 */ add r3, r0, r30 +/* 80353ED4 00350E34 83 E3 00 1C */ lwz r31, 0x1c(r3) +/* 80353ED8 00350E38 7C 9A 2A 14 */ add r4, r26, r5 +/* 80353EDC 00350E3C 7C BB 2A 14 */ add r5, r27, r5 +/* 80353EE0 00350E40 7F E6 FB 78 */ mr r6, r31 +/* 80353EE4 00350E44 48 00 0A 0D */ bl sub_803548f0 +/* 80353EE8 00350E48 7F BD FA 14 */ add r29, r29, r31 +/* 80353EEC 00350E4C 3B DE 00 74 */ addi r30, r30, 0x74 +/* 80353EF0 00350E50 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80353EF4: +/* 80353EF4 00350E54 80 19 00 04 */ lwz r0, 4(r25) +/* 80353EF8 00350E58 7C 1C 00 00 */ cmpw r28, r0 +/* 80353EFC 00350E5C 41 80 FF CC */ blt lbl_80353EC8 +/* 80353F00 00350E60 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80353F04 00350E64 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80353F08 00350E68 7C 08 03 A6 */ mtlr r0 +/* 80353F0C 00350E6C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80353F10 00350E70 4E 80 00 20 */ blr + +.global BuildNormals__10CSkinRulesCFPVv +BuildNormals__10CSkinRulesCFPVv: +/* 80353F14 00350E74 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80353F18 00350E78 7C 08 02 A6 */ mflr r0 +/* 80353F1C 00350E7C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80353F20 00350E80 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80353F24 00350E84 7C 79 1B 78 */ mr r25, r3 +/* 80353F28 00350E88 7C 9A 23 78 */ mr r26, r4 +/* 80353F2C 00350E8C 3B A0 00 00 */ li r29, 0 +/* 80353F30 00350E90 3B C0 00 00 */ li r30, 0 +/* 80353F34 00350E94 48 00 00 5C */ b lbl_80353F90 +lbl_80353F38: +/* 80353F38 00350E98 80 99 00 0C */ lwz r4, 0xc(r25) +/* 80353F3C 00350E9C 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80353F40 00350EA0 38 00 00 00 */ li r0, 0 +/* 80353F44 00350EA4 3B 80 00 00 */ li r28, 0 +/* 80353F48 00350EA8 7F E4 18 2E */ lwzx r31, r4, r3 +/* 80353F4C 00350EAC 90 01 00 08 */ stw r0, 8(r1) +/* 80353F50 00350EB0 48 00 00 30 */ b lbl_80353F80 +lbl_80353F54: +/* 80353F54 00350EB4 7C 7C F8 50 */ subf r3, r28, r31 +/* 80353F58 00350EB8 38 81 00 08 */ addi r4, r1, 8 +/* 80353F5C 00350EBC 4B FF F9 99 */ bl ProcessingNormals__10CSkinRulesFiPPUs +/* 80353F60 00350EC0 80 19 00 0C */ lwz r0, 0xc(r25) +/* 80353F64 00350EC4 7C 7B 1B 78 */ mr r27, r3 +/* 80353F68 00350EC8 80 81 00 08 */ lwz r4, 8(r1) +/* 80353F6C 00350ECC 7F 45 D3 78 */ mr r5, r26 +/* 80353F70 00350ED0 7C 60 F2 14 */ add r3, r0, r30 +/* 80353F74 00350ED4 7F 66 DB 78 */ mr r6, r27 +/* 80353F78 00350ED8 48 00 09 F1 */ bl BuildNormals__12CVirtualBoneCFPCUsPVvi +/* 80353F7C 00350EDC 7F 9C DA 14 */ add r28, r28, r27 +lbl_80353F80: +/* 80353F80 00350EE0 7C 1C F8 00 */ cmpw r28, r31 +/* 80353F84 00350EE4 41 80 FF D0 */ blt lbl_80353F54 +/* 80353F88 00350EE8 3B DE 00 74 */ addi r30, r30, 0x74 +/* 80353F8C 00350EEC 3B BD 00 01 */ addi r29, r29, 1 +lbl_80353F90: +/* 80353F90 00350EF0 80 19 00 04 */ lwz r0, 4(r25) +/* 80353F94 00350EF4 7C 1D 00 00 */ cmpw r29, r0 +/* 80353F98 00350EF8 41 80 FF A0 */ blt lbl_80353F38 +/* 80353F9C 00350EFC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80353FA0 00350F00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80353FA4 00350F04 7C 08 03 A6 */ mtlr r0 +/* 80353FA8 00350F08 38 21 00 30 */ addi r1, r1, 0x30 +/* 80353FAC 00350F0C 4E 80 00 20 */ blr + +.global BuildPoints__10CSkinRulesCFPVv +BuildPoints__10CSkinRulesCFPVv: +/* 80353FB0 00350F10 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80353FB4 00350F14 7C 08 02 A6 */ mflr r0 +/* 80353FB8 00350F18 90 01 00 34 */ stw r0, 0x34(r1) +/* 80353FBC 00350F1C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80353FC0 00350F20 7C 79 1B 78 */ mr r25, r3 +/* 80353FC4 00350F24 7C 9A 23 78 */ mr r26, r4 +/* 80353FC8 00350F28 3B A0 00 00 */ li r29, 0 +/* 80353FCC 00350F2C 3B C0 00 00 */ li r30, 0 +/* 80353FD0 00350F30 48 00 00 5C */ b lbl_8035402C +lbl_80353FD4: +/* 80353FD4 00350F34 80 99 00 0C */ lwz r4, 0xc(r25) +/* 80353FD8 00350F38 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80353FDC 00350F3C 38 00 00 00 */ li r0, 0 +/* 80353FE0 00350F40 3B 80 00 00 */ li r28, 0 +/* 80353FE4 00350F44 7F E4 18 2E */ lwzx r31, r4, r3 +/* 80353FE8 00350F48 90 01 00 08 */ stw r0, 8(r1) +/* 80353FEC 00350F4C 48 00 00 30 */ b lbl_8035401C +lbl_80353FF0: +/* 80353FF0 00350F50 7C 7C F8 50 */ subf r3, r28, r31 +/* 80353FF4 00350F54 38 81 00 08 */ addi r4, r1, 8 +/* 80353FF8 00350F58 4B FF F9 F9 */ bl ProcessingPoints__10CSkinRulesFiPPUs +/* 80353FFC 00350F5C 80 19 00 0C */ lwz r0, 0xc(r25) +/* 80354000 00350F60 7C 7B 1B 78 */ mr r27, r3 +/* 80354004 00350F64 80 81 00 08 */ lwz r4, 8(r1) +/* 80354008 00350F68 7F 45 D3 78 */ mr r5, r26 +/* 8035400C 00350F6C 7C 60 F2 14 */ add r3, r0, r30 +/* 80354010 00350F70 7F 66 DB 78 */ mr r6, r27 +/* 80354014 00350F74 48 00 0A 1D */ bl BuildPoints__12CVirtualBoneCFPCUsPVvi +/* 80354018 00350F78 7F 9C DA 14 */ add r28, r28, r27 +lbl_8035401C: +/* 8035401C 00350F7C 7C 1C F8 00 */ cmpw r28, r31 +/* 80354020 00350F80 41 80 FF D0 */ blt lbl_80353FF0 +/* 80354024 00350F84 3B DE 00 74 */ addi r30, r30, 0x74 +/* 80354028 00350F88 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035402C: +/* 8035402C 00350F8C 80 19 00 04 */ lwz r0, 4(r25) +/* 80354030 00350F90 7C 1D 00 00 */ cmpw r29, r0 +/* 80354034 00350F94 41 80 FF A0 */ blt lbl_80353FD4 +/* 80354038 00350F98 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8035403C 00350F9C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80354040 00350FA0 7C 08 03 A6 */ mtlr r0 +/* 80354044 00350FA4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354048 00350FA8 4E 80 00 20 */ blr + +.global BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo +BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo: +/* 8035404C 00350FAC 94 21 FB 20 */ stwu r1, -0x4e0(r1) +/* 80354050 00350FB0 7C 08 02 A6 */ mflr r0 +/* 80354054 00350FB4 90 01 04 E4 */ stw r0, 0x4e4(r1) +/* 80354058 00350FB8 BF 41 04 C8 */ stmw r26, 0x4c8(r1) +/* 8035405C 00350FBC 7C 9C 23 78 */ mr r28, r4 +/* 80354060 00350FC0 7C 7B 1B 78 */ mr r27, r3 +/* 80354064 00350FC4 7C BD 2B 78 */ mr r29, r5 +/* 80354068 00350FC8 3B C1 00 18 */ addi r30, r1, 0x18 +/* 8035406C 00350FCC 3B FC 00 08 */ addi r31, r28, 8 +/* 80354070 00350FD0 88 04 00 D4 */ lbz r0, 0xd4(r4) +/* 80354074 00350FD4 98 01 00 08 */ stb r0, 8(r1) +/* 80354078 00350FD8 48 00 00 A8 */ b lbl_80354120 +lbl_8035407C: +/* 8035407C 00350FDC 28 00 00 03 */ cmplwi r0, 3 +/* 80354080 00350FE0 41 82 00 28 */ beq lbl_803540A8 +/* 80354084 00350FE4 80 9D 00 00 */ lwz r4, 0(r29) +/* 80354088 00350FE8 54 00 0D FC */ rlwinm r0, r0, 1, 0x17, 0x1e +/* 8035408C 00350FEC 7C 64 02 14 */ add r3, r4, r0 +/* 80354090 00350FF0 80 84 00 D0 */ lwz r4, 0xd0(r4) +/* 80354094 00350FF4 88 03 00 09 */ lbz r0, 9(r3) +/* 80354098 00350FF8 54 03 2C F4 */ rlwinm r3, r0, 5, 0x13, 0x1a +/* 8035409C 00350FFC 3B 43 00 04 */ addi r26, r3, 4 +/* 803540A0 00351000 7F 44 D2 14 */ add r26, r4, r26 +/* 803540A4 00351004 48 00 00 0C */ b lbl_803540B0 +lbl_803540A8: +/* 803540A8 00351008 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803540AC 0035100C 3B 43 66 A0 */ addi r26, r3, skZero3f@l +lbl_803540B0: +/* 803540B0 00351010 7F 83 E3 78 */ mr r3, r28 +/* 803540B4 00351014 38 81 00 08 */ addi r4, r1, 8 +/* 803540B8 00351018 48 01 4E C5 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 803540BC 0035101C 7C 64 1B 78 */ mr r4, r3 +/* 803540C0 00351020 7F 45 D3 78 */ mr r5, r26 +/* 803540C4 00351024 38 61 00 0C */ addi r3, r1, 0xc +/* 803540C8 00351028 4B FB C1 CD */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 803540CC 0035102C 7F 83 E3 78 */ mr r3, r28 +/* 803540D0 00351030 38 81 00 08 */ addi r4, r1, 8 +/* 803540D4 00351034 48 01 4E 85 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId +/* 803540D8 00351038 88 01 00 08 */ lbz r0, 8(r1) +/* 803540DC 0035103C C0 23 00 00 */ lfs f1, 0(r3) +/* 803540E0 00351040 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803540E4 00351044 1C 80 00 0C */ mulli r4, r0, 0xc +/* 803540E8 00351048 C0 83 00 04 */ lfs f4, 4(r3) +/* 803540EC 0035104C 54 00 08 3C */ slwi r0, r0, 1 +/* 803540F0 00351050 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 803540F4 00351054 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803540F8 00351058 C0 43 00 08 */ lfs f2, 8(r3) +/* 803540FC 0035105C 7C 7E 22 14 */ add r3, r30, r4 +/* 80354100 00351060 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80354104 00351064 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80354108 00351068 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035410C 0035106C 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 80354110 00351070 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80354114 00351074 D0 63 00 04 */ stfs f3, 4(r3) +/* 80354118 00351078 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035411C 0035107C 98 01 00 08 */ stb r0, 8(r1) +lbl_80354120: +/* 80354120 00351080 88 01 00 08 */ lbz r0, 8(r1) +/* 80354124 00351084 28 00 00 00 */ cmplwi r0, 0 +/* 80354128 00351088 40 82 FF 54 */ bne lbl_8035407C +/* 8035412C 0035108C 3B A0 00 00 */ li r29, 0 +/* 80354130 00351090 3B 40 00 00 */ li r26, 0 +/* 80354134 00351094 48 00 00 20 */ b lbl_80354154 +lbl_80354138: +/* 80354138 00351098 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 8035413C 0035109C 7F 84 E3 78 */ mr r4, r28 +/* 80354140 003510A0 7F C5 F3 78 */ mr r5, r30 +/* 80354144 003510A4 7C 60 D2 14 */ add r3, r0, r26 +/* 80354148 003510A8 48 00 09 91 */ bl sub_80354ad8 +/* 8035414C 003510AC 3B 5A 00 74 */ addi r26, r26, 0x74 +/* 80354150 003510B0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80354154: +/* 80354154 003510B4 80 1B 00 04 */ lwz r0, 4(r27) +/* 80354158 003510B8 7C 1D 00 00 */ cmpw r29, r0 +/* 8035415C 003510BC 41 80 FF DC */ blt lbl_80354138 +/* 80354160 003510C0 BB 41 04 C8 */ lmw r26, 0x4c8(r1) +/* 80354164 003510C4 80 01 04 E4 */ lwz r0, 0x4e4(r1) +/* 80354168 003510C8 7C 08 03 A6 */ mtlr r0 +/* 8035416C 003510CC 38 21 04 E0 */ addi r1, r1, 0x4e0 +/* 80354170 003510D0 4E 80 00 20 */ blr + +.global __dt__10CSkinRulesFv +__dt__10CSkinRulesFv: +/* 80354174 003510D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80354178 003510D8 7C 08 02 A6 */ mflr r0 +/* 8035417C 003510DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354180 003510E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80354184 003510E4 7C 9F 23 78 */ mr r31, r4 +/* 80354188 003510E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035418C 003510EC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80354190 003510F0 41 82 00 34 */ beq lbl_803541C4 +/* 80354194 003510F4 80 BE 00 04 */ lwz r5, 4(r30) +/* 80354198 003510F8 38 80 FF FF */ li r4, -1 +/* 8035419C 003510FC 80 0D AA 78 */ lwz r0, lbl_805A9638@sda21(r13) +/* 803541A0 00351100 1C A5 00 74 */ mulli r5, r5, 0x74 +/* 803541A4 00351104 38 A5 00 18 */ addi r5, r5, 0x18 +/* 803541A8 00351108 7C 05 00 50 */ subf r0, r5, r0 +/* 803541AC 0035110C 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 803541B0 00351110 48 00 00 31 */ bl sub_803541e0 +/* 803541B4 00351114 7F E0 07 35 */ extsh. r0, r31 +/* 803541B8 00351118 40 81 00 0C */ ble lbl_803541C4 +/* 803541BC 0035111C 7F C3 F3 78 */ mr r3, r30 +/* 803541C0 00351120 4B FC 17 71 */ bl Free__7CMemoryFPCv +lbl_803541C4: +/* 803541C4 00351124 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803541C8 00351128 7F C3 F3 78 */ mr r3, r30 +/* 803541CC 0035112C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803541D0 00351130 83 C1 00 08 */ lwz r30, 8(r1) +/* 803541D4 00351134 7C 08 03 A6 */ mtlr r0 +/* 803541D8 00351138 38 21 00 10 */ addi r1, r1, 0x10 +/* 803541DC 0035113C 4E 80 00 20 */ blr + +.global sub_803541e0 +sub_803541e0: +/* 803541E0 00351140 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803541E4 00351144 7C 08 02 A6 */ mflr r0 +/* 803541E8 00351148 90 01 00 24 */ stw r0, 0x24(r1) +/* 803541EC 0035114C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803541F0 00351150 7C 9F 23 78 */ mr r31, r4 +/* 803541F4 00351154 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803541F8 00351158 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803541FC 0035115C 41 82 00 B8 */ beq lbl_803542B4 +/* 80354200 00351160 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354204 00351164 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80354208 00351168 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8035420C 0035116C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80354210 00351170 7C 66 02 14 */ add r3, r6, r0 +/* 80354214 00351174 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80354218 00351178 90 61 00 08 */ stw r3, 8(r1) +/* 8035421C 0035117C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80354220 00351180 48 00 00 6C */ b lbl_8035428C +lbl_80354224: +/* 80354224 00351184 28 06 00 00 */ cmplwi r6, 0 +/* 80354228 00351188 41 82 00 60 */ beq lbl_80354288 +/* 8035422C 0035118C 41 82 00 5C */ beq lbl_80354288 +/* 80354230 00351190 80 E6 00 00 */ lwz r7, 0(r6) +/* 80354234 00351194 38 80 00 00 */ li r4, 0 +/* 80354238 00351198 2C 07 00 00 */ cmpwi r7, 0 +/* 8035423C 0035119C 40 81 00 44 */ ble lbl_80354280 +/* 80354240 003511A0 2C 07 00 08 */ cmpwi r7, 8 +/* 80354244 003511A4 38 A7 FF F8 */ addi r5, r7, -8 +/* 80354248 003511A8 40 81 00 20 */ ble lbl_80354268 +/* 8035424C 003511AC 38 05 00 07 */ addi r0, r5, 7 +/* 80354250 003511B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354254 003511B4 7C 09 03 A6 */ mtctr r0 +/* 80354258 003511B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035425C 003511BC 40 81 00 0C */ ble lbl_80354268 +lbl_80354260: +/* 80354260 003511C0 38 84 00 08 */ addi r4, r4, 8 +/* 80354264 003511C4 42 00 FF FC */ bdnz lbl_80354260 +lbl_80354268: +/* 80354268 003511C8 7C 04 38 50 */ subf r0, r4, r7 +/* 8035426C 003511CC 7C 09 03 A6 */ mtctr r0 +/* 80354270 003511D0 7C 04 38 00 */ cmpw r4, r7 +/* 80354274 003511D4 40 80 00 0C */ bge lbl_80354280 +lbl_80354278: +/* 80354278 003511D8 38 84 00 01 */ addi r4, r4, 1 +/* 8035427C 003511DC 42 00 FF FC */ bdnz lbl_80354278 +lbl_80354280: +/* 80354280 003511E0 38 00 00 00 */ li r0, 0 +/* 80354284 003511E4 90 06 00 00 */ stw r0, 0(r6) +lbl_80354288: +/* 80354288 003511E8 38 C6 00 74 */ addi r6, r6, 0x74 +lbl_8035428C: +/* 8035428C 003511EC 7C 06 18 40 */ cmplw r6, r3 +/* 80354290 003511F0 40 82 FF 94 */ bne lbl_80354224 +/* 80354294 003511F4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80354298 003511F8 28 03 00 00 */ cmplwi r3, 0 +/* 8035429C 003511FC 41 82 00 08 */ beq lbl_803542A4 +/* 803542A0 00351200 4B FC 16 91 */ bl Free__7CMemoryFPCv +lbl_803542A4: +/* 803542A4 00351204 7F E0 07 35 */ extsh. r0, r31 +/* 803542A8 00351208 40 81 00 0C */ ble lbl_803542B4 +/* 803542AC 0035120C 7F C3 F3 78 */ mr r3, r30 +/* 803542B0 00351210 4B FC 16 81 */ bl Free__7CMemoryFPCv +lbl_803542B4: +/* 803542B4 00351214 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803542B8 00351218 7F C3 F3 78 */ mr r3, r30 +/* 803542BC 0035121C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803542C0 00351220 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803542C4 00351224 7C 08 03 A6 */ mtlr r0 +/* 803542C8 00351228 38 21 00 20 */ addi r1, r1, 0x20 +/* 803542CC 0035122C 4E 80 00 20 */ blr + +.global __ct__10CSkinRulesFR12CInputStream +__ct__10CSkinRulesFR12CInputStream: +/* 803542D0 00351230 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803542D4 00351234 7C 08 02 A6 */ mflr r0 +/* 803542D8 00351238 90 01 00 24 */ stw r0, 0x24(r1) +/* 803542DC 0035123C 38 A1 00 08 */ addi r5, r1, 8 +/* 803542E0 00351240 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803542E4 00351244 7C 9F 23 78 */ mr r31, r4 +/* 803542E8 00351248 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803542EC 0035124C 7C 7E 1B 78 */ mr r30, r3 +/* 803542F0 00351250 48 00 00 51 */ bl "__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 803542F4 00351254 7F E3 FB 78 */ mr r3, r31 +/* 803542F8 00351258 48 00 02 45 */ bl sub_8035453c +/* 803542FC 0035125C 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80354300 00351260 7F E3 FB 78 */ mr r3, r31 +/* 80354304 00351264 48 00 02 39 */ bl sub_8035453c +/* 80354308 00351268 90 7E 00 14 */ stw r3, 0x14(r30) +/* 8035430C 0035126C 7F C3 F3 78 */ mr r3, r30 +/* 80354310 00351270 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354314 00351274 80 8D AA 78 */ lwz r4, lbl_805A9638@sda21(r13) +/* 80354318 00351278 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8035431C 0035127C 7C 80 22 14 */ add r4, r0, r4 +/* 80354320 00351280 38 04 00 18 */ addi r0, r4, 0x18 +/* 80354324 00351284 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 80354328 00351288 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035432C 0035128C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80354330 00351290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80354334 00351294 7C 08 03 A6 */ mtlr r0 +/* 80354338 00351298 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035433C 0035129C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 80354340 003512A0 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80354344 003512A4 7C 08 02 A6 */ mflr r0 +/* 80354348 003512A8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035434C 003512AC 38 00 00 00 */ li r0, 0 +/* 80354350 003512B0 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 80354354 003512B4 7C 78 1B 78 */ mr r24, r3 +/* 80354358 003512B8 7C 99 23 78 */ mr r25, r4 +/* 8035435C 003512BC 90 03 00 04 */ stw r0, 4(r3) +/* 80354360 003512C0 7F 23 CB 78 */ mr r3, r25 +/* 80354364 003512C4 90 18 00 08 */ stw r0, 8(r24) +/* 80354368 003512C8 90 18 00 0C */ stw r0, 0xc(r24) +/* 8035436C 003512CC 4B FE A9 19 */ bl ReadLong__12CInputStreamFv +/* 80354370 003512D0 7C 7E 1B 78 */ mr r30, r3 +/* 80354374 003512D4 7F 03 C3 78 */ mr r3, r24 +/* 80354378 003512D8 7F C4 F3 78 */ mr r4, r30 +/* 8035437C 003512DC 48 00 02 51 */ bl sub_803545cc +/* 80354380 003512E0 3B A1 00 10 */ addi r29, r1, 0x10 +/* 80354384 003512E4 3B 81 00 2C */ addi r28, r1, 0x2c +/* 80354388 003512E8 3B 61 00 5C */ addi r27, r1, 0x5c +/* 8035438C 003512EC 3B E1 00 08 */ addi r31, r1, 8 +/* 80354390 003512F0 3B 40 00 00 */ li r26, 0 +/* 80354394 003512F4 48 00 01 28 */ b lbl_803544BC +lbl_80354398: +/* 80354398 003512F8 88 0D AA 48 */ lbz r0, lbl_805A9608@sda21(r13) +/* 8035439C 003512FC 7F 24 CB 78 */ mr r4, r25 +/* 803543A0 00351300 7F E5 FB 78 */ mr r5, r31 +/* 803543A4 00351304 38 61 00 0C */ addi r3, r1, 0xc +/* 803543A8 00351308 98 01 00 08 */ stb r0, 8(r1) +/* 803543AC 0035130C 48 00 01 31 */ bl "Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>" +/* 803543B0 00351310 80 18 00 04 */ lwz r0, 4(r24) +/* 803543B4 00351314 80 B8 00 08 */ lwz r5, 8(r24) +/* 803543B8 00351318 7C 00 28 00 */ cmpw r0, r5 +/* 803543BC 0035131C 41 80 00 1C */ blt lbl_803543D8 +/* 803543C0 00351320 2C 05 00 00 */ cmpwi r5, 0 +/* 803543C4 00351324 7F 03 C3 78 */ mr r3, r24 +/* 803543C8 00351328 38 80 00 04 */ li r4, 4 +/* 803543CC 0035132C 41 82 00 08 */ beq lbl_803543D4 +/* 803543D0 00351330 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803543D4: +/* 803543D4 00351334 48 00 01 F9 */ bl sub_803545cc +lbl_803543D8: +/* 803543D8 00351338 80 18 00 04 */ lwz r0, 4(r24) +/* 803543DC 0035133C 80 78 00 0C */ lwz r3, 0xc(r24) +/* 803543E0 00351340 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 803543E4 00351344 7C 63 02 15 */ add. r3, r3, r0 +/* 803543E8 00351348 41 82 00 6C */ beq lbl_80354454 +/* 803543EC 0035134C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803543F0 00351350 38 A3 00 04 */ addi r5, r3, 4 +/* 803543F4 00351354 7C 77 1B 78 */ mr r23, r3 +/* 803543F8 00351358 7F A4 EB 78 */ mr r4, r29 +/* 803543FC 0035135C 90 03 00 00 */ stw r0, 0(r3) +/* 80354400 00351360 80 03 00 00 */ lwz r0, 0(r3) +/* 80354404 00351364 7C 09 03 A6 */ mtctr r0 +/* 80354408 00351368 2C 00 00 00 */ cmpwi r0, 0 +/* 8035440C 0035136C 40 81 00 28 */ ble lbl_80354434 +lbl_80354410: +/* 80354410 00351370 28 05 00 00 */ cmplwi r5, 0 +/* 80354414 00351374 41 82 00 14 */ beq lbl_80354428 +/* 80354418 00351378 88 04 00 00 */ lbz r0, 0(r4) +/* 8035441C 0035137C 98 05 00 00 */ stb r0, 0(r5) +/* 80354420 00351380 C0 04 00 04 */ lfs f0, 4(r4) +/* 80354424 00351384 D0 05 00 04 */ stfs f0, 4(r5) +lbl_80354428: +/* 80354428 00351388 38 A5 00 08 */ addi r5, r5, 8 +/* 8035442C 0035138C 38 84 00 08 */ addi r4, r4, 8 +/* 80354430 00351390 42 00 FF E0 */ bdnz lbl_80354410 +lbl_80354434: +/* 80354434 00351394 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80354438 00351398 7F 84 E3 78 */ mr r4, r28 +/* 8035443C 0035139C 38 77 00 20 */ addi r3, r23, 0x20 +/* 80354440 003513A0 90 17 00 1C */ stw r0, 0x1c(r23) +/* 80354444 003513A4 4B FB E7 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80354448 003513A8 7F 64 DB 78 */ mr r4, r27 +/* 8035444C 003513AC 38 77 00 50 */ addi r3, r23, 0x50 +/* 80354450 003513B0 4B FB BB D5 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_80354454: +/* 80354454 003513B4 80 78 00 04 */ lwz r3, 4(r24) +/* 80354458 003513B8 38 80 00 00 */ li r4, 0 +/* 8035445C 003513BC 38 03 00 01 */ addi r0, r3, 1 +/* 80354460 003513C0 90 18 00 04 */ stw r0, 4(r24) +/* 80354464 003513C4 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80354468 003513C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035446C 003513CC 40 81 00 44 */ ble lbl_803544B0 +/* 80354470 003513D0 2C 05 00 08 */ cmpwi r5, 8 +/* 80354474 003513D4 38 65 FF F8 */ addi r3, r5, -8 +/* 80354478 003513D8 40 81 00 20 */ ble lbl_80354498 +/* 8035447C 003513DC 38 03 00 07 */ addi r0, r3, 7 +/* 80354480 003513E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354484 003513E4 7C 09 03 A6 */ mtctr r0 +/* 80354488 003513E8 2C 03 00 00 */ cmpwi r3, 0 +/* 8035448C 003513EC 40 81 00 0C */ ble lbl_80354498 +lbl_80354490: +/* 80354490 003513F0 38 84 00 08 */ addi r4, r4, 8 +/* 80354494 003513F4 42 00 FF FC */ bdnz lbl_80354490 +lbl_80354498: +/* 80354498 003513F8 7C 04 28 50 */ subf r0, r4, r5 +/* 8035449C 003513FC 7C 09 03 A6 */ mtctr r0 +/* 803544A0 00351400 7C 04 28 00 */ cmpw r4, r5 +/* 803544A4 00351404 40 80 00 0C */ bge lbl_803544B0 +lbl_803544A8: +/* 803544A8 00351408 38 84 00 01 */ addi r4, r4, 1 +/* 803544AC 0035140C 42 00 FF FC */ bdnz lbl_803544A8 +lbl_803544B0: +/* 803544B0 00351410 38 00 00 00 */ li r0, 0 +/* 803544B4 00351414 3B 5A 00 01 */ addi r26, r26, 1 +/* 803544B8 00351418 90 01 00 0C */ stw r0, 0xc(r1) +lbl_803544BC: +/* 803544BC 0035141C 7C 1A F0 00 */ cmpw r26, r30 +/* 803544C0 00351420 41 80 FE D8 */ blt lbl_80354398 +/* 803544C4 00351424 7F 03 C3 78 */ mr r3, r24 +/* 803544C8 00351428 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 803544CC 0035142C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 803544D0 00351430 7C 08 03 A6 */ mtlr r0 +/* 803544D4 00351434 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 803544D8 00351438 4E 80 00 20 */ blr + +.global "Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>" +"Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>": +/* 803544DC 0035143C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803544E0 00351440 7C 08 02 A6 */ mflr r0 +/* 803544E4 00351444 7C 85 23 78 */ mr r5, r4 +/* 803544E8 00351448 90 01 00 24 */ stw r0, 0x24(r1) +/* 803544EC 0035144C 38 81 00 08 */ addi r4, r1, 8 +/* 803544F0 00351450 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803544F4 00351454 7C 7F 1B 78 */ mr r31, r3 +/* 803544F8 00351458 88 0D AA 4C */ lbz r0, lbl_805A960C@sda21(r13) +/* 803544FC 0035145C 98 01 00 08 */ stb r0, 8(r1) +/* 80354500 00351460 48 00 00 19 */ bl "cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream" +/* 80354504 00351464 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80354508 00351468 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035450C 0035146C 7C 08 03 A6 */ mtlr r0 +/* 80354510 00351470 38 21 00 20 */ addi r1, r1, 0x20 +/* 80354514 00351474 4E 80 00 20 */ blr + +.global "cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream" +"cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream": +/* 80354518 00351478 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035451C 0035147C 7C 08 02 A6 */ mflr r0 +/* 80354520 00351480 7C A4 2B 78 */ mr r4, r5 +/* 80354524 00351484 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354528 00351488 48 00 09 51 */ bl __ct__12CVirtualBoneFR12CInputStream +/* 8035452C 0035148C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80354530 00351490 7C 08 03 A6 */ mtlr r0 +/* 80354534 00351494 38 21 00 10 */ addi r1, r1, 0x10 +/* 80354538 00351498 4E 80 00 20 */ blr + +.global sub_8035453c +sub_8035453c: +/* 8035453C 0035149C 94 21 FC D0 */ stwu r1, -0x330(r1) +/* 80354540 003514A0 7C 08 02 A6 */ mflr r0 +/* 80354544 003514A4 90 01 03 34 */ stw r0, 0x334(r1) +/* 80354548 003514A8 BF 61 03 1C */ stmw r27, 0x31c(r1) +/* 8035454C 003514AC 7C 7B 1B 78 */ mr r27, r3 +/* 80354550 003514B0 4B FE A7 35 */ bl ReadLong__12CInputStreamFv +/* 80354554 003514B4 7C 7F 1B 78 */ mr r31, r3 +/* 80354558 003514B8 2C 1F FF FF */ cmpwi r31, -1 +/* 8035455C 003514BC 40 82 00 10 */ bne lbl_8035456C +/* 80354560 003514C0 7F 63 DB 78 */ mr r3, r27 +/* 80354564 003514C4 4B FE A7 21 */ bl ReadLong__12CInputStreamFv +/* 80354568 003514C8 48 00 00 50 */ b lbl_803545B8 +lbl_8035456C: +/* 8035456C 003514CC 1F DF 00 03 */ mulli r30, r31, 3 +/* 80354570 003514D0 3B A0 00 00 */ li r29, 0 +/* 80354574 003514D4 48 00 00 38 */ b lbl_803545AC +lbl_80354578: +/* 80354578 003514D8 80 0D 9E 00 */ lwz r0, lbl_805A89C0@sda21(r13) +/* 8035457C 003514DC 7C 9D F0 50 */ subf r4, r29, r30 +/* 80354580 003514E0 90 81 00 08 */ stw r4, 8(r1) +/* 80354584 003514E4 38 61 00 08 */ addi r3, r1, 8 +/* 80354588 003514E8 7C 00 20 00 */ cmpw r0, r4 +/* 8035458C 003514EC 40 80 00 08 */ bge lbl_80354594 +/* 80354590 003514F0 38 6D 9E 00 */ addi r3, r13, lbl_805A89C0@sda21 +lbl_80354594: +/* 80354594 003514F4 83 83 00 00 */ lwz r28, 0(r3) +/* 80354598 003514F8 7F 63 DB 78 */ mr r3, r27 +/* 8035459C 003514FC 38 81 00 0C */ addi r4, r1, 0xc +/* 803545A0 00351500 57 85 10 3A */ slwi r5, r28, 2 +/* 803545A4 00351504 4B FE A9 B1 */ bl Get__12CInputStreamFPvUl +/* 803545A8 00351508 7F BD E2 14 */ add r29, r29, r28 +lbl_803545AC: +/* 803545AC 0035150C 7C 1D F0 00 */ cmpw r29, r30 +/* 803545B0 00351510 41 80 FF C8 */ blt lbl_80354578 +/* 803545B4 00351514 7F E3 FB 78 */ mr r3, r31 +lbl_803545B8: +/* 803545B8 00351518 BB 61 03 1C */ lmw r27, 0x31c(r1) +/* 803545BC 0035151C 80 01 03 34 */ lwz r0, 0x334(r1) +/* 803545C0 00351520 7C 08 03 A6 */ mtlr r0 +/* 803545C4 00351524 38 21 03 30 */ addi r1, r1, 0x330 +/* 803545C8 00351528 4E 80 00 20 */ blr + +.global sub_803545cc +sub_803545cc: +/* 803545CC 0035152C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803545D0 00351530 7C 08 02 A6 */ mflr r0 +/* 803545D4 00351534 90 01 00 34 */ stw r0, 0x34(r1) +/* 803545D8 00351538 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803545DC 0035153C 7C 9F 23 78 */ mr r31, r4 +/* 803545E0 00351540 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803545E4 00351544 7C 7E 1B 78 */ mr r30, r3 +/* 803545E8 00351548 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803545EC 0035154C 80 03 00 08 */ lwz r0, 8(r3) +/* 803545F0 00351550 7C 1F 00 00 */ cmpw r31, r0 +/* 803545F4 00351554 40 81 00 FC */ ble lbl_803546F0 +/* 803545F8 00351558 1C 7F 00 74 */ mulli r3, r31, 0x74 +/* 803545FC 0035155C 2C 03 00 00 */ cmpwi r3, 0 +/* 80354600 00351560 40 82 00 0C */ bne lbl_8035460C +/* 80354604 00351564 3B A0 00 00 */ li r29, 0 +/* 80354608 00351568 48 00 00 18 */ b lbl_80354620 +lbl_8035460C: +/* 8035460C 0035156C 3C 80 80 3E */ lis r4, lbl_803D8300@ha +/* 80354610 00351570 38 A0 00 00 */ li r5, 0 +/* 80354614 00351574 38 84 83 00 */ addi r4, r4, lbl_803D8300@l +/* 80354618 00351578 4B FC 12 01 */ bl __nwa__FUlPCcPCc +/* 8035461C 0035157C 7C 7D 1B 78 */ mr r29, r3 +lbl_80354620: +/* 80354620 00351580 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354624 00351584 7F A5 EB 78 */ mr r5, r29 +/* 80354628 00351588 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035462C 0035158C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80354630 00351590 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80354634 00351594 38 81 00 0C */ addi r4, r1, 0xc +/* 80354638 00351598 7C C6 02 14 */ add r6, r6, r0 +/* 8035463C 0035159C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80354640 003515A0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80354644 003515A4 90 C1 00 08 */ stw r6, 8(r1) +/* 80354648 003515A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035464C 003515AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354650 003515B0 48 00 00 BD */ bl sub_8035470c +/* 80354654 003515B4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354658 003515B8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035465C 003515BC 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80354660 003515C0 7C 66 02 14 */ add r3, r6, r0 +/* 80354664 003515C4 48 00 00 6C */ b lbl_803546D0 +lbl_80354668: +/* 80354668 003515C8 28 06 00 00 */ cmplwi r6, 0 +/* 8035466C 003515CC 41 82 00 60 */ beq lbl_803546CC +/* 80354670 003515D0 41 82 00 5C */ beq lbl_803546CC +/* 80354674 003515D4 80 E6 00 00 */ lwz r7, 0(r6) +/* 80354678 003515D8 38 80 00 00 */ li r4, 0 +/* 8035467C 003515DC 2C 07 00 00 */ cmpwi r7, 0 +/* 80354680 003515E0 40 81 00 44 */ ble lbl_803546C4 +/* 80354684 003515E4 2C 07 00 08 */ cmpwi r7, 8 +/* 80354688 003515E8 38 A7 FF F8 */ addi r5, r7, -8 +/* 8035468C 003515EC 40 81 00 20 */ ble lbl_803546AC +/* 80354690 003515F0 38 05 00 07 */ addi r0, r5, 7 +/* 80354694 003515F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354698 003515F8 7C 09 03 A6 */ mtctr r0 +/* 8035469C 003515FC 2C 05 00 00 */ cmpwi r5, 0 +/* 803546A0 00351600 40 81 00 0C */ ble lbl_803546AC +lbl_803546A4: +/* 803546A4 00351604 38 84 00 08 */ addi r4, r4, 8 +/* 803546A8 00351608 42 00 FF FC */ bdnz lbl_803546A4 +lbl_803546AC: +/* 803546AC 0035160C 7C 04 38 50 */ subf r0, r4, r7 +/* 803546B0 00351610 7C 09 03 A6 */ mtctr r0 +/* 803546B4 00351614 7C 04 38 00 */ cmpw r4, r7 +/* 803546B8 00351618 40 80 00 0C */ bge lbl_803546C4 +lbl_803546BC: +/* 803546BC 0035161C 38 84 00 01 */ addi r4, r4, 1 +/* 803546C0 00351620 42 00 FF FC */ bdnz lbl_803546BC +lbl_803546C4: +/* 803546C4 00351624 38 00 00 00 */ li r0, 0 +/* 803546C8 00351628 90 06 00 00 */ stw r0, 0(r6) +lbl_803546CC: +/* 803546CC 0035162C 38 C6 00 74 */ addi r6, r6, 0x74 +lbl_803546D0: +/* 803546D0 00351630 7C 06 18 40 */ cmplw r6, r3 +/* 803546D4 00351634 40 82 FF 94 */ bne lbl_80354668 +/* 803546D8 00351638 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803546DC 0035163C 28 03 00 00 */ cmplwi r3, 0 +/* 803546E0 00351640 41 82 00 08 */ beq lbl_803546E8 +/* 803546E4 00351644 4B FC 12 4D */ bl Free__7CMemoryFPCv +lbl_803546E8: +/* 803546E8 00351648 93 BE 00 0C */ stw r29, 0xc(r30) +/* 803546EC 0035164C 93 FE 00 08 */ stw r31, 8(r30) +lbl_803546F0: +/* 803546F0 00351650 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803546F4 00351654 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803546F8 00351658 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803546FC 0035165C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80354700 00351660 7C 08 03 A6 */ mtlr r0 +/* 80354704 00351664 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354708 00351668 4E 80 00 20 */ blr + +.global sub_8035470c +sub_8035470c: +/* 8035470C 0035166C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80354710 00351670 7C 08 02 A6 */ mflr r0 +/* 80354714 00351674 90 01 00 24 */ stw r0, 0x24(r1) +/* 80354718 00351678 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035471C 0035167C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80354720 00351680 7C BE 2B 78 */ mr r30, r5 +/* 80354724 00351684 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80354728 00351688 7C 9D 23 78 */ mr r29, r4 +/* 8035472C 0035168C 83 E3 00 00 */ lwz r31, 0(r3) +/* 80354730 00351690 48 00 00 78 */ b lbl_803547A8 +lbl_80354734: +/* 80354734 00351694 28 1E 00 00 */ cmplwi r30, 0 +/* 80354738 00351698 41 82 00 68 */ beq lbl_803547A0 +/* 8035473C 0035169C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80354740 003516A0 38 9E 00 04 */ addi r4, r30, 4 +/* 80354744 003516A4 38 7F 00 04 */ addi r3, r31, 4 +/* 80354748 003516A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8035474C 003516AC 80 1E 00 00 */ lwz r0, 0(r30) +/* 80354750 003516B0 7C 09 03 A6 */ mtctr r0 +/* 80354754 003516B4 2C 00 00 00 */ cmpwi r0, 0 +/* 80354758 003516B8 40 81 00 28 */ ble lbl_80354780 +lbl_8035475C: +/* 8035475C 003516BC 28 04 00 00 */ cmplwi r4, 0 +/* 80354760 003516C0 41 82 00 14 */ beq lbl_80354774 +/* 80354764 003516C4 88 03 00 00 */ lbz r0, 0(r3) +/* 80354768 003516C8 98 04 00 00 */ stb r0, 0(r4) +/* 8035476C 003516CC C0 03 00 04 */ lfs f0, 4(r3) +/* 80354770 003516D0 D0 04 00 04 */ stfs f0, 4(r4) +lbl_80354774: +/* 80354774 003516D4 38 84 00 08 */ addi r4, r4, 8 +/* 80354778 003516D8 38 63 00 08 */ addi r3, r3, 8 +/* 8035477C 003516DC 42 00 FF E0 */ bdnz lbl_8035475C +lbl_80354780: +/* 80354780 003516E0 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80354784 003516E4 38 7E 00 20 */ addi r3, r30, 0x20 +/* 80354788 003516E8 38 9F 00 20 */ addi r4, r31, 0x20 +/* 8035478C 003516EC 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80354790 003516F0 4B FB E3 E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80354794 003516F4 38 7E 00 50 */ addi r3, r30, 0x50 +/* 80354798 003516F8 38 9F 00 50 */ addi r4, r31, 0x50 +/* 8035479C 003516FC 4B FB B8 89 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_803547A0: +/* 803547A0 00351700 3B DE 00 74 */ addi r30, r30, 0x74 +/* 803547A4 00351704 3B FF 00 74 */ addi r31, r31, 0x74 +lbl_803547A8: +/* 803547A8 00351708 80 1D 00 00 */ lwz r0, 0(r29) +/* 803547AC 0035170C 7C 1F 00 40 */ cmplw r31, r0 +/* 803547B0 00351710 40 82 FF 84 */ bne lbl_80354734 +/* 803547B4 00351714 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803547B8 00351718 7F C3 F3 78 */ mr r3, r30 +/* 803547BC 0035171C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803547C0 00351720 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803547C4 00351724 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803547C8 00351728 7C 08 03 A6 */ mtlr r0 +/* 803547CC 0035172C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803547D0 00351730 4E 80 00 20 */ blr + +.global sub_803547d4 +sub_803547d4: +/* 803547D4 00351734 7D 6B 5A 78 */ xor r11, r11, r11 +/* 803547D8 00351738 39 6B 00 60 */ addi r11, r11, 0x60 +/* 803547DC 0035173C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803547E0 00351740 D9 C1 00 08 */ stfd f14, 8(r1) +/* 803547E4 00351744 38 E6 FF FF */ addi r7, r6, -1 +/* 803547E8 00351748 D9 E1 00 10 */ stfd f15, 0x10(r1) +/* 803547EC 0035174C 54 E7 F8 7E */ srwi r7, r7, 1 +/* 803547F0 00351750 DA 01 00 18 */ stfd f16, 0x18(r1) +/* 803547F4 00351754 DA 21 00 20 */ stfd f17, 0x20(r1) +/* 803547F8 00351758 DA 41 00 28 */ stfd f18, 0x28(r1) +/* 803547FC 0035175C 7C E9 03 A6 */ mtctr r7 +/* 80354800 00351760 E0 03 00 00 */ psq_l f0, 0(r3), 0, qr0 +/* 80354804 00351764 38 84 FF F8 */ addi r4, r4, -8 +/* 80354808 00351768 E0 23 80 08 */ psq_l f1, 8(r3), 1, qr0 +/* 8035480C 0035176C E0 C3 00 24 */ psq_l f6, 36(r3), 0, qr0 +/* 80354810 00351770 E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 +/* 80354814 00351774 E0 E3 80 2C */ psq_l f7, 44(r3), 1, qr0 +/* 80354818 00351778 E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 +/* 8035481C 0035177C 11 60 32 1C */ ps_madds0 f11, f0, f8, f6 +/* 80354820 00351780 E0 43 00 0C */ psq_l f2, 12(r3), 0, qr0 +/* 80354824 00351784 11 81 3A 1C */ ps_madds0 f12, f1, f8, f7 +/* 80354828 00351788 E0 63 80 14 */ psq_l f3, 20(r3), 1, qr0 +/* 8035482C 0035178C 11 A0 32 5E */ ps_madds1 f13, f0, f9, f6 +/* 80354830 00351790 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 +/* 80354834 00351794 11 C1 3A 5E */ ps_madds1 f14, f1, f9, f7 +/* 80354838 00351798 E0 A3 80 20 */ psq_l f5, 32(r3), 1, qr0 +/* 8035483C 0035179C 11 62 5A 1E */ ps_madds1 f11, f2, f8, f11 +/* 80354840 003517A0 11 83 62 1E */ ps_madds1 f12, f3, f8, f12 +/* 80354844 003517A4 E0 83 00 18 */ psq_l f4, 24(r3), 0, qr0 +/* 80354848 003517A8 11 A2 6A 9C */ ps_madds0 f13, f2, f10, f13 +/* 8035484C 003517AC E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 +/* 80354850 003517B0 11 C3 72 9C */ ps_madds0 f14, f3, f10, f14 +/* 80354854 003517B4 11 E4 5A 5C */ ps_madds0 f15, f4, f9, f11 +/* 80354858 003517B8 12 05 62 5C */ ps_madds0 f16, f5, f9, f12 +/* 8035485C 003517BC E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 +/* 80354860 003517C0 12 24 6A 9E */ ps_madds1 f17, f4, f10, f13 +/* 80354864 003517C4 12 45 72 9E */ ps_madds1 f18, f5, f10, f14 +/* 80354868 003517C8 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 +lbl_8035486C: +/* 8035486C 003517CC 11 60 32 1C */ ps_madds0 f11, f0, f8, f6 +/* 80354870 003517D0 F1 E5 00 00 */ psq_st f15, 0(r5), 0, qr0 +/* 80354874 003517D4 11 81 3A 1C */ ps_madds0 f12, f1, f8, f7 +/* 80354878 003517D8 F2 05 80 00 */ psq_st f16, 0(r5), 1, qr0 +/* 8035487C 003517DC 11 A0 32 5E */ ps_madds1 f13, f0, f9, f6 +/* 80354880 003517E0 F2 25 00 00 */ psq_st f17, 0(r5), 0, qr0 +/* 80354884 003517E4 11 C1 3A 5E */ ps_madds1 f14, f1, f9, f7 +/* 80354888 003517E8 F2 45 80 00 */ psq_st f18, 0(r5), 1, qr0 +/* 8035488C 003517EC 11 62 5A 1E */ ps_madds1 f11, f2, f8, f11 +/* 80354890 003517F0 11 83 62 1E */ ps_madds1 f12, f3, f8, f12 +/* 80354894 003517F4 E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 +/* 80354898 003517F8 11 A2 6A 9C */ ps_madds0 f13, f2, f10, f13 +/* 8035489C 003517FC 11 C3 72 9C */ ps_madds0 f14, f3, f10, f14 +/* 803548A0 00351800 11 E4 5A 5C */ ps_madds0 f15, f4, f9, f11 +/* 803548A4 00351804 12 05 62 5C */ ps_madds0 f16, f5, f9, f12 +/* 803548A8 00351808 E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 +/* 803548AC 0035180C 12 24 6A 9E */ ps_madds1 f17, f4, f10, f13 +/* 803548B0 00351810 12 45 72 9E */ ps_madds1 f18, f5, f10, f14 +/* 803548B4 00351814 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 +/* 803548B8 00351818 42 00 FF B4 */ bdnz lbl_8035486C +/* 803548BC 0035181C F1 E5 00 00 */ psq_st f15, 0(r5), 0, qr0 +/* 803548C0 00351820 54 C7 07 FF */ clrlwi. r7, r6, 0x1f +/* 803548C4 00351824 F2 05 80 00 */ psq_st f16, 0(r5), 1, qr0 +/* 803548C8 00351828 40 82 00 0C */ bne lbl_803548D4 +/* 803548CC 0035182C F2 25 00 00 */ psq_st f17, 0(r5), 0, qr0 +/* 803548D0 00351830 F2 45 80 00 */ psq_st f18, 0(r5), 1, qr0 +lbl_803548D4: +/* 803548D4 00351834 C9 C1 00 08 */ lfd f14, 8(r1) +/* 803548D8 00351838 C9 E1 00 10 */ lfd f15, 0x10(r1) +/* 803548DC 0035183C CA 01 00 18 */ lfd f16, 0x18(r1) +/* 803548E0 00351840 CA 21 00 20 */ lfd f17, 0x20(r1) +/* 803548E4 00351844 CA 41 00 28 */ lfd f18, 0x28(r1) +/* 803548E8 00351848 38 21 00 40 */ addi r1, r1, 0x40 +/* 803548EC 0035184C 4E 80 00 20 */ blr + +.global sub_803548f0 +sub_803548f0: +/* 803548F0 00351850 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803548F4 00351854 7C 08 02 A6 */ mflr r0 +/* 803548F8 00351858 90 01 00 34 */ stw r0, 0x34(r1) +/* 803548FC 0035185C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80354900 00351860 7C 7B 1B 78 */ mr r27, r3 +/* 80354904 00351864 7C DC 33 78 */ mr r28, r6 +/* 80354908 00351868 7C 9F 23 78 */ mr r31, r4 +/* 8035490C 0035186C 7C BE 2B 78 */ mr r30, r5 +/* 80354910 00351870 3B A0 00 00 */ li r29, 0 +/* 80354914 00351874 48 00 00 38 */ b lbl_8035494C +lbl_80354918: +/* 80354918 00351878 7F E5 FB 78 */ mr r5, r31 +/* 8035491C 0035187C 38 61 00 08 */ addi r3, r1, 8 +/* 80354920 00351880 38 9B 00 50 */ addi r4, r27, 0x50 +/* 80354924 00351884 4B FB B9 71 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 80354928 00351888 C0 01 00 08 */ lfs f0, 8(r1) +/* 8035492C 0035188C 3B FF 00 0C */ addi r31, r31, 0xc +/* 80354930 00351890 3B BD 00 01 */ addi r29, r29, 1 +/* 80354934 00351894 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80354938 00351898 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8035493C 0035189C D0 1E 00 04 */ stfs f0, 4(r30) +/* 80354940 003518A0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80354944 003518A4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80354948 003518A8 3B DE 00 0C */ addi r30, r30, 0xc +lbl_8035494C: +/* 8035494C 003518AC 7C 1D E0 00 */ cmpw r29, r28 +/* 80354950 003518B0 41 80 FF C8 */ blt lbl_80354918 +/* 80354954 003518B4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80354958 003518B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035495C 003518BC 7C 08 03 A6 */ mtlr r0 +/* 80354960 003518C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354964 003518C4 4E 80 00 20 */ blr + +.global BuildNormals__12CVirtualBoneCFPCUsPVvi +BuildNormals__12CVirtualBoneCFPCUsPVvi: +/* 80354968 003518C8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8035496C 003518CC 7C 08 02 A6 */ mflr r0 +/* 80354970 003518D0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80354974 003518D4 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 80354978 003518D8 7C DD 33 78 */ mr r29, r6 +/* 8035497C 003518DC 2C 1D 00 03 */ cmpwi r29, 3 +/* 80354980 003518E0 7C 7B 1B 78 */ mr r27, r3 +/* 80354984 003518E4 7C 9E 23 78 */ mr r30, r4 +/* 80354988 003518E8 7C BC 2B 78 */ mr r28, r5 +/* 8035498C 003518EC 40 80 00 4C */ bge lbl_803549D8 +/* 80354990 003518F0 7F DF F3 78 */ mr r31, r30 +/* 80354994 003518F4 3B C0 00 00 */ li r30, 0 +/* 80354998 003518F8 48 00 00 34 */ b lbl_803549CC +lbl_8035499C: +/* 8035499C 003518FC 7F E5 FB 78 */ mr r5, r31 +/* 803549A0 00351900 38 61 00 14 */ addi r3, r1, 0x14 +/* 803549A4 00351904 38 9B 00 50 */ addi r4, r27, 0x50 +/* 803549A8 00351908 4B FB B8 ED */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 803549AC 0035190C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803549B0 00351910 3B FF 00 0C */ addi r31, r31, 0xc +/* 803549B4 00351914 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 803549B8 00351918 3B DE 00 01 */ addi r30, r30, 1 +/* 803549BC 0035191C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 803549C0 00351920 D0 1C 00 00 */ stfs f0, 0(r28) +/* 803549C4 00351924 D0 3C 00 00 */ stfs f1, 0(r28) +/* 803549C8 00351928 D0 5C 00 00 */ stfs f2, 0(r28) +lbl_803549CC: +/* 803549CC 0035192C 7C 1E E8 00 */ cmpw r30, r29 +/* 803549D0 00351930 41 80 FF CC */ blt lbl_8035499C +/* 803549D4 00351934 48 00 00 48 */ b lbl_80354A1C +lbl_803549D8: +/* 803549D8 00351938 C0 02 CC A0 */ lfs f0, lbl_805AE9C0@sda21(r2) +/* 803549DC 0035193C 38 61 00 50 */ addi r3, r1, 0x50 +/* 803549E0 00351940 38 9B 00 50 */ addi r4, r27, 0x50 +/* 803549E4 00351944 38 A1 00 08 */ addi r5, r1, 8 +/* 803549E8 00351948 D0 01 00 08 */ stfs f0, 8(r1) +/* 803549EC 0035194C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803549F0 00351950 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803549F4 00351954 4B FB E8 85 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 803549F8 00351958 38 61 00 50 */ addi r3, r1, 0x50 +/* 803549FC 0035195C 48 00 04 79 */ bl nullsub_22 +/* 80354A00 00351960 38 81 00 20 */ addi r4, r1, 0x20 +/* 80354A04 00351964 48 02 8C CD */ bl PSMTXReorder +/* 80354A08 00351968 7F C4 F3 78 */ mr r4, r30 +/* 80354A0C 0035196C 7F 85 E3 78 */ mr r5, r28 +/* 80354A10 00351970 7F A6 EB 78 */ mr r6, r29 +/* 80354A14 00351974 38 61 00 20 */ addi r3, r1, 0x20 +/* 80354A18 00351978 4B FF FD BD */ bl sub_803547d4 +lbl_80354A1C: +/* 80354A1C 0035197C BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80354A20 00351980 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80354A24 00351984 7C 08 03 A6 */ mtlr r0 +/* 80354A28 00351988 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80354A2C 0035198C 4E 80 00 20 */ blr + +.global BuildPoints__12CVirtualBoneCFPCUsPVvi +BuildPoints__12CVirtualBoneCFPCUsPVvi: +/* 80354A30 00351990 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80354A34 00351994 7C 08 02 A6 */ mflr r0 +/* 80354A38 00351998 90 01 00 64 */ stw r0, 0x64(r1) +/* 80354A3C 0035199C BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80354A40 003519A0 7C DD 33 78 */ mr r29, r6 +/* 80354A44 003519A4 2C 1D 00 03 */ cmpwi r29, 3 +/* 80354A48 003519A8 7C 7B 1B 78 */ mr r27, r3 +/* 80354A4C 003519AC 7C 9E 23 78 */ mr r30, r4 +/* 80354A50 003519B0 7C BC 2B 78 */ mr r28, r5 +/* 80354A54 003519B4 40 80 00 4C */ bge lbl_80354AA0 +/* 80354A58 003519B8 7F DF F3 78 */ mr r31, r30 +/* 80354A5C 003519BC 3B C0 00 00 */ li r30, 0 +/* 80354A60 003519C0 48 00 00 34 */ b lbl_80354A94 +lbl_80354A64: +/* 80354A64 003519C4 7F E5 FB 78 */ mr r5, r31 +/* 80354A68 003519C8 38 61 00 08 */ addi r3, r1, 8 +/* 80354A6C 003519CC 38 9B 00 20 */ addi r4, r27, 0x20 +/* 80354A70 003519D0 4B FB E0 79 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80354A74 003519D4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80354A78 003519D8 3B FF 00 0C */ addi r31, r31, 0xc +/* 80354A7C 003519DC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80354A80 003519E0 3B DE 00 01 */ addi r30, r30, 1 +/* 80354A84 003519E4 C0 01 00 08 */ lfs f0, 8(r1) +/* 80354A88 003519E8 D0 1C 00 00 */ stfs f0, 0(r28) +/* 80354A8C 003519EC D0 3C 00 00 */ stfs f1, 0(r28) +/* 80354A90 003519F0 D0 5C 00 00 */ stfs f2, 0(r28) +lbl_80354A94: +/* 80354A94 003519F4 7C 1E E8 00 */ cmpw r30, r29 +/* 80354A98 003519F8 41 80 FF CC */ blt lbl_80354A64 +/* 80354A9C 003519FC 48 00 00 28 */ b lbl_80354AC4 +lbl_80354AA0: +/* 80354AA0 00351A00 38 7B 00 20 */ addi r3, r27, 0x20 +/* 80354AA4 00351A04 48 00 03 D1 */ bl nullsub_22 +/* 80354AA8 00351A08 38 81 00 14 */ addi r4, r1, 0x14 +/* 80354AAC 00351A0C 48 02 8C 25 */ bl PSMTXReorder +/* 80354AB0 00351A10 7F C4 F3 78 */ mr r4, r30 +/* 80354AB4 00351A14 7F 85 E3 78 */ mr r5, r28 +/* 80354AB8 00351A18 7F A6 EB 78 */ mr r6, r29 +/* 80354ABC 00351A1C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80354AC0 00351A20 4B FF FD 15 */ bl sub_803547d4 +lbl_80354AC4: +/* 80354AC4 00351A24 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80354AC8 00351A28 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80354ACC 00351A2C 7C 08 03 A6 */ mtlr r0 +/* 80354AD0 00351A30 38 21 00 60 */ addi r1, r1, 0x60 +/* 80354AD4 00351A34 4E 80 00 20 */ blr + +.global sub_80354ad8 +sub_80354ad8: +/* 80354AD8 00351A38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80354ADC 00351A3C 7C 08 02 A6 */ mflr r0 +/* 80354AE0 00351A40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354AE4 00351A44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80354AE8 00351A48 7C 9F 23 78 */ mr r31, r4 +/* 80354AEC 00351A4C 93 C1 00 08 */ stw r30, 8(r1) +/* 80354AF0 00351A50 7C 7E 1B 78 */ mr r30, r3 +/* 80354AF4 00351A54 48 00 00 35 */ bl sub_80354b28 +/* 80354AF8 00351A58 7F E3 FB 78 */ mr r3, r31 +/* 80354AFC 00351A5C 38 9E 00 04 */ addi r4, r30, 4 +/* 80354B00 00351A60 48 01 44 9D */ bl GetRotation__17CPoseAsTransformsCFRC6CSegId +/* 80354B04 00351A64 7C 64 1B 78 */ mr r4, r3 +/* 80354B08 00351A68 38 7E 00 50 */ addi r3, r30, 0x50 +/* 80354B0C 00351A6C 4B FB B4 ED */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 80354B10 00351A70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80354B14 00351A74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80354B18 00351A78 83 C1 00 08 */ lwz r30, 8(r1) +/* 80354B1C 00351A7C 7C 08 03 A6 */ mtlr r0 +/* 80354B20 00351A80 38 21 00 10 */ addi r1, r1, 0x10 +/* 80354B24 00351A84 4E 80 00 20 */ blr + +.global sub_80354b28 +sub_80354b28: +/* 80354B28 00351A88 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80354B2C 00351A8C 7C 08 02 A6 */ mflr r0 +/* 80354B30 00351A90 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80354B34 00351A94 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80354B38 00351A98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80354B3C 00351A9C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80354B40 00351AA0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80354B44 00351AA4 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80354B48 00351AA8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80354B4C 00351AAC BF 21 00 74 */ stmw r25, 0x74(r1) +/* 80354B50 00351AB0 7C 7D 1B 78 */ mr r29, r3 +/* 80354B54 00351AB4 7C 9E 23 78 */ mr r30, r4 +/* 80354B58 00351AB8 80 03 00 00 */ lwz r0, 0(r3) +/* 80354B5C 00351ABC 7C BF 2B 78 */ mr r31, r5 +/* 80354B60 00351AC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80354B64 00351AC4 41 82 00 50 */ beq lbl_80354BB4 +/* 80354B68 00351AC8 40 80 00 10 */ bge lbl_80354B78 +/* 80354B6C 00351ACC 2C 00 00 01 */ cmpwi r0, 1 +/* 80354B70 00351AD0 40 80 00 14 */ bge lbl_80354B84 +/* 80354B74 00351AD4 48 00 01 D0 */ b lbl_80354D44 +lbl_80354B78: +/* 80354B78 00351AD8 2C 00 00 04 */ cmpwi r0, 4 +/* 80354B7C 00351ADC 40 80 01 C8 */ bge lbl_80354D44 +/* 80354B80 00351AE0 48 00 00 98 */ b lbl_80354C18 +lbl_80354B84: +/* 80354B84 00351AE4 88 1D 00 04 */ lbz r0, 4(r29) +/* 80354B88 00351AE8 7F C3 F3 78 */ mr r3, r30 +/* 80354B8C 00351AEC 38 81 00 08 */ addi r4, r1, 8 +/* 80354B90 00351AF0 98 01 00 08 */ stb r0, 8(r1) +/* 80354B94 00351AF4 48 01 43 E9 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354B98 00351AF8 88 01 00 08 */ lbz r0, 8(r1) +/* 80354B9C 00351AFC 7C 64 1B 78 */ mr r4, r3 +/* 80354BA0 00351B00 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354BA4 00351B04 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354BA8 00351B08 7C BF 02 14 */ add r5, r31, r0 +/* 80354BAC 00351B0C 48 00 02 81 */ bl sub_80354e2c +/* 80354BB0 00351B10 48 00 01 A4 */ b lbl_80354D54 +lbl_80354BB4: +/* 80354BB4 00351B14 3B 9D 00 04 */ addi r28, r29, 4 +/* 80354BB8 00351B18 C3 FD 00 08 */ lfs f31, 8(r29) +/* 80354BBC 00351B1C C3 DD 00 10 */ lfs f30, 0x10(r29) +/* 80354BC0 00351B20 3B 7D 00 0C */ addi r27, r29, 0xc +/* 80354BC4 00351B24 7F C3 F3 78 */ mr r3, r30 +/* 80354BC8 00351B28 7F 84 E3 78 */ mr r4, r28 +/* 80354BCC 00351B2C 48 01 43 B1 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354BD0 00351B30 7C 60 1B 78 */ mr r0, r3 +/* 80354BD4 00351B34 7F C3 F3 78 */ mr r3, r30 +/* 80354BD8 00351B38 7C 1A 03 78 */ mr r26, r0 +/* 80354BDC 00351B3C 7F 64 DB 78 */ mr r4, r27 +/* 80354BE0 00351B40 48 01 43 9D */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354BE4 00351B44 88 9C 00 00 */ lbz r4, 0(r28) +/* 80354BE8 00351B48 7C 66 1B 78 */ mr r6, r3 +/* 80354BEC 00351B4C 88 1B 00 00 */ lbz r0, 0(r27) +/* 80354BF0 00351B50 FC 20 F8 90 */ fmr f1, f31 +/* 80354BF4 00351B54 1C A4 00 0C */ mulli r5, r4, 0xc +/* 80354BF8 00351B58 FC 40 F0 90 */ fmr f2, f30 +/* 80354BFC 00351B5C 7F 44 D3 78 */ mr r4, r26 +/* 80354C00 00351B60 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354C04 00351B64 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354C08 00351B68 7C BF 2A 14 */ add r5, r31, r5 +/* 80354C0C 00351B6C 7C FF 02 14 */ add r7, r31, r0 +/* 80354C10 00351B70 48 00 01 71 */ bl sub_80354d80 +/* 80354C14 00351B74 48 00 01 40 */ b lbl_80354D54 +lbl_80354C18: +/* 80354C18 00351B78 3B 9D 00 04 */ addi r28, r29, 4 +/* 80354C1C 00351B7C C3 DD 00 08 */ lfs f30, 8(r29) +/* 80354C20 00351B80 C3 BD 00 10 */ lfs f29, 0x10(r29) +/* 80354C24 00351B84 3B 7D 00 0C */ addi r27, r29, 0xc +/* 80354C28 00351B88 C3 FD 00 18 */ lfs f31, 0x18(r29) +/* 80354C2C 00351B8C 3B 5D 00 14 */ addi r26, r29, 0x14 +/* 80354C30 00351B90 7F C3 F3 78 */ mr r3, r30 +/* 80354C34 00351B94 7F 84 E3 78 */ mr r4, r28 +/* 80354C38 00351B98 48 01 43 45 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354C3C 00351B9C 7C 60 1B 78 */ mr r0, r3 +/* 80354C40 00351BA0 7F C3 F3 78 */ mr r3, r30 +/* 80354C44 00351BA4 7C 19 03 78 */ mr r25, r0 +/* 80354C48 00351BA8 7F 64 DB 78 */ mr r4, r27 +/* 80354C4C 00351BAC 48 01 43 31 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354C50 00351BB0 FC 20 F0 90 */ fmr f1, f30 +/* 80354C54 00351BB4 7C 65 1B 78 */ mr r5, r3 +/* 80354C58 00351BB8 FC 40 E8 90 */ fmr f2, f29 +/* 80354C5C 00351BBC 7F 24 CB 78 */ mr r4, r25 +/* 80354C60 00351BC0 38 61 00 48 */ addi r3, r1, 0x48 +/* 80354C64 00351BC4 4B FB B9 61 */ bl __ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff +/* 80354C68 00351BC8 88 9B 00 00 */ lbz r4, 0(r27) +/* 80354C6C 00351BCC FC 20 F8 90 */ fmr f1, f31 +/* 80354C70 00351BD0 88 1C 00 00 */ lbz r0, 0(r28) +/* 80354C74 00351BD4 7F C3 F3 78 */ mr r3, r30 +/* 80354C78 00351BD8 1C C4 00 0C */ mulli r6, r4, 0xc +/* 80354C7C 00351BDC 7F 44 D3 78 */ mr r4, r26 +/* 80354C80 00351BE0 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80354C84 00351BE4 7C DF 32 14 */ add r6, r31, r6 +/* 80354C88 00351BE8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354C8C 00351BEC C0 66 00 04 */ lfs f3, 4(r6) +/* 80354C90 00351BF0 C0 46 00 08 */ lfs f2, 8(r6) +/* 80354C94 00351BF4 C0 06 00 00 */ lfs f0, 0(r6) +/* 80354C98 00351BF8 EC BD 00 F2 */ fmuls f5, f29, f3 +/* 80354C9C 00351BFC 7C DF 02 14 */ add r6, r31, r0 +/* 80354CA0 00351C00 C0 C6 00 04 */ lfs f6, 4(r6) +/* 80354CA4 00351C04 EC 7D 00 B2 */ fmuls f3, f29, f2 +/* 80354CA8 00351C08 C0 86 00 08 */ lfs f4, 8(r6) +/* 80354CAC 00351C0C EC 1D 00 32 */ fmuls f0, f29, f0 +/* 80354CB0 00351C10 C0 46 00 00 */ lfs f2, 0(r6) +/* 80354CB4 00351C14 EC DE 01 B2 */ fmuls f6, f30, f6 +/* 80354CB8 00351C18 EC 9E 01 32 */ fmuls f4, f30, f4 +/* 80354CBC 00351C1C EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 80354CC0 00351C20 EC A6 28 2A */ fadds f5, f6, f5 +/* 80354CC4 00351C24 EC 64 18 2A */ fadds f3, f4, f3 +/* 80354CC8 00351C28 EC 02 00 2A */ fadds f0, f2, f0 +/* 80354CCC 00351C2C D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80354CD0 00351C30 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80354CD4 00351C34 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80354CD8 00351C38 48 01 42 39 */ bl AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff +/* 80354CDC 00351C3C 88 1A 00 00 */ lbz r0, 0(r26) +/* 80354CE0 00351C40 38 61 00 18 */ addi r3, r1, 0x18 +/* 80354CE4 00351C44 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80354CE8 00351C48 38 81 00 48 */ addi r4, r1, 0x48 +/* 80354CEC 00351C4C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354CF0 00351C50 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80354CF4 00351C54 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80354CF8 00351C58 38 A1 00 0C */ addi r5, r1, 0xc +/* 80354CFC 00351C5C 7C DF 02 14 */ add r6, r31, r0 +/* 80354D00 00351C60 C0 A6 00 04 */ lfs f5, 4(r6) +/* 80354D04 00351C64 C0 86 00 08 */ lfs f4, 8(r6) +/* 80354D08 00351C68 C0 46 00 00 */ lfs f2, 0(r6) +/* 80354D0C 00351C6C EC BF 01 72 */ fmuls f5, f31, f5 +/* 80354D10 00351C70 EC 9F 01 32 */ fmuls f4, f31, f4 +/* 80354D14 00351C74 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80354D18 00351C78 EC 21 28 2A */ fadds f1, f1, f5 +/* 80354D1C 00351C7C EC 00 20 2A */ fadds f0, f0, f4 +/* 80354D20 00351C80 EC 43 10 2A */ fadds f2, f3, f2 +/* 80354D24 00351C84 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80354D28 00351C88 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80354D2C 00351C8C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80354D30 00351C90 4B FB E5 49 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80354D34 00351C94 7C 64 1B 78 */ mr r4, r3 +/* 80354D38 00351C98 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354D3C 00351C9C 4B FB DE 05 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80354D40 00351CA0 48 00 00 14 */ b lbl_80354D54 +lbl_80354D44: +/* 80354D44 00351CA4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80354D48 00351CA8 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354D4C 00351CAC 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80354D50 00351CB0 4B FB DD F1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80354D54: +/* 80354D54 00351CB4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80354D58 00351CB8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80354D5C 00351CBC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80354D60 00351CC0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80354D64 00351CC4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80354D68 00351CC8 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 80354D6C 00351CCC BB 21 00 74 */ lmw r25, 0x74(r1) +/* 80354D70 00351CD0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80354D74 00351CD4 7C 08 03 A6 */ mtlr r0 +/* 80354D78 00351CD8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80354D7C 00351CDC 4E 80 00 20 */ blr + +.global sub_80354d80 +sub_80354d80: +/* 80354D80 00351CE0 FC 80 08 90 */ fmr f4, f1 +/* 80354D84 00351CE4 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 +/* 80354D88 00351CE8 E0 A5 00 00 */ psq_l f5, 0(r5), 0, qr0 +/* 80354D8C 00351CEC E0 24 80 08 */ psq_l f1, 8(r4), 1, qr0 +/* 80354D90 00351CF0 10 E4 14 20 */ ps_merge00 f7, f4, f2 +/* 80354D94 00351CF4 E0 64 80 14 */ psq_l f3, 20(r4), 1, qr0 +/* 80354D98 00351CF8 10 21 2C 20 */ ps_merge00 f1, f1, f5 +/* 80354D9C 00351CFC E0 44 00 0C */ psq_l f2, 12(r4), 0, qr0 +/* 80354DA0 00351D00 10 63 2C 60 */ ps_merge01 f3, f3, f5 +/* 80354DA4 00351D04 E0 84 00 18 */ psq_l f4, 24(r4), 0, qr0 +/* 80354DA8 00351D08 10 00 01 D8 */ ps_muls0 f0, f0, f7 +/* 80354DAC 00351D0C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80354DB0 00351D10 E1 07 00 00 */ psq_l f8, 0(r7), 0, qr0 +/* 80354DB4 00351D14 10 21 01 D8 */ ps_muls0 f1, f1, f7 +/* 80354DB8 00351D18 E1 26 80 08 */ psq_l f9, 8(r6), 1, qr0 +/* 80354DBC 00351D1C 10 42 01 D8 */ ps_muls0 f2, f2, f7 +/* 80354DC0 00351D20 10 06 01 DE */ ps_madds1 f0, f6, f7, f0 +/* 80354DC4 00351D24 E1 66 80 14 */ psq_l f11, 20(r6), 1, qr0 +/* 80354DC8 00351D28 11 29 44 20 */ ps_merge00 f9, f9, f8 +/* 80354DCC 00351D2C E1 46 00 0C */ psq_l f10, 12(r6), 0, qr0 +/* 80354DD0 00351D30 E0 C5 80 08 */ psq_l f6, 8(r5), 1, qr0 +/* 80354DD4 00351D34 11 6B 44 60 */ ps_merge01 f11, f11, f8 +/* 80354DD8 00351D38 E0 A4 80 20 */ psq_l f5, 32(r4), 1, qr0 +/* 80354DDC 00351D3C 10 63 01 D8 */ ps_muls0 f3, f3, f7 +/* 80354DE0 00351D40 10 29 09 DE */ ps_madds1 f1, f9, f7, f1 +/* 80354DE4 00351D44 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 +/* 80354DE8 00351D48 10 A5 34 20 */ ps_merge00 f5, f5, f6 +/* 80354DEC 00351D4C 10 4A 11 DE */ ps_madds1 f2, f10, f7, f2 +/* 80354DF0 00351D50 E0 C6 00 18 */ psq_l f6, 24(r6), 0, qr0 +/* 80354DF4 00351D54 10 84 01 D8 */ ps_muls0 f4, f4, f7 +/* 80354DF8 00351D58 E1 26 80 20 */ psq_l f9, 32(r6), 1, qr0 +/* 80354DFC 00351D5C 10 6B 19 DE */ ps_madds1 f3, f11, f7, f3 +/* 80354E00 00351D60 E0 07 80 08 */ psq_l f0, 8(r7), 1, qr0 +/* 80354E04 00351D64 10 A5 01 D8 */ ps_muls0 f5, f5, f7 +/* 80354E08 00351D68 F0 23 00 08 */ psq_st f1, 8(r3), 0, qr0 +/* 80354E0C 00351D6C 11 29 04 20 */ ps_merge00 f9, f9, f0 +/* 80354E10 00351D70 10 86 21 DE */ ps_madds1 f4, f6, f7, f4 +/* 80354E14 00351D74 F0 43 00 10 */ psq_st f2, 16(r3), 0, qr0 +/* 80354E18 00351D78 10 A9 29 DE */ ps_madds1 f5, f9, f7, f5 +/* 80354E1C 00351D7C F0 63 00 18 */ psq_st f3, 24(r3), 0, qr0 +/* 80354E20 00351D80 F0 83 00 20 */ psq_st f4, 32(r3), 0, qr0 +/* 80354E24 00351D84 F0 A3 00 28 */ psq_st f5, 40(r3), 0, qr0 +/* 80354E28 00351D88 4E 80 00 20 */ blr + +.global sub_80354e2c +sub_80354e2c: +/* 80354E2C 00351D8C E0 05 00 00 */ psq_l f0, 0(r5), 0, qr0 +/* 80354E30 00351D90 E0 24 80 08 */ psq_l f1, 8(r4), 1, qr0 +/* 80354E34 00351D94 E0 64 80 14 */ psq_l f3, 20(r4), 1, qr0 +/* 80354E38 00351D98 E0 85 80 08 */ psq_l f4, 8(r5), 1, qr0 +/* 80354E3C 00351D9C 10 21 04 20 */ ps_merge00 f1, f1, f0 +/* 80354E40 00351DA0 E0 A4 80 20 */ psq_l f5, 32(r4), 1, qr0 +/* 80354E44 00351DA4 10 63 04 60 */ ps_merge01 f3, f3, f0 +/* 80354E48 00351DA8 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 +/* 80354E4C 00351DAC E0 44 00 0C */ psq_l f2, 12(r4), 0, qr0 +/* 80354E50 00351DB0 10 A5 24 20 */ ps_merge00 f5, f5, f4 +/* 80354E54 00351DB4 E0 84 00 18 */ psq_l f4, 24(r4), 0, qr0 +/* 80354E58 00351DB8 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 +/* 80354E5C 00351DBC F0 23 00 08 */ psq_st f1, 8(r3), 0, qr0 +/* 80354E60 00351DC0 F0 43 00 10 */ psq_st f2, 16(r3), 0, qr0 +/* 80354E64 00351DC4 F0 63 00 18 */ psq_st f3, 24(r3), 0, qr0 +/* 80354E68 00351DC8 F0 83 00 20 */ psq_st f4, 32(r3), 0, qr0 +/* 80354E6C 00351DCC F0 A3 00 28 */ psq_st f5, 40(r3), 0, qr0 +/* 80354E70 00351DD0 4E 80 00 20 */ blr + +.global nullsub_22 +nullsub_22: +/* 80354E74 00351DD4 4E 80 00 20 */ blr + +.global __ct__12CVirtualBoneFR12CInputStream +__ct__12CVirtualBoneFR12CInputStream: +/* 80354E78 00351DD8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80354E7C 00351DDC 7C 08 02 A6 */ mflr r0 +/* 80354E80 00351DE0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80354E84 00351DE4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80354E88 00351DE8 7C 7F 1B 78 */ mr r31, r3 +/* 80354E8C 00351DEC 38 61 00 08 */ addi r3, r1, 8 +/* 80354E90 00351DF0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80354E94 00351DF4 7C 9E 23 78 */ mr r30, r4 +/* 80354E98 00351DF8 48 00 00 E5 */ bl StreamInSkinWeighting__FR12CInputStream +/* 80354E9C 00351DFC 80 01 00 08 */ lwz r0, 8(r1) +/* 80354EA0 00351E00 38 9F 00 04 */ addi r4, r31, 4 +/* 80354EA4 00351E04 38 61 00 0C */ addi r3, r1, 0xc +/* 80354EA8 00351E08 90 1F 00 00 */ stw r0, 0(r31) +/* 80354EAC 00351E0C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80354EB0 00351E10 7C 09 03 A6 */ mtctr r0 +/* 80354EB4 00351E14 2C 00 00 00 */ cmpwi r0, 0 +/* 80354EB8 00351E18 40 81 00 28 */ ble lbl_80354EE0 +lbl_80354EBC: +/* 80354EBC 00351E1C 28 04 00 00 */ cmplwi r4, 0 +/* 80354EC0 00351E20 41 82 00 14 */ beq lbl_80354ED4 +/* 80354EC4 00351E24 88 03 00 00 */ lbz r0, 0(r3) +/* 80354EC8 00351E28 98 04 00 00 */ stb r0, 0(r4) +/* 80354ECC 00351E2C C0 03 00 04 */ lfs f0, 4(r3) +/* 80354ED0 00351E30 D0 04 00 04 */ stfs f0, 4(r4) +lbl_80354ED4: +/* 80354ED4 00351E34 38 84 00 08 */ addi r4, r4, 8 +/* 80354ED8 00351E38 38 63 00 08 */ addi r3, r3, 8 +/* 80354EDC 00351E3C 42 00 FF E0 */ bdnz lbl_80354EBC +lbl_80354EE0: +/* 80354EE0 00351E40 80 A1 00 08 */ lwz r5, 8(r1) +/* 80354EE4 00351E44 38 60 00 00 */ li r3, 0 +/* 80354EE8 00351E48 2C 05 00 00 */ cmpwi r5, 0 +/* 80354EEC 00351E4C 40 81 00 40 */ ble lbl_80354F2C +/* 80354EF0 00351E50 2C 05 00 08 */ cmpwi r5, 8 +/* 80354EF4 00351E54 38 85 FF F8 */ addi r4, r5, -8 +/* 80354EF8 00351E58 40 81 00 20 */ ble lbl_80354F18 +/* 80354EFC 00351E5C 38 04 00 07 */ addi r0, r4, 7 +/* 80354F00 00351E60 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354F04 00351E64 7C 09 03 A6 */ mtctr r0 +/* 80354F08 00351E68 2C 04 00 00 */ cmpwi r4, 0 +/* 80354F0C 00351E6C 40 81 00 0C */ ble lbl_80354F18 +lbl_80354F10: +/* 80354F10 00351E70 38 63 00 08 */ addi r3, r3, 8 +/* 80354F14 00351E74 42 00 FF FC */ bdnz lbl_80354F10 +lbl_80354F18: +/* 80354F18 00351E78 7C 03 28 50 */ subf r0, r3, r5 +/* 80354F1C 00351E7C 7C 09 03 A6 */ mtctr r0 +/* 80354F20 00351E80 7C 03 28 00 */ cmpw r3, r5 +/* 80354F24 00351E84 40 80 00 08 */ bge lbl_80354F2C +lbl_80354F28: +/* 80354F28 00351E88 42 00 00 00 */ bdnz lbl_80354F28 +lbl_80354F2C: +/* 80354F2C 00351E8C 38 00 00 00 */ li r0, 0 +/* 80354F30 00351E90 7F C3 F3 78 */ mr r3, r30 +/* 80354F34 00351E94 90 01 00 08 */ stw r0, 8(r1) +/* 80354F38 00351E98 4B FE 9D 4D */ bl ReadLong__12CInputStreamFv +/* 80354F3C 00351E9C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80354F40 00351EA0 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80354F44 00351EA4 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80354F48 00351EA8 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80354F4C 00351EAC 4B FB DC 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80354F50 00351EB0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 80354F54 00351EB4 38 7F 00 50 */ addi r3, r31, 0x50 +/* 80354F58 00351EB8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 80354F5C 00351EBC 4B FB B0 C9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80354F60 00351EC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80354F64 00351EC4 7F E3 FB 78 */ mr r3, r31 +/* 80354F68 00351EC8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80354F6C 00351ECC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80354F70 00351ED0 7C 08 03 A6 */ mtlr r0 +/* 80354F74 00351ED4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354F78 00351ED8 4E 80 00 20 */ blr + +.global StreamInSkinWeighting__FR12CInputStream +StreamInSkinWeighting__FR12CInputStream: +/* 80354F7C 00351EDC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80354F80 00351EE0 7C 08 02 A6 */ mflr r0 +/* 80354F84 00351EE4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80354F88 00351EE8 38 00 00 00 */ li r0, 0 +/* 80354F8C 00351EEC BF 41 00 28 */ stmw r26, 0x28(r1) +/* 80354F90 00351EF0 7C 9F 23 78 */ mr r31, r4 +/* 80354F94 00351EF4 7C 7E 1B 78 */ mr r30, r3 +/* 80354F98 00351EF8 90 01 00 08 */ stw r0, 8(r1) +/* 80354F9C 00351EFC 7F E3 FB 78 */ mr r3, r31 +/* 80354FA0 00351F00 4B FE 9C E5 */ bl ReadLong__12CInputStreamFv +/* 80354FA4 00351F04 7C 7C 1B 78 */ mr r28, r3 +/* 80354FA8 00351F08 2C 1C 00 03 */ cmpwi r28, 3 +/* 80354FAC 00351F0C 40 81 00 78 */ ble lbl_80355024 +/* 80354FB0 00351F10 3B 40 00 00 */ li r26, 0 +/* 80354FB4 00351F14 3B 61 00 0C */ addi r27, r1, 0xc +lbl_80354FB8: +/* 80354FB8 00351F18 7F E3 FB 78 */ mr r3, r31 +/* 80354FBC 00351F1C 4B FE 9C C9 */ bl ReadLong__12CInputStreamFv +/* 80354FC0 00351F20 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 80354FC4 00351F24 7F E3 FB 78 */ mr r3, r31 +/* 80354FC8 00351F28 4B FE 9C 61 */ bl ReadFloat__12CInputStreamFv +/* 80354FCC 00351F2C 80 01 00 08 */ lwz r0, 8(r1) +/* 80354FD0 00351F30 54 00 18 38 */ slwi r0, r0, 3 +/* 80354FD4 00351F34 7C 7B 02 15 */ add. r3, r27, r0 +/* 80354FD8 00351F38 41 82 00 0C */ beq lbl_80354FE4 +/* 80354FDC 00351F3C 9B A3 00 00 */ stb r29, 0(r3) +/* 80354FE0 00351F40 D0 23 00 04 */ stfs f1, 4(r3) +lbl_80354FE4: +/* 80354FE4 00351F44 80 61 00 08 */ lwz r3, 8(r1) +/* 80354FE8 00351F48 3B 5A 00 01 */ addi r26, r26, 1 +/* 80354FEC 00351F4C 2C 1A 00 03 */ cmpwi r26, 3 +/* 80354FF0 00351F50 38 03 00 01 */ addi r0, r3, 1 +/* 80354FF4 00351F54 90 01 00 08 */ stw r0, 8(r1) +/* 80354FF8 00351F58 41 80 FF C0 */ blt lbl_80354FB8 +/* 80354FFC 00351F5C 3B 40 00 03 */ li r26, 3 +/* 80355000 00351F60 48 00 00 18 */ b lbl_80355018 +lbl_80355004: +/* 80355004 00351F64 7F E3 FB 78 */ mr r3, r31 +/* 80355008 00351F68 4B FE 9C 7D */ bl ReadLong__12CInputStreamFv +/* 8035500C 00351F6C 7F E3 FB 78 */ mr r3, r31 +/* 80355010 00351F70 4B FE 9C 19 */ bl ReadFloat__12CInputStreamFv +/* 80355014 00351F74 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80355018: +/* 80355018 00351F78 7C 1A E0 00 */ cmpw r26, r28 +/* 8035501C 00351F7C 41 80 FF E8 */ blt lbl_80355004 +/* 80355020 00351F80 48 00 00 54 */ b lbl_80355074 +lbl_80355024: +/* 80355024 00351F84 3B 61 00 0C */ addi r27, r1, 0xc +/* 80355028 00351F88 3B 40 00 00 */ li r26, 0 +/* 8035502C 00351F8C 48 00 00 40 */ b lbl_8035506C +lbl_80355030: +/* 80355030 00351F90 7F E3 FB 78 */ mr r3, r31 +/* 80355034 00351F94 4B FE 9C 51 */ bl ReadLong__12CInputStreamFv +/* 80355038 00351F98 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 8035503C 00351F9C 7F E3 FB 78 */ mr r3, r31 +/* 80355040 00351FA0 4B FE 9B E9 */ bl ReadFloat__12CInputStreamFv +/* 80355044 00351FA4 80 01 00 08 */ lwz r0, 8(r1) +/* 80355048 00351FA8 54 00 18 38 */ slwi r0, r0, 3 +/* 8035504C 00351FAC 7C 7B 02 15 */ add. r3, r27, r0 +/* 80355050 00351FB0 41 82 00 0C */ beq lbl_8035505C +/* 80355054 00351FB4 9B A3 00 00 */ stb r29, 0(r3) +/* 80355058 00351FB8 D0 23 00 04 */ stfs f1, 4(r3) +lbl_8035505C: +/* 8035505C 00351FBC 80 61 00 08 */ lwz r3, 8(r1) +/* 80355060 00351FC0 3B 5A 00 01 */ addi r26, r26, 1 +/* 80355064 00351FC4 38 03 00 01 */ addi r0, r3, 1 +/* 80355068 00351FC8 90 01 00 08 */ stw r0, 8(r1) +lbl_8035506C: +/* 8035506C 00351FCC 7C 1A E0 00 */ cmpw r26, r28 +/* 80355070 00351FD0 41 80 FF C0 */ blt lbl_80355030 +lbl_80355074: +/* 80355074 00351FD4 80 01 00 08 */ lwz r0, 8(r1) +/* 80355078 00351FD8 38 81 00 0C */ addi r4, r1, 0xc +/* 8035507C 00351FDC 38 7E 00 04 */ addi r3, r30, 4 +/* 80355080 00351FE0 90 1E 00 00 */ stw r0, 0(r30) +/* 80355084 00351FE4 80 1E 00 00 */ lwz r0, 0(r30) +/* 80355088 00351FE8 7C 09 03 A6 */ mtctr r0 +/* 8035508C 00351FEC 2C 00 00 00 */ cmpwi r0, 0 +/* 80355090 00351FF0 40 81 00 28 */ ble lbl_803550B8 +lbl_80355094: +/* 80355094 00351FF4 28 03 00 00 */ cmplwi r3, 0 +/* 80355098 00351FF8 41 82 00 14 */ beq lbl_803550AC +/* 8035509C 00351FFC 88 04 00 00 */ lbz r0, 0(r4) +/* 803550A0 00352000 C0 04 00 04 */ lfs f0, 4(r4) +/* 803550A4 00352004 98 03 00 00 */ stb r0, 0(r3) +/* 803550A8 00352008 D0 03 00 04 */ stfs f0, 4(r3) +lbl_803550AC: +/* 803550AC 0035200C 38 63 00 08 */ addi r3, r3, 8 +/* 803550B0 00352010 38 84 00 08 */ addi r4, r4, 8 +/* 803550B4 00352014 42 00 FF E0 */ bdnz lbl_80355094 +lbl_803550B8: +/* 803550B8 00352018 80 A1 00 08 */ lwz r5, 8(r1) +/* 803550BC 0035201C 38 60 00 00 */ li r3, 0 +/* 803550C0 00352020 2C 05 00 00 */ cmpwi r5, 0 +/* 803550C4 00352024 40 81 00 40 */ ble lbl_80355104 +/* 803550C8 00352028 2C 05 00 08 */ cmpwi r5, 8 +/* 803550CC 0035202C 38 85 FF F8 */ addi r4, r5, -8 +/* 803550D0 00352030 40 81 00 20 */ ble lbl_803550F0 +/* 803550D4 00352034 38 04 00 07 */ addi r0, r4, 7 +/* 803550D8 00352038 54 00 E8 FE */ srwi r0, r0, 3 +/* 803550DC 0035203C 7C 09 03 A6 */ mtctr r0 +/* 803550E0 00352040 2C 04 00 00 */ cmpwi r4, 0 +/* 803550E4 00352044 40 81 00 0C */ ble lbl_803550F0 +lbl_803550E8: +/* 803550E8 00352048 38 63 00 08 */ addi r3, r3, 8 +/* 803550EC 0035204C 42 00 FF FC */ bdnz lbl_803550E8 +lbl_803550F0: +/* 803550F0 00352050 7C 03 28 50 */ subf r0, r3, r5 +/* 803550F4 00352054 7C 09 03 A6 */ mtctr r0 +/* 803550F8 00352058 7C 03 28 00 */ cmpw r3, r5 +/* 803550FC 0035205C 40 80 00 08 */ bge lbl_80355104 +lbl_80355100: +/* 80355100 00352060 42 00 00 00 */ bdnz lbl_80355100 +lbl_80355104: +/* 80355104 00352064 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 80355108 00352068 38 00 00 00 */ li r0, 0 +/* 8035510C 0035206C 90 01 00 08 */ stw r0, 8(r1) +/* 80355110 00352070 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80355114 00352074 7C 08 03 A6 */ mtlr r0 +/* 80355118 00352078 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035511C 0035207C 4E 80 00 20 */ blr + +.global UpdateLastFrame__6CModelFv +UpdateLastFrame__6CModelFv: +/* 80355120 00352080 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355124 00352084 7C 08 02 A6 */ mflr r0 +/* 80355128 00352088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035512C 0035208C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355130 00352090 7C 7F 1B 78 */ mr r31, r3 +/* 80355134 00352094 4B FB 46 C9 */ bl GetFrameCounter__9CGraphicsFv +/* 80355138 00352098 90 7F 00 38 */ stw r3, 0x38(r31) +/* 8035513C 0035209C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355140 003520A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355144 003520A4 7C 08 03 A6 */ mtlr r0 +/* 80355148 003520A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035514C 003520AC 4E 80 00 20 */ blr + +.global sub_80355150 +sub_80355150: +/* 80355150 003520B0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80355154 003520B4 7C 08 02 A6 */ mflr r0 +/* 80355158 003520B8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8035515C 003520BC 38 00 00 00 */ li r0, 0 +/* 80355160 003520C0 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 80355164 003520C4 7C 7B 1B 78 */ mr r27, r3 +/* 80355168 003520C8 7C 9D 23 78 */ mr r29, r4 +/* 8035516C 003520CC 80 63 00 00 */ lwz r3, 0(r3) +/* 80355170 003520D0 90 1B 00 00 */ stw r0, 0(r27) +/* 80355174 003520D4 7F 83 E8 50 */ subf r28, r3, r29 +/* 80355178 003520D8 80 7B 00 00 */ lwz r3, 0(r27) +/* 8035517C 003520DC 4B FC 07 B5 */ bl Free__7CMemoryFPCv +/* 80355180 003520E0 93 BB 00 00 */ stw r29, 0(r27) +/* 80355184 003520E4 38 C0 00 00 */ li r6, 0 +/* 80355188 003520E8 38 A0 00 00 */ li r5, 0 +/* 8035518C 003520EC 48 00 00 28 */ b lbl_803551B4 +lbl_80355190: +/* 80355190 003520F0 80 7B 00 24 */ lwz r3, 0x24(r27) +/* 80355194 003520F4 38 85 00 10 */ addi r4, r5, 0x10 +/* 80355198 003520F8 7C 03 20 2E */ lwzx r0, r3, r4 +/* 8035519C 003520FC 28 00 00 00 */ cmplwi r0, 0 +/* 803551A0 00352100 41 82 00 0C */ beq lbl_803551AC +/* 803551A4 00352104 7C 00 E2 14 */ add r0, r0, r28 +/* 803551A8 00352108 7C 03 21 2E */ stwx r0, r3, r4 +lbl_803551AC: +/* 803551AC 0035210C 38 A5 00 14 */ addi r5, r5, 0x14 +/* 803551B0 00352110 38 C6 00 01 */ addi r6, r6, 1 +lbl_803551B4: +/* 803551B4 00352114 80 1B 00 1C */ lwz r0, 0x1c(r27) +/* 803551B8 00352118 7C 06 00 00 */ cmpw r6, r0 +/* 803551BC 0035211C 41 80 FF D4 */ blt lbl_80355190 +/* 803551C0 00352120 80 FB 00 28 */ lwz r7, 0x28(r27) +/* 803551C4 00352124 80 C7 00 08 */ lwz r6, 8(r7) +/* 803551C8 00352128 80 A7 00 0C */ lwz r5, 0xc(r7) +/* 803551CC 0035212C 80 87 00 10 */ lwz r4, 0x10(r7) +/* 803551D0 00352130 28 06 00 00 */ cmplwi r6, 0 +/* 803551D4 00352134 80 67 00 14 */ lwz r3, 0x14(r7) +/* 803551D8 00352138 80 07 00 18 */ lwz r0, 0x18(r7) +/* 803551DC 0035213C C0 07 00 20 */ lfs f0, 0x20(r7) +/* 803551E0 00352140 90 C1 00 30 */ stw r6, 0x30(r1) +/* 803551E4 00352144 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 803551E8 00352148 C0 07 00 24 */ lfs f0, 0x24(r7) +/* 803551EC 0035214C 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 803551F0 00352150 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 803551F4 00352154 C0 07 00 28 */ lfs f0, 0x28(r7) +/* 803551F8 00352158 90 81 00 28 */ stw r4, 0x28(r1) +/* 803551FC 0035215C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80355200 00352160 C0 07 00 2C */ lfs f0, 0x2c(r7) +/* 80355204 00352164 90 61 00 24 */ stw r3, 0x24(r1) +/* 80355208 00352168 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8035520C 0035216C C0 07 00 30 */ lfs f0, 0x30(r7) +/* 80355210 00352170 90 01 00 20 */ stw r0, 0x20(r1) +/* 80355214 00352174 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80355218 00352178 C0 07 00 34 */ lfs f0, 0x34(r7) +/* 8035521C 0035217C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80355220 00352180 88 07 00 40 */ lbz r0, 0x40(r7) +/* 80355224 00352184 8B C7 00 41 */ lbz r30, 0x41(r7) +/* 80355228 00352188 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8035522C 0035218C 83 A7 00 44 */ lwz r29, 0x44(r7) +/* 80355230 00352190 7C 00 00 34 */ cntlzw r0, r0 +/* 80355234 00352194 54 1F D9 7E */ srwi r31, r0, 5 +/* 80355238 00352198 41 82 00 0C */ beq lbl_80355244 +/* 8035523C 0035219C 7C 06 E2 14 */ add r0, r6, r28 +/* 80355240 003521A0 90 01 00 30 */ stw r0, 0x30(r1) +lbl_80355244: +/* 80355244 003521A4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80355248 003521A8 28 00 00 00 */ cmplwi r0, 0 +/* 8035524C 003521AC 41 82 00 0C */ beq lbl_80355258 +/* 80355250 003521B0 7C 00 E2 14 */ add r0, r0, r28 +/* 80355254 003521B4 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_80355258: +/* 80355258 003521B8 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8035525C 003521BC 28 00 00 00 */ cmplwi r0, 0 +/* 80355260 003521C0 41 82 00 0C */ beq lbl_8035526C +/* 80355264 003521C4 7C 00 E2 14 */ add r0, r0, r28 +/* 80355268 003521C8 90 01 00 28 */ stw r0, 0x28(r1) +lbl_8035526C: +/* 8035526C 003521CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355270 003521D0 28 00 00 00 */ cmplwi r0, 0 +/* 80355274 003521D4 41 82 00 0C */ beq lbl_80355280 +/* 80355278 003521D8 7C 00 E2 14 */ add r0, r0, r28 +/* 8035527C 003521DC 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80355280: +/* 80355280 003521E0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80355284 003521E4 28 00 00 00 */ cmplwi r0, 0 +/* 80355288 003521E8 41 82 00 0C */ beq lbl_80355294 +/* 8035528C 003521EC 7C 00 E2 14 */ add r0, r0, r28 +/* 80355290 003521F0 90 01 00 20 */ stw r0, 0x20(r1) +lbl_80355294: +/* 80355294 003521F4 38 A0 00 00 */ li r5, 0 +/* 80355298 003521F8 38 80 00 00 */ li r4, 0 +/* 8035529C 003521FC 48 00 00 24 */ b lbl_803552C0 +lbl_803552A0: +/* 803552A0 00352200 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 803552A4 00352204 7C 03 20 2E */ lwzx r0, r3, r4 +/* 803552A8 00352208 28 00 00 00 */ cmplwi r0, 0 +/* 803552AC 0035220C 41 82 00 0C */ beq lbl_803552B8 +/* 803552B0 00352210 7C 00 E2 14 */ add r0, r0, r28 +/* 803552B4 00352214 7C 03 21 2E */ stwx r0, r3, r4 +lbl_803552B8: +/* 803552B8 00352218 38 84 00 04 */ addi r4, r4, 4 +/* 803552BC 0035221C 38 A5 00 01 */ addi r5, r5, 1 +lbl_803552C0: +/* 803552C0 00352220 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 803552C4 00352224 7C 05 00 00 */ cmpw r5, r0 +/* 803552C8 00352228 41 80 FF D8 */ blt lbl_803552A0 +/* 803552CC 0035222C 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 803552D0 00352230 38 60 00 48 */ li r3, 0x48 +/* 803552D4 00352234 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 803552D8 00352238 38 A0 00 00 */ li r5, 0 +/* 803552DC 0035223C 4B FC 05 91 */ bl __nw__FUlPCcPCc +/* 803552E0 00352240 7C 7C 1B 79 */ or. r28, r3, r3 +/* 803552E4 00352244 41 82 00 44 */ beq lbl_80355328 +/* 803552E8 00352248 80 BB 00 24 */ lwz r5, 0x24(r27) +/* 803552EC 0035224C 38 01 00 34 */ addi r0, r1, 0x34 +/* 803552F0 00352250 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 803552F4 00352254 38 9B 00 08 */ addi r4, r27, 8 +/* 803552F8 00352258 80 E1 00 30 */ lwz r7, 0x30(r1) +/* 803552FC 0035225C 90 C1 00 08 */ stw r6, 8(r1) +/* 80355300 00352260 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 80355304 00352264 90 01 00 0C */ stw r0, 0xc(r1) +/* 80355308 00352268 81 21 00 28 */ lwz r9, 0x28(r1) +/* 8035530C 0035226C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80355310 00352270 81 41 00 24 */ lwz r10, 0x24(r1) +/* 80355314 00352274 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80355318 00352278 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8035531C 0035227C 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80355320 00352280 4B FB 26 35 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +/* 80355324 00352284 7C 7C 1B 78 */ mr r28, r3 +lbl_80355328: +/* 80355328 00352288 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 8035532C 0035228C 4B FC 06 05 */ bl Free__7CMemoryFPCv +/* 80355330 00352290 93 9B 00 28 */ stw r28, 0x28(r27) +/* 80355334 00352294 7F 63 DB 78 */ mr r3, r27 +/* 80355338 00352298 48 00 02 15 */ bl MoveToThisFrameList__6CModelCFv +/* 8035533C 0035229C BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 80355340 003522A0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80355344 003522A4 7C 08 03 A6 */ mtlr r0 +/* 80355348 003522A8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8035534C 003522AC 4E 80 00 20 */ blr + +.global sub_80355350 +sub_80355350: +/* 80355350 003522B0 80 84 00 00 */ lwz r4, 0(r4) +/* 80355354 003522B4 7C 04 00 D0 */ neg r0, r4 +/* 80355358 003522B8 7C 00 23 78 */ or r0, r0, r4 +/* 8035535C 003522BC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80355360 003522C0 98 03 00 00 */ stb r0, 0(r3) +/* 80355364 003522C4 90 83 00 04 */ stw r4, 4(r3) +/* 80355368 003522C8 4E 80 00 20 */ blr + +.global sub_8035536c +sub_8035536c: +/* 8035536C 003522CC 80 63 00 04 */ lwz r3, 4(r3) +/* 80355370 003522D0 4E 80 00 20 */ blr + +.global EnableTextureTimeout__6CModelFv +EnableTextureTimeout__6CModelFv: +/* 80355374 003522D4 38 00 00 01 */ li r0, 1 +/* 80355378 003522D8 98 0D 9E 10 */ stb r0, lbl_805A89D0@sda21(r13) +/* 8035537C 003522DC 4E 80 00 20 */ blr + +.global DisableTextureTimeout__6CModelFv +DisableTextureTimeout__6CModelFv: +/* 80355380 003522E0 38 00 00 00 */ li r0, 0 +/* 80355384 003522E4 98 0D 9E 10 */ stb r0, lbl_805A89D0@sda21(r13) +/* 80355388 003522E8 4E 80 00 20 */ blr + +.global FrameDone__6CModelFv +FrameDone__6CModelFv: +/* 8035538C 003522EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355390 003522F0 7C 08 02 A6 */ mflr r0 +/* 80355394 003522F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355398 003522F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035539C 003522FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803553A0 00352300 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803553A4 00352304 93 81 00 10 */ stw r28, 0x10(r1) +/* 803553A8 00352308 80 6D AA 88 */ lwz r3, lbl_805A9648@sda21(r13) +/* 803553AC 0035230C 88 0D 9E 10 */ lbz r0, lbl_805A89D0@sda21(r13) +/* 803553B0 00352310 38 63 00 01 */ addi r3, r3, 1 +/* 803553B4 00352314 28 00 00 00 */ cmplwi r0, 0 +/* 803553B8 00352318 90 6D AA 88 */ stw r3, lbl_805A9648@sda21(r13) +/* 803553BC 0035231C 41 82 00 84 */ beq lbl_80355440 +/* 803553C0 00352320 83 AD AA 84 */ lwz r29, lbl_805A9644@sda21(r13) +/* 803553C4 00352324 3B E0 00 00 */ li r31, 0 +/* 803553C8 00352328 48 00 00 58 */ b lbl_80355420 +lbl_803553CC: +/* 803553CC 0035232C 83 9D 00 34 */ lwz r28, 0x34(r29) +/* 803553D0 00352330 7F A3 EB 78 */ mr r3, r29 +/* 803553D4 00352334 38 80 00 00 */ li r4, 0 +/* 803553D8 00352338 48 00 05 85 */ bl VerifyCurrentShader__6CModelCFi +/* 803553DC 0035233C 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 803553E0 00352340 3B C3 00 14 */ addi r30, r3, 0x14 +/* 803553E4 00352344 48 00 00 10 */ b lbl_803553F4 +lbl_803553E8: +/* 803553E8 00352348 7F C3 F3 78 */ mr r3, r30 +/* 803553EC 0035234C 48 00 00 75 */ bl UnlockTextures__Q26CModel7SShaderFv +/* 803553F0 00352350 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_803553F4: +/* 803553F4 00352354 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 803553F8 00352358 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 803553FC 0035235C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80355400 00352360 7C 03 02 14 */ add r0, r3, r0 +/* 80355404 00352364 7C 1E 00 40 */ cmplw r30, r0 +/* 80355408 00352368 40 82 FF E0 */ bne lbl_803553E8 +/* 8035540C 0035236C 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80355410 00352370 4B FB 13 FD */ bl UnlockTextures__10CCubeModelCFv +/* 80355414 00352374 93 FD 00 34 */ stw r31, 0x34(r29) +/* 80355418 00352378 93 FD 00 30 */ stw r31, 0x30(r29) +/* 8035541C 0035237C 7F 9D E3 78 */ mr r29, r28 +lbl_80355420: +/* 80355420 00352380 28 1D 00 00 */ cmplwi r29, 0 +/* 80355424 00352384 40 82 FF A8 */ bne lbl_803553CC +/* 80355428 00352388 80 8D AA 80 */ lwz r4, lbl_805A9640@sda21(r13) +/* 8035542C 0035238C 38 00 00 00 */ li r0, 0 +/* 80355430 00352390 80 6D AA 7C */ lwz r3, lbl_805A963C@sda21(r13) +/* 80355434 00352394 90 8D AA 84 */ stw r4, lbl_805A9644@sda21(r13) +/* 80355438 00352398 90 6D AA 80 */ stw r3, lbl_805A9640@sda21(r13) +/* 8035543C 0035239C 90 0D AA 7C */ stw r0, lbl_805A963C@sda21(r13) +lbl_80355440: +/* 80355440 003523A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355444 003523A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355448 003523A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035544C 003523AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80355450 003523B0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80355454 003523B4 7C 08 03 A6 */ mtlr r0 +/* 80355458 003523B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035545C 003523BC 4E 80 00 20 */ blr + +.global UnlockTextures__Q26CModel7SShaderFv +UnlockTextures__Q26CModel7SShaderFv: +/* 80355460 003523C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355464 003523C4 7C 08 02 A6 */ mflr r0 +/* 80355468 003523C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035546C 003523CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355470 003523D0 3B E0 00 00 */ li r31, 0 +/* 80355474 003523D4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355478 003523D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035547C 003523DC 7C 7D 1B 78 */ mr r29, r3 +/* 80355480 003523E0 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 80355484 003523E4 48 00 00 14 */ b lbl_80355498 +lbl_80355488: +/* 80355488 003523E8 93 FE 00 08 */ stw r31, 8(r30) +/* 8035548C 003523EC 7F C3 F3 78 */ mr r3, r30 +/* 80355490 003523F0 4B FE B8 B1 */ bl Unlock__6CTokenFv +/* 80355494 003523F4 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80355498: +/* 80355498 003523F8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035549C 003523FC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803554A0 00352400 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803554A4 00352404 7C 03 02 14 */ add r0, r3, r0 +/* 803554A8 00352408 7C 1E 00 40 */ cmplw r30, r0 +/* 803554AC 0035240C 40 82 FF DC */ bne lbl_80355488 +/* 803554B0 00352410 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803554B4 00352414 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803554B8 00352418 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803554BC 0035241C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803554C0 00352420 7C 08 03 A6 */ mtlr r0 +/* 803554C4 00352424 38 21 00 20 */ addi r1, r1, 0x20 +/* 803554C8 00352428 4E 80 00 20 */ blr + +.global RemoveFromList__6CModelCFv +RemoveFromList__6CModelCFv: +/* 803554CC 0035242C 80 83 00 30 */ lwz r4, 0x30(r3) +/* 803554D0 00352430 28 04 00 00 */ cmplwi r4, 0 +/* 803554D4 00352434 41 82 00 10 */ beq lbl_803554E4 +/* 803554D8 00352438 80 03 00 34 */ lwz r0, 0x34(r3) +/* 803554DC 0035243C 90 04 00 34 */ stw r0, 0x34(r4) +/* 803554E0 00352440 48 00 00 48 */ b lbl_80355528 +lbl_803554E4: +/* 803554E4 00352444 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 803554E8 00352448 7C 03 00 40 */ cmplw r3, r0 +/* 803554EC 0035244C 40 82 00 10 */ bne lbl_803554FC +/* 803554F0 00352450 80 03 00 34 */ lwz r0, 0x34(r3) +/* 803554F4 00352454 90 0D AA 7C */ stw r0, lbl_805A963C@sda21(r13) +/* 803554F8 00352458 48 00 00 30 */ b lbl_80355528 +lbl_803554FC: +/* 803554FC 0035245C 80 0D AA 80 */ lwz r0, lbl_805A9640@sda21(r13) +/* 80355500 00352460 7C 03 00 40 */ cmplw r3, r0 +/* 80355504 00352464 40 82 00 10 */ bne lbl_80355514 +/* 80355508 00352468 80 03 00 34 */ lwz r0, 0x34(r3) +/* 8035550C 0035246C 90 0D AA 80 */ stw r0, lbl_805A9640@sda21(r13) +/* 80355510 00352470 48 00 00 18 */ b lbl_80355528 +lbl_80355514: +/* 80355514 00352474 80 0D AA 84 */ lwz r0, lbl_805A9644@sda21(r13) +/* 80355518 00352478 7C 03 00 40 */ cmplw r3, r0 +/* 8035551C 0035247C 40 82 00 0C */ bne lbl_80355528 +/* 80355520 00352480 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80355524 00352484 90 0D AA 84 */ stw r0, lbl_805A9644@sda21(r13) +lbl_80355528: +/* 80355528 00352488 80 83 00 34 */ lwz r4, 0x34(r3) +/* 8035552C 0035248C 28 04 00 00 */ cmplwi r4, 0 +/* 80355530 00352490 41 82 00 0C */ beq lbl_8035553C +/* 80355534 00352494 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80355538 00352498 90 04 00 30 */ stw r0, 0x30(r4) +lbl_8035553C: +/* 8035553C 0035249C 38 00 00 00 */ li r0, 0 +/* 80355540 003524A0 90 03 00 30 */ stw r0, 0x30(r3) +/* 80355544 003524A4 90 03 00 34 */ stw r0, 0x34(r3) +/* 80355548 003524A8 4E 80 00 20 */ blr + +.global MoveToThisFrameList__6CModelCFv +MoveToThisFrameList__6CModelCFv: +/* 8035554C 003524AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355550 003524B0 7C 08 02 A6 */ mflr r0 +/* 80355554 003524B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355558 003524B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035555C 003524BC 7C 7F 1B 78 */ mr r31, r3 +/* 80355560 003524C0 4B FF FB C1 */ bl UpdateLastFrame__6CModelFv +/* 80355564 003524C4 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 80355568 003524C8 7C 00 F8 40 */ cmplw r0, r31 +/* 8035556C 003524CC 41 82 00 28 */ beq lbl_80355594 +/* 80355570 003524D0 7F E3 FB 78 */ mr r3, r31 +/* 80355574 003524D4 4B FF FF 59 */ bl RemoveFromList__6CModelCFv +/* 80355578 003524D8 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 8035557C 003524DC 28 00 00 00 */ cmplwi r0, 0 +/* 80355580 003524E0 41 82 00 10 */ beq lbl_80355590 +/* 80355584 003524E4 90 1F 00 34 */ stw r0, 0x34(r31) +/* 80355588 003524E8 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8035558C 003524EC 93 E3 00 30 */ stw r31, 0x30(r3) +lbl_80355590: +/* 80355590 003524F0 93 ED AA 7C */ stw r31, lbl_805A963C@sda21(r13) +lbl_80355594: +/* 80355594 003524F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355598 003524F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035559C 003524FC 7C 08 03 A6 */ mtlr r0 +/* 803555A0 00352500 38 21 00 10 */ addi r1, r1, 0x10 +/* 803555A4 00352504 4E 80 00 20 */ blr + +.global IsLoaded__6CModelCFi +IsLoaded__6CModelCFi: +/* 803555A8 00352508 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803555AC 0035250C 7C 08 02 A6 */ mflr r0 +/* 803555B0 00352510 90 01 00 14 */ stw r0, 0x14(r1) +/* 803555B4 00352514 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803555B8 00352518 7C 7F 1B 78 */ mr r31, r3 +/* 803555BC 0035251C 48 00 03 A1 */ bl VerifyCurrentShader__6CModelCFi +/* 803555C0 00352520 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 803555C4 00352524 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 803555C8 00352528 80 03 00 04 */ lwz r0, 4(r3) +/* 803555CC 0035252C 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 803555D0 00352530 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803555D4 00352534 7C A6 02 14 */ add r5, r6, r0 +/* 803555D8 00352538 48 00 00 3C */ b lbl_80355614 +lbl_803555DC: +/* 803555DC 0035253C 80 06 00 08 */ lwz r0, 8(r6) +/* 803555E0 00352540 38 80 00 00 */ li r4, 0 +/* 803555E4 00352544 28 00 00 00 */ cmplwi r0, 0 +/* 803555E8 00352548 40 82 00 14 */ bne lbl_803555FC +/* 803555EC 0035254C 80 66 00 00 */ lwz r3, 0(r6) +/* 803555F0 00352550 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803555F4 00352554 28 00 00 00 */ cmplwi r0, 0 +/* 803555F8 00352558 41 82 00 08 */ beq lbl_80355600 +lbl_803555FC: +/* 803555FC 0035255C 38 80 00 01 */ li r4, 1 +lbl_80355600: +/* 80355600 00352560 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80355604 00352564 40 82 00 0C */ bne lbl_80355610 +/* 80355608 00352568 38 60 00 00 */ li r3, 0 +/* 8035560C 0035256C 48 00 00 14 */ b lbl_80355620 +lbl_80355610: +/* 80355610 00352570 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80355614: +/* 80355614 00352574 7C 06 28 40 */ cmplw r6, r5 +/* 80355618 00352578 40 82 FF C4 */ bne lbl_803555DC +/* 8035561C 0035257C 38 60 00 01 */ li r3, 1 +lbl_80355620: +/* 80355620 00352580 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355624 00352584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355628 00352588 7C 08 03 A6 */ mtlr r0 +/* 8035562C 0035258C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355630 00352590 4E 80 00 20 */ blr + +.global Touch__6CModelCFi +Touch__6CModelCFi: +/* 80355634 00352594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355638 00352598 7C 08 02 A6 */ mflr r0 +/* 8035563C 0035259C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355640 003525A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355644 003525A4 7C 7F 1B 78 */ mr r31, r3 +/* 80355648 003525A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035564C 003525AC 7C 9E 23 78 */ mr r30, r4 +/* 80355650 003525B0 4B FF FE FD */ bl MoveToThisFrameList__6CModelCFv +/* 80355654 003525B4 7F E3 FB 78 */ mr r3, r31 +/* 80355658 003525B8 7F C4 F3 78 */ mr r4, r30 +/* 8035565C 003525BC 48 00 03 01 */ bl VerifyCurrentShader__6CModelCFi +/* 80355660 003525C0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80355664 003525C4 4B FB 17 59 */ bl TryLockTextures__10CCubeModelCFv +/* 80355668 003525C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035566C 003525CC 41 82 00 40 */ beq lbl_803556AC +/* 80355670 003525D0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80355674 003525D4 83 E3 00 1C */ lwz r31, 0x1c(r3) +/* 80355678 003525D8 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 8035567C 003525DC 48 00 00 18 */ b lbl_80355694 +lbl_80355680: +/* 80355680 003525E0 80 7E 00 08 */ lwz r3, 8(r30) +/* 80355684 003525E4 28 03 00 00 */ cmplwi r3, 0 +/* 80355688 003525E8 41 82 00 08 */ beq lbl_80355690 +/* 8035568C 003525EC 4B FB 95 9D */ bl LoadToMRAM__8CTextureCFv +lbl_80355690: +/* 80355690 003525F0 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80355694: +/* 80355694 003525F4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80355698 003525F8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8035569C 003525FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803556A0 00352600 7C 03 02 14 */ add r0, r3, r0 +/* 803556A4 00352604 7C 1E 00 40 */ cmplw r30, r0 +/* 803556A8 00352608 40 82 FF D8 */ bne lbl_80355680 +lbl_803556AC: +/* 803556AC 0035260C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803556B0 00352610 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803556B4 00352614 83 C1 00 08 */ lwz r30, 8(r1) +/* 803556B8 00352618 7C 08 03 A6 */ mtlr r0 +/* 803556BC 0035261C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803556C0 00352620 4E 80 00 20 */ blr + +.global GetNormals__6CModelCFv +GetNormals__6CModelCFv: +/* 803556C4 00352624 80 63 00 28 */ lwz r3, 0x28(r3) +/* 803556C8 00352628 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803556CC 0035262C 4E 80 00 20 */ blr + +.global GetPositions__6CModelCFv +GetPositions__6CModelCFv: +/* 803556D0 00352630 80 63 00 28 */ lwz r3, 0x28(r3) +/* 803556D4 00352634 80 63 00 08 */ lwz r3, 8(r3) +/* 803556D8 00352638 4E 80 00 20 */ blr + +.global "FModelFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer" +"FModelFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer": +/* 803556DC 0035263C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803556E0 00352640 7C 08 02 A6 */ mflr r0 +/* 803556E4 00352644 90 01 00 34 */ stw r0, 0x34(r1) +/* 803556E8 00352648 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803556EC 0035264C 7C 7F 1B 78 */ mr r31, r3 +/* 803556F0 00352650 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803556F4 00352654 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803556F8 00352658 7C DD 33 78 */ mr r29, r6 +/* 803556FC 0035265C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80355700 00352660 7C BC 2B 78 */ mr r28, r5 +/* 80355704 00352664 80 87 00 00 */ lwz r4, 0(r7) +/* 80355708 00352668 90 81 00 08 */ stw r4, 8(r1) +/* 8035570C 0035266C 80 64 00 04 */ lwz r3, 4(r4) +/* 80355710 00352670 38 03 00 01 */ addi r0, r3, 1 +/* 80355714 00352674 90 04 00 04 */ stw r0, 4(r4) +/* 80355718 00352678 80 61 00 08 */ lwz r3, 8(r1) +/* 8035571C 0035267C 80 63 00 00 */ lwz r3, 0(r3) +/* 80355720 00352680 83 C3 00 04 */ lwz r30, 4(r3) +/* 80355724 00352684 48 02 28 61 */ bl GXInvalidateVtxCache +/* 80355728 00352688 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 8035572C 0035268C 38 60 00 3C */ li r3, 0x3c +/* 80355730 00352690 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 80355734 00352694 38 A0 00 00 */ li r5, 0 +/* 80355738 00352698 4B FC 01 35 */ bl __nw__FUlPCcPCc +/* 8035573C 0035269C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80355740 003526A0 41 82 00 18 */ beq lbl_80355758 +/* 80355744 003526A4 7F 84 E3 78 */ mr r4, r28 +/* 80355748 003526A8 7F A5 EB 78 */ mr r5, r29 +/* 8035574C 003526AC 7F C6 F3 78 */ mr r6, r30 +/* 80355750 003526B0 48 00 07 71 */ bl "__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore" +/* 80355754 003526B4 7C 64 1B 78 */ mr r4, r3 +lbl_80355758: +/* 80355758 003526B8 7C 04 00 D0 */ neg r0, r4 +/* 8035575C 003526BC 90 81 00 10 */ stw r4, 0x10(r1) +/* 80355760 003526C0 7C 00 23 78 */ or r0, r0, r4 +/* 80355764 003526C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80355768 003526C8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035576C 003526CC 38 81 00 0C */ addi r4, r1, 0xc +/* 80355770 003526D0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80355774 003526D4 48 00 01 21 */ bl "GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +/* 80355778 003526D8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035577C 003526DC 38 00 00 00 */ li r0, 0 +/* 80355780 003526E0 98 01 00 14 */ stb r0, 0x14(r1) +/* 80355784 003526E4 7C 03 00 D0 */ neg r0, r3 +/* 80355788 003526E8 7C 00 1B 78 */ or r0, r0, r3 +/* 8035578C 003526EC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80355790 003526F0 98 1F 00 00 */ stb r0, 0(r31) +/* 80355794 003526F4 90 7F 00 04 */ stw r3, 4(r31) +/* 80355798 003526F8 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8035579C 003526FC 28 00 00 00 */ cmplwi r0, 0 +/* 803557A0 00352700 41 82 00 24 */ beq lbl_803557C4 +/* 803557A4 00352704 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803557A8 00352708 28 03 00 00 */ cmplwi r3, 0 +/* 803557AC 0035270C 41 82 00 18 */ beq lbl_803557C4 +/* 803557B0 00352710 81 83 00 00 */ lwz r12, 0(r3) +/* 803557B4 00352714 38 80 00 01 */ li r4, 1 +/* 803557B8 00352718 81 8C 00 08 */ lwz r12, 8(r12) +/* 803557BC 0035271C 7D 89 03 A6 */ mtctr r12 +/* 803557C0 00352720 4E 80 04 21 */ bctrl +lbl_803557C4: +/* 803557C4 00352724 88 01 00 0C */ lbz r0, 0xc(r1) +/* 803557C8 00352728 28 00 00 00 */ cmplwi r0, 0 +/* 803557CC 0035272C 41 82 00 10 */ beq lbl_803557DC +/* 803557D0 00352730 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803557D4 00352734 38 80 00 01 */ li r4, 1 +/* 803557D8 00352738 48 00 04 79 */ bl __dt__6CModelFv +lbl_803557DC: +/* 803557DC 0035273C 38 61 00 08 */ addi r3, r1, 8 +/* 803557E0 00352740 4B CD EB 25 */ bl sub_80034304 +/* 803557E4 00352744 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803557E8 00352748 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803557EC 0035274C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803557F0 00352750 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803557F4 00352754 83 81 00 20 */ lwz r28, 0x20(r1) +/* 803557F8 00352758 7C 08 03 A6 */ mtlr r0 +/* 803557FC 0035275C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80355800 00352760 4E 80 00 20 */ blr + +.global "__dt__15TToken<6CModel>Fv" +"__dt__15TToken<6CModel>Fv": +/* 80355804 00352764 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355808 00352768 7C 08 02 A6 */ mflr r0 +/* 8035580C 0035276C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355810 00352770 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355814 00352774 7C 9F 23 78 */ mr r31, r4 +/* 80355818 00352778 93 C1 00 08 */ stw r30, 8(r1) +/* 8035581C 0035277C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355820 00352780 41 82 00 58 */ beq lbl_80355878 +/* 80355824 00352784 3C 60 80 3F */ lis r3, lbl_803EF738@ha +/* 80355828 00352788 38 03 F7 38 */ addi r0, r3, lbl_803EF738@l +/* 8035582C 0035278C 90 1E 00 00 */ stw r0, 0(r30) +/* 80355830 00352790 80 7E 00 04 */ lwz r3, 4(r30) +/* 80355834 00352794 28 03 00 00 */ cmplwi r3, 0 +/* 80355838 00352798 41 82 00 0C */ beq lbl_80355844 +/* 8035583C 0035279C 38 80 00 01 */ li r4, 1 +/* 80355840 003527A0 48 00 04 11 */ bl __dt__6CModelFv +lbl_80355844: +/* 80355844 003527A4 28 1E 00 00 */ cmplwi r30, 0 +/* 80355848 003527A8 41 82 00 20 */ beq lbl_80355868 +/* 8035584C 003527AC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80355850 003527B0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80355854 003527B4 90 1E 00 00 */ stw r0, 0(r30) +/* 80355858 003527B8 41 82 00 10 */ beq lbl_80355868 +/* 8035585C 003527BC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80355860 003527C0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80355864 003527C4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80355868: +/* 80355868 003527C8 7F E0 07 35 */ extsh. r0, r31 +/* 8035586C 003527CC 40 81 00 0C */ ble lbl_80355878 +/* 80355870 003527D0 7F C3 F3 78 */ mr r3, r30 +/* 80355874 003527D4 4B FC 00 BD */ bl Free__7CMemoryFPCv +lbl_80355878: +/* 80355878 003527D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035587C 003527DC 7F C3 F3 78 */ mr r3, r30 +/* 80355880 003527E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355884 003527E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355888 003527E8 7C 08 03 A6 */ mtlr r0 +/* 8035588C 003527EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355890 003527F0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +"GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>": +/* 80355894 003527F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355898 003527F8 7C 08 02 A6 */ mflr r0 +/* 8035589C 003527FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803558A0 00352800 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803558A4 00352804 7C 7F 1B 78 */ mr r31, r3 +/* 803558A8 00352808 48 00 00 19 */ bl "GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +/* 803558AC 0035280C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803558B0 00352810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803558B4 00352814 7C 08 03 A6 */ mtlr r0 +/* 803558B8 00352818 38 21 00 10 */ addi r1, r1, 0x10 +/* 803558BC 0035281C 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +"GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>": +/* 803558C0 00352820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803558C4 00352824 7C 08 02 A6 */ mflr r0 +/* 803558C8 00352828 3C A0 80 3E */ lis r5, lbl_803D8308@ha +/* 803558CC 0035282C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803558D0 00352830 38 05 83 08 */ addi r0, r5, lbl_803D8308@l +/* 803558D4 00352834 38 A0 00 00 */ li r5, 0 +/* 803558D8 00352838 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803558DC 0035283C 7C 9F 23 78 */ mr r31, r4 +/* 803558E0 00352840 7C 04 03 78 */ mr r4, r0 +/* 803558E4 00352844 93 C1 00 08 */ stw r30, 8(r1) +/* 803558E8 00352848 7C 7E 1B 78 */ mr r30, r3 +/* 803558EC 0035284C 38 60 00 08 */ li r3, 8 +/* 803558F0 00352850 4B FB FF 7D */ bl __nw__FUlPCcPCc +/* 803558F4 00352854 28 03 00 00 */ cmplwi r3, 0 +/* 803558F8 00352858 41 82 00 38 */ beq lbl_80355930 +/* 803558FC 0035285C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80355900 00352860 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80355904 00352864 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80355908 00352868 3C 80 80 3F */ lis r4, lbl_803EF738@ha +/* 8035590C 0035286C 90 03 00 00 */ stw r0, 0(r3) +/* 80355910 00352870 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80355914 00352874 38 A0 00 00 */ li r5, 0 +/* 80355918 00352878 38 04 F7 38 */ addi r0, r4, lbl_803EF738@l +/* 8035591C 0035287C 90 C3 00 00 */ stw r6, 0(r3) +/* 80355920 00352880 98 BF 00 00 */ stb r5, 0(r31) +/* 80355924 00352884 80 9F 00 04 */ lwz r4, 4(r31) +/* 80355928 00352888 90 83 00 04 */ stw r4, 4(r3) +/* 8035592C 0035288C 90 03 00 00 */ stw r0, 0(r3) +lbl_80355930: +/* 80355930 00352890 7C 03 00 D0 */ neg r0, r3 +/* 80355934 00352894 7C 00 1B 78 */ or r0, r0, r3 +/* 80355938 00352898 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035593C 0035289C 98 1E 00 00 */ stb r0, 0(r30) +/* 80355940 003528A0 90 7E 00 04 */ stw r3, 4(r30) +/* 80355944 003528A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355948 003528A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035594C 003528AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355950 003528B0 7C 08 03 A6 */ mtlr r0 +/* 80355954 003528B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355958 003528B8 4E 80 00 20 */ blr + +.global VerifyCurrentShader__6CModelCFi +VerifyCurrentShader__6CModelCFi: +/* 8035595C 003528BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355960 003528C0 7C 08 02 A6 */ mflr r0 +/* 80355964 003528C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355968 003528C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035596C 003528CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355970 003528D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80355974 003528D4 7C 9D 23 78 */ mr r29, r4 +/* 80355978 003528D8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035597C 003528DC 7C 7C 1B 78 */ mr r28, r3 +/* 80355980 003528E0 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80355984 003528E4 7C 1D 00 00 */ cmpw r29, r0 +/* 80355988 003528E8 41 80 00 08 */ blt lbl_80355990 +/* 8035598C 003528EC 3B A0 00 00 */ li r29, 0 +lbl_80355990: +/* 80355990 003528F0 A8 1C 00 2C */ lha r0, 0x2c(r28) +/* 80355994 003528F4 7C 1D 00 00 */ cmpw r29, r0 +/* 80355998 003528F8 40 82 00 5C */ bne lbl_803559F4 +/* 8035599C 003528FC A8 7C 00 2E */ lha r3, 0x2e(r28) +/* 803559A0 00352900 7C 60 07 35 */ extsh. r0, r3 +/* 803559A4 00352904 41 82 00 84 */ beq lbl_80355A28 +/* 803559A8 00352908 80 0D AA 88 */ lwz r0, lbl_805A9648@sda21(r13) +/* 803559AC 0035290C 7C 03 00 40 */ cmplw r3, r0 +/* 803559B0 00352910 41 81 00 78 */ bgt lbl_80355A28 +/* 803559B4 00352914 3B C0 00 00 */ li r30, 0 +/* 803559B8 00352918 3B E0 00 00 */ li r31, 0 +/* 803559BC 0035291C 48 00 00 20 */ b lbl_803559DC +lbl_803559C0: +/* 803559C0 00352920 7C 1E E8 00 */ cmpw r30, r29 +/* 803559C4 00352924 41 82 00 10 */ beq lbl_803559D4 +/* 803559C8 00352928 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 803559CC 0035292C 7C 60 FA 14 */ add r3, r0, r31 +/* 803559D0 00352930 4B FF FA 91 */ bl UnlockTextures__Q26CModel7SShaderFv +lbl_803559D4: +/* 803559D4 00352934 3B FF 00 14 */ addi r31, r31, 0x14 +/* 803559D8 00352938 3B DE 00 01 */ addi r30, r30, 1 +lbl_803559DC: +/* 803559DC 0035293C 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 803559E0 00352940 7C 1E 00 00 */ cmpw r30, r0 +/* 803559E4 00352944 41 80 FF DC */ blt lbl_803559C0 +/* 803559E8 00352948 38 00 00 00 */ li r0, 0 +/* 803559EC 0035294C B0 1C 00 2E */ sth r0, 0x2e(r28) +/* 803559F0 00352950 48 00 00 38 */ b lbl_80355A28 +lbl_803559F4: +/* 803559F4 00352954 B3 BC 00 2C */ sth r29, 0x2c(r28) +/* 803559F8 00352958 1C 1D 00 14 */ mulli r0, r29, 0x14 +/* 803559FC 0035295C 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 80355A00 00352960 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80355A04 00352964 7C A4 02 14 */ add r5, r4, r0 +/* 80355A08 00352968 80 85 00 10 */ lwz r4, 0x10(r5) +/* 80355A0C 0035296C 4B FB 0D E5 */ bl "RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>" +/* 80355A10 00352970 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 80355A14 00352974 2C 00 00 01 */ cmpwi r0, 1 +/* 80355A18 00352978 40 81 00 10 */ ble lbl_80355A28 +/* 80355A1C 0035297C 80 6D AA 88 */ lwz r3, lbl_805A9648@sda21(r13) +/* 80355A20 00352980 38 03 00 02 */ addi r0, r3, 2 +/* 80355A24 00352984 B0 1C 00 2E */ sth r0, 0x2e(r28) +lbl_80355A28: +/* 80355A28 00352988 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355A2C 0035298C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355A30 00352990 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355A34 00352994 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80355A38 00352998 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80355A3C 0035299C 7C 08 03 A6 */ mtlr r0 +/* 80355A40 003529A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355A44 003529A4 4E 80 00 20 */ blr + +.global Draw__6CModelCFPCfPCfRC11CModelFlags +Draw__6CModelCFPCfPCfRC11CModelFlags: +/* 80355A48 003529A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355A4C 003529AC 7C 08 02 A6 */ mflr r0 +/* 80355A50 003529B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355A54 003529B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355A58 003529B8 7C DF 33 78 */ mr r31, r6 +/* 80355A5C 003529BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355A60 003529C0 7C BE 2B 78 */ mr r30, r5 +/* 80355A64 003529C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80355A68 003529C8 7C 9D 23 78 */ mr r29, r4 +/* 80355A6C 003529CC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80355A70 003529D0 7C 7C 1B 78 */ mr r28, r3 +/* 80355A74 003529D4 A0 06 00 02 */ lhz r0, 2(r6) +/* 80355A78 003529D8 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355A7C 003529DC 41 82 00 10 */ beq lbl_80355A8C +/* 80355A80 003529E0 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80355A84 003529E4 38 C0 00 02 */ li r6, 2 +/* 80355A88 003529E8 4B FB 0B A9 */ bl sub_80306630 +lbl_80355A8C: +/* 80355A8C 003529EC 4B FE FE 81 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355A90 003529F0 7F 83 E3 78 */ mr r3, r28 +/* 80355A94 003529F4 4B FF FA B9 */ bl MoveToThisFrameList__6CModelCFv +/* 80355A98 003529F8 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355A9C 003529FC 7F 83 E3 78 */ mr r3, r28 +/* 80355AA0 00352A00 7C 84 07 74 */ extsb r4, r4 +/* 80355AA4 00352A04 4B FF FE B9 */ bl VerifyCurrentShader__6CModelCFi +/* 80355AA8 00352A08 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80355AAC 00352A0C 7F A4 EB 78 */ mr r4, r29 +/* 80355AB0 00352A10 7F C5 F3 78 */ mr r5, r30 +/* 80355AB4 00352A14 7F E6 FB 78 */ mr r6, r31 +/* 80355AB8 00352A18 4B FB 0E 81 */ bl Draw__10CCubeModelCFPCfPCfRC11CModelFlags +/* 80355ABC 00352A1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355AC0 00352A20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355AC4 00352A24 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355AC8 00352A28 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80355ACC 00352A2C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80355AD0 00352A30 7C 08 03 A6 */ mtlr r0 +/* 80355AD4 00352A34 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355AD8 00352A38 4E 80 00 20 */ blr + +.global DrawSortedParts__6CModelCFRC11CModelFlags +DrawSortedParts__6CModelCFRC11CModelFlags: +/* 80355ADC 00352A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355AE0 00352A40 7C 08 02 A6 */ mflr r0 +/* 80355AE4 00352A44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355AE8 00352A48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355AEC 00352A4C 7C 9F 23 78 */ mr r31, r4 +/* 80355AF0 00352A50 93 C1 00 08 */ stw r30, 8(r1) +/* 80355AF4 00352A54 7C 7E 1B 78 */ mr r30, r3 +/* 80355AF8 00352A58 A0 04 00 02 */ lhz r0, 2(r4) +/* 80355AFC 00352A5C 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355B00 00352A60 41 82 00 18 */ beq lbl_80355B18 +/* 80355B04 00352A64 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355B08 00352A68 38 80 00 00 */ li r4, 0 +/* 80355B0C 00352A6C 38 A0 00 00 */ li r5, 0 +/* 80355B10 00352A70 38 C0 00 01 */ li r6, 1 +/* 80355B14 00352A74 4B FB 0B 1D */ bl sub_80306630 +lbl_80355B18: +/* 80355B18 00352A78 4B FE FD F5 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355B1C 00352A7C 7F C3 F3 78 */ mr r3, r30 +/* 80355B20 00352A80 4B FF FA 2D */ bl MoveToThisFrameList__6CModelCFv +/* 80355B24 00352A84 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355B28 00352A88 7F C3 F3 78 */ mr r3, r30 +/* 80355B2C 00352A8C 7C 84 07 74 */ extsb r4, r4 +/* 80355B30 00352A90 4B FF FE 2D */ bl VerifyCurrentShader__6CModelCFi +/* 80355B34 00352A94 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355B38 00352A98 7F E4 FB 78 */ mr r4, r31 +/* 80355B3C 00352A9C 4B FB 0D 65 */ bl DrawAlpha__10CCubeModelCFRC11CModelFlags +/* 80355B40 00352AA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355B44 00352AA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355B48 00352AA8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355B4C 00352AAC 7C 08 03 A6 */ mtlr r0 +/* 80355B50 00352AB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355B54 00352AB4 4E 80 00 20 */ blr + +.global DrawUnsortedParts__6CModelCFRC11CModelFlags +DrawUnsortedParts__6CModelCFRC11CModelFlags: +/* 80355B58 00352AB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355B5C 00352ABC 7C 08 02 A6 */ mflr r0 +/* 80355B60 00352AC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355B64 00352AC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355B68 00352AC8 7C 9F 23 78 */ mr r31, r4 +/* 80355B6C 00352ACC 93 C1 00 08 */ stw r30, 8(r1) +/* 80355B70 00352AD0 7C 7E 1B 78 */ mr r30, r3 +/* 80355B74 00352AD4 A0 04 00 02 */ lhz r0, 2(r4) +/* 80355B78 00352AD8 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355B7C 00352ADC 41 82 00 18 */ beq lbl_80355B94 +/* 80355B80 00352AE0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355B84 00352AE4 38 80 00 00 */ li r4, 0 +/* 80355B88 00352AE8 38 A0 00 00 */ li r5, 0 +/* 80355B8C 00352AEC 38 C0 00 00 */ li r6, 0 +/* 80355B90 00352AF0 4B FB 0A A1 */ bl sub_80306630 +lbl_80355B94: +/* 80355B94 00352AF4 4B FE FD 79 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355B98 00352AF8 7F C3 F3 78 */ mr r3, r30 +/* 80355B9C 00352AFC 4B FF F9 B1 */ bl MoveToThisFrameList__6CModelCFv +/* 80355BA0 00352B00 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355BA4 00352B04 7F C3 F3 78 */ mr r3, r30 +/* 80355BA8 00352B08 7C 84 07 74 */ extsb r4, r4 +/* 80355BAC 00352B0C 4B FF FD B1 */ bl VerifyCurrentShader__6CModelCFi +/* 80355BB0 00352B10 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355BB4 00352B14 7F E4 FB 78 */ mr r4, r31 +/* 80355BB8 00352B18 4B FB 0D 35 */ bl DrawNormal__10CCubeModelCFRC11CModelFlags +/* 80355BBC 00352B1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355BC0 00352B20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355BC4 00352B24 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355BC8 00352B28 7C 08 03 A6 */ mtlr r0 +/* 80355BCC 00352B2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355BD0 00352B30 4E 80 00 20 */ blr + +.global Draw__6CModelCFRC11CModelFlags +Draw__6CModelCFRC11CModelFlags: +/* 80355BD4 00352B34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355BD8 00352B38 7C 08 02 A6 */ mflr r0 +/* 80355BDC 00352B3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355BE0 00352B40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355BE4 00352B44 7C 9F 23 78 */ mr r31, r4 +/* 80355BE8 00352B48 93 C1 00 08 */ stw r30, 8(r1) +/* 80355BEC 00352B4C 7C 7E 1B 78 */ mr r30, r3 +/* 80355BF0 00352B50 A0 04 00 02 */ lhz r0, 2(r4) +/* 80355BF4 00352B54 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355BF8 00352B58 41 82 00 18 */ beq lbl_80355C10 +/* 80355BFC 00352B5C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355C00 00352B60 38 80 00 00 */ li r4, 0 +/* 80355C04 00352B64 38 A0 00 00 */ li r5, 0 +/* 80355C08 00352B68 38 C0 00 02 */ li r6, 2 +/* 80355C0C 00352B6C 4B FB 0A 25 */ bl sub_80306630 +lbl_80355C10: +/* 80355C10 00352B70 4B FE FC FD */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355C14 00352B74 7F C3 F3 78 */ mr r3, r30 +/* 80355C18 00352B78 4B FF F9 35 */ bl MoveToThisFrameList__6CModelCFv +/* 80355C1C 00352B7C 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355C20 00352B80 7F C3 F3 78 */ mr r3, r30 +/* 80355C24 00352B84 7C 84 07 74 */ extsb r4, r4 +/* 80355C28 00352B88 4B FF FD 35 */ bl VerifyCurrentShader__6CModelCFi +/* 80355C2C 00352B8C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355C30 00352B90 7F E4 FB 78 */ mr r4, r31 +/* 80355C34 00352B94 4B FB 0D 71 */ bl Draw__10CCubeModelCFRC11CModelFlags +/* 80355C38 00352B98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355C3C 00352B9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355C40 00352BA0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355C44 00352BA4 7C 08 03 A6 */ mtlr r0 +/* 80355C48 00352BA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355C4C 00352BAC 4E 80 00 20 */ blr + +.global __dt__6CModelFv +__dt__6CModelFv: +/* 80355C50 00352BB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355C54 00352BB4 7C 08 02 A6 */ mflr r0 +/* 80355C58 00352BB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355C5C 00352BBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355C60 00352BC0 7C 9F 23 78 */ mr r31, r4 +/* 80355C64 00352BC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355C68 00352BC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355C6C 00352BCC 41 82 00 E4 */ beq lbl_80355D50 +/* 80355C70 00352BD0 4B FF F8 5D */ bl RemoveFromList__6CModelCFv +/* 80355C74 00352BD4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80355C78 00352BD8 80 0D AA 78 */ lwz r0, lbl_805A9638@sda21(r13) +/* 80355C7C 00352BDC 7C 03 00 50 */ subf r0, r3, r0 +/* 80355C80 00352BE0 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 80355C84 00352BE4 4B FB 3B 79 */ bl GetFrameCounter__9CGraphicsFv +/* 80355C88 00352BE8 80 9E 00 38 */ lwz r4, 0x38(r30) +/* 80355C8C 00352BEC 7C 04 18 40 */ cmplw r4, r3 +/* 80355C90 00352BF0 40 82 00 1C */ bne lbl_80355CAC +/* 80355C94 00352BF4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80355C98 00352BF8 38 00 00 00 */ li r0, 0 +/* 80355C9C 00352BFC 38 60 00 01 */ li r3, 1 +/* 80355CA0 00352C00 90 1E 00 00 */ stw r0, 0(r30) +/* 80355CA4 00352C04 48 01 6F 79 */ bl sub_8036cc1c +/* 80355CA8 00352C08 48 00 00 24 */ b lbl_80355CCC +lbl_80355CAC: +/* 80355CAC 00352C0C 38 03 FF FF */ addi r0, r3, -1 +/* 80355CB0 00352C10 7C 04 00 40 */ cmplw r4, r0 +/* 80355CB4 00352C14 40 82 00 18 */ bne lbl_80355CCC +/* 80355CB8 00352C18 80 9E 00 00 */ lwz r4, 0(r30) +/* 80355CBC 00352C1C 38 00 00 00 */ li r0, 0 +/* 80355CC0 00352C20 38 60 00 00 */ li r3, 0 +/* 80355CC4 00352C24 90 1E 00 00 */ stw r0, 0(r30) +/* 80355CC8 00352C28 48 01 6F 55 */ bl sub_8036cc1c +lbl_80355CCC: +/* 80355CCC 00352C2C 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 80355CD0 00352C30 41 82 00 0C */ beq lbl_80355CDC +/* 80355CD4 00352C34 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355CD8 00352C38 4B FB FC 59 */ bl Free__7CMemoryFPCv +lbl_80355CDC: +/* 80355CDC 00352C3C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80355CE0 00352C40 38 80 FF FF */ li r4, -1 +/* 80355CE4 00352C44 48 00 00 89 */ bl sub_80355d6c +/* 80355CE8 00352C48 34 1E 00 08 */ addic. r0, r30, 8 +/* 80355CEC 00352C4C 41 82 00 44 */ beq lbl_80355D30 +/* 80355CF0 00352C50 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80355CF4 00352C54 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80355CF8 00352C58 54 00 10 3A */ slwi r0, r0, 2 +/* 80355CFC 00352C5C 7C 03 02 14 */ add r0, r3, r0 +/* 80355D00 00352C60 90 61 00 0C */ stw r3, 0xc(r1) +/* 80355D04 00352C64 7C 64 1B 78 */ mr r4, r3 +/* 80355D08 00352C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355D0C 00352C6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80355D10 00352C70 90 61 00 08 */ stw r3, 8(r1) +/* 80355D14 00352C74 48 00 00 08 */ b lbl_80355D1C +lbl_80355D18: +/* 80355D18 00352C78 38 84 00 04 */ addi r4, r4, 4 +lbl_80355D1C: +/* 80355D1C 00352C7C 7C 04 00 40 */ cmplw r4, r0 +/* 80355D20 00352C80 40 82 FF F8 */ bne lbl_80355D18 +/* 80355D24 00352C84 28 03 00 00 */ cmplwi r3, 0 +/* 80355D28 00352C88 41 82 00 08 */ beq lbl_80355D30 +/* 80355D2C 00352C8C 4B FB FC 05 */ bl Free__7CMemoryFPCv +lbl_80355D30: +/* 80355D30 00352C90 28 1E 00 00 */ cmplwi r30, 0 +/* 80355D34 00352C94 41 82 00 0C */ beq lbl_80355D40 +/* 80355D38 00352C98 80 7E 00 00 */ lwz r3, 0(r30) +/* 80355D3C 00352C9C 4B FB FB F5 */ bl Free__7CMemoryFPCv +lbl_80355D40: +/* 80355D40 00352CA0 7F E0 07 35 */ extsh. r0, r31 +/* 80355D44 00352CA4 40 81 00 0C */ ble lbl_80355D50 +/* 80355D48 00352CA8 7F C3 F3 78 */ mr r3, r30 +/* 80355D4C 00352CAC 4B FB FB E5 */ bl Free__7CMemoryFPCv +lbl_80355D50: +/* 80355D50 00352CB0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355D54 00352CB4 7F C3 F3 78 */ mr r3, r30 +/* 80355D58 00352CB8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355D5C 00352CBC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355D60 00352CC0 7C 08 03 A6 */ mtlr r0 +/* 80355D64 00352CC4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355D68 00352CC8 4E 80 00 20 */ blr + +.global sub_80355d6c +sub_80355d6c: +/* 80355D6C 00352CCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355D70 00352CD0 7C 08 02 A6 */ mflr r0 +/* 80355D74 00352CD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355D78 00352CD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355D7C 00352CDC 7C 9F 23 78 */ mr r31, r4 +/* 80355D80 00352CE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355D84 00352CE4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355D88 00352CE8 41 82 00 54 */ beq lbl_80355DDC +/* 80355D8C 00352CEC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80355D90 00352CF0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80355D94 00352CF4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80355D98 00352CF8 38 81 00 0C */ addi r4, r1, 0xc +/* 80355D9C 00352CFC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80355DA0 00352D00 7C A5 02 14 */ add r5, r5, r0 +/* 80355DA4 00352D04 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80355DA8 00352D08 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80355DAC 00352D0C 90 A1 00 08 */ stw r5, 8(r1) +/* 80355DB0 00352D10 90 01 00 10 */ stw r0, 0x10(r1) +/* 80355DB4 00352D14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355DB8 00352D18 48 00 00 41 */ bl sub_80355df8 +/* 80355DBC 00352D1C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80355DC0 00352D20 28 03 00 00 */ cmplwi r3, 0 +/* 80355DC4 00352D24 41 82 00 08 */ beq lbl_80355DCC +/* 80355DC8 00352D28 4B FB FB 69 */ bl Free__7CMemoryFPCv +lbl_80355DCC: +/* 80355DCC 00352D2C 7F E0 07 35 */ extsh. r0, r31 +/* 80355DD0 00352D30 40 81 00 0C */ ble lbl_80355DDC +/* 80355DD4 00352D34 7F C3 F3 78 */ mr r3, r30 +/* 80355DD8 00352D38 4B FB FB 59 */ bl Free__7CMemoryFPCv +lbl_80355DDC: +/* 80355DDC 00352D3C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355DE0 00352D40 7F C3 F3 78 */ mr r3, r30 +/* 80355DE4 00352D44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355DE8 00352D48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355DEC 00352D4C 7C 08 03 A6 */ mtlr r0 +/* 80355DF0 00352D50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355DF4 00352D54 4E 80 00 20 */ blr + +.global sub_80355df8 +sub_80355df8: +/* 80355DF8 00352D58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355DFC 00352D5C 7C 08 02 A6 */ mflr r0 +/* 80355E00 00352D60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355E04 00352D64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355E08 00352D68 93 C1 00 08 */ stw r30, 8(r1) +/* 80355E0C 00352D6C 7C 9E 23 78 */ mr r30, r4 +/* 80355E10 00352D70 83 E3 00 00 */ lwz r31, 0(r3) +/* 80355E14 00352D74 48 00 00 10 */ b lbl_80355E24 +lbl_80355E18: +/* 80355E18 00352D78 7F E3 FB 78 */ mr r3, r31 +/* 80355E1C 00352D7C 48 00 00 2D */ bl sub_80355e48 +/* 80355E20 00352D80 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80355E24: +/* 80355E24 00352D84 80 1E 00 00 */ lwz r0, 0(r30) +/* 80355E28 00352D88 7C 1F 00 40 */ cmplw r31, r0 +/* 80355E2C 00352D8C 40 82 FF EC */ bne lbl_80355E18 +/* 80355E30 00352D90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355E34 00352D94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355E38 00352D98 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355E3C 00352D9C 7C 08 03 A6 */ mtlr r0 +/* 80355E40 00352DA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355E44 00352DA4 4E 80 00 20 */ blr + +.global sub_80355e48 +sub_80355e48: +/* 80355E48 00352DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355E4C 00352DAC 7C 08 02 A6 */ mflr r0 +/* 80355E50 00352DB0 38 80 FF FF */ li r4, -1 +/* 80355E54 00352DB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355E58 00352DB8 48 00 00 15 */ bl sub_80355e6c +/* 80355E5C 00352DBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355E60 00352DC0 7C 08 03 A6 */ mtlr r0 +/* 80355E64 00352DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355E68 00352DC8 4E 80 00 20 */ blr + +.global sub_80355e6c +sub_80355e6c: +/* 80355E6C 00352DCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355E70 00352DD0 7C 08 02 A6 */ mflr r0 +/* 80355E74 00352DD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355E78 00352DD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355E7C 00352DDC 7C 9F 23 78 */ mr r31, r4 +/* 80355E80 00352DE0 93 C1 00 08 */ stw r30, 8(r1) +/* 80355E84 00352DE4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355E88 00352DE8 41 82 00 1C */ beq lbl_80355EA4 +/* 80355E8C 00352DEC 38 80 FF FF */ li r4, -1 +/* 80355E90 00352DF0 4B F6 86 39 */ bl sub_802be4c8 +/* 80355E94 00352DF4 7F E0 07 35 */ extsh. r0, r31 +/* 80355E98 00352DF8 40 81 00 0C */ ble lbl_80355EA4 +/* 80355E9C 00352DFC 7F C3 F3 78 */ mr r3, r30 +/* 80355EA0 00352E00 4B FB FA 91 */ bl Free__7CMemoryFPCv +lbl_80355EA4: +/* 80355EA4 00352E04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355EA8 00352E08 7F C3 F3 78 */ mr r3, r30 +/* 80355EAC 00352E0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355EB0 00352E10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355EB4 00352E14 7C 08 03 A6 */ mtlr r0 +/* 80355EB8 00352E18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355EBC 00352E1C 4E 80 00 20 */ blr + +.global "__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore" +"__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore": +/* 80355EC0 00352E20 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80355EC4 00352E24 7C 08 02 A6 */ mflr r0 +/* 80355EC8 00352E28 90 01 00 74 */ stw r0, 0x74(r1) +/* 80355ECC 00352E2C BE 81 00 40 */ stmw r20, 0x40(r1) +/* 80355ED0 00352E30 7C 94 23 78 */ mr r20, r4 +/* 80355ED4 00352E34 38 80 00 00 */ li r4, 0 +/* 80355ED8 00352E38 7C BF 2B 78 */ mr r31, r5 +/* 80355EDC 00352E3C 7C 7E 1B 78 */ mr r30, r3 +/* 80355EE0 00352E40 7C D5 33 78 */ mr r21, r6 +/* 80355EE4 00352E44 98 94 00 00 */ stb r4, 0(r20) +/* 80355EE8 00352E48 80 14 00 04 */ lwz r0, 4(r20) +/* 80355EEC 00352E4C 90 03 00 00 */ stw r0, 0(r3) +/* 80355EF0 00352E50 93 E3 00 04 */ stw r31, 4(r3) +/* 80355EF4 00352E54 90 83 00 0C */ stw r4, 0xc(r3) +/* 80355EF8 00352E58 90 83 00 10 */ stw r4, 0x10(r3) +/* 80355EFC 00352E5C 90 83 00 14 */ stw r4, 0x14(r3) +/* 80355F00 00352E60 90 83 00 1C */ stw r4, 0x1c(r3) +/* 80355F04 00352E64 90 83 00 20 */ stw r4, 0x20(r3) +/* 80355F08 00352E68 90 83 00 24 */ stw r4, 0x24(r3) +/* 80355F0C 00352E6C 90 83 00 28 */ stw r4, 0x28(r3) +/* 80355F10 00352E70 B0 83 00 2C */ sth r4, 0x2c(r3) +/* 80355F14 00352E74 B0 83 00 2E */ sth r4, 0x2e(r3) +/* 80355F18 00352E78 90 83 00 30 */ stw r4, 0x30(r3) +/* 80355F1C 00352E7C 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 80355F20 00352E80 90 03 00 34 */ stw r0, 0x34(r3) +/* 80355F24 00352E84 4B FB 38 D9 */ bl GetFrameCounter__9CGraphicsFv +/* 80355F28 00352E88 38 03 FF FE */ addi r0, r3, -2 +/* 80355F2C 00352E8C 38 A0 00 2C */ li r5, 0x2c +/* 80355F30 00352E90 90 1E 00 38 */ stw r0, 0x38(r30) +/* 80355F34 00352E94 83 94 00 04 */ lwz r28, 4(r20) +/* 80355F38 00352E98 80 7C 00 04 */ lwz r3, 4(r28) +/* 80355F3C 00352E9C 80 1C 00 08 */ lwz r0, 8(r28) +/* 80355F40 00352EA0 28 03 00 01 */ cmplwi r3, 1 +/* 80355F44 00352EA4 54 1B FF FE */ rlwinm r27, r0, 0x1f, 0x1f, 0x1f +/* 80355F48 00352EA8 54 1D F7 FE */ rlwinm r29, r0, 0x1e, 0x1f, 0x1f +/* 80355F4C 00352EAC 40 82 00 08 */ bne lbl_80355F54 +/* 80355F50 00352EB0 38 A0 00 28 */ li r5, 0x28 +lbl_80355F54: +/* 80355F54 00352EB4 28 03 00 02 */ cmplwi r3, 2 +/* 80355F58 00352EB8 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 80355F5C 00352EBC 7C 9C 2A 14 */ add r4, r28, r5 +/* 80355F60 00352EC0 3B 40 00 01 */ li r26, 1 +/* 80355F64 00352EC4 41 80 00 08 */ blt lbl_80355F6C +/* 80355F68 00352EC8 83 5C 00 28 */ lwz r26, 0x28(r28) +lbl_80355F6C: +/* 80355F6C 00352ECC 54 03 10 3A */ slwi r3, r0, 2 +/* 80355F70 00352ED0 90 81 00 20 */ stw r4, 0x20(r1) +/* 80355F74 00352ED4 38 03 00 1F */ addi r0, r3, 0x1f +/* 80355F78 00352ED8 7F 44 D3 78 */ mr r4, r26 +/* 80355F7C 00352EDC 7C 05 02 14 */ add r0, r5, r0 +/* 80355F80 00352EE0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80355F84 00352EE4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80355F88 00352EE8 7C 1C 02 14 */ add r0, r28, r0 +/* 80355F8C 00352EEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355F90 00352EF0 48 00 03 ED */ bl sub_8035637c +/* 80355F94 00352EF4 3B 20 00 00 */ li r25, 0 +/* 80355F98 00352EF8 48 00 00 7C */ b lbl_80356014 +lbl_80355F9C: +/* 80355F9C 00352EFC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80355FA0 00352F00 38 81 00 20 */ addi r4, r1, 0x20 +/* 80355FA4 00352F04 48 00 03 9D */ bl advanceSectionInfo +/* 80355FA8 00352F08 38 00 00 00 */ li r0, 0 +/* 80355FAC 00352F0C 90 61 00 38 */ stw r3, 0x38(r1) +/* 80355FB0 00352F10 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80355FB4 00352F14 38 81 00 28 */ addi r4, r1, 0x28 +/* 80355FB8 00352F18 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80355FBC 00352F1C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80355FC0 00352F20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80355FC4 00352F24 48 00 02 21 */ bl sub_803561e4 +/* 80355FC8 00352F28 38 61 00 28 */ addi r3, r1, 0x28 +/* 80355FCC 00352F2C 38 80 FF FF */ li r4, -1 +/* 80355FD0 00352F30 4B FF FE 9D */ bl sub_80355e6c +/* 80355FD4 00352F34 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 80355FD8 00352F38 7E A5 AB 78 */ mr r5, r21 +/* 80355FDC 00352F3C 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 80355FE0 00352F40 38 C0 00 01 */ li r6, 1 +/* 80355FE4 00352F44 38 03 FF FF */ addi r0, r3, -1 +/* 80355FE8 00352F48 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80355FEC 00352F4C 7E 84 02 14 */ add r20, r4, r0 +/* 80355FF0 00352F50 80 74 00 10 */ lwz r3, 0x10(r20) +/* 80355FF4 00352F54 7E 84 A3 78 */ mr r4, r20 +/* 80355FF8 00352F58 4B FB 18 09 */ bl "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" +/* 80355FFC 00352F5C 80 14 00 04 */ lwz r0, 4(r20) +/* 80356000 00352F60 3B 39 00 01 */ addi r25, r25, 1 +/* 80356004 00352F64 80 7E 00 04 */ lwz r3, 4(r30) +/* 80356008 00352F68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035600C 00352F6C 7C 03 02 14 */ add r0, r3, r0 +/* 80356010 00352F70 90 1E 00 04 */ stw r0, 4(r30) +lbl_80356014: +/* 80356014 00352F74 7C 19 D0 00 */ cmpw r25, r26 +/* 80356018 00352F78 41 80 FF 84 */ blt lbl_80355F9C +/* 8035601C 00352F7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356020 00352F80 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356024 00352F84 48 00 03 1D */ bl advanceSectionInfo +/* 80356028 00352F88 7C 60 1B 78 */ mr r0, r3 +/* 8035602C 00352F8C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356030 00352F90 7C 19 03 78 */ mr r25, r0 +/* 80356034 00352F94 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356038 00352F98 48 00 03 09 */ bl advanceSectionInfo +/* 8035603C 00352F9C 7C 60 1B 78 */ mr r0, r3 +/* 80356040 00352FA0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356044 00352FA4 7C 1A 03 78 */ mr r26, r0 +/* 80356048 00352FA8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035604C 00352FAC 48 00 02 F5 */ bl advanceSectionInfo +/* 80356050 00352FB0 7C 60 1B 78 */ mr r0, r3 +/* 80356054 00352FB4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356058 00352FB8 7C 18 03 78 */ mr r24, r0 +/* 8035605C 00352FBC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356060 00352FC0 48 00 02 E1 */ bl advanceSectionInfo +/* 80356064 00352FC4 28 1D 00 00 */ cmplwi r29, 0 +/* 80356068 00352FC8 7C 77 1B 78 */ mr r23, r3 +/* 8035606C 00352FCC 3A C0 00 00 */ li r22, 0 +/* 80356070 00352FD0 41 82 00 14 */ beq lbl_80356084 +/* 80356074 00352FD4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356078 00352FD8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035607C 00352FDC 48 00 02 C5 */ bl advanceSectionInfo +/* 80356080 00352FE0 7C 76 1B 78 */ mr r22, r3 +lbl_80356084: +/* 80356084 00352FE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356088 00352FE8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035608C 00352FEC 48 00 02 B5 */ bl advanceSectionInfo +/* 80356090 00352FF0 83 A3 00 00 */ lwz r29, 0(r3) +/* 80356094 00352FF4 38 7E 00 08 */ addi r3, r30, 8 +/* 80356098 00352FF8 7F A4 EB 78 */ mr r4, r29 +/* 8035609C 00352FFC 4B D0 DB 75 */ bl sub_80063c10 +/* 803560A0 00353000 3A A0 00 00 */ li r21, 0 +/* 803560A4 00353004 48 00 00 64 */ b lbl_80356108 +lbl_803560A8: +/* 803560A8 00353008 38 61 00 24 */ addi r3, r1, 0x24 +/* 803560AC 0035300C 38 81 00 20 */ addi r4, r1, 0x20 +/* 803560B0 00353010 48 00 02 91 */ bl advanceSectionInfo +/* 803560B4 00353014 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 803560B8 00353018 7C 74 1B 78 */ mr r20, r3 +/* 803560BC 0035301C 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 803560C0 00353020 7C 00 28 00 */ cmpw r0, r5 +/* 803560C4 00353024 41 80 00 1C */ blt lbl_803560E0 +/* 803560C8 00353028 2C 05 00 00 */ cmpwi r5, 0 +/* 803560CC 0035302C 38 7E 00 08 */ addi r3, r30, 8 +/* 803560D0 00353030 38 80 00 04 */ li r4, 4 +/* 803560D4 00353034 41 82 00 08 */ beq lbl_803560DC +/* 803560D8 00353038 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803560DC: +/* 803560DC 0035303C 4B D0 DB 35 */ bl sub_80063c10 +lbl_803560E0: +/* 803560E0 00353040 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 803560E4 00353044 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 803560E8 00353048 54 00 10 3A */ slwi r0, r0, 2 +/* 803560EC 0035304C 7C 63 02 15 */ add. r3, r3, r0 +/* 803560F0 00353050 41 82 00 08 */ beq lbl_803560F8 +/* 803560F4 00353054 92 83 00 00 */ stw r20, 0(r3) +lbl_803560F8: +/* 803560F8 00353058 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803560FC 0035305C 3A B5 00 01 */ addi r21, r21, 1 +/* 80356100 00353060 38 03 00 01 */ addi r0, r3, 1 +/* 80356104 00353064 90 1E 00 0C */ stw r0, 0xc(r30) +lbl_80356108: +/* 80356108 00353068 7C 15 E8 40 */ cmplw r21, r29 +/* 8035610C 0035306C 41 80 FF 9C */ blt lbl_803560A8 +/* 80356110 00353070 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 80356114 00353074 38 60 00 48 */ li r3, 0x48 +/* 80356118 00353078 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 8035611C 0035307C 38 A0 00 00 */ li r5, 0 +/* 80356120 00353080 4B FB F7 4D */ bl __nw__FUlPCcPCc +/* 80356124 00353084 7C 74 1B 79 */ or. r20, r3, r3 +/* 80356128 00353088 41 82 00 54 */ beq lbl_8035617C +/* 8035612C 0035308C 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 80356130 00353090 7C 1B 00 D0 */ neg r0, r27 +/* 80356134 00353094 7C 00 DB 78 */ or r0, r0, r27 +/* 80356138 00353098 38 9C 00 0C */ addi r4, r28, 0xc +/* 8035613C 0035309C 92 C1 00 08 */ stw r22, 8(r1) +/* 80356140 003530A0 54 09 0F FE */ srwi r9, r0, 0x1f +/* 80356144 003530A4 38 C0 00 01 */ li r6, 1 +/* 80356148 003530A8 38 00 FF FF */ li r0, -1 +/* 8035614C 003530AC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80356150 003530B0 7F 27 CB 78 */ mr r7, r25 +/* 80356154 003530B4 7F 48 D3 78 */ mr r8, r26 +/* 80356158 003530B8 7E EA BB 78 */ mr r10, r23 +/* 8035615C 003530BC 91 21 00 10 */ stw r9, 0x10(r1) +/* 80356160 003530C0 7F 09 C3 78 */ mr r9, r24 +/* 80356164 003530C4 38 9E 00 08 */ addi r4, r30, 8 +/* 80356168 003530C8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8035616C 003530CC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80356170 003530D0 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80356174 003530D4 4B FB 17 E1 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +/* 80356178 003530D8 7C 74 1B 78 */ mr r20, r3 +lbl_8035617C: +/* 8035617C 003530DC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80356180 003530E0 4B FB F7 B1 */ bl Free__7CMemoryFPCv +/* 80356184 003530E4 92 9E 00 28 */ stw r20, 0x28(r30) +/* 80356188 003530E8 93 CD AA 7C */ stw r30, lbl_805A963C@sda21(r13) +/* 8035618C 003530EC 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 80356190 003530F0 28 03 00 00 */ cmplwi r3, 0 +/* 80356194 003530F4 41 82 00 08 */ beq lbl_8035619C +/* 80356198 003530F8 93 C3 00 30 */ stw r30, 0x30(r3) +lbl_8035619C: +/* 8035619C 003530FC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 803561A0 00353100 7F E4 FB 78 */ mr r4, r31 +/* 803561A4 00353104 80 7E 00 04 */ lwz r3, 4(r30) +/* 803561A8 00353108 54 00 10 3A */ slwi r0, r0, 2 +/* 803561AC 0035310C 7C 03 02 14 */ add r0, r3, r0 +/* 803561B0 00353110 90 1E 00 04 */ stw r0, 4(r30) +/* 803561B4 00353114 80 6D AA 78 */ lwz r3, lbl_805A9638@sda21(r13) +/* 803561B8 00353118 80 1E 00 04 */ lwz r0, 4(r30) +/* 803561BC 0035311C 7C 03 02 14 */ add r0, r3, r0 +/* 803561C0 00353120 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 803561C4 00353124 80 7E 00 00 */ lwz r3, 0(r30) +/* 803561C8 00353128 48 02 88 E9 */ bl DCFlushRange +/* 803561CC 0035312C 7F C3 F3 78 */ mr r3, r30 +/* 803561D0 00353130 BA 81 00 40 */ lmw r20, 0x40(r1) +/* 803561D4 00353134 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803561D8 00353138 7C 08 03 A6 */ mtlr r0 +/* 803561DC 0035313C 38 21 00 70 */ addi r1, r1, 0x70 +/* 803561E0 00353140 4E 80 00 20 */ blr + +.global sub_803561e4 +sub_803561e4: +/* 803561E4 00353144 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803561E8 00353148 7C 08 02 A6 */ mflr r0 +/* 803561EC 0035314C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803561F0 00353150 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803561F4 00353154 7C 9F 23 78 */ mr r31, r4 +/* 803561F8 00353158 93 C1 00 08 */ stw r30, 8(r1) +/* 803561FC 0035315C 7C 7E 1B 78 */ mr r30, r3 +/* 80356200 00353160 80 03 00 04 */ lwz r0, 4(r3) +/* 80356204 00353164 80 A3 00 08 */ lwz r5, 8(r3) +/* 80356208 00353168 7C 00 28 00 */ cmpw r0, r5 +/* 8035620C 0035316C 41 80 00 18 */ blt lbl_80356224 +/* 80356210 00353170 2C 05 00 00 */ cmpwi r5, 0 +/* 80356214 00353174 38 80 00 04 */ li r4, 4 +/* 80356218 00353178 41 82 00 08 */ beq lbl_80356220 +/* 8035621C 0035317C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80356220: +/* 80356220 00353180 48 00 01 5D */ bl sub_8035637c +lbl_80356224: +/* 80356224 00353184 80 1E 00 04 */ lwz r0, 4(r30) +/* 80356228 00353188 7F E4 FB 78 */ mr r4, r31 +/* 8035622C 0035318C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80356230 00353190 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80356234 00353194 7C 63 02 14 */ add r3, r3, r0 +/* 80356238 00353198 48 00 00 29 */ bl sub_80356260 +/* 8035623C 0035319C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80356240 003531A0 38 03 00 01 */ addi r0, r3, 1 +/* 80356244 003531A4 90 1E 00 04 */ stw r0, 4(r30) +/* 80356248 003531A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035624C 003531AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80356250 003531B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356254 003531B4 7C 08 03 A6 */ mtlr r0 +/* 80356258 003531B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035625C 003531BC 4E 80 00 20 */ blr + +.global sub_80356260 +sub_80356260: +/* 80356260 003531C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80356264 003531C4 7C 08 02 A6 */ mflr r0 +/* 80356268 003531C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035626C 003531CC BF 41 00 08 */ stmw r26, 8(r1) +/* 80356270 003531D0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80356274 003531D4 7C 9B 23 78 */ mr r27, r4 +/* 80356278 003531D8 41 82 00 B4 */ beq lbl_8035632C +/* 8035627C 003531DC 80 1B 00 04 */ lwz r0, 4(r27) +/* 80356280 003531E0 90 1A 00 04 */ stw r0, 4(r26) +/* 80356284 003531E4 80 1B 00 08 */ lwz r0, 8(r27) +/* 80356288 003531E8 90 1A 00 08 */ stw r0, 8(r26) +/* 8035628C 003531EC 80 1B 00 04 */ lwz r0, 4(r27) +/* 80356290 003531F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80356294 003531F4 40 82 00 1C */ bne lbl_803562B0 +/* 80356298 003531F8 80 1B 00 08 */ lwz r0, 8(r27) +/* 8035629C 003531FC 2C 00 00 00 */ cmpwi r0, 0 +/* 803562A0 00353200 40 82 00 10 */ bne lbl_803562B0 +/* 803562A4 00353204 38 00 00 00 */ li r0, 0 +/* 803562A8 00353208 90 1A 00 0C */ stw r0, 0xc(r26) +/* 803562AC 0035320C 48 00 00 78 */ b lbl_80356324 +lbl_803562B0: +/* 803562B0 00353210 80 1A 00 08 */ lwz r0, 8(r26) +/* 803562B4 00353214 1C 60 00 0C */ mulli r3, r0, 0xc +/* 803562B8 00353218 2C 03 00 00 */ cmpwi r3, 0 +/* 803562BC 0035321C 40 82 00 10 */ bne lbl_803562CC +/* 803562C0 00353220 38 00 00 00 */ li r0, 0 +/* 803562C4 00353224 90 1A 00 0C */ stw r0, 0xc(r26) +/* 803562C8 00353228 48 00 00 18 */ b lbl_803562E0 +lbl_803562CC: +/* 803562CC 0035322C 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 803562D0 00353230 38 A0 00 00 */ li r5, 0 +/* 803562D4 00353234 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 803562D8 00353238 4B FB F5 41 */ bl __nwa__FUlPCcPCc +/* 803562DC 0035323C 90 7A 00 0C */ stw r3, 0xc(r26) +lbl_803562E0: +/* 803562E0 00353240 83 9A 00 04 */ lwz r28, 4(r26) +/* 803562E4 00353244 3B E0 00 00 */ li r31, 0 +/* 803562E8 00353248 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 803562EC 0035324C 83 DA 00 0C */ lwz r30, 0xc(r26) +/* 803562F0 00353250 48 00 00 2C */ b lbl_8035631C +lbl_803562F4: +/* 803562F4 00353254 28 1E 00 00 */ cmplwi r30, 0 +/* 803562F8 00353258 41 82 00 18 */ beq lbl_80356310 +/* 803562FC 0035325C 7F C3 F3 78 */ mr r3, r30 +/* 80356300 00353260 7F A4 EB 78 */ mr r4, r29 +/* 80356304 00353264 4B FE AB A5 */ bl __ct__6CTokenFRC6CToken +/* 80356308 00353268 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035630C 0035326C 90 1E 00 08 */ stw r0, 8(r30) +lbl_80356310: +/* 80356310 00353270 3B DE 00 0C */ addi r30, r30, 0xc +/* 80356314 00353274 3B FF 00 01 */ addi r31, r31, 1 +/* 80356318 00353278 3B BD 00 0C */ addi r29, r29, 0xc +lbl_8035631C: +/* 8035631C 0035327C 7C 1F E0 00 */ cmpw r31, r28 +/* 80356320 00353280 41 80 FF D4 */ blt lbl_803562F4 +lbl_80356324: +/* 80356324 00353284 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 80356328 00353288 90 1A 00 10 */ stw r0, 0x10(r26) +lbl_8035632C: +/* 8035632C 0035328C BB 41 00 08 */ lmw r26, 8(r1) +/* 80356330 00353290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80356334 00353294 7C 08 03 A6 */ mtlr r0 +/* 80356338 00353298 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035633C 0035329C 4E 80 00 20 */ blr + +.global advanceSectionInfo +advanceSectionInfo: +/* 80356340 003532A0 80 A4 00 00 */ lwz r5, 0(r4) +/* 80356344 003532A4 80 C5 00 00 */ lwz r6, 0(r5) +/* 80356348 003532A8 2C 06 00 00 */ cmpwi r6, 0 +/* 8035634C 003532AC 41 82 00 0C */ beq lbl_80356358 +/* 80356350 003532B0 80 A3 00 00 */ lwz r5, 0(r3) +/* 80356354 003532B4 48 00 00 08 */ b lbl_8035635C +lbl_80356358: +/* 80356358 003532B8 38 A0 00 00 */ li r5, 0 +lbl_8035635C: +/* 8035635C 003532BC 80 03 00 00 */ lwz r0, 0(r3) +/* 80356360 003532C0 7C 00 32 14 */ add r0, r0, r6 +/* 80356364 003532C4 90 03 00 00 */ stw r0, 0(r3) +/* 80356368 003532C8 7C A3 2B 78 */ mr r3, r5 +/* 8035636C 003532CC 80 A4 00 00 */ lwz r5, 0(r4) +/* 80356370 003532D0 38 05 00 04 */ addi r0, r5, 4 +/* 80356374 003532D4 90 04 00 00 */ stw r0, 0(r4) +/* 80356378 003532D8 4E 80 00 20 */ blr + +.global sub_8035637c +sub_8035637c: +/* 8035637C 003532DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80356380 003532E0 7C 08 02 A6 */ mflr r0 +/* 80356384 003532E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80356388 003532E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035638C 003532EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80356390 003532F0 7C 9E 23 78 */ mr r30, r4 +/* 80356394 003532F4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80356398 003532F8 7C 7D 1B 78 */ mr r29, r3 +/* 8035639C 003532FC 80 03 00 08 */ lwz r0, 8(r3) +/* 803563A0 00353300 7C 1E 00 00 */ cmpw r30, r0 +/* 803563A4 00353304 40 81 00 8C */ ble lbl_80356430 +/* 803563A8 00353308 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 803563AC 0035330C 2C 03 00 00 */ cmpwi r3, 0 +/* 803563B0 00353310 40 82 00 0C */ bne lbl_803563BC +/* 803563B4 00353314 3B E0 00 00 */ li r31, 0 +/* 803563B8 00353318 48 00 00 18 */ b lbl_803563D0 +lbl_803563BC: +/* 803563BC 0035331C 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 803563C0 00353320 38 A0 00 00 */ li r5, 0 +/* 803563C4 00353324 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 803563C8 00353328 4B FB F4 51 */ bl __nwa__FUlPCcPCc +/* 803563CC 0035332C 7C 7F 1B 78 */ mr r31, r3 +lbl_803563D0: +/* 803563D0 00353330 80 1D 00 04 */ lwz r0, 4(r29) +/* 803563D4 00353334 7F E5 FB 78 */ mr r5, r31 +/* 803563D8 00353338 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 803563DC 0035333C 38 61 00 14 */ addi r3, r1, 0x14 +/* 803563E0 00353340 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 803563E4 00353344 38 81 00 0C */ addi r4, r1, 0xc +/* 803563E8 00353348 7C C6 02 14 */ add r6, r6, r0 +/* 803563EC 0035334C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803563F0 00353350 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803563F4 00353354 90 C1 00 08 */ stw r6, 8(r1) +/* 803563F8 00353358 90 01 00 10 */ stw r0, 0x10(r1) +/* 803563FC 0035335C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356400 00353360 48 00 00 99 */ bl sub_80356498 +/* 80356404 00353364 80 1D 00 04 */ lwz r0, 4(r29) +/* 80356408 00353368 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8035640C 0035336C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80356410 00353370 7C 83 02 14 */ add r4, r3, r0 +/* 80356414 00353374 48 00 00 39 */ bl sub_8035644c +/* 80356418 00353378 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8035641C 0035337C 28 03 00 00 */ cmplwi r3, 0 +/* 80356420 00353380 41 82 00 08 */ beq lbl_80356428 +/* 80356424 00353384 4B FB F5 0D */ bl Free__7CMemoryFPCv +lbl_80356428: +/* 80356428 00353388 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8035642C 0035338C 93 DD 00 08 */ stw r30, 8(r29) +lbl_80356430: +/* 80356430 00353390 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80356434 00353394 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80356438 00353398 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8035643C 0035339C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80356440 003533A0 7C 08 03 A6 */ mtlr r0 +/* 80356444 003533A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80356448 003533A8 4E 80 00 20 */ blr + +.global sub_8035644c +sub_8035644c: +/* 8035644C 003533AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356450 003533B0 7C 08 02 A6 */ mflr r0 +/* 80356454 003533B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356458 003533B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035645C 003533BC 7C 7F 1B 78 */ mr r31, r3 +/* 80356460 003533C0 93 C1 00 08 */ stw r30, 8(r1) +/* 80356464 003533C4 7C 9E 23 78 */ mr r30, r4 +/* 80356468 003533C8 48 00 00 10 */ b lbl_80356478 +lbl_8035646C: +/* 8035646C 003533CC 7F E3 FB 78 */ mr r3, r31 +/* 80356470 003533D0 4B FF F9 D9 */ bl sub_80355e48 +/* 80356474 003533D4 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80356478: +/* 80356478 003533D8 7C 1F F0 40 */ cmplw r31, r30 +/* 8035647C 003533DC 40 82 FF F0 */ bne lbl_8035646C +/* 80356480 003533E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356484 003533E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356488 003533E8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035648C 003533EC 7C 08 03 A6 */ mtlr r0 +/* 80356490 003533F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356494 003533F4 4E 80 00 20 */ blr + +.global sub_80356498 +sub_80356498: +/* 80356498 003533F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035649C 003533FC 7C 08 02 A6 */ mflr r0 +/* 803564A0 00353400 90 01 00 24 */ stw r0, 0x24(r1) +/* 803564A4 00353404 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803564A8 00353408 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803564AC 0035340C 7C BE 2B 78 */ mr r30, r5 +/* 803564B0 00353410 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803564B4 00353414 7C 9D 23 78 */ mr r29, r4 +/* 803564B8 00353418 83 E3 00 00 */ lwz r31, 0(r3) +/* 803564BC 0035341C 48 00 00 18 */ b lbl_803564D4 +lbl_803564C0: +/* 803564C0 00353420 7F C3 F3 78 */ mr r3, r30 +/* 803564C4 00353424 7F E4 FB 78 */ mr r4, r31 +/* 803564C8 00353428 4B FF FD 99 */ bl sub_80356260 +/* 803564CC 0035342C 3B DE 00 14 */ addi r30, r30, 0x14 +/* 803564D0 00353430 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_803564D4: +/* 803564D4 00353434 80 1D 00 00 */ lwz r0, 0(r29) +/* 803564D8 00353438 7C 1F 00 40 */ cmplw r31, r0 +/* 803564DC 0035343C 40 82 FF E4 */ bne lbl_803564C0 +/* 803564E0 00353440 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803564E4 00353444 7F C3 F3 78 */ mr r3, r30 +/* 803564E8 00353448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803564EC 0035344C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803564F0 00353450 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803564F4 00353454 7C 08 03 A6 */ mtlr r0 +/* 803564F8 00353458 38 21 00 20 */ addi r1, r1, 0x20 +/* 803564FC 0035345C 4E 80 00 20 */ blr + +.global FStringTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FStringTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80356500 00353460 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356504 00353464 7C 08 02 A6 */ mflr r0 +/* 80356508 00353468 3C 80 80 3E */ lis r4, lbl_803D8320@ha +/* 8035650C 0035346C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356510 00353470 38 84 83 20 */ addi r4, r4, lbl_803D8320@l +/* 80356514 00353474 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356518 00353478 7C BF 2B 78 */ mr r31, r5 +/* 8035651C 0035347C 38 A0 00 00 */ li r5, 0 +/* 80356520 00353480 93 C1 00 08 */ stw r30, 8(r1) +/* 80356524 00353484 7C 7E 1B 78 */ mr r30, r3 +/* 80356528 00353488 38 60 00 08 */ li r3, 8 +/* 8035652C 0035348C 4B FB F3 41 */ bl __nw__FUlPCcPCc +/* 80356530 00353490 7C 64 1B 79 */ or. r4, r3, r3 +/* 80356534 00353494 41 82 00 10 */ beq lbl_80356544 +/* 80356538 00353498 7F E4 FB 78 */ mr r4, r31 +/* 8035653C 0035349C 48 00 01 F5 */ bl __ct__12CStringTableFR12CInputStream +/* 80356540 003534A0 7C 64 1B 78 */ mr r4, r3 +lbl_80356544: +/* 80356544 003534A4 7F C3 F3 78 */ mr r3, r30 +/* 80356548 003534A8 48 00 00 1D */ bl sub_80356564 +/* 8035654C 003534AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356550 003534B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356554 003534B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80356558 003534B8 7C 08 03 A6 */ mtlr r0 +/* 8035655C 003534BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356560 003534C0 4E 80 00 20 */ blr + +.global sub_80356564 +sub_80356564: +/* 80356564 003534C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80356568 003534C8 7C 08 02 A6 */ mflr r0 +/* 8035656C 003534CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80356570 003534D0 7C 04 00 D0 */ neg r0, r4 +/* 80356574 003534D4 7C 00 23 78 */ or r0, r0, r4 +/* 80356578 003534D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035657C 003534DC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80356580 003534E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80356584 003534E4 7C 7E 1B 78 */ mr r30, r3 +/* 80356588 003534E8 38 61 00 08 */ addi r3, r1, 8 +/* 8035658C 003534EC 90 81 00 14 */ stw r4, 0x14(r1) +/* 80356590 003534F0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80356594 003534F4 98 01 00 10 */ stb r0, 0x10(r1) +/* 80356598 003534F8 48 00 00 9D */ bl sub_80356634 +/* 8035659C 003534FC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803565A0 00353500 38 00 00 00 */ li r0, 0 +/* 803565A4 00353504 98 01 00 08 */ stb r0, 8(r1) +/* 803565A8 00353508 7C 03 00 D0 */ neg r0, r3 +/* 803565AC 0035350C 7C 00 1B 78 */ or r0, r0, r3 +/* 803565B0 00353510 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803565B4 00353514 98 1E 00 00 */ stb r0, 0(r30) +/* 803565B8 00353518 90 7E 00 04 */ stw r3, 4(r30) +/* 803565BC 0035351C 88 01 00 08 */ lbz r0, 8(r1) +/* 803565C0 00353520 28 00 00 00 */ cmplwi r0, 0 +/* 803565C4 00353524 41 82 00 24 */ beq lbl_803565E8 +/* 803565C8 00353528 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803565CC 0035352C 28 03 00 00 */ cmplwi r3, 0 +/* 803565D0 00353530 41 82 00 18 */ beq lbl_803565E8 +/* 803565D4 00353534 81 83 00 00 */ lwz r12, 0(r3) +/* 803565D8 00353538 38 80 00 01 */ li r4, 1 +/* 803565DC 0035353C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803565E0 00353540 7D 89 03 A6 */ mtctr r12 +/* 803565E4 00353544 4E 80 04 21 */ bctrl +lbl_803565E8: +/* 803565E8 00353548 88 01 00 10 */ lbz r0, 0x10(r1) +/* 803565EC 0035354C 28 00 00 00 */ cmplwi r0, 0 +/* 803565F0 00353550 41 82 00 28 */ beq lbl_80356618 +/* 803565F4 00353554 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 803565F8 00353558 28 1F 00 00 */ cmplwi r31, 0 +/* 803565FC 0035355C 41 82 00 1C */ beq lbl_80356618 +/* 80356600 00353560 34 1F 00 04 */ addic. r0, r31, 4 +/* 80356604 00353564 41 82 00 0C */ beq lbl_80356610 +/* 80356608 00353568 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035660C 0035356C 4B FB F3 25 */ bl Free__7CMemoryFPCv +lbl_80356610: +/* 80356610 00353570 7F E3 FB 78 */ mr r3, r31 +/* 80356614 00353574 4B FB F3 1D */ bl Free__7CMemoryFPCv +lbl_80356618: +/* 80356618 00353578 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035661C 0035357C 7F C3 F3 78 */ mr r3, r30 +/* 80356620 00353580 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80356624 00353584 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80356628 00353588 7C 08 03 A6 */ mtlr r0 +/* 8035662C 0035358C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80356630 00353590 4E 80 00 20 */ blr + +.global sub_80356634 +sub_80356634: +/* 80356634 00353594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356638 00353598 7C 08 02 A6 */ mflr r0 +/* 8035663C 0035359C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356640 003535A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356644 003535A4 7C 7F 1B 78 */ mr r31, r3 +/* 80356648 003535A8 48 00 00 19 */ bl sub_80356660 +/* 8035664C 003535AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356650 003535B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356654 003535B4 7C 08 03 A6 */ mtlr r0 +/* 80356658 003535B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035665C 003535BC 4E 80 00 20 */ blr + +.global sub_80356660 +sub_80356660: +/* 80356660 003535C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356664 003535C4 7C 08 02 A6 */ mflr r0 +/* 80356668 003535C8 3C A0 80 3E */ lis r5, lbl_803D8320@ha +/* 8035666C 003535CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356670 003535D0 38 05 83 20 */ addi r0, r5, lbl_803D8320@l +/* 80356674 003535D4 38 A0 00 00 */ li r5, 0 +/* 80356678 003535D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035667C 003535DC 7C 9F 23 78 */ mr r31, r4 +/* 80356680 003535E0 7C 04 03 78 */ mr r4, r0 +/* 80356684 003535E4 93 C1 00 08 */ stw r30, 8(r1) +/* 80356688 003535E8 7C 7E 1B 78 */ mr r30, r3 +/* 8035668C 003535EC 38 60 00 08 */ li r3, 8 +/* 80356690 003535F0 4B FB F1 DD */ bl __nw__FUlPCcPCc +/* 80356694 003535F4 28 03 00 00 */ cmplwi r3, 0 +/* 80356698 003535F8 41 82 00 38 */ beq lbl_803566D0 +/* 8035669C 003535FC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 803566A0 00353600 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 803566A4 00353604 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 803566A8 00353608 3C 80 80 3E */ lis r4, lbl_803D9A0C@ha +/* 803566AC 0035360C 90 03 00 00 */ stw r0, 0(r3) +/* 803566B0 00353610 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 803566B4 00353614 38 A0 00 00 */ li r5, 0 +/* 803566B8 00353618 38 04 9A 0C */ addi r0, r4, lbl_803D9A0C@l +/* 803566BC 0035361C 90 C3 00 00 */ stw r6, 0(r3) +/* 803566C0 00353620 98 BF 00 00 */ stb r5, 0(r31) +/* 803566C4 00353624 80 9F 00 04 */ lwz r4, 4(r31) +/* 803566C8 00353628 90 83 00 04 */ stw r4, 4(r3) +/* 803566CC 0035362C 90 03 00 00 */ stw r0, 0(r3) +lbl_803566D0: +/* 803566D0 00353630 7C 03 00 D0 */ neg r0, r3 +/* 803566D4 00353634 7C 00 1B 78 */ or r0, r0, r3 +/* 803566D8 00353638 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803566DC 0035363C 98 1E 00 00 */ stb r0, 0(r30) +/* 803566E0 00353640 90 7E 00 04 */ stw r3, 4(r30) +/* 803566E4 00353644 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803566E8 00353648 83 C1 00 08 */ lwz r30, 8(r1) +/* 803566EC 0035364C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803566F0 00353650 7C 08 03 A6 */ mtlr r0 +/* 803566F4 00353654 38 21 00 10 */ addi r1, r1, 0x10 +/* 803566F8 00353658 4E 80 00 20 */ blr + +.global GetString__12CStringTableCFi +GetString__12CStringTableCFi: +/* 803566FC 0035365C 2C 04 00 00 */ cmpwi r4, 0 +/* 80356700 00353660 41 80 00 10 */ blt lbl_80356710 +/* 80356704 00353664 80 03 00 00 */ lwz r0, 0(r3) +/* 80356708 00353668 7C 04 00 00 */ cmpw r4, r0 +/* 8035670C 0035366C 41 80 00 10 */ blt lbl_8035671C +lbl_80356710: +/* 80356710 00353670 3C 60 80 3E */ lis r3, lbl_803D8310@ha +/* 80356714 00353674 38 63 83 10 */ addi r3, r3, lbl_803D8310@l +/* 80356718 00353678 4E 80 00 20 */ blr +lbl_8035671C: +/* 8035671C 0035367C 80 63 00 04 */ lwz r3, 4(r3) +/* 80356720 00353680 54 80 10 3A */ slwi r0, r4, 2 +/* 80356724 00353684 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80356728 00353688 7C 63 02 14 */ add r3, r3, r0 +/* 8035672C 0035368C 4E 80 00 20 */ blr + +.global __ct__12CStringTableFR12CInputStream +__ct__12CStringTableFR12CInputStream: +/* 80356730 00353690 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80356734 00353694 7C 08 02 A6 */ mflr r0 +/* 80356738 00353698 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035673C 0035369C 38 00 00 00 */ li r0, 0 +/* 80356740 003536A0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 80356744 003536A4 7C 7E 1B 78 */ mr r30, r3 +/* 80356748 003536A8 7C 9F 23 78 */ mr r31, r4 +/* 8035674C 003536AC 90 03 00 00 */ stw r0, 0(r3) +/* 80356750 003536B0 7F E3 FB 78 */ mr r3, r31 +/* 80356754 003536B4 90 1E 00 04 */ stw r0, 4(r30) +/* 80356758 003536B8 4B FE 85 2D */ bl ReadLong__12CInputStreamFv +/* 8035675C 003536BC 7F E3 FB 78 */ mr r3, r31 +/* 80356760 003536C0 4B FE 85 25 */ bl ReadLong__12CInputStreamFv +/* 80356764 003536C4 7F E3 FB 78 */ mr r3, r31 +/* 80356768 003536C8 4B FE 85 1D */ bl ReadLong__12CInputStreamFv +/* 8035676C 003536CC 7C 7B 1B 78 */ mr r27, r3 +/* 80356770 003536D0 7F E3 FB 78 */ mr r3, r31 +/* 80356774 003536D4 4B FE 85 11 */ bl ReadLong__12CInputStreamFv +/* 80356778 003536D8 90 7E 00 00 */ stw r3, 0(r30) +/* 8035677C 003536DC 38 00 00 00 */ li r0, 0 +/* 80356780 003536E0 7F 64 DB 78 */ mr r4, r27 +/* 80356784 003536E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80356788 003536E8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8035678C 003536EC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80356790 003536F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80356794 003536F4 4B CB 22 B9 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +/* 80356798 003536F8 3B 40 00 00 */ li r26, 0 +/* 8035679C 003536FC 48 00 00 70 */ b lbl_8035680C +lbl_803567A0: +/* 803567A0 00353700 7F E3 FB 78 */ mr r3, r31 +/* 803567A4 00353704 4B FE 84 E1 */ bl ReadLong__12CInputStreamFv +/* 803567A8 00353708 7C 7C 1B 78 */ mr r28, r3 +/* 803567AC 0035370C 7F E3 FB 78 */ mr r3, r31 +/* 803567B0 00353710 4B FE 84 D5 */ bl ReadLong__12CInputStreamFv +/* 803567B4 00353714 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803567B8 00353718 7C 7D 1B 78 */ mr r29, r3 +/* 803567BC 0035371C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 803567C0 00353720 7C 00 28 00 */ cmpw r0, r5 +/* 803567C4 00353724 41 80 00 1C */ blt lbl_803567E0 +/* 803567C8 00353728 2C 05 00 00 */ cmpwi r5, 0 +/* 803567CC 0035372C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803567D0 00353730 38 80 00 04 */ li r4, 4 +/* 803567D4 00353734 41 82 00 08 */ beq lbl_803567DC +/* 803567D8 00353738 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803567DC: +/* 803567DC 0035373C 4B CB 22 71 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +lbl_803567E0: +/* 803567E0 00353740 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803567E4 00353744 80 61 00 24 */ lwz r3, 0x24(r1) +/* 803567E8 00353748 54 00 18 38 */ slwi r0, r0, 3 +/* 803567EC 0035374C 7C 63 02 15 */ add. r3, r3, r0 +/* 803567F0 00353750 41 82 00 0C */ beq lbl_803567FC +/* 803567F4 00353754 93 83 00 00 */ stw r28, 0(r3) +/* 803567F8 00353758 93 A3 00 04 */ stw r29, 4(r3) +lbl_803567FC: +/* 803567FC 0035375C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80356800 00353760 3B 5A 00 01 */ addi r26, r26, 1 +/* 80356804 00353764 38 03 00 01 */ addi r0, r3, 1 +/* 80356808 00353768 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8035680C: +/* 8035680C 0035376C 7C 1A D8 00 */ cmpw r26, r27 +/* 80356810 00353770 41 80 FF 90 */ blt lbl_803567A0 +/* 80356814 00353774 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80356818 00353778 38 C0 00 00 */ li r6, 0 +/* 8035681C 0035377C 80 8D 9E 18 */ lwz r4, lbl_805A89D8@sda21(r13) +/* 80356820 00353780 7C A3 2B 78 */ mr r3, r5 +/* 80356824 00353784 83 45 00 04 */ lwz r26, 4(r5) +/* 80356828 00353788 7F 69 03 A6 */ mtctr r27 +/* 8035682C 0035378C 2C 1B 00 00 */ cmpwi r27, 0 +/* 80356830 00353790 40 81 00 2C */ ble lbl_8035685C +lbl_80356834: +/* 80356834 00353794 80 03 00 00 */ lwz r0, 0(r3) +/* 80356838 00353798 7C 04 00 40 */ cmplw r4, r0 +/* 8035683C 0035379C 40 82 00 14 */ bne lbl_80356850 +/* 80356840 003537A0 54 C3 18 38 */ slwi r3, r6, 3 +/* 80356844 003537A4 38 03 00 04 */ addi r0, r3, 4 +/* 80356848 003537A8 7F 45 00 2E */ lwzx r26, r5, r0 +/* 8035684C 003537AC 48 00 00 10 */ b lbl_8035685C +lbl_80356850: +/* 80356850 003537B0 38 63 00 08 */ addi r3, r3, 8 +/* 80356854 003537B4 38 C6 00 01 */ addi r6, r6, 1 +/* 80356858 003537B8 42 00 FF DC */ bdnz lbl_80356834 +lbl_8035685C: +/* 8035685C 003537BC 3B 60 00 00 */ li r27, 0 +/* 80356860 003537C0 48 00 00 10 */ b lbl_80356870 +lbl_80356864: +/* 80356864 003537C4 7F E3 FB 78 */ mr r3, r31 +/* 80356868 003537C8 4B FE 84 A5 */ bl ReadChar__12CInputStreamFv +/* 8035686C 003537CC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80356870: +/* 80356870 003537D0 7C 1B D0 40 */ cmplw r27, r26 +/* 80356874 003537D4 41 80 FF F0 */ blt lbl_80356864 +/* 80356878 003537D8 7F E3 FB 78 */ mr r3, r31 +/* 8035687C 003537DC 4B FE 84 09 */ bl ReadLong__12CInputStreamFv +/* 80356880 003537E0 3C 80 80 3E */ lis r4, lbl_803D8320@ha +/* 80356884 003537E4 7C 7B 1B 78 */ mr r27, r3 +/* 80356888 003537E8 38 A0 00 00 */ li r5, 0 +/* 8035688C 003537EC 38 84 83 20 */ addi r4, r4, lbl_803D8320@l +/* 80356890 003537F0 4B FB EF 89 */ bl __nwa__FUlPCcPCc +/* 80356894 003537F4 7C 7D 1B 78 */ mr r29, r3 +/* 80356898 003537F8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035689C 003537FC 4B FB F0 95 */ bl Free__7CMemoryFPCv +/* 803568A0 00353800 93 BE 00 04 */ stw r29, 4(r30) +/* 803568A4 00353804 7F E3 FB 78 */ mr r3, r31 +/* 803568A8 00353808 7F 65 DB 78 */ mr r5, r27 +/* 803568AC 0035380C 80 9E 00 04 */ lwz r4, 4(r30) +/* 803568B0 00353810 4B FE 85 D1 */ bl ReadBytes__12CInputStreamFPvUl +/* 803568B4 00353814 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803568B8 00353818 80 61 00 24 */ lwz r3, 0x24(r1) +/* 803568BC 0035381C 54 00 18 38 */ slwi r0, r0, 3 +/* 803568C0 00353820 7C 03 02 14 */ add r0, r3, r0 +/* 803568C4 00353824 90 61 00 0C */ stw r3, 0xc(r1) +/* 803568C8 00353828 7C 64 1B 78 */ mr r4, r3 +/* 803568CC 0035382C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803568D0 00353830 90 01 00 10 */ stw r0, 0x10(r1) +/* 803568D4 00353834 90 61 00 08 */ stw r3, 8(r1) +/* 803568D8 00353838 48 00 00 08 */ b lbl_803568E0 +lbl_803568DC: +/* 803568DC 0035383C 38 84 00 08 */ addi r4, r4, 8 +lbl_803568E0: +/* 803568E0 00353840 7C 04 00 40 */ cmplw r4, r0 +/* 803568E4 00353844 40 82 FF F8 */ bne lbl_803568DC +/* 803568E8 00353848 28 03 00 00 */ cmplwi r3, 0 +/* 803568EC 0035384C 41 82 00 08 */ beq lbl_803568F4 +/* 803568F0 00353850 4B FB F0 41 */ bl Free__7CMemoryFPCv +lbl_803568F4: +/* 803568F4 00353854 7F C3 F3 78 */ mr r3, r30 +/* 803568F8 00353858 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 803568FC 0035385C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80356900 00353860 7C 08 03 A6 */ mtlr r0 +/* 80356904 00353864 38 21 00 40 */ addi r1, r1, 0x40 +/* 80356908 00353868 4E 80 00 20 */ blr + +.global GetValue__14CVEAngleSphereCFiR9CVector3fR9CVector3f +GetValue__14CVEAngleSphereCFiR9CVector3fR9CVector3f: +/* 8035690C 0035386C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80356910 00353870 7C 08 02 A6 */ mflr r0 +/* 80356914 00353874 90 01 00 94 */ stw r0, 0x94(r1) +/* 80356918 00353878 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8035691C 0035387C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80356920 00353880 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80356924 00353884 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80356928 00353888 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8035692C 0035388C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80356930 00353890 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80356934 00353894 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80356938 00353898 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8035693C 0035389C 93 81 00 50 */ stw r28, 0x50(r1) +/* 80356940 003538A0 3C E0 80 5A */ lis r7, skZero3f@ha +/* 80356944 003538A4 7C 7C 1B 78 */ mr r28, r3 +/* 80356948 003538A8 38 67 66 A0 */ addi r3, r7, skZero3f@l +/* 8035694C 003538AC 7C BE 2B 78 */ mr r30, r5 +/* 80356950 003538B0 C0 43 00 00 */ lfs f2, 0(r3) +/* 80356954 003538B4 7C 9D 23 78 */ mr r29, r4 +/* 80356958 003538B8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035695C 003538BC 7C DF 33 78 */ mr r31, r6 +/* 80356960 003538C0 C0 03 00 08 */ lfs f0, 8(r3) +/* 80356964 003538C4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80356968 003538C8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8035696C 003538CC 80 7C 00 04 */ lwz r3, 4(r28) +/* 80356970 003538D0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80356974 003538D4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80356978 003538D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035697C 003538DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356980 003538E0 7D 89 03 A6 */ mtctr r12 +/* 80356984 003538E4 4E 80 04 21 */ bctrl +/* 80356988 003538E8 80 7C 00 08 */ lwz r3, 8(r28) +/* 8035698C 003538EC 7F A4 EB 78 */ mr r4, r29 +/* 80356990 003538F0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80356994 003538F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80356998 003538F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035699C 003538FC 7D 89 03 A6 */ mtctr r12 +/* 803569A0 00353900 4E 80 04 21 */ bctrl +/* 803569A4 00353904 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 803569A8 00353908 7F A4 EB 78 */ mr r4, r29 +/* 803569AC 0035390C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803569B0 00353910 81 83 00 00 */ lwz r12, 0(r3) +/* 803569B4 00353914 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803569B8 00353918 7D 89 03 A6 */ mtctr r12 +/* 803569BC 0035391C 4E 80 04 21 */ bctrl +/* 803569C0 00353920 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 803569C4 00353924 7F A4 EB 78 */ mr r4, r29 +/* 803569C8 00353928 38 A1 00 0C */ addi r5, r1, 0xc +/* 803569CC 0035392C 81 83 00 00 */ lwz r12, 0(r3) +/* 803569D0 00353930 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803569D4 00353934 7D 89 03 A6 */ mtctr r12 +/* 803569D8 00353938 4E 80 04 21 */ bctrl +/* 803569DC 0035393C 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 803569E0 00353940 7F A4 EB 78 */ mr r4, r29 +/* 803569E4 00353944 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803569E8 00353948 81 83 00 00 */ lwz r12, 0(r3) +/* 803569EC 0035394C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803569F0 00353950 7D 89 03 A6 */ mtctr r12 +/* 803569F4 00353954 4E 80 04 21 */ bctrl +/* 803569F8 00353958 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803569FC 0035395C 7F A4 EB 78 */ mr r4, r29 +/* 80356A00 00353960 38 A1 00 08 */ addi r5, r1, 8 +/* 80356A04 00353964 81 83 00 00 */ lwz r12, 0(r3) +/* 80356A08 00353968 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356A0C 0035396C 7D 89 03 A6 */ mtctr r12 +/* 80356A10 00353970 4E 80 04 21 */ bctrl +/* 80356A14 00353974 C3 A1 00 10 */ lfs f29, 0x10(r1) +/* 80356A18 00353978 4B FB BB E5 */ bl GetRandomNumber__9CRandom16Fv +/* 80356A1C 0035397C 4B FB BA C1 */ bl Float__9CRandom16Fv +/* 80356A20 00353980 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 80356A24 00353984 C0 42 CC A8 */ lfs f2, lbl_805AE9C8@sda21(r2) +/* 80356A28 00353988 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A2C 0035398C C0 02 CC AC */ lfs f0, lbl_805AE9CC@sda21(r2) +/* 80356A30 00353990 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 80356A34 00353994 C3 A1 00 08 */ lfs f29, 8(r1) +/* 80356A38 00353998 EC 21 10 2A */ fadds f1, f1, f2 +/* 80356A3C 0035399C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80356A40 003539A0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80356A44 003539A4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80356A48 003539A8 4B FB BB B5 */ bl GetRandomNumber__9CRandom16Fv +/* 80356A4C 003539AC 4B FB BA 91 */ bl Float__9CRandom16Fv +/* 80356A50 003539B0 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 80356A54 003539B4 C0 42 CC A8 */ lfs f2, lbl_805AE9C8@sda21(r2) +/* 80356A58 003539B8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80356A5C 003539BC C0 02 CC AC */ lfs f0, lbl_805AE9CC@sda21(r2) +/* 80356A60 003539C0 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 80356A64 003539C4 EC 41 10 2A */ fadds f2, f1, f2 +/* 80356A68 003539C8 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80356A6C 003539CC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80356A70 003539D0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80356A74 003539D4 4B FB E2 D1 */ bl FastCosR__5CMathFf +/* 80356A78 003539D8 FF C0 08 90 */ fmr f30, f1 +/* 80356A7C 003539DC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A80 003539E0 4B FB E2 C5 */ bl FastCosR__5CMathFf +/* 80356A84 003539E4 EF A1 07 B2 */ fmuls f29, f1, f30 +/* 80356A88 003539E8 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A8C 003539EC 4B FB E3 65 */ bl FastSinR__5CMathFf +/* 80356A90 003539F0 FF C0 08 90 */ fmr f30, f1 +/* 80356A94 003539F4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A98 003539F8 4B FB E2 AD */ bl FastCosR__5CMathFf +/* 80356A9C 003539FC FF E0 08 90 */ fmr f31, f1 +/* 80356AA0 00353A00 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80356AA4 00353A04 4B FB E3 4D */ bl FastSinR__5CMathFf +/* 80356AA8 00353A08 FC 40 08 50 */ fneg f2, f1 +/* 80356AAC 00353A0C C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 80356AB0 00353A10 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80356AB4 00353A14 38 61 00 2C */ addi r3, r1, 0x2c +/* 80356AB8 00353A18 EC 06 07 B2 */ fmuls f0, f6, f30 +/* 80356ABC 00353A1C C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 80356AC0 00353A20 EC A2 07 F2 */ fmuls f5, f2, f31 +/* 80356AC4 00353A24 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80356AC8 00353A28 EC 46 07 72 */ fmuls f2, f6, f29 +/* 80356ACC 00353A2C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356AD0 00353A30 EC 84 00 2A */ fadds f4, f4, f0 +/* 80356AD4 00353A34 EC 06 01 72 */ fmuls f0, f6, f5 +/* 80356AD8 00353A38 EC 43 10 2A */ fadds f2, f3, f2 +/* 80356ADC 00353A3C EC 01 00 2A */ fadds f0, f1, f0 +/* 80356AE0 00353A40 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80356AE4 00353A44 D0 9E 00 04 */ stfs f4, 4(r30) +/* 80356AE8 00353A48 D0 5E 00 08 */ stfs f2, 8(r30) +/* 80356AEC 00353A4C C0 3E 00 04 */ lfs f1, 4(r30) +/* 80356AF0 00353A50 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80356AF4 00353A54 C0 7E 00 08 */ lfs f3, 8(r30) +/* 80356AF8 00353A58 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 80356AFC 00353A5C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80356B00 00353A60 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80356B04 00353A64 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80356B08 00353A68 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80356B0C 00353A6C D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80356B10 00353A70 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80356B14 00353A74 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80356B18 00353A78 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80356B1C 00353A7C 4B FB DD 35 */ bl AsNormalized__9CVector3fCFv +/* 80356B20 00353A80 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80356B24 00353A84 7F A4 EB 78 */ mr r4, r29 +/* 80356B28 00353A88 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80356B2C 00353A8C C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 80356B30 00353A90 81 83 00 00 */ lwz r12, 0(r3) +/* 80356B34 00353A94 C3 C1 00 30 */ lfs f30, 0x30(r1) +/* 80356B38 00353A98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356B3C 00353A9C C3 E1 00 34 */ lfs f31, 0x34(r1) +/* 80356B40 00353AA0 7D 89 03 A6 */ mtctr r12 +/* 80356B44 00353AA4 4E 80 04 21 */ bctrl +/* 80356B48 00353AA8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80356B4C 00353AAC 38 60 00 00 */ li r3, 0 +/* 80356B50 00353AB0 EC 40 07 72 */ fmuls f2, f0, f29 +/* 80356B54 00353AB4 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80356B58 00353AB8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80356B5C 00353ABC D0 5F 00 00 */ stfs f2, 0(r31) +/* 80356B60 00353AC0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80356B64 00353AC4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80356B68 00353AC8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80356B6C 00353ACC CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80356B70 00353AD0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80356B74 00353AD4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80356B78 00353AD8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80356B7C 00353ADC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80356B80 00353AE0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80356B84 00353AE4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80356B88 00353AE8 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80356B8C 00353AEC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80356B90 00353AF0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80356B94 00353AF4 7C 08 03 A6 */ mtlr r0 +/* 80356B98 00353AF8 38 21 00 90 */ addi r1, r1, 0x90 +/* 80356B9C 00353AFC 4E 80 00 20 */ blr + +.global __dt__14CVEAngleSphereFv +__dt__14CVEAngleSphereFv: +/* 80356BA0 00353B00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356BA4 00353B04 7C 08 02 A6 */ mflr r0 +/* 80356BA8 00353B08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356BAC 00353B0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356BB0 00353B10 7C 9F 23 78 */ mr r31, r4 +/* 80356BB4 00353B14 93 C1 00 08 */ stw r30, 8(r1) +/* 80356BB8 00353B18 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80356BBC 00353B1C 41 82 01 28 */ beq lbl_80356CE4 +/* 80356BC0 00353B20 3C 60 80 3F */ lis r3, lbl_803EF748@ha +/* 80356BC4 00353B24 38 03 F7 48 */ addi r0, r3, lbl_803EF748@l +/* 80356BC8 00353B28 90 1E 00 00 */ stw r0, 0(r30) +/* 80356BCC 00353B2C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80356BD0 00353B30 28 03 00 00 */ cmplwi r3, 0 +/* 80356BD4 00353B34 41 82 00 18 */ beq lbl_80356BEC +/* 80356BD8 00353B38 81 83 00 00 */ lwz r12, 0(r3) +/* 80356BDC 00353B3C 38 80 00 01 */ li r4, 1 +/* 80356BE0 00353B40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356BE4 00353B44 7D 89 03 A6 */ mtctr r12 +/* 80356BE8 00353B48 4E 80 04 21 */ bctrl +lbl_80356BEC: +/* 80356BEC 00353B4C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80356BF0 00353B50 28 03 00 00 */ cmplwi r3, 0 +/* 80356BF4 00353B54 41 82 00 18 */ beq lbl_80356C0C +/* 80356BF8 00353B58 81 83 00 00 */ lwz r12, 0(r3) +/* 80356BFC 00353B5C 38 80 00 01 */ li r4, 1 +/* 80356C00 00353B60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C04 00353B64 7D 89 03 A6 */ mtctr r12 +/* 80356C08 00353B68 4E 80 04 21 */ bctrl +lbl_80356C0C: +/* 80356C0C 00353B6C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80356C10 00353B70 28 03 00 00 */ cmplwi r3, 0 +/* 80356C14 00353B74 41 82 00 18 */ beq lbl_80356C2C +/* 80356C18 00353B78 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C1C 00353B7C 38 80 00 01 */ li r4, 1 +/* 80356C20 00353B80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C24 00353B84 7D 89 03 A6 */ mtctr r12 +/* 80356C28 00353B88 4E 80 04 21 */ bctrl +lbl_80356C2C: +/* 80356C2C 00353B8C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80356C30 00353B90 28 03 00 00 */ cmplwi r3, 0 +/* 80356C34 00353B94 41 82 00 18 */ beq lbl_80356C4C +/* 80356C38 00353B98 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C3C 00353B9C 38 80 00 01 */ li r4, 1 +/* 80356C40 00353BA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C44 00353BA4 7D 89 03 A6 */ mtctr r12 +/* 80356C48 00353BA8 4E 80 04 21 */ bctrl +lbl_80356C4C: +/* 80356C4C 00353BAC 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80356C50 00353BB0 28 03 00 00 */ cmplwi r3, 0 +/* 80356C54 00353BB4 41 82 00 18 */ beq lbl_80356C6C +/* 80356C58 00353BB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C5C 00353BBC 38 80 00 01 */ li r4, 1 +/* 80356C60 00353BC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C64 00353BC4 7D 89 03 A6 */ mtctr r12 +/* 80356C68 00353BC8 4E 80 04 21 */ bctrl +lbl_80356C6C: +/* 80356C6C 00353BCC 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 80356C70 00353BD0 28 03 00 00 */ cmplwi r3, 0 +/* 80356C74 00353BD4 41 82 00 18 */ beq lbl_80356C8C +/* 80356C78 00353BD8 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C7C 00353BDC 38 80 00 01 */ li r4, 1 +/* 80356C80 00353BE0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C84 00353BE4 7D 89 03 A6 */ mtctr r12 +/* 80356C88 00353BE8 4E 80 04 21 */ bctrl +lbl_80356C8C: +/* 80356C8C 00353BEC 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 80356C90 00353BF0 28 03 00 00 */ cmplwi r3, 0 +/* 80356C94 00353BF4 41 82 00 18 */ beq lbl_80356CAC +/* 80356C98 00353BF8 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C9C 00353BFC 38 80 00 01 */ li r4, 1 +/* 80356CA0 00353C00 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356CA4 00353C04 7D 89 03 A6 */ mtctr r12 +/* 80356CA8 00353C08 4E 80 04 21 */ bctrl +lbl_80356CAC: +/* 80356CAC 00353C0C 28 1E 00 00 */ cmplwi r30, 0 +/* 80356CB0 00353C10 41 82 00 20 */ beq lbl_80356CD0 +/* 80356CB4 00353C14 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 80356CB8 00353C18 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 80356CBC 00353C1C 90 1E 00 00 */ stw r0, 0(r30) +/* 80356CC0 00353C20 41 82 00 10 */ beq lbl_80356CD0 +/* 80356CC4 00353C24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80356CC8 00353C28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80356CCC 00353C2C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80356CD0: +/* 80356CD0 00353C30 7F E0 07 35 */ extsh. r0, r31 +/* 80356CD4 00353C34 40 81 00 10 */ ble lbl_80356CE4 +/* 80356CD8 00353C38 7F C3 F3 78 */ mr r3, r30 +/* 80356CDC 00353C3C 38 80 00 20 */ li r4, 0x20 +/* 80356CE0 00353C40 48 01 5D 85 */ bl sub_8036ca64 +lbl_80356CE4: +/* 80356CE4 00353C44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356CE8 00353C48 7F C3 F3 78 */ mr r3, r30 +/* 80356CEC 00353C4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356CF0 00353C50 83 C1 00 08 */ lwz r30, 8(r1) +/* 80356CF4 00353C54 7C 08 03 A6 */ mtlr r0 +/* 80356CF8 00353C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356CFC 00353C5C 4E 80 00 20 */ blr + +.global __ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80356D00 00353C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356D04 00353C64 3D 80 80 3F */ lis r12, lbl_803EF758@ha +/* 80356D08 00353C68 39 8C F7 58 */ addi r12, r12, lbl_803EF758@l +/* 80356D0C 00353C6C 3D 60 80 3F */ lis r11, lbl_803EF748@ha +/* 80356D10 00353C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356D14 00353C74 3F E0 80 3F */ lis r31, lbl_803EC5A8@ha +/* 80356D18 00353C78 38 1F C5 A8 */ addi r0, r31, lbl_803EC5A8@l +/* 80356D1C 00353C7C 90 03 00 00 */ stw r0, 0(r3) +/* 80356D20 00353C80 38 0B F7 48 */ addi r0, r11, lbl_803EF748@l +/* 80356D24 00353C84 91 83 00 00 */ stw r12, 0(r3) +/* 80356D28 00353C88 90 03 00 00 */ stw r0, 0(r3) +/* 80356D2C 00353C8C 90 83 00 04 */ stw r4, 4(r3) +/* 80356D30 00353C90 90 A3 00 08 */ stw r5, 8(r3) +/* 80356D34 00353C94 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80356D38 00353C98 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80356D3C 00353C9C 91 03 00 14 */ stw r8, 0x14(r3) +/* 80356D40 00353CA0 91 23 00 18 */ stw r9, 0x18(r3) +/* 80356D44 00353CA4 91 43 00 1C */ stw r10, 0x1c(r3) +/* 80356D48 00353CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356D4C 00353CAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356D50 00353CB0 4E 80 00 20 */ blr + +.global __dt__15CEmitterElement +__dt__15CEmitterElement: +/* 80356D54 00353CB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356D58 00353CB8 7C 08 02 A6 */ mflr r0 +/* 80356D5C 00353CBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356D60 00353CC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356D64 00353CC4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80356D68 00353CC8 41 82 00 34 */ beq lbl_80356D9C +/* 80356D6C 00353CCC 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 80356D70 00353CD0 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 80356D74 00353CD4 90 1F 00 00 */ stw r0, 0(r31) +/* 80356D78 00353CD8 41 82 00 10 */ beq lbl_80356D88 +/* 80356D7C 00353CDC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80356D80 00353CE0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80356D84 00353CE4 90 1F 00 00 */ stw r0, 0(r31) +lbl_80356D88: +/* 80356D88 00353CE8 7C 80 07 35 */ extsh. r0, r4 +/* 80356D8C 00353CEC 40 81 00 10 */ ble lbl_80356D9C +/* 80356D90 00353CF0 7F E3 FB 78 */ mr r3, r31 +/* 80356D94 00353CF4 38 80 00 04 */ li r4, 4 +/* 80356D98 00353CF8 48 01 5C CD */ bl sub_8036ca64 +lbl_80356D9C: +/* 80356D9C 00353CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356DA0 00353D00 7F E3 FB 78 */ mr r3, r31 +/* 80356DA4 00353D04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356DA8 00353D08 7C 08 03 A6 */ mtlr r0 +/* 80356DAC 00353D0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356DB0 00353D10 4E 80 00 20 */ blr + +.global GetValue__9CVESphereCFiR9CVector3fR9CVector3f +GetValue__9CVESphereCFiR9CVector3fR9CVector3f: +/* 80356DB4 00353D14 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80356DB8 00353D18 7C 08 02 A6 */ mflr r0 +/* 80356DBC 00353D1C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80356DC0 00353D20 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80356DC4 00353D24 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80356DC8 00353D28 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80356DCC 00353D2C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80356DD0 00353D30 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80356DD4 00353D34 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80356DD8 00353D38 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80356DDC 00353D3C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80356DE0 00353D40 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80356DE4 00353D44 93 81 00 80 */ stw r28, 0x80(r1) +/* 80356DE8 00353D48 3C E0 80 5A */ lis r7, skZero3f@ha +/* 80356DEC 00353D4C 7C 7C 1B 78 */ mr r28, r3 +/* 80356DF0 00353D50 38 67 66 A0 */ addi r3, r7, skZero3f@l +/* 80356DF4 00353D54 7C BE 2B 78 */ mr r30, r5 +/* 80356DF8 00353D58 C0 43 00 00 */ lfs f2, 0(r3) +/* 80356DFC 00353D5C 7C 9D 23 78 */ mr r29, r4 +/* 80356E00 00353D60 C0 23 00 04 */ lfs f1, 4(r3) +/* 80356E04 00353D64 7C DF 33 78 */ mr r31, r6 +/* 80356E08 00353D68 C0 03 00 08 */ lfs f0, 8(r3) +/* 80356E0C 00353D6C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80356E10 00353D70 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80356E14 00353D74 80 7C 00 04 */ lwz r3, 4(r28) +/* 80356E18 00353D78 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80356E1C 00353D7C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80356E20 00353D80 81 83 00 00 */ lwz r12, 0(r3) +/* 80356E24 00353D84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356E28 00353D88 7D 89 03 A6 */ mtctr r12 +/* 80356E2C 00353D8C 4E 80 04 21 */ bctrl +/* 80356E30 00353D90 80 7C 00 08 */ lwz r3, 8(r28) +/* 80356E34 00353D94 7F A4 EB 78 */ mr r4, r29 +/* 80356E38 00353D98 38 A1 00 0C */ addi r5, r1, 0xc +/* 80356E3C 00353D9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80356E40 00353DA0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356E44 00353DA4 7D 89 03 A6 */ mtctr r12 +/* 80356E48 00353DA8 4E 80 04 21 */ bctrl +/* 80356E4C 00353DAC 4B FB B7 B1 */ bl GetRandomNumber__9CRandom16Fv +/* 80356E50 00353DB0 38 80 FF 9C */ li r4, -100 +/* 80356E54 00353DB4 38 A0 00 64 */ li r5, 0x64 +/* 80356E58 00353DB8 4B FB B7 3D */ bl Range__9CRandom16Fii +/* 80356E5C 00353DBC 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80356E60 00353DC0 3C 00 43 30 */ lis r0, 0x4330 +/* 80356E64 00353DC4 90 61 00 6C */ stw r3, 0x6c(r1) +/* 80356E68 00353DC8 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) +/* 80356E6C 00353DCC 90 01 00 68 */ stw r0, 0x68(r1) +/* 80356E70 00353DD0 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 80356E74 00353DD4 EF C0 08 28 */ fsubs f30, f0, f1 +/* 80356E78 00353DD8 4B FB B7 85 */ bl GetRandomNumber__9CRandom16Fv +/* 80356E7C 00353DDC 38 80 FF 9C */ li r4, -100 +/* 80356E80 00353DE0 38 A0 00 64 */ li r5, 0x64 +/* 80356E84 00353DE4 4B FB B7 11 */ bl Range__9CRandom16Fii +/* 80356E88 00353DE8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80356E8C 00353DEC 3C 00 43 30 */ lis r0, 0x4330 +/* 80356E90 00353DF0 90 61 00 74 */ stw r3, 0x74(r1) +/* 80356E94 00353DF4 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) +/* 80356E98 00353DF8 90 01 00 70 */ stw r0, 0x70(r1) +/* 80356E9C 00353DFC C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80356EA0 00353E00 EF E0 08 28 */ fsubs f31, f0, f1 +/* 80356EA4 00353E04 4B FB B7 59 */ bl GetRandomNumber__9CRandom16Fv +/* 80356EA8 00353E08 38 80 FF 9C */ li r4, -100 +/* 80356EAC 00353E0C 38 A0 00 64 */ li r5, 0x64 +/* 80356EB0 00353E10 4B FB B6 E5 */ bl Range__9CRandom16Fii +/* 80356EB4 00353E14 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80356EB8 00353E18 3C 00 43 30 */ lis r0, 0x4330 +/* 80356EBC 00353E1C 90 61 00 7C */ stw r3, 0x7c(r1) +/* 80356EC0 00353E20 38 61 00 4C */ addi r3, r1, 0x4c +/* 80356EC4 00353E24 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) +/* 80356EC8 00353E28 90 01 00 78 */ stw r0, 0x78(r1) +/* 80356ECC 00353E2C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80356ED0 00353E30 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 80356ED4 00353E34 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80356ED8 00353E38 D3 C1 00 54 */ stfs f30, 0x54(r1) +/* 80356EDC 00353E3C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80356EE0 00353E40 4B FB D8 19 */ bl CanBeNormalized__9CVector3fCFv +/* 80356EE4 00353E44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80356EE8 00353E48 41 82 00 40 */ beq lbl_80356F28 +/* 80356EEC 00353E4C C0 62 CC B0 */ lfs f3, lbl_805AE9D0@sda21(r2) +/* 80356EF0 00353E50 38 61 00 28 */ addi r3, r1, 0x28 +/* 80356EF4 00353E54 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80356EF8 00353E58 38 81 00 34 */ addi r4, r1, 0x34 +/* 80356EFC 00353E5C C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80356F00 00353E60 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80356F04 00353E64 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80356F08 00353E68 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80356F0C 00353E6C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80356F10 00353E70 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80356F14 00353E74 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80356F18 00353E78 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80356F1C 00353E7C 4B FB D9 35 */ bl AsNormalized__9CVector3fCFv +/* 80356F20 00353E80 38 81 00 28 */ addi r4, r1, 0x28 +/* 80356F24 00353E84 48 00 00 30 */ b lbl_80356F54 +lbl_80356F28: +/* 80356F28 00353E88 C0 62 CC B0 */ lfs f3, lbl_805AE9D0@sda21(r2) +/* 80356F2C 00353E8C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80356F30 00353E90 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80356F34 00353E94 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80356F38 00353E98 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80356F3C 00353E9C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80356F40 00353EA0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80356F44 00353EA4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80356F48 00353EA8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80356F4C 00353EAC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80356F50 00353EB0 D0 21 00 24 */ stfs f1, 0x24(r1) +lbl_80356F54: +/* 80356F54 00353EB4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80356F58 00353EB8 38 61 00 40 */ addi r3, r1, 0x40 +/* 80356F5C 00353EBC C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 80356F60 00353EC0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80356F64 00353EC4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80356F68 00353EC8 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 80356F6C 00353ECC C0 44 00 04 */ lfs f2, 4(r4) +/* 80356F70 00353ED0 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 80356F74 00353ED4 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80356F78 00353ED8 EC 65 00 B2 */ fmuls f3, f5, f2 +/* 80356F7C 00353EDC EC 01 00 2A */ fadds f0, f1, f0 +/* 80356F80 00353EE0 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80356F84 00353EE4 C0 24 00 08 */ lfs f1, 8(r4) +/* 80356F88 00353EE8 EC 64 18 2A */ fadds f3, f4, f3 +/* 80356F8C 00353EEC D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80356F90 00353EF0 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80356F94 00353EF4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80356F98 00353EF8 EC 02 08 2A */ fadds f0, f2, f1 +/* 80356F9C 00353EFC D0 7E 00 04 */ stfs f3, 4(r30) +/* 80356FA0 00353F00 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80356FA4 00353F04 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80356FA8 00353F08 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80356FAC 00353F0C C0 7E 00 08 */ lfs f3, 8(r30) +/* 80356FB0 00353F10 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80356FB4 00353F14 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80356FB8 00353F18 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80356FBC 00353F1C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80356FC0 00353F20 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80356FC4 00353F24 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 80356FC8 00353F28 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80356FCC 00353F2C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80356FD0 00353F30 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80356FD4 00353F34 4B FB D7 25 */ bl CanBeNormalized__9CVector3fCFv +/* 80356FD8 00353F38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80356FDC 00353F3C 41 82 00 18 */ beq lbl_80356FF4 +/* 80356FE0 00353F40 38 61 00 10 */ addi r3, r1, 0x10 +/* 80356FE4 00353F44 38 81 00 40 */ addi r4, r1, 0x40 +/* 80356FE8 00353F48 4B FB D8 69 */ bl AsNormalized__9CVector3fCFv +/* 80356FEC 00353F4C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80356FF0 00353F50 48 00 00 08 */ b lbl_80356FF8 +lbl_80356FF4: +/* 80356FF4 00353F54 38 C1 00 40 */ addi r6, r1, 0x40 +lbl_80356FF8: +/* 80356FF8 00353F58 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80356FFC 00353F5C 7F A4 EB 78 */ mr r4, r29 +/* 80357000 00353F60 38 A1 00 08 */ addi r5, r1, 8 +/* 80357004 00353F64 C3 C6 00 00 */ lfs f30, 0(r6) +/* 80357008 00353F68 81 83 00 00 */ lwz r12, 0(r3) +/* 8035700C 00353F6C C3 E6 00 04 */ lfs f31, 4(r6) +/* 80357010 00353F70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80357014 00353F74 C3 A6 00 08 */ lfs f29, 8(r6) +/* 80357018 00353F78 7D 89 03 A6 */ mtctr r12 +/* 8035701C 00353F7C 4E 80 04 21 */ bctrl +/* 80357020 00353F80 C0 01 00 08 */ lfs f0, 8(r1) +/* 80357024 00353F84 38 60 00 00 */ li r3, 0 +/* 80357028 00353F88 EC 40 07 B2 */ fmuls f2, f0, f30 +/* 8035702C 00353F8C EC 20 07 F2 */ fmuls f1, f0, f31 +/* 80357030 00353F90 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80357034 00353F94 D0 5F 00 00 */ stfs f2, 0(r31) +/* 80357038 00353F98 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8035703C 00353F9C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80357040 00353FA0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80357044 00353FA4 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80357048 00353FA8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8035704C 00353FAC CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80357050 00353FB0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80357054 00353FB4 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 80357058 00353FB8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8035705C 00353FBC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80357060 00353FC0 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80357064 00353FC4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80357068 00353FC8 83 81 00 80 */ lwz r28, 0x80(r1) +/* 8035706C 00353FCC 7C 08 03 A6 */ mtlr r0 +/* 80357070 00353FD0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80357074 00353FD4 4E 80 00 20 */ blr + +.global __dt__9CVESphereFv +__dt__9CVESphereFv: +/* 80357078 00353FD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035707C 00353FDC 7C 08 02 A6 */ mflr r0 +/* 80357080 00353FE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357084 00353FE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357088 00353FE8 7C 9F 23 78 */ mr r31, r4 +/* 8035708C 00353FEC 93 C1 00 08 */ stw r30, 8(r1) +/* 80357090 00353FF0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80357094 00353FF4 41 82 00 A8 */ beq lbl_8035713C +/* 80357098 00353FF8 3C 60 80 3F */ lis r3, lbl_803EF768@ha +/* 8035709C 00353FFC 38 03 F7 68 */ addi r0, r3, lbl_803EF768@l +/* 803570A0 00354000 90 1E 00 00 */ stw r0, 0(r30) +/* 803570A4 00354004 80 7E 00 04 */ lwz r3, 4(r30) +/* 803570A8 00354008 28 03 00 00 */ cmplwi r3, 0 +/* 803570AC 0035400C 41 82 00 18 */ beq lbl_803570C4 +/* 803570B0 00354010 81 83 00 00 */ lwz r12, 0(r3) +/* 803570B4 00354014 38 80 00 01 */ li r4, 1 +/* 803570B8 00354018 81 8C 00 08 */ lwz r12, 8(r12) +/* 803570BC 0035401C 7D 89 03 A6 */ mtctr r12 +/* 803570C0 00354020 4E 80 04 21 */ bctrl +lbl_803570C4: +/* 803570C4 00354024 80 7E 00 08 */ lwz r3, 8(r30) +/* 803570C8 00354028 28 03 00 00 */ cmplwi r3, 0 +/* 803570CC 0035402C 41 82 00 18 */ beq lbl_803570E4 +/* 803570D0 00354030 81 83 00 00 */ lwz r12, 0(r3) +/* 803570D4 00354034 38 80 00 01 */ li r4, 1 +/* 803570D8 00354038 81 8C 00 08 */ lwz r12, 8(r12) +/* 803570DC 0035403C 7D 89 03 A6 */ mtctr r12 +/* 803570E0 00354040 4E 80 04 21 */ bctrl +lbl_803570E4: +/* 803570E4 00354044 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803570E8 00354048 28 03 00 00 */ cmplwi r3, 0 +/* 803570EC 0035404C 41 82 00 18 */ beq lbl_80357104 +/* 803570F0 00354050 81 83 00 00 */ lwz r12, 0(r3) +/* 803570F4 00354054 38 80 00 01 */ li r4, 1 +/* 803570F8 00354058 81 8C 00 08 */ lwz r12, 8(r12) +/* 803570FC 0035405C 7D 89 03 A6 */ mtctr r12 +/* 80357100 00354060 4E 80 04 21 */ bctrl +lbl_80357104: +/* 80357104 00354064 28 1E 00 00 */ cmplwi r30, 0 +/* 80357108 00354068 41 82 00 20 */ beq lbl_80357128 +/* 8035710C 0035406C 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 80357110 00354070 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 80357114 00354074 90 1E 00 00 */ stw r0, 0(r30) +/* 80357118 00354078 41 82 00 10 */ beq lbl_80357128 +/* 8035711C 0035407C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80357120 00354080 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80357124 00354084 90 1E 00 00 */ stw r0, 0(r30) +lbl_80357128: +/* 80357128 00354088 7F E0 07 35 */ extsh. r0, r31 +/* 8035712C 0035408C 40 81 00 10 */ ble lbl_8035713C +/* 80357130 00354090 7F C3 F3 78 */ mr r3, r30 +/* 80357134 00354094 38 80 00 10 */ li r4, 0x10 +/* 80357138 00354098 48 01 59 2D */ bl sub_8036ca64 +lbl_8035713C: +/* 8035713C 0035409C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357140 003540A0 7F C3 F3 78 */ mr r3, r30 +/* 80357144 003540A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80357148 003540A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035714C 003540AC 7C 08 03 A6 */ mtlr r0 +/* 80357150 003540B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357154 003540B4 4E 80 00 20 */ blr + +.global __ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement +__ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement: +/* 80357158 003540B8 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 8035715C 003540BC 3D 00 80 3F */ lis r8, lbl_803EF758@ha +/* 80357160 003540C0 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80357164 003540C4 3C E0 80 3F */ lis r7, lbl_803EF768@ha +/* 80357168 003540C8 90 03 00 00 */ stw r0, 0(r3) +/* 8035716C 003540CC 39 08 F7 58 */ addi r8, r8, lbl_803EF758@l +/* 80357170 003540D0 38 07 F7 68 */ addi r0, r7, lbl_803EF768@l +/* 80357174 003540D4 91 03 00 00 */ stw r8, 0(r3) +/* 80357178 003540D8 90 03 00 00 */ stw r0, 0(r3) +/* 8035717C 003540DC 90 83 00 04 */ stw r4, 4(r3) +/* 80357180 003540E0 90 A3 00 08 */ stw r5, 8(r3) +/* 80357184 003540E4 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80357188 003540E8 4E 80 00 20 */ blr + +.global GetValue__16CEESimpleEmitterCFiR9CVector3fR9CVector3f +GetValue__16CEESimpleEmitterCFiR9CVector3fR9CVector3f: +/* 8035718C 003540EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80357190 003540F0 7C 08 02 A6 */ mflr r0 +/* 80357194 003540F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357198 003540F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035719C 003540FC 7C DF 33 78 */ mr r31, r6 +/* 803571A0 00354100 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803571A4 00354104 7C 9E 23 78 */ mr r30, r4 +/* 803571A8 00354108 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803571AC 0035410C 7C 7D 1B 78 */ mr r29, r3 +/* 803571B0 00354110 80 63 00 04 */ lwz r3, 4(r3) +/* 803571B4 00354114 81 83 00 00 */ lwz r12, 0(r3) +/* 803571B8 00354118 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803571BC 0035411C 7D 89 03 A6 */ mtctr r12 +/* 803571C0 00354120 4E 80 04 21 */ bctrl +/* 803571C4 00354124 80 7D 00 08 */ lwz r3, 8(r29) +/* 803571C8 00354128 28 03 00 00 */ cmplwi r3, 0 +/* 803571CC 0035412C 41 82 00 20 */ beq lbl_803571EC +/* 803571D0 00354130 81 83 00 00 */ lwz r12, 0(r3) +/* 803571D4 00354134 7F C4 F3 78 */ mr r4, r30 +/* 803571D8 00354138 7F E5 FB 78 */ mr r5, r31 +/* 803571DC 0035413C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803571E0 00354140 7D 89 03 A6 */ mtctr r12 +/* 803571E4 00354144 4E 80 04 21 */ bctrl +/* 803571E8 00354148 48 00 00 20 */ b lbl_80357208 +lbl_803571EC: +/* 803571EC 0035414C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803571F0 00354150 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 803571F4 00354154 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803571F8 00354158 C0 03 00 04 */ lfs f0, 4(r3) +/* 803571FC 0035415C D0 1F 00 04 */ stfs f0, 4(r31) +/* 80357200 00354160 C0 03 00 08 */ lfs f0, 8(r3) +/* 80357204 00354164 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_80357208: +/* 80357208 00354168 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035720C 0035416C 38 60 00 00 */ li r3, 0 +/* 80357210 00354170 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80357214 00354174 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80357218 00354178 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035721C 0035417C 7C 08 03 A6 */ mtlr r0 +/* 80357220 00354180 38 21 00 20 */ addi r1, r1, 0x20 +/* 80357224 00354184 4E 80 00 20 */ blr + +.global __dt__16CEESimpleEmitterFv +__dt__16CEESimpleEmitterFv: +/* 80357228 00354188 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035722C 0035418C 7C 08 02 A6 */ mflr r0 +/* 80357230 00354190 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357234 00354194 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357238 00354198 7C 9F 23 78 */ mr r31, r4 +/* 8035723C 0035419C 93 C1 00 08 */ stw r30, 8(r1) +/* 80357240 003541A0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80357244 003541A4 41 82 00 88 */ beq lbl_803572CC +/* 80357248 003541A8 3C 60 80 3F */ lis r3, lbl_803EF778@ha +/* 8035724C 003541AC 38 03 F7 78 */ addi r0, r3, lbl_803EF778@l +/* 80357250 003541B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80357254 003541B4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80357258 003541B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035725C 003541BC 41 82 00 18 */ beq lbl_80357274 +/* 80357260 003541C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80357264 003541C4 38 80 00 01 */ li r4, 1 +/* 80357268 003541C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035726C 003541CC 7D 89 03 A6 */ mtctr r12 +/* 80357270 003541D0 4E 80 04 21 */ bctrl +lbl_80357274: +/* 80357274 003541D4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80357278 003541D8 28 03 00 00 */ cmplwi r3, 0 +/* 8035727C 003541DC 41 82 00 18 */ beq lbl_80357294 +/* 80357280 003541E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80357284 003541E4 38 80 00 01 */ li r4, 1 +/* 80357288 003541E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035728C 003541EC 7D 89 03 A6 */ mtctr r12 +/* 80357290 003541F0 4E 80 04 21 */ bctrl +lbl_80357294: +/* 80357294 003541F4 28 1E 00 00 */ cmplwi r30, 0 +/* 80357298 003541F8 41 82 00 20 */ beq lbl_803572B8 +/* 8035729C 003541FC 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 803572A0 00354200 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 803572A4 00354204 90 1E 00 00 */ stw r0, 0(r30) +/* 803572A8 00354208 41 82 00 10 */ beq lbl_803572B8 +/* 803572AC 0035420C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803572B0 00354210 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803572B4 00354214 90 1E 00 00 */ stw r0, 0(r30) +lbl_803572B8: +/* 803572B8 00354218 7F E0 07 35 */ extsh. r0, r31 +/* 803572BC 0035421C 40 81 00 10 */ ble lbl_803572CC +/* 803572C0 00354220 7F C3 F3 78 */ mr r3, r30 +/* 803572C4 00354224 38 80 00 0C */ li r4, 0xc +/* 803572C8 00354228 48 01 57 9D */ bl sub_8036ca64 +lbl_803572CC: +/* 803572CC 0035422C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803572D0 00354230 7F C3 F3 78 */ mr r3, r30 +/* 803572D4 00354234 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803572D8 00354238 83 C1 00 08 */ lwz r30, 8(r1) +/* 803572DC 0035423C 7C 08 03 A6 */ mtlr r0 +/* 803572E0 00354240 38 21 00 10 */ addi r1, r1, 0x10 +/* 803572E4 00354244 4E 80 00 20 */ blr + +.global __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement +__ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement: +/* 803572E8 00354248 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803572EC 0035424C 3C E0 80 3F */ lis r7, lbl_803EF758@ha +/* 803572F0 00354250 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803572F4 00354254 3C C0 80 3F */ lis r6, lbl_803EF778@ha +/* 803572F8 00354258 90 03 00 00 */ stw r0, 0(r3) +/* 803572FC 0035425C 38 E7 F7 58 */ addi r7, r7, lbl_803EF758@l +/* 80357300 00354260 38 06 F7 78 */ addi r0, r6, lbl_803EF778@l +/* 80357304 00354264 90 E3 00 00 */ stw r7, 0(r3) +/* 80357308 00354268 90 03 00 00 */ stw r0, 0(r3) +/* 8035730C 0035426C 90 83 00 04 */ stw r4, 4(r3) +/* 80357310 00354270 90 A3 00 08 */ stw r5, 8(r3) +/* 80357314 00354274 4E 80 00 20 */ blr + +.global GetSObjectTagFromStream__16CEffectComponentFR12CInputStream +GetSObjectTagFromStream__16CEffectComponentFR12CInputStream: +/* 80357318 00354278 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035731C 0035427C 7C 08 02 A6 */ mflr r0 +/* 80357320 00354280 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357324 00354284 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357328 00354288 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035732C 0035428C 7C BE 2B 78 */ mr r30, r5 +/* 80357330 00354290 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80357334 00354294 7C 7D 1B 78 */ mr r29, r3 +/* 80357338 00354298 7F C3 F3 78 */ mr r3, r30 +/* 8035733C 0035429C 4B FE 79 49 */ bl ReadLong__12CInputStreamFv +/* 80357340 003542A0 7C 7F 1B 78 */ mr r31, r3 +/* 80357344 003542A4 7F C3 F3 78 */ mr r3, r30 +/* 80357348 003542A8 4B FE 79 3D */ bl ReadLong__12CInputStreamFv +/* 8035734C 003542AC 93 FD 00 00 */ stw r31, 0(r29) +/* 80357350 003542B0 90 7D 00 04 */ stw r3, 4(r29) +/* 80357354 003542B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80357358 003542B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035735C 003542BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80357360 003542C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80357364 003542C4 7C 08 03 A6 */ mtlr r0 +/* 80357368 003542C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035736C 003542CC 4E 80 00 20 */ blr + +.global __ct__16CEffectComponentFR12CInputStream +__ct__16CEffectComponentFR12CInputStream: +/* 80357370 003542D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80357374 003542D4 7C 08 02 A6 */ mflr r0 +/* 80357378 003542D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035737C 003542DC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80357380 003542E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357384 003542E4 7C 9F 23 78 */ mr r31, r4 +/* 80357388 003542E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035738C 003542EC 7C 7E 1B 78 */ mr r30, r3 +/* 80357390 003542F0 4B FE 6F 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80357394 003542F4 7F C4 F3 78 */ mr r4, r30 +/* 80357398 003542F8 7F E5 FB 78 */ mr r5, r31 +/* 8035739C 003542FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 803573A0 00354300 4B FF FF 79 */ bl GetSObjectTagFromStream__16CEffectComponentFR12CInputStream +/* 803573A4 00354304 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803573A8 00354308 7F E4 FB 78 */ mr r4, r31 +/* 803573AC 0035430C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 803573B0 00354310 38 A1 00 08 */ addi r5, r1, 8 +/* 803573B4 00354314 90 1E 00 10 */ stw r0, 0x10(r30) +/* 803573B8 00354318 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803573BC 0035431C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 803573C0 00354320 4B FE 6F 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 803573C4 00354324 7F E3 FB 78 */ mr r3, r31 +/* 803573C8 00354328 4B FE 78 61 */ bl ReadFloat__12CInputStreamFv +/* 803573CC 0035432C D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 803573D0 00354330 7F E3 FB 78 */ mr r3, r31 +/* 803573D4 00354334 4B FE 78 B1 */ bl ReadLong__12CInputStreamFv +/* 803573D8 00354338 90 7E 00 2C */ stw r3, 0x2c(r30) +/* 803573DC 0035433C 7F E3 FB 78 */ mr r3, r31 +/* 803573E0 00354340 4B FE 78 A5 */ bl ReadLong__12CInputStreamFv +/* 803573E4 00354344 90 7E 00 30 */ stw r3, 0x30(r30) +/* 803573E8 00354348 7F C3 F3 78 */ mr r3, r30 +/* 803573EC 0035434C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803573F0 00354350 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803573F4 00354354 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803573F8 00354358 7C 08 03 A6 */ mtlr r0 +/* 803573FC 0035435C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80357400 00354360 4E 80 00 20 */ blr + +.global __ct__13CParticleDataFR12CInputStream +__ct__13CParticleDataFR12CInputStream: +/* 80357404 00354364 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80357408 00354368 7C 08 02 A6 */ mflr r0 +/* 8035740C 0035436C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357410 00354370 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80357414 00354374 7C 9F 23 78 */ mr r31, r4 +/* 80357418 00354378 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8035741C 0035437C 7C 7E 1B 78 */ mr r30, r3 +/* 80357420 00354380 7F E3 FB 78 */ mr r3, r31 +/* 80357424 00354384 4B FE 78 61 */ bl ReadLong__12CInputStreamFv +/* 80357428 00354388 90 7E 00 00 */ stw r3, 0(r30) +/* 8035742C 0035438C 7F E3 FB 78 */ mr r3, r31 +/* 80357430 00354390 4B FE 78 55 */ bl ReadLong__12CInputStreamFv +/* 80357434 00354394 90 7E 00 04 */ stw r3, 4(r30) +/* 80357438 00354398 7F E3 FB 78 */ mr r3, r31 +/* 8035743C 0035439C 4B FE 78 49 */ bl ReadLong__12CInputStreamFv +/* 80357440 003543A0 90 7E 00 08 */ stw r3, 8(r30) +/* 80357444 003543A4 7F E4 FB 78 */ mr r4, r31 +/* 80357448 003543A8 38 61 00 0C */ addi r3, r1, 0xc +/* 8035744C 003543AC 38 A1 00 08 */ addi r5, r1, 8 +/* 80357450 003543B0 88 0D AA 90 */ lbz r0, lbl_805A9650@sda21(r13) +/* 80357454 003543B4 98 01 00 08 */ stb r0, 8(r1) +/* 80357458 003543B8 48 00 00 4D */ bl "Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>" +/* 8035745C 003543BC 38 7E 00 0C */ addi r3, r30, 0xc +/* 80357460 003543C0 38 81 00 0C */ addi r4, r1, 0xc +/* 80357464 003543C4 4B FE 6C FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80357468 003543C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8035746C 003543CC 4B FE 66 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80357470 003543D0 7F E3 FB 78 */ mr r3, r31 +/* 80357474 003543D4 4B FE 77 B5 */ bl ReadFloat__12CInputStreamFv +/* 80357478 003543D8 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 8035747C 003543DC 7F E3 FB 78 */ mr r3, r31 +/* 80357480 003543E0 4B FE 78 05 */ bl ReadLong__12CInputStreamFv +/* 80357484 003543E4 90 7E 00 20 */ stw r3, 0x20(r30) +/* 80357488 003543E8 7F C3 F3 78 */ mr r3, r30 +/* 8035748C 003543EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357490 003543F0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80357494 003543F4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80357498 003543F8 7C 08 03 A6 */ mtlr r0 +/* 8035749C 003543FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 803574A0 00354400 4E 80 00 20 */ blr + +.global "Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>" +"Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>": +/* 803574A4 00354404 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803574A8 00354408 7C 08 02 A6 */ mflr r0 +/* 803574AC 0035440C 7C 85 23 78 */ mr r5, r4 +/* 803574B0 00354410 90 01 00 24 */ stw r0, 0x24(r1) +/* 803574B4 00354414 38 81 00 08 */ addi r4, r1, 8 +/* 803574B8 00354418 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803574BC 0035441C 7C 7F 1B 78 */ mr r31, r3 +/* 803574C0 00354420 88 0D AA 94 */ lbz r0, lbl_805A9654@sda21(r13) +/* 803574C4 00354424 98 01 00 08 */ stb r0, 8(r1) +/* 803574C8 00354428 4B D0 20 31 */ bl sub_800594f8 +/* 803574CC 0035442C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803574D0 00354430 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803574D4 00354434 7C 08 03 A6 */ mtlr r0 +/* 803574D8 00354438 38 21 00 20 */ addi r1, r1, 0x20 +/* 803574DC 0035443C 4E 80 00 20 */ blr + +.global Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff +Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff: +/* 803574E0 00354440 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803574E4 00354444 C0 02 CC C0 */ lfs f0, lbl_805AE9E0@sda21(r2) +/* 803574E8 00354448 C0 44 00 00 */ lfs f2, 0(r4) +/* 803574EC 0035444C D0 43 00 00 */ stfs f2, 0(r3) +/* 803574F0 00354450 C0 44 00 04 */ lfs f2, 4(r4) +/* 803574F4 00354454 D0 43 00 04 */ stfs f2, 4(r3) +/* 803574F8 00354458 C0 44 00 08 */ lfs f2, 8(r4) +/* 803574FC 0035445C D0 43 00 08 */ stfs f2, 8(r3) +/* 80357500 00354460 C0 45 00 00 */ lfs f2, 0(r5) +/* 80357504 00354464 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80357508 00354468 C0 45 00 04 */ lfs f2, 4(r5) +/* 8035750C 0035446C D0 43 00 10 */ stfs f2, 0x10(r3) +/* 80357510 00354470 C0 45 00 08 */ lfs f2, 8(r5) +/* 80357514 00354474 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80357518 00354478 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8035751C 0035447C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80357520 00354480 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80357524 00354484 80 83 00 34 */ lwz r4, 0x34(r3) +/* 80357528 00354488 54 00 10 3A */ slwi r0, r0, 2 +/* 8035752C 0035448C 7C 04 02 14 */ add r0, r4, r0 +/* 80357530 00354490 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80357534 00354494 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357538 00354498 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035753C 0035449C 90 81 00 18 */ stw r4, 0x18(r1) +/* 80357540 003544A0 48 00 00 08 */ b lbl_80357548 +lbl_80357544: +/* 80357544 003544A4 38 84 00 04 */ addi r4, r4, 4 +lbl_80357548: +/* 80357548 003544A8 7C 04 00 40 */ cmplw r4, r0 +/* 8035754C 003544AC 40 82 FF F8 */ bne lbl_80357544 +/* 80357550 003544B0 38 00 00 00 */ li r0, 0 +/* 80357554 003544B4 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80357558 003544B8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8035755C 003544BC 80 83 00 44 */ lwz r4, 0x44(r3) +/* 80357560 003544C0 54 00 10 3A */ slwi r0, r0, 2 +/* 80357564 003544C4 7C 04 02 14 */ add r0, r4, r0 +/* 80357568 003544C8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035756C 003544CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357570 003544D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80357574 003544D4 90 81 00 08 */ stw r4, 8(r1) +/* 80357578 003544D8 48 00 00 08 */ b lbl_80357580 +lbl_8035757C: +/* 8035757C 003544DC 38 84 00 04 */ addi r4, r4, 4 +lbl_80357580: +/* 80357580 003544E0 7C 04 00 40 */ cmplw r4, r0 +/* 80357584 003544E4 40 82 FF F8 */ bne lbl_8035757C +/* 80357588 003544E8 38 00 00 00 */ li r0, 0 +/* 8035758C 003544EC 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80357590 003544F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80357594 003544F4 4E 80 00 20 */ blr + +.global "MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi" +"MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi": +/* 80357598 003544F8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8035759C 003544FC 7C 08 02 A6 */ mflr r0 +/* 803575A0 00354500 90 01 00 64 */ stw r0, 0x64(r1) +/* 803575A4 00354504 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 803575A8 00354508 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 803575AC 0035450C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 803575B0 00354510 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 803575B4 00354514 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 803575B8 00354518 7C 77 1B 78 */ mr r23, r3 +/* 803575BC 0035451C 7C 98 23 78 */ mr r24, r4 +/* 803575C0 00354520 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 803575C4 00354524 7C BB 2B 78 */ mr r27, r5 +/* 803575C8 00354528 7C DA 33 78 */ mr r26, r6 +/* 803575CC 0035452C 7D 19 43 78 */ mr r25, r8 +/* 803575D0 00354530 2C 00 00 00 */ cmpwi r0, 0 +/* 803575D4 00354534 40 82 01 C0 */ bne lbl_80357794 +/* 803575D8 00354538 3C 60 80 3E */ lis r3, lbl_803D8328@ha +/* 803575DC 0035453C 38 A0 00 00 */ li r5, 0 +/* 803575E0 00354540 38 83 83 28 */ addi r4, r3, lbl_803D8328@l +/* 803575E4 00354544 1C 79 00 0C */ mulli r3, r25, 0xc +/* 803575E8 00354548 4B FB E2 31 */ bl __nwa__FUlPCcPCc +/* 803575EC 0035454C 7C 60 1B 78 */ mr r0, r3 +/* 803575F0 00354550 80 7A 00 08 */ lwz r3, 8(r26) +/* 803575F4 00354554 7C 1D 03 78 */ mr r29, r0 +/* 803575F8 00354558 7F 64 DB 78 */ mr r4, r27 +/* 803575FC 0035455C 7F A5 EB 78 */ mr r5, r29 +/* 80357600 00354560 4B FF C8 9D */ bl BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f +/* 80357604 00354564 3C 00 43 30 */ lis r0, 0x4330 +/* 80357608 00354568 93 21 00 0C */ stw r25, 0xc(r1) +/* 8035760C 0035456C C8 22 CC C8 */ lfd f1, lbl_805AE9E8@sda21(r2) +/* 80357610 00354570 3B 97 00 28 */ addi r28, r23, 0x28 +/* 80357614 00354574 90 01 00 08 */ stw r0, 8(r1) +/* 80357618 00354578 C0 42 CC C4 */ lfs f2, lbl_805AE9E4@sda21(r2) +/* 8035761C 0035457C C8 01 00 08 */ lfd f0, 8(r1) +/* 80357620 00354580 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80357624 00354584 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80357628 00354588 48 03 23 2D */ bl __cvt_fp2unsigned +/* 8035762C 0035458C 7C 7A 1B 78 */ mr r26, r3 +/* 80357630 00354590 7F 83 E3 78 */ mr r3, r28 +/* 80357634 00354594 7F 44 D3 78 */ mr r4, r26 +/* 80357638 00354598 4B D0 C4 ED */ bl "reserve__Q24rstl37vectorFi" +/* 8035763C 0035459C 3B 77 00 38 */ addi r27, r23, 0x38 +/* 80357640 003545A0 7F 44 D3 78 */ mr r4, r26 +/* 80357644 003545A4 7F 63 DB 78 */ mr r3, r27 +/* 80357648 003545A8 4B D0 67 B1 */ bl "reserve__Q24rstl36vectorFi" +/* 8035764C 003545AC C3 E2 CC C4 */ lfs f31, lbl_805AE9E4@sda21(r2) +/* 80357650 003545B0 7F BF EB 78 */ mr r31, r29 +/* 80357654 003545B4 7F 1E C3 78 */ mr r30, r24 +/* 80357658 003545B8 3B 40 00 00 */ li r26, 0 +/* 8035765C 003545BC 48 00 01 20 */ b lbl_8035777C +lbl_80357660: +/* 80357660 003545C0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80357664 003545C4 C0 17 00 04 */ lfs f0, 4(r23) +/* 80357668 003545C8 C0 5F 00 00 */ lfs f2, 0(r31) +/* 8035766C 003545CC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80357670 003545D0 C0 37 00 00 */ lfs f1, 0(r23) +/* 80357674 003545D4 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80357678 003545D8 C0 77 00 08 */ lfs f3, 8(r23) +/* 8035767C 003545DC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80357680 003545E0 EF C4 00 FA */ fmadds f30, f4, f3, f0 +/* 80357684 003545E4 FC 1E F8 40 */ fcmpo cr0, f30, f31 +/* 80357688 003545E8 40 81 00 E8 */ ble lbl_80357770 +/* 8035768C 003545EC 80 1C 00 04 */ lwz r0, 4(r28) +/* 80357690 003545F0 80 BC 00 08 */ lwz r5, 8(r28) +/* 80357694 003545F4 7C 00 28 00 */ cmpw r0, r5 +/* 80357698 003545F8 41 80 00 1C */ blt lbl_803576B4 +/* 8035769C 003545FC 2C 05 00 00 */ cmpwi r5, 0 +/* 803576A0 00354600 7F 83 E3 78 */ mr r3, r28 +/* 803576A4 00354604 38 80 00 04 */ li r4, 4 +/* 803576A8 00354608 41 82 00 08 */ beq lbl_803576B0 +/* 803576AC 0035460C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803576B0: +/* 803576B0 00354610 4B D0 C4 75 */ bl "reserve__Q24rstl37vectorFi" +lbl_803576B4: +/* 803576B4 00354614 80 1C 00 04 */ lwz r0, 4(r28) +/* 803576B8 00354618 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 803576BC 0035461C 54 00 10 3A */ slwi r0, r0, 2 +/* 803576C0 00354620 7C 63 02 15 */ add. r3, r3, r0 +/* 803576C4 00354624 41 82 00 08 */ beq lbl_803576CC +/* 803576C8 00354628 93 43 00 00 */ stw r26, 0(r3) +lbl_803576CC: +/* 803576CC 0035462C 80 7C 00 04 */ lwz r3, 4(r28) +/* 803576D0 00354630 3C 00 43 30 */ lis r0, 0x4330 +/* 803576D4 00354634 C0 02 CC C4 */ lfs f0, lbl_805AE9E4@sda21(r2) +/* 803576D8 00354638 38 63 00 01 */ addi r3, r3, 1 +/* 803576DC 0035463C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803576E0 00354640 C8 42 CC D0 */ lfd f2, lbl_805AE9F0@sda21(r2) +/* 803576E4 00354644 EC 1E 00 28 */ fsubs f0, f30, f0 +/* 803576E8 00354648 90 7C 00 04 */ stw r3, 4(r28) +/* 803576EC 0035464C C0 7E 00 00 */ lfs f3, 0(r30) +/* 803576F0 00354650 C0 3E 00 04 */ lfs f1, 4(r30) +/* 803576F4 00354654 C0 9E 00 08 */ lfs f4, 8(r30) +/* 803576F8 00354658 EC 23 08 2A */ fadds f1, f3, f1 +/* 803576FC 0035465C 80 1B 00 04 */ lwz r0, 4(r27) +/* 80357700 00354660 80 BB 00 08 */ lwz r5, 8(r27) +/* 80357704 00354664 EC 64 08 2A */ fadds f3, f4, f1 +/* 80357708 00354668 7C 00 28 00 */ cmpw r0, r5 +/* 8035770C 0035466C FC 20 18 1E */ fctiwz f1, f3 +/* 80357710 00354670 D8 21 00 08 */ stfd f1, 8(r1) +/* 80357714 00354674 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80357718 00354678 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035771C 0035467C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357720 00354680 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80357724 00354684 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80357728 00354688 EC 23 08 28 */ fsubs f1, f3, f1 +/* 8035772C 0035468C EF C1 00 32 */ fmuls f30, f1, f0 +/* 80357730 00354690 41 80 00 1C */ blt lbl_8035774C +/* 80357734 00354694 2C 05 00 00 */ cmpwi r5, 0 +/* 80357738 00354698 7F 63 DB 78 */ mr r3, r27 +/* 8035773C 0035469C 38 80 00 04 */ li r4, 4 +/* 80357740 003546A0 41 82 00 08 */ beq lbl_80357748 +/* 80357744 003546A4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80357748: +/* 80357748 003546A8 4B D0 66 B1 */ bl "reserve__Q24rstl36vectorFi" +lbl_8035774C: +/* 8035774C 003546AC 80 1B 00 04 */ lwz r0, 4(r27) +/* 80357750 003546B0 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 80357754 003546B4 54 00 10 3A */ slwi r0, r0, 2 +/* 80357758 003546B8 7C 63 02 15 */ add. r3, r3, r0 +/* 8035775C 003546BC 41 82 00 08 */ beq lbl_80357764 +/* 80357760 003546C0 D3 C3 00 00 */ stfs f30, 0(r3) +lbl_80357764: +/* 80357764 003546C4 80 7B 00 04 */ lwz r3, 4(r27) +/* 80357768 003546C8 38 03 00 01 */ addi r0, r3, 1 +/* 8035776C 003546CC 90 1B 00 04 */ stw r0, 4(r27) +lbl_80357770: +/* 80357770 003546D0 3B FF 00 0C */ addi r31, r31, 0xc +/* 80357774 003546D4 3B DE 00 0C */ addi r30, r30, 0xc +/* 80357778 003546D8 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8035777C: +/* 8035777C 003546DC 7C 1A C8 40 */ cmplw r26, r25 +/* 80357780 003546E0 41 80 FE E0 */ blt lbl_80357660 +/* 80357784 003546E4 28 1D 00 00 */ cmplwi r29, 0 +/* 80357788 003546E8 41 82 00 0C */ beq lbl_80357794 +/* 8035778C 003546EC 7F A3 EB 78 */ mr r3, r29 +/* 80357790 003546F0 4B FB E1 A1 */ bl Free__7CMemoryFPCv +lbl_80357794: +/* 80357794 003546F4 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80357798 003546F8 38 80 00 00 */ li r4, 0 +/* 8035779C 003546FC 28 00 00 00 */ cmplwi r0, 0 +/* 803577A0 00354700 7C 03 03 78 */ mr r3, r0 +/* 803577A4 00354704 40 81 01 A4 */ ble lbl_80357948 +/* 803577A8 00354708 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 803577AC 0035470C 7C 09 03 A6 */ mtctr r0 +/* 803577B0 00354710 41 82 01 10 */ beq lbl_803578C0 +lbl_803577B4: +/* 803577B4 00354714 C0 37 00 1C */ lfs f1, 0x1c(r23) +/* 803577B8 00354718 C0 17 00 18 */ lfs f0, 0x18(r23) +/* 803577BC 0035471C 80 D7 00 44 */ lwz r6, 0x44(r23) +/* 803577C0 00354720 EC 81 00 24 */ fdivs f4, f1, f0 +/* 803577C4 00354724 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 803577C8 00354728 7C C6 24 2E */ lfsx f6, r6, r4 +/* 803577CC 0035472C 7C 05 20 2E */ lwzx r0, r5, r4 +/* 803577D0 00354730 38 84 00 04 */ addi r4, r4, 4 +/* 803577D4 00354734 C0 17 00 00 */ lfs f0, 0(r23) +/* 803577D8 00354738 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803577DC 0035473C C0 37 00 04 */ lfs f1, 4(r23) +/* 803577E0 00354740 EC 06 00 32 */ fmuls f0, f6, f0 +/* 803577E4 00354744 C0 B7 00 20 */ lfs f5, 0x20(r23) +/* 803577E8 00354748 EC 66 00 72 */ fmuls f3, f6, f1 +/* 803577EC 0035474C C0 57 00 08 */ lfs f2, 8(r23) +/* 803577F0 00354750 EC 05 00 32 */ fmuls f0, f5, f0 +/* 803577F4 00354754 7C B8 02 14 */ add r5, r24, r0 +/* 803577F8 00354758 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 803577FC 0035475C C0 25 00 00 */ lfs f1, 0(r5) +/* 80357800 00354760 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80357804 00354764 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80357808 00354768 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8035780C 0035476C EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80357810 00354770 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357814 00354774 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80357818 00354778 D0 05 00 00 */ stfs f0, 0(r5) +/* 8035781C 0035477C C0 05 00 04 */ lfs f0, 4(r5) +/* 80357820 00354780 EC 00 18 2A */ fadds f0, f0, f3 +/* 80357824 00354784 D0 05 00 04 */ stfs f0, 4(r5) +/* 80357828 00354788 C0 05 00 08 */ lfs f0, 8(r5) +/* 8035782C 0035478C EC 00 10 2A */ fadds f0, f0, f2 +/* 80357830 00354790 D0 05 00 08 */ stfs f0, 8(r5) +/* 80357834 00354794 80 D7 00 44 */ lwz r6, 0x44(r23) +/* 80357838 00354798 C0 37 00 1C */ lfs f1, 0x1c(r23) +/* 8035783C 0035479C C0 17 00 18 */ lfs f0, 0x18(r23) +/* 80357840 003547A0 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 80357844 003547A4 EC 81 00 24 */ fdivs f4, f1, f0 +/* 80357848 003547A8 7C C6 24 2E */ lfsx f6, r6, r4 +/* 8035784C 003547AC 7C 05 20 2E */ lwzx r0, r5, r4 +/* 80357850 003547B0 38 84 00 04 */ addi r4, r4, 4 +/* 80357854 003547B4 C0 17 00 00 */ lfs f0, 0(r23) +/* 80357858 003547B8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035785C 003547BC C0 37 00 04 */ lfs f1, 4(r23) +/* 80357860 003547C0 7C B8 02 14 */ add r5, r24, r0 +/* 80357864 003547C4 C0 57 00 08 */ lfs f2, 8(r23) +/* 80357868 003547C8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8035786C 003547CC C0 B7 00 20 */ lfs f5, 0x20(r23) +/* 80357870 003547D0 EC 66 00 72 */ fmuls f3, f6, f1 +/* 80357874 003547D4 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80357878 003547D8 C0 25 00 00 */ lfs f1, 0(r5) +/* 8035787C 003547DC EC 05 00 32 */ fmuls f0, f5, f0 +/* 80357880 003547E0 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80357884 003547E4 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80357888 003547E8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8035788C 003547EC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80357890 003547F0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80357894 003547F4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357898 003547F8 D0 05 00 00 */ stfs f0, 0(r5) +/* 8035789C 003547FC C0 05 00 04 */ lfs f0, 4(r5) +/* 803578A0 00354800 EC 00 18 2A */ fadds f0, f0, f3 +/* 803578A4 00354804 D0 05 00 04 */ stfs f0, 4(r5) +/* 803578A8 00354808 C0 05 00 08 */ lfs f0, 8(r5) +/* 803578AC 0035480C EC 00 10 2A */ fadds f0, f0, f2 +/* 803578B0 00354810 D0 05 00 08 */ stfs f0, 8(r5) +/* 803578B4 00354814 42 00 FF 00 */ bdnz lbl_803577B4 +/* 803578B8 00354818 70 63 00 01 */ andi. r3, r3, 1 +/* 803578BC 0035481C 41 82 00 8C */ beq lbl_80357948 +lbl_803578C0: +/* 803578C0 00354820 7C 69 03 A6 */ mtctr r3 +lbl_803578C4: +/* 803578C4 00354824 C0 37 00 1C */ lfs f1, 0x1c(r23) +/* 803578C8 00354828 C0 17 00 18 */ lfs f0, 0x18(r23) +/* 803578CC 0035482C 80 D7 00 44 */ lwz r6, 0x44(r23) +/* 803578D0 00354830 EC 81 00 24 */ fdivs f4, f1, f0 +/* 803578D4 00354834 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 803578D8 00354838 7C C6 24 2E */ lfsx f6, r6, r4 +/* 803578DC 0035483C 7C 05 20 2E */ lwzx r0, r5, r4 +/* 803578E0 00354840 38 84 00 04 */ addi r4, r4, 4 +/* 803578E4 00354844 C0 17 00 00 */ lfs f0, 0(r23) +/* 803578E8 00354848 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803578EC 0035484C C0 37 00 04 */ lfs f1, 4(r23) +/* 803578F0 00354850 EC 06 00 32 */ fmuls f0, f6, f0 +/* 803578F4 00354854 C0 B7 00 20 */ lfs f5, 0x20(r23) +/* 803578F8 00354858 EC 66 00 72 */ fmuls f3, f6, f1 +/* 803578FC 0035485C C0 57 00 08 */ lfs f2, 8(r23) +/* 80357900 00354860 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80357904 00354864 7C B8 02 14 */ add r5, r24, r0 +/* 80357908 00354868 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 8035790C 0035486C C0 25 00 00 */ lfs f1, 0(r5) +/* 80357910 00354870 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80357914 00354874 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80357918 00354878 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8035791C 0035487C EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80357920 00354880 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357924 00354884 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80357928 00354888 D0 05 00 00 */ stfs f0, 0(r5) +/* 8035792C 0035488C C0 05 00 04 */ lfs f0, 4(r5) +/* 80357930 00354890 EC 00 18 2A */ fadds f0, f0, f3 +/* 80357934 00354894 D0 05 00 04 */ stfs f0, 4(r5) +/* 80357938 00354898 C0 05 00 08 */ lfs f0, 8(r5) +/* 8035793C 0035489C EC 00 10 2A */ fadds f0, f0, f2 +/* 80357940 003548A0 D0 05 00 08 */ stfs f0, 8(r5) +/* 80357944 003548A4 42 00 FF 80 */ bdnz lbl_803578C4 +lbl_80357948: +/* 80357948 003548A8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8035794C 003548AC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80357950 003548B0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80357954 003548B4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80357958 003548B8 BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 8035795C 003548BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80357960 003548C0 7C 08 03 A6 */ mtlr r0 +/* 80357964 003548C4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80357968 003548C8 4E 80 00 20 */ blr + +.global Update__18CVertexMorphEffectFf +Update__18CVertexMorphEffectFf: +/* 8035796C 003548CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357970 003548D0 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80357974 003548D4 EC 20 08 2A */ fadds f1, f0, f1 +/* 80357978 003548D8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035797C 003548DC C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80357980 003548E0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80357984 003548E4 40 80 00 0C */ bge lbl_80357990 +/* 80357988 003548E8 38 83 00 18 */ addi r4, r3, 0x18 +/* 8035798C 003548EC 48 00 00 08 */ b lbl_80357994 +lbl_80357990: +/* 80357990 003548F0 38 81 00 08 */ addi r4, r1, 8 +lbl_80357994: +/* 80357994 003548F4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80357998 003548F8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8035799C 003548FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803579A0 00354900 4E 80 00 20 */ blr + +.global __ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel +__ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel: +/* 803579A4 00354904 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 803579A8 00354908 7C 08 02 A6 */ mflr r0 +/* 803579AC 0035490C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 803579B0 00354910 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 803579B4 00354914 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 803579B8 00354918 BE 61 00 8C */ stmw r19, 0x8c(r1) +/* 803579BC 0035491C 7C 7F 1B 78 */ mr r31, r3 +/* 803579C0 00354920 7C 96 23 78 */ mr r22, r4 +/* 803579C4 00354924 4B FF B9 A1 */ bl __ct__13CSkinnedModelFRC13CSkinnedModel +/* 803579C8 00354928 80 D6 00 18 */ lwz r6, 0x18(r22) +/* 803579CC 0035492C 3C 60 80 3E */ lis r3, lbl_803D8330@ha +/* 803579D0 00354930 38 83 83 30 */ addi r4, r3, lbl_803D8330@l +/* 803579D4 00354934 38 A0 00 00 */ li r5, 0 +/* 803579D8 00354938 80 06 00 10 */ lwz r0, 0x10(r6) +/* 803579DC 0035493C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803579E0 00354940 54 03 10 3A */ slwi r3, r0, 2 +/* 803579E4 00354944 4B FB DE 35 */ bl __nwa__FUlPCcPCc +/* 803579E8 00354948 7C 03 00 D0 */ neg r0, r3 +/* 803579EC 0035494C 7C 00 1B 78 */ or r0, r0, r3 +/* 803579F0 00354950 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803579F4 00354954 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 803579F8 00354958 90 7F 00 40 */ stw r3, 0x40(r31) +/* 803579FC 0035495C 80 96 00 18 */ lwz r4, 0x18(r22) +/* 80357A00 00354960 80 76 00 0C */ lwz r3, 0xc(r22) +/* 80357A04 00354964 83 44 00 10 */ lwz r26, 0x10(r4) +/* 80357A08 00354968 4B FF DC C9 */ bl GetPositions__6CModelCFv +/* 80357A0C 0035496C 38 00 00 00 */ li r0, 0 +/* 80357A10 00354970 7C 79 1B 78 */ mr r25, r3 +/* 80357A14 00354974 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357A18 00354978 7F 44 D3 78 */ mr r4, r26 +/* 80357A1C 0035497C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80357A20 00354980 90 01 00 38 */ stw r0, 0x38(r1) +/* 80357A24 00354984 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80357A28 00354988 48 00 06 ED */ bl "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" +/* 80357A2C 0035498C 7F 3D CB 78 */ mr r29, r25 +/* 80357A30 00354990 3B 81 00 4C */ addi r28, r1, 0x4c +/* 80357A34 00354994 3B 61 00 64 */ addi r27, r1, 0x64 +/* 80357A38 00354998 3B 00 00 00 */ li r24, 0 +/* 80357A3C 0035499C 3A A0 00 00 */ li r21, 0 +/* 80357A40 003549A0 48 00 01 6C */ b lbl_80357BAC +lbl_80357A44: +/* 80357A44 003549A4 82 81 00 34 */ lwz r20, 0x34(r1) +/* 80357A48 003549A8 3A 60 00 00 */ li r19, 0 +/* 80357A4C 003549AC 3B C0 00 00 */ li r30, 0 +/* 80357A50 003549B0 3A E0 00 00 */ li r23, 0 +/* 80357A54 003549B4 48 00 00 30 */ b lbl_80357A84 +lbl_80357A58: +/* 80357A58 003549B8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80357A5C 003549BC 7F A4 EB 78 */ mr r4, r29 +/* 80357A60 003549C0 C0 22 CC D8 */ lfs f1, lbl_805AE9F8@sda21(r2) +/* 80357A64 003549C4 7C 60 BA 14 */ add r3, r0, r23 +/* 80357A68 003549C8 4B FB CB 49 */ bl IsEqu__9CVector3fCFRC9CVector3ff +/* 80357A6C 003549CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80357A70 003549D0 41 82 00 0C */ beq lbl_80357A7C +/* 80357A74 003549D4 3A 60 00 01 */ li r19, 1 +/* 80357A78 003549D8 48 00 00 14 */ b lbl_80357A8C +lbl_80357A7C: +/* 80357A7C 003549DC 3B DE 00 01 */ addi r30, r30, 1 +/* 80357A80 003549E0 3A F7 00 24 */ addi r23, r23, 0x24 +lbl_80357A84: +/* 80357A84 003549E4 7C 1E A0 40 */ cmplw r30, r20 +/* 80357A88 003549E8 41 80 FF D0 */ blt lbl_80357A58 +lbl_80357A8C: +/* 80357A8C 003549EC 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 80357A90 003549F0 40 82 01 10 */ bne lbl_80357BA0 +/* 80357A94 003549F4 38 00 00 00 */ li r0, 0 +/* 80357A98 003549F8 93 81 00 44 */ stw r28, 0x44(r1) +/* 80357A9C 003549FC 7F 17 C3 78 */ mr r23, r24 +/* 80357AA0 00354A00 7F D9 AA 14 */ add r30, r25, r21 +/* 80357AA4 00354A04 93 81 00 48 */ stw r28, 0x48(r1) +/* 80357AA8 00354A08 93 81 00 4C */ stw r28, 0x4c(r1) +/* 80357AAC 00354A0C 93 81 00 50 */ stw r28, 0x50(r1) +/* 80357AB0 00354A10 90 01 00 54 */ stw r0, 0x54(r1) +/* 80357AB4 00354A14 48 00 00 B0 */ b lbl_80357B64 +lbl_80357AB8: +/* 80357AB8 00354A18 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80357ABC 00354A1C 38 00 00 00 */ li r0, 0 +/* 80357AC0 00354A20 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80357AC4 00354A24 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80357AC8 00354A28 40 82 00 28 */ bne lbl_80357AF0 +/* 80357ACC 00354A2C C0 3E 00 04 */ lfs f1, 4(r30) +/* 80357AD0 00354A30 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80357AD4 00354A34 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80357AD8 00354A38 40 82 00 18 */ bne lbl_80357AF0 +/* 80357ADC 00354A3C C0 3E 00 08 */ lfs f1, 8(r30) +/* 80357AE0 00354A40 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80357AE4 00354A44 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80357AE8 00354A48 40 82 00 08 */ bne lbl_80357AF0 +/* 80357AEC 00354A4C 38 00 00 01 */ li r0, 1 +lbl_80357AF0: +/* 80357AF0 00354A50 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80357AF4 00354A54 41 82 00 68 */ beq lbl_80357B5C +/* 80357AF8 00354A58 82 81 00 48 */ lwz r20, 0x48(r1) +/* 80357AFC 00354A5C 3C 60 80 3E */ lis r3, lbl_803D8330@ha +/* 80357B00 00354A60 38 83 83 30 */ addi r4, r3, lbl_803D8330@l +/* 80357B04 00354A64 38 A0 00 00 */ li r5, 0 +/* 80357B08 00354A68 82 74 00 00 */ lwz r19, 0(r20) +/* 80357B0C 00354A6C 38 60 00 0C */ li r3, 0xc +/* 80357B10 00354A70 4B FB DD 09 */ bl __nwa__FUlPCcPCc +/* 80357B14 00354A74 28 03 00 00 */ cmplwi r3, 0 +/* 80357B18 00354A78 41 82 00 0C */ beq lbl_80357B24 +/* 80357B1C 00354A7C 92 63 00 00 */ stw r19, 0(r3) +/* 80357B20 00354A80 92 83 00 04 */ stw r20, 4(r3) +lbl_80357B24: +/* 80357B24 00354A84 34 83 00 08 */ addic. r4, r3, 8 +/* 80357B28 00354A88 41 82 00 08 */ beq lbl_80357B30 +/* 80357B2C 00354A8C 92 E4 00 00 */ stw r23, 0(r4) +lbl_80357B30: +/* 80357B30 00354A90 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80357B34 00354A94 7C 14 00 40 */ cmplw r20, r0 +/* 80357B38 00354A98 40 82 00 08 */ bne lbl_80357B40 +/* 80357B3C 00354A9C 90 61 00 44 */ stw r3, 0x44(r1) +lbl_80357B40: +/* 80357B40 00354AA0 80 83 00 00 */ lwz r4, 0(r3) +/* 80357B44 00354AA4 90 64 00 04 */ stw r3, 4(r4) +/* 80357B48 00354AA8 80 83 00 04 */ lwz r4, 4(r3) +/* 80357B4C 00354AAC 90 64 00 00 */ stw r3, 0(r4) +/* 80357B50 00354AB0 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80357B54 00354AB4 38 03 00 01 */ addi r0, r3, 1 +/* 80357B58 00354AB8 90 01 00 54 */ stw r0, 0x54(r1) +lbl_80357B5C: +/* 80357B5C 00354ABC 3B DE 00 0C */ addi r30, r30, 0xc +/* 80357B60 00354AC0 3A F7 00 01 */ addi r23, r23, 1 +lbl_80357B64: +/* 80357B64 00354AC4 7C 17 D0 40 */ cmplw r23, r26 +/* 80357B68 00354AC8 41 80 FF 50 */ blt lbl_80357AB8 +/* 80357B6C 00354ACC 7F A4 EB 78 */ mr r4, r29 +/* 80357B70 00354AD0 38 61 00 58 */ addi r3, r1, 0x58 +/* 80357B74 00354AD4 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80357B78 00354AD8 48 00 04 59 */ bl sub_80357fd0 +/* 80357B7C 00354ADC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80357B80 00354AE0 38 81 00 58 */ addi r4, r1, 0x58 +/* 80357B84 00354AE4 48 00 01 7D */ bl sub_80357d00 +/* 80357B88 00354AE8 7F 63 DB 78 */ mr r3, r27 +/* 80357B8C 00354AEC 38 80 FF FF */ li r4, -1 +/* 80357B90 00354AF0 48 00 05 0D */ bl sub_8035809c +/* 80357B94 00354AF4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80357B98 00354AF8 38 80 FF FF */ li r4, -1 +/* 80357B9C 00354AFC 48 00 05 01 */ bl sub_8035809c +lbl_80357BA0: +/* 80357BA0 00354B00 3B BD 00 0C */ addi r29, r29, 0xc +/* 80357BA4 00354B04 3B 18 00 01 */ addi r24, r24, 1 +/* 80357BA8 00354B08 3A B5 00 0C */ addi r21, r21, 0xc +lbl_80357BAC: +/* 80357BAC 00354B0C 7C 18 D0 40 */ cmplw r24, r26 +/* 80357BB0 00354B10 41 80 FE 94 */ blt lbl_80357A44 +/* 80357BB4 00354B14 80 76 00 0C */ lwz r3, 0xc(r22) +/* 80357BB8 00354B18 4B FF DB 0D */ bl GetNormals__6CModelCFv +/* 80357BBC 00354B1C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357BC0 00354B20 7C 75 1B 78 */ mr r21, r3 +/* 80357BC4 00354B24 82 C1 00 3C */ lwz r22, 0x3c(r1) +/* 80357BC8 00354B28 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80357BCC 00354B2C 83 1F 00 40 */ lwz r24, 0x40(r31) +/* 80357BD0 00354B30 C3 E2 CC DC */ lfs f31, lbl_805AE9FC@sda21(r2) +/* 80357BD4 00354B34 7E 76 02 14 */ add r19, r22, r0 +/* 80357BD8 00354B38 48 00 00 AC */ b lbl_80357C84 +lbl_80357BDC: +/* 80357BDC 00354B3C D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 80357BE0 00354B40 D3 E1 00 28 */ stfs f31, 0x28(r1) +/* 80357BE4 00354B44 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 80357BE8 00354B48 80 96 00 10 */ lwz r4, 0x10(r22) +/* 80357BEC 00354B4C 82 96 00 14 */ lwz r20, 0x14(r22) +/* 80357BF0 00354B50 48 00 00 44 */ b lbl_80357C34 +lbl_80357BF4: +/* 80357BF4 00354B54 80 04 00 08 */ lwz r0, 8(r4) +/* 80357BF8 00354B58 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80357BFC 00354B5C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80357C00 00354B60 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80357C04 00354B64 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80357C08 00354B68 7C 75 02 14 */ add r3, r21, r0 +/* 80357C0C 00354B6C C0 03 00 00 */ lfs f0, 0(r3) +/* 80357C10 00354B70 EC 03 00 2A */ fadds f0, f3, f0 +/* 80357C14 00354B74 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80357C18 00354B78 C0 03 00 04 */ lfs f0, 4(r3) +/* 80357C1C 00354B7C EC 02 00 2A */ fadds f0, f2, f0 +/* 80357C20 00354B80 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80357C24 00354B84 C0 03 00 08 */ lfs f0, 8(r3) +/* 80357C28 00354B88 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357C2C 00354B8C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80357C30 00354B90 80 84 00 04 */ lwz r4, 4(r4) +lbl_80357C34: +/* 80357C34 00354B94 7C 04 A0 40 */ cmplw r4, r20 +/* 80357C38 00354B98 40 82 FF BC */ bne lbl_80357BF4 +/* 80357C3C 00354B9C 82 F6 00 10 */ lwz r23, 0x10(r22) +/* 80357C40 00354BA0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80357C44 00354BA4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80357C48 00354BA8 4B FB CC 09 */ bl AsNormalized__9CVector3fCFv +/* 80357C4C 00354BAC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80357C50 00354BB0 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80357C54 00354BB4 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80357C58 00354BB8 48 00 00 20 */ b lbl_80357C78 +lbl_80357C5C: +/* 80357C5C 00354BBC 80 17 00 08 */ lwz r0, 8(r23) +/* 80357C60 00354BC0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80357C64 00354BC4 7C 78 02 14 */ add r3, r24, r0 +/* 80357C68 00354BC8 D0 03 00 00 */ stfs f0, 0(r3) +/* 80357C6C 00354BCC D0 23 00 04 */ stfs f1, 4(r3) +/* 80357C70 00354BD0 D0 43 00 08 */ stfs f2, 8(r3) +/* 80357C74 00354BD4 82 F7 00 04 */ lwz r23, 4(r23) +lbl_80357C78: +/* 80357C78 00354BD8 7C 17 A0 40 */ cmplw r23, r20 +/* 80357C7C 00354BDC 40 82 FF E0 */ bne lbl_80357C5C +/* 80357C80 00354BE0 3A D6 00 24 */ addi r22, r22, 0x24 +lbl_80357C84: +/* 80357C84 00354BE4 7C 16 98 40 */ cmplw r22, r19 +/* 80357C88 00354BE8 40 82 FF 54 */ bne lbl_80357BDC +/* 80357C8C 00354BEC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357C90 00354BF0 82 61 00 3C */ lwz r19, 0x3c(r1) +/* 80357C94 00354BF4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80357C98 00354BF8 92 61 00 0C */ stw r19, 0xc(r1) +/* 80357C9C 00354BFC 7E B3 02 14 */ add r21, r19, r0 +/* 80357CA0 00354C00 92 61 00 08 */ stw r19, 8(r1) +/* 80357CA4 00354C04 92 A1 00 14 */ stw r21, 0x14(r1) +/* 80357CA8 00354C08 92 A1 00 10 */ stw r21, 0x10(r1) +/* 80357CAC 00354C0C 48 00 00 1C */ b lbl_80357CC8 +lbl_80357CB0: +/* 80357CB0 00354C10 28 13 00 00 */ cmplwi r19, 0 +/* 80357CB4 00354C14 41 82 00 10 */ beq lbl_80357CC4 +/* 80357CB8 00354C18 38 73 00 0C */ addi r3, r19, 0xc +/* 80357CBC 00354C1C 38 80 FF FF */ li r4, -1 +/* 80357CC0 00354C20 48 00 03 DD */ bl sub_8035809c +lbl_80357CC4: +/* 80357CC4 00354C24 3A 73 00 24 */ addi r19, r19, 0x24 +lbl_80357CC8: +/* 80357CC8 00354C28 7C 13 A8 40 */ cmplw r19, r21 +/* 80357CCC 00354C2C 40 82 FF E4 */ bne lbl_80357CB0 +/* 80357CD0 00354C30 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80357CD4 00354C34 28 03 00 00 */ cmplwi r3, 0 +/* 80357CD8 00354C38 41 82 00 08 */ beq lbl_80357CE0 +/* 80357CDC 00354C3C 4B FB DC 55 */ bl Free__7CMemoryFPCv +lbl_80357CE0: +/* 80357CE0 00354C40 7F E3 FB 78 */ mr r3, r31 +/* 80357CE4 00354C44 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80357CE8 00354C48 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80357CEC 00354C4C BA 61 00 8C */ lmw r19, 0x8c(r1) +/* 80357CF0 00354C50 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80357CF4 00354C54 7C 08 03 A6 */ mtlr r0 +/* 80357CF8 00354C58 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80357CFC 00354C5C 4E 80 00 20 */ blr + +.global sub_80357d00 +sub_80357d00: +/* 80357D00 00354C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357D04 00354C64 7C 08 02 A6 */ mflr r0 +/* 80357D08 00354C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357D0C 00354C6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357D10 00354C70 7C 9F 23 78 */ mr r31, r4 +/* 80357D14 00354C74 93 C1 00 08 */ stw r30, 8(r1) +/* 80357D18 00354C78 7C 7E 1B 78 */ mr r30, r3 +/* 80357D1C 00354C7C 80 03 00 04 */ lwz r0, 4(r3) +/* 80357D20 00354C80 80 A3 00 08 */ lwz r5, 8(r3) +/* 80357D24 00354C84 7C 00 28 00 */ cmpw r0, r5 +/* 80357D28 00354C88 41 80 00 18 */ blt lbl_80357D40 +/* 80357D2C 00354C8C 2C 05 00 00 */ cmpwi r5, 0 +/* 80357D30 00354C90 38 80 00 04 */ li r4, 4 +/* 80357D34 00354C94 41 82 00 08 */ beq lbl_80357D3C +/* 80357D38 00354C98 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80357D3C: +/* 80357D3C 00354C9C 48 00 03 D9 */ bl "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" +lbl_80357D40: +/* 80357D40 00354CA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80357D44 00354CA4 7F E4 FB 78 */ mr r4, r31 +/* 80357D48 00354CA8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80357D4C 00354CAC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80357D50 00354CB0 7C 63 02 14 */ add r3, r3, r0 +/* 80357D54 00354CB4 48 00 00 29 */ bl sub_80357d7c +/* 80357D58 00354CB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80357D5C 00354CBC 38 03 00 01 */ addi r0, r3, 1 +/* 80357D60 00354CC0 90 1E 00 04 */ stw r0, 4(r30) +/* 80357D64 00354CC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80357D68 00354CC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80357D6C 00354CCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357D70 00354CD0 7C 08 03 A6 */ mtlr r0 +/* 80357D74 00354CD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357D78 00354CD8 4E 80 00 20 */ blr + +.global sub_80357d7c +sub_80357d7c: +/* 80357D7C 00354CDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357D80 00354CE0 7C 08 02 A6 */ mflr r0 +/* 80357D84 00354CE4 28 03 00 00 */ cmplwi r3, 0 +/* 80357D88 00354CE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357D8C 00354CEC 41 82 00 08 */ beq lbl_80357D94 +/* 80357D90 00354CF0 48 00 00 15 */ bl sub_80357da4 +lbl_80357D94: +/* 80357D94 00354CF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357D98 00354CF8 7C 08 03 A6 */ mtlr r0 +/* 80357D9C 00354CFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357DA0 00354D00 4E 80 00 20 */ blr + +.global sub_80357da4 +sub_80357da4: +/* 80357DA4 00354D04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357DA8 00354D08 7C 08 02 A6 */ mflr r0 +/* 80357DAC 00354D0C 7C 85 23 78 */ mr r5, r4 +/* 80357DB0 00354D10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357DB4 00354D14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357DB8 00354D18 7C 7F 1B 78 */ mr r31, r3 +/* 80357DBC 00354D1C 38 7F 00 0C */ addi r3, r31, 0xc +/* 80357DC0 00354D20 C0 04 00 00 */ lfs f0, 0(r4) +/* 80357DC4 00354D24 38 85 00 0C */ addi r4, r5, 0xc +/* 80357DC8 00354D28 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80357DCC 00354D2C C0 05 00 04 */ lfs f0, 4(r5) +/* 80357DD0 00354D30 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80357DD4 00354D34 C0 05 00 08 */ lfs f0, 8(r5) +/* 80357DD8 00354D38 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80357DDC 00354D3C 48 00 00 1D */ bl sub_80357df8 +/* 80357DE0 00354D40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357DE4 00354D44 7F E3 FB 78 */ mr r3, r31 +/* 80357DE8 00354D48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80357DEC 00354D4C 7C 08 03 A6 */ mtlr r0 +/* 80357DF0 00354D50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357DF4 00354D54 4E 80 00 20 */ blr + +.global sub_80357df8 +sub_80357df8: +/* 80357DF8 00354D58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80357DFC 00354D5C 7C 08 02 A6 */ mflr r0 +/* 80357E00 00354D60 38 E0 00 00 */ li r7, 0 +/* 80357E04 00354D64 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357E08 00354D68 38 00 00 01 */ li r0, 1 +/* 80357E0C 00354D6C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80357E10 00354D70 38 C1 00 0C */ addi r6, r1, 0xc +/* 80357E14 00354D74 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80357E18 00354D78 7C 7F 1B 78 */ mr r31, r3 +/* 80357E1C 00354D7C 39 1F 00 0C */ addi r8, r31, 0xc +/* 80357E20 00354D80 91 03 00 04 */ stw r8, 4(r3) +/* 80357E24 00354D84 91 03 00 08 */ stw r8, 8(r3) +/* 80357E28 00354D88 91 03 00 0C */ stw r8, 0xc(r3) +/* 80357E2C 00354D8C 91 03 00 10 */ stw r8, 0x10(r3) +/* 80357E30 00354D90 90 E3 00 14 */ stw r7, 0x14(r3) +/* 80357E34 00354D94 81 04 00 08 */ lwz r8, 8(r4) +/* 80357E38 00354D98 80 E4 00 04 */ lwz r7, 4(r4) +/* 80357E3C 00354D9C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80357E40 00354DA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357E44 00354DA4 98 01 00 20 */ stb r0, 0x20(r1) +/* 80357E48 00354DA8 91 01 00 0C */ stw r8, 0xc(r1) +/* 80357E4C 00354DAC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 80357E50 00354DB0 80 03 00 08 */ lwz r0, 8(r3) +/* 80357E54 00354DB4 91 01 00 08 */ stw r8, 8(r1) +/* 80357E58 00354DB8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 80357E5C 00354DBC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80357E60 00354DC0 48 00 00 31 */ bl sub_80357e90 +/* 80357E64 00354DC4 38 00 00 00 */ li r0, 0 +/* 80357E68 00354DC8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80357E6C 00354DCC 98 01 00 20 */ stb r0, 0x20(r1) +/* 80357E70 00354DD0 38 80 FF FF */ li r4, -1 +/* 80357E74 00354DD4 48 00 00 D1 */ bl sub_80357f44 +/* 80357E78 00354DD8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357E7C 00354DDC 7F E3 FB 78 */ mr r3, r31 +/* 80357E80 00354DE0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80357E84 00354DE4 7C 08 03 A6 */ mtlr r0 +/* 80357E88 00354DE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80357E8C 00354DEC 4E 80 00 20 */ blr + +.global sub_80357e90 +sub_80357e90: +/* 80357E90 00354DF0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80357E94 00354DF4 7C 08 02 A6 */ mflr r0 +/* 80357E98 00354DF8 3C E0 80 3E */ lis r7, lbl_803D8330@ha +/* 80357E9C 00354DFC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357EA0 00354E00 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80357EA4 00354E04 7C 79 1B 78 */ mr r25, r3 +/* 80357EA8 00354E08 7C 9A 23 78 */ mr r26, r4 +/* 80357EAC 00354E0C 7C DB 33 78 */ mr r27, r6 +/* 80357EB0 00354E10 3B E7 83 30 */ addi r31, r7, lbl_803D8330@l +/* 80357EB4 00354E14 83 85 00 00 */ lwz r28, 0(r5) +/* 80357EB8 00354E18 48 00 00 6C */ b lbl_80357F24 +lbl_80357EBC: +/* 80357EBC 00354E1C 83 DA 00 00 */ lwz r30, 0(r26) +/* 80357EC0 00354E20 7F E4 FB 78 */ mr r4, r31 +/* 80357EC4 00354E24 38 60 00 0C */ li r3, 0xc +/* 80357EC8 00354E28 38 A0 00 00 */ li r5, 0 +/* 80357ECC 00354E2C 83 BE 00 00 */ lwz r29, 0(r30) +/* 80357ED0 00354E30 4B FB D9 49 */ bl __nwa__FUlPCcPCc +/* 80357ED4 00354E34 28 03 00 00 */ cmplwi r3, 0 +/* 80357ED8 00354E38 41 82 00 0C */ beq lbl_80357EE4 +/* 80357EDC 00354E3C 93 A3 00 00 */ stw r29, 0(r3) +/* 80357EE0 00354E40 93 C3 00 04 */ stw r30, 4(r3) +lbl_80357EE4: +/* 80357EE4 00354E44 34 83 00 08 */ addic. r4, r3, 8 +/* 80357EE8 00354E48 41 82 00 0C */ beq lbl_80357EF4 +/* 80357EEC 00354E4C 80 1C 00 08 */ lwz r0, 8(r28) +/* 80357EF0 00354E50 90 04 00 00 */ stw r0, 0(r4) +lbl_80357EF4: +/* 80357EF4 00354E54 80 19 00 04 */ lwz r0, 4(r25) +/* 80357EF8 00354E58 7C 1E 00 40 */ cmplw r30, r0 +/* 80357EFC 00354E5C 40 82 00 08 */ bne lbl_80357F04 +/* 80357F00 00354E60 90 79 00 04 */ stw r3, 4(r25) +lbl_80357F04: +/* 80357F04 00354E64 80 83 00 00 */ lwz r4, 0(r3) +/* 80357F08 00354E68 90 64 00 04 */ stw r3, 4(r4) +/* 80357F0C 00354E6C 80 83 00 04 */ lwz r4, 4(r3) +/* 80357F10 00354E70 90 64 00 00 */ stw r3, 0(r4) +/* 80357F14 00354E74 80 79 00 14 */ lwz r3, 0x14(r25) +/* 80357F18 00354E78 38 03 00 01 */ addi r0, r3, 1 +/* 80357F1C 00354E7C 90 19 00 14 */ stw r0, 0x14(r25) +/* 80357F20 00354E80 83 9C 00 04 */ lwz r28, 4(r28) +lbl_80357F24: +/* 80357F24 00354E84 80 1B 00 00 */ lwz r0, 0(r27) +/* 80357F28 00354E88 7C 1C 00 40 */ cmplw r28, r0 +/* 80357F2C 00354E8C 40 82 FF 90 */ bne lbl_80357EBC +/* 80357F30 00354E90 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80357F34 00354E94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357F38 00354E98 7C 08 03 A6 */ mtlr r0 +/* 80357F3C 00354E9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80357F40 00354EA0 4E 80 00 20 */ blr + +.global sub_80357f44 +sub_80357f44: +/* 80357F44 00354EA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80357F48 00354EA8 7C 08 02 A6 */ mflr r0 +/* 80357F4C 00354EAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357F50 00354EB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357F54 00354EB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80357F58 00354EB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80357F5C 00354EBC 7C 9D 23 78 */ mr r29, r4 +/* 80357F60 00354EC0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80357F64 00354EC4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80357F68 00354EC8 41 82 00 44 */ beq lbl_80357FAC +/* 80357F6C 00354ECC 88 1C 00 04 */ lbz r0, 4(r28) +/* 80357F70 00354ED0 28 00 00 00 */ cmplwi r0, 0 +/* 80357F74 00354ED4 41 82 00 28 */ beq lbl_80357F9C +/* 80357F78 00354ED8 83 FC 00 00 */ lwz r31, 0(r28) +/* 80357F7C 00354EDC 83 DF 00 08 */ lwz r30, 8(r31) +/* 80357F80 00354EE0 80 9F 00 04 */ lwz r4, 4(r31) +/* 80357F84 00354EE4 48 00 00 10 */ b lbl_80357F94 +lbl_80357F88: +/* 80357F88 00354EE8 7F E3 FB 78 */ mr r3, r31 +/* 80357F8C 00354EEC 48 00 00 95 */ bl sub_80358020 +/* 80357F90 00354EF0 7C 64 1B 78 */ mr r4, r3 +lbl_80357F94: +/* 80357F94 00354EF4 7C 04 F0 40 */ cmplw r4, r30 +/* 80357F98 00354EF8 40 82 FF F0 */ bne lbl_80357F88 +lbl_80357F9C: +/* 80357F9C 00354EFC 7F A0 07 35 */ extsh. r0, r29 +/* 80357FA0 00354F00 40 81 00 0C */ ble lbl_80357FAC +/* 80357FA4 00354F04 7F 83 E3 78 */ mr r3, r28 +/* 80357FA8 00354F08 4B FB D9 89 */ bl Free__7CMemoryFPCv +lbl_80357FAC: +/* 80357FAC 00354F0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80357FB0 00354F10 7F 83 E3 78 */ mr r3, r28 +/* 80357FB4 00354F14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80357FB8 00354F18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80357FBC 00354F1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80357FC0 00354F20 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80357FC4 00354F24 7C 08 03 A6 */ mtlr r0 +/* 80357FC8 00354F28 38 21 00 20 */ addi r1, r1, 0x20 +/* 80357FCC 00354F2C 4E 80 00 20 */ blr + +.global sub_80357fd0 +sub_80357fd0: +/* 80357FD0 00354F30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357FD4 00354F34 7C 08 02 A6 */ mflr r0 +/* 80357FD8 00354F38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357FDC 00354F3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357FE0 00354F40 7C 7F 1B 78 */ mr r31, r3 +/* 80357FE4 00354F44 C0 04 00 00 */ lfs f0, 0(r4) +/* 80357FE8 00354F48 D0 03 00 00 */ stfs f0, 0(r3) +/* 80357FEC 00354F4C 38 7F 00 0C */ addi r3, r31, 0xc +/* 80357FF0 00354F50 C0 04 00 04 */ lfs f0, 4(r4) +/* 80357FF4 00354F54 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80357FF8 00354F58 C0 04 00 08 */ lfs f0, 8(r4) +/* 80357FFC 00354F5C 7C A4 2B 78 */ mr r4, r5 +/* 80358000 00354F60 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80358004 00354F64 4B FF FD F5 */ bl sub_80357df8 +/* 80358008 00354F68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035800C 00354F6C 7F E3 FB 78 */ mr r3, r31 +/* 80358010 00354F70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358014 00354F74 7C 08 03 A6 */ mtlr r0 +/* 80358018 00354F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035801C 00354F7C 4E 80 00 20 */ blr + +.global sub_80358020 +sub_80358020: +/* 80358020 00354F80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358024 00354F84 7C 08 02 A6 */ mflr r0 +/* 80358028 00354F88 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035802C 00354F8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358030 00354F90 93 C1 00 08 */ stw r30, 8(r1) +/* 80358034 00354F94 7C 7E 1B 78 */ mr r30, r3 +/* 80358038 00354F98 80 03 00 04 */ lwz r0, 4(r3) +/* 8035803C 00354F9C 83 E4 00 04 */ lwz r31, 4(r4) +/* 80358040 00354FA0 7C 04 00 40 */ cmplw r4, r0 +/* 80358044 00354FA4 40 82 00 08 */ bne lbl_8035804C +/* 80358048 00354FA8 93 FE 00 04 */ stw r31, 4(r30) +lbl_8035804C: +/* 8035804C 00354FAC 80 04 00 04 */ lwz r0, 4(r4) +/* 80358050 00354FB0 28 04 00 00 */ cmplwi r4, 0 +/* 80358054 00354FB4 80 64 00 00 */ lwz r3, 0(r4) +/* 80358058 00354FB8 90 03 00 04 */ stw r0, 4(r3) +/* 8035805C 00354FBC 80 04 00 00 */ lwz r0, 0(r4) +/* 80358060 00354FC0 80 64 00 04 */ lwz r3, 4(r4) +/* 80358064 00354FC4 90 03 00 00 */ stw r0, 0(r3) +/* 80358068 00354FC8 41 82 00 0C */ beq lbl_80358074 +/* 8035806C 00354FCC 7C 83 23 78 */ mr r3, r4 +/* 80358070 00354FD0 4B FB D8 C1 */ bl Free__7CMemoryFPCv +lbl_80358074: +/* 80358074 00354FD4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80358078 00354FD8 7F E3 FB 78 */ mr r3, r31 +/* 8035807C 00354FDC 38 04 FF FF */ addi r0, r4, -1 +/* 80358080 00354FE0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80358084 00354FE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358088 00354FE8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035808C 00354FEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358090 00354FF0 7C 08 03 A6 */ mtlr r0 +/* 80358094 00354FF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358098 00354FF8 4E 80 00 20 */ blr + +.global sub_8035809c +sub_8035809c: +/* 8035809C 00354FFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803580A0 00355000 7C 08 02 A6 */ mflr r0 +/* 803580A4 00355004 90 01 00 24 */ stw r0, 0x24(r1) +/* 803580A8 00355008 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803580AC 0035500C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803580B0 00355010 7C 9E 23 78 */ mr r30, r4 +/* 803580B4 00355014 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803580B8 00355018 7C 7D 1B 79 */ or. r29, r3, r3 +/* 803580BC 0035501C 41 82 00 38 */ beq lbl_803580F4 +/* 803580C0 00355020 83 FD 00 04 */ lwz r31, 4(r29) +/* 803580C4 00355024 48 00 00 14 */ b lbl_803580D8 +lbl_803580C8: +/* 803580C8 00355028 7F E3 FB 79 */ or. r3, r31, r31 +/* 803580CC 0035502C 83 FF 00 04 */ lwz r31, 4(r31) +/* 803580D0 00355030 41 82 00 08 */ beq lbl_803580D8 +/* 803580D4 00355034 4B FB D8 5D */ bl Free__7CMemoryFPCv +lbl_803580D8: +/* 803580D8 00355038 80 1D 00 08 */ lwz r0, 8(r29) +/* 803580DC 0035503C 7C 1F 00 40 */ cmplw r31, r0 +/* 803580E0 00355040 40 82 FF E8 */ bne lbl_803580C8 +/* 803580E4 00355044 7F C0 07 35 */ extsh. r0, r30 +/* 803580E8 00355048 40 81 00 0C */ ble lbl_803580F4 +/* 803580EC 0035504C 7F A3 EB 78 */ mr r3, r29 +/* 803580F0 00355050 4B FB D8 41 */ bl Free__7CMemoryFPCv +lbl_803580F4: +/* 803580F4 00355054 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803580F8 00355058 7F A3 EB 78 */ mr r3, r29 +/* 803580FC 0035505C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358100 00355060 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358104 00355064 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358108 00355068 7C 08 03 A6 */ mtlr r0 +/* 8035810C 0035506C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358110 00355070 4E 80 00 20 */ blr + +.global "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi": +/* 80358114 00355074 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80358118 00355078 7C 08 02 A6 */ mflr r0 +/* 8035811C 0035507C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80358120 00355080 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80358124 00355084 7C 9F 23 78 */ mr r31, r4 +/* 80358128 00355088 7C 7E 1B 78 */ mr r30, r3 +/* 8035812C 0035508C 80 03 00 08 */ lwz r0, 8(r3) +/* 80358130 00355090 7C 1F 00 00 */ cmpw r31, r0 +/* 80358134 00355094 40 81 00 AC */ ble lbl_803581E0 +/* 80358138 00355098 1C 7F 00 24 */ mulli r3, r31, 0x24 +/* 8035813C 0035509C 2C 03 00 00 */ cmpwi r3, 0 +/* 80358140 003550A0 40 82 00 0C */ bne lbl_8035814C +/* 80358144 003550A4 3B A0 00 00 */ li r29, 0 +/* 80358148 003550A8 48 00 00 18 */ b lbl_80358160 +lbl_8035814C: +/* 8035814C 003550AC 3C 80 80 3E */ lis r4, lbl_803D8330@ha +/* 80358150 003550B0 38 A0 00 00 */ li r5, 0 +/* 80358154 003550B4 38 84 83 30 */ addi r4, r4, lbl_803D8330@l +/* 80358158 003550B8 4B FB D6 C1 */ bl __nwa__FUlPCcPCc +/* 8035815C 003550BC 7C 7D 1B 78 */ mr r29, r3 +lbl_80358160: +/* 80358160 003550C0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80358164 003550C4 7F A5 EB 78 */ mr r5, r29 +/* 80358168 003550C8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035816C 003550CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80358170 003550D0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80358174 003550D4 38 81 00 0C */ addi r4, r1, 0xc +/* 80358178 003550D8 7C C6 02 14 */ add r6, r6, r0 +/* 8035817C 003550DC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80358180 003550E0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80358184 003550E4 90 C1 00 08 */ stw r6, 8(r1) +/* 80358188 003550E8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035818C 003550EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358190 003550F0 48 00 00 65 */ bl sub_803581f4 +/* 80358194 003550F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80358198 003550F8 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8035819C 003550FC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 803581A0 00355100 7F 9B 02 14 */ add r28, r27, r0 +/* 803581A4 00355104 48 00 00 1C */ b lbl_803581C0 +lbl_803581A8: +/* 803581A8 00355108 28 1B 00 00 */ cmplwi r27, 0 +/* 803581AC 0035510C 41 82 00 10 */ beq lbl_803581BC +/* 803581B0 00355110 38 7B 00 0C */ addi r3, r27, 0xc +/* 803581B4 00355114 38 80 FF FF */ li r4, -1 +/* 803581B8 00355118 4B FF FE E5 */ bl sub_8035809c +lbl_803581BC: +/* 803581BC 0035511C 3B 7B 00 24 */ addi r27, r27, 0x24 +lbl_803581C0: +/* 803581C0 00355120 7C 1B E0 40 */ cmplw r27, r28 +/* 803581C4 00355124 40 82 FF E4 */ bne lbl_803581A8 +/* 803581C8 00355128 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803581CC 0035512C 28 03 00 00 */ cmplwi r3, 0 +/* 803581D0 00355130 41 82 00 08 */ beq lbl_803581D8 +/* 803581D4 00355134 4B FB D7 5D */ bl Free__7CMemoryFPCv +lbl_803581D8: +/* 803581D8 00355138 93 BE 00 0C */ stw r29, 0xc(r30) +/* 803581DC 0035513C 93 FE 00 08 */ stw r31, 8(r30) +lbl_803581E0: +/* 803581E0 00355140 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 803581E4 00355144 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803581E8 00355148 7C 08 03 A6 */ mtlr r0 +/* 803581EC 0035514C 38 21 00 30 */ addi r1, r1, 0x30 +/* 803581F0 00355150 4E 80 00 20 */ blr + +.global sub_803581f4 +sub_803581f4: +/* 803581F4 00355154 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803581F8 00355158 7C 08 02 A6 */ mflr r0 +/* 803581FC 0035515C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358200 00355160 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358204 00355164 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358208 00355168 7C BE 2B 78 */ mr r30, r5 +/* 8035820C 0035516C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80358210 00355170 7C 9D 23 78 */ mr r29, r4 +/* 80358214 00355174 83 E3 00 00 */ lwz r31, 0(r3) +/* 80358218 00355178 48 00 00 18 */ b lbl_80358230 +lbl_8035821C: +/* 8035821C 0035517C 7F C3 F3 78 */ mr r3, r30 +/* 80358220 00355180 7F E4 FB 78 */ mr r4, r31 +/* 80358224 00355184 4B FF FB 59 */ bl sub_80357d7c +/* 80358228 00355188 3B DE 00 24 */ addi r30, r30, 0x24 +/* 8035822C 0035518C 3B FF 00 24 */ addi r31, r31, 0x24 +lbl_80358230: +/* 80358230 00355190 80 1D 00 00 */ lwz r0, 0(r29) +/* 80358234 00355194 7C 1F 00 40 */ cmplw r31, r0 +/* 80358238 00355198 40 82 FF E4 */ bne lbl_8035821C +/* 8035823C 0035519C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358240 003551A0 7F C3 F3 78 */ mr r3, r30 +/* 80358244 003551A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358248 003551A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035824C 003551AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358250 003551B0 7C 08 03 A6 */ mtlr r0 +/* 80358254 003551B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358258 003551B8 4E 80 00 20 */ blr + +.global __dt__13CTimeProviderFv +__dt__13CTimeProviderFv: +/* 8035825C 003551BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358260 003551C0 7C 08 02 A6 */ mflr r0 +/* 80358264 003551C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358268 003551C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035826C 003551CC 7C 9F 23 78 */ mr r31, r4 +/* 80358270 003551D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80358274 003551D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80358278 003551D8 41 82 00 40 */ beq lbl_803582B8 +/* 8035827C 003551DC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80358280 003551E0 28 03 00 00 */ cmplwi r3, 0 +/* 80358284 003551E4 90 6D AA 98 */ stw r3, lbl_805A9658@sda21(r13) +/* 80358288 003551E8 41 82 00 18 */ beq lbl_803582A0 +/* 8035828C 003551EC 38 00 00 01 */ li r0, 1 +/* 80358290 003551F0 98 03 00 04 */ stb r0, 4(r3) +/* 80358294 003551F4 80 6D AA 98 */ lwz r3, lbl_805A9658@sda21(r13) +/* 80358298 003551F8 4B FB 1C 41 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +/* 8035829C 003551FC 48 00 00 0C */ b lbl_803582A8 +lbl_803582A0: +/* 803582A0 00355200 38 60 00 00 */ li r3, 0 +/* 803582A4 00355204 4B FB 1C 35 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +lbl_803582A8: +/* 803582A8 00355208 7F E0 07 35 */ extsh. r0, r31 +/* 803582AC 0035520C 40 81 00 0C */ ble lbl_803582B8 +/* 803582B0 00355210 7F C3 F3 78 */ mr r3, r30 +/* 803582B4 00355214 4B FB D6 7D */ bl Free__7CMemoryFPCv +lbl_803582B8: +/* 803582B8 00355218 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803582BC 0035521C 7F C3 F3 78 */ mr r3, r30 +/* 803582C0 00355220 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803582C4 00355224 83 C1 00 08 */ lwz r30, 8(r1) +/* 803582C8 00355228 7C 08 03 A6 */ mtlr r0 +/* 803582CC 0035522C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803582D0 00355230 4E 80 00 20 */ blr + +.global __ct__13CTimeProviderFRCf +__ct__13CTimeProviderFRCf: +/* 803582D4 00355234 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803582D8 00355238 7C 08 02 A6 */ mflr r0 +/* 803582DC 0035523C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803582E0 00355240 38 00 00 01 */ li r0, 1 +/* 803582E4 00355244 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803582E8 00355248 7C 7F 1B 78 */ mr r31, r3 +/* 803582EC 0035524C 90 83 00 00 */ stw r4, 0(r3) +/* 803582F0 00355250 98 03 00 04 */ stb r0, 4(r3) +/* 803582F4 00355254 80 0D AA 98 */ lwz r0, lbl_805A9658@sda21(r13) +/* 803582F8 00355258 90 03 00 08 */ stw r0, 8(r3) +/* 803582FC 0035525C 80 63 00 08 */ lwz r3, 8(r3) +/* 80358300 00355260 28 03 00 00 */ cmplwi r3, 0 +/* 80358304 00355264 41 82 00 0C */ beq lbl_80358310 +/* 80358308 00355268 38 00 00 00 */ li r0, 0 +/* 8035830C 0035526C 98 03 00 04 */ stb r0, 4(r3) +lbl_80358310: +/* 80358310 00355270 93 ED AA 98 */ stw r31, lbl_805A9658@sda21(r13) +/* 80358314 00355274 7F E3 FB 78 */ mr r3, r31 +/* 80358318 00355278 4B FB 1B C1 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +/* 8035831C 0035527C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358320 00355280 7F E3 FB 78 */ mr r3, r31 +/* 80358324 00355284 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358328 00355288 7C 08 03 A6 */ mtlr r0 +/* 8035832C 0035528C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358330 00355290 4E 80 00 20 */ blr + +.global GetMRAMSafe__10CARAMTokenFv +GetMRAMSafe__10CARAMTokenFv: +/* 80358334 00355294 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358338 00355298 7C 08 02 A6 */ mflr r0 +/* 8035833C 0035529C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358340 003552A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358344 003552A4 7C 7F 1B 78 */ mr r31, r3 +/* 80358348 003552A8 80 03 00 00 */ lwz r0, 0(r3) +/* 8035834C 003552AC 2C 00 00 01 */ cmpwi r0, 1 +/* 80358350 003552B0 40 82 00 0C */ bne lbl_8035835C +/* 80358354 003552B4 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358358 003552B8 48 00 00 1C */ b lbl_80358374 +lbl_8035835C: +/* 8035835C 003552BC 48 00 04 11 */ bl LoadToMRAM__10CARAMTokenFv +lbl_80358360: +/* 80358360 003552C0 7F E3 FB 78 */ mr r3, r31 +/* 80358364 003552C4 48 00 02 45 */ bl RefreshStatus__10CARAMTokenFv +/* 80358368 003552C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035836C 003552CC 41 82 FF F4 */ beq lbl_80358360 +/* 80358370 003552D0 80 7F 00 04 */ lwz r3, 4(r31) +lbl_80358374: +/* 80358374 003552D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358378 003552D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035837C 003552DC 7C 08 03 A6 */ mtlr r0 +/* 80358380 003552E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358384 003552E4 4E 80 00 20 */ blr + +.global sub_80358388 +sub_80358388: +/* 80358388 003552E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035838C 003552EC 7C 08 02 A6 */ mflr r0 +/* 80358390 003552F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358394 003552F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358398 003552F8 7C 7F 1B 78 */ mr r31, r3 +/* 8035839C 003552FC 80 03 00 00 */ lwz r0, 0(r3) +/* 803583A0 00355300 2C 00 00 02 */ cmpwi r0, 2 +/* 803583A4 00355304 41 80 00 1C */ blt lbl_803583C0 +/* 803583A8 00355308 2C 00 00 05 */ cmpwi r0, 5 +/* 803583AC 0035530C 41 81 00 14 */ bgt lbl_803583C0 +/* 803583B0 00355310 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803583B4 00355314 4B FE C3 95 */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 803583B8 00355318 7F E3 FB 78 */ mr r3, r31 +/* 803583BC 0035531C 48 00 01 ED */ bl RefreshStatus__10CARAMTokenFv +lbl_803583C0: +/* 803583C0 00355320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803583C4 00355324 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803583C8 00355328 7C 08 03 A6 */ mtlr r0 +/* 803583CC 0035532C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803583D0 00355330 4E 80 00 20 */ blr + +.global sub_803583d4 +sub_803583d4: +/* 803583D4 00355334 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803583D8 00355338 7C 08 02 A6 */ mflr r0 +/* 803583DC 0035533C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803583E0 00355340 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803583E4 00355344 7C 7F 1B 78 */ mr r31, r3 +/* 803583E8 00355348 4B FF FF 4D */ bl GetMRAMSafe__10CARAMTokenFv +/* 803583EC 0035534C 7C 60 1B 78 */ mr r0, r3 +/* 803583F0 00355350 7F E3 FB 78 */ mr r3, r31 +/* 803583F4 00355354 7C 1F 03 78 */ mr r31, r0 +/* 803583F8 00355358 48 00 00 1D */ bl MakeInvalid__10CARAMTokenFv +/* 803583FC 0035535C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358400 00355360 7F E3 FB 78 */ mr r3, r31 +/* 80358404 00355364 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358408 00355368 7C 08 03 A6 */ mtlr r0 +/* 8035840C 0035536C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358410 00355370 4E 80 00 20 */ blr + +.global MakeInvalid__10CARAMTokenFv +MakeInvalid__10CARAMTokenFv: +/* 80358414 00355374 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358418 00355378 7C 08 02 A6 */ mflr r0 +/* 8035841C 0035537C 38 80 00 06 */ li r4, 6 +/* 80358420 00355380 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358424 00355384 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358428 00355388 7C 7F 1B 78 */ mr r31, r3 +/* 8035842C 0035538C 48 00 00 7D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 80358430 00355390 38 80 00 00 */ li r4, 0 +/* 80358434 00355394 80 62 CB A8 */ lwz r3, lbl_805AE8C8@sda21(r2) +/* 80358438 00355398 90 9F 00 04 */ stw r4, 4(r31) +/* 8035843C 0035539C 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358440 003553A0 90 7F 00 08 */ stw r3, 8(r31) +/* 80358444 003553A4 90 9F 00 0C */ stw r4, 0xc(r31) +/* 80358448 003553A8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8035844C 003553AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358450 003553B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358454 003553B4 7C 08 03 A6 */ mtlr r0 +/* 80358458 003553B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035845C 003553BC 4E 80 00 20 */ blr + +.global RemoveFromList__10CARAMTokenFv +RemoveFromList__10CARAMTokenFv: +/* 80358460 003553C0 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80358464 003553C4 28 04 00 00 */ cmplwi r4, 0 +/* 80358468 003553C8 40 82 00 20 */ bne lbl_80358488 +/* 8035846C 003553CC 80 03 00 00 */ lwz r0, 0(r3) +/* 80358470 003553D0 3C 80 80 5A */ lis r4, lbl_805A680C@ha +/* 80358474 003553D4 80 A3 00 18 */ lwz r5, 0x18(r3) +/* 80358478 003553D8 38 84 68 0C */ addi r4, r4, lbl_805A680C@l +/* 8035847C 003553DC 54 00 10 3A */ slwi r0, r0, 2 +/* 80358480 003553E0 7C A4 01 2E */ stwx r5, r4, r0 +/* 80358484 003553E4 48 00 00 0C */ b lbl_80358490 +lbl_80358488: +/* 80358488 003553E8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8035848C 003553EC 90 04 00 18 */ stw r0, 0x18(r4) +lbl_80358490: +/* 80358490 003553F0 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80358494 003553F4 28 04 00 00 */ cmplwi r4, 0 +/* 80358498 003553F8 4D 82 00 20 */ beqlr +/* 8035849C 003553FC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 803584A0 00355400 90 04 00 14 */ stw r0, 0x14(r4) +/* 803584A4 00355404 4E 80 00 20 */ blr + +.global MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +MoveToList__10CARAMTokenFQ210CARAMToken7EStatus: +/* 803584A8 00355408 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803584AC 0035540C 7C 08 02 A6 */ mflr r0 +/* 803584B0 00355410 90 01 00 14 */ stw r0, 0x14(r1) +/* 803584B4 00355414 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803584B8 00355418 7C 9F 23 78 */ mr r31, r4 +/* 803584BC 0035541C 93 C1 00 08 */ stw r30, 8(r1) +/* 803584C0 00355420 7C 7E 1B 78 */ mr r30, r3 +/* 803584C4 00355424 80 03 00 00 */ lwz r0, 0(r3) +/* 803584C8 00355428 7C 00 F8 00 */ cmpw r0, r31 +/* 803584CC 0035542C 41 82 00 14 */ beq lbl_803584E0 +/* 803584D0 00355430 4B FF FF 91 */ bl RemoveFromList__10CARAMTokenFv +/* 803584D4 00355434 93 FE 00 00 */ stw r31, 0(r30) +/* 803584D8 00355438 7F C3 F3 78 */ mr r3, r30 +/* 803584DC 0035543C 48 00 00 1D */ bl InitiallyMoveToList__10CARAMTokenFv +lbl_803584E0: +/* 803584E0 00355440 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803584E4 00355444 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803584E8 00355448 83 C1 00 08 */ lwz r30, 8(r1) +/* 803584EC 0035544C 7C 08 03 A6 */ mtlr r0 +/* 803584F0 00355450 38 21 00 10 */ addi r1, r1, 0x10 +/* 803584F4 00355454 4E 80 00 20 */ blr + +.global InitiallyMoveToList__10CARAMTokenFv +InitiallyMoveToList__10CARAMTokenFv: +/* 803584F8 00355458 38 00 00 00 */ li r0, 0 +/* 803584FC 0035545C 3C 80 80 5A */ lis r4, lbl_805A680C@ha +/* 80358500 00355460 90 03 00 14 */ stw r0, 0x14(r3) +/* 80358504 00355464 38 84 68 0C */ addi r4, r4, lbl_805A680C@l +/* 80358508 00355468 80 03 00 00 */ lwz r0, 0(r3) +/* 8035850C 0035546C 54 00 10 3A */ slwi r0, r0, 2 +/* 80358510 00355470 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80358514 00355474 90 03 00 18 */ stw r0, 0x18(r3) +/* 80358518 00355478 80 03 00 00 */ lwz r0, 0(r3) +/* 8035851C 0035547C 54 00 10 3A */ slwi r0, r0, 2 +/* 80358520 00355480 7C 64 01 2E */ stwx r3, r4, r0 +/* 80358524 00355484 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80358528 00355488 28 04 00 00 */ cmplwi r4, 0 +/* 8035852C 0035548C 4D 82 00 20 */ beqlr +/* 80358530 00355490 90 64 00 14 */ stw r3, 0x14(r4) +/* 80358534 00355494 4E 80 00 20 */ blr + +.global UpdateAllDMAs__10CARAMTokenFv +UpdateAllDMAs__10CARAMTokenFv: +/* 80358538 00355498 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035853C 0035549C 7C 08 02 A6 */ mflr r0 +/* 80358540 003554A0 3C 60 80 5A */ lis r3, lbl_805A680C@ha +/* 80358544 003554A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358548 003554A8 38 63 68 0C */ addi r3, r3, lbl_805A680C@l +/* 8035854C 003554AC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358550 003554B0 3B E3 00 08 */ addi r31, r3, 8 +/* 80358554 003554B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358558 003554B8 3B C0 00 02 */ li r30, 2 +/* 8035855C 003554BC 93 A1 00 14 */ stw r29, 0x14(r1) +lbl_80358560: +/* 80358560 003554C0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80358564 003554C4 48 00 00 10 */ b lbl_80358574 +lbl_80358568: +/* 80358568 003554C8 83 A3 00 18 */ lwz r29, 0x18(r3) +/* 8035856C 003554CC 48 00 00 3D */ bl RefreshStatus__10CARAMTokenFv +/* 80358570 003554D0 7F A3 EB 78 */ mr r3, r29 +lbl_80358574: +/* 80358574 003554D4 28 03 00 00 */ cmplwi r3, 0 +/* 80358578 003554D8 40 82 FF F0 */ bne lbl_80358568 +/* 8035857C 003554DC 3B DE 00 01 */ addi r30, r30, 1 +/* 80358580 003554E0 3B FF 00 04 */ addi r31, r31, 4 +/* 80358584 003554E4 2C 1E 00 05 */ cmpwi r30, 5 +/* 80358588 003554E8 40 81 FF D8 */ ble lbl_80358560 +/* 8035858C 003554EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358590 003554F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358594 003554F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358598 003554F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035859C 003554FC 7C 08 03 A6 */ mtlr r0 +/* 803585A0 00355500 38 21 00 20 */ addi r1, r1, 0x20 +/* 803585A4 00355504 4E 80 00 20 */ blr + +.global RefreshStatus__10CARAMTokenFv +RefreshStatus__10CARAMTokenFv: +/* 803585A8 00355508 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803585AC 0035550C 7C 08 02 A6 */ mflr r0 +/* 803585B0 00355510 90 01 00 14 */ stw r0, 0x14(r1) +/* 803585B4 00355514 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803585B8 00355518 7C 7F 1B 78 */ mr r31, r3 +/* 803585BC 0035551C 80 03 00 00 */ lwz r0, 0(r3) +/* 803585C0 00355520 2C 00 00 01 */ cmpwi r0, 1 +/* 803585C4 00355524 41 82 00 0C */ beq lbl_803585D0 +/* 803585C8 00355528 2C 00 00 00 */ cmpwi r0, 0 +/* 803585CC 0035552C 40 82 00 0C */ bne lbl_803585D8 +lbl_803585D0: +/* 803585D0 00355530 38 60 00 01 */ li r3, 1 +/* 803585D4 00355534 48 00 00 90 */ b lbl_80358664 +lbl_803585D8: +/* 803585D8 00355538 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803585DC 0035553C 4B FE C1 E9 */ bl IsDMACompleted__12CARAMManagerFUi +/* 803585E0 00355540 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803585E4 00355544 40 82 00 0C */ bne lbl_803585F0 +/* 803585E8 00355548 38 60 00 00 */ li r3, 0 +/* 803585EC 0035554C 48 00 00 78 */ b lbl_80358664 +lbl_803585F0: +/* 803585F0 00355550 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 803585F4 00355554 90 1F 00 10 */ stw r0, 0x10(r31) +/* 803585F8 00355558 80 1F 00 00 */ lwz r0, 0(r31) +/* 803585FC 0035555C 2C 00 00 05 */ cmpwi r0, 5 +/* 80358600 00355560 41 82 00 44 */ beq lbl_80358644 +/* 80358604 00355564 40 80 00 5C */ bge lbl_80358660 +/* 80358608 00355568 2C 00 00 02 */ cmpwi r0, 2 +/* 8035860C 0035556C 41 82 00 38 */ beq lbl_80358644 +/* 80358610 00355570 40 80 00 08 */ bge lbl_80358618 +/* 80358614 00355574 48 00 00 4C */ b lbl_80358660 +lbl_80358618: +/* 80358618 00355578 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 8035861C 0035557C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80358620 00355580 40 82 00 14 */ bne lbl_80358634 +/* 80358624 00355584 80 7F 00 08 */ lwz r3, 8(r31) +/* 80358628 00355588 4B FE C4 95 */ bl Free__12CARAMManagerFPCv +/* 8035862C 0035558C 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) +/* 80358630 00355590 90 1F 00 08 */ stw r0, 8(r31) +lbl_80358634: +/* 80358634 00355594 7F E3 FB 78 */ mr r3, r31 +/* 80358638 00355598 38 80 00 01 */ li r4, 1 +/* 8035863C 0035559C 4B FF FE 6D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 80358640 003555A0 48 00 00 20 */ b lbl_80358660 +lbl_80358644: +/* 80358644 003555A4 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358648 003555A8 4B FB D2 E9 */ bl Free__7CMemoryFPCv +/* 8035864C 003555AC 38 00 00 00 */ li r0, 0 +/* 80358650 003555B0 7F E3 FB 78 */ mr r3, r31 +/* 80358654 003555B4 90 1F 00 04 */ stw r0, 4(r31) +/* 80358658 003555B8 38 80 00 00 */ li r4, 0 +/* 8035865C 003555BC 4B FF FE 4D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +lbl_80358660: +/* 80358660 003555C0 38 60 00 01 */ li r3, 1 +lbl_80358664: +/* 80358664 003555C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358668 003555C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035866C 003555CC 7C 08 03 A6 */ mtlr r0 +/* 80358670 003555D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358674 003555D4 4E 80 00 20 */ blr + +.global LoadToARAM__10CARAMTokenFv +LoadToARAM__10CARAMTokenFv: +/* 80358678 003555D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035867C 003555DC 7C 08 02 A6 */ mflr r0 +/* 80358680 003555E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358684 003555E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358688 003555E8 7C 7F 1B 78 */ mr r31, r3 +/* 8035868C 003555EC 80 03 00 00 */ lwz r0, 0(r3) +/* 80358690 003555F0 2C 00 00 03 */ cmpwi r0, 3 +/* 80358694 003555F4 41 82 00 38 */ beq lbl_803586CC +/* 80358698 003555F8 40 80 00 1C */ bge lbl_803586B4 +/* 8035869C 003555FC 2C 00 00 01 */ cmpwi r0, 1 +/* 803586A0 00355600 41 82 00 60 */ beq lbl_80358700 +/* 803586A4 00355604 40 80 00 AC */ bge lbl_80358750 +/* 803586A8 00355608 2C 00 00 00 */ cmpwi r0, 0 +/* 803586AC 0035560C 40 80 00 18 */ bge lbl_803586C4 +/* 803586B0 00355610 48 00 00 A0 */ b lbl_80358750 +lbl_803586B4: +/* 803586B4 00355614 2C 00 00 05 */ cmpwi r0, 5 +/* 803586B8 00355618 41 82 00 0C */ beq lbl_803586C4 +/* 803586BC 0035561C 40 80 00 94 */ bge lbl_80358750 +/* 803586C0 00355620 48 00 00 34 */ b lbl_803586F4 +lbl_803586C4: +/* 803586C4 00355624 38 60 00 01 */ li r3, 1 +/* 803586C8 00355628 48 00 00 90 */ b lbl_80358758 +lbl_803586CC: +/* 803586CC 0035562C 38 80 00 05 */ li r4, 5 +/* 803586D0 00355630 4B FF FD D9 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803586D4 00355634 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803586D8 00355638 4B FE BF E5 */ bl CancelDMA__12CARAMManagerFUi +/* 803586DC 0035563C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803586E0 00355640 41 82 00 0C */ beq lbl_803586EC +/* 803586E4 00355644 7F E3 FB 78 */ mr r3, r31 +/* 803586E8 00355648 4B FF FE C1 */ bl RefreshStatus__10CARAMTokenFv +lbl_803586EC: +/* 803586EC 0035564C 38 60 00 01 */ li r3, 1 +/* 803586F0 00355650 48 00 00 68 */ b lbl_80358758 +lbl_803586F4: +/* 803586F4 00355654 38 80 00 02 */ li r4, 2 +/* 803586F8 00355658 4B FF FD B1 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803586FC 0035565C 48 00 00 54 */ b lbl_80358750 +lbl_80358700: +/* 80358700 00355660 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80358704 00355664 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80358708 00355668 40 82 00 3C */ bne lbl_80358744 +/* 8035870C 0035566C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358710 00355670 4B FE C5 19 */ bl Alloc__12CARAMManagerFUi +/* 80358714 00355674 90 7F 00 08 */ stw r3, 8(r31) +/* 80358718 00355678 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) +/* 8035871C 0035567C 80 9F 00 08 */ lwz r4, 8(r31) +/* 80358720 00355680 7C 00 20 40 */ cmplw r0, r4 +/* 80358724 00355684 40 82 00 0C */ bne lbl_80358730 +/* 80358728 00355688 38 60 00 00 */ li r3, 0 +/* 8035872C 0035568C 48 00 00 2C */ b lbl_80358758 +lbl_80358730: +/* 80358730 00355690 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358734 00355694 38 C0 00 01 */ li r6, 1 +/* 80358738 00355698 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8035873C 0035569C 4B FE C2 4D */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80358740 003556A0 90 7F 00 10 */ stw r3, 0x10(r31) +lbl_80358744: +/* 80358744 003556A4 7F E3 FB 78 */ mr r3, r31 +/* 80358748 003556A8 38 80 00 02 */ li r4, 2 +/* 8035874C 003556AC 4B FF FD 5D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +lbl_80358750: +/* 80358750 003556B0 7F E3 FB 78 */ mr r3, r31 +/* 80358754 003556B4 4B FF FE 55 */ bl RefreshStatus__10CARAMTokenFv +lbl_80358758: +/* 80358758 003556B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035875C 003556BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358760 003556C0 7C 08 03 A6 */ mtlr r0 +/* 80358764 003556C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358768 003556C8 4E 80 00 20 */ blr + +.global LoadToMRAM__10CARAMTokenFv +LoadToMRAM__10CARAMTokenFv: +/* 8035876C 003556CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358770 003556D0 7C 08 02 A6 */ mflr r0 +/* 80358774 003556D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358778 003556D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035877C 003556DC 7C 7F 1B 78 */ mr r31, r3 +/* 80358780 003556E0 80 03 00 00 */ lwz r0, 0(r3) +/* 80358784 003556E4 2C 00 00 03 */ cmpwi r0, 3 +/* 80358788 003556E8 41 82 00 D0 */ beq lbl_80358858 +/* 8035878C 003556EC 40 80 00 1C */ bge lbl_803587A8 +/* 80358790 003556F0 2C 00 00 01 */ cmpwi r0, 1 +/* 80358794 003556F4 41 82 00 20 */ beq lbl_803587B4 +/* 80358798 003556F8 40 80 00 24 */ bge lbl_803587BC +/* 8035879C 003556FC 2C 00 00 00 */ cmpwi r0, 0 +/* 803587A0 00355700 40 80 00 50 */ bge lbl_803587F0 +/* 803587A4 00355704 48 00 00 B4 */ b lbl_80358858 +lbl_803587A8: +/* 803587A8 00355708 2C 00 00 05 */ cmpwi r0, 5 +/* 803587AC 0035570C 41 82 00 38 */ beq lbl_803587E4 +/* 803587B0 00355710 40 80 00 A8 */ bge lbl_80358858 +lbl_803587B4: +/* 803587B4 00355714 38 60 00 01 */ li r3, 1 +/* 803587B8 00355718 48 00 00 A8 */ b lbl_80358860 +lbl_803587BC: +/* 803587BC 0035571C 38 80 00 04 */ li r4, 4 +/* 803587C0 00355720 4B FF FC E9 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803587C4 00355724 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803587C8 00355728 4B FE BE F5 */ bl CancelDMA__12CARAMManagerFUi +/* 803587CC 0035572C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803587D0 00355730 41 82 00 0C */ beq lbl_803587DC +/* 803587D4 00355734 7F E3 FB 78 */ mr r3, r31 +/* 803587D8 00355738 4B FF FD D1 */ bl RefreshStatus__10CARAMTokenFv +lbl_803587DC: +/* 803587DC 0035573C 38 60 00 01 */ li r3, 1 +/* 803587E0 00355740 48 00 00 80 */ b lbl_80358860 +lbl_803587E4: +/* 803587E4 00355744 38 80 00 03 */ li r4, 3 +/* 803587E8 00355748 4B FF FC C1 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803587EC 0035574C 48 00 00 6C */ b lbl_80358858 +lbl_803587F0: +/* 803587F0 00355750 3C 60 80 3E */ lis r3, lbl_803D8338@ha +/* 803587F4 00355754 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 803587F8 00355758 38 A3 83 38 */ addi r5, r3, lbl_803D8338@l +/* 803587FC 0035575C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80358800 00355760 38 61 00 08 */ addi r3, r1, 8 +/* 80358804 00355764 38 80 FF FF */ li r4, -1 +/* 80358808 00355768 4B F7 DB CD */ bl __ct__10CCallStackFUiPCcPCc +/* 8035880C 0035576C 7C 67 1B 78 */ mr r7, r3 +/* 80358810 00355770 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358814 00355774 38 80 00 02 */ li r4, 2 +/* 80358818 00355778 38 A0 00 01 */ li r5, 1 +/* 8035881C 0035577C 38 C0 00 00 */ li r6, 0 +/* 80358820 00355780 4B FB D1 75 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80358824 00355784 90 7F 00 04 */ stw r3, 4(r31) +/* 80358828 00355788 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035882C 0035578C 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80358830 00355790 48 02 62 55 */ bl DCInvalidateRange +/* 80358834 00355794 80 7F 00 08 */ lwz r3, 8(r31) +/* 80358838 00355798 38 C0 00 01 */ li r6, 1 +/* 8035883C 0035579C 80 9F 00 04 */ lwz r4, 4(r31) +/* 80358840 003557A0 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80358844 003557A4 4B FE C0 0D */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80358848 003557A8 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8035884C 003557AC 7F E3 FB 78 */ mr r3, r31 +/* 80358850 003557B0 38 80 00 03 */ li r4, 3 +/* 80358854 003557B4 4B FF FC 55 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +lbl_80358858: +/* 80358858 003557B8 7F E3 FB 78 */ mr r3, r31 +/* 8035885C 003557BC 4B FF FD 4D */ bl RefreshStatus__10CARAMTokenFv +lbl_80358860: +/* 80358860 003557C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358864 003557C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358868 003557C8 7C 08 03 A6 */ mtlr r0 +/* 8035886C 003557CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358870 003557D0 4E 80 00 20 */ blr + +.global __as__10CARAMTokenFRC10CARAMToken +__as__10CARAMTokenFRC10CARAMToken: +/* 80358874 003557D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358878 003557D8 7C 08 02 A6 */ mflr r0 +/* 8035887C 003557DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358880 003557E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358884 003557E4 7C 9F 23 78 */ mr r31, r4 +/* 80358888 003557E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035888C 003557EC 7C 7E 1B 78 */ mr r30, r3 +/* 80358890 003557F0 7C 1F F0 40 */ cmplw r31, r30 +/* 80358894 003557F4 40 82 00 08 */ bne lbl_8035889C +/* 80358898 003557F8 48 00 00 24 */ b lbl_803588BC +lbl_8035889C: +/* 8035889C 003557FC 38 80 FF FF */ li r4, -1 +/* 803588A0 00355800 48 00 00 A5 */ bl __dt__10CARAMTokenFv +/* 803588A4 00355804 28 1E 00 00 */ cmplwi r30, 0 +/* 803588A8 00355808 41 82 00 10 */ beq lbl_803588B8 +/* 803588AC 0035580C 7F C3 F3 78 */ mr r3, r30 +/* 803588B0 00355810 7F E4 FB 78 */ mr r4, r31 +/* 803588B4 00355814 48 00 01 19 */ bl __ct__10CARAMTokenFRC10CARAMToken +lbl_803588B8: +/* 803588B8 00355818 7F C3 F3 78 */ mr r3, r30 +lbl_803588BC: +/* 803588BC 0035581C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803588C0 00355820 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803588C4 00355824 83 C1 00 08 */ lwz r30, 8(r1) +/* 803588C8 00355828 7C 08 03 A6 */ mtlr r0 +/* 803588CC 0035582C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803588D0 00355830 4E 80 00 20 */ blr + +.global PostConstruct__10CARAMTokenFPvUi +PostConstruct__10CARAMTokenFPvUi: +/* 803588D4 00355834 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803588D8 00355838 7C 08 02 A6 */ mflr r0 +/* 803588DC 0035583C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803588E0 00355840 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803588E4 00355844 7C DF 33 78 */ mr r31, r6 +/* 803588E8 00355848 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803588EC 0035584C 7C BE 2B 78 */ mr r30, r5 +/* 803588F0 00355850 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803588F4 00355854 7C 9D 23 78 */ mr r29, r4 +/* 803588F8 00355858 38 80 00 01 */ li r4, 1 +/* 803588FC 0035585C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80358900 00355860 7C 7C 1B 78 */ mr r28, r3 +/* 80358904 00355864 4B FF FB A5 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 80358908 00355868 93 BC 00 04 */ stw r29, 4(r28) +/* 8035890C 0035586C 7F E0 00 34 */ cntlzw r0, r31 +/* 80358910 00355870 54 03 D9 7E */ srwi r3, r0, 5 +/* 80358914 00355874 93 DC 00 0C */ stw r30, 0xc(r28) +/* 80358918 00355878 88 1C 00 1C */ lbz r0, 0x1c(r28) +/* 8035891C 0035587C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80358920 00355880 98 1C 00 1C */ stb r0, 0x1c(r28) +/* 80358924 00355884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358928 00355888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035892C 0035588C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358930 00355890 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80358934 00355894 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358938 00355898 7C 08 03 A6 */ mtlr r0 +/* 8035893C 0035589C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358940 003558A0 4E 80 00 20 */ blr + +.global __dt__10CARAMTokenFv +__dt__10CARAMTokenFv: +/* 80358944 003558A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358948 003558A8 7C 08 02 A6 */ mflr r0 +/* 8035894C 003558AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358950 003558B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358954 003558B4 7C 9F 23 78 */ mr r31, r4 +/* 80358958 003558B8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035895C 003558BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80358960 003558C0 41 82 00 50 */ beq lbl_803589B0 +/* 80358964 003558C4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80358968 003558C8 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 8035896C 003558CC 7C 03 00 40 */ cmplw r3, r0 +/* 80358970 003558D0 41 82 00 18 */ beq lbl_80358988 +/* 80358974 003558D4 4B FE BD 49 */ bl CancelDMA__12CARAMManagerFUi +/* 80358978 003558D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035897C 003558DC 40 82 00 0C */ bne lbl_80358988 +/* 80358980 003558E0 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80358984 003558E4 4B FE BD C5 */ bl WaitForDMACompletion__12CARAMManagerFUi +lbl_80358988: +/* 80358988 003558E8 7F C3 F3 78 */ mr r3, r30 +/* 8035898C 003558EC 4B FF FA D5 */ bl RemoveFromList__10CARAMTokenFv +/* 80358990 003558F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80358994 003558F4 4B FB CF 9D */ bl Free__7CMemoryFPCv +/* 80358998 003558F8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8035899C 003558FC 4B FE C1 21 */ bl Free__12CARAMManagerFPCv +/* 803589A0 00355900 7F E0 07 35 */ extsh. r0, r31 +/* 803589A4 00355904 40 81 00 0C */ ble lbl_803589B0 +/* 803589A8 00355908 7F C3 F3 78 */ mr r3, r30 +/* 803589AC 0035590C 4B FB CF 85 */ bl Free__7CMemoryFPCv +lbl_803589B0: +/* 803589B0 00355910 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803589B4 00355914 7F C3 F3 78 */ mr r3, r30 +/* 803589B8 00355918 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803589BC 0035591C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803589C0 00355920 7C 08 03 A6 */ mtlr r0 +/* 803589C4 00355924 38 21 00 10 */ addi r1, r1, 0x10 +/* 803589C8 00355928 4E 80 00 20 */ blr + +.global __ct__10CARAMTokenFRC10CARAMToken +__ct__10CARAMTokenFRC10CARAMToken: +/* 803589CC 0035592C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803589D0 00355930 7C 08 02 A6 */ mflr r0 +/* 803589D4 00355934 90 01 00 14 */ stw r0, 0x14(r1) +/* 803589D8 00355938 38 00 00 00 */ li r0, 0 +/* 803589DC 0035593C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803589E0 00355940 7C 7F 1B 78 */ mr r31, r3 +/* 803589E4 00355944 7C 83 23 78 */ mr r3, r4 +/* 803589E8 00355948 80 A4 00 00 */ lwz r5, 0(r4) +/* 803589EC 0035594C 90 BF 00 00 */ stw r5, 0(r31) +/* 803589F0 00355950 80 A4 00 04 */ lwz r5, 4(r4) +/* 803589F4 00355954 90 BF 00 04 */ stw r5, 4(r31) +/* 803589F8 00355958 80 A4 00 08 */ lwz r5, 8(r4) +/* 803589FC 0035595C 90 BF 00 08 */ stw r5, 8(r31) +/* 80358A00 00355960 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 80358A04 00355964 90 BF 00 0C */ stw r5, 0xc(r31) +/* 80358A08 00355968 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 80358A0C 0035596C 90 BF 00 10 */ stw r5, 0x10(r31) +/* 80358A10 00355970 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80358A14 00355974 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80358A18 00355978 88 84 00 1C */ lbz r4, 0x1c(r4) +/* 80358A1C 0035597C 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80358A20 00355980 50 80 06 30 */ rlwimi r0, r4, 0, 0x18, 0x18 +/* 80358A24 00355984 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 80358A28 00355988 4B FF F9 ED */ bl MakeInvalid__10CARAMTokenFv +/* 80358A2C 0035598C 7F E3 FB 78 */ mr r3, r31 +/* 80358A30 00355990 4B FF FA C9 */ bl InitiallyMoveToList__10CARAMTokenFv +/* 80358A34 00355994 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358A38 00355998 7F E3 FB 78 */ mr r3, r31 +/* 80358A3C 0035599C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358A40 003559A0 7C 08 03 A6 */ mtlr r0 +/* 80358A44 003559A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358A48 003559A8 4E 80 00 20 */ blr + +.global __ct__10CARAMTokenFPvUi +__ct__10CARAMTokenFPvUi: +/* 80358A4C 003559AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358A50 003559B0 7C 08 02 A6 */ mflr r0 +/* 80358A54 003559B4 80 E2 CB A8 */ lwz r7, lbl_805AE8C8@sda21(r2) +/* 80358A58 003559B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358A5C 003559BC 38 00 00 01 */ li r0, 1 +/* 80358A60 003559C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358A64 003559C4 7C 7F 1B 78 */ mr r31, r3 +/* 80358A68 003559C8 90 03 00 00 */ stw r0, 0(r3) +/* 80358A6C 003559CC 7C C0 00 34 */ cntlzw r0, r6 +/* 80358A70 003559D0 38 C0 00 00 */ li r6, 0 +/* 80358A74 003559D4 90 83 00 04 */ stw r4, 4(r3) +/* 80358A78 003559D8 54 04 D9 7E */ srwi r4, r0, 5 +/* 80358A7C 003559DC 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358A80 003559E0 90 E3 00 08 */ stw r7, 8(r3) +/* 80358A84 003559E4 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80358A88 003559E8 90 03 00 10 */ stw r0, 0x10(r3) +/* 80358A8C 003559EC 90 C3 00 14 */ stw r6, 0x14(r3) +/* 80358A90 003559F0 90 C3 00 18 */ stw r6, 0x18(r3) +/* 80358A94 003559F4 88 03 00 1C */ lbz r0, 0x1c(r3) +/* 80358A98 003559F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80358A9C 003559FC 98 03 00 1C */ stb r0, 0x1c(r3) +/* 80358AA0 00355A00 4B FF FA 59 */ bl InitiallyMoveToList__10CARAMTokenFv +/* 80358AA4 00355A04 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80358AA8 00355A08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80358AAC 00355A0C 41 82 00 38 */ beq lbl_80358AE4 +/* 80358AB0 00355A10 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358AB4 00355A14 4B FE C1 75 */ bl Alloc__12CARAMManagerFUi +/* 80358AB8 00355A18 90 7F 00 08 */ stw r3, 8(r31) +/* 80358ABC 00355A1C 38 C0 00 01 */ li r6, 1 +/* 80358AC0 00355A20 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358AC4 00355A24 80 9F 00 08 */ lwz r4, 8(r31) +/* 80358AC8 00355A28 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80358ACC 00355A2C 4B FE BE BD */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80358AD0 00355A30 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80358AD4 00355A34 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 80358AD8 00355A38 4B FE BC 71 */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 80358ADC 00355A3C 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358AE0 00355A40 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_80358AE4: +/* 80358AE4 00355A44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358AE8 00355A48 7F E3 FB 78 */ mr r3, r31 +/* 80358AEC 00355A4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358AF0 00355A50 7C 08 03 A6 */ mtlr r0 +/* 80358AF4 00355A54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358AF8 00355A58 4E 80 00 20 */ blr + +.global __ct__10CARAMTokenFv +__ct__10CARAMTokenFv: +/* 80358AFC 00355A5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358B00 00355A60 7C 08 02 A6 */ mflr r0 +/* 80358B04 00355A64 38 A0 00 00 */ li r5, 0 +/* 80358B08 00355A68 80 82 CB A8 */ lwz r4, lbl_805AE8C8@sda21(r2) +/* 80358B0C 00355A6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358B10 00355A70 38 00 00 06 */ li r0, 6 +/* 80358B14 00355A74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358B18 00355A78 7C 7F 1B 78 */ mr r31, r3 +/* 80358B1C 00355A7C 90 03 00 00 */ stw r0, 0(r3) +/* 80358B20 00355A80 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358B24 00355A84 90 A3 00 04 */ stw r5, 4(r3) +/* 80358B28 00355A88 90 83 00 08 */ stw r4, 8(r3) +/* 80358B2C 00355A8C 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80358B30 00355A90 90 03 00 10 */ stw r0, 0x10(r3) +/* 80358B34 00355A94 90 A3 00 14 */ stw r5, 0x14(r3) +/* 80358B38 00355A98 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80358B3C 00355A9C 88 03 00 1C */ lbz r0, 0x1c(r3) +/* 80358B40 00355AA0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80358B44 00355AA4 98 03 00 1C */ stb r0, 0x1c(r3) +/* 80358B48 00355AA8 4B FF F9 B1 */ bl InitiallyMoveToList__10CARAMTokenFv +/* 80358B4C 00355AAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358B50 00355AB0 7F E3 FB 78 */ mr r3, r31 +/* 80358B54 00355AB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358B58 00355AB8 7C 08 03 A6 */ mtlr r0 +/* 80358B5C 00355ABC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358B60 00355AC0 4E 80 00 20 */ blr + +.global FMidiDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FMidiDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80358B64 00355AC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358B68 00355AC8 7C 08 02 A6 */ mflr r0 +/* 80358B6C 00355ACC 3C 80 80 3E */ lis r4, lbl_803D8340@ha +/* 80358B70 00355AD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358B74 00355AD4 38 84 83 40 */ addi r4, r4, lbl_803D8340@l +/* 80358B78 00355AD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358B7C 00355ADC 7C BF 2B 78 */ mr r31, r5 +/* 80358B80 00355AE0 38 A0 00 00 */ li r5, 0 +/* 80358B84 00355AE4 93 C1 00 08 */ stw r30, 8(r1) +/* 80358B88 00355AE8 7C 7E 1B 78 */ mr r30, r3 +/* 80358B8C 00355AEC 38 60 00 10 */ li r3, 0x10 +/* 80358B90 00355AF0 4B FB CC DD */ bl __nw__FUlPCcPCc +/* 80358B94 00355AF4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80358B98 00355AF8 41 82 00 10 */ beq lbl_80358BA8 +/* 80358B9C 00355AFC 7F E4 FB 78 */ mr r4, r31 +/* 80358BA0 00355B00 48 00 02 85 */ bl __ct__Q212CMidiManager9CMidiDataFR12CInputStream +/* 80358BA4 00355B04 7C 64 1B 78 */ mr r4, r3 +lbl_80358BA8: +/* 80358BA8 00355B08 7F C3 F3 78 */ mr r3, r30 +/* 80358BAC 00355B0C 48 00 00 1D */ bl "__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData" +/* 80358BB0 00355B10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358BB4 00355B14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358BB8 00355B18 83 C1 00 08 */ lwz r30, 8(r1) +/* 80358BBC 00355B1C 7C 08 03 A6 */ mtlr r0 +/* 80358BC0 00355B20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358BC4 00355B24 4E 80 00 20 */ blr + +.global "__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData" +"__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData": +/* 80358BC8 00355B28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358BCC 00355B2C 7C 08 02 A6 */ mflr r0 +/* 80358BD0 00355B30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358BD4 00355B34 7C 04 00 D0 */ neg r0, r4 +/* 80358BD8 00355B38 7C 00 23 78 */ or r0, r0, r4 +/* 80358BDC 00355B3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358BE0 00355B40 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80358BE4 00355B44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358BE8 00355B48 7C 7E 1B 78 */ mr r30, r3 +/* 80358BEC 00355B4C 38 61 00 08 */ addi r3, r1, 8 +/* 80358BF0 00355B50 90 81 00 14 */ stw r4, 0x14(r1) +/* 80358BF4 00355B54 38 81 00 10 */ addi r4, r1, 0x10 +/* 80358BF8 00355B58 98 01 00 10 */ stb r0, 0x10(r1) +/* 80358BFC 00355B5C 48 00 01 61 */ bl "GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr" +/* 80358C00 00355B60 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358C04 00355B64 38 00 00 00 */ li r0, 0 +/* 80358C08 00355B68 98 01 00 08 */ stb r0, 8(r1) +/* 80358C0C 00355B6C 7C 03 00 D0 */ neg r0, r3 +/* 80358C10 00355B70 7C 00 1B 78 */ or r0, r0, r3 +/* 80358C14 00355B74 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80358C18 00355B78 98 1E 00 00 */ stb r0, 0(r30) +/* 80358C1C 00355B7C 90 7E 00 04 */ stw r3, 4(r30) +/* 80358C20 00355B80 88 01 00 08 */ lbz r0, 8(r1) +/* 80358C24 00355B84 28 00 00 00 */ cmplwi r0, 0 +/* 80358C28 00355B88 41 82 00 24 */ beq lbl_80358C4C +/* 80358C2C 00355B8C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358C30 00355B90 28 03 00 00 */ cmplwi r3, 0 +/* 80358C34 00355B94 41 82 00 18 */ beq lbl_80358C4C +/* 80358C38 00355B98 81 83 00 00 */ lwz r12, 0(r3) +/* 80358C3C 00355B9C 38 80 00 01 */ li r4, 1 +/* 80358C40 00355BA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80358C44 00355BA4 7D 89 03 A6 */ mtctr r12 +/* 80358C48 00355BA8 4E 80 04 21 */ bctrl +lbl_80358C4C: +/* 80358C4C 00355BAC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80358C50 00355BB0 28 00 00 00 */ cmplwi r0, 0 +/* 80358C54 00355BB4 41 82 00 34 */ beq lbl_80358C88 +/* 80358C58 00355BB8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80358C5C 00355BBC 28 1F 00 00 */ cmplwi r31, 0 +/* 80358C60 00355BC0 41 82 00 28 */ beq lbl_80358C88 +/* 80358C64 00355BC4 34 1F 00 08 */ addic. r0, r31, 8 +/* 80358C68 00355BC8 41 82 00 18 */ beq lbl_80358C80 +/* 80358C6C 00355BCC 88 1F 00 08 */ lbz r0, 8(r31) +/* 80358C70 00355BD0 28 00 00 00 */ cmplwi r0, 0 +/* 80358C74 00355BD4 41 82 00 0C */ beq lbl_80358C80 +/* 80358C78 00355BD8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358C7C 00355BDC 4B FB CC B5 */ bl Free__7CMemoryFPCv +lbl_80358C80: +/* 80358C80 00355BE0 7F E3 FB 78 */ mr r3, r31 +/* 80358C84 00355BE4 4B FB CC AD */ bl Free__7CMemoryFPCv +lbl_80358C88: +/* 80358C88 00355BE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358C8C 00355BEC 7F C3 F3 78 */ mr r3, r30 +/* 80358C90 00355BF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358C94 00355BF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358C98 00355BF8 7C 08 03 A6 */ mtlr r0 +/* 80358C9C 00355BFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358CA0 00355C00 4E 80 00 20 */ blr + +.global __dt__15CEmitterElementFv +__dt__15CEmitterElementFv: +/* 80358CA4 00355C04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358CA8 00355C08 7C 08 02 A6 */ mflr r0 +/* 80358CAC 00355C0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358CB0 00355C10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358CB4 00355C14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358CB8 00355C18 7C 9E 23 78 */ mr r30, r4 +/* 80358CBC 00355C1C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80358CC0 00355C20 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80358CC4 00355C24 41 82 00 78 */ beq lbl_80358D3C +/* 80358CC8 00355C28 3C 60 80 3F */ lis r3, lbl_803EF788@ha +/* 80358CCC 00355C2C 38 03 F7 88 */ addi r0, r3, lbl_803EF788@l +/* 80358CD0 00355C30 90 1D 00 00 */ stw r0, 0(r29) +/* 80358CD4 00355C34 83 FD 00 04 */ lwz r31, 4(r29) +/* 80358CD8 00355C38 28 1F 00 00 */ cmplwi r31, 0 +/* 80358CDC 00355C3C 41 82 00 2C */ beq lbl_80358D08 +/* 80358CE0 00355C40 41 82 00 28 */ beq lbl_80358D08 +/* 80358CE4 00355C44 34 1F 00 08 */ addic. r0, r31, 8 +/* 80358CE8 00355C48 41 82 00 18 */ beq lbl_80358D00 +/* 80358CEC 00355C4C 88 1F 00 08 */ lbz r0, 8(r31) +/* 80358CF0 00355C50 28 00 00 00 */ cmplwi r0, 0 +/* 80358CF4 00355C54 41 82 00 0C */ beq lbl_80358D00 +/* 80358CF8 00355C58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358CFC 00355C5C 4B FB CC 35 */ bl Free__7CMemoryFPCv +lbl_80358D00: +/* 80358D00 00355C60 7F E3 FB 78 */ mr r3, r31 +/* 80358D04 00355C64 4B FB CC 2D */ bl Free__7CMemoryFPCv +lbl_80358D08: +/* 80358D08 00355C68 28 1D 00 00 */ cmplwi r29, 0 +/* 80358D0C 00355C6C 41 82 00 20 */ beq lbl_80358D2C +/* 80358D10 00355C70 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80358D14 00355C74 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80358D18 00355C78 90 1D 00 00 */ stw r0, 0(r29) +/* 80358D1C 00355C7C 41 82 00 10 */ beq lbl_80358D2C +/* 80358D20 00355C80 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80358D24 00355C84 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80358D28 00355C88 90 1D 00 00 */ stw r0, 0(r29) +lbl_80358D2C: +/* 80358D2C 00355C8C 7F C0 07 35 */ extsh. r0, r30 +/* 80358D30 00355C90 40 81 00 0C */ ble lbl_80358D3C +/* 80358D34 00355C94 7F A3 EB 78 */ mr r3, r29 +/* 80358D38 00355C98 4B FB CB F9 */ bl Free__7CMemoryFPCv +lbl_80358D3C: +/* 80358D3C 00355C9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358D40 00355CA0 7F A3 EB 78 */ mr r3, r29 +/* 80358D44 00355CA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358D48 00355CA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358D4C 00355CAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358D50 00355CB0 7C 08 03 A6 */ mtlr r0 +/* 80358D54 00355CB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358D58 00355CB8 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr" +"GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr": +/* 80358D5C 00355CBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358D60 00355CC0 7C 08 02 A6 */ mflr r0 +/* 80358D64 00355CC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358D68 00355CC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358D6C 00355CCC 7C 7F 1B 78 */ mr r31, r3 +/* 80358D70 00355CD0 48 00 00 19 */ bl "GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr" +/* 80358D74 00355CD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358D78 00355CD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358D7C 00355CDC 7C 08 03 A6 */ mtlr r0 +/* 80358D80 00355CE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358D84 00355CE4 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr" +"GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr": +/* 80358D88 00355CE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358D8C 00355CEC 7C 08 02 A6 */ mflr r0 +/* 80358D90 00355CF0 3C A0 80 3E */ lis r5, lbl_803D8340@ha +/* 80358D94 00355CF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358D98 00355CF8 38 05 83 40 */ addi r0, r5, lbl_803D8340@l +/* 80358D9C 00355CFC 38 A0 00 00 */ li r5, 0 +/* 80358DA0 00355D00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358DA4 00355D04 7C 9F 23 78 */ mr r31, r4 +/* 80358DA8 00355D08 7C 04 03 78 */ mr r4, r0 +/* 80358DAC 00355D0C 93 C1 00 08 */ stw r30, 8(r1) +/* 80358DB0 00355D10 7C 7E 1B 78 */ mr r30, r3 +/* 80358DB4 00355D14 38 60 00 08 */ li r3, 8 +/* 80358DB8 00355D18 4B FB CA B5 */ bl __nw__FUlPCcPCc +/* 80358DBC 00355D1C 28 03 00 00 */ cmplwi r3, 0 +/* 80358DC0 00355D20 41 82 00 38 */ beq lbl_80358DF8 +/* 80358DC4 00355D24 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80358DC8 00355D28 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80358DCC 00355D2C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80358DD0 00355D30 3C 80 80 3F */ lis r4, lbl_803EF788@ha +/* 80358DD4 00355D34 90 03 00 00 */ stw r0, 0(r3) +/* 80358DD8 00355D38 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80358DDC 00355D3C 38 A0 00 00 */ li r5, 0 +/* 80358DE0 00355D40 38 04 F7 88 */ addi r0, r4, lbl_803EF788@l +/* 80358DE4 00355D44 90 C3 00 00 */ stw r6, 0(r3) +/* 80358DE8 00355D48 98 BF 00 00 */ stb r5, 0(r31) +/* 80358DEC 00355D4C 80 9F 00 04 */ lwz r4, 4(r31) +/* 80358DF0 00355D50 90 83 00 04 */ stw r4, 4(r3) +/* 80358DF4 00355D54 90 03 00 00 */ stw r0, 0(r3) +lbl_80358DF8: +/* 80358DF8 00355D58 7C 03 00 D0 */ neg r0, r3 +/* 80358DFC 00355D5C 7C 00 1B 78 */ or r0, r0, r3 +/* 80358E00 00355D60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80358E04 00355D64 98 1E 00 00 */ stb r0, 0(r30) +/* 80358E08 00355D68 90 7E 00 04 */ stw r3, 4(r30) +/* 80358E0C 00355D6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358E10 00355D70 83 C1 00 08 */ lwz r30, 8(r1) +/* 80358E14 00355D74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358E18 00355D78 7C 08 03 A6 */ mtlr r0 +/* 80358E1C 00355D7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358E20 00355D80 4E 80 00 20 */ blr + +.global __ct__Q212CMidiManager9CMidiDataFR12CInputStream +__ct__Q212CMidiManager9CMidiDataFR12CInputStream: +/* 80358E24 00355D84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358E28 00355D88 7C 08 02 A6 */ mflr r0 +/* 80358E2C 00355D8C 38 A0 FF FF */ li r5, -1 +/* 80358E30 00355D90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358E34 00355D94 38 00 00 00 */ li r0, 0 +/* 80358E38 00355D98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358E3C 00355D9C 7C 9F 23 78 */ mr r31, r4 +/* 80358E40 00355DA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358E44 00355DA4 7C 7E 1B 78 */ mr r30, r3 +/* 80358E48 00355DA8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80358E4C 00355DAC B0 A3 00 00 */ sth r5, 0(r3) +/* 80358E50 00355DB0 B0 A3 00 02 */ sth r5, 2(r3) +/* 80358E54 00355DB4 7F E3 FB 78 */ mr r3, r31 +/* 80358E58 00355DB8 90 BE 00 04 */ stw r5, 4(r30) +/* 80358E5C 00355DBC 98 1E 00 08 */ stb r0, 8(r30) +/* 80358E60 00355DC0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80358E64 00355DC4 4B FE 5E 21 */ bl ReadLong__12CInputStreamFv +/* 80358E68 00355DC8 7F E3 FB 78 */ mr r3, r31 +/* 80358E6C 00355DCC 4B FE 5E 19 */ bl ReadLong__12CInputStreamFv +/* 80358E70 00355DD0 B0 7E 00 00 */ sth r3, 0(r30) +/* 80358E74 00355DD4 7F E3 FB 78 */ mr r3, r31 +/* 80358E78 00355DD8 4B FE 5E 0D */ bl ReadLong__12CInputStreamFv +/* 80358E7C 00355DDC B0 7E 00 02 */ sth r3, 2(r30) +/* 80358E80 00355DE0 7F E3 FB 78 */ mr r3, r31 +/* 80358E84 00355DE4 4B FE 5E 01 */ bl ReadLong__12CInputStreamFv +/* 80358E88 00355DE8 90 7E 00 04 */ stw r3, 4(r30) +/* 80358E8C 00355DEC 7F E3 FB 78 */ mr r3, r31 +/* 80358E90 00355DF0 4B FE 5D F5 */ bl ReadLong__12CInputStreamFv +/* 80358E94 00355DF4 3C 80 80 3E */ lis r4, lbl_803D8340@ha +/* 80358E98 00355DF8 7C 7D 1B 78 */ mr r29, r3 +/* 80358E9C 00355DFC 38 A0 00 00 */ li r5, 0 +/* 80358EA0 00355E00 38 84 83 40 */ addi r4, r4, lbl_803D8340@l +/* 80358EA4 00355E04 4B FB C9 75 */ bl __nwa__FUlPCcPCc +/* 80358EA8 00355E08 7C 83 00 D0 */ neg r4, r3 +/* 80358EAC 00355E0C 38 01 00 08 */ addi r0, r1, 8 +/* 80358EB0 00355E10 7C 84 1B 78 */ or r4, r4, r3 +/* 80358EB4 00355E14 38 BE 00 08 */ addi r5, r30, 8 +/* 80358EB8 00355E18 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80358EBC 00355E1C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80358EC0 00355E20 7C 00 28 40 */ cmplw r0, r5 +/* 80358EC4 00355E24 98 81 00 08 */ stb r4, 8(r1) +/* 80358EC8 00355E28 41 82 00 30 */ beq lbl_80358EF8 +/* 80358ECC 00355E2C 88 05 00 00 */ lbz r0, 0(r5) +/* 80358ED0 00355E30 28 00 00 00 */ cmplwi r0, 0 +/* 80358ED4 00355E34 41 82 00 0C */ beq lbl_80358EE0 +/* 80358ED8 00355E38 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80358EDC 00355E3C 4B FB CA 55 */ bl Free__7CMemoryFPCv +lbl_80358EE0: +/* 80358EE0 00355E40 88 61 00 08 */ lbz r3, 8(r1) +/* 80358EE4 00355E44 38 00 00 00 */ li r0, 0 +/* 80358EE8 00355E48 98 7E 00 08 */ stb r3, 8(r30) +/* 80358EEC 00355E4C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358EF0 00355E50 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80358EF4 00355E54 98 01 00 08 */ stb r0, 8(r1) +lbl_80358EF8: +/* 80358EF8 00355E58 88 01 00 08 */ lbz r0, 8(r1) +/* 80358EFC 00355E5C 28 00 00 00 */ cmplwi r0, 0 +/* 80358F00 00355E60 41 82 00 0C */ beq lbl_80358F0C +/* 80358F04 00355E64 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358F08 00355E68 4B FB CA 29 */ bl Free__7CMemoryFPCv +lbl_80358F0C: +/* 80358F0C 00355E6C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80358F10 00355E70 7F E3 FB 78 */ mr r3, r31 +/* 80358F14 00355E74 7F A5 EB 78 */ mr r5, r29 +/* 80358F18 00355E78 4B FE 60 3D */ bl Get__12CInputStreamFPvUl +/* 80358F1C 00355E7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358F20 00355E80 7F C3 F3 78 */ mr r3, r30 +/* 80358F24 00355E84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358F28 00355E88 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358F2C 00355E8C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358F30 00355E90 7C 08 03 A6 */ mtlr r0 +/* 80358F34 00355E94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358F38 00355E98 4E 80 00 20 */ blr + +.global LocateHandle__12CMidiManagerFv +LocateHandle__12CMidiManagerFv: +/* 80358F3C 00355E9C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80358F40 00355EA0 7C 08 02 A6 */ mflr r0 +/* 80358F44 00355EA4 3C 80 80 5A */ lis r4, lbl_805A6828@ha +/* 80358F48 00355EA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80358F4C 00355EAC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80358F50 00355EB0 3B C4 68 28 */ addi r30, r4, lbl_805A6828@l +/* 80358F54 00355EB4 3B 9E 00 04 */ addi r28, r30, 4 +/* 80358F58 00355EB8 7C 7F 1B 78 */ mr r31, r3 +/* 80358F5C 00355EBC 3B 60 00 00 */ li r27, 0 +/* 80358F60 00355EC0 7F 9D E3 78 */ mr r29, r28 +/* 80358F64 00355EC4 48 00 00 2C */ b lbl_80358F90 +lbl_80358F68: +/* 80358F68 00355EC8 7F A3 EB 78 */ mr r3, r29 +/* 80358F6C 00355ECC 48 00 03 D1 */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv +/* 80358F70 00355ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80358F74 00355ED4 41 82 00 14 */ beq lbl_80358F88 +/* 80358F78 00355ED8 7F E3 FB 78 */ mr r3, r31 +/* 80358F7C 00355EDC 7F 64 DB 78 */ mr r4, r27 +/* 80358F80 00355EE0 4B F8 E8 ED */ bl __ct__10CSfxHandleFUi +/* 80358F84 00355EE4 48 00 00 88 */ b lbl_8035900C +lbl_80358F88: +/* 80358F88 00355EE8 3B BD 00 0C */ addi r29, r29, 0xc +/* 80358F8C 00355EEC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80358F90: +/* 80358F90 00355EF0 80 1E 00 00 */ lwz r0, 0(r30) +/* 80358F94 00355EF4 7C 1B 00 00 */ cmpw r27, r0 +/* 80358F98 00355EF8 41 80 FF D0 */ blt lbl_80358F68 +/* 80358F9C 00355EFC 2C 00 00 03 */ cmpwi r0, 3 +/* 80358FA0 00355F00 40 82 00 10 */ bne lbl_80358FB0 +/* 80358FA4 00355F04 38 00 00 00 */ li r0, 0 +/* 80358FA8 00355F08 90 1F 00 00 */ stw r0, 0(r31) +/* 80358FAC 00355F0C 48 00 00 60 */ b lbl_8035900C +lbl_80358FB0: +/* 80358FB0 00355F10 38 61 00 08 */ addi r3, r1, 8 +/* 80358FB4 00355F14 48 00 03 A1 */ bl __ct__Q212CMidiManager12CMidiWrapperFv +/* 80358FB8 00355F18 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 80358FBC 00355F1C 80 03 68 28 */ lwz r0, lbl_805A6828@l(r3) +/* 80358FC0 00355F20 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80358FC4 00355F24 7C 9C 02 15 */ add. r4, r28, r0 +/* 80358FC8 00355F28 41 82 00 24 */ beq lbl_80358FEC +/* 80358FCC 00355F2C 80 61 00 08 */ lwz r3, 8(r1) +/* 80358FD0 00355F30 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80358FD4 00355F34 90 64 00 00 */ stw r3, 0(r4) +/* 80358FD8 00355F38 A8 61 00 10 */ lha r3, 0x10(r1) +/* 80358FDC 00355F3C 90 04 00 04 */ stw r0, 4(r4) +/* 80358FE0 00355F40 88 01 00 12 */ lbz r0, 0x12(r1) +/* 80358FE4 00355F44 B0 64 00 08 */ sth r3, 8(r4) +/* 80358FE8 00355F48 98 04 00 0A */ stb r0, 0xa(r4) +lbl_80358FEC: +/* 80358FEC 00355F4C 3C 80 80 5A */ lis r4, lbl_805A6828@ha +/* 80358FF0 00355F50 7F E3 FB 78 */ mr r3, r31 +/* 80358FF4 00355F54 38 A4 68 28 */ addi r5, r4, lbl_805A6828@l +/* 80358FF8 00355F58 80 85 00 00 */ lwz r4, 0(r5) +/* 80358FFC 00355F5C 38 84 00 01 */ addi r4, r4, 1 +/* 80359000 00355F60 90 85 00 00 */ stw r4, 0(r5) +/* 80359004 00355F64 38 84 FF FF */ addi r4, r4, -1 +/* 80359008 00355F68 4B F8 E8 65 */ bl __ct__10CSfxHandleFUi +lbl_8035900C: +/* 8035900C 00355F6C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80359010 00355F70 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80359014 00355F74 7C 08 03 A6 */ mtlr r0 +/* 80359018 00355F78 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035901C 00355F7C 4E 80 00 20 */ blr + +.global StopAll__12CMidiManagerFv +StopAll__12CMidiManagerFv: +/* 80359020 00355F80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80359024 00355F84 7C 08 02 A6 */ mflr r0 +/* 80359028 00355F88 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 8035902C 00355F8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80359030 00355F90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80359034 00355F94 3B E3 68 28 */ addi r31, r3, lbl_805A6828@l +/* 80359038 00355F98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035903C 00355F9C 3B DF 00 04 */ addi r30, r31, 4 +/* 80359040 00355FA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80359044 00355FA4 3B A0 00 00 */ li r29, 0 +/* 80359048 00355FA8 48 00 00 2C */ b lbl_80359074 +lbl_8035904C: +/* 8035904C 00355FAC 7F C3 F3 78 */ mr r3, r30 +/* 80359050 00355FB0 48 00 02 ED */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv +/* 80359054 00355FB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80359058 00355FB8 40 82 00 14 */ bne lbl_8035906C +/* 8035905C 00355FBC 7F C3 F3 78 */ mr r3, r30 +/* 80359060 00355FC0 48 00 02 ED */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359064 00355FC4 38 80 00 00 */ li r4, 0 +/* 80359068 00355FC8 48 00 00 35 */ bl Stop__12CMidiManagerFRC10CSfxHandleUs +lbl_8035906C: +/* 8035906C 00355FCC 3B DE 00 0C */ addi r30, r30, 0xc +/* 80359070 00355FD0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80359074: +/* 80359074 00355FD4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80359078 00355FD8 7C 1D 00 00 */ cmpw r29, r0 +/* 8035907C 00355FDC 41 80 FF D0 */ blt lbl_8035904C +/* 80359080 00355FE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359084 00355FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80359088 00355FE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035908C 00355FEC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80359090 00355FF0 7C 08 03 A6 */ mtlr r0 +/* 80359094 00355FF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359098 00355FF8 4E 80 00 20 */ blr + +.global Stop__12CMidiManagerFRC10CSfxHandleUs +Stop__12CMidiManagerFRC10CSfxHandleUs: +/* 8035909C 00355FFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803590A0 00356000 7C 08 02 A6 */ mflr r0 +/* 803590A4 00356004 90 01 00 24 */ stw r0, 0x24(r1) +/* 803590A8 00356008 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803590AC 0035600C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803590B0 00356010 7C 9E 23 78 */ mr r30, r4 +/* 803590B4 00356014 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803590B8 00356018 7C 7D 1B 78 */ mr r29, r3 +/* 803590BC 0035601C 80 03 00 00 */ lwz r0, 0(r3) +/* 803590C0 00356020 28 00 00 00 */ cmplwi r0, 0 +/* 803590C4 00356024 41 82 00 7C */ beq lbl_80359140 +/* 803590C8 00356028 54 00 05 3E */ clrlwi r0, r0, 0x14 +/* 803590CC 0035602C 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 803590D0 00356030 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803590D4 00356034 38 63 68 28 */ addi r3, r3, lbl_805A6828@l +/* 803590D8 00356038 3B E3 00 04 */ addi r31, r3, 4 +/* 803590DC 0035603C 7C 7F 02 14 */ add r3, r31, r0 +/* 803590E0 00356040 48 00 02 6D */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +/* 803590E4 00356044 80 9D 00 00 */ lwz r4, 0(r29) +/* 803590E8 00356048 80 03 00 00 */ lwz r0, 0(r3) +/* 803590EC 0035604C 7C 04 00 40 */ cmplw r4, r0 +/* 803590F0 00356050 40 82 00 50 */ bne lbl_80359140 +/* 803590F4 00356054 54 80 05 3E */ clrlwi r0, r4, 0x14 +/* 803590F8 00356058 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803590FC 0035605C 7C 7F 02 14 */ add r3, r31, r0 +/* 80359100 00356060 48 00 02 45 */ bl GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359104 00356064 57 C0 04 3F */ clrlwi. r0, r30, 0x10 +/* 80359108 00356068 7C 65 1B 78 */ mr r5, r3 +/* 8035910C 0035606C 40 82 00 0C */ bne lbl_80359118 +/* 80359110 00356070 4B FF 17 F9 */ bl SeqStop__9CAudioSysFUl +/* 80359114 00356074 48 00 00 14 */ b lbl_80359128 +lbl_80359118: +/* 80359118 00356078 7F C4 F3 78 */ mr r4, r30 +/* 8035911C 0035607C 38 60 00 00 */ li r3, 0 +/* 80359120 00356080 38 C0 00 01 */ li r6, 1 +/* 80359124 00356084 4B FF 17 B9 */ bl SeqVolume__9CAudioSysFUcUsUlUc +lbl_80359128: +/* 80359128 00356088 80 1D 00 00 */ lwz r0, 0(r29) +/* 8035912C 0035608C 38 80 00 01 */ li r4, 1 +/* 80359130 00356090 54 00 05 3E */ clrlwi r0, r0, 0x14 +/* 80359134 00356094 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80359138 00356098 7C 7F 02 14 */ add r3, r31, r0 +/* 8035913C 0035609C 48 00 01 F1 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb +lbl_80359140: +/* 80359140 003560A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359144 003560A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80359148 003560A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035914C 003560AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80359150 003560B0 7C 08 03 A6 */ mtlr r0 +/* 80359154 003560B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359158 003560B8 4E 80 00 20 */ blr + +.global Play__12CMidiManagerFRCQ212CMidiManager9CMidiDataUsbs +Play__12CMidiManagerFRCQ212CMidiManager9CMidiDataUsbs: +/* 8035915C 003560BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80359160 003560C0 7C 08 02 A6 */ mflr r0 +/* 80359164 003560C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80359168 003560C8 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 8035916C 003560CC 7C 79 1B 78 */ mr r25, r3 +/* 80359170 003560D0 7C 9A 23 78 */ mr r26, r4 +/* 80359174 003560D4 7C BB 2B 78 */ mr r27, r5 +/* 80359178 003560D8 7C D5 33 78 */ mr r21, r6 +/* 8035917C 003560DC 7C FC 3B 78 */ mr r28, r7 +/* 80359180 003560E0 38 61 00 08 */ addi r3, r1, 8 +/* 80359184 003560E4 3B C0 00 00 */ li r30, 0 +/* 80359188 003560E8 3B A0 00 00 */ li r29, 0 +/* 8035918C 003560EC 4B FF FD B1 */ bl LocateHandle__12CMidiManagerFv +/* 80359190 003560F0 80 01 00 08 */ lwz r0, 8(r1) +/* 80359194 003560F4 28 00 00 00 */ cmplwi r0, 0 +/* 80359198 003560F8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035919C 003560FC 40 82 00 10 */ bne lbl_803591AC +/* 803591A0 00356100 38 00 00 00 */ li r0, 0 +/* 803591A4 00356104 90 19 00 00 */ stw r0, 0(r25) +/* 803591A8 00356108 48 00 01 54 */ b lbl_803592FC +lbl_803591AC: +/* 803591AC 0035610C 54 00 05 3E */ clrlwi r0, r0, 0x14 +/* 803591B0 00356110 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 803591B4 00356114 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803591B8 00356118 38 80 00 00 */ li r4, 0 +/* 803591BC 0035611C 38 63 68 28 */ addi r3, r3, lbl_805A6828@l +/* 803591C0 00356120 3A C3 00 04 */ addi r22, r3, 4 +/* 803591C4 00356124 7F F6 02 14 */ add r31, r22, r0 +/* 803591C8 00356128 7F E3 FB 78 */ mr r3, r31 +/* 803591CC 0035612C 48 00 01 61 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb +/* 803591D0 00356130 7F E3 FB 78 */ mr r3, r31 +/* 803591D4 00356134 38 81 00 0C */ addi r4, r1, 0xc +/* 803591D8 00356138 48 00 01 41 */ bl SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle +/* 803591DC 0035613C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 803591E0 00356140 41 82 00 84 */ beq lbl_80359264 +/* 803591E4 00356144 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 803591E8 00356148 3A A0 00 00 */ li r21, 0 +/* 803591EC 0035614C 3B 03 68 28 */ addi r24, r3, lbl_805A6828@l +/* 803591F0 00356150 48 00 00 68 */ b lbl_80359258 +lbl_803591F4: +/* 803591F4 00356154 7E C3 B3 78 */ mr r3, r22 +/* 803591F8 00356158 48 00 01 45 */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv +/* 803591FC 0035615C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80359200 00356160 40 82 00 50 */ bne lbl_80359250 +/* 80359204 00356164 AA FA 00 00 */ lha r23, 0(r26) +/* 80359208 00356168 7E C3 B3 78 */ mr r3, r22 +/* 8035920C 0035616C 48 00 01 29 */ bl GetSongId__Q212CMidiManager12CMidiWrapperCFv +/* 80359210 00356170 7C 60 07 34 */ extsh r0, r3 +/* 80359214 00356174 7C 17 00 00 */ cmpw r23, r0 +/* 80359218 00356178 40 82 00 28 */ bne lbl_80359240 +/* 8035921C 0035617C 7E C3 B3 78 */ mr r3, r22 +/* 80359220 00356180 3B C0 00 01 */ li r30, 1 +/* 80359224 00356184 48 00 01 21 */ bl GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359228 00356188 7C 60 1B 78 */ mr r0, r3 +/* 8035922C 0035618C 7E C3 B3 78 */ mr r3, r22 +/* 80359230 00356190 7C 1D 03 78 */ mr r29, r0 +/* 80359234 00356194 38 80 00 01 */ li r4, 1 +/* 80359238 00356198 48 00 00 F5 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb +/* 8035923C 0035619C 48 00 00 14 */ b lbl_80359250 +lbl_80359240: +/* 80359240 003561A0 7E C3 B3 78 */ mr r3, r22 +/* 80359244 003561A4 48 00 01 09 */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359248 003561A8 7F 64 DB 78 */ mr r4, r27 +/* 8035924C 003561AC 4B FF FE 51 */ bl Stop__12CMidiManagerFRC10CSfxHandleUs +lbl_80359250: +/* 80359250 003561B0 3A D6 00 0C */ addi r22, r22, 0xc +/* 80359254 003561B4 3A B5 00 01 */ addi r21, r21, 1 +lbl_80359258: +/* 80359258 003561B8 80 18 00 00 */ lwz r0, 0(r24) +/* 8035925C 003561BC 7C 15 00 00 */ cmpw r21, r0 +/* 80359260 003561C0 41 80 FF 94 */ blt lbl_803591F4 +lbl_80359264: +/* 80359264 003561C4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80359268 003561C8 41 82 00 20 */ beq lbl_80359288 +/* 8035926C 003561CC 7F E3 FB 78 */ mr r3, r31 +/* 80359270 003561D0 7F A4 EB 78 */ mr r4, r29 +/* 80359274 003561D4 48 00 00 B1 */ bl SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl +/* 80359278 003561D8 A8 9A 00 00 */ lha r4, 0(r26) +/* 8035927C 003561DC 7F E3 FB 78 */ mr r3, r31 +/* 80359280 003561E0 48 00 00 91 */ bl SetSongId__Q212CMidiManager12CMidiWrapperFs +/* 80359284 003561E4 48 00 00 70 */ b lbl_803592F4 +lbl_80359288: +/* 80359288 003561E8 A8 7A 00 02 */ lha r3, 2(r26) +/* 8035928C 003561EC 38 C0 00 00 */ li r6, 0 +/* 80359290 003561F0 A8 1A 00 00 */ lha r0, 0(r26) +/* 80359294 003561F4 38 E0 00 00 */ li r7, 0 +/* 80359298 003561F8 80 BA 00 0C */ lwz r5, 0xc(r26) +/* 8035929C 003561FC 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 803592A0 00356200 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 803592A4 00356204 4B FF 16 85 */ bl SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc +/* 803592A8 00356208 57 60 04 3F */ clrlwi. r0, r27, 0x10 +/* 803592AC 0035620C 7C 75 1B 78 */ mr r21, r3 +/* 803592B0 00356210 41 82 00 18 */ beq lbl_803592C8 +/* 803592B4 00356214 7E A5 AB 78 */ mr r5, r21 +/* 803592B8 00356218 38 60 00 00 */ li r3, 0 +/* 803592BC 0035621C 38 80 00 00 */ li r4, 0 +/* 803592C0 00356220 38 C0 00 00 */ li r6, 0 +/* 803592C4 00356224 4B FF 16 19 */ bl SeqVolume__9CAudioSysFUcUsUlUc +lbl_803592C8: +/* 803592C8 00356228 7F 64 DB 78 */ mr r4, r27 +/* 803592CC 0035622C 7E A5 AB 78 */ mr r5, r21 +/* 803592D0 00356230 57 83 06 3E */ clrlwi r3, r28, 0x18 +/* 803592D4 00356234 38 C0 00 00 */ li r6, 0 +/* 803592D8 00356238 4B FF 16 05 */ bl SeqVolume__9CAudioSysFUcUsUlUc +/* 803592DC 0035623C 7F E3 FB 78 */ mr r3, r31 +/* 803592E0 00356240 7E A4 AB 78 */ mr r4, r21 +/* 803592E4 00356244 48 00 00 41 */ bl SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl +/* 803592E8 00356248 A8 9A 00 00 */ lha r4, 0(r26) +/* 803592EC 0035624C 7F E3 FB 78 */ mr r3, r31 +/* 803592F0 00356250 48 00 00 21 */ bl SetSongId__Q212CMidiManager12CMidiWrapperFs +lbl_803592F4: +/* 803592F4 00356254 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803592F8 00356258 90 19 00 00 */ stw r0, 0(r25) +lbl_803592FC: +/* 803592FC 0035625C BA A1 00 14 */ lmw r21, 0x14(r1) +/* 80359300 00356260 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80359304 00356264 7C 08 03 A6 */ mtlr r0 +/* 80359308 00356268 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035930C 0035626C 4E 80 00 20 */ blr + +.global SetSongId__Q212CMidiManager12CMidiWrapperFs +SetSongId__Q212CMidiManager12CMidiWrapperFs: +/* 80359310 00356270 B0 83 00 08 */ sth r4, 8(r3) +/* 80359314 00356274 4E 80 00 20 */ blr + +.global SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle +SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle: +/* 80359318 00356278 80 04 00 00 */ lwz r0, 0(r4) +/* 8035931C 0035627C 90 03 00 04 */ stw r0, 4(r3) +/* 80359320 00356280 4E 80 00 20 */ blr + +.global SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl +SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl: +/* 80359324 00356284 90 83 00 00 */ stw r4, 0(r3) +/* 80359328 00356288 4E 80 00 20 */ blr + +.global SetAvailable__Q212CMidiManager12CMidiWrapperFb +SetAvailable__Q212CMidiManager12CMidiWrapperFb: +/* 8035932C 0035628C 98 83 00 0A */ stb r4, 0xa(r3) +/* 80359330 00356290 4E 80 00 20 */ blr + +.global GetSongId__Q212CMidiManager12CMidiWrapperCFv +GetSongId__Q212CMidiManager12CMidiWrapperCFv: +/* 80359334 00356294 A8 63 00 08 */ lha r3, 8(r3) +/* 80359338 00356298 4E 80 00 20 */ blr + +.global IsAvailable__Q212CMidiManager12CMidiWrapperCFv +IsAvailable__Q212CMidiManager12CMidiWrapperCFv: +/* 8035933C 0035629C 88 63 00 0A */ lbz r3, 0xa(r3) +/* 80359340 003562A0 4E 80 00 20 */ blr + +.global GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv +GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv: +/* 80359344 003562A4 80 63 00 00 */ lwz r3, 0(r3) +/* 80359348 003562A8 4E 80 00 20 */ blr + +.global GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv: +/* 8035934C 003562AC 38 63 00 04 */ addi r3, r3, 4 +/* 80359350 003562B0 4E 80 00 20 */ blr + +.global __ct__Q212CMidiManager12CMidiWrapperFv +__ct__Q212CMidiManager12CMidiWrapperFv: +/* 80359354 003562B4 38 80 00 00 */ li r4, 0 +/* 80359358 003562B8 38 00 00 01 */ li r0, 1 +/* 8035935C 003562BC 90 83 00 00 */ stw r4, 0(r3) +/* 80359360 003562C0 90 83 00 04 */ stw r4, 4(r3) +/* 80359364 003562C4 98 03 00 0A */ stb r0, 0xa(r3) +/* 80359368 003562C8 4E 80 00 20 */ blr + +.global __sinit_CMidiManager_cpp +__sinit_CMidiManager_cpp: +/* 8035936C 003562CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80359370 003562D0 7C 08 02 A6 */ mflr r0 +/* 80359374 003562D4 3C 80 80 36 */ lis r4, "__dt__Q24rstl49reserved_vectorFv"@ha +/* 80359378 003562D8 3C A0 80 54 */ lis r5, lbl_80540010@ha +/* 8035937C 003562DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80359380 003562E0 38 00 00 00 */ li r0, 0 +/* 80359384 003562E4 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 80359388 003562E8 38 84 93 A8 */ addi r4, r4, "__dt__Q24rstl49reserved_vectorFv"@l +/* 8035938C 003562EC 94 03 68 28 */ stwu r0, lbl_805A6828@l(r3) +/* 80359390 003562F0 38 A5 00 10 */ addi r5, r5, lbl_80540010@l +/* 80359394 003562F4 48 03 02 F9 */ bl __register_global_object +/* 80359398 003562F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035939C 003562FC 7C 08 03 A6 */ mtlr r0 +/* 803593A0 00356300 38 21 00 10 */ addi r1, r1, 0x10 +/* 803593A4 00356304 4E 80 00 20 */ blr + +.global "__dt__Q24rstl49reserved_vectorFv" +"__dt__Q24rstl49reserved_vectorFv": +/* 803593A8 00356308 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803593AC 0035630C 7C 08 02 A6 */ mflr r0 +/* 803593B0 00356310 90 01 00 14 */ stw r0, 0x14(r1) +/* 803593B4 00356314 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803593B8 00356318 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803593BC 0035631C 41 82 00 68 */ beq lbl_80359424 +/* 803593C0 00356320 80 DF 00 00 */ lwz r6, 0(r31) +/* 803593C4 00356324 38 60 00 00 */ li r3, 0 +/* 803593C8 00356328 2C 06 00 00 */ cmpwi r6, 0 +/* 803593CC 0035632C 40 81 00 40 */ ble lbl_8035940C +/* 803593D0 00356330 2C 06 00 08 */ cmpwi r6, 8 +/* 803593D4 00356334 38 A6 FF F8 */ addi r5, r6, -8 +/* 803593D8 00356338 40 81 00 20 */ ble lbl_803593F8 +/* 803593DC 0035633C 38 05 00 07 */ addi r0, r5, 7 +/* 803593E0 00356340 54 00 E8 FE */ srwi r0, r0, 3 +/* 803593E4 00356344 7C 09 03 A6 */ mtctr r0 +/* 803593E8 00356348 2C 05 00 00 */ cmpwi r5, 0 +/* 803593EC 0035634C 40 81 00 0C */ ble lbl_803593F8 +lbl_803593F0: +/* 803593F0 00356350 38 63 00 08 */ addi r3, r3, 8 +/* 803593F4 00356354 42 00 FF FC */ bdnz lbl_803593F0 +lbl_803593F8: +/* 803593F8 00356358 7C 03 30 50 */ subf r0, r3, r6 +/* 803593FC 0035635C 7C 09 03 A6 */ mtctr r0 +/* 80359400 00356360 7C 03 30 00 */ cmpw r3, r6 +/* 80359404 00356364 40 80 00 08 */ bge lbl_8035940C +lbl_80359408: +/* 80359408 00356368 42 00 00 00 */ bdnz lbl_80359408 +lbl_8035940C: +/* 8035940C 0035636C 38 60 00 00 */ li r3, 0 +/* 80359410 00356370 7C 80 07 35 */ extsh. r0, r4 +/* 80359414 00356374 90 7F 00 00 */ stw r3, 0(r31) +/* 80359418 00356378 40 81 00 0C */ ble lbl_80359424 +/* 8035941C 0035637C 7F E3 FB 78 */ mr r3, r31 +/* 80359420 00356380 4B FB C5 11 */ bl Free__7CMemoryFPCv +lbl_80359424: +/* 80359424 00356384 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80359428 00356388 7F E3 FB 78 */ mr r3, r31 +/* 8035942C 0035638C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80359430 00356390 7C 08 03 A6 */ mtlr r0 +/* 80359434 00356394 38 21 00 10 */ addi r1, r1, 0x10 +/* 80359438 00356398 4E 80 00 20 */ blr + +.global CalculateBaseline__13CFontImageDefFv +CalculateBaseline__13CFontImageDefFv: +/* 8035943C 0035639C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80359440 003563A0 7C 08 02 A6 */ mflr r0 +/* 80359444 003563A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80359448 003563A8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8035944C 003563AC 7C 7F 1B 78 */ mr r31, r3 +/* 80359450 003563B0 38 61 00 08 */ addi r3, r1, 8 +/* 80359454 003563B4 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80359458 003563B8 4B FE 7A 51 */ bl __ct__6CTokenFRC6CToken +/* 8035945C 003563BC 38 61 00 08 */ addi r3, r1, 8 +/* 80359460 003563C0 4B FE 79 AD */ bl GetObj__6CTokenFv +/* 80359464 003563C4 80 83 00 04 */ lwz r4, 4(r3) +/* 80359468 003563C8 3C 00 43 30 */ lis r0, 0x4330 +/* 8035946C 003563CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80359470 003563D0 38 61 00 08 */ addi r3, r1, 8 +/* 80359474 003563D4 A8 04 00 06 */ lha r0, 6(r4) +/* 80359478 003563D8 38 80 00 00 */ li r4, 0 +/* 8035947C 003563DC C8 42 CC E8 */ lfd f2, lbl_805AEA08@sda21(r2) +/* 80359480 003563E0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359484 003563E4 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80359488 003563E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035948C 003563EC C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80359490 003563F0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359494 003563F4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359498 003563F8 FC 00 00 1E */ fctiwz f0, f0 +/* 8035949C 003563FC D8 01 00 18 */ stfd f0, 0x18(r1) +/* 803594A0 00356400 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803594A4 00356404 4B FE 79 9D */ bl __dt__6CTokenFv +/* 803594A8 00356408 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 803594AC 0035640C 3C 00 43 30 */ lis r0, 0x4330 +/* 803594B0 00356410 90 61 00 24 */ stw r3, 0x24(r1) +/* 803594B4 00356414 C8 42 CC E8 */ lfd f2, lbl_805AEA08@sda21(r2) +/* 803594B8 00356418 90 01 00 20 */ stw r0, 0x20(r1) +/* 803594BC 0035641C C0 62 CC E0 */ lfs f3, lbl_805AEA00@sda21(r2) +/* 803594C0 00356420 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 803594C4 00356424 C0 02 CC E4 */ lfs f0, lbl_805AEA04@sda21(r2) +/* 803594C8 00356428 EC 21 10 28 */ fsubs f1, f1, f2 +/* 803594CC 0035642C EC 23 00 72 */ fmuls f1, f3, f1 +/* 803594D0 00356430 EC 01 00 24 */ fdivs f0, f1, f0 +/* 803594D4 00356434 FC 00 00 1E */ fctiwz f0, f0 +/* 803594D8 00356438 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 803594DC 0035643C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 803594E0 00356440 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803594E4 00356444 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803594E8 00356448 7C 08 03 A6 */ mtlr r0 +/* 803594EC 0035644C 38 21 00 40 */ addi r1, r1, 0x40 +/* 803594F0 00356450 4E 80 00 20 */ blr + +.global IsLoaded__13CFontImageDefCFv +IsLoaded__13CFontImageDefCFv: +/* 803594F4 00356454 80 03 00 08 */ lwz r0, 8(r3) +/* 803594F8 00356458 38 A0 00 00 */ li r5, 0 +/* 803594FC 0035645C 7C 09 03 A6 */ mtctr r0 +/* 80359500 00356460 2C 00 00 00 */ cmpwi r0, 0 +/* 80359504 00356464 40 81 00 28 */ ble lbl_8035952C +lbl_80359508: +/* 80359508 00356468 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8035950C 0035646C 7C 84 28 2E */ lwzx r4, r4, r5 +/* 80359510 00356470 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80359514 00356474 28 00 00 00 */ cmplwi r0, 0 +/* 80359518 00356478 40 82 00 0C */ bne lbl_80359524 +/* 8035951C 0035647C 38 60 00 00 */ li r3, 0 +/* 80359520 00356480 4E 80 00 20 */ blr +lbl_80359524: +/* 80359524 00356484 38 A5 00 08 */ addi r5, r5, 8 +/* 80359528 00356488 42 00 FF E0 */ bdnz lbl_80359508 +lbl_8035952C: +/* 8035952C 0035648C 38 60 00 01 */ li r3, 1 +/* 80359530 00356490 4E 80 00 20 */ blr + +.global "__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f" +"__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f": +/* 80359534 00356494 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80359538 00356498 7C 08 02 A6 */ mflr r0 +/* 8035953C 0035649C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80359540 003564A0 BF 41 00 08 */ stmw r26, 8(r1) +/* 80359544 003564A4 7C 7F 1B 78 */ mr r31, r3 +/* 80359548 003564A8 7C 9C 23 78 */ mr r28, r4 +/* 8035954C 003564AC 7C BA 2B 78 */ mr r26, r5 +/* 80359550 003564B0 D0 23 00 00 */ stfs f1, 0(r3) +/* 80359554 003564B4 80 04 00 04 */ lwz r0, 4(r4) +/* 80359558 003564B8 90 03 00 08 */ stw r0, 8(r3) +/* 8035955C 003564BC 80 04 00 08 */ lwz r0, 8(r4) +/* 80359560 003564C0 90 03 00 0C */ stw r0, 0xc(r3) +/* 80359564 003564C4 80 04 00 04 */ lwz r0, 4(r4) +/* 80359568 003564C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8035956C 003564CC 40 82 00 1C */ bne lbl_80359588 +/* 80359570 003564D0 80 1C 00 08 */ lwz r0, 8(r28) +/* 80359574 003564D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80359578 003564D8 40 82 00 10 */ bne lbl_80359588 +/* 8035957C 003564DC 38 00 00 00 */ li r0, 0 +/* 80359580 003564E0 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80359584 003564E4 48 00 00 6C */ b lbl_803595F0 +lbl_80359588: +/* 80359588 003564E8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035958C 003564EC 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80359590 003564F0 40 82 00 10 */ bne lbl_803595A0 +/* 80359594 003564F4 38 00 00 00 */ li r0, 0 +/* 80359598 003564F8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8035959C 003564FC 48 00 00 18 */ b lbl_803595B4 +lbl_803595A0: +/* 803595A0 00356500 3C 80 80 3E */ lis r4, lbl_803D8348@ha +/* 803595A4 00356504 38 A0 00 00 */ li r5, 0 +/* 803595A8 00356508 38 84 83 48 */ addi r4, r4, lbl_803D8348@l +/* 803595AC 0035650C 4B FB C2 6D */ bl __nwa__FUlPCcPCc +/* 803595B0 00356510 90 7F 00 10 */ stw r3, 0x10(r31) +lbl_803595B4: +/* 803595B4 00356514 83 7F 00 08 */ lwz r27, 8(r31) +/* 803595B8 00356518 3B C0 00 00 */ li r30, 0 +/* 803595BC 0035651C 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 803595C0 00356520 83 BF 00 10 */ lwz r29, 0x10(r31) +/* 803595C4 00356524 48 00 00 24 */ b lbl_803595E8 +lbl_803595C8: +/* 803595C8 00356528 28 1D 00 00 */ cmplwi r29, 0 +/* 803595CC 0035652C 41 82 00 10 */ beq lbl_803595DC +/* 803595D0 00356530 7F A3 EB 78 */ mr r3, r29 +/* 803595D4 00356534 7F 84 E3 78 */ mr r4, r28 +/* 803595D8 00356538 4B FE 78 D1 */ bl __ct__6CTokenFRC6CToken +lbl_803595DC: +/* 803595DC 0035653C 3B BD 00 08 */ addi r29, r29, 8 +/* 803595E0 00356540 3B DE 00 01 */ addi r30, r30, 1 +/* 803595E4 00356544 3B 9C 00 08 */ addi r28, r28, 8 +lbl_803595E8: +/* 803595E8 00356548 7C 1E D8 00 */ cmpw r30, r27 +/* 803595EC 0035654C 41 80 FF DC */ blt lbl_803595C8 +lbl_803595F0: +/* 803595F0 00356550 C0 1A 00 00 */ lfs f0, 0(r26) +/* 803595F4 00356554 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803595F8 00356558 C0 1A 00 04 */ lfs f0, 4(r26) +/* 803595FC 0035655C D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80359600 00356560 83 7F 00 10 */ lwz r27, 0x10(r31) +/* 80359604 00356564 48 00 00 10 */ b lbl_80359614 +lbl_80359608: +/* 80359608 00356568 7F 63 DB 78 */ mr r3, r27 +/* 8035960C 0035656C 4B FE 77 79 */ bl Lock__6CTokenFv +/* 80359610 00356570 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80359614: +/* 80359614 00356574 80 1F 00 08 */ lwz r0, 8(r31) +/* 80359618 00356578 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8035961C 0035657C 54 00 18 38 */ slwi r0, r0, 3 +/* 80359620 00356580 7C 03 02 14 */ add r0, r3, r0 +/* 80359624 00356584 7C 1B 00 40 */ cmplw r27, r0 +/* 80359628 00356588 40 82 FF E0 */ bne lbl_80359608 +/* 8035962C 0035658C 7F E3 FB 78 */ mr r3, r31 +/* 80359630 00356590 BB 41 00 08 */ lmw r26, 8(r1) +/* 80359634 00356594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359638 00356598 7C 08 03 A6 */ mtlr r0 +/* 8035963C 0035659C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359640 003565A0 4E 80 00 20 */ blr + +.global "__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f" +"__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f": +/* 80359644 003565A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80359648 003565A8 7C 08 02 A6 */ mflr r0 +/* 8035964C 003565AC C0 02 CC F0 */ lfs f0, lbl_805AEA10@sda21(r2) +/* 80359650 003565B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80359654 003565B4 38 00 00 01 */ li r0, 1 +/* 80359658 003565B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035965C 003565BC 7C BF 2B 78 */ mr r31, r5 +/* 80359660 003565C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80359664 003565C4 7C 9E 23 78 */ mr r30, r4 +/* 80359668 003565C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035966C 003565CC 7C 7D 1B 78 */ mr r29, r3 +/* 80359670 003565D0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80359674 003565D4 90 03 00 08 */ stw r0, 8(r3) +/* 80359678 003565D8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8035967C 003565DC 80 03 00 08 */ lwz r0, 8(r3) +/* 80359680 003565E0 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80359684 003565E4 40 82 00 10 */ bne lbl_80359694 +/* 80359688 003565E8 38 00 00 00 */ li r0, 0 +/* 8035968C 003565EC 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80359690 003565F0 48 00 00 18 */ b lbl_803596A8 +lbl_80359694: +/* 80359694 003565F4 3C 80 80 3E */ lis r4, lbl_803D8348@ha +/* 80359698 003565F8 38 A0 00 00 */ li r5, 0 +/* 8035969C 003565FC 38 84 83 48 */ addi r4, r4, lbl_803D8348@l +/* 803596A0 00356600 4B FB C1 79 */ bl __nwa__FUlPCcPCc +/* 803596A4 00356604 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_803596A8: +/* 803596A8 00356608 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803596AC 0035660C 28 03 00 00 */ cmplwi r3, 0 +/* 803596B0 00356610 41 82 00 0C */ beq lbl_803596BC +/* 803596B4 00356614 7F C4 F3 78 */ mr r4, r30 +/* 803596B8 00356618 4B FE 77 F1 */ bl __ct__6CTokenFRC6CToken +lbl_803596BC: +/* 803596BC 0035661C C0 1F 00 00 */ lfs f0, 0(r31) +/* 803596C0 00356620 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 803596C4 00356624 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803596C8 00356628 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 803596CC 0035662C 83 FD 00 10 */ lwz r31, 0x10(r29) +/* 803596D0 00356630 48 00 00 10 */ b lbl_803596E0 +lbl_803596D4: +/* 803596D4 00356634 7F E3 FB 78 */ mr r3, r31 +/* 803596D8 00356638 4B FE 76 AD */ bl Lock__6CTokenFv +/* 803596DC 0035663C 3B FF 00 08 */ addi r31, r31, 8 +lbl_803596E0: +/* 803596E0 00356640 80 1D 00 08 */ lwz r0, 8(r29) +/* 803596E4 00356644 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803596E8 00356648 54 00 18 38 */ slwi r0, r0, 3 +/* 803596EC 0035664C 7C 03 02 14 */ add r0, r3, r0 +/* 803596F0 00356650 7C 1F 00 40 */ cmplw r31, r0 +/* 803596F4 00356654 40 82 FF E0 */ bne lbl_803596D4 +/* 803596F8 00356658 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803596FC 0035665C 7F A3 EB 78 */ mr r3, r29 +/* 80359700 00356660 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80359704 00356664 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80359708 00356668 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035970C 0035666C 7C 08 03 A6 */ mtlr r0 +/* 80359710 00356670 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359714 00356674 4E 80 00 20 */ blr + +.global __dt__17CImageInstructionFv +__dt__17CImageInstructionFv: +/* 80359718 00356678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035971C 0035667C 7C 08 02 A6 */ mflr r0 +/* 80359720 00356680 90 01 00 14 */ stw r0, 0x14(r1) +/* 80359724 00356684 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80359728 00356688 7C 9F 23 78 */ mr r31, r4 +/* 8035972C 0035668C 93 C1 00 08 */ stw r30, 8(r1) +/* 80359730 00356690 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80359734 00356694 41 82 00 40 */ beq lbl_80359774 +/* 80359738 00356698 3C 80 80 3F */ lis r4, lbl_803EF798@ha +/* 8035973C 0035669C 38 7E 00 04 */ addi r3, r30, 4 +/* 80359740 003566A0 38 04 F7 98 */ addi r0, r4, lbl_803EF798@l +/* 80359744 003566A4 38 80 FF FF */ li r4, -1 +/* 80359748 003566A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8035974C 003566AC 4B CC F4 B1 */ bl sub_80028bfc +/* 80359750 003566B0 28 1E 00 00 */ cmplwi r30, 0 +/* 80359754 003566B4 41 82 00 10 */ beq lbl_80359764 +/* 80359758 003566B8 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 8035975C 003566BC 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 80359760 003566C0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80359764: +/* 80359764 003566C4 7F E0 07 35 */ extsh. r0, r31 +/* 80359768 003566C8 40 81 00 0C */ ble lbl_80359774 +/* 8035976C 003566CC 7F C3 F3 78 */ mr r3, r30 +/* 80359770 003566D0 4B FB C1 C1 */ bl Free__7CMemoryFPCv +lbl_80359774: +/* 80359774 003566D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80359778 003566D8 7F C3 F3 78 */ mr r3, r30 +/* 8035977C 003566DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80359780 003566E0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80359784 003566E4 7C 08 03 A6 */ mtlr r0 +/* 80359788 003566E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035978C 003566EC 4E 80 00 20 */ blr + +.global GetAssetCount__17CImageInstructionCFv +GetAssetCount__17CImageInstructionCFv: +/* 80359790 003566F0 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80359794 003566F4 4E 80 00 20 */ blr + +.global "GetAssets__17CImageInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"GetAssets__17CImageInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 80359798 003566F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035979C 003566FC 7C 08 02 A6 */ mflr r0 +/* 803597A0 00356700 90 01 00 24 */ stw r0, 0x24(r1) +/* 803597A4 00356704 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803597A8 00356708 7C 7B 1B 78 */ mr r27, r3 +/* 803597AC 0035670C 7C 9C 23 78 */ mr r28, r4 +/* 803597B0 00356710 3B A0 00 00 */ li r29, 0 +/* 803597B4 00356714 3B C0 00 00 */ li r30, 0 +/* 803597B8 00356718 48 00 00 64 */ b lbl_8035981C +lbl_803597BC: +/* 803597BC 0035671C 80 1C 00 04 */ lwz r0, 4(r28) +/* 803597C0 00356720 80 BC 00 08 */ lwz r5, 8(r28) +/* 803597C4 00356724 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 803597C8 00356728 7C 00 28 00 */ cmpw r0, r5 +/* 803597CC 0035672C 7F E3 F2 14 */ add r31, r3, r30 +/* 803597D0 00356730 41 80 00 1C */ blt lbl_803597EC +/* 803597D4 00356734 2C 05 00 00 */ cmpwi r5, 0 +/* 803597D8 00356738 7F 83 E3 78 */ mr r3, r28 +/* 803597DC 0035673C 38 80 00 04 */ li r4, 4 +/* 803597E0 00356740 41 82 00 08 */ beq lbl_803597E8 +/* 803597E4 00356744 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803597E8: +/* 803597E8 00356748 4B CA F1 75 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_803597EC: +/* 803597EC 0035674C 80 1C 00 04 */ lwz r0, 4(r28) +/* 803597F0 00356750 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 803597F4 00356754 54 00 18 38 */ slwi r0, r0, 3 +/* 803597F8 00356758 7C 63 02 15 */ add. r3, r3, r0 +/* 803597FC 0035675C 41 82 00 0C */ beq lbl_80359808 +/* 80359800 00356760 7F E4 FB 78 */ mr r4, r31 +/* 80359804 00356764 4B FE 76 A5 */ bl __ct__6CTokenFRC6CToken +lbl_80359808: +/* 80359808 00356768 80 7C 00 04 */ lwz r3, 4(r28) +/* 8035980C 0035676C 3B DE 00 08 */ addi r30, r30, 8 +/* 80359810 00356770 3B BD 00 01 */ addi r29, r29, 1 +/* 80359814 00356774 38 03 00 01 */ addi r0, r3, 1 +/* 80359818 00356778 90 1C 00 04 */ stw r0, 4(r28) +lbl_8035981C: +/* 8035981C 0035677C 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 80359820 00356780 7C 1D 00 00 */ cmpw r29, r0 +/* 80359824 00356784 41 80 FF 98 */ blt lbl_803597BC +/* 80359828 00356788 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8035982C 0035678C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359830 00356790 7C 08 03 A6 */ mtlr r0 +/* 80359834 00356794 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359838 00356798 4E 80 00 20 */ blr + +.global Invoke__17CImageInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__17CImageInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 8035983C 0035679C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80359840 003567A0 7C 08 02 A6 */ mflr r0 +/* 80359844 003567A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80359848 003567A8 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8035984C 003567AC 7C 7D 1B 78 */ mr r29, r3 +/* 80359850 003567B0 7C 9E 23 78 */ mr r30, r4 +/* 80359854 003567B4 7C BF 2B 78 */ mr r31, r5 +/* 80359858 003567B8 38 7D 00 04 */ addi r3, r29, 4 +/* 8035985C 003567BC 4B FF FC 99 */ bl IsLoaded__13CFontImageDefCFv +/* 80359860 003567C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80359864 003567C4 41 82 01 7C */ beq lbl_803599E0 +/* 80359868 003567C8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8035986C 003567CC 2C 00 00 00 */ cmpwi r0, 0 +/* 80359870 003567D0 41 82 01 70 */ beq lbl_803599E0 +/* 80359874 003567D4 80 7E 00 88 */ lwz r3, 0x88(r30) +/* 80359878 003567D8 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8035987C 003567DC 2C 00 00 00 */ cmpwi r0, 0 +/* 80359880 003567E0 40 82 00 B0 */ bne lbl_80359930 +/* 80359884 003567E4 28 1F 00 00 */ cmplwi r31, 0 +/* 80359888 003567E8 41 82 00 40 */ beq lbl_803598C8 +/* 8035988C 003567EC 83 7E 00 D8 */ lwz r27, 0xd8(r30) +/* 80359890 003567F0 83 5E 00 D4 */ lwz r26, 0xd4(r30) +/* 80359894 003567F4 80 7E 00 DC */ lwz r3, 0xdc(r30) +/* 80359898 003567F8 4B FA 60 65 */ bl GetBaseline__16CLineInstructionFv +/* 8035989C 003567FC 7F 9B 1A 14 */ add r28, r27, r3 +/* 803598A0 00356800 38 7D 00 04 */ addi r3, r29, 4 +/* 803598A4 00356804 4B FF FB 99 */ bl CalculateBaseline__13CFontImageDefFv +/* 803598A8 00356808 7C A3 E0 50 */ subf r5, r3, r28 +/* 803598AC 0035680C 7F 44 D3 78 */ mr r4, r26 +/* 803598B0 00356810 38 61 00 20 */ addi r3, r1, 0x20 +/* 803598B4 00356814 4B FB AA 99 */ bl __ct__9CVector2iFii +/* 803598B8 00356818 7C 64 1B 78 */ mr r4, r3 +/* 803598BC 0035681C 7F E3 FB 78 */ mr r3, r31 +/* 803598C0 00356820 38 BD 00 04 */ addi r5, r29, 4 +/* 803598C4 00356824 48 00 13 05 */ bl AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef +lbl_803598C8: +/* 803598C8 00356828 83 7E 00 D4 */ lwz r27, 0xd4(r30) +/* 803598CC 0035682C 38 61 00 08 */ addi r3, r1, 8 +/* 803598D0 00356830 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 803598D4 00356834 4B FE 75 D5 */ bl __ct__6CTokenFRC6CToken +/* 803598D8 00356838 38 61 00 08 */ addi r3, r1, 8 +/* 803598DC 0035683C 4B FE 75 31 */ bl GetObj__6CTokenFv +/* 803598E0 00356840 80 83 00 04 */ lwz r4, 4(r3) +/* 803598E4 00356844 3C 00 43 30 */ lis r0, 0x4330 +/* 803598E8 00356848 90 01 00 28 */ stw r0, 0x28(r1) +/* 803598EC 0035684C 38 61 00 08 */ addi r3, r1, 8 +/* 803598F0 00356850 A8 04 00 04 */ lha r0, 4(r4) +/* 803598F4 00356854 38 80 00 00 */ li r4, 0 +/* 803598F8 00356858 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 803598FC 0035685C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359900 00356860 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359904 00356864 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80359908 00356868 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 8035990C 0035686C EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359910 00356870 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359914 00356874 FC 00 00 1E */ fctiwz f0, f0 +/* 80359918 00356878 D8 01 00 30 */ stfd f0, 0x30(r1) +/* 8035991C 0035687C 83 81 00 34 */ lwz r28, 0x34(r1) +/* 80359920 00356880 4B FE 75 21 */ bl __dt__6CTokenFv +/* 80359924 00356884 7C 1B E2 14 */ add r0, r27, r28 +/* 80359928 00356888 90 1E 00 D4 */ stw r0, 0xd4(r30) +/* 8035992C 0035688C 48 00 00 B4 */ b lbl_803599E0 +lbl_80359930: +/* 80359930 00356890 80 BE 00 DC */ lwz r5, 0xdc(r30) +/* 80359934 00356894 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359938 00356898 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8035993C 0035689C 83 85 00 08 */ lwz r28, 8(r5) +/* 80359940 003568A0 4B FE 75 69 */ bl __ct__6CTokenFRC6CToken +/* 80359944 003568A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359948 003568A8 4B FE 74 C5 */ bl GetObj__6CTokenFv +/* 8035994C 003568AC 80 83 00 04 */ lwz r4, 4(r3) +/* 80359950 003568B0 3C 00 43 30 */ lis r0, 0x4330 +/* 80359954 003568B4 90 01 00 30 */ stw r0, 0x30(r1) +/* 80359958 003568B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035995C 003568BC A8 04 00 04 */ lha r0, 4(r4) +/* 80359960 003568C0 38 80 00 00 */ li r4, 0 +/* 80359964 003568C4 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 80359968 003568C8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035996C 003568CC C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359970 003568D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80359974 003568D4 C8 21 00 30 */ lfd f1, 0x30(r1) +/* 80359978 003568D8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8035997C 003568DC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359980 003568E0 FC 00 00 1E */ fctiwz f0, f0 +/* 80359984 003568E4 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 80359988 003568E8 83 61 00 2C */ lwz r27, 0x2c(r1) +/* 8035998C 003568EC 4B FE 74 B5 */ bl __dt__6CTokenFv +/* 80359990 003568F0 7C 7B E0 50 */ subf r3, r27, r28 +/* 80359994 003568F4 28 1F 00 00 */ cmplwi r31, 0 +/* 80359998 003568F8 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8035999C 003568FC 7C 00 1A 14 */ add r0, r0, r3 +/* 803599A0 00356900 7C 04 0E 70 */ srawi r4, r0, 1 +/* 803599A4 00356904 41 82 00 28 */ beq lbl_803599CC +/* 803599A8 00356908 80 1E 00 D4 */ lwz r0, 0xd4(r30) +/* 803599AC 0035690C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803599B0 00356910 80 BE 00 D8 */ lwz r5, 0xd8(r30) +/* 803599B4 00356914 7C 84 02 14 */ add r4, r4, r0 +/* 803599B8 00356918 4B FB A9 95 */ bl __ct__9CVector2iFii +/* 803599BC 0035691C 7C 64 1B 78 */ mr r4, r3 +/* 803599C0 00356920 7F E3 FB 78 */ mr r3, r31 +/* 803599C4 00356924 38 BD 00 04 */ addi r5, r29, 4 +/* 803599C8 00356928 48 00 12 01 */ bl AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef +lbl_803599CC: +/* 803599CC 0035692C 83 5E 00 D8 */ lwz r26, 0xd8(r30) +/* 803599D0 00356930 38 7D 00 04 */ addi r3, r29, 4 +/* 803599D4 00356934 48 00 00 21 */ bl CalculateHeight__13CFontImageDefFv +/* 803599D8 00356938 7C 1A 1A 14 */ add r0, r26, r3 +/* 803599DC 0035693C 90 1E 00 D8 */ stw r0, 0xd8(r30) +lbl_803599E0: +/* 803599E0 00356940 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 803599E4 00356944 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803599E8 00356948 7C 08 03 A6 */ mtlr r0 +/* 803599EC 0035694C 38 21 00 50 */ addi r1, r1, 0x50 +/* 803599F0 00356950 4E 80 00 20 */ blr + +.global CalculateHeight__13CFontImageDefFv +CalculateHeight__13CFontImageDefFv: +/* 803599F4 00356954 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803599F8 00356958 7C 08 02 A6 */ mflr r0 +/* 803599FC 0035695C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80359A00 00356960 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80359A04 00356964 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80359A08 00356968 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80359A0C 0035696C 7C 7D 1B 78 */ mr r29, r3 +/* 80359A10 00356970 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359A14 00356974 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 80359A18 00356978 4B FE 74 91 */ bl __ct__6CTokenFRC6CToken +/* 80359A1C 0035697C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359A20 00356980 4B FE 73 ED */ bl GetObj__6CTokenFv +/* 80359A24 00356984 80 83 00 04 */ lwz r4, 4(r3) +/* 80359A28 00356988 3C 00 43 30 */ lis r0, 0x4330 +/* 80359A2C 0035698C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80359A30 00356990 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359A34 00356994 A8 04 00 06 */ lha r0, 6(r4) +/* 80359A38 00356998 38 80 00 00 */ li r4, 0 +/* 80359A3C 0035699C C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 80359A40 003569A0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359A44 003569A4 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359A48 003569A8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80359A4C 003569AC C8 21 00 18 */ lfd f1, 0x18(r1) +/* 80359A50 003569B0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359A54 003569B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359A58 003569B8 FC 00 00 1E */ fctiwz f0, f0 +/* 80359A5C 003569BC D8 01 00 20 */ stfd f0, 0x20(r1) +/* 80359A60 003569C0 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80359A64 003569C4 4B FE 73 DD */ bl __dt__6CTokenFv +/* 80359A68 003569C8 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 80359A6C 003569CC 38 61 00 08 */ addi r3, r1, 8 +/* 80359A70 003569D0 4B FE 74 39 */ bl __ct__6CTokenFRC6CToken +/* 80359A74 003569D4 38 61 00 08 */ addi r3, r1, 8 +/* 80359A78 003569D8 4B FE 73 95 */ bl GetObj__6CTokenFv +/* 80359A7C 003569DC 80 83 00 04 */ lwz r4, 4(r3) +/* 80359A80 003569E0 3C 00 43 30 */ lis r0, 0x4330 +/* 80359A84 003569E4 90 01 00 28 */ stw r0, 0x28(r1) +/* 80359A88 003569E8 38 61 00 08 */ addi r3, r1, 8 +/* 80359A8C 003569EC A8 04 00 06 */ lha r0, 6(r4) +/* 80359A90 003569F0 38 80 00 00 */ li r4, 0 +/* 80359A94 003569F4 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 80359A98 003569F8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359A9C 003569FC C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359AA0 00356A00 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80359AA4 00356A04 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 80359AA8 00356A08 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359AAC 00356A0C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359AB0 00356A10 FC 00 00 1E */ fctiwz f0, f0 +/* 80359AB4 00356A14 D8 01 00 30 */ stfd f0, 0x30(r1) +/* 80359AB8 00356A18 83 C1 00 34 */ lwz r30, 0x34(r1) +/* 80359ABC 00356A1C 4B FE 73 85 */ bl __dt__6CTokenFv +/* 80359AC0 00356A20 7F A3 EB 78 */ mr r3, r29 +/* 80359AC4 00356A24 4B FF F9 79 */ bl CalculateBaseline__13CFontImageDefFv +/* 80359AC8 00356A28 7C 03 F0 50 */ subf r0, r3, r30 +/* 80359ACC 00356A2C 7C 60 F8 50 */ subf r3, r0, r31 +/* 80359AD0 00356A30 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80359AD4 00356A34 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80359AD8 00356A38 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80359ADC 00356A3C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80359AE0 00356A40 7C 08 03 A6 */ mtlr r0 +/* 80359AE4 00356A44 38 21 00 50 */ addi r1, r1, 0x50 +/* 80359AE8 00356A48 4E 80 00 20 */ blr + +.global AccumulateTextBounds__17CTextRenderBufferFv +AccumulateTextBounds__17CTextRenderBufferFv: +/* 80359AEC 00356A4C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80359AF0 00356A50 7C 08 02 A6 */ mflr r0 +/* 80359AF4 00356A54 3C A0 80 00 */ lis r5, 0x7FFFFFFF@ha +/* 80359AF8 00356A58 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80359AFC 00356A5C BE E1 00 9C */ stmw r23, 0x9c(r1) +/* 80359B00 00356A60 7C 9B 23 78 */ mr r27, r4 +/* 80359B04 00356A64 38 85 FF FF */ addi r4, r5, 0x7FFFFFFF@l +/* 80359B08 00356A68 7C 7A 1B 78 */ mr r26, r3 +/* 80359B0C 00356A6C 7C 85 23 78 */ mr r5, r4 +/* 80359B10 00356A70 38 61 00 48 */ addi r3, r1, 0x48 +/* 80359B14 00356A74 4B FB A8 39 */ bl __ct__9CVector2iFii +/* 80359B18 00356A78 38 61 00 40 */ addi r3, r1, 0x40 +/* 80359B1C 00356A7C 3C 80 80 00 */ lis r4, 0x8000 +/* 80359B20 00356A80 3C A0 80 00 */ lis r5, 0x8000 +/* 80359B24 00356A84 4B FB A8 29 */ bl __ct__9CVector2iFii +/* 80359B28 00356A88 80 9B 00 40 */ lwz r4, 0x40(r27) +/* 80359B2C 00356A8C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B30 00356A90 80 BB 00 44 */ lwz r5, 0x44(r27) +/* 80359B34 00356A94 38 C0 00 01 */ li r6, 1 +/* 80359B38 00356A98 4B FE 56 D5 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 80359B3C 00356A9C 3B A1 00 44 */ addi r29, r1, 0x44 +/* 80359B40 00356AA0 3B 81 00 4C */ addi r28, r1, 0x4c +/* 80359B44 00356AA4 48 00 03 18 */ b lbl_80359E5C +lbl_80359B48: +/* 80359B48 00356AA8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B4C 00356AAC 4B FE 51 C1 */ bl ReadChar__12CInputStreamFv +/* 80359B50 00356AB0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80359B54 00356AB4 2C 00 00 02 */ cmpwi r0, 2 +/* 80359B58 00356AB8 41 82 02 EC */ beq lbl_80359E44 +/* 80359B5C 00356ABC 40 80 00 14 */ bge lbl_80359B70 +/* 80359B60 00356AC0 2C 00 00 00 */ cmpwi r0, 0 +/* 80359B64 00356AC4 41 82 00 18 */ beq lbl_80359B7C +/* 80359B68 00356AC8 40 80 01 58 */ bge lbl_80359CC0 +/* 80359B6C 00356ACC 48 00 02 F0 */ b lbl_80359E5C +lbl_80359B70: +/* 80359B70 00356AD0 2C 00 00 04 */ cmpwi r0, 4 +/* 80359B74 00356AD4 40 80 02 E8 */ bge lbl_80359E5C +/* 80359B78 00356AD8 48 00 02 DC */ b lbl_80359E54 +lbl_80359B7C: +/* 80359B7C 00356ADC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B80 00356AE0 4B FE 51 31 */ bl ReadShort__12CInputStreamFv +/* 80359B84 00356AE4 7C 7F 07 34 */ extsh r31, r3 +/* 80359B88 00356AE8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B8C 00356AEC 4B FE 51 25 */ bl ReadShort__12CInputStreamFv +/* 80359B90 00356AF0 7C 7E 07 34 */ extsh r30, r3 +/* 80359B94 00356AF4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B98 00356AF8 4B FE 51 19 */ bl ReadShort__12CInputStreamFv +/* 80359B9C 00356AFC 7C 79 07 34 */ extsh r25, r3 +/* 80359BA0 00356B00 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359BA4 00356B04 4B FE 50 E1 */ bl ReadLong__12CInputStreamFv +/* 80359BA8 00356B08 88 1B 00 4C */ lbz r0, 0x4c(r27) +/* 80359BAC 00356B0C 7C 00 07 74 */ extsb r0, r0 +/* 80359BB0 00356B10 2C 00 FF FF */ cmpwi r0, -1 +/* 80359BB4 00356B14 41 82 02 A8 */ beq lbl_80359E5C +/* 80359BB8 00356B18 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 80359BBC 00356B1C 54 00 18 38 */ slwi r0, r0, 3 +/* 80359BC0 00356B20 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359BC4 00356B24 7C 84 02 14 */ add r4, r4, r0 +/* 80359BC8 00356B28 4B FE 72 E1 */ bl __ct__6CTokenFRC6CToken +/* 80359BCC 00356B2C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80359BD0 00356B30 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80359BD4 00356B34 28 00 00 00 */ cmplwi r0, 0 +/* 80359BD8 00356B38 41 82 00 D8 */ beq lbl_80359CB0 +/* 80359BDC 00356B3C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359BE0 00356B40 4B FE 72 2D */ bl GetObj__6CTokenFv +/* 80359BE4 00356B44 57 38 04 3E */ clrlwi r24, r25, 0x10 +/* 80359BE8 00356B48 80 63 00 04 */ lwz r3, 4(r3) +/* 80359BEC 00356B4C 7F 04 C3 78 */ mr r4, r24 +/* 80359BF0 00356B50 4B FA 6A A9 */ bl GetGlyph__11CRasterFontCFw +/* 80359BF4 00356B54 28 03 00 00 */ cmplwi r3, 0 +/* 80359BF8 00356B58 41 82 00 B8 */ beq lbl_80359CB0 +/* 80359BFC 00356B5C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359C00 00356B60 4B FE 72 0D */ bl GetObj__6CTokenFv +/* 80359C04 00356B64 80 63 00 04 */ lwz r3, 4(r3) +/* 80359C08 00356B68 7F 04 C3 78 */ mr r4, r24 +/* 80359C0C 00356B6C 4B FA 6A 8D */ bl GetGlyph__11CRasterFontCFw +/* 80359C10 00356B70 A8 03 00 18 */ lha r0, 0x18(r3) +/* 80359C14 00356B74 38 81 00 40 */ addi r4, r1, 0x40 +/* 80359C18 00356B78 A8 A3 00 1A */ lha r5, 0x1a(r3) +/* 80359C1C 00356B7C 7C 7F 02 14 */ add r3, r31, r0 +/* 80359C20 00356B80 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80359C24 00356B84 7C 63 07 34 */ extsh r3, r3 +/* 80359C28 00356B88 7C BE 2A 14 */ add r5, r30, r5 +/* 80359C2C 00356B8C 7C 00 18 00 */ cmpw r0, r3 +/* 80359C30 00356B90 90 61 00 24 */ stw r3, 0x24(r1) +/* 80359C34 00356B94 7C A5 07 34 */ extsh r5, r5 +/* 80359C38 00356B98 40 80 00 08 */ bge lbl_80359C40 +/* 80359C3C 00356B9C 38 81 00 24 */ addi r4, r1, 0x24 +lbl_80359C40: +/* 80359C40 00356BA0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80359C44 00356BA4 80 64 00 00 */ lwz r3, 0(r4) +/* 80359C48 00356BA8 7C 00 28 00 */ cmpw r0, r5 +/* 80359C4C 00356BAC 90 61 00 40 */ stw r3, 0x40(r1) +/* 80359C50 00356BB0 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80359C54 00356BB4 40 80 00 0C */ bge lbl_80359C60 +/* 80359C58 00356BB8 38 81 00 20 */ addi r4, r1, 0x20 +/* 80359C5C 00356BBC 48 00 00 08 */ b lbl_80359C64 +lbl_80359C60: +/* 80359C60 00356BC0 7F A4 EB 78 */ mr r4, r29 +lbl_80359C64: +/* 80359C64 00356BC4 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80359C68 00356BC8 38 61 00 48 */ addi r3, r1, 0x48 +/* 80359C6C 00356BCC 80 84 00 00 */ lwz r4, 0(r4) +/* 80359C70 00356BD0 7C 1F 00 00 */ cmpw r31, r0 +/* 80359C74 00356BD4 90 81 00 44 */ stw r4, 0x44(r1) +/* 80359C78 00356BD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80359C7C 00356BDC 40 80 00 08 */ bge lbl_80359C84 +/* 80359C80 00356BE0 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80359C84: +/* 80359C84 00356BE4 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80359C88 00356BE8 80 63 00 00 */ lwz r3, 0(r3) +/* 80359C8C 00356BEC 7C 1E 00 00 */ cmpw r30, r0 +/* 80359C90 00356BF0 90 61 00 48 */ stw r3, 0x48(r1) +/* 80359C94 00356BF4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80359C98 00356BF8 40 80 00 0C */ bge lbl_80359CA4 +/* 80359C9C 00356BFC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80359CA0 00356C00 48 00 00 08 */ b lbl_80359CA8 +lbl_80359CA4: +/* 80359CA4 00356C04 7F 83 E3 78 */ mr r3, r28 +lbl_80359CA8: +/* 80359CA8 00356C08 80 03 00 00 */ lwz r0, 0(r3) +/* 80359CAC 00356C0C 90 01 00 4C */ stw r0, 0x4c(r1) +lbl_80359CB0: +/* 80359CB0 00356C10 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359CB4 00356C14 38 80 00 00 */ li r4, 0 +/* 80359CB8 00356C18 4B FE 71 89 */ bl __dt__6CTokenFv +/* 80359CBC 00356C1C 48 00 01 A0 */ b lbl_80359E5C +lbl_80359CC0: +/* 80359CC0 00356C20 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CC4 00356C24 4B FE 4F ED */ bl ReadShort__12CInputStreamFv +/* 80359CC8 00356C28 7C 7E 07 34 */ extsh r30, r3 +/* 80359CCC 00356C2C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CD0 00356C30 4B FE 4F E1 */ bl ReadShort__12CInputStreamFv +/* 80359CD4 00356C34 7C 7F 07 34 */ extsh r31, r3 +/* 80359CD8 00356C38 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CDC 00356C3C 4B FE 50 31 */ bl ReadChar__12CInputStreamFv +/* 80359CE0 00356C40 7C 79 07 74 */ extsb r25, r3 +/* 80359CE4 00356C44 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CE8 00356C48 4B FE 4F 9D */ bl ReadLong__12CInputStreamFv +/* 80359CEC 00356C4C 1C 19 00 1C */ mulli r0, r25, 0x1c +/* 80359CF0 00356C50 80 9B 00 20 */ lwz r4, 0x20(r27) +/* 80359CF4 00356C54 38 61 00 30 */ addi r3, r1, 0x30 +/* 80359CF8 00356C58 7F 04 02 14 */ add r24, r4, r0 +/* 80359CFC 00356C5C 80 98 00 10 */ lwz r4, 0x10(r24) +/* 80359D00 00356C60 4B FE 71 A9 */ bl __ct__6CTokenFRC6CToken +/* 80359D04 00356C64 38 61 00 30 */ addi r3, r1, 0x30 +/* 80359D08 00356C68 4B FE 71 05 */ bl GetObj__6CTokenFv +/* 80359D0C 00356C6C 80 83 00 04 */ lwz r4, 4(r3) +/* 80359D10 00356C70 3C 00 43 30 */ lis r0, 0x4330 +/* 80359D14 00356C74 90 01 00 78 */ stw r0, 0x78(r1) +/* 80359D18 00356C78 38 61 00 30 */ addi r3, r1, 0x30 +/* 80359D1C 00356C7C A8 04 00 04 */ lha r0, 4(r4) +/* 80359D20 00356C80 38 80 00 00 */ li r4, 0 +/* 80359D24 00356C84 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 80359D28 00356C88 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359D2C 00356C8C C0 18 00 14 */ lfs f0, 0x14(r24) +/* 80359D30 00356C90 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80359D34 00356C94 C8 21 00 78 */ lfd f1, 0x78(r1) +/* 80359D38 00356C98 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359D3C 00356C9C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359D40 00356CA0 FC 00 00 1E */ fctiwz f0, f0 +/* 80359D44 00356CA4 D8 01 00 80 */ stfd f0, 0x80(r1) +/* 80359D48 00356CA8 83 21 00 84 */ lwz r25, 0x84(r1) +/* 80359D4C 00356CAC 4B FE 70 F5 */ bl __dt__6CTokenFv +/* 80359D50 00356CB0 7C 1E CA 14 */ add r0, r30, r25 +/* 80359D54 00356CB4 80 98 00 10 */ lwz r4, 0x10(r24) +/* 80359D58 00356CB8 7C 17 07 34 */ extsh r23, r0 +/* 80359D5C 00356CBC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80359D60 00356CC0 4B FE 71 49 */ bl __ct__6CTokenFRC6CToken +/* 80359D64 00356CC4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80359D68 00356CC8 4B FE 70 A5 */ bl GetObj__6CTokenFv +/* 80359D6C 00356CCC 80 83 00 04 */ lwz r4, 4(r3) +/* 80359D70 00356CD0 3C 00 43 30 */ lis r0, 0x4330 +/* 80359D74 00356CD4 90 01 00 88 */ stw r0, 0x88(r1) +/* 80359D78 00356CD8 38 61 00 28 */ addi r3, r1, 0x28 +/* 80359D7C 00356CDC A8 04 00 06 */ lha r0, 6(r4) +/* 80359D80 00356CE0 38 80 00 00 */ li r4, 0 +/* 80359D84 00356CE4 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 80359D88 00356CE8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359D8C 00356CEC C0 18 00 18 */ lfs f0, 0x18(r24) +/* 80359D90 00356CF0 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80359D94 00356CF4 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 80359D98 00356CF8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359D9C 00356CFC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359DA0 00356D00 FC 00 00 1E */ fctiwz f0, f0 +/* 80359DA4 00356D04 D8 01 00 90 */ stfd f0, 0x90(r1) +/* 80359DA8 00356D08 83 21 00 94 */ lwz r25, 0x94(r1) +/* 80359DAC 00356D0C 4B FE 70 95 */ bl __dt__6CTokenFv +/* 80359DB0 00356D10 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80359DB4 00356D14 7C 7F CA 14 */ add r3, r31, r25 +/* 80359DB8 00356D18 92 E1 00 14 */ stw r23, 0x14(r1) +/* 80359DBC 00356D1C 7C 64 07 34 */ extsh r4, r3 +/* 80359DC0 00356D20 7C 00 B8 00 */ cmpw r0, r23 +/* 80359DC4 00356D24 38 61 00 40 */ addi r3, r1, 0x40 +/* 80359DC8 00356D28 40 80 00 08 */ bge lbl_80359DD0 +/* 80359DCC 00356D2C 38 61 00 14 */ addi r3, r1, 0x14 +lbl_80359DD0: +/* 80359DD0 00356D30 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80359DD4 00356D34 80 63 00 00 */ lwz r3, 0(r3) +/* 80359DD8 00356D38 7C 00 20 00 */ cmpw r0, r4 +/* 80359DDC 00356D3C 90 61 00 40 */ stw r3, 0x40(r1) +/* 80359DE0 00356D40 90 81 00 10 */ stw r4, 0x10(r1) +/* 80359DE4 00356D44 40 80 00 0C */ bge lbl_80359DF0 +/* 80359DE8 00356D48 38 81 00 10 */ addi r4, r1, 0x10 +/* 80359DEC 00356D4C 48 00 00 08 */ b lbl_80359DF4 +lbl_80359DF0: +/* 80359DF0 00356D50 7F A4 EB 78 */ mr r4, r29 +lbl_80359DF4: +/* 80359DF4 00356D54 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80359DF8 00356D58 38 61 00 48 */ addi r3, r1, 0x48 +/* 80359DFC 00356D5C 80 84 00 00 */ lwz r4, 0(r4) +/* 80359E00 00356D60 7C 1E 00 00 */ cmpw r30, r0 +/* 80359E04 00356D64 90 81 00 44 */ stw r4, 0x44(r1) +/* 80359E08 00356D68 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80359E0C 00356D6C 40 80 00 08 */ bge lbl_80359E14 +/* 80359E10 00356D70 38 61 00 0C */ addi r3, r1, 0xc +lbl_80359E14: +/* 80359E14 00356D74 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80359E18 00356D78 80 63 00 00 */ lwz r3, 0(r3) +/* 80359E1C 00356D7C 7C 1F 00 00 */ cmpw r31, r0 +/* 80359E20 00356D80 90 61 00 48 */ stw r3, 0x48(r1) +/* 80359E24 00356D84 93 E1 00 08 */ stw r31, 8(r1) +/* 80359E28 00356D88 40 80 00 0C */ bge lbl_80359E34 +/* 80359E2C 00356D8C 38 61 00 08 */ addi r3, r1, 8 +/* 80359E30 00356D90 48 00 00 08 */ b lbl_80359E38 +lbl_80359E34: +/* 80359E34 00356D94 7F 83 E3 78 */ mr r3, r28 +lbl_80359E38: +/* 80359E38 00356D98 80 03 00 00 */ lwz r0, 0(r3) +/* 80359E3C 00356D9C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80359E40 00356DA0 48 00 00 1C */ b lbl_80359E5C +lbl_80359E44: +/* 80359E44 00356DA4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359E48 00356DA8 4B FE 4E C5 */ bl ReadChar__12CInputStreamFv +/* 80359E4C 00356DAC 98 7B 00 4C */ stb r3, 0x4c(r27) +/* 80359E50 00356DB0 48 00 00 0C */ b lbl_80359E5C +lbl_80359E54: +/* 80359E54 00356DB4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359E58 00356DB8 4B FE 4E B5 */ bl ReadChar__12CInputStreamFv +lbl_80359E5C: +/* 80359E5C 00356DBC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80359E60 00356DC0 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 80359E64 00356DC4 7C 03 00 40 */ cmplw r3, r0 +/* 80359E68 00356DC8 41 80 FC E0 */ blt lbl_80359B48 +/* 80359E6C 00356DCC 80 81 00 48 */ lwz r4, 0x48(r1) +/* 80359E70 00356DD0 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 80359E74 00356DD4 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 80359E78 00356DD8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359E7C 00356DDC 90 9A 00 00 */ stw r4, 0(r26) +/* 80359E80 00356DE0 38 80 00 00 */ li r4, 0 +/* 80359E84 00356DE4 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 80359E88 00356DE8 90 BA 00 04 */ stw r5, 4(r26) +/* 80359E8C 00356DEC 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 80359E90 00356DF0 90 BA 00 08 */ stw r5, 8(r26) +/* 80359E94 00356DF4 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 80359E98 00356DF8 90 BA 00 0C */ stw r5, 0xc(r26) +/* 80359E9C 00356DFC 90 01 00 50 */ stw r0, 0x50(r1) +/* 80359EA0 00356E00 4B FE 52 0D */ bl __dt__12CInputStreamFv +/* 80359EA4 00356E04 BA E1 00 9C */ lmw r23, 0x9c(r1) +/* 80359EA8 00356E08 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80359EAC 00356E0C 7C 08 03 A6 */ mtlr r0 +/* 80359EB0 00356E10 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80359EB4 00356E14 4E 80 00 20 */ blr + +.global HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i +HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i: +/* 80359EB8 00356E18 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80359EBC 00356E1C 7C 08 02 A6 */ mflr r0 +/* 80359EC0 00356E20 90 01 00 54 */ stw r0, 0x54(r1) +/* 80359EC4 00356E24 7C 60 1B 78 */ mr r0, r3 +/* 80359EC8 00356E28 38 61 00 18 */ addi r3, r1, 0x18 +/* 80359ECC 00356E2C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80359ED0 00356E30 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80359ED4 00356E34 7C BE 2B 78 */ mr r30, r5 +/* 80359ED8 00356E38 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80359EDC 00356E3C 7C 9D 23 78 */ mr r29, r4 +/* 80359EE0 00356E40 7C 04 03 78 */ mr r4, r0 +/* 80359EE4 00356E44 4B FF FC 09 */ bl AccumulateTextBounds__17CTextRenderBufferFv +/* 80359EE8 00356E48 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80359EEC 00356E4C 3B E1 00 30 */ addi r31, r1, 0x30 +/* 80359EF0 00356E50 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80359EF4 00356E54 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 80359EF8 00356E58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359EFC 00356E5C 7C 05 18 00 */ cmpw r5, r3 +/* 80359F00 00356E60 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80359F04 00356E64 90 81 00 2C */ stw r4, 0x2c(r1) +/* 80359F08 00356E68 90 61 00 30 */ stw r3, 0x30(r1) +/* 80359F0C 00356E6C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80359F10 00356E70 40 81 00 0C */ ble lbl_80359F1C +/* 80359F14 00356E74 38 60 00 01 */ li r3, 1 +/* 80359F18 00356E78 48 00 00 54 */ b lbl_80359F6C +lbl_80359F1C: +/* 80359F1C 00356E7C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359F20 00356E80 38 80 00 00 */ li r4, 0 +/* 80359F24 00356E84 38 A0 00 00 */ li r5, 0 +/* 80359F28 00356E88 4B FB A4 25 */ bl __ct__9CVector2iFii +/* 80359F2C 00356E8C 7F E4 FB 78 */ mr r4, r31 +/* 80359F30 00356E90 38 61 00 08 */ addi r3, r1, 8 +/* 80359F34 00356E94 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80359F38 00356E98 4B FB A3 A5 */ bl __mi__FRC9CVector2iRC9CVector2i +/* 80359F3C 00356E9C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80359F40 00356EA0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80359F44 00356EA4 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80359F48 00356EA8 7C 03 00 00 */ cmpw r3, r0 +/* 80359F4C 00356EAC 40 80 00 0C */ bge lbl_80359F58 +/* 80359F50 00356EB0 38 60 00 00 */ li r3, 0 +/* 80359F54 00356EB4 48 00 00 18 */ b lbl_80359F6C +lbl_80359F58: +/* 80359F58 00356EB8 80 1E 00 04 */ lwz r0, 4(r30) +/* 80359F5C 00356EBC 54 A3 0F FE */ srwi r3, r5, 0x1f +/* 80359F60 00356EC0 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 80359F64 00356EC4 7C 05 00 10 */ subfc r0, r5, r0 +/* 80359F68 00356EC8 7C 64 19 14 */ adde r3, r4, r3 +lbl_80359F6C: +/* 80359F6C 00356ECC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80359F70 00356ED0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80359F74 00356ED4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80359F78 00356ED8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80359F7C 00356EDC 7C 08 03 A6 */ mtlr r0 +/* 80359F80 00356EE0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80359F84 00356EE4 4E 80 00 20 */ blr + +.global SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei +SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei: +/* 80359F88 00356EE8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80359F8C 00356EEC 7C 08 02 A6 */ mflr r0 +/* 80359F90 00356EF0 7C 67 1B 78 */ mr r7, r3 +/* 80359F94 00356EF4 38 C0 00 01 */ li r6, 1 +/* 80359F98 00356EF8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80359F9C 00356EFC 54 A0 10 3A */ slwi r0, r5, 2 +/* 80359FA0 00356F00 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80359FA4 00356F04 7C 9F 23 78 */ mr r31, r4 +/* 80359FA8 00356F08 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80359FAC 00356F0C 80 A3 00 30 */ lwz r5, 0x30(r3) +/* 80359FB0 00356F10 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80359FB4 00356F14 38 61 00 1C */ addi r3, r1, 0x1c +/* 80359FB8 00356F18 7C A5 00 2E */ lwzx r5, r5, r0 +/* 80359FBC 00356F1C 80 07 00 44 */ lwz r0, 0x44(r7) +/* 80359FC0 00356F20 38 E0 00 40 */ li r7, 0x40 +/* 80359FC4 00356F24 7C 84 2A 14 */ add r4, r4, r5 +/* 80359FC8 00356F28 7C A5 00 50 */ subf r5, r5, r0 +/* 80359FCC 00356F2C 4B FE 53 71 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 80359FD0 00356F30 80 1F 00 04 */ lwz r0, 4(r31) +/* 80359FD4 00356F34 2C 00 00 01 */ cmpwi r0, 1 +/* 80359FD8 00356F38 41 82 00 DC */ beq lbl_8035A0B4 +/* 80359FDC 00356F3C 40 80 01 C0 */ bge lbl_8035A19C +/* 80359FE0 00356F40 2C 00 00 00 */ cmpwi r0, 0 +/* 80359FE4 00356F44 40 80 00 08 */ bge lbl_80359FEC +/* 80359FE8 00356F48 48 00 01 B4 */ b lbl_8035A19C +lbl_80359FEC: +/* 80359FEC 00356F4C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80359FF0 00356F50 4B FE 54 C9 */ bl FlushShiftRegister__13COutputStreamFv +/* 80359FF4 00356F54 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80359FF8 00356F58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359FFC 00356F5C 7C 03 00 40 */ cmplw r3, r0 +/* 8035A000 00356F60 41 80 00 0C */ blt lbl_8035A00C +/* 8035A004 00356F64 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A008 00356F68 4B FE 55 1D */ bl DoFlush__13COutputStreamFv +lbl_8035A00C: +/* 8035A00C 00356F6C 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8035A010 00356F70 38 C0 00 00 */ li r6, 0 +/* 8035A014 00356F74 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035A018 00356F78 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A01C 00356F7C 38 E5 00 01 */ addi r7, r5, 1 +/* 8035A020 00356F80 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8035A024 00356F84 38 04 00 01 */ addi r0, r4, 1 +/* 8035A028 00356F88 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8035A02C 00356F8C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035A030 00356F90 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035A034 00356F94 A8 1F 00 08 */ lha r0, 8(r31) +/* 8035A038 00356F98 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8035A03C 00356F9C 4B FE 54 7D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A040 00356FA0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A044 00356FA4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035A048 00356FA8 38 A0 00 02 */ li r5, 2 +/* 8035A04C 00356FAC 4B FE 55 5D */ bl DoPut__13COutputStreamFPCvUl +/* 8035A050 00356FB0 A8 1F 00 0A */ lha r0, 0xa(r31) +/* 8035A054 00356FB4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A058 00356FB8 B0 01 00 0E */ sth r0, 0xe(r1) +/* 8035A05C 00356FBC 4B FE 54 5D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A060 00356FC0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A064 00356FC4 38 81 00 0E */ addi r4, r1, 0xe +/* 8035A068 00356FC8 38 A0 00 02 */ li r5, 2 +/* 8035A06C 00356FCC 4B FE 55 3D */ bl DoPut__13COutputStreamFPCvUl +/* 8035A070 00356FD0 A8 1F 00 0C */ lha r0, 0xc(r31) +/* 8035A074 00356FD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A078 00356FD8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8035A07C 00356FDC 4B FE 54 3D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A080 00356FE0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A084 00356FE4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035A088 00356FE8 38 A0 00 02 */ li r5, 2 +/* 8035A08C 00356FEC 4B FE 55 1D */ bl DoPut__13COutputStreamFPCvUl +/* 8035A090 00356FF0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8035A094 00356FF4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A098 00356FF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8035A09C 00356FFC 4B FE 54 1D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A0A0 00357000 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0A4 00357004 38 81 00 18 */ addi r4, r1, 0x18 +/* 8035A0A8 00357008 38 A0 00 04 */ li r5, 4 +/* 8035A0AC 0035700C 4B FE 54 FD */ bl DoPut__13COutputStreamFPCvUl +/* 8035A0B0 00357010 48 00 00 EC */ b lbl_8035A19C +lbl_8035A0B4: +/* 8035A0B4 00357014 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0B8 00357018 4B FE 54 01 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A0BC 0035701C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8035A0C0 00357020 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035A0C4 00357024 7C 03 00 40 */ cmplw r3, r0 +/* 8035A0C8 00357028 41 80 00 0C */ blt lbl_8035A0D4 +/* 8035A0CC 0035702C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0D0 00357030 4B FE 54 55 */ bl DoFlush__13COutputStreamFv +lbl_8035A0D4: +/* 8035A0D4 00357034 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8035A0D8 00357038 38 C0 00 01 */ li r6, 1 +/* 8035A0DC 0035703C 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035A0E0 00357040 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0E4 00357044 38 E5 00 01 */ addi r7, r5, 1 +/* 8035A0E8 00357048 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8035A0EC 0035704C 38 04 00 01 */ addi r0, r4, 1 +/* 8035A0F0 00357050 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8035A0F4 00357054 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035A0F8 00357058 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035A0FC 0035705C A8 1F 00 08 */ lha r0, 8(r31) +/* 8035A100 00357060 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8035A104 00357064 4B FE 53 B5 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A108 00357068 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A10C 0035706C 38 81 00 0A */ addi r4, r1, 0xa +/* 8035A110 00357070 38 A0 00 02 */ li r5, 2 +/* 8035A114 00357074 4B FE 54 95 */ bl DoPut__13COutputStreamFPCvUl +/* 8035A118 00357078 A8 1F 00 0A */ lha r0, 0xa(r31) +/* 8035A11C 0035707C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A120 00357080 B0 01 00 08 */ sth r0, 8(r1) +/* 8035A124 00357084 4B FE 53 95 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A128 00357088 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A12C 0035708C 38 81 00 08 */ addi r4, r1, 8 +/* 8035A130 00357090 38 A0 00 02 */ li r5, 2 +/* 8035A134 00357094 4B FE 54 75 */ bl DoPut__13COutputStreamFPCvUl +/* 8035A138 00357098 8B DF 00 0E */ lbz r30, 0xe(r31) +/* 8035A13C 0035709C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A140 003570A0 4B FE 53 79 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A144 003570A4 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8035A148 003570A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035A14C 003570AC 7C 03 00 40 */ cmplw r3, r0 +/* 8035A150 003570B0 41 80 00 0C */ blt lbl_8035A15C +/* 8035A154 003570B4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A158 003570B8 4B FE 53 CD */ bl DoFlush__13COutputStreamFv +lbl_8035A15C: +/* 8035A15C 003570BC 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8035A160 003570C0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A164 003570C4 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035A168 003570C8 38 C5 00 01 */ addi r6, r5, 1 +/* 8035A16C 003570CC 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8035A170 003570D0 38 04 00 01 */ addi r0, r4, 1 +/* 8035A174 003570D4 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8035A178 003570D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035A17C 003570DC 7F C5 21 AE */ stbx r30, r5, r4 +/* 8035A180 003570E0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8035A184 003570E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A188 003570E8 4B FE 53 31 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A18C 003570EC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A190 003570F0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8035A194 003570F4 38 A0 00 04 */ li r5, 4 +/* 8035A198 003570F8 4B FE 54 11 */ bl DoPut__13COutputStreamFPCvUl +lbl_8035A19C: +/* 8035A19C 003570FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A1A0 00357100 38 80 FF FF */ li r4, -1 +/* 8035A1A4 00357104 4B FE 51 1D */ bl __dt__16CMemoryStreamOutFv +/* 8035A1A8 00357108 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035A1AC 0035710C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035A1B0 00357110 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035A1B4 00357114 7C 08 03 A6 */ mtlr r0 +/* 8035A1B8 00357118 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035A1BC 0035711C 4E 80 00 20 */ blr + +.global GetPrimitive__17CTextRenderBufferCFi +GetPrimitive__17CTextRenderBufferCFi: +/* 8035A1C0 00357120 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035A1C4 00357124 7C 08 02 A6 */ mflr r0 +/* 8035A1C8 00357128 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035A1CC 0035712C 54 A0 10 3A */ slwi r0, r5, 2 +/* 8035A1D0 00357130 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8035A1D4 00357134 7C 7F 1B 78 */ mr r31, r3 +/* 8035A1D8 00357138 38 61 00 08 */ addi r3, r1, 8 +/* 8035A1DC 0035713C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8035A1E0 00357140 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8035A1E4 00357144 93 81 00 30 */ stw r28, 0x30(r1) +/* 8035A1E8 00357148 80 C4 00 30 */ lwz r6, 0x30(r4) +/* 8035A1EC 0035714C 80 A4 00 40 */ lwz r5, 0x40(r4) +/* 8035A1F0 00357150 7C C6 00 2E */ lwzx r6, r6, r0 +/* 8035A1F4 00357154 80 04 00 44 */ lwz r0, 0x44(r4) +/* 8035A1F8 00357158 7C 85 32 14 */ add r4, r5, r6 +/* 8035A1FC 0035715C 7C A6 00 50 */ subf r5, r6, r0 +/* 8035A200 00357160 4B FE 4F CD */ bl __ct__15CMemoryInStreamFPCvUl +/* 8035A204 00357164 38 61 00 08 */ addi r3, r1, 8 +/* 8035A208 00357168 4B FE 4B 05 */ bl ReadChar__12CInputStreamFv +/* 8035A20C 0035716C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8035A210 00357170 2C 00 00 01 */ cmpwi r0, 1 +/* 8035A214 00357174 41 82 00 78 */ beq lbl_8035A28C +/* 8035A218 00357178 40 80 00 DC */ bge lbl_8035A2F4 +/* 8035A21C 0035717C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035A220 00357180 40 80 00 08 */ bge lbl_8035A228 +/* 8035A224 00357184 48 00 00 D0 */ b lbl_8035A2F4 +lbl_8035A228: +/* 8035A228 00357188 38 61 00 08 */ addi r3, r1, 8 +/* 8035A22C 0035718C 4B FE 4A 85 */ bl ReadShort__12CInputStreamFv +/* 8035A230 00357190 7C 7E 07 34 */ extsh r30, r3 +/* 8035A234 00357194 38 61 00 08 */ addi r3, r1, 8 +/* 8035A238 00357198 4B FE 4A 79 */ bl ReadShort__12CInputStreamFv +/* 8035A23C 0035719C 7C 7D 07 34 */ extsh r29, r3 +/* 8035A240 003571A0 38 61 00 08 */ addi r3, r1, 8 +/* 8035A244 003571A4 4B FE 4A 6D */ bl ReadShort__12CInputStreamFv +/* 8035A248 003571A8 7C 7C 07 34 */ extsh r28, r3 +/* 8035A24C 003571AC 38 61 00 08 */ addi r3, r1, 8 +/* 8035A250 003571B0 4B FE 4A 35 */ bl ReadLong__12CInputStreamFv +/* 8035A254 003571B4 90 7F 00 00 */ stw r3, 0(r31) +/* 8035A258 003571B8 38 A0 00 00 */ li r5, 0 +/* 8035A25C 003571BC 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8035A260 003571C0 38 61 00 08 */ addi r3, r1, 8 +/* 8035A264 003571C4 90 BF 00 04 */ stw r5, 4(r31) +/* 8035A268 003571C8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8035A26C 003571CC 38 80 00 00 */ li r4, 0 +/* 8035A270 003571D0 B3 DF 00 08 */ sth r30, 8(r31) +/* 8035A274 003571D4 B3 BF 00 0A */ sth r29, 0xa(r31) +/* 8035A278 003571D8 B3 9F 00 0C */ sth r28, 0xc(r31) +/* 8035A27C 003571DC 98 BF 00 0E */ stb r5, 0xe(r31) +/* 8035A280 003571E0 90 01 00 08 */ stw r0, 8(r1) +/* 8035A284 003571E4 4B FE 4E 29 */ bl __dt__12CInputStreamFv +/* 8035A288 003571E8 48 00 00 A4 */ b lbl_8035A32C +lbl_8035A28C: +/* 8035A28C 003571EC 38 61 00 08 */ addi r3, r1, 8 +/* 8035A290 003571F0 4B FE 4A 21 */ bl ReadShort__12CInputStreamFv +/* 8035A294 003571F4 7C 7C 07 34 */ extsh r28, r3 +/* 8035A298 003571F8 38 61 00 08 */ addi r3, r1, 8 +/* 8035A29C 003571FC 4B FE 4A 15 */ bl ReadShort__12CInputStreamFv +/* 8035A2A0 00357200 7C 7D 07 34 */ extsh r29, r3 +/* 8035A2A4 00357204 38 61 00 08 */ addi r3, r1, 8 +/* 8035A2A8 00357208 4B FE 4A 65 */ bl ReadChar__12CInputStreamFv +/* 8035A2AC 0035720C 7C 7E 07 74 */ extsb r30, r3 +/* 8035A2B0 00357210 38 61 00 08 */ addi r3, r1, 8 +/* 8035A2B4 00357214 4B FE 49 D1 */ bl ReadLong__12CInputStreamFv +/* 8035A2B8 00357218 90 7F 00 00 */ stw r3, 0(r31) +/* 8035A2BC 0035721C 38 00 00 01 */ li r0, 1 +/* 8035A2C0 00357220 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 8035A2C4 00357224 38 A0 00 00 */ li r5, 0 +/* 8035A2C8 00357228 90 1F 00 04 */ stw r0, 4(r31) +/* 8035A2CC 0035722C 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 8035A2D0 00357230 38 61 00 08 */ addi r3, r1, 8 +/* 8035A2D4 00357234 38 80 00 00 */ li r4, 0 +/* 8035A2D8 00357238 B3 9F 00 08 */ sth r28, 8(r31) +/* 8035A2DC 0035723C B3 BF 00 0A */ sth r29, 0xa(r31) +/* 8035A2E0 00357240 B0 BF 00 0C */ sth r5, 0xc(r31) +/* 8035A2E4 00357244 9B DF 00 0E */ stb r30, 0xe(r31) +/* 8035A2E8 00357248 90 01 00 08 */ stw r0, 8(r1) +/* 8035A2EC 0035724C 4B FE 4D C1 */ bl __dt__12CInputStreamFv +/* 8035A2F0 00357250 48 00 00 3C */ b lbl_8035A32C +lbl_8035A2F4: +/* 8035A2F4 00357254 38 A0 00 00 */ li r5, 0 +/* 8035A2F8 00357258 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 8035A2FC 0035725C 90 BF 00 00 */ stw r5, 0(r31) +/* 8035A300 00357260 38 80 FF FF */ li r4, -1 +/* 8035A304 00357264 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 8035A308 00357268 38 61 00 08 */ addi r3, r1, 8 +/* 8035A30C 0035726C 90 9F 00 04 */ stw r4, 4(r31) +/* 8035A310 00357270 38 80 00 00 */ li r4, 0 +/* 8035A314 00357274 B0 BF 00 08 */ sth r5, 8(r31) +/* 8035A318 00357278 B0 BF 00 0A */ sth r5, 0xa(r31) +/* 8035A31C 0035727C B0 BF 00 0C */ sth r5, 0xc(r31) +/* 8035A320 00357280 98 BF 00 0E */ stb r5, 0xe(r31) +/* 8035A324 00357284 90 01 00 08 */ stw r0, 8(r1) +/* 8035A328 00357288 4B FE 4D 85 */ bl __dt__12CInputStreamFv +lbl_8035A32C: +/* 8035A32C 0035728C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035A330 00357290 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8035A334 00357294 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8035A338 00357298 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8035A33C 0035729C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8035A340 003572A0 7C 08 03 A6 */ mtlr r0 +/* 8035A344 003572A4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035A348 003572A8 4E 80 00 20 */ blr + +.global sub_8035a34c +sub_8035a34c: +/* 8035A34C 003572AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035A350 003572B0 7C 08 02 A6 */ mflr r0 +/* 8035A354 003572B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A358 003572B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035A35C 003572BC 7C 7F 1B 78 */ mr r31, r3 +/* 8035A360 003572C0 48 00 00 65 */ bl sub_8035a3c4 +/* 8035A364 003572C4 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 8035A368 003572C8 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8035A36C 003572CC 7C 63 00 50 */ subf r3, r3, r0 +/* 8035A370 003572D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035A374 003572D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035A378 003572D8 7C 08 03 A6 */ mtlr r0 +/* 8035A37C 003572DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035A380 003572E0 4E 80 00 20 */ blr + +.global GetOutStream__17CTextRenderBufferFv +GetOutStream__17CTextRenderBufferFv: +/* 8035A384 003572E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035A388 003572E8 7C 08 02 A6 */ mflr r0 +/* 8035A38C 003572EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A390 003572F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035A394 003572F4 7C 7F 1B 78 */ mr r31, r3 +/* 8035A398 003572F8 48 00 00 2D */ bl sub_8035a3c4 +/* 8035A39C 003572FC 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8035A3A0 00357300 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8035A3A4 00357304 7C 63 02 14 */ add r3, r3, r0 +/* 8035A3A8 00357308 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035A3AC 0035730C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035A3B0 00357310 7C 08 03 A6 */ mtlr r0 +/* 8035A3B4 00357314 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035A3B8 00357318 4E 80 00 20 */ blr + +.global SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode: +/* 8035A3BC 0035731C 90 83 00 00 */ stw r4, 0(r3) +/* 8035A3C0 00357320 4E 80 00 20 */ blr + +.global sub_8035a3c4 +sub_8035a3c4: +/* 8035A3C4 00357324 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035A3C8 00357328 7C 08 02 A6 */ mflr r0 +/* 8035A3CC 0035732C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A3D0 00357330 80 03 00 38 */ lwz r0, 0x38(r3) +/* 8035A3D4 00357334 2C 00 00 00 */ cmpwi r0, 0 +/* 8035A3D8 00357338 40 82 00 14 */ bne lbl_8035A3EC +/* 8035A3DC 0035733C 80 83 00 44 */ lwz r4, 0x44(r3) +/* 8035A3E0 00357340 38 63 00 34 */ addi r3, r3, 0x34 +/* 8035A3E4 00357344 38 AD 9E 20 */ addi r5, r13, lbl_805A89E0@sda21 +/* 8035A3E8 00357348 48 00 00 15 */ bl VerifyBuffer__17CTextRenderBufferFv +lbl_8035A3EC: +/* 8035A3EC 0035734C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035A3F0 00357350 7C 08 03 A6 */ mtlr r0 +/* 8035A3F4 00357354 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035A3F8 00357358 4E 80 00 20 */ blr + +.global VerifyBuffer__17CTextRenderBufferFv +VerifyBuffer__17CTextRenderBufferFv: +/* 8035A3FC 0035735C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035A400 00357360 7C 08 02 A6 */ mflr r0 +/* 8035A404 00357364 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035A408 00357368 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035A40C 0035736C 7C BF 2B 78 */ mr r31, r5 +/* 8035A410 00357370 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8035A414 00357374 7C 9E 23 78 */ mr r30, r4 +/* 8035A418 00357378 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8035A41C 0035737C 7C 7D 1B 78 */ mr r29, r3 +/* 8035A420 00357380 80 03 00 04 */ lwz r0, 4(r3) +/* 8035A424 00357384 7C 00 F0 00 */ cmpw r0, r30 +/* 8035A428 00357388 41 82 00 78 */ beq lbl_8035A4A0 +/* 8035A42C 0035738C 7C 1E 00 00 */ cmpw r30, r0 +/* 8035A430 00357390 40 81 00 3C */ ble lbl_8035A46C +/* 8035A434 00357394 4B F6 FF C9 */ bl "reserve__Q24rstl37vectorFi" +/* 8035A438 00357398 80 7D 00 04 */ lwz r3, 4(r29) +/* 8035A43C 0035739C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8035A440 003573A0 7C 83 F0 51 */ subf. r4, r3, r30 +/* 8035A444 003573A4 7C 60 1A 14 */ add r3, r0, r3 +/* 8035A448 003573A8 7C 89 03 A6 */ mtctr r4 +/* 8035A44C 003573AC 40 81 00 50 */ ble lbl_8035A49C +lbl_8035A450: +/* 8035A450 003573B0 28 03 00 00 */ cmplwi r3, 0 +/* 8035A454 003573B4 41 82 00 0C */ beq lbl_8035A460 +/* 8035A458 003573B8 88 1F 00 00 */ lbz r0, 0(r31) +/* 8035A45C 003573BC 98 03 00 00 */ stb r0, 0(r3) +lbl_8035A460: +/* 8035A460 003573C0 38 63 00 01 */ addi r3, r3, 1 +/* 8035A464 003573C4 42 00 FF EC */ bdnz lbl_8035A450 +/* 8035A468 003573C8 48 00 00 34 */ b lbl_8035A49C +lbl_8035A46C: +/* 8035A46C 003573CC 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8035A470 003573D0 7C 64 02 14 */ add r3, r4, r0 +/* 8035A474 003573D4 7C 84 F2 14 */ add r4, r4, r30 +/* 8035A478 003573D8 7C 04 18 50 */ subf r0, r4, r3 +/* 8035A47C 003573DC 90 61 00 08 */ stw r3, 8(r1) +/* 8035A480 003573E0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8035A484 003573E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 8035A488 003573E8 90 81 00 14 */ stw r4, 0x14(r1) +/* 8035A48C 003573EC 7C 09 03 A6 */ mtctr r0 +/* 8035A490 003573F0 7C 04 18 40 */ cmplw r4, r3 +/* 8035A494 003573F4 41 82 00 08 */ beq lbl_8035A49C +lbl_8035A498: +/* 8035A498 003573F8 42 00 00 00 */ bdnz lbl_8035A498 +lbl_8035A49C: +/* 8035A49C 003573FC 93 DD 00 04 */ stw r30, 4(r29) +lbl_8035A4A0: +/* 8035A4A0 00357400 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035A4A4 00357404 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035A4A8 00357408 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8035A4AC 0035740C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8035A4B0 00357410 7C 08 03 A6 */ mtlr r0 +/* 8035A4B4 00357414 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035A4B8 00357418 4E 80 00 20 */ blr + +.global Render__17CTextRenderBufferCFRC6CColorf +Render__17CTextRenderBufferCFRC6CColorf: +/* 8035A4BC 0035741C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8035A4C0 00357420 7C 08 02 A6 */ mflr r0 +/* 8035A4C4 00357424 90 01 01 24 */ stw r0, 0x124(r1) +/* 8035A4C8 00357428 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8035A4CC 0035742C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8035A4D0 00357430 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8035A4D4 00357434 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8035A4D8 00357438 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8035A4DC 0035743C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 8035A4E0 00357440 BE E1 00 CC */ stmw r23, 0xcc(r1) +/* 8035A4E4 00357444 7C 78 1B 78 */ mr r24, r3 +/* 8035A4E8 00357448 38 00 FF FF */ li r0, -1 +/* 8035A4EC 0035744C 98 03 00 4C */ stb r0, 0x4c(r3) +/* 8035A4F0 00357450 FF E0 08 90 */ fmr f31, f1 +/* 8035A4F4 00357454 7C 99 23 78 */ mr r25, r4 +/* 8035A4F8 00357458 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A4FC 0035745C 98 18 00 4D */ stb r0, 0x4d(r24) +/* 8035A500 00357460 38 C0 00 01 */ li r6, 1 +/* 8035A504 00357464 80 98 00 40 */ lwz r4, 0x40(r24) +/* 8035A508 00357468 80 B8 00 44 */ lwz r5, 0x44(r24) +/* 8035A50C 0035746C 4B FE 4D 01 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 8035A510 00357470 3B 78 00 54 */ addi r27, r24, 0x54 +/* 8035A514 00357474 48 00 06 60 */ b lbl_8035AB74 +lbl_8035A518: +/* 8035A518 00357478 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A51C 0035747C 4B FE 47 F1 */ bl ReadChar__12CInputStreamFv +/* 8035A520 00357480 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8035A524 00357484 2C 00 00 02 */ cmpwi r0, 2 +/* 8035A528 00357488 41 82 06 28 */ beq lbl_8035AB50 +/* 8035A52C 0035748C 40 80 00 14 */ bge lbl_8035A540 +/* 8035A530 00357490 2C 00 00 00 */ cmpwi r0, 0 +/* 8035A534 00357494 41 82 00 18 */ beq lbl_8035A54C +/* 8035A538 00357498 40 80 02 AC */ bge lbl_8035A7E4 +/* 8035A53C 0035749C 48 00 06 38 */ b lbl_8035AB74 +lbl_8035A540: +/* 8035A540 003574A0 2C 00 00 04 */ cmpwi r0, 4 +/* 8035A544 003574A4 40 80 06 30 */ bge lbl_8035AB74 +/* 8035A548 003574A8 48 00 06 1C */ b lbl_8035AB64 +lbl_8035A54C: +/* 8035A54C 003574AC 88 18 00 4E */ lbz r0, 0x4e(r24) +/* 8035A550 003574B0 7C 00 07 74 */ extsb r0, r0 +/* 8035A554 003574B4 2C 00 FF FF */ cmpwi r0, -1 +/* 8035A558 003574B8 41 82 00 4C */ beq lbl_8035A5A4 +/* 8035A55C 003574BC 80 98 00 10 */ lwz r4, 0x10(r24) +/* 8035A560 003574C0 54 00 18 38 */ slwi r0, r0, 3 +/* 8035A564 003574C4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035A568 003574C8 7C 84 02 14 */ add r4, r4, r0 +/* 8035A56C 003574CC 4B FE 69 3D */ bl __ct__6CTokenFRC6CToken +/* 8035A570 003574D0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8035A574 003574D4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035A578 003574D8 28 00 00 00 */ cmplwi r0, 0 +/* 8035A57C 003574DC 41 82 00 1C */ beq lbl_8035A598 +/* 8035A580 003574E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035A584 003574E4 4B FE 68 89 */ bl GetObj__6CTokenFv +/* 8035A588 003574E8 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A58C 003574EC 4B FA 59 E1 */ bl SetupRenderState__11CRasterFontFv +/* 8035A590 003574F0 38 00 FF FF */ li r0, -1 +/* 8035A594 003574F4 98 18 00 4E */ stb r0, 0x4e(r24) +lbl_8035A598: +/* 8035A598 003574F8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035A59C 003574FC 38 80 00 00 */ li r4, 0 +/* 8035A5A0 00357500 4B FE 68 A1 */ bl __dt__6CTokenFv +lbl_8035A5A4: +/* 8035A5A4 00357504 88 18 00 4F */ lbz r0, 0x4f(r24) +/* 8035A5A8 00357508 7C 00 07 74 */ extsb r0, r0 +/* 8035A5AC 0035750C 2C 00 FF FF */ cmpwi r0, -1 +/* 8035A5B0 00357510 41 82 00 1C */ beq lbl_8035A5CC +/* 8035A5B4 00357514 54 03 18 38 */ slwi r3, r0, 3 +/* 8035A5B8 00357518 38 03 00 04 */ addi r0, r3, 4 +/* 8035A5BC 0035751C 7C 7B 00 2E */ lwzx r3, r27, r0 +/* 8035A5C0 00357520 4B FB 39 05 */ bl Load__16CGraphicsPaletteCFv +/* 8035A5C4 00357524 38 00 FF FF */ li r0, -1 +/* 8035A5C8 00357528 98 18 00 4F */ stb r0, 0x4f(r24) +lbl_8035A5CC: +/* 8035A5CC 0035752C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5D0 00357530 4B FE 46 E1 */ bl ReadShort__12CInputStreamFv +/* 8035A5D4 00357534 7C 7E 07 34 */ extsh r30, r3 +/* 8035A5D8 00357538 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5DC 0035753C 4B FE 46 D5 */ bl ReadShort__12CInputStreamFv +/* 8035A5E0 00357540 7C 7D 07 34 */ extsh r29, r3 +/* 8035A5E4 00357544 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5E8 00357548 4B FE 46 C9 */ bl ReadShort__12CInputStreamFv +/* 8035A5EC 0035754C 7C 77 07 34 */ extsh r23, r3 +/* 8035A5F0 00357550 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5F4 00357554 4B FE 46 91 */ bl ReadLong__12CInputStreamFv +/* 8035A5F8 00357558 88 18 00 4C */ lbz r0, 0x4c(r24) +/* 8035A5FC 0035755C 7C 7A 1B 78 */ mr r26, r3 +/* 8035A600 00357560 7C 00 07 74 */ extsb r0, r0 +/* 8035A604 00357564 2C 00 FF FF */ cmpwi r0, -1 +/* 8035A608 00357568 41 82 05 6C */ beq lbl_8035AB74 +/* 8035A60C 0035756C 80 98 00 10 */ lwz r4, 0x10(r24) +/* 8035A610 00357570 54 00 18 38 */ slwi r0, r0, 3 +/* 8035A614 00357574 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A618 00357578 7C 84 02 14 */ add r4, r4, r0 +/* 8035A61C 0035757C 4B FE 68 8D */ bl __ct__6CTokenFRC6CToken +/* 8035A620 00357580 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8035A624 00357584 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035A628 00357588 28 00 00 00 */ cmplwi r0, 0 +/* 8035A62C 0035758C 41 82 01 A8 */ beq lbl_8035A7D4 +/* 8035A630 00357590 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A634 00357594 4B FE 67 D9 */ bl GetObj__6CTokenFv +/* 8035A638 00357598 56 F7 04 3E */ clrlwi r23, r23, 0x10 +/* 8035A63C 0035759C 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A640 003575A0 7E E4 BB 78 */ mr r4, r23 +/* 8035A644 003575A4 4B FA 60 55 */ bl GetGlyph__11CRasterFontCFw +/* 8035A648 003575A8 28 03 00 00 */ cmplwi r3, 0 +/* 8035A64C 003575AC 41 82 01 88 */ beq lbl_8035A7D4 +/* 8035A650 003575B0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A654 003575B4 4B FE 67 B9 */ bl GetObj__6CTokenFv +/* 8035A658 003575B8 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A65C 003575BC 7E E4 BB 78 */ mr r4, r23 +/* 8035A660 003575C0 4B FA 60 39 */ bl GetGlyph__11CRasterFontCFw +/* 8035A664 003575C4 93 41 00 10 */ stw r26, 0x10(r1) +/* 8035A668 003575C8 7C 7F 1B 78 */ mr r31, r3 +/* 8035A66C 003575CC 7F 25 CB 78 */ mr r5, r25 +/* 8035A670 003575D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035A674 003575D4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035A678 003575D8 48 00 8B 01 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035A67C 003575DC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8035A680 003575E0 38 60 00 00 */ li r3, 0 +/* 8035A684 003575E4 4B FA E5 C1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035A688 003575E8 38 60 00 98 */ li r3, 0x98 +/* 8035A68C 003575EC 38 80 00 00 */ li r4, 0 +/* 8035A690 003575F0 38 A0 00 04 */ li r5, 4 +/* 8035A694 003575F4 4B FA DE F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8035A698 003575F8 3C A0 43 30 */ lis r5, 0x4330 +/* 8035A69C 003575FC 6F C6 80 00 */ xoris r6, r30, 0x8000 +/* 8035A6A0 00357600 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8035A6A4 00357604 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 8035A6A8 00357608 C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2) +/* 8035A6AC 0035760C 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 8035A6B0 00357610 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8035A6B4 00357614 C0 62 CD 08 */ lfs f3, lbl_805AEA28@sda21(r2) +/* 8035A6B8 00357618 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8035A6BC 0035761C 90 61 00 74 */ stw r3, 0x74(r1) +/* 8035A6C0 00357620 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035A6C4 00357624 90 A1 00 70 */ stw r5, 0x70(r1) +/* 8035A6C8 00357628 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8035A6CC 0035762C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A6D0 00357630 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A6D4 00357634 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A6D8 00357638 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A6DC 0035763C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8035A6E0 00357640 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8035A6E4 00357644 90 A1 00 78 */ stw r5, 0x78(r1) +/* 8035A6E8 00357648 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A6EC 0035764C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A6F0 00357650 A8 1F 00 18 */ lha r0, 0x18(r31) +/* 8035A6F4 00357654 90 61 00 84 */ stw r3, 0x84(r1) +/* 8035A6F8 00357658 7C 1E 02 14 */ add r0, r30, r0 +/* 8035A6FC 0035765C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A700 00357660 90 A1 00 80 */ stw r5, 0x80(r1) +/* 8035A704 00357664 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8035A708 00357668 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 8035A70C 0035766C C8 41 00 78 */ lfd f2, 0x78(r1) +/* 8035A710 00357670 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035A714 00357674 90 C1 00 94 */ stw r6, 0x94(r1) +/* 8035A718 00357678 EC 02 20 28 */ fsubs f0, f2, f4 +/* 8035A71C 0035767C 90 A1 00 90 */ stw r5, 0x90(r1) +/* 8035A720 00357680 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A724 00357684 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 8035A728 00357688 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A72C 0035768C EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A730 00357690 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A734 00357694 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 8035A738 00357698 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8035A73C 0035769C 90 A1 00 88 */ stw r5, 0x88(r1) +/* 8035A740 003576A0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A744 003576A4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035A748 003576A8 A8 1F 00 1A */ lha r0, 0x1a(r31) +/* 8035A74C 003576AC 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 8035A750 003576B0 7C 1D 02 14 */ add r0, r29, r0 +/* 8035A754 003576B4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A758 003576B8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A75C 003576BC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8035A760 003576C0 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8035A764 003576C4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A768 003576C8 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A76C 003576CC 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8035A770 003576D0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A774 003576D4 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8035A778 003576D8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8035A77C 003576DC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A780 003576E0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A784 003576E4 A8 1F 00 18 */ lha r0, 0x18(r31) +/* 8035A788 003576E8 A8 7F 00 1A */ lha r3, 0x1a(r31) +/* 8035A78C 003576EC 7C 1E 02 14 */ add r0, r30, r0 +/* 8035A790 003576F0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A794 003576F4 7C 7D 1A 14 */ add r3, r29, r3 +/* 8035A798 003576F8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035A79C 003576FC 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8035A7A0 00357700 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8035A7A4 00357704 90 01 00 9C */ stw r0, 0x9c(r1) +/* 8035A7A8 00357708 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A7AC 0035770C C8 21 00 98 */ lfd f1, 0x98(r1) +/* 8035A7B0 00357710 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A7B4 00357714 EC 01 20 28 */ fsubs f0, f1, f4 +/* 8035A7B8 00357718 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A7BC 0035771C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A7C0 00357720 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8035A7C4 00357724 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8035A7C8 00357728 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A7CC 0035772C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A7D0 00357730 4B FA DD B1 */ bl End__3CGXFv +lbl_8035A7D4: +/* 8035A7D4 00357734 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A7D8 00357738 38 80 00 00 */ li r4, 0 +/* 8035A7DC 0035773C 4B FE 66 65 */ bl __dt__6CTokenFv +/* 8035A7E0 00357740 48 00 03 94 */ b lbl_8035AB74 +lbl_8035A7E4: +/* 8035A7E4 00357744 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A7E8 00357748 4B FE 44 C9 */ bl ReadShort__12CInputStreamFv +/* 8035A7EC 0035774C 7C 7D 07 34 */ extsh r29, r3 +/* 8035A7F0 00357750 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A7F4 00357754 4B FE 44 BD */ bl ReadShort__12CInputStreamFv +/* 8035A7F8 00357758 7C 7E 07 34 */ extsh r30, r3 +/* 8035A7FC 0035775C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A800 00357760 4B FE 45 0D */ bl ReadChar__12CInputStreamFv +/* 8035A804 00357764 7C 77 07 74 */ extsb r23, r3 +/* 8035A808 00357768 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A80C 0035776C 4B FE 44 79 */ bl ReadLong__12CInputStreamFv +/* 8035A810 00357770 1C 17 00 1C */ mulli r0, r23, 0x1c +/* 8035A814 00357774 80 98 00 20 */ lwz r4, 0x20(r24) +/* 8035A818 00357778 7C 7F 1B 78 */ mr r31, r3 +/* 8035A81C 0035777C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035A820 00357780 7F 84 02 14 */ add r28, r4, r0 +/* 8035A824 00357784 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8035A828 00357788 80 9C 00 08 */ lwz r4, 8(r28) +/* 8035A82C 0035778C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8035A830 00357790 80 DC 00 10 */ lwz r6, 0x10(r28) +/* 8035A834 00357794 FC 00 00 1E */ fctiwz f0, f0 +/* 8035A838 00357798 D8 01 00 A0 */ stfd f0, 0xa0(r1) +/* 8035A83C 0035779C 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 8035A840 003577A0 7C 05 23 D6 */ divw r0, r5, r4 +/* 8035A844 003577A4 7C 00 21 D6 */ mullw r0, r0, r4 +/* 8035A848 003577A8 7C 00 28 50 */ subf r0, r0, r5 +/* 8035A84C 003577AC 54 00 18 38 */ slwi r0, r0, 3 +/* 8035A850 003577B0 7C 86 02 14 */ add r4, r6, r0 +/* 8035A854 003577B4 4B FE 66 55 */ bl __ct__6CTokenFRC6CToken +/* 8035A858 003577B8 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8035A85C 003577BC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035A860 003577C0 28 00 00 00 */ cmplwi r0, 0 +/* 8035A864 003577C4 41 82 02 DC */ beq lbl_8035AB40 +/* 8035A868 003577C8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035A86C 003577CC 4B FE 65 A1 */ bl GetObj__6CTokenFv +/* 8035A870 003577D0 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A874 003577D4 38 80 00 00 */ li r4, 0 +/* 8035A878 003577D8 38 A0 00 00 */ li r5, 0 +/* 8035A87C 003577DC 4B FB 4E C1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8035A880 003577E0 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 8035A884 003577E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035A888 003577E8 4B FE 66 21 */ bl __ct__6CTokenFRC6CToken +/* 8035A88C 003577EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035A890 003577F0 4B FE 65 7D */ bl GetObj__6CTokenFv +/* 8035A894 003577F4 80 83 00 04 */ lwz r4, 4(r3) +/* 8035A898 003577F8 3C 00 43 30 */ lis r0, 0x4330 +/* 8035A89C 003577FC 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8035A8A0 00357800 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035A8A4 00357804 A8 04 00 04 */ lha r0, 4(r4) +/* 8035A8A8 00357808 38 80 00 00 */ li r4, 0 +/* 8035A8AC 0035780C C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 8035A8B0 00357810 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A8B4 00357814 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8035A8B8 00357818 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035A8BC 0035781C C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 8035A8C0 00357820 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8035A8C4 00357824 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035A8C8 00357828 FC 00 00 1E */ fctiwz f0, f0 +/* 8035A8CC 0035782C D8 01 00 98 */ stfd f0, 0x98(r1) +/* 8035A8D0 00357830 83 41 00 9C */ lwz r26, 0x9c(r1) +/* 8035A8D4 00357834 4B FE 65 6D */ bl __dt__6CTokenFv +/* 8035A8D8 00357838 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 8035A8DC 0035783C 7F 5A 07 34 */ extsh r26, r26 +/* 8035A8E0 00357840 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035A8E4 00357844 4B FE 65 C5 */ bl __ct__6CTokenFRC6CToken +/* 8035A8E8 00357848 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035A8EC 0035784C 4B FE 65 21 */ bl GetObj__6CTokenFv +/* 8035A8F0 00357850 80 83 00 04 */ lwz r4, 4(r3) +/* 8035A8F4 00357854 3C 00 43 30 */ lis r0, 0x4330 +/* 8035A8F8 00357858 90 01 00 90 */ stw r0, 0x90(r1) +/* 8035A8FC 0035785C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035A900 00357860 A8 04 00 06 */ lha r0, 6(r4) +/* 8035A904 00357864 38 80 00 00 */ li r4, 0 +/* 8035A908 00357868 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 8035A90C 0035786C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A910 00357870 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8035A914 00357874 90 01 00 94 */ stw r0, 0x94(r1) +/* 8035A918 00357878 C8 21 00 90 */ lfd f1, 0x90(r1) +/* 8035A91C 0035787C EC 21 10 28 */ fsubs f1, f1, f2 +/* 8035A920 00357880 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035A924 00357884 FC 00 00 1E */ fctiwz f0, f0 +/* 8035A928 00357888 D8 01 00 88 */ stfd f0, 0x88(r1) +/* 8035A92C 0035788C 82 E1 00 8C */ lwz r23, 0x8c(r1) +/* 8035A930 00357890 4B FE 65 11 */ bl __dt__6CTokenFv +/* 8035A934 00357894 C0 5C 00 14 */ lfs f2, 0x14(r28) +/* 8035A938 00357898 38 60 00 00 */ li r3, 0 +/* 8035A93C 0035789C C0 22 CD 0C */ lfs f1, lbl_805AEA2C@sda21(r2) +/* 8035A940 003578A0 38 80 00 1C */ li r4, 0x1c +/* 8035A944 003578A4 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8035A948 003578A8 EF C2 00 72 */ fmuls f30, f2, f1 +/* 8035A94C 003578AC EF A0 00 72 */ fmuls f29, f0, f1 +/* 8035A950 003578B0 4B FA E0 4D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8035A954 003578B4 38 60 00 00 */ li r3, 0 +/* 8035A958 003578B8 38 80 00 0C */ li r4, 0xc +/* 8035A95C 003578BC 4B FA E0 85 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035A960 003578C0 38 60 00 00 */ li r3, 0 +/* 8035A964 003578C4 38 80 00 0F */ li r4, 0xf +/* 8035A968 003578C8 38 A0 00 08 */ li r5, 8 +/* 8035A96C 003578CC 38 C0 00 0E */ li r6, 0xe +/* 8035A970 003578D0 38 E0 00 0F */ li r7, 0xf +/* 8035A974 003578D4 4B FA E2 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035A978 003578D8 38 60 00 00 */ li r3, 0 +/* 8035A97C 003578DC 38 80 00 07 */ li r4, 7 +/* 8035A980 003578E0 38 A0 00 04 */ li r5, 4 +/* 8035A984 003578E4 38 C0 00 06 */ li r6, 6 +/* 8035A988 003578E8 38 E0 00 07 */ li r7, 7 +/* 8035A98C 003578EC 4B FA E2 09 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035A990 003578F0 38 60 00 00 */ li r3, 0 +/* 8035A994 003578F4 4B FA D2 BD */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8035A998 003578F8 3C 60 80 3E */ lis r3, lbl_803D8350@ha +/* 8035A99C 003578FC 38 63 83 50 */ addi r3, r3, lbl_803D8350@l +/* 8035A9A0 00357900 4B FA D4 89 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8035A9A4 00357904 38 60 00 00 */ li r3, 0 +/* 8035A9A8 00357908 4B FA E4 A9 */ bl SetNumChans__3CGXFUc +/* 8035A9AC 0035790C 38 60 00 01 */ li r3, 1 +/* 8035A9B0 00357910 4B FA E4 65 */ bl SetNumTexGens__3CGXFUc +/* 8035A9B4 00357914 38 60 00 01 */ li r3, 1 +/* 8035A9B8 00357918 4B FA E2 D9 */ bl SetNumTevStages__3CGXFUc +/* 8035A9BC 0035791C 38 60 00 00 */ li r3, 0 +/* 8035A9C0 00357920 38 80 00 00 */ li r4, 0 +/* 8035A9C4 00357924 38 A0 00 00 */ li r5, 0 +/* 8035A9C8 00357928 38 C0 00 FF */ li r6, 0xff +/* 8035A9CC 0035792C 4B FA DF 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035A9D0 00357930 38 60 00 00 */ li r3, 0 +/* 8035A9D4 00357934 38 80 00 01 */ li r4, 1 +/* 8035A9D8 00357938 38 A0 00 04 */ li r5, 4 +/* 8035A9DC 0035793C 38 C0 00 3C */ li r6, 0x3c +/* 8035A9E0 00357940 38 E0 00 00 */ li r7, 0 +/* 8035A9E4 00357944 39 00 00 7D */ li r8, 0x7d +/* 8035A9E8 00357948 4B FA DC E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035A9EC 0035794C 93 E1 00 08 */ stw r31, 8(r1) +/* 8035A9F0 00357950 7F 25 CB 78 */ mr r5, r25 +/* 8035A9F4 00357954 38 61 00 0C */ addi r3, r1, 0xc +/* 8035A9F8 00357958 38 81 00 08 */ addi r4, r1, 8 +/* 8035A9FC 0035795C 48 00 87 7D */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035AA00 00357960 38 81 00 0C */ addi r4, r1, 0xc +/* 8035AA04 00357964 38 60 00 00 */ li r3, 0 +/* 8035AA08 00357968 4B FA E2 3D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035AA0C 0035796C 38 60 00 98 */ li r3, 0x98 +/* 8035AA10 00357970 38 80 00 00 */ li r4, 0 +/* 8035AA14 00357974 38 A0 00 04 */ li r5, 4 +/* 8035AA18 00357978 4B FA DB 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8035AA1C 0035797C 3C C0 43 30 */ lis r6, 0x4330 +/* 8035AA20 00357980 6F A7 80 00 */ xoris r7, r29, 0x8000 +/* 8035AA24 00357984 90 E1 00 84 */ stw r7, 0x84(r1) +/* 8035AA28 00357988 6F C4 80 00 */ xoris r4, r30, 0x8000 +/* 8035AA2C 0035798C C0 02 CD 0C */ lfs f0, lbl_805AEA2C@sda21(r2) +/* 8035AA30 00357990 7C 1D D2 14 */ add r0, r29, r26 +/* 8035AA34 00357994 90 C1 00 80 */ stw r6, 0x80(r1) +/* 8035AA38 00357998 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8035AA3C 0035799C C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2) +/* 8035AA40 003579A0 7E E0 07 34 */ extsh r0, r23 +/* 8035AA44 003579A4 C8 21 00 80 */ lfd f1, 0x80(r1) +/* 8035AA48 003579A8 7C 1E 02 14 */ add r0, r30, r0 +/* 8035AA4C 003579AC 90 81 00 7C */ stw r4, 0x7c(r1) +/* 8035AA50 003579B0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035AA54 003579B4 EC 61 20 28 */ fsubs f3, f1, f4 +/* 8035AA58 003579B8 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8035AA5C 003579BC 90 C1 00 78 */ stw r6, 0x78(r1) +/* 8035AA60 003579C0 EC C0 F0 28 */ fsubs f6, f0, f30 +/* 8035AA64 003579C4 C0 42 CD 08 */ lfs f2, lbl_805AEA28@sda21(r2) +/* 8035AA68 003579C8 EC A0 E8 2A */ fadds f5, f0, f29 +/* 8035AA6C 003579CC C8 21 00 78 */ lfd f1, 0x78(r1) +/* 8035AA70 003579D0 EC E0 F0 2A */ fadds f7, f0, f30 +/* 8035AA74 003579D4 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) +/* 8035AA78 003579D8 EC 60 E8 28 */ fsubs f3, f0, f29 +/* 8035AA7C 003579DC EC 01 20 28 */ fsubs f0, f1, f4 +/* 8035AA80 003579E0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AA84 003579E4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AA88 003579E8 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5) +/* 8035AA8C 003579EC 90 61 00 74 */ stw r3, 0x74(r1) +/* 8035AA90 003579F0 90 C1 00 70 */ stw r6, 0x70(r1) +/* 8035AA94 003579F4 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8035AA98 003579F8 90 81 00 6C */ stw r4, 0x6c(r1) +/* 8035AA9C 003579FC EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035AAA0 00357A00 90 C1 00 68 */ stw r6, 0x68(r1) +/* 8035AAA4 00357A04 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 8035AAA8 00357A08 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8035AAAC 00357A0C D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8035AAB0 00357A10 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035AAB4 00357A14 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AAB8 00357A18 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AABC 00357A1C D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5) +/* 8035AAC0 00357A20 90 E1 00 AC */ stw r7, 0xac(r1) +/* 8035AAC4 00357A24 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 8035AAC8 00357A28 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8035AACC 00357A2C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035AAD0 00357A30 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035AAD4 00357A34 90 C1 00 B0 */ stw r6, 0xb0(r1) +/* 8035AAD8 00357A38 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 8035AADC 00357A3C C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 8035AAE0 00357A40 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8035AAE4 00357A44 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035AAE8 00357A48 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AAEC 00357A4C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AAF0 00357A50 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5) +/* 8035AAF4 00357A54 90 61 00 BC */ stw r3, 0xbc(r1) +/* 8035AAF8 00357A58 90 C1 00 B8 */ stw r6, 0xb8(r1) +/* 8035AAFC 00357A5C C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 8035AB00 00357A60 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8035AB04 00357A64 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035AB08 00357A68 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 8035AB0C 00357A6C D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) +/* 8035AB10 00357A70 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 8035AB14 00357A74 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8035AB18 00357A78 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035AB1C 00357A7C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AB20 00357A80 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AB24 00357A84 D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5) +/* 8035AB28 00357A88 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) +/* 8035AB2C 00357A8C 4B FA DA 55 */ bl End__3CGXFv +/* 8035AB30 00357A90 88 18 00 4C */ lbz r0, 0x4c(r24) +/* 8035AB34 00357A94 98 18 00 4E */ stb r0, 0x4e(r24) +/* 8035AB38 00357A98 88 18 00 4D */ lbz r0, 0x4d(r24) +/* 8035AB3C 00357A9C 98 18 00 4F */ stb r0, 0x4f(r24) +lbl_8035AB40: +/* 8035AB40 00357AA0 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035AB44 00357AA4 38 80 00 00 */ li r4, 0 +/* 8035AB48 00357AA8 4B FE 62 F9 */ bl __dt__6CTokenFv +/* 8035AB4C 00357AAC 48 00 00 28 */ b lbl_8035AB74 +lbl_8035AB50: +/* 8035AB50 00357AB0 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035AB54 00357AB4 4B FE 41 B9 */ bl ReadChar__12CInputStreamFv +/* 8035AB58 00357AB8 98 78 00 4E */ stb r3, 0x4e(r24) +/* 8035AB5C 00357ABC 98 78 00 4C */ stb r3, 0x4c(r24) +/* 8035AB60 00357AC0 48 00 00 14 */ b lbl_8035AB74 +lbl_8035AB64: +/* 8035AB64 00357AC4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035AB68 00357AC8 4B FE 41 A5 */ bl ReadChar__12CInputStreamFv +/* 8035AB6C 00357ACC 98 78 00 4F */ stb r3, 0x4f(r24) +/* 8035AB70 00357AD0 98 78 00 4D */ stb r3, 0x4d(r24) +lbl_8035AB74: +/* 8035AB74 00357AD4 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8035AB78 00357AD8 80 18 00 44 */ lwz r0, 0x44(r24) +/* 8035AB7C 00357ADC 7C 03 00 40 */ cmplw r3, r0 +/* 8035AB80 00357AE0 41 80 F9 98 */ blt lbl_8035A518 +/* 8035AB84 00357AE4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8035AB88 00357AE8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035AB8C 00357AEC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8035AB90 00357AF0 38 80 00 00 */ li r4, 0 +/* 8035AB94 00357AF4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8035AB98 00357AF8 4B FE 45 15 */ bl __dt__12CInputStreamFv +/* 8035AB9C 00357AFC E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8035ABA0 00357B00 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8035ABA4 00357B04 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8035ABA8 00357B08 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8035ABAC 00357B0C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8035ABB0 00357B10 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8035ABB4 00357B14 BA E1 00 CC */ lmw r23, 0xcc(r1) +/* 8035ABB8 00357B18 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8035ABBC 00357B1C 7C 08 03 A6 */ mtlr r0 +/* 8035ABC0 00357B20 38 21 01 20 */ addi r1, r1, 0x120 +/* 8035ABC4 00357B24 4E 80 00 20 */ blr + +.global AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef +AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef: +/* 8035ABC8 00357B28 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8035ABCC 00357B2C 7C 08 02 A6 */ mflr r0 +/* 8035ABD0 00357B30 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035ABD4 00357B34 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8035ABD8 00357B38 7C BF 2B 78 */ mr r31, r5 +/* 8035ABDC 00357B3C 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8035ABE0 00357B40 7C 9E 23 78 */ mr r30, r4 +/* 8035ABE4 00357B44 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8035ABE8 00357B48 7C 7D 1B 78 */ mr r29, r3 +/* 8035ABEC 00357B4C 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8035ABF0 00357B50 80 03 00 00 */ lwz r0, 0(r3) +/* 8035ABF4 00357B54 2C 00 00 01 */ cmpwi r0, 1 +/* 8035ABF8 00357B58 40 82 01 B8 */ bne lbl_8035ADB0 +/* 8035ABFC 00357B5C 4B FF F7 51 */ bl sub_8035a34c +/* 8035AC00 00357B60 7C 7C 1B 78 */ mr r28, r3 +/* 8035AC04 00357B64 7F A3 EB 78 */ mr r3, r29 +/* 8035AC08 00357B68 4B FF F7 7D */ bl GetOutStream__17CTextRenderBufferFv +/* 8035AC0C 00357B6C 7C 64 1B 78 */ mr r4, r3 +/* 8035AC10 00357B70 7F 85 E3 78 */ mr r5, r28 +/* 8035AC14 00357B74 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AC18 00357B78 38 C0 00 01 */ li r6, 1 +/* 8035AC1C 00357B7C 38 E0 00 40 */ li r7, 0x40 +/* 8035AC20 00357B80 4B FE 47 1D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035AC24 00357B84 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8035AC28 00357B88 38 7D 00 24 */ addi r3, r29, 0x24 +/* 8035AC2C 00357B8C 83 9D 00 48 */ lwz r28, 0x48(r29) +/* 8035AC30 00357B90 38 84 00 01 */ addi r4, r4, 1 +/* 8035AC34 00357B94 4B CF F0 75 */ bl "reserve__Q24rstl36vectorFi" +/* 8035AC38 00357B98 80 1D 00 28 */ lwz r0, 0x28(r29) +/* 8035AC3C 00357B9C 80 BD 00 2C */ lwz r5, 0x2c(r29) +/* 8035AC40 00357BA0 7C 00 28 00 */ cmpw r0, r5 +/* 8035AC44 00357BA4 41 80 00 1C */ blt lbl_8035AC60 +/* 8035AC48 00357BA8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035AC4C 00357BAC 38 7D 00 24 */ addi r3, r29, 0x24 +/* 8035AC50 00357BB0 38 80 00 04 */ li r4, 4 +/* 8035AC54 00357BB4 41 82 00 08 */ beq lbl_8035AC5C +/* 8035AC58 00357BB8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035AC5C: +/* 8035AC5C 00357BBC 4B CF F0 4D */ bl "reserve__Q24rstl36vectorFi" +lbl_8035AC60: +/* 8035AC60 00357BC0 80 1D 00 28 */ lwz r0, 0x28(r29) +/* 8035AC64 00357BC4 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8035AC68 00357BC8 54 00 10 3A */ slwi r0, r0, 2 +/* 8035AC6C 00357BCC 7C 63 02 15 */ add. r3, r3, r0 +/* 8035AC70 00357BD0 41 82 00 08 */ beq lbl_8035AC78 +/* 8035AC74 00357BD4 93 83 00 00 */ stw r28, 0(r3) +lbl_8035AC78: +/* 8035AC78 00357BD8 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8035AC7C 00357BDC 38 7D 00 14 */ addi r3, r29, 0x14 +/* 8035AC80 00357BE0 38 04 00 01 */ addi r0, r4, 1 +/* 8035AC84 00357BE4 90 1D 00 28 */ stw r0, 0x28(r29) +/* 8035AC88 00357BE8 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 8035AC8C 00357BEC 38 84 00 01 */ addi r4, r4, 1 +/* 8035AC90 00357BF0 4B F6 F5 E9 */ bl sub_802ca278 +/* 8035AC94 00357BF4 83 9D 00 18 */ lwz r28, 0x18(r29) +/* 8035AC98 00357BF8 7F E4 FB 78 */ mr r4, r31 +/* 8035AC9C 00357BFC 38 7D 00 14 */ addi r3, r29, 0x14 +/* 8035ACA0 00357C00 48 00 01 3D */ bl sub_8035addc +/* 8035ACA4 00357C04 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACA8 00357C08 4B FE 48 11 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035ACAC 00357C0C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8035ACB0 00357C10 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035ACB4 00357C14 7C 03 00 40 */ cmplw r3, r0 +/* 8035ACB8 00357C18 41 80 00 0C */ blt lbl_8035ACC4 +/* 8035ACBC 00357C1C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACC0 00357C20 4B FE 48 65 */ bl DoFlush__13COutputStreamFv +lbl_8035ACC4: +/* 8035ACC4 00357C24 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8035ACC8 00357C28 38 C0 00 01 */ li r6, 1 +/* 8035ACCC 00357C2C 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8035ACD0 00357C30 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACD4 00357C34 38 E5 00 01 */ addi r7, r5, 1 +/* 8035ACD8 00357C38 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8035ACDC 00357C3C 38 04 00 01 */ addi r0, r4, 1 +/* 8035ACE0 00357C40 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8035ACE4 00357C44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035ACE8 00357C48 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035ACEC 00357C4C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8035ACF0 00357C50 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8035ACF4 00357C54 4B FE 47 C5 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035ACF8 00357C58 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACFC 00357C5C 38 81 00 0A */ addi r4, r1, 0xa +/* 8035AD00 00357C60 38 A0 00 02 */ li r5, 2 +/* 8035AD04 00357C64 4B FE 48 A5 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AD08 00357C68 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035AD0C 00357C6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD10 00357C70 B0 01 00 08 */ sth r0, 8(r1) +/* 8035AD14 00357C74 4B FE 47 A5 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AD18 00357C78 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD1C 00357C7C 38 81 00 08 */ addi r4, r1, 8 +/* 8035AD20 00357C80 38 A0 00 02 */ li r5, 2 +/* 8035AD24 00357C84 4B FE 48 85 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AD28 00357C88 7F 9C 07 74 */ extsb r28, r28 +/* 8035AD2C 00357C8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD30 00357C90 4B FE 47 89 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AD34 00357C94 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8035AD38 00357C98 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035AD3C 00357C9C 7C 03 00 40 */ cmplw r3, r0 +/* 8035AD40 00357CA0 41 80 00 0C */ blt lbl_8035AD4C +/* 8035AD44 00357CA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD48 00357CA8 4B FE 47 DD */ bl DoFlush__13COutputStreamFv +lbl_8035AD4C: +/* 8035AD4C 00357CAC 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035AD50 00357CB0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8035AD54 00357CB4 38 A4 00 01 */ addi r5, r4, 1 +/* 8035AD58 00357CB8 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8035AD5C 00357CBC 38 03 00 01 */ addi r0, r3, 1 +/* 8035AD60 00357CC0 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8035AD64 00357CC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035AD68 00357CC8 7F 84 19 AE */ stbx r28, r4, r3 +/* 8035AD6C 00357CCC 4B FE F2 41 */ bl White__6CColorFv +/* 8035AD70 00357CD0 80 03 00 00 */ lwz r0, 0(r3) +/* 8035AD74 00357CD4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD78 00357CD8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035AD7C 00357CDC 4B FE 47 3D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AD80 00357CE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD84 00357CE4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035AD88 00357CE8 38 A0 00 04 */ li r5, 4 +/* 8035AD8C 00357CEC 4B FE 48 1D */ bl DoPut__13COutputStreamFPCvUl +/* 8035AD90 00357CF0 80 BD 00 48 */ lwz r5, 0x48(r29) +/* 8035AD94 00357CF4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD98 00357CF8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8035AD9C 00357CFC 38 80 FF FF */ li r4, -1 +/* 8035ADA0 00357D00 7C 05 02 14 */ add r0, r5, r0 +/* 8035ADA4 00357D04 90 1D 00 48 */ stw r0, 0x48(r29) +/* 8035ADA8 00357D08 4B FE 45 19 */ bl __dt__16CMemoryStreamOutFv +/* 8035ADAC 00357D0C 48 00 00 10 */ b lbl_8035ADBC +lbl_8035ADB0: +/* 8035ADB0 00357D10 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 8035ADB4 00357D14 38 03 00 0A */ addi r0, r3, 0xa +/* 8035ADB8 00357D18 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_8035ADBC: +/* 8035ADBC 00357D1C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035ADC0 00357D20 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035ADC4 00357D24 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035ADC8 00357D28 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8035ADCC 00357D2C 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 8035ADD0 00357D30 7C 08 03 A6 */ mtlr r0 +/* 8035ADD4 00357D34 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035ADD8 00357D38 4E 80 00 20 */ blr + +.global sub_8035addc +sub_8035addc: +/* 8035ADDC 00357D3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035ADE0 00357D40 7C 08 02 A6 */ mflr r0 +/* 8035ADE4 00357D44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035ADE8 00357D48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035ADEC 00357D4C 7C 9F 23 78 */ mr r31, r4 +/* 8035ADF0 00357D50 93 C1 00 08 */ stw r30, 8(r1) +/* 8035ADF4 00357D54 7C 7E 1B 78 */ mr r30, r3 +/* 8035ADF8 00357D58 80 03 00 04 */ lwz r0, 4(r3) +/* 8035ADFC 00357D5C 80 A3 00 08 */ lwz r5, 8(r3) +/* 8035AE00 00357D60 7C 00 28 00 */ cmpw r0, r5 +/* 8035AE04 00357D64 41 80 00 18 */ blt lbl_8035AE1C +/* 8035AE08 00357D68 2C 05 00 00 */ cmpwi r5, 0 +/* 8035AE0C 00357D6C 38 80 00 04 */ li r4, 4 +/* 8035AE10 00357D70 41 82 00 08 */ beq lbl_8035AE18 +/* 8035AE14 00357D74 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035AE18: +/* 8035AE18 00357D78 4B F6 F4 61 */ bl sub_802ca278 +lbl_8035AE1C: +/* 8035AE1C 00357D7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035AE20 00357D80 7F E4 FB 78 */ mr r4, r31 +/* 8035AE24 00357D84 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035AE28 00357D88 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8035AE2C 00357D8C 7C 63 02 14 */ add r3, r3, r0 +/* 8035AE30 00357D90 48 00 00 29 */ bl sub_8035ae58 +/* 8035AE34 00357D94 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035AE38 00357D98 38 03 00 01 */ addi r0, r3, 1 +/* 8035AE3C 00357D9C 90 1E 00 04 */ stw r0, 4(r30) +/* 8035AE40 00357DA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035AE44 00357DA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035AE48 00357DA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035AE4C 00357DAC 7C 08 03 A6 */ mtlr r0 +/* 8035AE50 00357DB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035AE54 00357DB4 4E 80 00 20 */ blr + +.global sub_8035ae58 +sub_8035ae58: +/* 8035AE58 00357DB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035AE5C 00357DBC 7C 08 02 A6 */ mflr r0 +/* 8035AE60 00357DC0 28 03 00 00 */ cmplwi r3, 0 +/* 8035AE64 00357DC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035AE68 00357DC8 41 82 00 08 */ beq lbl_8035AE70 +/* 8035AE6C 00357DCC 4B F6 DB 79 */ bl sub_802c89e4 +lbl_8035AE70: +/* 8035AE70 00357DD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035AE74 00357DD4 7C 08 03 A6 */ mtlr r0 +/* 8035AE78 00357DD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035AE7C 00357DDC 4E 80 00 20 */ blr + +.global AddCharacter__17CTextRenderBufferFRC9CVector2isUi +AddCharacter__17CTextRenderBufferFRC9CVector2isUi: +/* 8035AE80 00357DE0 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8035AE84 00357DE4 7C 08 02 A6 */ mflr r0 +/* 8035AE88 00357DE8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8035AE8C 00357DEC BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8035AE90 00357DF0 7C 7C 1B 78 */ mr r28, r3 +/* 8035AE94 00357DF4 7C 9D 23 78 */ mr r29, r4 +/* 8035AE98 00357DF8 7C BE 2B 78 */ mr r30, r5 +/* 8035AE9C 00357DFC 7C DF 33 78 */ mr r31, r6 +/* 8035AEA0 00357E00 80 03 00 00 */ lwz r0, 0(r3) +/* 8035AEA4 00357E04 2C 00 00 01 */ cmpwi r0, 1 +/* 8035AEA8 00357E08 40 82 01 68 */ bne lbl_8035B010 +/* 8035AEAC 00357E0C 4B FF F4 A1 */ bl sub_8035a34c +/* 8035AEB0 00357E10 7C 7B 1B 78 */ mr r27, r3 +/* 8035AEB4 00357E14 7F 83 E3 78 */ mr r3, r28 +/* 8035AEB8 00357E18 4B FF F4 CD */ bl GetOutStream__17CTextRenderBufferFv +/* 8035AEBC 00357E1C 7C 64 1B 78 */ mr r4, r3 +/* 8035AEC0 00357E20 7F 65 DB 78 */ mr r5, r27 +/* 8035AEC4 00357E24 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AEC8 00357E28 38 C0 00 01 */ li r6, 1 +/* 8035AECC 00357E2C 38 E0 00 40 */ li r7, 0x40 +/* 8035AED0 00357E30 4B FE 44 6D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035AED4 00357E34 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8035AED8 00357E38 38 7C 00 24 */ addi r3, r28, 0x24 +/* 8035AEDC 00357E3C 83 7C 00 48 */ lwz r27, 0x48(r28) +/* 8035AEE0 00357E40 38 84 00 01 */ addi r4, r4, 1 +/* 8035AEE4 00357E44 4B CF ED C5 */ bl "reserve__Q24rstl36vectorFi" +/* 8035AEE8 00357E48 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8035AEEC 00357E4C 80 BC 00 2C */ lwz r5, 0x2c(r28) +/* 8035AEF0 00357E50 7C 00 28 00 */ cmpw r0, r5 +/* 8035AEF4 00357E54 41 80 00 1C */ blt lbl_8035AF10 +/* 8035AEF8 00357E58 2C 05 00 00 */ cmpwi r5, 0 +/* 8035AEFC 00357E5C 38 7C 00 24 */ addi r3, r28, 0x24 +/* 8035AF00 00357E60 38 80 00 04 */ li r4, 4 +/* 8035AF04 00357E64 41 82 00 08 */ beq lbl_8035AF0C +/* 8035AF08 00357E68 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035AF0C: +/* 8035AF0C 00357E6C 4B CF ED 9D */ bl "reserve__Q24rstl36vectorFi" +lbl_8035AF10: +/* 8035AF10 00357E70 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8035AF14 00357E74 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 8035AF18 00357E78 54 00 10 3A */ slwi r0, r0, 2 +/* 8035AF1C 00357E7C 7C 63 02 15 */ add. r3, r3, r0 +/* 8035AF20 00357E80 41 82 00 08 */ beq lbl_8035AF28 +/* 8035AF24 00357E84 93 63 00 00 */ stw r27, 0(r3) +lbl_8035AF28: +/* 8035AF28 00357E88 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8035AF2C 00357E8C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF30 00357E90 38 04 00 01 */ addi r0, r4, 1 +/* 8035AF34 00357E94 90 1C 00 28 */ stw r0, 0x28(r28) +/* 8035AF38 00357E98 4B FE 45 81 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AF3C 00357E9C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035AF40 00357EA0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8035AF44 00357EA4 7C 03 00 40 */ cmplw r3, r0 +/* 8035AF48 00357EA8 41 80 00 0C */ blt lbl_8035AF54 +/* 8035AF4C 00357EAC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF50 00357EB0 4B FE 45 D5 */ bl DoFlush__13COutputStreamFv +lbl_8035AF54: +/* 8035AF54 00357EB4 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8035AF58 00357EB8 38 C0 00 00 */ li r6, 0 +/* 8035AF5C 00357EBC 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035AF60 00357EC0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF64 00357EC4 38 E5 00 01 */ addi r7, r5, 1 +/* 8035AF68 00357EC8 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8035AF6C 00357ECC 38 04 00 01 */ addi r0, r4, 1 +/* 8035AF70 00357ED0 90 E1 00 24 */ stw r7, 0x24(r1) +/* 8035AF74 00357ED4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8035AF78 00357ED8 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035AF7C 00357EDC 80 1D 00 00 */ lwz r0, 0(r29) +/* 8035AF80 00357EE0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8035AF84 00357EE4 4B FE 45 35 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AF88 00357EE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF8C 00357EEC 38 81 00 0C */ addi r4, r1, 0xc +/* 8035AF90 00357EF0 38 A0 00 02 */ li r5, 2 +/* 8035AF94 00357EF4 4B FE 46 15 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AF98 00357EF8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035AF9C 00357EFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFA0 00357F00 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8035AFA4 00357F04 4B FE 45 15 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AFA8 00357F08 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFAC 00357F0C 38 81 00 0A */ addi r4, r1, 0xa +/* 8035AFB0 00357F10 38 A0 00 02 */ li r5, 2 +/* 8035AFB4 00357F14 4B FE 45 F5 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AFB8 00357F18 B3 C1 00 08 */ sth r30, 8(r1) +/* 8035AFBC 00357F1C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFC0 00357F20 4B FE 44 F9 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AFC4 00357F24 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFC8 00357F28 38 81 00 08 */ addi r4, r1, 8 +/* 8035AFCC 00357F2C 38 A0 00 02 */ li r5, 2 +/* 8035AFD0 00357F30 4B FE 45 D9 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AFD4 00357F34 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8035AFD8 00357F38 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFDC 00357F3C 4B FE 44 DD */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AFE0 00357F40 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFE4 00357F44 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035AFE8 00357F48 38 A0 00 04 */ li r5, 4 +/* 8035AFEC 00357F4C 4B FE 45 BD */ bl DoPut__13COutputStreamFPCvUl +/* 8035AFF0 00357F50 80 BC 00 48 */ lwz r5, 0x48(r28) +/* 8035AFF4 00357F54 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFF8 00357F58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035AFFC 00357F5C 38 80 FF FF */ li r4, -1 +/* 8035B000 00357F60 7C 05 02 14 */ add r0, r5, r0 +/* 8035B004 00357F64 90 1C 00 48 */ stw r0, 0x48(r28) +/* 8035B008 00357F68 4B FE 42 B9 */ bl __dt__16CMemoryStreamOutFv +/* 8035B00C 00357F6C 48 00 00 10 */ b lbl_8035B01C +lbl_8035B010: +/* 8035B010 00357F70 80 7C 00 44 */ lwz r3, 0x44(r28) +/* 8035B014 00357F74 38 03 00 0B */ addi r0, r3, 0xb +/* 8035B018 00357F78 90 1C 00 44 */ stw r0, 0x44(r28) +lbl_8035B01C: +/* 8035B01C 00357F7C BB 61 00 AC */ lmw r27, 0xac(r1) +/* 8035B020 00357F80 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8035B024 00357F84 7C 08 03 A6 */ mtlr r0 +/* 8035B028 00357F88 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8035B02C 00357F8C 4E 80 00 20 */ blr + +.global AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette +AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette: +/* 8035B030 00357F90 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8035B034 00357F94 7C 08 02 A6 */ mflr r0 +/* 8035B038 00357F98 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035B03C 00357F9C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8035B040 00357FA0 7C 7F 1B 78 */ mr r31, r3 +/* 8035B044 00357FA4 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8035B048 00357FA8 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8035B04C 00357FAC 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8035B050 00357FB0 7C 9C 23 78 */ mr r28, r4 +/* 8035B054 00357FB4 80 03 00 00 */ lwz r0, 0(r3) +/* 8035B058 00357FB8 2C 00 00 01 */ cmpwi r0, 1 +/* 8035B05C 00357FBC 40 82 01 28 */ bne lbl_8035B184 +/* 8035B060 00357FC0 4B FF F2 ED */ bl sub_8035a34c +/* 8035B064 00357FC4 7C 7E 1B 78 */ mr r30, r3 +/* 8035B068 00357FC8 7F E3 FB 78 */ mr r3, r31 +/* 8035B06C 00357FCC 4B FF F3 19 */ bl GetOutStream__17CTextRenderBufferFv +/* 8035B070 00357FD0 7C 64 1B 78 */ mr r4, r3 +/* 8035B074 00357FD4 7F C5 F3 78 */ mr r5, r30 +/* 8035B078 00357FD8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B07C 00357FDC 38 C0 00 01 */ li r6, 1 +/* 8035B080 00357FE0 38 E0 00 40 */ li r7, 0x40 +/* 8035B084 00357FE4 4B FE 42 B9 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035B088 00357FE8 7F E3 FB 78 */ mr r3, r31 +/* 8035B08C 00357FEC 7F 84 E3 78 */ mr r4, r28 +/* 8035B090 00357FF0 48 00 03 79 */ bl GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette +/* 8035B094 00357FF4 7C 7D 1B 78 */ mr r29, r3 +/* 8035B098 00357FF8 2C 1D FF FF */ cmpwi r29, -1 +/* 8035B09C 00357FFC 40 82 00 40 */ bne lbl_8035B0DC +/* 8035B0A0 00358000 7F E3 FB 78 */ mr r3, r31 +/* 8035B0A4 00358004 48 00 03 F1 */ bl GetNextAvailablePalette__17CTextRenderBufferCFv +/* 8035B0A8 00358008 80 7F 02 54 */ lwz r3, 0x254(r31) +/* 8035B0AC 0035800C 38 00 00 01 */ li r0, 1 +/* 8035B0B0 00358010 38 A0 00 08 */ li r5, 8 +/* 8035B0B4 00358014 3B A3 FF FF */ addi r29, r3, -1 +/* 8035B0B8 00358018 57 A3 18 38 */ slwi r3, r29, 3 +/* 8035B0BC 0035801C 7C 7F 1A 14 */ add r3, r31, r3 +/* 8035B0C0 00358020 83 C3 00 58 */ lwz r30, 0x58(r3) +/* 8035B0C4 00358024 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 8035B0C8 00358028 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035B0CC 0035802C 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 8035B0D0 00358030 4B CA 83 C1 */ bl memcpy +/* 8035B0D4 00358034 7F C3 F3 78 */ mr r3, r30 +/* 8035B0D8 00358038 4B FB 2D 85 */ bl UnLock__16CGraphicsPaletteFv +lbl_8035B0DC: +/* 8035B0DC 0035803C 38 61 00 08 */ addi r3, r1, 8 +/* 8035B0E0 00358040 4B FE 43 D9 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B0E4 00358044 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B0E8 00358048 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B0EC 0035804C 7C 03 00 40 */ cmplw r3, r0 +/* 8035B0F0 00358050 41 80 00 0C */ blt lbl_8035B0FC +/* 8035B0F4 00358054 38 61 00 08 */ addi r3, r1, 8 +/* 8035B0F8 00358058 4B FE 44 2D */ bl DoFlush__13COutputStreamFv +lbl_8035B0FC: +/* 8035B0FC 0035805C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035B100 00358060 38 C0 00 03 */ li r6, 3 +/* 8035B104 00358064 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8035B108 00358068 7F BE 07 74 */ extsb r30, r29 +/* 8035B10C 0035806C 38 63 00 01 */ addi r3, r3, 1 +/* 8035B110 00358070 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8035B114 00358074 38 04 00 01 */ addi r0, r4, 1 +/* 8035B118 00358078 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035B11C 0035807C 38 61 00 08 */ addi r3, r1, 8 +/* 8035B120 00358080 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B124 00358084 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035B128 00358088 4B FE 43 91 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B12C 0035808C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B130 00358090 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B134 00358094 7C 03 00 40 */ cmplw r3, r0 +/* 8035B138 00358098 41 80 00 0C */ blt lbl_8035B144 +/* 8035B13C 0035809C 38 61 00 08 */ addi r3, r1, 8 +/* 8035B140 003580A0 4B FE 43 E5 */ bl DoFlush__13COutputStreamFv +lbl_8035B144: +/* 8035B144 003580A4 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035B148 003580A8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B14C 003580AC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8035B150 003580B0 38 84 00 01 */ addi r4, r4, 1 +/* 8035B154 003580B4 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 8035B158 003580B8 38 05 00 01 */ addi r0, r5, 1 +/* 8035B15C 003580BC 90 81 00 18 */ stw r4, 0x18(r1) +/* 8035B160 003580C0 38 80 FF FF */ li r4, -1 +/* 8035B164 003580C4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B168 003580C8 7F C6 29 AE */ stbx r30, r6, r5 +/* 8035B16C 003580CC 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 8035B170 003580D0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035B174 003580D4 7C 05 02 14 */ add r0, r5, r0 +/* 8035B178 003580D8 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8035B17C 003580DC 4B FE 41 45 */ bl __dt__16CMemoryStreamOutFv +/* 8035B180 003580E0 48 00 00 10 */ b lbl_8035B190 +lbl_8035B184: +/* 8035B184 003580E4 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8035B188 003580E8 38 03 00 02 */ addi r0, r3, 2 +/* 8035B18C 003580EC 90 1F 00 44 */ stw r0, 0x44(r31) +lbl_8035B190: +/* 8035B190 003580F0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035B194 003580F4 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035B198 003580F8 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035B19C 003580FC 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8035B1A0 00358100 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 8035B1A4 00358104 7C 08 03 A6 */ mtlr r0 +/* 8035B1A8 00358108 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035B1AC 0035810C 4E 80 00 20 */ blr + +.global "AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>" +"AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>": +/* 8035B1B0 00358110 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8035B1B4 00358114 7C 08 02 A6 */ mflr r0 +/* 8035B1B8 00358118 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035B1BC 0035811C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8035B1C0 00358120 7C 9F 23 78 */ mr r31, r4 +/* 8035B1C4 00358124 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8035B1C8 00358128 7C 7E 1B 78 */ mr r30, r3 +/* 8035B1CC 0035812C 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8035B1D0 00358130 80 03 00 00 */ lwz r0, 0(r3) +/* 8035B1D4 00358134 2C 00 00 01 */ cmpwi r0, 1 +/* 8035B1D8 00358138 40 82 02 08 */ bne lbl_8035B3E0 +/* 8035B1DC 0035813C 4B FF F1 71 */ bl sub_8035a34c +/* 8035B1E0 00358140 7C 7D 1B 78 */ mr r29, r3 +/* 8035B1E4 00358144 7F C3 F3 78 */ mr r3, r30 +/* 8035B1E8 00358148 4B FF F1 9D */ bl GetOutStream__17CTextRenderBufferFv +/* 8035B1EC 0035814C 7C 64 1B 78 */ mr r4, r3 +/* 8035B1F0 00358150 7F A5 EB 78 */ mr r5, r29 +/* 8035B1F4 00358154 38 61 00 08 */ addi r3, r1, 8 +/* 8035B1F8 00358158 38 C0 00 01 */ li r6, 1 +/* 8035B1FC 0035815C 38 E0 00 40 */ li r7, 0x40 +/* 8035B200 00358160 4B FE 41 3D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035B204 00358164 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035B208 00358168 38 C0 00 00 */ li r6, 0 +/* 8035B20C 0035816C 3B A0 00 00 */ li r29, 0 +/* 8035B210 00358170 38 80 00 00 */ li r4, 0 +/* 8035B214 00358174 7C 09 03 A6 */ mtctr r0 +/* 8035B218 00358178 2C 00 00 00 */ cmpwi r0, 0 +/* 8035B21C 0035817C 40 81 00 B4 */ ble lbl_8035B2D0 +lbl_8035B220: +/* 8035B220 00358180 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8035B224 00358184 80 1F 00 00 */ lwz r0, 0(r31) +/* 8035B228 00358188 7C 63 20 2E */ lwzx r3, r3, r4 +/* 8035B22C 0035818C 7C 03 00 40 */ cmplw r3, r0 +/* 8035B230 00358190 40 82 00 94 */ bne lbl_8035B2C4 +/* 8035B234 00358194 38 61 00 08 */ addi r3, r1, 8 +/* 8035B238 00358198 4B FE 42 81 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B23C 0035819C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B240 003581A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B244 003581A4 7C 03 00 40 */ cmplw r3, r0 +/* 8035B248 003581A8 41 80 00 0C */ blt lbl_8035B254 +/* 8035B24C 003581AC 38 61 00 08 */ addi r3, r1, 8 +/* 8035B250 003581B0 4B FE 42 D5 */ bl DoFlush__13COutputStreamFv +lbl_8035B254: +/* 8035B254 003581B4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035B258 003581B8 38 C0 00 02 */ li r6, 2 +/* 8035B25C 003581BC 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8035B260 003581C0 7F BD 07 74 */ extsb r29, r29 +/* 8035B264 003581C4 38 63 00 01 */ addi r3, r3, 1 +/* 8035B268 003581C8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8035B26C 003581CC 38 04 00 01 */ addi r0, r4, 1 +/* 8035B270 003581D0 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035B274 003581D4 38 61 00 08 */ addi r3, r1, 8 +/* 8035B278 003581D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B27C 003581DC 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035B280 003581E0 4B FE 42 39 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B284 003581E4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B288 003581E8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B28C 003581EC 7C 03 00 40 */ cmplw r3, r0 +/* 8035B290 003581F0 41 80 00 0C */ blt lbl_8035B29C +/* 8035B294 003581F4 38 61 00 08 */ addi r3, r1, 8 +/* 8035B298 003581F8 4B FE 42 8D */ bl DoFlush__13COutputStreamFv +lbl_8035B29C: +/* 8035B29C 003581FC 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035B2A0 00358200 38 C0 00 01 */ li r6, 1 +/* 8035B2A4 00358204 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B2A8 00358208 38 A4 00 01 */ addi r5, r4, 1 +/* 8035B2AC 0035820C 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8035B2B0 00358210 38 03 00 01 */ addi r0, r3, 1 +/* 8035B2B4 00358214 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8035B2B8 00358218 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B2BC 0035821C 7F A4 19 AE */ stbx r29, r4, r3 +/* 8035B2C0 00358220 48 00 00 10 */ b lbl_8035B2D0 +lbl_8035B2C4: +/* 8035B2C4 00358224 38 84 00 08 */ addi r4, r4, 8 +/* 8035B2C8 00358228 3B BD 00 01 */ addi r29, r29, 1 +/* 8035B2CC 0035822C 42 00 FF 54 */ bdnz lbl_8035B220 +lbl_8035B2D0: +/* 8035B2D0 00358230 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8035B2D4 00358234 40 82 00 EC */ bne lbl_8035B3C0 +/* 8035B2D8 00358238 80 9E 00 08 */ lwz r4, 8(r30) +/* 8035B2DC 0035823C 38 7E 00 04 */ addi r3, r30, 4 +/* 8035B2E0 00358240 38 84 00 01 */ addi r4, r4, 1 +/* 8035B2E4 00358244 4B F6 EE A1 */ bl sub_802ca184 +/* 8035B2E8 00358248 83 BE 00 08 */ lwz r29, 8(r30) +/* 8035B2EC 0035824C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8035B2F0 00358250 7C 1D 00 00 */ cmpw r29, r0 +/* 8035B2F4 00358254 41 80 00 1C */ blt lbl_8035B310 +/* 8035B2F8 00358258 2C 00 00 00 */ cmpwi r0, 0 +/* 8035B2FC 0035825C 38 7E 00 04 */ addi r3, r30, 4 +/* 8035B300 00358260 38 80 00 04 */ li r4, 4 +/* 8035B304 00358264 41 82 00 08 */ beq lbl_8035B30C +/* 8035B308 00358268 54 04 08 3C */ slwi r4, r0, 1 +lbl_8035B30C: +/* 8035B30C 0035826C 4B F6 EE 79 */ bl sub_802ca184 +lbl_8035B310: +/* 8035B310 00358270 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035B314 00358274 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8035B318 00358278 54 00 18 38 */ slwi r0, r0, 3 +/* 8035B31C 0035827C 7C 63 02 15 */ add. r3, r3, r0 +/* 8035B320 00358280 41 82 00 0C */ beq lbl_8035B32C +/* 8035B324 00358284 7F E4 FB 78 */ mr r4, r31 +/* 8035B328 00358288 4B FE 5B 81 */ bl __ct__6CTokenFRC6CToken +lbl_8035B32C: +/* 8035B32C 0035828C 80 9E 00 08 */ lwz r4, 8(r30) +/* 8035B330 00358290 38 61 00 08 */ addi r3, r1, 8 +/* 8035B334 00358294 38 04 00 01 */ addi r0, r4, 1 +/* 8035B338 00358298 90 1E 00 08 */ stw r0, 8(r30) +/* 8035B33C 0035829C 4B FE 41 7D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B340 003582A0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B344 003582A4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B348 003582A8 7C 03 00 40 */ cmplw r3, r0 +/* 8035B34C 003582AC 41 80 00 0C */ blt lbl_8035B358 +/* 8035B350 003582B0 38 61 00 08 */ addi r3, r1, 8 +/* 8035B354 003582B4 4B FE 41 D1 */ bl DoFlush__13COutputStreamFv +lbl_8035B358: +/* 8035B358 003582B8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035B35C 003582BC 38 C0 00 02 */ li r6, 2 +/* 8035B360 003582C0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8035B364 003582C4 7F BD 07 74 */ extsb r29, r29 +/* 8035B368 003582C8 38 63 00 01 */ addi r3, r3, 1 +/* 8035B36C 003582CC 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8035B370 003582D0 38 04 00 01 */ addi r0, r4, 1 +/* 8035B374 003582D4 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035B378 003582D8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B37C 003582DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B380 003582E0 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035B384 003582E4 4B FE 41 35 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B388 003582E8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B38C 003582EC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B390 003582F0 7C 03 00 40 */ cmplw r3, r0 +/* 8035B394 003582F4 41 80 00 0C */ blt lbl_8035B3A0 +/* 8035B398 003582F8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B39C 003582FC 4B FE 41 89 */ bl DoFlush__13COutputStreamFv +lbl_8035B3A0: +/* 8035B3A0 00358300 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035B3A4 00358304 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B3A8 00358308 38 A4 00 01 */ addi r5, r4, 1 +/* 8035B3AC 0035830C 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8035B3B0 00358310 38 03 00 01 */ addi r0, r3, 1 +/* 8035B3B4 00358314 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8035B3B8 00358318 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B3BC 0035831C 7F A4 19 AE */ stbx r29, r4, r3 +lbl_8035B3C0: +/* 8035B3C0 00358320 80 BE 00 48 */ lwz r5, 0x48(r30) +/* 8035B3C4 00358324 38 61 00 08 */ addi r3, r1, 8 +/* 8035B3C8 00358328 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035B3CC 0035832C 38 80 FF FF */ li r4, -1 +/* 8035B3D0 00358330 7C 05 02 14 */ add r0, r5, r0 +/* 8035B3D4 00358334 90 1E 00 48 */ stw r0, 0x48(r30) +/* 8035B3D8 00358338 4B FE 3E E9 */ bl __dt__16CMemoryStreamOutFv +/* 8035B3DC 0035833C 48 00 00 10 */ b lbl_8035B3EC +lbl_8035B3E0: +/* 8035B3E0 00358340 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 8035B3E4 00358344 38 03 00 02 */ addi r0, r3, 2 +/* 8035B3E8 00358348 90 1E 00 44 */ stw r0, 0x44(r30) +lbl_8035B3EC: +/* 8035B3EC 0035834C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035B3F0 00358350 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035B3F4 00358354 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035B3F8 00358358 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8035B3FC 0035835C 7C 08 03 A6 */ mtlr r0 +/* 8035B400 00358360 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035B404 00358364 4E 80 00 20 */ blr + +.global GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette +GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette: +/* 8035B408 00358368 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B40C 0035836C 7C 08 02 A6 */ mflr r0 +/* 8035B410 00358370 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B414 00358374 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B418 00358378 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035B41C 0035837C 3B C0 00 00 */ li r30, 0 +/* 8035B420 00358380 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035B424 00358384 7C 9D 23 78 */ mr r29, r4 +/* 8035B428 00358388 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035B42C 0035838C 7C 7C 1B 78 */ mr r28, r3 +/* 8035B430 00358390 3B FC 00 54 */ addi r31, r28, 0x54 +/* 8035B434 00358394 48 00 00 30 */ b lbl_8035B464 +lbl_8035B438: +/* 8035B438 00358398 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035B43C 0035839C 38 A0 00 08 */ li r5, 8 +/* 8035B440 003583A0 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8035B444 003583A4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8035B448 003583A8 48 03 24 35 */ bl memcmp +/* 8035B44C 003583AC 2C 03 00 00 */ cmpwi r3, 0 +/* 8035B450 003583B0 40 82 00 0C */ bne lbl_8035B45C +/* 8035B454 003583B4 7F C3 F3 78 */ mr r3, r30 +/* 8035B458 003583B8 48 00 00 1C */ b lbl_8035B474 +lbl_8035B45C: +/* 8035B45C 003583BC 3B FF 00 08 */ addi r31, r31, 8 +/* 8035B460 003583C0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035B464: +/* 8035B464 003583C4 80 1C 00 50 */ lwz r0, 0x50(r28) +/* 8035B468 003583C8 7C 1E 00 00 */ cmpw r30, r0 +/* 8035B46C 003583CC 41 80 FF CC */ blt lbl_8035B438 +/* 8035B470 003583D0 38 60 FF FF */ li r3, -1 +lbl_8035B474: +/* 8035B474 003583D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035B478 003583D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035B47C 003583DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035B480 003583E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035B484 003583E4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8035B488 003583E8 7C 08 03 A6 */ mtlr r0 +/* 8035B48C 003583EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035B490 003583F0 4E 80 00 20 */ blr + +.global GetNextAvailablePalette__17CTextRenderBufferCFv +GetNextAvailablePalette__17CTextRenderBufferCFv: +/* 8035B494 003583F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B498 003583F8 7C 08 02 A6 */ mflr r0 +/* 8035B49C 003583FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B4A0 00358400 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B4A4 00358404 7C 7F 1B 78 */ mr r31, r3 +/* 8035B4A8 00358408 80 03 02 54 */ lwz r0, 0x254(r3) +/* 8035B4AC 0035840C 2C 00 00 40 */ cmpwi r0, 0x40 +/* 8035B4B0 00358410 41 80 00 10 */ blt lbl_8035B4C0 +/* 8035B4B4 00358414 38 00 00 00 */ li r0, 0 +/* 8035B4B8 00358418 90 1F 02 54 */ stw r0, 0x254(r31) +/* 8035B4BC 0035841C 48 00 00 8C */ b lbl_8035B548 +lbl_8035B4C0: +/* 8035B4C0 00358420 3C 80 80 3E */ lis r4, lbl_803D8368@ha +/* 8035B4C4 00358424 38 60 00 20 */ li r3, 0x20 +/* 8035B4C8 00358428 38 84 83 68 */ addi r4, r4, lbl_803D8368@l +/* 8035B4CC 0035842C 38 A0 00 00 */ li r5, 0 +/* 8035B4D0 00358430 4B FB A3 9D */ bl __nw__FUlPCcPCc +/* 8035B4D4 00358434 7C 65 1B 79 */ or. r5, r3, r3 +/* 8035B4D8 00358438 41 82 00 14 */ beq lbl_8035B4EC +/* 8035B4DC 0035843C 38 80 00 02 */ li r4, 2 +/* 8035B4E0 00358440 38 A0 00 04 */ li r5, 4 +/* 8035B4E4 00358444 4B FB 2B 91 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati +/* 8035B4E8 00358448 7C 65 1B 78 */ mr r5, r3 +lbl_8035B4EC: +/* 8035B4EC 0035844C 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8035B4F0 00358450 7C 65 00 D0 */ neg r3, r5 +/* 8035B4F4 00358454 7C 63 2B 78 */ or r3, r3, r5 +/* 8035B4F8 00358458 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8035B4FC 0035845C 54 00 18 38 */ slwi r0, r0, 3 +/* 8035B500 00358460 7C 9F 02 14 */ add r4, r31, r0 +/* 8035B504 00358464 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8035B508 00358468 34 84 00 54 */ addic. r4, r4, 0x54 +/* 8035B50C 0035846C 98 01 00 08 */ stb r0, 8(r1) +/* 8035B510 00358470 41 82 00 14 */ beq lbl_8035B524 +/* 8035B514 00358474 98 04 00 00 */ stb r0, 0(r4) +/* 8035B518 00358478 38 00 00 00 */ li r0, 0 +/* 8035B51C 0035847C 90 A4 00 04 */ stw r5, 4(r4) +/* 8035B520 00358480 98 01 00 08 */ stb r0, 8(r1) +lbl_8035B524: +/* 8035B524 00358484 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8035B528 00358488 88 01 00 08 */ lbz r0, 8(r1) +/* 8035B52C 0035848C 38 63 00 01 */ addi r3, r3, 1 +/* 8035B530 00358490 28 00 00 00 */ cmplwi r0, 0 +/* 8035B534 00358494 90 7F 00 50 */ stw r3, 0x50(r31) +/* 8035B538 00358498 41 82 00 10 */ beq lbl_8035B548 +/* 8035B53C 0035849C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B540 003584A0 38 80 00 01 */ li r4, 1 +/* 8035B544 003584A4 4B FB 29 BD */ bl __dt__16CGraphicsPaletteFv +lbl_8035B548: +/* 8035B548 003584A8 80 7F 02 54 */ lwz r3, 0x254(r31) +/* 8035B54C 003584AC 38 03 00 01 */ addi r0, r3, 1 +/* 8035B550 003584B0 90 1F 02 54 */ stw r0, 0x254(r31) +/* 8035B554 003584B4 80 7F 02 54 */ lwz r3, 0x254(r31) +/* 8035B558 003584B8 38 03 FF FF */ addi r0, r3, -1 +/* 8035B55C 003584BC 54 00 18 38 */ slwi r0, r0, 3 +/* 8035B560 003584C0 7C 7F 02 14 */ add r3, r31, r0 +/* 8035B564 003584C4 80 63 00 58 */ lwz r3, 0x58(r3) +/* 8035B568 003584C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035B56C 003584CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035B570 003584D0 7C 08 03 A6 */ mtlr r0 +/* 8035B574 003584D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035B578 003584D8 4E 80 00 20 */ blr + +.global __ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +__ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode: +/* 8035B57C 003584DC 90 83 00 00 */ stw r4, 0(r3) +/* 8035B580 003584E0 38 A0 00 00 */ li r5, 0 +/* 8035B584 003584E4 38 00 FF FF */ li r0, -1 +/* 8035B588 003584E8 90 A3 00 08 */ stw r5, 8(r3) +/* 8035B58C 003584EC 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8035B590 003584F0 90 A3 00 10 */ stw r5, 0x10(r3) +/* 8035B594 003584F4 90 A3 00 18 */ stw r5, 0x18(r3) +/* 8035B598 003584F8 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 8035B59C 003584FC 90 A3 00 20 */ stw r5, 0x20(r3) +/* 8035B5A0 00358500 90 A3 00 28 */ stw r5, 0x28(r3) +/* 8035B5A4 00358504 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 8035B5A8 00358508 90 A3 00 30 */ stw r5, 0x30(r3) +/* 8035B5AC 0035850C 90 A3 00 38 */ stw r5, 0x38(r3) +/* 8035B5B0 00358510 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 8035B5B4 00358514 90 A3 00 40 */ stw r5, 0x40(r3) +/* 8035B5B8 00358518 90 A3 00 44 */ stw r5, 0x44(r3) +/* 8035B5BC 0035851C 90 A3 00 48 */ stw r5, 0x48(r3) +/* 8035B5C0 00358520 98 03 00 4C */ stb r0, 0x4c(r3) +/* 8035B5C4 00358524 98 03 00 4D */ stb r0, 0x4d(r3) +/* 8035B5C8 00358528 98 03 00 4E */ stb r0, 0x4e(r3) +/* 8035B5CC 0035852C 98 03 00 4F */ stb r0, 0x4f(r3) +/* 8035B5D0 00358530 90 A3 00 50 */ stw r5, 0x50(r3) +/* 8035B5D4 00358534 90 A3 02 54 */ stw r5, 0x254(r3) +/* 8035B5D8 00358538 4E 80 00 20 */ blr + +.global SetSfxVolume__12CMoviePlayerFUc +SetSfxVolume__12CMoviePlayerFUc: +/* 8035B5DC 0035853C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035B5E0 00358540 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 8035B5E4 00358544 88 0D 9E 30 */ lbz r0, lbl_805A89F0@sda21(r13) +/* 8035B5E8 00358548 98 61 00 08 */ stb r3, 8(r1) +/* 8035B5EC 0035854C 38 6D 9E 30 */ addi r3, r13, lbl_805A89F0@sda21 +/* 8035B5F0 00358550 7C 04 00 40 */ cmplw r4, r0 +/* 8035B5F4 00358554 40 80 00 08 */ bge lbl_8035B5FC +/* 8035B5F8 00358558 38 61 00 08 */ addi r3, r1, 8 +lbl_8035B5FC: +/* 8035B5FC 0035855C 88 03 00 00 */ lbz r0, 0(r3) +/* 8035B600 00358560 98 0D 9E 29 */ stb r0, lbl_805A89E9@sda21(r13) +/* 8035B604 00358564 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035B608 00358568 4E 80 00 20 */ blr + +.global sub_8035b60c +sub_8035b60c: +/* 8035B60C 0035856C 88 6D 9E 28 */ lbz r3, lbl_805A89E8@sda21(r13) +/* 8035B610 00358570 4E 80 00 20 */ blr + +.global sub_8035b614 +sub_8035b614: +/* 8035B614 00358574 98 6D 9E 28 */ stb r3, lbl_805A89E8@sda21(r13) +/* 8035B618 00358578 4E 80 00 20 */ blr + +.global sub_8035b61c +sub_8035b61c: +/* 8035B61C 0035857C 80 63 00 70 */ lwz r3, 0x70(r3) +/* 8035B620 00358580 4E 80 00 20 */ blr + +.global sub_8035b624 +sub_8035b624: +/* 8035B624 00358584 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8035B628 00358588 4E 80 00 20 */ blr + +.global VerifyCallbackStatus__12CMoviePlayerFv +VerifyCallbackStatus__12CMoviePlayerFv: +/* 8035B62C 0035858C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035B630 00358590 7C 08 02 A6 */ mflr r0 +/* 8035B634 00358594 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035B638 00358598 80 0D AA A0 */ lwz r0, lbl_805A9660@sda21(r13) +/* 8035B63C 0035859C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035B640 003585A0 40 81 00 14 */ ble lbl_8035B654 +/* 8035B644 003585A4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha +/* 8035B648 003585A8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l +/* 8035B64C 003585AC 48 01 11 91 */ bl RunDMACallback__18CStaticAudioPlayerFv +/* 8035B650 003585B0 48 00 00 10 */ b lbl_8035B660 +lbl_8035B654: +/* 8035B654 003585B4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha +/* 8035B658 003585B8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l +/* 8035B65C 003585BC 48 01 10 A9 */ bl sub_8036c704 +lbl_8035B660: +/* 8035B660 003585C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035B664 003585C4 7C 08 03 A6 */ mtlr r0 +/* 8035B668 003585C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035B66C 003585CC 4E 80 00 20 */ blr + +.global MixAudio__12CMoviePlayerFPsPCsUl +MixAudio__12CMoviePlayerFPsPCsUl: +/* 8035B670 003585D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B674 003585D4 7C 08 02 A6 */ mflr r0 +/* 8035B678 003585D8 7C A7 2B 78 */ mr r7, r5 +/* 8035B67C 003585DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B680 003585E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B684 003585E4 80 03 00 D4 */ lwz r0, 0xd4(r3) +/* 8035B688 003585E8 2C 00 FF FF */ cmpwi r0, -1 +/* 8035B68C 003585EC 40 82 00 34 */ bne lbl_8035B6C0 +/* 8035B690 003585F0 28 05 00 00 */ cmplwi r5, 0 +/* 8035B694 003585F4 41 82 00 18 */ beq lbl_8035B6AC +/* 8035B698 003585F8 7C 83 23 78 */ mr r3, r4 +/* 8035B69C 003585FC 7C A4 2B 78 */ mr r4, r5 +/* 8035B6A0 00358600 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B6A4 00358604 4B CA 7D ED */ bl memcpy +/* 8035B6A8 00358608 48 00 01 C8 */ b lbl_8035B870 +lbl_8035B6AC: +/* 8035B6AC 0035860C 7C 83 23 78 */ mr r3, r4 +/* 8035B6B0 00358610 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B6B4 00358614 38 80 00 00 */ li r4, 0 +/* 8035B6B8 00358618 4B CA 7C F1 */ bl memset +/* 8035B6BC 0035861C 48 00 01 B4 */ b lbl_8035B870 +lbl_8035B6C0: +/* 8035B6C0 00358620 89 2D 9E 29 */ lbz r9, lbl_805A89E9@sda21(r13) +/* 8035B6C4 00358624 39 0D 9E 2C */ addi r8, r13, lbl_805A89EC@sda21 +/* 8035B6C8 00358628 80 0D 9E 2C */ lwz r0, lbl_805A89EC@sda21(r13) +/* 8035B6CC 0035862C 1D 29 00 64 */ mulli r9, r9, 0x64 +/* 8035B6D0 00358630 7D 29 3E 70 */ srawi r9, r9, 7 +/* 8035B6D4 00358634 7C 09 00 00 */ cmpw r9, r0 +/* 8035B6D8 00358638 91 21 00 08 */ stw r9, 8(r1) +/* 8035B6DC 0035863C 40 80 00 08 */ bge lbl_8035B6E4 +/* 8035B6E0 00358640 39 01 00 08 */ addi r8, r1, 8 +lbl_8035B6E4: +/* 8035B6E4 00358644 88 0D 9E 28 */ lbz r0, lbl_805A89E8@sda21(r13) +/* 8035B6E8 00358648 81 08 00 00 */ lwz r8, 0(r8) +/* 8035B6EC 0035864C 28 00 00 00 */ cmplwi r0, 0 +/* 8035B6F0 00358650 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8035B6F4 00358654 41 82 00 18 */ beq lbl_8035B70C +/* 8035B6F8 00358658 3D 00 80 3E */ lis r8, lbl_803D8110@ha +/* 8035B6FC 0035865C 54 00 0D FC */ rlwinm r0, r0, 1, 0x17, 0x1e +/* 8035B700 00358660 39 08 81 10 */ addi r8, r8, lbl_803D8110@l +/* 8035B704 00358664 7C 08 02 2E */ lhzx r0, r8, r0 +/* 8035B708 00358668 48 00 00 08 */ b lbl_8035B710 +lbl_8035B70C: +/* 8035B70C 0035866C 38 00 00 00 */ li r0, 0 +lbl_8035B710: +/* 8035B710 00358670 54 0B 04 3E */ clrlwi r11, r0, 0x10 +/* 8035B714 00358674 39 00 00 00 */ li r8, 0 +/* 8035B718 00358678 48 00 01 14 */ b lbl_8035B82C +lbl_8035B71C: +/* 8035B71C 0035867C 81 43 00 D4 */ lwz r10, 0xd4(r3) +/* 8035B720 00358680 81 23 00 8C */ lwz r9, 0x8c(r3) +/* 8035B724 00358684 1C 0A 00 28 */ mulli r0, r10, 0x28 +/* 8035B728 00358688 7D 89 02 14 */ add r12, r9, r0 +/* 8035B72C 0035868C 81 2C 00 24 */ lwz r9, 0x24(r12) +/* 8035B730 00358690 80 0C 00 20 */ lwz r0, 0x20(r12) +/* 8035B734 00358694 7F E9 00 50 */ subf r31, r9, r0 +/* 8035B738 00358698 7C 1F 30 40 */ cmplw r31, r6 +/* 8035B73C 0035869C 40 81 00 0C */ ble lbl_8035B748 +/* 8035B740 003586A0 7C DF 33 78 */ mr r31, r6 +/* 8035B744 003586A4 48 00 00 20 */ b lbl_8035B764 +lbl_8035B748: +/* 8035B748 003586A8 39 2A 00 01 */ addi r9, r10, 1 +/* 8035B74C 003586AC 91 23 00 D4 */ stw r9, 0xd4(r3) +/* 8035B750 003586B0 80 03 00 84 */ lwz r0, 0x84(r3) +/* 8035B754 003586B4 7C 09 00 00 */ cmpw r9, r0 +/* 8035B758 003586B8 40 82 00 0C */ bne lbl_8035B764 +/* 8035B75C 003586BC 38 00 00 00 */ li r0, 0 +/* 8035B760 003586C0 90 03 00 D4 */ stw r0, 0xd4(r3) +lbl_8035B764: +/* 8035B764 003586C4 81 2C 00 24 */ lwz r9, 0x24(r12) +/* 8035B768 003586C8 28 05 00 00 */ cmplwi r5, 0 +/* 8035B76C 003586CC 81 4C 00 1C */ lwz r10, 0x1c(r12) +/* 8035B770 003586D0 7C 1F 4A 14 */ add r0, r31, r9 +/* 8035B774 003586D4 55 29 10 3A */ slwi r9, r9, 2 +/* 8035B778 003586D8 90 0C 00 24 */ stw r0, 0x24(r12) +/* 8035B77C 003586DC 7D 4A 4A 14 */ add r10, r10, r9 +/* 8035B780 003586E0 41 82 00 5C */ beq lbl_8035B7DC +/* 8035B784 003586E4 57 E0 08 3C */ slwi r0, r31, 1 +/* 8035B788 003586E8 7C 09 03 A6 */ mtctr r0 +/* 8035B78C 003586EC 28 00 00 00 */ cmplwi r0, 0 +/* 8035B790 003586F0 40 81 00 94 */ ble lbl_8035B824 +lbl_8035B794: +/* 8035B794 003586F4 A8 0A 00 00 */ lha r0, 0(r10) +/* 8035B798 003586F8 A9 27 00 00 */ lha r9, 0(r7) +/* 8035B79C 003586FC 7C 0B 01 D6 */ mullw r0, r11, r0 +/* 8035B7A0 00358700 7C 00 7E 70 */ srawi r0, r0, 0xf +/* 8035B7A4 00358704 7C 09 02 14 */ add r0, r9, r0 +/* 8035B7A8 00358708 2C 00 80 00 */ cmpwi r0, -32768 +/* 8035B7AC 0035870C 40 80 00 0C */ bge lbl_8035B7B8 +/* 8035B7B0 00358710 38 00 80 00 */ li r0, -32768 +/* 8035B7B4 00358714 48 00 00 10 */ b lbl_8035B7C4 +lbl_8035B7B8: +/* 8035B7B8 00358718 2C 00 7F FF */ cmpwi r0, 0x7fff +/* 8035B7BC 0035871C 40 81 00 08 */ ble lbl_8035B7C4 +/* 8035B7C0 00358720 38 00 7F FF */ li r0, 0x7fff +lbl_8035B7C4: +/* 8035B7C4 00358724 B0 04 00 00 */ sth r0, 0(r4) +/* 8035B7C8 00358728 38 84 00 02 */ addi r4, r4, 2 +/* 8035B7CC 0035872C 38 E7 00 02 */ addi r7, r7, 2 +/* 8035B7D0 00358730 39 4A 00 02 */ addi r10, r10, 2 +/* 8035B7D4 00358734 42 00 FF C0 */ bdnz lbl_8035B794 +/* 8035B7D8 00358738 48 00 00 4C */ b lbl_8035B824 +lbl_8035B7DC: +/* 8035B7DC 0035873C 57 E0 08 3C */ slwi r0, r31, 1 +/* 8035B7E0 00358740 7C 09 03 A6 */ mtctr r0 +/* 8035B7E4 00358744 28 00 00 00 */ cmplwi r0, 0 +/* 8035B7E8 00358748 40 81 00 3C */ ble lbl_8035B824 +lbl_8035B7EC: +/* 8035B7EC 0035874C A8 0A 00 00 */ lha r0, 0(r10) +/* 8035B7F0 00358750 7C 0B 01 D6 */ mullw r0, r11, r0 +/* 8035B7F4 00358754 7C 00 7E 70 */ srawi r0, r0, 0xf +/* 8035B7F8 00358758 2C 00 80 00 */ cmpwi r0, -32768 +/* 8035B7FC 0035875C 40 80 00 0C */ bge lbl_8035B808 +/* 8035B800 00358760 38 00 80 00 */ li r0, -32768 +/* 8035B804 00358764 48 00 00 10 */ b lbl_8035B814 +lbl_8035B808: +/* 8035B808 00358768 2C 00 7F FF */ cmpwi r0, 0x7fff +/* 8035B80C 0035876C 40 81 00 08 */ ble lbl_8035B814 +/* 8035B810 00358770 38 00 7F FF */ li r0, 0x7fff +lbl_8035B814: +/* 8035B814 00358774 B0 04 00 00 */ sth r0, 0(r4) +/* 8035B818 00358778 38 84 00 02 */ addi r4, r4, 2 +/* 8035B81C 0035877C 39 4A 00 02 */ addi r10, r10, 2 +/* 8035B820 00358780 42 00 FF CC */ bdnz lbl_8035B7EC +lbl_8035B824: +/* 8035B824 00358784 7C DF 30 50 */ subf r6, r31, r6 +/* 8035B828 00358788 39 08 00 01 */ addi r8, r8, 1 +lbl_8035B82C: +/* 8035B82C 0035878C 28 06 00 00 */ cmplwi r6, 0 +/* 8035B830 00358790 41 82 00 0C */ beq lbl_8035B83C +/* 8035B834 00358794 2C 08 00 03 */ cmpwi r8, 3 +/* 8035B838 00358798 41 80 FE E4 */ blt lbl_8035B71C +lbl_8035B83C: +/* 8035B83C 0035879C 28 06 00 00 */ cmplwi r6, 0 +/* 8035B840 003587A0 41 82 00 30 */ beq lbl_8035B870 +/* 8035B844 003587A4 28 05 00 00 */ cmplwi r5, 0 +/* 8035B848 003587A8 41 82 00 18 */ beq lbl_8035B860 +/* 8035B84C 003587AC 7C 83 23 78 */ mr r3, r4 +/* 8035B850 003587B0 7C E4 3B 78 */ mr r4, r7 +/* 8035B854 003587B4 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B858 003587B8 4B CA 7C 39 */ bl memcpy +/* 8035B85C 003587BC 48 00 00 14 */ b lbl_8035B870 +lbl_8035B860: +/* 8035B860 003587C0 7C 83 23 78 */ mr r3, r4 +/* 8035B864 003587C4 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B868 003587C8 38 80 00 00 */ li r4, 0 +/* 8035B86C 003587CC 4B CA 7B 3D */ bl memset +lbl_8035B870: +/* 8035B870 003587D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035B874 003587D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035B878 003587D8 7C 08 03 A6 */ mtlr r0 +/* 8035B87C 003587DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035B880 003587E0 4E 80 00 20 */ blr + +.global StaticMyAudioCallback__12CMoviePlayerFv +StaticMyAudioCallback__12CMoviePlayerFv: +/* 8035B884 003587E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035B888 003587E8 7C 08 02 A6 */ mflr r0 +/* 8035B88C 003587EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035B890 003587F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035B894 003587F4 93 C1 00 08 */ stw r30, 8(r1) +/* 8035B898 003587F8 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13) +/* 8035B89C 003587FC 28 03 00 00 */ cmplwi r3, 0 +/* 8035B8A0 00358800 41 82 00 8C */ beq lbl_8035B92C +/* 8035B8A4 00358804 88 03 00 F4 */ lbz r0, 0xf4(r3) +/* 8035B8A8 00358808 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035B8AC 0035880C 41 82 00 80 */ beq lbl_8035B92C +/* 8035B8B0 00358810 48 01 17 89 */ bl AIGetDMAStartAddr +/* 8035B8B4 00358814 80 0D AA AC */ lwz r0, lbl_805A966C@sda21(r13) +/* 8035B8B8 00358818 3C A0 80 54 */ lis r5, lbl_80540020@ha +/* 8035B8BC 0035881C 3C E3 80 00 */ addis r7, r3, 0x8000 +/* 8035B8C0 00358820 38 80 02 80 */ li r4, 0x280 +/* 8035B8C4 00358824 68 06 00 01 */ xori r6, r0, 1 +/* 8035B8C8 00358828 38 05 00 20 */ addi r0, r5, lbl_80540020@l +/* 8035B8CC 0035882C 1C 66 02 80 */ mulli r3, r6, 0x280 +/* 8035B8D0 00358830 90 ED AA A8 */ stw r7, lbl_805A9668@sda21(r13) +/* 8035B8D4 00358834 90 CD AA AC */ stw r6, lbl_805A966C@sda21(r13) +/* 8035B8D8 00358838 7F E0 1A 14 */ add r31, r0, r3 +/* 8035B8DC 0035883C 7F E3 FB 78 */ mr r3, r31 +/* 8035B8E0 00358840 48 01 16 A1 */ bl AIInitDMA +/* 8035B8E4 00358844 48 02 5D 91 */ bl OSEnableInterrupts +/* 8035B8E8 00358848 80 0D AA A8 */ lwz r0, lbl_805A9668@sda21(r13) +/* 8035B8EC 0035884C 7C 7E 1B 78 */ mr r30, r3 +/* 8035B8F0 00358850 28 00 00 00 */ cmplwi r0, 0 +/* 8035B8F4 00358854 41 82 00 10 */ beq lbl_8035B904 +/* 8035B8F8 00358858 7C 03 03 78 */ mr r3, r0 +/* 8035B8FC 0035885C 38 80 02 80 */ li r4, 0x280 +/* 8035B900 00358860 48 02 31 85 */ bl DCInvalidateRange +lbl_8035B904: +/* 8035B904 00358864 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13) +/* 8035B908 00358868 7F E4 FB 78 */ mr r4, r31 +/* 8035B90C 0035886C 80 AD AA A8 */ lwz r5, lbl_805A9668@sda21(r13) +/* 8035B910 00358870 38 C0 00 A0 */ li r6, 0xa0 +/* 8035B914 00358874 4B FF FD 5D */ bl MixAudio__12CMoviePlayerFPsPCsUl +/* 8035B918 00358878 7F E3 FB 78 */ mr r3, r31 +/* 8035B91C 0035887C 38 80 02 80 */ li r4, 0x280 +/* 8035B920 00358880 48 02 31 91 */ bl DCFlushRange +/* 8035B924 00358884 7F C3 F3 78 */ mr r3, r30 +/* 8035B928 00358888 48 02 5D 61 */ bl OSRestoreInterrupts +lbl_8035B92C: +/* 8035B92C 0035888C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035B930 00358890 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035B934 00358894 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035B938 00358898 7C 08 03 A6 */ mtlr r0 +/* 8035B93C 0035889C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035B940 003588A0 4E 80 00 20 */ blr + +.global Rewind__12CMoviePlayerFv +Rewind__12CMoviePlayerFv: +/* 8035B944 003588A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B948 003588A8 7C 08 02 A6 */ mflr r0 +/* 8035B94C 003588AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B950 003588B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B954 003588B4 7C 7F 1B 78 */ mr r31, r3 +/* 8035B958 003588B8 80 63 00 98 */ lwz r3, 0x98(r3) +/* 8035B95C 003588BC 28 03 00 00 */ cmplwi r3, 0 +/* 8035B960 003588C0 41 82 00 3C */ beq lbl_8035B99C +/* 8035B964 003588C4 81 83 00 00 */ lwz r12, 0(r3) +/* 8035B968 003588C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8035B96C 003588CC 7D 89 03 A6 */ mtctr r12 +/* 8035B970 003588D0 4E 80 04 21 */ bctrl +/* 8035B974 003588D4 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035B978 003588D8 28 03 00 00 */ cmplwi r3, 0 +/* 8035B97C 003588DC 41 82 00 18 */ beq lbl_8035B994 +/* 8035B980 003588E0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035B984 003588E4 38 80 00 01 */ li r4, 1 +/* 8035B988 003588E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035B98C 003588EC 7D 89 03 A6 */ mtctr r12 +/* 8035B990 003588F0 4E 80 04 21 */ bctrl +lbl_8035B994: +/* 8035B994 003588F4 38 00 00 00 */ li r0, 0 +/* 8035B998 003588F8 90 1F 00 98 */ stw r0, 0x98(r31) +lbl_8035B99C: +/* 8035B99C 003588FC 38 61 00 08 */ addi r3, r1, 8 +/* 8035B9A0 00358900 38 1F 00 90 */ addi r0, r31, 0x90 +/* 8035B9A4 00358904 38 80 00 00 */ li r4, 0 +/* 8035B9A8 00358908 7C 03 00 40 */ cmplw r3, r0 +/* 8035B9AC 0035890C 98 81 00 08 */ stb r4, 8(r1) +/* 8035B9B0 00358910 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035B9B4 00358914 41 82 00 30 */ beq lbl_8035B9E4 +/* 8035B9B8 00358918 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 8035B9BC 0035891C 28 00 00 00 */ cmplwi r0, 0 +/* 8035B9C0 00358920 41 82 00 0C */ beq lbl_8035B9CC +/* 8035B9C4 00358924 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035B9C8 00358928 4B FB 9F 69 */ bl Free__7CMemoryFPCv +lbl_8035B9CC: +/* 8035B9CC 0035892C 88 61 00 08 */ lbz r3, 8(r1) +/* 8035B9D0 00358930 38 00 00 00 */ li r0, 0 +/* 8035B9D4 00358934 98 7F 00 90 */ stb r3, 0x90(r31) +/* 8035B9D8 00358938 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B9DC 0035893C 90 7F 00 94 */ stw r3, 0x94(r31) +/* 8035B9E0 00358940 98 01 00 08 */ stb r0, 8(r1) +lbl_8035B9E4: +/* 8035B9E4 00358944 88 01 00 08 */ lbz r0, 8(r1) +/* 8035B9E8 00358948 28 00 00 00 */ cmplwi r0, 0 +/* 8035B9EC 0035894C 41 82 00 0C */ beq lbl_8035B9F8 +/* 8035B9F0 00358950 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B9F4 00358954 4B FB 9F 3D */ bl Free__7CMemoryFPCv +lbl_8035B9F8: +/* 8035B9F8 00358958 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8035B9FC 0035895C 38 80 00 00 */ li r4, 0 +/* 8035BA00 00358960 38 00 FF FF */ li r0, -1 +/* 8035BA04 00358964 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035BA08 00358968 90 7F 00 B0 */ stw r3, 0xb0(r31) +/* 8035BA0C 0035896C 38 7F 00 80 */ addi r3, r31, 0x80 +/* 8035BA10 00358970 80 BF 00 50 */ lwz r5, 0x50(r31) +/* 8035BA14 00358974 90 BF 00 B4 */ stw r5, 0xb4(r31) +/* 8035BA18 00358978 80 BF 00 40 */ lwz r5, 0x40(r31) +/* 8035BA1C 0035897C 90 BF 00 B8 */ stw r5, 0xb8(r31) +/* 8035BA20 00358980 80 BF 00 50 */ lwz r5, 0x50(r31) +/* 8035BA24 00358984 90 BF 00 BC */ stw r5, 0xbc(r31) +/* 8035BA28 00358988 90 9F 00 C0 */ stw r4, 0xc0(r31) +/* 8035BA2C 0035898C 90 9F 00 C4 */ stw r4, 0xc4(r31) +/* 8035BA30 00358990 90 9F 00 C8 */ stw r4, 0xc8(r31) +/* 8035BA34 00358994 90 9F 00 CC */ stw r4, 0xcc(r31) +/* 8035BA38 00358998 90 1F 00 D0 */ stw r0, 0xd0(r31) +/* 8035BA3C 0035899C 90 1F 00 D4 */ stw r0, 0xd4(r31) +/* 8035BA40 003589A0 90 9F 00 D8 */ stw r4, 0xd8(r31) +/* 8035BA44 003589A4 D0 1F 00 DC */ stfs f0, 0xdc(r31) +/* 8035BA48 003589A8 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8035BA4C 003589AC 48 00 00 19 */ bl "clear__Q24rstl67vectorFv" +/* 8035BA50 003589B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035BA54 003589B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035BA58 003589B8 7C 08 03 A6 */ mtlr r0 +/* 8035BA5C 003589BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035BA60 003589C0 4E 80 00 20 */ blr + +.global "clear__Q24rstl67vectorFv" +"clear__Q24rstl67vectorFv": +/* 8035BA64 003589C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035BA68 003589C8 7C 08 02 A6 */ mflr r0 +/* 8035BA6C 003589CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035BA70 003589D0 38 81 00 0C */ addi r4, r1, 0xc +/* 8035BA74 003589D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035BA78 003589D8 7C 7F 1B 78 */ mr r31, r3 +/* 8035BA7C 003589DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035BA80 003589E0 80 1F 00 04 */ lwz r0, 4(r31) +/* 8035BA84 003589E4 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8035BA88 003589E8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035BA8C 003589EC 7C A5 02 14 */ add r5, r5, r0 +/* 8035BA90 003589F0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8035BA94 003589F4 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035BA98 003589F8 90 A1 00 08 */ stw r5, 8(r1) +/* 8035BA9C 003589FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035BAA0 00358A00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035BAA4 00358A04 48 00 00 21 */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" +/* 8035BAA8 00358A08 38 00 00 00 */ li r0, 0 +/* 8035BAAC 00358A0C 90 1F 00 04 */ stw r0, 4(r31) +/* 8035BAB0 00358A10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035BAB4 00358A14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035BAB8 00358A18 7C 08 03 A6 */ mtlr r0 +/* 8035BABC 00358A1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035BAC0 00358A20 4E 80 00 20 */ blr + +.global "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" +"destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>": +/* 8035BAC4 00358A24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035BAC8 00358A28 7C 08 02 A6 */ mflr r0 +/* 8035BACC 00358A2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035BAD0 00358A30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035BAD4 00358A34 93 C1 00 08 */ stw r30, 8(r1) +/* 8035BAD8 00358A38 7C 9E 23 78 */ mr r30, r4 +/* 8035BADC 00358A3C 83 E3 00 00 */ lwz r31, 0(r3) +/* 8035BAE0 00358A40 48 00 00 80 */ b lbl_8035BB60 +lbl_8035BAE4: +/* 8035BAE4 00358A44 28 1F 00 00 */ cmplwi r31, 0 +/* 8035BAE8 00358A48 41 82 00 74 */ beq lbl_8035BB5C +/* 8035BAEC 00358A4C 34 1F 00 18 */ addic. r0, r31, 0x18 +/* 8035BAF0 00358A50 41 82 00 18 */ beq lbl_8035BB08 +/* 8035BAF4 00358A54 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 8035BAF8 00358A58 28 00 00 00 */ cmplwi r0, 0 +/* 8035BAFC 00358A5C 41 82 00 0C */ beq lbl_8035BB08 +/* 8035BB00 00358A60 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 8035BB04 00358A64 4B FB 9E 2D */ bl Free__7CMemoryFPCv +lbl_8035BB08: +/* 8035BB08 00358A68 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8035BB0C 00358A6C 41 82 00 18 */ beq lbl_8035BB24 +/* 8035BB10 00358A70 88 1F 00 10 */ lbz r0, 0x10(r31) +/* 8035BB14 00358A74 28 00 00 00 */ cmplwi r0, 0 +/* 8035BB18 00358A78 41 82 00 0C */ beq lbl_8035BB24 +/* 8035BB1C 00358A7C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8035BB20 00358A80 4B FB 9E 11 */ bl Free__7CMemoryFPCv +lbl_8035BB24: +/* 8035BB24 00358A84 34 1F 00 08 */ addic. r0, r31, 8 +/* 8035BB28 00358A88 41 82 00 18 */ beq lbl_8035BB40 +/* 8035BB2C 00358A8C 88 1F 00 08 */ lbz r0, 8(r31) +/* 8035BB30 00358A90 28 00 00 00 */ cmplwi r0, 0 +/* 8035BB34 00358A94 41 82 00 0C */ beq lbl_8035BB40 +/* 8035BB38 00358A98 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8035BB3C 00358A9C 4B FB 9D F5 */ bl Free__7CMemoryFPCv +lbl_8035BB40: +/* 8035BB40 00358AA0 28 1F 00 00 */ cmplwi r31, 0 +/* 8035BB44 00358AA4 41 82 00 18 */ beq lbl_8035BB5C +/* 8035BB48 00358AA8 88 1F 00 00 */ lbz r0, 0(r31) +/* 8035BB4C 00358AAC 28 00 00 00 */ cmplwi r0, 0 +/* 8035BB50 00358AB0 41 82 00 0C */ beq lbl_8035BB5C +/* 8035BB54 00358AB4 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035BB58 00358AB8 4B FB 9D D9 */ bl Free__7CMemoryFPCv +lbl_8035BB5C: +/* 8035BB5C 00358ABC 3B FF 00 28 */ addi r31, r31, 0x28 +lbl_8035BB60: +/* 8035BB60 00358AC0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8035BB64 00358AC4 7C 1F 00 40 */ cmplw r31, r0 +/* 8035BB68 00358AC8 40 82 FF 7C */ bne lbl_8035BAE4 +/* 8035BB6C 00358ACC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035BB70 00358AD0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035BB74 00358AD4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035BB78 00358AD8 7C 08 03 A6 */ mtlr r0 +/* 8035BB7C 00358ADC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035BB80 00358AE0 4E 80 00 20 */ blr + +.global GetIsMovieFinishedPlaying__12CMoviePlayerCFv +GetIsMovieFinishedPlaying__12CMoviePlayerCFv: +/* 8035BB84 00358AE4 88 03 00 F4 */ lbz r0, 0xf4(r3) +/* 8035BB88 00358AE8 38 A0 00 00 */ li r5, 0 +/* 8035BB8C 00358AEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BB90 00358AF0 40 82 00 18 */ bne lbl_8035BBA8 +/* 8035BB94 00358AF4 80 83 00 C8 */ lwz r4, 0xc8(r3) +/* 8035BB98 00358AF8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8035BB9C 00358AFC 7C 04 00 40 */ cmplw r4, r0 +/* 8035BBA0 00358B00 40 82 00 08 */ bne lbl_8035BBA8 +/* 8035BBA4 00358B04 38 A0 00 01 */ li r5, 1 +lbl_8035BBA8: +/* 8035BBA8 00358B08 7C A3 2B 78 */ mr r3, r5 +/* 8035BBAC 00358B0C 4E 80 00 20 */ blr + +.global GetIsFullyCached__12CMoviePlayerCFv +GetIsFullyCached__12CMoviePlayerCFv: +/* 8035BBB0 00358B10 80 A3 00 A0 */ lwz r5, 0xa0(r3) +/* 8035BBB4 00358B14 80 03 00 F0 */ lwz r0, 0xf0(r3) +/* 8035BBB8 00358B18 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 8035BBBC 00358B1C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8035BBC0 00358B20 7C 00 28 10 */ subfc r0, r0, r5 +/* 8035BBC4 00358B24 7C 64 19 14 */ adde r3, r4, r3 +/* 8035BBC8 00358B28 4E 80 00 20 */ blr + +.global GetPlayedSeconds__12CMoviePlayerCFv +GetPlayedSeconds__12CMoviePlayerCFv: +/* 8035BBCC 00358B2C C0 23 00 E8 */ lfs f1, 0xe8(r3) +/* 8035BBD0 00358B30 C0 03 00 DC */ lfs f0, 0xdc(r3) +/* 8035BBD4 00358B34 EC 21 00 2A */ fadds f1, f1, f0 +/* 8035BBD8 00358B38 4E 80 00 20 */ blr + +.global GetTotalSeconds__12CMoviePlayerCFv +GetTotalSeconds__12CMoviePlayerCFv: +/* 8035BBDC 00358B3C C0 23 00 E4 */ lfs f1, 0xe4(r3) +/* 8035BBE0 00358B40 4E 80 00 20 */ blr + +.global SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode +SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode: +/* 8035BBE4 00358B44 90 83 00 E0 */ stw r4, 0xe0(r3) +/* 8035BBE8 00358B48 4E 80 00 20 */ blr + +.global DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 8035BBEC 00358B4C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035BBF0 00358B50 7C 08 02 A6 */ mflr r0 +/* 8035BBF4 00358B54 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035BBF8 00358B58 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8035BBFC 00358B5C 7C 7B 1B 78 */ mr r27, r3 +/* 8035BC00 00358B60 7C 9C 23 78 */ mr r28, r4 +/* 8035BC04 00358B64 7C BD 2B 78 */ mr r29, r5 +/* 8035BC08 00358B68 7C DE 33 78 */ mr r30, r6 +/* 8035BC0C 00358B6C 7C FF 3B 78 */ mr r31, r7 +/* 8035BC10 00358B70 80 03 00 D0 */ lwz r0, 0xd0(r3) +/* 8035BC14 00358B74 2C 00 FF FF */ cmpwi r0, -1 +/* 8035BC18 00358B78 41 82 01 34 */ beq lbl_8035BD4C +/* 8035BC1C 00358B7C 88 1B 00 F4 */ lbz r0, 0xf4(r27) +/* 8035BC20 00358B80 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 8035BC24 00358B84 4B FA DB E9 */ bl SetUseVideoFilter__9CGraphicsFb +/* 8035BC28 00358B88 48 02 5A 39 */ bl OSDisableInterrupts +/* 8035BC2C 00358B8C 93 6D AA A4 */ stw r27, lbl_805A9664@sda21(r13) +/* 8035BC30 00358B90 48 02 5A 59 */ bl OSRestoreInterrupts +/* 8035BC34 00358B94 80 7B 00 D0 */ lwz r3, 0xd0(r27) +/* 8035BC38 00358B98 88 1B 00 F4 */ lbz r0, 0xf4(r27) +/* 8035BC3C 00358B9C 1C A3 00 28 */ mulli r5, r3, 0x28 +/* 8035BC40 00358BA0 80 DB 00 8C */ lwz r6, 0x8c(r27) +/* 8035BC44 00358BA4 8B 2D A8 14 */ lbz r25, lbl_805A93D4@sda21(r13) +/* 8035BC48 00358BA8 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8035BC4C 00358BAC 7F 23 CB 78 */ mr r3, r25 +/* 8035BC50 00358BB0 7F 46 2A 14 */ add r26, r6, r5 +/* 8035BC54 00358BB4 48 00 16 41 */ bl MyTHPGXYuv2RgbSetup__Fb +/* 8035BC58 00358BB8 80 9B 00 6C */ lwz r4, 0x6c(r27) +/* 8035BC5C 00358BBC 80 1B 00 70 */ lwz r0, 0x70(r27) +/* 8035BC60 00358BC0 80 7A 00 04 */ lwz r3, 4(r26) +/* 8035BC64 00358BC4 54 86 04 3E */ clrlwi r6, r4, 0x10 +/* 8035BC68 00358BC8 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 8035BC6C 00358BCC 54 07 04 3E */ clrlwi r7, r0, 0x10 +/* 8035BC70 00358BD0 80 BA 00 14 */ lwz r5, 0x14(r26) +/* 8035BC74 00358BD4 48 00 14 AD */ bl MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs +/* 8035BC78 00358BD8 38 60 00 A0 */ li r3, 0xa0 +/* 8035BC7C 00358BDC 38 80 00 07 */ li r4, 7 +/* 8035BC80 00358BE0 38 A0 00 04 */ li r5, 4 +/* 8035BC84 00358BE4 4B FA C9 01 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8035BC88 00358BE8 C0 3C 00 08 */ lfs f1, 8(r28) +/* 8035BC8C 00358BEC 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 8035BC90 00358BF0 C0 5C 00 04 */ lfs f2, 4(r28) +/* 8035BC94 00358BF4 38 60 00 00 */ li r3, 0 +/* 8035BC98 00358BF8 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8035BC9C 00358BFC 38 00 00 01 */ li r0, 1 +/* 8035BCA0 00358C00 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BCA4 00358C04 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BCA8 00358C08 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BCAC 00358C0C B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BCB0 00358C10 B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BCB4 00358C14 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8035BCB8 00358C18 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8035BCBC 00358C1C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8035BCC0 00358C20 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BCC4 00358C24 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BCC8 00358C28 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BCCC 00358C2C B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BCD0 00358C30 B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BCD4 00358C34 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8035BCD8 00358C38 C0 5F 00 04 */ lfs f2, 4(r31) +/* 8035BCDC 00358C3C C0 1F 00 00 */ lfs f0, 0(r31) +/* 8035BCE0 00358C40 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BCE4 00358C44 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BCE8 00358C48 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BCEC 00358C4C B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BCF0 00358C50 B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BCF4 00358C54 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8035BCF8 00358C58 C0 5D 00 04 */ lfs f2, 4(r29) +/* 8035BCFC 00358C5C C0 1D 00 00 */ lfs f0, 0(r29) +/* 8035BD00 00358C60 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BD04 00358C64 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BD08 00358C68 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BD0C 00358C6C B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BD10 00358C70 B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BD14 00358C74 4B FA C8 6D */ bl End__3CGXFv +/* 8035BD18 00358C78 48 00 1A 99 */ bl MyTHPGXRestore__Fv +/* 8035BD1C 00358C7C 80 1B 00 FC */ lwz r0, 0xfc(r27) +/* 8035BD20 00358C80 2C 00 00 00 */ cmpwi r0, 0 +/* 8035BD24 00358C84 40 82 00 1C */ bne lbl_8035BD40 +/* 8035BD28 00358C88 28 19 00 00 */ cmplwi r25, 0 +/* 8035BD2C 00358C8C 41 82 00 14 */ beq lbl_8035BD40 +/* 8035BD30 00358C90 88 1B 00 F4 */ lbz r0, 0xf4(r27) +/* 8035BD34 00358C94 38 60 00 01 */ li r3, 1 +/* 8035BD38 00358C98 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8035BD3C 00358C9C 98 1B 00 F4 */ stb r0, 0xf4(r27) +lbl_8035BD40: +/* 8035BD40 00358CA0 80 7B 00 FC */ lwz r3, 0xfc(r27) +/* 8035BD44 00358CA4 38 03 00 01 */ addi r0, r3, 1 +/* 8035BD48 00358CA8 90 1B 00 FC */ stw r0, 0xfc(r27) +lbl_8035BD4C: +/* 8035BD4C 00358CAC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8035BD50 00358CB0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035BD54 00358CB4 7C 08 03 A6 */ mtlr r0 +/* 8035BD58 00358CB8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035BD5C 00358CBC 4E 80 00 20 */ blr + +.global Update__12CMoviePlayerFf +Update__12CMoviePlayerFf: +/* 8035BD60 00358CC0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8035BD64 00358CC4 7C 08 02 A6 */ mflr r0 +/* 8035BD68 00358CC8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8035BD6C 00358CCC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8035BD70 00358CD0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8035BD74 00358CD4 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8035BD78 00358CD8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 8035BD7C 00358CDC DB A1 00 20 */ stfd f29, 0x20(r1) +/* 8035BD80 00358CE0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 8035BD84 00358CE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035BD88 00358CE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035BD8C 00358CEC 7C 7F 1B 78 */ mr r31, r3 +/* 8035BD90 00358CF0 FF A0 08 90 */ fmr f29, f1 +/* 8035BD94 00358CF4 80 A3 00 C0 */ lwz r5, 0xc0(r3) +/* 8035BD98 00358CF8 80 03 00 F0 */ lwz r0, 0xf0(r3) +/* 8035BD9C 00358CFC 7C 05 00 00 */ cmpw r5, r0 +/* 8035BDA0 00358D00 40 80 00 64 */ bge lbl_8035BE04 +/* 8035BDA4 00358D04 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035BDA8 00358D08 28 03 00 00 */ cmplwi r3, 0 +/* 8035BDAC 00358D0C 41 82 01 08 */ beq lbl_8035BEB4 +/* 8035BDB0 00358D10 81 83 00 00 */ lwz r12, 0(r3) +/* 8035BDB4 00358D14 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035BDB8 00358D18 7D 89 03 A6 */ mtctr r12 +/* 8035BDBC 00358D1C 4E 80 04 21 */ bctrl +/* 8035BDC0 00358D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035BDC4 00358D24 41 82 00 F0 */ beq lbl_8035BEB4 +/* 8035BDC8 00358D28 7F E3 FB 78 */ mr r3, r31 +/* 8035BDCC 00358D2C 48 00 04 49 */ bl ReadCompleted__12CMoviePlayerFv +/* 8035BDD0 00358D30 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035BDD4 00358D34 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8035BDD8 00358D38 7C 03 20 00 */ cmpw r3, r4 +/* 8035BDDC 00358D3C 41 80 00 D8 */ blt lbl_8035BEB4 +/* 8035BDE0 00358D40 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035BDE4 00358D44 7C 03 00 00 */ cmpw r3, r0 +/* 8035BDE8 00358D48 40 80 00 CC */ bge lbl_8035BEB4 +/* 8035BDEC 00358D4C 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BDF0 00358D50 7C 04 00 40 */ cmplw r4, r0 +/* 8035BDF4 00358D54 40 80 00 C0 */ bge lbl_8035BEB4 +/* 8035BDF8 00358D58 7F E3 FB 78 */ mr r3, r31 +/* 8035BDFC 00358D5C 48 00 05 8D */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +/* 8035BE00 00358D60 48 00 00 B4 */ b lbl_8035BEB4 +lbl_8035BE04: +/* 8035BE04 00358D64 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035BE08 00358D68 28 03 00 00 */ cmplwi r3, 0 +/* 8035BE0C 00358D6C 41 82 00 A8 */ beq lbl_8035BEB4 +/* 8035BE10 00358D70 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 8035BE14 00358D74 3B C0 00 00 */ li r30, 0 +/* 8035BE18 00358D78 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8035BE1C 00358D7C 7C 00 20 00 */ cmpw r0, r4 +/* 8035BE20 00358D80 41 80 00 10 */ blt lbl_8035BE30 +/* 8035BE24 00358D84 7C 05 20 00 */ cmpw r5, r4 +/* 8035BE28 00358D88 41 80 00 08 */ blt lbl_8035BE30 +/* 8035BE2C 00358D8C 3B C0 00 01 */ li r30, 1 +lbl_8035BE30: +/* 8035BE30 00358D90 81 83 00 00 */ lwz r12, 0(r3) +/* 8035BE34 00358D94 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035BE38 00358D98 7D 89 03 A6 */ mtctr r12 +/* 8035BE3C 00358D9C 4E 80 04 21 */ bctrl +/* 8035BE40 00358DA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035BE44 00358DA4 41 82 00 70 */ beq lbl_8035BEB4 +/* 8035BE48 00358DA8 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 8035BE4C 00358DAC 2C 00 00 02 */ cmpwi r0, 2 +/* 8035BE50 00358DB0 40 80 00 64 */ bge lbl_8035BEB4 +/* 8035BE54 00358DB4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8035BE58 00358DB8 41 82 00 5C */ beq lbl_8035BEB4 +/* 8035BE5C 00358DBC 80 9F 00 94 */ lwz r4, 0x94(r31) +/* 8035BE60 00358DC0 7F E3 FB 78 */ mr r3, r31 +/* 8035BE64 00358DC4 48 00 02 95 */ bl DecodeFromRead__12CMoviePlayerFPCv +/* 8035BE68 00358DC8 7F E3 FB 78 */ mr r3, r31 +/* 8035BE6C 00358DCC 48 00 03 A9 */ bl ReadCompleted__12CMoviePlayerFv +/* 8035BE70 00358DD0 7F E3 FB 78 */ mr r3, r31 +/* 8035BE74 00358DD4 48 00 05 15 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +/* 8035BE78 00358DD8 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 8035BE7C 00358DDC 38 03 00 01 */ addi r0, r3, 1 +/* 8035BE80 00358DE0 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 8035BE84 00358DE4 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BE88 00358DE8 38 03 00 01 */ addi r0, r3, 1 +/* 8035BE8C 00358DEC 90 1F 00 C4 */ stw r0, 0xc4(r31) +/* 8035BE90 00358DF0 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BE94 00358DF4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BE98 00358DF8 7C 03 00 40 */ cmplw r3, r0 +/* 8035BE9C 00358DFC 41 80 00 18 */ blt lbl_8035BEB4 +/* 8035BEA0 00358E00 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035BEA4 00358E04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BEA8 00358E08 41 82 00 0C */ beq lbl_8035BEB4 +/* 8035BEAC 00358E0C 38 00 00 00 */ li r0, 0 +/* 8035BEB0 00358E10 90 1F 00 C4 */ stw r0, 0xc4(r31) +lbl_8035BEB4: +/* 8035BEB4 00358E14 80 1F 00 98 */ lwz r0, 0x98(r31) +/* 8035BEB8 00358E18 28 00 00 00 */ cmplwi r0, 0 +/* 8035BEBC 00358E1C 40 82 00 28 */ bne lbl_8035BEE4 +/* 8035BEC0 00358E20 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 8035BEC4 00358E24 2C 00 00 01 */ cmpwi r0, 1 +/* 8035BEC8 00358E28 40 82 00 1C */ bne lbl_8035BEE4 +/* 8035BECC 00358E2C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8035BED0 00358E30 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BED4 00358E34 7C 03 00 40 */ cmplw r3, r0 +/* 8035BED8 00358E38 40 80 00 0C */ bge lbl_8035BEE4 +/* 8035BEDC 00358E3C 7F E3 FB 78 */ mr r3, r31 +/* 8035BEE0 00358E40 48 00 04 A9 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +lbl_8035BEE4: +/* 8035BEE4 00358E44 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 8035BEE8 00358E48 2C 00 00 02 */ cmpwi r0, 2 +/* 8035BEEC 00358E4C 40 80 00 A4 */ bge lbl_8035BF90 +/* 8035BEF0 00358E50 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 8035BEF4 00358E54 2C 00 00 01 */ cmpwi r0, 1 +/* 8035BEF8 00358E58 40 82 00 98 */ bne lbl_8035BF90 +/* 8035BEFC 00358E5C 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BF00 00358E60 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035BF04 00358E64 7C 03 00 00 */ cmpw r3, r0 +/* 8035BF08 00358E68 40 80 00 88 */ bge lbl_8035BF90 +/* 8035BF0C 00358E6C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8035BF10 00358E70 38 63 FF FF */ addi r3, r3, -1 +/* 8035BF14 00358E74 90 61 00 08 */ stw r3, 8(r1) +/* 8035BF18 00358E78 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 8035BF1C 00358E7C 7C 03 00 00 */ cmpw r3, r0 +/* 8035BF20 00358E80 40 80 00 0C */ bge lbl_8035BF2C +/* 8035BF24 00358E84 38 61 00 08 */ addi r3, r1, 8 +/* 8035BF28 00358E88 48 00 00 08 */ b lbl_8035BF30 +lbl_8035BF2C: +/* 8035BF2C 00358E8C 38 7F 00 C4 */ addi r3, r31, 0xc4 +lbl_8035BF30: +/* 8035BF30 00358E90 80 03 00 00 */ lwz r0, 0(r3) +/* 8035BF34 00358E94 2C 00 FF FF */ cmpwi r0, -1 +/* 8035BF38 00358E98 41 82 01 90 */ beq lbl_8035C0C8 +/* 8035BF3C 00358E9C 54 03 18 38 */ slwi r3, r0, 3 +/* 8035BF40 00358EA0 80 9F 00 A8 */ lwz r4, 0xa8(r31) +/* 8035BF44 00358EA4 38 03 00 04 */ addi r0, r3, 4 +/* 8035BF48 00358EA8 7F E3 FB 78 */ mr r3, r31 +/* 8035BF4C 00358EAC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8035BF50 00358EB0 48 00 01 A9 */ bl DecodeFromRead__12CMoviePlayerFPCv +/* 8035BF54 00358EB4 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 8035BF58 00358EB8 38 03 00 01 */ addi r0, r3, 1 +/* 8035BF5C 00358EBC 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 8035BF60 00358EC0 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BF64 00358EC4 38 03 00 01 */ addi r0, r3, 1 +/* 8035BF68 00358EC8 90 1F 00 C4 */ stw r0, 0xc4(r31) +/* 8035BF6C 00358ECC 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BF70 00358ED0 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BF74 00358ED4 7C 03 00 40 */ cmplw r3, r0 +/* 8035BF78 00358ED8 41 80 00 18 */ blt lbl_8035BF90 +/* 8035BF7C 00358EDC 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035BF80 00358EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BF84 00358EE4 41 82 00 0C */ beq lbl_8035BF90 +/* 8035BF88 00358EE8 38 00 00 00 */ li r0, 0 +/* 8035BF8C 00358EEC 90 1F 00 C4 */ stw r0, 0xc4(r31) +lbl_8035BF90: +/* 8035BF90 00358EF0 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 8035BF94 00358EF4 2C 00 00 00 */ cmpwi r0, 0 +/* 8035BF98 00358EF8 40 81 01 30 */ ble lbl_8035C0C8 +/* 8035BF9C 00358EFC 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 8035BFA0 00358F00 2C 00 00 01 */ cmpwi r0, 1 +/* 8035BFA4 00358F04 40 82 01 24 */ bne lbl_8035C0C8 +/* 8035BFA8 00358F08 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 8035BFAC 00358F0C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8035BFB0 00358F10 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8035BFB4 00358F14 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035BFB8 00358F18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BFBC 00358F1C 41 82 00 1C */ beq lbl_8035BFD8 +/* 8035BFC0 00358F20 C0 3F 00 E8 */ lfs f1, 0xe8(r31) +/* 8035BFC4 00358F24 C0 5F 00 E4 */ lfs f2, 0xe4(r31) +/* 8035BFC8 00358F28 48 03 8C E5 */ bl fmod +/* 8035BFCC 00358F2C FC 00 08 18 */ frsp f0, f1 +/* 8035BFD0 00358F30 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8035BFD4 00358F34 48 00 00 28 */ b lbl_8035BFFC +lbl_8035BFD8: +/* 8035BFD8 00358F38 C0 3F 00 E4 */ lfs f1, 0xe4(r31) +/* 8035BFDC 00358F3C C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 8035BFE0 00358F40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035BFE4 00358F44 40 80 00 0C */ bge lbl_8035BFF0 +/* 8035BFE8 00358F48 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 8035BFEC 00358F4C 48 00 00 08 */ b lbl_8035BFF4 +lbl_8035BFF0: +/* 8035BFF0 00358F50 38 7F 00 E8 */ addi r3, r31, 0xe8 +lbl_8035BFF4: +/* 8035BFF4 00358F54 C0 03 00 00 */ lfs f0, 0(r3) +/* 8035BFF8 00358F58 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +lbl_8035BFFC: +/* 8035BFFC 00358F5C C0 22 CD 28 */ lfs f1, lbl_805AEA48@sda21(r2) +/* 8035C000 00358F60 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8035C004 00358F64 C0 5F 00 DC */ lfs f2, 0xdc(r31) +/* 8035C008 00358F68 EF C1 00 24 */ fdivs f30, f1, f0 +/* 8035C00C 00358F6C C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035C010 00358F70 EF E2 E8 28 */ fsubs f31, f2, f29 +/* 8035C014 00358F74 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8035C018 00358F78 4C 40 13 82 */ cror 2, 0, 2 +/* 8035C01C 00358F7C 40 82 00 A8 */ bne lbl_8035C0C4 +/* 8035C020 00358F80 88 7F 00 F4 */ lbz r3, 0xf4(r31) +/* 8035C024 00358F84 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8035C028 00358F88 40 82 00 8C */ bne lbl_8035C0B4 +/* 8035C02C 00358F8C 80 7F 00 D0 */ lwz r3, 0xd0(r31) +/* 8035C030 00358F90 38 63 00 01 */ addi r3, r3, 1 +/* 8035C034 00358F94 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8035C038 00358F98 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8035C03C 00358F9C 7C 03 00 00 */ cmpw r3, r0 +/* 8035C040 00358FA0 41 80 00 0C */ blt lbl_8035C04C +/* 8035C044 00358FA4 38 00 00 00 */ li r0, 0 +/* 8035C048 00358FA8 90 1F 00 D0 */ stw r0, 0xd0(r31) +lbl_8035C04C: +/* 8035C04C 00358FAC 48 02 56 15 */ bl OSDisableInterrupts +/* 8035C050 00358FB0 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8035C054 00358FB4 2C 00 FF FF */ cmpwi r0, -1 +/* 8035C058 00358FB8 40 82 00 0C */ bne lbl_8035C064 +/* 8035C05C 00358FBC 38 00 00 00 */ li r0, 0 +/* 8035C060 00358FC0 90 1F 00 D4 */ stw r0, 0xd4(r31) +lbl_8035C064: +/* 8035C064 00358FC4 48 02 56 25 */ bl OSRestoreInterrupts +/* 8035C068 00358FC8 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 8035C06C 00358FCC 38 03 FF FF */ addi r0, r3, -1 +/* 8035C070 00358FD0 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 8035C074 00358FD4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8035C078 00358FD8 38 03 00 01 */ addi r0, r3, 1 +/* 8035C07C 00358FDC 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8035C080 00358FE0 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8035C084 00358FE4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C088 00358FE8 7C 03 00 40 */ cmplw r3, r0 +/* 8035C08C 00358FEC 40 82 00 18 */ bne lbl_8035C0A4 +/* 8035C090 00358FF0 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035C094 00358FF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035C098 00358FF8 41 82 00 0C */ beq lbl_8035C0A4 +/* 8035C09C 00358FFC 38 00 00 00 */ li r0, 0 +/* 8035C0A0 00359000 90 1F 00 C8 */ stw r0, 0xc8(r31) +lbl_8035C0A4: +/* 8035C0A4 00359004 38 00 00 00 */ li r0, 0 +/* 8035C0A8 00359008 EF FF F0 2A */ fadds f31, f31, f30 +/* 8035C0AC 0035900C 90 1F 00 FC */ stw r0, 0xfc(r31) +/* 8035C0B0 00359010 48 00 00 14 */ b lbl_8035C0C4 +lbl_8035C0B4: +/* 8035C0B4 00359014 38 00 00 00 */ li r0, 0 +/* 8035C0B8 00359018 EF FF E8 2A */ fadds f31, f31, f29 +/* 8035C0BC 0035901C 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 8035C0C0 00359020 98 7F 00 F4 */ stb r3, 0xf4(r31) +lbl_8035C0C4: +/* 8035C0C4 00359024 D3 FF 00 DC */ stfs f31, 0xdc(r31) +lbl_8035C0C8: +/* 8035C0C8 00359028 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8035C0CC 0035902C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8035C0D0 00359030 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 8035C0D4 00359034 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 8035C0D8 00359038 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 8035C0DC 0035903C CB A1 00 20 */ lfd f29, 0x20(r1) +/* 8035C0E0 00359040 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C0E4 00359044 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8035C0E8 00359048 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C0EC 0035904C 7C 08 03 A6 */ mtlr r0 +/* 8035C0F0 00359050 38 21 00 50 */ addi r1, r1, 0x50 +/* 8035C0F4 00359054 4E 80 00 20 */ blr + +.global DecodeFromRead__12CMoviePlayerFPCv +DecodeFromRead__12CMoviePlayerFPCv: +/* 8035C0F8 00359058 94 21 EF B0 */ stwu r1, -0x1050(r1) +/* 8035C0FC 0035905C 7C 08 02 A6 */ mflr r0 +/* 8035C100 00359060 90 01 10 54 */ stw r0, 0x1054(r1) +/* 8035C104 00359064 38 A1 00 27 */ addi r5, r1, 0x27 +/* 8035C108 00359068 BF 01 10 30 */ stmw r24, 0x1030(r1) +/* 8035C10C 0035906C 7C 7F 1B 78 */ mr r31, r3 +/* 8035C110 00359070 7C 98 23 78 */ mr r24, r4 +/* 8035C114 00359074 54 BC 00 34 */ rlwinm r28, r5, 0, 0, 0x1a +/* 8035C118 00359078 80 03 00 84 */ lwz r0, 0x84(r3) +/* 8035C11C 0035907C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035C120 00359080 40 82 00 08 */ bne lbl_8035C128 +/* 8035C124 00359084 48 00 03 81 */ bl InitializeTextures__12CMoviePlayerFv +lbl_8035C128: +/* 8035C128 00359088 80 9F 00 CC */ lwz r4, 0xcc(r31) +/* 8035C12C 0035908C 38 00 00 00 */ li r0, 0 +/* 8035C130 00359090 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 8035C134 00359094 3B 78 00 08 */ addi r27, r24, 8 +/* 8035C138 00359098 1C 84 00 28 */ mulli r4, r4, 0x28 +/* 8035C13C 0035909C 80 BF 00 8C */ lwz r5, 0x8c(r31) +/* 8035C140 003590A0 54 63 10 3A */ slwi r3, r3, 2 +/* 8035C144 003590A4 3B 20 00 00 */ li r25, 0 +/* 8035C148 003590A8 7F A5 22 14 */ add r29, r5, r4 +/* 8035C14C 003590AC 3B 43 00 08 */ addi r26, r3, 8 +/* 8035C150 003590B0 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8035C154 003590B4 7F 58 D2 14 */ add r26, r24, r26 +/* 8035C158 003590B8 3B 00 00 00 */ li r24, 0 +/* 8035C15C 003590BC 90 1D 00 20 */ stw r0, 0x20(r29) +/* 8035C160 003590C0 48 00 00 74 */ b lbl_8035C1D4 +lbl_8035C164: +/* 8035C164 003590C4 38 18 00 5C */ addi r0, r24, 0x5c +/* 8035C168 003590C8 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8035C16C 003590CC 28 00 00 00 */ cmplwi r0, 0 +/* 8035C170 003590D0 40 82 00 20 */ bne lbl_8035C190 +/* 8035C174 003590D4 80 9D 00 04 */ lwz r4, 4(r29) +/* 8035C178 003590D8 7F 43 D3 78 */ mr r3, r26 +/* 8035C17C 003590DC 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 8035C180 003590E0 7F 87 E3 78 */ mr r7, r28 +/* 8035C184 003590E4 80 DD 00 14 */ lwz r6, 0x14(r29) +/* 8035C188 003590E8 48 06 59 D9 */ bl THPVideoDecode +/* 8035C18C 003590EC 48 00 00 34 */ b lbl_8035C1C0 +lbl_8035C190: +/* 8035C190 003590F0 28 00 00 01 */ cmplwi r0, 1 +/* 8035C194 003590F4 40 82 00 2C */ bne lbl_8035C1C0 +/* 8035C198 003590F8 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 8035C19C 003590FC 7F 44 D3 78 */ mr r4, r26 +/* 8035C1A0 00359100 38 A0 00 00 */ li r5, 0 +/* 8035C1A4 00359104 48 06 CF 25 */ bl THPAudioDecode +/* 8035C1A8 00359108 7C 7E 1B 78 */ mr r30, r3 +/* 8035C1AC 0035910C 48 02 54 B5 */ bl OSDisableInterrupts +/* 8035C1B0 00359110 93 DD 00 20 */ stw r30, 0x20(r29) +/* 8035C1B4 00359114 38 00 00 00 */ li r0, 0 +/* 8035C1B8 00359118 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8035C1BC 0035911C 48 02 54 CD */ bl OSRestoreInterrupts +lbl_8035C1C0: +/* 8035C1C0 00359120 80 1B 00 00 */ lwz r0, 0(r27) +/* 8035C1C4 00359124 3B 7B 00 04 */ addi r27, r27, 4 +/* 8035C1C8 00359128 3B 18 00 01 */ addi r24, r24, 1 +/* 8035C1CC 0035912C 7F 39 02 14 */ add r25, r25, r0 +/* 8035C1D0 00359130 7F 5A 02 14 */ add r26, r26, r0 +lbl_8035C1D4: +/* 8035C1D4 00359134 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 8035C1D8 00359138 7C 18 00 40 */ cmplw r24, r0 +/* 8035C1DC 0035913C 41 80 FF 88 */ blt lbl_8035C164 +/* 8035C1E0 00359140 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8035C1E4 00359144 38 63 00 01 */ addi r3, r3, 1 +/* 8035C1E8 00359148 90 7F 00 CC */ stw r3, 0xcc(r31) +/* 8035C1EC 0035914C 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8035C1F0 00359150 7C 03 00 00 */ cmpw r3, r0 +/* 8035C1F4 00359154 40 82 00 0C */ bne lbl_8035C200 +/* 8035C1F8 00359158 38 00 00 00 */ li r0, 0 +/* 8035C1FC 0035915C 90 1F 00 CC */ stw r0, 0xcc(r31) +lbl_8035C200: +/* 8035C200 00359160 BB 01 10 30 */ lmw r24, 0x1030(r1) +/* 8035C204 00359164 80 01 10 54 */ lwz r0, 0x1054(r1) +/* 8035C208 00359168 7C 08 03 A6 */ mtlr r0 +/* 8035C20C 0035916C 38 21 10 50 */ addi r1, r1, 0x1050 +/* 8035C210 00359170 4E 80 00 20 */ blr + +.global ReadCompleted__12CMoviePlayerFv +ReadCompleted__12CMoviePlayerFv: +/* 8035C214 00359174 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035C218 00359178 7C 08 02 A6 */ mflr r0 +/* 8035C21C 0035917C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035C220 00359180 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035C224 00359184 7C 7F 1B 78 */ mr r31, r3 +/* 8035C228 00359188 80 63 00 98 */ lwz r3, 0x98(r3) +/* 8035C22C 0035918C 28 03 00 00 */ cmplwi r3, 0 +/* 8035C230 00359190 41 82 00 18 */ beq lbl_8035C248 +/* 8035C234 00359194 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C238 00359198 38 80 00 01 */ li r4, 1 +/* 8035C23C 0035919C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C240 003591A0 7D 89 03 A6 */ mtctr r12 +/* 8035C244 003591A4 4E 80 04 21 */ bctrl +lbl_8035C248: +/* 8035C248 003591A8 38 00 00 00 */ li r0, 0 +/* 8035C24C 003591AC 90 1F 00 98 */ stw r0, 0x98(r31) +/* 8035C250 003591B0 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C254 003591B4 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8035C258 003591B8 7C 03 20 00 */ cmpw r3, r4 +/* 8035C25C 003591BC 40 82 00 7C */ bne lbl_8035C2D8 +/* 8035C260 003591C0 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035C264 003591C4 7C 00 18 00 */ cmpw r0, r3 +/* 8035C268 003591C8 40 81 00 70 */ ble lbl_8035C2D8 +/* 8035C26C 003591CC 80 1F 00 A4 */ lwz r0, 0xa4(r31) +/* 8035C270 003591D0 7C 04 00 00 */ cmpw r4, r0 +/* 8035C274 003591D4 41 80 00 1C */ blt lbl_8035C290 +/* 8035C278 003591D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8035C27C 003591DC 38 7F 00 9C */ addi r3, r31, 0x9c +/* 8035C280 003591E0 38 80 00 04 */ li r4, 4 +/* 8035C284 003591E4 41 82 00 08 */ beq lbl_8035C28C +/* 8035C288 003591E8 54 04 08 3C */ slwi r4, r0, 1 +lbl_8035C28C: +/* 8035C28C 003591EC 48 00 17 7D */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +lbl_8035C290: +/* 8035C290 003591F0 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 8035C294 003591F4 80 7F 00 A8 */ lwz r3, 0xa8(r31) +/* 8035C298 003591F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8035C29C 003591FC 7C 83 02 15 */ add. r4, r3, r0 +/* 8035C2A0 00359200 41 82 00 1C */ beq lbl_8035C2BC +/* 8035C2A4 00359204 88 7F 00 90 */ lbz r3, 0x90(r31) +/* 8035C2A8 00359208 38 00 00 00 */ li r0, 0 +/* 8035C2AC 0035920C 98 64 00 00 */ stb r3, 0(r4) +/* 8035C2B0 00359210 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C2B4 00359214 90 64 00 04 */ stw r3, 4(r4) +/* 8035C2B8 00359218 98 1F 00 90 */ stb r0, 0x90(r31) +lbl_8035C2BC: +/* 8035C2BC 0035921C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8035C2C0 00359220 38 03 00 01 */ addi r0, r3, 1 +/* 8035C2C4 00359224 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 8035C2C8 00359228 80 7F 00 F8 */ lwz r3, 0xf8(r31) +/* 8035C2CC 0035922C 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 8035C2D0 00359230 7C 03 02 14 */ add r0, r3, r0 +/* 8035C2D4 00359234 90 1F 00 F8 */ stw r0, 0xf8(r31) +lbl_8035C2D8: +/* 8035C2D8 00359238 80 7F 00 B4 */ lwz r3, 0xb4(r31) +/* 8035C2DC 0035923C 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 8035C2E0 00359240 7C 03 02 14 */ add r0, r3, r0 +/* 8035C2E4 00359244 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 8035C2E8 00359248 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C2EC 0035924C 80 03 00 00 */ lwz r0, 0(r3) +/* 8035C2F0 00359250 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 8035C2F4 00359254 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C2F8 00359258 38 03 00 01 */ addi r0, r3, 1 +/* 8035C2FC 0035925C 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 8035C300 00359260 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C304 00359264 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035C308 00359268 7C 03 00 00 */ cmpw r3, r0 +/* 8035C30C 0035926C 40 82 00 34 */ bne lbl_8035C340 +/* 8035C310 00359270 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C314 00359274 7C 03 00 40 */ cmplw r3, r0 +/* 8035C318 00359278 40 82 00 18 */ bne lbl_8035C330 +/* 8035C31C 0035927C 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 8035C320 00359280 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8035C324 00359284 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8035C328 00359288 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8035C32C 0035928C 48 00 00 14 */ b lbl_8035C340 +lbl_8035C330: +/* 8035C330 00359290 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 8035C334 00359294 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8035C338 00359298 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 8035C33C 0035929C 90 1F 00 BC */ stw r0, 0xbc(r31) +lbl_8035C340: +/* 8035C340 003592A0 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C344 003592A4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C348 003592A8 7C 03 00 40 */ cmplw r3, r0 +/* 8035C34C 003592AC 41 80 00 28 */ blt lbl_8035C374 +/* 8035C350 003592B0 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035C354 003592B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035C358 003592B8 41 82 00 1C */ beq lbl_8035C374 +/* 8035C35C 003592BC 80 1F 00 BC */ lwz r0, 0xbc(r31) +/* 8035C360 003592C0 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 8035C364 003592C4 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 8035C368 003592C8 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 8035C36C 003592CC 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035C370 003592D0 90 1F 00 C0 */ stw r0, 0xc0(r31) +lbl_8035C374: +/* 8035C374 003592D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035C378 003592D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035C37C 003592DC 7C 08 03 A6 */ mtlr r0 +/* 8035C380 003592E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035C384 003592E4 4E 80 00 20 */ blr + +.global PostDVDReadRequestIfNeeded__12CMoviePlayerFv +PostDVDReadRequestIfNeeded__12CMoviePlayerFv: +/* 8035C388 003592E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035C38C 003592EC 7C 08 02 A6 */ mflr r0 +/* 8035C390 003592F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035C394 003592F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035C398 003592F8 7C 7F 1B 78 */ mr r31, r3 +/* 8035C39C 003592FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035C3A0 00359300 80 63 00 C0 */ lwz r3, 0xc0(r3) +/* 8035C3A4 00359304 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C3A8 00359308 7C 03 00 40 */ cmplw r3, r0 +/* 8035C3AC 0035930C 40 80 00 E0 */ bge lbl_8035C48C +/* 8035C3B0 00359310 3C 60 80 3E */ lis r3, lbl_803D83D8@ha +/* 8035C3B4 00359314 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8035C3B8 00359318 38 A3 83 D8 */ addi r5, r3, lbl_803D83D8@l +/* 8035C3BC 0035931C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8035C3C0 00359320 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035C3C4 00359324 38 80 FF FF */ li r4, -1 +/* 8035C3C8 00359328 4B F7 A0 0D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C3CC 0035932C 7C 67 1B 78 */ mr r7, r3 +/* 8035C3D0 00359330 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 8035C3D4 00359334 38 80 00 02 */ li r4, 2 +/* 8035C3D8 00359338 38 A0 00 01 */ li r5, 1 +/* 8035C3DC 0035933C 38 C0 00 00 */ li r6, 0 +/* 8035C3E0 00359340 4B FB 95 B5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C3E4 00359344 7C 03 00 D0 */ neg r0, r3 +/* 8035C3E8 00359348 38 81 00 08 */ addi r4, r1, 8 +/* 8035C3EC 0035934C 7C 05 1B 78 */ or r5, r0, r3 +/* 8035C3F0 00359350 38 1F 00 90 */ addi r0, r31, 0x90 +/* 8035C3F4 00359354 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 8035C3F8 00359358 90 61 00 0C */ stw r3, 0xc(r1) +/* 8035C3FC 0035935C 7C 04 00 40 */ cmplw r4, r0 +/* 8035C400 00359360 98 A1 00 08 */ stb r5, 8(r1) +/* 8035C404 00359364 41 82 00 30 */ beq lbl_8035C434 +/* 8035C408 00359368 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 8035C40C 0035936C 28 00 00 00 */ cmplwi r0, 0 +/* 8035C410 00359370 41 82 00 0C */ beq lbl_8035C41C +/* 8035C414 00359374 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C418 00359378 4B FB 95 19 */ bl Free__7CMemoryFPCv +lbl_8035C41C: +/* 8035C41C 0035937C 88 61 00 08 */ lbz r3, 8(r1) +/* 8035C420 00359380 38 00 00 00 */ li r0, 0 +/* 8035C424 00359384 98 7F 00 90 */ stb r3, 0x90(r31) +/* 8035C428 00359388 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035C42C 0035938C 90 7F 00 94 */ stw r3, 0x94(r31) +/* 8035C430 00359390 98 01 00 08 */ stb r0, 8(r1) +lbl_8035C434: +/* 8035C434 00359394 88 01 00 08 */ lbz r0, 8(r1) +/* 8035C438 00359398 28 00 00 00 */ cmplwi r0, 0 +/* 8035C43C 0035939C 41 82 00 0C */ beq lbl_8035C448 +/* 8035C440 003593A0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035C444 003593A4 4B FB 94 ED */ bl Free__7CMemoryFPCv +lbl_8035C448: +/* 8035C448 003593A8 80 9F 00 94 */ lwz r4, 0x94(r31) +/* 8035C44C 003593AC 7F E3 FB 78 */ mr r3, r31 +/* 8035C450 003593B0 80 BF 00 B0 */ lwz r5, 0xb0(r31) +/* 8035C454 003593B4 38 C0 00 00 */ li r6, 0 +/* 8035C458 003593B8 80 FF 00 B4 */ lwz r7, 0xb4(r31) +/* 8035C45C 003593BC 4B FF 35 65 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035C460 003593C0 80 1F 00 98 */ lwz r0, 0x98(r31) +/* 8035C464 003593C4 7C 7E 1B 78 */ mr r30, r3 +/* 8035C468 003593C8 28 00 00 00 */ cmplwi r0, 0 +/* 8035C46C 003593CC 41 82 00 1C */ beq lbl_8035C488 +/* 8035C470 003593D0 7C 03 03 78 */ mr r3, r0 +/* 8035C474 003593D4 38 80 00 01 */ li r4, 1 +/* 8035C478 003593D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C47C 003593DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C480 003593E0 7D 89 03 A6 */ mtctr r12 +/* 8035C484 003593E4 4E 80 04 21 */ bctrl +lbl_8035C488: +/* 8035C488 003593E8 93 DF 00 98 */ stw r30, 0x98(r31) +lbl_8035C48C: +/* 8035C48C 003593EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035C490 003593F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C494 003593F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C498 003593F8 7C 08 03 A6 */ mtlr r0 +/* 8035C49C 003593FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035C4A0 00359400 4E 80 00 20 */ blr + +.global InitializeTextures__12CMoviePlayerFv +InitializeTextures__12CMoviePlayerFv: +/* 8035C4A4 00359404 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8035C4A8 00359408 7C 08 02 A6 */ mflr r0 +/* 8035C4AC 0035940C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035C4B0 00359410 BD C1 00 58 */ stmw r14, 0x58(r1) +/* 8035C4B4 00359414 7C 7B 1B 78 */ mr r27, r3 +/* 8035C4B8 00359418 3C 60 80 3E */ lis r3, lbl_803D83D8@ha +/* 8035C4BC 0035941C 39 C1 00 30 */ addi r14, r1, 0x30 +/* 8035C4C0 00359420 3B 03 83 D8 */ addi r24, r3, lbl_803D83D8@l +/* 8035C4C4 00359424 39 E1 00 38 */ addi r15, r1, 0x38 +/* 8035C4C8 00359428 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8035C4CC 0035942C 3A 01 00 40 */ addi r16, r1, 0x40 +/* 8035C4D0 00359430 3B 23 6A A8 */ addi r25, r3, lbl_803D6AA8@l +/* 8035C4D4 00359434 7F 1A C3 78 */ mr r26, r24 +/* 8035C4D8 00359438 7F 37 CB 78 */ mr r23, r25 +/* 8035C4DC 0035943C 7F 15 C3 78 */ mr r21, r24 +/* 8035C4E0 00359440 7F 33 CB 78 */ mr r19, r25 +/* 8035C4E4 00359444 3B 80 00 00 */ li r28, 0 +/* 8035C4E8 00359448 80 BB 00 6C */ lwz r5, 0x6c(r27) +/* 8035C4EC 0035944C 80 9B 00 70 */ lwz r4, 0x70(r27) +/* 8035C4F0 00359450 80 1B 00 34 */ lwz r0, 0x34(r27) +/* 8035C4F4 00359454 7C 65 21 D6 */ mullw r3, r5, r4 +/* 8035C4F8 00359458 54 1D 10 3A */ slwi r29, r0, 2 +/* 8035C4FC 0035945C 38 83 00 1F */ addi r4, r3, 0x1f +/* 8035C500 00359460 54 63 F0 BE */ srwi r3, r3, 2 +/* 8035C504 00359464 54 84 00 34 */ rlwinm r4, r4, 0, 0, 0x1a +/* 8035C508 00359468 38 63 00 1F */ addi r3, r3, 0x1f +/* 8035C50C 0035946C 7C 9F 23 78 */ mr r31, r4 +/* 8035C510 00359470 54 7E 00 34 */ rlwinm r30, r3, 0, 0, 0x1a +/* 8035C514 00359474 48 00 02 6C */ b lbl_8035C780 +lbl_8035C518: +/* 8035C518 00359478 7F 05 C3 78 */ mr r5, r24 +/* 8035C51C 0035947C 7F 26 CB 78 */ mr r6, r25 +/* 8035C520 00359480 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035C524 00359484 38 80 FF FF */ li r4, -1 +/* 8035C528 00359488 4B F7 9E AD */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C52C 0035948C 7C 67 1B 78 */ mr r7, r3 +/* 8035C530 00359490 7F E3 FB 78 */ mr r3, r31 +/* 8035C534 00359494 38 80 00 02 */ li r4, 2 +/* 8035C538 00359498 38 A0 00 01 */ li r5, 1 +/* 8035C53C 0035949C 38 C0 00 00 */ li r6, 0 +/* 8035C540 003594A0 4B FB 94 55 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C544 003594A4 7C 76 1B 78 */ mr r22, r3 +/* 8035C548 003594A8 7F 05 C3 78 */ mr r5, r24 +/* 8035C54C 003594AC 7F 26 CB 78 */ mr r6, r25 +/* 8035C550 003594B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035C554 003594B4 38 80 FF FF */ li r4, -1 +/* 8035C558 003594B8 4B F7 9E 7D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C55C 003594BC 7C 67 1B 78 */ mr r7, r3 +/* 8035C560 003594C0 7F C3 F3 78 */ mr r3, r30 +/* 8035C564 003594C4 38 80 00 02 */ li r4, 2 +/* 8035C568 003594C8 38 A0 00 01 */ li r5, 1 +/* 8035C56C 003594CC 38 C0 00 00 */ li r6, 0 +/* 8035C570 003594D0 4B FB 94 25 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C574 003594D4 7C 74 1B 78 */ mr r20, r3 +/* 8035C578 003594D8 7F 45 D3 78 */ mr r5, r26 +/* 8035C57C 003594DC 7E E6 BB 78 */ mr r6, r23 +/* 8035C580 003594E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035C584 003594E4 38 80 FF FF */ li r4, -1 +/* 8035C588 003594E8 4B F7 9E 4D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C58C 003594EC 7C 67 1B 78 */ mr r7, r3 +/* 8035C590 003594F0 7F C3 F3 78 */ mr r3, r30 +/* 8035C594 003594F4 38 80 00 02 */ li r4, 2 +/* 8035C598 003594F8 38 A0 00 01 */ li r5, 1 +/* 8035C59C 003594FC 38 C0 00 00 */ li r6, 0 +/* 8035C5A0 00359500 4B FB 93 F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C5A4 00359504 7C 72 1B 78 */ mr r18, r3 +/* 8035C5A8 00359508 7E A5 AB 78 */ mr r5, r21 +/* 8035C5AC 0035950C 7E 66 9B 78 */ mr r6, r19 +/* 8035C5B0 00359510 38 61 00 08 */ addi r3, r1, 8 +/* 8035C5B4 00359514 38 80 FF FF */ li r4, -1 +/* 8035C5B8 00359518 4B F7 9E 1D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C5BC 0035951C 7C 67 1B 78 */ mr r7, r3 +/* 8035C5C0 00359520 7F A3 EB 78 */ mr r3, r29 +/* 8035C5C4 00359524 38 80 00 02 */ li r4, 2 +/* 8035C5C8 00359528 38 A0 00 01 */ li r5, 1 +/* 8035C5CC 0035952C 38 C0 00 00 */ li r6, 0 +/* 8035C5D0 00359530 4B FB 93 C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C5D4 00359534 7C 60 1B 78 */ mr r0, r3 +/* 8035C5D8 00359538 7E C3 B3 78 */ mr r3, r22 +/* 8035C5DC 0035953C 7C 11 03 78 */ mr r17, r0 +/* 8035C5E0 00359540 7F E4 FB 78 */ mr r4, r31 +/* 8035C5E4 00359544 48 02 25 2D */ bl DCFlushRangeNoSync +/* 8035C5E8 00359548 7E 83 A3 78 */ mr r3, r20 +/* 8035C5EC 0035954C 7F C4 F3 78 */ mr r4, r30 +/* 8035C5F0 00359550 48 02 25 21 */ bl DCFlushRangeNoSync +/* 8035C5F4 00359554 7E 43 93 78 */ mr r3, r18 +/* 8035C5F8 00359558 7F C4 F3 78 */ mr r4, r30 +/* 8035C5FC 0035955C 48 02 25 15 */ bl DCFlushRangeNoSync +/* 8035C600 00359560 7E 23 8B 78 */ mr r3, r17 +/* 8035C604 00359564 7F A4 EB 78 */ mr r4, r29 +/* 8035C608 00359568 48 02 25 09 */ bl DCFlushRangeNoSync +/* 8035C60C 0035956C 7C D6 00 D0 */ neg r6, r22 +/* 8035C610 00359570 7C B4 00 D0 */ neg r5, r20 +/* 8035C614 00359574 7C 92 00 D0 */ neg r4, r18 +/* 8035C618 00359578 7C 71 00 D0 */ neg r3, r17 +/* 8035C61C 0035957C 38 00 00 00 */ li r0, 0 +/* 8035C620 00359580 7C C6 B3 78 */ or r6, r6, r22 +/* 8035C624 00359584 7C A5 A3 78 */ or r5, r5, r20 +/* 8035C628 00359588 7C 84 93 78 */ or r4, r4, r18 +/* 8035C62C 0035958C 7C 63 8B 78 */ or r3, r3, r17 +/* 8035C630 00359590 54 C6 0F FE */ srwi r6, r6, 0x1f +/* 8035C634 00359594 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 8035C638 00359598 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8035C63C 0035959C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8035C640 003595A0 98 C1 00 28 */ stb r6, 0x28(r1) +/* 8035C644 003595A4 92 C1 00 2C */ stw r22, 0x2c(r1) +/* 8035C648 003595A8 98 A1 00 30 */ stb r5, 0x30(r1) +/* 8035C64C 003595AC 92 81 00 34 */ stw r20, 0x34(r1) +/* 8035C650 003595B0 98 81 00 38 */ stb r4, 0x38(r1) +/* 8035C654 003595B4 92 41 00 3C */ stw r18, 0x3c(r1) +/* 8035C658 003595B8 98 61 00 40 */ stb r3, 0x40(r1) +/* 8035C65C 003595BC 92 21 00 44 */ stw r17, 0x44(r1) +/* 8035C660 003595C0 90 01 00 48 */ stw r0, 0x48(r1) +/* 8035C664 003595C4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8035C668 003595C8 80 1B 00 84 */ lwz r0, 0x84(r27) +/* 8035C66C 003595CC 80 BB 00 88 */ lwz r5, 0x88(r27) +/* 8035C670 003595D0 7C 00 28 00 */ cmpw r0, r5 +/* 8035C674 003595D4 41 80 00 1C */ blt lbl_8035C690 +/* 8035C678 003595D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035C67C 003595DC 38 7B 00 80 */ addi r3, r27, 0x80 +/* 8035C680 003595E0 38 80 00 04 */ li r4, 4 +/* 8035C684 003595E4 41 82 00 08 */ beq lbl_8035C68C +/* 8035C688 003595E8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035C68C: +/* 8035C68C 003595EC 48 00 11 A9 */ bl "reserve__Q24rstl67vectorFi" +lbl_8035C690: +/* 8035C690 003595F0 80 1B 00 84 */ lwz r0, 0x84(r27) +/* 8035C694 003595F4 80 7B 00 8C */ lwz r3, 0x8c(r27) +/* 8035C698 003595F8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035C69C 003595FC 7C 63 02 15 */ add. r3, r3, r0 +/* 8035C6A0 00359600 41 82 00 68 */ beq lbl_8035C708 +/* 8035C6A4 00359604 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8035C6A8 00359608 38 80 00 00 */ li r4, 0 +/* 8035C6AC 0035960C 98 03 00 00 */ stb r0, 0(r3) +/* 8035C6B0 00359610 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8035C6B4 00359614 90 03 00 04 */ stw r0, 4(r3) +/* 8035C6B8 00359618 98 81 00 28 */ stb r4, 0x28(r1) +/* 8035C6BC 0035961C 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8035C6C0 00359620 98 03 00 08 */ stb r0, 8(r3) +/* 8035C6C4 00359624 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035C6C8 00359628 90 03 00 0C */ stw r0, 0xc(r3) +/* 8035C6CC 0035962C 98 81 00 30 */ stb r4, 0x30(r1) +/* 8035C6D0 00359630 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8035C6D4 00359634 98 03 00 10 */ stb r0, 0x10(r3) +/* 8035C6D8 00359638 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8035C6DC 0035963C 90 03 00 14 */ stw r0, 0x14(r3) +/* 8035C6E0 00359640 98 81 00 38 */ stb r4, 0x38(r1) +/* 8035C6E4 00359644 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8035C6E8 00359648 98 03 00 18 */ stb r0, 0x18(r3) +/* 8035C6EC 0035964C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035C6F0 00359650 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035C6F4 00359654 98 81 00 40 */ stb r4, 0x40(r1) +/* 8035C6F8 00359658 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8035C6FC 0035965C 90 03 00 20 */ stw r0, 0x20(r3) +/* 8035C700 00359660 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8035C704 00359664 90 03 00 24 */ stw r0, 0x24(r3) +lbl_8035C708: +/* 8035C708 00359668 80 7B 00 84 */ lwz r3, 0x84(r27) +/* 8035C70C 0035966C 28 10 00 00 */ cmplwi r16, 0 +/* 8035C710 00359670 38 03 00 01 */ addi r0, r3, 1 +/* 8035C714 00359674 90 1B 00 84 */ stw r0, 0x84(r27) +/* 8035C718 00359678 41 82 00 18 */ beq lbl_8035C730 +/* 8035C71C 0035967C 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8035C720 00359680 28 00 00 00 */ cmplwi r0, 0 +/* 8035C724 00359684 41 82 00 0C */ beq lbl_8035C730 +/* 8035C728 00359688 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8035C72C 0035968C 4B FB 92 05 */ bl Free__7CMemoryFPCv +lbl_8035C730: +/* 8035C730 00359690 28 0F 00 00 */ cmplwi r15, 0 +/* 8035C734 00359694 41 82 00 18 */ beq lbl_8035C74C +/* 8035C738 00359698 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8035C73C 0035969C 28 00 00 00 */ cmplwi r0, 0 +/* 8035C740 003596A0 41 82 00 0C */ beq lbl_8035C74C +/* 8035C744 003596A4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8035C748 003596A8 4B FB 91 E9 */ bl Free__7CMemoryFPCv +lbl_8035C74C: +/* 8035C74C 003596AC 28 0E 00 00 */ cmplwi r14, 0 +/* 8035C750 003596B0 41 82 00 18 */ beq lbl_8035C768 +/* 8035C754 003596B4 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8035C758 003596B8 28 00 00 00 */ cmplwi r0, 0 +/* 8035C75C 003596BC 41 82 00 0C */ beq lbl_8035C768 +/* 8035C760 003596C0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8035C764 003596C4 4B FB 91 CD */ bl Free__7CMemoryFPCv +lbl_8035C768: +/* 8035C768 003596C8 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8035C76C 003596CC 28 00 00 00 */ cmplwi r0, 0 +/* 8035C770 003596D0 41 82 00 0C */ beq lbl_8035C77C +/* 8035C774 003596D4 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8035C778 003596D8 4B FB 91 B9 */ bl Free__7CMemoryFPCv +lbl_8035C77C: +/* 8035C77C 003596DC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8035C780: +/* 8035C780 003596E0 80 1B 00 88 */ lwz r0, 0x88(r27) +/* 8035C784 003596E4 7C 1C 00 00 */ cmpw r28, r0 +/* 8035C788 003596E8 41 80 FD 90 */ blt lbl_8035C518 +/* 8035C78C 003596EC 48 01 30 81 */ bl PPCSync +/* 8035C790 003596F0 38 60 00 00 */ li r3, 0 +/* 8035C794 003596F4 38 00 FF FF */ li r0, -1 +/* 8035C798 003596F8 90 7B 00 CC */ stw r3, 0xcc(r27) +/* 8035C79C 003596FC 90 1B 00 D0 */ stw r0, 0xd0(r27) +/* 8035C7A0 00359700 90 1B 00 D4 */ stw r0, 0xd4(r27) +/* 8035C7A4 00359704 B9 C1 00 58 */ lmw r14, 0x58(r1) +/* 8035C7A8 00359708 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8035C7AC 0035970C 7C 08 03 A6 */ mtlr r0 +/* 8035C7B0 00359710 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8035C7B4 00359714 4E 80 00 20 */ blr + +.global __dt__12CMoviePlayerFv +__dt__12CMoviePlayerFv: +/* 8035C7B8 00359718 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035C7BC 0035971C 7C 08 02 A6 */ mflr r0 +/* 8035C7C0 00359720 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035C7C4 00359724 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035C7C8 00359728 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8035C7CC 0035972C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035C7D0 00359730 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035C7D4 00359734 7C 9D 23 78 */ mr r29, r4 +/* 8035C7D8 00359738 41 82 01 44 */ beq lbl_8035C91C +/* 8035C7DC 0035973C 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13) +/* 8035C7E0 00359740 38 03 FF FF */ addi r0, r3, -1 +/* 8035C7E4 00359744 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13) +/* 8035C7E8 00359748 4B FF EE 45 */ bl VerifyCallbackStatus__12CMoviePlayerFv +/* 8035C7EC 0035974C 80 0D AA A4 */ lwz r0, lbl_805A9664@sda21(r13) +/* 8035C7F0 00359750 7C 00 F8 40 */ cmplw r0, r31 +/* 8035C7F4 00359754 40 82 00 0C */ bne lbl_8035C800 +/* 8035C7F8 00359758 38 00 00 00 */ li r0, 0 +/* 8035C7FC 0035975C 90 0D AA A4 */ stw r0, lbl_805A9664@sda21(r13) +lbl_8035C800: +/* 8035C800 00359760 34 1F 00 AC */ addic. r0, r31, 0xac +/* 8035C804 00359764 41 82 00 A0 */ beq lbl_8035C8A4 +/* 8035C808 00359768 83 DF 00 AC */ lwz r30, 0xac(r31) +/* 8035C80C 0035976C 28 1E 00 00 */ cmplwi r30, 0 +/* 8035C810 00359770 41 82 00 94 */ beq lbl_8035C8A4 +/* 8035C814 00359774 34 1E 00 0C */ addic. r0, r30, 0xc +/* 8035C818 00359778 41 82 00 0C */ beq lbl_8035C824 +/* 8035C81C 0035977C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035C820 00359780 4B FB 91 11 */ bl Free__7CMemoryFPCv +lbl_8035C824: +/* 8035C824 00359784 34 1E 00 08 */ addic. r0, r30, 8 +/* 8035C828 00359788 41 82 00 24 */ beq lbl_8035C84C +/* 8035C82C 0035978C 80 7E 00 08 */ lwz r3, 8(r30) +/* 8035C830 00359790 28 03 00 00 */ cmplwi r3, 0 +/* 8035C834 00359794 41 82 00 18 */ beq lbl_8035C84C +/* 8035C838 00359798 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C83C 0035979C 38 80 00 01 */ li r4, 1 +/* 8035C840 003597A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C844 003597A4 7D 89 03 A6 */ mtctr r12 +/* 8035C848 003597A8 4E 80 04 21 */ bctrl +lbl_8035C84C: +/* 8035C84C 003597AC 34 1E 00 04 */ addic. r0, r30, 4 +/* 8035C850 003597B0 41 82 00 24 */ beq lbl_8035C874 +/* 8035C854 003597B4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035C858 003597B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035C85C 003597BC 41 82 00 18 */ beq lbl_8035C874 +/* 8035C860 003597C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C864 003597C4 38 80 00 01 */ li r4, 1 +/* 8035C868 003597C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C86C 003597CC 7D 89 03 A6 */ mtctr r12 +/* 8035C870 003597D0 4E 80 04 21 */ bctrl +lbl_8035C874: +/* 8035C874 003597D4 28 1E 00 00 */ cmplwi r30, 0 +/* 8035C878 003597D8 41 82 00 24 */ beq lbl_8035C89C +/* 8035C87C 003597DC 80 7E 00 00 */ lwz r3, 0(r30) +/* 8035C880 003597E0 28 03 00 00 */ cmplwi r3, 0 +/* 8035C884 003597E4 41 82 00 18 */ beq lbl_8035C89C +/* 8035C888 003597E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C88C 003597EC 38 80 00 01 */ li r4, 1 +/* 8035C890 003597F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C894 003597F4 7D 89 03 A6 */ mtctr r12 +/* 8035C898 003597F8 4E 80 04 21 */ bctrl +lbl_8035C89C: +/* 8035C89C 003597FC 7F C3 F3 78 */ mr r3, r30 +/* 8035C8A0 00359800 4B FB 90 91 */ bl Free__7CMemoryFPCv +lbl_8035C8A4: +/* 8035C8A4 00359804 38 7F 00 9C */ addi r3, r31, 0x9c +/* 8035C8A8 00359808 38 80 FF FF */ li r4, -1 +/* 8035C8AC 0035980C 48 00 01 1D */ bl "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" +/* 8035C8B0 00359810 34 1F 00 98 */ addic. r0, r31, 0x98 +/* 8035C8B4 00359814 41 82 00 24 */ beq lbl_8035C8D8 +/* 8035C8B8 00359818 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035C8BC 0035981C 28 03 00 00 */ cmplwi r3, 0 +/* 8035C8C0 00359820 41 82 00 18 */ beq lbl_8035C8D8 +/* 8035C8C4 00359824 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C8C8 00359828 38 80 00 01 */ li r4, 1 +/* 8035C8CC 0035982C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C8D0 00359830 7D 89 03 A6 */ mtctr r12 +/* 8035C8D4 00359834 4E 80 04 21 */ bctrl +lbl_8035C8D8: +/* 8035C8D8 00359838 34 1F 00 90 */ addic. r0, r31, 0x90 +/* 8035C8DC 0035983C 41 82 00 18 */ beq lbl_8035C8F4 +/* 8035C8E0 00359840 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 8035C8E4 00359844 28 00 00 00 */ cmplwi r0, 0 +/* 8035C8E8 00359848 41 82 00 0C */ beq lbl_8035C8F4 +/* 8035C8EC 0035984C 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C8F0 00359850 4B FB 90 41 */ bl Free__7CMemoryFPCv +lbl_8035C8F4: +/* 8035C8F4 00359854 38 7F 00 80 */ addi r3, r31, 0x80 +/* 8035C8F8 00359858 38 80 FF FF */ li r4, -1 +/* 8035C8FC 0035985C 48 00 00 41 */ bl "__dt__Q24rstl67vectorFv" +/* 8035C900 00359860 7F E3 FB 78 */ mr r3, r31 +/* 8035C904 00359864 38 80 FF FF */ li r4, -1 +/* 8035C908 00359868 4B FF 33 09 */ bl __dt__8CDvdFileFv +/* 8035C90C 0035986C 7F A0 07 35 */ extsh. r0, r29 +/* 8035C910 00359870 40 81 00 0C */ ble lbl_8035C91C +/* 8035C914 00359874 7F E3 FB 78 */ mr r3, r31 +/* 8035C918 00359878 4B FB 90 19 */ bl Free__7CMemoryFPCv +lbl_8035C91C: +/* 8035C91C 0035987C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035C920 00359880 7F E3 FB 78 */ mr r3, r31 +/* 8035C924 00359884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C928 00359888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C92C 0035988C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035C930 00359890 7C 08 03 A6 */ mtlr r0 +/* 8035C934 00359894 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035C938 00359898 4E 80 00 20 */ blr + +.global "__dt__Q24rstl67vectorFv" +"__dt__Q24rstl67vectorFv": +/* 8035C93C 0035989C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035C940 003598A0 7C 08 02 A6 */ mflr r0 +/* 8035C944 003598A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035C948 003598A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035C94C 003598AC 7C 9F 23 78 */ mr r31, r4 +/* 8035C950 003598B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035C954 003598B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8035C958 003598B8 41 82 00 54 */ beq lbl_8035C9AC +/* 8035C95C 003598BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035C960 003598C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035C964 003598C4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8035C968 003598C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8035C96C 003598CC 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035C970 003598D0 7C A5 02 14 */ add r5, r5, r0 +/* 8035C974 003598D4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8035C978 003598D8 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8035C97C 003598DC 90 A1 00 08 */ stw r5, 8(r1) +/* 8035C980 003598E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035C984 003598E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035C988 003598E8 4B FF F1 3D */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" +/* 8035C98C 003598EC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035C990 003598F0 28 03 00 00 */ cmplwi r3, 0 +/* 8035C994 003598F4 41 82 00 08 */ beq lbl_8035C99C +/* 8035C998 003598F8 4B FB 8F 99 */ bl Free__7CMemoryFPCv +lbl_8035C99C: +/* 8035C99C 003598FC 7F E0 07 35 */ extsh. r0, r31 +/* 8035C9A0 00359900 40 81 00 0C */ ble lbl_8035C9AC +/* 8035C9A4 00359904 7F C3 F3 78 */ mr r3, r30 +/* 8035C9A8 00359908 4B FB 8F 89 */ bl Free__7CMemoryFPCv +lbl_8035C9AC: +/* 8035C9AC 0035990C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035C9B0 00359910 7F C3 F3 78 */ mr r3, r30 +/* 8035C9B4 00359914 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C9B8 00359918 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C9BC 0035991C 7C 08 03 A6 */ mtlr r0 +/* 8035C9C0 00359920 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035C9C4 00359924 4E 80 00 20 */ blr + +.global "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv": +/* 8035C9C8 00359928 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035C9CC 0035992C 7C 08 02 A6 */ mflr r0 +/* 8035C9D0 00359930 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035C9D4 00359934 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035C9D8 00359938 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8035C9DC 0035993C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8035C9E0 00359940 7C 9D 23 78 */ mr r29, r4 +/* 8035C9E4 00359944 93 81 00 20 */ stw r28, 0x20(r1) +/* 8035C9E8 00359948 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8035C9EC 0035994C 41 82 00 70 */ beq lbl_8035CA5C +/* 8035C9F0 00359950 80 1C 00 04 */ lwz r0, 4(r28) +/* 8035C9F4 00359954 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8035C9F8 00359958 54 00 18 38 */ slwi r0, r0, 3 +/* 8035C9FC 0035995C 7F FE 02 14 */ add r31, r30, r0 +/* 8035CA00 00359960 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8035CA04 00359964 93 E1 00 08 */ stw r31, 8(r1) +/* 8035CA08 00359968 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035CA0C 0035996C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8035CA10 00359970 48 00 00 24 */ b lbl_8035CA34 +lbl_8035CA14: +/* 8035CA14 00359974 28 1E 00 00 */ cmplwi r30, 0 +/* 8035CA18 00359978 41 82 00 18 */ beq lbl_8035CA30 +/* 8035CA1C 0035997C 88 1E 00 00 */ lbz r0, 0(r30) +/* 8035CA20 00359980 28 00 00 00 */ cmplwi r0, 0 +/* 8035CA24 00359984 41 82 00 0C */ beq lbl_8035CA30 +/* 8035CA28 00359988 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035CA2C 0035998C 4B FB 8F 05 */ bl Free__7CMemoryFPCv +lbl_8035CA30: +/* 8035CA30 00359990 3B DE 00 08 */ addi r30, r30, 8 +lbl_8035CA34: +/* 8035CA34 00359994 7C 1E F8 40 */ cmplw r30, r31 +/* 8035CA38 00359998 40 82 FF DC */ bne lbl_8035CA14 +/* 8035CA3C 0035999C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8035CA40 003599A0 28 03 00 00 */ cmplwi r3, 0 +/* 8035CA44 003599A4 41 82 00 08 */ beq lbl_8035CA4C +/* 8035CA48 003599A8 4B FB 8E E9 */ bl Free__7CMemoryFPCv +lbl_8035CA4C: +/* 8035CA4C 003599AC 7F A0 07 35 */ extsh. r0, r29 +/* 8035CA50 003599B0 40 81 00 0C */ ble lbl_8035CA5C +/* 8035CA54 003599B4 7F 83 E3 78 */ mr r3, r28 +/* 8035CA58 003599B8 4B FB 8E D9 */ bl Free__7CMemoryFPCv +lbl_8035CA5C: +/* 8035CA5C 003599BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035CA60 003599C0 7F 83 E3 78 */ mr r3, r28 +/* 8035CA64 003599C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035CA68 003599C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8035CA6C 003599CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8035CA70 003599D0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8035CA74 003599D4 7C 08 03 A6 */ mtlr r0 +/* 8035CA78 003599D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035CA7C 003599DC 4E 80 00 20 */ blr + +.global PumpIndexLoad__12CMoviePlayerFv +PumpIndexLoad__12CMoviePlayerFv: +/* 8035CA80 003599E0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035CA84 003599E4 7C 08 02 A6 */ mflr r0 +/* 8035CA88 003599E8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035CA8C 003599EC BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8035CA90 003599F0 7C 7E 1B 78 */ mr r30, r3 +/* 8035CA94 003599F4 80 63 00 AC */ lwz r3, 0xac(r3) +/* 8035CA98 003599F8 28 03 00 00 */ cmplwi r3, 0 +/* 8035CA9C 003599FC 40 82 00 0C */ bne lbl_8035CAA8 +/* 8035CAA0 00359A00 38 60 00 00 */ li r3, 0 +/* 8035CAA4 00359A04 48 00 04 64 */ b lbl_8035CF08 +lbl_8035CAA8: +/* 8035CAA8 00359A08 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035CAAC 00359A0C 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 8035CAB0 00359A10 2C 00 00 01 */ cmpwi r0, 1 +/* 8035CAB4 00359A14 41 82 00 AC */ beq lbl_8035CB60 +/* 8035CAB8 00359A18 40 80 00 10 */ bge lbl_8035CAC8 +/* 8035CABC 00359A1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035CAC0 00359A20 40 80 00 14 */ bge lbl_8035CAD4 +/* 8035CAC4 00359A24 48 00 02 B0 */ b lbl_8035CD74 +lbl_8035CAC8: +/* 8035CAC8 00359A28 2C 00 00 03 */ cmpwi r0, 3 +/* 8035CACC 00359A2C 40 80 02 A8 */ bge lbl_8035CD74 +/* 8035CAD0 00359A30 48 00 01 F0 */ b lbl_8035CCC0 +lbl_8035CAD4: +/* 8035CAD4 00359A34 80 63 00 00 */ lwz r3, 0(r3) +/* 8035CAD8 00359A38 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CADC 00359A3C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CAE0 00359A40 7D 89 03 A6 */ mtctr r12 +/* 8035CAE4 00359A44 4E 80 04 21 */ bctrl +/* 8035CAE8 00359A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CAEC 00359A4C 41 82 00 6C */ beq lbl_8035CB58 +/* 8035CAF0 00359A50 7F E4 FB 78 */ mr r4, r31 +/* 8035CAF4 00359A54 38 7E 00 28 */ addi r3, r30, 0x28 +/* 8035CAF8 00359A58 38 A0 00 30 */ li r5, 0x30 +/* 8035CAFC 00359A5C 4B CA 69 95 */ bl memcpy +/* 8035CB00 00359A60 80 FE 00 48 */ lwz r7, 0x48(r30) +/* 8035CB04 00359A64 7F C3 F3 78 */ mr r3, r30 +/* 8035CB08 00359A68 7F E4 FB 78 */ mr r4, r31 +/* 8035CB0C 00359A6C 38 A0 00 20 */ li r5, 0x20 +/* 8035CB10 00359A70 38 C0 00 00 */ li r6, 0 +/* 8035CB14 00359A74 4B FF 2E AD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035CB18 00359A78 83 BE 00 AC */ lwz r29, 0xac(r30) +/* 8035CB1C 00359A7C 7C 7C 1B 78 */ mr r28, r3 +/* 8035CB20 00359A80 80 7D 00 00 */ lwz r3, 0(r29) +/* 8035CB24 00359A84 28 03 00 00 */ cmplwi r3, 0 +/* 8035CB28 00359A88 41 82 00 18 */ beq lbl_8035CB40 +/* 8035CB2C 00359A8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CB30 00359A90 38 80 00 01 */ li r4, 1 +/* 8035CB34 00359A94 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CB38 00359A98 7D 89 03 A6 */ mtctr r12 +/* 8035CB3C 00359A9C 4E 80 04 21 */ bctrl +lbl_8035CB40: +/* 8035CB40 00359AA0 93 9D 00 00 */ stw r28, 0(r29) +/* 8035CB44 00359AA4 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8035CB48 00359AA8 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8035CB4C 00359AAC 38 03 00 01 */ addi r0, r3, 1 +/* 8035CB50 00359AB0 90 04 00 10 */ stw r0, 0x10(r4) +/* 8035CB54 00359AB4 48 00 00 0C */ b lbl_8035CB60 +lbl_8035CB58: +/* 8035CB58 00359AB8 38 60 00 01 */ li r3, 1 +/* 8035CB5C 00359ABC 48 00 03 AC */ b lbl_8035CF08 +lbl_8035CB60: +/* 8035CB60 00359AC0 80 7E 00 AC */ lwz r3, 0xac(r30) +/* 8035CB64 00359AC4 80 63 00 00 */ lwz r3, 0(r3) +/* 8035CB68 00359AC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CB6C 00359ACC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CB70 00359AD0 7D 89 03 A6 */ mtctr r12 +/* 8035CB74 00359AD4 4E 80 04 21 */ bctrl +/* 8035CB78 00359AD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CB7C 00359ADC 41 82 01 3C */ beq lbl_8035CCB8 +/* 8035CB80 00359AE0 7F E4 FB 78 */ mr r4, r31 +/* 8035CB84 00359AE4 38 7E 00 58 */ addi r3, r30, 0x58 +/* 8035CB88 00359AE8 38 A0 00 14 */ li r5, 0x14 +/* 8035CB8C 00359AEC 4B CA 69 05 */ bl memcpy +/* 8035CB90 00359AF0 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CB94 00359AF4 80 7C 00 00 */ lwz r3, 0(r28) +/* 8035CB98 00359AF8 28 03 00 00 */ cmplwi r3, 0 +/* 8035CB9C 00359AFC 41 82 00 18 */ beq lbl_8035CBB4 +/* 8035CBA0 00359B00 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CBA4 00359B04 38 80 00 01 */ li r4, 1 +/* 8035CBA8 00359B08 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CBAC 00359B0C 7D 89 03 A6 */ mtctr r12 +/* 8035CBB0 00359B10 4E 80 04 21 */ bctrl +lbl_8035CBB4: +/* 8035CBB4 00359B14 38 00 00 00 */ li r0, 0 +/* 8035CBB8 00359B18 3B 7F 00 20 */ addi r27, r31, 0x20 +/* 8035CBBC 00359B1C 90 1C 00 00 */ stw r0, 0(r28) +/* 8035CBC0 00359B20 3B 20 00 00 */ li r25, 0 +/* 8035CBC4 00359B24 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 8035CBC8 00359B28 3B 43 00 14 */ addi r26, r3, 0x14 +/* 8035CBCC 00359B2C 48 00 00 CC */ b lbl_8035CC98 +lbl_8035CBD0: +/* 8035CBD0 00359B30 38 19 00 5C */ addi r0, r25, 0x5c +/* 8035CBD4 00359B34 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 8035CBD8 00359B38 2C 00 00 01 */ cmpwi r0, 1 +/* 8035CBDC 00359B3C 41 82 00 60 */ beq lbl_8035CC3C +/* 8035CBE0 00359B40 40 80 00 B4 */ bge lbl_8035CC94 +/* 8035CBE4 00359B44 2C 00 00 00 */ cmpwi r0, 0 +/* 8035CBE8 00359B48 40 80 00 08 */ bge lbl_8035CBF0 +/* 8035CBEC 00359B4C 48 00 00 A8 */ b lbl_8035CC94 +lbl_8035CBF0: +/* 8035CBF0 00359B50 7F C3 F3 78 */ mr r3, r30 +/* 8035CBF4 00359B54 7F E4 FB 78 */ mr r4, r31 +/* 8035CBF8 00359B58 7F 47 D3 78 */ mr r7, r26 +/* 8035CBFC 00359B5C 38 A0 00 20 */ li r5, 0x20 +/* 8035CC00 00359B60 38 C0 00 00 */ li r6, 0 +/* 8035CC04 00359B64 4B FF 2D BD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035CC08 00359B68 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CC0C 00359B6C 7C 7D 1B 78 */ mr r29, r3 +/* 8035CC10 00359B70 80 7C 00 04 */ lwz r3, 4(r28) +/* 8035CC14 00359B74 28 03 00 00 */ cmplwi r3, 0 +/* 8035CC18 00359B78 41 82 00 18 */ beq lbl_8035CC30 +/* 8035CC1C 00359B7C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CC20 00359B80 38 80 00 01 */ li r4, 1 +/* 8035CC24 00359B84 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CC28 00359B88 7D 89 03 A6 */ mtctr r12 +/* 8035CC2C 00359B8C 4E 80 04 21 */ bctrl +lbl_8035CC30: +/* 8035CC30 00359B90 93 BC 00 04 */ stw r29, 4(r28) +/* 8035CC34 00359B94 3B 5A 00 08 */ addi r26, r26, 8 +/* 8035CC38 00359B98 48 00 00 5C */ b lbl_8035CC94 +lbl_8035CC3C: +/* 8035CC3C 00359B9C 7F C3 F3 78 */ mr r3, r30 +/* 8035CC40 00359BA0 7F 64 DB 78 */ mr r4, r27 +/* 8035CC44 00359BA4 7F 47 D3 78 */ mr r7, r26 +/* 8035CC48 00359BA8 38 A0 00 20 */ li r5, 0x20 +/* 8035CC4C 00359BAC 38 C0 00 00 */ li r6, 0 +/* 8035CC50 00359BB0 4B FF 2D 71 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035CC54 00359BB4 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CC58 00359BB8 7C 7D 1B 78 */ mr r29, r3 +/* 8035CC5C 00359BBC 80 7C 00 08 */ lwz r3, 8(r28) +/* 8035CC60 00359BC0 28 03 00 00 */ cmplwi r3, 0 +/* 8035CC64 00359BC4 41 82 00 18 */ beq lbl_8035CC7C +/* 8035CC68 00359BC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CC6C 00359BCC 38 80 00 01 */ li r4, 1 +/* 8035CC70 00359BD0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CC74 00359BD4 7D 89 03 A6 */ mtctr r12 +/* 8035CC78 00359BD8 4E 80 04 21 */ bctrl +lbl_8035CC7C: +/* 8035CC7C 00359BDC 93 BC 00 08 */ stw r29, 8(r28) +/* 8035CC80 00359BE0 38 60 00 01 */ li r3, 1 +/* 8035CC84 00359BE4 3B 5A 00 0C */ addi r26, r26, 0xc +/* 8035CC88 00359BE8 88 1E 00 F4 */ lbz r0, 0xf4(r30) +/* 8035CC8C 00359BEC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8035CC90 00359BF0 98 1E 00 F4 */ stb r0, 0xf4(r30) +lbl_8035CC94: +/* 8035CC94 00359BF4 3B 39 00 01 */ addi r25, r25, 1 +lbl_8035CC98: +/* 8035CC98 00359BF8 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 8035CC9C 00359BFC 7C 19 00 40 */ cmplw r25, r0 +/* 8035CCA0 00359C00 41 80 FF 30 */ blt lbl_8035CBD0 +/* 8035CCA4 00359C04 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8035CCA8 00359C08 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8035CCAC 00359C0C 38 03 00 01 */ addi r0, r3, 1 +/* 8035CCB0 00359C10 90 04 00 10 */ stw r0, 0x10(r4) +/* 8035CCB4 00359C14 48 00 00 0C */ b lbl_8035CCC0 +lbl_8035CCB8: +/* 8035CCB8 00359C18 38 60 00 01 */ li r3, 1 +/* 8035CCBC 00359C1C 48 00 02 4C */ b lbl_8035CF08 +lbl_8035CCC0: +/* 8035CCC0 00359C20 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8035CCC4 00359C24 3B 20 00 01 */ li r25, 1 +/* 8035CCC8 00359C28 80 64 00 04 */ lwz r3, 4(r4) +/* 8035CCCC 00359C2C 80 84 00 08 */ lwz r4, 8(r4) +/* 8035CCD0 00359C30 7C 03 00 D0 */ neg r0, r3 +/* 8035CCD4 00359C34 7C 05 1B 78 */ or r5, r0, r3 +/* 8035CCD8 00359C38 7C 04 00 D0 */ neg r0, r4 +/* 8035CCDC 00359C3C 7C 00 23 78 */ or r0, r0, r4 +/* 8035CCE0 00359C40 54 BC 0F FF */ rlwinm. r28, r5, 1, 0x1f, 0x1f +/* 8035CCE4 00359C44 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 8035CCE8 00359C48 41 82 00 20 */ beq lbl_8035CD08 +/* 8035CCEC 00359C4C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CCF0 00359C50 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CCF4 00359C54 7D 89 03 A6 */ mtctr r12 +/* 8035CCF8 00359C58 4E 80 04 21 */ bctrl +/* 8035CCFC 00359C5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CD00 00359C60 40 82 00 08 */ bne lbl_8035CD08 +/* 8035CD04 00359C64 3B 20 00 00 */ li r25, 0 +lbl_8035CD08: +/* 8035CD08 00359C68 28 1D 00 00 */ cmplwi r29, 0 +/* 8035CD0C 00359C6C 41 82 00 28 */ beq lbl_8035CD34 +/* 8035CD10 00359C70 80 7E 00 AC */ lwz r3, 0xac(r30) +/* 8035CD14 00359C74 80 63 00 08 */ lwz r3, 8(r3) +/* 8035CD18 00359C78 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CD1C 00359C7C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CD20 00359C80 7D 89 03 A6 */ mtctr r12 +/* 8035CD24 00359C84 4E 80 04 21 */ bctrl +/* 8035CD28 00359C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CD2C 00359C8C 40 82 00 08 */ bne lbl_8035CD34 +/* 8035CD30 00359C90 3B 20 00 00 */ li r25, 0 +lbl_8035CD34: +/* 8035CD34 00359C94 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8035CD38 00359C98 40 82 00 0C */ bne lbl_8035CD44 +/* 8035CD3C 00359C9C 38 60 00 01 */ li r3, 1 +/* 8035CD40 00359CA0 48 00 01 C8 */ b lbl_8035CF08 +lbl_8035CD44: +/* 8035CD44 00359CA4 28 1C 00 00 */ cmplwi r28, 0 +/* 8035CD48 00359CA8 41 82 00 14 */ beq lbl_8035CD5C +/* 8035CD4C 00359CAC 7F E4 FB 78 */ mr r4, r31 +/* 8035CD50 00359CB0 38 7E 00 6C */ addi r3, r30, 0x6c +/* 8035CD54 00359CB4 38 A0 00 08 */ li r5, 8 +/* 8035CD58 00359CB8 4B CA 67 39 */ bl memcpy +lbl_8035CD5C: +/* 8035CD5C 00359CBC 28 1D 00 00 */ cmplwi r29, 0 +/* 8035CD60 00359CC0 41 82 00 14 */ beq lbl_8035CD74 +/* 8035CD64 00359CC4 38 7E 00 74 */ addi r3, r30, 0x74 +/* 8035CD68 00359CC8 38 9F 00 20 */ addi r4, r31, 0x20 +/* 8035CD6C 00359CCC 38 A0 00 0C */ li r5, 0xc +/* 8035CD70 00359CD0 4B CA 67 21 */ bl memcpy +lbl_8035CD74: +/* 8035CD74 00359CD4 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CD78 00359CD8 28 1C 00 00 */ cmplwi r28, 0 +/* 8035CD7C 00359CDC 41 82 00 94 */ beq lbl_8035CE10 +/* 8035CD80 00359CE0 34 1C 00 0C */ addic. r0, r28, 0xc +/* 8035CD84 00359CE4 41 82 00 0C */ beq lbl_8035CD90 +/* 8035CD88 00359CE8 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8035CD8C 00359CEC 4B FB 8B A5 */ bl Free__7CMemoryFPCv +lbl_8035CD90: +/* 8035CD90 00359CF0 34 1C 00 08 */ addic. r0, r28, 8 +/* 8035CD94 00359CF4 41 82 00 24 */ beq lbl_8035CDB8 +/* 8035CD98 00359CF8 80 7C 00 08 */ lwz r3, 8(r28) +/* 8035CD9C 00359CFC 28 03 00 00 */ cmplwi r3, 0 +/* 8035CDA0 00359D00 41 82 00 18 */ beq lbl_8035CDB8 +/* 8035CDA4 00359D04 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CDA8 00359D08 38 80 00 01 */ li r4, 1 +/* 8035CDAC 00359D0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CDB0 00359D10 7D 89 03 A6 */ mtctr r12 +/* 8035CDB4 00359D14 4E 80 04 21 */ bctrl +lbl_8035CDB8: +/* 8035CDB8 00359D18 34 1C 00 04 */ addic. r0, r28, 4 +/* 8035CDBC 00359D1C 41 82 00 24 */ beq lbl_8035CDE0 +/* 8035CDC0 00359D20 80 7C 00 04 */ lwz r3, 4(r28) +/* 8035CDC4 00359D24 28 03 00 00 */ cmplwi r3, 0 +/* 8035CDC8 00359D28 41 82 00 18 */ beq lbl_8035CDE0 +/* 8035CDCC 00359D2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CDD0 00359D30 38 80 00 01 */ li r4, 1 +/* 8035CDD4 00359D34 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CDD8 00359D38 7D 89 03 A6 */ mtctr r12 +/* 8035CDDC 00359D3C 4E 80 04 21 */ bctrl +lbl_8035CDE0: +/* 8035CDE0 00359D40 28 1C 00 00 */ cmplwi r28, 0 +/* 8035CDE4 00359D44 41 82 00 24 */ beq lbl_8035CE08 +/* 8035CDE8 00359D48 80 7C 00 00 */ lwz r3, 0(r28) +/* 8035CDEC 00359D4C 28 03 00 00 */ cmplwi r3, 0 +/* 8035CDF0 00359D50 41 82 00 18 */ beq lbl_8035CE08 +/* 8035CDF4 00359D54 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CDF8 00359D58 38 80 00 01 */ li r4, 1 +/* 8035CDFC 00359D5C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CE00 00359D60 7D 89 03 A6 */ mtctr r12 +/* 8035CE04 00359D64 4E 80 04 21 */ bctrl +lbl_8035CE08: +/* 8035CE08 00359D68 7F 83 E3 78 */ mr r3, r28 +/* 8035CE0C 00359D6C 4B FB 8B 25 */ bl Free__7CMemoryFPCv +lbl_8035CE10: +/* 8035CE10 00359D70 38 00 00 00 */ li r0, 0 +/* 8035CE14 00359D74 38 7E 00 80 */ addi r3, r30, 0x80 +/* 8035CE18 00359D78 90 1E 00 AC */ stw r0, 0xac(r30) +/* 8035CE1C 00359D7C 38 80 00 03 */ li r4, 3 +/* 8035CE20 00359D80 48 00 0A 15 */ bl "reserve__Q24rstl67vectorFi" +/* 8035CE24 00359D84 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 8035CE28 00359D88 3C 00 43 30 */ lis r0, 0x4330 +/* 8035CE2C 00359D8C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035CE30 00359D90 C8 62 CD 30 */ lfd f3, lbl_805AEA50@sda21(r2) +/* 8035CE34 00359D94 90 7E 00 B4 */ stw r3, 0xb4(r30) +/* 8035CE38 00359D98 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035CE3C 00359D9C 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 8035CE40 00359DA0 90 1E 00 B0 */ stw r0, 0xb0(r30) +/* 8035CE44 00359DA4 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 8035CE48 00359DA8 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 8035CE4C 00359DAC 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 8035CE50 00359DB0 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 8035CE54 00359DB4 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8035CE58 00359DB8 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 8035CE5C 00359DBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035CE60 00359DC0 C8 41 00 10 */ lfd f2, 0x10(r1) +/* 8035CE64 00359DC4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8035CE68 00359DC8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8035CE6C 00359DCC D0 3E 00 E4 */ stfs f1, 0xe4(r30) +/* 8035CE70 00359DD0 C0 3E 00 EC */ lfs f1, 0xec(r30) +/* 8035CE74 00359DD4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035CE78 00359DD8 40 80 00 18 */ bge lbl_8035CE90 +/* 8035CE7C 00359DDC C0 1E 00 E4 */ lfs f0, 0xe4(r30) +/* 8035CE80 00359DE0 D0 1E 00 EC */ stfs f0, 0xec(r30) +/* 8035CE84 00359DE4 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8035CE88 00359DE8 90 1E 00 F0 */ stw r0, 0xf0(r30) +/* 8035CE8C 00359DEC 48 00 00 5C */ b lbl_8035CEE8 +lbl_8035CE90: +/* 8035CE90 00359DF0 40 81 00 58 */ ble lbl_8035CEE8 +/* 8035CE94 00359DF4 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8035CE98 00359DF8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8035CE9C 00359DFC 48 02 CA B9 */ bl __cvt_fp2unsigned +/* 8035CEA0 00359E00 90 61 00 08 */ stw r3, 8(r1) +/* 8035CEA4 00359E04 38 81 00 0C */ addi r4, r1, 0xc +/* 8035CEA8 00359E08 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8035CEAC 00359E0C 7C 03 00 40 */ cmplw r3, r0 +/* 8035CEB0 00359E10 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035CEB4 00359E14 40 80 00 08 */ bge lbl_8035CEBC +/* 8035CEB8 00359E18 38 81 00 08 */ addi r4, r1, 8 +lbl_8035CEBC: +/* 8035CEBC 00359E1C 80 04 00 00 */ lwz r0, 0(r4) +/* 8035CEC0 00359E20 90 1E 00 F0 */ stw r0, 0xf0(r30) +/* 8035CEC4 00359E24 C0 3E 00 E4 */ lfs f1, 0xe4(r30) +/* 8035CEC8 00359E28 C0 1E 00 EC */ lfs f0, 0xec(r30) +/* 8035CECC 00359E2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035CED0 00359E30 40 80 00 0C */ bge lbl_8035CEDC +/* 8035CED4 00359E34 38 7E 00 E4 */ addi r3, r30, 0xe4 +/* 8035CED8 00359E38 48 00 00 08 */ b lbl_8035CEE0 +lbl_8035CEDC: +/* 8035CEDC 00359E3C 38 7E 00 EC */ addi r3, r30, 0xec +lbl_8035CEE0: +/* 8035CEE0 00359E40 C0 03 00 00 */ lfs f0, 0(r3) +/* 8035CEE4 00359E44 D0 1E 00 EC */ stfs f0, 0xec(r30) +lbl_8035CEE8: +/* 8035CEE8 00359E48 80 9E 00 F0 */ lwz r4, 0xf0(r30) +/* 8035CEEC 00359E4C 2C 04 00 00 */ cmpwi r4, 0 +/* 8035CEF0 00359E50 40 81 00 0C */ ble lbl_8035CEFC +/* 8035CEF4 00359E54 38 7E 00 9C */ addi r3, r30, 0x9c +/* 8035CEF8 00359E58 48 00 0B 11 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +lbl_8035CEFC: +/* 8035CEFC 00359E5C 7F C3 F3 78 */ mr r3, r30 +/* 8035CF00 00359E60 4B FF F4 89 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +/* 8035CF04 00359E64 38 60 00 00 */ li r3, 0 +lbl_8035CF08: +/* 8035CF08 00359E68 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8035CF0C 00359E6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035CF10 00359E70 7C 08 03 A6 */ mtlr r0 +/* 8035CF14 00359E74 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035CF18 00359E78 4E 80 00 20 */ blr + +.global __ct__12CMoviePlayerFPCcfb +__ct__12CMoviePlayerFPCcfb: +/* 8035CF1C 00359E7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035CF20 00359E80 7C 08 02 A6 */ mflr r0 +/* 8035CF24 00359E84 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035CF28 00359E88 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8035CF2C 00359E8C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8035CF30 00359E90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035CF34 00359E94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035CF38 00359E98 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035CF3C 00359E9C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035CF40 00359EA0 FF E0 08 90 */ fmr f31, f1 +/* 8035CF44 00359EA4 7C 7D 1B 78 */ mr r29, r3 +/* 8035CF48 00359EA8 7C BE 2B 78 */ mr r30, r5 +/* 8035CF4C 00359EAC 7C DF 33 78 */ mr r31, r6 +/* 8035CF50 00359EB0 4B FF 2D 81 */ bl __ct__8CDvdFileFPCc +/* 8035CF54 00359EB4 38 00 00 00 */ li r0, 0 +/* 8035CF58 00359EB8 3C 60 80 3E */ lis r3, lbl_803D83D8@ha +/* 8035CF5C 00359EBC 90 1D 00 84 */ stw r0, 0x84(r29) +/* 8035CF60 00359EC0 38 83 83 D8 */ addi r4, r3, lbl_803D83D8@l +/* 8035CF64 00359EC4 38 60 00 14 */ li r3, 0x14 +/* 8035CF68 00359EC8 38 A0 00 00 */ li r5, 0 +/* 8035CF6C 00359ECC 90 1D 00 88 */ stw r0, 0x88(r29) +/* 8035CF70 00359ED0 90 1D 00 8C */ stw r0, 0x8c(r29) +/* 8035CF74 00359ED4 98 1D 00 90 */ stb r0, 0x90(r29) +/* 8035CF78 00359ED8 90 1D 00 94 */ stw r0, 0x94(r29) +/* 8035CF7C 00359EDC 90 1D 00 98 */ stw r0, 0x98(r29) +/* 8035CF80 00359EE0 90 1D 00 A0 */ stw r0, 0xa0(r29) +/* 8035CF84 00359EE4 90 1D 00 A4 */ stw r0, 0xa4(r29) +/* 8035CF88 00359EE8 90 1D 00 A8 */ stw r0, 0xa8(r29) +/* 8035CF8C 00359EEC 4B FB 88 E1 */ bl __nw__FUlPCcPCc +/* 8035CF90 00359EF0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8035CF94 00359EF4 41 82 00 54 */ beq lbl_8035CFE8 +/* 8035CF98 00359EF8 38 00 00 00 */ li r0, 0 +/* 8035CF9C 00359EFC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha +/* 8035CFA0 00359F00 90 1C 00 00 */ stw r0, 0(r28) +/* 8035CFA4 00359F04 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8035CFA8 00359F08 38 A4 83 D8 */ addi r5, r4, lbl_803D83D8@l +/* 8035CFAC 00359F0C 38 80 FF FF */ li r4, -1 +/* 8035CFB0 00359F10 90 1C 00 04 */ stw r0, 4(r28) +/* 8035CFB4 00359F14 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8035CFB8 00359F18 38 61 00 08 */ addi r3, r1, 8 +/* 8035CFBC 00359F1C 90 1C 00 08 */ stw r0, 8(r28) +/* 8035CFC0 00359F20 4B F7 94 15 */ bl __ct__10CCallStackFUiPCcPCc +/* 8035CFC4 00359F24 7C 67 1B 78 */ mr r7, r3 +/* 8035CFC8 00359F28 38 60 00 40 */ li r3, 0x40 +/* 8035CFCC 00359F2C 38 80 00 02 */ li r4, 2 +/* 8035CFD0 00359F30 38 A0 00 01 */ li r5, 1 +/* 8035CFD4 00359F34 38 C0 00 00 */ li r6, 0 +/* 8035CFD8 00359F38 4B FB 89 BD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035CFDC 00359F3C 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8035CFE0 00359F40 38 00 00 00 */ li r0, 0 +/* 8035CFE4 00359F44 90 1C 00 10 */ stw r0, 0x10(r28) +lbl_8035CFE8: +/* 8035CFE8 00359F48 93 9D 00 AC */ stw r28, 0xac(r29) +/* 8035CFEC 00359F4C 38 C0 00 00 */ li r6, 0 +/* 8035CFF0 00359F50 38 00 FF FF */ li r0, -1 +/* 8035CFF4 00359F54 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035CFF8 00359F58 90 DD 00 B0 */ stw r6, 0xb0(r29) +/* 8035CFFC 00359F5C 38 A0 00 01 */ li r5, 1 +/* 8035D000 00359F60 90 DD 00 B4 */ stw r6, 0xb4(r29) +/* 8035D004 00359F64 90 DD 00 B8 */ stw r6, 0xb8(r29) +/* 8035D008 00359F68 90 DD 00 BC */ stw r6, 0xbc(r29) +/* 8035D00C 00359F6C 90 DD 00 C0 */ stw r6, 0xc0(r29) +/* 8035D010 00359F70 90 DD 00 C4 */ stw r6, 0xc4(r29) +/* 8035D014 00359F74 90 DD 00 C8 */ stw r6, 0xc8(r29) +/* 8035D018 00359F78 90 DD 00 CC */ stw r6, 0xcc(r29) +/* 8035D01C 00359F7C 90 1D 00 D0 */ stw r0, 0xd0(r29) +/* 8035D020 00359F80 90 1D 00 D4 */ stw r0, 0xd4(r29) +/* 8035D024 00359F84 90 DD 00 D8 */ stw r6, 0xd8(r29) +/* 8035D028 00359F88 D0 1D 00 DC */ stfs f0, 0xdc(r29) +/* 8035D02C 00359F8C 90 BD 00 E0 */ stw r5, 0xe0(r29) +/* 8035D030 00359F90 D0 1D 00 E4 */ stfs f0, 0xe4(r29) +/* 8035D034 00359F94 D0 1D 00 E8 */ stfs f0, 0xe8(r29) +/* 8035D038 00359F98 D3 FD 00 EC */ stfs f31, 0xec(r29) +/* 8035D03C 00359F9C 90 DD 00 F0 */ stw r6, 0xf0(r29) +/* 8035D040 00359FA0 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D044 00359FA4 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 8035D048 00359FA8 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D04C 00359FAC 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D050 00359FB0 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 8035D054 00359FB4 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D058 00359FB8 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D05C 00359FBC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8035D060 00359FC0 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D064 00359FC4 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D068 00359FC8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8035D06C 00359FCC 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D070 00359FD0 90 DD 00 F8 */ stw r6, 0xf8(r29) +/* 8035D074 00359FD4 90 DD 00 FC */ stw r6, 0xfc(r29) +/* 8035D078 00359FD8 88 0D AA B1 */ lbz r0, lbl_805A9671@sda21(r13) +/* 8035D07C 00359FDC 7C 00 07 75 */ extsb. r0, r0 +/* 8035D080 00359FE0 40 82 00 0C */ bne lbl_8035D08C +/* 8035D084 00359FE4 98 CD AA B0 */ stb r6, lbl_805A9670@sda21(r13) +/* 8035D088 00359FE8 98 AD AA B1 */ stb r5, lbl_805A9671@sda21(r13) +lbl_8035D08C: +/* 8035D08C 00359FEC 88 0D AA B0 */ lbz r0, lbl_805A9670@sda21(r13) +/* 8035D090 00359FF0 28 00 00 00 */ cmplwi r0, 0 +/* 8035D094 00359FF4 40 82 00 10 */ bne lbl_8035D0A4 +/* 8035D098 00359FF8 38 00 00 01 */ li r0, 1 +/* 8035D09C 00359FFC 98 0D AA B0 */ stb r0, lbl_805A9670@sda21(r13) +/* 8035D0A0 0035A000 48 06 BF 89 */ bl THPInit +lbl_8035D0A4: +/* 8035D0A4 0035A004 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13) +/* 8035D0A8 0035A008 38 03 00 01 */ addi r0, r3, 1 +/* 8035D0AC 0035A00C 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13) +/* 8035D0B0 0035A010 4B FF E5 7D */ bl VerifyCallbackStatus__12CMoviePlayerFv +/* 8035D0B4 0035A014 80 9D 00 AC */ lwz r4, 0xac(r29) +/* 8035D0B8 0035A018 7F A3 EB 78 */ mr r3, r29 +/* 8035D0BC 0035A01C 38 A0 00 40 */ li r5, 0x40 +/* 8035D0C0 0035A020 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8035D0C4 0035A024 4B FF 2B 25 */ bl SyncRead__8CDvdFileFPvUi +/* 8035D0C8 0035A028 83 9D 00 AC */ lwz r28, 0xac(r29) +/* 8035D0CC 0035A02C 7C 7E 1B 78 */ mr r30, r3 +/* 8035D0D0 0035A030 80 7C 00 00 */ lwz r3, 0(r28) +/* 8035D0D4 0035A034 28 03 00 00 */ cmplwi r3, 0 +/* 8035D0D8 0035A038 41 82 00 18 */ beq lbl_8035D0F0 +/* 8035D0DC 0035A03C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035D0E0 0035A040 38 80 00 01 */ li r4, 1 +/* 8035D0E4 0035A044 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035D0E8 0035A048 7D 89 03 A6 */ mtctr r12 +/* 8035D0EC 0035A04C 4E 80 04 21 */ bctrl +lbl_8035D0F0: +/* 8035D0F0 0035A050 93 DC 00 00 */ stw r30, 0(r28) +/* 8035D0F4 0035A054 7F A3 EB 78 */ mr r3, r29 +/* 8035D0F8 0035A058 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8035D0FC 0035A05C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035D100 0035A060 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8035D104 0035A064 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035D108 0035A068 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035D10C 0035A06C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035D110 0035A070 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8035D114 0035A074 7C 08 03 A6 */ mtlr r0 +/* 8035D118 0035A078 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035D11C 0035A07C 4E 80 00 20 */ blr + +.global MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs +MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs: +/* 8035D120 0035A080 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8035D124 0035A084 7C 08 02 A6 */ mflr r0 +/* 8035D128 0035A088 39 00 00 00 */ li r8, 0 +/* 8035D12C 0035A08C 39 20 00 00 */ li r9, 0 +/* 8035D130 0035A090 90 01 00 84 */ stw r0, 0x84(r1) +/* 8035D134 0035A094 39 40 00 00 */ li r10, 0 +/* 8035D138 0035A098 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8035D13C 0035A09C 7C FF 3B 78 */ mr r31, r7 +/* 8035D140 0035A0A0 38 E0 00 01 */ li r7, 1 +/* 8035D144 0035A0A4 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8035D148 0035A0A8 7C DE 33 78 */ mr r30, r6 +/* 8035D14C 0035A0AC 7F E6 FB 78 */ mr r6, r31 +/* 8035D150 0035A0B0 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8035D154 0035A0B4 7C BD 2B 78 */ mr r29, r5 +/* 8035D158 0035A0B8 7F C5 F3 78 */ mr r5, r30 +/* 8035D15C 0035A0BC 93 81 00 70 */ stw r28, 0x70(r1) +/* 8035D160 0035A0C0 7C 9C 23 78 */ mr r28, r4 +/* 8035D164 0035A0C4 7C 64 1B 78 */ mr r4, r3 +/* 8035D168 0035A0C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035D16C 0035A0CC 48 01 CC F9 */ bl GXInitTexObj +/* 8035D170 0035A0D0 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D174 0035A0D4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035D178 0035A0D8 38 80 00 00 */ li r4, 0 +/* 8035D17C 0035A0DC 38 A0 00 00 */ li r5, 0 +/* 8035D180 0035A0E0 FC 40 08 90 */ fmr f2, f1 +/* 8035D184 0035A0E4 38 C0 00 00 */ li r6, 0 +/* 8035D188 0035A0E8 FC 60 08 90 */ fmr f3, f1 +/* 8035D18C 0035A0EC 38 E0 00 00 */ li r7, 0 +/* 8035D190 0035A0F0 39 00 00 00 */ li r8, 0 +/* 8035D194 0035A0F4 48 01 CF 8D */ bl GXInitTexObjLOD +/* 8035D198 0035A0F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035D19C 0035A0FC 38 80 00 00 */ li r4, 0 +/* 8035D1A0 0035A100 48 01 D2 F5 */ bl GXLoadTexObj +/* 8035D1A4 0035A104 57 DE FC 7E */ rlwinm r30, r30, 0x1f, 0x11, 0x1f +/* 8035D1A8 0035A108 57 FF FC 7E */ rlwinm r31, r31, 0x1f, 0x11, 0x1f +/* 8035D1AC 0035A10C 7F 84 E3 78 */ mr r4, r28 +/* 8035D1B0 0035A110 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035D1B4 0035A114 7F C5 F3 78 */ mr r5, r30 +/* 8035D1B8 0035A118 7F E6 FB 78 */ mr r6, r31 +/* 8035D1BC 0035A11C 38 E0 00 01 */ li r7, 1 +/* 8035D1C0 0035A120 39 00 00 00 */ li r8, 0 +/* 8035D1C4 0035A124 39 20 00 00 */ li r9, 0 +/* 8035D1C8 0035A128 39 40 00 00 */ li r10, 0 +/* 8035D1CC 0035A12C 48 01 CC 99 */ bl GXInitTexObj +/* 8035D1D0 0035A130 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D1D4 0035A134 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035D1D8 0035A138 38 80 00 00 */ li r4, 0 +/* 8035D1DC 0035A13C 38 A0 00 00 */ li r5, 0 +/* 8035D1E0 0035A140 FC 40 08 90 */ fmr f2, f1 +/* 8035D1E4 0035A144 38 C0 00 00 */ li r6, 0 +/* 8035D1E8 0035A148 FC 60 08 90 */ fmr f3, f1 +/* 8035D1EC 0035A14C 38 E0 00 00 */ li r7, 0 +/* 8035D1F0 0035A150 39 00 00 00 */ li r8, 0 +/* 8035D1F4 0035A154 48 01 CF 2D */ bl GXInitTexObjLOD +/* 8035D1F8 0035A158 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035D1FC 0035A15C 38 80 00 01 */ li r4, 1 +/* 8035D200 0035A160 48 01 D2 95 */ bl GXLoadTexObj +/* 8035D204 0035A164 7F A4 EB 78 */ mr r4, r29 +/* 8035D208 0035A168 7F E6 FB 78 */ mr r6, r31 +/* 8035D20C 0035A16C 38 61 00 08 */ addi r3, r1, 8 +/* 8035D210 0035A170 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 8035D214 0035A174 38 E0 00 01 */ li r7, 1 +/* 8035D218 0035A178 39 00 00 00 */ li r8, 0 +/* 8035D21C 0035A17C 39 20 00 00 */ li r9, 0 +/* 8035D220 0035A180 39 40 00 00 */ li r10, 0 +/* 8035D224 0035A184 48 01 CC 41 */ bl GXInitTexObj +/* 8035D228 0035A188 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D22C 0035A18C 38 61 00 08 */ addi r3, r1, 8 +/* 8035D230 0035A190 38 80 00 00 */ li r4, 0 +/* 8035D234 0035A194 38 A0 00 00 */ li r5, 0 +/* 8035D238 0035A198 FC 40 08 90 */ fmr f2, f1 +/* 8035D23C 0035A19C 38 C0 00 00 */ li r6, 0 +/* 8035D240 0035A1A0 FC 60 08 90 */ fmr f3, f1 +/* 8035D244 0035A1A4 38 E0 00 00 */ li r7, 0 +/* 8035D248 0035A1A8 39 00 00 00 */ li r8, 0 +/* 8035D24C 0035A1AC 48 01 CE D5 */ bl GXInitTexObjLOD +/* 8035D250 0035A1B0 38 61 00 08 */ addi r3, r1, 8 +/* 8035D254 0035A1B4 38 80 00 02 */ li r4, 2 +/* 8035D258 0035A1B8 48 01 D2 3D */ bl GXLoadTexObj +/* 8035D25C 0035A1BC 38 60 00 00 */ li r3, 0 +/* 8035D260 0035A1C0 4B FB 0E E9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D264 0035A1C4 38 60 00 01 */ li r3, 1 +/* 8035D268 0035A1C8 4B FB 0E E1 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D26C 0035A1CC 38 60 00 02 */ li r3, 2 +/* 8035D270 0035A1D0 4B FB 0E D9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D274 0035A1D4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8035D278 0035A1D8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8035D27C 0035A1DC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8035D280 0035A1E0 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8035D284 0035A1E4 83 81 00 70 */ lwz r28, 0x70(r1) +/* 8035D288 0035A1E8 7C 08 03 A6 */ mtlr r0 +/* 8035D28C 0035A1EC 38 21 00 80 */ addi r1, r1, 0x80 +/* 8035D290 0035A1F0 4E 80 00 20 */ blr + +.global MyTHPGXYuv2RgbSetup__Fb +MyTHPGXYuv2RgbSetup__Fb: +/* 8035D294 0035A1F4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8035D298 0035A1F8 7C 08 02 A6 */ mflr r0 +/* 8035D29C 0035A1FC 3C A0 80 3E */ lis r5, lbl_803D8380@ha +/* 8035D2A0 0035A200 90 01 00 94 */ stw r0, 0x94(r1) +/* 8035D2A4 0035A204 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8035D2A8 0035A208 3B E5 83 80 */ addi r31, r5, lbl_803D8380@l +/* 8035D2AC 0035A20C 38 A0 00 00 */ li r5, 0 +/* 8035D2B0 0035A210 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8035D2B4 0035A214 7C 9E 23 78 */ mr r30, r4 +/* 8035D2B8 0035A218 38 80 00 07 */ li r4, 7 +/* 8035D2BC 0035A21C 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8035D2C0 0035A220 7C 7D 1B 78 */ mr r29, r3 +/* 8035D2C4 0035A224 38 60 00 01 */ li r3, 1 +/* 8035D2C8 0035A228 81 5F 00 20 */ lwz r10, 0x20(r31) +/* 8035D2CC 0035A22C 81 3F 00 24 */ lwz r9, 0x24(r31) +/* 8035D2D0 0035A230 81 1F 00 28 */ lwz r8, 0x28(r31) +/* 8035D2D4 0035A234 80 FF 00 2C */ lwz r7, 0x2c(r31) +/* 8035D2D8 0035A238 80 DF 00 30 */ lwz r6, 0x30(r31) +/* 8035D2DC 0035A23C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8035D2E0 0035A240 91 41 00 5C */ stw r10, 0x5c(r1) +/* 8035D2E4 0035A244 91 21 00 60 */ stw r9, 0x60(r1) +/* 8035D2E8 0035A248 91 01 00 64 */ stw r8, 0x64(r1) +/* 8035D2EC 0035A24C 90 E1 00 68 */ stw r7, 0x68(r1) +/* 8035D2F0 0035A250 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8035D2F4 0035A254 90 01 00 70 */ stw r0, 0x70(r1) +/* 8035D2F8 0035A258 4B FA B5 85 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8035D2FC 0035A25C 38 60 00 00 */ li r3, 0 +/* 8035D300 0035A260 38 80 00 01 */ li r4, 1 +/* 8035D304 0035A264 38 A0 00 00 */ li r5, 0 +/* 8035D308 0035A268 38 C0 00 00 */ li r6, 0 +/* 8035D30C 0035A26C 4B FA B5 C5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8035D310 0035A270 38 60 00 00 */ li r3, 0 +/* 8035D314 0035A274 4B FA BB 3D */ bl SetNumChans__3CGXFUc +/* 8035D318 0035A278 38 60 00 00 */ li r3, 0 +/* 8035D31C 0035A27C 38 80 00 01 */ li r4, 1 +/* 8035D320 0035A280 38 A0 00 04 */ li r5, 4 +/* 8035D324 0035A284 38 C0 00 3C */ li r6, 0x3c +/* 8035D328 0035A288 38 E0 00 00 */ li r7, 0 +/* 8035D32C 0035A28C 39 00 00 7D */ li r8, 0x7d +/* 8035D330 0035A290 4B FA B3 9D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035D334 0035A294 38 60 00 01 */ li r3, 1 +/* 8035D338 0035A298 38 80 00 01 */ li r4, 1 +/* 8035D33C 0035A29C 38 A0 00 04 */ li r5, 4 +/* 8035D340 0035A2A0 38 C0 00 3C */ li r6, 0x3c +/* 8035D344 0035A2A4 38 E0 00 00 */ li r7, 0 +/* 8035D348 0035A2A8 39 00 00 7D */ li r8, 0x7d +/* 8035D34C 0035A2AC 4B FA B3 81 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035D350 0035A2B0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8035D354 0035A2B4 41 82 00 18 */ beq lbl_8035D36C +/* 8035D358 0035A2B8 38 60 00 02 */ li r3, 2 +/* 8035D35C 0035A2BC 4B FA BA B9 */ bl SetNumTexGens__3CGXFUc +/* 8035D360 0035A2C0 38 60 00 04 */ li r3, 4 +/* 8035D364 0035A2C4 4B FA B9 2D */ bl SetNumTevStages__3CGXFUc +/* 8035D368 0035A2C8 48 00 01 5C */ b lbl_8035D4C4 +lbl_8035D36C: +/* 8035D36C 0035A2CC 38 60 00 03 */ li r3, 3 +/* 8035D370 0035A2D0 4B FA BA A5 */ bl SetNumTexGens__3CGXFUc +/* 8035D374 0035A2D4 38 60 00 02 */ li r3, 2 +/* 8035D378 0035A2D8 38 80 00 01 */ li r4, 1 +/* 8035D37C 0035A2DC 38 A0 00 00 */ li r5, 0 +/* 8035D380 0035A2E0 38 C0 00 1E */ li r6, 0x1e +/* 8035D384 0035A2E4 38 E0 00 00 */ li r7, 0 +/* 8035D388 0035A2E8 39 00 00 7D */ li r8, 0x7d +/* 8035D38C 0035A2EC 4B FA B3 41 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035D390 0035A2F0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8035D394 0035A2F4 41 82 00 0C */ beq lbl_8035D3A0 +/* 8035D398 0035A2F8 C0 02 CD 38 */ lfs f0, lbl_805AEA58@sda21(r2) +/* 8035D39C 0035A2FC 48 00 00 08 */ b lbl_8035D3A4 +lbl_8035D3A0: +/* 8035D3A0 0035A300 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +lbl_8035D3A4: +/* 8035D3A4 0035A304 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8035D3A8 0035A308 38 61 00 3C */ addi r3, r1, 0x3c +/* 8035D3AC 0035A30C 81 7F 00 38 */ lwz r11, 0x38(r31) +/* 8035D3B0 0035A310 38 80 00 1E */ li r4, 0x1e +/* 8035D3B4 0035A314 90 01 00 58 */ stw r0, 0x58(r1) +/* 8035D3B8 0035A318 38 A0 00 01 */ li r5, 1 +/* 8035D3BC 0035A31C 81 5F 00 3C */ lwz r10, 0x3c(r31) +/* 8035D3C0 0035A320 81 3F 00 40 */ lwz r9, 0x40(r31) +/* 8035D3C4 0035A324 81 1F 00 44 */ lwz r8, 0x44(r31) +/* 8035D3C8 0035A328 80 FF 00 48 */ lwz r7, 0x48(r31) +/* 8035D3CC 0035A32C 80 DF 00 4C */ lwz r6, 0x4c(r31) +/* 8035D3D0 0035A330 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8035D3D4 0035A334 91 61 00 3C */ stw r11, 0x3c(r1) +/* 8035D3D8 0035A338 91 41 00 40 */ stw r10, 0x40(r1) +/* 8035D3DC 0035A33C 91 21 00 44 */ stw r9, 0x44(r1) +/* 8035D3E0 0035A340 91 01 00 48 */ stw r8, 0x48(r1) +/* 8035D3E4 0035A344 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 8035D3E8 0035A348 90 C1 00 50 */ stw r6, 0x50(r1) +/* 8035D3EC 0035A34C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8035D3F0 0035A350 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8035D3F4 0035A354 48 01 F0 9D */ bl GXLoadTexMtxImm +/* 8035D3F8 0035A358 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035D3FC 0035A35C 38 9F 00 00 */ addi r4, r31, 0 +/* 8035D400 0035A360 38 A0 00 08 */ li r5, 8 +/* 8035D404 0035A364 38 C0 00 04 */ li r6, 4 +/* 8035D408 0035A368 38 E0 00 01 */ li r7, 1 +/* 8035D40C 0035A36C 39 00 00 01 */ li r8, 1 +/* 8035D410 0035A370 39 20 00 01 */ li r9, 1 +/* 8035D414 0035A374 39 40 00 00 */ li r10, 0 +/* 8035D418 0035A378 48 01 CA 4D */ bl GXInitTexObj +/* 8035D41C 0035A37C C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D420 0035A380 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035D424 0035A384 38 80 00 00 */ li r4, 0 +/* 8035D428 0035A388 38 A0 00 00 */ li r5, 0 +/* 8035D42C 0035A38C FC 40 08 90 */ fmr f2, f1 +/* 8035D430 0035A390 38 C0 00 00 */ li r6, 0 +/* 8035D434 0035A394 FC 60 08 90 */ fmr f3, f1 +/* 8035D438 0035A398 38 E0 00 00 */ li r7, 0 +/* 8035D43C 0035A39C 39 00 00 00 */ li r8, 0 +/* 8035D440 0035A3A0 48 01 CC E1 */ bl GXInitTexObjLOD +/* 8035D444 0035A3A4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035D448 0035A3A8 38 80 00 03 */ li r4, 3 +/* 8035D44C 0035A3AC 48 01 D0 49 */ bl GXLoadTexObj +/* 8035D450 0035A3B0 38 60 00 03 */ li r3, 3 +/* 8035D454 0035A3B4 4B FB 0C F5 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D458 0035A3B8 38 60 00 04 */ li r3, 4 +/* 8035D45C 0035A3BC 38 80 00 02 */ li r4, 2 +/* 8035D460 0035A3C0 38 A0 00 03 */ li r5, 3 +/* 8035D464 0035A3C4 38 C0 00 FF */ li r6, 0xff +/* 8035D468 0035A3C8 4B FA B4 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D46C 0035A3CC 38 60 00 04 */ li r3, 4 +/* 8035D470 0035A3D0 4B FA A7 E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8035D474 0035A3D4 38 60 00 04 */ li r3, 4 +/* 8035D478 0035A3D8 38 80 00 0F */ li r4, 0xf +/* 8035D47C 0035A3DC 38 A0 00 0F */ li r5, 0xf +/* 8035D480 0035A3E0 38 C0 00 0F */ li r6, 0xf +/* 8035D484 0035A3E4 38 E0 00 00 */ li r7, 0 +/* 8035D488 0035A3E8 4B FA B7 65 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D48C 0035A3EC 38 60 00 04 */ li r3, 4 +/* 8035D490 0035A3F0 38 80 00 07 */ li r4, 7 +/* 8035D494 0035A3F4 38 A0 00 07 */ li r5, 7 +/* 8035D498 0035A3F8 38 C0 00 07 */ li r6, 7 +/* 8035D49C 0035A3FC 38 E0 00 04 */ li r7, 4 +/* 8035D4A0 0035A400 4B FA B6 F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D4A4 0035A404 38 60 00 01 */ li r3, 1 +/* 8035D4A8 0035A408 38 80 00 80 */ li r4, 0x80 +/* 8035D4AC 0035A40C 38 A0 00 00 */ li r5, 0 +/* 8035D4B0 0035A410 38 C0 00 07 */ li r6, 7 +/* 8035D4B4 0035A414 38 E0 00 00 */ li r7, 0 +/* 8035D4B8 0035A418 4B FA B3 5D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8035D4BC 0035A41C 38 60 00 05 */ li r3, 5 +/* 8035D4C0 0035A420 4B FA B7 D1 */ bl SetNumTevStages__3CGXFUc +lbl_8035D4C4: +/* 8035D4C4 0035A424 38 61 00 5C */ addi r3, r1, 0x5c +/* 8035D4C8 0035A428 4B FA A9 61 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8035D4CC 0035A42C 38 60 00 01 */ li r3, 1 +/* 8035D4D0 0035A430 48 01 EA 31 */ bl GXSetColorUpdate +/* 8035D4D4 0035A434 38 60 00 00 */ li r3, 0 +/* 8035D4D8 0035A438 48 01 EA 55 */ bl GXSetAlphaUpdate +/* 8035D4DC 0035A43C 48 01 D3 65 */ bl GXInvalidateTexAll +/* 8035D4E0 0035A440 38 60 00 07 */ li r3, 7 +/* 8035D4E4 0035A444 38 80 00 09 */ li r4, 9 +/* 8035D4E8 0035A448 38 A0 00 01 */ li r5, 1 +/* 8035D4EC 0035A44C 38 C0 00 04 */ li r6, 4 +/* 8035D4F0 0035A450 38 E0 00 00 */ li r7, 0 +/* 8035D4F4 0035A454 48 01 A2 99 */ bl GXSetVtxAttrFmt +/* 8035D4F8 0035A458 38 60 00 07 */ li r3, 7 +/* 8035D4FC 0035A45C 38 80 00 0D */ li r4, 0xd +/* 8035D500 0035A460 38 A0 00 01 */ li r5, 1 +/* 8035D504 0035A464 38 C0 00 02 */ li r6, 2 +/* 8035D508 0035A468 38 E0 00 00 */ li r7, 0 +/* 8035D50C 0035A46C 48 01 A2 81 */ bl GXSetVtxAttrFmt +/* 8035D510 0035A470 38 60 00 00 */ li r3, 0 +/* 8035D514 0035A474 38 80 00 01 */ li r4, 1 +/* 8035D518 0035A478 38 A0 00 01 */ li r5, 1 +/* 8035D51C 0035A47C 38 C0 00 FF */ li r6, 0xff +/* 8035D520 0035A480 4B FA B4 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D524 0035A484 38 60 00 00 */ li r3, 0 +/* 8035D528 0035A488 38 80 00 0F */ li r4, 0xf +/* 8035D52C 0035A48C 38 A0 00 08 */ li r5, 8 +/* 8035D530 0035A490 38 C0 00 0E */ li r6, 0xe +/* 8035D534 0035A494 38 E0 00 02 */ li r7, 2 +/* 8035D538 0035A498 4B FA B6 B5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D53C 0035A49C 38 60 00 00 */ li r3, 0 +/* 8035D540 0035A4A0 38 80 00 00 */ li r4, 0 +/* 8035D544 0035A4A4 38 A0 00 00 */ li r5, 0 +/* 8035D548 0035A4A8 38 C0 00 00 */ li r6, 0 +/* 8035D54C 0035A4AC 38 E0 00 00 */ li r7, 0 +/* 8035D550 0035A4B0 39 00 00 00 */ li r8, 0 +/* 8035D554 0035A4B4 4B FA B5 E5 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D558 0035A4B8 38 60 00 00 */ li r3, 0 +/* 8035D55C 0035A4BC 38 80 00 07 */ li r4, 7 +/* 8035D560 0035A4C0 38 A0 00 04 */ li r5, 4 +/* 8035D564 0035A4C4 38 C0 00 06 */ li r6, 6 +/* 8035D568 0035A4C8 38 E0 00 01 */ li r7, 1 +/* 8035D56C 0035A4CC 4B FA B6 29 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D570 0035A4D0 38 60 00 00 */ li r3, 0 +/* 8035D574 0035A4D4 38 80 00 01 */ li r4, 1 +/* 8035D578 0035A4D8 38 A0 00 00 */ li r5, 0 +/* 8035D57C 0035A4DC 38 C0 00 00 */ li r6, 0 +/* 8035D580 0035A4E0 38 E0 00 00 */ li r7, 0 +/* 8035D584 0035A4E4 39 00 00 00 */ li r8, 0 +/* 8035D588 0035A4E8 4B FA B4 F9 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D58C 0035A4EC 38 60 00 00 */ li r3, 0 +/* 8035D590 0035A4F0 38 80 00 0C */ li r4, 0xc +/* 8035D594 0035A4F4 4B FA B4 4D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035D598 0035A4F8 38 60 00 00 */ li r3, 0 +/* 8035D59C 0035A4FC 38 80 00 1C */ li r4, 0x1c +/* 8035D5A0 0035A500 4B FA B3 FD */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8035D5A4 0035A504 38 60 00 01 */ li r3, 1 +/* 8035D5A8 0035A508 38 80 00 01 */ li r4, 1 +/* 8035D5AC 0035A50C 38 A0 00 02 */ li r5, 2 +/* 8035D5B0 0035A510 38 C0 00 FF */ li r6, 0xff +/* 8035D5B4 0035A514 4B FA B3 99 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D5B8 0035A518 38 60 00 01 */ li r3, 1 +/* 8035D5BC 0035A51C 38 80 00 0F */ li r4, 0xf +/* 8035D5C0 0035A520 38 A0 00 08 */ li r5, 8 +/* 8035D5C4 0035A524 38 C0 00 0E */ li r6, 0xe +/* 8035D5C8 0035A528 38 E0 00 00 */ li r7, 0 +/* 8035D5CC 0035A52C 4B FA B6 21 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D5D0 0035A530 38 60 00 01 */ li r3, 1 +/* 8035D5D4 0035A534 38 80 00 00 */ li r4, 0 +/* 8035D5D8 0035A538 38 A0 00 00 */ li r5, 0 +/* 8035D5DC 0035A53C 38 C0 00 01 */ li r6, 1 +/* 8035D5E0 0035A540 38 E0 00 00 */ li r7, 0 +/* 8035D5E4 0035A544 39 00 00 00 */ li r8, 0 +/* 8035D5E8 0035A548 4B FA B5 51 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D5EC 0035A54C 38 60 00 01 */ li r3, 1 +/* 8035D5F0 0035A550 38 80 00 07 */ li r4, 7 +/* 8035D5F4 0035A554 38 A0 00 04 */ li r5, 4 +/* 8035D5F8 0035A558 38 C0 00 06 */ li r6, 6 +/* 8035D5FC 0035A55C 38 E0 00 00 */ li r7, 0 +/* 8035D600 0035A560 4B FA B5 95 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D604 0035A564 38 60 00 01 */ li r3, 1 +/* 8035D608 0035A568 38 80 00 01 */ li r4, 1 +/* 8035D60C 0035A56C 38 A0 00 00 */ li r5, 0 +/* 8035D610 0035A570 38 C0 00 00 */ li r6, 0 +/* 8035D614 0035A574 38 E0 00 00 */ li r7, 0 +/* 8035D618 0035A578 39 00 00 00 */ li r8, 0 +/* 8035D61C 0035A57C 4B FA B4 65 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D620 0035A580 38 60 00 01 */ li r3, 1 +/* 8035D624 0035A584 38 80 00 0D */ li r4, 0xd +/* 8035D628 0035A588 4B FA B3 B9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035D62C 0035A58C 38 60 00 01 */ li r3, 1 +/* 8035D630 0035A590 38 80 00 1D */ li r4, 0x1d +/* 8035D634 0035A594 4B FA B3 69 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8035D638 0035A598 38 60 00 02 */ li r3, 2 +/* 8035D63C 0035A59C 38 80 00 00 */ li r4, 0 +/* 8035D640 0035A5A0 38 A0 00 00 */ li r5, 0 +/* 8035D644 0035A5A4 38 C0 00 FF */ li r6, 0xff +/* 8035D648 0035A5A8 4B FA B3 05 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D64C 0035A5AC 38 60 00 02 */ li r3, 2 +/* 8035D650 0035A5B0 38 80 00 0F */ li r4, 0xf +/* 8035D654 0035A5B4 38 A0 00 08 */ li r5, 8 +/* 8035D658 0035A5B8 38 C0 00 0C */ li r6, 0xc +/* 8035D65C 0035A5BC 38 E0 00 00 */ li r7, 0 +/* 8035D660 0035A5C0 4B FA B5 8D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D664 0035A5C4 38 60 00 02 */ li r3, 2 +/* 8035D668 0035A5C8 38 80 00 00 */ li r4, 0 +/* 8035D66C 0035A5CC 38 A0 00 00 */ li r5, 0 +/* 8035D670 0035A5D0 38 C0 00 00 */ li r6, 0 +/* 8035D674 0035A5D4 38 E0 00 01 */ li r7, 1 +/* 8035D678 0035A5D8 39 00 00 00 */ li r8, 0 +/* 8035D67C 0035A5DC 4B FA B4 BD */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D680 0035A5E0 38 60 00 02 */ li r3, 2 +/* 8035D684 0035A5E4 38 80 00 04 */ li r4, 4 +/* 8035D688 0035A5E8 38 A0 00 07 */ li r5, 7 +/* 8035D68C 0035A5EC 38 C0 00 07 */ li r6, 7 +/* 8035D690 0035A5F0 38 E0 00 00 */ li r7, 0 +/* 8035D694 0035A5F4 4B FA B5 01 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D698 0035A5F8 38 60 00 02 */ li r3, 2 +/* 8035D69C 0035A5FC 38 80 00 00 */ li r4, 0 +/* 8035D6A0 0035A600 38 A0 00 00 */ li r5, 0 +/* 8035D6A4 0035A604 38 C0 00 00 */ li r6, 0 +/* 8035D6A8 0035A608 38 E0 00 01 */ li r7, 1 +/* 8035D6AC 0035A60C 39 00 00 00 */ li r8, 0 +/* 8035D6B0 0035A610 4B FA B3 D1 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D6B4 0035A614 38 60 00 03 */ li r3, 3 +/* 8035D6B8 0035A618 38 80 00 FF */ li r4, 0xff +/* 8035D6BC 0035A61C 38 A0 00 FF */ li r5, 0xff +/* 8035D6C0 0035A620 38 C0 00 FF */ li r6, 0xff +/* 8035D6C4 0035A624 4B FA B2 89 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D6C8 0035A628 38 60 00 03 */ li r3, 3 +/* 8035D6CC 0035A62C 38 80 00 01 */ li r4, 1 +/* 8035D6D0 0035A630 38 A0 00 00 */ li r5, 0 +/* 8035D6D4 0035A634 38 C0 00 0E */ li r6, 0xe +/* 8035D6D8 0035A638 38 E0 00 0F */ li r7, 0xf +/* 8035D6DC 0035A63C 4B FA B5 11 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D6E0 0035A640 38 60 00 03 */ li r3, 3 +/* 8035D6E4 0035A644 38 80 00 00 */ li r4, 0 +/* 8035D6E8 0035A648 38 A0 00 00 */ li r5, 0 +/* 8035D6EC 0035A64C 38 C0 00 00 */ li r6, 0 +/* 8035D6F0 0035A650 38 E0 00 01 */ li r7, 1 +/* 8035D6F4 0035A654 39 00 00 00 */ li r8, 0 +/* 8035D6F8 0035A658 4B FA B4 41 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D6FC 0035A65C 38 60 00 03 */ li r3, 3 +/* 8035D700 0035A660 38 80 00 07 */ li r4, 7 +/* 8035D704 0035A664 38 A0 00 07 */ li r5, 7 +/* 8035D708 0035A668 38 C0 00 07 */ li r6, 7 +/* 8035D70C 0035A66C 38 E0 00 07 */ li r7, 7 +/* 8035D710 0035A670 4B FA B4 85 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D714 0035A674 38 60 00 03 */ li r3, 3 +/* 8035D718 0035A678 38 80 00 00 */ li r4, 0 +/* 8035D71C 0035A67C 38 A0 00 00 */ li r5, 0 +/* 8035D720 0035A680 38 C0 00 00 */ li r6, 0 +/* 8035D724 0035A684 38 E0 00 01 */ li r7, 1 +/* 8035D728 0035A688 39 00 00 00 */ li r8, 0 +/* 8035D72C 0035A68C 4B FA B3 55 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D730 0035A690 38 60 00 03 */ li r3, 3 +/* 8035D734 0035A694 38 80 00 0E */ li r4, 0xe +/* 8035D738 0035A698 4B FA B2 A9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035D73C 0035A69C 80 A2 CD 10 */ lwz r5, lbl_805AEA30@sda21(r2) +/* 8035D740 0035A6A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8035D744 0035A6A4 80 02 CD 14 */ lwz r0, lbl_805AEA34@sda21(r2) +/* 8035D748 0035A6A8 38 60 00 01 */ li r3, 1 +/* 8035D74C 0035A6AC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8035D750 0035A6B0 90 01 00 18 */ stw r0, 0x18(r1) +/* 8035D754 0035A6B4 48 01 DF 1D */ bl GXSetTevColorS10 +/* 8035D758 0035A6B8 80 02 CD 18 */ lwz r0, lbl_805AEA38@sda21(r2) +/* 8035D75C 0035A6BC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035D760 0035A6C0 38 60 00 00 */ li r3, 0 +/* 8035D764 0035A6C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035D768 0035A6C8 4B FA B4 DD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035D76C 0035A6CC 80 02 CD 1C */ lwz r0, lbl_805AEA3C@sda21(r2) +/* 8035D770 0035A6D0 38 81 00 0C */ addi r4, r1, 0xc +/* 8035D774 0035A6D4 38 60 00 01 */ li r3, 1 +/* 8035D778 0035A6D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035D77C 0035A6DC 4B FA B4 C9 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035D780 0035A6E0 80 02 CD 20 */ lwz r0, lbl_805AEA40@sda21(r2) +/* 8035D784 0035A6E4 38 81 00 08 */ addi r4, r1, 8 +/* 8035D788 0035A6E8 38 60 00 02 */ li r3, 2 +/* 8035D78C 0035A6EC 90 01 00 08 */ stw r0, 8(r1) +/* 8035D790 0035A6F0 4B FA B4 B5 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035D794 0035A6F4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8035D798 0035A6F8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8035D79C 0035A6FC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8035D7A0 0035A700 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8035D7A4 0035A704 7C 08 03 A6 */ mtlr r0 +/* 8035D7A8 0035A708 38 21 00 90 */ addi r1, r1, 0x90 +/* 8035D7AC 0035A70C 4E 80 00 20 */ blr + +.global MyTHPGXRestore__Fv +MyTHPGXRestore__Fv: +/* 8035D7B0 0035A710 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035D7B4 0035A714 7C 08 02 A6 */ mflr r0 +/* 8035D7B8 0035A718 38 60 00 01 */ li r3, 1 +/* 8035D7BC 0035A71C 38 80 00 07 */ li r4, 7 +/* 8035D7C0 0035A720 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035D7C4 0035A724 38 A0 00 00 */ li r5, 0 +/* 8035D7C8 0035A728 4B FA B0 B5 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8035D7CC 0035A72C 38 60 00 00 */ li r3, 0 +/* 8035D7D0 0035A730 38 80 00 01 */ li r4, 1 +/* 8035D7D4 0035A734 38 A0 00 00 */ li r5, 0 +/* 8035D7D8 0035A738 38 C0 00 0F */ li r6, 0xf +/* 8035D7DC 0035A73C 4B FA B0 F5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8035D7E0 0035A740 38 60 00 01 */ li r3, 1 +/* 8035D7E4 0035A744 4B FA B6 31 */ bl SetNumTexGens__3CGXFUc +/* 8035D7E8 0035A748 38 60 00 00 */ li r3, 0 +/* 8035D7EC 0035A74C 4B FA B6 65 */ bl SetNumChans__3CGXFUc +/* 8035D7F0 0035A750 38 60 00 01 */ li r3, 1 +/* 8035D7F4 0035A754 4B FA B4 9D */ bl SetNumTevStages__3CGXFUc +/* 8035D7F8 0035A758 38 60 00 00 */ li r3, 0 +/* 8035D7FC 0035A75C 38 80 00 00 */ li r4, 0 +/* 8035D800 0035A760 38 A0 00 00 */ li r5, 0 +/* 8035D804 0035A764 38 C0 00 FF */ li r6, 0xff +/* 8035D808 0035A768 4B FA B1 45 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D80C 0035A76C 38 60 00 07 */ li r3, 7 +/* 8035D810 0035A770 38 80 00 00 */ li r4, 0 +/* 8035D814 0035A774 38 A0 00 00 */ li r5, 0 +/* 8035D818 0035A778 38 C0 00 07 */ li r6, 7 +/* 8035D81C 0035A77C 38 E0 00 00 */ li r7, 0 +/* 8035D820 0035A780 4B FA AF F5 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8035D824 0035A784 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035D828 0035A788 7C 08 03 A6 */ mtlr r0 +/* 8035D82C 0035A78C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035D830 0035A790 4E 80 00 20 */ blr + +.global "reserve__Q24rstl67vectorFi" +"reserve__Q24rstl67vectorFi": +/* 8035D834 0035A794 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035D838 0035A798 7C 08 02 A6 */ mflr r0 +/* 8035D83C 0035A79C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035D840 0035A7A0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8035D844 0035A7A4 7C 9E 23 78 */ mr r30, r4 +/* 8035D848 0035A7A8 7C 7D 1B 78 */ mr r29, r3 +/* 8035D84C 0035A7AC 80 03 00 08 */ lwz r0, 8(r3) +/* 8035D850 0035A7B0 7C 1E 00 00 */ cmpw r30, r0 +/* 8035D854 0035A7B4 40 81 01 10 */ ble lbl_8035D964 +/* 8035D858 0035A7B8 1C 7E 00 28 */ mulli r3, r30, 0x28 +/* 8035D85C 0035A7BC 2C 03 00 00 */ cmpwi r3, 0 +/* 8035D860 0035A7C0 40 82 00 0C */ bne lbl_8035D86C +/* 8035D864 0035A7C4 3B E0 00 00 */ li r31, 0 +/* 8035D868 0035A7C8 48 00 00 18 */ b lbl_8035D880 +lbl_8035D86C: +/* 8035D86C 0035A7CC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha +/* 8035D870 0035A7D0 38 A0 00 00 */ li r5, 0 +/* 8035D874 0035A7D4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l +/* 8035D878 0035A7D8 4B FB 7F A1 */ bl __nwa__FUlPCcPCc +/* 8035D87C 0035A7DC 7C 7F 1B 78 */ mr r31, r3 +lbl_8035D880: +/* 8035D880 0035A7E0 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035D884 0035A7E4 7F E5 FB 78 */ mr r5, r31 +/* 8035D888 0035A7E8 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 8035D88C 0035A7EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035D890 0035A7F0 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035D894 0035A7F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035D898 0035A7F8 7C C6 02 14 */ add r6, r6, r0 +/* 8035D89C 0035A7FC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8035D8A0 0035A800 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8035D8A4 0035A804 90 C1 00 08 */ stw r6, 8(r1) +/* 8035D8A8 0035A808 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035D8AC 0035A80C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035D8B0 0035A810 48 00 00 C9 */ bl "construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet" +/* 8035D8B4 0035A814 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035D8B8 0035A818 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 8035D8BC 0035A81C 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035D8C0 0035A820 7F 9B 02 14 */ add r28, r27, r0 +/* 8035D8C4 0035A824 48 00 00 80 */ b lbl_8035D944 +lbl_8035D8C8: +/* 8035D8C8 0035A828 28 1B 00 00 */ cmplwi r27, 0 +/* 8035D8CC 0035A82C 41 82 00 74 */ beq lbl_8035D940 +/* 8035D8D0 0035A830 34 1B 00 18 */ addic. r0, r27, 0x18 +/* 8035D8D4 0035A834 41 82 00 18 */ beq lbl_8035D8EC +/* 8035D8D8 0035A838 88 1B 00 18 */ lbz r0, 0x18(r27) +/* 8035D8DC 0035A83C 28 00 00 00 */ cmplwi r0, 0 +/* 8035D8E0 0035A840 41 82 00 0C */ beq lbl_8035D8EC +/* 8035D8E4 0035A844 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 8035D8E8 0035A848 4B FB 80 49 */ bl Free__7CMemoryFPCv +lbl_8035D8EC: +/* 8035D8EC 0035A84C 34 1B 00 10 */ addic. r0, r27, 0x10 +/* 8035D8F0 0035A850 41 82 00 18 */ beq lbl_8035D908 +/* 8035D8F4 0035A854 88 1B 00 10 */ lbz r0, 0x10(r27) +/* 8035D8F8 0035A858 28 00 00 00 */ cmplwi r0, 0 +/* 8035D8FC 0035A85C 41 82 00 0C */ beq lbl_8035D908 +/* 8035D900 0035A860 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 8035D904 0035A864 4B FB 80 2D */ bl Free__7CMemoryFPCv +lbl_8035D908: +/* 8035D908 0035A868 34 1B 00 08 */ addic. r0, r27, 8 +/* 8035D90C 0035A86C 41 82 00 18 */ beq lbl_8035D924 +/* 8035D910 0035A870 88 1B 00 08 */ lbz r0, 8(r27) +/* 8035D914 0035A874 28 00 00 00 */ cmplwi r0, 0 +/* 8035D918 0035A878 41 82 00 0C */ beq lbl_8035D924 +/* 8035D91C 0035A87C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 8035D920 0035A880 4B FB 80 11 */ bl Free__7CMemoryFPCv +lbl_8035D924: +/* 8035D924 0035A884 28 1B 00 00 */ cmplwi r27, 0 +/* 8035D928 0035A888 41 82 00 18 */ beq lbl_8035D940 +/* 8035D92C 0035A88C 88 1B 00 00 */ lbz r0, 0(r27) +/* 8035D930 0035A890 28 00 00 00 */ cmplwi r0, 0 +/* 8035D934 0035A894 41 82 00 0C */ beq lbl_8035D940 +/* 8035D938 0035A898 80 7B 00 04 */ lwz r3, 4(r27) +/* 8035D93C 0035A89C 4B FB 7F F5 */ bl Free__7CMemoryFPCv +lbl_8035D940: +/* 8035D940 0035A8A0 3B 7B 00 28 */ addi r27, r27, 0x28 +lbl_8035D944: +/* 8035D944 0035A8A4 7C 1B E0 40 */ cmplw r27, r28 +/* 8035D948 0035A8A8 40 82 FF 80 */ bne lbl_8035D8C8 +/* 8035D94C 0035A8AC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8035D950 0035A8B0 28 03 00 00 */ cmplwi r3, 0 +/* 8035D954 0035A8B4 41 82 00 08 */ beq lbl_8035D95C +/* 8035D958 0035A8B8 4B FB 7F D9 */ bl Free__7CMemoryFPCv +lbl_8035D95C: +/* 8035D95C 0035A8BC 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8035D960 0035A8C0 93 DD 00 08 */ stw r30, 8(r29) +lbl_8035D964: +/* 8035D964 0035A8C4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8035D968 0035A8C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035D96C 0035A8CC 7C 08 03 A6 */ mtlr r0 +/* 8035D970 0035A8D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035D974 0035A8D4 4E 80 00 20 */ blr + +.global "construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet" +"construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet": +/* 8035D978 0035A8D8 80 C3 00 00 */ lwz r6, 0(r3) +/* 8035D97C 0035A8DC 48 00 00 78 */ b lbl_8035D9F4 +lbl_8035D980: +/* 8035D980 0035A8E0 28 05 00 00 */ cmplwi r5, 0 +/* 8035D984 0035A8E4 41 82 00 68 */ beq lbl_8035D9EC +/* 8035D988 0035A8E8 88 06 00 00 */ lbz r0, 0(r6) +/* 8035D98C 0035A8EC 38 60 00 00 */ li r3, 0 +/* 8035D990 0035A8F0 98 05 00 00 */ stb r0, 0(r5) +/* 8035D994 0035A8F4 80 06 00 04 */ lwz r0, 4(r6) +/* 8035D998 0035A8F8 90 05 00 04 */ stw r0, 4(r5) +/* 8035D99C 0035A8FC 98 66 00 00 */ stb r3, 0(r6) +/* 8035D9A0 0035A900 88 06 00 08 */ lbz r0, 8(r6) +/* 8035D9A4 0035A904 98 05 00 08 */ stb r0, 8(r5) +/* 8035D9A8 0035A908 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8035D9AC 0035A90C 90 05 00 0C */ stw r0, 0xc(r5) +/* 8035D9B0 0035A910 98 66 00 08 */ stb r3, 8(r6) +/* 8035D9B4 0035A914 88 06 00 10 */ lbz r0, 0x10(r6) +/* 8035D9B8 0035A918 98 05 00 10 */ stb r0, 0x10(r5) +/* 8035D9BC 0035A91C 80 06 00 14 */ lwz r0, 0x14(r6) +/* 8035D9C0 0035A920 90 05 00 14 */ stw r0, 0x14(r5) +/* 8035D9C4 0035A924 98 66 00 10 */ stb r3, 0x10(r6) +/* 8035D9C8 0035A928 88 06 00 18 */ lbz r0, 0x18(r6) +/* 8035D9CC 0035A92C 98 05 00 18 */ stb r0, 0x18(r5) +/* 8035D9D0 0035A930 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 8035D9D4 0035A934 90 05 00 1C */ stw r0, 0x1c(r5) +/* 8035D9D8 0035A938 98 66 00 18 */ stb r3, 0x18(r6) +/* 8035D9DC 0035A93C 80 06 00 20 */ lwz r0, 0x20(r6) +/* 8035D9E0 0035A940 90 05 00 20 */ stw r0, 0x20(r5) +/* 8035D9E4 0035A944 80 06 00 24 */ lwz r0, 0x24(r6) +/* 8035D9E8 0035A948 90 05 00 24 */ stw r0, 0x24(r5) +lbl_8035D9EC: +/* 8035D9EC 0035A94C 38 A5 00 28 */ addi r5, r5, 0x28 +/* 8035D9F0 0035A950 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_8035D9F4: +/* 8035D9F4 0035A954 80 04 00 00 */ lwz r0, 0(r4) +/* 8035D9F8 0035A958 7C 06 00 40 */ cmplw r6, r0 +/* 8035D9FC 0035A95C 40 82 FF 84 */ bne lbl_8035D980 +/* 8035DA00 0035A960 7C A3 2B 78 */ mr r3, r5 +/* 8035DA04 0035A964 4E 80 00 20 */ blr + +.global "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi": +/* 8035DA08 0035A968 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035DA0C 0035A96C 7C 08 02 A6 */ mflr r0 +/* 8035DA10 0035A970 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035DA14 0035A974 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8035DA18 0035A978 7C 9F 23 78 */ mr r31, r4 +/* 8035DA1C 0035A97C 7C 7E 1B 78 */ mr r30, r3 +/* 8035DA20 0035A980 80 03 00 08 */ lwz r0, 8(r3) +/* 8035DA24 0035A984 7C 1F 00 00 */ cmpw r31, r0 +/* 8035DA28 0035A988 40 81 00 D4 */ ble lbl_8035DAFC +/* 8035DA2C 0035A98C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8035DA30 0035A990 40 82 00 0C */ bne lbl_8035DA3C +/* 8035DA34 0035A994 3B A0 00 00 */ li r29, 0 +/* 8035DA38 0035A998 48 00 00 18 */ b lbl_8035DA50 +lbl_8035DA3C: +/* 8035DA3C 0035A99C 3C 80 80 3E */ lis r4, lbl_803D83D8@ha +/* 8035DA40 0035A9A0 38 A0 00 00 */ li r5, 0 +/* 8035DA44 0035A9A4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l +/* 8035DA48 0035A9A8 4B FB 7D D1 */ bl __nwa__FUlPCcPCc +/* 8035DA4C 0035A9AC 7C 7D 1B 78 */ mr r29, r3 +lbl_8035DA50: +/* 8035DA50 0035A9B0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035DA54 0035A9B4 7F A5 EB 78 */ mr r5, r29 +/* 8035DA58 0035A9B8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035DA5C 0035A9BC 38 00 00 00 */ li r0, 0 +/* 8035DA60 0035A9C0 54 63 18 38 */ slwi r3, r3, 3 +/* 8035DA64 0035A9C4 7C 86 1A 14 */ add r4, r6, r3 +/* 8035DA68 0035A9C8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8035DA6C 0035A9CC 90 81 00 08 */ stw r4, 8(r1) +/* 8035DA70 0035A9D0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035DA74 0035A9D4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8035DA78 0035A9D8 48 00 00 28 */ b lbl_8035DAA0 +lbl_8035DA7C: +/* 8035DA7C 0035A9DC 28 05 00 00 */ cmplwi r5, 0 +/* 8035DA80 0035A9E0 41 82 00 18 */ beq lbl_8035DA98 +/* 8035DA84 0035A9E4 88 66 00 00 */ lbz r3, 0(r6) +/* 8035DA88 0035A9E8 98 65 00 00 */ stb r3, 0(r5) +/* 8035DA8C 0035A9EC 80 66 00 04 */ lwz r3, 4(r6) +/* 8035DA90 0035A9F0 90 65 00 04 */ stw r3, 4(r5) +/* 8035DA94 0035A9F4 98 06 00 00 */ stb r0, 0(r6) +lbl_8035DA98: +/* 8035DA98 0035A9F8 38 A5 00 08 */ addi r5, r5, 8 +/* 8035DA9C 0035A9FC 38 C6 00 08 */ addi r6, r6, 8 +lbl_8035DAA0: +/* 8035DAA0 0035AA00 7C 06 20 40 */ cmplw r6, r4 +/* 8035DAA4 0035AA04 40 82 FF D8 */ bne lbl_8035DA7C +/* 8035DAA8 0035AA08 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035DAAC 0035AA0C 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8035DAB0 0035AA10 54 00 18 38 */ slwi r0, r0, 3 +/* 8035DAB4 0035AA14 7F 9B 02 14 */ add r28, r27, r0 +/* 8035DAB8 0035AA18 48 00 00 24 */ b lbl_8035DADC +lbl_8035DABC: +/* 8035DABC 0035AA1C 28 1B 00 00 */ cmplwi r27, 0 +/* 8035DAC0 0035AA20 41 82 00 18 */ beq lbl_8035DAD8 +/* 8035DAC4 0035AA24 88 1B 00 00 */ lbz r0, 0(r27) +/* 8035DAC8 0035AA28 28 00 00 00 */ cmplwi r0, 0 +/* 8035DACC 0035AA2C 41 82 00 0C */ beq lbl_8035DAD8 +/* 8035DAD0 0035AA30 80 7B 00 04 */ lwz r3, 4(r27) +/* 8035DAD4 0035AA34 4B FB 7E 5D */ bl Free__7CMemoryFPCv +lbl_8035DAD8: +/* 8035DAD8 0035AA38 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8035DADC: +/* 8035DADC 0035AA3C 7C 1B E0 40 */ cmplw r27, r28 +/* 8035DAE0 0035AA40 40 82 FF DC */ bne lbl_8035DABC +/* 8035DAE4 0035AA44 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035DAE8 0035AA48 28 03 00 00 */ cmplwi r3, 0 +/* 8035DAEC 0035AA4C 41 82 00 08 */ beq lbl_8035DAF4 +/* 8035DAF0 0035AA50 4B FB 7E 41 */ bl Free__7CMemoryFPCv +lbl_8035DAF4: +/* 8035DAF4 0035AA54 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8035DAF8 0035AA58 93 FE 00 08 */ stw r31, 8(r30) +lbl_8035DAFC: +/* 8035DAFC 0035AA5C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8035DB00 0035AA60 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035DB04 0035AA64 7C 08 03 A6 */ mtlr r0 +/* 8035DB08 0035AA68 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035DB0C 0035AA6C 4E 80 00 20 */ blr + +.global AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet +AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet: +/* 8035DB10 0035AA70 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035DB14 0035AA74 7C 08 02 A6 */ mflr r0 +/* 8035DB18 0035AA78 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035DB1C 0035AA7C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8035DB20 0035AA80 7C 79 1B 78 */ mr r25, r3 +/* 8035DB24 0035AA84 7C 9A 23 78 */ mr r26, r4 +/* 8035DB28 0035AA88 7C BB 2B 78 */ mr r27, r5 +/* 8035DB2C 0035AA8C 7C DC 33 78 */ mr r28, r6 +/* 8035DB30 0035AA90 38 61 00 0C */ addi r3, r1, 0xc +/* 8035DB34 0035AA94 4B F9 F8 39 */ bl __ct__21CStackSegStatementSetFv +/* 8035DB38 0035AA98 80 79 00 08 */ lwz r3, 8(r25) +/* 8035DB3C 0035AA9C 7F 44 D3 78 */ mr r4, r26 +/* 8035DB40 0035AAA0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8035DB44 0035AAA4 80 63 00 00 */ lwz r3, 0(r3) +/* 8035DB48 0035AAA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035DB4C 0035AAAC 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8035DB50 0035AAB0 7D 89 03 A6 */ mtctr r12 +/* 8035DB54 0035AAB4 4E 80 04 21 */ bctrl +/* 8035DB58 0035AAB8 83 DA 00 04 */ lwz r30, 4(r26) +/* 8035DB5C 0035AABC 3B A0 00 00 */ li r29, 0 +/* 8035DB60 0035AAC0 3B E0 00 01 */ li r31, 1 +/* 8035DB64 0035AAC4 48 00 00 54 */ b lbl_8035DBB8 +lbl_8035DB68: +/* 8035DB68 0035AAC8 80 DA 00 0C */ lwz r6, 0xc(r26) +/* 8035DB6C 0035AACC 7F 64 DB 78 */ mr r4, r27 +/* 8035DB70 0035AAD0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035DB74 0035AAD4 38 A1 00 08 */ addi r5, r1, 8 +/* 8035DB78 0035AAD8 7C 06 E8 AE */ lbzx r0, r6, r29 +/* 8035DB7C 0035AADC 98 01 00 08 */ stb r0, 8(r1) +/* 8035DB80 0035AAE0 4B DC DE 21 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId +/* 8035DB84 0035AAE4 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 8035DB88 0035AAE8 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8035DB8C 0035AAEC 7C 03 E8 AE */ lbzx r0, r3, r29 +/* 8035DB90 0035AAF0 3B BD 00 01 */ addi r29, r29, 1 +/* 8035DB94 0035AAF4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8035DB98 0035AAF8 54 00 28 34 */ slwi r0, r0, 5 +/* 8035DB9C 0035AAFC 7C 64 02 14 */ add r3, r4, r0 +/* 8035DBA0 0035AB00 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DBA4 0035AB04 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8035DBA8 0035AB08 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8035DBAC 0035AB0C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8035DBB0 0035AB10 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8035DBB4 0035AB14 93 E3 00 1C */ stw r31, 0x1c(r3) +lbl_8035DBB8: +/* 8035DBB8 0035AB18 7C 1D F0 40 */ cmplw r29, r30 +/* 8035DBBC 0035AB1C 41 80 FF AC */ blt lbl_8035DB68 +/* 8035DBC0 0035AB20 C0 39 00 10 */ lfs f1, 0x10(r25) +/* 8035DBC4 0035AB24 7F 83 E3 78 */ mr r3, r28 +/* 8035DBC8 0035AB28 7F 44 D3 78 */ mr r4, r26 +/* 8035DBCC 0035AB2C 7F 65 DB 78 */ mr r5, r27 +/* 8035DBD0 0035AB30 38 C1 00 0C */ addi r6, r1, 0xc +/* 8035DBD4 0035AB34 4B F9 F8 65 */ bl Add__16CSegStatementSetFRC10CSegIdListRC15CCharLayoutInfoRC16CSegStatementSetf +/* 8035DBD8 0035AB38 38 61 00 0C */ addi r3, r1, 0xc +/* 8035DBDC 0035AB3C 38 80 FF FF */ li r4, -1 +/* 8035DBE0 0035AB40 4B F9 F6 CD */ bl __dt__21CStackSegStatementSetFv +/* 8035DBE4 0035AB44 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8035DBE8 0035AB48 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035DBEC 0035AB4C 7C 08 03 A6 */ mtlr r0 +/* 8035DBF0 0035AB50 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035DBF4 0035AB54 4E 80 00 20 */ blr + +.global Update__21CAdditiveAnimPlaybackFf +Update__21CAdditiveAnimPlaybackFf: +/* 8035DBF8 0035AB58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035DBFC 0035AB5C 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8035DC00 0035AB60 2C 00 00 01 */ cmpwi r0, 1 +/* 8035DC04 0035AB64 40 82 00 88 */ bne lbl_8035DC8C +/* 8035DC08 0035AB68 C0 43 00 00 */ lfs f2, 0(r3) +/* 8035DC0C 0035AB6C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8035DC10 0035AB70 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DC14 0035AB74 EC 00 08 2A */ fadds f0, f0, f1 +/* 8035DC18 0035AB78 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8035DC1C 0035AB7C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8035DC20 0035AB80 40 80 00 0C */ bge lbl_8035DC2C +/* 8035DC24 0035AB84 38 81 00 0C */ addi r4, r1, 0xc +/* 8035DC28 0035AB88 48 00 00 08 */ b lbl_8035DC30 +lbl_8035DC2C: +/* 8035DC2C 0035AB8C 38 81 00 10 */ addi r4, r1, 0x10 +lbl_8035DC30: +/* 8035DC30 0035AB90 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035DC34 0035AB94 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DC38 0035AB98 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8035DC3C 0035AB9C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8035DC40 0035ABA0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DC44 0035ABA4 40 81 00 18 */ ble lbl_8035DC5C +/* 8035DC48 0035ABA8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DC4C 0035ABAC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DC50 0035ABB0 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DC54 0035ABB4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DC58 0035ABB8 48 00 00 08 */ b lbl_8035DC60 +lbl_8035DC5C: +/* 8035DC5C 0035ABBC C0 03 00 0C */ lfs f0, 0xc(r3) +lbl_8035DC60: +/* 8035DC60 0035ABC0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DC64 0035ABC4 C0 02 CD 44 */ lfs f0, lbl_805AEA64@sda21(r2) +/* 8035DC68 0035ABC8 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8035DC6C 0035ABCC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DC70 0035ABD0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8035DC74 0035ABD4 FC 20 0A 10 */ fabs f1, f1 +/* 8035DC78 0035ABD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DC7C 0035ABDC 40 80 00 8C */ bge lbl_8035DD08 +/* 8035DC80 0035ABE0 38 00 00 03 */ li r0, 3 +/* 8035DC84 0035ABE4 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035DC88 0035ABE8 48 00 00 80 */ b lbl_8035DD08 +lbl_8035DC8C: +/* 8035DC8C 0035ABEC 2C 00 00 02 */ cmpwi r0, 2 +/* 8035DC90 0035ABF0 40 82 00 78 */ bne lbl_8035DD08 +/* 8035DC94 0035ABF4 C0 43 00 18 */ lfs f2, 0x18(r3) +/* 8035DC98 0035ABF8 C0 0D 9E 48 */ lfs f0, lbl_805A8A08@sda21(r13) +/* 8035DC9C 0035ABFC EC 22 08 28 */ fsubs f1, f2, f1 +/* 8035DCA0 0035AC00 C0 43 00 04 */ lfs f2, 4(r3) +/* 8035DCA4 0035AC04 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8035DCA8 0035AC08 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035DCAC 0035AC0C 40 80 00 0C */ bge lbl_8035DCB8 +/* 8035DCB0 0035AC10 38 81 00 08 */ addi r4, r1, 8 +/* 8035DCB4 0035AC14 48 00 00 08 */ b lbl_8035DCBC +lbl_8035DCB8: +/* 8035DCB8 0035AC18 38 8D 9E 48 */ addi r4, r13, lbl_805A8A08@sda21 +lbl_8035DCBC: +/* 8035DCBC 0035AC1C C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DCC0 0035AC20 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035DCC4 0035AC24 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DCC8 0035AC28 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8035DCCC 0035AC2C 40 81 00 14 */ ble lbl_8035DCE0 +/* 8035DCD0 0035AC30 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DCD4 0035AC34 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DCD8 0035AC38 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DCDC 0035AC3C EC 01 00 32 */ fmuls f0, f1, f0 +lbl_8035DCE0: +/* 8035DCE0 0035AC40 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DCE4 0035AC44 C0 22 CD 40 */ lfs f1, lbl_805AEA60@sda21(r2) +/* 8035DCE8 0035AC48 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8035DCEC 0035AC4C C0 02 CD 44 */ lfs f0, lbl_805AEA64@sda21(r2) +/* 8035DCF0 0035AC50 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8035DCF4 0035AC54 FC 20 0A 10 */ fabs f1, f1 +/* 8035DCF8 0035AC58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DCFC 0035AC5C 40 80 00 0C */ bge lbl_8035DD08 +/* 8035DD00 0035AC60 38 00 00 04 */ li r0, 4 +/* 8035DD04 0035AC64 90 03 00 1C */ stw r0, 0x1c(r3) +lbl_8035DD08: +/* 8035DD08 0035AC68 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035DD0C 0035AC6C 4E 80 00 20 */ blr + +.global FadeOut__21CAdditiveAnimPlaybackFv +FadeOut__21CAdditiveAnimPlaybackFv: +/* 8035DD10 0035AC70 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8035DD14 0035AC74 2C 00 00 04 */ cmpwi r0, 4 +/* 8035DD18 0035AC78 41 82 00 0C */ beq lbl_8035DD24 +/* 8035DD1C 0035AC7C 2C 00 00 03 */ cmpwi r0, 3 +/* 8035DD20 0035AC80 40 82 00 10 */ bne lbl_8035DD30 +lbl_8035DD24: +/* 8035DD24 0035AC84 C0 03 00 04 */ lfs f0, 4(r3) +/* 8035DD28 0035AC88 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8035DD2C 0035AC8C 48 00 00 24 */ b lbl_8035DD50 +lbl_8035DD30: +/* 8035DD30 0035AC90 2C 00 00 01 */ cmpwi r0, 1 +/* 8035DD34 0035AC94 40 82 00 1C */ bne lbl_8035DD50 +/* 8035DD38 0035AC98 C0 43 00 18 */ lfs f2, 0x18(r3) +/* 8035DD3C 0035AC9C C0 23 00 00 */ lfs f1, 0(r3) +/* 8035DD40 0035ACA0 C0 03 00 04 */ lfs f0, 4(r3) +/* 8035DD44 0035ACA4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8035DD48 0035ACA8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DD4C 0035ACAC D0 03 00 18 */ stfs f0, 0x18(r3) +lbl_8035DD50: +/* 8035DD50 0035ACB0 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035DD54 0035ACB4 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DD58 0035ACB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DD5C 0035ACBC 40 81 00 10 */ ble lbl_8035DD6C +/* 8035DD60 0035ACC0 38 00 00 02 */ li r0, 2 +/* 8035DD64 0035ACC4 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035DD68 0035ACC8 4E 80 00 20 */ blr +lbl_8035DD6C: +/* 8035DD6C 0035ACCC 38 00 00 04 */ li r0, 4 +/* 8035DD70 0035ACD0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035DD74 0035ACD4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DD78 0035ACD8 4E 80 00 20 */ blr + +.global SetWeight__21CAdditiveAnimPlaybackFf +SetWeight__21CAdditiveAnimPlaybackFf: +/* 8035DD7C 0035ACDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035DD80 0035ACE0 FC 00 08 18 */ frsp f0, f1 +/* 8035DD84 0035ACE4 C0 4D 9E 40 */ lfs f2, lbl_805A8A00@sda21(r13) +/* 8035DD88 0035ACE8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035DD8C 0035ACEC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DD90 0035ACF0 40 80 00 0C */ bge lbl_8035DD9C +/* 8035DD94 0035ACF4 38 8D 9E 40 */ addi r4, r13, lbl_805A8A00@sda21 +/* 8035DD98 0035ACF8 48 00 00 08 */ b lbl_8035DDA0 +lbl_8035DD9C: +/* 8035DD9C 0035ACFC 38 81 00 08 */ addi r4, r1, 8 +lbl_8035DDA0: +/* 8035DDA0 0035AD00 C0 2D 9E 44 */ lfs f1, lbl_805A8A04@sda21(r13) +/* 8035DDA4 0035AD04 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035DDA8 0035AD08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DDAC 0035AD0C 40 80 00 08 */ bge lbl_8035DDB4 +/* 8035DDB0 0035AD10 48 00 00 08 */ b lbl_8035DDB8 +lbl_8035DDB4: +/* 8035DDB4 0035AD14 38 8D 9E 44 */ addi r4, r13, lbl_805A8A04@sda21 +lbl_8035DDB8: +/* 8035DDB8 0035AD18 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035DDBC 0035AD1C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035DDC0 0035AD20 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8035DDC4 0035AD24 2C 00 00 01 */ cmpwi r0, 1 +/* 8035DDC8 0035AD28 40 82 00 34 */ bne lbl_8035DDFC +/* 8035DDCC 0035AD2C C0 43 00 00 */ lfs f2, 0(r3) +/* 8035DDD0 0035AD30 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DDD4 0035AD34 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DDD8 0035AD38 40 81 00 18 */ ble lbl_8035DDF0 +/* 8035DDDC 0035AD3C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DDE0 0035AD40 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DDE4 0035AD44 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DDE8 0035AD48 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DDEC 0035AD4C 48 00 00 08 */ b lbl_8035DDF4 +lbl_8035DDF0: +/* 8035DDF0 0035AD50 C0 03 00 0C */ lfs f0, 0xc(r3) +lbl_8035DDF4: +/* 8035DDF4 0035AD54 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DDF8 0035AD58 48 00 00 44 */ b lbl_8035DE3C +lbl_8035DDFC: +/* 8035DDFC 0035AD5C 2C 00 00 02 */ cmpwi r0, 2 +/* 8035DE00 0035AD60 40 82 00 34 */ bne lbl_8035DE34 +/* 8035DE04 0035AD64 C0 43 00 04 */ lfs f2, 4(r3) +/* 8035DE08 0035AD68 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DE0C 0035AD6C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DE10 0035AD70 40 81 00 18 */ ble lbl_8035DE28 +/* 8035DE14 0035AD74 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DE18 0035AD78 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DE1C 0035AD7C EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DE20 0035AD80 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DE24 0035AD84 48 00 00 08 */ b lbl_8035DE2C +lbl_8035DE28: +/* 8035DE28 0035AD88 C0 03 00 0C */ lfs f0, 0xc(r3) +lbl_8035DE2C: +/* 8035DE2C 0035AD8C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DE30 0035AD90 48 00 00 0C */ b lbl_8035DE3C +lbl_8035DE34: +/* 8035DE34 0035AD94 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8035DE38 0035AD98 D0 03 00 10 */ stfs f0, 0x10(r3) +lbl_8035DE3C: +/* 8035DE3C 0035AD9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035DE40 0035ADA0 4E 80 00 20 */ blr + +.global "__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob" +"__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob": +/* 8035DE44 0035ADA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035DE48 0035ADA8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035DE4C 0035ADAC C0 06 00 00 */ lfs f0, 0(r6) +/* 8035DE50 0035ADB0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035DE54 0035ADB4 C0 06 00 04 */ lfs f0, 4(r6) +/* 8035DE58 0035ADB8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8035DE5C 0035ADBC 80 04 00 00 */ lwz r0, 0(r4) +/* 8035DE60 0035ADC0 90 03 00 08 */ stw r0, 8(r3) +/* 8035DE64 0035ADC4 80 C3 00 08 */ lwz r6, 8(r3) +/* 8035DE68 0035ADC8 80 86 00 04 */ lwz r4, 4(r6) +/* 8035DE6C 0035ADCC 38 04 00 01 */ addi r0, r4, 1 +/* 8035DE70 0035ADD0 90 06 00 04 */ stw r0, 4(r6) +/* 8035DE74 0035ADD4 C0 2D 9E 38 */ lfs f1, lbl_805A89F8@sda21(r13) +/* 8035DE78 0035ADD8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8035DE7C 0035ADDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DE80 0035ADE0 40 80 00 0C */ bge lbl_8035DE8C +/* 8035DE84 0035ADE4 38 8D 9E 38 */ addi r4, r13, lbl_805A89F8@sda21 +/* 8035DE88 0035ADE8 48 00 00 08 */ b lbl_8035DE90 +lbl_8035DE8C: +/* 8035DE8C 0035ADEC 38 81 00 08 */ addi r4, r1, 8 +lbl_8035DE90: +/* 8035DE90 0035ADF0 C0 2D 9E 3C */ lfs f1, lbl_805A89FC@sda21(r13) +/* 8035DE94 0035ADF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035DE98 0035ADF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DE9C 0035ADFC 40 80 00 08 */ bge lbl_8035DEA4 +/* 8035DEA0 0035AE00 48 00 00 08 */ b lbl_8035DEA8 +lbl_8035DEA4: +/* 8035DEA4 0035AE04 38 8D 9E 3C */ addi r4, r13, lbl_805A89FC@sda21 +lbl_8035DEA8: +/* 8035DEA8 0035AE08 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035DEAC 0035AE0C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8035DEB0 0035AE10 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DEB4 0035AE14 38 C0 00 01 */ li r6, 1 +/* 8035DEB8 0035AE18 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 8035DEBC 0035AE1C 38 80 00 00 */ li r4, 0 +/* 8035DEC0 0035AE20 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DEC4 0035AE24 98 A3 00 14 */ stb r5, 0x14(r3) +/* 8035DEC8 0035AE28 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8035DECC 0035AE2C 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 8035DED0 0035AE30 40 82 00 10 */ bne lbl_8035DEE0 +/* 8035DED4 0035AE34 54 E0 06 3F */ clrlwi. r0, r7, 0x18 +/* 8035DED8 0035AE38 41 82 00 08 */ beq lbl_8035DEE0 +/* 8035DEDC 0035AE3C 7C C4 33 78 */ mr r4, r6 +lbl_8035DEE0: +/* 8035DEE0 0035AE40 98 83 00 20 */ stb r4, 0x20(r3) +/* 8035DEE4 0035AE44 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035DEE8 0035AE48 4E 80 00 20 */ blr + +.global CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool +CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool: +/* 8035DEEC 0035AE4C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8035DEF0 0035AE50 7C 08 02 A6 */ mflr r0 +/* 8035DEF4 0035AE54 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8035DEF8 0035AE58 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 8035DEFC 0035AE5C 7C 7B 1B 78 */ mr r27, r3 +/* 8035DF00 0035AE60 7C 9C 23 78 */ mr r28, r4 +/* 8035DF04 0035AE64 7C BD 2B 78 */ mr r29, r5 +/* 8035DF08 0035AE68 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035DF0C 0035AE6C 3B C0 00 00 */ li r30, 0 +/* 8035DF10 0035AE70 38 80 00 63 */ li r4, 0x63 +/* 8035DF14 0035AE74 4B FB 46 D9 */ bl __ct__9CRandom16FUi +/* 8035DF18 0035AE78 3C 60 4C 43 */ lis r3, 0x4C434C33@ha +/* 8035DF1C 0035AE7C 3B E3 4C 33 */ addi r31, r3, 0x4C434C33@l +/* 8035DF20 0035AE80 48 00 06 28 */ b lbl_8035E548 +lbl_8035DF24: +/* 8035DF24 0035AE84 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8035DF28 0035AE88 38 81 00 28 */ addi r4, r1, 0x28 +/* 8035DF2C 0035AE8C 4B FB 47 55 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8035DF30 0035AE90 7F 83 E3 78 */ mr r3, r28 +/* 8035DF34 0035AE94 4B FC A5 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8035DF38 0035AE98 7C 03 F8 00 */ cmpw r3, r31 +/* 8035DF3C 0035AE9C 41 82 05 C4 */ beq lbl_8035E500 +/* 8035DF40 0035AEA0 40 80 00 B8 */ bge lbl_8035DFF8 +/* 8035DF44 0035AEA4 3C 80 46 45 */ lis r4, 0x46454D54@ha +/* 8035DF48 0035AEA8 38 04 4D 54 */ addi r0, r4, 0x46454D54@l +/* 8035DF4C 0035AEAC 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF50 0035AEB0 41 82 01 D4 */ beq lbl_8035E124 +/* 8035DF54 0035AEB4 40 80 00 50 */ bge lbl_8035DFA4 +/* 8035DF58 0035AEB8 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 8035DF5C 0035AEBC 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 8035DF60 0035AEC0 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF64 0035AEC4 41 82 01 A0 */ beq lbl_8035E104 +/* 8035DF68 0035AEC8 40 80 00 28 */ bge lbl_8035DF90 +/* 8035DF6C 0035AECC 3C 80 41 4D */ lis r4, 0x414D504C@ha +/* 8035DF70 0035AED0 38 04 50 4C */ addi r0, r4, 0x414D504C@l +/* 8035DF74 0035AED4 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF78 0035AED8 41 82 01 BC */ beq lbl_8035E134 +/* 8035DF7C 0035AEDC 40 80 05 AC */ bge lbl_8035E528 +/* 8035DF80 0035AEE0 38 04 50 44 */ addi r0, r4, 0x5044 +/* 8035DF84 0035AEE4 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF88 0035AEE8 41 82 01 BC */ beq lbl_8035E144 +/* 8035DF8C 0035AEEC 48 00 05 9C */ b lbl_8035E528 +lbl_8035DF90: +/* 8035DF90 0035AEF0 3C 80 45 50 */ lis r4, 0x4550534D@ha +/* 8035DF94 0035AEF4 38 04 53 4D */ addi r0, r4, 0x4550534D@l +/* 8035DF98 0035AEF8 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF9C 0035AEFC 41 82 03 CC */ beq lbl_8035E368 +/* 8035DFA0 0035AF00 48 00 05 88 */ b lbl_8035E528 +lbl_8035DFA4: +/* 8035DFA4 0035AF04 3C 80 49 45 */ lis r4, 0x49454D54@ha +/* 8035DFA8 0035AF08 38 04 4D 54 */ addi r0, r4, 0x49454D54@l +/* 8035DFAC 0035AF0C 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFB0 0035AF10 41 82 01 64 */ beq lbl_8035E114 +/* 8035DFB4 0035AF14 40 80 00 2C */ bge lbl_8035DFE0 +/* 8035DFB8 0035AF18 3C 80 47 52 */ lis r4, 0x47524154@ha +/* 8035DFBC 0035AF1C 38 04 41 54 */ addi r0, r4, 0x47524154@l +/* 8035DFC0 0035AF20 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFC4 0035AF24 41 82 01 10 */ beq lbl_8035E0D4 +/* 8035DFC8 0035AF28 40 80 05 60 */ bge lbl_8035E528 +/* 8035DFCC 0035AF2C 3C 80 47 50 */ lis r4, 0x4750534D@ha +/* 8035DFD0 0035AF30 38 04 53 4D */ addi r0, r4, 0x4750534D@l +/* 8035DFD4 0035AF34 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFD8 0035AF38 41 82 02 48 */ beq lbl_8035E220 +/* 8035DFDC 0035AF3C 48 00 05 4C */ b lbl_8035E528 +lbl_8035DFE0: +/* 8035DFE0 0035AF40 3C 80 4C 43 */ lis r4, 0x4C434C31@ha +/* 8035DFE4 0035AF44 38 04 4C 31 */ addi r0, r4, 0x4C434C31@l +/* 8035DFE8 0035AF48 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFEC 0035AF4C 41 82 04 F4 */ beq lbl_8035E4E0 +/* 8035DFF0 0035AF50 40 80 05 00 */ bge lbl_8035E4F0 +/* 8035DFF4 0035AF54 48 00 05 34 */ b lbl_8035E528 +lbl_8035DFF8: +/* 8035DFF8 0035AF58 3C 80 53 4C */ lis r4, 0x534C4946@ha +/* 8035DFFC 0035AF5C 38 04 49 46 */ addi r0, r4, 0x534C4946@l +/* 8035E000 0035AF60 7C 03 00 00 */ cmpw r3, r0 +/* 8035E004 0035AF64 41 82 00 C0 */ beq lbl_8035E0C4 +/* 8035E008 0035AF68 40 80 00 60 */ bge lbl_8035E068 +/* 8035E00C 0035AF6C 3C A0 4C 57 */ lis r5, 0x4C574432@ha +/* 8035E010 0035AF70 38 05 44 32 */ addi r0, r5, 0x4C574432@l +/* 8035E014 0035AF74 7C 03 00 00 */ cmpw r3, r0 +/* 8035E018 0035AF78 41 82 04 A8 */ beq lbl_8035E4C0 +/* 8035E01C 0035AF7C 40 80 00 28 */ bge lbl_8035E044 +/* 8035E020 0035AF80 3C 80 4C 49 */ lis r4, 0x4C494645@ha +/* 8035E024 0035AF84 38 04 46 45 */ addi r0, r4, 0x4C494645@l +/* 8035E028 0035AF88 7C 03 00 00 */ cmpw r3, r0 +/* 8035E02C 0035AF8C 41 82 00 88 */ beq lbl_8035E0B4 +/* 8035E030 0035AF90 41 80 04 F8 */ blt lbl_8035E528 +/* 8035E034 0035AF94 38 05 44 31 */ addi r0, r5, 0x4431 +/* 8035E038 0035AF98 7C 03 00 00 */ cmpw r3, r0 +/* 8035E03C 0035AF9C 40 80 04 74 */ bge lbl_8035E4B0 +/* 8035E040 0035AFA0 48 00 04 E8 */ b lbl_8035E528 +lbl_8035E044: +/* 8035E044 0035AFA4 3C 80 53 43 */ lis r4, 0x53434E54@ha +/* 8035E048 0035AFA8 38 04 4E 54 */ addi r0, r4, 0x53434E54@l +/* 8035E04C 0035AFAC 7C 03 00 00 */ cmpw r3, r0 +/* 8035E050 0035AFB0 41 82 00 94 */ beq lbl_8035E0E4 +/* 8035E054 0035AFB4 40 80 04 D4 */ bge lbl_8035E528 +/* 8035E058 0035AFB8 38 05 44 34 */ addi r0, r5, 0x4434 +/* 8035E05C 0035AFBC 7C 03 00 00 */ cmpw r3, r0 +/* 8035E060 0035AFC0 40 80 04 C8 */ bge lbl_8035E528 +/* 8035E064 0035AFC4 48 00 04 6C */ b lbl_8035E4D0 +lbl_8035E068: +/* 8035E068 0035AFC8 3C 80 5A 45 */ lis r4, 0x5A455259@ha +/* 8035E06C 0035AFCC 38 04 52 59 */ addi r0, r4, 0x5A455259@l +/* 8035E070 0035AFD0 7C 03 00 00 */ cmpw r3, r0 +/* 8035E074 0035AFD4 41 82 04 9C */ beq lbl_8035E510 +/* 8035E078 0035AFD8 40 80 00 28 */ bge lbl_8035E0A0 +/* 8035E07C 0035AFDC 3C 80 53 53 */ lis r4, 0x53535748@ha +/* 8035E080 0035AFE0 38 04 57 48 */ addi r0, r4, 0x53535748@l +/* 8035E084 0035AFE4 7C 03 00 00 */ cmpw r3, r0 +/* 8035E088 0035AFE8 41 82 00 CC */ beq lbl_8035E154 +/* 8035E08C 0035AFEC 40 80 04 9C */ bge lbl_8035E528 +/* 8035E090 0035AFF0 38 04 45 47 */ addi r0, r4, 0x4547 +/* 8035E094 0035AFF4 7C 03 00 00 */ cmpw r3, r0 +/* 8035E098 0035AFF8 41 82 00 5C */ beq lbl_8035E0F4 +/* 8035E09C 0035AFFC 48 00 04 8C */ b lbl_8035E528 +lbl_8035E0A0: +/* 8035E0A0 0035B000 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 8035E0A4 0035B004 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 8035E0A8 0035B008 7C 03 00 00 */ cmpw r3, r0 +/* 8035E0AC 0035B00C 41 82 04 74 */ beq lbl_8035E520 +/* 8035E0B0 0035B010 48 00 04 78 */ b lbl_8035E528 +lbl_8035E0B4: +/* 8035E0B4 0035B014 7F 83 E3 78 */ mr r3, r28 +/* 8035E0B8 0035B018 4B FC 9A ED */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0BC 0035B01C 90 7B 00 00 */ stw r3, 0(r27) +/* 8035E0C0 0035B020 48 00 04 7C */ b lbl_8035E53C +lbl_8035E0C4: +/* 8035E0C4 0035B024 7F 83 E3 78 */ mr r3, r28 +/* 8035E0C8 0035B028 4B FC 9A DD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0CC 0035B02C 90 7B 00 04 */ stw r3, 4(r27) +/* 8035E0D0 0035B030 48 00 04 6C */ b lbl_8035E53C +lbl_8035E0D4: +/* 8035E0D4 0035B034 7F 83 E3 78 */ mr r3, r28 +/* 8035E0D8 0035B038 4B FC 8B B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0DC 0035B03C 90 7B 00 08 */ stw r3, 8(r27) +/* 8035E0E0 0035B040 48 00 04 5C */ b lbl_8035E53C +lbl_8035E0E4: +/* 8035E0E4 0035B044 7F 83 E3 78 */ mr r3, r28 +/* 8035E0E8 0035B048 4B FC 9A BD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0EC 0035B04C 90 7B 00 0C */ stw r3, 0xc(r27) +/* 8035E0F0 0035B050 48 00 04 4C */ b lbl_8035E53C +lbl_8035E0F4: +/* 8035E0F4 0035B054 7F 83 E3 78 */ mr r3, r28 +/* 8035E0F8 0035B058 4B FC 9A AD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0FC 0035B05C 90 7B 00 10 */ stw r3, 0x10(r27) +/* 8035E100 0035B060 48 00 04 3C */ b lbl_8035E53C +lbl_8035E104: +/* 8035E104 0035B064 7F 83 E3 78 */ mr r3, r28 +/* 8035E108 0035B068 4B FC 71 55 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E10C 0035B06C 90 7B 00 14 */ stw r3, 0x14(r27) +/* 8035E110 0035B070 48 00 04 2C */ b lbl_8035E53C +lbl_8035E114: +/* 8035E114 0035B074 7F 83 E3 78 */ mr r3, r28 +/* 8035E118 0035B078 4B FC 7E 99 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream +/* 8035E11C 0035B07C 90 7B 00 18 */ stw r3, 0x18(r27) +/* 8035E120 0035B080 48 00 04 1C */ b lbl_8035E53C +lbl_8035E124: +/* 8035E124 0035B084 7F 83 E3 78 */ mr r3, r28 +/* 8035E128 0035B088 4B FC 7E 89 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream +/* 8035E12C 0035B08C 90 7B 00 1C */ stw r3, 0x1c(r27) +/* 8035E130 0035B090 48 00 04 0C */ b lbl_8035E53C +lbl_8035E134: +/* 8035E134 0035B094 7F 83 E3 78 */ mr r3, r28 +/* 8035E138 0035B098 4B FC 8B 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E13C 0035B09C 90 7B 00 20 */ stw r3, 0x20(r27) +/* 8035E140 0035B0A0 48 00 03 FC */ b lbl_8035E53C +lbl_8035E144: +/* 8035E144 0035B0A4 7F 83 E3 78 */ mr r3, r28 +/* 8035E148 0035B0A8 4B FC 8B 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E14C 0035B0AC 90 7B 00 24 */ stw r3, 0x24(r27) +/* 8035E150 0035B0B0 48 00 03 EC */ b lbl_8035E53C +lbl_8035E154: +/* 8035E154 0035B0B4 7F 83 E3 78 */ mr r3, r28 +/* 8035E158 0035B0B8 4B FC A3 05 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8035E15C 0035B0BC 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 8035E160 0035B0C0 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 8035E164 0035B0C4 41 82 03 D8 */ beq lbl_8035E53C +/* 8035E168 0035B0C8 7F 83 E3 78 */ mr r3, r28 +/* 8035E16C 0035B0CC 4B FE 0B 19 */ bl ReadLong__12CInputStreamFv +/* 8035E170 0035B0D0 28 03 00 00 */ cmplwi r3, 0 +/* 8035E174 0035B0D4 41 82 03 C8 */ beq lbl_8035E53C +/* 8035E178 0035B0D8 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 8035E17C 0035B0DC 90 61 00 38 */ stw r3, 0x38(r1) +/* 8035E180 0035B0E0 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 8035E184 0035B0E4 7F A4 EB 78 */ mr r4, r29 +/* 8035E188 0035B0E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035E18C 0035B0EC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8035E190 0035B0F0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8035E194 0035B0F4 81 9D 00 00 */ lwz r12, 0(r29) +/* 8035E198 0035B0F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035E19C 0035B0FC 7D 89 03 A6 */ mtctr r12 +/* 8035E1A0 0035B100 4E 80 04 21 */ bctrl +/* 8035E1A4 0035B104 38 61 00 6C */ addi r3, r1, 0x6c +/* 8035E1A8 0035B108 38 81 00 2C */ addi r4, r1, 0x2c +/* 8035E1AC 0035B10C 4B FE 2C FD */ bl __ct__6CTokenFRC6CToken +/* 8035E1B0 0035B110 38 00 00 00 */ li r0, 0 +/* 8035E1B4 0035B114 90 01 00 74 */ stw r0, 0x74(r1) +/* 8035E1B8 0035B118 88 1B 00 4C */ lbz r0, 0x4c(r27) +/* 8035E1BC 0035B11C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E1C0 0035B120 40 82 00 2C */ bne lbl_8035E1EC +/* 8035E1C4 0035B124 37 5B 00 40 */ addic. r26, r27, 0x40 +/* 8035E1C8 0035B128 41 82 00 18 */ beq lbl_8035E1E0 +/* 8035E1CC 0035B12C 7F 43 D3 78 */ mr r3, r26 +/* 8035E1D0 0035B130 38 81 00 6C */ addi r4, r1, 0x6c +/* 8035E1D4 0035B134 4B FE 2C D5 */ bl __ct__6CTokenFRC6CToken +/* 8035E1D8 0035B138 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8035E1DC 0035B13C 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E1E0: +/* 8035E1E0 0035B140 38 00 00 01 */ li r0, 1 +/* 8035E1E4 0035B144 98 1B 00 4C */ stb r0, 0x4c(r27) +/* 8035E1E8 0035B148 48 00 00 1C */ b lbl_8035E204 +lbl_8035E1EC: +/* 8035E1EC 0035B14C 3B 5B 00 40 */ addi r26, r27, 0x40 +/* 8035E1F0 0035B150 38 81 00 6C */ addi r4, r1, 0x6c +/* 8035E1F4 0035B154 7F 43 D3 78 */ mr r3, r26 +/* 8035E1F8 0035B158 4B FE 2A CD */ bl __as__6CTokenFRC6CToken +/* 8035E1FC 0035B15C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8035E200 0035B160 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E204: +/* 8035E204 0035B164 38 61 00 6C */ addi r3, r1, 0x6c +/* 8035E208 0035B168 38 80 00 00 */ li r4, 0 +/* 8035E20C 0035B16C 4B FE 2C 35 */ bl __dt__6CTokenFv +/* 8035E210 0035B170 38 61 00 2C */ addi r3, r1, 0x2c +/* 8035E214 0035B174 38 80 FF FF */ li r4, -1 +/* 8035E218 0035B178 4B FE 2C 29 */ bl __dt__6CTokenFv +/* 8035E21C 0035B17C 48 00 03 20 */ b lbl_8035E53C +lbl_8035E220: +/* 8035E220 0035B180 38 00 00 00 */ li r0, 0 +/* 8035E224 0035B184 7F 84 E3 78 */ mr r4, r28 +/* 8035E228 0035B188 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035E22C 0035B18C 7F A5 EB 78 */ mr r5, r29 +/* 8035E230 0035B190 38 61 00 60 */ addi r3, r1, 0x60 +/* 8035E234 0035B194 38 C1 00 A0 */ addi r6, r1, 0xa0 +/* 8035E238 0035B198 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8035E23C 0035B19C 90 01 00 AC */ stw r0, 0xac(r1) +/* 8035E240 0035B1A0 4B FC 6B 51 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 8035E244 0035B1A4 88 01 00 68 */ lbz r0, 0x68(r1) +/* 8035E248 0035B1A8 28 00 00 00 */ cmplwi r0, 0 +/* 8035E24C 0035B1AC 98 01 00 9C */ stb r0, 0x9c(r1) +/* 8035E250 0035B1B0 41 82 00 14 */ beq lbl_8035E264 +/* 8035E254 0035B1B4 34 61 00 94 */ addic. r3, r1, 0x94 +/* 8035E258 0035B1B8 38 81 00 60 */ addi r4, r1, 0x60 +/* 8035E25C 0035B1BC 41 82 00 08 */ beq lbl_8035E264 +/* 8035E260 0035B1C0 4B FE 2C 49 */ bl __ct__6CTokenFRC6CToken +lbl_8035E264: +/* 8035E264 0035B1C4 88 01 00 68 */ lbz r0, 0x68(r1) +/* 8035E268 0035B1C8 28 00 00 00 */ cmplwi r0, 0 +/* 8035E26C 0035B1CC 41 82 00 14 */ beq lbl_8035E280 +/* 8035E270 0035B1D0 34 61 00 60 */ addic. r3, r1, 0x60 +/* 8035E274 0035B1D4 41 82 00 0C */ beq lbl_8035E280 +/* 8035E278 0035B1D8 38 80 00 00 */ li r4, 0 +/* 8035E27C 0035B1DC 4B FE 2B C5 */ bl __dt__6CTokenFv +lbl_8035E280: +/* 8035E280 0035B1E0 88 01 00 9C */ lbz r0, 0x9c(r1) +/* 8035E284 0035B1E4 38 60 00 00 */ li r3, 0 +/* 8035E288 0035B1E8 98 61 00 68 */ stb r3, 0x68(r1) +/* 8035E28C 0035B1EC 28 00 00 00 */ cmplwi r0, 0 +/* 8035E290 0035B1F0 41 82 00 70 */ beq lbl_8035E300 +/* 8035E294 0035B1F4 38 61 00 54 */ addi r3, r1, 0x54 +/* 8035E298 0035B1F8 38 81 00 94 */ addi r4, r1, 0x94 +/* 8035E29C 0035B1FC 4B FE 2C 0D */ bl __ct__6CTokenFRC6CToken +/* 8035E2A0 0035B200 38 00 00 00 */ li r0, 0 +/* 8035E2A4 0035B204 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8035E2A8 0035B208 88 1B 00 5C */ lbz r0, 0x5c(r27) +/* 8035E2AC 0035B20C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E2B0 0035B210 40 82 00 2C */ bne lbl_8035E2DC +/* 8035E2B4 0035B214 37 5B 00 50 */ addic. r26, r27, 0x50 +/* 8035E2B8 0035B218 41 82 00 18 */ beq lbl_8035E2D0 +/* 8035E2BC 0035B21C 7F 43 D3 78 */ mr r3, r26 +/* 8035E2C0 0035B220 38 81 00 54 */ addi r4, r1, 0x54 +/* 8035E2C4 0035B224 4B FE 2B E5 */ bl __ct__6CTokenFRC6CToken +/* 8035E2C8 0035B228 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8035E2CC 0035B22C 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E2D0: +/* 8035E2D0 0035B230 38 00 00 01 */ li r0, 1 +/* 8035E2D4 0035B234 98 1B 00 5C */ stb r0, 0x5c(r27) +/* 8035E2D8 0035B238 48 00 00 1C */ b lbl_8035E2F4 +lbl_8035E2DC: +/* 8035E2DC 0035B23C 3B 5B 00 50 */ addi r26, r27, 0x50 +/* 8035E2E0 0035B240 38 81 00 54 */ addi r4, r1, 0x54 +/* 8035E2E4 0035B244 7F 43 D3 78 */ mr r3, r26 +/* 8035E2E8 0035B248 4B FE 29 DD */ bl __as__6CTokenFRC6CToken +/* 8035E2EC 0035B24C 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8035E2F0 0035B250 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E2F4: +/* 8035E2F4 0035B254 38 61 00 54 */ addi r3, r1, 0x54 +/* 8035E2F8 0035B258 38 80 00 00 */ li r4, 0 +/* 8035E2FC 0035B25C 4B FE 2B 45 */ bl __dt__6CTokenFv +lbl_8035E300: +/* 8035E300 0035B260 88 01 00 9C */ lbz r0, 0x9c(r1) +/* 8035E304 0035B264 28 00 00 00 */ cmplwi r0, 0 +/* 8035E308 0035B268 41 82 00 14 */ beq lbl_8035E31C +/* 8035E30C 0035B26C 34 61 00 94 */ addic. r3, r1, 0x94 +/* 8035E310 0035B270 41 82 00 0C */ beq lbl_8035E31C +/* 8035E314 0035B274 38 80 00 00 */ li r4, 0 +/* 8035E318 0035B278 4B FE 2B 29 */ bl __dt__6CTokenFv +lbl_8035E31C: +/* 8035E31C 0035B27C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8035E320 0035B280 38 80 00 00 */ li r4, 0 +/* 8035E324 0035B284 80 61 00 AC */ lwz r3, 0xac(r1) +/* 8035E328 0035B288 54 00 10 3A */ slwi r0, r0, 2 +/* 8035E32C 0035B28C 98 81 00 9C */ stb r4, 0x9c(r1) +/* 8035E330 0035B290 7C 03 02 14 */ add r0, r3, r0 +/* 8035E334 0035B294 7C 64 1B 78 */ mr r4, r3 +/* 8035E338 0035B298 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E33C 0035B29C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035E340 0035B2A0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8035E344 0035B2A4 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035E348 0035B2A8 48 00 00 08 */ b lbl_8035E350 +lbl_8035E34C: +/* 8035E34C 0035B2AC 38 84 00 04 */ addi r4, r4, 4 +lbl_8035E350: +/* 8035E350 0035B2B0 7C 04 00 40 */ cmplw r4, r0 +/* 8035E354 0035B2B4 40 82 FF F8 */ bne lbl_8035E34C +/* 8035E358 0035B2B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035E35C 0035B2BC 41 82 01 E0 */ beq lbl_8035E53C +/* 8035E360 0035B2C0 4B FB 75 D1 */ bl Free__7CMemoryFPCv +/* 8035E364 0035B2C4 48 00 01 D8 */ b lbl_8035E53C +lbl_8035E368: +/* 8035E368 0035B2C8 38 00 00 00 */ li r0, 0 +/* 8035E36C 0035B2CC 7F 84 E3 78 */ mr r4, r28 +/* 8035E370 0035B2D0 90 01 00 88 */ stw r0, 0x88(r1) +/* 8035E374 0035B2D4 7F A5 EB 78 */ mr r5, r29 +/* 8035E378 0035B2D8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035E37C 0035B2DC 38 C1 00 84 */ addi r6, r1, 0x84 +/* 8035E380 0035B2E0 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8035E384 0035B2E4 90 01 00 90 */ stw r0, 0x90(r1) +/* 8035E388 0035B2E8 4B FC 6A 09 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 8035E38C 0035B2EC 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8035E390 0035B2F0 28 00 00 00 */ cmplwi r0, 0 +/* 8035E394 0035B2F4 98 01 00 80 */ stb r0, 0x80(r1) +/* 8035E398 0035B2F8 41 82 00 14 */ beq lbl_8035E3AC +/* 8035E39C 0035B2FC 34 61 00 78 */ addic. r3, r1, 0x78 +/* 8035E3A0 0035B300 38 81 00 48 */ addi r4, r1, 0x48 +/* 8035E3A4 0035B304 41 82 00 08 */ beq lbl_8035E3AC +/* 8035E3A8 0035B308 4B FE 2B 01 */ bl __ct__6CTokenFRC6CToken +lbl_8035E3AC: +/* 8035E3AC 0035B30C 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8035E3B0 0035B310 28 00 00 00 */ cmplwi r0, 0 +/* 8035E3B4 0035B314 41 82 00 14 */ beq lbl_8035E3C8 +/* 8035E3B8 0035B318 34 61 00 48 */ addic. r3, r1, 0x48 +/* 8035E3BC 0035B31C 41 82 00 0C */ beq lbl_8035E3C8 +/* 8035E3C0 0035B320 38 80 00 00 */ li r4, 0 +/* 8035E3C4 0035B324 4B FE 2A 7D */ bl __dt__6CTokenFv +lbl_8035E3C8: +/* 8035E3C8 0035B328 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8035E3CC 0035B32C 38 60 00 00 */ li r3, 0 +/* 8035E3D0 0035B330 98 61 00 50 */ stb r3, 0x50(r1) +/* 8035E3D4 0035B334 28 00 00 00 */ cmplwi r0, 0 +/* 8035E3D8 0035B338 41 82 00 70 */ beq lbl_8035E448 +/* 8035E3DC 0035B33C 38 61 00 3C */ addi r3, r1, 0x3c +/* 8035E3E0 0035B340 38 81 00 78 */ addi r4, r1, 0x78 +/* 8035E3E4 0035B344 4B FE 2A C5 */ bl __ct__6CTokenFRC6CToken +/* 8035E3E8 0035B348 38 00 00 00 */ li r0, 0 +/* 8035E3EC 0035B34C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035E3F0 0035B350 88 1B 00 6C */ lbz r0, 0x6c(r27) +/* 8035E3F4 0035B354 28 00 00 00 */ cmplwi r0, 0 +/* 8035E3F8 0035B358 40 82 00 2C */ bne lbl_8035E424 +/* 8035E3FC 0035B35C 37 5B 00 60 */ addic. r26, r27, 0x60 +/* 8035E400 0035B360 41 82 00 18 */ beq lbl_8035E418 +/* 8035E404 0035B364 7F 43 D3 78 */ mr r3, r26 +/* 8035E408 0035B368 38 81 00 3C */ addi r4, r1, 0x3c +/* 8035E40C 0035B36C 4B FE 2A 9D */ bl __ct__6CTokenFRC6CToken +/* 8035E410 0035B370 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035E414 0035B374 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E418: +/* 8035E418 0035B378 38 00 00 01 */ li r0, 1 +/* 8035E41C 0035B37C 98 1B 00 6C */ stb r0, 0x6c(r27) +/* 8035E420 0035B380 48 00 00 1C */ b lbl_8035E43C +lbl_8035E424: +/* 8035E424 0035B384 3B 5B 00 60 */ addi r26, r27, 0x60 +/* 8035E428 0035B388 38 81 00 3C */ addi r4, r1, 0x3c +/* 8035E42C 0035B38C 7F 43 D3 78 */ mr r3, r26 +/* 8035E430 0035B390 4B FE 28 95 */ bl __as__6CTokenFRC6CToken +/* 8035E434 0035B394 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035E438 0035B398 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E43C: +/* 8035E43C 0035B39C 38 61 00 3C */ addi r3, r1, 0x3c +/* 8035E440 0035B3A0 38 80 00 00 */ li r4, 0 +/* 8035E444 0035B3A4 4B FE 29 FD */ bl __dt__6CTokenFv +lbl_8035E448: +/* 8035E448 0035B3A8 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8035E44C 0035B3AC 28 00 00 00 */ cmplwi r0, 0 +/* 8035E450 0035B3B0 41 82 00 14 */ beq lbl_8035E464 +/* 8035E454 0035B3B4 34 61 00 78 */ addic. r3, r1, 0x78 +/* 8035E458 0035B3B8 41 82 00 0C */ beq lbl_8035E464 +/* 8035E45C 0035B3BC 38 80 00 00 */ li r4, 0 +/* 8035E460 0035B3C0 4B FE 29 E1 */ bl __dt__6CTokenFv +lbl_8035E464: +/* 8035E464 0035B3C4 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8035E468 0035B3C8 38 80 00 00 */ li r4, 0 +/* 8035E46C 0035B3CC 80 61 00 90 */ lwz r3, 0x90(r1) +/* 8035E470 0035B3D0 54 00 10 3A */ slwi r0, r0, 2 +/* 8035E474 0035B3D4 98 81 00 80 */ stb r4, 0x80(r1) +/* 8035E478 0035B3D8 7C 03 02 14 */ add r0, r3, r0 +/* 8035E47C 0035B3DC 7C 64 1B 78 */ mr r4, r3 +/* 8035E480 0035B3E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E484 0035B3E4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035E488 0035B3E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8035E48C 0035B3EC 90 61 00 08 */ stw r3, 8(r1) +/* 8035E490 0035B3F0 48 00 00 08 */ b lbl_8035E498 +lbl_8035E494: +/* 8035E494 0035B3F4 38 84 00 04 */ addi r4, r4, 4 +lbl_8035E498: +/* 8035E498 0035B3F8 7C 04 00 40 */ cmplw r4, r0 +/* 8035E49C 0035B3FC 40 82 FF F8 */ bne lbl_8035E494 +/* 8035E4A0 0035B400 28 03 00 00 */ cmplwi r3, 0 +/* 8035E4A4 0035B404 41 82 00 98 */ beq lbl_8035E53C +/* 8035E4A8 0035B408 4B FB 74 89 */ bl Free__7CMemoryFPCv +/* 8035E4AC 0035B40C 48 00 00 90 */ b lbl_8035E53C +lbl_8035E4B0: +/* 8035E4B0 0035B410 7F 83 E3 78 */ mr r3, r28 +/* 8035E4B4 0035B414 4B FC 87 DD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4B8 0035B418 90 7B 00 28 */ stw r3, 0x28(r27) +/* 8035E4BC 0035B41C 48 00 00 80 */ b lbl_8035E53C +lbl_8035E4C0: +/* 8035E4C0 0035B420 7F 83 E3 78 */ mr r3, r28 +/* 8035E4C4 0035B424 4B FC 87 CD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4C8 0035B428 90 7B 00 2C */ stw r3, 0x2c(r27) +/* 8035E4CC 0035B42C 48 00 00 70 */ b lbl_8035E53C +lbl_8035E4D0: +/* 8035E4D0 0035B430 7F 83 E3 78 */ mr r3, r28 +/* 8035E4D4 0035B434 4B FC 87 BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4D8 0035B438 90 7B 00 30 */ stw r3, 0x30(r27) +/* 8035E4DC 0035B43C 48 00 00 60 */ b lbl_8035E53C +lbl_8035E4E0: +/* 8035E4E0 0035B440 7F 83 E3 78 */ mr r3, r28 +/* 8035E4E4 0035B444 4B FC 6D 79 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4E8 0035B448 90 7B 00 34 */ stw r3, 0x34(r27) +/* 8035E4EC 0035B44C 48 00 00 50 */ b lbl_8035E53C +lbl_8035E4F0: +/* 8035E4F0 0035B450 7F 83 E3 78 */ mr r3, r28 +/* 8035E4F4 0035B454 4B FC 6D 69 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4F8 0035B458 90 7B 00 38 */ stw r3, 0x38(r27) +/* 8035E4FC 0035B45C 48 00 00 40 */ b lbl_8035E53C +lbl_8035E500: +/* 8035E500 0035B460 7F 83 E3 78 */ mr r3, r28 +/* 8035E504 0035B464 4B FC 6D 59 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E508 0035B468 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 8035E50C 0035B46C 48 00 00 30 */ b lbl_8035E53C +lbl_8035E510: +/* 8035E510 0035B470 7F 83 E3 78 */ mr r3, r28 +/* 8035E514 0035B474 4B FC 9F 15 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8035E518 0035B478 98 7B 00 70 */ stb r3, 0x70(r27) +/* 8035E51C 0035B47C 48 00 00 20 */ b lbl_8035E53C +lbl_8035E520: +/* 8035E520 0035B480 3B C0 00 01 */ li r30, 1 +/* 8035E524 0035B484 48 00 00 18 */ b lbl_8035E53C +lbl_8035E528: +/* 8035E528 0035B488 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8035E52C 0035B48C 38 80 FF FF */ li r4, -1 +/* 8035E530 0035B490 4B FB 40 D5 */ bl __dt__13CGlobalRandomFv +/* 8035E534 0035B494 38 60 00 00 */ li r3, 0 +/* 8035E538 0035B498 48 00 00 1C */ b lbl_8035E554 +lbl_8035E53C: +/* 8035E53C 0035B49C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8035E540 0035B4A0 38 80 FF FF */ li r4, -1 +/* 8035E544 0035B4A4 4B FB 40 C1 */ bl __dt__13CGlobalRandomFv +lbl_8035E548: +/* 8035E548 0035B4A8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8035E54C 0035B4AC 41 82 F9 D8 */ beq lbl_8035DF24 +/* 8035E550 0035B4B0 38 60 00 01 */ li r3, 1 +lbl_8035E554: +/* 8035E554 0035B4B4 BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 8035E558 0035B4B8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8035E55C 0035B4BC 7C 08 03 A6 */ mtlr r0 +/* 8035E560 0035B4C0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8035E564 0035B4C4 4E 80 00 20 */ blr + +.global LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription +LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription: +/* 8035E568 0035B4C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E56C 0035B4CC 7C 08 02 A6 */ mflr r0 +/* 8035E570 0035B4D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E574 0035B4D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035E578 0035B4D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035E57C 0035B4DC 7C 7E 1B 78 */ mr r30, r3 +/* 8035E580 0035B4E0 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 8035E584 0035B4E4 28 00 00 00 */ cmplwi r0, 0 +/* 8035E588 0035B4E8 41 82 00 24 */ beq lbl_8035E5AC +/* 8035E58C 0035B4EC 3B FE 00 40 */ addi r31, r30, 0x40 +/* 8035E590 0035B4F0 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 8035E594 0035B4F4 28 00 00 00 */ cmplwi r0, 0 +/* 8035E598 0035B4F8 40 82 00 14 */ bne lbl_8035E5AC +/* 8035E59C 0035B4FC 7F E3 FB 78 */ mr r3, r31 +/* 8035E5A0 0035B500 4B FE 28 6D */ bl GetObj__6CTokenFv +/* 8035E5A4 0035B504 80 03 00 04 */ lwz r0, 4(r3) +/* 8035E5A8 0035B508 90 1F 00 08 */ stw r0, 8(r31) +lbl_8035E5AC: +/* 8035E5AC 0035B50C 88 1E 00 5C */ lbz r0, 0x5c(r30) +/* 8035E5B0 0035B510 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5B4 0035B514 41 82 00 24 */ beq lbl_8035E5D8 +/* 8035E5B8 0035B518 3B FE 00 50 */ addi r31, r30, 0x50 +/* 8035E5BC 0035B51C 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 8035E5C0 0035B520 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5C4 0035B524 40 82 00 14 */ bne lbl_8035E5D8 +/* 8035E5C8 0035B528 7F E3 FB 78 */ mr r3, r31 +/* 8035E5CC 0035B52C 4B FE 28 41 */ bl GetObj__6CTokenFv +/* 8035E5D0 0035B530 80 03 00 04 */ lwz r0, 4(r3) +/* 8035E5D4 0035B534 90 1F 00 08 */ stw r0, 8(r31) +lbl_8035E5D8: +/* 8035E5D8 0035B538 88 1E 00 6C */ lbz r0, 0x6c(r30) +/* 8035E5DC 0035B53C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5E0 0035B540 41 82 00 24 */ beq lbl_8035E604 +/* 8035E5E4 0035B544 3B FE 00 60 */ addi r31, r30, 0x60 +/* 8035E5E8 0035B548 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 8035E5EC 0035B54C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5F0 0035B550 40 82 00 14 */ bne lbl_8035E604 +/* 8035E5F4 0035B554 7F E3 FB 78 */ mr r3, r31 +/* 8035E5F8 0035B558 4B FE 28 15 */ bl GetObj__6CTokenFv +/* 8035E5FC 0035B55C 80 03 00 04 */ lwz r0, 4(r3) +/* 8035E600 0035B560 90 1F 00 08 */ stw r0, 8(r31) +lbl_8035E604: +/* 8035E604 0035B564 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035E608 0035B568 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035E60C 0035B56C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035E610 0035B570 7C 08 03 A6 */ mtlr r0 +/* 8035E614 0035B574 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035E618 0035B578 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool: +/* 8035E61C 0035B57C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035E620 0035B580 7C 08 02 A6 */ mflr r0 +/* 8035E624 0035B584 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E628 0035B588 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035E62C 0035B58C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035E630 0035B590 7C 9E 23 78 */ mr r30, r4 +/* 8035E634 0035B594 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035E638 0035B598 7C 7D 1B 78 */ mr r29, r3 +/* 8035E63C 0035B59C 4B FC 9E 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8035E640 0035B5A0 3C 03 BA B4 */ addis r0, r3, 0xbab4 +/* 8035E644 0035B5A4 28 00 53 4D */ cmplwi r0, 0x534d +/* 8035E648 0035B5A8 41 82 00 0C */ beq lbl_8035E654 +/* 8035E64C 0035B5AC 38 60 00 00 */ li r3, 0 +/* 8035E650 0035B5B0 48 00 00 44 */ b lbl_8035E694 +lbl_8035E654: +/* 8035E654 0035B5B4 3C 80 80 3E */ lis r4, lbl_803D83E0@ha +/* 8035E658 0035B5B8 38 60 00 74 */ li r3, 0x74 +/* 8035E65C 0035B5BC 38 84 83 E0 */ addi r4, r4, lbl_803D83E0@l +/* 8035E660 0035B5C0 38 A0 00 00 */ li r5, 0 +/* 8035E664 0035B5C4 4B FB 72 09 */ bl __nw__FUlPCcPCc +/* 8035E668 0035B5C8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8035E66C 0035B5CC 41 82 00 0C */ beq lbl_8035E678 +/* 8035E670 0035B5D0 48 00 84 31 */ bl __ct__20CElectricDescriptionFv +/* 8035E674 0035B5D4 7C 7F 1B 78 */ mr r31, r3 +lbl_8035E678: +/* 8035E678 0035B5D8 7F E3 FB 78 */ mr r3, r31 +/* 8035E67C 0035B5DC 7F A4 EB 78 */ mr r4, r29 +/* 8035E680 0035B5E0 7F C5 F3 78 */ mr r5, r30 +/* 8035E684 0035B5E4 4B FF F8 69 */ bl CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool +/* 8035E688 0035B5E8 7F E3 FB 78 */ mr r3, r31 +/* 8035E68C 0035B5EC 4B FF FE DD */ bl LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription +/* 8035E690 0035B5F0 7F E3 FB 78 */ mr r3, r31 +lbl_8035E694: +/* 8035E694 0035B5F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035E698 0035B5F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035E69C 0035B5FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035E6A0 0035B600 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035E6A4 0035B604 7C 08 03 A6 */ mtlr r0 +/* 8035E6A8 0035B608 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035E6AC 0035B60C 4E 80 00 20 */ blr + +.global GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool: +/* 8035E6B0 0035B610 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035E6B4 0035B614 7C 08 02 A6 */ mflr r0 +/* 8035E6B8 0035B618 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035E6BC 0035B61C 38 00 00 00 */ li r0, 0 +/* 8035E6C0 0035B620 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035E6C4 0035B624 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8035E6C8 0035B628 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035E6CC 0035B62C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E6D0 0035B630 4B FF FF 4D */ bl CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +/* 8035E6D4 0035B634 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8035E6D8 0035B638 7C 7F 1B 78 */ mr r31, r3 +/* 8035E6DC 0035B63C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8035E6E0 0035B640 54 00 10 3A */ slwi r0, r0, 2 +/* 8035E6E4 0035B644 7C 04 02 14 */ add r0, r4, r0 +/* 8035E6E8 0035B648 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035E6EC 0035B64C 7C 83 23 78 */ mr r3, r4 +/* 8035E6F0 0035B650 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E6F4 0035B654 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035E6F8 0035B658 90 81 00 08 */ stw r4, 8(r1) +/* 8035E6FC 0035B65C 48 00 00 08 */ b lbl_8035E704 +lbl_8035E700: +/* 8035E700 0035B660 38 63 00 04 */ addi r3, r3, 4 +lbl_8035E704: +/* 8035E704 0035B664 7C 03 00 40 */ cmplw r3, r0 +/* 8035E708 0035B668 40 82 FF F8 */ bne lbl_8035E700 +/* 8035E70C 0035B66C 28 04 00 00 */ cmplwi r4, 0 +/* 8035E710 0035B670 41 82 00 0C */ beq lbl_8035E71C +/* 8035E714 0035B674 7C 83 23 78 */ mr r3, r4 +/* 8035E718 0035B678 4B FB 72 19 */ bl Free__7CMemoryFPCv +lbl_8035E71C: +/* 8035E71C 0035B67C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035E720 0035B680 7F E3 FB 78 */ mr r3, r31 +/* 8035E724 0035B684 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035E728 0035B688 7C 08 03 A6 */ mtlr r0 +/* 8035E72C 0035B68C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035E730 0035B690 4E 80 00 20 */ blr + +.global FParticleElectricDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FParticleElectricDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8035E734 0035B694 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035E738 0035B698 7C 08 02 A6 */ mflr r0 +/* 8035E73C 0035B69C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035E740 0035B6A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035E744 0035B6A4 7C 7F 1B 78 */ mr r31, r3 +/* 8035E748 0035B6A8 7C A3 2B 78 */ mr r3, r5 +/* 8035E74C 0035B6AC 80 C6 00 00 */ lwz r6, 0(r6) +/* 8035E750 0035B6B0 90 C1 00 08 */ stw r6, 8(r1) +/* 8035E754 0035B6B4 80 86 00 04 */ lwz r4, 4(r6) +/* 8035E758 0035B6B8 38 04 00 01 */ addi r0, r4, 1 +/* 8035E75C 0035B6BC 90 06 00 04 */ stw r0, 4(r6) +/* 8035E760 0035B6C0 80 81 00 08 */ lwz r4, 8(r1) +/* 8035E764 0035B6C4 80 84 00 00 */ lwz r4, 0(r4) +/* 8035E768 0035B6C8 80 84 00 04 */ lwz r4, 4(r4) +/* 8035E76C 0035B6CC 4B FF FF 45 */ bl GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +/* 8035E770 0035B6D0 7C 03 00 D0 */ neg r0, r3 +/* 8035E774 0035B6D4 90 61 00 10 */ stw r3, 0x10(r1) +/* 8035E778 0035B6D8 7C 00 1B 78 */ or r0, r0, r3 +/* 8035E77C 0035B6DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035E780 0035B6E0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035E784 0035B6E4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035E788 0035B6E8 98 01 00 0C */ stb r0, 0xc(r1) +/* 8035E78C 0035B6EC 48 00 00 85 */ bl "GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +/* 8035E790 0035B6F0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035E794 0035B6F4 38 00 00 00 */ li r0, 0 +/* 8035E798 0035B6F8 98 01 00 14 */ stb r0, 0x14(r1) +/* 8035E79C 0035B6FC 7C 03 00 D0 */ neg r0, r3 +/* 8035E7A0 0035B700 7C 00 1B 78 */ or r0, r0, r3 +/* 8035E7A4 0035B704 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035E7A8 0035B708 98 1F 00 00 */ stb r0, 0(r31) +/* 8035E7AC 0035B70C 90 7F 00 04 */ stw r3, 4(r31) +/* 8035E7B0 0035B710 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8035E7B4 0035B714 28 00 00 00 */ cmplwi r0, 0 +/* 8035E7B8 0035B718 41 82 00 24 */ beq lbl_8035E7DC +/* 8035E7BC 0035B71C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035E7C0 0035B720 28 03 00 00 */ cmplwi r3, 0 +/* 8035E7C4 0035B724 41 82 00 18 */ beq lbl_8035E7DC +/* 8035E7C8 0035B728 81 83 00 00 */ lwz r12, 0(r3) +/* 8035E7CC 0035B72C 38 80 00 01 */ li r4, 1 +/* 8035E7D0 0035B730 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035E7D4 0035B734 7D 89 03 A6 */ mtctr r12 +/* 8035E7D8 0035B738 4E 80 04 21 */ bctrl +lbl_8035E7DC: +/* 8035E7DC 0035B73C 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8035E7E0 0035B740 28 00 00 00 */ cmplwi r0, 0 +/* 8035E7E4 0035B744 41 82 00 10 */ beq lbl_8035E7F4 +/* 8035E7E8 0035B748 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8035E7EC 0035B74C 38 80 00 01 */ li r4, 1 +/* 8035E7F0 0035B750 48 00 7F C9 */ bl __dt__20CElectricDescriptionFv +lbl_8035E7F4: +/* 8035E7F4 0035B754 38 61 00 08 */ addi r3, r1, 8 +/* 8035E7F8 0035B758 4B CD 5B 0D */ bl sub_80034304 +/* 8035E7FC 0035B75C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035E800 0035B760 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035E804 0035B764 7C 08 03 A6 */ mtlr r0 +/* 8035E808 0035B768 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035E80C 0035B76C 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +"GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>": +/* 8035E810 0035B770 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E814 0035B774 7C 08 02 A6 */ mflr r0 +/* 8035E818 0035B778 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E81C 0035B77C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035E820 0035B780 7C 7F 1B 78 */ mr r31, r3 +/* 8035E824 0035B784 48 00 00 19 */ bl "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +/* 8035E828 0035B788 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035E82C 0035B78C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035E830 0035B790 7C 08 03 A6 */ mtlr r0 +/* 8035E834 0035B794 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035E838 0035B798 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +"GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>": +/* 8035E83C 0035B79C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E840 0035B7A0 7C 08 02 A6 */ mflr r0 +/* 8035E844 0035B7A4 3C A0 80 3E */ lis r5, lbl_803D83E0@ha +/* 8035E848 0035B7A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E84C 0035B7AC 38 05 83 E0 */ addi r0, r5, lbl_803D83E0@l +/* 8035E850 0035B7B0 38 A0 00 00 */ li r5, 0 +/* 8035E854 0035B7B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035E858 0035B7B8 7C 9F 23 78 */ mr r31, r4 +/* 8035E85C 0035B7BC 7C 04 03 78 */ mr r4, r0 +/* 8035E860 0035B7C0 93 C1 00 08 */ stw r30, 8(r1) +/* 8035E864 0035B7C4 7C 7E 1B 78 */ mr r30, r3 +/* 8035E868 0035B7C8 38 60 00 08 */ li r3, 8 +/* 8035E86C 0035B7CC 4B FB 70 01 */ bl __nw__FUlPCcPCc +/* 8035E870 0035B7D0 28 03 00 00 */ cmplwi r3, 0 +/* 8035E874 0035B7D4 41 82 00 38 */ beq lbl_8035E8AC +/* 8035E878 0035B7D8 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8035E87C 0035B7DC 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8035E880 0035B7E0 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8035E884 0035B7E4 3C 80 80 3E */ lis r4, lbl_803DACA4@ha +/* 8035E888 0035B7E8 90 03 00 00 */ stw r0, 0(r3) +/* 8035E88C 0035B7EC 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8035E890 0035B7F0 38 A0 00 00 */ li r5, 0 +/* 8035E894 0035B7F4 38 04 AC A4 */ addi r0, r4, lbl_803DACA4@l +/* 8035E898 0035B7F8 90 C3 00 00 */ stw r6, 0(r3) +/* 8035E89C 0035B7FC 98 BF 00 00 */ stb r5, 0(r31) +/* 8035E8A0 0035B800 80 9F 00 04 */ lwz r4, 4(r31) +/* 8035E8A4 0035B804 90 83 00 04 */ stw r4, 4(r3) +/* 8035E8A8 0035B808 90 03 00 00 */ stw r0, 0(r3) +lbl_8035E8AC: +/* 8035E8AC 0035B80C 7C 03 00 D0 */ neg r0, r3 +/* 8035E8B0 0035B810 7C 00 1B 78 */ or r0, r0, r3 +/* 8035E8B4 0035B814 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035E8B8 0035B818 98 1E 00 00 */ stb r0, 0(r30) +/* 8035E8BC 0035B81C 90 7E 00 04 */ stw r3, 4(r30) +/* 8035E8C0 0035B820 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035E8C4 0035B824 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035E8C8 0035B828 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035E8CC 0035B82C 7C 08 03 A6 */ mtlr r0 +/* 8035E8D0 0035B830 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035E8D4 0035B834 4E 80 00 20 */ blr + +.global GetTranslation__17CParticleElectricCFv +GetTranslation__17CParticleElectricCFv: +/* 8035E8D8 0035B838 38 63 00 38 */ addi r3, r3, 0x38 +/* 8035E8DC 0035B83C 4E 80 00 20 */ blr + +.global GetOrientation__17CParticleElectricCFv +GetOrientation__17CParticleElectricCFv: +/* 8035E8E0 0035B840 38 63 00 44 */ addi r3, r3, 0x44 +/* 8035E8E4 0035B844 4E 80 00 20 */ blr + +.global GetGlobalTranslation__17CParticleElectricCFv +GetGlobalTranslation__17CParticleElectricCFv: +/* 8035E8E8 0035B848 38 63 00 A4 */ addi r3, r3, 0xa4 +/* 8035E8EC 0035B84C 4E 80 00 20 */ blr + +.global GetGlobalOrientation__17CParticleElectricCFv +GetGlobalOrientation__17CParticleElectricCFv: +/* 8035E8F0 0035B850 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8035E8F4 0035B854 4E 80 00 20 */ blr + +.global DestroyParticles__17CParticleElectricFv +DestroyParticles__17CParticleElectricFv: +/* 8035E8F8 0035B858 4E 80 00 20 */ blr + +.global Get4CharId__17CParticleElectricFv +Get4CharId__17CParticleElectricFv: +/* 8035E8FC 0035B85C 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8035E900 0035B860 38 63 53 43 */ addi r3, r3, 0x454C5343@l +/* 8035E904 0035B864 4E 80 00 20 */ blr + +.global SetParticleEmission__17CParticleElectricFb +SetParticleEmission__17CParticleElectricFb: +/* 8035E908 0035B868 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035E90C 0035B86C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8035E910 0035B870 98 03 04 50 */ stb r0, 0x450(r3) +/* 8035E914 0035B874 4E 80 00 20 */ blr + +.global GetLight__17CParticleElectricFv +GetLight__17CParticleElectricFv: +/* 8035E918 0035B878 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035E91C 0035B87C 7C 08 02 A6 */ mflr r0 +/* 8035E920 0035B880 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E924 0035B884 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035E928 0035B888 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035E92C 0035B88C 7C 9E 23 78 */ mr r30, r4 +/* 8035E930 0035B890 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035E934 0035B894 7C 7D 1B 78 */ mr r29, r3 +/* 8035E938 0035B898 88 84 04 50 */ lbz r4, 0x450(r4) +/* 8035E93C 0035B89C 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 8035E940 0035B8A0 41 82 00 20 */ beq lbl_8035E960 +/* 8035E944 0035B8A4 80 9E 04 0C */ lwz r4, 0x40c(r30) +/* 8035E948 0035B8A8 80 84 00 04 */ lwz r4, 4(r4) +/* 8035E94C 0035B8AC 81 84 00 00 */ lwz r12, 0(r4) +/* 8035E950 0035B8B0 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8035E954 0035B8B4 7D 89 03 A6 */ mtctr r12 +/* 8035E958 0035B8B8 4E 80 04 21 */ bctrl +/* 8035E95C 0035B8BC 48 00 00 54 */ b lbl_8035E9B0 +lbl_8035E960: +/* 8035E960 0035B8C0 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8035E964 0035B8C4 41 82 00 20 */ beq lbl_8035E984 +/* 8035E968 0035B8C8 80 9E 04 1C */ lwz r4, 0x41c(r30) +/* 8035E96C 0035B8CC 80 84 00 04 */ lwz r4, 4(r4) +/* 8035E970 0035B8D0 81 84 00 00 */ lwz r12, 0(r4) +/* 8035E974 0035B8D4 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8035E978 0035B8D8 7D 89 03 A6 */ mtctr r12 +/* 8035E97C 0035B8DC 4E 80 04 21 */ bctrl +/* 8035E980 0035B8E0 48 00 00 30 */ b lbl_8035E9B0 +lbl_8035E984: +/* 8035E984 0035B8E4 4B FE B6 01 */ bl Orange__6CColorFv +/* 8035E988 0035B8E8 7C 7F 1B 78 */ mr r31, r3 +/* 8035E98C 0035B8EC 7F C3 F3 78 */ mr r3, r30 +/* 8035E990 0035B8F0 81 9E 00 00 */ lwz r12, 0(r30) +/* 8035E994 0035B8F4 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8035E998 0035B8F8 7D 89 03 A6 */ mtctr r12 +/* 8035E99C 0035B8FC 4E 80 04 21 */ bctrl +/* 8035E9A0 0035B900 7C 64 1B 78 */ mr r4, r3 +/* 8035E9A4 0035B904 7F A3 EB 78 */ mr r3, r29 +/* 8035E9A8 0035B908 7F E5 FB 78 */ mr r5, r31 +/* 8035E9AC 0035B90C 4B FA 7A F9 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +lbl_8035E9B0: +/* 8035E9B0 0035B910 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035E9B4 0035B914 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035E9B8 0035B918 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035E9BC 0035B91C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035E9C0 0035B920 7C 08 03 A6 */ mtlr r0 +/* 8035E9C4 0035B924 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035E9C8 0035B928 4E 80 00 20 */ blr + +.global SystemHasLight__17CParticleElectricFv +SystemHasLight__17CParticleElectricFv: +/* 8035E9CC 0035B92C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E9D0 0035B930 7C 08 02 A6 */ mflr r0 +/* 8035E9D4 0035B934 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E9D8 0035B938 88 83 04 50 */ lbz r4, 0x450(r3) +/* 8035E9DC 0035B93C 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 8035E9E0 0035B940 41 82 00 20 */ beq lbl_8035EA00 +/* 8035E9E4 0035B944 80 63 04 0C */ lwz r3, 0x40c(r3) +/* 8035E9E8 0035B948 80 63 00 04 */ lwz r3, 4(r3) +/* 8035E9EC 0035B94C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035E9F0 0035B950 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8035E9F4 0035B954 7D 89 03 A6 */ mtctr r12 +/* 8035E9F8 0035B958 4E 80 04 21 */ bctrl +/* 8035E9FC 0035B95C 48 00 00 2C */ b lbl_8035EA28 +lbl_8035EA00: +/* 8035EA00 0035B960 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8035EA04 0035B964 41 82 00 20 */ beq lbl_8035EA24 +/* 8035EA08 0035B968 80 63 04 1C */ lwz r3, 0x41c(r3) +/* 8035EA0C 0035B96C 80 63 00 04 */ lwz r3, 4(r3) +/* 8035EA10 0035B970 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EA14 0035B974 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8035EA18 0035B978 7D 89 03 A6 */ mtctr r12 +/* 8035EA1C 0035B97C 4E 80 04 21 */ bctrl +/* 8035EA20 0035B980 48 00 00 08 */ b lbl_8035EA28 +lbl_8035EA24: +/* 8035EA24 0035B984 38 60 00 00 */ li r3, 0 +lbl_8035EA28: +/* 8035EA28 0035B988 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035EA2C 0035B98C 7C 08 03 A6 */ mtlr r0 +/* 8035EA30 0035B990 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035EA34 0035B994 4E 80 00 20 */ blr + +.global UpdateCachedTransform__17CParticleElectricFv +UpdateCachedTransform__17CParticleElectricFv: +/* 8035EA38 0035B998 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8035EA3C 0035B99C 7C 08 02 A6 */ mflr r0 +/* 8035EA40 0035B9A0 90 01 01 04 */ stw r0, 0x104(r1) +/* 8035EA44 0035B9A4 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8035EA48 0035B9A8 7C 7F 1B 78 */ mr r31, r3 +/* 8035EA4C 0035B9AC 38 61 00 08 */ addi r3, r1, 8 +/* 8035EA50 0035B9B0 38 9F 00 38 */ addi r4, r31, 0x38 +/* 8035EA54 0035B9B4 4B FB 46 ED */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035EA58 0035B9B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035EA5C 0035B9BC 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EA60 0035B9C0 4B FB 46 E1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035EA64 0035B9C4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8035EA68 0035B9C8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8035EA6C 0035B9CC 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 8035EA70 0035B9D0 4B FB 3E E1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035EA74 0035B9D4 38 61 00 98 */ addi r3, r1, 0x98 +/* 8035EA78 0035B9D8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8035EA7C 0035B9DC 38 A1 00 08 */ addi r5, r1, 8 +/* 8035EA80 0035B9E0 4B FB 3E D1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035EA84 0035B9E4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8035EA88 0035B9E8 38 81 00 98 */ addi r4, r1, 0x98 +/* 8035EA8C 0035B9EC 38 BF 00 44 */ addi r5, r31, 0x44 +/* 8035EA90 0035B9F0 4B FB 3E C1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035EA94 0035B9F4 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8035EA98 0035B9F8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8035EA9C 0035B9FC 4B FB 40 A5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EAA0 0035BA00 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EAA4 0035BA04 38 60 00 00 */ li r3, 0 +/* 8035EAA8 0035BA08 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EAAC 0035BA0C 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EAB0 0035BA10 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8035EAB4 0035BA14 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8035EAB8 0035BA18 7C 08 03 A6 */ mtlr r0 +/* 8035EABC 0035BA1C 38 21 01 00 */ addi r1, r1, 0x100 +/* 8035EAC0 0035BA20 4E 80 00 20 */ blr + +.global SetLocalScale__17CParticleElectricFRC9CVector3f +SetLocalScale__17CParticleElectricFRC9CVector3f: +/* 8035EAC4 0035BA24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035EAC8 0035BA28 7C 08 02 A6 */ mflr r0 +/* 8035EACC 0035BA2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035EAD0 0035BA30 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035EAD4 0035BA34 7C 7F 1B 78 */ mr r31, r3 +/* 8035EAD8 0035BA38 38 60 00 01 */ li r3, 1 +/* 8035EADC 0035BA3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035EAE0 0035BA40 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035EAE4 0035BA44 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035EAE8 0035BA48 D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 8035EAEC 0035BA4C C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EAF0 0035BA50 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8035EAF4 0035BA54 C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EAF8 0035BA58 D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 8035EAFC 0035BA5C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EB00 0035BA60 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EB04 0035BA64 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EB08 0035BA68 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EB0C 0035BA6C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EB10 0035BA70 41 82 00 44 */ beq lbl_8035EB54 +/* 8035EB14 0035BA74 83 DF 03 EC */ lwz r30, 0x3ec(r31) +/* 8035EB18 0035BA78 3B BF 01 E4 */ addi r29, r31, 0x1e4 +/* 8035EB1C 0035BA7C 48 00 00 2C */ b lbl_8035EB48 +lbl_8035EB20: +/* 8035EB20 0035BA80 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035EB24 0035BA84 38 9F 00 EC */ addi r4, r31, 0xec +/* 8035EB28 0035BA88 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EB2C 0035BA8C 38 03 00 04 */ addi r0, r3, 4 +/* 8035EB30 0035BA90 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 8035EB34 0035BA94 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EB38 0035BA98 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035EB3C 0035BA9C 7D 89 03 A6 */ mtctr r12 +/* 8035EB40 0035BAA0 4E 80 04 21 */ bctrl +/* 8035EB44 0035BAA4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8035EB48: +/* 8035EB48 0035BAA8 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035EB4C 0035BAAC 7C 1E 00 40 */ cmplw r30, r0 +/* 8035EB50 0035BAB0 40 82 FF D0 */ bne lbl_8035EB20 +lbl_8035EB54: +/* 8035EB54 0035BAB4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EB58 0035BAB8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035EB5C 0035BABC 41 82 00 44 */ beq lbl_8035EBA0 +/* 8035EB60 0035BAC0 3B C0 00 00 */ li r30, 0 +/* 8035EB64 0035BAC4 3B A0 00 00 */ li r29, 0 +/* 8035EB68 0035BAC8 48 00 00 2C */ b lbl_8035EB94 +lbl_8035EB6C: +/* 8035EB6C 0035BACC 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035EB70 0035BAD0 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EB74 0035BAD4 38 9F 00 EC */ addi r4, r31, 0xec +/* 8035EB78 0035BAD8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EB7C 0035BADC 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EB80 0035BAE0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035EB84 0035BAE4 7D 89 03 A6 */ mtctr r12 +/* 8035EB88 0035BAE8 4E 80 04 21 */ bctrl +/* 8035EB8C 0035BAEC 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EB90 0035BAF0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EB94: +/* 8035EB94 0035BAF4 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EB98 0035BAF8 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EB9C 0035BAFC 41 80 FF D0 */ blt lbl_8035EB6C +lbl_8035EBA0: +/* 8035EBA0 0035BB00 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EBA4 0035BB04 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035EBA8 0035BB08 41 82 00 44 */ beq lbl_8035EBEC +/* 8035EBAC 0035BB0C 3B C0 00 00 */ li r30, 0 +/* 8035EBB0 0035BB10 3B A0 00 00 */ li r29, 0 +/* 8035EBB4 0035BB14 48 00 00 2C */ b lbl_8035EBE0 +lbl_8035EBB8: +/* 8035EBB8 0035BB18 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035EBBC 0035BB1C 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EBC0 0035BB20 38 9F 00 EC */ addi r4, r31, 0xec +/* 8035EBC4 0035BB24 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EBC8 0035BB28 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EBCC 0035BB2C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035EBD0 0035BB30 7D 89 03 A6 */ mtctr r12 +/* 8035EBD4 0035BB34 4E 80 04 21 */ bctrl +/* 8035EBD8 0035BB38 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EBDC 0035BB3C 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EBE0: +/* 8035EBE0 0035BB40 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EBE4 0035BB44 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EBE8 0035BB48 41 80 FF D0 */ blt lbl_8035EBB8 +lbl_8035EBEC: +/* 8035EBEC 0035BB4C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035EBF0 0035BB50 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035EBF4 0035BB54 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035EBF8 0035BB58 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035EBFC 0035BB5C 7C 08 03 A6 */ mtlr r0 +/* 8035EC00 0035BB60 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035EC04 0035BB64 4E 80 00 20 */ blr + +.global SetGlobalScale__17CParticleElectricFRC9CVector3f +SetGlobalScale__17CParticleElectricFRC9CVector3f: +/* 8035EC08 0035BB68 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035EC0C 0035BB6C 38 A0 00 01 */ li r5, 1 +/* 8035EC10 0035BB70 D0 03 00 E0 */ stfs f0, 0xe0(r3) +/* 8035EC14 0035BB74 C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EC18 0035BB78 D0 03 00 E4 */ stfs f0, 0xe4(r3) +/* 8035EC1C 0035BB7C C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EC20 0035BB80 D0 03 00 E8 */ stfs f0, 0xe8(r3) +/* 8035EC24 0035BB84 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035EC28 0035BB88 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8035EC2C 0035BB8C 98 03 04 50 */ stb r0, 0x450(r3) +/* 8035EC30 0035BB90 4E 80 00 20 */ blr + +.global SetGlobalOrientation__17CParticleElectricFRC12CTransform4f +SetGlobalOrientation__17CParticleElectricFRC12CTransform4f: +/* 8035EC34 0035BB94 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8035EC38 0035BB98 7C 08 02 A6 */ mflr r0 +/* 8035EC3C 0035BB9C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8035EC40 0035BBA0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8035EC44 0035BBA4 7C 7F 1B 78 */ mr r31, r3 +/* 8035EC48 0035BBA8 38 61 00 08 */ addi r3, r1, 8 +/* 8035EC4C 0035BBAC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8035EC50 0035BBB0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8035EC54 0035BBB4 4B FB 3F ED */ bl GetRotation__12CTransform4fCFv +/* 8035EC58 0035BBB8 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8035EC5C 0035BBBC 38 81 00 08 */ addi r4, r1, 8 +/* 8035EC60 0035BBC0 4B FB 3E E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EC64 0035BBC4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EC68 0035BBC8 38 60 00 01 */ li r3, 1 +/* 8035EC6C 0035BBCC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EC70 0035BBD0 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EC74 0035BBD4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EC78 0035BBD8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EC7C 0035BBDC 41 82 00 44 */ beq lbl_8035ECC0 +/* 8035EC80 0035BBE0 83 DF 03 EC */ lwz r30, 0x3ec(r31) +/* 8035EC84 0035BBE4 3B BF 01 E4 */ addi r29, r31, 0x1e4 +/* 8035EC88 0035BBE8 48 00 00 2C */ b lbl_8035ECB4 +lbl_8035EC8C: +/* 8035EC8C 0035BBEC 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035EC90 0035BBF0 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8035EC94 0035BBF4 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EC98 0035BBF8 38 03 00 04 */ addi r0, r3, 4 +/* 8035EC9C 0035BBFC 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 8035ECA0 0035BC00 81 83 00 00 */ lwz r12, 0(r3) +/* 8035ECA4 0035BC04 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035ECA8 0035BC08 7D 89 03 A6 */ mtctr r12 +/* 8035ECAC 0035BC0C 4E 80 04 21 */ bctrl +/* 8035ECB0 0035BC10 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8035ECB4: +/* 8035ECB4 0035BC14 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035ECB8 0035BC18 7C 1E 00 40 */ cmplw r30, r0 +/* 8035ECBC 0035BC1C 40 82 FF D0 */ bne lbl_8035EC8C +lbl_8035ECC0: +/* 8035ECC0 0035BC20 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035ECC4 0035BC24 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035ECC8 0035BC28 41 82 00 44 */ beq lbl_8035ED0C +/* 8035ECCC 0035BC2C 3B C0 00 00 */ li r30, 0 +/* 8035ECD0 0035BC30 3B A0 00 00 */ li r29, 0 +/* 8035ECD4 0035BC34 48 00 00 2C */ b lbl_8035ED00 +lbl_8035ECD8: +/* 8035ECD8 0035BC38 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035ECDC 0035BC3C 38 1D 00 04 */ addi r0, r29, 4 +/* 8035ECE0 0035BC40 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8035ECE4 0035BC44 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035ECE8 0035BC48 81 83 00 00 */ lwz r12, 0(r3) +/* 8035ECEC 0035BC4C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035ECF0 0035BC50 7D 89 03 A6 */ mtctr r12 +/* 8035ECF4 0035BC54 4E 80 04 21 */ bctrl +/* 8035ECF8 0035BC58 3B BD 00 08 */ addi r29, r29, 8 +/* 8035ECFC 0035BC5C 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035ED00: +/* 8035ED00 0035BC60 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035ED04 0035BC64 7C 1E 00 00 */ cmpw r30, r0 +/* 8035ED08 0035BC68 41 80 FF D0 */ blt lbl_8035ECD8 +lbl_8035ED0C: +/* 8035ED0C 0035BC6C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035ED10 0035BC70 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035ED14 0035BC74 41 82 00 44 */ beq lbl_8035ED58 +/* 8035ED18 0035BC78 3B C0 00 00 */ li r30, 0 +/* 8035ED1C 0035BC7C 3B A0 00 00 */ li r29, 0 +/* 8035ED20 0035BC80 48 00 00 2C */ b lbl_8035ED4C +lbl_8035ED24: +/* 8035ED24 0035BC84 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035ED28 0035BC88 38 1D 00 04 */ addi r0, r29, 4 +/* 8035ED2C 0035BC8C 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8035ED30 0035BC90 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035ED34 0035BC94 81 83 00 00 */ lwz r12, 0(r3) +/* 8035ED38 0035BC98 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035ED3C 0035BC9C 7D 89 03 A6 */ mtctr r12 +/* 8035ED40 0035BCA0 4E 80 04 21 */ bctrl +/* 8035ED44 0035BCA4 3B BD 00 08 */ addi r29, r29, 8 +/* 8035ED48 0035BCA8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035ED4C: +/* 8035ED4C 0035BCAC 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035ED50 0035BCB0 7C 1E 00 00 */ cmpw r30, r0 +/* 8035ED54 0035BCB4 41 80 FF D0 */ blt lbl_8035ED24 +lbl_8035ED58: +/* 8035ED58 0035BCB8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8035ED5C 0035BCBC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8035ED60 0035BCC0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8035ED64 0035BCC4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8035ED68 0035BCC8 7C 08 03 A6 */ mtlr r0 +/* 8035ED6C 0035BCCC 38 21 00 50 */ addi r1, r1, 0x50 +/* 8035ED70 0035BCD0 4E 80 00 20 */ blr + +.global SetGlobalTranslation__17CParticleElectricFRC9CVector3f +SetGlobalTranslation__17CParticleElectricFRC9CVector3f: +/* 8035ED74 0035BCD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035ED78 0035BCD8 7C 08 02 A6 */ mflr r0 +/* 8035ED7C 0035BCDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035ED80 0035BCE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035ED84 0035BCE4 7C 7F 1B 78 */ mr r31, r3 +/* 8035ED88 0035BCE8 38 60 00 01 */ li r3, 1 +/* 8035ED8C 0035BCEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035ED90 0035BCF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035ED94 0035BCF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035ED98 0035BCF8 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 8035ED9C 0035BCFC C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EDA0 0035BD00 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8035EDA4 0035BD04 C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EDA8 0035BD08 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 8035EDAC 0035BD0C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EDB0 0035BD10 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EDB4 0035BD14 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EDB8 0035BD18 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EDBC 0035BD1C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EDC0 0035BD20 41 82 00 44 */ beq lbl_8035EE04 +/* 8035EDC4 0035BD24 83 DF 03 EC */ lwz r30, 0x3ec(r31) +/* 8035EDC8 0035BD28 3B BF 01 E4 */ addi r29, r31, 0x1e4 +/* 8035EDCC 0035BD2C 48 00 00 2C */ b lbl_8035EDF8 +lbl_8035EDD0: +/* 8035EDD0 0035BD30 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035EDD4 0035BD34 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EDD8 0035BD38 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EDDC 0035BD3C 38 03 00 04 */ addi r0, r3, 4 +/* 8035EDE0 0035BD40 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 8035EDE4 0035BD44 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EDE8 0035BD48 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035EDEC 0035BD4C 7D 89 03 A6 */ mtctr r12 +/* 8035EDF0 0035BD50 4E 80 04 21 */ bctrl +/* 8035EDF4 0035BD54 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8035EDF8: +/* 8035EDF8 0035BD58 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035EDFC 0035BD5C 7C 1E 00 40 */ cmplw r30, r0 +/* 8035EE00 0035BD60 40 82 FF D0 */ bne lbl_8035EDD0 +lbl_8035EE04: +/* 8035EE04 0035BD64 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EE08 0035BD68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035EE0C 0035BD6C 41 82 00 44 */ beq lbl_8035EE50 +/* 8035EE10 0035BD70 3B C0 00 00 */ li r30, 0 +/* 8035EE14 0035BD74 3B A0 00 00 */ li r29, 0 +/* 8035EE18 0035BD78 48 00 00 2C */ b lbl_8035EE44 +lbl_8035EE1C: +/* 8035EE1C 0035BD7C 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035EE20 0035BD80 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EE24 0035BD84 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EE28 0035BD88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EE2C 0035BD8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EE30 0035BD90 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035EE34 0035BD94 7D 89 03 A6 */ mtctr r12 +/* 8035EE38 0035BD98 4E 80 04 21 */ bctrl +/* 8035EE3C 0035BD9C 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EE40 0035BDA0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EE44: +/* 8035EE44 0035BDA4 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EE48 0035BDA8 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EE4C 0035BDAC 41 80 FF D0 */ blt lbl_8035EE1C +lbl_8035EE50: +/* 8035EE50 0035BDB0 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EE54 0035BDB4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035EE58 0035BDB8 41 82 00 44 */ beq lbl_8035EE9C +/* 8035EE5C 0035BDBC 3B C0 00 00 */ li r30, 0 +/* 8035EE60 0035BDC0 3B A0 00 00 */ li r29, 0 +/* 8035EE64 0035BDC4 48 00 00 2C */ b lbl_8035EE90 +lbl_8035EE68: +/* 8035EE68 0035BDC8 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035EE6C 0035BDCC 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EE70 0035BDD0 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EE74 0035BDD4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EE78 0035BDD8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EE7C 0035BDDC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035EE80 0035BDE0 7D 89 03 A6 */ mtctr r12 +/* 8035EE84 0035BDE4 4E 80 04 21 */ bctrl +/* 8035EE88 0035BDE8 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EE8C 0035BDEC 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EE90: +/* 8035EE90 0035BDF0 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EE94 0035BDF4 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EE98 0035BDF8 41 80 FF D0 */ blt lbl_8035EE68 +lbl_8035EE9C: +/* 8035EE9C 0035BDFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035EEA0 0035BE00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035EEA4 0035BE04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035EEA8 0035BE08 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035EEAC 0035BE0C 7C 08 03 A6 */ mtlr r0 +/* 8035EEB0 0035BE10 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035EEB4 0035BE14 4E 80 00 20 */ blr + +.global SetOrientation__17CParticleElectricFRC12CTransform4f +SetOrientation__17CParticleElectricFRC12CTransform4f: +/* 8035EEB8 0035BE18 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035EEBC 0035BE1C 7C 08 02 A6 */ mflr r0 +/* 8035EEC0 0035BE20 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035EEC4 0035BE24 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8035EEC8 0035BE28 7C 7F 1B 78 */ mr r31, r3 +/* 8035EECC 0035BE2C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8035EED0 0035BE30 4B FB 3C 71 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EED4 0035BE34 38 61 00 08 */ addi r3, r1, 8 +/* 8035EED8 0035BE38 38 9F 00 44 */ addi r4, r31, 0x44 +/* 8035EEDC 0035BE3C 4B FB 3D C1 */ bl GetQuickInverse__12CTransform4fCFv +/* 8035EEE0 0035BE40 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8035EEE4 0035BE44 38 81 00 08 */ addi r4, r1, 8 +/* 8035EEE8 0035BE48 4B FB 3C 59 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EEEC 0035BE4C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EEF0 0035BE50 38 60 00 01 */ li r3, 1 +/* 8035EEF4 0035BE54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EEF8 0035BE58 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EEFC 0035BE5C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8035EF00 0035BE60 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035EF04 0035BE64 7C 08 03 A6 */ mtlr r0 +/* 8035EF08 0035BE68 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035EF0C 0035BE6C 4E 80 00 20 */ blr + +.global SetTranslation__17CParticleElectricFRC9CVector3f +SetTranslation__17CParticleElectricFRC9CVector3f: +/* 8035EF10 0035BE70 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035EF14 0035BE74 38 A0 00 01 */ li r5, 1 +/* 8035EF18 0035BE78 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8035EF1C 0035BE7C C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EF20 0035BE80 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8035EF24 0035BE84 C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EF28 0035BE88 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8035EF2C 0035BE8C 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035EF30 0035BE90 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8035EF34 0035BE94 98 03 04 50 */ stb r0, 0x450(r3) +/* 8035EF38 0035BE98 4E 80 00 20 */ blr + +.global ForceParticleCreation__17CParticleElectricFi +ForceParticleCreation__17CParticleElectricFi: +/* 8035EF3C 0035BE9C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035EF40 0035BEA0 7C 08 02 A6 */ mflr r0 +/* 8035EF44 0035BEA4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035EF48 0035BEA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035EF4C 0035BEAC 7C 9F 23 78 */ mr r31, r4 +/* 8035EF50 0035BEB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035EF54 0035BEB4 7C 7E 1B 78 */ mr r30, r3 +/* 8035EF58 0035BEB8 38 61 00 08 */ addi r3, r1, 8 +/* 8035EF5C 0035BEBC 38 9E 01 4C */ addi r4, r30, 0x14c +/* 8035EF60 0035BEC0 4B FB 37 21 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8035EF64 0035BEC4 7F C3 F3 78 */ mr r3, r30 +/* 8035EF68 0035BEC8 7F E4 FB 78 */ mr r4, r31 +/* 8035EF6C 0035BECC 48 00 0A 5D */ bl CreateNewParticles__17CParticleElectricFi +/* 8035EF70 0035BED0 38 61 00 08 */ addi r3, r1, 8 +/* 8035EF74 0035BED4 38 80 FF FF */ li r4, -1 +/* 8035EF78 0035BED8 4B FB 36 8D */ bl __dt__13CGlobalRandomFv +/* 8035EF7C 0035BEDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035EF80 0035BEE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035EF84 0035BEE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035EF88 0035BEE8 7C 08 03 A6 */ mtlr r0 +/* 8035EF8C 0035BEEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035EF90 0035BEF0 4E 80 00 20 */ blr + +.global GetParticleCount__17CParticleElectricFv +GetParticleCount__17CParticleElectricFv: +/* 8035EF94 0035BEF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035EF98 0035BEF8 7C 08 02 A6 */ mflr r0 +/* 8035EF9C 0035BEFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035EFA0 0035BF00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035EFA4 0035BF04 3B E0 00 00 */ li r31, 0 +/* 8035EFA8 0035BF08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035EFAC 0035BF0C 7C 7E 1B 78 */ mr r30, r3 +/* 8035EFB0 0035BF10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035EFB4 0035BF14 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035EFB8 0035BF18 80 03 03 FC */ lwz r0, 0x3fc(r3) +/* 8035EFBC 0035BF1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035EFC0 0035BF20 41 82 00 64 */ beq lbl_8035F024 +/* 8035EFC4 0035BF24 83 BE 03 EC */ lwz r29, 0x3ec(r30) +/* 8035EFC8 0035BF28 3B 9E 01 E4 */ addi r28, r30, 0x1e4 +/* 8035EFCC 0035BF2C 48 00 00 4C */ b lbl_8035F018 +lbl_8035EFD0: +/* 8035EFD0 0035BF30 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035EFD4 0035BF34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EFD8 0035BF38 41 82 00 28 */ beq lbl_8035F000 +/* 8035EFDC 0035BF3C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035EFE0 0035BF40 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EFE4 0035BF44 38 03 00 04 */ addi r0, r3, 4 +/* 8035EFE8 0035BF48 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 8035EFEC 0035BF4C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EFF0 0035BF50 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035EFF4 0035BF54 7D 89 03 A6 */ mtctr r12 +/* 8035EFF8 0035BF58 4E 80 04 21 */ bctrl +/* 8035EFFC 0035BF5C 7F FF 1A 14 */ add r31, r31, r3 +lbl_8035F000: +/* 8035F000 0035BF60 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035F004 0035BF64 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8035F008 0035BF68 41 82 00 0C */ beq lbl_8035F014 +/* 8035F00C 0035BF6C 80 1E 01 50 */ lwz r0, 0x150(r30) +/* 8035F010 0035BF70 7F FF 02 14 */ add r31, r31, r0 +lbl_8035F014: +/* 8035F014 0035BF74 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8035F018: +/* 8035F018 0035BF78 80 1E 03 F0 */ lwz r0, 0x3f0(r30) +/* 8035F01C 0035BF7C 7C 1D 00 40 */ cmplw r29, r0 +/* 8035F020 0035BF80 40 82 FF B0 */ bne lbl_8035EFD0 +lbl_8035F024: +/* 8035F024 0035BF84 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035F028 0035BF88 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035F02C 0035BF8C 41 82 00 44 */ beq lbl_8035F070 +/* 8035F030 0035BF90 3B A0 00 00 */ li r29, 0 +/* 8035F034 0035BF94 3B 80 00 00 */ li r28, 0 +/* 8035F038 0035BF98 48 00 00 2C */ b lbl_8035F064 +lbl_8035F03C: +/* 8035F03C 0035BF9C 80 7E 04 0C */ lwz r3, 0x40c(r30) +/* 8035F040 0035BFA0 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F044 0035BFA4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F048 0035BFA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F04C 0035BFAC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F050 0035BFB0 7D 89 03 A6 */ mtctr r12 +/* 8035F054 0035BFB4 4E 80 04 21 */ bctrl +/* 8035F058 0035BFB8 7F FF 1A 14 */ add r31, r31, r3 +/* 8035F05C 0035BFBC 3B 9C 00 08 */ addi r28, r28, 8 +/* 8035F060 0035BFC0 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F064: +/* 8035F064 0035BFC4 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 8035F068 0035BFC8 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F06C 0035BFCC 41 80 FF D0 */ blt lbl_8035F03C +lbl_8035F070: +/* 8035F070 0035BFD0 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035F074 0035BFD4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035F078 0035BFD8 41 82 00 44 */ beq lbl_8035F0BC +/* 8035F07C 0035BFDC 3B A0 00 00 */ li r29, 0 +/* 8035F080 0035BFE0 3B 80 00 00 */ li r28, 0 +/* 8035F084 0035BFE4 48 00 00 2C */ b lbl_8035F0B0 +lbl_8035F088: +/* 8035F088 0035BFE8 80 7E 04 1C */ lwz r3, 0x41c(r30) +/* 8035F08C 0035BFEC 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F090 0035BFF0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F094 0035BFF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F098 0035BFF8 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F09C 0035BFFC 7D 89 03 A6 */ mtctr r12 +/* 8035F0A0 0035C000 4E 80 04 21 */ bctrl +/* 8035F0A4 0035C004 7F FF 1A 14 */ add r31, r31, r3 +/* 8035F0A8 0035C008 3B 9C 00 08 */ addi r28, r28, 8 +/* 8035F0AC 0035C00C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F0B0: +/* 8035F0B0 0035C010 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 8035F0B4 0035C014 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F0B8 0035C018 41 80 FF D0 */ blt lbl_8035F088 +lbl_8035F0BC: +/* 8035F0BC 0035C01C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035F0C0 0035C020 7F E3 FB 78 */ mr r3, r31 +/* 8035F0C4 0035C024 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035F0C8 0035C028 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035F0CC 0035C02C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035F0D0 0035C030 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8035F0D4 0035C034 7C 08 03 A6 */ mtlr r0 +/* 8035F0D8 0035C038 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035F0DC 0035C03C 4E 80 00 20 */ blr + +.global IsSystemDeletable__17CParticleElectricFv +IsSystemDeletable__17CParticleElectricFv: +/* 8035F0E0 0035C040 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035F0E4 0035C044 7C 08 02 A6 */ mflr r0 +/* 8035F0E8 0035C048 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035F0EC 0035C04C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035F0F0 0035C050 7C 7F 1B 78 */ mr r31, r3 +/* 8035F0F4 0035C054 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035F0F8 0035C058 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035F0FC 0035C05C 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035F100 0035C060 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035F104 0035C064 41 82 00 1C */ beq lbl_8035F120 +/* 8035F108 0035C068 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8035F10C 0035C06C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8035F110 0035C070 7C 03 00 00 */ cmpw r3, r0 +/* 8035F114 0035C074 40 80 00 0C */ bge lbl_8035F120 +/* 8035F118 0035C078 38 60 00 00 */ li r3, 0 +/* 8035F11C 0035C07C 48 00 00 CC */ b lbl_8035F1E8 +lbl_8035F120: +/* 8035F120 0035C080 80 1F 03 FC */ lwz r0, 0x3fc(r31) +/* 8035F124 0035C084 2C 00 00 00 */ cmpwi r0, 0 +/* 8035F128 0035C088 41 82 00 0C */ beq lbl_8035F134 +/* 8035F12C 0035C08C 38 60 00 00 */ li r3, 0 +/* 8035F130 0035C090 48 00 00 B8 */ b lbl_8035F1E8 +lbl_8035F134: +/* 8035F134 0035C094 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F138 0035C098 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035F13C 0035C09C 41 82 00 50 */ beq lbl_8035F18C +/* 8035F140 0035C0A0 3B A0 00 00 */ li r29, 0 +/* 8035F144 0035C0A4 3B C0 00 00 */ li r30, 0 +/* 8035F148 0035C0A8 48 00 00 38 */ b lbl_8035F180 +lbl_8035F14C: +/* 8035F14C 0035C0AC 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035F150 0035C0B0 38 1E 00 04 */ addi r0, r30, 4 +/* 8035F154 0035C0B4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F158 0035C0B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F15C 0035C0BC 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8035F160 0035C0C0 7D 89 03 A6 */ mtctr r12 +/* 8035F164 0035C0C4 4E 80 04 21 */ bctrl +/* 8035F168 0035C0C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035F16C 0035C0CC 40 82 00 0C */ bne lbl_8035F178 +/* 8035F170 0035C0D0 38 60 00 00 */ li r3, 0 +/* 8035F174 0035C0D4 48 00 00 74 */ b lbl_8035F1E8 +lbl_8035F178: +/* 8035F178 0035C0D8 3B DE 00 08 */ addi r30, r30, 8 +/* 8035F17C 0035C0DC 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F180: +/* 8035F180 0035C0E0 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F184 0035C0E4 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F188 0035C0E8 41 80 FF C4 */ blt lbl_8035F14C +lbl_8035F18C: +/* 8035F18C 0035C0EC 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F190 0035C0F0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035F194 0035C0F4 41 82 00 50 */ beq lbl_8035F1E4 +/* 8035F198 0035C0F8 3B A0 00 00 */ li r29, 0 +/* 8035F19C 0035C0FC 3B C0 00 00 */ li r30, 0 +/* 8035F1A0 0035C100 48 00 00 38 */ b lbl_8035F1D8 +lbl_8035F1A4: +/* 8035F1A4 0035C104 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035F1A8 0035C108 38 1E 00 04 */ addi r0, r30, 4 +/* 8035F1AC 0035C10C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F1B0 0035C110 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F1B4 0035C114 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8035F1B8 0035C118 7D 89 03 A6 */ mtctr r12 +/* 8035F1BC 0035C11C 4E 80 04 21 */ bctrl +/* 8035F1C0 0035C120 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035F1C4 0035C124 40 82 00 0C */ bne lbl_8035F1D0 +/* 8035F1C8 0035C128 38 60 00 00 */ li r3, 0 +/* 8035F1CC 0035C12C 48 00 00 1C */ b lbl_8035F1E8 +lbl_8035F1D0: +/* 8035F1D0 0035C130 3B DE 00 08 */ addi r30, r30, 8 +/* 8035F1D4 0035C134 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F1D8: +/* 8035F1D8 0035C138 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F1DC 0035C13C 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F1E0 0035C140 41 80 FF C4 */ blt lbl_8035F1A4 +lbl_8035F1E4: +/* 8035F1E4 0035C144 38 60 00 01 */ li r3, 1 +lbl_8035F1E8: +/* 8035F1E8 0035C148 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035F1EC 0035C14C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035F1F0 0035C150 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035F1F4 0035C154 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035F1F8 0035C158 7C 08 03 A6 */ mtlr r0 +/* 8035F1FC 0035C15C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035F200 0035C160 4E 80 00 20 */ blr + +.global SetModulationColor__17CParticleElectricFRC6CColor +SetModulationColor__17CParticleElectricFRC6CColor: +/* 8035F204 0035C164 80 04 00 00 */ lwz r0, 0(r4) +/* 8035F208 0035C168 90 03 01 B8 */ stw r0, 0x1b8(r3) +/* 8035F20C 0035C16C 4E 80 00 20 */ blr + +.global GetBounds__17CParticleElectricFv +GetBounds__17CParticleElectricFv: +/* 8035F210 0035C170 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035F214 0035C174 7C 08 02 A6 */ mflr r0 +/* 8035F218 0035C178 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035F21C 0035C17C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035F220 0035C180 7C 9F 23 78 */ mr r31, r4 +/* 8035F224 0035C184 93 C1 00 08 */ stw r30, 8(r1) +/* 8035F228 0035C188 7C 7E 1B 78 */ mr r30, r3 +/* 8035F22C 0035C18C 7F E3 FB 78 */ mr r3, r31 +/* 8035F230 0035C190 81 9F 00 00 */ lwz r12, 0(r31) +/* 8035F234 0035C194 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F238 0035C198 7D 89 03 A6 */ mtctr r12 +/* 8035F23C 0035C19C 4E 80 04 21 */ bctrl +/* 8035F240 0035C1A0 2C 03 00 00 */ cmpwi r3, 0 +/* 8035F244 0035C1A4 41 81 00 10 */ bgt lbl_8035F254 +/* 8035F248 0035C1A8 38 00 00 00 */ li r0, 0 +/* 8035F24C 0035C1AC 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8035F250 0035C1B0 48 00 00 44 */ b lbl_8035F294 +lbl_8035F254: +/* 8035F254 0035C1B4 38 00 00 01 */ li r0, 1 +/* 8035F258 0035C1B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8035F25C 0035C1BC 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8035F260 0035C1C0 41 82 00 34 */ beq lbl_8035F294 +/* 8035F264 0035C1C4 C0 1F 01 60 */ lfs f0, 0x160(r31) +/* 8035F268 0035C1C8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8035F26C 0035C1CC C0 1F 01 64 */ lfs f0, 0x164(r31) +/* 8035F270 0035C1D0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8035F274 0035C1D4 C0 1F 01 68 */ lfs f0, 0x168(r31) +/* 8035F278 0035C1D8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8035F27C 0035C1DC C0 1F 01 6C */ lfs f0, 0x16c(r31) +/* 8035F280 0035C1E0 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8035F284 0035C1E4 C0 1F 01 70 */ lfs f0, 0x170(r31) +/* 8035F288 0035C1E8 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8035F28C 0035C1EC C0 1F 01 74 */ lfs f0, 0x174(r31) +/* 8035F290 0035C1F0 D0 1E 00 14 */ stfs f0, 0x14(r30) +lbl_8035F294: +/* 8035F294 0035C1F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035F298 0035C1F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035F29C 0035C1FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035F2A0 0035C200 7C 08 03 A6 */ mtlr r0 +/* 8035F2A4 0035C204 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035F2A8 0035C208 4E 80 00 20 */ blr + +.global BuildBounds__17CParticleElectricFv +BuildBounds__17CParticleElectricFv: +/* 8035F2AC 0035C20C 94 21 FD C0 */ stwu r1, -0x240(r1) +/* 8035F2B0 0035C210 7C 08 02 A6 */ mflr r0 +/* 8035F2B4 0035C214 90 01 02 44 */ stw r0, 0x244(r1) +/* 8035F2B8 0035C218 93 E1 02 3C */ stw r31, 0x23c(r1) +/* 8035F2BC 0035C21C 7C 7F 1B 78 */ mr r31, r3 +/* 8035F2C0 0035C220 93 C1 02 38 */ stw r30, 0x238(r1) +/* 8035F2C4 0035C224 93 A1 02 34 */ stw r29, 0x234(r1) +/* 8035F2C8 0035C228 93 81 02 30 */ stw r28, 0x230(r1) +/* 8035F2CC 0035C22C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F2D0 0035C230 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F2D4 0035C234 7D 89 03 A6 */ mtctr r12 +/* 8035F2D8 0035C238 4E 80 04 21 */ bctrl +/* 8035F2DC 0035C23C 2C 03 00 00 */ cmpwi r3, 0 +/* 8035F2E0 0035C240 41 81 00 40 */ bgt lbl_8035F320 +/* 8035F2E4 0035C244 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8035F2E8 0035C248 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 8035F2EC 0035C24C 80 64 00 00 */ lwz r3, 0(r4) +/* 8035F2F0 0035C250 80 04 00 04 */ lwz r0, 4(r4) +/* 8035F2F4 0035C254 90 7F 01 60 */ stw r3, 0x160(r31) +/* 8035F2F8 0035C258 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8035F2FC 0035C25C 80 04 00 08 */ lwz r0, 8(r4) +/* 8035F300 0035C260 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8035F304 0035C264 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8035F308 0035C268 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8035F30C 0035C26C 90 7F 01 6C */ stw r3, 0x16c(r31) +/* 8035F310 0035C270 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8035F314 0035C274 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8035F318 0035C278 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8035F31C 0035C27C 48 00 03 C0 */ b lbl_8035F6DC +lbl_8035F320: +/* 8035F320 0035C280 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8035F324 0035C284 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 8035F328 0035C288 80 64 00 00 */ lwz r3, 0(r4) +/* 8035F32C 0035C28C 80 04 00 04 */ lwz r0, 4(r4) +/* 8035F330 0035C290 90 7F 01 60 */ stw r3, 0x160(r31) +/* 8035F334 0035C294 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8035F338 0035C298 80 04 00 08 */ lwz r0, 8(r4) +/* 8035F33C 0035C29C 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8035F340 0035C2A0 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8035F344 0035C2A4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8035F348 0035C2A8 90 7F 01 6C */ stw r3, 0x16c(r31) +/* 8035F34C 0035C2AC 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8035F350 0035C2B0 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8035F354 0035C2B4 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8035F358 0035C2B8 88 7F 04 50 */ lbz r3, 0x450(r31) +/* 8035F35C 0035C2BC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8035F360 0035C2C0 41 82 00 C8 */ beq lbl_8035F428 +/* 8035F364 0035C2C4 83 BF 03 EC */ lwz r29, 0x3ec(r31) +/* 8035F368 0035C2C8 3B 9F 01 E4 */ addi r28, r31, 0x1e4 +/* 8035F36C 0035C2CC 48 00 00 AC */ b lbl_8035F418 +lbl_8035F370: +/* 8035F370 0035C2D0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035F374 0035C2D4 38 61 00 58 */ addi r3, r1, 0x58 +/* 8035F378 0035C2D8 54 04 18 38 */ slwi r4, r0, 3 +/* 8035F37C 0035C2DC 38 04 00 04 */ addi r0, r4, 4 +/* 8035F380 0035C2E0 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 8035F384 0035C2E4 81 84 00 00 */ lwz r12, 0(r4) +/* 8035F388 0035C2E8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8035F38C 0035C2EC 7D 89 03 A6 */ mtctr r12 +/* 8035F390 0035C2F0 4E 80 04 21 */ bctrl +/* 8035F394 0035C2F4 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8035F398 0035C2F8 28 00 00 00 */ cmplwi r0, 0 +/* 8035F39C 0035C2FC 98 01 00 DC */ stb r0, 0xdc(r1) +/* 8035F3A0 0035C300 41 82 00 3C */ beq lbl_8035F3DC +/* 8035F3A4 0035C304 34 61 00 C4 */ addic. r3, r1, 0xc4 +/* 8035F3A8 0035C308 41 82 00 34 */ beq lbl_8035F3DC +/* 8035F3AC 0035C30C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8035F3B0 0035C310 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035F3B4 0035C314 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8035F3B8 0035C318 D0 03 00 04 */ stfs f0, 4(r3) +/* 8035F3BC 0035C31C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8035F3C0 0035C320 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035F3C4 0035C324 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8035F3C8 0035C328 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035F3CC 0035C32C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8035F3D0 0035C330 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035F3D4 0035C334 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8035F3D8 0035C338 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035F3DC: +/* 8035F3DC 0035C33C 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 8035F3E0 0035C340 38 60 00 00 */ li r3, 0 +/* 8035F3E4 0035C344 98 61 00 70 */ stb r3, 0x70(r1) +/* 8035F3E8 0035C348 28 00 00 00 */ cmplwi r0, 0 +/* 8035F3EC 0035C34C 41 82 00 20 */ beq lbl_8035F40C +/* 8035F3F0 0035C350 3B C1 00 C4 */ addi r30, r1, 0xc4 +/* 8035F3F4 0035C354 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F3F8 0035C358 7F C4 F3 78 */ mr r4, r30 +/* 8035F3FC 0035C35C 4B FD 87 0D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F400 0035C360 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F404 0035C364 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F408 0035C368 4B FD 87 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F40C: +/* 8035F40C 0035C36C 38 00 00 00 */ li r0, 0 +/* 8035F410 0035C370 98 01 00 DC */ stb r0, 0xdc(r1) +/* 8035F414 0035C374 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8035F418: +/* 8035F418 0035C378 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035F41C 0035C37C 7C 1D 00 40 */ cmplw r29, r0 +/* 8035F420 0035C380 40 82 FF 50 */ bne lbl_8035F370 +/* 8035F424 0035C384 48 00 01 20 */ b lbl_8035F544 +lbl_8035F428: +/* 8035F428 0035C388 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8035F42C 0035C38C 41 82 01 18 */ beq lbl_8035F544 +/* 8035F430 0035C390 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8035F434 0035C394 3B 9F 02 E8 */ addi r28, r31, 0x2e8 +/* 8035F438 0035C398 C0 84 00 04 */ lfs f4, 4(r4) +/* 8035F43C 0035C39C C0 64 00 08 */ lfs f3, 8(r4) +/* 8035F440 0035C3A0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 8035F444 0035C3A4 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 8035F448 0035C3A8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8035F44C 0035C3AC D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 8035F450 0035C3B0 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8035F454 0035C3B4 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 8035F458 0035C3B8 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 8035F45C 0035C3BC D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8035F460 0035C3C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8035F464 0035C3C4 83 BF 03 EC */ lwz r29, 0x3ec(r31) +/* 8035F468 0035C3C8 48 00 00 34 */ b lbl_8035F49C +lbl_8035F46C: +/* 8035F46C 0035C3CC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035F470 0035C3D0 38 61 00 AC */ addi r3, r1, 0xac +/* 8035F474 0035C3D4 54 04 18 38 */ slwi r4, r0, 3 +/* 8035F478 0035C3D8 38 04 00 04 */ addi r0, r4, 4 +/* 8035F47C 0035C3DC 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 8035F480 0035C3E0 3B C4 00 28 */ addi r30, r4, 0x28 +/* 8035F484 0035C3E4 7F C4 F3 78 */ mr r4, r30 +/* 8035F488 0035C3E8 4B FD 86 81 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F48C 0035C3EC 38 61 00 AC */ addi r3, r1, 0xac +/* 8035F490 0035C3F0 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F494 0035C3F4 4B FD 86 75 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F498 0035C3F8 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8035F49C: +/* 8035F49C 0035C3FC 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035F4A0 0035C400 7C 1D 00 40 */ cmplw r29, r0 +/* 8035F4A4 0035C404 40 82 FF C8 */ bne lbl_8035F46C +/* 8035F4A8 0035C408 38 61 00 AC */ addi r3, r1, 0xac +/* 8035F4AC 0035C40C 4B FD 81 D5 */ bl Invalid__6CAABoxCFv +/* 8035F4B0 0035C410 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035F4B4 0035C414 40 82 00 90 */ bne lbl_8035F544 +/* 8035F4B8 0035C418 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8035F4BC 0035C41C 38 9F 00 E0 */ addi r4, r31, 0xe0 +/* 8035F4C0 0035C420 4B FB 3D 05 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035F4C4 0035C424 38 61 01 10 */ addi r3, r1, 0x110 +/* 8035F4C8 0035C428 38 9F 00 38 */ addi r4, r31, 0x38 +/* 8035F4CC 0035C42C 4B FB 3C 75 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035F4D0 0035C430 38 61 01 40 */ addi r3, r1, 0x140 +/* 8035F4D4 0035C434 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035F4D8 0035C438 4B FB 3C 69 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035F4DC 0035C43C 38 61 01 70 */ addi r3, r1, 0x170 +/* 8035F4E0 0035C440 38 81 01 40 */ addi r4, r1, 0x140 +/* 8035F4E4 0035C444 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 8035F4E8 0035C448 4B FB 34 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F4EC 0035C44C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 8035F4F0 0035C450 38 81 01 70 */ addi r4, r1, 0x170 +/* 8035F4F4 0035C454 38 A1 01 10 */ addi r5, r1, 0x110 +/* 8035F4F8 0035C458 4B FB 34 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F4FC 0035C45C 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 8035F500 0035C460 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 8035F504 0035C464 38 BF 00 44 */ addi r5, r31, 0x44 +/* 8035F508 0035C468 4B FB 34 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F50C 0035C46C 38 61 02 00 */ addi r3, r1, 0x200 +/* 8035F510 0035C470 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8035F514 0035C474 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8035F518 0035C478 4B FB 34 39 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F51C 0035C47C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035F520 0035C480 38 81 00 AC */ addi r4, r1, 0xac +/* 8035F524 0035C484 38 A1 02 00 */ addi r5, r1, 0x200 +/* 8035F528 0035C488 4B FD 83 D5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8035F52C 0035C48C 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F530 0035C490 38 81 00 40 */ addi r4, r1, 0x40 +/* 8035F534 0035C494 4B FD 85 D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F538 0035C498 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F53C 0035C49C 38 81 00 4C */ addi r4, r1, 0x4c +/* 8035F540 0035C4A0 4B FD 85 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F544: +/* 8035F544 0035C4A4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F548 0035C4A8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035F54C 0035C4AC 41 82 00 C4 */ beq lbl_8035F610 +/* 8035F550 0035C4B0 3B A0 00 00 */ li r29, 0 +/* 8035F554 0035C4B4 3B 80 00 00 */ li r28, 0 +/* 8035F558 0035C4B8 48 00 00 AC */ b lbl_8035F604 +lbl_8035F55C: +/* 8035F55C 0035C4BC 80 9F 04 0C */ lwz r4, 0x40c(r31) +/* 8035F560 0035C4C0 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F564 0035C4C4 38 61 00 24 */ addi r3, r1, 0x24 +/* 8035F568 0035C4C8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8035F56C 0035C4CC 81 84 00 00 */ lwz r12, 0(r4) +/* 8035F570 0035C4D0 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8035F574 0035C4D4 7D 89 03 A6 */ mtctr r12 +/* 8035F578 0035C4D8 4E 80 04 21 */ bctrl +/* 8035F57C 0035C4DC 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 8035F580 0035C4E0 28 00 00 00 */ cmplwi r0, 0 +/* 8035F584 0035C4E4 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 8035F588 0035C4E8 41 82 00 3C */ beq lbl_8035F5C4 +/* 8035F58C 0035C4EC 34 61 00 90 */ addic. r3, r1, 0x90 +/* 8035F590 0035C4F0 41 82 00 34 */ beq lbl_8035F5C4 +/* 8035F594 0035C4F4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8035F598 0035C4F8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035F59C 0035C4FC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8035F5A0 0035C500 D0 03 00 04 */ stfs f0, 4(r3) +/* 8035F5A4 0035C504 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8035F5A8 0035C508 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035F5AC 0035C50C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8035F5B0 0035C510 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035F5B4 0035C514 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8035F5B8 0035C518 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035F5BC 0035C51C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8035F5C0 0035C520 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035F5C4: +/* 8035F5C4 0035C524 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 8035F5C8 0035C528 38 60 00 00 */ li r3, 0 +/* 8035F5CC 0035C52C 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8035F5D0 0035C530 28 00 00 00 */ cmplwi r0, 0 +/* 8035F5D4 0035C534 41 82 00 20 */ beq lbl_8035F5F4 +/* 8035F5D8 0035C538 3B C1 00 90 */ addi r30, r1, 0x90 +/* 8035F5DC 0035C53C 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F5E0 0035C540 7F C4 F3 78 */ mr r4, r30 +/* 8035F5E4 0035C544 4B FD 85 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F5E8 0035C548 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F5EC 0035C54C 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F5F0 0035C550 4B FD 85 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F5F4: +/* 8035F5F4 0035C554 38 00 00 00 */ li r0, 0 +/* 8035F5F8 0035C558 3B BD 00 01 */ addi r29, r29, 1 +/* 8035F5FC 0035C55C 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 8035F600 0035C560 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8035F604: +/* 8035F604 0035C564 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F608 0035C568 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F60C 0035C56C 41 80 FF 50 */ blt lbl_8035F55C +lbl_8035F610: +/* 8035F610 0035C570 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F614 0035C574 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035F618 0035C578 41 82 00 C4 */ beq lbl_8035F6DC +/* 8035F61C 0035C57C 3B A0 00 00 */ li r29, 0 +/* 8035F620 0035C580 3B 80 00 00 */ li r28, 0 +/* 8035F624 0035C584 48 00 00 AC */ b lbl_8035F6D0 +lbl_8035F628: +/* 8035F628 0035C588 80 9F 04 1C */ lwz r4, 0x41c(r31) +/* 8035F62C 0035C58C 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F630 0035C590 38 61 00 08 */ addi r3, r1, 8 +/* 8035F634 0035C594 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8035F638 0035C598 81 84 00 00 */ lwz r12, 0(r4) +/* 8035F63C 0035C59C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8035F640 0035C5A0 7D 89 03 A6 */ mtctr r12 +/* 8035F644 0035C5A4 4E 80 04 21 */ bctrl +/* 8035F648 0035C5A8 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8035F64C 0035C5AC 28 00 00 00 */ cmplwi r0, 0 +/* 8035F650 0035C5B0 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8035F654 0035C5B4 41 82 00 3C */ beq lbl_8035F690 +/* 8035F658 0035C5B8 34 61 00 74 */ addic. r3, r1, 0x74 +/* 8035F65C 0035C5BC 41 82 00 34 */ beq lbl_8035F690 +/* 8035F660 0035C5C0 C0 01 00 08 */ lfs f0, 8(r1) +/* 8035F664 0035C5C4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035F668 0035C5C8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8035F66C 0035C5CC D0 03 00 04 */ stfs f0, 4(r3) +/* 8035F670 0035C5D0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8035F674 0035C5D4 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035F678 0035C5D8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8035F67C 0035C5DC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035F680 0035C5E0 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8035F684 0035C5E4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035F688 0035C5E8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8035F68C 0035C5EC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035F690: +/* 8035F690 0035C5F0 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 8035F694 0035C5F4 38 60 00 00 */ li r3, 0 +/* 8035F698 0035C5F8 98 61 00 20 */ stb r3, 0x20(r1) +/* 8035F69C 0035C5FC 28 00 00 00 */ cmplwi r0, 0 +/* 8035F6A0 0035C600 41 82 00 20 */ beq lbl_8035F6C0 +/* 8035F6A4 0035C604 3B C1 00 74 */ addi r30, r1, 0x74 +/* 8035F6A8 0035C608 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F6AC 0035C60C 7F C4 F3 78 */ mr r4, r30 +/* 8035F6B0 0035C610 4B FD 84 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F6B4 0035C614 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F6B8 0035C618 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F6BC 0035C61C 4B FD 84 4D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F6C0: +/* 8035F6C0 0035C620 38 00 00 00 */ li r0, 0 +/* 8035F6C4 0035C624 3B BD 00 01 */ addi r29, r29, 1 +/* 8035F6C8 0035C628 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8035F6CC 0035C62C 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8035F6D0: +/* 8035F6D0 0035C630 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F6D4 0035C634 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F6D8 0035C638 41 80 FF 50 */ blt lbl_8035F628 +lbl_8035F6DC: +/* 8035F6DC 0035C63C 80 01 02 44 */ lwz r0, 0x244(r1) +/* 8035F6E0 0035C640 83 E1 02 3C */ lwz r31, 0x23c(r1) +/* 8035F6E4 0035C644 83 C1 02 38 */ lwz r30, 0x238(r1) +/* 8035F6E8 0035C648 83 A1 02 34 */ lwz r29, 0x234(r1) +/* 8035F6EC 0035C64C 83 81 02 30 */ lwz r28, 0x230(r1) +/* 8035F6F0 0035C650 7C 08 03 A6 */ mtlr r0 +/* 8035F6F4 0035C654 38 21 02 40 */ addi r1, r1, 0x240 +/* 8035F6F8 0035C658 4E 80 00 20 */ blr + +.global UpdateLine__17CParticleElectricFii +UpdateLine__17CParticleElectricFii: +/* 8035F6FC 0035C65C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035F700 0035C660 7C 08 02 A6 */ mflr r0 +/* 8035F704 0035C664 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035F708 0035C668 54 80 18 38 */ slwi r0, r4, 3 +/* 8035F70C 0035C66C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035F710 0035C670 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035F714 0035C674 7C BE 2B 78 */ mr r30, r5 +/* 8035F718 0035C678 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035F71C 0035C67C 7C 7D 1B 78 */ mr r29, r3 +/* 8035F720 0035C680 80 83 00 24 */ lwz r4, 0x24(r3) +/* 8035F724 0035C684 7C 7D 02 14 */ add r3, r29, r0 +/* 8035F728 0035C688 83 E3 02 EC */ lwz r31, 0x2ec(r3) +/* 8035F72C 0035C68C 80 64 00 34 */ lwz r3, 0x34(r4) +/* 8035F730 0035C690 28 03 00 00 */ cmplwi r3, 0 +/* 8035F734 0035C694 41 82 00 1C */ beq lbl_8035F750 +/* 8035F738 0035C698 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F73C 0035C69C 7F C4 F3 78 */ mr r4, r30 +/* 8035F740 0035C6A0 38 BF 00 1C */ addi r5, r31, 0x1c +/* 8035F744 0035C6A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F748 0035C6A8 7D 89 03 A6 */ mtctr r12 +/* 8035F74C 0035C6AC 4E 80 04 21 */ bctrl +lbl_8035F750: +/* 8035F750 0035C6B0 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F754 0035C6B4 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8035F758 0035C6B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035F75C 0035C6BC 41 82 00 1C */ beq lbl_8035F778 +/* 8035F760 0035C6C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F764 0035C6C4 7F C4 F3 78 */ mr r4, r30 +/* 8035F768 0035C6C8 38 BF 00 20 */ addi r5, r31, 0x20 +/* 8035F76C 0035C6CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F770 0035C6D0 7D 89 03 A6 */ mtctr r12 +/* 8035F774 0035C6D4 4E 80 04 21 */ bctrl +lbl_8035F778: +/* 8035F778 0035C6D8 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F77C 0035C6DC 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8035F780 0035C6E0 28 03 00 00 */ cmplwi r3, 0 +/* 8035F784 0035C6E4 41 82 00 1C */ beq lbl_8035F7A0 +/* 8035F788 0035C6E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F78C 0035C6EC 7F C4 F3 78 */ mr r4, r30 +/* 8035F790 0035C6F0 38 BF 00 24 */ addi r5, r31, 0x24 +/* 8035F794 0035C6F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F798 0035C6F8 7D 89 03 A6 */ mtctr r12 +/* 8035F79C 0035C6FC 4E 80 04 21 */ bctrl +lbl_8035F7A0: +/* 8035F7A0 0035C700 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F7A4 0035C704 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8035F7A8 0035C708 28 03 00 00 */ cmplwi r3, 0 +/* 8035F7AC 0035C70C 41 82 00 1C */ beq lbl_8035F7C8 +/* 8035F7B0 0035C710 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F7B4 0035C714 7F C4 F3 78 */ mr r4, r30 +/* 8035F7B8 0035C718 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8035F7BC 0035C71C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F7C0 0035C720 7D 89 03 A6 */ mtctr r12 +/* 8035F7C4 0035C724 4E 80 04 21 */ bctrl +lbl_8035F7C8: +/* 8035F7C8 0035C728 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F7CC 0035C72C 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8035F7D0 0035C730 28 03 00 00 */ cmplwi r3, 0 +/* 8035F7D4 0035C734 41 82 00 1C */ beq lbl_8035F7F0 +/* 8035F7D8 0035C738 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F7DC 0035C73C 7F C4 F3 78 */ mr r4, r30 +/* 8035F7E0 0035C740 38 BF 00 14 */ addi r5, r31, 0x14 +/* 8035F7E4 0035C744 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F7E8 0035C748 7D 89 03 A6 */ mtctr r12 +/* 8035F7EC 0035C74C 4E 80 04 21 */ bctrl +lbl_8035F7F0: +/* 8035F7F0 0035C750 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F7F4 0035C754 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8035F7F8 0035C758 28 03 00 00 */ cmplwi r3, 0 +/* 8035F7FC 0035C75C 41 82 00 1C */ beq lbl_8035F818 +/* 8035F800 0035C760 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F804 0035C764 7F C4 F3 78 */ mr r4, r30 +/* 8035F808 0035C768 38 BF 00 18 */ addi r5, r31, 0x18 +/* 8035F80C 0035C76C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F810 0035C770 7D 89 03 A6 */ mtctr r12 +/* 8035F814 0035C774 4E 80 04 21 */ bctrl +lbl_8035F818: +/* 8035F818 0035C778 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035F81C 0035C77C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035F820 0035C780 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035F824 0035C784 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035F828 0035C788 7C 08 03 A6 */ mtlr r0 +/* 8035F82C 0035C78C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035F830 0035C790 4E 80 00 20 */ blr + +.global UpdateElectricalEffects__17CParticleElectricFv +UpdateElectricalEffects__17CParticleElectricFv: +/* 8035F834 0035C794 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035F838 0035C798 7C 08 02 A6 */ mflr r0 +/* 8035F83C 0035C79C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035F840 0035C7A0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8035F844 0035C7A4 7C 7B 1B 78 */ mr r27, r3 +/* 8035F848 0035C7A8 3B DB 01 C0 */ addi r30, r27, 0x1c0 +/* 8035F84C 0035C7AC 3B BB 01 E4 */ addi r29, r27, 0x1e4 +/* 8035F850 0035C7B0 83 E3 03 EC */ lwz r31, 0x3ec(r3) +/* 8035F854 0035C7B4 48 00 01 54 */ b lbl_8035F9A8 +lbl_8035F858: +/* 8035F858 0035C7B8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035F85C 0035C7BC 28 00 00 01 */ cmplwi r0, 1 +/* 8035F860 0035C7C0 41 81 00 84 */ bgt lbl_8035F8E4 +/* 8035F864 0035C7C4 80 1F 00 08 */ lwz r0, 8(r31) +/* 8035F868 0035C7C8 38 60 00 00 */ li r3, 0 +/* 8035F86C 0035C7CC 7C 7E 01 AE */ stbx r3, r30, r0 +/* 8035F870 0035C7D0 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8035F874 0035C7D4 2C 00 FF FF */ cmpwi r0, -1 +/* 8035F878 0035C7D8 41 82 00 28 */ beq lbl_8035F8A0 +/* 8035F87C 0035C7DC 54 03 18 38 */ slwi r3, r0, 3 +/* 8035F880 0035C7E0 80 BB 04 0C */ lwz r5, 0x40c(r27) +/* 8035F884 0035C7E4 38 03 00 04 */ addi r0, r3, 4 +/* 8035F888 0035C7E8 38 80 00 00 */ li r4, 0 +/* 8035F88C 0035C7EC 7C 65 00 2E */ lwzx r3, r5, r0 +/* 8035F890 0035C7F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F894 0035C7F4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035F898 0035C7F8 7D 89 03 A6 */ mtctr r12 +/* 8035F89C 0035C7FC 4E 80 04 21 */ bctrl +lbl_8035F8A0: +/* 8035F8A0 0035C800 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8035F8A4 0035C804 2C 00 FF FF */ cmpwi r0, -1 +/* 8035F8A8 0035C808 41 82 00 28 */ beq lbl_8035F8D0 +/* 8035F8AC 0035C80C 54 03 18 38 */ slwi r3, r0, 3 +/* 8035F8B0 0035C810 80 BB 04 1C */ lwz r5, 0x41c(r27) +/* 8035F8B4 0035C814 38 03 00 04 */ addi r0, r3, 4 +/* 8035F8B8 0035C818 38 80 00 00 */ li r4, 0 +/* 8035F8BC 0035C81C 7C 65 00 2E */ lwzx r3, r5, r0 +/* 8035F8C0 0035C820 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F8C4 0035C824 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035F8C8 0035C828 7D 89 03 A6 */ mtctr r12 +/* 8035F8CC 0035C82C 4E 80 04 21 */ bctrl +lbl_8035F8D0: +/* 8035F8D0 0035C830 7F E4 FB 78 */ mr r4, r31 +/* 8035F8D4 0035C834 38 7B 03 E8 */ addi r3, r27, 0x3e8 +/* 8035F8D8 0035C838 48 00 34 65 */ bl sub_80362d3c +/* 8035F8DC 0035C83C 7C 7F 1B 78 */ mr r31, r3 +/* 8035F8E0 0035C840 48 00 00 C8 */ b lbl_8035F9A8 +lbl_8035F8E4: +/* 8035F8E4 0035C844 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8035F8E8 0035C848 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 8035F8EC 0035C84C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8035F8F0 0035C850 7F 84 18 50 */ subf r28, r4, r3 +/* 8035F8F4 0035C854 7C 64 00 50 */ subf r3, r4, r0 +/* 8035F8F8 0035C858 4B FC AE 81 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8035F8FC 0035C85C 7F 83 E3 78 */ mr r3, r28 +/* 8035F900 0035C860 4B FC AD 7D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8035F904 0035C864 88 1B 04 50 */ lbz r0, 0x450(r27) +/* 8035F908 0035C868 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035F90C 0035C86C 41 82 00 70 */ beq lbl_8035F97C +/* 8035F910 0035C870 80 1F 00 08 */ lwz r0, 8(r31) +/* 8035F914 0035C874 54 03 18 38 */ slwi r3, r0, 3 +/* 8035F918 0035C878 38 03 00 04 */ addi r0, r3, 4 +/* 8035F91C 0035C87C 7F 5D 00 2E */ lwzx r26, r29, r0 +/* 8035F920 0035C880 4B FE A6 8D */ bl White__6CColorFv +/* 8035F924 0035C884 80 03 00 00 */ lwz r0, 0(r3) +/* 8035F928 0035C888 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035F92C 0035C88C 80 7B 00 24 */ lwz r3, 0x24(r27) +/* 8035F930 0035C890 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8035F934 0035C894 28 03 00 00 */ cmplwi r3, 0 +/* 8035F938 0035C898 41 82 00 1C */ beq lbl_8035F954 +/* 8035F93C 0035C89C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F940 0035C8A0 7F 84 E3 78 */ mr r4, r28 +/* 8035F944 0035C8A4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8035F948 0035C8A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F94C 0035C8AC 7D 89 03 A6 */ mtctr r12 +/* 8035F950 0035C8B0 4E 80 04 21 */ bctrl +lbl_8035F954: +/* 8035F954 0035C8B4 38 61 00 08 */ addi r3, r1, 8 +/* 8035F958 0035C8B8 38 81 00 0C */ addi r4, r1, 0xc +/* 8035F95C 0035C8BC 38 BB 01 B8 */ addi r5, r27, 0x1b8 +/* 8035F960 0035C8C0 48 00 38 19 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035F964 0035C8C4 7F 43 D3 78 */ mr r3, r26 +/* 8035F968 0035C8C8 38 81 00 08 */ addi r4, r1, 8 +/* 8035F96C 0035C8CC 81 9A 00 00 */ lwz r12, 0(r26) +/* 8035F970 0035C8D0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8035F974 0035C8D4 7D 89 03 A6 */ mtctr r12 +/* 8035F978 0035C8D8 4E 80 04 21 */ bctrl +lbl_8035F97C: +/* 8035F97C 0035C8DC 88 1B 04 50 */ lbz r0, 0x450(r27) +/* 8035F980 0035C8E0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8035F984 0035C8E4 41 82 00 14 */ beq lbl_8035F998 +/* 8035F988 0035C8E8 80 9F 00 08 */ lwz r4, 8(r31) +/* 8035F98C 0035C8EC 7F 63 DB 78 */ mr r3, r27 +/* 8035F990 0035C8F0 7F 85 E3 78 */ mr r5, r28 +/* 8035F994 0035C8F4 4B FF FD 69 */ bl UpdateLine__17CParticleElectricFii +lbl_8035F998: +/* 8035F998 0035C8F8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8035F99C 0035C8FC 38 03 FF FF */ addi r0, r3, -1 +/* 8035F9A0 0035C900 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8035F9A4 0035C904 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8035F9A8: +/* 8035F9A8 0035C908 80 1B 03 F0 */ lwz r0, 0x3f0(r27) +/* 8035F9AC 0035C90C 7C 1F 00 40 */ cmplw r31, r0 +/* 8035F9B0 0035C910 40 82 FE A8 */ bne lbl_8035F858 +/* 8035F9B4 0035C914 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8035F9B8 0035C918 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035F9BC 0035C91C 7C 08 03 A6 */ mtlr r0 +/* 8035F9C0 0035C920 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035F9C4 0035C924 4E 80 00 20 */ blr + +.global CreateNewParticles__17CParticleElectricFi +CreateNewParticles__17CParticleElectricFi: +/* 8035F9C8 0035C928 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 8035F9CC 0035C92C 7C 08 02 A6 */ mflr r0 +/* 8035F9D0 0035C930 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8035F9D4 0035C934 BE A1 02 84 */ stmw r21, 0x284(r1) +/* 8035F9D8 0035C938 7C 76 1B 78 */ mr r22, r3 +/* 8035F9DC 0035C93C 7C 97 23 78 */ mr r23, r4 +/* 8035F9E0 0035C940 3B 40 00 00 */ li r26, 0 +/* 8035F9E4 0035C944 3B B6 01 C0 */ addi r29, r22, 0x1c0 +/* 8035F9E8 0035C948 3B 96 01 E4 */ addi r28, r22, 0x1e4 +/* 8035F9EC 0035C94C 3B 76 02 E8 */ addi r27, r22, 0x2e8 +/* 8035F9F0 0035C950 3B 20 00 00 */ li r25, 0 +/* 8035F9F4 0035C954 48 00 06 04 */ b lbl_8035FFF8 +lbl_8035F9F8: +/* 8035F9F8 0035C958 80 76 03 FC */ lwz r3, 0x3fc(r22) +/* 8035F9FC 0035C95C 80 16 01 54 */ lwz r0, 0x154(r22) +/* 8035FA00 0035C960 7C 03 00 00 */ cmpw r3, r0 +/* 8035FA04 0035C964 40 80 05 FC */ bge lbl_80360000 +/* 8035FA08 0035C968 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8035FA0C 0035C96C 38 96 00 F8 */ addi r4, r22, 0xf8 +/* 8035FA10 0035C970 4B FB 32 31 */ bl GetRotation__12CTransform4fCFv +/* 8035FA14 0035C974 38 61 02 48 */ addi r3, r1, 0x248 +/* 8035FA18 0035C978 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 8035FA1C 0035C97C 4B FB 31 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035FA20 0035C980 C0 56 01 24 */ lfs f2, 0x124(r22) +/* 8035FA24 0035C984 7F A3 EB 78 */ mr r3, r29 +/* 8035FA28 0035C988 C0 36 01 14 */ lfs f1, 0x114(r22) +/* 8035FA2C 0035C98C C0 16 01 04 */ lfs f0, 0x104(r22) +/* 8035FA30 0035C990 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8035FA34 0035C994 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8035FA38 0035C998 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8035FA3C 0035C99C 80 96 01 BC */ lwz r4, 0x1bc(r22) +/* 8035FA40 0035C9A0 7C 1A 20 50 */ subf r0, r26, r4 +/* 8035FA44 0035C9A4 7C 09 03 A6 */ mtctr r0 +/* 8035FA48 0035C9A8 7C 1A 20 00 */ cmpw r26, r4 +/* 8035FA4C 0035C9AC 40 80 05 A8 */ bge lbl_8035FFF4 +lbl_8035FA50: +/* 8035FA50 0035C9B0 88 03 00 00 */ lbz r0, 0(r3) +/* 8035FA54 0035C9B4 28 00 00 00 */ cmplwi r0, 0 +/* 8035FA58 0035C9B8 40 82 05 84 */ bne lbl_8035FFDC +/* 8035FA5C 0035C9BC 38 00 00 01 */ li r0, 1 +/* 8035FA60 0035C9C0 98 1D 00 00 */ stb r0, 0(r29) +/* 8035FA64 0035C9C4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8035FA68 0035C9C8 80 76 00 24 */ lwz r3, 0x24(r22) +/* 8035FA6C 0035C9CC 80 63 00 04 */ lwz r3, 4(r3) +/* 8035FA70 0035C9D0 28 03 00 00 */ cmplwi r3, 0 +/* 8035FA74 0035C9D4 41 82 00 1C */ beq lbl_8035FA90 +/* 8035FA78 0035C9D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FA7C 0035C9DC 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8035FA80 0035C9E0 80 96 00 28 */ lwz r4, 0x28(r22) +/* 8035FA84 0035C9E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035FA88 0035C9E8 7D 89 03 A6 */ mtctr r12 +/* 8035FA8C 0035C9EC 4E 80 04 21 */ bctrl +lbl_8035FA90: +/* 8035FA90 0035C9F0 80 F6 00 28 */ lwz r7, 0x28(r22) +/* 8035FA94 0035C9F4 38 00 FF FF */ li r0, -1 +/* 8035FA98 0035C9F8 80 C1 00 40 */ lwz r6, 0x40(r1) +/* 8035FA9C 0035C9FC 38 76 03 E8 */ addi r3, r22, 0x3e8 +/* 8035FAA0 0035CA00 93 41 00 80 */ stw r26, 0x80(r1) +/* 8035FAA4 0035CA04 38 81 00 80 */ addi r4, r1, 0x80 +/* 8035FAA8 0035CA08 7C A7 32 14 */ add r5, r7, r6 +/* 8035FAAC 0035CA0C 90 C1 00 84 */ stw r6, 0x84(r1) +/* 8035FAB0 0035CA10 90 E1 00 88 */ stw r7, 0x88(r1) +/* 8035FAB4 0035CA14 90 A1 00 8C */ stw r5, 0x8c(r1) +/* 8035FAB8 0035CA18 90 01 00 90 */ stw r0, 0x90(r1) +/* 8035FABC 0035CA1C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8035FAC0 0035CA20 48 00 06 51 */ bl sub_80360110 +/* 8035FAC4 0035CA24 80 96 03 F0 */ lwz r4, 0x3f0(r22) +/* 8035FAC8 0035CA28 80 76 00 28 */ lwz r3, 0x28(r22) +/* 8035FACC 0035CA2C 83 E4 00 00 */ lwz r31, 0(r4) +/* 8035FAD0 0035CA30 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8035FAD4 0035CA34 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8035FAD8 0035CA38 7E A4 18 50 */ subf r21, r4, r3 +/* 8035FADC 0035CA3C 7C 64 00 50 */ subf r3, r4, r0 +/* 8035FAE0 0035CA40 4B FC AC 99 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8035FAE4 0035CA44 7E A3 AB 78 */ mr r3, r21 +/* 8035FAE8 0035CA48 4B FC AB 95 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8035FAEC 0035CA4C 7E C3 B3 78 */ mr r3, r22 +/* 8035FAF0 0035CA50 48 00 15 A5 */ bl CalculatePoints__17CParticleElectricFv +/* 8035FAF4 0035CA54 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FAF8 0035CA58 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035FAFC 0035CA5C 41 82 01 3C */ beq lbl_8035FC38 +/* 8035FB00 0035CA60 83 1C 00 04 */ lwz r24, 4(r28) +/* 8035FB04 0035CA64 38 80 00 01 */ li r4, 1 +/* 8035FB08 0035CA68 7F 03 C3 78 */ mr r3, r24 +/* 8035FB0C 0035CA6C 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB10 0035CA70 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035FB14 0035CA74 7D 89 03 A6 */ mtctr r12 +/* 8035FB18 0035CA78 4E 80 04 21 */ bctrl +/* 8035FB1C 0035CA7C 7F 03 C3 78 */ mr r3, r24 +/* 8035FB20 0035CA80 38 81 00 5C */ addi r4, r1, 0x5c +/* 8035FB24 0035CA84 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB28 0035CA88 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035FB2C 0035CA8C 7D 89 03 A6 */ mtctr r12 +/* 8035FB30 0035CA90 4E 80 04 21 */ bctrl +/* 8035FB34 0035CA94 7F 03 C3 78 */ mr r3, r24 +/* 8035FB38 0035CA98 38 81 02 48 */ addi r4, r1, 0x248 +/* 8035FB3C 0035CA9C 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB40 0035CAA0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035FB44 0035CAA4 7D 89 03 A6 */ mtctr r12 +/* 8035FB48 0035CAA8 4E 80 04 21 */ bctrl +/* 8035FB4C 0035CAAC 7F 03 C3 78 */ mr r3, r24 +/* 8035FB50 0035CAB0 38 96 00 E0 */ addi r4, r22, 0xe0 +/* 8035FB54 0035CAB4 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB58 0035CAB8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8035FB5C 0035CABC 7D 89 03 A6 */ mtctr r12 +/* 8035FB60 0035CAC0 4E 80 04 21 */ bctrl +/* 8035FB64 0035CAC4 7F 03 C3 78 */ mr r3, r24 +/* 8035FB68 0035CAC8 38 96 00 EC */ addi r4, r22, 0xec +/* 8035FB6C 0035CACC 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB70 0035CAD0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035FB74 0035CAD4 7D 89 03 A6 */ mtctr r12 +/* 8035FB78 0035CAD8 4E 80 04 21 */ bctrl +/* 8035FB7C 0035CADC 4B FE A4 31 */ bl White__6CColorFv +/* 8035FB80 0035CAE0 80 03 00 00 */ lwz r0, 0(r3) +/* 8035FB84 0035CAE4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8035FB88 0035CAE8 80 76 00 24 */ lwz r3, 0x24(r22) +/* 8035FB8C 0035CAEC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8035FB90 0035CAF0 28 03 00 00 */ cmplwi r3, 0 +/* 8035FB94 0035CAF4 41 82 00 1C */ beq lbl_8035FBB0 +/* 8035FB98 0035CAF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FB9C 0035CAFC 7E A4 AB 78 */ mr r4, r21 +/* 8035FBA0 0035CB00 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8035FBA4 0035CB04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035FBA8 0035CB08 7D 89 03 A6 */ mtctr r12 +/* 8035FBAC 0035CB0C 4E 80 04 21 */ bctrl +lbl_8035FBB0: +/* 8035FBB0 0035CB10 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035FBB4 0035CB14 38 81 00 3C */ addi r4, r1, 0x3c +/* 8035FBB8 0035CB18 38 B6 01 B8 */ addi r5, r22, 0x1b8 +/* 8035FBBC 0035CB1C 48 00 35 BD */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035FBC0 0035CB20 7F 03 C3 78 */ mr r3, r24 +/* 8035FBC4 0035CB24 38 81 00 38 */ addi r4, r1, 0x38 +/* 8035FBC8 0035CB28 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FBCC 0035CB2C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8035FBD0 0035CB30 7D 89 03 A6 */ mtctr r12 +/* 8035FBD4 0035CB34 4E 80 04 21 */ bctrl +/* 8035FBD8 0035CB38 80 98 01 58 */ lwz r4, 0x158(r24) +/* 8035FBDC 0035CB3C 39 20 00 00 */ li r9, 0 +/* 8035FBE0 0035CB40 38 E0 00 00 */ li r7, 0 +/* 8035FBE4 0035CB44 48 00 00 48 */ b lbl_8035FC2C +lbl_8035FBE8: +/* 8035FBE8 0035CB48 38 A4 00 01 */ addi r5, r4, 1 +/* 8035FBEC 0035CB4C 80 16 04 2C */ lwz r0, 0x42c(r22) +/* 8035FBF0 0035CB50 7C 85 43 D6 */ divw r4, r5, r8 +/* 8035FBF4 0035CB54 80 78 01 68 */ lwz r3, 0x168(r24) +/* 8035FBF8 0035CB58 7C C0 3A 14 */ add r6, r0, r7 +/* 8035FBFC 0035CB5C C0 06 00 00 */ lfs f0, 0(r6) +/* 8035FC00 0035CB60 38 E7 00 0C */ addi r7, r7, 0xc +/* 8035FC04 0035CB64 39 29 00 01 */ addi r9, r9, 1 +/* 8035FC08 0035CB68 7C 04 41 D6 */ mullw r0, r4, r8 +/* 8035FC0C 0035CB6C 7C 80 28 50 */ subf r4, r0, r5 +/* 8035FC10 0035CB70 54 80 38 30 */ slwi r0, r4, 7 +/* 8035FC14 0035CB74 7C 63 02 14 */ add r3, r3, r0 +/* 8035FC18 0035CB78 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035FC1C 0035CB7C C0 06 00 04 */ lfs f0, 4(r6) +/* 8035FC20 0035CB80 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035FC24 0035CB84 C0 06 00 08 */ lfs f0, 8(r6) +/* 8035FC28 0035CB88 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035FC2C: +/* 8035FC2C 0035CB8C 81 18 01 60 */ lwz r8, 0x160(r24) +/* 8035FC30 0035CB90 7C 09 40 00 */ cmpw r9, r8 +/* 8035FC34 0035CB94 41 80 FF B4 */ blt lbl_8035FBE8 +lbl_8035FC38: +/* 8035FC38 0035CB98 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FC3C 0035CB9C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8035FC40 0035CBA0 41 82 01 C0 */ beq lbl_8035FE00 +/* 8035FC44 0035CBA4 83 DB 00 04 */ lwz r30, 4(r27) +/* 8035FC48 0035CBA8 38 96 04 20 */ addi r4, r22, 0x420 +/* 8035FC4C 0035CBAC 7F C3 F3 78 */ mr r3, r30 +/* 8035FC50 0035CBB0 48 00 03 C5 */ bl sub_80360014 +/* 8035FC54 0035CBB4 7E C3 B3 78 */ mr r3, r22 +/* 8035FC58 0035CBB8 7F 44 D3 78 */ mr r4, r26 +/* 8035FC5C 0035CBBC 38 A0 00 00 */ li r5, 0 +/* 8035FC60 0035CBC0 4B FF FA 9D */ bl UpdateLine__17CParticleElectricFii +/* 8035FC64 0035CBC4 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FC68 0035CBC8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035FC6C 0035CBCC 40 82 01 94 */ bne lbl_8035FE00 +/* 8035FC70 0035CBD0 C0 22 CD 4C */ lfs f1, lbl_805AEA6C@sda21(r2) +/* 8035FC74 0035CBD4 38 C0 00 00 */ li r6, 0 +/* 8035FC78 0035CBD8 C0 02 CD 50 */ lfs f0, lbl_805AEA70@sda21(r2) +/* 8035FC7C 0035CBDC 38 A0 00 00 */ li r5, 0 +/* 8035FC80 0035CBE0 D0 36 01 30 */ stfs f1, 0x130(r22) +/* 8035FC84 0035CBE4 D0 36 01 34 */ stfs f1, 0x134(r22) +/* 8035FC88 0035CBE8 D0 36 01 38 */ stfs f1, 0x138(r22) +/* 8035FC8C 0035CBEC D0 16 01 3C */ stfs f0, 0x13c(r22) +/* 8035FC90 0035CBF0 D0 16 01 40 */ stfs f0, 0x140(r22) +/* 8035FC94 0035CBF4 D0 16 01 44 */ stfs f0, 0x144(r22) +/* 8035FC98 0035CBF8 48 00 01 1C */ b lbl_8035FDB4 +lbl_8035FC9C: +/* 8035FC9C 0035CBFC 80 16 04 2C */ lwz r0, 0x42c(r22) +/* 8035FCA0 0035CC00 C0 16 01 44 */ lfs f0, 0x144(r22) +/* 8035FCA4 0035CC04 7C 60 2A 14 */ add r3, r0, r5 +/* 8035FCA8 0035CC08 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8035FCAC 0035CC0C C0 23 00 08 */ lfs f1, 8(r3) +/* 8035FCB0 0035CC10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035FCB4 0035CC14 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8035FCB8 0035CC18 40 80 00 0C */ bge lbl_8035FCC4 +/* 8035FCBC 0035CC1C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035FCC0 0035CC20 48 00 00 08 */ b lbl_8035FCC8 +lbl_8035FCC4: +/* 8035FCC4 0035CC24 38 81 00 24 */ addi r4, r1, 0x24 +lbl_8035FCC8: +/* 8035FCC8 0035CC28 C0 44 00 00 */ lfs f2, 0(r4) +/* 8035FCCC 0035CC2C C0 16 01 40 */ lfs f0, 0x140(r22) +/* 8035FCD0 0035CC30 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8035FCD4 0035CC34 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035FCD8 0035CC38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035FCDC 0035CC3C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8035FCE0 0035CC40 40 80 00 0C */ bge lbl_8035FCEC +/* 8035FCE4 0035CC44 38 81 00 28 */ addi r4, r1, 0x28 +/* 8035FCE8 0035CC48 48 00 00 08 */ b lbl_8035FCF0 +lbl_8035FCEC: +/* 8035FCEC 0035CC4C 38 81 00 2C */ addi r4, r1, 0x2c +lbl_8035FCF0: +/* 8035FCF0 0035CC50 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035FCF4 0035CC54 C0 16 01 3C */ lfs f0, 0x13c(r22) +/* 8035FCF8 0035CC58 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8035FCFC 0035CC5C C0 63 00 00 */ lfs f3, 0(r3) +/* 8035FD00 0035CC60 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8035FD04 0035CC64 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8035FD08 0035CC68 40 80 00 0C */ bge lbl_8035FD14 +/* 8035FD0C 0035CC6C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8035FD10 0035CC70 48 00 00 08 */ b lbl_8035FD18 +lbl_8035FD14: +/* 8035FD14 0035CC74 38 81 00 34 */ addi r4, r1, 0x34 +lbl_8035FD18: +/* 8035FD18 0035CC78 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035FD1C 0035CC7C D0 16 01 3C */ stfs f0, 0x13c(r22) +/* 8035FD20 0035CC80 D0 36 01 40 */ stfs f1, 0x140(r22) +/* 8035FD24 0035CC84 D0 56 01 44 */ stfs f2, 0x144(r22) +/* 8035FD28 0035CC88 C0 16 01 38 */ lfs f0, 0x138(r22) +/* 8035FD2C 0035CC8C D0 01 00 08 */ stfs f0, 8(r1) +/* 8035FD30 0035CC90 C0 23 00 08 */ lfs f1, 8(r3) +/* 8035FD34 0035CC94 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8035FD38 0035CC98 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8035FD3C 0035CC9C 40 80 00 0C */ bge lbl_8035FD48 +/* 8035FD40 0035CCA0 38 81 00 08 */ addi r4, r1, 8 +/* 8035FD44 0035CCA4 48 00 00 08 */ b lbl_8035FD4C +lbl_8035FD48: +/* 8035FD48 0035CCA8 38 81 00 0C */ addi r4, r1, 0xc +lbl_8035FD4C: +/* 8035FD4C 0035CCAC C0 44 00 00 */ lfs f2, 0(r4) +/* 8035FD50 0035CCB0 C0 16 01 34 */ lfs f0, 0x134(r22) +/* 8035FD54 0035CCB4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8035FD58 0035CCB8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035FD5C 0035CCBC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8035FD60 0035CCC0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8035FD64 0035CCC4 40 80 00 0C */ bge lbl_8035FD70 +/* 8035FD68 0035CCC8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035FD6C 0035CCCC 48 00 00 08 */ b lbl_8035FD74 +lbl_8035FD70: +/* 8035FD70 0035CCD0 38 81 00 14 */ addi r4, r1, 0x14 +lbl_8035FD74: +/* 8035FD74 0035CCD4 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035FD78 0035CCD8 C0 16 01 30 */ lfs f0, 0x130(r22) +/* 8035FD7C 0035CCDC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8035FD80 0035CCE0 C0 63 00 00 */ lfs f3, 0(r3) +/* 8035FD84 0035CCE4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8035FD88 0035CCE8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8035FD8C 0035CCEC 40 80 00 0C */ bge lbl_8035FD98 +/* 8035FD90 0035CCF0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035FD94 0035CCF4 48 00 00 08 */ b lbl_8035FD9C +lbl_8035FD98: +/* 8035FD98 0035CCF8 38 61 00 1C */ addi r3, r1, 0x1c +lbl_8035FD9C: +/* 8035FD9C 0035CCFC C0 03 00 00 */ lfs f0, 0(r3) +/* 8035FDA0 0035CD00 38 A5 00 0C */ addi r5, r5, 0xc +/* 8035FDA4 0035CD04 38 C6 00 01 */ addi r6, r6, 1 +/* 8035FDA8 0035CD08 D0 16 01 30 */ stfs f0, 0x130(r22) +/* 8035FDAC 0035CD0C D0 36 01 34 */ stfs f1, 0x134(r22) +/* 8035FDB0 0035CD10 D0 56 01 38 */ stfs f2, 0x138(r22) +lbl_8035FDB4: +/* 8035FDB4 0035CD14 80 16 04 24 */ lwz r0, 0x424(r22) +/* 8035FDB8 0035CD18 7C 06 00 00 */ cmpw r6, r0 +/* 8035FDBC 0035CD1C 41 80 FE E0 */ blt lbl_8035FC9C +/* 8035FDC0 0035CD20 38 61 00 68 */ addi r3, r1, 0x68 +/* 8035FDC4 0035CD24 38 96 01 30 */ addi r4, r22, 0x130 +/* 8035FDC8 0035CD28 38 B6 01 3C */ addi r5, r22, 0x13c +/* 8035FDCC 0035CD2C 4B FD 87 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8035FDD0 0035CD30 80 61 00 68 */ lwz r3, 0x68(r1) +/* 8035FDD4 0035CD34 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 8035FDD8 0035CD38 90 7E 00 28 */ stw r3, 0x28(r30) +/* 8035FDDC 0035CD3C 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 8035FDE0 0035CD40 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8035FDE4 0035CD44 90 1E 00 30 */ stw r0, 0x30(r30) +/* 8035FDE8 0035CD48 80 61 00 74 */ lwz r3, 0x74(r1) +/* 8035FDEC 0035CD4C 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8035FDF0 0035CD50 90 7E 00 34 */ stw r3, 0x34(r30) +/* 8035FDF4 0035CD54 90 1E 00 38 */ stw r0, 0x38(r30) +/* 8035FDF8 0035CD58 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8035FDFC 0035CD5C 90 1E 00 3C */ stw r0, 0x3c(r30) +lbl_8035FE00: +/* 8035FE00 0035CD60 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FE04 0035CD64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035FE08 0035CD68 41 82 00 DC */ beq lbl_8035FEE4 +/* 8035FE0C 0035CD6C 3B C0 00 00 */ li r30, 0 +/* 8035FE10 0035CD70 3A A0 00 00 */ li r21, 0 +/* 8035FE14 0035CD74 48 00 00 C4 */ b lbl_8035FED8 +lbl_8035FE18: +/* 8035FE18 0035CD78 80 76 04 0C */ lwz r3, 0x40c(r22) +/* 8035FE1C 0035CD7C 38 15 00 04 */ addi r0, r21, 4 +/* 8035FE20 0035CD80 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FE24 0035CD84 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FE28 0035CD88 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8035FE2C 0035CD8C 7D 89 03 A6 */ mtctr r12 +/* 8035FE30 0035CD90 4E 80 04 21 */ bctrl +/* 8035FE34 0035CD94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035FE38 0035CD98 40 82 00 98 */ bne lbl_8035FED0 +/* 8035FE3C 0035CD9C 38 61 01 28 */ addi r3, r1, 0x128 +/* 8035FE40 0035CDA0 38 96 00 EC */ addi r4, r22, 0xec +/* 8035FE44 0035CDA4 4B FB 33 81 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FE48 0035CDA8 38 61 01 58 */ addi r3, r1, 0x158 +/* 8035FE4C 0035CDAC 38 96 00 E0 */ addi r4, r22, 0xe0 +/* 8035FE50 0035CDB0 4B FB 33 75 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FE54 0035CDB4 38 61 01 88 */ addi r3, r1, 0x188 +/* 8035FE58 0035CDB8 38 81 01 58 */ addi r4, r1, 0x158 +/* 8035FE5C 0035CDBC 38 A1 01 28 */ addi r5, r1, 0x128 +/* 8035FE60 0035CDC0 4B FB 2A F1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035FE64 0035CDC4 38 61 02 18 */ addi r3, r1, 0x218 +/* 8035FE68 0035CDC8 38 81 01 88 */ addi r4, r1, 0x188 +/* 8035FE6C 0035CDCC 4B FB 2D 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035FE70 0035CDD0 80 16 04 0C */ lwz r0, 0x40c(r22) +/* 8035FE74 0035CDD4 57 D5 18 38 */ slwi r21, r30, 3 +/* 8035FE78 0035CDD8 80 B6 04 2C */ lwz r5, 0x42c(r22) +/* 8035FE7C 0035CDDC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8035FE80 0035CDE0 7C C0 AA 14 */ add r6, r0, r21 +/* 8035FE84 0035CDE4 38 81 02 18 */ addi r4, r1, 0x218 +/* 8035FE88 0035CDE8 83 06 00 04 */ lwz r24, 4(r6) +/* 8035FE8C 0035CDEC 4B FB 2C 5D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8035FE90 0035CDF0 7F 03 C3 78 */ mr r3, r24 +/* 8035FE94 0035CDF4 38 81 00 50 */ addi r4, r1, 0x50 +/* 8035FE98 0035CDF8 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FE9C 0035CDFC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8035FEA0 0035CE00 7D 89 03 A6 */ mtctr r12 +/* 8035FEA4 0035CE04 4E 80 04 21 */ bctrl +/* 8035FEA8 0035CE08 80 76 04 0C */ lwz r3, 0x40c(r22) +/* 8035FEAC 0035CE0C 38 15 00 04 */ addi r0, r21, 4 +/* 8035FEB0 0035CE10 38 80 00 01 */ li r4, 1 +/* 8035FEB4 0035CE14 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FEB8 0035CE18 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FEBC 0035CE1C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035FEC0 0035CE20 7D 89 03 A6 */ mtctr r12 +/* 8035FEC4 0035CE24 4E 80 04 21 */ bctrl +/* 8035FEC8 0035CE28 93 DF 00 18 */ stw r30, 0x18(r31) +/* 8035FECC 0035CE2C 48 00 00 18 */ b lbl_8035FEE4 +lbl_8035FED0: +/* 8035FED0 0035CE30 3A B5 00 08 */ addi r21, r21, 8 +/* 8035FED4 0035CE34 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035FED8: +/* 8035FED8 0035CE38 80 16 01 54 */ lwz r0, 0x154(r22) +/* 8035FEDC 0035CE3C 7C 1E 00 00 */ cmpw r30, r0 +/* 8035FEE0 0035CE40 41 80 FF 38 */ blt lbl_8035FE18 +lbl_8035FEE4: +/* 8035FEE4 0035CE44 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FEE8 0035CE48 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035FEEC 0035CE4C 41 82 01 08 */ beq lbl_8035FFF4 +/* 8035FEF0 0035CE50 3B 00 00 00 */ li r24, 0 +/* 8035FEF4 0035CE54 3A A0 00 00 */ li r21, 0 +/* 8035FEF8 0035CE58 48 00 00 D4 */ b lbl_8035FFCC +lbl_8035FEFC: +/* 8035FEFC 0035CE5C 80 76 04 1C */ lwz r3, 0x41c(r22) +/* 8035FF00 0035CE60 38 15 00 04 */ addi r0, r21, 4 +/* 8035FF04 0035CE64 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FF08 0035CE68 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FF0C 0035CE6C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8035FF10 0035CE70 7D 89 03 A6 */ mtctr r12 +/* 8035FF14 0035CE74 4E 80 04 21 */ bctrl +/* 8035FF18 0035CE78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035FF1C 0035CE7C 40 82 00 A8 */ bne lbl_8035FFC4 +/* 8035FF20 0035CE80 38 61 00 98 */ addi r3, r1, 0x98 +/* 8035FF24 0035CE84 38 96 00 EC */ addi r4, r22, 0xec +/* 8035FF28 0035CE88 4B FB 32 9D */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FF2C 0035CE8C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8035FF30 0035CE90 38 96 00 E0 */ addi r4, r22, 0xe0 +/* 8035FF34 0035CE94 4B FB 32 91 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FF38 0035CE98 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8035FF3C 0035CE9C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8035FF40 0035CEA0 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8035FF44 0035CEA4 4B FB 2A 0D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035FF48 0035CEA8 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8035FF4C 0035CEAC 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8035FF50 0035CEB0 4B FB 2C 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035FF54 0035CEB4 80 96 04 24 */ lwz r4, 0x424(r22) +/* 8035FF58 0035CEB8 57 1E 18 38 */ slwi r30, r24, 3 +/* 8035FF5C 0035CEBC 80 D6 04 1C */ lwz r6, 0x41c(r22) +/* 8035FF60 0035CEC0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8035FF64 0035CEC4 38 04 FF FF */ addi r0, r4, -1 +/* 8035FF68 0035CEC8 80 B6 04 2C */ lwz r5, 0x42c(r22) +/* 8035FF6C 0035CECC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035FF70 0035CED0 7C 86 F2 14 */ add r4, r6, r30 +/* 8035FF74 0035CED4 82 A4 00 04 */ lwz r21, 4(r4) +/* 8035FF78 0035CED8 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 8035FF7C 0035CEDC 7C A5 02 14 */ add r5, r5, r0 +/* 8035FF80 0035CEE0 4B FB 2B 69 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8035FF84 0035CEE4 7E A3 AB 78 */ mr r3, r21 +/* 8035FF88 0035CEE8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8035FF8C 0035CEEC 81 95 00 00 */ lwz r12, 0(r21) +/* 8035FF90 0035CEF0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8035FF94 0035CEF4 7D 89 03 A6 */ mtctr r12 +/* 8035FF98 0035CEF8 4E 80 04 21 */ bctrl +/* 8035FF9C 0035CEFC 80 76 04 1C */ lwz r3, 0x41c(r22) +/* 8035FFA0 0035CF00 38 1E 00 04 */ addi r0, r30, 4 +/* 8035FFA4 0035CF04 38 80 00 01 */ li r4, 1 +/* 8035FFA8 0035CF08 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FFAC 0035CF0C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FFB0 0035CF10 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035FFB4 0035CF14 7D 89 03 A6 */ mtctr r12 +/* 8035FFB8 0035CF18 4E 80 04 21 */ bctrl +/* 8035FFBC 0035CF1C 93 1F 00 1C */ stw r24, 0x1c(r31) +/* 8035FFC0 0035CF20 48 00 00 34 */ b lbl_8035FFF4 +lbl_8035FFC4: +/* 8035FFC4 0035CF24 3A B5 00 08 */ addi r21, r21, 8 +/* 8035FFC8 0035CF28 3B 18 00 01 */ addi r24, r24, 1 +lbl_8035FFCC: +/* 8035FFCC 0035CF2C 80 16 01 54 */ lwz r0, 0x154(r22) +/* 8035FFD0 0035CF30 7C 18 00 00 */ cmpw r24, r0 +/* 8035FFD4 0035CF34 41 80 FF 28 */ blt lbl_8035FEFC +/* 8035FFD8 0035CF38 48 00 00 1C */ b lbl_8035FFF4 +lbl_8035FFDC: +/* 8035FFDC 0035CF3C 38 63 00 01 */ addi r3, r3, 1 +/* 8035FFE0 0035CF40 3B BD 00 01 */ addi r29, r29, 1 +/* 8035FFE4 0035CF44 3B 9C 00 08 */ addi r28, r28, 8 +/* 8035FFE8 0035CF48 3B 7B 00 08 */ addi r27, r27, 8 +/* 8035FFEC 0035CF4C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8035FFF0 0035CF50 42 00 FA 60 */ bdnz lbl_8035FA50 +lbl_8035FFF4: +/* 8035FFF4 0035CF54 3B 39 00 01 */ addi r25, r25, 1 +lbl_8035FFF8: +/* 8035FFF8 0035CF58 7C 19 B8 00 */ cmpw r25, r23 +/* 8035FFFC 0035CF5C 41 80 F9 FC */ blt lbl_8035F9F8 +lbl_80360000: +/* 80360000 0035CF60 BA A1 02 84 */ lmw r21, 0x284(r1) +/* 80360004 0035CF64 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 80360008 0035CF68 7C 08 03 A6 */ mtlr r0 +/* 8036000C 0035CF6C 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 80360010 0035CF70 4E 80 00 20 */ blr + +.global sub_80360014 +sub_80360014: +/* 80360014 0035CF74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80360018 0035CF78 7C 08 02 A6 */ mflr r0 +/* 8036001C 0035CF7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80360020 0035CF80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80360024 0035CF84 7C 9F 23 78 */ mr r31, r4 +/* 80360028 0035CF88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036002C 0035CF8C 7C 7E 1B 78 */ mr r30, r3 +/* 80360030 0035CF90 7C 1E F8 40 */ cmplw r30, r31 +/* 80360034 0035CF94 40 82 00 08 */ bne lbl_8036003C +/* 80360038 0035CF98 48 00 00 C0 */ b lbl_803600F8 +lbl_8036003C: +/* 8036003C 0035CF9C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80360040 0035CFA0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80360044 0035CFA4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80360048 0035CFA8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036004C 0035CFAC 7C 03 02 14 */ add r0, r3, r0 +/* 80360050 0035CFB0 90 61 00 08 */ stw r3, 8(r1) +/* 80360054 0035CFB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360058 0035CFB8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036005C 0035CFBC 48 00 00 08 */ b lbl_80360064 +lbl_80360060: +/* 80360060 0035CFC0 38 63 00 0C */ addi r3, r3, 0xc +lbl_80360064: +/* 80360064 0035CFC4 7C 03 00 40 */ cmplw r3, r0 +/* 80360068 0035CFC8 40 82 FF F8 */ bne lbl_80360060 +/* 8036006C 0035CFCC 38 00 00 00 */ li r0, 0 +/* 80360070 0035CFD0 90 1E 00 04 */ stw r0, 4(r30) +/* 80360074 0035CFD4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80360078 0035CFD8 2C 04 00 00 */ cmpwi r4, 0 +/* 8036007C 0035CFDC 40 82 00 20 */ bne lbl_8036009C +/* 80360080 0035CFE0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80360084 0035CFE4 4B FB 58 AD */ bl Free__7CMemoryFPCv +/* 80360088 0035CFE8 38 00 00 00 */ li r0, 0 +/* 8036008C 0035CFEC 90 1E 00 04 */ stw r0, 4(r30) +/* 80360090 0035CFF0 90 1E 00 08 */ stw r0, 8(r30) +/* 80360094 0035CFF4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80360098 0035CFF8 48 00 00 5C */ b lbl_803600F4 +lbl_8036009C: +/* 8036009C 0035CFFC 7F C3 F3 78 */ mr r3, r30 +/* 803600A0 0035D000 48 00 2D 91 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi" +/* 803600A4 0035D004 80 1F 00 04 */ lwz r0, 4(r31) +/* 803600A8 0035D008 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 803600AC 0035D00C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803600B0 0035D010 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803600B4 0035D014 7C 04 02 14 */ add r0, r4, r0 +/* 803600B8 0035D018 48 00 00 2C */ b lbl_803600E4 +lbl_803600BC: +/* 803600BC 0035D01C 28 03 00 00 */ cmplwi r3, 0 +/* 803600C0 0035D020 41 82 00 1C */ beq lbl_803600DC +/* 803600C4 0035D024 C0 04 00 00 */ lfs f0, 0(r4) +/* 803600C8 0035D028 D0 03 00 00 */ stfs f0, 0(r3) +/* 803600CC 0035D02C C0 04 00 04 */ lfs f0, 4(r4) +/* 803600D0 0035D030 D0 03 00 04 */ stfs f0, 4(r3) +/* 803600D4 0035D034 C0 04 00 08 */ lfs f0, 8(r4) +/* 803600D8 0035D038 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803600DC: +/* 803600DC 0035D03C 38 63 00 0C */ addi r3, r3, 0xc +/* 803600E0 0035D040 38 84 00 0C */ addi r4, r4, 0xc +lbl_803600E4: +/* 803600E4 0035D044 7C 04 00 40 */ cmplw r4, r0 +/* 803600E8 0035D048 40 82 FF D4 */ bne lbl_803600BC +/* 803600EC 0035D04C 80 1F 00 04 */ lwz r0, 4(r31) +/* 803600F0 0035D050 90 1E 00 04 */ stw r0, 4(r30) +lbl_803600F4: +/* 803600F4 0035D054 7F C3 F3 78 */ mr r3, r30 +lbl_803600F8: +/* 803600F8 0035D058 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803600FC 0035D05C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360100 0035D060 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360104 0035D064 7C 08 03 A6 */ mtlr r0 +/* 80360108 0035D068 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036010C 0035D06C 4E 80 00 20 */ blr + +.global sub_80360110 +sub_80360110: +/* 80360110 0035D070 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80360114 0035D074 7C 08 02 A6 */ mflr r0 +/* 80360118 0035D078 7C 85 23 78 */ mr r5, r4 +/* 8036011C 0035D07C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360120 0035D080 80 83 00 08 */ lwz r4, 8(r3) +/* 80360124 0035D084 48 00 00 15 */ bl sub_80360138 +/* 80360128 0035D088 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036012C 0035D08C 7C 08 03 A6 */ mtlr r0 +/* 80360130 0035D090 38 21 00 10 */ addi r1, r1, 0x10 +/* 80360134 0035D094 4E 80 00 20 */ blr + +.global sub_80360138 +sub_80360138: +/* 80360138 0035D098 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036013C 0035D09C 7C 08 02 A6 */ mflr r0 +/* 80360140 0035D0A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80360144 0035D0A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80360148 0035D0A8 7C 7F 1B 78 */ mr r31, r3 +/* 8036014C 0035D0AC 38 60 00 20 */ li r3, 0x20 +/* 80360150 0035D0B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80360154 0035D0B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80360158 0035D0B8 7C BD 2B 78 */ mr r29, r5 +/* 8036015C 0035D0BC 38 A0 00 00 */ li r5, 0 +/* 80360160 0035D0C0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80360164 0035D0C4 7C 9C 23 78 */ mr r28, r4 +/* 80360168 0035D0C8 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 8036016C 0035D0CC 83 DC 00 00 */ lwz r30, 0(r28) +/* 80360170 0035D0D0 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 80360174 0035D0D4 4B FB 56 A5 */ bl __nwa__FUlPCcPCc +/* 80360178 0035D0D8 28 03 00 00 */ cmplwi r3, 0 +/* 8036017C 0035D0DC 41 82 00 0C */ beq lbl_80360188 +/* 80360180 0035D0E0 93 C3 00 00 */ stw r30, 0(r3) +/* 80360184 0035D0E4 93 83 00 04 */ stw r28, 4(r3) +lbl_80360188: +/* 80360188 0035D0E8 34 83 00 08 */ addic. r4, r3, 8 +/* 8036018C 0035D0EC 41 82 00 34 */ beq lbl_803601C0 +/* 80360190 0035D0F0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80360194 0035D0F4 90 04 00 00 */ stw r0, 0(r4) +/* 80360198 0035D0F8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8036019C 0035D0FC 90 04 00 04 */ stw r0, 4(r4) +/* 803601A0 0035D100 80 1D 00 08 */ lwz r0, 8(r29) +/* 803601A4 0035D104 90 04 00 08 */ stw r0, 8(r4) +/* 803601A8 0035D108 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803601AC 0035D10C 90 04 00 0C */ stw r0, 0xc(r4) +/* 803601B0 0035D110 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 803601B4 0035D114 90 04 00 10 */ stw r0, 0x10(r4) +/* 803601B8 0035D118 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 803601BC 0035D11C 90 04 00 14 */ stw r0, 0x14(r4) +lbl_803601C0: +/* 803601C0 0035D120 80 1F 00 04 */ lwz r0, 4(r31) +/* 803601C4 0035D124 7C 1C 00 40 */ cmplw r28, r0 +/* 803601C8 0035D128 40 82 00 08 */ bne lbl_803601D0 +/* 803601CC 0035D12C 90 7F 00 04 */ stw r3, 4(r31) +lbl_803601D0: +/* 803601D0 0035D130 80 83 00 00 */ lwz r4, 0(r3) +/* 803601D4 0035D134 90 64 00 04 */ stw r3, 4(r4) +/* 803601D8 0035D138 80 83 00 04 */ lwz r4, 4(r3) +/* 803601DC 0035D13C 90 64 00 00 */ stw r3, 0(r4) +/* 803601E0 0035D140 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 803601E4 0035D144 38 04 00 01 */ addi r0, r4, 1 +/* 803601E8 0035D148 90 1F 00 14 */ stw r0, 0x14(r31) +/* 803601EC 0035D14C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803601F0 0035D150 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803601F4 0035D154 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803601F8 0035D158 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803601FC 0035D15C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80360200 0035D160 7C 08 03 A6 */ mtlr r0 +/* 80360204 0035D164 38 21 00 20 */ addi r1, r1, 0x20 +/* 80360208 0035D168 4E 80 00 20 */ blr + +.global AddElectricalEffects__17CParticleElectricFv +AddElectricalEffects__17CParticleElectricFv: +/* 8036020C 0035D16C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80360210 0035D170 7C 08 02 A6 */ mflr r0 +/* 80360214 0035D174 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 80360218 0035D178 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036021C 0035D17C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80360220 0035D180 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80360224 0035D184 7C 7E 1B 78 */ mr r30, r3 +/* 80360228 0035D188 D0 01 00 08 */ stfs f0, 8(r1) +/* 8036022C 0035D18C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80360230 0035D190 80 63 00 08 */ lwz r3, 8(r3) +/* 80360234 0035D194 28 03 00 00 */ cmplwi r3, 0 +/* 80360238 0035D198 41 82 00 94 */ beq lbl_803602CC +/* 8036023C 0035D19C 81 83 00 00 */ lwz r12, 0(r3) +/* 80360240 0035D1A0 38 A1 00 08 */ addi r5, r1, 8 +/* 80360244 0035D1A4 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80360248 0035D1A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8036024C 0035D1AC 7D 89 03 A6 */ mtctr r12 +/* 80360250 0035D1B0 4E 80 04 21 */ bctrl +/* 80360254 0035D1B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80360258 0035D1B8 41 82 00 50 */ beq lbl_803602A8 +/* 8036025C 0035D1BC 83 FE 03 F0 */ lwz r31, 0x3f0(r30) +/* 80360260 0035D1C0 80 9E 03 EC */ lwz r4, 0x3ec(r30) +/* 80360264 0035D1C4 48 00 00 10 */ b lbl_80360274 +lbl_80360268: +/* 80360268 0035D1C8 38 7E 03 E8 */ addi r3, r30, 0x3e8 +/* 8036026C 0035D1CC 48 00 2A D1 */ bl sub_80362d3c +/* 80360270 0035D1D0 7C 64 1B 78 */ mr r4, r3 +lbl_80360274: +/* 80360274 0035D1D4 7C 04 F8 40 */ cmplw r4, r31 +/* 80360278 0035D1D8 40 82 FF F0 */ bne lbl_80360268 +/* 8036027C 0035D1DC 38 9E 01 C0 */ addi r4, r30, 0x1c0 +/* 80360280 0035D1E0 38 A0 00 00 */ li r5, 0 +/* 80360284 0035D1E4 38 60 00 00 */ li r3, 0 +/* 80360288 0035D1E8 48 00 00 10 */ b lbl_80360298 +lbl_8036028C: +/* 8036028C 0035D1EC 98 64 00 00 */ stb r3, 0(r4) +/* 80360290 0035D1F0 38 84 00 01 */ addi r4, r4, 1 +/* 80360294 0035D1F4 38 A5 00 01 */ addi r5, r5, 1 +lbl_80360298: +/* 80360298 0035D1F8 80 1E 01 BC */ lwz r0, 0x1bc(r30) +/* 8036029C 0035D1FC 7C 05 00 00 */ cmpw r5, r0 +/* 803602A0 0035D200 41 80 FF EC */ blt lbl_8036028C +/* 803602A4 0035D204 48 00 00 7C */ b lbl_80360320 +lbl_803602A8: +/* 803602A8 0035D208 C0 2D 9E 58 */ lfs f1, lbl_805A8A18@sda21(r13) +/* 803602AC 0035D20C C0 01 00 08 */ lfs f0, 8(r1) +/* 803602B0 0035D210 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803602B4 0035D214 40 80 00 0C */ bge lbl_803602C0 +/* 803602B8 0035D218 38 61 00 08 */ addi r3, r1, 8 +/* 803602BC 0035D21C 48 00 00 08 */ b lbl_803602C4 +lbl_803602C0: +/* 803602C0 0035D220 38 6D 9E 58 */ addi r3, r13, lbl_805A8A18@sda21 +lbl_803602C4: +/* 803602C4 0035D224 C0 03 00 00 */ lfs f0, 0(r3) +/* 803602C8 0035D228 D0 01 00 08 */ stfs f0, 8(r1) +lbl_803602CC: +/* 803602CC 0035D22C C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 803602D0 0035D230 C0 01 00 08 */ lfs f0, 8(r1) +/* 803602D4 0035D234 EC 01 00 2A */ fadds f0, f1, f0 +/* 803602D8 0035D238 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 803602DC 0035D23C C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 803602E0 0035D240 48 03 41 E5 */ bl floor +/* 803602E4 0035D244 FC 00 08 1E */ fctiwz f0, f1 +/* 803602E8 0035D248 3C 00 43 30 */ lis r0, 0x4330 +/* 803602EC 0035D24C 90 01 00 18 */ stw r0, 0x18(r1) +/* 803602F0 0035D250 7F C3 F3 78 */ mr r3, r30 +/* 803602F4 0035D254 C8 22 CD 58 */ lfd f1, lbl_805AEA78@sda21(r2) +/* 803602F8 0035D258 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 803602FC 0035D25C C0 5E 01 5C */ lfs f2, 0x15c(r30) +/* 80360300 0035D260 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80360304 0035D264 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80360308 0035D268 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8036030C 0035D26C C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80360310 0035D270 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80360314 0035D274 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80360318 0035D278 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 8036031C 0035D27C 4B FF F6 AD */ bl CreateNewParticles__17CParticleElectricFi +lbl_80360320: +/* 80360320 0035D280 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80360324 0035D284 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80360328 0035D288 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036032C 0035D28C 7C 08 03 A6 */ mtlr r0 +/* 80360330 0035D290 38 21 00 30 */ addi r1, r1, 0x30 +/* 80360334 0035D294 4E 80 00 20 */ blr + +.global "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +"DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor": +/* 80360338 0035D298 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036033C 0035D29C 7C 08 02 A6 */ mflr r0 +/* 80360340 0035D2A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80360344 0035D2A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80360348 0035D2A8 7C 9F 23 78 */ mr r31, r4 +/* 8036034C 0035D2AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80360350 0035D2B0 7C BE 2B 78 */ mr r30, r5 +/* 80360354 0035D2B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80360358 0035D2B8 7C 7D 1B 78 */ mr r29, r3 +/* 8036035C 0035D2BC 38 60 00 00 */ li r3, 0 +/* 80360360 0035D2C0 4B FA B0 79 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 80360364 0035D2C4 7F A3 EB 78 */ mr r3, r29 +/* 80360368 0035D2C8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8036036C 0035D2CC 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 80360370 0035D2D0 7D 89 03 A6 */ mtctr r12 +/* 80360374 0035D2D4 4E 80 04 21 */ bctrl +/* 80360378 0035D2D8 7C 64 1B 78 */ mr r4, r3 +/* 8036037C 0035D2DC 7F C5 F3 78 */ mr r5, r30 +/* 80360380 0035D2E0 38 61 00 08 */ addi r3, r1, 8 +/* 80360384 0035D2E4 48 00 2D F5 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80360388 0035D2E8 38 81 00 08 */ addi r4, r1, 8 +/* 8036038C 0035D2EC 38 60 00 00 */ li r3, 0 +/* 80360390 0035D2F0 4B FA 88 B5 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 80360394 0035D2F4 83 DF 00 04 */ lwz r30, 4(r31) +/* 80360398 0035D2F8 38 60 00 B0 */ li r3, 0xb0 +/* 8036039C 0035D2FC 38 80 00 00 */ li r4, 0 +/* 803603A0 0035D300 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 803603A4 0035D304 4B FA 81 E1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 803603A8 0035D308 2C 1E 00 00 */ cmpwi r30, 0 +/* 803603AC 0035D30C 39 80 00 00 */ li r12, 0 +/* 803603B0 0035D310 40 81 01 94 */ ble lbl_80360544 +/* 803603B4 0035D314 2C 1E 00 08 */ cmpwi r30, 8 +/* 803603B8 0035D318 38 9E FF F8 */ addi r4, r30, -8 +/* 803603BC 0035D31C 40 81 01 48 */ ble lbl_80360504 +/* 803603C0 0035D320 38 04 00 07 */ addi r0, r4, 7 +/* 803603C4 0035D324 38 A0 00 00 */ li r5, 0 +/* 803603C8 0035D328 54 00 E8 FE */ srwi r0, r0, 3 +/* 803603CC 0035D32C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 803603D0 0035D330 7C 09 03 A6 */ mtctr r0 +/* 803603D4 0035D334 2C 04 00 00 */ cmpwi r4, 0 +/* 803603D8 0035D338 40 81 01 2C */ ble lbl_80360504 +lbl_803603DC: +/* 803603DC 0035D33C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803603E0 0035D340 39 65 00 0C */ addi r11, r5, 0xc +/* 803603E4 0035D344 39 45 00 18 */ addi r10, r5, 0x18 +/* 803603E8 0035D348 39 25 00 24 */ addi r9, r5, 0x24 +/* 803603EC 0035D34C 7C 80 2A 14 */ add r4, r0, r5 +/* 803603F0 0035D350 39 05 00 30 */ addi r8, r5, 0x30 +/* 803603F4 0035D354 C0 44 00 08 */ lfs f2, 8(r4) +/* 803603F8 0035D358 38 E5 00 3C */ addi r7, r5, 0x3c +/* 803603FC 0035D35C C0 24 00 04 */ lfs f1, 4(r4) +/* 80360400 0035D360 38 C5 00 48 */ addi r6, r5, 0x48 +/* 80360404 0035D364 C0 04 00 00 */ lfs f0, 0(r4) +/* 80360408 0035D368 38 85 00 54 */ addi r4, r5, 0x54 +/* 8036040C 0035D36C 38 A5 00 60 */ addi r5, r5, 0x60 +/* 80360410 0035D370 39 8C 00 08 */ addi r12, r12, 8 +/* 80360414 0035D374 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360418 0035D378 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8036041C 0035D37C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80360420 0035D380 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360424 0035D384 7D 60 5A 14 */ add r11, r0, r11 +/* 80360428 0035D388 C0 2B 00 08 */ lfs f1, 8(r11) +/* 8036042C 0035D38C C0 4B 00 04 */ lfs f2, 4(r11) +/* 80360430 0035D390 C0 0B 00 00 */ lfs f0, 0(r11) +/* 80360434 0035D394 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360438 0035D398 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036043C 0035D39C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360440 0035D3A0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360444 0035D3A4 7D 40 52 14 */ add r10, r0, r10 +/* 80360448 0035D3A8 C0 2A 00 08 */ lfs f1, 8(r10) +/* 8036044C 0035D3AC C0 4A 00 04 */ lfs f2, 4(r10) +/* 80360450 0035D3B0 C0 0A 00 00 */ lfs f0, 0(r10) +/* 80360454 0035D3B4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360458 0035D3B8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036045C 0035D3BC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360460 0035D3C0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360464 0035D3C4 7D 20 4A 14 */ add r9, r0, r9 +/* 80360468 0035D3C8 C0 29 00 08 */ lfs f1, 8(r9) +/* 8036046C 0035D3CC C0 49 00 04 */ lfs f2, 4(r9) +/* 80360470 0035D3D0 C0 09 00 00 */ lfs f0, 0(r9) +/* 80360474 0035D3D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360478 0035D3D8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036047C 0035D3DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360480 0035D3E0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360484 0035D3E4 7D 00 42 14 */ add r8, r0, r8 +/* 80360488 0035D3E8 C0 28 00 08 */ lfs f1, 8(r8) +/* 8036048C 0035D3EC C0 48 00 04 */ lfs f2, 4(r8) +/* 80360490 0035D3F0 C0 08 00 00 */ lfs f0, 0(r8) +/* 80360494 0035D3F4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360498 0035D3F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036049C 0035D3FC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803604A0 0035D400 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803604A4 0035D404 7C E0 3A 14 */ add r7, r0, r7 +/* 803604A8 0035D408 C0 27 00 08 */ lfs f1, 8(r7) +/* 803604AC 0035D40C C0 47 00 04 */ lfs f2, 4(r7) +/* 803604B0 0035D410 C0 07 00 00 */ lfs f0, 0(r7) +/* 803604B4 0035D414 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803604B8 0035D418 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803604BC 0035D41C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803604C0 0035D420 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803604C4 0035D424 7C C0 32 14 */ add r6, r0, r6 +/* 803604C8 0035D428 C0 26 00 08 */ lfs f1, 8(r6) +/* 803604CC 0035D42C C0 46 00 04 */ lfs f2, 4(r6) +/* 803604D0 0035D430 C0 06 00 00 */ lfs f0, 0(r6) +/* 803604D4 0035D434 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803604D8 0035D438 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803604DC 0035D43C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803604E0 0035D440 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803604E4 0035D444 7C 80 22 14 */ add r4, r0, r4 +/* 803604E8 0035D448 C0 24 00 08 */ lfs f1, 8(r4) +/* 803604EC 0035D44C C0 44 00 04 */ lfs f2, 4(r4) +/* 803604F0 0035D450 C0 04 00 00 */ lfs f0, 0(r4) +/* 803604F4 0035D454 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803604F8 0035D458 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803604FC 0035D45C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360500 0035D460 42 00 FE DC */ bdnz lbl_803603DC +lbl_80360504: +/* 80360504 0035D464 7C 0C F0 50 */ subf r0, r12, r30 +/* 80360508 0035D468 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8036050C 0035D46C 1C 8C 00 0C */ mulli r4, r12, 0xc +/* 80360510 0035D470 7C 09 03 A6 */ mtctr r0 +/* 80360514 0035D474 7C 0C F0 00 */ cmpw r12, r30 +/* 80360518 0035D478 40 80 00 2C */ bge lbl_80360544 +lbl_8036051C: +/* 8036051C 0035D47C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360520 0035D480 7C A0 22 14 */ add r5, r0, r4 +/* 80360524 0035D484 38 84 00 0C */ addi r4, r4, 0xc +/* 80360528 0035D488 C0 25 00 08 */ lfs f1, 8(r5) +/* 8036052C 0035D48C C0 45 00 04 */ lfs f2, 4(r5) +/* 80360530 0035D490 C0 05 00 00 */ lfs f0, 0(r5) +/* 80360534 0035D494 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360538 0035D498 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036053C 0035D49C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360540 0035D4A0 42 00 FF DC */ bdnz lbl_8036051C +lbl_80360544: +/* 80360544 0035D4A4 4B FA 80 3D */ bl End__3CGXFv +/* 80360548 0035D4A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036054C 0035D4AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360550 0035D4B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360554 0035D4B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80360558 0035D4B8 7C 08 03 A6 */ mtlr r0 +/* 8036055C 0035D4BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80360560 0035D4C0 4E 80 00 20 */ blr + +.global SetupLineGXMaterial__17CParticleElectricFv +SetupLineGXMaterial__17CParticleElectricFv: +/* 80360564 0035D4C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80360568 0035D4C8 7C 08 02 A6 */ mflr r0 +/* 8036056C 0035D4CC 3C 60 80 3E */ lis r3, lbl_803D83E8@ha +/* 80360570 0035D4D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360574 0035D4D4 38 63 83 E8 */ addi r3, r3, lbl_803D83E8@l +/* 80360578 0035D4D8 4B FA 78 B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8036057C 0035D4DC 38 60 00 01 */ li r3, 1 +/* 80360580 0035D4E0 4B FA 88 D1 */ bl SetNumChans__3CGXFUc +/* 80360584 0035D4E4 38 60 00 00 */ li r3, 0 +/* 80360588 0035D4E8 4B FA 88 8D */ bl SetNumTexGens__3CGXFUc +/* 8036058C 0035D4EC 38 60 00 01 */ li r3, 1 +/* 80360590 0035D4F0 4B FA 87 01 */ bl SetNumTevStages__3CGXFUc +/* 80360594 0035D4F4 38 60 00 00 */ li r3, 0 +/* 80360598 0035D4F8 38 80 00 00 */ li r4, 0 +/* 8036059C 0035D4FC 38 A0 00 00 */ li r5, 0 +/* 803605A0 0035D500 38 C0 00 00 */ li r6, 0 +/* 803605A4 0035D504 38 E0 00 00 */ li r7, 0 +/* 803605A8 0035D508 39 00 00 00 */ li r8, 0 +/* 803605AC 0035D50C 39 20 00 02 */ li r9, 2 +/* 803605B0 0035D510 4B FA 87 1D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 803605B4 0035D514 38 60 00 00 */ li r3, 0 +/* 803605B8 0035D518 38 80 00 0F */ li r4, 0xf +/* 803605BC 0035D51C 38 A0 00 0F */ li r5, 0xf +/* 803605C0 0035D520 38 C0 00 0F */ li r6, 0xf +/* 803605C4 0035D524 38 E0 00 0E */ li r7, 0xe +/* 803605C8 0035D528 4B FA 86 25 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 803605CC 0035D52C 38 60 00 00 */ li r3, 0 +/* 803605D0 0035D530 38 80 00 07 */ li r4, 7 +/* 803605D4 0035D534 38 A0 00 07 */ li r5, 7 +/* 803605D8 0035D538 38 C0 00 07 */ li r6, 7 +/* 803605DC 0035D53C 38 E0 00 06 */ li r7, 6 +/* 803605E0 0035D540 4B FA 85 B5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 803605E4 0035D544 38 60 00 00 */ li r3, 0 +/* 803605E8 0035D548 4B FA 76 69 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803605EC 0035D54C 38 60 00 00 */ li r3, 0 +/* 803605F0 0035D550 38 80 00 0C */ li r4, 0xc +/* 803605F4 0035D554 4B FA 83 ED */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 803605F8 0035D558 38 60 00 00 */ li r3, 0 +/* 803605FC 0035D55C 38 80 00 1C */ li r4, 0x1c +/* 80360600 0035D560 4B FA 83 9D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80360604 0035D564 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80360608 0035D568 7C 08 03 A6 */ mtlr r0 +/* 8036060C 0035D56C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80360610 0035D570 4E 80 00 20 */ blr + +.global RenderLines__17CParticleElectricFv +RenderLines__17CParticleElectricFv: +/* 80360614 0035D574 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80360618 0035D578 7C 08 02 A6 */ mflr r0 +/* 8036061C 0035D57C 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80360620 0035D580 93 E1 01 CC */ stw r31, 0x1cc(r1) +/* 80360624 0035D584 93 C1 01 C8 */ stw r30, 0x1c8(r1) +/* 80360628 0035D588 93 A1 01 C4 */ stw r29, 0x1c4(r1) +/* 8036062C 0035D58C 93 81 01 C0 */ stw r28, 0x1c0(r1) +/* 80360630 0035D590 7C 7C 1B 78 */ mr r28, r3 +/* 80360634 0035D594 4B FA C3 49 */ bl DisableAllLights__9CGraphicsFv +/* 80360638 0035D598 38 60 00 01 */ li r3, 1 +/* 8036063C 0035D59C 38 80 00 03 */ li r4, 3 +/* 80360640 0035D5A0 38 A0 00 00 */ li r5, 0 +/* 80360644 0035D5A4 4B FA B4 51 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80360648 0035D5A8 38 60 00 01 */ li r3, 1 +/* 8036064C 0035D5AC 38 80 00 04 */ li r4, 4 +/* 80360650 0035D5B0 38 A0 00 01 */ li r5, 1 +/* 80360654 0035D5B4 38 C0 00 00 */ li r6, 0 +/* 80360658 0035D5B8 4B FA B3 F9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8036065C 0035D5BC 38 61 00 08 */ addi r3, r1, 8 +/* 80360660 0035D5C0 38 9C 00 EC */ addi r4, r28, 0xec +/* 80360664 0035D5C4 4B FB 2B 61 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80360668 0035D5C8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8036066C 0035D5CC 38 9C 00 E0 */ addi r4, r28, 0xe0 +/* 80360670 0035D5D0 4B FB 2B 55 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80360674 0035D5D4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80360678 0035D5D8 38 9C 00 38 */ addi r4, r28, 0x38 +/* 8036067C 0035D5DC 4B FB 2A C5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80360680 0035D5E0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80360684 0035D5E4 38 9C 00 A4 */ addi r4, r28, 0xa4 +/* 80360688 0035D5E8 4B FB 2A B9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8036068C 0035D5EC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80360690 0035D5F0 38 81 00 98 */ addi r4, r1, 0x98 +/* 80360694 0035D5F4 38 BC 00 B0 */ addi r5, r28, 0xb0 +/* 80360698 0035D5F8 4B FB 22 B9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8036069C 0035D5FC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 803606A0 0035D600 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 803606A4 0035D604 38 A1 00 68 */ addi r5, r1, 0x68 +/* 803606A8 0035D608 4B FB 22 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606AC 0035D60C 38 61 01 28 */ addi r3, r1, 0x128 +/* 803606B0 0035D610 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 803606B4 0035D614 38 BC 00 44 */ addi r5, r28, 0x44 +/* 803606B8 0035D618 4B FB 22 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606BC 0035D61C 38 61 01 58 */ addi r3, r1, 0x158 +/* 803606C0 0035D620 38 81 01 28 */ addi r4, r1, 0x128 +/* 803606C4 0035D624 38 A1 00 38 */ addi r5, r1, 0x38 +/* 803606C8 0035D628 4B FB 22 89 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606CC 0035D62C 38 61 01 88 */ addi r3, r1, 0x188 +/* 803606D0 0035D630 38 81 01 58 */ addi r4, r1, 0x158 +/* 803606D4 0035D634 38 A1 00 08 */ addi r5, r1, 8 +/* 803606D8 0035D638 4B FB 22 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606DC 0035D63C 38 61 01 88 */ addi r3, r1, 0x188 +/* 803606E0 0035D640 4B FA BF 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803606E4 0035D644 38 60 00 00 */ li r3, 0 +/* 803606E8 0035D648 4B FA B3 89 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 803606EC 0035D64C 7F 83 E3 78 */ mr r3, r28 +/* 803606F0 0035D650 4B FF FE 75 */ bl SetupLineGXMaterial__17CParticleElectricFv +/* 803606F4 0035D654 83 DC 03 EC */ lwz r30, 0x3ec(r28) +/* 803606F8 0035D658 3B BC 02 E8 */ addi r29, r28, 0x2e8 +/* 803606FC 0035D65C 48 00 00 84 */ b lbl_80360780 +lbl_80360700: +/* 80360700 0035D660 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 80360704 0035D664 80 9E 00 08 */ lwz r4, 8(r30) +/* 80360708 0035D668 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8036070C 0035D66C 54 83 18 38 */ slwi r3, r4, 3 +/* 80360710 0035D670 38 63 00 04 */ addi r3, r3, 4 +/* 80360714 0035D674 28 00 00 00 */ cmplwi r0, 0 +/* 80360718 0035D678 7F FD 18 2E */ lwzx r31, r29, r3 +/* 8036071C 0035D67C 41 82 00 18 */ beq lbl_80360734 +/* 80360720 0035D680 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80360724 0035D684 7F 83 E3 78 */ mr r3, r28 +/* 80360728 0035D688 7F E4 FB 78 */ mr r4, r31 +/* 8036072C 0035D68C 38 BF 00 1C */ addi r5, r31, 0x1c +/* 80360730 0035D690 4B FF FC 09 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +lbl_80360734: +/* 80360734 0035D694 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 80360738 0035D698 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 8036073C 0035D69C 28 00 00 00 */ cmplwi r0, 0 +/* 80360740 0035D6A0 41 82 00 18 */ beq lbl_80360758 +/* 80360744 0035D6A4 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 80360748 0035D6A8 7F 83 E3 78 */ mr r3, r28 +/* 8036074C 0035D6AC 7F E4 FB 78 */ mr r4, r31 +/* 80360750 0035D6B0 38 BF 00 20 */ addi r5, r31, 0x20 +/* 80360754 0035D6B4 4B FF FB E5 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +lbl_80360758: +/* 80360758 0035D6B8 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8036075C 0035D6BC 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80360760 0035D6C0 28 00 00 00 */ cmplwi r0, 0 +/* 80360764 0035D6C4 41 82 00 18 */ beq lbl_8036077C +/* 80360768 0035D6C8 C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 8036076C 0035D6CC 7F 83 E3 78 */ mr r3, r28 +/* 80360770 0035D6D0 7F E4 FB 78 */ mr r4, r31 +/* 80360774 0035D6D4 38 BF 00 24 */ addi r5, r31, 0x24 +/* 80360778 0035D6D8 4B FF FB C1 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +lbl_8036077C: +/* 8036077C 0035D6DC 83 DE 00 04 */ lwz r30, 4(r30) +lbl_80360780: +/* 80360780 0035D6E0 80 1C 03 F0 */ lwz r0, 0x3f0(r28) +/* 80360784 0035D6E4 7C 1E 00 40 */ cmplw r30, r0 +/* 80360788 0035D6E8 40 82 FF 78 */ bne lbl_80360700 +/* 8036078C 0035D6EC 38 60 00 01 */ li r3, 1 +/* 80360790 0035D6F0 4B FA B2 E1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80360794 0035D6F4 C0 22 CD 48 */ lfs f1, lbl_805AEA68@sda21(r2) +/* 80360798 0035D6F8 38 60 00 00 */ li r3, 0 +/* 8036079C 0035D6FC 4B FA AC 3D */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 803607A0 0035D700 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 803607A4 0035D704 83 E1 01 CC */ lwz r31, 0x1cc(r1) +/* 803607A8 0035D708 83 C1 01 C8 */ lwz r30, 0x1c8(r1) +/* 803607AC 0035D70C 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 803607B0 0035D710 83 81 01 C0 */ lwz r28, 0x1c0(r1) +/* 803607B4 0035D714 7C 08 03 A6 */ mtlr r0 +/* 803607B8 0035D718 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 803607BC 0035D71C 4E 80 00 20 */ blr + +.global RenderSwooshes__17CParticleElectricFv +RenderSwooshes__17CParticleElectricFv: +/* 803607C0 0035D720 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803607C4 0035D724 7C 08 02 A6 */ mflr r0 +/* 803607C8 0035D728 90 01 00 24 */ stw r0, 0x24(r1) +/* 803607CC 0035D72C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803607D0 0035D730 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803607D4 0035D734 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803607D8 0035D738 7C 7D 1B 78 */ mr r29, r3 +/* 803607DC 0035D73C 3B DD 01 E4 */ addi r30, r29, 0x1e4 +/* 803607E0 0035D740 83 E3 03 EC */ lwz r31, 0x3ec(r3) +/* 803607E4 0035D744 48 00 00 28 */ b lbl_8036080C +lbl_803607E8: +/* 803607E8 0035D748 80 1F 00 08 */ lwz r0, 8(r31) +/* 803607EC 0035D74C 54 03 18 38 */ slwi r3, r0, 3 +/* 803607F0 0035D750 38 03 00 04 */ addi r0, r3, 4 +/* 803607F4 0035D754 7C 7E 00 2E */ lwzx r3, r30, r0 +/* 803607F8 0035D758 81 83 00 00 */ lwz r12, 0(r3) +/* 803607FC 0035D75C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80360800 0035D760 7D 89 03 A6 */ mtctr r12 +/* 80360804 0035D764 4E 80 04 21 */ bctrl +/* 80360808 0035D768 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8036080C: +/* 8036080C 0035D76C 80 1D 03 F0 */ lwz r0, 0x3f0(r29) +/* 80360810 0035D770 7C 1F 00 40 */ cmplw r31, r0 +/* 80360814 0035D774 40 82 FF D4 */ bne lbl_803607E8 +/* 80360818 0035D778 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036081C 0035D77C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360820 0035D780 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360824 0035D784 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80360828 0035D788 7C 08 03 A6 */ mtlr r0 +/* 8036082C 0035D78C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80360830 0035D790 4E 80 00 20 */ blr + +.global Render__17CParticleElectricFv +Render__17CParticleElectricFv: +/* 80360834 0035D794 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80360838 0035D798 7C 08 02 A6 */ mflr r0 +/* 8036083C 0035D79C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80360840 0035D7A0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80360844 0035D7A4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80360848 0035D7A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036084C 0035D7AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80360850 0035D7B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80360854 0035D7B4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80360858 0035D7B8 7C 7E 1B 78 */ mr r30, r3 +/* 8036085C 0035D7BC 48 02 4B 4D */ bl OSGetTime +/* 80360860 0035D7C0 80 AD A6 7C */ lwz r5, lbl_805A923C@sda21(r13) +/* 80360864 0035D7C4 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) +/* 80360868 0035D7C8 7C 85 20 10 */ subfc r4, r5, r4 +/* 8036086C 0035D7CC 7C 60 19 10 */ subfe r3, r0, r3 +/* 80360870 0035D7D0 48 02 96 F5 */ bl __cvt_sll_flt +/* 80360874 0035D7D4 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 80360878 0035D7D8 80 1E 03 FC */ lwz r0, 0x3fc(r30) +/* 8036087C 0035D7DC 3B E3 FD 30 */ addi r31, r3, mData__10CStopwatch@l +/* 80360880 0035D7E0 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80360884 0035D7E4 2C 00 00 00 */ cmpwi r0, 0 +/* 80360888 0035D7E8 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8036088C 0035D7EC 41 82 00 40 */ beq lbl_803608CC +/* 80360890 0035D7F0 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 80360894 0035D7F4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80360898 0035D7F8 41 82 00 0C */ beq lbl_803608A4 +/* 8036089C 0035D7FC 7F C3 F3 78 */ mr r3, r30 +/* 803608A0 0035D800 4B FF E1 99 */ bl UpdateCachedTransform__17CParticleElectricFv +lbl_803608A4: +/* 803608A4 0035D804 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 803608A8 0035D808 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 803608AC 0035D80C 41 82 00 0C */ beq lbl_803608B8 +/* 803608B0 0035D810 7F C3 F3 78 */ mr r3, r30 +/* 803608B4 0035D814 4B FF FF 0D */ bl RenderSwooshes__17CParticleElectricFv +lbl_803608B8: +/* 803608B8 0035D818 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 803608BC 0035D81C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 803608C0 0035D820 41 82 00 0C */ beq lbl_803608CC +/* 803608C4 0035D824 7F C3 F3 78 */ mr r3, r30 +/* 803608C8 0035D828 4B FF FD 4D */ bl RenderLines__17CParticleElectricFv +lbl_803608CC: +/* 803608CC 0035D82C 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 803608D0 0035D830 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803608D4 0035D834 41 82 00 40 */ beq lbl_80360914 +/* 803608D8 0035D838 3B 80 00 00 */ li r28, 0 +/* 803608DC 0035D83C 3B A0 00 00 */ li r29, 0 +/* 803608E0 0035D840 48 00 00 28 */ b lbl_80360908 +lbl_803608E4: +/* 803608E4 0035D844 80 7E 04 0C */ lwz r3, 0x40c(r30) +/* 803608E8 0035D848 38 1D 00 04 */ addi r0, r29, 4 +/* 803608EC 0035D84C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 803608F0 0035D850 81 83 00 00 */ lwz r12, 0(r3) +/* 803608F4 0035D854 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803608F8 0035D858 7D 89 03 A6 */ mtctr r12 +/* 803608FC 0035D85C 4E 80 04 21 */ bctrl +/* 80360900 0035D860 3B BD 00 08 */ addi r29, r29, 8 +/* 80360904 0035D864 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360908: +/* 80360908 0035D868 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 8036090C 0035D86C 7C 1C 00 00 */ cmpw r28, r0 +/* 80360910 0035D870 41 80 FF D4 */ blt lbl_803608E4 +lbl_80360914: +/* 80360914 0035D874 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 80360918 0035D878 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8036091C 0035D87C 41 82 00 40 */ beq lbl_8036095C +/* 80360920 0035D880 3B 80 00 00 */ li r28, 0 +/* 80360924 0035D884 3B A0 00 00 */ li r29, 0 +/* 80360928 0035D888 48 00 00 28 */ b lbl_80360950 +lbl_8036092C: +/* 8036092C 0035D88C 80 7E 04 1C */ lwz r3, 0x41c(r30) +/* 80360930 0035D890 38 1D 00 04 */ addi r0, r29, 4 +/* 80360934 0035D894 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360938 0035D898 81 83 00 00 */ lwz r12, 0(r3) +/* 8036093C 0035D89C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80360940 0035D8A0 7D 89 03 A6 */ mtctr r12 +/* 80360944 0035D8A4 4E 80 04 21 */ bctrl +/* 80360948 0035D8A8 3B BD 00 08 */ addi r29, r29, 8 +/* 8036094C 0035D8AC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360950: +/* 80360950 0035D8B0 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 80360954 0035D8B4 7C 1C 00 00 */ cmpw r28, r0 +/* 80360958 0035D8B8 41 80 FF D4 */ blt lbl_8036092C +lbl_8036095C: +/* 8036095C 0035D8BC 48 02 4A 4D */ bl OSGetTime +/* 80360960 0035D8C0 80 AD A6 7C */ lwz r5, lbl_805A923C@sda21(r13) +/* 80360964 0035D8C4 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) +/* 80360968 0035D8C8 7C 85 20 10 */ subfc r4, r5, r4 +/* 8036096C 0035D8CC 7C 60 19 10 */ subfe r3, r0, r3 +/* 80360970 0035D8D0 48 02 95 F5 */ bl __cvt_sll_flt +/* 80360974 0035D8D4 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80360978 0035D8D8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036097C 0035D8DC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80360980 0035D8E0 D0 1E 01 2C */ stfs f0, 0x12c(r30) +/* 80360984 0035D8E4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80360988 0035D8E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036098C 0035D8EC CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80360990 0035D8F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360994 0035D8F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360998 0035D8F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036099C 0035D8FC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803609A0 0035D900 7C 08 03 A6 */ mtlr r0 +/* 803609A4 0035D904 38 21 00 30 */ addi r1, r1, 0x30 +/* 803609A8 0035D908 4E 80 00 20 */ blr + +.global Update__17CParticleElectricFd +Update__17CParticleElectricFd: +/* 803609AC 0035D90C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 803609B0 0035D910 7C 08 02 A6 */ mflr r0 +/* 803609B4 0035D914 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 803609B8 0035D918 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 803609BC 0035D91C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 803609C0 0035D920 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 803609C4 0035D924 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 803609C8 0035D928 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 803609CC 0035D92C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 803609D0 0035D930 93 A1 00 94 */ stw r29, 0x94(r1) +/* 803609D4 0035D934 93 81 00 90 */ stw r28, 0x90(r1) +/* 803609D8 0035D938 FF C0 08 90 */ fmr f30, f1 +/* 803609DC 0035D93C 7C 7D 1B 78 */ mr r29, r3 +/* 803609E0 0035D940 38 61 00 14 */ addi r3, r1, 0x14 +/* 803609E4 0035D944 38 9D 01 4C */ addi r4, r29, 0x14c +/* 803609E8 0035D948 4B FB 1C 99 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 803609EC 0035D94C 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 803609F0 0035D950 3B C0 00 00 */ li r30, 0 +/* 803609F4 0035D954 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803609F8 0035D958 41 82 00 48 */ beq lbl_80360A40 +/* 803609FC 0035D95C 3B 80 00 00 */ li r28, 0 +/* 80360A00 0035D960 3B E0 00 00 */ li r31, 0 +/* 80360A04 0035D964 48 00 00 30 */ b lbl_80360A34 +lbl_80360A08: +/* 80360A08 0035D968 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360A0C 0035D96C 38 1F 00 04 */ addi r0, r31, 4 +/* 80360A10 0035D970 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360A14 0035D974 81 83 00 00 */ lwz r12, 0(r3) +/* 80360A18 0035D978 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80360A1C 0035D97C 7D 89 03 A6 */ mtctr r12 +/* 80360A20 0035D980 4E 80 04 21 */ bctrl +/* 80360A24 0035D984 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80360A28 0035D988 41 82 00 18 */ beq lbl_80360A40 +/* 80360A2C 0035D98C 3B FF 00 08 */ addi r31, r31, 8 +/* 80360A30 0035D990 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360A34: +/* 80360A34 0035D994 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360A38 0035D998 7C 1C 00 00 */ cmpw r28, r0 +/* 80360A3C 0035D99C 41 80 FF CC */ blt lbl_80360A08 +lbl_80360A40: +/* 80360A40 0035D9A0 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360A44 0035D9A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80360A48 0035D9A8 41 82 00 48 */ beq lbl_80360A90 +/* 80360A4C 0035D9AC 3B 80 00 00 */ li r28, 0 +/* 80360A50 0035D9B0 3B E0 00 00 */ li r31, 0 +/* 80360A54 0035D9B4 48 00 00 30 */ b lbl_80360A84 +lbl_80360A58: +/* 80360A58 0035D9B8 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360A5C 0035D9BC 38 1F 00 04 */ addi r0, r31, 4 +/* 80360A60 0035D9C0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360A64 0035D9C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80360A68 0035D9C8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80360A6C 0035D9CC 7D 89 03 A6 */ mtctr r12 +/* 80360A70 0035D9D0 4E 80 04 21 */ bctrl +/* 80360A74 0035D9D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80360A78 0035D9D8 41 82 00 18 */ beq lbl_80360A90 +/* 80360A7C 0035D9DC 3B FF 00 08 */ addi r31, r31, 8 +/* 80360A80 0035D9E0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360A84: +/* 80360A84 0035D9E4 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360A88 0035D9E8 7C 1C 00 00 */ cmpw r28, r0 +/* 80360A8C 0035D9EC 41 80 FF CC */ blt lbl_80360A58 +lbl_80360A90: +/* 80360A90 0035D9F0 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360A94 0035D9F4 3B E0 00 00 */ li r31, 0 +/* 80360A98 0035D9F8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80360A9C 0035D9FC 41 82 00 18 */ beq lbl_80360AB4 +/* 80360AA0 0035DA00 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360AA4 0035DA04 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 80360AA8 0035DA08 7C 03 00 00 */ cmpw r3, r0 +/* 80360AAC 0035DA0C 40 80 00 08 */ bge lbl_80360AB4 +/* 80360AB0 0035DA10 3B E0 00 01 */ li r31, 1 +lbl_80360AB4: +/* 80360AB4 0035DA14 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360AB8 0035DA18 3C 00 43 30 */ lis r0, 0x4330 +/* 80360ABC 0035DA1C C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 80360AC0 0035DA20 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80360AC4 0035DA24 90 01 00 80 */ stw r0, 0x80(r1) +/* 80360AC8 0035DA28 FC 00 F0 2A */ fadd f0, f0, f30 +/* 80360ACC 0035DA2C C8 42 CD 58 */ lfd f2, lbl_805AEA78@sda21(r2) +/* 80360AD0 0035DA30 90 61 00 84 */ stw r3, 0x84(r1) +/* 80360AD4 0035DA34 C8 62 CD 60 */ lfd f3, lbl_805AEA80@sda21(r2) +/* 80360AD8 0035DA38 C8 21 00 80 */ lfd f1, 0x80(r1) +/* 80360ADC 0035DA3C D8 1D 00 30 */ stfd f0, 0x30(r29) +/* 80360AE0 0035DA40 FC 01 10 28 */ fsub f0, f1, f2 +/* 80360AE4 0035DA44 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360AE8 0035DA48 FF C3 00 32 */ fmul f30, f3, f0 +/* 80360AEC 0035DA4C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80360AF0 0035DA50 41 82 02 50 */ beq lbl_80360D40 +/* 80360AF4 0035DA54 7F A3 EB 78 */ mr r3, r29 +/* 80360AF8 0035DA58 4B FF DF 41 */ bl UpdateCachedTransform__17CParticleElectricFv +/* 80360AFC 0035DA5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80360B00 0035DA60 38 9D 00 F8 */ addi r4, r29, 0xf8 +/* 80360B04 0035DA64 4B FB 21 3D */ bl GetRotation__12CTransform4fCFv +/* 80360B08 0035DA68 38 61 00 50 */ addi r3, r1, 0x50 +/* 80360B0C 0035DA6C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80360B10 0035DA70 4B FB 20 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80360B14 0035DA74 C0 5D 01 24 */ lfs f2, 0x124(r29) +/* 80360B18 0035DA78 C0 3D 01 14 */ lfs f1, 0x114(r29) +/* 80360B1C 0035DA7C C0 1D 01 04 */ lfs f0, 0x104(r29) +/* 80360B20 0035DA80 D0 01 00 08 */ stfs f0, 8(r1) +/* 80360B24 0035DA84 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80360B28 0035DA88 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80360B2C 0035DA8C 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360B30 0035DA90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80360B34 0035DA94 41 82 00 B0 */ beq lbl_80360BE4 +/* 80360B38 0035DA98 83 DD 03 EC */ lwz r30, 0x3ec(r29) +/* 80360B3C 0035DA9C 3B 9D 01 E4 */ addi r28, r29, 0x1e4 +/* 80360B40 0035DAA0 48 00 00 98 */ b lbl_80360BD8 +lbl_80360B44: +/* 80360B44 0035DAA4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360B48 0035DAA8 38 81 00 08 */ addi r4, r1, 8 +/* 80360B4C 0035DAAC 54 03 18 38 */ slwi r3, r0, 3 +/* 80360B50 0035DAB0 38 03 00 04 */ addi r0, r3, 4 +/* 80360B54 0035DAB4 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360B58 0035DAB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80360B5C 0035DABC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80360B60 0035DAC0 7D 89 03 A6 */ mtctr r12 +/* 80360B64 0035DAC4 4E 80 04 21 */ bctrl +/* 80360B68 0035DAC8 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360B6C 0035DACC 38 81 00 50 */ addi r4, r1, 0x50 +/* 80360B70 0035DAD0 54 03 18 38 */ slwi r3, r0, 3 +/* 80360B74 0035DAD4 38 03 00 04 */ addi r0, r3, 4 +/* 80360B78 0035DAD8 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360B7C 0035DADC 81 83 00 00 */ lwz r12, 0(r3) +/* 80360B80 0035DAE0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80360B84 0035DAE4 7D 89 03 A6 */ mtctr r12 +/* 80360B88 0035DAE8 4E 80 04 21 */ bctrl +/* 80360B8C 0035DAEC 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360B90 0035DAF0 38 9D 00 E0 */ addi r4, r29, 0xe0 +/* 80360B94 0035DAF4 54 03 18 38 */ slwi r3, r0, 3 +/* 80360B98 0035DAF8 38 03 00 04 */ addi r0, r3, 4 +/* 80360B9C 0035DAFC 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360BA0 0035DB00 81 83 00 00 */ lwz r12, 0(r3) +/* 80360BA4 0035DB04 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80360BA8 0035DB08 7D 89 03 A6 */ mtctr r12 +/* 80360BAC 0035DB0C 4E 80 04 21 */ bctrl +/* 80360BB0 0035DB10 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360BB4 0035DB14 38 9D 00 EC */ addi r4, r29, 0xec +/* 80360BB8 0035DB18 54 03 18 38 */ slwi r3, r0, 3 +/* 80360BBC 0035DB1C 38 03 00 04 */ addi r0, r3, 4 +/* 80360BC0 0035DB20 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360BC4 0035DB24 81 83 00 00 */ lwz r12, 0(r3) +/* 80360BC8 0035DB28 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80360BCC 0035DB2C 7D 89 03 A6 */ mtctr r12 +/* 80360BD0 0035DB30 4E 80 04 21 */ bctrl +/* 80360BD4 0035DB34 83 DE 00 04 */ lwz r30, 4(r30) +lbl_80360BD8: +/* 80360BD8 0035DB38 80 1D 03 F0 */ lwz r0, 0x3f0(r29) +/* 80360BDC 0035DB3C 7C 1E 00 40 */ cmplw r30, r0 +/* 80360BE0 0035DB40 40 82 FF 64 */ bne lbl_80360B44 +lbl_80360BE4: +/* 80360BE4 0035DB44 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360BE8 0035DB48 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80360BEC 0035DB4C 41 82 00 A4 */ beq lbl_80360C90 +/* 80360BF0 0035DB50 3B C0 00 00 */ li r30, 0 +/* 80360BF4 0035DB54 3B 80 00 00 */ li r28, 0 +/* 80360BF8 0035DB58 48 00 00 8C */ b lbl_80360C84 +lbl_80360BFC: +/* 80360BFC 0035DB5C 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C00 0035DB60 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C04 0035DB64 38 81 00 08 */ addi r4, r1, 8 +/* 80360C08 0035DB68 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C0C 0035DB6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C10 0035DB70 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80360C14 0035DB74 7D 89 03 A6 */ mtctr r12 +/* 80360C18 0035DB78 4E 80 04 21 */ bctrl +/* 80360C1C 0035DB7C 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C20 0035DB80 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C24 0035DB84 38 81 00 50 */ addi r4, r1, 0x50 +/* 80360C28 0035DB88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C2C 0035DB8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C30 0035DB90 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80360C34 0035DB94 7D 89 03 A6 */ mtctr r12 +/* 80360C38 0035DB98 4E 80 04 21 */ bctrl +/* 80360C3C 0035DB9C 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C40 0035DBA0 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C44 0035DBA4 38 9D 00 E0 */ addi r4, r29, 0xe0 +/* 80360C48 0035DBA8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C4C 0035DBAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C50 0035DBB0 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80360C54 0035DBB4 7D 89 03 A6 */ mtctr r12 +/* 80360C58 0035DBB8 4E 80 04 21 */ bctrl +/* 80360C5C 0035DBBC 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C60 0035DBC0 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C64 0035DBC4 38 9D 00 EC */ addi r4, r29, 0xec +/* 80360C68 0035DBC8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C6C 0035DBCC 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C70 0035DBD0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80360C74 0035DBD4 7D 89 03 A6 */ mtctr r12 +/* 80360C78 0035DBD8 4E 80 04 21 */ bctrl +/* 80360C7C 0035DBDC 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360C80 0035DBE0 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360C84: +/* 80360C84 0035DBE4 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360C88 0035DBE8 7C 1E 00 00 */ cmpw r30, r0 +/* 80360C8C 0035DBEC 41 80 FF 70 */ blt lbl_80360BFC +lbl_80360C90: +/* 80360C90 0035DBF0 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360C94 0035DBF4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80360C98 0035DBF8 41 82 00 A4 */ beq lbl_80360D3C +/* 80360C9C 0035DBFC 3B C0 00 00 */ li r30, 0 +/* 80360CA0 0035DC00 3B 80 00 00 */ li r28, 0 +/* 80360CA4 0035DC04 48 00 00 8C */ b lbl_80360D30 +lbl_80360CA8: +/* 80360CA8 0035DC08 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360CAC 0035DC0C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360CB0 0035DC10 38 81 00 08 */ addi r4, r1, 8 +/* 80360CB4 0035DC14 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360CB8 0035DC18 81 83 00 00 */ lwz r12, 0(r3) +/* 80360CBC 0035DC1C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80360CC0 0035DC20 7D 89 03 A6 */ mtctr r12 +/* 80360CC4 0035DC24 4E 80 04 21 */ bctrl +/* 80360CC8 0035DC28 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360CCC 0035DC2C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360CD0 0035DC30 38 81 00 50 */ addi r4, r1, 0x50 +/* 80360CD4 0035DC34 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360CD8 0035DC38 81 83 00 00 */ lwz r12, 0(r3) +/* 80360CDC 0035DC3C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80360CE0 0035DC40 7D 89 03 A6 */ mtctr r12 +/* 80360CE4 0035DC44 4E 80 04 21 */ bctrl +/* 80360CE8 0035DC48 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360CEC 0035DC4C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360CF0 0035DC50 38 9D 00 E0 */ addi r4, r29, 0xe0 +/* 80360CF4 0035DC54 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360CF8 0035DC58 81 83 00 00 */ lwz r12, 0(r3) +/* 80360CFC 0035DC5C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80360D00 0035DC60 7D 89 03 A6 */ mtctr r12 +/* 80360D04 0035DC64 4E 80 04 21 */ bctrl +/* 80360D08 0035DC68 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360D0C 0035DC6C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360D10 0035DC70 38 9D 00 EC */ addi r4, r29, 0xec +/* 80360D14 0035DC74 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360D18 0035DC78 81 83 00 00 */ lwz r12, 0(r3) +/* 80360D1C 0035DC7C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80360D20 0035DC80 7D 89 03 A6 */ mtctr r12 +/* 80360D24 0035DC84 4E 80 04 21 */ bctrl +/* 80360D28 0035DC88 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360D2C 0035DC8C 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360D30: +/* 80360D30 0035DC90 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360D34 0035DC94 7C 1E 00 00 */ cmpw r30, r0 +/* 80360D38 0035DC98 41 80 FF 70 */ blt lbl_80360CA8 +lbl_80360D3C: +/* 80360D3C 0035DC9C 3B C0 00 01 */ li r30, 1 +lbl_80360D40: +/* 80360D40 0035DCA0 CB E2 CD 60 */ lfd f31, lbl_805AEA80@sda21(r2) +/* 80360D44 0035DCA4 57 FF 06 3E */ clrlwi r31, r31, 0x18 +/* 80360D48 0035DCA8 48 00 01 50 */ b lbl_80360E98 +lbl_80360D4C: +/* 80360D4C 0035DCAC 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360D50 0035DCB0 4B FC 99 F9 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 80360D54 0035DCB4 7F A3 EB 78 */ mr r3, r29 +/* 80360D58 0035DCB8 4B FF EA DD */ bl UpdateElectricalEffects__17CParticleElectricFv +/* 80360D5C 0035DCBC 28 1F 00 00 */ cmplwi r31, 0 +/* 80360D60 0035DCC0 41 82 00 0C */ beq lbl_80360D6C +/* 80360D64 0035DCC4 7F A3 EB 78 */ mr r3, r29 +/* 80360D68 0035DCC8 4B FF F4 A5 */ bl AddElectricalEffects__17CParticleElectricFv +lbl_80360D6C: +/* 80360D6C 0035DCCC 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360D70 0035DCD0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80360D74 0035DCD4 41 82 00 84 */ beq lbl_80360DF8 +/* 80360D78 0035DCD8 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360D7C 0035DCDC 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 80360D80 0035DCE0 7C 03 00 00 */ cmpw r3, r0 +/* 80360D84 0035DCE4 41 80 00 34 */ blt lbl_80360DB8 +/* 80360D88 0035DCE8 3B C0 00 00 */ li r30, 0 +/* 80360D8C 0035DCEC 3B 80 00 00 */ li r28, 0 +/* 80360D90 0035DCF0 48 00 00 1C */ b lbl_80360DAC +lbl_80360D94: +/* 80360D94 0035DCF4 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360D98 0035DCF8 38 1C 00 04 */ addi r0, r28, 4 +/* 80360D9C 0035DCFC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360DA0 0035DD00 4B FB BA 75 */ bl EndLifetime__11CElementGenFv +/* 80360DA4 0035DD04 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360DA8 0035DD08 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360DAC: +/* 80360DAC 0035DD0C 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360DB0 0035DD10 7C 1E 00 00 */ cmpw r30, r0 +/* 80360DB4 0035DD14 41 80 FF E0 */ blt lbl_80360D94 +lbl_80360DB8: +/* 80360DB8 0035DD18 3B C0 00 00 */ li r30, 0 +/* 80360DBC 0035DD1C 3B 80 00 00 */ li r28, 0 +/* 80360DC0 0035DD20 48 00 00 2C */ b lbl_80360DEC +lbl_80360DC4: +/* 80360DC4 0035DD24 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360DC8 0035DD28 38 1C 00 04 */ addi r0, r28, 4 +/* 80360DCC 0035DD2C C8 22 CD 60 */ lfd f1, lbl_805AEA80@sda21(r2) +/* 80360DD0 0035DD30 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360DD4 0035DD34 81 83 00 00 */ lwz r12, 0(r3) +/* 80360DD8 0035DD38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80360DDC 0035DD3C 7D 89 03 A6 */ mtctr r12 +/* 80360DE0 0035DD40 4E 80 04 21 */ bctrl +/* 80360DE4 0035DD44 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360DE8 0035DD48 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360DEC: +/* 80360DEC 0035DD4C 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360DF0 0035DD50 7C 1E 00 00 */ cmpw r30, r0 +/* 80360DF4 0035DD54 41 80 FF D0 */ blt lbl_80360DC4 +lbl_80360DF8: +/* 80360DF8 0035DD58 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360DFC 0035DD5C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80360E00 0035DD60 41 82 00 84 */ beq lbl_80360E84 +/* 80360E04 0035DD64 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360E08 0035DD68 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 80360E0C 0035DD6C 7C 03 00 00 */ cmpw r3, r0 +/* 80360E10 0035DD70 41 80 00 34 */ blt lbl_80360E44 +/* 80360E14 0035DD74 3B C0 00 00 */ li r30, 0 +/* 80360E18 0035DD78 3B 80 00 00 */ li r28, 0 +/* 80360E1C 0035DD7C 48 00 00 1C */ b lbl_80360E38 +lbl_80360E20: +/* 80360E20 0035DD80 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360E24 0035DD84 38 1C 00 04 */ addi r0, r28, 4 +/* 80360E28 0035DD88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360E2C 0035DD8C 4B FB B9 E9 */ bl EndLifetime__11CElementGenFv +/* 80360E30 0035DD90 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360E34 0035DD94 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360E38: +/* 80360E38 0035DD98 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360E3C 0035DD9C 7C 1E 00 00 */ cmpw r30, r0 +/* 80360E40 0035DDA0 41 80 FF E0 */ blt lbl_80360E20 +lbl_80360E44: +/* 80360E44 0035DDA4 3B C0 00 00 */ li r30, 0 +/* 80360E48 0035DDA8 3B 80 00 00 */ li r28, 0 +/* 80360E4C 0035DDAC 48 00 00 2C */ b lbl_80360E78 +lbl_80360E50: +/* 80360E50 0035DDB0 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360E54 0035DDB4 38 1C 00 04 */ addi r0, r28, 4 +/* 80360E58 0035DDB8 C8 22 CD 60 */ lfd f1, lbl_805AEA80@sda21(r2) +/* 80360E5C 0035DDBC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360E60 0035DDC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80360E64 0035DDC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80360E68 0035DDC8 7D 89 03 A6 */ mtctr r12 +/* 80360E6C 0035DDCC 4E 80 04 21 */ bctrl +/* 80360E70 0035DDD0 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360E74 0035DDD4 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360E78: +/* 80360E78 0035DDD8 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360E7C 0035DDDC 7C 1E 00 00 */ cmpw r30, r0 +/* 80360E80 0035DDE0 41 80 FF D0 */ blt lbl_80360E50 +lbl_80360E84: +/* 80360E84 0035DDE4 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360E88 0035DDE8 FF DE F8 2A */ fadd f30, f30, f31 +/* 80360E8C 0035DDEC 3B C0 00 01 */ li r30, 1 +/* 80360E90 0035DDF0 38 03 00 01 */ addi r0, r3, 1 +/* 80360E94 0035DDF4 90 1D 00 28 */ stw r0, 0x28(r29) +lbl_80360E98: +/* 80360E98 0035DDF8 C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 80360E9C 0035DDFC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80360EA0 0035DE00 41 80 FE AC */ blt lbl_80360D4C +/* 80360EA4 0035DE04 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80360EA8 0035DE08 41 82 00 0C */ beq lbl_80360EB4 +/* 80360EAC 0035DE0C 7F A3 EB 78 */ mr r3, r29 +/* 80360EB0 0035DE10 4B FF E3 FD */ bl BuildBounds__17CParticleElectricFv +lbl_80360EB4: +/* 80360EB4 0035DE14 38 61 00 14 */ addi r3, r1, 0x14 +/* 80360EB8 0035DE18 38 80 FF FF */ li r4, -1 +/* 80360EBC 0035DE1C 4B FB 17 49 */ bl __dt__13CGlobalRandomFv +/* 80360EC0 0035DE20 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80360EC4 0035DE24 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80360EC8 0035DE28 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80360ECC 0035DE2C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80360ED0 0035DE30 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80360ED4 0035DE34 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80360ED8 0035DE38 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80360EDC 0035DE3C 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 80360EE0 0035DE40 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80360EE4 0035DE44 83 81 00 90 */ lwz r28, 0x90(r1) +/* 80360EE8 0035DE48 7C 08 03 A6 */ mtlr r0 +/* 80360EEC 0035DE4C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80360EF0 0035DE50 4E 80 00 20 */ blr + +.global CalculateFractal__17CParticleElectricFiiff +CalculateFractal__17CParticleElectricFiiff: +/* 80360EF4 0035DE54 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80360EF8 0035DE58 7C 08 02 A6 */ mflr r0 +/* 80360EFC 0035DE5C 90 01 00 94 */ stw r0, 0x94(r1) +/* 80360F00 0035DE60 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80360F04 0035DE64 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80360F08 0035DE68 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80360F0C 0035DE6C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80360F10 0035DE70 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80360F14 0035DE74 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80360F18 0035DE78 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80360F1C 0035DE7C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80360F20 0035DE80 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 80360F24 0035DE84 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 80360F28 0035DE88 BF 01 00 20 */ stmw r24, 0x20(r1) +/* 80360F2C 0035DE8C 7C 7D 1B 78 */ mr r29, r3 +/* 80360F30 0035DE90 3C 60 43 30 */ lis r3, 0x4330 +/* 80360F34 0035DE94 7C 9E 23 78 */ mr r30, r4 +/* 80360F38 0035DE98 7C BF 2B 78 */ mr r31, r5 +/* 80360F3C 0035DE9C 80 1D 04 34 */ lwz r0, 0x434(r29) +/* 80360F40 0035DEA0 7C 9E F8 50 */ subf r4, r30, r31 +/* 80360F44 0035DEA4 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80360F48 0035DEA8 7F 5E FA 14 */ add r26, r30, r31 +/* 80360F4C 0035DEAC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80360F50 0035DEB0 90 81 00 0C */ stw r4, 0xc(r1) +/* 80360F54 0035DEB4 57 44 0F FE */ srwi r4, r26, 0x1f +/* 80360F58 0035DEB8 C8 62 CD 58 */ lfd f3, lbl_805AEA78@sda21(r2) +/* 80360F5C 0035DEBC 90 61 00 08 */ stw r3, 8(r1) +/* 80360F60 0035DEC0 7C 84 D2 14 */ add r4, r4, r26 +/* 80360F64 0035DEC4 FF C0 08 90 */ fmr f30, f1 +/* 80360F68 0035DEC8 80 DD 04 3C */ lwz r6, 0x43c(r29) +/* 80360F6C 0035DECC C8 01 00 08 */ lfd f0, 8(r1) +/* 80360F70 0035DED0 57 C5 10 3A */ slwi r5, r30, 2 +/* 80360F74 0035DED4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360F78 0035DED8 57 F9 10 3A */ slwi r25, r31, 2 +/* 80360F7C 0035DEDC 90 61 00 10 */ stw r3, 0x10(r1) +/* 80360F80 0035DEE0 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80360F84 0035DEE4 FF E0 10 90 */ fmr f31, f2 +/* 80360F88 0035DEE8 7F 86 2C 2E */ lfsx f28, r6, r5 +/* 80360F8C 0035DEEC C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80360F90 0035DEF0 7C 98 0E 70 */ srawi r24, r4, 1 +/* 80360F94 0035DEF4 7F 66 CC 2E */ lfsx f27, r6, r25 +/* 80360F98 0035DEF8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80360F9C 0035DEFC 38 7D 01 4C */ addi r3, r29, 0x14c +/* 80360FA0 0035DF00 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80360FA4 0035DF04 EF A0 07 B2 */ fmuls f29, f0, f30 +/* 80360FA8 0035DF08 4B FB 15 35 */ bl Float__9CRandom16Fv +/* 80360FAC 0035DF0C EC 5D 00 72 */ fmuls f2, f29, f1 +/* 80360FB0 0035DF10 C0 22 CD 68 */ lfs f1, lbl_805AEA88@sda21(r2) +/* 80360FB4 0035DF14 EC 1C D8 2A */ fadds f0, f28, f27 +/* 80360FB8 0035DF18 83 7D 04 3C */ lwz r27, 0x43c(r29) +/* 80360FBC 0035DF1C 57 1C 10 3A */ slwi r28, r24, 2 +/* 80360FC0 0035DF20 38 7D 01 4C */ addi r3, r29, 0x14c +/* 80360FC4 0035DF24 EC 00 10 7A */ fmadds f0, f0, f1, f2 +/* 80360FC8 0035DF28 EF 7D 00 7C */ fnmsubs f27, f29, f1, f0 +/* 80360FCC 0035DF2C 4B FB 15 11 */ bl Float__9CRandom16Fv +/* 80360FD0 0035DF30 C0 02 CD 68 */ lfs f0, lbl_805AEA88@sda21(r2) +/* 80360FD4 0035DF34 57 43 0F FE */ srwi r3, r26, 0x1f +/* 80360FD8 0035DF38 57 40 07 FE */ clrlwi r0, r26, 0x1f +/* 80360FDC 0035DF3C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80360FE0 0035DF40 7C 00 1A 78 */ xor r0, r0, r3 +/* 80360FE4 0035DF44 7C 03 00 50 */ subf r0, r3, r0 +/* 80360FE8 0035DF48 2C 00 00 01 */ cmpwi r0, 1 +/* 80360FEC 0035DF4C EC 1F 00 78 */ fmsubs f0, f31, f1, f0 +/* 80360FF0 0035DF50 EC 1B 00 2A */ fadds f0, f27, f0 +/* 80360FF4 0035DF54 7C 1B E5 2E */ stfsx f0, r27, r28 +/* 80360FF8 0035DF58 40 82 00 18 */ bne lbl_80361010 +/* 80360FFC 0035DF5C 80 7D 04 3C */ lwz r3, 0x43c(r29) +/* 80361000 0035DF60 38 1F FF FF */ addi r0, r31, -1 +/* 80361004 0035DF64 54 00 10 3A */ slwi r0, r0, 2 +/* 80361008 0035DF68 7C 03 CC 2E */ lfsx f0, r3, r25 +/* 8036100C 0035DF6C 7C 03 05 2E */ stfsx f0, r3, r0 +lbl_80361010: +/* 80361010 0035DF70 7C 1E C0 50 */ subf r0, r30, r24 +/* 80361014 0035DF74 2C 00 00 01 */ cmpwi r0, 1 +/* 80361018 0035DF78 40 81 00 1C */ ble lbl_80361034 +/* 8036101C 0035DF7C FC 20 F0 90 */ fmr f1, f30 +/* 80361020 0035DF80 7F A3 EB 78 */ mr r3, r29 +/* 80361024 0035DF84 FC 40 F8 90 */ fmr f2, f31 +/* 80361028 0035DF88 7F C4 F3 78 */ mr r4, r30 +/* 8036102C 0035DF8C 7F 05 C3 78 */ mr r5, r24 +/* 80361030 0035DF90 4B FF FE C5 */ bl CalculateFractal__17CParticleElectricFiiff +lbl_80361034: +/* 80361034 0035DF94 7C 18 F8 50 */ subf r0, r24, r31 +/* 80361038 0035DF98 2C 00 00 01 */ cmpwi r0, 1 +/* 8036103C 0035DF9C 40 81 00 1C */ ble lbl_80361058 +/* 80361040 0035DFA0 FC 20 F0 90 */ fmr f1, f30 +/* 80361044 0035DFA4 7F A3 EB 78 */ mr r3, r29 +/* 80361048 0035DFA8 FC 40 F8 90 */ fmr f2, f31 +/* 8036104C 0035DFAC 7F 04 C3 78 */ mr r4, r24 +/* 80361050 0035DFB0 7F E5 FB 78 */ mr r5, r31 +/* 80361054 0035DFB4 4B FF FE A1 */ bl CalculateFractal__17CParticleElectricFiiff +lbl_80361058: +/* 80361058 0035DFB8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8036105C 0035DFBC CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80361060 0035DFC0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80361064 0035DFC4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80361068 0035DFC8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8036106C 0035DFCC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80361070 0035DFD0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80361074 0035DFD4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80361078 0035DFD8 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 8036107C 0035DFDC CB 61 00 40 */ lfd f27, 0x40(r1) +/* 80361080 0035DFE0 BB 01 00 20 */ lmw r24, 0x20(r1) +/* 80361084 0035DFE4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80361088 0035DFE8 7C 08 03 A6 */ mtlr r0 +/* 8036108C 0035DFEC 38 21 00 90 */ addi r1, r1, 0x90 +/* 80361090 0035DFF0 4E 80 00 20 */ blr + +.global CalculatePoints__17CParticleElectricFv +CalculatePoints__17CParticleElectricFv: +/* 80361094 0035DFF4 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 80361098 0035DFF8 7C 08 02 A6 */ mflr r0 +/* 8036109C 0035DFFC 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 803610A0 0035E000 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 803610A4 0035E004 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 803610A8 0035E008 DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 803610AC 0035E00C F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 803610B0 0035E010 DB A1 01 C0 */ stfd f29, 0x1c0(r1) +/* 803610B4 0035E014 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 +/* 803610B8 0035E018 DB 81 01 B0 */ stfd f28, 0x1b0(r1) +/* 803610BC 0035E01C F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 +/* 803610C0 0035E020 DB 61 01 A0 */ stfd f27, 0x1a0(r1) +/* 803610C4 0035E024 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 +/* 803610C8 0035E028 DB 41 01 90 */ stfd f26, 0x190(r1) +/* 803610CC 0035E02C F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 +/* 803610D0 0035E030 BF 01 01 70 */ stmw r24, 0x170(r1) +/* 803610D4 0035E034 3C 80 80 5A */ lis r4, skZero3f@ha +/* 803610D8 0035E038 38 00 00 00 */ li r0, 0 +/* 803610DC 0035E03C 3B E4 66 A0 */ addi r31, r4, skZero3f@l +/* 803610E0 0035E040 90 01 01 30 */ stw r0, 0x130(r1) +/* 803610E4 0035E044 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803610E8 0035E048 7C 7E 1B 78 */ mr r30, r3 +/* 803610EC 0035E04C C0 3F 00 04 */ lfs f1, 4(r31) +/* 803610F0 0035E050 C0 5F 00 08 */ lfs f2, 8(r31) +/* 803610F4 0035E054 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 803610F8 0035E058 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 803610FC 0035E05C D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 80361100 0035E060 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80361104 0035E064 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 80361108 0035E068 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 8036110C 0035E06C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80361110 0035E070 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80361114 0035E074 28 03 00 00 */ cmplwi r3, 0 +/* 80361118 0035E078 41 82 00 20 */ beq lbl_80361138 +/* 8036111C 0035E07C 81 83 00 00 */ lwz r12, 0(r3) +/* 80361120 0035E080 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 80361124 0035E084 38 C1 00 B8 */ addi r6, r1, 0xb8 +/* 80361128 0035E088 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 8036112C 0035E08C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80361130 0035E090 7D 89 03 A6 */ mtctr r12 +/* 80361134 0035E094 4E 80 04 21 */ bctrl +lbl_80361138: +/* 80361138 0035E098 88 1E 01 84 */ lbz r0, 0x184(r30) +/* 8036113C 0035E09C 28 00 00 00 */ cmplwi r0, 0 +/* 80361140 0035E0A0 41 82 00 1C */ beq lbl_8036115C +/* 80361144 0035E0A4 C0 1E 01 78 */ lfs f0, 0x178(r30) +/* 80361148 0035E0A8 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8036114C 0035E0AC C0 1E 01 7C */ lfs f0, 0x17c(r30) +/* 80361150 0035E0B0 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80361154 0035E0B4 C0 1E 01 80 */ lfs f0, 0x180(r30) +/* 80361158 0035E0B8 D0 01 00 CC */ stfs f0, 0xcc(r1) +lbl_8036115C: +/* 8036115C 0035E0BC 88 1E 01 94 */ lbz r0, 0x194(r30) +/* 80361160 0035E0C0 28 00 00 00 */ cmplwi r0, 0 +/* 80361164 0035E0C4 41 82 00 1C */ beq lbl_80361180 +/* 80361168 0035E0C8 C0 1E 01 88 */ lfs f0, 0x188(r30) +/* 8036116C 0035E0CC D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80361170 0035E0D0 C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 80361174 0035E0D4 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80361178 0035E0D8 C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 8036117C 0035E0DC D0 01 00 C0 */ stfs f0, 0xc0(r1) +lbl_80361180: +/* 80361180 0035E0E0 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 80361184 0035E0E4 38 00 00 00 */ li r0, 0 +/* 80361188 0035E0E8 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8036118C 0035E0EC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361190 0035E0F0 40 82 00 1C */ bne lbl_803611AC +/* 80361194 0035E0F4 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80361198 0035E0F8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8036119C 0035E0FC 40 82 00 10 */ bne lbl_803611AC +/* 803611A0 0035E100 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 803611A4 0035E104 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803611A8 0035E108 41 82 00 08 */ beq lbl_803611B0 +lbl_803611AC: +/* 803611AC 0035E10C 38 00 00 01 */ li r0, 1 +lbl_803611B0: +/* 803611B0 0035E110 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803611B4 0035E114 41 82 00 E0 */ beq lbl_80361294 +/* 803611B8 0035E118 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803611BC 0035E11C 38 A1 01 34 */ addi r5, r1, 0x134 +/* 803611C0 0035E120 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803611C4 0035E124 7C 65 02 15 */ add. r3, r5, r0 +/* 803611C8 0035E128 41 82 00 1C */ beq lbl_803611E4 +/* 803611CC 0035E12C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 803611D0 0035E130 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 803611D4 0035E134 D0 03 00 00 */ stfs f0, 0(r3) +/* 803611D8 0035E138 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 803611DC 0035E13C D0 23 00 04 */ stfs f1, 4(r3) +/* 803611E0 0035E140 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803611E4: +/* 803611E4 0035E144 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803611E8 0035E148 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 803611EC 0035E14C 38 63 00 01 */ addi r3, r3, 1 +/* 803611F0 0035E150 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 803611F4 0035E154 1C 03 00 0C */ mulli r0, r3, 0xc +/* 803611F8 0035E158 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 803611FC 0035E15C C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 80361200 0035E160 EC 81 00 2A */ fadds f4, f1, f0 +/* 80361204 0035E164 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80361208 0035E168 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8036120C 0035E16C EC 43 10 2A */ fadds f2, f3, f2 +/* 80361210 0035E170 7C 85 02 15 */ add. r4, r5, r0 +/* 80361214 0035E174 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361218 0035E178 90 61 01 30 */ stw r3, 0x130(r1) +/* 8036121C 0035E17C 41 82 00 10 */ beq lbl_8036122C +/* 80361220 0035E180 D0 84 00 00 */ stfs f4, 0(r4) +/* 80361224 0035E184 D0 44 00 04 */ stfs f2, 4(r4) +/* 80361228 0035E188 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8036122C: +/* 8036122C 0035E18C 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361230 0035E190 C0 A2 CD 6C */ lfs f5, lbl_805AEA8C@sda21(r2) +/* 80361234 0035E194 38 63 00 01 */ addi r3, r3, 1 +/* 80361238 0035E198 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 8036123C 0035E19C C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 80361240 0035E1A0 1C 03 00 0C */ mulli r0, r3, 0xc +/* 80361244 0035E1A4 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 80361248 0035E1A8 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 8036124C 0035E1AC C0 C1 00 C4 */ lfs f6, 0xc4(r1) +/* 80361250 0035E1B0 EC 45 00 72 */ fmuls f2, f5, f1 +/* 80361254 0035E1B4 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 80361258 0035E1B8 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8036125C 0035E1BC C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80361260 0035E1C0 EC 86 20 2A */ fadds f4, f6, f4 +/* 80361264 0035E1C4 7C 85 02 15 */ add. r4, r5, r0 +/* 80361268 0035E1C8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8036126C 0035E1CC 90 61 01 30 */ stw r3, 0x130(r1) +/* 80361270 0035E1D0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361274 0035E1D4 41 82 00 10 */ beq lbl_80361284 +/* 80361278 0035E1D8 D0 84 00 00 */ stfs f4, 0(r4) +/* 8036127C 0035E1DC D0 44 00 04 */ stfs f2, 4(r4) +/* 80361280 0035E1E0 D0 04 00 08 */ stfs f0, 8(r4) +lbl_80361284: +/* 80361284 0035E1E4 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361288 0035E1E8 38 03 00 01 */ addi r0, r3, 1 +/* 8036128C 0035E1EC 90 01 01 30 */ stw r0, 0x130(r1) +/* 80361290 0035E1F0 48 00 00 3C */ b lbl_803612CC +lbl_80361294: +/* 80361294 0035E1F4 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80361298 0035E1F8 38 61 01 34 */ addi r3, r1, 0x134 +/* 8036129C 0035E1FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803612A0 0035E200 7C 63 02 15 */ add. r3, r3, r0 +/* 803612A4 0035E204 41 82 00 1C */ beq lbl_803612C0 +/* 803612A8 0035E208 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 803612AC 0035E20C C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 803612B0 0035E210 D0 03 00 00 */ stfs f0, 0(r3) +/* 803612B4 0035E214 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 803612B8 0035E218 D0 23 00 04 */ stfs f1, 4(r3) +/* 803612BC 0035E21C D0 03 00 08 */ stfs f0, 8(r3) +lbl_803612C0: +/* 803612C0 0035E220 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803612C4 0035E224 38 03 00 01 */ addi r0, r3, 1 +/* 803612C8 0035E228 90 01 01 30 */ stw r0, 0x130(r1) +lbl_803612CC: +/* 803612CC 0035E22C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803612D0 0035E230 C0 82 CD 54 */ lfs f4, lbl_805AEA74@sda21(r2) +/* 803612D4 0035E234 C0 62 CD 48 */ lfs f3, lbl_805AEA68@sda21(r2) +/* 803612D8 0035E238 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) +/* 803612DC 0035E23C C0 3F 00 04 */ lfs f1, 4(r31) +/* 803612E0 0035E240 C0 1F 00 08 */ lfs f0, 8(r31) +/* 803612E4 0035E244 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 803612E8 0035E248 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 803612EC 0035E24C D0 81 00 B4 */ stfs f4, 0xb4(r1) +/* 803612F0 0035E250 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 803612F4 0035E254 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 803612F8 0035E258 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 803612FC 0035E25C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80361300 0035E260 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80361304 0035E264 28 03 00 00 */ cmplwi r3, 0 +/* 80361308 0035E268 41 82 00 20 */ beq lbl_80361328 +/* 8036130C 0035E26C 81 83 00 00 */ lwz r12, 0(r3) +/* 80361310 0035E270 38 A1 00 AC */ addi r5, r1, 0xac +/* 80361314 0035E274 38 C1 00 A0 */ addi r6, r1, 0xa0 +/* 80361318 0035E278 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 8036131C 0035E27C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80361320 0035E280 7D 89 03 A6 */ mtctr r12 +/* 80361324 0035E284 4E 80 04 21 */ bctrl +lbl_80361328: +/* 80361328 0035E288 88 1E 01 A4 */ lbz r0, 0x1a4(r30) +/* 8036132C 0035E28C 28 00 00 00 */ cmplwi r0, 0 +/* 80361330 0035E290 41 82 00 1C */ beq lbl_8036134C +/* 80361334 0035E294 C0 1E 01 98 */ lfs f0, 0x198(r30) +/* 80361338 0035E298 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8036133C 0035E29C C0 1E 01 9C */ lfs f0, 0x19c(r30) +/* 80361340 0035E2A0 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80361344 0035E2A4 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) +/* 80361348 0035E2A8 D0 01 00 B4 */ stfs f0, 0xb4(r1) +lbl_8036134C: +/* 8036134C 0035E2AC 88 1E 01 B4 */ lbz r0, 0x1b4(r30) +/* 80361350 0035E2B0 28 00 00 00 */ cmplwi r0, 0 +/* 80361354 0035E2B4 41 82 00 1C */ beq lbl_80361370 +/* 80361358 0035E2B8 C0 1E 01 A8 */ lfs f0, 0x1a8(r30) +/* 8036135C 0035E2BC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80361360 0035E2C0 C0 1E 01 AC */ lfs f0, 0x1ac(r30) +/* 80361364 0035E2C4 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80361368 0035E2C8 C0 1E 01 B0 */ lfs f0, 0x1b0(r30) +/* 8036136C 0035E2CC D0 01 00 A8 */ stfs f0, 0xa8(r1) +lbl_80361370: +/* 80361370 0035E2D0 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 80361374 0035E2D4 38 00 00 00 */ li r0, 0 +/* 80361378 0035E2D8 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 8036137C 0035E2DC FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 80361380 0035E2E0 40 82 00 1C */ bne lbl_8036139C +/* 80361384 0035E2E4 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80361388 0035E2E8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8036138C 0035E2EC 40 82 00 10 */ bne lbl_8036139C +/* 80361390 0035E2F0 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80361394 0035E2F4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361398 0035E2F8 41 82 00 08 */ beq lbl_803613A0 +lbl_8036139C: +/* 8036139C 0035E2FC 38 00 00 01 */ li r0, 1 +lbl_803613A0: +/* 803613A0 0035E300 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803613A4 0035E304 41 82 01 40 */ beq lbl_803614E4 +/* 803613A8 0035E308 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803613AC 0035E30C 2C 00 00 03 */ cmpwi r0, 3 +/* 803613B0 0035E310 40 82 00 60 */ bne lbl_80361410 +/* 803613B4 0035E314 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803613B8 0035E318 38 61 01 34 */ addi r3, r1, 0x134 +/* 803613BC 0035E31C C0 21 00 AC */ lfs f1, 0xac(r1) +/* 803613C0 0035E320 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803613C4 0035E324 C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 803613C8 0035E328 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 803613CC 0035E32C EC 01 10 2A */ fadds f0, f1, f2 +/* 803613D0 0035E330 C0 61 00 B4 */ lfs f3, 0xb4(r1) +/* 803613D4 0035E334 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 803613D8 0035E338 EC 85 20 2A */ fadds f4, f5, f4 +/* 803613DC 0035E33C 7C 63 02 15 */ add. r3, r3, r0 +/* 803613E0 0035E340 EC 43 10 2A */ fadds f2, f3, f2 +/* 803613E4 0035E344 D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 803613E8 0035E348 D0 81 01 50 */ stfs f4, 0x150(r1) +/* 803613EC 0035E34C D0 41 01 54 */ stfs f2, 0x154(r1) +/* 803613F0 0035E350 41 82 00 10 */ beq lbl_80361400 +/* 803613F4 0035E354 D0 23 00 00 */ stfs f1, 0(r3) +/* 803613F8 0035E358 D0 A3 00 04 */ stfs f5, 4(r3) +/* 803613FC 0035E35C D0 63 00 08 */ stfs f3, 8(r3) +lbl_80361400: +/* 80361400 0035E360 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361404 0035E364 38 03 00 01 */ addi r0, r3, 1 +/* 80361408 0035E368 90 01 01 30 */ stw r0, 0x130(r1) +/* 8036140C 0035E36C 48 00 01 10 */ b lbl_8036151C +lbl_80361410: +/* 80361410 0035E370 C0 A2 CD 6C */ lfs f5, lbl_805AEA8C@sda21(r2) +/* 80361414 0035E374 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361418 0035E378 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8036141C 0035E37C 38 A1 01 34 */ addi r5, r1, 0x134 +/* 80361420 0035E380 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80361424 0035E384 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80361428 0035E388 C0 C1 00 AC */ lfs f6, 0xac(r1) +/* 8036142C 0035E38C EC 45 00 72 */ fmuls f2, f5, f1 +/* 80361430 0035E390 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80361434 0035E394 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80361438 0035E398 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 8036143C 0035E39C EC 86 20 2A */ fadds f4, f6, f4 +/* 80361440 0035E3A0 7C 65 02 15 */ add. r3, r5, r0 +/* 80361444 0035E3A4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80361448 0035E3A8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8036144C 0035E3AC 41 82 00 10 */ beq lbl_8036145C +/* 80361450 0035E3B0 D0 83 00 00 */ stfs f4, 0(r3) +/* 80361454 0035E3B4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80361458 0035E3B8 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8036145C: +/* 8036145C 0035E3BC 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361460 0035E3C0 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 80361464 0035E3C4 38 63 00 01 */ addi r3, r3, 1 +/* 80361468 0035E3C8 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 8036146C 0035E3CC 1C 03 00 0C */ mulli r0, r3, 0xc +/* 80361470 0035E3D0 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80361474 0035E3D4 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 80361478 0035E3D8 EC 81 00 2A */ fadds f4, f1, f0 +/* 8036147C 0035E3DC C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80361480 0035E3E0 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80361484 0035E3E4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80361488 0035E3E8 7C 85 02 15 */ add. r4, r5, r0 +/* 8036148C 0035E3EC EC 01 00 2A */ fadds f0, f1, f0 +/* 80361490 0035E3F0 90 61 01 30 */ stw r3, 0x130(r1) +/* 80361494 0035E3F4 41 82 00 10 */ beq lbl_803614A4 +/* 80361498 0035E3F8 D0 84 00 00 */ stfs f4, 0(r4) +/* 8036149C 0035E3FC D0 44 00 04 */ stfs f2, 4(r4) +/* 803614A0 0035E400 D0 04 00 08 */ stfs f0, 8(r4) +lbl_803614A4: +/* 803614A4 0035E404 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803614A8 0035E408 38 63 00 01 */ addi r3, r3, 1 +/* 803614AC 0035E40C 1C 03 00 0C */ mulli r0, r3, 0xc +/* 803614B0 0035E410 90 61 01 30 */ stw r3, 0x130(r1) +/* 803614B4 0035E414 7C 65 02 15 */ add. r3, r5, r0 +/* 803614B8 0035E418 41 82 00 1C */ beq lbl_803614D4 +/* 803614BC 0035E41C C0 01 00 AC */ lfs f0, 0xac(r1) +/* 803614C0 0035E420 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 803614C4 0035E424 D0 03 00 00 */ stfs f0, 0(r3) +/* 803614C8 0035E428 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 803614CC 0035E42C D0 23 00 04 */ stfs f1, 4(r3) +/* 803614D0 0035E430 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803614D4: +/* 803614D4 0035E434 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803614D8 0035E438 38 03 00 01 */ addi r0, r3, 1 +/* 803614DC 0035E43C 90 01 01 30 */ stw r0, 0x130(r1) +/* 803614E0 0035E440 48 00 00 3C */ b lbl_8036151C +lbl_803614E4: +/* 803614E4 0035E444 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803614E8 0035E448 38 61 01 34 */ addi r3, r1, 0x134 +/* 803614EC 0035E44C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803614F0 0035E450 7C 63 02 15 */ add. r3, r3, r0 +/* 803614F4 0035E454 41 82 00 1C */ beq lbl_80361510 +/* 803614F8 0035E458 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 803614FC 0035E45C C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 80361500 0035E460 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361504 0035E464 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80361508 0035E468 D0 23 00 04 */ stfs f1, 4(r3) +/* 8036150C 0035E46C D0 03 00 08 */ stfs f0, 8(r3) +lbl_80361510: +/* 80361510 0035E470 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361514 0035E474 38 03 00 01 */ addi r0, r3, 1 +/* 80361518 0035E478 90 01 01 30 */ stw r0, 0x130(r1) +lbl_8036151C: +/* 8036151C 0035E47C 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80361520 0035E480 2C 00 00 04 */ cmpwi r0, 4 +/* 80361524 0035E484 40 82 00 F4 */ bne lbl_80361618 +/* 80361528 0035E488 80 7E 01 50 */ lwz r3, 0x150(r30) +/* 8036152C 0035E48C 3B 61 01 34 */ addi r27, r1, 0x134 +/* 80361530 0035E490 3C 00 43 30 */ lis r0, 0x4330 +/* 80361534 0035E494 C8 42 CD 58 */ lfd f2, lbl_805AEA78@sda21(r2) +/* 80361538 0035E498 3B 43 FF FF */ addi r26, r3, -1 +/* 8036153C 0035E49C 90 01 01 68 */ stw r0, 0x168(r1) +/* 80361540 0035E4A0 6F 43 80 00 */ xoris r3, r26, 0x8000 +/* 80361544 0035E4A4 C0 62 CD 48 */ lfs f3, lbl_805AEA68@sda21(r2) +/* 80361548 0035E4A8 90 61 01 6C */ stw r3, 0x16c(r1) +/* 8036154C 0035E4AC 3B 3B 00 24 */ addi r25, r27, 0x24 +/* 80361550 0035E4B0 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 80361554 0035E4B4 3B BB 00 0C */ addi r29, r27, 0xc +/* 80361558 0035E4B8 C8 21 01 68 */ lfd f1, 0x168(r1) +/* 8036155C 0035E4BC 3B FB 00 18 */ addi r31, r27, 0x18 +/* 80361560 0035E4C0 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 80361564 0035E4C4 3B 00 00 01 */ li r24, 1 +/* 80361568 0035E4C8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8036156C 0035E4CC 3B 80 00 0C */ li r28, 0xc +/* 80361570 0035E4D0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361574 0035E4D4 EF 43 08 24 */ fdivs f26, f3, f1 +/* 80361578 0035E4D8 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 8036157C 0035E4DC D0 03 00 04 */ stfs f0, 4(r3) +/* 80361580 0035E4E0 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 80361584 0035E4E4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80361588 0035E4E8 FF 60 D0 90 */ fmr f27, f26 +/* 8036158C 0035E4EC 48 00 00 5C */ b lbl_803615E8 +lbl_80361590: +/* 80361590 0035E4F0 C0 22 CD 70 */ lfs f1, lbl_805AEA90@sda21(r2) +/* 80361594 0035E4F4 38 7E 01 4C */ addi r3, r30, 0x14c +/* 80361598 0035E4F8 C0 42 CD 74 */ lfs f2, lbl_805AEA94@sda21(r2) +/* 8036159C 0035E4FC 4B FB 0F A9 */ bl Range__9CRandom16Fff +/* 803615A0 0035E500 EC 3A D8 7A */ fmadds f1, f26, f1, f27 +/* 803615A4 0035E504 7F 64 DB 78 */ mr r4, r27 +/* 803615A8 0035E508 7F A5 EB 78 */ mr r5, r29 +/* 803615AC 0035E50C 7F E6 FB 78 */ mr r6, r31 +/* 803615B0 0035E510 7F 27 CB 78 */ mr r7, r25 +/* 803615B4 0035E514 38 61 00 60 */ addi r3, r1, 0x60 +/* 803615B8 0035E518 4B FB 39 61 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 803615BC 0035E51C 80 1E 04 2C */ lwz r0, 0x42c(r30) +/* 803615C0 0035E520 EF 7B D0 2A */ fadds f27, f27, f26 +/* 803615C4 0035E524 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 803615C8 0035E528 3B 18 00 01 */ addi r24, r24, 1 +/* 803615CC 0035E52C 7C 60 E2 14 */ add r3, r0, r28 +/* 803615D0 0035E530 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 803615D4 0035E534 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 803615D8 0035E538 3B 9C 00 0C */ addi r28, r28, 0xc +/* 803615DC 0035E53C D0 03 00 00 */ stfs f0, 0(r3) +/* 803615E0 0035E540 D0 23 00 04 */ stfs f1, 4(r3) +/* 803615E4 0035E544 D0 43 00 08 */ stfs f2, 8(r3) +lbl_803615E8: +/* 803615E8 0035E548 7C 18 D0 00 */ cmpw r24, r26 +/* 803615EC 0035E54C 41 80 FF A4 */ blt lbl_80361590 +/* 803615F0 0035E550 1C 1A 00 0C */ mulli r0, r26, 0xc +/* 803615F4 0035E554 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 803615F8 0035E558 C0 19 00 00 */ lfs f0, 0(r25) +/* 803615FC 0035E55C 7C 63 02 14 */ add r3, r3, r0 +/* 80361600 0035E560 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361604 0035E564 C0 19 00 04 */ lfs f0, 4(r25) +/* 80361608 0035E568 D0 03 00 04 */ stfs f0, 4(r3) +/* 8036160C 0035E56C C0 19 00 08 */ lfs f0, 8(r25) +/* 80361610 0035E570 D0 03 00 08 */ stfs f0, 8(r3) +/* 80361614 0035E574 48 00 01 14 */ b lbl_80361728 +lbl_80361618: +/* 80361618 0035E578 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 8036161C 0035E57C 3C 00 43 30 */ lis r0, 0x4330 +/* 80361620 0035E580 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80361624 0035E584 3B 00 00 01 */ li r24, 1 +/* 80361628 0035E588 90 01 01 68 */ stw r0, 0x168(r1) +/* 8036162C 0035E58C 3B 80 00 0C */ li r28, 0xc +/* 80361630 0035E590 C8 A2 CD 58 */ lfd f5, lbl_805AEA78@sda21(r2) +/* 80361634 0035E594 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361638 0035E598 C0 C2 CD 48 */ lfs f6, lbl_805AEA68@sda21(r2) +/* 8036163C 0035E59C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80361640 0035E5A0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80361644 0035E5A4 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80361648 0035E5A8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8036164C 0035E5AC 80 7E 01 50 */ lwz r3, 0x150(r30) +/* 80361650 0035E5B0 80 9E 04 2C */ lwz r4, 0x42c(r30) +/* 80361654 0035E5B4 3B 23 FF FF */ addi r25, r3, -1 +/* 80361658 0035E5B8 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 8036165C 0035E5BC 6F 20 80 00 */ xoris r0, r25, 0x8000 +/* 80361660 0035E5C0 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80361664 0035E5C4 90 01 01 6C */ stw r0, 0x16c(r1) +/* 80361668 0035E5C8 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 8036166C 0035E5CC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80361670 0035E5D0 C8 01 01 68 */ lfd f0, 0x168(r1) +/* 80361674 0035E5D4 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 80361678 0035E5D8 EC A0 28 28 */ fsubs f5, f0, f5 +/* 8036167C 0035E5DC C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80361680 0035E5E0 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80361684 0035E5E4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80361688 0035E5E8 C3 C4 00 00 */ lfs f30, 0(r4) +/* 8036168C 0035E5EC EC 66 28 24 */ fdivs f3, f6, f5 +/* 80361690 0035E5F0 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80361694 0035E5F4 C3 44 00 08 */ lfs f26, 8(r4) +/* 80361698 0035E5F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8036169C 0035E5FC EF A3 01 32 */ fmuls f29, f3, f4 +/* 803616A0 0035E600 EF 83 00 B2 */ fmuls f28, f3, f2 +/* 803616A4 0035E604 EF 63 00 32 */ fmuls f27, f3, f0 +/* 803616A8 0035E608 48 00 00 54 */ b lbl_803616FC +lbl_803616AC: +/* 803616AC 0035E60C C0 22 CD 70 */ lfs f1, lbl_805AEA90@sda21(r2) +/* 803616B0 0035E610 38 7E 01 4C */ addi r3, r30, 0x14c +/* 803616B4 0035E614 C0 42 CD 74 */ lfs f2, lbl_805AEA94@sda21(r2) +/* 803616B8 0035E618 4B FB 0E 8D */ bl Range__9CRandom16Fff +/* 803616BC 0035E61C EC 61 07 72 */ fmuls f3, f1, f29 +/* 803616C0 0035E620 80 1E 04 2C */ lwz r0, 0x42c(r30) +/* 803616C4 0035E624 EC 01 06 F2 */ fmuls f0, f1, f27 +/* 803616C8 0035E628 3B 18 00 01 */ addi r24, r24, 1 +/* 803616CC 0035E62C EC 41 07 32 */ fmuls f2, f1, f28 +/* 803616D0 0035E630 7C 60 E2 14 */ add r3, r0, r28 +/* 803616D4 0035E634 EC 7E 18 2A */ fadds f3, f30, f3 +/* 803616D8 0035E638 3B 9C 00 0C */ addi r28, r28, 0xc +/* 803616DC 0035E63C EC 3F 10 2A */ fadds f1, f31, f2 +/* 803616E0 0035E640 EC 1A 00 2A */ fadds f0, f26, f0 +/* 803616E4 0035E644 D0 63 00 00 */ stfs f3, 0(r3) +/* 803616E8 0035E648 EF DE E8 2A */ fadds f30, f30, f29 +/* 803616EC 0035E64C EF FF E0 2A */ fadds f31, f31, f28 +/* 803616F0 0035E650 D0 23 00 04 */ stfs f1, 4(r3) +/* 803616F4 0035E654 EF 5A D8 2A */ fadds f26, f26, f27 +/* 803616F8 0035E658 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803616FC: +/* 803616FC 0035E65C 7C 18 C8 00 */ cmpw r24, r25 +/* 80361700 0035E660 41 80 FF AC */ blt lbl_803616AC +/* 80361704 0035E664 1C 19 00 0C */ mulli r0, r25, 0xc +/* 80361708 0035E668 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 8036170C 0035E66C C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80361710 0035E670 7C 63 02 14 */ add r3, r3, r0 +/* 80361714 0035E674 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361718 0035E678 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8036171C 0035E67C D0 03 00 04 */ stfs f0, 4(r3) +/* 80361720 0035E680 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80361724 0035E684 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80361728: +/* 80361728 0035E688 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 8036172C 0035E68C 38 A0 00 00 */ li r5, 0 +/* 80361730 0035E690 38 80 00 00 */ li r4, 0 +/* 80361734 0035E694 48 00 00 14 */ b lbl_80361748 +lbl_80361738: +/* 80361738 0035E698 80 7E 04 3C */ lwz r3, 0x43c(r30) +/* 8036173C 0035E69C 38 A5 00 01 */ addi r5, r5, 1 +/* 80361740 0035E6A0 7C 03 25 2E */ stfsx f0, r3, r4 +/* 80361744 0035E6A4 38 84 00 04 */ addi r4, r4, 4 +lbl_80361748: +/* 80361748 0035E6A8 80 1E 01 50 */ lwz r0, 0x150(r30) +/* 8036174C 0035E6AC 7C 05 00 00 */ cmpw r5, r0 +/* 80361750 0035E6B0 41 80 FF E8 */ blt lbl_80361738 +/* 80361754 0035E6B4 C0 02 CD 48 */ lfs f0, lbl_805AEA68@sda21(r2) +/* 80361758 0035E6B8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8036175C 0035E6BC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80361760 0035E6C0 80 63 00 20 */ lwz r3, 0x20(r3) +/* 80361764 0035E6C4 28 03 00 00 */ cmplwi r3, 0 +/* 80361768 0035E6C8 41 82 00 2C */ beq lbl_80361794 +/* 8036176C 0035E6CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80361770 0035E6D0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80361774 0035E6D4 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80361778 0035E6D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8036177C 0035E6DC 7D 89 03 A6 */ mtctr r12 +/* 80361780 0035E6E0 4E 80 04 21 */ bctrl +/* 80361784 0035E6E4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80361788 0035E6E8 C0 02 CD 6C */ lfs f0, lbl_805AEA8C@sda21(r2) +/* 8036178C 0035E6EC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80361790 0035E6F0 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80361794: +/* 80361794 0035E6F4 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 80361798 0035E6F8 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8036179C 0035E6FC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803617A0 0035E700 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803617A4 0035E704 28 03 00 00 */ cmplwi r3, 0 +/* 803617A8 0035E708 41 82 00 1C */ beq lbl_803617C4 +/* 803617AC 0035E70C 81 83 00 00 */ lwz r12, 0(r3) +/* 803617B0 0035E710 38 A1 00 0C */ addi r5, r1, 0xc +/* 803617B4 0035E714 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803617B8 0035E718 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803617BC 0035E71C 7D 89 03 A6 */ mtctr r12 +/* 803617C0 0035E720 4E 80 04 21 */ bctrl +lbl_803617C4: +/* 803617C4 0035E724 80 BE 04 24 */ lwz r5, 0x424(r30) +/* 803617C8 0035E728 7F C3 F3 78 */ mr r3, r30 +/* 803617CC 0035E72C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 803617D0 0035E730 38 80 00 00 */ li r4, 0 +/* 803617D4 0035E734 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 803617D8 0035E738 38 A5 FF FF */ addi r5, r5, -1 +/* 803617DC 0035E73C 4B FF F7 19 */ bl CalculateFractal__17CParticleElectricFiiff +/* 803617E0 0035E740 80 BE 04 2C */ lwz r5, 0x42c(r30) +/* 803617E4 0035E744 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 803617E8 0035E748 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l +/* 803617EC 0035E74C 38 61 00 94 */ addi r3, r1, 0x94 +/* 803617F0 0035E750 C0 05 00 04 */ lfs f0, 4(r5) +/* 803617F4 0035E754 C0 A5 00 10 */ lfs f5, 0x10(r5) +/* 803617F8 0035E758 C0 25 00 08 */ lfs f1, 8(r5) +/* 803617FC 0035E75C C0 85 00 14 */ lfs f4, 0x14(r5) +/* 80361800 0035E760 EC 40 28 28 */ fsubs f2, f0, f5 +/* 80361804 0035E764 C0 05 00 00 */ lfs f0, 0(r5) +/* 80361808 0035E768 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 8036180C 0035E76C EC 21 20 28 */ fsubs f1, f1, f4 +/* 80361810 0035E770 C3 A4 00 00 */ lfs f29, 0(r4) +/* 80361814 0035E774 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80361818 0035E778 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8036181C 0035E77C C3 84 00 04 */ lfs f28, 4(r4) +/* 80361820 0035E780 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 80361824 0035E784 C3 64 00 08 */ lfs f27, 8(r4) +/* 80361828 0035E788 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8036182C 0035E78C 80 9E 04 24 */ lwz r4, 0x424(r30) +/* 80361830 0035E790 38 04 FF FF */ addi r0, r4, -1 +/* 80361834 0035E794 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361838 0035E798 7C 85 02 14 */ add r4, r5, r0 +/* 8036183C 0035E79C C0 44 00 04 */ lfs f2, 4(r4) +/* 80361840 0035E7A0 C0 24 00 08 */ lfs f1, 8(r4) +/* 80361844 0035E7A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80361848 0035E7A8 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8036184C 0035E7AC EC 21 20 28 */ fsubs f1, f1, f4 +/* 80361850 0035E7B0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80361854 0035E7B4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80361858 0035E7B8 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8036185C 0035E7BC D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80361860 0035E7C0 4B FB 2E 99 */ bl CanBeNormalized__9CVector3fCFv +/* 80361864 0035E7C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80361868 0035E7C8 41 82 00 F0 */ beq lbl_80361958 +/* 8036186C 0035E7CC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80361870 0035E7D0 4B FB 2E 89 */ bl CanBeNormalized__9CVector3fCFv +/* 80361874 0035E7D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80361878 0035E7D8 41 82 00 E0 */ beq lbl_80361958 +/* 8036187C 0035E7DC 38 61 00 94 */ addi r3, r1, 0x94 +/* 80361880 0035E7E0 4B FB 30 79 */ bl Normalize__9CVector3fFv +/* 80361884 0035E7E4 38 61 00 88 */ addi r3, r1, 0x88 +/* 80361888 0035E7E8 4B FB 30 71 */ bl Normalize__9CVector3fFv +/* 8036188C 0035E7EC C0 21 00 98 */ lfs f1, 0x98(r1) +/* 80361890 0035E7F0 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80361894 0035E7F4 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80361898 0035E7F8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036189C 0035E7FC C0 21 00 88 */ lfs f1, 0x88(r1) +/* 803618A0 0035E800 C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 803618A4 0035E804 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 803618A8 0035E808 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803618AC 0035E80C C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 803618B0 0035E810 EC 44 08 FA */ fmadds f2, f4, f3, f1 +/* 803618B4 0035E814 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803618B8 0035E818 40 80 00 08 */ bge lbl_803618C0 +/* 803618BC 0035E81C FC 40 10 50 */ fneg f2, f2 +lbl_803618C0: +/* 803618C0 0035E820 C0 22 CD 48 */ lfs f1, lbl_805AEA68@sda21(r2) +/* 803618C4 0035E824 C0 02 CD 78 */ lfs f0, lbl_805AEA98@sda21(r2) +/* 803618C8 0035E828 EC 22 08 28 */ fsubs f1, f2, f1 +/* 803618CC 0035E82C FC 20 0A 10 */ fabs f1, f1 +/* 803618D0 0035E830 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803618D4 0035E834 40 80 00 2C */ bge lbl_80361900 +/* 803618D8 0035E838 80 9E 04 2C */ lwz r4, 0x42c(r30) +/* 803618DC 0035E83C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 803618E0 0035E840 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 803618E4 0035E844 38 61 01 00 */ addi r3, r1, 0x100 +/* 803618E8 0035E848 38 A4 00 0C */ addi r5, r4, 0xc +/* 803618EC 0035E84C 4B FB 22 25 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803618F0 0035E850 C3 A1 01 08 */ lfs f29, 0x108(r1) +/* 803618F4 0035E854 C3 81 01 18 */ lfs f28, 0x118(r1) +/* 803618F8 0035E858 C3 61 01 28 */ lfs f27, 0x128(r1) +/* 803618FC 0035E85C 48 00 00 C0 */ b lbl_803619BC +lbl_80361900: +/* 80361900 0035E860 C0 61 00 98 */ lfs f3, 0x98(r1) +/* 80361904 0035E864 38 61 00 54 */ addi r3, r1, 0x54 +/* 80361908 0035E868 C0 C1 00 88 */ lfs f6, 0x88(r1) +/* 8036190C 0035E86C 38 81 00 48 */ addi r4, r1, 0x48 +/* 80361910 0035E870 C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 80361914 0035E874 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80361918 0035E878 EC 06 00 F2 */ fmuls f0, f6, f3 +/* 8036191C 0035E87C C0 E1 00 94 */ lfs f7, 0x94(r1) +/* 80361920 0035E880 C0 A1 00 90 */ lfs f5, 0x90(r1) +/* 80361924 0035E884 EC 41 01 32 */ fmuls f2, f1, f4 +/* 80361928 0035E888 EC 07 00 78 */ fmsubs f0, f7, f1, f0 +/* 8036192C 0035E88C EC 25 01 F2 */ fmuls f1, f5, f7 +/* 80361930 0035E890 EC 43 11 78 */ fmsubs f2, f3, f5, f2 +/* 80361934 0035E894 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80361938 0035E898 EC 04 09 B8 */ fmsubs f0, f4, f6, f1 +/* 8036193C 0035E89C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80361940 0035E8A0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80361944 0035E8A4 4B FB 2F 0D */ bl AsNormalized__9CVector3fCFv +/* 80361948 0035E8A8 C3 A1 00 54 */ lfs f29, 0x54(r1) +/* 8036194C 0035E8AC C3 81 00 58 */ lfs f28, 0x58(r1) +/* 80361950 0035E8B0 C3 61 00 5C */ lfs f27, 0x5c(r1) +/* 80361954 0035E8B4 48 00 00 68 */ b lbl_803619BC +lbl_80361958: +/* 80361958 0035E8B8 80 9E 04 2C */ lwz r4, 0x42c(r30) +/* 8036195C 0035E8BC 38 00 00 00 */ li r0, 0 +/* 80361960 0035E8C0 38 A4 00 0C */ addi r5, r4, 0xc +/* 80361964 0035E8C4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80361968 0035E8C8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8036196C 0035E8CC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361970 0035E8D0 40 82 00 28 */ bne lbl_80361998 +/* 80361974 0035E8D4 C0 24 00 04 */ lfs f1, 4(r4) +/* 80361978 0035E8D8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8036197C 0035E8DC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361980 0035E8E0 40 82 00 18 */ bne lbl_80361998 +/* 80361984 0035E8E4 C0 24 00 08 */ lfs f1, 8(r4) +/* 80361988 0035E8E8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8036198C 0035E8EC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361990 0035E8F0 40 82 00 08 */ bne lbl_80361998 +/* 80361994 0035E8F4 38 00 00 01 */ li r0, 1 +lbl_80361998: +/* 80361998 0035E8F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8036199C 0035E8FC 40 82 00 20 */ bne lbl_803619BC +/* 803619A0 0035E900 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 803619A4 0035E904 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 803619A8 0035E908 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 803619AC 0035E90C 4B FB 21 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803619B0 0035E910 C3 A1 00 D8 */ lfs f29, 0xd8(r1) +/* 803619B4 0035E914 C3 81 00 E8 */ lfs f28, 0xe8(r1) +/* 803619B8 0035E918 C3 61 00 F8 */ lfs f27, 0xf8(r1) +lbl_803619BC: +/* 803619BC 0035E91C C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 803619C0 0035E920 38 7E 01 4C */ addi r3, r30, 0x14c +/* 803619C4 0035E924 C0 42 CD 7C */ lfs f2, lbl_805AEA9C@sda21(r2) +/* 803619C8 0035E928 4B FB 0B 7D */ bl Range__9CRandom16Fff +/* 803619CC 0035E92C FF C0 08 90 */ fmr f30, f1 +/* 803619D0 0035E930 C3 E2 CD 54 */ lfs f31, lbl_805AEA74@sda21(r2) +/* 803619D4 0035E934 3B E0 00 01 */ li r31, 1 +/* 803619D8 0035E938 3B 80 00 0C */ li r28, 0xc +/* 803619DC 0035E93C 3B 60 00 04 */ li r27, 4 +/* 803619E0 0035E940 48 00 01 44 */ b lbl_80361B24 +lbl_803619E4: +/* 803619E4 0035E944 38 1F FF FF */ addi r0, r31, -1 +/* 803619E8 0035E948 80 BE 04 2C */ lwz r5, 0x42c(r30) +/* 803619EC 0035E94C 1C 60 00 0C */ mulli r3, r0, 0xc +/* 803619F0 0035E950 38 00 00 00 */ li r0, 0 +/* 803619F4 0035E954 7C 85 E2 14 */ add r4, r5, r28 +/* 803619F8 0035E958 C0 24 00 00 */ lfs f1, 0(r4) +/* 803619FC 0035E95C 7C 65 1A 14 */ add r3, r5, r3 +/* 80361A00 0035E960 C0 84 00 04 */ lfs f4, 4(r4) +/* 80361A04 0035E964 C0 03 00 00 */ lfs f0, 0(r3) +/* 80361A08 0035E968 C0 63 00 04 */ lfs f3, 4(r3) +/* 80361A0C 0035E96C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80361A10 0035E970 C0 44 00 08 */ lfs f2, 8(r4) +/* 80361A14 0035E974 C0 23 00 08 */ lfs f1, 8(r3) +/* 80361A18 0035E978 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80361A1C 0035E97C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80361A20 0035E980 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80361A24 0035E984 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 80361A28 0035E988 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 80361A2C 0035E98C D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80361A30 0035E990 40 82 00 14 */ bne lbl_80361A44 +/* 80361A34 0035E994 FC 1F 18 00 */ fcmpu cr0, f31, f3 +/* 80361A38 0035E998 40 82 00 0C */ bne lbl_80361A44 +/* 80361A3C 0035E99C FC 1F 08 00 */ fcmpu cr0, f31, f1 +/* 80361A40 0035E9A0 41 82 00 08 */ beq lbl_80361A48 +lbl_80361A44: +/* 80361A44 0035E9A4 38 00 00 01 */ li r0, 1 +lbl_80361A48: +/* 80361A48 0035E9A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80361A4C 0035E9AC 41 82 00 CC */ beq lbl_80361B18 +/* 80361A50 0035E9B0 83 BE 04 3C */ lwz r29, 0x43c(r30) +/* 80361A54 0035E9B4 38 7E 01 4C */ addi r3, r30, 0x14c +/* 80361A58 0035E9B8 C0 22 CD 84 */ lfs f1, lbl_805AEAA4@sda21(r2) +/* 80361A5C 0035E9BC C0 42 CD 48 */ lfs f2, lbl_805AEA68@sda21(r2) +/* 80361A60 0035E9C0 4B FB 0A E5 */ bl Range__9CRandom16Fff +/* 80361A64 0035E9C4 7C 5D DC 2E */ lfsx f2, r29, r27 +/* 80361A68 0035E9C8 38 61 00 2C */ addi r3, r1, 0x2c +/* 80361A6C 0035E9CC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80361A70 0035E9D0 38 81 00 7C */ addi r4, r1, 0x7c +/* 80361A74 0035E9D4 C0 62 CD 80 */ lfs f3, lbl_805AEAA0@sda21(r2) +/* 80361A78 0035E9D8 EC 02 00 24 */ fdivs f0, f2, f0 +/* 80361A7C 0035E9DC C0 42 CD 88 */ lfs f2, lbl_805AEAA8@sda21(r2) +/* 80361A80 0035E9E0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80361A84 0035E9E4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80361A88 0035E9E8 EC 00 F0 2A */ fadds f0, f0, f30 +/* 80361A8C 0035E9EC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80361A90 0035E9F0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80361A94 0035E9F4 4B FB 23 3D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80361A98 0035E9F8 7C 64 1B 78 */ mr r4, r3 +/* 80361A9C 0035E9FC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80361AA0 0035EA00 38 A1 00 08 */ addi r5, r1, 8 +/* 80361AA4 0035EA04 4B FA F8 51 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80361AA8 0035EA08 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80361AAC 0035EA0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80361AB0 0035EA10 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 80361AB4 0035EA14 38 81 00 6C */ addi r4, r1, 0x6c +/* 80361AB8 0035EA18 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80361ABC 0035EA1C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80361AC0 0035EA20 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80361AC4 0035EA24 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 80361AC8 0035EA28 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80361ACC 0035EA2C D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80361AD0 0035EA30 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80361AD4 0035EA34 80 DE 04 3C */ lwz r6, 0x43c(r30) +/* 80361AD8 0035EA38 7C 06 DC 2E */ lfsx f0, r6, r27 +/* 80361ADC 0035EA3C EC 40 07 72 */ fmuls f2, f0, f29 +/* 80361AE0 0035EA40 EC 20 07 32 */ fmuls f1, f0, f28 +/* 80361AE4 0035EA44 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 80361AE8 0035EA48 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80361AEC 0035EA4C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80361AF0 0035EA50 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80361AF4 0035EA54 4B FA F7 71 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80361AF8 0035EA58 80 1E 04 4C */ lwz r0, 0x44c(r30) +/* 80361AFC 0035EA5C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80361B00 0035EA60 7C 60 E2 14 */ add r3, r0, r28 +/* 80361B04 0035EA64 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361B08 0035EA68 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80361B0C 0035EA6C D0 03 00 04 */ stfs f0, 4(r3) +/* 80361B10 0035EA70 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80361B14 0035EA74 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80361B18: +/* 80361B18 0035EA78 3B 9C 00 0C */ addi r28, r28, 0xc +/* 80361B1C 0035EA7C 3B 7B 00 04 */ addi r27, r27, 4 +/* 80361B20 0035EA80 3B FF 00 01 */ addi r31, r31, 1 +lbl_80361B24: +/* 80361B24 0035EA84 80 7E 04 24 */ lwz r3, 0x424(r30) +/* 80361B28 0035EA88 38 03 FF FF */ addi r0, r3, -1 +/* 80361B2C 0035EA8C 7C 1F 00 00 */ cmpw r31, r0 +/* 80361B30 0035EA90 41 80 FE B4 */ blt lbl_803619E4 +/* 80361B34 0035EA94 38 C0 00 01 */ li r6, 1 +/* 80361B38 0035EA98 38 A0 00 0C */ li r5, 0xc +/* 80361B3C 0035EA9C 48 00 00 4C */ b lbl_80361B88 +lbl_80361B40: +/* 80361B40 0035EAA0 80 7E 04 4C */ lwz r3, 0x44c(r30) +/* 80361B44 0035EAA4 38 C6 00 01 */ addi r6, r6, 1 +/* 80361B48 0035EAA8 80 1E 04 2C */ lwz r0, 0x42c(r30) +/* 80361B4C 0035EAAC 7C 63 2A 14 */ add r3, r3, r5 +/* 80361B50 0035EAB0 7C 80 2A 14 */ add r4, r0, r5 +/* 80361B54 0035EAB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80361B58 0035EAB8 C0 24 00 00 */ lfs f1, 0(r4) +/* 80361B5C 0035EABC 38 A5 00 0C */ addi r5, r5, 0xc +/* 80361B60 0035EAC0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361B64 0035EAC4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80361B68 0035EAC8 C0 24 00 04 */ lfs f1, 4(r4) +/* 80361B6C 0035EACC C0 03 00 04 */ lfs f0, 4(r3) +/* 80361B70 0035EAD0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361B74 0035EAD4 D0 04 00 04 */ stfs f0, 4(r4) +/* 80361B78 0035EAD8 C0 24 00 08 */ lfs f1, 8(r4) +/* 80361B7C 0035EADC C0 03 00 08 */ lfs f0, 8(r3) +/* 80361B80 0035EAE0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361B84 0035EAE4 D0 04 00 08 */ stfs f0, 8(r4) +lbl_80361B88: +/* 80361B88 0035EAE8 80 7E 04 24 */ lwz r3, 0x424(r30) +/* 80361B8C 0035EAEC 38 03 FF FF */ addi r0, r3, -1 +/* 80361B90 0035EAF0 7C 06 00 00 */ cmpw r6, r0 +/* 80361B94 0035EAF4 41 80 FF AC */ blt lbl_80361B40 +/* 80361B98 0035EAF8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80361B9C 0035EAFC 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80361BA0 0035EB00 28 00 00 00 */ cmplwi r0, 0 +/* 80361BA4 0035EB04 41 82 00 34 */ beq lbl_80361BD8 +/* 80361BA8 0035EB08 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 80361BAC 0035EB0C 38 A0 00 00 */ li r5, 0 +/* 80361BB0 0035EB10 38 80 00 00 */ li r4, 0 +/* 80361BB4 0035EB14 48 00 00 18 */ b lbl_80361BCC +lbl_80361BB8: +/* 80361BB8 0035EB18 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 80361BBC 0035EB1C 38 04 00 04 */ addi r0, r4, 4 +/* 80361BC0 0035EB20 38 84 00 0C */ addi r4, r4, 0xc +/* 80361BC4 0035EB24 38 A5 00 01 */ addi r5, r5, 1 +/* 80361BC8 0035EB28 7C 03 05 2E */ stfsx f0, r3, r0 +lbl_80361BCC: +/* 80361BCC 0035EB2C 80 1E 04 24 */ lwz r0, 0x424(r30) +/* 80361BD0 0035EB30 7C 05 00 00 */ cmpw r5, r0 +/* 80361BD4 0035EB34 41 80 FF E4 */ blt lbl_80361BB8 +lbl_80361BD8: +/* 80361BD8 0035EB38 80 A1 01 30 */ lwz r5, 0x130(r1) +/* 80361BDC 0035EB3C 38 60 00 00 */ li r3, 0 +/* 80361BE0 0035EB40 2C 05 00 00 */ cmpwi r5, 0 +/* 80361BE4 0035EB44 40 81 00 40 */ ble lbl_80361C24 +/* 80361BE8 0035EB48 2C 05 00 08 */ cmpwi r5, 8 +/* 80361BEC 0035EB4C 38 85 FF F8 */ addi r4, r5, -8 +/* 80361BF0 0035EB50 40 81 00 20 */ ble lbl_80361C10 +/* 80361BF4 0035EB54 38 04 00 07 */ addi r0, r4, 7 +/* 80361BF8 0035EB58 54 00 E8 FE */ srwi r0, r0, 3 +/* 80361BFC 0035EB5C 7C 09 03 A6 */ mtctr r0 +/* 80361C00 0035EB60 2C 04 00 00 */ cmpwi r4, 0 +/* 80361C04 0035EB64 40 81 00 0C */ ble lbl_80361C10 +lbl_80361C08: +/* 80361C08 0035EB68 38 63 00 08 */ addi r3, r3, 8 +/* 80361C0C 0035EB6C 42 00 FF FC */ bdnz lbl_80361C08 +lbl_80361C10: +/* 80361C10 0035EB70 7C 03 28 50 */ subf r0, r3, r5 +/* 80361C14 0035EB74 7C 09 03 A6 */ mtctr r0 +/* 80361C18 0035EB78 7C 03 28 00 */ cmpw r3, r5 +/* 80361C1C 0035EB7C 40 80 00 08 */ bge lbl_80361C24 +lbl_80361C20: +/* 80361C20 0035EB80 42 00 00 00 */ bdnz lbl_80361C20 +lbl_80361C24: +/* 80361C24 0035EB84 38 00 00 00 */ li r0, 0 +/* 80361C28 0035EB88 90 01 01 30 */ stw r0, 0x130(r1) +/* 80361C2C 0035EB8C E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 80361C30 0035EB90 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 80361C34 0035EB94 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 80361C38 0035EB98 CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 80361C3C 0035EB9C E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 +/* 80361C40 0035EBA0 CB A1 01 C0 */ lfd f29, 0x1c0(r1) +/* 80361C44 0035EBA4 E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 +/* 80361C48 0035EBA8 CB 81 01 B0 */ lfd f28, 0x1b0(r1) +/* 80361C4C 0035EBAC E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 +/* 80361C50 0035EBB0 CB 61 01 A0 */ lfd f27, 0x1a0(r1) +/* 80361C54 0035EBB4 E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 +/* 80361C58 0035EBB8 CB 41 01 90 */ lfd f26, 0x190(r1) +/* 80361C5C 0035EBBC BB 01 01 70 */ lmw r24, 0x170(r1) +/* 80361C60 0035EBC0 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 80361C64 0035EBC4 7C 08 03 A6 */ mtlr r0 +/* 80361C68 0035EBC8 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 80361C6C 0035EBCC 4E 80 00 20 */ blr + +.global __dt__17CParticleElectricFv +__dt__17CParticleElectricFv: +/* 80361C70 0035EBD0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80361C74 0035EBD4 7C 08 02 A6 */ mflr r0 +/* 80361C78 0035EBD8 90 01 00 54 */ stw r0, 0x54(r1) +/* 80361C7C 0035EBDC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80361C80 0035EBE0 7C 9F 23 78 */ mr r31, r4 +/* 80361C84 0035EBE4 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80361C88 0035EBE8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80361C8C 0035EBEC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80361C90 0035EBF0 93 81 00 40 */ stw r28, 0x40(r1) +/* 80361C94 0035EBF4 41 82 02 5C */ beq lbl_80361EF0 +/* 80361C98 0035EBF8 3C 60 80 3F */ lis r3, lbl_803EF7B8@ha +/* 80361C9C 0035EBFC 34 1E 04 40 */ addic. r0, r30, 0x440 +/* 80361CA0 0035EC00 38 03 F7 B8 */ addi r0, r3, lbl_803EF7B8@l +/* 80361CA4 0035EC04 90 1E 00 00 */ stw r0, 0(r30) +/* 80361CA8 0035EC08 41 82 00 44 */ beq lbl_80361CEC +/* 80361CAC 0035EC0C 80 1E 04 44 */ lwz r0, 0x444(r30) +/* 80361CB0 0035EC10 80 7E 04 4C */ lwz r3, 0x44c(r30) +/* 80361CB4 0035EC14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361CB8 0035EC18 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80361CBC 0035EC1C 7C 64 1B 78 */ mr r4, r3 +/* 80361CC0 0035EC20 7C 03 02 14 */ add r0, r3, r0 +/* 80361CC4 0035EC24 90 61 00 28 */ stw r3, 0x28(r1) +/* 80361CC8 0035EC28 90 01 00 34 */ stw r0, 0x34(r1) +/* 80361CCC 0035EC2C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80361CD0 0035EC30 48 00 00 08 */ b lbl_80361CD8 +lbl_80361CD4: +/* 80361CD4 0035EC34 38 84 00 0C */ addi r4, r4, 0xc +lbl_80361CD8: +/* 80361CD8 0035EC38 7C 04 00 40 */ cmplw r4, r0 +/* 80361CDC 0035EC3C 40 82 FF F8 */ bne lbl_80361CD4 +/* 80361CE0 0035EC40 28 03 00 00 */ cmplwi r3, 0 +/* 80361CE4 0035EC44 41 82 00 08 */ beq lbl_80361CEC +/* 80361CE8 0035EC48 4B FB 3C 49 */ bl Free__7CMemoryFPCv +lbl_80361CEC: +/* 80361CEC 0035EC4C 34 1E 04 30 */ addic. r0, r30, 0x430 +/* 80361CF0 0035EC50 41 82 00 44 */ beq lbl_80361D34 +/* 80361CF4 0035EC54 80 1E 04 34 */ lwz r0, 0x434(r30) +/* 80361CF8 0035EC58 80 7E 04 3C */ lwz r3, 0x43c(r30) +/* 80361CFC 0035EC5C 54 00 10 3A */ slwi r0, r0, 2 +/* 80361D00 0035EC60 7C 03 02 14 */ add r0, r3, r0 +/* 80361D04 0035EC64 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80361D08 0035EC68 7C 64 1B 78 */ mr r4, r3 +/* 80361D0C 0035EC6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80361D10 0035EC70 90 01 00 20 */ stw r0, 0x20(r1) +/* 80361D14 0035EC74 90 61 00 18 */ stw r3, 0x18(r1) +/* 80361D18 0035EC78 48 00 00 08 */ b lbl_80361D20 +lbl_80361D1C: +/* 80361D1C 0035EC7C 38 84 00 04 */ addi r4, r4, 4 +lbl_80361D20: +/* 80361D20 0035EC80 7C 04 00 40 */ cmplw r4, r0 +/* 80361D24 0035EC84 40 82 FF F8 */ bne lbl_80361D1C +/* 80361D28 0035EC88 28 03 00 00 */ cmplwi r3, 0 +/* 80361D2C 0035EC8C 41 82 00 08 */ beq lbl_80361D34 +/* 80361D30 0035EC90 4B FB 3C 01 */ bl Free__7CMemoryFPCv +lbl_80361D34: +/* 80361D34 0035EC94 34 1E 04 20 */ addic. r0, r30, 0x420 +/* 80361D38 0035EC98 41 82 00 3C */ beq lbl_80361D74 +/* 80361D3C 0035EC9C 80 1E 04 24 */ lwz r0, 0x424(r30) +/* 80361D40 0035ECA0 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 80361D44 0035ECA4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361D48 0035ECA8 90 61 00 0C */ stw r3, 0xc(r1) +/* 80361D4C 0035ECAC 7C 64 1B 78 */ mr r4, r3 +/* 80361D50 0035ECB0 7C 03 02 14 */ add r0, r3, r0 +/* 80361D54 0035ECB4 90 61 00 08 */ stw r3, 8(r1) +/* 80361D58 0035ECB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80361D5C 0035ECBC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80361D60 0035ECC0 48 00 00 08 */ b lbl_80361D68 +lbl_80361D64: +/* 80361D64 0035ECC4 38 84 00 0C */ addi r4, r4, 0xc +lbl_80361D68: +/* 80361D68 0035ECC8 7C 04 00 40 */ cmplw r4, r0 +/* 80361D6C 0035ECCC 40 82 FF F8 */ bne lbl_80361D64 +/* 80361D70 0035ECD0 4B FB 3B C1 */ bl Free__7CMemoryFPCv +lbl_80361D74: +/* 80361D74 0035ECD4 38 7E 04 10 */ addi r3, r30, 0x410 +/* 80361D78 0035ECD8 38 80 FF FF */ li r4, -1 +/* 80361D7C 0035ECDC 48 00 03 25 */ bl "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" +/* 80361D80 0035ECE0 38 7E 04 00 */ addi r3, r30, 0x400 +/* 80361D84 0035ECE4 38 80 FF FF */ li r4, -1 +/* 80361D88 0035ECE8 48 00 03 19 */ bl "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" +/* 80361D8C 0035ECEC 38 7E 03 E8 */ addi r3, r30, 0x3e8 +/* 80361D90 0035ECF0 38 80 FF FF */ li r4, -1 +/* 80361D94 0035ECF4 48 00 10 25 */ bl "__dt__Q24rstl80listFv" +/* 80361D98 0035ECF8 38 7E 02 E4 */ addi r3, r30, 0x2e4 +/* 80361D9C 0035ECFC 38 80 FF FF */ li r4, -1 +/* 80361DA0 0035ED00 48 00 01 75 */ bl "__dt__Q24rstl74reserved_vector,32>Fv" +/* 80361DA4 0035ED04 34 1E 01 E0 */ addic. r0, r30, 0x1e0 +/* 80361DA8 0035ED08 41 82 00 60 */ beq lbl_80361E08 +/* 80361DAC 0035ED0C 3B 9E 01 E4 */ addi r28, r30, 0x1e4 +/* 80361DB0 0035ED10 3B A0 00 00 */ li r29, 0 +/* 80361DB4 0035ED14 48 00 00 40 */ b lbl_80361DF4 +lbl_80361DB8: +/* 80361DB8 0035ED18 28 1C 00 00 */ cmplwi r28, 0 +/* 80361DBC 0035ED1C 41 82 00 30 */ beq lbl_80361DEC +/* 80361DC0 0035ED20 88 1C 00 00 */ lbz r0, 0(r28) +/* 80361DC4 0035ED24 28 00 00 00 */ cmplwi r0, 0 +/* 80361DC8 0035ED28 41 82 00 24 */ beq lbl_80361DEC +/* 80361DCC 0035ED2C 80 7C 00 04 */ lwz r3, 4(r28) +/* 80361DD0 0035ED30 28 03 00 00 */ cmplwi r3, 0 +/* 80361DD4 0035ED34 41 82 00 18 */ beq lbl_80361DEC +/* 80361DD8 0035ED38 81 83 00 00 */ lwz r12, 0(r3) +/* 80361DDC 0035ED3C 38 80 00 01 */ li r4, 1 +/* 80361DE0 0035ED40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80361DE4 0035ED44 7D 89 03 A6 */ mtctr r12 +/* 80361DE8 0035ED48 4E 80 04 21 */ bctrl +lbl_80361DEC: +/* 80361DEC 0035ED4C 3B 9C 00 08 */ addi r28, r28, 8 +/* 80361DF0 0035ED50 3B BD 00 01 */ addi r29, r29, 1 +lbl_80361DF4: +/* 80361DF4 0035ED54 80 1E 01 E0 */ lwz r0, 0x1e0(r30) +/* 80361DF8 0035ED58 7C 1D 00 00 */ cmpw r29, r0 +/* 80361DFC 0035ED5C 41 80 FF BC */ blt lbl_80361DB8 +/* 80361E00 0035ED60 38 00 00 00 */ li r0, 0 +/* 80361E04 0035ED64 90 1E 01 E0 */ stw r0, 0x1e0(r30) +lbl_80361E08: +/* 80361E08 0035ED68 34 1E 01 BC */ addic. r0, r30, 0x1bc +/* 80361E0C 0035ED6C 41 82 00 58 */ beq lbl_80361E64 +/* 80361E10 0035ED70 80 BE 01 BC */ lwz r5, 0x1bc(r30) +/* 80361E14 0035ED74 38 60 00 00 */ li r3, 0 +/* 80361E18 0035ED78 2C 05 00 00 */ cmpwi r5, 0 +/* 80361E1C 0035ED7C 40 81 00 40 */ ble lbl_80361E5C +/* 80361E20 0035ED80 2C 05 00 08 */ cmpwi r5, 8 +/* 80361E24 0035ED84 38 85 FF F8 */ addi r4, r5, -8 +/* 80361E28 0035ED88 40 81 00 20 */ ble lbl_80361E48 +/* 80361E2C 0035ED8C 38 04 00 07 */ addi r0, r4, 7 +/* 80361E30 0035ED90 54 00 E8 FE */ srwi r0, r0, 3 +/* 80361E34 0035ED94 7C 09 03 A6 */ mtctr r0 +/* 80361E38 0035ED98 2C 04 00 00 */ cmpwi r4, 0 +/* 80361E3C 0035ED9C 40 81 00 0C */ ble lbl_80361E48 +lbl_80361E40: +/* 80361E40 0035EDA0 38 63 00 08 */ addi r3, r3, 8 +/* 80361E44 0035EDA4 42 00 FF FC */ bdnz lbl_80361E40 +lbl_80361E48: +/* 80361E48 0035EDA8 7C 03 28 50 */ subf r0, r3, r5 +/* 80361E4C 0035EDAC 7C 09 03 A6 */ mtctr r0 +/* 80361E50 0035EDB0 7C 03 28 00 */ cmpw r3, r5 +/* 80361E54 0035EDB4 40 80 00 08 */ bge lbl_80361E5C +lbl_80361E58: +/* 80361E58 0035EDB8 42 00 00 00 */ bdnz lbl_80361E58 +lbl_80361E5C: +/* 80361E5C 0035EDBC 38 00 00 00 */ li r0, 0 +/* 80361E60 0035EDC0 90 1E 01 BC */ stw r0, 0x1bc(r30) +lbl_80361E64: +/* 80361E64 0035EDC4 34 1E 01 A8 */ addic. r0, r30, 0x1a8 +/* 80361E68 0035EDC8 41 82 00 0C */ beq lbl_80361E74 +/* 80361E6C 0035EDCC 38 00 00 00 */ li r0, 0 +/* 80361E70 0035EDD0 98 1E 01 B4 */ stb r0, 0x1b4(r30) +lbl_80361E74: +/* 80361E74 0035EDD4 34 1E 01 98 */ addic. r0, r30, 0x198 +/* 80361E78 0035EDD8 41 82 00 0C */ beq lbl_80361E84 +/* 80361E7C 0035EDDC 38 00 00 00 */ li r0, 0 +/* 80361E80 0035EDE0 98 1E 01 A4 */ stb r0, 0x1a4(r30) +lbl_80361E84: +/* 80361E84 0035EDE4 34 1E 01 88 */ addic. r0, r30, 0x188 +/* 80361E88 0035EDE8 41 82 00 0C */ beq lbl_80361E94 +/* 80361E8C 0035EDEC 38 00 00 00 */ li r0, 0 +/* 80361E90 0035EDF0 98 1E 01 94 */ stb r0, 0x194(r30) +lbl_80361E94: +/* 80361E94 0035EDF4 34 1E 01 78 */ addic. r0, r30, 0x178 +/* 80361E98 0035EDF8 41 82 00 0C */ beq lbl_80361EA4 +/* 80361E9C 0035EDFC 38 00 00 00 */ li r0, 0 +/* 80361EA0 0035EE00 98 1E 01 84 */ stb r0, 0x184(r30) +lbl_80361EA4: +/* 80361EA4 0035EE04 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 80361EA8 0035EE08 41 82 00 18 */ beq lbl_80361EC0 +/* 80361EAC 0035EE0C 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 80361EB0 0035EE10 41 82 00 10 */ beq lbl_80361EC0 +/* 80361EB4 0035EE14 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80361EB8 0035EE18 38 80 00 00 */ li r4, 0 +/* 80361EBC 0035EE1C 4B FD EF 85 */ bl __dt__6CTokenFv +lbl_80361EC0: +/* 80361EC0 0035EE20 28 1E 00 00 */ cmplwi r30, 0 +/* 80361EC4 0035EE24 41 82 00 1C */ beq lbl_80361EE0 +/* 80361EC8 0035EE28 3C 80 80 3F */ lis r4, lbl_803EDD08@ha +/* 80361ECC 0035EE2C 38 7E 00 04 */ addi r3, r30, 4 +/* 80361ED0 0035EE30 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l +/* 80361ED4 0035EE34 38 80 FF FF */ li r4, -1 +/* 80361ED8 0035EE38 90 1E 00 00 */ stw r0, 0(r30) +/* 80361EDC 0035EE3C 4B CF 8D F5 */ bl __dt__12CParticleGenFv +lbl_80361EE0: +/* 80361EE0 0035EE40 7F E0 07 35 */ extsh. r0, r31 +/* 80361EE4 0035EE44 40 81 00 0C */ ble lbl_80361EF0 +/* 80361EE8 0035EE48 7F C3 F3 78 */ mr r3, r30 +/* 80361EEC 0035EE4C 4B FB 3A 45 */ bl Free__7CMemoryFPCv +lbl_80361EF0: +/* 80361EF0 0035EE50 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80361EF4 0035EE54 7F C3 F3 78 */ mr r3, r30 +/* 80361EF8 0035EE58 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80361EFC 0035EE5C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80361F00 0035EE60 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80361F04 0035EE64 83 81 00 40 */ lwz r28, 0x40(r1) +/* 80361F08 0035EE68 7C 08 03 A6 */ mtlr r0 +/* 80361F0C 0035EE6C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80361F10 0035EE70 4E 80 00 20 */ blr + +.global "__dt__Q24rstl74reserved_vector,32>Fv" +"__dt__Q24rstl74reserved_vector,32>Fv": +/* 80361F14 0035EE74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80361F18 0035EE78 7C 08 02 A6 */ mflr r0 +/* 80361F1C 0035EE7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80361F20 0035EE80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80361F24 0035EE84 7C 9F 23 78 */ mr r31, r4 +/* 80361F28 0035EE88 93 C1 00 08 */ stw r30, 8(r1) +/* 80361F2C 0035EE8C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80361F30 0035EE90 41 82 00 18 */ beq lbl_80361F48 +/* 80361F34 0035EE94 48 00 00 31 */ bl "clear__Q24rstl74reserved_vector,32>Fv" +/* 80361F38 0035EE98 7F E0 07 35 */ extsh. r0, r31 +/* 80361F3C 0035EE9C 40 81 00 0C */ ble lbl_80361F48 +/* 80361F40 0035EEA0 7F C3 F3 78 */ mr r3, r30 +/* 80361F44 0035EEA4 4B FB 39 ED */ bl Free__7CMemoryFPCv +lbl_80361F48: +/* 80361F48 0035EEA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80361F4C 0035EEAC 7F C3 F3 78 */ mr r3, r30 +/* 80361F50 0035EEB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80361F54 0035EEB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80361F58 0035EEB8 7C 08 03 A6 */ mtlr r0 +/* 80361F5C 0035EEBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80361F60 0035EEC0 4E 80 00 20 */ blr + +.global "clear__Q24rstl74reserved_vector,32>Fv" +"clear__Q24rstl74reserved_vector,32>Fv": +/* 80361F64 0035EEC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80361F68 0035EEC8 7C 08 02 A6 */ mflr r0 +/* 80361F6C 0035EECC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80361F70 0035EED0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80361F74 0035EED4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80361F78 0035EED8 3B C0 00 00 */ li r30, 0 +/* 80361F7C 0035EEDC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80361F80 0035EEE0 7C 7D 1B 78 */ mr r29, r3 +/* 80361F84 0035EEE4 3B FD 00 04 */ addi r31, r29, 4 +/* 80361F88 0035EEE8 48 00 00 14 */ b lbl_80361F9C +lbl_80361F8C: +/* 80361F8C 0035EEEC 7F E3 FB 78 */ mr r3, r31 +/* 80361F90 0035EEF0 48 00 00 3D */ bl "destroy>__4rstlFPQ24rstl45auto_ptr" +/* 80361F94 0035EEF4 3B FF 00 08 */ addi r31, r31, 8 +/* 80361F98 0035EEF8 3B DE 00 01 */ addi r30, r30, 1 +lbl_80361F9C: +/* 80361F9C 0035EEFC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80361FA0 0035EF00 7C 1E 00 00 */ cmpw r30, r0 +/* 80361FA4 0035EF04 41 80 FF E8 */ blt lbl_80361F8C +/* 80361FA8 0035EF08 38 00 00 00 */ li r0, 0 +/* 80361FAC 0035EF0C 90 1D 00 00 */ stw r0, 0(r29) +/* 80361FB0 0035EF10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80361FB4 0035EF14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80361FB8 0035EF18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80361FBC 0035EF1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80361FC0 0035EF20 7C 08 03 A6 */ mtlr r0 +/* 80361FC4 0035EF24 38 21 00 20 */ addi r1, r1, 0x20 +/* 80361FC8 0035EF28 4E 80 00 20 */ blr + +.global "destroy>__4rstlFPQ24rstl45auto_ptr" +"destroy>__4rstlFPQ24rstl45auto_ptr": +/* 80361FCC 0035EF2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80361FD0 0035EF30 7C 08 02 A6 */ mflr r0 +/* 80361FD4 0035EF34 38 80 FF FF */ li r4, -1 +/* 80361FD8 0035EF38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80361FDC 0035EF3C 48 00 00 15 */ bl "__dt__Q24rstl45auto_ptrFv" +/* 80361FE0 0035EF40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80361FE4 0035EF44 7C 08 03 A6 */ mtlr r0 +/* 80361FE8 0035EF48 38 21 00 10 */ addi r1, r1, 0x10 +/* 80361FEC 0035EF4C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl45auto_ptrFv" +"__dt__Q24rstl45auto_ptrFv": +/* 80361FF0 0035EF50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80361FF4 0035EF54 7C 08 02 A6 */ mflr r0 +/* 80361FF8 0035EF58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80361FFC 0035EF5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80362000 0035EF60 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80362004 0035EF64 7C 9E 23 78 */ mr r30, r4 +/* 80362008 0035EF68 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036200C 0035EF6C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80362010 0035EF70 41 82 00 70 */ beq lbl_80362080 +/* 80362014 0035EF74 88 1D 00 00 */ lbz r0, 0(r29) +/* 80362018 0035EF78 28 00 00 00 */ cmplwi r0, 0 +/* 8036201C 0035EF7C 41 82 00 54 */ beq lbl_80362070 +/* 80362020 0035EF80 83 FD 00 04 */ lwz r31, 4(r29) +/* 80362024 0035EF84 28 1F 00 00 */ cmplwi r31, 0 +/* 80362028 0035EF88 41 82 00 48 */ beq lbl_80362070 +/* 8036202C 0035EF8C 41 82 00 3C */ beq lbl_80362068 +/* 80362030 0035EF90 80 1F 00 04 */ lwz r0, 4(r31) +/* 80362034 0035EF94 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80362038 0035EF98 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8036203C 0035EF9C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80362040 0035EFA0 7C 64 1B 78 */ mr r4, r3 +/* 80362044 0035EFA4 7C 03 02 14 */ add r0, r3, r0 +/* 80362048 0035EFA8 90 61 00 08 */ stw r3, 8(r1) +/* 8036204C 0035EFAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80362050 0035EFB0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80362054 0035EFB4 48 00 00 08 */ b lbl_8036205C +lbl_80362058: +/* 80362058 0035EFB8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8036205C: +/* 8036205C 0035EFBC 7C 04 00 40 */ cmplw r4, r0 +/* 80362060 0035EFC0 40 82 FF F8 */ bne lbl_80362058 +/* 80362064 0035EFC4 4B FB 38 CD */ bl Free__7CMemoryFPCv +lbl_80362068: +/* 80362068 0035EFC8 7F E3 FB 78 */ mr r3, r31 +/* 8036206C 0035EFCC 4B FB 38 C5 */ bl Free__7CMemoryFPCv +lbl_80362070: +/* 80362070 0035EFD0 7F C0 07 35 */ extsh. r0, r30 +/* 80362074 0035EFD4 40 81 00 0C */ ble lbl_80362080 +/* 80362078 0035EFD8 7F A3 EB 78 */ mr r3, r29 +/* 8036207C 0035EFDC 4B FB 38 B5 */ bl Free__7CMemoryFPCv +lbl_80362080: +/* 80362080 0035EFE0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80362084 0035EFE4 7F A3 EB 78 */ mr r3, r29 +/* 80362088 0035EFE8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036208C 0035EFEC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80362090 0035EFF0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80362094 0035EFF4 7C 08 03 A6 */ mtlr r0 +/* 80362098 0035EFF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036209C 0035EFFC 4E 80 00 20 */ blr + +.global "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" +"__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv": +/* 803620A0 0035F000 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803620A4 0035F004 7C 08 02 A6 */ mflr r0 +/* 803620A8 0035F008 90 01 00 34 */ stw r0, 0x34(r1) +/* 803620AC 0035F00C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803620B0 0035F010 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803620B4 0035F014 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803620B8 0035F018 7C 9D 23 78 */ mr r29, r4 +/* 803620BC 0035F01C 93 81 00 20 */ stw r28, 0x20(r1) +/* 803620C0 0035F020 7C 7C 1B 79 */ or. r28, r3, r3 +/* 803620C4 0035F024 41 82 00 88 */ beq lbl_8036214C +/* 803620C8 0035F028 80 1C 00 04 */ lwz r0, 4(r28) +/* 803620CC 0035F02C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 803620D0 0035F030 54 00 18 38 */ slwi r0, r0, 3 +/* 803620D4 0035F034 7F FE 02 14 */ add r31, r30, r0 +/* 803620D8 0035F038 93 C1 00 10 */ stw r30, 0x10(r1) +/* 803620DC 0035F03C 93 E1 00 08 */ stw r31, 8(r1) +/* 803620E0 0035F040 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803620E4 0035F044 93 C1 00 14 */ stw r30, 0x14(r1) +/* 803620E8 0035F048 48 00 00 3C */ b lbl_80362124 +lbl_803620EC: +/* 803620EC 0035F04C 28 1E 00 00 */ cmplwi r30, 0 +/* 803620F0 0035F050 41 82 00 30 */ beq lbl_80362120 +/* 803620F4 0035F054 88 1E 00 00 */ lbz r0, 0(r30) +/* 803620F8 0035F058 28 00 00 00 */ cmplwi r0, 0 +/* 803620FC 0035F05C 41 82 00 24 */ beq lbl_80362120 +/* 80362100 0035F060 80 7E 00 04 */ lwz r3, 4(r30) +/* 80362104 0035F064 28 03 00 00 */ cmplwi r3, 0 +/* 80362108 0035F068 41 82 00 18 */ beq lbl_80362120 +/* 8036210C 0035F06C 81 83 00 00 */ lwz r12, 0(r3) +/* 80362110 0035F070 38 80 00 01 */ li r4, 1 +/* 80362114 0035F074 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362118 0035F078 7D 89 03 A6 */ mtctr r12 +/* 8036211C 0035F07C 4E 80 04 21 */ bctrl +lbl_80362120: +/* 80362120 0035F080 3B DE 00 08 */ addi r30, r30, 8 +lbl_80362124: +/* 80362124 0035F084 7C 1E F8 40 */ cmplw r30, r31 +/* 80362128 0035F088 40 82 FF C4 */ bne lbl_803620EC +/* 8036212C 0035F08C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80362130 0035F090 28 03 00 00 */ cmplwi r3, 0 +/* 80362134 0035F094 41 82 00 08 */ beq lbl_8036213C +/* 80362138 0035F098 4B FB 37 F9 */ bl Free__7CMemoryFPCv +lbl_8036213C: +/* 8036213C 0035F09C 7F A0 07 35 */ extsh. r0, r29 +/* 80362140 0035F0A0 40 81 00 0C */ ble lbl_8036214C +/* 80362144 0035F0A4 7F 83 E3 78 */ mr r3, r28 +/* 80362148 0035F0A8 4B FB 37 E9 */ bl Free__7CMemoryFPCv +lbl_8036214C: +/* 8036214C 0035F0AC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80362150 0035F0B0 7F 83 E3 78 */ mr r3, r28 +/* 80362154 0035F0B4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80362158 0035F0B8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036215C 0035F0BC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80362160 0035F0C0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80362164 0035F0C4 7C 08 03 A6 */ mtlr r0 +/* 80362168 0035F0C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036216C 0035F0CC 4E 80 00 20 */ blr + +.global "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +"__ct__17CParticleElectricF30TToken<20CElectricDescription>": +/* 80362170 0035F0D0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80362174 0035F0D4 7C 08 02 A6 */ mflr r0 +/* 80362178 0035F0D8 3C A0 80 3F */ lis r5, lbl_803EDD08@ha +/* 8036217C 0035F0DC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80362180 0035F0E0 38 05 DD 08 */ addi r0, r5, lbl_803EDD08@l +/* 80362184 0035F0E4 38 A0 00 00 */ li r5, 0 +/* 80362188 0035F0E8 BE E1 00 AC */ stmw r23, 0xac(r1) +/* 8036218C 0035F0EC 7C 7F 1B 78 */ mr r31, r3 +/* 80362190 0035F0F0 38 DF 00 10 */ addi r6, r31, 0x10 +/* 80362194 0035F0F4 3C 60 80 3F */ lis r3, lbl_803EF7B8@ha +/* 80362198 0035F0F8 3A FF 00 1C */ addi r23, r31, 0x1c +/* 8036219C 0035F0FC 90 1F 00 00 */ stw r0, 0(r31) +/* 803621A0 0035F100 38 03 F7 B8 */ addi r0, r3, lbl_803EF7B8@l +/* 803621A4 0035F104 7E E3 BB 78 */ mr r3, r23 +/* 803621A8 0035F108 90 DF 00 08 */ stw r6, 8(r31) +/* 803621AC 0035F10C 90 DF 00 0C */ stw r6, 0xc(r31) +/* 803621B0 0035F110 90 DF 00 10 */ stw r6, 0x10(r31) +/* 803621B4 0035F114 90 DF 00 14 */ stw r6, 0x14(r31) +/* 803621B8 0035F118 90 BF 00 18 */ stw r5, 0x18(r31) +/* 803621BC 0035F11C 90 1F 00 00 */ stw r0, 0(r31) +/* 803621C0 0035F120 4B FD EC E9 */ bl __ct__6CTokenFRC6CToken +/* 803621C4 0035F124 7E E3 BB 78 */ mr r3, r23 +/* 803621C8 0035F128 4B FD EC 45 */ bl GetObj__6CTokenFv +/* 803621CC 0035F12C 80 83 00 04 */ lwz r4, 4(r3) +/* 803621D0 0035F130 3C A0 80 5A */ lis r5, skZero3f@ha +/* 803621D4 0035F134 38 00 00 00 */ li r0, 0 +/* 803621D8 0035F138 C8 02 CD 90 */ lfd f0, lbl_805AEAB0@sda21(r2) +/* 803621DC 0035F13C 90 97 00 08 */ stw r4, 8(r23) +/* 803621E0 0035F140 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 803621E4 0035F144 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 803621E8 0035F148 3B 45 66 A0 */ addi r26, r5, skZero3f@l +/* 803621EC 0035F14C 90 1F 00 28 */ stw r0, 0x28(r31) +/* 803621F0 0035F150 38 7F 00 44 */ addi r3, r31, 0x44 +/* 803621F4 0035F154 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 803621F8 0035F158 D8 1F 00 30 */ stfd f0, 0x30(r31) +/* 803621FC 0035F15C C0 1A 00 00 */ lfs f0, 0(r26) +/* 80362200 0035F160 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80362204 0035F164 C0 1A 00 04 */ lfs f0, 4(r26) +/* 80362208 0035F168 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8036220C 0035F16C C0 1A 00 08 */ lfs f0, 8(r26) +/* 80362210 0035F170 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 80362214 0035F174 4B FB 09 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362218 0035F178 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8036221C 0035F17C 38 7F 00 74 */ addi r3, r31, 0x74 +/* 80362220 0035F180 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80362224 0035F184 4B FB 09 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362228 0035F188 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8036222C 0035F18C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80362230 0035F190 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80362234 0035F194 C0 05 00 00 */ lfs f0, 0(r5) +/* 80362238 0035F198 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8036223C 0035F19C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80362240 0035F1A0 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 80362244 0035F1A4 C0 1A 00 04 */ lfs f0, 4(r26) +/* 80362248 0035F1A8 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8036224C 0035F1AC C0 1A 00 08 */ lfs f0, 8(r26) +/* 80362250 0035F1B0 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 80362254 0035F1B4 4B FB 09 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362258 0035F1B8 C0 02 CD 48 */ lfs f0, lbl_805AEA68@sda21(r2) +/* 8036225C 0035F1BC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80362260 0035F1C0 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80362264 0035F1C4 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 80362268 0035F1C8 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8036226C 0035F1CC D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 80362270 0035F1D0 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 80362274 0035F1D4 D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 80362278 0035F1D8 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8036227C 0035F1DC D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 80362280 0035F1E0 4B FB 08 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362284 0035F1E4 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 80362288 0035F1E8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8036228C 0035F1EC 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80362290 0035F1F0 D0 3F 01 28 */ stfs f1, 0x128(r31) +/* 80362294 0035F1F4 38 7F 01 4C */ addi r3, r31, 0x14c +/* 80362298 0035F1F8 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8036229C 0035F1FC C0 04 00 00 */ lfs f0, 0(r4) +/* 803622A0 0035F200 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 803622A4 0035F204 C0 1A 00 04 */ lfs f0, 4(r26) +/* 803622A8 0035F208 D0 1F 01 34 */ stfs f0, 0x134(r31) +/* 803622AC 0035F20C C0 1A 00 08 */ lfs f0, 8(r26) +/* 803622B0 0035F210 D0 1F 01 38 */ stfs f0, 0x138(r31) +/* 803622B4 0035F214 C0 04 00 00 */ lfs f0, 0(r4) +/* 803622B8 0035F218 D0 1F 01 3C */ stfs f0, 0x13c(r31) +/* 803622BC 0035F21C C0 1A 00 04 */ lfs f0, 4(r26) +/* 803622C0 0035F220 D0 1F 01 40 */ stfs f0, 0x140(r31) +/* 803622C4 0035F224 C0 1A 00 08 */ lfs f0, 8(r26) +/* 803622C8 0035F228 D0 1F 01 44 */ stfs f0, 0x144(r31) +/* 803622CC 0035F22C D0 3F 01 48 */ stfs f1, 0x148(r31) +/* 803622D0 0035F230 A0 8D 9E 50 */ lhz r4, lbl_805A8A10@sda21(r13) +/* 803622D4 0035F234 38 04 00 01 */ addi r0, r4, 1 +/* 803622D8 0035F238 B0 0D 9E 50 */ sth r0, lbl_805A8A10@sda21(r13) +/* 803622DC 0035F23C 4B FB 03 11 */ bl __ct__9CRandom16FUi +/* 803622E0 0035F240 38 00 00 08 */ li r0, 8 +/* 803622E4 0035F244 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 803622E8 0035F248 90 1F 01 50 */ stw r0, 0x150(r31) +/* 803622EC 0035F24C 38 80 00 01 */ li r4, 1 +/* 803622F0 0035F250 38 00 00 00 */ li r0, 0 +/* 803622F4 0035F254 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 803622F8 0035F258 90 9F 01 54 */ stw r4, 0x154(r31) +/* 803622FC 0035F25C 3B C3 67 54 */ addi r30, r3, lbl_805A6754@l +/* 80362300 0035F260 90 1F 01 58 */ stw r0, 0x158(r31) +/* 80362304 0035F264 D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 80362308 0035F268 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8036230C 0035F26C D0 1F 01 60 */ stfs f0, 0x160(r31) +/* 80362310 0035F270 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80362314 0035F274 D0 1F 01 64 */ stfs f0, 0x164(r31) +/* 80362318 0035F278 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8036231C 0035F27C D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 80362320 0035F280 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80362324 0035F284 D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 80362328 0035F288 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8036232C 0035F28C D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 80362330 0035F290 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80362334 0035F294 D0 1F 01 74 */ stfs f0, 0x174(r31) +/* 80362338 0035F298 98 1F 01 84 */ stb r0, 0x184(r31) +/* 8036233C 0035F29C 98 1F 01 94 */ stb r0, 0x194(r31) +/* 80362340 0035F2A0 98 1F 01 A4 */ stb r0, 0x1a4(r31) +/* 80362344 0035F2A4 98 1F 01 B4 */ stb r0, 0x1b4(r31) +/* 80362348 0035F2A8 4B FE 7C 65 */ bl White__6CColorFv +/* 8036234C 0035F2AC 80 83 00 00 */ lwz r4, 0(r3) +/* 80362350 0035F2B0 38 60 00 20 */ li r3, 0x20 +/* 80362354 0035F2B4 38 00 00 04 */ li r0, 4 +/* 80362358 0035F2B8 38 BF 01 C0 */ addi r5, r31, 0x1c0 +/* 8036235C 0035F2BC 90 9F 01 B8 */ stw r4, 0x1b8(r31) +/* 80362360 0035F2C0 38 80 00 00 */ li r4, 0 +/* 80362364 0035F2C4 90 7F 01 BC */ stw r3, 0x1bc(r31) +/* 80362368 0035F2C8 7C 09 03 A6 */ mtctr r0 +lbl_8036236C: +/* 8036236C 0035F2CC 28 05 00 00 */ cmplwi r5, 0 +/* 80362370 0035F2D0 41 82 00 0C */ beq lbl_8036237C +/* 80362374 0035F2D4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 80362378 0035F2D8 98 05 00 00 */ stb r0, 0(r5) +lbl_8036237C: +/* 8036237C 0035F2DC 34 A5 00 01 */ addic. r5, r5, 1 +/* 80362380 0035F2E0 41 82 00 0C */ beq lbl_8036238C +/* 80362384 0035F2E4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 80362388 0035F2E8 98 05 00 00 */ stb r0, 0(r5) +lbl_8036238C: +/* 8036238C 0035F2EC 34 A5 00 01 */ addic. r5, r5, 1 +/* 80362390 0035F2F0 41 82 00 0C */ beq lbl_8036239C +/* 80362394 0035F2F4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 80362398 0035F2F8 98 05 00 00 */ stb r0, 0(r5) +lbl_8036239C: +/* 8036239C 0035F2FC 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623A0 0035F300 41 82 00 0C */ beq lbl_803623AC +/* 803623A4 0035F304 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623A8 0035F308 98 05 00 00 */ stb r0, 0(r5) +lbl_803623AC: +/* 803623AC 0035F30C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623B0 0035F310 41 82 00 0C */ beq lbl_803623BC +/* 803623B4 0035F314 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623B8 0035F318 98 05 00 00 */ stb r0, 0(r5) +lbl_803623BC: +/* 803623BC 0035F31C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623C0 0035F320 41 82 00 0C */ beq lbl_803623CC +/* 803623C4 0035F324 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623C8 0035F328 98 05 00 00 */ stb r0, 0(r5) +lbl_803623CC: +/* 803623CC 0035F32C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623D0 0035F330 41 82 00 0C */ beq lbl_803623DC +/* 803623D4 0035F334 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623D8 0035F338 98 05 00 00 */ stb r0, 0(r5) +lbl_803623DC: +/* 803623DC 0035F33C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623E0 0035F340 41 82 00 0C */ beq lbl_803623EC +/* 803623E4 0035F344 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623E8 0035F348 98 05 00 00 */ stb r0, 0(r5) +lbl_803623EC: +/* 803623EC 0035F34C 38 84 00 07 */ addi r4, r4, 7 +/* 803623F0 0035F350 38 A5 00 01 */ addi r5, r5, 1 +/* 803623F4 0035F354 42 00 FF 78 */ bdnz lbl_8036236C +/* 803623F8 0035F358 38 80 00 00 */ li r4, 0 +/* 803623FC 0035F35C 38 1F 03 F4 */ addi r0, r31, 0x3f4 +/* 80362400 0035F360 90 9F 01 E0 */ stw r4, 0x1e0(r31) +/* 80362404 0035F364 38 60 00 01 */ li r3, 1 +/* 80362408 0035F368 90 9F 02 E4 */ stw r4, 0x2e4(r31) +/* 8036240C 0035F36C 90 1F 03 EC */ stw r0, 0x3ec(r31) +/* 80362410 0035F370 90 1F 03 F0 */ stw r0, 0x3f0(r31) +/* 80362414 0035F374 90 1F 03 F4 */ stw r0, 0x3f4(r31) +/* 80362418 0035F378 90 1F 03 F8 */ stw r0, 0x3f8(r31) +/* 8036241C 0035F37C 90 9F 03 FC */ stw r4, 0x3fc(r31) +/* 80362420 0035F380 90 9F 04 04 */ stw r4, 0x404(r31) +/* 80362424 0035F384 90 9F 04 08 */ stw r4, 0x408(r31) +/* 80362428 0035F388 90 9F 04 0C */ stw r4, 0x40c(r31) +/* 8036242C 0035F38C 90 9F 04 14 */ stw r4, 0x414(r31) +/* 80362430 0035F390 90 9F 04 18 */ stw r4, 0x418(r31) +/* 80362434 0035F394 90 9F 04 1C */ stw r4, 0x41c(r31) +/* 80362438 0035F398 90 9F 04 24 */ stw r4, 0x424(r31) +/* 8036243C 0035F39C 90 9F 04 28 */ stw r4, 0x428(r31) +/* 80362440 0035F3A0 90 9F 04 2C */ stw r4, 0x42c(r31) +/* 80362444 0035F3A4 90 9F 04 34 */ stw r4, 0x434(r31) +/* 80362448 0035F3A8 90 9F 04 38 */ stw r4, 0x438(r31) +/* 8036244C 0035F3AC 90 9F 04 3C */ stw r4, 0x43c(r31) +/* 80362450 0035F3B0 90 9F 04 44 */ stw r4, 0x444(r31) +/* 80362454 0035F3B4 90 9F 04 48 */ stw r4, 0x448(r31) +/* 80362458 0035F3B8 90 9F 04 4C */ stw r4, 0x44c(r31) +/* 8036245C 0035F3BC 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362460 0035F3C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80362464 0035F3C4 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362468 0035F3C8 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8036246C 0035F3CC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80362470 0035F3D0 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362474 0035F3D4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362478 0035F3D8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8036247C 0035F3DC 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362480 0035F3E0 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362484 0035F3E4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80362488 0035F3E8 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8036248C 0035F3EC 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362490 0035F3F0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80362494 0035F3F4 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362498 0035F3F8 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8036249C 0035F3FC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 803624A0 0035F400 98 1F 04 50 */ stb r0, 0x450(r31) +/* 803624A4 0035F404 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803624A8 0035F408 80 63 00 10 */ lwz r3, 0x10(r3) +/* 803624AC 0035F40C 28 03 00 00 */ cmplwi r3, 0 +/* 803624B0 0035F410 41 82 00 1C */ beq lbl_803624CC +/* 803624B4 0035F414 81 83 00 00 */ lwz r12, 0(r3) +/* 803624B8 0035F418 38 BF 01 50 */ addi r5, r31, 0x150 +/* 803624BC 0035F41C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 803624C0 0035F420 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803624C4 0035F424 7D 89 03 A6 */ mtctr r12 +/* 803624C8 0035F428 4E 80 04 21 */ bctrl +lbl_803624CC: +/* 803624CC 0035F42C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803624D0 0035F430 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803624D4 0035F434 28 03 00 00 */ cmplwi r3, 0 +/* 803624D8 0035F438 41 82 00 1C */ beq lbl_803624F4 +/* 803624DC 0035F43C 81 83 00 00 */ lwz r12, 0(r3) +/* 803624E0 0035F440 38 BF 01 54 */ addi r5, r31, 0x154 +/* 803624E4 0035F444 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 803624E8 0035F448 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803624EC 0035F44C 7D 89 03 A6 */ mtctr r12 +/* 803624F0 0035F450 4E 80 04 21 */ bctrl +lbl_803624F4: +/* 803624F4 0035F454 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 803624F8 0035F458 2C 00 00 20 */ cmpwi r0, 0x20 +/* 803624FC 0035F45C 40 81 00 0C */ ble lbl_80362508 +/* 80362500 0035F460 38 00 00 20 */ li r0, 0x20 +/* 80362504 0035F464 90 1F 01 54 */ stw r0, 0x154(r31) +lbl_80362508: +/* 80362508 0035F468 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8036250C 0035F46C 80 63 00 00 */ lwz r3, 0(r3) +/* 80362510 0035F470 28 03 00 00 */ cmplwi r3, 0 +/* 80362514 0035F474 41 82 00 20 */ beq lbl_80362534 +/* 80362518 0035F478 81 83 00 00 */ lwz r12, 0(r3) +/* 8036251C 0035F47C 38 BF 00 2C */ addi r5, r31, 0x2c +/* 80362520 0035F480 38 80 00 00 */ li r4, 0 +/* 80362524 0035F484 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80362528 0035F488 7D 89 03 A6 */ mtctr r12 +/* 8036252C 0035F48C 4E 80 04 21 */ bctrl +/* 80362530 0035F490 48 00 00 10 */ b lbl_80362540 +lbl_80362534: +/* 80362534 0035F494 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 80362538 0035F498 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 8036253C 0035F49C 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_80362540: +/* 80362540 0035F4A0 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80362544 0035F4A4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80362548 0035F4A8 28 00 00 00 */ cmplwi r0, 0 +/* 8036254C 0035F4AC 41 82 01 54 */ beq lbl_803626A0 +/* 80362550 0035F4B0 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362554 0035F4B4 38 60 00 01 */ li r3, 1 +/* 80362558 0035F4B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8036255C 0035F4BC 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362560 0035F4C0 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362564 0035F4C4 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362568 0035F4C8 3B 9F 01 E0 */ addi r28, r31, 0x1e0 +/* 8036256C 0035F4CC 3B 60 00 00 */ li r27, 0 +/* 80362570 0035F4D0 48 00 01 24 */ b lbl_80362694 +lbl_80362574: +/* 80362574 0035F4D4 7F A4 EB 78 */ mr r4, r29 +/* 80362578 0035F4D8 3B 40 00 00 */ li r26, 0 +/* 8036257C 0035F4DC 38 60 02 10 */ li r3, 0x210 +/* 80362580 0035F4E0 38 A0 00 00 */ li r5, 0 +/* 80362584 0035F4E4 4B FB 32 E9 */ bl __nw__FUlPCcPCc +/* 80362588 0035F4E8 7C 79 1B 79 */ or. r25, r3, r3 +/* 8036258C 0035F4EC 41 82 00 2C */ beq lbl_803625B8 +/* 80362590 0035F4F0 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80362594 0035F4F4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80362598 0035F4F8 38 84 00 40 */ addi r4, r4, 0x40 +/* 8036259C 0035F4FC 4B FD E9 0D */ bl __ct__6CTokenFRC6CToken +/* 803625A0 0035F500 80 BF 01 50 */ lwz r5, 0x150(r31) +/* 803625A4 0035F504 7F 23 CB 78 */ mr r3, r25 +/* 803625A8 0035F508 38 81 00 70 */ addi r4, r1, 0x70 +/* 803625AC 0035F50C 3B 40 00 01 */ li r26, 1 +/* 803625B0 0035F510 4B FC C8 35 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 803625B4 0035F514 7C 79 1B 78 */ mr r25, r3 +lbl_803625B8: +/* 803625B8 0035F518 80 1C 00 00 */ lwz r0, 0(r28) +/* 803625BC 0035F51C 7C 79 00 D0 */ neg r3, r25 +/* 803625C0 0035F520 7C 63 CB 78 */ or r3, r3, r25 +/* 803625C4 0035F524 93 21 00 6C */ stw r25, 0x6c(r1) +/* 803625C8 0035F528 54 00 18 38 */ slwi r0, r0, 3 +/* 803625CC 0035F52C 7C 9C 02 14 */ add r4, r28, r0 +/* 803625D0 0035F530 54 60 0F FE */ srwi r0, r3, 0x1f +/* 803625D4 0035F534 34 84 00 04 */ addic. r4, r4, 4 +/* 803625D8 0035F538 98 01 00 68 */ stb r0, 0x68(r1) +/* 803625DC 0035F53C 41 82 00 14 */ beq lbl_803625F0 +/* 803625E0 0035F540 98 04 00 00 */ stb r0, 0(r4) +/* 803625E4 0035F544 38 00 00 00 */ li r0, 0 +/* 803625E8 0035F548 93 24 00 04 */ stw r25, 4(r4) +/* 803625EC 0035F54C 98 01 00 68 */ stb r0, 0x68(r1) +lbl_803625F0: +/* 803625F0 0035F550 80 7F 01 E0 */ lwz r3, 0x1e0(r31) +/* 803625F4 0035F554 88 01 00 68 */ lbz r0, 0x68(r1) +/* 803625F8 0035F558 38 63 00 01 */ addi r3, r3, 1 +/* 803625FC 0035F55C 28 00 00 00 */ cmplwi r0, 0 +/* 80362600 0035F560 90 7F 01 E0 */ stw r3, 0x1e0(r31) +/* 80362604 0035F564 41 82 00 24 */ beq lbl_80362628 +/* 80362608 0035F568 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 8036260C 0035F56C 28 03 00 00 */ cmplwi r3, 0 +/* 80362610 0035F570 41 82 00 18 */ beq lbl_80362628 +/* 80362614 0035F574 81 83 00 00 */ lwz r12, 0(r3) +/* 80362618 0035F578 38 80 00 01 */ li r4, 1 +/* 8036261C 0035F57C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362620 0035F580 7D 89 03 A6 */ mtctr r12 +/* 80362624 0035F584 4E 80 04 21 */ bctrl +lbl_80362628: +/* 80362628 0035F588 7F 40 07 75 */ extsb. r0, r26 +/* 8036262C 0035F58C 41 82 00 10 */ beq lbl_8036263C +/* 80362630 0035F590 38 61 00 70 */ addi r3, r1, 0x70 +/* 80362634 0035F594 38 80 00 00 */ li r4, 0 +/* 80362638 0035F598 4B FD E8 09 */ bl __dt__6CTokenFv +lbl_8036263C: +/* 8036263C 0035F59C 80 7C 00 00 */ lwz r3, 0(r28) +/* 80362640 0035F5A0 3A E0 00 00 */ li r23, 0 +/* 80362644 0035F5A4 3B 40 00 01 */ li r26, 1 +/* 80362648 0035F5A8 38 03 FF FF */ addi r0, r3, -1 +/* 8036264C 0035F5AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80362650 0035F5B0 7C 7C 02 14 */ add r3, r28, r0 +/* 80362654 0035F5B4 83 23 00 08 */ lwz r25, 8(r3) +/* 80362658 0035F5B8 83 19 01 60 */ lwz r24, 0x160(r25) +/* 8036265C 0035F5BC 48 00 00 2C */ b lbl_80362688 +lbl_80362660: +/* 80362660 0035F5C0 88 19 01 D0 */ lbz r0, 0x1d0(r25) +/* 80362664 0035F5C4 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a +/* 80362668 0035F5C8 7F 23 CB 78 */ mr r3, r25 +/* 8036266C 0035F5CC C8 22 CD 90 */ lfd f1, lbl_805AEAB0@sda21(r2) +/* 80362670 0035F5D0 98 19 01 D0 */ stb r0, 0x1d0(r25) +/* 80362674 0035F5D4 81 99 00 00 */ lwz r12, 0(r25) +/* 80362678 0035F5D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8036267C 0035F5DC 7D 89 03 A6 */ mtctr r12 +/* 80362680 0035F5E0 4E 80 04 21 */ bctrl +/* 80362684 0035F5E4 3A F7 00 01 */ addi r23, r23, 1 +lbl_80362688: +/* 80362688 0035F5E8 7C 17 C0 00 */ cmpw r23, r24 +/* 8036268C 0035F5EC 41 80 FF D4 */ blt lbl_80362660 +/* 80362690 0035F5F0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362694: +/* 80362694 0035F5F4 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362698 0035F5F8 7C 1B 00 00 */ cmpw r27, r0 +/* 8036269C 0035F5FC 41 80 FE D8 */ blt lbl_80362574 +lbl_803626A0: +/* 803626A0 0035F600 80 9F 01 50 */ lwz r4, 0x150(r31) +/* 803626A4 0035F604 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803626A8 0035F608 3B 43 66 A0 */ addi r26, r3, skZero3f@l +/* 803626AC 0035F60C 38 04 00 01 */ addi r0, r4, 1 +/* 803626B0 0035F610 90 1F 01 50 */ stw r0, 0x150(r31) +/* 803626B4 0035F614 83 7F 01 50 */ lwz r27, 0x150(r31) +/* 803626B8 0035F618 1F 3B 00 0C */ mulli r25, r27, 0xc +/* 803626BC 0035F61C 93 61 00 9C */ stw r27, 0x9c(r1) +/* 803626C0 0035F620 93 61 00 A0 */ stw r27, 0xa0(r1) +/* 803626C4 0035F624 2C 19 00 00 */ cmpwi r25, 0 +/* 803626C8 0035F628 40 82 00 0C */ bne lbl_803626D4 +/* 803626CC 0035F62C 38 60 00 00 */ li r3, 0 +/* 803626D0 0035F630 48 00 00 38 */ b lbl_80362708 +lbl_803626D4: +/* 803626D4 0035F634 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 803626D8 0035F638 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 803626DC 0035F63C 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l +/* 803626E0 0035F640 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 803626E4 0035F644 38 61 00 38 */ addi r3, r1, 0x38 +/* 803626E8 0035F648 38 80 FF FF */ li r4, -1 +/* 803626EC 0035F64C 4B F7 3C E9 */ bl __ct__10CCallStackFUiPCcPCc +/* 803626F0 0035F650 7C 67 1B 78 */ mr r7, r3 +/* 803626F4 0035F654 7F 23 CB 78 */ mr r3, r25 +/* 803626F8 0035F658 38 80 00 02 */ li r4, 2 +/* 803626FC 0035F65C 38 A0 00 01 */ li r5, 1 +/* 80362700 0035F660 38 C0 00 00 */ li r6, 0 +/* 80362704 0035F664 4B FB 32 91 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +lbl_80362708: +/* 80362708 0035F668 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 8036270C 0035F66C 7F 69 03 A6 */ mtctr r27 +/* 80362710 0035F670 2C 1B 00 00 */ cmpwi r27, 0 +/* 80362714 0035F674 40 81 00 2C */ ble lbl_80362740 +lbl_80362718: +/* 80362718 0035F678 28 03 00 00 */ cmplwi r3, 0 +/* 8036271C 0035F67C 41 82 00 1C */ beq lbl_80362738 +/* 80362720 0035F680 C0 1A 00 00 */ lfs f0, 0(r26) +/* 80362724 0035F684 D0 03 00 00 */ stfs f0, 0(r3) +/* 80362728 0035F688 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8036272C 0035F68C D0 03 00 04 */ stfs f0, 4(r3) +/* 80362730 0035F690 C0 1A 00 08 */ lfs f0, 8(r26) +/* 80362734 0035F694 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80362738: +/* 80362738 0035F698 38 63 00 0C */ addi r3, r3, 0xc +/* 8036273C 0035F69C 42 00 FF DC */ bdnz lbl_80362718 +lbl_80362740: +/* 80362740 0035F6A0 38 7F 04 20 */ addi r3, r31, 0x420 +/* 80362744 0035F6A4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80362748 0035F6A8 4B FF D8 CD */ bl sub_80360014 +/* 8036274C 0035F6AC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 80362750 0035F6B0 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80362754 0035F6B4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362758 0035F6B8 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8036275C 0035F6BC 7C 64 1B 78 */ mr r4, r3 +/* 80362760 0035F6C0 7C 03 02 14 */ add r0, r3, r0 +/* 80362764 0035F6C4 90 61 00 28 */ stw r3, 0x28(r1) +/* 80362768 0035F6C8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036276C 0035F6CC 90 01 00 30 */ stw r0, 0x30(r1) +/* 80362770 0035F6D0 48 00 00 08 */ b lbl_80362778 +lbl_80362774: +/* 80362774 0035F6D4 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362778: +/* 80362778 0035F6D8 7C 04 00 40 */ cmplw r4, r0 +/* 8036277C 0035F6DC 40 82 FF F8 */ bne lbl_80362774 +/* 80362780 0035F6E0 4B FB 31 B1 */ bl Free__7CMemoryFPCv +/* 80362784 0035F6E4 83 7F 01 50 */ lwz r27, 0x150(r31) +/* 80362788 0035F6E8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8036278C 0035F6EC 3B 43 66 A0 */ addi r26, r3, skZero3f@l +/* 80362790 0035F6F0 1C 7B 00 0C */ mulli r3, r27, 0xc +/* 80362794 0035F6F4 93 61 00 8C */ stw r27, 0x8c(r1) +/* 80362798 0035F6F8 93 61 00 90 */ stw r27, 0x90(r1) +/* 8036279C 0035F6FC 2C 03 00 00 */ cmpwi r3, 0 +/* 803627A0 0035F700 40 82 00 10 */ bne lbl_803627B0 +/* 803627A4 0035F704 38 00 00 00 */ li r0, 0 +/* 803627A8 0035F708 90 01 00 94 */ stw r0, 0x94(r1) +/* 803627AC 0035F70C 48 00 00 18 */ b lbl_803627C4 +lbl_803627B0: +/* 803627B0 0035F710 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 803627B4 0035F714 38 A0 00 00 */ li r5, 0 +/* 803627B8 0035F718 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 803627BC 0035F71C 4B FB 30 5D */ bl __nwa__FUlPCcPCc +/* 803627C0 0035F720 90 61 00 94 */ stw r3, 0x94(r1) +lbl_803627C4: +/* 803627C4 0035F724 80 61 00 94 */ lwz r3, 0x94(r1) +/* 803627C8 0035F728 7F 69 03 A6 */ mtctr r27 +/* 803627CC 0035F72C 2C 1B 00 00 */ cmpwi r27, 0 +/* 803627D0 0035F730 40 81 00 2C */ ble lbl_803627FC +lbl_803627D4: +/* 803627D4 0035F734 28 03 00 00 */ cmplwi r3, 0 +/* 803627D8 0035F738 41 82 00 1C */ beq lbl_803627F4 +/* 803627DC 0035F73C C0 1A 00 00 */ lfs f0, 0(r26) +/* 803627E0 0035F740 D0 03 00 00 */ stfs f0, 0(r3) +/* 803627E4 0035F744 C0 1A 00 04 */ lfs f0, 4(r26) +/* 803627E8 0035F748 D0 03 00 04 */ stfs f0, 4(r3) +/* 803627EC 0035F74C C0 1A 00 08 */ lfs f0, 8(r26) +/* 803627F0 0035F750 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803627F4: +/* 803627F4 0035F754 38 63 00 0C */ addi r3, r3, 0xc +/* 803627F8 0035F758 42 00 FF DC */ bdnz lbl_803627D4 +lbl_803627FC: +/* 803627FC 0035F75C 38 7F 04 40 */ addi r3, r31, 0x440 +/* 80362800 0035F760 38 81 00 88 */ addi r4, r1, 0x88 +/* 80362804 0035F764 4B D3 1F 89 */ bl "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" +/* 80362808 0035F768 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 8036280C 0035F76C 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80362810 0035F770 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362814 0035F774 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80362818 0035F778 7C 64 1B 78 */ mr r4, r3 +/* 8036281C 0035F77C 7C 03 02 14 */ add r0, r3, r0 +/* 80362820 0035F780 90 61 00 18 */ stw r3, 0x18(r1) +/* 80362824 0035F784 90 01 00 24 */ stw r0, 0x24(r1) +/* 80362828 0035F788 90 01 00 20 */ stw r0, 0x20(r1) +/* 8036282C 0035F78C 48 00 00 08 */ b lbl_80362834 +lbl_80362830: +/* 80362830 0035F790 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362834: +/* 80362834 0035F794 7C 04 00 40 */ cmplw r4, r0 +/* 80362838 0035F798 40 82 FF F8 */ bne lbl_80362830 +/* 8036283C 0035F79C 28 03 00 00 */ cmplwi r3, 0 +/* 80362840 0035F7A0 41 82 00 08 */ beq lbl_80362848 +/* 80362844 0035F7A4 4B FB 30 ED */ bl Free__7CMemoryFPCv +lbl_80362848: +/* 80362848 0035F7A8 83 5F 01 50 */ lwz r26, 0x150(r31) +/* 8036284C 0035F7AC 57 43 10 3B */ rlwinm. r3, r26, 2, 0, 0x1d +/* 80362850 0035F7B0 93 41 00 7C */ stw r26, 0x7c(r1) +/* 80362854 0035F7B4 93 41 00 80 */ stw r26, 0x80(r1) +/* 80362858 0035F7B8 40 82 00 10 */ bne lbl_80362868 +/* 8036285C 0035F7BC 38 00 00 00 */ li r0, 0 +/* 80362860 0035F7C0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80362864 0035F7C4 48 00 00 18 */ b lbl_8036287C +lbl_80362868: +/* 80362868 0035F7C8 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 8036286C 0035F7CC 38 A0 00 00 */ li r5, 0 +/* 80362870 0035F7D0 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 80362874 0035F7D4 4B FB 2F A5 */ bl __nwa__FUlPCcPCc +/* 80362878 0035F7D8 90 61 00 84 */ stw r3, 0x84(r1) +lbl_8036287C: +/* 8036287C 0035F7DC 80 61 00 84 */ lwz r3, 0x84(r1) +/* 80362880 0035F7E0 7F 49 03 A6 */ mtctr r26 +/* 80362884 0035F7E4 2C 1A 00 00 */ cmpwi r26, 0 +/* 80362888 0035F7E8 40 81 00 1C */ ble lbl_803628A4 +lbl_8036288C: +/* 8036288C 0035F7EC 28 03 00 00 */ cmplwi r3, 0 +/* 80362890 0035F7F0 41 82 00 0C */ beq lbl_8036289C +/* 80362894 0035F7F4 C0 0D 9E 54 */ lfs f0, lbl_805A8A14@sda21(r13) +/* 80362898 0035F7F8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8036289C: +/* 8036289C 0035F7FC 38 63 00 04 */ addi r3, r3, 4 +/* 803628A0 0035F800 42 00 FF EC */ bdnz lbl_8036288C +lbl_803628A4: +/* 803628A4 0035F804 38 7F 04 30 */ addi r3, r31, 0x430 +/* 803628A8 0035F808 38 81 00 78 */ addi r4, r1, 0x78 +/* 803628AC 0035F80C 4B D3 1C E1 */ bl "__as__Q24rstl36vectorFRCQ24rstl36vector" +/* 803628B0 0035F810 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 803628B4 0035F814 80 61 00 84 */ lwz r3, 0x84(r1) +/* 803628B8 0035F818 54 00 10 3A */ slwi r0, r0, 2 +/* 803628BC 0035F81C 7C 03 02 14 */ add r0, r3, r0 +/* 803628C0 0035F820 90 61 00 0C */ stw r3, 0xc(r1) +/* 803628C4 0035F824 7C 64 1B 78 */ mr r4, r3 +/* 803628C8 0035F828 90 01 00 14 */ stw r0, 0x14(r1) +/* 803628CC 0035F82C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803628D0 0035F830 90 61 00 08 */ stw r3, 8(r1) +/* 803628D4 0035F834 48 00 00 08 */ b lbl_803628DC +lbl_803628D8: +/* 803628D8 0035F838 38 84 00 04 */ addi r4, r4, 4 +lbl_803628DC: +/* 803628DC 0035F83C 7C 04 00 40 */ cmplw r4, r0 +/* 803628E0 0035F840 40 82 FF F8 */ bne lbl_803628D8 +/* 803628E4 0035F844 28 03 00 00 */ cmplwi r3, 0 +/* 803628E8 0035F848 41 82 00 08 */ beq lbl_803628F0 +/* 803628EC 0035F84C 4B FB 30 45 */ bl Free__7CMemoryFPCv +lbl_803628F0: +/* 803628F0 0035F850 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803628F4 0035F854 88 03 00 5C */ lbz r0, 0x5c(r3) +/* 803628F8 0035F858 28 00 00 00 */ cmplwi r0, 0 +/* 803628FC 0035F85C 41 82 01 68 */ beq lbl_80362A64 +/* 80362900 0035F860 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362904 0035F864 38 60 00 01 */ li r3, 1 +/* 80362908 0035F868 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8036290C 0035F86C 38 7F 04 00 */ addi r3, r31, 0x400 +/* 80362910 0035F870 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362914 0035F874 80 9F 01 54 */ lwz r4, 0x154(r31) +/* 80362918 0035F878 48 00 06 35 */ bl sub_80362f4c +/* 8036291C 0035F87C 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362920 0035F880 3B 60 00 00 */ li r27, 0 +/* 80362924 0035F884 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362928 0035F888 48 00 01 30 */ b lbl_80362A58 +lbl_8036292C: +/* 8036292C 0035F88C 7F A4 EB 78 */ mr r4, r29 +/* 80362930 0035F890 3B 40 00 00 */ li r26, 0 +/* 80362934 0035F894 38 60 03 40 */ li r3, 0x340 +/* 80362938 0035F898 38 A0 00 00 */ li r5, 0 +/* 8036293C 0035F89C 4B FB 2F 31 */ bl __nw__FUlPCcPCc +/* 80362940 0035F8A0 7C 79 1B 79 */ or. r25, r3, r3 +/* 80362944 0035F8A4 41 82 00 30 */ beq lbl_80362974 +/* 80362948 0035F8A8 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8036294C 0035F8AC 38 61 00 60 */ addi r3, r1, 0x60 +/* 80362950 0035F8B0 38 84 00 50 */ addi r4, r4, 0x50 +/* 80362954 0035F8B4 4B FD E5 55 */ bl __ct__6CTokenFRC6CToken +/* 80362958 0035F8B8 7F 23 CB 78 */ mr r3, r25 +/* 8036295C 0035F8BC 38 81 00 60 */ addi r4, r1, 0x60 +/* 80362960 0035F8C0 3B 40 00 01 */ li r26, 1 +/* 80362964 0035F8C4 38 A0 00 00 */ li r5, 0 +/* 80362968 0035F8C8 38 C0 00 01 */ li r6, 1 +/* 8036296C 0035F8CC 4B FB CA 75 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80362970 0035F8D0 7C 79 1B 78 */ mr r25, r3 +lbl_80362974: +/* 80362974 0035F8D4 7C 79 00 D0 */ neg r3, r25 +/* 80362978 0035F8D8 80 1F 04 04 */ lwz r0, 0x404(r31) +/* 8036297C 0035F8DC 80 BF 04 08 */ lwz r5, 0x408(r31) +/* 80362980 0035F8E0 7C 63 CB 78 */ or r3, r3, r25 +/* 80362984 0035F8E4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80362988 0035F8E8 93 21 00 5C */ stw r25, 0x5c(r1) +/* 8036298C 0035F8EC 7C 00 28 00 */ cmpw r0, r5 +/* 80362990 0035F8F0 98 61 00 58 */ stb r3, 0x58(r1) +/* 80362994 0035F8F4 41 80 00 1C */ blt lbl_803629B0 +/* 80362998 0035F8F8 2C 05 00 00 */ cmpwi r5, 0 +/* 8036299C 0035F8FC 38 7F 04 00 */ addi r3, r31, 0x400 +/* 803629A0 0035F900 38 80 00 04 */ li r4, 4 +/* 803629A4 0035F904 41 82 00 08 */ beq lbl_803629AC +/* 803629A8 0035F908 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803629AC: +/* 803629AC 0035F90C 48 00 05 A1 */ bl sub_80362f4c +lbl_803629B0: +/* 803629B0 0035F910 80 1F 04 04 */ lwz r0, 0x404(r31) +/* 803629B4 0035F914 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 803629B8 0035F918 54 00 18 38 */ slwi r0, r0, 3 +/* 803629BC 0035F91C 7C A3 02 15 */ add. r5, r3, r0 +/* 803629C0 0035F920 41 82 00 1C */ beq lbl_803629DC +/* 803629C4 0035F924 88 81 00 58 */ lbz r4, 0x58(r1) +/* 803629C8 0035F928 38 00 00 00 */ li r0, 0 +/* 803629CC 0035F92C 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 803629D0 0035F930 98 85 00 00 */ stb r4, 0(r5) +/* 803629D4 0035F934 90 65 00 04 */ stw r3, 4(r5) +/* 803629D8 0035F938 98 01 00 58 */ stb r0, 0x58(r1) +lbl_803629DC: +/* 803629DC 0035F93C 80 7F 04 04 */ lwz r3, 0x404(r31) +/* 803629E0 0035F940 88 01 00 58 */ lbz r0, 0x58(r1) +/* 803629E4 0035F944 38 63 00 01 */ addi r3, r3, 1 +/* 803629E8 0035F948 28 00 00 00 */ cmplwi r0, 0 +/* 803629EC 0035F94C 90 7F 04 04 */ stw r3, 0x404(r31) +/* 803629F0 0035F950 41 82 00 24 */ beq lbl_80362A14 +/* 803629F4 0035F954 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 803629F8 0035F958 28 03 00 00 */ cmplwi r3, 0 +/* 803629FC 0035F95C 41 82 00 18 */ beq lbl_80362A14 +/* 80362A00 0035F960 81 83 00 00 */ lwz r12, 0(r3) +/* 80362A04 0035F964 38 80 00 01 */ li r4, 1 +/* 80362A08 0035F968 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362A0C 0035F96C 7D 89 03 A6 */ mtctr r12 +/* 80362A10 0035F970 4E 80 04 21 */ bctrl +lbl_80362A14: +/* 80362A14 0035F974 7F 40 07 75 */ extsb. r0, r26 +/* 80362A18 0035F978 41 82 00 10 */ beq lbl_80362A28 +/* 80362A1C 0035F97C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80362A20 0035F980 38 80 00 00 */ li r4, 0 +/* 80362A24 0035F984 4B FD E4 1D */ bl __dt__6CTokenFv +lbl_80362A28: +/* 80362A28 0035F988 80 7F 04 04 */ lwz r3, 0x404(r31) +/* 80362A2C 0035F98C 38 80 00 00 */ li r4, 0 +/* 80362A30 0035F990 80 BF 04 0C */ lwz r5, 0x40c(r31) +/* 80362A34 0035F994 38 03 FF FF */ addi r0, r3, -1 +/* 80362A38 0035F998 54 00 18 38 */ slwi r0, r0, 3 +/* 80362A3C 0035F99C 7C 65 02 14 */ add r3, r5, r0 +/* 80362A40 0035F9A0 80 63 00 04 */ lwz r3, 4(r3) +/* 80362A44 0035F9A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80362A48 0035F9A8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80362A4C 0035F9AC 7D 89 03 A6 */ mtctr r12 +/* 80362A50 0035F9B0 4E 80 04 21 */ bctrl +/* 80362A54 0035F9B4 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362A58: +/* 80362A58 0035F9B8 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362A5C 0035F9BC 7C 1B 00 00 */ cmpw r27, r0 +/* 80362A60 0035F9C0 41 80 FE CC */ blt lbl_8036292C +lbl_80362A64: +/* 80362A64 0035F9C4 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80362A68 0035F9C8 88 03 00 6C */ lbz r0, 0x6c(r3) +/* 80362A6C 0035F9CC 28 00 00 00 */ cmplwi r0, 0 +/* 80362A70 0035F9D0 41 82 01 68 */ beq lbl_80362BD8 +/* 80362A74 0035F9D4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362A78 0035F9D8 38 60 00 01 */ li r3, 1 +/* 80362A7C 0035F9DC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80362A80 0035F9E0 38 7F 04 10 */ addi r3, r31, 0x410 +/* 80362A84 0035F9E4 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362A88 0035F9E8 80 9F 01 54 */ lwz r4, 0x154(r31) +/* 80362A8C 0035F9EC 48 00 04 C1 */ bl sub_80362f4c +/* 80362A90 0035F9F0 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362A94 0035F9F4 3B 60 00 00 */ li r27, 0 +/* 80362A98 0035F9F8 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362A9C 0035F9FC 48 00 01 30 */ b lbl_80362BCC +lbl_80362AA0: +/* 80362AA0 0035FA00 7F A4 EB 78 */ mr r4, r29 +/* 80362AA4 0035FA04 3B 40 00 00 */ li r26, 0 +/* 80362AA8 0035FA08 38 60 03 40 */ li r3, 0x340 +/* 80362AAC 0035FA0C 38 A0 00 00 */ li r5, 0 +/* 80362AB0 0035FA10 4B FB 2D BD */ bl __nw__FUlPCcPCc +/* 80362AB4 0035FA14 7C 79 1B 79 */ or. r25, r3, r3 +/* 80362AB8 0035FA18 41 82 00 30 */ beq lbl_80362AE8 +/* 80362ABC 0035FA1C 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80362AC0 0035FA20 38 61 00 50 */ addi r3, r1, 0x50 +/* 80362AC4 0035FA24 38 84 00 60 */ addi r4, r4, 0x60 +/* 80362AC8 0035FA28 4B FD E3 E1 */ bl __ct__6CTokenFRC6CToken +/* 80362ACC 0035FA2C 7F 23 CB 78 */ mr r3, r25 +/* 80362AD0 0035FA30 38 81 00 50 */ addi r4, r1, 0x50 +/* 80362AD4 0035FA34 3B 40 00 01 */ li r26, 1 +/* 80362AD8 0035FA38 38 A0 00 00 */ li r5, 0 +/* 80362ADC 0035FA3C 38 C0 00 01 */ li r6, 1 +/* 80362AE0 0035FA40 4B FB C9 01 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80362AE4 0035FA44 7C 79 1B 78 */ mr r25, r3 +lbl_80362AE8: +/* 80362AE8 0035FA48 7C 79 00 D0 */ neg r3, r25 +/* 80362AEC 0035FA4C 80 1F 04 14 */ lwz r0, 0x414(r31) +/* 80362AF0 0035FA50 80 BF 04 18 */ lwz r5, 0x418(r31) +/* 80362AF4 0035FA54 7C 63 CB 78 */ or r3, r3, r25 +/* 80362AF8 0035FA58 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80362AFC 0035FA5C 93 21 00 4C */ stw r25, 0x4c(r1) +/* 80362B00 0035FA60 7C 00 28 00 */ cmpw r0, r5 +/* 80362B04 0035FA64 98 61 00 48 */ stb r3, 0x48(r1) +/* 80362B08 0035FA68 41 80 00 1C */ blt lbl_80362B24 +/* 80362B0C 0035FA6C 2C 05 00 00 */ cmpwi r5, 0 +/* 80362B10 0035FA70 38 7F 04 10 */ addi r3, r31, 0x410 +/* 80362B14 0035FA74 38 80 00 04 */ li r4, 4 +/* 80362B18 0035FA78 41 82 00 08 */ beq lbl_80362B20 +/* 80362B1C 0035FA7C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80362B20: +/* 80362B20 0035FA80 48 00 04 2D */ bl sub_80362f4c +lbl_80362B24: +/* 80362B24 0035FA84 80 1F 04 14 */ lwz r0, 0x414(r31) +/* 80362B28 0035FA88 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 80362B2C 0035FA8C 54 00 18 38 */ slwi r0, r0, 3 +/* 80362B30 0035FA90 7C A3 02 15 */ add. r5, r3, r0 +/* 80362B34 0035FA94 41 82 00 1C */ beq lbl_80362B50 +/* 80362B38 0035FA98 88 81 00 48 */ lbz r4, 0x48(r1) +/* 80362B3C 0035FA9C 38 00 00 00 */ li r0, 0 +/* 80362B40 0035FAA0 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80362B44 0035FAA4 98 85 00 00 */ stb r4, 0(r5) +/* 80362B48 0035FAA8 90 65 00 04 */ stw r3, 4(r5) +/* 80362B4C 0035FAAC 98 01 00 48 */ stb r0, 0x48(r1) +lbl_80362B50: +/* 80362B50 0035FAB0 80 7F 04 14 */ lwz r3, 0x414(r31) +/* 80362B54 0035FAB4 88 01 00 48 */ lbz r0, 0x48(r1) +/* 80362B58 0035FAB8 38 63 00 01 */ addi r3, r3, 1 +/* 80362B5C 0035FABC 28 00 00 00 */ cmplwi r0, 0 +/* 80362B60 0035FAC0 90 7F 04 14 */ stw r3, 0x414(r31) +/* 80362B64 0035FAC4 41 82 00 24 */ beq lbl_80362B88 +/* 80362B68 0035FAC8 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80362B6C 0035FACC 28 03 00 00 */ cmplwi r3, 0 +/* 80362B70 0035FAD0 41 82 00 18 */ beq lbl_80362B88 +/* 80362B74 0035FAD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80362B78 0035FAD8 38 80 00 01 */ li r4, 1 +/* 80362B7C 0035FADC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362B80 0035FAE0 7D 89 03 A6 */ mtctr r12 +/* 80362B84 0035FAE4 4E 80 04 21 */ bctrl +lbl_80362B88: +/* 80362B88 0035FAE8 7F 40 07 75 */ extsb. r0, r26 +/* 80362B8C 0035FAEC 41 82 00 10 */ beq lbl_80362B9C +/* 80362B90 0035FAF0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80362B94 0035FAF4 38 80 00 00 */ li r4, 0 +/* 80362B98 0035FAF8 4B FD E2 A9 */ bl __dt__6CTokenFv +lbl_80362B9C: +/* 80362B9C 0035FAFC 80 7F 04 14 */ lwz r3, 0x414(r31) +/* 80362BA0 0035FB00 38 80 00 00 */ li r4, 0 +/* 80362BA4 0035FB04 80 BF 04 1C */ lwz r5, 0x41c(r31) +/* 80362BA8 0035FB08 38 03 FF FF */ addi r0, r3, -1 +/* 80362BAC 0035FB0C 54 00 18 38 */ slwi r0, r0, 3 +/* 80362BB0 0035FB10 7C 65 02 14 */ add r3, r5, r0 +/* 80362BB4 0035FB14 80 63 00 04 */ lwz r3, 4(r3) +/* 80362BB8 0035FB18 81 83 00 00 */ lwz r12, 0(r3) +/* 80362BBC 0035FB1C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80362BC0 0035FB20 7D 89 03 A6 */ mtctr r12 +/* 80362BC4 0035FB24 4E 80 04 21 */ bctrl +/* 80362BC8 0035FB28 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362BCC: +/* 80362BCC 0035FB2C 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362BD0 0035FB30 7C 1B 00 00 */ cmpw r27, r0 +/* 80362BD4 0035FB34 41 80 FE CC */ blt lbl_80362AA0 +lbl_80362BD8: +/* 80362BD8 0035FB38 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80362BDC 0035FB3C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80362BE0 0035FB40 28 00 00 00 */ cmplwi r0, 0 +/* 80362BE4 0035FB44 40 82 00 1C */ bne lbl_80362C00 +/* 80362BE8 0035FB48 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80362BEC 0035FB4C 28 00 00 00 */ cmplwi r0, 0 +/* 80362BF0 0035FB50 40 82 00 10 */ bne lbl_80362C00 +/* 80362BF4 0035FB54 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80362BF8 0035FB58 28 00 00 00 */ cmplwi r0, 0 +/* 80362BFC 0035FB5C 41 82 01 28 */ beq lbl_80362D24 +lbl_80362C00: +/* 80362C00 0035FB60 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362C04 0035FB64 38 60 00 01 */ li r3, 1 +/* 80362C08 0035FB68 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80362C0C 0035FB6C 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362C10 0035FB70 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362C14 0035FB74 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362C18 0035FB78 3B 9F 02 E4 */ addi r28, r31, 0x2e4 +/* 80362C1C 0035FB7C 3B 60 00 00 */ li r27, 0 +/* 80362C20 0035FB80 48 00 00 F8 */ b lbl_80362D18 +lbl_80362C24: +/* 80362C24 0035FB84 7F A4 EB 78 */ mr r4, r29 +/* 80362C28 0035FB88 38 60 00 40 */ li r3, 0x40 +/* 80362C2C 0035FB8C 38 A0 00 00 */ li r5, 0 +/* 80362C30 0035FB90 4B FB 2C 3D */ bl __nw__FUlPCcPCc +/* 80362C34 0035FB94 7C 79 1B 79 */ or. r25, r3, r3 +/* 80362C38 0035FB98 41 82 00 88 */ beq lbl_80362CC0 +/* 80362C3C 0035FB9C 38 00 00 00 */ li r0, 0 +/* 80362C40 0035FBA0 7F 37 CB 78 */ mr r23, r25 +/* 80362C44 0035FBA4 90 19 00 04 */ stw r0, 4(r25) +/* 80362C48 0035FBA8 C0 42 CD 48 */ lfs f2, lbl_805AEA68@sda21(r2) +/* 80362C4C 0035FBAC 90 19 00 08 */ stw r0, 8(r25) +/* 80362C50 0035FBB0 C0 22 CD 6C */ lfs f1, lbl_805AEA8C@sda21(r2) +/* 80362C54 0035FBB4 90 19 00 0C */ stw r0, 0xc(r25) +/* 80362C58 0035FBB8 C0 02 CD 98 */ lfs f0, lbl_805AEAB8@sda21(r2) +/* 80362C5C 0035FBBC D0 59 00 10 */ stfs f2, 0x10(r25) +/* 80362C60 0035FBC0 D0 39 00 14 */ stfs f1, 0x14(r25) +/* 80362C64 0035FBC4 D0 19 00 18 */ stfs f0, 0x18(r25) +/* 80362C68 0035FBC8 4B FE 73 45 */ bl White__6CColorFv +/* 80362C6C 0035FBCC 80 03 00 00 */ lwz r0, 0(r3) +/* 80362C70 0035FBD0 90 17 00 1C */ stw r0, 0x1c(r23) +/* 80362C74 0035FBD4 4B FE 73 39 */ bl White__6CColorFv +/* 80362C78 0035FBD8 80 03 00 00 */ lwz r0, 0(r3) +/* 80362C7C 0035FBDC 90 17 00 20 */ stw r0, 0x20(r23) +/* 80362C80 0035FBE0 4B FE 73 2D */ bl White__6CColorFv +/* 80362C84 0035FBE4 80 03 00 00 */ lwz r0, 0(r3) +/* 80362C88 0035FBE8 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80362C8C 0035FBEC 90 17 00 24 */ stw r0, 0x24(r23) +/* 80362C90 0035FBF0 C0 03 67 54 */ lfs f0, lbl_805A6754@l(r3) +/* 80362C94 0035FBF4 D0 17 00 28 */ stfs f0, 0x28(r23) +/* 80362C98 0035FBF8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80362C9C 0035FBFC D0 17 00 2C */ stfs f0, 0x2c(r23) +/* 80362CA0 0035FC00 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80362CA4 0035FC04 D0 17 00 30 */ stfs f0, 0x30(r23) +/* 80362CA8 0035FC08 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80362CAC 0035FC0C D0 17 00 34 */ stfs f0, 0x34(r23) +/* 80362CB0 0035FC10 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80362CB4 0035FC14 D0 17 00 38 */ stfs f0, 0x38(r23) +/* 80362CB8 0035FC18 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80362CBC 0035FC1C D0 17 00 3C */ stfs f0, 0x3c(r23) +lbl_80362CC0: +/* 80362CC0 0035FC20 7C 19 00 D0 */ neg r0, r25 +/* 80362CC4 0035FC24 93 21 00 44 */ stw r25, 0x44(r1) +/* 80362CC8 0035FC28 7C 00 CB 78 */ or r0, r0, r25 +/* 80362CCC 0035FC2C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80362CD0 0035FC30 98 61 00 40 */ stb r3, 0x40(r1) +/* 80362CD4 0035FC34 80 1C 00 00 */ lwz r0, 0(r28) +/* 80362CD8 0035FC38 54 00 18 38 */ slwi r0, r0, 3 +/* 80362CDC 0035FC3C 7C 9C 02 14 */ add r4, r28, r0 +/* 80362CE0 0035FC40 34 84 00 04 */ addic. r4, r4, 4 +/* 80362CE4 0035FC44 41 82 00 18 */ beq lbl_80362CFC +/* 80362CE8 0035FC48 98 64 00 00 */ stb r3, 0(r4) +/* 80362CEC 0035FC4C 38 00 00 00 */ li r0, 0 +/* 80362CF0 0035FC50 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80362CF4 0035FC54 90 64 00 04 */ stw r3, 4(r4) +/* 80362CF8 0035FC58 98 01 00 40 */ stb r0, 0x40(r1) +lbl_80362CFC: +/* 80362CFC 0035FC5C 80 BF 02 E4 */ lwz r5, 0x2e4(r31) +/* 80362D00 0035FC60 38 61 00 40 */ addi r3, r1, 0x40 +/* 80362D04 0035FC64 38 80 FF FF */ li r4, -1 +/* 80362D08 0035FC68 38 05 00 01 */ addi r0, r5, 1 +/* 80362D0C 0035FC6C 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 80362D10 0035FC70 4B FF F2 E1 */ bl "__dt__Q24rstl45auto_ptrFv" +/* 80362D14 0035FC74 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362D18: +/* 80362D18 0035FC78 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362D1C 0035FC7C 7C 1B 00 00 */ cmpw r27, r0 +/* 80362D20 0035FC80 41 80 FF 04 */ blt lbl_80362C24 +lbl_80362D24: +/* 80362D24 0035FC84 7F E3 FB 78 */ mr r3, r31 +/* 80362D28 0035FC88 BA E1 00 AC */ lmw r23, 0xac(r1) +/* 80362D2C 0035FC8C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80362D30 0035FC90 7C 08 03 A6 */ mtlr r0 +/* 80362D34 0035FC94 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80362D38 0035FC98 4E 80 00 20 */ blr + +.global sub_80362d3c +sub_80362d3c: +/* 80362D3C 0035FC9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80362D40 0035FCA0 7C 08 02 A6 */ mflr r0 +/* 80362D44 0035FCA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80362D48 0035FCA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80362D4C 0035FCAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80362D50 0035FCB0 7C 7E 1B 78 */ mr r30, r3 +/* 80362D54 0035FCB4 80 03 00 04 */ lwz r0, 4(r3) +/* 80362D58 0035FCB8 83 E4 00 04 */ lwz r31, 4(r4) +/* 80362D5C 0035FCBC 7C 04 00 40 */ cmplw r4, r0 +/* 80362D60 0035FCC0 40 82 00 08 */ bne lbl_80362D68 +/* 80362D64 0035FCC4 93 FE 00 04 */ stw r31, 4(r30) +lbl_80362D68: +/* 80362D68 0035FCC8 80 04 00 04 */ lwz r0, 4(r4) +/* 80362D6C 0035FCCC 28 04 00 00 */ cmplwi r4, 0 +/* 80362D70 0035FCD0 80 64 00 00 */ lwz r3, 0(r4) +/* 80362D74 0035FCD4 90 03 00 04 */ stw r0, 4(r3) +/* 80362D78 0035FCD8 80 04 00 00 */ lwz r0, 0(r4) +/* 80362D7C 0035FCDC 80 64 00 04 */ lwz r3, 4(r4) +/* 80362D80 0035FCE0 90 03 00 00 */ stw r0, 0(r3) +/* 80362D84 0035FCE4 41 82 00 0C */ beq lbl_80362D90 +/* 80362D88 0035FCE8 7C 83 23 78 */ mr r3, r4 +/* 80362D8C 0035FCEC 4B FB 2B A5 */ bl Free__7CMemoryFPCv +lbl_80362D90: +/* 80362D90 0035FCF0 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80362D94 0035FCF4 7F E3 FB 78 */ mr r3, r31 +/* 80362D98 0035FCF8 38 04 FF FF */ addi r0, r4, -1 +/* 80362D9C 0035FCFC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80362DA0 0035FD00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80362DA4 0035FD04 83 C1 00 08 */ lwz r30, 8(r1) +/* 80362DA8 0035FD08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80362DAC 0035FD0C 7C 08 03 A6 */ mtlr r0 +/* 80362DB0 0035FD10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80362DB4 0035FD14 4E 80 00 20 */ blr + +.global "__dt__Q24rstl80listFv" +"__dt__Q24rstl80listFv": +/* 80362DB8 0035FD18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80362DBC 0035FD1C 7C 08 02 A6 */ mflr r0 +/* 80362DC0 0035FD20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80362DC4 0035FD24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80362DC8 0035FD28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80362DCC 0035FD2C 7C 9E 23 78 */ mr r30, r4 +/* 80362DD0 0035FD30 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80362DD4 0035FD34 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80362DD8 0035FD38 41 82 00 38 */ beq lbl_80362E10 +/* 80362DDC 0035FD3C 83 FD 00 04 */ lwz r31, 4(r29) +/* 80362DE0 0035FD40 48 00 00 14 */ b lbl_80362DF4 +lbl_80362DE4: +/* 80362DE4 0035FD44 7F E3 FB 79 */ or. r3, r31, r31 +/* 80362DE8 0035FD48 83 FF 00 04 */ lwz r31, 4(r31) +/* 80362DEC 0035FD4C 41 82 00 08 */ beq lbl_80362DF4 +/* 80362DF0 0035FD50 4B FB 2B 41 */ bl Free__7CMemoryFPCv +lbl_80362DF4: +/* 80362DF4 0035FD54 80 1D 00 08 */ lwz r0, 8(r29) +/* 80362DF8 0035FD58 7C 1F 00 40 */ cmplw r31, r0 +/* 80362DFC 0035FD5C 40 82 FF E8 */ bne lbl_80362DE4 +/* 80362E00 0035FD60 7F C0 07 35 */ extsh. r0, r30 +/* 80362E04 0035FD64 40 81 00 0C */ ble lbl_80362E10 +/* 80362E08 0035FD68 7F A3 EB 78 */ mr r3, r29 +/* 80362E0C 0035FD6C 4B FB 2B 25 */ bl Free__7CMemoryFPCv +lbl_80362E10: +/* 80362E10 0035FD70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80362E14 0035FD74 7F A3 EB 78 */ mr r3, r29 +/* 80362E18 0035FD78 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80362E1C 0035FD7C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80362E20 0035FD80 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80362E24 0035FD84 7C 08 03 A6 */ mtlr r0 +/* 80362E28 0035FD88 38 21 00 20 */ addi r1, r1, 0x20 +/* 80362E2C 0035FD8C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi" +"reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi": +/* 80362E30 0035FD90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80362E34 0035FD94 7C 08 02 A6 */ mflr r0 +/* 80362E38 0035FD98 90 01 00 34 */ stw r0, 0x34(r1) +/* 80362E3C 0035FD9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80362E40 0035FDA0 7C 9F 23 78 */ mr r31, r4 +/* 80362E44 0035FDA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80362E48 0035FDA8 7C 7E 1B 78 */ mr r30, r3 +/* 80362E4C 0035FDAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80362E50 0035FDB0 80 03 00 08 */ lwz r0, 8(r3) +/* 80362E54 0035FDB4 7C 1F 00 00 */ cmpw r31, r0 +/* 80362E58 0035FDB8 40 81 00 D8 */ ble lbl_80362F30 +/* 80362E5C 0035FDBC 1F BF 00 0C */ mulli r29, r31, 0xc +/* 80362E60 0035FDC0 2C 1D 00 00 */ cmpwi r29, 0 +/* 80362E64 0035FDC4 40 82 00 0C */ bne lbl_80362E70 +/* 80362E68 0035FDC8 3B A0 00 00 */ li r29, 0 +/* 80362E6C 0035FDCC 48 00 00 3C */ b lbl_80362EA8 +lbl_80362E70: +/* 80362E70 0035FDD0 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362E74 0035FDD4 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80362E78 0035FDD8 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l +/* 80362E7C 0035FDDC 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80362E80 0035FDE0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80362E84 0035FDE4 38 80 FF FF */ li r4, -1 +/* 80362E88 0035FDE8 4B F7 35 4D */ bl __ct__10CCallStackFUiPCcPCc +/* 80362E8C 0035FDEC 7C 67 1B 78 */ mr r7, r3 +/* 80362E90 0035FDF0 7F A3 EB 78 */ mr r3, r29 +/* 80362E94 0035FDF4 38 80 00 02 */ li r4, 2 +/* 80362E98 0035FDF8 38 A0 00 01 */ li r5, 1 +/* 80362E9C 0035FDFC 38 C0 00 00 */ li r6, 0 +/* 80362EA0 0035FE00 4B FB 2A F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80362EA4 0035FE04 7C 7D 1B 78 */ mr r29, r3 +lbl_80362EA8: +/* 80362EA8 0035FE08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80362EAC 0035FE0C 7F A3 EB 78 */ mr r3, r29 +/* 80362EB0 0035FE10 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80362EB4 0035FE14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362EB8 0035FE18 90 81 00 10 */ stw r4, 0x10(r1) +/* 80362EBC 0035FE1C 7C 04 02 14 */ add r0, r4, r0 +/* 80362EC0 0035FE20 90 81 00 14 */ stw r4, 0x14(r1) +/* 80362EC4 0035FE24 90 01 00 08 */ stw r0, 8(r1) +/* 80362EC8 0035FE28 90 01 00 0C */ stw r0, 0xc(r1) +/* 80362ECC 0035FE2C 48 00 00 2C */ b lbl_80362EF8 +lbl_80362ED0: +/* 80362ED0 0035FE30 28 03 00 00 */ cmplwi r3, 0 +/* 80362ED4 0035FE34 41 82 00 1C */ beq lbl_80362EF0 +/* 80362ED8 0035FE38 C0 04 00 00 */ lfs f0, 0(r4) +/* 80362EDC 0035FE3C D0 03 00 00 */ stfs f0, 0(r3) +/* 80362EE0 0035FE40 C0 04 00 04 */ lfs f0, 4(r4) +/* 80362EE4 0035FE44 D0 03 00 04 */ stfs f0, 4(r3) +/* 80362EE8 0035FE48 C0 04 00 08 */ lfs f0, 8(r4) +/* 80362EEC 0035FE4C D0 03 00 08 */ stfs f0, 8(r3) +lbl_80362EF0: +/* 80362EF0 0035FE50 38 63 00 0C */ addi r3, r3, 0xc +/* 80362EF4 0035FE54 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362EF8: +/* 80362EF8 0035FE58 7C 04 00 40 */ cmplw r4, r0 +/* 80362EFC 0035FE5C 40 82 FF D4 */ bne lbl_80362ED0 +/* 80362F00 0035FE60 80 1E 00 04 */ lwz r0, 4(r30) +/* 80362F04 0035FE64 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80362F08 0035FE68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362F0C 0035FE6C 7C 64 1B 78 */ mr r4, r3 +/* 80362F10 0035FE70 7C 03 02 14 */ add r0, r3, r0 +/* 80362F14 0035FE74 48 00 00 08 */ b lbl_80362F1C +lbl_80362F18: +/* 80362F18 0035FE78 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362F1C: +/* 80362F1C 0035FE7C 7C 04 00 40 */ cmplw r4, r0 +/* 80362F20 0035FE80 40 82 FF F8 */ bne lbl_80362F18 +/* 80362F24 0035FE84 4B FB 2A 0D */ bl Free__7CMemoryFPCv +/* 80362F28 0035FE88 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80362F2C 0035FE8C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80362F30: +/* 80362F30 0035FE90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80362F34 0035FE94 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80362F38 0035FE98 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80362F3C 0035FE9C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80362F40 0035FEA0 7C 08 03 A6 */ mtlr r0 +/* 80362F44 0035FEA4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80362F48 0035FEA8 4E 80 00 20 */ blr + +.global sub_80362f4c +sub_80362f4c: +/* 80362F4C 0035FEAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80362F50 0035FEB0 7C 08 02 A6 */ mflr r0 +/* 80362F54 0035FEB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80362F58 0035FEB8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80362F5C 0035FEBC 7C 9F 23 78 */ mr r31, r4 +/* 80362F60 0035FEC0 7C 7E 1B 78 */ mr r30, r3 +/* 80362F64 0035FEC4 80 03 00 08 */ lwz r0, 8(r3) +/* 80362F68 0035FEC8 7C 1F 00 00 */ cmpw r31, r0 +/* 80362F6C 0035FECC 40 81 00 EC */ ble lbl_80363058 +/* 80362F70 0035FED0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 80362F74 0035FED4 40 82 00 0C */ bne lbl_80362F80 +/* 80362F78 0035FED8 3B A0 00 00 */ li r29, 0 +/* 80362F7C 0035FEDC 48 00 00 18 */ b lbl_80362F94 +lbl_80362F80: +/* 80362F80 0035FEE0 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 80362F84 0035FEE4 38 A0 00 00 */ li r5, 0 +/* 80362F88 0035FEE8 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 80362F8C 0035FEEC 4B FB 28 8D */ bl __nwa__FUlPCcPCc +/* 80362F90 0035FEF0 7C 7D 1B 78 */ mr r29, r3 +lbl_80362F94: +/* 80362F94 0035FEF4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80362F98 0035FEF8 7F A5 EB 78 */ mr r5, r29 +/* 80362F9C 0035FEFC 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80362FA0 0035FF00 38 00 00 00 */ li r0, 0 +/* 80362FA4 0035FF04 54 63 18 38 */ slwi r3, r3, 3 +/* 80362FA8 0035FF08 7C 86 1A 14 */ add r4, r6, r3 +/* 80362FAC 0035FF0C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80362FB0 0035FF10 90 81 00 08 */ stw r4, 8(r1) +/* 80362FB4 0035FF14 90 81 00 0C */ stw r4, 0xc(r1) +/* 80362FB8 0035FF18 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80362FBC 0035FF1C 48 00 00 28 */ b lbl_80362FE4 +lbl_80362FC0: +/* 80362FC0 0035FF20 28 05 00 00 */ cmplwi r5, 0 +/* 80362FC4 0035FF24 41 82 00 18 */ beq lbl_80362FDC +/* 80362FC8 0035FF28 88 66 00 00 */ lbz r3, 0(r6) +/* 80362FCC 0035FF2C 98 65 00 00 */ stb r3, 0(r5) +/* 80362FD0 0035FF30 80 66 00 04 */ lwz r3, 4(r6) +/* 80362FD4 0035FF34 90 65 00 04 */ stw r3, 4(r5) +/* 80362FD8 0035FF38 98 06 00 00 */ stb r0, 0(r6) +lbl_80362FDC: +/* 80362FDC 0035FF3C 38 A5 00 08 */ addi r5, r5, 8 +/* 80362FE0 0035FF40 38 C6 00 08 */ addi r6, r6, 8 +lbl_80362FE4: +/* 80362FE4 0035FF44 7C 06 20 40 */ cmplw r6, r4 +/* 80362FE8 0035FF48 40 82 FF D8 */ bne lbl_80362FC0 +/* 80362FEC 0035FF4C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80362FF0 0035FF50 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 80362FF4 0035FF54 54 00 18 38 */ slwi r0, r0, 3 +/* 80362FF8 0035FF58 7F 9B 02 14 */ add r28, r27, r0 +/* 80362FFC 0035FF5C 48 00 00 3C */ b lbl_80363038 +lbl_80363000: +/* 80363000 0035FF60 28 1B 00 00 */ cmplwi r27, 0 +/* 80363004 0035FF64 41 82 00 30 */ beq lbl_80363034 +/* 80363008 0035FF68 88 1B 00 00 */ lbz r0, 0(r27) +/* 8036300C 0035FF6C 28 00 00 00 */ cmplwi r0, 0 +/* 80363010 0035FF70 41 82 00 24 */ beq lbl_80363034 +/* 80363014 0035FF74 80 7B 00 04 */ lwz r3, 4(r27) +/* 80363018 0035FF78 28 03 00 00 */ cmplwi r3, 0 +/* 8036301C 0035FF7C 41 82 00 18 */ beq lbl_80363034 +/* 80363020 0035FF80 81 83 00 00 */ lwz r12, 0(r3) +/* 80363024 0035FF84 38 80 00 01 */ li r4, 1 +/* 80363028 0035FF88 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036302C 0035FF8C 7D 89 03 A6 */ mtctr r12 +/* 80363030 0035FF90 4E 80 04 21 */ bctrl +lbl_80363034: +/* 80363034 0035FF94 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80363038: +/* 80363038 0035FF98 7C 1B E0 40 */ cmplw r27, r28 +/* 8036303C 0035FF9C 40 82 FF C4 */ bne lbl_80363000 +/* 80363040 0035FFA0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80363044 0035FFA4 28 03 00 00 */ cmplwi r3, 0 +/* 80363048 0035FFA8 41 82 00 08 */ beq lbl_80363050 +/* 8036304C 0035FFAC 4B FB 28 E5 */ bl Free__7CMemoryFPCv +lbl_80363050: +/* 80363050 0035FFB0 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80363054 0035FFB4 93 FE 00 08 */ stw r31, 8(r30) +lbl_80363058: +/* 80363058 0035FFB8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8036305C 0035FFBC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80363060 0035FFC0 7C 08 03 A6 */ mtlr r0 +/* 80363064 0035FFC4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80363068 0035FFC8 4E 80 00 20 */ blr + +.global ToRGB5A3__6CColorCFv +ToRGB5A3__6CColorCFv: +/* 8036306C 0035FFCC 88 A3 00 02 */ lbz r5, 2(r3) +/* 80363070 0035FFD0 88 83 00 03 */ lbz r4, 3(r3) +/* 80363074 0035FFD4 54 A0 EE FE */ rlwinm r0, r5, 0x1d, 0x1b, 0x1f +/* 80363078 0035FFD8 88 C3 00 01 */ lbz r6, 1(r3) +/* 8036307C 0035FFDC 60 00 80 00 */ ori r0, r0, 0x8000 +/* 80363080 0035FFE0 88 E3 00 00 */ lbz r7, 0(r3) +/* 80363084 0035FFE4 50 C0 15 B4 */ rlwimi r0, r6, 2, 0x16, 0x1a +/* 80363088 0035FFE8 28 04 00 FF */ cmplwi r4, 0xff +/* 8036308C 0035FFEC 50 E0 3C 6A */ rlwimi r0, r7, 7, 0x11, 0x15 +/* 80363090 0035FFF0 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80363094 0035FFF4 4D 82 00 20 */ beqlr +/* 80363098 0035FFF8 54 A0 E7 3E */ rlwinm r0, r5, 0x1c, 0x1c, 0x1f +/* 8036309C 0035FFFC 50 80 3C 66 */ rlwimi r0, r4, 7, 0x11, 0x13 +/* 803630A0 00360000 50 C0 06 36 */ rlwimi r0, r6, 0, 0x18, 0x1b +/* 803630A4 00360004 50 E0 25 2E */ rlwimi r0, r7, 4, 0x14, 0x17 +/* 803630A8 00360008 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 803630AC 0036000C 4E 80 00 20 */ blr + +.global Add__6CColorFRC6CColorRC6CColor +Add__6CColorFRC6CColorRC6CColor: +/* 803630B0 00360010 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803630B4 00360014 38 ED 9E 6C */ addi r7, r13, lbl_805A8A2C@sda21 +/* 803630B8 00360018 89 04 00 03 */ lbz r8, 3(r4) +/* 803630BC 0036001C 88 C5 00 03 */ lbz r6, 3(r5) +/* 803630C0 00360020 80 0D 9E 6C */ lwz r0, lbl_805A8A2C@sda21(r13) +/* 803630C4 00360024 7C C8 32 14 */ add r6, r8, r6 +/* 803630C8 00360028 7C 06 00 40 */ cmplw r6, r0 +/* 803630CC 0036002C 90 C1 00 08 */ stw r6, 8(r1) +/* 803630D0 00360030 40 80 00 08 */ bge lbl_803630D8 +/* 803630D4 00360034 38 E1 00 08 */ addi r7, r1, 8 +lbl_803630D8: +/* 803630D8 00360038 88 C4 00 02 */ lbz r6, 2(r4) +/* 803630DC 0036003C 39 0D 9E 68 */ addi r8, r13, lbl_805A8A28@sda21 +/* 803630E0 00360040 88 05 00 02 */ lbz r0, 2(r5) +/* 803630E4 00360044 80 E7 00 00 */ lwz r7, 0(r7) +/* 803630E8 00360048 7C C6 02 14 */ add r6, r6, r0 +/* 803630EC 0036004C 80 0D 9E 68 */ lwz r0, lbl_805A8A28@sda21(r13) +/* 803630F0 00360050 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803630F4 00360054 54 E9 06 3E */ clrlwi r9, r7, 0x18 +/* 803630F8 00360058 7C 06 00 40 */ cmplw r6, r0 +/* 803630FC 0036005C 40 80 00 08 */ bge lbl_80363104 +/* 80363100 00360060 39 01 00 0C */ addi r8, r1, 0xc +lbl_80363104: +/* 80363104 00360064 88 C4 00 01 */ lbz r6, 1(r4) +/* 80363108 00360068 38 ED 9E 64 */ addi r7, r13, lbl_805A8A24@sda21 +/* 8036310C 0036006C 88 05 00 01 */ lbz r0, 1(r5) +/* 80363110 00360070 81 08 00 00 */ lwz r8, 0(r8) +/* 80363114 00360074 7C C6 02 14 */ add r6, r6, r0 +/* 80363118 00360078 80 0D 9E 64 */ lwz r0, lbl_805A8A24@sda21(r13) +/* 8036311C 0036007C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80363120 00360080 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 80363124 00360084 7C 06 00 40 */ cmplw r6, r0 +/* 80363128 00360088 40 80 00 08 */ bge lbl_80363130 +/* 8036312C 0036008C 38 E1 00 10 */ addi r7, r1, 0x10 +lbl_80363130: +/* 80363130 00360090 88 C4 00 00 */ lbz r6, 0(r4) +/* 80363134 00360094 38 8D 9E 60 */ addi r4, r13, lbl_805A8A20@sda21 +/* 80363138 00360098 88 05 00 00 */ lbz r0, 0(r5) +/* 8036313C 0036009C 80 E7 00 00 */ lwz r7, 0(r7) +/* 80363140 003600A0 7C A6 02 14 */ add r5, r6, r0 +/* 80363144 003600A4 80 0D 9E 60 */ lwz r0, lbl_805A8A20@sda21(r13) +/* 80363148 003600A8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8036314C 003600AC 54 E6 06 3E */ clrlwi r6, r7, 0x18 +/* 80363150 003600B0 7C 05 00 40 */ cmplw r5, r0 +/* 80363154 003600B4 40 80 00 08 */ bge lbl_8036315C +/* 80363158 003600B8 38 81 00 14 */ addi r4, r1, 0x14 +lbl_8036315C: +/* 8036315C 003600BC 80 04 00 00 */ lwz r0, 0(r4) +/* 80363160 003600C0 98 03 00 00 */ stb r0, 0(r3) +/* 80363164 003600C4 98 C3 00 01 */ stb r6, 1(r3) +/* 80363168 003600C8 99 03 00 02 */ stb r8, 2(r3) +/* 8036316C 003600CC 99 23 00 03 */ stb r9, 3(r3) +/* 80363170 003600D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363174 003600D4 4E 80 00 20 */ blr + +.global Modulate__6CColorFRC6CColorRC6CColor +Modulate__6CColorFRC6CColorRC6CColor: +/* 80363178 003600D8 88 E4 00 03 */ lbz r7, 3(r4) +/* 8036317C 003600DC 3C C0 80 81 */ lis r6, 0x80808081@ha +/* 80363180 003600E0 88 05 00 03 */ lbz r0, 3(r5) +/* 80363184 003600E4 39 66 80 81 */ addi r11, r6, 0x80808081@l +/* 80363188 003600E8 89 24 00 02 */ lbz r9, 2(r4) +/* 8036318C 003600EC 7D 47 01 D6 */ mullw r10, r7, r0 +/* 80363190 003600F0 89 05 00 02 */ lbz r8, 2(r5) +/* 80363194 003600F4 88 E4 00 01 */ lbz r7, 1(r4) +/* 80363198 003600F8 88 C5 00 01 */ lbz r6, 1(r5) +/* 8036319C 003600FC 88 05 00 00 */ lbz r0, 0(r5) +/* 803631A0 00360100 88 84 00 00 */ lbz r4, 0(r4) +/* 803631A4 00360104 7C A7 31 D6 */ mullw r5, r7, r6 +/* 803631A8 00360108 7C CB 50 96 */ mulhw r6, r11, r10 +/* 803631AC 0036010C 7C C6 52 14 */ add r6, r6, r10 +/* 803631B0 00360110 7C C7 3E 70 */ srawi r7, r6, 7 +/* 803631B4 00360114 7D 09 41 D6 */ mullw r8, r9, r8 +/* 803631B8 00360118 54 E9 0F FE */ srwi r9, r7, 0x1f +/* 803631BC 0036011C 7C 04 01 D6 */ mullw r0, r4, r0 +/* 803631C0 00360120 7C 8B 40 96 */ mulhw r4, r11, r8 +/* 803631C4 00360124 7C CB 28 96 */ mulhw r6, r11, r5 +/* 803631C8 00360128 7C 84 42 14 */ add r4, r4, r8 +/* 803631CC 0036012C 7D 07 4A 14 */ add r8, r7, r9 +/* 803631D0 00360130 7C 87 3E 70 */ srawi r7, r4, 7 +/* 803631D4 00360134 7C A6 2A 14 */ add r5, r6, r5 +/* 803631D8 00360138 7C 8B 00 96 */ mulhw r4, r11, r0 +/* 803631DC 0036013C 54 E6 0F FE */ srwi r6, r7, 0x1f +/* 803631E0 00360140 7C A5 3E 70 */ srawi r5, r5, 7 +/* 803631E4 00360144 7C E7 32 14 */ add r7, r7, r6 +/* 803631E8 00360148 54 A6 0F FE */ srwi r6, r5, 0x1f +/* 803631EC 0036014C 7C 04 02 14 */ add r0, r4, r0 +/* 803631F0 00360150 7C 00 3E 70 */ srawi r0, r0, 7 +/* 803631F4 00360154 7C A5 32 14 */ add r5, r5, r6 +/* 803631F8 00360158 54 04 0F FE */ srwi r4, r0, 0x1f +/* 803631FC 0036015C 7C 00 22 14 */ add r0, r0, r4 +/* 80363200 00360160 98 03 00 00 */ stb r0, 0(r3) +/* 80363204 00360164 98 A3 00 01 */ stb r5, 1(r3) +/* 80363208 00360168 98 E3 00 02 */ stb r7, 2(r3) +/* 8036320C 0036016C 99 03 00 03 */ stb r8, 3(r3) +/* 80363210 00360170 4E 80 00 20 */ blr + +.global Lerp__6CColorFUiUif +Lerp__6CColorFUiUif: +/* 80363214 00360174 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80363218 00360178 7C 08 02 A6 */ mflr r0 +/* 8036321C 0036017C C0 02 CD A0 */ lfs f0, lbl_805AEAC0@sda21(r2) +/* 80363220 00360180 90 01 00 14 */ stw r0, 0x14(r1) +/* 80363224 00360184 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80363228 00360188 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036322C 0036018C 7C 9F 23 78 */ mr r31, r4 +/* 80363230 00360190 93 C1 00 08 */ stw r30, 8(r1) +/* 80363234 00360194 7C 7E 1B 78 */ mr r30, r3 +/* 80363238 00360198 48 02 67 1D */ bl __cvt_fp2unsigned +/* 8036323C 0036019C 3C A0 00 FF */ lis r5, 0x00FF00FF@ha +/* 80363240 003601A0 3C 80 FF 01 */ lis r4, 0xFF00FF00@ha +/* 80363244 003601A4 38 E5 00 FF */ addi r7, r5, 0x00FF00FF@l +/* 80363248 003601A8 57 C6 C2 3E */ srwi r6, r30, 8 +/* 8036324C 003601AC 57 E5 C2 3E */ srwi r5, r31, 8 +/* 80363250 003601B0 38 04 FF 00 */ addi r0, r4, 0xFF00FF00@l +/* 80363254 003601B4 7C C8 38 38 */ and r8, r6, r7 +/* 80363258 003601B8 7F C6 38 38 */ and r6, r30, r7 +/* 8036325C 003601BC 7C A4 38 38 */ and r4, r5, r7 +/* 80363260 003601C0 7F E5 38 38 */ and r5, r31, r7 +/* 80363264 003601C4 7D 28 20 50 */ subf r9, r8, r4 +/* 80363268 003601C8 7C 86 28 50 */ subf r4, r6, r5 +/* 8036326C 003601CC 7D 29 19 D6 */ mullw r9, r9, r3 +/* 80363270 003601D0 7C 84 19 D6 */ mullw r4, r4, r3 +/* 80363274 003601D4 55 23 C2 3E */ srwi r3, r9, 8 +/* 80363278 003601D8 7C 63 42 14 */ add r3, r3, r8 +/* 8036327C 003601DC 54 84 C2 3E */ srwi r4, r4, 8 +/* 80363280 003601E0 54 63 40 2E */ slwi r3, r3, 8 +/* 80363284 003601E4 7C 84 32 14 */ add r4, r4, r6 +/* 80363288 003601E8 7C 84 38 38 */ and r4, r4, r7 +/* 8036328C 003601EC 7C 60 00 38 */ and r0, r3, r0 +/* 80363290 003601F0 7C 83 03 78 */ or r3, r4, r0 +/* 80363294 003601F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80363298 003601F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036329C 003601FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803632A0 00360200 7C 08 03 A6 */ mtlr r0 +/* 803632A4 00360204 38 21 00 10 */ addi r1, r1, 0x10 +/* 803632A8 00360208 4E 80 00 20 */ blr + +.global Lerp__6CColorFRC6CColorRC6CColorf +Lerp__6CColorFRC6CColorRC6CColorf: +/* 803632AC 0036020C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803632B0 00360210 7C 08 02 A6 */ mflr r0 +/* 803632B4 00360214 C0 02 CD A4 */ lfs f0, lbl_805AEAC4@sda21(r2) +/* 803632B8 00360218 90 01 00 14 */ stw r0, 0x14(r1) +/* 803632BC 0036021C ED A0 08 28 */ fsubs f13, f0, f1 +/* 803632C0 00360220 E0 A4 A0 00 */ psq_l f5, 0(r4), 1, qr2 +/* 803632C4 00360224 E0 05 A0 00 */ psq_l f0, 0(r5), 1, qr2 +/* 803632C8 00360228 E0 C4 A0 01 */ psq_l f6, 1(r4), 1, qr2 +/* 803632CC 0036022C E0 45 A0 01 */ psq_l f2, 1(r5), 1, qr2 +/* 803632D0 00360230 E1 64 A0 02 */ psq_l f11, 2(r4), 1, qr2 +/* 803632D4 00360234 E0 E5 A0 02 */ psq_l f7, 2(r5), 1, qr2 +/* 803632D8 00360238 E1 84 A0 03 */ psq_l f12, 3(r4), 1, qr2 +/* 803632DC 0036023C E1 05 A0 03 */ psq_l f8, 3(r5), 1, qr2 +/* 803632E0 00360240 C1 42 CD A8 */ lfs f10, lbl_805AEAC8@sda21(r2) +/* 803632E4 00360244 EC 8A 00 32 */ fmuls f4, f10, f0 +/* 803632E8 00360248 EC 6A 00 B2 */ fmuls f3, f10, f2 +/* 803632EC 0036024C EC 4A 01 F2 */ fmuls f2, f10, f7 +/* 803632F0 00360250 EC 0A 02 32 */ fmuls f0, f10, f8 +/* 803632F4 00360254 ED 2A 01 72 */ fmuls f9, f10, f5 +/* 803632F8 00360258 ED 01 01 32 */ fmuls f8, f1, f4 +/* 803632FC 0036025C EC EA 01 B2 */ fmuls f7, f10, f6 +/* 80363300 00360260 EC C1 00 F2 */ fmuls f6, f1, f3 +/* 80363304 00360264 EC AA 02 F2 */ fmuls f5, f10, f11 +/* 80363308 00360268 EC 61 00 B2 */ fmuls f3, f1, f2 +/* 8036330C 0036026C EC 8A 03 32 */ fmuls f4, f10, f12 +/* 80363310 00360270 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363314 00360274 EC 2D 42 7A */ fmadds f1, f13, f9, f8 +/* 80363318 00360278 EC 4D 31 FA */ fmadds f2, f13, f7, f6 +/* 8036331C 0036027C EC 6D 19 7A */ fmadds f3, f13, f5, f3 +/* 80363320 00360280 EC 8D 01 3A */ fmadds f4, f13, f4, f0 +/* 80363324 00360284 48 00 00 C9 */ bl __ct__6CColorFffff +/* 80363328 00360288 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036332C 0036028C 7C 08 03 A6 */ mtlr r0 +/* 80363330 00360290 38 21 00 10 */ addi r1, r1, 0x10 +/* 80363334 00360294 4E 80 00 20 */ blr + +.global Get__6CColorCFRfRfRf +Get__6CColorCFRfRfRf: +/* 80363338 00360298 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2 +/* 8036333C 0036029C C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2) +/* 80363340 003602A0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363344 003602A4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80363348 003602A8 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2 +/* 8036334C 003602AC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363350 003602B0 D0 05 00 00 */ stfs f0, 0(r5) +/* 80363354 003602B4 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2 +/* 80363358 003602B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036335C 003602BC D0 06 00 00 */ stfs f0, 0(r6) +/* 80363360 003602C0 4E 80 00 20 */ blr + +.global Get__6CColorCFRfRfRfRf +Get__6CColorCFRfRfRfRf: +/* 80363364 003602C4 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2 +/* 80363368 003602C8 C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2) +/* 8036336C 003602CC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363370 003602D0 D0 04 00 00 */ stfs f0, 0(r4) +/* 80363374 003602D4 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2 +/* 80363378 003602D8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036337C 003602DC D0 05 00 00 */ stfs f0, 0(r5) +/* 80363380 003602E0 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2 +/* 80363384 003602E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363388 003602E8 D0 06 00 00 */ stfs f0, 0(r6) +/* 8036338C 003602EC E0 03 A0 03 */ psq_l f0, 3(r3), 1, qr2 +/* 80363390 003602F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363394 003602F4 D0 07 00 00 */ stfs f0, 0(r7) +/* 80363398 003602F8 4E 80 00 20 */ blr + +.global Set__6CColorFffff +Set__6CColorFffff: +/* 8036339C 003602FC C0 02 CD AC */ lfs f0, lbl_805AEACC@sda21(r2) +/* 803633A0 00360300 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803633A4 00360304 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803633A8 00360308 F0 21 A0 0B */ psq_st f1, 11(r1), 1, qr2 +/* 803633AC 0036030C EC 40 00 B2 */ fmuls f2, f0, f2 +/* 803633B0 00360310 88 01 00 0B */ lbz r0, 0xb(r1) +/* 803633B4 00360314 98 03 00 00 */ stb r0, 0(r3) +/* 803633B8 00360318 F0 41 A0 0A */ psq_st f2, 10(r1), 1, qr2 +/* 803633BC 0036031C EC 60 00 F2 */ fmuls f3, f0, f3 +/* 803633C0 00360320 88 01 00 0A */ lbz r0, 0xa(r1) +/* 803633C4 00360324 98 03 00 01 */ stb r0, 1(r3) +/* 803633C8 00360328 F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 +/* 803633CC 0036032C EC 80 01 32 */ fmuls f4, f0, f4 +/* 803633D0 00360330 88 01 00 09 */ lbz r0, 9(r1) +/* 803633D4 00360334 98 03 00 02 */ stb r0, 2(r3) +/* 803633D8 00360338 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2 +/* 803633DC 0036033C 88 01 00 08 */ lbz r0, 8(r1) +/* 803633E0 00360340 98 03 00 03 */ stb r0, 3(r3) +/* 803633E4 00360344 38 21 00 10 */ addi r1, r1, 0x10 +/* 803633E8 00360348 4E 80 00 20 */ blr + +.global __ct__6CColorFffff +__ct__6CColorFffff: +/* 803633EC 0036034C C0 C2 CD AC */ lfs f6, lbl_805AEACC@sda21(r2) +/* 803633F0 00360350 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803633F4 00360354 EC A6 00 72 */ fmuls f5, f6, f1 +/* 803633F8 00360358 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 803633FC 0036035C EC 06 00 B2 */ fmuls f0, f6, f2 +/* 80363400 00360360 FC 60 28 1E */ fctiwz f3, f5 +/* 80363404 00360364 FC 20 08 1E */ fctiwz f1, f1 +/* 80363408 00360368 FC 40 00 1E */ fctiwz f2, f0 +/* 8036340C 0036036C EC 06 01 32 */ fmuls f0, f6, f4 +/* 80363410 00360370 D8 61 00 08 */ stfd f3, 8(r1) +/* 80363414 00360374 D8 41 00 10 */ stfd f2, 0x10(r1) +/* 80363418 00360378 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8036341C 0036037C FC 00 00 1E */ fctiwz f0, f0 +/* 80363420 00360380 D8 21 00 18 */ stfd f1, 0x18(r1) +/* 80363424 00360384 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80363428 00360388 98 03 00 00 */ stb r0, 0(r3) +/* 8036342C 0036038C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80363430 00360390 98 83 00 01 */ stb r4, 1(r3) +/* 80363434 00360394 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 80363438 00360398 98 03 00 02 */ stb r0, 2(r3) +/* 8036343C 0036039C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363440 003603A0 98 03 00 03 */ stb r0, 3(r3) +/* 80363444 003603A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80363448 003603A8 4E 80 00 20 */ blr + +.global __ct__6CColorFR12CInputStream +__ct__6CColorFR12CInputStream: +/* 8036344C 003603AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80363450 003603B0 7C 08 02 A6 */ mflr r0 +/* 80363454 003603B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80363458 003603B8 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8036345C 003603BC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80363460 003603C0 DB A1 00 18 */ stfd f29, 0x18(r1) +/* 80363464 003603C4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80363468 003603C8 7C 9F 23 78 */ mr r31, r4 +/* 8036346C 003603CC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80363470 003603D0 7C 7E 1B 78 */ mr r30, r3 +/* 80363474 003603D4 7F E3 FB 78 */ mr r3, r31 +/* 80363478 003603D8 4B FD B7 B1 */ bl ReadFloat__12CInputStreamFv +/* 8036347C 003603DC FF E0 08 90 */ fmr f31, f1 +/* 80363480 003603E0 7F E3 FB 78 */ mr r3, r31 +/* 80363484 003603E4 4B FD B7 A5 */ bl ReadFloat__12CInputStreamFv +/* 80363488 003603E8 FF C0 08 90 */ fmr f30, f1 +/* 8036348C 003603EC 7F E3 FB 78 */ mr r3, r31 +/* 80363490 003603F0 4B FD B7 99 */ bl ReadFloat__12CInputStreamFv +/* 80363494 003603F4 FF A0 08 90 */ fmr f29, f1 +/* 80363498 003603F8 7F E3 FB 78 */ mr r3, r31 +/* 8036349C 003603FC 4B FD B7 8D */ bl ReadFloat__12CInputStreamFv +/* 803634A0 00360400 FC 80 08 90 */ fmr f4, f1 +/* 803634A4 00360404 7F C3 F3 78 */ mr r3, r30 +/* 803634A8 00360408 FC 20 F8 90 */ fmr f1, f31 +/* 803634AC 0036040C FC 40 F0 90 */ fmr f2, f30 +/* 803634B0 00360410 FC 60 E8 90 */ fmr f3, f29 +/* 803634B4 00360414 4B FF FE E9 */ bl Set__6CColorFffff +/* 803634B8 00360418 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803634BC 0036041C 7F C3 F3 78 */ mr r3, r30 +/* 803634C0 00360420 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 803634C4 00360424 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 803634C8 00360428 CB A1 00 18 */ lfd f29, 0x18(r1) +/* 803634CC 0036042C 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 803634D0 00360430 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 803634D4 00360434 7C 08 03 A6 */ mtlr r0 +/* 803634D8 00360438 38 21 00 30 */ addi r1, r1, 0x30 +/* 803634DC 0036043C 4E 80 00 20 */ blr + +.global AllocateStream__17CDSPStreamManagerFv +AllocateStream__17CDSPStreamManagerFv: +/* 803634E0 00360440 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 803634E4 00360444 7C 2C 0B 78 */ mr r12, r1 +/* 803634E8 00360448 21 6B FC 80 */ subfic r11, r11, -896 +/* 803634EC 0036044C 7C 21 59 6E */ stwux r1, r1, r11 +/* 803634F0 00360450 7C 08 02 A6 */ mflr r0 +/* 803634F4 00360454 1C A3 00 C0 */ mulli r5, r3, 0xc0 +/* 803634F8 00360458 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 803634FC 0036045C 90 0C 00 04 */ stw r0, 4(r12) +/* 80363500 00360460 38 61 00 5C */ addi r3, r1, 0x5c +/* 80363504 00360464 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 80363508 00360468 BF 4C FF E8 */ stmw r26, -0x18(r12) +/* 8036350C 0036046C 7F E0 2A 14 */ add r31, r0, r5 +/* 80363510 00360470 7F E4 FB 78 */ mr r4, r31 +/* 80363514 00360474 48 00 07 59 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager +/* 80363518 00360478 88 1F 00 71 */ lbz r0, 0x71(r31) +/* 8036351C 0036047C 83 C1 00 5C */ lwz r30, 0x5c(r1) +/* 80363520 00360480 7C 00 07 74 */ extsb r0, r0 +/* 80363524 00360484 83 A1 00 60 */ lwz r29, 0x60(r1) +/* 80363528 00360488 83 81 00 64 */ lwz r28, 0x64(r1) +/* 8036352C 0036048C 2C 00 FF FF */ cmpwi r0, -1 +/* 80363530 00360490 83 61 00 68 */ lwz r27, 0x68(r1) +/* 80363534 00360494 83 41 00 6C */ lwz r26, 0x6c(r1) +/* 80363538 00360498 81 81 00 70 */ lwz r12, 0x70(r1) +/* 8036353C 0036049C 81 61 00 74 */ lwz r11, 0x74(r1) +/* 80363540 003604A0 81 41 00 78 */ lwz r10, 0x78(r1) +/* 80363544 003604A4 81 21 00 7C */ lwz r9, 0x7c(r1) +/* 80363548 003604A8 81 01 00 80 */ lwz r8, 0x80(r1) +/* 8036354C 003604AC 80 E1 00 84 */ lwz r7, 0x84(r1) +/* 80363550 003604B0 80 C1 00 88 */ lwz r6, 0x88(r1) +/* 80363554 003604B4 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 80363558 003604B8 80 81 00 90 */ lwz r4, 0x90(r1) +/* 8036355C 003604BC 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80363560 003604C0 93 C1 00 D4 */ stw r30, 0xd4(r1) +/* 80363564 003604C4 93 A1 00 D8 */ stw r29, 0xd8(r1) +/* 80363568 003604C8 93 81 00 DC */ stw r28, 0xdc(r1) +/* 8036356C 003604CC 93 61 00 E0 */ stw r27, 0xe0(r1) +/* 80363570 003604D0 93 41 00 E4 */ stw r26, 0xe4(r1) +/* 80363574 003604D4 91 81 00 E8 */ stw r12, 0xe8(r1) +/* 80363578 003604D8 91 61 00 EC */ stw r11, 0xec(r1) +/* 8036357C 003604DC 91 41 00 F0 */ stw r10, 0xf0(r1) +/* 80363580 003604E0 91 21 00 F4 */ stw r9, 0xf4(r1) +/* 80363584 003604E4 91 01 00 F8 */ stw r8, 0xf8(r1) +/* 80363588 003604E8 90 E1 00 FC */ stw r7, 0xfc(r1) +/* 8036358C 003604EC 90 C1 01 00 */ stw r6, 0x100(r1) +/* 80363590 003604F0 90 A1 01 04 */ stw r5, 0x104(r1) +/* 80363594 003604F4 90 81 01 08 */ stw r4, 0x108(r1) +/* 80363598 003604F8 90 61 01 0C */ stw r3, 0x10c(r1) +/* 8036359C 003604FC 40 82 00 64 */ bne lbl_80363600 +/* 803635A0 00360500 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 803635A4 00360504 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803635A8 00360508 40 82 00 20 */ bne lbl_803635C8 +/* 803635AC 0036050C 88 DF 00 74 */ lbz r6, 0x74(r31) +/* 803635B0 00360510 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 803635B4 00360514 88 9F 00 73 */ lbz r4, 0x73(r31) +/* 803635B8 00360518 38 A0 00 40 */ li r5, 0x40 +/* 803635BC 0036051C 7C C6 07 74 */ extsb r6, r6 +/* 803635C0 00360520 48 00 76 ED */ bl AllocateMono__10SDSPStreamFRC11SStreamInfocci +/* 803635C4 00360524 90 7F 00 7C */ stw r3, 0x7c(r31) +lbl_803635C8: +/* 803635C8 00360528 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 803635CC 0036052C 3C 03 00 01 */ addis r0, r3, 1 +/* 803635D0 00360530 28 00 FF FF */ cmplwi r0, 0xffff +/* 803635D4 00360534 40 82 01 40 */ bne lbl_80363714 +/* 803635D8 00360538 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 803635DC 0036053C 38 80 00 00 */ li r4, 0 +/* 803635E0 00360540 48 00 13 6D */ bl __ct__17CDSPStreamManagerFv +/* 803635E4 00360544 7F E3 FB 78 */ mr r3, r31 +/* 803635E8 00360548 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 803635EC 0036054C 48 00 10 F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803635F0 00360550 34 61 03 00 */ addic. r3, r1, 0x300 +/* 803635F4 00360554 41 82 01 20 */ beq lbl_80363714 +/* 803635F8 00360558 4B FD A4 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803635FC 0036055C 48 00 01 18 */ b lbl_80363714 +lbl_80363600: +/* 80363600 00360560 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 80363604 00360564 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80363608 00360568 38 61 00 20 */ addi r3, r1, 0x20 +/* 8036360C 0036056C 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 80363610 00360570 7F C0 2A 14 */ add r30, r0, r5 +/* 80363614 00360574 7F C4 F3 78 */ mr r4, r30 +/* 80363618 00360578 48 00 06 55 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager +/* 8036361C 0036057C 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80363620 00360580 83 41 00 20 */ lwz r26, 0x20(r1) +/* 80363624 00360584 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80363628 00360588 83 61 00 24 */ lwz r27, 0x24(r1) +/* 8036362C 0036058C 83 81 00 28 */ lwz r28, 0x28(r1) +/* 80363630 00360590 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 80363634 00360594 81 81 00 30 */ lwz r12, 0x30(r1) +/* 80363638 00360598 81 61 00 34 */ lwz r11, 0x34(r1) +/* 8036363C 0036059C 81 41 00 38 */ lwz r10, 0x38(r1) +/* 80363640 003605A0 81 21 00 3C */ lwz r9, 0x3c(r1) +/* 80363644 003605A4 81 01 00 40 */ lwz r8, 0x40(r1) +/* 80363648 003605A8 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 8036364C 003605AC 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 80363650 003605B0 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 80363654 003605B4 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80363658 003605B8 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8036365C 003605BC 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80363660 003605C0 93 41 00 98 */ stw r26, 0x98(r1) +/* 80363664 003605C4 93 61 00 9C */ stw r27, 0x9c(r1) +/* 80363668 003605C8 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8036366C 003605CC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80363670 003605D0 91 81 00 A8 */ stw r12, 0xa8(r1) +/* 80363674 003605D4 91 61 00 AC */ stw r11, 0xac(r1) +/* 80363678 003605D8 91 41 00 B0 */ stw r10, 0xb0(r1) +/* 8036367C 003605DC 91 21 00 B4 */ stw r9, 0xb4(r1) +/* 80363680 003605E0 91 01 00 B8 */ stw r8, 0xb8(r1) +/* 80363684 003605E4 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 80363688 003605E8 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 8036368C 003605EC 90 A1 00 C4 */ stw r5, 0xc4(r1) +/* 80363690 003605F0 90 81 00 C8 */ stw r4, 0xc8(r1) +/* 80363694 003605F4 90 61 00 CC */ stw r3, 0xcc(r1) +/* 80363698 003605F8 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 8036369C 003605FC 40 82 00 20 */ bne lbl_803636BC +/* 803636A0 00360600 88 DF 00 74 */ lbz r6, 0x74(r31) +/* 803636A4 00360604 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 803636A8 00360608 88 BF 00 73 */ lbz r5, 0x73(r31) +/* 803636AC 0036060C 38 81 00 98 */ addi r4, r1, 0x98 +/* 803636B0 00360610 7C C6 07 74 */ extsb r6, r6 +/* 803636B4 00360614 48 00 74 19 */ bl AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci +/* 803636B8 00360618 90 7F 00 7C */ stw r3, 0x7c(r31) +lbl_803636BC: +/* 803636BC 0036061C 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 803636C0 00360620 3C 03 00 01 */ addis r0, r3, 1 +/* 803636C4 00360624 28 00 FF FF */ cmplwi r0, 0xffff +/* 803636C8 00360628 40 82 00 4C */ bne lbl_80363714 +/* 803636CC 0036062C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 803636D0 00360630 38 80 00 00 */ li r4, 0 +/* 803636D4 00360634 48 00 12 79 */ bl __ct__17CDSPStreamManagerFv +/* 803636D8 00360638 7F E3 FB 78 */ mr r3, r31 +/* 803636DC 0036063C 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 803636E0 00360640 48 00 10 05 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803636E4 00360644 34 61 02 40 */ addic. r3, r1, 0x240 +/* 803636E8 00360648 41 82 00 08 */ beq lbl_803636F0 +/* 803636EC 0036064C 4B FD A3 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803636F0: +/* 803636F0 00360650 38 61 01 20 */ addi r3, r1, 0x120 +/* 803636F4 00360654 38 80 00 00 */ li r4, 0 +/* 803636F8 00360658 48 00 12 55 */ bl __ct__17CDSPStreamManagerFv +/* 803636FC 0036065C 7F C3 F3 78 */ mr r3, r30 +/* 80363700 00360660 38 81 01 20 */ addi r4, r1, 0x120 +/* 80363704 00360664 48 00 0F E1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363708 00360668 34 61 01 80 */ addic. r3, r1, 0x180 +/* 8036370C 0036066C 41 82 00 08 */ beq lbl_80363714 +/* 80363710 00360670 4B FD A3 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80363714: +/* 80363714 00360674 81 41 00 00 */ lwz r10, 0(r1) +/* 80363718 00360678 BB 4A FF E8 */ lmw r26, -0x18(r10) +/* 8036371C 0036067C 80 0A 00 04 */ lwz r0, 4(r10) +/* 80363720 00360680 7C 08 03 A6 */ mtlr r0 +/* 80363724 00360684 7D 41 53 78 */ mr r1, r10 +/* 80363728 00360688 4E 80 00 20 */ blr + +.global sub_8036372c +sub_8036372c: +/* 8036372C 0036068C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80363730 00360690 7C 08 02 A6 */ mflr r0 +/* 80363734 00360694 90 01 00 14 */ stw r0, 0x14(r1) +/* 80363738 00360698 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036373C 0036069C 7C 9F 23 78 */ mr r31, r4 +/* 80363740 003606A0 93 C1 00 08 */ stw r30, 8(r1) +/* 80363744 003606A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80363748 003606A8 41 82 00 24 */ beq lbl_8036376C +/* 8036374C 003606AC 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 80363750 003606B0 41 82 00 0C */ beq lbl_8036375C +/* 80363754 003606B4 38 7E 00 60 */ addi r3, r30, 0x60 +/* 80363758 003606B8 4B FD A3 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036375C: +/* 8036375C 003606BC 7F E0 07 35 */ extsh. r0, r31 +/* 80363760 003606C0 40 81 00 0C */ ble lbl_8036376C +/* 80363764 003606C4 7F C3 F3 78 */ mr r3, r30 +/* 80363768 003606C8 4B FB 21 C9 */ bl Free__7CMemoryFPCv +lbl_8036376C: +/* 8036376C 003606CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80363770 003606D0 7F C3 F3 78 */ mr r3, r30 +/* 80363774 003606D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80363778 003606D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036377C 003606DC 7C 08 03 A6 */ mtlr r0 +/* 80363780 003606E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80363784 003606E4 4E 80 00 20 */ blr + +.global HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo +HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo: +/* 80363788 003606E8 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 8036378C 003606EC 7C 2C 0B 78 */ mr r12, r1 +/* 80363790 003606F0 21 6B FE 20 */ subfic r11, r11, -480 +/* 80363794 003606F4 7C 21 59 6E */ stwux r1, r1, r11 +/* 80363798 003606F8 7C 08 02 A6 */ mflr r0 +/* 8036379C 003606FC 90 0C 00 04 */ stw r0, 4(r12) +/* 803637A0 00360700 93 EC FF FC */ stw r31, -4(r12) +/* 803637A4 00360704 93 CC FF F8 */ stw r30, -8(r12) +/* 803637A8 00360708 93 AC FF F4 */ stw r29, -0xc(r12) +/* 803637AC 0036070C 7C 9D 23 78 */ mr r29, r4 +/* 803637B0 00360710 93 8C FF F0 */ stw r28, -0x10(r12) +/* 803637B4 00360714 7C 7C 1B 78 */ mr r28, r3 +/* 803637B8 00360718 7F A3 EB 78 */ mr r3, r29 +/* 803637BC 0036071C 48 00 DF 91 */ bl DVDClose +/* 803637C0 00360720 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803637C4 00360724 38 00 00 04 */ li r0, 4 +/* 803637C8 00360728 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l +/* 803637CC 0036072C 3B C0 00 00 */ li r30, 0 +/* 803637D0 00360730 7C 09 03 A6 */ mtctr r0 +lbl_803637D4: +/* 803637D4 00360734 38 1F 00 80 */ addi r0, r31, 0x80 +/* 803637D8 00360738 7C 00 E8 40 */ cmplw r0, r29 +/* 803637DC 0036073C 40 82 01 70 */ bne lbl_8036394C +/* 803637E0 00360740 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 803637E4 00360744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803637E8 00360748 40 82 01 64 */ bne lbl_8036394C +/* 803637EC 0036074C 48 01 DE 75 */ bl OSDisableInterrupts +/* 803637F0 00360750 7C 03 00 D0 */ neg r0, r3 +/* 803637F4 00360754 2C 1C 00 00 */ cmpwi r28, 0 +/* 803637F8 00360758 7C 00 1B 78 */ or r0, r0, r3 +/* 803637FC 0036075C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363800 00360760 98 01 00 20 */ stb r0, 0x20(r1) +/* 80363804 00360764 40 81 00 14 */ ble lbl_80363818 +/* 80363808 00360768 7F E3 FB 78 */ mr r3, r31 +/* 8036380C 0036076C 48 00 10 65 */ bl sub_80364870 +/* 80363810 00360770 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80363814 00360774 40 82 00 34 */ bne lbl_80363848 +lbl_80363818: +/* 80363818 00360778 38 61 01 00 */ addi r3, r1, 0x100 +/* 8036381C 0036077C 38 80 00 00 */ li r4, 0 +/* 80363820 00360780 48 00 11 2D */ bl __ct__17CDSPStreamManagerFv +/* 80363824 00360784 7F E3 FB 78 */ mr r3, r31 +/* 80363828 00360788 38 81 01 00 */ addi r4, r1, 0x100 +/* 8036382C 0036078C 48 00 0E B9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363830 00360790 34 61 01 60 */ addic. r3, r1, 0x160 +/* 80363834 00360794 41 82 00 08 */ beq lbl_8036383C +/* 80363838 00360798 4B FD A2 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036383C: +/* 8036383C 0036079C 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363840 003607A0 48 01 DE 49 */ bl OSRestoreInterrupts +/* 80363844 003607A4 48 00 01 14 */ b lbl_80363958 +lbl_80363848: +/* 80363848 003607A8 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 8036384C 003607AC 38 60 00 02 */ li r3, 2 +/* 80363850 003607B0 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b +/* 80363854 003607B4 38 60 FF FF */ li r3, -1 +/* 80363858 003607B8 98 1F 00 70 */ stb r0, 0x70(r31) +/* 8036385C 003607BC 88 1F 00 72 */ lbz r0, 0x72(r31) +/* 80363860 003607C0 7C 00 07 74 */ extsb r0, r0 +/* 80363864 003607C4 2C 00 FF FF */ cmpwi r0, -1 +/* 80363868 003607C8 41 82 00 0C */ beq lbl_80363874 +/* 8036386C 003607CC 7C 03 03 78 */ mr r3, r0 +/* 80363870 003607D0 48 00 00 18 */ b lbl_80363888 +lbl_80363874: +/* 80363874 003607D4 88 1F 00 71 */ lbz r0, 0x71(r31) +/* 80363878 003607D8 7C 00 07 74 */ extsb r0, r0 +/* 8036387C 003607DC 2C 00 FF FF */ cmpwi r0, -1 +/* 80363880 003607E0 41 82 00 08 */ beq lbl_80363888 +/* 80363884 003607E4 7C 03 03 78 */ mr r3, r0 +lbl_80363888: +/* 80363888 003607E8 2C 03 FF FF */ cmpwi r3, -1 +/* 8036388C 003607EC 41 82 00 AC */ beq lbl_80363938 +/* 80363890 003607F0 1C A3 00 C0 */ mulli r5, r3, 0xc0 +/* 80363894 003607F4 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80363898 003607F8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 8036389C 003607FC 7C A0 2A 14 */ add r5, r0, r5 +/* 803638A0 00360800 88 85 00 70 */ lbz r4, 0x70(r5) +/* 803638A4 00360804 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 803638A8 00360808 54 86 E7 BE */ rlwinm r6, r4, 0x1c, 0x1e, 0x1f +/* 803638AC 0036080C 40 82 00 2C */ bne lbl_803638D8 +/* 803638B0 00360810 2C 06 00 00 */ cmpwi r6, 0 +/* 803638B4 00360814 41 82 00 24 */ beq lbl_803638D8 +/* 803638B8 00360818 88 85 00 71 */ lbz r4, 0x71(r5) +/* 803638BC 0036081C 7C 80 07 74 */ extsb r0, r4 +/* 803638C0 00360820 7C 1E 00 00 */ cmpw r30, r0 +/* 803638C4 00360824 41 82 00 44 */ beq lbl_80363908 +/* 803638C8 00360828 88 05 00 72 */ lbz r0, 0x72(r5) +/* 803638CC 0036082C 7C 00 07 74 */ extsb r0, r0 +/* 803638D0 00360830 7C 1E 00 00 */ cmpw r30, r0 +/* 803638D4 00360834 41 82 00 34 */ beq lbl_80363908 +lbl_803638D8: +/* 803638D8 00360838 38 61 00 40 */ addi r3, r1, 0x40 +/* 803638DC 0036083C 38 80 00 00 */ li r4, 0 +/* 803638E0 00360840 48 00 10 6D */ bl __ct__17CDSPStreamManagerFv +/* 803638E4 00360844 7F E3 FB 78 */ mr r3, r31 +/* 803638E8 00360848 38 81 00 40 */ addi r4, r1, 0x40 +/* 803638EC 0036084C 48 00 0D F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803638F0 00360850 34 61 00 A0 */ addic. r3, r1, 0xa0 +/* 803638F4 00360854 41 82 00 08 */ beq lbl_803638FC +/* 803638F8 00360858 4B FD A1 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803638FC: +/* 803638FC 0036085C 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363900 00360860 48 01 DD 89 */ bl OSRestoreInterrupts +/* 80363904 00360864 48 00 00 54 */ b lbl_80363958 +lbl_80363908: +/* 80363908 00360868 2C 06 00 01 */ cmpwi r6, 1 +/* 8036390C 0036086C 40 82 00 10 */ bne lbl_8036391C +/* 80363910 00360870 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363914 00360874 48 01 DD 75 */ bl OSRestoreInterrupts +/* 80363918 00360878 48 00 00 40 */ b lbl_80363958 +lbl_8036391C: +/* 8036391C 0036087C 7C 80 07 74 */ extsb r0, r4 +/* 80363920 00360880 2C 00 FF FF */ cmpwi r0, -1 +/* 80363924 00360884 41 82 00 14 */ beq lbl_80363938 +/* 80363928 00360888 4B FF FB B9 */ bl AllocateStream__17CDSPStreamManagerFv +/* 8036392C 0036088C 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363930 00360890 48 01 DD 59 */ bl OSRestoreInterrupts +/* 80363934 00360894 48 00 00 24 */ b lbl_80363958 +lbl_80363938: +/* 80363938 00360898 7F C3 F3 78 */ mr r3, r30 +/* 8036393C 0036089C 4B FF FB A5 */ bl AllocateStream__17CDSPStreamManagerFv +/* 80363940 003608A0 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363944 003608A4 48 01 DD 45 */ bl OSRestoreInterrupts +/* 80363948 003608A8 48 00 00 10 */ b lbl_80363958 +lbl_8036394C: +/* 8036394C 003608AC 3B FF 00 C0 */ addi r31, r31, 0xc0 +/* 80363950 003608B0 3B DE 00 01 */ addi r30, r30, 1 +/* 80363954 003608B4 42 00 FE 80 */ bdnz lbl_803637D4 +lbl_80363958: +/* 80363958 003608B8 81 41 00 00 */ lwz r10, 0(r1) +/* 8036395C 003608BC 80 0A 00 04 */ lwz r0, 4(r10) +/* 80363960 003608C0 83 EA FF FC */ lwz r31, -4(r10) +/* 80363964 003608C4 83 CA FF F8 */ lwz r30, -8(r10) +/* 80363968 003608C8 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 8036396C 003608CC 83 8A FF F0 */ lwz r28, -0x10(r10) +/* 80363970 003608D0 7C 08 03 A6 */ mtlr r0 +/* 80363974 003608D4 7D 41 53 78 */ mr r1, r10 +/* 80363978 003608D8 4E 80 00 20 */ blr + +.global GetStreamState__17CDSPStreamManagerFi +GetStreamState__17CDSPStreamManagerFi: +/* 8036397C 003608DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363980 003608E0 7C 08 02 A6 */ mflr r0 +/* 80363984 003608E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363988 003608E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036398C 003608EC 7C 7F 1B 78 */ mr r31, r3 +/* 80363990 003608F0 48 01 DC D1 */ bl OSDisableInterrupts +/* 80363994 003608F4 7C 03 00 D0 */ neg r0, r3 +/* 80363998 003608F8 7C 00 1B 78 */ or r0, r0, r3 +/* 8036399C 003608FC 7F E3 FB 78 */ mr r3, r31 +/* 803639A0 00360900 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803639A4 00360904 98 01 00 08 */ stb r0, 8(r1) +/* 803639A8 00360908 48 00 05 21 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 803639AC 0036090C 2C 03 FF FF */ cmpwi r3, -1 +/* 803639B0 00360910 40 82 00 14 */ bne lbl_803639C4 +/* 803639B4 00360914 88 61 00 08 */ lbz r3, 8(r1) +/* 803639B8 00360918 48 01 DC D1 */ bl OSRestoreInterrupts +/* 803639BC 0036091C 38 60 00 01 */ li r3, 1 +/* 803639C0 00360920 48 00 00 78 */ b lbl_80363A38 +lbl_803639C4: +/* 803639C4 00360924 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 803639C8 00360928 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803639CC 0036092C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 803639D0 00360930 7C 60 22 14 */ add r3, r0, r4 +/* 803639D4 00360934 88 03 00 70 */ lbz r0, 0x70(r3) +/* 803639D8 00360938 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 803639DC 0036093C 2C 00 00 01 */ cmpwi r0, 1 +/* 803639E0 00360940 41 82 00 4C */ beq lbl_80363A2C +/* 803639E4 00360944 40 80 00 10 */ bge lbl_803639F4 +/* 803639E8 00360948 2C 00 00 00 */ cmpwi r0, 0 +/* 803639EC 0036094C 40 80 00 14 */ bge lbl_80363A00 +/* 803639F0 00360950 48 00 00 3C */ b lbl_80363A2C +lbl_803639F4: +/* 803639F4 00360954 2C 00 00 03 */ cmpwi r0, 3 +/* 803639F8 00360958 40 80 00 34 */ bge lbl_80363A2C +/* 803639FC 0036095C 48 00 00 14 */ b lbl_80363A10 +lbl_80363A00: +/* 80363A00 00360960 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A04 00360964 48 01 DC 85 */ bl OSRestoreInterrupts +/* 80363A08 00360968 38 60 00 01 */ li r3, 1 +/* 80363A0C 0036096C 48 00 00 2C */ b lbl_80363A38 +lbl_80363A10: +/* 80363A10 00360970 A0 03 00 0C */ lhz r0, 0xc(r3) +/* 80363A14 00360974 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A18 00360978 7C 00 00 34 */ cntlzw r0, r0 +/* 80363A1C 0036097C 54 1F D9 7E */ srwi r31, r0, 5 +/* 80363A20 00360980 48 01 DC 69 */ bl OSRestoreInterrupts +/* 80363A24 00360984 7F E3 FB 78 */ mr r3, r31 +/* 80363A28 00360988 48 00 00 10 */ b lbl_80363A38 +lbl_80363A2C: +/* 80363A2C 0036098C 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A30 00360990 48 01 DC 59 */ bl OSRestoreInterrupts +/* 80363A34 00360994 38 60 00 02 */ li r3, 2 +lbl_80363A38: +/* 80363A38 00360998 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363A3C 0036099C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363A40 003609A0 7C 08 03 A6 */ mtlr r0 +/* 80363A44 003609A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363A48 003609A8 4E 80 00 20 */ blr + +.global CanStop__17CDSPStreamManagerFi +CanStop__17CDSPStreamManagerFi: +/* 80363A4C 003609AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363A50 003609B0 7C 08 02 A6 */ mflr r0 +/* 80363A54 003609B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363A58 003609B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363A5C 003609BC 7C 7F 1B 78 */ mr r31, r3 +/* 80363A60 003609C0 48 01 DC 01 */ bl OSDisableInterrupts +/* 80363A64 003609C4 7C 03 00 D0 */ neg r0, r3 +/* 80363A68 003609C8 7C 00 1B 78 */ or r0, r0, r3 +/* 80363A6C 003609CC 7F E3 FB 78 */ mr r3, r31 +/* 80363A70 003609D0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363A74 003609D4 98 01 00 08 */ stb r0, 8(r1) +/* 80363A78 003609D8 48 00 04 51 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363A7C 003609DC 2C 03 FF FF */ cmpwi r3, -1 +/* 80363A80 003609E0 40 82 00 14 */ bne lbl_80363A94 +/* 80363A84 003609E4 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A88 003609E8 48 01 DC 01 */ bl OSRestoreInterrupts +/* 80363A8C 003609EC 38 60 00 01 */ li r3, 1 +/* 80363A90 003609F0 48 00 00 70 */ b lbl_80363B00 +lbl_80363A94: +/* 80363A94 003609F4 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363A98 003609F8 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363A9C 003609FC 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363AA0 00360A00 7C 60 22 14 */ add r3, r0, r4 +/* 80363AA4 00360A04 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363AA8 00360A08 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 80363AAC 00360A0C 2C 00 00 01 */ cmpwi r0, 1 +/* 80363AB0 00360A10 40 82 00 14 */ bne lbl_80363AC4 +/* 80363AB4 00360A14 88 61 00 08 */ lbz r3, 8(r1) +/* 80363AB8 00360A18 48 01 DB D1 */ bl OSRestoreInterrupts +/* 80363ABC 00360A1C 38 60 00 00 */ li r3, 0 +/* 80363AC0 00360A20 48 00 00 40 */ b lbl_80363B00 +lbl_80363AC4: +/* 80363AC4 00360A24 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80363AC8 00360A28 3C 03 00 01 */ addis r0, r3, 1 +/* 80363ACC 00360A2C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80363AD0 00360A30 40 82 00 14 */ bne lbl_80363AE4 +/* 80363AD4 00360A34 88 61 00 08 */ lbz r3, 8(r1) +/* 80363AD8 00360A38 48 01 DB B1 */ bl OSRestoreInterrupts +/* 80363ADC 00360A3C 38 60 00 01 */ li r3, 1 +/* 80363AE0 00360A40 48 00 00 20 */ b lbl_80363B00 +lbl_80363AE4: +/* 80363AE4 00360A44 48 00 6D 65 */ bl IsStreamActive__10SDSPStreamFi +/* 80363AE8 00360A48 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80363AEC 00360A4C 88 61 00 08 */ lbz r3, 8(r1) +/* 80363AF0 00360A50 7C 00 00 34 */ cntlzw r0, r0 +/* 80363AF4 00360A54 54 1F D9 7E */ srwi r31, r0, 5 +/* 80363AF8 00360A58 48 01 DB 91 */ bl OSRestoreInterrupts +/* 80363AFC 00360A5C 7F E3 FB 78 */ mr r3, r31 +lbl_80363B00: +/* 80363B00 00360A60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363B04 00360A64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363B08 00360A68 7C 08 03 A6 */ mtlr r0 +/* 80363B0C 00360A6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363B10 00360A70 4E 80 00 20 */ blr + +.global IsStreamAvailable__17CDSPStreamManagerFi +IsStreamAvailable__17CDSPStreamManagerFi: +/* 80363B14 00360A74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363B18 00360A78 7C 08 02 A6 */ mflr r0 +/* 80363B1C 00360A7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363B20 00360A80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363B24 00360A84 7C 7F 1B 78 */ mr r31, r3 +/* 80363B28 00360A88 48 01 DB 39 */ bl OSDisableInterrupts +/* 80363B2C 00360A8C 7C 03 00 D0 */ neg r0, r3 +/* 80363B30 00360A90 7C 00 1B 78 */ or r0, r0, r3 +/* 80363B34 00360A94 7F E3 FB 78 */ mr r3, r31 +/* 80363B38 00360A98 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363B3C 00360A9C 98 01 00 08 */ stb r0, 8(r1) +/* 80363B40 00360AA0 48 00 03 89 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363B44 00360AA4 2C 03 FF FF */ cmpwi r3, -1 +/* 80363B48 00360AA8 40 82 00 14 */ bne lbl_80363B5C +/* 80363B4C 00360AAC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363B50 00360AB0 48 01 DB 39 */ bl OSRestoreInterrupts +/* 80363B54 00360AB4 38 60 00 00 */ li r3, 0 +/* 80363B58 00360AB8 48 00 00 68 */ b lbl_80363BC0 +lbl_80363B5C: +/* 80363B5C 00360ABC 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363B60 00360AC0 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363B64 00360AC4 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363B68 00360AC8 7C 60 22 14 */ add r3, r0, r4 +/* 80363B6C 00360ACC 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363B70 00360AD0 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 80363B74 00360AD4 2C 00 00 01 */ cmpwi r0, 1 +/* 80363B78 00360AD8 40 82 00 14 */ bne lbl_80363B8C +/* 80363B7C 00360ADC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363B80 00360AE0 48 01 DB 09 */ bl OSRestoreInterrupts +/* 80363B84 00360AE4 38 60 00 00 */ li r3, 0 +/* 80363B88 00360AE8 48 00 00 38 */ b lbl_80363BC0 +lbl_80363B8C: +/* 80363B8C 00360AEC 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80363B90 00360AF0 3C 03 00 01 */ addis r0, r3, 1 +/* 80363B94 00360AF4 28 00 FF FF */ cmplwi r0, 0xffff +/* 80363B98 00360AF8 40 82 00 14 */ bne lbl_80363BAC +/* 80363B9C 00360AFC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363BA0 00360B00 48 01 DA E9 */ bl OSRestoreInterrupts +/* 80363BA4 00360B04 38 60 00 00 */ li r3, 0 +/* 80363BA8 00360B08 48 00 00 18 */ b lbl_80363BC0 +lbl_80363BAC: +/* 80363BAC 00360B0C 48 00 6C 21 */ bl IsStreamAvailable__10SDSPStreamFi +/* 80363BB0 00360B10 7C 7F 1B 78 */ mr r31, r3 +/* 80363BB4 00360B14 88 61 00 08 */ lbz r3, 8(r1) +/* 80363BB8 00360B18 48 01 DA D1 */ bl OSRestoreInterrupts +/* 80363BBC 00360B1C 7F E3 FB 78 */ mr r3, r31 +lbl_80363BC0: +/* 80363BC0 00360B20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363BC4 00360B24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363BC8 00360B28 7C 08 03 A6 */ mtlr r0 +/* 80363BCC 00360B2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363BD0 00360B30 4E 80 00 20 */ blr + +.global UpdateVolume__17CDSPStreamManagerFic +UpdateVolume__17CDSPStreamManagerFic: +/* 80363BD4 00360B34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363BD8 00360B38 7C 08 02 A6 */ mflr r0 +/* 80363BDC 00360B3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363BE0 00360B40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363BE4 00360B44 7C 9F 23 78 */ mr r31, r4 +/* 80363BE8 00360B48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80363BEC 00360B4C 7C 7E 1B 78 */ mr r30, r3 +/* 80363BF0 00360B50 48 01 DA 71 */ bl OSDisableInterrupts +/* 80363BF4 00360B54 7C 03 00 D0 */ neg r0, r3 +/* 80363BF8 00360B58 7C 00 1B 78 */ or r0, r0, r3 +/* 80363BFC 00360B5C 7F C3 F3 78 */ mr r3, r30 +/* 80363C00 00360B60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363C04 00360B64 98 01 00 08 */ stb r0, 8(r1) +/* 80363C08 00360B68 48 00 02 C1 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363C0C 00360B6C 2C 03 FF FF */ cmpwi r3, -1 +/* 80363C10 00360B70 40 82 00 10 */ bne lbl_80363C20 +/* 80363C14 00360B74 88 61 00 08 */ lbz r3, 8(r1) +/* 80363C18 00360B78 48 01 DA 71 */ bl OSRestoreInterrupts +/* 80363C1C 00360B7C 48 00 00 38 */ b lbl_80363C54 +lbl_80363C20: +/* 80363C20 00360B80 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363C24 00360B84 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363C28 00360B88 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363C2C 00360B8C 7C 60 22 14 */ add r3, r0, r4 +/* 80363C30 00360B90 9B E3 00 73 */ stb r31, 0x73(r3) +/* 80363C34 00360B94 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80363C38 00360B98 3C 03 00 01 */ addis r0, r3, 1 +/* 80363C3C 00360B9C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80363C40 00360BA0 41 82 00 0C */ beq lbl_80363C4C +/* 80363C44 00360BA4 7F E4 FB 78 */ mr r4, r31 +/* 80363C48 00360BA8 48 00 6C 7D */ bl UpdateVolume__10SDSPStreamFi +lbl_80363C4C: +/* 80363C4C 00360BAC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363C50 00360BB0 48 01 DA 39 */ bl OSRestoreInterrupts +lbl_80363C54: +/* 80363C54 00360BB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363C58 00360BB8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363C5C 00360BBC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80363C60 00360BC0 7C 08 03 A6 */ mtlr r0 +/* 80363C64 00360BC4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363C68 00360BC8 4E 80 00 20 */ blr + +.global __ct__14SDSPStreamInfoFRC17CDSPStreamManager +__ct__14SDSPStreamInfoFRC17CDSPStreamManager: +/* 80363C6C 00360BCC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80363C70 00360BD0 7C 08 02 A6 */ mflr r0 +/* 80363C74 00360BD4 38 A0 00 60 */ li r5, 0x60 +/* 80363C78 00360BD8 90 01 00 54 */ stw r0, 0x54(r1) +/* 80363C7C 00360BDC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80363C80 00360BE0 7C 7F 1B 78 */ mr r31, r3 +/* 80363C84 00360BE4 80 C4 00 04 */ lwz r6, 4(r4) +/* 80363C88 00360BE8 A0 04 00 0C */ lhz r0, 0xc(r4) +/* 80363C8C 00360BEC 80 64 00 08 */ lwz r3, 8(r4) +/* 80363C90 00360BF0 54 C6 F8 74 */ rlwinm r6, r6, 0x1f, 1, 0x1a +/* 80363C94 00360BF4 80 E4 00 60 */ lwz r7, 0x60(r4) +/* 80363C98 00360BF8 28 00 00 00 */ cmplwi r0, 0 +/* 80363C9C 00360BFC B0 61 00 0C */ sth r3, 0xc(r1) +/* 80363CA0 00360C00 90 E1 00 08 */ stw r7, 8(r1) +/* 80363CA4 00360C04 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80363CA8 00360C08 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80363CAC 00360C0C 41 82 00 38 */ beq lbl_80363CE4 +/* 80363CB0 00360C10 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80363CB4 00360C14 38 A0 00 01 */ li r5, 1 +/* 80363CB8 00360C18 80 64 00 10 */ lwz r3, 0x10(r4) +/* 80363CBC 00360C1C 54 07 F8 74 */ rlwinm r7, r0, 0x1f, 1, 0x1a +/* 80363CC0 00360C20 98 A1 00 18 */ stb r5, 0x18(r1) +/* 80363CC4 00360C24 54 60 F8 74 */ rlwinm r0, r3, 0x1f, 1, 0x1a +/* 80363CC8 00360C28 7C 07 30 40 */ cmplw r7, r6 +/* 80363CCC 00360C2C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80363CD0 00360C30 40 81 00 0C */ ble lbl_80363CDC +/* 80363CD4 00360C34 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80363CD8 00360C38 48 00 00 1C */ b lbl_80363CF4 +lbl_80363CDC: +/* 80363CDC 00360C3C 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80363CE0 00360C40 48 00 00 14 */ b lbl_80363CF4 +lbl_80363CE4: +/* 80363CE4 00360C44 38 00 00 00 */ li r0, 0 +/* 80363CE8 00360C48 98 01 00 18 */ stb r0, 0x18(r1) +/* 80363CEC 00360C4C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80363CF0 00360C50 90 01 00 20 */ stw r0, 0x20(r1) +lbl_80363CF4: +/* 80363CF4 00360C54 38 61 00 24 */ addi r3, r1, 0x24 +/* 80363CF8 00360C58 38 84 00 1C */ addi r4, r4, 0x1c +/* 80363CFC 00360C5C 38 A0 00 20 */ li r5, 0x20 +/* 80363D00 00360C60 4B C9 F7 91 */ bl memcpy +/* 80363D04 00360C64 80 61 00 08 */ lwz r3, 8(r1) +/* 80363D08 00360C68 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80363D0C 00360C6C 90 7F 00 00 */ stw r3, 0(r31) +/* 80363D10 00360C70 90 1F 00 04 */ stw r0, 4(r31) +/* 80363D14 00360C74 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80363D18 00360C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80363D1C 00360C7C 90 7F 00 08 */ stw r3, 8(r31) +/* 80363D20 00360C80 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80363D24 00360C84 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80363D28 00360C88 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80363D2C 00360C8C 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80363D30 00360C90 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80363D34 00360C94 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80363D38 00360C98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363D3C 00360C9C 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80363D40 00360CA0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80363D44 00360CA4 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80363D48 00360CA8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80363D4C 00360CAC 90 7F 00 20 */ stw r3, 0x20(r31) +/* 80363D50 00360CB0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80363D54 00360CB4 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80363D58 00360CB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80363D5C 00360CBC 90 7F 00 28 */ stw r3, 0x28(r31) +/* 80363D60 00360CC0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80363D64 00360CC4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80363D68 00360CC8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80363D6C 00360CCC 90 7F 00 30 */ stw r3, 0x30(r31) +/* 80363D70 00360CD0 90 1F 00 34 */ stw r0, 0x34(r31) +/* 80363D74 00360CD4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80363D78 00360CD8 90 1F 00 38 */ stw r0, 0x38(r31) +/* 80363D7C 00360CDC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80363D80 00360CE0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80363D84 00360CE4 7C 08 03 A6 */ mtlr r0 +/* 80363D88 00360CE8 38 21 00 50 */ addi r1, r1, 0x50 +/* 80363D8C 00360CEC 4E 80 00 20 */ blr + +.global StopStreaming__17CDSPStreamManagerFi +StopStreaming__17CDSPStreamManagerFi: +/* 80363D90 00360CF0 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 80363D94 00360CF4 7C 2C 0B 78 */ mr r12, r1 +/* 80363D98 00360CF8 21 6B FE 20 */ subfic r11, r11, -480 +/* 80363D9C 00360CFC 7C 21 59 6E */ stwux r1, r1, r11 +/* 80363DA0 00360D00 7C 08 02 A6 */ mflr r0 +/* 80363DA4 00360D04 90 0C 00 04 */ stw r0, 4(r12) +/* 80363DA8 00360D08 93 EC FF FC */ stw r31, -4(r12) +/* 80363DAC 00360D0C 93 CC FF F8 */ stw r30, -8(r12) +/* 80363DB0 00360D10 7C 7E 1B 78 */ mr r30, r3 +/* 80363DB4 00360D14 48 01 D8 AD */ bl OSDisableInterrupts +/* 80363DB8 00360D18 7C 03 00 D0 */ neg r0, r3 +/* 80363DBC 00360D1C 7C 00 1B 78 */ or r0, r0, r3 +/* 80363DC0 00360D20 7F C3 F3 78 */ mr r3, r30 +/* 80363DC4 00360D24 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363DC8 00360D28 98 01 00 20 */ stb r0, 0x20(r1) +/* 80363DCC 00360D2C 48 00 00 FD */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363DD0 00360D30 2C 03 FF FF */ cmpwi r3, -1 +/* 80363DD4 00360D34 40 82 00 10 */ bne lbl_80363DE4 +/* 80363DD8 00360D38 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363DDC 00360D3C 48 01 D8 AD */ bl OSRestoreInterrupts +/* 80363DE0 00360D40 48 00 00 CC */ b lbl_80363EAC +lbl_80363DE4: +/* 80363DE4 00360D44 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363DE8 00360D48 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363DEC 00360D4C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363DF0 00360D50 7F C0 22 14 */ add r30, r0, r4 +/* 80363DF4 00360D54 88 7E 00 70 */ lbz r3, 0x70(r30) +/* 80363DF8 00360D58 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80363DFC 00360D5C 41 82 00 10 */ beq lbl_80363E0C +/* 80363E00 00360D60 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363E04 00360D64 48 01 D8 85 */ bl OSRestoreInterrupts +/* 80363E08 00360D68 48 00 00 A4 */ b lbl_80363EAC +lbl_80363E0C: +/* 80363E0C 00360D6C 54 60 E7 BE */ rlwinm r0, r3, 0x1c, 0x1e, 0x1f +/* 80363E10 00360D70 2C 00 00 01 */ cmpwi r0, 1 +/* 80363E14 00360D74 40 82 00 20 */ bne lbl_80363E34 +/* 80363E18 00360D78 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 80363E1C 00360D7C 38 60 00 01 */ li r3, 1 +/* 80363E20 00360D80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80363E24 00360D84 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363E28 00360D88 98 1E 00 70 */ stb r0, 0x70(r30) +/* 80363E2C 00360D8C 48 01 D8 5D */ bl OSRestoreInterrupts +/* 80363E30 00360D90 48 00 00 7C */ b lbl_80363EAC +lbl_80363E34: +/* 80363E34 00360D94 8B FE 00 71 */ lbz r31, 0x71(r30) +/* 80363E38 00360D98 7F E0 07 74 */ extsb r0, r31 +/* 80363E3C 00360D9C 2C 00 FF FF */ cmpwi r0, -1 +/* 80363E40 00360DA0 41 82 00 38 */ beq lbl_80363E78 +/* 80363E44 00360DA4 38 61 01 00 */ addi r3, r1, 0x100 +/* 80363E48 00360DA8 38 80 00 00 */ li r4, 0 +/* 80363E4C 00360DAC 48 00 0B 01 */ bl __ct__17CDSPStreamManagerFv +/* 80363E50 00360DB0 7F E0 07 74 */ extsb r0, r31 +/* 80363E54 00360DB4 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363E58 00360DB8 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 80363E5C 00360DBC 38 81 01 00 */ addi r4, r1, 0x100 +/* 80363E60 00360DC0 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363E64 00360DC4 7C 60 2A 14 */ add r3, r0, r5 +/* 80363E68 00360DC8 48 00 08 7D */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363E6C 00360DCC 34 61 01 60 */ addic. r3, r1, 0x160 +/* 80363E70 00360DD0 41 82 00 08 */ beq lbl_80363E78 +/* 80363E74 00360DD4 4B FD 9C 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80363E78: +/* 80363E78 00360DD8 80 7E 00 7C */ lwz r3, 0x7c(r30) +/* 80363E7C 00360DDC 48 00 6B 49 */ bl Silence__10SDSPStreamFv +/* 80363E80 00360DE0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80363E84 00360DE4 38 80 00 00 */ li r4, 0 +/* 80363E88 00360DE8 48 00 0A C5 */ bl __ct__17CDSPStreamManagerFv +/* 80363E8C 00360DEC 7F C3 F3 78 */ mr r3, r30 +/* 80363E90 00360DF0 38 81 00 40 */ addi r4, r1, 0x40 +/* 80363E94 00360DF4 48 00 08 51 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363E98 00360DF8 34 61 00 A0 */ addic. r3, r1, 0xa0 +/* 80363E9C 00360DFC 41 82 00 08 */ beq lbl_80363EA4 +/* 80363EA0 00360E00 4B FD 9C 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80363EA4: +/* 80363EA4 00360E04 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363EA8 00360E08 48 01 D7 E1 */ bl OSRestoreInterrupts +lbl_80363EAC: +/* 80363EAC 00360E0C 81 41 00 00 */ lwz r10, 0(r1) +/* 80363EB0 00360E10 80 0A 00 04 */ lwz r0, 4(r10) +/* 80363EB4 00360E14 83 EA FF FC */ lwz r31, -4(r10) +/* 80363EB8 00360E18 83 CA FF F8 */ lwz r30, -8(r10) +/* 80363EBC 00360E1C 7C 08 03 A6 */ mtlr r0 +/* 80363EC0 00360E20 7D 41 53 78 */ mr r1, r10 +/* 80363EC4 00360E24 4E 80 00 20 */ blr + +.global FindClaimedStreamIdx__17CDSPStreamManagerFi +FindClaimedStreamIdx__17CDSPStreamManagerFi: +/* 80363EC8 00360E28 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80363ECC 00360E2C 38 84 68 60 */ addi r4, r4, lbl_805A6860@l +/* 80363ED0 00360E30 88 04 00 70 */ lbz r0, 0x70(r4) +/* 80363ED4 00360E34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363ED8 00360E38 40 82 00 18 */ bne lbl_80363EF0 +/* 80363EDC 00360E3C 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363EE0 00360E40 7C 03 00 00 */ cmpw r3, r0 +/* 80363EE4 00360E44 40 82 00 0C */ bne lbl_80363EF0 +/* 80363EE8 00360E48 38 60 00 00 */ li r3, 0 +/* 80363EEC 00360E4C 4E 80 00 20 */ blr +lbl_80363EF0: +/* 80363EF0 00360E50 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 80363EF4 00360E54 88 04 00 70 */ lbz r0, 0x70(r4) +/* 80363EF8 00360E58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363EFC 00360E5C 40 82 00 18 */ bne lbl_80363F14 +/* 80363F00 00360E60 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363F04 00360E64 7C 03 00 00 */ cmpw r3, r0 +/* 80363F08 00360E68 40 82 00 0C */ bne lbl_80363F14 +/* 80363F0C 00360E6C 38 60 00 01 */ li r3, 1 +/* 80363F10 00360E70 4E 80 00 20 */ blr +lbl_80363F14: +/* 80363F14 00360E74 88 04 01 30 */ lbz r0, 0x130(r4) +/* 80363F18 00360E78 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 80363F1C 00360E7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363F20 00360E80 40 82 00 18 */ bne lbl_80363F38 +/* 80363F24 00360E84 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363F28 00360E88 7C 03 00 00 */ cmpw r3, r0 +/* 80363F2C 00360E8C 40 82 00 0C */ bne lbl_80363F38 +/* 80363F30 00360E90 38 60 00 02 */ li r3, 2 +/* 80363F34 00360E94 4E 80 00 20 */ blr +lbl_80363F38: +/* 80363F38 00360E98 88 04 01 30 */ lbz r0, 0x130(r4) +/* 80363F3C 00360E9C 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 80363F40 00360EA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363F44 00360EA4 40 82 00 18 */ bne lbl_80363F5C +/* 80363F48 00360EA8 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363F4C 00360EAC 7C 03 00 00 */ cmpw r3, r0 +/* 80363F50 00360EB0 40 82 00 0C */ bne lbl_80363F5C +/* 80363F54 00360EB4 38 60 00 03 */ li r3, 3 +/* 80363F58 00360EB8 4E 80 00 20 */ blr +lbl_80363F5C: +/* 80363F5C 00360EBC 38 60 FF FF */ li r3, -1 +/* 80363F60 00360EC0 4E 80 00 20 */ blr + +.global GetFreeHandleId__17CDSPStreamManagerFv +GetFreeHandleId__17CDSPStreamManagerFv: +/* 80363F64 00360EC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363F68 00360EC8 7C 08 02 A6 */ mflr r0 +/* 80363F6C 00360ECC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363F70 00360ED0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363F74 00360ED4 48 01 D6 ED */ bl OSDisableInterrupts +/* 80363F78 00360ED8 7C 03 00 D0 */ neg r0, r3 +/* 80363F7C 00360EDC 7C 00 1B 78 */ or r0, r0, r3 +/* 80363F80 00360EE0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363F84 00360EE4 98 01 00 08 */ stb r0, 8(r1) +lbl_80363F88: +/* 80363F88 00360EE8 80 6D AA B8 */ lwz r3, lbl_805A9678@sda21(r13) +/* 80363F8C 00360EEC 38 80 00 01 */ li r4, 1 +/* 80363F90 00360EF0 3B E3 00 01 */ addi r31, r3, 1 +/* 80363F94 00360EF4 2C 1F FF FF */ cmpwi r31, -1 +/* 80363F98 00360EF8 93 ED AA B8 */ stw r31, lbl_805A9678@sda21(r13) +/* 80363F9C 00360EFC 40 82 00 0C */ bne lbl_80363FA8 +/* 80363FA0 00360F00 38 80 00 00 */ li r4, 0 +/* 80363FA4 00360F04 48 00 00 94 */ b lbl_80364038 +lbl_80363FA8: +/* 80363FA8 00360F08 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363FAC 00360F0C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80363FB0 00360F10 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363FB4 00360F14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363FB8 00360F18 40 82 00 18 */ bne lbl_80363FD0 +/* 80363FBC 00360F1C 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80363FC0 00360F20 7C 1F 00 00 */ cmpw r31, r0 +/* 80363FC4 00360F24 40 82 00 0C */ bne lbl_80363FD0 +/* 80363FC8 00360F28 38 80 00 00 */ li r4, 0 +/* 80363FCC 00360F2C 48 00 00 6C */ b lbl_80364038 +lbl_80363FD0: +/* 80363FD0 00360F30 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80363FD4 00360F34 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363FD8 00360F38 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363FDC 00360F3C 40 82 00 18 */ bne lbl_80363FF4 +/* 80363FE0 00360F40 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80363FE4 00360F44 7C 1F 00 00 */ cmpw r31, r0 +/* 80363FE8 00360F48 40 82 00 0C */ bne lbl_80363FF4 +/* 80363FEC 00360F4C 38 80 00 00 */ li r4, 0 +/* 80363FF0 00360F50 48 00 00 48 */ b lbl_80364038 +lbl_80363FF4: +/* 80363FF4 00360F54 88 03 01 30 */ lbz r0, 0x130(r3) +/* 80363FF8 00360F58 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80363FFC 00360F5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364000 00360F60 40 82 00 18 */ bne lbl_80364018 +/* 80364004 00360F64 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80364008 00360F68 7C 1F 00 00 */ cmpw r31, r0 +/* 8036400C 00360F6C 40 82 00 0C */ bne lbl_80364018 +/* 80364010 00360F70 38 80 00 00 */ li r4, 0 +/* 80364014 00360F74 48 00 00 24 */ b lbl_80364038 +lbl_80364018: +/* 80364018 00360F78 88 03 01 30 */ lbz r0, 0x130(r3) +/* 8036401C 00360F7C 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80364020 00360F80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364024 00360F84 40 82 00 14 */ bne lbl_80364038 +/* 80364028 00360F88 80 03 00 78 */ lwz r0, 0x78(r3) +/* 8036402C 00360F8C 7C 1F 00 00 */ cmpw r31, r0 +/* 80364030 00360F90 40 82 00 08 */ bne lbl_80364038 +/* 80364034 00360F94 38 80 00 00 */ li r4, 0 +lbl_80364038: +/* 80364038 00360F98 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8036403C 00360F9C 41 82 FF 4C */ beq lbl_80363F88 +/* 80364040 00360FA0 88 61 00 08 */ lbz r3, 8(r1) +/* 80364044 00360FA4 48 01 D6 45 */ bl OSRestoreInterrupts +/* 80364048 00360FA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036404C 00360FAC 7F E3 FB 78 */ mr r3, r31 +/* 80364050 00360FB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80364054 00360FB4 7C 08 03 A6 */ mtlr r0 +/* 80364058 00360FB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036405C 00360FBC 4E 80 00 20 */ blr + +.global FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi +FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi: +/* 80364060 00360FC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80364064 00360FC4 7C 08 02 A6 */ mflr r0 +/* 80364068 00360FC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036406C 00360FCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80364070 00360FD0 7C 9F 23 78 */ mr r31, r4 +/* 80364074 00360FD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80364078 00360FD8 7C 7E 1B 78 */ mr r30, r3 +/* 8036407C 00360FDC 48 00 00 D1 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv +/* 80364080 00360FE0 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80364084 00360FE4 38 A0 00 00 */ li r5, 0 +/* 80364088 00360FE8 38 84 68 60 */ addi r4, r4, lbl_805A6860@l +/* 8036408C 00360FEC 88 04 00 70 */ lbz r0, 0x70(r4) +/* 80364090 00360FF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364094 00360FF4 41 82 00 1C */ beq lbl_803640B0 +/* 80364098 00360FF8 7C 03 28 00 */ cmpw r3, r5 +/* 8036409C 00360FFC 41 82 00 14 */ beq lbl_803640B0 +/* 803640A0 00361000 90 7E 00 00 */ stw r3, 0(r30) +/* 803640A4 00361004 38 60 00 01 */ li r3, 1 +/* 803640A8 00361008 90 BF 00 00 */ stw r5, 0(r31) +/* 803640AC 0036100C 48 00 00 88 */ b lbl_80364134 +lbl_803640B0: +/* 803640B0 00361010 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 803640B4 00361014 38 A0 00 01 */ li r5, 1 +/* 803640B8 00361018 88 04 00 70 */ lbz r0, 0x70(r4) +/* 803640BC 0036101C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803640C0 00361020 41 82 00 1C */ beq lbl_803640DC +/* 803640C4 00361024 7C 03 28 00 */ cmpw r3, r5 +/* 803640C8 00361028 41 82 00 14 */ beq lbl_803640DC +/* 803640CC 0036102C 90 7E 00 00 */ stw r3, 0(r30) +/* 803640D0 00361030 38 60 00 01 */ li r3, 1 +/* 803640D4 00361034 90 BF 00 00 */ stw r5, 0(r31) +/* 803640D8 00361038 48 00 00 5C */ b lbl_80364134 +lbl_803640DC: +/* 803640DC 0036103C 88 04 01 30 */ lbz r0, 0x130(r4) +/* 803640E0 00361040 38 A0 00 02 */ li r5, 2 +/* 803640E4 00361044 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 803640E8 00361048 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803640EC 0036104C 41 82 00 1C */ beq lbl_80364108 +/* 803640F0 00361050 7C 03 28 00 */ cmpw r3, r5 +/* 803640F4 00361054 41 82 00 14 */ beq lbl_80364108 +/* 803640F8 00361058 90 7E 00 00 */ stw r3, 0(r30) +/* 803640FC 0036105C 38 60 00 01 */ li r3, 1 +/* 80364100 00361060 90 BF 00 00 */ stw r5, 0(r31) +/* 80364104 00361064 48 00 00 30 */ b lbl_80364134 +lbl_80364108: +/* 80364108 00361068 88 04 01 30 */ lbz r0, 0x130(r4) +/* 8036410C 0036106C 38 A0 00 03 */ li r5, 3 +/* 80364110 00361070 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364114 00361074 41 82 00 1C */ beq lbl_80364130 +/* 80364118 00361078 7C 03 28 00 */ cmpw r3, r5 +/* 8036411C 0036107C 41 82 00 14 */ beq lbl_80364130 +/* 80364120 00361080 90 7E 00 00 */ stw r3, 0(r30) +/* 80364124 00361084 38 60 00 01 */ li r3, 1 +/* 80364128 00361088 90 BF 00 00 */ stw r5, 0(r31) +/* 8036412C 0036108C 48 00 00 08 */ b lbl_80364134 +lbl_80364130: +/* 80364130 00361090 38 60 00 00 */ li r3, 0 +lbl_80364134: +/* 80364134 00361094 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80364138 00361098 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036413C 0036109C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80364140 003610A0 7C 08 03 A6 */ mtlr r0 +/* 80364144 003610A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80364148 003610A8 4E 80 00 20 */ blr + +.global FindUnclaimedStreamIdx__17CDSPStreamManagerFv +FindUnclaimedStreamIdx__17CDSPStreamManagerFv: +/* 8036414C 003610AC 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364150 003610B0 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364154 003610B4 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80364158 003610B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8036415C 003610BC 41 82 00 0C */ beq lbl_80364168 +/* 80364160 003610C0 38 60 00 00 */ li r3, 0 +/* 80364164 003610C4 4E 80 00 20 */ blr +lbl_80364168: +/* 80364168 003610C8 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 8036416C 003610CC 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80364170 003610D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364174 003610D4 41 82 00 0C */ beq lbl_80364180 +/* 80364178 003610D8 38 60 00 01 */ li r3, 1 +/* 8036417C 003610DC 4E 80 00 20 */ blr +lbl_80364180: +/* 80364180 003610E0 88 03 01 30 */ lbz r0, 0x130(r3) +/* 80364184 003610E4 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80364188 003610E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8036418C 003610EC 41 82 00 0C */ beq lbl_80364198 +/* 80364190 003610F0 38 60 00 02 */ li r3, 2 +/* 80364194 003610F4 4E 80 00 20 */ blr +lbl_80364198: +/* 80364198 003610F8 88 03 01 30 */ lbz r0, 0x130(r3) +/* 8036419C 003610FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803641A0 00361100 41 82 00 0C */ beq lbl_803641AC +/* 803641A4 00361104 38 60 00 03 */ li r3, 3 +/* 803641A8 00361108 4E 80 00 20 */ blr +lbl_803641AC: +/* 803641AC 0036110C 38 60 FF FF */ li r3, -1 +/* 803641B0 00361110 4E 80 00 20 */ blr + +.global StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb +StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb: +/* 803641B4 00361114 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 803641B8 00361118 7C 2C 0B 78 */ mr r12, r1 +/* 803641BC 0036111C 21 6B FB 00 */ subfic r11, r11, -1280 +/* 803641C0 00361120 7C 21 59 6E */ stwux r1, r1, r11 +/* 803641C4 00361124 7C 08 02 A6 */ mflr r0 +/* 803641C8 00361128 90 0C 00 04 */ stw r0, 4(r12) +/* 803641CC 0036112C 93 EC FF FC */ stw r31, -4(r12) +/* 803641D0 00361130 93 CC FF F8 */ stw r30, -8(r12) +/* 803641D4 00361134 7C BE 2B 78 */ mr r30, r5 +/* 803641D8 00361138 93 AC FF F4 */ stw r29, -0xc(r12) +/* 803641DC 0036113C 7C 9D 23 78 */ mr r29, r4 +/* 803641E0 00361140 93 8C FF F0 */ stw r28, -0x10(r12) +/* 803641E4 00361144 7C 7C 1B 78 */ mr r28, r3 +/* 803641E8 00361148 48 01 D4 79 */ bl OSDisableInterrupts +/* 803641EC 0036114C 7C 83 00 D0 */ neg r4, r3 +/* 803641F0 00361150 7C 1E 00 D0 */ neg r0, r30 +/* 803641F4 00361154 7C 84 1B 78 */ or r4, r4, r3 +/* 803641F8 00361158 7F 83 E3 78 */ mr r3, r28 +/* 803641FC 0036115C 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80364200 00361160 7C 00 F3 78 */ or r0, r0, r30 +/* 80364204 00361164 98 81 00 28 */ stb r4, 0x28(r1) +/* 80364208 00361168 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 8036420C 0036116C 38 80 00 7C */ li r4, 0x7c +/* 80364210 00361170 38 A0 00 00 */ li r5, 0 +/* 80364214 00361174 4B EA 7F 41 */ bl sub_8020c154 +/* 80364218 00361178 7C 7F 1B 78 */ mr r31, r3 +/* 8036421C 0036117C 2C 1F FF FF */ cmpwi r31, -1 +/* 80364220 00361180 40 82 00 FC */ bne lbl_8036431C +/* 80364224 00361184 4B FF FF 29 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv +/* 80364228 00361188 7C 7F 1B 78 */ mr r31, r3 +/* 8036422C 0036118C 2C 1F FF FF */ cmpwi r31, -1 +/* 80364230 00361190 40 82 00 14 */ bne lbl_80364244 +/* 80364234 00361194 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364238 00361198 48 01 D4 51 */ bl OSRestoreInterrupts +/* 8036423C 0036119C 38 60 FF FF */ li r3, -1 +/* 80364240 003611A0 48 00 03 60 */ b lbl_803645A0 +lbl_80364244: +/* 80364244 003611A4 4B FF FD 21 */ bl GetFreeHandleId__17CDSPStreamManagerFv +/* 80364248 003611A8 7C 65 1B 78 */ mr r5, r3 +/* 8036424C 003611AC 7F 84 E3 78 */ mr r4, r28 +/* 80364250 003611B0 7F A6 EB 78 */ mr r6, r29 +/* 80364254 003611B4 7F C7 F3 78 */ mr r7, r30 +/* 80364258 003611B8 38 61 04 20 */ addi r3, r1, 0x420 +/* 8036425C 003611BC 48 00 07 85 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +/* 80364260 003611C0 88 01 04 90 */ lbz r0, 0x490(r1) +/* 80364264 003611C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364268 003611C8 40 82 00 98 */ bne lbl_80364300 +/* 8036426C 003611CC 1C BF 00 C0 */ mulli r5, r31, 0xc0 +/* 80364270 003611D0 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364274 003611D4 38 81 04 20 */ addi r4, r1, 0x420 +/* 80364278 003611D8 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 8036427C 003611DC 7F C0 2A 14 */ add r30, r0, r5 +/* 80364280 003611E0 7F C3 F3 78 */ mr r3, r30 +/* 80364284 003611E4 48 00 04 61 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364288 003611E8 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha +/* 8036428C 003611EC 7F C3 F3 78 */ mr r3, r30 +/* 80364290 003611F0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l +/* 80364294 003611F4 48 00 05 F1 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback +/* 80364298 003611F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036429C 003611FC 40 82 00 44 */ bne lbl_803642E0 +/* 803642A0 00361200 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 803642A4 00361204 38 80 00 00 */ li r4, 0 +/* 803642A8 00361208 48 00 06 A5 */ bl __ct__17CDSPStreamManagerFv +/* 803642AC 0036120C 7F C3 F3 78 */ mr r3, r30 +/* 803642B0 00361210 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 803642B4 00361214 48 00 04 31 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803642B8 00361218 34 61 02 40 */ addic. r3, r1, 0x240 +/* 803642BC 0036121C 41 82 00 08 */ beq lbl_803642C4 +/* 803642C0 00361220 4B FD 98 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803642C4: +/* 803642C4 00361224 34 61 04 80 */ addic. r3, r1, 0x480 +/* 803642C8 00361228 41 82 00 08 */ beq lbl_803642D0 +/* 803642CC 0036122C 4B FD 98 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803642D0: +/* 803642D0 00361230 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803642D4 00361234 48 01 D3 B5 */ bl OSRestoreInterrupts +/* 803642D8 00361238 38 60 FF FF */ li r3, -1 +/* 803642DC 0036123C 48 00 02 C4 */ b lbl_803645A0 +lbl_803642E0: +/* 803642E0 00361240 34 61 04 80 */ addic. r3, r1, 0x480 +/* 803642E4 00361244 83 C1 04 98 */ lwz r30, 0x498(r1) +/* 803642E8 00361248 41 82 00 08 */ beq lbl_803642F0 +/* 803642EC 0036124C 4B FD 97 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803642F0: +/* 803642F0 00361250 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803642F4 00361254 48 01 D3 95 */ bl OSRestoreInterrupts +/* 803642F8 00361258 7F C3 F3 78 */ mr r3, r30 +/* 803642FC 0036125C 48 00 02 A4 */ b lbl_803645A0 +lbl_80364300: +/* 80364300 00361260 34 61 04 80 */ addic. r3, r1, 0x480 +/* 80364304 00361264 41 82 00 08 */ beq lbl_8036430C +/* 80364308 00361268 4B FD 97 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036430C: +/* 8036430C 0036126C 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364310 00361270 48 01 D3 79 */ bl OSRestoreInterrupts +/* 80364314 00361274 38 60 FF FF */ li r3, -1 +/* 80364318 00361278 48 00 02 88 */ b lbl_803645A0 +lbl_8036431C: +/* 8036431C 0036127C 38 00 00 00 */ li r0, 0 +/* 80364320 00361280 38 61 00 30 */ addi r3, r1, 0x30 +/* 80364324 00361284 90 01 00 30 */ stw r0, 0x30(r1) +/* 80364328 00361288 38 81 00 2C */ addi r4, r1, 0x2c +/* 8036432C 0036128C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80364330 00361290 4B FF FD 31 */ bl FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi +/* 80364334 00361294 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80364338 00361298 40 82 00 14 */ bne lbl_8036434C +/* 8036433C 0036129C 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364340 003612A0 48 01 D3 49 */ bl OSRestoreInterrupts +/* 80364344 003612A4 38 60 FF FF */ li r3, -1 +/* 80364348 003612A8 48 00 02 58 */ b lbl_803645A0 +lbl_8036434C: +/* 8036434C 003612AC 80 9C 00 00 */ lwz r4, 0(r28) +/* 80364350 003612B0 7F E5 FB 78 */ mr r5, r31 +/* 80364354 003612B4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80364358 003612B8 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8036435C 003612BC 4B FD 9E 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80364360 003612C0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80364364 003612C4 38 9F 00 01 */ addi r4, r31, 1 +/* 80364368 003612C8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8036436C 003612CC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80364370 003612D0 7C 80 22 14 */ add r4, r0, r4 +/* 80364374 003612D4 38 A0 FF FF */ li r5, -1 +/* 80364378 003612D8 4B FD 9E 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8036437C 003612DC 4B FF FB E9 */ bl GetFreeHandleId__17CDSPStreamManagerFv +/* 80364380 003612E0 7C 65 1B 78 */ mr r5, r3 +/* 80364384 003612E4 7F A6 EB 78 */ mr r6, r29 +/* 80364388 003612E8 7F C7 F3 78 */ mr r7, r30 +/* 8036438C 003612EC 38 61 03 60 */ addi r3, r1, 0x360 +/* 80364390 003612F0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80364394 003612F4 48 00 06 4D */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +/* 80364398 003612F8 4B FF FB CD */ bl GetFreeHandleId__17CDSPStreamManagerFv +/* 8036439C 003612FC 7C 65 1B 78 */ mr r5, r3 +/* 803643A0 00361300 7F A6 EB 78 */ mr r6, r29 +/* 803643A4 00361304 7F C7 F3 78 */ mr r7, r30 +/* 803643A8 00361308 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 803643AC 0036130C 38 81 00 34 */ addi r4, r1, 0x34 +/* 803643B0 00361310 48 00 06 31 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +/* 803643B4 00361314 88 01 03 D0 */ lbz r0, 0x3d0(r1) +/* 803643B8 00361318 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803643BC 0036131C 40 82 00 10 */ bne lbl_803643CC +/* 803643C0 00361320 88 01 03 10 */ lbz r0, 0x310(r1) +/* 803643C4 00361324 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803643C8 00361328 41 82 00 3C */ beq lbl_80364404 +lbl_803643CC: +/* 803643CC 0036132C 34 61 03 00 */ addic. r3, r1, 0x300 +/* 803643D0 00361330 41 82 00 08 */ beq lbl_803643D8 +/* 803643D4 00361334 4B FD 97 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803643D8: +/* 803643D8 00361338 34 61 03 C0 */ addic. r3, r1, 0x3c0 +/* 803643DC 0036133C 41 82 00 08 */ beq lbl_803643E4 +/* 803643E0 00361340 4B FD 97 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803643E4: +/* 803643E4 00361344 38 61 00 34 */ addi r3, r1, 0x34 +/* 803643E8 00361348 4B FD 96 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803643EC 0036134C 38 61 00 44 */ addi r3, r1, 0x44 +/* 803643F0 00361350 4B FD 96 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803643F4 00361354 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803643F8 00361358 48 01 D2 91 */ bl OSRestoreInterrupts +/* 803643FC 0036135C 38 60 FF FF */ li r3, -1 +/* 80364400 00361360 48 00 01 A0 */ b lbl_803645A0 +lbl_80364404: +/* 80364404 00361364 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 80364408 00361368 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 8036440C 0036136C 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80364410 00361370 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80364414 00361374 1C 65 00 C0 */ mulli r3, r5, 0xc0 +/* 80364418 00361378 98 A1 03 12 */ stb r5, 0x312(r1) +/* 8036441C 0036137C 98 81 03 D1 */ stb r4, 0x3d1(r1) +/* 80364420 00361380 38 81 03 60 */ addi r4, r1, 0x360 +/* 80364424 00361384 7C 60 1A 14 */ add r3, r0, r3 +/* 80364428 00361388 48 00 02 BD */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 8036442C 0036138C 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80364430 00361390 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364434 00361394 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80364438 00361398 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 8036443C 0036139C 1C 65 00 C0 */ mulli r3, r5, 0xc0 +/* 80364440 003613A0 7C 60 1A 14 */ add r3, r0, r3 +/* 80364444 003613A4 48 00 02 A1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364448 003613A8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8036444C 003613AC 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80364450 003613B0 3C 60 80 36 */ lis r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha +/* 80364454 003613B4 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 80364458 003613B8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 8036445C 003613BC 38 83 37 88 */ addi r4, r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l +/* 80364460 003613C0 7C 60 2A 14 */ add r3, r0, r5 +/* 80364464 003613C4 48 00 04 21 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback +/* 80364468 003613C8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8036446C 003613CC 7C 7F 1B 78 */ mr r31, r3 +/* 80364470 003613D0 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha +/* 80364474 003613D4 3C A0 80 5A */ lis r5, lbl_805A6860@ha +/* 80364478 003613D8 1C 60 00 C0 */ mulli r3, r0, 0xc0 +/* 8036447C 003613DC 38 05 68 60 */ addi r0, r5, lbl_805A6860@l +/* 80364480 003613E0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l +/* 80364484 003613E4 7C 60 1A 14 */ add r3, r0, r3 +/* 80364488 003613E8 48 00 03 FD */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback +/* 8036448C 003613EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80364490 003613F0 41 82 00 0C */ beq lbl_8036449C +/* 80364494 003613F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80364498 003613F8 40 82 00 D0 */ bne lbl_80364568 +lbl_8036449C: +/* 8036449C 003613FC 80 81 00 30 */ lwz r4, 0x30(r1) +/* 803644A0 00361400 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803644A4 00361404 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 803644A8 00361408 38 C3 68 60 */ addi r6, r3, lbl_805A6860@l +/* 803644AC 0036140C 1C 64 00 C0 */ mulli r3, r4, 0xc0 +/* 803644B0 00361410 38 80 00 01 */ li r4, 1 +/* 803644B4 00361414 7F C6 1A 14 */ add r30, r6, r3 +/* 803644B8 00361418 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 803644BC 0036141C 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 803644C0 00361420 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803644C4 00361424 98 1E 00 70 */ stb r0, 0x70(r30) +/* 803644C8 00361428 7F C3 F3 78 */ mr r3, r30 +/* 803644CC 0036142C 7F E6 2A 14 */ add r31, r6, r5 +/* 803644D0 00361430 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 803644D4 00361434 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803644D8 00361438 98 1F 00 70 */ stb r0, 0x70(r31) +/* 803644DC 0036143C 48 00 03 3D */ bl WaitForReadCompletion__17CDSPStreamManagerFv +/* 803644E0 00361440 7F E3 FB 78 */ mr r3, r31 +/* 803644E4 00361444 48 00 03 35 */ bl WaitForReadCompletion__17CDSPStreamManagerFv +/* 803644E8 00361448 38 61 01 20 */ addi r3, r1, 0x120 +/* 803644EC 0036144C 38 80 00 00 */ li r4, 0 +/* 803644F0 00361450 48 00 04 5D */ bl __ct__17CDSPStreamManagerFv +/* 803644F4 00361454 7F C3 F3 78 */ mr r3, r30 +/* 803644F8 00361458 38 81 01 20 */ addi r4, r1, 0x120 +/* 803644FC 0036145C 48 00 01 E9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364500 00361460 34 61 01 80 */ addic. r3, r1, 0x180 +/* 80364504 00361464 41 82 00 08 */ beq lbl_8036450C +/* 80364508 00361468 4B FD 95 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036450C: +/* 8036450C 0036146C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80364510 00361470 38 80 00 00 */ li r4, 0 +/* 80364514 00361474 48 00 04 39 */ bl __ct__17CDSPStreamManagerFv +/* 80364518 00361478 7F E3 FB 78 */ mr r3, r31 +/* 8036451C 0036147C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80364520 00361480 48 00 01 C5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364524 00361484 34 61 00 C0 */ addic. r3, r1, 0xc0 +/* 80364528 00361488 41 82 00 08 */ beq lbl_80364530 +/* 8036452C 0036148C 4B FD 95 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364530: +/* 80364530 00361490 34 61 03 00 */ addic. r3, r1, 0x300 +/* 80364534 00361494 41 82 00 08 */ beq lbl_8036453C +/* 80364538 00361498 4B FD 95 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036453C: +/* 8036453C 0036149C 34 61 03 C0 */ addic. r3, r1, 0x3c0 +/* 80364540 003614A0 41 82 00 08 */ beq lbl_80364548 +/* 80364544 003614A4 4B FD 95 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364548: +/* 80364548 003614A8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8036454C 003614AC 4B FD 95 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364550 003614B0 38 61 00 44 */ addi r3, r1, 0x44 +/* 80364554 003614B4 4B FD 95 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364558 003614B8 88 61 00 28 */ lbz r3, 0x28(r1) +/* 8036455C 003614BC 48 01 D1 2D */ bl OSRestoreInterrupts +/* 80364560 003614C0 38 60 FF FF */ li r3, -1 +/* 80364564 003614C4 48 00 00 3C */ b lbl_803645A0 +lbl_80364568: +/* 80364568 003614C8 34 61 03 00 */ addic. r3, r1, 0x300 +/* 8036456C 003614CC 83 C1 03 D8 */ lwz r30, 0x3d8(r1) +/* 80364570 003614D0 41 82 00 08 */ beq lbl_80364578 +/* 80364574 003614D4 4B FD 95 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364578: +/* 80364578 003614D8 34 61 03 C0 */ addic. r3, r1, 0x3c0 +/* 8036457C 003614DC 41 82 00 08 */ beq lbl_80364584 +/* 80364580 003614E0 4B FD 95 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364584: +/* 80364584 003614E4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80364588 003614E8 4B FD 95 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8036458C 003614EC 38 61 00 44 */ addi r3, r1, 0x44 +/* 80364590 003614F0 4B FD 95 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364594 003614F4 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364598 003614F8 48 01 D0 F1 */ bl OSRestoreInterrupts +/* 8036459C 003614FC 7F C3 F3 78 */ mr r3, r30 +lbl_803645A0: +/* 803645A0 00361500 81 41 00 00 */ lwz r10, 0(r1) +/* 803645A4 00361504 80 0A 00 04 */ lwz r0, 4(r10) +/* 803645A8 00361508 83 EA FF FC */ lwz r31, -4(r10) +/* 803645AC 0036150C 83 CA FF F8 */ lwz r30, -8(r10) +/* 803645B0 00361510 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 803645B4 00361514 83 8A FF F0 */ lwz r28, -0x10(r10) +/* 803645B8 00361518 7C 08 03 A6 */ mtlr r0 +/* 803645BC 0036151C 7D 41 53 78 */ mr r1, r10 +/* 803645C0 00361520 4E 80 00 20 */ blr + +.global Shutdown__17CDSPStreamManagerFv +Shutdown__17CDSPStreamManagerFv: +/* 803645C4 00361524 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 803645C8 00361528 7C 2C 0B 78 */ mr r12, r1 +/* 803645CC 0036152C 21 6B FF 00 */ subfic r11, r11, -256 +/* 803645D0 00361530 7C 21 59 6E */ stwux r1, r1, r11 +/* 803645D4 00361534 7C 08 02 A6 */ mflr r0 +/* 803645D8 00361538 90 0C 00 04 */ stw r0, 4(r12) +/* 803645DC 0036153C 93 EC FF FC */ stw r31, -4(r12) +/* 803645E0 00361540 93 CC FF F8 */ stw r30, -8(r12) +/* 803645E4 00361544 93 AC FF F4 */ stw r29, -0xc(r12) +/* 803645E8 00361548 48 00 68 E9 */ bl FreeAllStreams__10SDSPStreamFi +/* 803645EC 0036154C 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803645F0 00361550 3B C1 00 80 */ addi r30, r1, 0x80 +/* 803645F4 00361554 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l +/* 803645F8 00361558 3B A0 00 00 */ li r29, 0 +lbl_803645FC: +/* 803645FC 0036155C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80364600 00361560 38 80 00 00 */ li r4, 0 +/* 80364604 00361564 48 00 03 49 */ bl __ct__17CDSPStreamManagerFv +/* 80364608 00361568 7F E3 FB 78 */ mr r3, r31 +/* 8036460C 0036156C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80364610 00361570 48 00 00 D5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364614 00361574 28 1E 00 00 */ cmplwi r30, 0 +/* 80364618 00361578 41 82 00 0C */ beq lbl_80364624 +/* 8036461C 0036157C 7F C3 F3 78 */ mr r3, r30 +/* 80364620 00361580 4B FD 94 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364624: +/* 80364624 00361584 3B BD 00 01 */ addi r29, r29, 1 +/* 80364628 00361588 3B FF 00 C0 */ addi r31, r31, 0xc0 +/* 8036462C 0036158C 2C 1D 00 04 */ cmpwi r29, 4 +/* 80364630 00361590 41 80 FF CC */ blt lbl_803645FC +/* 80364634 00361594 81 41 00 00 */ lwz r10, 0(r1) +/* 80364638 00361598 80 0A 00 04 */ lwz r0, 4(r10) +/* 8036463C 0036159C 83 EA FF FC */ lwz r31, -4(r10) +/* 80364640 003615A0 83 CA FF F8 */ lwz r30, -8(r10) +/* 80364644 003615A4 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 80364648 003615A8 7C 08 03 A6 */ mtlr r0 +/* 8036464C 003615AC 7D 41 53 78 */ mr r1, r10 +/* 80364650 003615B0 4E 80 00 20 */ blr + +.global Initialize__17CDSPStreamManagerFv +Initialize__17CDSPStreamManagerFv: +/* 80364654 003615B4 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 80364658 003615B8 7C 2C 0B 78 */ mr r12, r1 +/* 8036465C 003615BC 21 6B FF 00 */ subfic r11, r11, -256 +/* 80364660 003615C0 7C 21 59 6E */ stwux r1, r1, r11 +/* 80364664 003615C4 7C 08 02 A6 */ mflr r0 +/* 80364668 003615C8 90 0C 00 04 */ stw r0, 4(r12) +/* 8036466C 003615CC 93 EC FF FC */ stw r31, -4(r12) +/* 80364670 003615D0 93 CC FF F8 */ stw r30, -8(r12) +/* 80364674 003615D4 93 AC FF F4 */ stw r29, -0xc(r12) +/* 80364678 003615D8 48 00 68 B1 */ bl Initialize__10SDSPStreamFv +/* 8036467C 003615DC 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364680 003615E0 3B C1 00 80 */ addi r30, r1, 0x80 +/* 80364684 003615E4 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l +/* 80364688 003615E8 3B A0 00 00 */ li r29, 0 +lbl_8036468C: +/* 8036468C 003615EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80364690 003615F0 38 80 00 00 */ li r4, 0 +/* 80364694 003615F4 48 00 02 B9 */ bl __ct__17CDSPStreamManagerFv +/* 80364698 003615F8 7F E3 FB 78 */ mr r3, r31 +/* 8036469C 003615FC 38 81 00 20 */ addi r4, r1, 0x20 +/* 803646A0 00361600 48 00 00 45 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803646A4 00361604 28 1E 00 00 */ cmplwi r30, 0 +/* 803646A8 00361608 41 82 00 0C */ beq lbl_803646B4 +/* 803646AC 0036160C 7F C3 F3 78 */ mr r3, r30 +/* 803646B0 00361610 4B FD 94 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803646B4: +/* 803646B4 00361614 3B BD 00 01 */ addi r29, r29, 1 +/* 803646B8 00361618 3B FF 00 C0 */ addi r31, r31, 0xc0 +/* 803646BC 0036161C 2C 1D 00 04 */ cmpwi r29, 4 +/* 803646C0 00361620 41 80 FF CC */ blt lbl_8036468C +/* 803646C4 00361624 81 41 00 00 */ lwz r10, 0(r1) +/* 803646C8 00361628 80 0A 00 04 */ lwz r0, 4(r10) +/* 803646CC 0036162C 83 EA FF FC */ lwz r31, -4(r10) +/* 803646D0 00361630 83 CA FF F8 */ lwz r30, -8(r10) +/* 803646D4 00361634 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 803646D8 00361638 7C 08 03 A6 */ mtlr r0 +/* 803646DC 0036163C 7D 41 53 78 */ mr r1, r10 +/* 803646E0 00361640 4E 80 00 20 */ blr + +.global __as__17CDSPStreamManagerFRC17CDSPStreamManager +__as__17CDSPStreamManagerFRC17CDSPStreamManager: +/* 803646E4 00361644 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803646E8 00361648 7C 08 02 A6 */ mflr r0 +/* 803646EC 0036164C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803646F0 00361650 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803646F4 00361654 7C 9F 23 78 */ mr r31, r4 +/* 803646F8 00361658 93 C1 00 08 */ stw r30, 8(r1) +/* 803646FC 0036165C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80364700 00361660 41 82 00 14 */ beq lbl_80364714 +/* 80364704 00361664 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 80364708 00361668 41 82 00 0C */ beq lbl_80364714 +/* 8036470C 0036166C 38 7E 00 60 */ addi r3, r30, 0x60 +/* 80364710 00361670 4B FD 93 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364714: +/* 80364714 00361674 28 1E 00 00 */ cmplwi r30, 0 +/* 80364718 00361678 41 82 00 E4 */ beq lbl_803647FC +/* 8036471C 0036167C 38 00 00 0C */ li r0, 0xc +/* 80364720 00361680 38 BE FF FC */ addi r5, r30, -4 +/* 80364724 00361684 38 9F FF FC */ addi r4, r31, -4 +/* 80364728 00361688 7C 09 03 A6 */ mtctr r0 +lbl_8036472C: +/* 8036472C 0036168C 80 64 00 04 */ lwz r3, 4(r4) +/* 80364730 00361690 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364734 00361694 90 65 00 04 */ stw r3, 4(r5) +/* 80364738 00361698 94 05 00 08 */ stwu r0, 8(r5) +/* 8036473C 0036169C 42 00 FF F0 */ bdnz lbl_8036472C +/* 80364740 003616A0 38 7E 00 60 */ addi r3, r30, 0x60 +/* 80364744 003616A4 38 9F 00 60 */ addi r4, r31, 0x60 +/* 80364748 003616A8 4B FD 9A 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036474C 003616AC 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80364750 003616B0 98 1E 00 70 */ stb r0, 0x70(r30) +/* 80364754 003616B4 88 1F 00 71 */ lbz r0, 0x71(r31) +/* 80364758 003616B8 98 1E 00 71 */ stb r0, 0x71(r30) +/* 8036475C 003616BC 88 1F 00 72 */ lbz r0, 0x72(r31) +/* 80364760 003616C0 98 1E 00 72 */ stb r0, 0x72(r30) +/* 80364764 003616C4 88 1F 00 73 */ lbz r0, 0x73(r31) +/* 80364768 003616C8 98 1E 00 73 */ stb r0, 0x73(r30) +/* 8036476C 003616CC 88 1F 00 74 */ lbz r0, 0x74(r31) +/* 80364770 003616D0 98 1E 00 74 */ stb r0, 0x74(r30) +/* 80364774 003616D4 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 80364778 003616D8 90 1E 00 78 */ stw r0, 0x78(r30) +/* 8036477C 003616DC 80 1F 00 7C */ lwz r0, 0x7c(r31) +/* 80364780 003616E0 90 1E 00 7C */ stw r0, 0x7c(r30) +/* 80364784 003616E4 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80364788 003616E8 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8036478C 003616EC 90 7E 00 80 */ stw r3, 0x80(r30) +/* 80364790 003616F0 90 1E 00 84 */ stw r0, 0x84(r30) +/* 80364794 003616F4 80 7F 00 88 */ lwz r3, 0x88(r31) +/* 80364798 003616F8 80 1F 00 8C */ lwz r0, 0x8c(r31) +/* 8036479C 003616FC 90 7E 00 88 */ stw r3, 0x88(r30) +/* 803647A0 00361700 90 1E 00 8C */ stw r0, 0x8c(r30) +/* 803647A4 00361704 80 7F 00 90 */ lwz r3, 0x90(r31) +/* 803647A8 00361708 80 1F 00 94 */ lwz r0, 0x94(r31) +/* 803647AC 0036170C 90 7E 00 90 */ stw r3, 0x90(r30) +/* 803647B0 00361710 90 1E 00 94 */ stw r0, 0x94(r30) +/* 803647B4 00361714 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 803647B8 00361718 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 803647BC 0036171C 90 7E 00 98 */ stw r3, 0x98(r30) +/* 803647C0 00361720 90 1E 00 9C */ stw r0, 0x9c(r30) +/* 803647C4 00361724 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 803647C8 00361728 80 1F 00 A4 */ lwz r0, 0xa4(r31) +/* 803647CC 0036172C 90 7E 00 A0 */ stw r3, 0xa0(r30) +/* 803647D0 00361730 90 1E 00 A4 */ stw r0, 0xa4(r30) +/* 803647D4 00361734 80 7F 00 A8 */ lwz r3, 0xa8(r31) +/* 803647D8 00361738 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 803647DC 0036173C 90 7E 00 A8 */ stw r3, 0xa8(r30) +/* 803647E0 00361740 90 1E 00 AC */ stw r0, 0xac(r30) +/* 803647E4 00361744 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 803647E8 00361748 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 803647EC 0036174C 90 7E 00 B0 */ stw r3, 0xb0(r30) +/* 803647F0 00361750 90 1E 00 B4 */ stw r0, 0xb4(r30) +/* 803647F4 00361754 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 803647F8 00361758 90 1E 00 B8 */ stw r0, 0xb8(r30) +lbl_803647FC: +/* 803647FC 0036175C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80364800 00361760 7F C3 F3 78 */ mr r3, r30 +/* 80364804 00361764 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80364808 00361768 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036480C 0036176C 7C 08 03 A6 */ mtlr r0 +/* 80364810 00361770 38 21 00 10 */ addi r1, r1, 0x10 +/* 80364814 00361774 4E 80 00 20 */ blr + +.global WaitForReadCompletion__17CDSPStreamManagerFv +WaitForReadCompletion__17CDSPStreamManagerFv: +/* 80364818 00361778 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036481C 0036177C 7C 08 02 A6 */ mflr r0 +/* 80364820 00361780 90 01 00 14 */ stw r0, 0x14(r1) +/* 80364824 00361784 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80364828 00361788 93 C1 00 08 */ stw r30, 8(r1) +/* 8036482C 0036178C 7C 7E 1B 78 */ mr r30, r3 +/* 80364830 00361790 48 01 CE 45 */ bl OSEnableInterrupts +/* 80364834 00361794 7C 7F 1B 78 */ mr r31, r3 +/* 80364838 00361798 48 00 00 08 */ b lbl_80364840 +lbl_8036483C: +/* 8036483C 0036179C 48 02 02 E1 */ bl OSYieldThread +lbl_80364840: +/* 80364840 003617A0 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 80364844 003617A4 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 80364848 003617A8 28 00 00 01 */ cmplwi r0, 1 +/* 8036484C 003617AC 41 82 FF F0 */ beq lbl_8036483C +/* 80364850 003617B0 7F E3 FB 78 */ mr r3, r31 +/* 80364854 003617B4 48 01 CE 35 */ bl OSRestoreInterrupts +/* 80364858 003617B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036485C 003617BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80364860 003617C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80364864 003617C4 7C 08 03 A6 */ mtlr r0 +/* 80364868 003617C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036486C 003617CC 4E 80 00 20 */ blr + +.global sub_80364870 +sub_80364870: +/* 80364870 003617D0 80 03 00 08 */ lwz r0, 8(r3) +/* 80364874 003617D4 20 00 7D 00 */ subfic r0, r0, 0x7d00 +/* 80364878 003617D8 7C 00 00 34 */ cntlzw r0, r0 +/* 8036487C 003617DC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80364880 003617E0 4E 80 00 20 */ blr + +.global StartHeaderRead__17CDSPStreamManagerF11DVDCallback +StartHeaderRead__17CDSPStreamManagerF11DVDCallback: +/* 80364884 003617E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80364888 003617E8 7C 08 02 A6 */ mflr r0 +/* 8036488C 003617EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80364890 003617F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80364894 003617F4 7C 9F 23 78 */ mr r31, r4 +/* 80364898 003617F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036489C 003617FC 7C 7E 1B 78 */ mr r30, r3 +/* 803648A0 00361800 48 01 CD C1 */ bl OSDisableInterrupts +/* 803648A4 00361804 7C 03 00 D0 */ neg r0, r3 +/* 803648A8 00361808 88 9E 00 70 */ lbz r4, 0x70(r30) +/* 803648AC 0036180C 7C 03 1B 78 */ or r3, r0, r3 +/* 803648B0 00361810 54 63 0F FE */ srwi r3, r3, 0x1f +/* 803648B4 00361814 54 80 E7 BF */ rlwinm. r0, r4, 0x1c, 0x1e, 0x1f +/* 803648B8 00361818 98 61 00 08 */ stb r3, 8(r1) +/* 803648BC 0036181C 40 82 00 0C */ bne lbl_803648C8 +/* 803648C0 00361820 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 803648C4 00361824 41 82 00 14 */ beq lbl_803648D8 +lbl_803648C8: +/* 803648C8 00361828 88 61 00 08 */ lbz r3, 8(r1) +/* 803648CC 0036182C 48 01 CD BD */ bl OSRestoreInterrupts +/* 803648D0 00361830 38 60 00 00 */ li r3, 0 +/* 803648D4 00361834 48 00 00 60 */ b lbl_80364934 +lbl_803648D8: +/* 803648D8 00361838 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 803648DC 0036183C 38 9E 00 80 */ addi r4, r30, 0x80 +/* 803648E0 00361840 48 00 CD A5 */ bl DVDOpen +/* 803648E4 00361844 2C 03 00 00 */ cmpwi r3, 0 +/* 803648E8 00361848 40 82 00 14 */ bne lbl_803648FC +/* 803648EC 0036184C 88 61 00 08 */ lbz r3, 8(r1) +/* 803648F0 00361850 48 01 CD 99 */ bl OSRestoreInterrupts +/* 803648F4 00361854 38 60 00 00 */ li r3, 0 +/* 803648F8 00361858 48 00 00 3C */ b lbl_80364934 +lbl_803648FC: +/* 803648FC 0036185C 7F C4 F3 78 */ mr r4, r30 +/* 80364900 00361860 7F E7 FB 78 */ mr r7, r31 +/* 80364904 00361864 38 7E 00 80 */ addi r3, r30, 0x80 +/* 80364908 00361868 38 A0 00 60 */ li r5, 0x60 +/* 8036490C 0036186C 38 C0 00 00 */ li r6, 0 +/* 80364910 00361870 39 00 00 01 */ li r8, 1 +/* 80364914 00361874 48 00 D0 81 */ bl DVDReadAsyncPrio +/* 80364918 00361878 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 8036491C 0036187C 38 60 00 01 */ li r3, 1 +/* 80364920 00361880 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b +/* 80364924 00361884 88 61 00 08 */ lbz r3, 8(r1) +/* 80364928 00361888 98 1E 00 70 */ stb r0, 0x70(r30) +/* 8036492C 0036188C 48 01 CD 5D */ bl OSRestoreInterrupts +/* 80364930 00361890 38 60 00 01 */ li r3, 1 +lbl_80364934: +/* 80364934 00361894 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80364938 00361898 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036493C 0036189C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80364940 003618A0 7C 08 03 A6 */ mtlr r0 +/* 80364944 003618A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80364948 003618A8 4E 80 00 20 */ blr + +.global __ct__17CDSPStreamManagerFv +__ct__17CDSPStreamManagerFv: +/* 8036494C 003618AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80364950 003618B0 7C 08 02 A6 */ mflr r0 +/* 80364954 003618B4 3C 80 80 3E */ lis r4, lbl_803D8400@ha +/* 80364958 003618B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036495C 003618BC 38 84 84 00 */ addi r4, r4, lbl_803D8400@l +/* 80364960 003618C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80364964 003618C4 7C 7F 1B 78 */ mr r31, r3 +/* 80364968 003618C8 38 61 00 08 */ addi r3, r1, 8 +/* 8036496C 003618CC 4B CA 03 4D */ bl string_l__4rstlFPCc +/* 80364970 003618D0 38 7F 00 60 */ addi r3, r31, 0x60 +/* 80364974 003618D4 38 81 00 08 */ addi r4, r1, 8 +/* 80364978 003618D8 4B FD 97 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036497C 003618DC 38 61 00 08 */ addi r3, r1, 8 +/* 80364980 003618E0 4B FD 91 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364984 003618E4 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80364988 003618E8 38 60 00 01 */ li r3, 1 +/* 8036498C 003618EC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80364990 003618F0 38 A0 00 00 */ li r5, 0 +/* 80364994 003618F4 98 1F 00 70 */ stb r0, 0x70(r31) +/* 80364998 003618F8 38 00 FF FF */ li r0, -1 +/* 8036499C 003618FC 7F E3 FB 78 */ mr r3, r31 +/* 803649A0 00361900 88 9F 00 70 */ lbz r4, 0x70(r31) +/* 803649A4 00361904 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 +/* 803649A8 00361908 98 9F 00 70 */ stb r4, 0x70(r31) +/* 803649AC 0036190C 88 9F 00 70 */ lbz r4, 0x70(r31) +/* 803649B0 00361910 50 A4 26 B6 */ rlwimi r4, r5, 4, 0x1a, 0x1b +/* 803649B4 00361914 98 9F 00 70 */ stb r4, 0x70(r31) +/* 803649B8 00361918 98 1F 00 71 */ stb r0, 0x71(r31) +/* 803649BC 0036191C 98 1F 00 72 */ stb r0, 0x72(r31) +/* 803649C0 00361920 98 BF 00 73 */ stb r5, 0x73(r31) +/* 803649C4 00361924 90 1F 00 78 */ stw r0, 0x78(r31) +/* 803649C8 00361928 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 803649CC 0036192C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803649D0 00361930 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803649D4 00361934 7C 08 03 A6 */ mtlr r0 +/* 803649D8 00361938 38 21 00 20 */ addi r1, r1, 0x20 +/* 803649DC 0036193C 4E 80 00 20 */ blr + +.global __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +__ct__17CDSPStreamManagerFRCQ24rstl6stringicc: +/* 803649E0 00361940 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803649E4 00361944 7C 08 02 A6 */ mflr r0 +/* 803649E8 00361948 90 01 00 24 */ stw r0, 0x24(r1) +/* 803649EC 0036194C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803649F0 00361950 7C 7B 1B 78 */ mr r27, r3 +/* 803649F4 00361954 7C 9C 23 78 */ mr r28, r4 +/* 803649F8 00361958 7C BD 2B 78 */ mr r29, r5 +/* 803649FC 0036195C 7C DE 33 78 */ mr r30, r6 +/* 80364A00 00361960 7C FF 3B 78 */ mr r31, r7 +/* 80364A04 00361964 38 7B 00 60 */ addi r3, r27, 0x60 +/* 80364A08 00361968 4B FD 97 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364A0C 0036196C 88 7B 00 70 */ lbz r3, 0x70(r27) +/* 80364A10 00361970 38 80 00 00 */ li r4, 0 +/* 80364A14 00361974 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80364A18 00361978 38 00 FF FF */ li r0, -1 +/* 80364A1C 0036197C 98 7B 00 70 */ stb r3, 0x70(r27) +/* 80364A20 00361980 88 7B 00 70 */ lbz r3, 0x70(r27) +/* 80364A24 00361984 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80364A28 00361988 98 7B 00 70 */ stb r3, 0x70(r27) +/* 80364A2C 0036198C 88 7B 00 70 */ lbz r3, 0x70(r27) +/* 80364A30 00361990 50 83 26 B6 */ rlwimi r3, r4, 4, 0x1a, 0x1b +/* 80364A34 00361994 98 7B 00 70 */ stb r3, 0x70(r27) +/* 80364A38 00361998 98 1B 00 71 */ stb r0, 0x71(r27) +/* 80364A3C 0036199C 98 1B 00 72 */ stb r0, 0x72(r27) +/* 80364A40 003619A0 9B DB 00 73 */ stb r30, 0x73(r27) +/* 80364A44 003619A4 9B FB 00 74 */ stb r31, 0x74(r27) +/* 80364A48 003619A8 93 BB 00 78 */ stw r29, 0x78(r27) +/* 80364A4C 003619AC 90 1B 00 7C */ stw r0, 0x7c(r27) +/* 80364A50 003619B0 80 7C 00 00 */ lwz r3, 0(r28) +/* 80364A54 003619B4 4B FE AE F9 */ bl FileExists__8CDvdFileFPCc +/* 80364A58 003619B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80364A5C 003619BC 40 82 00 1C */ bne lbl_80364A78 +/* 80364A60 003619C0 88 1B 00 70 */ lbz r0, 0x70(r27) +/* 80364A64 003619C4 38 60 00 01 */ li r3, 1 +/* 80364A68 003619C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80364A6C 003619CC 7F 63 DB 78 */ mr r3, r27 +/* 80364A70 003619D0 98 1B 00 70 */ stb r0, 0x70(r27) +/* 80364A74 003619D4 48 00 00 08 */ b lbl_80364A7C +lbl_80364A78: +/* 80364A78 003619D8 7F 63 DB 78 */ mr r3, r27 +lbl_80364A7C: +/* 80364A7C 003619DC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80364A80 003619E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80364A84 003619E4 7C 08 03 A6 */ mtlr r0 +/* 80364A88 003619E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80364A8C 003619EC 4E 80 00 20 */ blr + +.global __sinit_CDSPStreamManager_cpp +__sinit_CDSPStreamManager_cpp: +/* 80364A90 003619F0 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 80364A94 003619F4 7C 2C 0B 78 */ mr r12, r1 +/* 80364A98 003619F8 21 6B FC 80 */ subfic r11, r11, -896 +/* 80364A9C 003619FC 7C 21 59 6E */ stwux r1, r1, r11 +/* 80364AA0 00361A00 7C 08 02 A6 */ mflr r0 +/* 80364AA4 00361A04 3C 80 80 54 */ lis r4, lbl_80540520@ha +/* 80364AA8 00361A08 90 0C 00 04 */ stw r0, 4(r12) +/* 80364AAC 00361A0C 38 61 02 60 */ addi r3, r1, 0x260 +/* 80364AB0 00361A10 BD EC FF BC */ stmw r15, -0x44(r12) +/* 80364AB4 00361A14 3B E4 05 20 */ addi r31, r4, lbl_80540520@l +/* 80364AB8 00361A18 38 80 00 00 */ li r4, 0 +/* 80364ABC 00361A1C 4B FF FE 91 */ bl __ct__17CDSPStreamManagerFv +/* 80364AC0 00361A20 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364AC4 00361A24 38 00 00 0C */ li r0, 0xc +/* 80364AC8 00361A28 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364ACC 00361A2C 38 81 02 5C */ addi r4, r1, 0x25c +/* 80364AD0 00361A30 38 A3 FF FC */ addi r5, r3, -4 +/* 80364AD4 00361A34 7C 09 03 A6 */ mtctr r0 +lbl_80364AD8: +/* 80364AD8 00361A38 80 64 00 04 */ lwz r3, 4(r4) +/* 80364ADC 00361A3C 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364AE0 00361A40 90 65 00 04 */ stw r3, 4(r5) +/* 80364AE4 00361A44 94 05 00 08 */ stwu r0, 8(r5) +/* 80364AE8 00361A48 42 00 FF F0 */ bdnz lbl_80364AD8 +/* 80364AEC 00361A4C 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364AF0 00361A50 3B C1 02 C0 */ addi r30, r1, 0x2c0 +/* 80364AF4 00361A54 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364AF8 00361A58 7F C4 F3 78 */ mr r4, r30 +/* 80364AFC 00361A5C 38 63 00 60 */ addi r3, r3, 0x60 +/* 80364B00 00361A60 4B FD 96 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364B04 00361A64 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364B08 00361A68 89 41 02 D0 */ lbz r10, 0x2d0(r1) +/* 80364B0C 00361A6C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364B10 00361A70 89 21 02 D1 */ lbz r9, 0x2d1(r1) +/* 80364B14 00361A74 89 01 02 D2 */ lbz r8, 0x2d2(r1) +/* 80364B18 00361A78 3C 80 80 36 */ lis r4, sub_8036372c@ha +/* 80364B1C 00361A7C 88 E1 02 D3 */ lbz r7, 0x2d3(r1) +/* 80364B20 00361A80 38 84 37 2C */ addi r4, r4, sub_8036372c@l +/* 80364B24 00361A84 88 C1 02 D4 */ lbz r6, 0x2d4(r1) +/* 80364B28 00361A88 38 BF 00 00 */ addi r5, r31, 0 +/* 80364B2C 00361A8C 80 01 02 D8 */ lwz r0, 0x2d8(r1) +/* 80364B30 00361A90 83 81 02 DC */ lwz r28, 0x2dc(r1) +/* 80364B34 00361A94 83 61 02 E0 */ lwz r27, 0x2e0(r1) +/* 80364B38 00361A98 83 41 02 E4 */ lwz r26, 0x2e4(r1) +/* 80364B3C 00361A9C 83 21 02 E8 */ lwz r25, 0x2e8(r1) +/* 80364B40 00361AA0 83 01 02 EC */ lwz r24, 0x2ec(r1) +/* 80364B44 00361AA4 82 E1 02 F0 */ lwz r23, 0x2f0(r1) +/* 80364B48 00361AA8 82 C1 02 F4 */ lwz r22, 0x2f4(r1) +/* 80364B4C 00361AAC 82 A1 02 F8 */ lwz r21, 0x2f8(r1) +/* 80364B50 00361AB0 82 81 02 FC */ lwz r20, 0x2fc(r1) +/* 80364B54 00361AB4 82 61 03 00 */ lwz r19, 0x300(r1) +/* 80364B58 00361AB8 82 41 03 04 */ lwz r18, 0x304(r1) +/* 80364B5C 00361ABC 82 21 03 08 */ lwz r17, 0x308(r1) +/* 80364B60 00361AC0 82 01 03 0C */ lwz r16, 0x30c(r1) +/* 80364B64 00361AC4 81 E1 03 10 */ lwz r15, 0x310(r1) +/* 80364B68 00361AC8 81 81 03 14 */ lwz r12, 0x314(r1) +/* 80364B6C 00361ACC 81 61 03 18 */ lwz r11, 0x318(r1) +/* 80364B70 00361AD0 99 43 00 70 */ stb r10, 0x70(r3) +/* 80364B74 00361AD4 99 23 00 71 */ stb r9, 0x71(r3) +/* 80364B78 00361AD8 99 03 00 72 */ stb r8, 0x72(r3) +/* 80364B7C 00361ADC 98 E3 00 73 */ stb r7, 0x73(r3) +/* 80364B80 00361AE0 98 C3 00 74 */ stb r6, 0x74(r3) +/* 80364B84 00361AE4 90 03 00 78 */ stw r0, 0x78(r3) +/* 80364B88 00361AE8 93 83 00 7C */ stw r28, 0x7c(r3) +/* 80364B8C 00361AEC 93 63 00 80 */ stw r27, 0x80(r3) +/* 80364B90 00361AF0 93 43 00 84 */ stw r26, 0x84(r3) +/* 80364B94 00361AF4 93 23 00 88 */ stw r25, 0x88(r3) +/* 80364B98 00361AF8 93 03 00 8C */ stw r24, 0x8c(r3) +/* 80364B9C 00361AFC 92 E3 00 90 */ stw r23, 0x90(r3) +/* 80364BA0 00361B00 92 C3 00 94 */ stw r22, 0x94(r3) +/* 80364BA4 00361B04 92 A3 00 98 */ stw r21, 0x98(r3) +/* 80364BA8 00361B08 92 83 00 9C */ stw r20, 0x9c(r3) +/* 80364BAC 00361B0C 92 63 00 A0 */ stw r19, 0xa0(r3) +/* 80364BB0 00361B10 92 43 00 A4 */ stw r18, 0xa4(r3) +/* 80364BB4 00361B14 92 23 00 A8 */ stw r17, 0xa8(r3) +/* 80364BB8 00361B18 92 03 00 AC */ stw r16, 0xac(r3) +/* 80364BBC 00361B1C 91 E3 00 B0 */ stw r15, 0xb0(r3) +/* 80364BC0 00361B20 91 83 00 B4 */ stw r12, 0xb4(r3) +/* 80364BC4 00361B24 91 63 00 B8 */ stw r11, 0xb8(r3) +/* 80364BC8 00361B28 48 02 4A C5 */ bl __register_global_object +/* 80364BCC 00361B2C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364BD0 00361B30 41 82 00 0C */ beq lbl_80364BDC +/* 80364BD4 00361B34 7F C3 F3 78 */ mr r3, r30 +/* 80364BD8 00361B38 4B FD 8F 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364BDC: +/* 80364BDC 00361B3C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80364BE0 00361B40 38 80 00 00 */ li r4, 0 +/* 80364BE4 00361B44 4B FF FD 69 */ bl __ct__17CDSPStreamManagerFv +/* 80364BE8 00361B48 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364BEC 00361B4C 38 00 00 0C */ li r0, 0xc +/* 80364BF0 00361B50 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364BF4 00361B54 38 81 01 9C */ addi r4, r1, 0x19c +/* 80364BF8 00361B58 3B A3 00 C0 */ addi r29, r3, 0xc0 +/* 80364BFC 00361B5C 38 BD FF FC */ addi r5, r29, -4 +/* 80364C00 00361B60 7C 09 03 A6 */ mtctr r0 +lbl_80364C04: +/* 80364C04 00361B64 80 64 00 04 */ lwz r3, 4(r4) +/* 80364C08 00361B68 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364C0C 00361B6C 90 65 00 04 */ stw r3, 4(r5) +/* 80364C10 00361B70 94 05 00 08 */ stwu r0, 8(r5) +/* 80364C14 00361B74 42 00 FF F0 */ bdnz lbl_80364C04 +/* 80364C18 00361B78 3B C1 02 00 */ addi r30, r1, 0x200 +/* 80364C1C 00361B7C 38 7D 00 60 */ addi r3, r29, 0x60 +/* 80364C20 00361B80 7F C4 F3 78 */ mr r4, r30 +/* 80364C24 00361B84 4B FD 95 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364C28 00361B88 89 01 02 10 */ lbz r8, 0x210(r1) +/* 80364C2C 00361B8C 3C 60 80 36 */ lis r3, sub_8036372c@ha +/* 80364C30 00361B90 88 E1 02 11 */ lbz r7, 0x211(r1) +/* 80364C34 00361B94 38 83 37 2C */ addi r4, r3, sub_8036372c@l +/* 80364C38 00361B98 88 C1 02 12 */ lbz r6, 0x212(r1) +/* 80364C3C 00361B9C 7F A3 EB 78 */ mr r3, r29 +/* 80364C40 00361BA0 88 01 02 13 */ lbz r0, 0x213(r1) +/* 80364C44 00361BA4 38 BF 00 0C */ addi r5, r31, 0xc +/* 80364C48 00361BA8 8B 81 02 14 */ lbz r28, 0x214(r1) +/* 80364C4C 00361BAC 83 61 02 18 */ lwz r27, 0x218(r1) +/* 80364C50 00361BB0 83 41 02 1C */ lwz r26, 0x21c(r1) +/* 80364C54 00361BB4 83 21 02 20 */ lwz r25, 0x220(r1) +/* 80364C58 00361BB8 83 01 02 24 */ lwz r24, 0x224(r1) +/* 80364C5C 00361BBC 82 E1 02 28 */ lwz r23, 0x228(r1) +/* 80364C60 00361BC0 82 C1 02 2C */ lwz r22, 0x22c(r1) +/* 80364C64 00361BC4 82 A1 02 30 */ lwz r21, 0x230(r1) +/* 80364C68 00361BC8 82 81 02 34 */ lwz r20, 0x234(r1) +/* 80364C6C 00361BCC 82 61 02 38 */ lwz r19, 0x238(r1) +/* 80364C70 00361BD0 82 41 02 3C */ lwz r18, 0x23c(r1) +/* 80364C74 00361BD4 82 21 02 40 */ lwz r17, 0x240(r1) +/* 80364C78 00361BD8 82 01 02 44 */ lwz r16, 0x244(r1) +/* 80364C7C 00361BDC 81 E1 02 48 */ lwz r15, 0x248(r1) +/* 80364C80 00361BE0 81 81 02 4C */ lwz r12, 0x24c(r1) +/* 80364C84 00361BE4 81 61 02 50 */ lwz r11, 0x250(r1) +/* 80364C88 00361BE8 81 41 02 54 */ lwz r10, 0x254(r1) +/* 80364C8C 00361BEC 81 21 02 58 */ lwz r9, 0x258(r1) +/* 80364C90 00361BF0 99 1D 00 70 */ stb r8, 0x70(r29) +/* 80364C94 00361BF4 98 FD 00 71 */ stb r7, 0x71(r29) +/* 80364C98 00361BF8 98 DD 00 72 */ stb r6, 0x72(r29) +/* 80364C9C 00361BFC 98 1D 00 73 */ stb r0, 0x73(r29) +/* 80364CA0 00361C00 9B 9D 00 74 */ stb r28, 0x74(r29) +/* 80364CA4 00361C04 93 7D 00 78 */ stw r27, 0x78(r29) +/* 80364CA8 00361C08 93 5D 00 7C */ stw r26, 0x7c(r29) +/* 80364CAC 00361C0C 93 3D 00 80 */ stw r25, 0x80(r29) +/* 80364CB0 00361C10 93 1D 00 84 */ stw r24, 0x84(r29) +/* 80364CB4 00361C14 92 FD 00 88 */ stw r23, 0x88(r29) +/* 80364CB8 00361C18 92 DD 00 8C */ stw r22, 0x8c(r29) +/* 80364CBC 00361C1C 92 BD 00 90 */ stw r21, 0x90(r29) +/* 80364CC0 00361C20 92 9D 00 94 */ stw r20, 0x94(r29) +/* 80364CC4 00361C24 92 7D 00 98 */ stw r19, 0x98(r29) +/* 80364CC8 00361C28 92 5D 00 9C */ stw r18, 0x9c(r29) +/* 80364CCC 00361C2C 92 3D 00 A0 */ stw r17, 0xa0(r29) +/* 80364CD0 00361C30 92 1D 00 A4 */ stw r16, 0xa4(r29) +/* 80364CD4 00361C34 91 FD 00 A8 */ stw r15, 0xa8(r29) +/* 80364CD8 00361C38 91 9D 00 AC */ stw r12, 0xac(r29) +/* 80364CDC 00361C3C 91 7D 00 B0 */ stw r11, 0xb0(r29) +/* 80364CE0 00361C40 91 5D 00 B4 */ stw r10, 0xb4(r29) +/* 80364CE4 00361C44 91 3D 00 B8 */ stw r9, 0xb8(r29) +/* 80364CE8 00361C48 48 02 49 A5 */ bl __register_global_object +/* 80364CEC 00361C4C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364CF0 00361C50 41 82 00 0C */ beq lbl_80364CFC +/* 80364CF4 00361C54 7F C3 F3 78 */ mr r3, r30 +/* 80364CF8 00361C58 4B FD 8D E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364CFC: +/* 80364CFC 00361C5C 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80364D00 00361C60 38 80 00 00 */ li r4, 0 +/* 80364D04 00361C64 4B FF FC 49 */ bl __ct__17CDSPStreamManagerFv +/* 80364D08 00361C68 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364D0C 00361C6C 38 00 00 0C */ li r0, 0xc +/* 80364D10 00361C70 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364D14 00361C74 38 81 00 DC */ addi r4, r1, 0xdc +/* 80364D18 00361C78 3B A3 01 80 */ addi r29, r3, 0x180 +/* 80364D1C 00361C7C 38 BD FF FC */ addi r5, r29, -4 +/* 80364D20 00361C80 7C 09 03 A6 */ mtctr r0 +lbl_80364D24: +/* 80364D24 00361C84 80 64 00 04 */ lwz r3, 4(r4) +/* 80364D28 00361C88 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364D2C 00361C8C 90 65 00 04 */ stw r3, 4(r5) +/* 80364D30 00361C90 94 05 00 08 */ stwu r0, 8(r5) +/* 80364D34 00361C94 42 00 FF F0 */ bdnz lbl_80364D24 +/* 80364D38 00361C98 3B C1 01 40 */ addi r30, r1, 0x140 +/* 80364D3C 00361C9C 38 7D 00 60 */ addi r3, r29, 0x60 +/* 80364D40 00361CA0 7F C4 F3 78 */ mr r4, r30 +/* 80364D44 00361CA4 4B FD 94 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364D48 00361CA8 89 01 01 50 */ lbz r8, 0x150(r1) +/* 80364D4C 00361CAC 3C 60 80 36 */ lis r3, sub_8036372c@ha +/* 80364D50 00361CB0 88 E1 01 51 */ lbz r7, 0x151(r1) +/* 80364D54 00361CB4 38 83 37 2C */ addi r4, r3, sub_8036372c@l +/* 80364D58 00361CB8 88 C1 01 52 */ lbz r6, 0x152(r1) +/* 80364D5C 00361CBC 7F A3 EB 78 */ mr r3, r29 +/* 80364D60 00361CC0 88 01 01 53 */ lbz r0, 0x153(r1) +/* 80364D64 00361CC4 38 BF 00 18 */ addi r5, r31, 0x18 +/* 80364D68 00361CC8 89 E1 01 54 */ lbz r15, 0x154(r1) +/* 80364D6C 00361CCC 83 81 01 58 */ lwz r28, 0x158(r1) +/* 80364D70 00361CD0 83 61 01 5C */ lwz r27, 0x15c(r1) +/* 80364D74 00361CD4 83 41 01 60 */ lwz r26, 0x160(r1) +/* 80364D78 00361CD8 83 21 01 64 */ lwz r25, 0x164(r1) +/* 80364D7C 00361CDC 83 01 01 68 */ lwz r24, 0x168(r1) +/* 80364D80 00361CE0 82 E1 01 6C */ lwz r23, 0x16c(r1) +/* 80364D84 00361CE4 82 C1 01 70 */ lwz r22, 0x170(r1) +/* 80364D88 00361CE8 82 A1 01 74 */ lwz r21, 0x174(r1) +/* 80364D8C 00361CEC 82 81 01 78 */ lwz r20, 0x178(r1) +/* 80364D90 00361CF0 82 61 01 7C */ lwz r19, 0x17c(r1) +/* 80364D94 00361CF4 82 41 01 80 */ lwz r18, 0x180(r1) +/* 80364D98 00361CF8 82 21 01 84 */ lwz r17, 0x184(r1) +/* 80364D9C 00361CFC 82 01 01 88 */ lwz r16, 0x188(r1) +/* 80364DA0 00361D00 81 81 01 8C */ lwz r12, 0x18c(r1) +/* 80364DA4 00361D04 81 61 01 90 */ lwz r11, 0x190(r1) +/* 80364DA8 00361D08 81 41 01 94 */ lwz r10, 0x194(r1) +/* 80364DAC 00361D0C 81 21 01 98 */ lwz r9, 0x198(r1) +/* 80364DB0 00361D10 99 1D 00 70 */ stb r8, 0x70(r29) +/* 80364DB4 00361D14 98 FD 00 71 */ stb r7, 0x71(r29) +/* 80364DB8 00361D18 98 DD 00 72 */ stb r6, 0x72(r29) +/* 80364DBC 00361D1C 98 1D 00 73 */ stb r0, 0x73(r29) +/* 80364DC0 00361D20 99 FD 00 74 */ stb r15, 0x74(r29) +/* 80364DC4 00361D24 93 9D 00 78 */ stw r28, 0x78(r29) +/* 80364DC8 00361D28 93 7D 00 7C */ stw r27, 0x7c(r29) +/* 80364DCC 00361D2C 93 5D 00 80 */ stw r26, 0x80(r29) +/* 80364DD0 00361D30 93 3D 00 84 */ stw r25, 0x84(r29) +/* 80364DD4 00361D34 93 1D 00 88 */ stw r24, 0x88(r29) +/* 80364DD8 00361D38 92 FD 00 8C */ stw r23, 0x8c(r29) +/* 80364DDC 00361D3C 92 DD 00 90 */ stw r22, 0x90(r29) +/* 80364DE0 00361D40 92 BD 00 94 */ stw r21, 0x94(r29) +/* 80364DE4 00361D44 92 9D 00 98 */ stw r20, 0x98(r29) +/* 80364DE8 00361D48 92 7D 00 9C */ stw r19, 0x9c(r29) +/* 80364DEC 00361D4C 92 5D 00 A0 */ stw r18, 0xa0(r29) +/* 80364DF0 00361D50 92 3D 00 A4 */ stw r17, 0xa4(r29) +/* 80364DF4 00361D54 92 1D 00 A8 */ stw r16, 0xa8(r29) +/* 80364DF8 00361D58 91 9D 00 AC */ stw r12, 0xac(r29) +/* 80364DFC 00361D5C 91 7D 00 B0 */ stw r11, 0xb0(r29) +/* 80364E00 00361D60 91 5D 00 B4 */ stw r10, 0xb4(r29) +/* 80364E04 00361D64 91 3D 00 B8 */ stw r9, 0xb8(r29) +/* 80364E08 00361D68 48 02 48 85 */ bl __register_global_object +/* 80364E0C 00361D6C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364E10 00361D70 41 82 00 0C */ beq lbl_80364E1C +/* 80364E14 00361D74 7F C3 F3 78 */ mr r3, r30 +/* 80364E18 00361D78 4B FD 8C C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364E1C: +/* 80364E1C 00361D7C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80364E20 00361D80 38 80 00 00 */ li r4, 0 +/* 80364E24 00361D84 4B FF FB 29 */ bl __ct__17CDSPStreamManagerFv +/* 80364E28 00361D88 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364E2C 00361D8C 38 00 00 0C */ li r0, 0xc +/* 80364E30 00361D90 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364E34 00361D94 38 81 00 1C */ addi r4, r1, 0x1c +/* 80364E38 00361D98 3B A3 02 40 */ addi r29, r3, 0x240 +/* 80364E3C 00361D9C 38 BD FF FC */ addi r5, r29, -4 +/* 80364E40 00361DA0 7C 09 03 A6 */ mtctr r0 +lbl_80364E44: +/* 80364E44 00361DA4 80 64 00 04 */ lwz r3, 4(r4) +/* 80364E48 00361DA8 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364E4C 00361DAC 90 65 00 04 */ stw r3, 4(r5) +/* 80364E50 00361DB0 94 05 00 08 */ stwu r0, 8(r5) +/* 80364E54 00361DB4 42 00 FF F0 */ bdnz lbl_80364E44 +/* 80364E58 00361DB8 3B C1 00 80 */ addi r30, r1, 0x80 +/* 80364E5C 00361DBC 38 7D 00 60 */ addi r3, r29, 0x60 +/* 80364E60 00361DC0 7F C4 F3 78 */ mr r4, r30 +/* 80364E64 00361DC4 4B FD 92 FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364E68 00361DC8 89 01 00 90 */ lbz r8, 0x90(r1) +/* 80364E6C 00361DCC 38 BF 00 24 */ addi r5, r31, 0x24 +/* 80364E70 00361DD0 88 E1 00 91 */ lbz r7, 0x91(r1) +/* 80364E74 00361DD4 3C 60 80 36 */ lis r3, sub_8036372c@ha +/* 80364E78 00361DD8 88 C1 00 92 */ lbz r6, 0x92(r1) +/* 80364E7C 00361DDC 38 83 37 2C */ addi r4, r3, sub_8036372c@l +/* 80364E80 00361DE0 88 01 00 93 */ lbz r0, 0x93(r1) +/* 80364E84 00361DE4 7F A3 EB 78 */ mr r3, r29 +/* 80364E88 00361DE8 8A 01 00 94 */ lbz r16, 0x94(r1) +/* 80364E8C 00361DEC 82 21 00 98 */ lwz r17, 0x98(r1) +/* 80364E90 00361DF0 82 41 00 9C */ lwz r18, 0x9c(r1) +/* 80364E94 00361DF4 82 61 00 A0 */ lwz r19, 0xa0(r1) +/* 80364E98 00361DF8 82 81 00 A4 */ lwz r20, 0xa4(r1) +/* 80364E9C 00361DFC 82 A1 00 A8 */ lwz r21, 0xa8(r1) +/* 80364EA0 00361E00 82 C1 00 AC */ lwz r22, 0xac(r1) +/* 80364EA4 00361E04 82 E1 00 B0 */ lwz r23, 0xb0(r1) +/* 80364EA8 00361E08 83 01 00 B4 */ lwz r24, 0xb4(r1) +/* 80364EAC 00361E0C 83 21 00 B8 */ lwz r25, 0xb8(r1) +/* 80364EB0 00361E10 83 41 00 BC */ lwz r26, 0xbc(r1) +/* 80364EB4 00361E14 83 61 00 C0 */ lwz r27, 0xc0(r1) +/* 80364EB8 00361E18 83 81 00 C4 */ lwz r28, 0xc4(r1) +/* 80364EBC 00361E1C 83 E1 00 C8 */ lwz r31, 0xc8(r1) +/* 80364EC0 00361E20 81 81 00 CC */ lwz r12, 0xcc(r1) +/* 80364EC4 00361E24 81 61 00 D0 */ lwz r11, 0xd0(r1) +/* 80364EC8 00361E28 81 41 00 D4 */ lwz r10, 0xd4(r1) +/* 80364ECC 00361E2C 81 21 00 D8 */ lwz r9, 0xd8(r1) +/* 80364ED0 00361E30 99 1D 00 70 */ stb r8, 0x70(r29) +/* 80364ED4 00361E34 98 FD 00 71 */ stb r7, 0x71(r29) +/* 80364ED8 00361E38 98 DD 00 72 */ stb r6, 0x72(r29) +/* 80364EDC 00361E3C 98 1D 00 73 */ stb r0, 0x73(r29) +/* 80364EE0 00361E40 9A 1D 00 74 */ stb r16, 0x74(r29) +/* 80364EE4 00361E44 92 3D 00 78 */ stw r17, 0x78(r29) +/* 80364EE8 00361E48 92 5D 00 7C */ stw r18, 0x7c(r29) +/* 80364EEC 00361E4C 92 7D 00 80 */ stw r19, 0x80(r29) +/* 80364EF0 00361E50 92 9D 00 84 */ stw r20, 0x84(r29) +/* 80364EF4 00361E54 92 BD 00 88 */ stw r21, 0x88(r29) +/* 80364EF8 00361E58 92 DD 00 8C */ stw r22, 0x8c(r29) +/* 80364EFC 00361E5C 92 FD 00 90 */ stw r23, 0x90(r29) +/* 80364F00 00361E60 93 1D 00 94 */ stw r24, 0x94(r29) +/* 80364F04 00361E64 93 3D 00 98 */ stw r25, 0x98(r29) +/* 80364F08 00361E68 93 5D 00 9C */ stw r26, 0x9c(r29) +/* 80364F0C 00361E6C 93 7D 00 A0 */ stw r27, 0xa0(r29) +/* 80364F10 00361E70 93 9D 00 A4 */ stw r28, 0xa4(r29) +/* 80364F14 00361E74 93 FD 00 A8 */ stw r31, 0xa8(r29) +/* 80364F18 00361E78 91 9D 00 AC */ stw r12, 0xac(r29) +/* 80364F1C 00361E7C 91 7D 00 B0 */ stw r11, 0xb0(r29) +/* 80364F20 00361E80 91 5D 00 B4 */ stw r10, 0xb4(r29) +/* 80364F24 00361E84 91 3D 00 B8 */ stw r9, 0xb8(r29) +/* 80364F28 00361E88 48 02 47 65 */ bl __register_global_object +/* 80364F2C 00361E8C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364F30 00361E90 41 82 00 0C */ beq lbl_80364F3C +/* 80364F34 00361E94 7F C3 F3 78 */ mr r3, r30 +/* 80364F38 00361E98 4B FD 8B A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364F3C: +/* 80364F3C 00361E9C 81 41 00 00 */ lwz r10, 0(r1) +/* 80364F40 00361EA0 B9 EA FF BC */ lmw r15, -0x44(r10) +/* 80364F44 00361EA4 80 0A 00 04 */ lwz r0, 4(r10) +/* 80364F48 00361EA8 7C 08 03 A6 */ mtlr r0 +/* 80364F4C 00361EAC 7D 41 53 78 */ mr r1, r10 +/* 80364F50 00361EB0 4E 80 00 20 */ blr + +.global FDependencyGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FDependencyGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80364F54 00361EB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80364F58 00361EB8 7C 08 02 A6 */ mflr r0 +/* 80364F5C 00361EBC 3C 80 80 3E */ lis r4, lbl_803D8408@ha +/* 80364F60 00361EC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80364F64 00361EC4 38 84 84 08 */ addi r4, r4, lbl_803D8408@l +/* 80364F68 00361EC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80364F6C 00361ECC 7C BF 2B 78 */ mr r31, r5 +/* 80364F70 00361ED0 38 A0 00 00 */ li r5, 0 +/* 80364F74 00361ED4 93 C1 00 08 */ stw r30, 8(r1) +/* 80364F78 00361ED8 7C 7E 1B 78 */ mr r30, r3 +/* 80364F7C 00361EDC 38 60 00 10 */ li r3, 0x10 +/* 80364F80 00361EE0 4B FB 08 ED */ bl __nw__FUlPCcPCc +/* 80364F84 00361EE4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80364F88 00361EE8 41 82 00 10 */ beq lbl_80364F98 +/* 80364F8C 00361EEC 7F E4 FB 78 */ mr r4, r31 +/* 80364F90 00361EF0 48 00 04 29 */ bl __ct__16CDependencyGroupFR12CInputStream +/* 80364F94 00361EF4 7C 64 1B 78 */ mr r4, r3 +lbl_80364F98: +/* 80364F98 00361EF8 7F C3 F3 78 */ mr r3, r30 +/* 80364F9C 00361EFC 48 00 00 1D */ bl sub_80364fb8 +/* 80364FA0 00361F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80364FA4 00361F04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80364FA8 00361F08 83 C1 00 08 */ lwz r30, 8(r1) +/* 80364FAC 00361F0C 7C 08 03 A6 */ mtlr r0 +/* 80364FB0 00361F10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80364FB4 00361F14 4E 80 00 20 */ blr + +.global sub_80364fb8 +sub_80364fb8: +/* 80364FB8 00361F18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80364FBC 00361F1C 7C 08 02 A6 */ mflr r0 +/* 80364FC0 00361F20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80364FC4 00361F24 7C 04 00 D0 */ neg r0, r4 +/* 80364FC8 00361F28 7C 00 23 78 */ or r0, r0, r4 +/* 80364FCC 00361F2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80364FD0 00361F30 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80364FD4 00361F34 7C 7F 1B 78 */ mr r31, r3 +/* 80364FD8 00361F38 38 61 00 08 */ addi r3, r1, 8 +/* 80364FDC 00361F3C 90 81 00 14 */ stw r4, 0x14(r1) +/* 80364FE0 00361F40 38 81 00 10 */ addi r4, r1, 0x10 +/* 80364FE4 00361F44 98 01 00 10 */ stb r0, 0x10(r1) +/* 80364FE8 00361F48 48 00 01 55 */ bl sub_8036513c +/* 80364FEC 00361F4C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80364FF0 00361F50 38 00 00 00 */ li r0, 0 +/* 80364FF4 00361F54 98 01 00 08 */ stb r0, 8(r1) +/* 80364FF8 00361F58 7C 03 00 D0 */ neg r0, r3 +/* 80364FFC 00361F5C 7C 00 1B 78 */ or r0, r0, r3 +/* 80365000 00361F60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80365004 00361F64 98 1F 00 00 */ stb r0, 0(r31) +/* 80365008 00361F68 90 7F 00 04 */ stw r3, 4(r31) +/* 8036500C 00361F6C 88 01 00 08 */ lbz r0, 8(r1) +/* 80365010 00361F70 28 00 00 00 */ cmplwi r0, 0 +/* 80365014 00361F74 41 82 00 24 */ beq lbl_80365038 +/* 80365018 00361F78 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036501C 00361F7C 28 03 00 00 */ cmplwi r3, 0 +/* 80365020 00361F80 41 82 00 18 */ beq lbl_80365038 +/* 80365024 00361F84 81 83 00 00 */ lwz r12, 0(r3) +/* 80365028 00361F88 38 80 00 01 */ li r4, 1 +/* 8036502C 00361F8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80365030 00361F90 7D 89 03 A6 */ mtctr r12 +/* 80365034 00361F94 4E 80 04 21 */ bctrl +lbl_80365038: +/* 80365038 00361F98 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036503C 00361F9C 38 80 FF FF */ li r4, -1 +/* 80365040 00361FA0 48 00 01 C5 */ bl sub_80365204 +/* 80365044 00361FA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365048 00361FA8 7F E3 FB 78 */ mr r3, r31 +/* 8036504C 00361FAC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80365050 00361FB0 7C 08 03 A6 */ mtlr r0 +/* 80365054 00361FB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365058 00361FB8 4E 80 00 20 */ blr + +.global sub_8036505c +sub_8036505c: +/* 8036505C 00361FBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80365060 00361FC0 7C 08 02 A6 */ mflr r0 +/* 80365064 00361FC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80365068 00361FC8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036506C 00361FCC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80365070 00361FD0 7C 9E 23 78 */ mr r30, r4 +/* 80365074 00361FD4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80365078 00361FD8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8036507C 00361FDC 41 82 00 A0 */ beq lbl_8036511C +/* 80365080 00361FE0 3C 60 80 3F */ lis r3, lbl_803EF830@ha +/* 80365084 00361FE4 38 03 F8 30 */ addi r0, r3, lbl_803EF830@l +/* 80365088 00361FE8 90 1D 00 00 */ stw r0, 0(r29) +/* 8036508C 00361FEC 83 FD 00 04 */ lwz r31, 4(r29) +/* 80365090 00361FF0 28 1F 00 00 */ cmplwi r31, 0 +/* 80365094 00361FF4 41 82 00 54 */ beq lbl_803650E8 +/* 80365098 00361FF8 41 82 00 50 */ beq lbl_803650E8 +/* 8036509C 00361FFC 41 82 00 44 */ beq lbl_803650E0 +/* 803650A0 00362000 80 1F 00 04 */ lwz r0, 4(r31) +/* 803650A4 00362004 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 803650A8 00362008 54 00 18 38 */ slwi r0, r0, 3 +/* 803650AC 0036200C 7C 03 02 14 */ add r0, r3, r0 +/* 803650B0 00362010 90 61 00 0C */ stw r3, 0xc(r1) +/* 803650B4 00362014 7C 64 1B 78 */ mr r4, r3 +/* 803650B8 00362018 90 01 00 14 */ stw r0, 0x14(r1) +/* 803650BC 0036201C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803650C0 00362020 90 61 00 08 */ stw r3, 8(r1) +/* 803650C4 00362024 48 00 00 08 */ b lbl_803650CC +lbl_803650C8: +/* 803650C8 00362028 38 84 00 08 */ addi r4, r4, 8 +lbl_803650CC: +/* 803650CC 0036202C 7C 04 00 40 */ cmplw r4, r0 +/* 803650D0 00362030 40 82 FF F8 */ bne lbl_803650C8 +/* 803650D4 00362034 28 03 00 00 */ cmplwi r3, 0 +/* 803650D8 00362038 41 82 00 08 */ beq lbl_803650E0 +/* 803650DC 0036203C 4B FB 08 55 */ bl Free__7CMemoryFPCv +lbl_803650E0: +/* 803650E0 00362040 7F E3 FB 78 */ mr r3, r31 +/* 803650E4 00362044 4B FB 08 4D */ bl Free__7CMemoryFPCv +lbl_803650E8: +/* 803650E8 00362048 28 1D 00 00 */ cmplwi r29, 0 +/* 803650EC 0036204C 41 82 00 20 */ beq lbl_8036510C +/* 803650F0 00362050 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 803650F4 00362054 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 803650F8 00362058 90 1D 00 00 */ stw r0, 0(r29) +/* 803650FC 0036205C 41 82 00 10 */ beq lbl_8036510C +/* 80365100 00362060 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80365104 00362064 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80365108 00362068 90 1D 00 00 */ stw r0, 0(r29) +lbl_8036510C: +/* 8036510C 0036206C 7F C0 07 35 */ extsh. r0, r30 +/* 80365110 00362070 40 81 00 0C */ ble lbl_8036511C +/* 80365114 00362074 7F A3 EB 78 */ mr r3, r29 +/* 80365118 00362078 4B FB 08 19 */ bl Free__7CMemoryFPCv +lbl_8036511C: +/* 8036511C 0036207C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80365120 00362080 7F A3 EB 78 */ mr r3, r29 +/* 80365124 00362084 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80365128 00362088 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036512C 0036208C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80365130 00362090 7C 08 03 A6 */ mtlr r0 +/* 80365134 00362094 38 21 00 30 */ addi r1, r1, 0x30 +/* 80365138 00362098 4E 80 00 20 */ blr + +.global sub_8036513c +sub_8036513c: +/* 8036513C 0036209C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80365140 003620A0 7C 08 02 A6 */ mflr r0 +/* 80365144 003620A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365148 003620A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036514C 003620AC 7C 7F 1B 78 */ mr r31, r3 +/* 80365150 003620B0 48 00 00 19 */ bl sub_80365168 +/* 80365154 003620B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365158 003620B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036515C 003620BC 7C 08 03 A6 */ mtlr r0 +/* 80365160 003620C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365164 003620C4 4E 80 00 20 */ blr + +.global sub_80365168 +sub_80365168: +/* 80365168 003620C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036516C 003620CC 7C 08 02 A6 */ mflr r0 +/* 80365170 003620D0 3C A0 80 3E */ lis r5, lbl_803D8408@ha +/* 80365174 003620D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365178 003620D8 38 05 84 08 */ addi r0, r5, lbl_803D8408@l +/* 8036517C 003620DC 38 A0 00 00 */ li r5, 0 +/* 80365180 003620E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80365184 003620E4 7C 9F 23 78 */ mr r31, r4 +/* 80365188 003620E8 7C 04 03 78 */ mr r4, r0 +/* 8036518C 003620EC 93 C1 00 08 */ stw r30, 8(r1) +/* 80365190 003620F0 7C 7E 1B 78 */ mr r30, r3 +/* 80365194 003620F4 38 60 00 08 */ li r3, 8 +/* 80365198 003620F8 4B FB 06 D5 */ bl __nw__FUlPCcPCc +/* 8036519C 003620FC 28 03 00 00 */ cmplwi r3, 0 +/* 803651A0 00362100 41 82 00 38 */ beq lbl_803651D8 +/* 803651A4 00362104 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 803651A8 00362108 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 803651AC 0036210C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 803651B0 00362110 3C 80 80 3F */ lis r4, lbl_803EF830@ha +/* 803651B4 00362114 90 03 00 00 */ stw r0, 0(r3) +/* 803651B8 00362118 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 803651BC 0036211C 38 A0 00 00 */ li r5, 0 +/* 803651C0 00362120 38 04 F8 30 */ addi r0, r4, lbl_803EF830@l +/* 803651C4 00362124 90 C3 00 00 */ stw r6, 0(r3) +/* 803651C8 00362128 98 BF 00 00 */ stb r5, 0(r31) +/* 803651CC 0036212C 80 9F 00 04 */ lwz r4, 4(r31) +/* 803651D0 00362130 90 83 00 04 */ stw r4, 4(r3) +/* 803651D4 00362134 90 03 00 00 */ stw r0, 0(r3) +lbl_803651D8: +/* 803651D8 00362138 7C 03 00 D0 */ neg r0, r3 +/* 803651DC 0036213C 7C 00 1B 78 */ or r0, r0, r3 +/* 803651E0 00362140 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803651E4 00362144 98 1E 00 00 */ stb r0, 0(r30) +/* 803651E8 00362148 90 7E 00 04 */ stw r3, 4(r30) +/* 803651EC 0036214C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803651F0 00362150 83 C1 00 08 */ lwz r30, 8(r1) +/* 803651F4 00362154 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803651F8 00362158 7C 08 03 A6 */ mtlr r0 +/* 803651FC 0036215C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365200 00362160 4E 80 00 20 */ blr + +.global sub_80365204 +sub_80365204: +/* 80365204 00362164 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80365208 00362168 7C 08 02 A6 */ mflr r0 +/* 8036520C 0036216C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80365210 00362170 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80365214 00362174 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80365218 00362178 7C 9E 23 78 */ mr r30, r4 +/* 8036521C 0036217C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80365220 00362180 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80365224 00362184 41 82 00 78 */ beq lbl_8036529C +/* 80365228 00362188 88 1D 00 00 */ lbz r0, 0(r29) +/* 8036522C 0036218C 28 00 00 00 */ cmplwi r0, 0 +/* 80365230 00362190 41 82 00 5C */ beq lbl_8036528C +/* 80365234 00362194 83 FD 00 04 */ lwz r31, 4(r29) +/* 80365238 00362198 28 1F 00 00 */ cmplwi r31, 0 +/* 8036523C 0036219C 41 82 00 50 */ beq lbl_8036528C +/* 80365240 003621A0 41 82 00 44 */ beq lbl_80365284 +/* 80365244 003621A4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80365248 003621A8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036524C 003621AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80365250 003621B0 7C 03 02 14 */ add r0, r3, r0 +/* 80365254 003621B4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80365258 003621B8 7C 64 1B 78 */ mr r4, r3 +/* 8036525C 003621BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365260 003621C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80365264 003621C4 90 61 00 08 */ stw r3, 8(r1) +/* 80365268 003621C8 48 00 00 08 */ b lbl_80365270 +lbl_8036526C: +/* 8036526C 003621CC 38 84 00 08 */ addi r4, r4, 8 +lbl_80365270: +/* 80365270 003621D0 7C 04 00 40 */ cmplw r4, r0 +/* 80365274 003621D4 40 82 FF F8 */ bne lbl_8036526C +/* 80365278 003621D8 28 03 00 00 */ cmplwi r3, 0 +/* 8036527C 003621DC 41 82 00 08 */ beq lbl_80365284 +/* 80365280 003621E0 4B FB 06 B1 */ bl Free__7CMemoryFPCv +lbl_80365284: +/* 80365284 003621E4 7F E3 FB 78 */ mr r3, r31 +/* 80365288 003621E8 4B FB 06 A9 */ bl Free__7CMemoryFPCv +lbl_8036528C: +/* 8036528C 003621EC 7F C0 07 35 */ extsh. r0, r30 +/* 80365290 003621F0 40 81 00 0C */ ble lbl_8036529C +/* 80365294 003621F4 7F A3 EB 78 */ mr r3, r29 +/* 80365298 003621F8 4B FB 06 99 */ bl Free__7CMemoryFPCv +lbl_8036529C: +/* 8036529C 003621FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803652A0 00362200 7F A3 EB 78 */ mr r3, r29 +/* 803652A4 00362204 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803652A8 00362208 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803652AC 0036220C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803652B0 00362210 7C 08 03 A6 */ mtlr r0 +/* 803652B4 00362214 38 21 00 30 */ addi r1, r1, 0x30 +/* 803652B8 00362218 4E 80 00 20 */ blr + +.global sub_803652bc +sub_803652bc: +/* 803652BC 0036221C 80 03 00 04 */ lwz r0, 4(r3) +/* 803652C0 00362220 38 C0 00 00 */ li r6, 0 +/* 803652C4 00362224 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 803652C8 00362228 54 00 18 38 */ slwi r0, r0, 3 +/* 803652CC 0036222C 7C 65 02 14 */ add r3, r5, r0 +/* 803652D0 00362230 48 00 00 18 */ b lbl_803652E8 +lbl_803652D4: +/* 803652D4 00362234 80 05 00 00 */ lwz r0, 0(r5) +/* 803652D8 00362238 7C 04 00 40 */ cmplw r4, r0 +/* 803652DC 0036223C 40 82 00 08 */ bne lbl_803652E4 +/* 803652E0 00362240 38 C6 00 01 */ addi r6, r6, 1 +lbl_803652E4: +/* 803652E4 00362244 38 A5 00 08 */ addi r5, r5, 8 +lbl_803652E8: +/* 803652E8 00362248 7C 05 18 40 */ cmplw r5, r3 +/* 803652EC 0036224C 40 82 FF E8 */ bne lbl_803652D4 +/* 803652F0 00362250 7C C3 33 78 */ mr r3, r6 +/* 803652F4 00362254 4E 80 00 20 */ blr + +.global ReadFromStream__16CDependencyGroupFR12CInputStream +ReadFromStream__16CDependencyGroupFR12CInputStream: +/* 803652F8 00362258 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803652FC 0036225C 7C 08 02 A6 */ mflr r0 +/* 80365300 00362260 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365304 00362264 BF 41 00 08 */ stmw r26, 8(r1) +/* 80365308 00362268 7C 9B 23 78 */ mr r27, r4 +/* 8036530C 0036226C 7C 7A 1B 78 */ mr r26, r3 +/* 80365310 00362270 7F 63 DB 78 */ mr r3, r27 +/* 80365314 00362274 4B FD 99 71 */ bl ReadLong__12CInputStreamFv +/* 80365318 00362278 7C 7D 1B 78 */ mr r29, r3 +/* 8036531C 0036227C 7F 43 D3 78 */ mr r3, r26 +/* 80365320 00362280 7F A4 EB 78 */ mr r4, r29 +/* 80365324 00362284 4B FD B6 61 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +/* 80365328 00362288 3B 80 00 00 */ li r28, 0 +/* 8036532C 0036228C 48 00 00 70 */ b lbl_8036539C +lbl_80365330: +/* 80365330 00362290 7F 63 DB 78 */ mr r3, r27 +/* 80365334 00362294 4B FD 99 51 */ bl ReadLong__12CInputStreamFv +/* 80365338 00362298 7C 7E 1B 78 */ mr r30, r3 +/* 8036533C 0036229C 7F 63 DB 78 */ mr r3, r27 +/* 80365340 003622A0 4B FD 99 45 */ bl ReadLong__12CInputStreamFv +/* 80365344 003622A4 80 1A 00 04 */ lwz r0, 4(r26) +/* 80365348 003622A8 7C 7F 1B 78 */ mr r31, r3 +/* 8036534C 003622AC 80 BA 00 08 */ lwz r5, 8(r26) +/* 80365350 003622B0 7C 00 28 00 */ cmpw r0, r5 +/* 80365354 003622B4 41 80 00 1C */ blt lbl_80365370 +/* 80365358 003622B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8036535C 003622BC 7F 43 D3 78 */ mr r3, r26 +/* 80365360 003622C0 38 80 00 04 */ li r4, 4 +/* 80365364 003622C4 41 82 00 08 */ beq lbl_8036536C +/* 80365368 003622C8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8036536C: +/* 8036536C 003622CC 4B FD B6 19 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +lbl_80365370: +/* 80365370 003622D0 80 1A 00 04 */ lwz r0, 4(r26) +/* 80365374 003622D4 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 80365378 003622D8 54 00 18 38 */ slwi r0, r0, 3 +/* 8036537C 003622DC 7C 63 02 15 */ add. r3, r3, r0 +/* 80365380 003622E0 41 82 00 0C */ beq lbl_8036538C +/* 80365384 003622E4 93 C3 00 00 */ stw r30, 0(r3) +/* 80365388 003622E8 93 E3 00 04 */ stw r31, 4(r3) +lbl_8036538C: +/* 8036538C 003622EC 80 7A 00 04 */ lwz r3, 4(r26) +/* 80365390 003622F0 3B 9C 00 01 */ addi r28, r28, 1 +/* 80365394 003622F4 38 03 00 01 */ addi r0, r3, 1 +/* 80365398 003622F8 90 1A 00 04 */ stw r0, 4(r26) +lbl_8036539C: +/* 8036539C 003622FC 7C 1C E8 00 */ cmpw r28, r29 +/* 803653A0 00362300 41 80 FF 90 */ blt lbl_80365330 +/* 803653A4 00362304 BB 41 00 08 */ lmw r26, 8(r1) +/* 803653A8 00362308 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803653AC 0036230C 7C 08 03 A6 */ mtlr r0 +/* 803653B0 00362310 38 21 00 20 */ addi r1, r1, 0x20 +/* 803653B4 00362314 4E 80 00 20 */ blr + +.global __ct__16CDependencyGroupFR12CInputStream +__ct__16CDependencyGroupFR12CInputStream: +/* 803653B8 00362318 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803653BC 0036231C 7C 08 02 A6 */ mflr r0 +/* 803653C0 00362320 90 01 00 14 */ stw r0, 0x14(r1) +/* 803653C4 00362324 38 00 00 00 */ li r0, 0 +/* 803653C8 00362328 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803653CC 0036232C 7C 7F 1B 78 */ mr r31, r3 +/* 803653D0 00362330 90 03 00 04 */ stw r0, 4(r3) +/* 803653D4 00362334 90 03 00 08 */ stw r0, 8(r3) +/* 803653D8 00362338 90 03 00 0C */ stw r0, 0xc(r3) +/* 803653DC 0036233C 4B FF FF 1D */ bl ReadFromStream__16CDependencyGroupFR12CInputStream +/* 803653E0 00362340 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803653E4 00362344 7F E3 FB 78 */ mr r3, r31 +/* 803653E8 00362348 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803653EC 0036234C 7C 08 03 A6 */ mtlr r0 +/* 803653F0 00362350 38 21 00 10 */ addi r1, r1, 0x10 +/* 803653F4 00362354 4E 80 00 20 */ blr + +.global sub_803653f8 +sub_803653f8: +/* 803653F8 00362358 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 803653FC 0036235C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365400 00362360 40 82 00 0C */ bne lbl_8036540C +/* 80365404 00362364 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365408 00362368 48 00 00 0C */ b lbl_80365414 +lbl_8036540C: +/* 8036540C 0036236C C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365410 00362370 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_80365414: +/* 80365414 00362374 38 00 00 04 */ li r0, 4 +/* 80365418 00362378 D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +/* 8036541C 0036237C 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365420 00362380 4E 80 00 20 */ blr + +.global sub_80365424 +sub_80365424: +/* 80365424 00362384 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365428 00362388 C0 4D AA C0 */ lfs f2, lbl_805A9680@sda21(r13) +/* 8036542C 0036238C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365430 00362390 D0 4D 9E 74 */ stfs f2, lbl_805A8A34@sda21(r13) +/* 80365434 00362394 40 82 00 08 */ bne lbl_8036543C +/* 80365438 00362398 48 00 00 08 */ b lbl_80365440 +lbl_8036543C: +/* 8036543C 0036239C EC 42 08 24 */ fdivs f2, f2, f1 +lbl_80365440: +/* 80365440 003623A0 38 00 00 06 */ li r0, 6 +/* 80365444 003623A4 D0 4D AA C8 */ stfs f2, lbl_805A9688@sda21(r13) +/* 80365448 003623A8 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 8036544C 003623AC 4E 80 00 20 */ blr + +.global sub_80365450 +sub_80365450: +/* 80365450 003623B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365454 003623B4 7C 08 02 A6 */ mflr r0 +/* 80365458 003623B8 3C 80 80 5A */ lis r4, lbl_805A6B90@ha +/* 8036545C 003623BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365460 003623C0 38 84 6B 90 */ addi r4, r4, lbl_805A6B90@l +/* 80365464 003623C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80365468 003623C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036546C 003623CC 7C 7E 1B 78 */ mr r30, r3 +/* 80365470 003623D0 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) +/* 80365474 003623D4 20 00 00 01 */ subfic r0, r0, 1 +/* 80365478 003623D8 7C 00 00 34 */ cntlzw r0, r0 +/* 8036547C 003623DC 54 1F D9 7E */ srwi r31, r0, 5 +/* 80365480 003623E0 48 00 00 A5 */ bl sub_80365524 +/* 80365484 003623E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365488 003623E8 41 82 00 18 */ beq lbl_803654A0 +/* 8036548C 003623EC 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80365490 003623F0 7F C4 F3 78 */ mr r4, r30 +/* 80365494 003623F4 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 80365498 003623F8 4B FD 88 C5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036549C 003623FC 3B E0 00 01 */ li r31, 1 +lbl_803654A0: +/* 803654A0 00362400 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 803654A4 00362404 41 82 00 68 */ beq lbl_8036550C +/* 803654A8 00362408 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) +/* 803654AC 0036240C 28 00 00 00 */ cmplwi r0, 0 +/* 803654B0 00362410 41 82 00 5C */ beq lbl_8036550C +/* 803654B4 00362414 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 803654B8 00362418 38 61 00 08 */ addi r3, r1, 8 +/* 803654BC 0036241C 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 803654C0 00362420 4B C9 F7 F9 */ bl string_l__4rstlFPCc +/* 803654C4 00362424 7F C3 F3 78 */ mr r3, r30 +/* 803654C8 00362428 38 81 00 08 */ addi r4, r1, 8 +/* 803654CC 0036242C 48 00 00 59 */ bl sub_80365524 +/* 803654D0 00362430 7C 7F 1B 78 */ mr r31, r3 +/* 803654D4 00362434 38 61 00 08 */ addi r3, r1, 8 +/* 803654D8 00362438 4B FD 86 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803654DC 0036243C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 803654E0 00362440 41 82 00 2C */ beq lbl_8036550C +/* 803654E4 00362444 4B FE 5E 19 */ bl TrkFlushTracks__9CAudioSysFv +/* 803654E8 00362448 7F C3 F3 78 */ mr r3, r30 +/* 803654EC 0036244C 38 80 00 00 */ li r4, 0 +/* 803654F0 00362450 38 A0 00 00 */ li r5, 0 +/* 803654F4 00362454 4B FE 5E 71 */ bl "TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi" +/* 803654F8 00362458 4B FE 5D 3D */ bl TrkNextTrack__9CAudioSysFv +/* 803654FC 0036245C 38 60 00 02 */ li r3, 2 +/* 80365500 00362460 4B FE 5D BD */ bl TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode +/* 80365504 00362464 38 60 00 01 */ li r3, 1 +/* 80365508 00362468 4B FE 5D 95 */ bl TrkSetState__9CAudioSysF13ETRKPlayState +lbl_8036550C: +/* 8036550C 0036246C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365510 00362470 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80365514 00362474 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80365518 00362478 7C 08 03 A6 */ mtlr r0 +/* 8036551C 0036247C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365520 00362480 4E 80 00 20 */ blr + +.global sub_80365524 +sub_80365524: +/* 80365524 00362484 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80365528 00362488 7C 08 02 A6 */ mflr r0 +/* 8036552C 0036248C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365530 00362490 4B CC 52 45 */ bl sub_8002a774 +/* 80365534 00362494 7C 03 00 D0 */ neg r0, r3 +/* 80365538 00362498 7C 00 1B 78 */ or r0, r0, r3 +/* 8036553C 0036249C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80365540 003624A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365544 003624A4 7C 08 03 A6 */ mtlr r0 +/* 80365548 003624A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036554C 003624AC 4E 80 00 20 */ blr + +.global InternalSetVolume__19CStreamAudioManagerFf +InternalSetVolume__19CStreamAudioManagerFf: +/* 80365550 003624B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365554 003624B4 7C 08 02 A6 */ mflr r0 +/* 80365558 003624B8 C0 02 CD BC */ lfs f0, lbl_805AEADC@sda21(r2) +/* 8036555C 003624BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365560 003624C0 3C 00 43 30 */ lis r0, 0x4330 +/* 80365564 003624C4 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365568 003624C8 C8 62 CD C0 */ lfd f3, lbl_805AEAE0@sda21(r2) +/* 8036556C 003624CC 80 6D 9E 78 */ lwz r3, lbl_805A8A38@sda21(r13) +/* 80365570 003624D0 90 01 00 08 */ stw r0, 8(r1) +/* 80365574 003624D4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80365578 003624D8 C0 82 CD B4 */ lfs f4, lbl_805AEAD4@sda21(r2) +/* 8036557C 003624DC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80365580 003624E0 C0 02 CD B8 */ lfs f0, lbl_805AEAD8@sda21(r2) +/* 80365584 003624E4 C8 41 00 08 */ lfd f2, 8(r1) +/* 80365588 003624E8 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8036558C 003624EC EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80365590 003624F0 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80365594 003624F4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80365598 003624F8 FC 00 00 1E */ fctiwz f0, f0 +/* 8036559C 003624FC D8 01 00 10 */ stfd f0, 0x10(r1) +/* 803655A0 00362500 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803655A4 00362504 41 82 00 10 */ beq lbl_803655B4 +/* 803655A8 00362508 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 803655AC 0036250C 7C 64 1B 78 */ mr r4, r3 +/* 803655B0 00362510 4B FE 5C A5 */ bl TrkSetVolume__9CAudioSysFUcUc +lbl_803655B4: +/* 803655B4 00362514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803655B8 00362518 7C 08 03 A6 */ mtlr r0 +/* 803655BC 0036251C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803655C0 00362520 4E 80 00 20 */ blr + +.global HandleMusicUnmute__19CStreamAudioManagerFv +HandleMusicUnmute__19CStreamAudioManagerFv: +/* 803655C4 00362524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803655C8 00362528 7C 08 02 A6 */ mflr r0 +/* 803655CC 0036252C 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 803655D0 00362530 90 01 00 14 */ stw r0, 0x14(r1) +/* 803655D4 00362534 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 803655D8 00362538 4B FF FE 79 */ bl sub_80365450 +/* 803655DC 0036253C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803655E0 00362540 7C 08 03 A6 */ mtlr r0 +/* 803655E4 00362544 38 21 00 10 */ addi r1, r1, 0x10 +/* 803655E8 00362548 4E 80 00 20 */ blr + +.global StopAllStreams__19CStreamAudioManagerFv +StopAllStreams__19CStreamAudioManagerFv: +/* 803655EC 0036254C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803655F0 00362550 7C 08 02 A6 */ mflr r0 +/* 803655F4 00362554 3C 80 80 54 */ lis r4, lbl_80540580@ha +/* 803655F8 00362558 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 803655FC 0036255C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80365600 00362560 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80365604 00362564 3B E4 05 80 */ addi r31, r4, lbl_80540580@l +/* 80365608 00362568 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8036560C 0036256C 3B C3 05 E4 */ addi r30, r3, lbl_805405E4@l +/* 80365610 00362570 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80365614 00362574 3B A0 00 00 */ li r29, 0 +lbl_80365618: +/* 80365618 00362578 7F A3 EB 78 */ mr r3, r29 +/* 8036561C 0036257C 48 00 0B 79 */ bl StopStreaming__19CStreamAudioManagerFi +/* 80365620 00362580 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365624 00362584 48 00 0F 2D */ bl __ct__20SDSPStreamCacheEntryFv +/* 80365628 00362588 7F E3 FB 78 */ mr r3, r31 +/* 8036562C 0036258C 38 81 00 34 */ addi r4, r1, 0x34 +/* 80365630 00362590 4B FD 87 2D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365634 00362594 80 81 00 44 */ lwz r4, 0x44(r1) +/* 80365638 00362598 38 61 00 34 */ addi r3, r1, 0x34 +/* 8036563C 0036259C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80365640 003625A0 90 9F 00 10 */ stw r4, 0x10(r31) +/* 80365644 003625A4 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80365648 003625A8 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8036564C 003625AC C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80365650 003625B0 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80365654 003625B4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80365658 003625B8 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8036565C 003625BC C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80365660 003625C0 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80365664 003625C4 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80365668 003625C8 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8036566C 003625CC 98 1F 00 28 */ stb r0, 0x28(r31) +/* 80365670 003625D0 4B FD 84 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365674 003625D4 38 61 00 08 */ addi r3, r1, 8 +/* 80365678 003625D8 48 00 0E D9 */ bl __ct__20SDSPStreamCacheEntryFv +/* 8036567C 003625DC 7F C3 F3 78 */ mr r3, r30 +/* 80365680 003625E0 38 81 00 08 */ addi r4, r1, 8 +/* 80365684 003625E4 4B FD 86 D9 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365688 003625E8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8036568C 003625EC 38 61 00 08 */ addi r3, r1, 8 +/* 80365690 003625F0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80365694 003625F4 90 9E 00 10 */ stw r4, 0x10(r30) +/* 80365698 003625F8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8036569C 003625FC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 803656A0 00362600 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 803656A4 00362604 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 803656A8 00362608 80 01 00 28 */ lwz r0, 0x28(r1) +/* 803656AC 0036260C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 803656B0 00362610 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 803656B4 00362614 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803656B8 00362618 88 01 00 30 */ lbz r0, 0x30(r1) +/* 803656BC 0036261C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803656C0 00362620 98 1E 00 28 */ stb r0, 0x28(r30) +/* 803656C4 00362624 4B FD 84 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803656C8 00362628 3B BD 00 01 */ addi r29, r29, 1 +/* 803656CC 0036262C 3B DE 00 2C */ addi r30, r30, 0x2c +/* 803656D0 00362630 2C 1D 00 02 */ cmpwi r29, 2 +/* 803656D4 00362634 3B FF 00 2C */ addi r31, r31, 0x2c +/* 803656D8 00362638 41 80 FF 40 */ blt lbl_80365618 +/* 803656DC 0036263C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803656E0 00362640 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 803656E4 00362644 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 803656E8 00362648 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 803656EC 0036264C 7C 08 03 A6 */ mtlr r0 +/* 803656F0 00362650 38 21 00 70 */ addi r1, r1, 0x70 +/* 803656F4 00362654 4E 80 00 20 */ blr + +.global sub_803656f8 +sub_803656f8: +/* 803656F8 00362658 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803656FC 0036265C 7C 08 02 A6 */ mflr r0 +/* 80365700 00362660 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365704 00362664 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80365708 00362668 7C 9F 23 78 */ mr r31, r4 +/* 8036570C 0036266C 93 C1 00 08 */ stw r30, 8(r1) +/* 80365710 00362670 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80365714 00362674 41 82 00 1C */ beq lbl_80365730 +/* 80365718 00362678 41 82 00 08 */ beq lbl_80365720 +/* 8036571C 0036267C 4B FD 83 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80365720: +/* 80365720 00362680 7F E0 07 35 */ extsh. r0, r31 +/* 80365724 00362684 40 81 00 0C */ ble lbl_80365730 +/* 80365728 00362688 7F C3 F3 78 */ mr r3, r30 +/* 8036572C 0036268C 4B FB 02 05 */ bl Free__7CMemoryFPCv +lbl_80365730: +/* 80365730 00362690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365734 00362694 7F C3 F3 78 */ mr r3, r30 +/* 80365738 00362698 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036573C 0036269C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80365740 003626A0 7C 08 03 A6 */ mtlr r0 +/* 80365744 003626A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365748 003626A8 4E 80 00 20 */ blr + +.global HandleMusicMute__19CStreamAudioManagerFv +HandleMusicMute__19CStreamAudioManagerFv: +/* 8036574C 003626AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365750 003626B0 7C 08 02 A6 */ mflr r0 +/* 80365754 003626B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365758 003626B8 4B FE 5B A5 */ bl TrkFlushTracks__9CAudioSysFv +/* 8036575C 003626BC 38 60 00 00 */ li r3, 0 +/* 80365760 003626C0 4B FE 5B 3D */ bl TrkSetState__9CAudioSysF13ETRKPlayState +/* 80365764 003626C4 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 80365768 003626C8 38 61 00 08 */ addi r3, r1, 8 +/* 8036576C 003626CC 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 80365770 003626D0 4B C9 F5 49 */ bl string_l__4rstlFPCc +/* 80365774 003626D4 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80365778 003626D8 38 81 00 08 */ addi r4, r1, 8 +/* 8036577C 003626DC 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 80365780 003626E0 4B FD 85 DD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365784 003626E4 38 61 00 08 */ addi r3, r1, 8 +/* 80365788 003626E8 4B FD 83 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8036578C 003626EC C0 02 CD BC */ lfs f0, lbl_805AEADC@sda21(r2) +/* 80365790 003626F0 38 00 00 01 */ li r0, 1 +/* 80365794 003626F4 C0 2D 9E 74 */ lfs f1, lbl_805A8A34@sda21(r13) +/* 80365798 003626F8 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 8036579C 003626FC FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 803657A0 00362700 41 82 00 08 */ beq lbl_803657A8 +/* 803657A4 00362704 4B FF FD AD */ bl InternalSetVolume__19CStreamAudioManagerFf +lbl_803657A8: +/* 803657A8 00362708 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803657AC 0036270C 7C 08 03 A6 */ mtlr r0 +/* 803657B0 00362710 38 21 00 20 */ addi r1, r1, 0x20 +/* 803657B4 00362714 4E 80 00 20 */ blr + +.global StopOneShot__19CStreamAudioManagerFv +StopOneShot__19CStreamAudioManagerFv: +/* 803657B8 00362718 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803657BC 0036271C 7C 08 02 A6 */ mflr r0 +/* 803657C0 00362720 38 60 00 01 */ li r3, 1 +/* 803657C4 00362724 90 01 00 64 */ stw r0, 0x64(r1) +/* 803657C8 00362728 48 00 09 CD */ bl StopStreaming__19CStreamAudioManagerFi +/* 803657CC 0036272C 38 61 00 34 */ addi r3, r1, 0x34 +/* 803657D0 00362730 48 00 0D 81 */ bl __ct__20SDSPStreamCacheEntryFv +/* 803657D4 00362734 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803657D8 00362738 38 81 00 34 */ addi r4, r1, 0x34 +/* 803657DC 0036273C 38 63 05 80 */ addi r3, r3, lbl_80540580@l +/* 803657E0 00362740 38 63 00 2C */ addi r3, r3, 0x2c +/* 803657E4 00362744 4B FD 85 79 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 803657E8 00362748 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803657EC 0036274C 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 803657F0 00362750 38 C3 05 80 */ addi r6, r3, lbl_80540580@l +/* 803657F4 00362754 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 803657F8 00362758 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 803657FC 0036275C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365800 00362760 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80365804 00362764 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80365808 00362768 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8036580C 0036276C 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80365810 00362770 90 E6 00 3C */ stw r7, 0x3c(r6) +/* 80365814 00362774 90 A6 00 40 */ stw r5, 0x40(r6) +/* 80365818 00362778 D0 46 00 44 */ stfs f2, 0x44(r6) +/* 8036581C 0036277C D0 26 00 48 */ stfs f1, 0x48(r6) +/* 80365820 00362780 90 86 00 4C */ stw r4, 0x4c(r6) +/* 80365824 00362784 D0 06 00 50 */ stfs f0, 0x50(r6) +/* 80365828 00362788 98 06 00 54 */ stb r0, 0x54(r6) +/* 8036582C 0036278C 4B FD 82 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365830 00362790 38 61 00 08 */ addi r3, r1, 8 +/* 80365834 00362794 48 00 0D 1D */ bl __ct__20SDSPStreamCacheEntryFv +/* 80365838 00362798 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 8036583C 0036279C 38 81 00 08 */ addi r4, r1, 8 +/* 80365840 003627A0 38 63 05 E4 */ addi r3, r3, lbl_805405E4@l +/* 80365844 003627A4 38 63 00 2C */ addi r3, r3, 0x2c +/* 80365848 003627A8 4B FD 85 15 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036584C 003627AC 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 80365850 003627B0 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 80365854 003627B4 38 C3 05 E4 */ addi r6, r3, lbl_805405E4@l +/* 80365858 003627B8 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8036585C 003627BC C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80365860 003627C0 38 61 00 08 */ addi r3, r1, 8 +/* 80365864 003627C4 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80365868 003627C8 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8036586C 003627CC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80365870 003627D0 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80365874 003627D4 90 E6 00 3C */ stw r7, 0x3c(r6) +/* 80365878 003627D8 90 A6 00 40 */ stw r5, 0x40(r6) +/* 8036587C 003627DC D0 46 00 44 */ stfs f2, 0x44(r6) +/* 80365880 003627E0 D0 26 00 48 */ stfs f1, 0x48(r6) +/* 80365884 003627E4 90 86 00 4C */ stw r4, 0x4c(r6) +/* 80365888 003627E8 D0 06 00 50 */ stfs f0, 0x50(r6) +/* 8036588C 003627EC 98 06 00 54 */ stb r0, 0x54(r6) +/* 80365890 003627F0 4B FD 82 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365894 003627F4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80365898 003627F8 7C 08 03 A6 */ mtlr r0 +/* 8036589C 003627FC 38 21 00 60 */ addi r1, r1, 0x60 +/* 803658A0 00362800 4E 80 00 20 */ blr + +.global StopAll__19CStreamAudioManagerFv +StopAll__19CStreamAudioManagerFv: +/* 803658A4 00362804 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803658A8 00362808 7C 08 02 A6 */ mflr r0 +/* 803658AC 0036280C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803658B0 00362810 4B FF FE 9D */ bl HandleMusicMute__19CStreamAudioManagerFv +/* 803658B4 00362814 4B FF FD 39 */ bl StopAllStreams__19CStreamAudioManagerFv +/* 803658B8 00362818 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803658BC 0036281C 7C 08 03 A6 */ mtlr r0 +/* 803658C0 00362820 38 21 00 10 */ addi r1, r1, 0x10 +/* 803658C4 00362824 4E 80 00 20 */ blr + +.global SetMusicUnmute__19CStreamAudioManagerFb +SetMusicUnmute__19CStreamAudioManagerFb: +/* 803658C8 00362828 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803658CC 0036282C 7C 08 02 A6 */ mflr r0 +/* 803658D0 00362830 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 803658D4 00362834 90 01 00 14 */ stw r0, 0x14(r1) +/* 803658D8 00362838 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) +/* 803658DC 0036283C 7C 04 00 40 */ cmplw r4, r0 +/* 803658E0 00362840 41 82 00 1C */ beq lbl_803658FC +/* 803658E4 00362844 28 04 00 00 */ cmplwi r4, 0 +/* 803658E8 00362848 98 6D 9E 80 */ stb r3, lbl_805A8A40@sda21(r13) +/* 803658EC 0036284C 41 82 00 0C */ beq lbl_803658F8 +/* 803658F0 00362850 4B FF FC D5 */ bl HandleMusicUnmute__19CStreamAudioManagerFv +/* 803658F4 00362854 48 00 00 08 */ b lbl_803658FC +lbl_803658F8: +/* 803658F8 00362858 4B FF FE 55 */ bl HandleMusicMute__19CStreamAudioManagerFv +lbl_803658FC: +/* 803658FC 0036285C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365900 00362860 7C 08 03 A6 */ mtlr r0 +/* 80365904 00362864 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365908 00362868 4E 80 00 20 */ blr + +.global sub_8036590c +sub_8036590c: +/* 8036590C 0036286C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365910 00362870 7C 08 02 A6 */ mflr r0 +/* 80365914 00362874 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365918 00362878 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036591C 0036287C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365920 00362880 40 82 00 18 */ bne lbl_80365938 +/* 80365924 00362884 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365928 00362888 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 8036592C 0036288C D0 2D AA C8 */ stfs f1, lbl_805A9688@sda21(r13) +/* 80365930 00362890 D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +/* 80365934 00362894 48 00 00 1C */ b lbl_80365950 +lbl_80365938: +/* 80365938 00362898 C0 4D AA C0 */ lfs f2, lbl_805A9680@sda21(r13) +/* 8036593C 0036289C C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365940 003628A0 EC 42 08 24 */ fdivs f2, f2, f1 +/* 80365944 003628A4 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80365948 003628A8 D0 4D AA C8 */ stfs f2, lbl_805A9688@sda21(r13) +/* 8036594C 003628AC D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +lbl_80365950: +/* 80365950 003628B0 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 80365954 003628B4 3C 80 80 5A */ lis r4, lbl_805A6B60@ha +/* 80365958 003628B8 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l +/* 8036595C 003628BC 38 84 6B 60 */ addi r4, r4, lbl_805A6B60@l +/* 80365960 003628C0 4B FD 83 FD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365964 003628C4 3C 60 80 5A */ lis r3, lbl_805A6B60@ha +/* 80365968 003628C8 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 8036596C 003628CC 38 63 6B 60 */ addi r3, r3, lbl_805A6B60@l +/* 80365970 003628D0 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 80365974 003628D4 48 00 00 79 */ bl AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc +/* 80365978 003628D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036597C 003628DC 41 82 00 2C */ beq lbl_803659A8 +/* 80365980 003628E0 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80365984 003628E4 3C 80 80 5A */ lis r4, lbl_805A6B60@ha +/* 80365988 003628E8 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 8036598C 003628EC 38 84 6B 60 */ addi r4, r4, lbl_805A6B60@l +/* 80365990 003628F0 4B FF FB 95 */ bl sub_80365524 +/* 80365994 003628F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365998 003628F8 41 82 00 10 */ beq lbl_803659A8 +/* 8036599C 003628FC 38 00 00 02 */ li r0, 2 +/* 803659A0 00362900 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 803659A4 00362904 48 00 00 38 */ b lbl_803659DC +lbl_803659A8: +/* 803659A8 00362908 38 00 00 00 */ li r0, 0 +/* 803659AC 0036290C 38 8D A9 18 */ addi r4, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 803659B0 00362910 3C 60 80 5A */ lis r3, lbl_805A6B60@ha +/* 803659B4 00362914 90 81 00 08 */ stw r4, 8(r1) +/* 803659B8 00362918 38 63 6B 60 */ addi r3, r3, lbl_805A6B60@l +/* 803659BC 0036291C 38 81 00 08 */ addi r4, r1, 8 +/* 803659C0 00362920 90 01 00 0C */ stw r0, 0xc(r1) +/* 803659C4 00362924 90 01 00 10 */ stw r0, 0x10(r1) +/* 803659C8 00362928 4B FD 83 95 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 803659CC 0036292C 38 61 00 08 */ addi r3, r1, 8 +/* 803659D0 00362930 4B FD 81 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803659D4 00362934 38 00 00 05 */ li r0, 5 +/* 803659D8 00362938 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +lbl_803659DC: +/* 803659DC 0036293C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803659E0 00362940 7C 08 03 A6 */ mtlr r0 +/* 803659E4 00362944 38 21 00 20 */ addi r1, r1, 0x20 +/* 803659E8 00362948 4E 80 00 20 */ blr + +.global AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc +AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc: +/* 803659EC 0036294C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803659F0 00362950 7C 08 02 A6 */ mflr r0 +/* 803659F4 00362954 38 A0 FF FF */ li r5, -1 +/* 803659F8 00362958 90 01 00 14 */ stw r0, 0x14(r1) +/* 803659FC 0036295C 4B D1 4A 91 */ bl CompareStateString__10CPatternedFPCcPCci +/* 80365A00 00362960 7C 03 00 D0 */ neg r0, r3 +/* 80365A04 00362964 7C 00 1B 78 */ or r0, r0, r3 +/* 80365A08 00362968 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80365A0C 0036296C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365A10 00362970 7C 08 03 A6 */ mtlr r0 +/* 80365A14 00362974 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365A18 00362978 4E 80 00 20 */ blr + +.global SetSfxVolume__21CStreamedAudioManagerFUc +SetSfxVolume__21CStreamedAudioManagerFUc: +/* 80365A1C 0036297C 2C 03 00 7F */ cmpwi r3, 0x7f +/* 80365A20 00362980 90 6D 9E 7C */ stw r3, lbl_805A8A3C@sda21(r13) +/* 80365A24 00362984 4C 81 00 20 */ blelr +/* 80365A28 00362988 38 00 00 7F */ li r0, 0x7f +/* 80365A2C 0036298C 90 0D 9E 7C */ stw r0, lbl_805A8A3C@sda21(r13) +/* 80365A30 00362990 4E 80 00 20 */ blr + +.global SetMusicVolume__19CStreamAudioManagerFi +SetMusicVolume__19CStreamAudioManagerFi: +/* 80365A34 00362994 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80365A38 00362998 7C 08 02 A6 */ mflr r0 +/* 80365A3C 0036299C 2C 03 00 7F */ cmpwi r3, 0x7f +/* 80365A40 003629A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365A44 003629A4 90 6D 9E 78 */ stw r3, lbl_805A8A38@sda21(r13) +/* 80365A48 003629A8 40 81 00 0C */ ble lbl_80365A54 +/* 80365A4C 003629AC 38 00 00 7F */ li r0, 0x7f +/* 80365A50 003629B0 90 0D 9E 78 */ stw r0, lbl_805A8A38@sda21(r13) +lbl_80365A54: +/* 80365A54 003629B4 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365A58 003629B8 4B FF FA F9 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365A5C 003629BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365A60 003629C0 7C 08 03 A6 */ mtlr r0 +/* 80365A64 003629C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365A68 003629C8 4E 80 00 20 */ blr + +.global "SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" +"SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc": +/* 80365A6C 003629CC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80365A70 003629D0 7C 08 02 A6 */ mflr r0 +/* 80365A74 003629D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80365A78 003629D8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80365A7C 003629DC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80365A80 003629E0 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80365A84 003629E4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80365A88 003629E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80365A8C 003629EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80365A90 003629F0 3C 00 43 30 */ lis r0, 0x4330 +/* 80365A94 003629F4 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 80365A98 003629F8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80365A9C 003629FC 7C 9F 23 78 */ mr r31, r4 +/* 80365AA0 00362A00 3C 80 80 5A */ lis r4, lbl_805A6B90@ha +/* 80365AA4 00362A04 C8 62 CD C8 */ lfd f3, lbl_805AEAE8@sda21(r2) +/* 80365AA8 00362A08 90 01 00 08 */ stw r0, 8(r1) +/* 80365AAC 00362A0C FF C0 08 90 */ fmr f30, f1 +/* 80365AB0 00362A10 FF E0 10 90 */ fmr f31, f2 +/* 80365AB4 00362A14 38 84 6B 90 */ addi r4, r4, lbl_805A6B90@l +/* 80365AB8 00362A18 C8 01 00 08 */ lfd f0, 8(r1) +/* 80365ABC 00362A1C 7C 7E 1B 78 */ mr r30, r3 +/* 80365AC0 00362A20 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80365AC4 00362A24 D0 0D 9E 74 */ stfs f0, lbl_805A8A34@sda21(r13) +/* 80365AC8 00362A28 4B CE CB 19 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 80365ACC 00362A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365AD0 00362A30 41 82 00 3C */ beq lbl_80365B0C +/* 80365AD4 00362A34 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 80365AD8 00362A38 3C 00 43 30 */ lis r0, 0x4330 +/* 80365ADC 00362A3C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80365AE0 00362A40 C8 42 CD C8 */ lfd f2, lbl_805AEAE8@sda21(r2) +/* 80365AE4 00362A44 90 01 00 08 */ stw r0, 8(r1) +/* 80365AE8 00362A48 C8 01 00 08 */ lfd f0, 8(r1) +/* 80365AEC 00362A4C 90 61 00 14 */ stw r3, 0x14(r1) +/* 80365AF0 00362A50 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80365AF4 00362A54 90 01 00 10 */ stw r0, 0x10(r1) +/* 80365AF8 00362A58 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80365AFC 00362A5C D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365B00 00362A60 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80365B04 00362A64 4B FF FA 4D */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365B08 00362A68 48 00 00 88 */ b lbl_80365B90 +lbl_80365B0C: +/* 80365B0C 00362A6C C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365B10 00362A70 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 80365B14 00362A74 40 82 00 0C */ bne lbl_80365B20 +/* 80365B18 00362A78 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365B1C 00362A7C 48 00 00 0C */ b lbl_80365B28 +lbl_80365B20: +/* 80365B20 00362A80 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) +/* 80365B24 00362A84 EC 20 F0 24 */ fdivs f1, f0, f30 +lbl_80365B28: +/* 80365B28 00362A88 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365B2C 00362A8C D0 2D AA C8 */ stfs f1, lbl_805A9688@sda21(r13) +/* 80365B30 00362A90 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80365B34 00362A94 40 82 00 0C */ bne lbl_80365B40 +/* 80365B38 00362A98 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365B3C 00362A9C 48 00 00 0C */ b lbl_80365B48 +lbl_80365B40: +/* 80365B40 00362AA0 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365B44 00362AA4 EC 00 F8 24 */ fdivs f0, f0, f31 +lbl_80365B48: +/* 80365B48 00362AA8 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) +/* 80365B4C 00362AAC D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +/* 80365B50 00362AB0 2C 00 00 01 */ cmpwi r0, 1 +/* 80365B54 00362AB4 40 82 00 24 */ bne lbl_80365B78 +/* 80365B58 00362AB8 C0 22 CD B0 */ lfs f1, lbl_805AEAD0@sda21(r2) +/* 80365B5C 00362ABC D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365B60 00362AC0 4B FF F9 F1 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365B64 00362AC4 7F C3 F3 78 */ mr r3, r30 +/* 80365B68 00362AC8 4B FF F8 E9 */ bl sub_80365450 +/* 80365B6C 00362ACC 38 00 00 04 */ li r0, 4 +/* 80365B70 00362AD0 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365B74 00362AD4 48 00 00 1C */ b lbl_80365B90 +lbl_80365B78: +/* 80365B78 00362AD8 38 00 00 02 */ li r0, 2 +/* 80365B7C 00362ADC 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 80365B80 00362AE0 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365B84 00362AE4 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l +/* 80365B88 00362AE8 7F C4 F3 78 */ mr r4, r30 +/* 80365B8C 00362AEC 4B FD 81 D1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80365B90: +/* 80365B90 00362AF0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80365B94 00362AF4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80365B98 00362AF8 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80365B9C 00362AFC CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80365BA0 00362B00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80365BA4 00362B04 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80365BA8 00362B08 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80365BAC 00362B0C 7C 08 03 A6 */ mtlr r0 +/* 80365BB0 00362B10 38 21 00 40 */ addi r1, r1, 0x40 +/* 80365BB4 00362B14 4E 80 00 20 */ blr + +.global "SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" +"SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc": +/* 80365BB8 00362B18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365BBC 00362B1C 7C 08 02 A6 */ mflr r0 +/* 80365BC0 00362B20 3C A0 80 5A */ lis r5, lbl_805A6B60@ha +/* 80365BC4 00362B24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365BC8 00362B28 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80365BCC 00362B2C FF E0 10 90 */ fmr f31, f2 +/* 80365BD0 00362B30 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80365BD4 00362B34 FF C0 08 90 */ fmr f30, f1 +/* 80365BD8 00362B38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80365BDC 00362B3C 7C 9F 23 78 */ mr r31, r4 +/* 80365BE0 00362B40 93 C1 00 08 */ stw r30, 8(r1) +/* 80365BE4 00362B44 7C 7E 1B 78 */ mr r30, r3 +/* 80365BE8 00362B48 38 65 6B 60 */ addi r3, r5, lbl_805A6B60@l +/* 80365BEC 00362B4C 7F C4 F3 78 */ mr r4, r30 +/* 80365BF0 00362B50 4B FD 81 6D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365BF4 00362B54 FC 20 F0 90 */ fmr f1, f30 +/* 80365BF8 00362B58 7F C3 F3 78 */ mr r3, r30 +/* 80365BFC 00362B5C FC 40 F8 90 */ fmr f2, f31 +/* 80365C00 00362B60 7F E4 FB 78 */ mr r4, r31 +/* 80365C04 00362B64 4B FF FE 69 */ bl "SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" +/* 80365C08 00362B68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365C0C 00362B6C CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80365C10 00362B70 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80365C14 00362B74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80365C18 00362B78 83 C1 00 08 */ lwz r30, 8(r1) +/* 80365C1C 00362B7C 7C 08 03 A6 */ mtlr r0 +/* 80365C20 00362B80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365C24 00362B84 4E 80 00 20 */ blr + +.global Update__19CStreamAudioManagerFf +Update__19CStreamAudioManagerFf: +/* 80365C28 00362B88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365C2C 00362B8C 7C 08 02 A6 */ mflr r0 +/* 80365C30 00362B90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365C34 00362B94 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80365C38 00362B98 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80365C3C 00362B9C 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) +/* 80365C40 00362BA0 FF E0 08 90 */ fmr f31, f1 +/* 80365C44 00362BA4 2C 00 00 05 */ cmpwi r0, 5 +/* 80365C48 00362BA8 41 82 00 68 */ beq lbl_80365CB0 +/* 80365C4C 00362BAC 40 80 00 14 */ bge lbl_80365C60 +/* 80365C50 00362BB0 2C 00 00 02 */ cmpwi r0, 2 +/* 80365C54 00362BB4 41 82 00 18 */ beq lbl_80365C6C +/* 80365C58 00362BB8 40 80 00 D4 */ bge lbl_80365D2C +/* 80365C5C 00362BBC 48 00 01 04 */ b lbl_80365D60 +lbl_80365C60: +/* 80365C60 00362BC0 2C 00 00 07 */ cmpwi r0, 7 +/* 80365C64 00362BC4 40 80 00 FC */ bge lbl_80365D60 +/* 80365C68 00362BC8 48 00 00 8C */ b lbl_80365CF4 +lbl_80365C6C: +/* 80365C6C 00362BCC C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) +/* 80365C70 00362BD0 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365C74 00362BD4 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365C78 00362BD8 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 80365C7C 00362BDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80365C80 00362BE0 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365C84 00362BE4 4C 40 13 82 */ cror 2, 0, 2 +/* 80365C88 00362BE8 40 82 00 1C */ bne lbl_80365CA4 +/* 80365C8C 00362BEC 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 80365C90 00362BF0 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365C94 00362BF4 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l +/* 80365C98 00362BF8 4B FF F7 B9 */ bl sub_80365450 +/* 80365C9C 00362BFC 38 00 00 03 */ li r0, 3 +/* 80365CA0 00362C00 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +lbl_80365CA4: +/* 80365CA4 00362C04 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365CA8 00362C08 4B FF F8 A9 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365CAC 00362C0C 48 00 00 B4 */ b lbl_80365D60 +lbl_80365CB0: +/* 80365CB0 00362C10 C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) +/* 80365CB4 00362C14 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365CB8 00362C18 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365CBC 00362C1C EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 80365CC0 00362C20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80365CC4 00362C24 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365CC8 00362C28 4C 40 13 82 */ cror 2, 0, 2 +/* 80365CCC 00362C2C 40 82 00 20 */ bne lbl_80365CEC +/* 80365CD0 00362C30 38 00 00 01 */ li r0, 1 +/* 80365CD4 00362C34 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365CD8 00362C38 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365CDC 00362C3C 4B FF FA 71 */ bl HandleMusicMute__19CStreamAudioManagerFv +/* 80365CE0 00362C40 C0 2D 9E 74 */ lfs f1, lbl_805A8A34@sda21(r13) +/* 80365CE4 00362C44 4B FF F8 6D */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365CE8 00362C48 48 00 00 78 */ b lbl_80365D60 +lbl_80365CEC: +/* 80365CEC 00362C4C 4B FF F8 65 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365CF0 00362C50 48 00 00 70 */ b lbl_80365D60 +lbl_80365CF4: +/* 80365CF4 00362C54 C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) +/* 80365CF8 00362C58 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) +/* 80365CFC 00362C5C C0 22 CD B0 */ lfs f1, lbl_805AEAD0@sda21(r2) +/* 80365D00 00362C60 EC 02 07 FC */ fnmsubs f0, f2, f31, f0 +/* 80365D04 00362C64 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80365D08 00362C68 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365D0C 00362C6C 4C 40 13 82 */ cror 2, 0, 2 +/* 80365D10 00362C70 40 82 00 10 */ bne lbl_80365D20 +/* 80365D14 00362C74 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365D18 00362C78 4B FF F8 39 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365D1C 00362C7C 48 00 00 44 */ b lbl_80365D60 +lbl_80365D20: +/* 80365D20 00362C80 FC 20 00 90 */ fmr f1, f0 +/* 80365D24 00362C84 4B FF F8 2D */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365D28 00362C88 48 00 00 38 */ b lbl_80365D60 +lbl_80365D2C: +/* 80365D2C 00362C8C C0 2D AA C4 */ lfs f1, lbl_805A9684@sda21(r13) +/* 80365D30 00362C90 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) +/* 80365D34 00362C94 C0 4D 9E 74 */ lfs f2, lbl_805A8A34@sda21(r13) +/* 80365D38 00362C98 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80365D3C 00362C9C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80365D40 00362CA0 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365D44 00362CA4 4C 41 13 82 */ cror 2, 1, 2 +/* 80365D48 00362CA8 40 82 00 10 */ bne lbl_80365D58 +/* 80365D4C 00362CAC 38 00 00 00 */ li r0, 0 +/* 80365D50 00362CB0 D0 4D AA C0 */ stfs f2, lbl_805A9680@sda21(r13) +/* 80365D54 00362CB4 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +lbl_80365D58: +/* 80365D58 00362CB8 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365D5C 00362CBC 4B FF F7 F5 */ bl InternalSetVolume__19CStreamAudioManagerFf +lbl_80365D60: +/* 80365D60 00362CC0 FC 20 F8 90 */ fmr f1, f31 +/* 80365D64 00362CC4 48 00 03 F5 */ bl UpdateDSPStreamers__19CStreamAudioManagerFf +/* 80365D68 00362CC8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80365D6C 00362CCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365D70 00362CD0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80365D74 00362CD4 7C 08 03 A6 */ mtlr r0 +/* 80365D78 00362CD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365D7C 00362CDC 4E 80 00 20 */ blr + +.global Start__19CStreamAudioManagerFiRCQ24rstl6stringib +Start__19CStreamAudioManagerFiRCQ24rstl6stringib: +/* 80365D80 00362CE0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80365D84 00362CE4 7C 08 02 A6 */ mflr r0 +/* 80365D88 00362CE8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80365D8C 00362CEC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80365D90 00362CF0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80365D94 00362CF4 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80365D98 00362CF8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80365D9C 00362CFC BF 41 00 68 */ stmw r26, 0x68(r1) +/* 80365DA0 00362D00 7C 7B 1B 78 */ mr r27, r3 +/* 80365DA4 00362D04 3C E0 80 54 */ lis r7, lbl_80540580@ha +/* 80365DA8 00362D08 1D 1B 00 2C */ mulli r8, r27, 0x2c +/* 80365DAC 00362D0C 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 80365DB0 00362D10 38 E7 05 80 */ addi r7, r7, lbl_80540580@l +/* 80365DB4 00362D14 FF C0 08 90 */ fmr f30, f1 +/* 80365DB8 00362D18 FF E0 10 90 */ fmr f31, f2 +/* 80365DBC 00362D1C 38 03 05 E4 */ addi r0, r3, lbl_805405E4@l +/* 80365DC0 00362D20 7F E7 42 14 */ add r31, r7, r8 +/* 80365DC4 00362D24 7C 9C 23 78 */ mr r28, r4 +/* 80365DC8 00362D28 7C BD 2B 78 */ mr r29, r5 +/* 80365DCC 00362D2C 7C DE 33 78 */ mr r30, r6 +/* 80365DD0 00362D30 7F E3 FB 78 */ mr r3, r31 +/* 80365DD4 00362D34 7F 40 42 14 */ add r26, r0, r8 +/* 80365DD8 00362D38 4B FD 8C 15 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365DDC 00362D3C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80365DE0 00362D40 7C 60 00 34 */ cntlzw r0, r3 +/* 80365DE4 00362D44 54 03 D9 7E */ srwi r3, r0, 5 +/* 80365DE8 00362D48 7C 04 00 D0 */ neg r0, r4 +/* 80365DEC 00362D4C 7C 00 23 78 */ or r0, r0, r4 +/* 80365DF0 00362D50 54 04 0F FF */ rlwinm. r4, r0, 1, 0x1f, 0x1f +/* 80365DF4 00362D54 41 82 00 8C */ beq lbl_80365E80 +/* 80365DF8 00362D58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365DFC 00362D5C 40 82 00 84 */ bne lbl_80365E80 +/* 80365E00 00362D60 FC 20 F0 90 */ fmr f1, f30 +/* 80365E04 00362D64 7F 85 E3 78 */ mr r5, r28 +/* 80365E08 00362D68 FC 40 F8 90 */ fmr f2, f31 +/* 80365E0C 00362D6C 7F C8 F3 78 */ mr r8, r30 +/* 80365E10 00362D70 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365E14 00362D74 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 80365E18 00362D78 38 80 00 01 */ li r4, 1 +/* 80365E1C 00362D7C 38 E0 FF FF */ li r7, -1 +/* 80365E20 00362D80 48 00 06 A5 */ bl __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib +/* 80365E24 00362D84 7F 43 D3 78 */ mr r3, r26 +/* 80365E28 00362D88 38 81 00 34 */ addi r4, r1, 0x34 +/* 80365E2C 00362D8C 4B FD 7F 31 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365E30 00362D90 80 81 00 44 */ lwz r4, 0x44(r1) +/* 80365E34 00362D94 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365E38 00362D98 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80365E3C 00362D9C 90 9A 00 10 */ stw r4, 0x10(r26) +/* 80365E40 00362DA0 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80365E44 00362DA4 90 1A 00 14 */ stw r0, 0x14(r26) +/* 80365E48 00362DA8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80365E4C 00362DAC D0 3A 00 18 */ stfs f1, 0x18(r26) +/* 80365E50 00362DB0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80365E54 00362DB4 D0 1A 00 1C */ stfs f0, 0x1c(r26) +/* 80365E58 00362DB8 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80365E5C 00362DBC 90 1A 00 20 */ stw r0, 0x20(r26) +/* 80365E60 00362DC0 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80365E64 00362DC4 D0 1A 00 24 */ stfs f0, 0x24(r26) +/* 80365E68 00362DC8 98 1A 00 28 */ stb r0, 0x28(r26) +/* 80365E6C 00362DCC 4B FD 7C 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365E70 00362DD0 7F 63 DB 78 */ mr r3, r27 +/* 80365E74 00362DD4 7F E4 FB 78 */ mr r4, r31 +/* 80365E78 00362DD8 48 00 01 4D */ bl Stop__19CStreamAudioManagerFiRCQ24rstl6string +/* 80365E7C 00362DDC 48 00 01 24 */ b lbl_80365FA0 +lbl_80365E80: +/* 80365E80 00362DE0 28 04 00 00 */ cmplwi r4, 0 +/* 80365E84 00362DE4 41 82 00 60 */ beq lbl_80365EE4 +/* 80365E88 00362DE8 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80365E8C 00362DEC 57 A0 06 3E */ clrlwi r0, r29, 0x18 +/* 80365E90 00362DF0 C0 02 CD D0 */ lfs f0, lbl_805AEAF0@sda21(r2) +/* 80365E94 00362DF4 D3 FF 00 1C */ stfs f31, 0x1c(r31) +/* 80365E98 00362DF8 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80365E9C 00362DFC C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 80365EA0 00362E00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80365EA4 00362E04 4C 40 13 82 */ cror 2, 0, 2 +/* 80365EA8 00362E08 40 82 00 30 */ bne lbl_80365ED8 +/* 80365EAC 00362E0C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80365EB0 00362E10 88 9F 00 28 */ lbz r4, 0x28(r31) +/* 80365EB4 00362E14 48 00 05 91 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80365EB8 00362E18 7C 64 1B 78 */ mr r4, r3 +/* 80365EBC 00362E1C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80365EC0 00362E20 4B FF DD 15 */ bl UpdateVolume__17CDSPStreamManagerFic +/* 80365EC4 00362E24 C0 02 CD D4 */ lfs f0, lbl_805AEAF4@sda21(r2) +/* 80365EC8 00362E28 38 00 00 02 */ li r0, 2 +/* 80365ECC 00362E2C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80365ED0 00362E30 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80365ED4 00362E34 48 00 00 CC */ b lbl_80365FA0 +lbl_80365ED8: +/* 80365ED8 00362E38 38 00 00 01 */ li r0, 1 +/* 80365EDC 00362E3C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80365EE0 00362E40 48 00 00 C0 */ b lbl_80365FA0 +lbl_80365EE4: +/* 80365EE4 00362E44 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365EE8 00362E48 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80365EEC 00362E4C 40 81 00 10 */ ble lbl_80365EFC +/* 80365EF0 00362E50 38 60 00 00 */ li r3, 0 +/* 80365EF4 00362E54 3B 40 00 01 */ li r26, 1 +/* 80365EF8 00362E58 48 00 00 0C */ b lbl_80365F04 +lbl_80365EFC: +/* 80365EFC 00362E5C 57 A3 06 3E */ clrlwi r3, r29, 0x18 +/* 80365F00 00362E60 3B 40 00 02 */ li r26, 2 +lbl_80365F04: +/* 80365F04 00362E64 7C 1B 00 D0 */ neg r0, r27 +/* 80365F08 00362E68 7F C4 F3 78 */ mr r4, r30 +/* 80365F0C 00362E6C 7C 00 DB 78 */ or r0, r0, r27 +/* 80365F10 00362E70 54 1B 0F FE */ srwi r27, r0, 0x1f +/* 80365F14 00362E74 48 00 05 31 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80365F18 00362E78 7C 64 1B 78 */ mr r4, r3 +/* 80365F1C 00362E7C 7F 83 E3 78 */ mr r3, r28 +/* 80365F20 00362E80 7F 65 DB 78 */ mr r5, r27 +/* 80365F24 00362E84 4B FF E2 91 */ bl StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb +/* 80365F28 00362E88 2C 03 FF FF */ cmpwi r3, -1 +/* 80365F2C 00362E8C 41 82 00 74 */ beq lbl_80365FA0 +/* 80365F30 00362E90 FC 20 F0 90 */ fmr f1, f30 +/* 80365F34 00362E94 7F 44 D3 78 */ mr r4, r26 +/* 80365F38 00362E98 FC 40 F8 90 */ fmr f2, f31 +/* 80365F3C 00362E9C 7F 85 E3 78 */ mr r5, r28 +/* 80365F40 00362EA0 7C 67 1B 78 */ mr r7, r3 +/* 80365F44 00362EA4 7F C8 F3 78 */ mr r8, r30 +/* 80365F48 00362EA8 38 61 00 08 */ addi r3, r1, 8 +/* 80365F4C 00362EAC 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 80365F50 00362EB0 48 00 05 75 */ bl __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib +/* 80365F54 00362EB4 7F E3 FB 78 */ mr r3, r31 +/* 80365F58 00362EB8 38 81 00 08 */ addi r4, r1, 8 +/* 80365F5C 00362EBC 4B FD 7E 01 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365F60 00362EC0 80 81 00 18 */ lwz r4, 0x18(r1) +/* 80365F64 00362EC4 38 61 00 08 */ addi r3, r1, 8 +/* 80365F68 00362EC8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80365F6C 00362ECC 90 9F 00 10 */ stw r4, 0x10(r31) +/* 80365F70 00362ED0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80365F74 00362ED4 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80365F78 00362ED8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80365F7C 00362EDC D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80365F80 00362EE0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80365F84 00362EE4 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80365F88 00362EE8 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80365F8C 00362EEC 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80365F90 00362EF0 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80365F94 00362EF4 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80365F98 00362EF8 98 1F 00 28 */ stb r0, 0x28(r31) +/* 80365F9C 00362EFC 4B FD 7B 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80365FA0: +/* 80365FA0 00362F00 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80365FA4 00362F04 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80365FA8 00362F08 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80365FAC 00362F0C CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80365FB0 00362F10 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 80365FB4 00362F14 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80365FB8 00362F18 7C 08 03 A6 */ mtlr r0 +/* 80365FBC 00362F1C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80365FC0 00362F20 4E 80 00 20 */ blr + +.global Stop__19CStreamAudioManagerFiRCQ24rstl6string +Stop__19CStreamAudioManagerFiRCQ24rstl6string: +/* 80365FC4 00362F24 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80365FC8 00362F28 7C 08 02 A6 */ mflr r0 +/* 80365FCC 00362F2C 3C A0 80 54 */ lis r5, lbl_80540580@ha +/* 80365FD0 00362F30 90 01 00 54 */ stw r0, 0x54(r1) +/* 80365FD4 00362F34 38 A5 05 80 */ addi r5, r5, lbl_80540580@l +/* 80365FD8 00362F38 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80365FDC 00362F3C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80365FE0 00362F40 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80365FE4 00362F44 7C 9D 23 78 */ mr r29, r4 +/* 80365FE8 00362F48 93 81 00 40 */ stw r28, 0x40(r1) +/* 80365FEC 00362F4C 7C 7C 1B 78 */ mr r28, r3 +/* 80365FF0 00362F50 1C DC 00 2C */ mulli r6, r28, 0x2c +/* 80365FF4 00362F54 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 80365FF8 00362F58 38 03 05 E4 */ addi r0, r3, lbl_805405E4@l +/* 80365FFC 00362F5C 7F C0 32 14 */ add r30, r0, r6 +/* 80366000 00362F60 7F C3 F3 78 */ mr r3, r30 +/* 80366004 00362F64 7F E5 32 14 */ add r31, r5, r6 +/* 80366008 00362F68 4B FD 89 E5 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036600C 00362F6C 2C 03 00 00 */ cmpwi r3, 0 +/* 80366010 00362F70 40 82 00 5C */ bne lbl_8036606C +/* 80366014 00362F74 38 61 00 08 */ addi r3, r1, 8 +/* 80366018 00362F78 48 00 05 39 */ bl __ct__20SDSPStreamCacheEntryFv +/* 8036601C 00362F7C 7F C3 F3 78 */ mr r3, r30 +/* 80366020 00362F80 38 81 00 08 */ addi r4, r1, 8 +/* 80366024 00362F84 4B FD 7D 39 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366028 00362F88 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8036602C 00362F8C 38 61 00 08 */ addi r3, r1, 8 +/* 80366030 00362F90 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80366034 00362F94 90 9E 00 10 */ stw r4, 0x10(r30) +/* 80366038 00362F98 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8036603C 00362F9C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80366040 00362FA0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80366044 00362FA4 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80366048 00362FA8 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8036604C 00362FAC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80366050 00362FB0 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80366054 00362FB4 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80366058 00362FB8 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8036605C 00362FBC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80366060 00362FC0 98 1E 00 28 */ stb r0, 0x28(r30) +/* 80366064 00362FC4 4B FD 7A 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80366068 00362FC8 48 00 00 64 */ b lbl_803660CC +lbl_8036606C: +/* 8036606C 00362FCC 7F E3 FB 78 */ mr r3, r31 +/* 80366070 00362FD0 7F A4 EB 78 */ mr r4, r29 +/* 80366074 00362FD4 4B FD 89 79 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366078 00362FD8 2C 03 00 00 */ cmpwi r3, 0 +/* 8036607C 00362FDC 40 82 00 50 */ bne lbl_803660CC +/* 80366080 00362FE0 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80366084 00362FE4 2C 00 FF FF */ cmpwi r0, -1 +/* 80366088 00362FE8 41 82 00 44 */ beq lbl_803660CC +/* 8036608C 00362FEC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366090 00362FF0 2C 00 00 00 */ cmpwi r0, 0 +/* 80366094 00362FF4 40 82 00 08 */ bne lbl_8036609C +/* 80366098 00362FF8 48 00 00 34 */ b lbl_803660CC +lbl_8036609C: +/* 8036609C 00362FFC C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 803660A0 00363000 C0 02 CD D0 */ lfs f0, lbl_805AEAF0@sda21(r2) +/* 803660A4 00363004 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803660A8 00363008 4C 40 13 82 */ cror 2, 0, 2 +/* 803660AC 0036300C 40 82 00 10 */ bne lbl_803660BC +/* 803660B0 00363010 7F 83 E3 78 */ mr r3, r28 +/* 803660B4 00363014 48 00 00 E1 */ bl StopStreaming__19CStreamAudioManagerFi +/* 803660B8 00363018 48 00 00 14 */ b lbl_803660CC +lbl_803660BC: +/* 803660BC 0036301C 2C 00 00 03 */ cmpwi r0, 3 +/* 803660C0 00363020 41 82 00 0C */ beq lbl_803660CC +/* 803660C4 00363024 38 00 00 03 */ li r0, 3 +/* 803660C8 00363028 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_803660CC: +/* 803660CC 0036302C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803660D0 00363030 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 803660D4 00363034 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 803660D8 00363038 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 803660DC 0036303C 83 81 00 40 */ lwz r28, 0x40(r1) +/* 803660E0 00363040 7C 08 03 A6 */ mtlr r0 +/* 803660E4 00363044 38 21 00 50 */ addi r1, r1, 0x50 +/* 803660E8 00363048 4E 80 00 20 */ blr + +.global FadeBackIn__19CStreamAudioManagerFif +FadeBackIn__19CStreamAudioManagerFif: +/* 803660EC 0036304C 1C 83 00 2C */ mulli r4, r3, 0x2c +/* 803660F0 00363050 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803660F4 00363054 38 03 05 80 */ addi r0, r3, lbl_80540580@l +/* 803660F8 00363058 7C 60 22 14 */ add r3, r0, r4 +/* 803660FC 0036305C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80366100 00363060 2C 00 00 02 */ cmpwi r0, 2 +/* 80366104 00363064 4D 82 00 20 */ beqlr +/* 80366108 00363068 2C 00 00 00 */ cmpwi r0, 0 +/* 8036610C 0036306C 4D 82 00 20 */ beqlr +/* 80366110 00363070 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 80366114 00363074 38 00 00 01 */ li r0, 1 +/* 80366118 00363078 90 03 00 10 */ stw r0, 0x10(r3) +/* 8036611C 0036307C 4E 80 00 20 */ blr + +.global TemporaryFadeOut__19CStreamAudioManagerFif +TemporaryFadeOut__19CStreamAudioManagerFif: +/* 80366120 00363080 1C 83 00 2C */ mulli r4, r3, 0x2c +/* 80366124 00363084 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 80366128 00363088 38 03 05 80 */ addi r0, r3, lbl_80540580@l +/* 8036612C 0036308C 7C 60 22 14 */ add r3, r0, r4 +/* 80366130 00363090 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80366134 00363094 2C 00 00 03 */ cmpwi r0, 3 +/* 80366138 00363098 4D 82 00 20 */ beqlr +/* 8036613C 0036309C 2C 00 00 00 */ cmpwi r0, 0 +/* 80366140 003630A0 40 82 00 08 */ bne lbl_80366148 + +.global sub_80366144 +sub_80366144: +/* 80366144 003630A4 4E 80 00 20 */ blr +lbl_80366148: +/* 80366148 003630A8 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 8036614C 003630AC 38 00 00 04 */ li r0, 4 +/* 80366150 003630B0 90 03 00 10 */ stw r0, 0x10(r3) +/* 80366154 003630B4 4E 80 00 20 */ blr + +.global UpdateDSPStreamers__19CStreamAudioManagerFf +UpdateDSPStreamers__19CStreamAudioManagerFf: +/* 80366158 003630B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036615C 003630BC 7C 08 02 A6 */ mflr r0 +/* 80366160 003630C0 38 60 00 00 */ li r3, 0 +/* 80366164 003630C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80366168 003630C8 DB E1 00 08 */ stfd f31, 8(r1) +/* 8036616C 003630CC FF E0 08 90 */ fmr f31, f1 +/* 80366170 003630D0 48 00 00 79 */ bl UpdateDSP__19CStreamAudioManagerFif +/* 80366174 003630D4 FC 20 F8 90 */ fmr f1, f31 +/* 80366178 003630D8 38 60 00 01 */ li r3, 1 +/* 8036617C 003630DC 48 00 00 6D */ bl UpdateDSP__19CStreamAudioManagerFif +/* 80366180 003630E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366184 003630E4 CB E1 00 08 */ lfd f31, 8(r1) +/* 80366188 003630E8 7C 08 03 A6 */ mtlr r0 +/* 8036618C 003630EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366190 003630F0 4E 80 00 20 */ blr + +.global StopStreaming__19CStreamAudioManagerFi +StopStreaming__19CStreamAudioManagerFi: +/* 80366194 003630F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80366198 003630F8 7C 08 02 A6 */ mflr r0 +/* 8036619C 003630FC 1C 83 00 2C */ mulli r4, r3, 0x2c +/* 803661A0 00363100 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803661A4 00363104 90 01 00 14 */ stw r0, 0x14(r1) +/* 803661A8 00363108 38 00 00 00 */ li r0, 0 +/* 803661AC 0036310C 38 63 05 80 */ addi r3, r3, lbl_80540580@l +/* 803661B0 00363110 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803661B4 00363114 7F E3 22 14 */ add r31, r3, r4 +/* 803661B8 00363118 90 1F 00 10 */ stw r0, 0x10(r31) +/* 803661BC 0036311C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803661C0 00363120 4B FF DB D1 */ bl StopStreaming__17CDSPStreamManagerFi +/* 803661C4 00363124 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 803661C8 00363128 38 00 FF FF */ li r0, -1 +/* 803661CC 0036312C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803661D0 00363130 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803661D4 00363134 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803661D8 00363138 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803661DC 0036313C 7C 08 03 A6 */ mtlr r0 +/* 803661E0 00363140 38 21 00 10 */ addi r1, r1, 0x10 +/* 803661E4 00363144 4E 80 00 20 */ blr + +.global UpdateDSP__19CStreamAudioManagerFif +UpdateDSP__19CStreamAudioManagerFif: +/* 803661E8 00363148 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803661EC 0036314C 7C 08 02 A6 */ mflr r0 +/* 803661F0 00363150 90 01 00 74 */ stw r0, 0x74(r1) +/* 803661F4 00363154 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 803661F8 00363158 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 803661FC 0036315C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80366200 00363160 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80366204 00363164 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80366208 00363168 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8036620C 0036316C 7C 7E 1B 78 */ mr r30, r3 +/* 80366210 00363170 3C 80 80 54 */ lis r4, lbl_80540580@ha +/* 80366214 00363174 1C BE 00 2C */ mulli r5, r30, 0x2c +/* 80366218 00363178 FF C0 08 90 */ fmr f30, f1 +/* 8036621C 0036317C 38 04 05 80 */ addi r0, r4, lbl_80540580@l +/* 80366220 00363180 7F E0 2A 14 */ add r31, r0, r5 +/* 80366224 00363184 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366228 00363188 2C 00 00 00 */ cmpwi r0, 0 +/* 8036622C 0036318C 40 82 00 90 */ bne lbl_803662BC +/* 80366230 00363190 3C 80 80 54 */ lis r4, lbl_805405E4@ha +/* 80366234 00363194 38 04 05 E4 */ addi r0, r4, lbl_805405E4@l +/* 80366238 00363198 7F E0 2A 14 */ add r31, r0, r5 +/* 8036623C 0036319C 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366240 003631A0 2C 00 00 00 */ cmpwi r0, 0 +/* 80366244 003631A4 41 82 01 D8 */ beq lbl_8036641C +/* 80366248 003631A8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8036624C 003631AC 7F E4 FB 78 */ mr r4, r31 +/* 80366250 003631B0 C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 80366254 003631B4 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80366258 003631B8 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8036625C 003631BC 88 DF 00 28 */ lbz r6, 0x28(r31) +/* 80366260 003631C0 4B FF FB 21 */ bl Start__19CStreamAudioManagerFiRCQ24rstl6stringib +/* 80366264 003631C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80366268 003631C8 48 00 02 E9 */ bl __ct__20SDSPStreamCacheEntryFv +/* 8036626C 003631CC 7F E3 FB 78 */ mr r3, r31 +/* 80366270 003631D0 38 81 00 0C */ addi r4, r1, 0xc +/* 80366274 003631D4 4B FD 7A E9 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366278 003631D8 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8036627C 003631DC 38 61 00 0C */ addi r3, r1, 0xc +/* 80366280 003631E0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80366284 003631E4 90 9F 00 10 */ stw r4, 0x10(r31) +/* 80366288 003631E8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8036628C 003631EC 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80366290 003631F0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80366294 003631F4 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80366298 003631F8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8036629C 003631FC D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 803662A0 00363200 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 803662A4 00363204 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803662A8 00363208 88 01 00 34 */ lbz r0, 0x34(r1) +/* 803662AC 0036320C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803662B0 00363210 98 1F 00 28 */ stb r0, 0x28(r31) +/* 803662B4 00363214 4B FD 78 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803662B8 00363218 48 00 01 64 */ b lbl_8036641C +lbl_803662BC: +/* 803662BC 0036321C 41 82 00 30 */ beq lbl_803662EC +/* 803662C0 00363220 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803662C4 00363224 4B FF D6 B9 */ bl GetStreamState__17CDSPStreamManagerFi +/* 803662C8 00363228 2C 03 00 01 */ cmpwi r3, 1 +/* 803662CC 0036322C 40 82 00 20 */ bne lbl_803662EC +/* 803662D0 00363230 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803662D4 00363234 4B FF D7 79 */ bl CanStop__17CDSPStreamManagerFi +/* 803662D8 00363238 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803662DC 0036323C 41 82 00 10 */ beq lbl_803662EC +/* 803662E0 00363240 7F C3 F3 78 */ mr r3, r30 +/* 803662E4 00363244 4B FF FE B1 */ bl StopStreaming__19CStreamAudioManagerFi +/* 803662E8 00363248 48 00 01 34 */ b lbl_8036641C +lbl_803662EC: +/* 803662EC 0036324C 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 803662F0 00363250 2C 00 00 01 */ cmpwi r0, 1 +/* 803662F4 00363254 41 82 00 14 */ beq lbl_80366308 +/* 803662F8 00363258 2C 00 00 03 */ cmpwi r0, 3 +/* 803662FC 0036325C 41 82 00 0C */ beq lbl_80366308 +/* 80366300 00363260 2C 00 00 04 */ cmpwi r0, 4 +/* 80366304 00363264 40 82 00 14 */ bne lbl_80366318 +lbl_80366308: +/* 80366308 00363268 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8036630C 0036326C 4B FF D8 09 */ bl IsStreamAvailable__17CDSPStreamManagerFi +/* 80366310 00363270 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80366314 00363274 40 82 00 2C */ bne lbl_80366340 +lbl_80366318: +/* 80366318 00363278 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8036631C 0036327C 2C 00 00 02 */ cmpwi r0, 2 +/* 80366320 00363280 40 82 00 FC */ bne lbl_8036641C +/* 80366324 00363284 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80366328 00363288 88 9F 00 28 */ lbz r4, 0x28(r31) +/* 8036632C 0036328C 48 00 01 19 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80366330 00363290 7C 64 1B 78 */ mr r4, r3 +/* 80366334 00363294 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80366338 00363298 4B FF D8 9D */ bl UpdateVolume__17CDSPStreamManagerFic +/* 8036633C 0036329C 48 00 00 E0 */ b lbl_8036641C +lbl_80366340: +/* 80366340 003632A0 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366344 003632A4 2C 00 00 01 */ cmpwi r0, 1 +/* 80366348 003632A8 40 82 00 3C */ bne lbl_80366384 +/* 8036634C 003632AC C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80366350 003632B0 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 80366354 003632B4 EC 3E 00 24 */ fdivs f1, f30, f0 +/* 80366358 003632B8 C0 02 CD D4 */ lfs f0, lbl_805AEAF4@sda21(r2) +/* 8036635C 003632BC EC 22 08 2A */ fadds f1, f2, f1 +/* 80366360 003632C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80366364 003632C4 4C 41 13 82 */ cror 2, 1, 2 +/* 80366368 003632C8 40 82 00 14 */ bne lbl_8036637C +/* 8036636C 003632CC D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80366370 003632D0 38 00 00 02 */ li r0, 2 +/* 80366374 003632D4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80366378 003632D8 48 00 00 5C */ b lbl_803663D4 +lbl_8036637C: +/* 8036637C 003632DC D0 3F 00 24 */ stfs f1, 0x24(r31) +/* 80366380 003632E0 48 00 00 54 */ b lbl_803663D4 +lbl_80366384: +/* 80366384 003632E4 2C 00 00 03 */ cmpwi r0, 3 +/* 80366388 003632E8 41 82 00 0C */ beq lbl_80366394 +/* 8036638C 003632EC 2C 00 00 04 */ cmpwi r0, 4 +/* 80366390 003632F0 40 82 00 44 */ bne lbl_803663D4 +lbl_80366394: +/* 80366394 003632F4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80366398 003632F8 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 8036639C 003632FC EC 3E 00 24 */ fdivs f1, f30, f0 +/* 803663A0 00363300 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 803663A4 00363304 EC 22 08 28 */ fsubs f1, f2, f1 +/* 803663A8 00363308 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803663AC 0036330C 4C 40 13 82 */ cror 2, 0, 2 +/* 803663B0 00363310 40 82 00 20 */ bne lbl_803663D0 +/* 803663B4 00363314 2C 00 00 04 */ cmpwi r0, 4 +/* 803663B8 00363318 40 82 00 0C */ bne lbl_803663C4 +/* 803663BC 0036331C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803663C0 00363320 48 00 00 14 */ b lbl_803663D4 +lbl_803663C4: +/* 803663C4 00363324 7F C3 F3 78 */ mr r3, r30 +/* 803663C8 00363328 4B FF FD CD */ bl StopStreaming__19CStreamAudioManagerFi +/* 803663CC 0036332C 48 00 00 50 */ b lbl_8036641C +lbl_803663D0: +/* 803663D0 00363330 D0 3F 00 24 */ stfs f1, 0x24(r31) +lbl_803663D4: +/* 803663D4 00363334 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 803663D8 00363338 3C 00 43 30 */ lis r0, 0x4330 +/* 803663DC 0036333C 90 01 00 38 */ stw r0, 0x38(r1) +/* 803663E0 00363340 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 803663E4 00363344 C8 42 CD C0 */ lfd f2, lbl_805AEAE0@sda21(r2) +/* 803663E8 00363348 90 01 00 3C */ stw r0, 0x3c(r1) +/* 803663EC 0036334C C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 803663F0 00363350 C8 21 00 38 */ lfd f1, 0x38(r1) +/* 803663F4 00363354 EC 21 10 28 */ fsubs f1, f1, f2 +/* 803663F8 00363358 EF E1 00 32 */ fmuls f31, f1, f0 +/* 803663FC 0036335C F3 E1 C0 08 */ psq_st f31, 8(r1), 1, qr4 +/* 80366400 00363360 88 9F 00 28 */ lbz r4, 0x28(r31) +/* 80366404 00363364 88 61 00 08 */ lbz r3, 8(r1) +/* 80366408 00363368 7C 63 07 74 */ extsb r3, r3 +/* 8036640C 0036336C 48 00 00 39 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80366410 00363370 7C 64 1B 78 */ mr r4, r3 +/* 80366414 00363374 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80366418 00363378 4B FF D7 BD */ bl UpdateVolume__17CDSPStreamManagerFic +lbl_8036641C: +/* 8036641C 0036337C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80366420 00363380 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80366424 00363384 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80366428 00363388 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8036642C 0036338C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80366430 00363390 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80366434 00363394 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80366438 00363398 7C 08 03 A6 */ mtlr r0 +/* 8036643C 0036339C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80366440 003633A0 4E 80 00 20 */ blr + +.global GetTargetDSPVolume__19CStreamAudioManagerFcb +GetTargetDSPVolume__19CStreamAudioManagerFcb: +/* 80366444 003633A4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80366448 003633A8 41 82 00 40 */ beq lbl_80366488 +/* 8036644C 003633AC 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) +/* 80366450 003633B0 28 00 00 00 */ cmplwi r0, 0 +/* 80366454 003633B4 41 82 00 2C */ beq lbl_80366480 +/* 80366458 003633B8 80 0D 9E 78 */ lwz r0, lbl_805A8A38@sda21(r13) +/* 8036645C 003633BC 3C 80 81 02 */ lis r4, 0x81020409@ha +/* 80366460 003633C0 38 84 04 09 */ addi r4, r4, 0x81020409@l +/* 80366464 003633C4 7C 03 01 D6 */ mullw r0, r3, r0 +/* 80366468 003633C8 7C 64 00 96 */ mulhw r3, r4, r0 +/* 8036646C 003633CC 7C 03 02 14 */ add r0, r3, r0 +/* 80366470 003633D0 7C 00 36 70 */ srawi r0, r0, 6 +/* 80366474 003633D4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80366478 003633D8 7C 60 1A 14 */ add r3, r0, r3 +/* 8036647C 003633DC 4E 80 00 20 */ blr +lbl_80366480: +/* 80366480 003633E0 38 60 00 00 */ li r3, 0 +/* 80366484 003633E4 4E 80 00 20 */ blr +lbl_80366488: +/* 80366488 003633E8 88 0D 9E 81 */ lbz r0, lbl_805A8A41@sda21(r13) +/* 8036648C 003633EC 28 00 00 00 */ cmplwi r0, 0 +/* 80366490 003633F0 41 82 00 2C */ beq lbl_803664BC +/* 80366494 003633F4 80 0D 9E 7C */ lwz r0, lbl_805A8A3C@sda21(r13) +/* 80366498 003633F8 3C 80 81 02 */ lis r4, 0x81020409@ha +/* 8036649C 003633FC 38 84 04 09 */ addi r4, r4, 0x81020409@l +/* 803664A0 00363400 7C 03 01 D6 */ mullw r0, r3, r0 +/* 803664A4 00363404 7C 64 00 96 */ mulhw r3, r4, r0 +/* 803664A8 00363408 7C 03 02 14 */ add r0, r3, r0 +/* 803664AC 0036340C 7C 00 36 70 */ srawi r0, r0, 6 +/* 803664B0 00363410 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803664B4 00363414 7C 60 1A 14 */ add r3, r0, r3 +/* 803664B8 00363418 4E 80 00 20 */ blr +lbl_803664BC: +/* 803664BC 0036341C 38 60 00 00 */ li r3, 0 +/* 803664C0 00363420 4E 80 00 20 */ blr + +.global __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib +__ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib: +/* 803664C4 00363424 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803664C8 00363428 7C 08 02 A6 */ mflr r0 +/* 803664CC 0036342C 90 01 00 44 */ stw r0, 0x44(r1) +/* 803664D0 00363430 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803664D4 00363434 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803664D8 00363438 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803664DC 0036343C F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803664E0 00363440 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803664E4 00363444 FF C0 08 90 */ fmr f30, f1 +/* 803664E8 00363448 7C 9C 23 78 */ mr r28, r4 +/* 803664EC 0036344C FF E0 10 90 */ fmr f31, f2 +/* 803664F0 00363450 7C 7B 1B 78 */ mr r27, r3 +/* 803664F4 00363454 7C DD 33 78 */ mr r29, r6 +/* 803664F8 00363458 7C FE 3B 78 */ mr r30, r7 +/* 803664FC 0036345C 7D 1F 43 78 */ mr r31, r8 +/* 80366500 00363460 7C A4 2B 78 */ mr r4, r5 +/* 80366504 00363464 4B FD 7C 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366508 00363468 93 9B 00 10 */ stw r28, 0x10(r27) +/* 8036650C 0036346C 7F 63 DB 78 */ mr r3, r27 +/* 80366510 00363470 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80366514 00363474 93 BB 00 14 */ stw r29, 0x14(r27) +/* 80366518 00363478 D3 DB 00 18 */ stfs f30, 0x18(r27) +/* 8036651C 0036347C D3 FB 00 1C */ stfs f31, 0x1c(r27) +/* 80366520 00363480 93 DB 00 20 */ stw r30, 0x20(r27) +/* 80366524 00363484 D0 1B 00 24 */ stfs f0, 0x24(r27) +/* 80366528 00363488 9B FB 00 28 */ stb r31, 0x28(r27) +/* 8036652C 0036348C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80366530 00363490 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80366534 00363494 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80366538 00363498 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8036653C 0036349C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80366540 003634A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80366544 003634A4 7C 08 03 A6 */ mtlr r0 +/* 80366548 003634A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036654C 003634AC 4E 80 00 20 */ blr + +.global __ct__20SDSPStreamCacheEntryFv +__ct__20SDSPStreamCacheEntryFv: +/* 80366550 003634B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80366554 003634B4 7C 08 02 A6 */ mflr r0 +/* 80366558 003634B8 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 8036655C 003634BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80366560 003634C0 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 80366564 003634C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80366568 003634C8 7C 7F 1B 78 */ mr r31, r3 +/* 8036656C 003634CC 38 61 00 08 */ addi r3, r1, 8 +/* 80366570 003634D0 4B C9 E7 49 */ bl string_l__4rstlFPCc +/* 80366574 003634D4 7F E3 FB 78 */ mr r3, r31 +/* 80366578 003634D8 38 81 00 08 */ addi r4, r1, 8 +/* 8036657C 003634DC 4B FD 7B E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366580 003634E0 38 61 00 08 */ addi r3, r1, 8 +/* 80366584 003634E4 4B FD 75 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80366588 003634E8 38 A0 00 00 */ li r5, 0 +/* 8036658C 003634EC C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80366590 003634F0 90 BF 00 10 */ stw r5, 0x10(r31) +/* 80366594 003634F4 38 80 FF FF */ li r4, -1 +/* 80366598 003634F8 38 00 00 01 */ li r0, 1 +/* 8036659C 003634FC 7F E3 FB 78 */ mr r3, r31 +/* 803665A0 00363500 90 BF 00 14 */ stw r5, 0x14(r31) +/* 803665A4 00363504 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 803665A8 00363508 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 803665AC 0036350C 90 9F 00 20 */ stw r4, 0x20(r31) +/* 803665B0 00363510 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803665B4 00363514 98 1F 00 28 */ stb r0, 0x28(r31) +/* 803665B8 00363518 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803665BC 0036351C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803665C0 00363520 7C 08 03 A6 */ mtlr r0 +/* 803665C4 00363524 38 21 00 20 */ addi r1, r1, 0x20 +/* 803665C8 00363528 4E 80 00 20 */ blr + +.global __sinit_CStreamAudioManager_cpp +__sinit_CStreamAudioManager_cpp: +/* 803665CC 0036352C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803665D0 00363530 7C 08 02 A6 */ mflr r0 +/* 803665D4 00363534 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 803665D8 00363538 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 803665DC 0036353C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803665E0 00363540 3C 60 80 5A */ lis r3, lbl_805A6B60@ha +/* 803665E4 00363544 3C C0 80 54 */ lis r6, lbl_80540550@ha +/* 803665E8 00363548 38 00 00 00 */ li r0, 0 +/* 803665EC 0036354C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803665F0 00363550 3B E6 05 50 */ addi r31, r6, lbl_80540550@l +/* 803665F4 00363554 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 803665F8 00363558 94 A3 6B 60 */ stwu r5, lbl_805A6B60@l(r3) +/* 803665FC 0036355C 38 BF 00 00 */ addi r5, r31, 0 +/* 80366600 00363560 90 03 00 04 */ stw r0, 4(r3) +/* 80366604 00363564 90 03 00 08 */ stw r0, 8(r3) +/* 80366608 00363568 48 02 30 85 */ bl __register_global_object +/* 8036660C 0036356C 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 80366610 00363570 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80366614 00363574 94 A3 6B 90 */ stwu r5, lbl_805A6B90@l(r3) +/* 80366618 00363578 38 00 00 00 */ li r0, 0 +/* 8036661C 0036357C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 80366620 00363580 38 BF 00 0C */ addi r5, r31, 0xc +/* 80366624 00363584 90 03 00 04 */ stw r0, 4(r3) +/* 80366628 00363588 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8036662C 0036358C 90 03 00 08 */ stw r0, 8(r3) +/* 80366630 00363590 48 02 30 5D */ bl __register_global_object +/* 80366634 00363594 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 80366638 00363598 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 8036663C 0036359C 94 A3 6B A0 */ stwu r5, lbl_805A6BA0@l(r3) +/* 80366640 003635A0 38 00 00 00 */ li r0, 0 +/* 80366644 003635A4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 80366648 003635A8 38 BF 00 18 */ addi r5, r31, 0x18 +/* 8036664C 003635AC 90 03 00 04 */ stw r0, 4(r3) +/* 80366650 003635B0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 80366654 003635B4 90 03 00 08 */ stw r0, 8(r3) +/* 80366658 003635B8 48 02 30 35 */ bl __register_global_object +/* 8036665C 003635BC 3C 60 80 36 */ lis r3, __ct__20SDSPStreamCacheEntryFv@ha +/* 80366660 003635C0 3C A0 80 36 */ lis r5, sub_803656f8@ha +/* 80366664 003635C4 38 83 65 50 */ addi r4, r3, __ct__20SDSPStreamCacheEntryFv@l +/* 80366668 003635C8 38 C0 00 2C */ li r6, 0x2c +/* 8036666C 003635CC 38 7F 00 30 */ addi r3, r31, 0x30 +/* 80366670 003635D0 38 A5 56 F8 */ addi r5, r5, sub_803656f8@l +/* 80366674 003635D4 38 E0 00 02 */ li r7, 2 +/* 80366678 003635D8 48 02 30 D5 */ bl __construct_array +/* 8036667C 003635DC 3C 60 80 36 */ lis r3, sub_80366710@ha +/* 80366680 003635E0 38 BF 00 24 */ addi r5, r31, 0x24 +/* 80366684 003635E4 38 83 67 10 */ addi r4, r3, sub_80366710@l +/* 80366688 003635E8 38 60 00 00 */ li r3, 0 +/* 8036668C 003635EC 48 02 30 01 */ bl __register_global_object +/* 80366690 003635F0 3C 60 80 36 */ lis r3, __ct__20SDSPStreamCacheEntryFv@ha +/* 80366694 003635F4 3C A0 80 36 */ lis r5, sub_803656f8@ha +/* 80366698 003635F8 38 83 65 50 */ addi r4, r3, __ct__20SDSPStreamCacheEntryFv@l +/* 8036669C 003635FC 38 C0 00 2C */ li r6, 0x2c +/* 803666A0 00363600 38 7F 00 94 */ addi r3, r31, 0x94 +/* 803666A4 00363604 38 A5 56 F8 */ addi r5, r5, sub_803656f8@l +/* 803666A8 00363608 38 E0 00 02 */ li r7, 2 +/* 803666AC 0036360C 48 02 30 A1 */ bl __construct_array +/* 803666B0 00363610 3C 60 80 36 */ lis r3, sub_803666d8@ha +/* 803666B4 00363614 38 BF 00 88 */ addi r5, r31, 0x88 +/* 803666B8 00363618 38 83 66 D8 */ addi r4, r3, sub_803666d8@l +/* 803666BC 0036361C 38 60 00 00 */ li r3, 0 +/* 803666C0 00363620 48 02 2F CD */ bl __register_global_object +/* 803666C4 00363624 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803666C8 00363628 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803666CC 0036362C 7C 08 03 A6 */ mtlr r0 +/* 803666D0 00363630 38 21 00 10 */ addi r1, r1, 0x10 +/* 803666D4 00363634 4E 80 00 20 */ blr + +.global sub_803666d8 +sub_803666d8: +/* 803666D8 00363638 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803666DC 0036363C 7C 08 02 A6 */ mflr r0 +/* 803666E0 00363640 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 803666E4 00363644 3C 80 80 36 */ lis r4, sub_803656f8@ha +/* 803666E8 00363648 90 01 00 14 */ stw r0, 0x14(r1) +/* 803666EC 0036364C 38 63 05 E4 */ addi r3, r3, lbl_805405E4@l +/* 803666F0 00363650 38 A0 00 2C */ li r5, 0x2c +/* 803666F4 00363654 38 84 56 F8 */ addi r4, r4, sub_803656f8@l +/* 803666F8 00363658 38 C0 00 02 */ li r6, 2 +/* 803666FC 0036365C 48 02 2F D9 */ bl __destroy_arr +/* 80366700 00363660 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366704 00363664 7C 08 03 A6 */ mtlr r0 +/* 80366708 00363668 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036670C 0036366C 4E 80 00 20 */ blr + +.global sub_80366710 +sub_80366710: +/* 80366710 00363670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80366714 00363674 7C 08 02 A6 */ mflr r0 +/* 80366718 00363678 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 8036671C 0036367C 3C 80 80 36 */ lis r4, sub_803656f8@ha +/* 80366720 00363680 90 01 00 14 */ stw r0, 0x14(r1) +/* 80366724 00363684 38 63 05 80 */ addi r3, r3, lbl_80540580@l +/* 80366728 00363688 38 A0 00 2C */ li r5, 0x2c +/* 8036672C 0036368C 38 84 56 F8 */ addi r4, r4, sub_803656f8@l +/* 80366730 00363690 38 C0 00 02 */ li r6, 2 +/* 80366734 00363694 48 02 2F A1 */ bl __destroy_arr +/* 80366738 00363698 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036673C 0036369C 7C 08 03 A6 */ mtlr r0 +/* 80366740 003636A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366744 003636A4 4E 80 00 20 */ blr + +.global __ct__15CHalfTransitionFR12CInputStream +__ct__15CHalfTransitionFR12CInputStream: +/* 80366748 003636A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036674C 003636AC 7C 08 02 A6 */ mflr r0 +/* 80366750 003636B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80366754 003636B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80366758 003636B8 7C 9F 23 78 */ mr r31, r4 +/* 8036675C 003636BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80366760 003636C0 7C 7E 1B 78 */ mr r30, r3 +/* 80366764 003636C4 7F E3 FB 78 */ mr r3, r31 +/* 80366768 003636C8 4B FD 85 1D */ bl ReadLong__12CInputStreamFv +/* 8036676C 003636CC 90 7E 00 00 */ stw r3, 0(r30) +/* 80366770 003636D0 7F E4 FB 78 */ mr r4, r31 +/* 80366774 003636D4 38 61 00 08 */ addi r3, r1, 8 +/* 80366778 003636D8 4B F7 B6 75 */ bl CreateMetaTrans__17CMetaTransFactoryFR12CInputStream +/* 8036677C 003636DC 80 01 00 08 */ lwz r0, 8(r1) +/* 80366780 003636E0 38 61 00 08 */ addi r3, r1, 8 +/* 80366784 003636E4 90 1E 00 04 */ stw r0, 4(r30) +/* 80366788 003636E8 80 BE 00 04 */ lwz r5, 4(r30) +/* 8036678C 003636EC 80 85 00 04 */ lwz r4, 4(r5) +/* 80366790 003636F0 38 04 00 01 */ addi r0, r4, 1 +/* 80366794 003636F4 90 05 00 04 */ stw r0, 4(r5) +/* 80366798 003636F8 4B CC DA FD */ bl __dt__17CMetaTransFactoryFv +/* 8036679C 003636FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803667A0 00363700 7F C3 F3 78 */ mr r3, r30 +/* 803667A4 00363704 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803667A8 00363708 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803667AC 0036370C 7C 08 03 A6 */ mtlr r0 +/* 803667B0 00363710 38 21 00 20 */ addi r1, r1, 0x20 +/* 803667B4 00363714 4E 80 00 20 */ blr + +.global __dt__20CElectricDescriptionFv +__dt__20CElectricDescriptionFv: +/* 803667B8 00363718 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803667BC 0036371C 7C 08 02 A6 */ mflr r0 +/* 803667C0 00363720 90 01 00 14 */ stw r0, 0x14(r1) +/* 803667C4 00363724 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803667C8 00363728 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803667CC 0036372C 93 C1 00 08 */ stw r30, 8(r1) +/* 803667D0 00363730 7C 9E 23 78 */ mr r30, r4 +/* 803667D4 00363734 41 82 02 B0 */ beq lbl_80366A84 +/* 803667D8 00363738 80 7F 00 00 */ lwz r3, 0(r31) +/* 803667DC 0036373C 28 03 00 00 */ cmplwi r3, 0 +/* 803667E0 00363740 41 82 00 18 */ beq lbl_803667F8 +/* 803667E4 00363744 81 83 00 00 */ lwz r12, 0(r3) +/* 803667E8 00363748 38 80 00 01 */ li r4, 1 +/* 803667EC 0036374C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803667F0 00363750 7D 89 03 A6 */ mtctr r12 +/* 803667F4 00363754 4E 80 04 21 */ bctrl +lbl_803667F8: +/* 803667F8 00363758 80 7F 00 04 */ lwz r3, 4(r31) +/* 803667FC 0036375C 28 03 00 00 */ cmplwi r3, 0 +/* 80366800 00363760 41 82 00 18 */ beq lbl_80366818 +/* 80366804 00363764 81 83 00 00 */ lwz r12, 0(r3) +/* 80366808 00363768 38 80 00 01 */ li r4, 1 +/* 8036680C 0036376C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366810 00363770 7D 89 03 A6 */ mtctr r12 +/* 80366814 00363774 4E 80 04 21 */ bctrl +lbl_80366818: +/* 80366818 00363778 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036681C 0036377C 28 03 00 00 */ cmplwi r3, 0 +/* 80366820 00363780 41 82 00 18 */ beq lbl_80366838 +/* 80366824 00363784 81 83 00 00 */ lwz r12, 0(r3) +/* 80366828 00363788 38 80 00 01 */ li r4, 1 +/* 8036682C 0036378C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366830 00363790 7D 89 03 A6 */ mtctr r12 +/* 80366834 00363794 4E 80 04 21 */ bctrl +lbl_80366838: +/* 80366838 00363798 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036683C 0036379C 28 03 00 00 */ cmplwi r3, 0 +/* 80366840 003637A0 41 82 00 18 */ beq lbl_80366858 +/* 80366844 003637A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366848 003637A8 38 80 00 01 */ li r4, 1 +/* 8036684C 003637AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366850 003637B0 7D 89 03 A6 */ mtctr r12 +/* 80366854 003637B4 4E 80 04 21 */ bctrl +lbl_80366858: +/* 80366858 003637B8 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8036685C 003637BC 28 03 00 00 */ cmplwi r3, 0 +/* 80366860 003637C0 41 82 00 18 */ beq lbl_80366878 +/* 80366864 003637C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366868 003637C8 38 80 00 01 */ li r4, 1 +/* 8036686C 003637CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366870 003637D0 7D 89 03 A6 */ mtctr r12 +/* 80366874 003637D4 4E 80 04 21 */ bctrl +lbl_80366878: +/* 80366878 003637D8 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8036687C 003637DC 28 03 00 00 */ cmplwi r3, 0 +/* 80366880 003637E0 41 82 00 18 */ beq lbl_80366898 +/* 80366884 003637E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366888 003637E8 38 80 00 01 */ li r4, 1 +/* 8036688C 003637EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366890 003637F0 7D 89 03 A6 */ mtctr r12 +/* 80366894 003637F4 4E 80 04 21 */ bctrl +lbl_80366898: +/* 80366898 003637F8 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8036689C 003637FC 28 03 00 00 */ cmplwi r3, 0 +/* 803668A0 00363800 41 82 00 18 */ beq lbl_803668B8 +/* 803668A4 00363804 81 83 00 00 */ lwz r12, 0(r3) +/* 803668A8 00363808 38 80 00 01 */ li r4, 1 +/* 803668AC 0036380C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803668B0 00363810 7D 89 03 A6 */ mtctr r12 +/* 803668B4 00363814 4E 80 04 21 */ bctrl +lbl_803668B8: +/* 803668B8 00363818 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 803668BC 0036381C 28 03 00 00 */ cmplwi r3, 0 +/* 803668C0 00363820 41 82 00 18 */ beq lbl_803668D8 +/* 803668C4 00363824 81 83 00 00 */ lwz r12, 0(r3) +/* 803668C8 00363828 38 80 00 01 */ li r4, 1 +/* 803668CC 0036382C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803668D0 00363830 7D 89 03 A6 */ mtctr r12 +/* 803668D4 00363834 4E 80 04 21 */ bctrl +lbl_803668D8: +/* 803668D8 00363838 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803668DC 0036383C 28 03 00 00 */ cmplwi r3, 0 +/* 803668E0 00363840 41 82 00 18 */ beq lbl_803668F8 +/* 803668E4 00363844 81 83 00 00 */ lwz r12, 0(r3) +/* 803668E8 00363848 38 80 00 01 */ li r4, 1 +/* 803668EC 0036384C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803668F0 00363850 7D 89 03 A6 */ mtctr r12 +/* 803668F4 00363854 4E 80 04 21 */ bctrl +lbl_803668F8: +/* 803668F8 00363858 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803668FC 0036385C 28 03 00 00 */ cmplwi r3, 0 +/* 80366900 00363860 41 82 00 18 */ beq lbl_80366918 +/* 80366904 00363864 81 83 00 00 */ lwz r12, 0(r3) +/* 80366908 00363868 38 80 00 01 */ li r4, 1 +/* 8036690C 0036386C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366910 00363870 7D 89 03 A6 */ mtctr r12 +/* 80366914 00363874 4E 80 04 21 */ bctrl +lbl_80366918: +/* 80366918 00363878 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8036691C 0036387C 28 03 00 00 */ cmplwi r3, 0 +/* 80366920 00363880 41 82 00 18 */ beq lbl_80366938 +/* 80366924 00363884 81 83 00 00 */ lwz r12, 0(r3) +/* 80366928 00363888 38 80 00 01 */ li r4, 1 +/* 8036692C 0036388C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366930 00363890 7D 89 03 A6 */ mtctr r12 +/* 80366934 00363894 4E 80 04 21 */ bctrl +lbl_80366938: +/* 80366938 00363898 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8036693C 0036389C 28 03 00 00 */ cmplwi r3, 0 +/* 80366940 003638A0 41 82 00 18 */ beq lbl_80366958 +/* 80366944 003638A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366948 003638A8 38 80 00 01 */ li r4, 1 +/* 8036694C 003638AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366950 003638B0 7D 89 03 A6 */ mtctr r12 +/* 80366954 003638B4 4E 80 04 21 */ bctrl +lbl_80366958: +/* 80366958 003638B8 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8036695C 003638BC 28 03 00 00 */ cmplwi r3, 0 +/* 80366960 003638C0 41 82 00 18 */ beq lbl_80366978 +/* 80366964 003638C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366968 003638C8 38 80 00 01 */ li r4, 1 +/* 8036696C 003638CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366970 003638D0 7D 89 03 A6 */ mtctr r12 +/* 80366974 003638D4 4E 80 04 21 */ bctrl +lbl_80366978: +/* 80366978 003638D8 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8036697C 003638DC 28 03 00 00 */ cmplwi r3, 0 +/* 80366980 003638E0 41 82 00 18 */ beq lbl_80366998 +/* 80366984 003638E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366988 003638E8 38 80 00 01 */ li r4, 1 +/* 8036698C 003638EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366990 003638F0 7D 89 03 A6 */ mtctr r12 +/* 80366994 003638F4 4E 80 04 21 */ bctrl +lbl_80366998: +/* 80366998 003638F8 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8036699C 003638FC 28 03 00 00 */ cmplwi r3, 0 +/* 803669A0 00363900 41 82 00 18 */ beq lbl_803669B8 +/* 803669A4 00363904 81 83 00 00 */ lwz r12, 0(r3) +/* 803669A8 00363908 38 80 00 01 */ li r4, 1 +/* 803669AC 0036390C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803669B0 00363910 7D 89 03 A6 */ mtctr r12 +/* 803669B4 00363914 4E 80 04 21 */ bctrl +lbl_803669B8: +/* 803669B8 00363918 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 803669BC 0036391C 28 03 00 00 */ cmplwi r3, 0 +/* 803669C0 00363920 41 82 00 18 */ beq lbl_803669D8 +/* 803669C4 00363924 81 83 00 00 */ lwz r12, 0(r3) +/* 803669C8 00363928 38 80 00 01 */ li r4, 1 +/* 803669CC 0036392C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803669D0 00363930 7D 89 03 A6 */ mtctr r12 +/* 803669D4 00363934 4E 80 04 21 */ bctrl +lbl_803669D8: +/* 803669D8 00363938 34 1F 00 60 */ addic. r0, r31, 0x60 +/* 803669DC 0036393C 41 82 00 30 */ beq lbl_80366A0C +/* 803669E0 00363940 88 1F 00 6C */ lbz r0, 0x6c(r31) +/* 803669E4 00363944 28 00 00 00 */ cmplwi r0, 0 +/* 803669E8 00363948 41 82 00 1C */ beq lbl_80366A04 +/* 803669EC 0036394C 34 7F 00 60 */ addic. r3, r31, 0x60 +/* 803669F0 00363950 41 82 00 14 */ beq lbl_80366A04 +/* 803669F4 00363954 28 03 00 00 */ cmplwi r3, 0 +/* 803669F8 00363958 41 82 00 0C */ beq lbl_80366A04 +/* 803669FC 0036395C 38 80 00 00 */ li r4, 0 +/* 80366A00 00363960 4B FD A4 41 */ bl __dt__6CTokenFv +lbl_80366A04: +/* 80366A04 00363964 38 00 00 00 */ li r0, 0 +/* 80366A08 00363968 98 1F 00 6C */ stb r0, 0x6c(r31) +lbl_80366A0C: +/* 80366A0C 0036396C 34 1F 00 50 */ addic. r0, r31, 0x50 +/* 80366A10 00363970 41 82 00 30 */ beq lbl_80366A40 +/* 80366A14 00363974 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 80366A18 00363978 28 00 00 00 */ cmplwi r0, 0 +/* 80366A1C 0036397C 41 82 00 1C */ beq lbl_80366A38 +/* 80366A20 00363980 34 7F 00 50 */ addic. r3, r31, 0x50 +/* 80366A24 00363984 41 82 00 14 */ beq lbl_80366A38 +/* 80366A28 00363988 28 03 00 00 */ cmplwi r3, 0 +/* 80366A2C 0036398C 41 82 00 0C */ beq lbl_80366A38 +/* 80366A30 00363990 38 80 00 00 */ li r4, 0 +/* 80366A34 00363994 4B FD A4 0D */ bl __dt__6CTokenFv +lbl_80366A38: +/* 80366A38 00363998 38 00 00 00 */ li r0, 0 +/* 80366A3C 0036399C 98 1F 00 5C */ stb r0, 0x5c(r31) +lbl_80366A40: +/* 80366A40 003639A0 34 1F 00 40 */ addic. r0, r31, 0x40 +/* 80366A44 003639A4 41 82 00 30 */ beq lbl_80366A74 +/* 80366A48 003639A8 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80366A4C 003639AC 28 00 00 00 */ cmplwi r0, 0 +/* 80366A50 003639B0 41 82 00 1C */ beq lbl_80366A6C +/* 80366A54 003639B4 34 7F 00 40 */ addic. r3, r31, 0x40 +/* 80366A58 003639B8 41 82 00 14 */ beq lbl_80366A6C +/* 80366A5C 003639BC 28 03 00 00 */ cmplwi r3, 0 +/* 80366A60 003639C0 41 82 00 0C */ beq lbl_80366A6C +/* 80366A64 003639C4 38 80 00 00 */ li r4, 0 +/* 80366A68 003639C8 4B FD A3 D9 */ bl __dt__6CTokenFv +lbl_80366A6C: +/* 80366A6C 003639CC 38 00 00 00 */ li r0, 0 +/* 80366A70 003639D0 98 1F 00 4C */ stb r0, 0x4c(r31) +lbl_80366A74: +/* 80366A74 003639D4 7F C0 07 35 */ extsh. r0, r30 +/* 80366A78 003639D8 40 81 00 0C */ ble lbl_80366A84 +/* 80366A7C 003639DC 7F E3 FB 78 */ mr r3, r31 +/* 80366A80 003639E0 4B FA EE B1 */ bl Free__7CMemoryFPCv +lbl_80366A84: +/* 80366A84 003639E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366A88 003639E8 7F E3 FB 78 */ mr r3, r31 +/* 80366A8C 003639EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80366A90 003639F0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80366A94 003639F4 7C 08 03 A6 */ mtlr r0 +/* 80366A98 003639F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366A9C 003639FC 4E 80 00 20 */ blr + +.global __ct__20CElectricDescriptionFv +__ct__20CElectricDescriptionFv: +/* 80366AA0 00363A00 38 00 00 00 */ li r0, 0 +/* 80366AA4 00363A04 90 03 00 00 */ stw r0, 0(r3) +/* 80366AA8 00363A08 90 03 00 04 */ stw r0, 4(r3) +/* 80366AAC 00363A0C 90 03 00 08 */ stw r0, 8(r3) +/* 80366AB0 00363A10 90 03 00 0C */ stw r0, 0xc(r3) +/* 80366AB4 00363A14 90 03 00 10 */ stw r0, 0x10(r3) +/* 80366AB8 00363A18 90 03 00 14 */ stw r0, 0x14(r3) +/* 80366ABC 00363A1C 90 03 00 18 */ stw r0, 0x18(r3) +/* 80366AC0 00363A20 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80366AC4 00363A24 90 03 00 20 */ stw r0, 0x20(r3) +/* 80366AC8 00363A28 90 03 00 24 */ stw r0, 0x24(r3) +/* 80366ACC 00363A2C 90 03 00 28 */ stw r0, 0x28(r3) +/* 80366AD0 00363A30 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80366AD4 00363A34 90 03 00 30 */ stw r0, 0x30(r3) +/* 80366AD8 00363A38 90 03 00 34 */ stw r0, 0x34(r3) +/* 80366ADC 00363A3C 90 03 00 38 */ stw r0, 0x38(r3) +/* 80366AE0 00363A40 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80366AE4 00363A44 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80366AE8 00363A48 98 03 00 5C */ stb r0, 0x5c(r3) +/* 80366AEC 00363A4C 98 03 00 6C */ stb r0, 0x6c(r3) +/* 80366AF0 00363A50 98 03 00 70 */ stb r0, 0x70(r3) +/* 80366AF4 00363A54 4E 80 00 20 */ blr + +.global __dt__18CSwooshDescriptionFv +__dt__18CSwooshDescriptionFv: +/* 80366AF8 00363A58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80366AFC 00363A5C 7C 08 02 A6 */ mflr r0 +/* 80366B00 00363A60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80366B04 00363A64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80366B08 00363A68 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80366B0C 00363A6C 93 C1 00 08 */ stw r30, 8(r1) +/* 80366B10 00363A70 7C 9E 23 78 */ mr r30, r4 +/* 80366B14 00363A74 41 82 02 34 */ beq lbl_80366D48 +/* 80366B18 00363A78 80 7F 00 00 */ lwz r3, 0(r31) +/* 80366B1C 00363A7C 28 03 00 00 */ cmplwi r3, 0 +/* 80366B20 00363A80 41 82 00 18 */ beq lbl_80366B38 +/* 80366B24 00363A84 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B28 00363A88 38 80 00 01 */ li r4, 1 +/* 80366B2C 00363A8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B30 00363A90 7D 89 03 A6 */ mtctr r12 +/* 80366B34 00363A94 4E 80 04 21 */ bctrl +lbl_80366B38: +/* 80366B38 00363A98 80 7F 00 04 */ lwz r3, 4(r31) +/* 80366B3C 00363A9C 28 03 00 00 */ cmplwi r3, 0 +/* 80366B40 00363AA0 41 82 00 18 */ beq lbl_80366B58 +/* 80366B44 00363AA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B48 00363AA8 38 80 00 01 */ li r4, 1 +/* 80366B4C 00363AAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B50 00363AB0 7D 89 03 A6 */ mtctr r12 +/* 80366B54 00363AB4 4E 80 04 21 */ bctrl +lbl_80366B58: +/* 80366B58 00363AB8 80 7F 00 08 */ lwz r3, 8(r31) +/* 80366B5C 00363ABC 28 03 00 00 */ cmplwi r3, 0 +/* 80366B60 00363AC0 41 82 00 18 */ beq lbl_80366B78 +/* 80366B64 00363AC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B68 00363AC8 38 80 00 01 */ li r4, 1 +/* 80366B6C 00363ACC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B70 00363AD0 7D 89 03 A6 */ mtctr r12 +/* 80366B74 00363AD4 4E 80 04 21 */ bctrl +lbl_80366B78: +/* 80366B78 00363AD8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80366B7C 00363ADC 28 03 00 00 */ cmplwi r3, 0 +/* 80366B80 00363AE0 41 82 00 18 */ beq lbl_80366B98 +/* 80366B84 00363AE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B88 00363AE8 38 80 00 01 */ li r4, 1 +/* 80366B8C 00363AEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B90 00363AF0 7D 89 03 A6 */ mtctr r12 +/* 80366B94 00363AF4 4E 80 04 21 */ bctrl +lbl_80366B98: +/* 80366B98 00363AF8 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 80366B9C 00363AFC 28 03 00 00 */ cmplwi r3, 0 +/* 80366BA0 00363B00 41 82 00 18 */ beq lbl_80366BB8 +/* 80366BA4 00363B04 81 83 00 00 */ lwz r12, 0(r3) +/* 80366BA8 00363B08 38 80 00 01 */ li r4, 1 +/* 80366BAC 00363B0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366BB0 00363B10 7D 89 03 A6 */ mtctr r12 +/* 80366BB4 00363B14 4E 80 04 21 */ bctrl +lbl_80366BB8: +/* 80366BB8 00363B18 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80366BBC 00363B1C 28 03 00 00 */ cmplwi r3, 0 +/* 80366BC0 00363B20 41 82 00 18 */ beq lbl_80366BD8 +/* 80366BC4 00363B24 81 83 00 00 */ lwz r12, 0(r3) +/* 80366BC8 00363B28 38 80 00 01 */ li r4, 1 +/* 80366BCC 00363B2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366BD0 00363B30 7D 89 03 A6 */ mtctr r12 +/* 80366BD4 00363B34 4E 80 04 21 */ bctrl +lbl_80366BD8: +/* 80366BD8 00363B38 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 80366BDC 00363B3C 28 03 00 00 */ cmplwi r3, 0 +/* 80366BE0 00363B40 41 82 00 18 */ beq lbl_80366BF8 +/* 80366BE4 00363B44 81 83 00 00 */ lwz r12, 0(r3) +/* 80366BE8 00363B48 38 80 00 01 */ li r4, 1 +/* 80366BEC 00363B4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366BF0 00363B50 7D 89 03 A6 */ mtctr r12 +/* 80366BF4 00363B54 4E 80 04 21 */ bctrl +lbl_80366BF8: +/* 80366BF8 00363B58 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80366BFC 00363B5C 28 03 00 00 */ cmplwi r3, 0 +/* 80366C00 00363B60 41 82 00 18 */ beq lbl_80366C18 +/* 80366C04 00363B64 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C08 00363B68 38 80 00 01 */ li r4, 1 +/* 80366C0C 00363B6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C10 00363B70 7D 89 03 A6 */ mtctr r12 +/* 80366C14 00363B74 4E 80 04 21 */ bctrl +lbl_80366C18: +/* 80366C18 00363B78 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80366C1C 00363B7C 28 03 00 00 */ cmplwi r3, 0 +/* 80366C20 00363B80 41 82 00 18 */ beq lbl_80366C38 +/* 80366C24 00363B84 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C28 00363B88 38 80 00 01 */ li r4, 1 +/* 80366C2C 00363B8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C30 00363B90 7D 89 03 A6 */ mtctr r12 +/* 80366C34 00363B94 4E 80 04 21 */ bctrl +lbl_80366C38: +/* 80366C38 00363B98 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80366C3C 00363B9C 28 03 00 00 */ cmplwi r3, 0 +/* 80366C40 00363BA0 41 82 00 18 */ beq lbl_80366C58 +/* 80366C44 00363BA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C48 00363BA8 38 80 00 01 */ li r4, 1 +/* 80366C4C 00363BAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C50 00363BB0 7D 89 03 A6 */ mtctr r12 +/* 80366C54 00363BB4 4E 80 04 21 */ bctrl +lbl_80366C58: +/* 80366C58 00363BB8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80366C5C 00363BBC 28 03 00 00 */ cmplwi r3, 0 +/* 80366C60 00363BC0 41 82 00 18 */ beq lbl_80366C78 +/* 80366C64 00363BC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C68 00363BC8 38 80 00 01 */ li r4, 1 +/* 80366C6C 00363BCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C70 00363BD0 7D 89 03 A6 */ mtctr r12 +/* 80366C74 00363BD4 4E 80 04 21 */ bctrl +lbl_80366C78: +/* 80366C78 00363BD8 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80366C7C 00363BDC 28 03 00 00 */ cmplwi r3, 0 +/* 80366C80 00363BE0 41 82 00 18 */ beq lbl_80366C98 +/* 80366C84 00363BE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C88 00363BE8 38 80 00 01 */ li r4, 1 +/* 80366C8C 00363BEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C90 00363BF0 7D 89 03 A6 */ mtctr r12 +/* 80366C94 00363BF4 4E 80 04 21 */ bctrl +lbl_80366C98: +/* 80366C98 00363BF8 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 80366C9C 00363BFC 28 03 00 00 */ cmplwi r3, 0 +/* 80366CA0 00363C00 41 82 00 18 */ beq lbl_80366CB8 +/* 80366CA4 00363C04 81 83 00 00 */ lwz r12, 0(r3) +/* 80366CA8 00363C08 38 80 00 01 */ li r4, 1 +/* 80366CAC 00363C0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366CB0 00363C10 7D 89 03 A6 */ mtctr r12 +/* 80366CB4 00363C14 4E 80 04 21 */ bctrl +lbl_80366CB8: +/* 80366CB8 00363C18 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80366CBC 00363C1C 28 03 00 00 */ cmplwi r3, 0 +/* 80366CC0 00363C20 41 82 00 18 */ beq lbl_80366CD8 +/* 80366CC4 00363C24 81 83 00 00 */ lwz r12, 0(r3) +/* 80366CC8 00363C28 38 80 00 01 */ li r4, 1 +/* 80366CCC 00363C2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366CD0 00363C30 7D 89 03 A6 */ mtctr r12 +/* 80366CD4 00363C34 4E 80 04 21 */ bctrl +lbl_80366CD8: +/* 80366CD8 00363C38 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80366CDC 00363C3C 28 03 00 00 */ cmplwi r3, 0 +/* 80366CE0 00363C40 41 82 00 18 */ beq lbl_80366CF8 +/* 80366CE4 00363C44 81 83 00 00 */ lwz r12, 0(r3) +/* 80366CE8 00363C48 38 80 00 01 */ li r4, 1 +/* 80366CEC 00363C4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366CF0 00363C50 7D 89 03 A6 */ mtctr r12 +/* 80366CF4 00363C54 4E 80 04 21 */ bctrl +lbl_80366CF8: +/* 80366CF8 00363C58 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80366CFC 00363C5C 28 03 00 00 */ cmplwi r3, 0 +/* 80366D00 00363C60 41 82 00 18 */ beq lbl_80366D18 +/* 80366D04 00363C64 81 83 00 00 */ lwz r12, 0(r3) +/* 80366D08 00363C68 38 80 00 01 */ li r4, 1 +/* 80366D0C 00363C6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366D10 00363C70 7D 89 03 A6 */ mtctr r12 +/* 80366D14 00363C74 4E 80 04 21 */ bctrl +lbl_80366D18: +/* 80366D18 00363C78 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80366D1C 00363C7C 28 03 00 00 */ cmplwi r3, 0 +/* 80366D20 00363C80 41 82 00 18 */ beq lbl_80366D38 +/* 80366D24 00363C84 81 83 00 00 */ lwz r12, 0(r3) +/* 80366D28 00363C88 38 80 00 01 */ li r4, 1 +/* 80366D2C 00363C8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366D30 00363C90 7D 89 03 A6 */ mtctr r12 +/* 80366D34 00363C94 4E 80 04 21 */ bctrl +lbl_80366D38: +/* 80366D38 00363C98 7F C0 07 35 */ extsh. r0, r30 +/* 80366D3C 00363C9C 40 81 00 0C */ ble lbl_80366D48 +/* 80366D40 00363CA0 7F E3 FB 78 */ mr r3, r31 +/* 80366D44 00363CA4 4B FA EB ED */ bl Free__7CMemoryFPCv +lbl_80366D48: +/* 80366D48 00363CA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366D4C 00363CAC 7F E3 FB 78 */ mr r3, r31 +/* 80366D50 00363CB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80366D54 00363CB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80366D58 00363CB8 7C 08 03 A6 */ mtlr r0 +/* 80366D5C 00363CBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366D60 00363CC0 4E 80 00 20 */ blr + +.global __ct__18CSwooshDescriptionFv +__ct__18CSwooshDescriptionFv: +/* 80366D64 00363CC4 38 A0 00 00 */ li r5, 0 +/* 80366D68 00363CC8 38 80 00 01 */ li r4, 1 +/* 80366D6C 00363CCC 90 A3 00 00 */ stw r5, 0(r3) +/* 80366D70 00363CD0 90 A3 00 04 */ stw r5, 4(r3) +/* 80366D74 00363CD4 90 A3 00 08 */ stw r5, 8(r3) +/* 80366D78 00363CD8 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80366D7C 00363CDC 90 A3 00 10 */ stw r5, 0x10(r3) +/* 80366D80 00363CE0 90 A3 00 14 */ stw r5, 0x14(r3) +/* 80366D84 00363CE4 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80366D88 00363CE8 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80366D8C 00363CEC 90 A3 00 20 */ stw r5, 0x20(r3) +/* 80366D90 00363CF0 90 A3 00 24 */ stw r5, 0x24(r3) +/* 80366D94 00363CF4 90 A3 00 28 */ stw r5, 0x28(r3) +/* 80366D98 00363CF8 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 80366D9C 00363CFC 90 A3 00 30 */ stw r5, 0x30(r3) +/* 80366DA0 00363D00 90 A3 00 34 */ stw r5, 0x34(r3) +/* 80366DA4 00363D04 90 A3 00 38 */ stw r5, 0x38(r3) +/* 80366DA8 00363D08 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 80366DAC 00363D0C 90 A3 00 40 */ stw r5, 0x40(r3) +/* 80366DB0 00363D10 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DB4 00363D14 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80366DB8 00363D18 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DBC 00363D1C 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DC0 00363D20 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80366DC4 00363D24 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DC8 00363D28 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DCC 00363D2C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80366DD0 00363D30 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DD4 00363D34 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DD8 00363D38 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80366DDC 00363D3C 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DE0 00363D40 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DE4 00363D44 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80366DE8 00363D48 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DEC 00363D4C 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DF0 00363D50 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80366DF4 00363D54 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DF8 00363D58 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DFC 00363D5C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80366E00 00363D60 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366E04 00363D64 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366E08 00363D68 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80366E0C 00363D6C 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366E10 00363D70 88 03 00 45 */ lbz r0, 0x45(r3) +/* 80366E14 00363D74 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80366E18 00363D78 98 03 00 45 */ stb r0, 0x45(r3) +/* 80366E1C 00363D7C 88 03 00 45 */ lbz r0, 0x45(r3) +/* 80366E20 00363D80 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80366E24 00363D84 98 03 00 45 */ stb r0, 0x45(r3) +/* 80366E28 00363D88 88 03 00 45 */ lbz r0, 0x45(r3) +/* 80366E2C 00363D8C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80366E30 00363D90 98 03 00 45 */ stb r0, 0x45(r3) +/* 80366E34 00363D94 4E 80 00 20 */ blr + +.global __dt__15CGenDescriptionFv +__dt__15CGenDescriptionFv: +/* 80366E38 00363D98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80366E3C 00363D9C 7C 08 02 A6 */ mflr r0 +/* 80366E40 00363DA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80366E44 00363DA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80366E48 00363DA8 7C 9F 23 78 */ mr r31, r4 +/* 80366E4C 00363DAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80366E50 00363DB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80366E54 00363DB4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80366E58 00363DB8 93 81 00 10 */ stw r28, 0x10(r1) +/* 80366E5C 00363DBC 41 82 01 94 */ beq lbl_80366FF0 +/* 80366E60 00363DC0 3C 60 80 3E */ lis r3, lbl_803D8418@ha +/* 80366E64 00363DC4 3B 80 00 00 */ li r28, 0 +/* 80366E68 00363DC8 3B A3 84 18 */ addi r29, r3, lbl_803D8418@l +lbl_80366E6C: +/* 80366E6C 00363DCC 80 9D 00 00 */ lwz r4, 0(r29) +/* 80366E70 00363DD0 7F C3 F3 78 */ mr r3, r30 +/* 80366E74 00363DD4 48 00 03 C1 */ bl element_from_desc__FP15CGenDescriptioni +/* 80366E78 00363DD8 80 63 00 00 */ lwz r3, 0(r3) +/* 80366E7C 00363DDC 28 03 00 00 */ cmplwi r3, 0 +/* 80366E80 00363DE0 41 82 00 18 */ beq lbl_80366E98 +/* 80366E84 00363DE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366E88 00363DE8 38 80 00 01 */ li r4, 1 +/* 80366E8C 00363DEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366E90 00363DF0 7D 89 03 A6 */ mtctr r12 +/* 80366E94 00363DF4 4E 80 04 21 */ bctrl +lbl_80366E98: +/* 80366E98 00363DF8 3B 9C 00 01 */ addi r28, r28, 1 +/* 80366E9C 00363DFC 3B BD 00 04 */ addi r29, r29, 4 +/* 80366EA0 00363E00 2C 1C 00 32 */ cmpwi r28, 0x32 +/* 80366EA4 00363E04 41 80 FF C8 */ blt lbl_80366E6C +/* 80366EA8 00363E08 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 80366EAC 00363E0C 41 82 00 24 */ beq lbl_80366ED0 +/* 80366EB0 00363E10 88 1E 00 E0 */ lbz r0, 0xe0(r30) +/* 80366EB4 00363E14 28 00 00 00 */ cmplwi r0, 0 +/* 80366EB8 00363E18 41 82 00 10 */ beq lbl_80366EC8 +/* 80366EBC 00363E1C 38 7E 00 D8 */ addi r3, r30, 0xd8 +/* 80366EC0 00363E20 38 80 FF FF */ li r4, -1 +/* 80366EC4 00363E24 4B FD 9F 7D */ bl __dt__6CTokenFv +lbl_80366EC8: +/* 80366EC8 00363E28 38 00 00 00 */ li r0, 0 +/* 80366ECC 00363E2C 98 1E 00 E0 */ stb r0, 0xe0(r30) +lbl_80366ED0: +/* 80366ED0 00363E30 34 1E 00 C0 */ addic. r0, r30, 0xc0 +/* 80366ED4 00363E34 41 82 00 30 */ beq lbl_80366F04 +/* 80366ED8 00363E38 88 1E 00 CC */ lbz r0, 0xcc(r30) +/* 80366EDC 00363E3C 28 00 00 00 */ cmplwi r0, 0 +/* 80366EE0 00363E40 41 82 00 1C */ beq lbl_80366EFC +/* 80366EE4 00363E44 34 7E 00 C0 */ addic. r3, r30, 0xc0 +/* 80366EE8 00363E48 41 82 00 14 */ beq lbl_80366EFC +/* 80366EEC 00363E4C 28 03 00 00 */ cmplwi r3, 0 +/* 80366EF0 00363E50 41 82 00 0C */ beq lbl_80366EFC +/* 80366EF4 00363E54 38 80 00 00 */ li r4, 0 +/* 80366EF8 00363E58 4B FD 9F 49 */ bl __dt__6CTokenFv +lbl_80366EFC: +/* 80366EFC 00363E5C 38 00 00 00 */ li r0, 0 +/* 80366F00 00363E60 98 1E 00 CC */ stb r0, 0xcc(r30) +lbl_80366F04: +/* 80366F04 00363E64 38 7E 00 BC */ addi r3, r30, 0xbc +/* 80366F08 00363E68 38 80 FF FF */ li r4, -1 +/* 80366F0C 00363E6C 48 00 01 09 */ bl "__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv" +/* 80366F10 00363E70 34 1E 00 A4 */ addic. r0, r30, 0xa4 +/* 80366F14 00363E74 41 82 00 30 */ beq lbl_80366F44 +/* 80366F18 00363E78 88 1E 00 B0 */ lbz r0, 0xb0(r30) +/* 80366F1C 00363E7C 28 00 00 00 */ cmplwi r0, 0 +/* 80366F20 00363E80 41 82 00 1C */ beq lbl_80366F3C +/* 80366F24 00363E84 34 7E 00 A4 */ addic. r3, r30, 0xa4 +/* 80366F28 00363E88 41 82 00 14 */ beq lbl_80366F3C +/* 80366F2C 00363E8C 28 03 00 00 */ cmplwi r3, 0 +/* 80366F30 00363E90 41 82 00 0C */ beq lbl_80366F3C +/* 80366F34 00363E94 38 80 00 00 */ li r4, 0 +/* 80366F38 00363E98 4B FD 9F 09 */ bl __dt__6CTokenFv +lbl_80366F3C: +/* 80366F3C 00363E9C 38 00 00 00 */ li r0, 0 +/* 80366F40 00363EA0 98 1E 00 B0 */ stb r0, 0xb0(r30) +lbl_80366F44: +/* 80366F44 00363EA4 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 80366F48 00363EA8 41 82 00 30 */ beq lbl_80366F78 +/* 80366F4C 00363EAC 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 80366F50 00363EB0 28 00 00 00 */ cmplwi r0, 0 +/* 80366F54 00363EB4 41 82 00 1C */ beq lbl_80366F70 +/* 80366F58 00363EB8 34 7E 00 90 */ addic. r3, r30, 0x90 +/* 80366F5C 00363EBC 41 82 00 14 */ beq lbl_80366F70 +/* 80366F60 00363EC0 28 03 00 00 */ cmplwi r3, 0 +/* 80366F64 00363EC4 41 82 00 0C */ beq lbl_80366F70 +/* 80366F68 00363EC8 38 80 00 00 */ li r4, 0 +/* 80366F6C 00363ECC 4B FD 9E D5 */ bl __dt__6CTokenFv +lbl_80366F70: +/* 80366F70 00363ED0 38 00 00 00 */ li r0, 0 +/* 80366F74 00363ED4 98 1E 00 9C */ stb r0, 0x9c(r30) +lbl_80366F78: +/* 80366F78 00363ED8 34 1E 00 78 */ addic. r0, r30, 0x78 +/* 80366F7C 00363EDC 41 82 00 30 */ beq lbl_80366FAC +/* 80366F80 00363EE0 88 1E 00 84 */ lbz r0, 0x84(r30) +/* 80366F84 00363EE4 28 00 00 00 */ cmplwi r0, 0 +/* 80366F88 00363EE8 41 82 00 1C */ beq lbl_80366FA4 +/* 80366F8C 00363EEC 34 7E 00 78 */ addic. r3, r30, 0x78 +/* 80366F90 00363EF0 41 82 00 14 */ beq lbl_80366FA4 +/* 80366F94 00363EF4 28 03 00 00 */ cmplwi r3, 0 +/* 80366F98 00363EF8 41 82 00 0C */ beq lbl_80366FA4 +/* 80366F9C 00363EFC 38 80 00 00 */ li r4, 0 +/* 80366FA0 00363F00 4B FD 9E A1 */ bl __dt__6CTokenFv +lbl_80366FA4: +/* 80366FA4 00363F04 38 00 00 00 */ li r0, 0 +/* 80366FA8 00363F08 98 1E 00 84 */ stb r0, 0x84(r30) +lbl_80366FAC: +/* 80366FAC 00363F0C 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 80366FB0 00363F10 41 82 00 30 */ beq lbl_80366FE0 +/* 80366FB4 00363F14 88 1E 00 54 */ lbz r0, 0x54(r30) +/* 80366FB8 00363F18 28 00 00 00 */ cmplwi r0, 0 +/* 80366FBC 00363F1C 41 82 00 1C */ beq lbl_80366FD8 +/* 80366FC0 00363F20 34 7E 00 48 */ addic. r3, r30, 0x48 +/* 80366FC4 00363F24 41 82 00 14 */ beq lbl_80366FD8 +/* 80366FC8 00363F28 28 03 00 00 */ cmplwi r3, 0 +/* 80366FCC 00363F2C 41 82 00 0C */ beq lbl_80366FD8 +/* 80366FD0 00363F30 38 80 00 00 */ li r4, 0 +/* 80366FD4 00363F34 4B FD 9E 6D */ bl __dt__6CTokenFv +lbl_80366FD8: +/* 80366FD8 00363F38 38 00 00 00 */ li r0, 0 +/* 80366FDC 00363F3C 98 1E 00 54 */ stb r0, 0x54(r30) +lbl_80366FE0: +/* 80366FE0 00363F40 7F E0 07 35 */ extsh. r0, r31 +/* 80366FE4 00363F44 40 81 00 0C */ ble lbl_80366FF0 +/* 80366FE8 00363F48 7F C3 F3 78 */ mr r3, r30 +/* 80366FEC 00363F4C 4B FA E9 45 */ bl Free__7CMemoryFPCv +lbl_80366FF0: +/* 80366FF0 00363F50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80366FF4 00363F54 7F C3 F3 78 */ mr r3, r30 +/* 80366FF8 00363F58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80366FFC 00363F5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80367000 00363F60 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80367004 00363F64 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80367008 00363F68 7C 08 03 A6 */ mtlr r0 +/* 8036700C 00363F6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80367010 00363F70 4E 80 00 20 */ blr + +.global "__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv" +"__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv": +/* 80367014 00363F74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80367018 00363F78 7C 08 02 A6 */ mflr r0 +/* 8036701C 00363F7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367020 00363F80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80367024 00363F84 7C 9F 23 78 */ mr r31, r4 +/* 80367028 00363F88 93 C1 00 08 */ stw r30, 8(r1) +/* 8036702C 00363F8C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80367030 00363F90 41 82 00 20 */ beq lbl_80367050 +/* 80367034 00363F94 80 7E 00 00 */ lwz r3, 0(r30) +/* 80367038 00363F98 38 80 00 01 */ li r4, 1 +/* 8036703C 00363F9C 4B FC 2A 51 */ bl sub_80329a8c +/* 80367040 00363FA0 7F E0 07 35 */ extsh. r0, r31 +/* 80367044 00363FA4 40 81 00 0C */ ble lbl_80367050 +/* 80367048 00363FA8 7F C3 F3 78 */ mr r3, r30 +/* 8036704C 00363FAC 4B FA E8 E5 */ bl Free__7CMemoryFPCv +lbl_80367050: +/* 80367050 00363FB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80367054 00363FB4 7F C3 F3 78 */ mr r3, r30 +/* 80367058 00363FB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036705C 00363FBC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80367060 00363FC0 7C 08 03 A6 */ mtlr r0 +/* 80367064 00363FC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80367068 00363FC8 4E 80 00 20 */ blr + +.global __ct__15CGenDescriptionFv +__ct__15CGenDescriptionFv: +/* 8036706C 00363FCC 38 A0 00 00 */ li r5, 0 +/* 80367070 00363FD0 38 80 00 01 */ li r4, 1 +/* 80367074 00363FD4 90 A3 00 00 */ stw r5, 0(r3) +/* 80367078 00363FD8 90 A3 00 04 */ stw r5, 4(r3) +/* 8036707C 00363FDC 90 A3 00 08 */ stw r5, 8(r3) +/* 80367080 00363FE0 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80367084 00363FE4 90 A3 00 10 */ stw r5, 0x10(r3) +/* 80367088 00363FE8 90 A3 00 14 */ stw r5, 0x14(r3) +/* 8036708C 00363FEC 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80367090 00363FF0 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80367094 00363FF4 90 A3 00 20 */ stw r5, 0x20(r3) +/* 80367098 00363FF8 90 A3 00 24 */ stw r5, 0x24(r3) +/* 8036709C 00363FFC 90 A3 00 28 */ stw r5, 0x28(r3) +/* 803670A0 00364000 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 803670A4 00364004 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670A8 00364008 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 803670AC 0036400C 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670B0 00364010 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670B4 00364014 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 803670B8 00364018 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670BC 0036401C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670C0 00364020 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 803670C4 00364024 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670C8 00364028 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670CC 0036402C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 803670D0 00364030 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670D4 00364034 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670D8 00364038 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 803670DC 0036403C 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670E0 00364040 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670E4 00364044 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 803670E8 00364048 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670EC 0036404C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670F0 00364050 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 803670F4 00364054 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670F8 00364058 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670FC 0036405C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80367100 00364060 98 03 00 30 */ stb r0, 0x30(r3) +/* 80367104 00364064 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367108 00364068 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8036710C 0036406C 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367110 00364070 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367114 00364074 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80367118 00364078 98 03 00 31 */ stb r0, 0x31(r3) +/* 8036711C 0036407C 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367120 00364080 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80367124 00364084 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367128 00364088 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8036712C 0036408C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80367130 00364090 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367134 00364094 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367138 00364098 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8036713C 0036409C 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367140 003640A0 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367144 003640A4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80367148 003640A8 98 03 00 31 */ stb r0, 0x31(r3) +/* 8036714C 003640AC 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367150 003640B0 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80367154 003640B4 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367158 003640B8 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8036715C 003640BC 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80367160 003640C0 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367164 003640C4 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80367168 003640C8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8036716C 003640CC 98 03 00 32 */ stb r0, 0x32(r3) +/* 80367170 003640D0 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80367174 003640D4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80367178 003640D8 98 03 00 32 */ stb r0, 0x32(r3) +/* 8036717C 003640DC 90 A3 00 34 */ stw r5, 0x34(r3) +/* 80367180 003640E0 90 A3 00 38 */ stw r5, 0x38(r3) +/* 80367184 003640E4 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 80367188 003640E8 90 A3 00 40 */ stw r5, 0x40(r3) +/* 8036718C 003640EC 90 A3 00 44 */ stw r5, 0x44(r3) +/* 80367190 003640F0 98 A3 00 54 */ stb r5, 0x54(r3) +/* 80367194 003640F4 90 A3 00 58 */ stw r5, 0x58(r3) +/* 80367198 003640F8 90 A3 00 5C */ stw r5, 0x5c(r3) +/* 8036719C 003640FC 90 A3 00 60 */ stw r5, 0x60(r3) +/* 803671A0 00364100 90 A3 00 64 */ stw r5, 0x64(r3) +/* 803671A4 00364104 90 A3 00 68 */ stw r5, 0x68(r3) +/* 803671A8 00364108 90 A3 00 6C */ stw r5, 0x6c(r3) +/* 803671AC 0036410C 90 A3 00 70 */ stw r5, 0x70(r3) +/* 803671B0 00364110 90 A3 00 74 */ stw r5, 0x74(r3) +/* 803671B4 00364114 98 A3 00 84 */ stb r5, 0x84(r3) +/* 803671B8 00364118 90 A3 00 88 */ stw r5, 0x88(r3) +/* 803671BC 0036411C 90 A3 00 8C */ stw r5, 0x8c(r3) +/* 803671C0 00364120 98 A3 00 9C */ stb r5, 0x9c(r3) +/* 803671C4 00364124 90 A3 00 A0 */ stw r5, 0xa0(r3) +/* 803671C8 00364128 98 A3 00 B0 */ stb r5, 0xb0(r3) +/* 803671CC 0036412C 90 A3 00 B4 */ stw r5, 0xb4(r3) +/* 803671D0 00364130 90 A3 00 B8 */ stw r5, 0xb8(r3) +/* 803671D4 00364134 90 A3 00 BC */ stw r5, 0xbc(r3) +/* 803671D8 00364138 98 A3 00 CC */ stb r5, 0xcc(r3) +/* 803671DC 0036413C 90 A3 00 D0 */ stw r5, 0xd0(r3) +/* 803671E0 00364140 90 A3 00 D4 */ stw r5, 0xd4(r3) +/* 803671E4 00364144 98 A3 00 E0 */ stb r5, 0xe0(r3) +/* 803671E8 00364148 90 A3 00 E4 */ stw r5, 0xe4(r3) +/* 803671EC 0036414C 90 A3 00 E8 */ stw r5, 0xe8(r3) +/* 803671F0 00364150 90 A3 00 EC */ stw r5, 0xec(r3) +/* 803671F4 00364154 90 A3 00 F0 */ stw r5, 0xf0(r3) +/* 803671F8 00364158 90 A3 00 F4 */ stw r5, 0xf4(r3) +/* 803671FC 0036415C 90 A3 00 F8 */ stw r5, 0xf8(r3) +/* 80367200 00364160 90 A3 00 FC */ stw r5, 0xfc(r3) +/* 80367204 00364164 90 A3 01 00 */ stw r5, 0x100(r3) +/* 80367208 00364168 90 A3 01 04 */ stw r5, 0x104(r3) +/* 8036720C 0036416C 90 A3 01 08 */ stw r5, 0x108(r3) +/* 80367210 00364170 90 A3 01 0C */ stw r5, 0x10c(r3) +/* 80367214 00364174 90 A3 01 10 */ stw r5, 0x110(r3) +/* 80367218 00364178 90 A3 01 14 */ stw r5, 0x114(r3) +/* 8036721C 0036417C 90 A3 01 18 */ stw r5, 0x118(r3) +/* 80367220 00364180 90 A3 01 1C */ stw r5, 0x11c(r3) +/* 80367224 00364184 90 A3 01 20 */ stw r5, 0x120(r3) +/* 80367228 00364188 90 A3 01 24 */ stw r5, 0x124(r3) +/* 8036722C 0036418C 90 A3 01 28 */ stw r5, 0x128(r3) +/* 80367230 00364190 4E 80 00 20 */ blr + +.global element_from_desc__FP15CGenDescriptioni +element_from_desc__FP15CGenDescriptioni: +/* 80367234 00364194 7C 63 22 14 */ add r3, r3, r4 +/* 80367238 00364198 4E 80 00 20 */ blr + +.global EnsureWorldPakReady__8CPakFileFv +EnsureWorldPakReady__8CPakFileFv: +/* 8036723C 0036419C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80367240 003641A0 7C 08 02 A6 */ mflr r0 +/* 80367244 003641A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80367248 003641A8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036724C 003641AC 7C 7F 1B 78 */ mr r31, r3 +/* 80367250 003641B0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80367254 003641B4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80367258 003641B8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8036725C 003641BC 88 63 00 28 */ lbz r3, 0x28(r3) +/* 80367260 003641C0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80367264 003641C4 41 82 01 A8 */ beq lbl_8036740C +/* 80367268 003641C8 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8036726C 003641CC 41 82 01 A0 */ beq lbl_8036740C +/* 80367270 003641D0 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 80367274 003641D4 38 81 00 08 */ addi r4, r1, 8 +/* 80367278 003641D8 80 0D 9E 94 */ lwz r0, lbl_805A8A54@sda21(r13) +/* 8036727C 003641DC 1C 63 00 0A */ mulli r3, r3, 0xa +/* 80367280 003641E0 38 63 00 1F */ addi r3, r3, 0x1f +/* 80367284 003641E4 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80367288 003641E8 38 63 00 09 */ addi r3, r3, 9 +/* 8036728C 003641EC 7C 03 00 00 */ cmpw r3, r0 +/* 80367290 003641F0 90 61 00 08 */ stw r3, 8(r1) +/* 80367294 003641F4 40 80 00 08 */ bge lbl_8036729C +/* 80367298 003641F8 38 8D 9E 94 */ addi r4, r13, lbl_805A8A54@sda21 +lbl_8036729C: +/* 8036729C 003641FC 3C 60 CC CD */ lis r3, 0xCCCCCCCD@ha +/* 803672A0 00364200 80 04 00 00 */ lwz r0, 0(r4) +/* 803672A4 00364204 38 83 CC CD */ addi r4, r3, 0xCCCCCCCD@l +/* 803672A8 00364208 38 7F 00 74 */ addi r3, r31, 0x74 +/* 803672AC 0036420C 7C 04 00 16 */ mulhwu r0, r4, r0 +/* 803672B0 00364210 54 04 E8 FE */ srwi r4, r0, 3 +/* 803672B4 00364214 48 00 18 45 */ bl sub_80368af8 +/* 803672B8 00364218 3B A0 00 00 */ li r29, 0 +/* 803672BC 0036421C 3F C0 54 58 */ lis r30, 0x5458 +/* 803672C0 00364220 48 00 00 84 */ b lbl_80367344 +lbl_803672C4: +/* 803672C4 00364224 7F A4 EB 78 */ mr r4, r29 +/* 803672C8 00364228 38 61 00 0C */ addi r3, r1, 0xc +/* 803672CC 0036422C 38 BE 54 52 */ addi r5, r30, 0x5452 +/* 803672D0 00364230 38 C0 00 00 */ li r6, 0 +/* 803672D4 00364234 38 E0 00 00 */ li r7, 0 +/* 803672D8 00364238 39 00 00 00 */ li r8, 0 +/* 803672DC 0036423C 48 00 14 09 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 803672E0 00364240 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 803672E4 00364244 80 BF 00 7C */ lwz r5, 0x7c(r31) +/* 803672E8 00364248 7C 00 28 00 */ cmpw r0, r5 +/* 803672EC 0036424C 41 80 00 1C */ blt lbl_80367308 +/* 803672F0 00364250 2C 05 00 00 */ cmpwi r5, 0 +/* 803672F4 00364254 38 7F 00 74 */ addi r3, r31, 0x74 +/* 803672F8 00364258 38 80 00 04 */ li r4, 4 +/* 803672FC 0036425C 41 82 00 08 */ beq lbl_80367304 +/* 80367300 00364260 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367304: +/* 80367304 00364264 48 00 17 F5 */ bl sub_80368af8 +lbl_80367308: +/* 80367308 00364268 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 8036730C 0036426C 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80367310 00364270 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367314 00364274 7C 63 02 15 */ add. r3, r3, r0 +/* 80367318 00364278 41 82 00 1C */ beq lbl_80367334 +/* 8036731C 0036427C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80367320 00364280 90 03 00 00 */ stw r0, 0(r3) +/* 80367324 00364284 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80367328 00364288 90 03 00 04 */ stw r0, 4(r3) +/* 8036732C 0036428C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80367330 00364290 B0 03 00 08 */ sth r0, 8(r3) +lbl_80367334: +/* 80367334 00364294 80 7F 00 78 */ lwz r3, 0x78(r31) +/* 80367338 00364298 3B BD 00 01 */ addi r29, r29, 1 +/* 8036733C 0036429C 38 03 00 01 */ addi r0, r3, 1 +/* 80367340 003642A0 90 1F 00 78 */ stw r0, 0x78(r31) +lbl_80367344: +/* 80367344 003642A4 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80367348 003642A8 7C 1D 00 00 */ cmpw r29, r0 +/* 8036734C 003642AC 41 80 FF 78 */ blt lbl_803672C4 +/* 80367350 003642B0 1C A0 00 0A */ mulli r5, r0, 0xa +/* 80367354 003642B4 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 80367358 003642B8 80 9F 00 80 */ lwz r4, 0x80(r31) +/* 8036735C 003642BC 38 C0 00 01 */ li r6, 1 +/* 80367360 003642C0 38 05 00 1F */ addi r0, r5, 0x1f +/* 80367364 003642C4 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 80367368 003642C8 4B FD D4 E9 */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 8036736C 003642CC 4B FD D3 DD */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 80367370 003642D0 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80367374 003642D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80367378 003642D8 41 82 00 84 */ beq lbl_803673FC +/* 8036737C 003642DC 80 9F 00 4C */ lwz r4, 0x4c(r31) +/* 80367380 003642E0 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80367384 003642E4 4B CF C7 A1 */ bl "reserve__Q24rstl37vectorFi" +/* 80367388 003642E8 3B 80 00 00 */ li r28, 0 +/* 8036738C 003642EC 3B A0 00 00 */ li r29, 0 +/* 80367390 003642F0 48 00 00 60 */ b lbl_803673F0 +lbl_80367394: +/* 80367394 003642F4 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 80367398 003642F8 80 BF 00 6C */ lwz r5, 0x6c(r31) +/* 8036739C 003642FC 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 803673A0 00364300 7C 00 28 00 */ cmpw r0, r5 +/* 803673A4 00364304 7F C3 E8 2E */ lwzx r30, r3, r29 +/* 803673A8 00364308 41 80 00 1C */ blt lbl_803673C4 +/* 803673AC 0036430C 2C 05 00 00 */ cmpwi r5, 0 +/* 803673B0 00364310 38 7F 00 64 */ addi r3, r31, 0x64 +/* 803673B4 00364314 38 80 00 04 */ li r4, 4 +/* 803673B8 00364318 41 82 00 08 */ beq lbl_803673C0 +/* 803673BC 0036431C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803673C0: +/* 803673C0 00364320 4B CF C7 65 */ bl "reserve__Q24rstl37vectorFi" +lbl_803673C4: +/* 803673C4 00364324 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 803673C8 00364328 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 803673CC 0036432C 54 00 10 3A */ slwi r0, r0, 2 +/* 803673D0 00364330 7C 63 02 15 */ add. r3, r3, r0 +/* 803673D4 00364334 41 82 00 08 */ beq lbl_803673DC +/* 803673D8 00364338 93 C3 00 00 */ stw r30, 0(r3) +lbl_803673DC: +/* 803673DC 0036433C 80 7F 00 68 */ lwz r3, 0x68(r31) +/* 803673E0 00364340 3B BD 00 0A */ addi r29, r29, 0xa +/* 803673E4 00364344 3B 9C 00 01 */ addi r28, r28, 1 +/* 803673E8 00364348 38 03 00 01 */ addi r0, r3, 1 +/* 803673EC 0036434C 90 1F 00 68 */ stw r0, 0x68(r31) +lbl_803673F0: +/* 803673F0 00364350 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 803673F4 00364354 7C 1C 00 00 */ cmpw r28, r0 +/* 803673F8 00364358 41 80 FF 9C */ blt lbl_80367394 +lbl_803673FC: +/* 803673FC 0036435C 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80367400 00364360 38 60 00 00 */ li r3, 0 +/* 80367404 00364364 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80367408 00364368 98 1F 00 28 */ stb r0, 0x28(r31) +lbl_8036740C: +/* 8036740C 0036436C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80367410 00364370 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80367414 00364374 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80367418 00364378 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8036741C 0036437C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80367420 00364380 7C 08 03 A6 */ mtlr r0 +/* 80367424 00364384 38 21 00 30 */ addi r1, r1, 0x30 +/* 80367428 00364388 4E 80 00 20 */ blr + +.global sub_8036742c +sub_8036742c: +/* 8036742C 0036438C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80367430 00364390 7C 08 02 A6 */ mflr r0 +/* 80367434 00364394 90 01 00 54 */ stw r0, 0x54(r1) +/* 80367438 00364398 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8036743C 0036439C 7C 7F 1B 78 */ mr r31, r3 +/* 80367440 003643A0 88 63 00 28 */ lbz r3, 0x28(r3) +/* 80367444 003643A4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80367448 003643A8 41 82 00 C8 */ beq lbl_80367510 +/* 8036744C 003643AC 38 00 00 01 */ li r0, 1 +/* 80367450 003643B0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80367454 003643B4 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 80367458 003643B8 98 7F 00 28 */ stb r3, 0x28(r31) +/* 8036745C 003643BC 38 00 00 00 */ li r0, 0 +/* 80367460 003643C0 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80367464 003643C4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80367468 003643C8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8036746C 003643CC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80367470 003643D0 4B CF C2 8D */ bl "clear__Q24rstl37vectorFv" +/* 80367474 003643D4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80367478 003643D8 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8036747C 003643DC 54 00 10 3A */ slwi r0, r0, 2 +/* 80367480 003643E0 7C 03 02 14 */ add r0, r3, r0 +/* 80367484 003643E4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80367488 003643E8 7C 64 1B 78 */ mr r4, r3 +/* 8036748C 003643EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80367490 003643F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80367494 003643F4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80367498 003643F8 48 00 00 08 */ b lbl_803674A0 +lbl_8036749C: +/* 8036749C 003643FC 38 84 00 04 */ addi r4, r4, 4 +lbl_803674A0: +/* 803674A0 00364400 7C 04 00 40 */ cmplw r4, r0 +/* 803674A4 00364404 40 82 FF F8 */ bne lbl_8036749C +/* 803674A8 00364408 28 03 00 00 */ cmplwi r3, 0 +/* 803674AC 0036440C 41 82 00 08 */ beq lbl_803674B4 +/* 803674B0 00364410 4B FA E4 81 */ bl Free__7CMemoryFPCv +lbl_803674B4: +/* 803674B4 00364414 38 00 00 00 */ li r0, 0 +/* 803674B8 00364418 38 7F 00 74 */ addi r3, r31, 0x74 +/* 803674BC 0036441C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 803674C0 00364420 38 81 00 28 */ addi r4, r1, 0x28 +/* 803674C4 00364424 90 01 00 30 */ stw r0, 0x30(r1) +/* 803674C8 00364428 90 01 00 34 */ stw r0, 0x34(r1) +/* 803674CC 0036442C 48 00 00 59 */ bl sub_80367524 +/* 803674D0 00364430 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 803674D4 00364434 80 61 00 34 */ lwz r3, 0x34(r1) +/* 803674D8 00364438 1C 00 00 0A */ mulli r0, r0, 0xa +/* 803674DC 0036443C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803674E0 00364440 7C 64 1B 78 */ mr r4, r3 +/* 803674E4 00364444 7C 03 02 14 */ add r0, r3, r0 +/* 803674E8 00364448 90 61 00 08 */ stw r3, 8(r1) +/* 803674EC 0036444C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803674F0 00364450 90 01 00 10 */ stw r0, 0x10(r1) +/* 803674F4 00364454 48 00 00 08 */ b lbl_803674FC +lbl_803674F8: +/* 803674F8 00364458 38 84 00 0A */ addi r4, r4, 0xa +lbl_803674FC: +/* 803674FC 0036445C 7C 04 00 40 */ cmplw r4, r0 +/* 80367500 00364460 40 82 FF F8 */ bne lbl_803674F8 +/* 80367504 00364464 28 03 00 00 */ cmplwi r3, 0 +/* 80367508 00364468 41 82 00 08 */ beq lbl_80367510 +/* 8036750C 0036446C 4B FA E4 25 */ bl Free__7CMemoryFPCv +lbl_80367510: +/* 80367510 00364470 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80367514 00364474 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80367518 00364478 7C 08 03 A6 */ mtlr r0 +/* 8036751C 0036447C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80367520 00364480 4E 80 00 20 */ blr + +.global sub_80367524 +sub_80367524: +/* 80367524 00364484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80367528 00364488 7C 08 02 A6 */ mflr r0 +/* 8036752C 0036448C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80367530 00364490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80367534 00364494 7C 9F 23 78 */ mr r31, r4 +/* 80367538 00364498 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036753C 0036449C 7C 7E 1B 78 */ mr r30, r3 +/* 80367540 003644A0 7C 1E F8 40 */ cmplw r30, r31 +/* 80367544 003644A4 40 82 00 08 */ bne lbl_8036754C +/* 80367548 003644A8 48 00 00 C8 */ b lbl_80367610 +lbl_8036754C: +/* 8036754C 003644AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80367550 003644B0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80367554 003644B4 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367558 003644B8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036755C 003644BC 7C 03 02 14 */ add r0, r3, r0 +/* 80367560 003644C0 90 61 00 08 */ stw r3, 8(r1) +/* 80367564 003644C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367568 003644C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036756C 003644CC 48 00 00 08 */ b lbl_80367574 +lbl_80367570: +/* 80367570 003644D0 38 63 00 0A */ addi r3, r3, 0xa +lbl_80367574: +/* 80367574 003644D4 7C 03 00 40 */ cmplw r3, r0 +/* 80367578 003644D8 40 82 FF F8 */ bne lbl_80367570 +/* 8036757C 003644DC 38 00 00 00 */ li r0, 0 +/* 80367580 003644E0 90 1E 00 04 */ stw r0, 4(r30) +/* 80367584 003644E4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80367588 003644E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8036758C 003644EC 40 82 00 28 */ bne lbl_803675B4 +/* 80367590 003644F0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80367594 003644F4 28 03 00 00 */ cmplwi r3, 0 +/* 80367598 003644F8 41 82 00 08 */ beq lbl_803675A0 +/* 8036759C 003644FC 4B FA E3 95 */ bl Free__7CMemoryFPCv +lbl_803675A0: +/* 803675A0 00364500 38 00 00 00 */ li r0, 0 +/* 803675A4 00364504 90 1E 00 04 */ stw r0, 4(r30) +/* 803675A8 00364508 90 1E 00 08 */ stw r0, 8(r30) +/* 803675AC 0036450C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 803675B0 00364510 48 00 00 5C */ b lbl_8036760C +lbl_803675B4: +/* 803675B4 00364514 7F C3 F3 78 */ mr r3, r30 +/* 803675B8 00364518 48 00 15 41 */ bl sub_80368af8 +/* 803675BC 0036451C 80 1F 00 04 */ lwz r0, 4(r31) +/* 803675C0 00364520 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 803675C4 00364524 1C 00 00 0A */ mulli r0, r0, 0xa +/* 803675C8 00364528 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803675CC 0036452C 7C 85 02 14 */ add r4, r5, r0 +/* 803675D0 00364530 48 00 00 2C */ b lbl_803675FC +lbl_803675D4: +/* 803675D4 00364534 28 03 00 00 */ cmplwi r3, 0 +/* 803675D8 00364538 41 82 00 1C */ beq lbl_803675F4 +/* 803675DC 0036453C 80 05 00 00 */ lwz r0, 0(r5) +/* 803675E0 00364540 90 03 00 00 */ stw r0, 0(r3) +/* 803675E4 00364544 80 05 00 04 */ lwz r0, 4(r5) +/* 803675E8 00364548 90 03 00 04 */ stw r0, 4(r3) +/* 803675EC 0036454C A0 05 00 08 */ lhz r0, 8(r5) +/* 803675F0 00364550 B0 03 00 08 */ sth r0, 8(r3) +lbl_803675F4: +/* 803675F4 00364554 38 63 00 0A */ addi r3, r3, 0xa +/* 803675F8 00364558 38 A5 00 0A */ addi r5, r5, 0xa +lbl_803675FC: +/* 803675FC 0036455C 7C 05 20 40 */ cmplw r5, r4 +/* 80367600 00364560 40 82 FF D4 */ bne lbl_803675D4 +/* 80367604 00364564 80 1F 00 04 */ lwz r0, 4(r31) +/* 80367608 00364568 90 1E 00 04 */ stw r0, 4(r30) +lbl_8036760C: +/* 8036760C 0036456C 7F C3 F3 78 */ mr r3, r30 +lbl_80367610: +/* 80367610 00364570 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80367614 00364574 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80367618 00364578 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036761C 0036457C 7C 08 03 A6 */ mtlr r0 +/* 80367620 00364580 38 21 00 20 */ addi r1, r1, 0x20 +/* 80367624 00364584 4E 80 00 20 */ blr + +.global GetDepList__8CPakFileCFv +GetDepList__8CPakFileCFv: +/* 80367628 00364588 80 03 00 68 */ lwz r0, 0x68(r3) +/* 8036762C 0036458C 2C 00 00 00 */ cmpwi r0, 0 +/* 80367630 00364590 41 82 00 0C */ beq lbl_8036763C +/* 80367634 00364594 38 63 00 64 */ addi r3, r3, 0x64 +/* 80367638 00364598 4E 80 00 20 */ blr +lbl_8036763C: +/* 8036763C 0036459C 38 60 00 00 */ li r3, 0 +/* 80367640 003645A0 4E 80 00 20 */ blr + +.global GetResIdByName__8CPakFileCFPCc +GetResIdByName__8CPakFileCFPCc: +/* 80367644 003645A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80367648 003645A8 7C 08 02 A6 */ mflr r0 +/* 8036764C 003645AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80367650 003645B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80367654 003645B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80367658 003645B8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036765C 003645BC 7C 9D 23 78 */ mr r29, r4 +/* 80367660 003645C0 93 81 00 20 */ stw r28, 0x20(r1) +/* 80367664 003645C4 7C 7C 1B 78 */ mr r28, r3 +/* 80367668 003645C8 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8036766C 003645CC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80367670 003645D0 40 82 00 5C */ bne lbl_803676CC +/* 80367674 003645D4 83 DC 00 60 */ lwz r30, 0x60(r28) +/* 80367678 003645D8 48 00 00 3C */ b lbl_803676B4 +lbl_8036767C: +/* 8036767C 003645DC 7F A4 EB 78 */ mr r4, r29 +/* 80367680 003645E0 38 61 00 08 */ addi r3, r1, 8 +/* 80367684 003645E4 4B C9 D6 35 */ bl string_l__4rstlFPCc +/* 80367688 003645E8 7F C3 F3 78 */ mr r3, r30 +/* 8036768C 003645EC 38 81 00 08 */ addi r4, r1, 8 +/* 80367690 003645F0 4B FD 73 5D */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80367694 003645F4 7C 7F 1B 78 */ mr r31, r3 +/* 80367698 003645F8 38 61 00 08 */ addi r3, r1, 8 +/* 8036769C 003645FC 4B FD 64 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803676A0 00364600 2C 1F 00 00 */ cmpwi r31, 0 +/* 803676A4 00364604 40 82 00 0C */ bne lbl_803676B0 +/* 803676A8 00364608 38 7E 00 10 */ addi r3, r30, 0x10 +/* 803676AC 0036460C 48 00 00 24 */ b lbl_803676D0 +lbl_803676B0: +/* 803676B0 00364610 3B DE 00 18 */ addi r30, r30, 0x18 +lbl_803676B4: +/* 803676B4 00364614 80 1C 00 58 */ lwz r0, 0x58(r28) +/* 803676B8 00364618 80 7C 00 60 */ lwz r3, 0x60(r28) +/* 803676BC 0036461C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 803676C0 00364620 7C 03 02 14 */ add r0, r3, r0 +/* 803676C4 00364624 7C 1E 00 40 */ cmplw r30, r0 +/* 803676C8 00364628 40 82 FF B4 */ bne lbl_8036767C +lbl_803676CC: +/* 803676CC 0036462C 38 60 00 00 */ li r3, 0 +lbl_803676D0: +/* 803676D0 00364630 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803676D4 00364634 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803676D8 00364638 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803676DC 0036463C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803676E0 00364640 83 81 00 20 */ lwz r28, 0x20(r1) +/* 803676E4 00364644 7C 08 03 A6 */ mtlr r0 +/* 803676E8 00364648 38 21 00 30 */ addi r1, r1, 0x30 +/* 803676EC 0036464C 4E 80 00 20 */ blr + +.global GetResInfoForLoadPreferForward__8CPakFileCFUi +GetResInfoForLoadPreferForward__8CPakFileCFUi: +/* 803676F0 00364650 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803676F4 00364654 7C 08 02 A6 */ mflr r0 +/* 803676F8 00364658 90 01 00 54 */ stw r0, 0x54(r1) +/* 803676FC 0036465C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 80367700 00364660 7C 7E 1B 78 */ mr r30, r3 +/* 80367704 00364664 7C 9F 23 78 */ mr r31, r4 +/* 80367708 00364668 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8036770C 0036466C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80367710 00364670 41 82 00 0C */ beq lbl_8036771C +/* 80367714 00364674 38 60 00 00 */ li r3, 0 +/* 80367718 00364678 48 00 01 40 */ b lbl_80367858 +lbl_8036771C: +/* 8036771C 0036467C 3C A0 54 58 */ lis r5, 0x54585452@ha +/* 80367720 00364680 38 61 00 20 */ addi r3, r1, 0x20 +/* 80367724 00364684 38 A5 54 52 */ addi r5, r5, 0x54585452@l +/* 80367728 00364688 38 C0 00 00 */ li r6, 0 +/* 8036772C 0036468C 38 E0 00 00 */ li r7, 0 +/* 80367730 00364690 39 00 00 00 */ li r8, 0 +/* 80367734 00364694 48 00 0F B1 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 80367738 00364698 88 0D AA DC */ lbz r0, lbl_805A969C@sda21(r13) +/* 8036773C 0036469C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80367740 003646A0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80367744 003646A4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80367748 003646A8 98 01 00 08 */ stb r0, 8(r1) +/* 8036774C 003646AC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80367750 003646B0 38 E1 00 08 */ addi r7, r1, 8 +/* 80367754 003646B4 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367758 003646B8 81 1E 00 80 */ lwz r8, 0x80(r30) +/* 8036775C 003646BC 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367760 003646C0 7D 08 02 14 */ add r8, r8, r0 +/* 80367764 003646C4 91 01 00 10 */ stw r8, 0x10(r1) +/* 80367768 003646C8 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 8036776C 003646CC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80367770 003646D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367774 003646D4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80367778 003646D8 48 00 12 C1 */ bl sub_80368a38 +/* 8036777C 003646DC 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367780 003646E0 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 80367784 003646E4 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367788 003646E8 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 8036778C 003646EC 7C 03 02 14 */ add r0, r3, r0 +/* 80367790 003646F0 7C 1D 00 40 */ cmplw r29, r0 +/* 80367794 003646F4 41 82 00 10 */ beq lbl_803677A4 +/* 80367798 003646F8 80 1D 00 00 */ lwz r0, 0(r29) +/* 8036779C 003646FC 7C 1F 00 40 */ cmplw r31, r0 +/* 803677A0 00364700 41 82 00 0C */ beq lbl_803677AC +lbl_803677A4: +/* 803677A4 00364704 38 60 00 00 */ li r3, 0 +/* 803677A8 00364708 48 00 00 B0 */ b lbl_80367858 +lbl_803677AC: +/* 803677AC 0036470C 7F BC EB 78 */ mr r28, r29 +/* 803677B0 00364710 7F A3 EB 78 */ mr r3, r29 +/* 803677B4 00364714 48 00 0E ED */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 803677B8 00364718 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 803677BC 0036471C 3B BD 00 0A */ addi r29, r29, 0xa +/* 803677C0 00364720 7F 63 00 50 */ subf r27, r3, r0 +/* 803677C4 00364724 48 00 00 5C */ b lbl_80367820 +lbl_803677C8: +/* 803677C8 00364728 80 1D 00 00 */ lwz r0, 0(r29) +/* 803677CC 0036472C 7C 1F 00 40 */ cmplw r31, r0 +/* 803677D0 00364730 40 82 00 68 */ bne lbl_80367838 +/* 803677D4 00364734 7F A3 EB 78 */ mr r3, r29 +/* 803677D8 00364738 48 00 0E C9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 803677DC 0036473C 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 803677E0 00364740 2C 1B 00 00 */ cmpwi r27, 0 +/* 803677E4 00364744 7C 03 00 50 */ subf r0, r3, r0 +/* 803677E8 00364748 40 80 00 14 */ bge lbl_803677FC +/* 803677EC 0036474C 2C 00 00 00 */ cmpwi r0, 0 +/* 803677F0 00364750 41 81 00 24 */ bgt lbl_80367814 +/* 803677F4 00364754 7C 00 D8 00 */ cmpw r0, r27 +/* 803677F8 00364758 41 81 00 1C */ bgt lbl_80367814 +lbl_803677FC: +/* 803677FC 0036475C 2C 1B 00 00 */ cmpwi r27, 0 +/* 80367800 00364760 41 80 00 1C */ blt lbl_8036781C +/* 80367804 00364764 2C 00 00 00 */ cmpwi r0, 0 +/* 80367808 00364768 40 81 00 14 */ ble lbl_8036781C +/* 8036780C 0036476C 7C 00 D8 00 */ cmpw r0, r27 +/* 80367810 00364770 40 80 00 0C */ bge lbl_8036781C +lbl_80367814: +/* 80367814 00364774 7F BC EB 78 */ mr r28, r29 +/* 80367818 00364778 7C 1B 03 78 */ mr r27, r0 +lbl_8036781C: +/* 8036781C 0036477C 3B BD 00 0A */ addi r29, r29, 0xa +lbl_80367820: +/* 80367820 00364780 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367824 00364784 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 80367828 00364788 1C 00 00 0A */ mulli r0, r0, 0xa +/* 8036782C 0036478C 7C 03 02 14 */ add r0, r3, r0 +/* 80367830 00364790 7C 1D 00 40 */ cmplw r29, r0 +/* 80367834 00364794 40 82 FF 94 */ bne lbl_803677C8 +lbl_80367838: +/* 80367838 00364798 7F 83 E3 78 */ mr r3, r28 +/* 8036783C 0036479C 48 00 0E 45 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 80367840 003647A0 7C 7F 1B 78 */ mr r31, r3 +/* 80367844 003647A4 7F 83 E3 78 */ mr r3, r28 +/* 80367848 003647A8 48 00 0E 59 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8036784C 003647AC 7C 03 FA 14 */ add r0, r3, r31 +/* 80367850 003647B0 7F 83 E3 78 */ mr r3, r28 +/* 80367854 003647B4 90 1E 00 84 */ stw r0, 0x84(r30) +lbl_80367858: +/* 80367858 003647B8 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8036785C 003647BC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80367860 003647C0 7C 08 03 A6 */ mtlr r0 +/* 80367864 003647C4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80367868 003647C8 4E 80 00 20 */ blr + +.global GetResInfoForLoadDirectionless__8CPakFileCFUi +GetResInfoForLoadDirectionless__8CPakFileCFUi: +/* 8036786C 003647CC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80367870 003647D0 7C 08 02 A6 */ mflr r0 +/* 80367874 003647D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80367878 003647D8 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8036787C 003647DC 7C 7C 1B 78 */ mr r28, r3 +/* 80367880 003647E0 7C 9D 23 78 */ mr r29, r4 +/* 80367884 003647E4 88 03 00 28 */ lbz r0, 0x28(r3) +/* 80367888 003647E8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8036788C 003647EC 41 82 00 0C */ beq lbl_80367898 +/* 80367890 003647F0 38 60 00 00 */ li r3, 0 +/* 80367894 003647F4 48 00 01 24 */ b lbl_803679B8 +lbl_80367898: +/* 80367898 003647F8 3C A0 54 58 */ lis r5, 0x54585452@ha +/* 8036789C 003647FC 38 61 00 20 */ addi r3, r1, 0x20 +/* 803678A0 00364800 38 A5 54 52 */ addi r5, r5, 0x54585452@l +/* 803678A4 00364804 38 C0 00 00 */ li r6, 0 +/* 803678A8 00364808 38 E0 00 00 */ li r7, 0 +/* 803678AC 0036480C 39 00 00 00 */ li r8, 0 +/* 803678B0 00364810 48 00 0E 35 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 803678B4 00364814 88 0D AA D8 */ lbz r0, lbl_805A9698@sda21(r13) +/* 803678B8 00364818 38 61 00 1C */ addi r3, r1, 0x1c +/* 803678BC 0036481C 38 81 00 18 */ addi r4, r1, 0x18 +/* 803678C0 00364820 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803678C4 00364824 98 01 00 08 */ stb r0, 8(r1) +/* 803678C8 00364828 38 C1 00 20 */ addi r6, r1, 0x20 +/* 803678CC 0036482C 38 E1 00 08 */ addi r7, r1, 8 +/* 803678D0 00364830 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 803678D4 00364834 81 1C 00 80 */ lwz r8, 0x80(r28) +/* 803678D8 00364838 1C 00 00 0A */ mulli r0, r0, 0xa +/* 803678DC 0036483C 7D 08 02 14 */ add r8, r8, r0 +/* 803678E0 00364840 91 01 00 10 */ stw r8, 0x10(r1) +/* 803678E4 00364844 80 1C 00 80 */ lwz r0, 0x80(r28) +/* 803678E8 00364848 91 01 00 0C */ stw r8, 0xc(r1) +/* 803678EC 0036484C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803678F0 00364850 90 01 00 18 */ stw r0, 0x18(r1) +/* 803678F4 00364854 48 00 11 45 */ bl sub_80368a38 +/* 803678F8 00364858 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 803678FC 0036485C 80 7C 00 80 */ lwz r3, 0x80(r28) +/* 80367900 00364860 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367904 00364864 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80367908 00364868 7C 03 02 14 */ add r0, r3, r0 +/* 8036790C 0036486C 7C 1F 00 40 */ cmplw r31, r0 +/* 80367910 00364870 41 82 00 10 */ beq lbl_80367920 +/* 80367914 00364874 80 1F 00 00 */ lwz r0, 0(r31) +/* 80367918 00364878 7C 1D 00 40 */ cmplw r29, r0 +/* 8036791C 0036487C 41 82 00 0C */ beq lbl_80367928 +lbl_80367920: +/* 80367920 00364880 38 60 00 00 */ li r3, 0 +/* 80367924 00364884 48 00 00 94 */ b lbl_803679B8 +lbl_80367928: +/* 80367928 00364888 7F FE FB 78 */ mr r30, r31 +/* 8036792C 0036488C 7F E3 FB 78 */ mr r3, r31 +/* 80367930 00364890 48 00 0D 71 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 80367934 00364894 80 1C 00 84 */ lwz r0, 0x84(r28) +/* 80367938 00364898 7C 60 18 50 */ subf r3, r0, r3 +/* 8036793C 0036489C 48 02 54 E1 */ bl abs +/* 80367940 003648A0 7C 7B 1B 78 */ mr r27, r3 +/* 80367944 003648A4 3B FF 00 0A */ addi r31, r31, 0xa +/* 80367948 003648A8 48 00 00 38 */ b lbl_80367980 +lbl_8036794C: +/* 8036794C 003648AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80367950 003648B0 7C 1D 00 40 */ cmplw r29, r0 +/* 80367954 003648B4 40 82 00 44 */ bne lbl_80367998 +/* 80367958 003648B8 7F E3 FB 78 */ mr r3, r31 +/* 8036795C 003648BC 48 00 0D 45 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 80367960 003648C0 80 1C 00 84 */ lwz r0, 0x84(r28) +/* 80367964 003648C4 7C 60 18 50 */ subf r3, r0, r3 +/* 80367968 003648C8 48 02 54 B5 */ bl abs +/* 8036796C 003648CC 7C 03 D8 00 */ cmpw r3, r27 +/* 80367970 003648D0 40 80 00 0C */ bge lbl_8036797C +/* 80367974 003648D4 7F FE FB 78 */ mr r30, r31 +/* 80367978 003648D8 7C 7B 1B 78 */ mr r27, r3 +lbl_8036797C: +/* 8036797C 003648DC 3B FF 00 0A */ addi r31, r31, 0xa +lbl_80367980: +/* 80367980 003648E0 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367984 003648E4 80 7C 00 80 */ lwz r3, 0x80(r28) +/* 80367988 003648E8 1C 00 00 0A */ mulli r0, r0, 0xa +/* 8036798C 003648EC 7C 03 02 14 */ add r0, r3, r0 +/* 80367990 003648F0 7C 1F 00 40 */ cmplw r31, r0 +/* 80367994 003648F4 40 82 FF B8 */ bne lbl_8036794C +lbl_80367998: +/* 80367998 003648F8 7F C3 F3 78 */ mr r3, r30 +/* 8036799C 003648FC 48 00 0C E5 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 803679A0 00364900 7C 7D 1B 78 */ mr r29, r3 +/* 803679A4 00364904 7F C3 F3 78 */ mr r3, r30 +/* 803679A8 00364908 48 00 0C F9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 803679AC 0036490C 7C 03 EA 14 */ add r0, r3, r29 +/* 803679B0 00364910 7F C3 F3 78 */ mr r3, r30 +/* 803679B4 00364914 90 1C 00 84 */ stw r0, 0x84(r28) +lbl_803679B8: +/* 803679B8 00364918 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 803679BC 0036491C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803679C0 00364920 7C 08 03 A6 */ mtlr r0 +/* 803679C4 00364924 38 21 00 50 */ addi r1, r1, 0x50 +/* 803679C8 00364928 4E 80 00 20 */ blr + +.global GetResInfo__8CPakFileCFUi +GetResInfo__8CPakFileCFUi: +/* 803679CC 0036492C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803679D0 00364930 7C 08 02 A6 */ mflr r0 +/* 803679D4 00364934 90 01 00 44 */ stw r0, 0x44(r1) +/* 803679D8 00364938 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803679DC 0036493C 7C 9F 23 78 */ mr r31, r4 +/* 803679E0 00364940 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803679E4 00364944 7C 7E 1B 78 */ mr r30, r3 +/* 803679E8 00364948 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 803679EC 0036494C 2C 00 00 03 */ cmpwi r0, 3 +/* 803679F0 00364950 41 82 00 0C */ beq lbl_803679FC +/* 803679F4 00364954 38 60 00 00 */ li r3, 0 +/* 803679F8 00364958 48 00 00 A0 */ b lbl_80367A98 +lbl_803679FC: +/* 803679FC 0036495C 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 80367A00 00364960 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80367A04 00364964 41 82 00 0C */ beq lbl_80367A10 +/* 80367A08 00364968 38 60 00 00 */ li r3, 0 +/* 80367A0C 0036496C 48 00 00 8C */ b lbl_80367A98 +lbl_80367A10: +/* 80367A10 00364970 3C A0 54 58 */ lis r5, 0x54585452@ha +/* 80367A14 00364974 38 61 00 20 */ addi r3, r1, 0x20 +/* 80367A18 00364978 38 A5 54 52 */ addi r5, r5, 0x54585452@l +/* 80367A1C 0036497C 38 C0 00 00 */ li r6, 0 +/* 80367A20 00364980 38 E0 00 00 */ li r7, 0 +/* 80367A24 00364984 39 00 00 00 */ li r8, 0 +/* 80367A28 00364988 48 00 0C BD */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 80367A2C 0036498C 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367A30 00364990 38 61 00 1C */ addi r3, r1, 0x1c +/* 80367A34 00364994 81 1E 00 80 */ lwz r8, 0x80(r30) +/* 80367A38 00364998 38 81 00 18 */ addi r4, r1, 0x18 +/* 80367A3C 0036499C 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367A40 003649A0 88 ED AA D4 */ lbz r7, lbl_805A9694@sda21(r13) +/* 80367A44 003649A4 91 01 00 14 */ stw r8, 0x14(r1) +/* 80367A48 003649A8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80367A4C 003649AC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80367A50 003649B0 7C 08 02 14 */ add r0, r8, r0 +/* 80367A54 003649B4 98 E1 00 08 */ stb r7, 8(r1) +/* 80367A58 003649B8 38 E1 00 08 */ addi r7, r1, 8 +/* 80367A5C 003649BC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80367A60 003649C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80367A64 003649C4 91 01 00 18 */ stw r8, 0x18(r1) +/* 80367A68 003649C8 48 00 0F 11 */ bl sub_80368978 +/* 80367A6C 003649CC 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367A70 003649D0 80 9E 00 80 */ lwz r4, 0x80(r30) +/* 80367A74 003649D4 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367A78 003649D8 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80367A7C 003649DC 7C 04 02 14 */ add r0, r4, r0 +/* 80367A80 003649E0 7C 03 00 40 */ cmplw r3, r0 +/* 80367A84 003649E4 41 82 00 10 */ beq lbl_80367A94 +/* 80367A88 003649E8 80 03 00 00 */ lwz r0, 0(r3) +/* 80367A8C 003649EC 7C 1F 00 40 */ cmplw r31, r0 +/* 80367A90 003649F0 41 82 00 08 */ beq lbl_80367A98 +lbl_80367A94: +/* 80367A94 003649F4 38 60 00 00 */ li r3, 0 +lbl_80367A98: +/* 80367A98 003649F8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80367A9C 003649FC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80367AA0 00364A00 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80367AA4 00364A04 7C 08 03 A6 */ mtlr r0 +/* 80367AA8 00364A08 38 21 00 40 */ addi r1, r1, 0x40 +/* 80367AAC 00364A0C 4E 80 00 20 */ blr + +.global GetFakeStaticSize__8CPakFileCFv +GetFakeStaticSize__8CPakFileCFv: +/* 80367AB0 00364A10 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80367AB4 00364A14 80 63 00 68 */ lwz r3, 0x68(r3) +/* 80367AB8 00364A18 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367ABC 00364A1C 54 63 10 3A */ slwi r3, r3, 2 +/* 80367AC0 00364A20 7C 63 02 14 */ add r3, r3, r0 +/* 80367AC4 00364A24 4E 80 00 20 */ blr + +.global LoadResourceTable__8CPakFileFR15CMemoryInStream +LoadResourceTable__8CPakFileFR15CMemoryInStream: +/* 80367AC8 00364A28 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80367ACC 00364A2C 7C 08 02 A6 */ mflr r0 +/* 80367AD0 00364A30 90 01 00 54 */ stw r0, 0x54(r1) +/* 80367AD4 00364A34 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 80367AD8 00364A38 7C 7C 1B 78 */ mr r28, r3 +/* 80367ADC 00364A3C 7C 9D 23 78 */ mr r29, r4 +/* 80367AE0 00364A40 38 81 00 1C */ addi r4, r1, 0x1c +/* 80367AE4 00364A44 80 63 00 4C */ lwz r3, 0x4c(r3) +/* 80367AE8 00364A48 80 0D 9E 90 */ lwz r0, lbl_805A8A50@sda21(r13) +/* 80367AEC 00364A4C 1C 63 00 0A */ mulli r3, r3, 0xa +/* 80367AF0 00364A50 38 63 00 1F */ addi r3, r3, 0x1f +/* 80367AF4 00364A54 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80367AF8 00364A58 38 63 00 09 */ addi r3, r3, 9 +/* 80367AFC 00364A5C 7C 03 00 00 */ cmpw r3, r0 +/* 80367B00 00364A60 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80367B04 00364A64 40 80 00 08 */ bge lbl_80367B0C +/* 80367B08 00364A68 38 8D 9E 90 */ addi r4, r13, lbl_805A8A50@sda21 +lbl_80367B0C: +/* 80367B0C 00364A6C 3C 60 CC CD */ lis r3, 0xCCCCCCCD@ha +/* 80367B10 00364A70 80 04 00 00 */ lwz r0, 0(r4) +/* 80367B14 00364A74 38 83 CC CD */ addi r4, r3, 0xCCCCCCCD@l +/* 80367B18 00364A78 38 7C 00 74 */ addi r3, r28, 0x74 +/* 80367B1C 00364A7C 7C 04 00 16 */ mulhwu r0, r4, r0 +/* 80367B20 00364A80 54 04 E8 FE */ srwi r4, r0, 3 +/* 80367B24 00364A84 48 00 0F D5 */ bl sub_80368af8 +/* 80367B28 00364A88 88 1C 00 28 */ lbz r0, 0x28(r28) +/* 80367B2C 00364A8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80367B30 00364A90 41 82 00 10 */ beq lbl_80367B40 +/* 80367B34 00364A94 80 9C 00 4C */ lwz r4, 0x4c(r28) +/* 80367B38 00364A98 38 7C 00 64 */ addi r3, r28, 0x64 +/* 80367B3C 00364A9C 4B CF BF E9 */ bl "reserve__Q24rstl37vectorFi" +lbl_80367B40: +/* 80367B40 00364AA0 3B C0 00 00 */ li r30, 0 +/* 80367B44 00364AA4 48 00 01 14 */ b lbl_80367C58 +lbl_80367B48: +/* 80367B48 00364AA8 7F A3 EB 78 */ mr r3, r29 +/* 80367B4C 00364AAC 4B FD 71 39 */ bl ReadLong__12CInputStreamFv +/* 80367B50 00364AB0 7C 7B 1B 78 */ mr r27, r3 +/* 80367B54 00364AB4 7F A3 EB 78 */ mr r3, r29 +/* 80367B58 00364AB8 4B FD 71 2D */ bl ReadLong__12CInputStreamFv +/* 80367B5C 00364ABC 7C 7A 1B 78 */ mr r26, r3 +/* 80367B60 00364AC0 7F A3 EB 78 */ mr r3, r29 +/* 80367B64 00364AC4 4B FD 71 21 */ bl ReadLong__12CInputStreamFv +/* 80367B68 00364AC8 7C 7F 1B 78 */ mr r31, r3 +/* 80367B6C 00364ACC 7F A3 EB 78 */ mr r3, r29 +/* 80367B70 00364AD0 4B FD 71 15 */ bl ReadLong__12CInputStreamFv +/* 80367B74 00364AD4 7C 79 1B 78 */ mr r25, r3 +/* 80367B78 00364AD8 7F A3 EB 78 */ mr r3, r29 +/* 80367B7C 00364ADC 4B FD 71 09 */ bl ReadLong__12CInputStreamFv +/* 80367B80 00364AE0 7C 66 1B 78 */ mr r6, r3 +/* 80367B84 00364AE4 7F E4 FB 78 */ mr r4, r31 +/* 80367B88 00364AE8 7F 45 D3 78 */ mr r5, r26 +/* 80367B8C 00364AEC 7F 27 CB 78 */ mr r7, r25 +/* 80367B90 00364AF0 7F 68 DB 78 */ mr r8, r27 +/* 80367B94 00364AF4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80367B98 00364AF8 48 00 0B 4D */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 80367B9C 00364AFC 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367BA0 00364B00 80 BC 00 7C */ lwz r5, 0x7c(r28) +/* 80367BA4 00364B04 7C 00 28 00 */ cmpw r0, r5 +/* 80367BA8 00364B08 41 80 00 1C */ blt lbl_80367BC4 +/* 80367BAC 00364B0C 2C 05 00 00 */ cmpwi r5, 0 +/* 80367BB0 00364B10 38 7C 00 74 */ addi r3, r28, 0x74 +/* 80367BB4 00364B14 38 80 00 04 */ li r4, 4 +/* 80367BB8 00364B18 41 82 00 08 */ beq lbl_80367BC0 +/* 80367BBC 00364B1C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367BC0: +/* 80367BC0 00364B20 48 00 0F 39 */ bl sub_80368af8 +lbl_80367BC4: +/* 80367BC4 00364B24 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367BC8 00364B28 80 7C 00 80 */ lwz r3, 0x80(r28) +/* 80367BCC 00364B2C 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367BD0 00364B30 7C 63 02 15 */ add. r3, r3, r0 +/* 80367BD4 00364B34 41 82 00 1C */ beq lbl_80367BF0 +/* 80367BD8 00364B38 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80367BDC 00364B3C 90 03 00 00 */ stw r0, 0(r3) +/* 80367BE0 00364B40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80367BE4 00364B44 90 03 00 04 */ stw r0, 4(r3) +/* 80367BE8 00364B48 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 80367BEC 00364B4C B0 03 00 08 */ sth r0, 8(r3) +lbl_80367BF0: +/* 80367BF0 00364B50 80 7C 00 78 */ lwz r3, 0x78(r28) +/* 80367BF4 00364B54 38 03 00 01 */ addi r0, r3, 1 +/* 80367BF8 00364B58 90 1C 00 78 */ stw r0, 0x78(r28) +/* 80367BFC 00364B5C 88 1C 00 28 */ lbz r0, 0x28(r28) +/* 80367C00 00364B60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80367C04 00364B64 41 82 00 50 */ beq lbl_80367C54 +/* 80367C08 00364B68 80 1C 00 68 */ lwz r0, 0x68(r28) +/* 80367C0C 00364B6C 80 BC 00 6C */ lwz r5, 0x6c(r28) +/* 80367C10 00364B70 7C 00 28 00 */ cmpw r0, r5 +/* 80367C14 00364B74 41 80 00 1C */ blt lbl_80367C30 +/* 80367C18 00364B78 2C 05 00 00 */ cmpwi r5, 0 +/* 80367C1C 00364B7C 38 7C 00 64 */ addi r3, r28, 0x64 +/* 80367C20 00364B80 38 80 00 04 */ li r4, 4 +/* 80367C24 00364B84 41 82 00 08 */ beq lbl_80367C2C +/* 80367C28 00364B88 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367C2C: +/* 80367C2C 00364B8C 4B CF BE F9 */ bl "reserve__Q24rstl37vectorFi" +lbl_80367C30: +/* 80367C30 00364B90 80 1C 00 68 */ lwz r0, 0x68(r28) +/* 80367C34 00364B94 80 7C 00 70 */ lwz r3, 0x70(r28) +/* 80367C38 00364B98 54 00 10 3A */ slwi r0, r0, 2 +/* 80367C3C 00364B9C 7C 63 02 15 */ add. r3, r3, r0 +/* 80367C40 00364BA0 41 82 00 08 */ beq lbl_80367C48 +/* 80367C44 00364BA4 93 E3 00 00 */ stw r31, 0(r3) +lbl_80367C48: +/* 80367C48 00364BA8 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 80367C4C 00364BAC 38 03 00 01 */ addi r0, r3, 1 +/* 80367C50 00364BB0 90 1C 00 68 */ stw r0, 0x68(r28) +lbl_80367C54: +/* 80367C54 00364BB4 3B DE 00 01 */ addi r30, r30, 1 +lbl_80367C58: +/* 80367C58 00364BB8 80 1C 00 4C */ lwz r0, 0x4c(r28) +/* 80367C5C 00364BBC 7C 1E 00 00 */ cmpw r30, r0 +/* 80367C60 00364BC0 41 80 FE E8 */ blt lbl_80367B48 +/* 80367C64 00364BC4 88 0D AA D0 */ lbz r0, lbl_805A9690@sda21(r13) +/* 80367C68 00364BC8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367C6C 00364BCC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80367C70 00364BD0 38 A1 00 08 */ addi r5, r1, 8 +/* 80367C74 00364BD4 98 01 00 08 */ stb r0, 8(r1) +/* 80367C78 00364BD8 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367C7C 00364BDC 80 DC 00 80 */ lwz r6, 0x80(r28) +/* 80367C80 00364BE0 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367C84 00364BE4 7C C6 02 14 */ add r6, r6, r0 +/* 80367C88 00364BE8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80367C8C 00364BEC 80 1C 00 80 */ lwz r0, 0x80(r28) +/* 80367C90 00364BF0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80367C94 00364BF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367C98 00364BF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 80367C9C 00364BFC 48 00 0A F1 */ bl sub_8036878c +/* 80367CA0 00364C00 BB 21 00 34 */ lmw r25, 0x34(r1) +/* 80367CA4 00364C04 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80367CA8 00364C08 7C 08 03 A6 */ mtlr r0 +/* 80367CAC 00364C0C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80367CB0 00364C10 4E 80 00 20 */ blr + +.global DataLoad__8CPakFileFv +DataLoad__8CPakFileFv: +/* 80367CB4 00364C14 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80367CB8 00364C18 7C 08 02 A6 */ mflr r0 +/* 80367CBC 00364C1C 38 80 00 00 */ li r4, 0 +/* 80367CC0 00364C20 90 01 00 64 */ stw r0, 0x64(r1) +/* 80367CC4 00364C24 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80367CC8 00364C28 7C 7F 1B 78 */ mr r31, r3 +/* 80367CCC 00364C2C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367CD0 00364C30 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80367CD4 00364C34 38 1F 00 30 */ addi r0, r31, 0x30 +/* 80367CD8 00364C38 7C 03 00 40 */ cmplw r3, r0 +/* 80367CDC 00364C3C 98 81 00 18 */ stb r4, 0x18(r1) +/* 80367CE0 00364C40 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80367CE4 00364C44 41 82 00 48 */ beq lbl_80367D2C +/* 80367CE8 00364C48 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80367CEC 00364C4C 28 00 00 00 */ cmplwi r0, 0 +/* 80367CF0 00364C50 41 82 00 24 */ beq lbl_80367D14 +/* 80367CF4 00364C54 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80367CF8 00364C58 28 03 00 00 */ cmplwi r3, 0 +/* 80367CFC 00364C5C 41 82 00 18 */ beq lbl_80367D14 +/* 80367D00 00364C60 81 83 00 00 */ lwz r12, 0(r3) +/* 80367D04 00364C64 38 80 00 01 */ li r4, 1 +/* 80367D08 00364C68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367D0C 00364C6C 7D 89 03 A6 */ mtctr r12 +/* 80367D10 00364C70 4E 80 04 21 */ bctrl +lbl_80367D14: +/* 80367D14 00364C74 88 61 00 18 */ lbz r3, 0x18(r1) +/* 80367D18 00364C78 38 00 00 00 */ li r0, 0 +/* 80367D1C 00364C7C 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80367D20 00364C80 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80367D24 00364C84 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80367D28 00364C88 98 01 00 18 */ stb r0, 0x18(r1) +lbl_80367D2C: +/* 80367D2C 00364C8C 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80367D30 00364C90 28 00 00 00 */ cmplwi r0, 0 +/* 80367D34 00364C94 41 82 00 24 */ beq lbl_80367D58 +/* 80367D38 00364C98 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80367D3C 00364C9C 28 03 00 00 */ cmplwi r3, 0 +/* 80367D40 00364CA0 41 82 00 18 */ beq lbl_80367D58 +/* 80367D44 00364CA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80367D48 00364CA8 38 80 00 01 */ li r4, 1 +/* 80367D4C 00364CAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367D50 00364CB0 7D 89 03 A6 */ mtctr r12 +/* 80367D54 00364CB4 4E 80 04 21 */ bctrl +lbl_80367D58: +/* 80367D58 00364CB8 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80367D5C 00364CBC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80367D60 00364CC0 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 80367D64 00364CC4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80367D68 00364CC8 7C 84 2A 14 */ add r4, r4, r5 +/* 80367D6C 00364CCC 7C A5 00 50 */ subf r5, r5, r0 +/* 80367D70 00364CD0 4B FD 74 5D */ bl __ct__15CMemoryInStreamFPCvUl +/* 80367D74 00364CD4 7F E3 FB 78 */ mr r3, r31 +/* 80367D78 00364CD8 38 81 00 30 */ addi r4, r1, 0x30 +/* 80367D7C 00364CDC 4B FF FD 4D */ bl LoadResourceTable__8CPakFileFR15CMemoryInStream +/* 80367D80 00364CE0 38 00 00 03 */ li r0, 3 +/* 80367D84 00364CE4 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80367D88 00364CE8 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80367D8C 00364CEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80367D90 00364CF0 41 82 00 38 */ beq lbl_80367DC8 +/* 80367D94 00364CF4 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80367D98 00364CF8 1C 60 00 0A */ mulli r3, r0, 0xa +/* 80367D9C 00364CFC 38 03 00 1F */ addi r0, r3, 0x1f +/* 80367DA0 00364D00 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80367DA4 00364D04 7F C3 F3 78 */ mr r3, r30 +/* 80367DA8 00364D08 4B FD CE 81 */ bl Alloc__12CARAMManagerFUi +/* 80367DAC 00364D0C 90 7F 00 50 */ stw r3, 0x50(r31) +/* 80367DB0 00364D10 7F C5 F3 78 */ mr r5, r30 +/* 80367DB4 00364D14 38 C0 00 01 */ li r6, 1 +/* 80367DB8 00364D18 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80367DBC 00364D1C 80 9F 00 50 */ lwz r4, 0x50(r31) +/* 80367DC0 00364D20 4B FD CB C9 */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80367DC4 00364D24 4B FD C9 85 */ bl WaitForDMACompletion__12CARAMManagerFUi +lbl_80367DC8: +/* 80367DC8 00364D28 38 00 00 00 */ li r0, 0 +/* 80367DCC 00364D2C 38 7F 00 38 */ addi r3, r31, 0x38 +/* 80367DD0 00364D30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80367DD4 00364D34 38 81 00 20 */ addi r4, r1, 0x20 +/* 80367DD8 00364D38 90 01 00 28 */ stw r0, 0x28(r1) +/* 80367DDC 00364D3C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80367DE0 00364D40 4B FE 5F 75 */ bl sub_8034dd54 +/* 80367DE4 00364D44 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80367DE8 00364D48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80367DEC 00364D4C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80367DF0 00364D50 7C 83 02 14 */ add r4, r3, r0 +/* 80367DF4 00364D54 7C 03 20 50 */ subf r0, r3, r4 +/* 80367DF8 00364D58 90 81 00 14 */ stw r4, 0x14(r1) +/* 80367DFC 00364D5C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80367E00 00364D60 90 61 00 08 */ stw r3, 8(r1) +/* 80367E04 00364D64 7C 09 03 A6 */ mtctr r0 +/* 80367E08 00364D68 7C 03 20 40 */ cmplw r3, r4 +/* 80367E0C 00364D6C 41 82 00 08 */ beq lbl_80367E14 +lbl_80367E10: +/* 80367E10 00364D70 42 00 00 00 */ bdnz lbl_80367E10 +lbl_80367E14: +/* 80367E14 00364D74 4B FA DB 1D */ bl Free__7CMemoryFPCv +/* 80367E18 00364D78 7F E3 FB 78 */ mr r3, r31 +/* 80367E1C 00364D7C 4B FF FC 95 */ bl GetFakeStaticSize__8CPakFileCFv +/* 80367E20 00364D80 4B FA DA A1 */ bl OffsetFakeStatics__7CMemoryFi +/* 80367E24 00364D84 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80367E28 00364D88 38 61 00 30 */ addi r3, r1, 0x30 +/* 80367E2C 00364D8C 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80367E30 00364D90 38 80 00 00 */ li r4, 0 +/* 80367E34 00364D94 90 01 00 30 */ stw r0, 0x30(r1) +/* 80367E38 00364D98 4B FD 72 75 */ bl __dt__12CInputStreamFv +/* 80367E3C 00364D9C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80367E40 00364DA0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80367E44 00364DA4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80367E48 00364DA8 7C 08 03 A6 */ mtlr r0 +/* 80367E4C 00364DAC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80367E50 00364DB0 4E 80 00 20 */ blr + +.global InitialHeaderLoad__8CPakFileFv +InitialHeaderLoad__8CPakFileFv: +/* 80367E54 00364DB4 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 80367E58 00364DB8 7C 08 02 A6 */ mflr r0 +/* 80367E5C 00364DBC 90 01 01 94 */ stw r0, 0x194(r1) +/* 80367E60 00364DC0 BF 61 01 7C */ stmw r27, 0x17c(r1) +/* 80367E64 00364DC4 7C 7F 1B 78 */ mr r31, r3 +/* 80367E68 00364DC8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367E6C 00364DCC 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80367E70 00364DD0 80 BF 00 3C */ lwz r5, 0x3c(r31) +/* 80367E74 00364DD4 4B FD 73 59 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80367E78 00364DD8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80367E7C 00364DDC 38 1F 00 30 */ addi r0, r31, 0x30 +/* 80367E80 00364DE0 38 80 00 00 */ li r4, 0 +/* 80367E84 00364DE4 7C 03 00 40 */ cmplw r3, r0 +/* 80367E88 00364DE8 98 81 00 10 */ stb r4, 0x10(r1) +/* 80367E8C 00364DEC 90 81 00 14 */ stw r4, 0x14(r1) +/* 80367E90 00364DF0 41 82 00 48 */ beq lbl_80367ED8 +/* 80367E94 00364DF4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80367E98 00364DF8 28 00 00 00 */ cmplwi r0, 0 +/* 80367E9C 00364DFC 41 82 00 24 */ beq lbl_80367EC0 +/* 80367EA0 00364E00 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80367EA4 00364E04 28 03 00 00 */ cmplwi r3, 0 +/* 80367EA8 00364E08 41 82 00 18 */ beq lbl_80367EC0 +/* 80367EAC 00364E0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80367EB0 00364E10 38 80 00 01 */ li r4, 1 +/* 80367EB4 00364E14 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367EB8 00364E18 7D 89 03 A6 */ mtctr r12 +/* 80367EBC 00364E1C 4E 80 04 21 */ bctrl +lbl_80367EC0: +/* 80367EC0 00364E20 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80367EC4 00364E24 38 00 00 00 */ li r0, 0 +/* 80367EC8 00364E28 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80367ECC 00364E2C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80367ED0 00364E30 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80367ED4 00364E34 98 01 00 10 */ stb r0, 0x10(r1) +lbl_80367ED8: +/* 80367ED8 00364E38 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80367EDC 00364E3C 28 00 00 00 */ cmplwi r0, 0 +/* 80367EE0 00364E40 41 82 00 24 */ beq lbl_80367F04 +/* 80367EE4 00364E44 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80367EE8 00364E48 28 03 00 00 */ cmplwi r3, 0 +/* 80367EEC 00364E4C 41 82 00 18 */ beq lbl_80367F04 +/* 80367EF0 00364E50 81 83 00 00 */ lwz r12, 0(r3) +/* 80367EF4 00364E54 38 80 00 01 */ li r4, 1 +/* 80367EF8 00364E58 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367EFC 00364E5C 7D 89 03 A6 */ mtctr r12 +/* 80367F00 00364E60 4E 80 04 21 */ bctrl +lbl_80367F04: +/* 80367F04 00364E64 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F08 00364E68 4B FD 6D 7D */ bl ReadLong__12CInputStreamFv +/* 80367F0C 00364E6C 3C 03 FF FD */ addis r0, r3, 0xfffd +/* 80367F10 00364E70 28 00 00 05 */ cmplwi r0, 5 +/* 80367F14 00364E74 41 82 00 44 */ beq lbl_80367F58 +/* 80367F18 00364E78 3C 80 80 3E */ lis r4, lbl_803D84E0@ha +/* 80367F1C 00364E7C 3C C0 00 03 */ lis r6, 0x00030005@ha +/* 80367F20 00364E80 7C 67 1B 78 */ mr r7, r3 +/* 80367F24 00364E84 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 80367F28 00364E88 38 84 84 E0 */ addi r4, r4, lbl_803D84E0@l +/* 80367F2C 00364E8C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80367F30 00364E90 38 C6 00 05 */ addi r6, r6, 0x00030005@l +/* 80367F34 00364E94 4C C6 31 82 */ crclr 6 +/* 80367F38 00364E98 48 02 5D A5 */ bl sprintf +/* 80367F3C 00364E9C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80367F40 00364EA0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F44 00364EA4 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80367F48 00364EA8 38 80 00 00 */ li r4, 0 +/* 80367F4C 00364EAC 90 01 00 50 */ stw r0, 0x50(r1) +/* 80367F50 00364EB0 4B FD 71 5D */ bl __dt__12CInputStreamFv +/* 80367F54 00364EB4 48 00 02 1C */ b lbl_80368170 +lbl_80367F58: +/* 80367F58 00364EB8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F5C 00364EBC 4B FD 6D 29 */ bl ReadLong__12CInputStreamFv +/* 80367F60 00364EC0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F64 00364EC4 4B FD 6D 21 */ bl ReadLong__12CInputStreamFv +/* 80367F68 00364EC8 7C 7C 1B 78 */ mr r28, r3 +/* 80367F6C 00364ECC 38 7F 00 54 */ addi r3, r31, 0x54 +/* 80367F70 00364ED0 7F 84 E3 78 */ mr r4, r28 +/* 80367F74 00364ED4 4B EB 52 51 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" +/* 80367F78 00364ED8 3B 60 00 00 */ li r27, 0 +/* 80367F7C 00364EDC 48 00 00 C8 */ b lbl_80368044 +lbl_80367F80: +/* 80367F80 00364EE0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F84 00364EE4 4B FD 6D 01 */ bl ReadLong__12CInputStreamFv +/* 80367F88 00364EE8 7C 7D 1B 78 */ mr r29, r3 +/* 80367F8C 00364EEC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F90 00364EF0 4B FD 6C F5 */ bl ReadLong__12CInputStreamFv +/* 80367F94 00364EF4 7C 7E 1B 78 */ mr r30, r3 +/* 80367F98 00364EF8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367F9C 00364EFC 38 81 00 50 */ addi r4, r1, 0x50 +/* 80367FA0 00364F00 4B FD 66 B9 */ bl ReadString__13CStringExtrasFR12CInputStream +/* 80367FA4 00364F04 38 61 00 28 */ addi r3, r1, 0x28 +/* 80367FA8 00364F08 38 81 00 18 */ addi r4, r1, 0x18 +/* 80367FAC 00364F0C 4B FD 61 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80367FB0 00364F10 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367FB4 00364F14 4B FD 5B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80367FB8 00364F18 38 61 00 38 */ addi r3, r1, 0x38 +/* 80367FBC 00364F1C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80367FC0 00364F20 4B FD 61 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80367FC4 00364F24 93 A1 00 48 */ stw r29, 0x48(r1) +/* 80367FC8 00364F28 93 C1 00 4C */ stw r30, 0x4c(r1) +/* 80367FCC 00364F2C 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80367FD0 00364F30 80 BF 00 5C */ lwz r5, 0x5c(r31) +/* 80367FD4 00364F34 7C 00 28 00 */ cmpw r0, r5 +/* 80367FD8 00364F38 41 80 00 1C */ blt lbl_80367FF4 +/* 80367FDC 00364F3C 2C 05 00 00 */ cmpwi r5, 0 +/* 80367FE0 00364F40 38 7F 00 54 */ addi r3, r31, 0x54 +/* 80367FE4 00364F44 38 80 00 04 */ li r4, 4 +/* 80367FE8 00364F48 41 82 00 08 */ beq lbl_80367FF0 +/* 80367FEC 00364F4C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367FF0: +/* 80367FF0 00364F50 4B EB 51 D5 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" +lbl_80367FF4: +/* 80367FF4 00364F54 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80367FF8 00364F58 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80367FFC 00364F5C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80368000 00364F60 7F A3 02 15 */ add. r29, r3, r0 +/* 80368004 00364F64 41 82 00 20 */ beq lbl_80368024 +/* 80368008 00364F68 7F A3 EB 78 */ mr r3, r29 +/* 8036800C 00364F6C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80368010 00364F70 4B FD 61 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80368014 00364F74 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80368018 00364F78 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8036801C 00364F7C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80368020 00364F80 90 1D 00 14 */ stw r0, 0x14(r29) +lbl_80368024: +/* 80368024 00364F84 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 80368028 00364F88 38 61 00 38 */ addi r3, r1, 0x38 +/* 8036802C 00364F8C 38 04 00 01 */ addi r0, r4, 1 +/* 80368030 00364F90 90 1F 00 58 */ stw r0, 0x58(r31) +/* 80368034 00364F94 4B FD 5A AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80368038 00364F98 38 61 00 28 */ addi r3, r1, 0x28 +/* 8036803C 00364F9C 4B FD 5A A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80368040 00364FA0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80368044: +/* 80368044 00364FA4 7C 1B E0 00 */ cmpw r27, r28 +/* 80368048 00364FA8 41 80 FF 38 */ blt lbl_80367F80 +/* 8036804C 00364FAC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80368050 00364FB0 4B FD 6C 35 */ bl ReadLong__12CInputStreamFv +/* 80368054 00364FB4 90 7F 00 4C */ stw r3, 0x4c(r31) +/* 80368058 00364FB8 38 00 00 02 */ li r0, 2 +/* 8036805C 00364FBC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80368060 00364FC0 90 7F 00 48 */ stw r3, 0x48(r31) +/* 80368064 00364FC4 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80368068 00364FC8 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8036806C 00364FCC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80368070 00364FD0 1C 80 00 14 */ mulli r4, r0, 0x14 +/* 80368074 00364FD4 83 9F 00 3C */ lwz r28, 0x3c(r31) +/* 80368078 00364FD8 38 03 00 1F */ addi r0, r3, 0x1f +/* 8036807C 00364FDC 7C 04 02 14 */ add r0, r4, r0 +/* 80368080 00364FE0 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 80368084 00364FE4 7C 04 E0 00 */ cmpw r4, r28 +/* 80368088 00364FE8 40 81 00 C8 */ ble lbl_80368150 +/* 8036808C 00364FEC 38 7F 00 38 */ addi r3, r31, 0x38 +/* 80368090 00364FF0 38 AD 9E 8D */ addi r5, r13, lbl_805A8A4D@sda21 +/* 80368094 00364FF4 48 00 00 F1 */ bl sub_80368184 +/* 80368098 00364FF8 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 8036809C 00364FFC 7F E3 FB 78 */ mr r3, r31 +/* 803680A0 00365000 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 803680A4 00365004 7F 87 E3 78 */ mr r7, r28 +/* 803680A8 00365008 7C 84 E2 14 */ add r4, r4, r28 +/* 803680AC 0036500C 38 C0 00 00 */ li r6, 0 +/* 803680B0 00365010 7C BC 00 50 */ subf r5, r28, r0 +/* 803680B4 00365014 4B FE 79 0D */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 803680B8 00365018 7C 03 00 D0 */ neg r0, r3 +/* 803680BC 0036501C 38 81 00 08 */ addi r4, r1, 8 +/* 803680C0 00365020 7C 05 1B 78 */ or r5, r0, r3 +/* 803680C4 00365024 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803680C8 00365028 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803680CC 0036502C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803680D0 00365030 7C 04 00 40 */ cmplw r4, r0 +/* 803680D4 00365034 98 A1 00 08 */ stb r5, 8(r1) +/* 803680D8 00365038 41 82 00 48 */ beq lbl_80368120 +/* 803680DC 0036503C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803680E0 00365040 28 00 00 00 */ cmplwi r0, 0 +/* 803680E4 00365044 41 82 00 24 */ beq lbl_80368108 +/* 803680E8 00365048 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 803680EC 0036504C 28 03 00 00 */ cmplwi r3, 0 +/* 803680F0 00365050 41 82 00 18 */ beq lbl_80368108 +/* 803680F4 00365054 81 83 00 00 */ lwz r12, 0(r3) +/* 803680F8 00365058 38 80 00 01 */ li r4, 1 +/* 803680FC 0036505C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368100 00365060 7D 89 03 A6 */ mtctr r12 +/* 80368104 00365064 4E 80 04 21 */ bctrl +lbl_80368108: +/* 80368108 00365068 88 61 00 08 */ lbz r3, 8(r1) +/* 8036810C 0036506C 38 00 00 00 */ li r0, 0 +/* 80368110 00365070 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80368114 00365074 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80368118 00365078 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8036811C 0036507C 98 01 00 08 */ stb r0, 8(r1) +lbl_80368120: +/* 80368120 00365080 88 01 00 08 */ lbz r0, 8(r1) +/* 80368124 00365084 28 00 00 00 */ cmplwi r0, 0 +/* 80368128 00365088 41 82 00 30 */ beq lbl_80368158 +/* 8036812C 0036508C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80368130 00365090 28 03 00 00 */ cmplwi r3, 0 +/* 80368134 00365094 41 82 00 24 */ beq lbl_80368158 +/* 80368138 00365098 81 83 00 00 */ lwz r12, 0(r3) +/* 8036813C 0036509C 38 80 00 01 */ li r4, 1 +/* 80368140 003650A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368144 003650A4 7D 89 03 A6 */ mtctr r12 +/* 80368148 003650A8 4E 80 04 21 */ bctrl +/* 8036814C 003650AC 48 00 00 0C */ b lbl_80368158 +lbl_80368150: +/* 80368150 003650B0 7F E3 FB 78 */ mr r3, r31 +/* 80368154 003650B4 4B FF FB 61 */ bl DataLoad__8CPakFileFv +lbl_80368158: +/* 80368158 003650B8 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8036815C 003650BC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80368160 003650C0 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80368164 003650C4 38 80 00 00 */ li r4, 0 +/* 80368168 003650C8 90 01 00 50 */ stw r0, 0x50(r1) +/* 8036816C 003650CC 4B FD 6F 41 */ bl __dt__12CInputStreamFv +lbl_80368170: +/* 80368170 003650D0 BB 61 01 7C */ lmw r27, 0x17c(r1) +/* 80368174 003650D4 80 01 01 94 */ lwz r0, 0x194(r1) +/* 80368178 003650D8 7C 08 03 A6 */ mtlr r0 +/* 8036817C 003650DC 38 21 01 90 */ addi r1, r1, 0x190 +/* 80368180 003650E0 4E 80 00 20 */ blr + +.global sub_80368184 +sub_80368184: +/* 80368184 003650E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80368188 003650E8 7C 08 02 A6 */ mflr r0 +/* 8036818C 003650EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368190 003650F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80368194 003650F4 7C BF 2B 78 */ mr r31, r5 +/* 80368198 003650F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036819C 003650FC 7C 9E 23 78 */ mr r30, r4 +/* 803681A0 00365100 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803681A4 00365104 7C 7D 1B 78 */ mr r29, r3 +/* 803681A8 00365108 80 03 00 04 */ lwz r0, 4(r3) +/* 803681AC 0036510C 7C 00 F0 00 */ cmpw r0, r30 +/* 803681B0 00365110 41 82 00 78 */ beq lbl_80368228 +/* 803681B4 00365114 7C 1E 00 00 */ cmpw r30, r0 +/* 803681B8 00365118 40 81 00 3C */ ble lbl_803681F4 +/* 803681BC 0036511C 4B FE 6B 75 */ bl sub_8034ed30 +/* 803681C0 00365120 80 7D 00 04 */ lwz r3, 4(r29) +/* 803681C4 00365124 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803681C8 00365128 7C 83 F0 51 */ subf. r4, r3, r30 +/* 803681CC 0036512C 7C 60 1A 14 */ add r3, r0, r3 +/* 803681D0 00365130 7C 89 03 A6 */ mtctr r4 +/* 803681D4 00365134 40 81 00 50 */ ble lbl_80368224 +lbl_803681D8: +/* 803681D8 00365138 28 03 00 00 */ cmplwi r3, 0 +/* 803681DC 0036513C 41 82 00 0C */ beq lbl_803681E8 +/* 803681E0 00365140 88 1F 00 00 */ lbz r0, 0(r31) +/* 803681E4 00365144 98 03 00 00 */ stb r0, 0(r3) +lbl_803681E8: +/* 803681E8 00365148 38 63 00 01 */ addi r3, r3, 1 +/* 803681EC 0036514C 42 00 FF EC */ bdnz lbl_803681D8 +/* 803681F0 00365150 48 00 00 34 */ b lbl_80368224 +lbl_803681F4: +/* 803681F4 00365154 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 803681F8 00365158 7C 64 02 14 */ add r3, r4, r0 +/* 803681FC 0036515C 7C 84 F2 14 */ add r4, r4, r30 +/* 80368200 00365160 7C 04 18 50 */ subf r0, r4, r3 +/* 80368204 00365164 90 61 00 08 */ stw r3, 8(r1) +/* 80368208 00365168 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036820C 0036516C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80368210 00365170 90 81 00 14 */ stw r4, 0x14(r1) +/* 80368214 00365174 7C 09 03 A6 */ mtctr r0 +/* 80368218 00365178 7C 04 18 40 */ cmplw r4, r3 +/* 8036821C 0036517C 41 82 00 08 */ beq lbl_80368224 +lbl_80368220: +/* 80368220 00365180 42 00 00 00 */ bdnz lbl_80368220 +lbl_80368224: +/* 80368224 00365184 93 DD 00 04 */ stw r30, 4(r29) +lbl_80368228: +/* 80368228 00365188 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036822C 0036518C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80368230 00365190 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80368234 00365194 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80368238 00365198 7C 08 03 A6 */ mtlr r0 +/* 8036823C 0036519C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368240 003651A0 4E 80 00 20 */ blr + +.global Warmup__8CPakFileFv +Warmup__8CPakFileFv: +/* 80368244 003651A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368248 003651A8 7C 08 02 A6 */ mflr r0 +/* 8036824C 003651AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368250 003651B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80368254 003651B4 7C 7F 1B 78 */ mr r31, r3 +/* 80368258 003651B8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036825C 003651BC 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80368260 003651C0 38 61 00 08 */ addi r3, r1, 8 +/* 80368264 003651C4 80 0D 9E 88 */ lwz r0, lbl_805A8A48@sda21(r13) +/* 80368268 003651C8 90 81 00 08 */ stw r4, 8(r1) +/* 8036826C 003651CC 7C 00 20 00 */ cmpw r0, r4 +/* 80368270 003651D0 40 80 00 08 */ bge lbl_80368278 +/* 80368274 003651D4 38 6D 9E 88 */ addi r3, r13, lbl_805A8A48@sda21 +lbl_80368278: +/* 80368278 003651D8 83 C3 00 00 */ lwz r30, 0(r3) +/* 8036827C 003651DC 38 7F 00 38 */ addi r3, r31, 0x38 +/* 80368280 003651E0 38 AD 9E 8C */ addi r5, r13, lbl_805A8A4C@sda21 +/* 80368284 003651E4 7F C4 F3 78 */ mr r4, r30 +/* 80368288 003651E8 4B FF FE FD */ bl sub_80368184 +/* 8036828C 003651EC 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80368290 003651F0 7F E3 FB 78 */ mr r3, r31 +/* 80368294 003651F4 7F C5 F3 78 */ mr r5, r30 +/* 80368298 003651F8 4B FE 79 51 */ bl SyncRead__8CDvdFileFPvUi +/* 8036829C 003651FC 7C 03 00 D0 */ neg r0, r3 +/* 803682A0 00365200 38 81 00 0C */ addi r4, r1, 0xc +/* 803682A4 00365204 7C 05 1B 78 */ or r5, r0, r3 +/* 803682A8 00365208 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803682AC 0036520C 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803682B0 00365210 90 61 00 10 */ stw r3, 0x10(r1) +/* 803682B4 00365214 7C 04 00 40 */ cmplw r4, r0 +/* 803682B8 00365218 98 A1 00 0C */ stb r5, 0xc(r1) +/* 803682BC 0036521C 41 82 00 48 */ beq lbl_80368304 +/* 803682C0 00365220 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803682C4 00365224 28 00 00 00 */ cmplwi r0, 0 +/* 803682C8 00365228 41 82 00 24 */ beq lbl_803682EC +/* 803682CC 0036522C 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 803682D0 00365230 28 03 00 00 */ cmplwi r3, 0 +/* 803682D4 00365234 41 82 00 18 */ beq lbl_803682EC +/* 803682D8 00365238 81 83 00 00 */ lwz r12, 0(r3) +/* 803682DC 0036523C 38 80 00 01 */ li r4, 1 +/* 803682E0 00365240 81 8C 00 08 */ lwz r12, 8(r12) +/* 803682E4 00365244 7D 89 03 A6 */ mtctr r12 +/* 803682E8 00365248 4E 80 04 21 */ bctrl +lbl_803682EC: +/* 803682EC 0036524C 88 61 00 0C */ lbz r3, 0xc(r1) +/* 803682F0 00365250 38 00 00 00 */ li r0, 0 +/* 803682F4 00365254 98 7F 00 30 */ stb r3, 0x30(r31) +/* 803682F8 00365258 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803682FC 0036525C 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80368300 00365260 98 01 00 0C */ stb r0, 0xc(r1) +lbl_80368304: +/* 80368304 00365264 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80368308 00365268 28 00 00 00 */ cmplwi r0, 0 +/* 8036830C 0036526C 41 82 00 24 */ beq lbl_80368330 +/* 80368310 00365270 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80368314 00365274 28 03 00 00 */ cmplwi r3, 0 +/* 80368318 00365278 41 82 00 18 */ beq lbl_80368330 +/* 8036831C 0036527C 81 83 00 00 */ lwz r12, 0(r3) +/* 80368320 00365280 38 80 00 01 */ li r4, 1 +/* 80368324 00365284 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368328 00365288 7D 89 03 A6 */ mtctr r12 +/* 8036832C 0036528C 4E 80 04 21 */ bctrl +lbl_80368330: +/* 80368330 00365290 38 00 00 01 */ li r0, 1 +/* 80368334 00365294 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80368338 00365298 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036833C 0036529C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80368340 003652A0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80368344 003652A4 7C 08 03 A6 */ mtlr r0 +/* 80368348 003652A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036834C 003652AC 4E 80 00 20 */ blr + +.global AsyncIdle__8CPakFileFv +AsyncIdle__8CPakFileFv: +/* 80368350 003652B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368354 003652B4 7C 08 02 A6 */ mflr r0 +/* 80368358 003652B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036835C 003652BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80368360 003652C0 7C 7F 1B 78 */ mr r31, r3 +/* 80368364 003652C4 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80368368 003652C8 2C 00 00 03 */ cmpwi r0, 3 +/* 8036836C 003652CC 41 82 00 7C */ beq lbl_803683E8 +/* 80368370 003652D0 4B FE 7C 0D */ bl sub_8034ff7c +/* 80368374 003652D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80368378 003652D8 41 82 00 70 */ beq lbl_803683E8 +/* 8036837C 003652DC 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80368380 003652E0 28 03 00 00 */ cmplwi r3, 0 +/* 80368384 003652E4 41 82 00 1C */ beq lbl_803683A0 +/* 80368388 003652E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8036838C 003652EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80368390 003652F0 7D 89 03 A6 */ mtctr r12 +/* 80368394 003652F4 4E 80 04 21 */ bctrl +/* 80368398 003652F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036839C 003652FC 41 82 00 4C */ beq lbl_803683E8 +lbl_803683A0: +/* 803683A0 00365300 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 803683A4 00365304 2C 00 00 01 */ cmpwi r0, 1 +/* 803683A8 00365308 41 82 00 2C */ beq lbl_803683D4 +/* 803683AC 0036530C 40 80 00 10 */ bge lbl_803683BC +/* 803683B0 00365310 2C 00 00 00 */ cmpwi r0, 0 +/* 803683B4 00365314 40 80 00 14 */ bge lbl_803683C8 +/* 803683B8 00365318 48 00 00 30 */ b lbl_803683E8 +lbl_803683BC: +/* 803683BC 0036531C 2C 00 00 03 */ cmpwi r0, 3 +/* 803683C0 00365320 40 80 00 28 */ bge lbl_803683E8 +/* 803683C4 00365324 48 00 00 1C */ b lbl_803683E0 +lbl_803683C8: +/* 803683C8 00365328 7F E3 FB 78 */ mr r3, r31 +/* 803683CC 0036532C 4B FF FE 79 */ bl Warmup__8CPakFileFv +/* 803683D0 00365330 48 00 00 18 */ b lbl_803683E8 +lbl_803683D4: +/* 803683D4 00365334 7F E3 FB 78 */ mr r3, r31 +/* 803683D8 00365338 4B FF FA 7D */ bl InitialHeaderLoad__8CPakFileFv +/* 803683DC 0036533C 48 00 00 0C */ b lbl_803683E8 +lbl_803683E0: +/* 803683E0 00365340 7F E3 FB 78 */ mr r3, r31 +/* 803683E4 00365344 4B FF F8 D1 */ bl DataLoad__8CPakFileFv +lbl_803683E8: +/* 803683E8 00365348 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803683EC 0036534C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803683F0 00365350 7C 08 03 A6 */ mtlr r0 +/* 803683F4 00365354 38 21 00 10 */ addi r1, r1, 0x10 +/* 803683F8 00365358 4E 80 00 20 */ blr + +.global __dt__8CPakFileFv +__dt__8CPakFileFv: +/* 803683FC 0036535C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80368400 00365360 7C 08 02 A6 */ mflr r0 +/* 80368404 00365364 90 01 00 44 */ stw r0, 0x44(r1) +/* 80368408 00365368 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8036840C 0036536C 7C 9F 23 78 */ mr r31, r4 +/* 80368410 00365370 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80368414 00365374 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80368418 00365378 41 82 01 5C */ beq lbl_80368574 +/* 8036841C 0036537C 48 00 00 0C */ b lbl_80368428 +lbl_80368420: +/* 80368420 00365380 7F C3 F3 78 */ mr r3, r30 +/* 80368424 00365384 4B FF FF 2D */ bl AsyncIdle__8CPakFileFv +lbl_80368428: +/* 80368428 00365388 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 8036842C 0036538C 2C 00 00 03 */ cmpwi r0, 3 +/* 80368430 00365390 40 82 FF F0 */ bne lbl_80368420 +/* 80368434 00365394 7F C3 F3 78 */ mr r3, r30 +/* 80368438 00365398 4B FF F6 79 */ bl GetFakeStaticSize__8CPakFileCFv +/* 8036843C 0036539C 7C 63 00 D0 */ neg r3, r3 +/* 80368440 003653A0 4B FA D4 81 */ bl OffsetFakeStatics__7CMemoryFi +/* 80368444 003653A4 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 80368448 003653A8 4B FD C6 75 */ bl Free__12CARAMManagerFPCv +/* 8036844C 003653AC 34 1E 00 74 */ addic. r0, r30, 0x74 +/* 80368450 003653B0 41 82 00 44 */ beq lbl_80368494 +/* 80368454 003653B4 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80368458 003653B8 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 8036845C 003653BC 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80368460 003653C0 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80368464 003653C4 7C 64 1B 78 */ mr r4, r3 +/* 80368468 003653C8 7C 03 02 14 */ add r0, r3, r0 +/* 8036846C 003653CC 90 61 00 28 */ stw r3, 0x28(r1) +/* 80368470 003653D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368474 003653D4 90 01 00 30 */ stw r0, 0x30(r1) +/* 80368478 003653D8 48 00 00 08 */ b lbl_80368480 +lbl_8036847C: +/* 8036847C 003653DC 38 84 00 0A */ addi r4, r4, 0xa +lbl_80368480: +/* 80368480 003653E0 7C 04 00 40 */ cmplw r4, r0 +/* 80368484 003653E4 40 82 FF F8 */ bne lbl_8036847C +/* 80368488 003653E8 28 03 00 00 */ cmplwi r3, 0 +/* 8036848C 003653EC 41 82 00 08 */ beq lbl_80368494 +/* 80368490 003653F0 4B FA D4 A1 */ bl Free__7CMemoryFPCv +lbl_80368494: +/* 80368494 003653F4 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 80368498 003653F8 41 82 00 44 */ beq lbl_803684DC +/* 8036849C 003653FC 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 803684A0 00365400 80 7E 00 70 */ lwz r3, 0x70(r30) +/* 803684A4 00365404 54 00 10 3A */ slwi r0, r0, 2 +/* 803684A8 00365408 7C 03 02 14 */ add r0, r3, r0 +/* 803684AC 0036540C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 803684B0 00365410 7C 64 1B 78 */ mr r4, r3 +/* 803684B4 00365414 90 01 00 24 */ stw r0, 0x24(r1) +/* 803684B8 00365418 90 01 00 20 */ stw r0, 0x20(r1) +/* 803684BC 0036541C 90 61 00 18 */ stw r3, 0x18(r1) +/* 803684C0 00365420 48 00 00 08 */ b lbl_803684C8 +lbl_803684C4: +/* 803684C4 00365424 38 84 00 04 */ addi r4, r4, 4 +lbl_803684C8: +/* 803684C8 00365428 7C 04 00 40 */ cmplw r4, r0 +/* 803684CC 0036542C 40 82 FF F8 */ bne lbl_803684C4 +/* 803684D0 00365430 28 03 00 00 */ cmplwi r3, 0 +/* 803684D4 00365434 41 82 00 08 */ beq lbl_803684DC +/* 803684D8 00365438 4B FA D4 59 */ bl Free__7CMemoryFPCv +lbl_803684DC: +/* 803684DC 0036543C 38 7E 00 54 */ addi r3, r30, 0x54 +/* 803684E0 00365440 38 80 FF FF */ li r4, -1 +/* 803684E4 00365444 4B C9 C5 09 */ bl sub_800049ec +/* 803684E8 00365448 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 803684EC 0036544C 41 82 00 38 */ beq lbl_80368524 +/* 803684F0 00365450 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 803684F4 00365454 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 803684F8 00365458 90 61 00 0C */ stw r3, 0xc(r1) +/* 803684FC 0036545C 7C 83 02 14 */ add r4, r3, r0 +/* 80368500 00365460 7C 03 20 50 */ subf r0, r3, r4 +/* 80368504 00365464 90 81 00 14 */ stw r4, 0x14(r1) +/* 80368508 00365468 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036850C 0036546C 90 61 00 08 */ stw r3, 8(r1) +/* 80368510 00365470 7C 09 03 A6 */ mtctr r0 +/* 80368514 00365474 7C 03 20 40 */ cmplw r3, r4 +/* 80368518 00365478 41 82 00 08 */ beq lbl_80368520 +lbl_8036851C: +/* 8036851C 0036547C 42 00 00 00 */ bdnz lbl_8036851C +lbl_80368520: +/* 80368520 00365480 4B FA D4 11 */ bl Free__7CMemoryFPCv +lbl_80368524: +/* 80368524 00365484 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 80368528 00365488 41 82 00 30 */ beq lbl_80368558 +/* 8036852C 0036548C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80368530 00365490 28 00 00 00 */ cmplwi r0, 0 +/* 80368534 00365494 41 82 00 24 */ beq lbl_80368558 +/* 80368538 00365498 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 8036853C 0036549C 28 03 00 00 */ cmplwi r3, 0 +/* 80368540 003654A0 41 82 00 18 */ beq lbl_80368558 +/* 80368544 003654A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80368548 003654A8 38 80 00 01 */ li r4, 1 +/* 8036854C 003654AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368550 003654B0 7D 89 03 A6 */ mtctr r12 +/* 80368554 003654B4 4E 80 04 21 */ bctrl +lbl_80368558: +/* 80368558 003654B8 7F C3 F3 78 */ mr r3, r30 +/* 8036855C 003654BC 38 80 FF FF */ li r4, -1 +/* 80368560 003654C0 4B FE 76 B1 */ bl __dt__8CDvdFileFv +/* 80368564 003654C4 7F E0 07 35 */ extsh. r0, r31 +/* 80368568 003654C8 40 81 00 0C */ ble lbl_80368574 +/* 8036856C 003654CC 7F C3 F3 78 */ mr r3, r30 +/* 80368570 003654D0 4B FA D3 C1 */ bl Free__7CMemoryFPCv +lbl_80368574: +/* 80368574 003654D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80368578 003654D8 7F C3 F3 78 */ mr r3, r30 +/* 8036857C 003654DC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80368580 003654E0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80368584 003654E4 7C 08 03 A6 */ mtlr r0 +/* 80368588 003654E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036858C 003654EC 4E 80 00 20 */ blr + +.global "__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +"__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b": +/* 80368590 003654F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368594 003654F4 7C 08 02 A6 */ mflr r0 +/* 80368598 003654F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036859C 003654FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803685A0 00365500 7C DF 33 78 */ mr r31, r6 +/* 803685A4 00365504 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803685A8 00365508 7C BE 2B 78 */ mr r30, r5 +/* 803685AC 0036550C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803685B0 00365510 7C 7D 1B 78 */ mr r29, r3 +/* 803685B4 00365514 80 84 00 00 */ lwz r4, 0(r4) +/* 803685B8 00365518 4B FE 77 19 */ bl __ct__8CDvdFileFPCc +/* 803685BC 0036551C 88 1D 00 28 */ lbz r0, 0x28(r29) +/* 803685C0 00365520 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 803685C4 00365524 38 C0 00 00 */ li r6, 0 +/* 803685C8 00365528 80 82 CB A8 */ lwz r4, lbl_805AE8C8@sda21(r2) +/* 803685CC 0036552C 98 1D 00 28 */ stb r0, 0x28(r29) +/* 803685D0 00365530 38 00 FF FF */ li r0, -1 +/* 803685D4 00365534 7F A3 EB 78 */ mr r3, r29 +/* 803685D8 00365538 88 FD 00 08 */ lbz r7, 8(r29) +/* 803685DC 0036553C 88 BD 00 28 */ lbz r5, 0x28(r29) +/* 803685E0 00365540 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 +/* 803685E4 00365544 98 BD 00 28 */ stb r5, 0x28(r29) +/* 803685E8 00365548 88 BD 00 28 */ lbz r5, 0x28(r29) +/* 803685EC 0036554C 53 E5 2E B4 */ rlwimi r5, r31, 5, 0x1a, 0x1a +/* 803685F0 00365550 98 BD 00 28 */ stb r5, 0x28(r29) +/* 803685F4 00365554 88 BD 00 28 */ lbz r5, 0x28(r29) +/* 803685F8 00365558 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b +/* 803685FC 0036555C 98 BD 00 28 */ stb r5, 0x28(r29) +/* 80368600 00365560 90 DD 00 2C */ stw r6, 0x2c(r29) +/* 80368604 00365564 98 DD 00 30 */ stb r6, 0x30(r29) +/* 80368608 00365568 90 DD 00 34 */ stw r6, 0x34(r29) +/* 8036860C 0036556C 90 DD 00 3C */ stw r6, 0x3c(r29) +/* 80368610 00365570 90 DD 00 40 */ stw r6, 0x40(r29) +/* 80368614 00365574 90 DD 00 44 */ stw r6, 0x44(r29) +/* 80368618 00365578 90 DD 00 48 */ stw r6, 0x48(r29) +/* 8036861C 0036557C 90 DD 00 4C */ stw r6, 0x4c(r29) +/* 80368620 00365580 90 9D 00 50 */ stw r4, 0x50(r29) +/* 80368624 00365584 90 DD 00 58 */ stw r6, 0x58(r29) +/* 80368628 00365588 90 DD 00 5C */ stw r6, 0x5c(r29) +/* 8036862C 0036558C 90 DD 00 60 */ stw r6, 0x60(r29) +/* 80368630 00365590 90 DD 00 68 */ stw r6, 0x68(r29) +/* 80368634 00365594 90 DD 00 6C */ stw r6, 0x6c(r29) +/* 80368638 00365598 90 DD 00 70 */ stw r6, 0x70(r29) +/* 8036863C 0036559C 90 DD 00 78 */ stw r6, 0x78(r29) +/* 80368640 003655A0 90 DD 00 7C */ stw r6, 0x7c(r29) +/* 80368644 003655A4 90 DD 00 80 */ stw r6, 0x80(r29) +/* 80368648 003655A8 90 1D 00 84 */ stw r0, 0x84(r29) +/* 8036864C 003655AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80368650 003655B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80368654 003655B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80368658 003655B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036865C 003655BC 7C 08 03 A6 */ mtlr r0 +/* 80368660 003655C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368664 003655C4 4E 80 00 20 */ blr + +.global IsCompressed__Q28CPakFile8SResInfoCFv +IsCompressed__Q28CPakFile8SResInfoCFv: +/* 80368668 003655C8 88 03 00 04 */ lbz r0, 4(r3) +/* 8036866C 003655CC 54 03 00 30 */ rlwinm r3, r0, 0, 0, 0x18 +/* 80368670 003655D0 7C 03 00 D0 */ neg r0, r3 +/* 80368674 003655D4 7C 00 1B 78 */ or r0, r0, r3 +/* 80368678 003655D8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8036867C 003655DC 4E 80 00 20 */ blr + +.global GetSize__Q28CPakFile8SResInfoCFv +GetSize__Q28CPakFile8SResInfoCFv: +/* 80368680 003655E0 88 83 00 07 */ lbz r4, 7(r3) +/* 80368684 003655E4 88 03 00 08 */ lbz r0, 8(r3) +/* 80368688 003655E8 7C 84 3E 70 */ srawi r4, r4, 7 +/* 8036868C 003655EC 88 63 00 09 */ lbz r3, 9(r3) +/* 80368690 003655F0 50 04 0D FC */ rlwimi r4, r0, 1, 0x17, 0x1e +/* 80368694 003655F4 50 64 4B EC */ rlwimi r4, r3, 9, 0xf, 0x16 +/* 80368698 003655F8 54 83 28 34 */ slwi r3, r4, 5 +/* 8036869C 003655FC 4E 80 00 20 */ blr + +.global GetOffset__Q28CPakFile8SResInfoCFv +GetOffset__Q28CPakFile8SResInfoCFv: +/* 803686A0 00365600 88 83 00 05 */ lbz r4, 5(r3) +/* 803686A4 00365604 88 03 00 06 */ lbz r0, 6(r3) +/* 803686A8 00365608 88 63 00 07 */ lbz r3, 7(r3) +/* 803686AC 0036560C 50 04 44 2E */ rlwimi r4, r0, 8, 0x10, 0x17 +/* 803686B0 00365610 50 64 82 1E */ rlwimi r4, r3, 0x10, 8, 0xf +/* 803686B4 00365614 54 83 29 34 */ rlwinm r3, r4, 5, 4, 0x1a +/* 803686B8 00365618 4E 80 00 20 */ blr + +.global GetType__Q28CPakFile8SResInfoCFv +GetType__Q28CPakFile8SResInfoCFv: +/* 803686BC 0036561C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803686C0 00365620 7C 08 02 A6 */ mflr r0 +/* 803686C4 00365624 90 01 00 14 */ stw r0, 0x14(r1) +/* 803686C8 00365628 88 03 00 04 */ lbz r0, 4(r3) +/* 803686CC 0036562C 54 03 06 7E */ clrlwi r3, r0, 0x19 +/* 803686D0 00365630 4B FD 00 09 */ bl TypeIdxToFourCC__11CFactoryMgrFUi +/* 803686D4 00365634 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803686D8 00365638 7C 08 03 A6 */ mtlr r0 +/* 803686DC 0036563C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803686E0 00365640 4E 80 00 20 */ blr + +.global __ct__Q28CPakFile8SResInfoFUiUiUiUi +__ct__Q28CPakFile8SResInfoFUiUiUiUi: +/* 803686E4 00365644 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803686E8 00365648 7C 08 02 A6 */ mflr r0 +/* 803686EC 0036564C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803686F0 00365650 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803686F4 00365654 7D 1F 43 78 */ mr r31, r8 +/* 803686F8 00365658 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803686FC 0036565C 7C FE 3B 78 */ mr r30, r7 +/* 80368700 00365660 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80368704 00365664 7C DD 33 78 */ mr r29, r6 +/* 80368708 00365668 93 81 00 10 */ stw r28, 0x10(r1) +/* 8036870C 0036566C 7C 7C 1B 78 */ mr r28, r3 +/* 80368710 00365670 90 83 00 00 */ stw r4, 0(r3) +/* 80368714 00365674 7C A3 2B 78 */ mr r3, r5 +/* 80368718 00365678 4B FC FE B5 */ bl FourCCToTypeIdx__11CFactoryMgrFUi +/* 8036871C 0036567C 7C 9F 00 D0 */ neg r4, r31 +/* 80368720 00365680 38 00 00 80 */ li r0, 0x80 +/* 80368724 00365684 7C 84 FB 78 */ or r4, r4, r31 +/* 80368728 00365688 57 A7 DE 3E */ rlwinm r7, r29, 0x1b, 0x18, 0x1f +/* 8036872C 0036568C 7C 84 FE 70 */ srawi r4, r4, 0x1f +/* 80368730 00365690 57 A6 9E 3E */ rlwinm r6, r29, 0x13, 0x18, 0x1f +/* 80368734 00365694 7C 00 20 38 */ and r0, r0, r4 +/* 80368738 00365698 7C 63 03 78 */ or r3, r3, r0 +/* 8036873C 0036569C 57 A4 5D 7E */ srwi r4, r29, 0x15 +/* 80368740 003656A0 98 7C 00 04 */ stb r3, 4(r28) +/* 80368744 003656A4 57 C0 16 30 */ rlwinm r0, r30, 2, 0x18, 0x18 +/* 80368748 003656A8 7C 85 03 78 */ or r5, r4, r0 +/* 8036874C 003656AC 57 C4 D6 3E */ rlwinm r4, r30, 0x1a, 0x18, 0x1f +/* 80368750 003656B0 98 FC 00 05 */ stb r7, 5(r28) +/* 80368754 003656B4 57 C0 96 3E */ rlwinm r0, r30, 0x12, 0x18, 0x1f +/* 80368758 003656B8 7F 83 E3 78 */ mr r3, r28 +/* 8036875C 003656BC 98 DC 00 06 */ stb r6, 6(r28) +/* 80368760 003656C0 98 BC 00 07 */ stb r5, 7(r28) +/* 80368764 003656C4 98 9C 00 08 */ stb r4, 8(r28) +/* 80368768 003656C8 98 1C 00 09 */ stb r0, 9(r28) +/* 8036876C 003656CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368770 003656D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80368774 003656D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80368778 003656D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036877C 003656DC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80368780 003656E0 7C 08 03 A6 */ mtlr r0 +/* 80368784 003656E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368788 003656E8 4E 80 00 20 */ blr + +.global sub_8036878c +sub_8036878c: +/* 8036878C 003656EC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80368790 003656F0 7C 08 02 A6 */ mflr r0 +/* 80368794 003656F4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80368798 003656F8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8036879C 003656FC 7C BF 2B 78 */ mr r31, r5 +/* 803687A0 00365700 93 C1 00 58 */ stw r30, 0x58(r1) +/* 803687A4 00365704 7C 9E 23 78 */ mr r30, r4 +/* 803687A8 00365708 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 803687AC 0036570C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 803687B0 00365710 7C 7D 1B 78 */ mr r29, r3 +/* 803687B4 00365714 38 84 66 67 */ addi r4, r4, 0x66666667@l +/* 803687B8 00365718 93 81 00 50 */ stw r28, 0x50(r1) +/* 803687BC 0036571C 80 63 00 00 */ lwz r3, 0(r3) +/* 803687C0 00365720 80 DE 00 00 */ lwz r6, 0(r30) +/* 803687C4 00365724 7C 03 30 50 */ subf r0, r3, r6 +/* 803687C8 00365728 7C 04 00 96 */ mulhw r0, r4, r0 +/* 803687CC 0036572C 7C 00 16 70 */ srawi r0, r0, 2 +/* 803687D0 00365730 54 04 0F FE */ srwi r4, r0, 0x1f +/* 803687D4 00365734 7C 80 22 14 */ add r4, r0, r4 +/* 803687D8 00365738 2C 04 00 01 */ cmpwi r4, 1 +/* 803687DC 0036573C 40 81 01 7C */ ble lbl_80368958 +/* 803687E0 00365740 2C 04 00 14 */ cmpwi r4, 0x14 +/* 803687E4 00365744 41 81 00 30 */ bgt lbl_80368814 +/* 803687E8 00365748 88 FF 00 00 */ lbz r7, 0(r31) +/* 803687EC 0036574C 38 61 00 34 */ addi r3, r1, 0x34 +/* 803687F0 00365750 80 DE 00 00 */ lwz r6, 0(r30) +/* 803687F4 00365754 38 81 00 30 */ addi r4, r1, 0x30 +/* 803687F8 00365758 80 1D 00 00 */ lwz r0, 0(r29) +/* 803687FC 0036575C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80368800 00365760 98 E1 00 14 */ stb r7, 0x14(r1) +/* 80368804 00365764 90 C1 00 30 */ stw r6, 0x30(r1) +/* 80368808 00365768 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036880C 0036576C 48 00 06 05 */ bl sub_80368e10 +/* 80368810 00365770 48 00 01 48 */ b lbl_80368958 +lbl_80368814: +/* 80368814 00365774 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80368818 00365778 38 A6 FF F6 */ addi r5, r6, -10 +/* 8036881C 0036577C 7C 80 22 14 */ add r4, r0, r4 +/* 80368820 00365780 88 1F 00 00 */ lbz r0, 0(r31) +/* 80368824 00365784 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80368828 00365788 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8036882C 0036578C 1C 84 00 0A */ mulli r4, r4, 0xa +/* 80368830 00365790 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80368834 00365794 98 01 00 10 */ stb r0, 0x10(r1) +/* 80368838 00365798 7F 83 22 14 */ add r28, r3, r4 +/* 8036883C 0036579C 7F 84 E3 78 */ mr r4, r28 +/* 80368840 003657A0 48 00 05 15 */ bl sub_80368d54 +/* 80368844 003657A4 80 9D 00 00 */ lwz r4, 0(r29) +/* 80368848 003657A8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8036884C 003657AC 38 84 00 0A */ addi r4, r4, 0xa +/* 80368850 003657B0 81 3C 00 00 */ lwz r9, 0(r28) +/* 80368854 003657B4 38 03 FF F6 */ addi r0, r3, -10 +/* 80368858 003657B8 90 81 00 38 */ stw r4, 0x38(r1) +/* 8036885C 003657BC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80368860 003657C0 48 00 00 10 */ b lbl_80368870 +lbl_80368864: +/* 80368864 003657C4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80368868 003657C8 38 03 00 0A */ addi r0, r3, 0xa +/* 8036886C 003657CC 90 01 00 38 */ stw r0, 0x38(r1) +lbl_80368870: +/* 80368870 003657D0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80368874 003657D4 80 03 00 00 */ lwz r0, 0(r3) +/* 80368878 003657D8 7C 00 48 40 */ cmplw r0, r9 +/* 8036887C 003657DC 41 80 FF E8 */ blt lbl_80368864 +/* 80368880 003657E0 48 00 00 10 */ b lbl_80368890 +lbl_80368884: +/* 80368884 003657E4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80368888 003657E8 38 03 FF F6 */ addi r0, r3, -10 +/* 8036888C 003657EC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80368890: +/* 80368890 003657F0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80368894 003657F4 80 03 00 00 */ lwz r0, 0(r3) +/* 80368898 003657F8 7C 09 00 40 */ cmplw r9, r0 +/* 8036889C 003657FC 41 80 FF E8 */ blt lbl_80368884 +/* 803688A0 00365800 80 01 00 38 */ lwz r0, 0x38(r1) +/* 803688A4 00365804 7C 00 18 40 */ cmplw r0, r3 +/* 803688A8 00365808 40 80 00 60 */ bge lbl_80368908 +/* 803688AC 0036580C 80 E1 00 38 */ lwz r7, 0x38(r1) +/* 803688B0 00365810 81 01 00 3C */ lwz r8, 0x3c(r1) +/* 803688B4 00365814 80 C7 00 04 */ lwz r6, 4(r7) +/* 803688B8 00365818 38 67 00 0A */ addi r3, r7, 0xa +/* 803688BC 0036581C A0 A7 00 08 */ lhz r5, 8(r7) +/* 803688C0 00365820 38 08 FF F6 */ addi r0, r8, -10 +/* 803688C4 00365824 81 47 00 00 */ lwz r10, 0(r7) +/* 803688C8 00365828 80 88 00 00 */ lwz r4, 0(r8) +/* 803688CC 0036582C 91 01 00 28 */ stw r8, 0x28(r1) +/* 803688D0 00365830 90 87 00 00 */ stw r4, 0(r7) +/* 803688D4 00365834 80 88 00 04 */ lwz r4, 4(r8) +/* 803688D8 00365838 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 803688DC 0036583C 90 87 00 04 */ stw r4, 4(r7) +/* 803688E0 00365840 A0 88 00 08 */ lhz r4, 8(r8) +/* 803688E4 00365844 90 C1 00 44 */ stw r6, 0x44(r1) +/* 803688E8 00365848 B0 87 00 08 */ sth r4, 8(r7) +/* 803688EC 0036584C 91 48 00 00 */ stw r10, 0(r8) +/* 803688F0 00365850 90 C8 00 04 */ stw r6, 4(r8) +/* 803688F4 00365854 B0 A1 00 48 */ sth r5, 0x48(r1) +/* 803688F8 00365858 B0 A8 00 08 */ sth r5, 8(r8) +/* 803688FC 0036585C 90 61 00 38 */ stw r3, 0x38(r1) +/* 80368900 00365860 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80368904 00365864 4B FF FF 6C */ b lbl_80368870 +lbl_80368908: +/* 80368908 00365868 88 FF 00 00 */ lbz r7, 0(r31) +/* 8036890C 0036586C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80368910 00365870 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 80368914 00365874 38 81 00 20 */ addi r4, r1, 0x20 +/* 80368918 00365878 80 1D 00 00 */ lwz r0, 0(r29) +/* 8036891C 0036587C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368920 00365880 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80368924 00365884 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80368928 00365888 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036892C 0036588C 4B FF FE 61 */ bl sub_8036878c +/* 80368930 00365890 88 FF 00 00 */ lbz r7, 0(r31) +/* 80368934 00365894 38 61 00 1C */ addi r3, r1, 0x1c +/* 80368938 00365898 80 DE 00 00 */ lwz r6, 0(r30) +/* 8036893C 0036589C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80368940 003658A0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80368944 003658A4 38 A1 00 08 */ addi r5, r1, 8 +/* 80368948 003658A8 98 E1 00 08 */ stb r7, 8(r1) +/* 8036894C 003658AC 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80368950 003658B0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80368954 003658B4 4B FF FE 39 */ bl sub_8036878c +lbl_80368958: +/* 80368958 003658B8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8036895C 003658BC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80368960 003658C0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80368964 003658C4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80368968 003658C8 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8036896C 003658CC 7C 08 03 A6 */ mtlr r0 +/* 80368970 003658D0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80368974 003658D4 4E 80 00 20 */ blr + +.global sub_80368978 +sub_80368978: +/* 80368978 003658D8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036897C 003658DC 7C 08 02 A6 */ mflr r0 +/* 80368980 003658E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368984 003658E4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80368988 003658E8 7C 9F 23 78 */ mr r31, r4 +/* 8036898C 003658EC 7C 7E 1B 78 */ mr r30, r3 +/* 80368990 003658F0 7C DB 33 78 */ mr r27, r6 +/* 80368994 003658F4 38 61 00 0C */ addi r3, r1, 0xc +/* 80368998 003658F8 80 85 00 00 */ lwz r4, 0(r5) +/* 8036899C 003658FC 80 1F 00 00 */ lwz r0, 0(r31) +/* 803689A0 00365900 90 81 00 08 */ stw r4, 8(r1) +/* 803689A4 00365904 38 81 00 08 */ addi r4, r1, 8 +/* 803689A8 00365908 90 01 00 0C */ stw r0, 0xc(r1) +/* 803689AC 0036590C 48 00 02 D1 */ bl sub_80368c7c +/* 803689B0 00365910 80 1F 00 00 */ lwz r0, 0(r31) +/* 803689B4 00365914 7C 7D 1B 78 */ mr r29, r3 +/* 803689B8 00365918 90 01 00 10 */ stw r0, 0x10(r1) +/* 803689BC 0036591C 48 00 00 58 */ b lbl_80368A14 +lbl_803689C0: +/* 803689C0 00365920 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 803689C4 00365924 80 1F 00 00 */ lwz r0, 0(r31) +/* 803689C8 00365928 7C 83 EA 14 */ add r4, r3, r29 +/* 803689CC 0036592C 38 61 00 10 */ addi r3, r1, 0x10 +/* 803689D0 00365930 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 803689D4 00365934 90 01 00 10 */ stw r0, 0x10(r1) +/* 803689D8 00365938 7F 84 E3 78 */ mr r4, r28 +/* 803689DC 0036593C 48 00 02 21 */ bl sub_80368bfc +/* 803689E0 00365940 80 81 00 10 */ lwz r4, 0x10(r1) +/* 803689E4 00365944 80 1B 00 00 */ lwz r0, 0(r27) +/* 803689E8 00365948 80 64 00 00 */ lwz r3, 0(r4) +/* 803689EC 0036594C 7C 03 00 40 */ cmplw r3, r0 +/* 803689F0 00365950 40 80 00 20 */ bge lbl_80368A10 +/* 803689F4 00365954 90 9F 00 00 */ stw r4, 0(r31) +/* 803689F8 00365958 7C 7C E8 50 */ subf r3, r28, r29 +/* 803689FC 0036595C 3B A3 FF FF */ addi r29, r3, -1 +/* 80368A00 00365960 80 7F 00 00 */ lwz r3, 0(r31) +/* 80368A04 00365964 38 03 00 0A */ addi r0, r3, 0xa +/* 80368A08 00365968 90 1F 00 00 */ stw r0, 0(r31) +/* 80368A0C 0036596C 48 00 00 08 */ b lbl_80368A14 +lbl_80368A10: +/* 80368A10 00365970 7F 9D E3 78 */ mr r29, r28 +lbl_80368A14: +/* 80368A14 00365974 2C 1D 00 00 */ cmpwi r29, 0 +/* 80368A18 00365978 41 81 FF A8 */ bgt lbl_803689C0 +/* 80368A1C 0036597C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A20 00365980 90 1E 00 00 */ stw r0, 0(r30) +/* 80368A24 00365984 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80368A28 00365988 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80368A2C 0036598C 7C 08 03 A6 */ mtlr r0 +/* 80368A30 00365990 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368A34 00365994 4E 80 00 20 */ blr + +.global sub_80368a38 +sub_80368a38: +/* 80368A38 00365998 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80368A3C 0036599C 7C 08 02 A6 */ mflr r0 +/* 80368A40 003659A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368A44 003659A4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80368A48 003659A8 7C 9F 23 78 */ mr r31, r4 +/* 80368A4C 003659AC 7C 7E 1B 78 */ mr r30, r3 +/* 80368A50 003659B0 7C DB 33 78 */ mr r27, r6 +/* 80368A54 003659B4 38 61 00 0C */ addi r3, r1, 0xc +/* 80368A58 003659B8 80 85 00 00 */ lwz r4, 0(r5) +/* 80368A5C 003659BC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A60 003659C0 90 81 00 08 */ stw r4, 8(r1) +/* 80368A64 003659C4 38 81 00 08 */ addi r4, r1, 8 +/* 80368A68 003659C8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80368A6C 003659CC 48 00 02 55 */ bl sub_80368cc0 +/* 80368A70 003659D0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A74 003659D4 7C 7D 1B 78 */ mr r29, r3 +/* 80368A78 003659D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80368A7C 003659DC 48 00 00 58 */ b lbl_80368AD4 +lbl_80368A80: +/* 80368A80 003659E0 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 80368A84 003659E4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A88 003659E8 7C 83 EA 14 */ add r4, r3, r29 +/* 80368A8C 003659EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80368A90 003659F0 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 80368A94 003659F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80368A98 003659F8 7F 84 E3 78 */ mr r4, r28 +/* 80368A9C 003659FC 48 00 01 8D */ bl sub_80368c28 +/* 80368AA0 00365A00 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80368AA4 00365A04 80 1B 00 00 */ lwz r0, 0(r27) +/* 80368AA8 00365A08 80 64 00 00 */ lwz r3, 0(r4) +/* 80368AAC 00365A0C 7C 03 00 40 */ cmplw r3, r0 +/* 80368AB0 00365A10 40 80 00 20 */ bge lbl_80368AD0 +/* 80368AB4 00365A14 90 9F 00 00 */ stw r4, 0(r31) +/* 80368AB8 00365A18 7C 7C E8 50 */ subf r3, r28, r29 +/* 80368ABC 00365A1C 3B A3 FF FF */ addi r29, r3, -1 +/* 80368AC0 00365A20 80 7F 00 00 */ lwz r3, 0(r31) +/* 80368AC4 00365A24 38 03 00 0A */ addi r0, r3, 0xa +/* 80368AC8 00365A28 90 1F 00 00 */ stw r0, 0(r31) +/* 80368ACC 00365A2C 48 00 00 08 */ b lbl_80368AD4 +lbl_80368AD0: +/* 80368AD0 00365A30 7F 9D E3 78 */ mr r29, r28 +lbl_80368AD4: +/* 80368AD4 00365A34 2C 1D 00 00 */ cmpwi r29, 0 +/* 80368AD8 00365A38 41 81 FF A8 */ bgt lbl_80368A80 +/* 80368ADC 00365A3C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368AE0 00365A40 90 1E 00 00 */ stw r0, 0(r30) +/* 80368AE4 00365A44 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80368AE8 00365A48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80368AEC 00365A4C 7C 08 03 A6 */ mtlr r0 +/* 80368AF0 00365A50 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368AF4 00365A54 4E 80 00 20 */ blr + +.global sub_80368af8 +sub_80368af8: +/* 80368AF8 00365A58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80368AFC 00365A5C 7C 08 02 A6 */ mflr r0 +/* 80368B00 00365A60 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368B04 00365A64 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80368B08 00365A68 7C 9F 23 78 */ mr r31, r4 +/* 80368B0C 00365A6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80368B10 00365A70 7C 7E 1B 78 */ mr r30, r3 +/* 80368B14 00365A74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80368B18 00365A78 80 03 00 08 */ lwz r0, 8(r3) +/* 80368B1C 00365A7C 7C 1F 00 00 */ cmpw r31, r0 +/* 80368B20 00365A80 40 81 00 C0 */ ble lbl_80368BE0 +/* 80368B24 00365A84 1C 7F 00 0A */ mulli r3, r31, 0xa +/* 80368B28 00365A88 2C 03 00 00 */ cmpwi r3, 0 +/* 80368B2C 00365A8C 40 82 00 0C */ bne lbl_80368B38 +/* 80368B30 00365A90 3B A0 00 00 */ li r29, 0 +/* 80368B34 00365A94 48 00 00 1C */ b lbl_80368B50 +lbl_80368B38: +/* 80368B38 00365A98 3C 80 80 3E */ lis r4, lbl_803D84E0@ha +/* 80368B3C 00365A9C 38 A0 00 00 */ li r5, 0 +/* 80368B40 00365AA0 38 84 84 E0 */ addi r4, r4, lbl_803D84E0@l +/* 80368B44 00365AA4 38 84 00 4C */ addi r4, r4, 0x4c +/* 80368B48 00365AA8 4B FA CC D1 */ bl __nwa__FUlPCcPCc +/* 80368B4C 00365AAC 7C 7D 1B 78 */ mr r29, r3 +lbl_80368B50: +/* 80368B50 00365AB0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80368B54 00365AB4 7F A4 EB 78 */ mr r4, r29 +/* 80368B58 00365AB8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80368B5C 00365ABC 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80368B60 00365AC0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80368B64 00365AC4 7C 65 02 14 */ add r3, r5, r0 +/* 80368B68 00365AC8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80368B6C 00365ACC 90 61 00 08 */ stw r3, 8(r1) +/* 80368B70 00365AD0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80368B74 00365AD4 48 00 00 2C */ b lbl_80368BA0 +lbl_80368B78: +/* 80368B78 00365AD8 28 04 00 00 */ cmplwi r4, 0 +/* 80368B7C 00365ADC 41 82 00 1C */ beq lbl_80368B98 +/* 80368B80 00365AE0 80 05 00 00 */ lwz r0, 0(r5) +/* 80368B84 00365AE4 90 04 00 00 */ stw r0, 0(r4) +/* 80368B88 00365AE8 80 05 00 04 */ lwz r0, 4(r5) +/* 80368B8C 00365AEC 90 04 00 04 */ stw r0, 4(r4) +/* 80368B90 00365AF0 A0 05 00 08 */ lhz r0, 8(r5) +/* 80368B94 00365AF4 B0 04 00 08 */ sth r0, 8(r4) +lbl_80368B98: +/* 80368B98 00365AF8 38 84 00 0A */ addi r4, r4, 0xa +/* 80368B9C 00365AFC 38 A5 00 0A */ addi r5, r5, 0xa +lbl_80368BA0: +/* 80368BA0 00365B00 7C 05 18 40 */ cmplw r5, r3 +/* 80368BA4 00365B04 40 82 FF D4 */ bne lbl_80368B78 +/* 80368BA8 00365B08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80368BAC 00365B0C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80368BB0 00365B10 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80368BB4 00365B14 7C 64 1B 78 */ mr r4, r3 +/* 80368BB8 00365B18 7C 03 02 14 */ add r0, r3, r0 +/* 80368BBC 00365B1C 48 00 00 08 */ b lbl_80368BC4 +lbl_80368BC0: +/* 80368BC0 00365B20 38 84 00 0A */ addi r4, r4, 0xa +lbl_80368BC4: +/* 80368BC4 00365B24 7C 04 00 40 */ cmplw r4, r0 +/* 80368BC8 00365B28 40 82 FF F8 */ bne lbl_80368BC0 +/* 80368BCC 00365B2C 28 03 00 00 */ cmplwi r3, 0 +/* 80368BD0 00365B30 41 82 00 08 */ beq lbl_80368BD8 +/* 80368BD4 00365B34 4B FA CD 5D */ bl Free__7CMemoryFPCv +lbl_80368BD8: +/* 80368BD8 00365B38 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80368BDC 00365B3C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80368BE0: +/* 80368BE0 00365B40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80368BE4 00365B44 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80368BE8 00365B48 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80368BEC 00365B4C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80368BF0 00365B50 7C 08 03 A6 */ mtlr r0 +/* 80368BF4 00365B54 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368BF8 00365B58 4E 80 00 20 */ blr + +.global sub_80368bfc +sub_80368bfc: +/* 80368BFC 00365B5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368C00 00365B60 7C 08 02 A6 */ mflr r0 +/* 80368C04 00365B64 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368C08 00365B68 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368C0C 00365B6C 88 01 00 08 */ lbz r0, 8(r1) +/* 80368C10 00365B70 98 01 00 0C */ stb r0, 0xc(r1) +/* 80368C14 00365B74 48 00 00 55 */ bl sub_80368c68 +/* 80368C18 00365B78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80368C1C 00365B7C 7C 08 03 A6 */ mtlr r0 +/* 80368C20 00365B80 38 21 00 10 */ addi r1, r1, 0x10 +/* 80368C24 00365B84 4E 80 00 20 */ blr + +.global sub_80368c28 +sub_80368c28: +/* 80368C28 00365B88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368C2C 00365B8C 7C 08 02 A6 */ mflr r0 +/* 80368C30 00365B90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368C34 00365B94 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368C38 00365B98 88 01 00 08 */ lbz r0, 8(r1) +/* 80368C3C 00365B9C 98 01 00 0C */ stb r0, 0xc(r1) +/* 80368C40 00365BA0 48 00 00 15 */ bl sub_80368c54 +/* 80368C44 00365BA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80368C48 00365BA8 7C 08 03 A6 */ mtlr r0 +/* 80368C4C 00365BAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80368C50 00365BB0 4E 80 00 20 */ blr + +.global sub_80368c54 +sub_80368c54: +/* 80368C54 00365BB4 1C 04 00 0A */ mulli r0, r4, 0xa +/* 80368C58 00365BB8 80 83 00 00 */ lwz r4, 0(r3) +/* 80368C5C 00365BBC 7C 04 02 14 */ add r0, r4, r0 +/* 80368C60 00365BC0 90 03 00 00 */ stw r0, 0(r3) +/* 80368C64 00365BC4 4E 80 00 20 */ blr + +.global sub_80368c68 +sub_80368c68: +/* 80368C68 00365BC8 1C 04 00 0A */ mulli r0, r4, 0xa +/* 80368C6C 00365BCC 80 83 00 00 */ lwz r4, 0(r3) +/* 80368C70 00365BD0 7C 04 02 14 */ add r0, r4, r0 +/* 80368C74 00365BD4 90 03 00 00 */ stw r0, 0(r3) +/* 80368C78 00365BD8 4E 80 00 20 */ blr + +.global sub_80368c7c +sub_80368c7c: +/* 80368C7C 00365BDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368C80 00365BE0 7C 08 02 A6 */ mflr r0 +/* 80368C84 00365BE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368C88 00365BE8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368C8C 00365BEC 88 E1 00 08 */ lbz r7, 8(r1) +/* 80368C90 00365BF0 80 C4 00 00 */ lwz r6, 0(r4) +/* 80368C94 00365BF4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80368C98 00365BF8 80 03 00 00 */ lwz r0, 0(r3) +/* 80368C9C 00365BFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80368CA0 00365C00 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80368CA4 00365C04 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80368CA8 00365C08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368CAC 00365C0C 48 00 00 81 */ bl sub_80368d2c +/* 80368CB0 00365C10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368CB4 00365C14 7C 08 03 A6 */ mtlr r0 +/* 80368CB8 00365C18 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368CBC 00365C1C 4E 80 00 20 */ blr + +.global sub_80368cc0 +sub_80368cc0: +/* 80368CC0 00365C20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368CC4 00365C24 7C 08 02 A6 */ mflr r0 +/* 80368CC8 00365C28 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368CCC 00365C2C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368CD0 00365C30 88 E1 00 08 */ lbz r7, 8(r1) +/* 80368CD4 00365C34 80 C4 00 00 */ lwz r6, 0(r4) +/* 80368CD8 00365C38 38 81 00 10 */ addi r4, r1, 0x10 +/* 80368CDC 00365C3C 80 03 00 00 */ lwz r0, 0(r3) +/* 80368CE0 00365C40 38 61 00 14 */ addi r3, r1, 0x14 +/* 80368CE4 00365C44 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80368CE8 00365C48 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80368CEC 00365C4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368CF0 00365C50 48 00 00 15 */ bl sub_80368d04 +/* 80368CF4 00365C54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368CF8 00365C58 7C 08 03 A6 */ mtlr r0 +/* 80368CFC 00365C5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368D00 00365C60 4E 80 00 20 */ blr + +.global sub_80368d04 +sub_80368d04: +/* 80368D04 00365C64 80 A3 00 00 */ lwz r5, 0(r3) +/* 80368D08 00365C68 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 80368D0C 00365C6C 80 04 00 00 */ lwz r0, 0(r4) +/* 80368D10 00365C70 38 63 66 67 */ addi r3, r3, 0x66666667@l +/* 80368D14 00365C74 7C 05 00 50 */ subf r0, r5, r0 +/* 80368D18 00365C78 7C 03 00 96 */ mulhw r0, r3, r0 +/* 80368D1C 00365C7C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80368D20 00365C80 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80368D24 00365C84 7C 60 1A 14 */ add r3, r0, r3 +/* 80368D28 00365C88 4E 80 00 20 */ blr + +.global sub_80368d2c +sub_80368d2c: +/* 80368D2C 00365C8C 80 A3 00 00 */ lwz r5, 0(r3) +/* 80368D30 00365C90 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 80368D34 00365C94 80 04 00 00 */ lwz r0, 0(r4) +/* 80368D38 00365C98 38 63 66 67 */ addi r3, r3, 0x66666667@l +/* 80368D3C 00365C9C 7C 05 00 50 */ subf r0, r5, r0 +/* 80368D40 00365CA0 7C 03 00 96 */ mulhw r0, r3, r0 +/* 80368D44 00365CA4 7C 00 16 70 */ srawi r0, r0, 2 +/* 80368D48 00365CA8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80368D4C 00365CAC 7C 60 1A 14 */ add r3, r0, r3 +/* 80368D50 00365CB0 4E 80 00 20 */ blr + +.global sub_80368d54 +sub_80368d54: +/* 80368D54 00365CB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368D58 00365CB8 80 04 00 00 */ lwz r0, 0(r4) +/* 80368D5C 00365CBC 81 03 00 00 */ lwz r8, 0(r3) +/* 80368D60 00365CC0 7C 00 40 40 */ cmplw r0, r8 +/* 80368D64 00365CC4 40 80 00 34 */ bge lbl_80368D98 +/* 80368D68 00365CC8 80 E3 00 04 */ lwz r7, 4(r3) +/* 80368D6C 00365CCC A0 C3 00 08 */ lhz r6, 8(r3) +/* 80368D70 00365CD0 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80368D74 00365CD4 90 03 00 00 */ stw r0, 0(r3) +/* 80368D78 00365CD8 80 04 00 04 */ lwz r0, 4(r4) +/* 80368D7C 00365CDC B0 C1 00 10 */ sth r6, 0x10(r1) +/* 80368D80 00365CE0 90 03 00 04 */ stw r0, 4(r3) +/* 80368D84 00365CE4 A0 04 00 08 */ lhz r0, 8(r4) +/* 80368D88 00365CE8 B0 03 00 08 */ sth r0, 8(r3) +/* 80368D8C 00365CEC 91 04 00 00 */ stw r8, 0(r4) +/* 80368D90 00365CF0 90 E4 00 04 */ stw r7, 4(r4) +/* 80368D94 00365CF4 B0 C4 00 08 */ sth r6, 8(r4) +lbl_80368D98: +/* 80368D98 00365CF8 81 05 00 00 */ lwz r8, 0(r5) +/* 80368D9C 00365CFC 80 04 00 00 */ lwz r0, 0(r4) +/* 80368DA0 00365D00 7C 08 00 40 */ cmplw r8, r0 +/* 80368DA4 00365D04 40 80 00 64 */ bge lbl_80368E08 +/* 80368DA8 00365D08 80 E5 00 04 */ lwz r7, 4(r5) +/* 80368DAC 00365D0C A0 C5 00 08 */ lhz r6, 8(r5) +/* 80368DB0 00365D10 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80368DB4 00365D14 90 05 00 00 */ stw r0, 0(r5) +/* 80368DB8 00365D18 80 04 00 04 */ lwz r0, 4(r4) +/* 80368DBC 00365D1C B0 C1 00 1C */ sth r6, 0x1c(r1) +/* 80368DC0 00365D20 90 05 00 04 */ stw r0, 4(r5) +/* 80368DC4 00365D24 A0 04 00 08 */ lhz r0, 8(r4) +/* 80368DC8 00365D28 B0 05 00 08 */ sth r0, 8(r5) +/* 80368DCC 00365D2C 80 03 00 00 */ lwz r0, 0(r3) +/* 80368DD0 00365D30 7C 08 00 40 */ cmplw r8, r0 +/* 80368DD4 00365D34 40 80 00 28 */ bge lbl_80368DFC +/* 80368DD8 00365D38 90 04 00 00 */ stw r0, 0(r4) +/* 80368DDC 00365D3C 80 03 00 04 */ lwz r0, 4(r3) +/* 80368DE0 00365D40 90 04 00 04 */ stw r0, 4(r4) +/* 80368DE4 00365D44 A0 03 00 08 */ lhz r0, 8(r3) +/* 80368DE8 00365D48 B0 04 00 08 */ sth r0, 8(r4) +/* 80368DEC 00365D4C 91 03 00 00 */ stw r8, 0(r3) +/* 80368DF0 00365D50 90 E3 00 04 */ stw r7, 4(r3) +/* 80368DF4 00365D54 B0 C3 00 08 */ sth r6, 8(r3) +/* 80368DF8 00365D58 48 00 00 10 */ b lbl_80368E08 +lbl_80368DFC: +/* 80368DFC 00365D5C 91 04 00 00 */ stw r8, 0(r4) +/* 80368E00 00365D60 90 E4 00 04 */ stw r7, 4(r4) +/* 80368E04 00365D64 B0 C4 00 08 */ sth r6, 8(r4) +lbl_80368E08: +/* 80368E08 00365D68 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368E0C 00365D6C 4E 80 00 20 */ blr + +.global sub_80368e10 +sub_80368e10: +/* 80368E10 00365D70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368E14 00365D74 80 C3 00 00 */ lwz r6, 0(r3) +/* 80368E18 00365D78 38 C6 00 0A */ addi r6, r6, 0xa +/* 80368E1C 00365D7C 48 00 00 74 */ b lbl_80368E90 +lbl_80368E20: +/* 80368E20 00365D80 80 A6 00 04 */ lwz r5, 4(r6) +/* 80368E24 00365D84 7C C8 33 78 */ mr r8, r6 +/* 80368E28 00365D88 A0 06 00 08 */ lhz r0, 8(r6) +/* 80368E2C 00365D8C 38 E6 FF F6 */ addi r7, r6, -10 +/* 80368E30 00365D90 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80368E34 00365D94 80 A6 00 00 */ lwz r5, 0(r6) +/* 80368E38 00365D98 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80368E3C 00365D9C 48 00 00 24 */ b lbl_80368E60 +lbl_80368E40: +/* 80368E40 00365DA0 80 07 00 00 */ lwz r0, 0(r7) +/* 80368E44 00365DA4 90 08 00 00 */ stw r0, 0(r8) +/* 80368E48 00365DA8 80 07 00 04 */ lwz r0, 4(r7) +/* 80368E4C 00365DAC 90 08 00 04 */ stw r0, 4(r8) +/* 80368E50 00365DB0 A0 07 00 08 */ lhz r0, 8(r7) +/* 80368E54 00365DB4 38 E7 FF F6 */ addi r7, r7, -10 +/* 80368E58 00365DB8 B0 08 00 08 */ sth r0, 8(r8) +/* 80368E5C 00365DBC 39 08 FF F6 */ addi r8, r8, -10 +lbl_80368E60: +/* 80368E60 00365DC0 80 03 00 00 */ lwz r0, 0(r3) +/* 80368E64 00365DC4 7C 00 40 40 */ cmplw r0, r8 +/* 80368E68 00365DC8 40 80 00 10 */ bge lbl_80368E78 +/* 80368E6C 00365DCC 80 07 00 00 */ lwz r0, 0(r7) +/* 80368E70 00365DD0 7C 05 00 40 */ cmplw r5, r0 +/* 80368E74 00365DD4 41 80 FF CC */ blt lbl_80368E40 +lbl_80368E78: +/* 80368E78 00365DD8 90 A8 00 00 */ stw r5, 0(r8) +/* 80368E7C 00365DDC 38 C6 00 0A */ addi r6, r6, 0xa +/* 80368E80 00365DE0 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80368E84 00365DE4 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80368E88 00365DE8 90 A8 00 04 */ stw r5, 4(r8) +/* 80368E8C 00365DEC B0 08 00 08 */ sth r0, 8(r8) +lbl_80368E90: +/* 80368E90 00365DF0 80 04 00 00 */ lwz r0, 0(r4) +/* 80368E94 00365DF4 7C 06 00 40 */ cmplw r6, r0 +/* 80368E98 00365DF8 41 80 FF 88 */ blt lbl_80368E20 +/* 80368E9C 00365DFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368EA0 00365E00 4E 80 00 20 */ blr + +.global Clear__17CPoseAsTransformsFv +Clear__17CPoseAsTransformsFv: +/* 80368EA4 00365E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368EA8 00365E08 7C 08 02 A6 */ mflr r0 +/* 80368EAC 00365E0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368EB0 00365E10 48 00 03 5D */ bl "Clear__58TSegIdMapVariableSizeFv" +/* 80368EB4 00365E14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80368EB8 00365E18 7C 08 03 A6 */ mtlr r0 +/* 80368EBC 00365E1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80368EC0 00365E20 4E 80 00 20 */ blr + +.global ContainsDataFor__17CPoseAsTransformsCFRC6CSegId +ContainsDataFor__17CPoseAsTransformsCFRC6CSegId: +/* 80368EC4 00365E24 88 A4 00 00 */ lbz r5, 0(r4) +/* 80368EC8 00365E28 38 80 00 00 */ li r4, 0 +/* 80368ECC 00365E2C 88 0D 9E 9A */ lbz r0, lbl_805A8A5A@sda21(r13) +/* 80368ED0 00365E30 54 A5 08 3C */ slwi r5, r5, 1 +/* 80368ED4 00365E34 88 CD 9E 9B */ lbz r6, lbl_805A8A5B@sda21(r13) +/* 80368ED8 00365E38 7C A3 2A 14 */ add r5, r3, r5 +/* 80368EDC 00365E3C 7C 00 07 74 */ extsb r0, r0 +/* 80368EE0 00365E40 88 65 00 08 */ lbz r3, 8(r5) +/* 80368EE4 00365E44 7C C6 07 74 */ extsb r6, r6 +/* 80368EE8 00365E48 7C 63 07 74 */ extsb r3, r3 +/* 80368EEC 00365E4C 7C 03 00 00 */ cmpw r3, r0 +/* 80368EF0 00365E50 40 82 00 14 */ bne lbl_80368F04 +/* 80368EF4 00365E54 88 05 00 09 */ lbz r0, 9(r5) +/* 80368EF8 00365E58 7C 00 07 74 */ extsb r0, r0 +/* 80368EFC 00365E5C 7C 00 30 00 */ cmpw r0, r6 +/* 80368F00 00365E60 41 82 00 08 */ beq lbl_80368F08 +lbl_80368F04: +/* 80368F04 00365E64 38 80 00 01 */ li r4, 1 +lbl_80368F08: +/* 80368F08 00365E68 7C 83 23 78 */ mr r3, r4 +/* 80368F0C 00365E6C 4E 80 00 20 */ blr + +.global AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff +AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff: +/* 80368F10 00365E70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368F14 00365E74 7C 08 02 A6 */ mflr r0 +/* 80368F18 00365E78 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368F1C 00365E7C DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80368F20 00365E80 FF E0 08 90 */ fmr f31, f1 +/* 80368F24 00365E84 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80368F28 00365E88 7C BF 2B 78 */ mr r31, r5 +/* 80368F2C 00365E8C 48 00 00 71 */ bl GetRotation__17CPoseAsTransformsCFRC6CSegId +/* 80368F30 00365E90 FC 20 F8 90 */ fmr f1, f31 +/* 80368F34 00365E94 7C 64 1B 78 */ mr r4, r3 +/* 80368F38 00365E98 7F E3 FB 78 */ mr r3, r31 +/* 80368F3C 00365E9C 4B FA 71 15 */ bl AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff +/* 80368F40 00365EA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368F44 00365EA4 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80368F48 00365EA8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80368F4C 00365EAC 7C 08 03 A6 */ mtlr r0 +/* 80368F50 00365EB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368F54 00365EB4 4E 80 00 20 */ blr + +.global GetOffset__17CPoseAsTransformsCFRC6CSegId +GetOffset__17CPoseAsTransformsCFRC6CSegId: +/* 80368F58 00365EB8 88 04 00 00 */ lbz r0, 0(r4) +/* 80368F5C 00365EBC 80 83 00 D0 */ lwz r4, 0xd0(r3) +/* 80368F60 00365EC0 54 00 08 3C */ slwi r0, r0, 1 +/* 80368F64 00365EC4 7C 63 02 14 */ add r3, r3, r0 +/* 80368F68 00365EC8 88 03 00 09 */ lbz r0, 9(r3) +/* 80368F6C 00365ECC 1C 60 00 30 */ mulli r3, r0, 0x30 +/* 80368F70 00365ED0 38 63 00 24 */ addi r3, r3, 0x24 +/* 80368F74 00365ED4 7C 64 1A 14 */ add r3, r4, r3 +/* 80368F78 00365ED8 4E 80 00 20 */ blr + +.global GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId: +/* 80368F7C 00365EDC 88 04 00 00 */ lbz r0, 0(r4) +/* 80368F80 00365EE0 80 83 00 D0 */ lwz r4, 0xd0(r3) +/* 80368F84 00365EE4 54 00 08 3C */ slwi r0, r0, 1 +/* 80368F88 00365EE8 7C 63 02 14 */ add r3, r3, r0 +/* 80368F8C 00365EEC 88 03 00 09 */ lbz r0, 9(r3) +/* 80368F90 00365EF0 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80368F94 00365EF4 7C 64 02 14 */ add r3, r4, r0 +/* 80368F98 00365EF8 4E 80 00 20 */ blr + +.global GetRotation__17CPoseAsTransformsCFRC6CSegId +GetRotation__17CPoseAsTransformsCFRC6CSegId: +/* 80368F9C 00365EFC 88 04 00 00 */ lbz r0, 0(r4) +/* 80368FA0 00365F00 80 83 00 D0 */ lwz r4, 0xd0(r3) +/* 80368FA4 00365F04 54 00 08 3C */ slwi r0, r0, 1 +/* 80368FA8 00365F08 7C 63 02 14 */ add r3, r3, r0 +/* 80368FAC 00365F0C 88 03 00 09 */ lbz r0, 9(r3) +/* 80368FB0 00365F10 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80368FB4 00365F14 7C 64 02 14 */ add r3, r4, r0 +/* 80368FB8 00365F18 4E 80 00 20 */ blr + +.global Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f +Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f: +/* 80368FBC 00365F1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80368FC0 00365F20 7C 08 02 A6 */ mflr r0 +/* 80368FC4 00365F24 90 01 00 54 */ stw r0, 0x54(r1) +/* 80368FC8 00365F28 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80368FCC 00365F2C 7C DF 33 78 */ mr r31, r6 +/* 80368FD0 00365F30 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80368FD4 00365F34 7C 9E 23 78 */ mr r30, r4 +/* 80368FD8 00365F38 7C A4 2B 78 */ mr r4, r5 +/* 80368FDC 00365F3C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80368FE0 00365F40 7C 7D 1B 78 */ mr r29, r3 +/* 80368FE4 00365F44 38 61 00 08 */ addi r3, r1, 8 +/* 80368FE8 00365F48 4B FA 70 3D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80368FEC 00365F4C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80368FF0 00365F50 7F A3 EB 78 */ mr r3, r29 +/* 80368FF4 00365F54 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80368FF8 00365F58 7F C4 F3 78 */ mr r4, r30 +/* 80368FFC 00365F5C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80369000 00365F60 38 A1 00 08 */ addi r5, r1, 8 +/* 80369004 00365F64 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80369008 00365F68 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8036900C 00365F6C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80369010 00365F70 48 00 01 51 */ bl "Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType" +/* 80369014 00365F74 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80369018 00365F78 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8036901C 00365F7C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80369020 00365F80 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80369024 00365F84 7C 08 03 A6 */ mtlr r0 +/* 80369028 00365F88 38 21 00 50 */ addi r1, r1, 0x50 +/* 8036902C 00365F8C 4E 80 00 20 */ blr + +.global __ct__17CPoseAsTransformsFUc +__ct__17CPoseAsTransformsFUc: +/* 80369030 00365F90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369034 00365F94 7C 08 02 A6 */ mflr r0 +/* 80369038 00365F98 38 E0 00 00 */ li r7, 0 +/* 8036903C 00365F9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369040 00365FA0 38 00 00 0A */ li r0, 0xa +/* 80369044 00365FA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80369048 00365FA8 7C 7F 1B 78 */ mr r31, r3 +/* 8036904C 00365FAC 39 1F 00 08 */ addi r8, r31, 8 +/* 80369050 00365FB0 98 E3 00 00 */ stb r7, 0(r3) +/* 80369054 00365FB4 38 60 00 64 */ li r3, 0x64 +/* 80369058 00365FB8 98 9F 00 01 */ stb r4, 1(r31) +/* 8036905C 00365FBC 88 CD 9E 98 */ lbz r6, lbl_805A8A58@sda21(r13) +/* 80369060 00365FC0 88 AD 9E 99 */ lbz r5, lbl_805A8A59@sda21(r13) +/* 80369064 00365FC4 7C C6 07 74 */ extsb r6, r6 +/* 80369068 00365FC8 90 7F 00 04 */ stw r3, 4(r31) +/* 8036906C 00365FCC 7C A3 07 74 */ extsb r3, r5 +/* 80369070 00365FD0 7C 09 03 A6 */ mtctr r0 +lbl_80369074: +/* 80369074 00365FD4 28 08 00 00 */ cmplwi r8, 0 +/* 80369078 00365FD8 41 82 00 0C */ beq lbl_80369084 +/* 8036907C 00365FDC 98 C8 00 00 */ stb r6, 0(r8) +/* 80369080 00365FE0 98 68 00 01 */ stb r3, 1(r8) +lbl_80369084: +/* 80369084 00365FE4 35 08 00 02 */ addic. r8, r8, 2 +/* 80369088 00365FE8 41 82 00 0C */ beq lbl_80369094 +/* 8036908C 00365FEC 98 C8 00 00 */ stb r6, 0(r8) +/* 80369090 00365FF0 98 68 00 01 */ stb r3, 1(r8) +lbl_80369094: +/* 80369094 00365FF4 35 08 00 02 */ addic. r8, r8, 2 +/* 80369098 00365FF8 41 82 00 0C */ beq lbl_803690A4 +/* 8036909C 00365FFC 98 C8 00 00 */ stb r6, 0(r8) +/* 803690A0 00366000 98 68 00 01 */ stb r3, 1(r8) +lbl_803690A4: +/* 803690A4 00366004 35 08 00 02 */ addic. r8, r8, 2 +/* 803690A8 00366008 41 82 00 0C */ beq lbl_803690B4 +/* 803690AC 0036600C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690B0 00366010 98 68 00 01 */ stb r3, 1(r8) +lbl_803690B4: +/* 803690B4 00366014 35 08 00 02 */ addic. r8, r8, 2 +/* 803690B8 00366018 41 82 00 0C */ beq lbl_803690C4 +/* 803690BC 0036601C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690C0 00366020 98 68 00 01 */ stb r3, 1(r8) +lbl_803690C4: +/* 803690C4 00366024 35 08 00 02 */ addic. r8, r8, 2 +/* 803690C8 00366028 41 82 00 0C */ beq lbl_803690D4 +/* 803690CC 0036602C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690D0 00366030 98 68 00 01 */ stb r3, 1(r8) +lbl_803690D4: +/* 803690D4 00366034 35 08 00 02 */ addic. r8, r8, 2 +/* 803690D8 00366038 41 82 00 0C */ beq lbl_803690E4 +/* 803690DC 0036603C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690E0 00366040 98 68 00 01 */ stb r3, 1(r8) +lbl_803690E4: +/* 803690E4 00366044 35 08 00 02 */ addic. r8, r8, 2 +/* 803690E8 00366048 41 82 00 0C */ beq lbl_803690F4 +/* 803690EC 0036604C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690F0 00366050 98 68 00 01 */ stb r3, 1(r8) +lbl_803690F4: +/* 803690F4 00366054 35 08 00 02 */ addic. r8, r8, 2 +/* 803690F8 00366058 41 82 00 0C */ beq lbl_80369104 +/* 803690FC 0036605C 98 C8 00 00 */ stb r6, 0(r8) +/* 80369100 00366060 98 68 00 01 */ stb r3, 1(r8) +lbl_80369104: +/* 80369104 00366064 35 08 00 02 */ addic. r8, r8, 2 +/* 80369108 00366068 41 82 00 0C */ beq lbl_80369114 +/* 8036910C 0036606C 98 C8 00 00 */ stb r6, 0(r8) +/* 80369110 00366070 98 68 00 01 */ stb r3, 1(r8) +lbl_80369114: +/* 80369114 00366074 38 E7 00 09 */ addi r7, r7, 9 +/* 80369118 00366078 39 08 00 02 */ addi r8, r8, 2 +/* 8036911C 0036607C 42 00 FF 58 */ bdnz lbl_80369074 +/* 80369120 00366080 38 C0 00 00 */ li r6, 0 +/* 80369124 00366084 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80369128 00366088 90 DF 00 D0 */ stw r6, 0xd0(r31) +/* 8036912C 0036608C 3C 80 80 3E */ lis r4, lbl_803D8538@ha +/* 80369130 00366090 1C 60 00 30 */ mulli r3, r0, 0x30 +/* 80369134 00366094 38 A0 00 00 */ li r5, 0 +/* 80369138 00366098 98 DF 00 D4 */ stb r6, 0xd4(r31) +/* 8036913C 0036609C 38 84 85 38 */ addi r4, r4, lbl_803D8538@l +/* 80369140 003660A0 4B FA C6 D9 */ bl __nwa__FUlPCcPCc +/* 80369144 003660A4 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 80369148 003660A8 7F E3 FB 78 */ mr r3, r31 +/* 8036914C 003660AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369150 003660B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80369154 003660B4 7C 08 03 A6 */ mtlr r0 +/* 80369158 003660B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036915C 003660BC 4E 80 00 20 */ blr + +.global "Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType" +"Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType": +/* 80369160 003660C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80369164 003660C4 7C 08 02 A6 */ mflr r0 +/* 80369168 003660C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036916C 003660CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80369170 003660D0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80369174 003660D4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80369178 003660D8 7C BD 2B 78 */ mr r29, r5 +/* 8036917C 003660DC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80369180 003660E0 7C 7C 1B 78 */ mr r28, r3 +/* 80369184 003660E4 88 03 00 00 */ lbz r0, 0(r3) +/* 80369188 003660E8 80 63 00 D0 */ lwz r3, 0xd0(r3) +/* 8036918C 003660EC 7C 00 07 74 */ extsb r0, r0 +/* 80369190 003660F0 8B E4 00 00 */ lbz r31, 0(r4) +/* 80369194 003660F4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80369198 003660F8 7F C3 02 15 */ add. r30, r3, r0 +/* 8036919C 003660FC 41 82 00 28 */ beq lbl_803691C4 +/* 803691A0 00366100 7F C3 F3 78 */ mr r3, r30 +/* 803691A4 00366104 7F A4 EB 78 */ mr r4, r29 +/* 803691A8 00366108 4B FA 6E 7D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 803691AC 0036610C C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 803691B0 00366110 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803691B4 00366114 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 803691B8 00366118 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803691BC 0036611C C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 803691C0 00366120 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_803691C4: +/* 803691C4 00366124 57 E3 0D FC */ rlwinm r3, r31, 1, 0x17, 0x1e +/* 803691C8 00366128 88 9C 00 00 */ lbz r4, 0(r28) +/* 803691CC 0036612C 88 1C 00 D4 */ lbz r0, 0xd4(r28) +/* 803691D0 00366130 7C 7C 1A 14 */ add r3, r28, r3 +/* 803691D4 00366134 98 03 00 08 */ stb r0, 8(r3) +/* 803691D8 00366138 98 83 00 09 */ stb r4, 9(r3) +/* 803691DC 0036613C 9B FC 00 D4 */ stb r31, 0xd4(r28) +/* 803691E0 00366140 88 7C 00 00 */ lbz r3, 0(r28) +/* 803691E4 00366144 38 03 00 01 */ addi r0, r3, 1 +/* 803691E8 00366148 98 1C 00 00 */ stb r0, 0(r28) +/* 803691EC 0036614C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803691F0 00366150 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803691F4 00366154 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803691F8 00366158 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803691FC 0036615C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80369200 00366160 7C 08 03 A6 */ mtlr r0 +/* 80369204 00366164 38 21 00 20 */ addi r1, r1, 0x20 +/* 80369208 00366168 4E 80 00 20 */ blr + +.global "Clear__58TSegIdMapVariableSizeFv" +"Clear__58TSegIdMapVariableSizeFv": +/* 8036920C 0036616C 88 A3 00 D4 */ lbz r5, 0xd4(r3) +/* 80369210 00366170 38 C3 00 08 */ addi r6, r3, 8 +/* 80369214 00366174 48 00 00 24 */ b lbl_80369238 +lbl_80369218: +/* 80369218 00366178 54 A4 0D FC */ rlwinm r4, r5, 1, 0x17, 0x1e +/* 8036921C 0036617C 7C 80 23 78 */ mr r0, r4 +/* 80369220 00366180 7C A6 20 AE */ lbzx r5, r6, r4 +/* 80369224 00366184 7C E6 02 14 */ add r7, r6, r0 +/* 80369228 00366188 88 8D 9E 9D */ lbz r4, lbl_805A8A5D@sda21(r13) +/* 8036922C 0036618C 88 0D 9E 9C */ lbz r0, lbl_805A8A5C@sda21(r13) +/* 80369230 00366190 98 07 00 00 */ stb r0, 0(r7) +/* 80369234 00366194 98 87 00 01 */ stb r4, 1(r7) +lbl_80369238: +/* 80369238 00366198 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8036923C 0036619C 40 82 FF DC */ bne lbl_80369218 +/* 80369240 003661A0 38 00 00 00 */ li r0, 0 +/* 80369244 003661A4 98 03 00 D4 */ stb r0, 0xd4(r3) +/* 80369248 003661A8 98 03 00 00 */ stb r0, 0(r3) +/* 8036924C 003661AC 4E 80 00 20 */ blr + +.global CreateRumbleHandle__12CRumbleVoiceFs +CreateRumbleHandle__12CRumbleVoiceFs: +/* 80369250 003661B0 88 A3 00 2E */ lbz r5, 0x2e(r3) +/* 80369254 003661B4 38 05 00 01 */ addi r0, r5, 1 +/* 80369258 003661B8 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8036925C 003661BC 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80369260 003661C0 28 00 00 00 */ cmplwi r0, 0 +/* 80369264 003661C4 40 82 00 0C */ bne lbl_80369270 +/* 80369268 003661C8 38 00 00 01 */ li r0, 1 +/* 8036926C 003661CC 98 03 00 2E */ stb r0, 0x2e(r3) +lbl_80369270: +/* 80369270 003661D0 54 85 0B FC */ rlwinm r5, r4, 1, 0xf, 0x1e +/* 80369274 003661D4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80369278 003661D8 7C A3 2A 14 */ add r5, r3, r5 +/* 8036927C 003661DC 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 80369280 003661E0 B0 05 00 24 */ sth r0, 0x24(r5) +/* 80369284 003661E4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80369288 003661E8 54 00 40 2E */ slwi r0, r0, 8 +/* 8036928C 003661EC 7C 00 23 78 */ or r0, r0, r4 +/* 80369290 003661F0 54 00 04 3E */ clrlwi r0, r0, 0x10 +/* 80369294 003661F4 7C 03 07 34 */ extsh r3, r0 +/* 80369298 003661F8 4E 80 00 20 */ blr + +.global OwnsSustained__12CRumbleVoiceCFs +OwnsSustained__12CRumbleVoiceCFs: +/* 8036929C 003661FC 7C 84 07 34 */ extsh r4, r4 +/* 803692A0 00366200 54 80 07 3E */ clrlwi r0, r4, 0x1c +/* 803692A4 00366204 28 00 00 04 */ cmplwi r0, 4 +/* 803692A8 00366208 54 84 C6 3E */ rlwinm r4, r4, 0x18, 0x18, 0x1f +/* 803692AC 0036620C 40 80 00 20 */ bge lbl_803692CC +/* 803692B0 00366210 54 00 0B FC */ rlwinm r0, r0, 1, 0xf, 0x1e +/* 803692B4 00366214 7C 63 02 14 */ add r3, r3, r0 +/* 803692B8 00366218 A0 03 00 24 */ lhz r0, 0x24(r3) +/* 803692BC 0036621C 7C 04 00 50 */ subf r0, r4, r0 +/* 803692C0 00366220 7C 00 00 34 */ cntlzw r0, r0 +/* 803692C4 00366224 54 03 D9 7E */ srwi r3, r0, 5 +/* 803692C8 00366228 4E 80 00 20 */ blr +lbl_803692CC: +/* 803692CC 0036622C 38 60 00 00 */ li r3, 0 +/* 803692D0 00366230 4E 80 00 20 */ blr + +.global GetIntensity__12CRumbleVoiceCFv +GetIntensity__12CRumbleVoiceCFv: +/* 803692D4 00366234 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 803692D8 00366238 C0 43 00 00 */ lfs f2, 0(r3) +/* 803692DC 0036623C C0 03 00 24 */ lfs f0, 0x24(r3) +/* 803692E0 00366240 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803692E4 00366244 40 80 00 08 */ bge lbl_803692EC +/* 803692E8 00366248 FC 40 00 90 */ fmr f2, f0 +lbl_803692EC: +/* 803692EC 0036624C C0 03 00 48 */ lfs f0, 0x48(r3) +/* 803692F0 00366250 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803692F4 00366254 40 80 00 08 */ bge lbl_803692FC +/* 803692F8 00366258 FC 40 00 90 */ fmr f2, f0 +lbl_803692FC: +/* 803692FC 0036625C C0 03 00 6C */ lfs f0, 0x6c(r3) +/* 80369300 00366260 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80369304 00366264 40 80 00 08 */ bge lbl_8036930C +/* 80369308 00366268 FC 40 00 90 */ fmr f2, f0 +lbl_8036930C: +/* 8036930C 0036626C C0 22 CD D8 */ lfs f1, lbl_805AEAF8@sda21(r2) +/* 80369310 00366270 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80369314 00366274 4D 81 00 20 */ bgtlr +/* 80369318 00366278 FC 20 10 90 */ fmr f1, f2 +/* 8036931C 0036627C 4E 80 00 20 */ blr + +.global GetFreeChannel__12CRumbleVoiceCFv +GetFreeChannel__12CRumbleVoiceCFv: +/* 80369320 00366280 38 E0 00 00 */ li r7, 0 +/* 80369324 00366284 38 A0 00 01 */ li r5, 1 +/* 80369328 00366288 48 00 00 24 */ b lbl_8036934C +lbl_8036932C: +/* 8036932C 0036628C 54 E4 04 3E */ clrlwi r4, r7, 0x10 +/* 80369330 00366290 A0 C3 00 2C */ lhz r6, 0x2c(r3) +/* 80369334 00366294 7C A0 20 30 */ slw r0, r5, r4 +/* 80369338 00366298 7C C0 00 39 */ and. r0, r6, r0 +/* 8036933C 0036629C 40 82 00 0C */ bne lbl_80369348 +/* 80369340 003662A0 7C 83 23 78 */ mr r3, r4 +/* 80369344 003662A4 4E 80 00 20 */ blr +lbl_80369348: +/* 80369348 003662A8 38 E7 00 01 */ addi r7, r7, 1 +lbl_8036934C: +/* 8036934C 003662AC 54 E0 04 3E */ clrlwi r0, r7, 0x10 +/* 80369350 003662B0 28 00 00 04 */ cmplwi r0, 4 +/* 80369354 003662B4 41 80 FF D8 */ blt lbl_8036932C +/* 80369358 003662B8 38 60 00 00 */ li r3, 0 +/* 8036935C 003662BC 4E 80 00 20 */ blr + +.global Update__12CRumbleVoiceFf +Update__12CRumbleVoiceFf: +/* 80369360 003662C0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80369364 003662C4 7C 08 02 A6 */ mflr r0 +/* 80369368 003662C8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8036936C 003662CC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80369370 003662D0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80369374 003662D4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80369378 003662D8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8036937C 003662DC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80369380 003662E0 93 81 00 30 */ stw r28, 0x30(r1) +/* 80369384 003662E4 7C 7E 1B 78 */ mr r30, r3 +/* 80369388 003662E8 FF E0 08 90 */ fmr f31, f1 +/* 8036938C 003662EC A0 03 00 2C */ lhz r0, 0x2c(r3) +/* 80369390 003662F0 28 00 00 00 */ cmplwi r0, 0 +/* 80369394 003662F4 41 82 00 CC */ beq lbl_80369460 +/* 80369398 003662F8 3B E0 00 00 */ li r31, 0 +/* 8036939C 003662FC 48 00 00 B0 */ b lbl_8036944C +lbl_803693A0: +/* 803693A0 00366300 57 E6 04 3E */ clrlwi r6, r31, 0x10 +/* 803693A4 00366304 38 00 00 01 */ li r0, 1 +/* 803693A8 00366308 A0 7E 00 2C */ lhz r3, 0x2c(r30) +/* 803693AC 0036630C 7C 1D 30 30 */ slw r29, r0, r6 +/* 803693B0 00366310 7C 60 E8 39 */ and. r0, r3, r29 +/* 803693B4 00366314 41 82 00 94 */ beq lbl_80369448 +/* 803693B8 00366318 1F 86 00 24 */ mulli r28, r6, 0x24 +/* 803693BC 0036631C 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 803693C0 00366320 FC 20 F8 90 */ fmr f1, f31 +/* 803693C4 00366324 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 803693C8 00366328 7F C3 F3 78 */ mr r3, r30 +/* 803693CC 0036632C 1C 06 00 1C */ mulli r0, r6, 0x1c +/* 803693D0 00366330 7C 84 E2 14 */ add r4, r4, r28 +/* 803693D4 00366334 7C A5 02 14 */ add r5, r5, r0 +/* 803693D8 00366338 48 00 00 B5 */ bl UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf +/* 803693DC 0036633C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803693E0 00366340 41 82 00 68 */ beq lbl_80369448 +/* 803693E4 00366344 A0 1E 00 2C */ lhz r0, 0x2c(r30) +/* 803693E8 00366348 38 61 00 08 */ addi r3, r1, 8 +/* 803693EC 0036634C 7C 00 E8 78 */ andc r0, r0, r29 +/* 803693F0 00366350 B0 1E 00 2C */ sth r0, 0x2c(r30) +/* 803693F4 00366354 48 00 08 B5 */ bl Stopped__10SAdsrDeltaFv +/* 803693F8 00366358 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803693FC 0036635C C0 01 00 08 */ lfs f0, 8(r1) +/* 80369400 00366360 7C 60 E2 14 */ add r3, r0, r28 +/* 80369404 00366364 D0 03 00 00 */ stfs f0, 0(r3) +/* 80369408 00366368 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8036940C 0036636C D0 03 00 04 */ stfs f0, 4(r3) +/* 80369410 00366370 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80369414 00366374 D0 03 00 08 */ stfs f0, 8(r3) +/* 80369418 00366378 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8036941C 0036637C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369420 00366380 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369424 00366384 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369428 00366388 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8036942C 0036638C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80369430 00366390 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80369434 00366394 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80369438 00366398 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036943C 0036639C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80369440 003663A0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80369444 003663A4 90 03 00 20 */ stw r0, 0x20(r3) +lbl_80369448: +/* 80369448 003663A8 3B FF 00 01 */ addi r31, r31, 1 +lbl_8036944C: +/* 8036944C 003663AC 57 E0 04 3E */ clrlwi r0, r31, 0x10 +/* 80369450 003663B0 28 00 00 04 */ cmplwi r0, 4 +/* 80369454 003663B4 41 80 FF 4C */ blt lbl_803693A0 +/* 80369458 003663B8 38 60 00 01 */ li r3, 1 +/* 8036945C 003663BC 48 00 00 08 */ b lbl_80369464 +lbl_80369460: +/* 80369460 003663C0 38 60 00 00 */ li r3, 0 +lbl_80369464: +/* 80369464 003663C4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80369468 003663C8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8036946C 003663CC CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80369470 003663D0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80369474 003663D4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80369478 003663D8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8036947C 003663DC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80369480 003663E0 7C 08 03 A6 */ mtlr r0 +/* 80369484 003663E4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80369488 003663E8 4E 80 00 20 */ blr + +.global UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf +UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf: +/* 8036948C 003663EC 80 04 00 20 */ lwz r0, 0x20(r4) +/* 80369490 003663F0 2C 00 00 03 */ cmpwi r0, 3 +/* 80369494 003663F4 41 82 00 A8 */ beq lbl_8036953C +/* 80369498 003663F8 40 80 00 14 */ bge lbl_803694AC +/* 8036949C 003663FC 2C 00 00 01 */ cmpwi r0, 1 +/* 803694A0 00366400 41 82 00 18 */ beq lbl_803694B8 +/* 803694A4 00366404 40 80 00 48 */ bge lbl_803694EC +/* 803694A8 00366408 48 00 01 DC */ b lbl_80369684 +lbl_803694AC: +/* 803694AC 0036640C 2C 00 00 05 */ cmpwi r0, 5 +/* 803694B0 00366410 41 82 01 54 */ beq lbl_80369604 +/* 803694B4 00366414 48 00 01 D0 */ b lbl_80369684 +lbl_803694B8: +/* 803694B8 00366418 C0 44 00 04 */ lfs f2, 4(r4) +/* 803694BC 0036641C C0 02 CD DC */ lfs f0, lbl_805AEAFC@sda21(r2) +/* 803694C0 00366420 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803694C4 00366424 40 80 00 10 */ bge lbl_803694D4 +/* 803694C8 00366428 EC 02 08 2A */ fadds f0, f2, f1 +/* 803694CC 0036642C D0 04 00 04 */ stfs f0, 4(r4) +/* 803694D0 00366430 48 00 01 B4 */ b lbl_80369684 +lbl_803694D4: +/* 803694D4 00366434 38 00 00 02 */ li r0, 2 +/* 803694D8 00366438 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 803694DC 0036643C 90 04 00 20 */ stw r0, 0x20(r4) +/* 803694E0 00366440 D0 04 00 00 */ stfs f0, 0(r4) +/* 803694E4 00366444 D0 04 00 04 */ stfs f0, 4(r4) +/* 803694E8 00366448 48 00 01 9C */ b lbl_80369684 +lbl_803694EC: +/* 803694EC 0036644C C0 05 00 08 */ lfs f0, 8(r5) +/* 803694F0 00366450 C0 44 00 04 */ lfs f2, 4(r4) +/* 803694F4 00366454 C0 A4 00 14 */ lfs f5, 0x14(r4) +/* 803694F8 00366458 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803694FC 0036645C 40 80 00 30 */ bge lbl_8036952C +/* 80369500 00366460 EC 82 00 24 */ fdivs f4, f2, f0 +/* 80369504 00366464 C0 02 CD E4 */ lfs f0, lbl_805AEB04@sda21(r2) +/* 80369508 00366468 C0 62 CD E0 */ lfs f3, lbl_805AEB00@sda21(r2) +/* 8036950C 0036646C EC 40 20 28 */ fsubs f2, f0, f4 +/* 80369510 00366470 EC 05 01 32 */ fmuls f0, f5, f4 +/* 80369514 00366474 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80369518 00366478 D0 04 00 00 */ stfs f0, 0(r4) +/* 8036951C 0036647C C0 04 00 04 */ lfs f0, 4(r4) +/* 80369520 00366480 EC 00 08 2A */ fadds f0, f0, f1 +/* 80369524 00366484 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369528 00366488 48 00 01 5C */ b lbl_80369684 +lbl_8036952C: +/* 8036952C 0036648C D0 A4 00 00 */ stfs f5, 0(r4) +/* 80369530 00366490 38 00 00 03 */ li r0, 3 +/* 80369534 00366494 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369538 00366498 48 00 01 4C */ b lbl_80369684 +lbl_8036953C: +/* 8036953C 0036649C 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80369540 003664A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80369544 003664A4 41 82 00 54 */ beq lbl_80369598 +/* 80369548 003664A8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8036954C 003664AC C0 44 00 08 */ lfs f2, 8(r4) +/* 80369550 003664B0 C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80369554 003664B4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80369558 003664B8 C0 84 00 14 */ lfs f4, 0x14(r4) +/* 8036955C 003664BC 40 80 00 2C */ bge lbl_80369588 +/* 80369560 003664C0 EC 62 00 24 */ fdivs f3, f2, f0 +/* 80369564 003664C4 C0 02 CD E4 */ lfs f0, lbl_805AEB04@sda21(r2) +/* 80369568 003664C8 EC 40 18 28 */ fsubs f2, f0, f3 +/* 8036956C 003664CC EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80369570 003664D0 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80369574 003664D4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80369578 003664D8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8036957C 003664DC EC 00 08 2A */ fadds f0, f0, f1 +/* 80369580 003664E0 D0 04 00 08 */ stfs f0, 8(r4) +/* 80369584 003664E4 48 00 01 00 */ b lbl_80369684 +lbl_80369588: +/* 80369588 003664E8 D0 A4 00 00 */ stfs f5, 0(r4) +/* 8036958C 003664EC 38 00 00 04 */ li r0, 4 +/* 80369590 003664F0 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369594 003664F4 48 00 00 F0 */ b lbl_80369684 +lbl_80369598: +/* 80369598 003664F8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8036959C 003664FC C0 44 00 08 */ lfs f2, 8(r4) +/* 803695A0 00366500 C0 84 00 14 */ lfs f4, 0x14(r4) +/* 803695A4 00366504 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803695A8 00366508 40 80 00 30 */ bge lbl_803695D8 +/* 803695AC 0036650C EC 62 00 24 */ fdivs f3, f2, f0 +/* 803695B0 00366510 C0 42 CD E4 */ lfs f2, lbl_805AEB04@sda21(r2) +/* 803695B4 00366514 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 803695B8 00366518 EC 42 18 28 */ fsubs f2, f2, f3 +/* 803695BC 0036651C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 803695C0 00366520 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 803695C4 00366524 D0 04 00 00 */ stfs f0, 0(r4) +/* 803695C8 00366528 C0 04 00 08 */ lfs f0, 8(r4) +/* 803695CC 0036652C EC 00 08 2A */ fadds f0, f0, f1 +/* 803695D0 00366530 D0 04 00 08 */ stfs f0, 8(r4) +/* 803695D4 00366534 48 00 00 14 */ b lbl_803695E8 +lbl_803695D8: +/* 803695D8 00366538 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 803695DC 0036653C 38 00 00 00 */ li r0, 0 +/* 803695E0 00366540 D0 04 00 00 */ stfs f0, 0(r4) +/* 803695E4 00366544 90 04 00 20 */ stw r0, 0x20(r4) +lbl_803695E8: +/* 803695E8 00366548 80 04 00 20 */ lwz r0, 0x20(r4) +/* 803695EC 0036654C 2C 00 00 03 */ cmpwi r0, 3 +/* 803695F0 00366550 41 82 00 94 */ beq lbl_80369684 +/* 803695F4 00366554 38 00 00 00 */ li r0, 0 +/* 803695F8 00366558 38 60 00 01 */ li r3, 1 +/* 803695FC 0036655C 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369600 00366560 4E 80 00 20 */ blr +lbl_80369604: +/* 80369604 00366564 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80369608 00366568 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8036960C 0036656C 41 82 00 0C */ beq lbl_80369618 +/* 80369610 00366570 C0 84 00 18 */ lfs f4, 0x18(r4) +/* 80369614 00366574 48 00 00 08 */ b lbl_8036961C +lbl_80369618: +/* 80369618 00366578 C0 82 CD E0 */ lfs f4, lbl_805AEB00@sda21(r2) +lbl_8036961C: +/* 8036961C 0036657C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 80369620 00366580 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80369624 00366584 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80369628 00366588 40 80 00 30 */ bge lbl_80369658 +/* 8036962C 0036658C EC 62 00 24 */ fdivs f3, f2, f0 +/* 80369630 00366590 C0 42 CD E4 */ lfs f2, lbl_805AEB04@sda21(r2) +/* 80369634 00366594 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 80369638 00366598 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8036963C 0036659C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80369640 003665A0 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80369644 003665A4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80369648 003665A8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8036964C 003665AC EC 00 08 2A */ fadds f0, f0, f1 +/* 80369650 003665B0 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369654 003665B4 48 00 00 14 */ b lbl_80369668 +lbl_80369658: +/* 80369658 003665B8 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 8036965C 003665BC 38 00 00 00 */ li r0, 0 +/* 80369660 003665C0 D0 04 00 00 */ stfs f0, 0(r4) +/* 80369664 003665C4 90 04 00 20 */ stw r0, 0x20(r4) +lbl_80369668: +/* 80369668 003665C8 80 04 00 20 */ lwz r0, 0x20(r4) +/* 8036966C 003665CC 2C 00 00 05 */ cmpwi r0, 5 +/* 80369670 003665D0 41 82 00 14 */ beq lbl_80369684 +/* 80369674 003665D4 38 00 00 00 */ li r0, 0 +/* 80369678 003665D8 38 60 00 01 */ li r3, 1 +/* 8036967C 003665DC 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369680 003665E0 4E 80 00 20 */ blr +lbl_80369684: +/* 80369684 003665E4 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80369688 003665E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8036968C 003665EC 41 82 00 34 */ beq lbl_803696C0 +/* 80369690 003665F0 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80369694 003665F4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80369698 003665F8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8036969C 003665FC 40 80 00 10 */ bge lbl_803696AC +/* 803696A0 00366600 EC 02 08 2A */ fadds f0, f2, f1 +/* 803696A4 00366604 D0 04 00 10 */ stfs f0, 0x10(r4) +/* 803696A8 00366608 48 00 00 18 */ b lbl_803696C0 +lbl_803696AC: +/* 803696AC 0036660C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 803696B0 00366610 2C 00 00 04 */ cmpwi r0, 4 +/* 803696B4 00366614 40 82 00 0C */ bne lbl_803696C0 +/* 803696B8 00366618 38 00 00 05 */ li r0, 5 +/* 803696BC 0036661C 90 04 00 20 */ stw r0, 0x20(r4) +lbl_803696C0: +/* 803696C0 00366620 38 60 00 00 */ li r3, 0 +/* 803696C4 00366624 4E 80 00 20 */ blr + +.global HardReset__12CRumbleVoiceFv +HardReset__12CRumbleVoiceFv: +/* 803696C8 00366628 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803696CC 0036662C 7C 08 02 A6 */ mflr r0 +/* 803696D0 00366630 90 01 00 44 */ stw r0, 0x44(r1) +/* 803696D4 00366634 38 00 00 00 */ li r0, 0 +/* 803696D8 00366638 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803696DC 0036663C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803696E0 00366640 3B C0 00 00 */ li r30, 0 +/* 803696E4 00366644 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803696E8 00366648 7C 7D 1B 78 */ mr r29, r3 +/* 803696EC 0036664C 3B FD 00 24 */ addi r31, r29, 0x24 +/* 803696F0 00366650 B0 03 00 2C */ sth r0, 0x2c(r3) +/* 803696F4 00366654 48 00 00 74 */ b lbl_80369768 +lbl_803696F8: +/* 803696F8 00366658 38 61 00 08 */ addi r3, r1, 8 +/* 803696FC 0036665C 48 00 05 AD */ bl Stopped__10SAdsrDeltaFv +/* 80369700 00366660 57 C3 04 3E */ clrlwi r3, r30, 0x10 +/* 80369704 00366664 57 C0 0B FC */ rlwinm r0, r30, 1, 0xf, 0x1e +/* 80369708 00366668 1C 83 00 24 */ mulli r4, r3, 0x24 +/* 8036970C 0036666C 80 BD 00 1C */ lwz r5, 0x1c(r29) +/* 80369710 00366670 C0 01 00 08 */ lfs f0, 8(r1) +/* 80369714 00366674 38 60 00 00 */ li r3, 0 +/* 80369718 00366678 3B DE 00 01 */ addi r30, r30, 1 +/* 8036971C 0036667C 7C A5 22 14 */ add r5, r5, r4 +/* 80369720 00366680 D0 05 00 00 */ stfs f0, 0(r5) +/* 80369724 00366684 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80369728 00366688 D0 05 00 04 */ stfs f0, 4(r5) +/* 8036972C 0036668C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80369730 00366690 D0 05 00 08 */ stfs f0, 8(r5) +/* 80369734 00366694 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80369738 00366698 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8036973C 0036669C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369740 003666A0 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80369744 003666A4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80369748 003666A8 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8036974C 003666AC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80369750 003666B0 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 80369754 003666B4 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80369758 003666B8 90 85 00 1C */ stw r4, 0x1c(r5) +/* 8036975C 003666BC 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80369760 003666C0 90 85 00 20 */ stw r4, 0x20(r5) +/* 80369764 003666C4 7C 7F 03 2E */ sthx r3, r31, r0 +lbl_80369768: +/* 80369768 003666C8 57 C0 04 3E */ clrlwi r0, r30, 0x10 +/* 8036976C 003666CC 28 00 00 04 */ cmplwi r0, 4 +/* 80369770 003666D0 41 80 FF 88 */ blt lbl_803696F8 +/* 80369774 003666D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369778 003666D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8036977C 003666DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80369780 003666E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80369784 003666E4 7C 08 03 A6 */ mtlr r0 +/* 80369788 003666E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036978C 003666EC 4E 80 00 20 */ blr + +.global Deactivate__12CRumbleVoiceFsb +Deactivate__12CRumbleVoiceFsb: +/* 80369790 003666F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369794 003666F4 7C 08 02 A6 */ mflr r0 +/* 80369798 003666F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036979C 003666FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803697A0 00366700 7C 9F 23 78 */ mr r31, r4 +/* 803697A4 00366704 7F E0 07 34 */ extsh r0, r31 +/* 803697A8 00366708 2C 00 FF FF */ cmpwi r0, -1 +/* 803697AC 0036670C 93 C1 00 08 */ stw r30, 8(r1) +/* 803697B0 00366710 7C 7E 1B 78 */ mr r30, r3 +/* 803697B4 00366714 41 82 00 40 */ beq lbl_803697F4 +/* 803697B8 00366718 4B FF FA E5 */ bl OwnsSustained__12CRumbleVoiceCFs +/* 803697BC 0036671C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803697C0 00366720 40 82 00 08 */ bne lbl_803697C8 +/* 803697C4 00366724 48 00 00 30 */ b lbl_803697F4 +lbl_803697C8: +/* 803697C8 00366728 57 E3 07 3E */ clrlwi r3, r31, 0x1c +/* 803697CC 0036672C 38 00 00 01 */ li r0, 1 +/* 803697D0 00366730 A0 9E 00 2C */ lhz r4, 0x2c(r30) +/* 803697D4 00366734 7C 00 18 30 */ slw r0, r0, r3 +/* 803697D8 00366738 7C 80 00 39 */ and. r0, r4, r0 +/* 803697DC 0036673C 41 82 00 18 */ beq lbl_803697F4 +/* 803697E0 00366740 1C 63 00 24 */ mulli r3, r3, 0x24 +/* 803697E4 00366744 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 803697E8 00366748 38 A0 00 05 */ li r5, 5 +/* 803697EC 0036674C 38 03 00 20 */ addi r0, r3, 0x20 +/* 803697F0 00366750 7C A4 01 2E */ stwx r5, r4, r0 +lbl_803697F4: +/* 803697F4 00366754 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803697F8 00366758 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803697FC 0036675C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80369800 00366760 7C 08 03 A6 */ mtlr r0 +/* 80369804 00366764 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369808 00366768 4E 80 00 20 */ blr + +.global Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority +Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority: +/* 8036980C 0036676C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80369810 00366770 7C 08 02 A6 */ mflr r0 +/* 80369814 00366774 90 01 00 64 */ stw r0, 0x64(r1) +/* 80369818 00366778 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8036981C 0036677C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80369820 00366780 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 80369824 00366784 FF E0 08 90 */ fmr f31, f1 +/* 80369828 00366788 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 8036982C 0036678C 7C 7C 1B 78 */ mr r28, r3 +/* 80369830 00366790 7C 9D 23 78 */ mr r29, r4 +/* 80369834 00366794 7C BE 2B 78 */ mr r30, r5 +/* 80369838 00366798 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8036983C 0036679C 40 81 01 1C */ ble lbl_80369958 +/* 80369840 003667A0 57 DB 04 3E */ clrlwi r27, r30, 0x10 +/* 80369844 003667A4 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80369848 003667A8 1F FB 00 1C */ mulli r31, r27, 0x1c +/* 8036984C 003667AC C0 1D 00 00 */ lfs f0, 0(r29) +/* 80369850 003667B0 7C C4 33 78 */ mr r4, r6 +/* 80369854 003667B4 38 61 00 08 */ addi r3, r1, 8 +/* 80369858 003667B8 7C A0 FA 14 */ add r5, r0, r31 +/* 8036985C 003667BC D0 05 00 00 */ stfs f0, 0(r5) +/* 80369860 003667C0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80369864 003667C4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80369868 003667C8 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8036986C 003667CC D0 05 00 08 */ stfs f0, 8(r5) +/* 80369870 003667D0 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 80369874 003667D4 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 80369878 003667D8 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 8036987C 003667DC D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80369880 003667E0 C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 80369884 003667E4 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 80369888 003667E8 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 8036988C 003667EC 98 05 00 18 */ stb r0, 0x18(r5) +/* 80369890 003667F0 A0 1C 00 2C */ lhz r0, 0x2c(r28) +/* 80369894 003667F4 7C 00 00 34 */ cntlzw r0, r0 +/* 80369898 003667F8 54 05 DE 3E */ rlwinm r5, r0, 0x1b, 0x18, 0x1f +/* 8036989C 003667FC 48 00 04 31 */ bl Start__10SAdsrDeltaF15ERumblePriorityb +/* 803698A0 00366800 1C DB 00 24 */ mulli r6, r27, 0x24 +/* 803698A4 00366804 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803698A8 00366808 38 00 00 01 */ li r0, 1 +/* 803698AC 0036680C C0 01 00 08 */ lfs f0, 8(r1) +/* 803698B0 00366810 38 BF 00 10 */ addi r5, r31, 0x10 +/* 803698B4 00366814 7C E3 32 14 */ add r7, r3, r6 +/* 803698B8 00366818 D0 07 00 00 */ stfs f0, 0(r7) +/* 803698BC 0036681C 38 86 00 14 */ addi r4, r6, 0x14 +/* 803698C0 00366820 38 66 00 18 */ addi r3, r6, 0x18 +/* 803698C4 00366824 7C 00 D8 30 */ slw r0, r0, r27 +/* 803698C8 00366828 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803698CC 0036682C D0 07 00 04 */ stfs f0, 4(r7) +/* 803698D0 00366830 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803698D4 00366834 D0 07 00 08 */ stfs f0, 8(r7) +/* 803698D8 00366838 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 803698DC 0036683C D0 07 00 0C */ stfs f0, 0xc(r7) +/* 803698E0 00366840 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 803698E4 00366844 D0 07 00 10 */ stfs f0, 0x10(r7) +/* 803698E8 00366848 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 803698EC 0036684C D0 07 00 14 */ stfs f0, 0x14(r7) +/* 803698F0 00366850 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 803698F4 00366854 D0 07 00 18 */ stfs f0, 0x18(r7) +/* 803698F8 00366858 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 803698FC 0036685C 90 C7 00 1C */ stw r6, 0x1c(r7) +/* 80369900 00366860 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 80369904 00366864 90 C7 00 20 */ stw r6, 0x20(r7) +/* 80369908 00366868 80 FC 00 0C */ lwz r7, 0xc(r28) +/* 8036990C 0036686C 80 DC 00 1C */ lwz r6, 0x1c(r28) +/* 80369910 00366870 7C 07 FC 2E */ lfsx f0, r7, r31 +/* 80369914 00366874 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80369918 00366878 7C 06 25 2E */ stfsx f0, r6, r4 +/* 8036991C 0036687C 80 DC 00 0C */ lwz r6, 0xc(r28) +/* 80369920 00366880 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80369924 00366884 7C 06 2C 2E */ lfsx f0, r6, r5 +/* 80369928 00366888 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8036992C 0036688C 7C 04 1D 2E */ stfsx f0, r4, r3 +/* 80369930 00366890 A0 7C 00 2C */ lhz r3, 0x2c(r28) +/* 80369934 00366894 7C 60 03 78 */ or r0, r3, r0 +/* 80369938 00366898 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036993C 0036689C 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80369940 003668A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80369944 003668A4 41 82 00 14 */ beq lbl_80369958 +/* 80369948 003668A8 7F 83 E3 78 */ mr r3, r28 +/* 8036994C 003668AC 7F C4 F3 78 */ mr r4, r30 +/* 80369950 003668B0 4B FF F9 01 */ bl CreateRumbleHandle__12CRumbleVoiceFs +/* 80369954 003668B4 48 00 00 08 */ b lbl_8036995C +lbl_80369958: +/* 80369958 003668B8 38 60 FF FF */ li r3, -1 +lbl_8036995C: +/* 8036995C 003668BC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80369960 003668C0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80369964 003668C4 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80369968 003668C8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8036996C 003668CC 7C 08 03 A6 */ mtlr r0 +/* 80369970 003668D0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80369974 003668D4 4E 80 00 20 */ blr + +.global __ct__12CRumbleVoiceFv +__ct__12CRumbleVoiceFv: +/* 80369978 003668D8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8036997C 003668DC 7C 08 02 A6 */ mflr r0 +/* 80369980 003668E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80369984 003668E4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80369988 003668E8 7C 7F 1B 78 */ mr r31, r3 +/* 8036998C 003668EC 38 61 00 08 */ addi r3, r1, 8 +/* 80369990 003668F0 48 00 02 7D */ bl __ct__9SAdsrDataFv +/* 80369994 003668F4 38 00 00 04 */ li r0, 4 +/* 80369998 003668F8 90 1F 00 04 */ stw r0, 4(r31) +/* 8036999C 003668FC 90 1F 00 08 */ stw r0, 8(r31) +/* 803699A0 00366900 80 1F 00 04 */ lwz r0, 4(r31) +/* 803699A4 00366904 1C 60 00 1C */ mulli r3, r0, 0x1c +/* 803699A8 00366908 2C 03 00 00 */ cmpwi r3, 0 +/* 803699AC 0036690C 40 82 00 10 */ bne lbl_803699BC +/* 803699B0 00366910 38 00 00 00 */ li r0, 0 +/* 803699B4 00366914 90 1F 00 0C */ stw r0, 0xc(r31) +/* 803699B8 00366918 48 00 00 18 */ b lbl_803699D0 +lbl_803699BC: +/* 803699BC 0036691C 3C 80 80 3E */ lis r4, lbl_803D8540@ha +/* 803699C0 00366920 38 A0 00 00 */ li r5, 0 +/* 803699C4 00366924 38 84 85 40 */ addi r4, r4, lbl_803D8540@l +/* 803699C8 00366928 4B FA BE 51 */ bl __nwa__FUlPCcPCc +/* 803699CC 0036692C 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_803699D0: +/* 803699D0 00366930 38 00 00 02 */ li r0, 2 +/* 803699D4 00366934 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 803699D8 00366938 38 60 00 00 */ li r3, 0 +/* 803699DC 0036693C 7C 09 03 A6 */ mtctr r0 +lbl_803699E0: +/* 803699E0 00366940 28 04 00 00 */ cmplwi r4, 0 +/* 803699E4 00366944 41 82 00 3C */ beq lbl_80369A20 +/* 803699E8 00366948 C0 01 00 08 */ lfs f0, 8(r1) +/* 803699EC 0036694C D0 04 00 00 */ stfs f0, 0(r4) +/* 803699F0 00366950 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803699F4 00366954 D0 04 00 04 */ stfs f0, 4(r4) +/* 803699F8 00366958 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803699FC 0036695C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369A00 00366960 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80369A04 00366964 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369A08 00366968 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369A0C 0036696C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369A10 00366970 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80369A14 00366974 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369A18 00366978 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80369A1C 0036697C 98 04 00 18 */ stb r0, 0x18(r4) +lbl_80369A20: +/* 80369A20 00366980 34 84 00 1C */ addic. r4, r4, 0x1c +/* 80369A24 00366984 41 82 00 3C */ beq lbl_80369A60 +/* 80369A28 00366988 C0 01 00 08 */ lfs f0, 8(r1) +/* 80369A2C 0036698C D0 04 00 00 */ stfs f0, 0(r4) +/* 80369A30 00366990 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80369A34 00366994 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369A38 00366998 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80369A3C 0036699C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369A40 003669A0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80369A44 003669A4 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369A48 003669A8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369A4C 003669AC D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369A50 003669B0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80369A54 003669B4 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369A58 003669B8 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80369A5C 003669BC 98 04 00 18 */ stb r0, 0x18(r4) +lbl_80369A60: +/* 80369A60 003669C0 38 63 00 01 */ addi r3, r3, 1 +/* 80369A64 003669C4 38 84 00 1C */ addi r4, r4, 0x1c +/* 80369A68 003669C8 42 00 FF 78 */ bdnz lbl_803699E0 +/* 80369A6C 003669CC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80369A70 003669D0 48 00 02 39 */ bl Stopped__10SAdsrDeltaFv +/* 80369A74 003669D4 38 00 00 04 */ li r0, 4 +/* 80369A78 003669D8 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80369A7C 003669DC 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80369A80 003669E0 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80369A84 003669E4 1C 60 00 24 */ mulli r3, r0, 0x24 +/* 80369A88 003669E8 2C 03 00 00 */ cmpwi r3, 0 +/* 80369A8C 003669EC 40 82 00 10 */ bne lbl_80369A9C +/* 80369A90 003669F0 38 00 00 00 */ li r0, 0 +/* 80369A94 003669F4 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80369A98 003669F8 48 00 00 18 */ b lbl_80369AB0 +lbl_80369A9C: +/* 80369A9C 003669FC 3C 80 80 3E */ lis r4, lbl_803D8540@ha +/* 80369AA0 00366A00 38 A0 00 00 */ li r5, 0 +/* 80369AA4 00366A04 38 84 85 40 */ addi r4, r4, lbl_803D8540@l +/* 80369AA8 00366A08 4B FA BD 71 */ bl __nwa__FUlPCcPCc +/* 80369AAC 00366A0C 90 7F 00 1C */ stw r3, 0x1c(r31) +lbl_80369AB0: +/* 80369AB0 00366A10 38 00 00 02 */ li r0, 2 +/* 80369AB4 00366A14 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80369AB8 00366A18 38 60 00 00 */ li r3, 0 +/* 80369ABC 00366A1C 7C 09 03 A6 */ mtctr r0 +lbl_80369AC0: +/* 80369AC0 00366A20 28 04 00 00 */ cmplwi r4, 0 +/* 80369AC4 00366A24 41 82 00 4C */ beq lbl_80369B10 +/* 80369AC8 00366A28 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80369ACC 00366A2C D0 04 00 00 */ stfs f0, 0(r4) +/* 80369AD0 00366A30 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80369AD4 00366A34 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369AD8 00366A38 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80369ADC 00366A3C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369AE0 00366A40 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80369AE4 00366A44 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369AE8 00366A48 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80369AEC 00366A4C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369AF0 00366A50 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80369AF4 00366A54 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369AF8 00366A58 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80369AFC 00366A5C D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80369B00 00366A60 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80369B04 00366A64 90 04 00 1C */ stw r0, 0x1c(r4) +/* 80369B08 00366A68 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369B0C 00366A6C 90 04 00 20 */ stw r0, 0x20(r4) +lbl_80369B10: +/* 80369B10 00366A70 34 84 00 24 */ addic. r4, r4, 0x24 +/* 80369B14 00366A74 41 82 00 4C */ beq lbl_80369B60 +/* 80369B18 00366A78 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80369B1C 00366A7C D0 04 00 00 */ stfs f0, 0(r4) +/* 80369B20 00366A80 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80369B24 00366A84 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369B28 00366A88 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80369B2C 00366A8C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369B30 00366A90 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80369B34 00366A94 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369B38 00366A98 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80369B3C 00366A9C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369B40 00366AA0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80369B44 00366AA4 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369B48 00366AA8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80369B4C 00366AAC D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80369B50 00366AB0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80369B54 00366AB4 90 04 00 1C */ stw r0, 0x1c(r4) +/* 80369B58 00366AB8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369B5C 00366ABC 90 04 00 20 */ stw r0, 0x20(r4) +lbl_80369B60: +/* 80369B60 00366AC0 38 63 00 01 */ addi r3, r3, 1 +/* 80369B64 00366AC4 38 84 00 24 */ addi r4, r4, 0x24 +/* 80369B68 00366AC8 42 00 FF 58 */ bdnz lbl_80369AC0 +/* 80369B6C 00366ACC 38 00 00 04 */ li r0, 4 +/* 80369B70 00366AD0 34 7F 00 24 */ addic. r3, r31, 0x24 +/* 80369B74 00366AD4 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80369B78 00366AD8 41 82 00 0C */ beq lbl_80369B84 +/* 80369B7C 00366ADC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369B80 00366AE0 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369B84: +/* 80369B84 00366AE4 34 63 00 02 */ addic. r3, r3, 2 +/* 80369B88 00366AE8 41 82 00 0C */ beq lbl_80369B94 +/* 80369B8C 00366AEC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369B90 00366AF0 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369B94: +/* 80369B94 00366AF4 34 63 00 02 */ addic. r3, r3, 2 +/* 80369B98 00366AF8 41 82 00 0C */ beq lbl_80369BA4 +/* 80369B9C 00366AFC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369BA0 00366B00 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369BA4: +/* 80369BA4 00366B04 34 63 00 02 */ addic. r3, r3, 2 +/* 80369BA8 00366B08 41 82 00 0C */ beq lbl_80369BB4 +/* 80369BAC 00366B0C A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369BB0 00366B10 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369BB4: +/* 80369BB4 00366B14 38 00 00 00 */ li r0, 0 +/* 80369BB8 00366B18 7F E3 FB 78 */ mr r3, r31 +/* 80369BBC 00366B1C B0 1F 00 2C */ sth r0, 0x2c(r31) +/* 80369BC0 00366B20 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80369BC4 00366B24 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80369BC8 00366B28 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80369BCC 00366B2C 7C 08 03 A6 */ mtlr r0 +/* 80369BD0 00366B30 38 21 00 50 */ addi r1, r1, 0x50 +/* 80369BD4 00366B34 4E 80 00 20 */ blr + +.global __ct__9SAdsrDataFffffffbb +__ct__9SAdsrDataFffffffbb: +/* 80369BD8 00366B38 D0 23 00 00 */ stfs f1, 0(r3) +/* 80369BDC 00366B3C D0 43 00 04 */ stfs f2, 4(r3) +/* 80369BE0 00366B40 D0 63 00 08 */ stfs f3, 8(r3) +/* 80369BE4 00366B44 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80369BE8 00366B48 D0 A3 00 10 */ stfs f5, 0x10(r3) +/* 80369BEC 00366B4C D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 80369BF0 00366B50 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369BF4 00366B54 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80369BF8 00366B58 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369BFC 00366B5C 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369C00 00366B60 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80369C04 00366B64 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369C08 00366B68 4E 80 00 20 */ blr + +.global __ct__9SAdsrDataFv +__ct__9SAdsrDataFv: +/* 80369C0C 00366B6C C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +/* 80369C10 00366B70 38 80 00 00 */ li r4, 0 +/* 80369C14 00366B74 D0 03 00 00 */ stfs f0, 0(r3) +/* 80369C18 00366B78 D0 03 00 04 */ stfs f0, 4(r3) +/* 80369C1C 00366B7C D0 03 00 08 */ stfs f0, 8(r3) +/* 80369C20 00366B80 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369C24 00366B84 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369C28 00366B88 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80369C2C 00366B8C 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369C30 00366B90 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80369C34 00366B94 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369C38 00366B98 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369C3C 00366B9C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80369C40 00366BA0 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369C44 00366BA4 4E 80 00 20 */ blr + +.global __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority +__ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority: +/* 80369C48 00366BA8 2C 04 00 01 */ cmpwi r4, 1 +/* 80369C4C 00366BAC 40 82 00 0C */ bne lbl_80369C58 +/* 80369C50 00366BB0 C0 02 CD EC */ lfs f0, lbl_805AEB0C@sda21(r2) +/* 80369C54 00366BB4 48 00 00 08 */ b lbl_80369C5C +lbl_80369C58: +/* 80369C58 00366BB8 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +lbl_80369C5C: +/* 80369C5C 00366BBC D0 03 00 00 */ stfs f0, 0(r3) +/* 80369C60 00366BC0 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +/* 80369C64 00366BC4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80369C68 00366BC8 D0 03 00 08 */ stfs f0, 8(r3) +/* 80369C6C 00366BCC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369C70 00366BD0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369C74 00366BD4 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80369C78 00366BD8 90 83 00 20 */ stw r4, 0x20(r3) +/* 80369C7C 00366BDC 4E 80 00 20 */ blr + +.global __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase +__ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase: +/* 80369C80 00366BE0 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +/* 80369C84 00366BE4 38 00 00 00 */ li r0, 0 +/* 80369C88 00366BE8 D0 03 00 00 */ stfs f0, 0(r3) +/* 80369C8C 00366BEC D0 03 00 04 */ stfs f0, 4(r3) +/* 80369C90 00366BF0 D0 03 00 08 */ stfs f0, 8(r3) +/* 80369C94 00366BF4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369C98 00366BF8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369C9C 00366BFC 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80369CA0 00366C00 90 83 00 20 */ stw r4, 0x20(r3) +/* 80369CA4 00366C04 4E 80 00 20 */ blr + +.global Stopped__10SAdsrDeltaFv +Stopped__10SAdsrDeltaFv: +/* 80369CA8 00366C08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369CAC 00366C0C 7C 08 02 A6 */ mflr r0 +/* 80369CB0 00366C10 38 80 00 00 */ li r4, 0 +/* 80369CB4 00366C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369CB8 00366C18 4B FF FF C9 */ bl __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase +/* 80369CBC 00366C1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369CC0 00366C20 7C 08 03 A6 */ mtlr r0 +/* 80369CC4 00366C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369CC8 00366C28 4E 80 00 20 */ blr + +.global Start__10SAdsrDeltaF15ERumblePriorityb +Start__10SAdsrDeltaF15ERumblePriorityb: +/* 80369CCC 00366C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369CD0 00366C30 7C 08 02 A6 */ mflr r0 +/* 80369CD4 00366C34 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369CD8 00366C38 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80369CDC 00366C3C 7C 85 23 78 */ mr r5, r4 +/* 80369CE0 00366C40 38 80 00 02 */ li r4, 2 +/* 80369CE4 00366C44 41 82 00 08 */ beq lbl_80369CEC +/* 80369CE8 00366C48 38 80 00 01 */ li r4, 1 +lbl_80369CEC: +/* 80369CEC 00366C4C 4B FF FF 5D */ bl __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority +/* 80369CF0 00366C50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369CF4 00366C54 7C 08 03 A6 */ mtlr r0 +/* 80369CF8 00366C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369CFC 00366C5C 4E 80 00 20 */ blr + +.global SetDisabled__14CRumbleManagerFb +SetDisabled__14CRumbleManagerFb: +/* 80369D00 00366C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369D04 00366C64 7C 08 02 A6 */ mflr r0 +/* 80369D08 00366C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369D0C 00366C6C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80369D10 00366C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80369D14 00366C74 7C 9F 23 78 */ mr r31, r4 +/* 80369D18 00366C78 93 C1 00 08 */ stw r30, 8(r1) +/* 80369D1C 00366C7C 7C 7E 1B 78 */ mr r30, r3 +/* 80369D20 00366C80 41 82 00 08 */ beq lbl_80369D28 +/* 80369D24 00366C84 48 00 00 29 */ bl HardStopAll__16CRumbleGeneratorFv +lbl_80369D28: +/* 80369D28 00366C88 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 80369D2C 00366C8C 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 +/* 80369D30 00366C90 98 1E 00 F0 */ stb r0, 0xf0(r30) +/* 80369D34 00366C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369D38 00366C98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80369D3C 00366C9C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80369D40 00366CA0 7C 08 03 A6 */ mtlr r0 +/* 80369D44 00366CA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369D48 00366CA8 4E 80 00 20 */ blr + +.global HardStopAll__16CRumbleGeneratorFv +HardStopAll__16CRumbleGeneratorFv: +/* 80369D4C 00366CAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80369D50 00366CB0 7C 08 02 A6 */ mflr r0 +/* 80369D54 00366CB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80369D58 00366CB8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80369D5C 00366CBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80369D60 00366CC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80369D64 00366CC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80369D68 00366CC8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80369D6C 00366CCC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80369D70 00366CD0 C3 E2 CD F0 */ lfs f31, lbl_805AEB10@sda21(r2) +/* 80369D74 00366CD4 7C 7E 1B 78 */ mr r30, r3 +/* 80369D78 00366CD8 3B 80 00 00 */ li r28, 0 +/* 80369D7C 00366CDC 7C 7D 1B 78 */ mr r29, r3 +/* 80369D80 00366CE0 3B E0 00 00 */ li r31, 0 +lbl_80369D84: +/* 80369D84 00366CE4 D3 FE 00 C0 */ stfs f31, 0xc0(r30) +/* 80369D88 00366CE8 7F A3 EB 78 */ mr r3, r29 +/* 80369D8C 00366CEC D3 FE 00 D0 */ stfs f31, 0xd0(r30) +/* 80369D90 00366CF0 93 FE 00 E0 */ stw r31, 0xe0(r30) +/* 80369D94 00366CF4 4B FF F9 35 */ bl HardReset__12CRumbleVoiceFv +/* 80369D98 00366CF8 3B 9C 00 01 */ addi r28, r28, 1 +/* 80369D9C 00366CFC 3B BD 00 30 */ addi r29, r29, 0x30 +/* 80369DA0 00366D00 2C 1C 00 04 */ cmpwi r28, 4 +/* 80369DA4 00366D04 3B DE 00 04 */ addi r30, r30, 4 +/* 80369DA8 00366D08 41 80 FF DC */ blt lbl_80369D84 +/* 80369DAC 00366D0C 3C 60 80 3E */ lis r3, lbl_803D8548@ha +/* 80369DB0 00366D10 38 63 85 48 */ addi r3, r3, lbl_803D8548@l +/* 80369DB4 00366D14 48 01 CD 71 */ bl PADControlAllMotors +/* 80369DB8 00366D18 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80369DBC 00366D1C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80369DC0 00366D20 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80369DC4 00366D24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80369DC8 00366D28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80369DCC 00366D2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80369DD0 00366D30 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80369DD4 00366D34 7C 08 03 A6 */ mtlr r0 +/* 80369DD8 00366D38 38 21 00 30 */ addi r1, r1, 0x30 +/* 80369DDC 00366D3C 4E 80 00 20 */ blr + +.global Update__16CRumbleGeneratorFf +Update__16CRumbleGeneratorFf: +/* 80369DE0 00366D40 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80369DE4 00366D44 7C 08 02 A6 */ mflr r0 +/* 80369DE8 00366D48 90 01 00 44 */ stw r0, 0x44(r1) +/* 80369DEC 00366D4C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80369DF0 00366D50 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80369DF4 00366D54 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80369DF8 00366D58 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80369DFC 00366D5C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80369E00 00366D60 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80369E04 00366D64 FF C0 08 90 */ fmr f30, f1 +/* 80369E08 00366D68 7C 7B 1B 78 */ mr r27, r3 +/* 80369E0C 00366D6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80369E10 00366D70 40 82 01 18 */ bne lbl_80369F28 +/* 80369E14 00366D74 7F 7F DB 78 */ mr r31, r27 +/* 80369E18 00366D78 7F 7E DB 78 */ mr r30, r27 +/* 80369E1C 00366D7C 3B A0 00 00 */ li r29, 0 +/* 80369E20 00366D80 3B 80 00 00 */ li r28, 0 +lbl_80369E24: +/* 80369E24 00366D84 7F E3 FB 78 */ mr r3, r31 +/* 80369E28 00366D88 4B FF F4 AD */ bl GetIntensity__12CRumbleVoiceCFv +/* 80369E2C 00366D8C FF E0 08 90 */ fmr f31, f1 +/* 80369E30 00366D90 7F E3 FB 78 */ mr r3, r31 +/* 80369E34 00366D94 FC 20 F0 90 */ fmr f1, f30 +/* 80369E38 00366D98 4B FF F5 29 */ bl Update__12CRumbleVoiceFf +/* 80369E3C 00366D9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80369E40 00366DA0 41 82 00 14 */ beq lbl_80369E54 +/* 80369E44 00366DA4 C0 62 CD F0 */ lfs f3, lbl_805AEB10@sda21(r2) +/* 80369E48 00366DA8 FC 1F 18 40 */ fcmpo cr0, f31, f3 +/* 80369E4C 00366DAC 4C 40 13 82 */ cror 2, 0, 2 +/* 80369E50 00366DB0 40 82 00 2C */ bne lbl_80369E7C +lbl_80369E54: +/* 80369E54 00366DB4 C0 02 CD F0 */ lfs f0, lbl_805AEB10@sda21(r2) +/* 80369E58 00366DB8 D0 1E 00 C0 */ stfs f0, 0xc0(r30) +/* 80369E5C 00366DBC D0 1E 00 D0 */ stfs f0, 0xd0(r30) +/* 80369E60 00366DC0 80 1E 00 E0 */ lwz r0, 0xe0(r30) +/* 80369E64 00366DC4 2C 00 00 00 */ cmpwi r0, 0 +/* 80369E68 00366DC8 41 82 00 9C */ beq lbl_80369F04 +/* 80369E6C 00366DCC 38 00 00 00 */ li r0, 0 +/* 80369E70 00366DD0 3B A0 00 01 */ li r29, 1 +/* 80369E74 00366DD4 90 1E 00 E0 */ stw r0, 0xe0(r30) +/* 80369E78 00366DD8 48 00 00 8C */ b lbl_80369F04 +lbl_80369E7C: +/* 80369E7C 00366DDC C0 02 CD F8 */ lfs f0, lbl_805AEB18@sda21(r2) +/* 80369E80 00366DE0 C0 5E 00 C0 */ lfs f2, 0xc0(r30) +/* 80369E84 00366DE4 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80369E88 00366DE8 C0 22 CD F4 */ lfs f1, lbl_805AEB14@sda21(r2) +/* 80369E8C 00366DEC EC 42 F0 2A */ fadds f2, f2, f30 +/* 80369E90 00366DF0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80369E94 00366DF4 D0 5E 00 C0 */ stfs f2, 0xc0(r30) +/* 80369E98 00366DF8 C0 3E 00 C0 */ lfs f1, 0xc0(r30) +/* 80369E9C 00366DFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80369EA0 00366E00 4C 41 13 82 */ cror 2, 1, 2 +/* 80369EA4 00366E04 40 82 00 24 */ bne lbl_80369EC8 +/* 80369EA8 00366E08 D0 7E 00 C0 */ stfs f3, 0xc0(r30) +/* 80369EAC 00366E0C 80 1E 00 E0 */ lwz r0, 0xe0(r30) +/* 80369EB0 00366E10 2C 00 00 01 */ cmpwi r0, 1 +/* 80369EB4 00366E14 41 82 00 50 */ beq lbl_80369F04 +/* 80369EB8 00366E18 38 00 00 01 */ li r0, 1 +/* 80369EBC 00366E1C 3B A0 00 01 */ li r29, 1 +/* 80369EC0 00366E20 90 1E 00 E0 */ stw r0, 0xe0(r30) +/* 80369EC4 00366E24 48 00 00 40 */ b lbl_80369F04 +lbl_80369EC8: +/* 80369EC8 00366E28 C0 3E 00 D0 */ lfs f1, 0xd0(r30) +/* 80369ECC 00366E2C C0 02 CD FC */ lfs f0, lbl_805AEB1C@sda21(r2) +/* 80369ED0 00366E30 EC 21 F0 2A */ fadds f1, f1, f30 +/* 80369ED4 00366E34 D0 3E 00 D0 */ stfs f1, 0xd0(r30) +/* 80369ED8 00366E38 C0 3E 00 D0 */ lfs f1, 0xd0(r30) +/* 80369EDC 00366E3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80369EE0 00366E40 4C 41 13 82 */ cror 2, 1, 2 +/* 80369EE4 00366E44 40 82 00 20 */ bne lbl_80369F04 +/* 80369EE8 00366E48 D0 7E 00 D0 */ stfs f3, 0xd0(r30) +/* 80369EEC 00366E4C 80 1E 00 E0 */ lwz r0, 0xe0(r30) +/* 80369EF0 00366E50 2C 00 00 00 */ cmpwi r0, 0 +/* 80369EF4 00366E54 41 82 00 10 */ beq lbl_80369F04 +/* 80369EF8 00366E58 38 00 00 00 */ li r0, 0 +/* 80369EFC 00366E5C 3B A0 00 01 */ li r29, 1 +/* 80369F00 00366E60 90 1E 00 E0 */ stw r0, 0xe0(r30) +lbl_80369F04: +/* 80369F04 00366E64 3B 9C 00 01 */ addi r28, r28, 1 +/* 80369F08 00366E68 3B DE 00 04 */ addi r30, r30, 4 +/* 80369F0C 00366E6C 2C 1C 00 04 */ cmpwi r28, 4 +/* 80369F10 00366E70 3B FF 00 30 */ addi r31, r31, 0x30 +/* 80369F14 00366E74 41 80 FF 10 */ blt lbl_80369E24 +/* 80369F18 00366E78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80369F1C 00366E7C 41 82 00 0C */ beq lbl_80369F28 +/* 80369F20 00366E80 38 7B 00 E0 */ addi r3, r27, 0xe0 +/* 80369F24 00366E84 48 01 CC 01 */ bl PADControlAllMotors +lbl_80369F28: +/* 80369F28 00366E88 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80369F2C 00366E8C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80369F30 00366E90 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80369F34 00366E94 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80369F38 00366E98 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80369F3C 00366E9C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369F40 00366EA0 7C 08 03 A6 */ mtlr r0 +/* 80369F44 00366EA4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80369F48 00366EA8 4E 80 00 20 */ blr + +.global Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort +Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort: +/* 80369F4C 00366EAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80369F50 00366EB0 7C 08 02 A6 */ mflr r0 +/* 80369F54 00366EB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80369F58 00366EB8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80369F5C 00366EBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80369F60 00366EC0 BF 41 00 08 */ stmw r26, 8(r1) +/* 80369F64 00366EC4 7C DD 33 78 */ mr r29, r6 +/* 80369F68 00366EC8 7C 7A 1B 78 */ mr r26, r3 +/* 80369F6C 00366ECC 1F FD 00 30 */ mulli r31, r29, 0x30 +/* 80369F70 00366ED0 FF E0 08 90 */ fmr f31, f1 +/* 80369F74 00366ED4 7C 9B 23 78 */ mr r27, r4 +/* 80369F78 00366ED8 7C BC 2B 78 */ mr r28, r5 +/* 80369F7C 00366EDC 7F DA FA 14 */ add r30, r26, r31 +/* 80369F80 00366EE0 7F C3 F3 78 */ mr r3, r30 +/* 80369F84 00366EE4 4B FF F3 9D */ bl GetFreeChannel__12CRumbleVoiceCFv +/* 80369F88 00366EE8 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 80369F8C 00366EEC 7C 65 1B 78 */ mr r5, r3 +/* 80369F90 00366EF0 1C 60 00 24 */ mulli r3, r0, 0x24 +/* 80369F94 00366EF4 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 80369F98 00366EF8 38 03 00 1C */ addi r0, r3, 0x1c +/* 80369F9C 00366EFC 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80369FA0 00366F00 7C 1C 00 00 */ cmpw r28, r0 +/* 80369FA4 00366F04 41 80 00 30 */ blt lbl_80369FD4 +/* 80369FA8 00366F08 57 A0 10 3A */ slwi r0, r29, 2 +/* 80369FAC 00366F0C C0 02 CD F0 */ lfs f0, lbl_805AEB10@sda21(r2) +/* 80369FB0 00366F10 7C DA 02 14 */ add r6, r26, r0 +/* 80369FB4 00366F14 FC 20 F8 90 */ fmr f1, f31 +/* 80369FB8 00366F18 D0 06 00 C0 */ stfs f0, 0xc0(r6) +/* 80369FBC 00366F1C 7F C3 F3 78 */ mr r3, r30 +/* 80369FC0 00366F20 7F 64 DB 78 */ mr r4, r27 +/* 80369FC4 00366F24 D0 06 00 D0 */ stfs f0, 0xd0(r6) +/* 80369FC8 00366F28 7F 86 E3 78 */ mr r6, r28 +/* 80369FCC 00366F2C 4B FF F8 41 */ bl Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority +/* 80369FD0 00366F30 48 00 00 08 */ b lbl_80369FD8 +lbl_80369FD4: +/* 80369FD4 00366F34 38 60 FF FF */ li r3, -1 +lbl_80369FD8: +/* 80369FD8 00366F38 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80369FDC 00366F3C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80369FE0 00366F40 BB 41 00 08 */ lmw r26, 8(r1) +/* 80369FE4 00366F44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80369FE8 00366F48 7C 08 03 A6 */ mtlr r0 +/* 80369FEC 00366F4C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80369FF0 00366F50 4E 80 00 20 */ blr + +.global __dt__16CRumbleGeneratorFv +__dt__16CRumbleGeneratorFv: +/* 80369FF4 00366F54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369FF8 00366F58 7C 08 02 A6 */ mflr r0 +/* 80369FFC 00366F5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A000 00366F60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A004 00366F64 7C 9F 23 78 */ mr r31, r4 +/* 8036A008 00366F68 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A00C 00366F6C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036A010 00366F70 41 82 00 30 */ beq lbl_8036A040 +/* 8036A014 00366F74 4B FF FD 39 */ bl HardStopAll__16CRumbleGeneratorFv +/* 8036A018 00366F78 3C 80 80 37 */ lis r4, __dt__12CRumbleVoiceFv@ha +/* 8036A01C 00366F7C 7F C3 F3 78 */ mr r3, r30 +/* 8036A020 00366F80 38 84 A0 5C */ addi r4, r4, __dt__12CRumbleVoiceFv@l +/* 8036A024 00366F84 38 A0 00 30 */ li r5, 0x30 +/* 8036A028 00366F88 38 C0 00 04 */ li r6, 4 +/* 8036A02C 00366F8C 48 01 F6 A9 */ bl __destroy_arr +/* 8036A030 00366F90 7F E0 07 35 */ extsh. r0, r31 +/* 8036A034 00366F94 40 81 00 0C */ ble lbl_8036A040 +/* 8036A038 00366F98 7F C3 F3 78 */ mr r3, r30 +/* 8036A03C 00366F9C 4B FA B8 F5 */ bl Free__7CMemoryFPCv +lbl_8036A040: +/* 8036A040 00366FA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A044 00366FA4 7F C3 F3 78 */ mr r3, r30 +/* 8036A048 00366FA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A04C 00366FAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036A050 00366FB0 7C 08 03 A6 */ mtlr r0 +/* 8036A054 00366FB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A058 00366FB8 4E 80 00 20 */ blr + +.global __dt__12CRumbleVoiceFv +__dt__12CRumbleVoiceFv: +/* 8036A05C 00366FBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036A060 00366FC0 7C 08 02 A6 */ mflr r0 +/* 8036A064 00366FC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036A068 00366FC8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036A06C 00366FCC 7C 9F 23 78 */ mr r31, r4 +/* 8036A070 00366FD0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036A074 00366FD4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036A078 00366FD8 41 82 01 00 */ beq lbl_8036A178 +/* 8036A07C 00366FDC 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8036A080 00366FE0 41 82 00 58 */ beq lbl_8036A0D8 +/* 8036A084 00366FE4 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 8036A088 00366FE8 38 60 00 00 */ li r3, 0 +/* 8036A08C 00366FEC 2C 05 00 00 */ cmpwi r5, 0 +/* 8036A090 00366FF0 40 81 00 40 */ ble lbl_8036A0D0 +/* 8036A094 00366FF4 2C 05 00 08 */ cmpwi r5, 8 +/* 8036A098 00366FF8 38 85 FF F8 */ addi r4, r5, -8 +/* 8036A09C 00366FFC 40 81 00 20 */ ble lbl_8036A0BC +/* 8036A0A0 00367000 38 04 00 07 */ addi r0, r4, 7 +/* 8036A0A4 00367004 54 00 E8 FE */ srwi r0, r0, 3 +/* 8036A0A8 00367008 7C 09 03 A6 */ mtctr r0 +/* 8036A0AC 0036700C 2C 04 00 00 */ cmpwi r4, 0 +/* 8036A0B0 00367010 40 81 00 0C */ ble lbl_8036A0BC +lbl_8036A0B4: +/* 8036A0B4 00367014 38 63 00 08 */ addi r3, r3, 8 +/* 8036A0B8 00367018 42 00 FF FC */ bdnz lbl_8036A0B4 +lbl_8036A0BC: +/* 8036A0BC 0036701C 7C 03 28 50 */ subf r0, r3, r5 +/* 8036A0C0 00367020 7C 09 03 A6 */ mtctr r0 +/* 8036A0C4 00367024 7C 03 28 00 */ cmpw r3, r5 +/* 8036A0C8 00367028 40 80 00 08 */ bge lbl_8036A0D0 +lbl_8036A0CC: +/* 8036A0CC 0036702C 42 00 00 00 */ bdnz lbl_8036A0CC +lbl_8036A0D0: +/* 8036A0D0 00367030 38 00 00 00 */ li r0, 0 +/* 8036A0D4 00367034 90 1E 00 20 */ stw r0, 0x20(r30) +lbl_8036A0D8: +/* 8036A0D8 00367038 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8036A0DC 0036703C 41 82 00 44 */ beq lbl_8036A120 +/* 8036A0E0 00367040 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8036A0E4 00367044 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8036A0E8 00367048 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8036A0EC 0036704C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8036A0F0 00367050 7C 64 1B 78 */ mr r4, r3 +/* 8036A0F4 00367054 7C 03 02 14 */ add r0, r3, r0 +/* 8036A0F8 00367058 90 61 00 18 */ stw r3, 0x18(r1) +/* 8036A0FC 0036705C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036A100 00367060 90 01 00 20 */ stw r0, 0x20(r1) +/* 8036A104 00367064 48 00 00 08 */ b lbl_8036A10C +lbl_8036A108: +/* 8036A108 00367068 38 84 00 24 */ addi r4, r4, 0x24 +lbl_8036A10C: +/* 8036A10C 0036706C 7C 04 00 40 */ cmplw r4, r0 +/* 8036A110 00367070 40 82 FF F8 */ bne lbl_8036A108 +/* 8036A114 00367074 28 03 00 00 */ cmplwi r3, 0 +/* 8036A118 00367078 41 82 00 08 */ beq lbl_8036A120 +/* 8036A11C 0036707C 4B FA B8 15 */ bl Free__7CMemoryFPCv +lbl_8036A120: +/* 8036A120 00367080 28 1E 00 00 */ cmplwi r30, 0 +/* 8036A124 00367084 41 82 00 44 */ beq lbl_8036A168 +/* 8036A128 00367088 80 1E 00 04 */ lwz r0, 4(r30) +/* 8036A12C 0036708C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8036A130 00367090 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8036A134 00367094 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036A138 00367098 7C 64 1B 78 */ mr r4, r3 +/* 8036A13C 0036709C 7C 03 02 14 */ add r0, r3, r0 +/* 8036A140 003670A0 90 61 00 08 */ stw r3, 8(r1) +/* 8036A144 003670A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A148 003670A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036A14C 003670AC 48 00 00 08 */ b lbl_8036A154 +lbl_8036A150: +/* 8036A150 003670B0 38 84 00 1C */ addi r4, r4, 0x1c +lbl_8036A154: +/* 8036A154 003670B4 7C 04 00 40 */ cmplw r4, r0 +/* 8036A158 003670B8 40 82 FF F8 */ bne lbl_8036A150 +/* 8036A15C 003670BC 28 03 00 00 */ cmplwi r3, 0 +/* 8036A160 003670C0 41 82 00 08 */ beq lbl_8036A168 +/* 8036A164 003670C4 4B FA B7 CD */ bl Free__7CMemoryFPCv +lbl_8036A168: +/* 8036A168 003670C8 7F E0 07 35 */ extsh. r0, r31 +/* 8036A16C 003670CC 40 81 00 0C */ ble lbl_8036A178 +/* 8036A170 003670D0 7F C3 F3 78 */ mr r3, r30 +/* 8036A174 003670D4 4B FA B7 BD */ bl Free__7CMemoryFPCv +lbl_8036A178: +/* 8036A178 003670D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036A17C 003670DC 7F C3 F3 78 */ mr r3, r30 +/* 8036A180 003670E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036A184 003670E4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036A188 003670E8 7C 08 03 A6 */ mtlr r0 +/* 8036A18C 003670EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036A190 003670F0 4E 80 00 20 */ blr + +.global __ct__16CRumbleGeneratorFv +__ct__16CRumbleGeneratorFv: +/* 8036A194 003670F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A198 003670F8 7C 08 02 A6 */ mflr r0 +/* 8036A19C 003670FC 3C 80 80 37 */ lis r4, __ct__12CRumbleVoiceFv@ha +/* 8036A1A0 00367100 3C A0 80 37 */ lis r5, __dt__12CRumbleVoiceFv@ha +/* 8036A1A4 00367104 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A1A8 00367108 38 84 99 78 */ addi r4, r4, __ct__12CRumbleVoiceFv@l +/* 8036A1AC 0036710C 38 A5 A0 5C */ addi r5, r5, __dt__12CRumbleVoiceFv@l +/* 8036A1B0 00367110 38 C0 00 30 */ li r6, 0x30 +/* 8036A1B4 00367114 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A1B8 00367118 7C 7F 1B 78 */ mr r31, r3 +/* 8036A1BC 0036711C 38 E0 00 04 */ li r7, 4 +/* 8036A1C0 00367120 48 01 F5 8D */ bl __construct_array +/* 8036A1C4 00367124 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 8036A1C8 00367128 38 60 00 00 */ li r3, 0 +/* 8036A1CC 0036712C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8036A1D0 00367130 7F E3 FB 78 */ mr r3, r31 +/* 8036A1D4 00367134 98 1F 00 F0 */ stb r0, 0xf0(r31) +/* 8036A1D8 00367138 4B FF FB 75 */ bl HardStopAll__16CRumbleGeneratorFv +/* 8036A1DC 0036713C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A1E0 00367140 7F E3 FB 78 */ mr r3, r31 +/* 8036A1E4 00367144 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A1E8 00367148 7C 08 03 A6 */ mtlr r0 +/* 8036A1EC 0036714C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A1F0 00367150 4E 80 00 20 */ blr + +.global ReadCompleted__10SDSPStreamFiP11DVDFileInfo +ReadCompleted__10SDSPStreamFiP11DVDFileInfo: +/* 8036A1F4 00367154 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A1F8 00367158 7C 08 02 A6 */ mflr r0 +/* 8036A1FC 0036715C 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A200 00367160 38 A0 00 00 */ li r5, 0 +/* 8036A204 00367164 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A208 00367168 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036A20C 0036716C 38 03 00 50 */ addi r0, r3, 0x50 +/* 8036A210 00367170 7C 00 20 40 */ cmplw r0, r4 +/* 8036A214 00367174 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A218 00367178 41 82 00 74 */ beq lbl_8036A28C +/* 8036A21C 0036717C 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A220 00367180 7C 00 20 40 */ cmplw r0, r4 +/* 8036A224 00367184 41 82 00 68 */ beq lbl_8036A28C +/* 8036A228 00367188 38 63 00 F4 */ addi r3, r3, 0xf4 +/* 8036A22C 0036718C 38 A0 00 01 */ li r5, 1 +/* 8036A230 00367190 38 03 00 50 */ addi r0, r3, 0x50 +/* 8036A234 00367194 7C 00 20 40 */ cmplw r0, r4 +/* 8036A238 00367198 41 82 00 54 */ beq lbl_8036A28C +/* 8036A23C 0036719C 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A240 003671A0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A244 003671A4 41 82 00 48 */ beq lbl_8036A28C +/* 8036A248 003671A8 38 03 01 44 */ addi r0, r3, 0x144 +/* 8036A24C 003671AC 38 A0 00 02 */ li r5, 2 +/* 8036A250 003671B0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A254 003671B4 38 63 00 F4 */ addi r3, r3, 0xf4 +/* 8036A258 003671B8 41 82 00 34 */ beq lbl_8036A28C +/* 8036A25C 003671BC 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A260 003671C0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A264 003671C4 41 82 00 28 */ beq lbl_8036A28C +/* 8036A268 003671C8 38 03 01 44 */ addi r0, r3, 0x144 +/* 8036A26C 003671CC 38 A0 00 03 */ li r5, 3 +/* 8036A270 003671D0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A274 003671D4 38 63 00 F4 */ addi r3, r3, 0xf4 +/* 8036A278 003671D8 41 82 00 14 */ beq lbl_8036A28C +/* 8036A27C 003671DC 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A280 003671E0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A284 003671E4 41 82 00 08 */ beq lbl_8036A28C +/* 8036A288 003671E8 38 A0 00 04 */ li r5, 4 +lbl_8036A28C: +/* 8036A28C 003671EC 1C A5 00 F4 */ mulli r5, r5, 0xf4 +/* 8036A290 003671F0 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A294 003671F4 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036A298 003671F8 7F E0 2A 14 */ add r31, r0, r5 +/* 8036A29C 003671FC 88 7F 00 EC */ lbz r3, 0xec(r31) +/* 8036A2A0 00367200 38 03 FF FF */ addi r0, r3, -1 +/* 8036A2A4 00367204 98 1F 00 EC */ stb r0, 0xec(r31) +/* 8036A2A8 00367208 88 1F 00 EC */ lbz r0, 0xec(r31) +/* 8036A2AC 0036720C 28 00 00 00 */ cmplwi r0, 0 +/* 8036A2B0 00367210 40 82 01 94 */ bne lbl_8036A444 +/* 8036A2B4 00367214 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8036A2B8 00367218 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A2BC 0036721C 41 82 00 20 */ beq lbl_8036A2DC +/* 8036A2C0 00367220 38 00 00 00 */ li r0, 0 +/* 8036A2C4 00367224 7F E3 FB 78 */ mr r3, r31 +/* 8036A2C8 00367228 90 1F 00 F0 */ stw r0, 0xf0(r31) +/* 8036A2CC 0036722C 48 00 0F 6D */ bl CloseFiles__10SDSPStreamFv +/* 8036A2D0 00367230 7F E3 FB 78 */ mr r3, r31 +/* 8036A2D4 00367234 48 00 09 39 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A2D8 00367238 48 00 01 6C */ b lbl_8036A444 +lbl_8036A2DC: +/* 8036A2DC 0036723C 7C 83 23 78 */ mr r3, r4 +/* 8036A2E0 00367240 48 00 9E 25 */ bl DVDGetCommandBlockStatus +/* 8036A2E4 00367244 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A2E8 00367248 40 82 01 10 */ bne lbl_8036A3F8 +/* 8036A2EC 0036724C 88 1F 00 00 */ lbz r0, 0(r31) +/* 8036A2F0 00367250 2C 00 00 03 */ cmpwi r0, 3 +/* 8036A2F4 00367254 41 82 01 50 */ beq lbl_8036A444 +/* 8036A2F8 00367258 40 80 00 10 */ bge lbl_8036A308 +/* 8036A2FC 0036725C 2C 00 00 02 */ cmpwi r0, 2 +/* 8036A300 00367260 40 80 00 14 */ bge lbl_8036A314 +/* 8036A304 00367264 48 00 01 40 */ b lbl_8036A444 +lbl_8036A308: +/* 8036A308 00367268 2C 00 00 05 */ cmpwi r0, 5 +/* 8036A30C 0036726C 40 80 01 38 */ bge lbl_8036A444 +/* 8036A310 00367270 48 00 00 B0 */ b lbl_8036A3C0 +lbl_8036A314: +/* 8036A314 00367274 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036A318 00367278 28 03 00 00 */ cmplwi r3, 0 +/* 8036A31C 0036727C 41 82 00 30 */ beq lbl_8036A34C +/* 8036A320 00367280 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A324 00367284 28 00 00 03 */ cmplwi r0, 3 +/* 8036A328 00367288 41 82 00 10 */ beq lbl_8036A338 +/* 8036A32C 0036728C 38 00 00 03 */ li r0, 3 +/* 8036A330 00367290 98 1F 00 00 */ stb r0, 0(r31) +/* 8036A334 00367294 48 00 01 10 */ b lbl_8036A444 +lbl_8036A338: +/* 8036A338 00367298 48 00 01 21 */ bl InitializeStream__10SDSPStreamFv +/* 8036A33C 0036729C 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A340 003672A0 40 82 00 0C */ bne lbl_8036A34C +/* 8036A344 003672A4 38 00 00 00 */ li r0, 0 +/* 8036A348 003672A8 90 1F 00 08 */ stw r0, 8(r31) +lbl_8036A34C: +/* 8036A34C 003672AC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036A350 003672B0 28 03 00 00 */ cmplwi r3, 0 +/* 8036A354 003672B4 41 82 00 30 */ beq lbl_8036A384 +/* 8036A358 003672B8 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A35C 003672BC 28 00 00 03 */ cmplwi r0, 3 +/* 8036A360 003672C0 41 82 00 10 */ beq lbl_8036A370 +/* 8036A364 003672C4 38 00 00 03 */ li r0, 3 +/* 8036A368 003672C8 98 1F 00 00 */ stb r0, 0(r31) +/* 8036A36C 003672CC 48 00 00 D8 */ b lbl_8036A444 +lbl_8036A370: +/* 8036A370 003672D0 48 00 00 E9 */ bl InitializeStream__10SDSPStreamFv +/* 8036A374 003672D4 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A378 003672D8 40 82 00 0C */ bne lbl_8036A384 +/* 8036A37C 003672DC 38 00 00 00 */ li r0, 0 +/* 8036A380 003672E0 90 1F 00 0C */ stw r0, 0xc(r31) +lbl_8036A384: +/* 8036A384 003672E4 7F E3 FB 78 */ mr r3, r31 +/* 8036A388 003672E8 48 00 00 D1 */ bl InitializeStream__10SDSPStreamFv +/* 8036A38C 003672EC 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A390 003672F0 40 82 00 B4 */ bne lbl_8036A444 +/* 8036A394 003672F4 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036A398 003672F8 28 03 00 00 */ cmplwi r3, 0 +/* 8036A39C 003672FC 41 82 00 0C */ beq lbl_8036A3A8 +/* 8036A3A0 00367300 38 00 00 00 */ li r0, 0 +/* 8036A3A4 00367304 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8036A3A8: +/* 8036A3A8 00367308 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036A3AC 0036730C 28 03 00 00 */ cmplwi r3, 0 +/* 8036A3B0 00367310 41 82 00 94 */ beq lbl_8036A444 +/* 8036A3B4 00367314 38 00 00 00 */ li r0, 0 +/* 8036A3B8 00367318 90 03 00 08 */ stw r0, 8(r3) +/* 8036A3BC 0036731C 48 00 00 88 */ b lbl_8036A444 +lbl_8036A3C0: +/* 8036A3C0 00367320 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 8036A3C4 00367324 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A3C8 00367328 28 00 00 00 */ cmplwi r0, 0 +/* 8036A3CC 0036732C 41 82 00 0C */ beq lbl_8036A3D8 +/* 8036A3D0 00367330 38 80 00 00 */ li r4, 0 +/* 8036A3D4 00367334 48 00 00 0C */ b lbl_8036A3E0 +lbl_8036A3D8: +/* 8036A3D8 00367338 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A3DC 0036733C 54 04 F8 7E */ srwi r4, r0, 1 +lbl_8036A3E0: +/* 8036A3E0 00367340 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A3E4 00367344 38 C0 00 00 */ li r6, 0 +/* 8036A3E8 00367348 38 E0 00 00 */ li r7, 0 +/* 8036A3EC 0036734C 54 05 F8 7E */ srwi r5, r0, 1 +/* 8036A3F0 00367350 48 03 30 51 */ bl sndStreamARAMUpdate +/* 8036A3F4 00367354 48 00 00 50 */ b lbl_8036A444 +lbl_8036A3F8: +/* 8036A3F8 00367358 88 1F 00 00 */ lbz r0, 0(r31) +/* 8036A3FC 0036735C 28 00 00 04 */ cmplwi r0, 4 +/* 8036A400 00367360 40 82 00 0C */ bne lbl_8036A40C +/* 8036A404 00367364 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A408 00367368 48 03 61 19 */ bl sndStreamDeactivate +lbl_8036A40C: +/* 8036A40C 0036736C 7F E3 FB 78 */ mr r3, r31 +/* 8036A410 00367370 48 00 0E 29 */ bl CloseFiles__10SDSPStreamFv +/* 8036A414 00367374 7F E3 FB 78 */ mr r3, r31 +/* 8036A418 00367378 48 00 07 F5 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A41C 0036737C 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036A420 00367380 28 03 00 00 */ cmplwi r3, 0 +/* 8036A424 00367384 41 82 00 0C */ beq lbl_8036A430 +/* 8036A428 00367388 38 00 00 00 */ li r0, 0 +/* 8036A42C 0036738C 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8036A430: +/* 8036A430 00367390 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036A434 00367394 28 03 00 00 */ cmplwi r3, 0 +/* 8036A438 00367398 41 82 00 0C */ beq lbl_8036A444 +/* 8036A43C 0036739C 38 00 00 00 */ li r0, 0 +/* 8036A440 003673A0 90 03 00 08 */ stw r0, 8(r3) +lbl_8036A444: +/* 8036A444 003673A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A448 003673A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A44C 003673AC 7C 08 03 A6 */ mtlr r0 +/* 8036A450 003673B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A454 003673B4 4E 80 00 20 */ blr + +.global InitializeStream__10SDSPStreamFv +InitializeStream__10SDSPStreamFv: +/* 8036A458 003673B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A45C 003673BC 7C 08 02 A6 */ mflr r0 +/* 8036A460 003673C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A464 003673C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A468 003673C8 7C 7F 1B 78 */ mr r31, r3 +/* 8036A46C 003673CC 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A470 003673D0 28 00 00 00 */ cmplwi r0, 0 +/* 8036A474 003673D4 40 82 00 0C */ bne lbl_8036A480 +/* 8036A478 003673D8 38 60 00 00 */ li r3, 0 +/* 8036A47C 003673DC 48 00 00 90 */ b lbl_8036A50C +lbl_8036A480: +/* 8036A480 003673E0 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A484 003673E4 38 C0 00 00 */ li r6, 0 +/* 8036A488 003673E8 88 9F 00 4C */ lbz r4, 0x4c(r31) +/* 8036A48C 003673EC 38 E0 00 00 */ li r7, 0 +/* 8036A490 003673F0 88 BF 00 4D */ lbz r5, 0x4d(r31) +/* 8036A494 003673F4 39 00 00 00 */ li r8, 0 +/* 8036A498 003673F8 48 03 47 99 */ bl sndStreamMixParameterEx +/* 8036A49C 003673FC 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4A0 00367400 A0 9F 00 14 */ lhz r4, 0x14(r31) +/* 8036A4A4 00367404 48 03 4C E9 */ bl sndStreamFrq +/* 8036A4A8 00367408 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4AC 0036740C 38 9F 00 2C */ addi r4, r31, 0x2c +/* 8036A4B0 00367410 48 03 3B 79 */ bl sndStreamADPCMParameter +/* 8036A4B4 00367414 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A4B8 00367418 38 80 00 00 */ li r4, 0 +/* 8036A4BC 0036741C 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4C0 00367420 38 C0 00 00 */ li r6, 0 +/* 8036A4C4 00367424 54 05 F8 7E */ srwi r5, r0, 1 +/* 8036A4C8 00367428 38 E0 00 00 */ li r7, 0 +/* 8036A4CC 0036742C 48 03 2F 75 */ bl sndStreamARAMUpdate +/* 8036A4D0 00367430 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4D4 00367434 48 03 59 F5 */ bl sndStreamActivate +/* 8036A4D8 00367438 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036A4DC 0036743C 41 82 00 1C */ beq lbl_8036A4F8 +/* 8036A4E0 00367440 38 00 00 04 */ li r0, 4 +/* 8036A4E4 00367444 7F E3 FB 78 */ mr r3, r31 +/* 8036A4E8 00367448 98 1F 00 00 */ stb r0, 0(r31) +/* 8036A4EC 0036744C 48 00 00 B9 */ bl BufferStream__10SDSPStreamFv +/* 8036A4F0 00367450 38 60 00 01 */ li r3, 1 +/* 8036A4F4 00367454 48 00 00 18 */ b lbl_8036A50C +lbl_8036A4F8: +/* 8036A4F8 00367458 7F E3 FB 78 */ mr r3, r31 +/* 8036A4FC 0036745C 48 00 07 11 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A500 00367460 7F E3 FB 78 */ mr r3, r31 +/* 8036A504 00367464 48 00 0D 35 */ bl CloseFiles__10SDSPStreamFv +/* 8036A508 00367468 38 60 00 00 */ li r3, 0 +lbl_8036A50C: +/* 8036A50C 0036746C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A510 00367470 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A514 00367474 7C 08 03 A6 */ mtlr r0 +/* 8036A518 00367478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A51C 0036747C 4E 80 00 20 */ blr + +.global UpdateStream__10SDSPStreamFPviPvii +UpdateStream__10SDSPStreamFPviPvii: +/* 8036A520 00367480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A524 00367484 7C 08 02 A6 */ mflr r0 +/* 8036A528 00367488 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A52C 0036748C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A530 00367490 7C FF 3B 78 */ mr r31, r7 +/* 8036A534 00367494 80 07 00 E8 */ lwz r0, 0xe8(r7) +/* 8036A538 00367498 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A53C 0036749C 41 82 00 14 */ beq lbl_8036A550 +/* 8036A540 003674A0 7F E3 FB 78 */ mr r3, r31 +/* 8036A544 003674A4 48 00 02 3D */ bl StopStream__10SDSPStreamFv +/* 8036A548 003674A8 38 60 00 00 */ li r3, 0 +/* 8036A54C 003674AC 48 00 00 44 */ b lbl_8036A590 +lbl_8036A550: +/* 8036A550 003674B0 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A554 003674B4 7C 64 32 14 */ add r3, r4, r6 +/* 8036A558 003674B8 54 00 F8 7E */ srwi r0, r0, 1 +/* 8036A55C 003674BC 7C 03 00 40 */ cmplw r3, r0 +/* 8036A560 003674C0 40 80 00 0C */ bge lbl_8036A56C +/* 8036A564 003674C4 38 60 00 00 */ li r3, 0 +/* 8036A568 003674C8 48 00 00 28 */ b lbl_8036A590 +lbl_8036A56C: +/* 8036A56C 003674CC 88 1F 00 EC */ lbz r0, 0xec(r31) +/* 8036A570 003674D0 28 00 00 00 */ cmplwi r0, 0 +/* 8036A574 003674D4 40 82 00 18 */ bne lbl_8036A58C +/* 8036A578 003674D8 7F E3 FB 78 */ mr r3, r31 +/* 8036A57C 003674DC 48 00 00 29 */ bl BufferStream__10SDSPStreamFv +/* 8036A580 003674E0 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A584 003674E4 54 03 F8 7E */ srwi r3, r0, 1 +/* 8036A588 003674E8 48 00 00 08 */ b lbl_8036A590 +lbl_8036A58C: +/* 8036A58C 003674EC 38 60 00 00 */ li r3, 0 +lbl_8036A590: +/* 8036A590 003674F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A594 003674F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A598 003674F8 7C 08 03 A6 */ mtlr r0 +/* 8036A59C 003674FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A5A0 00367500 4E 80 00 20 */ blr + +.global BufferStream__10SDSPStreamFv +BufferStream__10SDSPStreamFv: +/* 8036A5A4 00367504 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036A5A8 00367508 7C 08 02 A6 */ mflr r0 +/* 8036A5AC 0036750C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036A5B0 00367510 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8036A5B4 00367514 7C 7B 1B 78 */ mr r27, r3 +/* 8036A5B8 00367518 3B A0 00 00 */ li r29, 0 +/* 8036A5BC 0036751C 88 03 00 E0 */ lbz r0, 0xe0(r3) +/* 8036A5C0 00367520 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 8036A5C4 00367524 28 00 00 00 */ cmplwi r0, 0 +/* 8036A5C8 00367528 54 65 F8 7E */ srwi r5, r3, 1 +/* 8036A5CC 0036752C 7C BE 2B 78 */ mr r30, r5 +/* 8036A5D0 00367530 41 82 00 10 */ beq lbl_8036A5E0 +/* 8036A5D4 00367534 80 1B 00 D4 */ lwz r0, 0xd4(r27) +/* 8036A5D8 00367538 7F E0 2A 14 */ add r31, r0, r5 +/* 8036A5DC 0036753C 48 00 00 08 */ b lbl_8036A5E4 +lbl_8036A5E0: +/* 8036A5E0 00367540 83 FB 00 D4 */ lwz r31, 0xd4(r27) +lbl_8036A5E4: +/* 8036A5E4 00367544 88 9B 00 20 */ lbz r4, 0x20(r27) +/* 8036A5E8 00367548 28 04 00 00 */ cmplwi r4, 0 +/* 8036A5EC 0036754C 41 82 00 0C */ beq lbl_8036A5F8 +/* 8036A5F0 00367550 80 DB 00 28 */ lwz r6, 0x28(r27) +/* 8036A5F4 00367554 48 00 00 08 */ b lbl_8036A5FC +lbl_8036A5F8: +/* 8036A5F8 00367558 80 DB 00 D0 */ lwz r6, 0xd0(r27) +lbl_8036A5FC: +/* 8036A5FC 0036755C 80 7B 00 CC */ lwz r3, 0xcc(r27) +/* 8036A600 00367560 7C 03 F2 14 */ add r0, r3, r30 +/* 8036A604 00367564 7C 00 30 40 */ cmplw r0, r6 +/* 8036A608 00367568 40 81 00 8C */ ble lbl_8036A694 +/* 8036A60C 0036756C 7C 06 18 40 */ cmplw r6, r3 +/* 8036A610 00367570 40 81 00 2C */ ble lbl_8036A63C +/* 8036A614 00367574 28 04 00 00 */ cmplwi r4, 0 +/* 8036A618 00367578 7F C3 30 50 */ subf r30, r3, r6 +/* 8036A61C 0036757C 41 82 00 0C */ beq lbl_8036A628 +/* 8036A620 00367580 7F BE 28 50 */ subf r29, r30, r5 +/* 8036A624 00367584 48 00 00 70 */ b lbl_8036A694 +lbl_8036A628: +/* 8036A628 00367588 7C 7F F2 14 */ add r3, r31, r30 +/* 8036A62C 0036758C 7C BE 28 50 */ subf r5, r30, r5 +/* 8036A630 00367590 38 80 00 00 */ li r4, 0 +/* 8036A634 00367594 4B C9 8D 75 */ bl memset +/* 8036A638 00367598 48 00 00 5C */ b lbl_8036A694 +lbl_8036A63C: +/* 8036A63C 0036759C 28 04 00 00 */ cmplwi r4, 0 +/* 8036A640 003675A0 41 82 00 10 */ beq lbl_8036A650 +/* 8036A644 003675A4 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 8036A648 003675A8 90 1B 00 CC */ stw r0, 0xcc(r27) +/* 8036A64C 003675AC 48 00 00 48 */ b lbl_8036A694 +lbl_8036A650: +/* 8036A650 003675B0 7F E3 FB 78 */ mr r3, r31 +/* 8036A654 003675B4 38 80 00 00 */ li r4, 0 +/* 8036A658 003675B8 4B C9 8D 51 */ bl memset +/* 8036A65C 003675BC 88 1B 00 E0 */ lbz r0, 0xe0(r27) +/* 8036A660 003675C0 80 7B 00 C8 */ lwz r3, 0xc8(r27) +/* 8036A664 003675C4 28 00 00 00 */ cmplwi r0, 0 +/* 8036A668 003675C8 41 82 00 10 */ beq lbl_8036A678 +/* 8036A66C 003675CC 80 1B 00 DC */ lwz r0, 0xdc(r27) +/* 8036A670 003675D0 54 04 F8 7E */ srwi r4, r0, 1 +/* 8036A674 003675D4 48 00 00 08 */ b lbl_8036A67C +lbl_8036A678: +/* 8036A678 003675D8 38 80 00 00 */ li r4, 0 +lbl_8036A67C: +/* 8036A67C 003675DC 80 1B 00 DC */ lwz r0, 0xdc(r27) +/* 8036A680 003675E0 38 C0 00 00 */ li r6, 0 +/* 8036A684 003675E4 38 E0 00 00 */ li r7, 0 +/* 8036A688 003675E8 54 05 F8 7E */ srwi r5, r0, 1 +/* 8036A68C 003675EC 48 03 2D B5 */ bl sndStreamARAMUpdate +/* 8036A690 003675F0 3B C0 00 00 */ li r30, 0 +lbl_8036A694: +/* 8036A694 003675F4 48 01 6F CD */ bl OSDisableInterrupts +/* 8036A698 003675F8 28 1E 00 00 */ cmplwi r30, 0 +/* 8036A69C 003675FC 7C 7C 1B 78 */ mr r28, r3 +/* 8036A6A0 00367600 41 82 00 98 */ beq lbl_8036A738 +/* 8036A6A4 00367604 88 1B 00 EC */ lbz r0, 0xec(r27) +/* 8036A6A8 00367608 28 00 00 00 */ cmplwi r0, 0 +/* 8036A6AC 0036760C 40 82 00 AC */ bne lbl_8036A758 +/* 8036A6B0 00367610 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 8036A6B4 00367614 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036A6B8 00367618 80 1B 00 CC */ lwz r0, 0xcc(r27) +/* 8036A6BC 0036761C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036A6C0 00367620 7F E4 FB 78 */ mr r4, r31 +/* 8036A6C4 00367624 7F C5 F3 78 */ mr r5, r30 +/* 8036A6C8 00367628 38 7B 00 50 */ addi r3, r27, 0x50 +/* 8036A6CC 0036762C 7C C6 02 14 */ add r6, r6, r0 +/* 8036A6D0 00367630 39 00 00 01 */ li r8, 1 +/* 8036A6D4 00367634 48 00 72 C1 */ bl DVDReadAsyncPrio +/* 8036A6D8 00367638 28 1D 00 00 */ cmplwi r29, 0 +/* 8036A6DC 0036763C 41 82 00 44 */ beq lbl_8036A720 +/* 8036A6E0 00367640 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 8036A6E4 00367644 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036A6E8 00367648 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 8036A6EC 0036764C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036A6F0 00367650 7F A5 EB 78 */ mr r5, r29 +/* 8036A6F4 00367654 38 7B 00 8C */ addi r3, r27, 0x8c +/* 8036A6F8 00367658 7C 9F F2 14 */ add r4, r31, r30 +/* 8036A6FC 0036765C 7C C6 02 14 */ add r6, r6, r0 +/* 8036A700 00367660 39 00 00 01 */ li r8, 1 +/* 8036A704 00367664 48 00 72 91 */ bl DVDReadAsyncPrio +/* 8036A708 00367668 38 00 00 02 */ li r0, 2 +/* 8036A70C 0036766C 98 1B 00 EC */ stb r0, 0xec(r27) +/* 8036A710 00367670 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 8036A714 00367674 7C 1D 02 14 */ add r0, r29, r0 +/* 8036A718 00367678 90 1B 00 CC */ stw r0, 0xcc(r27) +/* 8036A71C 0036767C 48 00 00 3C */ b lbl_8036A758 +lbl_8036A720: +/* 8036A720 00367680 38 00 00 01 */ li r0, 1 +/* 8036A724 00367684 98 1B 00 EC */ stb r0, 0xec(r27) +/* 8036A728 00367688 80 1B 00 CC */ lwz r0, 0xcc(r27) +/* 8036A72C 0036768C 7C 00 F2 14 */ add r0, r0, r30 +/* 8036A730 00367690 90 1B 00 CC */ stw r0, 0xcc(r27) +/* 8036A734 00367694 48 00 00 24 */ b lbl_8036A758 +lbl_8036A738: +/* 8036A738 00367698 80 1B 00 E4 */ lwz r0, 0xe4(r27) +/* 8036A73C 0036769C 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A740 003676A0 41 82 00 10 */ beq lbl_8036A750 +/* 8036A744 003676A4 38 00 00 00 */ li r0, 0 +/* 8036A748 003676A8 90 1B 00 E4 */ stw r0, 0xe4(r27) +/* 8036A74C 003676AC 48 00 00 0C */ b lbl_8036A758 +lbl_8036A750: +/* 8036A750 003676B0 7F 63 DB 78 */ mr r3, r27 +/* 8036A754 003676B4 48 00 00 2D */ bl StopStream__10SDSPStreamFv +lbl_8036A758: +/* 8036A758 003676B8 88 1B 00 E0 */ lbz r0, 0xe0(r27) +/* 8036A75C 003676BC 7F 83 E3 78 */ mr r3, r28 +/* 8036A760 003676C0 68 00 00 01 */ xori r0, r0, 1 +/* 8036A764 003676C4 98 1B 00 E0 */ stb r0, 0xe0(r27) +/* 8036A768 003676C8 48 01 6F 21 */ bl OSRestoreInterrupts +/* 8036A76C 003676CC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8036A770 003676D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036A774 003676D4 7C 08 03 A6 */ mtlr r0 +/* 8036A778 003676D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036A77C 003676DC 4E 80 00 20 */ blr + +.global StopStream__10SDSPStreamFv +StopStream__10SDSPStreamFv: +/* 8036A780 003676E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A784 003676E4 7C 08 02 A6 */ mflr r0 +/* 8036A788 003676E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A78C 003676EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A790 003676F0 7C 7F 1B 78 */ mr r31, r3 +/* 8036A794 003676F4 88 03 00 EC */ lbz r0, 0xec(r3) +/* 8036A798 003676F8 28 00 00 00 */ cmplwi r0, 0 +/* 8036A79C 003676FC 40 82 00 14 */ bne lbl_8036A7B0 +/* 8036A7A0 00367700 48 00 0A 99 */ bl CloseFiles__10SDSPStreamFv +/* 8036A7A4 00367704 7F E3 FB 78 */ mr r3, r31 +/* 8036A7A8 00367708 48 00 04 65 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A7AC 0036770C 48 00 00 0C */ b lbl_8036A7B8 +lbl_8036A7B0: +/* 8036A7B0 00367710 38 00 00 01 */ li r0, 1 +/* 8036A7B4 00367714 90 1F 00 F0 */ stw r0, 0xf0(r31) +lbl_8036A7B8: +/* 8036A7B8 00367718 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A7BC 0036771C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A7C0 00367720 7C 08 03 A6 */ mtlr r0 +/* 8036A7C4 00367724 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A7C8 00367728 4E 80 00 20 */ blr + +.global IsStreamAvailable__10SDSPStreamFi +IsStreamAvailable__10SDSPStreamFi: +/* 8036A7CC 0036772C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A7D0 00367730 7C 08 02 A6 */ mflr r0 +/* 8036A7D4 00367734 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A7D8 00367738 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A7DC 0036773C 3B E0 00 00 */ li r31, 0 +/* 8036A7E0 00367740 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A7E4 00367744 7C 7E 1B 78 */ mr r30, r3 +/* 8036A7E8 00367748 48 01 6E 79 */ bl OSDisableInterrupts +/* 8036A7EC 0036774C 7C 60 1B 78 */ mr r0, r3 +/* 8036A7F0 00367750 7F C3 F3 78 */ mr r3, r30 +/* 8036A7F4 00367754 7C 1E 03 78 */ mr r30, r0 +/* 8036A7F8 00367758 48 00 08 89 */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A7FC 0036775C 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A800 00367760 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A804 00367764 41 82 00 20 */ beq lbl_8036A824 +/* 8036A808 00367768 1C 03 00 F4 */ mulli r0, r3, 0xf4 +/* 8036A80C 0036776C 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A810 00367770 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036A814 00367774 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8036A818 00367778 20 00 00 04 */ subfic r0, r0, 4 +/* 8036A81C 0036777C 7C 00 00 34 */ cntlzw r0, r0 +/* 8036A820 00367780 54 1F D9 7E */ srwi r31, r0, 5 +lbl_8036A824: +/* 8036A824 00367784 7F C3 F3 78 */ mr r3, r30 +/* 8036A828 00367788 48 01 6E 61 */ bl OSRestoreInterrupts +/* 8036A82C 0036778C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A830 00367790 7F E3 FB 78 */ mr r3, r31 +/* 8036A834 00367794 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A838 00367798 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036A83C 0036779C 7C 08 03 A6 */ mtlr r0 +/* 8036A840 003677A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A844 003677A4 4E 80 00 20 */ blr + +.global IsStreamActive__10SDSPStreamFi +IsStreamActive__10SDSPStreamFi: +/* 8036A848 003677A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A84C 003677AC 7C 08 02 A6 */ mflr r0 +/* 8036A850 003677B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A854 003677B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A858 003677B8 3B E0 00 00 */ li r31, 0 +/* 8036A85C 003677BC 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A860 003677C0 7C 7E 1B 78 */ mr r30, r3 +/* 8036A864 003677C4 48 01 6D FD */ bl OSDisableInterrupts +/* 8036A868 003677C8 7C 60 1B 78 */ mr r0, r3 +/* 8036A86C 003677CC 7F C3 F3 78 */ mr r3, r30 +/* 8036A870 003677D0 7C 1E 03 78 */ mr r30, r0 +/* 8036A874 003677D4 48 00 08 0D */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A878 003677D8 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A87C 003677DC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A880 003677E0 41 82 00 20 */ beq lbl_8036A8A0 +/* 8036A884 003677E4 1C 03 00 F4 */ mulli r0, r3, 0xf4 +/* 8036A888 003677E8 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A88C 003677EC 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036A890 003677F0 7C 63 00 AE */ lbzx r3, r3, r0 +/* 8036A894 003677F4 7C 03 00 D0 */ neg r0, r3 +/* 8036A898 003677F8 7C 00 1B 78 */ or r0, r0, r3 +/* 8036A89C 003677FC 54 1F 0F FE */ srwi r31, r0, 0x1f +lbl_8036A8A0: +/* 8036A8A0 00367800 7F C3 F3 78 */ mr r3, r30 +/* 8036A8A4 00367804 48 01 6D E5 */ bl OSRestoreInterrupts +/* 8036A8A8 00367808 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A8AC 0036780C 7F E3 FB 78 */ mr r3, r31 +/* 8036A8B0 00367810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A8B4 00367814 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036A8B8 00367818 7C 08 03 A6 */ mtlr r0 +/* 8036A8BC 0036781C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A8C0 00367820 4E 80 00 20 */ blr + +.global UpdateVolume__10SDSPStreamFi +UpdateVolume__10SDSPStreamFi: +/* 8036A8C4 00367824 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036A8C8 00367828 7C 08 02 A6 */ mflr r0 +/* 8036A8CC 0036782C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036A8D0 00367830 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036A8D4 00367834 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036A8D8 00367838 7C 7E 1B 78 */ mr r30, r3 +/* 8036A8DC 0036783C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036A8E0 00367840 7C 9D 23 78 */ mr r29, r4 +/* 8036A8E4 00367844 48 01 6D 7D */ bl OSDisableInterrupts +/* 8036A8E8 00367848 7C 60 1B 78 */ mr r0, r3 +/* 8036A8EC 0036784C 7F C3 F3 78 */ mr r3, r30 +/* 8036A8F0 00367850 7C 1F 03 78 */ mr r31, r0 +/* 8036A8F4 00367854 48 00 07 8D */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A8F8 00367858 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A8FC 0036785C 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A900 00367860 41 82 00 48 */ beq lbl_8036A948 +/* 8036A904 00367864 1C A3 00 F4 */ mulli r5, r3, 0xf4 +/* 8036A908 00367868 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A90C 0036786C 7F A4 EB 78 */ mr r4, r29 +/* 8036A910 00367870 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036A914 00367874 7F C0 2A 14 */ add r30, r0, r5 +/* 8036A918 00367878 7F C3 F3 78 */ mr r3, r30 +/* 8036A91C 0036787C 48 00 00 51 */ bl UpdateStreamVolume__10SDSPStreamFi +/* 8036A920 00367880 80 7E 00 08 */ lwz r3, 8(r30) +/* 8036A924 00367884 28 03 00 00 */ cmplwi r3, 0 +/* 8036A928 00367888 41 82 00 0C */ beq lbl_8036A934 +/* 8036A92C 0036788C 7F A4 EB 78 */ mr r4, r29 +/* 8036A930 00367890 48 00 00 3D */ bl UpdateStreamVolume__10SDSPStreamFi +lbl_8036A934: +/* 8036A934 00367894 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8036A938 00367898 28 03 00 00 */ cmplwi r3, 0 +/* 8036A93C 0036789C 41 82 00 0C */ beq lbl_8036A948 +/* 8036A940 003678A0 7F A4 EB 78 */ mr r4, r29 +/* 8036A944 003678A4 48 00 00 29 */ bl UpdateStreamVolume__10SDSPStreamFi +lbl_8036A948: +/* 8036A948 003678A8 7F E3 FB 78 */ mr r3, r31 +/* 8036A94C 003678AC 48 01 6D 3D */ bl OSRestoreInterrupts +/* 8036A950 003678B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036A954 003678B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036A958 003678B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036A95C 003678BC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036A960 003678C0 7C 08 03 A6 */ mtlr r0 +/* 8036A964 003678C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036A968 003678C8 4E 80 00 20 */ blr + +.global UpdateStreamVolume__10SDSPStreamFi +UpdateStreamVolume__10SDSPStreamFi: +/* 8036A96C 003678CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A970 003678D0 7C 08 02 A6 */ mflr r0 +/* 8036A974 003678D4 7C 65 1B 78 */ mr r5, r3 +/* 8036A978 003678D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A97C 003678DC 98 83 00 4C */ stb r4, 0x4c(r3) +/* 8036A980 003678E0 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A984 003678E4 28 00 00 00 */ cmplwi r0, 0 +/* 8036A988 003678E8 41 82 00 2C */ beq lbl_8036A9B4 +/* 8036A98C 003678EC 80 05 00 E8 */ lwz r0, 0xe8(r5) +/* 8036A990 003678F0 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A994 003678F4 40 82 00 20 */ bne lbl_8036A9B4 +/* 8036A998 003678F8 80 65 00 C8 */ lwz r3, 0xc8(r5) +/* 8036A99C 003678FC 38 C0 00 00 */ li r6, 0 +/* 8036A9A0 00367900 88 85 00 4C */ lbz r4, 0x4c(r5) +/* 8036A9A4 00367904 38 E0 00 00 */ li r7, 0 +/* 8036A9A8 00367908 88 A5 00 4D */ lbz r5, 0x4d(r5) +/* 8036A9AC 0036790C 39 00 00 00 */ li r8, 0 +/* 8036A9B0 00367910 48 03 42 81 */ bl sndStreamMixParameterEx +lbl_8036A9B4: +/* 8036A9B4 00367914 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A9B8 00367918 7C 08 03 A6 */ mtlr r0 +/* 8036A9BC 0036791C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A9C0 00367920 4E 80 00 20 */ blr + +.global Silence__10SDSPStreamFv +Silence__10SDSPStreamFv: +/* 8036A9C4 00367924 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A9C8 00367928 7C 08 02 A6 */ mflr r0 +/* 8036A9CC 0036792C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A9D0 00367930 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A9D4 00367934 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A9D8 00367938 7C 7E 1B 78 */ mr r30, r3 +/* 8036A9DC 0036793C 48 01 6C 85 */ bl OSDisableInterrupts +/* 8036A9E0 00367940 7C 60 1B 78 */ mr r0, r3 +/* 8036A9E4 00367944 7F C3 F3 78 */ mr r3, r30 +/* 8036A9E8 00367948 7C 1E 03 78 */ mr r30, r0 +/* 8036A9EC 0036794C 48 00 06 95 */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A9F0 00367950 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A9F4 00367954 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A9F8 00367958 41 82 00 50 */ beq lbl_8036AA48 +/* 8036A9FC 0036795C 1F E3 00 F4 */ mulli r31, r3, 0xf4 +/* 8036AA00 00367960 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AA04 00367964 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036AA08 00367968 7C 60 FA 14 */ add r3, r0, r31 +/* 8036AA0C 0036796C 48 00 00 5D */ bl SilenceStream__10SDSPStreamFv +/* 8036AA10 00367970 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AA14 00367974 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036AA18 00367978 7C 60 FA 14 */ add r3, r0, r31 +/* 8036AA1C 0036797C 80 63 00 08 */ lwz r3, 8(r3) +/* 8036AA20 00367980 28 03 00 00 */ cmplwi r3, 0 +/* 8036AA24 00367984 41 82 00 08 */ beq lbl_8036AA2C +/* 8036AA28 00367988 48 00 00 41 */ bl SilenceStream__10SDSPStreamFv +lbl_8036AA2C: +/* 8036AA2C 0036798C 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AA30 00367990 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036AA34 00367994 7C 60 FA 14 */ add r3, r0, r31 +/* 8036AA38 00367998 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8036AA3C 0036799C 28 03 00 00 */ cmplwi r3, 0 +/* 8036AA40 003679A0 41 82 00 08 */ beq lbl_8036AA48 +/* 8036AA44 003679A4 48 00 00 25 */ bl SilenceStream__10SDSPStreamFv +lbl_8036AA48: +/* 8036AA48 003679A8 7F C3 F3 78 */ mr r3, r30 +/* 8036AA4C 003679AC 48 01 6C 3D */ bl OSRestoreInterrupts +/* 8036AA50 003679B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AA54 003679B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036AA58 003679B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036AA5C 003679BC 7C 08 03 A6 */ mtlr r0 +/* 8036AA60 003679C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036AA64 003679C4 4E 80 00 20 */ blr + +.global SilenceStream__10SDSPStreamFv +SilenceStream__10SDSPStreamFv: +/* 8036AA68 003679C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036AA6C 003679CC 7C 08 02 A6 */ mflr r0 +/* 8036AA70 003679D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036AA74 003679D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036AA78 003679D8 7C 7F 1B 78 */ mr r31, r3 +/* 8036AA7C 003679DC 88 03 00 00 */ lbz r0, 0(r3) +/* 8036AA80 003679E0 28 00 00 00 */ cmplwi r0, 0 +/* 8036AA84 003679E4 41 82 00 34 */ beq lbl_8036AAB8 +/* 8036AA88 003679E8 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 8036AA8C 003679EC 2C 00 00 00 */ cmpwi r0, 0 +/* 8036AA90 003679F0 40 82 00 28 */ bne lbl_8036AAB8 +/* 8036AA94 003679F4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AA98 003679F8 38 80 00 00 */ li r4, 0 +/* 8036AA9C 003679FC 88 BF 00 4D */ lbz r5, 0x4d(r31) +/* 8036AAA0 00367A00 38 C0 00 00 */ li r6, 0 +/* 8036AAA4 00367A04 38 E0 00 00 */ li r7, 0 +/* 8036AAA8 00367A08 39 00 00 00 */ li r8, 0 +/* 8036AAAC 00367A0C 48 03 41 85 */ bl sndStreamMixParameterEx +/* 8036AAB0 00367A10 38 00 00 01 */ li r0, 1 +/* 8036AAB4 00367A14 90 1F 00 E8 */ stw r0, 0xe8(r31) +lbl_8036AAB8: +/* 8036AAB8 00367A18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AABC 00367A1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036AAC0 00367A20 7C 08 03 A6 */ mtlr r0 +/* 8036AAC4 00367A24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036AAC8 00367A28 4E 80 00 20 */ blr + +.global AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci +AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci: +/* 8036AACC 00367A2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036AAD0 00367A30 7C 08 02 A6 */ mflr r0 +/* 8036AAD4 00367A34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036AAD8 00367A38 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8036AADC 00367A3C 7C 7E 1B 78 */ mr r30, r3 +/* 8036AAE0 00367A40 7C 9A 23 78 */ mr r26, r4 +/* 8036AAE4 00367A44 7C BB 2B 78 */ mr r27, r5 +/* 8036AAE8 00367A48 7C DD 33 78 */ mr r29, r6 +/* 8036AAEC 00367A4C 48 01 6B 75 */ bl OSDisableInterrupts +/* 8036AAF0 00367A50 7C 7C 1B 78 */ mr r28, r3 +/* 8036AAF4 00367A54 7F A4 EB 78 */ mr r4, r29 +/* 8036AAF8 00367A58 38 61 00 08 */ addi r3, r1, 8 +/* 8036AAFC 00367A5C 48 00 06 11 */ bl PickFreeStream__10SDSPStreamFi +/* 8036AB00 00367A60 7C 7F 1B 78 */ mr r31, r3 +/* 8036AB04 00367A64 3C 1F 00 01 */ addis r0, r31, 1 +/* 8036AB08 00367A68 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AB0C 00367A6C 41 82 00 E0 */ beq lbl_8036ABEC +/* 8036AB10 00367A70 38 61 00 0C */ addi r3, r1, 0xc +/* 8036AB14 00367A74 7F A4 EB 78 */ mr r4, r29 +/* 8036AB18 00367A78 48 00 05 F5 */ bl PickFreeStream__10SDSPStreamFi +/* 8036AB1C 00367A7C 3C 03 00 01 */ addis r0, r3, 1 +/* 8036AB20 00367A80 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AB24 00367A84 41 82 00 BC */ beq lbl_8036ABE0 +/* 8036AB28 00367A88 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8036AB2C 00367A8C 7F C4 F3 78 */ mr r4, r30 +/* 8036AB30 00367A90 80 61 00 08 */ lwz r3, 8(r1) +/* 8036AB34 00367A94 7F 65 DB 78 */ mr r5, r27 +/* 8036AB38 00367A98 38 C0 00 00 */ li r6, 0 +/* 8036AB3C 00367A9C 90 03 00 08 */ stw r0, 8(r3) +/* 8036AB40 00367AA0 80 01 00 08 */ lwz r0, 8(r1) +/* 8036AB44 00367AA4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036AB48 00367AA8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8036AB4C 00367AAC 80 61 00 08 */ lwz r3, 8(r1) +/* 8036AB50 00367AB0 48 00 02 1D */ bl AllocateStream__10SDSPStreamFi +/* 8036AB54 00367AB4 7C 7E 1B 78 */ mr r30, r3 +/* 8036AB58 00367AB8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036AB5C 00367ABC 7F 44 D3 78 */ mr r4, r26 +/* 8036AB60 00367AC0 7F 65 DB 78 */ mr r5, r27 +/* 8036AB64 00367AC4 38 C0 00 7F */ li r6, 0x7f +/* 8036AB68 00367AC8 48 00 02 05 */ bl AllocateStream__10SDSPStreamFi +/* 8036AB6C 00367ACC 7C 7D 1B 78 */ mr r29, r3 +/* 8036AB70 00367AD0 7F 83 E3 78 */ mr r3, r28 +/* 8036AB74 00367AD4 48 01 6B 15 */ bl OSRestoreInterrupts +/* 8036AB78 00367AD8 80 81 00 08 */ lwz r4, 8(r1) +/* 8036AB7C 00367ADC 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8036AB80 00367AE0 48 00 06 F1 */ bl OpenFiles__10SDSPStreamFPCc +/* 8036AB84 00367AE4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8036AB88 00367AE8 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8036AB8C 00367AEC 48 00 06 E5 */ bl OpenFiles__10SDSPStreamFPCc +/* 8036AB90 00367AF0 81 01 00 08 */ lwz r8, 8(r1) +/* 8036AB94 00367AF4 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036AB98 00367AF8 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036AB9C 00367AFC 7F C5 F3 78 */ mr r5, r30 +/* 8036ABA0 00367B00 80 88 00 D4 */ lwz r4, 0xd4(r8) +/* 8036ABA4 00367B04 38 68 00 50 */ addi r3, r8, 0x50 +/* 8036ABA8 00367B08 80 C8 00 18 */ lwz r6, 0x18(r8) +/* 8036ABAC 00367B0C 39 00 00 01 */ li r8, 1 +/* 8036ABB0 00367B10 48 00 6D E5 */ bl DVDReadAsyncPrio +/* 8036ABB4 00367B14 81 01 00 0C */ lwz r8, 0xc(r1) +/* 8036ABB8 00367B18 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036ABBC 00367B1C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036ABC0 00367B20 7F A5 EB 78 */ mr r5, r29 +/* 8036ABC4 00367B24 80 88 00 D4 */ lwz r4, 0xd4(r8) +/* 8036ABC8 00367B28 38 68 00 50 */ addi r3, r8, 0x50 +/* 8036ABCC 00367B2C 80 C8 00 18 */ lwz r6, 0x18(r8) +/* 8036ABD0 00367B30 39 00 00 01 */ li r8, 1 +/* 8036ABD4 00367B34 48 00 6D C1 */ bl DVDReadAsyncPrio +/* 8036ABD8 00367B38 7F E3 FB 78 */ mr r3, r31 +/* 8036ABDC 00367B3C 48 00 00 1C */ b lbl_8036ABF8 +lbl_8036ABE0: +/* 8036ABE0 00367B40 80 61 00 08 */ lwz r3, 8(r1) +/* 8036ABE4 00367B44 48 00 00 29 */ bl DeallocateStream__10SDSPStreamFv +/* 8036ABE8 00367B48 3B E0 FF FF */ li r31, -1 +lbl_8036ABEC: +/* 8036ABEC 00367B4C 7F 83 E3 78 */ mr r3, r28 +/* 8036ABF0 00367B50 48 01 6A 99 */ bl OSRestoreInterrupts +/* 8036ABF4 00367B54 7F E3 FB 78 */ mr r3, r31 +lbl_8036ABF8: +/* 8036ABF8 00367B58 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8036ABFC 00367B5C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036AC00 00367B60 7C 08 03 A6 */ mtlr r0 +/* 8036AC04 00367B64 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036AC08 00367B68 4E 80 00 20 */ blr + +.global DeallocateStream__10SDSPStreamFv +DeallocateStream__10SDSPStreamFv: +/* 8036AC0C 00367B6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036AC10 00367B70 7C 08 02 A6 */ mflr r0 +/* 8036AC14 00367B74 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036AC18 00367B78 38 00 00 00 */ li r0, 0 +/* 8036AC1C 00367B7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036AC20 00367B80 7C 7F 1B 78 */ mr r31, r3 +/* 8036AC24 00367B84 98 03 00 00 */ stb r0, 0(r3) +/* 8036AC28 00367B88 88 03 00 01 */ lbz r0, 1(r3) +/* 8036AC2C 00367B8C 2C 00 00 01 */ cmpwi r0, 1 +/* 8036AC30 00367B90 41 82 00 2C */ beq lbl_8036AC5C +/* 8036AC34 00367B94 40 80 00 64 */ bge lbl_8036AC98 +/* 8036AC38 00367B98 2C 00 00 00 */ cmpwi r0, 0 +/* 8036AC3C 00367B9C 40 80 00 08 */ bge lbl_8036AC44 +/* 8036AC40 00367BA0 48 00 00 58 */ b lbl_8036AC98 +lbl_8036AC44: +/* 8036AC44 00367BA4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AC48 00367BA8 3C 03 00 01 */ addis r0, r3, 1 +/* 8036AC4C 00367BAC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AC50 00367BB0 41 82 00 48 */ beq lbl_8036AC98 +/* 8036AC54 00367BB4 48 03 58 CD */ bl sndStreamDeactivate +/* 8036AC58 00367BB8 48 00 00 40 */ b lbl_8036AC98 +lbl_8036AC5C: +/* 8036AC5C 00367BBC 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8036AC60 00367BC0 28 03 00 00 */ cmplwi r3, 0 +/* 8036AC64 00367BC4 41 82 00 34 */ beq lbl_8036AC98 +/* 8036AC68 00367BC8 4B FA AC C9 */ bl Free__7CMemoryFPCv +/* 8036AC6C 00367BCC 38 00 00 00 */ li r0, 0 +/* 8036AC70 00367BD0 90 1F 00 D4 */ stw r0, 0xd4(r31) +/* 8036AC74 00367BD4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AC78 00367BD8 3C 03 00 01 */ addis r0, r3, 1 +/* 8036AC7C 00367BDC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AC80 00367BE0 41 82 00 18 */ beq lbl_8036AC98 +/* 8036AC84 00367BE4 48 03 58 9D */ bl sndStreamDeactivate +/* 8036AC88 00367BE8 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AC8C 00367BEC 48 03 4B 69 */ bl sndStreamFree +/* 8036AC90 00367BF0 38 00 FF FF */ li r0, -1 +/* 8036AC94 00367BF4 90 1F 00 C8 */ stw r0, 0xc8(r31) +lbl_8036AC98: +/* 8036AC98 00367BF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AC9C 00367BFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036ACA0 00367C00 7C 08 03 A6 */ mtlr r0 +/* 8036ACA4 00367C04 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036ACA8 00367C08 4E 80 00 20 */ blr + +.global AllocateMono__10SDSPStreamFRC11SStreamInfocci +AllocateMono__10SDSPStreamFRC11SStreamInfocci: +/* 8036ACAC 00367C0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036ACB0 00367C10 7C 08 02 A6 */ mflr r0 +/* 8036ACB4 00367C14 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036ACB8 00367C18 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8036ACBC 00367C1C 7C 7B 1B 78 */ mr r27, r3 +/* 8036ACC0 00367C20 7C 9C 23 78 */ mr r28, r4 +/* 8036ACC4 00367C24 7C BD 2B 78 */ mr r29, r5 +/* 8036ACC8 00367C28 7C DE 33 78 */ mr r30, r6 +/* 8036ACCC 00367C2C 48 01 69 95 */ bl OSDisableInterrupts +/* 8036ACD0 00367C30 7F C4 F3 78 */ mr r4, r30 +/* 8036ACD4 00367C34 7C 7E 1B 78 */ mr r30, r3 +/* 8036ACD8 00367C38 38 61 00 08 */ addi r3, r1, 8 +/* 8036ACDC 00367C3C 48 00 04 31 */ bl PickFreeStream__10SDSPStreamFi +/* 8036ACE0 00367C40 7C 7F 1B 78 */ mr r31, r3 +/* 8036ACE4 00367C44 3C 1F 00 01 */ addis r0, r31, 1 +/* 8036ACE8 00367C48 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036ACEC 00367C4C 41 82 00 60 */ beq lbl_8036AD4C +/* 8036ACF0 00367C50 80 61 00 08 */ lwz r3, 8(r1) +/* 8036ACF4 00367C54 7F 64 DB 78 */ mr r4, r27 +/* 8036ACF8 00367C58 7F 85 E3 78 */ mr r5, r28 +/* 8036ACFC 00367C5C 7F A6 EB 78 */ mr r6, r29 +/* 8036AD00 00367C60 48 00 00 6D */ bl AllocateStream__10SDSPStreamFi +/* 8036AD04 00367C64 7C 60 1B 78 */ mr r0, r3 +/* 8036AD08 00367C68 7F C3 F3 78 */ mr r3, r30 +/* 8036AD0C 00367C6C 7C 1E 03 78 */ mr r30, r0 +/* 8036AD10 00367C70 48 01 69 79 */ bl OSRestoreInterrupts +/* 8036AD14 00367C74 80 81 00 08 */ lwz r4, 8(r1) +/* 8036AD18 00367C78 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8036AD1C 00367C7C 48 00 05 55 */ bl OpenFiles__10SDSPStreamFPCc +/* 8036AD20 00367C80 81 01 00 08 */ lwz r8, 8(r1) +/* 8036AD24 00367C84 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036AD28 00367C88 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036AD2C 00367C8C 7F C5 F3 78 */ mr r5, r30 +/* 8036AD30 00367C90 80 88 00 D4 */ lwz r4, 0xd4(r8) +/* 8036AD34 00367C94 38 68 00 50 */ addi r3, r8, 0x50 +/* 8036AD38 00367C98 80 C8 00 18 */ lwz r6, 0x18(r8) +/* 8036AD3C 00367C9C 39 00 00 01 */ li r8, 1 +/* 8036AD40 00367CA0 48 00 6C 55 */ bl DVDReadAsyncPrio +/* 8036AD44 00367CA4 7F E3 FB 78 */ mr r3, r31 +/* 8036AD48 00367CA8 48 00 00 10 */ b lbl_8036AD58 +lbl_8036AD4C: +/* 8036AD4C 00367CAC 7F C3 F3 78 */ mr r3, r30 +/* 8036AD50 00367CB0 48 01 69 39 */ bl OSRestoreInterrupts +/* 8036AD54 00367CB4 7F E3 FB 78 */ mr r3, r31 +lbl_8036AD58: +/* 8036AD58 00367CB8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8036AD5C 00367CBC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036AD60 00367CC0 7C 08 03 A6 */ mtlr r0 +/* 8036AD64 00367CC4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036AD68 00367CC8 4E 80 00 20 */ blr + +.global AllocateStream__10SDSPStreamFi +AllocateStream__10SDSPStreamFi: +/* 8036AD6C 00367CCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036AD70 00367CD0 7C 08 02 A6 */ mflr r0 +/* 8036AD74 00367CD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036AD78 00367CD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036AD7C 00367CDC 7C DF 33 78 */ mr r31, r6 +/* 8036AD80 00367CE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036AD84 00367CE4 7C BE 2B 78 */ mr r30, r5 +/* 8036AD88 00367CE8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036AD8C 00367CEC 7C 7D 1B 78 */ mr r29, r3 +/* 8036AD90 00367CF0 80 04 00 00 */ lwz r0, 0(r4) +/* 8036AD94 00367CF4 90 03 00 10 */ stw r0, 0x10(r3) +/* 8036AD98 00367CF8 A0 04 00 04 */ lhz r0, 4(r4) +/* 8036AD9C 00367CFC B0 03 00 14 */ sth r0, 0x14(r3) +/* 8036ADA0 00367D00 80 04 00 08 */ lwz r0, 8(r4) +/* 8036ADA4 00367D04 90 03 00 18 */ stw r0, 0x18(r3) +/* 8036ADA8 00367D08 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8036ADAC 00367D0C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8036ADB0 00367D10 88 04 00 10 */ lbz r0, 0x10(r4) +/* 8036ADB4 00367D14 98 03 00 20 */ stb r0, 0x20(r3) +/* 8036ADB8 00367D18 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8036ADBC 00367D1C 90 03 00 24 */ stw r0, 0x24(r3) +/* 8036ADC0 00367D20 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8036ADC4 00367D24 90 03 00 28 */ stw r0, 0x28(r3) +/* 8036ADC8 00367D28 80 A4 00 1C */ lwz r5, 0x1c(r4) +/* 8036ADCC 00367D2C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 8036ADD0 00367D30 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 8036ADD4 00367D34 90 03 00 30 */ stw r0, 0x30(r3) +/* 8036ADD8 00367D38 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 8036ADDC 00367D3C 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8036ADE0 00367D40 90 A3 00 34 */ stw r5, 0x34(r3) +/* 8036ADE4 00367D44 90 03 00 38 */ stw r0, 0x38(r3) +/* 8036ADE8 00367D48 80 A4 00 2C */ lwz r5, 0x2c(r4) +/* 8036ADEC 00367D4C 80 04 00 30 */ lwz r0, 0x30(r4) +/* 8036ADF0 00367D50 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 8036ADF4 00367D54 90 03 00 40 */ stw r0, 0x40(r3) +/* 8036ADF8 00367D58 80 A4 00 34 */ lwz r5, 0x34(r4) +/* 8036ADFC 00367D5C 80 04 00 38 */ lwz r0, 0x38(r4) +/* 8036AE00 00367D60 90 A3 00 44 */ stw r5, 0x44(r3) +/* 8036AE04 00367D64 90 03 00 48 */ stw r0, 0x48(r3) +/* 8036AE08 00367D68 80 03 00 D4 */ lwz r0, 0xd4(r3) +/* 8036AE0C 00367D6C 28 00 00 00 */ cmplwi r0, 0 +/* 8036AE10 00367D70 40 82 00 08 */ bne lbl_8036AE18 +/* 8036AE14 00367D74 48 00 01 B5 */ bl DoAllocateStream__10SDSPStreamFi +lbl_8036AE18: +/* 8036AE18 00367D78 9B DD 00 4C */ stb r30, 0x4c(r29) +/* 8036AE1C 00367D7C 3C 60 00 01 */ lis r3, 0x00011DC0@ha +/* 8036AE20 00367D80 38 80 00 01 */ li r4, 1 +/* 8036AE24 00367D84 38 00 00 00 */ li r0, 0 +/* 8036AE28 00367D88 9B FD 00 4D */ stb r31, 0x4d(r29) +/* 8036AE2C 00367D8C 38 63 1D C0 */ addi r3, r3, 0x00011DC0@l +/* 8036AE30 00367D90 90 9D 00 E4 */ stw r4, 0xe4(r29) +/* 8036AE34 00367D94 90 1D 00 E8 */ stw r0, 0xe8(r29) +/* 8036AE38 00367D98 90 1D 00 F0 */ stw r0, 0xf0(r29) +/* 8036AE3C 00367D9C 98 9D 00 EC */ stb r4, 0xec(r29) +/* 8036AE40 00367DA0 98 9D 00 E0 */ stb r4, 0xe0(r29) +/* 8036AE44 00367DA4 90 7D 00 D8 */ stw r3, 0xd8(r29) +/* 8036AE48 00367DA8 80 1D 00 D8 */ lwz r0, 0xd8(r29) +/* 8036AE4C 00367DAC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8036AE50 00367DB0 1C 00 00 0E */ mulli r0, r0, 0xe +/* 8036AE54 00367DB4 90 1D 00 DC */ stw r0, 0xdc(r29) +/* 8036AE58 00367DB8 80 1D 00 D8 */ lwz r0, 0xd8(r29) +/* 8036AE5C 00367DBC 7C 00 18 40 */ cmplw r0, r3 +/* 8036AE60 00367DC0 40 81 00 08 */ ble lbl_8036AE68 +/* 8036AE64 00367DC4 90 7D 00 D8 */ stw r3, 0xd8(r29) +lbl_8036AE68: +/* 8036AE68 00367DC8 80 1D 00 D8 */ lwz r0, 0xd8(r29) +/* 8036AE6C 00367DCC 54 04 F8 7E */ srwi r4, r0, 1 +/* 8036AE70 00367DD0 90 9D 00 CC */ stw r4, 0xcc(r29) +/* 8036AE74 00367DD4 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 8036AE78 00367DD8 90 1D 00 D0 */ stw r0, 0xd0(r29) +/* 8036AE7C 00367DDC 80 7D 00 D0 */ lwz r3, 0xd0(r29) +/* 8036AE80 00367DE0 7C 03 20 40 */ cmplw r3, r4 +/* 8036AE84 00367DE4 40 80 00 20 */ bge lbl_8036AEA4 +/* 8036AE88 00367DE8 80 1D 00 D4 */ lwz r0, 0xd4(r29) +/* 8036AE8C 00367DEC 7C 7E 1B 78 */ mr r30, r3 +/* 8036AE90 00367DF0 7C A3 20 50 */ subf r5, r3, r4 +/* 8036AE94 00367DF4 38 80 00 00 */ li r4, 0 +/* 8036AE98 00367DF8 7C 60 1A 14 */ add r3, r0, r3 +/* 8036AE9C 00367DFC 4B C9 85 0D */ bl memset +/* 8036AEA0 00367E00 48 00 00 08 */ b lbl_8036AEA8 +lbl_8036AEA4: +/* 8036AEA4 00367E04 7C 9E 23 78 */ mr r30, r4 +lbl_8036AEA8: +/* 8036AEA8 00367E08 38 00 00 02 */ li r0, 2 +/* 8036AEAC 00367E0C 7F C3 F3 78 */ mr r3, r30 +/* 8036AEB0 00367E10 98 1D 00 00 */ stb r0, 0(r29) +/* 8036AEB4 00367E14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036AEB8 00367E18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036AEBC 00367E1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036AEC0 00367E20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036AEC4 00367E24 7C 08 03 A6 */ mtlr r0 +/* 8036AEC8 00367E28 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036AECC 00367E2C 4E 80 00 20 */ blr + +.global FreeAllStreams__10SDSPStreamFi +FreeAllStreams__10SDSPStreamFi: +/* 8036AED0 00367E30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036AED4 00367E34 7C 08 02 A6 */ mflr r0 +/* 8036AED8 00367E38 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AEDC 00367E3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036AEE0 00367E40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036AEE4 00367E44 3B E3 06 40 */ addi r31, r3, lbl_80540640@l +/* 8036AEE8 00367E48 93 C1 00 08 */ stw r30, 8(r1) +/* 8036AEEC 00367E4C 3B C0 00 00 */ li r30, 0 +lbl_8036AEF0: +/* 8036AEF0 00367E50 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AEF4 00367E54 48 03 49 01 */ bl sndStreamFree +/* 8036AEF8 00367E58 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8036AEFC 00367E5C 4B FA AA 35 */ bl Free__7CMemoryFPCv +/* 8036AF00 00367E60 3B DE 00 01 */ addi r30, r30, 1 +/* 8036AF04 00367E64 3B FF 00 F4 */ addi r31, r31, 0xf4 +/* 8036AF08 00367E68 28 1E 00 04 */ cmplwi r30, 4 +/* 8036AF0C 00367E6C 41 80 FF E4 */ blt lbl_8036AEF0 +/* 8036AF10 00367E70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AF14 00367E74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036AF18 00367E78 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036AF1C 00367E7C 7C 08 03 A6 */ mtlr r0 +/* 8036AF20 00367E80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036AF24 00367E84 4E 80 00 20 */ blr + +.global Initialize__10SDSPStreamFv +Initialize__10SDSPStreamFv: +/* 8036AF28 00367E88 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036AF2C 00367E8C 7C 08 02 A6 */ mflr r0 +/* 8036AF30 00367E90 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AF34 00367E94 3C 80 00 01 */ lis r4, 0x00011DC0@ha +/* 8036AF38 00367E98 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036AF3C 00367E9C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8036AF40 00367EA0 3B 43 06 40 */ addi r26, r3, lbl_80540640@l +/* 8036AF44 00367EA4 3C 60 00 02 */ lis r3, 0x0001F410@ha +/* 8036AF48 00367EA8 3B 84 1D C0 */ addi r28, r4, 0x00011DC0@l +/* 8036AF4C 00367EAC 3B A3 F4 10 */ addi r29, r3, 0x0001F410@l +/* 8036AF50 00367EB0 3B 20 00 00 */ li r25, 0 +/* 8036AF54 00367EB4 3B 60 00 00 */ li r27, 0 +/* 8036AF58 00367EB8 3B C0 FF FF */ li r30, -1 +/* 8036AF5C 00367EBC 3B E0 00 01 */ li r31, 1 +lbl_8036AF60: +/* 8036AF60 00367EC0 9B 7A 00 00 */ stb r27, 0(r26) +/* 8036AF64 00367EC4 28 19 00 02 */ cmplwi r25, 2 +/* 8036AF68 00367EC8 93 7A 00 D4 */ stw r27, 0xd4(r26) +/* 8036AF6C 00367ECC 93 9A 00 D8 */ stw r28, 0xd8(r26) +/* 8036AF70 00367ED0 93 BA 00 DC */ stw r29, 0xdc(r26) +/* 8036AF74 00367ED4 93 DA 00 C8 */ stw r30, 0xc8(r26) +/* 8036AF78 00367ED8 40 80 00 14 */ bge lbl_8036AF8C +/* 8036AF7C 00367EDC 9B 7A 00 01 */ stb r27, 1(r26) +/* 8036AF80 00367EE0 7F 43 D3 78 */ mr r3, r26 +/* 8036AF84 00367EE4 48 00 00 45 */ bl DoAllocateStream__10SDSPStreamFi +/* 8036AF88 00367EE8 48 00 00 08 */ b lbl_8036AF90 +lbl_8036AF8C: +/* 8036AF8C 00367EEC 9B FA 00 01 */ stb r31, 1(r26) +lbl_8036AF90: +/* 8036AF90 00367EF0 3B 39 00 01 */ addi r25, r25, 1 +/* 8036AF94 00367EF4 3B 5A 00 F4 */ addi r26, r26, 0xf4 +/* 8036AF98 00367EF8 28 19 00 04 */ cmplwi r25, 4 +/* 8036AF9C 00367EFC 41 80 FF C4 */ blt lbl_8036AF60 +/* 8036AFA0 00367F00 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AFA4 00367F04 38 00 00 00 */ li r0, 0 +/* 8036AFA8 00367F08 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036AFAC 00367F0C 90 03 03 D0 */ stw r0, 0x3d0(r3) +/* 8036AFB0 00367F10 90 03 03 D8 */ stw r0, 0x3d8(r3) +/* 8036AFB4 00367F14 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8036AFB8 00367F18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036AFBC 00367F1C 7C 08 03 A6 */ mtlr r0 +/* 8036AFC0 00367F20 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036AFC4 00367F24 4E 80 00 20 */ blr + +.global DoAllocateStream__10SDSPStreamFi +DoAllocateStream__10SDSPStreamFi: +/* 8036AFC8 00367F28 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036AFCC 00367F2C 7C 08 02 A6 */ mflr r0 +/* 8036AFD0 00367F30 3C A0 80 3E */ lis r5, lbl_803D8558@ha +/* 8036AFD4 00367F34 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8036AFD8 00367F38 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036AFDC 00367F3C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8036AFE0 00367F40 38 A5 85 58 */ addi r5, r5, lbl_803D8558@l +/* 8036AFE4 00367F44 38 80 FF FF */ li r4, -1 +/* 8036AFE8 00367F48 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036AFEC 00367F4C 7C 7F 1B 78 */ mr r31, r3 +/* 8036AFF0 00367F50 38 61 00 20 */ addi r3, r1, 0x20 +/* 8036AFF4 00367F54 4B F6 B3 E1 */ bl __ct__10CCallStackFUiPCcPCc +/* 8036AFF8 00367F58 3C A0 00 01 */ lis r5, 0x00011DC0@ha +/* 8036AFFC 00367F5C 7C 67 1B 78 */ mr r7, r3 +/* 8036B000 00367F60 38 65 1D C0 */ addi r3, r5, 0x00011DC0@l +/* 8036B004 00367F64 38 80 00 02 */ li r4, 2 +/* 8036B008 00367F68 38 A0 00 01 */ li r5, 1 +/* 8036B00C 00367F6C 38 C0 00 00 */ li r6, 0 +/* 8036B010 00367F70 4B FA A9 85 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036B014 00367F74 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 8036B018 00367F78 38 A0 00 00 */ li r5, 0 +/* 8036B01C 00367F7C 3C 80 00 03 */ lis r4, 0x00030001@ha +/* 8036B020 00367F80 3C 60 80 37 */ lis r3, UpdateStream__10SDSPStreamFPviPvii@ha +/* 8036B024 00367F84 90 A1 00 08 */ stw r5, 8(r1) +/* 8036B028 00367F88 38 84 00 01 */ addi r4, r4, 0x00030001@l +/* 8036B02C 00367F8C 38 03 A5 20 */ addi r0, r3, UpdateStream__10SDSPStreamFPviPvii@l +/* 8036B030 00367F90 38 60 00 FF */ li r3, 0xff +/* 8036B034 00367F94 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8036B038 00367F98 38 C0 7D 00 */ li r6, 0x7d00 +/* 8036B03C 00367F9C 38 E0 00 00 */ li r7, 0 +/* 8036B040 00367FA0 39 00 00 40 */ li r8, 0x40 +/* 8036B044 00367FA4 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036B048 00367FA8 39 20 00 00 */ li r9, 0 +/* 8036B04C 00367FAC 39 40 00 00 */ li r10, 0 +/* 8036B050 00367FB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B054 00367FB4 93 E1 00 18 */ stw r31, 0x18(r1) +/* 8036B058 00367FB8 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8036B05C 00367FBC 80 9F 00 D4 */ lwz r4, 0xd4(r31) +/* 8036B060 00367FC0 80 BF 00 DC */ lwz r5, 0xdc(r31) +/* 8036B064 00367FC4 48 03 28 69 */ bl sndStreamAllocEx +/* 8036B068 00367FC8 90 7F 00 C8 */ stw r3, 0xc8(r31) +/* 8036B06C 00367FCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036B070 00367FD0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036B074 00367FD4 7C 08 03 A6 */ mtlr r0 +/* 8036B078 00367FD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036B07C 00367FDC 4E 80 00 20 */ blr + +.global FindStreamIdx__10SDSPStreamFi +FindStreamIdx__10SDSPStreamFi: +/* 8036B080 00367FE0 3C 80 80 54 */ lis r4, lbl_80540640@ha +/* 8036B084 00367FE4 8C 04 06 40 */ lbzu r0, lbl_80540640@l(r4) +/* 8036B088 00367FE8 28 00 00 00 */ cmplwi r0, 0 +/* 8036B08C 00367FEC 41 82 00 18 */ beq lbl_8036B0A4 +/* 8036B090 00367FF0 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B094 00367FF4 7C 03 00 40 */ cmplw r3, r0 +/* 8036B098 00367FF8 40 82 00 0C */ bne lbl_8036B0A4 +/* 8036B09C 00367FFC 38 60 00 00 */ li r3, 0 +/* 8036B0A0 00368000 4E 80 00 20 */ blr +lbl_8036B0A4: +/* 8036B0A4 00368004 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B0A8 00368008 28 00 00 00 */ cmplwi r0, 0 +/* 8036B0AC 0036800C 41 82 00 18 */ beq lbl_8036B0C4 +/* 8036B0B0 00368010 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B0B4 00368014 7C 03 00 40 */ cmplw r3, r0 +/* 8036B0B8 00368018 40 82 00 0C */ bne lbl_8036B0C4 +/* 8036B0BC 0036801C 38 60 00 01 */ li r3, 1 +/* 8036B0C0 00368020 4E 80 00 20 */ blr +lbl_8036B0C4: +/* 8036B0C4 00368024 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B0C8 00368028 28 00 00 00 */ cmplwi r0, 0 +/* 8036B0CC 0036802C 41 82 00 18 */ beq lbl_8036B0E4 +/* 8036B0D0 00368030 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B0D4 00368034 7C 03 00 40 */ cmplw r3, r0 +/* 8036B0D8 00368038 40 82 00 0C */ bne lbl_8036B0E4 +/* 8036B0DC 0036803C 38 60 00 02 */ li r3, 2 +/* 8036B0E0 00368040 4E 80 00 20 */ blr +lbl_8036B0E4: +/* 8036B0E4 00368044 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B0E8 00368048 28 00 00 00 */ cmplwi r0, 0 +/* 8036B0EC 0036804C 41 82 00 18 */ beq lbl_8036B104 +/* 8036B0F0 00368050 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B0F4 00368054 7C 03 00 40 */ cmplw r3, r0 +/* 8036B0F8 00368058 40 82 00 0C */ bne lbl_8036B104 +/* 8036B0FC 0036805C 38 60 00 03 */ li r3, 3 +/* 8036B100 00368060 4E 80 00 20 */ blr +lbl_8036B104: +/* 8036B104 00368064 38 60 FF FF */ li r3, -1 +/* 8036B108 00368068 4E 80 00 20 */ blr + +.global PickFreeStream__10SDSPStreamFi +PickFreeStream__10SDSPStreamFi: +/* 8036B10C 0036806C 3C A0 80 54 */ lis r5, lbl_80540640@ha +/* 8036B110 00368070 38 00 00 04 */ li r0, 4 +/* 8036B114 00368074 38 E5 06 40 */ addi r7, r5, lbl_80540640@l +/* 8036B118 00368078 39 00 00 00 */ li r8, 0 +/* 8036B11C 0036807C 7C E5 3B 78 */ mr r5, r7 +/* 8036B120 00368080 7C 09 03 A6 */ mtctr r0 +lbl_8036B124: +/* 8036B124 00368084 88 05 00 00 */ lbz r0, 0(r5) +/* 8036B128 00368088 28 00 00 00 */ cmplwi r0, 0 +/* 8036B12C 0036808C 40 82 00 F8 */ bne lbl_8036B224 +/* 8036B130 00368090 88 05 00 01 */ lbz r0, 1(r5) +/* 8036B134 00368094 7C 04 00 00 */ cmpw r4, r0 +/* 8036B138 00368098 40 82 00 EC */ bne lbl_8036B224 +/* 8036B13C 0036809C 3C 80 80 54 */ lis r4, lbl_80540640@ha +/* 8036B140 003680A0 38 C4 06 40 */ addi r6, r4, lbl_80540640@l +lbl_8036B144: +/* 8036B144 003680A4 80 A6 03 D0 */ lwz r5, 0x3d0(r6) +/* 8036B148 003680A8 3C 05 00 01 */ addis r0, r5, 1 +/* 8036B14C 003680AC 38 85 00 01 */ addi r4, r5, 1 +/* 8036B150 003680B0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036B154 003680B4 90 86 03 D0 */ stw r4, 0x3d0(r6) +/* 8036B158 003680B8 7C A9 2B 78 */ mr r9, r5 +/* 8036B15C 003680BC 40 82 00 10 */ bne lbl_8036B16C +/* 8036B160 003680C0 38 04 00 01 */ addi r0, r4, 1 +/* 8036B164 003680C4 7C 89 23 78 */ mr r9, r4 +/* 8036B168 003680C8 90 06 03 D0 */ stw r0, 0x3d0(r6) +lbl_8036B16C: +/* 8036B16C 003680CC 88 07 00 00 */ lbz r0, 0(r7) +/* 8036B170 003680D0 38 A0 00 00 */ li r5, 0 +/* 8036B174 003680D4 28 00 00 00 */ cmplwi r0, 0 +/* 8036B178 003680D8 41 82 00 10 */ beq lbl_8036B188 +/* 8036B17C 003680DC 80 07 00 04 */ lwz r0, 4(r7) +/* 8036B180 003680E0 7C 09 00 40 */ cmplw r9, r0 +/* 8036B184 003680E4 41 82 00 64 */ beq lbl_8036B1E8 +lbl_8036B188: +/* 8036B188 003680E8 38 87 00 F4 */ addi r4, r7, 0xf4 +/* 8036B18C 003680EC 38 A0 00 01 */ li r5, 1 +/* 8036B190 003680F0 88 07 00 F4 */ lbz r0, 0xf4(r7) +/* 8036B194 003680F4 28 00 00 00 */ cmplwi r0, 0 +/* 8036B198 003680F8 41 82 00 10 */ beq lbl_8036B1A8 +/* 8036B19C 003680FC 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B1A0 00368100 7C 09 00 40 */ cmplw r9, r0 +/* 8036B1A4 00368104 41 82 00 44 */ beq lbl_8036B1E8 +lbl_8036B1A8: +/* 8036B1A8 00368108 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B1AC 0036810C 38 A0 00 02 */ li r5, 2 +/* 8036B1B0 00368110 28 00 00 00 */ cmplwi r0, 0 +/* 8036B1B4 00368114 41 82 00 10 */ beq lbl_8036B1C4 +/* 8036B1B8 00368118 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B1BC 0036811C 7C 09 00 40 */ cmplw r9, r0 +/* 8036B1C0 00368120 41 82 00 28 */ beq lbl_8036B1E8 +lbl_8036B1C4: +/* 8036B1C4 00368124 88 04 00 F4 */ lbz r0, 0xf4(r4) +/* 8036B1C8 00368128 38 A0 00 03 */ li r5, 3 +/* 8036B1CC 0036812C 38 84 00 F4 */ addi r4, r4, 0xf4 +/* 8036B1D0 00368130 28 00 00 00 */ cmplwi r0, 0 +/* 8036B1D4 00368134 41 82 00 10 */ beq lbl_8036B1E4 +/* 8036B1D8 00368138 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B1DC 0036813C 7C 09 00 40 */ cmplw r9, r0 +/* 8036B1E0 00368140 41 82 00 08 */ beq lbl_8036B1E8 +lbl_8036B1E4: +/* 8036B1E4 00368144 38 A0 00 04 */ li r5, 4 +lbl_8036B1E8: +/* 8036B1E8 00368148 28 05 00 04 */ cmplwi r5, 4 +/* 8036B1EC 0036814C 40 82 FF 58 */ bne lbl_8036B144 +/* 8036B1F0 00368150 1C C8 00 F4 */ mulli r6, r8, 0xf4 +/* 8036B1F4 00368154 3C 80 80 54 */ lis r4, lbl_80540640@ha +/* 8036B1F8 00368158 38 A0 00 01 */ li r5, 1 +/* 8036B1FC 0036815C 38 04 06 40 */ addi r0, r4, lbl_80540640@l +/* 8036B200 00368160 7C 80 32 14 */ add r4, r0, r6 +/* 8036B204 00368164 38 00 00 00 */ li r0, 0 +/* 8036B208 00368168 98 A4 00 00 */ stb r5, 0(r4) +/* 8036B20C 0036816C 91 24 00 04 */ stw r9, 4(r4) +/* 8036B210 00368170 90 04 00 08 */ stw r0, 8(r4) +/* 8036B214 00368174 90 04 00 0C */ stw r0, 0xc(r4) +/* 8036B218 00368178 90 83 00 00 */ stw r4, 0(r3) +/* 8036B21C 0036817C 7D 23 4B 78 */ mr r3, r9 +/* 8036B220 00368180 4E 80 00 20 */ blr +lbl_8036B224: +/* 8036B224 00368184 38 A5 00 F4 */ addi r5, r5, 0xf4 +/* 8036B228 00368188 39 08 00 01 */ addi r8, r8, 1 +/* 8036B22C 0036818C 42 00 FE F8 */ bdnz lbl_8036B124 +/* 8036B230 00368190 38 60 FF FF */ li r3, -1 +/* 8036B234 00368194 4E 80 00 20 */ blr + +.global CloseFiles__10SDSPStreamFv +CloseFiles__10SDSPStreamFv: +/* 8036B238 00368198 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036B23C 0036819C 7C 08 02 A6 */ mflr r0 +/* 8036B240 003681A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B244 003681A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036B248 003681A8 7C 7F 1B 78 */ mr r31, r3 +/* 8036B24C 003681AC 38 7F 00 50 */ addi r3, r31, 0x50 +/* 8036B250 003681B0 48 00 64 FD */ bl DVDClose +/* 8036B254 003681B4 38 7F 00 8C */ addi r3, r31, 0x8c +/* 8036B258 003681B8 48 00 64 F5 */ bl DVDClose +/* 8036B25C 003681BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036B260 003681C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036B264 003681C4 7C 08 03 A6 */ mtlr r0 +/* 8036B268 003681C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036B26C 003681CC 4E 80 00 20 */ blr + +.global OpenFiles__10SDSPStreamFPCc +OpenFiles__10SDSPStreamFPCc: +/* 8036B270 003681D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036B274 003681D4 7C 08 02 A6 */ mflr r0 +/* 8036B278 003681D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B27C 003681DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036B280 003681E0 7C 9F 23 78 */ mr r31, r4 +/* 8036B284 003681E4 38 9F 00 50 */ addi r4, r31, 0x50 +/* 8036B288 003681E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8036B28C 003681EC 7C 7E 1B 78 */ mr r30, r3 +/* 8036B290 003681F0 48 00 63 F5 */ bl DVDOpen +/* 8036B294 003681F4 7F C3 F3 78 */ mr r3, r30 +/* 8036B298 003681F8 38 9F 00 8C */ addi r4, r31, 0x8c +/* 8036B29C 003681FC 48 00 63 E9 */ bl DVDOpen +/* 8036B2A0 00368200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036B2A4 00368204 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036B2A8 00368208 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036B2AC 0036820C 7C 08 03 A6 */ mtlr r0 +/* 8036B2B0 00368210 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036B2B4 00368214 4E 80 00 20 */ blr + +.global g721_decoder__FiP10g72x_state +g721_decoder__FiP10g72x_state: +/* 8036B2B8 00368218 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036B2BC 0036821C 7C 08 02 A6 */ mflr r0 +/* 8036B2C0 00368220 3C A0 80 3F */ lis r5, lbl_803EF840@ha +/* 8036B2C4 00368224 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036B2C8 00368228 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8036B2CC 0036822C 7C 9F 23 78 */ mr r31, r4 +/* 8036B2D0 00368230 7C 7E 1B 78 */ mr r30, r3 +/* 8036B2D4 00368234 3B A5 F8 40 */ addi r29, r5, lbl_803EF840@l +/* 8036B2D8 00368238 7F E3 FB 78 */ mr r3, r31 +/* 8036B2DC 0036823C 48 00 07 55 */ bl predictor_zero__FP10g72x_state +/* 8036B2E0 00368240 7C 7B 07 34 */ extsh r27, r3 +/* 8036B2E4 00368244 7F E3 FB 78 */ mr r3, r31 +/* 8036B2E8 00368248 7F 60 0E 70 */ srawi r0, r27, 1 +/* 8036B2EC 0036824C 7C 1A 07 34 */ extsh r26, r0 +/* 8036B2F0 00368250 48 00 06 E9 */ bl predictor_pole__FP10g72x_state +/* 8036B2F4 00368254 7C 1B 1A 14 */ add r0, r27, r3 +/* 8036B2F8 00368258 7F E3 FB 78 */ mr r3, r31 +/* 8036B2FC 0036825C 7C 00 07 34 */ extsh r0, r0 +/* 8036B300 00368260 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8036B304 00368264 7C 19 07 34 */ extsh r25, r0 +/* 8036B308 00368268 48 00 06 7D */ bl step_size__FP10g72x_state +/* 8036B30C 0036826C 57 DC 0E FC */ rlwinm r28, r30, 1, 0x1b, 0x1e +/* 8036B310 00368270 38 9D 00 20 */ addi r4, r29, 0x20 +/* 8036B314 00368274 7C 65 07 34 */ extsh r5, r3 +/* 8036B318 00368278 7C 84 E2 AE */ lhax r4, r4, r28 +/* 8036B31C 0036827C 7C BB 2B 78 */ mr r27, r5 +/* 8036B320 00368280 57 C3 07 38 */ rlwinm r3, r30, 0, 0x1c, 0x1c +/* 8036B324 00368284 48 00 06 05 */ bl reconstruct__Fiii +/* 8036B328 00368288 7C 67 07 35 */ extsh. r7, r3 +/* 8036B32C 0036828C 7C 19 3A 14 */ add r0, r25, r7 +/* 8036B330 00368290 40 80 00 0C */ bge lbl_8036B33C +/* 8036B334 00368294 54 E0 04 BE */ clrlwi r0, r7, 0x12 +/* 8036B338 00368298 7C 00 C8 50 */ subf r0, r0, r25 +lbl_8036B33C: +/* 8036B33C 0036829C 7C 1E 07 34 */ extsh r30, r0 +/* 8036B340 003682A0 38 9D 00 40 */ addi r4, r29, 0x40 +/* 8036B344 003682A4 7C A4 E2 AE */ lhax r5, r4, r28 +/* 8036B348 003682A8 7C 19 F0 50 */ subf r0, r25, r30 +/* 8036B34C 003682AC 38 7D 00 60 */ addi r3, r29, 0x60 +/* 8036B350 003682B0 7F 64 DB 78 */ mr r4, r27 +/* 8036B354 003682B4 7C 1A 02 14 */ add r0, r26, r0 +/* 8036B358 003682B8 7C C3 E2 AE */ lhax r6, r3, r28 +/* 8036B35C 003682BC 7C 09 07 34 */ extsh r9, r0 +/* 8036B360 003682C0 7F C8 F3 78 */ mr r8, r30 +/* 8036B364 003682C4 7F EA FB 78 */ mr r10, r31 +/* 8036B368 003682C8 54 A5 28 34 */ slwi r5, r5, 5 +/* 8036B36C 003682CC 38 60 00 04 */ li r3, 4 +/* 8036B370 003682D0 48 00 00 1D */ bl update__FiiiiiiiP10g72x_state +/* 8036B374 003682D4 57 C3 10 3A */ slwi r3, r30, 2 +/* 8036B378 003682D8 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8036B37C 003682DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036B380 003682E0 7C 08 03 A6 */ mtlr r0 +/* 8036B384 003682E4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036B388 003682E8 4E 80 00 20 */ blr + +.global update__FiiiiiiiP10g72x_state +update__FiiiiiiiP10g72x_state: +/* 8036B38C 003682EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036B390 003682F0 7C 08 02 A6 */ mflr r0 +/* 8036B394 003682F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036B398 003682F8 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 8036B39C 003682FC 7C FA 3B 78 */ mr r26, r7 +/* 8036B3A0 00368300 55 27 0F FE */ srwi r7, r9, 0x1f +/* 8036B3A4 00368304 7C 98 23 78 */ mr r24, r4 +/* 8036B3A8 00368308 7C D9 33 78 */ mr r25, r6 +/* 8036B3AC 0036830C 7D 5C 53 78 */ mr r28, r10 +/* 8036B3B0 00368310 7D 1B 43 78 */ mr r27, r8 +/* 8036B3B4 00368314 7C FD 07 34 */ extsh r29, r7 +/* 8036B3B8 00368318 80 0A 00 00 */ lwz r0, 0(r10) +/* 8036B3BC 0036831C 7C 04 7E 70 */ srawi r4, r0, 0xf +/* 8036B3C0 00368320 54 00 B6 FE */ rlwinm r0, r0, 0x16, 0x1b, 0x1f +/* 8036B3C4 00368324 7C 86 07 34 */ extsh r6, r4 +/* 8036B3C8 00368328 7C 04 07 34 */ extsh r4, r0 +/* 8036B3CC 0036832C 38 04 00 20 */ addi r0, r4, 0x20 +/* 8036B3D0 00368330 2C 06 00 09 */ cmpwi r6, 9 +/* 8036B3D4 00368334 7C 04 30 30 */ slw r4, r0, r6 +/* 8036B3D8 00368338 7C 86 07 34 */ extsh r6, r4 +/* 8036B3DC 0036833C 57 40 04 7E */ clrlwi r0, r26, 0x11 +/* 8036B3E0 00368340 38 80 7C 00 */ li r4, 0x7c00 +/* 8036B3E4 00368344 41 81 00 08 */ bgt lbl_8036B3EC +/* 8036B3E8 00368348 7C C4 33 78 */ mr r4, r6 +lbl_8036B3EC: +/* 8036B3EC 0036834C 7C 87 07 34 */ extsh r7, r4 +/* 8036B3F0 00368350 88 9C 00 30 */ lbz r4, 0x30(r28) +/* 8036B3F4 00368354 7C E6 0E 70 */ srawi r6, r7, 1 +/* 8036B3F8 00368358 7C C7 32 14 */ add r6, r7, r6 +/* 8036B3FC 0036835C 7C 84 07 75 */ extsb. r4, r4 +/* 8036B400 00368360 7C C4 0E 70 */ srawi r4, r6, 1 +/* 8036B404 00368364 7C 86 07 34 */ extsh r6, r4 +/* 8036B408 00368368 40 82 00 0C */ bne lbl_8036B414 +/* 8036B40C 0036836C 3B C0 00 00 */ li r30, 0 +/* 8036B410 00368370 48 00 00 1C */ b lbl_8036B42C +lbl_8036B414: +/* 8036B414 00368374 7C 04 07 34 */ extsh r4, r0 +/* 8036B418 00368378 7C 04 30 00 */ cmpw r4, r6 +/* 8036B41C 0036837C 41 81 00 0C */ bgt lbl_8036B428 +/* 8036B420 00368380 3B C0 00 00 */ li r30, 0 +/* 8036B424 00368384 48 00 00 08 */ b lbl_8036B42C +lbl_8036B428: +/* 8036B428 00368388 3B C0 00 01 */ li r30, 1 +lbl_8036B42C: +/* 8036B42C 0036838C 7C 98 28 50 */ subf r4, r24, r5 +/* 8036B430 00368390 7C 84 2E 70 */ srawi r4, r4, 5 +/* 8036B434 00368394 7C 98 22 14 */ add r4, r24, r4 +/* 8036B438 00368398 B0 9C 00 04 */ sth r4, 4(r28) +/* 8036B43C 0036839C A8 9C 00 04 */ lha r4, 4(r28) +/* 8036B440 003683A0 2C 04 02 20 */ cmpwi r4, 0x220 +/* 8036B444 003683A4 40 80 00 10 */ bge lbl_8036B454 +/* 8036B448 003683A8 38 80 02 20 */ li r4, 0x220 +/* 8036B44C 003683AC B0 9C 00 04 */ sth r4, 4(r28) +/* 8036B450 003683B0 48 00 00 14 */ b lbl_8036B464 +lbl_8036B454: +/* 8036B454 003683B4 2C 04 14 00 */ cmpwi r4, 0x1400 +/* 8036B458 003683B8 40 81 00 0C */ ble lbl_8036B464 +/* 8036B45C 003683BC 38 80 14 00 */ li r4, 0x1400 +/* 8036B460 003683C0 B0 9C 00 04 */ sth r4, 4(r28) +lbl_8036B464: +/* 8036B464 003683C4 80 DC 00 00 */ lwz r6, 0(r28) +/* 8036B468 003683C8 7F C4 07 74 */ extsb r4, r30 +/* 8036B46C 003683CC A8 BC 00 04 */ lha r5, 4(r28) +/* 8036B470 003683D0 2C 04 00 01 */ cmpwi r4, 1 +/* 8036B474 003683D4 7C 86 00 D0 */ neg r4, r6 +/* 8036B478 003683D8 7C 84 36 70 */ srawi r4, r4, 6 +/* 8036B47C 003683DC 7C 84 32 14 */ add r4, r4, r6 +/* 8036B480 003683E0 7C 85 22 14 */ add r4, r5, r4 +/* 8036B484 003683E4 90 9C 00 00 */ stw r4, 0(r28) +/* 8036B488 003683E8 40 82 00 2C */ bne lbl_8036B4B4 +/* 8036B48C 003683EC 38 60 00 00 */ li r3, 0 +/* 8036B490 003683F0 B0 7C 00 0C */ sth r3, 0xc(r28) +/* 8036B494 003683F4 B0 7C 00 0E */ sth r3, 0xe(r28) +/* 8036B498 003683F8 B0 7C 00 10 */ sth r3, 0x10(r28) +/* 8036B49C 003683FC B0 7C 00 12 */ sth r3, 0x12(r28) +/* 8036B4A0 00368400 B0 7C 00 14 */ sth r3, 0x14(r28) +/* 8036B4A4 00368404 B0 7C 00 16 */ sth r3, 0x16(r28) +/* 8036B4A8 00368408 B0 7C 00 18 */ sth r3, 0x18(r28) +/* 8036B4AC 0036840C B0 7C 00 1A */ sth r3, 0x1a(r28) +/* 8036B4B0 00368410 48 00 02 10 */ b lbl_8036B6C0 +lbl_8036B4B4: +/* 8036B4B4 00368414 A8 DC 00 0E */ lha r6, 0xe(r28) +/* 8036B4B8 00368418 2C 09 00 00 */ cmpwi r9, 0 +/* 8036B4BC 0036841C A8 BC 00 1C */ lha r5, 0x1c(r28) +/* 8036B4C0 00368420 7C C4 3E 70 */ srawi r4, r6, 7 +/* 8036B4C4 00368424 7F A5 2A 78 */ xor r5, r29, r5 +/* 8036B4C8 00368428 7C 84 30 50 */ subf r4, r4, r6 +/* 8036B4CC 0036842C 7C A6 07 34 */ extsh r6, r5 +/* 8036B4D0 00368430 7C 9F 07 34 */ extsh r31, r4 +/* 8036B4D4 00368434 41 82 00 AC */ beq lbl_8036B580 +/* 8036B4D8 00368438 7C C4 07 35 */ extsh. r4, r6 +/* 8036B4DC 0036843C 41 82 00 0C */ beq lbl_8036B4E8 +/* 8036B4E0 00368440 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B4E4 00368444 48 00 00 0C */ b lbl_8036B4F0 +lbl_8036B4E8: +/* 8036B4E8 00368448 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B4EC 0036844C 7C 84 00 D0 */ neg r4, r4 +lbl_8036B4F0: +/* 8036B4F0 00368450 7C 84 07 34 */ extsh r4, r4 +/* 8036B4F4 00368454 2C 04 E0 01 */ cmpwi r4, -8191 +/* 8036B4F8 00368458 40 80 00 0C */ bge lbl_8036B504 +/* 8036B4FC 0036845C 3B FF FF 00 */ addi r31, r31, -256 +/* 8036B500 00368460 48 00 00 20 */ b lbl_8036B520 +lbl_8036B504: +/* 8036B504 00368464 2C 04 1F FF */ cmpwi r4, 0x1fff +/* 8036B508 00368468 40 81 00 0C */ ble lbl_8036B514 +/* 8036B50C 0036846C 3B FF 00 FF */ addi r31, r31, 0xff +/* 8036B510 00368470 48 00 00 10 */ b lbl_8036B520 +lbl_8036B514: +/* 8036B514 00368474 7C 84 2E 70 */ srawi r4, r4, 5 +/* 8036B518 00368478 7C 9F 22 14 */ add r4, r31, r4 +/* 8036B51C 0036847C 7C 9F 07 34 */ extsh r31, r4 +lbl_8036B520: +/* 8036B520 00368480 A8 9C 00 1E */ lha r4, 0x1e(r28) +/* 8036B524 00368484 7F A4 22 79 */ xor. r4, r29, r4 +/* 8036B528 00368488 41 82 00 30 */ beq lbl_8036B558 +/* 8036B52C 0036848C 7F E4 07 34 */ extsh r4, r31 +/* 8036B530 00368490 2C 04 D0 80 */ cmpwi r4, -12160 +/* 8036B534 00368494 41 81 00 0C */ bgt lbl_8036B540 +/* 8036B538 00368498 3B E0 D0 00 */ li r31, -12288 +/* 8036B53C 0036849C 48 00 00 44 */ b lbl_8036B580 +lbl_8036B540: +/* 8036B540 003684A0 2C 04 30 80 */ cmpwi r4, 0x3080 +/* 8036B544 003684A4 41 80 00 0C */ blt lbl_8036B550 +/* 8036B548 003684A8 3B E0 30 00 */ li r31, 0x3000 +/* 8036B54C 003684AC 48 00 00 34 */ b lbl_8036B580 +lbl_8036B550: +/* 8036B550 003684B0 3B FF FF 80 */ addi r31, r31, -128 +/* 8036B554 003684B4 48 00 00 2C */ b lbl_8036B580 +lbl_8036B558: +/* 8036B558 003684B8 7F E4 07 34 */ extsh r4, r31 +/* 8036B55C 003684BC 2C 04 CF 80 */ cmpwi r4, -12416 +/* 8036B560 003684C0 41 81 00 0C */ bgt lbl_8036B56C +/* 8036B564 003684C4 3B E0 D0 00 */ li r31, -12288 +/* 8036B568 003684C8 48 00 00 18 */ b lbl_8036B580 +lbl_8036B56C: +/* 8036B56C 003684CC 2C 04 2F 80 */ cmpwi r4, 0x2f80 +/* 8036B570 003684D0 41 80 00 0C */ blt lbl_8036B57C +/* 8036B574 003684D4 3B E0 30 00 */ li r31, 0x3000 +/* 8036B578 003684D8 48 00 00 08 */ b lbl_8036B580 +lbl_8036B57C: +/* 8036B57C 003684DC 3B FF 00 80 */ addi r31, r31, 0x80 +lbl_8036B580: +/* 8036B580 003684E0 B3 FC 00 0E */ sth r31, 0xe(r28) +/* 8036B584 003684E4 2C 09 00 00 */ cmpwi r9, 0 +/* 8036B588 003684E8 A8 BC 00 0C */ lha r5, 0xc(r28) +/* 8036B58C 003684EC 7C A4 46 70 */ srawi r4, r5, 8 +/* 8036B590 003684F0 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B594 003684F4 B0 9C 00 0C */ sth r4, 0xc(r28) +/* 8036B598 003684F8 41 82 00 28 */ beq lbl_8036B5C0 +/* 8036B59C 003684FC 7C C4 07 35 */ extsh. r4, r6 +/* 8036B5A0 00368500 40 82 00 14 */ bne lbl_8036B5B4 +/* 8036B5A4 00368504 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B5A8 00368508 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 8036B5AC 0036850C B0 9C 00 0C */ sth r4, 0xc(r28) +/* 8036B5B0 00368510 48 00 00 10 */ b lbl_8036B5C0 +lbl_8036B5B4: +/* 8036B5B4 00368514 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B5B8 00368518 38 84 FF 40 */ addi r4, r4, -192 +/* 8036B5BC 0036851C B0 9C 00 0C */ sth r4, 0xc(r28) +lbl_8036B5C0: +/* 8036B5C0 00368520 20 9F 3C 00 */ subfic r4, r31, 0x3c00 +/* 8036B5C4 00368524 A8 BC 00 0C */ lha r5, 0xc(r28) +/* 8036B5C8 00368528 7C 86 07 34 */ extsh r6, r4 +/* 8036B5CC 0036852C 7C 86 00 D0 */ neg r4, r6 +/* 8036B5D0 00368530 7C 05 20 00 */ cmpw r5, r4 +/* 8036B5D4 00368534 40 80 00 0C */ bge lbl_8036B5E0 +/* 8036B5D8 00368538 B0 9C 00 0C */ sth r4, 0xc(r28) +/* 8036B5DC 0036853C 48 00 00 10 */ b lbl_8036B5EC +lbl_8036B5E0: +/* 8036B5E0 00368540 7C 05 30 00 */ cmpw r5, r6 +/* 8036B5E4 00368544 40 81 00 08 */ ble lbl_8036B5EC +/* 8036B5E8 00368548 B0 DC 00 0C */ sth r6, 0xc(r28) +lbl_8036B5EC: +/* 8036B5EC 0036854C 38 80 00 03 */ li r4, 3 +/* 8036B5F0 00368550 7F 86 E3 78 */ mr r6, r28 +/* 8036B5F4 00368554 38 E0 00 00 */ li r7, 0 +/* 8036B5F8 00368558 7C 89 03 A6 */ mtctr r4 +lbl_8036B5FC: +/* 8036B5FC 0036855C 2C 03 00 05 */ cmpwi r3, 5 +/* 8036B600 00368560 40 82 00 18 */ bne lbl_8036B618 +/* 8036B604 00368564 A8 A6 00 10 */ lha r5, 0x10(r6) +/* 8036B608 00368568 7C A4 4E 70 */ srawi r4, r5, 9 +/* 8036B60C 0036856C 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B610 00368570 B0 86 00 10 */ sth r4, 0x10(r6) +/* 8036B614 00368574 48 00 00 14 */ b lbl_8036B628 +lbl_8036B618: +/* 8036B618 00368578 A8 A6 00 10 */ lha r5, 0x10(r6) +/* 8036B61C 0036857C 7C A4 46 70 */ srawi r4, r5, 8 +/* 8036B620 00368580 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B624 00368584 B0 86 00 10 */ sth r4, 0x10(r6) +lbl_8036B628: +/* 8036B628 00368588 2C 00 00 00 */ cmpwi r0, 0 +/* 8036B62C 0036858C 41 82 00 2C */ beq lbl_8036B658 +/* 8036B630 00368590 A8 86 00 20 */ lha r4, 0x20(r6) +/* 8036B634 00368594 7F 44 22 79 */ xor. r4, r26, r4 +/* 8036B638 00368598 41 80 00 14 */ blt lbl_8036B64C +/* 8036B63C 0036859C A8 86 00 10 */ lha r4, 0x10(r6) +/* 8036B640 003685A0 38 84 00 80 */ addi r4, r4, 0x80 +/* 8036B644 003685A4 B0 86 00 10 */ sth r4, 0x10(r6) +/* 8036B648 003685A8 48 00 00 10 */ b lbl_8036B658 +lbl_8036B64C: +/* 8036B64C 003685AC A8 86 00 10 */ lha r4, 0x10(r6) +/* 8036B650 003685B0 38 84 FF 80 */ addi r4, r4, -128 +/* 8036B654 003685B4 B0 86 00 10 */ sth r4, 0x10(r6) +lbl_8036B658: +/* 8036B658 003685B8 2C 03 00 05 */ cmpwi r3, 5 +/* 8036B65C 003685BC 40 82 00 18 */ bne lbl_8036B674 +/* 8036B660 003685C0 A8 A6 00 12 */ lha r5, 0x12(r6) +/* 8036B664 003685C4 7C A4 4E 70 */ srawi r4, r5, 9 +/* 8036B668 003685C8 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B66C 003685CC B0 86 00 12 */ sth r4, 0x12(r6) +/* 8036B670 003685D0 48 00 00 14 */ b lbl_8036B684 +lbl_8036B674: +/* 8036B674 003685D4 A8 A6 00 12 */ lha r5, 0x12(r6) +/* 8036B678 003685D8 7C A4 46 70 */ srawi r4, r5, 8 +/* 8036B67C 003685DC 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B680 003685E0 B0 86 00 12 */ sth r4, 0x12(r6) +lbl_8036B684: +/* 8036B684 003685E4 2C 00 00 00 */ cmpwi r0, 0 +/* 8036B688 003685E8 41 82 00 2C */ beq lbl_8036B6B4 +/* 8036B68C 003685EC A8 86 00 22 */ lha r4, 0x22(r6) +/* 8036B690 003685F0 7F 44 22 79 */ xor. r4, r26, r4 +/* 8036B694 003685F4 41 80 00 14 */ blt lbl_8036B6A8 +/* 8036B698 003685F8 A8 86 00 12 */ lha r4, 0x12(r6) +/* 8036B69C 003685FC 38 84 00 80 */ addi r4, r4, 0x80 +/* 8036B6A0 00368600 B0 86 00 12 */ sth r4, 0x12(r6) +/* 8036B6A4 00368604 48 00 00 10 */ b lbl_8036B6B4 +lbl_8036B6A8: +/* 8036B6A8 00368608 A8 86 00 12 */ lha r4, 0x12(r6) +/* 8036B6AC 0036860C 38 84 FF 80 */ addi r4, r4, -128 +/* 8036B6B0 00368610 B0 86 00 12 */ sth r4, 0x12(r6) +lbl_8036B6B4: +/* 8036B6B4 00368614 38 C6 00 04 */ addi r6, r6, 4 +/* 8036B6B8 00368618 38 E7 00 01 */ addi r7, r7, 1 +/* 8036B6BC 0036861C 42 00 FF 40 */ bdnz lbl_8036B5FC +lbl_8036B6C0: +/* 8036B6C0 00368620 A8 9C 00 28 */ lha r4, 0x28(r28) +/* 8036B6C4 00368624 7C 03 07 35 */ extsh. r3, r0 +/* 8036B6C8 00368628 B0 9C 00 2A */ sth r4, 0x2a(r28) +/* 8036B6CC 0036862C A8 9C 00 26 */ lha r4, 0x26(r28) +/* 8036B6D0 00368630 B0 9C 00 28 */ sth r4, 0x28(r28) +/* 8036B6D4 00368634 A8 9C 00 24 */ lha r4, 0x24(r28) +/* 8036B6D8 00368638 B0 9C 00 26 */ sth r4, 0x26(r28) +/* 8036B6DC 0036863C A8 9C 00 22 */ lha r4, 0x22(r28) +/* 8036B6E0 00368640 B0 9C 00 24 */ sth r4, 0x24(r28) +/* 8036B6E4 00368644 A8 9C 00 20 */ lha r4, 0x20(r28) +/* 8036B6E8 00368648 B0 9C 00 22 */ sth r4, 0x22(r28) +/* 8036B6EC 0036864C 40 82 00 20 */ bne lbl_8036B70C +/* 8036B6F0 00368650 2C 1A 00 00 */ cmpwi r26, 0 +/* 8036B6F4 00368654 3C 60 00 01 */ lis r3, 0x0000FC20@ha +/* 8036B6F8 00368658 38 03 FC 20 */ addi r0, r3, 0x0000FC20@l +/* 8036B6FC 0036865C 41 80 00 08 */ blt lbl_8036B704 +/* 8036B700 00368660 38 00 00 20 */ li r0, 0x20 +lbl_8036B704: +/* 8036B704 00368664 B0 1C 00 20 */ sth r0, 0x20(r28) +/* 8036B708 00368668 48 00 00 54 */ b lbl_8036B75C +lbl_8036B70C: +/* 8036B70C 0036866C 3C 60 80 3F */ lis r3, lbl_803EF840@ha +/* 8036B710 00368670 7C 17 07 34 */ extsh r23, r0 +/* 8036B714 00368674 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l +/* 8036B718 00368678 38 A0 00 0F */ li r5, 0xf +/* 8036B71C 0036867C 7E E3 BB 78 */ mr r3, r23 +/* 8036B720 00368680 48 00 04 E5 */ bl quan__FiPsi +/* 8036B724 00368684 2C 1A 00 00 */ cmpwi r26, 0 +/* 8036B728 00368688 7C 65 07 34 */ extsh r5, r3 +/* 8036B72C 0036868C 41 80 00 18 */ blt lbl_8036B744 +/* 8036B730 00368690 56 E0 30 32 */ slwi r0, r23, 6 +/* 8036B734 00368694 54 A3 30 32 */ slwi r3, r5, 6 +/* 8036B738 00368698 7C 00 2E 30 */ sraw r0, r0, r5 +/* 8036B73C 0036869C 7C 03 02 14 */ add r0, r3, r0 +/* 8036B740 003686A0 48 00 00 18 */ b lbl_8036B758 +lbl_8036B744: +/* 8036B744 003686A4 56 E0 30 32 */ slwi r0, r23, 6 +/* 8036B748 003686A8 54 A4 30 32 */ slwi r4, r5, 6 +/* 8036B74C 003686AC 7C 03 2E 30 */ sraw r3, r0, r5 +/* 8036B750 003686B0 38 03 FC 00 */ addi r0, r3, -1024 +/* 8036B754 003686B4 7C 04 02 14 */ add r0, r4, r0 +lbl_8036B758: +/* 8036B758 003686B8 B0 1C 00 20 */ sth r0, 0x20(r28) +lbl_8036B75C: +/* 8036B75C 003686BC A8 1C 00 2C */ lha r0, 0x2c(r28) +/* 8036B760 003686C0 2C 1B 00 00 */ cmpwi r27, 0 +/* 8036B764 003686C4 B0 1C 00 2E */ sth r0, 0x2e(r28) +/* 8036B768 003686C8 40 82 00 10 */ bne lbl_8036B778 +/* 8036B76C 003686CC 38 00 00 20 */ li r0, 0x20 +/* 8036B770 003686D0 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036B774 003686D4 48 00 00 84 */ b lbl_8036B7F8 +lbl_8036B778: +/* 8036B778 003686D8 40 81 00 34 */ ble lbl_8036B7AC +/* 8036B77C 003686DC 3C 80 80 3F */ lis r4, lbl_803EF840@ha +/* 8036B780 003686E0 7F 63 DB 78 */ mr r3, r27 +/* 8036B784 003686E4 38 84 F8 40 */ addi r4, r4, lbl_803EF840@l +/* 8036B788 003686E8 38 A0 00 0F */ li r5, 0xf +/* 8036B78C 003686EC 48 00 04 79 */ bl quan__FiPsi +/* 8036B790 003686F0 7C 64 07 34 */ extsh r4, r3 +/* 8036B794 003686F4 57 60 30 32 */ slwi r0, r27, 6 +/* 8036B798 003686F8 54 83 30 32 */ slwi r3, r4, 6 +/* 8036B79C 003686FC 7C 00 26 30 */ sraw r0, r0, r4 +/* 8036B7A0 00368700 7C 03 02 14 */ add r0, r3, r0 +/* 8036B7A4 00368704 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036B7A8 00368708 48 00 00 50 */ b lbl_8036B7F8 +lbl_8036B7AC: +/* 8036B7AC 0036870C 2C 1B 80 00 */ cmpwi r27, -32768 +/* 8036B7B0 00368710 40 81 00 40 */ ble lbl_8036B7F0 +/* 8036B7B4 00368714 7C 1B 00 D0 */ neg r0, r27 +/* 8036B7B8 00368718 3C 60 80 3F */ lis r3, lbl_803EF840@ha +/* 8036B7BC 0036871C 7C 1A 07 34 */ extsh r26, r0 +/* 8036B7C0 00368720 38 A0 00 0F */ li r5, 0xf +/* 8036B7C4 00368724 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l +/* 8036B7C8 00368728 7F 43 D3 78 */ mr r3, r26 +/* 8036B7CC 0036872C 48 00 04 39 */ bl quan__FiPsi +/* 8036B7D0 00368730 7C 64 07 34 */ extsh r4, r3 +/* 8036B7D4 00368734 57 40 30 32 */ slwi r0, r26, 6 +/* 8036B7D8 00368738 7C 03 26 30 */ sraw r3, r0, r4 +/* 8036B7DC 0036873C 54 84 30 32 */ slwi r4, r4, 6 +/* 8036B7E0 00368740 38 03 FC 00 */ addi r0, r3, -1024 +/* 8036B7E4 00368744 7C 04 02 14 */ add r0, r4, r0 +/* 8036B7E8 00368748 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036B7EC 0036874C 48 00 00 0C */ b lbl_8036B7F8 +lbl_8036B7F0: +/* 8036B7F0 00368750 38 00 FC 20 */ li r0, -992 +/* 8036B7F4 00368754 B0 1C 00 2C */ sth r0, 0x2c(r28) +lbl_8036B7F8: +/* 8036B7F8 00368758 A8 7C 00 1C */ lha r3, 0x1c(r28) +/* 8036B7FC 0036875C 7F C0 07 74 */ extsb r0, r30 +/* 8036B800 00368760 2C 00 00 01 */ cmpwi r0, 1 +/* 8036B804 00368764 B0 7C 00 1E */ sth r3, 0x1e(r28) +/* 8036B808 00368768 B3 BC 00 1C */ sth r29, 0x1c(r28) +/* 8036B80C 0036876C 40 82 00 10 */ bne lbl_8036B81C +/* 8036B810 00368770 38 00 00 00 */ li r0, 0 +/* 8036B814 00368774 98 1C 00 30 */ stb r0, 0x30(r28) +/* 8036B818 00368778 48 00 00 24 */ b lbl_8036B83C +lbl_8036B81C: +/* 8036B81C 0036877C 7F E0 07 34 */ extsh r0, r31 +/* 8036B820 00368780 2C 00 D2 00 */ cmpwi r0, -11776 +/* 8036B824 00368784 40 80 00 10 */ bge lbl_8036B834 +/* 8036B828 00368788 38 00 00 01 */ li r0, 1 +/* 8036B82C 0036878C 98 1C 00 30 */ stb r0, 0x30(r28) +/* 8036B830 00368790 48 00 00 0C */ b lbl_8036B83C +lbl_8036B834: +/* 8036B834 00368794 38 00 00 00 */ li r0, 0 +/* 8036B838 00368798 98 1C 00 30 */ stb r0, 0x30(r28) +lbl_8036B83C: +/* 8036B83C 0036879C A8 BC 00 06 */ lha r5, 6(r28) +/* 8036B840 003687A0 7F C0 07 74 */ extsb r0, r30 +/* 8036B844 003687A4 2C 00 00 01 */ cmpwi r0, 1 +/* 8036B848 003687A8 57 23 10 3A */ slwi r3, r25, 2 +/* 8036B84C 003687AC 7C 85 C8 50 */ subf r4, r5, r25 +/* 8036B850 003687B0 7C 80 2E 70 */ srawi r0, r4, 5 +/* 8036B854 003687B4 7C 05 02 14 */ add r0, r5, r0 +/* 8036B858 003687B8 B0 1C 00 06 */ sth r0, 6(r28) +/* 8036B85C 003687BC A8 9C 00 08 */ lha r4, 8(r28) +/* 8036B860 003687C0 7C 04 18 50 */ subf r0, r4, r3 +/* 8036B864 003687C4 7C 00 3E 70 */ srawi r0, r0, 7 +/* 8036B868 003687C8 7C 04 02 14 */ add r0, r4, r0 +/* 8036B86C 003687CC B0 1C 00 08 */ sth r0, 8(r28) +/* 8036B870 003687D0 40 82 00 10 */ bne lbl_8036B880 +/* 8036B874 003687D4 38 00 01 00 */ li r0, 0x100 +/* 8036B878 003687D8 B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B87C 003687DC 48 00 00 98 */ b lbl_8036B914 +lbl_8036B880: +/* 8036B880 003687E0 2C 18 06 00 */ cmpwi r24, 0x600 +/* 8036B884 003687E4 40 80 00 1C */ bge lbl_8036B8A0 +/* 8036B888 003687E8 A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B88C 003687EC 20 03 02 00 */ subfic r0, r3, 0x200 +/* 8036B890 003687F0 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B894 003687F4 7C 03 02 14 */ add r0, r3, r0 +/* 8036B898 003687F8 B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B89C 003687FC 48 00 00 78 */ b lbl_8036B914 +lbl_8036B8A0: +/* 8036B8A0 00368800 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8036B8A4 00368804 2C 00 00 01 */ cmpwi r0, 1 +/* 8036B8A8 00368808 40 82 00 1C */ bne lbl_8036B8C4 +/* 8036B8AC 0036880C A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B8B0 00368810 20 03 02 00 */ subfic r0, r3, 0x200 +/* 8036B8B4 00368814 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B8B8 00368818 7C 03 02 14 */ add r0, r3, r0 +/* 8036B8BC 0036881C B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B8C0 00368820 48 00 00 54 */ b lbl_8036B914 +lbl_8036B8C4: +/* 8036B8C4 00368824 A8 1C 00 06 */ lha r0, 6(r28) +/* 8036B8C8 00368828 A8 7C 00 08 */ lha r3, 8(r28) +/* 8036B8CC 0036882C 54 00 10 3A */ slwi r0, r0, 2 +/* 8036B8D0 00368830 7C 63 00 50 */ subf r3, r3, r0 +/* 8036B8D4 00368834 48 02 15 49 */ bl abs +/* 8036B8D8 00368838 A8 1C 00 08 */ lha r0, 8(r28) +/* 8036B8DC 0036883C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8036B8E0 00368840 7C 03 00 00 */ cmpw r3, r0 +/* 8036B8E4 00368844 41 80 00 1C */ blt lbl_8036B900 +/* 8036B8E8 00368848 A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B8EC 0036884C 20 03 02 00 */ subfic r0, r3, 0x200 +/* 8036B8F0 00368850 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B8F4 00368854 7C 03 02 14 */ add r0, r3, r0 +/* 8036B8F8 00368858 B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B8FC 0036885C 48 00 00 18 */ b lbl_8036B914 +lbl_8036B900: +/* 8036B900 00368860 A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B904 00368864 7C 03 00 D0 */ neg r0, r3 +/* 8036B908 00368868 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B90C 0036886C 7C 03 02 14 */ add r0, r3, r0 +/* 8036B910 00368870 B0 1C 00 0A */ sth r0, 0xa(r28) +lbl_8036B914: +/* 8036B914 00368874 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 8036B918 00368878 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036B91C 0036887C 7C 08 03 A6 */ mtlr r0 +/* 8036B920 00368880 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036B924 00368884 4E 80 00 20 */ blr + +.global reconstruct__Fiii +reconstruct__Fiii: +/* 8036B928 00368888 7C A0 16 70 */ srawi r0, r5, 2 +/* 8036B92C 0036888C 7C 04 02 14 */ add r0, r4, r0 +/* 8036B930 00368890 7C 00 07 35 */ extsh. r0, r0 +/* 8036B934 00368894 40 80 00 1C */ bge lbl_8036B950 +/* 8036B938 00368898 7C 83 00 D0 */ neg r4, r3 +/* 8036B93C 0036889C 38 00 80 00 */ li r0, -32768 +/* 8036B940 003688A0 7C 83 1B 78 */ or r3, r4, r3 +/* 8036B944 003688A4 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 8036B948 003688A8 7C 03 18 38 */ and r3, r0, r3 +/* 8036B94C 003688AC 4E 80 00 20 */ blr +lbl_8036B950: +/* 8036B950 003688B0 54 04 06 7E */ clrlwi r4, r0, 0x19 +/* 8036B954 003688B4 54 00 CF 3E */ rlwinm r0, r0, 0x19, 0x1c, 0x1f +/* 8036B958 003688B8 38 84 00 80 */ addi r4, r4, 0x80 +/* 8036B95C 003688BC 2C 03 00 00 */ cmpwi r3, 0 +/* 8036B960 003688C0 7C 83 07 34 */ extsh r3, r4 +/* 8036B964 003688C4 7C 00 07 34 */ extsh r0, r0 +/* 8036B968 003688C8 54 63 38 30 */ slwi r3, r3, 7 +/* 8036B96C 003688CC 20 00 00 0E */ subfic r0, r0, 0xe +/* 8036B970 003688D0 7C 60 06 30 */ sraw r0, r3, r0 +/* 8036B974 003688D4 7C 03 07 34 */ extsh r3, r0 +/* 8036B978 003688D8 4D 82 00 20 */ beqlr +/* 8036B97C 003688DC 38 63 80 00 */ addi r3, r3, -32768 +/* 8036B980 003688E0 4E 80 00 20 */ blr + +.global step_size__FP10g72x_state +step_size__FP10g72x_state: +/* 8036B984 003688E4 A8 A3 00 0A */ lha r5, 0xa(r3) +/* 8036B988 003688E8 2C 05 01 00 */ cmpwi r5, 0x100 +/* 8036B98C 003688EC 41 80 00 0C */ blt lbl_8036B998 +/* 8036B990 003688F0 A8 63 00 04 */ lha r3, 4(r3) +/* 8036B994 003688F4 4E 80 00 20 */ blr +lbl_8036B998: +/* 8036B998 003688F8 80 83 00 00 */ lwz r4, 0(r3) +/* 8036B99C 003688FC A8 03 00 04 */ lha r0, 4(r3) +/* 8036B9A0 00368900 7C 83 36 70 */ srawi r3, r4, 6 +/* 8036B9A4 00368904 7C 03 00 51 */ subf. r0, r3, r0 +/* 8036B9A8 00368908 7C A4 16 70 */ srawi r4, r5, 2 +/* 8036B9AC 0036890C 40 81 00 14 */ ble lbl_8036B9C0 +/* 8036B9B0 00368910 7C 00 21 D6 */ mullw r0, r0, r4 +/* 8036B9B4 00368914 7C 00 36 70 */ srawi r0, r0, 6 +/* 8036B9B8 00368918 7C 63 02 14 */ add r3, r3, r0 +/* 8036B9BC 0036891C 4E 80 00 20 */ blr +lbl_8036B9C0: +/* 8036B9C0 00368920 4C 80 00 20 */ bgelr +/* 8036B9C4 00368924 7C 80 21 D6 */ mullw r4, r0, r4 +/* 8036B9C8 00368928 38 04 00 3F */ addi r0, r4, 0x3f +/* 8036B9CC 0036892C 7C 00 36 70 */ srawi r0, r0, 6 +/* 8036B9D0 00368930 7C 63 02 14 */ add r3, r3, r0 +/* 8036B9D4 00368934 4E 80 00 20 */ blr + +.global predictor_pole__FP10g72x_state +predictor_pole__FP10g72x_state: +/* 8036B9D8 00368938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036B9DC 0036893C 7C 08 02 A6 */ mflr r0 +/* 8036B9E0 00368940 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B9E4 00368944 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036B9E8 00368948 93 C1 00 08 */ stw r30, 8(r1) +/* 8036B9EC 0036894C 7C 7E 1B 78 */ mr r30, r3 +/* 8036B9F0 00368950 A8 03 00 0C */ lha r0, 0xc(r3) +/* 8036B9F4 00368954 A8 83 00 2C */ lha r4, 0x2c(r3) +/* 8036B9F8 00368958 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036B9FC 0036895C 48 00 01 29 */ bl fmult__Fii +/* 8036BA00 00368960 A8 1E 00 0E */ lha r0, 0xe(r30) +/* 8036BA04 00368964 7C 7F 1B 78 */ mr r31, r3 +/* 8036BA08 00368968 A8 9E 00 2E */ lha r4, 0x2e(r30) +/* 8036BA0C 0036896C 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036BA10 00368970 48 00 01 15 */ bl fmult__Fii +/* 8036BA14 00368974 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036BA18 00368978 7C 63 FA 14 */ add r3, r3, r31 +/* 8036BA1C 0036897C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036BA20 00368980 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036BA24 00368984 7C 08 03 A6 */ mtlr r0 +/* 8036BA28 00368988 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036BA2C 0036898C 4E 80 00 20 */ blr + +.global predictor_zero__FP10g72x_state +predictor_zero__FP10g72x_state: +/* 8036BA30 00368990 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036BA34 00368994 7C 08 02 A6 */ mflr r0 +/* 8036BA38 00368998 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036BA3C 0036899C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036BA40 003689A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036BA44 003689A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036BA48 003689A8 7C 7D 1B 78 */ mr r29, r3 +/* 8036BA4C 003689AC A8 03 00 10 */ lha r0, 0x10(r3) +/* 8036BA50 003689B0 A8 83 00 20 */ lha r4, 0x20(r3) +/* 8036BA54 003689B4 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036BA58 003689B8 48 00 00 CD */ bl fmult__Fii +/* 8036BA5C 003689BC 3B FD 00 02 */ addi r31, r29, 2 +/* 8036BA60 003689C0 7C 7D 1B 78 */ mr r29, r3 +/* 8036BA64 003689C4 3B C0 00 01 */ li r30, 1 +lbl_8036BA68: +/* 8036BA68 003689C8 A8 1F 00 10 */ lha r0, 0x10(r31) +/* 8036BA6C 003689CC A8 9F 00 20 */ lha r4, 0x20(r31) +/* 8036BA70 003689D0 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036BA74 003689D4 48 00 00 B1 */ bl fmult__Fii +/* 8036BA78 003689D8 3B DE 00 01 */ addi r30, r30, 1 +/* 8036BA7C 003689DC 7F BD 1A 14 */ add r29, r29, r3 +/* 8036BA80 003689E0 2C 1E 00 06 */ cmpwi r30, 6 +/* 8036BA84 003689E4 3B FF 00 02 */ addi r31, r31, 2 +/* 8036BA88 003689E8 41 80 FF E0 */ blt lbl_8036BA68 +/* 8036BA8C 003689EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036BA90 003689F0 7F A3 EB 78 */ mr r3, r29 +/* 8036BA94 003689F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036BA98 003689F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036BA9C 003689FC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036BAA0 00368A00 7C 08 03 A6 */ mtlr r0 +/* 8036BAA4 00368A04 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036BAA8 00368A08 4E 80 00 20 */ blr + +.global g72x_init_state__FP10g72x_state +g72x_init_state__FP10g72x_state: +/* 8036BAAC 00368A0C 3C 80 00 01 */ lis r4, 0x00008800@ha +/* 8036BAB0 00368A10 38 A0 02 20 */ li r5, 0x220 +/* 8036BAB4 00368A14 38 04 88 00 */ addi r0, r4, 0x00008800@l +/* 8036BAB8 00368A18 38 80 00 00 */ li r4, 0 +/* 8036BABC 00368A1C 90 03 00 00 */ stw r0, 0(r3) +/* 8036BAC0 00368A20 38 00 00 20 */ li r0, 0x20 +/* 8036BAC4 00368A24 B0 A3 00 04 */ sth r5, 4(r3) +/* 8036BAC8 00368A28 B0 83 00 06 */ sth r4, 6(r3) +/* 8036BACC 00368A2C B0 83 00 08 */ sth r4, 8(r3) +/* 8036BAD0 00368A30 B0 83 00 0A */ sth r4, 0xa(r3) +/* 8036BAD4 00368A34 B0 83 00 0C */ sth r4, 0xc(r3) +/* 8036BAD8 00368A38 B0 83 00 1C */ sth r4, 0x1c(r3) +/* 8036BADC 00368A3C B0 03 00 2C */ sth r0, 0x2c(r3) +/* 8036BAE0 00368A40 B0 83 00 0E */ sth r4, 0xe(r3) +/* 8036BAE4 00368A44 B0 83 00 1E */ sth r4, 0x1e(r3) +/* 8036BAE8 00368A48 B0 03 00 2E */ sth r0, 0x2e(r3) +/* 8036BAEC 00368A4C B0 83 00 10 */ sth r4, 0x10(r3) +/* 8036BAF0 00368A50 B0 03 00 20 */ sth r0, 0x20(r3) +/* 8036BAF4 00368A54 B0 83 00 12 */ sth r4, 0x12(r3) +/* 8036BAF8 00368A58 B0 03 00 22 */ sth r0, 0x22(r3) +/* 8036BAFC 00368A5C B0 83 00 14 */ sth r4, 0x14(r3) +/* 8036BB00 00368A60 B0 03 00 24 */ sth r0, 0x24(r3) +/* 8036BB04 00368A64 B0 83 00 16 */ sth r4, 0x16(r3) +/* 8036BB08 00368A68 B0 03 00 26 */ sth r0, 0x26(r3) +/* 8036BB0C 00368A6C B0 83 00 18 */ sth r4, 0x18(r3) +/* 8036BB10 00368A70 B0 03 00 28 */ sth r0, 0x28(r3) +/* 8036BB14 00368A74 B0 83 00 1A */ sth r4, 0x1a(r3) +/* 8036BB18 00368A78 B0 03 00 2A */ sth r0, 0x2a(r3) +/* 8036BB1C 00368A7C 98 83 00 30 */ stb r4, 0x30(r3) +/* 8036BB20 00368A80 4E 80 00 20 */ blr + +.global fmult__Fii +fmult__Fii: +/* 8036BB24 00368A84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036BB28 00368A88 7C 08 02 A6 */ mflr r0 +/* 8036BB2C 00368A8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036BB30 00368A90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036BB34 00368A94 7C 9F 23 78 */ mr r31, r4 +/* 8036BB38 00368A98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036BB3C 00368A9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036BB40 00368AA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036BB44 00368AA4 7C 1E 00 D0 */ neg r0, r30 +/* 8036BB48 00368AA8 54 00 04 FE */ clrlwi r0, r0, 0x13 +/* 8036BB4C 00368AAC 40 81 00 08 */ ble lbl_8036BB54 +/* 8036BB50 00368AB0 7F C0 F3 78 */ mr r0, r30 +lbl_8036BB54: +/* 8036BB54 00368AB4 3C 60 80 3F */ lis r3, lbl_803EF840@ha +/* 8036BB58 00368AB8 7C 1D 07 34 */ extsh r29, r0 +/* 8036BB5C 00368ABC 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l +/* 8036BB60 00368AC0 38 A0 00 0F */ li r5, 0xf +/* 8036BB64 00368AC4 7F A3 EB 78 */ mr r3, r29 +/* 8036BB68 00368AC8 48 00 00 9D */ bl quan__FiPsi +/* 8036BB6C 00368ACC 7F A0 07 35 */ extsh. r0, r29 +/* 8036BB70 00368AD0 38 03 FF FA */ addi r0, r3, -6 +/* 8036BB74 00368AD4 7C 05 07 34 */ extsh r5, r0 +/* 8036BB78 00368AD8 40 82 00 0C */ bne lbl_8036BB84 +/* 8036BB7C 00368ADC 38 00 00 20 */ li r0, 0x20 +/* 8036BB80 00368AE0 48 00 00 18 */ b lbl_8036BB98 +lbl_8036BB84: +/* 8036BB84 00368AE4 7C A0 07 35 */ extsh. r0, r5 +/* 8036BB88 00368AE8 7C 05 00 D0 */ neg r0, r5 +/* 8036BB8C 00368AEC 7F A0 00 30 */ slw r0, r29, r0 +/* 8036BB90 00368AF0 41 80 00 08 */ blt lbl_8036BB98 +/* 8036BB94 00368AF4 7F A0 2E 30 */ sraw r0, r29, r5 +lbl_8036BB98: +/* 8036BB98 00368AF8 7C 03 07 34 */ extsh r3, r0 +/* 8036BB9C 00368AFC 57 E0 06 BE */ clrlwi r0, r31, 0x1a +/* 8036BBA0 00368B00 7C 60 19 D6 */ mullw r3, r0, r3 +/* 8036BBA4 00368B04 57 E4 D7 3E */ rlwinm r4, r31, 0x1a, 0x1c, 0x1f +/* 8036BBA8 00368B08 38 04 FF F3 */ addi r0, r4, -13 +/* 8036BBAC 00368B0C 7C 05 02 14 */ add r0, r5, r0 +/* 8036BBB0 00368B10 7C 04 07 35 */ extsh. r4, r0 +/* 8036BBB4 00368B14 38 03 00 30 */ addi r0, r3, 0x30 +/* 8036BBB8 00368B18 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036BBBC 00368B1C 7C 05 07 34 */ extsh r5, r0 +/* 8036BBC0 00368B20 7C 04 00 D0 */ neg r0, r4 +/* 8036BBC4 00368B24 7C A3 06 30 */ sraw r3, r5, r0 +/* 8036BBC8 00368B28 41 80 00 0C */ blt lbl_8036BBD4 +/* 8036BBCC 00368B2C 7C A0 20 30 */ slw r0, r5, r4 +/* 8036BBD0 00368B30 54 03 04 7E */ clrlwi r3, r0, 0x11 +lbl_8036BBD4: +/* 8036BBD4 00368B34 7F C0 FA 79 */ xor. r0, r30, r31 +/* 8036BBD8 00368B38 7C 60 07 34 */ extsh r0, r3 +/* 8036BBDC 00368B3C 7C 03 03 78 */ mr r3, r0 +/* 8036BBE0 00368B40 40 80 00 08 */ bge lbl_8036BBE8 +/* 8036BBE4 00368B44 7C 60 00 D0 */ neg r3, r0 +lbl_8036BBE8: +/* 8036BBE8 00368B48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036BBEC 00368B4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036BBF0 00368B50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036BBF4 00368B54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036BBF8 00368B58 7C 08 03 A6 */ mtlr r0 +/* 8036BBFC 00368B5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036BC00 00368B60 4E 80 00 20 */ blr + +.global quan__FiPsi +quan__FiPsi: +/* 8036BC04 00368B64 38 C0 00 00 */ li r6, 0 +/* 8036BC08 00368B68 7C A9 03 A6 */ mtctr r5 +/* 8036BC0C 00368B6C 2C 05 00 00 */ cmpwi r5, 0 +/* 8036BC10 00368B70 40 81 00 1C */ ble lbl_8036BC2C +lbl_8036BC14: +/* 8036BC14 00368B74 A8 04 00 00 */ lha r0, 0(r4) +/* 8036BC18 00368B78 38 84 00 02 */ addi r4, r4, 2 +/* 8036BC1C 00368B7C 7C 03 00 00 */ cmpw r3, r0 +/* 8036BC20 00368B80 41 80 00 0C */ blt lbl_8036BC2C +/* 8036BC24 00368B84 38 C6 00 01 */ addi r6, r6, 1 +/* 8036BC28 00368B88 42 00 FF EC */ bdnz lbl_8036BC14 +lbl_8036BC2C: +/* 8036BC2C 00368B8C 7C C3 33 78 */ mr r3, r6 +/* 8036BC30 00368B90 4E 80 00 20 */ blr + +.global SetVolume__18CStaticAudioPlayerFc +SetVolume__18CStaticAudioPlayerFc: +/* 8036BC34 00368B94 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8036BC38 00368B98 28 00 00 7F */ cmplwi r0, 0x7f +/* 8036BC3C 00368B9C 40 81 00 08 */ ble lbl_8036BC44 +/* 8036BC40 00368BA0 38 80 00 7F */ li r4, 0x7f +lbl_8036BC44: +/* 8036BC44 00368BA4 3C A0 80 3E */ lis r5, lbl_803D8110@ha +/* 8036BC48 00368BA8 54 80 0D FC */ rlwinm r0, r4, 1, 0x17, 0x1e +/* 8036BC4C 00368BAC 38 85 81 10 */ addi r4, r5, lbl_803D8110@l +/* 8036BC50 00368BB0 7C 04 02 2E */ lhzx r0, r4, r0 +/* 8036BC54 00368BB4 B0 03 00 C0 */ sth r0, 0xc0(r3) +/* 8036BC58 00368BB8 4E 80 00 20 */ blr + +.global DecodeMonoAndMix__18CStaticAudioPlayerCFv +DecodeMonoAndMix__18CStaticAudioPlayerCFv: +/* 8036BC5C 00368BBC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8036BC60 00368BC0 7C 08 02 A6 */ mflr r0 +/* 8036BC64 00368BC4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8036BC68 00368BC8 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 8036BC6C 00368BCC 7C 00 32 14 */ add r0, r0, r6 +/* 8036BC70 00368BD0 BE 81 00 20 */ stmw r20, 0x20(r1) +/* 8036BC74 00368BD4 7C 75 1B 78 */ mr r21, r3 +/* 8036BC78 00368BD8 83 01 00 58 */ lwz r24, 0x58(r1) +/* 8036BC7C 00368BDC 7D 16 43 78 */ mr r22, r8 +/* 8036BC80 00368BE0 7D 57 53 78 */ mr r23, r10 +/* 8036BC84 00368BE4 7C FD 3B 78 */ mr r29, r7 +/* 8036BC88 00368BE8 7C BC 2B 78 */ mr r28, r5 +/* 8036BC8C 00368BEC 7C 9B 23 78 */ mr r27, r4 +/* 8036BC90 00368BF0 7D 3F 4B 78 */ mr r31, r9 +/* 8036BC94 00368BF4 7C 1E 0E 70 */ srawi r30, r0, 1 +/* 8036BC98 00368BF8 48 00 01 3C */ b lbl_8036BDD4 +lbl_8036BC9C: +/* 8036BC9C 00368BFC 7F A0 8E 70 */ srawi r0, r29, 0x11 +/* 8036BCA0 00368C00 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8036BCA4 00368C04 7C A0 01 94 */ addze r5, r0 +/* 8036BCA8 00368C08 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036BCAC 00368C0C 38 05 00 01 */ addi r0, r5, 1 +/* 8036BCB0 00368C10 54 00 88 1C */ slwi r0, r0, 0x11 +/* 8036BCB4 00368C14 7C 1D 00 50 */ subf r0, r29, r0 +/* 8036BCB8 00368C18 7C 00 F0 00 */ cmpw r0, r30 +/* 8036BCBC 00368C1C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8036BCC0 00368C20 40 80 00 08 */ bge lbl_8036BCC8 +/* 8036BCC4 00368C24 38 61 00 0C */ addi r3, r1, 0xc +lbl_8036BCC8: +/* 8036BCC8 00368C28 80 83 00 00 */ lwz r4, 0(r3) +/* 8036BCCC 00368C2C 7C 1D B0 50 */ subf r0, r29, r22 +/* 8036BCD0 00368C30 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036BCD4 00368C34 7C 00 20 00 */ cmpw r0, r4 +/* 8036BCD8 00368C38 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036BCDC 00368C3C 90 01 00 08 */ stw r0, 8(r1) +/* 8036BCE0 00368C40 40 80 00 08 */ bge lbl_8036BCE8 +/* 8036BCE4 00368C44 38 61 00 08 */ addi r3, r1, 8 +lbl_8036BCE8: +/* 8036BCE8 00368C48 80 83 00 00 */ lwz r4, 0(r3) +/* 8036BCEC 00368C4C 54 A3 18 38 */ slwi r3, r5, 3 +/* 8036BCF0 00368C50 54 A0 88 1C */ slwi r0, r5, 0x11 +/* 8036BCF4 00368C54 3B 20 00 00 */ li r25, 0 +/* 8036BCF8 00368C58 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036BCFC 00368C5C 38 63 00 04 */ addi r3, r3, 4 +/* 8036BD00 00368C60 7C 00 E8 50 */ subf r0, r0, r29 +/* 8036BD04 00368C64 80 95 00 54 */ lwz r4, 0x54(r21) +/* 8036BD08 00368C68 7C 64 18 2E */ lwzx r3, r4, r3 +/* 8036BD0C 00368C6C 7F 43 02 14 */ add r26, r3, r0 +/* 8036BD10 00368C70 48 00 00 A4 */ b lbl_8036BDB4 +lbl_8036BD14: +/* 8036BD14 00368C74 88 1A 00 00 */ lbz r0, 0(r26) +/* 8036BD18 00368C78 7F 04 C3 78 */ mr r4, r24 +/* 8036BD1C 00368C7C 54 03 07 3E */ clrlwi r3, r0, 0x1c +/* 8036BD20 00368C80 4B FF F5 99 */ bl g721_decoder__FiP10g72x_state +/* 8036BD24 00368C84 7C B7 19 D6 */ mullw r5, r23, r3 +/* 8036BD28 00368C88 A8 7C 00 00 */ lha r3, 0(r28) +/* 8036BD2C 00368C8C 88 1A 00 00 */ lbz r0, 0(r26) +/* 8036BD30 00368C90 7F 04 C3 78 */ mr r4, r24 +/* 8036BD34 00368C94 7C A5 7E 70 */ srawi r5, r5, 0xf +/* 8036BD38 00368C98 7E 83 2A 14 */ add r20, r3, r5 +/* 8036BD3C 00368C9C 7C 03 26 70 */ srawi r3, r0, 4 +/* 8036BD40 00368CA0 4B FF F5 79 */ bl g721_decoder__FiP10g72x_state +/* 8036BD44 00368CA4 7C 77 19 D6 */ mullw r3, r23, r3 +/* 8036BD48 00368CA8 2C 14 80 00 */ cmpwi r20, -32768 +/* 8036BD4C 00368CAC A8 1C 00 04 */ lha r0, 4(r28) +/* 8036BD50 00368CB0 7C 63 7E 70 */ srawi r3, r3, 0xf +/* 8036BD54 00368CB4 7C 60 1A 14 */ add r3, r0, r3 +/* 8036BD58 00368CB8 40 80 00 0C */ bge lbl_8036BD64 +/* 8036BD5C 00368CBC 38 00 80 00 */ li r0, -32768 +/* 8036BD60 00368CC0 48 00 00 18 */ b lbl_8036BD78 +lbl_8036BD64: +/* 8036BD64 00368CC4 2C 14 7F FF */ cmpwi r20, 0x7fff +/* 8036BD68 00368CC8 40 81 00 0C */ ble lbl_8036BD74 +/* 8036BD6C 00368CCC 38 00 7F FF */ li r0, 0x7fff +/* 8036BD70 00368CD0 48 00 00 08 */ b lbl_8036BD78 +lbl_8036BD74: +/* 8036BD74 00368CD4 7E 80 07 34 */ extsh r0, r20 +lbl_8036BD78: +/* 8036BD78 00368CD8 2C 03 80 00 */ cmpwi r3, -32768 +/* 8036BD7C 00368CDC B0 1B 00 00 */ sth r0, 0(r27) +/* 8036BD80 00368CE0 40 80 00 0C */ bge lbl_8036BD8C +/* 8036BD84 00368CE4 38 00 80 00 */ li r0, -32768 +/* 8036BD88 00368CE8 48 00 00 18 */ b lbl_8036BDA0 +lbl_8036BD8C: +/* 8036BD8C 00368CEC 2C 03 7F FF */ cmpwi r3, 0x7fff +/* 8036BD90 00368CF0 40 81 00 0C */ ble lbl_8036BD9C +/* 8036BD94 00368CF4 38 00 7F FF */ li r0, 0x7fff +/* 8036BD98 00368CF8 48 00 00 08 */ b lbl_8036BDA0 +lbl_8036BD9C: +/* 8036BD9C 00368CFC 7C 60 07 34 */ extsh r0, r3 +lbl_8036BDA0: +/* 8036BDA0 00368D00 B0 1B 00 04 */ sth r0, 4(r27) +/* 8036BDA4 00368D04 3B 7B 00 08 */ addi r27, r27, 8 +/* 8036BDA8 00368D08 3B 5A 00 01 */ addi r26, r26, 1 +/* 8036BDAC 00368D0C 3B 9C 00 08 */ addi r28, r28, 8 +/* 8036BDB0 00368D10 3B 39 00 01 */ addi r25, r25, 1 +lbl_8036BDB4: +/* 8036BDB4 00368D14 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8036BDB8 00368D18 7C 19 00 00 */ cmpw r25, r0 +/* 8036BDBC 00368D1C 41 80 FF 58 */ blt lbl_8036BD14 +/* 8036BDC0 00368D20 7F BD 02 14 */ add r29, r29, r0 +/* 8036BDC4 00368D24 7F C0 F0 50 */ subf r30, r0, r30 +/* 8036BDC8 00368D28 7C 1D B0 00 */ cmpw r29, r22 +/* 8036BDCC 00368D2C 40 82 00 08 */ bne lbl_8036BDD4 +/* 8036BDD0 00368D30 7F FD FB 78 */ mr r29, r31 +lbl_8036BDD4: +/* 8036BDD4 00368D34 2C 1E 00 00 */ cmpwi r30, 0 +/* 8036BDD8 00368D38 40 82 FE C4 */ bne lbl_8036BC9C +/* 8036BDDC 00368D3C BA 81 00 20 */ lmw r20, 0x20(r1) +/* 8036BDE0 00368D40 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8036BDE4 00368D44 7C 08 03 A6 */ mtlr r0 +/* 8036BDE8 00368D48 38 21 00 50 */ addi r1, r1, 0x50 +/* 8036BDEC 00368D4C 4E 80 00 20 */ blr + +.global Decode__18CStaticAudioPlayerFv +Decode__18CStaticAudioPlayerFv: +/* 8036BDF0 00368D50 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8036BDF4 00368D54 7C 08 02 A6 */ mflr r0 +/* 8036BDF8 00368D58 90 01 00 44 */ stw r0, 0x44(r1) +/* 8036BDFC 00368D5C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8036BE00 00368D60 7C 7D 1B 78 */ mr r29, r3 +/* 8036BE04 00368D64 38 1D 00 58 */ addi r0, r29, 0x58 +/* 8036BE08 00368D68 7C DF 33 78 */ mr r31, r6 +/* 8036BE0C 00368D6C 7C 9E 23 78 */ mr r30, r4 +/* 8036BE10 00368D70 7C B9 2B 78 */ mr r25, r5 +/* 8036BE14 00368D74 81 43 00 18 */ lwz r10, 0x18(r3) +/* 8036BE18 00368D78 81 23 00 20 */ lwz r9, 0x20(r3) +/* 8036BE1C 00368D7C 80 E3 00 1C */ lwz r7, 0x1c(r3) +/* 8036BE20 00368D80 55 48 0F FE */ srwi r8, r10, 0x1f +/* 8036BE24 00368D84 7D 48 52 14 */ add r10, r8, r10 +/* 8036BE28 00368D88 55 28 0F FE */ srwi r8, r9, 0x1f +/* 8036BE2C 00368D8C 90 01 00 08 */ stw r0, 8(r1) +/* 8036BE30 00368D90 7D 5C 0E 70 */ srawi r28, r10, 1 +/* 8036BE34 00368D94 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 8036BE38 00368D98 7D 08 4A 14 */ add r8, r8, r9 +/* 8036BE3C 00368D9C A1 43 00 C0 */ lhz r10, 0xc0(r3) +/* 8036BE40 00368DA0 7D 1B 0E 70 */ srawi r27, r8, 1 +/* 8036BE44 00368DA4 7C 00 3A 14 */ add r0, r0, r7 +/* 8036BE48 00368DA8 7C 1A 0E 70 */ srawi r26, r0, 1 +/* 8036BE4C 00368DAC 7F 87 E3 78 */ mr r7, r28 +/* 8036BE50 00368DB0 7F 68 DB 78 */ mr r8, r27 +/* 8036BE54 00368DB4 7F 49 D3 78 */ mr r9, r26 +/* 8036BE58 00368DB8 4B FF FE 05 */ bl DecodeMonoAndMix__18CStaticAudioPlayerCFv +/* 8036BE5C 00368DBC 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8036BE60 00368DC0 38 1D 00 8C */ addi r0, r29, 0x8c +/* 8036BE64 00368DC4 7F A3 EB 78 */ mr r3, r29 +/* 8036BE68 00368DC8 7F E6 FB 78 */ mr r6, r31 +/* 8036BE6C 00368DCC 90 01 00 08 */ stw r0, 8(r1) +/* 8036BE70 00368DD0 54 80 0F FE */ srwi r0, r4, 0x1f +/* 8036BE74 00368DD4 7C 00 22 14 */ add r0, r0, r4 +/* 8036BE78 00368DD8 38 9E 00 02 */ addi r4, r30, 2 +/* 8036BE7C 00368DDC 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8036BE80 00368DE0 A1 5D 00 C0 */ lhz r10, 0xc0(r29) +/* 8036BE84 00368DE4 38 B9 00 02 */ addi r5, r25, 2 +/* 8036BE88 00368DE8 7C FC 02 14 */ add r7, r28, r0 +/* 8036BE8C 00368DEC 7D 1B 02 14 */ add r8, r27, r0 +/* 8036BE90 00368DF0 7D 3A 02 14 */ add r9, r26, r0 +/* 8036BE94 00368DF4 4B FF FD C9 */ bl DecodeMonoAndMix__18CStaticAudioPlayerCFv +/* 8036BE98 00368DF8 7F E5 FB 78 */ mr r5, r31 +/* 8036BE9C 00368DFC 48 00 00 5C */ b lbl_8036BEF8 +lbl_8036BEA0: +/* 8036BEA0 00368E00 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8036BEA4 00368E04 38 61 00 14 */ addi r3, r1, 0x14 +/* 8036BEA8 00368E08 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 8036BEAC 00368E0C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8036BEB0 00368E10 7C 04 00 50 */ subf r0, r4, r0 +/* 8036BEB4 00368E14 7C 00 28 00 */ cmpw r0, r5 +/* 8036BEB8 00368E18 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036BEBC 00368E1C 40 80 00 08 */ bge lbl_8036BEC4 +/* 8036BEC0 00368E20 38 61 00 10 */ addi r3, r1, 0x10 +lbl_8036BEC4: +/* 8036BEC4 00368E24 80 63 00 00 */ lwz r3, 0(r3) +/* 8036BEC8 00368E28 90 61 00 14 */ stw r3, 0x14(r1) +/* 8036BECC 00368E2C 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 8036BED0 00368E30 7C 00 1A 14 */ add r0, r0, r3 +/* 8036BED4 00368E34 90 1D 00 18 */ stw r0, 0x18(r29) +/* 8036BED8 00368E38 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 8036BEDC 00368E3C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8036BEE0 00368E40 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8036BEE4 00368E44 7C 03 00 00 */ cmpw r3, r0 +/* 8036BEE8 00368E48 7C A4 28 50 */ subf r5, r4, r5 +/* 8036BEEC 00368E4C 40 82 00 0C */ bne lbl_8036BEF8 +/* 8036BEF0 00368E50 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 8036BEF4 00368E54 90 1D 00 18 */ stw r0, 0x18(r29) +lbl_8036BEF8: +/* 8036BEF8 00368E58 2C 05 00 00 */ cmpwi r5, 0 +/* 8036BEFC 00368E5C 40 82 FF A4 */ bne lbl_8036BEA0 +/* 8036BF00 00368E60 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8036BF04 00368E64 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8036BF08 00368E68 7C 08 03 A6 */ mtlr r0 +/* 8036BF0C 00368E6C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036BF10 00368E70 4E 80 00 20 */ blr + +.global DoMix__18CStaticAudioPlayer +DoMix__18CStaticAudioPlayer: +/* 8036BF14 00368E74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036BF18 00368E78 7C 08 02 A6 */ mflr r0 +/* 8036BF1C 00368E7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036BF20 00368E80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036BF24 00368E84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036BF28 00368E88 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036BF2C 00368E8C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8036BF30 00368E90 7C 7C 1B 78 */ mr r28, r3 +/* 8036BF34 00368E94 48 00 11 05 */ bl AIGetDMAStartAddr +/* 8036BF38 00368E98 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 8036BF3C 00368E9C 3F E3 80 00 */ addis r31, r3, 0x8000 +/* 8036BF40 00368EA0 68 00 00 01 */ xori r0, r0, 1 +/* 8036BF44 00368EA4 90 1C 00 24 */ stw r0, 0x24(r28) +/* 8036BF48 00368EA8 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 8036BF4C 00368EAC 2C 00 00 00 */ cmpwi r0, 0 +/* 8036BF50 00368EB0 41 82 00 0C */ beq lbl_8036BF5C +/* 8036BF54 00368EB4 83 DC 00 34 */ lwz r30, 0x34(r28) +/* 8036BF58 00368EB8 48 00 00 08 */ b lbl_8036BF60 +lbl_8036BF5C: +/* 8036BF5C 00368EBC 83 DC 00 2C */ lwz r30, 0x2c(r28) +lbl_8036BF60: +/* 8036BF60 00368EC0 7F C3 F3 78 */ mr r3, r30 +/* 8036BF64 00368EC4 38 80 02 80 */ li r4, 0x280 +/* 8036BF68 00368EC8 48 00 10 19 */ bl AIInitDMA +/* 8036BF6C 00368ECC 48 01 57 09 */ bl OSEnableInterrupts +/* 8036BF70 00368ED0 28 1F 00 00 */ cmplwi r31, 0 +/* 8036BF74 00368ED4 7C 7D 1B 78 */ mr r29, r3 +/* 8036BF78 00368ED8 41 82 00 10 */ beq lbl_8036BF88 +/* 8036BF7C 00368EDC 7F E3 FB 78 */ mr r3, r31 +/* 8036BF80 00368EE0 38 80 02 80 */ li r4, 0x280 +/* 8036BF84 00368EE4 48 01 2B 01 */ bl DCInvalidateRange +lbl_8036BF88: +/* 8036BF88 00368EE8 7F 83 E3 78 */ mr r3, r28 +/* 8036BF8C 00368EEC 7F C4 F3 78 */ mr r4, r30 +/* 8036BF90 00368EF0 7F E5 FB 78 */ mr r5, r31 +/* 8036BF94 00368EF4 38 C0 00 A0 */ li r6, 0xa0 +/* 8036BF98 00368EF8 4B FF FE 59 */ bl Decode__18CStaticAudioPlayerFv +/* 8036BF9C 00368EFC 7F C3 F3 78 */ mr r3, r30 +/* 8036BFA0 00368F00 38 80 02 80 */ li r4, 0x280 +/* 8036BFA4 00368F04 48 01 2B 0D */ bl DCFlushRange +/* 8036BFA8 00368F08 7F A3 EB 78 */ mr r3, r29 +/* 8036BFAC 00368F0C 48 01 56 DD */ bl OSRestoreInterrupts +/* 8036BFB0 00368F10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036BFB4 00368F14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036BFB8 00368F18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036BFBC 00368F1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036BFC0 00368F20 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8036BFC4 00368F24 7C 08 03 A6 */ mtlr r0 +/* 8036BFC8 00368F28 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036BFCC 00368F2C 4E 80 00 20 */ blr + +.global MixCallback__18CStaticAudioPlayerFv +MixCallback__18CStaticAudioPlayerFv: +/* 8036BFD0 00368F30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036BFD4 00368F34 7C 08 02 A6 */ mflr r0 +/* 8036BFD8 00368F38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036BFDC 00368F3C 80 6D AA E0 */ lwz r3, lbl_805A96A0@sda21(r13) +/* 8036BFE0 00368F40 4B FF FF 35 */ bl DoMix__18CStaticAudioPlayer +/* 8036BFE4 00368F44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036BFE8 00368F48 7C 08 03 A6 */ mtlr r0 +/* 8036BFEC 00368F4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036BFF0 00368F50 4E 80 00 20 */ blr + +.global StopMixOut__18CStaticAudioPlayerFv +StopMixOut__18CStaticAudioPlayerFv: +/* 8036BFF4 00368F54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036BFF8 00368F58 7C 08 02 A6 */ mflr r0 +/* 8036BFFC 00368F5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C000 00368F60 80 0D AA E0 */ lwz r0, lbl_805A96A0@sda21(r13) +/* 8036C004 00368F64 7C 00 18 40 */ cmplw r0, r3 +/* 8036C008 00368F68 40 82 00 18 */ bne lbl_8036C020 +/* 8036C00C 00368F6C 3C 60 80 37 */ lis r3, MixCallback__18CStaticAudioPlayerFv@ha +/* 8036C010 00368F70 38 63 BF D0 */ addi r3, r3, MixCallback__18CStaticAudioPlayerFv@l +/* 8036C014 00368F74 48 00 06 F1 */ bl sub_8036c704 +/* 8036C018 00368F78 38 00 00 00 */ li r0, 0 +/* 8036C01C 00368F7C 90 0D AA E0 */ stw r0, lbl_805A96A0@sda21(r13) +lbl_8036C020: +/* 8036C020 00368F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C024 00368F84 7C 08 03 A6 */ mtlr r0 +/* 8036C028 00368F88 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C02C 00368F8C 4E 80 00 20 */ blr + +.global StartMixOut__18CStaticAudioPlayerFv +StartMixOut__18CStaticAudioPlayerFv: +/* 8036C030 00368F90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036C034 00368F94 7C 08 02 A6 */ mflr r0 +/* 8036C038 00368F98 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036C03C 00368F9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036C040 00368FA0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036C044 00368FA4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036C048 00368FA8 7C 7D 1B 78 */ mr r29, r3 +/* 8036C04C 00368FAC 80 0D AA E0 */ lwz r0, lbl_805A96A0@sda21(r13) +/* 8036C050 00368FB0 7C 00 E8 40 */ cmplw r0, r29 +/* 8036C054 00368FB4 41 82 00 94 */ beq lbl_8036C0E8 +/* 8036C058 00368FB8 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 8036C05C 00368FBC 83 DD 00 44 */ lwz r30, 0x44(r29) +/* 8036C060 00368FC0 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C064 00368FC4 7F FE 02 14 */ add r31, r30, r0 +/* 8036C068 00368FC8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8036C06C 00368FCC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8036C070 00368FD0 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8036C074 00368FD4 93 C1 00 08 */ stw r30, 8(r1) +/* 8036C078 00368FD8 48 00 00 3C */ b lbl_8036C0B4 +lbl_8036C07C: +/* 8036C07C 00368FDC 28 1E 00 00 */ cmplwi r30, 0 +/* 8036C080 00368FE0 41 82 00 30 */ beq lbl_8036C0B0 +/* 8036C084 00368FE4 88 1E 00 00 */ lbz r0, 0(r30) +/* 8036C088 00368FE8 28 00 00 00 */ cmplwi r0, 0 +/* 8036C08C 00368FEC 41 82 00 24 */ beq lbl_8036C0B0 +/* 8036C090 00368FF0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8036C094 00368FF4 28 03 00 00 */ cmplwi r3, 0 +/* 8036C098 00368FF8 41 82 00 18 */ beq lbl_8036C0B0 +/* 8036C09C 00368FFC 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C0A0 00369000 38 80 00 01 */ li r4, 1 +/* 8036C0A4 00369004 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C0A8 00369008 7D 89 03 A6 */ mtctr r12 +/* 8036C0AC 0036900C 4E 80 04 21 */ bctrl +lbl_8036C0B0: +/* 8036C0B0 00369010 3B DE 00 08 */ addi r30, r30, 8 +lbl_8036C0B4: +/* 8036C0B4 00369014 7C 1E F8 40 */ cmplw r30, r31 +/* 8036C0B8 00369018 40 82 FF C4 */ bne lbl_8036C07C +/* 8036C0BC 0036901C 38 00 00 00 */ li r0, 0 +/* 8036C0C0 00369020 38 7D 00 58 */ addi r3, r29, 0x58 +/* 8036C0C4 00369024 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 8036C0C8 00369028 90 1D 00 18 */ stw r0, 0x18(r29) +/* 8036C0CC 0036902C 4B FF F9 E1 */ bl g72x_init_state__FP10g72x_state +/* 8036C0D0 00369030 38 7D 00 8C */ addi r3, r29, 0x8c +/* 8036C0D4 00369034 4B FF F9 D9 */ bl g72x_init_state__FP10g72x_state +/* 8036C0D8 00369038 3C 60 80 37 */ lis r3, MixCallback__18CStaticAudioPlayerFv@ha +/* 8036C0DC 0036903C 93 AD AA E0 */ stw r29, lbl_805A96A0@sda21(r13) +/* 8036C0E0 00369040 38 63 BF D0 */ addi r3, r3, MixCallback__18CStaticAudioPlayerFv@l +/* 8036C0E4 00369044 48 00 06 F9 */ bl RunDMACallback__18CStaticAudioPlayerFv +lbl_8036C0E8: +/* 8036C0E8 00369048 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036C0EC 0036904C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036C0F0 00369050 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036C0F4 00369054 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8036C0F8 00369058 7C 08 03 A6 */ mtlr r0 +/* 8036C0FC 0036905C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036C100 00369060 4E 80 00 20 */ blr + +.global IsReady__18CStaticAudioPlayer +IsReady__18CStaticAudioPlayer: +/* 8036C104 00369064 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C108 00369068 7C 08 02 A6 */ mflr r0 +/* 8036C10C 0036906C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C110 00369070 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 8036C114 00369074 2C 04 00 00 */ cmpwi r4, 0 +/* 8036C118 00369078 41 82 00 2C */ beq lbl_8036C144 +/* 8036C11C 0036907C 38 04 FF FF */ addi r0, r4, -1 +/* 8036C120 00369080 80 83 00 44 */ lwz r4, 0x44(r3) +/* 8036C124 00369084 54 03 18 38 */ slwi r3, r0, 3 +/* 8036C128 00369088 38 03 00 04 */ addi r0, r3, 4 +/* 8036C12C 0036908C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8036C130 00369090 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C134 00369094 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8036C138 00369098 7D 89 03 A6 */ mtctr r12 +/* 8036C13C 0036909C 4E 80 04 21 */ bctrl +/* 8036C140 003690A0 48 00 00 08 */ b lbl_8036C148 +lbl_8036C144: +/* 8036C144 003690A4 38 60 00 01 */ li r3, 1 +lbl_8036C148: +/* 8036C148 003690A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C14C 003690AC 7C 08 03 A6 */ mtlr r0 +/* 8036C150 003690B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C154 003690B4 4E 80 00 20 */ blr + +.global __dt__18CStaticAudioPlayer +__dt__18CStaticAudioPlayer: +/* 8036C158 003690B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C15C 003690BC 7C 08 02 A6 */ mflr r0 +/* 8036C160 003690C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C164 003690C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C168 003690C8 7C 9F 23 78 */ mr r31, r4 +/* 8036C16C 003690CC 93 C1 00 08 */ stw r30, 8(r1) +/* 8036C170 003690D0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036C174 003690D4 41 82 00 78 */ beq lbl_8036C1EC +/* 8036C178 003690D8 4B FF FE 7D */ bl StopMixOut__18CStaticAudioPlayerFv +/* 8036C17C 003690DC 38 7E 00 48 */ addi r3, r30, 0x48 +/* 8036C180 003690E0 38 80 FF FF */ li r4, -1 +/* 8036C184 003690E4 4B FF 08 45 */ bl "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" +/* 8036C188 003690E8 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8036C18C 003690EC 38 80 FF FF */ li r4, -1 +/* 8036C190 003690F0 48 00 00 79 */ bl sub_8036c208 +/* 8036C194 003690F4 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8036C198 003690F8 41 82 00 18 */ beq lbl_8036C1B0 +/* 8036C19C 003690FC 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8036C1A0 00369100 28 00 00 00 */ cmplwi r0, 0 +/* 8036C1A4 00369104 41 82 00 0C */ beq lbl_8036C1B0 +/* 8036C1A8 00369108 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 8036C1AC 0036910C 4B FA 97 85 */ bl Free__7CMemoryFPCv +lbl_8036C1B0: +/* 8036C1B0 00369110 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8036C1B4 00369114 41 82 00 18 */ beq lbl_8036C1CC +/* 8036C1B8 00369118 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 8036C1BC 0036911C 28 00 00 00 */ cmplwi r0, 0 +/* 8036C1C0 00369120 41 82 00 0C */ beq lbl_8036C1CC +/* 8036C1C4 00369124 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8036C1C8 00369128 4B FA 97 69 */ bl Free__7CMemoryFPCv +lbl_8036C1CC: +/* 8036C1CC 0036912C 28 1E 00 00 */ cmplwi r30, 0 +/* 8036C1D0 00369130 41 82 00 0C */ beq lbl_8036C1DC +/* 8036C1D4 00369134 7F C3 F3 78 */ mr r3, r30 +/* 8036C1D8 00369138 4B FD 19 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036C1DC: +/* 8036C1DC 0036913C 7F E0 07 35 */ extsh. r0, r31 +/* 8036C1E0 00369140 40 81 00 0C */ ble lbl_8036C1EC +/* 8036C1E4 00369144 7F C3 F3 78 */ mr r3, r30 +/* 8036C1E8 00369148 4B FA 97 49 */ bl Free__7CMemoryFPCv +lbl_8036C1EC: +/* 8036C1EC 0036914C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C1F0 00369150 7F C3 F3 78 */ mr r3, r30 +/* 8036C1F4 00369154 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036C1F8 00369158 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036C1FC 0036915C 7C 08 03 A6 */ mtlr r0 +/* 8036C200 00369160 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C204 00369164 4E 80 00 20 */ blr + +.global sub_8036c208 +sub_8036c208: +/* 8036C208 00369168 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036C20C 0036916C 7C 08 02 A6 */ mflr r0 +/* 8036C210 00369170 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036C214 00369174 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036C218 00369178 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036C21C 0036917C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036C220 00369180 7C 9D 23 78 */ mr r29, r4 +/* 8036C224 00369184 93 81 00 20 */ stw r28, 0x20(r1) +/* 8036C228 00369188 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8036C22C 0036918C 41 82 00 88 */ beq lbl_8036C2B4 +/* 8036C230 00369190 80 1C 00 04 */ lwz r0, 4(r28) +/* 8036C234 00369194 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8036C238 00369198 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C23C 0036919C 7F FE 02 14 */ add r31, r30, r0 +/* 8036C240 003691A0 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8036C244 003691A4 93 E1 00 08 */ stw r31, 8(r1) +/* 8036C248 003691A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C24C 003691AC 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8036C250 003691B0 48 00 00 3C */ b lbl_8036C28C +lbl_8036C254: +/* 8036C254 003691B4 28 1E 00 00 */ cmplwi r30, 0 +/* 8036C258 003691B8 41 82 00 30 */ beq lbl_8036C288 +/* 8036C25C 003691BC 88 1E 00 00 */ lbz r0, 0(r30) +/* 8036C260 003691C0 28 00 00 00 */ cmplwi r0, 0 +/* 8036C264 003691C4 41 82 00 24 */ beq lbl_8036C288 +/* 8036C268 003691C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8036C26C 003691CC 28 03 00 00 */ cmplwi r3, 0 +/* 8036C270 003691D0 41 82 00 18 */ beq lbl_8036C288 +/* 8036C274 003691D4 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C278 003691D8 38 80 00 01 */ li r4, 1 +/* 8036C27C 003691DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C280 003691E0 7D 89 03 A6 */ mtctr r12 +/* 8036C284 003691E4 4E 80 04 21 */ bctrl +lbl_8036C288: +/* 8036C288 003691E8 3B DE 00 08 */ addi r30, r30, 8 +lbl_8036C28C: +/* 8036C28C 003691EC 7C 1E F8 40 */ cmplw r30, r31 +/* 8036C290 003691F0 40 82 FF C4 */ bne lbl_8036C254 +/* 8036C294 003691F4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8036C298 003691F8 28 03 00 00 */ cmplwi r3, 0 +/* 8036C29C 003691FC 41 82 00 08 */ beq lbl_8036C2A4 +/* 8036C2A0 00369200 4B FA 96 91 */ bl Free__7CMemoryFPCv +lbl_8036C2A4: +/* 8036C2A4 00369204 7F A0 07 35 */ extsh. r0, r29 +/* 8036C2A8 00369208 40 81 00 0C */ ble lbl_8036C2B4 +/* 8036C2AC 0036920C 7F 83 E3 78 */ mr r3, r28 +/* 8036C2B0 00369210 4B FA 96 81 */ bl Free__7CMemoryFPCv +lbl_8036C2B4: +/* 8036C2B4 00369214 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036C2B8 00369218 7F 83 E3 78 */ mr r3, r28 +/* 8036C2BC 0036921C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036C2C0 00369220 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036C2C4 00369224 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8036C2C8 00369228 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8036C2CC 0036922C 7C 08 03 A6 */ mtlr r0 +/* 8036C2D0 00369230 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036C2D4 00369234 4E 80 00 20 */ blr + +.global __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii +__ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii: +/* 8036C2D8 00369238 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8036C2DC 0036923C 7C 08 02 A6 */ mflr r0 +/* 8036C2E0 00369240 90 01 00 74 */ stw r0, 0x74(r1) +/* 8036C2E4 00369244 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8036C2E8 00369248 7C 7A 1B 78 */ mr r26, r3 +/* 8036C2EC 0036924C 7C 9B 23 78 */ mr r27, r4 +/* 8036C2F0 00369250 7C BD 2B 78 */ mr r29, r5 +/* 8036C2F4 00369254 7C DC 33 78 */ mr r28, r6 +/* 8036C2F8 00369258 4B FD 1E 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036C2FC 0036925C 38 00 FF FF */ li r0, -1 +/* 8036C300 00369260 3C 80 80 3E */ lis r4, lbl_803D8560@ha +/* 8036C304 00369264 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8036C308 00369268 38 E0 00 00 */ li r7, 0 +/* 8036C30C 0036926C 38 A4 85 60 */ addi r5, r4, lbl_803D8560@l +/* 8036C310 00369270 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8036C314 00369274 90 FA 00 18 */ stw r7, 0x18(r26) +/* 8036C318 00369278 57 A4 00 3C */ rlwinm r4, r29, 0, 0, 0x1e +/* 8036C31C 0036927C 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8036C320 00369280 57 80 00 3C */ rlwinm r0, r28, 0, 0, 0x1e +/* 8036C324 00369284 90 9A 00 1C */ stw r4, 0x1c(r26) +/* 8036C328 00369288 38 61 00 20 */ addi r3, r1, 0x20 +/* 8036C32C 0036928C 38 80 FF FF */ li r4, -1 +/* 8036C330 00369290 90 1A 00 20 */ stw r0, 0x20(r26) +/* 8036C334 00369294 90 FA 00 24 */ stw r7, 0x24(r26) +/* 8036C338 00369298 4B F6 A0 9D */ bl __ct__10CCallStackFUiPCcPCc +/* 8036C33C 0036929C 7C 67 1B 78 */ mr r7, r3 +/* 8036C340 003692A0 38 60 02 80 */ li r3, 0x280 +/* 8036C344 003692A4 38 80 00 02 */ li r4, 2 +/* 8036C348 003692A8 38 A0 00 01 */ li r5, 1 +/* 8036C34C 003692AC 38 C0 00 00 */ li r6, 0 +/* 8036C350 003692B0 4B FA 96 45 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036C354 003692B4 7C 03 00 D0 */ neg r0, r3 +/* 8036C358 003692B8 3C A0 80 3E */ lis r5, lbl_803D8560@ha +/* 8036C35C 003692BC 7C 00 1B 78 */ or r0, r0, r3 +/* 8036C360 003692C0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8036C364 003692C4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8036C368 003692C8 38 A5 85 60 */ addi r5, r5, lbl_803D8560@l +/* 8036C36C 003692CC 98 1A 00 28 */ stb r0, 0x28(r26) +/* 8036C370 003692D0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8036C374 003692D4 38 80 FF FF */ li r4, -1 +/* 8036C378 003692D8 90 7A 00 2C */ stw r3, 0x2c(r26) +/* 8036C37C 003692DC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8036C380 003692E0 4B F6 A0 55 */ bl __ct__10CCallStackFUiPCcPCc +/* 8036C384 003692E4 7C 67 1B 78 */ mr r7, r3 +/* 8036C388 003692E8 38 60 02 80 */ li r3, 0x280 +/* 8036C38C 003692EC 38 80 00 02 */ li r4, 2 +/* 8036C390 003692F0 38 A0 00 01 */ li r5, 1 +/* 8036C394 003692F4 38 C0 00 00 */ li r6, 0 +/* 8036C398 003692F8 4B FA 95 FD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036C39C 003692FC 7C 03 00 D0 */ neg r0, r3 +/* 8036C3A0 00369300 3C 80 00 01 */ lis r4, 0x00008000@ha +/* 8036C3A4 00369304 7C 00 1B 78 */ or r0, r0, r3 +/* 8036C3A8 00369308 38 A0 00 00 */ li r5, 0 +/* 8036C3AC 0036930C 54 06 0F FE */ srwi r6, r0, 0x1f +/* 8036C3B0 00369310 38 04 80 00 */ addi r0, r4, 0x00008000@l +/* 8036C3B4 00369314 98 DA 00 30 */ stb r6, 0x30(r26) +/* 8036C3B8 00369318 90 7A 00 34 */ stw r3, 0x34(r26) +/* 8036C3BC 0036931C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8036C3C0 00369320 90 BA 00 3C */ stw r5, 0x3c(r26) +/* 8036C3C4 00369324 90 BA 00 40 */ stw r5, 0x40(r26) +/* 8036C3C8 00369328 90 BA 00 44 */ stw r5, 0x44(r26) +/* 8036C3CC 0036932C 90 BA 00 4C */ stw r5, 0x4c(r26) +/* 8036C3D0 00369330 90 BA 00 50 */ stw r5, 0x50(r26) +/* 8036C3D4 00369334 90 BA 00 54 */ stw r5, 0x54(r26) +/* 8036C3D8 00369338 B0 1A 00 C0 */ sth r0, 0xc0(r26) +/* 8036C3DC 0036933C 80 9B 00 00 */ lwz r4, 0(r27) +/* 8036C3E0 00369340 4B FE 38 F1 */ bl __ct__8CDvdFileFPCc +/* 8036C3E4 00369344 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8036C3E8 00369348 38 7A 00 48 */ addi r3, r26, 0x48 +/* 8036C3EC 0036934C 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8036C3F0 00369350 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 8036C3F4 00369354 90 1A 00 14 */ stw r0, 0x14(r26) +/* 8036C3F8 00369358 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8036C3FC 0036935C 3C 84 00 02 */ addis r4, r4, 2 +/* 8036C400 00369360 38 04 FF FF */ addi r0, r4, -1 +/* 8036C404 00369364 7C 00 8E 70 */ srawi r0, r0, 0x11 +/* 8036C408 00369368 7F 60 01 94 */ addze r27, r0 +/* 8036C40C 0036936C 7F 64 DB 78 */ mr r4, r27 +/* 8036C410 00369370 4B FF 15 F9 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +/* 8036C414 00369374 7F 64 DB 78 */ mr r4, r27 +/* 8036C418 00369378 38 7A 00 38 */ addi r3, r26, 0x38 +/* 8036C41C 0036937C 48 00 01 C9 */ bl sub_8036c5e4 +/* 8036C420 00369380 3C 80 80 3E */ lis r4, lbl_803D8560@ha +/* 8036C424 00369384 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8036C428 00369388 83 9A 00 10 */ lwz r28, 0x10(r26) +/* 8036C42C 0036938C 3B C4 85 60 */ addi r30, r4, lbl_803D8560@l +/* 8036C430 00369390 3B E3 6A A8 */ addi r31, r3, lbl_803D6AA8@l +/* 8036C434 00369394 3F A0 00 02 */ lis r29, 2 +/* 8036C438 00369398 48 00 01 80 */ b lbl_8036C5B8 +lbl_8036C43C: +/* 8036C43C 0036939C 7C 1C E8 00 */ cmpw r28, r29 +/* 8036C440 003693A0 3F 60 00 02 */ lis r27, 2 +/* 8036C444 003693A4 41 81 00 0C */ bgt lbl_8036C450 +/* 8036C448 003693A8 38 1C 00 1F */ addi r0, r28, 0x1f +/* 8036C44C 003693AC 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a +lbl_8036C450: +/* 8036C450 003693B0 7F C5 F3 78 */ mr r5, r30 +/* 8036C454 003693B4 7F E6 FB 78 */ mr r6, r31 +/* 8036C458 003693B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036C45C 003693BC 38 80 FF FF */ li r4, -1 +/* 8036C460 003693C0 4B F6 9F 75 */ bl __ct__10CCallStackFUiPCcPCc +/* 8036C464 003693C4 7C 67 1B 78 */ mr r7, r3 +/* 8036C468 003693C8 7F 63 DB 78 */ mr r3, r27 +/* 8036C46C 003693CC 38 80 00 02 */ li r4, 2 +/* 8036C470 003693D0 38 A0 00 01 */ li r5, 1 +/* 8036C474 003693D4 38 C0 00 00 */ li r6, 0 +/* 8036C478 003693D8 4B FA 95 1D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036C47C 003693DC 7C 83 00 D0 */ neg r4, r3 +/* 8036C480 003693E0 80 1A 00 4C */ lwz r0, 0x4c(r26) +/* 8036C484 003693E4 80 BA 00 50 */ lwz r5, 0x50(r26) +/* 8036C488 003693E8 7C 84 1B 78 */ or r4, r4, r3 +/* 8036C48C 003693EC 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8036C490 003693F0 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8036C494 003693F4 7C 00 28 00 */ cmpw r0, r5 +/* 8036C498 003693F8 98 81 00 28 */ stb r4, 0x28(r1) +/* 8036C49C 003693FC 41 80 00 1C */ blt lbl_8036C4B8 +/* 8036C4A0 00369400 2C 05 00 00 */ cmpwi r5, 0 +/* 8036C4A4 00369404 38 7A 00 48 */ addi r3, r26, 0x48 +/* 8036C4A8 00369408 38 80 00 04 */ li r4, 4 +/* 8036C4AC 0036940C 41 82 00 08 */ beq lbl_8036C4B4 +/* 8036C4B0 00369410 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8036C4B4: +/* 8036C4B4 00369414 4B FF 15 55 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +lbl_8036C4B8: +/* 8036C4B8 00369418 80 1A 00 4C */ lwz r0, 0x4c(r26) +/* 8036C4BC 0036941C 80 7A 00 54 */ lwz r3, 0x54(r26) +/* 8036C4C0 00369420 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C4C4 00369424 7C A3 02 15 */ add. r5, r3, r0 +/* 8036C4C8 00369428 41 82 00 1C */ beq lbl_8036C4E4 +/* 8036C4CC 0036942C 88 81 00 28 */ lbz r4, 0x28(r1) +/* 8036C4D0 00369430 38 00 00 00 */ li r0, 0 +/* 8036C4D4 00369434 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8036C4D8 00369438 98 85 00 00 */ stb r4, 0(r5) +/* 8036C4DC 0036943C 90 65 00 04 */ stw r3, 4(r5) +/* 8036C4E0 00369440 98 01 00 28 */ stb r0, 0x28(r1) +lbl_8036C4E4: +/* 8036C4E4 00369444 80 DA 00 4C */ lwz r6, 0x4c(r26) +/* 8036C4E8 00369448 7F 65 DB 78 */ mr r5, r27 +/* 8036C4EC 0036944C 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8036C4F0 00369450 38 61 00 30 */ addi r3, r1, 0x30 +/* 8036C4F4 00369454 38 06 00 01 */ addi r0, r6, 1 +/* 8036C4F8 00369458 90 1A 00 4C */ stw r0, 0x4c(r26) +/* 8036C4FC 0036945C 4B FE 36 ED */ bl SyncRead__8CDvdFileFPvUi +/* 8036C500 00369460 7C 83 00 D0 */ neg r4, r3 +/* 8036C504 00369464 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8036C508 00369468 80 BA 00 40 */ lwz r5, 0x40(r26) +/* 8036C50C 0036946C 7C 84 1B 78 */ or r4, r4, r3 +/* 8036C510 00369470 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8036C514 00369474 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036C518 00369478 7C 00 28 00 */ cmpw r0, r5 +/* 8036C51C 0036947C 98 81 00 08 */ stb r4, 8(r1) +/* 8036C520 00369480 41 80 00 1C */ blt lbl_8036C53C +/* 8036C524 00369484 2C 05 00 00 */ cmpwi r5, 0 +/* 8036C528 00369488 38 7A 00 38 */ addi r3, r26, 0x38 +/* 8036C52C 0036948C 38 80 00 04 */ li r4, 4 +/* 8036C530 00369490 41 82 00 08 */ beq lbl_8036C538 +/* 8036C534 00369494 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8036C538: +/* 8036C538 00369498 48 00 00 AD */ bl sub_8036c5e4 +lbl_8036C53C: +/* 8036C53C 0036949C 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8036C540 003694A0 80 7A 00 44 */ lwz r3, 0x44(r26) +/* 8036C544 003694A4 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C548 003694A8 7C A3 02 15 */ add. r5, r3, r0 +/* 8036C54C 003694AC 41 82 00 1C */ beq lbl_8036C568 +/* 8036C550 003694B0 88 81 00 08 */ lbz r4, 8(r1) +/* 8036C554 003694B4 38 00 00 00 */ li r0, 0 +/* 8036C558 003694B8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036C55C 003694BC 98 85 00 00 */ stb r4, 0(r5) +/* 8036C560 003694C0 90 65 00 04 */ stw r3, 4(r5) +/* 8036C564 003694C4 98 01 00 08 */ stb r0, 8(r1) +lbl_8036C568: +/* 8036C568 003694C8 80 7A 00 3C */ lwz r3, 0x3c(r26) +/* 8036C56C 003694CC 88 01 00 08 */ lbz r0, 8(r1) +/* 8036C570 003694D0 38 63 00 01 */ addi r3, r3, 1 +/* 8036C574 003694D4 28 00 00 00 */ cmplwi r0, 0 +/* 8036C578 003694D8 90 7A 00 3C */ stw r3, 0x3c(r26) +/* 8036C57C 003694DC 41 82 00 24 */ beq lbl_8036C5A0 +/* 8036C580 003694E0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036C584 003694E4 28 03 00 00 */ cmplwi r3, 0 +/* 8036C588 003694E8 41 82 00 18 */ beq lbl_8036C5A0 +/* 8036C58C 003694EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C590 003694F0 38 80 00 01 */ li r4, 1 +/* 8036C594 003694F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C598 003694F8 7D 89 03 A6 */ mtctr r12 +/* 8036C59C 003694FC 4E 80 04 21 */ bctrl +lbl_8036C5A0: +/* 8036C5A0 00369500 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8036C5A4 00369504 28 00 00 00 */ cmplwi r0, 0 +/* 8036C5A8 00369508 41 82 00 0C */ beq lbl_8036C5B4 +/* 8036C5AC 0036950C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8036C5B0 00369510 4B FA 93 81 */ bl Free__7CMemoryFPCv +lbl_8036C5B4: +/* 8036C5B4 00369514 3F 9C FF FE */ addis r28, r28, 0xfffe +lbl_8036C5B8: +/* 8036C5B8 00369518 2C 1C 00 00 */ cmpwi r28, 0 +/* 8036C5BC 0036951C 41 81 FE 80 */ bgt lbl_8036C43C +/* 8036C5C0 00369520 38 61 00 30 */ addi r3, r1, 0x30 +/* 8036C5C4 00369524 38 80 FF FF */ li r4, -1 +/* 8036C5C8 00369528 4B FE 36 49 */ bl __dt__8CDvdFileFv +/* 8036C5CC 0036952C 7F 43 D3 78 */ mr r3, r26 +/* 8036C5D0 00369530 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8036C5D4 00369534 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8036C5D8 00369538 7C 08 03 A6 */ mtlr r0 +/* 8036C5DC 0036953C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8036C5E0 00369540 4E 80 00 20 */ blr + +.global sub_8036c5e4 +sub_8036c5e4: +/* 8036C5E4 00369544 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036C5E8 00369548 7C 08 02 A6 */ mflr r0 +/* 8036C5EC 0036954C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036C5F0 00369550 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8036C5F4 00369554 7C 9F 23 78 */ mr r31, r4 +/* 8036C5F8 00369558 7C 7E 1B 78 */ mr r30, r3 +/* 8036C5FC 0036955C 80 03 00 08 */ lwz r0, 8(r3) +/* 8036C600 00369560 7C 1F 00 00 */ cmpw r31, r0 +/* 8036C604 00369564 40 81 00 EC */ ble lbl_8036C6F0 +/* 8036C608 00369568 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8036C60C 0036956C 40 82 00 0C */ bne lbl_8036C618 +/* 8036C610 00369570 3B A0 00 00 */ li r29, 0 +/* 8036C614 00369574 48 00 00 18 */ b lbl_8036C62C +lbl_8036C618: +/* 8036C618 00369578 3C 80 80 3E */ lis r4, lbl_803D8560@ha +/* 8036C61C 0036957C 38 A0 00 00 */ li r5, 0 +/* 8036C620 00369580 38 84 85 60 */ addi r4, r4, lbl_803D8560@l +/* 8036C624 00369584 4B FA 91 F5 */ bl __nwa__FUlPCcPCc +/* 8036C628 00369588 7C 7D 1B 78 */ mr r29, r3 +lbl_8036C62C: +/* 8036C62C 0036958C 80 7E 00 04 */ lwz r3, 4(r30) +/* 8036C630 00369590 7F A5 EB 78 */ mr r5, r29 +/* 8036C634 00369594 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8036C638 00369598 38 00 00 00 */ li r0, 0 +/* 8036C63C 0036959C 54 63 18 38 */ slwi r3, r3, 3 +/* 8036C640 003695A0 7C 86 1A 14 */ add r4, r6, r3 +/* 8036C644 003695A4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8036C648 003695A8 90 81 00 08 */ stw r4, 8(r1) +/* 8036C64C 003695AC 90 81 00 0C */ stw r4, 0xc(r1) +/* 8036C650 003695B0 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8036C654 003695B4 48 00 00 28 */ b lbl_8036C67C +lbl_8036C658: +/* 8036C658 003695B8 28 05 00 00 */ cmplwi r5, 0 +/* 8036C65C 003695BC 41 82 00 18 */ beq lbl_8036C674 +/* 8036C660 003695C0 88 66 00 00 */ lbz r3, 0(r6) +/* 8036C664 003695C4 98 65 00 00 */ stb r3, 0(r5) +/* 8036C668 003695C8 80 66 00 04 */ lwz r3, 4(r6) +/* 8036C66C 003695CC 90 65 00 04 */ stw r3, 4(r5) +/* 8036C670 003695D0 98 06 00 00 */ stb r0, 0(r6) +lbl_8036C674: +/* 8036C674 003695D4 38 A5 00 08 */ addi r5, r5, 8 +/* 8036C678 003695D8 38 C6 00 08 */ addi r6, r6, 8 +lbl_8036C67C: +/* 8036C67C 003695DC 7C 06 20 40 */ cmplw r6, r4 +/* 8036C680 003695E0 40 82 FF D8 */ bne lbl_8036C658 +/* 8036C684 003695E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8036C688 003695E8 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8036C68C 003695EC 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C690 003695F0 7F 9B 02 14 */ add r28, r27, r0 +/* 8036C694 003695F4 48 00 00 3C */ b lbl_8036C6D0 +lbl_8036C698: +/* 8036C698 003695F8 28 1B 00 00 */ cmplwi r27, 0 +/* 8036C69C 003695FC 41 82 00 30 */ beq lbl_8036C6CC +/* 8036C6A0 00369600 88 1B 00 00 */ lbz r0, 0(r27) +/* 8036C6A4 00369604 28 00 00 00 */ cmplwi r0, 0 +/* 8036C6A8 00369608 41 82 00 24 */ beq lbl_8036C6CC +/* 8036C6AC 0036960C 80 7B 00 04 */ lwz r3, 4(r27) +/* 8036C6B0 00369610 28 03 00 00 */ cmplwi r3, 0 +/* 8036C6B4 00369614 41 82 00 18 */ beq lbl_8036C6CC +/* 8036C6B8 00369618 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C6BC 0036961C 38 80 00 01 */ li r4, 1 +/* 8036C6C0 00369620 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C6C4 00369624 7D 89 03 A6 */ mtctr r12 +/* 8036C6C8 00369628 4E 80 04 21 */ bctrl +lbl_8036C6CC: +/* 8036C6CC 0036962C 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8036C6D0: +/* 8036C6D0 00369630 7C 1B E0 40 */ cmplw r27, r28 +/* 8036C6D4 00369634 40 82 FF C4 */ bne lbl_8036C698 +/* 8036C6D8 00369638 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8036C6DC 0036963C 28 03 00 00 */ cmplwi r3, 0 +/* 8036C6E0 00369640 41 82 00 08 */ beq lbl_8036C6E8 +/* 8036C6E4 00369644 4B FA 92 4D */ bl Free__7CMemoryFPCv +lbl_8036C6E8: +/* 8036C6E8 00369648 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8036C6EC 0036964C 93 FE 00 08 */ stw r31, 8(r30) +lbl_8036C6F0: +/* 8036C6F0 00369650 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8036C6F4 00369654 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036C6F8 00369658 7C 08 03 A6 */ mtlr r0 +/* 8036C6FC 0036965C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036C700 00369660 4E 80 00 20 */ blr + +.global sub_8036c704 +sub_8036c704: +/* 8036C704 00369664 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036C708 00369668 7C 08 02 A6 */ mflr r0 +/* 8036C70C 0036966C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036C710 00369670 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036C714 00369674 7C 7F 1B 78 */ mr r31, r3 +/* 8036C718 00369678 48 01 4F 49 */ bl OSDisableInterrupts +/* 8036C71C 0036967C 7C 03 00 D0 */ neg r0, r3 +/* 8036C720 00369680 3C 80 80 54 */ lis r4, lbl_80540004@ha +/* 8036C724 00369684 7C 03 1B 78 */ or r3, r0, r3 +/* 8036C728 00369688 84 04 0A 2C */ lwzu r0, 0xa2c(r4) +/* 8036C72C 0036968C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8036C730 00369690 38 C4 00 04 */ addi r6, r4, lbl_80540004@l +/* 8036C734 00369694 54 00 10 3A */ slwi r0, r0, 2 +/* 8036C738 00369698 98 61 00 08 */ stb r3, 8(r1) +/* 8036C73C 0036969C 7C C5 33 78 */ mr r5, r6 +/* 8036C740 003696A0 7C 66 02 14 */ add r3, r6, r0 +/* 8036C744 003696A4 48 00 00 08 */ b lbl_8036C74C +lbl_8036C748: +/* 8036C748 003696A8 38 A5 00 04 */ addi r5, r5, 4 +lbl_8036C74C: +/* 8036C74C 003696AC 7C 05 18 40 */ cmplw r5, r3 +/* 8036C750 003696B0 41 82 00 10 */ beq lbl_8036C760 +/* 8036C754 003696B4 80 05 00 00 */ lwz r0, 0(r5) +/* 8036C758 003696B8 7C 00 F8 40 */ cmplw r0, r31 +/* 8036C75C 003696BC 40 82 FF EC */ bne lbl_8036C748 +lbl_8036C760: +/* 8036C760 003696C0 7C 05 18 40 */ cmplw r5, r3 +/* 8036C764 003696C4 41 82 00 58 */ beq lbl_8036C7BC +/* 8036C768 003696C8 7C 05 30 40 */ cmplw r5, r6 +/* 8036C76C 003696CC 41 80 00 50 */ blt lbl_8036C7BC +/* 8036C770 003696D0 7C 05 18 40 */ cmplw r5, r3 +/* 8036C774 003696D4 40 80 00 48 */ bge lbl_8036C7BC +/* 8036C778 003696D8 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C77C 003696DC 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l +/* 8036C780 003696E0 48 00 00 10 */ b lbl_8036C790 +lbl_8036C784: +/* 8036C784 003696E4 80 05 00 04 */ lwz r0, 4(r5) +/* 8036C788 003696E8 90 05 00 00 */ stw r0, 0(r5) +/* 8036C78C 003696EC 38 A5 00 04 */ addi r5, r5, 4 +lbl_8036C790: +/* 8036C790 003696F0 80 04 00 00 */ lwz r0, 0(r4) +/* 8036C794 003696F4 54 03 10 3A */ slwi r3, r0, 2 +/* 8036C798 003696F8 38 03 FF FC */ addi r0, r3, -4 +/* 8036C79C 003696FC 7C 06 02 14 */ add r0, r6, r0 +/* 8036C7A0 00369700 7C 05 00 40 */ cmplw r5, r0 +/* 8036C7A4 00369704 41 80 FF E0 */ blt lbl_8036C784 +/* 8036C7A8 00369708 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C7AC 0036970C 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l +/* 8036C7B0 00369710 80 64 00 00 */ lwz r3, 0(r4) +/* 8036C7B4 00369714 38 03 FF FF */ addi r0, r3, -1 +/* 8036C7B8 00369718 90 04 00 00 */ stw r0, 0(r4) +lbl_8036C7BC: +/* 8036C7BC 0036971C 48 00 01 35 */ bl sub_8036c8f0 +/* 8036C7C0 00369720 88 61 00 08 */ lbz r3, 8(r1) +/* 8036C7C4 00369724 48 01 4E C5 */ bl OSRestoreInterrupts +/* 8036C7C8 00369728 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036C7CC 0036972C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036C7D0 00369730 7C 08 03 A6 */ mtlr r0 +/* 8036C7D4 00369734 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036C7D8 00369738 4E 80 00 20 */ blr + +.global RunDMACallback__18CStaticAudioPlayerFv +RunDMACallback__18CStaticAudioPlayerFv: +/* 8036C7DC 0036973C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036C7E0 00369740 7C 08 02 A6 */ mflr r0 +/* 8036C7E4 00369744 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036C7E8 00369748 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036C7EC 0036974C 7C 7F 1B 78 */ mr r31, r3 +/* 8036C7F0 00369750 48 01 4E 71 */ bl OSDisableInterrupts +/* 8036C7F4 00369754 7C 03 00 D0 */ neg r0, r3 +/* 8036C7F8 00369758 3C 80 80 54 */ lis r4, lbl_80540004@ha +/* 8036C7FC 0036975C 7C 03 1B 78 */ or r3, r0, r3 +/* 8036C800 00369760 84 04 0A 2C */ lwzu r0, 0xa2c(r4) +/* 8036C804 00369764 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8036C808 00369768 38 84 00 04 */ addi r4, r4, lbl_80540004@l +/* 8036C80C 0036976C 54 00 10 3A */ slwi r0, r0, 2 +/* 8036C810 00369770 98 61 00 08 */ stb r3, 8(r1) +/* 8036C814 00369774 7C 64 02 14 */ add r3, r4, r0 +/* 8036C818 00369778 48 00 00 08 */ b lbl_8036C820 +lbl_8036C81C: +/* 8036C81C 0036977C 38 84 00 04 */ addi r4, r4, 4 +lbl_8036C820: +/* 8036C820 00369780 7C 04 18 40 */ cmplw r4, r3 +/* 8036C824 00369784 41 82 00 10 */ beq lbl_8036C834 +/* 8036C828 00369788 80 04 00 00 */ lwz r0, 0(r4) +/* 8036C82C 0036978C 7C 00 F8 40 */ cmplw r0, r31 +/* 8036C830 00369790 40 82 FF EC */ bne lbl_8036C81C +lbl_8036C834: +/* 8036C834 00369794 7C 04 18 40 */ cmplw r4, r3 +/* 8036C838 00369798 40 82 00 24 */ bne lbl_8036C85C +/* 8036C83C 0036979C 28 03 00 00 */ cmplwi r3, 0 +/* 8036C840 003697A0 41 82 00 08 */ beq lbl_8036C848 +/* 8036C844 003697A4 93 E3 00 00 */ stw r31, 0(r3) +lbl_8036C848: +/* 8036C848 003697A8 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C84C 003697AC 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l +/* 8036C850 003697B0 80 64 00 00 */ lwz r3, 0(r4) +/* 8036C854 003697B4 38 03 00 01 */ addi r0, r3, 1 +/* 8036C858 003697B8 90 04 00 00 */ stw r0, 0(r4) +lbl_8036C85C: +/* 8036C85C 003697BC 48 00 00 95 */ bl sub_8036c8f0 +/* 8036C860 003697C0 88 61 00 08 */ lbz r3, 8(r1) +/* 8036C864 003697C4 48 01 4E 25 */ bl OSRestoreInterrupts +/* 8036C868 003697C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036C86C 003697CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036C870 003697D0 7C 08 03 A6 */ mtlr r0 +/* 8036C874 003697D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036C878 003697D8 4E 80 00 20 */ blr + +.global sub_8036c87c +sub_8036c87c: +/* 8036C87C 003697DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036C880 003697E0 7C 08 02 A6 */ mflr r0 +/* 8036C884 003697E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036C888 003697E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036C88C 003697EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036C890 003697F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036C894 003697F4 81 8D AA EC */ lwz r12, lbl_805A96AC@sda21(r13) +/* 8036C898 003697F8 7D 89 03 A6 */ mtctr r12 +/* 8036C89C 003697FC 4E 80 04 21 */ bctrl +/* 8036C8A0 00369800 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C8A4 00369804 3B A0 00 00 */ li r29, 0 +/* 8036C8A8 00369808 3B E3 0A 2C */ addi r31, r3, lbl_80540A2C@l +/* 8036C8AC 0036980C 3B DF 00 04 */ addi r30, r31, 4 +/* 8036C8B0 00369810 48 00 00 18 */ b lbl_8036C8C8 +lbl_8036C8B4: +/* 8036C8B4 00369814 81 9E 00 00 */ lwz r12, 0(r30) +/* 8036C8B8 00369818 7D 89 03 A6 */ mtctr r12 +/* 8036C8BC 0036981C 4E 80 04 21 */ bctrl +/* 8036C8C0 00369820 3B DE 00 04 */ addi r30, r30, 4 +/* 8036C8C4 00369824 3B BD 00 01 */ addi r29, r29, 1 +lbl_8036C8C8: +/* 8036C8C8 00369828 80 1F 00 00 */ lwz r0, 0(r31) +/* 8036C8CC 0036982C 7C 1D 00 00 */ cmpw r29, r0 +/* 8036C8D0 00369830 41 80 FF E4 */ blt lbl_8036C8B4 +/* 8036C8D4 00369834 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036C8D8 00369838 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036C8DC 0036983C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036C8E0 00369840 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036C8E4 00369844 7C 08 03 A6 */ mtlr r0 +/* 8036C8E8 00369848 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036C8EC 0036984C 4E 80 00 20 */ blr + +.global sub_8036c8f0 +sub_8036c8f0: +/* 8036C8F0 00369850 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C8F4 00369854 7C 08 02 A6 */ mflr r0 +/* 8036C8F8 00369858 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C8FC 0036985C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C900 00369860 4B FD DE A5 */ bl sub_8034a7a4 +/* 8036C904 00369864 7C 60 1B 78 */ mr r0, r3 +/* 8036C908 00369868 38 60 00 01 */ li r3, 1 +/* 8036C90C 0036986C 7C 1F 03 78 */ mr r31, r0 +/* 8036C910 00369870 4B FD DE 9D */ bl sub_8034a7ac +/* 8036C914 00369874 88 8D AA E8 */ lbz r4, lbl_805A96A8@sda21(r13) +/* 8036C918 00369878 28 04 00 00 */ cmplwi r4, 0 +/* 8036C91C 0036987C 40 82 00 30 */ bne lbl_8036C94C +/* 8036C920 00369880 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C924 00369884 80 03 0A 2C */ lwz r0, lbl_80540A2C@l(r3) +/* 8036C928 00369888 2C 00 00 00 */ cmpwi r0, 0 +/* 8036C92C 0036988C 41 82 00 20 */ beq lbl_8036C94C +/* 8036C930 00369890 3C 60 80 37 */ lis r3, sub_8036c87c@ha +/* 8036C934 00369894 38 63 C8 7C */ addi r3, r3, sub_8036c87c@l +/* 8036C938 00369898 48 00 06 05 */ bl AIRegisterDMACallback +/* 8036C93C 0036989C 38 00 00 01 */ li r0, 1 +/* 8036C940 003698A0 90 6D AA EC */ stw r3, lbl_805A96AC@sda21(r13) +/* 8036C944 003698A4 98 0D AA E8 */ stb r0, lbl_805A96A8@sda21(r13) +/* 8036C948 003698A8 48 00 00 30 */ b lbl_8036C978 +lbl_8036C94C: +/* 8036C94C 003698AC 28 04 00 00 */ cmplwi r4, 0 +/* 8036C950 003698B0 41 82 00 28 */ beq lbl_8036C978 +/* 8036C954 003698B4 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C958 003698B8 80 03 0A 2C */ lwz r0, lbl_80540A2C@l(r3) +/* 8036C95C 003698BC 2C 00 00 00 */ cmpwi r0, 0 +/* 8036C960 003698C0 40 82 00 18 */ bne lbl_8036C978 +/* 8036C964 003698C4 80 6D AA EC */ lwz r3, lbl_805A96AC@sda21(r13) +/* 8036C968 003698C8 48 00 05 D5 */ bl AIRegisterDMACallback +/* 8036C96C 003698CC 38 00 00 00 */ li r0, 0 +/* 8036C970 003698D0 90 0D AA EC */ stw r0, lbl_805A96AC@sda21(r13) +/* 8036C974 003698D4 98 0D AA E8 */ stb r0, lbl_805A96A8@sda21(r13) +lbl_8036C978: +/* 8036C978 003698D8 7F E3 FB 78 */ mr r3, r31 +/* 8036C97C 003698DC 4B FD DE 31 */ bl sub_8034a7ac +/* 8036C980 003698E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C984 003698E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036C988 003698E8 7C 08 03 A6 */ mtlr r0 +/* 8036C98C 003698EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C990 003698F0 4E 80 00 20 */ blr + +.global __sinit_CStaticAudioPlayer_cpp +__sinit_CStaticAudioPlayer_cpp: +/* 8036C994 003698F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C998 003698F8 7C 08 02 A6 */ mflr r0 +/* 8036C99C 003698FC 3C 80 80 37 */ lis r4, sub_8036c9d0@ha +/* 8036C9A0 00369900 3C A0 80 54 */ lis r5, lbl_80540A20@ha +/* 8036C9A4 00369904 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C9A8 00369908 38 00 00 00 */ li r0, 0 +/* 8036C9AC 0036990C 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C9B0 00369910 38 84 C9 D0 */ addi r4, r4, sub_8036c9d0@l +/* 8036C9B4 00369914 94 03 0A 2C */ stwu r0, lbl_80540A2C@l(r3) +/* 8036C9B8 00369918 38 A5 0A 20 */ addi r5, r5, lbl_80540A20@l +/* 8036C9BC 0036991C 48 01 CC D1 */ bl __register_global_object +/* 8036C9C0 00369920 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C9C4 00369924 7C 08 03 A6 */ mtlr r0 +/* 8036C9C8 00369928 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C9CC 0036992C 4E 80 00 20 */ blr + +.global sub_8036c9d0 +sub_8036c9d0: +/* 8036C9D0 00369930 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C9D4 00369934 7C 08 02 A6 */ mflr r0 +/* 8036C9D8 00369938 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C9DC 0036993C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C9E0 00369940 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8036C9E4 00369944 41 82 00 68 */ beq lbl_8036CA4C +/* 8036C9E8 00369948 80 DF 00 00 */ lwz r6, 0(r31) +/* 8036C9EC 0036994C 38 60 00 00 */ li r3, 0 +/* 8036C9F0 00369950 2C 06 00 00 */ cmpwi r6, 0 +/* 8036C9F4 00369954 40 81 00 40 */ ble lbl_8036CA34 +/* 8036C9F8 00369958 2C 06 00 08 */ cmpwi r6, 8 +/* 8036C9FC 0036995C 38 A6 FF F8 */ addi r5, r6, -8 +/* 8036CA00 00369960 40 81 00 20 */ ble lbl_8036CA20 +/* 8036CA04 00369964 38 05 00 07 */ addi r0, r5, 7 +/* 8036CA08 00369968 54 00 E8 FE */ srwi r0, r0, 3 +/* 8036CA0C 0036996C 7C 09 03 A6 */ mtctr r0 +/* 8036CA10 00369970 2C 05 00 00 */ cmpwi r5, 0 +/* 8036CA14 00369974 40 81 00 0C */ ble lbl_8036CA20 +lbl_8036CA18: +/* 8036CA18 00369978 38 63 00 08 */ addi r3, r3, 8 +/* 8036CA1C 0036997C 42 00 FF FC */ bdnz lbl_8036CA18 +lbl_8036CA20: +/* 8036CA20 00369980 7C 03 30 50 */ subf r0, r3, r6 +/* 8036CA24 00369984 7C 09 03 A6 */ mtctr r0 +/* 8036CA28 00369988 7C 03 30 00 */ cmpw r3, r6 +/* 8036CA2C 0036998C 40 80 00 08 */ bge lbl_8036CA34 +lbl_8036CA30: +/* 8036CA30 00369990 42 00 00 00 */ bdnz lbl_8036CA30 +lbl_8036CA34: +/* 8036CA34 00369994 38 60 00 00 */ li r3, 0 +/* 8036CA38 00369998 7C 80 07 35 */ extsh. r0, r4 +/* 8036CA3C 0036999C 90 7F 00 00 */ stw r3, 0(r31) +/* 8036CA40 003699A0 40 81 00 0C */ ble lbl_8036CA4C +/* 8036CA44 003699A4 7F E3 FB 78 */ mr r3, r31 +/* 8036CA48 003699A8 4B FA 8E E9 */ bl Free__7CMemoryFPCv +lbl_8036CA4C: +/* 8036CA4C 003699AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CA50 003699B0 7F E3 FB 78 */ mr r3, r31 +/* 8036CA54 003699B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036CA58 003699B8 7C 08 03 A6 */ mtlr r0 +/* 8036CA5C 003699BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CA60 003699C0 4E 80 00 20 */ blr + +.global sub_8036ca64 +sub_8036ca64: +/* 8036CA64 003699C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CA68 003699C8 7C 08 02 A6 */ mflr r0 +/* 8036CA6C 003699CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CA70 003699D0 4B FB D7 45 */ bl sub_8032a1b4 +/* 8036CA74 003699D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CA78 003699D8 7C 08 03 A6 */ mtlr r0 +/* 8036CA7C 003699DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CA80 003699E0 4E 80 00 20 */ blr + +.global __nw__FUlPCcPCc_0 +__nw__FUlPCcPCc_0: +/* 8036CA84 003699E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CA88 003699E8 7C 08 02 A6 */ mflr r0 +/* 8036CA8C 003699EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CA90 003699F0 4B FB D8 41 */ bl sub_8032a2d0 +/* 8036CA94 003699F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CA98 003699F8 7C 08 03 A6 */ mtlr r0 +/* 8036CA9C 003699FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CAA0 00369A00 4E 80 00 20 */ blr + +.global sub_8036caa4 +sub_8036caa4: +/* 8036CAA4 00369A04 80 63 00 08 */ lwz r3, 8(r3) +/* 8036CAA8 00369A08 4E 80 00 20 */ blr + +.global sub_8036caac +sub_8036caac: +/* 8036CAAC 00369A0C 80 03 00 04 */ lwz r0, 4(r3) +/* 8036CAB0 00369A10 54 03 10 3A */ slwi r3, r0, 2 +/* 8036CAB4 00369A14 4E 80 00 20 */ blr + +.global sub_8036cab8 +sub_8036cab8: +/* 8036CAB8 00369A18 38 84 00 03 */ addi r4, r4, 3 +/* 8036CABC 00369A1C 80 03 00 04 */ lwz r0, 4(r3) +/* 8036CAC0 00369A20 54 84 F0 BE */ srwi r4, r4, 2 +/* 8036CAC4 00369A24 7C 04 00 40 */ cmplw r4, r0 +/* 8036CAC8 00369A28 40 81 00 10 */ ble lbl_8036CAD8 +/* 8036CACC 00369A2C 38 00 00 00 */ li r0, 0 +/* 8036CAD0 00369A30 90 03 00 04 */ stw r0, 4(r3) +/* 8036CAD4 00369A34 4E 80 00 20 */ blr +lbl_8036CAD8: +/* 8036CAD8 00369A38 7C 04 00 50 */ subf r0, r4, r0 +/* 8036CADC 00369A3C 90 03 00 04 */ stw r0, 4(r3) +/* 8036CAE0 00369A40 4E 80 00 20 */ blr + +.global sub_8036cae4 +sub_8036cae4: +/* 8036CAE4 00369A44 80 83 00 08 */ lwz r4, 8(r3) +/* 8036CAE8 00369A48 38 04 FF FF */ addi r0, r4, -1 +/* 8036CAEC 00369A4C 90 03 00 08 */ stw r0, 8(r3) +/* 8036CAF0 00369A50 4E 80 00 20 */ blr + +.global sub_8036caf4 +sub_8036caf4: +/* 8036CAF4 00369A54 38 04 00 03 */ addi r0, r4, 3 +/* 8036CAF8 00369A58 80 83 00 04 */ lwz r4, 4(r3) +/* 8036CAFC 00369A5C 54 00 F0 BE */ srwi r0, r0, 2 +/* 8036CB00 00369A60 7C 04 02 14 */ add r0, r4, r0 +/* 8036CB04 00369A64 54 84 10 3A */ slwi r4, r4, 2 +/* 8036CB08 00369A68 90 03 00 04 */ stw r0, 4(r3) +/* 8036CB0C 00369A6C 38 A4 00 0C */ addi r5, r4, 0xc +/* 8036CB10 00369A70 7C A3 2A 14 */ add r5, r3, r5 +/* 8036CB14 00369A74 80 83 00 08 */ lwz r4, 8(r3) +/* 8036CB18 00369A78 38 04 00 01 */ addi r0, r4, 1 +/* 8036CB1C 00369A7C 90 03 00 08 */ stw r0, 8(r3) +/* 8036CB20 00369A80 7C A3 2B 78 */ mr r3, r5 +/* 8036CB24 00369A84 4E 80 00 20 */ blr + +.global sub_8036cb28 +sub_8036cb28: +/* 8036CB28 00369A88 38 03 00 0C */ addi r0, r3, 0xc +/* 8036CB2C 00369A8C 80 63 00 00 */ lwz r3, 0(r3) +/* 8036CB30 00369A90 7C 00 20 50 */ subf r0, r0, r4 +/* 8036CB34 00369A94 7C 00 16 70 */ srawi r0, r0, 2 +/* 8036CB38 00369A98 7C 00 01 94 */ addze r0, r0 +/* 8036CB3C 00369A9C 7C 60 02 78 */ xor r0, r3, r0 +/* 8036CB40 00369AA0 7C 00 00 34 */ cntlzw r0, r0 +/* 8036CB44 00369AA4 7C 60 00 30 */ slw r0, r3, r0 +/* 8036CB48 00369AA8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8036CB4C 00369AAC 4E 80 00 20 */ blr + +.global sub_8036cb50 +sub_8036cb50: +/* 8036CB50 00369AB0 38 04 00 03 */ addi r0, r4, 3 +/* 8036CB54 00369AB4 80 83 00 04 */ lwz r4, 4(r3) +/* 8036CB58 00369AB8 54 00 F0 BE */ srwi r0, r0, 2 +/* 8036CB5C 00369ABC 80 63 00 00 */ lwz r3, 0(r3) +/* 8036CB60 00369AC0 7C 04 02 14 */ add r0, r4, r0 +/* 8036CB64 00369AC4 7C 60 02 78 */ xor r0, r3, r0 +/* 8036CB68 00369AC8 7C 00 00 34 */ cntlzw r0, r0 +/* 8036CB6C 00369ACC 7C 60 00 30 */ slw r0, r3, r0 +/* 8036CB70 00369AD0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8036CB74 00369AD4 4E 80 00 20 */ blr + +.global sub_8036cb78 +sub_8036cb78: +/* 8036CB78 00369AD8 38 80 01 00 */ li r4, 0x100 +/* 8036CB7C 00369ADC 38 00 00 00 */ li r0, 0 +/* 8036CB80 00369AE0 90 83 00 00 */ stw r4, 0(r3) +/* 8036CB84 00369AE4 90 03 00 04 */ stw r0, 4(r3) +/* 8036CB88 00369AE8 90 03 00 08 */ stw r0, 8(r3) +/* 8036CB8C 00369AEC 4E 80 00 20 */ blr + +.global sub_8036cb90 +sub_8036cb90: +/* 8036CB90 00369AF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036CB94 00369AF4 7C 08 02 A6 */ mflr r0 +/* 8036CB98 00369AF8 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CB9C 00369AFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036CBA0 00369B00 38 03 0A 4C */ addi r0, r3, lbl_80540A4C@l +/* 8036CBA4 00369B04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036CBA8 00369B08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036CBAC 00369B0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036CBB0 00369B10 80 8D AA F0 */ lwz r4, lbl_805A96B0@sda21(r13) +/* 8036CBB4 00369B14 68 84 00 01 */ xori r4, r4, 1 +/* 8036CBB8 00369B18 1C 64 00 18 */ mulli r3, r4, 0x18 +/* 8036CBBC 00369B1C 90 8D AA F0 */ stw r4, lbl_805A96B0@sda21(r13) +/* 8036CBC0 00369B20 7F A0 1A 14 */ add r29, r0, r3 +/* 8036CBC4 00369B24 83 FD 00 04 */ lwz r31, 4(r29) +/* 8036CBC8 00369B28 48 00 00 10 */ b lbl_8036CBD8 +lbl_8036CBCC: +/* 8036CBCC 00369B2C 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036CBD0 00369B30 4B FA 8D 61 */ bl Free__7CMemoryFPCv +/* 8036CBD4 00369B34 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8036CBD8: +/* 8036CBD8 00369B38 83 DD 00 08 */ lwz r30, 8(r29) +/* 8036CBDC 00369B3C 7C 1F F0 40 */ cmplw r31, r30 +/* 8036CBE0 00369B40 40 82 FF EC */ bne lbl_8036CBCC +/* 8036CBE4 00369B44 80 9D 00 04 */ lwz r4, 4(r29) +/* 8036CBE8 00369B48 48 00 00 10 */ b lbl_8036CBF8 +lbl_8036CBEC: +/* 8036CBEC 00369B4C 7F A3 EB 78 */ mr r3, r29 +/* 8036CBF0 00369B50 48 00 01 A9 */ bl sub_8036cd98 +/* 8036CBF4 00369B54 7C 64 1B 78 */ mr r4, r3 +lbl_8036CBF8: +/* 8036CBF8 00369B58 7C 04 F0 40 */ cmplw r4, r30 +/* 8036CBFC 00369B5C 40 82 FF F0 */ bne lbl_8036CBEC +/* 8036CC00 00369B60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036CC04 00369B64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036CC08 00369B68 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036CC0C 00369B6C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036CC10 00369B70 7C 08 03 A6 */ mtlr r0 +/* 8036CC14 00369B74 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036CC18 00369B78 4E 80 00 20 */ blr + +.global sub_8036cc1c +sub_8036cc1c: +/* 8036CC1C 00369B7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036CC20 00369B80 7C 08 02 A6 */ mflr r0 +/* 8036CC24 00369B84 2C 03 00 01 */ cmpwi r3, 1 +/* 8036CC28 00369B88 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CC2C 00369B8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036CC30 00369B90 38 A3 0A 4C */ addi r5, r3, lbl_80540A4C@l +/* 8036CC34 00369B94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036CC38 00369B98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036CC3C 00369B9C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036CC40 00369BA0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8036CC44 00369BA4 7C 9C 23 78 */ mr r28, r4 +/* 8036CC48 00369BA8 80 0D AA F0 */ lwz r0, lbl_805A96B0@sda21(r13) +/* 8036CC4C 00369BAC 68 03 00 01 */ xori r3, r0, 1 +/* 8036CC50 00369BB0 40 82 00 08 */ bne lbl_8036CC58 +/* 8036CC54 00369BB4 7C 03 03 78 */ mr r3, r0 +lbl_8036CC58: +/* 8036CC58 00369BB8 1F A3 00 18 */ mulli r29, r3, 0x18 +/* 8036CC5C 00369BBC 3C 80 80 3E */ lis r4, lbl_803D8568@ha +/* 8036CC60 00369BC0 38 60 00 0C */ li r3, 0xc +/* 8036CC64 00369BC4 38 84 85 68 */ addi r4, r4, lbl_803D8568@l +/* 8036CC68 00369BC8 7C C5 EA 14 */ add r6, r5, r29 +/* 8036CC6C 00369BCC 38 A0 00 00 */ li r5, 0 +/* 8036CC70 00369BD0 83 E6 00 08 */ lwz r31, 8(r6) +/* 8036CC74 00369BD4 83 DF 00 00 */ lwz r30, 0(r31) +/* 8036CC78 00369BD8 4B FA 8B A1 */ bl __nwa__FUlPCcPCc +/* 8036CC7C 00369BDC 28 03 00 00 */ cmplwi r3, 0 +/* 8036CC80 00369BE0 41 82 00 0C */ beq lbl_8036CC8C +/* 8036CC84 00369BE4 93 C3 00 00 */ stw r30, 0(r3) +/* 8036CC88 00369BE8 93 E3 00 04 */ stw r31, 4(r3) +lbl_8036CC8C: +/* 8036CC8C 00369BEC 34 83 00 08 */ addic. r4, r3, 8 +/* 8036CC90 00369BF0 41 82 00 08 */ beq lbl_8036CC98 +/* 8036CC94 00369BF4 93 84 00 00 */ stw r28, 0(r4) +lbl_8036CC98: +/* 8036CC98 00369BF8 3C 80 80 54 */ lis r4, lbl_80540A4C@ha +/* 8036CC9C 00369BFC 38 04 0A 4C */ addi r0, r4, lbl_80540A4C@l +/* 8036CCA0 00369C00 7C 80 EA 14 */ add r4, r0, r29 +/* 8036CCA4 00369C04 84 04 00 04 */ lwzu r0, 4(r4) +/* 8036CCA8 00369C08 7C 1F 00 40 */ cmplw r31, r0 +/* 8036CCAC 00369C0C 40 82 00 08 */ bne lbl_8036CCB4 +/* 8036CCB0 00369C10 90 64 00 00 */ stw r3, 0(r4) +lbl_8036CCB4: +/* 8036CCB4 00369C14 80 A3 00 00 */ lwz r5, 0(r3) +/* 8036CCB8 00369C18 3C 80 80 54 */ lis r4, lbl_80540A4C@ha +/* 8036CCBC 00369C1C 38 04 0A 4C */ addi r0, r4, lbl_80540A4C@l +/* 8036CCC0 00369C20 90 65 00 04 */ stw r3, 4(r5) +/* 8036CCC4 00369C24 7C 80 EA 14 */ add r4, r0, r29 +/* 8036CCC8 00369C28 80 A3 00 04 */ lwz r5, 4(r3) +/* 8036CCCC 00369C2C 90 65 00 00 */ stw r3, 0(r5) +/* 8036CCD0 00369C30 80 64 00 14 */ lwz r3, 0x14(r4) +/* 8036CCD4 00369C34 38 03 00 01 */ addi r0, r3, 1 +/* 8036CCD8 00369C38 90 04 00 14 */ stw r0, 0x14(r4) +/* 8036CCDC 00369C3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036CCE0 00369C40 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036CCE4 00369C44 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036CCE8 00369C48 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8036CCEC 00369C4C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036CCF0 00369C50 7C 08 03 A6 */ mtlr r0 +/* 8036CCF4 00369C54 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036CCF8 00369C58 4E 80 00 20 */ blr + +.global sub_8036ccfc +sub_8036ccfc: +/* 8036CCFC 00369C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD00 00369C60 7C 08 02 A6 */ mflr r0 +/* 8036CD04 00369C64 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD08 00369C68 48 00 B7 DD */ bl GXDrawDone +/* 8036CD0C 00369C6C 48 00 00 15 */ bl sub_8036cd20 +/* 8036CD10 00369C70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD14 00369C74 7C 08 03 A6 */ mtlr r0 +/* 8036CD18 00369C78 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD1C 00369C7C 4E 80 00 20 */ blr + +.global sub_8036cd20 +sub_8036cd20: +/* 8036CD20 00369C80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD24 00369C84 7C 08 02 A6 */ mflr r0 +/* 8036CD28 00369C88 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD2C 00369C8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036CD30 00369C90 3B E0 00 00 */ li r31, 0 +lbl_8036CD34: +/* 8036CD34 00369C94 4B FF FE 5D */ bl sub_8036cb90 +/* 8036CD38 00369C98 3B FF 00 01 */ addi r31, r31, 1 +/* 8036CD3C 00369C9C 2C 1F 00 02 */ cmpwi r31, 2 +/* 8036CD40 00369CA0 41 80 FF F4 */ blt lbl_8036CD34 +/* 8036CD44 00369CA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD48 00369CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036CD4C 00369CAC 7C 08 03 A6 */ mtlr r0 +/* 8036CD50 00369CB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD54 00369CB4 4E 80 00 20 */ blr + +.global sub_8036cd58 +sub_8036cd58: +/* 8036CD58 00369CB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD5C 00369CBC 7C 08 02 A6 */ mflr r0 +/* 8036CD60 00369CC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD64 00369CC4 4B FF FF 99 */ bl sub_8036ccfc +/* 8036CD68 00369CC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD6C 00369CCC 7C 08 03 A6 */ mtlr r0 +/* 8036CD70 00369CD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD74 00369CD4 4E 80 00 20 */ blr + +.global sub_8036cd78 +sub_8036cd78: +/* 8036CD78 00369CD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD7C 00369CDC 7C 08 02 A6 */ mflr r0 +/* 8036CD80 00369CE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD84 00369CE4 4B FF FF 79 */ bl sub_8036ccfc +/* 8036CD88 00369CE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD8C 00369CEC 7C 08 03 A6 */ mtlr r0 +/* 8036CD90 00369CF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD94 00369CF4 4E 80 00 20 */ blr + +.global sub_8036cd98 +sub_8036cd98: +/* 8036CD98 00369CF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD9C 00369CFC 7C 08 02 A6 */ mflr r0 +/* 8036CDA0 00369D00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CDA4 00369D04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036CDA8 00369D08 93 C1 00 08 */ stw r30, 8(r1) +/* 8036CDAC 00369D0C 7C 7E 1B 78 */ mr r30, r3 +/* 8036CDB0 00369D10 80 03 00 04 */ lwz r0, 4(r3) +/* 8036CDB4 00369D14 83 E4 00 04 */ lwz r31, 4(r4) +/* 8036CDB8 00369D18 7C 04 00 40 */ cmplw r4, r0 +/* 8036CDBC 00369D1C 40 82 00 08 */ bne lbl_8036CDC4 +/* 8036CDC0 00369D20 93 FE 00 04 */ stw r31, 4(r30) +lbl_8036CDC4: +/* 8036CDC4 00369D24 80 04 00 04 */ lwz r0, 4(r4) +/* 8036CDC8 00369D28 28 04 00 00 */ cmplwi r4, 0 +/* 8036CDCC 00369D2C 80 64 00 00 */ lwz r3, 0(r4) +/* 8036CDD0 00369D30 90 03 00 04 */ stw r0, 4(r3) +/* 8036CDD4 00369D34 80 04 00 00 */ lwz r0, 0(r4) +/* 8036CDD8 00369D38 80 64 00 04 */ lwz r3, 4(r4) +/* 8036CDDC 00369D3C 90 03 00 00 */ stw r0, 0(r3) +/* 8036CDE0 00369D40 41 82 00 0C */ beq lbl_8036CDEC +/* 8036CDE4 00369D44 7C 83 23 78 */ mr r3, r4 +/* 8036CDE8 00369D48 4B FA 8B 49 */ bl Free__7CMemoryFPCv +lbl_8036CDEC: +/* 8036CDEC 00369D4C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8036CDF0 00369D50 7F E3 FB 78 */ mr r3, r31 +/* 8036CDF4 00369D54 38 04 FF FF */ addi r0, r4, -1 +/* 8036CDF8 00369D58 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8036CDFC 00369D5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036CE00 00369D60 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036CE04 00369D64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CE08 00369D68 7C 08 03 A6 */ mtlr r0 +/* 8036CE0C 00369D6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CE10 00369D70 4E 80 00 20 */ blr + +.global __sinit_GameTweaks_cpp +__sinit_GameTweaks_cpp: +/* 8036CE14 00369D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CE18 00369D78 7C 08 02 A6 */ mflr r0 +/* 8036CE1C 00369D7C 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CE20 00369D80 3C 80 80 37 */ lis r4, sub_8036cf1c@ha +/* 8036CE24 00369D84 3C A0 80 37 */ lis r5, sub_8036ce6c@ha +/* 8036CE28 00369D88 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CE2C 00369D8C 38 C0 00 18 */ li r6, 0x18 +/* 8036CE30 00369D90 38 63 0A 4C */ addi r3, r3, lbl_80540A4C@l +/* 8036CE34 00369D94 38 84 CF 1C */ addi r4, r4, sub_8036cf1c@l +/* 8036CE38 00369D98 38 A5 CE 6C */ addi r5, r5, sub_8036ce6c@l +/* 8036CE3C 00369D9C 38 E0 00 02 */ li r7, 2 +/* 8036CE40 00369DA0 48 01 C9 0D */ bl __construct_array +/* 8036CE44 00369DA4 3C 60 80 37 */ lis r3, __arraydtor$381@ha +/* 8036CE48 00369DA8 3C A0 80 54 */ lis r5, lbl_80540A40@ha +/* 8036CE4C 00369DAC 38 83 CE E4 */ addi r4, r3, __arraydtor$381@l +/* 8036CE50 00369DB0 38 60 00 00 */ li r3, 0 +/* 8036CE54 00369DB4 38 A5 0A 40 */ addi r5, r5, lbl_80540A40@l +/* 8036CE58 00369DB8 48 01 C8 35 */ bl __register_global_object +/* 8036CE5C 00369DBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CE60 00369DC0 7C 08 03 A6 */ mtlr r0 +/* 8036CE64 00369DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CE68 00369DC8 4E 80 00 20 */ blr + +.global sub_8036ce6c +sub_8036ce6c: +/* 8036CE6C 00369DCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036CE70 00369DD0 7C 08 02 A6 */ mflr r0 +/* 8036CE74 00369DD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036CE78 00369DD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036CE7C 00369DDC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036CE80 00369DE0 7C 9E 23 78 */ mr r30, r4 +/* 8036CE84 00369DE4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036CE88 00369DE8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8036CE8C 00369DEC 41 82 00 38 */ beq lbl_8036CEC4 +/* 8036CE90 00369DF0 83 FD 00 04 */ lwz r31, 4(r29) +/* 8036CE94 00369DF4 48 00 00 14 */ b lbl_8036CEA8 +lbl_8036CE98: +/* 8036CE98 00369DF8 7F E3 FB 79 */ or. r3, r31, r31 +/* 8036CE9C 00369DFC 83 FF 00 04 */ lwz r31, 4(r31) +/* 8036CEA0 00369E00 41 82 00 08 */ beq lbl_8036CEA8 +/* 8036CEA4 00369E04 4B FA 8A 8D */ bl Free__7CMemoryFPCv +lbl_8036CEA8: +/* 8036CEA8 00369E08 80 1D 00 08 */ lwz r0, 8(r29) +/* 8036CEAC 00369E0C 7C 1F 00 40 */ cmplw r31, r0 +/* 8036CEB0 00369E10 40 82 FF E8 */ bne lbl_8036CE98 +/* 8036CEB4 00369E14 7F C0 07 35 */ extsh. r0, r30 +/* 8036CEB8 00369E18 40 81 00 0C */ ble lbl_8036CEC4 +/* 8036CEBC 00369E1C 7F A3 EB 78 */ mr r3, r29 +/* 8036CEC0 00369E20 4B FA 8A 71 */ bl Free__7CMemoryFPCv +lbl_8036CEC4: +/* 8036CEC4 00369E24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036CEC8 00369E28 7F A3 EB 78 */ mr r3, r29 +/* 8036CECC 00369E2C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036CED0 00369E30 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036CED4 00369E34 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036CED8 00369E38 7C 08 03 A6 */ mtlr r0 +/* 8036CEDC 00369E3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036CEE0 00369E40 4E 80 00 20 */ blr + +.global __arraydtor$381 +__arraydtor$381: +/* 8036CEE4 00369E44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CEE8 00369E48 7C 08 02 A6 */ mflr r0 +/* 8036CEEC 00369E4C 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CEF0 00369E50 3C 80 80 37 */ lis r4, sub_8036ce6c@ha +/* 8036CEF4 00369E54 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CEF8 00369E58 38 63 0A 4C */ addi r3, r3, lbl_80540A4C@l +/* 8036CEFC 00369E5C 38 A0 00 18 */ li r5, 0x18 +/* 8036CF00 00369E60 38 84 CE 6C */ addi r4, r4, sub_8036ce6c@l +/* 8036CF04 00369E64 38 C0 00 02 */ li r6, 2 +/* 8036CF08 00369E68 48 01 C7 CD */ bl __destroy_arr +/* 8036CF0C 00369E6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CF10 00369E70 7C 08 03 A6 */ mtlr r0 +/* 8036CF14 00369E74 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CF18 00369E78 4E 80 00 20 */ blr + +.global sub_8036cf1c +sub_8036cf1c: +/* 8036CF1C 00369E7C 38 83 00 0C */ addi r4, r3, 0xc +/* 8036CF20 00369E80 38 00 00 00 */ li r0, 0 +/* 8036CF24 00369E84 90 83 00 04 */ stw r4, 4(r3) +/* 8036CF28 00369E88 90 83 00 08 */ stw r4, 8(r3) +/* 8036CF2C 00369E8C 90 83 00 0C */ stw r4, 0xc(r3) +/* 8036CF30 00369E90 90 83 00 10 */ stw r4, 0x10(r3) +/* 8036CF34 00369E94 90 03 00 14 */ stw r0, 0x14(r3) +/* 8036CF38 00369E98 4E 80 00 20 */ blr + diff --git a/asm/text.s.REMOVED.git-id b/asm/text.s.REMOVED.git-id deleted file mode 100644 index 4e30f810..00000000 --- a/asm/text.s.REMOVED.git-id +++ /dev/null @@ -1 +0,0 @@ -ba29e83f8974609636bc4350addd9f6786e029d5 \ No newline at end of file diff --git a/obj_files.mk b/obj_files.mk index a46b5ccb..935348f3 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -9,9 +9,9 @@ METROTRK_FILES :=\ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/main.o\ $(BUILD_DIR)/asm/Kyoto_CWD/text_80008894_80009144.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraManager.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraManager.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CControlMapper.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CFirstPersonCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CFirstPersonCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CObjectList.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayer.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAxisAngle.o\ @@ -49,7 +49,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Clamp_int.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmControllerStatus.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CExplosion.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CGameCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CGameCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CGameArea.o\ $(BUILD_DIR)/asm/Kyoto_CWD/HUD/CSamusHud.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAnimationDatabaseGame.o\ @@ -66,13 +66,13 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDoor.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CStateMachine.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CMapArea.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CBallCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CBallCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptEffect.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CBomb.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Tweaks/CTweakBall.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerState.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptTimer.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCinematicCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCinematicCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAutoMapper.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCounter.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CMapWorld.o\ @@ -98,7 +98,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/CMemoryDrawEnum.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDock.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraHint.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraHint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraHint.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptLoader.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CSamusDoll.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Factories/CStateMachineFactory.o\ @@ -117,7 +117,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerCameraBob.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraFilterKeyframe.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraBlurKeyframe.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraFilter.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraFilter.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CMorphBall.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDamageableTrigger.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.o\ @@ -150,7 +150,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CGrappleArm.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSpacePirate.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCoverPoint.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CPathCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CPathCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlane.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlaneManager.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptGrapplePoint.o\ @@ -199,7 +199,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CSamusFaceReflection.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPlayerHint.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CRipper.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraShakeData.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraShakeData.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPickupGenerator.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPointOfInterest.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CDrone.o\ @@ -312,7 +312,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMagdolite.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CTeamAiMgr.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSnakeWeedSwarm.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CBallCameraFailsafeState.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CBallCameraFailsafeState.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CActorContraption.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpindleCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptMemoryRelay.o\ @@ -325,6 +325,110 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraHintTrigger.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CAmbientAI.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CMemoryCardDriver.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSaveGameScreen.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CAtomicBeta.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CRidley.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPuffer.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CFire.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPauseScreenBlur.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CTryclops.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CNewFlameThrower.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CInterpolationCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSeedling.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CGameHintInfo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CWallWalker.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CErrorOutputWindow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CRainSplashGenerator.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Factories/CSaveWorldFactory.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlaneRender.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CBurrower.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerDynamics.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/WeaponTypes.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/COmegaPirate.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPhazonPool.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CNESEmulator.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CMorphBallShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerInputFilter.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSlideShow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CArtifactDoll.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CProjectedShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPreFrontEnd.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CGameCubeDoll.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/SPositionHistory.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaOctTree_Tests.o\ + $(BUILD_DIR)/asm/WorldFormat/CCollisionSurface.o\ + $(BUILD_DIR)/asm/WorldFormat/CMetroidModelInstance.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaBspTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaOctTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CMetroidAreaCollider.o\ + $(BUILD_DIR)/asm/WorldFormat/CWorldLight.o\ + $(BUILD_DIR)/asm/WorldFormat/COBBTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CCollidableOBBTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CCollidableOBBTreeGroup.o\ + $(BUILD_DIR)/asm/WorldFormat/CPVSVisOctree.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaRenderOctTree.o\ + $(BUILD_DIR)/asm/Weapons/CProjectileWeapon.o\ + $(BUILD_DIR)/asm/Weapons/CProjectileWeaponDataFactory.o\ + $(BUILD_DIR)/asm/Weapons/CCollisionResponseData.o\ + $(BUILD_DIR)/asm/Weapons/IWeaponRenderer.o\ + $(BUILD_DIR)/asm/Weapons/CDecalDataFactory.o\ + $(BUILD_DIR)/asm/Weapons/CDecal.o\ + $(BUILD_DIR)/asm/Weapons/CWeaponDescription.o\ + $(BUILD_DIR)/asm/MetaRender/CCubeRenderer.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiMain.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiMeter.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiGroup.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiHeadWidget.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiLight.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiModel.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiObject.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiPane.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiSliderGroup.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiSys.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiTableGroup.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiTextPane.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiTextSupport.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiWidget.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiWidgetIdDB.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiWidgetDrawParms.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiEnergyBarT01.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiImagePane.o\ + $(BUILD_DIR)/asm/GuiSys/CRepeatState.o\ + $(BUILD_DIR)/asm/Collision/CCollidableAABox.o\ + $(BUILD_DIR)/asm/Collision/CCollidableCollisionSurface.o\ + $(BUILD_DIR)/asm/Collision/CCollisionInfo.o\ + $(BUILD_DIR)/asm/Collision/InternalColliders.o\ + $(BUILD_DIR)/asm/Collision/CCollisionPrimitive.o\ + $(BUILD_DIR)/asm/Collision/CMaterialList.o\ + $(BUILD_DIR)/asm/Collision/CollisionUtil.o\ + $(BUILD_DIR)/asm/Collision/CCollidableSphere.o\ + $(BUILD_DIR)/asm/Collision/CMaterialFilter.o\ + $(BUILD_DIR)/asm/Collision/COBBox.o\ + $(BUILD_DIR)/asm/Collision/CMRay.o\ + $(BUILD_DIR)/asm/Basics/CBasics.o\ + $(BUILD_DIR)/asm/Basics/CStopwatch.o\ + $(BUILD_DIR)/asm/Basics/CBasicsDolphin.o\ + $(BUILD_DIR)/asm/Basics/CCallStackDolphin.o\ + $(BUILD_DIR)/asm/Basics/COsContext.o\ + $(BUILD_DIR)/asm/Basics/CSWDataDolphin.o\ + $(BUILD_DIR)/asm/Basics/RAssertDolphin.o\ + $(BUILD_DIR)/asm/Animation/CAnimation.o\ + $(BUILD_DIR)/asm/Animation/CAnimationManager.o\ + $(BUILD_DIR)/asm/Animation/CAnimationSet.o\ + $(BUILD_DIR)/asm/Animation/CAnimCharacterSet.o\ + $(BUILD_DIR)/asm/Animation/CAnimTreeLoopIn.o\ + $(BUILD_DIR)/asm/Animation/CSequenceHelper.o\ $(BUILD_DIR)/asm/text.o\ AI_FILES :=\